From bb80cdf5a6157ca1f3a276e12e9faae9a4739cb7 Mon Sep 17 00:00:00 2001
From: dh_ackergaul <dh_ackergaul@dh-software.de>
Date: Di, 23 Jun 2026 11:16:18 +0200
Subject: [PATCH] Update emvheya - 23.6.2026, 11:16:10 [JD]

---
 manufacturer/_furnview/furnplan-web/.tmp/public/js/0fc145572b09ffbad242.dhmc.js | 3654 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 3.654 insertions(+), 0 deletions(-)

diff --git a/manufacturer/_furnview/furnplan-web/.tmp/public/js/0fc145572b09ffbad242.dhmc.js b/manufacturer/_furnview/furnplan-web/.tmp/public/js/0fc145572b09ffbad242.dhmc.js
new file mode 100644
index 0000000..a034580
--- /dev/null
+++ b/manufacturer/_furnview/furnplan-web/.tmp/public/js/0fc145572b09ffbad242.dhmc.js
@@ -0,0 +1,3654 @@
+/**
+ * @license
+ * ///////////////////////////////////////////////////////////////////
+ * ///////////////////////////////////////////////////////////////////
+ * ///////////////////////////////////////////////////////////////////
+ * ///////////////////////////////////////////////////////////////////
+ * //////                                               //////////////
+ * //////       ********                ***    ***      //////////////
+ * //////       **********              ***    ***      //////////////
+ * //////       ***   *****     **      ***    ***      //////////////
+ * //////       ***     ***     **      ***    ***      //////////////
+ * //////       ***     *** **********  **********      //////////////
+ * //////       ***     *** **********  **********      //////////////
+ * //////       ***     ***     **      ***    ***      //////////////
+ * //////       ***    ****     **      ***    ***      //////////////
+ * //////       **********              ***    ***      //////////////
+ * //////       ********                ***    ***      //////////////
+ * ////                                                        ///////
+ * ////  ####   ####  ###### ##### #    #   ##   #####  ###### ///////
+ * //// #      #    # #        #   #    #  #  #  #    # #      ///////
+ * ////  ####  #    # #####    #   #    # #    # #    # #####  ///////
+ * ////      # #    # #        #   # ## # ###### #####  #      ///////
+ * //// #    # #    # #        #   ##  ## #    # #   #  #      ///////
+ * ////  ####   ####  #        #   #    # #    # #    # ###### ///////
+ * ////                                                        ///////
+ * ///////////////////////////////////////////////////////////////////
+ * ///////////////////////////////////////////////////////////////////
+ * ///////////////////////////////////////////////////////////////////
+ * Copyright (c) 2026 by D+H Software, Germany (www.furnplan.de)
+ * All Rights Reserved.
+ * ///////////////////////////////////////////////////////////////////
+ * ///////////////////////////////////////////////////////////////////
+ */(()=>{var __webpack_modules__={44:(e,t)=>{const r="[0-9]+";let n="(?:[u3000-u303F]|[u3040-u309F]|[u30A0-u30FF]|[uFF00-uFFEF]|[u4E00-u9FAF]|[u2605-u2606]|[u2190-u2195]|u203B|[u2010u2015u2018u2019u2025u2026u201Cu201Du2225u2260]|[u0391-u0451]|[u00A7u00A8u00B1u00B4u00D7u00F7])+";n=n.replace(/u/g,"\\u");const i="(?:(?![A-Z0-9 $%*+\\-./:]|"+n+")(?:.|[\r\n]))+";t.KANJI=new RegExp(n,"g"),t.BYTE_KANJI=new RegExp("[^A-Z0-9 $%*+\\-./:]+","g"),t.BYTE=new RegExp(i,"g"),t.NUMERIC=new RegExp(r,"g"),t.ALPHANUMERIC=new RegExp("[A-Z $%*+\\-./:]+","g");const o=new RegExp("^"+n+"$"),s=new RegExp("^"+r+"$"),a=new RegExp("^[A-Z0-9 $%*+\\-./:]+$");t.testKanji=function(e){return o.test(e)},t.testNumeric=function(e){return s.test(e)},t.testAlphanumeric=function(e){return a.test(e)}},157:(e,t,r)=>{const n=r(886),i=r(334),o=r(899),s=r(820),a=r(421),l=r(756),c=r(332),u=r(518),d=r(764),h=r(427),p=r(565),m=r(208),_=r(801);function g(e,t,r){const n=e.size,i=p.getEncodedBits(t,r);let o,s;for(o=0;o<15;o++)s=1==(i>>o&1),o<6?e.set(o,8,s,!0):o<8?e.set(o+1,8,s,!0):e.set(n-15+o,8,s,!0),o<8?e.set(8,n-o-1,s,!0):o<9?e.set(8,15-o-1+1,s,!0):e.set(8,15-o-1,s,!0);e.set(n-8,8,1,!0)}function f(e,t,r){const i=new o;r.forEach(function(t){i.put(t.mode.bit,4),i.put(t.getLength(),m.getCharCountIndicator(t.mode,e)),t.write(i)});const s=8*(n.getSymbolTotalCodewords(e)-u.getTotalCodewordsCount(e,t));for(i.getLengthInBits()+4<=s&&i.put(0,4);i.getLengthInBits()%8!=0;)i.putBit(0);const a=(s-i.getLengthInBits())/8;for(let e=0;e<a;e++)i.put(e%2?17:236,8);return function(e,t,r){const i=n.getSymbolTotalCodewords(t),o=u.getTotalCodewordsCount(t,r),s=i-o,a=u.getBlocksCount(t,r),l=i%a,c=a-l,h=Math.floor(i/a),p=Math.floor(s/a),m=p+1,_=h-p,g=new d(_);let f=0;const v=new Array(a),b=new Array(a);let y=0;const $=new Uint8Array(e.buffer);for(let e=0;e<a;e++){const t=e<c?p:m;v[e]=$.slice(f,f+t),b[e]=g.encode(v[e]),f+=t,y=Math.max(y,t)}const x=new Uint8Array(i);let S,w,A=0;for(S=0;S<y;S++)for(w=0;w<a;w++)S<v[w].length&&(x[A++]=v[w][S]);for(S=0;S<_;S++)for(w=0;w<a;w++)x[A++]=b[w][S];return x}(i,e,t)}function v(e,t,r,i){let o;if(Array.isArray(e))o=_.fromArray(e);else{if("string"!=typeof e)throw new Error("Invalid data");{let n=t;if(!n){const t=_.rawSplit(e);n=h.getBestVersionForData(t,r)}o=_.fromString(e,n||40)}}const u=h.getBestVersionForData(o,r);if(!u)throw new Error("The amount of data is too big to be stored in a QR Code");if(t){if(t<u)throw new Error("\nThe chosen QR Code version cannot contain this amount of data.\nMinimum version required to store current data is: "+u+".\n")}else t=u;const d=f(t,r,o),p=n.getSymbolSize(t),m=new s(p);return function(e,t){const r=e.size,n=l.getPositions(t);for(let t=0;t<n.length;t++){const i=n[t][0],o=n[t][1];for(let t=-1;t<=7;t++)if(!(i+t<=-1||r<=i+t))for(let n=-1;n<=7;n++)o+n<=-1||r<=o+n||(t>=0&&t<=6&&(0===n||6===n)||n>=0&&n<=6&&(0===t||6===t)||t>=2&&t<=4&&n>=2&&n<=4?e.set(i+t,o+n,!0,!0):e.set(i+t,o+n,!1,!0))}}(m,t),function(e){const t=e.size;for(let r=8;r<t-8;r++){const t=r%2==0;e.set(r,6,t,!0),e.set(6,r,t,!0)}}(m),function(e,t){const r=a.getPositions(t);for(let t=0;t<r.length;t++){const n=r[t][0],i=r[t][1];for(let t=-2;t<=2;t++)for(let r=-2;r<=2;r++)-2===t||2===t||-2===r||2===r||0===t&&0===r?e.set(n+t,i+r,!0,!0):e.set(n+t,i+r,!1,!0)}}(m,t),g(m,r,0),t>=7&&function(e,t){const r=e.size,n=h.getEncodedBits(t);let i,o,s;for(let t=0;t<18;t++)i=Math.floor(t/3),o=t%3+r-8-3,s=1==(n>>t&1),e.set(i,o,s,!0),e.set(o,i,s,!0)}(m,t),function(e,t){const r=e.size;let n=-1,i=r-1,o=7,s=0;for(let a=r-1;a>0;a-=2)for(6===a&&a--;;){for(let r=0;r<2;r++)if(!e.isReserved(i,a-r)){let n=!1;s<t.length&&(n=1==(t[s]>>>o&1)),e.set(i,a-r,n),o--,-1===o&&(s++,o=7)}if(i+=n,i<0||r<=i){i-=n,n=-n;break}}}(m,d),isNaN(i)&&(i=c.getBestMask(m,g.bind(null,m,r))),c.applyMask(i,m),g(m,r,i),{modules:m,version:t,errorCorrectionLevel:r,maskPattern:i,segments:o}}t.create=function(e,t){if(void 0===e||""===e)throw new Error("No input text");let r,o,s=i.M;return void 0!==t&&(s=i.from(t.errorCorrectionLevel,i.M),r=h.from(t.version),o=c.from(t.maskPattern),t.toSJISFunc&&n.setToSJISFunction(t.toSJISFunc)),v(e,r,s,o)}},208:(e,t,r)=>{const n=r(878),i=r(44);t.NUMERIC={id:"Numeric",bit:1,ccBits:[10,12,14]},t.ALPHANUMERIC={id:"Alphanumeric",bit:2,ccBits:[9,11,13]},t.BYTE={id:"Byte",bit:4,ccBits:[8,16,16]},t.KANJI={id:"Kanji",bit:8,ccBits:[8,10,12]},t.MIXED={bit:-1},t.getCharCountIndicator=function(e,t){if(!e.ccBits)throw new Error("Invalid mode: "+e);if(!n.isValid(t))throw new Error("Invalid version: "+t);return t>=1&&t<10?e.ccBits[0]:t<27?e.ccBits[1]:e.ccBits[2]},t.getBestModeForData=function(e){return i.testNumeric(e)?t.NUMERIC:i.testAlphanumeric(e)?t.ALPHANUMERIC:i.testKanji(e)?t.KANJI:t.BYTE},t.toString=function(e){if(e&&e.id)return e.id;throw new Error("Invalid mode")},t.isValid=function(e){return e&&e.bit&&e.ccBits},t.from=function(e,r){if(t.isValid(e))return e;try{return function(e){if("string"!=typeof e)throw new Error("Param is not a string");switch(e.toLowerCase()){case"numeric":return t.NUMERIC;case"alphanumeric":return t.ALPHANUMERIC;case"kanji":return t.KANJI;case"byte":return t.BYTE;default:throw new Error("Unknown mode: "+e)}}(e)}catch(e){return r}}},253:function(){var e=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class t extends HTMLElement{constructor(){super()}connectedCallback(){return e(this,void 0,void 0,function*(){const e=this.getAttributeNode("data-set-value").value,t=this.getAttributeNode("data-input-id").value,r=document.createElement("button");r.innerText=e,r.addEventListener("click",()=>{const r=document.getElementById(t);r.value=e;const n=document.createEvent("HTMLEvents");n.initEvent("change",!1,!0),r.dispatchEvent(n)});const n=document.createElement("div");n.classList.add("custom-roompage-input-shorthand-button"),n.appendChild(r),this.appendChild(n)})}}window.customElements.define("fv-custom-roompage-input-value-set-button",t)},280:(e,t,r)=>{const n=r(726);t.render=function(e,t,r){let i=r,o=t;void 0!==i||t&&t.getContext||(i=t,t=void 0),t||(o=function(){try{return document.createElement("canvas")}catch(e){throw new Error("You need to specify a canvas element")}}()),i=n.getOptions(i);const s=n.getImageWidth(e.modules.size,i),a=o.getContext("2d"),l=a.createImageData(s,s);return n.qrToImageData(l.data,e,i),function(e,t,r){e.clearRect(0,0,t.width,t.height),t.style||(t.style={}),t.height=r,t.width=r,t.style.height=r+"px",t.style.width=r+"px"}(a,o,s),a.putImageData(l,0,0),o},t.renderToDataURL=function(e,r,n){let i=n;void 0!==i||r&&r.getContext||(i=r,r=void 0),i||(i={});const o=t.render(e,r,i),s=i.type||"image/png",a=i.rendererOpts||{};return o.toDataURL(s,a.quality)}},320:e=>{"use strict";var t={single_source_shortest_paths:function(e,r,n){var i={},o={};o[r]=0;var s,a,l,c,u,d,h,p=t.PriorityQueue.make();for(p.push(r,0);!p.empty();)for(l in a=(s=p.pop()).value,c=s.cost,u=e[a]||{})u.hasOwnProperty(l)&&(d=c+u[l],h=o[l],(void 0===o[l]||h>d)&&(o[l]=d,p.push(l,d),i[l]=a));if(void 0!==n&&void 0===o[n]){var m=["Could not find a path from ",r," to ",n,"."].join("");throw new Error(m)}return i},extract_shortest_path_from_predecessor_list:function(e,t){for(var r=[],n=t;n;)r.push(n),e[n],n=e[n];return r.reverse(),r},find_path:function(e,r,n){var i=t.single_source_shortest_paths(e,r,n);return t.extract_shortest_path_from_predecessor_list(i,n)},PriorityQueue:{make:function(e){var r,n=t.PriorityQueue,i={};for(r in e=e||{},n)n.hasOwnProperty(r)&&(i[r]=n[r]);return i.queue=[],i.sorter=e.sorter||n.default_sorter,i},default_sorter:function(e,t){return e.cost-t.cost},push:function(e,t){var r={value:e,cost:t};this.queue.push(r),this.queue.sort(this.sorter)},pop:function(){return this.queue.shift()},empty:function(){return 0===this.queue.length}}};e.exports=t},332:(e,t)=>{t.Patterns={PATTERN000:0,PATTERN001:1,PATTERN010:2,PATTERN011:3,PATTERN100:4,PATTERN101:5,PATTERN110:6,PATTERN111:7};const r=3,n=3,i=40,o=10;function s(e,r,n){switch(e){case t.Patterns.PATTERN000:return(r+n)%2==0;case t.Patterns.PATTERN001:return r%2==0;case t.Patterns.PATTERN010:return n%3==0;case t.Patterns.PATTERN011:return(r+n)%3==0;case t.Patterns.PATTERN100:return(Math.floor(r/2)+Math.floor(n/3))%2==0;case t.Patterns.PATTERN101:return r*n%2+r*n%3==0;case t.Patterns.PATTERN110:return(r*n%2+r*n%3)%2==0;case t.Patterns.PATTERN111:return(r*n%3+(r+n)%2)%2==0;default:throw new Error("bad maskPattern:"+e)}}t.isValid=function(e){return null!=e&&""!==e&&!isNaN(e)&&e>=0&&e<=7},t.from=function(e){return t.isValid(e)?parseInt(e,10):void 0},t.getPenaltyN1=function(e){const t=e.size;let n=0,i=0,o=0,s=null,a=null;for(let l=0;l<t;l++){i=o=0,s=a=null;for(let c=0;c<t;c++){let t=e.get(l,c);t===s?i++:(i>=5&&(n+=r+(i-5)),s=t,i=1),t=e.get(c,l),t===a?o++:(o>=5&&(n+=r+(o-5)),a=t,o=1)}i>=5&&(n+=r+(i-5)),o>=5&&(n+=r+(o-5))}return n},t.getPenaltyN2=function(e){const t=e.size;let r=0;for(let n=0;n<t-1;n++)for(let i=0;i<t-1;i++){const t=e.get(n,i)+e.get(n,i+1)+e.get(n+1,i)+e.get(n+1,i+1);4!==t&&0!==t||r++}return r*n},t.getPenaltyN3=function(e){const t=e.size;let r=0,n=0,o=0;for(let i=0;i<t;i++){n=o=0;for(let s=0;s<t;s++)n=n<<1&2047|e.get(i,s),s>=10&&(1488===n||93===n)&&r++,o=o<<1&2047|e.get(s,i),s>=10&&(1488===o||93===o)&&r++}return r*i},t.getPenaltyN4=function(e){let t=0;const r=e.data.length;for(let n=0;n<r;n++)t+=e.data[n];return Math.abs(Math.ceil(100*t/r/5)-10)*o},t.applyMask=function(e,t){const r=t.size;for(let n=0;n<r;n++)for(let i=0;i<r;i++)t.isReserved(i,n)||t.xor(i,n,s(e,i,n))},t.getBestMask=function(e,r){const n=Object.keys(t.Patterns).length;let i=0,o=1/0;for(let s=0;s<n;s++){r(s),t.applyMask(s,e);const n=t.getPenaltyN1(e)+t.getPenaltyN2(e)+t.getPenaltyN3(e)+t.getPenaltyN4(e);t.applyMask(s,e),n<o&&(o=n,i=s)}return i}},333:e=>{e.exports=function(){return"function"==typeof Promise&&Promise.prototype&&Promise.prototype.then}},334:(e,t)=>{t.L={bit:1},t.M={bit:0},t.Q={bit:3},t.H={bit:2},t.isValid=function(e){return e&&void 0!==e.bit&&e.bit>=0&&e.bit<4},t.from=function(e,r){if(t.isValid(e))return e;try{return function(e){if("string"!=typeof e)throw new Error("Param is not a string");switch(e.toLowerCase()){case"l":case"low":return t.L;case"m":case"medium":return t.M;case"q":case"quartile":return t.Q;case"h":case"high":return t.H;default:throw new Error("Unknown EC Level: "+e)}}(e)}catch(e){return r}}},357:(e,t,r)=>{const n=r(208);function i(e){this.mode=n.NUMERIC,this.data=e.toString()}i.getBitsLength=function(e){return 10*Math.floor(e/3)+(e%3?e%3*3+1:0)},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(e){let t,r,n;for(t=0;t+3<=this.data.length;t+=3)r=this.data.substr(t,3),n=parseInt(r,10),e.put(n,10);const i=this.data.length-t;i>0&&(r=this.data.substr(t),n=parseInt(r,10),e.put(n,3*i+1))},e.exports=i},375:(e,t,r)=>{const n=r(726);function i(e,t){const r=e.a/255,n=t+'="'+e.hex+'"';return r<1?n+" "+t+'-opacity="'+r.toFixed(2).slice(1)+'"':n}function o(e,t,r){let n=e+t;return void 0!==r&&(n+=" "+r),n}t.render=function(e,t,r){const s=n.getOptions(t),a=e.modules.size,l=e.modules.data,c=a+2*s.margin,u=s.color.light.a?"<path "+i(s.color.light,"fill")+' d="M0 0h'+c+"v"+c+'H0z"/>':"",d="<path "+i(s.color.dark,"stroke")+' d="'+function(e,t,r){let n="",i=0,s=!1,a=0;for(let l=0;l<e.length;l++){const c=Math.floor(l%t),u=Math.floor(l/t);c||s||(s=!0),e[l]?(a++,l>0&&c>0&&e[l-1]||(n+=s?o("M",c+r,.5+u+r):o("m",i,0),i=0,s=!1),c+1<t&&e[l+1]||(n+=o("h",a),a=0)):i++}return n}(l,a,s.margin)+'"/>',h='viewBox="0 0 '+c+" "+c+'"',p='<svg xmlns="http://www.w3.org/2000/svg" '+(s.width?'width="'+s.width+'" height="'+s.width+'" ':"")+h+' shape-rendering="crispEdges">'+u+d+"</svg>\n";return"function"==typeof r&&r(null,p),p}},421:(e,t,r)=>{const n=r(886).getSymbolSize;t.getRowColCoords=function(e){if(1===e)return[];const t=Math.floor(e/7)+2,r=n(e),i=145===r?26:2*Math.ceil((r-13)/(2*t-2)),o=[r-7];for(let e=1;e<t-1;e++)o[e]=o[e-1]-i;return o.push(6),o.reverse()},t.getPositions=function(e){const r=[],n=t.getRowColCoords(e),i=n.length;for(let e=0;e<i;e++)for(let t=0;t<i;t++)0===e&&0===t||0===e&&t===i-1||e===i-1&&0===t||r.push([n[e],n[t]]);return r}},427:(e,t,r)=>{const n=r(886),i=r(518),o=r(334),s=r(208),a=r(878),l=n.getBCHDigit(7973);function c(e,t){return s.getCharCountIndicator(e,t)+4}function u(e,t){let r=0;return e.forEach(function(e){const n=c(e.mode,t);r+=n+e.getBitsLength()}),r}t.from=function(e,t){return a.isValid(e)?parseInt(e,10):t},t.getCapacity=function(e,t,r){if(!a.isValid(e))throw new Error("Invalid QR Code version");void 0===r&&(r=s.BYTE);const o=8*(n.getSymbolTotalCodewords(e)-i.getTotalCodewordsCount(e,t));if(r===s.MIXED)return o;const l=o-c(r,e);switch(r){case s.NUMERIC:return Math.floor(l/10*3);case s.ALPHANUMERIC:return Math.floor(l/11*2);case s.KANJI:return Math.floor(l/13);case s.BYTE:default:return Math.floor(l/8)}},t.getBestVersionForData=function(e,r){let n;const i=o.from(r,o.M);if(Array.isArray(e)){if(e.length>1)return function(e,r){for(let n=1;n<=40;n++)if(u(e,n)<=t.getCapacity(n,r,s.MIXED))return n}(e,i);if(0===e.length)return 1;n=e[0]}else n=e;return function(e,r,n){for(let i=1;i<=40;i++)if(r<=t.getCapacity(i,n,e))return i}(n.mode,n.getLength(),i)},t.getEncodedBits=function(e){if(!a.isValid(e)||e<7)throw new Error("Invalid QR Code version");let t=e<<12;for(;n.getBCHDigit(t)-l>=0;)t^=7973<<n.getBCHDigit(t)-l;return e<<12|t}},433:(e,t,r)=>{const n=r(208),i=["0","1","2","3","4","5","6","7","8","9","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z"," ","$","%","*","+","-",".","/",":"];function o(e){this.mode=n.ALPHANUMERIC,this.data=e}o.getBitsLength=function(e){return 11*Math.floor(e/2)+e%2*6},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(e){let t;for(t=0;t+2<=this.data.length;t+=2){let r=45*i.indexOf(this.data[t]);r+=i.indexOf(this.data[t+1]),e.put(r,11)}this.data.length%2&&e.put(i.indexOf(this.data[t]),6)},e.exports=o},493:()=>{Float32Array.push=function(e,t){if("number"!=typeof t)return;const r=new Float32Array(e.length+1);for(let t=0;t<e.length;t++)r[t]=e[t];return r[r.length-1]=t,r},String.prototype.regularSplit=String.prototype.split,String.prototype.split=function(e,t,r){let n=this.regularSplit(e,t);if(r&&n.length>r){const e=n.splice(0,n.length+1-r).join("_");n=[].concat([e],n)}return n},String.prototype.endsWith||(String.prototype.endsWith=function(e,t){const r=this.toString();("number"!=typeof t||!isFinite(t)||Math.floor(t)!==t||t>r.length)&&(t=r.length),t-=e.length;const n=r.indexOf(e,t);return-1!==n&&n===t}),Element.prototype.documentOffsetTop=function(){return this.offsetTop+(this.offsetParent?this.offsetParent.documentOffsetTop():0)};const e=function(t,r){return t===document?null:t.classList.contains(r)?t:e(t.parentElement,r)};Element.prototype.scrollIntoViewCenter=function(){const t=this;let r=e(t,"scrollable");r||(r=t.parentElement),r.scrollTop=t.documentOffsetTop()-window.innerHeight/2+t.clientHeight/2,window.setTimeout(()=>{r.scrollTop=t.documentOffsetTop()-window.innerHeight/2+t.clientHeight/2},0)};const t=encodeURI,r=encodeURIComponent;function n(e){return"%"+e.charCodeAt(0).toString(16).toUpperCase()}encodeURI=function(e,r){const i=t.apply(this,arguments).replace(/\[\]/g,n);return r?i.replace(/[%]/g,n):i},encodeURIComponent=function(e,t){const i=r.apply(this,arguments).replace(/[!'()*~.]/g,n);return t?i.replace(/[%]/g,n):i},Array.prototype.equals||(Array.prototype.equals=function(e){if(!e)return!1;if(this.length!=e.length)return!1;for(let t=0,r=this.length;t<r;t++)if(this[t]instanceof Array&&e[t]instanceof Array){if(!this[t].equals(e[t]))return!1}else if(this[t]!=e[t])return!1;return!0},Object.defineProperty(Array.prototype,"equals",{enumerable:!1}))},499:(__unused_webpack___webpack_module__,__webpack_exports__,__webpack_require__)=>{"use strict";__webpack_require__.d(__webpack_exports__,{A:()=>lottie});const lottie={};if("undefined"!=typeof document){const svgNS="http://www.w3.org/2000/svg";let locationHref="",_useWebWorker=!1;const initialDefaultFrame=-999999,setWebWorker=e=>{_useWebWorker=!!e},getWebWorker=()=>_useWebWorker,setLocationHref=e=>{locationHref=e},getLocationHref=()=>locationHref;function createTag(e){return document.createElement(e)}function extendPrototype(e,t){var r,n,i=e.length;for(r=0;r<i;r+=1)for(var o in n=e[r].prototype)Object.prototype.hasOwnProperty.call(n,o)&&(t.prototype[o]=n[o])}function getDescriptor(e,t){return Object.getOwnPropertyDescriptor(e,t)}function createProxyFunction(e){function t(){}return t.prototype=e,t}const audioControllerFactory=function(){function e(e){this.audios=[],this.audioFactory=e,this._volume=1,this._isMuted=!1}return e.prototype={addAudio:function(e){this.audios.push(e)},pause:function(){var e,t=this.audios.length;for(e=0;e<t;e+=1)this.audios[e].pause()},resume:function(){var e,t=this.audios.length;for(e=0;e<t;e+=1)this.audios[e].resume()},setRate:function(e){var t,r=this.audios.length;for(t=0;t<r;t+=1)this.audios[t].setRate(e)},createAudio:function(e){return this.audioFactory?this.audioFactory(e):window.Howl?new window.Howl({src:[e]}):{isPlaying:!1,play:function(){this.isPlaying=!0},seek:function(){this.isPlaying=!1},playing:function(){},rate:function(){},setVolume:function(){}}},setAudioFactory:function(e){this.audioFactory=e},setVolume:function(e){this._volume=e,this._updateVolume()},mute:function(){this._isMuted=!0,this._updateVolume()},unmute:function(){this._isMuted=!1,this._updateVolume()},getVolume:function(){return this._volume},_updateVolume:function(){var e,t=this.audios.length;for(e=0;e<t;e+=1)this.audios[e].volume(this._volume*(this._isMuted?0:1))}},function(){return new e}}(),createTypedArray=function(){function e(e,t){var r,n=0,i=[];switch(e){case"int16":case"uint8c":r=1;break;default:r=1.1}for(n=0;n<t;n+=1)i.push(r);return i}return"function"==typeof Uint8ClampedArray&&"function"==typeof Float32Array?function(t,r){return"float32"===t?new Float32Array(r):"int16"===t?new Int16Array(r):"uint8c"===t?new Uint8ClampedArray(r):e(t,r)}:e}();function createSizedArray(e){return Array.apply(null,{length:e})}let subframeEnabled=!0,expressionsPlugin=null,idPrefix$1="";const isSafari=/^((?!chrome|android).)*safari/i.test(navigator.userAgent);let _shouldRoundValues=!1;const bmPow=Math.pow,bmSqrt=Math.sqrt,bmFloor=Math.floor,bmMax=Math.max,bmMin=Math.min,BMMath={};function ProjectInterface$1(){return{}}!function(){var e,t=["abs","acos","acosh","asin","asinh","atan","atanh","atan2","ceil","cbrt","expm1","clz32","cos","cosh","exp","floor","fround","hypot","imul","log","log1p","log2","log10","max","min","pow","random","round","sign","sin","sinh","sqrt","tan","tanh","trunc","E","LN10","LN2","LOG10E","LOG2E","PI","SQRT1_2","SQRT2"],r=t.length;for(e=0;e<r;e+=1)BMMath[t[e]]=Math[t[e]]}(),BMMath.random=Math.random,BMMath.abs=function(e){if("object"===typeof e&&e.length){var t,r=createSizedArray(e.length),n=e.length;for(t=0;t<n;t+=1)r[t]=Math.abs(e[t]);return r}return Math.abs(e)};let defaultCurveSegments=150;const degToRads=Math.PI/180,roundCorner=.5519;function roundValues(e){_shouldRoundValues=!!e}function bmRnd(e){return _shouldRoundValues?Math.round(e):e}function styleDiv(e){e.style.position="absolute",e.style.top=0,e.style.left=0,e.style.display="block",e.style.transformOrigin="0 0",e.style.webkitTransformOrigin="0 0",e.style.backfaceVisibility="visible",e.style.webkitBackfaceVisibility="visible",e.style.transformStyle="preserve-3d",e.style.webkitTransformStyle="preserve-3d",e.style.mozTransformStyle="preserve-3d"}function BMEnterFrameEvent(e,t,r,n){this.type=e,this.currentTime=t,this.totalTime=r,this.direction=n<0?-1:1}function BMCompleteEvent(e,t){this.type=e,this.direction=t<0?-1:1}function BMCompleteLoopEvent(e,t,r,n){this.type=e,this.currentLoop=r,this.totalLoops=t,this.direction=n<0?-1:1}function BMSegmentStartEvent(e,t,r){this.type=e,this.firstFrame=t,this.totalFrames=r}function BMDestroyEvent(e,t){this.type=e,this.target=t}function BMRenderFrameErrorEvent(e,t){this.type="renderFrameError",this.nativeError=e,this.currentTime=t}function BMConfigErrorEvent(e){this.type="configError",this.nativeError=e}function BMAnimationConfigErrorEvent(e,t){this.type=e,this.nativeError=t}const createElementID=(_count=0,function(){return idPrefix$1+"__lottie_element_"+(_count+=1)});function HSVtoRGB(e,t,r){var n,i,o,s,a,l,c,u;switch(l=r*(1-t),c=r*(1-(a=6*e-(s=Math.floor(6*e)))*t),u=r*(1-(1-a)*t),s%6){case 0:n=r,i=u,o=l;break;case 1:n=c,i=r,o=l;break;case 2:n=l,i=r,o=u;break;case 3:n=l,i=c,o=r;break;case 4:n=u,i=l,o=r;break;case 5:n=r,i=l,o=c}return[n,i,o]}function RGBtoHSV(e,t,r){var n,i=Math.max(e,t,r),o=Math.min(e,t,r),s=i-o,a=0===i?0:s/i,l=i/255;switch(i){case o:n=0;break;case e:n=t-r+s*(t<r?6:0),n/=6*s;break;case t:n=r-e+2*s,n/=6*s;break;case r:n=e-t+4*s,n/=6*s}return[n,a,l]}function addSaturationToRGB(e,t){var r=RGBtoHSV(255*e[0],255*e[1],255*e[2]);return r[1]+=t,r[1]>1?r[1]=1:r[1]<=0&&(r[1]=0),HSVtoRGB(r[0],r[1],r[2])}function addBrightnessToRGB(e,t){var r=RGBtoHSV(255*e[0],255*e[1],255*e[2]);return r[2]+=t,r[2]>1?r[2]=1:r[2]<0&&(r[2]=0),HSVtoRGB(r[0],r[1],r[2])}function addHueToRGB(e,t){var r=RGBtoHSV(255*e[0],255*e[1],255*e[2]);return r[0]+=t/360,r[0]>1?r[0]-=1:r[0]<0&&(r[0]+=1),HSVtoRGB(r[0],r[1],r[2])}const rgbToHex=function(){var e,t,r=[];for(e=0;e<256;e+=1)t=e.toString(16),r[e]=1===t.length?"0"+t:t;return function(e,t,n){return e<0&&(e=0),t<0&&(t=0),n<0&&(n=0),"#"+r[e]+r[t]+r[n]}}(),setSubframeEnabled=e=>{subframeEnabled=!!e},getSubframeEnabled=()=>subframeEnabled,setExpressionsPlugin=e=>{expressionsPlugin=e},getExpressionsPlugin=()=>expressionsPlugin,setDefaultCurveSegments=e=>{defaultCurveSegments=e},getDefaultCurveSegments=()=>defaultCurveSegments,setIdPrefix=e=>{idPrefix$1=e},getIdPrefix=()=>idPrefix$1;function createNS(e){return document.createElementNS(svgNS,e)}const dataManager=function(){var e,t,r=1,n=[],i={onmessage:function(){},postMessage:function(t){e({data:t})}},o={postMessage:function(e){i.onmessage({data:e})}};function s(){t||(t=function(t){if(window.Worker&&window.Blob&&getWebWorker()){var r=new Blob(["var _workerSelf = self; self.onmessage = ",t.toString()],{type:"text/javascript"}),n=URL.createObjectURL(r);return new Worker(n)}return e=t,i}(function(e){if(o.dataManager||(o.dataManager=function(){function e(i,o){var s,a,l,c,u,h,p=i.length;for(a=0;a<p;a+=1)if("ks"in(s=i[a])&&!s.completed){if(s.completed=!0,s.tt&&(i[a-1].td=s.tt),s.hasMask){var m=s.masksProperties;for(c=m.length,l=0;l<c;l+=1)if(m[l].pt.k.i)n(m[l].pt.k);else for(h=m[l].pt.k.length,u=0;u<h;u+=1)m[l].pt.k[u].s&&n(m[l].pt.k[u].s[0]),m[l].pt.k[u].e&&n(m[l].pt.k[u].e[0])}0===s.ty?(s.layers=t(s.refId,o),e(s.layers,o)):4===s.ty?r(s.shapes):5===s.ty&&d(s)}}function t(e,t){var r=function(e,t){for(var r=0,n=t.length;r<n;){if(t[r].id===e)return t[r];r+=1}return null}(e,t);return r?r.layers.__used?JSON.parse(JSON.stringify(r.layers)):(r.layers.__used=!0,r.layers):null}function r(e){var t,i,o;for(t=e.length-1;t>=0;t-=1)if("sh"===e[t].ty)if(e[t].ks.k.i)n(e[t].ks.k);else for(o=e[t].ks.k.length,i=0;i<o;i+=1)e[t].ks.k[i].s&&n(e[t].ks.k[i].s[0]),e[t].ks.k[i].e&&n(e[t].ks.k[i].e[0]);else"gr"===e[t].ty&&r(e[t].it)}function n(e){var t,r=e.i.length;for(t=0;t<r;t+=1)e.i[t][0]+=e.v[t][0],e.i[t][1]+=e.v[t][1],e.o[t][0]+=e.v[t][0],e.o[t][1]+=e.v[t][1]}function i(e,t){var r=t?t.split("."):[100,100,100];return e[0]>r[0]||!(r[0]>e[0])&&(e[1]>r[1]||!(r[1]>e[1])&&(e[2]>r[2]||!(r[2]>e[2])&&null))}var o,s=function(){var e=[4,4,14];function t(e){var t=e.t.d;e.t.d={k:[{s:t,t:0}]}}function r(e){var r,n=e.length;for(r=0;r<n;r+=1)5===e[r].ty&&t(e[r])}return function(t){if(i(e,t.v)&&(r(t.layers),t.assets)){var n,o=t.assets.length;for(n=0;n<o;n+=1)t.assets[n].layers&&r(t.assets[n].layers)}}}(),a=(o=[4,7,99],function(e){if(e.chars&&!i(o,e.v)){var t,n=e.chars.length;for(t=0;t<n;t+=1){var s=e.chars[t];s.data&&s.data.shapes&&(r(s.data.shapes),s.data.ip=0,s.data.op=99999,s.data.st=0,s.data.sr=1,s.data.ks={p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0}},e.chars[t].t||(s.data.shapes.push({ty:"no"}),s.data.shapes[0].it.push({p:{k:[0,0],a:0},s:{k:[100,100],a:0},a:{k:[0,0],a:0},r:{k:0,a:0},o:{k:100,a:0},sk:{k:0,a:0},sa:{k:0,a:0},ty:"tr"})))}}}),l=function(){var e=[5,7,15];function t(e){var t=e.t.p;"number"==typeof t.a&&(t.a={a:0,k:t.a}),"number"==typeof t.p&&(t.p={a:0,k:t.p}),"number"==typeof t.r&&(t.r={a:0,k:t.r})}function r(e){var r,n=e.length;for(r=0;r<n;r+=1)5===e[r].ty&&t(e[r])}return function(t){if(i(e,t.v)&&(r(t.layers),t.assets)){var n,o=t.assets.length;for(n=0;n<o;n+=1)t.assets[n].layers&&r(t.assets[n].layers)}}}(),c=function(){var e=[4,1,9];function t(e){var r,n,i,o=e.length;for(r=0;r<o;r+=1)if("gr"===e[r].ty)t(e[r].it);else if("fl"===e[r].ty||"st"===e[r].ty)if(e[r].c.k&&e[r].c.k[0].i)for(i=e[r].c.k.length,n=0;n<i;n+=1)e[r].c.k[n].s&&(e[r].c.k[n].s[0]/=255,e[r].c.k[n].s[1]/=255,e[r].c.k[n].s[2]/=255,e[r].c.k[n].s[3]/=255),e[r].c.k[n].e&&(e[r].c.k[n].e[0]/=255,e[r].c.k[n].e[1]/=255,e[r].c.k[n].e[2]/=255,e[r].c.k[n].e[3]/=255);else e[r].c.k[0]/=255,e[r].c.k[1]/=255,e[r].c.k[2]/=255,e[r].c.k[3]/=255}function r(e){var r,n=e.length;for(r=0;r<n;r+=1)4===e[r].ty&&t(e[r].shapes)}return function(t){if(i(e,t.v)&&(r(t.layers),t.assets)){var n,o=t.assets.length;for(n=0;n<o;n+=1)t.assets[n].layers&&r(t.assets[n].layers)}}}(),u=function(){var e=[4,4,18];function t(e){var r,n,i;for(r=e.length-1;r>=0;r-=1)if("sh"===e[r].ty)if(e[r].ks.k.i)e[r].ks.k.c=e[r].closed;else for(i=e[r].ks.k.length,n=0;n<i;n+=1)e[r].ks.k[n].s&&(e[r].ks.k[n].s[0].c=e[r].closed),e[r].ks.k[n].e&&(e[r].ks.k[n].e[0].c=e[r].closed);else"gr"===e[r].ty&&t(e[r].it)}function r(e){var r,n,i,o,s,a,l=e.length;for(n=0;n<l;n+=1){if((r=e[n]).hasMask){var c=r.masksProperties;for(o=c.length,i=0;i<o;i+=1)if(c[i].pt.k.i)c[i].pt.k.c=c[i].cl;else for(a=c[i].pt.k.length,s=0;s<a;s+=1)c[i].pt.k[s].s&&(c[i].pt.k[s].s[0].c=c[i].cl),c[i].pt.k[s].e&&(c[i].pt.k[s].e[0].c=c[i].cl)}4===r.ty&&t(r.shapes)}}return function(t){if(i(e,t.v)&&(r(t.layers),t.assets)){var n,o=t.assets.length;for(n=0;n<o;n+=1)t.assets[n].layers&&r(t.assets[n].layers)}}}();function d(e){0===e.t.a.length&&e.t.p}var h={completeData:function(r){r.__complete||(c(r),s(r),a(r),l(r),u(r),e(r.layers,r.assets),function(r,n){if(r){var i=0,o=r.length;for(i=0;i<o;i+=1)1===r[i].t&&(r[i].data.layers=t(r[i].data.refId,n),e(r[i].data.layers,n))}}(r.chars,r.assets),r.__complete=!0)}};return h.checkColors=c,h.checkChars=a,h.checkPathProperties=l,h.checkShapes=u,h.completeLayers=e,h}()),o.assetLoader||(o.assetLoader=function(){function e(e){var t=e.getResponseHeader("content-type");return t&&"json"===e.responseType&&-1!==t.indexOf("json")||e.response&&"object"==typeof e.response?e.response:e.response&&"string"==typeof e.response?JSON.parse(e.response):e.responseText?JSON.parse(e.responseText):null}return{load:function(t,r,n,i){var o,s=new XMLHttpRequest;try{s.responseType="json"}catch(e){}s.onreadystatechange=function(){if(4===s.readyState)if(200===s.status)o=e(s),n(o);else try{o=e(s),n(o)}catch(e){i&&i(e)}};try{s.open("GET",t,!0)}catch(e){s.open("GET",r+"/"+t,!0)}s.send()}}}()),"loadAnimation"===e.data.type)o.assetLoader.load(e.data.path,e.data.fullPath,function(t){o.dataManager.completeData(t),o.postMessage({id:e.data.id,payload:t,status:"success"})},function(){o.postMessage({id:e.data.id,status:"error"})});else if("complete"===e.data.type){var t=e.data.animation;o.dataManager.completeData(t),o.postMessage({id:e.data.id,payload:t,status:"success"})}else"loadData"===e.data.type&&o.assetLoader.load(e.data.path,e.data.fullPath,function(t){o.postMessage({id:e.data.id,payload:t,status:"success"})},function(){o.postMessage({id:e.data.id,status:"error"})})}),t.onmessage=function(e){var t=e.data,r=t.id,i=n[r];n[r]=null,"success"===t.status?i.onComplete(t.payload):i.onError&&i.onError()})}function a(e,t){var i="processId_"+(r+=1);return n[i]={onComplete:e,onError:t},i}return{loadAnimation:function(e,r,n){s();var i=a(r,n);t.postMessage({type:"loadAnimation",path:e,fullPath:window.location.origin+window.location.pathname,id:i})},loadData:function(e,r,n){s();var i=a(r,n);t.postMessage({type:"loadData",path:e,fullPath:window.location.origin+window.location.pathname,id:i})},completeAnimation:function(e,r,n){s();var i=a(r,n);t.postMessage({type:"complete",animation:e,id:i})}}}(),ImagePreloader=function(){var e=function(){var e=createTag("canvas");e.width=1,e.height=1;var t=e.getContext("2d");return t.fillStyle="rgba(0,0,0,0)",t.fillRect(0,0,1,1),e}();function t(){this.loadedAssets+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function r(){this.loadedFootagesCount+=1,this.loadedAssets===this.totalImages&&this.loadedFootagesCount===this.totalFootages&&this.imagesLoadedCb&&this.imagesLoadedCb(null)}function n(e,t,r){var n="";if(e.e)n=e.p;else if(t){var i=e.p;-1!==i.indexOf("images/")&&(i=i.split("/")[1]),n=t+i}else n=r,n+=e.u?e.u:"",n+=e.p;return n}function i(e){var t=0,r=setInterval(function(){(e.getBBox().width||t>500)&&(this._imageLoaded(),clearInterval(r)),t+=1}.bind(this),50)}function o(e){var t={assetData:e},r=n(e,this.assetsPath,this.path);return dataManager.loadData(r,function(e){t.img=e,this._footageLoaded()}.bind(this),function(){t.img={},this._footageLoaded()}.bind(this)),t}function s(){this._imageLoaded=t.bind(this),this._footageLoaded=r.bind(this),this.testImageLoaded=i.bind(this),this.createFootageData=o.bind(this),this.assetsPath="",this.path="",this.totalImages=0,this.totalFootages=0,this.loadedAssets=0,this.loadedFootagesCount=0,this.imagesLoadedCb=null,this.images=[]}return s.prototype={loadAssets:function(e,t){var r;this.imagesLoadedCb=t;var n=e.length;for(r=0;r<n;r+=1)e[r].layers||(e[r].t&&"seq"!==e[r].t?3===e[r].t&&(this.totalFootages+=1,this.images.push(this.createFootageData(e[r]))):(this.totalImages+=1,this.images.push(this._createImageData(e[r]))))},setAssetsPath:function(e){this.assetsPath=e||""},setPath:function(e){this.path=e||""},loadedImages:function(){return this.totalImages===this.loadedAssets},loadedFootages:function(){return this.totalFootages===this.loadedFootagesCount},destroy:function(){this.imagesLoadedCb=null,this.images.length=0},getAsset:function(e){for(var t=0,r=this.images.length;t<r;){if(this.images[t].assetData===e)return this.images[t].img;t+=1}return null},createImgData:function(t){var r=n(t,this.assetsPath,this.path),i=createTag("img");i.crossOrigin="anonymous",i.addEventListener("load",this._imageLoaded,!1),i.addEventListener("error",function(){o.img=e,this._imageLoaded()}.bind(this),!1),i.src=r;var o={img:i,assetData:t};return o},createImageData:function(t){var r=n(t,this.assetsPath,this.path),i=createNS("image");isSafari?this.testImageLoaded(i):i.addEventListener("load",this._imageLoaded,!1),i.addEventListener("error",function(){o.img=e,this._imageLoaded()}.bind(this),!1),i.setAttributeNS("http://www.w3.org/1999/xlink","href",r),this._elementHelper.append?this._elementHelper.append(i):this._elementHelper.appendChild(i);var o={img:i,assetData:t};return o},imageLoaded:t,footageLoaded:r,setCacheType:function(e,t){"svg"===e?(this._elementHelper=t,this._createImageData=this.createImageData.bind(this)):this._createImageData=this.createImgData.bind(this)}},s}();function BaseEvent(){}BaseEvent.prototype={triggerEvent:function(e,t){if(this._cbs[e])for(var r=this._cbs[e],n=0;n<r.length;n+=1)r[n](t)},addEventListener:function(e,t){return this._cbs[e]||(this._cbs[e]=[]),this._cbs[e].push(t),function(){this.removeEventListener(e,t)}.bind(this)},removeEventListener:function(e,t){if(t){if(this._cbs[e]){for(var r=0,n=this._cbs[e].length;r<n;)this._cbs[e][r]===t&&(this._cbs[e].splice(r,1),r-=1,n-=1),r+=1;this._cbs[e].length||(this._cbs[e]=null)}}else this._cbs[e]=null}};const markerParser=function(){function e(e){for(var t,r=e.split("\r\n"),n={},i=0,o=0;o<r.length;o+=1)2===(t=r[o].split(":")).length&&(n[t[0]]=t[1].trim(),i+=1);if(0===i)throw new Error;return n}return function(t){for(var r=[],n=0;n<t.length;n+=1){var i=t[n],o={time:i.tm,duration:i.dr};try{o.payload=JSON.parse(t[n].cm)}catch(r){try{o.payload=e(t[n].cm)}catch(e){o.payload={name:t[n].cm}}}r.push(o)}return r}}(),ProjectInterface=function(){function e(e){this.compositions.push(e)}return function(){function t(e){for(var t=0,r=this.compositions.length;t<r;){if(this.compositions[t].data&&this.compositions[t].data.nm===e)return this.compositions[t].prepareFrame&&this.compositions[t].data.xt&&this.compositions[t].prepareFrame(this.currentFrame),this.compositions[t].compInterface;t+=1}return null}return t.compositions=[],t.currentFrame=0,t.registerComposition=e,t}}(),renderers={},registerRenderer=(e,t)=>{renderers[e]=t};function getRenderer(e){return renderers[e]}const AnimationItem=function(){this._cbs=[],this.name="",this.path="",this.isLoaded=!1,this.currentFrame=0,this.currentRawFrame=0,this.firstFrame=0,this.totalFrames=0,this.frameRate=0,this.frameMult=0,this.playSpeed=1,this.playDirection=1,this.playCount=0,this.animationData={},this.assets=[],this.isPaused=!0,this.autoplay=!1,this.loop=!0,this.renderer=null,this.animationID=createElementID(),this.assetsPath="",this.timeCompleted=0,this.segmentPos=0,this.isSubframeEnabled=getSubframeEnabled(),this.segments=[],this._idle=!0,this._completedLoop=!1,this.projectInterface=ProjectInterface(),this.imagePreloader=new ImagePreloader,this.audioController=audioControllerFactory(),this.markers=[],this.configAnimation=this.configAnimation.bind(this),this.onSetupError=this.onSetupError.bind(this),this.onSegmentComplete=this.onSegmentComplete.bind(this),this.drawnFrameEvent=new BMEnterFrameEvent("drawnFrame",0,0,0)};extendPrototype([BaseEvent],AnimationItem),AnimationItem.prototype.setParams=function(e){(e.wrapper||e.container)&&(this.wrapper=e.wrapper||e.container);var t="svg";e.animType?t=e.animType:e.renderer&&(t=e.renderer);const r=getRenderer(t);this.renderer=new r(this,e.rendererSettings),this.imagePreloader.setCacheType(t,this.renderer.globalData.defs),this.renderer.setProjectInterface(this.projectInterface),this.animType=t,""===e.loop||null===e.loop||void 0===e.loop||!0===e.loop?this.loop=!0:!1===e.loop?this.loop=!1:this.loop=parseInt(e.loop,10),this.autoplay=!("autoplay"in e)||e.autoplay,this.name=e.name?e.name:"",this.autoloadSegments=!Object.prototype.hasOwnProperty.call(e,"autoloadSegments")||e.autoloadSegments,this.assetsPath=e.assetsPath,this.initialSegment=e.initialSegment,e.audioFactory&&this.audioController.setAudioFactory(e.audioFactory),e.animationData?this.setupAnimation(e.animationData):e.path&&(-1!==e.path.lastIndexOf("\\")?this.path=e.path.substr(0,e.path.lastIndexOf("\\")+1):this.path=e.path.substr(0,e.path.lastIndexOf("/")+1),this.fileName=e.path.substr(e.path.lastIndexOf("/")+1),this.fileName=this.fileName.substr(0,this.fileName.lastIndexOf(".json")),dataManager.loadAnimation(e.path,this.configAnimation,this.onSetupError))},AnimationItem.prototype.onSetupError=function(){this.trigger("data_failed")},AnimationItem.prototype.setupAnimation=function(e){dataManager.completeAnimation(e,this.configAnimation)},AnimationItem.prototype.setData=function(e,t){t&&"object"!=typeof t&&(t=JSON.parse(t));var r={wrapper:e,animationData:t},n=e.attributes;r.path=n.getNamedItem("data-animation-path")?n.getNamedItem("data-animation-path").value:n.getNamedItem("data-bm-path")?n.getNamedItem("data-bm-path").value:n.getNamedItem("bm-path")?n.getNamedItem("bm-path").value:"",r.animType=n.getNamedItem("data-anim-type")?n.getNamedItem("data-anim-type").value:n.getNamedItem("data-bm-type")?n.getNamedItem("data-bm-type").value:n.getNamedItem("bm-type")?n.getNamedItem("bm-type").value:n.getNamedItem("data-bm-renderer")?n.getNamedItem("data-bm-renderer").value:n.getNamedItem("bm-renderer")?n.getNamedItem("bm-renderer").value:"canvas";var i=n.getNamedItem("data-anim-loop")?n.getNamedItem("data-anim-loop").value:n.getNamedItem("data-bm-loop")?n.getNamedItem("data-bm-loop").value:n.getNamedItem("bm-loop")?n.getNamedItem("bm-loop").value:"";"false"===i?r.loop=!1:"true"===i?r.loop=!0:""!==i&&(r.loop=parseInt(i,10));var o=n.getNamedItem("data-anim-autoplay")?n.getNamedItem("data-anim-autoplay").value:n.getNamedItem("data-bm-autoplay")?n.getNamedItem("data-bm-autoplay").value:!n.getNamedItem("bm-autoplay")||n.getNamedItem("bm-autoplay").value;r.autoplay="false"!==o,r.name=n.getNamedItem("data-name")?n.getNamedItem("data-name").value:n.getNamedItem("data-bm-name")?n.getNamedItem("data-bm-name").value:n.getNamedItem("bm-name")?n.getNamedItem("bm-name").value:"","false"===(n.getNamedItem("data-anim-prerender")?n.getNamedItem("data-anim-prerender").value:n.getNamedItem("data-bm-prerender")?n.getNamedItem("data-bm-prerender").value:n.getNamedItem("bm-prerender")?n.getNamedItem("bm-prerender").value:"")&&(r.prerender=!1),this.setParams(r)},AnimationItem.prototype.includeLayers=function(e){e.op>this.animationData.op&&(this.animationData.op=e.op,this.totalFrames=Math.floor(e.op-this.animationData.ip));var t,r,n=this.animationData.layers,i=n.length,o=e.layers,s=o.length;for(r=0;r<s;r+=1)for(t=0;t<i;){if(n[t].id===o[r].id){n[t]=o[r];break}t+=1}if((e.chars||e.fonts)&&(this.renderer.globalData.fontManager.addChars(e.chars),this.renderer.globalData.fontManager.addFonts(e.fonts,this.renderer.globalData.defs)),e.assets)for(i=e.assets.length,t=0;t<i;t+=1)this.animationData.assets.push(e.assets[t]);this.animationData.__complete=!1,dataManager.completeAnimation(this.animationData,this.onSegmentComplete)},AnimationItem.prototype.onSegmentComplete=function(e){this.animationData=e;var t=getExpressionsPlugin();t&&t.initExpressions(this),this.loadNextSegment()},AnimationItem.prototype.loadNextSegment=function(){var e=this.animationData.segments;if(!e||0===e.length||!this.autoloadSegments)return this.trigger("data_ready"),void(this.timeCompleted=this.totalFrames);var t=e.shift();this.timeCompleted=t.time*this.frameRate;var r=this.path+this.fileName+"_"+this.segmentPos+".json";this.segmentPos+=1,dataManager.loadData(r,this.includeLayers.bind(this),function(){this.trigger("data_failed")}.bind(this))},AnimationItem.prototype.loadSegments=function(){this.animationData.segments||(this.timeCompleted=this.totalFrames),this.loadNextSegment()},AnimationItem.prototype.imagesLoaded=function(){this.trigger("loaded_images"),this.checkLoaded()},AnimationItem.prototype.preloadImages=function(){this.imagePreloader.setAssetsPath(this.assetsPath),this.imagePreloader.setPath(this.path),this.imagePreloader.loadAssets(this.animationData.assets,this.imagesLoaded.bind(this))},AnimationItem.prototype.configAnimation=function(e){if(this.renderer)try{this.animationData=e,this.initialSegment?(this.totalFrames=Math.floor(this.initialSegment[1]-this.initialSegment[0]),this.firstFrame=Math.round(this.initialSegment[0])):(this.totalFrames=Math.floor(this.animationData.op-this.animationData.ip),this.firstFrame=Math.round(this.animationData.ip)),this.renderer.configAnimation(e),e.assets||(e.assets=[]),this.assets=this.animationData.assets,this.frameRate=this.animationData.fr,this.frameMult=this.animationData.fr/1e3,this.renderer.searchExtraCompositions(e.assets),this.markers=markerParser(e.markers||[]),this.trigger("config_ready"),this.preloadImages(),this.loadSegments(),this.updaFrameModifier(),this.waitForFontsLoaded(),this.isPaused&&this.audioController.pause()}catch(e){this.triggerConfigError(e)}},AnimationItem.prototype.waitForFontsLoaded=function(){this.renderer&&(this.renderer.globalData.fontManager.isLoaded?this.checkLoaded():setTimeout(this.waitForFontsLoaded.bind(this),20))},AnimationItem.prototype.checkLoaded=function(){if(!this.isLoaded&&this.renderer.globalData.fontManager.isLoaded&&(this.imagePreloader.loadedImages()||"canvas"!==this.renderer.rendererType)&&this.imagePreloader.loadedFootages()){this.isLoaded=!0;var e=getExpressionsPlugin();e&&e.initExpressions(this),this.renderer.initItems(),setTimeout(function(){this.trigger("DOMLoaded")}.bind(this),0),this.gotoFrame(),this.autoplay&&this.play()}},AnimationItem.prototype.resize=function(){this.renderer.updateContainerSize()},AnimationItem.prototype.setSubframe=function(e){this.isSubframeEnabled=!!e},AnimationItem.prototype.gotoFrame=function(){this.currentFrame=this.isSubframeEnabled?this.currentRawFrame:~~this.currentRawFrame,this.timeCompleted!==this.totalFrames&&this.currentFrame>this.timeCompleted&&(this.currentFrame=this.timeCompleted),this.trigger("enterFrame"),this.renderFrame(),this.trigger("drawnFrame")},AnimationItem.prototype.renderFrame=function(){if(!1!==this.isLoaded&&this.renderer)try{this.renderer.renderFrame(this.currentFrame+this.firstFrame)}catch(e){this.triggerRenderFrameError(e)}},AnimationItem.prototype.play=function(e){e&&this.name!==e||!0===this.isPaused&&(this.isPaused=!1,this.trigger("_pause"),this.audioController.resume(),this._idle&&(this._idle=!1,this.trigger("_active")))},AnimationItem.prototype.pause=function(e){e&&this.name!==e||!1===this.isPaused&&(this.isPaused=!0,this.trigger("_play"),this._idle=!0,this.trigger("_idle"),this.audioController.pause())},AnimationItem.prototype.togglePause=function(e){e&&this.name!==e||(!0===this.isPaused?this.play():this.pause())},AnimationItem.prototype.stop=function(e){e&&this.name!==e||(this.pause(),this.playCount=0,this._completedLoop=!1,this.setCurrentRawFrameValue(0))},AnimationItem.prototype.getMarkerData=function(e){for(var t,r=0;r<this.markers.length;r+=1)if((t=this.markers[r]).payload&&t.payload.name===e)return t;return null},AnimationItem.prototype.goToAndStop=function(e,t,r){if(!r||this.name===r){var n=Number(e);if(isNaN(n)){var i=this.getMarkerData(e);i&&this.goToAndStop(i.time,!0)}else t?this.setCurrentRawFrameValue(e):this.setCurrentRawFrameValue(e*this.frameModifier);this.pause()}},AnimationItem.prototype.goToAndPlay=function(e,t,r){if(!r||this.name===r){var n=Number(e);if(isNaN(n)){var i=this.getMarkerData(e);i&&(i.duration?this.playSegments([i.time,i.time+i.duration],!0):this.goToAndStop(i.time,!0))}else this.goToAndStop(n,t,r);this.play()}},AnimationItem.prototype.advanceTime=function(e){if(!0!==this.isPaused&&!1!==this.isLoaded){var t=this.currentRawFrame+e*this.frameModifier,r=!1;t>=this.totalFrames-1&&this.frameModifier>0?this.loop&&this.playCount!==this.loop?t>=this.totalFrames?(this.playCount+=1,this.checkSegments(t%this.totalFrames)||(this.setCurrentRawFrameValue(t%this.totalFrames),this._completedLoop=!0,this.trigger("loopComplete"))):this.setCurrentRawFrameValue(t):this.checkSegments(t>this.totalFrames?t%this.totalFrames:0)||(r=!0,t=this.totalFrames-1):t<0?this.checkSegments(t%this.totalFrames)||(!this.loop||this.playCount--<=0&&!0!==this.loop?(r=!0,t=0):(this.setCurrentRawFrameValue(this.totalFrames+t%this.totalFrames),this._completedLoop?this.trigger("loopComplete"):this._completedLoop=!0)):this.setCurrentRawFrameValue(t),r&&(this.setCurrentRawFrameValue(t),this.pause(),this.trigger("complete"))}},AnimationItem.prototype.adjustSegment=function(e,t){this.playCount=0,e[1]<e[0]?(this.frameModifier>0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(-1)),this.totalFrames=e[0]-e[1],this.timeCompleted=this.totalFrames,this.firstFrame=e[1],this.setCurrentRawFrameValue(this.totalFrames-.001-t)):e[1]>e[0]&&(this.frameModifier<0&&(this.playSpeed<0?this.setSpeed(-this.playSpeed):this.setDirection(1)),this.totalFrames=e[1]-e[0],this.timeCompleted=this.totalFrames,this.firstFrame=e[0],this.setCurrentRawFrameValue(.001+t)),this.trigger("segmentStart")},AnimationItem.prototype.setSegment=function(e,t){var r=-1;this.isPaused&&(this.currentRawFrame+this.firstFrame<e?r=e:this.currentRawFrame+this.firstFrame>t&&(r=t-e)),this.firstFrame=e,this.totalFrames=t-e,this.timeCompleted=this.totalFrames,-1!==r&&this.goToAndStop(r,!0)},AnimationItem.prototype.playSegments=function(e,t){if(t&&(this.segments.length=0),"object"==typeof e[0]){var r,n=e.length;for(r=0;r<n;r+=1)this.segments.push(e[r])}else this.segments.push(e);this.segments.length&&t&&this.adjustSegment(this.segments.shift(),0),this.isPaused&&this.play()},AnimationItem.prototype.resetSegments=function(e){this.segments.length=0,this.segments.push([this.animationData.ip,this.animationData.op]),e&&this.checkSegments(0)},AnimationItem.prototype.checkSegments=function(e){return!!this.segments.length&&(this.adjustSegment(this.segments.shift(),e),!0)},AnimationItem.prototype.destroy=function(e){e&&this.name!==e||!this.renderer||(this.renderer.destroy(),this.imagePreloader.destroy(),this.trigger("destroy"),this._cbs=null,this.onEnterFrame=null,this.onLoopComplete=null,this.onComplete=null,this.onSegmentStart=null,this.onDestroy=null,this.renderer=null,this.renderer=null,this.imagePreloader=null,this.projectInterface=null)},AnimationItem.prototype.setCurrentRawFrameValue=function(e){this.currentRawFrame=e,this.gotoFrame()},AnimationItem.prototype.setSpeed=function(e){this.playSpeed=e,this.updaFrameModifier()},AnimationItem.prototype.setDirection=function(e){this.playDirection=e<0?-1:1,this.updaFrameModifier()},AnimationItem.prototype.setVolume=function(e,t){t&&this.name!==t||this.audioController.setVolume(e)},AnimationItem.prototype.getVolume=function(){return this.audioController.getVolume()},AnimationItem.prototype.mute=function(e){e&&this.name!==e||this.audioController.mute()},AnimationItem.prototype.unmute=function(e){e&&this.name!==e||this.audioController.unmute()},AnimationItem.prototype.updaFrameModifier=function(){this.frameModifier=this.frameMult*this.playSpeed*this.playDirection,this.audioController.setRate(this.playSpeed*this.playDirection)},AnimationItem.prototype.getPath=function(){return this.path},AnimationItem.prototype.getAssetsPath=function(e){var t="";if(e.e)t=e.p;else if(this.assetsPath){var r=e.p;-1!==r.indexOf("images/")&&(r=r.split("/")[1]),t=this.assetsPath+r}else t=this.path,t+=e.u?e.u:"",t+=e.p;return t},AnimationItem.prototype.getAssetData=function(e){for(var t=0,r=this.assets.length;t<r;){if(e===this.assets[t].id)return this.assets[t];t+=1}return null},AnimationItem.prototype.hide=function(){this.renderer.hide()},AnimationItem.prototype.show=function(){this.renderer.show()},AnimationItem.prototype.getDuration=function(e){return e?this.totalFrames:this.totalFrames/this.frameRate},AnimationItem.prototype.updateDocumentData=function(e,t,r){try{this.renderer.getElementByPath(e).updateDocumentData(t,r)}catch(e){}},AnimationItem.prototype.trigger=function(e){if(this._cbs&&this._cbs[e])switch(e){case"enterFrame":this.triggerEvent(e,new BMEnterFrameEvent(e,this.currentFrame,this.totalFrames,this.frameModifier));break;case"drawnFrame":this.drawnFrameEvent.currentTime=this.currentFrame,this.drawnFrameEvent.totalTime=this.totalFrames,this.drawnFrameEvent.direction=this.frameModifier,this.triggerEvent(e,this.drawnFrameEvent);break;case"loopComplete":this.triggerEvent(e,new BMCompleteLoopEvent(e,this.loop,this.playCount,this.frameMult));break;case"complete":this.triggerEvent(e,new BMCompleteEvent(e,this.frameMult));break;case"segmentStart":this.triggerEvent(e,new BMSegmentStartEvent(e,this.firstFrame,this.totalFrames));break;case"destroy":this.triggerEvent(e,new BMDestroyEvent(e,this));break;default:this.triggerEvent(e)}"enterFrame"===e&&this.onEnterFrame&&this.onEnterFrame.call(this,new BMEnterFrameEvent(e,this.currentFrame,this.totalFrames,this.frameMult)),"loopComplete"===e&&this.onLoopComplete&&this.onLoopComplete.call(this,new BMCompleteLoopEvent(e,this.loop,this.playCount,this.frameMult)),"complete"===e&&this.onComplete&&this.onComplete.call(this,new BMCompleteEvent(e,this.frameMult)),"segmentStart"===e&&this.onSegmentStart&&this.onSegmentStart.call(this,new BMSegmentStartEvent(e,this.firstFrame,this.totalFrames)),"destroy"===e&&this.onDestroy&&this.onDestroy.call(this,new BMDestroyEvent(e,this))},AnimationItem.prototype.triggerRenderFrameError=function(e){var t=new BMRenderFrameErrorEvent(e,this.currentFrame);this.triggerEvent("error",t),this.onError&&this.onError.call(this,t)},AnimationItem.prototype.triggerConfigError=function(e){var t=new BMConfigErrorEvent(e,this.currentFrame);this.triggerEvent("error",t),this.onError&&this.onError.call(this,t)};const animationManager=function(){var e={},t=[],r=0,n=0,i=0,o=!0,s=!1;function a(e){for(var r=0,i=e.target;r<n;)t[r].animation===i&&(t.splice(r,1),r-=1,n-=1,i.isPaused||u()),r+=1}function l(e,r){if(!e)return null;for(var i=0;i<n;){if(t[i].elem===e&&null!==t[i].elem)return t[i].animation;i+=1}var o=new AnimationItem;return d(o,e),o.setData(e,r),o}function c(){i+=1,m()}function u(){i-=1}function d(e,r){e.addEventListener("destroy",a),e.addEventListener("_active",c),e.addEventListener("_idle",u),t.push({elem:r,animation:e}),n+=1}function h(e){var a,l=e-r;for(a=0;a<n;a+=1)t[a].animation.advanceTime(l);r=e,i&&!s?window.requestAnimationFrame(h):o=!0}function p(e){r=e,window.requestAnimationFrame(h)}function m(){!s&&i&&o&&(window.requestAnimationFrame(p),o=!1)}return e.registerAnimation=l,e.loadAnimation=function(e){var t=new AnimationItem;return d(t,null),t.setParams(e),t},e.setSpeed=function(e,r){var i;for(i=0;i<n;i+=1)t[i].animation.setSpeed(e,r)},e.setDirection=function(e,r){var i;for(i=0;i<n;i+=1)t[i].animation.setDirection(e,r)},e.play=function(e){var r;for(r=0;r<n;r+=1)t[r].animation.play(e)},e.pause=function(e){var r;for(r=0;r<n;r+=1)t[r].animation.pause(e)},e.stop=function(e){var r;for(r=0;r<n;r+=1)t[r].animation.stop(e)},e.togglePause=function(e){var r;for(r=0;r<n;r+=1)t[r].animation.togglePause(e)},e.searchAnimations=function(e,t,r){var n,i=[].concat([].slice.call(document.getElementsByClassName("lottie")),[].slice.call(document.getElementsByClassName("bodymovin"))),o=i.length;for(n=0;n<o;n+=1)r&&i[n].setAttribute("data-bm-type",r),l(i[n],e);if(t&&0===o){r||(r="svg");var s=document.getElementsByTagName("body")[0];s.innerText="";var a=createTag("div");a.style.width="100%",a.style.height="100%",a.setAttribute("data-bm-type",r),s.appendChild(a),l(a,e)}},e.resize=function(){var e;for(e=0;e<n;e+=1)t[e].animation.resize()},e.goToAndStop=function(e,r,i){var o;for(o=0;o<n;o+=1)t[o].animation.goToAndStop(e,r,i)},e.destroy=function(e){var r;for(r=n-1;r>=0;r-=1)t[r].animation.destroy(e)},e.freeze=function(){s=!0},e.unfreeze=function(){s=!1,m()},e.setVolume=function(e,r){var i;for(i=0;i<n;i+=1)t[i].animation.setVolume(e,r)},e.mute=function(e){var r;for(r=0;r<n;r+=1)t[r].animation.mute(e)},e.unmute=function(e){var r;for(r=0;r<n;r+=1)t[r].animation.unmute(e)},e.getRegisteredAnimations=function(){var e,r=t.length,n=[];for(e=0;e<r;e+=1)n.push(t[e].animation);return n},e}(),BezierFactory=function(){var e={getBezierEasing:function(e,r,n,i,o){var s=o||("bez_"+e+"_"+r+"_"+n+"_"+i).replace(/\./g,"p");if(t[s])return t[s];var a=new u([e,r,n,i]);return t[s]=a,a}},t={};var r=11,n=1/(r-1),i="function"==typeof Float32Array;function o(e,t){return 1-3*t+3*e}function s(e,t){return 3*t-6*e}function a(e){return 3*e}function l(e,t,r){return((o(t,r)*e+s(t,r))*e+a(t))*e}function c(e,t,r){return 3*o(t,r)*e*e+2*s(t,r)*e+a(t)}function u(e){this._p=e,this._mSampleValues=i?new Float32Array(r):new Array(r),this._precomputed=!1,this.get=this.get.bind(this)}return u.prototype={get:function(e){var t=this._p[0],r=this._p[1],n=this._p[2],i=this._p[3];return this._precomputed||this._precompute(),t===r&&n===i?e:0===e?0:1===e?1:l(this._getTForX(e),r,i)},_precompute:function(){var e=this._p[0],t=this._p[1],r=this._p[2],n=this._p[3];this._precomputed=!0,e===t&&r===n||this._calcSampleValues()},_calcSampleValues:function(){for(var e=this._p[0],t=this._p[2],i=0;i<r;++i)this._mSampleValues[i]=l(i*n,e,t)},_getTForX:function(e){for(var t=this._p[0],i=this._p[2],o=this._mSampleValues,s=0,a=1,u=r-1;a!==u&&o[a]<=e;++a)s+=n;var d=s+(e-o[--a])/(o[a+1]-o[a])*n,h=c(d,t,i);return h>=.001?function(e,t,r,n){for(var i=0;i<4;++i){var o=c(t,r,n);if(0===o)return t;t-=(l(t,r,n)-e)/o}return t}(e,d,t,i):0===h?d:function(e,t,r,n,i){var o,s,a=0;do{(o=l(s=t+(r-t)/2,n,i)-e)>0?r=s:t=s}while(Math.abs(o)>1e-7&&++a<10);return s}(e,s,s+n,t,i)}},e}(),pooling={double:function(e){return e.concat(createSizedArray(e.length))}},poolFactory=function(e,t,r){var n=0,i=e,o=createSizedArray(i);return{newElement:function(){return n?o[n-=1]:t()},release:function(e){n===i&&(o=pooling.double(o),i*=2),r&&r(e),o[n]=e,n+=1}}},bezierLengthPool=poolFactory(8,function(){return{addedLength:0,percents:createTypedArray("float32",getDefaultCurveSegments()),lengths:createTypedArray("float32",getDefaultCurveSegments())}}),segmentsLengthPool=poolFactory(8,function(){return{lengths:[],totalLength:0}},function(e){var t,r=e.lengths.length;for(t=0;t<r;t+=1)bezierLengthPool.release(e.lengths[t]);e.lengths.length=0});function bezFunction(){var e=Math;function t(e,t,r,n,i,o){var s=e*n+t*i+r*o-i*n-o*e-r*t;return s>-.001&&s<.001}var r=function(e,t,r,n){var i,o,s,a,l,c,u=getDefaultCurveSegments(),d=0,h=[],p=[],m=bezierLengthPool.newElement();for(s=r.length,i=0;i<u;i+=1){for(l=i/(u-1),c=0,o=0;o<s;o+=1)a=bmPow(1-l,3)*e[o]+3*bmPow(1-l,2)*l*r[o]+3*(1-l)*bmPow(l,2)*n[o]+bmPow(l,3)*t[o],h[o]=a,null!==p[o]&&(c+=bmPow(h[o]-p[o],2)),p[o]=h[o];c&&(d+=c=bmSqrt(c)),m.percents[i]=l,m.lengths[i]=d}return m.addedLength=d,m};function n(e){this.segmentLength=0,this.points=new Array(e)}function i(e,t){this.partialLength=e,this.point=t}var o,s=(o={},function(e,r,s,a){var l=(e[0]+"_"+e[1]+"_"+r[0]+"_"+r[1]+"_"+s[0]+"_"+s[1]+"_"+a[0]+"_"+a[1]).replace(/\./g,"p");if(!o[l]){var c,u,d,h,p,m,_,g=getDefaultCurveSegments(),f=0,v=null;2===e.length&&(e[0]!==r[0]||e[1]!==r[1])&&t(e[0],e[1],r[0],r[1],e[0]+s[0],e[1]+s[1])&&t(e[0],e[1],r[0],r[1],r[0]+a[0],r[1]+a[1])&&(g=2);var b=new n(g);for(d=s.length,c=0;c<g;c+=1){for(_=createSizedArray(d),p=c/(g-1),m=0,u=0;u<d;u+=1)h=bmPow(1-p,3)*e[u]+3*bmPow(1-p,2)*p*(e[u]+s[u])+3*(1-p)*bmPow(p,2)*(r[u]+a[u])+bmPow(p,3)*r[u],_[u]=h,null!==v&&(m+=bmPow(_[u]-v[u],2));f+=m=bmSqrt(m),b.points[c]=new i(m,_),v=_}b.segmentLength=f,o[l]=b}return o[l]});function a(e,t){var r=t.percents,n=t.lengths,i=r.length,o=bmFloor((i-1)*e),s=e*t.addedLength,a=0;if(o===i-1||0===o||s===n[o])return r[o];for(var l=n[o]>s?-1:1,c=!0;c;)if(n[o]<=s&&n[o+1]>s?(a=(s-n[o])/(n[o+1]-n[o]),c=!1):o+=l,o<0||o>=i-1){if(o===i-1)return r[o];c=!1}return r[o]+(r[o+1]-r[o])*a}var l=createTypedArray("float32",8);return{getSegmentsLength:function(e){var t,n=segmentsLengthPool.newElement(),i=e.c,o=e.v,s=e.o,a=e.i,l=e._length,c=n.lengths,u=0;for(t=0;t<l-1;t+=1)c[t]=r(o[t],o[t+1],s[t],a[t+1]),u+=c[t].addedLength;return i&&l&&(c[t]=r(o[t],o[0],s[t],a[0]),u+=c[t].addedLength),n.totalLength=u,n},getNewSegment:function(t,r,n,i,o,s,c){o<0?o=0:o>1&&(o=1);var u,d=a(o,c),h=a(s=s>1?1:s,c),p=t.length,m=1-d,_=1-h,g=m*m*m,f=d*m*m*3,v=d*d*m*3,b=d*d*d,y=m*m*_,$=d*m*_+m*d*_+m*m*h,x=d*d*_+m*d*h+d*m*h,S=d*d*h,w=m*_*_,A=d*_*_+m*h*_+m*_*h,C=d*h*_+m*h*h+d*_*h,E=d*h*h,I=_*_*_,M=h*_*_+_*h*_+_*_*h,k=h*h*_+_*h*h+h*_*h,T=h*h*h;for(u=0;u<p;u+=1)l[4*u]=e.round(1e3*(g*t[u]+f*n[u]+v*i[u]+b*r[u]))/1e3,l[4*u+1]=e.round(1e3*(y*t[u]+$*n[u]+x*i[u]+S*r[u]))/1e3,l[4*u+2]=e.round(1e3*(w*t[u]+A*n[u]+C*i[u]+E*r[u]))/1e3,l[4*u+3]=e.round(1e3*(I*t[u]+M*n[u]+k*i[u]+T*r[u]))/1e3;return l},getPointInSegment:function(t,r,n,i,o,s){var l=a(o,s),c=1-l;return[e.round(1e3*(c*c*c*t[0]+(l*c*c+c*l*c+c*c*l)*n[0]+(l*l*c+c*l*l+l*c*l)*i[0]+l*l*l*r[0]))/1e3,e.round(1e3*(c*c*c*t[1]+(l*c*c+c*l*c+c*c*l)*n[1]+(l*l*c+c*l*l+l*c*l)*i[1]+l*l*l*r[1]))/1e3]},buildBezierData:s,pointOnLine2D:t,pointOnLine3D:function(r,n,i,o,s,a,l,c,u){if(0===i&&0===a&&0===u)return t(r,n,o,s,l,c);var d,h=e.sqrt(e.pow(o-r,2)+e.pow(s-n,2)+e.pow(a-i,2)),p=e.sqrt(e.pow(l-r,2)+e.pow(c-n,2)+e.pow(u-i,2)),m=e.sqrt(e.pow(l-o,2)+e.pow(c-s,2)+e.pow(u-a,2));return(d=h>p?h>m?h-p-m:m-p-h:m>p?m-p-h:p-h-m)>-1e-4&&d<1e-4}}}const bez=bezFunction(),PropertyFactory=function(){var e=initialDefaultFrame,t=Math.abs;function r(e,t){var r,i=this.offsetTime;"multidimensional"===this.propType&&(r=createTypedArray("float32",this.pv.length));for(var o,s,a,l,c,u,d,h,p,m=t.lastIndex,_=m,g=this.keyframes.length-1,f=!0;f;){if(o=this.keyframes[_],s=this.keyframes[_+1],_===g-1&&e>=s.t-i){o.h&&(o=s),m=0;break}if(s.t-i>e){m=_;break}_<g-1?_+=1:(m=0,f=!1)}a=this.keyframesMetadata[_]||{};var v,b,y,$,x,S,w,A,C,E,I=s.t-i,M=o.t-i;if(o.to){a.bezierData||(a.bezierData=bez.buildBezierData(o.s,s.s||o.e,o.to,o.ti));var k=a.bezierData;if(e>=I||e<M){var T=e>=I?k.points.length-1:0;for(c=k.points[T].point.length,l=0;l<c;l+=1)r[l]=k.points[T].point[l]}else{a.__fnct?p=a.__fnct:(p=BezierFactory.getBezierEasing(o.o.x,o.o.y,o.i.x,o.i.y,o.n).get,a.__fnct=p),u=p((e-M)/(I-M));var R,L=k.segmentLength*u,P=t.lastFrame<e&&t._lastKeyframeIndex===_?t._lastAddedLength:0;for(h=t.lastFrame<e&&t._lastKeyframeIndex===_?t._lastPoint:0,f=!0,d=k.points.length;f;){if(P+=k.points[h].partialLength,0===L||0===u||h===k.points.length-1){for(c=k.points[h].point.length,l=0;l<c;l+=1)r[l]=k.points[h].point[l];break}if(L>=P&&L<P+k.points[h+1].partialLength){for(R=(L-P)/k.points[h+1].partialLength,c=k.points[h].point.length,l=0;l<c;l+=1)r[l]=k.points[h].point[l]+(k.points[h+1].point[l]-k.points[h].point[l])*R;break}h<d-1?h+=1:f=!1}t._lastPoint=h,t._lastAddedLength=P-k.points[h].partialLength,t._lastKeyframeIndex=_}}else{var D,N,F,O,B;if(g=o.s.length,v=s.s||o.e,this.sh&&1!==o.h)if(e>=I)r[0]=v[0],r[1]=v[1],r[2]=v[2];else if(e<=M)r[0]=o.s[0],r[1]=o.s[1],r[2]=o.s[2];else{var U=n(o.s),V=n(v);b=r,y=function(e,t,r){var n,i,o,s,a,l=[],c=e[0],u=e[1],d=e[2],h=e[3],p=t[0],m=t[1],_=t[2],g=t[3];return(i=c*p+u*m+d*_+h*g)<0&&(i=-i,p=-p,m=-m,_=-_,g=-g),1-i>1e-6?(n=Math.acos(i),o=Math.sin(n),s=Math.sin((1-r)*n)/o,a=Math.sin(r*n)/o):(s=1-r,a=r),l[0]=s*c+a*p,l[1]=s*u+a*m,l[2]=s*d+a*_,l[3]=s*h+a*g,l}(U,V,(e-M)/(I-M)),$=y[0],x=y[1],S=y[2],w=y[3],A=Math.atan2(2*x*w-2*$*S,1-2*x*x-2*S*S),C=Math.asin(2*$*x+2*S*w),E=Math.atan2(2*$*w-2*x*S,1-2*$*$-2*S*S),b[0]=A/degToRads,b[1]=C/degToRads,b[2]=E/degToRads}else for(_=0;_<g;_+=1)1!==o.h&&(e>=I?u=1:e<M?u=0:(o.o.x.constructor===Array?(a.__fnct||(a.__fnct=[]),a.__fnct[_]?p=a.__fnct[_]:(D=void 0===o.o.x[_]?o.o.x[0]:o.o.x[_],N=void 0===o.o.y[_]?o.o.y[0]:o.o.y[_],F=void 0===o.i.x[_]?o.i.x[0]:o.i.x[_],O=void 0===o.i.y[_]?o.i.y[0]:o.i.y[_],p=BezierFactory.getBezierEasing(D,N,F,O).get,a.__fnct[_]=p)):a.__fnct?p=a.__fnct:(D=o.o.x,N=o.o.y,F=o.i.x,O=o.i.y,p=BezierFactory.getBezierEasing(D,N,F,O).get,o.keyframeMetadata=p),u=p((e-M)/(I-M)))),v=s.s||o.e,B=1===o.h?o.s[_]:o.s[_]+(v[_]-o.s[_])*u,"multidimensional"===this.propType?r[_]=B:r=B}return t.lastIndex=m,r}function n(e){var t=e[0]*degToRads,r=e[1]*degToRads,n=e[2]*degToRads,i=Math.cos(t/2),o=Math.cos(r/2),s=Math.cos(n/2),a=Math.sin(t/2),l=Math.sin(r/2),c=Math.sin(n/2);return[a*l*s+i*o*c,a*o*s+i*l*c,i*l*s-a*o*c,i*o*s-a*l*c]}function i(){var t=this.comp.renderedFrame-this.offsetTime,r=this.keyframes[0].t-this.offsetTime,n=this.keyframes[this.keyframes.length-1].t-this.offsetTime;if(!(t===this._caching.lastFrame||this._caching.lastFrame!==e&&(this._caching.lastFrame>=n&&t>=n||this._caching.lastFrame<r&&t<r))){this._caching.lastFrame>=t&&(this._caching._lastKeyframeIndex=-1,this._caching.lastIndex=0);var i=this.interpolateValue(t,this._caching);this.pv=i}return this._caching.lastFrame=t,this.pv}function o(e){var r;if("unidimensional"===this.propType)r=e*this.mult,t(this.v-r)>1e-5&&(this.v=r,this._mdf=!0);else for(var n=0,i=this.v.length;n<i;)r=e[n]*this.mult,t(this.v[n]-r)>1e-5&&(this.v[n]=r,this._mdf=!0),n+=1}function s(){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{var e;this.lock=!0,this._mdf=this._isFirstFrame;var t=this.effectsSequence.length,r=this.kf?this.pv:this.data.k;for(e=0;e<t;e+=1)r=this.effectsSequence[e](r);this.setVValue(r),this._isFirstFrame=!1,this.lock=!1,this.frameId=this.elem.globalData.frameId}}function a(e){this.effectsSequence.push(e),this.container.addDynamicProperty(this)}function l(e,t,r,n){this.propType="unidimensional",this.mult=r||1,this.data=t,this.v=r?t.k*r:t.k,this.pv=t.k,this._mdf=!1,this.elem=e,this.container=n,this.comp=e.comp,this.k=!1,this.kf=!1,this.vel=0,this.effectsSequence=[],this._isFirstFrame=!0,this.getValue=s,this.setVValue=o,this.addEffect=a}function c(e,t,r,n){var i;this.propType="multidimensional",this.mult=r||1,this.data=t,this._mdf=!1,this.elem=e,this.container=n,this.comp=e.comp,this.k=!1,this.kf=!1,this.frameId=-1;var l=t.k.length;for(this.v=createTypedArray("float32",l),this.pv=createTypedArray("float32",l),this.vel=createTypedArray("float32",l),i=0;i<l;i+=1)this.v[i]=t.k[i]*this.mult,this.pv[i]=t.k[i];this._isFirstFrame=!0,this.effectsSequence=[],this.getValue=s,this.setVValue=o,this.addEffect=a}function u(t,n,l,c){this.propType="unidimensional",this.keyframes=n.k,this.keyframesMetadata=[],this.offsetTime=t.data.st,this.frameId=-1,this._caching={lastFrame:e,lastIndex:0,value:0,_lastKeyframeIndex:-1},this.k=!0,this.kf=!0,this.data=n,this.mult=l||1,this.elem=t,this.container=c,this.comp=t.comp,this.v=e,this.pv=e,this._isFirstFrame=!0,this.getValue=s,this.setVValue=o,this.interpolateValue=r,this.effectsSequence=[i.bind(this)],this.addEffect=a}function d(t,n,l,c){var u;this.propType="multidimensional";var d,h,p,m,_=n.k.length;for(u=0;u<_-1;u+=1)n.k[u].to&&n.k[u].s&&n.k[u+1]&&n.k[u+1].s&&(d=n.k[u].s,h=n.k[u+1].s,p=n.k[u].to,m=n.k[u].ti,(2===d.length&&(d[0]!==h[0]||d[1]!==h[1])&&bez.pointOnLine2D(d[0],d[1],h[0],h[1],d[0]+p[0],d[1]+p[1])&&bez.pointOnLine2D(d[0],d[1],h[0],h[1],h[0]+m[0],h[1]+m[1])||3===d.length&&(d[0]!==h[0]||d[1]!==h[1]||d[2]!==h[2])&&bez.pointOnLine3D(d[0],d[1],d[2],h[0],h[1],h[2],d[0]+p[0],d[1]+p[1],d[2]+p[2])&&bez.pointOnLine3D(d[0],d[1],d[2],h[0],h[1],h[2],h[0]+m[0],h[1]+m[1],h[2]+m[2]))&&(n.k[u].to=null,n.k[u].ti=null),d[0]===h[0]&&d[1]===h[1]&&0===p[0]&&0===p[1]&&0===m[0]&&0===m[1]&&(2===d.length||d[2]===h[2]&&0===p[2]&&0===m[2])&&(n.k[u].to=null,n.k[u].ti=null));this.effectsSequence=[i.bind(this)],this.data=n,this.keyframes=n.k,this.keyframesMetadata=[],this.offsetTime=t.data.st,this.k=!0,this.kf=!0,this._isFirstFrame=!0,this.mult=l||1,this.elem=t,this.container=c,this.comp=t.comp,this.getValue=s,this.setVValue=o,this.interpolateValue=r,this.frameId=-1;var g=n.k[0].s.length;for(this.v=createTypedArray("float32",g),this.pv=createTypedArray("float32",g),u=0;u<g;u+=1)this.v[u]=e,this.pv[u]=e;this._caching={lastFrame:e,lastIndex:0,value:createTypedArray("float32",g)},this.addEffect=a}return{getProp:function(e,t,r,n,i){var o;if(t.k.length)if("number"==typeof t.k[0])o=new c(e,t,n,i);else switch(r){case 0:o=new u(e,t,n,i);break;case 1:o=new d(e,t,n,i)}else o=new l(e,t,n,i);return o.effectsSequence.length&&i.addDynamicProperty(o),o}}}();function DynamicPropertyContainer(){}DynamicPropertyContainer.prototype={addDynamicProperty:function(e){-1===this.dynamicProperties.indexOf(e)&&(this.dynamicProperties.push(e),this.container.addDynamicProperty(this),this._isAnimated=!0)},iterateDynamicProperties:function(){var e;this._mdf=!1;var t=this.dynamicProperties.length;for(e=0;e<t;e+=1)this.dynamicProperties[e].getValue(),this.dynamicProperties[e]._mdf&&(this._mdf=!0)},initDynamicPropertyContainer:function(e){this.container=e,this.dynamicProperties=[],this._mdf=!1,this._isAnimated=!1}};const pointPool=poolFactory(8,function(){return createTypedArray("float32",2)});function ShapePath(){this.c=!1,this._length=0,this._maxLength=8,this.v=createSizedArray(this._maxLength),this.o=createSizedArray(this._maxLength),this.i=createSizedArray(this._maxLength)}ShapePath.prototype.setPathData=function(e,t){this.c=e,this.setLength(t);for(var r=0;r<t;)this.v[r]=pointPool.newElement(),this.o[r]=pointPool.newElement(),this.i[r]=pointPool.newElement(),r+=1},ShapePath.prototype.setLength=function(e){for(;this._maxLength<e;)this.doubleArrayLength();this._length=e},ShapePath.prototype.doubleArrayLength=function(){this.v=this.v.concat(createSizedArray(this._maxLength)),this.i=this.i.concat(createSizedArray(this._maxLength)),this.o=this.o.concat(createSizedArray(this._maxLength)),this._maxLength*=2},ShapePath.prototype.setXYAt=function(e,t,r,n,i){var o;switch(this._length=Math.max(this._length,n+1),this._length>=this._maxLength&&this.doubleArrayLength(),r){case"v":o=this.v;break;case"i":o=this.i;break;case"o":o=this.o;break;default:o=[]}(!o[n]||o[n]&&!i)&&(o[n]=pointPool.newElement()),o[n][0]=e,o[n][1]=t},ShapePath.prototype.setTripleAt=function(e,t,r,n,i,o,s,a){this.setXYAt(e,t,"v",s,a),this.setXYAt(r,n,"o",s,a),this.setXYAt(i,o,"i",s,a)},ShapePath.prototype.reverse=function(){var e=new ShapePath;e.setPathData(this.c,this._length);var t=this.v,r=this.o,n=this.i,i=0;this.c&&(e.setTripleAt(t[0][0],t[0][1],n[0][0],n[0][1],r[0][0],r[0][1],0,!1),i=1);var o,s=this._length-1,a=this._length;for(o=i;o<a;o+=1)e.setTripleAt(t[s][0],t[s][1],n[s][0],n[s][1],r[s][0],r[s][1],o,!1),s-=1;return e};const shapePool=(factory=poolFactory(4,function(){return new ShapePath},function(e){var t,r=e._length;for(t=0;t<r;t+=1)pointPool.release(e.v[t]),pointPool.release(e.i[t]),pointPool.release(e.o[t]),e.v[t]=null,e.i[t]=null,e.o[t]=null;e._length=0,e.c=!1}),factory.clone=function(e){var t,r=factory.newElement(),n=void 0===e._length?e.v.length:e._length;for(r.setLength(n),r.c=e.c,t=0;t<n;t+=1)r.setTripleAt(e.v[t][0],e.v[t][1],e.o[t][0],e.o[t][1],e.i[t][0],e.i[t][1],t);return r},factory);function ShapeCollection(){this._length=0,this._maxLength=4,this.shapes=createSizedArray(this._maxLength)}ShapeCollection.prototype.addShape=function(e){this._length===this._maxLength&&(this.shapes=this.shapes.concat(createSizedArray(this._maxLength)),this._maxLength*=2),this.shapes[this._length]=e,this._length+=1},ShapeCollection.prototype.releaseShapes=function(){var e;for(e=0;e<this._length;e+=1)shapePool.release(this.shapes[e]);this._length=0};const shapeCollectionPool=(ob={newShapeCollection:function(){return _length?pool[_length-=1]:new ShapeCollection},release:function(e){var t,r=e._length;for(t=0;t<r;t+=1)shapePool.release(e.shapes[t]);e._length=0,_length===_maxLength&&(pool=pooling.double(pool),_maxLength*=2),pool[_length]=e,_length+=1}},_length=0,_maxLength=4,pool=createSizedArray(_maxLength),ob),ShapePropertyFactory=function(){var e=-999999;function t(e,t,r){var n,i,o,s,a,l,c,u,d,h=r.lastIndex,p=this.keyframes;if(e<p[0].t-this.offsetTime)n=p[0].s[0],o=!0,h=0;else if(e>=p[p.length-1].t-this.offsetTime)n=p[p.length-1].s?p[p.length-1].s[0]:p[p.length-2].e[0],o=!0;else{for(var m,_,g,f=h,v=p.length-1,b=!0;b&&(m=p[f],!((_=p[f+1]).t-this.offsetTime>e));)f<v-1?f+=1:b=!1;if(g=this.keyframesMetadata[f]||{},h=f,!(o=1===m.h)){if(e>=_.t-this.offsetTime)u=1;else if(e<m.t-this.offsetTime)u=0;else{var y;g.__fnct?y=g.__fnct:(y=BezierFactory.getBezierEasing(m.o.x,m.o.y,m.i.x,m.i.y).get,g.__fnct=y),u=y((e-(m.t-this.offsetTime))/(_.t-this.offsetTime-(m.t-this.offsetTime)))}i=_.s?_.s[0]:m.e[0]}n=m.s[0]}for(l=t._length,c=n.i[0].length,r.lastIndex=h,s=0;s<l;s+=1)for(a=0;a<c;a+=1)d=o?n.i[s][a]:n.i[s][a]+(i.i[s][a]-n.i[s][a])*u,t.i[s][a]=d,d=o?n.o[s][a]:n.o[s][a]+(i.o[s][a]-n.o[s][a])*u,t.o[s][a]=d,d=o?n.v[s][a]:n.v[s][a]+(i.v[s][a]-n.v[s][a])*u,t.v[s][a]=d}function r(){var t=this.comp.renderedFrame-this.offsetTime,r=this.keyframes[0].t-this.offsetTime,n=this.keyframes[this.keyframes.length-1].t-this.offsetTime,i=this._caching.lastFrame;return i!==e&&(i<r&&t<r||i>n&&t>n)||(this._caching.lastIndex=i<t?this._caching.lastIndex:0,this.interpolateShape(t,this.pv,this._caching)),this._caching.lastFrame=t,this.pv}function n(){this.paths=this.localShapeCollection}function i(e){(function(e,t){if(e._length!==t._length||e.c!==t.c)return!1;var r,n=e._length;for(r=0;r<n;r+=1)if(e.v[r][0]!==t.v[r][0]||e.v[r][1]!==t.v[r][1]||e.o[r][0]!==t.o[r][0]||e.o[r][1]!==t.o[r][1]||e.i[r][0]!==t.i[r][0]||e.i[r][1]!==t.i[r][1])return!1;return!0})(this.v,e)||(this.v=shapePool.clone(e),this.localShapeCollection.releaseShapes(),this.localShapeCollection.addShape(this.v),this._mdf=!0,this.paths=this.localShapeCollection)}function o(){if(this.elem.globalData.frameId!==this.frameId)if(this.effectsSequence.length)if(this.lock)this.setVValue(this.pv);else{var e,t;this.lock=!0,this._mdf=!1,e=this.kf?this.pv:this.data.ks?this.data.ks.k:this.data.pt.k;var r=this.effectsSequence.length;for(t=0;t<r;t+=1)e=this.effectsSequence[t](e);this.setVValue(e),this.lock=!1,this.frameId=this.elem.globalData.frameId}else this._mdf=!1}function s(e,t,r){this.propType="shape",this.comp=e.comp,this.container=e,this.elem=e,this.data=t,this.k=!1,this.kf=!1,this._mdf=!1;var i=3===r?t.pt.k:t.ks.k;this.v=shapePool.clone(i),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.reset=n,this.effectsSequence=[]}function a(e){this.effectsSequence.push(e),this.container.addDynamicProperty(this)}function l(t,i,o){this.propType="shape",this.comp=t.comp,this.elem=t,this.container=t,this.offsetTime=t.data.st,this.keyframes=3===o?i.pt.k:i.ks.k,this.keyframesMetadata=[],this.k=!0,this.kf=!0;var s=this.keyframes[0].s[0].i.length;this.v=shapePool.newElement(),this.v.setPathData(this.keyframes[0].s[0].c,s),this.pv=shapePool.clone(this.v),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.paths.addShape(this.v),this.lastFrame=e,this.reset=n,this._caching={lastFrame:e,lastIndex:0},this.effectsSequence=[r.bind(this)]}s.prototype.interpolateShape=t,s.prototype.getValue=o,s.prototype.setVValue=i,s.prototype.addEffect=a,l.prototype.getValue=o,l.prototype.interpolateShape=t,l.prototype.setVValue=i,l.prototype.addEffect=a;var c=function(){var e=roundCorner;function t(e,t){this.v=shapePool.newElement(),this.v.setPathData(!0,4),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.paths=this.localShapeCollection,this.localShapeCollection.addShape(this.v),this.d=t.d,this.elem=e,this.comp=e.comp,this.frameId=-1,this.initDynamicPropertyContainer(e),this.p=PropertyFactory.getProp(e,t.p,1,0,this),this.s=PropertyFactory.getProp(e,t.s,1,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertEllToPath())}return t.prototype={reset:n,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertEllToPath())},convertEllToPath:function(){var t=this.p.v[0],r=this.p.v[1],n=this.s.v[0]/2,i=this.s.v[1]/2,o=3!==this.d,s=this.v;s.v[0][0]=t,s.v[0][1]=r-i,s.v[1][0]=o?t+n:t-n,s.v[1][1]=r,s.v[2][0]=t,s.v[2][1]=r+i,s.v[3][0]=o?t-n:t+n,s.v[3][1]=r,s.i[0][0]=o?t-n*e:t+n*e,s.i[0][1]=r-i,s.i[1][0]=o?t+n:t-n,s.i[1][1]=r-i*e,s.i[2][0]=o?t+n*e:t-n*e,s.i[2][1]=r+i,s.i[3][0]=o?t-n:t+n,s.i[3][1]=r+i*e,s.o[0][0]=o?t+n*e:t-n*e,s.o[0][1]=r-i,s.o[1][0]=o?t+n:t-n,s.o[1][1]=r+i*e,s.o[2][0]=o?t-n*e:t+n*e,s.o[2][1]=r+i,s.o[3][0]=o?t-n:t+n,s.o[3][1]=r-i*e}},extendPrototype([DynamicPropertyContainer],t),t}(),u=function(){function e(e,t){this.v=shapePool.newElement(),this.v.setPathData(!0,0),this.elem=e,this.comp=e.comp,this.data=t,this.frameId=-1,this.d=t.d,this.initDynamicPropertyContainer(e),1===t.sy?(this.ir=PropertyFactory.getProp(e,t.ir,0,0,this),this.is=PropertyFactory.getProp(e,t.is,0,.01,this),this.convertToPath=this.convertStarToPath):this.convertToPath=this.convertPolygonToPath,this.pt=PropertyFactory.getProp(e,t.pt,0,0,this),this.p=PropertyFactory.getProp(e,t.p,1,0,this),this.r=PropertyFactory.getProp(e,t.r,0,degToRads,this),this.or=PropertyFactory.getProp(e,t.or,0,0,this),this.os=PropertyFactory.getProp(e,t.os,0,.01,this),this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertToPath())}return e.prototype={reset:n,getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertToPath())},convertStarToPath:function(){var e,t,r,n,i=2*Math.floor(this.pt.v),o=2*Math.PI/i,s=!0,a=this.or.v,l=this.ir.v,c=this.os.v,u=this.is.v,d=2*Math.PI*a/(2*i),h=2*Math.PI*l/(2*i),p=-Math.PI/2;p+=this.r.v;var m=3===this.data.d?-1:1;for(this.v._length=0,e=0;e<i;e+=1){r=s?c:u,n=s?d:h;var _=(t=s?a:l)*Math.cos(p),g=t*Math.sin(p),f=0===_&&0===g?0:g/Math.sqrt(_*_+g*g),v=0===_&&0===g?0:-_/Math.sqrt(_*_+g*g);_+=+this.p.v[0],g+=+this.p.v[1],this.v.setTripleAt(_,g,_-f*n*r*m,g-v*n*r*m,_+f*n*r*m,g+v*n*r*m,e,!0),s=!s,p+=o*m}},convertPolygonToPath:function(){var e,t=Math.floor(this.pt.v),r=2*Math.PI/t,n=this.or.v,i=this.os.v,o=2*Math.PI*n/(4*t),s=.5*-Math.PI,a=3===this.data.d?-1:1;for(s+=this.r.v,this.v._length=0,e=0;e<t;e+=1){var l=n*Math.cos(s),c=n*Math.sin(s),u=0===l&&0===c?0:c/Math.sqrt(l*l+c*c),d=0===l&&0===c?0:-l/Math.sqrt(l*l+c*c);l+=+this.p.v[0],c+=+this.p.v[1],this.v.setTripleAt(l,c,l-u*o*i*a,c-d*o*i*a,l+u*o*i*a,c+d*o*i*a,e,!0),s+=r*a}this.paths.length=0,this.paths[0]=this.v}},extendPrototype([DynamicPropertyContainer],e),e}(),d=function(){function e(e,t){this.v=shapePool.newElement(),this.v.c=!0,this.localShapeCollection=shapeCollectionPool.newShapeCollection(),this.localShapeCollection.addShape(this.v),this.paths=this.localShapeCollection,this.elem=e,this.comp=e.comp,this.frameId=-1,this.d=t.d,this.initDynamicPropertyContainer(e),this.p=PropertyFactory.getProp(e,t.p,1,0,this),this.s=PropertyFactory.getProp(e,t.s,1,0,this),this.r=PropertyFactory.getProp(e,t.r,0,0,this),this.dynamicProperties.length?this.k=!0:(this.k=!1,this.convertRectToPath())}return e.prototype={convertRectToPath:function(){var e=this.p.v[0],t=this.p.v[1],r=this.s.v[0]/2,n=this.s.v[1]/2,i=bmMin(r,n,this.r.v),o=i*(1-roundCorner);this.v._length=0,2===this.d||1===this.d?(this.v.setTripleAt(e+r,t-n+i,e+r,t-n+i,e+r,t-n+o,0,!0),this.v.setTripleAt(e+r,t+n-i,e+r,t+n-o,e+r,t+n-i,1,!0),0!==i?(this.v.setTripleAt(e+r-i,t+n,e+r-i,t+n,e+r-o,t+n,2,!0),this.v.setTripleAt(e-r+i,t+n,e-r+o,t+n,e-r+i,t+n,3,!0),this.v.setTripleAt(e-r,t+n-i,e-r,t+n-i,e-r,t+n-o,4,!0),this.v.setTripleAt(e-r,t-n+i,e-r,t-n+o,e-r,t-n+i,5,!0),this.v.setTripleAt(e-r+i,t-n,e-r+i,t-n,e-r+o,t-n,6,!0),this.v.setTripleAt(e+r-i,t-n,e+r-o,t-n,e+r-i,t-n,7,!0)):(this.v.setTripleAt(e-r,t+n,e-r+o,t+n,e-r,t+n,2),this.v.setTripleAt(e-r,t-n,e-r,t-n+o,e-r,t-n,3))):(this.v.setTripleAt(e+r,t-n+i,e+r,t-n+o,e+r,t-n+i,0,!0),0!==i?(this.v.setTripleAt(e+r-i,t-n,e+r-i,t-n,e+r-o,t-n,1,!0),this.v.setTripleAt(e-r+i,t-n,e-r+o,t-n,e-r+i,t-n,2,!0),this.v.setTripleAt(e-r,t-n+i,e-r,t-n+i,e-r,t-n+o,3,!0),this.v.setTripleAt(e-r,t+n-i,e-r,t+n-o,e-r,t+n-i,4,!0),this.v.setTripleAt(e-r+i,t+n,e-r+i,t+n,e-r+o,t+n,5,!0),this.v.setTripleAt(e+r-i,t+n,e+r-o,t+n,e+r-i,t+n,6,!0),this.v.setTripleAt(e+r,t+n-i,e+r,t+n-i,e+r,t+n-o,7,!0)):(this.v.setTripleAt(e-r,t-n,e-r+o,t-n,e-r,t-n,1,!0),this.v.setTripleAt(e-r,t+n,e-r,t+n-o,e-r,t+n,2,!0),this.v.setTripleAt(e+r,t+n,e+r-o,t+n,e+r,t+n,3,!0)))},getValue:function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf&&this.convertRectToPath())},reset:n},extendPrototype([DynamicPropertyContainer],e),e}();var h={getShapeProp:function(e,t,r){var n;return 3===r||4===r?n=(3===r?t.pt:t.ks).k.length?new l(e,t,r):new s(e,t,r):5===r?n=new d(e,t):6===r?n=new c(e,t):7===r&&(n=new u(e,t)),n.k&&e.addDynamicProperty(n),n},getConstructorFunction:function(){return s},getKeyframedConstructorFunction:function(){return l}};return h}(),Matrix=function(){var e=Math.cos,t=Math.sin,r=Math.tan,n=Math.round;function i(){return this.props[0]=1,this.props[1]=0,this.props[2]=0,this.props[3]=0,this.props[4]=0,this.props[5]=1,this.props[6]=0,this.props[7]=0,this.props[8]=0,this.props[9]=0,this.props[10]=1,this.props[11]=0,this.props[12]=0,this.props[13]=0,this.props[14]=0,this.props[15]=1,this}function o(r){if(0===r)return this;var n=e(r),i=t(r);return this._t(n,-i,0,0,i,n,0,0,0,0,1,0,0,0,0,1)}function s(r){if(0===r)return this;var n=e(r),i=t(r);return this._t(1,0,0,0,0,n,-i,0,0,i,n,0,0,0,0,1)}function a(r){if(0===r)return this;var n=e(r),i=t(r);return this._t(n,0,i,0,0,1,0,0,-i,0,n,0,0,0,0,1)}function l(r){if(0===r)return this;var n=e(r),i=t(r);return this._t(n,-i,0,0,i,n,0,0,0,0,1,0,0,0,0,1)}function c(e,t){return this._t(1,t,e,1,0,0)}function u(e,t){return this.shear(r(e),r(t))}function d(n,i){var o=e(i),s=t(i);return this._t(o,s,0,0,-s,o,0,0,0,0,1,0,0,0,0,1)._t(1,0,0,0,r(n),1,0,0,0,0,1,0,0,0,0,1)._t(o,-s,0,0,s,o,0,0,0,0,1,0,0,0,0,1)}function h(e,t,r){return r||0===r||(r=1),1===e&&1===t&&1===r?this:this._t(e,0,0,0,0,t,0,0,0,0,r,0,0,0,0,1)}function p(e,t,r,n,i,o,s,a,l,c,u,d,h,p,m,_){return this.props[0]=e,this.props[1]=t,this.props[2]=r,this.props[3]=n,this.props[4]=i,this.props[5]=o,this.props[6]=s,this.props[7]=a,this.props[8]=l,this.props[9]=c,this.props[10]=u,this.props[11]=d,this.props[12]=h,this.props[13]=p,this.props[14]=m,this.props[15]=_,this}function m(e,t,r){return r=r||0,0!==e||0!==t||0!==r?this._t(1,0,0,0,0,1,0,0,0,0,1,0,e,t,r,1):this}function _(e,t,r,n,i,o,s,a,l,c,u,d,h,p,m,_){var g=this.props;if(1===e&&0===t&&0===r&&0===n&&0===i&&1===o&&0===s&&0===a&&0===l&&0===c&&1===u&&0===d)return g[12]=g[12]*e+g[15]*h,g[13]=g[13]*o+g[15]*p,g[14]=g[14]*u+g[15]*m,g[15]*=_,this._identityCalculated=!1,this;var f=g[0],v=g[1],b=g[2],y=g[3],$=g[4],x=g[5],S=g[6],w=g[7],A=g[8],C=g[9],E=g[10],I=g[11],M=g[12],k=g[13],T=g[14],R=g[15];return g[0]=f*e+v*i+b*l+y*h,g[1]=f*t+v*o+b*c+y*p,g[2]=f*r+v*s+b*u+y*m,g[3]=f*n+v*a+b*d+y*_,g[4]=$*e+x*i+S*l+w*h,g[5]=$*t+x*o+S*c+w*p,g[6]=$*r+x*s+S*u+w*m,g[7]=$*n+x*a+S*d+w*_,g[8]=A*e+C*i+E*l+I*h,g[9]=A*t+C*o+E*c+I*p,g[10]=A*r+C*s+E*u+I*m,g[11]=A*n+C*a+E*d+I*_,g[12]=M*e+k*i+T*l+R*h,g[13]=M*t+k*o+T*c+R*p,g[14]=M*r+k*s+T*u+R*m,g[15]=M*n+k*a+T*d+R*_,this._identityCalculated=!1,this}function g(){return this._identityCalculated||(this._identity=!(1!==this.props[0]||0!==this.props[1]||0!==this.props[2]||0!==this.props[3]||0!==this.props[4]||1!==this.props[5]||0!==this.props[6]||0!==this.props[7]||0!==this.props[8]||0!==this.props[9]||1!==this.props[10]||0!==this.props[11]||0!==this.props[12]||0!==this.props[13]||0!==this.props[14]||1!==this.props[15]),this._identityCalculated=!0),this._identity}function f(e){for(var t=0;t<16;){if(e.props[t]!==this.props[t])return!1;t+=1}return!0}function v(e){var t;for(t=0;t<16;t+=1)e.props[t]=this.props[t];return e}function b(e){var t;for(t=0;t<16;t+=1)this.props[t]=e[t]}function y(e,t,r){return{x:e*this.props[0]+t*this.props[4]+r*this.props[8]+this.props[12],y:e*this.props[1]+t*this.props[5]+r*this.props[9]+this.props[13],z:e*this.props[2]+t*this.props[6]+r*this.props[10]+this.props[14]}}function $(e,t,r){return e*this.props[0]+t*this.props[4]+r*this.props[8]+this.props[12]}function x(e,t,r){return e*this.props[1]+t*this.props[5]+r*this.props[9]+this.props[13]}function S(e,t,r){return e*this.props[2]+t*this.props[6]+r*this.props[10]+this.props[14]}function w(){var e=this.props[0]*this.props[5]-this.props[1]*this.props[4],t=this.props[5]/e,r=-this.props[1]/e,n=-this.props[4]/e,i=this.props[0]/e,o=(this.props[4]*this.props[13]-this.props[5]*this.props[12])/e,s=-(this.props[0]*this.props[13]-this.props[1]*this.props[12])/e,a=new Matrix;return a.props[0]=t,a.props[1]=r,a.props[4]=n,a.props[5]=i,a.props[12]=o,a.props[13]=s,a}function A(e){return this.getInverseMatrix().applyToPointArray(e[0],e[1],e[2]||0)}function C(e){var t,r=e.length,n=[];for(t=0;t<r;t+=1)n[t]=A(e[t]);return n}function E(e,t,r){var n=createTypedArray("float32",6);if(this.isIdentity())n[0]=e[0],n[1]=e[1],n[2]=t[0],n[3]=t[1],n[4]=r[0],n[5]=r[1];else{var i=this.props[0],o=this.props[1],s=this.props[4],a=this.props[5],l=this.props[12],c=this.props[13];n[0]=e[0]*i+e[1]*s+l,n[1]=e[0]*o+e[1]*a+c,n[2]=t[0]*i+t[1]*s+l,n[3]=t[0]*o+t[1]*a+c,n[4]=r[0]*i+r[1]*s+l,n[5]=r[0]*o+r[1]*a+c}return n}function I(e,t,r){return this.isIdentity()?[e,t,r]:[e*this.props[0]+t*this.props[4]+r*this.props[8]+this.props[12],e*this.props[1]+t*this.props[5]+r*this.props[9]+this.props[13],e*this.props[2]+t*this.props[6]+r*this.props[10]+this.props[14]]}function M(e,t){if(this.isIdentity())return e+","+t;var r=this.props;return Math.round(100*(e*r[0]+t*r[4]+r[12]))/100+","+Math.round(100*(e*r[1]+t*r[5]+r[13]))/100}function k(){for(var e=0,t=this.props,r="matrix3d(";e<16;)r+=n(1e4*t[e])/1e4,r+=15===e?")":",",e+=1;return r}function T(e){return e<1e-6&&e>0||e>-1e-6&&e<0?n(1e4*e)/1e4:e}function R(){var e=this.props;return"matrix("+T(e[0])+","+T(e[1])+","+T(e[4])+","+T(e[5])+","+T(e[12])+","+T(e[13])+")"}return function(){this.reset=i,this.rotate=o,this.rotateX=s,this.rotateY=a,this.rotateZ=l,this.skew=u,this.skewFromAxis=d,this.shear=c,this.scale=h,this.setTransform=p,this.translate=m,this.transform=_,this.applyToPoint=y,this.applyToX=$,this.applyToY=x,this.applyToZ=S,this.applyToPointArray=I,this.applyToTriplePoints=E,this.applyToPointStringified=M,this.toCSS=k,this.to2dCSS=R,this.clone=v,this.cloneFromProps=b,this.equals=f,this.inversePoints=C,this.inversePoint=A,this.getInverseMatrix=w,this._t=this.transform,this.isIdentity=g,this._identity=!0,this._identityCalculated=!1,this.props=createTypedArray("float32",16),this.reset()}}();var standalone="__[STANDALONE]__",animationData="__[ANIMATIONDATA]__",renderer="";function setLocation(e){setLocationHref(e)}function searchAnimations(){!0===standalone?animationManager.searchAnimations(animationData,standalone,renderer):animationManager.searchAnimations()}function setSubframeRendering(e){setSubframeEnabled(e)}function setPrefix(e){setIdPrefix(e)}function loadAnimation(e){return!0===standalone&&(e.animationData=JSON.parse(animationData)),animationManager.loadAnimation(e)}function setQuality(e){if("string"==typeof e)switch(e){case"high":setDefaultCurveSegments(200);break;default:case"medium":setDefaultCurveSegments(50);break;case"low":setDefaultCurveSegments(10)}else!isNaN(e)&&e>1&&setDefaultCurveSegments(e);getDefaultCurveSegments()>=50?roundValues(!1):roundValues(!0)}function inBrowser(){return"undefined"!=typeof navigator}function installPlugin(e,t){"expressions"===e&&setExpressionsPlugin(t)}function getFactory(e){switch(e){case"propertyFactory":return PropertyFactory;case"shapePropertyFactory":return ShapePropertyFactory;case"matrix":return Matrix;default:return null}}function checkReady(){"complete"===document.readyState&&(clearInterval(readyStateCheckInterval),searchAnimations())}function getQueryVariable(e){for(var t=queryString.split("&"),r=0;r<t.length;r+=1){var n=t[r].split("=");if(decodeURIComponent(n[0])==e)return decodeURIComponent(n[1])}return null}lottie.play=animationManager.play,lottie.pause=animationManager.pause,lottie.setLocationHref=setLocation,lottie.togglePause=animationManager.togglePause,lottie.setSpeed=animationManager.setSpeed,lottie.setDirection=animationManager.setDirection,lottie.stop=animationManager.stop,lottie.searchAnimations=searchAnimations,lottie.registerAnimation=animationManager.registerAnimation,lottie.loadAnimation=loadAnimation,lottie.setSubframeRendering=setSubframeRendering,lottie.resize=animationManager.resize,lottie.goToAndStop=animationManager.goToAndStop,lottie.destroy=animationManager.destroy,lottie.setQuality=setQuality,lottie.inBrowser=inBrowser,lottie.installPlugin=installPlugin,lottie.freeze=animationManager.freeze,lottie.unfreeze=animationManager.unfreeze,lottie.setVolume=animationManager.setVolume,lottie.mute=animationManager.mute,lottie.unmute=animationManager.unmute,lottie.getRegisteredAnimations=animationManager.getRegisteredAnimations,lottie.useWebWorker=setWebWorker,lottie.setIDPrefix=setPrefix,lottie.__getFactory=getFactory,lottie.version="[[BM_VERSION]]";var queryString="";if(standalone){var scripts=document.getElementsByTagName("script"),index=scripts.length-1,myScript=scripts[index]||{src:""};queryString=myScript.src?myScript.src.replace(/^[^\?]+\??/,""):"",renderer=getQueryVariable("renderer")}var readyStateCheckInterval=setInterval(checkReady,100);try{"object"==typeof exports&&"undefined"!=typeof module||"function"==typeof define&&define.amd||(window.bodymovin=lottie)}catch(e){}const ShapeModifiers=function(){var e={},t={};return e.registerModifier=function(e,r){t[e]||(t[e]=r)},e.getModifier=function(e,r,n){return new t[e](r,n)},e}();function ShapeModifier(){}function TrimModifier(){}function PuckerAndBloatModifier(){}ShapeModifier.prototype.initModifierProperties=function(){},ShapeModifier.prototype.addShapeToModifier=function(){},ShapeModifier.prototype.addShape=function(e){if(!this.closed){e.sh.container.addDynamicProperty(e.sh);var t={shape:e.sh,data:e,localShapeCollection:shapeCollectionPool.newShapeCollection()};this.shapes.push(t),this.addShapeToModifier(t),this._isAnimated&&e.setAsAnimated()}},ShapeModifier.prototype.init=function(e,t){this.shapes=[],this.elem=e,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,t),this.frameId=initialDefaultFrame,this.closed=!1,this.k=!1,this.dynamicProperties.length?this.k=!0:this.getValue(!0)},ShapeModifier.prototype.processKeys=function(){this.elem.globalData.frameId!==this.frameId&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties())},extendPrototype([DynamicPropertyContainer],ShapeModifier),extendPrototype([ShapeModifier],TrimModifier),TrimModifier.prototype.initModifierProperties=function(e,t){this.s=PropertyFactory.getProp(e,t.s,0,.01,this),this.e=PropertyFactory.getProp(e,t.e,0,.01,this),this.o=PropertyFactory.getProp(e,t.o,0,0,this),this.sValue=0,this.eValue=0,this.getValue=this.processKeys,this.m=t.m,this._isAnimated=!!this.s.effectsSequence.length||!!this.e.effectsSequence.length||!!this.o.effectsSequence.length},TrimModifier.prototype.addShapeToModifier=function(e){e.pathsData=[]},TrimModifier.prototype.calculateShapeEdges=function(e,t,r,n,i){var o=[];t<=1?o.push({s:e,e:t}):e>=1?o.push({s:e-1,e:t-1}):(o.push({s:e,e:1}),o.push({s:0,e:t-1}));var s,a,l=[],c=o.length;for(s=0;s<c;s+=1){var u,d;if(!((a=o[s]).e*i<n||a.s*i>n+r))u=a.s*i<=n?0:(a.s*i-n)/r,d=a.e*i>=n+r?1:(a.e*i-n)/r,l.push([u,d])}return l.length||l.push([0,0]),l},TrimModifier.prototype.releasePathsData=function(e){var t,r=e.length;for(t=0;t<r;t+=1)segmentsLengthPool.release(e[t]);return e.length=0,e},TrimModifier.prototype.processShapes=function(e){var t,r,n,i;if(this._mdf||e){var o=this.o.v%360/360;if(o<0&&(o+=1),(t=this.s.v>1?1+o:this.s.v<0?0+o:this.s.v+o)>(r=this.e.v>1?1+o:this.e.v<0?0+o:this.e.v+o)){var s=t;t=r,r=s}t=1e-4*Math.round(1e4*t),r=1e-4*Math.round(1e4*r),this.sValue=t,this.eValue=r}else t=this.sValue,r=this.eValue;var a,l,c,u,d,h=this.shapes.length,p=0;if(r===t)for(i=0;i<h;i+=1)this.shapes[i].localShapeCollection.releaseShapes(),this.shapes[i].shape._mdf=!0,this.shapes[i].shape.paths=this.shapes[i].localShapeCollection,this._mdf&&(this.shapes[i].pathsData.length=0);else if(1===r&&0===t||0===r&&1===t){if(this._mdf)for(i=0;i<h;i+=1)this.shapes[i].pathsData.length=0,this.shapes[i].shape._mdf=!0}else{var m,_,g=[];for(i=0;i<h;i+=1)if((m=this.shapes[i]).shape._mdf||this._mdf||e||2===this.m){if(l=(n=m.shape.paths)._length,d=0,!m.shape._mdf&&m.pathsData.length)d=m.totalShapeLength;else{for(c=this.releasePathsData(m.pathsData),a=0;a<l;a+=1)u=bez.getSegmentsLength(n.shapes[a]),c.push(u),d+=u.totalLength;m.totalShapeLength=d,m.pathsData=c}p+=d,m.shape._mdf=!0}else m.shape.paths=m.localShapeCollection;var f,v=t,b=r,y=0;for(i=h-1;i>=0;i-=1)if((m=this.shapes[i]).shape._mdf){for((_=m.localShapeCollection).releaseShapes(),2===this.m&&h>1?(f=this.calculateShapeEdges(t,r,m.totalShapeLength,y,p),y+=m.totalShapeLength):f=[[v,b]],l=f.length,a=0;a<l;a+=1){v=f[a][0],b=f[a][1],g.length=0,b<=1?g.push({s:m.totalShapeLength*v,e:m.totalShapeLength*b}):v>=1?g.push({s:m.totalShapeLength*(v-1),e:m.totalShapeLength*(b-1)}):(g.push({s:m.totalShapeLength*v,e:m.totalShapeLength}),g.push({s:0,e:m.totalShapeLength*(b-1)}));var $=this.addShapes(m,g[0]);if(g[0].s!==g[0].e){if(g.length>1)if(m.shape.paths.shapes[m.shape.paths._length-1].c){var x=$.pop();this.addPaths($,_),$=this.addShapes(m,g[1],x)}else this.addPaths($,_),$=this.addShapes(m,g[1]);this.addPaths($,_)}}m.shape.paths=_}}},TrimModifier.prototype.addPaths=function(e,t){var r,n=e.length;for(r=0;r<n;r+=1)t.addShape(e[r])},TrimModifier.prototype.addSegment=function(e,t,r,n,i,o,s){i.setXYAt(t[0],t[1],"o",o),i.setXYAt(r[0],r[1],"i",o+1),s&&i.setXYAt(e[0],e[1],"v",o),i.setXYAt(n[0],n[1],"v",o+1)},TrimModifier.prototype.addSegmentFromArray=function(e,t,r,n){t.setXYAt(e[1],e[5],"o",r),t.setXYAt(e[2],e[6],"i",r+1),n&&t.setXYAt(e[0],e[4],"v",r),t.setXYAt(e[3],e[7],"v",r+1)},TrimModifier.prototype.addShapes=function(e,t,r){var n,i,o,s,a,l,c,u,d=e.pathsData,h=e.shape.paths.shapes,p=e.shape.paths._length,m=0,_=[],g=!0;for(r?(a=r._length,u=r._length):(r=shapePool.newElement(),a=0,u=0),_.push(r),n=0;n<p;n+=1){for(l=d[n].lengths,r.c=h[n].c,o=h[n].c?l.length:l.length+1,i=1;i<o;i+=1)if(m+(s=l[i-1]).addedLength<t.s)m+=s.addedLength,r.c=!1;else{if(m>t.e){r.c=!1;break}t.s<=m&&t.e>=m+s.addedLength?(this.addSegment(h[n].v[i-1],h[n].o[i-1],h[n].i[i],h[n].v[i],r,a,g),g=!1):(c=bez.getNewSegment(h[n].v[i-1],h[n].v[i],h[n].o[i-1],h[n].i[i],(t.s-m)/s.addedLength,(t.e-m)/s.addedLength,l[i-1]),this.addSegmentFromArray(c,r,a,g),g=!1,r.c=!1),m+=s.addedLength,a+=1}if(h[n].c&&l.length){if(s=l[i-1],m<=t.e){var f=l[i-1].addedLength;t.s<=m&&t.e>=m+f?(this.addSegment(h[n].v[i-1],h[n].o[i-1],h[n].i[0],h[n].v[0],r,a,g),g=!1):(c=bez.getNewSegment(h[n].v[i-1],h[n].v[0],h[n].o[i-1],h[n].i[0],(t.s-m)/f,(t.e-m)/f,l[i-1]),this.addSegmentFromArray(c,r,a,g),g=!1,r.c=!1)}else r.c=!1;m+=s.addedLength,a+=1}if(r._length&&(r.setXYAt(r.v[u][0],r.v[u][1],"i",u),r.setXYAt(r.v[r._length-1][0],r.v[r._length-1][1],"o",r._length-1)),m>t.e)break;n<p-1&&(r=shapePool.newElement(),g=!0,_.push(r),a=0)}return _},extendPrototype([ShapeModifier],PuckerAndBloatModifier),PuckerAndBloatModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.amount=PropertyFactory.getProp(e,t.a,0,null,this),this._isAnimated=!!this.amount.effectsSequence.length},PuckerAndBloatModifier.prototype.processPath=function(e,t){var r=t/100,n=[0,0],i=e._length,o=0;for(o=0;o<i;o+=1)n[0]+=e.v[o][0],n[1]+=e.v[o][1];n[0]/=i,n[1]/=i;var s,a,l,c,u,d,h=shapePool.newElement();for(h.c=e.c,o=0;o<i;o+=1)s=e.v[o][0]+(n[0]-e.v[o][0])*r,a=e.v[o][1]+(n[1]-e.v[o][1])*r,l=e.o[o][0]+(n[0]-e.o[o][0])*-r,c=e.o[o][1]+(n[1]-e.o[o][1])*-r,u=e.i[o][0]+(n[0]-e.i[o][0])*-r,d=e.i[o][1]+(n[1]-e.i[o][1])*-r,h.setTripleAt(s,a,l,c,u,d,o);return h},PuckerAndBloatModifier.prototype.processShapes=function(e){var t,r,n,i,o,s,a=this.shapes.length,l=this.amount.v;if(0!==l)for(r=0;r<a;r+=1){if(s=(o=this.shapes[r]).localShapeCollection,o.shape._mdf||this._mdf||e)for(s.releaseShapes(),o.shape._mdf=!0,t=o.shape.paths.shapes,i=o.shape.paths._length,n=0;n<i;n+=1)s.addShape(this.processPath(t[n],l));o.shape.paths=o.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};const TransformPropertyFactory=function(){var e=[0,0];function t(e,t,r){if(this.elem=e,this.frameId=-1,this.propType="transform",this.data=t,this.v=new Matrix,this.pre=new Matrix,this.appliedTransformations=0,this.initDynamicPropertyContainer(r||e),t.p&&t.p.s?(this.px=PropertyFactory.getProp(e,t.p.x,0,0,this),this.py=PropertyFactory.getProp(e,t.p.y,0,0,this),t.p.z&&(this.pz=PropertyFactory.getProp(e,t.p.z,0,0,this))):this.p=PropertyFactory.getProp(e,t.p||{k:[0,0,0]},1,0,this),t.rx){if(this.rx=PropertyFactory.getProp(e,t.rx,0,degToRads,this),this.ry=PropertyFactory.getProp(e,t.ry,0,degToRads,this),this.rz=PropertyFactory.getProp(e,t.rz,0,degToRads,this),t.or.k[0].ti){var n,i=t.or.k.length;for(n=0;n<i;n+=1)t.or.k[n].to=null,t.or.k[n].ti=null}this.or=PropertyFactory.getProp(e,t.or,1,degToRads,this),this.or.sh=!0}else this.r=PropertyFactory.getProp(e,t.r||{k:0},0,degToRads,this);t.sk&&(this.sk=PropertyFactory.getProp(e,t.sk,0,degToRads,this),this.sa=PropertyFactory.getProp(e,t.sa,0,degToRads,this)),this.a=PropertyFactory.getProp(e,t.a||{k:[0,0,0]},1,0,this),this.s=PropertyFactory.getProp(e,t.s||{k:[100,100,100]},1,.01,this),t.o?this.o=PropertyFactory.getProp(e,t.o,0,.01,e):this.o={_mdf:!1,v:1},this._isDirty=!0,this.dynamicProperties.length||this.getValue(!0)}return t.prototype={applyToMatrix:function(e){var t=this._mdf;this.iterateDynamicProperties(),this._mdf=this._mdf||t,this.a&&e.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.s&&e.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&e.skewFromAxis(-this.sk.v,this.sa.v),this.r?e.rotate(-this.r.v):e.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.data.p.s?this.data.p.z?e.translate(this.px.v,this.py.v,-this.pz.v):e.translate(this.px.v,this.py.v,0):e.translate(this.p.v[0],this.p.v[1],-this.p.v[2])},getValue:function(t){if(this.elem.globalData.frameId!==this.frameId){if(this._isDirty&&(this.precalculateMatrix(),this._isDirty=!1),this.iterateDynamicProperties(),this._mdf||t){var r;if(this.v.cloneFromProps(this.pre.props),this.appliedTransformations<1&&this.v.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations<2&&this.v.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.sk&&this.appliedTransformations<3&&this.v.skewFromAxis(-this.sk.v,this.sa.v),this.r&&this.appliedTransformations<4?this.v.rotate(-this.r.v):!this.r&&this.appliedTransformations<4&&this.v.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.autoOriented){var n,i;if(r=this.elem.globalData.frameRate,this.p&&this.p.keyframes&&this.p.getValueAtTime)this.p._caching.lastFrame+this.p.offsetTime<=this.p.keyframes[0].t?(n=this.p.getValueAtTime((this.p.keyframes[0].t+.01)/r,0),i=this.p.getValueAtTime(this.p.keyframes[0].t/r,0)):this.p._caching.lastFrame+this.p.offsetTime>=this.p.keyframes[this.p.keyframes.length-1].t?(n=this.p.getValueAtTime(this.p.keyframes[this.p.keyframes.length-1].t/r,0),i=this.p.getValueAtTime((this.p.keyframes[this.p.keyframes.length-1].t-.05)/r,0)):(n=this.p.pv,i=this.p.getValueAtTime((this.p._caching.lastFrame+this.p.offsetTime-.01)/r,this.p.offsetTime));else if(this.px&&this.px.keyframes&&this.py.keyframes&&this.px.getValueAtTime&&this.py.getValueAtTime){n=[],i=[];var o=this.px,s=this.py;o._caching.lastFrame+o.offsetTime<=o.keyframes[0].t?(n[0]=o.getValueAtTime((o.keyframes[0].t+.01)/r,0),n[1]=s.getValueAtTime((s.keyframes[0].t+.01)/r,0),i[0]=o.getValueAtTime(o.keyframes[0].t/r,0),i[1]=s.getValueAtTime(s.keyframes[0].t/r,0)):o._caching.lastFrame+o.offsetTime>=o.keyframes[o.keyframes.length-1].t?(n[0]=o.getValueAtTime(o.keyframes[o.keyframes.length-1].t/r,0),n[1]=s.getValueAtTime(s.keyframes[s.keyframes.length-1].t/r,0),i[0]=o.getValueAtTime((o.keyframes[o.keyframes.length-1].t-.01)/r,0),i[1]=s.getValueAtTime((s.keyframes[s.keyframes.length-1].t-.01)/r,0)):(n=[o.pv,s.pv],i[0]=o.getValueAtTime((o._caching.lastFrame+o.offsetTime-.01)/r,o.offsetTime),i[1]=s.getValueAtTime((s._caching.lastFrame+s.offsetTime-.01)/r,s.offsetTime))}else n=i=e;this.v.rotate(-Math.atan2(n[1]-i[1],n[0]-i[0]))}this.data.p&&this.data.p.s?this.data.p.z?this.v.translate(this.px.v,this.py.v,-this.pz.v):this.v.translate(this.px.v,this.py.v,0):this.v.translate(this.p.v[0],this.p.v[1],-this.p.v[2])}this.frameId=this.elem.globalData.frameId}},precalculateMatrix:function(){if(!this.a.k&&(this.pre.translate(-this.a.v[0],-this.a.v[1],this.a.v[2]),this.appliedTransformations=1,!this.s.effectsSequence.length)){if(this.pre.scale(this.s.v[0],this.s.v[1],this.s.v[2]),this.appliedTransformations=2,this.sk){if(this.sk.effectsSequence.length||this.sa.effectsSequence.length)return;this.pre.skewFromAxis(-this.sk.v,this.sa.v),this.appliedTransformations=3}this.r?this.r.effectsSequence.length||(this.pre.rotate(-this.r.v),this.appliedTransformations=4):this.rz.effectsSequence.length||this.ry.effectsSequence.length||this.rx.effectsSequence.length||this.or.effectsSequence.length||(this.pre.rotateZ(-this.rz.v).rotateY(this.ry.v).rotateX(this.rx.v).rotateZ(-this.or.v[2]).rotateY(this.or.v[1]).rotateX(this.or.v[0]),this.appliedTransformations=4)}},autoOrient:function(){}},extendPrototype([DynamicPropertyContainer],t),t.prototype.addDynamicProperty=function(e){this._addDynamicProperty(e),this.elem.addDynamicProperty(e),this._isDirty=!0},t.prototype._addDynamicProperty=DynamicPropertyContainer.prototype.addDynamicProperty,{getTransformProperty:function(e,r,n){return new t(e,r,n)}}}();function RepeaterModifier(){}function RoundCornersModifier(){}function getFontProperties(e){for(var t=e.fStyle?e.fStyle.split(" "):[],r="normal",n="normal",i=t.length,o=0;o<i;o+=1)switch(t[o].toLowerCase()){case"italic":n="italic";break;case"bold":r="700";break;case"black":r="900";break;case"medium":r="500";break;case"regular":case"normal":r="400";break;case"light":case"thin":r="200"}return{style:n,weight:e.fWeight||r}}extendPrototype([ShapeModifier],RepeaterModifier),RepeaterModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.c=PropertyFactory.getProp(e,t.c,0,null,this),this.o=PropertyFactory.getProp(e,t.o,0,null,this),this.tr=TransformPropertyFactory.getTransformProperty(e,t.tr,this),this.so=PropertyFactory.getProp(e,t.tr.so,0,.01,this),this.eo=PropertyFactory.getProp(e,t.tr.eo,0,.01,this),this.data=t,this.dynamicProperties.length||this.getValue(!0),this._isAnimated=!!this.dynamicProperties.length,this.pMatrix=new Matrix,this.rMatrix=new Matrix,this.sMatrix=new Matrix,this.tMatrix=new Matrix,this.matrix=new Matrix},RepeaterModifier.prototype.applyTransforms=function(e,t,r,n,i,o){var s=o?-1:1,a=n.s.v[0]+(1-n.s.v[0])*(1-i),l=n.s.v[1]+(1-n.s.v[1])*(1-i);e.translate(n.p.v[0]*s*i,n.p.v[1]*s*i,n.p.v[2]),t.translate(-n.a.v[0],-n.a.v[1],n.a.v[2]),t.rotate(-n.r.v*s*i),t.translate(n.a.v[0],n.a.v[1],n.a.v[2]),r.translate(-n.a.v[0],-n.a.v[1],n.a.v[2]),r.scale(o?1/a:a,o?1/l:l),r.translate(n.a.v[0],n.a.v[1],n.a.v[2])},RepeaterModifier.prototype.init=function(e,t,r,n){for(this.elem=e,this.arr=t,this.pos=r,this.elemsData=n,this._currentCopies=0,this._elements=[],this._groups=[],this.frameId=-1,this.initDynamicPropertyContainer(e),this.initModifierProperties(e,t[r]);r>0;)r-=1,this._elements.unshift(t[r]);this.dynamicProperties.length?this.k=!0:this.getValue(!0)},RepeaterModifier.prototype.resetElements=function(e){var t,r=e.length;for(t=0;t<r;t+=1)e[t]._processed=!1,"gr"===e[t].ty&&this.resetElements(e[t].it)},RepeaterModifier.prototype.cloneElements=function(e){var t=JSON.parse(JSON.stringify(e));return this.resetElements(t),t},RepeaterModifier.prototype.changeGroupRender=function(e,t){var r,n=e.length;for(r=0;r<n;r+=1)e[r]._render=t,"gr"===e[r].ty&&this.changeGroupRender(e[r].it,t)},RepeaterModifier.prototype.processShapes=function(e){var t,r,n,i,o,s=!1;if(this._mdf||e){var a,l=Math.ceil(this.c.v);if(this._groups.length<l){for(;this._groups.length<l;){var c={it:this.cloneElements(this._elements),ty:"gr"};c.it.push({a:{a:0,ix:1,k:[0,0]},nm:"Transform",o:{a:0,ix:7,k:100},p:{a:0,ix:2,k:[0,0]},r:{a:1,ix:6,k:[{s:0,e:0,t:0},{s:0,e:0,t:1}]},s:{a:0,ix:3,k:[100,100]},sa:{a:0,ix:5,k:0},sk:{a:0,ix:4,k:0},ty:"tr"}),this.arr.splice(0,0,c),this._groups.splice(0,0,c),this._currentCopies+=1}this.elem.reloadShapes(),s=!0}for(o=0,n=0;n<=this._groups.length-1;n+=1){if(a=o<l,this._groups[n]._render=a,this.changeGroupRender(this._groups[n].it,a),!a){var u=this.elemsData[n].it,d=u[u.length-1];0!==d.transform.op.v?(d.transform.op._mdf=!0,d.transform.op.v=0):d.transform.op._mdf=!1}o+=1}this._currentCopies=l;var h=this.o.v,p=h%1,m=h>0?Math.floor(h):Math.ceil(h),_=this.pMatrix.props,g=this.rMatrix.props,f=this.sMatrix.props;this.pMatrix.reset(),this.rMatrix.reset(),this.sMatrix.reset(),this.tMatrix.reset(),this.matrix.reset();var v,b,y=0;if(h>0){for(;y<m;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),y+=1;p&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,p,!1),y+=p)}else if(h<0){for(;y>m;)this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!0),y-=1;p&&(this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,-p,!0),y-=p)}for(n=1===this.data.m?0:this._currentCopies-1,i=1===this.data.m?1:-1,o=this._currentCopies;o;){if(b=(r=(t=this.elemsData[n].it)[t.length-1].transform.mProps.v.props).length,t[t.length-1].transform.mProps._mdf=!0,t[t.length-1].transform.op._mdf=!0,t[t.length-1].transform.op.v=1===this._currentCopies?this.so.v:this.so.v+(this.eo.v-this.so.v)*(n/(this._currentCopies-1)),0!==y){for((0!==n&&1===i||n!==this._currentCopies-1&&-1===i)&&this.applyTransforms(this.pMatrix,this.rMatrix,this.sMatrix,this.tr,1,!1),this.matrix.transform(g[0],g[1],g[2],g[3],g[4],g[5],g[6],g[7],g[8],g[9],g[10],g[11],g[12],g[13],g[14],g[15]),this.matrix.transform(f[0],f[1],f[2],f[3],f[4],f[5],f[6],f[7],f[8],f[9],f[10],f[11],f[12],f[13],f[14],f[15]),this.matrix.transform(_[0],_[1],_[2],_[3],_[4],_[5],_[6],_[7],_[8],_[9],_[10],_[11],_[12],_[13],_[14],_[15]),v=0;v<b;v+=1)r[v]=this.matrix.props[v];this.matrix.reset()}else for(this.matrix.reset(),v=0;v<b;v+=1)r[v]=this.matrix.props[v];y+=1,o-=1,n+=i}}else for(o=this._currentCopies,n=0,i=1;o;)r=(t=this.elemsData[n].it)[t.length-1].transform.mProps.v.props,t[t.length-1].transform.mProps._mdf=!1,t[t.length-1].transform.op._mdf=!1,o-=1,n+=i;return s},RepeaterModifier.prototype.addShape=function(){},extendPrototype([ShapeModifier],RoundCornersModifier),RoundCornersModifier.prototype.initModifierProperties=function(e,t){this.getValue=this.processKeys,this.rd=PropertyFactory.getProp(e,t.r,0,null,this),this._isAnimated=!!this.rd.effectsSequence.length},RoundCornersModifier.prototype.processPath=function(e,t){var r,n=shapePool.newElement();n.c=e.c;var i,o,s,a,l,c,u,d,h,p,m,_,g=e._length,f=0;for(r=0;r<g;r+=1)i=e.v[r],s=e.o[r],o=e.i[r],i[0]===s[0]&&i[1]===s[1]&&i[0]===o[0]&&i[1]===o[1]?0!==r&&r!==g-1||e.c?(a=0===r?e.v[g-1]:e.v[r-1],c=(l=Math.sqrt(Math.pow(i[0]-a[0],2)+Math.pow(i[1]-a[1],2)))?Math.min(l/2,t)/l:0,u=m=i[0]+(a[0]-i[0])*c,d=_=i[1]-(i[1]-a[1])*c,h=u-(u-i[0])*roundCorner,p=d-(d-i[1])*roundCorner,n.setTripleAt(u,d,h,p,m,_,f),f+=1,a=r===g-1?e.v[0]:e.v[r+1],c=(l=Math.sqrt(Math.pow(i[0]-a[0],2)+Math.pow(i[1]-a[1],2)))?Math.min(l/2,t)/l:0,u=h=i[0]+(a[0]-i[0])*c,d=p=i[1]+(a[1]-i[1])*c,m=u-(u-i[0])*roundCorner,_=d-(d-i[1])*roundCorner,n.setTripleAt(u,d,h,p,m,_,f),f+=1):(n.setTripleAt(i[0],i[1],s[0],s[1],o[0],o[1],f),f+=1):(n.setTripleAt(e.v[r][0],e.v[r][1],e.o[r][0],e.o[r][1],e.i[r][0],e.i[r][1],f),f+=1);return n},RoundCornersModifier.prototype.processShapes=function(e){var t,r,n,i,o,s,a=this.shapes.length,l=this.rd.v;if(0!==l)for(r=0;r<a;r+=1){if(s=(o=this.shapes[r]).localShapeCollection,o.shape._mdf||this._mdf||e)for(s.releaseShapes(),o.shape._mdf=!0,t=o.shape.paths.shapes,i=o.shape.paths._length,n=0;n<i;n+=1)s.addShape(this.processPath(t[n],l));o.shape.paths=o.localShapeCollection}this.dynamicProperties.length||(this._mdf=!1)};const FontManager=function(){var e={w:0,size:0,shapes:[],data:{shapes:[]}},t=[];t=t.concat([2304,2305,2306,2307,2362,2363,2364,2364,2366,2367,2368,2369,2370,2371,2372,2373,2374,2375,2376,2377,2378,2379,2380,2381,2382,2383,2387,2388,2389,2390,2391,2402,2403]);var r=["d83cdffb","d83cdffc","d83cdffd","d83cdffe","d83cdfff"],n=[65039,8205];function i(e,t){var r=createTag("span");r.setAttribute("aria-hidden",!0),r.style.fontFamily=t;var n=createTag("span");n.innerText="giItT1WQy@!-/#",r.style.position="absolute",r.style.left="-10000px",r.style.top="-10000px",r.style.fontSize="300px",r.style.fontVariant="normal",r.style.fontStyle="normal",r.style.fontWeight="normal",r.style.letterSpacing="0",r.appendChild(n),document.body.appendChild(r);var i=n.offsetWidth;return n.style.fontFamily=function(e){var t,r=e.split(","),n=r.length,i=[];for(t=0;t<n;t+=1)"sans-serif"!==r[t]&&"monospace"!==r[t]&&i.push(r[t]);return i.join(",")}(e)+", "+t,{node:n,w:i,parent:r}}function o(e,t){var r,n=document.body&&t?"svg":"canvas",i=getFontProperties(e);if("svg"===n){var o=createNS("text");o.style.fontSize="100px",o.setAttribute("font-family",e.fFamily),o.setAttribute("font-style",i.style),o.setAttribute("font-weight",i.weight),o.textContent="1",e.fClass?(o.style.fontFamily="inherit",o.setAttribute("class",e.fClass)):o.style.fontFamily=e.fFamily,t.appendChild(o),r=o}else{var s=new OffscreenCanvas(500,500).getContext("2d");s.font=i.style+" "+i.weight+" 100px "+e.fFamily,r=s}return{measureText:function(e){return"svg"===n?(r.textContent=e,r.getComputedTextLength()):r.measureText(e).width}}}var s=function(){this.fonts=[],this.chars=null,this.typekitLoaded=0,this.isLoaded=!1,this._warned=!1,this.initTime=Date.now(),this.setIsLoadedBinded=this.setIsLoaded.bind(this),this.checkLoadedFontsBinded=this.checkLoadedFonts.bind(this)};s.isModifier=function(e,t){var n=e.toString(16)+t.toString(16);return-1!==r.indexOf(n)},s.isZeroWidthJoiner=function(e,t){return t?e===n[0]&&t===n[1]:e===n[1]},s.isCombinedCharacter=function(e){return-1!==t.indexOf(e)};var a={addChars:function(e){if(e){var t;this.chars||(this.chars=[]);var r,n,i=e.length,o=this.chars.length;for(t=0;t<i;t+=1){for(r=0,n=!1;r<o;)this.chars[r].style===e[t].style&&this.chars[r].fFamily===e[t].fFamily&&this.chars[r].ch===e[t].ch&&(n=!0),r+=1;n||(this.chars.push(e[t]),o+=1)}}},addFonts:function(e,t){if(e){if(this.chars)return this.isLoaded=!0,void(this.fonts=e.list);if(!document.body)return this.isLoaded=!0,e.list.forEach(e=>{e.helper=o(e),e.cache={}}),void(this.fonts=e.list);var r,n=e.list,s=n.length,a=s;for(r=0;r<s;r+=1){var l,c,u=!0;if(n[r].loaded=!1,n[r].monoCase=i(n[r].fFamily,"monospace"),n[r].sansCase=i(n[r].fFamily,"sans-serif"),n[r].fPath){if("p"===n[r].fOrigin||3===n[r].origin){if((l=document.querySelectorAll('style[f-forigin="p"][f-family="'+n[r].fFamily+'"], style[f-origin="3"][f-family="'+n[r].fFamily+'"]')).length>0&&(u=!1),u){var d=createTag("style");d.setAttribute("f-forigin",n[r].fOrigin),d.setAttribute("f-origin",n[r].origin),d.setAttribute("f-family",n[r].fFamily),d.type="text/css",d.innerText="@font-face {font-family: "+n[r].fFamily+"; font-style: normal; src: url('"+n[r].fPath+"');}",t.appendChild(d)}}else if("g"===n[r].fOrigin||1===n[r].origin){for(l=document.querySelectorAll('link[f-forigin="g"], link[f-origin="1"]'),c=0;c<l.length;c+=1)-1!==l[c].href.indexOf(n[r].fPath)&&(u=!1);if(u){var h=createTag("link");h.setAttribute("f-forigin",n[r].fOrigin),h.setAttribute("f-origin",n[r].origin),h.type="text/css",h.rel="stylesheet",h.href=n[r].fPath,document.body.appendChild(h)}}else if("t"===n[r].fOrigin||2===n[r].origin){for(l=document.querySelectorAll('script[f-forigin="t"], script[f-origin="2"]'),c=0;c<l.length;c+=1)n[r].fPath===l[c].src&&(u=!1);if(u){var p=createTag("link");p.setAttribute("f-forigin",n[r].fOrigin),p.setAttribute("f-origin",n[r].origin),p.setAttribute("rel","stylesheet"),p.setAttribute("href",n[r].fPath),t.appendChild(p)}}}else n[r].loaded=!0,a-=1;n[r].helper=o(n[r],t),n[r].cache={},this.fonts.push(n[r])}0===a?this.isLoaded=!0:setTimeout(this.checkLoadedFonts.bind(this),100)}else this.isLoaded=!0},getCharData:function(t,r,n){for(var i=0,o=this.chars.length;i<o;){if(this.chars[i].ch===t&&this.chars[i].style===r&&this.chars[i].fFamily===n)return this.chars[i];i+=1}return("string"==typeof t&&13!==t.charCodeAt(0)||!t)&&console&&console.warn&&!this._warned&&(this._warned=!0,console.warn("Missing character from exported characters list: ",t,r,n)),e},getFontByName:function(e){for(var t=0,r=this.fonts.length;t<r;){if(this.fonts[t].fName===e)return this.fonts[t];t+=1}return this.fonts[0]},measureText:function(e,t,r){var n=this.getFontByName(t),i=e.charCodeAt(0);if(!n.cache[i+1]){var o=n.helper;if(" "===e){var s=o.measureText("|"+e+"|"),a=o.measureText("||");n.cache[i+1]=(s-a)/100}else n.cache[i+1]=o.measureText(e)/100}return n.cache[i+1]*r},checkLoadedFonts:function(){var e,t,r,n=this.fonts.length,i=n;for(e=0;e<n;e+=1)this.fonts[e].loaded?i-=1:"n"===this.fonts[e].fOrigin||0===this.fonts[e].origin?this.fonts[e].loaded=!0:(t=this.fonts[e].monoCase.node,r=this.fonts[e].monoCase.w,t.offsetWidth!==r?(i-=1,this.fonts[e].loaded=!0):(t=this.fonts[e].sansCase.node,r=this.fonts[e].sansCase.w,t.offsetWidth!==r&&(i-=1,this.fonts[e].loaded=!0)),this.fonts[e].loaded&&(this.fonts[e].sansCase.parent.parentNode.removeChild(this.fonts[e].sansCase.parent),this.fonts[e].monoCase.parent.parentNode.removeChild(this.fonts[e].monoCase.parent)));0!==i&&Date.now()-this.initTime<5e3?setTimeout(this.checkLoadedFontsBinded,20):setTimeout(this.setIsLoadedBinded,10)},setIsLoaded:function(){this.isLoaded=!0}};return s.prototype=a,s}();function RenderableElement(){}RenderableElement.prototype={initRenderable:function(){this.isInRange=!1,this.hidden=!1,this.isTransparent=!1,this.renderableComponents=[]},addRenderableComponent:function(e){-1===this.renderableComponents.indexOf(e)&&this.renderableComponents.push(e)},removeRenderableComponent:function(e){-1!==this.renderableComponents.indexOf(e)&&this.renderableComponents.splice(this.renderableComponents.indexOf(e),1)},prepareRenderableFrame:function(e){this.checkLayerLimits(e)},checkTransparency:function(){this.finalTransform.mProp.o.v<=0?!this.isTransparent&&this.globalData.renderConfig.hideOnTransparent&&(this.isTransparent=!0,this.hide()):this.isTransparent&&(this.isTransparent=!1,this.show())},checkLayerLimits:function(e){this.data.ip-this.data.st<=e&&this.data.op-this.data.st>e?!0!==this.isInRange&&(this.globalData._mdf=!0,this._mdf=!0,this.isInRange=!0,this.show()):!1!==this.isInRange&&(this.globalData._mdf=!0,this.isInRange=!1,this.hide())},renderRenderable:function(){var e,t=this.renderableComponents.length;for(e=0;e<t;e+=1)this.renderableComponents[e].renderFrame(this._isFirstFrame)},sourceRectAtTime:function(){return{top:0,left:0,width:100,height:100}},getLayerSize:function(){return 5===this.data.ty?{w:this.data.textData.width,h:this.data.textData.height}:{w:this.data.width,h:this.data.height}}};const MaskManagerInterface=function(){function e(e,t){this._mask=e,this._data=t}Object.defineProperty(e.prototype,"maskPath",{get:function(){return this._mask.prop.k&&this._mask.prop.getValue(),this._mask.prop}}),Object.defineProperty(e.prototype,"maskOpacity",{get:function(){return this._mask.op.k&&this._mask.op.getValue(),100*this._mask.op.v}});return function(t){var r,n=createSizedArray(t.viewData.length),i=t.viewData.length;for(r=0;r<i;r+=1)n[r]=new e(t.viewData[r],t.masksProperties[r]);return function(e){for(r=0;r<i;){if(t.masksProperties[r].nm===e)return n[r];r+=1}return null}}}(),ExpressionPropertyInterface=function(){var e={pv:0,v:0,mult:1},t={pv:[0,0,0],v:[0,0,0],mult:1};function r(e,t,r){Object.defineProperty(e,"velocity",{get:function(){return t.getVelocityAtTime(t.comp.currentFrame)}}),e.numKeys=t.keyframes?t.keyframes.length:0,e.key=function(n){if(!e.numKeys)return 0;var i="";i="s"in t.keyframes[n-1]?t.keyframes[n-1].s:"e"in t.keyframes[n-2]?t.keyframes[n-2].e:t.keyframes[n-2].s;var o="unidimensional"===r?new Number(i):Object.assign({},i);return o.time=t.keyframes[n-1].t/t.elem.comp.globalData.frameRate,o.value="unidimensional"===r?i[0]:i,o},e.valueAtTime=t.getValueAtTime,e.speedAtTime=t.getSpeedAtTime,e.velocityAtTime=t.getVelocityAtTime,e.propertyGroup=t.propertyGroup}function n(){return e}return function(i){return i?"unidimensional"===i.propType?function(t){t&&"pv"in t||(t=e);var n=1/t.mult,i=t.pv*n,o=new Number(i);return o.value=i,r(o,t,"unidimensional"),function(){return t.k&&t.getValue(),i=t.v*n,o.value!==i&&((o=new Number(i)).value=i,r(o,t,"unidimensional")),o}}(i):function(e){e&&"pv"in e||(e=t);var n=1/e.mult,i=e.data&&e.data.l||e.pv.length,o=createTypedArray("float32",i),s=createTypedArray("float32",i);return o.value=s,r(o,e,"multidimensional"),function(){e.k&&e.getValue();for(var t=0;t<i;t+=1)s[t]=e.v[t]*n,o[t]=s[t];return o}}(i):n}}(),TransformExpressionInterface=function(e){function t(e){switch(e){case"scale":case"Scale":case"ADBE Scale":case 6:return t.scale;case"rotation":case"Rotation":case"ADBE Rotation":case"ADBE Rotate Z":case 10:return t.rotation;case"ADBE Rotate X":return t.xRotation;case"ADBE Rotate Y":return t.yRotation;case"position":case"Position":case"ADBE Position":case 2:return t.position;case"ADBE Position_0":return t.xPosition;case"ADBE Position_1":return t.yPosition;case"ADBE Position_2":return t.zPosition;case"anchorPoint":case"AnchorPoint":case"Anchor Point":case"ADBE AnchorPoint":case 1:return t.anchorPoint;case"opacity":case"Opacity":case 11:return t.opacity;default:return null}}var r,n,i,o;return Object.defineProperty(t,"rotation",{get:ExpressionPropertyInterface(e.r||e.rz)}),Object.defineProperty(t,"zRotation",{get:ExpressionPropertyInterface(e.rz||e.r)}),Object.defineProperty(t,"xRotation",{get:ExpressionPropertyInterface(e.rx)}),Object.defineProperty(t,"yRotation",{get:ExpressionPropertyInterface(e.ry)}),Object.defineProperty(t,"scale",{get:ExpressionPropertyInterface(e.s)}),e.p?o=ExpressionPropertyInterface(e.p):(r=ExpressionPropertyInterface(e.px),n=ExpressionPropertyInterface(e.py),e.pz&&(i=ExpressionPropertyInterface(e.pz))),Object.defineProperty(t,"position",{get:function(){return e.p?o():[r(),n(),i?i():0]}}),Object.defineProperty(t,"xPosition",{get:ExpressionPropertyInterface(e.px)}),Object.defineProperty(t,"yPosition",{get:ExpressionPropertyInterface(e.py)}),Object.defineProperty(t,"zPosition",{get:ExpressionPropertyInterface(e.pz)}),Object.defineProperty(t,"anchorPoint",{get:ExpressionPropertyInterface(e.a)}),Object.defineProperty(t,"opacity",{get:ExpressionPropertyInterface(e.o)}),Object.defineProperty(t,"skew",{get:ExpressionPropertyInterface(e.sk)}),Object.defineProperty(t,"skewAxis",{get:ExpressionPropertyInterface(e.sa)}),Object.defineProperty(t,"orientation",{get:ExpressionPropertyInterface(e.or)}),t},LayerExpressionInterface=function(){function e(e){var t=new Matrix;void 0!==e?this._elem.finalTransform.mProp.getValueAtTime(e).clone(t):this._elem.finalTransform.mProp.applyToMatrix(t);return t}function t(e,t){var r=this.getMatrix(t);return r.props[12]=0,r.props[13]=0,r.props[14]=0,this.applyPoint(r,e)}function r(e,t){var r=this.getMatrix(t);return this.applyPoint(r,e)}function n(e,t){var r=this.getMatrix(t);return r.props[12]=0,r.props[13]=0,r.props[14]=0,this.invertPoint(r,e)}function i(e,t){var r=this.getMatrix(t);return this.invertPoint(r,e)}function o(e,t){if(this._elem.hierarchy&&this._elem.hierarchy.length){var r,n=this._elem.hierarchy.length;for(r=0;r<n;r+=1)this._elem.hierarchy[r].finalTransform.mProp.applyToMatrix(e)}return e.applyToPointArray(t[0],t[1],t[2]||0)}function s(e,t){if(this._elem.hierarchy&&this._elem.hierarchy.length){var r,n=this._elem.hierarchy.length;for(r=0;r<n;r+=1)this._elem.hierarchy[r].finalTransform.mProp.applyToMatrix(e)}return e.inversePoint(t)}function a(e){var t=new Matrix;if(t.reset(),this._elem.finalTransform.mProp.applyToMatrix(t),this._elem.hierarchy&&this._elem.hierarchy.length){var r,n=this._elem.hierarchy.length;for(r=0;r<n;r+=1)this._elem.hierarchy[r].finalTransform.mProp.applyToMatrix(t);return t.inversePoint(e)}return t.inversePoint(e)}function l(){return[1,1,1,1]}return function(c){var u;function d(e){switch(e){case"ADBE Root Vectors Group":case"Contents":case 2:return d.shapeInterface;case 1:case 6:case"Transform":case"transform":case"ADBE Transform Group":return u;case 4:case"ADBE Effect Parade":case"effects":case"Effects":return d.effect;case"ADBE Text Properties":return d.textInterface;default:return null}}d.getMatrix=e,d.invertPoint=s,d.applyPoint=o,d.toWorld=r,d.toWorldVec=t,d.fromWorld=i,d.fromWorldVec=n,d.toComp=r,d.fromComp=a,d.sampleImage=l,d.sourceRectAtTime=c.sourceRectAtTime.bind(c),d._elem=c;var h=getDescriptor(u=TransformExpressionInterface(c.finalTransform.mProp),"anchorPoint");return Object.defineProperties(d,{hasParent:{get:function(){return c.hierarchy.length}},parent:{get:function(){return c.hierarchy[0].layerInterface}},rotation:getDescriptor(u,"rotation"),scale:getDescriptor(u,"scale"),position:getDescriptor(u,"position"),opacity:getDescriptor(u,"opacity"),anchorPoint:h,anchor_point:h,transform:{get:function(){return u}},active:{get:function(){return c.isInRange}}}),d.startTime=c.data.st,d.index=c.data.ind,d.source=c.data.refId,d.height=0===c.data.ty?c.data.h:100,d.width=0===c.data.ty?c.data.w:100,d.inPoint=c.data.ip/c.comp.globalData.frameRate,d.outPoint=c.data.op/c.comp.globalData.frameRate,d._name=c.data.nm,d.registerMaskInterface=function(e){d.mask=new MaskManagerInterface(e,c)},d.registerEffectsInterface=function(e){d.effect=e},d}}(),propertyGroupFactory=function(e,t){return function(r){return(r=void 0===r?1:r)<=0?e:t(r-1)}},PropertyInterface=function(e,t){var r={_name:e};return function(e){return(e=void 0===e?1:e)<=0?r:t(e-1)}},EffectsExpressionInterface=function(){function e(r,n,i,o){function s(e){for(var t=r.ef,n=0,i=t.length;n<i;){if(e===t[n].nm||e===t[n].mn||e===t[n].ix)return 5===t[n].ty?c[n]:c[n]();n+=1}throw new Error}var a,l=propertyGroupFactory(s,i),c=[],u=r.ef.length;for(a=0;a<u;a+=1)5===r.ef[a].ty?c.push(e(r.ef[a],n.effectElements[a],n.effectElements[a].propertyGroup,o)):c.push(t(n.effectElements[a],r.ef[a].ty,o,l));return"ADBE Color Control"===r.mn&&Object.defineProperty(s,"color",{get:function(){return c[0]()}}),Object.defineProperties(s,{numProperties:{get:function(){return r.np}},_name:{value:r.nm},propertyGroup:{value:l}}),s.enabled=0!==r.en,s.active=s.enabled,s}function t(e,t,r,n){var i=ExpressionPropertyInterface(e.p);return e.p.setGroupProperty&&e.p.setGroupProperty(PropertyInterface("",n)),function(){return 10===t?r.comp.compInterface(e.p.v):i()}}return{createEffectsInterface:function(t,r){if(t.effectsManager){var n,i=[],o=t.data.ef,s=t.effectsManager.effectElements.length;for(n=0;n<s;n+=1)i.push(e(o[n],t.effectsManager.effectElements[n],r,t));var a=t.data.ef||[],l=function(e){for(n=0,s=a.length;n<s;){if(e===a[n].nm||e===a[n].mn||e===a[n].ix)return i[n];n+=1}return null};return Object.defineProperty(l,"numProperties",{get:function(){return a.length}}),l}return null}}}(),CompExpressionInterface=function(e){function t(t){for(var r=0,n=e.layers.length;r<n;){if(e.layers[r].nm===t||e.layers[r].ind===t)return e.elements[r].layerInterface;r+=1}return null}return Object.defineProperty(t,"_name",{value:e.data.nm}),t.layer=t,t.pixelAspect=1,t.height=e.data.h||e.globalData.compSize.h,t.width=e.data.w||e.globalData.compSize.w,t.pixelAspect=1,t.frameDuration=1/e.globalData.frameRate,t.displayStartTime=0,t.numLayers=e.layers.length,t},ShapePathInterface=function(e,t,r){var n=t.sh;function i(e){return"Shape"===e||"shape"===e||"Path"===e||"path"===e||"ADBE Vector Shape"===e||2===e?i.path:null}var o=propertyGroupFactory(i,r);return n.setGroupProperty(PropertyInterface("Path",o)),Object.defineProperties(i,{path:{get:function(){return n.k&&n.getValue(),n}},shape:{get:function(){return n.k&&n.getValue(),n}},_name:{value:e.nm},ix:{value:e.ix},propertyIndex:{value:e.ix},mn:{value:e.mn},propertyGroup:{value:r}}),i},ShapeExpressionInterface=function(){function e(e,a,p){var m,_=[],g=e?e.length:0;for(m=0;m<g;m+=1)"gr"===e[m].ty?_.push(t(e[m],a[m],p)):"fl"===e[m].ty?_.push(r(e[m],a[m],p)):"st"===e[m].ty?_.push(o(e[m],a[m],p)):"tm"===e[m].ty?_.push(s(e[m],a[m],p)):"tr"===e[m].ty||("el"===e[m].ty?_.push(l(e[m],a[m],p)):"sr"===e[m].ty?_.push(c(e[m],a[m],p)):"sh"===e[m].ty?_.push(ShapePathInterface(e[m],a[m],p)):"rc"===e[m].ty?_.push(u(e[m],a[m],p)):"rd"===e[m].ty?_.push(d(e[m],a[m],p)):"rp"===e[m].ty?_.push(h(e[m],a[m],p)):"gf"===e[m].ty?_.push(n(e[m],a[m],p)):_.push(i(e[m],a[m])));return _}function t(t,r,n){var i=function(e){switch(e){case"ADBE Vectors Group":case"Contents":case 2:return i.content;default:return i.transform}};i.propertyGroup=propertyGroupFactory(i,n);var o=function(t,r,n){var i,o=function(e){for(var t=0,r=i.length;t<r;){if(i[t]._name===e||i[t].mn===e||i[t].propertyIndex===e||i[t].ix===e||i[t].ind===e)return i[t];t+=1}return"number"==typeof e?i[e-1]:null};o.propertyGroup=propertyGroupFactory(o,n),i=e(t.it,r.it,o.propertyGroup),o.numProperties=i.length;var s=a(t.it[t.it.length-1],r.it[r.it.length-1],o.propertyGroup);return o.transform=s,o.propertyIndex=t.cix,o._name=t.nm,o}(t,r,i.propertyGroup),s=a(t.it[t.it.length-1],r.it[r.it.length-1],i.propertyGroup);return i.content=o,i.transform=s,Object.defineProperty(i,"_name",{get:function(){return t.nm}}),i.numProperties=t.np,i.propertyIndex=t.ix,i.nm=t.nm,i.mn=t.mn,i}function r(e,t,r){function n(e){return"Color"===e||"color"===e?n.color:"Opacity"===e||"opacity"===e?n.opacity:null}return Object.defineProperties(n,{color:{get:ExpressionPropertyInterface(t.c)},opacity:{get:ExpressionPropertyInterface(t.o)},_name:{value:e.nm},mn:{value:e.mn}}),t.c.setGroupProperty(PropertyInterface("Color",r)),t.o.setGroupProperty(PropertyInterface("Opacity",r)),n}function n(e,t,r){function n(e){return"Start Point"===e||"start point"===e?n.startPoint:"End Point"===e||"end point"===e?n.endPoint:"Opacity"===e||"opacity"===e?n.opacity:null}return Object.defineProperties(n,{startPoint:{get:ExpressionPropertyInterface(t.s)},endPoint:{get:ExpressionPropertyInterface(t.e)},opacity:{get:ExpressionPropertyInterface(t.o)},type:{get:function(){return"a"}},_name:{value:e.nm},mn:{value:e.mn}}),t.s.setGroupProperty(PropertyInterface("Start Point",r)),t.e.setGroupProperty(PropertyInterface("End Point",r)),t.o.setGroupProperty(PropertyInterface("Opacity",r)),n}function i(){return function(){return null}}function o(e,t,r){var n,i=propertyGroupFactory(c,r),o=propertyGroupFactory(l,i);function s(r){Object.defineProperty(l,e.d[r].nm,{get:ExpressionPropertyInterface(t.d.dataProps[r].p)})}var a=e.d?e.d.length:0,l={};for(n=0;n<a;n+=1)s(n),t.d.dataProps[n].p.setGroupProperty(o);function c(e){return"Color"===e||"color"===e?c.color:"Opacity"===e||"opacity"===e?c.opacity:"Stroke Width"===e||"stroke width"===e?c.strokeWidth:null}return Object.defineProperties(c,{color:{get:ExpressionPropertyInterface(t.c)},opacity:{get:ExpressionPropertyInterface(t.o)},strokeWidth:{get:ExpressionPropertyInterface(t.w)},dash:{get:function(){return l}},_name:{value:e.nm},mn:{value:e.mn}}),t.c.setGroupProperty(PropertyInterface("Color",i)),t.o.setGroupProperty(PropertyInterface("Opacity",i)),t.w.setGroupProperty(PropertyInterface("Stroke Width",i)),c}function s(e,t,r){function n(t){return t===e.e.ix||"End"===t||"end"===t?n.end:t===e.s.ix?n.start:t===e.o.ix?n.offset:null}var i=propertyGroupFactory(n,r);return n.propertyIndex=e.ix,t.s.setGroupProperty(PropertyInterface("Start",i)),t.e.setGroupProperty(PropertyInterface("End",i)),t.o.setGroupProperty(PropertyInterface("Offset",i)),n.propertyIndex=e.ix,n.propertyGroup=r,Object.defineProperties(n,{start:{get:ExpressionPropertyInterface(t.s)},end:{get:ExpressionPropertyInterface(t.e)},offset:{get:ExpressionPropertyInterface(t.o)},_name:{value:e.nm}}),n.mn=e.mn,n}function a(e,t,r){function n(t){return e.a.ix===t||"Anchor Point"===t?n.anchorPoint:e.o.ix===t||"Opacity"===t?n.opacity:e.p.ix===t||"Position"===t?n.position:e.r.ix===t||"Rotation"===t||"ADBE Vector Rotation"===t?n.rotation:e.s.ix===t||"Scale"===t?n.scale:e.sk&&e.sk.ix===t||"Skew"===t?n.skew:e.sa&&e.sa.ix===t||"Skew Axis"===t?n.skewAxis:null}var i=propertyGroupFactory(n,r);return t.transform.mProps.o.setGroupProperty(PropertyInterface("Opacity",i)),t.transform.mProps.p.setGroupProperty(PropertyInterface("Position",i)),t.transform.mProps.a.setGroupProperty(PropertyInterface("Anchor Point",i)),t.transform.mProps.s.setGroupProperty(PropertyInterface("Scale",i)),t.transform.mProps.r.setGroupProperty(PropertyInterface("Rotation",i)),t.transform.mProps.sk&&(t.transform.mProps.sk.setGroupProperty(PropertyInterface("Skew",i)),t.transform.mProps.sa.setGroupProperty(PropertyInterface("Skew Angle",i))),t.transform.op.setGroupProperty(PropertyInterface("Opacity",i)),Object.defineProperties(n,{opacity:{get:ExpressionPropertyInterface(t.transform.mProps.o)},position:{get:ExpressionPropertyInterface(t.transform.mProps.p)},anchorPoint:{get:ExpressionPropertyInterface(t.transform.mProps.a)},scale:{get:ExpressionPropertyInterface(t.transform.mProps.s)},rotation:{get:ExpressionPropertyInterface(t.transform.mProps.r)},skew:{get:ExpressionPropertyInterface(t.transform.mProps.sk)},skewAxis:{get:ExpressionPropertyInterface(t.transform.mProps.sa)},_name:{value:e.nm}}),n.ty="tr",n.mn=e.mn,n.propertyGroup=r,n}function l(e,t,r){function n(t){return e.p.ix===t?n.position:e.s.ix===t?n.size:null}var i=propertyGroupFactory(n,r);n.propertyIndex=e.ix;var o="tm"===t.sh.ty?t.sh.prop:t.sh;return o.s.setGroupProperty(PropertyInterface("Size",i)),o.p.setGroupProperty(PropertyInterface("Position",i)),Object.defineProperties(n,{size:{get:ExpressionPropertyInterface(o.s)},position:{get:ExpressionPropertyInterface(o.p)},_name:{value:e.nm}}),n.mn=e.mn,n}function c(e,t,r){function n(t){return e.p.ix===t?n.position:e.r.ix===t?n.rotation:e.pt.ix===t?n.points:e.or.ix===t||"ADBE Vector Star Outer Radius"===t?n.outerRadius:e.os.ix===t?n.outerRoundness:!e.ir||e.ir.ix!==t&&"ADBE Vector Star Inner Radius"!==t?e.is&&e.is.ix===t?n.innerRoundness:null:n.innerRadius}var i=propertyGroupFactory(n,r),o="tm"===t.sh.ty?t.sh.prop:t.sh;return n.propertyIndex=e.ix,o.or.setGroupProperty(PropertyInterface("Outer Radius",i)),o.os.setGroupProperty(PropertyInterface("Outer Roundness",i)),o.pt.setGroupProperty(PropertyInterface("Points",i)),o.p.setGroupProperty(PropertyInterface("Position",i)),o.r.setGroupProperty(PropertyInterface("Rotation",i)),e.ir&&(o.ir.setGroupProperty(PropertyInterface("Inner Radius",i)),o.is.setGroupProperty(PropertyInterface("Inner Roundness",i))),Object.defineProperties(n,{position:{get:ExpressionPropertyInterface(o.p)},rotation:{get:ExpressionPropertyInterface(o.r)},points:{get:ExpressionPropertyInterface(o.pt)},outerRadius:{get:ExpressionPropertyInterface(o.or)},outerRoundness:{get:ExpressionPropertyInterface(o.os)},innerRadius:{get:ExpressionPropertyInterface(o.ir)},innerRoundness:{get:ExpressionPropertyInterface(o.is)},_name:{value:e.nm}}),n.mn=e.mn,n}function u(e,t,r){function n(t){return e.p.ix===t?n.position:e.r.ix===t?n.roundness:e.s.ix===t||"Size"===t||"ADBE Vector Rect Size"===t?n.size:null}var i=propertyGroupFactory(n,r),o="tm"===t.sh.ty?t.sh.prop:t.sh;return n.propertyIndex=e.ix,o.p.setGroupProperty(PropertyInterface("Position",i)),o.s.setGroupProperty(PropertyInterface("Size",i)),o.r.setGroupProperty(PropertyInterface("Rotation",i)),Object.defineProperties(n,{position:{get:ExpressionPropertyInterface(o.p)},roundness:{get:ExpressionPropertyInterface(o.r)},size:{get:ExpressionPropertyInterface(o.s)},_name:{value:e.nm}}),n.mn=e.mn,n}function d(e,t,r){function n(t){return e.r.ix===t||"Round Corners 1"===t?n.radius:null}var i=propertyGroupFactory(n,r),o=t;return n.propertyIndex=e.ix,o.rd.setGroupProperty(PropertyInterface("Radius",i)),Object.defineProperties(n,{radius:{get:ExpressionPropertyInterface(o.rd)},_name:{value:e.nm}}),n.mn=e.mn,n}function h(e,t,r){function n(t){return e.c.ix===t||"Copies"===t?n.copies:e.o.ix===t||"Offset"===t?n.offset:null}var i=propertyGroupFactory(n,r),o=t;return n.propertyIndex=e.ix,o.c.setGroupProperty(PropertyInterface("Copies",i)),o.o.setGroupProperty(PropertyInterface("Offset",i)),Object.defineProperties(n,{copies:{get:ExpressionPropertyInterface(o.c)},offset:{get:ExpressionPropertyInterface(o.o)},_name:{value:e.nm}}),n.mn=e.mn,n}return function(t,r,n){var i;function o(e){if("number"==typeof e)return 0===(e=void 0===e?1:e)?n:i[e-1];for(var t=0,r=i.length;t<r;){if(i[t]._name===e)return i[t];t+=1}return null}return o.propertyGroup=propertyGroupFactory(o,function(){return n}),i=e(t,r,o.propertyGroup),o.numProperties=i.length,o._name="Contents",o}}(),TextExpressionInterface=function(e){var t,r;function n(e){return"ADBE Text Document"===e?n.sourceText:null}return Object.defineProperty(n,"sourceText",{get:function(){e.textProperty.getValue();var n=e.textProperty.currentData.t;return n!==t&&(e.textProperty.currentData.t=t,(r=new String(n)).value=n||new String(n)),r}}),n},getBlendMode=(blendModeEnums={0:"source-over",1:"multiply",2:"screen",3:"overlay",4:"darken",5:"lighten",6:"color-dodge",7:"color-burn",8:"hard-light",9:"soft-light",10:"difference",11:"exclusion",12:"hue",13:"saturation",14:"color",15:"luminosity"},function(e){return blendModeEnums[e]||""});function SliderEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,0,0,r)}function AngleEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,0,0,r)}function ColorEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,1,0,r)}function PointEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,1,0,r)}function LayerIndexEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,0,0,r)}function MaskIndexEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,0,0,r)}function CheckboxEffect(e,t,r){this.p=PropertyFactory.getProp(t,e.v,0,0,r)}function NoValueEffect(){this.p={}}function EffectsManager(e,t){var r,n=e.ef||[];this.effectElements=[];var i,o=n.length;for(r=0;r<o;r+=1)i=new GroupEffect(n[r],t),this.effectElements.push(i)}function GroupEffect(e,t){this.init(e,t)}function BaseElement(){}function FrameElement(){}extendPrototype([DynamicPropertyContainer],GroupEffect),GroupEffect.prototype.getValue=GroupEffect.prototype.iterateDynamicProperties,GroupEffect.prototype.init=function(e,t){var r;this.data=e,this.effectElements=[],this.initDynamicPropertyContainer(t);var n,i=this.data.ef.length,o=this.data.ef;for(r=0;r<i;r+=1){switch(n=null,o[r].ty){case 0:n=new SliderEffect(o[r],t,this);break;case 1:n=new AngleEffect(o[r],t,this);break;case 2:n=new ColorEffect(o[r],t,this);break;case 3:n=new PointEffect(o[r],t,this);break;case 4:case 7:n=new CheckboxEffect(o[r],t,this);break;case 10:n=new LayerIndexEffect(o[r],t,this);break;case 11:n=new MaskIndexEffect(o[r],t,this);break;case 5:n=new EffectsManager(o[r],t,this);break;default:n=new NoValueEffect(o[r],t,this)}n&&this.effectElements.push(n)}},BaseElement.prototype={checkMasks:function(){if(!this.data.hasMask)return!1;for(var e=0,t=this.data.masksProperties.length;e<t;){if("n"!==this.data.masksProperties[e].mode&&!1!==this.data.masksProperties[e].cl)return!0;e+=1}return!1},initExpressions:function(){this.layerInterface=LayerExpressionInterface(this),this.data.hasMask&&this.maskManager&&this.layerInterface.registerMaskInterface(this.maskManager);var e=EffectsExpressionInterface.createEffectsInterface(this,this.layerInterface);this.layerInterface.registerEffectsInterface(e),0===this.data.ty||this.data.xt?this.compInterface=CompExpressionInterface(this):4===this.data.ty?(this.layerInterface.shapeInterface=ShapeExpressionInterface(this.shapesData,this.itemsData,this.layerInterface),this.layerInterface.content=this.layerInterface.shapeInterface):5===this.data.ty&&(this.layerInterface.textInterface=TextExpressionInterface(this),this.layerInterface.text=this.layerInterface.textInterface)},setBlendMode:function(){var e=getBlendMode(this.data.bm);(this.baseElement||this.layerElement).style["mix-blend-mode"]=e},initBaseData:function(e,t,r){this.globalData=t,this.comp=r,this.data=e,this.layerId=createElementID(),this.data.sr||(this.data.sr=1),this.effectsManager=new EffectsManager(this.data,this,this.dynamicProperties)},getType:function(){return this.type},sourceRectAtTime:function(){}},FrameElement.prototype={initFrame:function(){this._isFirstFrame=!1,this.dynamicProperties=[],this._mdf=!1},prepareProperties:function(e,t){var r,n=this.dynamicProperties.length;for(r=0;r<n;r+=1)(t||this._isParent&&"transform"===this.dynamicProperties[r].propType)&&(this.dynamicProperties[r].getValue(),this.dynamicProperties[r]._mdf&&(this.globalData._mdf=!0,this._mdf=!0))},addDynamicProperty:function(e){-1===this.dynamicProperties.indexOf(e)&&this.dynamicProperties.push(e)}};const FootageInterface=(dataInterfaceFactory=function(e){function t(e){return"Outline"===e?t.outlineInterface():null}return t._name="Outline",t.outlineInterface=function(e){var t="",r=e.getFootageData();function n(e){if(r[e])return t=e,"object"==typeof(r=r[e])?n:r;var i=e.indexOf(t);if(-1!==i){var o=parseInt(e.substr(i+t.length),10);return"object"==typeof(r=r[o])?n:r}return""}return function(){return t="",r=e.getFootageData(),n}}(e),t},function(e){function t(e){return"Data"===e?t.dataInterface:null}return t._name="Data",t.dataInterface=dataInterfaceFactory(e),t});function FootageElement(e,t,r){this.initFrame(),this.initRenderable(),this.assetData=t.getAssetData(e.refId),this.footageData=t.imageLoader.getAsset(this.assetData),this.initBaseData(e,t,r)}function AudioElement(e,t,r){this.initFrame(),this.initRenderable(),this.assetData=t.getAssetData(e.refId),this.initBaseData(e,t,r),this._isPlaying=!1,this._canPlay=!1;var n=this.globalData.getAssetsPath(this.assetData);this.audio=this.globalData.audioController.createAudio(n),this._currentTime=0,this.globalData.audioController.addAudio(this),this._volumeMultiplier=1,this._volume=1,this._previousVolume=null,this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0},this.lv=PropertyFactory.getProp(this,e.au&&e.au.lv?e.au.lv:{k:[100]},1,.01,this)}function BaseRenderer(){}function TransformElement(){}function MaskElement(e,t,r){this.data=e,this.element=t,this.globalData=r,this.storedData=[],this.masksProperties=this.data.masksProperties||[],this.maskElement=null;var n,i,o=this.globalData.defs,s=this.masksProperties?this.masksProperties.length:0;this.viewData=createSizedArray(s),this.solidPath="";var a,l,c,u,d,h,p=this.masksProperties,m=0,_=[],g=createElementID(),f="clipPath",v="clip-path";for(n=0;n<s;n+=1)if(("a"!==p[n].mode&&"n"!==p[n].mode||p[n].inv||100!==p[n].o.k||p[n].o.x)&&(f="mask",v="mask"),"s"!==p[n].mode&&"i"!==p[n].mode||0!==m?c=null:((c=createNS("rect")).setAttribute("fill","#ffffff"),c.setAttribute("width",this.element.comp.data.w||0),c.setAttribute("height",this.element.comp.data.h||0),_.push(c)),i=createNS("path"),"n"===p[n].mode)this.viewData[n]={op:PropertyFactory.getProp(this.element,p[n].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,p[n],3),elem:i,lastPath:""},o.appendChild(i);else{var b;if(m+=1,i.setAttribute("fill","s"===p[n].mode?"#000000":"#ffffff"),i.setAttribute("clip-rule","nonzero"),0!==p[n].x.k?(f="mask",v="mask",h=PropertyFactory.getProp(this.element,p[n].x,0,null,this.element),b=createElementID(),(u=createNS("filter")).setAttribute("id",b),(d=createNS("feMorphology")).setAttribute("operator","erode"),d.setAttribute("in","SourceGraphic"),d.setAttribute("radius","0"),u.appendChild(d),o.appendChild(u),i.setAttribute("stroke","s"===p[n].mode?"#000000":"#ffffff")):(d=null,h=null),this.storedData[n]={elem:i,x:h,expan:d,lastPath:"",lastOperator:"",filterId:b,lastRadius:0},"i"===p[n].mode){l=_.length;var y=createNS("g");for(a=0;a<l;a+=1)y.appendChild(_[a]);var $=createNS("mask");$.setAttribute("mask-type","alpha"),$.setAttribute("id",g+"_"+m),$.appendChild(i),o.appendChild($),y.setAttribute("mask","url("+getLocationHref()+"#"+g+"_"+m+")"),_.length=0,_.push(y)}else _.push(i);p[n].inv&&!this.solidPath&&(this.solidPath=this.createLayerSolidPath()),this.viewData[n]={elem:i,lastPath:"",op:PropertyFactory.getProp(this.element,p[n].o,0,.01,this.element),prop:ShapePropertyFactory.getShapeProp(this.element,p[n],3),invRect:c},this.viewData[n].prop.k||this.drawPath(p[n],this.viewData[n].prop.v,this.viewData[n])}for(this.maskElement=createNS(f),s=_.length,n=0;n<s;n+=1)this.maskElement.appendChild(_[n]);m>0&&(this.maskElement.setAttribute("id",g),this.element.maskedElement.setAttribute(v,"url("+getLocationHref()+"#"+g+")"),o.appendChild(this.maskElement)),this.viewData.length&&this.element.addRenderableComponent(this)}FootageElement.prototype.prepareFrame=function(){},extendPrototype([RenderableElement,BaseElement,FrameElement],FootageElement),FootageElement.prototype.getBaseElement=function(){return null},FootageElement.prototype.renderFrame=function(){},FootageElement.prototype.destroy=function(){},FootageElement.prototype.initExpressions=function(){this.layerInterface=FootageInterface(this)},FootageElement.prototype.getFootageData=function(){return this.footageData},AudioElement.prototype.prepareFrame=function(e){if(this.prepareRenderableFrame(e,!0),this.prepareProperties(e,!0),this.tm._placeholder)this._currentTime=e/this.data.sr;else{var t=this.tm.v;this._currentTime=t}this._volume=this.lv.v[0];var r=this._volume*this._volumeMultiplier;this._previousVolume!==r&&(this._previousVolume=r,this.audio.volume(r))},extendPrototype([RenderableElement,BaseElement,FrameElement],AudioElement),AudioElement.prototype.renderFrame=function(){this.isInRange&&this._canPlay&&(this._isPlaying?(!this.audio.playing()||Math.abs(this._currentTime/this.globalData.frameRate-this.audio.seek())>.1)&&this.audio.seek(this._currentTime/this.globalData.frameRate):(this.audio.play(),this.audio.seek(this._currentTime/this.globalData.frameRate),this._isPlaying=!0))},AudioElement.prototype.show=function(){},AudioElement.prototype.hide=function(){this.audio.pause(),this._isPlaying=!1},AudioElement.prototype.pause=function(){this.audio.pause(),this._isPlaying=!1,this._canPlay=!1},AudioElement.prototype.resume=function(){this._canPlay=!0},AudioElement.prototype.setRate=function(e){this.audio.rate(e)},AudioElement.prototype.volume=function(e){this._volumeMultiplier=e,this._previousVolume=e*this._volume,this.audio.volume(this._previousVolume)},AudioElement.prototype.getBaseElement=function(){return null},AudioElement.prototype.destroy=function(){},AudioElement.prototype.sourceRectAtTime=function(){},AudioElement.prototype.initExpressions=function(){},BaseRenderer.prototype.checkLayers=function(e){var t,r,n=this.layers.length;for(this.completeLayers=!0,t=n-1;t>=0;t-=1)this.elements[t]||(r=this.layers[t]).ip-r.st<=e-this.layers[t].st&&r.op-r.st>e-this.layers[t].st&&this.buildItem(t),this.completeLayers=!!this.elements[t]&&this.completeLayers;this.checkPendingElements()},BaseRenderer.prototype.createItem=function(e){switch(e.ty){case 2:return this.createImage(e);case 0:return this.createComp(e);case 1:return this.createSolid(e);case 3:default:return this.createNull(e);case 4:return this.createShape(e);case 5:return this.createText(e);case 6:return this.createAudio(e);case 13:return this.createCamera(e);case 15:return this.createFootage(e)}},BaseRenderer.prototype.createCamera=function(){throw new Error("You're using a 3d camera. Try the html renderer.")},BaseRenderer.prototype.createAudio=function(e){return new AudioElement(e,this.globalData,this)},BaseRenderer.prototype.createFootage=function(e){return new FootageElement(e,this.globalData,this)},BaseRenderer.prototype.buildAllItems=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)this.buildItem(e);this.checkPendingElements()},BaseRenderer.prototype.includeLayers=function(e){var t;this.completeLayers=!1;var r,n=e.length,i=this.layers.length;for(t=0;t<n;t+=1)for(r=0;r<i;){if(this.layers[r].id===e[t].id){this.layers[r]=e[t];break}r+=1}},BaseRenderer.prototype.setProjectInterface=function(e){this.globalData.projectInterface=e},BaseRenderer.prototype.initItems=function(){this.globalData.progressiveLoad||this.buildAllItems()},BaseRenderer.prototype.buildElementParenting=function(e,t,r){for(var n=this.elements,i=this.layers,o=0,s=i.length;o<s;)i[o].ind==t&&(n[o]&&!0!==n[o]?(r.push(n[o]),n[o].setAsParent(),void 0!==i[o].parent?this.buildElementParenting(e,i[o].parent,r):e.setHierarchy(r)):(this.buildItem(o),this.addPendingElement(e))),o+=1},BaseRenderer.prototype.addPendingElement=function(e){this.pendingElements.push(e)},BaseRenderer.prototype.searchExtraCompositions=function(e){var t,r=e.length;for(t=0;t<r;t+=1)if(e[t].xt){var n=this.createComp(e[t]);n.initExpressions(),this.globalData.projectInterface.registerComposition(n)}},BaseRenderer.prototype.getElementByPath=function(e){var t,r=e.shift();if("number"==typeof r)t=this.elements[r];else{var n,i=this.elements.length;for(n=0;n<i;n+=1)if(this.elements[n].data.nm===r){t=this.elements[n];break}}return 0===e.length?t:t.getElementByPath(e)},BaseRenderer.prototype.setupGlobalData=function(e,t){this.globalData.fontManager=new FontManager,this.globalData.fontManager.addChars(e.chars),this.globalData.fontManager.addFonts(e.fonts,t),this.globalData.getAssetData=this.animationItem.getAssetData.bind(this.animationItem),this.globalData.getAssetsPath=this.animationItem.getAssetsPath.bind(this.animationItem),this.globalData.imageLoader=this.animationItem.imagePreloader,this.globalData.audioController=this.animationItem.audioController,this.globalData.frameId=0,this.globalData.frameRate=e.fr,this.globalData.nm=e.nm,this.globalData.compSize={w:e.w,h:e.h}},TransformElement.prototype={initTransform:function(){this.finalTransform={mProp:this.data.ks?TransformPropertyFactory.getTransformProperty(this,this.data.ks,this):{o:0},_matMdf:!1,_opMdf:!1,mat:new Matrix},this.data.ao&&(this.finalTransform.mProp.autoOriented=!0),this.data.ty},renderTransform:function(){if(this.finalTransform._opMdf=this.finalTransform.mProp.o._mdf||this._isFirstFrame,this.finalTransform._matMdf=this.finalTransform.mProp._mdf||this._isFirstFrame,this.hierarchy){var e,t=this.finalTransform.mat,r=0,n=this.hierarchy.length;if(!this.finalTransform._matMdf)for(;r<n;){if(this.hierarchy[r].finalTransform.mProp._mdf){this.finalTransform._matMdf=!0;break}r+=1}if(this.finalTransform._matMdf)for(e=this.finalTransform.mProp.v.props,t.cloneFromProps(e),r=0;r<n;r+=1)e=this.hierarchy[r].finalTransform.mProp.v.props,t.transform(e[0],e[1],e[2],e[3],e[4],e[5],e[6],e[7],e[8],e[9],e[10],e[11],e[12],e[13],e[14],e[15])}},globalToLocal:function(e){var t=[];t.push(this.finalTransform);for(var r,n=!0,i=this.comp;n;)i.finalTransform?(i.data.hasMask&&t.splice(0,0,i.finalTransform),i=i.comp):n=!1;var o,s=t.length;for(r=0;r<s;r+=1)o=t[r].mat.applyToPointArray(0,0,0),e=[e[0]-o[0],e[1]-o[1],0];return e},mHelper:new Matrix},MaskElement.prototype.getMaskProperty=function(e){return this.viewData[e].prop},MaskElement.prototype.renderFrame=function(e){var t,r=this.element.finalTransform.mat,n=this.masksProperties.length;for(t=0;t<n;t+=1)if((this.viewData[t].prop._mdf||e)&&this.drawPath(this.masksProperties[t],this.viewData[t].prop.v,this.viewData[t]),(this.viewData[t].op._mdf||e)&&this.viewData[t].elem.setAttribute("fill-opacity",this.viewData[t].op.v),"n"!==this.masksProperties[t].mode&&(this.viewData[t].invRect&&(this.element.finalTransform.mProp._mdf||e)&&this.viewData[t].invRect.setAttribute("transform",r.getInverseMatrix().to2dCSS()),this.storedData[t].x&&(this.storedData[t].x._mdf||e))){var i=this.storedData[t].expan;this.storedData[t].x.v<0?("erode"!==this.storedData[t].lastOperator&&(this.storedData[t].lastOperator="erode",this.storedData[t].elem.setAttribute("filter","url("+getLocationHref()+"#"+this.storedData[t].filterId+")")),i.setAttribute("radius",-this.storedData[t].x.v)):("dilate"!==this.storedData[t].lastOperator&&(this.storedData[t].lastOperator="dilate",this.storedData[t].elem.setAttribute("filter",null)),this.storedData[t].elem.setAttribute("stroke-width",2*this.storedData[t].x.v))}},MaskElement.prototype.getMaskelement=function(){return this.maskElement},MaskElement.prototype.createLayerSolidPath=function(){var e="M0,0 ";return e+=" h"+this.globalData.compSize.w,e+=" v"+this.globalData.compSize.h,e+=" h-"+this.globalData.compSize.w,e+=" v-"+this.globalData.compSize.h+" "},MaskElement.prototype.drawPath=function(e,t,r){var n,i,o=" M"+t.v[0][0]+","+t.v[0][1];for(i=t._length,n=1;n<i;n+=1)o+=" C"+t.o[n-1][0]+","+t.o[n-1][1]+" "+t.i[n][0]+","+t.i[n][1]+" "+t.v[n][0]+","+t.v[n][1];if(t.c&&i>1&&(o+=" C"+t.o[n-1][0]+","+t.o[n-1][1]+" "+t.i[0][0]+","+t.i[0][1]+" "+t.v[0][0]+","+t.v[0][1]),r.lastPath!==o){var s="";r.elem&&(t.c&&(s=e.inv?this.solidPath+o:o),r.elem.setAttribute("d",s)),r.lastPath=o}},MaskElement.prototype.destroy=function(){this.element=null,this.globalData=null,this.maskElement=null,this.data=null,this.masksProperties=null};const filtersFactory=function(){var e={};return e.createFilter=function(e,t){var r=createNS("filter");r.setAttribute("id",e),!0!==t&&(r.setAttribute("filterUnits","objectBoundingBox"),r.setAttribute("x","0%"),r.setAttribute("y","0%"),r.setAttribute("width","100%"),r.setAttribute("height","100%"));return r},e.createAlphaToLuminanceFilter=function(){var e=createNS("feColorMatrix");return e.setAttribute("type","matrix"),e.setAttribute("color-interpolation-filters","sRGB"),e.setAttribute("values","0 0 0 1 0  0 0 0 1 0  0 0 0 1 0  0 0 0 1 1"),e},e}(),featureSupport=function(){var e={maskType:!0};return(/MSIE 10/i.test(navigator.userAgent)||/MSIE 9/i.test(navigator.userAgent)||/rv:11.0/i.test(navigator.userAgent)||/Edge\/\d./i.test(navigator.userAgent))&&(e.maskType=!1),e}();var registeredEffects={},idPrefix="filter_result_";function SVGEffects(e){var t,r,n="SourceGraphic",i=e.data.ef?e.data.ef.length:0,o=createElementID(),s=filtersFactory.createFilter(o,!0),a=0;for(this.filters=[],t=0;t<i;t+=1){r=null;var l=e.data.ef[t].ty;if(registeredEffects[l])r=new(0,registeredEffects[l].effect)(s,e.effectsManager.effectElements[t],e,idPrefix+a,n),n=idPrefix+a,registeredEffects[l].countsAsEffect&&(a+=1);r&&this.filters.push(r)}a&&(e.globalData.defs.appendChild(s),e.layerElement.setAttribute("filter","url("+getLocationHref()+"#"+o+")")),this.filters.length&&e.addRenderableComponent(this)}function registerEffect(e,t,r){registeredEffects[e]={effect:t,countsAsEffect:r}}function SVGBaseElement(){}function HierarchyElement(){}function RenderableDOMElement(){}function IImageElement(e,t,r){this.assetData=t.getAssetData(e.refId),this.initElement(e,t,r),this.sourceRect={top:0,left:0,width:this.assetData.w,height:this.assetData.h}}function ProcessedElement(e,t){this.elem=e,this.pos=t}function IShapeElement(){}SVGEffects.prototype.renderFrame=function(e){var t,r=this.filters.length;for(t=0;t<r;t+=1)this.filters[t].renderFrame(e)},SVGBaseElement.prototype={initRendererElement:function(){this.layerElement=createNS("g")},createContainerElements:function(){this.matteElement=createNS("g"),this.transformedElement=this.layerElement,this.maskedElement=this.layerElement,this._sizeChanged=!1;var e,t,r,n=null;if(this.data.td){if(3==this.data.td||1==this.data.td){var i=createNS("mask");i.setAttribute("id",this.layerId),i.setAttribute("mask-type",3==this.data.td?"luminance":"alpha"),i.appendChild(this.layerElement),n=i,this.globalData.defs.appendChild(i),featureSupport.maskType||1!=this.data.td||(i.setAttribute("mask-type","luminance"),e=createElementID(),t=filtersFactory.createFilter(e),this.globalData.defs.appendChild(t),t.appendChild(filtersFactory.createAlphaToLuminanceFilter()),(r=createNS("g")).appendChild(this.layerElement),n=r,i.appendChild(r),r.setAttribute("filter","url("+getLocationHref()+"#"+e+")"))}else if(2==this.data.td){var o=createNS("mask");o.setAttribute("id",this.layerId),o.setAttribute("mask-type","alpha");var s=createNS("g");o.appendChild(s),e=createElementID(),t=filtersFactory.createFilter(e);var a=createNS("feComponentTransfer");a.setAttribute("in","SourceGraphic"),t.appendChild(a);var l=createNS("feFuncA");l.setAttribute("type","table"),l.setAttribute("tableValues","1.0 0.0"),a.appendChild(l),this.globalData.defs.appendChild(t);var c=createNS("rect");c.setAttribute("width",this.comp.data.w),c.setAttribute("height",this.comp.data.h),c.setAttribute("x","0"),c.setAttribute("y","0"),c.setAttribute("fill","#ffffff"),c.setAttribute("opacity","0"),s.setAttribute("filter","url("+getLocationHref()+"#"+e+")"),s.appendChild(c),s.appendChild(this.layerElement),n=s,featureSupport.maskType||(o.setAttribute("mask-type","luminance"),t.appendChild(filtersFactory.createAlphaToLuminanceFilter()),r=createNS("g"),s.appendChild(c),r.appendChild(this.layerElement),n=r,s.appendChild(r)),this.globalData.defs.appendChild(o)}}else this.data.tt?(this.matteElement.appendChild(this.layerElement),n=this.matteElement,this.baseElement=this.matteElement):this.baseElement=this.layerElement;if(this.data.ln&&this.layerElement.setAttribute("id",this.data.ln),this.data.cl&&this.layerElement.setAttribute("class",this.data.cl),0===this.data.ty&&!this.data.hd){var u=createNS("clipPath"),d=createNS("path");d.setAttribute("d","M0,0 L"+this.data.w+",0 L"+this.data.w+","+this.data.h+" L0,"+this.data.h+"z");var h=createElementID();if(u.setAttribute("id",h),u.appendChild(d),this.globalData.defs.appendChild(u),this.checkMasks()){var p=createNS("g");p.setAttribute("clip-path","url("+getLocationHref()+"#"+h+")"),p.appendChild(this.layerElement),this.transformedElement=p,n?n.appendChild(this.transformedElement):this.baseElement=this.transformedElement}else this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+h+")")}0!==this.data.bm&&this.setBlendMode()},renderElement:function(){this.finalTransform._matMdf&&this.transformedElement.setAttribute("transform",this.finalTransform.mat.to2dCSS()),this.finalTransform._opMdf&&this.transformedElement.setAttribute("opacity",this.finalTransform.mProp.o.v)},destroyBaseElement:function(){this.layerElement=null,this.matteElement=null,this.maskManager.destroy()},getBaseElement:function(){return this.data.hd?null:this.baseElement},createRenderableComponents:function(){this.maskManager=new MaskElement(this.data,this,this.globalData),this.renderableEffectsManager=new SVGEffects(this)},setMatte:function(e){this.matteElement&&this.matteElement.setAttribute("mask","url("+getLocationHref()+"#"+e+")")}},HierarchyElement.prototype={initHierarchy:function(){this.hierarchy=[],this._isParent=!1,this.checkParenting()},setHierarchy:function(e){this.hierarchy=e},setAsParent:function(){this._isParent=!0},checkParenting:function(){void 0!==this.data.parent&&this.comp.buildElementParenting(this,this.data.parent,[])}},extendPrototype([RenderableElement,createProxyFunction({initElement:function(e,t,r){this.initFrame(),this.initBaseData(e,t,r),this.initTransform(e,t,r),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide()},hide:function(){this.hidden||this.isInRange&&!this.isTransparent||((this.baseElement||this.layerElement).style.display="none",this.hidden=!0)},show:function(){this.isInRange&&!this.isTransparent&&(this.data.hd||((this.baseElement||this.layerElement).style.display="block"),this.hidden=!1,this._isFirstFrame=!0)},renderFrame:function(){this.data.hd||this.hidden||(this.renderTransform(),this.renderRenderable(),this.renderElement(),this.renderInnerContent(),this._isFirstFrame&&(this._isFirstFrame=!1))},renderInnerContent:function(){},prepareFrame:function(e){this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),this.checkTransparency()},destroy:function(){this.innerElem=null,this.destroyBaseElement()}})],RenderableDOMElement),extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement],IImageElement),IImageElement.prototype.createContent=function(){var e=this.globalData.getAssetsPath(this.assetData);this.innerElem=createNS("image"),this.innerElem.setAttribute("width",this.assetData.w+"px"),this.innerElem.setAttribute("height",this.assetData.h+"px"),this.innerElem.setAttribute("preserveAspectRatio",this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio),this.innerElem.setAttributeNS("http://www.w3.org/1999/xlink","href",e),this.layerElement.appendChild(this.innerElem)},IImageElement.prototype.sourceRectAtTime=function(){return this.sourceRect},IShapeElement.prototype={addShapeToModifiers:function(e){var t,r=this.shapeModifiers.length;for(t=0;t<r;t+=1)this.shapeModifiers[t].addShape(e)},isShapeInAnimatedModifiers:function(e){for(var t=this.shapeModifiers.length;0<t;)if(this.shapeModifiers[0].isAnimatedWithShape(e))return!0;return!1},renderModifiers:function(){if(this.shapeModifiers.length){var e,t=this.shapes.length;for(e=0;e<t;e+=1)this.shapes[e].sh.reset();for(e=(t=this.shapeModifiers.length)-1;e>=0&&!this.shapeModifiers[e].processShapes(this._isFirstFrame);e-=1);}},searchProcessedElement:function(e){for(var t=this.processedElements,r=0,n=t.length;r<n;){if(t[r].elem===e)return t[r].pos;r+=1}return 0},addProcessedElement:function(e,t){for(var r=this.processedElements,n=r.length;n;)if(r[n-=1].elem===e)return void(r[n].pos=t);r.push(new ProcessedElement(e,t))},prepareFrame:function(e){this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange)}};const lineCapEnum={1:"butt",2:"round",3:"square"},lineJoinEnum={1:"miter",2:"round",3:"bevel"};function SVGShapeData(e,t,r){this.caches=[],this.styles=[],this.transformers=e,this.lStr="",this.sh=r,this.lvl=t,this._isAnimated=!!r.k;for(var n=0,i=e.length;n<i;){if(e[n].mProps.dynamicProperties.length){this._isAnimated=!0;break}n+=1}}function SVGStyleData(e,t){this.data=e,this.type=e.ty,this.d="",this.lvl=t,this._mdf=!1,this.closed=!0===e.hd,this.pElem=createNS("path"),this.msElem=null}function DashProperty(e,t,r,n){var i;this.elem=e,this.frameId=-1,this.dataProps=createSizedArray(t.length),this.renderer=r,this.k=!1,this.dashStr="",this.dashArray=createTypedArray("float32",t.length?t.length-1:0),this.dashoffset=createTypedArray("float32",1),this.initDynamicPropertyContainer(n);var o,s=t.length||0;for(i=0;i<s;i+=1)o=PropertyFactory.getProp(e,t[i].v,0,0,this),this.k=o.k||this.k,this.dataProps[i]={n:t[i].n,p:o};this.k||this.getValue(!0),this._isAnimated=this.k}function SVGStrokeStyleData(e,t,r){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.w=PropertyFactory.getProp(e,t.w,0,null,this),this.d=new DashProperty(e,t.d||{},"svg",this),this.c=PropertyFactory.getProp(e,t.c,1,255,this),this.style=r,this._isAnimated=!!this._isAnimated}function SVGFillStyleData(e,t,r){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.c=PropertyFactory.getProp(e,t.c,1,255,this),this.style=r}function SVGNoStyleData(e,t,r){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.style=r}function GradientProperty(e,t,r){this.data=t,this.c=createTypedArray("uint8c",4*t.p);var n=t.k.k[0].s?t.k.k[0].s.length-4*t.p:t.k.k.length-4*t.p;this.o=createTypedArray("float32",n),this._cmdf=!1,this._omdf=!1,this._collapsable=this.checkCollapsable(),this._hasOpacity=n,this.initDynamicPropertyContainer(r),this.prop=PropertyFactory.getProp(e,t.k,1,null,this),this.k=this.prop.k,this.getValue(!0)}function SVGGradientFillStyleData(e,t,r){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.initGradientData(e,t,r)}function SVGGradientStrokeStyleData(e,t,r){this.initDynamicPropertyContainer(e),this.getValue=this.iterateDynamicProperties,this.w=PropertyFactory.getProp(e,t.w,0,null,this),this.d=new DashProperty(e,t.d||{},"svg",this),this.initGradientData(e,t,r),this._isAnimated=!!this._isAnimated}function ShapeGroupData(){this.it=[],this.prevViewData=[],this.gr=createNS("g")}function SVGTransformData(e,t,r){this.transform={mProps:e,op:t,container:r},this.elements=[],this._isAnimated=this.transform.mProps.dynamicProperties.length||this.transform.op.effectsSequence.length}SVGShapeData.prototype.setAsAnimated=function(){this._isAnimated=!0},SVGStyleData.prototype.reset=function(){this.d="",this._mdf=!1},DashProperty.prototype.getValue=function(e){if((this.elem.globalData.frameId!==this.frameId||e)&&(this.frameId=this.elem.globalData.frameId,this.iterateDynamicProperties(),this._mdf=this._mdf||e,this._mdf)){var t=0,r=this.dataProps.length;for("svg"===this.renderer&&(this.dashStr=""),t=0;t<r;t+=1)"o"!==this.dataProps[t].n?"svg"===this.renderer?this.dashStr+=" "+this.dataProps[t].p.v:this.dashArray[t]=this.dataProps[t].p.v:this.dashoffset[0]=this.dataProps[t].p.v}},extendPrototype([DynamicPropertyContainer],DashProperty),extendPrototype([DynamicPropertyContainer],SVGStrokeStyleData),extendPrototype([DynamicPropertyContainer],SVGFillStyleData),extendPrototype([DynamicPropertyContainer],SVGNoStyleData),GradientProperty.prototype.comparePoints=function(e,t){for(var r=0,n=this.o.length/2;r<n;){if(Math.abs(e[4*r]-e[4*t+2*r])>.01)return!1;r+=1}return!0},GradientProperty.prototype.checkCollapsable=function(){if(this.o.length/2!=this.c.length/4)return!1;if(this.data.k.k[0].s)for(var e=0,t=this.data.k.k.length;e<t;){if(!this.comparePoints(this.data.k.k[e].s,this.data.p))return!1;e+=1}else if(!this.comparePoints(this.data.k.k,this.data.p))return!1;return!0},GradientProperty.prototype.getValue=function(e){if(this.prop.getValue(),this._mdf=!1,this._cmdf=!1,this._omdf=!1,this.prop._mdf||e){var t,r,n,i=4*this.data.p;for(t=0;t<i;t+=1)r=t%4==0?100:255,n=Math.round(this.prop.v[t]*r),this.c[t]!==n&&(this.c[t]=n,this._cmdf=!e);if(this.o.length)for(i=this.prop.v.length,t=4*this.data.p;t<i;t+=1)r=t%2==0?100:1,n=t%2==0?Math.round(100*this.prop.v[t]):this.prop.v[t],this.o[t-4*this.data.p]!==n&&(this.o[t-4*this.data.p]=n,this._omdf=!e);this._mdf=!e}},extendPrototype([DynamicPropertyContainer],GradientProperty),SVGGradientFillStyleData.prototype.initGradientData=function(e,t,r){this.o=PropertyFactory.getProp(e,t.o,0,.01,this),this.s=PropertyFactory.getProp(e,t.s,1,null,this),this.e=PropertyFactory.getProp(e,t.e,1,null,this),this.h=PropertyFactory.getProp(e,t.h||{k:0},0,.01,this),this.a=PropertyFactory.getProp(e,t.a||{k:0},0,degToRads,this),this.g=new GradientProperty(e,t.g,this),this.style=r,this.stops=[],this.setGradientData(r.pElem,t),this.setGradientOpacity(t,r),this._isAnimated=!!this._isAnimated},SVGGradientFillStyleData.prototype.setGradientData=function(e,t){var r=createElementID(),n=createNS(1===t.t?"linearGradient":"radialGradient");n.setAttribute("id",r),n.setAttribute("spreadMethod","pad"),n.setAttribute("gradientUnits","userSpaceOnUse");var i,o,s,a=[];for(s=4*t.g.p,o=0;o<s;o+=4)i=createNS("stop"),n.appendChild(i),a.push(i);e.setAttribute("gf"===t.ty?"fill":"stroke","url("+getLocationHref()+"#"+r+")"),this.gf=n,this.cst=a},SVGGradientFillStyleData.prototype.setGradientOpacity=function(e,t){if(this.g._hasOpacity&&!this.g._collapsable){var r,n,i,o=createNS("mask"),s=createNS("path");o.appendChild(s);var a=createElementID(),l=createElementID();o.setAttribute("id",l);var c=createNS(1===e.t?"linearGradient":"radialGradient");c.setAttribute("id",a),c.setAttribute("spreadMethod","pad"),c.setAttribute("gradientUnits","userSpaceOnUse"),i=e.g.k.k[0].s?e.g.k.k[0].s.length:e.g.k.k.length;var u=this.stops;for(n=4*e.g.p;n<i;n+=2)(r=createNS("stop")).setAttribute("stop-color","rgb(255,255,255)"),c.appendChild(r),u.push(r);s.setAttribute("gf"===e.ty?"fill":"stroke","url("+getLocationHref()+"#"+a+")"),"gs"===e.ty&&(s.setAttribute("stroke-linecap",lineCapEnum[e.lc||2]),s.setAttribute("stroke-linejoin",lineJoinEnum[e.lj||2]),1===e.lj&&s.setAttribute("stroke-miterlimit",e.ml)),this.of=c,this.ms=o,this.ost=u,this.maskId=l,t.msElem=s}},extendPrototype([DynamicPropertyContainer],SVGGradientFillStyleData),extendPrototype([SVGGradientFillStyleData,DynamicPropertyContainer],SVGGradientStrokeStyleData);const buildShapeString=function(e,t,r,n){if(0===t)return"";var i,o=e.o,s=e.i,a=e.v,l=" M"+n.applyToPointStringified(a[0][0],a[0][1]);for(i=1;i<t;i+=1)l+=" C"+n.applyToPointStringified(o[i-1][0],o[i-1][1])+" "+n.applyToPointStringified(s[i][0],s[i][1])+" "+n.applyToPointStringified(a[i][0],a[i][1]);return r&&t&&(l+=" C"+n.applyToPointStringified(o[i-1][0],o[i-1][1])+" "+n.applyToPointStringified(s[0][0],s[0][1])+" "+n.applyToPointStringified(a[0][0],a[0][1]),l+="z"),l},SVGElementsRenderer=function(){var e=new Matrix,t=new Matrix;function r(e,t,r){(r||t.transform.op._mdf)&&t.transform.container.setAttribute("opacity",t.transform.op.v),(r||t.transform.mProps._mdf)&&t.transform.container.setAttribute("transform",t.transform.mProps.v.to2dCSS())}function n(){}function i(r,n,i){var o,s,a,l,c,u,d,h,p,m,_,g=n.styles.length,f=n.lvl;for(u=0;u<g;u+=1){if(l=n.sh._mdf||i,n.styles[u].lvl<f){for(h=t.reset(),m=f-n.styles[u].lvl,_=n.transformers.length-1;!l&&m>0;)l=n.transformers[_].mProps._mdf||l,m-=1,_-=1;if(l)for(m=f-n.styles[u].lvl,_=n.transformers.length-1;m>0;)p=n.transformers[_].mProps.v.props,h.transform(p[0],p[1],p[2],p[3],p[4],p[5],p[6],p[7],p[8],p[9],p[10],p[11],p[12],p[13],p[14],p[15]),m-=1,_-=1}else h=e;if(s=(d=n.sh.paths)._length,l){for(a="",o=0;o<s;o+=1)(c=d.shapes[o])&&c._length&&(a+=buildShapeString(c,c._length,c.c,h));n.caches[u]=a}else a=n.caches[u];n.styles[u].d+=!0===r.hd?"":a,n.styles[u]._mdf=l||n.styles[u]._mdf}}function o(e,t,r){var n=t.style;(t.c._mdf||r)&&n.pElem.setAttribute("fill","rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||r)&&n.pElem.setAttribute("fill-opacity",t.o.v)}function s(e,t,r){a(e,t,r),l(e,t,r)}function a(e,t,r){var n,i,o,s,a,l=t.gf,c=t.g._hasOpacity,u=t.s.v,d=t.e.v;if(t.o._mdf||r){var h="gf"===e.ty?"fill-opacity":"stroke-opacity";t.style.pElem.setAttribute(h,t.o.v)}if(t.s._mdf||r){var p=1===e.t?"x1":"cx",m="x1"===p?"y1":"cy";l.setAttribute(p,u[0]),l.setAttribute(m,u[1]),c&&!t.g._collapsable&&(t.of.setAttribute(p,u[0]),t.of.setAttribute(m,u[1]))}if(t.g._cmdf||r){n=t.cst;var _=t.g.c;for(o=n.length,i=0;i<o;i+=1)(s=n[i]).setAttribute("offset",_[4*i]+"%"),s.setAttribute("stop-color","rgb("+_[4*i+1]+","+_[4*i+2]+","+_[4*i+3]+")")}if(c&&(t.g._omdf||r)){var g=t.g.o;for(o=(n=t.g._collapsable?t.cst:t.ost).length,i=0;i<o;i+=1)s=n[i],t.g._collapsable||s.setAttribute("offset",g[2*i]+"%"),s.setAttribute("stop-opacity",g[2*i+1])}if(1===e.t)(t.e._mdf||r)&&(l.setAttribute("x2",d[0]),l.setAttribute("y2",d[1]),c&&!t.g._collapsable&&(t.of.setAttribute("x2",d[0]),t.of.setAttribute("y2",d[1])));else if((t.s._mdf||t.e._mdf||r)&&(a=Math.sqrt(Math.pow(u[0]-d[0],2)+Math.pow(u[1]-d[1],2)),l.setAttribute("r",a),c&&!t.g._collapsable&&t.of.setAttribute("r",a)),t.e._mdf||t.h._mdf||t.a._mdf||r){a||(a=Math.sqrt(Math.pow(u[0]-d[0],2)+Math.pow(u[1]-d[1],2)));var f=Math.atan2(d[1]-u[1],d[0]-u[0]),v=t.h.v;v>=1?v=.99:v<=-1&&(v=-.99);var b=a*v,y=Math.cos(f+t.a.v)*b+u[0],$=Math.sin(f+t.a.v)*b+u[1];l.setAttribute("fx",y),l.setAttribute("fy",$),c&&!t.g._collapsable&&(t.of.setAttribute("fx",y),t.of.setAttribute("fy",$))}}function l(e,t,r){var n=t.style,i=t.d;i&&(i._mdf||r)&&i.dashStr&&(n.pElem.setAttribute("stroke-dasharray",i.dashStr),n.pElem.setAttribute("stroke-dashoffset",i.dashoffset[0])),t.c&&(t.c._mdf||r)&&n.pElem.setAttribute("stroke","rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||r)&&n.pElem.setAttribute("stroke-opacity",t.o.v),(t.w._mdf||r)&&(n.pElem.setAttribute("stroke-width",t.w.v),n.msElem&&n.msElem.setAttribute("stroke-width",t.w.v))}return{createRenderFunction:function(e){switch(e.ty){case"fl":return o;case"gf":return a;case"gs":return s;case"st":return l;case"sh":case"el":case"rc":case"sr":return i;case"tr":return r;case"no":return n;default:return null}}}}();function SVGShapeElement(e,t,r){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.shapeModifiers=[],this.itemsData=[],this.processedElements=[],this.animatedContents=[],this.initElement(e,t,r),this.prevViewData=[]}function LetterProps(e,t,r,n,i,o){this.o=e,this.sw=t,this.sc=r,this.fc=n,this.m=i,this.p=o,this._mdf={o:!0,sw:!!t,sc:!!r,fc:!!n,m:!0,p:!0}}function TextProperty(e,t){this._frameId=initialDefaultFrame,this.pv="",this.v="",this.kf=!1,this._isFirstFrame=!0,this._mdf=!1,this.data=t,this.elem=e,this.comp=this.elem.comp,this.keysIndex=0,this.canResize=!1,this.minimumFontSize=1,this.effectsSequence=[],this.currentData={ascent:0,boxWidth:this.defaultBoxWidth,f:"",fStyle:"",fWeight:"",fc:"",j:"",justifyOffset:"",l:[],lh:0,lineWidths:[],ls:"",of:"",s:"",sc:"",sw:0,t:0,tr:0,sz:0,ps:null,fillColorAnim:!1,strokeColorAnim:!1,strokeWidthAnim:!1,yOffset:0,finalSize:0,finalText:[],finalLineHeight:0,__complete:!1},this.copyData(this.currentData,this.data.d.k[0].s),this.searchProperty()||this.completeTextData(this.currentData)}extendPrototype([BaseElement,TransformElement,SVGBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableDOMElement],SVGShapeElement),SVGShapeElement.prototype.initSecondaryElement=function(){},SVGShapeElement.prototype.identityMatrix=new Matrix,SVGShapeElement.prototype.buildExpressionInterface=function(){},SVGShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes()},SVGShapeElement.prototype.filterUniqueShapes=function(){var e,t,r,n,i=this.shapes.length,o=this.stylesList.length,s=[],a=!1;for(r=0;r<o;r+=1){for(n=this.stylesList[r],a=!1,s.length=0,e=0;e<i;e+=1)-1!==(t=this.shapes[e]).styles.indexOf(n)&&(s.push(t),a=t._isAnimated||a);s.length>1&&a&&this.setShapesAsAnimated(s)}},SVGShapeElement.prototype.setShapesAsAnimated=function(e){var t,r=e.length;for(t=0;t<r;t+=1)e[t].setAsAnimated()},SVGShapeElement.prototype.createStyleElement=function(e,t){var r,n=new SVGStyleData(e,t),i=n.pElem;if("st"===e.ty)r=new SVGStrokeStyleData(this,e,n);else if("fl"===e.ty)r=new SVGFillStyleData(this,e,n);else if("gf"===e.ty||"gs"===e.ty){r=new("gf"===e.ty?SVGGradientFillStyleData:SVGGradientStrokeStyleData)(this,e,n),this.globalData.defs.appendChild(r.gf),r.maskId&&(this.globalData.defs.appendChild(r.ms),this.globalData.defs.appendChild(r.of),i.setAttribute("mask","url("+getLocationHref()+"#"+r.maskId+")"))}else"no"===e.ty&&(r=new SVGNoStyleData(this,e,n));return"st"!==e.ty&&"gs"!==e.ty||(i.setAttribute("stroke-linecap",lineCapEnum[e.lc||2]),i.setAttribute("stroke-linejoin",lineJoinEnum[e.lj||2]),i.setAttribute("fill-opacity","0"),1===e.lj&&i.setAttribute("stroke-miterlimit",e.ml)),2===e.r&&i.setAttribute("fill-rule","evenodd"),e.ln&&i.setAttribute("id",e.ln),e.cl&&i.setAttribute("class",e.cl),e.bm&&(i.style["mix-blend-mode"]=getBlendMode(e.bm)),this.stylesList.push(n),this.addToAnimatedContents(e,r),r},SVGShapeElement.prototype.createGroupElement=function(e){var t=new ShapeGroupData;return e.ln&&t.gr.setAttribute("id",e.ln),e.cl&&t.gr.setAttribute("class",e.cl),e.bm&&(t.gr.style["mix-blend-mode"]=getBlendMode(e.bm)),t},SVGShapeElement.prototype.createTransformElement=function(e,t){var r=TransformPropertyFactory.getTransformProperty(this,e,this),n=new SVGTransformData(r,r.o,t);return this.addToAnimatedContents(e,n),n},SVGShapeElement.prototype.createShapeElement=function(e,t,r){var n=4;"rc"===e.ty?n=5:"el"===e.ty?n=6:"sr"===e.ty&&(n=7);var i=new SVGShapeData(t,r,ShapePropertyFactory.getShapeProp(this,e,n,this));return this.shapes.push(i),this.addShapeToModifiers(i),this.addToAnimatedContents(e,i),i},SVGShapeElement.prototype.addToAnimatedContents=function(e,t){for(var r=0,n=this.animatedContents.length;r<n;){if(this.animatedContents[r].element===t)return;r+=1}this.animatedContents.push({fn:SVGElementsRenderer.createRenderFunction(e),element:t,data:e})},SVGShapeElement.prototype.setElementStyles=function(e){var t,r=e.styles,n=this.stylesList.length;for(t=0;t<n;t+=1)this.stylesList[t].closed||r.push(this.stylesList[t])},SVGShapeElement.prototype.reloadShapes=function(){var e;this._isFirstFrame=!0;var t=this.itemsData.length;for(e=0;e<t;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,this.layerElement,0,[],!0),this.filterUniqueShapes(),t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers()},SVGShapeElement.prototype.searchShapes=function(e,t,r,n,i,o,s){var a,l,c,u,d,h,p=[].concat(o),m=e.length-1,_=[],g=[];for(a=m;a>=0;a-=1){if((h=this.searchProcessedElement(e[a]))?t[a]=r[h-1]:e[a]._render=s,"fl"===e[a].ty||"st"===e[a].ty||"gf"===e[a].ty||"gs"===e[a].ty||"no"===e[a].ty)h?t[a].style.closed=!1:t[a]=this.createStyleElement(e[a],i),e[a]._render&&t[a].style.pElem.parentNode!==n&&n.appendChild(t[a].style.pElem),_.push(t[a].style);else if("gr"===e[a].ty){if(h)for(c=t[a].it.length,l=0;l<c;l+=1)t[a].prevViewData[l]=t[a].it[l];else t[a]=this.createGroupElement(e[a]);this.searchShapes(e[a].it,t[a].it,t[a].prevViewData,t[a].gr,i+1,p,s),e[a]._render&&t[a].gr.parentNode!==n&&n.appendChild(t[a].gr)}else"tr"===e[a].ty?(h||(t[a]=this.createTransformElement(e[a],n)),u=t[a].transform,p.push(u)):"sh"===e[a].ty||"rc"===e[a].ty||"el"===e[a].ty||"sr"===e[a].ty?(h||(t[a]=this.createShapeElement(e[a],p,i)),this.setElementStyles(t[a])):"tm"===e[a].ty||"rd"===e[a].ty||"ms"===e[a].ty||"pb"===e[a].ty?(h?(d=t[a]).closed=!1:((d=ShapeModifiers.getModifier(e[a].ty)).init(this,e[a]),t[a]=d,this.shapeModifiers.push(d)),g.push(d)):"rp"===e[a].ty&&(h?(d=t[a]).closed=!0:(d=ShapeModifiers.getModifier(e[a].ty),t[a]=d,d.init(this,e,a,t),this.shapeModifiers.push(d),s=!1),g.push(d));this.addProcessedElement(e[a],a+1)}for(m=_.length,a=0;a<m;a+=1)_[a].closed=!0;for(m=g.length,a=0;a<m;a+=1)g[a].closed=!0},SVGShapeElement.prototype.renderInnerContent=function(){var e;this.renderModifiers();var t=this.stylesList.length;for(e=0;e<t;e+=1)this.stylesList[e].reset();for(this.renderShape(),e=0;e<t;e+=1)(this.stylesList[e]._mdf||this._isFirstFrame)&&(this.stylesList[e].msElem&&(this.stylesList[e].msElem.setAttribute("d",this.stylesList[e].d),this.stylesList[e].d="M0 0"+this.stylesList[e].d),this.stylesList[e].pElem.setAttribute("d",this.stylesList[e].d||"M0 0"))},SVGShapeElement.prototype.renderShape=function(){var e,t,r=this.animatedContents.length;for(e=0;e<r;e+=1)t=this.animatedContents[e],(this._isFirstFrame||t.element._isAnimated)&&!0!==t.data&&t.fn(t.data,t.element,this._isFirstFrame)},SVGShapeElement.prototype.destroy=function(){this.destroyBaseElement(),this.shapesData=null,this.itemsData=null},LetterProps.prototype.update=function(e,t,r,n,i,o){this._mdf.o=!1,this._mdf.sw=!1,this._mdf.sc=!1,this._mdf.fc=!1,this._mdf.m=!1,this._mdf.p=!1;var s=!1;return this.o!==e&&(this.o=e,this._mdf.o=!0,s=!0),this.sw!==t&&(this.sw=t,this._mdf.sw=!0,s=!0),this.sc!==r&&(this.sc=r,this._mdf.sc=!0,s=!0),this.fc!==n&&(this.fc=n,this._mdf.fc=!0,s=!0),this.m!==i&&(this.m=i,this._mdf.m=!0,s=!0),!o.length||this.p[0]===o[0]&&this.p[1]===o[1]&&this.p[4]===o[4]&&this.p[5]===o[5]&&this.p[12]===o[12]&&this.p[13]===o[13]||(this.p=o,this._mdf.p=!0,s=!0),s},TextProperty.prototype.defaultBoxWidth=[0,0],TextProperty.prototype.copyData=function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r]);return e},TextProperty.prototype.setCurrentData=function(e){e.__complete||this.completeTextData(e),this.currentData=e,this.currentData.boxWidth=this.currentData.boxWidth||this.defaultBoxWidth,this._mdf=!0},TextProperty.prototype.searchProperty=function(){return this.searchKeyframes()},TextProperty.prototype.searchKeyframes=function(){return this.kf=this.data.d.k.length>1,this.kf&&this.addEffect(this.getKeyframeValue.bind(this)),this.kf},TextProperty.prototype.addEffect=function(e){this.effectsSequence.push(e),this.elem.addDynamicProperty(this)},TextProperty.prototype.getValue=function(e){if(this.elem.globalData.frameId!==this.frameId&&this.effectsSequence.length||e){this.currentData.t=this.data.d.k[this.keysIndex].s.t;var t=this.currentData,r=this.keysIndex;if(this.lock)this.setCurrentData(this.currentData);else{var n;this.lock=!0,this._mdf=!1;var i=this.effectsSequence.length,o=e||this.data.d.k[this.keysIndex].s;for(n=0;n<i;n+=1)o=r!==this.keysIndex?this.effectsSequence[n](o,o.t):this.effectsSequence[n](this.currentData,o.t);t!==o&&this.setCurrentData(o),this.v=this.currentData,this.pv=this.v,this.lock=!1,this.frameId=this.elem.globalData.frameId}}},TextProperty.prototype.getKeyframeValue=function(){for(var e=this.data.d.k,t=this.elem.comp.renderedFrame,r=0,n=e.length;r<=n-1&&!(r===n-1||e[r+1].t>t);)r+=1;return this.keysIndex!==r&&(this.keysIndex=r),this.data.d.k[this.keysIndex].s},TextProperty.prototype.buildFinalText=function(e){for(var t,r,n=[],i=0,o=e.length,s=!1;i<o;)t=e.charCodeAt(i),FontManager.isCombinedCharacter(t)?n[n.length-1]+=e.charAt(i):t>=55296&&t<=56319?(r=e.charCodeAt(i+1))>=56320&&r<=57343?(s||FontManager.isModifier(t,r)?(n[n.length-1]+=e.substr(i,2),s=!1):n.push(e.substr(i,2)),i+=1):n.push(e.charAt(i)):t>56319?(r=e.charCodeAt(i+1),FontManager.isZeroWidthJoiner(t,r)?(s=!0,n[n.length-1]+=e.substr(i,2),i+=1):n.push(e.charAt(i))):FontManager.isZeroWidthJoiner(t)?(n[n.length-1]+=e.charAt(i),s=!0):n.push(e.charAt(i)),i+=1;return n},TextProperty.prototype.completeTextData=function(e){e.__complete=!0;var t,r,n,i,o,s,a,l=this.elem.globalData.fontManager,c=this.data,u=[],d=0,h=c.m.g,p=0,m=0,_=0,g=[],f=0,v=0,b=l.getFontByName(e.f),y=0,$=getFontProperties(b);e.fWeight=$.weight,e.fStyle=$.style,e.finalSize=e.s,e.finalText=this.buildFinalText(e.t),r=e.finalText.length,e.finalLineHeight=e.lh;var x,S=e.tr/1e3*e.finalSize;if(e.sz)for(var w,A,C=!0,E=e.sz[0],I=e.sz[1];C;){w=0,f=0,r=(A=this.buildFinalText(e.t)).length,S=e.tr/1e3*e.finalSize;var M=-1;for(t=0;t<r;t+=1)x=A[t].charCodeAt(0),n=!1," "===A[t]?M=t:13!==x&&3!==x||(f=0,n=!0,w+=e.finalLineHeight||1.2*e.finalSize),l.chars?(a=l.getCharData(A[t],b.fStyle,b.fFamily),y=n?0:a.w*e.finalSize/100):y=l.measureText(A[t],e.f,e.finalSize),f+y>E&&" "!==A[t]?(-1===M?r+=1:t=M,w+=e.finalLineHeight||1.2*e.finalSize,A.splice(t,M===t?1:0,"\r"),M=-1,f=0):(f+=y,f+=S);w+=b.ascent*e.finalSize/100,this.canResize&&e.finalSize>this.minimumFontSize&&I<w?(e.finalSize-=1,e.finalLineHeight=e.finalSize*e.lh/e.s):(e.finalText=A,r=e.finalText.length,C=!1)}f=-S,y=0;var k,T=0;for(t=0;t<r;t+=1)if(n=!1,13===(x=(k=e.finalText[t]).charCodeAt(0))||3===x?(T=0,g.push(f),v=f>v?f:v,f=-2*S,i="",n=!0,_+=1):i=k,l.chars?(a=l.getCharData(k,b.fStyle,l.getFontByName(e.f).fFamily),y=n?0:a.w*e.finalSize/100):y=l.measureText(i,e.f,e.finalSize)," "===k?T+=y+S:(f+=y+S+T,T=0),u.push({l:y,an:y,add:p,n:n,anIndexes:[],val:i,line:_,animatorJustifyOffset:0}),2==h){if(p+=y,""===i||" "===i||t===r-1){for(""!==i&&" "!==i||(p-=y);m<=t;)u[m].an=p,u[m].ind=d,u[m].extra=y,m+=1;d+=1,p=0}}else if(3==h){if(p+=y,""===i||t===r-1){for(""===i&&(p-=y);m<=t;)u[m].an=p,u[m].ind=d,u[m].extra=y,m+=1;p=0,d+=1}}else u[d].ind=d,u[d].extra=0,d+=1;if(e.l=u,v=f>v?f:v,g.push(f),e.sz)e.boxWidth=e.sz[0],e.justifyOffset=0;else switch(e.boxWidth=v,e.j){case 1:e.justifyOffset=-e.boxWidth;break;case 2:e.justifyOffset=-e.boxWidth/2;break;default:e.justifyOffset=0}e.lineWidths=g;var R,L,P,D,N=c.a;s=N.length;var F=[];for(o=0;o<s;o+=1){for((R=N[o]).a.sc&&(e.strokeColorAnim=!0),R.a.sw&&(e.strokeWidthAnim=!0),(R.a.fc||R.a.fh||R.a.fs||R.a.fb)&&(e.fillColorAnim=!0),D=0,P=R.s.b,t=0;t<r;t+=1)(L=u[t]).anIndexes[o]=D,(1==P&&""!==L.val||2==P&&""!==L.val&&" "!==L.val||3==P&&(L.n||" "==L.val||t==r-1)||4==P&&(L.n||t==r-1))&&(1===R.s.rn&&F.push(D),D+=1);c.a[o].s.totalChars=D;var O,B=-1;if(1===R.s.rn)for(t=0;t<r;t+=1)B!=(L=u[t]).anIndexes[o]&&(B=L.anIndexes[o],O=F.splice(Math.floor(Math.random()*F.length),1)[0]),L.anIndexes[o]=O}e.yOffset=e.finalLineHeight||1.2*e.finalSize,e.ls=e.ls||0,e.ascent=b.ascent*e.finalSize/100},TextProperty.prototype.updateDocumentData=function(e,t){t=void 0===t?this.keysIndex:t;var r=this.copyData({},this.data.d.k[t].s);r=this.copyData(r,e),this.data.d.k[t].s=r,this.recalculate(t),this.elem.addDynamicProperty(this)},TextProperty.prototype.recalculate=function(e){var t=this.data.d.k[e].s;t.__complete=!1,this.keysIndex=0,this._isFirstFrame=!0,this.getValue(t)},TextProperty.prototype.canResizeFont=function(e){this.canResize=e,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)},TextProperty.prototype.setMinimumFontSize=function(e){this.minimumFontSize=Math.floor(e)||1,this.recalculate(this.keysIndex),this.elem.addDynamicProperty(this)};const TextSelectorProp=function(){var e=Math.max,t=Math.min,r=Math.floor;function n(e,t){this._currentTextLength=-1,this.k=!1,this.data=t,this.elem=e,this.comp=e.comp,this.finalS=0,this.finalE=0,this.initDynamicPropertyContainer(e),this.s=PropertyFactory.getProp(e,t.s||{k:0},0,0,this),this.e="e"in t?PropertyFactory.getProp(e,t.e,0,0,this):{v:100},this.o=PropertyFactory.getProp(e,t.o||{k:0},0,0,this),this.xe=PropertyFactory.getProp(e,t.xe||{k:0},0,0,this),this.ne=PropertyFactory.getProp(e,t.ne||{k:0},0,0,this),this.sm=PropertyFactory.getProp(e,t.sm||{k:100},0,0,this),this.a=PropertyFactory.getProp(e,t.a,0,.01,this),this.dynamicProperties.length||this.getValue()}return n.prototype={getMult:function(n){this._currentTextLength!==this.elem.textProperty.currentData.l.length&&this.getValue();var i=0,o=0,s=1,a=1;this.ne.v>0?i=this.ne.v/100:o=-this.ne.v/100,this.xe.v>0?s=1-this.xe.v/100:a=1+this.xe.v/100;var l=BezierFactory.getBezierEasing(i,o,s,a).get,c=0,u=this.finalS,d=this.finalE,h=this.data.sh;if(2===h)c=l(c=d===u?n>=d?1:0:e(0,t(.5/(d-u)+(n-u)/(d-u),1)));else if(3===h)c=l(c=d===u?n>=d?0:1:1-e(0,t(.5/(d-u)+(n-u)/(d-u),1)));else if(4===h)d===u?c=0:(c=e(0,t(.5/(d-u)+(n-u)/(d-u),1)))<.5?c*=2:c=1-2*(c-.5),c=l(c);else if(5===h){if(d===u)c=0;else{var p=d-u,m=-p/2+(n=t(e(0,n+.5-u),d-u)),_=p/2;c=Math.sqrt(1-m*m/(_*_))}c=l(c)}else 6===h?(d===u?c=0:(n=t(e(0,n+.5-u),d-u),c=(1+Math.cos(Math.PI+2*Math.PI*n/(d-u)))/2),c=l(c)):(n>=r(u)&&(c=e(0,t(n-u<0?t(d,1)-(u-n):d-n,1))),c=l(c));if(100!==this.sm.v){var g=.01*this.sm.v;0===g&&(g=1e-8);var f=.5-.5*g;c<f?c=0:(c=(c-f)/g)>1&&(c=1)}return c*this.a.v},getValue:function(e){this.iterateDynamicProperties(),this._mdf=e||this._mdf,this._currentTextLength=this.elem.textProperty.currentData.l.length||0,e&&2===this.data.r&&(this.e.v=this._currentTextLength);var t=2===this.data.r?1:100/this.data.totalChars,r=this.o.v/t,n=this.s.v/t+r,i=this.e.v/t+r;if(n>i){var o=n;n=i,i=o}this.finalS=n,this.finalE=i}},extendPrototype([DynamicPropertyContainer],n),{getTextSelectorProp:function(e,t,r){return new n(e,t,r)}}}();function TextAnimatorDataProperty(e,t,r){var n={propType:!1},i=PropertyFactory.getProp,o=t.a;this.a={r:o.r?i(e,o.r,0,degToRads,r):n,rx:o.rx?i(e,o.rx,0,degToRads,r):n,ry:o.ry?i(e,o.ry,0,degToRads,r):n,sk:o.sk?i(e,o.sk,0,degToRads,r):n,sa:o.sa?i(e,o.sa,0,degToRads,r):n,s:o.s?i(e,o.s,1,.01,r):n,a:o.a?i(e,o.a,1,0,r):n,o:o.o?i(e,o.o,0,.01,r):n,p:o.p?i(e,o.p,1,0,r):n,sw:o.sw?i(e,o.sw,0,0,r):n,sc:o.sc?i(e,o.sc,1,0,r):n,fc:o.fc?i(e,o.fc,1,0,r):n,fh:o.fh?i(e,o.fh,0,0,r):n,fs:o.fs?i(e,o.fs,0,.01,r):n,fb:o.fb?i(e,o.fb,0,.01,r):n,t:o.t?i(e,o.t,0,0,r):n},this.s=TextSelectorProp.getTextSelectorProp(e,t.s,r),this.s.t=t.s.t}function TextAnimatorProperty(e,t,r){this._isFirstFrame=!0,this._hasMaskedPath=!1,this._frameId=-1,this._textData=e,this._renderType=t,this._elem=r,this._animatorsData=createSizedArray(this._textData.a.length),this._pathData={},this._moreOptions={alignment:{}},this.renderedLetters=[],this.lettersChangedFlag=!1,this.initDynamicPropertyContainer(r)}function ITextElement(){}TextAnimatorProperty.prototype.searchProperties=function(){var e,t,r=this._textData.a.length,n=PropertyFactory.getProp;for(e=0;e<r;e+=1)t=this._textData.a[e],this._animatorsData[e]=new TextAnimatorDataProperty(this._elem,t,this);this._textData.p&&"m"in this._textData.p?(this._pathData={a:n(this._elem,this._textData.p.a,0,0,this),f:n(this._elem,this._textData.p.f,0,0,this),l:n(this._elem,this._textData.p.l,0,0,this),r:n(this._elem,this._textData.p.r,0,0,this),p:n(this._elem,this._textData.p.p,0,0,this),m:this._elem.maskManager.getMaskProperty(this._textData.p.m)},this._hasMaskedPath=!0):this._hasMaskedPath=!1,this._moreOptions.alignment=n(this._elem,this._textData.m.a,1,0,this)},TextAnimatorProperty.prototype.getMeasures=function(e,t){if(this.lettersChangedFlag=t,this._mdf||this._isFirstFrame||t||this._hasMaskedPath&&this._pathData.m._mdf){this._isFirstFrame=!1;var r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y,$=this._moreOptions.alignment.v,x=this._animatorsData,S=this._textData,w=this.mHelper,A=this._renderType,C=this.renderedLetters.length,E=e.l;if(this._hasMaskedPath){if(y=this._pathData.m,!this._pathData.n||this._pathData._mdf){var I,M=y.v;for(this._pathData.r.v&&(M=M.reverse()),s={tLength:0,segments:[]},o=M._length-1,f=0,i=0;i<o;i+=1)I=bez.buildBezierData(M.v[i],M.v[i+1],[M.o[i][0]-M.v[i][0],M.o[i][1]-M.v[i][1]],[M.i[i+1][0]-M.v[i+1][0],M.i[i+1][1]-M.v[i+1][1]]),s.tLength+=I.segmentLength,s.segments.push(I),f+=I.segmentLength;i=o,y.v.c&&(I=bez.buildBezierData(M.v[i],M.v[0],[M.o[i][0]-M.v[i][0],M.o[i][1]-M.v[i][1]],[M.i[0][0]-M.v[0][0],M.i[0][1]-M.v[0][1]]),s.tLength+=I.segmentLength,s.segments.push(I),f+=I.segmentLength),this._pathData.pi=s}if(s=this._pathData.pi,a=this._pathData.f.v,h=0,d=1,c=0,u=!0,_=s.segments,a<0&&y.v.c)for(s.tLength<Math.abs(a)&&(a=-Math.abs(a)%s.tLength),d=(m=_[h=_.length-1].points).length-1;a<0;)a+=m[d].partialLength,(d-=1)<0&&(d=(m=_[h-=1].points).length-1);p=(m=_[h].points)[d-1],g=(l=m[d]).partialLength}o=E.length,r=0,n=0;var k,T,R,L,P,D=1.2*e.finalSize*.714,N=!0;R=x.length;var F,O,B,U,V,z,H,G,j,J,W,Q,q=-1,Y=a,X=h,K=d,Z=-1,ee="",te=this.defaultPropsArray;if(2===e.j||1===e.j){var re=0,ne=0,ie=2===e.j?-.5:-1,oe=0,se=!0;for(i=0;i<o;i+=1)if(E[i].n){for(re&&(re+=ne);oe<i;)E[oe].animatorJustifyOffset=re,oe+=1;re=0,se=!0}else{for(T=0;T<R;T+=1)(k=x[T].a).t.propType&&(se&&2===e.j&&(ne+=k.t.v*ie),(P=x[T].s.getMult(E[i].anIndexes[T],S.a[T].s.totalChars)).length?re+=k.t.v*P[0]*ie:re+=k.t.v*P*ie);se=!1}for(re&&(re+=ne);oe<i;)E[oe].animatorJustifyOffset=re,oe+=1}for(i=0;i<o;i+=1){if(w.reset(),U=1,E[i].n)r=0,n+=e.yOffset,n+=N?1:0,a=Y,N=!1,this._hasMaskedPath&&(d=K,p=(m=_[h=X].points)[d-1],g=(l=m[d]).partialLength,c=0),ee="",W="",j="",Q="",te=this.defaultPropsArray;else{if(this._hasMaskedPath){if(Z!==E[i].line){switch(e.j){case 1:a+=f-e.lineWidths[E[i].line];break;case 2:a+=(f-e.lineWidths[E[i].line])/2}Z=E[i].line}q!==E[i].ind&&(E[q]&&(a+=E[q].extra),a+=E[i].an/2,q=E[i].ind),a+=$[0]*E[i].an*.005;var ae=0;for(T=0;T<R;T+=1)(k=x[T].a).p.propType&&((P=x[T].s.getMult(E[i].anIndexes[T],S.a[T].s.totalChars)).length?ae+=k.p.v[0]*P[0]:ae+=k.p.v[0]*P),k.a.propType&&((P=x[T].s.getMult(E[i].anIndexes[T],S.a[T].s.totalChars)).length?ae+=k.a.v[0]*P[0]:ae+=k.a.v[0]*P);for(u=!0,this._pathData.a.v&&(a=.5*E[0].an+(f-this._pathData.f.v-.5*E[0].an-.5*E[E.length-1].an)*q/(o-1),a+=this._pathData.f.v);u;)c+g>=a+ae||!m?(v=(a+ae-c)/l.partialLength,O=p.point[0]+(l.point[0]-p.point[0])*v,B=p.point[1]+(l.point[1]-p.point[1])*v,w.translate(-$[0]*E[i].an*.005,-$[1]*D*.01),u=!1):m&&(c+=l.partialLength,(d+=1)>=m.length&&(d=0,_[h+=1]?m=_[h].points:y.v.c?(d=0,m=_[h=0].points):(c-=l.partialLength,m=null)),m&&(p=l,g=(l=m[d]).partialLength));F=E[i].an/2-E[i].add,w.translate(-F,0,0)}else F=E[i].an/2-E[i].add,w.translate(-F,0,0),w.translate(-$[0]*E[i].an*.005,-$[1]*D*.01,0);for(T=0;T<R;T+=1)(k=x[T].a).t.propType&&(P=x[T].s.getMult(E[i].anIndexes[T],S.a[T].s.totalChars),0===r&&0===e.j||(this._hasMaskedPath?P.length?a+=k.t.v*P[0]:a+=k.t.v*P:P.length?r+=k.t.v*P[0]:r+=k.t.v*P));for(e.strokeWidthAnim&&(z=e.sw||0),e.strokeColorAnim&&(V=e.sc?[e.sc[0],e.sc[1],e.sc[2]]:[0,0,0]),e.fillColorAnim&&e.fc&&(H=[e.fc[0],e.fc[1],e.fc[2]]),T=0;T<R;T+=1)(k=x[T].a).a.propType&&((P=x[T].s.getMult(E[i].anIndexes[T],S.a[T].s.totalChars)).length?w.translate(-k.a.v[0]*P[0],-k.a.v[1]*P[1],k.a.v[2]*P[2]):w.translate(-k.a.v[0]*P,-k.a.v[1]*P,k.a.v[2]*P));for(T=0;T<R;T+=1)(k=x[T].a).s.propType&&((P=x[T].s.getMult(E[i].anIndexes[T],S.a[T].s.totalChars)).length?w.scale(1+(k.s.v[0]-1)*P[0],1+(k.s.v[1]-1)*P[1],1):w.scale(1+(k.s.v[0]-1)*P,1+(k.s.v[1]-1)*P,1));for(T=0;T<R;T+=1){if(k=x[T].a,P=x[T].s.getMult(E[i].anIndexes[T],S.a[T].s.totalChars),k.sk.propType&&(P.length?w.skewFromAxis(-k.sk.v*P[0],k.sa.v*P[1]):w.skewFromAxis(-k.sk.v*P,k.sa.v*P)),k.r.propType&&(P.length?w.rotateZ(-k.r.v*P[2]):w.rotateZ(-k.r.v*P)),k.ry.propType&&(P.length?w.rotateY(k.ry.v*P[1]):w.rotateY(k.ry.v*P)),k.rx.propType&&(P.length?w.rotateX(k.rx.v*P[0]):w.rotateX(k.rx.v*P)),k.o.propType&&(P.length?U+=(k.o.v*P[0]-U)*P[0]:U+=(k.o.v*P-U)*P),e.strokeWidthAnim&&k.sw.propType&&(P.length?z+=k.sw.v*P[0]:z+=k.sw.v*P),e.strokeColorAnim&&k.sc.propType)for(G=0;G<3;G+=1)P.length?V[G]+=(k.sc.v[G]-V[G])*P[0]:V[G]+=(k.sc.v[G]-V[G])*P;if(e.fillColorAnim&&e.fc){if(k.fc.propType)for(G=0;G<3;G+=1)P.length?H[G]+=(k.fc.v[G]-H[G])*P[0]:H[G]+=(k.fc.v[G]-H[G])*P;k.fh.propType&&(H=P.length?addHueToRGB(H,k.fh.v*P[0]):addHueToRGB(H,k.fh.v*P)),k.fs.propType&&(H=P.length?addSaturationToRGB(H,k.fs.v*P[0]):addSaturationToRGB(H,k.fs.v*P)),k.fb.propType&&(H=P.length?addBrightnessToRGB(H,k.fb.v*P[0]):addBrightnessToRGB(H,k.fb.v*P))}}for(T=0;T<R;T+=1)(k=x[T].a).p.propType&&(P=x[T].s.getMult(E[i].anIndexes[T],S.a[T].s.totalChars),this._hasMaskedPath?P.length?w.translate(0,k.p.v[1]*P[0],-k.p.v[2]*P[1]):w.translate(0,k.p.v[1]*P,-k.p.v[2]*P):P.length?w.translate(k.p.v[0]*P[0],k.p.v[1]*P[1],-k.p.v[2]*P[2]):w.translate(k.p.v[0]*P,k.p.v[1]*P,-k.p.v[2]*P));if(e.strokeWidthAnim&&(j=z<0?0:z),e.strokeColorAnim&&(J="rgb("+Math.round(255*V[0])+","+Math.round(255*V[1])+","+Math.round(255*V[2])+")"),e.fillColorAnim&&e.fc&&(W="rgb("+Math.round(255*H[0])+","+Math.round(255*H[1])+","+Math.round(255*H[2])+")"),this._hasMaskedPath){if(w.translate(0,-e.ls),w.translate(0,$[1]*D*.01+n,0),this._pathData.p.v){b=(l.point[1]-p.point[1])/(l.point[0]-p.point[0]);var le=180*Math.atan(b)/Math.PI;l.point[0]<p.point[0]&&(le+=180),w.rotate(-le*Math.PI/180)}w.translate(O,B,0),a-=$[0]*E[i].an*.005,E[i+1]&&q!==E[i+1].ind&&(a+=E[i].an/2,a+=.001*e.tr*e.finalSize)}else{switch(w.translate(r,n,0),e.ps&&w.translate(e.ps[0],e.ps[1]+e.ascent,0),e.j){case 1:w.translate(E[i].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[E[i].line]),0,0);break;case 2:w.translate(E[i].animatorJustifyOffset+e.justifyOffset+(e.boxWidth-e.lineWidths[E[i].line])/2,0,0)}w.translate(0,-e.ls),w.translate(F,0,0),w.translate($[0]*E[i].an*.005,$[1]*D*.01,0),r+=E[i].l+.001*e.tr*e.finalSize}"html"===A?ee=w.toCSS():"svg"===A?ee=w.to2dCSS():te=[w.props[0],w.props[1],w.props[2],w.props[3],w.props[4],w.props[5],w.props[6],w.props[7],w.props[8],w.props[9],w.props[10],w.props[11],w.props[12],w.props[13],w.props[14],w.props[15]],Q=U}C<=i?(L=new LetterProps(Q,j,J,W,ee,te),this.renderedLetters.push(L),C+=1,this.lettersChangedFlag=!0):(L=this.renderedLetters[i],this.lettersChangedFlag=L.update(Q,j,J,W,ee,te)||this.lettersChangedFlag)}}},TextAnimatorProperty.prototype.getValue=function(){this._elem.globalData.frameId!==this._frameId&&(this._frameId=this._elem.globalData.frameId,this.iterateDynamicProperties())},TextAnimatorProperty.prototype.mHelper=new Matrix,TextAnimatorProperty.prototype.defaultPropsArray=[],extendPrototype([DynamicPropertyContainer],TextAnimatorProperty),ITextElement.prototype.initElement=function(e,t,r){this.lettersChangedFlag=!0,this.initFrame(),this.initBaseData(e,t,r),this.textProperty=new TextProperty(this,e.t,this.dynamicProperties),this.textAnimator=new TextAnimatorProperty(e.t,this.renderType,this),this.initTransform(e,t,r),this.initHierarchy(),this.initRenderable(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),this.createContent(),this.hide(),this.textAnimator.searchProperties(this.dynamicProperties)},ITextElement.prototype.prepareFrame=function(e){this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),(this.textProperty._mdf||this.textProperty._isFirstFrame)&&(this.buildNewText(),this.textProperty._isFirstFrame=!1,this.textProperty._mdf=!1)},ITextElement.prototype.createPathShape=function(e,t){var r,n,i=t.length,o="";for(r=0;r<i;r+=1)"sh"===t[r].ty&&(n=t[r].ks.k,o+=buildShapeString(n,n.i.length,!0,e));return o},ITextElement.prototype.updateDocumentData=function(e,t){this.textProperty.updateDocumentData(e,t)},ITextElement.prototype.canResizeFont=function(e){this.textProperty.canResizeFont(e)},ITextElement.prototype.setMinimumFontSize=function(e){this.textProperty.setMinimumFontSize(e)},ITextElement.prototype.applyTextPropertiesToMatrix=function(e,t,r,n,i){switch(e.ps&&t.translate(e.ps[0],e.ps[1]+e.ascent,0),t.translate(0,-e.ls,0),e.j){case 1:t.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[r]),0,0);break;case 2:t.translate(e.justifyOffset+(e.boxWidth-e.lineWidths[r])/2,0,0)}t.translate(n,i,0)},ITextElement.prototype.buildColor=function(e){return"rgb("+Math.round(255*e[0])+","+Math.round(255*e[1])+","+Math.round(255*e[2])+")"},ITextElement.prototype.emptyProp=new LetterProps,ITextElement.prototype.destroy=function(){};var emptyShapeData={shapes:[]};function SVGTextLottieElement(e,t,r){this.textSpans=[],this.renderType="svg",this.initElement(e,t,r)}function ISolidElement(e,t,r){this.initElement(e,t,r)}function NullElement(e,t,r){this.initFrame(),this.initBaseData(e,t,r),this.initFrame(),this.initTransform(e,t,r),this.initHierarchy()}function SVGRendererBase(){}function ICompElement(){}function SVGCompElement(e,t,r){this.layers=e.layers,this.supports3d=!0,this.completeLayers=!1,this.pendingElements=[],this.elements=this.layers?createSizedArray(this.layers.length):[],this.initElement(e,t,r),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}function SVGRenderer(e,t){this.animationItem=e,this.layers=null,this.renderedFrame=-1,this.svgElement=createNS("svg");var r="";if(t&&t.title){var n=createNS("title"),i=createElementID();n.setAttribute("id",i),n.textContent=t.title,this.svgElement.appendChild(n),r+=i}if(t&&t.description){var o=createNS("desc"),s=createElementID();o.setAttribute("id",s),o.textContent=t.description,this.svgElement.appendChild(o),r+=" "+s}r&&this.svgElement.setAttribute("aria-labelledby",r);var a=createNS("defs");this.svgElement.appendChild(a);var l=createNS("g");this.svgElement.appendChild(l),this.layerElement=l,this.renderConfig={preserveAspectRatio:t&&t.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:t&&t.contentVisibility||"visible",progressiveLoad:t&&t.progressiveLoad||!1,hideOnTransparent:!(t&&!1===t.hideOnTransparent),viewBoxOnly:t&&t.viewBoxOnly||!1,viewBoxSize:t&&t.viewBoxSize||!1,className:t&&t.className||"",id:t&&t.id||"",focusable:t&&t.focusable,filterSize:{width:t&&t.filterSize&&t.filterSize.width||"100%",height:t&&t.filterSize&&t.filterSize.height||"100%",x:t&&t.filterSize&&t.filterSize.x||"0%",y:t&&t.filterSize&&t.filterSize.y||"0%"},width:t&&t.width,height:t&&t.height},this.globalData={_mdf:!1,frameNum:-1,defs:a,renderConfig:this.renderConfig},this.elements=[],this.pendingElements=[],this.destroyed=!1,this.rendererType="svg"}function CVContextData(){var e;this.saved=[],this.cArrPos=0,this.cTr=new Matrix,this.cO=1;for(this.savedOp=createTypedArray("float32",15),e=0;e<15;e+=1)this.saved[e]=createTypedArray("float32",16);this._length=15}function ShapeTransformManager(){this.sequences={},this.sequenceList=[],this.transform_key_count=0}function CVEffects(){}function CVMaskElement(e,t){var r;this.data=e,this.element=t,this.masksProperties=this.data.masksProperties||[],this.viewData=createSizedArray(this.masksProperties.length);var n=this.masksProperties.length,i=!1;for(r=0;r<n;r+=1)"n"!==this.masksProperties[r].mode&&(i=!0),this.viewData[r]=ShapePropertyFactory.getShapeProp(this.element,this.masksProperties[r],3);this.hasMasks=i,i&&this.element.addRenderableComponent(this)}function CVBaseElement(){}function CVShapeData(e,t,r,n){this.styledShapes=[],this.tr=[0,0,0,0,0,0];var i,o=4;"rc"===t.ty?o=5:"el"===t.ty?o=6:"sr"===t.ty&&(o=7),this.sh=ShapePropertyFactory.getShapeProp(e,t,o,e);var s,a=r.length;for(i=0;i<a;i+=1)r[i].closed||(s={transforms:n.addTransformSequence(r[i].transforms),trNodes:[]},this.styledShapes.push(s),r[i].elements.push(s))}function CVShapeElement(e,t,r){this.shapes=[],this.shapesData=e.shapes,this.stylesList=[],this.itemsData=[],this.prevViewData=[],this.shapeModifiers=[],this.processedElements=[],this.transformsManager=new ShapeTransformManager,this.initElement(e,t,r)}function CVTextElement(e,t,r){this.textSpans=[],this.yOffset=0,this.fillColorAnim=!1,this.strokeColorAnim=!1,this.strokeWidthAnim=!1,this.stroke=!1,this.fill=!1,this.justifyOffset=0,this.currentRender=null,this.renderType="canvas",this.values={fill:"rgba(0,0,0,0)",stroke:"rgba(0,0,0,0)",sWidth:0,fValue:""},this.initElement(e,t,r)}function CVImageElement(e,t,r){this.assetData=t.getAssetData(e.refId),this.img=t.imageLoader.getAsset(this.assetData),this.initElement(e,t,r)}function CVSolidElement(e,t,r){this.initElement(e,t,r)}function CanvasRendererBase(e,t){this.animationItem=e,this.renderConfig={clearCanvas:!t||void 0===t.clearCanvas||t.clearCanvas,context:t&&t.context||null,progressiveLoad:t&&t.progressiveLoad||!1,preserveAspectRatio:t&&t.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:t&&t.contentVisibility||"visible",className:t&&t.className||"",id:t&&t.id||""},this.renderConfig.dpr=t&&t.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=t&&t.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1,_mdf:!1,renderConfig:this.renderConfig,currentGlobalAlpha:-1},this.contextData=new CVContextData,this.elements=[],this.pendingElements=[],this.transformMat=new Matrix,this.completeLayers=!1,this.rendererType="canvas"}function CVCompElement(e,t,r){this.completeLayers=!1,this.layers=e.layers,this.pendingElements=[],this.elements=createSizedArray(this.layers.length),this.initElement(e,t,r),this.tm=e.tm?PropertyFactory.getProp(this,e.tm,0,t.frameRate,this):{_placeholder:!0}}function CanvasRenderer(e,t){this.animationItem=e,this.renderConfig={clearCanvas:!t||void 0===t.clearCanvas||t.clearCanvas,context:t&&t.context||null,progressiveLoad:t&&t.progressiveLoad||!1,preserveAspectRatio:t&&t.preserveAspectRatio||"xMidYMid meet",imagePreserveAspectRatio:t&&t.imagePreserveAspectRatio||"xMidYMid slice",contentVisibility:t&&t.contentVisibility||"visible",className:t&&t.className||"",id:t&&t.id||""},this.renderConfig.dpr=t&&t.dpr||1,this.animationItem.wrapper&&(this.renderConfig.dpr=t&&t.dpr||window.devicePixelRatio||1),this.renderedFrame=-1,this.globalData={frameNum:-1,_mdf:!1,renderConfig:this.renderConfig,currentGlobalAlpha:-1},this.contextData=new CVContextData,this.elements=[],this.pendingElements=[],this.transformMat=new Matrix,this.completeLayers=!1,this.rendererType="canvas"}extendPrototype([BaseElement,TransformElement,SVGBaseElement,HierarchyElement,FrameElement,RenderableDOMElement,ITextElement],SVGTextLottieElement),SVGTextLottieElement.prototype.createContent=function(){this.data.singleShape&&!this.globalData.fontManager.chars&&(this.textContainer=createNS("text"))},SVGTextLottieElement.prototype.buildTextContents=function(e){for(var t=0,r=e.length,n=[],i="";t<r;)e[t]===String.fromCharCode(13)||e[t]===String.fromCharCode(3)?(n.push(i),i=""):i+=e[t],t+=1;return n.push(i),n},SVGTextLottieElement.prototype.buildShapeData=function(e,t){if(e.shapes&&e.shapes.length){var r=e.shapes[0];if(r.it){var n=r.it[r.it.length-1];n.s&&(n.s.k[0]=t,n.s.k[1]=t)}}return e},SVGTextLottieElement.prototype.buildNewText=function(){var e,t;this.addDynamicProperty(this);var r=this.textProperty.currentData;this.renderedLetters=createSizedArray(r?r.l.length:0),r.fc?this.layerElement.setAttribute("fill",this.buildColor(r.fc)):this.layerElement.setAttribute("fill","rgba(0,0,0,0)"),r.sc&&(this.layerElement.setAttribute("stroke",this.buildColor(r.sc)),this.layerElement.setAttribute("stroke-width",r.sw)),this.layerElement.setAttribute("font-size",r.finalSize);var n=this.globalData.fontManager.getFontByName(r.f);if(n.fClass)this.layerElement.setAttribute("class",n.fClass);else{this.layerElement.setAttribute("font-family",n.fFamily);var i=r.fWeight,o=r.fStyle;this.layerElement.setAttribute("font-style",o),this.layerElement.setAttribute("font-weight",i)}this.layerElement.setAttribute("aria-label",r.t);var s,a=r.l||[],l=!!this.globalData.fontManager.chars;t=a.length;var c=this.mHelper,u=this.data.singleShape,d=0,h=0,p=!0,m=.001*r.tr*r.finalSize;if(!u||l||r.sz){var _,g=this.textSpans.length;for(e=0;e<t;e+=1){if(this.textSpans[e]||(this.textSpans[e]={span:null,childSpan:null,glyph:null}),!l||!u||0===e){if(s=g>e?this.textSpans[e].span:createNS(l?"g":"text"),g<=e){if(s.setAttribute("stroke-linecap","butt"),s.setAttribute("stroke-linejoin","round"),s.setAttribute("stroke-miterlimit","4"),this.textSpans[e].span=s,l){var f=createNS("g");s.appendChild(f),this.textSpans[e].childSpan=f}this.textSpans[e].span=s,this.layerElement.appendChild(s)}s.style.display="inherit"}if(c.reset(),u&&(a[e].n&&(d=-m,h+=r.yOffset,h+=p?1:0,p=!1),this.applyTextPropertiesToMatrix(r,c,a[e].line,d,h),d+=a[e].l||0,d+=m),l){var v;if(1===(_=this.globalData.fontManager.getCharData(r.finalText[e],n.fStyle,this.globalData.fontManager.getFontByName(r.f).fFamily)).t)v=new SVGCompElement(_.data,this.globalData,this);else{var b=emptyShapeData;_.data&&_.data.shapes&&(b=this.buildShapeData(_.data,r.finalSize)),v=new SVGShapeElement(b,this.globalData,this)}if(this.textSpans[e].glyph){var y=this.textSpans[e].glyph;this.textSpans[e].childSpan.removeChild(y.layerElement),y.destroy()}this.textSpans[e].glyph=v,v._debug=!0,v.prepareFrame(0),v.renderFrame(),this.textSpans[e].childSpan.appendChild(v.layerElement),1===_.t&&this.textSpans[e].childSpan.setAttribute("transform","scale("+r.finalSize/100+","+r.finalSize/100+")")}else u&&s.setAttribute("transform","translate("+c.props[12]+","+c.props[13]+")"),s.textContent=a[e].val,s.setAttributeNS("http://www.w3.org/XML/1998/namespace","xml:space","preserve")}u&&s&&s.setAttribute("d","")}else{var $=this.textContainer,x="start";switch(r.j){case 1:x="end";break;case 2:x="middle";break;default:x="start"}$.setAttribute("text-anchor",x),$.setAttribute("letter-spacing",m);var S=this.buildTextContents(r.finalText);for(t=S.length,h=r.ps?r.ps[1]+r.ascent:0,e=0;e<t;e+=1)(s=this.textSpans[e].span||createNS("tspan")).textContent=S[e],s.setAttribute("x",0),s.setAttribute("y",h),s.style.display="inherit",$.appendChild(s),this.textSpans[e]||(this.textSpans[e]={span:null,glyph:null}),this.textSpans[e].span=s,h+=r.finalLineHeight;this.layerElement.appendChild($)}for(;e<this.textSpans.length;)this.textSpans[e].span.style.display="none",e+=1;this._sizeChanged=!0},SVGTextLottieElement.prototype.sourceRectAtTime=function(){if(this.prepareFrame(this.comp.renderedFrame-this.data.st),this.renderInnerContent(),this._sizeChanged){this._sizeChanged=!1;var e=this.layerElement.getBBox();this.bbox={top:e.y,left:e.x,width:e.width,height:e.height}}return this.bbox},SVGTextLottieElement.prototype.getValue=function(){var e,t,r=this.textSpans.length;for(this.renderedFrame=this.comp.renderedFrame,e=0;e<r;e+=1)(t=this.textSpans[e].glyph)&&(t.prepareFrame(this.comp.renderedFrame-this.data.st),t._mdf&&(this._mdf=!0))},SVGTextLottieElement.prototype.renderInnerContent=function(){if((!this.data.singleShape||this._mdf)&&(this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag),this.lettersChangedFlag||this.textAnimator.lettersChangedFlag)){var e,t;this._sizeChanged=!0;var r,n,i,o=this.textAnimator.renderedLetters,s=this.textProperty.currentData.l;for(t=s.length,e=0;e<t;e+=1)s[e].n||(r=o[e],n=this.textSpans[e].span,(i=this.textSpans[e].glyph)&&i.renderFrame(),r._mdf.m&&n.setAttribute("transform",r.m),r._mdf.o&&n.setAttribute("opacity",r.o),r._mdf.sw&&n.setAttribute("stroke-width",r.sw),r._mdf.sc&&n.setAttribute("stroke",r.sc),r._mdf.fc&&n.setAttribute("fill",r.fc))}},extendPrototype([IImageElement],ISolidElement),ISolidElement.prototype.createContent=function(){var e=createNS("rect");e.setAttribute("width",this.data.sw),e.setAttribute("height",this.data.sh),e.setAttribute("fill",this.data.sc),this.layerElement.appendChild(e)},NullElement.prototype.prepareFrame=function(e){this.prepareProperties(e,!0)},NullElement.prototype.renderFrame=function(){},NullElement.prototype.getBaseElement=function(){return null},NullElement.prototype.destroy=function(){},NullElement.prototype.sourceRectAtTime=function(){},NullElement.prototype.hide=function(){},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement],NullElement),extendPrototype([BaseRenderer],SVGRendererBase),SVGRendererBase.prototype.createNull=function(e){return new NullElement(e,this.globalData,this)},SVGRendererBase.prototype.createShape=function(e){return new SVGShapeElement(e,this.globalData,this)},SVGRendererBase.prototype.createText=function(e){return new SVGTextLottieElement(e,this.globalData,this)},SVGRendererBase.prototype.createImage=function(e){return new IImageElement(e,this.globalData,this)},SVGRendererBase.prototype.createSolid=function(e){return new ISolidElement(e,this.globalData,this)},SVGRendererBase.prototype.configAnimation=function(e){this.svgElement.setAttribute("xmlns","http://www.w3.org/2000/svg"),this.renderConfig.viewBoxSize?this.svgElement.setAttribute("viewBox",this.renderConfig.viewBoxSize):this.svgElement.setAttribute("viewBox","0 0 "+e.w+" "+e.h),this.renderConfig.viewBoxOnly||(this.svgElement.setAttribute("width",e.w),this.svgElement.setAttribute("height",e.h),this.svgElement.style.width="100%",this.svgElement.style.height="100%",this.svgElement.style.transform="translate3d(0,0,0)",this.svgElement.style.contentVisibility=this.renderConfig.contentVisibility),this.renderConfig.width&&this.svgElement.setAttribute("width",this.renderConfig.width),this.renderConfig.height&&this.svgElement.setAttribute("height",this.renderConfig.height),this.renderConfig.className&&this.svgElement.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.svgElement.setAttribute("id",this.renderConfig.id),void 0!==this.renderConfig.focusable&&this.svgElement.setAttribute("focusable",this.renderConfig.focusable),this.svgElement.setAttribute("preserveAspectRatio",this.renderConfig.preserveAspectRatio),this.animationItem.wrapper.appendChild(this.svgElement);var t=this.globalData.defs;this.setupGlobalData(e,t),this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.data=e;var r=createNS("clipPath"),n=createNS("rect");n.setAttribute("width",e.w),n.setAttribute("height",e.h),n.setAttribute("x",0),n.setAttribute("y",0);var i=createElementID();r.setAttribute("id",i),r.appendChild(n),this.layerElement.setAttribute("clip-path","url("+getLocationHref()+"#"+i+")"),t.appendChild(r),this.layers=e.layers,this.elements=createSizedArray(e.layers.length)},SVGRendererBase.prototype.destroy=function(){var e;this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),this.layerElement=null,this.globalData.defs=null;var t=this.layers?this.layers.length:0;for(e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy();this.elements.length=0,this.destroyed=!0,this.animationItem=null},SVGRendererBase.prototype.updateContainerSize=function(){},SVGRendererBase.prototype.buildItem=function(e){var t=this.elements;if(!t[e]&&99!==this.layers[e].ty){t[e]=!0;var r=this.createItem(this.layers[e]);t[e]=r,getExpressionsPlugin()&&(0===this.layers[e].ty&&this.globalData.projectInterface.registerComposition(r),r.initExpressions()),this.appendElementInPos(r,e),this.layers[e].tt&&(this.elements[e-1]&&!0!==this.elements[e-1]?r.setMatte(t[e-1].layerId):(this.buildItem(e-1),this.addPendingElement(r)))}},SVGRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){var e=this.pendingElements.pop();if(e.checkParenting(),e.data.tt)for(var t=0,r=this.elements.length;t<r;){if(this.elements[t]===e){e.setMatte(this.elements[t-1].layerId);break}t+=1}}},SVGRendererBase.prototype.renderFrame=function(e){if(this.renderedFrame!==e&&!this.destroyed){var t;null===e?e=this.renderedFrame:this.renderedFrame=e,this.globalData.frameNum=e,this.globalData.frameId+=1,this.globalData.projectInterface.currentFrame=e,this.globalData._mdf=!1;var r=this.layers.length;for(this.completeLayers||this.checkLayers(e),t=r-1;t>=0;t-=1)(this.completeLayers||this.elements[t])&&this.elements[t].prepareFrame(e-this.layers[t].st);if(this.globalData._mdf)for(t=0;t<r;t+=1)(this.completeLayers||this.elements[t])&&this.elements[t].renderFrame()}},SVGRendererBase.prototype.appendElementInPos=function(e,t){var r=e.getBaseElement();if(r){for(var n,i=0;i<t;)this.elements[i]&&!0!==this.elements[i]&&this.elements[i].getBaseElement()&&(n=this.elements[i].getBaseElement()),i+=1;n?this.layerElement.insertBefore(r,n):this.layerElement.appendChild(r)}},SVGRendererBase.prototype.hide=function(){this.layerElement.style.display="none"},SVGRendererBase.prototype.show=function(){this.layerElement.style.display="block"},extendPrototype([BaseElement,TransformElement,HierarchyElement,FrameElement,RenderableDOMElement],ICompElement),ICompElement.prototype.initElement=function(e,t,r){this.initFrame(),this.initBaseData(e,t,r),this.initTransform(e,t,r),this.initRenderable(),this.initHierarchy(),this.initRendererElement(),this.createContainerElements(),this.createRenderableComponents(),!this.data.xt&&t.progressiveLoad||this.buildAllItems(),this.hide()},ICompElement.prototype.prepareFrame=function(e){if(this._mdf=!1,this.prepareRenderableFrame(e),this.prepareProperties(e,this.isInRange),this.isInRange||this.data.xt){if(this.tm._placeholder)this.renderedFrame=e/this.data.sr;else{var t=this.tm.v;t===this.data.op&&(t=this.data.op-1),this.renderedFrame=t}var r,n=this.elements.length;for(this.completeLayers||this.checkLayers(this.renderedFrame),r=n-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&(this.elements[r].prepareFrame(this.renderedFrame-this.layers[r].st),this.elements[r]._mdf&&(this._mdf=!0))}},ICompElement.prototype.renderInnerContent=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},ICompElement.prototype.setElements=function(e){this.elements=e},ICompElement.prototype.getElements=function(){return this.elements},ICompElement.prototype.destroyElements=function(){var e,t=this.layers.length;for(e=0;e<t;e+=1)this.elements[e]&&this.elements[e].destroy()},ICompElement.prototype.destroy=function(){this.destroyElements(),this.destroyBaseElement()},extendPrototype([SVGRendererBase,ICompElement,SVGBaseElement],SVGCompElement),SVGCompElement.prototype.createComp=function(e){return new SVGCompElement(e,this.globalData,this)},extendPrototype([SVGRendererBase],SVGRenderer),SVGRenderer.prototype.createComp=function(e){return new SVGCompElement(e,this.globalData,this)},CVContextData.prototype.duplicate=function(){var e=2*this._length,t=this.savedOp;this.savedOp=createTypedArray("float32",e),this.savedOp.set(t);var r=0;for(r=this._length;r<e;r+=1)this.saved[r]=createTypedArray("float32",16);this._length=e},CVContextData.prototype.reset=function(){this.cArrPos=0,this.cTr.reset(),this.cO=1},ShapeTransformManager.prototype={addTransformSequence:function(e){var t,r=e.length,n="_";for(t=0;t<r;t+=1)n+=e[t].transform.key+"_";var i=this.sequences[n];return i||(i={transforms:[].concat(e),finalTransform:new Matrix,_mdf:!1},this.sequences[n]=i,this.sequenceList.push(i)),i},processSequence:function(e,t){for(var r,n=0,i=e.transforms.length,o=t;n<i&&!t;){if(e.transforms[n].transform.mProps._mdf){o=!0;break}n+=1}if(o)for(e.finalTransform.reset(),n=i-1;n>=0;n-=1)r=e.transforms[n].transform.mProps.v.props,e.finalTransform.transform(r[0],r[1],r[2],r[3],r[4],r[5],r[6],r[7],r[8],r[9],r[10],r[11],r[12],r[13],r[14],r[15]);e._mdf=o},processSequences:function(e){var t,r=this.sequenceList.length;for(t=0;t<r;t+=1)this.processSequence(this.sequenceList[t],e)},getNewKey:function(){return this.transform_key_count+=1,"_"+this.transform_key_count}},CVEffects.prototype.renderFrame=function(){},CVMaskElement.prototype.renderFrame=function(){if(this.hasMasks){var e,t,r,n,i=this.element.finalTransform.mat,o=this.element.canvasContext,s=this.masksProperties.length;for(o.beginPath(),e=0;e<s;e+=1)if("n"!==this.masksProperties[e].mode){var a;this.masksProperties[e].inv&&(o.moveTo(0,0),o.lineTo(this.element.globalData.compSize.w,0),o.lineTo(this.element.globalData.compSize.w,this.element.globalData.compSize.h),o.lineTo(0,this.element.globalData.compSize.h),o.lineTo(0,0)),n=this.viewData[e].v,t=i.applyToPointArray(n.v[0][0],n.v[0][1],0),o.moveTo(t[0],t[1]);var l=n._length;for(a=1;a<l;a+=1)r=i.applyToTriplePoints(n.o[a-1],n.i[a],n.v[a]),o.bezierCurveTo(r[0],r[1],r[2],r[3],r[4],r[5]);r=i.applyToTriplePoints(n.o[a-1],n.i[0],n.v[0]),o.bezierCurveTo(r[0],r[1],r[2],r[3],r[4],r[5])}this.element.globalData.renderer.save(!0),o.clip()}},CVMaskElement.prototype.getMaskProperty=MaskElement.prototype.getMaskProperty,CVMaskElement.prototype.destroy=function(){this.element=null},CVBaseElement.prototype={createElements:function(){},initRendererElement:function(){},createContainerElements:function(){this.canvasContext=this.globalData.canvasContext,this.renderableEffectsManager=new CVEffects(this)},createContent:function(){},setBlendMode:function(){var e=this.globalData;if(e.blendMode!==this.data.bm){e.blendMode=this.data.bm;var t=getBlendMode(this.data.bm);e.canvasContext.globalCompositeOperation=t}},createRenderableComponents:function(){this.maskManager=new CVMaskElement(this.data,this)},hideElement:function(){this.hidden||this.isInRange&&!this.isTransparent||(this.hidden=!0)},showElement:function(){this.isInRange&&!this.isTransparent&&(this.hidden=!1,this._isFirstFrame=!0,this.maskManager._isFirstFrame=!0)},renderFrame:function(){if(!this.hidden&&!this.data.hd){this.renderTransform(),this.renderRenderable(),this.setBlendMode();var e=0===this.data.ty;this.globalData.renderer.save(e),this.globalData.renderer.ctxTransform(this.finalTransform.mat.props),this.globalData.renderer.ctxOpacity(this.finalTransform.mProp.o.v),this.renderInnerContent(),this.globalData.renderer.restore(e),this.maskManager.hasMasks&&this.globalData.renderer.restore(!0),this._isFirstFrame&&(this._isFirstFrame=!1)}},destroy:function(){this.canvasContext=null,this.data=null,this.globalData=null,this.maskManager.destroy()},mHelper:new Matrix},CVBaseElement.prototype.hide=CVBaseElement.prototype.hideElement,CVBaseElement.prototype.show=CVBaseElement.prototype.showElement,CVShapeData.prototype.setAsAnimated=SVGShapeData.prototype.setAsAnimated,extendPrototype([BaseElement,TransformElement,CVBaseElement,IShapeElement,HierarchyElement,FrameElement,RenderableElement],CVShapeElement),CVShapeElement.prototype.initElement=RenderableDOMElement.prototype.initElement,CVShapeElement.prototype.transformHelper={opacity:1,_opMdf:!1},CVShapeElement.prototype.dashResetter=[],CVShapeElement.prototype.createContent=function(){this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[])},CVShapeElement.prototype.createStyleElement=function(e,t){var r={data:e,type:e.ty,preTransforms:this.transformsManager.addTransformSequence(t),transforms:[],elements:[],closed:!0===e.hd},n={};if("fl"===e.ty||"st"===e.ty?(n.c=PropertyFactory.getProp(this,e.c,1,255,this),n.c.k||(r.co="rgb("+bmFloor(n.c.v[0])+","+bmFloor(n.c.v[1])+","+bmFloor(n.c.v[2])+")")):"gf"!==e.ty&&"gs"!==e.ty||(n.s=PropertyFactory.getProp(this,e.s,1,null,this),n.e=PropertyFactory.getProp(this,e.e,1,null,this),n.h=PropertyFactory.getProp(this,e.h||{k:0},0,.01,this),n.a=PropertyFactory.getProp(this,e.a||{k:0},0,degToRads,this),n.g=new GradientProperty(this,e.g,this)),n.o=PropertyFactory.getProp(this,e.o,0,.01,this),"st"===e.ty||"gs"===e.ty){if(r.lc=lineCapEnum[e.lc||2],r.lj=lineJoinEnum[e.lj||2],1==e.lj&&(r.ml=e.ml),n.w=PropertyFactory.getProp(this,e.w,0,null,this),n.w.k||(r.wi=n.w.v),e.d){var i=new DashProperty(this,e.d,"canvas",this);n.d=i,n.d.k||(r.da=n.d.dashArray,r.do=n.d.dashoffset[0])}}else r.r=2===e.r?"evenodd":"nonzero";return this.stylesList.push(r),n.style=r,n},CVShapeElement.prototype.createGroupElement=function(){return{it:[],prevViewData:[]}},CVShapeElement.prototype.createTransformElement=function(e){return{transform:{opacity:1,_opMdf:!1,key:this.transformsManager.getNewKey(),op:PropertyFactory.getProp(this,e.o,0,.01,this),mProps:TransformPropertyFactory.getTransformProperty(this,e,this)}}},CVShapeElement.prototype.createShapeElement=function(e){var t=new CVShapeData(this,e,this.stylesList,this.transformsManager);return this.shapes.push(t),this.addShapeToModifiers(t),t},CVShapeElement.prototype.reloadShapes=function(){var e;this._isFirstFrame=!0;var t=this.itemsData.length;for(e=0;e<t;e+=1)this.prevViewData[e]=this.itemsData[e];for(this.searchShapes(this.shapesData,this.itemsData,this.prevViewData,!0,[]),t=this.dynamicProperties.length,e=0;e<t;e+=1)this.dynamicProperties[e].getValue();this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame)},CVShapeElement.prototype.addTransformToStyleList=function(e){var t,r=this.stylesList.length;for(t=0;t<r;t+=1)this.stylesList[t].closed||this.stylesList[t].transforms.push(e)},CVShapeElement.prototype.removeTransformFromStyleList=function(){var e,t=this.stylesList.length;for(e=0;e<t;e+=1)this.stylesList[e].closed||this.stylesList[e].transforms.pop()},CVShapeElement.prototype.closeStyles=function(e){var t,r=e.length;for(t=0;t<r;t+=1)e[t].closed=!0},CVShapeElement.prototype.searchShapes=function(e,t,r,n,i){var o,s,a,l,c,u,d=e.length-1,h=[],p=[],m=[].concat(i);for(o=d;o>=0;o-=1){if((l=this.searchProcessedElement(e[o]))?t[o]=r[l-1]:e[o]._shouldRender=n,"fl"===e[o].ty||"st"===e[o].ty||"gf"===e[o].ty||"gs"===e[o].ty)l?t[o].style.closed=!1:t[o]=this.createStyleElement(e[o],m),h.push(t[o].style);else if("gr"===e[o].ty){if(l)for(a=t[o].it.length,s=0;s<a;s+=1)t[o].prevViewData[s]=t[o].it[s];else t[o]=this.createGroupElement(e[o]);this.searchShapes(e[o].it,t[o].it,t[o].prevViewData,n,m)}else"tr"===e[o].ty?(l||(u=this.createTransformElement(e[o]),t[o]=u),m.push(t[o]),this.addTransformToStyleList(t[o])):"sh"===e[o].ty||"rc"===e[o].ty||"el"===e[o].ty||"sr"===e[o].ty?l||(t[o]=this.createShapeElement(e[o])):"tm"===e[o].ty||"rd"===e[o].ty||"pb"===e[o].ty?(l?(c=t[o]).closed=!1:((c=ShapeModifiers.getModifier(e[o].ty)).init(this,e[o]),t[o]=c,this.shapeModifiers.push(c)),p.push(c)):"rp"===e[o].ty&&(l?(c=t[o]).closed=!0:(c=ShapeModifiers.getModifier(e[o].ty),t[o]=c,c.init(this,e,o,t),this.shapeModifiers.push(c),n=!1),p.push(c));this.addProcessedElement(e[o],o+1)}for(this.removeTransformFromStyleList(),this.closeStyles(h),d=p.length,o=0;o<d;o+=1)p[o].closed=!0},CVShapeElement.prototype.renderInnerContent=function(){this.transformHelper.opacity=1,this.transformHelper._opMdf=!1,this.renderModifiers(),this.transformsManager.processSequences(this._isFirstFrame),this.renderShape(this.transformHelper,this.shapesData,this.itemsData,!0)},CVShapeElement.prototype.renderShapeTransform=function(e,t){(e._opMdf||t.op._mdf||this._isFirstFrame)&&(t.opacity=e.opacity,t.opacity*=t.op.v,t._opMdf=!0)},CVShapeElement.prototype.drawLayer=function(){var e,t,r,n,i,o,s,a,l,c=this.stylesList.length,u=this.globalData.renderer,d=this.globalData.canvasContext;for(e=0;e<c;e+=1)if(("st"!==(a=(l=this.stylesList[e]).type)&&"gs"!==a||0!==l.wi)&&l.data._shouldRender&&0!==l.coOp&&0!==this.globalData.currentGlobalAlpha){for(u.save(),o=l.elements,"st"===a||"gs"===a?(d.strokeStyle="st"===a?l.co:l.grd,d.lineWidth=l.wi,d.lineCap=l.lc,d.lineJoin=l.lj,d.miterLimit=l.ml||0):d.fillStyle="fl"===a?l.co:l.grd,u.ctxOpacity(l.coOp),"st"!==a&&"gs"!==a&&d.beginPath(),u.ctxTransform(l.preTransforms.finalTransform.props),r=o.length,t=0;t<r;t+=1){for("st"!==a&&"gs"!==a||(d.beginPath(),l.da&&(d.setLineDash(l.da),d.lineDashOffset=l.do)),i=(s=o[t].trNodes).length,n=0;n<i;n+=1)"m"===s[n].t?d.moveTo(s[n].p[0],s[n].p[1]):"c"===s[n].t?d.bezierCurveTo(s[n].pts[0],s[n].pts[1],s[n].pts[2],s[n].pts[3],s[n].pts[4],s[n].pts[5]):d.closePath();"st"!==a&&"gs"!==a||(d.stroke(),l.da&&d.setLineDash(this.dashResetter))}"st"!==a&&"gs"!==a&&d.fill(l.r),u.restore()}},CVShapeElement.prototype.renderShape=function(e,t,r,n){var i,o;for(o=e,i=t.length-1;i>=0;i-=1)"tr"===t[i].ty?(o=r[i].transform,this.renderShapeTransform(e,o)):"sh"===t[i].ty||"el"===t[i].ty||"rc"===t[i].ty||"sr"===t[i].ty?this.renderPath(t[i],r[i]):"fl"===t[i].ty?this.renderFill(t[i],r[i],o):"st"===t[i].ty?this.renderStroke(t[i],r[i],o):"gf"===t[i].ty||"gs"===t[i].ty?this.renderGradientFill(t[i],r[i],o):"gr"===t[i].ty?this.renderShape(o,t[i].it,r[i].it):t[i].ty;n&&this.drawLayer()},CVShapeElement.prototype.renderStyledShape=function(e,t){if(this._isFirstFrame||t._mdf||e.transforms._mdf){var r,n,i,o=e.trNodes,s=t.paths,a=s._length;o.length=0;var l=e.transforms.finalTransform;for(i=0;i<a;i+=1){var c=s.shapes[i];if(c&&c.v){for(n=c._length,r=1;r<n;r+=1)1===r&&o.push({t:"m",p:l.applyToPointArray(c.v[0][0],c.v[0][1],0)}),o.push({t:"c",pts:l.applyToTriplePoints(c.o[r-1],c.i[r],c.v[r])});1===n&&o.push({t:"m",p:l.applyToPointArray(c.v[0][0],c.v[0][1],0)}),c.c&&n&&(o.push({t:"c",pts:l.applyToTriplePoints(c.o[r-1],c.i[0],c.v[0])}),o.push({t:"z"}))}}e.trNodes=o}},CVShapeElement.prototype.renderPath=function(e,t){if(!0!==e.hd&&e._shouldRender){var r,n=t.styledShapes.length;for(r=0;r<n;r+=1)this.renderStyledShape(t.styledShapes[r],t.sh)}},CVShapeElement.prototype.renderFill=function(e,t,r){var n=t.style;(t.c._mdf||this._isFirstFrame)&&(n.co="rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||r._opMdf||this._isFirstFrame)&&(n.coOp=t.o.v*r.opacity)},CVShapeElement.prototype.renderGradientFill=function(e,t,r){var n,i=t.style;if(!i.grd||t.g._mdf||t.s._mdf||t.e._mdf||1!==e.t&&(t.h._mdf||t.a._mdf)){var o,s=this.globalData.canvasContext,a=t.s.v,l=t.e.v;if(1===e.t)n=s.createLinearGradient(a[0],a[1],l[0],l[1]);else{var c=Math.sqrt(Math.pow(a[0]-l[0],2)+Math.pow(a[1]-l[1],2)),u=Math.atan2(l[1]-a[1],l[0]-a[0]),d=t.h.v;d>=1?d=.99:d<=-1&&(d=-.99);var h=c*d,p=Math.cos(u+t.a.v)*h+a[0],m=Math.sin(u+t.a.v)*h+a[1];n=s.createRadialGradient(p,m,0,a[0],a[1],c)}var _=e.g.p,g=t.g.c,f=1;for(o=0;o<_;o+=1)t.g._hasOpacity&&t.g._collapsable&&(f=t.g.o[2*o+1]),n.addColorStop(g[4*o]/100,"rgba("+g[4*o+1]+","+g[4*o+2]+","+g[4*o+3]+","+f+")");i.grd=n}i.coOp=t.o.v*r.opacity},CVShapeElement.prototype.renderStroke=function(e,t,r){var n=t.style,i=t.d;i&&(i._mdf||this._isFirstFrame)&&(n.da=i.dashArray,n.do=i.dashoffset[0]),(t.c._mdf||this._isFirstFrame)&&(n.co="rgb("+bmFloor(t.c.v[0])+","+bmFloor(t.c.v[1])+","+bmFloor(t.c.v[2])+")"),(t.o._mdf||r._opMdf||this._isFirstFrame)&&(n.coOp=t.o.v*r.opacity),(t.w._mdf||this._isFirstFrame)&&(n.wi=t.w.v)},CVShapeElement.prototype.destroy=function(){this.shapesData=null,this.globalData=null,this.canvasContext=null,this.stylesList.length=0,this.itemsData.length=0},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement,ITextElement],CVTextElement),CVTextElement.prototype.tHelper=createTag("canvas").getContext("2d"),CVTextElement.prototype.buildNewText=function(){var e=this.textProperty.currentData;this.renderedLetters=createSizedArray(e.l?e.l.length:0);var t=!1;e.fc?(t=!0,this.values.fill=this.buildColor(e.fc)):this.values.fill="rgba(0,0,0,0)",this.fill=t;var r=!1;e.sc&&(r=!0,this.values.stroke=this.buildColor(e.sc),this.values.sWidth=e.sw);var n,i,o,s,a,l,c,u,d,h,p,m,_=this.globalData.fontManager.getFontByName(e.f),g=e.l,f=this.mHelper;this.stroke=r,this.values.fValue=e.finalSize+"px "+this.globalData.fontManager.getFontByName(e.f).fFamily,i=e.finalText.length;var v=this.data.singleShape,b=.001*e.tr*e.finalSize,y=0,$=0,x=!0,S=0;for(n=0;n<i;n+=1){s=(o=this.globalData.fontManager.getCharData(e.finalText[n],_.fStyle,this.globalData.fontManager.getFontByName(e.f).fFamily))&&o.data||{},f.reset(),v&&g[n].n&&(y=-b,$+=e.yOffset,$+=x?1:0,x=!1),d=(c=s.shapes?s.shapes[0].it:[]).length,f.scale(e.finalSize/100,e.finalSize/100),v&&this.applyTextPropertiesToMatrix(e,f,g[n].line,y,$),p=createSizedArray(d-1);var w=0;for(u=0;u<d;u+=1)if("sh"===c[u].ty){for(l=c[u].ks.k.i.length,h=c[u].ks.k,m=[],a=1;a<l;a+=1)1===a&&m.push(f.applyToX(h.v[0][0],h.v[0][1],0),f.applyToY(h.v[0][0],h.v[0][1],0)),m.push(f.applyToX(h.o[a-1][0],h.o[a-1][1],0),f.applyToY(h.o[a-1][0],h.o[a-1][1],0),f.applyToX(h.i[a][0],h.i[a][1],0),f.applyToY(h.i[a][0],h.i[a][1],0),f.applyToX(h.v[a][0],h.v[a][1],0),f.applyToY(h.v[a][0],h.v[a][1],0));m.push(f.applyToX(h.o[a-1][0],h.o[a-1][1],0),f.applyToY(h.o[a-1][0],h.o[a-1][1],0),f.applyToX(h.i[0][0],h.i[0][1],0),f.applyToY(h.i[0][0],h.i[0][1],0),f.applyToX(h.v[0][0],h.v[0][1],0),f.applyToY(h.v[0][0],h.v[0][1],0)),p[w]=m,w+=1}v&&(y+=g[n].l,y+=b),this.textSpans[S]?this.textSpans[S].elem=p:this.textSpans[S]={elem:p},S+=1}},CVTextElement.prototype.renderInnerContent=function(){var e,t,r,n,i,o,s=this.canvasContext;s.font=this.values.fValue,s.lineCap="butt",s.lineJoin="miter",s.miterLimit=4,this.data.singleShape||this.textAnimator.getMeasures(this.textProperty.currentData,this.lettersChangedFlag);var a,l=this.textAnimator.renderedLetters,c=this.textProperty.currentData.l;t=c.length;var u,d,h=null,p=null,m=null;for(e=0;e<t;e+=1)if(!c[e].n){if((a=l[e])&&(this.globalData.renderer.save(),this.globalData.renderer.ctxTransform(a.p),this.globalData.renderer.ctxOpacity(a.o)),this.fill){for(a&&a.fc?h!==a.fc&&(h=a.fc,s.fillStyle=a.fc):h!==this.values.fill&&(h=this.values.fill,s.fillStyle=this.values.fill),n=(u=this.textSpans[e].elem).length,this.globalData.canvasContext.beginPath(),r=0;r<n;r+=1)for(o=(d=u[r]).length,this.globalData.canvasContext.moveTo(d[0],d[1]),i=2;i<o;i+=6)this.globalData.canvasContext.bezierCurveTo(d[i],d[i+1],d[i+2],d[i+3],d[i+4],d[i+5]);this.globalData.canvasContext.closePath(),this.globalData.canvasContext.fill()}if(this.stroke){for(a&&a.sw?m!==a.sw&&(m=a.sw,s.lineWidth=a.sw):m!==this.values.sWidth&&(m=this.values.sWidth,s.lineWidth=this.values.sWidth),a&&a.sc?p!==a.sc&&(p=a.sc,s.strokeStyle=a.sc):p!==this.values.stroke&&(p=this.values.stroke,s.strokeStyle=this.values.stroke),n=(u=this.textSpans[e].elem).length,this.globalData.canvasContext.beginPath(),r=0;r<n;r+=1)for(o=(d=u[r]).length,this.globalData.canvasContext.moveTo(d[0],d[1]),i=2;i<o;i+=6)this.globalData.canvasContext.bezierCurveTo(d[i],d[i+1],d[i+2],d[i+3],d[i+4],d[i+5]);this.globalData.canvasContext.closePath(),this.globalData.canvasContext.stroke()}a&&this.globalData.renderer.restore()}},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVImageElement),CVImageElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVImageElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVImageElement.prototype.createContent=function(){if(this.img.width&&(this.assetData.w!==this.img.width||this.assetData.h!==this.img.height)){var e=createTag("canvas");e.width=this.assetData.w,e.height=this.assetData.h;var t,r,n=e.getContext("2d"),i=this.img.width,o=this.img.height,s=i/o,a=this.assetData.w/this.assetData.h,l=this.assetData.pr||this.globalData.renderConfig.imagePreserveAspectRatio;s>a&&"xMidYMid slice"===l||s<a&&"xMidYMid slice"!==l?t=(r=o)*a:r=(t=i)/a,n.drawImage(this.img,(i-t)/2,(o-r)/2,t,r,0,0,this.assetData.w,this.assetData.h),this.img=e}},CVImageElement.prototype.renderInnerContent=function(){this.canvasContext.drawImage(this.img,0,0)},CVImageElement.prototype.destroy=function(){this.img=null},extendPrototype([BaseElement,TransformElement,CVBaseElement,HierarchyElement,FrameElement,RenderableElement],CVSolidElement),CVSolidElement.prototype.initElement=SVGShapeElement.prototype.initElement,CVSolidElement.prototype.prepareFrame=IImageElement.prototype.prepareFrame,CVSolidElement.prototype.renderInnerContent=function(){var e=this.canvasContext;e.fillStyle=this.data.sc,e.fillRect(0,0,this.data.sw,this.data.sh)},extendPrototype([BaseRenderer],CanvasRendererBase),CanvasRendererBase.prototype.createShape=function(e){return new CVShapeElement(e,this.globalData,this)},CanvasRendererBase.prototype.createText=function(e){return new CVTextElement(e,this.globalData,this)},CanvasRendererBase.prototype.createImage=function(e){return new CVImageElement(e,this.globalData,this)},CanvasRendererBase.prototype.createSolid=function(e){return new CVSolidElement(e,this.globalData,this)},CanvasRendererBase.prototype.createNull=SVGRenderer.prototype.createNull,CanvasRendererBase.prototype.ctxTransform=function(e){if(1!==e[0]||0!==e[1]||0!==e[4]||1!==e[5]||0!==e[12]||0!==e[13])if(this.renderConfig.clearCanvas){this.transformMat.cloneFromProps(e);var t=this.contextData.cTr.props;this.transformMat.transform(t[0],t[1],t[2],t[3],t[4],t[5],t[6],t[7],t[8],t[9],t[10],t[11],t[12],t[13],t[14],t[15]),this.contextData.cTr.cloneFromProps(this.transformMat.props);var r=this.contextData.cTr.props;this.canvasContext.setTransform(r[0],r[1],r[4],r[5],r[12],r[13])}else this.canvasContext.transform(e[0],e[1],e[4],e[5],e[12],e[13])},CanvasRendererBase.prototype.ctxOpacity=function(e){if(!this.renderConfig.clearCanvas)return this.canvasContext.globalAlpha*=e<0?0:e,void(this.globalData.currentGlobalAlpha=this.contextData.cO);this.contextData.cO*=e<0?0:e,this.globalData.currentGlobalAlpha!==this.contextData.cO&&(this.canvasContext.globalAlpha=this.contextData.cO,this.globalData.currentGlobalAlpha=this.contextData.cO)},CanvasRendererBase.prototype.reset=function(){this.renderConfig.clearCanvas?this.contextData.reset():this.canvasContext.restore()},CanvasRendererBase.prototype.save=function(e){if(this.renderConfig.clearCanvas){e&&this.canvasContext.save();var t,r=this.contextData.cTr.props;this.contextData._length<=this.contextData.cArrPos&&this.contextData.duplicate();var n=this.contextData.saved[this.contextData.cArrPos];for(t=0;t<16;t+=1)n[t]=r[t];this.contextData.savedOp[this.contextData.cArrPos]=this.contextData.cO,this.contextData.cArrPos+=1}else this.canvasContext.save()},CanvasRendererBase.prototype.restore=function(e){if(this.renderConfig.clearCanvas){e&&(this.canvasContext.restore(),this.globalData.blendMode="source-over"),this.contextData.cArrPos-=1;var t,r=this.contextData.saved[this.contextData.cArrPos],n=this.contextData.cTr.props;for(t=0;t<16;t+=1)n[t]=r[t];this.canvasContext.setTransform(r[0],r[1],r[4],r[5],r[12],r[13]),r=this.contextData.savedOp[this.contextData.cArrPos],this.contextData.cO=r,this.globalData.currentGlobalAlpha!==r&&(this.canvasContext.globalAlpha=r,this.globalData.currentGlobalAlpha=r)}else this.canvasContext.restore()},CanvasRendererBase.prototype.configAnimation=function(e){if(this.animationItem.wrapper){this.animationItem.container=createTag("canvas");var t=this.animationItem.container.style;t.width="100%",t.height="100%";var r="0px 0px 0px";t.transformOrigin=r,t.mozTransformOrigin=r,t.webkitTransformOrigin=r,t["-webkit-transform"]=r,t.contentVisibility=this.renderConfig.contentVisibility,this.animationItem.wrapper.appendChild(this.animationItem.container),this.canvasContext=this.animationItem.container.getContext("2d"),this.renderConfig.className&&this.animationItem.container.setAttribute("class",this.renderConfig.className),this.renderConfig.id&&this.animationItem.container.setAttribute("id",this.renderConfig.id)}else this.canvasContext=this.renderConfig.context;this.data=e,this.layers=e.layers,this.transformCanvas={w:e.w,h:e.h,sx:0,sy:0,tx:0,ty:0},this.setupGlobalData(e,document.body),this.globalData.canvasContext=this.canvasContext,this.globalData.renderer=this,this.globalData.isDashed=!1,this.globalData.progressiveLoad=this.renderConfig.progressiveLoad,this.globalData.transformCanvas=this.transformCanvas,this.elements=createSizedArray(e.layers.length),this.updateContainerSize()},CanvasRendererBase.prototype.updateContainerSize=function(){var e,t,r,n;if(this.reset(),this.animationItem.wrapper&&this.animationItem.container?(e=this.animationItem.wrapper.offsetWidth,t=this.animationItem.wrapper.offsetHeight,this.animationItem.container.setAttribute("width",e*this.renderConfig.dpr),this.animationItem.container.setAttribute("height",t*this.renderConfig.dpr)):(e=this.canvasContext.canvas.width*this.renderConfig.dpr,t=this.canvasContext.canvas.height*this.renderConfig.dpr),-1!==this.renderConfig.preserveAspectRatio.indexOf("meet")||-1!==this.renderConfig.preserveAspectRatio.indexOf("slice")){var i=this.renderConfig.preserveAspectRatio.split(" "),o=i[1]||"meet",s=i[0]||"xMidYMid",a=s.substr(0,4),l=s.substr(4);r=e/t,(n=this.transformCanvas.w/this.transformCanvas.h)>r&&"meet"===o||n<r&&"slice"===o?(this.transformCanvas.sx=e/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=e/(this.transformCanvas.w/this.renderConfig.dpr)):(this.transformCanvas.sx=t/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.sy=t/(this.transformCanvas.h/this.renderConfig.dpr)),this.transformCanvas.tx="xMid"===a&&(n<r&&"meet"===o||n>r&&"slice"===o)?(e-this.transformCanvas.w*(t/this.transformCanvas.h))/2*this.renderConfig.dpr:"xMax"===a&&(n<r&&"meet"===o||n>r&&"slice"===o)?(e-this.transformCanvas.w*(t/this.transformCanvas.h))*this.renderConfig.dpr:0,this.transformCanvas.ty="YMid"===l&&(n>r&&"meet"===o||n<r&&"slice"===o)?(t-this.transformCanvas.h*(e/this.transformCanvas.w))/2*this.renderConfig.dpr:"YMax"===l&&(n>r&&"meet"===o||n<r&&"slice"===o)?(t-this.transformCanvas.h*(e/this.transformCanvas.w))*this.renderConfig.dpr:0}else"none"===this.renderConfig.preserveAspectRatio?(this.transformCanvas.sx=e/(this.transformCanvas.w/this.renderConfig.dpr),this.transformCanvas.sy=t/(this.transformCanvas.h/this.renderConfig.dpr),this.transformCanvas.tx=0,this.transformCanvas.ty=0):(this.transformCanvas.sx=this.renderConfig.dpr,this.transformCanvas.sy=this.renderConfig.dpr,this.transformCanvas.tx=0,this.transformCanvas.ty=0);this.transformCanvas.props=[this.transformCanvas.sx,0,0,0,0,this.transformCanvas.sy,0,0,0,0,1,0,this.transformCanvas.tx,this.transformCanvas.ty,0,1],this.ctxTransform(this.transformCanvas.props),this.canvasContext.beginPath(),this.canvasContext.rect(0,0,this.transformCanvas.w,this.transformCanvas.h),this.canvasContext.closePath(),this.canvasContext.clip(),this.renderFrame(this.renderedFrame,!0)},CanvasRendererBase.prototype.destroy=function(){var e;for(this.renderConfig.clearCanvas&&this.animationItem.wrapper&&(this.animationItem.wrapper.innerText=""),e=(this.layers?this.layers.length:0)-1;e>=0;e-=1)this.elements[e]&&this.elements[e].destroy();this.elements.length=0,this.globalData.canvasContext=null,this.animationItem.container=null,this.destroyed=!0},CanvasRendererBase.prototype.renderFrame=function(e,t){if((this.renderedFrame!==e||!0!==this.renderConfig.clearCanvas||t)&&!this.destroyed&&-1!==e){var r;this.renderedFrame=e,this.globalData.frameNum=e-this.animationItem._isFirstFrame,this.globalData.frameId+=1,this.globalData._mdf=!this.renderConfig.clearCanvas||t,this.globalData.projectInterface.currentFrame=e;var n=this.layers.length;for(this.completeLayers||this.checkLayers(e),r=0;r<n;r+=1)(this.completeLayers||this.elements[r])&&this.elements[r].prepareFrame(e-this.layers[r].st);if(this.globalData._mdf){for(!0===this.renderConfig.clearCanvas?this.canvasContext.clearRect(0,0,this.transformCanvas.w,this.transformCanvas.h):this.save(),r=n-1;r>=0;r-=1)(this.completeLayers||this.elements[r])&&this.elements[r].renderFrame();!0!==this.renderConfig.clearCanvas&&this.restore()}}},CanvasRendererBase.prototype.buildItem=function(e){var t=this.elements;if(!t[e]&&99!==this.layers[e].ty){var r=this.createItem(this.layers[e],this,this.globalData);t[e]=r,r.initExpressions()}},CanvasRendererBase.prototype.checkPendingElements=function(){for(;this.pendingElements.length;){this.pendingElements.pop().checkParenting()}},CanvasRendererBase.prototype.hide=function(){this.animationItem.container.style.display="none"},CanvasRendererBase.prototype.show=function(){this.animationItem.container.style.display="block"},extendPrototype([CanvasRendererBase,ICompElement,CVBaseElement],CVCompElement),CVCompElement.prototype.renderInnerContent=function(){var e,t=this.canvasContext;for(t.beginPath(),t.moveTo(0,0),t.lineTo(this.data.w,0),t.lineTo(this.data.w,this.data.h),t.lineTo(0,this.data.h),t.lineTo(0,0),t.clip(),e=this.layers.length-1;e>=0;e-=1)(this.completeLayers||this.elements[e])&&this.elements[e].renderFrame()},CVCompElement.prototype.destroy=function(){var e;for(e=this.layers.length-1;e>=0;e-=1)this.elements[e]&&this.elements[e].destroy();this.layers=null,this.elements=null},CVCompElement.prototype.createComp=function(e){return new CVCompElement(e,this.globalData,this)},extendPrototype([CanvasRendererBase],CanvasRenderer),CanvasRenderer.prototype.createComp=function(e){return new CVCompElement(e,this.globalData,this)},registerRenderer("canvas",CanvasRenderer),ShapeModifiers.registerModifier("tm",TrimModifier),ShapeModifiers.registerModifier("pb",PuckerAndBloatModifier),ShapeModifiers.registerModifier("rp",RepeaterModifier),ShapeModifiers.registerModifier("rd",RoundCornersModifier);const Expressions=function(){var e={};return e.initExpressions=function(e){var t=0,r=[];e.renderer.compInterface=CompExpressionInterface(e.renderer),e.renderer.globalData.projectInterface.registerComposition(e.renderer),e.renderer.globalData.pushExpression=function(){t+=1},e.renderer.globalData.popExpression=function(){0==(t-=1)&&function(){var e,t=r.length;for(e=0;e<t;e+=1)r[e].release();r.length=0}()},e.renderer.globalData.registerExpressionProperty=function(e){-1===r.indexOf(e)&&r.push(e)}},e}();function seedRandom(e,t){var r,n=this,i=256,o="random",s=t.pow(i,6),a=t.pow(2,52),l=2*a,c=255;function u(e){var t,r=e.length,n=this,o=0,s=n.i=n.j=0,a=n.S=[];for(r||(e=[r++]);o<i;)a[o]=o++;for(o=0;o<i;o++)a[o]=a[s=c&s+e[o%r]+(t=a[o])],a[s]=t;n.g=function(e){for(var t,r=0,o=n.i,s=n.j,a=n.S;e--;)t=a[o=c&o+1],r=r*i+a[c&(a[o]=a[s=c&s+t])+(a[s]=t)];return n.i=o,n.j=s,r}}function d(e,t){return t.i=e.i,t.j=e.j,t.S=e.S.slice(),t}function h(e,t){var r,n=[],i=typeof e;if(t&&"object"==i)for(r in e)try{n.push(h(e[r],t-1))}catch(e){}return n.length?n:"string"==i?e:e+"\0"}function p(e,t){for(var r,n=e+"",i=0;i<n.length;)t[c&i]=c&(r^=19*t[c&i])+n.charCodeAt(i++);return m(t)}function m(e){return String.fromCharCode.apply(0,e)}t["seed"+o]=function(c,_,g){var f=[],v=p(h((_=!0===_?{entropy:!0}:_||{}).entropy?[c,m(e)]:null===c?function(){try{r;var t=new Uint8Array(i);return(n.crypto||n.msCrypto).getRandomValues(t),m(t)}catch(t){var o=n.navigator,s=o&&o.plugins;return[+new Date,n,s,n.screen,m(e)]}}():c,3),f),b=new u(f),y=function(){for(var e=b.g(6),t=s,r=0;e<a;)e=(e+r)*i,t*=i,r=b.g(1);for(;e>=l;)e/=2,t/=2,r>>>=1;return(e+r)/t};return y.int32=function(){return 0|b.g(4)},y.quick=function(){return b.g(4)/4294967296},y.double=y,p(m(b.S),e),(_.pass||g||function(e,r,n,i){return i&&(i.S&&d(i,b),e.state=function(){return d(b,{})}),n?(t[o]=e,r):e})(y,v,"global"in _?_.global:this==t,_.state)},p(t.random(),e)}function initialize$2(e){seedRandom([],e)}var propTypes={SHAPE:"shape"};const ExpressionManager=function(){var ob={},Math=BMMath,window=null,document=null,XMLHttpRequest=null,fetch=null,frames=null;function $bm_isInstanceOfArray(e){return e.constructor===Array||e.constructor===Float32Array}function isNumerable(e,t){return"number"===e||"boolean"===e||"string"===e||t instanceof Number}function $bm_neg(e){var t=typeof e;if("number"===t||"boolean"===t||e instanceof Number)return-e;if($bm_isInstanceOfArray(e)){var r,n=e.length,i=[];for(r=0;r<n;r+=1)i[r]=-e[r];return i}return e.propType?e.v:-e}initialize$2(BMMath);var easeInBez=BezierFactory.getBezierEasing(.333,0,.833,.833,"easeIn").get,easeOutBez=BezierFactory.getBezierEasing(.167,.167,.667,1,"easeOut").get,easeInOutBez=BezierFactory.getBezierEasing(.33,0,.667,1,"easeInOut").get;function sum(e,t){var r=typeof e,n=typeof t;if("string"===r||"string"===n)return e+t;if(isNumerable(r,e)&&isNumerable(n,t))return e+t;if($bm_isInstanceOfArray(e)&&isNumerable(n,t))return(e=e.slice(0))[0]+=t,e;if(isNumerable(r,e)&&$bm_isInstanceOfArray(t))return(t=t.slice(0))[0]=e+t[0],t;if($bm_isInstanceOfArray(e)&&$bm_isInstanceOfArray(t)){for(var i=0,o=e.length,s=t.length,a=[];i<o||i<s;)("number"==typeof e[i]||e[i]instanceof Number)&&("number"==typeof t[i]||t[i]instanceof Number)?a[i]=e[i]+t[i]:a[i]=void 0===t[i]?e[i]:e[i]||t[i],i+=1;return a}return 0}var add=sum;function sub(e,t){var r=typeof e,n=typeof t;if(isNumerable(r,e)&&isNumerable(n,t))return"string"===r&&(e=parseInt(e,10)),"string"===n&&(t=parseInt(t,10)),e-t;if($bm_isInstanceOfArray(e)&&isNumerable(n,t))return(e=e.slice(0))[0]-=t,e;if(isNumerable(r,e)&&$bm_isInstanceOfArray(t))return(t=t.slice(0))[0]=e-t[0],t;if($bm_isInstanceOfArray(e)&&$bm_isInstanceOfArray(t)){for(var i=0,o=e.length,s=t.length,a=[];i<o||i<s;)("number"==typeof e[i]||e[i]instanceof Number)&&("number"==typeof t[i]||t[i]instanceof Number)?a[i]=e[i]-t[i]:a[i]=void 0===t[i]?e[i]:e[i]||t[i],i+=1;return a}return 0}function mul(e,t){var r,n,i,o=typeof e,s=typeof t;if(isNumerable(o,e)&&isNumerable(s,t))return e*t;if($bm_isInstanceOfArray(e)&&isNumerable(s,t)){for(i=e.length,r=createTypedArray("float32",i),n=0;n<i;n+=1)r[n]=e[n]*t;return r}if(isNumerable(o,e)&&$bm_isInstanceOfArray(t)){for(i=t.length,r=createTypedArray("float32",i),n=0;n<i;n+=1)r[n]=e*t[n];return r}return 0}function div(e,t){var r,n,i,o=typeof e,s=typeof t;if(isNumerable(o,e)&&isNumerable(s,t))return e/t;if($bm_isInstanceOfArray(e)&&isNumerable(s,t)){for(i=e.length,r=createTypedArray("float32",i),n=0;n<i;n+=1)r[n]=e[n]/t;return r}if(isNumerable(o,e)&&$bm_isInstanceOfArray(t)){for(i=t.length,r=createTypedArray("float32",i),n=0;n<i;n+=1)r[n]=e/t[n];return r}return 0}function mod(e,t){return"string"==typeof e&&(e=parseInt(e,10)),"string"==typeof t&&(t=parseInt(t,10)),e%t}var $bm_sum=sum,$bm_sub=sub,$bm_mul=mul,$bm_div=div,$bm_mod=mod;function clamp(e,t,r){if(t>r){var n=r;r=t,t=n}return Math.min(Math.max(e,t),r)}function radiansToDegrees(e){return e/degToRads}var radians_to_degrees=radiansToDegrees;function degreesToRadians(e){return e*degToRads}var degrees_to_radians=radiansToDegrees,helperLengthArray=[0,0,0,0,0,0];function length(e,t){if("number"==typeof e||e instanceof Number)return t=t||0,Math.abs(e-t);var r;t||(t=helperLengthArray);var n=Math.min(e.length,t.length),i=0;for(r=0;r<n;r+=1)i+=Math.pow(t[r]-e[r],2);return Math.sqrt(i)}function normalize(e){return div(e,length(e))}function rgbToHsl(e){var t,r,n=e[0],i=e[1],o=e[2],s=Math.max(n,i,o),a=Math.min(n,i,o),l=(s+a)/2;if(s===a)t=0,r=0;else{var c=s-a;switch(r=l>.5?c/(2-s-a):c/(s+a),s){case n:t=(i-o)/c+(i<o?6:0);break;case i:t=(o-n)/c+2;break;case o:t=(n-i)/c+4}t/=6}return[t,r,l,e[3]]}function hue2rgb(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+(t-e)*(2/3-r)*6:e}function hslToRgb(e){var t,r,n,i=e[0],o=e[1],s=e[2];if(0===o)t=s,n=s,r=s;else{var a=s<.5?s*(1+o):s+o-s*o,l=2*s-a;t=hue2rgb(l,a,i+1/3),r=hue2rgb(l,a,i),n=hue2rgb(l,a,i-1/3)}return[t,r,n,e[3]]}function linear(e,t,r,n,i){if(void 0!==n&&void 0!==i||(n=t,i=r,t=0,r=1),r<t){var o=r;r=t,t=o}if(e<=t)return n;if(e>=r)return i;var s,a=r===t?0:(e-t)/(r-t);if(!n.length)return n+(i-n)*a;var l=n.length,c=createTypedArray("float32",l);for(s=0;s<l;s+=1)c[s]=n[s]+(i[s]-n[s])*a;return c}function random(e,t){if(void 0===t&&(void 0===e?(e=0,t=1):(t=e,e=void 0)),t.length){var r,n=t.length;e||(e=createTypedArray("float32",n));var i=createTypedArray("float32",n),o=BMMath.random();for(r=0;r<n;r+=1)i[r]=e[r]+o*(t[r]-e[r]);return i}return void 0===e&&(e=0),e+BMMath.random()*(t-e)}function createPath(e,t,r,n){var i,o=e.length,s=shapePool.newElement();s.setPathData(!!n,o);var a,l,c=[0,0];for(i=0;i<o;i+=1)a=t&&t[i]?t[i]:c,l=r&&r[i]?r[i]:c,s.setTripleAt(e[i][0],e[i][1],l[0]+e[i][0],l[1]+e[i][1],a[0]+e[i][0],a[1]+e[i][1],i,!0);return s}function initiateExpression(elem,data,property){var val=data.x,needsVelocity=/velocity(?![\w\d])/.test(val),_needsRandom=-1!==val.indexOf("random"),elemType=elem.data.ty,transform,$bm_transform,content,effect,thisProperty=property;thisProperty.valueAtTime=thisProperty.getValueAtTime,Object.defineProperty(thisProperty,"value",{get:function(){return thisProperty.v}}),elem.comp.frameDuration=1/elem.comp.globalData.frameRate,elem.comp.displayStartTime=0;var inPoint=elem.data.ip/elem.comp.globalData.frameRate,outPoint=elem.data.op/elem.comp.globalData.frameRate,width=elem.data.sw?elem.data.sw:0,height=elem.data.sh?elem.data.sh:0,name=elem.data.nm,loopIn,loop_in,loopOut,loop_out,smooth,toWorld,fromWorld,fromComp,toComp,fromCompToSurface,position,rotation,anchorPoint,scale,thisLayer,thisComp,mask,valueAtTime,velocityAtTime,scoped_bm_rt,expression_function=eval("[function _expression_function(){"+val+";scoped_bm_rt=$bm_rt}]")[0],numKeys=property.kf?data.k.length:0,active=!this.data||!0!==this.data.hd,wiggle=function(e,t){var r,n,i=this.pv.length?this.pv.length:1,o=createTypedArray("float32",i);var s=Math.floor(5*time);for(r=0,n=0;r<s;){for(n=0;n<i;n+=1)o[n]+=-t+2*t*BMMath.random();r+=1}var a=5*time,l=a-Math.floor(a),c=createTypedArray("float32",i);if(i>1){for(n=0;n<i;n+=1)c[n]=this.pv[n]+o[n]+(-t+2*t*BMMath.random())*l;return c}return this.pv+o[0]+(-t+2*t*BMMath.random())*l}.bind(this);function loopInDuration(e,t){return loopIn(e,t,!0)}function loopOutDuration(e,t){return loopOut(e,t,!0)}thisProperty.loopIn&&(loopIn=thisProperty.loopIn.bind(thisProperty),loop_in=loopIn),thisProperty.loopOut&&(loopOut=thisProperty.loopOut.bind(thisProperty),loop_out=loopOut),thisProperty.smooth&&(smooth=thisProperty.smooth.bind(thisProperty)),this.getValueAtTime&&(valueAtTime=this.getValueAtTime.bind(this)),this.getVelocityAtTime&&(velocityAtTime=this.getVelocityAtTime.bind(this));var comp=elem.comp.globalData.projectInterface.bind(elem.comp.globalData.projectInterface),time,velocity,value,text,textIndex,textTotal,selectorValue;function lookAt(e,t){var r=[t[0]-e[0],t[1]-e[1],t[2]-e[2]],n=Math.atan2(r[0],Math.sqrt(r[1]*r[1]+r[2]*r[2]))/degToRads;return[-Math.atan2(r[1],r[2])/degToRads,n,0]}function easeOut(e,t,r,n,i){return applyEase(easeOutBez,e,t,r,n,i)}function easeIn(e,t,r,n,i){return applyEase(easeInBez,e,t,r,n,i)}function ease(e,t,r,n,i){return applyEase(easeInOutBez,e,t,r,n,i)}function applyEase(e,t,r,n,i,o){void 0===i?(i=r,o=n):t=(t-r)/(n-r),t>1?t=1:t<0&&(t=0);var s=e(t);if($bm_isInstanceOfArray(i)){var a,l=i.length,c=createTypedArray("float32",l);for(a=0;a<l;a+=1)c[a]=(o[a]-i[a])*s+i[a];return c}return(o-i)*s+i}function nearestKey(e){var t,r,n,i=data.k.length;if(data.k.length&&"number"!=typeof data.k[0])if(r=-1,(e*=elem.comp.globalData.frameRate)<data.k[0].t)r=1,n=data.k[0].t;else{for(t=0;t<i-1;t+=1){if(e===data.k[t].t){r=t+1,n=data.k[t].t;break}if(e>data.k[t].t&&e<data.k[t+1].t){e-data.k[t].t>data.k[t+1].t-e?(r=t+2,n=data.k[t+1].t):(r=t+1,n=data.k[t].t);break}}-1===r&&(r=t+1,n=data.k[t].t)}else r=0,n=0;var o={};return o.index=r,o.time=n/elem.comp.globalData.frameRate,o}function key(e){var t,r,n;if(!data.k.length||"number"==typeof data.k[0])throw new Error("The property has no keyframe at index "+e);e-=1,t={time:data.k[e].t/elem.comp.globalData.frameRate,value:[]};var i=Object.prototype.hasOwnProperty.call(data.k[e],"s")?data.k[e].s:data.k[e-1].e;for(n=i.length,r=0;r<n;r+=1)t[r]=i[r],t.value[r]=i[r];return t}function framesToTime(e,t){return t||(t=elem.comp.globalData.frameRate),e/t}function timeToFrames(e,t){return e||0===e||(e=time),t||(t=elem.comp.globalData.frameRate),e*t}function seedRandom(e){BMMath.seedrandom(randSeed+e)}function sourceRectAtTime(){return elem.sourceRectAtTime()}function substring(e,t){return"string"==typeof value?void 0===t?value.substring(e):value.substring(e,t):""}function substr(e,t){return"string"==typeof value?void 0===t?value.substr(e):value.substr(e,t):""}function posterizeTime(e){time=0===e?0:Math.floor(time*e)/e,value=valueAtTime(time)}var index=elem.data.ind,hasParent=!(!elem.hierarchy||!elem.hierarchy.length),parent,randSeed=Math.floor(1e6*Math.random()),globalData=elem.globalData;function executeExpression(e){return value=e,this.frameExpressionId===elem.globalData.frameId&&"textSelector"!==this.propType?value:("textSelector"===this.propType&&(textIndex=this.textIndex,textTotal=this.textTotal,selectorValue=this.selectorValue),thisLayer||(text=elem.layerInterface.text,thisLayer=elem.layerInterface,thisComp=elem.comp.compInterface,toWorld=thisLayer.toWorld.bind(thisLayer),fromWorld=thisLayer.fromWorld.bind(thisLayer),fromComp=thisLayer.fromComp.bind(thisLayer),toComp=thisLayer.toComp.bind(thisLayer),mask=thisLayer.mask?thisLayer.mask.bind(thisLayer):null,fromCompToSurface=fromComp),transform||(transform=elem.layerInterface("ADBE Transform Group"),$bm_transform=transform,transform&&(anchorPoint=transform.anchorPoint)),4!==elemType||content||(content=thisLayer("ADBE Root Vectors Group")),effect||(effect=thisLayer(4)),(hasParent=!(!elem.hierarchy||!elem.hierarchy.length))&&!parent&&(parent=elem.hierarchy[0].layerInterface),time=this.comp.renderedFrame/this.comp.globalData.frameRate,_needsRandom&&seedRandom(randSeed+time),needsVelocity&&(velocity=velocityAtTime(time)),expression_function(),this.frameExpressionId=elem.globalData.frameId,scoped_bm_rt=scoped_bm_rt.propType===propTypes.SHAPE?scoped_bm_rt.v:scoped_bm_rt)}return executeExpression.__preventDeadCodeRemoval=[$bm_transform,anchorPoint,time,velocity,inPoint,outPoint,width,height,name,loop_in,loop_out,smooth,toComp,fromCompToSurface,toWorld,fromWorld,mask,position,rotation,scale,thisComp,numKeys,active,wiggle,loopInDuration,loopOutDuration,comp,lookAt,easeOut,easeIn,ease,nearestKey,key,text,textIndex,textTotal,selectorValue,framesToTime,timeToFrames,sourceRectAtTime,substring,substr,posterizeTime,index,globalData],executeExpression}return ob.initiateExpression=initiateExpression,ob.__preventDeadCodeRemoval=[window,document,XMLHttpRequest,fetch,frames,$bm_neg,add,$bm_sum,$bm_sub,$bm_mul,$bm_div,$bm_mod,clamp,radians_to_degrees,degreesToRadians,degrees_to_radians,normalize,rgbToHsl,hslToRgb,linear,random,createPath],ob}(),expressionHelpers={searchExpressions:function(e,t,r){t.x&&(r.k=!0,r.x=!0,r.initiateExpression=ExpressionManager.initiateExpression,r.effectsSequence.push(r.initiateExpression(e,t,r).bind(r)))},getSpeedAtTime:function(e){var t=this.getValueAtTime(e),r=this.getValueAtTime(e+-.01),n=0;if(t.length){var i;for(i=0;i<t.length;i+=1)n+=Math.pow(r[i]-t[i],2);n=100*Math.sqrt(n)}else n=0;return n},getVelocityAtTime:function(e){if(void 0!==this.vel)return this.vel;var t,r,n=-.001,i=this.getValueAtTime(e),o=this.getValueAtTime(e+n);if(i.length)for(t=createTypedArray("float32",i.length),r=0;r<i.length;r+=1)t[r]=(o[r]-i[r])/n;else t=(o-i)/n;return t},getValueAtTime:function(e){return e*=this.elem.globalData.frameRate,(e-=this.offsetTime)!==this._cachingAtTime.lastFrame&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastFrame<e?this._cachingAtTime.lastIndex:0,this._cachingAtTime.value=this.interpolateValue(e,this._cachingAtTime),this._cachingAtTime.lastFrame=e),this._cachingAtTime.value},getStaticValueAtTime:function(){return this.pv},setGroupProperty:function(e){this.propertyGroup=e}};function addPropertyDecorator(){function e(e,t,r){if(!this.k||!this.keyframes)return this.pv;e=e?e.toLowerCase():"";var n,i,o,s,a,l=this.comp.renderedFrame,c=this.keyframes,u=c[c.length-1].t;if(l<=u)return this.pv;if(r?i=u-(n=t?Math.abs(u-this.elem.comp.globalData.frameRate*t):Math.max(0,u-this.elem.data.ip)):((!t||t>c.length-1)&&(t=c.length-1),n=u-(i=c[c.length-1-t].t)),"pingpong"===e){if(Math.floor((l-i)/n)%2!=0)return this.getValueAtTime((n-(l-i)%n+i)/this.comp.globalData.frameRate,0)}else{if("offset"===e){var d=this.getValueAtTime(i/this.comp.globalData.frameRate,0),h=this.getValueAtTime(u/this.comp.globalData.frameRate,0),p=this.getValueAtTime(((l-i)%n+i)/this.comp.globalData.frameRate,0),m=Math.floor((l-i)/n);if(this.pv.length){for(s=(a=new Array(d.length)).length,o=0;o<s;o+=1)a[o]=(h[o]-d[o])*m+p[o];return a}return(h-d)*m+p}if("continue"===e){var _=this.getValueAtTime(u/this.comp.globalData.frameRate,0),g=this.getValueAtTime((u-.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(s=(a=new Array(_.length)).length,o=0;o<s;o+=1)a[o]=_[o]+(_[o]-g[o])*((l-u)/this.comp.globalData.frameRate)/5e-4;return a}return _+(l-u)/.001*(_-g)}}return this.getValueAtTime(((l-i)%n+i)/this.comp.globalData.frameRate,0)}function t(e,t,r){if(!this.k)return this.pv;e=e?e.toLowerCase():"";var n,i,o,s,a,l=this.comp.renderedFrame,c=this.keyframes,u=c[0].t;if(l>=u)return this.pv;if(r?i=u+(n=t?Math.abs(this.elem.comp.globalData.frameRate*t):Math.max(0,this.elem.data.op-u)):((!t||t>c.length-1)&&(t=c.length-1),n=(i=c[t].t)-u),"pingpong"===e){if(Math.floor((u-l)/n)%2==0)return this.getValueAtTime(((u-l)%n+u)/this.comp.globalData.frameRate,0)}else{if("offset"===e){var d=this.getValueAtTime(u/this.comp.globalData.frameRate,0),h=this.getValueAtTime(i/this.comp.globalData.frameRate,0),p=this.getValueAtTime((n-(u-l)%n+u)/this.comp.globalData.frameRate,0),m=Math.floor((u-l)/n)+1;if(this.pv.length){for(s=(a=new Array(d.length)).length,o=0;o<s;o+=1)a[o]=p[o]-(h[o]-d[o])*m;return a}return p-(h-d)*m}if("continue"===e){var _=this.getValueAtTime(u/this.comp.globalData.frameRate,0),g=this.getValueAtTime((u+.001)/this.comp.globalData.frameRate,0);if(this.pv.length){for(s=(a=new Array(_.length)).length,o=0;o<s;o+=1)a[o]=_[o]+(_[o]-g[o])*(u-l)/.001;return a}return _+(_-g)*(u-l)/.001}}return this.getValueAtTime((n-((u-l)%n+u))/this.comp.globalData.frameRate,0)}function r(e,t){if(!this.k)return this.pv;if(e=.5*(e||.4),(t=Math.floor(t||5))<=1)return this.pv;var r,n,i=this.comp.renderedFrame/this.comp.globalData.frameRate,o=i-e,s=t>1?(i+e-o)/(t-1):1,a=0,l=0;for(r=this.pv.length?createTypedArray("float32",this.pv.length):0;a<t;){if(n=this.getValueAtTime(o+a*s),this.pv.length)for(l=0;l<this.pv.length;l+=1)r[l]+=n[l];else r+=n;a+=1}if(this.pv.length)for(l=0;l<this.pv.length;l+=1)r[l]/=t;else r/=t;return r}function n(e){this._transformCachingAtTime||(this._transformCachingAtTime={v:new Matrix});var t=this._transformCachingAtTime.v;if(t.cloneFromProps(this.pre.props),this.appliedTransformations<1){var r=this.a.getValueAtTime(e);t.translate(-r[0]*this.a.mult,-r[1]*this.a.mult,r[2]*this.a.mult)}if(this.appliedTransformations<2){var n=this.s.getValueAtTime(e);t.scale(n[0]*this.s.mult,n[1]*this.s.mult,n[2]*this.s.mult)}if(this.sk&&this.appliedTransformations<3){var i=this.sk.getValueAtTime(e),o=this.sa.getValueAtTime(e);t.skewFromAxis(-i*this.sk.mult,o*this.sa.mult)}if(this.r&&this.appliedTransformations<4){var s=this.r.getValueAtTime(e);t.rotate(-s*this.r.mult)}else if(!this.r&&this.appliedTransformations<4){var a=this.rz.getValueAtTime(e),l=this.ry.getValueAtTime(e),c=this.rx.getValueAtTime(e),u=this.or.getValueAtTime(e);t.rotateZ(-a*this.rz.mult).rotateY(l*this.ry.mult).rotateX(c*this.rx.mult).rotateZ(-u[2]*this.or.mult).rotateY(u[1]*this.or.mult).rotateX(u[0]*this.or.mult)}if(this.data.p&&this.data.p.s){var d=this.px.getValueAtTime(e),h=this.py.getValueAtTime(e);if(this.data.p.z){var p=this.pz.getValueAtTime(e);t.translate(d*this.px.mult,h*this.py.mult,-p*this.pz.mult)}else t.translate(d*this.px.mult,h*this.py.mult,0)}else{var m=this.p.getValueAtTime(e);t.translate(m[0]*this.p.mult,m[1]*this.p.mult,-m[2]*this.p.mult)}return t}function i(){return this.v.clone(new Matrix)}var o=TransformPropertyFactory.getTransformProperty;TransformPropertyFactory.getTransformProperty=function(e,t,r){var s=o(e,t,r);return s.dynamicProperties.length?s.getValueAtTime=n.bind(s):s.getValueAtTime=i.bind(s),s.setGroupProperty=expressionHelpers.setGroupProperty,s};var s=PropertyFactory.getProp;PropertyFactory.getProp=function(n,i,o,a,l){var c=s(n,i,o,a,l);c.kf?c.getValueAtTime=expressionHelpers.getValueAtTime.bind(c):c.getValueAtTime=expressionHelpers.getStaticValueAtTime.bind(c),c.setGroupProperty=expressionHelpers.setGroupProperty,c.loopOut=e,c.loopIn=t,c.smooth=r,c.getVelocityAtTime=expressionHelpers.getVelocityAtTime.bind(c),c.getSpeedAtTime=expressionHelpers.getSpeedAtTime.bind(c),c.numKeys=1===i.a?i.k.length:0,c.propertyIndex=i.ix;var u=0;return 0!==o&&(u=createTypedArray("float32",1===i.a?i.k[0].s.length:i.k.length)),c._cachingAtTime={lastFrame:initialDefaultFrame,lastIndex:0,value:u},expressionHelpers.searchExpressions(n,i,c),c.k&&l.addDynamicProperty(c),c};var a=ShapePropertyFactory.getConstructorFunction(),l=ShapePropertyFactory.getKeyframedConstructorFunction();function c(){}c.prototype={vertices:function(e,t){this.k&&this.getValue();var r,n=this.v;void 0!==t&&(n=this.getValueAtTime(t,0));var i=n._length,o=n[e],s=n.v,a=createSizedArray(i);for(r=0;r<i;r+=1)a[r]="i"===e||"o"===e?[o[r][0]-s[r][0],o[r][1]-s[r][1]]:[o[r][0],o[r][1]];return a},points:function(e){return this.vertices("v",e)},inTangents:function(e){return this.vertices("i",e)},outTangents:function(e){return this.vertices("o",e)},isClosed:function(){return this.v.c},pointOnPath:function(e,t){var r=this.v;void 0!==t&&(r=this.getValueAtTime(t,0)),this._segmentsLength||(this._segmentsLength=bez.getSegmentsLength(r));for(var n,i=this._segmentsLength,o=i.lengths,s=i.totalLength*e,a=0,l=o.length,c=0;a<l;){if(c+o[a].addedLength>s){var u=a,d=r.c&&a===l-1?0:a+1,h=(s-c)/o[a].addedLength;n=bez.getPointInSegment(r.v[u],r.v[d],r.o[u],r.i[d],h,o[a]);break}c+=o[a].addedLength,a+=1}return n||(n=r.c?[r.v[0][0],r.v[0][1]]:[r.v[r._length-1][0],r.v[r._length-1][1]]),n},vectorOnPath:function(e,t,r){1==e?e=this.v.c:0==e&&(e=.999);var n=this.pointOnPath(e,t),i=this.pointOnPath(e+.001,t),o=i[0]-n[0],s=i[1]-n[1],a=Math.sqrt(Math.pow(o,2)+Math.pow(s,2));return 0===a?[0,0]:"tangent"===r?[o/a,s/a]:[-s/a,o/a]},tangentOnPath:function(e,t){return this.vectorOnPath(e,t,"tangent")},normalOnPath:function(e,t){return this.vectorOnPath(e,t,"normal")},setGroupProperty:expressionHelpers.setGroupProperty,getValueAtTime:expressionHelpers.getStaticValueAtTime},extendPrototype([c],a),extendPrototype([c],l),l.prototype.getValueAtTime=function(e){return this._cachingAtTime||(this._cachingAtTime={shapeValue:shapePool.clone(this.pv),lastIndex:0,lastTime:initialDefaultFrame}),e*=this.elem.globalData.frameRate,(e-=this.offsetTime)!==this._cachingAtTime.lastTime&&(this._cachingAtTime.lastIndex=this._cachingAtTime.lastTime<e?this._caching.lastIndex:0,this._cachingAtTime.lastTime=e,this.interpolateShape(e,this._cachingAtTime.shapeValue,this._cachingAtTime)),this._cachingAtTime.shapeValue},l.prototype.initiateExpression=ExpressionManager.initiateExpression;var u=ShapePropertyFactory.getShapeProp;ShapePropertyFactory.getShapeProp=function(e,t,r,n,i){var o=u(e,t,r,n,i);return o.propertyIndex=t.ix,o.lock=!1,3===r?expressionHelpers.searchExpressions(e,t.pt,o):4===r&&expressionHelpers.searchExpressions(e,t.ks,o),o.k&&e.addDynamicProperty(o),o}}function initialize$1(){addPropertyDecorator()}function addDecorator(){TextProperty.prototype.getExpressionValue=function(e,t){var r=this.calculateExpression(t);if(e.t!==r){var n={};return this.copyData(n,e),n.t=r.toString(),n.__complete=!1,n}return e},TextProperty.prototype.searchProperty=function(){var e=this.searchKeyframes(),t=this.searchExpressions();return this.kf=e||t,this.kf},TextProperty.prototype.searchExpressions=function(){return this.data.d.x?(this.calculateExpression=ExpressionManager.initiateExpression.bind(this)(this.elem,this.data.d,this),this.addEffect(this.getExpressionValue.bind(this)),!0):null}}function initialize(){addDecorator()}setExpressionsPlugin(Expressions),initialize$1(),initialize()}var dataInterfaceFactory,blendModeEnums,ob,_length,_maxLength,pool,factory,_count},509:function(){var e=this&&this.__awaiter||function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class t extends HTMLElement{constructor(){super()}connectedCallback(){return e(this,void 0,void 0,function*(){const e=document.createAttribute("regex");e.value="[^0-9.]+";const t=document.createElement("input");t.type="text",t.classList.add("custom-roompage-input"),t.value=this.getAttributeNode("data-initial-value").value,t.id=this.getAttributeNode("data-input-id").value,t.setAttributeNode(e),t.addEventListener("input",t=>{const r=t.target;if(r instanceof HTMLInputElement){const t=new RegExp(e.value,"g");r.value=r.value.replace(t,"")}}),t.addEventListener("change",e=>{const t=e.target;t instanceof HTMLInputElement&&(t.value=parseFloat(t.value).toFixed(2))});const r=document.createElement("div");r.appendChild(t);const n=document.createElement("div");n.classList.add("custom-roompage-input-suffix");const i=document.createElement("label"),o=document.createTextNode("cm");i.appendChild(o),n.appendChild(i),r.appendChild(n),this.appendChild(r)})}}window.customElements.define("fv-custom-roompage-input",t)},518:(e,t,r)=>{const n=r(334),i=[1,1,1,1,1,1,1,1,1,1,2,2,1,2,2,4,1,2,4,4,2,4,4,4,2,4,6,5,2,4,6,6,2,5,8,8,4,5,8,8,4,5,8,11,4,8,10,11,4,9,12,16,4,9,16,16,6,10,12,18,6,10,17,16,6,11,16,19,6,13,18,21,7,14,21,25,8,16,20,25,8,17,23,25,9,17,23,34,9,18,25,30,10,20,27,32,12,21,29,35,12,23,34,37,12,25,34,40,13,26,35,42,14,28,38,45,15,29,40,48,16,31,43,51,17,33,45,54,18,35,48,57,19,37,51,60,19,38,53,63,20,40,56,66,21,43,59,70,22,45,62,74,24,47,65,77,25,49,68,81],o=[7,10,13,17,10,16,22,28,15,26,36,44,20,36,52,64,26,48,72,88,36,64,96,112,40,72,108,130,48,88,132,156,60,110,160,192,72,130,192,224,80,150,224,264,96,176,260,308,104,198,288,352,120,216,320,384,132,240,360,432,144,280,408,480,168,308,448,532,180,338,504,588,196,364,546,650,224,416,600,700,224,442,644,750,252,476,690,816,270,504,750,900,300,560,810,960,312,588,870,1050,336,644,952,1110,360,700,1020,1200,390,728,1050,1260,420,784,1140,1350,450,812,1200,1440,480,868,1290,1530,510,924,1350,1620,540,980,1440,1710,570,1036,1530,1800,570,1064,1590,1890,600,1120,1680,1980,630,1204,1770,2100,660,1260,1860,2220,720,1316,1950,2310,750,1372,2040,2430];t.getBlocksCount=function(e,t){switch(t){case n.L:return i[4*(e-1)+0];case n.M:return i[4*(e-1)+1];case n.Q:return i[4*(e-1)+2];case n.H:return i[4*(e-1)+3];default:return}},t.getTotalCodewordsCount=function(e,t){switch(t){case n.L:return o[4*(e-1)+0];case n.M:return o[4*(e-1)+1];case n.Q:return o[4*(e-1)+2];case n.H:return o[4*(e-1)+3];default:return}}},565:(e,t,r)=>{const n=r(886),i=n.getBCHDigit(1335);t.getEncodedBits=function(e,t){const r=e.bit<<3|t;let o=r<<10;for(;n.getBCHDigit(o)-i>=0;)o^=1335<<n.getBCHDigit(o)-i;return 21522^(r<<10|o)}},583:(e,t,r)=>{const n=r(333),i=r(157),o=r(280),s=r(375);function a(e,t,r,o,s){const a=[].slice.call(arguments,1),l=a.length,c="function"==typeof a[l-1];if(!c&&!n())throw new Error("Callback required as last argument");if(!c){if(l<1)throw new Error("Too few arguments provided");return 1===l?(r=t,t=o=void 0):2!==l||t.getContext||(o=r,r=t,t=void 0),new Promise(function(n,s){try{const s=i.create(r,o);n(e(s,t,o))}catch(e){s(e)}})}if(l<2)throw new Error("Too few arguments provided");2===l?(s=r,r=t,t=o=void 0):3===l&&(t.getContext&&void 0===s?(s=o,o=void 0):(s=o,o=r,r=t,t=void 0));try{const n=i.create(r,o);s(null,e(n,t,o))}catch(e){s(e)}}i.create,a.bind(null,o.render),t.dY=a.bind(null,o.renderToDataURL),a.bind(null,function(e,t,r){return s.render(e,r)})},713:(e,t,r)=>{const n=r(731);t.mul=function(e,t){const r=new Uint8Array(e.length+t.length-1);for(let i=0;i<e.length;i++)for(let o=0;o<t.length;o++)r[i+o]^=n.mul(e[i],t[o]);return r},t.mod=function(e,t){let r=new Uint8Array(e);for(;r.length-t.length>=0;){const e=r[0];for(let i=0;i<t.length;i++)r[i]^=n.mul(t[i],e);let i=0;for(;i<r.length&&0===r[i];)i++;r=r.slice(i)}return r},t.generateECPolynomial=function(e){let r=new Uint8Array([1]);for(let i=0;i<e;i++)r=t.mul(r,new Uint8Array([1,n.exp(i)]));return r}},726:(e,t)=>{function r(e){if("number"==typeof e&&(e=e.toString()),"string"!=typeof e)throw new Error("Color should be defined as hex string");let t=e.slice().replace("#","").split("");if(t.length<3||5===t.length||t.length>8)throw new Error("Invalid hex color: "+e);3!==t.length&&4!==t.length||(t=Array.prototype.concat.apply([],t.map(function(e){return[e,e]}))),6===t.length&&t.push("F","F");const r=parseInt(t.join(""),16);return{r:r>>24&255,g:r>>16&255,b:r>>8&255,a:255&r,hex:"#"+t.slice(0,6).join("")}}t.getOptions=function(e){e||(e={}),e.color||(e.color={});const t=void 0===e.margin||null===e.margin||e.margin<0?4:e.margin,n=e.width&&e.width>=21?e.width:void 0,i=e.scale||4;return{width:n,scale:n?4:i,margin:t,color:{dark:r(e.color.dark||"#000000ff"),light:r(e.color.light||"#ffffffff")},type:e.type,rendererOpts:e.rendererOpts||{}}},t.getScale=function(e,t){return t.width&&t.width>=e+2*t.margin?t.width/(e+2*t.margin):t.scale},t.getImageWidth=function(e,r){const n=t.getScale(e,r);return Math.floor((e+2*r.margin)*n)},t.qrToImageData=function(e,r,n){const i=r.modules.size,o=r.modules.data,s=t.getScale(i,n),a=Math.floor((i+2*n.margin)*s),l=n.margin*s,c=[n.color.light,n.color.dark];for(let t=0;t<a;t++)for(let r=0;r<a;r++){let u=4*(t*a+r),d=n.color.light;if(t>=l&&r>=l&&t<a-l&&r<a-l){d=c[o[Math.floor((t-l)/s)*i+Math.floor((r-l)/s)]?1:0]}e[u++]=d.r,e[u++]=d.g,e[u++]=d.b,e[u]=d.a}}},731:(e,t)=>{const r=new Uint8Array(512),n=new Uint8Array(256);!function(){let e=1;for(let t=0;t<255;t++)r[t]=e,n[e]=t,e<<=1,256&e&&(e^=285);for(let e=255;e<512;e++)r[e]=r[e-255]}(),t.log=function(e){if(e<1)throw new Error("log("+e+")");return n[e]},t.exp=function(e){return r[e]},t.mul=function(e,t){return 0===e||0===t?0:r[n[e]+n[t]]}},756:(e,t,r)=>{const n=r(886).getSymbolSize;t.getPositions=function(e){const t=n(e);return[[0,0],[t-7,0],[0,t-7]]}},764:(e,t,r)=>{const n=r(713);function i(e){this.genPoly=void 0,this.degree=e,this.degree&&this.initialize(this.degree)}i.prototype.initialize=function(e){this.degree=e,this.genPoly=n.generateECPolynomial(this.degree)},i.prototype.encode=function(e){if(!this.genPoly)throw new Error("Encoder not initialized");const t=new Uint8Array(e.length+this.degree);t.set(e);const r=n.mod(t,this.genPoly),i=this.degree-r.length;if(i>0){const e=new Uint8Array(this.degree);return e.set(r,i),e}return r},e.exports=i},801:(e,t,r)=>{const n=r(208),i=r(357),o=r(433),s=r(822),a=r(861),l=r(44),c=r(886),u=r(320);function d(e){return unescape(encodeURIComponent(e)).length}function h(e,t,r){const n=[];let i;for(;null!==(i=e.exec(r));)n.push({data:i[0],index:i.index,mode:t,length:i[0].length});return n}function p(e){const t=h(l.NUMERIC,n.NUMERIC,e),r=h(l.ALPHANUMERIC,n.ALPHANUMERIC,e);let i,o;c.isKanjiModeEnabled()?(i=h(l.BYTE,n.BYTE,e),o=h(l.KANJI,n.KANJI,e)):(i=h(l.BYTE_KANJI,n.BYTE,e),o=[]);return t.concat(r,i,o).sort(function(e,t){return e.index-t.index}).map(function(e){return{data:e.data,mode:e.mode,length:e.length}})}function m(e,t){switch(t){case n.NUMERIC:return i.getBitsLength(e);case n.ALPHANUMERIC:return o.getBitsLength(e);case n.KANJI:return a.getBitsLength(e);case n.BYTE:return s.getBitsLength(e)}}function _(e,t){let r;const l=n.getBestModeForData(e);if(r=n.from(t,l),r!==n.BYTE&&r.bit<l.bit)throw new Error('"'+e+'" cannot be encoded with mode '+n.toString(r)+".\n Suggested mode is: "+n.toString(l));switch(r!==n.KANJI||c.isKanjiModeEnabled()||(r=n.BYTE),r){case n.NUMERIC:return new i(e);case n.ALPHANUMERIC:return new o(e);case n.KANJI:return new a(e);case n.BYTE:return new s(e)}}t.fromArray=function(e){return e.reduce(function(e,t){return"string"==typeof t?e.push(_(t,null)):t.data&&e.push(_(t.data,t.mode)),e},[])},t.fromString=function(e,r){const i=function(e){const t=[];for(let r=0;r<e.length;r++){const i=e[r];switch(i.mode){case n.NUMERIC:t.push([i,{data:i.data,mode:n.ALPHANUMERIC,length:i.length},{data:i.data,mode:n.BYTE,length:i.length}]);break;case n.ALPHANUMERIC:t.push([i,{data:i.data,mode:n.BYTE,length:i.length}]);break;case n.KANJI:t.push([i,{data:i.data,mode:n.BYTE,length:d(i.data)}]);break;case n.BYTE:t.push([{data:i.data,mode:n.BYTE,length:d(i.data)}])}}return t}(p(e,c.isKanjiModeEnabled())),o=function(e,t){const r={},i={start:{}};let o=["start"];for(let s=0;s<e.length;s++){const a=e[s],l=[];for(let e=0;e<a.length;e++){const c=a[e],u=""+s+e;l.push(u),r[u]={node:c,lastCount:0},i[u]={};for(let e=0;e<o.length;e++){const s=o[e];r[s]&&r[s].node.mode===c.mode?(i[s][u]=m(r[s].lastCount+c.length,c.mode)-m(r[s].lastCount,c.mode),r[s].lastCount+=c.length):(r[s]&&(r[s].lastCount=c.length),i[s][u]=m(c.length,c.mode)+4+n.getCharCountIndicator(c.mode,t))}}o=l}for(let e=0;e<o.length;e++)i[o[e]].end=0;return{map:i,table:r}}(i,r),s=u.find_path(o.map,"start","end"),a=[];for(let e=1;e<s.length-1;e++)a.push(o.table[s[e]].node);return t.fromArray(function(e){return e.reduce(function(e,t){const r=e.length-1>=0?e[e.length-1]:null;return r&&r.mode===t.mode?(e[e.length-1].data+=t.data,e):(e.push(t),e)},[])}(a))},t.rawSplit=function(e){return t.fromArray(p(e,c.isKanjiModeEnabled()))}},820:e=>{function t(e){if(!e||e<1)throw new Error("BitMatrix size must be defined and greater than 0");this.size=e,this.data=new Uint8Array(e*e),this.reservedBit=new Uint8Array(e*e)}t.prototype.set=function(e,t,r,n){const i=e*this.size+t;this.data[i]=r,n&&(this.reservedBit[i]=!0)},t.prototype.get=function(e,t){return this.data[e*this.size+t]},t.prototype.xor=function(e,t,r){this.data[e*this.size+t]^=r},t.prototype.isReserved=function(e,t){return this.reservedBit[e*this.size+t]},e.exports=t},822:(e,t,r)=>{const n=r(208);function i(e){this.mode=n.BYTE,this.data="string"==typeof e?(new TextEncoder).encode(e):new Uint8Array(e)}i.getBitsLength=function(e){return 8*e},i.prototype.getLength=function(){return this.data.length},i.prototype.getBitsLength=function(){return i.getBitsLength(this.data.length)},i.prototype.write=function(e){for(let t=0,r=this.data.length;t<r;t++)e.put(this.data[t],8)},e.exports=i},861:(e,t,r)=>{const n=r(208),i=r(886);function o(e){this.mode=n.KANJI,this.data=e}o.getBitsLength=function(e){return 13*e},o.prototype.getLength=function(){return this.data.length},o.prototype.getBitsLength=function(){return o.getBitsLength(this.data.length)},o.prototype.write=function(e){let t;for(t=0;t<this.data.length;t++){let r=i.toSJIS(this.data[t]);if(r>=33088&&r<=40956)r-=33088;else{if(!(r>=57408&&r<=60351))throw new Error("Invalid SJIS character: "+this.data[t]+"\nMake sure your charset is UTF-8");r-=49472}r=192*(r>>>8&255)+(255&r),e.put(r,13)}},e.exports=o},878:(e,t)=>{t.isValid=function(e){return!isNaN(e)&&e>=1&&e<=40}},883:()=>{!function(e){e.fn.extend({nodoubletapzoom:function(){e(this).bind("touchstart",function(t){const r=t.timeStamp,n=r-(e(this).data("lastTouch")||r),i=t.originalEvent.touches.length;e(this).data("lastTouch",r),!n||n>500||i>1||(t.preventDefault(),e(this).trigger("click").trigger("click"))})}})}(jQuery)},886:(e,t)=>{let r;const n=[0,26,44,70,100,134,172,196,242,292,346,404,466,532,581,655,733,815,901,991,1085,1156,1258,1364,1474,1588,1706,1828,1921,2051,2185,2323,2465,2611,2761,2876,3034,3196,3362,3532,3706];t.getSymbolSize=function(e){if(!e)throw new Error('"version" cannot be null or undefined');if(e<1||e>40)throw new Error('"version" should be in range from 1 to 40');return 4*e+17},t.getSymbolTotalCodewords=function(e){return n[e]},t.getBCHDigit=function(e){let t=0;for(;0!==e;)t++,e>>>=1;return t},t.setToSJISFunction=function(e){if("function"!=typeof e)throw new Error('"toSJISFunc" is not a valid function.');r=e},t.isKanjiModeEnabled=function(){return void 0!==r},t.toSJIS=function(e){return r(e)}},899:e=>{function t(){this.buffer=[],this.length=0}t.prototype={get:function(e){const t=Math.floor(e/8);return 1==(this.buffer[t]>>>7-e%8&1)},put:function(e,t){for(let r=0;r<t;r++)this.putBit(1==(e>>>t-r-1&1))},getLengthInBits:function(){return this.length},putBit:function(e){const t=Math.floor(this.length/8);this.buffer.length<=t&&this.buffer.push(0),e&&(this.buffer[t]|=128>>>this.length%8),this.length++}},e.exports=t}},__webpack_module_cache__={};function __webpack_require__(e){var t=__webpack_module_cache__[e];if(void 0!==t)return t.exports;var r=__webpack_module_cache__[e]={exports:{}};return __webpack_modules__[e].call(r.exports,r,r.exports,__webpack_require__),r.exports}__webpack_require__.d=(e,t)=>{for(var r in t)__webpack_require__.o(t,r)&&!__webpack_require__.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},__webpack_require__.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),__webpack_require__.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t);var __webpack_exports__={};(()=>{"use strict";__webpack_require__.d(__webpack_exports__,{a:()=>fCe});class e{constructor(e){this.listeners=new Set,this.startListenHook=e?.startListen||null,this.stopListenHook=e?.stopListen||null}on(e){return 0===this.listeners.size&&this.startListenHook?.(),this.listeners.add(e),{unsubscribe:()=>this.off(e)}}off(e){const t=this.listeners.delete(e);return t&&this.listeners.size<1&&this.stopListenHook?.(),t}once(e){const t=(...r)=>{this.off(t),e(...r)};return this.on(t)}async emit(...e){const t=[];for(const r of[...this.listeners])t.push(r(...e));await Promise.all(t.filter(Boolean))}hasListener(){return!!this.listeners.size}asPromise(){return new Promise(e=>this.once(e))}clear(){this.hasListener()&&(this.listeners.clear(),this.stopListenHook?.())}dispose(){this.listeners.clear(),this.startListenHook=null,this.stopListenHook=null}}class t{constructor(t){this._listeners=new Map,this._linked=new Set,this._callstack=[],this._hooks={startListen:new e,stopListen:new e},t?.startListen&&this._hooks.startListen.on(t.startListen),t?.stopListen&&this._hooks.stopListen.on(t.stopListen)}_getListeners(t){let r=this._listeners.get(t);return r||(r=new e({startListen:()=>this._hooks.startListen.emit(t),stopListen:()=>this._hooks.stopListen.emit(t)}),this._listeners.set(t,r)),r}startListen(e){return this._hooks.startListen.on(e)}stopListen(e){return this._hooks.stopListen.on(e)}has(e){return!!this._listeners.get(e)?.hasListener()}listeners(){return[...this._listeners.keys()]}on(e,t){return this._getListeners(e).on(t)}off(e,t){return this._listeners.get(e)?.off(t)??!1}once(e,t){return this._getListeners(e).once(t)}async emit(e,...t){const r=[],n=this._listeners.get(e);n&&r.push(n.emit(...t));for(const n of[...this._linked])if(n.hasLinkTo?.(this)){const i=n._listeners.get(e);r.push(i.emit(...t))}else r.push(n.emit(e,...t));await Promise.all(r.filter(Boolean))}asPromise(e){return this._getListeners(e).asPromise()}link(e){if(!this._linked.has(e)&&(this._linked.add(e),this._hooks.startListen.hasListener()&&e.listeners)){const t=e.listeners().filter(e=>!this._listeners.has(e));for(const e of t)this._hooks.startListen.emit(e)}}unlink(e){return this._linked.delete(e)}hasLinkTo(e){if(!this._linked.size)return!1;if(this._linked.has(e))return!0;for(const t of this._linked)if(t.hasLinkTo?.(e))return!0;return!1}isEmpty(){if(this._listeners.size>0)return!0;for(const e of this._linked)if(e.isEmpty&&!e.isEmpty())return!0;return!1}clear(){this._linked.clear(),this._listeners.clear()}}class r{promise;resolve;reject;constructor(){this.promise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}}let n=0;const i=new class{stats=new Map;labels={};start(e,t=""){this.labels[e]?this.labels[e].push(t):("REQUEST"===e&&this.end("IDLE"),this.labels[e]=[t],performance.mark(`start.${e}`))}push(e,t){if(this.stats.has(e)){const r=this.stats.get(e);r.sum+=t,r.count++}else this.stats.set(e,{sum:t,count:1})}end(e,t=""){if(!this.labels[e]||(this.labels[e].pop(),this.labels[e].length>0))return;performance.mark("end."+e),this.labels[e]=void 0;const r=performance.measure(e,"start."+e,"end."+e).duration;this.push(e,r),"REQUEST"===e&&this.start("IDLE")}reset(e){this.stats.has(e)&&this.stats.delete(e)}get(e){return this.stats.get(e)}getAll(){return this.stats}log(e){const t=this.stats.get(e);t&&console.log(`${e}: ${t.sum} ms and called ${t.count} times`)}};class o{constructor(e){this._hooks=e}_localListener=new Map;_remoteListener=new Map;create(e){return this._localListener.has(e)||this._localListener.set(e,new t({startListen:t=>this._hooks.startLocalListen(e,t),stopListen:t=>this._hooks.stopLocalListen(e,t)})),this._localListener.get(e)}onLocal(e,t,r){return this.create(e).on(t,r)}onceLocal(e,t,r){return this.create(e).once(t,r)}emitFromRemote(e,t,...r){const n=this._localListener.get(e);if(n)return n.emit(t,...r)}getEventRemotes(e){return[...this._remoteListener.get(e)]}hasRemoteListener(e){return this._remoteListener.has(e)}addRemoteListener(e,t){let r=this._remoteListener.get(t);r||(r=new Set,this._remoteListener.set(t,r)),r.add(e)}removeRemote(e){this._localListener.delete(e);for(const[t,r]of[...this._remoteListener])r.delete(e),0===r.size&&this._remoteListener.delete(t)}}var s=(e=>(e[e.UNKNOWN=0]="UNKNOWN",e[e.DISCONNECTED=1]="DISCONNECTED",e[e.DISCONNECTING=2]="DISCONNECTING",e[e.CONNECTING=3]="CONNECTING",e[e.RECONNECTING=4]="RECONNECTING",e[e.CONNECTED=5]="CONNECTED",e[e.READY=6]="READY",e))(s||{});class a extends t{static _INSTANCE_COUNTER=0;verbosity=1;_debugName;_communicator;_status=1;_stats={received:0,send:0,sumLength:0,maxLength:0,maxLengthCommand:"",workTime:0,maxTime:0,maxTimeCommand:""};constructor(){super(),this._debugName=this.constructor.name+"-"+ ++a._INSTANCE_COUNTER}setCommunicator(e,t){this._communicator=e.registerConnector(this,t)}sendHandshake(){this.setStatus(5),this._communicator.sendHandshake(this)}dispose(){super.clear(),this._communicator.removeConnector(this)}receiveMessage(e){this._communicator.receiveMessage(this,e)}receiveRequest(e){return this._communicator.receiveRequest(this,e)}_ready(){6!==this._status&&(this.setStatus(6),this.emit("ready"))}isReady(){return 6===this._status}getStatus(){return this._status}setStatus(e){if(e!==this._status){const t=this._status;this._status=e,this.emit("status",e,t),6===t&&this.emit("disconnect",e)}}updateIncomingStats(e,t=0){this._stats.sumLength+=t,this._stats.received++,t>this._stats.maxLength&&(this._stats.maxLength=t,this._stats.maxLengthCommand=e.header.command),e.header.work&&(this._stats.workTime+=e.header.work,e.header.work>this._stats.maxTime&&(this._stats.maxTime=e.header.work,this._stats.maxTimeCommand=e.header.command)),this.emit("stats",this._stats)}updateOutgoingStats(e,t=0){this._stats.sumLength+=t,this._stats.send++,t>this._stats.maxLength&&(this._stats.maxLength=t,this._stats.maxLengthCommand=e.header.command),this.emit("stats",this._stats)}getStats(){return{type:this.type,status:`${s[this._status]} (${this._status})`,...this._stats}}getDebugName(){return this._debugName}setDebugName(e){this._debugName=e}setVerbosity(e){this.verbosity=e}}class l extends a{_pending=new Map;constructor(){super()}registerRequest(e){"object"==typeof e&&(e=e.reqId);const t=new r;return this._pending.set(e,t),t.promise}resolveRequest(e){const t=this._pending.get(e.header.resId);return t?(e.header.err?t.reject(e.header.err):t.resolve(e),!0):(console.error("No matching request found for response ID:",e.header.resId),!1)}createResponseHeader(e){const t={};for(let r in e)if(Object.prototype.hasOwnProperty.call(e,r)){const n=e[r];"reqId"==r&&(r="resId"),"from"==r?r="to":"to"==r&&(r="from"),t[r]=n}return console.assert(!!t.command,t.from,t.to,t.resId),t}send(e){this.verbosity>=3&&console.log(`WS [${this.getDebugName()}] - Send Message`,e),this.sendWrapped({header:e.header,data:e.data}),this.updateOutgoingStats(e)}async request(e){const t=e.header;return t.reqId||(t.reqId=e.header.from+(++n).toString()),this.verbosity>=3&&console.log(`WS [${this.getDebugName()}] - Send Request`,e),this.updateOutgoingStats(e),this.sendWrapped({header:e.header,data:e.data}),await this.registerRequest(t)}handleWrapped(e,t){if("object"==typeof e)if(this.updateIncomingStats(e,t),e.header?.from)if(e.header.resId)this.verbosity>=3&&console.log(`[${this.getDebugName()}] - Get Response`,e),this.resolveRequest(e);else if(e.header.reqId){this.verbosity>=3&&console.log(`${this.type} [${this.getDebugName()}] - Get Request`,e);const t={header:{...e.header},data:e.data};(async()=>{const e={header:void 0,data:void 0};try{const r=await this.receiveRequest(t);r.header?e.header=r.header:e.header=this.createResponseHeader(t.header),e.data=r.data}catch(r){e.header=this.createResponseHeader(t.header),e.header.err=r.toString()}this.verbosity>=3&&console.log(`${this.type} [${this.getDebugName()}] - Send Response`,e),this.sendWrapped(e)})()}else this.verbosity>=3&&console.log(`${this.type} [${this.getDebugName()}] - Get Message`,e),this.receiveMessage(e);else console.error(`${this.type} [${this.getDebugName()}] - Invalid header data!`,event);else console.error(new TypeError(`${this.type} [${this.getDebugName()}] - Invalid Message Type, not object!`),e)}}var c=(e=>(e[e.NEVER=0]="NEVER",e[e.ALWAYS=1]="ALWAYS",e[e.UNTIL_CONNECTING=2]="UNTIL_CONNECTING",e))(c||{}),u=(e=>(e[e.NONE=0]="NONE",e[e.SHOULD_PING=1]="SHOULD_PING",e[e.CAN_RECONNECT=2]="CAN_RECONNECT",e[e.EXISTING_CONNECTION=4]="EXISTING_CONNECTION",e))(u||{});let d=new class{constructor(){}defined(e,t="unexpected undefined/null"){}number(e,t="unexpected undefined/null"){}positive(e,t="unexpected undefined/null"){this.number(e,t)}filledString(e,t="string expected"){}};class h extends t{id;connector;persistent;discardMode;constructor(e){super(),this.id=e.id,this.connector=null,this.persistent=!1,this.discardMode=c.NEVER,this.update(e)}update(e){typeof e.connector<"u"&&e.connector!=this.connector&&(this.connector&&(this.connector.unlink(this),e.connector!=this.connector&&console.warn(`CDhMessageConnector changed unexpected for route '${this.id}'! Review Needed?`)),this.connector=e.connector,this.connector&&this.connector.link(this)),this.persistent=e.persistent??this.persistent,this.discardMode=e.discardMode??this.discardMode}getStatus(){return this.connector?this.connector.getStatus():s.DISCONNECTED}isReady(){return this.connector?.isReady()}}var p=(e=>(e[e.SILENT=0]="SILENT",e[e.ERRORS=1]="ERRORS",e[e.ACTIVE_INDICATOR=2]="ACTIVE_INDICATOR",e[e.HISTORY=4]="HISTORY",e[e.LOG_CONNECTIONS=8]="LOG_CONNECTIONS",e[e.LOG_MESSAGES=16]="LOG_MESSAGES",e))(p||{});class m{id;_debugName;_routes=new Map;_services=[];_holdMessages=[];_pendingRequests=[];_debugIndicator;_remoteEventManager;_clientListener=new Map;_verbosity=1;_history=[];constructor(e){d.filledString(e),this._debugName=this.id=e,globalThis.communicator||m.setMainInstance(this),this._remoteEventManager=new o({startLocalListen:(e,t)=>{this.send(e,"dh-com-listener-add",{command:t})},stopLocalListen:(e,t)=>{this.send(e,"dh-com-listener-remove",{command:t})}}),globalThis.timeline?.note("COM created!")}dispose(){const e=this._routes.size,t=this._services.length,r=this._holdMessages.length,n=this._pendingRequests.length;for(const e of[...this._holdMessages,...this._pendingRequests])e.defer&&e.defer.reject(new Error("Communicator closed, reject pending Message/Request!"));this._pendingRequests=[],this._holdMessages=[],this._history=[];for(const[e,t]of this._routes.entries())t.connector&&t.connector.unlink(t),t.clear();this._routes.clear(),this._services=[],8&this._verbosity&&console.log(`COM [${this.getDebugName()}] - Disposed! Routes: ${e} Services: ${t} Hold Messages: ${r} Pending Messages: ${n}!`),this._debugIndicator&&(this._debugIndicator.remove(),this._debugIndicator=null)}internalInterface(){return this}registerService(e){return e?(this._services.push(e),8&this._verbosity&&console.log(`COM [${this.getDebugName()}] - registered service '${e.constructor.name}'!`),this.internalInterface()):{}}removeService(e){const t=this._services.indexOf(e);t>-1&&this._services.splice(t,1),8&this._verbosity&&console.log(`COM [${this.getDebugName()}] - removed service '${e.constructor.name}'!`)}registerConnector(e,t){if(!e)return{};if(Array.isArray(t)&&t.length>0){if(function(e){return"string"==typeof e[0]}(t))t=t.map(t=>({id:t,connector:e,persistent:!0}));else for(const r of t)r.connector!==e&&(r.connector&&console.error(`connector [${e.getDebugName()}] defined route ${r.id} config with a different connector!`,r),r.connector=e);for(const e of t)this.defineRoute(e)}return 8&this._verbosity&&console.log(`COM [${this.getDebugName()}] - registered connector '${e.getDebugName()}'!`),2&this._verbosity&&(e.on("status",()=>this._updateIndicator(2)),e.on("stats",()=>this._updateIndicator(4)),this._updateIndicator(2)),this.internalInterface()}removeConnector(e){for(const[t,r]of this._routes.entries())if(r.connector===e){e.unlink(r),r.connector=null;const n=this._pendingRequests.filter(e=>e.message.header.to===r.id);n.length&&console.warn("Connector removed with pending requests... REVIEW NEEDED?",n);for(const e of n)e.defer?.reject("connector removed");this._remoteEventManager.removeRemote(t),r.persistent||this._routes.delete(t)}8&this._verbosity&&console.log(`COM [${this.getDebugName()}] - removed connector '${e.getDebugName()}'!`)}getHandshakeData(e){return{id:this.id,routes:[...this._routes.entries()].filter(([t,r])=>r.connector!==e&&r.connector?.getStatus()===s.READY).map(([e])=>e)}}async sendHandshake(e,t){const r=this.getHandshakeData(e);t&&(r.update=!0),8&this._verbosity&&console.log(`COM [${this.getDebugName()}] - send handshake to CON [${e.getDebugName()}]`,r);const n=await e.request({header:{from:this.id,to:"",command:"handshake"},data:r});this.updateHandshake(n.data,e)}async updateHandshake(e,t){if(!e.id)return void(1&this._verbosity&&console.error(`COM [${this.getDebugName()}] - Invalid Handshake Data from CON [${t}]!`));const r=[e.id,...e.routes],n=r.filter(e=>{const r=this._routes.get(e);return r?.connector!==t||!r.isReady()}),i=[...this._routes.values()].filter(e=>e.connector===t&&!r.includes(e.id));if(0===i.length&&0===n.length)return void(8&this._verbosity&&console.log(`COM [${this.getDebugName()}] - Handshake from '${e.id}' has no updates!`,e));8&this._verbosity&&console.log(`COM [${this.getDebugName()}] - Handshake from '${e.id}' update! data:`,e,"new/modified:",n,"missing/removed",i);const o=n.map(e=>this.defineRoute(e,t));for(const e of i)if(e.persistent)e.update({id:e.id,connector:null});else{const t=e.connector.getStatus();e.emit("status",s.DISCONNECTED,t),t===s.READY&&e.emit("disconnect",s.DISCONNECTED),this._routes.delete(e.id)}if(t.isReady())for(const e of o)e.emit("status",s.READY),e.emit("ready");else t._ready();if(this._routes.size!==n.length){const e=[];for(const r of this._routes.values())t!==r.connector&&r.isReady()&&!e.includes(r.connector)&&e.push(r.connector);for(const t of e)this.sendHandshake(t,!0)}2&this._verbosity&&this._updateIndicator(7)}listen(e,t,r){if(!this.hasRoute(e))throw ReferenceError(`listen to unknown route '${e}'`);return this._remoteEventManager.onLocal(e,t,r)}listenOnce(e,t,r){if(!this.hasRoute(e))throw ReferenceError(`listen to unknown route '${e}'`);return this._remoteEventManager.onceLocal(e,t,r)}hasListener(e){return this._remoteEventManager.hasRemoteListener(e)}emit(e,t){const r=this._remoteEventManager.getEventRemotes(e);for(const n of r)this._internalSend({header:{from:this.id,to:n,command:e},data:t})}send(e,t,r){this._internalSend({header:{from:this.id,to:e,command:t},data:r})}async request(e,t,r){return(await this._internalRequest({header:{from:this.id,to:e,command:t},data:r})).data}receiveMessage(e,t){if("*"!==t.header.to){if(t.header.to!==this.id)return 16&this._verbosity&&console.log(`COM [${this.getDebugName()}] - redirect message`,t),this._internalSend(t),void i.end("RECEIVE",t.header.command);if(16&this._verbosity&&console.log(`COM [${this.getDebugName()}] - received message '${t.header.command}' from '${t.header.from}'`,t),t.header.command.startsWith("dh-com-listener-"))return t.data.command&&(this._clientListener.has(t.data.command)||this._clientListener.set(t.data.command,new Set)),void this._clientListener.get(t.data.command).add(t.header.from);this._remoteEventManager.emitFromRemote(t.header.from,t.header.command,t.data);for(const e of this._services)e.processMessage(t);i.end("RECEIVE",t.header.command)}else{for(const e of this._services)e.processMessage(t);this._internalSend(t)}}async receiveRequest(e,t){if("handshake"===t.header.command)return t.header.to=this.id,8&this._verbosity&&console.log(`COM [${this.getDebugName()}] - received handshake request from '${t.header.from}'`,t.data),t.data.update&&this.updateHandshake(t.data,e),i.end("RECEIVE",t.header.command),Promise.resolve({header:null,data:this.getHandshakeData(e)});if(t.header.to!==this.id){for(const e of this._services){const r=e.intercept(t);if(null!=r)return 16&this._verbosity&&console.log(`COM [${this.getDebugName()}] - Service '${e.constructor.name}' intercept request '${t.header.command}' from '${t.header.from}' to '${t.header.to}'`,t),i.end("RECEIVE",t.header.command),await r}16&this._verbosity&&console.log(`COM [${this.getDebugName()}] - redirect request '${t.header.command}' from '${t.header.from}' to '${t.header.to}'`,t);const e=this._internalRequest(t);return i.end("RECEIVE",t.header.command),await e}16&this._verbosity&&console.log(`COM [${this.getDebugName()}] - received request '${t.header.command}' from '${t.header.from}'`,t);for(const e of this._services){const r=e.processRequest(t);if(r)return i.end("RECEIVE",t.header.command),r.then(e=>({header:null,data:e}))}return i.end("RECEIVE",t.header.command),Promise.reject(new Error(`COM [${this.getDebugName()}] - no service to handle requested command '${t.header.command}'`))}async _internalSend(e){if("*"===e.header.to){const t=this.getRoute(e.header.from),r=new Set([...this._routes.values()].map(e=>e.isReady()?e.connector:void 0).filter(e=>e&&e!==t.connector));for(const t of r)t.send(e);return}const t=this.getRoute(e.header.to);if(!t)throw ReferenceError(`send to unknown route '${e.header.to}'`);if(!t.connector||t.connector.getStatus()!==s.READY){if(t.discardMode===c.ALWAYS||t.discardMode===c.UNTIL_CONNECTING&&t.connector.getStatus()<s.CONNECTING)return;16&this._verbosity&&console.log(`COM [${this.getDebugName()}] - route to ${e.header.to} not ready! ...Waiting for connector update.`),await this.holdMessage(e)}if(4&this._verbosity){const t={type:0,req:e};this._history.push(t)}t.connector.send(e)}async _internalRequest(e){let t;i.start("REQUEST",e.header.command);const n=this.getRoute(e.header.to);if(!n)return Promise.reject(new ReferenceError(`request to unknown route '${e.header.to}'`));if(n.isReady())t=globalThis.timeline?.add(`REQ-${e.header.command}`);else{if(n.discardMode===c.ALWAYS||n.discardMode===c.UNTIL_CONNECTING&&n.connector.getStatus()<s.CONNECTING)return Promise.reject("Not Connected");16&this._verbosity&&console.log(`COM [${this.getDebugName()}] - route to ${e.header.to} not ready! ...Waiting for connector update.`),t=globalThis.timeline?.add(`REQ-${e.header.command}`),await this.holdMessage(e)}let o;this._verbosity&&(16&this._verbosity&&console.log(`COM [${this.getDebugName()}] - send request '${e.header.command}' by connector '${n.connector.getDebugName()}'`),2&this._verbosity&&this._updateIndicator(1),4&this._verbosity&&(o={type:1,req:e,res:"<yet not received>"},this._history.push(o)));const a={message:e,defer:new r};this._pendingRequests.push(a);const l=await n.connector.request(e);return t?.stop(),o&&(o.res=l),this._pendingRequests.splice(this._pendingRequests.indexOf(a),1),2&this._verbosity&&(this._updateIndicator(5),i.end("REQUEST",e.header.command)),l}holdMessage(e){const t={message:e,defer:new r},n=this.getRoute(e.header.to);return this._holdMessages.push(t),this._updateIndicator(1),n.asPromise("ready").then(()=>{this._holdMessages.splice(this._holdMessages.indexOf(t)),this._updateIndicator(1)})}defineRoute(e,t=null,r=!0){"string"==typeof e&&(e={id:e,persistent:r,connector:t});let n=this._routes.get(e.id);if(n)n.update(e);else{n=new h(e),this._routes.set(e.id,n);const t=globalThis.timeline?.add(`Route: create '${e.id}'`);t&&n.once("ready",()=>t.stop())}return n}getRouteStatus(e){const t=this.getRoute(e);return t?t.getStatus():s.UNKNOWN}getRoute(e){return this._routes.get(e)}hasRoute(e){return this._routes.has(e)}static getMainInstance(){return globalThis.communicator}static _onMainInstance;static mainInstanceRegistered(t){if(globalThis.communicator)return t(globalThis.communicator),void console.log("mainInstanceRegistered instant");this._onMainInstance||(console.log("mainInstanceRegistered create"),this._onMainInstance=new e),console.log("mainInstanceRegistered on"),this._onMainInstance.on(t)}static setMainInstance(e){if(globalThis.communicator&&globalThis.communicator!==e)throw new Error("Multiple Main Instances of MessageCommunicator not allowed!");if(0===globalThis.communicator&&e)throw new Error("Main Instance of MessageCommunicator was disabled and should not dynamically change!");console.log("setMainInstance",e),globalThis.communicator=e,e&&this._onMainInstance&&(console.log("setMainInstance",e),this._onMainInstance.emit(e),this._onMainInstance.dispose(),this._onMainInstance=null)}getDebugName(){return this._debugName}setDebugName(e){this._debugName=e}setVerbosity(e){"object"==typeof window&&"object"==typeof window.document&&(2&e)!=(2&this._verbosity)&&(2&e?(this._debugIndicator=document.createElement("dhcom-debug-indicator"),document.body.appendChild(this._debugIndicator),this._updateIndicator(255)):this._debugIndicator&&(this._debugIndicator.remove(),this._debugIndicator=null)),this._verbosity=e}getConnectorList(){const e=[];for(const[t,r]of this._routes)r.connector&&!e.includes(r.connector)&&e.push(r.connector);return e}_updateIndicator(e){if(this._debugIndicator&&(1&e&&this._debugIndicator.setAttribute("counter",this._pendingRequests.length.toString()),7&e)){const t=this.getConnectorList();if(4&e){const e={name:this.getDebugName(),connectors:{},pending:this._pendingRequests.map(e=>e.message.header.command)};for(const r of t){const t=[...this._routes.values()].filter(e=>e.connector===r).map(e=>e.id);e.connectors[r.getDebugName()]={routes:t,...r.getStats()}}this._debugIndicator.renderStats(e)}if(2&e){let e=s.READY,r=s.UNKNOWN;for(const n of t){const t=n.getStatus();t<e&&(e=t),t>r&&(r=t)}e>r&&(e=s.UNKNOWN),this._debugIndicator.setAttribute("status",e.toString())}}}}class _{communicator;setCommunicator(e){this.communicator=e.registerService(this)}dispose(){return this.communicator.removeService(this)}processMessage(e){return!1}processRequest(e){}intercept(e){}send(e,t,r){this.communicator.send(e,t,r)}request(e,t,r){return this.communicator.request(e,t,r)}listen(e,t,r){return this.communicator.listen(e,t,r)}listenOnce(e,t,r){return this.communicator.listenOnce(e,t,r)}hasListener(e){return this.communicator.hasListener(e)}emit(e,t){return this.communicator.emit(e,t)}}class g extends l{constructor(e,t){super(),this.targetWindow=e,this.targetOrigin=t}type="PostMessage";start(){window.addEventListener("message",e=>this.receiveEvent(e)),this.sendHandshake()}resetTargetWindow(e){this.targetWindow=e,this.targetOrigin=e.origin,this.setStatus(s.RECONNECTING),this.init()}async receiveEvent(e){try{if("string"==typeof e.data)return;if("*"!==this.targetOrigin&&e.origin!=this.targetOrigin)return void console.log(`[${this.getDebugName()}] - Origin mismatch`,e.origin,this.targetOrigin);this.handleWrapped(e.data)}catch(t){console.error(`[${this.getDebugName()}] - CATCH in Socket Message`,e,t)}}sendWrapped(e){try{this.targetWindow.postMessage(e,this.targetOrigin)}catch(t){console.error(t,e)}}init(){g.tryPing(this.targetWindow,e=>{this.targetWindow=e.source,this.start()})}static tryPing(e,t){let r=n=>{if(n.source===e)switch(n.data){case"dh-pmc-init-ping":n.source.postMessage("dh-pmc-init-pong",n.origin);case"dh-pmc-init-pong":window.removeEventListener("message",r),t(n)}else console.warn("CHECK target?!",e,n.source)};window.addEventListener("message",r),e.postMessage("dh-pmc-init-ping","*")}}class f extends l{type="WebSocket";impl;holdMessages=new r;pingTime=3e4;reconnectConfig={counter:-1,delay:1e3,timeoutId:null,customHook:null};pingTimerId;constructor(e,t){super(),this.reset(e),t&&this.setCommunicator(t)}init(){this.impl.onOpen=()=>this.onSocketOpen(),this.impl.onClose=()=>this.onSocketClose(),this.impl.onMessage=e=>this.onSocketMessage(e),this.impl.onError=e=>console.error(e)}reset(e){this.getStatus()!==s.DISCONNECTED&&this.disconnect(),this.impl=e,e&&(this.init(),0===(this.impl.traits&u.CAN_RECONNECT)&&(this.reconnectConfig=null),0===(this.impl.traits&u.SHOULD_PING)&&(this.pingTime=0),this.impl.traits&u.EXISTING_CONNECTION&&this.setStatus(s.CONNECTING))}getImpl(){return this.impl}setReconnectConfig(e){if(0===(this.impl.traits&u.CAN_RECONNECT))return;const t=this.reconnectConfig?.timeoutId;if(t&&(clearTimeout(this.reconnectConfig.timeoutId),this.reconnectConfig.timeoutId=null,this.verbosity>=2&&console.log(`WS [${this.getDebugName()}] - Restart canceled`)),!e?.counter||e.delay<0)return this.reconnectConfig=null,void(this.verbosity>=2&&console.log(`WS [${this.getDebugName()}] - Restart disabled`));console.log(`WS [${this.getDebugName()}] - New restart config`,e),this.reconnectConfig.counter=e.counter,this.reconnectConfig.delay=e.delay,this.reconnectConfig.customHook=e.customHook,t&&this.connect()}setPingTime(e=30){this.pingTime!==e&&(this.pingTime=1e3*e,console.log(`WS [${this.getDebugName()}] - New ping time:`,e),this.updatePing(!!this.pingTime))}updatePing(e){this.pingTimerId&&clearInterval(this.pingTimerId),e&&this.pingTime>0&&(this.pingTimerId=setInterval(()=>this.ping(),this.pingTime))}connect(){this.impl?(this.verbosity>=2&&console.log(`WS [${this.getDebugName()}]- Connected`),this.setStatus(s.CONNECTING),this.impl.start()):console.error(`WS [${this.getDebugName()}] - Missing Socket-Implentation`)}terminate(){this.impl&&(this.verbosity>=2&&console.log(`WS [${this.getDebugName()}] - Disconnected`),this.setStatus(s.DISCONNECTED),this.impl.stop())}disconnect(){this.impl&&(this.verbosity>=2&&console.log(`WS [${this.getDebugName()}] - Disconnected`),this.getStatus()>s.DISCONNECTING&&this.setStatus(s.DISCONNECTING),this.impl.stop())}onSocketOpen(){if(this.getStatus()<s.CONNECTING&&(console.warn(`Unexpected Web Socket Connection State ${this.getStatus()}!`),this.getStatus()===s.DISCONNECTING))return void this.impl.stop();this.setStatus(s.CONNECTED),this.verbosity>=2&&console.log(`WS [${this.getDebugName()}] - Socket Connected`),this.updatePing(!0),this.sendHandshake();const e=this.holdMessages;this.holdMessages=void 0,e?.resolve()}async reconnect(e){if(this.impl.traits&u.CAN_RECONNECT&&this.reconnectConfig){if(this.reconnectConfig.timeoutId&&(clearTimeout(this.reconnectConfig.timeoutId),this.reconnectConfig.timeoutId=null),this.setStatus(s.RECONNECTING),this.getStatus()>=s.CONNECTED&&(this.verbosity>=2&&console.log(`WS [${this.getDebugName()}] - forced stop for reconnect`),this.impl.stop()),this.reconnectConfig.customHook){let e;console.log(`WS [${this.getDebugName()}] - calling reconnect custom hook`);try{e=this.reconnectConfig.customHook(this)}catch(e){return console.error(e),void console.error(`WS [${this.getDebugName()}] - custom hook catched! cancel reconnect`)}if("object"==typeof e&&(e=await e),!1===e)return void console.log(`WS [${this.getDebugName()}] - reconnect cancled by custom hook`)}e?(this.verbosity>=2&&console.log(`WS [${this.getDebugName()}] - Restart in ${e} ms`),this.reconnectConfig.timeoutId=setTimeout(()=>{this.reconnectConfig.timeoutId=null,this.connect()},e)):this.connect()}}onSocketClose(){this.holdMessages||(this.holdMessages=new r),clearInterval(this.pingTimerId),console.warn(`WS [${this.getDebugName()}] - Socket closed`),this.impl.traits&u.CAN_RECONNECT&&this.reconnectConfig?.counter&&this.getStatus()>s.DISCONNECTING?(this.reconnectConfig.counter>0&&this.reconnectConfig.counter--,this.reconnect(this.reconnectConfig.delay)):this.setStatus(s.DISCONNECTED)}ping(){this.impl.send("ping")}sendWrapped(e){const t=JSON.stringify(e);return this.impl.send(t),t.length}onSocketMessage(e){try{if("string"!=typeof e)return void console.error(`WS [${this.getDebugName()}] - Invalid data from`,e);if("{"!==e[0])return"ping"===e?(this.impl.send("pong"),void this.emit("ping")):"pong"===e?void this.emit("ping"):void console.error(`WS [${this.getDebugName()}] - Invalid data from`,e);const t=JSON.parse(e);this.handleWrapped(t,e.length)}catch(t){console.error(`WS [${this.getDebugName()}] - CATCH in Socket Message`,e,t)}}}class v{constructor(e){this.name=e,this.name=e,this.start=performance.now(),this.end=0}start;end;stop(){this.end=performance.now()}}class b{name=window.location.pathname.match(/^\/(?<basepath>\w+)\b/)?.groups?.basepath||"nopath";clock=Date.now()-performance.now();times=[];constructor(){if(this.note("Timeline: start"),typeof window<"u"){const e=this.add("load");window.addEventListener("load",()=>e.stop())}setTimeout(()=>{performance.getEntriesByType("resource").forEach(e=>{const t=this.add(`RES(${e.initiatorType}): ${e.name}`);t.start=e.fetchStart,t.end=e.responseEnd}),this.times.sort((e,t)=>e.start-t.start),console.log("TIMELINE:",this)},2e4)}add(e){const t=new v(e);return this.times.push(t),t}note(e){const t=new v(e);this.times.push(t),t.end=t.start}static stackCounter=new Map;stack(e){let t=b.stackCounter.get(e);return t?0===t.i&&performance.now()-t.t.end>1?(t={i:1,t:this.add(e)},b.stackCounter.set(e,t)):++t.i:(t={i:1,t:this.add(e)},b.stackCounter.set(e,t)),{pop:()=>{0===--t.i&&t.t.stop()}}}}globalThis.timeline=new b;class y extends _{processMessage(e){return!("getTimeline"!==e.header.command||!globalThis.timeline)&&(this.send(e.header.from,"timelineData",structuredClone(globalThis.timeline)),!0)}}let x=null;if(m.mainInstanceRegistered(e=>{x=new y,x.setCommunicator(e)}),typeof window<"u"&&typeof document<"u"&&!customElements.get("dhcom-debug-indicator")){class e extends HTMLElement{status=s.UNKNOWN;counter=0;shadow;circle;badge;tooltip;keepOpen=!1;communicator;constructor(){super()}static get observedAttributes(){return["status","counter"]}connectedCallback(){this.shadow||(this.shadow=this.attachShadow({mode:"open"}),this.build())}disconnectedCallback(){}attributeChangedCallback(e,t,r){t!==r&&("status"===e&&(this.status=parseInt(r,10)||0,this.circle.style.backgroundColor=this.getColor()),"counter"===e&&(this.counter=parseInt(r,10)||0,this.badge.innerHTML=r,this.badge.style.display=this.counter?"block":"none"))}renderStatsTree(e,t=0){return`<ul>${Object.entries(e).map(([e,r])=>r?(r=Array.isArray(r)?r.join(", "):"object"==typeof r?this.renderStatsTree(r,t+1):`&nbsp;<i>${r}</i>`,`<li class="level${t}"><b>${e}</b>:${r}</li>`):"").join("")}</ul>`}renderStats(e){const t=this.keepOpen?'<svg class="lock" width="20" height="20" viewBox="0 0 20 20" fill="white"><path d="M6.5 9V6a3.5 3.5 0 1 1 7 0v3" stroke="white" stroke-width="2" fill="none"/><rect x="5" y="8" width="10" height="8" rx="1" fill="white"/></svg>':"";this.tooltip.innerHTML=`<h4>${e.name} Communication</h4>${t}`+this.renderStatsTree(e)}build(){this.shadow.innerHTML=`\n\t\t\t\t<style>\n\t\t\t\t:host {\n\t\t\t\t\tposition: fixed;\n\t\t\t\t\tbottom: 30px;\n\t\t\t\t\tleft: 30px;\n\t\t\t\t\twidth: 20px;\n\t\t\t\t\theight: 20px;\n\t\t\t\t\tz-index: 9999999;\n\t\t\t\t\tfont-family: arial;\n\t\t\t\t\tmax-width: 350px;\n\t\t\t\t}\n\t\t\t\t.circle {\n\t\t\t\t\twidth: 20px;\n\t\t\t\t\theight: 20px;\n\t\t\t\t\tborder-radius: 50%;\n\t\t\t\t\tbackground-color: ${this.getColor()};\n\t\t\t\t\tposition: relative;\n\t\t\t\t\tdisplay: flex;\n\t\t\t\t\tcursor: grab;\n\t\t\t\t\talign-items: center;\n\t\t\t\t\tjustify-content: center;\n\t\t\t\t}\n\t\t\t\t.badge {\n\t\t\t\t\tposition: absolute;\n\t\t\t\t\tbottom: 60%;\n\t\t\t\t\tleft: 60%;\n\t\t\t\t\tbackground-color: blue;\n\t\t\t\t\tcolor: white;\n\t\t\t\t\tfont-size: 9px;\n\t\t\t\t\tline-height: 10px;\n\t\t\t\t\tpadding: 2px;\n\t\t\t\t\tborder-radius: 12px;\n\t\t\t\t}\n\t\t\t\t.tooltip {\n\t\t\t\t\tdisplay: none;\n\t\t\t\t\tposition: absolute;\n\t\t\t\t\tbackground: rgba(0, 0, 0, 0.8);\n\t\t\t\t\tcolor: white;\n\t\t\t\t\tpadding: 10px;\n\t\t\t\t\tborder-radius: 5px;\n\t\t\t\t\tfont-size: 12px;\n\t\t\t\t\twhite-space: nowrap;\n\t\t\t\t\tz-index: 99999999;\n\t\t\t\t}\n\t\t\t\t.tooltip h4 {\n\t\t\t\t\tmargin: 0;\n\t\t\t\t\tfont-size: 14px;\n\t\t\t\t}\n\t\t\t\t.tooltip ul {\n\t\t\t\t\tpadding: 0 0 0 5px;\n\t\t\t\t\tmargin: 0 0 0 10px;\n\t\t\t\t}\n\t\t\t\t.tooltip li {\n\t\t\t\t\tmargin: 2px 0;\n\t\t\t\t}\n\t\t\t\t.lock {\n\t\t\t\t\tposition: absolute;\n\t\t\t\t\tright: 5px;\n\t\t\t\t\ttop: 5px;\n\t\t\t\t\twidth: 20px;\n\t\t\t\t\theight: 20px;\n\t\t\t\t}\n\t\t\t\t</style>\n\t\t\t\t<div class="circle">\n\t\t\t\t<span class="badge">${this.counter}</span>\n\t\t\t\t</div>\n\t\t\t\t<div class="tooltip">\n\t\t\t\t\t<h4>Debug-Statistiken</h4>\n\t\t\t\t</div>\n\t\t\t`,this.circle=this.shadow.querySelector(".circle"),this.badge=this.shadow.querySelector(".badge"),this.tooltip=this.shadow.querySelector(".tooltip"),this.circle.addEventListener("contextmenu",e=>(this.keepOpen=!this.keepOpen,e.preventDefault(),1)),this.tooltip.style.left="80%",this.tooltip.style.bottom="80%",this.addEventListener("mouseenter",()=>{this.tooltip.style.display="block"}),this.addEventListener("mouseleave",()=>{this.keepOpen||(this.tooltip.style.display="none")}),this.enableDragging()}enableDragging(){const e=this.circle;let t=!1,r=0,n=0;const i={x:0,y:0},o=(t,o)=>{i.x=t-r,i.y=o-n;const s=window.innerWidth-e.clientWidth,a=window.innerHeight-e.clientHeight;i.x=Math.max(0,Math.min(i.x,s)),i.y=Math.max(0,Math.min(i.y,a)),this.tooltip.style.left=i.x<.5*s?"80%":"",this.tooltip.style.right=i.x<.5*s?"":"80%",this.tooltip.style.top=i.y<.5*a?"80%":"",this.tooltip.style.bottom=i.y<.5*a?"":"80%",this.style.left=`${i.x}px`,this.style.top=`${i.y}px`},s="_debug_comindicator_pos_"+window.location.pathname.substring(1),a=localStorage.getItem(s);if(a){const{x:e,y:t}=JSON.parse(a);o(e,t)}const l=e=>{t&&o(e.clientX,e.clientY)},c=()=>{t=!1,this.circle.style.cursor="",document.removeEventListener("mousemove",l),document.removeEventListener("mouseup",c),localStorage.setItem(s,JSON.stringify(i))};e.addEventListener("mousedown",e=>{t=!0,r=e.clientX-this.getBoundingClientRect().left,n=e.clientY-this.getBoundingClientRect().top,this.circle.style.cursor="grabbing",document.addEventListener("mousemove",l),document.addEventListener("mouseup",c)})}getColor(){switch(this.status){case s.UNKNOWN:return"gray";case s.DISCONNECTED:case s.DISCONNECTING:return"red";case s.CONNECTING:return"orange";case s.RECONNECTING:return"yellow";case s.CONNECTED:return"turquoise";case s.READY:return"green";default:return"gray"}}}customElements.define("dhcom-debug-indicator",e)}class S{traits=u.CAN_RECONNECT|u.SHOULD_PING;url;socket;onMessage;onOpen;onClose;onError;constructor(e){this.url=new URL(e)}getUrl(){return this.url}setUrl(e){this.url=new URL(e),this.url.protocol.startsWith("ws")||(console.warn(`WS WebSocket url '${e.toString()}' should use Protocol 'wss://' or 'ws://'!`),"https"===this.url.protocol?this.url.protocol="wss":this.url.protocol="ws")}start(){this.socket=new WebSocket(this.getUrl()),this.socket.onmessage=e=>this.onMessage(e.data),this.socket.onerror=e=>this.onError(e),this.socket.onopen=()=>this.onOpen(),this.socket.onclose=()=>{this.socket=null,this.onClose()}}stop(e=!0){this.socket&&(e||(this.socket.onmessage=null,this.socket.onerror=null,this.socket.onclose=null),this.socket.close())}send(e){this.socket.send(e)}}var w;!function(e){e.Furnview="fv",e.Furnplan="fp",e.Node="node",e.WebUi="wui"}(w||(w={}));const A=new m(w.Furnview);A.defineRoute(w.Furnplan,null);const C=new URL(window.location.href).searchParams.get("VIEW_SCALE")||1,E=1e3*C,I=216660,M=45e3*C,k=65e3*C,T="10580";var R;!function(e){e.DOOR="Door",e.WINDOW="Window"}(R||(R={}));
+/* @license
+ * Copyright 2019 Google LLC. All Rights Reserved.
+ * Licensed under the Apache License, Version 2.0 (the 'License');
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an 'AS IS' BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+null!=navigator.xr&&null!=self.XRSession&&null!=navigator.xr.isSessionSupported&&self.XRSession.prototype.requestHitTestSource,self.ResizeObserver,self.IntersectionObserver,(()=>{const e=navigator.userAgent||navigator.vendor||self.opera;let t=!1;(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(e.substr(0,4)))&&(t=!0)})(),/\bCrOS\b/.test(navigator.userAgent),/android/i.test(navigator.userAgent);const L=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!self.MSStream||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1;(()=>{const e=document.createElement("a");Boolean(e.relList&&e.relList.supports&&e.relList.supports("ar"))})(),/Safari\//.test(navigator.userAgent),/firefox/i.test(navigator.userAgent),/OculusBrowser/.test(navigator.userAgent),L&&/CriOS\//.test(navigator.userAgent);
+/**
+ * @license
+ * Copyright 2010-2025 Three.js Authors
+ * SPDX-License-Identifier: MIT
+ */
+function P(e,t){!0===e.matrixAutoUpdate&&e.updateMatrix(),t.value.copy(e.matrix)}var D={refreshUniformsCommonHook:(e,t)=>{t.surfaceNormalMap&&(t.normalMap||t.bumpMap)?t.bumpMap?P(t.bumpMap,e.bumpMapTransform):t.normalMap&&P(t.normalMap,e.normalMapTransform):t.normalMap&&!t.surfaceNormalMap&&P(t.normalMap,e.normalMapTransform),t.normalMap&&t.useNormalUV&&P(t.normalMap,e.surfaceNormalUVTransform),t.surfaceNormalMap&&(e.surfaceNormalMap.value=t.surfaceNormalMap,e.surfaceNormalScale.value.copy(t.surfaceNormalScale),e.normalMapBlending.value=t.normalMapBlending,t.surfaceNormalMap.isWebGLRenderTarget&&(e.surfaceNormalMap.value=t.surfaceNormalMap.texture,e.surfaceNormalMap.value.updateMatrix()),P(t.surfaceNormalMap,e.surfaceNormalUVTransform))},refreshUniformsStandardHook:(e,t)=>{t.mirrorMap&&t.mirrorMatrix&&(e.mirrorMap.value=t.mirrorMap,e.mirrorMatrix.value=t.mirrorMatrix,e.fMirrorIntensity.value=t.mirrorIntensity,e.iMirrorMode.value=t.mirrorMode),t.contactShadowMapCascade&&t.contactShadowMatrices&&(e.contactShadowMapCascade.value=t.contactShadowMapCascade,e.contactShadowMatrices.value=t.contactShadowMatrices,e.fContactShadowDarkness.value=t.contactShadowDarkness)}};var N={shaderIdsHook:e=>(e.MeshGroundMaterial="ground",e),shaderDefineHook:e=>[e.surfaceNormalMap?"#define USE_SURFACE_NORMAL_MAP":"",e.useNormalUV?"#define USE_NORMAL_UV":"",e.mirrorMap?"#define USE_MIRROR":"",e.contactShadowMapCascade?"#define USE_CONTACT_SHADOW_MAP":"",(e.surfaceNormalMap||e.normalMap)&&e.objectSpaceNormalMap?"#define USE_NORMALMAP_OBJECTSPACE":"",(e.surfaceNormalMap||e.normalMap)&&e.tangentSpaceNormalMap?"#define USE_NORMALMAP_TANGENTSPACE":""],shaderUniformHook:()=>[],appendParameters(e,t){e.useNormalUV=!!t.normalMap&&!!t.useNormalUV,e.surfaceNormalMap=!!t.surfaceNormalMap,e.normalMapBlending=!!t.normalMapBlending},generateEnvMapType(e){if(305===e)return"ENVMAP_TYPE_SPHERE"},generateShadowMapType(e){if(4===e)return"SHADOWMAP_TYPE_PCSS"},replaceDHNums:(e,t)=>e.replace(/MAX_CS_CASCADES/g,t.maxCSCascades)};window.MaterialHooks=D,window.ProgramHooks=N;const F="180",O=0,B=1,U=2,V=100,z=101,H=102,G=200,j=201,J=202,W=203,Q=204,q=205,Y=206,X=207,K=208,Z=209,ee=210,te=211,re=212,ne=213,ie=214,oe=0,se=1,ae=2,le=3,ce=4,ue=5,de=6,he=7,pe="attached",me=300,_e=301,ge=302,fe=303,ve=304,be=306,ye=1e3,$e=1001,xe=1002,Se=1003,we=1004,Ae=1005,Ce=1006,Ee=1007,Ie=1008,Me=1008,ke=1009,Te=1010,Re=1011,Le=1012,Pe=1013,De=1014,Ne=1015,Fe=1016,Oe=1017,Be=1018,Ue=1020,Ve=35902,ze=35899,He=1022,Ge=1023,je=1026,Je=1027,We=1028,Qe=1029,qe=1030,Ye=1031,Xe=1033,Ke=33776,Ze=33777,et=33778,tt=33779,rt=35840,nt=35841,it=35842,ot=35843,st=36196,at=37492,lt=37496,ct=37808,ut=37809,dt=37810,ht=37811,pt=37812,mt=37813,_t=37814,gt=37815,ft=37816,vt=37817,bt=37818,yt=37819,$t=37820,xt=37821,St=36492,wt=36494,At=36495,Ct=36283,Et=36284,It=36285,Mt=36286,kt=2200,Tt=2201,Rt=2202,Lt=2300,Pt=2301,Dt=2302,Nt=2400,Ft=2401,Ot=2402,Bt=2500,Ut=3201,Vt="",zt="srgb",Ht="srgb-linear",Gt="linear",jt="srgb",Jt=7680,Wt=512,Qt=513,qt=514,Yt=515,Xt=516,Kt=517,Zt=518,er=519,tr=35044,rr="300 es",nr=2e3,ir=2001;class or{addEventListener(e,t){void 0===this._listeners&&(this._listeners={});const r=this._listeners;void 0===r[e]&&(r[e]=[]),-1===r[e].indexOf(t)&&r[e].push(t)}hasEventListener(e,t){const r=this._listeners;return void 0!==r&&(void 0!==r[e]&&-1!==r[e].indexOf(t))}removeEventListener(e,t){const r=this._listeners;if(void 0===r)return;const n=r[e];if(void 0!==n){const e=n.indexOf(t);-1!==e&&n.splice(e,1)}}dispatchEvent(e){const t=this._listeners;if(void 0===t)return;const r=t[e.type];if(void 0!==r){e.target=this;const t=r.slice(0);for(let r=0,n=t.length;r<n;r++)t[r].call(this,e);e.target=null}}}const sr=["00","01","02","03","04","05","06","07","08","09","0a","0b","0c","0d","0e","0f","10","11","12","13","14","15","16","17","18","19","1a","1b","1c","1d","1e","1f","20","21","22","23","24","25","26","27","28","29","2a","2b","2c","2d","2e","2f","30","31","32","33","34","35","36","37","38","39","3a","3b","3c","3d","3e","3f","40","41","42","43","44","45","46","47","48","49","4a","4b","4c","4d","4e","4f","50","51","52","53","54","55","56","57","58","59","5a","5b","5c","5d","5e","5f","60","61","62","63","64","65","66","67","68","69","6a","6b","6c","6d","6e","6f","70","71","72","73","74","75","76","77","78","79","7a","7b","7c","7d","7e","7f","80","81","82","83","84","85","86","87","88","89","8a","8b","8c","8d","8e","8f","90","91","92","93","94","95","96","97","98","99","9a","9b","9c","9d","9e","9f","a0","a1","a2","a3","a4","a5","a6","a7","a8","a9","aa","ab","ac","ad","ae","af","b0","b1","b2","b3","b4","b5","b6","b7","b8","b9","ba","bb","bc","bd","be","bf","c0","c1","c2","c3","c4","c5","c6","c7","c8","c9","ca","cb","cc","cd","ce","cf","d0","d1","d2","d3","d4","d5","d6","d7","d8","d9","da","db","dc","dd","de","df","e0","e1","e2","e3","e4","e5","e6","e7","e8","e9","ea","eb","ec","ed","ee","ef","f0","f1","f2","f3","f4","f5","f6","f7","f8","f9","fa","fb","fc","fd","fe","ff"];let ar=1234567;const lr=Math.PI/180,cr=180/Math.PI;function ur(){const e=4294967295*Math.random()|0,t=4294967295*Math.random()|0,r=4294967295*Math.random()|0,n=4294967295*Math.random()|0;return(sr[255&e]+sr[e>>8&255]+sr[e>>16&255]+sr[e>>24&255]+"-"+sr[255&t]+sr[t>>8&255]+"-"+sr[t>>16&15|64]+sr[t>>24&255]+"-"+sr[63&r|128]+sr[r>>8&255]+"-"+sr[r>>16&255]+sr[r>>24&255]+sr[255&n]+sr[n>>8&255]+sr[n>>16&255]+sr[n>>24&255]).toLowerCase()}function dr(e,t,r){return Math.max(t,Math.min(r,e))}function hr(e,t){return(e%t+t)%t}function pr(e,t,r){return(1-r)*e+r*t}function mr(e,t){switch(t.constructor){case Float32Array:return e;case Uint32Array:return e/4294967295;case Uint16Array:return e/65535;case Uint8Array:return e/255;case Int32Array:return Math.max(e/2147483647,-1);case Int16Array:return Math.max(e/32767,-1);case Int8Array:return Math.max(e/127,-1);default:throw new Error("Invalid component type.")}}function _r(e,t){switch(t.constructor){case Float32Array:return e;case Uint32Array:return Math.round(4294967295*e);case Uint16Array:return Math.round(65535*e);case Uint8Array:return Math.round(255*e);case Int32Array:return Math.round(2147483647*e);case Int16Array:return Math.round(32767*e);case Int8Array:return Math.round(127*e);default:throw new Error("Invalid component type.")}}const gr={DEG2RAD:lr,RAD2DEG:cr,generateUUID:ur,clamp:dr,euclideanModulo:hr,mapLinear:function(e,t,r,n,i){return n+(e-t)*(i-n)/(r-t)},inverseLerp:function(e,t,r){return e!==t?(r-e)/(t-e):0},lerp:pr,damp:function(e,t,r,n){return pr(e,t,1-Math.exp(-r*n))},pingpong:function(e,t=1){return t-Math.abs(hr(e,2*t)-t)},smoothstep:function(e,t,r){return e<=t?0:e>=r?1:(e=(e-t)/(r-t))*e*(3-2*e)},smootherstep:function(e,t,r){return e<=t?0:e>=r?1:(e=(e-t)/(r-t))*e*e*(e*(6*e-15)+10)},randInt:function(e,t){return e+Math.floor(Math.random()*(t-e+1))},randFloat:function(e,t){return e+Math.random()*(t-e)},randFloatSpread:function(e){return e*(.5-Math.random())},seededRandom:function(e){void 0!==e&&(ar=e);let t=ar+=1831565813;return t=Math.imul(t^t>>>15,1|t),t^=t+Math.imul(t^t>>>7,61|t),((t^t>>>14)>>>0)/4294967296},degToRad:function(e){return e*lr},radToDeg:function(e){return e*cr},isPowerOfTwo:function(e){return!(e&e-1)&&0!==e},ceilPowerOfTwo:function(e){return Math.pow(2,Math.ceil(Math.log(e)/Math.LN2))},floorPowerOfTwo:function(e){return Math.pow(2,Math.floor(Math.log(e)/Math.LN2))},setQuaternionFromProperEuler:function(e,t,r,n,i){const o=Math.cos,s=Math.sin,a=o(r/2),l=s(r/2),c=o((t+n)/2),u=s((t+n)/2),d=o((t-n)/2),h=s((t-n)/2),p=o((n-t)/2),m=s((n-t)/2);switch(i){case"XYX":e.set(a*u,l*d,l*h,a*c);break;case"YZY":e.set(l*h,a*u,l*d,a*c);break;case"ZXZ":e.set(l*d,l*h,a*u,a*c);break;case"XZX":e.set(a*u,l*m,l*p,a*c);break;case"YXY":e.set(l*p,a*u,l*m,a*c);break;case"ZYZ":e.set(l*m,l*p,a*u,a*c);break;default:console.warn("THREE.MathUtils: .setQuaternionFromProperEuler() encountered an unknown order: "+i)}},normalize:_r,denormalize:mr};class fr{constructor(e=0,t=0){fr.prototype.isVector2=!0,this.x=e,this.y=t}get width(){return this.x}set width(e){this.x=e}get height(){return this.y}set height(e){this.y=e}set(e,t){return this.x=e,this.y=t,this}setScalar(e){return this.x=e,this.y=e,this}setX(e){return this.x=e,this}setY(e){return this.y=e,this}setComponent(e,t){switch(e){case 0:this.x=t;break;case 1:this.y=t;break;default:throw new Error("index is out of range: "+e)}return this}getComponent(e){switch(e){case 0:return this.x;case 1:return this.y;default:throw new Error("index is out of range: "+e)}}clone(){return new this.constructor(this.x,this.y)}copy(e){return this.x=e.x,this.y=e.y,this}add(e){return this.x+=e.x,this.y+=e.y,this}addScalar(e){return this.x+=e,this.y+=e,this}addVectors(e,t){return this.x=e.x+t.x,this.y=e.y+t.y,this}addScaledVector(e,t){return this.x+=e.x*t,this.y+=e.y*t,this}sub(e){return this.x-=e.x,this.y-=e.y,this}subScalar(e){return this.x-=e,this.y-=e,this}subVectors(e,t){return this.x=e.x-t.x,this.y=e.y-t.y,this}multiply(e){return this.x*=e.x,this.y*=e.y,this}multiplyScalar(e){return this.x*=e,this.y*=e,this}divide(e){return this.x/=e.x,this.y/=e.y,this}divideScalar(e){return this.multiplyScalar(1/e)}applyMatrix3(e){const t=this.x,r=this.y,n=e.elements;return this.x=n[0]*t+n[3]*r+n[6],this.y=n[1]*t+n[4]*r+n[7],this}min(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this}max(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this}clamp(e,t){return this.x=dr(this.x,e.x,t.x),this.y=dr(this.y,e.y,t.y),this}clampScalar(e,t){return this.x=dr(this.x,e,t),this.y=dr(this.y,e,t),this}clampLength(e,t){const r=this.length();return this.divideScalar(r||1).multiplyScalar(dr(r,e,t))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this}roundToZero(){return this.x=Math.trunc(this.x),this.y=Math.trunc(this.y),this}negate(){return this.x=-this.x,this.y=-this.y,this}dot(e){return this.x*e.x+this.y*e.y}cross(e){return this.x*e.y-this.y*e.x}lengthSq(){return this.x*this.x+this.y*this.y}length(){return Math.sqrt(this.x*this.x+this.y*this.y)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)}normalize(){return this.divideScalar(this.length()||1)}angle(){return Math.atan2(-this.y,-this.x)+Math.PI}angleTo(e){const t=Math.sqrt(this.lengthSq()*e.lengthSq());if(0===t)return Math.PI/2;const r=this.dot(e)/t;return Math.acos(dr(r,-1,1))}distanceTo(e){return Math.sqrt(this.distanceToSquared(e))}distanceToSquared(e){const t=this.x-e.x,r=this.y-e.y;return t*t+r*r}manhattanDistanceTo(e){return Math.abs(this.x-e.x)+Math.abs(this.y-e.y)}setLength(e){return this.normalize().multiplyScalar(e)}lerp(e,t){return this.x+=(e.x-this.x)*t,this.y+=(e.y-this.y)*t,this}lerpVectors(e,t,r){return this.x=e.x+(t.x-e.x)*r,this.y=e.y+(t.y-e.y)*r,this}equals(e){return e.x===this.x&&e.y===this.y}fromArray(e,t=0){return this.x=e[t],this.y=e[t+1],this}toArray(e=[],t=0){return e[t]=this.x,e[t+1]=this.y,e}fromBufferAttribute(e,t){return this.x=e.getX(t),this.y=e.getY(t),this}rotateAround(e,t){const r=Math.cos(t),n=Math.sin(t),i=this.x-e.x,o=this.y-e.y;return this.x=i*r-o*n+e.x,this.y=i*n+o*r+e.y,this}random(){return this.x=Math.random(),this.y=Math.random(),this}*[Symbol.iterator](){yield this.x,yield this.y}}class vr{constructor(e=0,t=0,r=0,n=1){this.isQuaternion=!0,this._x=e,this._y=t,this._z=r,this._w=n}static slerpFlat(e,t,r,n,i,o,s){let a=r[n+0],l=r[n+1],c=r[n+2],u=r[n+3];const d=i[o+0],h=i[o+1],p=i[o+2],m=i[o+3];if(0===s)return e[t+0]=a,e[t+1]=l,e[t+2]=c,void(e[t+3]=u);if(1===s)return e[t+0]=d,e[t+1]=h,e[t+2]=p,void(e[t+3]=m);if(u!==m||a!==d||l!==h||c!==p){let e=1-s;const t=a*d+l*h+c*p+u*m,r=t>=0?1:-1,n=1-t*t;if(n>Number.EPSILON){const i=Math.sqrt(n),o=Math.atan2(i,t*r);e=Math.sin(e*o)/i,s=Math.sin(s*o)/i}const i=s*r;if(a=a*e+d*i,l=l*e+h*i,c=c*e+p*i,u=u*e+m*i,e===1-s){const e=1/Math.sqrt(a*a+l*l+c*c+u*u);a*=e,l*=e,c*=e,u*=e}}e[t]=a,e[t+1]=l,e[t+2]=c,e[t+3]=u}static multiplyQuaternionsFlat(e,t,r,n,i,o){const s=r[n],a=r[n+1],l=r[n+2],c=r[n+3],u=i[o],d=i[o+1],h=i[o+2],p=i[o+3];return e[t]=s*p+c*u+a*h-l*d,e[t+1]=a*p+c*d+l*u-s*h,e[t+2]=l*p+c*h+s*d-a*u,e[t+3]=c*p-s*u-a*d-l*h,e}get x(){return this._x}set x(e){this._x=e,this._onChangeCallback()}get y(){return this._y}set y(e){this._y=e,this._onChangeCallback()}get z(){return this._z}set z(e){this._z=e,this._onChangeCallback()}get w(){return this._w}set w(e){this._w=e,this._onChangeCallback()}set(e,t,r,n){return this._x=e,this._y=t,this._z=r,this._w=n,this._onChangeCallback(),this}clone(){return new this.constructor(this._x,this._y,this._z,this._w)}copy(e){return this._x=e.x,this._y=e.y,this._z=e.z,this._w=e.w,this._onChangeCallback(),this}setFromEuler(e,t=!0){const r=e._x,n=e._y,i=e._z,o=e._order,s=Math.cos,a=Math.sin,l=s(r/2),c=s(n/2),u=s(i/2),d=a(r/2),h=a(n/2),p=a(i/2);switch(o){case"XYZ":this._x=d*c*u+l*h*p,this._y=l*h*u-d*c*p,this._z=l*c*p+d*h*u,this._w=l*c*u-d*h*p;break;case"YXZ":this._x=d*c*u+l*h*p,this._y=l*h*u-d*c*p,this._z=l*c*p-d*h*u,this._w=l*c*u+d*h*p;break;case"ZXY":this._x=d*c*u-l*h*p,this._y=l*h*u+d*c*p,this._z=l*c*p+d*h*u,this._w=l*c*u-d*h*p;break;case"ZYX":this._x=d*c*u-l*h*p,this._y=l*h*u+d*c*p,this._z=l*c*p-d*h*u,this._w=l*c*u+d*h*p;break;case"YZX":this._x=d*c*u+l*h*p,this._y=l*h*u+d*c*p,this._z=l*c*p-d*h*u,this._w=l*c*u-d*h*p;break;case"XZY":this._x=d*c*u-l*h*p,this._y=l*h*u-d*c*p,this._z=l*c*p+d*h*u,this._w=l*c*u+d*h*p;break;default:console.warn("THREE.Quaternion: .setFromEuler() encountered an unknown order: "+o)}return!0===t&&this._onChangeCallback(),this}setFromAxisAngle(e,t){const r=t/2,n=Math.sin(r);return this._x=e.x*n,this._y=e.y*n,this._z=e.z*n,this._w=Math.cos(r),this._onChangeCallback(),this}setFromRotationMatrix(e){const t=e.elements,r=t[0],n=t[4],i=t[8],o=t[1],s=t[5],a=t[9],l=t[2],c=t[6],u=t[10],d=r+s+u;if(d>0){const e=.5/Math.sqrt(d+1);this._w=.25/e,this._x=(c-a)*e,this._y=(i-l)*e,this._z=(o-n)*e}else if(r>s&&r>u){const e=2*Math.sqrt(1+r-s-u);this._w=(c-a)/e,this._x=.25*e,this._y=(n+o)/e,this._z=(i+l)/e}else if(s>u){const e=2*Math.sqrt(1+s-r-u);this._w=(i-l)/e,this._x=(n+o)/e,this._y=.25*e,this._z=(a+c)/e}else{const e=2*Math.sqrt(1+u-r-s);this._w=(o-n)/e,this._x=(i+l)/e,this._y=(a+c)/e,this._z=.25*e}return this._onChangeCallback(),this}setFromUnitVectors(e,t){let r=e.dot(t)+1;return r<1e-8?(r=0,Math.abs(e.x)>Math.abs(e.z)?(this._x=-e.y,this._y=e.x,this._z=0,this._w=r):(this._x=0,this._y=-e.z,this._z=e.y,this._w=r)):(this._x=e.y*t.z-e.z*t.y,this._y=e.z*t.x-e.x*t.z,this._z=e.x*t.y-e.y*t.x,this._w=r),this.normalize()}angleTo(e){return 2*Math.acos(Math.abs(dr(this.dot(e),-1,1)))}rotateTowards(e,t){const r=this.angleTo(e);if(0===r)return this;const n=Math.min(1,t/r);return this.slerp(e,n),this}identity(){return this.set(0,0,0,1)}invert(){return this.conjugate()}conjugate(){return this._x*=-1,this._y*=-1,this._z*=-1,this._onChangeCallback(),this}dot(e){return this._x*e._x+this._y*e._y+this._z*e._z+this._w*e._w}lengthSq(){return this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w}length(){return Math.sqrt(this._x*this._x+this._y*this._y+this._z*this._z+this._w*this._w)}normalize(){let e=this.length();return 0===e?(this._x=0,this._y=0,this._z=0,this._w=1):(e=1/e,this._x=this._x*e,this._y=this._y*e,this._z=this._z*e,this._w=this._w*e),this._onChangeCallback(),this}multiply(e){return this.multiplyQuaternions(this,e)}premultiply(e){return this.multiplyQuaternions(e,this)}multiplyQuaternions(e,t){const r=e._x,n=e._y,i=e._z,o=e._w,s=t._x,a=t._y,l=t._z,c=t._w;return this._x=r*c+o*s+n*l-i*a,this._y=n*c+o*a+i*s-r*l,this._z=i*c+o*l+r*a-n*s,this._w=o*c-r*s-n*a-i*l,this._onChangeCallback(),this}slerp(e,t){if(0===t)return this;if(1===t)return this.copy(e);const r=this._x,n=this._y,i=this._z,o=this._w;let s=o*e._w+r*e._x+n*e._y+i*e._z;if(s<0?(this._w=-e._w,this._x=-e._x,this._y=-e._y,this._z=-e._z,s=-s):this.copy(e),s>=1)return this._w=o,this._x=r,this._y=n,this._z=i,this;const a=1-s*s;if(a<=Number.EPSILON){const e=1-t;return this._w=e*o+t*this._w,this._x=e*r+t*this._x,this._y=e*n+t*this._y,this._z=e*i+t*this._z,this.normalize(),this}const l=Math.sqrt(a),c=Math.atan2(l,s),u=Math.sin((1-t)*c)/l,d=Math.sin(t*c)/l;return this._w=o*u+this._w*d,this._x=r*u+this._x*d,this._y=n*u+this._y*d,this._z=i*u+this._z*d,this._onChangeCallback(),this}slerpQuaternions(e,t,r){return this.copy(e).slerp(t,r)}random(){const e=2*Math.PI*Math.random(),t=2*Math.PI*Math.random(),r=Math.random(),n=Math.sqrt(1-r),i=Math.sqrt(r);return this.set(n*Math.sin(e),n*Math.cos(e),i*Math.sin(t),i*Math.cos(t))}equals(e){return e._x===this._x&&e._y===this._y&&e._z===this._z&&e._w===this._w}fromArray(e,t=0){return this._x=e[t],this._y=e[t+1],this._z=e[t+2],this._w=e[t+3],this._onChangeCallback(),this}toArray(e=[],t=0){return e[t]=this._x,e[t+1]=this._y,e[t+2]=this._z,e[t+3]=this._w,e}fromBufferAttribute(e,t){return this._x=e.getX(t),this._y=e.getY(t),this._z=e.getZ(t),this._w=e.getW(t),this._onChangeCallback(),this}toJSON(){return this.toArray()}_onChange(e){return this._onChangeCallback=e,this}_onChangeCallback(){}*[Symbol.iterator](){yield this._x,yield this._y,yield this._z,yield this._w}}class br{constructor(e=0,t=0,r=0){br.prototype.isVector3=!0,this.x=e,this.y=t,this.z=r}set(e,t,r){return void 0===r&&(r=this.z),this.x=e,this.y=t,this.z=r,this}setScalar(e){return this.x=e,this.y=e,this.z=e,this}setX(e){return this.x=e,this}setY(e){return this.y=e,this}setZ(e){return this.z=e,this}setComponent(e,t){switch(e){case 0:this.x=t;break;case 1:this.y=t;break;case 2:this.z=t;break;default:throw new Error("index is out of range: "+e)}return this}getComponent(e){switch(e){case 0:return this.x;case 1:return this.y;case 2:return this.z;default:throw new Error("index is out of range: "+e)}}clone(){return new this.constructor(this.x,this.y,this.z)}copy(e){return this.x=e.x,this.y=e.y,this.z=e.z,this}add(e){return this.x+=e.x,this.y+=e.y,this.z+=e.z,this}addScalar(e){return this.x+=e,this.y+=e,this.z+=e,this}addVectors(e,t){return this.x=e.x+t.x,this.y=e.y+t.y,this.z=e.z+t.z,this}addScaledVector(e,t){return this.x+=e.x*t,this.y+=e.y*t,this.z+=e.z*t,this}sub(e){return this.x-=e.x,this.y-=e.y,this.z-=e.z,this}subScalar(e){return this.x-=e,this.y-=e,this.z-=e,this}subVectors(e,t){return this.x=e.x-t.x,this.y=e.y-t.y,this.z=e.z-t.z,this}multiply(e){return this.x*=e.x,this.y*=e.y,this.z*=e.z,this}multiplyScalar(e){return this.x*=e,this.y*=e,this.z*=e,this}multiplyVectors(e,t){return this.x=e.x*t.x,this.y=e.y*t.y,this.z=e.z*t.z,this}applyEuler(e){return this.applyQuaternion($r.setFromEuler(e))}applyAxisAngle(e,t){return this.applyQuaternion($r.setFromAxisAngle(e,t))}applyMatrix3(e){const t=this.x,r=this.y,n=this.z,i=e.elements;return this.x=i[0]*t+i[3]*r+i[6]*n,this.y=i[1]*t+i[4]*r+i[7]*n,this.z=i[2]*t+i[5]*r+i[8]*n,this}applyNormalMatrix(e){return this.applyMatrix3(e).normalize()}applyMatrix4(e){const t=this.x,r=this.y,n=this.z,i=e.elements,o=1/(i[3]*t+i[7]*r+i[11]*n+i[15]);return this.x=(i[0]*t+i[4]*r+i[8]*n+i[12])*o,this.y=(i[1]*t+i[5]*r+i[9]*n+i[13])*o,this.z=(i[2]*t+i[6]*r+i[10]*n+i[14])*o,this}applyQuaternion(e){const t=this.x,r=this.y,n=this.z,i=e.x,o=e.y,s=e.z,a=e.w,l=2*(o*n-s*r),c=2*(s*t-i*n),u=2*(i*r-o*t);return this.x=t+a*l+o*u-s*c,this.y=r+a*c+s*l-i*u,this.z=n+a*u+i*c-o*l,this}project(e){return this.applyMatrix4(e.matrixWorldInverse).applyMatrix4(e.projectionMatrix)}unproject(e){return this.applyMatrix4(e.projectionMatrixInverse).applyMatrix4(e.matrixWorld)}transformDirection(e){const t=this.x,r=this.y,n=this.z,i=e.elements;return this.x=i[0]*t+i[4]*r+i[8]*n,this.y=i[1]*t+i[5]*r+i[9]*n,this.z=i[2]*t+i[6]*r+i[10]*n,this.normalize()}divide(e){return this.x/=e.x,this.y/=e.y,this.z/=e.z,this}divideScalar(e){return this.multiplyScalar(1/e)}min(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this.z=Math.min(this.z,e.z),this}max(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this.z=Math.max(this.z,e.z),this}clamp(e,t){return this.x=dr(this.x,e.x,t.x),this.y=dr(this.y,e.y,t.y),this.z=dr(this.z,e.z,t.z),this}clampScalar(e,t){return this.x=dr(this.x,e,t),this.y=dr(this.y,e,t),this.z=dr(this.z,e,t),this}clampLength(e,t){const r=this.length();return this.divideScalar(r||1).multiplyScalar(dr(r,e,t))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this}roundToZero(){return this.x=Math.trunc(this.x),this.y=Math.trunc(this.y),this.z=Math.trunc(this.z),this}negate(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this}dot(e){return this.x*e.x+this.y*e.y+this.z*e.z}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)}normalize(){return this.divideScalar(this.length()||1)}setLength(e){return this.normalize().multiplyScalar(e)}lerp(e,t){return this.x+=(e.x-this.x)*t,this.y+=(e.y-this.y)*t,this.z+=(e.z-this.z)*t,this}lerpVectors(e,t,r){return this.x=e.x+(t.x-e.x)*r,this.y=e.y+(t.y-e.y)*r,this.z=e.z+(t.z-e.z)*r,this}cross(e){return this.crossVectors(this,e)}crossVectors(e,t){const r=e.x,n=e.y,i=e.z,o=t.x,s=t.y,a=t.z;return this.x=n*a-i*s,this.y=i*o-r*a,this.z=r*s-n*o,this}projectOnVector(e){const t=e.lengthSq();if(0===t)return this.set(0,0,0);const r=e.dot(this)/t;return this.copy(e).multiplyScalar(r)}projectOnPlane(e){return yr.copy(this).projectOnVector(e),this.sub(yr)}reflect(e){return this.sub(yr.copy(e).multiplyScalar(2*this.dot(e)))}angleTo(e){const t=Math.sqrt(this.lengthSq()*e.lengthSq());if(0===t)return Math.PI/2;const r=this.dot(e)/t;return Math.acos(dr(r,-1,1))}distanceTo(e){return Math.sqrt(this.distanceToSquared(e))}distanceToSquared(e){const t=this.x-e.x,r=this.y-e.y,n=this.z-e.z;return t*t+r*r+n*n}manhattanDistanceTo(e){return Math.abs(this.x-e.x)+Math.abs(this.y-e.y)+Math.abs(this.z-e.z)}setFromSpherical(e){return this.setFromSphericalCoords(e.radius,e.phi,e.theta)}setFromSphericalCoords(e,t,r){const n=Math.sin(t)*e;return this.x=n*Math.sin(r),this.y=Math.cos(t)*e,this.z=n*Math.cos(r),this}setFromCylindrical(e){return this.setFromCylindricalCoords(e.radius,e.theta,e.y)}setFromCylindricalCoords(e,t,r){return this.x=e*Math.sin(t),this.y=r,this.z=e*Math.cos(t),this}setFromMatrixPosition(e){const t=e.elements;return this.x=t[12],this.y=t[13],this.z=t[14],this}setFromMatrixScale(e){const t=this.setFromMatrixColumn(e,0).length(),r=this.setFromMatrixColumn(e,1).length(),n=this.setFromMatrixColumn(e,2).length();return this.x=t,this.y=r,this.z=n,this}setFromMatrixColumn(e,t){return this.fromArray(e.elements,4*t)}setFromMatrix3Column(e,t){return this.fromArray(e.elements,3*t)}setFromEuler(e){return this.x=e._x,this.y=e._y,this.z=e._z,this}setFromColor(e){return this.x=e.r,this.y=e.g,this.z=e.b,this}equals(e){return e.x===this.x&&e.y===this.y&&e.z===this.z}fromArray(e,t=0){return this.x=e[t],this.y=e[t+1],this.z=e[t+2],this}toArray(e=[],t=0){return e[t]=this.x,e[t+1]=this.y,e[t+2]=this.z,e}fromBufferAttribute(e,t){return this.x=e.getX(t),this.y=e.getY(t),this.z=e.getZ(t),this}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this}randomDirection(){const e=Math.random()*Math.PI*2,t=2*Math.random()-1,r=Math.sqrt(1-t*t);return this.x=r*Math.cos(e),this.y=t,this.z=r*Math.sin(e),this}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z}}const yr=new br,$r=new vr;class xr{constructor(e,t,r,n,i,o,s,a,l){xr.prototype.isMatrix3=!0,this.elements=[1,0,0,0,1,0,0,0,1],void 0!==e&&this.set(e,t,r,n,i,o,s,a,l)}set(e,t,r,n,i,o,s,a,l){const c=this.elements;return c[0]=e,c[1]=n,c[2]=s,c[3]=t,c[4]=i,c[5]=a,c[6]=r,c[7]=o,c[8]=l,this}identity(){return this.set(1,0,0,0,1,0,0,0,1),this}copy(e){const t=this.elements,r=e.elements;return t[0]=r[0],t[1]=r[1],t[2]=r[2],t[3]=r[3],t[4]=r[4],t[5]=r[5],t[6]=r[6],t[7]=r[7],t[8]=r[8],this}extractBasis(e,t,r){return e.setFromMatrix3Column(this,0),t.setFromMatrix3Column(this,1),r.setFromMatrix3Column(this,2),this}setFromMatrix4(e){const t=e.elements;return this.set(t[0],t[4],t[8],t[1],t[5],t[9],t[2],t[6],t[10]),this}multiply(e){return this.multiplyMatrices(this,e)}premultiply(e){return this.multiplyMatrices(e,this)}multiplyMatrices(e,t){const r=e.elements,n=t.elements,i=this.elements,o=r[0],s=r[3],a=r[6],l=r[1],c=r[4],u=r[7],d=r[2],h=r[5],p=r[8],m=n[0],_=n[3],g=n[6],f=n[1],v=n[4],b=n[7],y=n[2],$=n[5],x=n[8];return i[0]=o*m+s*f+a*y,i[3]=o*_+s*v+a*$,i[6]=o*g+s*b+a*x,i[1]=l*m+c*f+u*y,i[4]=l*_+c*v+u*$,i[7]=l*g+c*b+u*x,i[2]=d*m+h*f+p*y,i[5]=d*_+h*v+p*$,i[8]=d*g+h*b+p*x,this}multiplyScalar(e){const t=this.elements;return t[0]*=e,t[3]*=e,t[6]*=e,t[1]*=e,t[4]*=e,t[7]*=e,t[2]*=e,t[5]*=e,t[8]*=e,this}determinant(){const e=this.elements,t=e[0],r=e[1],n=e[2],i=e[3],o=e[4],s=e[5],a=e[6],l=e[7],c=e[8];return t*o*c-t*s*l-r*i*c+r*s*a+n*i*l-n*o*a}invert(){const e=this.elements,t=e[0],r=e[1],n=e[2],i=e[3],o=e[4],s=e[5],a=e[6],l=e[7],c=e[8],u=c*o-s*l,d=s*a-c*i,h=l*i-o*a,p=t*u+r*d+n*h;if(0===p)return this.set(0,0,0,0,0,0,0,0,0);const m=1/p;return e[0]=u*m,e[1]=(n*l-c*r)*m,e[2]=(s*r-n*o)*m,e[3]=d*m,e[4]=(c*t-n*a)*m,e[5]=(n*i-s*t)*m,e[6]=h*m,e[7]=(r*a-l*t)*m,e[8]=(o*t-r*i)*m,this}transpose(){let e;const t=this.elements;return e=t[1],t[1]=t[3],t[3]=e,e=t[2],t[2]=t[6],t[6]=e,e=t[5],t[5]=t[7],t[7]=e,this}getNormalMatrix(e){return this.setFromMatrix4(e).invert().transpose()}transposeIntoArray(e){const t=this.elements;return e[0]=t[0],e[1]=t[3],e[2]=t[6],e[3]=t[1],e[4]=t[4],e[5]=t[7],e[6]=t[2],e[7]=t[5],e[8]=t[8],this}setUvTransform(e,t,r,n,i,o,s){const a=Math.cos(i),l=Math.sin(i);return this.set(r*a,r*l,-r*(a*o+l*s)+o+e,-n*l,n*a,-n*(-l*o+a*s)+s+t,0,0,1),this}scale(e,t){return this.premultiply(Sr.makeScale(e,t)),this}rotate(e){return this.premultiply(Sr.makeRotation(-e)),this}translate(e,t){return this.premultiply(Sr.makeTranslation(e,t)),this}makeTranslation(e,t){return e.isVector2?this.set(1,0,e.x,0,1,e.y,0,0,1):this.set(1,0,e,0,1,t,0,0,1),this}makeRotation(e){const t=Math.cos(e),r=Math.sin(e);return this.set(t,-r,0,r,t,0,0,0,1),this}makeScale(e,t){return this.set(e,0,0,0,t,0,0,0,1),this}equals(e){const t=this.elements,r=e.elements;for(let e=0;e<9;e++)if(t[e]!==r[e])return!1;return!0}fromArray(e,t=0){for(let r=0;r<9;r++)this.elements[r]=e[r+t];return this}toArray(e=[],t=0){const r=this.elements;return e[t]=r[0],e[t+1]=r[1],e[t+2]=r[2],e[t+3]=r[3],e[t+4]=r[4],e[t+5]=r[5],e[t+6]=r[6],e[t+7]=r[7],e[t+8]=r[8],e}clone(){return(new this.constructor).fromArray(this.elements)}}const Sr=new xr;function wr(e){for(let t=e.length-1;t>=0;--t)if(e[t]>=65535)return!0;return!1}Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array;function Ar(e){return document.createElementNS("http://www.w3.org/1999/xhtml",e)}function Cr(){const e=Ar("canvas");return e.style.display="block",e}const Er={};function Ir(e){e in Er||(Er[e]=!0,console.warn(e))}const Mr=(new xr).set(.4123908,.3575843,.1804808,.212639,.7151687,.0721923,.0193308,.1191948,.9505322),kr=(new xr).set(3.2409699,-1.5373832,-.4986108,-.9692436,1.8759675,.0415551,.0556301,-.203977,1.0569715);function Tr(){const e={enabled:!0,workingColorSpace:Ht,spaces:{},convert:function(e,t,r){return!1!==this.enabled&&t!==r&&t&&r?(this.spaces[t].transfer===jt&&(e.r=Lr(e.r),e.g=Lr(e.g),e.b=Lr(e.b)),this.spaces[t].primaries!==this.spaces[r].primaries&&(e.applyMatrix3(this.spaces[t].toXYZ),e.applyMatrix3(this.spaces[r].fromXYZ)),this.spaces[r].transfer===jt&&(e.r=Pr(e.r),e.g=Pr(e.g),e.b=Pr(e.b)),e):e},workingToColorSpace:function(e,t){return this.convert(e,this.workingColorSpace,t)},colorSpaceToWorking:function(e,t){return this.convert(e,t,this.workingColorSpace)},getPrimaries:function(e){return this.spaces[e].primaries},getTransfer:function(e){return e===Vt?Gt:this.spaces[e].transfer},getToneMappingMode:function(e){return this.spaces[e].outputColorSpaceConfig.toneMappingMode||"standard"},getLuminanceCoefficients:function(e,t=this.workingColorSpace){return e.fromArray(this.spaces[t].luminanceCoefficients)},define:function(e){Object.assign(this.spaces,e)},_getMatrix:function(e,t,r){return e.copy(this.spaces[t].toXYZ).multiply(this.spaces[r].fromXYZ)},_getDrawingBufferColorSpace:function(e){return this.spaces[e].outputColorSpaceConfig.drawingBufferColorSpace},_getUnpackColorSpace:function(e=this.workingColorSpace){return this.spaces[e].workingColorSpaceConfig.unpackColorSpace},fromWorkingColorSpace:function(t,r){return Ir("THREE.ColorManagement: .fromWorkingColorSpace() has been renamed to .workingToColorSpace()."),e.workingToColorSpace(t,r)},toWorkingColorSpace:function(t,r){return Ir("THREE.ColorManagement: .toWorkingColorSpace() has been renamed to .colorSpaceToWorking()."),e.colorSpaceToWorking(t,r)}},t=[.64,.33,.3,.6,.15,.06],r=[.2126,.7152,.0722],n=[.3127,.329];return e.define({[Ht]:{primaries:t,whitePoint:n,transfer:Gt,toXYZ:Mr,fromXYZ:kr,luminanceCoefficients:r,workingColorSpaceConfig:{unpackColorSpace:zt},outputColorSpaceConfig:{drawingBufferColorSpace:zt}},[zt]:{primaries:t,whitePoint:n,transfer:jt,toXYZ:Mr,fromXYZ:kr,luminanceCoefficients:r,outputColorSpaceConfig:{drawingBufferColorSpace:zt}}}),e}const Rr=Tr();function Lr(e){return e<.04045?.0773993808*e:Math.pow(.9478672986*e+.0521327014,2.4)}function Pr(e){return e<.0031308?12.92*e:1.055*Math.pow(e,.41666)-.055}let Dr;class Nr{static getDataURL(e,t="image/png"){if(/^data:/i.test(e.src))return e.src;if("undefined"==typeof HTMLCanvasElement)return e.src;let r;if(e instanceof HTMLCanvasElement)r=e;else{void 0===Dr&&(Dr=Ar("canvas")),Dr.width=e.width,Dr.height=e.height;const t=Dr.getContext("2d");e instanceof ImageData?t.putImageData(e,0,0):t.drawImage(e,0,0,e.width,e.height),r=Dr}return r.toDataURL(t)}static sRGBToLinear(e){if("undefined"!=typeof HTMLImageElement&&e instanceof HTMLImageElement||"undefined"!=typeof HTMLCanvasElement&&e instanceof HTMLCanvasElement||"undefined"!=typeof ImageBitmap&&e instanceof ImageBitmap){const t=Ar("canvas");t.width=e.width,t.height=e.height;const r=t.getContext("2d");r.drawImage(e,0,0,e.width,e.height);const n=r.getImageData(0,0,e.width,e.height),i=n.data;for(let e=0;e<i.length;e++)i[e]=255*Lr(i[e]/255);return r.putImageData(n,0,0),t}if(e.data){const t=e.data.slice(0);for(let e=0;e<t.length;e++)t instanceof Uint8Array||t instanceof Uint8ClampedArray?t[e]=Math.floor(255*Lr(t[e]/255)):t[e]=Lr(t[e]);return{data:t,width:e.width,height:e.height}}return console.warn("THREE.ImageUtils.sRGBToLinear(): Unsupported image type. No color space conversion applied."),e}}let Fr=0;class Or{constructor(e=null){this.isSource=!0,Object.defineProperty(this,"id",{value:Fr++}),this.uuid=ur(),this.data=e,this.dataReady=!0,this.version=0}getSize(e){const t=this.data;return"undefined"!=typeof HTMLVideoElement&&t instanceof HTMLVideoElement?e.set(t.videoWidth,t.videoHeight,0):t instanceof VideoFrame?e.set(t.displayHeight,t.displayWidth,0):null!==t?e.set(t.width,t.height,t.depth||0):e.set(0,0,0),e}set needsUpdate(e){!0===e&&this.version++}toJSON(e){const t=void 0===e||"string"==typeof e;if(!t&&void 0!==e.images[this.uuid])return e.images[this.uuid];const r={uuid:this.uuid,url:""},n=this.data;if(null!==n){let e;if(Array.isArray(n)){e=[];for(let t=0,r=n.length;t<r;t++)n[t].isDataTexture?e.push(Br(n[t].image)):e.push(Br(n[t]))}else e=Br(n);r.url=e}return t||(e.images[this.uuid]=r),r}}function Br(e){return"undefined"!=typeof HTMLImageElement&&e instanceof HTMLImageElement||"undefined"!=typeof HTMLCanvasElement&&e instanceof HTMLCanvasElement||"undefined"!=typeof ImageBitmap&&e instanceof ImageBitmap?Nr.getDataURL(e):e.data?{data:Array.from(e.data),width:e.width,height:e.height,type:e.data.constructor.name}:(console.warn("THREE.Texture: Unable to serialize Texture."),{})}let Ur=0;const Vr=new br;class zr extends or{constructor(e=zr.DEFAULT_IMAGE,t=zr.DEFAULT_MAPPING,r=1001,n=1001,i=1006,o=1008,s=1023,a=1009,l=zr.DEFAULT_ANISOTROPY,c=""){super(),this.isTexture=!0,Object.defineProperty(this,"id",{value:Ur++}),this.uuid=ur(),this.name="",this.source=new Or(e),this.mipmaps=[],this.mapping=t,this.channel=0,this.wrapS=r,this.wrapT=n,this.magFilter=i,this.minFilter=o,this.anisotropy=l,this.format=s,this.internalFormat=null,this.type=a,this.offset=new fr(0,0),this.repeat=new fr(1,1),this.center=new fr(0,0),this.rotation=0,this.matrixAutoUpdate=!0,this.matrix=new xr,this.generateMipmaps=!0,this.premultiplyAlpha=!1,this.flipY=!0,this.unpackAlignment=4,this.colorSpace=c,this.userData={},this.updateRanges=[],this.version=0,this.onUpdate=null,this.renderTarget=null,this.isRenderTargetTexture=!1,this.isArrayTexture=!!(e&&e.depth&&e.depth>1),this.pmremVersion=0}get width(){return this.source.getSize(Vr).x}get height(){return this.source.getSize(Vr).y}get depth(){return this.source.getSize(Vr).z}get image(){return this.source.data}set image(e=null){this.source.data=e}updateMatrix(){this.matrix.setUvTransform(this.offset.x,this.offset.y,this.repeat.x,this.repeat.y,this.rotation,this.center.x,this.center.y)}addUpdateRange(e,t){this.updateRanges.push({start:e,count:t})}clearUpdateRanges(){this.updateRanges.length=0}clone(){return(new this.constructor).copy(this)}copy(e){return this.name=e.name,this.source=e.source,this.mipmaps=e.mipmaps.slice(0),this.mapping=e.mapping,this.channel=e.channel,this.wrapS=e.wrapS,this.wrapT=e.wrapT,this.magFilter=e.magFilter,this.minFilter=e.minFilter,this.anisotropy=e.anisotropy,this.format=e.format,this.internalFormat=e.internalFormat,this.type=e.type,this.offset.copy(e.offset),this.repeat.copy(e.repeat),this.center.copy(e.center),this.rotation=e.rotation,this.matrixAutoUpdate=e.matrixAutoUpdate,this.matrix.copy(e.matrix),this.generateMipmaps=e.generateMipmaps,this.premultiplyAlpha=e.premultiplyAlpha,this.flipY=e.flipY,this.unpackAlignment=e.unpackAlignment,this.colorSpace=e.colorSpace,this.renderTarget=e.renderTarget,this.isRenderTargetTexture=e.isRenderTargetTexture,this.isArrayTexture=e.isArrayTexture,this.userData=JSON.parse(JSON.stringify(e.userData)),this.needsUpdate=!0,this}setValues(e){for(const t in e){const r=e[t];if(void 0===r){console.warn(`THREE.Texture.setValues(): parameter '${t}' has value of undefined.`);continue}const n=this[t];void 0!==n?n&&r&&n.isVector2&&r.isVector2||n&&r&&n.isVector3&&r.isVector3||n&&r&&n.isMatrix3&&r.isMatrix3?n.copy(r):this[t]=r:console.warn(`THREE.Texture.setValues(): property '${t}' does not exist.`)}}toJSON(e){const t=void 0===e||"string"==typeof e;if(!t&&void 0!==e.textures[this.uuid])return e.textures[this.uuid];const r={metadata:{version:4.7,type:"Texture",generator:"Texture.toJSON"},uuid:this.uuid,name:this.name,image:this.source.toJSON(e).uuid,mapping:this.mapping,channel:this.channel,repeat:[this.repeat.x,this.repeat.y],offset:[this.offset.x,this.offset.y],center:[this.center.x,this.center.y],rotation:this.rotation,wrap:[this.wrapS,this.wrapT],format:this.format,internalFormat:this.internalFormat,type:this.type,colorSpace:this.colorSpace,minFilter:this.minFilter,magFilter:this.magFilter,anisotropy:this.anisotropy,flipY:this.flipY,generateMipmaps:this.generateMipmaps,premultiplyAlpha:this.premultiplyAlpha,unpackAlignment:this.unpackAlignment};return Object.keys(this.userData).length>0&&(r.userData=this.userData),t||(e.textures[this.uuid]=r),r}dispose(){this.dispatchEvent({type:"dispose"})}transformUv(e){if(this.mapping!==me)return e;if(e.applyMatrix3(this.matrix),e.x<0||e.x>1)switch(this.wrapS){case ye:e.x=e.x-Math.floor(e.x);break;case $e:e.x=e.x<0?0:1;break;case xe:1===Math.abs(Math.floor(e.x)%2)?e.x=Math.ceil(e.x)-e.x:e.x=e.x-Math.floor(e.x)}if(e.y<0||e.y>1)switch(this.wrapT){case ye:e.y=e.y-Math.floor(e.y);break;case $e:e.y=e.y<0?0:1;break;case xe:1===Math.abs(Math.floor(e.y)%2)?e.y=Math.ceil(e.y)-e.y:e.y=e.y-Math.floor(e.y)}return this.flipY&&(e.y=1-e.y),e}set needsUpdate(e){!0===e&&(this.version++,this.source.needsUpdate=!0)}set needsPMREMUpdate(e){!0===e&&this.pmremVersion++}}zr.DEFAULT_IMAGE=null,zr.DEFAULT_MAPPING=me,zr.DEFAULT_ANISOTROPY=1;class Hr{constructor(e=0,t=0,r=0,n=1){Hr.prototype.isVector4=!0,this.x=e,this.y=t,this.z=r,this.w=n}get width(){return this.z}set width(e){this.z=e}get height(){return this.w}set height(e){this.w=e}set(e,t,r,n){return this.x=e,this.y=t,this.z=r,this.w=n,this}setScalar(e){return this.x=e,this.y=e,this.z=e,this.w=e,this}setX(e){return this.x=e,this}setY(e){return this.y=e,this}setZ(e){return this.z=e,this}setW(e){return this.w=e,this}setComponent(e,t){switch(e){case 0:this.x=t;break;case 1:this.y=t;break;case 2:this.z=t;break;case 3:this.w=t;break;default:throw new Error("index is out of range: "+e)}return this}getComponent(e){switch(e){case 0:return this.x;case 1:return this.y;case 2:return this.z;case 3:return this.w;default:throw new Error("index is out of range: "+e)}}clone(){return new this.constructor(this.x,this.y,this.z,this.w)}copy(e){return this.x=e.x,this.y=e.y,this.z=e.z,this.w=void 0!==e.w?e.w:1,this}add(e){return this.x+=e.x,this.y+=e.y,this.z+=e.z,this.w+=e.w,this}addScalar(e){return this.x+=e,this.y+=e,this.z+=e,this.w+=e,this}addVectors(e,t){return this.x=e.x+t.x,this.y=e.y+t.y,this.z=e.z+t.z,this.w=e.w+t.w,this}addScaledVector(e,t){return this.x+=e.x*t,this.y+=e.y*t,this.z+=e.z*t,this.w+=e.w*t,this}sub(e){return this.x-=e.x,this.y-=e.y,this.z-=e.z,this.w-=e.w,this}subScalar(e){return this.x-=e,this.y-=e,this.z-=e,this.w-=e,this}subVectors(e,t){return this.x=e.x-t.x,this.y=e.y-t.y,this.z=e.z-t.z,this.w=e.w-t.w,this}multiply(e){return this.x*=e.x,this.y*=e.y,this.z*=e.z,this.w*=e.w,this}multiplyScalar(e){return this.x*=e,this.y*=e,this.z*=e,this.w*=e,this}applyMatrix4(e){const t=this.x,r=this.y,n=this.z,i=this.w,o=e.elements;return this.x=o[0]*t+o[4]*r+o[8]*n+o[12]*i,this.y=o[1]*t+o[5]*r+o[9]*n+o[13]*i,this.z=o[2]*t+o[6]*r+o[10]*n+o[14]*i,this.w=o[3]*t+o[7]*r+o[11]*n+o[15]*i,this}divide(e){return this.x/=e.x,this.y/=e.y,this.z/=e.z,this.w/=e.w,this}divideScalar(e){return this.multiplyScalar(1/e)}setAxisAngleFromQuaternion(e){this.w=2*Math.acos(e.w);const t=Math.sqrt(1-e.w*e.w);return t<1e-4?(this.x=1,this.y=0,this.z=0):(this.x=e.x/t,this.y=e.y/t,this.z=e.z/t),this}setAxisAngleFromRotationMatrix(e){let t,r,n,i;const o=.01,s=.1,a=e.elements,l=a[0],c=a[4],u=a[8],d=a[1],h=a[5],p=a[9],m=a[2],_=a[6],g=a[10];if(Math.abs(c-d)<o&&Math.abs(u-m)<o&&Math.abs(p-_)<o){if(Math.abs(c+d)<s&&Math.abs(u+m)<s&&Math.abs(p+_)<s&&Math.abs(l+h+g-3)<s)return this.set(1,0,0,0),this;t=Math.PI;const e=(l+1)/2,a=(h+1)/2,f=(g+1)/2,v=(c+d)/4,b=(u+m)/4,y=(p+_)/4;return e>a&&e>f?e<o?(r=0,n=.707106781,i=.707106781):(r=Math.sqrt(e),n=v/r,i=b/r):a>f?a<o?(r=.707106781,n=0,i=.707106781):(n=Math.sqrt(a),r=v/n,i=y/n):f<o?(r=.707106781,n=.707106781,i=0):(i=Math.sqrt(f),r=b/i,n=y/i),this.set(r,n,i,t),this}let f=Math.sqrt((_-p)*(_-p)+(u-m)*(u-m)+(d-c)*(d-c));return Math.abs(f)<.001&&(f=1),this.x=(_-p)/f,this.y=(u-m)/f,this.z=(d-c)/f,this.w=Math.acos((l+h+g-1)/2),this}setFromMatrixPosition(e){const t=e.elements;return this.x=t[12],this.y=t[13],this.z=t[14],this.w=t[15],this}min(e){return this.x=Math.min(this.x,e.x),this.y=Math.min(this.y,e.y),this.z=Math.min(this.z,e.z),this.w=Math.min(this.w,e.w),this}max(e){return this.x=Math.max(this.x,e.x),this.y=Math.max(this.y,e.y),this.z=Math.max(this.z,e.z),this.w=Math.max(this.w,e.w),this}clamp(e,t){return this.x=dr(this.x,e.x,t.x),this.y=dr(this.y,e.y,t.y),this.z=dr(this.z,e.z,t.z),this.w=dr(this.w,e.w,t.w),this}clampScalar(e,t){return this.x=dr(this.x,e,t),this.y=dr(this.y,e,t),this.z=dr(this.z,e,t),this.w=dr(this.w,e,t),this}clampLength(e,t){const r=this.length();return this.divideScalar(r||1).multiplyScalar(dr(r,e,t))}floor(){return this.x=Math.floor(this.x),this.y=Math.floor(this.y),this.z=Math.floor(this.z),this.w=Math.floor(this.w),this}ceil(){return this.x=Math.ceil(this.x),this.y=Math.ceil(this.y),this.z=Math.ceil(this.z),this.w=Math.ceil(this.w),this}round(){return this.x=Math.round(this.x),this.y=Math.round(this.y),this.z=Math.round(this.z),this.w=Math.round(this.w),this}roundToZero(){return this.x=Math.trunc(this.x),this.y=Math.trunc(this.y),this.z=Math.trunc(this.z),this.w=Math.trunc(this.w),this}negate(){return this.x=-this.x,this.y=-this.y,this.z=-this.z,this.w=-this.w,this}dot(e){return this.x*e.x+this.y*e.y+this.z*e.z+this.w*e.w}lengthSq(){return this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w}length(){return Math.sqrt(this.x*this.x+this.y*this.y+this.z*this.z+this.w*this.w)}manhattanLength(){return Math.abs(this.x)+Math.abs(this.y)+Math.abs(this.z)+Math.abs(this.w)}normalize(){return this.divideScalar(this.length()||1)}setLength(e){return this.normalize().multiplyScalar(e)}lerp(e,t){return this.x+=(e.x-this.x)*t,this.y+=(e.y-this.y)*t,this.z+=(e.z-this.z)*t,this.w+=(e.w-this.w)*t,this}lerpVectors(e,t,r){return this.x=e.x+(t.x-e.x)*r,this.y=e.y+(t.y-e.y)*r,this.z=e.z+(t.z-e.z)*r,this.w=e.w+(t.w-e.w)*r,this}equals(e){return e.x===this.x&&e.y===this.y&&e.z===this.z&&e.w===this.w}fromArray(e,t=0){return this.x=e[t],this.y=e[t+1],this.z=e[t+2],this.w=e[t+3],this}toArray(e=[],t=0){return e[t]=this.x,e[t+1]=this.y,e[t+2]=this.z,e[t+3]=this.w,e}fromBufferAttribute(e,t){return this.x=e.getX(t),this.y=e.getY(t),this.z=e.getZ(t),this.w=e.getW(t),this}random(){return this.x=Math.random(),this.y=Math.random(),this.z=Math.random(),this.w=Math.random(),this}*[Symbol.iterator](){yield this.x,yield this.y,yield this.z,yield this.w}}class Gr extends or{constructor(e=1,t=1,r={}){super(),r=Object.assign({generateMipmaps:!1,internalFormat:null,minFilter:Ce,depthBuffer:!0,stencilBuffer:!1,resolveDepthBuffer:!0,resolveStencilBuffer:!0,depthTexture:null,samples:0,count:1,depth:1,multiview:!1},r),this.isRenderTarget=!0,this.width=e,this.height=t,this.depth=r.depth,this.scissor=new Hr(0,0,e,t),this.scissorTest=!1,this.viewport=new Hr(0,0,e,t);const n={width:e,height:t,depth:r.depth},i=new zr(n);this.textures=[];const o=r.count;for(let e=0;e<o;e++)this.textures[e]=i.clone(),this.textures[e].isRenderTargetTexture=!0,this.textures[e].renderTarget=this;this._setTextureOptions(r),this.depthBuffer=r.depthBuffer,this.stencilBuffer=r.stencilBuffer,this.resolveDepthBuffer=r.resolveDepthBuffer,this.resolveStencilBuffer=r.resolveStencilBuffer,this._depthTexture=null,this.depthTexture=r.depthTexture,this.samples=r.samples,this.multiview=r.multiview}_setTextureOptions(e={}){const t={minFilter:Ce,generateMipmaps:!1,flipY:!1,internalFormat:null};void 0!==e.mapping&&(t.mapping=e.mapping),void 0!==e.wrapS&&(t.wrapS=e.wrapS),void 0!==e.wrapT&&(t.wrapT=e.wrapT),void 0!==e.wrapR&&(t.wrapR=e.wrapR),void 0!==e.magFilter&&(t.magFilter=e.magFilter),void 0!==e.minFilter&&(t.minFilter=e.minFilter),void 0!==e.format&&(t.format=e.format),void 0!==e.type&&(t.type=e.type),void 0!==e.anisotropy&&(t.anisotropy=e.anisotropy),void 0!==e.colorSpace&&(t.colorSpace=e.colorSpace),void 0!==e.flipY&&(t.flipY=e.flipY),void 0!==e.generateMipmaps&&(t.generateMipmaps=e.generateMipmaps),void 0!==e.internalFormat&&(t.internalFormat=e.internalFormat);for(let e=0;e<this.textures.length;e++){this.textures[e].setValues(t)}}get texture(){return this.textures[0]}set texture(e){this.textures[0]=e}set depthTexture(e){null!==this._depthTexture&&(this._depthTexture.renderTarget=null),null!==e&&(e.renderTarget=this),this._depthTexture=e}get depthTexture(){return this._depthTexture}setSize(e,t,r=1){if(this.width!==e||this.height!==t||this.depth!==r){this.width=e,this.height=t,this.depth=r;for(let n=0,i=this.textures.length;n<i;n++)this.textures[n].image.width=e,this.textures[n].image.height=t,this.textures[n].image.depth=r,this.textures[n].isArrayTexture=this.textures[n].image.depth>1;this.dispose()}this.viewport.set(0,0,e,t),this.scissor.set(0,0,e,t)}clone(){return(new this.constructor).copy(this)}copy(e){this.width=e.width,this.height=e.height,this.depth=e.depth,this.scissor.copy(e.scissor),this.scissorTest=e.scissorTest,this.viewport.copy(e.viewport),this.textures.length=0;for(let t=0,r=e.textures.length;t<r;t++){this.textures[t]=e.textures[t].clone(),this.textures[t].isRenderTargetTexture=!0,this.textures[t].renderTarget=this;const r=Object.assign({},e.textures[t].image);this.textures[t].source=new Or(r)}return this.depthBuffer=e.depthBuffer,this.stencilBuffer=e.stencilBuffer,this.resolveDepthBuffer=e.resolveDepthBuffer,this.resolveStencilBuffer=e.resolveStencilBuffer,null!==e.depthTexture&&(this.depthTexture=e.depthTexture.clone()),this.samples=e.samples,this}dispose(){this.dispatchEvent({type:"dispose"})}}class jr extends Gr{constructor(e=1,t=1,r={}){super(e,t,r),this.isWebGLRenderTarget=!0}}class Jr extends zr{constructor(e=null,t=1,r=1,n=1){super(null),this.isDataArrayTexture=!0,this.image={data:e,width:t,height:r,depth:n},this.magFilter=Se,this.minFilter=Se,this.wrapR=$e,this.generateMipmaps=!1,this.flipY=!1,this.unpackAlignment=1,this.layerUpdates=new Set}addLayerUpdate(e){this.layerUpdates.add(e)}clearLayerUpdates(){this.layerUpdates.clear()}}class Wr extends zr{constructor(e=null,t=1,r=1,n=1){super(null),this.isData3DTexture=!0,this.image={data:e,width:t,height:r,depth:n},this.magFilter=Se,this.minFilter=Se,this.wrapR=$e,this.generateMipmaps=!1,this.flipY=!1,this.unpackAlignment=1}}class Qr{constructor(e=new br(1/0,1/0,1/0),t=new br(-1/0,-1/0,-1/0)){this.isBox3=!0,this.min=e,this.max=t}set(e,t){return this.min.copy(e),this.max.copy(t),this}setFromArray(e){this.makeEmpty();for(let t=0,r=e.length;t<r;t+=3)this.expandByPoint(Yr.fromArray(e,t));return this}setFromBufferAttribute(e){this.makeEmpty();for(let t=0,r=e.count;t<r;t++)this.expandByPoint(Yr.fromBufferAttribute(e,t));return this}setFromPoints(e){this.makeEmpty();for(let t=0,r=e.length;t<r;t++)this.expandByPoint(e[t]);return this}setFromCenterAndSize(e,t){const r=Yr.copy(t).multiplyScalar(.5);return this.min.copy(e).sub(r),this.max.copy(e).add(r),this}setFromObject(e,t=!1){return this.makeEmpty(),this.expandByObject(e,t)}clone(){return(new this.constructor).copy(this)}copy(e){return this.min.copy(e.min),this.max.copy(e.max),this}makeEmpty(){return this.min.x=this.min.y=this.min.z=1/0,this.max.x=this.max.y=this.max.z=-1/0,this}isEmpty(){return this.max.x<this.min.x||this.max.y<this.min.y||this.max.z<this.min.z}getCenter(e){return this.isEmpty()?e.set(0,0,0):e.addVectors(this.min,this.max).multiplyScalar(.5)}getSize(e){return this.isEmpty()?e.set(0,0,0):e.subVectors(this.max,this.min)}expandByPoint(e){return this.min.min(e),this.max.max(e),this}expandByVector(e){return this.min.sub(e),this.max.add(e),this}expandByScalar(e){return this.min.addScalar(-e),this.max.addScalar(e),this}expandByObject(e,t=!1){e.updateWorldMatrix(!1,!1);const r=e.geometry;if(void 0!==r){const n=r.getAttribute("position");if(!0===t&&void 0!==n&&!0!==e.isInstancedMesh)for(let t=0,r=n.count;t<r;t++)!0===e.isMesh?e.getVertexPosition(t,Yr):Yr.fromBufferAttribute(n,t),Yr.applyMatrix4(e.matrixWorld),this.expandByPoint(Yr);else void 0!==e.boundingBox?(null===e.boundingBox&&e.computeBoundingBox(),Xr.copy(e.boundingBox)):(null===r.boundingBox&&r.computeBoundingBox(),Xr.copy(r.boundingBox)),Xr.applyMatrix4(e.matrixWorld),this.union(Xr)}const n=e.children;for(let e=0,r=n.length;e<r;e++)this.expandByObject(n[e],t);return this}containsPoint(e){return e.x>=this.min.x&&e.x<=this.max.x&&e.y>=this.min.y&&e.y<=this.max.y&&e.z>=this.min.z&&e.z<=this.max.z}containsBox(e){return this.min.x<=e.min.x&&e.max.x<=this.max.x&&this.min.y<=e.min.y&&e.max.y<=this.max.y&&this.min.z<=e.min.z&&e.max.z<=this.max.z}getParameter(e,t){return t.set((e.x-this.min.x)/(this.max.x-this.min.x),(e.y-this.min.y)/(this.max.y-this.min.y),(e.z-this.min.z)/(this.max.z-this.min.z))}intersectsBox(e){return e.max.x>=this.min.x&&e.min.x<=this.max.x&&e.max.y>=this.min.y&&e.min.y<=this.max.y&&e.max.z>=this.min.z&&e.min.z<=this.max.z}intersectsSphere(e){return this.clampPoint(e.center,Yr),Yr.distanceToSquared(e.center)<=e.radius*e.radius}intersectsPlane(e){let t,r;return e.normal.x>0?(t=e.normal.x*this.min.x,r=e.normal.x*this.max.x):(t=e.normal.x*this.max.x,r=e.normal.x*this.min.x),e.normal.y>0?(t+=e.normal.y*this.min.y,r+=e.normal.y*this.max.y):(t+=e.normal.y*this.max.y,r+=e.normal.y*this.min.y),e.normal.z>0?(t+=e.normal.z*this.min.z,r+=e.normal.z*this.max.z):(t+=e.normal.z*this.max.z,r+=e.normal.z*this.min.z),t<=-e.constant&&r>=-e.constant}intersectsTriangle(e){if(this.isEmpty())return!1;this.getCenter(on),sn.subVectors(this.max,on),Kr.subVectors(e.a,on),Zr.subVectors(e.b,on),en.subVectors(e.c,on),tn.subVectors(Zr,Kr),rn.subVectors(en,Zr),nn.subVectors(Kr,en);let t=[0,-tn.z,tn.y,0,-rn.z,rn.y,0,-nn.z,nn.y,tn.z,0,-tn.x,rn.z,0,-rn.x,nn.z,0,-nn.x,-tn.y,tn.x,0,-rn.y,rn.x,0,-nn.y,nn.x,0];return!!cn(t,Kr,Zr,en,sn)&&(t=[1,0,0,0,1,0,0,0,1],!!cn(t,Kr,Zr,en,sn)&&(an.crossVectors(tn,rn),t=[an.x,an.y,an.z],cn(t,Kr,Zr,en,sn)))}clampPoint(e,t){return t.copy(e).clamp(this.min,this.max)}distanceToPoint(e){return this.clampPoint(e,Yr).distanceTo(e)}getBoundingSphere(e){return this.isEmpty()?e.makeEmpty():(this.getCenter(e.center),e.radius=.5*this.getSize(Yr).length()),e}intersect(e){return this.min.max(e.min),this.max.min(e.max),this.isEmpty()&&this.makeEmpty(),this}union(e){return this.min.min(e.min),this.max.max(e.max),this}applyMatrix4(e){return this.isEmpty()||(qr[0].set(this.min.x,this.min.y,this.min.z).applyMatrix4(e),qr[1].set(this.min.x,this.min.y,this.max.z).applyMatrix4(e),qr[2].set(this.min.x,this.max.y,this.min.z).applyMatrix4(e),qr[3].set(this.min.x,this.max.y,this.max.z).applyMatrix4(e),qr[4].set(this.max.x,this.min.y,this.min.z).applyMatrix4(e),qr[5].set(this.max.x,this.min.y,this.max.z).applyMatrix4(e),qr[6].set(this.max.x,this.max.y,this.min.z).applyMatrix4(e),qr[7].set(this.max.x,this.max.y,this.max.z).applyMatrix4(e),this.setFromPoints(qr)),this}translate(e){return this.min.add(e),this.max.add(e),this}equals(e){return e.min.equals(this.min)&&e.max.equals(this.max)}toJSON(){return{min:this.min.toArray(),max:this.max.toArray()}}fromJSON(e){return this.min.fromArray(e.min),this.max.fromArray(e.max),this}}const qr=[new br,new br,new br,new br,new br,new br,new br,new br],Yr=new br,Xr=new Qr,Kr=new br,Zr=new br,en=new br,tn=new br,rn=new br,nn=new br,on=new br,sn=new br,an=new br,ln=new br;function cn(e,t,r,n,i){for(let o=0,s=e.length-3;o<=s;o+=3){ln.fromArray(e,o);const s=i.x*Math.abs(ln.x)+i.y*Math.abs(ln.y)+i.z*Math.abs(ln.z),a=t.dot(ln),l=r.dot(ln),c=n.dot(ln);if(Math.max(-Math.max(a,l,c),Math.min(a,l,c))>s)return!1}return!0}const un=new Qr,dn=new br,hn=new br;class pn{constructor(e=new br,t=-1){this.isSphere=!0,this.center=e,this.radius=t}set(e,t){return this.center.copy(e),this.radius=t,this}setFromPoints(e,t){const r=this.center;void 0!==t?r.copy(t):un.setFromPoints(e).getCenter(r);let n=0;for(let t=0,i=e.length;t<i;t++)n=Math.max(n,r.distanceToSquared(e[t]));return this.radius=Math.sqrt(n),this}copy(e){return this.center.copy(e.center),this.radius=e.radius,this}isEmpty(){return this.radius<0}makeEmpty(){return this.center.set(0,0,0),this.radius=-1,this}containsPoint(e){return e.distanceToSquared(this.center)<=this.radius*this.radius}distanceToPoint(e){return e.distanceTo(this.center)-this.radius}intersectsSphere(e){const t=this.radius+e.radius;return e.center.distanceToSquared(this.center)<=t*t}intersectsBox(e){return e.intersectsSphere(this)}intersectsPlane(e){return Math.abs(e.distanceToPoint(this.center))<=this.radius}clampPoint(e,t){const r=this.center.distanceToSquared(e);return t.copy(e),r>this.radius*this.radius&&(t.sub(this.center).normalize(),t.multiplyScalar(this.radius).add(this.center)),t}getBoundingBox(e){return this.isEmpty()?(e.makeEmpty(),e):(e.set(this.center,this.center),e.expandByScalar(this.radius),e)}applyMatrix4(e){return this.center.applyMatrix4(e),this.radius=this.radius*e.getMaxScaleOnAxis(),this}translate(e){return this.center.add(e),this}expandByPoint(e){if(this.isEmpty())return this.center.copy(e),this.radius=0,this;dn.subVectors(e,this.center);const t=dn.lengthSq();if(t>this.radius*this.radius){const e=Math.sqrt(t),r=.5*(e-this.radius);this.center.addScaledVector(dn,r/e),this.radius+=r}return this}union(e){return e.isEmpty()?this:this.isEmpty()?(this.copy(e),this):(!0===this.center.equals(e.center)?this.radius=Math.max(this.radius,e.radius):(hn.subVectors(e.center,this.center).setLength(e.radius),this.expandByPoint(dn.copy(e.center).add(hn)),this.expandByPoint(dn.copy(e.center).sub(hn))),this)}equals(e){return e.center.equals(this.center)&&e.radius===this.radius}clone(){return(new this.constructor).copy(this)}toJSON(){return{radius:this.radius,center:this.center.toArray()}}fromJSON(e){return this.radius=e.radius,this.center.fromArray(e.center),this}}const mn=new br,_n=new br,gn=new br,fn=new br,vn=new br,bn=new br,yn=new br;class $n{constructor(e=new br,t=new br(0,0,-1)){this.origin=e,this.direction=t}set(e,t){return this.origin.copy(e),this.direction.copy(t),this}copy(e){return this.origin.copy(e.origin),this.direction.copy(e.direction),this}at(e,t){return t.copy(this.origin).addScaledVector(this.direction,e)}lookAt(e){return this.direction.copy(e).sub(this.origin).normalize(),this}recast(e){return this.origin.copy(this.at(e,mn)),this}closestPointToPoint(e,t){t.subVectors(e,this.origin);const r=t.dot(this.direction);return r<0?t.copy(this.origin):t.copy(this.origin).addScaledVector(this.direction,r)}distanceToPoint(e){return Math.sqrt(this.distanceSqToPoint(e))}distanceSqToPoint(e){const t=mn.subVectors(e,this.origin).dot(this.direction);return t<0?this.origin.distanceToSquared(e):(mn.copy(this.origin).addScaledVector(this.direction,t),mn.distanceToSquared(e))}distanceSqToSegment(e,t,r,n){_n.copy(e).add(t).multiplyScalar(.5),gn.copy(t).sub(e).normalize(),fn.copy(this.origin).sub(_n);const i=.5*e.distanceTo(t),o=-this.direction.dot(gn),s=fn.dot(this.direction),a=-fn.dot(gn),l=fn.lengthSq(),c=Math.abs(1-o*o);let u,d,h,p;if(c>0)if(u=o*a-s,d=o*s-a,p=i*c,u>=0)if(d>=-p)if(d<=p){const e=1/c;u*=e,d*=e,h=u*(u+o*d+2*s)+d*(o*u+d+2*a)+l}else d=i,u=Math.max(0,-(o*d+s)),h=-u*u+d*(d+2*a)+l;else d=-i,u=Math.max(0,-(o*d+s)),h=-u*u+d*(d+2*a)+l;else d<=-p?(u=Math.max(0,-(-o*i+s)),d=u>0?-i:Math.min(Math.max(-i,-a),i),h=-u*u+d*(d+2*a)+l):d<=p?(u=0,d=Math.min(Math.max(-i,-a),i),h=d*(d+2*a)+l):(u=Math.max(0,-(o*i+s)),d=u>0?i:Math.min(Math.max(-i,-a),i),h=-u*u+d*(d+2*a)+l);else d=o>0?-i:i,u=Math.max(0,-(o*d+s)),h=-u*u+d*(d+2*a)+l;return r&&r.copy(this.origin).addScaledVector(this.direction,u),n&&n.copy(_n).addScaledVector(gn,d),h}intersectSphere(e,t){mn.subVectors(e.center,this.origin);const r=mn.dot(this.direction),n=mn.dot(mn)-r*r,i=e.radius*e.radius;if(n>i)return null;const o=Math.sqrt(i-n),s=r-o,a=r+o;return a<0?null:s<0?this.at(a,t):this.at(s,t)}intersectsSphere(e){return!(e.radius<0)&&this.distanceSqToPoint(e.center)<=e.radius*e.radius}distanceToPlane(e){const t=e.normal.dot(this.direction);if(0===t)return 0===e.distanceToPoint(this.origin)?0:null;const r=-(this.origin.dot(e.normal)+e.constant)/t;return r>=0?r:null}intersectPlane(e,t){const r=this.distanceToPlane(e);return null===r?null:this.at(r,t)}intersectsPlane(e){const t=e.distanceToPoint(this.origin);if(0===t)return!0;return e.normal.dot(this.direction)*t<0}intersectBox(e,t){let r,n,i,o,s,a;const l=1/this.direction.x,c=1/this.direction.y,u=1/this.direction.z,d=this.origin;return l>=0?(r=(e.min.x-d.x)*l,n=(e.max.x-d.x)*l):(r=(e.max.x-d.x)*l,n=(e.min.x-d.x)*l),c>=0?(i=(e.min.y-d.y)*c,o=(e.max.y-d.y)*c):(i=(e.max.y-d.y)*c,o=(e.min.y-d.y)*c),r>o||i>n?null:((i>r||isNaN(r))&&(r=i),(o<n||isNaN(n))&&(n=o),u>=0?(s=(e.min.z-d.z)*u,a=(e.max.z-d.z)*u):(s=(e.max.z-d.z)*u,a=(e.min.z-d.z)*u),r>a||s>n?null:((s>r||r!=r)&&(r=s),(a<n||n!=n)&&(n=a),n<0?null:this.at(r>=0?r:n,t)))}intersectsBox(e){return null!==this.intersectBox(e,mn)}intersectTriangle(e,t,r,n,i){vn.subVectors(t,e),bn.subVectors(r,e),yn.crossVectors(vn,bn);let o,s=this.direction.dot(yn);if(s>0){if(n)return null;o=1}else{if(!(s<0))return null;o=-1,s=-s}fn.subVectors(this.origin,e);const a=o*this.direction.dot(bn.crossVectors(fn,bn));if(a<0)return null;const l=o*this.direction.dot(vn.cross(fn));if(l<0)return null;if(a+l>s)return null;const c=-o*fn.dot(yn);return c<0?null:this.at(c/s,i)}applyMatrix4(e){return this.origin.applyMatrix4(e),this.direction.transformDirection(e),this}equals(e){return e.origin.equals(this.origin)&&e.direction.equals(this.direction)}clone(){return(new this.constructor).copy(this)}}class xn{constructor(e,t,r,n,i,o,s,a,l,c,u,d,h,p,m,_){xn.prototype.isMatrix4=!0,this.elements=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1],void 0!==e&&this.set(e,t,r,n,i,o,s,a,l,c,u,d,h,p,m,_)}set(e,t,r,n,i,o,s,a,l,c,u,d,h,p,m,_){const g=this.elements;return g[0]=e,g[4]=t,g[8]=r,g[12]=n,g[1]=i,g[5]=o,g[9]=s,g[13]=a,g[2]=l,g[6]=c,g[10]=u,g[14]=d,g[3]=h,g[7]=p,g[11]=m,g[15]=_,this}identity(){return this.set(1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1),this}clone(){return(new xn).fromArray(this.elements)}copy(e){const t=this.elements,r=e.elements;return t[0]=r[0],t[1]=r[1],t[2]=r[2],t[3]=r[3],t[4]=r[4],t[5]=r[5],t[6]=r[6],t[7]=r[7],t[8]=r[8],t[9]=r[9],t[10]=r[10],t[11]=r[11],t[12]=r[12],t[13]=r[13],t[14]=r[14],t[15]=r[15],this}copyPosition(e){const t=this.elements,r=e.elements;return t[12]=r[12],t[13]=r[13],t[14]=r[14],this}setFromMatrix3(e){const t=e.elements;return this.set(t[0],t[3],t[6],0,t[1],t[4],t[7],0,t[2],t[5],t[8],0,0,0,0,1),this}extractBasis(e,t,r){return e.setFromMatrixColumn(this,0),t.setFromMatrixColumn(this,1),r.setFromMatrixColumn(this,2),this}makeBasis(e,t,r){return this.set(e.x,t.x,r.x,0,e.y,t.y,r.y,0,e.z,t.z,r.z,0,0,0,0,1),this}extractRotation(e){const t=this.elements,r=e.elements,n=1/Sn.setFromMatrixColumn(e,0).length(),i=1/Sn.setFromMatrixColumn(e,1).length(),o=1/Sn.setFromMatrixColumn(e,2).length();return t[0]=r[0]*n,t[1]=r[1]*n,t[2]=r[2]*n,t[3]=0,t[4]=r[4]*i,t[5]=r[5]*i,t[6]=r[6]*i,t[7]=0,t[8]=r[8]*o,t[9]=r[9]*o,t[10]=r[10]*o,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,this}makeRotationFromEuler(e){const t=this.elements,r=e.x,n=e.y,i=e.z,o=Math.cos(r),s=Math.sin(r),a=Math.cos(n),l=Math.sin(n),c=Math.cos(i),u=Math.sin(i);if("XYZ"===e.order){const e=o*c,r=o*u,n=s*c,i=s*u;t[0]=a*c,t[4]=-a*u,t[8]=l,t[1]=r+n*l,t[5]=e-i*l,t[9]=-s*a,t[2]=i-e*l,t[6]=n+r*l,t[10]=o*a}else if("YXZ"===e.order){const e=a*c,r=a*u,n=l*c,i=l*u;t[0]=e+i*s,t[4]=n*s-r,t[8]=o*l,t[1]=o*u,t[5]=o*c,t[9]=-s,t[2]=r*s-n,t[6]=i+e*s,t[10]=o*a}else if("ZXY"===e.order){const e=a*c,r=a*u,n=l*c,i=l*u;t[0]=e-i*s,t[4]=-o*u,t[8]=n+r*s,t[1]=r+n*s,t[5]=o*c,t[9]=i-e*s,t[2]=-o*l,t[6]=s,t[10]=o*a}else if("ZYX"===e.order){const e=o*c,r=o*u,n=s*c,i=s*u;t[0]=a*c,t[4]=n*l-r,t[8]=e*l+i,t[1]=a*u,t[5]=i*l+e,t[9]=r*l-n,t[2]=-l,t[6]=s*a,t[10]=o*a}else if("YZX"===e.order){const e=o*a,r=o*l,n=s*a,i=s*l;t[0]=a*c,t[4]=i-e*u,t[8]=n*u+r,t[1]=u,t[5]=o*c,t[9]=-s*c,t[2]=-l*c,t[6]=r*u+n,t[10]=e-i*u}else if("XZY"===e.order){const e=o*a,r=o*l,n=s*a,i=s*l;t[0]=a*c,t[4]=-u,t[8]=l*c,t[1]=e*u+i,t[5]=o*c,t[9]=r*u-n,t[2]=n*u-r,t[6]=s*c,t[10]=i*u+e}return t[3]=0,t[7]=0,t[11]=0,t[12]=0,t[13]=0,t[14]=0,t[15]=1,this}makeRotationFromQuaternion(e){return this.compose(An,e,Cn)}lookAt(e,t,r){const n=this.elements;return Mn.subVectors(e,t),0===Mn.lengthSq()&&(Mn.z=1),Mn.normalize(),En.crossVectors(r,Mn),0===En.lengthSq()&&(1===Math.abs(r.z)?Mn.x+=1e-4:Mn.z+=1e-4,Mn.normalize(),En.crossVectors(r,Mn)),En.normalize(),In.crossVectors(Mn,En),n[0]=En.x,n[4]=In.x,n[8]=Mn.x,n[1]=En.y,n[5]=In.y,n[9]=Mn.y,n[2]=En.z,n[6]=In.z,n[10]=Mn.z,this}multiply(e){return this.multiplyMatrices(this,e)}premultiply(e){return this.multiplyMatrices(e,this)}multiplyMatrices(e,t){const r=e.elements,n=t.elements,i=this.elements,o=r[0],s=r[4],a=r[8],l=r[12],c=r[1],u=r[5],d=r[9],h=r[13],p=r[2],m=r[6],_=r[10],g=r[14],f=r[3],v=r[7],b=r[11],y=r[15],$=n[0],x=n[4],S=n[8],w=n[12],A=n[1],C=n[5],E=n[9],I=n[13],M=n[2],k=n[6],T=n[10],R=n[14],L=n[3],P=n[7],D=n[11],N=n[15];return i[0]=o*$+s*A+a*M+l*L,i[4]=o*x+s*C+a*k+l*P,i[8]=o*S+s*E+a*T+l*D,i[12]=o*w+s*I+a*R+l*N,i[1]=c*$+u*A+d*M+h*L,i[5]=c*x+u*C+d*k+h*P,i[9]=c*S+u*E+d*T+h*D,i[13]=c*w+u*I+d*R+h*N,i[2]=p*$+m*A+_*M+g*L,i[6]=p*x+m*C+_*k+g*P,i[10]=p*S+m*E+_*T+g*D,i[14]=p*w+m*I+_*R+g*N,i[3]=f*$+v*A+b*M+y*L,i[7]=f*x+v*C+b*k+y*P,i[11]=f*S+v*E+b*T+y*D,i[15]=f*w+v*I+b*R+y*N,this}multiplyScalar(e){const t=this.elements;return t[0]*=e,t[4]*=e,t[8]*=e,t[12]*=e,t[1]*=e,t[5]*=e,t[9]*=e,t[13]*=e,t[2]*=e,t[6]*=e,t[10]*=e,t[14]*=e,t[3]*=e,t[7]*=e,t[11]*=e,t[15]*=e,this}determinant(){const e=this.elements,t=e[0],r=e[4],n=e[8],i=e[12],o=e[1],s=e[5],a=e[9],l=e[13],c=e[2],u=e[6],d=e[10],h=e[14];return e[3]*(+i*a*u-n*l*u-i*s*d+r*l*d+n*s*h-r*a*h)+e[7]*(+t*a*h-t*l*d+i*o*d-n*o*h+n*l*c-i*a*c)+e[11]*(+t*l*u-t*s*h-i*o*u+r*o*h+i*s*c-r*l*c)+e[15]*(-n*s*c-t*a*u+t*s*d+n*o*u-r*o*d+r*a*c)}transpose(){const e=this.elements;let t;return t=e[1],e[1]=e[4],e[4]=t,t=e[2],e[2]=e[8],e[8]=t,t=e[6],e[6]=e[9],e[9]=t,t=e[3],e[3]=e[12],e[12]=t,t=e[7],e[7]=e[13],e[13]=t,t=e[11],e[11]=e[14],e[14]=t,this}setPosition(e,t,r){const n=this.elements;return e.isVector3?(n[12]=e.x,n[13]=e.y,n[14]=e.z):(n[12]=e,n[13]=t,n[14]=r),this}invert(){const e=this.elements,t=e[0],r=e[1],n=e[2],i=e[3],o=e[4],s=e[5],a=e[6],l=e[7],c=e[8],u=e[9],d=e[10],h=e[11],p=e[12],m=e[13],_=e[14],g=e[15],f=u*_*l-m*d*l+m*a*h-s*_*h-u*a*g+s*d*g,v=p*d*l-c*_*l-p*a*h+o*_*h+c*a*g-o*d*g,b=c*m*l-p*u*l+p*s*h-o*m*h-c*s*g+o*u*g,y=p*u*a-c*m*a-p*s*d+o*m*d+c*s*_-o*u*_,$=t*f+r*v+n*b+i*y;if(0===$)return this.set(0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0);const x=1/$;return e[0]=f*x,e[1]=(m*d*i-u*_*i-m*n*h+r*_*h+u*n*g-r*d*g)*x,e[2]=(s*_*i-m*a*i+m*n*l-r*_*l-s*n*g+r*a*g)*x,e[3]=(u*a*i-s*d*i-u*n*l+r*d*l+s*n*h-r*a*h)*x,e[4]=v*x,e[5]=(c*_*i-p*d*i+p*n*h-t*_*h-c*n*g+t*d*g)*x,e[6]=(p*a*i-o*_*i-p*n*l+t*_*l+o*n*g-t*a*g)*x,e[7]=(o*d*i-c*a*i+c*n*l-t*d*l-o*n*h+t*a*h)*x,e[8]=b*x,e[9]=(p*u*i-c*m*i-p*r*h+t*m*h+c*r*g-t*u*g)*x,e[10]=(o*m*i-p*s*i+p*r*l-t*m*l-o*r*g+t*s*g)*x,e[11]=(c*s*i-o*u*i-c*r*l+t*u*l+o*r*h-t*s*h)*x,e[12]=y*x,e[13]=(c*m*n-p*u*n+p*r*d-t*m*d-c*r*_+t*u*_)*x,e[14]=(p*s*n-o*m*n-p*r*a+t*m*a+o*r*_-t*s*_)*x,e[15]=(o*u*n-c*s*n+c*r*a-t*u*a-o*r*d+t*s*d)*x,this}scale(e){const t=this.elements,r=e.x,n=e.y,i=e.z;return t[0]*=r,t[4]*=n,t[8]*=i,t[1]*=r,t[5]*=n,t[9]*=i,t[2]*=r,t[6]*=n,t[10]*=i,t[3]*=r,t[7]*=n,t[11]*=i,this}getMaxScaleOnAxis(){const e=this.elements,t=e[0]*e[0]+e[1]*e[1]+e[2]*e[2],r=e[4]*e[4]+e[5]*e[5]+e[6]*e[6],n=e[8]*e[8]+e[9]*e[9]+e[10]*e[10];return Math.sqrt(Math.max(t,r,n))}makeTranslation(e,t,r){return e.isVector3?this.set(1,0,0,e.x,0,1,0,e.y,0,0,1,e.z,0,0,0,1):this.set(1,0,0,e,0,1,0,t,0,0,1,r,0,0,0,1),this}makeRotationX(e){const t=Math.cos(e),r=Math.sin(e);return this.set(1,0,0,0,0,t,-r,0,0,r,t,0,0,0,0,1),this}makeRotationY(e){const t=Math.cos(e),r=Math.sin(e);return this.set(t,0,r,0,0,1,0,0,-r,0,t,0,0,0,0,1),this}makeRotationZ(e){const t=Math.cos(e),r=Math.sin(e);return this.set(t,-r,0,0,r,t,0,0,0,0,1,0,0,0,0,1),this}makeRotationAxis(e,t){const r=Math.cos(t),n=Math.sin(t),i=1-r,o=e.x,s=e.y,a=e.z,l=i*o,c=i*s;return this.set(l*o+r,l*s-n*a,l*a+n*s,0,l*s+n*a,c*s+r,c*a-n*o,0,l*a-n*s,c*a+n*o,i*a*a+r,0,0,0,0,1),this}makeScale(e,t,r){return this.set(e,0,0,0,0,t,0,0,0,0,r,0,0,0,0,1),this}makeShear(e,t,r,n,i,o){return this.set(1,r,i,0,e,1,o,0,t,n,1,0,0,0,0,1),this}compose(e,t,r){const n=this.elements,i=t._x,o=t._y,s=t._z,a=t._w,l=i+i,c=o+o,u=s+s,d=i*l,h=i*c,p=i*u,m=o*c,_=o*u,g=s*u,f=a*l,v=a*c,b=a*u,y=r.x,$=r.y,x=r.z;return n[0]=(1-(m+g))*y,n[1]=(h+b)*y,n[2]=(p-v)*y,n[3]=0,n[4]=(h-b)*$,n[5]=(1-(d+g))*$,n[6]=(_+f)*$,n[7]=0,n[8]=(p+v)*x,n[9]=(_-f)*x,n[10]=(1-(d+m))*x,n[11]=0,n[12]=e.x,n[13]=e.y,n[14]=e.z,n[15]=1,this}decompose(e,t,r){const n=this.elements;let i=Sn.set(n[0],n[1],n[2]).length();const o=Sn.set(n[4],n[5],n[6]).length(),s=Sn.set(n[8],n[9],n[10]).length();this.determinant()<0&&(i=-i),e.x=n[12],e.y=n[13],e.z=n[14],wn.copy(this);const a=1/i,l=1/o,c=1/s;return wn.elements[0]*=a,wn.elements[1]*=a,wn.elements[2]*=a,wn.elements[4]*=l,wn.elements[5]*=l,wn.elements[6]*=l,wn.elements[8]*=c,wn.elements[9]*=c,wn.elements[10]*=c,t.setFromRotationMatrix(wn),r.x=i,r.y=o,r.z=s,this}makePerspective(e,t,r,n,i,o,s=2e3,a=!1){const l=this.elements,c=2*i/(t-e),u=2*i/(r-n),d=(t+e)/(t-e),h=(r+n)/(r-n);let p,m;if(a)p=i/(o-i),m=o*i/(o-i);else if(s===nr)p=-(o+i)/(o-i),m=-2*o*i/(o-i);else{if(s!==ir)throw new Error("THREE.Matrix4.makePerspective(): Invalid coordinate system: "+s);p=-o/(o-i),m=-o*i/(o-i)}return l[0]=c,l[4]=0,l[8]=d,l[12]=0,l[1]=0,l[5]=u,l[9]=h,l[13]=0,l[2]=0,l[6]=0,l[10]=p,l[14]=m,l[3]=0,l[7]=0,l[11]=-1,l[15]=0,this}makeOrthographic(e,t,r,n,i,o,s=2e3,a=!1){const l=this.elements,c=2/(t-e),u=2/(r-n),d=-(t+e)/(t-e),h=-(r+n)/(r-n);let p,m;if(a)p=1/(o-i),m=o/(o-i);else if(s===nr)p=-2/(o-i),m=-(o+i)/(o-i);else{if(s!==ir)throw new Error("THREE.Matrix4.makeOrthographic(): Invalid coordinate system: "+s);p=-1/(o-i),m=-i/(o-i)}return l[0]=c,l[4]=0,l[8]=0,l[12]=d,l[1]=0,l[5]=u,l[9]=0,l[13]=h,l[2]=0,l[6]=0,l[10]=p,l[14]=m,l[3]=0,l[7]=0,l[11]=0,l[15]=1,this}equals(e){const t=this.elements,r=e.elements;for(let e=0;e<16;e++)if(t[e]!==r[e])return!1;return!0}fromArray(e,t=0){for(let r=0;r<16;r++)this.elements[r]=e[r+t];return this}toArray(e=[],t=0){const r=this.elements;return e[t]=r[0],e[t+1]=r[1],e[t+2]=r[2],e[t+3]=r[3],e[t+4]=r[4],e[t+5]=r[5],e[t+6]=r[6],e[t+7]=r[7],e[t+8]=r[8],e[t+9]=r[9],e[t+10]=r[10],e[t+11]=r[11],e[t+12]=r[12],e[t+13]=r[13],e[t+14]=r[14],e[t+15]=r[15],e}}const Sn=new br,wn=new xn,An=new br(0,0,0),Cn=new br(1,1,1),En=new br,In=new br,Mn=new br,kn=new xn,Tn=new vr;class Rn{constructor(e=0,t=0,r=0,n=Rn.DEFAULT_ORDER){this.isEuler=!0,this._x=e,this._y=t,this._z=r,this._order=n}get x(){return this._x}set x(e){this._x=e,this._onChangeCallback()}get y(){return this._y}set y(e){this._y=e,this._onChangeCallback()}get z(){return this._z}set z(e){this._z=e,this._onChangeCallback()}get order(){return this._order}set order(e){this._order=e,this._onChangeCallback()}set(e,t,r,n=this._order){return this._x=e,this._y=t,this._z=r,this._order=n,this._onChangeCallback(),this}clone(){return new this.constructor(this._x,this._y,this._z,this._order)}copy(e){return this._x=e._x,this._y=e._y,this._z=e._z,this._order=e._order,this._onChangeCallback(),this}setFromRotationMatrix(e,t=this._order,r=!0){const n=e.elements,i=n[0],o=n[4],s=n[8],a=n[1],l=n[5],c=n[9],u=n[2],d=n[6],h=n[10];switch(t){case"XYZ":this._y=Math.asin(dr(s,-1,1)),Math.abs(s)<.9999999?(this._x=Math.atan2(-c,h),this._z=Math.atan2(-o,i)):(this._x=Math.atan2(d,l),this._z=0);break;case"YXZ":this._x=Math.asin(-dr(c,-1,1)),Math.abs(c)<.9999999?(this._y=Math.atan2(s,h),this._z=Math.atan2(a,l)):(this._y=Math.atan2(-u,i),this._z=0);break;case"ZXY":this._x=Math.asin(dr(d,-1,1)),Math.abs(d)<.9999999?(this._y=Math.atan2(-u,h),this._z=Math.atan2(-o,l)):(this._y=0,this._z=Math.atan2(a,i));break;case"ZYX":this._y=Math.asin(-dr(u,-1,1)),Math.abs(u)<.9999999?(this._x=Math.atan2(d,h),this._z=Math.atan2(a,i)):(this._x=0,this._z=Math.atan2(-o,l));break;case"YZX":this._z=Math.asin(dr(a,-1,1)),Math.abs(a)<.9999999?(this._x=Math.atan2(-c,l),this._y=Math.atan2(-u,i)):(this._x=0,this._y=Math.atan2(s,h));break;case"XZY":this._z=Math.asin(-dr(o,-1,1)),Math.abs(o)<.9999999?(this._x=Math.atan2(d,l),this._y=Math.atan2(s,i)):(this._x=Math.atan2(-c,h),this._y=0);break;default:console.warn("THREE.Euler: .setFromRotationMatrix() encountered an unknown order: "+t)}return this._order=t,!0===r&&this._onChangeCallback(),this}setFromQuaternion(e,t,r){return kn.makeRotationFromQuaternion(e),this.setFromRotationMatrix(kn,t,r)}setFromVector3(e,t=this._order){return this.set(e.x,e.y,e.z,t)}reorder(e){return Tn.setFromEuler(this),this.setFromQuaternion(Tn,e)}equals(e){return e._x===this._x&&e._y===this._y&&e._z===this._z&&e._order===this._order}fromArray(e){return this._x=e[0],this._y=e[1],this._z=e[2],void 0!==e[3]&&(this._order=e[3]),this._onChangeCallback(),this}toArray(e=[],t=0){return e[t]=this._x,e[t+1]=this._y,e[t+2]=this._z,e[t+3]=this._order,e}_onChange(e){return this._onChangeCallback=e,this}_onChangeCallback(){}*[Symbol.iterator](){yield this._x,yield this._y,yield this._z,yield this._order}}Rn.DEFAULT_ORDER="XYZ";class Ln{constructor(){this.mask=1}set(e){this.mask=1<<e>>>0}enable(e){this.mask|=1<<e}enableAll(){this.mask=-1}toggle(e){this.mask^=1<<e}disable(e){this.mask&=~(1<<e)}disableAll(){this.mask=0}test(e){return 0!==(this.mask&e.mask)}isEnabled(e){return!!(this.mask&1<<e)}}let Pn=0;const Dn=new br,Nn=new vr,Fn=new xn,On=new br,Bn=new br,Un=new br,Vn=new vr,zn=new br(1,0,0),Hn=new br(0,1,0),Gn=new br(0,0,1),jn={type:"added"},Jn={type:"removed"},Wn={type:"childadded",child:null},Qn={type:"childremoved",child:null};class qn extends or{constructor(){super(),this.isObject3D=!0,Object.defineProperty(this,"id",{value:Pn++}),this.uuid=ur(),this.name="",this.type="Object3D",this.parent=null,this.children=[],this.up=qn.DEFAULT_UP.clone();const e=new br,t=new Rn,r=new vr,n=new br(1,1,1);t._onChange(function(){r.setFromEuler(t,!1)}),r._onChange(function(){t.setFromQuaternion(r,void 0,!1)}),Object.defineProperties(this,{position:{configurable:!0,enumerable:!0,value:e},rotation:{configurable:!0,enumerable:!0,value:t},quaternion:{configurable:!0,enumerable:!0,value:r},scale:{configurable:!0,enumerable:!0,value:n},modelViewMatrix:{value:new xn},normalMatrix:{value:new xr}}),this.matrix=new xn,this.matrixWorld=new xn,this.matrixAutoUpdate=qn.DEFAULT_MATRIX_AUTO_UPDATE,this.matrixWorldAutoUpdate=qn.DEFAULT_MATRIX_WORLD_AUTO_UPDATE,this.matrixWorldNeedsUpdate=!1,this.layers=new Ln,this.visible=!0,this.castShadow=!1,this.receiveShadow=!1,this.frustumCulled=!0,this.renderOrder=0,this.animations=[],this.customDepthMaterial=void 0,this.customDistanceMaterial=void 0,this.userData={}}onBeforeShadow(){}onAfterShadow(){}onBeforeRender(){}onAfterRender(){}applyMatrix4(e){this.matrixAutoUpdate&&this.updateMatrix(),this.matrix.premultiply(e),this.matrix.decompose(this.position,this.quaternion,this.scale)}applyQuaternion(e){return this.quaternion.premultiply(e),this}setRotationFromAxisAngle(e,t){this.quaternion.setFromAxisAngle(e,t)}setRotationFromEuler(e){this.quaternion.setFromEuler(e,!0)}setRotationFromMatrix(e){this.quaternion.setFromRotationMatrix(e)}setRotationFromQuaternion(e){this.quaternion.copy(e)}rotateOnAxis(e,t){return Nn.setFromAxisAngle(e,t),this.quaternion.multiply(Nn),this}rotateOnWorldAxis(e,t){return Nn.setFromAxisAngle(e,t),this.quaternion.premultiply(Nn),this}rotateX(e){return this.rotateOnAxis(zn,e)}rotateY(e){return this.rotateOnAxis(Hn,e)}rotateZ(e){return this.rotateOnAxis(Gn,e)}translateOnAxis(e,t){return Dn.copy(e).applyQuaternion(this.quaternion),this.position.add(Dn.multiplyScalar(t)),this}translateX(e){return this.translateOnAxis(zn,e)}translateY(e){return this.translateOnAxis(Hn,e)}translateZ(e){return this.translateOnAxis(Gn,e)}localToWorld(e){return this.updateWorldMatrix(!0,!1),e.applyMatrix4(this.matrixWorld)}worldToLocal(e){return this.updateWorldMatrix(!0,!1),e.applyMatrix4(Fn.copy(this.matrixWorld).invert())}lookAt(e,t,r){e.isVector3?On.copy(e):On.set(e,t,r);const n=this.parent;this.updateWorldMatrix(!0,!1),Bn.setFromMatrixPosition(this.matrixWorld),this.isCamera||this.isLight?Fn.lookAt(Bn,On,this.up):Fn.lookAt(On,Bn,this.up),this.quaternion.setFromRotationMatrix(Fn),n&&(Fn.extractRotation(n.matrixWorld),Nn.setFromRotationMatrix(Fn),this.quaternion.premultiply(Nn.invert()))}add(e){if(arguments.length>1){for(let e=0;e<arguments.length;e++)this.add(arguments[e]);return this}return e===this?(console.error("THREE.Object3D.add: object can't be added as a child of itself.",e),this):(e&&e.isObject3D?(e.removeFromParent(),e.parent=this,this.children.push(e),e.dispatchEvent(jn),Wn.child=e,this.dispatchEvent(Wn),Wn.child=null):console.error("THREE.Object3D.add: object not an instance of THREE.Object3D.",e),this)}remove(e){if(arguments.length>1){for(let e=0;e<arguments.length;e++)this.remove(arguments[e]);return this}const t=this.children.indexOf(e);return-1!==t&&(e.parent=null,this.children.splice(t,1),e.dispatchEvent(Jn),Qn.child=e,this.dispatchEvent(Qn),Qn.child=null),this}removeFromParent(){const e=this.parent;return null!==e&&e.remove(this),this}clear(){return this.remove(...this.children)}attach(e){return this.updateWorldMatrix(!0,!1),Fn.copy(this.matrixWorld).invert(),null!==e.parent&&(e.parent.updateWorldMatrix(!0,!1),Fn.multiply(e.parent.matrixWorld)),e.applyMatrix4(Fn),e.removeFromParent(),e.parent=this,this.children.push(e),e.updateWorldMatrix(!1,!0),e.dispatchEvent(jn),Wn.child=e,this.dispatchEvent(Wn),Wn.child=null,this}getObjectById(e){return this.getObjectByProperty("id",e)}getObjectByName(e){return this.getObjectByProperty("name",e)}getObjectByProperty(e,t){if(this[e]===t)return this;for(let r=0,n=this.children.length;r<n;r++){const n=this.children[r].getObjectByProperty(e,t);if(void 0!==n)return n}}getObjectsByProperty(e,t,r=[]){this[e]===t&&r.push(this);const n=this.children;for(let i=0,o=n.length;i<o;i++)n[i].getObjectsByProperty(e,t,r);return r}getWorldPosition(e){return this.updateWorldMatrix(!0,!1),e.setFromMatrixPosition(this.matrixWorld)}getWorldQuaternion(e){return this.updateWorldMatrix(!0,!1),this.matrixWorld.decompose(Bn,e,Un),e}getWorldScale(e){return this.updateWorldMatrix(!0,!1),this.matrixWorld.decompose(Bn,Vn,e),e}getWorldDirection(e){this.updateWorldMatrix(!0,!1);const t=this.matrixWorld.elements;return e.set(t[8],t[9],t[10]).normalize()}raycast(){}traverse(e){e(this);const t=this.children;for(let r=0,n=t.length;r<n;r++)t[r].traverse(e)}traverseVisible(e){if(!1===this.visible)return;e(this);const t=this.children;for(let r=0,n=t.length;r<n;r++)t[r].traverseVisible(e)}traverseAncestors(e){const t=this.parent;null!==t&&(e(t),t.traverseAncestors(e))}updateMatrix(){this.matrix.compose(this.position,this.quaternion,this.scale),this.matrixWorldNeedsUpdate=!0}updateMatrixWorld(e){this.matrixAutoUpdate&&this.updateMatrix(),(this.matrixWorldNeedsUpdate||e)&&(!0===this.matrixWorldAutoUpdate&&(null===this.parent?this.matrixWorld.copy(this.matrix):this.matrixWorld.multiplyMatrices(this.parent.matrixWorld,this.matrix)),this.matrixWorldNeedsUpdate=!1,e=!0);const t=this.children;for(let r=0,n=t.length;r<n;r++){t[r].updateMatrixWorld(e)}}updateWorldMatrix(e,t){const r=this.parent;if(!0===e&&null!==r&&r.updateWorldMatrix(!0,!1),this.matrixAutoUpdate&&this.updateMatrix(),!0===this.matrixWorldAutoUpdate&&(null===this.parent?this.matrixWorld.copy(this.matrix):this.matrixWorld.multiplyMatrices(this.parent.matrixWorld,this.matrix)),!0===t){const e=this.children;for(let t=0,r=e.length;t<r;t++){e[t].updateWorldMatrix(!1,!0)}}}toJSON(e){const t=void 0===e||"string"==typeof e,r={};t&&(e={geometries:{},materials:{},textures:{},images:{},shapes:{},skeletons:{},animations:{},nodes:{}},r.metadata={version:4.7,type:"Object",generator:"Object3D.toJSON"});const n={};function i(t,r){return void 0===t[r.uuid]&&(t[r.uuid]=r.toJSON(e)),r.uuid}if(n.uuid=this.uuid,n.type=this.type,""!==this.name&&(n.name=this.name),!0===this.castShadow&&(n.castShadow=!0),!0===this.receiveShadow&&(n.receiveShadow=!0),!1===this.visible&&(n.visible=!1),!1===this.frustumCulled&&(n.frustumCulled=!1),0!==this.renderOrder&&(n.renderOrder=this.renderOrder),Object.keys(this.userData).length>0&&(n.userData=this.userData),n.layers=this.layers.mask,n.matrix=this.matrix.toArray(),n.up=this.up.toArray(),!1===this.matrixAutoUpdate&&(n.matrixAutoUpdate=!1),this.isInstancedMesh&&(n.type="InstancedMesh",n.count=this.count,n.instanceMatrix=this.instanceMatrix.toJSON(),null!==this.instanceColor&&(n.instanceColor=this.instanceColor.toJSON())),this.isBatchedMesh&&(n.type="BatchedMesh",n.perObjectFrustumCulled=this.perObjectFrustumCulled,n.sortObjects=this.sortObjects,n.drawRanges=this._drawRanges,n.reservedRanges=this._reservedRanges,n.geometryInfo=this._geometryInfo.map(e=>({...e,boundingBox:e.boundingBox?e.boundingBox.toJSON():void 0,boundingSphere:e.boundingSphere?e.boundingSphere.toJSON():void 0})),n.instanceInfo=this._instanceInfo.map(e=>({...e})),n.availableInstanceIds=this._availableInstanceIds.slice(),n.availableGeometryIds=this._availableGeometryIds.slice(),n.nextIndexStart=this._nextIndexStart,n.nextVertexStart=this._nextVertexStart,n.geometryCount=this._geometryCount,n.maxInstanceCount=this._maxInstanceCount,n.maxVertexCount=this._maxVertexCount,n.maxIndexCount=this._maxIndexCount,n.geometryInitialized=this._geometryInitialized,n.matricesTexture=this._matricesTexture.toJSON(e),n.indirectTexture=this._indirectTexture.toJSON(e),null!==this._colorsTexture&&(n.colorsTexture=this._colorsTexture.toJSON(e)),null!==this.boundingSphere&&(n.boundingSphere=this.boundingSphere.toJSON()),null!==this.boundingBox&&(n.boundingBox=this.boundingBox.toJSON())),this.isScene)this.background&&(this.background.isColor?n.background=this.background.toJSON():this.background.isTexture&&(n.background=this.background.toJSON(e).uuid)),this.environment&&this.environment.isTexture&&!0!==this.environment.isRenderTargetTexture&&(n.environment=this.environment.toJSON(e).uuid);else if(this.isMesh||this.isLine||this.isPoints){n.geometry=i(e.geometries,this.geometry);const t=this.geometry.parameters;if(void 0!==t&&void 0!==t.shapes){const r=t.shapes;if(Array.isArray(r))for(let t=0,n=r.length;t<n;t++){const n=r[t];i(e.shapes,n)}else i(e.shapes,r)}}if(this.isSkinnedMesh&&(n.bindMode=this.bindMode,n.bindMatrix=this.bindMatrix.toArray(),void 0!==this.skeleton&&(i(e.skeletons,this.skeleton),n.skeleton=this.skeleton.uuid)),void 0!==this.material)if(Array.isArray(this.material)){const t=[];for(let r=0,n=this.material.length;r<n;r++)t.push(i(e.materials,this.material[r]));n.material=t}else n.material=i(e.materials,this.material);if(this.children.length>0){n.children=[];for(let t=0;t<this.children.length;t++)n.children.push(this.children[t].toJSON(e).object)}if(this.animations.length>0){n.animations=[];for(let t=0;t<this.animations.length;t++){const r=this.animations[t];n.animations.push(i(e.animations,r))}}if(t){const t=o(e.geometries),n=o(e.materials),i=o(e.textures),s=o(e.images),a=o(e.shapes),l=o(e.skeletons),c=o(e.animations),u=o(e.nodes);t.length>0&&(r.geometries=t),n.length>0&&(r.materials=n),i.length>0&&(r.textures=i),s.length>0&&(r.images=s),a.length>0&&(r.shapes=a),l.length>0&&(r.skeletons=l),c.length>0&&(r.animations=c),u.length>0&&(r.nodes=u)}return r.object=n,r;function o(e){const t=[];for(const r in e){const n=e[r];delete n.metadata,t.push(n)}return t}}clone(e){return(new this.constructor).copy(this,e)}copy(e,t=!0){if(this.name=e.name,this.up.copy(e.up),this.position.copy(e.position),this.rotation.order=e.rotation.order,this.quaternion.copy(e.quaternion),this.scale.copy(e.scale),this.matrix.copy(e.matrix),this.matrixWorld.copy(e.matrixWorld),this.matrixAutoUpdate=e.matrixAutoUpdate,this.matrixWorldAutoUpdate=e.matrixWorldAutoUpdate,this.matrixWorldNeedsUpdate=e.matrixWorldNeedsUpdate,this.layers.mask=e.layers.mask,this.visible=e.visible,this.castShadow=e.castShadow,this.receiveShadow=e.receiveShadow,this.frustumCulled=e.frustumCulled,this.renderOrder=e.renderOrder,this.animations=e.animations.slice(),this.userData=JSON.parse(JSON.stringify(e.userData)),!0===t)for(let t=0;t<e.children.length;t++){const r=e.children[t];this.add(r.clone())}return this}}qn.DEFAULT_UP=new br(0,1,0),qn.DEFAULT_MATRIX_AUTO_UPDATE=!0,qn.DEFAULT_MATRIX_WORLD_AUTO_UPDATE=!0;const Yn=new br,Xn=new br,Kn=new br,Zn=new br,ei=new br,ti=new br,ri=new br,ni=new br,ii=new br,oi=new br,si=new Hr,ai=new Hr,li=new Hr;class ci{constructor(e=new br,t=new br,r=new br){this.a=e,this.b=t,this.c=r}static getNormal(e,t,r,n){n.subVectors(r,t),Yn.subVectors(e,t),n.cross(Yn);const i=n.lengthSq();return i>0?n.multiplyScalar(1/Math.sqrt(i)):n.set(0,0,0)}static getBarycoord(e,t,r,n,i){Yn.subVectors(n,t),Xn.subVectors(r,t),Kn.subVectors(e,t);const o=Yn.dot(Yn),s=Yn.dot(Xn),a=Yn.dot(Kn),l=Xn.dot(Xn),c=Xn.dot(Kn),u=o*l-s*s;if(0===u)return i.set(0,0,0),null;const d=1/u,h=(l*a-s*c)*d,p=(o*c-s*a)*d;return i.set(1-h-p,p,h)}static containsPoint(e,t,r,n){return null!==this.getBarycoord(e,t,r,n,Zn)&&(Zn.x>=0&&Zn.y>=0&&Zn.x+Zn.y<=1)}static getInterpolation(e,t,r,n,i,o,s,a){return null===this.getBarycoord(e,t,r,n,Zn)?(a.x=0,a.y=0,"z"in a&&(a.z=0),"w"in a&&(a.w=0),null):(a.setScalar(0),a.addScaledVector(i,Zn.x),a.addScaledVector(o,Zn.y),a.addScaledVector(s,Zn.z),a)}static getInterpolatedAttribute(e,t,r,n,i,o){return si.setScalar(0),ai.setScalar(0),li.setScalar(0),si.fromBufferAttribute(e,t),ai.fromBufferAttribute(e,r),li.fromBufferAttribute(e,n),o.setScalar(0),o.addScaledVector(si,i.x),o.addScaledVector(ai,i.y),o.addScaledVector(li,i.z),o}static isFrontFacing(e,t,r,n){return Yn.subVectors(r,t),Xn.subVectors(e,t),Yn.cross(Xn).dot(n)<0}set(e,t,r){return this.a.copy(e),this.b.copy(t),this.c.copy(r),this}setFromPointsAndIndices(e,t,r,n){return this.a.copy(e[t]),this.b.copy(e[r]),this.c.copy(e[n]),this}setFromAttributeAndIndices(e,t,r,n){return this.a.fromBufferAttribute(e,t),this.b.fromBufferAttribute(e,r),this.c.fromBufferAttribute(e,n),this}clone(){return(new this.constructor).copy(this)}copy(e){return this.a.copy(e.a),this.b.copy(e.b),this.c.copy(e.c),this}getArea(){return Yn.subVectors(this.c,this.b),Xn.subVectors(this.a,this.b),.5*Yn.cross(Xn).length()}getMidpoint(e){return e.addVectors(this.a,this.b).add(this.c).multiplyScalar(1/3)}getNormal(e){return ci.getNormal(this.a,this.b,this.c,e)}getPlane(e){return e.setFromCoplanarPoints(this.a,this.b,this.c)}getBarycoord(e,t){return ci.getBarycoord(e,this.a,this.b,this.c,t)}getInterpolation(e,t,r,n,i){return ci.getInterpolation(e,this.a,this.b,this.c,t,r,n,i)}containsPoint(e){return ci.containsPoint(e,this.a,this.b,this.c)}isFrontFacing(e){return ci.isFrontFacing(this.a,this.b,this.c,e)}intersectsBox(e){return e.intersectsTriangle(this)}closestPointToPoint(e,t){const r=this.a,n=this.b,i=this.c;let o,s;ei.subVectors(n,r),ti.subVectors(i,r),ni.subVectors(e,r);const a=ei.dot(ni),l=ti.dot(ni);if(a<=0&&l<=0)return t.copy(r);ii.subVectors(e,n);const c=ei.dot(ii),u=ti.dot(ii);if(c>=0&&u<=c)return t.copy(n);const d=a*u-c*l;if(d<=0&&a>=0&&c<=0)return o=a/(a-c),t.copy(r).addScaledVector(ei,o);oi.subVectors(e,i);const h=ei.dot(oi),p=ti.dot(oi);if(p>=0&&h<=p)return t.copy(i);const m=h*l-a*p;if(m<=0&&l>=0&&p<=0)return s=l/(l-p),t.copy(r).addScaledVector(ti,s);const _=c*p-h*u;if(_<=0&&u-c>=0&&h-p>=0)return ri.subVectors(i,n),s=(u-c)/(u-c+(h-p)),t.copy(n).addScaledVector(ri,s);const g=1/(_+m+d);return o=m*g,s=d*g,t.copy(r).addScaledVector(ei,o).addScaledVector(ti,s)}equals(e){return e.a.equals(this.a)&&e.b.equals(this.b)&&e.c.equals(this.c)}}const ui={aliceblue:15792383,antiquewhite:16444375,aqua:65535,aquamarine:8388564,azure:15794175,beige:16119260,bisque:16770244,black:0,blanchedalmond:16772045,blue:255,blueviolet:9055202,brown:10824234,burlywood:14596231,cadetblue:6266528,chartreuse:8388352,chocolate:13789470,coral:16744272,cornflowerblue:6591981,cornsilk:16775388,crimson:14423100,cyan:65535,darkblue:139,darkcyan:35723,darkgoldenrod:12092939,darkgray:11119017,darkgreen:25600,darkgrey:11119017,darkkhaki:12433259,darkmagenta:9109643,darkolivegreen:5597999,darkorange:16747520,darkorchid:10040012,darkred:9109504,darksalmon:15308410,darkseagreen:9419919,darkslateblue:4734347,darkslategray:3100495,darkslategrey:3100495,darkturquoise:52945,darkviolet:9699539,deeppink:16716947,deepskyblue:49151,dimgray:6908265,dimgrey:6908265,dodgerblue:2003199,firebrick:11674146,floralwhite:16775920,forestgreen:2263842,fuchsia:16711935,gainsboro:14474460,ghostwhite:16316671,gold:16766720,goldenrod:14329120,gray:8421504,green:32768,greenyellow:11403055,grey:8421504,honeydew:15794160,hotpink:16738740,indianred:13458524,indigo:4915330,ivory:16777200,khaki:15787660,lavender:15132410,lavenderblush:16773365,lawngreen:8190976,lemonchiffon:16775885,lightblue:11393254,lightcoral:15761536,lightcyan:14745599,lightgoldenrodyellow:16448210,lightgray:13882323,lightgreen:9498256,lightgrey:13882323,lightpink:16758465,lightsalmon:16752762,lightseagreen:2142890,lightskyblue:8900346,lightslategray:7833753,lightslategrey:7833753,lightsteelblue:11584734,lightyellow:16777184,lime:65280,limegreen:3329330,linen:16445670,magenta:16711935,maroon:8388608,mediumaquamarine:6737322,mediumblue:205,mediumorchid:12211667,mediumpurple:9662683,mediumseagreen:3978097,mediumslateblue:8087790,mediumspringgreen:64154,mediumturquoise:4772300,mediumvioletred:13047173,midnightblue:1644912,mintcream:16121850,mistyrose:16770273,moccasin:16770229,navajowhite:16768685,navy:128,oldlace:16643558,olive:8421376,olivedrab:7048739,orange:16753920,orangered:16729344,orchid:14315734,palegoldenrod:15657130,palegreen:10025880,paleturquoise:11529966,palevioletred:14381203,papayawhip:16773077,peachpuff:16767673,peru:13468991,pink:16761035,plum:14524637,powderblue:11591910,purple:8388736,rebeccapurple:6697881,red:16711680,rosybrown:12357519,royalblue:4286945,saddlebrown:9127187,salmon:16416882,sandybrown:16032864,seagreen:3050327,seashell:16774638,sienna:10506797,silver:12632256,skyblue:8900331,slateblue:6970061,slategray:7372944,slategrey:7372944,snow:16775930,springgreen:65407,steelblue:4620980,tan:13808780,teal:32896,thistle:14204888,tomato:16737095,turquoise:4251856,violet:15631086,wheat:16113331,white:16777215,whitesmoke:16119285,yellow:16776960,yellowgreen:10145074},di={h:0,s:0,l:0},hi={h:0,s:0,l:0};function pi(e,t,r){return r<0&&(r+=1),r>1&&(r-=1),r<1/6?e+6*(t-e)*r:r<.5?t:r<2/3?e+6*(t-e)*(2/3-r):e}class mi{constructor(e,t,r){return this.isColor=!0,this.r=1,this.g=1,this.b=1,this.set(e,t,r)}set(e,t,r){if(void 0===t&&void 0===r){const t=e;t&&t.isColor?this.copy(t):"number"==typeof t?this.setHex(t):"string"==typeof t&&this.setStyle(t)}else this.setRGB(e,t,r);return this}setScalar(e){return this.r=e,this.g=e,this.b=e,this}setHex(e,t=zt){return e=Math.floor(e),this.r=(e>>16&255)/255,this.g=(e>>8&255)/255,this.b=(255&e)/255,Rr.colorSpaceToWorking(this,t),this}setRGB(e,t,r,n=Rr.workingColorSpace){return this.r=e,this.g=t,this.b=r,Rr.colorSpaceToWorking(this,n),this}setHSL(e,t,r,n=Rr.workingColorSpace){if(e=hr(e,1),t=dr(t,0,1),r=dr(r,0,1),0===t)this.r=this.g=this.b=r;else{const n=r<=.5?r*(1+t):r+t-r*t,i=2*r-n;this.r=pi(i,n,e+1/3),this.g=pi(i,n,e),this.b=pi(i,n,e-1/3)}return Rr.colorSpaceToWorking(this,n),this}setStyle(e,t=zt){function r(t){void 0!==t&&parseFloat(t)<1&&console.warn("THREE.Color: Alpha component of "+e+" will be ignored.")}let n;if(n=/^(\w+)\(([^\)]*)\)/.exec(e)){let i;const o=n[1],s=n[2];switch(o){case"rgb":case"rgba":if(i=/^\s*(\d+)\s*,\s*(\d+)\s*,\s*(\d+)\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(s))return r(i[4]),this.setRGB(Math.min(255,parseInt(i[1],10))/255,Math.min(255,parseInt(i[2],10))/255,Math.min(255,parseInt(i[3],10))/255,t);if(i=/^\s*(\d+)\%\s*,\s*(\d+)\%\s*,\s*(\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(s))return r(i[4]),this.setRGB(Math.min(100,parseInt(i[1],10))/100,Math.min(100,parseInt(i[2],10))/100,Math.min(100,parseInt(i[3],10))/100,t);break;case"hsl":case"hsla":if(i=/^\s*(\d*\.?\d+)\s*,\s*(\d*\.?\d+)\%\s*,\s*(\d*\.?\d+)\%\s*(?:,\s*(\d*\.?\d+)\s*)?$/.exec(s))return r(i[4]),this.setHSL(parseFloat(i[1])/360,parseFloat(i[2])/100,parseFloat(i[3])/100,t);break;default:console.warn("THREE.Color: Unknown color model "+e)}}else if(n=/^\#([A-Fa-f\d]+)$/.exec(e)){const r=n[1],i=r.length;if(3===i)return this.setRGB(parseInt(r.charAt(0),16)/15,parseInt(r.charAt(1),16)/15,parseInt(r.charAt(2),16)/15,t);if(6===i)return this.setHex(parseInt(r,16),t);console.warn("THREE.Color: Invalid hex color "+e)}else if(e&&e.length>0)return this.setColorName(e,t);return this}setColorName(e,t=zt){const r=ui[e.toLowerCase()];return void 0!==r?this.setHex(r,t):console.warn("THREE.Color: Unknown color "+e),this}clone(){return new this.constructor(this.r,this.g,this.b)}copy(e){return this.r=e.r,this.g=e.g,this.b=e.b,this}copySRGBToLinear(e){return this.r=Lr(e.r),this.g=Lr(e.g),this.b=Lr(e.b),this}copyLinearToSRGB(e){return this.r=Pr(e.r),this.g=Pr(e.g),this.b=Pr(e.b),this}convertSRGBToLinear(){return this.copySRGBToLinear(this),this}convertLinearToSRGB(){return this.copyLinearToSRGB(this),this}getHex(e=zt){return Rr.workingToColorSpace(_i.copy(this),e),65536*Math.round(dr(255*_i.r,0,255))+256*Math.round(dr(255*_i.g,0,255))+Math.round(dr(255*_i.b,0,255))}getHexString(e=zt){return("000000"+this.getHex(e).toString(16)).slice(-6)}getHSL(e,t=Rr.workingColorSpace){Rr.workingToColorSpace(_i.copy(this),t);const r=_i.r,n=_i.g,i=_i.b,o=Math.max(r,n,i),s=Math.min(r,n,i);let a,l;const c=(s+o)/2;if(s===o)a=0,l=0;else{const e=o-s;switch(l=c<=.5?e/(o+s):e/(2-o-s),o){case r:a=(n-i)/e+(n<i?6:0);break;case n:a=(i-r)/e+2;break;case i:a=(r-n)/e+4}a/=6}return e.h=a,e.s=l,e.l=c,e}getRGB(e,t=Rr.workingColorSpace){return Rr.workingToColorSpace(_i.copy(this),t),e.r=_i.r,e.g=_i.g,e.b=_i.b,e}getStyle(e=zt){Rr.workingToColorSpace(_i.copy(this),e);const t=_i.r,r=_i.g,n=_i.b;return e!==zt?`color(${e} ${t.toFixed(3)} ${r.toFixed(3)} ${n.toFixed(3)})`:`rgb(${Math.round(255*t)},${Math.round(255*r)},${Math.round(255*n)})`}offsetHSL(e,t,r){return this.getHSL(di),this.setHSL(di.h+e,di.s+t,di.l+r)}add(e){return this.r+=e.r,this.g+=e.g,this.b+=e.b,this}addColors(e,t){return this.r=e.r+t.r,this.g=e.g+t.g,this.b=e.b+t.b,this}addScalar(e){return this.r+=e,this.g+=e,this.b+=e,this}sub(e){return this.r=Math.max(0,this.r-e.r),this.g=Math.max(0,this.g-e.g),this.b=Math.max(0,this.b-e.b),this}multiply(e){return this.r*=e.r,this.g*=e.g,this.b*=e.b,this}multiplyScalar(e){return this.r*=e,this.g*=e,this.b*=e,this}lerp(e,t){return this.r+=(e.r-this.r)*t,this.g+=(e.g-this.g)*t,this.b+=(e.b-this.b)*t,this}lerpColors(e,t,r){return this.r=e.r+(t.r-e.r)*r,this.g=e.g+(t.g-e.g)*r,this.b=e.b+(t.b-e.b)*r,this}lerpHSL(e,t){this.getHSL(di),e.getHSL(hi);const r=pr(di.h,hi.h,t),n=pr(di.s,hi.s,t),i=pr(di.l,hi.l,t);return this.setHSL(r,n,i),this}setFromVector3(e){return this.r=e.x,this.g=e.y,this.b=e.z,this}applyMatrix3(e){const t=this.r,r=this.g,n=this.b,i=e.elements;return this.r=i[0]*t+i[3]*r+i[6]*n,this.g=i[1]*t+i[4]*r+i[7]*n,this.b=i[2]*t+i[5]*r+i[8]*n,this}equals(e){return e.r===this.r&&e.g===this.g&&e.b===this.b}fromArray(e,t=0){return this.r=e[t],this.g=e[t+1],this.b=e[t+2],this}toArray(e=[],t=0){return e[t]=this.r,e[t+1]=this.g,e[t+2]=this.b,e}fromBufferAttribute(e,t){return this.r=e.getX(t),this.g=e.getY(t),this.b=e.getZ(t),this}toJSON(){return this.getHex()}*[Symbol.iterator](){yield this.r,yield this.g,yield this.b}}const _i=new mi;mi.NAMES=ui;let gi=0;class fi extends or{constructor(){super(),this.isMaterial=!0,Object.defineProperty(this,"id",{value:gi++}),this.uuid=ur(),this.name="",this.type="Material",this.blending=1,this.side=0,this.vertexColors=!1,this.opacity=1,this.transparent=!1,this.alphaHash=!1,this.blendSrc=Q,this.blendDst=q,this.blendEquation=V,this.blendSrcAlpha=null,this.blendDstAlpha=null,this.blendEquationAlpha=null,this.blendColor=new mi(0,0,0),this.blendAlpha=0,this.depthFunc=3,this.depthTest=!0,this.depthWrite=!0,this.stencilWriteMask=255,this.stencilFunc=519,this.stencilRef=0,this.stencilFuncMask=255,this.stencilFail=Jt,this.stencilZFail=Jt,this.stencilZPass=Jt,this.stencilWrite=!1,this.clippingPlanes=null,this.clipIntersection=!1,this.clipShadows=!1,this.shadowSide=null,this.colorWrite=!0,this.precision=null,this.polygonOffset=!1,this.polygonOffsetFactor=0,this.polygonOffsetUnits=0,this.dithering=!1,this.alphaToCoverage=!1,this.premultipliedAlpha=!1,this.forceSinglePass=!1,this.allowOverride=!0,this.visible=!0,this.toneMapped=!0,this.userData={},this.version=0,this._alphaTest=0}get alphaTest(){return this._alphaTest}set alphaTest(e){this._alphaTest>0!=e>0&&this.version++,this._alphaTest=e}onBeforeRender(){}onBeforeCompile(){}customProgramCacheKey(){return this.onBeforeCompile.toString()}setValues(e){if(void 0!==e)for(const t in e){const r=e[t];if(void 0===r){console.warn(`THREE.Material: parameter '${t}' has value of undefined.`);continue}const n=this[t];void 0!==n?n&&n.isColor?n.set(r):n&&n.isVector3&&r&&r.isVector3?n.copy(r):this[t]=r:console.warn(`THREE.Material: '${t}' is not a property of THREE.${this.type}.`)}}toJSON(e){const t=void 0===e||"string"==typeof e;t&&(e={textures:{},images:{}});const r={metadata:{version:4.7,type:"Material",generator:"Material.toJSON"}};function n(e){const t=[];for(const r in e){const n=e[r];delete n.metadata,t.push(n)}return t}if(r.uuid=this.uuid,r.type=this.type,""!==this.name&&(r.name=this.name),this.color&&this.color.isColor&&(r.color=this.color.getHex()),void 0!==this.roughness&&(r.roughness=this.roughness),void 0!==this.metalness&&(r.metalness=this.metalness),void 0!==this.sheen&&(r.sheen=this.sheen),this.sheenColor&&this.sheenColor.isColor&&(r.sheenColor=this.sheenColor.getHex()),void 0!==this.sheenRoughness&&(r.sheenRoughness=this.sheenRoughness),this.emissive&&this.emissive.isColor&&(r.emissive=this.emissive.getHex()),void 0!==this.emissiveIntensity&&1!==this.emissiveIntensity&&(r.emissiveIntensity=this.emissiveIntensity),this.specular&&this.specular.isColor&&(r.specular=this.specular.getHex()),void 0!==this.specularIntensity&&(r.specularIntensity=this.specularIntensity),this.specularColor&&this.specularColor.isColor&&(r.specularColor=this.specularColor.getHex()),void 0!==this.shininess&&(r.shininess=this.shininess),void 0!==this.clearcoat&&(r.clearcoat=this.clearcoat),void 0!==this.clearcoatRoughness&&(r.clearcoatRoughness=this.clearcoatRoughness),this.clearcoatMap&&this.clearcoatMap.isTexture&&(r.clearcoatMap=this.clearcoatMap.toJSON(e).uuid),this.clearcoatRoughnessMap&&this.clearcoatRoughnessMap.isTexture&&(r.clearcoatRoughnessMap=this.clearcoatRoughnessMap.toJSON(e).uuid),this.clearcoatNormalMap&&this.clearcoatNormalMap.isTexture&&(r.clearcoatNormalMap=this.clearcoatNormalMap.toJSON(e).uuid,r.clearcoatNormalScale=this.clearcoatNormalScale.toArray()),this.sheenColorMap&&this.sheenColorMap.isTexture&&(r.sheenColorMap=this.sheenColorMap.toJSON(e).uuid),this.sheenRoughnessMap&&this.sheenRoughnessMap.isTexture&&(r.sheenRoughnessMap=this.sheenRoughnessMap.toJSON(e).uuid),void 0!==this.dispersion&&(r.dispersion=this.dispersion),void 0!==this.iridescence&&(r.iridescence=this.iridescence),void 0!==this.iridescenceIOR&&(r.iridescenceIOR=this.iridescenceIOR),void 0!==this.iridescenceThicknessRange&&(r.iridescenceThicknessRange=this.iridescenceThicknessRange),this.iridescenceMap&&this.iridescenceMap.isTexture&&(r.iridescenceMap=this.iridescenceMap.toJSON(e).uuid),this.iridescenceThicknessMap&&this.iridescenceThicknessMap.isTexture&&(r.iridescenceThicknessMap=this.iridescenceThicknessMap.toJSON(e).uuid),void 0!==this.anisotropy&&(r.anisotropy=this.anisotropy),void 0!==this.anisotropyRotation&&(r.anisotropyRotation=this.anisotropyRotation),this.anisotropyMap&&this.anisotropyMap.isTexture&&(r.anisotropyMap=this.anisotropyMap.toJSON(e).uuid),this.map&&this.map.isTexture&&(r.map=this.map.toJSON(e).uuid),this.matcap&&this.matcap.isTexture&&(r.matcap=this.matcap.toJSON(e).uuid),this.alphaMap&&this.alphaMap.isTexture&&(r.alphaMap=this.alphaMap.toJSON(e).uuid),this.lightMap&&this.lightMap.isTexture&&(r.lightMap=this.lightMap.toJSON(e).uuid,r.lightMapIntensity=this.lightMapIntensity),this.aoMap&&this.aoMap.isTexture&&(r.aoMap=this.aoMap.toJSON(e).uuid,r.aoMapIntensity=this.aoMapIntensity),this.bumpMap&&this.bumpMap.isTexture&&(r.bumpMap=this.bumpMap.toJSON(e).uuid,r.bumpScale=this.bumpScale),this.normalMap&&this.normalMap.isTexture&&(r.normalMap=this.normalMap.toJSON(e).uuid,r.normalMapType=this.normalMapType,r.normalScale=this.normalScale.toArray()),this.displacementMap&&this.displacementMap.isTexture&&(r.displacementMap=this.displacementMap.toJSON(e).uuid,r.displacementScale=this.displacementScale,r.displacementBias=this.displacementBias),this.roughnessMap&&this.roughnessMap.isTexture&&(r.roughnessMap=this.roughnessMap.toJSON(e).uuid),this.metalnessMap&&this.metalnessMap.isTexture&&(r.metalnessMap=this.metalnessMap.toJSON(e).uuid),this.emissiveMap&&this.emissiveMap.isTexture&&(r.emissiveMap=this.emissiveMap.toJSON(e).uuid),this.specularMap&&this.specularMap.isTexture&&(r.specularMap=this.specularMap.toJSON(e).uuid),this.specularIntensityMap&&this.specularIntensityMap.isTexture&&(r.specularIntensityMap=this.specularIntensityMap.toJSON(e).uuid),this.specularColorMap&&this.specularColorMap.isTexture&&(r.specularColorMap=this.specularColorMap.toJSON(e).uuid),this.envMap&&this.envMap.isTexture&&(r.envMap=this.envMap.toJSON(e).uuid,void 0!==this.combine&&(r.combine=this.combine)),void 0!==this.envMapRotation&&(r.envMapRotation=this.envMapRotation.toArray()),void 0!==this.envMapIntensity&&(r.envMapIntensity=this.envMapIntensity),void 0!==this.reflectivity&&(r.reflectivity=this.reflectivity),void 0!==this.refractionRatio&&(r.refractionRatio=this.refractionRatio),this.gradientMap&&this.gradientMap.isTexture&&(r.gradientMap=this.gradientMap.toJSON(e).uuid),void 0!==this.transmission&&(r.transmission=this.transmission),this.transmissionMap&&this.transmissionMap.isTexture&&(r.transmissionMap=this.transmissionMap.toJSON(e).uuid),void 0!==this.thickness&&(r.thickness=this.thickness),this.thicknessMap&&this.thicknessMap.isTexture&&(r.thicknessMap=this.thicknessMap.toJSON(e).uuid),void 0!==this.attenuationDistance&&this.attenuationDistance!==1/0&&(r.attenuationDistance=this.attenuationDistance),void 0!==this.attenuationColor&&(r.attenuationColor=this.attenuationColor.getHex()),void 0!==this.size&&(r.size=this.size),null!==this.shadowSide&&(r.shadowSide=this.shadowSide),void 0!==this.sizeAttenuation&&(r.sizeAttenuation=this.sizeAttenuation),1!==this.blending&&(r.blending=this.blending),0!==this.side&&(r.side=this.side),!0===this.vertexColors&&(r.vertexColors=!0),this.opacity<1&&(r.opacity=this.opacity),!0===this.transparent&&(r.transparent=!0),this.blendSrc!==Q&&(r.blendSrc=this.blendSrc),this.blendDst!==q&&(r.blendDst=this.blendDst),this.blendEquation!==V&&(r.blendEquation=this.blendEquation),null!==this.blendSrcAlpha&&(r.blendSrcAlpha=this.blendSrcAlpha),null!==this.blendDstAlpha&&(r.blendDstAlpha=this.blendDstAlpha),null!==this.blendEquationAlpha&&(r.blendEquationAlpha=this.blendEquationAlpha),this.blendColor&&this.blendColor.isColor&&(r.blendColor=this.blendColor.getHex()),0!==this.blendAlpha&&(r.blendAlpha=this.blendAlpha),3!==this.depthFunc&&(r.depthFunc=this.depthFunc),!1===this.depthTest&&(r.depthTest=this.depthTest),!1===this.depthWrite&&(r.depthWrite=this.depthWrite),!1===this.colorWrite&&(r.colorWrite=this.colorWrite),255!==this.stencilWriteMask&&(r.stencilWriteMask=this.stencilWriteMask),519!==this.stencilFunc&&(r.stencilFunc=this.stencilFunc),0!==this.stencilRef&&(r.stencilRef=this.stencilRef),255!==this.stencilFuncMask&&(r.stencilFuncMask=this.stencilFuncMask),this.stencilFail!==Jt&&(r.stencilFail=this.stencilFail),this.stencilZFail!==Jt&&(r.stencilZFail=this.stencilZFail),this.stencilZPass!==Jt&&(r.stencilZPass=this.stencilZPass),!0===this.stencilWrite&&(r.stencilWrite=this.stencilWrite),void 0!==this.rotation&&0!==this.rotation&&(r.rotation=this.rotation),!0===this.polygonOffset&&(r.polygonOffset=!0),0!==this.polygonOffsetFactor&&(r.polygonOffsetFactor=this.polygonOffsetFactor),0!==this.polygonOffsetUnits&&(r.polygonOffsetUnits=this.polygonOffsetUnits),void 0!==this.linewidth&&1!==this.linewidth&&(r.linewidth=this.linewidth),void 0!==this.dashSize&&(r.dashSize=this.dashSize),void 0!==this.gapSize&&(r.gapSize=this.gapSize),void 0!==this.scale&&(r.scale=this.scale),!0===this.dithering&&(r.dithering=!0),this.alphaTest>0&&(r.alphaTest=this.alphaTest),!0===this.alphaHash&&(r.alphaHash=!0),!0===this.alphaToCoverage&&(r.alphaToCoverage=!0),!0===this.premultipliedAlpha&&(r.premultipliedAlpha=!0),!0===this.forceSinglePass&&(r.forceSinglePass=!0),!0===this.wireframe&&(r.wireframe=!0),this.wireframeLinewidth>1&&(r.wireframeLinewidth=this.wireframeLinewidth),"round"!==this.wireframeLinecap&&(r.wireframeLinecap=this.wireframeLinecap),"round"!==this.wireframeLinejoin&&(r.wireframeLinejoin=this.wireframeLinejoin),!0===this.flatShading&&(r.flatShading=!0),!1===this.visible&&(r.visible=!1),!1===this.toneMapped&&(r.toneMapped=!1),!1===this.fog&&(r.fog=!1),Object.keys(this.userData).length>0&&(r.userData=this.userData),t){const t=n(e.textures),i=n(e.images);t.length>0&&(r.textures=t),i.length>0&&(r.images=i)}return r}clone(){return(new this.constructor).copy(this)}copy(e){this.name=e.name,this.blending=e.blending,this.side=e.side,this.vertexColors=e.vertexColors,this.opacity=e.opacity,this.transparent=e.transparent,this.blendSrc=e.blendSrc,this.blendDst=e.blendDst,this.blendEquation=e.blendEquation,this.blendSrcAlpha=e.blendSrcAlpha,this.blendDstAlpha=e.blendDstAlpha,this.blendEquationAlpha=e.blendEquationAlpha,this.blendColor.copy(e.blendColor),this.blendAlpha=e.blendAlpha,this.depthFunc=e.depthFunc,this.depthTest=e.depthTest,this.depthWrite=e.depthWrite,this.stencilWriteMask=e.stencilWriteMask,this.stencilFunc=e.stencilFunc,this.stencilRef=e.stencilRef,this.stencilFuncMask=e.stencilFuncMask,this.stencilFail=e.stencilFail,this.stencilZFail=e.stencilZFail,this.stencilZPass=e.stencilZPass,this.stencilWrite=e.stencilWrite;const t=e.clippingPlanes;let r=null;if(null!==t){const e=t.length;r=new Array(e);for(let n=0;n!==e;++n)r[n]=t[n].clone()}return this.clippingPlanes=r,this.clipIntersection=e.clipIntersection,this.clipShadows=e.clipShadows,this.shadowSide=e.shadowSide,this.colorWrite=e.colorWrite,this.precision=e.precision,this.polygonOffset=e.polygonOffset,this.polygonOffsetFactor=e.polygonOffsetFactor,this.polygonOffsetUnits=e.polygonOffsetUnits,this.dithering=e.dithering,this.alphaTest=e.alphaTest,this.alphaHash=e.alphaHash,this.alphaToCoverage=e.alphaToCoverage,this.premultipliedAlpha=e.premultipliedAlpha,this.forceSinglePass=e.forceSinglePass,this.visible=e.visible,this.toneMapped=e.toneMapped,this.userData=JSON.parse(JSON.stringify(e.userData)),this}dispose(){this.dispatchEvent({type:"dispose"})}set needsUpdate(e){!0===e&&this.version++}}class vi extends fi{constructor(e){super(),this.isMeshBasicMaterial=!0,this.type="MeshBasicMaterial",this.color=new mi(16777215),this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.envMapRotation=new Rn,this.combine=0,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.map=e.map,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.specularMap=e.specularMap,this.alphaMap=e.alphaMap,this.envMap=e.envMap,this.envMapRotation.copy(e.envMapRotation),this.combine=e.combine,this.reflectivity=e.reflectivity,this.refractionRatio=e.refractionRatio,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.fog=e.fog,this}}const bi=yi();function yi(){const e=new ArrayBuffer(4),t=new Float32Array(e),r=new Uint32Array(e),n=new Uint32Array(512),i=new Uint32Array(512);for(let e=0;e<256;++e){const t=e-127;t<-27?(n[e]=0,n[256|e]=32768,i[e]=24,i[256|e]=24):t<-14?(n[e]=1024>>-t-14,n[256|e]=1024>>-t-14|32768,i[e]=-t-1,i[256|e]=-t-1):t<=15?(n[e]=t+15<<10,n[256|e]=t+15<<10|32768,i[e]=13,i[256|e]=13):t<128?(n[e]=31744,n[256|e]=64512,i[e]=24,i[256|e]=24):(n[e]=31744,n[256|e]=64512,i[e]=13,i[256|e]=13)}const o=new Uint32Array(2048),s=new Uint32Array(64),a=new Uint32Array(64);for(let e=1;e<1024;++e){let t=e<<13,r=0;for(;!(8388608&t);)t<<=1,r-=8388608;t&=-8388609,r+=947912704,o[e]=t|r}for(let e=1024;e<2048;++e)o[e]=939524096+(e-1024<<13);for(let e=1;e<31;++e)s[e]=e<<23;s[31]=1199570944,s[32]=2147483648;for(let e=33;e<63;++e)s[e]=2147483648+(e-32<<23);s[63]=3347054592;for(let e=1;e<64;++e)32!==e&&(a[e]=1024);return{floatView:t,uint32View:r,baseTable:n,shiftTable:i,mantissaTable:o,exponentTable:s,offsetTable:a}}function $i(e){Math.abs(e)>65504&&console.warn("THREE.DataUtils.toHalfFloat(): Value out of range."),e=dr(e,-65504,65504),bi.floatView[0]=e;const t=bi.uint32View[0],r=t>>23&511;return bi.baseTable[r]+((8388607&t)>>bi.shiftTable[r])}function xi(e){const t=e>>10;return bi.uint32View[0]=bi.mantissaTable[bi.offsetTable[t]+(1023&e)]+bi.exponentTable[t],bi.floatView[0]}class Si{static toHalfFloat(e){return $i(e)}static fromHalfFloat(e){return xi(e)}}const wi=new br,Ai=new fr;let Ci=0;class Ei{constructor(e,t,r=!1){if(Array.isArray(e))throw new TypeError("THREE.BufferAttribute: array should be a Typed Array.");this.isBufferAttribute=!0,Object.defineProperty(this,"id",{value:Ci++}),this.name="",this.array=e,this.itemSize=t,this.count=void 0!==e?e.length/t:0,this.normalized=r,this.usage=tr,this.updateRanges=[],this.gpuType=Ne,this.version=0}onUploadCallback(){}set needsUpdate(e){!0===e&&this.version++}setUsage(e){return this.usage=e,this}addUpdateRange(e,t){this.updateRanges.push({start:e,count:t})}clearUpdateRanges(){this.updateRanges.length=0}copy(e){return this.name=e.name,this.array=new e.array.constructor(e.array),this.itemSize=e.itemSize,this.count=e.count,this.normalized=e.normalized,this.usage=e.usage,this.gpuType=e.gpuType,this}copyAt(e,t,r){e*=this.itemSize,r*=t.itemSize;for(let n=0,i=this.itemSize;n<i;n++)this.array[e+n]=t.array[r+n];return this}copyArray(e){return this.array.set(e),this}applyMatrix3(e){if(2===this.itemSize)for(let t=0,r=this.count;t<r;t++)Ai.fromBufferAttribute(this,t),Ai.applyMatrix3(e),this.setXY(t,Ai.x,Ai.y);else if(3===this.itemSize)for(let t=0,r=this.count;t<r;t++)wi.fromBufferAttribute(this,t),wi.applyMatrix3(e),this.setXYZ(t,wi.x,wi.y,wi.z);return this}applyMatrix4(e){for(let t=0,r=this.count;t<r;t++)wi.fromBufferAttribute(this,t),wi.applyMatrix4(e),this.setXYZ(t,wi.x,wi.y,wi.z);return this}applyNormalMatrix(e){for(let t=0,r=this.count;t<r;t++)wi.fromBufferAttribute(this,t),wi.applyNormalMatrix(e),this.setXYZ(t,wi.x,wi.y,wi.z);return this}transformDirection(e){for(let t=0,r=this.count;t<r;t++)wi.fromBufferAttribute(this,t),wi.transformDirection(e),this.setXYZ(t,wi.x,wi.y,wi.z);return this}set(e,t=0){return this.array.set(e,t),this}getComponent(e,t){let r=this.array[e*this.itemSize+t];return this.normalized&&(r=mr(r,this.array)),r}setComponent(e,t,r){return this.normalized&&(r=_r(r,this.array)),this.array[e*this.itemSize+t]=r,this}getX(e){let t=this.array[e*this.itemSize];return this.normalized&&(t=mr(t,this.array)),t}setX(e,t){return this.normalized&&(t=_r(t,this.array)),this.array[e*this.itemSize]=t,this}getY(e){let t=this.array[e*this.itemSize+1];return this.normalized&&(t=mr(t,this.array)),t}setY(e,t){return this.normalized&&(t=_r(t,this.array)),this.array[e*this.itemSize+1]=t,this}getZ(e){let t=this.array[e*this.itemSize+2];return this.normalized&&(t=mr(t,this.array)),t}setZ(e,t){return this.normalized&&(t=_r(t,this.array)),this.array[e*this.itemSize+2]=t,this}getW(e){let t=this.array[e*this.itemSize+3];return this.normalized&&(t=mr(t,this.array)),t}setW(e,t){return this.normalized&&(t=_r(t,this.array)),this.array[e*this.itemSize+3]=t,this}setXY(e,t,r){return e*=this.itemSize,this.normalized&&(t=_r(t,this.array),r=_r(r,this.array)),this.array[e+0]=t,this.array[e+1]=r,this}setXYZ(e,t,r,n){return e*=this.itemSize,this.normalized&&(t=_r(t,this.array),r=_r(r,this.array),n=_r(n,this.array)),this.array[e+0]=t,this.array[e+1]=r,this.array[e+2]=n,this}setXYZW(e,t,r,n,i){return e*=this.itemSize,this.normalized&&(t=_r(t,this.array),r=_r(r,this.array),n=_r(n,this.array),i=_r(i,this.array)),this.array[e+0]=t,this.array[e+1]=r,this.array[e+2]=n,this.array[e+3]=i,this}onUpload(e){return this.onUploadCallback=e,this}clone(){return new this.constructor(this.array,this.itemSize).copy(this)}toJSON(){const e={itemSize:this.itemSize,type:this.array.constructor.name,array:Array.from(this.array),normalized:this.normalized};return""!==this.name&&(e.name=this.name),this.usage!==tr&&(e.usage=this.usage),e}}class Ii extends Ei{constructor(e,t,r){super(new Uint16Array(e),t,r)}}class Mi extends Ei{constructor(e,t,r){super(new Uint32Array(e),t,r)}}class ki extends Ei{constructor(e,t,r){super(new Float32Array(e),t,r)}}let Ti=0;const Ri=new xn,Li=new qn,Pi=new br,Di=new Qr,Ni=new Qr,Fi=new br;class Oi extends or{constructor(){super(),this.isBufferGeometry=!0,Object.defineProperty(this,"id",{value:Ti++}),this.uuid=ur(),this.name="",this.type="BufferGeometry",this.index=null,this.indirect=null,this.attributes={},this.morphAttributes={},this.morphTargetsRelative=!1,this.groups=[],this.boundingBox=null,this.boundingSphere=null,this.drawRange={start:0,count:1/0},this.userData={}}getIndex(){return this.index}setIndex(e){return Array.isArray(e)?this.index=new(wr(e)?Mi:Ii)(e,1):this.index=e,this}setIndirect(e){return this.indirect=e,this}getIndirect(){return this.indirect}getAttribute(e){return this.attributes[e]}setAttribute(e,t){return this.attributes[e]=t,this}deleteAttribute(e){return delete this.attributes[e],this}hasAttribute(e){return void 0!==this.attributes[e]}addGroup(e,t,r=0){this.groups.push({start:e,count:t,materialIndex:r})}clearGroups(){this.groups=[]}setDrawRange(e,t){this.drawRange.start=e,this.drawRange.count=t}applyMatrix4(e){const t=this.attributes.position;void 0!==t&&(t.applyMatrix4(e),t.needsUpdate=!0);const r=this.attributes.normal;if(void 0!==r){const t=(new xr).getNormalMatrix(e);r.applyNormalMatrix(t),r.needsUpdate=!0}const n=this.attributes.tangent;return void 0!==n&&(n.transformDirection(e),n.needsUpdate=!0),null!==this.boundingBox&&this.computeBoundingBox(),null!==this.boundingSphere&&this.computeBoundingSphere(),this}applyQuaternion(e){return Ri.makeRotationFromQuaternion(e),this.applyMatrix4(Ri),this}rotateX(e){return Ri.makeRotationX(e),this.applyMatrix4(Ri),this}rotateY(e){return Ri.makeRotationY(e),this.applyMatrix4(Ri),this}rotateZ(e){return Ri.makeRotationZ(e),this.applyMatrix4(Ri),this}translate(e,t,r){return Ri.makeTranslation(e,t,r),this.applyMatrix4(Ri),this}scale(e,t,r){return Ri.makeScale(e,t,r),this.applyMatrix4(Ri),this}lookAt(e){return Li.lookAt(e),Li.updateMatrix(),this.applyMatrix4(Li.matrix),this}center(){return this.computeBoundingBox(),this.boundingBox.getCenter(Pi).negate(),this.translate(Pi.x,Pi.y,Pi.z),this}setFromPoints(e){const t=this.getAttribute("position");if(void 0===t){const t=[];for(let r=0,n=e.length;r<n;r++){const n=e[r];t.push(n.x,n.y,n.z||0)}this.setAttribute("position",new ki(t,3))}else{const r=Math.min(e.length,t.count);for(let n=0;n<r;n++){const r=e[n];t.setXYZ(n,r.x,r.y,r.z||0)}e.length>t.count&&console.warn("THREE.BufferGeometry: Buffer size too small for points data. Use .dispose() and create a new geometry."),t.needsUpdate=!0}return this}computeBoundingBox(){null===this.boundingBox&&(this.boundingBox=new Qr);const e=this.attributes.position,t=this.morphAttributes.position;if(e&&e.isGLBufferAttribute)return console.error("THREE.BufferGeometry.computeBoundingBox(): GLBufferAttribute requires a manual bounding box.",this),void this.boundingBox.set(new br(-1/0,-1/0,-1/0),new br(1/0,1/0,1/0));if(void 0!==e){if(this.boundingBox.setFromBufferAttribute(e),t)for(let e=0,r=t.length;e<r;e++){const r=t[e];Di.setFromBufferAttribute(r),this.morphTargetsRelative?(Fi.addVectors(this.boundingBox.min,Di.min),this.boundingBox.expandByPoint(Fi),Fi.addVectors(this.boundingBox.max,Di.max),this.boundingBox.expandByPoint(Fi)):(this.boundingBox.expandByPoint(Di.min),this.boundingBox.expandByPoint(Di.max))}}else this.boundingBox.makeEmpty();(isNaN(this.boundingBox.min.x)||isNaN(this.boundingBox.min.y)||isNaN(this.boundingBox.min.z))&&console.error('THREE.BufferGeometry.computeBoundingBox(): Computed min/max have NaN values. The "position" attribute is likely to have NaN values.',this)}computeBoundingSphere(){null===this.boundingSphere&&(this.boundingSphere=new pn);const e=this.attributes.position,t=this.morphAttributes.position;if(e&&e.isGLBufferAttribute)return console.error("THREE.BufferGeometry.computeBoundingSphere(): GLBufferAttribute requires a manual bounding sphere.",this),void this.boundingSphere.set(new br,1/0);if(e){const r=this.boundingSphere.center;if(Di.setFromBufferAttribute(e),t)for(let e=0,r=t.length;e<r;e++){const r=t[e];Ni.setFromBufferAttribute(r),this.morphTargetsRelative?(Fi.addVectors(Di.min,Ni.min),Di.expandByPoint(Fi),Fi.addVectors(Di.max,Ni.max),Di.expandByPoint(Fi)):(Di.expandByPoint(Ni.min),Di.expandByPoint(Ni.max))}Di.getCenter(r);let n=0;for(let t=0,i=e.count;t<i;t++)Fi.fromBufferAttribute(e,t),n=Math.max(n,r.distanceToSquared(Fi));if(t)for(let i=0,o=t.length;i<o;i++){const o=t[i],s=this.morphTargetsRelative;for(let t=0,i=o.count;t<i;t++)Fi.fromBufferAttribute(o,t),s&&(Pi.fromBufferAttribute(e,t),Fi.add(Pi)),n=Math.max(n,r.distanceToSquared(Fi))}this.boundingSphere.radius=Math.sqrt(n),isNaN(this.boundingSphere.radius)&&console.error('THREE.BufferGeometry.computeBoundingSphere(): Computed radius is NaN. The "position" attribute is likely to have NaN values.',this)}}computeTangents(){const e=this.index,t=this.attributes;if(null===e||void 0===t.position||void 0===t.normal||void 0===t.uv)return void console.error("THREE.BufferGeometry: .computeTangents() failed. Missing required attributes (index, position, normal or uv)");const r=t.position,n=t.normal,i=t.uv;!1===this.hasAttribute("tangent")&&this.setAttribute("tangent",new Ei(new Float32Array(4*r.count),4));const o=this.getAttribute("tangent"),s=[],a=[];for(let e=0;e<r.count;e++)s[e]=new br,a[e]=new br;const l=new br,c=new br,u=new br,d=new fr,h=new fr,p=new fr,m=new br,_=new br;function g(e,t,n){l.fromBufferAttribute(r,e),c.fromBufferAttribute(r,t),u.fromBufferAttribute(r,n),d.fromBufferAttribute(i,e),h.fromBufferAttribute(i,t),p.fromBufferAttribute(i,n),c.sub(l),u.sub(l),h.sub(d),p.sub(d);const o=1/(h.x*p.y-p.x*h.y);isFinite(o)&&(m.copy(c).multiplyScalar(p.y).addScaledVector(u,-h.y).multiplyScalar(o),_.copy(u).multiplyScalar(h.x).addScaledVector(c,-p.x).multiplyScalar(o),s[e].add(m),s[t].add(m),s[n].add(m),a[e].add(_),a[t].add(_),a[n].add(_))}let f=this.groups;0===f.length&&(f=[{start:0,count:e.count}]);for(let t=0,r=f.length;t<r;++t){const r=f[t],n=r.start;for(let t=n,i=n+r.count;t<i;t+=3)g(e.getX(t+0),e.getX(t+1),e.getX(t+2))}const v=new br,b=new br,y=new br,$=new br;function x(e){y.fromBufferAttribute(n,e),$.copy(y);const t=s[e];v.copy(t),v.sub(y.multiplyScalar(y.dot(t))).normalize(),b.crossVectors($,t);const r=b.dot(a[e])<0?-1:1;o.setXYZW(e,v.x,v.y,v.z,r)}for(let t=0,r=f.length;t<r;++t){const r=f[t],n=r.start;for(let t=n,i=n+r.count;t<i;t+=3)x(e.getX(t+0)),x(e.getX(t+1)),x(e.getX(t+2))}}computeVertexNormals(){const e=this.index,t=this.getAttribute("position");if(void 0!==t){let r=this.getAttribute("normal");if(void 0===r)r=new Ei(new Float32Array(3*t.count),3),this.setAttribute("normal",r);else for(let e=0,t=r.count;e<t;e++)r.setXYZ(e,0,0,0);const n=new br,i=new br,o=new br,s=new br,a=new br,l=new br,c=new br,u=new br;if(e)for(let d=0,h=e.count;d<h;d+=3){const h=e.getX(d+0),p=e.getX(d+1),m=e.getX(d+2);n.fromBufferAttribute(t,h),i.fromBufferAttribute(t,p),o.fromBufferAttribute(t,m),c.subVectors(o,i),u.subVectors(n,i),c.cross(u),s.fromBufferAttribute(r,h),a.fromBufferAttribute(r,p),l.fromBufferAttribute(r,m),s.add(c),a.add(c),l.add(c),r.setXYZ(h,s.x,s.y,s.z),r.setXYZ(p,a.x,a.y,a.z),r.setXYZ(m,l.x,l.y,l.z)}else for(let e=0,s=t.count;e<s;e+=3)n.fromBufferAttribute(t,e+0),i.fromBufferAttribute(t,e+1),o.fromBufferAttribute(t,e+2),c.subVectors(o,i),u.subVectors(n,i),c.cross(u),r.setXYZ(e+0,c.x,c.y,c.z),r.setXYZ(e+1,c.x,c.y,c.z),r.setXYZ(e+2,c.x,c.y,c.z);this.normalizeNormals(),r.needsUpdate=!0}}normalizeNormals(){const e=this.attributes.normal;for(let t=0,r=e.count;t<r;t++)Fi.fromBufferAttribute(e,t),Fi.normalize(),e.setXYZ(t,Fi.x,Fi.y,Fi.z)}toNonIndexed(){function e(e,t){const r=e.array,n=e.itemSize,i=e.normalized,o=new r.constructor(t.length*n);let s=0,a=0;for(let i=0,l=t.length;i<l;i++){s=e.isInterleavedBufferAttribute?t[i]*e.data.stride+e.offset:t[i]*n;for(let e=0;e<n;e++)o[a++]=r[s++]}return new Ei(o,n,i)}if(null===this.index)return console.warn("THREE.BufferGeometry.toNonIndexed(): BufferGeometry is already non-indexed."),this;const t=new Oi,r=this.index.array,n=this.attributes;for(const i in n){const o=e(n[i],r);t.setAttribute(i,o)}const i=this.morphAttributes;for(const n in i){const o=[],s=i[n];for(let t=0,n=s.length;t<n;t++){const n=e(s[t],r);o.push(n)}t.morphAttributes[n]=o}t.morphTargetsRelative=this.morphTargetsRelative;const o=this.groups;for(let e=0,r=o.length;e<r;e++){const r=o[e];t.addGroup(r.start,r.count,r.materialIndex)}return t}toJSON(){const e={metadata:{version:4.7,type:"BufferGeometry",generator:"BufferGeometry.toJSON"}};if(e.uuid=this.uuid,e.type=this.type,""!==this.name&&(e.name=this.name),Object.keys(this.userData).length>0&&(e.userData=this.userData),void 0!==this.parameters){const t=this.parameters;for(const r in t)void 0!==t[r]&&(e[r]=t[r]);return e}e.data={attributes:{}};const t=this.index;null!==t&&(e.data.index={type:t.array.constructor.name,array:Array.prototype.slice.call(t.array)});const r=this.attributes;for(const t in r){const n=r[t];e.data.attributes[t]=n.toJSON(e.data)}const n={};let i=!1;for(const t in this.morphAttributes){const r=this.morphAttributes[t],o=[];for(let t=0,n=r.length;t<n;t++){const n=r[t];o.push(n.toJSON(e.data))}o.length>0&&(n[t]=o,i=!0)}i&&(e.data.morphAttributes=n,e.data.morphTargetsRelative=this.morphTargetsRelative);const o=this.groups;o.length>0&&(e.data.groups=JSON.parse(JSON.stringify(o)));const s=this.boundingSphere;return null!==s&&(e.data.boundingSphere=s.toJSON()),e}clone(){return(new this.constructor).copy(this)}copy(e){this.index=null,this.attributes={},this.morphAttributes={},this.groups=[],this.boundingBox=null,this.boundingSphere=null;const t={};this.name=e.name;const r=e.index;null!==r&&this.setIndex(r.clone());const n=e.attributes;for(const e in n){const r=n[e];this.setAttribute(e,r.clone(t))}const i=e.morphAttributes;for(const e in i){const r=[],n=i[e];for(let e=0,i=n.length;e<i;e++)r.push(n[e].clone(t));this.morphAttributes[e]=r}this.morphTargetsRelative=e.morphTargetsRelative;const o=e.groups;for(let e=0,t=o.length;e<t;e++){const t=o[e];this.addGroup(t.start,t.count,t.materialIndex)}const s=e.boundingBox;null!==s&&(this.boundingBox=s.clone());const a=e.boundingSphere;return null!==a&&(this.boundingSphere=a.clone()),this.drawRange.start=e.drawRange.start,this.drawRange.count=e.drawRange.count,this.userData=e.userData,this}dispose(){this.dispatchEvent({type:"dispose"})}}const Bi=new xn,Ui=new $n,Vi=new pn,zi=new br,Hi=new br,Gi=new br,ji=new br,Ji=new br,Wi=new br,Qi=new br,qi=new br;class Yi extends qn{constructor(e=new Oi,t=new vi){super(),this.isMesh=!0,this.type="Mesh",this.geometry=e,this.material=t,this.morphTargetDictionary=void 0,this.morphTargetInfluences=void 0,this.count=1,this.updateMorphTargets()}copy(e,t){return super.copy(e,t),void 0!==e.morphTargetInfluences&&(this.morphTargetInfluences=e.morphTargetInfluences.slice()),void 0!==e.morphTargetDictionary&&(this.morphTargetDictionary=Object.assign({},e.morphTargetDictionary)),this.material=Array.isArray(e.material)?e.material.slice():e.material,this.geometry=e.geometry,this}updateMorphTargets(){const e=this.geometry.morphAttributes,t=Object.keys(e);if(t.length>0){const r=e[t[0]];if(void 0!==r){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let e=0,t=r.length;e<t;e++){const t=r[e].name||String(e);this.morphTargetInfluences.push(0),this.morphTargetDictionary[t]=e}}}}getVertexPosition(e,t){const r=this.geometry,n=r.attributes.position,i=r.morphAttributes.position,o=r.morphTargetsRelative;t.fromBufferAttribute(n,e);const s=this.morphTargetInfluences;if(i&&s){Wi.set(0,0,0);for(let r=0,n=i.length;r<n;r++){const n=s[r],a=i[r];0!==n&&(Ji.fromBufferAttribute(a,e),o?Wi.addScaledVector(Ji,n):Wi.addScaledVector(Ji.sub(t),n))}t.add(Wi)}return t}raycast(e,t){const r=this.geometry,n=this.material,i=this.matrixWorld;if(void 0!==n){if(null===r.boundingSphere&&r.computeBoundingSphere(),Vi.copy(r.boundingSphere),Vi.applyMatrix4(i),Ui.copy(e.ray).recast(e.near),!1===Vi.containsPoint(Ui.origin)){if(null===Ui.intersectSphere(Vi,zi))return;if(Ui.origin.distanceToSquared(zi)>(e.far-e.near)**2)return}Bi.copy(i).invert(),Ui.copy(e.ray).applyMatrix4(Bi),null!==r.boundingBox&&!1===Ui.intersectsBox(r.boundingBox)||this._computeIntersections(e,t,Ui)}}_computeIntersections(e,t,r){let n;const i=this.geometry,o=this.material,s=i.index,a=i.attributes.position,l=i.attributes.uv,c=i.attributes.uv1,u=i.attributes.normal,d=i.groups,h=i.drawRange;if(null!==s)if(Array.isArray(o))for(let i=0,a=d.length;i<a;i++){const a=d[i],p=o[a.materialIndex];for(let i=Math.max(a.start,h.start),o=Math.min(s.count,Math.min(a.start+a.count,h.start+h.count));i<o;i+=3){n=Xi(this,p,e,r,l,c,u,s.getX(i),s.getX(i+1),s.getX(i+2)),n&&(n.faceIndex=Math.floor(i/3),n.face.materialIndex=a.materialIndex,t.push(n))}}else{for(let i=Math.max(0,h.start),a=Math.min(s.count,h.start+h.count);i<a;i+=3){n=Xi(this,o,e,r,l,c,u,s.getX(i),s.getX(i+1),s.getX(i+2)),n&&(n.faceIndex=Math.floor(i/3),t.push(n))}}else if(void 0!==a)if(Array.isArray(o))for(let i=0,s=d.length;i<s;i++){const s=d[i],p=o[s.materialIndex];for(let i=Math.max(s.start,h.start),o=Math.min(a.count,Math.min(s.start+s.count,h.start+h.count));i<o;i+=3){n=Xi(this,p,e,r,l,c,u,i,i+1,i+2),n&&(n.faceIndex=Math.floor(i/3),n.face.materialIndex=s.materialIndex,t.push(n))}}else{for(let i=Math.max(0,h.start),s=Math.min(a.count,h.start+h.count);i<s;i+=3){n=Xi(this,o,e,r,l,c,u,i,i+1,i+2),n&&(n.faceIndex=Math.floor(i/3),t.push(n))}}}}function Xi(e,t,r,n,i,o,s,a,l,c){e.getVertexPosition(a,Hi),e.getVertexPosition(l,Gi),e.getVertexPosition(c,ji);const u=function(e,t,r,n,i,o,s,a){let l;if(l=1===t.side?n.intersectTriangle(s,o,i,!0,a):n.intersectTriangle(i,o,s,0===t.side,a),null===l)return null;qi.copy(a),qi.applyMatrix4(e.matrixWorld);const c=r.ray.origin.distanceTo(qi);return c<r.near||c>r.far?null:{distance:c,point:qi.clone(),object:e}}(e,t,r,n,Hi,Gi,ji,Qi);if(u){const e=new br;ci.getBarycoord(Qi,Hi,Gi,ji,e),i&&(u.uv=ci.getInterpolatedAttribute(i,a,l,c,e,new fr)),o&&(u.uv1=ci.getInterpolatedAttribute(o,a,l,c,e,new fr)),s&&(u.normal=ci.getInterpolatedAttribute(s,a,l,c,e,new br),u.normal.dot(n.direction)>0&&u.normal.multiplyScalar(-1));const t={a:a,b:l,c:c,normal:new br,materialIndex:0};ci.getNormal(Hi,Gi,ji,t.normal),u.face=t,u.barycoord=e}return u}class Ki extends Oi{constructor(e=1,t=1,r=1,n=1,i=1,o=1){super(),this.type="BoxGeometry",this.parameters={width:e,height:t,depth:r,widthSegments:n,heightSegments:i,depthSegments:o};const s=this;n=Math.floor(n),i=Math.floor(i),o=Math.floor(o);const a=[],l=[],c=[],u=[];let d=0,h=0;function p(e,t,r,n,i,o,p,m,_,g,f){const v=o/_,b=p/g,y=o/2,$=p/2,x=m/2,S=_+1,w=g+1;let A=0,C=0;const E=new br;for(let o=0;o<w;o++){const s=o*b-$;for(let a=0;a<S;a++){const d=a*v-y;E[e]=d*n,E[t]=s*i,E[r]=x,l.push(E.x,E.y,E.z),E[e]=0,E[t]=0,E[r]=m>0?1:-1,c.push(E.x,E.y,E.z),u.push(a/_),u.push(1-o/g),A+=1}}for(let e=0;e<g;e++)for(let t=0;t<_;t++){const r=d+t+S*e,n=d+t+S*(e+1),i=d+(t+1)+S*(e+1),o=d+(t+1)+S*e;a.push(r,n,o),a.push(n,i,o),C+=6}s.addGroup(h,C,f),h+=C,d+=A}p("z","y","x",-1,-1,r,t,e,o,i,0),p("z","y","x",1,-1,r,t,-e,o,i,1),p("x","z","y",1,1,e,r,t,n,o,2),p("x","z","y",1,-1,e,r,-t,n,o,3),p("x","y","z",1,-1,e,t,r,n,i,4),p("x","y","z",-1,-1,e,t,-r,n,i,5),this.setIndex(a),this.setAttribute("position",new ki(l,3)),this.setAttribute("normal",new ki(c,3)),this.setAttribute("uv",new ki(u,2))}copy(e){return super.copy(e),this.parameters=Object.assign({},e.parameters),this}static fromJSON(e){return new Ki(e.width,e.height,e.depth,e.widthSegments,e.heightSegments,e.depthSegments)}}function Zi(e){const t={};for(const r in e){t[r]={};for(const n in e[r]){const i=e[r][n];i&&(i.isColor||i.isMatrix3||i.isMatrix4||i.isVector2||i.isVector3||i.isVector4||i.isTexture||i.isQuaternion)?i.isRenderTargetTexture?(console.warn("UniformsUtils: Textures of render targets cannot be cloned via cloneUniforms() or mergeUniforms()."),t[r][n]=null):t[r][n]=i.clone():Array.isArray(i)?t[r][n]=i.slice():t[r][n]=i}}return t}function eo(e){const t={};for(let r=0;r<e.length;r++){const n=Zi(e[r]);for(const e in n)t[e]=n[e]}return t}function to(e){const t=e.getRenderTarget();return null===t?e.outputColorSpace:!0===t.isXRRenderTarget?t.texture.colorSpace:Rr.workingColorSpace}const ro={clone:Zi,merge:eo};class no extends fi{constructor(e){super(),this.isShaderMaterial=!0,this.type="ShaderMaterial",this.defines={},this.uniforms={},this.uniformsGroups=[],this.vertexShader="\nvoid main() {\n\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n}\n",this.fragmentShader="\nvoid main() {\n\tgl_FragColor = vec4( 1.0, 0.0, 0.0, 1.0 );\n}\n",this.linewidth=1,this.wireframe=!1,this.wireframeLinewidth=1,this.fog=!1,this.lights=!1,this.clipping=!1,this.forceSinglePass=!0,this.extensions={clipCullDistance:!1,multiDraw:!1},this.defaultAttributeValues={color:[1,1,1],uv:[0,0],uv1:[0,0]},this.index0AttributeName=void 0,this.uniformsNeedUpdate=!1,this.glslVersion=null,void 0!==e&&this.setValues(e)}copy(e){return super.copy(e),this.fragmentShader=e.fragmentShader,this.vertexShader=e.vertexShader,this.uniforms=Zi(e.uniforms),this.uniformsGroups=function(e){const t=[];for(let r=0;r<e.length;r++)t.push(e[r].clone());return t}(e.uniformsGroups),this.defines=Object.assign({},e.defines),this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.fog=e.fog,this.lights=e.lights,this.clipping=e.clipping,this.extensions=Object.assign({},e.extensions),this.glslVersion=e.glslVersion,this}toJSON(e){const t=super.toJSON(e);t.glslVersion=this.glslVersion,t.uniforms={};for(const r in this.uniforms){const n=this.uniforms[r].value;n&&n.isTexture?t.uniforms[r]={type:"t",value:n.toJSON(e).uuid}:n&&n.isColor?t.uniforms[r]={type:"c",value:n.getHex()}:n&&n.isVector2?t.uniforms[r]={type:"v2",value:n.toArray()}:n&&n.isVector3?t.uniforms[r]={type:"v3",value:n.toArray()}:n&&n.isVector4?t.uniforms[r]={type:"v4",value:n.toArray()}:n&&n.isMatrix3?t.uniforms[r]={type:"m3",value:n.toArray()}:n&&n.isMatrix4?t.uniforms[r]={type:"m4",value:n.toArray()}:t.uniforms[r]={value:n}}Object.keys(this.defines).length>0&&(t.defines=this.defines),t.vertexShader=this.vertexShader,t.fragmentShader=this.fragmentShader,t.lights=this.lights,t.clipping=this.clipping;const r={};for(const e in this.extensions)!0===this.extensions[e]&&(r[e]=!0);return Object.keys(r).length>0&&(t.extensions=r),t}}class io extends qn{constructor(){super(),this.isCamera=!0,this.type="Camera",this.matrixWorldInverse=new xn,this.projectionMatrix=new xn,this.projectionMatrixInverse=new xn,this.coordinateSystem=nr,this._reversedDepth=!1}get reversedDepth(){return this._reversedDepth}copy(e,t){return super.copy(e,t),this.matrixWorldInverse.copy(e.matrixWorldInverse),this.projectionMatrix.copy(e.projectionMatrix),this.projectionMatrixInverse.copy(e.projectionMatrixInverse),this.coordinateSystem=e.coordinateSystem,this}getWorldDirection(e){return super.getWorldDirection(e).negate()}updateMatrixWorld(e){super.updateMatrixWorld(e),this.matrixWorldInverse.copy(this.matrixWorld).invert()}updateWorldMatrix(e,t){super.updateWorldMatrix(e,t),this.matrixWorldInverse.copy(this.matrixWorld).invert()}clone(){return(new this.constructor).copy(this)}}const oo=new br,so=new fr,ao=new fr;class lo extends io{constructor(e=50,t=1,r=.1,n=2e3){super(),this.isPerspectiveCamera=!0,this.type="PerspectiveCamera",this.fov=e,this.zoom=1,this.near=r,this.far=n,this.focus=10,this.aspect=t,this.view=null,this.filmGauge=35,this.filmOffset=0,this.updateProjectionMatrix()}copy(e,t){return super.copy(e,t),this.fov=e.fov,this.zoom=e.zoom,this.near=e.near,this.far=e.far,this.focus=e.focus,this.aspect=e.aspect,this.view=null===e.view?null:Object.assign({},e.view),this.filmGauge=e.filmGauge,this.filmOffset=e.filmOffset,this}setFocalLength(e){const t=.5*this.getFilmHeight()/e;this.fov=2*cr*Math.atan(t),this.updateProjectionMatrix()}getFocalLength(){const e=Math.tan(.5*lr*this.fov);return.5*this.getFilmHeight()/e}getEffectiveFOV(){return 2*cr*Math.atan(Math.tan(.5*lr*this.fov)/this.zoom)}getFilmWidth(){return this.filmGauge*Math.min(this.aspect,1)}getFilmHeight(){return this.filmGauge/Math.max(this.aspect,1)}getViewBounds(e,t,r){oo.set(-1,-1,.5).applyMatrix4(this.projectionMatrixInverse),t.set(oo.x,oo.y).multiplyScalar(-e/oo.z),oo.set(1,1,.5).applyMatrix4(this.projectionMatrixInverse),r.set(oo.x,oo.y).multiplyScalar(-e/oo.z)}getViewSize(e,t){return this.getViewBounds(e,so,ao),t.subVectors(ao,so)}setViewOffset(e,t,r,n,i,o){this.aspect=e/t,null===this.view&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=e,this.view.fullHeight=t,this.view.offsetX=r,this.view.offsetY=n,this.view.width=i,this.view.height=o,this.updateProjectionMatrix()}clearViewOffset(){null!==this.view&&(this.view.enabled=!1),this.updateProjectionMatrix()}updateProjectionMatrix(){const e=this.near;let t=e*Math.tan(.5*lr*this.fov)/this.zoom,r=2*t,n=this.aspect*r,i=-.5*n;const o=this.view;if(null!==this.view&&this.view.enabled){const e=o.fullWidth,s=o.fullHeight;i+=o.offsetX*n/e,t-=o.offsetY*r/s,n*=o.width/e,r*=o.height/s}const s=this.filmOffset;0!==s&&(i+=e*s/this.getFilmWidth()),this.projectionMatrix.makePerspective(i,i+n,t,t-r,e,this.far,this.coordinateSystem,this.reversedDepth),this.projectionMatrixInverse.copy(this.projectionMatrix).invert()}toJSON(e){const t=super.toJSON(e);return t.object.fov=this.fov,t.object.zoom=this.zoom,t.object.near=this.near,t.object.far=this.far,t.object.focus=this.focus,t.object.aspect=this.aspect,null!==this.view&&(t.object.view=Object.assign({},this.view)),t.object.filmGauge=this.filmGauge,t.object.filmOffset=this.filmOffset,t}}const co=-90;class uo extends qn{constructor(e,t,r){super(),this.type="CubeCamera",this.renderTarget=r,this.coordinateSystem=null,this.activeMipmapLevel=0;const n=new lo(co,1,e,t);n.layers=this.layers,this.add(n);const i=new lo(co,1,e,t);i.layers=this.layers,this.add(i);const o=new lo(co,1,e,t);o.layers=this.layers,this.add(o);const s=new lo(co,1,e,t);s.layers=this.layers,this.add(s);const a=new lo(co,1,e,t);a.layers=this.layers,this.add(a);const l=new lo(co,1,e,t);l.layers=this.layers,this.add(l)}updateCoordinateSystem(){const e=this.coordinateSystem,t=this.children.concat(),[r,n,i,o,s,a]=t;for(const e of t)this.remove(e);if(e===nr)r.up.set(0,1,0),r.lookAt(1,0,0),n.up.set(0,1,0),n.lookAt(-1,0,0),i.up.set(0,0,-1),i.lookAt(0,1,0),o.up.set(0,0,1),o.lookAt(0,-1,0),s.up.set(0,1,0),s.lookAt(0,0,1),a.up.set(0,1,0),a.lookAt(0,0,-1);else{if(e!==ir)throw new Error("THREE.CubeCamera.updateCoordinateSystem(): Invalid coordinate system: "+e);r.up.set(0,-1,0),r.lookAt(-1,0,0),n.up.set(0,-1,0),n.lookAt(1,0,0),i.up.set(0,0,1),i.lookAt(0,1,0),o.up.set(0,0,-1),o.lookAt(0,-1,0),s.up.set(0,-1,0),s.lookAt(0,0,1),a.up.set(0,-1,0),a.lookAt(0,0,-1)}for(const e of t)this.add(e),e.updateMatrixWorld()}update(e,t){null===this.parent&&this.updateMatrixWorld();const{renderTarget:r,activeMipmapLevel:n}=this;this.coordinateSystem!==e.coordinateSystem&&(this.coordinateSystem=e.coordinateSystem,this.updateCoordinateSystem());const[i,o,s,a,l,c]=this.children,u=e.getRenderTarget(),d=e.getActiveCubeFace(),h=e.getActiveMipmapLevel(),p=e.xr.enabled;e.xr.enabled=!1;const m=r.texture.generateMipmaps;r.texture.generateMipmaps=!1,e.setRenderTarget(r,0,n),e.render(t,i),e.setRenderTarget(r,1,n),e.render(t,o),e.setRenderTarget(r,2,n),e.render(t,s),e.setRenderTarget(r,3,n),e.render(t,a),e.setRenderTarget(r,4,n),e.render(t,l),r.texture.generateMipmaps=m,e.setRenderTarget(r,5,n),e.render(t,c),e.setRenderTarget(u,d,h),e.xr.enabled=p,r.texture.needsPMREMUpdate=!0}}class ho extends zr{constructor(e=[],t=301,r,n,i,o,s,a,l,c){super(e,t,r,n,i,o,s,a,l,c),this.isCubeTexture=!0,this.flipY=!1}get images(){return this.image}set images(e){this.image=e}}class po extends jr{constructor(e=1,t={}){super(e,e,t),this.isWebGLCubeRenderTarget=!0;const r={width:e,height:e,depth:1},n=[r,r,r,r,r,r];this.texture=new ho(n),this._setTextureOptions(t),this.texture.isRenderTargetTexture=!0}fromEquirectangularTexture(e,t){this.texture.type=t.type,this.texture.colorSpace=t.colorSpace,this.texture.generateMipmaps=t.generateMipmaps,this.texture.minFilter=t.minFilter,this.texture.magFilter=t.magFilter;const r={uniforms:{tEquirect:{value:null}},vertexShader:"\n\n\t\t\t\tvarying vec3 vWorldDirection;\n\n\t\t\t\tvec3 transformDirection( in vec3 dir, in mat4 matrix ) {\n\n\t\t\t\t\treturn normalize( ( matrix * vec4( dir, 0.0 ) ).xyz );\n\n\t\t\t\t}\n\n\t\t\t\tvoid main() {\n\n\t\t\t\t\tvWorldDirection = transformDirection( position, modelMatrix );\n\n\t\t\t\t\t#include <begin_vertex>\n\t\t\t\t\t#include <project_vertex>\n\n\t\t\t\t}\n\t\t\t",fragmentShader:"\n\n\t\t\t\tuniform sampler2D tEquirect;\n\n\t\t\t\tvarying vec3 vWorldDirection;\n\n\t\t\t\t#include <common>\n\n\t\t\t\tvoid main() {\n\n\t\t\t\t\tvec3 direction = normalize( vWorldDirection );\n\n\t\t\t\t\tvec2 sampleUV = equirectUv( direction );\n\n\t\t\t\t\tgl_FragColor = texture2D( tEquirect, sampleUV );\n\n\t\t\t\t}\n\t\t\t"},n=new Ki(5,5,5),i=new no({name:"CubemapFromEquirect",uniforms:Zi(r.uniforms),vertexShader:r.vertexShader,fragmentShader:r.fragmentShader,side:1,blending:0});i.uniforms.tEquirect.value=t;const o=new Yi(n,i),s=t.minFilter;t.minFilter===Ie&&(t.minFilter=Ce);return new uo(1,10,this).update(e,o),t.minFilter=s,o.geometry.dispose(),o.material.dispose(),this}clear(e,t=!0,r=!0,n=!0){const i=e.getRenderTarget();for(let i=0;i<6;i++)e.setRenderTarget(this,i),e.clear(t,r,n);e.setRenderTarget(i)}}class mo extends qn{constructor(){super(),this.isGroup=!0,this.type="Group"}}const _o={type:"move"};class go{constructor(){this._targetRay=null,this._grip=null,this._hand=null}getHandSpace(){return null===this._hand&&(this._hand=new mo,this._hand.matrixAutoUpdate=!1,this._hand.visible=!1,this._hand.joints={},this._hand.inputState={pinching:!1}),this._hand}getTargetRaySpace(){return null===this._targetRay&&(this._targetRay=new mo,this._targetRay.matrixAutoUpdate=!1,this._targetRay.visible=!1,this._targetRay.hasLinearVelocity=!1,this._targetRay.linearVelocity=new br,this._targetRay.hasAngularVelocity=!1,this._targetRay.angularVelocity=new br),this._targetRay}getGripSpace(){return null===this._grip&&(this._grip=new mo,this._grip.matrixAutoUpdate=!1,this._grip.visible=!1,this._grip.hasLinearVelocity=!1,this._grip.linearVelocity=new br,this._grip.hasAngularVelocity=!1,this._grip.angularVelocity=new br),this._grip}dispatchEvent(e){return null!==this._targetRay&&this._targetRay.dispatchEvent(e),null!==this._grip&&this._grip.dispatchEvent(e),null!==this._hand&&this._hand.dispatchEvent(e),this}connect(e){if(e&&e.hand){const t=this._hand;if(t)for(const r of e.hand.values())this._getHandJoint(t,r)}return this.dispatchEvent({type:"connected",data:e}),this}disconnect(e){return this.dispatchEvent({type:"disconnected",data:e}),null!==this._targetRay&&(this._targetRay.visible=!1),null!==this._grip&&(this._grip.visible=!1),null!==this._hand&&(this._hand.visible=!1),this}update(e,t,r){let n=null,i=null,o=null;const s=this._targetRay,a=this._grip,l=this._hand;if(e&&"visible-blurred"!==t.session.visibilityState){if(l&&e.hand){o=!0;for(const n of e.hand.values()){const e=t.getJointPose(n,r),i=this._getHandJoint(l,n);null!==e&&(i.matrix.fromArray(e.transform.matrix),i.matrix.decompose(i.position,i.rotation,i.scale),i.matrixWorldNeedsUpdate=!0,i.jointRadius=e.radius),i.visible=null!==e}const n=l.joints["index-finger-tip"],i=l.joints["thumb-tip"],s=n.position.distanceTo(i.position),a=.02,c=.005;l.inputState.pinching&&s>a+c?(l.inputState.pinching=!1,this.dispatchEvent({type:"pinchend",handedness:e.handedness,target:this})):!l.inputState.pinching&&s<=a-c&&(l.inputState.pinching=!0,this.dispatchEvent({type:"pinchstart",handedness:e.handedness,target:this}))}else null!==a&&e.gripSpace&&(i=t.getPose(e.gripSpace,r),null!==i&&(a.matrix.fromArray(i.transform.matrix),a.matrix.decompose(a.position,a.rotation,a.scale),a.matrixWorldNeedsUpdate=!0,i.linearVelocity?(a.hasLinearVelocity=!0,a.linearVelocity.copy(i.linearVelocity)):a.hasLinearVelocity=!1,i.angularVelocity?(a.hasAngularVelocity=!0,a.angularVelocity.copy(i.angularVelocity)):a.hasAngularVelocity=!1));null!==s&&(n=t.getPose(e.targetRaySpace,r),null===n&&null!==i&&(n=i),null!==n&&(s.matrix.fromArray(n.transform.matrix),s.matrix.decompose(s.position,s.rotation,s.scale),s.matrixWorldNeedsUpdate=!0,n.linearVelocity?(s.hasLinearVelocity=!0,s.linearVelocity.copy(n.linearVelocity)):s.hasLinearVelocity=!1,n.angularVelocity?(s.hasAngularVelocity=!0,s.angularVelocity.copy(n.angularVelocity)):s.hasAngularVelocity=!1,this.dispatchEvent(_o)))}return null!==s&&(s.visible=null!==n),null!==a&&(a.visible=null!==i),null!==l&&(l.visible=null!==o),this}_getHandJoint(e,t){if(void 0===e.joints[t.jointName]){const r=new mo;r.matrixAutoUpdate=!1,r.visible=!1,e.joints[t.jointName]=r,e.add(r)}return e.joints[t.jointName]}}class fo{constructor(e,t=25e-5){this.isFogExp2=!0,this.name="",this.color=new mi(e),this.density=t}clone(){return new fo(this.color,this.density)}toJSON(){return{type:"FogExp2",name:this.name,color:this.color.getHex(),density:this.density}}}class vo{constructor(e,t=1,r=1e3){this.isFog=!0,this.name="",this.color=new mi(e),this.near=t,this.far=r}clone(){return new vo(this.color,this.near,this.far)}toJSON(){return{type:"Fog",name:this.name,color:this.color.getHex(),near:this.near,far:this.far}}}class bo extends qn{constructor(){super(),this.isScene=!0,this.type="Scene",this.background=null,this.environment=null,this.fog=null,this.backgroundBlurriness=0,this.backgroundIntensity=1,this.backgroundRotation=new Rn,this.environmentIntensity=1,this.environmentRotation=new Rn,this.overrideMaterial=null,"undefined"!=typeof __THREE_DEVTOOLS__&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}copy(e,t){return super.copy(e,t),null!==e.background&&(this.background=e.background.clone()),null!==e.environment&&(this.environment=e.environment.clone()),null!==e.fog&&(this.fog=e.fog.clone()),this.backgroundBlurriness=e.backgroundBlurriness,this.backgroundIntensity=e.backgroundIntensity,this.backgroundRotation.copy(e.backgroundRotation),this.environmentIntensity=e.environmentIntensity,this.environmentRotation.copy(e.environmentRotation),null!==e.overrideMaterial&&(this.overrideMaterial=e.overrideMaterial.clone()),this.matrixAutoUpdate=e.matrixAutoUpdate,this}toJSON(e){const t=super.toJSON(e);return null!==this.fog&&(t.object.fog=this.fog.toJSON()),this.backgroundBlurriness>0&&(t.object.backgroundBlurriness=this.backgroundBlurriness),1!==this.backgroundIntensity&&(t.object.backgroundIntensity=this.backgroundIntensity),t.object.backgroundRotation=this.backgroundRotation.toArray(),1!==this.environmentIntensity&&(t.object.environmentIntensity=this.environmentIntensity),t.object.environmentRotation=this.environmentRotation.toArray(),t}}class yo{constructor(e,t){this.isInterleavedBuffer=!0,this.array=e,this.stride=t,this.count=void 0!==e?e.length/t:0,this.usage=tr,this.updateRanges=[],this.version=0,this.uuid=ur()}onUploadCallback(){}set needsUpdate(e){!0===e&&this.version++}setUsage(e){return this.usage=e,this}addUpdateRange(e,t){this.updateRanges.push({start:e,count:t})}clearUpdateRanges(){this.updateRanges.length=0}copy(e){return this.array=new e.array.constructor(e.array),this.count=e.count,this.stride=e.stride,this.usage=e.usage,this}copyAt(e,t,r){e*=this.stride,r*=t.stride;for(let n=0,i=this.stride;n<i;n++)this.array[e+n]=t.array[r+n];return this}set(e,t=0){return this.array.set(e,t),this}clone(e){void 0===e.arrayBuffers&&(e.arrayBuffers={}),void 0===this.array.buffer._uuid&&(this.array.buffer._uuid=ur()),void 0===e.arrayBuffers[this.array.buffer._uuid]&&(e.arrayBuffers[this.array.buffer._uuid]=this.array.slice(0).buffer);const t=new this.array.constructor(e.arrayBuffers[this.array.buffer._uuid]),r=new this.constructor(t,this.stride);return r.setUsage(this.usage),r}onUpload(e){return this.onUploadCallback=e,this}toJSON(e){return void 0===e.arrayBuffers&&(e.arrayBuffers={}),void 0===this.array.buffer._uuid&&(this.array.buffer._uuid=ur()),void 0===e.arrayBuffers[this.array.buffer._uuid]&&(e.arrayBuffers[this.array.buffer._uuid]=Array.from(new Uint32Array(this.array.buffer))),{uuid:this.uuid,buffer:this.array.buffer._uuid,type:this.array.constructor.name,stride:this.stride}}}const $o=new br;class xo{constructor(e,t,r,n=!1){this.isInterleavedBufferAttribute=!0,this.name="",this.data=e,this.itemSize=t,this.offset=r,this.normalized=n}get count(){return this.data.count}get array(){return this.data.array}set needsUpdate(e){this.data.needsUpdate=e}applyMatrix4(e){for(let t=0,r=this.data.count;t<r;t++)$o.fromBufferAttribute(this,t),$o.applyMatrix4(e),this.setXYZ(t,$o.x,$o.y,$o.z);return this}applyNormalMatrix(e){for(let t=0,r=this.count;t<r;t++)$o.fromBufferAttribute(this,t),$o.applyNormalMatrix(e),this.setXYZ(t,$o.x,$o.y,$o.z);return this}transformDirection(e){for(let t=0,r=this.count;t<r;t++)$o.fromBufferAttribute(this,t),$o.transformDirection(e),this.setXYZ(t,$o.x,$o.y,$o.z);return this}getComponent(e,t){let r=this.array[e*this.data.stride+this.offset+t];return this.normalized&&(r=mr(r,this.array)),r}setComponent(e,t,r){return this.normalized&&(r=_r(r,this.array)),this.data.array[e*this.data.stride+this.offset+t]=r,this}setX(e,t){return this.normalized&&(t=_r(t,this.array)),this.data.array[e*this.data.stride+this.offset]=t,this}setY(e,t){return this.normalized&&(t=_r(t,this.array)),this.data.array[e*this.data.stride+this.offset+1]=t,this}setZ(e,t){return this.normalized&&(t=_r(t,this.array)),this.data.array[e*this.data.stride+this.offset+2]=t,this}setW(e,t){return this.normalized&&(t=_r(t,this.array)),this.data.array[e*this.data.stride+this.offset+3]=t,this}getX(e){let t=this.data.array[e*this.data.stride+this.offset];return this.normalized&&(t=mr(t,this.array)),t}getY(e){let t=this.data.array[e*this.data.stride+this.offset+1];return this.normalized&&(t=mr(t,this.array)),t}getZ(e){let t=this.data.array[e*this.data.stride+this.offset+2];return this.normalized&&(t=mr(t,this.array)),t}getW(e){let t=this.data.array[e*this.data.stride+this.offset+3];return this.normalized&&(t=mr(t,this.array)),t}setXY(e,t,r){return e=e*this.data.stride+this.offset,this.normalized&&(t=_r(t,this.array),r=_r(r,this.array)),this.data.array[e+0]=t,this.data.array[e+1]=r,this}setXYZ(e,t,r,n){return e=e*this.data.stride+this.offset,this.normalized&&(t=_r(t,this.array),r=_r(r,this.array),n=_r(n,this.array)),this.data.array[e+0]=t,this.data.array[e+1]=r,this.data.array[e+2]=n,this}setXYZW(e,t,r,n,i){return e=e*this.data.stride+this.offset,this.normalized&&(t=_r(t,this.array),r=_r(r,this.array),n=_r(n,this.array),i=_r(i,this.array)),this.data.array[e+0]=t,this.data.array[e+1]=r,this.data.array[e+2]=n,this.data.array[e+3]=i,this}clone(e){if(void 0===e){console.log("THREE.InterleavedBufferAttribute.clone(): Cloning an interleaved buffer attribute will de-interleave buffer data.");const e=[];for(let t=0;t<this.count;t++){const r=t*this.data.stride+this.offset;for(let t=0;t<this.itemSize;t++)e.push(this.data.array[r+t])}return new Ei(new this.array.constructor(e),this.itemSize,this.normalized)}return void 0===e.interleavedBuffers&&(e.interleavedBuffers={}),void 0===e.interleavedBuffers[this.data.uuid]&&(e.interleavedBuffers[this.data.uuid]=this.data.clone(e)),new xo(e.interleavedBuffers[this.data.uuid],this.itemSize,this.offset,this.normalized)}toJSON(e){if(void 0===e){console.log("THREE.InterleavedBufferAttribute.toJSON(): Serializing an interleaved buffer attribute will de-interleave buffer data.");const e=[];for(let t=0;t<this.count;t++){const r=t*this.data.stride+this.offset;for(let t=0;t<this.itemSize;t++)e.push(this.data.array[r+t])}return{itemSize:this.itemSize,type:this.array.constructor.name,array:e,normalized:this.normalized}}return void 0===e.interleavedBuffers&&(e.interleavedBuffers={}),void 0===e.interleavedBuffers[this.data.uuid]&&(e.interleavedBuffers[this.data.uuid]=this.data.toJSON(e)),{isInterleavedBufferAttribute:!0,itemSize:this.itemSize,data:this.data.uuid,offset:this.offset,normalized:this.normalized}}}class So extends fi{constructor(e){super(),this.isSpriteMaterial=!0,this.type="SpriteMaterial",this.color=new mi(16777215),this.map=null,this.alphaMap=null,this.rotation=0,this.sizeAttenuation=!0,this.transparent=!0,this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.map=e.map,this.alphaMap=e.alphaMap,this.rotation=e.rotation,this.sizeAttenuation=e.sizeAttenuation,this.fog=e.fog,this}}let wo;const Ao=new br,Co=new br,Eo=new br,Io=new fr,Mo=new fr,ko=new xn,To=new br,Ro=new br,Lo=new br,Po=new fr,Do=new fr,No=new fr;class Fo extends qn{constructor(e=new So){if(super(),this.isSprite=!0,this.type="Sprite",void 0===wo){wo=new Oi;const e=new Float32Array([-.5,-.5,0,0,0,.5,-.5,0,1,0,.5,.5,0,1,1,-.5,.5,0,0,1]),t=new yo(e,5);wo.setIndex([0,1,2,0,2,3]),wo.setAttribute("position",new xo(t,3,0,!1)),wo.setAttribute("uv",new xo(t,2,3,!1))}this.geometry=wo,this.material=e,this.center=new fr(.5,.5),this.count=1}raycast(e,t){null===e.camera&&console.error('THREE.Sprite: "Raycaster.camera" needs to be set in order to raycast against sprites.'),Co.setFromMatrixScale(this.matrixWorld),ko.copy(e.camera.matrixWorld),this.modelViewMatrix.multiplyMatrices(e.camera.matrixWorldInverse,this.matrixWorld),Eo.setFromMatrixPosition(this.modelViewMatrix),e.camera.isPerspectiveCamera&&!1===this.material.sizeAttenuation&&Co.multiplyScalar(-Eo.z);const r=this.material.rotation;let n,i;0!==r&&(i=Math.cos(r),n=Math.sin(r));const o=this.center;Oo(To.set(-.5,-.5,0),Eo,o,Co,n,i),Oo(Ro.set(.5,-.5,0),Eo,o,Co,n,i),Oo(Lo.set(.5,.5,0),Eo,o,Co,n,i),Po.set(0,0),Do.set(1,0),No.set(1,1);let s=e.ray.intersectTriangle(To,Ro,Lo,!1,Ao);if(null===s&&(Oo(Ro.set(-.5,.5,0),Eo,o,Co,n,i),Do.set(0,1),s=e.ray.intersectTriangle(To,Lo,Ro,!1,Ao),null===s))return;const a=e.ray.origin.distanceTo(Ao);a<e.near||a>e.far||t.push({distance:a,point:Ao.clone(),uv:ci.getInterpolation(Ao,To,Ro,Lo,Po,Do,No,new fr),face:null,object:this})}copy(e,t){return super.copy(e,t),void 0!==e.center&&this.center.copy(e.center),this.material=e.material,this}}function Oo(e,t,r,n,i,o){Io.subVectors(e,r).addScalar(.5).multiply(n),void 0!==i?(Mo.x=o*Io.x-i*Io.y,Mo.y=i*Io.x+o*Io.y):Mo.copy(Io),e.copy(t),e.x+=Mo.x,e.y+=Mo.y,e.applyMatrix4(ko)}const Bo=new br,Uo=new Hr,Vo=new Hr,zo=new br,Ho=new xn,Go=new br,jo=new pn,Jo=new xn,Wo=new $n;class Qo extends Yi{constructor(e,t){super(e,t),this.isSkinnedMesh=!0,this.type="SkinnedMesh",this.bindMode=pe,this.bindMatrix=new xn,this.bindMatrixInverse=new xn,this.boundingBox=null,this.boundingSphere=null}computeBoundingBox(){const e=this.geometry;null===this.boundingBox&&(this.boundingBox=new Qr),this.boundingBox.makeEmpty();const t=e.getAttribute("position");for(let e=0;e<t.count;e++)this.getVertexPosition(e,Go),this.boundingBox.expandByPoint(Go)}computeBoundingSphere(){const e=this.geometry;null===this.boundingSphere&&(this.boundingSphere=new pn),this.boundingSphere.makeEmpty();const t=e.getAttribute("position");for(let e=0;e<t.count;e++)this.getVertexPosition(e,Go),this.boundingSphere.expandByPoint(Go)}copy(e,t){return super.copy(e,t),this.bindMode=e.bindMode,this.bindMatrix.copy(e.bindMatrix),this.bindMatrixInverse.copy(e.bindMatrixInverse),this.skeleton=e.skeleton,null!==e.boundingBox&&(this.boundingBox=e.boundingBox.clone()),null!==e.boundingSphere&&(this.boundingSphere=e.boundingSphere.clone()),this}raycast(e,t){const r=this.material,n=this.matrixWorld;void 0!==r&&(null===this.boundingSphere&&this.computeBoundingSphere(),jo.copy(this.boundingSphere),jo.applyMatrix4(n),!1!==e.ray.intersectsSphere(jo)&&(Jo.copy(n).invert(),Wo.copy(e.ray).applyMatrix4(Jo),null!==this.boundingBox&&!1===Wo.intersectsBox(this.boundingBox)||this._computeIntersections(e,t,Wo)))}getVertexPosition(e,t){return super.getVertexPosition(e,t),this.applyBoneTransform(e,t),t}bind(e,t){this.skeleton=e,void 0===t&&(this.updateMatrixWorld(!0),this.skeleton.calculateInverses(),t=this.matrixWorld),this.bindMatrix.copy(t),this.bindMatrixInverse.copy(t).invert()}pose(){this.skeleton.pose()}normalizeSkinWeights(){const e=new Hr,t=this.geometry.attributes.skinWeight;for(let r=0,n=t.count;r<n;r++){e.fromBufferAttribute(t,r);const n=1/e.manhattanLength();n!==1/0?e.multiplyScalar(n):e.set(1,0,0,0),t.setXYZW(r,e.x,e.y,e.z,e.w)}}updateMatrixWorld(e){super.updateMatrixWorld(e),this.bindMode===pe?this.bindMatrixInverse.copy(this.matrixWorld).invert():"detached"===this.bindMode?this.bindMatrixInverse.copy(this.bindMatrix).invert():console.warn("THREE.SkinnedMesh: Unrecognized bindMode: "+this.bindMode)}applyBoneTransform(e,t){const r=this.skeleton,n=this.geometry;Uo.fromBufferAttribute(n.attributes.skinIndex,e),Vo.fromBufferAttribute(n.attributes.skinWeight,e),Bo.copy(t).applyMatrix4(this.bindMatrix),t.set(0,0,0);for(let e=0;e<4;e++){const n=Vo.getComponent(e);if(0!==n){const i=Uo.getComponent(e);Ho.multiplyMatrices(r.bones[i].matrixWorld,r.boneInverses[i]),t.addScaledVector(zo.copy(Bo).applyMatrix4(Ho),n)}}return t.applyMatrix4(this.bindMatrixInverse)}}class qo extends qn{constructor(){super(),this.isBone=!0,this.type="Bone"}}class Yo extends zr{constructor(e=null,t=1,r=1,n,i,o,s,a,l=1003,c=1003,u,d){super(null,o,s,a,l,c,n,i,u,d),this.isDataTexture=!0,this.image={data:e,width:t,height:r},this.generateMipmaps=!1,this.flipY=!1,this.unpackAlignment=1}}const Xo=new xn,Ko=new xn;class Zo{constructor(e=[],t=[]){this.uuid=ur(),this.bones=e.slice(0),this.boneInverses=t,this.boneMatrices=null,this.boneTexture=null,this.init()}init(){const e=this.bones,t=this.boneInverses;if(this.boneMatrices=new Float32Array(16*e.length),0===t.length)this.calculateInverses();else if(e.length!==t.length){console.warn("THREE.Skeleton: Number of inverse bone matrices does not match amount of bones."),this.boneInverses=[];for(let e=0,t=this.bones.length;e<t;e++)this.boneInverses.push(new xn)}}calculateInverses(){this.boneInverses.length=0;for(let e=0,t=this.bones.length;e<t;e++){const t=new xn;this.bones[e]&&t.copy(this.bones[e].matrixWorld).invert(),this.boneInverses.push(t)}}pose(){for(let e=0,t=this.bones.length;e<t;e++){const t=this.bones[e];t&&t.matrixWorld.copy(this.boneInverses[e]).invert()}for(let e=0,t=this.bones.length;e<t;e++){const t=this.bones[e];t&&(t.parent&&t.parent.isBone?(t.matrix.copy(t.parent.matrixWorld).invert(),t.matrix.multiply(t.matrixWorld)):t.matrix.copy(t.matrixWorld),t.matrix.decompose(t.position,t.quaternion,t.scale))}}update(){const e=this.bones,t=this.boneInverses,r=this.boneMatrices,n=this.boneTexture;for(let n=0,i=e.length;n<i;n++){const i=e[n]?e[n].matrixWorld:Ko;Xo.multiplyMatrices(i,t[n]),Xo.toArray(r,16*n)}null!==n&&(n.needsUpdate=!0)}clone(){return new Zo(this.bones,this.boneInverses)}computeBoneTexture(){let e=Math.sqrt(4*this.bones.length);e=4*Math.ceil(e/4),e=Math.max(e,4);const t=new Float32Array(e*e*4);t.set(this.boneMatrices);const r=new Yo(t,e,e,Ge,Ne);return r.needsUpdate=!0,this.boneMatrices=t,this.boneTexture=r,this}getBoneByName(e){for(let t=0,r=this.bones.length;t<r;t++){const r=this.bones[t];if(r.name===e)return r}}dispose(){null!==this.boneTexture&&(this.boneTexture.dispose(),this.boneTexture=null)}fromJSON(e,t){this.uuid=e.uuid;for(let r=0,n=e.bones.length;r<n;r++){const n=e.bones[r];let i=t[n];void 0===i&&(console.warn("THREE.Skeleton: No bone found with UUID:",n),i=new qo),this.bones.push(i),this.boneInverses.push((new xn).fromArray(e.boneInverses[r]))}return this.init(),this}toJSON(){const e={metadata:{version:4.7,type:"Skeleton",generator:"Skeleton.toJSON"},bones:[],boneInverses:[]};e.uuid=this.uuid;const t=this.bones,r=this.boneInverses;for(let n=0,i=t.length;n<i;n++){const i=t[n];e.bones.push(i.uuid);const o=r[n];e.boneInverses.push(o.toArray())}return e}}class es extends Ei{constructor(e,t,r,n=1){super(e,t,r),this.isInstancedBufferAttribute=!0,this.meshPerAttribute=n}copy(e){return super.copy(e),this.meshPerAttribute=e.meshPerAttribute,this}toJSON(){const e=super.toJSON();return e.meshPerAttribute=this.meshPerAttribute,e.isInstancedBufferAttribute=!0,e}}const ts=new xn,rs=new xn,ns=[],is=new Qr,os=new xn,ss=new Yi,as=new pn;class ls extends Yi{constructor(e,t,r){super(e,t),this.isInstancedMesh=!0,this.instanceMatrix=new es(new Float32Array(16*r),16),this.instanceColor=null,this.morphTexture=null,this.count=r,this.boundingBox=null,this.boundingSphere=null;for(let e=0;e<r;e++)this.setMatrixAt(e,os)}computeBoundingBox(){const e=this.geometry,t=this.count;null===this.boundingBox&&(this.boundingBox=new Qr),null===e.boundingBox&&e.computeBoundingBox(),this.boundingBox.makeEmpty();for(let r=0;r<t;r++)this.getMatrixAt(r,ts),is.copy(e.boundingBox).applyMatrix4(ts),this.boundingBox.union(is)}computeBoundingSphere(){const e=this.geometry,t=this.count;null===this.boundingSphere&&(this.boundingSphere=new pn),null===e.boundingSphere&&e.computeBoundingSphere(),this.boundingSphere.makeEmpty();for(let r=0;r<t;r++)this.getMatrixAt(r,ts),as.copy(e.boundingSphere).applyMatrix4(ts),this.boundingSphere.union(as)}copy(e,t){return super.copy(e,t),this.instanceMatrix.copy(e.instanceMatrix),null!==e.morphTexture&&(this.morphTexture=e.morphTexture.clone()),null!==e.instanceColor&&(this.instanceColor=e.instanceColor.clone()),this.count=e.count,null!==e.boundingBox&&(this.boundingBox=e.boundingBox.clone()),null!==e.boundingSphere&&(this.boundingSphere=e.boundingSphere.clone()),this}getColorAt(e,t){t.fromArray(this.instanceColor.array,3*e)}getMatrixAt(e,t){t.fromArray(this.instanceMatrix.array,16*e)}getMorphAt(e,t){const r=t.morphTargetInfluences,n=this.morphTexture.source.data.data,i=e*(r.length+1)+1;for(let e=0;e<r.length;e++)r[e]=n[i+e]}raycast(e,t){const r=this.matrixWorld,n=this.count;if(ss.geometry=this.geometry,ss.material=this.material,void 0!==ss.material&&(null===this.boundingSphere&&this.computeBoundingSphere(),as.copy(this.boundingSphere),as.applyMatrix4(r),!1!==e.ray.intersectsSphere(as)))for(let i=0;i<n;i++){this.getMatrixAt(i,ts),rs.multiplyMatrices(r,ts),ss.matrixWorld=rs,ss.raycast(e,ns);for(let e=0,r=ns.length;e<r;e++){const r=ns[e];r.instanceId=i,r.object=this,t.push(r)}ns.length=0}}setColorAt(e,t){null===this.instanceColor&&(this.instanceColor=new es(new Float32Array(3*this.instanceMatrix.count).fill(1),3)),t.toArray(this.instanceColor.array,3*e)}setMatrixAt(e,t){t.toArray(this.instanceMatrix.array,16*e)}setMorphAt(e,t){const r=t.morphTargetInfluences,n=r.length+1;null===this.morphTexture&&(this.morphTexture=new Yo(new Float32Array(n*this.count),n,this.count,We,Ne));const i=this.morphTexture.source.data.data;let o=0;for(let e=0;e<r.length;e++)o+=r[e];const s=this.geometry.morphTargetsRelative?1:1-o,a=n*e;i[a]=s,i.set(r,a+1)}updateMorphTargets(){}dispose(){this.dispatchEvent({type:"dispose"}),null!==this.morphTexture&&(this.morphTexture.dispose(),this.morphTexture=null)}}const cs=new br,us=new br,ds=new xr;class hs{constructor(e=new br(1,0,0),t=0){this.isPlane=!0,this.normal=e,this.constant=t}set(e,t){return this.normal.copy(e),this.constant=t,this}setComponents(e,t,r,n){return this.normal.set(e,t,r),this.constant=n,this}setFromNormalAndCoplanarPoint(e,t){return this.normal.copy(e),this.constant=-t.dot(this.normal),this}setFromCoplanarPoints(e,t,r){const n=cs.subVectors(r,t).cross(us.subVectors(e,t)).normalize();return this.setFromNormalAndCoplanarPoint(n,e),this}copy(e){return this.normal.copy(e.normal),this.constant=e.constant,this}normalize(){const e=1/this.normal.length();return this.normal.multiplyScalar(e),this.constant*=e,this}negate(){return this.constant*=-1,this.normal.negate(),this}distanceToPoint(e){return this.normal.dot(e)+this.constant}distanceToSphere(e){return this.distanceToPoint(e.center)-e.radius}projectPoint(e,t){return t.copy(e).addScaledVector(this.normal,-this.distanceToPoint(e))}intersectLine(e,t){const r=e.delta(cs),n=this.normal.dot(r);if(0===n)return 0===this.distanceToPoint(e.start)?t.copy(e.start):null;const i=-(e.start.dot(this.normal)+this.constant)/n;return i<0||i>1?null:t.copy(e.start).addScaledVector(r,i)}intersectsLine(e){const t=this.distanceToPoint(e.start),r=this.distanceToPoint(e.end);return t<0&&r>0||r<0&&t>0}intersectsBox(e){return e.intersectsPlane(this)}intersectsSphere(e){return e.intersectsPlane(this)}coplanarPoint(e){return e.copy(this.normal).multiplyScalar(-this.constant)}applyMatrix4(e,t){const r=t||ds.getNormalMatrix(e),n=this.coplanarPoint(cs).applyMatrix4(e),i=this.normal.applyMatrix3(r).normalize();return this.constant=-n.dot(i),this}translate(e){return this.constant-=e.dot(this.normal),this}equals(e){return e.normal.equals(this.normal)&&e.constant===this.constant}clone(){return(new this.constructor).copy(this)}}const ps=new pn,ms=new fr(.5,.5),_s=new br;class gs{constructor(e=new hs,t=new hs,r=new hs,n=new hs,i=new hs,o=new hs){this.planes=[e,t,r,n,i,o]}set(e,t,r,n,i,o){const s=this.planes;return s[0].copy(e),s[1].copy(t),s[2].copy(r),s[3].copy(n),s[4].copy(i),s[5].copy(o),this}copy(e){const t=this.planes;for(let r=0;r<6;r++)t[r].copy(e.planes[r]);return this}setFromProjectionMatrix(e,t=2e3,r=!1){const n=this.planes,i=e.elements,o=i[0],s=i[1],a=i[2],l=i[3],c=i[4],u=i[5],d=i[6],h=i[7],p=i[8],m=i[9],_=i[10],g=i[11],f=i[12],v=i[13],b=i[14],y=i[15];if(n[0].setComponents(l-o,h-c,g-p,y-f).normalize(),n[1].setComponents(l+o,h+c,g+p,y+f).normalize(),n[2].setComponents(l+s,h+u,g+m,y+v).normalize(),n[3].setComponents(l-s,h-u,g-m,y-v).normalize(),r)n[4].setComponents(a,d,_,b).normalize(),n[5].setComponents(l-a,h-d,g-_,y-b).normalize();else if(n[4].setComponents(l-a,h-d,g-_,y-b).normalize(),t===nr)n[5].setComponents(l+a,h+d,g+_,y+b).normalize();else{if(t!==ir)throw new Error("THREE.Frustum.setFromProjectionMatrix(): Invalid coordinate system: "+t);n[5].setComponents(a,d,_,b).normalize()}return this}intersectsObject(e){if(void 0!==e.boundingSphere)null===e.boundingSphere&&e.computeBoundingSphere(),ps.copy(e.boundingSphere).applyMatrix4(e.matrixWorld);else{const t=e.geometry;null===t.boundingSphere&&t.computeBoundingSphere(),ps.copy(t.boundingSphere).applyMatrix4(e.matrixWorld)}return this.intersectsSphere(ps)}intersectsSprite(e){ps.center.set(0,0,0);const t=ms.distanceTo(e.center);return ps.radius=.7071067811865476+t,ps.applyMatrix4(e.matrixWorld),this.intersectsSphere(ps)}intersectsSphere(e){const t=this.planes,r=e.center,n=-e.radius;for(let e=0;e<6;e++){if(t[e].distanceToPoint(r)<n)return!1}return!0}intersectsBox(e){const t=this.planes;for(let r=0;r<6;r++){const n=t[r];if(_s.x=n.normal.x>0?e.max.x:e.min.x,_s.y=n.normal.y>0?e.max.y:e.min.y,_s.z=n.normal.z>0?e.max.z:e.min.z,n.distanceToPoint(_s)<0)return!1}return!0}containsPoint(e){const t=this.planes;for(let r=0;r<6;r++)if(t[r].distanceToPoint(e)<0)return!1;return!0}clone(){return(new this.constructor).copy(this)}}class fs extends fi{constructor(e){super(),this.isLineBasicMaterial=!0,this.type="LineBasicMaterial",this.color=new mi(16777215),this.map=null,this.linewidth=1,this.linecap="round",this.linejoin="round",this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.map=e.map,this.linewidth=e.linewidth,this.linecap=e.linecap,this.linejoin=e.linejoin,this.fog=e.fog,this}}const vs=new br,bs=new br,ys=new xn,$s=new $n,xs=new pn,Ss=new br,ws=new br;class As extends qn{constructor(e=new Oi,t=new fs){super(),this.isLine=!0,this.type="Line",this.geometry=e,this.material=t,this.morphTargetDictionary=void 0,this.morphTargetInfluences=void 0,this.updateMorphTargets()}copy(e,t){return super.copy(e,t),this.material=Array.isArray(e.material)?e.material.slice():e.material,this.geometry=e.geometry,this}computeLineDistances(){const e=this.geometry;if(null===e.index){const t=e.attributes.position,r=[0];for(let e=1,n=t.count;e<n;e++)vs.fromBufferAttribute(t,e-1),bs.fromBufferAttribute(t,e),r[e]=r[e-1],r[e]+=vs.distanceTo(bs);e.setAttribute("lineDistance",new ki(r,1))}else console.warn("THREE.Line.computeLineDistances(): Computation only possible with non-indexed BufferGeometry.");return this}raycast(e,t){const r=this.geometry,n=this.matrixWorld,i=e.params.Line.threshold,o=r.drawRange;if(null===r.boundingSphere&&r.computeBoundingSphere(),xs.copy(r.boundingSphere),xs.applyMatrix4(n),xs.radius+=i,!1===e.ray.intersectsSphere(xs))return;ys.copy(n).invert(),$s.copy(e.ray).applyMatrix4(ys);const s=i/((this.scale.x+this.scale.y+this.scale.z)/3),a=s*s,l=this.isLineSegments?2:1,c=r.index,u=r.attributes.position;if(null!==c){const r=Math.max(0,o.start),n=Math.min(c.count,o.start+o.count);for(let i=r,o=n-1;i<o;i+=l){const r=c.getX(i),n=c.getX(i+1),o=Cs(this,e,$s,a,r,n,i);o&&t.push(o)}if(this.isLineLoop){const i=c.getX(n-1),o=c.getX(r),s=Cs(this,e,$s,a,i,o,n-1);s&&t.push(s)}}else{const r=Math.max(0,o.start),n=Math.min(u.count,o.start+o.count);for(let i=r,o=n-1;i<o;i+=l){const r=Cs(this,e,$s,a,i,i+1,i);r&&t.push(r)}if(this.isLineLoop){const i=Cs(this,e,$s,a,n-1,r,n-1);i&&t.push(i)}}}updateMorphTargets(){const e=this.geometry.morphAttributes,t=Object.keys(e);if(t.length>0){const r=e[t[0]];if(void 0!==r){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let e=0,t=r.length;e<t;e++){const t=r[e].name||String(e);this.morphTargetInfluences.push(0),this.morphTargetDictionary[t]=e}}}}}function Cs(e,t,r,n,i,o,s){const a=e.geometry.attributes.position;vs.fromBufferAttribute(a,i),bs.fromBufferAttribute(a,o);if(r.distanceSqToSegment(vs,bs,Ss,ws)>n)return;Ss.applyMatrix4(e.matrixWorld);const l=t.ray.origin.distanceTo(Ss);return l<t.near||l>t.far?void 0:{distance:l,point:ws.clone().applyMatrix4(e.matrixWorld),index:s,face:null,faceIndex:null,barycoord:null,object:e}}const Es=new br,Is=new br;class Ms extends As{constructor(e,t){super(e,t),this.isLineSegments=!0,this.type="LineSegments"}computeLineDistances(){const e=this.geometry;if(null===e.index){const t=e.attributes.position,r=[];for(let e=0,n=t.count;e<n;e+=2)Es.fromBufferAttribute(t,e),Is.fromBufferAttribute(t,e+1),r[e]=0===e?0:r[e-1],r[e+1]=r[e]+Es.distanceTo(Is);e.setAttribute("lineDistance",new ki(r,1))}else console.warn("THREE.LineSegments.computeLineDistances(): Computation only possible with non-indexed BufferGeometry.");return this}}class ks extends As{constructor(e,t){super(e,t),this.isLineLoop=!0,this.type="LineLoop"}}class Ts extends fi{constructor(e){super(),this.isPointsMaterial=!0,this.type="PointsMaterial",this.color=new mi(16777215),this.map=null,this.alphaMap=null,this.size=1,this.sizeAttenuation=!0,this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.map=e.map,this.alphaMap=e.alphaMap,this.size=e.size,this.sizeAttenuation=e.sizeAttenuation,this.fog=e.fog,this}}const Rs=new xn,Ls=new $n,Ps=new pn,Ds=new br;class Ns extends qn{constructor(e=new Oi,t=new Ts){super(),this.isPoints=!0,this.type="Points",this.geometry=e,this.material=t,this.morphTargetDictionary=void 0,this.morphTargetInfluences=void 0,this.updateMorphTargets()}copy(e,t){return super.copy(e,t),this.material=Array.isArray(e.material)?e.material.slice():e.material,this.geometry=e.geometry,this}raycast(e,t){const r=this.geometry,n=this.matrixWorld,i=e.params.Points.threshold,o=r.drawRange;if(null===r.boundingSphere&&r.computeBoundingSphere(),Ps.copy(r.boundingSphere),Ps.applyMatrix4(n),Ps.radius+=i,!1===e.ray.intersectsSphere(Ps))return;Rs.copy(n).invert(),Ls.copy(e.ray).applyMatrix4(Rs);const s=i/((this.scale.x+this.scale.y+this.scale.z)/3),a=s*s,l=r.index,c=r.attributes.position;if(null!==l){for(let r=Math.max(0,o.start),i=Math.min(l.count,o.start+o.count);r<i;r++){const i=l.getX(r);Ds.fromBufferAttribute(c,i),Fs(Ds,i,a,n,e,t,this)}}else{for(let r=Math.max(0,o.start),i=Math.min(c.count,o.start+o.count);r<i;r++)Ds.fromBufferAttribute(c,r),Fs(Ds,r,a,n,e,t,this)}}updateMorphTargets(){const e=this.geometry.morphAttributes,t=Object.keys(e);if(t.length>0){const r=e[t[0]];if(void 0!==r){this.morphTargetInfluences=[],this.morphTargetDictionary={};for(let e=0,t=r.length;e<t;e++){const t=r[e].name||String(e);this.morphTargetInfluences.push(0),this.morphTargetDictionary[t]=e}}}}}function Fs(e,t,r,n,i,o,s){const a=Ls.distanceSqToPoint(e);if(a<r){const r=new br;Ls.closestPointToPoint(e,r),r.applyMatrix4(n);const l=i.ray.origin.distanceTo(r);if(l<i.near||l>i.far)return;o.push({distance:l,distanceToRay:Math.sqrt(a),point:r,index:t,face:null,faceIndex:null,barycoord:null,object:s})}}class Os extends zr{constructor(e,t,r,n,i=1006,o=1006,s,a,l){super(e,t,r,n,i,o,s,a,l),this.isVideoTexture=!0,this.generateMipmaps=!1,this._requestVideoFrameCallbackId=0;const c=this;"requestVideoFrameCallback"in e&&(this._requestVideoFrameCallbackId=e.requestVideoFrameCallback(function t(){c.needsUpdate=!0,c._requestVideoFrameCallbackId=e.requestVideoFrameCallback(t)}))}clone(){return new this.constructor(this.image).copy(this)}update(){const e=this.image;!1==="requestVideoFrameCallback"in e&&e.readyState>=e.HAVE_CURRENT_DATA&&(this.needsUpdate=!0)}dispose(){0!==this._requestVideoFrameCallbackId&&this.source.data.cancelVideoFrameCallback(this._requestVideoFrameCallbackId),super.dispose()}}class Bs extends zr{constructor(e,t){super({width:e,height:t}),this.isFramebufferTexture=!0,this.magFilter=Se,this.minFilter=Se,this.generateMipmaps=!1,this.needsUpdate=!0}}class Us extends zr{constructor(e,t,r,n,i,o,s,a,l,c,u,d){super(null,o,s,a,l,c,n,i,u,d),this.isCompressedTexture=!0,this.image={width:t,height:r},this.mipmaps=e,this.flipY=!1,this.generateMipmaps=!1}}class Vs extends Us{constructor(e,t,r,n,i,o){super(e,t,r,i,o),this.isCompressedArrayTexture=!0,this.image.depth=n,this.wrapR=$e,this.layerUpdates=new Set}addLayerUpdate(e){this.layerUpdates.add(e)}clearLayerUpdates(){this.layerUpdates.clear()}}class zs extends Us{constructor(e,t,r){super(void 0,e[0].width,e[0].height,t,r,_e),this.isCompressedCubeTexture=!0,this.isCubeTexture=!0,this.image=e}}class Hs extends zr{constructor(e,t,r,n,i,o,s,a,l){super(e,t,r,n,i,o,s,a,l),this.isCanvasTexture=!0,this.needsUpdate=!0}}class Gs extends zr{constructor(e,t,r=1014,n,i,o,s=1003,a=1003,l,c=1026,u=1){if(c!==je&&c!==Je)throw new Error("DepthTexture format must be either THREE.DepthFormat or THREE.DepthStencilFormat");super({width:e,height:t,depth:u},n,i,o,s,a,c,r,l),this.isDepthTexture=!0,this.flipY=!1,this.generateMipmaps=!1,this.compareFunction=null}copy(e){return super.copy(e),this.source=new Or(Object.assign({},e.image)),this.compareFunction=e.compareFunction,this}toJSON(e){const t=super.toJSON(e);return null!==this.compareFunction&&(t.compareFunction=this.compareFunction),t}}class js extends zr{constructor(e=null){super(),this.sourceTexture=e,this.isExternalTexture=!0}copy(e){return super.copy(e),this.sourceTexture=e.sourceTexture,this}}class Js extends Oi{constructor(e=1,t=32,r=0,n=2*Math.PI){super(),this.type="CircleGeometry",this.parameters={radius:e,segments:t,thetaStart:r,thetaLength:n},t=Math.max(3,t);const i=[],o=[],s=[],a=[],l=new br,c=new fr;o.push(0,0,0),s.push(0,0,1),a.push(.5,.5);for(let i=0,u=3;i<=t;i++,u+=3){const d=r+i/t*n;l.x=e*Math.cos(d),l.y=e*Math.sin(d),o.push(l.x,l.y,l.z),s.push(0,0,1),c.x=(o[u]/e+1)/2,c.y=(o[u+1]/e+1)/2,a.push(c.x,c.y)}for(let e=1;e<=t;e++)i.push(e,e+1,0);this.setIndex(i),this.setAttribute("position",new ki(o,3)),this.setAttribute("normal",new ki(s,3)),this.setAttribute("uv",new ki(a,2))}copy(e){return super.copy(e),this.parameters=Object.assign({},e.parameters),this}static fromJSON(e){return new Js(e.radius,e.segments,e.thetaStart,e.thetaLength)}}class Ws extends Oi{constructor(e=1,t=1,r=1,n=32,i=1,o=!1,s=0,a=2*Math.PI){super(),this.type="CylinderGeometry",this.parameters={radiusTop:e,radiusBottom:t,height:r,radialSegments:n,heightSegments:i,openEnded:o,thetaStart:s,thetaLength:a};const l=this;n=Math.floor(n),i=Math.floor(i);const c=[],u=[],d=[],h=[];let p=0;const m=[],_=r/2;let g=0;function f(r){const i=p,o=new fr,m=new br;let f=0;const v=!0===r?e:t,b=!0===r?1:-1;for(let e=1;e<=n;e++)u.push(0,_*b,0),d.push(0,b,0),h.push(.5,.5),p++;const y=p;for(let e=0;e<=n;e++){const t=e/n*a+s,r=Math.cos(t),i=Math.sin(t);m.x=v*i,m.y=_*b,m.z=v*r,u.push(m.x,m.y,m.z),d.push(0,b,0),o.x=.5*r+.5,o.y=.5*i*b+.5,h.push(o.x,o.y),p++}for(let e=0;e<n;e++){const t=i+e,n=y+e;!0===r?c.push(n,n+1,t):c.push(n+1,n,t),f+=3}l.addGroup(g,f,!0===r?1:2),g+=f}!function(){const o=new br,f=new br;let v=0;const b=(t-e)/r;for(let l=0;l<=i;l++){const c=[],g=l/i,v=g*(t-e)+e;for(let e=0;e<=n;e++){const t=e/n,i=t*a+s,l=Math.sin(i),m=Math.cos(i);f.x=v*l,f.y=-g*r+_,f.z=v*m,u.push(f.x,f.y,f.z),o.set(l,b,m).normalize(),d.push(o.x,o.y,o.z),h.push(t,1-g),c.push(p++)}m.push(c)}for(let r=0;r<n;r++)for(let n=0;n<i;n++){const o=m[n][r],s=m[n+1][r],a=m[n+1][r+1],l=m[n][r+1];(e>0||0!==n)&&(c.push(o,s,l),v+=3),(t>0||n!==i-1)&&(c.push(s,a,l),v+=3)}l.addGroup(g,v,0),g+=v}(),!1===o&&(e>0&&f(!0),t>0&&f(!1)),this.setIndex(c),this.setAttribute("position",new ki(u,3)),this.setAttribute("normal",new ki(d,3)),this.setAttribute("uv",new ki(h,2))}copy(e){return super.copy(e),this.parameters=Object.assign({},e.parameters),this}static fromJSON(e){return new Ws(e.radiusTop,e.radiusBottom,e.height,e.radialSegments,e.heightSegments,e.openEnded,e.thetaStart,e.thetaLength)}}class Qs extends Oi{constructor(e=[],t=[],r=1,n=0){super(),this.type="PolyhedronGeometry",this.parameters={vertices:e,indices:t,radius:r,detail:n};const i=[],o=[];function s(e,t,r,n){const i=n+1,o=[];for(let n=0;n<=i;n++){o[n]=[];const s=e.clone().lerp(r,n/i),a=t.clone().lerp(r,n/i),l=i-n;for(let e=0;e<=l;e++)o[n][e]=0===e&&n===i?s:s.clone().lerp(a,e/l)}for(let e=0;e<i;e++)for(let t=0;t<2*(i-e)-1;t++){const r=Math.floor(t/2);t%2==0?(a(o[e][r+1]),a(o[e+1][r]),a(o[e][r])):(a(o[e][r+1]),a(o[e+1][r+1]),a(o[e+1][r]))}}function a(e){i.push(e.x,e.y,e.z)}function l(t,r){const n=3*t;r.x=e[n+0],r.y=e[n+1],r.z=e[n+2]}function c(e,t,r,n){n<0&&1===e.x&&(o[t]=e.x-1),0===r.x&&0===r.z&&(o[t]=n/2/Math.PI+.5)}function u(e){return Math.atan2(e.z,-e.x)}function d(e){return Math.atan2(-e.y,Math.sqrt(e.x*e.x+e.z*e.z))}!function(e){const r=new br,n=new br,i=new br;for(let o=0;o<t.length;o+=3)l(t[o+0],r),l(t[o+1],n),l(t[o+2],i),s(r,n,i,e)}(n),function(e){const t=new br;for(let r=0;r<i.length;r+=3)t.x=i[r+0],t.y=i[r+1],t.z=i[r+2],t.normalize().multiplyScalar(e),i[r+0]=t.x,i[r+1]=t.y,i[r+2]=t.z}(r),function(){const e=new br;for(let t=0;t<i.length;t+=3){e.x=i[t+0],e.y=i[t+1],e.z=i[t+2];const r=u(e)/2/Math.PI+.5,n=d(e)/Math.PI+.5;o.push(r,1-n)}(function(){const e=new br,t=new br,r=new br,n=new br,s=new fr,a=new fr,l=new fr;for(let d=0,h=0;d<i.length;d+=9,h+=6){e.set(i[d+0],i[d+1],i[d+2]),t.set(i[d+3],i[d+4],i[d+5]),r.set(i[d+6],i[d+7],i[d+8]),s.set(o[h+0],o[h+1]),a.set(o[h+2],o[h+3]),l.set(o[h+4],o[h+5]),n.copy(e).add(t).add(r).divideScalar(3);const p=u(n);c(s,h+0,e,p),c(a,h+2,t,p),c(l,h+4,r,p)}})(),function(){for(let e=0;e<o.length;e+=6){const t=o[e+0],r=o[e+2],n=o[e+4],i=Math.max(t,r,n),s=Math.min(t,r,n);i>.9&&s<.1&&(t<.2&&(o[e+0]+=1),r<.2&&(o[e+2]+=1),n<.2&&(o[e+4]+=1))}}()}(),this.setAttribute("position",new ki(i,3)),this.setAttribute("normal",new ki(i.slice(),3)),this.setAttribute("uv",new ki(o,2)),0===n?this.computeVertexNormals():this.normalizeNormals()}copy(e){return super.copy(e),this.parameters=Object.assign({},e.parameters),this}static fromJSON(e){return new Qs(e.vertices,e.indices,e.radius,e.details)}}const qs=new br,Ys=new br,Xs=new br,Ks=new ci;class Zs extends Oi{constructor(e=null,t=1){if(super(),this.type="EdgesGeometry",this.parameters={geometry:e,thresholdAngle:t},null!==e){const r=4,n=Math.pow(10,r),i=Math.cos(lr*t),o=e.getIndex(),s=e.getAttribute("position"),a=o?o.count:s.count,l=[0,0,0],c=["a","b","c"],u=new Array(3),d={},h=[];for(let e=0;e<a;e+=3){o?(l[0]=o.getX(e),l[1]=o.getX(e+1),l[2]=o.getX(e+2)):(l[0]=e,l[1]=e+1,l[2]=e+2);const{a:t,b:r,c:a}=Ks;if(t.fromBufferAttribute(s,l[0]),r.fromBufferAttribute(s,l[1]),a.fromBufferAttribute(s,l[2]),Ks.getNormal(Xs),u[0]=`${Math.round(t.x*n)},${Math.round(t.y*n)},${Math.round(t.z*n)}`,u[1]=`${Math.round(r.x*n)},${Math.round(r.y*n)},${Math.round(r.z*n)}`,u[2]=`${Math.round(a.x*n)},${Math.round(a.y*n)},${Math.round(a.z*n)}`,u[0]!==u[1]&&u[1]!==u[2]&&u[2]!==u[0])for(let e=0;e<3;e++){const t=(e+1)%3,r=u[e],n=u[t],o=Ks[c[e]],s=Ks[c[t]],a=`${r}_${n}`,p=`${n}_${r}`;p in d&&d[p]?(Xs.dot(d[p].normal)<=i&&(h.push(o.x,o.y,o.z),h.push(s.x,s.y,s.z)),d[p]=null):a in d||(d[a]={index0:l[e],index1:l[t],normal:Xs.clone()})}}for(const e in d)if(d[e]){const{index0:t,index1:r}=d[e];qs.fromBufferAttribute(s,t),Ys.fromBufferAttribute(s,r),h.push(qs.x,qs.y,qs.z),h.push(Ys.x,Ys.y,Ys.z)}this.setAttribute("position",new ki(h,3))}}copy(e){return super.copy(e),this.parameters=Object.assign({},e.parameters),this}}class ea{constructor(){this.type="Curve",this.arcLengthDivisions=200,this.needsUpdate=!1,this.cacheArcLengths=null}getPoint(){console.warn("THREE.Curve: .getPoint() not implemented.")}getPointAt(e,t){const r=this.getUtoTmapping(e);return this.getPoint(r,t)}getPoints(e=5){const t=[];for(let r=0;r<=e;r++)t.push(this.getPoint(r/e));return t}getSpacedPoints(e=5){const t=[];for(let r=0;r<=e;r++)t.push(this.getPointAt(r/e));return t}getLength(){const e=this.getLengths();return e[e.length-1]}getLengths(e=this.arcLengthDivisions){if(this.cacheArcLengths&&this.cacheArcLengths.length===e+1&&!this.needsUpdate)return this.cacheArcLengths;this.needsUpdate=!1;const t=[];let r,n=this.getPoint(0),i=0;t.push(0);for(let o=1;o<=e;o++)r=this.getPoint(o/e),i+=r.distanceTo(n),t.push(i),n=r;return this.cacheArcLengths=t,t}updateArcLengths(){this.needsUpdate=!0,this.getLengths()}getUtoTmapping(e,t=null){const r=this.getLengths();let n=0;const i=r.length;let o;o=t||e*r[i-1];let s,a=0,l=i-1;for(;a<=l;)if(n=Math.floor(a+(l-a)/2),s=r[n]-o,s<0)a=n+1;else{if(!(s>0)){l=n;break}l=n-1}if(n=l,r[n]===o)return n/(i-1);const c=r[n];return(n+(o-c)/(r[n+1]-c))/(i-1)}getTangent(e,t){const r=1e-4;let n=e-r,i=e+r;n<0&&(n=0),i>1&&(i=1);const o=this.getPoint(n),s=this.getPoint(i),a=t||(o.isVector2?new fr:new br);return a.copy(s).sub(o).normalize(),a}getTangentAt(e,t){const r=this.getUtoTmapping(e);return this.getTangent(r,t)}computeFrenetFrames(e,t=!1){const r=new br,n=[],i=[],o=[],s=new br,a=new xn;for(let t=0;t<=e;t++){const r=t/e;n[t]=this.getTangentAt(r,new br)}i[0]=new br,o[0]=new br;let l=Number.MAX_VALUE;const c=Math.abs(n[0].x),u=Math.abs(n[0].y),d=Math.abs(n[0].z);c<=l&&(l=c,r.set(1,0,0)),u<=l&&(l=u,r.set(0,1,0)),d<=l&&r.set(0,0,1),s.crossVectors(n[0],r).normalize(),i[0].crossVectors(n[0],s),o[0].crossVectors(n[0],i[0]);for(let t=1;t<=e;t++){if(i[t]=i[t-1].clone(),o[t]=o[t-1].clone(),s.crossVectors(n[t-1],n[t]),s.length()>Number.EPSILON){s.normalize();const e=Math.acos(dr(n[t-1].dot(n[t]),-1,1));i[t].applyMatrix4(a.makeRotationAxis(s,e))}o[t].crossVectors(n[t],i[t])}if(!0===t){let t=Math.acos(dr(i[0].dot(i[e]),-1,1));t/=e,n[0].dot(s.crossVectors(i[0],i[e]))>0&&(t=-t);for(let r=1;r<=e;r++)i[r].applyMatrix4(a.makeRotationAxis(n[r],t*r)),o[r].crossVectors(n[r],i[r])}return{tangents:n,normals:i,binormals:o}}clone(){return(new this.constructor).copy(this)}copy(e){return this.arcLengthDivisions=e.arcLengthDivisions,this}toJSON(){const e={metadata:{version:4.7,type:"Curve",generator:"Curve.toJSON"}};return e.arcLengthDivisions=this.arcLengthDivisions,e.type=this.type,e}fromJSON(e){return this.arcLengthDivisions=e.arcLengthDivisions,this}}class ta extends ea{constructor(e=0,t=0,r=1,n=1,i=0,o=2*Math.PI,s=!1,a=0){super(),this.isEllipseCurve=!0,this.type="EllipseCurve",this.aX=e,this.aY=t,this.xRadius=r,this.yRadius=n,this.aStartAngle=i,this.aEndAngle=o,this.aClockwise=s,this.aRotation=a}getPoint(e,t=new fr){const r=t,n=2*Math.PI;let i=this.aEndAngle-this.aStartAngle;const o=Math.abs(i)<Number.EPSILON;for(;i<0;)i+=n;for(;i>n;)i-=n;i<Number.EPSILON&&(i=o?0:n),!0!==this.aClockwise||o||(i===n?i=-n:i-=n);const s=this.aStartAngle+e*i;let a=this.aX+this.xRadius*Math.cos(s),l=this.aY+this.yRadius*Math.sin(s);if(0!==this.aRotation){const e=Math.cos(this.aRotation),t=Math.sin(this.aRotation),r=a-this.aX,n=l-this.aY;a=r*e-n*t+this.aX,l=r*t+n*e+this.aY}return r.set(a,l)}copy(e){return super.copy(e),this.aX=e.aX,this.aY=e.aY,this.xRadius=e.xRadius,this.yRadius=e.yRadius,this.aStartAngle=e.aStartAngle,this.aEndAngle=e.aEndAngle,this.aClockwise=e.aClockwise,this.aRotation=e.aRotation,this}toJSON(){const e=super.toJSON();return e.aX=this.aX,e.aY=this.aY,e.xRadius=this.xRadius,e.yRadius=this.yRadius,e.aStartAngle=this.aStartAngle,e.aEndAngle=this.aEndAngle,e.aClockwise=this.aClockwise,e.aRotation=this.aRotation,e}fromJSON(e){return super.fromJSON(e),this.aX=e.aX,this.aY=e.aY,this.xRadius=e.xRadius,this.yRadius=e.yRadius,this.aStartAngle=e.aStartAngle,this.aEndAngle=e.aEndAngle,this.aClockwise=e.aClockwise,this.aRotation=e.aRotation,this}}function ra(){let e=0,t=0,r=0,n=0;function i(i,o,s,a){e=i,t=s,r=-3*i+3*o-2*s-a,n=2*i-2*o+s+a}return{initCatmullRom:function(e,t,r,n,o){i(t,r,o*(r-e),o*(n-t))},initNonuniformCatmullRom:function(e,t,r,n,o,s,a){let l=(t-e)/o-(r-e)/(o+s)+(r-t)/s,c=(r-t)/s-(n-t)/(s+a)+(n-r)/a;l*=s,c*=s,i(t,r,l,c)},calc:function(i){const o=i*i;return e+t*i+r*o+n*(o*i)}}}const na=new br,ia=new ra,oa=new ra,sa=new ra;function aa(e,t,r,n,i){const o=.5*(n-t),s=.5*(i-r),a=e*e;return(2*r-2*n+o+s)*(e*a)+(-3*r+3*n-2*o-s)*a+o*e+r}function la(e,t,r,n){return function(e,t){const r=1-e;return r*r*t}(e,t)+function(e,t){return 2*(1-e)*e*t}(e,r)+function(e,t){return e*e*t}(e,n)}function ca(e,t,r,n,i){return function(e,t){const r=1-e;return r*r*r*t}(e,t)+function(e,t){const r=1-e;return 3*r*r*e*t}(e,r)+function(e,t){return 3*(1-e)*e*e*t}(e,n)+function(e,t){return e*e*e*t}(e,i)}class ua extends ea{constructor(e=new fr,t=new fr,r=new fr,n=new fr){super(),this.isCubicBezierCurve=!0,this.type="CubicBezierCurve",this.v0=e,this.v1=t,this.v2=r,this.v3=n}getPoint(e,t=new fr){const r=t,n=this.v0,i=this.v1,o=this.v2,s=this.v3;return r.set(ca(e,n.x,i.x,o.x,s.x),ca(e,n.y,i.y,o.y,s.y)),r}copy(e){return super.copy(e),this.v0.copy(e.v0),this.v1.copy(e.v1),this.v2.copy(e.v2),this.v3.copy(e.v3),this}toJSON(){const e=super.toJSON();return e.v0=this.v0.toArray(),e.v1=this.v1.toArray(),e.v2=this.v2.toArray(),e.v3=this.v3.toArray(),e}fromJSON(e){return super.fromJSON(e),this.v0.fromArray(e.v0),this.v1.fromArray(e.v1),this.v2.fromArray(e.v2),this.v3.fromArray(e.v3),this}}class da extends ea{constructor(e=new fr,t=new fr){super(),this.isLineCurve=!0,this.type="LineCurve",this.v1=e,this.v2=t}getPoint(e,t=new fr){const r=t;return 1===e?r.copy(this.v2):(r.copy(this.v2).sub(this.v1),r.multiplyScalar(e).add(this.v1)),r}getPointAt(e,t){return this.getPoint(e,t)}getTangent(e,t=new fr){return t.subVectors(this.v2,this.v1).normalize()}getTangentAt(e,t){return this.getTangent(e,t)}copy(e){return super.copy(e),this.v1.copy(e.v1),this.v2.copy(e.v2),this}toJSON(){const e=super.toJSON();return e.v1=this.v1.toArray(),e.v2=this.v2.toArray(),e}fromJSON(e){return super.fromJSON(e),this.v1.fromArray(e.v1),this.v2.fromArray(e.v2),this}}class ha extends ea{constructor(e=new fr,t=new fr,r=new fr){super(),this.isQuadraticBezierCurve=!0,this.type="QuadraticBezierCurve",this.v0=e,this.v1=t,this.v2=r}getPoint(e,t=new fr){const r=t,n=this.v0,i=this.v1,o=this.v2;return r.set(la(e,n.x,i.x,o.x),la(e,n.y,i.y,o.y)),r}copy(e){return super.copy(e),this.v0.copy(e.v0),this.v1.copy(e.v1),this.v2.copy(e.v2),this}toJSON(){const e=super.toJSON();return e.v0=this.v0.toArray(),e.v1=this.v1.toArray(),e.v2=this.v2.toArray(),e}fromJSON(e){return super.fromJSON(e),this.v0.fromArray(e.v0),this.v1.fromArray(e.v1),this.v2.fromArray(e.v2),this}}class pa extends ea{constructor(e=new br,t=new br,r=new br){super(),this.isQuadraticBezierCurve3=!0,this.type="QuadraticBezierCurve3",this.v0=e,this.v1=t,this.v2=r}getPoint(e,t=new br){const r=t,n=this.v0,i=this.v1,o=this.v2;return r.set(la(e,n.x,i.x,o.x),la(e,n.y,i.y,o.y),la(e,n.z,i.z,o.z)),r}copy(e){return super.copy(e),this.v0.copy(e.v0),this.v1.copy(e.v1),this.v2.copy(e.v2),this}toJSON(){const e=super.toJSON();return e.v0=this.v0.toArray(),e.v1=this.v1.toArray(),e.v2=this.v2.toArray(),e}fromJSON(e){return super.fromJSON(e),this.v0.fromArray(e.v0),this.v1.fromArray(e.v1),this.v2.fromArray(e.v2),this}}class ma extends ea{constructor(e=[]){super(),this.isSplineCurve=!0,this.type="SplineCurve",this.points=e}getPoint(e,t=new fr){const r=t,n=this.points,i=(n.length-1)*e,o=Math.floor(i),s=i-o,a=n[0===o?o:o-1],l=n[o],c=n[o>n.length-2?n.length-1:o+1],u=n[o>n.length-3?n.length-1:o+2];return r.set(aa(s,a.x,l.x,c.x,u.x),aa(s,a.y,l.y,c.y,u.y)),r}copy(e){super.copy(e),this.points=[];for(let t=0,r=e.points.length;t<r;t++){const r=e.points[t];this.points.push(r.clone())}return this}toJSON(){const e=super.toJSON();e.points=[];for(let t=0,r=this.points.length;t<r;t++){const r=this.points[t];e.points.push(r.toArray())}return e}fromJSON(e){super.fromJSON(e),this.points=[];for(let t=0,r=e.points.length;t<r;t++){const r=e.points[t];this.points.push((new fr).fromArray(r))}return this}}var _a=Object.freeze({__proto__:null,ArcCurve:class extends ta{constructor(e,t,r,n,i,o){super(e,t,r,r,n,i,o),this.isArcCurve=!0,this.type="ArcCurve"}},CatmullRomCurve3:class extends ea{constructor(e=[],t=!1,r="centripetal",n=.5){super(),this.isCatmullRomCurve3=!0,this.type="CatmullRomCurve3",this.points=e,this.closed=t,this.curveType=r,this.tension=n}getPoint(e,t=new br){const r=t,n=this.points,i=n.length,o=(i-(this.closed?0:1))*e;let s,a,l=Math.floor(o),c=o-l;this.closed?l+=l>0?0:(Math.floor(Math.abs(l)/i)+1)*i:0===c&&l===i-1&&(l=i-2,c=1),this.closed||l>0?s=n[(l-1)%i]:(na.subVectors(n[0],n[1]).add(n[0]),s=na);const u=n[l%i],d=n[(l+1)%i];if(this.closed||l+2<i?a=n[(l+2)%i]:(na.subVectors(n[i-1],n[i-2]).add(n[i-1]),a=na),"centripetal"===this.curveType||"chordal"===this.curveType){const e="chordal"===this.curveType?.5:.25;let t=Math.pow(s.distanceToSquared(u),e),r=Math.pow(u.distanceToSquared(d),e),n=Math.pow(d.distanceToSquared(a),e);r<1e-4&&(r=1),t<1e-4&&(t=r),n<1e-4&&(n=r),ia.initNonuniformCatmullRom(s.x,u.x,d.x,a.x,t,r,n),oa.initNonuniformCatmullRom(s.y,u.y,d.y,a.y,t,r,n),sa.initNonuniformCatmullRom(s.z,u.z,d.z,a.z,t,r,n)}else"catmullrom"===this.curveType&&(ia.initCatmullRom(s.x,u.x,d.x,a.x,this.tension),oa.initCatmullRom(s.y,u.y,d.y,a.y,this.tension),sa.initCatmullRom(s.z,u.z,d.z,a.z,this.tension));return r.set(ia.calc(c),oa.calc(c),sa.calc(c)),r}copy(e){super.copy(e),this.points=[];for(let t=0,r=e.points.length;t<r;t++){const r=e.points[t];this.points.push(r.clone())}return this.closed=e.closed,this.curveType=e.curveType,this.tension=e.tension,this}toJSON(){const e=super.toJSON();e.points=[];for(let t=0,r=this.points.length;t<r;t++){const r=this.points[t];e.points.push(r.toArray())}return e.closed=this.closed,e.curveType=this.curveType,e.tension=this.tension,e}fromJSON(e){super.fromJSON(e),this.points=[];for(let t=0,r=e.points.length;t<r;t++){const r=e.points[t];this.points.push((new br).fromArray(r))}return this.closed=e.closed,this.curveType=e.curveType,this.tension=e.tension,this}},CubicBezierCurve:ua,CubicBezierCurve3:class extends ea{constructor(e=new br,t=new br,r=new br,n=new br){super(),this.isCubicBezierCurve3=!0,this.type="CubicBezierCurve3",this.v0=e,this.v1=t,this.v2=r,this.v3=n}getPoint(e,t=new br){const r=t,n=this.v0,i=this.v1,o=this.v2,s=this.v3;return r.set(ca(e,n.x,i.x,o.x,s.x),ca(e,n.y,i.y,o.y,s.y),ca(e,n.z,i.z,o.z,s.z)),r}copy(e){return super.copy(e),this.v0.copy(e.v0),this.v1.copy(e.v1),this.v2.copy(e.v2),this.v3.copy(e.v3),this}toJSON(){const e=super.toJSON();return e.v0=this.v0.toArray(),e.v1=this.v1.toArray(),e.v2=this.v2.toArray(),e.v3=this.v3.toArray(),e}fromJSON(e){return super.fromJSON(e),this.v0.fromArray(e.v0),this.v1.fromArray(e.v1),this.v2.fromArray(e.v2),this.v3.fromArray(e.v3),this}},EllipseCurve:ta,LineCurve:da,LineCurve3:class extends ea{constructor(e=new br,t=new br){super(),this.isLineCurve3=!0,this.type="LineCurve3",this.v1=e,this.v2=t}getPoint(e,t=new br){const r=t;return 1===e?r.copy(this.v2):(r.copy(this.v2).sub(this.v1),r.multiplyScalar(e).add(this.v1)),r}getPointAt(e,t){return this.getPoint(e,t)}getTangent(e,t=new br){return t.subVectors(this.v2,this.v1).normalize()}getTangentAt(e,t){return this.getTangent(e,t)}copy(e){return super.copy(e),this.v1.copy(e.v1),this.v2.copy(e.v2),this}toJSON(){const e=super.toJSON();return e.v1=this.v1.toArray(),e.v2=this.v2.toArray(),e}fromJSON(e){return super.fromJSON(e),this.v1.fromArray(e.v1),this.v2.fromArray(e.v2),this}},QuadraticBezierCurve:ha,QuadraticBezierCurve3:pa,SplineCurve:ma});class ga extends ea{constructor(){super(),this.type="CurvePath",this.curves=[],this.autoClose=!1}add(e){this.curves.push(e)}closePath(){const e=this.curves[0].getPoint(0),t=this.curves[this.curves.length-1].getPoint(1);if(!e.equals(t)){const r=!0===e.isVector2?"LineCurve":"LineCurve3";this.curves.push(new _a[r](t,e))}return this}getPoint(e,t){const r=e*this.getLength(),n=this.getCurveLengths();let i=0;for(;i<n.length;){if(n[i]>=r){const e=n[i]-r,o=this.curves[i],s=o.getLength(),a=0===s?0:1-e/s;return o.getPointAt(a,t)}i++}return null}getLength(){const e=this.getCurveLengths();return e[e.length-1]}updateArcLengths(){this.needsUpdate=!0,this.cacheLengths=null,this.getCurveLengths()}getCurveLengths(){if(this.cacheLengths&&this.cacheLengths.length===this.curves.length)return this.cacheLengths;const e=[];let t=0;for(let r=0,n=this.curves.length;r<n;r++)t+=this.curves[r].getLength(),e.push(t);return this.cacheLengths=e,e}getSpacedPoints(e=40){const t=[];for(let r=0;r<=e;r++)t.push(this.getPoint(r/e));return this.autoClose&&t.push(t[0]),t}getPoints(e=12){const t=[];let r;for(let n=0,i=this.curves;n<i.length;n++){const o=i[n],s=o.isEllipseCurve?2*e:o.isLineCurve||o.isLineCurve3?1:o.isSplineCurve?e*o.points.length:e,a=o.getPoints(s);for(let e=0;e<a.length;e++){const n=a[e];r&&r.equals(n)||(t.push(n),r=n)}}return this.autoClose&&t.length>1&&!t[t.length-1].equals(t[0])&&t.push(t[0]),t}copy(e){super.copy(e),this.curves=[];for(let t=0,r=e.curves.length;t<r;t++){const r=e.curves[t];this.curves.push(r.clone())}return this.autoClose=e.autoClose,this}toJSON(){const e=super.toJSON();e.autoClose=this.autoClose,e.curves=[];for(let t=0,r=this.curves.length;t<r;t++){const r=this.curves[t];e.curves.push(r.toJSON())}return e}fromJSON(e){super.fromJSON(e),this.autoClose=e.autoClose,this.curves=[];for(let t=0,r=e.curves.length;t<r;t++){const r=e.curves[t];this.curves.push((new _a[r.type]).fromJSON(r))}return this}}class fa extends ga{constructor(e){super(),this.type="Path",this.currentPoint=new fr,e&&this.setFromPoints(e)}setFromPoints(e){this.moveTo(e[0].x,e[0].y);for(let t=1,r=e.length;t<r;t++)this.lineTo(e[t].x,e[t].y);return this}moveTo(e,t){return this.currentPoint.set(e,t),this}lineTo(e,t){const r=new da(this.currentPoint.clone(),new fr(e,t));return this.curves.push(r),this.currentPoint.set(e,t),this}quadraticCurveTo(e,t,r,n){const i=new ha(this.currentPoint.clone(),new fr(e,t),new fr(r,n));return this.curves.push(i),this.currentPoint.set(r,n),this}bezierCurveTo(e,t,r,n,i,o){const s=new ua(this.currentPoint.clone(),new fr(e,t),new fr(r,n),new fr(i,o));return this.curves.push(s),this.currentPoint.set(i,o),this}splineThru(e){const t=[this.currentPoint.clone()].concat(e),r=new ma(t);return this.curves.push(r),this.currentPoint.copy(e[e.length-1]),this}arc(e,t,r,n,i,o){const s=this.currentPoint.x,a=this.currentPoint.y;return this.absarc(e+s,t+a,r,n,i,o),this}absarc(e,t,r,n,i,o){return this.absellipse(e,t,r,r,n,i,o),this}ellipse(e,t,r,n,i,o,s,a){const l=this.currentPoint.x,c=this.currentPoint.y;return this.absellipse(e+l,t+c,r,n,i,o,s,a),this}absellipse(e,t,r,n,i,o,s,a){const l=new ta(e,t,r,n,i,o,s,a);if(this.curves.length>0){const e=l.getPoint(0);e.equals(this.currentPoint)||this.lineTo(e.x,e.y)}this.curves.push(l);const c=l.getPoint(1);return this.currentPoint.copy(c),this}copy(e){return super.copy(e),this.currentPoint.copy(e.currentPoint),this}toJSON(){const e=super.toJSON();return e.currentPoint=this.currentPoint.toArray(),e}fromJSON(e){return super.fromJSON(e),this.currentPoint.fromArray(e.currentPoint),this}}class va extends fa{constructor(e){super(e),this.uuid=ur(),this.type="Shape",this.holes=[]}getPointsHoles(e){const t=[];for(let r=0,n=this.holes.length;r<n;r++)t[r]=this.holes[r].getPoints(e);return t}extractPoints(e){return{shape:this.getPoints(e),holes:this.getPointsHoles(e)}}copy(e){super.copy(e),this.holes=[];for(let t=0,r=e.holes.length;t<r;t++){const r=e.holes[t];this.holes.push(r.clone())}return this}toJSON(){const e=super.toJSON();e.uuid=this.uuid,e.holes=[];for(let t=0,r=this.holes.length;t<r;t++){const r=this.holes[t];e.holes.push(r.toJSON())}return e}fromJSON(e){super.fromJSON(e),this.uuid=e.uuid,this.holes=[];for(let t=0,r=e.holes.length;t<r;t++){const r=e.holes[t];this.holes.push((new fa).fromJSON(r))}return this}}function ba(e,t,r=2){const n=t&&t.length,i=n?t[0]*r:e.length;let o=ya(e,0,i,r,!0);const s=[];if(!o||o.next===o.prev)return s;let a,l,c;if(n&&(o=function(e,t,r,n){const i=[];for(let r=0,o=t.length;r<o;r++){const s=ya(e,t[r]*n,r<o-1?t[r+1]*n:e.length,n,!1);s===s.next&&(s.steiner=!0),i.push(Ta(s))}i.sort(Ea);for(let e=0;e<i.length;e++)r=Ia(i[e],r);return r}(e,t,o,r)),e.length>80*r){a=1/0,l=1/0;let t=-1/0,n=-1/0;for(let o=r;o<i;o+=r){const r=e[o],i=e[o+1];r<a&&(a=r),i<l&&(l=i),r>t&&(t=r),i>n&&(n=i)}c=Math.max(t-a,n-l),c=0!==c?32767/c:0}return xa(o,s,r,a,l,c,0),s}function ya(e,t,r,n,i){let o;if(i===function(e,t,r,n){let i=0;for(let o=t,s=r-n;o<r;o+=n)i+=(e[s]-e[o])*(e[o+1]+e[s+1]),s=o;return i}(e,t,r,n)>0)for(let i=t;i<r;i+=n)o=za(i/n|0,e[i],e[i+1],o);else for(let i=r-n;i>=t;i-=n)o=za(i/n|0,e[i],e[i+1],o);return o&&Na(o,o.next)&&(Ha(o),o=o.next),o}function $a(e,t){if(!e)return e;t||(t=e);let r,n=e;do{if(r=!1,n.steiner||!Na(n,n.next)&&0!==Da(n.prev,n,n.next))n=n.next;else{if(Ha(n),n=t=n.prev,n===n.next)break;r=!0}}while(r||n!==t);return t}function xa(e,t,r,n,i,o,s){if(!e)return;!s&&o&&function(e,t,r,n){let i=e;do{0===i.z&&(i.z=ka(i.x,i.y,t,r,n)),i.prevZ=i.prev,i.nextZ=i.next,i=i.next}while(i!==e);i.prevZ.nextZ=null,i.prevZ=null,function(e){let t,r=1;do{let n,i=e;e=null;let o=null;for(t=0;i;){t++;let s=i,a=0;for(let e=0;e<r&&(a++,s=s.nextZ,s);e++);let l=r;for(;a>0||l>0&&s;)0!==a&&(0===l||!s||i.z<=s.z)?(n=i,i=i.nextZ,a--):(n=s,s=s.nextZ,l--),o?o.nextZ=n:e=n,n.prevZ=o,o=n;i=s}o.nextZ=null,r*=2}while(t>1)}(i)}(e,n,i,o);let a=e;for(;e.prev!==e.next;){const l=e.prev,c=e.next;if(o?wa(e,n,i,o):Sa(e))t.push(l.i,e.i,c.i),Ha(e),e=c.next,a=c.next;else if((e=c)===a){s?1===s?xa(e=Aa($a(e),t),t,r,n,i,o,2):2===s&&Ca(e,t,r,n,i,o):xa($a(e),t,r,n,i,o,1);break}}}function Sa(e){const t=e.prev,r=e,n=e.next;if(Da(t,r,n)>=0)return!1;const i=t.x,o=r.x,s=n.x,a=t.y,l=r.y,c=n.y,u=Math.min(i,o,s),d=Math.min(a,l,c),h=Math.max(i,o,s),p=Math.max(a,l,c);let m=n.next;for(;m!==t;){if(m.x>=u&&m.x<=h&&m.y>=d&&m.y<=p&&La(i,a,o,l,s,c,m.x,m.y)&&Da(m.prev,m,m.next)>=0)return!1;m=m.next}return!0}function wa(e,t,r,n){const i=e.prev,o=e,s=e.next;if(Da(i,o,s)>=0)return!1;const a=i.x,l=o.x,c=s.x,u=i.y,d=o.y,h=s.y,p=Math.min(a,l,c),m=Math.min(u,d,h),_=Math.max(a,l,c),g=Math.max(u,d,h),f=ka(p,m,t,r,n),v=ka(_,g,t,r,n);let b=e.prevZ,y=e.nextZ;for(;b&&b.z>=f&&y&&y.z<=v;){if(b.x>=p&&b.x<=_&&b.y>=m&&b.y<=g&&b!==i&&b!==s&&La(a,u,l,d,c,h,b.x,b.y)&&Da(b.prev,b,b.next)>=0)return!1;if(b=b.prevZ,y.x>=p&&y.x<=_&&y.y>=m&&y.y<=g&&y!==i&&y!==s&&La(a,u,l,d,c,h,y.x,y.y)&&Da(y.prev,y,y.next)>=0)return!1;y=y.nextZ}for(;b&&b.z>=f;){if(b.x>=p&&b.x<=_&&b.y>=m&&b.y<=g&&b!==i&&b!==s&&La(a,u,l,d,c,h,b.x,b.y)&&Da(b.prev,b,b.next)>=0)return!1;b=b.prevZ}for(;y&&y.z<=v;){if(y.x>=p&&y.x<=_&&y.y>=m&&y.y<=g&&y!==i&&y!==s&&La(a,u,l,d,c,h,y.x,y.y)&&Da(y.prev,y,y.next)>=0)return!1;y=y.nextZ}return!0}function Aa(e,t){let r=e;do{const n=r.prev,i=r.next.next;!Na(n,i)&&Fa(n,r,r.next,i)&&Ua(n,i)&&Ua(i,n)&&(t.push(n.i,r.i,i.i),Ha(r),Ha(r.next),r=e=i),r=r.next}while(r!==e);return $a(r)}function Ca(e,t,r,n,i,o){let s=e;do{let e=s.next.next;for(;e!==s.prev;){if(s.i!==e.i&&Pa(s,e)){let a=Va(s,e);return s=$a(s,s.next),a=$a(a,a.next),xa(s,t,r,n,i,o,0),void xa(a,t,r,n,i,o,0)}e=e.next}s=s.next}while(s!==e)}function Ea(e,t){let r=e.x-t.x;if(0===r&&(r=e.y-t.y,0===r)){r=(e.next.y-e.y)/(e.next.x-e.x)-(t.next.y-t.y)/(t.next.x-t.x)}return r}function Ia(e,t){const r=function(e,t){let r=t;const n=e.x,i=e.y;let o,s=-1/0;if(Na(e,r))return r;do{if(Na(e,r.next))return r.next;if(i<=r.y&&i>=r.next.y&&r.next.y!==r.y){const e=r.x+(i-r.y)*(r.next.x-r.x)/(r.next.y-r.y);if(e<=n&&e>s&&(s=e,o=r.x<r.next.x?r:r.next,e===n))return o}r=r.next}while(r!==t);if(!o)return null;const a=o,l=o.x,c=o.y;let u=1/0;r=o;do{if(n>=r.x&&r.x>=l&&n!==r.x&&Ra(i<c?n:s,i,l,c,i<c?s:n,i,r.x,r.y)){const t=Math.abs(i-r.y)/(n-r.x);Ua(r,e)&&(t<u||t===u&&(r.x>o.x||r.x===o.x&&Ma(o,r)))&&(o=r,u=t)}r=r.next}while(r!==a);return o}(e,t);if(!r)return t;const n=Va(r,e);return $a(n,n.next),$a(r,r.next)}function Ma(e,t){return Da(e.prev,e,t.prev)<0&&Da(t.next,e,e.next)<0}function ka(e,t,r,n,i){return(e=1431655765&((e=858993459&((e=252645135&((e=16711935&((e=(e-r)*i|0)|e<<8))|e<<4))|e<<2))|e<<1))|(t=1431655765&((t=858993459&((t=252645135&((t=16711935&((t=(t-n)*i|0)|t<<8))|t<<4))|t<<2))|t<<1))<<1}function Ta(e){let t=e,r=e;do{(t.x<r.x||t.x===r.x&&t.y<r.y)&&(r=t),t=t.next}while(t!==e);return r}function Ra(e,t,r,n,i,o,s,a){return(i-s)*(t-a)>=(e-s)*(o-a)&&(e-s)*(n-a)>=(r-s)*(t-a)&&(r-s)*(o-a)>=(i-s)*(n-a)}function La(e,t,r,n,i,o,s,a){return!(e===s&&t===a)&&Ra(e,t,r,n,i,o,s,a)}function Pa(e,t){return e.next.i!==t.i&&e.prev.i!==t.i&&!function(e,t){let r=e;do{if(r.i!==e.i&&r.next.i!==e.i&&r.i!==t.i&&r.next.i!==t.i&&Fa(r,r.next,e,t))return!0;r=r.next}while(r!==e);return!1}(e,t)&&(Ua(e,t)&&Ua(t,e)&&function(e,t){let r=e,n=!1;const i=(e.x+t.x)/2,o=(e.y+t.y)/2;do{r.y>o!=r.next.y>o&&r.next.y!==r.y&&i<(r.next.x-r.x)*(o-r.y)/(r.next.y-r.y)+r.x&&(n=!n),r=r.next}while(r!==e);return n}(e,t)&&(Da(e.prev,e,t.prev)||Da(e,t.prev,t))||Na(e,t)&&Da(e.prev,e,e.next)>0&&Da(t.prev,t,t.next)>0)}function Da(e,t,r){return(t.y-e.y)*(r.x-t.x)-(t.x-e.x)*(r.y-t.y)}function Na(e,t){return e.x===t.x&&e.y===t.y}function Fa(e,t,r,n){const i=Ba(Da(e,t,r)),o=Ba(Da(e,t,n)),s=Ba(Da(r,n,e)),a=Ba(Da(r,n,t));return i!==o&&s!==a||(!(0!==i||!Oa(e,r,t))||(!(0!==o||!Oa(e,n,t))||(!(0!==s||!Oa(r,e,n))||!(0!==a||!Oa(r,t,n)))))}function Oa(e,t,r){return t.x<=Math.max(e.x,r.x)&&t.x>=Math.min(e.x,r.x)&&t.y<=Math.max(e.y,r.y)&&t.y>=Math.min(e.y,r.y)}function Ba(e){return e>0?1:e<0?-1:0}function Ua(e,t){return Da(e.prev,e,e.next)<0?Da(e,t,e.next)>=0&&Da(e,e.prev,t)>=0:Da(e,t,e.prev)<0||Da(e,e.next,t)<0}function Va(e,t){const r=Ga(e.i,e.x,e.y),n=Ga(t.i,t.x,t.y),i=e.next,o=t.prev;return e.next=t,t.prev=e,r.next=i,i.prev=r,n.next=r,r.prev=n,o.next=n,n.prev=o,n}function za(e,t,r,n){const i=Ga(e,t,r);return n?(i.next=n.next,i.prev=n,n.next.prev=i,n.next=i):(i.prev=i,i.next=i),i}function Ha(e){e.next.prev=e.prev,e.prev.next=e.next,e.prevZ&&(e.prevZ.nextZ=e.nextZ),e.nextZ&&(e.nextZ.prevZ=e.prevZ)}function Ga(e,t,r){return{i:e,x:t,y:r,prev:null,next:null,z:0,prevZ:null,nextZ:null,steiner:!1}}class ja{static triangulate(e,t,r=2){return ba(e,t,r)}}class Ja{static area(e){const t=e.length;let r=0;for(let n=t-1,i=0;i<t;n=i++)r+=e[n].x*e[i].y-e[i].x*e[n].y;return.5*r}static isClockWise(e){return Ja.area(e)<0}static triangulateShape(e,t){const r=[],n=[],i=[];Wa(e),Qa(r,e);let o=e.length;t.forEach(Wa);for(let e=0;e<t.length;e++)n.push(o),o+=t[e].length,Qa(r,t[e]);const s=ja.triangulate(r,n);for(let e=0;e<s.length;e+=3)i.push(s.slice(e,e+3));return i}}function Wa(e){const t=e.length;t>2&&e[t-1].equals(e[0])&&e.pop()}function Qa(e,t){for(let r=0;r<t.length;r++)e.push(t[r].x),e.push(t[r].y)}class qa extends Oi{constructor(e=new va([new fr(.5,.5),new fr(-.5,.5),new fr(-.5,-.5),new fr(.5,-.5)]),t={}){super(),this.type="ExtrudeGeometry",this.parameters={shapes:e,options:t},e=Array.isArray(e)?e:[e];const r=this,n=[],i=[];for(let t=0,r=e.length;t<r;t++){o(e[t])}function o(e){const o=[],s=void 0!==t.curveSegments?t.curveSegments:12,a=void 0!==t.steps?t.steps:1,l=void 0!==t.depth?t.depth:1;let c=void 0===t.bevelEnabled||t.bevelEnabled,u=void 0!==t.bevelThickness?t.bevelThickness:.2,d=void 0!==t.bevelSize?t.bevelSize:u-.1,h=void 0!==t.bevelOffset?t.bevelOffset:0,p=void 0!==t.bevelSegments?t.bevelSegments:3;const m=t.extrudePath,_=void 0!==t.UVGenerator?t.UVGenerator:Ya;let g,f,v,b,y,$=!1;m&&(g=m.getSpacedPoints(a),$=!0,c=!1,f=m.computeFrenetFrames(a,!1),v=new br,b=new br,y=new br),c||(p=0,u=0,d=0,h=0);const x=e.extractPoints(s);let S=x.shape;const w=x.holes;if(!Ja.isClockWise(S)){S=S.reverse();for(let e=0,t=w.length;e<t;e++){const t=w[e];Ja.isClockWise(t)&&(w[e]=t.reverse())}}function A(e){const t=1e-10*1e-10;let r=e[0];for(let n=1;n<=e.length;n++){const i=n%e.length,o=e[i],s=o.x-r.x,a=o.y-r.y,l=s*s+a*a,c=Math.max(Math.abs(o.x),Math.abs(o.y),Math.abs(r.x),Math.abs(r.y));l<=t*c*c?(e.splice(i,1),n--):r=o}}A(S),w.forEach(A);const C=w.length,E=S;for(let e=0;e<C;e++){const t=w[e];S=S.concat(t)}function I(e,t,r){return t||console.error("THREE.ExtrudeGeometry: vec does not exist"),e.clone().addScaledVector(t,r)}const M=S.length;function k(e,t,r){let n,i,o;const s=e.x-t.x,a=e.y-t.y,l=r.x-e.x,c=r.y-e.y,u=s*s+a*a,d=s*c-a*l;if(Math.abs(d)>Number.EPSILON){const d=Math.sqrt(u),h=Math.sqrt(l*l+c*c),p=t.x-a/d,m=t.y+s/d,_=((r.x-c/h-p)*c-(r.y+l/h-m)*l)/(s*c-a*l);n=p+s*_-e.x,i=m+a*_-e.y;const g=n*n+i*i;if(g<=2)return new fr(n,i);o=Math.sqrt(g/2)}else{let e=!1;s>Number.EPSILON?l>Number.EPSILON&&(e=!0):s<-Number.EPSILON?l<-Number.EPSILON&&(e=!0):Math.sign(a)===Math.sign(c)&&(e=!0),e?(n=-a,i=s,o=Math.sqrt(u)):(n=s,i=a,o=Math.sqrt(u/2))}return new fr(n/o,i/o)}const T=[];for(let e=0,t=E.length,r=t-1,n=e+1;e<t;e++,r++,n++)r===t&&(r=0),n===t&&(n=0),T[e]=k(E[e],E[r],E[n]);const R=[];let L,P,D=T.concat();for(let e=0,t=C;e<t;e++){const t=w[e];L=[];for(let e=0,r=t.length,n=r-1,i=e+1;e<r;e++,n++,i++)n===r&&(n=0),i===r&&(i=0),L[e]=k(t[e],t[n],t[i]);R.push(L),D=D.concat(L)}if(0===p)P=Ja.triangulateShape(E,w);else{const e=[],t=[];for(let r=0;r<p;r++){const n=r/p,i=u*Math.cos(n*Math.PI/2),o=d*Math.sin(n*Math.PI/2)+h;for(let t=0,r=E.length;t<r;t++){const r=I(E[t],T[t],o);B(r.x,r.y,-i),0===n&&e.push(r)}for(let e=0,r=C;e<r;e++){const r=w[e];L=R[e];const s=[];for(let e=0,t=r.length;e<t;e++){const t=I(r[e],L[e],o);B(t.x,t.y,-i),0===n&&s.push(t)}0===n&&t.push(s)}}P=Ja.triangulateShape(e,t)}const N=P.length,F=d+h;for(let e=0;e<M;e++){const t=c?I(S[e],D[e],F):S[e];$?(b.copy(f.normals[0]).multiplyScalar(t.x),v.copy(f.binormals[0]).multiplyScalar(t.y),y.copy(g[0]).add(b).add(v),B(y.x,y.y,y.z)):B(t.x,t.y,0)}for(let e=1;e<=a;e++)for(let t=0;t<M;t++){const r=c?I(S[t],D[t],F):S[t];$?(b.copy(f.normals[e]).multiplyScalar(r.x),v.copy(f.binormals[e]).multiplyScalar(r.y),y.copy(g[e]).add(b).add(v),B(y.x,y.y,y.z)):B(r.x,r.y,l/a*e)}for(let e=p-1;e>=0;e--){const t=e/p,r=u*Math.cos(t*Math.PI/2),n=d*Math.sin(t*Math.PI/2)+h;for(let e=0,t=E.length;e<t;e++){const t=I(E[e],T[e],n);B(t.x,t.y,l+r)}for(let e=0,t=w.length;e<t;e++){const t=w[e];L=R[e];for(let e=0,i=t.length;e<i;e++){const i=I(t[e],L[e],n);$?B(i.x,i.y+g[a-1].y,g[a-1].x+r):B(i.x,i.y,l+r)}}}function O(e,t){let r=e.length;for(;--r>=0;){const n=r;let i=r-1;i<0&&(i=e.length-1);for(let e=0,r=a+2*p;e<r;e++){const r=M*e,o=M*(e+1);V(t+n+r,t+i+r,t+i+o,t+n+o)}}}function B(e,t,r){o.push(e),o.push(t),o.push(r)}function U(e,t,i){z(e),z(t),z(i);const o=n.length/3,s=_.generateTopUV(r,n,o-3,o-2,o-1);H(s[0]),H(s[1]),H(s[2])}function V(e,t,i,o){z(e),z(t),z(o),z(t),z(i),z(o);const s=n.length/3,a=_.generateSideWallUV(r,n,s-6,s-3,s-2,s-1);H(a[0]),H(a[1]),H(a[3]),H(a[1]),H(a[2]),H(a[3])}function z(e){n.push(o[3*e+0]),n.push(o[3*e+1]),n.push(o[3*e+2])}function H(e){i.push(e.x),i.push(e.y)}!function(){const e=n.length/3;if(c){let e=0,t=M*e;for(let e=0;e<N;e++){const r=P[e];U(r[2]+t,r[1]+t,r[0]+t)}e=a+2*p,t=M*e;for(let e=0;e<N;e++){const r=P[e];U(r[0]+t,r[1]+t,r[2]+t)}}else{for(let e=0;e<N;e++){const t=P[e];U(t[2],t[1],t[0])}for(let e=0;e<N;e++){const t=P[e];U(t[0]+M*a,t[1]+M*a,t[2]+M*a)}}r.addGroup(e,n.length/3-e,0)}(),function(){const e=n.length/3;let t=0;O(E,t),t+=E.length;for(let e=0,r=w.length;e<r;e++){const r=w[e];O(r,t),t+=r.length}r.addGroup(e,n.length/3-e,1)}()}this.setAttribute("position",new ki(n,3)),this.setAttribute("uv",new ki(i,2)),this.computeVertexNormals()}copy(e){return super.copy(e),this.parameters=Object.assign({},e.parameters),this}toJSON(){const e=super.toJSON();return function(e,t,r){if(r.shapes=[],Array.isArray(e))for(let t=0,n=e.length;t<n;t++){const n=e[t];r.shapes.push(n.uuid)}else r.shapes.push(e.uuid);r.options=Object.assign({},t),void 0!==t.extrudePath&&(r.options.extrudePath=t.extrudePath.toJSON());return r}(this.parameters.shapes,this.parameters.options,e)}static fromJSON(e,t){const r=[];for(let n=0,i=e.shapes.length;n<i;n++){const i=t[e.shapes[n]];r.push(i)}const n=e.options.extrudePath;return void 0!==n&&(e.options.extrudePath=(new _a[n.type]).fromJSON(n)),new qa(r,e.options)}}const Ya={generateTopUV:function(e,t,r,n,i){const o=t[3*r],s=t[3*r+1],a=t[3*n],l=t[3*n+1],c=t[3*i],u=t[3*i+1];return[new fr(o,s),new fr(a,l),new fr(c,u)]},generateSideWallUV:function(e,t,r,n,i,o){const s=t[3*r],a=t[3*r+1],l=t[3*r+2],c=t[3*n],u=t[3*n+1],d=t[3*n+2],h=t[3*i],p=t[3*i+1],m=t[3*i+2],_=t[3*o],g=t[3*o+1],f=t[3*o+2];return Math.abs(a-u)<Math.abs(s-c)?[new fr(s,1-l),new fr(c,1-d),new fr(h,1-m),new fr(_,1-f)]:[new fr(a,1-l),new fr(u,1-d),new fr(p,1-m),new fr(g,1-f)]}};class Xa extends Qs{constructor(e=1,t=0){super([1,0,0,-1,0,0,0,1,0,0,-1,0,0,0,1,0,0,-1],[0,2,4,0,4,3,0,3,5,0,5,2,1,2,5,1,5,3,1,3,4,1,4,2],e,t),this.type="OctahedronGeometry",this.parameters={radius:e,detail:t}}static fromJSON(e){return new Xa(e.radius,e.detail)}}class Ka extends Oi{constructor(e=1,t=1,r=1,n=1){super(),this.type="PlaneGeometry",this.parameters={width:e,height:t,widthSegments:r,heightSegments:n};const i=e/2,o=t/2,s=Math.floor(r),a=Math.floor(n),l=s+1,c=a+1,u=e/s,d=t/a,h=[],p=[],m=[],_=[];for(let e=0;e<c;e++){const t=e*d-o;for(let r=0;r<l;r++){const n=r*u-i;p.push(n,-t,0),m.push(0,0,1),_.push(r/s),_.push(1-e/a)}}for(let e=0;e<a;e++)for(let t=0;t<s;t++){const r=t+l*e,n=t+l*(e+1),i=t+1+l*(e+1),o=t+1+l*e;h.push(r,n,o),h.push(n,i,o)}this.setIndex(h),this.setAttribute("position",new ki(p,3)),this.setAttribute("normal",new ki(m,3)),this.setAttribute("uv",new ki(_,2))}copy(e){return super.copy(e),this.parameters=Object.assign({},e.parameters),this}static fromJSON(e){return new Ka(e.width,e.height,e.widthSegments,e.heightSegments)}}class Za extends Oi{constructor(e=1,t=32,r=16,n=0,i=2*Math.PI,o=0,s=Math.PI){super(),this.type="SphereGeometry",this.parameters={radius:e,widthSegments:t,heightSegments:r,phiStart:n,phiLength:i,thetaStart:o,thetaLength:s},t=Math.max(3,Math.floor(t)),r=Math.max(2,Math.floor(r));const a=Math.min(o+s,Math.PI);let l=0;const c=[],u=new br,d=new br,h=[],p=[],m=[],_=[];for(let h=0;h<=r;h++){const g=[],f=h/r;let v=0;0===h&&0===o?v=.5/t:h===r&&a===Math.PI&&(v=-.5/t);for(let r=0;r<=t;r++){const a=r/t;u.x=-e*Math.cos(n+a*i)*Math.sin(o+f*s),u.y=e*Math.cos(o+f*s),u.z=e*Math.sin(n+a*i)*Math.sin(o+f*s),p.push(u.x,u.y,u.z),d.copy(u).normalize(),m.push(d.x,d.y,d.z),_.push(a+v,1-f),g.push(l++)}c.push(g)}for(let e=0;e<r;e++)for(let n=0;n<t;n++){const t=c[e][n+1],i=c[e][n],s=c[e+1][n],l=c[e+1][n+1];(0!==e||o>0)&&h.push(t,i,l),(e!==r-1||a<Math.PI)&&h.push(i,s,l)}this.setIndex(h),this.setAttribute("position",new ki(p,3)),this.setAttribute("normal",new ki(m,3)),this.setAttribute("uv",new ki(_,2))}copy(e){return super.copy(e),this.parameters=Object.assign({},e.parameters),this}static fromJSON(e){return new Za(e.radius,e.widthSegments,e.heightSegments,e.phiStart,e.phiLength,e.thetaStart,e.thetaLength)}}class el extends Oi{constructor(e=1,t=.4,r=12,n=48,i=2*Math.PI){super(),this.type="TorusGeometry",this.parameters={radius:e,tube:t,radialSegments:r,tubularSegments:n,arc:i},r=Math.floor(r),n=Math.floor(n);const o=[],s=[],a=[],l=[],c=new br,u=new br,d=new br;for(let o=0;o<=r;o++)for(let h=0;h<=n;h++){const p=h/n*i,m=o/r*Math.PI*2;u.x=(e+t*Math.cos(m))*Math.cos(p),u.y=(e+t*Math.cos(m))*Math.sin(p),u.z=t*Math.sin(m),s.push(u.x,u.y,u.z),c.x=e*Math.cos(p),c.y=e*Math.sin(p),d.subVectors(u,c).normalize(),a.push(d.x,d.y,d.z),l.push(h/n),l.push(o/r)}for(let e=1;e<=r;e++)for(let t=1;t<=n;t++){const r=(n+1)*e+t-1,i=(n+1)*(e-1)+t-1,s=(n+1)*(e-1)+t,a=(n+1)*e+t;o.push(r,i,a),o.push(i,s,a)}this.setIndex(o),this.setAttribute("position",new ki(s,3)),this.setAttribute("normal",new ki(a,3)),this.setAttribute("uv",new ki(l,2))}copy(e){return super.copy(e),this.parameters=Object.assign({},e.parameters),this}static fromJSON(e){return new el(e.radius,e.tube,e.radialSegments,e.tubularSegments,e.arc)}}class tl extends Oi{constructor(e=null){if(super(),this.type="WireframeGeometry",this.parameters={geometry:e},null!==e){const t=[],r=new Set,n=new br,i=new br;if(null!==e.index){const o=e.attributes.position,s=e.index;let a=e.groups;0===a.length&&(a=[{start:0,count:s.count,materialIndex:0}]);for(let e=0,l=a.length;e<l;++e){const l=a[e],c=l.start;for(let e=c,a=c+l.count;e<a;e+=3)for(let a=0;a<3;a++){const l=s.getX(e+a),c=s.getX(e+(a+1)%3);n.fromBufferAttribute(o,l),i.fromBufferAttribute(o,c),!0===rl(n,i,r)&&(t.push(n.x,n.y,n.z),t.push(i.x,i.y,i.z))}}}else{const o=e.attributes.position;for(let e=0,s=o.count/3;e<s;e++)for(let s=0;s<3;s++){const a=3*e+s,l=3*e+(s+1)%3;n.fromBufferAttribute(o,a),i.fromBufferAttribute(o,l),!0===rl(n,i,r)&&(t.push(n.x,n.y,n.z),t.push(i.x,i.y,i.z))}}this.setAttribute("position",new ki(t,3))}}copy(e){return super.copy(e),this.parameters=Object.assign({},e.parameters),this}}function rl(e,t,r){const n=`${e.x},${e.y},${e.z}-${t.x},${t.y},${t.z}`,i=`${t.x},${t.y},${t.z}-${e.x},${e.y},${e.z}`;return!0!==r.has(n)&&!0!==r.has(i)&&(r.add(n),r.add(i),!0)}class nl extends fi{constructor(e){super(),this.isShadowMaterial=!0,this.type="ShadowMaterial",this.color=new mi(0),this.transparent=!0,this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.fog=e.fog,this}}class il extends no{constructor(e){super(e),this.isRawShaderMaterial=!0,this.type="RawShaderMaterial"}}let ol=class extends fi{constructor(e){super(),this.isMeshStandardMaterial=!0,this.type="MeshStandardMaterial",this.defines={STANDARD:""},this.color=new mi(16777215),this.roughness=1,this.metalness=0,this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new mi(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=0,this.normalScale=new fr(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.roughnessMap=null,this.metalnessMap=null,this.alphaMap=null,this.envMap=null,this.envMapRotation=new Rn,this.envMapIntensity=1,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.flatShading=!1,this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.defines={STANDARD:""},this.color.copy(e.color),this.roughness=e.roughness,this.metalness=e.metalness,this.map=e.map,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.emissive.copy(e.emissive),this.emissiveMap=e.emissiveMap,this.emissiveIntensity=e.emissiveIntensity,this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.roughnessMap=e.roughnessMap,this.metalnessMap=e.metalnessMap,this.alphaMap=e.alphaMap,this.envMap=e.envMap,this.envMapRotation.copy(e.envMapRotation),this.envMapIntensity=e.envMapIntensity,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.flatShading=e.flatShading,this.fog=e.fog,this}},sl=class extends ol{constructor(e){super(),this.isMeshPhysicalMaterial=!0,this.defines={STANDARD:"",PHYSICAL:""},this.type="MeshPhysicalMaterial",this.anisotropyRotation=0,this.anisotropyMap=null,this.clearcoatMap=null,this.clearcoatRoughness=0,this.clearcoatRoughnessMap=null,this.clearcoatNormalScale=new fr(1,1),this.clearcoatNormalMap=null,this.ior=1.5,Object.defineProperty(this,"reflectivity",{get:function(){return dr(2.5*(this.ior-1)/(this.ior+1),0,1)},set:function(e){this.ior=(1+.4*e)/(1-.4*e)}}),this.iridescenceMap=null,this.iridescenceIOR=1.3,this.iridescenceThicknessRange=[100,400],this.iridescenceThicknessMap=null,this.sheenColor=new mi(0),this.sheenColorMap=null,this.sheenRoughness=1,this.sheenRoughnessMap=null,this.transmissionMap=null,this.thickness=0,this.thicknessMap=null,this.attenuationDistance=1/0,this.attenuationColor=new mi(1,1,1),this.specularIntensity=1,this.specularIntensityMap=null,this.specularColor=new mi(1,1,1),this.specularColorMap=null,this._anisotropy=0,this._clearcoat=0,this._dispersion=0,this._iridescence=0,this._sheen=0,this._transmission=0,this.setValues(e)}get anisotropy(){return this._anisotropy}set anisotropy(e){this._anisotropy>0!=e>0&&this.version++,this._anisotropy=e}get clearcoat(){return this._clearcoat}set clearcoat(e){this._clearcoat>0!=e>0&&this.version++,this._clearcoat=e}get iridescence(){return this._iridescence}set iridescence(e){this._iridescence>0!=e>0&&this.version++,this._iridescence=e}get dispersion(){return this._dispersion}set dispersion(e){this._dispersion>0!=e>0&&this.version++,this._dispersion=e}get sheen(){return this._sheen}set sheen(e){this._sheen>0!=e>0&&this.version++,this._sheen=e}get transmission(){return this._transmission}set transmission(e){this._transmission>0!=e>0&&this.version++,this._transmission=e}copy(e){return super.copy(e),this.defines={STANDARD:"",PHYSICAL:""},this.anisotropy=e.anisotropy,this.anisotropyRotation=e.anisotropyRotation,this.anisotropyMap=e.anisotropyMap,this.clearcoat=e.clearcoat,this.clearcoatMap=e.clearcoatMap,this.clearcoatRoughness=e.clearcoatRoughness,this.clearcoatRoughnessMap=e.clearcoatRoughnessMap,this.clearcoatNormalMap=e.clearcoatNormalMap,this.clearcoatNormalScale.copy(e.clearcoatNormalScale),this.dispersion=e.dispersion,this.ior=e.ior,this.iridescence=e.iridescence,this.iridescenceMap=e.iridescenceMap,this.iridescenceIOR=e.iridescenceIOR,this.iridescenceThicknessRange=[...e.iridescenceThicknessRange],this.iridescenceThicknessMap=e.iridescenceThicknessMap,this.sheen=e.sheen,this.sheenColor.copy(e.sheenColor),this.sheenColorMap=e.sheenColorMap,this.sheenRoughness=e.sheenRoughness,this.sheenRoughnessMap=e.sheenRoughnessMap,this.transmission=e.transmission,this.transmissionMap=e.transmissionMap,this.thickness=e.thickness,this.thicknessMap=e.thicknessMap,this.attenuationDistance=e.attenuationDistance,this.attenuationColor.copy(e.attenuationColor),this.specularIntensity=e.specularIntensity,this.specularIntensityMap=e.specularIntensityMap,this.specularColor.copy(e.specularColor),this.specularColorMap=e.specularColorMap,this}};class al extends fi{constructor(e){super(),this.isMeshPhongMaterial=!0,this.type="MeshPhongMaterial",this.color=new mi(16777215),this.specular=new mi(1118481),this.shininess=30,this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new mi(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=0,this.normalScale=new fr(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.envMapRotation=new Rn,this.combine=0,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.flatShading=!1,this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.specular.copy(e.specular),this.shininess=e.shininess,this.map=e.map,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.emissive.copy(e.emissive),this.emissiveMap=e.emissiveMap,this.emissiveIntensity=e.emissiveIntensity,this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.specularMap=e.specularMap,this.alphaMap=e.alphaMap,this.envMap=e.envMap,this.envMapRotation.copy(e.envMapRotation),this.combine=e.combine,this.reflectivity=e.reflectivity,this.refractionRatio=e.refractionRatio,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.flatShading=e.flatShading,this.fog=e.fog,this}}class ll extends fi{constructor(e){super(),this.isMeshNormalMaterial=!0,this.type="MeshNormalMaterial",this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=0,this.normalScale=new fr(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.wireframe=!1,this.wireframeLinewidth=1,this.flatShading=!1,this.setValues(e)}copy(e){return super.copy(e),this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.flatShading=e.flatShading,this}}class cl extends fi{constructor(e){super(),this.isMeshLambertMaterial=!0,this.type="MeshLambertMaterial",this.color=new mi(16777215),this.map=null,this.lightMap=null,this.lightMapIntensity=1,this.aoMap=null,this.aoMapIntensity=1,this.emissive=new mi(0),this.emissiveIntensity=1,this.emissiveMap=null,this.bumpMap=null,this.bumpScale=1,this.normalMap=null,this.normalMapType=0,this.normalScale=new fr(1,1),this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.specularMap=null,this.alphaMap=null,this.envMap=null,this.envMapRotation=new Rn,this.combine=0,this.reflectivity=1,this.refractionRatio=.98,this.wireframe=!1,this.wireframeLinewidth=1,this.wireframeLinecap="round",this.wireframeLinejoin="round",this.flatShading=!1,this.fog=!0,this.setValues(e)}copy(e){return super.copy(e),this.color.copy(e.color),this.map=e.map,this.lightMap=e.lightMap,this.lightMapIntensity=e.lightMapIntensity,this.aoMap=e.aoMap,this.aoMapIntensity=e.aoMapIntensity,this.emissive.copy(e.emissive),this.emissiveMap=e.emissiveMap,this.emissiveIntensity=e.emissiveIntensity,this.bumpMap=e.bumpMap,this.bumpScale=e.bumpScale,this.normalMap=e.normalMap,this.normalMapType=e.normalMapType,this.normalScale.copy(e.normalScale),this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.specularMap=e.specularMap,this.alphaMap=e.alphaMap,this.envMap=e.envMap,this.envMapRotation.copy(e.envMapRotation),this.combine=e.combine,this.reflectivity=e.reflectivity,this.refractionRatio=e.refractionRatio,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this.wireframeLinecap=e.wireframeLinecap,this.wireframeLinejoin=e.wireframeLinejoin,this.flatShading=e.flatShading,this.fog=e.fog,this}}class ul extends fi{constructor(e){super(),this.isMeshDepthMaterial=!0,this.type="MeshDepthMaterial",this.depthPacking=3200,this.map=null,this.alphaMap=null,this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.wireframe=!1,this.wireframeLinewidth=1,this.setValues(e)}copy(e){return super.copy(e),this.depthPacking=e.depthPacking,this.map=e.map,this.alphaMap=e.alphaMap,this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this.wireframe=e.wireframe,this.wireframeLinewidth=e.wireframeLinewidth,this}}class dl extends fi{constructor(e){super(),this.isMeshDistanceMaterial=!0,this.type="MeshDistanceMaterial",this.map=null,this.alphaMap=null,this.displacementMap=null,this.displacementScale=1,this.displacementBias=0,this.setValues(e)}copy(e){return super.copy(e),this.map=e.map,this.alphaMap=e.alphaMap,this.displacementMap=e.displacementMap,this.displacementScale=e.displacementScale,this.displacementBias=e.displacementBias,this}}function hl(e,t){return e&&e.constructor!==t?"number"==typeof t.BYTES_PER_ELEMENT?new t(e):Array.prototype.slice.call(e):e}function pl(e){return ArrayBuffer.isView(e)&&!(e instanceof DataView)}function ml(e){const t=e.length,r=new Array(t);for(let e=0;e!==t;++e)r[e]=e;return r.sort(function(t,r){return e[t]-e[r]}),r}function _l(e,t,r){const n=e.length,i=new e.constructor(n);for(let o=0,s=0;s!==n;++o){const n=r[o]*t;for(let r=0;r!==t;++r)i[s++]=e[n+r]}return i}function gl(e,t,r,n){let i=1,o=e[0];for(;void 0!==o&&void 0===o[n];)o=e[i++];if(void 0===o)return;let s=o[n];if(void 0!==s)if(Array.isArray(s))do{s=o[n],void 0!==s&&(t.push(o.time),r.push(...s)),o=e[i++]}while(void 0!==o);else if(void 0!==s.toArray)do{s=o[n],void 0!==s&&(t.push(o.time),s.toArray(r,r.length)),o=e[i++]}while(void 0!==o);else do{s=o[n],void 0!==s&&(t.push(o.time),r.push(s)),o=e[i++]}while(void 0!==o)}class fl{constructor(e,t,r,n){this.parameterPositions=e,this._cachedIndex=0,this.resultBuffer=void 0!==n?n:new t.constructor(r),this.sampleValues=t,this.valueSize=r,this.settings=null,this.DefaultSettings_={}}evaluate(e){const t=this.parameterPositions;let r=this._cachedIndex,n=t[r],i=t[r-1];e:{t:{let o;r:{n:if(!(e<n)){for(let o=r+2;;){if(void 0===n){if(e<i)break n;return r=t.length,this._cachedIndex=r,this.copySampleValue_(r-1)}if(r===o)break;if(i=n,n=t[++r],e<n)break t}o=t.length;break r}if(!(e>=i)){const s=t[1];e<s&&(r=2,i=s);for(let o=r-2;;){if(void 0===i)return this._cachedIndex=0,this.copySampleValue_(0);if(r===o)break;if(n=i,i=t[--r-1],e>=i)break t}o=r,r=0;break r}break e}for(;r<o;){const n=r+o>>>1;e<t[n]?o=n:r=n+1}if(n=t[r],i=t[r-1],void 0===i)return this._cachedIndex=0,this.copySampleValue_(0);if(void 0===n)return r=t.length,this._cachedIndex=r,this.copySampleValue_(r-1)}this._cachedIndex=r,this.intervalChanged_(r,i,n)}return this.interpolate_(r,i,e,n)}getSettings_(){return this.settings||this.DefaultSettings_}copySampleValue_(e){const t=this.resultBuffer,r=this.sampleValues,n=this.valueSize,i=e*n;for(let e=0;e!==n;++e)t[e]=r[i+e];return t}interpolate_(){throw new Error("call to abstract method")}intervalChanged_(){}}class vl extends fl{constructor(e,t,r,n){super(e,t,r,n),this._weightPrev=-0,this._offsetPrev=-0,this._weightNext=-0,this._offsetNext=-0,this.DefaultSettings_={endingStart:Nt,endingEnd:Nt}}intervalChanged_(e,t,r){const n=this.parameterPositions;let i=e-2,o=e+1,s=n[i],a=n[o];if(void 0===s)switch(this.getSettings_().endingStart){case Ft:i=e,s=2*t-r;break;case Ot:i=n.length-2,s=t+n[i]-n[i+1];break;default:i=e,s=r}if(void 0===a)switch(this.getSettings_().endingEnd){case Ft:o=e,a=2*r-t;break;case Ot:o=1,a=r+n[1]-n[0];break;default:o=e-1,a=t}const l=.5*(r-t),c=this.valueSize;this._weightPrev=l/(t-s),this._weightNext=l/(a-r),this._offsetPrev=i*c,this._offsetNext=o*c}interpolate_(e,t,r,n){const i=this.resultBuffer,o=this.sampleValues,s=this.valueSize,a=e*s,l=a-s,c=this._offsetPrev,u=this._offsetNext,d=this._weightPrev,h=this._weightNext,p=(r-t)/(n-t),m=p*p,_=m*p,g=-d*_+2*d*m-d*p,f=(1+d)*_+(-1.5-2*d)*m+(-.5+d)*p+1,v=(-1-h)*_+(1.5+h)*m+.5*p,b=h*_-h*m;for(let e=0;e!==s;++e)i[e]=g*o[c+e]+f*o[l+e]+v*o[a+e]+b*o[u+e];return i}}class bl extends fl{constructor(e,t,r,n){super(e,t,r,n)}interpolate_(e,t,r,n){const i=this.resultBuffer,o=this.sampleValues,s=this.valueSize,a=e*s,l=a-s,c=(r-t)/(n-t),u=1-c;for(let e=0;e!==s;++e)i[e]=o[l+e]*u+o[a+e]*c;return i}}class yl extends fl{constructor(e,t,r,n){super(e,t,r,n)}interpolate_(e){return this.copySampleValue_(e-1)}}class $l{constructor(e,t,r,n){if(void 0===e)throw new Error("THREE.KeyframeTrack: track name is undefined");if(void 0===t||0===t.length)throw new Error("THREE.KeyframeTrack: no keyframes in track named "+e);this.name=e,this.times=hl(t,this.TimeBufferType),this.values=hl(r,this.ValueBufferType),this.setInterpolation(n||this.DefaultInterpolation)}static toJSON(e){const t=e.constructor;let r;if(t.toJSON!==this.toJSON)r=t.toJSON(e);else{r={name:e.name,times:hl(e.times,Array),values:hl(e.values,Array)};const t=e.getInterpolation();t!==e.DefaultInterpolation&&(r.interpolation=t)}return r.type=e.ValueTypeName,r}InterpolantFactoryMethodDiscrete(e){return new yl(this.times,this.values,this.getValueSize(),e)}InterpolantFactoryMethodLinear(e){return new bl(this.times,this.values,this.getValueSize(),e)}InterpolantFactoryMethodSmooth(e){return new vl(this.times,this.values,this.getValueSize(),e)}setInterpolation(e){let t;switch(e){case Lt:t=this.InterpolantFactoryMethodDiscrete;break;case Pt:t=this.InterpolantFactoryMethodLinear;break;case Dt:t=this.InterpolantFactoryMethodSmooth}if(void 0===t){const t="unsupported interpolation for "+this.ValueTypeName+" keyframe track named "+this.name;if(void 0===this.createInterpolant){if(e===this.DefaultInterpolation)throw new Error(t);this.setInterpolation(this.DefaultInterpolation)}return console.warn("THREE.KeyframeTrack:",t),this}return this.createInterpolant=t,this}getInterpolation(){switch(this.createInterpolant){case this.InterpolantFactoryMethodDiscrete:return Lt;case this.InterpolantFactoryMethodLinear:return Pt;case this.InterpolantFactoryMethodSmooth:return Dt}}getValueSize(){return this.values.length/this.times.length}shift(e){if(0!==e){const t=this.times;for(let r=0,n=t.length;r!==n;++r)t[r]+=e}return this}scale(e){if(1!==e){const t=this.times;for(let r=0,n=t.length;r!==n;++r)t[r]*=e}return this}trim(e,t){const r=this.times,n=r.length;let i=0,o=n-1;for(;i!==n&&r[i]<e;)++i;for(;-1!==o&&r[o]>t;)--o;if(++o,0!==i||o!==n){i>=o&&(o=Math.max(o,1),i=o-1);const e=this.getValueSize();this.times=r.slice(i,o),this.values=this.values.slice(i*e,o*e)}return this}validate(){let e=!0;const t=this.getValueSize();t-Math.floor(t)!==0&&(console.error("THREE.KeyframeTrack: Invalid value size in track.",this),e=!1);const r=this.times,n=this.values,i=r.length;0===i&&(console.error("THREE.KeyframeTrack: Track is empty.",this),e=!1);let o=null;for(let t=0;t!==i;t++){const n=r[t];if("number"==typeof n&&isNaN(n)){console.error("THREE.KeyframeTrack: Time is not a valid number.",this,t,n),e=!1;break}if(null!==o&&o>n){console.error("THREE.KeyframeTrack: Out of order keys.",this,t,n,o),e=!1;break}o=n}if(void 0!==n&&pl(n))for(let t=0,r=n.length;t!==r;++t){const r=n[t];if(isNaN(r)){console.error("THREE.KeyframeTrack: Value is not a valid number.",this,t,r),e=!1;break}}return e}optimize(){const e=this.times.slice(),t=this.values.slice(),r=this.getValueSize(),n=this.getInterpolation()===Dt,i=e.length-1;let o=1;for(let s=1;s<i;++s){let i=!1;const a=e[s];if(a!==e[s+1]&&(1!==s||a!==e[0]))if(n)i=!0;else{const e=s*r,n=e-r,o=e+r;for(let s=0;s!==r;++s){const r=t[e+s];if(r!==t[n+s]||r!==t[o+s]){i=!0;break}}}if(i){if(s!==o){e[o]=e[s];const n=s*r,i=o*r;for(let e=0;e!==r;++e)t[i+e]=t[n+e]}++o}}if(i>0){e[o]=e[i];for(let e=i*r,n=o*r,s=0;s!==r;++s)t[n+s]=t[e+s];++o}return o!==e.length?(this.times=e.slice(0,o),this.values=t.slice(0,o*r)):(this.times=e,this.values=t),this}clone(){const e=this.times.slice(),t=this.values.slice(),r=new(0,this.constructor)(this.name,e,t);return r.createInterpolant=this.createInterpolant,r}}$l.prototype.ValueTypeName="",$l.prototype.TimeBufferType=Float32Array,$l.prototype.ValueBufferType=Float32Array,$l.prototype.DefaultInterpolation=Pt;class xl extends $l{constructor(e,t,r){super(e,t,r)}}xl.prototype.ValueTypeName="bool",xl.prototype.ValueBufferType=Array,xl.prototype.DefaultInterpolation=Lt,xl.prototype.InterpolantFactoryMethodLinear=void 0,xl.prototype.InterpolantFactoryMethodSmooth=void 0;class Sl extends $l{constructor(e,t,r,n){super(e,t,r,n)}}Sl.prototype.ValueTypeName="color";class wl extends $l{constructor(e,t,r,n){super(e,t,r,n)}}wl.prototype.ValueTypeName="number";class Al extends fl{constructor(e,t,r,n){super(e,t,r,n)}interpolate_(e,t,r,n){const i=this.resultBuffer,o=this.sampleValues,s=this.valueSize,a=(r-t)/(n-t);let l=e*s;for(let e=l+s;l!==e;l+=4)vr.slerpFlat(i,0,o,l-s,o,l,a);return i}}class Cl extends $l{constructor(e,t,r,n){super(e,t,r,n)}InterpolantFactoryMethodLinear(e){return new Al(this.times,this.values,this.getValueSize(),e)}}Cl.prototype.ValueTypeName="quaternion",Cl.prototype.InterpolantFactoryMethodSmooth=void 0;class El extends $l{constructor(e,t,r){super(e,t,r)}}El.prototype.ValueTypeName="string",El.prototype.ValueBufferType=Array,El.prototype.DefaultInterpolation=Lt,El.prototype.InterpolantFactoryMethodLinear=void 0,El.prototype.InterpolantFactoryMethodSmooth=void 0;class Il extends $l{constructor(e,t,r,n){super(e,t,r,n)}}Il.prototype.ValueTypeName="vector";class Ml{constructor(e="",t=-1,r=[],n=2500){this.name=e,this.tracks=r,this.duration=t,this.blendMode=n,this.uuid=ur(),this.userData={},this.duration<0&&this.resetDuration()}static parse(e){const t=[],r=e.tracks,n=1/(e.fps||1);for(let e=0,i=r.length;e!==i;++e)t.push(kl(r[e]).scale(n));const i=new this(e.name,e.duration,t,e.blendMode);return i.uuid=e.uuid,i.userData=JSON.parse(e.userData||"{}"),i}static toJSON(e){const t=[],r=e.tracks,n={name:e.name,duration:e.duration,tracks:t,uuid:e.uuid,blendMode:e.blendMode,userData:JSON.stringify(e.userData)};for(let e=0,n=r.length;e!==n;++e)t.push($l.toJSON(r[e]));return n}static CreateFromMorphTargetSequence(e,t,r,n){const i=t.length,o=[];for(let e=0;e<i;e++){let s=[],a=[];s.push((e+i-1)%i,e,(e+1)%i),a.push(0,1,0);const l=ml(s);s=_l(s,1,l),a=_l(a,1,l),n||0!==s[0]||(s.push(i),a.push(a[0])),o.push(new wl(".morphTargetInfluences["+t[e].name+"]",s,a).scale(1/r))}return new this(e,-1,o)}static findByName(e,t){let r=e;if(!Array.isArray(e)){const t=e;r=t.geometry&&t.geometry.animations||t.animations}for(let e=0;e<r.length;e++)if(r[e].name===t)return r[e];return null}static CreateClipsFromMorphTargetSequences(e,t,r){const n={},i=/^([\w-]*?)([\d]+)$/;for(let t=0,r=e.length;t<r;t++){const r=e[t],o=r.name.match(i);if(o&&o.length>1){const e=o[1];let t=n[e];t||(n[e]=t=[]),t.push(r)}}const o=[];for(const e in n)o.push(this.CreateFromMorphTargetSequence(e,n[e],t,r));return o}static parseAnimation(e,t){if(console.warn("THREE.AnimationClip: parseAnimation() is deprecated and will be removed with r185"),!e)return console.error("THREE.AnimationClip: No animation in JSONLoader data."),null;const r=function(e,t,r,n,i){if(0!==r.length){const o=[],s=[];gl(r,o,s,n),0!==o.length&&i.push(new e(t,o,s))}},n=[],i=e.name||"default",o=e.fps||30,s=e.blendMode;let a=e.length||-1;const l=e.hierarchy||[];for(let e=0;e<l.length;e++){const i=l[e].keys;if(i&&0!==i.length)if(i[0].morphTargets){const e={};let t;for(t=0;t<i.length;t++)if(i[t].morphTargets)for(let r=0;r<i[t].morphTargets.length;r++)e[i[t].morphTargets[r]]=-1;for(const r in e){const e=[],o=[];for(let n=0;n!==i[t].morphTargets.length;++n){const n=i[t];e.push(n.time),o.push(n.morphTarget===r?1:0)}n.push(new wl(".morphTargetInfluence["+r+"]",e,o))}a=e.length*o}else{const o=".bones["+t[e].name+"]";r(Il,o+".position",i,"pos",n),r(Cl,o+".quaternion",i,"rot",n),r(Il,o+".scale",i,"scl",n)}}if(0===n.length)return null;return new this(i,a,n,s)}resetDuration(){let e=0;for(let t=0,r=this.tracks.length;t!==r;++t){const r=this.tracks[t];e=Math.max(e,r.times[r.times.length-1])}return this.duration=e,this}trim(){for(let e=0;e<this.tracks.length;e++)this.tracks[e].trim(0,this.duration);return this}validate(){let e=!0;for(let t=0;t<this.tracks.length;t++)e=e&&this.tracks[t].validate();return e}optimize(){for(let e=0;e<this.tracks.length;e++)this.tracks[e].optimize();return this}clone(){const e=[];for(let t=0;t<this.tracks.length;t++)e.push(this.tracks[t].clone());const t=new this.constructor(this.name,this.duration,e,this.blendMode);return t.userData=JSON.parse(JSON.stringify(this.userData)),t}toJSON(){return this.constructor.toJSON(this)}}function kl(e){if(void 0===e.type)throw new Error("THREE.KeyframeTrack: track type undefined, can not parse");const t=function(e){switch(e.toLowerCase()){case"scalar":case"double":case"float":case"number":case"integer":return wl;case"vector":case"vector2":case"vector3":case"vector4":return Il;case"color":return Sl;case"quaternion":return Cl;case"bool":case"boolean":return xl;case"string":return El}throw new Error("THREE.KeyframeTrack: Unsupported typeName: "+e)}(e.type);if(void 0===e.times){const t=[],r=[];gl(e.keys,t,r,"value"),e.times=t,e.values=r}return void 0!==t.parse?t.parse(e):new t(e.name,e.times,e.values,e.interpolation)}const Tl={enabled:!1,files:{},add:function(e,t){!1!==this.enabled&&(this.files[e]=t)},get:function(e){if(!1!==this.enabled)return this.files[e]},remove:function(e){delete this.files[e]},clear:function(){this.files={}}};class Rl{constructor(e,t,r){const n=this;let i,o=!1,s=0,a=0;const l=[];this.onStart=void 0,this.onLoad=e,this.onProgress=t,this.onError=r,this.abortController=new AbortController,this.itemStart=function(e){a++,!1===o&&void 0!==n.onStart&&n.onStart(e,s,a),o=!0},this.itemEnd=function(e){s++,void 0!==n.onProgress&&n.onProgress(e,s,a),s===a&&(o=!1,void 0!==n.onLoad&&n.onLoad())},this.itemError=function(e){void 0!==n.onError&&n.onError(e)},this.resolveURL=function(e){return i?i(e):e},this.setURLModifier=function(e){return i=e,this},this.addHandler=function(e,t){return l.push(e,t),this},this.removeHandler=function(e){const t=l.indexOf(e);return-1!==t&&l.splice(t,2),this},this.getHandler=function(e){for(let t=0,r=l.length;t<r;t+=2){const r=l[t],n=l[t+1];if(r.global&&(r.lastIndex=0),r.test(e))return n}return null},this.abort=function(){return this.abortController.abort(),this.abortController=new AbortController,this}}}const Ll=new Rl;class Pl{constructor(e){this.manager=void 0!==e?e:Ll,this.crossOrigin="anonymous",this.withCredentials=!1,this.path="",this.resourcePath="",this.requestHeader={}}load(){}loadAsync(e,t){const r=this;return new Promise(function(n,i){r.load(e,n,t,i)})}parse(){}setCrossOrigin(e){return this.crossOrigin=e,this}setWithCredentials(e){return this.withCredentials=e,this}setPath(e){return this.path=e,this}setResourcePath(e){return this.resourcePath=e,this}setRequestHeader(e){return this.requestHeader=e,this}abort(){return this}}Pl.DEFAULT_MATERIAL_NAME="__DEFAULT";const Dl={};class Nl extends Error{constructor(e,t){super(e),this.response=t}}class Fl extends Pl{constructor(e){super(e),this.mimeType="",this.responseType="",this._abortController=new AbortController}load(e,t,r,n){void 0===e&&(e=""),void 0!==this.path&&(e=this.path+e),e=this.manager.resolveURL(e);const i=Tl.get(`file:${e}`);if(void 0!==i)return this.manager.itemStart(e),setTimeout(()=>{t&&t(i),this.manager.itemEnd(e)},0),i;if(void 0!==Dl[e])return void Dl[e].push({onLoad:t,onProgress:r,onError:n});Dl[e]=[],Dl[e].push({onLoad:t,onProgress:r,onError:n});const o=new Request(e,{headers:new Headers(this.requestHeader),credentials:this.withCredentials?"include":"same-origin",signal:"function"==typeof AbortSignal.any?AbortSignal.any([this._abortController.signal,this.manager.abortController.signal]):this._abortController.signal}),s=this.mimeType,a=this.responseType;fetch(o).then(t=>{if(200===t.status||0===t.status){if(0===t.status&&console.warn("THREE.FileLoader: HTTP Status 0 received."),"undefined"==typeof ReadableStream||void 0===t.body||void 0===t.body.getReader)return t;const r=Dl[e],n=t.body.getReader(),i=t.headers.get("X-File-Size")||t.headers.get("Content-Length"),o=i?parseInt(i):0,s=0!==o;let a=0;const l=new ReadableStream({start(e){!function t(){n.read().then(({done:n,value:i})=>{if(n)e.close();else{a+=i.byteLength;const n=new ProgressEvent("progress",{lengthComputable:s,loaded:a,total:o});for(let e=0,t=r.length;e<t;e++){const t=r[e];t.onProgress&&t.onProgress(n)}e.enqueue(i),t()}},t=>{e.error(t)})}()}});return new Response(l)}throw new Nl(`fetch for "${t.url}" responded with ${t.status}: ${t.statusText}`,t)}).then(e=>{switch(a){case"arraybuffer":return e.arrayBuffer();case"blob":return e.blob();case"document":return e.text().then(e=>(new DOMParser).parseFromString(e,s));case"json":return e.json();default:if(""===s)return e.text();{const t=/charset="?([^;"\s]*)"?/i.exec(s),r=t&&t[1]?t[1].toLowerCase():void 0,n=new TextDecoder(r);return e.arrayBuffer().then(e=>n.decode(e))}}}).then(t=>{Tl.add(`file:${e}`,t);const r=Dl[e];delete Dl[e];for(let e=0,n=r.length;e<n;e++){const n=r[e];n.onLoad&&n.onLoad(t)}}).catch(t=>{const r=Dl[e];if(void 0===r)throw this.manager.itemError(e),t;delete Dl[e];for(let e=0,n=r.length;e<n;e++){const n=r[e];n.onError&&n.onError(t)}this.manager.itemError(e)}).finally(()=>{this.manager.itemEnd(e)}),this.manager.itemStart(e)}setResponseType(e){return this.responseType=e,this}setMimeType(e){return this.mimeType=e,this}abort(){return this._abortController.abort(),this._abortController=new AbortController,this}}class Ol extends Pl{constructor(e){super(e)}load(e,t,r,n){const i=this,o=[],s=new Us,a=new Fl(this.manager);a.setPath(this.path),a.setResponseType("arraybuffer"),a.setRequestHeader(this.requestHeader),a.setWithCredentials(i.withCredentials);let l=0;function c(c){a.load(e[c],function(e){const r=i.parse(e,!0);o[c]={width:r.width,height:r.height,format:r.format,mipmaps:r.mipmaps},l+=1,6===l&&(1===r.mipmapCount&&(s.minFilter=Ce),s.image=o,s.format=r.format,s.needsUpdate=!0,t&&t(s))},r,n)}if(Array.isArray(e))for(let t=0,r=e.length;t<r;++t)c(t);else a.load(e,function(e){const r=i.parse(e,!0);if(r.isCubemap){const e=r.mipmaps.length/r.mipmapCount;for(let t=0;t<e;t++){o[t]={mipmaps:[]};for(let e=0;e<r.mipmapCount;e++)o[t].mipmaps.push(r.mipmaps[t*r.mipmapCount+e]),o[t].format=r.format,o[t].width=r.width,o[t].height=r.height}s.image=o}else s.image.width=r.width,s.image.height=r.height,s.mipmaps=r.mipmaps;1===r.mipmapCount&&(s.minFilter=Ce),s.format=r.format,s.needsUpdate=!0,t&&t(s)},r,n);return s}}const Bl=new WeakMap;class Ul extends Pl{constructor(e){super(e)}load(e,t,r,n){void 0!==this.path&&(e=this.path+e),e=this.manager.resolveURL(e);const i=this,o=Tl.get(`image:${e}`);if(void 0!==o){if(!0===o.complete)i.manager.itemStart(e),setTimeout(function(){t&&t(o),i.manager.itemEnd(e)},0);else{let e=Bl.get(o);void 0===e&&(e=[],Bl.set(o,e)),e.push({onLoad:t,onError:n})}return o}const s=Ar("img");function a(){c(),t&&t(this);const r=Bl.get(this)||[];for(let e=0;e<r.length;e++){const t=r[e];t.onLoad&&t.onLoad(this)}Bl.delete(this),i.manager.itemEnd(e)}function l(t){c(),n&&n(t),Tl.remove(`image:${e}`);const r=Bl.get(this)||[];for(let e=0;e<r.length;e++){const n=r[e];n.onError&&n.onError(t)}Bl.delete(this),i.manager.itemError(e),i.manager.itemEnd(e)}function c(){s.removeEventListener("load",a,!1),s.removeEventListener("error",l,!1)}return s.addEventListener("load",a,!1),s.addEventListener("error",l,!1),"data:"!==e.slice(0,5)&&void 0!==this.crossOrigin&&(s.crossOrigin=this.crossOrigin),Tl.add(`image:${e}`,s),i.manager.itemStart(e),s.src=e,s}}class Vl extends Pl{constructor(e){super(e)}load(e,t,r,n){const i=new ho;i.colorSpace=zt;const o=new Ul(this.manager);o.setCrossOrigin(this.crossOrigin),o.setPath(this.path);let s=0;function a(r){o.load(e[r],function(e){i.images[r]=e,s++,6===s&&(i.needsUpdate=!0,t&&t(i))},void 0,n)}for(let t=0;t<e.length;++t)a(t);return i}}class zl extends Pl{constructor(e){super(e)}load(e,t,r,n){const i=this,o=new Yo,s=new Fl(this.manager);return s.setResponseType("arraybuffer"),s.setRequestHeader(this.requestHeader),s.setPath(this.path),s.setWithCredentials(i.withCredentials),s.load(e,function(e){let r;try{r=i.parse(e)}catch(e){if(void 0===n)return void console.error(e);n(e)}void 0!==r.image?o.image=r.image:void 0!==r.data&&(o.image.width=r.width,o.image.height=r.height,o.image.data=r.data),o.wrapS=void 0!==r.wrapS?r.wrapS:$e,o.wrapT=void 0!==r.wrapT?r.wrapT:$e,o.magFilter=void 0!==r.magFilter?r.magFilter:Ce,o.minFilter=void 0!==r.minFilter?r.minFilter:Ce,o.anisotropy=void 0!==r.anisotropy?r.anisotropy:1,void 0!==r.colorSpace&&(o.colorSpace=r.colorSpace),void 0!==r.flipY&&(o.flipY=r.flipY),void 0!==r.format&&(o.format=r.format),void 0!==r.type&&(o.type=r.type),void 0!==r.mipmaps&&(o.mipmaps=r.mipmaps,o.minFilter=Ie),1===r.mipmapCount&&(o.minFilter=Ce),void 0!==r.generateMipmaps&&(o.generateMipmaps=r.generateMipmaps),o.needsUpdate=!0,t&&t(o,r)},r,n),o}}class Hl extends Pl{constructor(e){super(e)}load(e,t,r,n){const i=new zr,o=new Ul(this.manager);return o.setCrossOrigin(this.crossOrigin),o.setPath(this.path),o.load(e,function(e){i.image=e,i.needsUpdate=!0,void 0!==t&&t(i)},r,n),i}}class Gl extends qn{constructor(e,t=1){super(),this.isLight=!0,this.type="Light",this.color=new mi(e),this.intensity=t}dispose(){}copy(e,t){return super.copy(e,t),this.color.copy(e.color),this.intensity=e.intensity,this}toJSON(e){const t=super.toJSON(e);return t.object.color=this.color.getHex(),t.object.intensity=this.intensity,void 0!==this.groundColor&&(t.object.groundColor=this.groundColor.getHex()),void 0!==this.distance&&(t.object.distance=this.distance),void 0!==this.angle&&(t.object.angle=this.angle),void 0!==this.decay&&(t.object.decay=this.decay),void 0!==this.penumbra&&(t.object.penumbra=this.penumbra),void 0!==this.shadow&&(t.object.shadow=this.shadow.toJSON()),void 0!==this.target&&(t.object.target=this.target.uuid),t}}class jl extends Gl{constructor(e,t,r){super(e,r),this.isHemisphereLight=!0,this.type="HemisphereLight",this.position.copy(qn.DEFAULT_UP),this.updateMatrix(),this.groundColor=new mi(t)}copy(e,t){return super.copy(e,t),this.groundColor.copy(e.groundColor),this}}const Jl=new xn,Wl=new br,Ql=new br;class ql{constructor(e){this.camera=e,this.intensity=1,this.bias=0,this.normalBias=0,this.radius=1,this.blurSamples=8,this.mapSize=new fr(512,512),this.mapType=ke,this.map=null,this.mapPass=null,this.matrix=new xn,this.autoUpdate=!0,this.needsUpdate=!1,this._frustum=new gs,this._frameExtents=new fr(1,1),this._viewportCount=1,this._viewports=[new Hr(0,0,1,1)]}getViewportCount(){return this._viewportCount}getFrustum(){return this._frustum}updateMatrices(e){const t=this.camera,r=this.matrix;Wl.setFromMatrixPosition(e.matrixWorld),t.position.copy(Wl),Ql.setFromMatrixPosition(e.target.matrixWorld),t.lookAt(Ql),t.updateMatrixWorld(),Jl.multiplyMatrices(t.projectionMatrix,t.matrixWorldInverse),this._frustum.setFromProjectionMatrix(Jl,t.coordinateSystem,t.reversedDepth),t.reversedDepth?r.set(.5,0,0,.5,0,.5,0,.5,0,0,1,0,0,0,0,1):r.set(.5,0,0,.5,0,.5,0,.5,0,0,.5,.5,0,0,0,1),r.multiply(Jl)}getViewport(e){return this._viewports[e]}getFrameExtents(){return this._frameExtents}dispose(){this.map&&this.map.dispose(),this.mapPass&&this.mapPass.dispose()}copy(e){return this.camera=e.camera.clone(),this.intensity=e.intensity,this.bias=e.bias,this.radius=e.radius,this.autoUpdate=e.autoUpdate,this.needsUpdate=e.needsUpdate,this.normalBias=e.normalBias,this.blurSamples=e.blurSamples,this.mapSize.copy(e.mapSize),this}clone(){return(new this.constructor).copy(this)}toJSON(){const e={};return 1!==this.intensity&&(e.intensity=this.intensity),0!==this.bias&&(e.bias=this.bias),0!==this.normalBias&&(e.normalBias=this.normalBias),1!==this.radius&&(e.radius=this.radius),512===this.mapSize.x&&512===this.mapSize.y||(e.mapSize=this.mapSize.toArray()),e.camera=this.camera.toJSON(!1).object,delete e.camera.matrix,e}}class Yl extends ql{constructor(){super(new lo(50,1,.5,500)),this.isSpotLightShadow=!0,this.focus=1,this.aspect=1}updateMatrices(e){const t=this.camera,r=2*cr*e.angle*this.focus,n=this.mapSize.width/this.mapSize.height*this.aspect,i=e.distance||t.far;r===t.fov&&n===t.aspect&&i===t.far||(t.fov=r,t.aspect=n,t.far=i,t.updateProjectionMatrix()),super.updateMatrices(e)}copy(e){return super.copy(e),this.focus=e.focus,this}}class Xl extends Gl{constructor(e,t,r=0,n=Math.PI/3,i=0,o=2){super(e,t),this.isSpotLight=!0,this.type="SpotLight",this.position.copy(qn.DEFAULT_UP),this.updateMatrix(),this.target=new qn,this.distance=r,this.angle=n,this.penumbra=i,this.decay=o,this.map=null,this.shadow=new Yl}get power(){return this.intensity*Math.PI}set power(e){this.intensity=e/Math.PI}dispose(){this.shadow.dispose()}copy(e,t){return super.copy(e,t),this.distance=e.distance,this.angle=e.angle,this.penumbra=e.penumbra,this.decay=e.decay,this.target=e.target.clone(),this.shadow=e.shadow.clone(),this}}const Kl=new xn,Zl=new br,ec=new br;class tc extends ql{constructor(){super(new lo(90,1,.5,500)),this.isPointLightShadow=!0,this._frameExtents=new fr(4,2),this._viewportCount=6,this._viewports=[new Hr(2,1,1,1),new Hr(0,1,1,1),new Hr(3,1,1,1),new Hr(1,1,1,1),new Hr(3,0,1,1),new Hr(1,0,1,1)],this._cubeDirections=[new br(1,0,0),new br(-1,0,0),new br(0,0,1),new br(0,0,-1),new br(0,1,0),new br(0,-1,0)],this._cubeUps=[new br(0,1,0),new br(0,1,0),new br(0,1,0),new br(0,1,0),new br(0,0,1),new br(0,0,-1)]}updateMatrices(e,t=0){const r=this.camera,n=this.matrix,i=e.distance||r.far;i!==r.far&&(r.far=i,r.updateProjectionMatrix()),Zl.setFromMatrixPosition(e.matrixWorld),r.position.copy(Zl),ec.copy(r.position),ec.add(this._cubeDirections[t]),r.up.copy(this._cubeUps[t]),r.lookAt(ec),r.updateMatrixWorld(),n.makeTranslation(-Zl.x,-Zl.y,-Zl.z),Kl.multiplyMatrices(r.projectionMatrix,r.matrixWorldInverse),this._frustum.setFromProjectionMatrix(Kl,r.coordinateSystem,r.reversedDepth)}}class rc extends Gl{constructor(e,t,r=0,n=2){super(e,t),this.isPointLight=!0,this.type="PointLight",this.distance=r,this.decay=n,this.shadow=new tc}get power(){return 4*this.intensity*Math.PI}set power(e){this.intensity=e/(4*Math.PI)}dispose(){this.shadow.dispose()}copy(e,t){return super.copy(e,t),this.distance=e.distance,this.decay=e.decay,this.shadow=e.shadow.clone(),this}}class nc extends io{constructor(e=-1,t=1,r=1,n=-1,i=.1,o=2e3){super(),this.isOrthographicCamera=!0,this.type="OrthographicCamera",this.zoom=1,this.view=null,this.left=e,this.right=t,this.top=r,this.bottom=n,this.near=i,this.far=o,this.updateProjectionMatrix()}copy(e,t){return super.copy(e,t),this.left=e.left,this.right=e.right,this.top=e.top,this.bottom=e.bottom,this.near=e.near,this.far=e.far,this.zoom=e.zoom,this.view=null===e.view?null:Object.assign({},e.view),this}setViewOffset(e,t,r,n,i,o){null===this.view&&(this.view={enabled:!0,fullWidth:1,fullHeight:1,offsetX:0,offsetY:0,width:1,height:1}),this.view.enabled=!0,this.view.fullWidth=e,this.view.fullHeight=t,this.view.offsetX=r,this.view.offsetY=n,this.view.width=i,this.view.height=o,this.updateProjectionMatrix()}clearViewOffset(){null!==this.view&&(this.view.enabled=!1),this.updateProjectionMatrix()}updateProjectionMatrix(){const e=(this.right-this.left)/(2*this.zoom),t=(this.top-this.bottom)/(2*this.zoom),r=(this.right+this.left)/2,n=(this.top+this.bottom)/2;let i=r-e,o=r+e,s=n+t,a=n-t;if(null!==this.view&&this.view.enabled){const e=(this.right-this.left)/this.view.fullWidth/this.zoom,t=(this.top-this.bottom)/this.view.fullHeight/this.zoom;i+=e*this.view.offsetX,o=i+e*this.view.width,s-=t*this.view.offsetY,a=s-t*this.view.height}this.projectionMatrix.makeOrthographic(i,o,s,a,this.near,this.far,this.coordinateSystem,this.reversedDepth),this.projectionMatrixInverse.copy(this.projectionMatrix).invert()}toJSON(e){const t=super.toJSON(e);return t.object.zoom=this.zoom,t.object.left=this.left,t.object.right=this.right,t.object.top=this.top,t.object.bottom=this.bottom,t.object.near=this.near,t.object.far=this.far,null!==this.view&&(t.object.view=Object.assign({},this.view)),t}}class ic extends ql{constructor(){super(new nc(-5,5,5,-5,.5,500)),this.isDirectionalLightShadow=!0}}class oc extends Gl{constructor(e,t){super(e,t),this.isDirectionalLight=!0,this.type="DirectionalLight",this.position.copy(qn.DEFAULT_UP),this.updateMatrix(),this.target=new qn,this.shadow=new ic}dispose(){this.shadow.dispose()}copy(e){return super.copy(e),this.target=e.target.clone(),this.shadow=e.shadow.clone(),this}}class sc extends Gl{constructor(e,t){super(e,t),this.isAmbientLight=!0,this.type="AmbientLight"}}class ac extends Gl{constructor(e,t,r=10,n=10){super(e,t),this.isRectAreaLight=!0,this.type="RectAreaLight",this.width=r,this.height=n}get power(){return this.intensity*this.width*this.height*Math.PI}set power(e){this.intensity=e/(this.width*this.height*Math.PI)}copy(e){return super.copy(e),this.width=e.width,this.height=e.height,this}toJSON(e){const t=super.toJSON(e);return t.object.width=this.width,t.object.height=this.height,t}}class lc{constructor(){this.isSphericalHarmonics3=!0,this.coefficients=[];for(let e=0;e<9;e++)this.coefficients.push(new br)}set(e){for(let t=0;t<9;t++)this.coefficients[t].copy(e[t]);return this}zero(){for(let e=0;e<9;e++)this.coefficients[e].set(0,0,0);return this}getAt(e,t){const r=e.x,n=e.y,i=e.z,o=this.coefficients;return t.copy(o[0]).multiplyScalar(.282095),t.addScaledVector(o[1],.488603*n),t.addScaledVector(o[2],.488603*i),t.addScaledVector(o[3],.488603*r),t.addScaledVector(o[4],r*n*1.092548),t.addScaledVector(o[5],n*i*1.092548),t.addScaledVector(o[6],.315392*(3*i*i-1)),t.addScaledVector(o[7],r*i*1.092548),t.addScaledVector(o[8],.546274*(r*r-n*n)),t}getIrradianceAt(e,t){const r=e.x,n=e.y,i=e.z,o=this.coefficients;return t.copy(o[0]).multiplyScalar(.886227),t.addScaledVector(o[1],1.023328*n),t.addScaledVector(o[2],1.023328*i),t.addScaledVector(o[3],1.023328*r),t.addScaledVector(o[4],.858086*r*n),t.addScaledVector(o[5],.858086*n*i),t.addScaledVector(o[6],.743125*i*i-.247708),t.addScaledVector(o[7],.858086*r*i),t.addScaledVector(o[8],.429043*(r*r-n*n)),t}add(e){for(let t=0;t<9;t++)this.coefficients[t].add(e.coefficients[t]);return this}addScaledSH(e,t){for(let r=0;r<9;r++)this.coefficients[r].addScaledVector(e.coefficients[r],t);return this}scale(e){for(let t=0;t<9;t++)this.coefficients[t].multiplyScalar(e);return this}lerp(e,t){for(let r=0;r<9;r++)this.coefficients[r].lerp(e.coefficients[r],t);return this}equals(e){for(let t=0;t<9;t++)if(!this.coefficients[t].equals(e.coefficients[t]))return!1;return!0}copy(e){return this.set(e.coefficients)}clone(){return(new this.constructor).copy(this)}fromArray(e,t=0){const r=this.coefficients;for(let n=0;n<9;n++)r[n].fromArray(e,t+3*n);return this}toArray(e=[],t=0){const r=this.coefficients;for(let n=0;n<9;n++)r[n].toArray(e,t+3*n);return e}static getBasisAt(e,t){const r=e.x,n=e.y,i=e.z;t[0]=.282095,t[1]=.488603*n,t[2]=.488603*i,t[3]=.488603*r,t[4]=1.092548*r*n,t[5]=1.092548*n*i,t[6]=.315392*(3*i*i-1),t[7]=1.092548*r*i,t[8]=.546274*(r*r-n*n)}}class cc extends Gl{constructor(e=new lc,t=1){super(void 0,t),this.isLightProbe=!0,this.sh=e}copy(e){return super.copy(e),this.sh.copy(e.sh),this}fromJSON(e){return this.intensity=e.intensity,this.sh.fromArray(e.sh),this}toJSON(e){const t=super.toJSON(e);return t.object.sh=this.sh.toArray(),t}}class uc{static extractUrlBase(e){const t=e.lastIndexOf("/");return-1===t?"./":e.slice(0,t+1)}static resolveURL(e,t){return"string"!=typeof e||""===e?"":(/^https?:\/\//i.test(t)&&/^\//.test(e)&&(t=t.replace(/(^https?:\/\/[^\/]+).*/i,"$1")),/^(https?:)?\/\//i.test(e)||/^data:.*,.*$/i.test(e)||/^blob:.*$/i.test(e)?e:t+e)}}class dc extends Oi{constructor(){super(),this.isInstancedBufferGeometry=!0,this.type="InstancedBufferGeometry",this.instanceCount=1/0}copy(e){return super.copy(e),this.instanceCount=e.instanceCount,this}toJSON(){const e=super.toJSON();return e.instanceCount=this.instanceCount,e.isInstancedBufferGeometry=!0,e}}const hc=new WeakMap;class pc extends Pl{constructor(e){super(e),this.isImageBitmapLoader=!0,"undefined"==typeof createImageBitmap&&console.warn("THREE.ImageBitmapLoader: createImageBitmap() not supported."),"undefined"==typeof fetch&&console.warn("THREE.ImageBitmapLoader: fetch() not supported."),this.options={premultiplyAlpha:"none"},this._abortController=new AbortController}setOptions(e){return this.options=e,this}load(e,t,r,n){void 0===e&&(e=""),void 0!==this.path&&(e=this.path+e),e=this.manager.resolveURL(e);const i=this,o=Tl.get(`image-bitmap:${e}`);if(void 0!==o)return i.manager.itemStart(e),o.then?void o.then(r=>{if(!0!==hc.has(o))return t&&t(r),i.manager.itemEnd(e),r;n&&n(hc.get(o)),i.manager.itemError(e),i.manager.itemEnd(e)}):(setTimeout(function(){t&&t(o),i.manager.itemEnd(e)},0),o);const s={};s.credentials="anonymous"===this.crossOrigin?"same-origin":"include",s.headers=this.requestHeader,s.signal="function"==typeof AbortSignal.any?AbortSignal.any([this._abortController.signal,this.manager.abortController.signal]):this._abortController.signal;const a=fetch(e,s).then(function(e){return e.blob()}).then(function(e){return createImageBitmap(e,Object.assign(i.options,{colorSpaceConversion:"none"}))}).then(function(r){return Tl.add(`image-bitmap:${e}`,r),t&&t(r),i.manager.itemEnd(e),r}).catch(function(t){n&&n(t),hc.set(a,t),Tl.remove(`image-bitmap:${e}`),i.manager.itemError(e),i.manager.itemEnd(e)});Tl.add(`image-bitmap:${e}`,a),i.manager.itemStart(e)}abort(){return this._abortController.abort(),this._abortController=new AbortController,this}}class mc extends lo{constructor(e=[]){super(),this.isArrayCamera=!0,this.isMultiViewCamera=!1,this.cameras=e}}class _c{constructor(e=!0){this.autoStart=e,this.startTime=0,this.oldTime=0,this.elapsedTime=0,this.running=!1}start(){this.startTime=performance.now(),this.oldTime=this.startTime,this.elapsedTime=0,this.running=!0}stop(){this.getElapsedTime(),this.running=!1,this.autoStart=!1}getElapsedTime(){return this.getDelta(),this.elapsedTime}getDelta(){let e=0;if(this.autoStart&&!this.running)return this.start(),0;if(this.running){const t=performance.now();e=(t-this.oldTime)/1e3,this.oldTime=t,this.elapsedTime+=e}return e}}class gc{constructor(e,t,r){let n,i,o;switch(this.binding=e,this.valueSize=r,t){case"quaternion":n=this._slerp,i=this._slerpAdditive,o=this._setAdditiveIdentityQuaternion,this.buffer=new Float64Array(6*r),this._workIndex=5;break;case"string":case"bool":n=this._select,i=this._select,o=this._setAdditiveIdentityOther,this.buffer=new Array(5*r);break;default:n=this._lerp,i=this._lerpAdditive,o=this._setAdditiveIdentityNumeric,this.buffer=new Float64Array(5*r)}this._mixBufferRegion=n,this._mixBufferRegionAdditive=i,this._setIdentity=o,this._origIndex=3,this._addIndex=4,this.cumulativeWeight=0,this.cumulativeWeightAdditive=0,this.useCount=0,this.referenceCount=0}accumulate(e,t){const r=this.buffer,n=this.valueSize,i=e*n+n;let o=this.cumulativeWeight;if(0===o){for(let e=0;e!==n;++e)r[i+e]=r[e];o=t}else{o+=t;const e=t/o;this._mixBufferRegion(r,i,0,e,n)}this.cumulativeWeight=o}accumulateAdditive(e){const t=this.buffer,r=this.valueSize,n=r*this._addIndex;0===this.cumulativeWeightAdditive&&this._setIdentity(),this._mixBufferRegionAdditive(t,n,0,e,r),this.cumulativeWeightAdditive+=e}apply(e){const t=this.valueSize,r=this.buffer,n=e*t+t,i=this.cumulativeWeight,o=this.cumulativeWeightAdditive,s=this.binding;if(this.cumulativeWeight=0,this.cumulativeWeightAdditive=0,i<1){const e=t*this._origIndex;this._mixBufferRegion(r,n,e,1-i,t)}o>0&&this._mixBufferRegionAdditive(r,n,this._addIndex*t,1,t);for(let e=t,i=t+t;e!==i;++e)if(r[e]!==r[e+t]){s.setValue(r,n);break}}saveOriginalState(){const e=this.binding,t=this.buffer,r=this.valueSize,n=r*this._origIndex;e.getValue(t,n);for(let e=r,i=n;e!==i;++e)t[e]=t[n+e%r];this._setIdentity(),this.cumulativeWeight=0,this.cumulativeWeightAdditive=0}restoreOriginalState(){const e=3*this.valueSize;this.binding.setValue(this.buffer,e)}_setAdditiveIdentityNumeric(){const e=this._addIndex*this.valueSize,t=e+this.valueSize;for(let r=e;r<t;r++)this.buffer[r]=0}_setAdditiveIdentityQuaternion(){this._setAdditiveIdentityNumeric(),this.buffer[this._addIndex*this.valueSize+3]=1}_setAdditiveIdentityOther(){const e=this._origIndex*this.valueSize,t=this._addIndex*this.valueSize;for(let r=0;r<this.valueSize;r++)this.buffer[t+r]=this.buffer[e+r]}_select(e,t,r,n,i){if(n>=.5)for(let n=0;n!==i;++n)e[t+n]=e[r+n]}_slerp(e,t,r,n){vr.slerpFlat(e,t,e,t,e,r,n)}_slerpAdditive(e,t,r,n,i){const o=this._workIndex*i;vr.multiplyQuaternionsFlat(e,o,e,t,e,r),vr.slerpFlat(e,t,e,t,e,o,n)}_lerp(e,t,r,n,i){const o=1-n;for(let s=0;s!==i;++s){const i=t+s;e[i]=e[i]*o+e[r+s]*n}}_lerpAdditive(e,t,r,n,i){for(let o=0;o!==i;++o){const i=t+o;e[i]=e[i]+e[r+o]*n}}}const fc="\\[\\]\\.:\\/",vc=new RegExp("["+fc+"]","g"),bc="[^"+fc+"]",yc="[^"+fc.replace("\\.","")+"]",$c=new RegExp("^"+/((?:WC+[\/:])*)/.source.replace("WC",bc)+/(WCOD+)?/.source.replace("WCOD",yc)+/(?:\.(WC+)(?:\[(.+)\])?)?/.source.replace("WC",bc)+/\.(WC+)(?:\[(.+)\])?/.source.replace("WC",bc)+"$"),xc=["material","materials","bones","map"];class Sc{constructor(e,t,r){this.path=t,this.parsedPath=r||Sc.parseTrackName(t),this.node=Sc.findNode(e,this.parsedPath.nodeName),this.rootNode=e,this.getValue=this._getValue_unbound,this.setValue=this._setValue_unbound}static create(e,t,r){return e&&e.isAnimationObjectGroup?new Sc.Composite(e,t,r):new Sc(e,t,r)}static sanitizeNodeName(e){return e.replace(/\s/g,"_").replace(vc,"")}static parseTrackName(e){const t=$c.exec(e);if(null===t)throw new Error("PropertyBinding: Cannot parse trackName: "+e);const r={nodeName:t[2],objectName:t[3],objectIndex:t[4],propertyName:t[5],propertyIndex:t[6]},n=r.nodeName&&r.nodeName.lastIndexOf(".");if(void 0!==n&&-1!==n){const e=r.nodeName.substring(n+1);-1!==xc.indexOf(e)&&(r.nodeName=r.nodeName.substring(0,n),r.objectName=e)}if(null===r.propertyName||0===r.propertyName.length)throw new Error("PropertyBinding: can not parse propertyName from trackName: "+e);return r}static findNode(e,t){if(void 0===t||""===t||"."===t||-1===t||t===e.name||t===e.uuid)return e;if(e.skeleton){const r=e.skeleton.getBoneByName(t);if(void 0!==r)return r}if(e.children){const r=function(e){for(let n=0;n<e.length;n++){const i=e[n];if(i.name===t||i.uuid===t)return i;const o=r(i.children);if(o)return o}return null},n=r(e.children);if(n)return n}return null}_getValue_unavailable(){}_setValue_unavailable(){}_getValue_direct(e,t){e[t]=this.targetObject[this.propertyName]}_getValue_array(e,t){const r=this.resolvedProperty;for(let n=0,i=r.length;n!==i;++n)e[t++]=r[n]}_getValue_arrayElement(e,t){e[t]=this.resolvedProperty[this.propertyIndex]}_getValue_toArray(e,t){this.resolvedProperty.toArray(e,t)}_setValue_direct(e,t){this.targetObject[this.propertyName]=e[t]}_setValue_direct_setNeedsUpdate(e,t){this.targetObject[this.propertyName]=e[t],this.targetObject.needsUpdate=!0}_setValue_direct_setMatrixWorldNeedsUpdate(e,t){this.targetObject[this.propertyName]=e[t],this.targetObject.matrixWorldNeedsUpdate=!0}_setValue_array(e,t){const r=this.resolvedProperty;for(let n=0,i=r.length;n!==i;++n)r[n]=e[t++]}_setValue_array_setNeedsUpdate(e,t){const r=this.resolvedProperty;for(let n=0,i=r.length;n!==i;++n)r[n]=e[t++];this.targetObject.needsUpdate=!0}_setValue_array_setMatrixWorldNeedsUpdate(e,t){const r=this.resolvedProperty;for(let n=0,i=r.length;n!==i;++n)r[n]=e[t++];this.targetObject.matrixWorldNeedsUpdate=!0}_setValue_arrayElement(e,t){this.resolvedProperty[this.propertyIndex]=e[t]}_setValue_arrayElement_setNeedsUpdate(e,t){this.resolvedProperty[this.propertyIndex]=e[t],this.targetObject.needsUpdate=!0}_setValue_arrayElement_setMatrixWorldNeedsUpdate(e,t){this.resolvedProperty[this.propertyIndex]=e[t],this.targetObject.matrixWorldNeedsUpdate=!0}_setValue_fromArray(e,t){this.resolvedProperty.fromArray(e,t)}_setValue_fromArray_setNeedsUpdate(e,t){this.resolvedProperty.fromArray(e,t),this.targetObject.needsUpdate=!0}_setValue_fromArray_setMatrixWorldNeedsUpdate(e,t){this.resolvedProperty.fromArray(e,t),this.targetObject.matrixWorldNeedsUpdate=!0}_getValue_unbound(e,t){this.bind(),this.getValue(e,t)}_setValue_unbound(e,t){this.bind(),this.setValue(e,t)}bind(){let e=this.node;const t=this.parsedPath,r=t.objectName,n=t.propertyName;let i=t.propertyIndex;if(e||(e=Sc.findNode(this.rootNode,t.nodeName),this.node=e),this.getValue=this._getValue_unavailable,this.setValue=this._setValue_unavailable,!e)return void console.warn("THREE.PropertyBinding: No target node found for track: "+this.path+".");if(r){let n=t.objectIndex;switch(r){case"materials":if(!e.material)return void console.error("THREE.PropertyBinding: Can not bind to material as node does not have a material.",this);if(!e.material.materials)return void console.error("THREE.PropertyBinding: Can not bind to material.materials as node.material does not have a materials array.",this);e=e.material.materials;break;case"bones":if(!e.skeleton)return void console.error("THREE.PropertyBinding: Can not bind to bones as node does not have a skeleton.",this);e=e.skeleton.bones;for(let t=0;t<e.length;t++)if(e[t].name===n){n=t;break}break;case"map":if("map"in e){e=e.map;break}if(!e.material)return void console.error("THREE.PropertyBinding: Can not bind to material as node does not have a material.",this);if(!e.material.map)return void console.error("THREE.PropertyBinding: Can not bind to material.map as node.material does not have a map.",this);e=e.material.map;break;default:if(void 0===e[r])return void console.error("THREE.PropertyBinding: Can not bind to objectName of node undefined.",this);e=e[r]}if(void 0!==n){if(void 0===e[n])return void console.error("THREE.PropertyBinding: Trying to bind to objectIndex of objectName, but is undefined.",this,e);e=e[n]}}const o=e[n];if(void 0===o){const r=t.nodeName;return void console.error("THREE.PropertyBinding: Trying to update property for track: "+r+"."+n+" but it wasn't found.",e)}let s=this.Versioning.None;this.targetObject=e,!0===e.isMaterial?s=this.Versioning.NeedsUpdate:!0===e.isObject3D&&(s=this.Versioning.MatrixWorldNeedsUpdate);let a=this.BindingType.Direct;if(void 0!==i){if("morphTargetInfluences"===n){if(!e.geometry)return void console.error("THREE.PropertyBinding: Can not bind to morphTargetInfluences because node does not have a geometry.",this);if(!e.geometry.morphAttributes)return void console.error("THREE.PropertyBinding: Can not bind to morphTargetInfluences because node does not have a geometry.morphAttributes.",this);void 0!==e.morphTargetDictionary[i]&&(i=e.morphTargetDictionary[i])}a=this.BindingType.ArrayElement,this.resolvedProperty=o,this.propertyIndex=i}else void 0!==o.fromArray&&void 0!==o.toArray?(a=this.BindingType.HasFromToArray,this.resolvedProperty=o):Array.isArray(o)?(a=this.BindingType.EntireArray,this.resolvedProperty=o):this.propertyName=n;this.getValue=this.GetterByBindingType[a],this.setValue=this.SetterByBindingTypeAndVersioning[a][s]}unbind(){this.node=null,this.getValue=this._getValue_unbound,this.setValue=this._setValue_unbound}}Sc.Composite=class{constructor(e,t,r){const n=r||Sc.parseTrackName(t);this._targetGroup=e,this._bindings=e.subscribe_(t,n)}getValue(e,t){this.bind();const r=this._targetGroup.nCachedObjects_,n=this._bindings[r];void 0!==n&&n.getValue(e,t)}setValue(e,t){const r=this._bindings;for(let n=this._targetGroup.nCachedObjects_,i=r.length;n!==i;++n)r[n].setValue(e,t)}bind(){const e=this._bindings;for(let t=this._targetGroup.nCachedObjects_,r=e.length;t!==r;++t)e[t].bind()}unbind(){const e=this._bindings;for(let t=this._targetGroup.nCachedObjects_,r=e.length;t!==r;++t)e[t].unbind()}},Sc.prototype.BindingType={Direct:0,EntireArray:1,ArrayElement:2,HasFromToArray:3},Sc.prototype.Versioning={None:0,NeedsUpdate:1,MatrixWorldNeedsUpdate:2},Sc.prototype.GetterByBindingType=[Sc.prototype._getValue_direct,Sc.prototype._getValue_array,Sc.prototype._getValue_arrayElement,Sc.prototype._getValue_toArray],Sc.prototype.SetterByBindingTypeAndVersioning=[[Sc.prototype._setValue_direct,Sc.prototype._setValue_direct_setNeedsUpdate,Sc.prototype._setValue_direct_setMatrixWorldNeedsUpdate],[Sc.prototype._setValue_array,Sc.prototype._setValue_array_setNeedsUpdate,Sc.prototype._setValue_array_setMatrixWorldNeedsUpdate],[Sc.prototype._setValue_arrayElement,Sc.prototype._setValue_arrayElement_setNeedsUpdate,Sc.prototype._setValue_arrayElement_setMatrixWorldNeedsUpdate],[Sc.prototype._setValue_fromArray,Sc.prototype._setValue_fromArray_setNeedsUpdate,Sc.prototype._setValue_fromArray_setMatrixWorldNeedsUpdate]];class wc{constructor(e,t,r=null,n=t.blendMode){this._mixer=e,this._clip=t,this._localRoot=r,this.blendMode=n;const i=t.tracks,o=i.length,s=new Array(o),a={endingStart:Nt,endingEnd:Nt};for(let e=0;e!==o;++e){const t=i[e].createInterpolant(null);s[e]=t,t.settings=a}this._interpolantSettings=a,this._interpolants=s,this._propertyBindings=new Array(o),this._cacheIndex=null,this._byClipCacheIndex=null,this._timeScaleInterpolant=null,this._weightInterpolant=null,this.loop=Tt,this._loopCount=-1,this._startTime=null,this.time=0,this.timeScale=1,this._effectiveTimeScale=1,this.weight=1,this._effectiveWeight=1,this.repetitions=1/0,this.paused=!1,this.enabled=!0,this.clampWhenFinished=!1,this.zeroSlopeAtStart=!0,this.zeroSlopeAtEnd=!0}play(){return this._mixer._activateAction(this),this}stop(){return this._mixer._deactivateAction(this),this.reset()}reset(){return this.paused=!1,this.enabled=!0,this.time=0,this._loopCount=-1,this._startTime=null,this.stopFading().stopWarping()}isRunning(){return this.enabled&&!this.paused&&0!==this.timeScale&&null===this._startTime&&this._mixer._isActiveAction(this)}isScheduled(){return this._mixer._isActiveAction(this)}startAt(e){return this._startTime=e,this}setLoop(e,t){return this.loop=e,this.repetitions=t,this}setEffectiveWeight(e){return this.weight=e,this._effectiveWeight=this.enabled?e:0,this.stopFading()}getEffectiveWeight(){return this._effectiveWeight}fadeIn(e){return this._scheduleFading(e,0,1)}fadeOut(e){return this._scheduleFading(e,1,0)}crossFadeFrom(e,t,r=!1){if(e.fadeOut(t),this.fadeIn(t),!0===r){const r=this._clip.duration,n=e._clip.duration,i=n/r,o=r/n;e.warp(1,i,t),this.warp(o,1,t)}return this}crossFadeTo(e,t,r=!1){return e.crossFadeFrom(this,t,r)}stopFading(){const e=this._weightInterpolant;return null!==e&&(this._weightInterpolant=null,this._mixer._takeBackControlInterpolant(e)),this}setEffectiveTimeScale(e){return this.timeScale=e,this._effectiveTimeScale=this.paused?0:e,this.stopWarping()}getEffectiveTimeScale(){return this._effectiveTimeScale}setDuration(e){return this.timeScale=this._clip.duration/e,this.stopWarping()}syncWith(e){return this.time=e.time,this.timeScale=e.timeScale,this.stopWarping()}halt(e){return this.warp(this._effectiveTimeScale,0,e)}warp(e,t,r){const n=this._mixer,i=n.time,o=this.timeScale;let s=this._timeScaleInterpolant;null===s&&(s=n._lendControlInterpolant(),this._timeScaleInterpolant=s);const a=s.parameterPositions,l=s.sampleValues;return a[0]=i,a[1]=i+r,l[0]=e/o,l[1]=t/o,this}stopWarping(){const e=this._timeScaleInterpolant;return null!==e&&(this._timeScaleInterpolant=null,this._mixer._takeBackControlInterpolant(e)),this}getMixer(){return this._mixer}getClip(){return this._clip}getRoot(){return this._localRoot||this._mixer._root}_update(e,t,r,n){if(!this.enabled)return void this._updateWeight(e);const i=this._startTime;if(null!==i){const n=(e-i)*r;n<0||0===r?t=0:(this._startTime=null,t=r*n)}t*=this._updateTimeScale(e);const o=this._updateTime(t),s=this._updateWeight(e);if(s>0){const e=this._interpolants,t=this._propertyBindings;if(2501===this.blendMode)for(let r=0,n=e.length;r!==n;++r)e[r].evaluate(o),t[r].accumulateAdditive(s);else for(let r=0,i=e.length;r!==i;++r)e[r].evaluate(o),t[r].accumulate(n,s)}}_updateWeight(e){let t=0;if(this.enabled){t=this.weight;const r=this._weightInterpolant;if(null!==r){const n=r.evaluate(e)[0];t*=n,e>r.parameterPositions[1]&&(this.stopFading(),0===n&&(this.enabled=!1))}}return this._effectiveWeight=t,t}_updateTimeScale(e){let t=0;if(!this.paused){t=this.timeScale;const r=this._timeScaleInterpolant;if(null!==r){t*=r.evaluate(e)[0],e>r.parameterPositions[1]&&(this.stopWarping(),0===t?this.paused=!0:this.timeScale=t)}}return this._effectiveTimeScale=t,t}_updateTime(e){const t=this._clip.duration,r=this.loop;let n=this.time+e,i=this._loopCount;const o=r===Rt;if(0===e)return-1===i||!o||1&~i?n:t-n;if(r===kt){-1===i&&(this._loopCount=0,this._setEndings(!0,!0,!1));e:{if(n>=t)n=t;else{if(!(n<0)){this.time=n;break e}n=0}this.clampWhenFinished?this.paused=!0:this.enabled=!1,this.time=n,this._mixer.dispatchEvent({type:"finished",action:this,direction:e<0?-1:1})}}else{if(-1===i&&(e>=0?(i=0,this._setEndings(!0,0===this.repetitions,o)):this._setEndings(0===this.repetitions,!0,o)),n>=t||n<0){const r=Math.floor(n/t);n-=t*r,i+=Math.abs(r);const s=this.repetitions-i;if(s<=0)this.clampWhenFinished?this.paused=!0:this.enabled=!1,n=e>0?t:0,this.time=n,this._mixer.dispatchEvent({type:"finished",action:this,direction:e>0?1:-1});else{if(1===s){const t=e<0;this._setEndings(t,!t,o)}else this._setEndings(!1,!1,o);this._loopCount=i,this.time=n,this._mixer.dispatchEvent({type:"loop",action:this,loopDelta:r})}}else this.time=n;if(o&&!(1&~i))return t-n}return n}_setEndings(e,t,r){const n=this._interpolantSettings;r?(n.endingStart=Ft,n.endingEnd=Ft):(n.endingStart=e?this.zeroSlopeAtStart?Ft:Nt:Ot,n.endingEnd=t?this.zeroSlopeAtEnd?Ft:Nt:Ot)}_scheduleFading(e,t,r){const n=this._mixer,i=n.time;let o=this._weightInterpolant;null===o&&(o=n._lendControlInterpolant(),this._weightInterpolant=o);const s=o.parameterPositions,a=o.sampleValues;return s[0]=i,a[0]=t,s[1]=i+e,a[1]=r,this}}const Ac=new Float32Array(1);class Cc extends or{constructor(e){super(),this._root=e,this._initMemoryManager(),this._accuIndex=0,this.time=0,this.timeScale=1}_bindAction(e,t){const r=e._localRoot||this._root,n=e._clip.tracks,i=n.length,o=e._propertyBindings,s=e._interpolants,a=r.uuid,l=this._bindingsByRootAndName;let c=l[a];void 0===c&&(c={},l[a]=c);for(let e=0;e!==i;++e){const i=n[e],l=i.name;let u=c[l];if(void 0!==u)++u.referenceCount,o[e]=u;else{if(u=o[e],void 0!==u){null===u._cacheIndex&&(++u.referenceCount,this._addInactiveBinding(u,a,l));continue}const n=t&&t._propertyBindings[e].binding.parsedPath;u=new gc(Sc.create(r,l,n),i.ValueTypeName,i.getValueSize()),++u.referenceCount,this._addInactiveBinding(u,a,l),o[e]=u}s[e].resultBuffer=u.buffer}}_activateAction(e){if(!this._isActiveAction(e)){if(null===e._cacheIndex){const t=(e._localRoot||this._root).uuid,r=e._clip.uuid,n=this._actionsByClip[r];this._bindAction(e,n&&n.knownActions[0]),this._addInactiveAction(e,r,t)}const t=e._propertyBindings;for(let e=0,r=t.length;e!==r;++e){const r=t[e];0===r.useCount++&&(this._lendBinding(r),r.saveOriginalState())}this._lendAction(e)}}_deactivateAction(e){if(this._isActiveAction(e)){const t=e._propertyBindings;for(let e=0,r=t.length;e!==r;++e){const r=t[e];0===--r.useCount&&(r.restoreOriginalState(),this._takeBackBinding(r))}this._takeBackAction(e)}}_initMemoryManager(){this._actions=[],this._nActiveActions=0,this._actionsByClip={},this._bindings=[],this._nActiveBindings=0,this._bindingsByRootAndName={},this._controlInterpolants=[],this._nActiveControlInterpolants=0;const e=this;this.stats={actions:{get total(){return e._actions.length},get inUse(){return e._nActiveActions}},bindings:{get total(){return e._bindings.length},get inUse(){return e._nActiveBindings}},controlInterpolants:{get total(){return e._controlInterpolants.length},get inUse(){return e._nActiveControlInterpolants}}}}_isActiveAction(e){const t=e._cacheIndex;return null!==t&&t<this._nActiveActions}_addInactiveAction(e,t,r){const n=this._actions,i=this._actionsByClip;let o=i[t];if(void 0===o)o={knownActions:[e],actionByRoot:{}},e._byClipCacheIndex=0,i[t]=o;else{const t=o.knownActions;e._byClipCacheIndex=t.length,t.push(e)}e._cacheIndex=n.length,n.push(e),o.actionByRoot[r]=e}_removeInactiveAction(e){const t=this._actions,r=t[t.length-1],n=e._cacheIndex;r._cacheIndex=n,t[n]=r,t.pop(),e._cacheIndex=null;const i=e._clip.uuid,o=this._actionsByClip,s=o[i],a=s.knownActions,l=a[a.length-1],c=e._byClipCacheIndex;l._byClipCacheIndex=c,a[c]=l,a.pop(),e._byClipCacheIndex=null;delete s.actionByRoot[(e._localRoot||this._root).uuid],0===a.length&&delete o[i],this._removeInactiveBindingsForAction(e)}_removeInactiveBindingsForAction(e){const t=e._propertyBindings;for(let e=0,r=t.length;e!==r;++e){const r=t[e];0===--r.referenceCount&&this._removeInactiveBinding(r)}}_lendAction(e){const t=this._actions,r=e._cacheIndex,n=this._nActiveActions++,i=t[n];e._cacheIndex=n,t[n]=e,i._cacheIndex=r,t[r]=i}_takeBackAction(e){const t=this._actions,r=e._cacheIndex,n=--this._nActiveActions,i=t[n];e._cacheIndex=n,t[n]=e,i._cacheIndex=r,t[r]=i}_addInactiveBinding(e,t,r){const n=this._bindingsByRootAndName,i=this._bindings;let o=n[t];void 0===o&&(o={},n[t]=o),o[r]=e,e._cacheIndex=i.length,i.push(e)}_removeInactiveBinding(e){const t=this._bindings,r=e.binding,n=r.rootNode.uuid,i=r.path,o=this._bindingsByRootAndName,s=o[n],a=t[t.length-1],l=e._cacheIndex;a._cacheIndex=l,t[l]=a,t.pop(),delete s[i],0===Object.keys(s).length&&delete o[n]}_lendBinding(e){const t=this._bindings,r=e._cacheIndex,n=this._nActiveBindings++,i=t[n];e._cacheIndex=n,t[n]=e,i._cacheIndex=r,t[r]=i}_takeBackBinding(e){const t=this._bindings,r=e._cacheIndex,n=--this._nActiveBindings,i=t[n];e._cacheIndex=n,t[n]=e,i._cacheIndex=r,t[r]=i}_lendControlInterpolant(){const e=this._controlInterpolants,t=this._nActiveControlInterpolants++;let r=e[t];return void 0===r&&(r=new bl(new Float32Array(2),new Float32Array(2),1,Ac),r.__cacheIndex=t,e[t]=r),r}_takeBackControlInterpolant(e){const t=this._controlInterpolants,r=e.__cacheIndex,n=--this._nActiveControlInterpolants,i=t[n];e.__cacheIndex=n,t[n]=e,i.__cacheIndex=r,t[r]=i}clipAction(e,t,r){const n=t||this._root,i=n.uuid;let o="string"==typeof e?Ml.findByName(n,e):e;const s=null!==o?o.uuid:e,a=this._actionsByClip[s];let l=null;if(void 0===r&&(r=null!==o?o.blendMode:Bt),void 0!==a){const e=a.actionByRoot[i];if(void 0!==e&&e.blendMode===r)return e;l=a.knownActions[0],null===o&&(o=l._clip)}if(null===o)return null;const c=new wc(this,o,t,r);return this._bindAction(c,l),this._addInactiveAction(c,s,i),c}existingAction(e,t){const r=t||this._root,n=r.uuid,i="string"==typeof e?Ml.findByName(r,e):e,o=i?i.uuid:e,s=this._actionsByClip[o];return void 0!==s&&s.actionByRoot[n]||null}stopAllAction(){const e=this._actions;for(let t=this._nActiveActions-1;t>=0;--t)e[t].stop();return this}update(e){e*=this.timeScale;const t=this._actions,r=this._nActiveActions,n=this.time+=e,i=Math.sign(e),o=this._accuIndex^=1;for(let s=0;s!==r;++s){t[s]._update(n,e,i,o)}const s=this._bindings,a=this._nActiveBindings;for(let e=0;e!==a;++e)s[e].apply(o);return this}setTime(e){this.time=0;for(let e=0;e<this._actions.length;e++)this._actions[e].time=0;return this.update(e)}getRoot(){return this._root}uncacheClip(e){const t=this._actions,r=e.uuid,n=this._actionsByClip,i=n[r];if(void 0!==i){const e=i.knownActions;for(let r=0,n=e.length;r!==n;++r){const n=e[r];this._deactivateAction(n);const i=n._cacheIndex,o=t[t.length-1];n._cacheIndex=null,n._byClipCacheIndex=null,o._cacheIndex=i,t[i]=o,t.pop(),this._removeInactiveBindingsForAction(n)}delete n[r]}}uncacheRoot(e){const t=e.uuid,r=this._actionsByClip;for(const e in r){const n=r[e].actionByRoot[t];void 0!==n&&(this._deactivateAction(n),this._removeInactiveAction(n))}const n=this._bindingsByRootAndName[t];if(void 0!==n)for(const e in n){const t=n[e];t.restoreOriginalState(),this._removeInactiveBinding(t)}}uncacheAction(e,t){const r=this.existingAction(e,t);null!==r&&(this._deactivateAction(r),this._removeInactiveAction(r))}}class Ec extends yo{constructor(e,t,r=1){super(e,t),this.isInstancedInterleavedBuffer=!0,this.meshPerAttribute=r}copy(e){return super.copy(e),this.meshPerAttribute=e.meshPerAttribute,this}clone(e){const t=super.clone(e);return t.meshPerAttribute=this.meshPerAttribute,t}toJSON(e){const t=super.toJSON(e);return t.isInstancedInterleavedBuffer=!0,t.meshPerAttribute=this.meshPerAttribute,t}}const Ic=new xn;class Mc{constructor(e,t,r=0,n=1/0){this.ray=new $n(e,t),this.near=r,this.far=n,this.camera=null,this.layers=new Ln,this.params={Mesh:{},Line:{threshold:1},LOD:{},Points:{threshold:1},Sprite:{}}}set(e,t){this.ray.set(e,t)}setFromCamera(e,t){t.isPerspectiveCamera?(this.ray.origin.setFromMatrixPosition(t.matrixWorld),this.ray.direction.set(e.x,e.y,.5).unproject(t).sub(this.ray.origin).normalize(),this.camera=t):t.isOrthographicCamera?(this.ray.origin.set(e.x,e.y,(t.near+t.far)/(t.near-t.far)).unproject(t),this.ray.direction.set(0,0,-1).transformDirection(t.matrixWorld),this.camera=t):console.error("THREE.Raycaster: Unsupported camera type: "+t.type)}setFromXRController(e){return Ic.identity().extractRotation(e.matrixWorld),this.ray.origin.setFromMatrixPosition(e.matrixWorld),this.ray.direction.set(0,0,-1).applyMatrix4(Ic),this}intersectObject(e,t=!0,r=[]){return Tc(e,this,r,t),r.sort(kc),r}intersectObjects(e,t=!0,r=[]){for(let n=0,i=e.length;n<i;n++)Tc(e[n],this,r,t);return r.sort(kc),r}}function kc(e,t){return e.distance-t.distance}function Tc(e,t,r,n){let i=!0;if(e.layers.test(t.layers)){!1===e.raycast(t,r)&&(i=!1)}if(!0===i&&!0===n){const n=e.children;for(let e=0,i=n.length;e<i;e++)Tc(n[e],t,r,!0)}}class Rc{constructor(e=1,t=0,r=0){this.radius=e,this.phi=t,this.theta=r}set(e,t,r){return this.radius=e,this.phi=t,this.theta=r,this}copy(e){return this.radius=e.radius,this.phi=e.phi,this.theta=e.theta,this}makeSafe(){const e=1e-6;return this.phi=dr(this.phi,e,Math.PI-e),this}setFromVector3(e){return this.setFromCartesianCoords(e.x,e.y,e.z)}setFromCartesianCoords(e,t,r){return this.radius=Math.sqrt(e*e+t*t+r*r),0===this.radius?(this.theta=0,this.phi=0):(this.theta=Math.atan2(e,r),this.phi=Math.acos(dr(t/this.radius,-1,1))),this}clone(){return(new this.constructor).copy(this)}}const Lc=new fr;class Pc{constructor(e=new fr(1/0,1/0),t=new fr(-1/0,-1/0)){this.isBox2=!0,this.min=e,this.max=t}set(e,t){return this.min.copy(e),this.max.copy(t),this}setFromPoints(e){this.makeEmpty();for(let t=0,r=e.length;t<r;t++)this.expandByPoint(e[t]);return this}setFromCenterAndSize(e,t){const r=Lc.copy(t).multiplyScalar(.5);return this.min.copy(e).sub(r),this.max.copy(e).add(r),this}clone(){return(new this.constructor).copy(this)}copy(e){return this.min.copy(e.min),this.max.copy(e.max),this}makeEmpty(){return this.min.x=this.min.y=1/0,this.max.x=this.max.y=-1/0,this}isEmpty(){return this.max.x<this.min.x||this.max.y<this.min.y}getCenter(e){return this.isEmpty()?e.set(0,0):e.addVectors(this.min,this.max).multiplyScalar(.5)}getSize(e){return this.isEmpty()?e.set(0,0):e.subVectors(this.max,this.min)}expandByPoint(e){return this.min.min(e),this.max.max(e),this}expandByVector(e){return this.min.sub(e),this.max.add(e),this}expandByScalar(e){return this.min.addScalar(-e),this.max.addScalar(e),this}containsPoint(e){return e.x>=this.min.x&&e.x<=this.max.x&&e.y>=this.min.y&&e.y<=this.max.y}containsBox(e){return this.min.x<=e.min.x&&e.max.x<=this.max.x&&this.min.y<=e.min.y&&e.max.y<=this.max.y}getParameter(e,t){return t.set((e.x-this.min.x)/(this.max.x-this.min.x),(e.y-this.min.y)/(this.max.y-this.min.y))}intersectsBox(e){return e.max.x>=this.min.x&&e.min.x<=this.max.x&&e.max.y>=this.min.y&&e.min.y<=this.max.y}clampPoint(e,t){return t.copy(e).clamp(this.min,this.max)}distanceToPoint(e){return this.clampPoint(e,Lc).distanceTo(e)}intersect(e){return this.min.max(e.min),this.max.min(e.max),this.isEmpty()&&this.makeEmpty(),this}union(e){return this.min.min(e.min),this.max.max(e.max),this}translate(e){return this.min.add(e),this.max.add(e),this}equals(e){return e.min.equals(this.min)&&e.max.equals(this.max)}}const Dc=new br,Nc=new br,Fc=new br,Oc=new br,Bc=new br,Uc=new br,Vc=new br;class zc{constructor(e=new br,t=new br){this.start=e,this.end=t}set(e,t){return this.start.copy(e),this.end.copy(t),this}copy(e){return this.start.copy(e.start),this.end.copy(e.end),this}getCenter(e){return e.addVectors(this.start,this.end).multiplyScalar(.5)}delta(e){return e.subVectors(this.end,this.start)}distanceSq(){return this.start.distanceToSquared(this.end)}distance(){return this.start.distanceTo(this.end)}at(e,t){return this.delta(t).multiplyScalar(e).add(this.start)}closestPointToPointParameter(e,t){Dc.subVectors(e,this.start),Nc.subVectors(this.end,this.start);const r=Nc.dot(Nc);let n=Nc.dot(Dc)/r;return t&&(n=dr(n,0,1)),n}closestPointToPoint(e,t,r){const n=this.closestPointToPointParameter(e,t);return this.delta(r).multiplyScalar(n).add(this.start)}distanceSqToLine3(e,t=Uc,r=Vc){const n=1e-8*1e-8;let i,o;const s=this.start,a=e.start,l=this.end,c=e.end;Fc.subVectors(l,s),Oc.subVectors(c,a),Bc.subVectors(s,a);const u=Fc.dot(Fc),d=Oc.dot(Oc),h=Oc.dot(Bc);if(u<=n&&d<=n)return t.copy(s),r.copy(a),t.sub(r),t.dot(t);if(u<=n)i=0,o=h/d,o=dr(o,0,1);else{const e=Fc.dot(Bc);if(d<=n)o=0,i=dr(-e/u,0,1);else{const t=Fc.dot(Oc),r=u*d-t*t;i=0!==r?dr((t*h-e*d)/r,0,1):0,o=(t*i+h)/d,o<0?(o=0,i=dr(-e/u,0,1)):o>1&&(o=1,i=dr((t-e)/u,0,1))}}return t.copy(s).add(Fc.multiplyScalar(i)),r.copy(a).add(Oc.multiplyScalar(o)),t.sub(r),t.dot(t)}applyMatrix4(e){return this.start.applyMatrix4(e),this.end.applyMatrix4(e),this}equals(e){return e.start.equals(this.start)&&e.end.equals(this.end)}clone(){return(new this.constructor).copy(this)}}const Hc=new br;class Gc extends qn{constructor(e,t){super(),this.light=e,this.matrixAutoUpdate=!1,this.color=t,this.type="SpotLightHelper";const r=new Oi,n=[0,0,0,0,0,1,0,0,0,1,0,1,0,0,0,-1,0,1,0,0,0,0,1,1,0,0,0,0,-1,1];for(let e=0,t=1,r=32;e<r;e++,t++){const i=e/r*Math.PI*2,o=t/r*Math.PI*2;n.push(Math.cos(i),Math.sin(i),1,Math.cos(o),Math.sin(o),1)}r.setAttribute("position",new ki(n,3));const i=new fs({fog:!1,toneMapped:!1});this.cone=new Ms(r,i),this.add(this.cone),this.update()}dispose(){this.cone.geometry.dispose(),this.cone.material.dispose()}update(){this.light.updateWorldMatrix(!0,!1),this.light.target.updateWorldMatrix(!0,!1),this.parent?(this.parent.updateWorldMatrix(!0),this.matrix.copy(this.parent.matrixWorld).invert().multiply(this.light.matrixWorld)):this.matrix.copy(this.light.matrixWorld),this.matrixWorld.copy(this.light.matrixWorld);const e=this.light.distance?this.light.distance:1e3,t=e*Math.tan(this.light.angle);this.cone.scale.set(t,t,e),Hc.setFromMatrixPosition(this.light.target.matrixWorld),this.cone.lookAt(Hc),void 0!==this.color?this.cone.material.color.set(this.color):this.cone.material.color.copy(this.light.color)}}class jc extends Yi{constructor(e,t,r){super(new Za(t,4,2),new vi({wireframe:!0,fog:!1,toneMapped:!1})),this.light=e,this.color=r,this.type="PointLightHelper",this.matrix=this.light.matrixWorld,this.matrixAutoUpdate=!1,this.update()}dispose(){this.geometry.dispose(),this.material.dispose()}update(){this.light.updateWorldMatrix(!0,!1),void 0!==this.color?this.material.color.set(this.color):this.material.color.copy(this.light.color)}}const Jc=new br,Wc=new mi,Qc=new mi;class qc extends qn{constructor(e,t,r){super(),this.light=e,this.matrix=e.matrixWorld,this.matrixAutoUpdate=!1,this.color=r,this.type="HemisphereLightHelper";const n=new Xa(t);n.rotateY(.5*Math.PI),this.material=new vi({wireframe:!0,fog:!1,toneMapped:!1}),void 0===this.color&&(this.material.vertexColors=!0);const i=n.getAttribute("position"),o=new Float32Array(3*i.count);n.setAttribute("color",new Ei(o,3)),this.add(new Yi(n,this.material)),this.update()}dispose(){this.children[0].geometry.dispose(),this.children[0].material.dispose()}update(){const e=this.children[0];if(void 0!==this.color)this.material.color.set(this.color);else{const t=e.geometry.getAttribute("color");Wc.copy(this.light.color),Qc.copy(this.light.groundColor);for(let e=0,r=t.count;e<r;e++){const n=e<r/2?Wc:Qc;t.setXYZ(e,n.r,n.g,n.b)}t.needsUpdate=!0}this.light.updateWorldMatrix(!0,!1),e.lookAt(Jc.setFromMatrixPosition(this.light.matrixWorld).negate())}}const Yc=new br,Xc=new br,Kc=new br;class Zc extends qn{constructor(e,t,r){super(),this.light=e,this.matrix=e.matrixWorld,this.matrixAutoUpdate=!1,this.color=r,this.type="DirectionalLightHelper",void 0===t&&(t=1);let n=new Oi;n.setAttribute("position",new ki([-t,t,0,t,t,0,t,-t,0,-t,-t,0,-t,t,0],3));const i=new fs({fog:!1,toneMapped:!1});this.lightPlane=new As(n,i),this.add(this.lightPlane),n=new Oi,n.setAttribute("position",new ki([0,0,0,0,0,1],3)),this.targetLine=new As(n,i),this.add(this.targetLine),this.update()}dispose(){this.lightPlane.geometry.dispose(),this.lightPlane.material.dispose(),this.targetLine.geometry.dispose(),this.targetLine.material.dispose()}update(){this.light.updateWorldMatrix(!0,!1),this.light.target.updateWorldMatrix(!0,!1),Yc.setFromMatrixPosition(this.light.matrixWorld),Xc.setFromMatrixPosition(this.light.target.matrixWorld),Kc.subVectors(Xc,Yc),this.lightPlane.lookAt(Xc),void 0!==this.color?(this.lightPlane.material.color.set(this.color),this.targetLine.material.color.set(this.color)):(this.lightPlane.material.color.copy(this.light.color),this.targetLine.material.color.copy(this.light.color)),this.targetLine.lookAt(Xc),this.targetLine.scale.z=Kc.length()}}const eu=new br,tu=new io;class ru extends Ms{constructor(e){const t=new Oi,r=new fs({color:16777215,vertexColors:!0,toneMapped:!1}),n=[],i=[],o={};function s(e,t){a(e),a(t)}function a(e){n.push(0,0,0),i.push(0,0,0),void 0===o[e]&&(o[e]=[]),o[e].push(n.length/3-1)}s("n1","n2"),s("n2","n4"),s("n4","n3"),s("n3","n1"),s("f1","f2"),s("f2","f4"),s("f4","f3"),s("f3","f1"),s("n1","f1"),s("n2","f2"),s("n3","f3"),s("n4","f4"),s("p","n1"),s("p","n2"),s("p","n3"),s("p","n4"),s("u1","u2"),s("u2","u3"),s("u3","u1"),s("c","t"),s("p","c"),s("cn1","cn2"),s("cn3","cn4"),s("cf1","cf2"),s("cf3","cf4"),t.setAttribute("position",new ki(n,3)),t.setAttribute("color",new ki(i,3)),super(t,r),this.type="CameraHelper",this.camera=e,this.camera.updateProjectionMatrix&&this.camera.updateProjectionMatrix(),this.matrix=e.matrixWorld,this.matrixAutoUpdate=!1,this.pointMap=o,this.update();const l=new mi(16755200),c=new mi(16711680),u=new mi(43775),d=new mi(16777215),h=new mi(3355443);this.setColors(l,c,u,d,h)}setColors(e,t,r,n,i){const o=this.geometry.getAttribute("color");return o.setXYZ(0,e.r,e.g,e.b),o.setXYZ(1,e.r,e.g,e.b),o.setXYZ(2,e.r,e.g,e.b),o.setXYZ(3,e.r,e.g,e.b),o.setXYZ(4,e.r,e.g,e.b),o.setXYZ(5,e.r,e.g,e.b),o.setXYZ(6,e.r,e.g,e.b),o.setXYZ(7,e.r,e.g,e.b),o.setXYZ(8,e.r,e.g,e.b),o.setXYZ(9,e.r,e.g,e.b),o.setXYZ(10,e.r,e.g,e.b),o.setXYZ(11,e.r,e.g,e.b),o.setXYZ(12,e.r,e.g,e.b),o.setXYZ(13,e.r,e.g,e.b),o.setXYZ(14,e.r,e.g,e.b),o.setXYZ(15,e.r,e.g,e.b),o.setXYZ(16,e.r,e.g,e.b),o.setXYZ(17,e.r,e.g,e.b),o.setXYZ(18,e.r,e.g,e.b),o.setXYZ(19,e.r,e.g,e.b),o.setXYZ(20,e.r,e.g,e.b),o.setXYZ(21,e.r,e.g,e.b),o.setXYZ(22,e.r,e.g,e.b),o.setXYZ(23,e.r,e.g,e.b),o.setXYZ(24,t.r,t.g,t.b),o.setXYZ(25,t.r,t.g,t.b),o.setXYZ(26,t.r,t.g,t.b),o.setXYZ(27,t.r,t.g,t.b),o.setXYZ(28,t.r,t.g,t.b),o.setXYZ(29,t.r,t.g,t.b),o.setXYZ(30,t.r,t.g,t.b),o.setXYZ(31,t.r,t.g,t.b),o.setXYZ(32,r.r,r.g,r.b),o.setXYZ(33,r.r,r.g,r.b),o.setXYZ(34,r.r,r.g,r.b),o.setXYZ(35,r.r,r.g,r.b),o.setXYZ(36,r.r,r.g,r.b),o.setXYZ(37,r.r,r.g,r.b),o.setXYZ(38,n.r,n.g,n.b),o.setXYZ(39,n.r,n.g,n.b),o.setXYZ(40,i.r,i.g,i.b),o.setXYZ(41,i.r,i.g,i.b),o.setXYZ(42,i.r,i.g,i.b),o.setXYZ(43,i.r,i.g,i.b),o.setXYZ(44,i.r,i.g,i.b),o.setXYZ(45,i.r,i.g,i.b),o.setXYZ(46,i.r,i.g,i.b),o.setXYZ(47,i.r,i.g,i.b),o.setXYZ(48,i.r,i.g,i.b),o.setXYZ(49,i.r,i.g,i.b),o.needsUpdate=!0,this}update(){const e=this.geometry,t=this.pointMap;let r,n;if(tu.projectionMatrixInverse.copy(this.camera.projectionMatrixInverse),!0===this.camera.reversedDepth)r=1,n=0;else if(this.camera.coordinateSystem===nr)r=-1,n=1;else{if(this.camera.coordinateSystem!==ir)throw new Error("THREE.CameraHelper.update(): Invalid coordinate system: "+this.camera.coordinateSystem);r=0,n=1}nu("c",t,e,tu,0,0,r),nu("t",t,e,tu,0,0,n),nu("n1",t,e,tu,-1,-1,r),nu("n2",t,e,tu,1,-1,r),nu("n3",t,e,tu,-1,1,r),nu("n4",t,e,tu,1,1,r),nu("f1",t,e,tu,-1,-1,n),nu("f2",t,e,tu,1,-1,n),nu("f3",t,e,tu,-1,1,n),nu("f4",t,e,tu,1,1,n),nu("u1",t,e,tu,.7,1.1,r),nu("u2",t,e,tu,-.7,1.1,r),nu("u3",t,e,tu,0,2,r),nu("cf1",t,e,tu,-1,0,n),nu("cf2",t,e,tu,1,0,n),nu("cf3",t,e,tu,0,-1,n),nu("cf4",t,e,tu,0,1,n),nu("cn1",t,e,tu,-1,0,r),nu("cn2",t,e,tu,1,0,r),nu("cn3",t,e,tu,0,-1,r),nu("cn4",t,e,tu,0,1,r),e.getAttribute("position").needsUpdate=!0}dispose(){this.geometry.dispose(),this.material.dispose()}}function nu(e,t,r,n,i,o,s){eu.set(i,o,s).unproject(n);const a=t[e];if(void 0!==a){const e=r.getAttribute("position");for(let t=0,r=a.length;t<r;t++)e.setXYZ(a[t],eu.x,eu.y,eu.z)}}class iu extends Ms{constructor(e=1){const t=[0,0,0,e,0,0,0,0,0,0,e,0,0,0,0,0,0,e],r=new Oi;r.setAttribute("position",new ki(t,3)),r.setAttribute("color",new ki([1,0,0,1,.6,0,0,1,0,.6,1,0,0,0,1,0,.6,1],3));super(r,new fs({vertexColors:!0,toneMapped:!1})),this.type="AxesHelper"}setColors(e,t,r){const n=new mi,i=this.geometry.attributes.color.array;return n.set(e),n.toArray(i,0),n.toArray(i,3),n.set(t),n.toArray(i,6),n.toArray(i,9),n.set(r),n.toArray(i,12),n.toArray(i,15),this.geometry.attributes.color.needsUpdate=!0,this}dispose(){this.geometry.dispose(),this.material.dispose()}}class ou extends or{constructor(e,t=null){super(),this.object=e,this.domElement=t,this.enabled=!0,this.state=-1,this.keys={},this.mouseButtons={LEFT:null,MIDDLE:null,RIGHT:null},this.touches={ONE:null,TWO:null}}connect(e){void 0!==e?(null!==this.domElement&&this.disconnect(),this.domElement=e):console.warn("THREE.Controls: connect() now requires an element.")}disconnect(){}dispose(){}update(){}}function su(e,t,r,n){const i=function(e){switch(e){case ke:case Te:return{byteLength:1,components:1};case Le:case Re:case Fe:return{byteLength:2,components:1};case Oe:case Be:return{byteLength:2,components:4};case De:case Pe:case Ne:return{byteLength:4,components:1};case Ve:case ze:return{byteLength:4,components:3}}throw new Error(`Unknown texture type ${e}.`)}(n);switch(r){case 1021:return e*t;case We:case Qe:return e*t/i.components*i.byteLength;case qe:case Ye:return e*t*2/i.components*i.byteLength;case He:return e*t*3/i.components*i.byteLength;case Ge:case Xe:return e*t*4/i.components*i.byteLength;case Ke:case Ze:return Math.floor((e+3)/4)*Math.floor((t+3)/4)*8;case et:case tt:return Math.floor((e+3)/4)*Math.floor((t+3)/4)*16;case nt:case ot:return Math.max(e,16)*Math.max(t,8)/4;case rt:case it:return Math.max(e,8)*Math.max(t,8)/2;case st:case at:return Math.floor((e+3)/4)*Math.floor((t+3)/4)*8;case lt:case ct:return Math.floor((e+3)/4)*Math.floor((t+3)/4)*16;case ut:return Math.floor((e+4)/5)*Math.floor((t+3)/4)*16;case dt:return Math.floor((e+4)/5)*Math.floor((t+4)/5)*16;case ht:return Math.floor((e+5)/6)*Math.floor((t+4)/5)*16;case pt:return Math.floor((e+5)/6)*Math.floor((t+5)/6)*16;case mt:return Math.floor((e+7)/8)*Math.floor((t+4)/5)*16;case _t:return Math.floor((e+7)/8)*Math.floor((t+5)/6)*16;case gt:return Math.floor((e+7)/8)*Math.floor((t+7)/8)*16;case ft:return Math.floor((e+9)/10)*Math.floor((t+4)/5)*16;case vt:return Math.floor((e+9)/10)*Math.floor((t+5)/6)*16;case bt:return Math.floor((e+9)/10)*Math.floor((t+7)/8)*16;case yt:return Math.floor((e+9)/10)*Math.floor((t+9)/10)*16;case $t:return Math.floor((e+11)/12)*Math.floor((t+9)/10)*16;case xt:return Math.floor((e+11)/12)*Math.floor((t+11)/12)*16;case St:case wt:case At:return Math.ceil(e/4)*Math.ceil(t/4)*16;case Ct:case Et:return Math.ceil(e/4)*Math.ceil(t/4)*8;case It:case Mt:return Math.ceil(e/4)*Math.ceil(t/4)*16}throw new Error(`Unable to determine texture byte length for ${r} format.`)}function au(e){return class extends e{constructor(...e){super(...e);const t=e[0]||{};this.surfaceNormalMap=t.surfaceNormalMap||null,this.surfaceNormalScale=t.surfaceNormalScale||new fr(1,1),this.normalMapBlending=t.normalMapBlending||0,this.setValues(t)}}}"undefined"!=typeof __THREE_DEVTOOLS__&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("register",{detail:{revision:F}})),"undefined"!=typeof window&&(window.__THREE__?console.warn("WARNING: Multiple instances of Three.js being imported."):window.__THREE__=F);class lu extends(au(sl)){}class cu extends(au(function(e){return class extends e{constructor(...e){super(...e),this.mirrorMap=null,this.mirrorMatrix=null,this.mirrorIntensity=0,this.mirrorBlurIntensity=0,this.mirrorMode=0;const t=e[0]||{};this.mirrorMap=t.mirrorMap||null,this.mirrorMatrix=t.mirrorMatrix||null,this.mirrorIntensity=t.mirrorIntensity||0,this.mirrorBlurIntensity=t.mirrorBlurIntensity||0,this.mirrorMode=t.mirrorMode||0,this.setValues(t)}}}(sl))){}class uu extends(function(e){return class extends e{constructor(...e){super(...e);const t=e[0]||{};this.contactShadowMapCascade=t?.contactShadowMapCascade||null,this.contactShadowMatrix=t?.contactShadowMatrix||null,this.contactShadowBlur=t?.contactShadowBlur||0,this.contactShadowDarkness=t?.contactShadowDarkness||0,this.setValues(t)}}}(cu)){constructor(e){super(e),this.type="MeshGroundMaterial",this.isMeshGroundMaterial=!0,this.defines={GROUND:"",STANDARD:"",PHYSICAL:""},this.setValues(e)}copy(e){return cu.prototype.copy.call(this,e),this.setValues(void 0),this}setValues(e){e&&super.setValues(e)}}
+/**
+ * @license
+ * Copyright 2010-2025 Three.js Authors
+ * SPDX-License-Identifier: MIT
+ */
+function du(e){const t={};for(const r in e){t[r]={};for(const n in e[r]){const i=e[r][n];i&&(i.isColor||i.isMatrix3||i.isMatrix4||i.isVector2||i.isVector3||i.isVector4||i.isTexture||i.isQuaternion)?i.isRenderTargetTexture?(console.warn("UniformsUtils: Textures of render targets cannot be cloned via cloneUniforms() or mergeUniforms()."),t[r][n]=null):t[r][n]=i.clone():Array.isArray(i)?t[r][n]=i.slice():t[r][n]=i}}return t}function hu(e){const t={};for(let r=0;r<e.length;r++){const n=du(e[r]);for(const e in n)t[e]=n[e]}return t}function pu(e,...t){for(const r of t)for(const t of r)t.src?mu(t,e):t.rules&&_u(t,e)}function mu(e,t){if("object"==typeof e.src){const{vertex:r,fragment:n}=e.src;r&&(t[`${e.name}_vert`]=r),n&&(t[`${e.name}_frag`]=n)}else t[e.name]=e.src}function _u(e,t){if(e.rules&&e.rules.length){const r=t[e.name];if("string"!=typeof r)return void console.error(`Target for patch '${e.name}' is not a string. Cannot apply rules.`);let n=r;for(const t of e.rules)n=n.replace(t.find,t.replace);t[e.name]=n}}function gu(e,...t){return t.forEach(t=>{Object.entries(t).forEach(([t,r])=>{e[t]="string"!=typeof r?{...e[t]||{},...r}:r})}),e}uu.prototype.isMeshGroundMaterial=!0;const fu={get(e,t,r){const n=Reflect.get(e,t);if("function"!=typeof n)return n;return(...e)=>{}}},vu=new Proxy(console,fu),bu={common:{surfaceNormalUVTransform:{value:new xr}},mirrormap:{iMirrorMode:{value:0},fMirrorIntensity:{value:0},mirrorMapTransform:{value:new xr},mirrorMap:{value:null},mirrorMatrix:{value:null}},contactshadowmapcascade:{contactShadowMapTransform:{value:new xr},contactShadowMapCascade:{value:null},contactShadowMatrices:{value:null},fContactShadowDarkness:{value:0}},normalmap:{surfaceNormalMap:{value:null},surfaceNormalScale:{value:new fr(1,1)},normalMapBlending:{value:0}}};var yu=[{name:"uv_vertex",rules:[{find:/#if defined.+\n+.+(vUv.+;)\n+#endif/,replace:"$1"}]},{name:"uv_pars_vertex",rules:[{find:/#if defined.+\n+.+(var.+;)\n+#endif/,replace:"\n                    $1\n                "}]},{name:"uv_pars_fragment",rules:[{find:/#if defined.+\n+.+(var.+;)\n+#endif/,replace:"\n                    $1\n                "}]}],$u=[{name:"uv2_vertex",src:"\n            #if defined( USE_LIGHTMAP ) || defined( USE_AOMAP ) || defined ( USE_NORMAL_UV )\n                vUv2 = ( uv2Transform * vec3( uv2, 1 ) ).xy;\n            #endif\n        "},{name:"uv2_pars_vertex",src:"\n        #if defined( USE_LIGHTMAP ) || defined( USE_AOMAP ) || defined ( USE_NORMAL_UV )\n            attribute vec2 uv2;\n            varying vec2 vUv2;\n            uniform mat3 uv2Transform;\n        #endif\n        "},{name:"uv2_pars_fragment",src:"\n            #if defined( USE_LIGHTMAP ) || defined( USE_AOMAP ) || defined ( USE_NORMAL_UV )\n                varying vec2 vUv2;\n            #endif\n        "}],xu=[{name:"blending",src:"\n            float normpdf( float x, float sigma )\n            {\n                return 0.39894 * exp ( -0.5 * x * x / (sigma * sigma) ) / sigma;\n            }\n            \n            float overlay(float x, float y)\n            {\n                if (x < 0.5)\n                    return 2.0*x*y;\n                else\n                    return 1.0 - 2.0*(1.0 - x)*(1.0 - y);\n            }\n            \n            vec3 blend_linear(vec3 n1, vec3 n2)\n            {\n                return normalize(n1 + n2);\n            }\n            \n            vec3 blend_overlay(vec3 n1, vec3 n2)\n            {\n                vec3 n;\n            \n                n.x = overlay(n1.x, n2.x);\n                n.y = overlay(n1.y, n2.y);\n                n.z = overlay(n1.z, n2.z);\n            \n                return normalize(n);\n            }\n            \n            \n            vec3 blend_rnm(vec3 n1, vec3 n2)\n            {\n                n1 = n1 * vec3( 2,  2, 2) + vec3(-1, -1,  0);\n                n2 = n2 * vec3(-2, -2, 2) + vec3( 1,  1, -1);\n                return n1 * dot(n1, n2) / n1.z - n2;\n            }\n            \n            vec3 NormalBlend_UnpackedRNM(vec3 n1, vec3 n2)\n            {\n                n1 += vec3(0, 0, 1);\n                n2 *= vec3(-1, -1, 1);\n                return n1*dot(n1, n2)/n1.z - n2;\n            }\n            \n            vec3 blend_unity(vec3 n1, vec3 n2)\n            {\n                mat3 nBasis = mat3(\n                vec3(n1.z, n1.y, -n1.x), // +90 degree rotation around y axis\n                vec3(n1.x, n1.z, -n1.y), // -90 degree rotation around x axis\n                vec3(n1.x, n1.y,  n1.z));\n                return normalize(n2.x * nBasis[0] + n2.y * nBasis[1] + n2.z * nBasis[2]);\n            }\n            \n            vec3 blend_udn(vec3 n1, vec3 n2)\n            {\n                return normalize(vec3(n1.xy + n2.xy, n1.z));\n            }\n            \n            vec3 blend_whiteout(vec3 n1, vec3 n2)\n            {\n                return normalize(vec3(n1.xy + n2.xy, n1.z * n2.z));\n            }\n            \n            vec3 blend_pd(vec3 n1, vec3 n2)\n            {\n                return normalize(vec3(n1.xy * n2.z + n2.xy * n1.z, n1.z * n2.z));\n            }\n                    "}],Su=[{name:"blur",src:"\n            vec4 blur_texture(sampler2D map, vec2 uv, float sigma, float intensity)\n            {\n                const int mSize = 11;\n                const int kSize = (mSize-1)/2;\n                float kernel[mSize];\n                vec4 blur_color = vec4(0.0);\n        \n                float Z = 0.0;\n                for (int j = 0; j <= kSize; ++j)\n                {\n                    kernel[kSize+j] = kernel[kSize-j] = normpdf(float(j), intensity);\n                }\n        \n                for (int j = 0; j < mSize; ++j)\n                {\n                    Z += kernel[j];\n                }\n        \n                for (int i= -kSize; i <= kSize; ++i)\n                {\n                    for (int j= -kSize; j <= kSize; ++j)\n                    {\n                        blur_color += texture2D(map, (uv.xy + vec2(float(i), float(j)) * sigma )) * kernel[kSize + j] * kernel[kSize + i];\n                    }\n                }\n                return blur_color;\n            }\n        "}],wu=[{name:"surface_normal_fragment_maps",src:"\n#if defined( USE_NORMALMAP_TANGENTSPACE ) && defined ( USE_SURFACE_NORMAL_MAP ) && defined ( USE_NORMAL_UV )\n    vec3 surfaceNormal = vec3(0.0);\n    vec3 surfaceMapNormal = texture2D( surfaceNormalMap, vSurfaceNormalUV ).xyz * 2.0 - 1.0;\n    surfaceMapNormal.xy *= surfaceNormalScale;\n    #ifdef USE_TANGENT\n        mat3 tbnS = mat3( normalize( vTangent ), normalize( vBitangent ), surfaceMapNormal );\n    #else\n        mat3 tbnS = getTangentFrame( -vViewPosition, normal, vSurfaceNormalUV);\n    #endif\n    #if defined( DOUBLE_SIDED ) && ! defined( FLAT_SHADED )\n        tbnS[0] *= faceDirection;\n        tbnS[1] *= faceDirection;\n    #endif\n    surfaceNormal = normalize( tbnS * surfaceMapNormal );\n#endif\n        "},{name:"surface_normalmap_pars_fragment",src:"\n#ifdef USE_SURFACE_NORMAL_MAP\n    uniform sampler2D surfaceNormalMap;\n    uniform vec2 surfaceNormalScale;\n    uniform int normalMapBlending;\n#endif\n        "},{name:"normal_uv_pars_vertex",src:"\n#if defined ( USE_NORMAL_UV )\n    attribute vec2 surfaceNormalUV;\n    varying vec2 vSurfaceNormalUV;\n    uniform mat3 surfaceNormalUVTransform;\n#endif\n        "},{name:"normal_uv_pars_fragment",src:"\n#if defined ( USE_NORMAL_UV )\n    varying vec2 vSurfaceNormalUV;\n#endif\n        "},{name:"normal_uv_vertex",src:"\n#if defined ( USE_NORMAL_UV )\n    vSurfaceNormalUV = ( surfaceNormalUVTransform * vec3( surfaceNormalUV, 1 ) ).xy;\n#endif\n        "},{name:"normal_fragment_end",src:"\n            #if defined ( USE_SURFACE_NORMAL_MAP ) && defined ( USE_NORMAL_UV )\n                #if defined ( USE_BUMPMAP ) || defined ( USE_NORMALMAP )\n                    if ( normalMapBlending == 1 ) {\n                        normal = blend_overlay(surfaceNormal, normal);\n                    } else if ( normalMapBlending == 2 ) {\n                        normal = NormalBlend_UnpackedRNM(surfaceNormal, normal);\t\n                    } else if ( normalMapBlending == 3 ) {\n                        normal = blend_unity(surfaceNormal, normal);\t\n                    } else if ( normalMapBlending == 4 ) {\n                        normal = blend_udn(surfaceNormal, normal);\t\n                    } else if ( normalMapBlending == 5 ) {\n                        normal = blend_whiteout(surfaceNormal, normal);\t\n                    } else if ( normalMapBlending == 6 ) {\n                        normal = blend_pd(surfaceNormal, normal);\t\n                    } else {\n                        normal = blend_linear(surfaceNormal, normal);\n                    }\t\t\t        \t\n                #else \n                    normal = surfaceNormal; \n                #endif\n            #endif\n        "},{name:"normal_fragment_begin",src:"\n            float faceDirection = gl_FrontFacing ? 1.0 : - 1.0;\n    \n            #ifdef FLAT_SHADED\n            \n                vec3 fdx = dFdx( vViewPosition );\n                vec3 fdy = dFdy( vViewPosition );\n                vec3 normal = normalize( cross( fdx, fdy ) );\n            \n            #else\n            \n                vec3 normal = normalize( vNormal );\n            \n                #ifdef DOUBLE_SIDED\n            \n                    normal *= faceDirection;\n            \n                #endif\n            \n            #endif\n            \n            #if defined( USE_NORMALMAP_TANGENTSPACE ) || defined( USE_CLEARCOAT_NORMALMAP ) || defined( USE_ANISOTROPY )\n            \n                #ifdef USE_TANGENT\n            \n                    mat3 tbn = mat3( normalize( vTangent ), normalize( vBitangent ), normal );\n            \n                #else\n            \n                    mat3 tbn = getTangentFrame( - vViewPosition, normal,\n                    #if defined( USE_NORMALMAP )\n                        vNormalMapUv\n                    #elif defined( USE_CLEARCOAT_NORMALMAP )\n                        vClearcoatNormalMapUv\n                    #else\n                        vUv\n                    #endif\n                    );\n            \n                #endif\n            \n                #if defined( DOUBLE_SIDED ) && ! defined( FLAT_SHADED )\n            \n                    tbn[0] *= faceDirection;\n                    tbn[1] *= faceDirection;\n            \n                #endif\n            \n            #endif\n            \n            #ifdef USE_CLEARCOAT_NORMALMAP\n            \n                #ifdef USE_TANGENT\n            \n                    mat3 tbn2 = mat3( normalize( vTangent ), normalize( vBitangent ), normal );\n            \n                #else\n            \n                    mat3 tbn2 = getTangentFrame( - vViewPosition, normal, vClearcoatNormalMapUv );\n            \n                #endif\n            \n                #if defined( DOUBLE_SIDED ) && ! defined( FLAT_SHADED )\n            \n                    tbn2[0] *= faceDirection;\n                    tbn2[1] *= faceDirection;\n            \n                #endif\n            \n            #endif\n            \n            // non perturbed normal for clearcoat among others\n            \n            vec3 nonPerturbedNormal = normal;\n        "},{name:"normal_fragment_maps",rules:[{find:/(#elif defined\( USE_NORMALMAP_TANGENTSPACE \))/,replace:"$1 && defined( USE_NORMALMAP )"}]}],Au=[{name:"mirror_vertex",src:"\n            #ifdef USE_MIRROR\n                vMirrorUv = mirrorMatrix * vec4( position, 1.0 );\n            #endif\n        "},{name:"mirror_fragment",src:"\n            #ifdef USE_MIRROR\n                if(fMirrorIntensity > 0.0)\n                {\n                    vec4 mirrorColor = vec4(0.0);\n                    \n                    mirrorColor = texture2DProj( mirrorMap, vMirrorUv );\n                    \n                    if (iMirrorMode == 1)\n                    {\n                        diffuseColor = mirrorColor;\n                    }\n                    else\n                    {\n                        diffuseColor = mix(diffuseColor, vec4(mix(diffuseColor.rgb, mirrorColor.rgb, mirrorColor.a), 1.0), fMirrorIntensity);\n                    }\n                }\n            #endif\n        "},{name:"mirror_pars_vertex",src:"\n            #ifdef USE_MIRROR\n                uniform mat4 mirrorMatrix;\n                varying vec4 vMirrorUv;\n            #endif\n        "},{name:"mirror_pars_fragment",src:"\n            #ifdef USE_MIRROR\n                uniform sampler2D mirrorMap;\n                uniform int iMirrorMode;\n                uniform float fMirrorIntensity;\n                varying vec4 vMirrorUv;\n            #endif\n        "}],Cu=[{name:"meshground",src:{vertex:"\n            #define STANDARD\n            #define GROUND\n            \n            varying vec3 vViewPosition;\n            \n            #ifdef USE_TRANSMISSION\n            \n                varying vec3 vWorldPosition;\n            \n            #endif\n            \n            #include <common>\n            #include <batching_pars_vertex>\n            #include <uv_pars_vertex>\n            #include <uv2_pars_vertex>\n            #include <normal_uv_pars_vertex>\n            #include <displacementmap_pars_vertex>\n            #include <color_pars_vertex>\n            #include <fog_pars_vertex>\n            #include <normal_pars_vertex>\n            #include <morphtarget_pars_vertex>\n            #include <skinning_pars_vertex>\n            #include <shadowmap_pars_vertex>\n            #include <logdepthbuf_pars_vertex>\n            #include <clipping_planes_pars_vertex>\n            #include <mirror_pars_vertex>\n            #include <contact_shadow_pars_vertex>\n            \n            void main() {\n            \n                #include <uv_vertex>\n                #include <uv2_vertex>\n                #include <normal_uv_vertex>\n                #include <color_vertex>\n                #include <mirror_vertex>\n                #include <contact_shadow_vertex>\n                #include <batching_vertex>\n            \n                #include <beginnormal_vertex>\n                #include <morphnormal_vertex>\n                #include <skinbase_vertex>\n                #include <skinnormal_vertex>\n                #include <defaultnormal_vertex>\n                #include <normal_vertex>\n            \n                #include <begin_vertex>\n                #include <morphtarget_vertex>\n                #include <skinning_vertex>\n                #include <displacementmap_vertex>\n                #include <project_vertex>\n                #include <logdepthbuf_vertex>\n                #include <clipping_planes_vertex>\n            \n                vViewPosition = - mvPosition.xyz;\n            \n                #include <worldpos_vertex>\n                #include <shadowmap_vertex>\n                #include <fog_vertex>\n            \n            #ifdef USE_TRANSMISSION\n            \n                vWorldPosition = worldPosition.xyz;\n            \n            #endif\n            }\n        ",fragment:"#define STANDARD\n                #define GROUND\n                \n                #ifdef PHYSICAL\n                    #define IOR\n                    #define SPECULAR\n                #endif\n                uniform vec3 diffuse;\n                uniform vec3 emissive;\n                uniform float roughness;\n                uniform float metalness;\n                uniform float opacity;\n                \n                #ifdef IOR\n                    uniform float ior;\n                #endif\n                \n                #ifdef SPECULAR\n                    uniform float specularIntensity;\n                    uniform vec3 specularColor;\n                \n                    #ifdef USE_SPECULARINTENSITYMAP\n                        uniform sampler2D specularIntensityMap;\n                    #endif\n                \n                    #ifdef USE_SPECULARCOLORMAP\n                        uniform sampler2D specularColorMap;\n                    #endif\n                #endif\n                \n                #ifdef USE_CLEARCOAT\n                    uniform float clearcoat;\n                    uniform float clearcoatRoughness;\n                #endif\n                \n                #ifdef USE_SHEEN\n                    uniform vec3 sheenColor;\n                    uniform float sheenRoughness;\n                \n                    #ifdef USE_SHEENCOLORMAP\n                        uniform sampler2D sheenColorMap;\n                    #endif\n                \n                    #ifdef USE_SHEENROUGHNESSMAP\n                        uniform sampler2D sheenRoughnessMap;\n                    #endif\n                #endif\n                \n                varying vec3 vViewPosition;\n                \n                #include <common>\n                #include <packing>\n                #include <dithering_pars_fragment>\n                #include <color_pars_fragment>\n                #include <uv_pars_fragment>\n                #include <uv2_pars_fragment>\n                #include <normal_uv_pars_fragment>\n                #include <map_pars_fragment>\n                #include <alphamap_pars_fragment>\n                #include <alphatest_pars_fragment>\n                #include <aomap_pars_fragment>\n                #include <lightmap_pars_fragment>\n                #include <emissivemap_pars_fragment>\n                #include <bsdfs>\n                #include <cube_uv_reflection_fragment>\n                #include <envmap_common_pars_fragment>\n                #include <envmap_physical_pars_fragment>\n                #include <fog_pars_fragment>\n                #include <lights_pars_begin>\n                #include <normal_pars_fragment>\n                #include <lights_physical_pars_fragment>\n                #include <transmission_pars_fragment>\n                #include <shadowmap_pars_fragment>\n                #include <bumpmap_pars_fragment>\n                #include <normalmap_pars_fragment>\n                #include <surface_normalmap_pars_fragment>\n                #include <clearcoat_pars_fragment>\n                #include <roughnessmap_pars_fragment>\n                #include <metalnessmap_pars_fragment>\n                #include <logdepthbuf_pars_fragment>\n                #include <clipping_planes_pars_fragment>\n                #include <blending>\n                #include <blur>\n                #include <mirror_pars_fragment>\n                #include <contact_shadow_pars_fragment>\n                \n                void main() {\n                \n                    #include <clipping_planes_fragment>\n                \n                    vec4 diffuseColor = vec4( diffuse, opacity );\n                    ReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n                    vec3 totalEmissiveRadiance = emissive;\n                \n                    #include <logdepthbuf_fragment>\n                    #include <map_fragment>\n                    #include <mirror_fragment>\n                    #include <contact_shadow_fragment>\n                    #include <color_fragment>\n                    #include <alphamap_fragment>\n                    #include <alphatest_fragment>\n                    #include <roughnessmap_fragment>\n                    #include <metalnessmap_fragment>\n                    #include <normal_fragment_begin>\n                    #include <normal_fragment_maps>\n                    #include <surface_normal_fragment_maps>\n                    #include <normal_fragment_end>\n                    #include <clearcoat_normal_fragment_begin>\n                    #include <clearcoat_normal_fragment_maps>\n                    #include <emissivemap_fragment>\n                \n                    // accumulation\n                    #include <lights_physical_fragment>\n                    #include <lights_fragment_begin>\n                    #include <lights_fragment_maps>\n                    #include <lights_fragment_end>\n                \n                    // modulation\n                    #include <aomap_fragment>\n                \n                    vec3 totalDiffuse = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse;\n                    vec3 totalSpecular = reflectedLight.directSpecular + reflectedLight.indirectSpecular;\n                \n                    #include <transmission_fragment>\n                \n                    vec3 outgoingLight = totalDiffuse + totalSpecular + totalEmissiveRadiance;\n                \n                    #ifdef USE_CLEARCOAT\n                \n                        float dotNVcc = saturate( dot( geometryClearcoatNormal, geometryViewDir ) );\n                \n                        vec3 Fcc = F_Schlick( material.clearcoatF0, material.clearcoatF90, dotNVcc );\n                \n                        outgoingLight = outgoingLight * ( 1.0 - clearcoat * Fcc ) + clearcoatSpecular * clearcoat;\n                \n                    #endif\n                \n                    #include <opaque_fragment>\n                    #include <tonemapping_fragment>\n                    #include <colorspace_fragment>\n                    #include <fog_fragment>\n                    #include <premultiplied_alpha_fragment>\n                    #include <dithering_fragment>\n                }\n            "}}],Eu=[{name:"meshphysical_vert",rules:[{find:/(#include <uv_pars_vertex>)/,replace:"$1\n                    #include <uv2_pars_vertex>\n                    #include <normal_uv_pars_vertex>\n                "},{find:/(#include <clipping_planes_pars_vertex>)/,replace:"$1\n                    #include <mirror_pars_vertex>\n                "},{find:/(#include <uv_vertex>)/,replace:"$1\n                    #include <uv2_vertex>\n                    #include <normal_uv_vertex>\n                "}]},{name:"meshphysical_frag",rules:[{find:/(#include <uv_pars_fragment>)/,replace:"$1\n                    #include <uv2_pars_fragment>\n                    #include <normal_uv_pars_fragment>\n                "},{find:/(#include <normalmap_pars_fragment>)/,replace:"$1\n                    #include <surface_normalmap_pars_fragment>\n                "},{find:/(#include <clipping_planes_pars_fragment>)/,replace:"$1\n                    #include <blending>\n                    #include <blur>\n                    #include <mirror_pars_fragment>\n                    #include <contact_shadow_pars_fragment>\n                "},{find:/(#include <map_fragment>)/,replace:"$1\n                    #include <mirror_fragment>\n                "},{find:/(#include <normal_fragment_maps>)/,replace:"$1\n                    #include <surface_normal_fragment_maps>\n                    #include <normal_fragment_end>\n                "}]}],Iu=[{name:"meshphong_vert",rules:[{find:/(#include <uv_pars_vertex>)/,replace:"$1\n                    #include <uv2_pars_vertex>\n                "},{find:/(#include <uv_vertex>)/,replace:"$1\n                \t#include <uv2_vertex>\n                "}]},{name:"meshphong_frag",rules:[{find:/(#include <uv_pars_fragment>)/,replace:"$1\n                    #include <uv2_pars_fragment>\n                "},{find:/(#include <normalmap_pars_fragment>)/,replace:"$1\n                    #include <surface_normalmap_pars_fragment>\n                "},{find:/(#include <normal_fragment_maps>)/,replace:"$1\n                    #include <surface_normal_fragment_maps>\n                    #include <normal_fragment_end>\n                "}]}],Mu=[{name:"meshmatcap_vert",rules:[]},{name:"meshmatcap_frag",rules:[{find:/(#include <normalmap_pars_fragment>)/,replace:"$1\n                    #include <surface_normalmap_pars_fragment>\n                "},{find:/(#include <normal_fragment_maps>)/,replace:"$1\n                    #include <surface_normal_fragment_maps>\n                    #include <normal_fragment_end>\n                "}]}],ku=[{name:"meshnormal_frag",rules:[{find:/(#include <normalmap_pars_fragment>)/,replace:"$1\n                    #include <surface_normalmap_pars_fragment>\n                "},{find:/(#include <normal_fragment_maps>)/,replace:"$1\n                    #include <surface_normal_fragment_maps>\n                    #include <normal_fragment_end>\n                "}]}],Tu=[{name:"meshtoon_vert",rules:[{find:/(#include <uv_pars_vertex>)/,replace:"$1\n                    #include <uv2_pars_vertex>\n                "},{find:/(#include <uv_vertex>)/,replace:"$1\n                    #include <uv2_vertex>\n                "}]},{name:"meshtoon_frag",rules:[{find:/(#include <uv_pars_fragment>)/,replace:"$1\n                    #include <uv2_pars_fragment>\n                "},{find:/(#include <normalmap_pars_fragment>)/,replace:"$1\n                    #include <surface_normalmap_pars_fragment>\n                "},{find:/(#include <normal_fragment_maps>)/,replace:"$1\n                    #include <surface_normal_fragment_maps>\n                    #include <normal_fragment_end>\n                "}]}],Ru=[{name:"contact_shadow_vertex",src:"\n            #ifdef USE_CONTACT_SHADOW_MAP\n                #pragma unroll_loop_start\n                for ( int i = 0; i < MAX_CS_CASCADES; i ++ ) {\n                    vContactShadowUv[i] = contactShadowMatrices[i] * vec4( position, 1.0 );\n                }\n                #pragma unroll_loop_end\n            #endif\n        "},{name:"contact_shadow_fragment",src:"\n            #ifdef USE_CONTACT_SHADOW_MAP \n                float alpha = diffuseColor.a;\n                vec4 contactShadowColor = vec4(0.0);\n                vec4 contactShadow = vec4(0.0);\n                #pragma unroll_loop_start\n                for ( int i = 0; i < MAX_CS_CASCADES; i ++ ) {\n                    contactShadow = texture2DProj( contactShadowMapCascade[i], vContactShadowUv[i] );\n                    if(vContactShadowUv[i].x >= 0.0 && vContactShadowUv[i].x <= 1.0 && vContactShadowUv[i].y >= 0.0 && vContactShadowUv[i].y <= 1.0)\n                {\n                        contactShadowColor = contactShadow;\n                }\n                }\n                #pragma unroll_loop_end\n                diffuseColor = vec4(mix(diffuseColor.rgb, contactShadowColor.rgb, contactShadowColor.a), alpha);\n            #endif\n        "},{name:"contact_shadow_pars_vertex",src:"\n            #ifdef USE_CONTACT_SHADOW_MAP\n                uniform mat4 contactShadowMatrices[MAX_CS_CASCADES];\n                varying vec4 vContactShadowUv[MAX_CS_CASCADES];\n            #endif\n        "},{name:"contact_shadow_pars_fragment",src:"\n            #ifdef USE_CONTACT_SHADOW_MAP\n                uniform sampler2D contactShadowMapCascade[MAX_CS_CASCADES];\n                varying vec4 vContactShadowUv[MAX_CS_CASCADES];\n            #endif\n        "}],Lu=[{name:"envmap_physical_pars_fragment",rules:[{find:/(#ifdef ENVMAP_TYPE_CUBE_UV[\n\s\S]+)(#else)/,replace:"\n                    $1\n                    #elif defined( ENVMAP_TYPE_SPHERE )\n                        reflectVec = inverseTransformDirection( reflectVec, viewMatrix );\n            \n                        float specularMIPLevel = getSpecularMIPLevel( roughness );\n            \n                        vec3 reflectView = normalize( ( viewMatrix * vec4( reflectVec, 0.0 ) ).xyz + vec3( 0.0,0.0,1.0 ) );\n            \n                        envMapColor = texture2D( envMap, reflectView.xy * 0.5 + 0.5, specularMIPLevel );\n                        \n                        return envMapColor.rgb * envMapIntensity;\n                    $2\n                "}]},{name:"envmap_pars_fragment",rules:[{find:/(#ifdef ENVMAP_TYPE_CUBE[\n\s\S]+)(#else)/,replace:"\n                    $1\n                    #elif defined( ENVMAP_TYPE_SPHERE )\n                        reflectVec = normalize( reflectVec );\n                \n                        vec3 reflectView = normalize( ( viewMatrix * vec4( reflectVec, 0.0 ) ).xyz + vec3( 0.0, 0.0, 1.0 ) );\n                \n                        vec4 envColor = texture2D( envMap, reflectView.xy * 0.5 + 0.5 );\n                    $2\n                "}]}];let Pu={},Du={};var Nu={HookUniformLib:e=>(Pu=function(e){const t=gu(e,bu);return vu.log("Modified Uniforms",t),t}(e),e),HookShaderChunk:e=>(Du=function(e){const t=Object.keys(e);pu(e,xu),pu(e,Su),pu(e,yu),pu(e,$u),pu(e,Au),pu(e,Lu),pu(e,wu),pu(e,Ru),pu(e,Cu),pu(e,Mu),pu(e,ku),pu(e,Iu),pu(e,Eu),pu(e,Tu);const r=Object.keys(e);return vu.log("New Shaders: ",r.filter(e=>!t.includes(e)).join("\n")),vu.log("Modified ShaderChunk",e),e}(e),e),HookShaderLib:e=>(gu(e.physical.uniforms,Pu.mirrormap),e.ground={uniforms:hu([e.physical.uniforms,Pu.contactshadowmapcascade]),vertexShader:Du.meshground_vert,fragmentShader:Du.meshground_frag},e)};function Fu(){let e=null,t=!1,r=null,n=null;function i(t,o){r(t,o),n=e.requestAnimationFrame(i)}return{start:function(){!0!==t&&null!==r&&(n=e.requestAnimationFrame(i),t=!0)},stop:function(){e.cancelAnimationFrame(n),t=!1},setAnimationLoop:function(e){r=e},setContext:function(t){e=t}}}function Ou(e){const t=new WeakMap;return{get:function(e){return e.isInterleavedBufferAttribute&&(e=e.data),t.get(e)},remove:function(r){r.isInterleavedBufferAttribute&&(r=r.data);const n=t.get(r);n&&(e.deleteBuffer(n.buffer),t.delete(r))},update:function(r,n){if(r.isInterleavedBufferAttribute&&(r=r.data),r.isGLBufferAttribute){const e=t.get(r);return void((!e||e.version<r.version)&&t.set(r,{buffer:r.buffer,type:r.type,bytesPerElement:r.elementSize,version:r.version}))}const i=t.get(r);if(void 0===i)t.set(r,function(t,r){const n=t.array,i=t.usage,o=n.byteLength,s=e.createBuffer();let a;if(e.bindBuffer(r,s),e.bufferData(r,n,i),t.onUploadCallback(),n instanceof Float32Array)a=e.FLOAT;else if("undefined"!=typeof Float16Array&&n instanceof Float16Array)a=e.HALF_FLOAT;else if(n instanceof Uint16Array)a=t.isFloat16BufferAttribute?e.HALF_FLOAT:e.UNSIGNED_SHORT;else if(n instanceof Int16Array)a=e.SHORT;else if(n instanceof Uint32Array)a=e.UNSIGNED_INT;else if(n instanceof Int32Array)a=e.INT;else if(n instanceof Int8Array)a=e.BYTE;else if(n instanceof Uint8Array)a=e.UNSIGNED_BYTE;else{if(!(n instanceof Uint8ClampedArray))throw new Error("THREE.WebGLAttributes: Unsupported buffer data format: "+n);a=e.UNSIGNED_BYTE}return{buffer:s,type:a,bytesPerElement:n.BYTES_PER_ELEMENT,version:t.version,size:o}}(r,n));else if(i.version<r.version){if(i.size!==r.array.byteLength)throw new Error("THREE.WebGLAttributes: The size of the buffer attribute's array buffer does not match the original size. Resizing buffer attributes is not supported.");!function(t,r,n){const i=r.array,o=r.updateRanges;if(e.bindBuffer(n,t),0===o.length)e.bufferSubData(n,0,i);else{o.sort((e,t)=>e.start-t.start);let t=0;for(let e=1;e<o.length;e++){const r=o[t],n=o[e];n.start<=r.start+r.count+1?r.count=Math.max(r.count,n.start+n.count-r.start):(++t,o[t]=n)}o.length=t+1;for(let t=0,r=o.length;t<r;t++){const r=o[t];e.bufferSubData(n,r.start*i.BYTES_PER_ELEMENT,i,r.start,r.count)}r.clearUpdateRanges()}r.onUploadCallback()}(i.buffer,r,n),i.version=r.version}}}}window.PatchHooks=Nu;const Bu={alphahash_fragment:"\n#ifdef USE_ALPHAHASH\n\n\tif ( diffuseColor.a < getAlphaHashThreshold( vPosition ) ) discard;\n\n#endif\n",alphahash_pars_fragment:"\n#ifdef USE_ALPHAHASH\n\n\t/**\n\t * See: https://casual-effects.com/research/Wyman2017Hashed/index.html\n\t */\n\n\tconst float ALPHA_HASH_SCALE = 0.05; // Derived from trials only, and may be changed.\n\n\tfloat hash2D( vec2 value ) {\n\n\t\treturn fract( 1.0e4 * sin( 17.0 * value.x + 0.1 * value.y ) * ( 0.1 + abs( sin( 13.0 * value.y + value.x ) ) ) );\n\n\t}\n\n\tfloat hash3D( vec3 value ) {\n\n\t\treturn hash2D( vec2( hash2D( value.xy ), value.z ) );\n\n\t}\n\n\tfloat getAlphaHashThreshold( vec3 position ) {\n\n\t\t// Find the discretized derivatives of our coordinates\n\t\tfloat maxDeriv = max(\n\t\t\tlength( dFdx( position.xyz ) ),\n\t\t\tlength( dFdy( position.xyz ) )\n\t\t);\n\t\tfloat pixScale = 1.0 / ( ALPHA_HASH_SCALE * maxDeriv );\n\n\t\t// Find two nearest log-discretized noise scales\n\t\tvec2 pixScales = vec2(\n\t\t\texp2( floor( log2( pixScale ) ) ),\n\t\t\texp2( ceil( log2( pixScale ) ) )\n\t\t);\n\n\t\t// Compute alpha thresholds at our two noise scales\n\t\tvec2 alpha = vec2(\n\t\t\thash3D( floor( pixScales.x * position.xyz ) ),\n\t\t\thash3D( floor( pixScales.y * position.xyz ) )\n\t\t);\n\n\t\t// Factor to interpolate lerp with\n\t\tfloat lerpFactor = fract( log2( pixScale ) );\n\n\t\t// Interpolate alpha threshold from noise at two scales\n\t\tfloat x = ( 1.0 - lerpFactor ) * alpha.x + lerpFactor * alpha.y;\n\n\t\t// Pass into CDF to compute uniformly distrib threshold\n\t\tfloat a = min( lerpFactor, 1.0 - lerpFactor );\n\t\tvec3 cases = vec3(\n\t\t\tx * x / ( 2.0 * a * ( 1.0 - a ) ),\n\t\t\t( x - 0.5 * a ) / ( 1.0 - a ),\n\t\t\t1.0 - ( ( 1.0 - x ) * ( 1.0 - x ) / ( 2.0 * a * ( 1.0 - a ) ) )\n\t\t);\n\n\t\t// Find our final, uniformly distributed alpha threshold (ατ)\n\t\tfloat threshold = ( x < ( 1.0 - a ) )\n\t\t\t? ( ( x < a ) ? cases.x : cases.y )\n\t\t\t: cases.z;\n\n\t\t// Avoids ατ == 0. Could also do ατ =1-ατ\n\t\treturn clamp( threshold , 1.0e-6, 1.0 );\n\n\t}\n\n#endif\n",alphamap_fragment:"\n#ifdef USE_ALPHAMAP\n\n\tdiffuseColor.a *= texture2D( alphaMap, vAlphaMapUv ).g;\n\n#endif\n",alphamap_pars_fragment:"\n#ifdef USE_ALPHAMAP\n\n\tuniform sampler2D alphaMap;\n\n#endif\n",alphatest_fragment:"\n#ifdef USE_ALPHATEST\n\n\t#ifdef ALPHA_TO_COVERAGE\n\n\tdiffuseColor.a = smoothstep( alphaTest, alphaTest + fwidth( diffuseColor.a ), diffuseColor.a );\n\tif ( diffuseColor.a == 0.0 ) discard;\n\n\t#else\n\n\tif ( diffuseColor.a < alphaTest ) discard;\n\n\t#endif\n\n#endif\n",alphatest_pars_fragment:"\n#ifdef USE_ALPHATEST\n\tuniform float alphaTest;\n#endif\n",aomap_fragment:"\n#ifdef USE_AOMAP\n\n\t// reads channel R, compatible with a combined OcclusionRoughnessMetallic (RGB) texture\n\tfloat ambientOcclusion = ( texture2D( aoMap, vAoMapUv ).r - 1.0 ) * aoMapIntensity + 1.0;\n\n\treflectedLight.indirectDiffuse *= ambientOcclusion;\n\n\t#if defined( USE_CLEARCOAT ) \n\t\tclearcoatSpecularIndirect *= ambientOcclusion;\n\t#endif\n\n\t#if defined( USE_SHEEN ) \n\t\tsheenSpecularIndirect *= ambientOcclusion;\n\t#endif\n\n\t#if defined( USE_ENVMAP ) && defined( STANDARD )\n\n\t\tfloat dotNV = saturate( dot( geometryNormal, geometryViewDir ) );\n\n\t\treflectedLight.indirectSpecular *= computeSpecularOcclusion( dotNV, ambientOcclusion, material.roughness );\n\n\t#endif\n\n#endif\n",aomap_pars_fragment:"\n#ifdef USE_AOMAP\n\n\tuniform sampler2D aoMap;\n\tuniform float aoMapIntensity;\n\n#endif\n",batching_pars_vertex:"\n#ifdef USE_BATCHING\n\t#if ! defined( GL_ANGLE_multi_draw )\n\t#define gl_DrawID _gl_DrawID\n\tuniform int _gl_DrawID;\n\t#endif\n\n\tuniform highp sampler2D batchingTexture;\n\tuniform highp usampler2D batchingIdTexture;\n\tmat4 getBatchingMatrix( const in float i ) {\n\n\t\tint size = textureSize( batchingTexture, 0 ).x;\n\t\tint j = int( i ) * 4;\n\t\tint x = j % size;\n\t\tint y = j / size;\n\t\tvec4 v1 = texelFetch( batchingTexture, ivec2( x, y ), 0 );\n\t\tvec4 v2 = texelFetch( batchingTexture, ivec2( x + 1, y ), 0 );\n\t\tvec4 v3 = texelFetch( batchingTexture, ivec2( x + 2, y ), 0 );\n\t\tvec4 v4 = texelFetch( batchingTexture, ivec2( x + 3, y ), 0 );\n\t\treturn mat4( v1, v2, v3, v4 );\n\n\t}\n\n\tfloat getIndirectIndex( const in int i ) {\n\n\t\tint size = textureSize( batchingIdTexture, 0 ).x;\n\t\tint x = i % size;\n\t\tint y = i / size;\n\t\treturn float( texelFetch( batchingIdTexture, ivec2( x, y ), 0 ).r );\n\n\t}\n\n#endif\n\n#ifdef USE_BATCHING_COLOR\n\n\tuniform sampler2D batchingColorTexture;\n\tvec3 getBatchingColor( const in float i ) {\n\n\t\tint size = textureSize( batchingColorTexture, 0 ).x;\n\t\tint j = int( i );\n\t\tint x = j % size;\n\t\tint y = j / size;\n\t\treturn texelFetch( batchingColorTexture, ivec2( x, y ), 0 ).rgb;\n\n\t}\n\n#endif\n",batching_vertex:"\n#ifdef USE_BATCHING\n\tmat4 batchingMatrix = getBatchingMatrix( getIndirectIndex( gl_DrawID ) );\n#endif\n",begin_vertex:"\nvec3 transformed = vec3( position );\n\n#ifdef USE_ALPHAHASH\n\n\tvPosition = vec3( position );\n\n#endif\n",beginnormal_vertex:"\nvec3 objectNormal = vec3( normal );\n\n#ifdef USE_TANGENT\n\n\tvec3 objectTangent = vec3( tangent.xyz );\n\n#endif\n",bsdfs:"\n\nfloat G_BlinnPhong_Implicit( /* const in float dotNL, const in float dotNV */ ) {\n\n\t// geometry term is (n dot l)(n dot v) / 4(n dot l)(n dot v)\n\treturn 0.25;\n\n}\n\nfloat D_BlinnPhong( const in float shininess, const in float dotNH ) {\n\n\treturn RECIPROCAL_PI * ( shininess * 0.5 + 1.0 ) * pow( dotNH, shininess );\n\n}\n\nvec3 BRDF_BlinnPhong( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, const in vec3 specularColor, const in float shininess ) {\n\n\tvec3 halfDir = normalize( lightDir + viewDir );\n\n\tfloat dotNH = saturate( dot( normal, halfDir ) );\n\tfloat dotVH = saturate( dot( viewDir, halfDir ) );\n\n\tvec3 F = F_Schlick( specularColor, 1.0, dotVH );\n\n\tfloat G = G_BlinnPhong_Implicit( /* dotNL, dotNV */ );\n\n\tfloat D = D_BlinnPhong( shininess, dotNH );\n\n\treturn F * ( G * D );\n\n} // validated\n\n",iridescence_fragment:"\n\n#ifdef USE_IRIDESCENCE\n\n\t// XYZ to linear-sRGB color space\n\tconst mat3 XYZ_TO_REC709 = mat3(\n\t\t 3.2404542, -0.9692660,  0.0556434,\n\t\t-1.5371385,  1.8760108, -0.2040259,\n\t\t-0.4985314,  0.0415560,  1.0572252\n\t);\n\n\t// Assume air interface for top\n\t// Note: We don't handle the case fresnel0 == 1\n\tvec3 Fresnel0ToIor( vec3 fresnel0 ) {\n\n\t\tvec3 sqrtF0 = sqrt( fresnel0 );\n\t\treturn ( vec3( 1.0 ) + sqrtF0 ) / ( vec3( 1.0 ) - sqrtF0 );\n\n\t}\n\n\t// Conversion FO/IOR\n\tvec3 IorToFresnel0( vec3 transmittedIor, float incidentIor ) {\n\n\t\treturn pow2( ( transmittedIor - vec3( incidentIor ) ) / ( transmittedIor + vec3( incidentIor ) ) );\n\n\t}\n\n\t// ior is a value between 1.0 and 3.0. 1.0 is air interface\n\tfloat IorToFresnel0( float transmittedIor, float incidentIor ) {\n\n\t\treturn pow2( ( transmittedIor - incidentIor ) / ( transmittedIor + incidentIor ));\n\n\t}\n\n\t// Fresnel equations for dielectric/dielectric interfaces.\n\t// Ref: https://belcour.github.io/blog/research/2017/05/01/brdf-thin-film.html\n\t// Evaluation XYZ sensitivity curves in Fourier space\n\tvec3 evalSensitivity( float OPD, vec3 shift ) {\n\n\t\tfloat phase = 2.0 * PI * OPD * 1.0e-9;\n\t\tvec3 val = vec3( 5.4856e-13, 4.4201e-13, 5.2481e-13 );\n\t\tvec3 pos = vec3( 1.6810e+06, 1.7953e+06, 2.2084e+06 );\n\t\tvec3 var = vec3( 4.3278e+09, 9.3046e+09, 6.6121e+09 );\n\n\t\tvec3 xyz = val * sqrt( 2.0 * PI * var ) * cos( pos * phase + shift ) * exp( - pow2( phase ) * var );\n\t\txyz.x += 9.7470e-14 * sqrt( 2.0 * PI * 4.5282e+09 ) * cos( 2.2399e+06 * phase + shift[ 0 ] ) * exp( - 4.5282e+09 * pow2( phase ) );\n\t\txyz /= 1.0685e-7;\n\n\t\tvec3 rgb = XYZ_TO_REC709 * xyz;\n\t\treturn rgb;\n\n\t}\n\n\tvec3 evalIridescence( float outsideIOR, float eta2, float cosTheta1, float thinFilmThickness, vec3 baseF0 ) {\n\n\t\tvec3 I;\n\n\t\t// Force iridescenceIOR -> outsideIOR when thinFilmThickness -> 0.0\n\t\tfloat iridescenceIOR = mix( outsideIOR, eta2, smoothstep( 0.0, 0.03, thinFilmThickness ) );\n\t\t// Evaluate the cosTheta on the base layer (Snell law)\n\t\tfloat sinTheta2Sq = pow2( outsideIOR / iridescenceIOR ) * ( 1.0 - pow2( cosTheta1 ) );\n\n\t\t// Handle TIR:\n\t\tfloat cosTheta2Sq = 1.0 - sinTheta2Sq;\n\t\tif ( cosTheta2Sq < 0.0 ) {\n\n\t\t\treturn vec3( 1.0 );\n\n\t\t}\n\n\t\tfloat cosTheta2 = sqrt( cosTheta2Sq );\n\n\t\t// First interface\n\t\tfloat R0 = IorToFresnel0( iridescenceIOR, outsideIOR );\n\t\tfloat R12 = F_Schlick( R0, 1.0, cosTheta1 );\n\t\tfloat T121 = 1.0 - R12;\n\t\tfloat phi12 = 0.0;\n\t\tif ( iridescenceIOR < outsideIOR ) phi12 = PI;\n\t\tfloat phi21 = PI - phi12;\n\n\t\t// Second interface\n\t\tvec3 baseIOR = Fresnel0ToIor( clamp( baseF0, 0.0, 0.9999 ) ); // guard against 1.0\n\t\tvec3 R1 = IorToFresnel0( baseIOR, iridescenceIOR );\n\t\tvec3 R23 = F_Schlick( R1, 1.0, cosTheta2 );\n\t\tvec3 phi23 = vec3( 0.0 );\n\t\tif ( baseIOR[ 0 ] < iridescenceIOR ) phi23[ 0 ] = PI;\n\t\tif ( baseIOR[ 1 ] < iridescenceIOR ) phi23[ 1 ] = PI;\n\t\tif ( baseIOR[ 2 ] < iridescenceIOR ) phi23[ 2 ] = PI;\n\n\t\t// Phase shift\n\t\tfloat OPD = 2.0 * iridescenceIOR * thinFilmThickness * cosTheta2;\n\t\tvec3 phi = vec3( phi21 ) + phi23;\n\n\t\t// Compound terms\n\t\tvec3 R123 = clamp( R12 * R23, 1e-5, 0.9999 );\n\t\tvec3 r123 = sqrt( R123 );\n\t\tvec3 Rs = pow2( T121 ) * R23 / ( vec3( 1.0 ) - R123 );\n\n\t\t// Reflectance term for m = 0 (DC term amplitude)\n\t\tvec3 C0 = R12 + Rs;\n\t\tI = C0;\n\n\t\t// Reflectance term for m > 0 (pairs of diracs)\n\t\tvec3 Cm = Rs - T121;\n\t\tfor ( int m = 1; m <= 2; ++ m ) {\n\n\t\t\tCm *= r123;\n\t\t\tvec3 Sm = 2.0 * evalSensitivity( float( m ) * OPD, float( m ) * phi );\n\t\t\tI += Cm * Sm;\n\n\t\t}\n\n\t\t// Since out of gamut colors might be produced, negative color values are clamped to 0.\n\t\treturn max( I, vec3( 0.0 ) );\n\n\t}\n\n#endif\n\n",bumpmap_pars_fragment:"\n#ifdef USE_BUMPMAP\n\n\tuniform sampler2D bumpMap;\n\tuniform float bumpScale;\n\n\t// Bump Mapping Unparametrized Surfaces on the GPU by Morten S. Mikkelsen\n\t// https://mmikk.github.io/papers3d/mm_sfgrad_bump.pdf\n\n\t// Evaluate the derivative of the height w.r.t. screen-space using forward differencing (listing 2)\n\n\tvec2 dHdxy_fwd() {\n\n\t\tvec2 dSTdx = dFdx( vBumpMapUv );\n\t\tvec2 dSTdy = dFdy( vBumpMapUv );\n\n\t\tfloat Hll = bumpScale * texture2D( bumpMap, vBumpMapUv ).x;\n\t\tfloat dBx = bumpScale * texture2D( bumpMap, vBumpMapUv + dSTdx ).x - Hll;\n\t\tfloat dBy = bumpScale * texture2D( bumpMap, vBumpMapUv + dSTdy ).x - Hll;\n\n\t\treturn vec2( dBx, dBy );\n\n\t}\n\n\tvec3 perturbNormalArb( vec3 surf_pos, vec3 surf_norm, vec2 dHdxy, float faceDirection ) {\n\n\t\t// normalize is done to ensure that the bump map looks the same regardless of the texture's scale\n\t\tvec3 vSigmaX = normalize( dFdx( surf_pos.xyz ) );\n\t\tvec3 vSigmaY = normalize( dFdy( surf_pos.xyz ) );\n\t\tvec3 vN = surf_norm; // normalized\n\n\t\tvec3 R1 = cross( vSigmaY, vN );\n\t\tvec3 R2 = cross( vN, vSigmaX );\n\n\t\tfloat fDet = dot( vSigmaX, R1 ) * faceDirection;\n\n\t\tvec3 vGrad = sign( fDet ) * ( dHdxy.x * R1 + dHdxy.y * R2 );\n\t\treturn normalize( abs( fDet ) * surf_norm - vGrad );\n\n\t}\n\n#endif\n",clipping_planes_fragment:"\n#if NUM_CLIPPING_PLANES > 0\n\n\tvec4 plane;\n\n\t#ifdef ALPHA_TO_COVERAGE\n\n\t\tfloat distanceToPlane, distanceGradient;\n\t\tfloat clipOpacity = 1.0;\n\n\t\t#pragma unroll_loop_start\n\t\tfor ( int i = 0; i < UNION_CLIPPING_PLANES; i ++ ) {\n\n\t\t\tplane = clippingPlanes[ i ];\n\t\t\tdistanceToPlane = - dot( vClipPosition, plane.xyz ) + plane.w;\n\t\t\tdistanceGradient = fwidth( distanceToPlane ) / 2.0;\n\t\t\tclipOpacity *= smoothstep( - distanceGradient, distanceGradient, distanceToPlane );\n\n\t\t\tif ( clipOpacity == 0.0 ) discard;\n\n\t\t}\n\t\t#pragma unroll_loop_end\n\n\t\t#if UNION_CLIPPING_PLANES < NUM_CLIPPING_PLANES\n\n\t\t\tfloat unionClipOpacity = 1.0;\n\n\t\t\t#pragma unroll_loop_start\n\t\t\tfor ( int i = UNION_CLIPPING_PLANES; i < NUM_CLIPPING_PLANES; i ++ ) {\n\n\t\t\t\tplane = clippingPlanes[ i ];\n\t\t\t\tdistanceToPlane = - dot( vClipPosition, plane.xyz ) + plane.w;\n\t\t\t\tdistanceGradient = fwidth( distanceToPlane ) / 2.0;\n\t\t\t\tunionClipOpacity *= 1.0 - smoothstep( - distanceGradient, distanceGradient, distanceToPlane );\n\n\t\t\t}\n\t\t\t#pragma unroll_loop_end\n\n\t\t\tclipOpacity *= 1.0 - unionClipOpacity;\n\n\t\t#endif\n\n\t\tdiffuseColor.a *= clipOpacity;\n\n\t\tif ( diffuseColor.a == 0.0 ) discard;\n\n\t#else\n\n\t\t#pragma unroll_loop_start\n\t\tfor ( int i = 0; i < UNION_CLIPPING_PLANES; i ++ ) {\n\n\t\t\tplane = clippingPlanes[ i ];\n\t\t\tif ( dot( vClipPosition, plane.xyz ) > plane.w ) discard;\n\n\t\t}\n\t\t#pragma unroll_loop_end\n\n\t\t#if UNION_CLIPPING_PLANES < NUM_CLIPPING_PLANES\n\n\t\t\tbool clipped = true;\n\n\t\t\t#pragma unroll_loop_start\n\t\t\tfor ( int i = UNION_CLIPPING_PLANES; i < NUM_CLIPPING_PLANES; i ++ ) {\n\n\t\t\t\tplane = clippingPlanes[ i ];\n\t\t\t\tclipped = ( dot( vClipPosition, plane.xyz ) > plane.w ) && clipped;\n\n\t\t\t}\n\t\t\t#pragma unroll_loop_end\n\n\t\t\tif ( clipped ) discard;\n\n\t\t#endif\n\n\t#endif\n\n#endif\n",clipping_planes_pars_fragment:"\n#if NUM_CLIPPING_PLANES > 0\n\n\tvarying vec3 vClipPosition;\n\n\tuniform vec4 clippingPlanes[ NUM_CLIPPING_PLANES ];\n\n#endif\n",clipping_planes_pars_vertex:"\n#if NUM_CLIPPING_PLANES > 0\n\n\tvarying vec3 vClipPosition;\n\n#endif\n",clipping_planes_vertex:"\n#if NUM_CLIPPING_PLANES > 0\n\n\tvClipPosition = - mvPosition.xyz;\n\n#endif\n",color_fragment:"\n#if defined( USE_COLOR_ALPHA )\n\n\tdiffuseColor *= vColor;\n\n#elif defined( USE_COLOR )\n\n\tdiffuseColor.rgb *= vColor;\n\n#endif\n",color_pars_fragment:"\n#if defined( USE_COLOR_ALPHA )\n\n\tvarying vec4 vColor;\n\n#elif defined( USE_COLOR )\n\n\tvarying vec3 vColor;\n\n#endif\n",color_pars_vertex:"\n#if defined( USE_COLOR_ALPHA )\n\n\tvarying vec4 vColor;\n\n#elif defined( USE_COLOR ) || defined( USE_INSTANCING_COLOR ) || defined( USE_BATCHING_COLOR )\n\n\tvarying vec3 vColor;\n\n#endif\n",color_vertex:"\n#if defined( USE_COLOR_ALPHA )\n\n\tvColor = vec4( 1.0 );\n\n#elif defined( USE_COLOR ) || defined( USE_INSTANCING_COLOR ) || defined( USE_BATCHING_COLOR )\n\n\tvColor = vec3( 1.0 );\n\n#endif\n\n#ifdef USE_COLOR\n\n\tvColor *= color;\n\n#endif\n\n#ifdef USE_INSTANCING_COLOR\n\n\tvColor.xyz *= instanceColor.xyz;\n\n#endif\n\n#ifdef USE_BATCHING_COLOR\n\n\tvec3 batchingColor = getBatchingColor( getIndirectIndex( gl_DrawID ) );\n\n\tvColor.xyz *= batchingColor.xyz;\n\n#endif\n",common:"\n#define PI 3.141592653589793\n#define PI2 6.283185307179586\n#define PI_HALF 1.5707963267948966\n#define RECIPROCAL_PI 0.3183098861837907\n#define RECIPROCAL_PI2 0.15915494309189535\n#define EPSILON 1e-6\n\n#ifndef saturate\n// <tonemapping_pars_fragment> may have defined saturate() already\n#define saturate( a ) clamp( a, 0.0, 1.0 )\n#endif\n#define whiteComplement( a ) ( 1.0 - saturate( a ) )\n\nfloat pow2( const in float x ) { return x*x; }\nvec3 pow2( const in vec3 x ) { return x*x; }\nfloat pow3( const in float x ) { return x*x*x; }\nfloat pow4( const in float x ) { float x2 = x*x; return x2*x2; }\nfloat max3( const in vec3 v ) { return max( max( v.x, v.y ), v.z ); }\nfloat average( const in vec3 v ) { return dot( v, vec3( 0.3333333 ) ); }\n\n// expects values in the range of [0,1]x[0,1], returns values in the [0,1] range.\n// do not collapse into a single function per: http://byteblacksmith.com/improvements-to-the-canonical-one-liner-glsl-rand-for-opengl-es-2-0/\nhighp float rand( const in vec2 uv ) {\n\n\tconst highp float a = 12.9898, b = 78.233, c = 43758.5453;\n\thighp float dt = dot( uv.xy, vec2( a,b ) ), sn = mod( dt, PI );\n\n\treturn fract( sin( sn ) * c );\n\n}\n\n#ifdef HIGH_PRECISION\n\tfloat precisionSafeLength( vec3 v ) { return length( v ); }\n#else\n\tfloat precisionSafeLength( vec3 v ) {\n\t\tfloat maxComponent = max3( abs( v ) );\n\t\treturn length( v / maxComponent ) * maxComponent;\n\t}\n#endif\n\nstruct IncidentLight {\n\tvec3 color;\n\tvec3 direction;\n\tbool visible;\n};\n\nstruct ReflectedLight {\n\tvec3 directDiffuse;\n\tvec3 directSpecular;\n\tvec3 indirectDiffuse;\n\tvec3 indirectSpecular;\n};\n\n#ifdef USE_ALPHAHASH\n\n\tvarying vec3 vPosition;\n\n#endif\n\nvec3 transformDirection( in vec3 dir, in mat4 matrix ) {\n\n\treturn normalize( ( matrix * vec4( dir, 0.0 ) ).xyz );\n\n}\n\nvec3 inverseTransformDirection( in vec3 dir, in mat4 matrix ) {\n\n\t// dir can be either a direction vector or a normal vector\n\t// upper-left 3x3 of matrix is assumed to be orthogonal\n\n\treturn normalize( ( vec4( dir, 0.0 ) * matrix ).xyz );\n\n}\n\nmat3 transposeMat3( const in mat3 m ) {\n\n\tmat3 tmp;\n\n\ttmp[ 0 ] = vec3( m[ 0 ].x, m[ 1 ].x, m[ 2 ].x );\n\ttmp[ 1 ] = vec3( m[ 0 ].y, m[ 1 ].y, m[ 2 ].y );\n\ttmp[ 2 ] = vec3( m[ 0 ].z, m[ 1 ].z, m[ 2 ].z );\n\n\treturn tmp;\n\n}\n\nbool isPerspectiveMatrix( mat4 m ) {\n\n\treturn m[ 2 ][ 3 ] == - 1.0;\n\n}\n\nvec2 equirectUv( in vec3 dir ) {\n\n\t// dir is assumed to be unit length\n\n\tfloat u = atan( dir.z, dir.x ) * RECIPROCAL_PI2 + 0.5;\n\n\tfloat v = asin( clamp( dir.y, - 1.0, 1.0 ) ) * RECIPROCAL_PI + 0.5;\n\n\treturn vec2( u, v );\n\n}\n\nvec3 BRDF_Lambert( const in vec3 diffuseColor ) {\n\n\treturn RECIPROCAL_PI * diffuseColor;\n\n} // validated\n\nvec3 F_Schlick( const in vec3 f0, const in float f90, const in float dotVH ) {\n\n\t// Original approximation by Christophe Schlick '94\n\t// float fresnel = pow( 1.0 - dotVH, 5.0 );\n\n\t// Optimized variant (presented by Epic at SIGGRAPH '13)\n\t// https://cdn2.unrealengine.com/Resources/files/2013SiggraphPresentationsNotes-26915738.pdf\n\tfloat fresnel = exp2( ( - 5.55473 * dotVH - 6.98316 ) * dotVH );\n\n\treturn f0 * ( 1.0 - fresnel ) + ( f90 * fresnel );\n\n} // validated\n\nfloat F_Schlick( const in float f0, const in float f90, const in float dotVH ) {\n\n\t// Original approximation by Christophe Schlick '94\n\t// float fresnel = pow( 1.0 - dotVH, 5.0 );\n\n\t// Optimized variant (presented by Epic at SIGGRAPH '13)\n\t// https://cdn2.unrealengine.com/Resources/files/2013SiggraphPresentationsNotes-26915738.pdf\n\tfloat fresnel = exp2( ( - 5.55473 * dotVH - 6.98316 ) * dotVH );\n\n\treturn f0 * ( 1.0 - fresnel ) + ( f90 * fresnel );\n\n} // validated\n",cube_uv_reflection_fragment:"\n#ifdef ENVMAP_TYPE_CUBE_UV\n\n\t#define cubeUV_minMipLevel 4.0\n\t#define cubeUV_minTileSize 16.0\n\n\t// These shader functions convert between the UV coordinates of a single face of\n\t// a cubemap, the 0-5 integer index of a cube face, and the direction vector for\n\t// sampling a textureCube (not generally normalized ).\n\n\tfloat getFace( vec3 direction ) {\n\n\t\tvec3 absDirection = abs( direction );\n\n\t\tfloat face = - 1.0;\n\n\t\tif ( absDirection.x > absDirection.z ) {\n\n\t\t\tif ( absDirection.x > absDirection.y )\n\n\t\t\t\tface = direction.x > 0.0 ? 0.0 : 3.0;\n\n\t\t\telse\n\n\t\t\t\tface = direction.y > 0.0 ? 1.0 : 4.0;\n\n\t\t} else {\n\n\t\t\tif ( absDirection.z > absDirection.y )\n\n\t\t\t\tface = direction.z > 0.0 ? 2.0 : 5.0;\n\n\t\t\telse\n\n\t\t\t\tface = direction.y > 0.0 ? 1.0 : 4.0;\n\n\t\t}\n\n\t\treturn face;\n\n\t}\n\n\t// RH coordinate system; PMREM face-indexing convention\n\tvec2 getUV( vec3 direction, float face ) {\n\n\t\tvec2 uv;\n\n\t\tif ( face == 0.0 ) {\n\n\t\t\tuv = vec2( direction.z, direction.y ) / abs( direction.x ); // pos x\n\n\t\t} else if ( face == 1.0 ) {\n\n\t\t\tuv = vec2( - direction.x, - direction.z ) / abs( direction.y ); // pos y\n\n\t\t} else if ( face == 2.0 ) {\n\n\t\t\tuv = vec2( - direction.x, direction.y ) / abs( direction.z ); // pos z\n\n\t\t} else if ( face == 3.0 ) {\n\n\t\t\tuv = vec2( - direction.z, direction.y ) / abs( direction.x ); // neg x\n\n\t\t} else if ( face == 4.0 ) {\n\n\t\t\tuv = vec2( - direction.x, direction.z ) / abs( direction.y ); // neg y\n\n\t\t} else {\n\n\t\t\tuv = vec2( direction.x, direction.y ) / abs( direction.z ); // neg z\n\n\t\t}\n\n\t\treturn 0.5 * ( uv + 1.0 );\n\n\t}\n\n\tvec3 bilinearCubeUV( sampler2D envMap, vec3 direction, float mipInt ) {\n\n\t\tfloat face = getFace( direction );\n\n\t\tfloat filterInt = max( cubeUV_minMipLevel - mipInt, 0.0 );\n\n\t\tmipInt = max( mipInt, cubeUV_minMipLevel );\n\n\t\tfloat faceSize = exp2( mipInt );\n\n\t\thighp vec2 uv = getUV( direction, face ) * ( faceSize - 2.0 ) + 1.0; // #25071\n\n\t\tif ( face > 2.0 ) {\n\n\t\t\tuv.y += faceSize;\n\n\t\t\tface -= 3.0;\n\n\t\t}\n\n\t\tuv.x += face * faceSize;\n\n\t\tuv.x += filterInt * 3.0 * cubeUV_minTileSize;\n\n\t\tuv.y += 4.0 * ( exp2( CUBEUV_MAX_MIP ) - faceSize );\n\n\t\tuv.x *= CUBEUV_TEXEL_WIDTH;\n\t\tuv.y *= CUBEUV_TEXEL_HEIGHT;\n\n\t\t#ifdef texture2DGradEXT\n\n\t\t\treturn texture2DGradEXT( envMap, uv, vec2( 0.0 ), vec2( 0.0 ) ).rgb; // disable anisotropic filtering\n\n\t\t#else\n\n\t\t\treturn texture2D( envMap, uv ).rgb;\n\n\t\t#endif\n\n\t}\n\n\t// These defines must match with PMREMGenerator\n\n\t#define cubeUV_r0 1.0\n\t#define cubeUV_m0 - 2.0\n\t#define cubeUV_r1 0.8\n\t#define cubeUV_m1 - 1.0\n\t#define cubeUV_r4 0.4\n\t#define cubeUV_m4 2.0\n\t#define cubeUV_r5 0.305\n\t#define cubeUV_m5 3.0\n\t#define cubeUV_r6 0.21\n\t#define cubeUV_m6 4.0\n\n\tfloat roughnessToMip( float roughness ) {\n\n\t\tfloat mip = 0.0;\n\n\t\tif ( roughness >= cubeUV_r1 ) {\n\n\t\t\tmip = ( cubeUV_r0 - roughness ) * ( cubeUV_m1 - cubeUV_m0 ) / ( cubeUV_r0 - cubeUV_r1 ) + cubeUV_m0;\n\n\t\t} else if ( roughness >= cubeUV_r4 ) {\n\n\t\t\tmip = ( cubeUV_r1 - roughness ) * ( cubeUV_m4 - cubeUV_m1 ) / ( cubeUV_r1 - cubeUV_r4 ) + cubeUV_m1;\n\n\t\t} else if ( roughness >= cubeUV_r5 ) {\n\n\t\t\tmip = ( cubeUV_r4 - roughness ) * ( cubeUV_m5 - cubeUV_m4 ) / ( cubeUV_r4 - cubeUV_r5 ) + cubeUV_m4;\n\n\t\t} else if ( roughness >= cubeUV_r6 ) {\n\n\t\t\tmip = ( cubeUV_r5 - roughness ) * ( cubeUV_m6 - cubeUV_m5 ) / ( cubeUV_r5 - cubeUV_r6 ) + cubeUV_m5;\n\n\t\t} else {\n\n\t\t\tmip = - 2.0 * log2( 1.16 * roughness ); // 1.16 = 1.79^0.25\n\t\t}\n\n\t\treturn mip;\n\n\t}\n\n\tvec4 textureCubeUV( sampler2D envMap, vec3 sampleDir, float roughness ) {\n\n\t\tfloat mip = clamp( roughnessToMip( roughness ), cubeUV_m0, CUBEUV_MAX_MIP );\n\n\t\tfloat mipF = fract( mip );\n\n\t\tfloat mipInt = floor( mip );\n\n\t\tvec3 color0 = bilinearCubeUV( envMap, sampleDir, mipInt );\n\n\t\tif ( mipF == 0.0 ) {\n\n\t\t\treturn vec4( color0, 1.0 );\n\n\t\t} else {\n\n\t\t\tvec3 color1 = bilinearCubeUV( envMap, sampleDir, mipInt + 1.0 );\n\n\t\t\treturn vec4( mix( color0, color1, mipF ), 1.0 );\n\n\t\t}\n\n\t}\n\n#endif\n",defaultnormal_vertex:"\n\nvec3 transformedNormal = objectNormal;\n#ifdef USE_TANGENT\n\n\tvec3 transformedTangent = objectTangent;\n\n#endif\n\n#ifdef USE_BATCHING\n\n\t// this is in lieu of a per-instance normal-matrix\n\t// shear transforms in the instance matrix are not supported\n\n\tmat3 bm = mat3( batchingMatrix );\n\ttransformedNormal /= vec3( dot( bm[ 0 ], bm[ 0 ] ), dot( bm[ 1 ], bm[ 1 ] ), dot( bm[ 2 ], bm[ 2 ] ) );\n\ttransformedNormal = bm * transformedNormal;\n\n\t#ifdef USE_TANGENT\n\n\t\ttransformedTangent = bm * transformedTangent;\n\n\t#endif\n\n#endif\n\n#ifdef USE_INSTANCING\n\n\t// this is in lieu of a per-instance normal-matrix\n\t// shear transforms in the instance matrix are not supported\n\n\tmat3 im = mat3( instanceMatrix );\n\ttransformedNormal /= vec3( dot( im[ 0 ], im[ 0 ] ), dot( im[ 1 ], im[ 1 ] ), dot( im[ 2 ], im[ 2 ] ) );\n\ttransformedNormal = im * transformedNormal;\n\n\t#ifdef USE_TANGENT\n\n\t\ttransformedTangent = im * transformedTangent;\n\n\t#endif\n\n#endif\n\ntransformedNormal = normalMatrix * transformedNormal;\n\n#ifdef FLIP_SIDED\n\n\ttransformedNormal = - transformedNormal;\n\n#endif\n\n#ifdef USE_TANGENT\n\n\ttransformedTangent = ( modelViewMatrix * vec4( transformedTangent, 0.0 ) ).xyz;\n\n\t#ifdef FLIP_SIDED\n\n\t\ttransformedTangent = - transformedTangent;\n\n\t#endif\n\n#endif\n",displacementmap_pars_vertex:"\n#ifdef USE_DISPLACEMENTMAP\n\n\tuniform sampler2D displacementMap;\n\tuniform float displacementScale;\n\tuniform float displacementBias;\n\n#endif\n",displacementmap_vertex:"\n#ifdef USE_DISPLACEMENTMAP\n\n\ttransformed += normalize( objectNormal ) * ( texture2D( displacementMap, vDisplacementMapUv ).x * displacementScale + displacementBias );\n\n#endif\n",emissivemap_fragment:"\n#ifdef USE_EMISSIVEMAP\n\n\tvec4 emissiveColor = texture2D( emissiveMap, vEmissiveMapUv );\n\n\t#ifdef DECODE_VIDEO_TEXTURE_EMISSIVE\n\n\t\t// use inline sRGB decode until browsers properly support SRGB8_ALPHA8 with video textures (#26516)\n\n\t\temissiveColor = sRGBTransferEOTF( emissiveColor );\n\n\t#endif\n\n\ttotalEmissiveRadiance *= emissiveColor.rgb;\n\n#endif\n",emissivemap_pars_fragment:"\n#ifdef USE_EMISSIVEMAP\n\n\tuniform sampler2D emissiveMap;\n\n#endif\n",colorspace_fragment:"\ngl_FragColor = linearToOutputTexel( gl_FragColor );\n",colorspace_pars_fragment:"\n\nvec4 LinearTransferOETF( in vec4 value ) {\n\treturn value;\n}\n\nvec4 sRGBTransferEOTF( in vec4 value ) {\n\treturn vec4( mix( pow( value.rgb * 0.9478672986 + vec3( 0.0521327014 ), vec3( 2.4 ) ), value.rgb * 0.0773993808, vec3( lessThanEqual( value.rgb, vec3( 0.04045 ) ) ) ), value.a );\n}\n\nvec4 sRGBTransferOETF( in vec4 value ) {\n\treturn vec4( mix( pow( value.rgb, vec3( 0.41666 ) ) * 1.055 - vec3( 0.055 ), value.rgb * 12.92, vec3( lessThanEqual( value.rgb, vec3( 0.0031308 ) ) ) ), value.a );\n}\n\n",envmap_fragment:"\n#ifdef USE_ENVMAP\n\n\t#ifdef ENV_WORLDPOS\n\n\t\tvec3 cameraToFrag;\n\n\t\tif ( isOrthographic ) {\n\n\t\t\tcameraToFrag = normalize( vec3( - viewMatrix[ 0 ][ 2 ], - viewMatrix[ 1 ][ 2 ], - viewMatrix[ 2 ][ 2 ] ) );\n\n\t\t} else {\n\n\t\t\tcameraToFrag = normalize( vWorldPosition - cameraPosition );\n\n\t\t}\n\n\t\t// Transforming Normal Vectors with the Inverse Transformation\n\t\tvec3 worldNormal = inverseTransformDirection( normal, viewMatrix );\n\n\t\t#ifdef ENVMAP_MODE_REFLECTION\n\n\t\t\tvec3 reflectVec = reflect( cameraToFrag, worldNormal );\n\n\t\t#else\n\n\t\t\tvec3 reflectVec = refract( cameraToFrag, worldNormal, refractionRatio );\n\n\t\t#endif\n\n\t#else\n\n\t\tvec3 reflectVec = vReflect;\n\n\t#endif\n\n\t#ifdef ENVMAP_TYPE_CUBE\n\n\t\tvec4 envColor = textureCube( envMap, envMapRotation * vec3( flipEnvMap * reflectVec.x, reflectVec.yz ) );\n\n\t#else\n\n\t\tvec4 envColor = vec4( 0.0 );\n\n\t#endif\n\n\t#ifdef ENVMAP_BLENDING_MULTIPLY\n\n\t\toutgoingLight = mix( outgoingLight, outgoingLight * envColor.xyz, specularStrength * reflectivity );\n\n\t#elif defined( ENVMAP_BLENDING_MIX )\n\n\t\toutgoingLight = mix( outgoingLight, envColor.xyz, specularStrength * reflectivity );\n\n\t#elif defined( ENVMAP_BLENDING_ADD )\n\n\t\toutgoingLight += envColor.xyz * specularStrength * reflectivity;\n\n\t#endif\n\n#endif\n",envmap_common_pars_fragment:"\n#ifdef USE_ENVMAP\n\n\tuniform float envMapIntensity;\n\tuniform float flipEnvMap;\n\tuniform mat3 envMapRotation;\n\n\t#ifdef ENVMAP_TYPE_CUBE\n\t\tuniform samplerCube envMap;\n\t#else\n\t\tuniform sampler2D envMap;\n\t#endif\n\t\n#endif\n",envmap_pars_fragment:"\n#ifdef USE_ENVMAP\n\n\tuniform float reflectivity;\n\n\t#if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( PHONG ) || defined( LAMBERT )\n\n\t\t#define ENV_WORLDPOS\n\n\t#endif\n\n\t#ifdef ENV_WORLDPOS\n\n\t\tvarying vec3 vWorldPosition;\n\t\tuniform float refractionRatio;\n\t#else\n\t\tvarying vec3 vReflect;\n\t#endif\n\n#endif\n",envmap_pars_vertex:"\n#ifdef USE_ENVMAP\n\n\t#if defined( USE_BUMPMAP ) || defined( USE_NORMALMAP ) || defined( PHONG ) || defined( LAMBERT )\n\n\t\t#define ENV_WORLDPOS\n\n\t#endif\n\n\t#ifdef ENV_WORLDPOS\n\t\t\n\t\tvarying vec3 vWorldPosition;\n\n\t#else\n\n\t\tvarying vec3 vReflect;\n\t\tuniform float refractionRatio;\n\n\t#endif\n\n#endif\n",envmap_physical_pars_fragment:"\n#ifdef USE_ENVMAP\n\n\tvec3 getIBLIrradiance( const in vec3 normal ) {\n\n\t\t#ifdef ENVMAP_TYPE_CUBE_UV\n\n\t\t\tvec3 worldNormal = inverseTransformDirection( normal, viewMatrix );\n\n\t\t\tvec4 envMapColor = textureCubeUV( envMap, envMapRotation * worldNormal, 1.0 );\n\n\t\t\treturn PI * envMapColor.rgb * envMapIntensity;\n\n\t\t#else\n\n\t\t\treturn vec3( 0.0 );\n\n\t\t#endif\n\n\t}\n\n\tvec3 getIBLRadiance( const in vec3 viewDir, const in vec3 normal, const in float roughness ) {\n\n\t\t#ifdef ENVMAP_TYPE_CUBE_UV\n\n\t\t\tvec3 reflectVec = reflect( - viewDir, normal );\n\n\t\t\t// Mixing the reflection with the normal is more accurate and keeps rough objects from gathering light from behind their tangent plane.\n\t\t\treflectVec = normalize( mix( reflectVec, normal, roughness * roughness) );\n\n\t\t\treflectVec = inverseTransformDirection( reflectVec, viewMatrix );\n\n\t\t\tvec4 envMapColor = textureCubeUV( envMap, envMapRotation * reflectVec, roughness );\n\n\t\t\treturn envMapColor.rgb * envMapIntensity;\n\n\t\t#else\n\n\t\t\treturn vec3( 0.0 );\n\n\t\t#endif\n\n\t}\n\n\t#ifdef USE_ANISOTROPY\n\n\t\tvec3 getIBLAnisotropyRadiance( const in vec3 viewDir, const in vec3 normal, const in float roughness, const in vec3 bitangent, const in float anisotropy ) {\n\n\t\t\t#ifdef ENVMAP_TYPE_CUBE_UV\n\n\t\t\t  // https://google.github.io/filament/Filament.md.html#lighting/imagebasedlights/anisotropy\n\t\t\t\tvec3 bentNormal = cross( bitangent, viewDir );\n\t\t\t\tbentNormal = normalize( cross( bentNormal, bitangent ) );\n\t\t\t\tbentNormal = normalize( mix( bentNormal, normal, pow2( pow2( 1.0 - anisotropy * ( 1.0 - roughness ) ) ) ) );\n\n\t\t\t\treturn getIBLRadiance( viewDir, bentNormal, roughness );\n\n\t\t\t#else\n\n\t\t\t\treturn vec3( 0.0 );\n\n\t\t\t#endif\n\n\t\t}\n\n\t#endif\n\n#endif\n",envmap_vertex:"\n#ifdef USE_ENVMAP\n\n\t#ifdef ENV_WORLDPOS\n\n\t\tvWorldPosition = worldPosition.xyz;\n\n\t#else\n\n\t\tvec3 cameraToVertex;\n\n\t\tif ( isOrthographic ) {\n\n\t\t\tcameraToVertex = normalize( vec3( - viewMatrix[ 0 ][ 2 ], - viewMatrix[ 1 ][ 2 ], - viewMatrix[ 2 ][ 2 ] ) );\n\n\t\t} else {\n\n\t\t\tcameraToVertex = normalize( worldPosition.xyz - cameraPosition );\n\n\t\t}\n\n\t\tvec3 worldNormal = inverseTransformDirection( transformedNormal, viewMatrix );\n\n\t\t#ifdef ENVMAP_MODE_REFLECTION\n\n\t\t\tvReflect = reflect( cameraToVertex, worldNormal );\n\n\t\t#else\n\n\t\t\tvReflect = refract( cameraToVertex, worldNormal, refractionRatio );\n\n\t\t#endif\n\n\t#endif\n\n#endif\n",fog_vertex:"\n#ifdef USE_FOG\n\n\tvFogDepth = - mvPosition.z;\n\n#endif\n",fog_pars_vertex:"\n#ifdef USE_FOG\n\n\tvarying float vFogDepth;\n\n#endif\n",fog_fragment:"\n#ifdef USE_FOG\n\n\t#ifdef FOG_EXP2\n\n\t\tfloat fogFactor = 1.0 - exp( - fogDensity * fogDensity * vFogDepth * vFogDepth );\n\n\t#else\n\n\t\tfloat fogFactor = smoothstep( fogNear, fogFar, vFogDepth );\n\n\t#endif\n\n\tgl_FragColor.rgb = mix( gl_FragColor.rgb, fogColor, fogFactor );\n\n#endif\n",fog_pars_fragment:"\n#ifdef USE_FOG\n\n\tuniform vec3 fogColor;\n\tvarying float vFogDepth;\n\n\t#ifdef FOG_EXP2\n\n\t\tuniform float fogDensity;\n\n\t#else\n\n\t\tuniform float fogNear;\n\t\tuniform float fogFar;\n\n\t#endif\n\n#endif\n",gradientmap_pars_fragment:"\n\n#ifdef USE_GRADIENTMAP\n\n\tuniform sampler2D gradientMap;\n\n#endif\n\nvec3 getGradientIrradiance( vec3 normal, vec3 lightDirection ) {\n\n\t// dotNL will be from -1.0 to 1.0\n\tfloat dotNL = dot( normal, lightDirection );\n\tvec2 coord = vec2( dotNL * 0.5 + 0.5, 0.0 );\n\n\t#ifdef USE_GRADIENTMAP\n\n\t\treturn vec3( texture2D( gradientMap, coord ).r );\n\n\t#else\n\n\t\tvec2 fw = fwidth( coord ) * 0.5;\n\t\treturn mix( vec3( 0.7 ), vec3( 1.0 ), smoothstep( 0.7 - fw.x, 0.7 + fw.x, coord.x ) );\n\n\t#endif\n\n}\n",lightmap_pars_fragment:"\n#ifdef USE_LIGHTMAP\n\n\tuniform sampler2D lightMap;\n\tuniform float lightMapIntensity;\n\n#endif\n",lights_lambert_fragment:"\nLambertMaterial material;\nmaterial.diffuseColor = diffuseColor.rgb;\nmaterial.specularStrength = specularStrength;\n",lights_lambert_pars_fragment:"\nvarying vec3 vViewPosition;\n\nstruct LambertMaterial {\n\n\tvec3 diffuseColor;\n\tfloat specularStrength;\n\n};\n\nvoid RE_Direct_Lambert( const in IncidentLight directLight, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in LambertMaterial material, inout ReflectedLight reflectedLight ) {\n\n\tfloat dotNL = saturate( dot( geometryNormal, directLight.direction ) );\n\tvec3 irradiance = dotNL * directLight.color;\n\n\treflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n\n}\n\nvoid RE_IndirectDiffuse_Lambert( const in vec3 irradiance, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in LambertMaterial material, inout ReflectedLight reflectedLight ) {\n\n\treflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n\n}\n\n#define RE_Direct\t\t\t\tRE_Direct_Lambert\n#define RE_IndirectDiffuse\t\tRE_IndirectDiffuse_Lambert\n",lights_pars_begin:"\nuniform bool receiveShadow;\nuniform vec3 ambientLightColor;\n\n#if defined( USE_LIGHT_PROBES )\n\n\tuniform vec3 lightProbe[ 9 ];\n\n#endif\n\n// get the irradiance (radiance convolved with cosine lobe) at the point 'normal' on the unit sphere\n// source: https://graphics.stanford.edu/papers/envmap/envmap.pdf\nvec3 shGetIrradianceAt( in vec3 normal, in vec3 shCoefficients[ 9 ] ) {\n\n\t// normal is assumed to have unit length\n\n\tfloat x = normal.x, y = normal.y, z = normal.z;\n\n\t// band 0\n\tvec3 result = shCoefficients[ 0 ] * 0.886227;\n\n\t// band 1\n\tresult += shCoefficients[ 1 ] * 2.0 * 0.511664 * y;\n\tresult += shCoefficients[ 2 ] * 2.0 * 0.511664 * z;\n\tresult += shCoefficients[ 3 ] * 2.0 * 0.511664 * x;\n\n\t// band 2\n\tresult += shCoefficients[ 4 ] * 2.0 * 0.429043 * x * y;\n\tresult += shCoefficients[ 5 ] * 2.0 * 0.429043 * y * z;\n\tresult += shCoefficients[ 6 ] * ( 0.743125 * z * z - 0.247708 );\n\tresult += shCoefficients[ 7 ] * 2.0 * 0.429043 * x * z;\n\tresult += shCoefficients[ 8 ] * 0.429043 * ( x * x - y * y );\n\n\treturn result;\n\n}\n\nvec3 getLightProbeIrradiance( const in vec3 lightProbe[ 9 ], const in vec3 normal ) {\n\n\tvec3 worldNormal = inverseTransformDirection( normal, viewMatrix );\n\n\tvec3 irradiance = shGetIrradianceAt( worldNormal, lightProbe );\n\n\treturn irradiance;\n\n}\n\nvec3 getAmbientLightIrradiance( const in vec3 ambientLightColor ) {\n\n\tvec3 irradiance = ambientLightColor;\n\n\treturn irradiance;\n\n}\n\nfloat getDistanceAttenuation( const in float lightDistance, const in float cutoffDistance, const in float decayExponent ) {\n\n\t// based upon Frostbite 3 Moving to Physically-based Rendering\n\t// page 32, equation 26: E[window1]\n\t// https://seblagarde.files.wordpress.com/2015/07/course_notes_moving_frostbite_to_pbr_v32.pdf\n\tfloat distanceFalloff = 1.0 / max( pow( lightDistance, decayExponent ), 0.01 );\n\n\tif ( cutoffDistance > 0.0 ) {\n\n\t\tdistanceFalloff *= pow2( saturate( 1.0 - pow4( lightDistance / cutoffDistance ) ) );\n\n\t}\n\n\treturn distanceFalloff;\n\n}\n\nfloat getSpotAttenuation( const in float coneCosine, const in float penumbraCosine, const in float angleCosine ) {\n\n\treturn smoothstep( coneCosine, penumbraCosine, angleCosine );\n\n}\n\n#if NUM_DIR_LIGHTS > 0\n\n\tstruct DirectionalLight {\n\t\tvec3 direction;\n\t\tvec3 color;\n\t};\n\n\tuniform DirectionalLight directionalLights[ NUM_DIR_LIGHTS ];\n\n\tvoid getDirectionalLightInfo( const in DirectionalLight directionalLight, out IncidentLight light ) {\n\n\t\tlight.color = directionalLight.color;\n\t\tlight.direction = directionalLight.direction;\n\t\tlight.visible = true;\n\n\t}\n\n#endif\n\n\n#if NUM_POINT_LIGHTS > 0\n\n\tstruct PointLight {\n\t\tvec3 position;\n\t\tvec3 color;\n\t\tfloat distance;\n\t\tfloat decay;\n\t};\n\n\tuniform PointLight pointLights[ NUM_POINT_LIGHTS ];\n\n\t// light is an out parameter as having it as a return value caused compiler errors on some devices\n\tvoid getPointLightInfo( const in PointLight pointLight, const in vec3 geometryPosition, out IncidentLight light ) {\n\n\t\tvec3 lVector = pointLight.position - geometryPosition;\n\n\t\tlight.direction = normalize( lVector );\n\n\t\tfloat lightDistance = length( lVector );\n\n\t\tlight.color = pointLight.color;\n\t\tlight.color *= getDistanceAttenuation( lightDistance, pointLight.distance, pointLight.decay );\n\t\tlight.visible = ( light.color != vec3( 0.0 ) );\n\n\t}\n\n#endif\n\n\n#if NUM_SPOT_LIGHTS > 0\n\n\tstruct SpotLight {\n\t\tvec3 position;\n\t\tvec3 direction;\n\t\tvec3 color;\n\t\tfloat distance;\n\t\tfloat decay;\n\t\tfloat coneCos;\n\t\tfloat penumbraCos;\n\t};\n\n\tuniform SpotLight spotLights[ NUM_SPOT_LIGHTS ];\n\n\t// light is an out parameter as having it as a return value caused compiler errors on some devices\n\tvoid getSpotLightInfo( const in SpotLight spotLight, const in vec3 geometryPosition, out IncidentLight light ) {\n\n\t\tvec3 lVector = spotLight.position - geometryPosition;\n\n\t\tlight.direction = normalize( lVector );\n\n\t\tfloat angleCos = dot( light.direction, spotLight.direction );\n\n\t\tfloat spotAttenuation = getSpotAttenuation( spotLight.coneCos, spotLight.penumbraCos, angleCos );\n\n\t\tif ( spotAttenuation > 0.0 ) {\n\n\t\t\tfloat lightDistance = length( lVector );\n\n\t\t\tlight.color = spotLight.color * spotAttenuation;\n\t\t\tlight.color *= getDistanceAttenuation( lightDistance, spotLight.distance, spotLight.decay );\n\t\t\tlight.visible = ( light.color != vec3( 0.0 ) );\n\n\t\t} else {\n\n\t\t\tlight.color = vec3( 0.0 );\n\t\t\tlight.visible = false;\n\n\t\t}\n\n\t}\n\n#endif\n\n\n#if NUM_RECT_AREA_LIGHTS > 0\n\n\tstruct RectAreaLight {\n\t\tvec3 color;\n\t\tvec3 position;\n\t\tvec3 halfWidth;\n\t\tvec3 halfHeight;\n\t};\n\n\t// Pre-computed values of LinearTransformedCosine approximation of BRDF\n\t// BRDF approximation Texture is 64x64\n\tuniform sampler2D ltc_1; // RGBA Float\n\tuniform sampler2D ltc_2; // RGBA Float\n\n\tuniform RectAreaLight rectAreaLights[ NUM_RECT_AREA_LIGHTS ];\n\n#endif\n\n\n#if NUM_HEMI_LIGHTS > 0\n\n\tstruct HemisphereLight {\n\t\tvec3 direction;\n\t\tvec3 skyColor;\n\t\tvec3 groundColor;\n\t};\n\n\tuniform HemisphereLight hemisphereLights[ NUM_HEMI_LIGHTS ];\n\n\tvec3 getHemisphereLightIrradiance( const in HemisphereLight hemiLight, const in vec3 normal ) {\n\n\t\tfloat dotNL = dot( normal, hemiLight.direction );\n\t\tfloat hemiDiffuseWeight = 0.5 * dotNL + 0.5;\n\n\t\tvec3 irradiance = mix( hemiLight.groundColor, hemiLight.skyColor, hemiDiffuseWeight );\n\n\t\treturn irradiance;\n\n\t}\n\n#endif\n",lights_toon_fragment:"\nToonMaterial material;\nmaterial.diffuseColor = diffuseColor.rgb;\n",lights_toon_pars_fragment:"\nvarying vec3 vViewPosition;\n\nstruct ToonMaterial {\n\n\tvec3 diffuseColor;\n\n};\n\nvoid RE_Direct_Toon( const in IncidentLight directLight, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in ToonMaterial material, inout ReflectedLight reflectedLight ) {\n\n\tvec3 irradiance = getGradientIrradiance( geometryNormal, directLight.direction ) * directLight.color;\n\n\treflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n\n}\n\nvoid RE_IndirectDiffuse_Toon( const in vec3 irradiance, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in ToonMaterial material, inout ReflectedLight reflectedLight ) {\n\n\treflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n\n}\n\n#define RE_Direct\t\t\t\tRE_Direct_Toon\n#define RE_IndirectDiffuse\t\tRE_IndirectDiffuse_Toon\n",lights_phong_fragment:"\nBlinnPhongMaterial material;\nmaterial.diffuseColor = diffuseColor.rgb;\nmaterial.specularColor = specular;\nmaterial.specularShininess = shininess;\nmaterial.specularStrength = specularStrength;\n",lights_phong_pars_fragment:"\nvarying vec3 vViewPosition;\n\nstruct BlinnPhongMaterial {\n\n\tvec3 diffuseColor;\n\tvec3 specularColor;\n\tfloat specularShininess;\n\tfloat specularStrength;\n\n};\n\nvoid RE_Direct_BlinnPhong( const in IncidentLight directLight, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in BlinnPhongMaterial material, inout ReflectedLight reflectedLight ) {\n\n\tfloat dotNL = saturate( dot( geometryNormal, directLight.direction ) );\n\tvec3 irradiance = dotNL * directLight.color;\n\n\treflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n\n\treflectedLight.directSpecular += irradiance * BRDF_BlinnPhong( directLight.direction, geometryViewDir, geometryNormal, material.specularColor, material.specularShininess ) * material.specularStrength;\n\n}\n\nvoid RE_IndirectDiffuse_BlinnPhong( const in vec3 irradiance, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in BlinnPhongMaterial material, inout ReflectedLight reflectedLight ) {\n\n\treflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n\n}\n\n#define RE_Direct\t\t\t\tRE_Direct_BlinnPhong\n#define RE_IndirectDiffuse\t\tRE_IndirectDiffuse_BlinnPhong\n",lights_physical_fragment:"\nPhysicalMaterial material;\nmaterial.diffuseColor = diffuseColor.rgb * ( 1.0 - metalnessFactor );\n\nvec3 dxy = max( abs( dFdx( nonPerturbedNormal ) ), abs( dFdy( nonPerturbedNormal ) ) );\nfloat geometryRoughness = max( max( dxy.x, dxy.y ), dxy.z );\n\nmaterial.roughness = max( roughnessFactor, 0.0525 );// 0.0525 corresponds to the base mip of a 256 cubemap.\nmaterial.roughness += geometryRoughness;\nmaterial.roughness = min( material.roughness, 1.0 );\n\n#ifdef IOR\n\n\tmaterial.ior = ior;\n\n\t#ifdef USE_SPECULAR\n\n\t\tfloat specularIntensityFactor = specularIntensity;\n\t\tvec3 specularColorFactor = specularColor;\n\n\t\t#ifdef USE_SPECULAR_COLORMAP\n\n\t\t\tspecularColorFactor *= texture2D( specularColorMap, vSpecularColorMapUv ).rgb;\n\n\t\t#endif\n\n\t\t#ifdef USE_SPECULAR_INTENSITYMAP\n\n\t\t\tspecularIntensityFactor *= texture2D( specularIntensityMap, vSpecularIntensityMapUv ).a;\n\n\t\t#endif\n\n\t\tmaterial.specularF90 = mix( specularIntensityFactor, 1.0, metalnessFactor );\n\n\t#else\n\n\t\tfloat specularIntensityFactor = 1.0;\n\t\tvec3 specularColorFactor = vec3( 1.0 );\n\t\tmaterial.specularF90 = 1.0;\n\n\t#endif\n\n\tmaterial.specularColor = mix( min( pow2( ( material.ior - 1.0 ) / ( material.ior + 1.0 ) ) * specularColorFactor, vec3( 1.0 ) ) * specularIntensityFactor, diffuseColor.rgb, metalnessFactor );\n\n#else\n\n\tmaterial.specularColor = mix( vec3( 0.04 ), diffuseColor.rgb, metalnessFactor );\n\tmaterial.specularF90 = 1.0;\n\n#endif\n\n#ifdef USE_CLEARCOAT\n\n\tmaterial.clearcoat = clearcoat;\n\tmaterial.clearcoatRoughness = clearcoatRoughness;\n\tmaterial.clearcoatF0 = vec3( 0.04 );\n\tmaterial.clearcoatF90 = 1.0;\n\n\t#ifdef USE_CLEARCOATMAP\n\n\t\tmaterial.clearcoat *= texture2D( clearcoatMap, vClearcoatMapUv ).x;\n\n\t#endif\n\n\t#ifdef USE_CLEARCOAT_ROUGHNESSMAP\n\n\t\tmaterial.clearcoatRoughness *= texture2D( clearcoatRoughnessMap, vClearcoatRoughnessMapUv ).y;\n\n\t#endif\n\n\tmaterial.clearcoat = saturate( material.clearcoat ); // Burley clearcoat model\n\tmaterial.clearcoatRoughness = max( material.clearcoatRoughness, 0.0525 );\n\tmaterial.clearcoatRoughness += geometryRoughness;\n\tmaterial.clearcoatRoughness = min( material.clearcoatRoughness, 1.0 );\n\n#endif\n\n#ifdef USE_DISPERSION\n\n\tmaterial.dispersion = dispersion;\n\n#endif\n\n#ifdef USE_IRIDESCENCE\n\n\tmaterial.iridescence = iridescence;\n\tmaterial.iridescenceIOR = iridescenceIOR;\n\n\t#ifdef USE_IRIDESCENCEMAP\n\n\t\tmaterial.iridescence *= texture2D( iridescenceMap, vIridescenceMapUv ).r;\n\n\t#endif\n\n\t#ifdef USE_IRIDESCENCE_THICKNESSMAP\n\n\t\tmaterial.iridescenceThickness = (iridescenceThicknessMaximum - iridescenceThicknessMinimum) * texture2D( iridescenceThicknessMap, vIridescenceThicknessMapUv ).g + iridescenceThicknessMinimum;\n\n\t#else\n\n\t\tmaterial.iridescenceThickness = iridescenceThicknessMaximum;\n\n\t#endif\n\n#endif\n\n#ifdef USE_SHEEN\n\n\tmaterial.sheenColor = sheenColor;\n\n\t#ifdef USE_SHEEN_COLORMAP\n\n\t\tmaterial.sheenColor *= texture2D( sheenColorMap, vSheenColorMapUv ).rgb;\n\n\t#endif\n\n\tmaterial.sheenRoughness = clamp( sheenRoughness, 0.07, 1.0 );\n\n\t#ifdef USE_SHEEN_ROUGHNESSMAP\n\n\t\tmaterial.sheenRoughness *= texture2D( sheenRoughnessMap, vSheenRoughnessMapUv ).a;\n\n\t#endif\n\n#endif\n\n#ifdef USE_ANISOTROPY\n\n\t#ifdef USE_ANISOTROPYMAP\n\n\t\tmat2 anisotropyMat = mat2( anisotropyVector.x, anisotropyVector.y, - anisotropyVector.y, anisotropyVector.x );\n\t\tvec3 anisotropyPolar = texture2D( anisotropyMap, vAnisotropyMapUv ).rgb;\n\t\tvec2 anisotropyV = anisotropyMat * normalize( 2.0 * anisotropyPolar.rg - vec2( 1.0 ) ) * anisotropyPolar.b;\n\n\t#else\n\n\t\tvec2 anisotropyV = anisotropyVector;\n\n\t#endif\n\n\tmaterial.anisotropy = length( anisotropyV );\n\n\tif( material.anisotropy == 0.0 ) {\n\t\tanisotropyV = vec2( 1.0, 0.0 );\n\t} else {\n\t\tanisotropyV /= material.anisotropy;\n\t\tmaterial.anisotropy = saturate( material.anisotropy );\n\t}\n\n\t// Roughness along the anisotropy bitangent is the material roughness, while the tangent roughness increases with anisotropy.\n\tmaterial.alphaT = mix( pow2( material.roughness ), 1.0, pow2( material.anisotropy ) );\n\n\tmaterial.anisotropyT = tbn[ 0 ] * anisotropyV.x + tbn[ 1 ] * anisotropyV.y;\n\tmaterial.anisotropyB = tbn[ 1 ] * anisotropyV.x - tbn[ 0 ] * anisotropyV.y;\n\n#endif\n",lights_physical_pars_fragment:'\n\nstruct PhysicalMaterial {\n\n\tvec3 diffuseColor;\n\tfloat roughness;\n\tvec3 specularColor;\n\tfloat specularF90;\n\tfloat dispersion;\n\n\t#ifdef USE_CLEARCOAT\n\t\tfloat clearcoat;\n\t\tfloat clearcoatRoughness;\n\t\tvec3 clearcoatF0;\n\t\tfloat clearcoatF90;\n\t#endif\n\n\t#ifdef USE_IRIDESCENCE\n\t\tfloat iridescence;\n\t\tfloat iridescenceIOR;\n\t\tfloat iridescenceThickness;\n\t\tvec3 iridescenceFresnel;\n\t\tvec3 iridescenceF0;\n\t#endif\n\n\t#ifdef USE_SHEEN\n\t\tvec3 sheenColor;\n\t\tfloat sheenRoughness;\n\t#endif\n\n\t#ifdef IOR\n\t\tfloat ior;\n\t#endif\n\n\t#ifdef USE_TRANSMISSION\n\t\tfloat transmission;\n\t\tfloat transmissionAlpha;\n\t\tfloat thickness;\n\t\tfloat attenuationDistance;\n\t\tvec3 attenuationColor;\n\t#endif\n\n\t#ifdef USE_ANISOTROPY\n\t\tfloat anisotropy;\n\t\tfloat alphaT;\n\t\tvec3 anisotropyT;\n\t\tvec3 anisotropyB;\n\t#endif\n\n};\n\n// temporary\nvec3 clearcoatSpecularDirect = vec3( 0.0 );\nvec3 clearcoatSpecularIndirect = vec3( 0.0 );\nvec3 sheenSpecularDirect = vec3( 0.0 );\nvec3 sheenSpecularIndirect = vec3(0.0 );\n\nvec3 Schlick_to_F0( const in vec3 f, const in float f90, const in float dotVH ) {\n    float x = clamp( 1.0 - dotVH, 0.0, 1.0 );\n    float x2 = x * x;\n    float x5 = clamp( x * x2 * x2, 0.0, 0.9999 );\n\n    return ( f - vec3( f90 ) * x5 ) / ( 1.0 - x5 );\n}\n\n// Moving Frostbite to Physically Based Rendering 3.0 - page 12, listing 2\n// https://seblagarde.files.wordpress.com/2015/07/course_notes_moving_frostbite_to_pbr_v32.pdf\nfloat V_GGX_SmithCorrelated( const in float alpha, const in float dotNL, const in float dotNV ) {\n\n\tfloat a2 = pow2( alpha );\n\n\tfloat gv = dotNL * sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNV ) );\n\tfloat gl = dotNV * sqrt( a2 + ( 1.0 - a2 ) * pow2( dotNL ) );\n\n\treturn 0.5 / max( gv + gl, EPSILON );\n\n}\n\n// Microfacet Models for Refraction through Rough Surfaces - equation (33)\n// http://graphicrants.blogspot.com/2013/08/specular-brdf-reference.html\n// alpha is "roughness squared" in Disney’s reparameterization\nfloat D_GGX( const in float alpha, const in float dotNH ) {\n\n\tfloat a2 = pow2( alpha );\n\n\tfloat denom = pow2( dotNH ) * ( a2 - 1.0 ) + 1.0; // avoid alpha = 0 with dotNH = 1\n\n\treturn RECIPROCAL_PI * a2 / pow2( denom );\n\n}\n\n// https://google.github.io/filament/Filament.md.html#materialsystem/anisotropicmodel/anisotropicspecularbrdf\n#ifdef USE_ANISOTROPY\n\n\tfloat V_GGX_SmithCorrelated_Anisotropic( const in float alphaT, const in float alphaB, const in float dotTV, const in float dotBV, const in float dotTL, const in float dotBL, const in float dotNV, const in float dotNL ) {\n\n\t\tfloat gv = dotNL * length( vec3( alphaT * dotTV, alphaB * dotBV, dotNV ) );\n\t\tfloat gl = dotNV * length( vec3( alphaT * dotTL, alphaB * dotBL, dotNL ) );\n\t\tfloat v = 0.5 / ( gv + gl );\n\n\t\treturn saturate(v);\n\n\t}\n\n\tfloat D_GGX_Anisotropic( const in float alphaT, const in float alphaB, const in float dotNH, const in float dotTH, const in float dotBH ) {\n\n\t\tfloat a2 = alphaT * alphaB;\n\t\thighp vec3 v = vec3( alphaB * dotTH, alphaT * dotBH, a2 * dotNH );\n\t\thighp float v2 = dot( v, v );\n\t\tfloat w2 = a2 / v2;\n\n\t\treturn RECIPROCAL_PI * a2 * pow2 ( w2 );\n\n\t}\n\n#endif\n\n#ifdef USE_CLEARCOAT\n\n\t// GGX Distribution, Schlick Fresnel, GGX_SmithCorrelated Visibility\n\tvec3 BRDF_GGX_Clearcoat( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, const in PhysicalMaterial material) {\n\n\t\tvec3 f0 = material.clearcoatF0;\n\t\tfloat f90 = material.clearcoatF90;\n\t\tfloat roughness = material.clearcoatRoughness;\n\n\t\tfloat alpha = pow2( roughness ); // UE4\'s roughness\n\n\t\tvec3 halfDir = normalize( lightDir + viewDir );\n\n\t\tfloat dotNL = saturate( dot( normal, lightDir ) );\n\t\tfloat dotNV = saturate( dot( normal, viewDir ) );\n\t\tfloat dotNH = saturate( dot( normal, halfDir ) );\n\t\tfloat dotVH = saturate( dot( viewDir, halfDir ) );\n\n\t\tvec3 F = F_Schlick( f0, f90, dotVH );\n\n\t\tfloat V = V_GGX_SmithCorrelated( alpha, dotNL, dotNV );\n\n\t\tfloat D = D_GGX( alpha, dotNH );\n\n\t\treturn F * ( V * D );\n\n\t}\n\n#endif\n\nvec3 BRDF_GGX( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, const in PhysicalMaterial material ) {\n\n\tvec3 f0 = material.specularColor;\n\tfloat f90 = material.specularF90;\n\tfloat roughness = material.roughness;\n\n\tfloat alpha = pow2( roughness ); // UE4\'s roughness\n\n\tvec3 halfDir = normalize( lightDir + viewDir );\n\n\tfloat dotNL = saturate( dot( normal, lightDir ) );\n\tfloat dotNV = saturate( dot( normal, viewDir ) );\n\tfloat dotNH = saturate( dot( normal, halfDir ) );\n\tfloat dotVH = saturate( dot( viewDir, halfDir ) );\n\n\tvec3 F = F_Schlick( f0, f90, dotVH );\n\n\t#ifdef USE_IRIDESCENCE\n\n\t\tF = mix( F, material.iridescenceFresnel, material.iridescence );\n\n\t#endif\n\n\t#ifdef USE_ANISOTROPY\n\n\t\tfloat dotTL = dot( material.anisotropyT, lightDir );\n\t\tfloat dotTV = dot( material.anisotropyT, viewDir );\n\t\tfloat dotTH = dot( material.anisotropyT, halfDir );\n\t\tfloat dotBL = dot( material.anisotropyB, lightDir );\n\t\tfloat dotBV = dot( material.anisotropyB, viewDir );\n\t\tfloat dotBH = dot( material.anisotropyB, halfDir );\n\n\t\tfloat V = V_GGX_SmithCorrelated_Anisotropic( material.alphaT, alpha, dotTV, dotBV, dotTL, dotBL, dotNV, dotNL );\n\n\t\tfloat D = D_GGX_Anisotropic( material.alphaT, alpha, dotNH, dotTH, dotBH );\n\n\t#else\n\n\t\tfloat V = V_GGX_SmithCorrelated( alpha, dotNL, dotNV );\n\n\t\tfloat D = D_GGX( alpha, dotNH );\n\n\t#endif\n\n\treturn F * ( V * D );\n\n}\n\n// Rect Area Light\n\n// Real-Time Polygonal-Light Shading with Linearly Transformed Cosines\n// by Eric Heitz, Jonathan Dupuy, Stephen Hill and David Neubelt\n// code: https://github.com/selfshadow/ltc_code/\n\nvec2 LTC_Uv( const in vec3 N, const in vec3 V, const in float roughness ) {\n\n\tconst float LUT_SIZE = 64.0;\n\tconst float LUT_SCALE = ( LUT_SIZE - 1.0 ) / LUT_SIZE;\n\tconst float LUT_BIAS = 0.5 / LUT_SIZE;\n\n\tfloat dotNV = saturate( dot( N, V ) );\n\n\t// texture parameterized by sqrt( GGX alpha ) and sqrt( 1 - cos( theta ) )\n\tvec2 uv = vec2( roughness, sqrt( 1.0 - dotNV ) );\n\n\tuv = uv * LUT_SCALE + LUT_BIAS;\n\n\treturn uv;\n\n}\n\nfloat LTC_ClippedSphereFormFactor( const in vec3 f ) {\n\n\t// Real-Time Area Lighting: a Journey from Research to Production (p.102)\n\t// An approximation of the form factor of a horizon-clipped rectangle.\n\n\tfloat l = length( f );\n\n\treturn max( ( l * l + f.z ) / ( l + 1.0 ), 0.0 );\n\n}\n\nvec3 LTC_EdgeVectorFormFactor( const in vec3 v1, const in vec3 v2 ) {\n\n\tfloat x = dot( v1, v2 );\n\n\tfloat y = abs( x );\n\n\t// rational polynomial approximation to theta / sin( theta ) / 2PI\n\tfloat a = 0.8543985 + ( 0.4965155 + 0.0145206 * y ) * y;\n\tfloat b = 3.4175940 + ( 4.1616724 + y ) * y;\n\tfloat v = a / b;\n\n\tfloat theta_sintheta = ( x > 0.0 ) ? v : 0.5 * inversesqrt( max( 1.0 - x * x, 1e-7 ) ) - v;\n\n\treturn cross( v1, v2 ) * theta_sintheta;\n\n}\n\nvec3 LTC_Evaluate( const in vec3 N, const in vec3 V, const in vec3 P, const in mat3 mInv, const in vec3 rectCoords[ 4 ] ) {\n\n\t// bail if point is on back side of plane of light\n\t// assumes ccw winding order of light vertices\n\tvec3 v1 = rectCoords[ 1 ] - rectCoords[ 0 ];\n\tvec3 v2 = rectCoords[ 3 ] - rectCoords[ 0 ];\n\tvec3 lightNormal = cross( v1, v2 );\n\n\tif( dot( lightNormal, P - rectCoords[ 0 ] ) < 0.0 ) return vec3( 0.0 );\n\n\t// construct orthonormal basis around N\n\tvec3 T1, T2;\n\tT1 = normalize( V - N * dot( V, N ) );\n\tT2 = - cross( N, T1 ); // negated from paper; possibly due to a different handedness of world coordinate system\n\n\t// compute transform\n\tmat3 mat = mInv * transposeMat3( mat3( T1, T2, N ) );\n\n\t// transform rect\n\tvec3 coords[ 4 ];\n\tcoords[ 0 ] = mat * ( rectCoords[ 0 ] - P );\n\tcoords[ 1 ] = mat * ( rectCoords[ 1 ] - P );\n\tcoords[ 2 ] = mat * ( rectCoords[ 2 ] - P );\n\tcoords[ 3 ] = mat * ( rectCoords[ 3 ] - P );\n\n\t// project rect onto sphere\n\tcoords[ 0 ] = normalize( coords[ 0 ] );\n\tcoords[ 1 ] = normalize( coords[ 1 ] );\n\tcoords[ 2 ] = normalize( coords[ 2 ] );\n\tcoords[ 3 ] = normalize( coords[ 3 ] );\n\n\t// calculate vector form factor\n\tvec3 vectorFormFactor = vec3( 0.0 );\n\tvectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 0 ], coords[ 1 ] );\n\tvectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 1 ], coords[ 2 ] );\n\tvectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 2 ], coords[ 3 ] );\n\tvectorFormFactor += LTC_EdgeVectorFormFactor( coords[ 3 ], coords[ 0 ] );\n\n\t// adjust for horizon clipping\n\tfloat result = LTC_ClippedSphereFormFactor( vectorFormFactor );\n\n/*\n\t// alternate method of adjusting for horizon clipping (see reference)\n\t// refactoring required\n\tfloat len = length( vectorFormFactor );\n\tfloat z = vectorFormFactor.z / len;\n\n\tconst float LUT_SIZE = 64.0;\n\tconst float LUT_SCALE = ( LUT_SIZE - 1.0 ) / LUT_SIZE;\n\tconst float LUT_BIAS = 0.5 / LUT_SIZE;\n\n\t// tabulated horizon-clipped sphere, apparently...\n\tvec2 uv = vec2( z * 0.5 + 0.5, len );\n\tuv = uv * LUT_SCALE + LUT_BIAS;\n\n\tfloat scale = texture2D( ltc_2, uv ).w;\n\n\tfloat result = len * scale;\n*/\n\n\treturn vec3( result );\n\n}\n\n// End Rect Area Light\n\n#if defined( USE_SHEEN )\n\n// https://github.com/google/filament/blob/master/shaders/src/brdf.fs\nfloat D_Charlie( float roughness, float dotNH ) {\n\n\tfloat alpha = pow2( roughness );\n\n\t// Estevez and Kulla 2017, "Production Friendly Microfacet Sheen BRDF"\n\tfloat invAlpha = 1.0 / alpha;\n\tfloat cos2h = dotNH * dotNH;\n\tfloat sin2h = max( 1.0 - cos2h, 0.0078125 ); // 2^(-14/2), so sin2h^2 > 0 in fp16\n\n\treturn ( 2.0 + invAlpha ) * pow( sin2h, invAlpha * 0.5 ) / ( 2.0 * PI );\n\n}\n\n// https://github.com/google/filament/blob/master/shaders/src/brdf.fs\nfloat V_Neubelt( float dotNV, float dotNL ) {\n\n\t// Neubelt and Pettineo 2013, "Crafting a Next-gen Material Pipeline for The Order: 1886"\n\treturn saturate( 1.0 / ( 4.0 * ( dotNL + dotNV - dotNL * dotNV ) ) );\n\n}\n\nvec3 BRDF_Sheen( const in vec3 lightDir, const in vec3 viewDir, const in vec3 normal, vec3 sheenColor, const in float sheenRoughness ) {\n\n\tvec3 halfDir = normalize( lightDir + viewDir );\n\n\tfloat dotNL = saturate( dot( normal, lightDir ) );\n\tfloat dotNV = saturate( dot( normal, viewDir ) );\n\tfloat dotNH = saturate( dot( normal, halfDir ) );\n\n\tfloat D = D_Charlie( sheenRoughness, dotNH );\n\tfloat V = V_Neubelt( dotNV, dotNL );\n\n\treturn sheenColor * ( D * V );\n\n}\n\n#endif\n\n// This is a curve-fit approximation to the "Charlie sheen" BRDF integrated over the hemisphere from\n// Estevez and Kulla 2017, "Production Friendly Microfacet Sheen BRDF". The analysis can be found\n// in the Sheen section of https://drive.google.com/file/d/1T0D1VSyR4AllqIJTQAraEIzjlb5h4FKH/view?usp=sharing\nfloat IBLSheenBRDF( const in vec3 normal, const in vec3 viewDir, const in float roughness ) {\n\n\tfloat dotNV = saturate( dot( normal, viewDir ) );\n\n\tfloat r2 = roughness * roughness;\n\n\tfloat a = roughness < 0.25 ? -339.2 * r2 + 161.4 * roughness - 25.9 : -8.48 * r2 + 14.3 * roughness - 9.95;\n\n\tfloat b = roughness < 0.25 ? 44.0 * r2 - 23.7 * roughness + 3.26 : 1.97 * r2 - 3.27 * roughness + 0.72;\n\n\tfloat DG = exp( a * dotNV + b ) + ( roughness < 0.25 ? 0.0 : 0.1 * ( roughness - 0.25 ) );\n\n\treturn saturate( DG * RECIPROCAL_PI );\n\n}\n\n// Analytical approximation of the DFG LUT, one half of the\n// split-sum approximation used in indirect specular lighting.\n// via \'environmentBRDF\' from "Physically Based Shading on Mobile"\n// https://www.unrealengine.com/blog/physically-based-shading-on-mobile\nvec2 DFGApprox( const in vec3 normal, const in vec3 viewDir, const in float roughness ) {\n\n\tfloat dotNV = saturate( dot( normal, viewDir ) );\n\n\tconst vec4 c0 = vec4( - 1, - 0.0275, - 0.572, 0.022 );\n\n\tconst vec4 c1 = vec4( 1, 0.0425, 1.04, - 0.04 );\n\n\tvec4 r = roughness * c0 + c1;\n\n\tfloat a004 = min( r.x * r.x, exp2( - 9.28 * dotNV ) ) * r.x + r.y;\n\n\tvec2 fab = vec2( - 1.04, 1.04 ) * a004 + r.zw;\n\n\treturn fab;\n\n}\n\nvec3 EnvironmentBRDF( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float roughness ) {\n\n\tvec2 fab = DFGApprox( normal, viewDir, roughness );\n\n\treturn specularColor * fab.x + specularF90 * fab.y;\n\n}\n\n// Fdez-Agüera\'s "Multiple-Scattering Microfacet Model for Real-Time Image Based Lighting"\n// Approximates multiscattering in order to preserve energy.\n// http://www.jcgt.org/published/0008/01/03/\n#ifdef USE_IRIDESCENCE\nvoid computeMultiscatteringIridescence( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float iridescence, const in vec3 iridescenceF0, const in float roughness, inout vec3 singleScatter, inout vec3 multiScatter ) {\n#else\nvoid computeMultiscattering( const in vec3 normal, const in vec3 viewDir, const in vec3 specularColor, const in float specularF90, const in float roughness, inout vec3 singleScatter, inout vec3 multiScatter ) {\n#endif\n\n\tvec2 fab = DFGApprox( normal, viewDir, roughness );\n\n\t#ifdef USE_IRIDESCENCE\n\n\t\tvec3 Fr = mix( specularColor, iridescenceF0, iridescence );\n\n\t#else\n\n\t\tvec3 Fr = specularColor;\n\n\t#endif\n\n\tvec3 FssEss = Fr * fab.x + specularF90 * fab.y;\n\n\tfloat Ess = fab.x + fab.y;\n\tfloat Ems = 1.0 - Ess;\n\n\tvec3 Favg = Fr + ( 1.0 - Fr ) * 0.047619; // 1/21\n\tvec3 Fms = FssEss * Favg / ( 1.0 - Ems * Favg );\n\n\tsingleScatter += FssEss;\n\tmultiScatter += Fms * Ems;\n\n}\n\n#if NUM_RECT_AREA_LIGHTS > 0\n\n\tvoid RE_Direct_RectArea_Physical( const in RectAreaLight rectAreaLight, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {\n\n\t\tvec3 normal = geometryNormal;\n\t\tvec3 viewDir = geometryViewDir;\n\t\tvec3 position = geometryPosition;\n\t\tvec3 lightPos = rectAreaLight.position;\n\t\tvec3 halfWidth = rectAreaLight.halfWidth;\n\t\tvec3 halfHeight = rectAreaLight.halfHeight;\n\t\tvec3 lightColor = rectAreaLight.color;\n\t\tfloat roughness = material.roughness;\n\n\t\tvec3 rectCoords[ 4 ];\n\t\trectCoords[ 0 ] = lightPos + halfWidth - halfHeight; // counterclockwise; light shines in local neg z direction\n\t\trectCoords[ 1 ] = lightPos - halfWidth - halfHeight;\n\t\trectCoords[ 2 ] = lightPos - halfWidth + halfHeight;\n\t\trectCoords[ 3 ] = lightPos + halfWidth + halfHeight;\n\n\t\tvec2 uv = LTC_Uv( normal, viewDir, roughness );\n\n\t\tvec4 t1 = texture2D( ltc_1, uv );\n\t\tvec4 t2 = texture2D( ltc_2, uv );\n\n\t\tmat3 mInv = mat3(\n\t\t\tvec3( t1.x, 0, t1.y ),\n\t\t\tvec3(    0, 1,    0 ),\n\t\t\tvec3( t1.z, 0, t1.w )\n\t\t);\n\n\t\t// LTC Fresnel Approximation by Stephen Hill\n\t\t// http://blog.selfshadow.com/publications/s2016-advances/s2016_ltc_fresnel.pdf\n\t\tvec3 fresnel = ( material.specularColor * t2.x + ( vec3( 1.0 ) - material.specularColor ) * t2.y );\n\n\t\treflectedLight.directSpecular += lightColor * fresnel * LTC_Evaluate( normal, viewDir, position, mInv, rectCoords );\n\n\t\treflectedLight.directDiffuse += lightColor * material.diffuseColor * LTC_Evaluate( normal, viewDir, position, mat3( 1.0 ), rectCoords );\n\n\t}\n\n#endif\n\nvoid RE_Direct_Physical( const in IncidentLight directLight, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {\n\n\tfloat dotNL = saturate( dot( geometryNormal, directLight.direction ) );\n\n\tvec3 irradiance = dotNL * directLight.color;\n\n\t#ifdef USE_CLEARCOAT\n\n\t\tfloat dotNLcc = saturate( dot( geometryClearcoatNormal, directLight.direction ) );\n\n\t\tvec3 ccIrradiance = dotNLcc * directLight.color;\n\n\t\tclearcoatSpecularDirect += ccIrradiance * BRDF_GGX_Clearcoat( directLight.direction, geometryViewDir, geometryClearcoatNormal, material );\n\n\t#endif\n\n\t#ifdef USE_SHEEN\n\n\t\tsheenSpecularDirect += irradiance * BRDF_Sheen( directLight.direction, geometryViewDir, geometryNormal, material.sheenColor, material.sheenRoughness );\n\n\t#endif\n\n\treflectedLight.directSpecular += irradiance * BRDF_GGX( directLight.direction, geometryViewDir, geometryNormal, material );\n\n\treflectedLight.directDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n}\n\nvoid RE_IndirectDiffuse_Physical( const in vec3 irradiance, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in PhysicalMaterial material, inout ReflectedLight reflectedLight ) {\n\n\treflectedLight.indirectDiffuse += irradiance * BRDF_Lambert( material.diffuseColor );\n\n}\n\nvoid RE_IndirectSpecular_Physical( const in vec3 radiance, const in vec3 irradiance, const in vec3 clearcoatRadiance, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, const in PhysicalMaterial material, inout ReflectedLight reflectedLight) {\n\n\t#ifdef USE_CLEARCOAT\n\n\t\tclearcoatSpecularIndirect += clearcoatRadiance * EnvironmentBRDF( geometryClearcoatNormal, geometryViewDir, material.clearcoatF0, material.clearcoatF90, material.clearcoatRoughness );\n\n\t#endif\n\n\t#ifdef USE_SHEEN\n\n\t\tsheenSpecularIndirect += irradiance * material.sheenColor * IBLSheenBRDF( geometryNormal, geometryViewDir, material.sheenRoughness );\n\n\t#endif\n\n\t// Both indirect specular and indirect diffuse light accumulate here\n\n\tvec3 singleScattering = vec3( 0.0 );\n\tvec3 multiScattering = vec3( 0.0 );\n\tvec3 cosineWeightedIrradiance = irradiance * RECIPROCAL_PI;\n\n\t#ifdef USE_IRIDESCENCE\n\n\t\tcomputeMultiscatteringIridescence( geometryNormal, geometryViewDir, material.specularColor, material.specularF90, material.iridescence, material.iridescenceFresnel, material.roughness, singleScattering, multiScattering );\n\n\t#else\n\n\t\tcomputeMultiscattering( geometryNormal, geometryViewDir, material.specularColor, material.specularF90, material.roughness, singleScattering, multiScattering );\n\n\t#endif\n\n\tvec3 totalScattering = singleScattering + multiScattering;\n\tvec3 diffuse = material.diffuseColor * ( 1.0 - max( max( totalScattering.r, totalScattering.g ), totalScattering.b ) );\n\n\treflectedLight.indirectSpecular += radiance * singleScattering;\n\treflectedLight.indirectSpecular += multiScattering * cosineWeightedIrradiance;\n\n\treflectedLight.indirectDiffuse += diffuse * cosineWeightedIrradiance;\n\n}\n\n#define RE_Direct\t\t\t\tRE_Direct_Physical\n#define RE_Direct_RectArea\t\tRE_Direct_RectArea_Physical\n#define RE_IndirectDiffuse\t\tRE_IndirectDiffuse_Physical\n#define RE_IndirectSpecular\t\tRE_IndirectSpecular_Physical\n\n// ref: https://seblagarde.files.wordpress.com/2015/07/course_notes_moving_frostbite_to_pbr_v32.pdf\nfloat computeSpecularOcclusion( const in float dotNV, const in float ambientOcclusion, const in float roughness ) {\n\n\treturn saturate( pow( dotNV + ambientOcclusion, exp2( - 16.0 * roughness - 1.0 ) ) - 1.0 + ambientOcclusion );\n\n}\n',lights_fragment_begin:"\n/**\n * This is a template that can be used to light a material, it uses pluggable\n * RenderEquations (RE)for specific lighting scenarios.\n *\n * Instructions for use:\n * - Ensure that both RE_Direct, RE_IndirectDiffuse and RE_IndirectSpecular are defined\n * - Create a material parameter that is to be passed as the third parameter to your lighting functions.\n *\n * TODO:\n * - Add area light support.\n * - Add sphere light support.\n * - Add diffuse light probe (irradiance cubemap) support.\n */\n\nvec3 geometryPosition = - vViewPosition;\nvec3 geometryNormal = normal;\nvec3 geometryViewDir = ( isOrthographic ) ? vec3( 0, 0, 1 ) : normalize( vViewPosition );\n\nvec3 geometryClearcoatNormal = vec3( 0.0 );\n\n#ifdef USE_CLEARCOAT\n\n\tgeometryClearcoatNormal = clearcoatNormal;\n\n#endif\n\n#ifdef USE_IRIDESCENCE\n\n\tfloat dotNVi = saturate( dot( normal, geometryViewDir ) );\n\n\tif ( material.iridescenceThickness == 0.0 ) {\n\n\t\tmaterial.iridescence = 0.0;\n\n\t} else {\n\n\t\tmaterial.iridescence = saturate( material.iridescence );\n\n\t}\n\n\tif ( material.iridescence > 0.0 ) {\n\n\t\tmaterial.iridescenceFresnel = evalIridescence( 1.0, material.iridescenceIOR, dotNVi, material.iridescenceThickness, material.specularColor );\n\n\t\t// Iridescence F0 approximation\n\t\tmaterial.iridescenceF0 = Schlick_to_F0( material.iridescenceFresnel, 1.0, dotNVi );\n\n\t}\n\n#endif\n\nIncidentLight directLight;\n\n#if ( NUM_POINT_LIGHTS > 0 ) && defined( RE_Direct )\n\n\tPointLight pointLight;\n\t#if defined( USE_SHADOWMAP ) && NUM_POINT_LIGHT_SHADOWS > 0\n\tPointLightShadow pointLightShadow;\n\t#endif\n\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_POINT_LIGHTS; i ++ ) {\n\n\t\tpointLight = pointLights[ i ];\n\n\t\tgetPointLightInfo( pointLight, geometryPosition, directLight );\n\n\t\t#if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_POINT_LIGHT_SHADOWS )\n\t\tpointLightShadow = pointLightShadows[ i ];\n\t\tdirectLight.color *= ( directLight.visible && receiveShadow ) ? getPointShadow( pointShadowMap[ i ], pointLightShadow.shadowMapSize, pointLightShadow.shadowIntensity, pointLightShadow.shadowBias, pointLightShadow.shadowRadius, vPointShadowCoord[ i ], pointLightShadow.shadowCameraNear, pointLightShadow.shadowCameraFar ) : 1.0;\n\t\t#endif\n\n\t\tRE_Direct( directLight, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight );\n\n\t}\n\t#pragma unroll_loop_end\n\n#endif\n\n#if ( NUM_SPOT_LIGHTS > 0 ) && defined( RE_Direct )\n\n\tSpotLight spotLight;\n\tvec4 spotColor;\n\tvec3 spotLightCoord;\n\tbool inSpotLightMap;\n\n\t#if defined( USE_SHADOWMAP ) && NUM_SPOT_LIGHT_SHADOWS > 0\n\tSpotLightShadow spotLightShadow;\n\t#endif\n\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_SPOT_LIGHTS; i ++ ) {\n\n\t\tspotLight = spotLights[ i ];\n\n\t\tgetSpotLightInfo( spotLight, geometryPosition, directLight );\n\n\t\t// spot lights are ordered [shadows with maps, shadows without maps, maps without shadows, none]\n\t\t#if ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS_WITH_MAPS )\n\t\t#define SPOT_LIGHT_MAP_INDEX UNROLLED_LOOP_INDEX\n\t\t#elif ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS )\n\t\t#define SPOT_LIGHT_MAP_INDEX NUM_SPOT_LIGHT_MAPS\n\t\t#else\n\t\t#define SPOT_LIGHT_MAP_INDEX ( UNROLLED_LOOP_INDEX - NUM_SPOT_LIGHT_SHADOWS + NUM_SPOT_LIGHT_SHADOWS_WITH_MAPS )\n\t\t#endif\n\n\t\t#if ( SPOT_LIGHT_MAP_INDEX < NUM_SPOT_LIGHT_MAPS )\n\t\t\tspotLightCoord = vSpotLightCoord[ i ].xyz / vSpotLightCoord[ i ].w;\n\t\t\tinSpotLightMap = all( lessThan( abs( spotLightCoord * 2. - 1. ), vec3( 1.0 ) ) );\n\t\t\tspotColor = texture2D( spotLightMap[ SPOT_LIGHT_MAP_INDEX ], spotLightCoord.xy );\n\t\t\tdirectLight.color = inSpotLightMap ? directLight.color * spotColor.rgb : directLight.color;\n\t\t#endif\n\n\t\t#undef SPOT_LIGHT_MAP_INDEX\n\n\t\t#if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS )\n\t\tspotLightShadow = spotLightShadows[ i ];\n\t\tdirectLight.color *= ( directLight.visible && receiveShadow ) ? getShadow( spotShadowMap[ i ], spotLightShadow.shadowMapSize, spotLightShadow.shadowIntensity, spotLightShadow.shadowBias, spotLightShadow.shadowRadius, vSpotLightCoord[ i ] ) : 1.0;\n\t\t#endif\n\n\t\tRE_Direct( directLight, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight );\n\n\t}\n\t#pragma unroll_loop_end\n\n#endif\n\n#if ( NUM_DIR_LIGHTS > 0 ) && defined( RE_Direct )\n\n\tDirectionalLight directionalLight;\n\t#if defined( USE_SHADOWMAP ) && NUM_DIR_LIGHT_SHADOWS > 0\n\tDirectionalLightShadow directionalLightShadow;\n\t#endif\n\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_DIR_LIGHTS; i ++ ) {\n\n\t\tdirectionalLight = directionalLights[ i ];\n\n\t\tgetDirectionalLightInfo( directionalLight, directLight );\n\n\t\t#if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_DIR_LIGHT_SHADOWS )\n\t\tdirectionalLightShadow = directionalLightShadows[ i ];\n\t\tdirectLight.color *= ( directLight.visible && receiveShadow ) ? getShadow( directionalShadowMap[ i ], directionalLightShadow.shadowMapSize, directionalLightShadow.shadowIntensity, directionalLightShadow.shadowBias, directionalLightShadow.shadowRadius, vDirectionalShadowCoord[ i ] ) : 1.0;\n\t\t#endif\n\n\t\tRE_Direct( directLight, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight );\n\n\t}\n\t#pragma unroll_loop_end\n\n#endif\n\n#if ( NUM_RECT_AREA_LIGHTS > 0 ) && defined( RE_Direct_RectArea )\n\n\tRectAreaLight rectAreaLight;\n\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_RECT_AREA_LIGHTS; i ++ ) {\n\n\t\trectAreaLight = rectAreaLights[ i ];\n\t\tRE_Direct_RectArea( rectAreaLight, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight );\n\n\t}\n\t#pragma unroll_loop_end\n\n#endif\n\n#if defined( RE_IndirectDiffuse )\n\n\tvec3 iblIrradiance = vec3( 0.0 );\n\n\tvec3 irradiance = getAmbientLightIrradiance( ambientLightColor );\n\n\t#if defined( USE_LIGHT_PROBES )\n\n\t\tirradiance += getLightProbeIrradiance( lightProbe, geometryNormal );\n\n\t#endif\n\n\t#if ( NUM_HEMI_LIGHTS > 0 )\n\n\t\t#pragma unroll_loop_start\n\t\tfor ( int i = 0; i < NUM_HEMI_LIGHTS; i ++ ) {\n\n\t\t\tirradiance += getHemisphereLightIrradiance( hemisphereLights[ i ], geometryNormal );\n\n\t\t}\n\t\t#pragma unroll_loop_end\n\n\t#endif\n\n#endif\n\n#if defined( RE_IndirectSpecular )\n\n\tvec3 radiance = vec3( 0.0 );\n\tvec3 clearcoatRadiance = vec3( 0.0 );\n\n#endif\n",lights_fragment_maps:"\n#if defined( RE_IndirectDiffuse )\n\n\t#ifdef USE_LIGHTMAP\n\n\t\tvec4 lightMapTexel = texture2D( lightMap, vLightMapUv );\n\t\tvec3 lightMapIrradiance = lightMapTexel.rgb * lightMapIntensity;\n\n\t\tirradiance += lightMapIrradiance;\n\n\t#endif\n\n\t#if defined( USE_ENVMAP ) && defined( STANDARD ) && defined( ENVMAP_TYPE_CUBE_UV )\n\n\t\tiblIrradiance += getIBLIrradiance( geometryNormal );\n\n\t#endif\n\n#endif\n\n#if defined( USE_ENVMAP ) && defined( RE_IndirectSpecular )\n\n\t#ifdef USE_ANISOTROPY\n\n\t\tradiance += getIBLAnisotropyRadiance( geometryViewDir, geometryNormal, material.roughness, material.anisotropyB, material.anisotropy );\n\n\t#else\n\n\t\tradiance += getIBLRadiance( geometryViewDir, geometryNormal, material.roughness );\n\n\t#endif\n\n\t#ifdef USE_CLEARCOAT\n\n\t\tclearcoatRadiance += getIBLRadiance( geometryViewDir, geometryClearcoatNormal, material.clearcoatRoughness );\n\n\t#endif\n\n#endif\n",lights_fragment_end:"\n#if defined( RE_IndirectDiffuse )\n\n\tRE_IndirectDiffuse( irradiance, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight );\n\n#endif\n\n#if defined( RE_IndirectSpecular )\n\n\tRE_IndirectSpecular( radiance, iblIrradiance, clearcoatRadiance, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight );\n\n#endif\n",logdepthbuf_fragment:"\n#if defined( USE_LOGARITHMIC_DEPTH_BUFFER )\n\n\t// Doing a strict comparison with == 1.0 can cause noise artifacts\n\t// on some platforms. See issue #17623.\n\tgl_FragDepth = vIsPerspective == 0.0 ? gl_FragCoord.z : log2( vFragDepth ) * logDepthBufFC * 0.5;\n\n#endif\n",logdepthbuf_pars_fragment:"\n#if defined( USE_LOGARITHMIC_DEPTH_BUFFER )\n\n\tuniform float logDepthBufFC;\n\tvarying float vFragDepth;\n\tvarying float vIsPerspective;\n\n#endif\n",logdepthbuf_pars_vertex:"\n#ifdef USE_LOGARITHMIC_DEPTH_BUFFER\n\n\tvarying float vFragDepth;\n\tvarying float vIsPerspective;\n\n#endif\n",logdepthbuf_vertex:"\n#ifdef USE_LOGARITHMIC_DEPTH_BUFFER\n\n\tvFragDepth = 1.0 + gl_Position.w;\n\tvIsPerspective = float( isPerspectiveMatrix( projectionMatrix ) );\n\n#endif\n",map_fragment:"\n#ifdef USE_MAP\n\n\tvec4 sampledDiffuseColor = texture2D( map, vMapUv );\n\n\t#ifdef DECODE_VIDEO_TEXTURE\n\n\t\t// use inline sRGB decode until browsers properly support SRGB8_ALPHA8 with video textures (#26516)\n\n\t\tsampledDiffuseColor = sRGBTransferEOTF( sampledDiffuseColor );\n\n\t#endif\n\n\tdiffuseColor *= sampledDiffuseColor;\n\n#endif\n",map_pars_fragment:"\n#ifdef USE_MAP\n\n\tuniform sampler2D map;\n\n#endif\n",map_particle_fragment:"\n#if defined( USE_MAP ) || defined( USE_ALPHAMAP )\n\n\t#if defined( USE_POINTS_UV )\n\n\t\tvec2 uv = vUv;\n\n\t#else\n\n\t\tvec2 uv = ( uvTransform * vec3( gl_PointCoord.x, 1.0 - gl_PointCoord.y, 1 ) ).xy;\n\n\t#endif\n\n#endif\n\n#ifdef USE_MAP\n\n\tdiffuseColor *= texture2D( map, uv );\n\n#endif\n\n#ifdef USE_ALPHAMAP\n\n\tdiffuseColor.a *= texture2D( alphaMap, uv ).g;\n\n#endif\n",map_particle_pars_fragment:"\n#if defined( USE_POINTS_UV )\n\n\tvarying vec2 vUv;\n\n#else\n\n\t#if defined( USE_MAP ) || defined( USE_ALPHAMAP )\n\n\t\tuniform mat3 uvTransform;\n\n\t#endif\n\n#endif\n\n#ifdef USE_MAP\n\n\tuniform sampler2D map;\n\n#endif\n\n#ifdef USE_ALPHAMAP\n\n\tuniform sampler2D alphaMap;\n\n#endif\n",metalnessmap_fragment:"\nfloat metalnessFactor = metalness;\n\n#ifdef USE_METALNESSMAP\n\n\tvec4 texelMetalness = texture2D( metalnessMap, vMetalnessMapUv );\n\n\t// reads channel B, compatible with a combined OcclusionRoughnessMetallic (RGB) texture\n\tmetalnessFactor *= texelMetalness.b;\n\n#endif\n",metalnessmap_pars_fragment:"\n#ifdef USE_METALNESSMAP\n\n\tuniform sampler2D metalnessMap;\n\n#endif\n",morphinstance_vertex:"\n#ifdef USE_INSTANCING_MORPH\n\n\tfloat morphTargetInfluences[ MORPHTARGETS_COUNT ];\n\n\tfloat morphTargetBaseInfluence = texelFetch( morphTexture, ivec2( 0, gl_InstanceID ), 0 ).r;\n\n\tfor ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) {\n\n\t\tmorphTargetInfluences[i] =  texelFetch( morphTexture, ivec2( i + 1, gl_InstanceID ), 0 ).r;\n\n\t}\n#endif\n",morphcolor_vertex:"\n#if defined( USE_MORPHCOLORS )\n\n\t// morphTargetBaseInfluence is set based on BufferGeometry.morphTargetsRelative value:\n\t// When morphTargetsRelative is false, this is set to 1 - sum(influences); this results in normal = sum((target - base) * influence)\n\t// When morphTargetsRelative is true, this is set to 1; as a result, all morph targets are simply added to the base after weighting\n\tvColor *= morphTargetBaseInfluence;\n\n\tfor ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) {\n\n\t\t#if defined( USE_COLOR_ALPHA )\n\n\t\t\tif ( morphTargetInfluences[ i ] != 0.0 ) vColor += getMorph( gl_VertexID, i, 2 ) * morphTargetInfluences[ i ];\n\n\t\t#elif defined( USE_COLOR )\n\n\t\t\tif ( morphTargetInfluences[ i ] != 0.0 ) vColor += getMorph( gl_VertexID, i, 2 ).rgb * morphTargetInfluences[ i ];\n\n\t\t#endif\n\n\t}\n\n#endif\n",morphnormal_vertex:"\n#ifdef USE_MORPHNORMALS\n\n\t// morphTargetBaseInfluence is set based on BufferGeometry.morphTargetsRelative value:\n\t// When morphTargetsRelative is false, this is set to 1 - sum(influences); this results in normal = sum((target - base) * influence)\n\t// When morphTargetsRelative is true, this is set to 1; as a result, all morph targets are simply added to the base after weighting\n\tobjectNormal *= morphTargetBaseInfluence;\n\n\tfor ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) {\n\n\t\tif ( morphTargetInfluences[ i ] != 0.0 ) objectNormal += getMorph( gl_VertexID, i, 1 ).xyz * morphTargetInfluences[ i ];\n\n\t}\n\n#endif\n",morphtarget_pars_vertex:"\n#ifdef USE_MORPHTARGETS\n\n\t#ifndef USE_INSTANCING_MORPH\n\n\t\tuniform float morphTargetBaseInfluence;\n\t\tuniform float morphTargetInfluences[ MORPHTARGETS_COUNT ];\n\n\t#endif\n\n\tuniform sampler2DArray morphTargetsTexture;\n\tuniform ivec2 morphTargetsTextureSize;\n\n\tvec4 getMorph( const in int vertexIndex, const in int morphTargetIndex, const in int offset ) {\n\n\t\tint texelIndex = vertexIndex * MORPHTARGETS_TEXTURE_STRIDE + offset;\n\t\tint y = texelIndex / morphTargetsTextureSize.x;\n\t\tint x = texelIndex - y * morphTargetsTextureSize.x;\n\n\t\tivec3 morphUV = ivec3( x, y, morphTargetIndex );\n\t\treturn texelFetch( morphTargetsTexture, morphUV, 0 );\n\n\t}\n\n#endif\n",morphtarget_vertex:"\n#ifdef USE_MORPHTARGETS\n\n\t// morphTargetBaseInfluence is set based on BufferGeometry.morphTargetsRelative value:\n\t// When morphTargetsRelative is false, this is set to 1 - sum(influences); this results in position = sum((target - base) * influence)\n\t// When morphTargetsRelative is true, this is set to 1; as a result, all morph targets are simply added to the base after weighting\n\ttransformed *= morphTargetBaseInfluence;\n\n\tfor ( int i = 0; i < MORPHTARGETS_COUNT; i ++ ) {\n\n\t\tif ( morphTargetInfluences[ i ] != 0.0 ) transformed += getMorph( gl_VertexID, i, 0 ).xyz * morphTargetInfluences[ i ];\n\n\t}\n\n#endif\n",normal_fragment_begin:"\nfloat faceDirection = gl_FrontFacing ? 1.0 : - 1.0;\n\n#ifdef FLAT_SHADED\n\n\tvec3 fdx = dFdx( vViewPosition );\n\tvec3 fdy = dFdy( vViewPosition );\n\tvec3 normal = normalize( cross( fdx, fdy ) );\n\n#else\n\n\tvec3 normal = normalize( vNormal );\n\n\t#ifdef DOUBLE_SIDED\n\n\t\tnormal *= faceDirection;\n\n\t#endif\n\n#endif\n\n#if defined( USE_NORMALMAP_TANGENTSPACE ) || defined( USE_CLEARCOAT_NORMALMAP ) || defined( USE_ANISOTROPY )\n\n\t#ifdef USE_TANGENT\n\n\t\tmat3 tbn = mat3( normalize( vTangent ), normalize( vBitangent ), normal );\n\n\t#else\n\n\t\tmat3 tbn = getTangentFrame( - vViewPosition, normal,\n\t\t#if defined( USE_NORMALMAP )\n\t\t\tvNormalMapUv\n\t\t#elif defined( USE_CLEARCOAT_NORMALMAP )\n\t\t\tvClearcoatNormalMapUv\n\t\t#else\n\t\t\tvUv\n\t\t#endif\n\t\t);\n\n\t#endif\n\n\t#if defined( DOUBLE_SIDED ) && ! defined( FLAT_SHADED )\n\n\t\ttbn[0] *= faceDirection;\n\t\ttbn[1] *= faceDirection;\n\n\t#endif\n\n#endif\n\n#ifdef USE_CLEARCOAT_NORMALMAP\n\n\t#ifdef USE_TANGENT\n\n\t\tmat3 tbn2 = mat3( normalize( vTangent ), normalize( vBitangent ), normal );\n\n\t#else\n\n\t\tmat3 tbn2 = getTangentFrame( - vViewPosition, normal, vClearcoatNormalMapUv );\n\n\t#endif\n\n\t#if defined( DOUBLE_SIDED ) && ! defined( FLAT_SHADED )\n\n\t\ttbn2[0] *= faceDirection;\n\t\ttbn2[1] *= faceDirection;\n\n\t#endif\n\n#endif\n\n// non perturbed normal for clearcoat among others\n\nvec3 nonPerturbedNormal = normal;\n\n",normal_fragment_maps:"\n\n#ifdef USE_NORMALMAP_OBJECTSPACE\n\n\tnormal = texture2D( normalMap, vNormalMapUv ).xyz * 2.0 - 1.0; // overrides both flatShading and attribute normals\n\n\t#ifdef FLIP_SIDED\n\n\t\tnormal = - normal;\n\n\t#endif\n\n\t#ifdef DOUBLE_SIDED\n\n\t\tnormal = normal * faceDirection;\n\n\t#endif\n\n\tnormal = normalize( normalMatrix * normal );\n\n#elif defined( USE_NORMALMAP_TANGENTSPACE )\n\n\tvec3 mapN = texture2D( normalMap, vNormalMapUv ).xyz * 2.0 - 1.0;\n\tmapN.xy *= normalScale;\n\n\tnormal = normalize( tbn * mapN );\n\n#elif defined( USE_BUMPMAP )\n\n\tnormal = perturbNormalArb( - vViewPosition, normal, dHdxy_fwd(), faceDirection );\n\n#endif\n",normal_pars_fragment:"\n#ifndef FLAT_SHADED\n\n\tvarying vec3 vNormal;\n\n\t#ifdef USE_TANGENT\n\n\t\tvarying vec3 vTangent;\n\t\tvarying vec3 vBitangent;\n\n\t#endif\n\n#endif\n",normal_pars_vertex:"\n#ifndef FLAT_SHADED\n\n\tvarying vec3 vNormal;\n\n\t#ifdef USE_TANGENT\n\n\t\tvarying vec3 vTangent;\n\t\tvarying vec3 vBitangent;\n\n\t#endif\n\n#endif\n",normal_vertex:"\n#ifndef FLAT_SHADED // normal is computed with derivatives when FLAT_SHADED\n\n\tvNormal = normalize( transformedNormal );\n\n\t#ifdef USE_TANGENT\n\n\t\tvTangent = normalize( transformedTangent );\n\t\tvBitangent = normalize( cross( vNormal, vTangent ) * tangent.w );\n\n\t#endif\n\n#endif\n",normalmap_pars_fragment:"\n#ifdef USE_NORMALMAP\n\n\tuniform sampler2D normalMap;\n\tuniform vec2 normalScale;\n\n#endif\n\n#ifdef USE_NORMALMAP_OBJECTSPACE\n\n\tuniform mat3 normalMatrix;\n\n#endif\n\n#if ! defined ( USE_TANGENT ) && ( defined ( USE_NORMALMAP_TANGENTSPACE ) || defined ( USE_CLEARCOAT_NORMALMAP ) || defined( USE_ANISOTROPY ) )\n\n\t// Normal Mapping Without Precomputed Tangents\n\t// http://www.thetenthplanet.de/archives/1180\n\n\tmat3 getTangentFrame( vec3 eye_pos, vec3 surf_norm, vec2 uv ) {\n\n\t\tvec3 q0 = dFdx( eye_pos.xyz );\n\t\tvec3 q1 = dFdy( eye_pos.xyz );\n\t\tvec2 st0 = dFdx( uv.st );\n\t\tvec2 st1 = dFdy( uv.st );\n\n\t\tvec3 N = surf_norm; // normalized\n\n\t\tvec3 q1perp = cross( q1, N );\n\t\tvec3 q0perp = cross( N, q0 );\n\n\t\tvec3 T = q1perp * st0.x + q0perp * st1.x;\n\t\tvec3 B = q1perp * st0.y + q0perp * st1.y;\n\n\t\tfloat det = max( dot( T, T ), dot( B, B ) );\n\t\tfloat scale = ( det == 0.0 ) ? 0.0 : inversesqrt( det );\n\n\t\treturn mat3( T * scale, B * scale, N );\n\n\t}\n\n#endif\n",clearcoat_normal_fragment_begin:"\n#ifdef USE_CLEARCOAT\n\n\tvec3 clearcoatNormal = nonPerturbedNormal;\n\n#endif\n",clearcoat_normal_fragment_maps:"\n#ifdef USE_CLEARCOAT_NORMALMAP\n\n\tvec3 clearcoatMapN = texture2D( clearcoatNormalMap, vClearcoatNormalMapUv ).xyz * 2.0 - 1.0;\n\tclearcoatMapN.xy *= clearcoatNormalScale;\n\n\tclearcoatNormal = normalize( tbn2 * clearcoatMapN );\n\n#endif\n",clearcoat_pars_fragment:"\n\n#ifdef USE_CLEARCOATMAP\n\n\tuniform sampler2D clearcoatMap;\n\n#endif\n\n#ifdef USE_CLEARCOAT_NORMALMAP\n\n\tuniform sampler2D clearcoatNormalMap;\n\tuniform vec2 clearcoatNormalScale;\n\n#endif\n\n#ifdef USE_CLEARCOAT_ROUGHNESSMAP\n\n\tuniform sampler2D clearcoatRoughnessMap;\n\n#endif\n",iridescence_pars_fragment:"\n\n#ifdef USE_IRIDESCENCEMAP\n\n\tuniform sampler2D iridescenceMap;\n\n#endif\n\n#ifdef USE_IRIDESCENCE_THICKNESSMAP\n\n\tuniform sampler2D iridescenceThicknessMap;\n\n#endif\n",opaque_fragment:"\n#ifdef OPAQUE\ndiffuseColor.a = 1.0;\n#endif\n\n#ifdef USE_TRANSMISSION\ndiffuseColor.a *= material.transmissionAlpha;\n#endif\n\ngl_FragColor = vec4( outgoingLight, diffuseColor.a );\n",packing:"\nvec3 packNormalToRGB( const in vec3 normal ) {\n\treturn normalize( normal ) * 0.5 + 0.5;\n}\n\nvec3 unpackRGBToNormal( const in vec3 rgb ) {\n\treturn 2.0 * rgb.xyz - 1.0;\n}\n\nconst float PackUpscale = 256. / 255.; // fraction -> 0..1 (including 1)\nconst float UnpackDownscale = 255. / 256.; // 0..1 -> fraction (excluding 1)\nconst float ShiftRight8 = 1. / 256.;\nconst float Inv255 = 1. / 255.;\n\nconst vec4 PackFactors = vec4( 1.0, 256.0, 256.0 * 256.0, 256.0 * 256.0 * 256.0 );\n\nconst vec2 UnpackFactors2 = vec2( UnpackDownscale, 1.0 / PackFactors.g );\nconst vec3 UnpackFactors3 = vec3( UnpackDownscale / PackFactors.rg, 1.0 / PackFactors.b );\nconst vec4 UnpackFactors4 = vec4( UnpackDownscale / PackFactors.rgb, 1.0 / PackFactors.a );\n\nvec4 packDepthToRGBA( const in float v ) {\n\tif( v <= 0.0 )\n\t\treturn vec4( 0., 0., 0., 0. );\n\tif( v >= 1.0 )\n\t\treturn vec4( 1., 1., 1., 1. );\n\tfloat vuf;\n\tfloat af = modf( v * PackFactors.a, vuf );\n\tfloat bf = modf( vuf * ShiftRight8, vuf );\n\tfloat gf = modf( vuf * ShiftRight8, vuf );\n\treturn vec4( vuf * Inv255, gf * PackUpscale, bf * PackUpscale, af );\n}\n\nvec3 packDepthToRGB( const in float v ) {\n\tif( v <= 0.0 )\n\t\treturn vec3( 0., 0., 0. );\n\tif( v >= 1.0 )\n\t\treturn vec3( 1., 1., 1. );\n\tfloat vuf;\n\tfloat bf = modf( v * PackFactors.b, vuf );\n\tfloat gf = modf( vuf * ShiftRight8, vuf );\n\t// the 0.9999 tweak is unimportant, very tiny empirical improvement\n\t// return vec3( vuf * Inv255, gf * PackUpscale, bf * 0.9999 );\n\treturn vec3( vuf * Inv255, gf * PackUpscale, bf );\n}\n\nvec2 packDepthToRG( const in float v ) {\n\tif( v <= 0.0 )\n\t\treturn vec2( 0., 0. );\n\tif( v >= 1.0 )\n\t\treturn vec2( 1., 1. );\n\tfloat vuf;\n\tfloat gf = modf( v * 256., vuf );\n\treturn vec2( vuf * Inv255, gf );\n}\n\nfloat unpackRGBAToDepth( const in vec4 v ) {\n\treturn dot( v, UnpackFactors4 );\n}\n\nfloat unpackRGBToDepth( const in vec3 v ) {\n\treturn dot( v, UnpackFactors3 );\n}\n\nfloat unpackRGToDepth( const in vec2 v ) {\n\treturn v.r * UnpackFactors2.r + v.g * UnpackFactors2.g;\n}\n\nvec4 pack2HalfToRGBA( const in vec2 v ) {\n\tvec4 r = vec4( v.x, fract( v.x * 255.0 ), v.y, fract( v.y * 255.0 ) );\n\treturn vec4( r.x - r.y / 255.0, r.y, r.z - r.w / 255.0, r.w );\n}\n\nvec2 unpackRGBATo2Half( const in vec4 v ) {\n\treturn vec2( v.x + ( v.y / 255.0 ), v.z + ( v.w / 255.0 ) );\n}\n\n// NOTE: viewZ, the z-coordinate in camera space, is negative for points in front of the camera\n\nfloat viewZToOrthographicDepth( const in float viewZ, const in float near, const in float far ) {\n\t// -near maps to 0; -far maps to 1\n\treturn ( viewZ + near ) / ( near - far );\n}\n\nfloat orthographicDepthToViewZ( const in float depth, const in float near, const in float far ) {\n\t// maps orthographic depth in [ 0, 1 ] to viewZ\n\treturn depth * ( near - far ) - near;\n}\n\n// NOTE: https://twitter.com/gonnavis/status/1377183786949959682\n\nfloat viewZToPerspectiveDepth( const in float viewZ, const in float near, const in float far ) {\n\t// -near maps to 0; -far maps to 1\n\treturn ( ( near + viewZ ) * far ) / ( ( far - near ) * viewZ );\n}\n\nfloat perspectiveDepthToViewZ( const in float depth, const in float near, const in float far ) {\n\t// maps perspective depth in [ 0, 1 ] to viewZ\n\treturn ( near * far ) / ( ( far - near ) * depth - far );\n}\n",premultiplied_alpha_fragment:"\n#ifdef PREMULTIPLIED_ALPHA\n\n\t// Get normal blending with premultipled, use with CustomBlending, OneFactor, OneMinusSrcAlphaFactor, AddEquation.\n\tgl_FragColor.rgb *= gl_FragColor.a;\n\n#endif\n",project_vertex:"\nvec4 mvPosition = vec4( transformed, 1.0 );\n\n#ifdef USE_BATCHING\n\n\tmvPosition = batchingMatrix * mvPosition;\n\n#endif\n\n#ifdef USE_INSTANCING\n\n\tmvPosition = instanceMatrix * mvPosition;\n\n#endif\n\nmvPosition = modelViewMatrix * mvPosition;\n\ngl_Position = projectionMatrix * mvPosition;\n",dithering_fragment:"\n#ifdef DITHERING\n\n\tgl_FragColor.rgb = dithering( gl_FragColor.rgb );\n\n#endif\n",dithering_pars_fragment:"\n#ifdef DITHERING\n\n\t// based on https://www.shadertoy.com/view/MslGR8\n\tvec3 dithering( vec3 color ) {\n\t\t//Calculate grid position\n\t\tfloat grid_position = rand( gl_FragCoord.xy );\n\n\t\t//Shift the individual colors differently, thus making it even harder to see the dithering pattern\n\t\tvec3 dither_shift_RGB = vec3( 0.25 / 255.0, -0.25 / 255.0, 0.25 / 255.0 );\n\n\t\t//modify shift according to grid position.\n\t\tdither_shift_RGB = mix( 2.0 * dither_shift_RGB, -2.0 * dither_shift_RGB, grid_position );\n\n\t\t//shift the color by dither_shift\n\t\treturn color + dither_shift_RGB;\n\t}\n\n#endif\n",roughnessmap_fragment:"\nfloat roughnessFactor = roughness;\n\n#ifdef USE_ROUGHNESSMAP\n\n\tvec4 texelRoughness = texture2D( roughnessMap, vRoughnessMapUv );\n\n\t// reads channel G, compatible with a combined OcclusionRoughnessMetallic (RGB) texture\n\troughnessFactor *= texelRoughness.g;\n\n#endif\n",roughnessmap_pars_fragment:"\n#ifdef USE_ROUGHNESSMAP\n\n\tuniform sampler2D roughnessMap;\n\n#endif\n",shadowmap_pars_fragment:"\n#if NUM_SPOT_LIGHT_COORDS > 0\n\n\tvarying vec4 vSpotLightCoord[ NUM_SPOT_LIGHT_COORDS ];\n\n#endif\n\n#if NUM_SPOT_LIGHT_MAPS > 0\n\n\tuniform sampler2D spotLightMap[ NUM_SPOT_LIGHT_MAPS ];\n\n#endif\n\n#ifdef USE_SHADOWMAP\n\n\t#if NUM_DIR_LIGHT_SHADOWS > 0\n\n\t\tuniform sampler2D directionalShadowMap[ NUM_DIR_LIGHT_SHADOWS ];\n\t\tvarying vec4 vDirectionalShadowCoord[ NUM_DIR_LIGHT_SHADOWS ];\n\n\t\tstruct DirectionalLightShadow {\n\t\t\tfloat shadowIntensity;\n\t\t\tfloat shadowBias;\n\t\t\tfloat shadowNormalBias;\n\t\t\tfloat shadowRadius;\n\t\t\tvec2 shadowMapSize;\n\t\t};\n\n\t\tuniform DirectionalLightShadow directionalLightShadows[ NUM_DIR_LIGHT_SHADOWS ];\n\n\t#endif\n\n\t#if NUM_SPOT_LIGHT_SHADOWS > 0\n\n\t\tuniform sampler2D spotShadowMap[ NUM_SPOT_LIGHT_SHADOWS ];\n\n\t\tstruct SpotLightShadow {\n\t\t\tfloat shadowIntensity;\n\t\t\tfloat shadowBias;\n\t\t\tfloat shadowNormalBias;\n\t\t\tfloat shadowRadius;\n\t\t\tvec2 shadowMapSize;\n\t\t};\n\n\t\tuniform SpotLightShadow spotLightShadows[ NUM_SPOT_LIGHT_SHADOWS ];\n\n\t#endif\n\n\t#if NUM_POINT_LIGHT_SHADOWS > 0\n\n\t\tuniform sampler2D pointShadowMap[ NUM_POINT_LIGHT_SHADOWS ];\n\t\tvarying vec4 vPointShadowCoord[ NUM_POINT_LIGHT_SHADOWS ];\n\n\t\tstruct PointLightShadow {\n\t\t\tfloat shadowIntensity;\n\t\t\tfloat shadowBias;\n\t\t\tfloat shadowNormalBias;\n\t\t\tfloat shadowRadius;\n\t\t\tvec2 shadowMapSize;\n\t\t\tfloat shadowCameraNear;\n\t\t\tfloat shadowCameraFar;\n\t\t};\n\n\t\tuniform PointLightShadow pointLightShadows[ NUM_POINT_LIGHT_SHADOWS ];\n\n\t#endif\n\n\tfloat texture2DCompare( sampler2D depths, vec2 uv, float compare ) {\n\n\t\tfloat depth = unpackRGBAToDepth( texture2D( depths, uv ) );\n\n\t\t#ifdef USE_REVERSED_DEPTH_BUFFER\n\n\t\t\treturn step( depth, compare );\n\n\t\t#else\n\n\t\t\treturn step( compare, depth );\n\n\t\t#endif\n\n\t}\n\n\tvec2 texture2DDistribution( sampler2D shadow, vec2 uv ) {\n\n\t\treturn unpackRGBATo2Half( texture2D( shadow, uv ) );\n\n\t}\n\n\tfloat VSMShadow( sampler2D shadow, vec2 uv, float compare ) {\n\n\t\tfloat occlusion = 1.0;\n\n\t\tvec2 distribution = texture2DDistribution( shadow, uv );\n\n\t\t#ifdef USE_REVERSED_DEPTH_BUFFER\n\n\t\t\tfloat hard_shadow = step( distribution.x, compare );\n\n\t\t#else\n\n\t\t\tfloat hard_shadow = step( compare, distribution.x );\n\n\t\t#endif\n\n\t\tif ( hard_shadow != 1.0 ) {\n\n\t\t\tfloat distance = compare - distribution.x;\n\t\t\tfloat variance = max( 0.00000, distribution.y * distribution.y );\n\t\t\tfloat softness_probability = variance / (variance + distance * distance ); // Chebeyshevs inequality\n\t\t\tsoftness_probability = clamp( ( softness_probability - 0.3 ) / ( 0.95 - 0.3 ), 0.0, 1.0 ); // 0.3 reduces light bleed\n\t\t\tocclusion = clamp( max( hard_shadow, softness_probability ), 0.0, 1.0 );\n\n\t\t}\n\t\treturn occlusion;\n\n\t}\n\n\tfloat getShadow( sampler2D shadowMap, vec2 shadowMapSize, float shadowIntensity, float shadowBias, float shadowRadius, vec4 shadowCoord ) {\n\n\t\tfloat shadow = 1.0;\n\n\t\tshadowCoord.xyz /= shadowCoord.w;\n\t\tshadowCoord.z += shadowBias;\n\n\t\tbool inFrustum = shadowCoord.x >= 0.0 && shadowCoord.x <= 1.0 && shadowCoord.y >= 0.0 && shadowCoord.y <= 1.0;\n\t\tbool frustumTest = inFrustum && shadowCoord.z <= 1.0;\n\n\t\tif ( frustumTest ) {\n\n\t\t#if defined( SHADOWMAP_TYPE_PCF )\n\n\t\t\tvec2 texelSize = vec2( 1.0 ) / shadowMapSize;\n\n\t\t\tfloat dx0 = - texelSize.x * shadowRadius;\n\t\t\tfloat dy0 = - texelSize.y * shadowRadius;\n\t\t\tfloat dx1 = + texelSize.x * shadowRadius;\n\t\t\tfloat dy1 = + texelSize.y * shadowRadius;\n\t\t\tfloat dx2 = dx0 / 2.0;\n\t\t\tfloat dy2 = dy0 / 2.0;\n\t\t\tfloat dx3 = dx1 / 2.0;\n\t\t\tfloat dy3 = dy1 / 2.0;\n\n\t\t\tshadow = (\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, dy0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, dy0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, dy2 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy2 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, dy2 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, 0.0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, 0.0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy, shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, 0.0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, 0.0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx2, dy3 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy3 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx3, dy3 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx0, dy1 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( 0.0, dy1 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, shadowCoord.xy + vec2( dx1, dy1 ), shadowCoord.z )\n\t\t\t) * ( 1.0 / 17.0 );\n\n\t\t#elif defined( SHADOWMAP_TYPE_PCF_SOFT )\n\n\t\t\tvec2 texelSize = vec2( 1.0 ) / shadowMapSize;\n\t\t\tfloat dx = texelSize.x;\n\t\t\tfloat dy = texelSize.y;\n\n\t\t\tvec2 uv = shadowCoord.xy;\n\t\t\tvec2 f = fract( uv * shadowMapSize + 0.5 );\n\t\t\tuv -= f * texelSize;\n\n\t\t\tshadow = (\n\t\t\t\ttexture2DCompare( shadowMap, uv, shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, uv + vec2( dx, 0.0 ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, uv + vec2( 0.0, dy ), shadowCoord.z ) +\n\t\t\t\ttexture2DCompare( shadowMap, uv + texelSize, shadowCoord.z ) +\n\t\t\t\tmix( texture2DCompare( shadowMap, uv + vec2( -dx, 0.0 ), shadowCoord.z ),\n\t\t\t\t\t texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, 0.0 ), shadowCoord.z ),\n\t\t\t\t\t f.x ) +\n\t\t\t\tmix( texture2DCompare( shadowMap, uv + vec2( -dx, dy ), shadowCoord.z ),\n\t\t\t\t\t texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, dy ), shadowCoord.z ),\n\t\t\t\t\t f.x ) +\n\t\t\t\tmix( texture2DCompare( shadowMap, uv + vec2( 0.0, -dy ), shadowCoord.z ),\n\t\t\t\t\t texture2DCompare( shadowMap, uv + vec2( 0.0, 2.0 * dy ), shadowCoord.z ),\n\t\t\t\t\t f.y ) +\n\t\t\t\tmix( texture2DCompare( shadowMap, uv + vec2( dx, -dy ), shadowCoord.z ),\n\t\t\t\t\t texture2DCompare( shadowMap, uv + vec2( dx, 2.0 * dy ), shadowCoord.z ),\n\t\t\t\t\t f.y ) +\n\t\t\t\tmix( mix( texture2DCompare( shadowMap, uv + vec2( -dx, -dy ), shadowCoord.z ),\n\t\t\t\t\t\t  texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, -dy ), shadowCoord.z ),\n\t\t\t\t\t\t  f.x ),\n\t\t\t\t\t mix( texture2DCompare( shadowMap, uv + vec2( -dx, 2.0 * dy ), shadowCoord.z ),\n\t\t\t\t\t\t  texture2DCompare( shadowMap, uv + vec2( 2.0 * dx, 2.0 * dy ), shadowCoord.z ),\n\t\t\t\t\t\t  f.x ),\n\t\t\t\t\t f.y )\n\t\t\t) * ( 1.0 / 9.0 );\n\n\t\t#elif defined( SHADOWMAP_TYPE_VSM )\n\n\t\t\tshadow = VSMShadow( shadowMap, shadowCoord.xy, shadowCoord.z );\n\n\t\t#else // no percentage-closer filtering:\n\n\t\t\tshadow = texture2DCompare( shadowMap, shadowCoord.xy, shadowCoord.z );\n\n\t\t#endif\n\n\t\t}\n\n\t\treturn mix( 1.0, shadow, shadowIntensity );\n\n\t}\n\n\t// cubeToUV() maps a 3D direction vector suitable for cube texture mapping to a 2D\n\t// vector suitable for 2D texture mapping. This code uses the following layout for the\n\t// 2D texture:\n\t//\n\t// xzXZ\n\t//  y Y\n\t//\n\t// Y - Positive y direction\n\t// y - Negative y direction\n\t// X - Positive x direction\n\t// x - Negative x direction\n\t// Z - Positive z direction\n\t// z - Negative z direction\n\t//\n\t// Source and test bed:\n\t// https://gist.github.com/tschw/da10c43c467ce8afd0c4\n\n\tvec2 cubeToUV( vec3 v, float texelSizeY ) {\n\n\t\t// Number of texels to avoid at the edge of each square\n\n\t\tvec3 absV = abs( v );\n\n\t\t// Intersect unit cube\n\n\t\tfloat scaleToCube = 1.0 / max( absV.x, max( absV.y, absV.z ) );\n\t\tabsV *= scaleToCube;\n\n\t\t// Apply scale to avoid seams\n\n\t\t// two texels less per square (one texel will do for NEAREST)\n\t\tv *= scaleToCube * ( 1.0 - 2.0 * texelSizeY );\n\n\t\t// Unwrap\n\n\t\t// space: -1 ... 1 range for each square\n\t\t//\n\t\t// #X##\t\tdim    := ( 4 , 2 )\n\t\t//  # #\t\tcenter := ( 1 , 1 )\n\n\t\tvec2 planar = v.xy;\n\n\t\tfloat almostATexel = 1.5 * texelSizeY;\n\t\tfloat almostOne = 1.0 - almostATexel;\n\n\t\tif ( absV.z >= almostOne ) {\n\n\t\t\tif ( v.z > 0.0 )\n\t\t\t\tplanar.x = 4.0 - v.x;\n\n\t\t} else if ( absV.x >= almostOne ) {\n\n\t\t\tfloat signX = sign( v.x );\n\t\t\tplanar.x = v.z * signX + 2.0 * signX;\n\n\t\t} else if ( absV.y >= almostOne ) {\n\n\t\t\tfloat signY = sign( v.y );\n\t\t\tplanar.x = v.x + 2.0 * signY + 2.0;\n\t\t\tplanar.y = v.z * signY - 2.0;\n\n\t\t}\n\n\t\t// Transform to UV space\n\n\t\t// scale := 0.5 / dim\n\t\t// translate := ( center + 0.5 ) / dim\n\t\treturn vec2( 0.125, 0.25 ) * planar + vec2( 0.375, 0.75 );\n\n\t}\n\n\tfloat getPointShadow( sampler2D shadowMap, vec2 shadowMapSize, float shadowIntensity, float shadowBias, float shadowRadius, vec4 shadowCoord, float shadowCameraNear, float shadowCameraFar ) {\n\n\t\tfloat shadow = 1.0;\n\n\t\t// for point lights, the uniform @vShadowCoord is re-purposed to hold\n\t\t// the vector from the light to the world-space position of the fragment.\n\t\tvec3 lightToPosition = shadowCoord.xyz;\n\t\t\n\t\tfloat lightToPositionLength = length( lightToPosition );\n\n\t\tif ( lightToPositionLength - shadowCameraFar <= 0.0 && lightToPositionLength - shadowCameraNear >= 0.0 ) {\n\n\t\t\t// dp = normalized distance from light to fragment position\n\t\t\tfloat dp = ( lightToPositionLength - shadowCameraNear ) / ( shadowCameraFar - shadowCameraNear ); // need to clamp?\n\t\t\tdp += shadowBias;\n\n\t\t\t// bd3D = base direction 3D\n\t\t\tvec3 bd3D = normalize( lightToPosition );\n\n\t\t\tvec2 texelSize = vec2( 1.0 ) / ( shadowMapSize * vec2( 4.0, 2.0 ) );\n\n\t\t\t#if defined( SHADOWMAP_TYPE_PCF ) || defined( SHADOWMAP_TYPE_PCF_SOFT ) || defined( SHADOWMAP_TYPE_VSM )\n\n\t\t\t\tvec2 offset = vec2( - 1, 1 ) * shadowRadius * texelSize.y;\n\n\t\t\t\tshadow = (\n\t\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.xyy, texelSize.y ), dp ) +\n\t\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.yyy, texelSize.y ), dp ) +\n\t\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.xyx, texelSize.y ), dp ) +\n\t\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.yyx, texelSize.y ), dp ) +\n\t\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D, texelSize.y ), dp ) +\n\t\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.xxy, texelSize.y ), dp ) +\n\t\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.yxy, texelSize.y ), dp ) +\n\t\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.xxx, texelSize.y ), dp ) +\n\t\t\t\t\ttexture2DCompare( shadowMap, cubeToUV( bd3D + offset.yxx, texelSize.y ), dp )\n\t\t\t\t) * ( 1.0 / 9.0 );\n\n\t\t\t#else // no percentage-closer filtering\n\n\t\t\t\tshadow = texture2DCompare( shadowMap, cubeToUV( bd3D, texelSize.y ), dp );\n\n\t\t\t#endif\n\n\t\t}\n\n\t\treturn mix( 1.0, shadow, shadowIntensity );\n\n\t}\n\n#endif\n",shadowmap_pars_vertex:"\n\n#if NUM_SPOT_LIGHT_COORDS > 0\n\n\tuniform mat4 spotLightMatrix[ NUM_SPOT_LIGHT_COORDS ];\n\tvarying vec4 vSpotLightCoord[ NUM_SPOT_LIGHT_COORDS ];\n\n#endif\n\n#ifdef USE_SHADOWMAP\n\n\t#if NUM_DIR_LIGHT_SHADOWS > 0\n\n\t\tuniform mat4 directionalShadowMatrix[ NUM_DIR_LIGHT_SHADOWS ];\n\t\tvarying vec4 vDirectionalShadowCoord[ NUM_DIR_LIGHT_SHADOWS ];\n\n\t\tstruct DirectionalLightShadow {\n\t\t\tfloat shadowIntensity;\n\t\t\tfloat shadowBias;\n\t\t\tfloat shadowNormalBias;\n\t\t\tfloat shadowRadius;\n\t\t\tvec2 shadowMapSize;\n\t\t};\n\n\t\tuniform DirectionalLightShadow directionalLightShadows[ NUM_DIR_LIGHT_SHADOWS ];\n\n\t#endif\n\n\t#if NUM_SPOT_LIGHT_SHADOWS > 0\n\n\t\tstruct SpotLightShadow {\n\t\t\tfloat shadowIntensity;\n\t\t\tfloat shadowBias;\n\t\t\tfloat shadowNormalBias;\n\t\t\tfloat shadowRadius;\n\t\t\tvec2 shadowMapSize;\n\t\t};\n\n\t\tuniform SpotLightShadow spotLightShadows[ NUM_SPOT_LIGHT_SHADOWS ];\n\n\t#endif\n\n\t#if NUM_POINT_LIGHT_SHADOWS > 0\n\n\t\tuniform mat4 pointShadowMatrix[ NUM_POINT_LIGHT_SHADOWS ];\n\t\tvarying vec4 vPointShadowCoord[ NUM_POINT_LIGHT_SHADOWS ];\n\n\t\tstruct PointLightShadow {\n\t\t\tfloat shadowIntensity;\n\t\t\tfloat shadowBias;\n\t\t\tfloat shadowNormalBias;\n\t\t\tfloat shadowRadius;\n\t\t\tvec2 shadowMapSize;\n\t\t\tfloat shadowCameraNear;\n\t\t\tfloat shadowCameraFar;\n\t\t};\n\n\t\tuniform PointLightShadow pointLightShadows[ NUM_POINT_LIGHT_SHADOWS ];\n\n\t#endif\n\n\t/*\n\t#if NUM_RECT_AREA_LIGHTS > 0\n\n\t\t// TODO (abelnation): uniforms for area light shadows\n\n\t#endif\n\t*/\n\n#endif\n",shadowmap_vertex:"\n\n#if ( defined( USE_SHADOWMAP ) && ( NUM_DIR_LIGHT_SHADOWS > 0 || NUM_POINT_LIGHT_SHADOWS > 0 ) ) || ( NUM_SPOT_LIGHT_COORDS > 0 )\n\n\t// Offsetting the position used for querying occlusion along the world normal can be used to reduce shadow acne.\n\tvec3 shadowWorldNormal = inverseTransformDirection( transformedNormal, viewMatrix );\n\tvec4 shadowWorldPosition;\n\n#endif\n\n#if defined( USE_SHADOWMAP )\n\n\t#if NUM_DIR_LIGHT_SHADOWS > 0\n\n\t\t#pragma unroll_loop_start\n\t\tfor ( int i = 0; i < NUM_DIR_LIGHT_SHADOWS; i ++ ) {\n\n\t\t\tshadowWorldPosition = worldPosition + vec4( shadowWorldNormal * directionalLightShadows[ i ].shadowNormalBias, 0 );\n\t\t\tvDirectionalShadowCoord[ i ] = directionalShadowMatrix[ i ] * shadowWorldPosition;\n\n\t\t}\n\t\t#pragma unroll_loop_end\n\n\t#endif\n\n\t#if NUM_POINT_LIGHT_SHADOWS > 0\n\n\t\t#pragma unroll_loop_start\n\t\tfor ( int i = 0; i < NUM_POINT_LIGHT_SHADOWS; i ++ ) {\n\n\t\t\tshadowWorldPosition = worldPosition + vec4( shadowWorldNormal * pointLightShadows[ i ].shadowNormalBias, 0 );\n\t\t\tvPointShadowCoord[ i ] = pointShadowMatrix[ i ] * shadowWorldPosition;\n\n\t\t}\n\t\t#pragma unroll_loop_end\n\n\t#endif\n\n\t/*\n\t#if NUM_RECT_AREA_LIGHTS > 0\n\n\t\t// TODO (abelnation): update vAreaShadowCoord with area light info\n\n\t#endif\n\t*/\n\n#endif\n\n// spot lights can be evaluated without active shadow mapping (when SpotLight.map is used)\n\n#if NUM_SPOT_LIGHT_COORDS > 0\n\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_SPOT_LIGHT_COORDS; i ++ ) {\n\n\t\tshadowWorldPosition = worldPosition;\n\t\t#if ( defined( USE_SHADOWMAP ) && UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS )\n\t\t\tshadowWorldPosition.xyz += shadowWorldNormal * spotLightShadows[ i ].shadowNormalBias;\n\t\t#endif\n\t\tvSpotLightCoord[ i ] = spotLightMatrix[ i ] * shadowWorldPosition;\n\n\t}\n\t#pragma unroll_loop_end\n\n#endif\n\n\n",shadowmask_pars_fragment:"\nfloat getShadowMask() {\n\n\tfloat shadow = 1.0;\n\n\t#ifdef USE_SHADOWMAP\n\n\t#if NUM_DIR_LIGHT_SHADOWS > 0\n\n\tDirectionalLightShadow directionalLight;\n\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_DIR_LIGHT_SHADOWS; i ++ ) {\n\n\t\tdirectionalLight = directionalLightShadows[ i ];\n\t\tshadow *= receiveShadow ? getShadow( directionalShadowMap[ i ], directionalLight.shadowMapSize, directionalLight.shadowIntensity, directionalLight.shadowBias, directionalLight.shadowRadius, vDirectionalShadowCoord[ i ] ) : 1.0;\n\n\t}\n\t#pragma unroll_loop_end\n\n\t#endif\n\n\t#if NUM_SPOT_LIGHT_SHADOWS > 0\n\n\tSpotLightShadow spotLight;\n\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_SPOT_LIGHT_SHADOWS; i ++ ) {\n\n\t\tspotLight = spotLightShadows[ i ];\n\t\tshadow *= receiveShadow ? getShadow( spotShadowMap[ i ], spotLight.shadowMapSize, spotLight.shadowIntensity, spotLight.shadowBias, spotLight.shadowRadius, vSpotLightCoord[ i ] ) : 1.0;\n\n\t}\n\t#pragma unroll_loop_end\n\n\t#endif\n\n\t#if NUM_POINT_LIGHT_SHADOWS > 0\n\n\tPointLightShadow pointLight;\n\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_POINT_LIGHT_SHADOWS; i ++ ) {\n\n\t\tpointLight = pointLightShadows[ i ];\n\t\tshadow *= receiveShadow ? getPointShadow( pointShadowMap[ i ], pointLight.shadowMapSize, pointLight.shadowIntensity, pointLight.shadowBias, pointLight.shadowRadius, vPointShadowCoord[ i ], pointLight.shadowCameraNear, pointLight.shadowCameraFar ) : 1.0;\n\n\t}\n\t#pragma unroll_loop_end\n\n\t#endif\n\n\t/*\n\t#if NUM_RECT_AREA_LIGHTS > 0\n\n\t\t// TODO (abelnation): update shadow for Area light\n\n\t#endif\n\t*/\n\n\t#endif\n\n\treturn shadow;\n\n}\n",skinbase_vertex:"\n#ifdef USE_SKINNING\n\n\tmat4 boneMatX = getBoneMatrix( skinIndex.x );\n\tmat4 boneMatY = getBoneMatrix( skinIndex.y );\n\tmat4 boneMatZ = getBoneMatrix( skinIndex.z );\n\tmat4 boneMatW = getBoneMatrix( skinIndex.w );\n\n#endif\n",skinning_pars_vertex:"\n#ifdef USE_SKINNING\n\n\tuniform mat4 bindMatrix;\n\tuniform mat4 bindMatrixInverse;\n\n\tuniform highp sampler2D boneTexture;\n\n\tmat4 getBoneMatrix( const in float i ) {\n\n\t\tint size = textureSize( boneTexture, 0 ).x;\n\t\tint j = int( i ) * 4;\n\t\tint x = j % size;\n\t\tint y = j / size;\n\t\tvec4 v1 = texelFetch( boneTexture, ivec2( x, y ), 0 );\n\t\tvec4 v2 = texelFetch( boneTexture, ivec2( x + 1, y ), 0 );\n\t\tvec4 v3 = texelFetch( boneTexture, ivec2( x + 2, y ), 0 );\n\t\tvec4 v4 = texelFetch( boneTexture, ivec2( x + 3, y ), 0 );\n\n\t\treturn mat4( v1, v2, v3, v4 );\n\n\t}\n\n#endif\n",skinning_vertex:"\n#ifdef USE_SKINNING\n\n\tvec4 skinVertex = bindMatrix * vec4( transformed, 1.0 );\n\n\tvec4 skinned = vec4( 0.0 );\n\tskinned += boneMatX * skinVertex * skinWeight.x;\n\tskinned += boneMatY * skinVertex * skinWeight.y;\n\tskinned += boneMatZ * skinVertex * skinWeight.z;\n\tskinned += boneMatW * skinVertex * skinWeight.w;\n\n\ttransformed = ( bindMatrixInverse * skinned ).xyz;\n\n#endif\n",skinnormal_vertex:"\n#ifdef USE_SKINNING\n\n\tmat4 skinMatrix = mat4( 0.0 );\n\tskinMatrix += skinWeight.x * boneMatX;\n\tskinMatrix += skinWeight.y * boneMatY;\n\tskinMatrix += skinWeight.z * boneMatZ;\n\tskinMatrix += skinWeight.w * boneMatW;\n\tskinMatrix = bindMatrixInverse * skinMatrix * bindMatrix;\n\n\tobjectNormal = vec4( skinMatrix * vec4( objectNormal, 0.0 ) ).xyz;\n\n\t#ifdef USE_TANGENT\n\n\t\tobjectTangent = vec4( skinMatrix * vec4( objectTangent, 0.0 ) ).xyz;\n\n\t#endif\n\n#endif\n",specularmap_fragment:"\nfloat specularStrength;\n\n#ifdef USE_SPECULARMAP\n\n\tvec4 texelSpecular = texture2D( specularMap, vSpecularMapUv );\n\tspecularStrength = texelSpecular.r;\n\n#else\n\n\tspecularStrength = 1.0;\n\n#endif\n",specularmap_pars_fragment:"\n#ifdef USE_SPECULARMAP\n\n\tuniform sampler2D specularMap;\n\n#endif\n",tonemapping_fragment:"\n#if defined( TONE_MAPPING )\n\n\tgl_FragColor.rgb = toneMapping( gl_FragColor.rgb );\n\n#endif\n",tonemapping_pars_fragment:"\n#ifndef saturate\n// <common> may have defined saturate() already\n#define saturate( a ) clamp( a, 0.0, 1.0 )\n#endif\n\nuniform float toneMappingExposure;\n\n// exposure only\nvec3 LinearToneMapping( vec3 color ) {\n\n\treturn saturate( toneMappingExposure * color );\n\n}\n\n// source: https://www.cs.utah.edu/docs/techreports/2002/pdf/UUCS-02-001.pdf\nvec3 ReinhardToneMapping( vec3 color ) {\n\n\tcolor *= toneMappingExposure;\n\treturn saturate( color / ( vec3( 1.0 ) + color ) );\n\n}\n\n// source: http://filmicworlds.com/blog/filmic-tonemapping-operators/\nvec3 CineonToneMapping( vec3 color ) {\n\n\t// filmic operator by Jim Hejl and Richard Burgess-Dawson\n\tcolor *= toneMappingExposure;\n\tcolor = max( vec3( 0.0 ), color - 0.004 );\n\treturn pow( ( color * ( 6.2 * color + 0.5 ) ) / ( color * ( 6.2 * color + 1.7 ) + 0.06 ), vec3( 2.2 ) );\n\n}\n\n// source: https://github.com/selfshadow/ltc_code/blob/master/webgl/shaders/ltc/ltc_blit.fs\nvec3 RRTAndODTFit( vec3 v ) {\n\n\tvec3 a = v * ( v + 0.0245786 ) - 0.000090537;\n\tvec3 b = v * ( 0.983729 * v + 0.4329510 ) + 0.238081;\n\treturn a / b;\n\n}\n\n// this implementation of ACES is modified to accommodate a brighter viewing environment.\n// the scale factor of 1/0.6 is subjective. see discussion in #19621.\n\nvec3 ACESFilmicToneMapping( vec3 color ) {\n\n\t// sRGB => XYZ => D65_2_D60 => AP1 => RRT_SAT\n\tconst mat3 ACESInputMat = mat3(\n\t\tvec3( 0.59719, 0.07600, 0.02840 ), // transposed from source\n\t\tvec3( 0.35458, 0.90834, 0.13383 ),\n\t\tvec3( 0.04823, 0.01566, 0.83777 )\n\t);\n\n\t// ODT_SAT => XYZ => D60_2_D65 => sRGB\n\tconst mat3 ACESOutputMat = mat3(\n\t\tvec3(  1.60475, -0.10208, -0.00327 ), // transposed from source\n\t\tvec3( -0.53108,  1.10813, -0.07276 ),\n\t\tvec3( -0.07367, -0.00605,  1.07602 )\n\t);\n\n\tcolor *= toneMappingExposure / 0.6;\n\n\tcolor = ACESInputMat * color;\n\n\t// Apply RRT and ODT\n\tcolor = RRTAndODTFit( color );\n\n\tcolor = ACESOutputMat * color;\n\n\t// Clamp to [0, 1]\n\treturn saturate( color );\n\n}\n\n// Matrices for rec 2020 <> rec 709 color space conversion\n// matrix provided in row-major order so it has been transposed\n// https://www.itu.int/pub/R-REP-BT.2407-2017\nconst mat3 LINEAR_REC2020_TO_LINEAR_SRGB = mat3(\n\tvec3( 1.6605, - 0.1246, - 0.0182 ),\n\tvec3( - 0.5876, 1.1329, - 0.1006 ),\n\tvec3( - 0.0728, - 0.0083, 1.1187 )\n);\n\nconst mat3 LINEAR_SRGB_TO_LINEAR_REC2020 = mat3(\n\tvec3( 0.6274, 0.0691, 0.0164 ),\n\tvec3( 0.3293, 0.9195, 0.0880 ),\n\tvec3( 0.0433, 0.0113, 0.8956 )\n);\n\n// https://iolite-engine.com/blog_posts/minimal_agx_implementation\n// Mean error^2: 3.6705141e-06\nvec3 agxDefaultContrastApprox( vec3 x ) {\n\n\tvec3 x2 = x * x;\n\tvec3 x4 = x2 * x2;\n\n\treturn + 15.5 * x4 * x2\n\t\t- 40.14 * x4 * x\n\t\t+ 31.96 * x4\n\t\t- 6.868 * x2 * x\n\t\t+ 0.4298 * x2\n\t\t+ 0.1191 * x\n\t\t- 0.00232;\n\n}\n\n// AgX Tone Mapping implementation based on Filament, which in turn is based\n// on Blender's implementation using rec 2020 primaries\n// https://github.com/google/filament/pull/7236\n// Inputs and outputs are encoded as Linear-sRGB.\n\nvec3 AgXToneMapping( vec3 color ) {\n\n\t// AgX constants\n\tconst mat3 AgXInsetMatrix = mat3(\n\t\tvec3( 0.856627153315983, 0.137318972929847, 0.11189821299995 ),\n\t\tvec3( 0.0951212405381588, 0.761241990602591, 0.0767994186031903 ),\n\t\tvec3( 0.0482516061458583, 0.101439036467562, 0.811302368396859 )\n\t);\n\n\t// explicit AgXOutsetMatrix generated from Filaments AgXOutsetMatrixInv\n\tconst mat3 AgXOutsetMatrix = mat3(\n\t\tvec3( 1.1271005818144368, - 0.1413297634984383, - 0.14132976349843826 ),\n\t\tvec3( - 0.11060664309660323, 1.157823702216272, - 0.11060664309660294 ),\n\t\tvec3( - 0.016493938717834573, - 0.016493938717834257, 1.2519364065950405 )\n\t);\n\n\t// LOG2_MIN      = -10.0\n\t// LOG2_MAX      =  +6.5\n\t// MIDDLE_GRAY   =  0.18\n\tconst float AgxMinEv = - 12.47393;  // log2( pow( 2, LOG2_MIN ) * MIDDLE_GRAY )\n\tconst float AgxMaxEv = 4.026069;    // log2( pow( 2, LOG2_MAX ) * MIDDLE_GRAY )\n\n\tcolor *= toneMappingExposure;\n\n\tcolor = LINEAR_SRGB_TO_LINEAR_REC2020 * color;\n\n\tcolor = AgXInsetMatrix * color;\n\n\t// Log2 encoding\n\tcolor = max( color, 1e-10 ); // avoid 0 or negative numbers for log2\n\tcolor = log2( color );\n\tcolor = ( color - AgxMinEv ) / ( AgxMaxEv - AgxMinEv );\n\n\tcolor = clamp( color, 0.0, 1.0 );\n\n\t// Apply sigmoid\n\tcolor = agxDefaultContrastApprox( color );\n\n\t// Apply AgX look\n\t// v = agxLook(v, look);\n\n\tcolor = AgXOutsetMatrix * color;\n\n\t// Linearize\n\tcolor = pow( max( vec3( 0.0 ), color ), vec3( 2.2 ) );\n\n\tcolor = LINEAR_REC2020_TO_LINEAR_SRGB * color;\n\n\t// Gamut mapping. Simple clamp for now.\n\tcolor = clamp( color, 0.0, 1.0 );\n\n\treturn color;\n\n}\n\n// https://modelviewer.dev/examples/tone-mapping\n\nvec3 NeutralToneMapping( vec3 color ) {\n\n\tconst float StartCompression = 0.8 - 0.04;\n\tconst float Desaturation = 0.15;\n\n\tcolor *= toneMappingExposure;\n\n\tfloat x = min( color.r, min( color.g, color.b ) );\n\n\tfloat offset = x < 0.08 ? x - 6.25 * x * x : 0.04;\n\n\tcolor -= offset;\n\n\tfloat peak = max( color.r, max( color.g, color.b ) );\n\n\tif ( peak < StartCompression ) return color;\n\n\tfloat d = 1. - StartCompression;\n\n\tfloat newPeak = 1. - d * d / ( peak + d - StartCompression );\n\n\tcolor *= newPeak / peak;\n\n\tfloat g = 1. - 1. / ( Desaturation * ( peak - newPeak ) + 1. );\n\n\treturn mix( color, vec3( newPeak ), g );\n\n}\n\nvec3 CustomToneMapping( vec3 color ) { return color; }\n",transmission_fragment:"\n#ifdef USE_TRANSMISSION\n\n\tmaterial.transmission = transmission;\n\tmaterial.transmissionAlpha = 1.0;\n\tmaterial.thickness = thickness;\n\tmaterial.attenuationDistance = attenuationDistance;\n\tmaterial.attenuationColor = attenuationColor;\n\n\t#ifdef USE_TRANSMISSIONMAP\n\n\t\tmaterial.transmission *= texture2D( transmissionMap, vTransmissionMapUv ).r;\n\n\t#endif\n\n\t#ifdef USE_THICKNESSMAP\n\n\t\tmaterial.thickness *= texture2D( thicknessMap, vThicknessMapUv ).g;\n\n\t#endif\n\n\tvec3 pos = vWorldPosition;\n\tvec3 v = normalize( cameraPosition - pos );\n\tvec3 n = inverseTransformDirection( normal, viewMatrix );\n\n\tvec4 transmitted = getIBLVolumeRefraction(\n\t\tn, v, material.roughness, material.diffuseColor, material.specularColor, material.specularF90,\n\t\tpos, modelMatrix, viewMatrix, projectionMatrix, material.dispersion, material.ior, material.thickness,\n\t\tmaterial.attenuationColor, material.attenuationDistance );\n\n\tmaterial.transmissionAlpha = mix( material.transmissionAlpha, transmitted.a, material.transmission );\n\n\ttotalDiffuse = mix( totalDiffuse, transmitted.rgb, material.transmission );\n\n#endif\n",transmission_pars_fragment:"\n#ifdef USE_TRANSMISSION\n\n\t// Transmission code is based on glTF-Sampler-Viewer\n\t// https://github.com/KhronosGroup/glTF-Sample-Viewer\n\n\tuniform float transmission;\n\tuniform float thickness;\n\tuniform float attenuationDistance;\n\tuniform vec3 attenuationColor;\n\n\t#ifdef USE_TRANSMISSIONMAP\n\n\t\tuniform sampler2D transmissionMap;\n\n\t#endif\n\n\t#ifdef USE_THICKNESSMAP\n\n\t\tuniform sampler2D thicknessMap;\n\n\t#endif\n\n\tuniform vec2 transmissionSamplerSize;\n\tuniform sampler2D transmissionSamplerMap;\n\n\tuniform mat4 modelMatrix;\n\tuniform mat4 projectionMatrix;\n\n\tvarying vec3 vWorldPosition;\n\n\t// Mipped Bicubic Texture Filtering by N8\n\t// https://www.shadertoy.com/view/Dl2SDW\n\n\tfloat w0( float a ) {\n\n\t\treturn ( 1.0 / 6.0 ) * ( a * ( a * ( - a + 3.0 ) - 3.0 ) + 1.0 );\n\n\t}\n\n\tfloat w1( float a ) {\n\n\t\treturn ( 1.0 / 6.0 ) * ( a *  a * ( 3.0 * a - 6.0 ) + 4.0 );\n\n\t}\n\n\tfloat w2( float a ){\n\n\t\treturn ( 1.0 / 6.0 ) * ( a * ( a * ( - 3.0 * a + 3.0 ) + 3.0 ) + 1.0 );\n\n\t}\n\n\tfloat w3( float a ) {\n\n\t\treturn ( 1.0 / 6.0 ) * ( a * a * a );\n\n\t}\n\n\t// g0 and g1 are the two amplitude functions\n\tfloat g0( float a ) {\n\n\t\treturn w0( a ) + w1( a );\n\n\t}\n\n\tfloat g1( float a ) {\n\n\t\treturn w2( a ) + w3( a );\n\n\t}\n\n\t// h0 and h1 are the two offset functions\n\tfloat h0( float a ) {\n\n\t\treturn - 1.0 + w1( a ) / ( w0( a ) + w1( a ) );\n\n\t}\n\n\tfloat h1( float a ) {\n\n\t\treturn 1.0 + w3( a ) / ( w2( a ) + w3( a ) );\n\n\t}\n\n\tvec4 bicubic( sampler2D tex, vec2 uv, vec4 texelSize, float lod ) {\n\n\t\tuv = uv * texelSize.zw + 0.5;\n\n\t\tvec2 iuv = floor( uv );\n\t\tvec2 fuv = fract( uv );\n\n\t\tfloat g0x = g0( fuv.x );\n\t\tfloat g1x = g1( fuv.x );\n\t\tfloat h0x = h0( fuv.x );\n\t\tfloat h1x = h1( fuv.x );\n\t\tfloat h0y = h0( fuv.y );\n\t\tfloat h1y = h1( fuv.y );\n\n\t\tvec2 p0 = ( vec2( iuv.x + h0x, iuv.y + h0y ) - 0.5 ) * texelSize.xy;\n\t\tvec2 p1 = ( vec2( iuv.x + h1x, iuv.y + h0y ) - 0.5 ) * texelSize.xy;\n\t\tvec2 p2 = ( vec2( iuv.x + h0x, iuv.y + h1y ) - 0.5 ) * texelSize.xy;\n\t\tvec2 p3 = ( vec2( iuv.x + h1x, iuv.y + h1y ) - 0.5 ) * texelSize.xy;\n\n\t\treturn g0( fuv.y ) * ( g0x * textureLod( tex, p0, lod ) + g1x * textureLod( tex, p1, lod ) ) +\n\t\t\tg1( fuv.y ) * ( g0x * textureLod( tex, p2, lod ) + g1x * textureLod( tex, p3, lod ) );\n\n\t}\n\n\tvec4 textureBicubic( sampler2D sampler, vec2 uv, float lod ) {\n\n\t\tvec2 fLodSize = vec2( textureSize( sampler, int( lod ) ) );\n\t\tvec2 cLodSize = vec2( textureSize( sampler, int( lod + 1.0 ) ) );\n\t\tvec2 fLodSizeInv = 1.0 / fLodSize;\n\t\tvec2 cLodSizeInv = 1.0 / cLodSize;\n\t\tvec4 fSample = bicubic( sampler, uv, vec4( fLodSizeInv, fLodSize ), floor( lod ) );\n\t\tvec4 cSample = bicubic( sampler, uv, vec4( cLodSizeInv, cLodSize ), ceil( lod ) );\n\t\treturn mix( fSample, cSample, fract( lod ) );\n\n\t}\n\n\tvec3 getVolumeTransmissionRay( const in vec3 n, const in vec3 v, const in float thickness, const in float ior, const in mat4 modelMatrix ) {\n\n\t\t// Direction of refracted light.\n\t\tvec3 refractionVector = refract( - v, normalize( n ), 1.0 / ior );\n\n\t\t// Compute rotation-independent scaling of the model matrix.\n\t\tvec3 modelScale;\n\t\tmodelScale.x = length( vec3( modelMatrix[ 0 ].xyz ) );\n\t\tmodelScale.y = length( vec3( modelMatrix[ 1 ].xyz ) );\n\t\tmodelScale.z = length( vec3( modelMatrix[ 2 ].xyz ) );\n\n\t\t// The thickness is specified in local space.\n\t\treturn normalize( refractionVector ) * thickness * modelScale;\n\n\t}\n\n\tfloat applyIorToRoughness( const in float roughness, const in float ior ) {\n\n\t\t// Scale roughness with IOR so that an IOR of 1.0 results in no microfacet refraction and\n\t\t// an IOR of 1.5 results in the default amount of microfacet refraction.\n\t\treturn roughness * clamp( ior * 2.0 - 2.0, 0.0, 1.0 );\n\n\t}\n\n\tvec4 getTransmissionSample( const in vec2 fragCoord, const in float roughness, const in float ior ) {\n\n\t\tfloat lod = log2( transmissionSamplerSize.x ) * applyIorToRoughness( roughness, ior );\n\t\treturn textureBicubic( transmissionSamplerMap, fragCoord.xy, lod );\n\n\t}\n\n\tvec3 volumeAttenuation( const in float transmissionDistance, const in vec3 attenuationColor, const in float attenuationDistance ) {\n\n\t\tif ( isinf( attenuationDistance ) ) {\n\n\t\t\t// Attenuation distance is +∞, i.e. the transmitted color is not attenuated at all.\n\t\t\treturn vec3( 1.0 );\n\n\t\t} else {\n\n\t\t\t// Compute light attenuation using Beer's law.\n\t\t\tvec3 attenuationCoefficient = -log( attenuationColor ) / attenuationDistance;\n\t\t\tvec3 transmittance = exp( - attenuationCoefficient * transmissionDistance ); // Beer's law\n\t\t\treturn transmittance;\n\n\t\t}\n\n\t}\n\n\tvec4 getIBLVolumeRefraction( const in vec3 n, const in vec3 v, const in float roughness, const in vec3 diffuseColor,\n\t\tconst in vec3 specularColor, const in float specularF90, const in vec3 position, const in mat4 modelMatrix,\n\t\tconst in mat4 viewMatrix, const in mat4 projMatrix, const in float dispersion, const in float ior, const in float thickness,\n\t\tconst in vec3 attenuationColor, const in float attenuationDistance ) {\n\n\t\tvec4 transmittedLight;\n\t\tvec3 transmittance;\n\n\t\t#ifdef USE_DISPERSION\n\n\t\t\tfloat halfSpread = ( ior - 1.0 ) * 0.025 * dispersion;\n\t\t\tvec3 iors = vec3( ior - halfSpread, ior, ior + halfSpread );\n\n\t\t\tfor ( int i = 0; i < 3; i ++ ) {\n\n\t\t\t\tvec3 transmissionRay = getVolumeTransmissionRay( n, v, thickness, iors[ i ], modelMatrix );\n\t\t\t\tvec3 refractedRayExit = position + transmissionRay;\n\n\t\t\t\t// Project refracted vector on the framebuffer, while mapping to normalized device coordinates.\n\t\t\t\tvec4 ndcPos = projMatrix * viewMatrix * vec4( refractedRayExit, 1.0 );\n\t\t\t\tvec2 refractionCoords = ndcPos.xy / ndcPos.w;\n\t\t\t\trefractionCoords += 1.0;\n\t\t\t\trefractionCoords /= 2.0;\n\n\t\t\t\t// Sample framebuffer to get pixel the refracted ray hits.\n\t\t\t\tvec4 transmissionSample = getTransmissionSample( refractionCoords, roughness, iors[ i ] );\n\t\t\t\ttransmittedLight[ i ] = transmissionSample[ i ];\n\t\t\t\ttransmittedLight.a += transmissionSample.a;\n\n\t\t\t\ttransmittance[ i ] = diffuseColor[ i ] * volumeAttenuation( length( transmissionRay ), attenuationColor, attenuationDistance )[ i ];\n\n\t\t\t}\n\n\t\t\ttransmittedLight.a /= 3.0;\n\n\t\t#else\n\n\t\t\tvec3 transmissionRay = getVolumeTransmissionRay( n, v, thickness, ior, modelMatrix );\n\t\t\tvec3 refractedRayExit = position + transmissionRay;\n\n\t\t\t// Project refracted vector on the framebuffer, while mapping to normalized device coordinates.\n\t\t\tvec4 ndcPos = projMatrix * viewMatrix * vec4( refractedRayExit, 1.0 );\n\t\t\tvec2 refractionCoords = ndcPos.xy / ndcPos.w;\n\t\t\trefractionCoords += 1.0;\n\t\t\trefractionCoords /= 2.0;\n\n\t\t\t// Sample framebuffer to get pixel the refracted ray hits.\n\t\t\ttransmittedLight = getTransmissionSample( refractionCoords, roughness, ior );\n\t\t\ttransmittance = diffuseColor * volumeAttenuation( length( transmissionRay ), attenuationColor, attenuationDistance );\n\n\t\t#endif\n\n\t\tvec3 attenuatedColor = transmittance * transmittedLight.rgb;\n\n\t\t// Get the specular component.\n\t\tvec3 F = EnvironmentBRDF( n, v, specularColor, specularF90, roughness );\n\n\t\t// As less light is transmitted, the opacity should be increased. This simple approximation does a decent job\n\t\t// of modulating a CSS background, and has no effect when the buffer is opaque, due to a solid object or clear color.\n\t\tfloat transmittanceFactor = ( transmittance.r + transmittance.g + transmittance.b ) / 3.0;\n\n\t\treturn vec4( ( 1.0 - F ) * attenuatedColor, 1.0 - ( 1.0 - transmittedLight.a ) * transmittanceFactor );\n\n\t}\n#endif\n",uv_pars_fragment:"\n#if defined( USE_UV ) || defined( USE_ANISOTROPY )\n\n\tvarying vec2 vUv;\n\n#endif\n#ifdef USE_MAP\n\n\tvarying vec2 vMapUv;\n\n#endif\n#ifdef USE_ALPHAMAP\n\n\tvarying vec2 vAlphaMapUv;\n\n#endif\n#ifdef USE_LIGHTMAP\n\n\tvarying vec2 vLightMapUv;\n\n#endif\n#ifdef USE_AOMAP\n\n\tvarying vec2 vAoMapUv;\n\n#endif\n#ifdef USE_BUMPMAP\n\n\tvarying vec2 vBumpMapUv;\n\n#endif\n#ifdef USE_NORMALMAP\n\n\tvarying vec2 vNormalMapUv;\n\n#endif\n#ifdef USE_EMISSIVEMAP\n\n\tvarying vec2 vEmissiveMapUv;\n\n#endif\n#ifdef USE_METALNESSMAP\n\n\tvarying vec2 vMetalnessMapUv;\n\n#endif\n#ifdef USE_ROUGHNESSMAP\n\n\tvarying vec2 vRoughnessMapUv;\n\n#endif\n#ifdef USE_ANISOTROPYMAP\n\n\tvarying vec2 vAnisotropyMapUv;\n\n#endif\n#ifdef USE_CLEARCOATMAP\n\n\tvarying vec2 vClearcoatMapUv;\n\n#endif\n#ifdef USE_CLEARCOAT_NORMALMAP\n\n\tvarying vec2 vClearcoatNormalMapUv;\n\n#endif\n#ifdef USE_CLEARCOAT_ROUGHNESSMAP\n\n\tvarying vec2 vClearcoatRoughnessMapUv;\n\n#endif\n#ifdef USE_IRIDESCENCEMAP\n\n\tvarying vec2 vIridescenceMapUv;\n\n#endif\n#ifdef USE_IRIDESCENCE_THICKNESSMAP\n\n\tvarying vec2 vIridescenceThicknessMapUv;\n\n#endif\n#ifdef USE_SHEEN_COLORMAP\n\n\tvarying vec2 vSheenColorMapUv;\n\n#endif\n#ifdef USE_SHEEN_ROUGHNESSMAP\n\n\tvarying vec2 vSheenRoughnessMapUv;\n\n#endif\n#ifdef USE_SPECULARMAP\n\n\tvarying vec2 vSpecularMapUv;\n\n#endif\n#ifdef USE_SPECULAR_COLORMAP\n\n\tvarying vec2 vSpecularColorMapUv;\n\n#endif\n#ifdef USE_SPECULAR_INTENSITYMAP\n\n\tvarying vec2 vSpecularIntensityMapUv;\n\n#endif\n#ifdef USE_TRANSMISSIONMAP\n\n\tuniform mat3 transmissionMapTransform;\n\tvarying vec2 vTransmissionMapUv;\n\n#endif\n#ifdef USE_THICKNESSMAP\n\n\tuniform mat3 thicknessMapTransform;\n\tvarying vec2 vThicknessMapUv;\n\n#endif\n",uv_pars_vertex:"\n#if defined( USE_UV ) || defined( USE_ANISOTROPY )\n\n\tvarying vec2 vUv;\n\n#endif\n#ifdef USE_MAP\n\n\tuniform mat3 mapTransform;\n\tvarying vec2 vMapUv;\n\n#endif\n#ifdef USE_ALPHAMAP\n\n\tuniform mat3 alphaMapTransform;\n\tvarying vec2 vAlphaMapUv;\n\n#endif\n#ifdef USE_LIGHTMAP\n\n\tuniform mat3 lightMapTransform;\n\tvarying vec2 vLightMapUv;\n\n#endif\n#ifdef USE_AOMAP\n\n\tuniform mat3 aoMapTransform;\n\tvarying vec2 vAoMapUv;\n\n#endif\n#ifdef USE_BUMPMAP\n\n\tuniform mat3 bumpMapTransform;\n\tvarying vec2 vBumpMapUv;\n\n#endif\n#ifdef USE_NORMALMAP\n\n\tuniform mat3 normalMapTransform;\n\tvarying vec2 vNormalMapUv;\n\n#endif\n#ifdef USE_DISPLACEMENTMAP\n\n\tuniform mat3 displacementMapTransform;\n\tvarying vec2 vDisplacementMapUv;\n\n#endif\n#ifdef USE_EMISSIVEMAP\n\n\tuniform mat3 emissiveMapTransform;\n\tvarying vec2 vEmissiveMapUv;\n\n#endif\n#ifdef USE_METALNESSMAP\n\n\tuniform mat3 metalnessMapTransform;\n\tvarying vec2 vMetalnessMapUv;\n\n#endif\n#ifdef USE_ROUGHNESSMAP\n\n\tuniform mat3 roughnessMapTransform;\n\tvarying vec2 vRoughnessMapUv;\n\n#endif\n#ifdef USE_ANISOTROPYMAP\n\n\tuniform mat3 anisotropyMapTransform;\n\tvarying vec2 vAnisotropyMapUv;\n\n#endif\n#ifdef USE_CLEARCOATMAP\n\n\tuniform mat3 clearcoatMapTransform;\n\tvarying vec2 vClearcoatMapUv;\n\n#endif\n#ifdef USE_CLEARCOAT_NORMALMAP\n\n\tuniform mat3 clearcoatNormalMapTransform;\n\tvarying vec2 vClearcoatNormalMapUv;\n\n#endif\n#ifdef USE_CLEARCOAT_ROUGHNESSMAP\n\n\tuniform mat3 clearcoatRoughnessMapTransform;\n\tvarying vec2 vClearcoatRoughnessMapUv;\n\n#endif\n#ifdef USE_SHEEN_COLORMAP\n\n\tuniform mat3 sheenColorMapTransform;\n\tvarying vec2 vSheenColorMapUv;\n\n#endif\n#ifdef USE_SHEEN_ROUGHNESSMAP\n\n\tuniform mat3 sheenRoughnessMapTransform;\n\tvarying vec2 vSheenRoughnessMapUv;\n\n#endif\n#ifdef USE_IRIDESCENCEMAP\n\n\tuniform mat3 iridescenceMapTransform;\n\tvarying vec2 vIridescenceMapUv;\n\n#endif\n#ifdef USE_IRIDESCENCE_THICKNESSMAP\n\n\tuniform mat3 iridescenceThicknessMapTransform;\n\tvarying vec2 vIridescenceThicknessMapUv;\n\n#endif\n#ifdef USE_SPECULARMAP\n\n\tuniform mat3 specularMapTransform;\n\tvarying vec2 vSpecularMapUv;\n\n#endif\n#ifdef USE_SPECULAR_COLORMAP\n\n\tuniform mat3 specularColorMapTransform;\n\tvarying vec2 vSpecularColorMapUv;\n\n#endif\n#ifdef USE_SPECULAR_INTENSITYMAP\n\n\tuniform mat3 specularIntensityMapTransform;\n\tvarying vec2 vSpecularIntensityMapUv;\n\n#endif\n#ifdef USE_TRANSMISSIONMAP\n\n\tuniform mat3 transmissionMapTransform;\n\tvarying vec2 vTransmissionMapUv;\n\n#endif\n#ifdef USE_THICKNESSMAP\n\n\tuniform mat3 thicknessMapTransform;\n\tvarying vec2 vThicknessMapUv;\n\n#endif\n",uv_vertex:"\n#if defined( USE_UV ) || defined( USE_ANISOTROPY )\n\n\tvUv = vec3( uv, 1 ).xy;\n\n#endif\n#ifdef USE_MAP\n\n\tvMapUv = ( mapTransform * vec3( MAP_UV, 1 ) ).xy;\n\n#endif\n#ifdef USE_ALPHAMAP\n\n\tvAlphaMapUv = ( alphaMapTransform * vec3( ALPHAMAP_UV, 1 ) ).xy;\n\n#endif\n#ifdef USE_LIGHTMAP\n\n\tvLightMapUv = ( lightMapTransform * vec3( LIGHTMAP_UV, 1 ) ).xy;\n\n#endif\n#ifdef USE_AOMAP\n\n\tvAoMapUv = ( aoMapTransform * vec3( AOMAP_UV, 1 ) ).xy;\n\n#endif\n#ifdef USE_BUMPMAP\n\n\tvBumpMapUv = ( bumpMapTransform * vec3( BUMPMAP_UV, 1 ) ).xy;\n\n#endif\n#ifdef USE_NORMALMAP\n\n\tvNormalMapUv = ( normalMapTransform * vec3( NORMALMAP_UV, 1 ) ).xy;\n\n#endif\n#ifdef USE_DISPLACEMENTMAP\n\n\tvDisplacementMapUv = ( displacementMapTransform * vec3( DISPLACEMENTMAP_UV, 1 ) ).xy;\n\n#endif\n#ifdef USE_EMISSIVEMAP\n\n\tvEmissiveMapUv = ( emissiveMapTransform * vec3( EMISSIVEMAP_UV, 1 ) ).xy;\n\n#endif\n#ifdef USE_METALNESSMAP\n\n\tvMetalnessMapUv = ( metalnessMapTransform * vec3( METALNESSMAP_UV, 1 ) ).xy;\n\n#endif\n#ifdef USE_ROUGHNESSMAP\n\n\tvRoughnessMapUv = ( roughnessMapTransform * vec3( ROUGHNESSMAP_UV, 1 ) ).xy;\n\n#endif\n#ifdef USE_ANISOTROPYMAP\n\n\tvAnisotropyMapUv = ( anisotropyMapTransform * vec3( ANISOTROPYMAP_UV, 1 ) ).xy;\n\n#endif\n#ifdef USE_CLEARCOATMAP\n\n\tvClearcoatMapUv = ( clearcoatMapTransform * vec3( CLEARCOATMAP_UV, 1 ) ).xy;\n\n#endif\n#ifdef USE_CLEARCOAT_NORMALMAP\n\n\tvClearcoatNormalMapUv = ( clearcoatNormalMapTransform * vec3( CLEARCOAT_NORMALMAP_UV, 1 ) ).xy;\n\n#endif\n#ifdef USE_CLEARCOAT_ROUGHNESSMAP\n\n\tvClearcoatRoughnessMapUv = ( clearcoatRoughnessMapTransform * vec3( CLEARCOAT_ROUGHNESSMAP_UV, 1 ) ).xy;\n\n#endif\n#ifdef USE_IRIDESCENCEMAP\n\n\tvIridescenceMapUv = ( iridescenceMapTransform * vec3( IRIDESCENCEMAP_UV, 1 ) ).xy;\n\n#endif\n#ifdef USE_IRIDESCENCE_THICKNESSMAP\n\n\tvIridescenceThicknessMapUv = ( iridescenceThicknessMapTransform * vec3( IRIDESCENCE_THICKNESSMAP_UV, 1 ) ).xy;\n\n#endif\n#ifdef USE_SHEEN_COLORMAP\n\n\tvSheenColorMapUv = ( sheenColorMapTransform * vec3( SHEEN_COLORMAP_UV, 1 ) ).xy;\n\n#endif\n#ifdef USE_SHEEN_ROUGHNESSMAP\n\n\tvSheenRoughnessMapUv = ( sheenRoughnessMapTransform * vec3( SHEEN_ROUGHNESSMAP_UV, 1 ) ).xy;\n\n#endif\n#ifdef USE_SPECULARMAP\n\n\tvSpecularMapUv = ( specularMapTransform * vec3( SPECULARMAP_UV, 1 ) ).xy;\n\n#endif\n#ifdef USE_SPECULAR_COLORMAP\n\n\tvSpecularColorMapUv = ( specularColorMapTransform * vec3( SPECULAR_COLORMAP_UV, 1 ) ).xy;\n\n#endif\n#ifdef USE_SPECULAR_INTENSITYMAP\n\n\tvSpecularIntensityMapUv = ( specularIntensityMapTransform * vec3( SPECULAR_INTENSITYMAP_UV, 1 ) ).xy;\n\n#endif\n#ifdef USE_TRANSMISSIONMAP\n\n\tvTransmissionMapUv = ( transmissionMapTransform * vec3( TRANSMISSIONMAP_UV, 1 ) ).xy;\n\n#endif\n#ifdef USE_THICKNESSMAP\n\n\tvThicknessMapUv = ( thicknessMapTransform * vec3( THICKNESSMAP_UV, 1 ) ).xy;\n\n#endif\n",worldpos_vertex:"\n#if defined( USE_ENVMAP ) || defined( DISTANCE ) || defined ( USE_SHADOWMAP ) || defined ( USE_TRANSMISSION ) || NUM_SPOT_LIGHT_COORDS > 0\n\n\tvec4 worldPosition = vec4( transformed, 1.0 );\n\n\t#ifdef USE_BATCHING\n\n\t\tworldPosition = batchingMatrix * worldPosition;\n\n\t#endif\n\n\t#ifdef USE_INSTANCING\n\n\t\tworldPosition = instanceMatrix * worldPosition;\n\n\t#endif\n\n\tworldPosition = modelMatrix * worldPosition;\n\n#endif\n",background_vert:"\nvarying vec2 vUv;\nuniform mat3 uvTransform;\n\nvoid main() {\n\n\tvUv = ( uvTransform * vec3( uv, 1 ) ).xy;\n\n\tgl_Position = vec4( position.xy, 1.0, 1.0 );\n\n}\n",background_frag:"\nuniform sampler2D t2D;\nuniform float backgroundIntensity;\n\nvarying vec2 vUv;\n\nvoid main() {\n\n\tvec4 texColor = texture2D( t2D, vUv );\n\n\t#ifdef DECODE_VIDEO_TEXTURE\n\n\t\t// use inline sRGB decode until browsers properly support SRGB8_ALPHA8 with video textures\n\n\t\ttexColor = vec4( mix( pow( texColor.rgb * 0.9478672986 + vec3( 0.0521327014 ), vec3( 2.4 ) ), texColor.rgb * 0.0773993808, vec3( lessThanEqual( texColor.rgb, vec3( 0.04045 ) ) ) ), texColor.w );\n\n\t#endif\n\n\ttexColor.rgb *= backgroundIntensity;\n\n\tgl_FragColor = texColor;\n\n\t#include <tonemapping_fragment>\n\t#include <colorspace_fragment>\n\n}\n",backgroundCube_vert:"\nvarying vec3 vWorldDirection;\n\n#include <common>\n\nvoid main() {\n\n\tvWorldDirection = transformDirection( position, modelMatrix );\n\n\t#include <begin_vertex>\n\t#include <project_vertex>\n\n\tgl_Position.z = gl_Position.w; // set z to camera.far\n\n}\n",backgroundCube_frag:"\n\n#ifdef ENVMAP_TYPE_CUBE\n\n\tuniform samplerCube envMap;\n\n#elif defined( ENVMAP_TYPE_CUBE_UV )\n\n\tuniform sampler2D envMap;\n\n#endif\n\nuniform float flipEnvMap;\nuniform float backgroundBlurriness;\nuniform float backgroundIntensity;\nuniform mat3 backgroundRotation;\n\nvarying vec3 vWorldDirection;\n\n#include <cube_uv_reflection_fragment>\n\nvoid main() {\n\n\t#ifdef ENVMAP_TYPE_CUBE\n\n\t\tvec4 texColor = textureCube( envMap, backgroundRotation * vec3( flipEnvMap * vWorldDirection.x, vWorldDirection.yz ) );\n\n\t#elif defined( ENVMAP_TYPE_CUBE_UV )\n\n\t\tvec4 texColor = textureCubeUV( envMap, backgroundRotation * vWorldDirection, backgroundBlurriness );\n\n\t#else\n\n\t\tvec4 texColor = vec4( 0.0, 0.0, 0.0, 1.0 );\n\n\t#endif\n\n\ttexColor.rgb *= backgroundIntensity;\n\n\tgl_FragColor = texColor;\n\n\t#include <tonemapping_fragment>\n\t#include <colorspace_fragment>\n\n}\n",cube_vert:"\nvarying vec3 vWorldDirection;\n\n#include <common>\n\nvoid main() {\n\n\tvWorldDirection = transformDirection( position, modelMatrix );\n\n\t#include <begin_vertex>\n\t#include <project_vertex>\n\n\tgl_Position.z = gl_Position.w; // set z to camera.far\n\n}\n",cube_frag:"\nuniform samplerCube tCube;\nuniform float tFlip;\nuniform float opacity;\n\nvarying vec3 vWorldDirection;\n\nvoid main() {\n\n\tvec4 texColor = textureCube( tCube, vec3( tFlip * vWorldDirection.x, vWorldDirection.yz ) );\n\n\tgl_FragColor = texColor;\n\tgl_FragColor.a *= opacity;\n\n\t#include <tonemapping_fragment>\n\t#include <colorspace_fragment>\n\n}\n",depth_vert:"\n#include <common>\n#include <batching_pars_vertex>\n#include <uv_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\n\n// This is used for computing an equivalent of gl_FragCoord.z that is as high precision as possible.\n// Some platforms compute gl_FragCoord at a lower precision which makes the manually computed value better for\n// depth-based postprocessing effects. Reproduced on iPad with A10 processor / iPadOS 13.3.1.\nvarying vec2 vHighPrecisionZW;\n\nvoid main() {\n\n\t#include <uv_vertex>\n\n\t#include <batching_vertex>\n\t#include <skinbase_vertex>\n\n\t#include <morphinstance_vertex>\n\n\t#ifdef USE_DISPLACEMENTMAP\n\n\t\t#include <beginnormal_vertex>\n\t\t#include <morphnormal_vertex>\n\t\t#include <skinnormal_vertex>\n\n\t#endif\n\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\n\tvHighPrecisionZW = gl_Position.zw;\n\n}\n",depth_frag:"\n#if DEPTH_PACKING == 3200\n\n\tuniform float opacity;\n\n#endif\n\n#include <common>\n#include <packing>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <alphahash_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\n\nvarying vec2 vHighPrecisionZW;\n\nvoid main() {\n\n\tvec4 diffuseColor = vec4( 1.0 );\n\t#include <clipping_planes_fragment>\n\n\t#if DEPTH_PACKING == 3200\n\n\t\tdiffuseColor.a = opacity;\n\n\t#endif\n\n\t#include <map_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <alphahash_fragment>\n\n\t#include <logdepthbuf_fragment>\n\n\t// Higher precision equivalent of gl_FragCoord.z\n\n\t#ifdef USE_REVERSED_DEPTH_BUFFER\n\n\t\tfloat fragCoordZ = vHighPrecisionZW[ 0 ] / vHighPrecisionZW[ 1 ];\n\n\t#else\n\n\t\tfloat fragCoordZ = 0.5 * vHighPrecisionZW[ 0 ] / vHighPrecisionZW[ 1 ] + 0.5;\n\n\t#endif\n\n\t#if DEPTH_PACKING == 3200\n\n\t\tgl_FragColor = vec4( vec3( 1.0 - fragCoordZ ), opacity );\n\n\t#elif DEPTH_PACKING == 3201\n\n\t\tgl_FragColor = packDepthToRGBA( fragCoordZ );\n\n\t#elif DEPTH_PACKING == 3202\n\n\t\tgl_FragColor = vec4( packDepthToRGB( fragCoordZ ), 1.0 );\n\n\t#elif DEPTH_PACKING == 3203\n\n\t\tgl_FragColor = vec4( packDepthToRG( fragCoordZ ), 0.0, 1.0 );\n\n\t#endif\n\n}\n",distanceRGBA_vert:"\n#define DISTANCE\n\nvarying vec3 vWorldPosition;\n\n#include <common>\n#include <batching_pars_vertex>\n#include <uv_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <clipping_planes_pars_vertex>\n\nvoid main() {\n\n\t#include <uv_vertex>\n\n\t#include <batching_vertex>\n\t#include <skinbase_vertex>\n\n\t#include <morphinstance_vertex>\n\n\t#ifdef USE_DISPLACEMENTMAP\n\n\t\t#include <beginnormal_vertex>\n\t\t#include <morphnormal_vertex>\n\t\t#include <skinnormal_vertex>\n\n\t#endif\n\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <worldpos_vertex>\n\t#include <clipping_planes_vertex>\n\n\tvWorldPosition = worldPosition.xyz;\n\n}\n",distanceRGBA_frag:"\n#define DISTANCE\n\nuniform vec3 referencePosition;\nuniform float nearDistance;\nuniform float farDistance;\nvarying vec3 vWorldPosition;\n\n#include <common>\n#include <packing>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <alphahash_pars_fragment>\n#include <clipping_planes_pars_fragment>\n\nvoid main () {\n\n\tvec4 diffuseColor = vec4( 1.0 );\n\t#include <clipping_planes_fragment>\n\n\t#include <map_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <alphahash_fragment>\n\n\tfloat dist = length( vWorldPosition - referencePosition );\n\tdist = ( dist - nearDistance ) / ( farDistance - nearDistance );\n\tdist = saturate( dist ); // clamp to [ 0, 1 ]\n\n\tgl_FragColor = packDepthToRGBA( dist );\n\n}\n",equirect_vert:"\nvarying vec3 vWorldDirection;\n\n#include <common>\n\nvoid main() {\n\n\tvWorldDirection = transformDirection( position, modelMatrix );\n\n\t#include <begin_vertex>\n\t#include <project_vertex>\n\n}\n",equirect_frag:"\nuniform sampler2D tEquirect;\n\nvarying vec3 vWorldDirection;\n\n#include <common>\n\nvoid main() {\n\n\tvec3 direction = normalize( vWorldDirection );\n\n\tvec2 sampleUV = equirectUv( direction );\n\n\tgl_FragColor = texture2D( tEquirect, sampleUV );\n\n\t#include <tonemapping_fragment>\n\t#include <colorspace_fragment>\n\n}\n",linedashed_vert:"\nuniform float scale;\nattribute float lineDistance;\n\nvarying float vLineDistance;\n\n#include <common>\n#include <uv_pars_vertex>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\n\nvoid main() {\n\n\tvLineDistance = scale * lineDistance;\n\n\t#include <uv_vertex>\n\t#include <color_vertex>\n\t#include <morphinstance_vertex>\n\t#include <morphcolor_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\t#include <fog_vertex>\n\n}\n",linedashed_frag:"\nuniform vec3 diffuse;\nuniform float opacity;\n\nuniform float dashSize;\nuniform float totalSize;\n\nvarying float vLineDistance;\n\n#include <common>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <fog_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\n\nvoid main() {\n\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include <clipping_planes_fragment>\n\n\tif ( mod( vLineDistance, totalSize ) > dashSize ) {\n\n\t\tdiscard;\n\n\t}\n\n\tvec3 outgoingLight = vec3( 0.0 );\n\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <color_fragment>\n\n\toutgoingLight = diffuseColor.rgb; // simple shader\n\n\t#include <opaque_fragment>\n\t#include <tonemapping_fragment>\n\t#include <colorspace_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n\n}\n",meshbasic_vert:"\n#include <common>\n#include <batching_pars_vertex>\n#include <uv_pars_vertex>\n#include <envmap_pars_vertex>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\n\nvoid main() {\n\n\t#include <uv_vertex>\n\t#include <color_vertex>\n\t#include <morphinstance_vertex>\n\t#include <morphcolor_vertex>\n\t#include <batching_vertex>\n\n\t#if defined ( USE_ENVMAP ) || defined ( USE_SKINNING )\n\n\t\t#include <beginnormal_vertex>\n\t\t#include <morphnormal_vertex>\n\t\t#include <skinbase_vertex>\n\t\t#include <skinnormal_vertex>\n\t\t#include <defaultnormal_vertex>\n\n\t#endif\n\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\n\t#include <worldpos_vertex>\n\t#include <envmap_vertex>\n\t#include <fog_vertex>\n\n}\n",meshbasic_frag:"\nuniform vec3 diffuse;\nuniform float opacity;\n\n#ifndef FLAT_SHADED\n\n\tvarying vec3 vNormal;\n\n#endif\n\n#include <common>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <alphahash_pars_fragment>\n#include <aomap_pars_fragment>\n#include <lightmap_pars_fragment>\n#include <envmap_common_pars_fragment>\n#include <envmap_pars_fragment>\n#include <fog_pars_fragment>\n#include <specularmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\n\nvoid main() {\n\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include <clipping_planes_fragment>\n\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <color_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <alphahash_fragment>\n\t#include <specularmap_fragment>\n\n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\n\t// accumulation (baked indirect lighting only)\n\t#ifdef USE_LIGHTMAP\n\n\t\tvec4 lightMapTexel = texture2D( lightMap, vLightMapUv );\n\t\treflectedLight.indirectDiffuse += lightMapTexel.rgb * lightMapIntensity * RECIPROCAL_PI;\n\n\t#else\n\n\t\treflectedLight.indirectDiffuse += vec3( 1.0 );\n\n\t#endif\n\n\t// modulation\n\t#include <aomap_fragment>\n\n\treflectedLight.indirectDiffuse *= diffuseColor.rgb;\n\n\tvec3 outgoingLight = reflectedLight.indirectDiffuse;\n\n\t#include <envmap_fragment>\n\n\t#include <opaque_fragment>\n\t#include <tonemapping_fragment>\n\t#include <colorspace_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n\t#include <dithering_fragment>\n\n}\n",meshlambert_vert:"\n#define LAMBERT\n\nvarying vec3 vViewPosition;\n\n#include <common>\n#include <batching_pars_vertex>\n#include <uv_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <envmap_pars_vertex>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <normal_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <shadowmap_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\n\nvoid main() {\n\n\t#include <uv_vertex>\n\t#include <color_vertex>\n\t#include <morphinstance_vertex>\n\t#include <morphcolor_vertex>\n\t#include <batching_vertex>\n\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n\t#include <normal_vertex>\n\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\n\tvViewPosition = - mvPosition.xyz;\n\n\t#include <worldpos_vertex>\n\t#include <envmap_vertex>\n\t#include <shadowmap_vertex>\n\t#include <fog_vertex>\n\n}\n",meshlambert_frag:"\n#define LAMBERT\n\nuniform vec3 diffuse;\nuniform vec3 emissive;\nuniform float opacity;\n\n#include <common>\n#include <packing>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <alphahash_pars_fragment>\n#include <aomap_pars_fragment>\n#include <lightmap_pars_fragment>\n#include <emissivemap_pars_fragment>\n#include <envmap_common_pars_fragment>\n#include <envmap_pars_fragment>\n#include <fog_pars_fragment>\n#include <bsdfs>\n#include <lights_pars_begin>\n#include <normal_pars_fragment>\n#include <lights_lambert_pars_fragment>\n#include <shadowmap_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <specularmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\n\nvoid main() {\n\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include <clipping_planes_fragment>\n\n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\tvec3 totalEmissiveRadiance = emissive;\n\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <color_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <alphahash_fragment>\n\t#include <specularmap_fragment>\n\t#include <normal_fragment_begin>\n\t#include <normal_fragment_maps>\n\t#include <emissivemap_fragment>\n\n\t// accumulation\n\t#include <lights_lambert_fragment>\n\t#include <lights_fragment_begin>\n\t#include <lights_fragment_maps>\n\t#include <lights_fragment_end>\n\n\t// modulation\n\t#include <aomap_fragment>\n\n\tvec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + totalEmissiveRadiance;\n\n\t#include <envmap_fragment>\n\t#include <opaque_fragment>\n\t#include <tonemapping_fragment>\n\t#include <colorspace_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n\t#include <dithering_fragment>\n\n}\n",meshmatcap_vert:"\n#define MATCAP\n\nvarying vec3 vViewPosition;\n\n#include <common>\n#include <batching_pars_vertex>\n#include <uv_pars_vertex>\n#include <color_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <fog_pars_vertex>\n#include <normal_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\n\nvoid main() {\n\n\t#include <uv_vertex>\n\t#include <color_vertex>\n\t#include <morphinstance_vertex>\n\t#include <morphcolor_vertex>\n\t#include <batching_vertex>\n\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n\t#include <normal_vertex>\n\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\t#include <fog_vertex>\n\n\tvViewPosition = - mvPosition.xyz;\n\n}\n",meshmatcap_frag:"\n#define MATCAP\n\nuniform vec3 diffuse;\nuniform float opacity;\nuniform sampler2D matcap;\n\nvarying vec3 vViewPosition;\n\n#include <common>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <alphahash_pars_fragment>\n#include <fog_pars_fragment>\n#include <normal_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\n\nvoid main() {\n\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include <clipping_planes_fragment>\n\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <color_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <alphahash_fragment>\n\t#include <normal_fragment_begin>\n\t#include <normal_fragment_maps>\n\n\tvec3 viewDir = normalize( vViewPosition );\n\tvec3 x = normalize( vec3( viewDir.z, 0.0, - viewDir.x ) );\n\tvec3 y = cross( viewDir, x );\n\tvec2 uv = vec2( dot( x, normal ), dot( y, normal ) ) * 0.495 + 0.5; // 0.495 to remove artifacts caused by undersized matcap disks\n\n\t#ifdef USE_MATCAP\n\n\t\tvec4 matcapColor = texture2D( matcap, uv );\n\n\t#else\n\n\t\tvec4 matcapColor = vec4( vec3( mix( 0.2, 0.8, uv.y ) ), 1.0 ); // default if matcap is missing\n\n\t#endif\n\n\tvec3 outgoingLight = diffuseColor.rgb * matcapColor.rgb;\n\n\t#include <opaque_fragment>\n\t#include <tonemapping_fragment>\n\t#include <colorspace_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n\t#include <dithering_fragment>\n\n}\n",meshnormal_vert:"\n#define NORMAL\n\n#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( USE_NORMALMAP_TANGENTSPACE )\n\n\tvarying vec3 vViewPosition;\n\n#endif\n\n#include <common>\n#include <batching_pars_vertex>\n#include <uv_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <normal_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\n\nvoid main() {\n\n\t#include <uv_vertex>\n\t#include <batching_vertex>\n\n\t#include <beginnormal_vertex>\n\t#include <morphinstance_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n\t#include <normal_vertex>\n\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\n#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( USE_NORMALMAP_TANGENTSPACE )\n\n\tvViewPosition = - mvPosition.xyz;\n\n#endif\n\n}\n",meshnormal_frag:"\n#define NORMAL\n\nuniform float opacity;\n\n#if defined( FLAT_SHADED ) || defined( USE_BUMPMAP ) || defined( USE_NORMALMAP_TANGENTSPACE )\n\n\tvarying vec3 vViewPosition;\n\n#endif\n\n#include <packing>\n#include <uv_pars_fragment>\n#include <normal_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\n\nvoid main() {\n\n\tvec4 diffuseColor = vec4( 0.0, 0.0, 0.0, opacity );\n\n\t#include <clipping_planes_fragment>\n\t#include <logdepthbuf_fragment>\n\t#include <normal_fragment_begin>\n\t#include <normal_fragment_maps>\n\n\tgl_FragColor = vec4( packNormalToRGB( normal ), diffuseColor.a );\n\n\t#ifdef OPAQUE\n\n\t\tgl_FragColor.a = 1.0;\n\n\t#endif\n\n}\n",meshphong_vert:"\n#define PHONG\n\nvarying vec3 vViewPosition;\n\n#include <common>\n#include <batching_pars_vertex>\n#include <uv_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <envmap_pars_vertex>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <normal_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <shadowmap_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\n\nvoid main() {\n\n\t#include <uv_vertex>\n\t#include <color_vertex>\n\t#include <morphcolor_vertex>\n\t#include <batching_vertex>\n\n\t#include <beginnormal_vertex>\n\t#include <morphinstance_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n\t#include <normal_vertex>\n\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\n\tvViewPosition = - mvPosition.xyz;\n\n\t#include <worldpos_vertex>\n\t#include <envmap_vertex>\n\t#include <shadowmap_vertex>\n\t#include <fog_vertex>\n\n}\n",meshphong_frag:"\n#define PHONG\n\nuniform vec3 diffuse;\nuniform vec3 emissive;\nuniform vec3 specular;\nuniform float shininess;\nuniform float opacity;\n\n#include <common>\n#include <packing>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <alphahash_pars_fragment>\n#include <aomap_pars_fragment>\n#include <lightmap_pars_fragment>\n#include <emissivemap_pars_fragment>\n#include <envmap_common_pars_fragment>\n#include <envmap_pars_fragment>\n#include <fog_pars_fragment>\n#include <bsdfs>\n#include <lights_pars_begin>\n#include <normal_pars_fragment>\n#include <lights_phong_pars_fragment>\n#include <shadowmap_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <specularmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\n\nvoid main() {\n\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include <clipping_planes_fragment>\n\n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\tvec3 totalEmissiveRadiance = emissive;\n\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <color_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <alphahash_fragment>\n\t#include <specularmap_fragment>\n\t#include <normal_fragment_begin>\n\t#include <normal_fragment_maps>\n\t#include <emissivemap_fragment>\n\n\t// accumulation\n\t#include <lights_phong_fragment>\n\t#include <lights_fragment_begin>\n\t#include <lights_fragment_maps>\n\t#include <lights_fragment_end>\n\n\t// modulation\n\t#include <aomap_fragment>\n\n\tvec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + reflectedLight.directSpecular + reflectedLight.indirectSpecular + totalEmissiveRadiance;\n\n\t#include <envmap_fragment>\n\t#include <opaque_fragment>\n\t#include <tonemapping_fragment>\n\t#include <colorspace_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n\t#include <dithering_fragment>\n\n}\n",meshphysical_vert:"\n#define STANDARD\n\nvarying vec3 vViewPosition;\n\n#ifdef USE_TRANSMISSION\n\n\tvarying vec3 vWorldPosition;\n\n#endif\n\n#include <common>\n#include <batching_pars_vertex>\n#include <uv_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <normal_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <shadowmap_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\n\nvoid main() {\n\n\t#include <uv_vertex>\n\t#include <color_vertex>\n\t#include <morphinstance_vertex>\n\t#include <morphcolor_vertex>\n\t#include <batching_vertex>\n\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n\t#include <normal_vertex>\n\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\n\tvViewPosition = - mvPosition.xyz;\n\n\t#include <worldpos_vertex>\n\t#include <shadowmap_vertex>\n\t#include <fog_vertex>\n\n#ifdef USE_TRANSMISSION\n\n\tvWorldPosition = worldPosition.xyz;\n\n#endif\n}\n",meshphysical_frag:"\n#define STANDARD\n\n#ifdef PHYSICAL\n\t#define IOR\n\t#define USE_SPECULAR\n#endif\n\nuniform vec3 diffuse;\nuniform vec3 emissive;\nuniform float roughness;\nuniform float metalness;\nuniform float opacity;\n\n#ifdef IOR\n\tuniform float ior;\n#endif\n\n#ifdef USE_SPECULAR\n\tuniform float specularIntensity;\n\tuniform vec3 specularColor;\n\n\t#ifdef USE_SPECULAR_COLORMAP\n\t\tuniform sampler2D specularColorMap;\n\t#endif\n\n\t#ifdef USE_SPECULAR_INTENSITYMAP\n\t\tuniform sampler2D specularIntensityMap;\n\t#endif\n#endif\n\n#ifdef USE_CLEARCOAT\n\tuniform float clearcoat;\n\tuniform float clearcoatRoughness;\n#endif\n\n#ifdef USE_DISPERSION\n\tuniform float dispersion;\n#endif\n\n#ifdef USE_IRIDESCENCE\n\tuniform float iridescence;\n\tuniform float iridescenceIOR;\n\tuniform float iridescenceThicknessMinimum;\n\tuniform float iridescenceThicknessMaximum;\n#endif\n\n#ifdef USE_SHEEN\n\tuniform vec3 sheenColor;\n\tuniform float sheenRoughness;\n\n\t#ifdef USE_SHEEN_COLORMAP\n\t\tuniform sampler2D sheenColorMap;\n\t#endif\n\n\t#ifdef USE_SHEEN_ROUGHNESSMAP\n\t\tuniform sampler2D sheenRoughnessMap;\n\t#endif\n#endif\n\n#ifdef USE_ANISOTROPY\n\tuniform vec2 anisotropyVector;\n\n\t#ifdef USE_ANISOTROPYMAP\n\t\tuniform sampler2D anisotropyMap;\n\t#endif\n#endif\n\nvarying vec3 vViewPosition;\n\n#include <common>\n#include <packing>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <alphahash_pars_fragment>\n#include <aomap_pars_fragment>\n#include <lightmap_pars_fragment>\n#include <emissivemap_pars_fragment>\n#include <iridescence_fragment>\n#include <cube_uv_reflection_fragment>\n#include <envmap_common_pars_fragment>\n#include <envmap_physical_pars_fragment>\n#include <fog_pars_fragment>\n#include <lights_pars_begin>\n#include <normal_pars_fragment>\n#include <lights_physical_pars_fragment>\n#include <transmission_pars_fragment>\n#include <shadowmap_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <clearcoat_pars_fragment>\n#include <iridescence_pars_fragment>\n#include <roughnessmap_pars_fragment>\n#include <metalnessmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\n\nvoid main() {\n\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include <clipping_planes_fragment>\n\n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\tvec3 totalEmissiveRadiance = emissive;\n\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <color_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <alphahash_fragment>\n\t#include <roughnessmap_fragment>\n\t#include <metalnessmap_fragment>\n\t#include <normal_fragment_begin>\n\t#include <normal_fragment_maps>\n\t#include <clearcoat_normal_fragment_begin>\n\t#include <clearcoat_normal_fragment_maps>\n\t#include <emissivemap_fragment>\n\n\t// accumulation\n\t#include <lights_physical_fragment>\n\t#include <lights_fragment_begin>\n\t#include <lights_fragment_maps>\n\t#include <lights_fragment_end>\n\n\t// modulation\n\t#include <aomap_fragment>\n\n\tvec3 totalDiffuse = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse;\n\tvec3 totalSpecular = reflectedLight.directSpecular + reflectedLight.indirectSpecular;\n\n\t#include <transmission_fragment>\n\n\tvec3 outgoingLight = totalDiffuse + totalSpecular + totalEmissiveRadiance;\n\n\t#ifdef USE_SHEEN\n\n\t\t// Sheen energy compensation approximation calculation can be found at the end of\n\t\t// https://drive.google.com/file/d/1T0D1VSyR4AllqIJTQAraEIzjlb5h4FKH/view?usp=sharing\n\t\tfloat sheenEnergyComp = 1.0 - 0.157 * max3( material.sheenColor );\n\n\t\toutgoingLight = outgoingLight * sheenEnergyComp + sheenSpecularDirect + sheenSpecularIndirect;\n\n\t#endif\n\n\t#ifdef USE_CLEARCOAT\n\n\t\tfloat dotNVcc = saturate( dot( geometryClearcoatNormal, geometryViewDir ) );\n\n\t\tvec3 Fcc = F_Schlick( material.clearcoatF0, material.clearcoatF90, dotNVcc );\n\n\t\toutgoingLight = outgoingLight * ( 1.0 - material.clearcoat * Fcc ) + ( clearcoatSpecularDirect + clearcoatSpecularIndirect ) * material.clearcoat;\n\n\t#endif\n\n\t#include <opaque_fragment>\n\t#include <tonemapping_fragment>\n\t#include <colorspace_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n\t#include <dithering_fragment>\n\n}\n",meshtoon_vert:"\n#define TOON\n\nvarying vec3 vViewPosition;\n\n#include <common>\n#include <batching_pars_vertex>\n#include <uv_pars_vertex>\n#include <displacementmap_pars_vertex>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <normal_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <shadowmap_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\n\nvoid main() {\n\n\t#include <uv_vertex>\n\t#include <color_vertex>\n\t#include <morphinstance_vertex>\n\t#include <morphcolor_vertex>\n\t#include <batching_vertex>\n\n\t#include <beginnormal_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n\t#include <normal_vertex>\n\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <displacementmap_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\n\tvViewPosition = - mvPosition.xyz;\n\n\t#include <worldpos_vertex>\n\t#include <shadowmap_vertex>\n\t#include <fog_vertex>\n\n}\n",meshtoon_frag:"\n#define TOON\n\nuniform vec3 diffuse;\nuniform vec3 emissive;\nuniform float opacity;\n\n#include <common>\n#include <packing>\n#include <dithering_pars_fragment>\n#include <color_pars_fragment>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <alphahash_pars_fragment>\n#include <aomap_pars_fragment>\n#include <lightmap_pars_fragment>\n#include <emissivemap_pars_fragment>\n#include <gradientmap_pars_fragment>\n#include <fog_pars_fragment>\n#include <bsdfs>\n#include <lights_pars_begin>\n#include <normal_pars_fragment>\n#include <lights_toon_pars_fragment>\n#include <shadowmap_pars_fragment>\n#include <bumpmap_pars_fragment>\n#include <normalmap_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\n\nvoid main() {\n\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include <clipping_planes_fragment>\n\n\tReflectedLight reflectedLight = ReflectedLight( vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ), vec3( 0.0 ) );\n\tvec3 totalEmissiveRadiance = emissive;\n\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <color_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <alphahash_fragment>\n\t#include <normal_fragment_begin>\n\t#include <normal_fragment_maps>\n\t#include <emissivemap_fragment>\n\n\t// accumulation\n\t#include <lights_toon_fragment>\n\t#include <lights_fragment_begin>\n\t#include <lights_fragment_maps>\n\t#include <lights_fragment_end>\n\n\t// modulation\n\t#include <aomap_fragment>\n\n\tvec3 outgoingLight = reflectedLight.directDiffuse + reflectedLight.indirectDiffuse + totalEmissiveRadiance;\n\n\t#include <opaque_fragment>\n\t#include <tonemapping_fragment>\n\t#include <colorspace_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n\t#include <dithering_fragment>\n\n}\n",points_vert:"\nuniform float size;\nuniform float scale;\n\n#include <common>\n#include <color_pars_vertex>\n#include <fog_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\n\n#ifdef USE_POINTS_UV\n\n\tvarying vec2 vUv;\n\tuniform mat3 uvTransform;\n\n#endif\n\nvoid main() {\n\n\t#ifdef USE_POINTS_UV\n\n\t\tvUv = ( uvTransform * vec3( uv, 1 ) ).xy;\n\n\t#endif\n\n\t#include <color_vertex>\n\t#include <morphinstance_vertex>\n\t#include <morphcolor_vertex>\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <project_vertex>\n\n\tgl_PointSize = size;\n\n\t#ifdef USE_SIZEATTENUATION\n\n\t\tbool isPerspective = isPerspectiveMatrix( projectionMatrix );\n\n\t\tif ( isPerspective ) gl_PointSize *= ( scale / - mvPosition.z );\n\n\t#endif\n\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\t#include <worldpos_vertex>\n\t#include <fog_vertex>\n\n}\n",points_frag:"\nuniform vec3 diffuse;\nuniform float opacity;\n\n#include <common>\n#include <color_pars_fragment>\n#include <map_particle_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <alphahash_pars_fragment>\n#include <fog_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\n\nvoid main() {\n\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include <clipping_planes_fragment>\n\n\tvec3 outgoingLight = vec3( 0.0 );\n\n\t#include <logdepthbuf_fragment>\n\t#include <map_particle_fragment>\n\t#include <color_fragment>\n\t#include <alphatest_fragment>\n\t#include <alphahash_fragment>\n\n\toutgoingLight = diffuseColor.rgb;\n\n\t#include <opaque_fragment>\n\t#include <tonemapping_fragment>\n\t#include <colorspace_fragment>\n\t#include <fog_fragment>\n\t#include <premultiplied_alpha_fragment>\n\n}\n",shadow_vert:"\n#include <common>\n#include <batching_pars_vertex>\n#include <fog_pars_vertex>\n#include <morphtarget_pars_vertex>\n#include <skinning_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <shadowmap_pars_vertex>\n\nvoid main() {\n\n\t#include <batching_vertex>\n\n\t#include <beginnormal_vertex>\n\t#include <morphinstance_vertex>\n\t#include <morphnormal_vertex>\n\t#include <skinbase_vertex>\n\t#include <skinnormal_vertex>\n\t#include <defaultnormal_vertex>\n\n\t#include <begin_vertex>\n\t#include <morphtarget_vertex>\n\t#include <skinning_vertex>\n\t#include <project_vertex>\n\t#include <logdepthbuf_vertex>\n\n\t#include <worldpos_vertex>\n\t#include <shadowmap_vertex>\n\t#include <fog_vertex>\n\n}\n",shadow_frag:"\nuniform vec3 color;\nuniform float opacity;\n\n#include <common>\n#include <packing>\n#include <fog_pars_fragment>\n#include <bsdfs>\n#include <lights_pars_begin>\n#include <logdepthbuf_pars_fragment>\n#include <shadowmap_pars_fragment>\n#include <shadowmask_pars_fragment>\n\nvoid main() {\n\n\t#include <logdepthbuf_fragment>\n\n\tgl_FragColor = vec4( color, opacity * ( 1.0 - getShadowMask() ) );\n\n\t#include <tonemapping_fragment>\n\t#include <colorspace_fragment>\n\t#include <fog_fragment>\n\n}\n",sprite_vert:"\nuniform float rotation;\nuniform vec2 center;\n\n#include <common>\n#include <uv_pars_vertex>\n#include <fog_pars_vertex>\n#include <logdepthbuf_pars_vertex>\n#include <clipping_planes_pars_vertex>\n\nvoid main() {\n\n\t#include <uv_vertex>\n\n\tvec4 mvPosition = modelViewMatrix[ 3 ];\n\n\tvec2 scale = vec2( length( modelMatrix[ 0 ].xyz ), length( modelMatrix[ 1 ].xyz ) );\n\n\t#ifndef USE_SIZEATTENUATION\n\n\t\tbool isPerspective = isPerspectiveMatrix( projectionMatrix );\n\n\t\tif ( isPerspective ) scale *= - mvPosition.z;\n\n\t#endif\n\n\tvec2 alignedPosition = ( position.xy - ( center - vec2( 0.5 ) ) ) * scale;\n\n\tvec2 rotatedPosition;\n\trotatedPosition.x = cos( rotation ) * alignedPosition.x - sin( rotation ) * alignedPosition.y;\n\trotatedPosition.y = sin( rotation ) * alignedPosition.x + cos( rotation ) * alignedPosition.y;\n\n\tmvPosition.xy += rotatedPosition;\n\n\tgl_Position = projectionMatrix * mvPosition;\n\n\t#include <logdepthbuf_vertex>\n\t#include <clipping_planes_vertex>\n\t#include <fog_vertex>\n\n}\n",sprite_frag:"\nuniform vec3 diffuse;\nuniform float opacity;\n\n#include <common>\n#include <uv_pars_fragment>\n#include <map_pars_fragment>\n#include <alphamap_pars_fragment>\n#include <alphatest_pars_fragment>\n#include <alphahash_pars_fragment>\n#include <fog_pars_fragment>\n#include <logdepthbuf_pars_fragment>\n#include <clipping_planes_pars_fragment>\n\nvoid main() {\n\n\tvec4 diffuseColor = vec4( diffuse, opacity );\n\t#include <clipping_planes_fragment>\n\n\tvec3 outgoingLight = vec3( 0.0 );\n\n\t#include <logdepthbuf_fragment>\n\t#include <map_fragment>\n\t#include <alphamap_fragment>\n\t#include <alphatest_fragment>\n\t#include <alphahash_fragment>\n\n\toutgoingLight = diffuseColor.rgb;\n\n\t#include <opaque_fragment>\n\t#include <tonemapping_fragment>\n\t#include <colorspace_fragment>\n\t#include <fog_fragment>\n\n}\n"};window.PatchHooks.HookShaderChunk(Bu);const Uu={common:{diffuse:{value:new mi(16777215)},opacity:{value:1},map:{value:null},mapTransform:{value:new xr},alphaMap:{value:null},alphaMapTransform:{value:new xr},alphaTest:{value:0}},specularmap:{specularMap:{value:null},specularMapTransform:{value:new xr}},envmap:{envMap:{value:null},envMapRotation:{value:new xr},flipEnvMap:{value:-1},reflectivity:{value:1},ior:{value:1.5},refractionRatio:{value:.98}},aomap:{aoMap:{value:null},aoMapIntensity:{value:1},aoMapTransform:{value:new xr}},lightmap:{lightMap:{value:null},lightMapIntensity:{value:1},lightMapTransform:{value:new xr}},bumpmap:{bumpMap:{value:null},bumpMapTransform:{value:new xr},bumpScale:{value:1}},normalmap:{normalMap:{value:null},normalMapTransform:{value:new xr},normalScale:{value:new fr(1,1)}},displacementmap:{displacementMap:{value:null},displacementMapTransform:{value:new xr},displacementScale:{value:1},displacementBias:{value:0}},emissivemap:{emissiveMap:{value:null},emissiveMapTransform:{value:new xr}},metalnessmap:{metalnessMap:{value:null},metalnessMapTransform:{value:new xr}},roughnessmap:{roughnessMap:{value:null},roughnessMapTransform:{value:new xr}},gradientmap:{gradientMap:{value:null}},fog:{fogDensity:{value:25e-5},fogNear:{value:1},fogFar:{value:2e3},fogColor:{value:new mi(16777215)}},lights:{ambientLightColor:{value:[]},lightProbe:{value:[]},directionalLights:{value:[],properties:{direction:{},color:{}}},directionalLightShadows:{value:[],properties:{shadowIntensity:1,shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{}}},directionalShadowMap:{value:[]},directionalShadowMatrix:{value:[]},spotLights:{value:[],properties:{color:{},position:{},direction:{},distance:{},coneCos:{},penumbraCos:{},decay:{}}},spotLightShadows:{value:[],properties:{shadowIntensity:1,shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{}}},spotLightMap:{value:[]},spotShadowMap:{value:[]},spotLightMatrix:{value:[]},pointLights:{value:[],properties:{color:{},position:{},decay:{},distance:{}}},pointLightShadows:{value:[],properties:{shadowIntensity:1,shadowBias:{},shadowNormalBias:{},shadowRadius:{},shadowMapSize:{},shadowCameraNear:{},shadowCameraFar:{}}},pointShadowMap:{value:[]},pointShadowMatrix:{value:[]},hemisphereLights:{value:[],properties:{direction:{},skyColor:{},groundColor:{}}},rectAreaLights:{value:[],properties:{color:{},position:{},width:{},height:{}}},ltc_1:{value:null},ltc_2:{value:null}},points:{diffuse:{value:new mi(16777215)},opacity:{value:1},size:{value:1},scale:{value:1},map:{value:null},alphaMap:{value:null},alphaMapTransform:{value:new xr},alphaTest:{value:0},uvTransform:{value:new xr}},sprite:{diffuse:{value:new mi(16777215)},opacity:{value:1},center:{value:new fr(.5,.5)},rotation:{value:0},map:{value:null},mapTransform:{value:new xr},alphaMap:{value:null},alphaMapTransform:{value:new xr},alphaTest:{value:0}}};window.PatchHooks.HookUniformLib(Uu);const Vu={basic:{uniforms:eo([Uu.common,Uu.specularmap,Uu.envmap,Uu.aomap,Uu.lightmap,Uu.fog]),vertexShader:Bu.meshbasic_vert,fragmentShader:Bu.meshbasic_frag},lambert:{uniforms:eo([Uu.common,Uu.specularmap,Uu.envmap,Uu.aomap,Uu.lightmap,Uu.emissivemap,Uu.bumpmap,Uu.normalmap,Uu.displacementmap,Uu.fog,Uu.lights,{emissive:{value:new mi(0)}}]),vertexShader:Bu.meshlambert_vert,fragmentShader:Bu.meshlambert_frag},phong:{uniforms:eo([Uu.common,Uu.specularmap,Uu.envmap,Uu.aomap,Uu.lightmap,Uu.emissivemap,Uu.bumpmap,Uu.normalmap,Uu.displacementmap,Uu.fog,Uu.lights,{emissive:{value:new mi(0)},specular:{value:new mi(1118481)},shininess:{value:30}}]),vertexShader:Bu.meshphong_vert,fragmentShader:Bu.meshphong_frag},standard:{uniforms:eo([Uu.common,Uu.envmap,Uu.aomap,Uu.lightmap,Uu.emissivemap,Uu.bumpmap,Uu.normalmap,Uu.displacementmap,Uu.roughnessmap,Uu.metalnessmap,Uu.fog,Uu.lights,{emissive:{value:new mi(0)},roughness:{value:1},metalness:{value:0},envMapIntensity:{value:1}}]),vertexShader:Bu.meshphysical_vert,fragmentShader:Bu.meshphysical_frag},toon:{uniforms:eo([Uu.common,Uu.aomap,Uu.lightmap,Uu.emissivemap,Uu.bumpmap,Uu.normalmap,Uu.displacementmap,Uu.gradientmap,Uu.fog,Uu.lights,{emissive:{value:new mi(0)}}]),vertexShader:Bu.meshtoon_vert,fragmentShader:Bu.meshtoon_frag},matcap:{uniforms:eo([Uu.common,Uu.bumpmap,Uu.normalmap,Uu.displacementmap,Uu.fog,{matcap:{value:null}}]),vertexShader:Bu.meshmatcap_vert,fragmentShader:Bu.meshmatcap_frag},points:{uniforms:eo([Uu.points,Uu.fog]),vertexShader:Bu.points_vert,fragmentShader:Bu.points_frag},dashed:{uniforms:eo([Uu.common,Uu.fog,{scale:{value:1},dashSize:{value:1},totalSize:{value:2}}]),vertexShader:Bu.linedashed_vert,fragmentShader:Bu.linedashed_frag},depth:{uniforms:eo([Uu.common,Uu.displacementmap]),vertexShader:Bu.depth_vert,fragmentShader:Bu.depth_frag},normal:{uniforms:eo([Uu.common,Uu.bumpmap,Uu.normalmap,Uu.displacementmap,{opacity:{value:1}}]),vertexShader:Bu.meshnormal_vert,fragmentShader:Bu.meshnormal_frag},sprite:{uniforms:eo([Uu.sprite,Uu.fog]),vertexShader:Bu.sprite_vert,fragmentShader:Bu.sprite_frag},background:{uniforms:{uvTransform:{value:new xr},t2D:{value:null},backgroundIntensity:{value:1}},vertexShader:Bu.background_vert,fragmentShader:Bu.background_frag},backgroundCube:{uniforms:{envMap:{value:null},flipEnvMap:{value:-1},backgroundBlurriness:{value:0},backgroundIntensity:{value:1},backgroundRotation:{value:new xr}},vertexShader:Bu.backgroundCube_vert,fragmentShader:Bu.backgroundCube_frag},cube:{uniforms:{tCube:{value:null},tFlip:{value:-1},opacity:{value:1}},vertexShader:Bu.cube_vert,fragmentShader:Bu.cube_frag},equirect:{uniforms:{tEquirect:{value:null}},vertexShader:Bu.equirect_vert,fragmentShader:Bu.equirect_frag},distanceRGBA:{uniforms:eo([Uu.common,Uu.displacementmap,{referencePosition:{value:new br},nearDistance:{value:1},farDistance:{value:1e3}}]),vertexShader:Bu.distanceRGBA_vert,fragmentShader:Bu.distanceRGBA_frag},shadow:{uniforms:eo([Uu.lights,Uu.fog,{color:{value:new mi(0)},opacity:{value:1}}]),vertexShader:Bu.shadow_vert,fragmentShader:Bu.shadow_frag}};Vu.physical={uniforms:eo([Vu.standard.uniforms,{clearcoat:{value:0},clearcoatMap:{value:null},clearcoatMapTransform:{value:new xr},clearcoatNormalMap:{value:null},clearcoatNormalMapTransform:{value:new xr},clearcoatNormalScale:{value:new fr(1,1)},clearcoatRoughness:{value:0},clearcoatRoughnessMap:{value:null},clearcoatRoughnessMapTransform:{value:new xr},dispersion:{value:0},iridescence:{value:0},iridescenceMap:{value:null},iridescenceMapTransform:{value:new xr},iridescenceIOR:{value:1.3},iridescenceThicknessMinimum:{value:100},iridescenceThicknessMaximum:{value:400},iridescenceThicknessMap:{value:null},iridescenceThicknessMapTransform:{value:new xr},sheen:{value:0},sheenColor:{value:new mi(0)},sheenColorMap:{value:null},sheenColorMapTransform:{value:new xr},sheenRoughness:{value:1},sheenRoughnessMap:{value:null},sheenRoughnessMapTransform:{value:new xr},transmission:{value:0},transmissionMap:{value:null},transmissionMapTransform:{value:new xr},transmissionSamplerSize:{value:new fr},transmissionSamplerMap:{value:null},thickness:{value:0},thicknessMap:{value:null},thicknessMapTransform:{value:new xr},attenuationDistance:{value:0},attenuationColor:{value:new mi(0)},specularColor:{value:new mi(1,1,1)},specularColorMap:{value:null},specularColorMapTransform:{value:new xr},specularIntensity:{value:1},specularIntensityMap:{value:null},specularIntensityMapTransform:{value:new xr},anisotropyVector:{value:new fr},anisotropyMap:{value:null},anisotropyMapTransform:{value:new xr}}]),vertexShader:Bu.meshphysical_vert,fragmentShader:Bu.meshphysical_frag},window.PatchHooks.HookShaderLib(Vu);const zu={r:0,b:0,g:0},Hu=new Rn,Gu=new xn;function ju(e,t,r,n,i,o,s){const a=new mi(0);let l,c,u=!0===o?0:1,d=null,h=0,p=null;function m(e){let n=!0===e.isScene?e.background:null;if(n&&n.isTexture){n=(e.backgroundBlurriness>0?r:t).get(n)}return n}function _(t,r){t.getRGB(zu,to(e)),n.buffers.color.setClear(zu.r,zu.g,zu.b,r,s)}return{getClearColor:function(){return a},setClearColor:function(e,t=1){a.set(e),u=t,_(a,u)},getClearAlpha:function(){return u},setClearAlpha:function(e){u=e,_(a,u)},render:function(t){let r=!1;const i=m(t);null===i?_(a,u):i&&i.isColor&&(_(i,1),r=!0);const o=e.xr.getEnvironmentBlendMode();"additive"===o?n.buffers.color.setClear(0,0,0,1,s):"alpha-blend"===o&&n.buffers.color.setClear(0,0,0,0,s),(e.autoClear||r)&&(n.buffers.depth.setTest(!0),n.buffers.depth.setMask(!0),n.buffers.color.setMask(!0),e.clear(e.autoClearColor,e.autoClearDepth,e.autoClearStencil))},addToRenderList:function(t,r){const n=m(r);n&&(n.isCubeTexture||n.mapping===be)?(void 0===c&&(c=new Yi(new Ki(1,1,1),new no({name:"BackgroundCubeMaterial",uniforms:Zi(Vu.backgroundCube.uniforms),vertexShader:Vu.backgroundCube.vertexShader,fragmentShader:Vu.backgroundCube.fragmentShader,side:1,depthTest:!1,depthWrite:!1,fog:!1,allowOverride:!1})),c.geometry.deleteAttribute("normal"),c.geometry.deleteAttribute("uv"),c.onBeforeRender=function(e,t,r){this.matrixWorld.copyPosition(r.matrixWorld)},Object.defineProperty(c.material,"envMap",{get:function(){return this.uniforms.envMap.value}}),i.update(c)),Hu.copy(r.backgroundRotation),Hu.x*=-1,Hu.y*=-1,Hu.z*=-1,n.isCubeTexture&&!1===n.isRenderTargetTexture&&(Hu.y*=-1,Hu.z*=-1),c.material.uniforms.envMap.value=n,c.material.uniforms.flipEnvMap.value=n.isCubeTexture&&!1===n.isRenderTargetTexture?-1:1,c.material.uniforms.backgroundBlurriness.value=r.backgroundBlurriness,c.material.uniforms.backgroundIntensity.value=r.backgroundIntensity,c.material.uniforms.backgroundRotation.value.setFromMatrix4(Gu.makeRotationFromEuler(Hu)),c.material.toneMapped=Rr.getTransfer(n.colorSpace)!==jt,d===n&&h===n.version&&p===e.toneMapping||(c.material.needsUpdate=!0,d=n,h=n.version,p=e.toneMapping),c.layers.enableAll(),t.unshift(c,c.geometry,c.material,0,0,null)):n&&n.isTexture&&(void 0===l&&(l=new Yi(new Ka(2,2),new no({name:"BackgroundMaterial",uniforms:Zi(Vu.background.uniforms),vertexShader:Vu.background.vertexShader,fragmentShader:Vu.background.fragmentShader,side:0,depthTest:!1,depthWrite:!1,fog:!1,allowOverride:!1})),l.geometry.deleteAttribute("normal"),Object.defineProperty(l.material,"map",{get:function(){return this.uniforms.t2D.value}}),i.update(l)),l.material.uniforms.t2D.value=n,l.material.uniforms.backgroundIntensity.value=r.backgroundIntensity,l.material.toneMapped=Rr.getTransfer(n.colorSpace)!==jt,!0===n.matrixAutoUpdate&&n.updateMatrix(),l.material.uniforms.uvTransform.value.copy(n.matrix),d===n&&h===n.version&&p===e.toneMapping||(l.material.needsUpdate=!0,d=n,h=n.version,p=e.toneMapping),l.layers.enableAll(),t.unshift(l,l.geometry,l.material,0,0,null))},dispose:function(){void 0!==c&&(c.geometry.dispose(),c.material.dispose(),c=void 0),void 0!==l&&(l.geometry.dispose(),l.material.dispose(),l=void 0)}}}function Ju(e,t){const r=e.getParameter(e.MAX_VERTEX_ATTRIBS),n={},i=c(null);let o=i,s=!1;function a(t){return e.bindVertexArray(t)}function l(t){return e.deleteVertexArray(t)}function c(e){const t=[],n=[],i=[];for(let e=0;e<r;e++)t[e]=0,n[e]=0,i[e]=0;return{geometry:null,program:null,wireframe:!1,newAttributes:t,enabledAttributes:n,attributeDivisors:i,object:e,attributes:{},index:null}}function u(){const e=o.newAttributes;for(let t=0,r=e.length;t<r;t++)e[t]=0}function d(e){h(e,0)}function h(t,r){const n=o.newAttributes,i=o.enabledAttributes,s=o.attributeDivisors;n[t]=1,0===i[t]&&(e.enableVertexAttribArray(t),i[t]=1),s[t]!==r&&(e.vertexAttribDivisor(t,r),s[t]=r)}function p(){const t=o.newAttributes,r=o.enabledAttributes;for(let n=0,i=r.length;n<i;n++)r[n]!==t[n]&&(e.disableVertexAttribArray(n),r[n]=0)}function m(t,r,n,i,o,s,a){!0===a?e.vertexAttribIPointer(t,r,n,o,s):e.vertexAttribPointer(t,r,n,i,o,s)}function _(){g(),s=!0,o!==i&&(o=i,a(o.object))}function g(){i.geometry=null,i.program=null,i.wireframe=!1}return{setup:function(r,i,l,_,g){let f=!1;const v=function(t,r,i){const o=!0===i.wireframe;let s=n[t.id];void 0===s&&(s={},n[t.id]=s);let a=s[r.id];void 0===a&&(a={},s[r.id]=a);let l=a[o];void 0===l&&(l=c(e.createVertexArray()),a[o]=l);return l}(_,l,i);o!==v&&(o=v,a(o.object)),f=function(e,t,r,n){const i=o.attributes,s=t.attributes;let a=0;const l=r.getAttributes();for(const t in l){if(l[t].location>=0){const r=i[t];let n=s[t];if(void 0===n&&("instanceMatrix"===t&&e.instanceMatrix&&(n=e.instanceMatrix),"instanceColor"===t&&e.instanceColor&&(n=e.instanceColor)),void 0===r)return!0;if(r.attribute!==n)return!0;if(n&&r.data!==n.data)return!0;a++}}return o.attributesNum!==a||o.index!==n}(r,_,l,g),f&&function(e,t,r,n){const i={},s=t.attributes;let a=0;const l=r.getAttributes();for(const t in l){if(l[t].location>=0){let r=s[t];void 0===r&&("instanceMatrix"===t&&e.instanceMatrix&&(r=e.instanceMatrix),"instanceColor"===t&&e.instanceColor&&(r=e.instanceColor));const n={};n.attribute=r,r&&r.data&&(n.data=r.data),i[t]=n,a++}}o.attributes=i,o.attributesNum=a,o.index=n}(r,_,l,g),null!==g&&t.update(g,e.ELEMENT_ARRAY_BUFFER),(f||s)&&(s=!1,function(r,n,i,o){u();const s=o.attributes,a=i.getAttributes(),l=n.defaultAttributeValues;for(const n in a){const i=a[n];if(i.location>=0){let a=s[n];if(void 0===a&&("instanceMatrix"===n&&r.instanceMatrix&&(a=r.instanceMatrix),"instanceColor"===n&&r.instanceColor&&(a=r.instanceColor)),void 0!==a){const n=a.normalized,s=a.itemSize,l=t.get(a);if(void 0===l)continue;const c=l.buffer,u=l.type,p=l.bytesPerElement,_=u===e.INT||u===e.UNSIGNED_INT||a.gpuType===Pe;if(a.isInterleavedBufferAttribute){const t=a.data,l=t.stride,g=a.offset;if(t.isInstancedInterleavedBuffer){for(let e=0;e<i.locationSize;e++)h(i.location+e,t.meshPerAttribute);!0!==r.isInstancedMesh&&void 0===o._maxInstanceCount&&(o._maxInstanceCount=t.meshPerAttribute*t.count)}else for(let e=0;e<i.locationSize;e++)d(i.location+e);e.bindBuffer(e.ARRAY_BUFFER,c);for(let e=0;e<i.locationSize;e++)m(i.location+e,s/i.locationSize,u,n,l*p,(g+s/i.locationSize*e)*p,_)}else{if(a.isInstancedBufferAttribute){for(let e=0;e<i.locationSize;e++)h(i.location+e,a.meshPerAttribute);!0!==r.isInstancedMesh&&void 0===o._maxInstanceCount&&(o._maxInstanceCount=a.meshPerAttribute*a.count)}else for(let e=0;e<i.locationSize;e++)d(i.location+e);e.bindBuffer(e.ARRAY_BUFFER,c);for(let e=0;e<i.locationSize;e++)m(i.location+e,s/i.locationSize,u,n,s*p,s/i.locationSize*e*p,_)}}else if(void 0!==l){const t=l[n];if(void 0!==t)switch(t.length){case 2:e.vertexAttrib2fv(i.location,t);break;case 3:e.vertexAttrib3fv(i.location,t);break;case 4:e.vertexAttrib4fv(i.location,t);break;default:e.vertexAttrib1fv(i.location,t)}}}}p()}(r,i,l,_),null!==g&&e.bindBuffer(e.ELEMENT_ARRAY_BUFFER,t.get(g).buffer))},reset:_,resetDefaultState:g,dispose:function(){_();for(const e in n){const t=n[e];for(const e in t){const r=t[e];for(const e in r)l(r[e].object),delete r[e];delete t[e]}delete n[e]}},releaseStatesOfGeometry:function(e){if(void 0===n[e.id])return;const t=n[e.id];for(const e in t){const r=t[e];for(const e in r)l(r[e].object),delete r[e];delete t[e]}delete n[e.id]},releaseStatesOfProgram:function(e){for(const t in n){const r=n[t];if(void 0===r[e.id])continue;const i=r[e.id];for(const e in i)l(i[e].object),delete i[e];delete r[e.id]}},initAttributes:u,enableAttribute:d,disableUnusedAttributes:p}}function Wu(e,t,r){let n;function i(t,i,o){0!==o&&(e.drawArraysInstanced(n,t,i,o),r.update(i,n,o))}this.setMode=function(e){n=e},this.render=function(t,i){e.drawArrays(n,t,i),r.update(i,n,1)},this.renderInstances=i,this.renderMultiDraw=function(e,i,o){if(0===o)return;t.get("WEBGL_multi_draw").multiDrawArraysWEBGL(n,e,0,i,0,o);let s=0;for(let e=0;e<o;e++)s+=i[e];r.update(s,n,1)},this.renderMultiDrawInstances=function(e,o,s,a){if(0===s)return;const l=t.get("WEBGL_multi_draw");if(null===l)for(let t=0;t<e.length;t++)i(e[t],o[t],a[t]);else{l.multiDrawArraysInstancedWEBGL(n,e,0,o,0,a,0,s);let t=0;for(let e=0;e<s;e++)t+=o[e]*a[e];r.update(t,n,1)}}}function Qu(e,t,r,n){let i;function o(t){if("highp"===t){if(e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.HIGH_FLOAT).precision>0&&e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.HIGH_FLOAT).precision>0)return"highp";t="mediump"}return"mediump"===t&&e.getShaderPrecisionFormat(e.VERTEX_SHADER,e.MEDIUM_FLOAT).precision>0&&e.getShaderPrecisionFormat(e.FRAGMENT_SHADER,e.MEDIUM_FLOAT).precision>0?"mediump":"lowp"}let s=void 0!==r.precision?r.precision:"highp";const a=o(s);a!==s&&(console.warn("THREE.WebGLRenderer:",s,"not supported, using",a,"instead."),s=a);const l=!0===r.logarithmicDepthBuffer,c=!0===r.reversedDepthBuffer&&t.has("EXT_clip_control"),u=e.getParameter(e.MAX_TEXTURE_IMAGE_UNITS),d=e.getParameter(e.MAX_VERTEX_TEXTURE_IMAGE_UNITS);return{isWebGL2:!0,getMaxAnisotropy:function(){if(void 0!==i)return i;if(!0===t.has("EXT_texture_filter_anisotropic")){const r=t.get("EXT_texture_filter_anisotropic");i=e.getParameter(r.MAX_TEXTURE_MAX_ANISOTROPY_EXT)}else i=0;return i},getMaxPrecision:o,textureFormatReadable:function(t){return t===Ge||n.convert(t)===e.getParameter(e.IMPLEMENTATION_COLOR_READ_FORMAT)},textureTypeReadable:function(r){const i=r===Fe&&(t.has("EXT_color_buffer_half_float")||t.has("EXT_color_buffer_float"));return!(r!==ke&&n.convert(r)!==e.getParameter(e.IMPLEMENTATION_COLOR_READ_TYPE)&&r!==Ne&&!i)},precision:s,logarithmicDepthBuffer:l,reversedDepthBuffer:c,maxTextures:u,maxVertexTextures:d,maxTextureSize:e.getParameter(e.MAX_TEXTURE_SIZE),maxCubemapSize:e.getParameter(e.MAX_CUBE_MAP_TEXTURE_SIZE),maxAttributes:e.getParameter(e.MAX_VERTEX_ATTRIBS),maxVertexUniforms:e.getParameter(e.MAX_VERTEX_UNIFORM_VECTORS),maxVaryings:e.getParameter(e.MAX_VARYING_VECTORS),maxFragmentUniforms:e.getParameter(e.MAX_FRAGMENT_UNIFORM_VECTORS),vertexTextures:d>0,maxSamples:e.getParameter(e.MAX_SAMPLES)}}function qu(e){const t=this;let r=null,n=0,i=!1,o=!1;const s=new hs,a=new xr,l={value:null,needsUpdate:!1};function c(e,r,n,i){const o=null!==e?e.length:0;let c=null;if(0!==o){if(c=l.value,!0!==i||null===c){const t=n+4*o,i=r.matrixWorldInverse;a.getNormalMatrix(i),(null===c||c.length<t)&&(c=new Float32Array(t));for(let t=0,r=n;t!==o;++t,r+=4)s.copy(e[t]).applyMatrix4(i,a),s.normal.toArray(c,r),c[r+3]=s.constant}l.value=c,l.needsUpdate=!0}return t.numPlanes=o,t.numIntersection=0,c}this.uniform=l,this.numPlanes=0,this.numIntersection=0,this.init=function(e,t){const r=0!==e.length||t||0!==n||i;return i=t,n=e.length,r},this.beginShadows=function(){o=!0,c(null)},this.endShadows=function(){o=!1},this.setGlobalState=function(e,t){r=c(e,t,0)},this.setState=function(s,a,u){const d=s.clippingPlanes,h=s.clipIntersection,p=s.clipShadows,m=e.get(s);if(!i||null===d||0===d.length||o&&!p)o?c(null):function(){l.value!==r&&(l.value=r,l.needsUpdate=n>0);t.numPlanes=n,t.numIntersection=0}();else{const e=o?0:n,t=4*e;let i=m.clippingState||null;l.value=i,i=c(d,a,t,u);for(let e=0;e!==t;++e)i[e]=r[e];m.clippingState=i,this.numIntersection=h?this.numPlanes:0,this.numPlanes+=e}}}function Yu(e){let t=new WeakMap;function r(e,t){return t===fe?e.mapping=_e:t===ve&&(e.mapping=ge),e}function n(e){const r=e.target;r.removeEventListener("dispose",n);const i=t.get(r);void 0!==i&&(t.delete(r),i.dispose())}return{get:function(i){if(i&&i.isTexture){const o=i.mapping;if(o===fe||o===ve){if(t.has(i)){return r(t.get(i).texture,i.mapping)}{const o=i.image;if(o&&o.height>0){const s=new po(o.height);return s.fromEquirectangularTexture(e,i),t.set(i,s),i.addEventListener("dispose",n),r(s.texture,i.mapping)}return null}}}return i},dispose:function(){t=new WeakMap}}}const Xu=[.125,.215,.35,.446,.526,.582],Ku=20,Zu=new nc,ed=new mi;let td=null,rd=0,nd=0,id=!1;const od=(1+Math.sqrt(5))/2,sd=1/od,ad=[new br(-od,sd,0),new br(od,sd,0),new br(-sd,0,od),new br(sd,0,od),new br(0,od,-sd),new br(0,od,sd),new br(-1,1,-1),new br(1,1,-1),new br(-1,1,1),new br(1,1,1)],ld=new br;class cd{constructor(e){this._renderer=e,this._pingPongRenderTarget=null,this._lodMax=0,this._cubeSize=0,this._lodPlanes=[],this._sizeLods=[],this._sigmas=[],this._blurMaterial=null,this._cubemapMaterial=null,this._equirectMaterial=null,this._compileMaterial(this._blurMaterial)}fromScene(e,t=0,r=.1,n=100,i={}){const{size:o=256,position:s=ld}=i;td=this._renderer.getRenderTarget(),rd=this._renderer.getActiveCubeFace(),nd=this._renderer.getActiveMipmapLevel(),id=this._renderer.xr.enabled,this._renderer.xr.enabled=!1,this._setSize(o);const a=this._allocateTargets();return a.depthBuffer=!0,this._sceneToCubeUV(e,r,n,a,s),t>0&&this._blur(a,0,0,t),this._applyPMREM(a),this._cleanup(a),a}fromEquirectangular(e,t=null){return this._fromTexture(e,t)}fromCubemap(e,t=null){return this._fromTexture(e,t)}compileCubemapShader(){null===this._cubemapMaterial&&(this._cubemapMaterial=pd(),this._compileMaterial(this._cubemapMaterial))}compileEquirectangularShader(){null===this._equirectMaterial&&(this._equirectMaterial=hd(),this._compileMaterial(this._equirectMaterial))}dispose(){this._dispose(),null!==this._cubemapMaterial&&this._cubemapMaterial.dispose(),null!==this._equirectMaterial&&this._equirectMaterial.dispose()}_setSize(e){this._lodMax=Math.floor(Math.log2(e)),this._cubeSize=Math.pow(2,this._lodMax)}_dispose(){null!==this._blurMaterial&&this._blurMaterial.dispose(),null!==this._pingPongRenderTarget&&this._pingPongRenderTarget.dispose();for(let e=0;e<this._lodPlanes.length;e++)this._lodPlanes[e].dispose()}_cleanup(e){this._renderer.setRenderTarget(td,rd,nd),this._renderer.xr.enabled=id,e.scissorTest=!1,dd(e,0,0,e.width,e.height)}_fromTexture(e,t){e.mapping===_e||e.mapping===ge?this._setSize(0===e.image.length?16:e.image[0].width||e.image[0].image.width):this._setSize(e.image.width/4),td=this._renderer.getRenderTarget(),rd=this._renderer.getActiveCubeFace(),nd=this._renderer.getActiveMipmapLevel(),id=this._renderer.xr.enabled,this._renderer.xr.enabled=!1;const r=t||this._allocateTargets();return this._textureToCubeUV(e,r),this._applyPMREM(r),this._cleanup(r),r}_allocateTargets(){const e=3*Math.max(this._cubeSize,112),t=4*this._cubeSize,r={magFilter:Ce,minFilter:Ce,generateMipmaps:!1,type:Fe,format:Ge,colorSpace:Ht,depthBuffer:!1},n=ud(e,t,r);if(null===this._pingPongRenderTarget||this._pingPongRenderTarget.width!==e||this._pingPongRenderTarget.height!==t){null!==this._pingPongRenderTarget&&this._dispose(),this._pingPongRenderTarget=ud(e,t,r);const{_lodMax:n}=this;({sizeLods:this._sizeLods,lodPlanes:this._lodPlanes,sigmas:this._sigmas}=function(e){const t=[],r=[],n=[];let i=e;const o=e-4+1+Xu.length;for(let s=0;s<o;s++){const o=Math.pow(2,i);r.push(o);let a=1/o;s>e-4?a=Xu[s-e+4-1]:0===s&&(a=0),n.push(a);const l=1/(o-2),c=-l,u=1+l,d=[c,c,u,c,u,u,c,c,u,u,c,u],h=6,p=6,m=3,_=2,g=1,f=new Float32Array(m*p*h),v=new Float32Array(_*p*h),b=new Float32Array(g*p*h);for(let e=0;e<h;e++){const t=e%3*2/3-1,r=e>2?0:-1,n=[t,r,0,t+2/3,r,0,t+2/3,r+1,0,t,r,0,t+2/3,r+1,0,t,r+1,0];f.set(n,m*p*e),v.set(d,_*p*e);const i=[e,e,e,e,e,e];b.set(i,g*p*e)}const y=new Oi;y.setAttribute("position",new Ei(f,m)),y.setAttribute("uv",new Ei(v,_)),y.setAttribute("faceIndex",new Ei(b,g)),t.push(y),i>4&&i--}return{lodPlanes:t,sizeLods:r,sigmas:n}}(n)),this._blurMaterial=function(e,t,r){const n=new Float32Array(Ku),i=new br(0,1,0),o=new no({name:"SphericalGaussianBlur",defines:{n:Ku,CUBEUV_TEXEL_WIDTH:1/t,CUBEUV_TEXEL_HEIGHT:1/r,CUBEUV_MAX_MIP:`${e}.0`},uniforms:{envMap:{value:null},samples:{value:1},weights:{value:n},latitudinal:{value:!1},dTheta:{value:0},mipInt:{value:0},poleAxis:{value:i}},vertexShader:md(),fragmentShader:"\n\n\t\t\tprecision mediump float;\n\t\t\tprecision mediump int;\n\n\t\t\tvarying vec3 vOutputDirection;\n\n\t\t\tuniform sampler2D envMap;\n\t\t\tuniform int samples;\n\t\t\tuniform float weights[ n ];\n\t\t\tuniform bool latitudinal;\n\t\t\tuniform float dTheta;\n\t\t\tuniform float mipInt;\n\t\t\tuniform vec3 poleAxis;\n\n\t\t\t#define ENVMAP_TYPE_CUBE_UV\n\t\t\t#include <cube_uv_reflection_fragment>\n\n\t\t\tvec3 getSample( float theta, vec3 axis ) {\n\n\t\t\t\tfloat cosTheta = cos( theta );\n\t\t\t\t// Rodrigues' axis-angle rotation\n\t\t\t\tvec3 sampleDirection = vOutputDirection * cosTheta\n\t\t\t\t\t+ cross( axis, vOutputDirection ) * sin( theta )\n\t\t\t\t\t+ axis * dot( axis, vOutputDirection ) * ( 1.0 - cosTheta );\n\n\t\t\t\treturn bilinearCubeUV( envMap, sampleDirection, mipInt );\n\n\t\t\t}\n\n\t\t\tvoid main() {\n\n\t\t\t\tvec3 axis = latitudinal ? poleAxis : cross( poleAxis, vOutputDirection );\n\n\t\t\t\tif ( all( equal( axis, vec3( 0.0 ) ) ) ) {\n\n\t\t\t\t\taxis = vec3( vOutputDirection.z, 0.0, - vOutputDirection.x );\n\n\t\t\t\t}\n\n\t\t\t\taxis = normalize( axis );\n\n\t\t\t\tgl_FragColor = vec4( 0.0, 0.0, 0.0, 1.0 );\n\t\t\t\tgl_FragColor.rgb += weights[ 0 ] * getSample( 0.0, axis );\n\n\t\t\t\tfor ( int i = 1; i < n; i++ ) {\n\n\t\t\t\t\tif ( i >= samples ) {\n\n\t\t\t\t\t\tbreak;\n\n\t\t\t\t\t}\n\n\t\t\t\t\tfloat theta = dTheta * float( i );\n\t\t\t\t\tgl_FragColor.rgb += weights[ i ] * getSample( -1.0 * theta, axis );\n\t\t\t\t\tgl_FragColor.rgb += weights[ i ] * getSample( theta, axis );\n\n\t\t\t\t}\n\n\t\t\t}\n\t\t",blending:0,depthTest:!1,depthWrite:!1});return o}(n,e,t)}return n}_compileMaterial(e){const t=new Yi(this._lodPlanes[0],e);this._renderer.compile(t,Zu)}_sceneToCubeUV(e,t,r,n,i){const o=new lo(90,1,t,r),s=[1,-1,1,1,1,1],a=[1,1,1,-1,-1,-1],l=this._renderer,c=l.autoClear,u=l.toneMapping;l.getClearColor(ed),l.toneMapping=0,l.autoClear=!1;l.state.buffers.depth.getReversed()&&(l.setRenderTarget(n),l.clearDepth(),l.setRenderTarget(null));const d=new vi({name:"PMREM.Background",side:1,depthWrite:!1,depthTest:!1}),h=new Yi(new Ki,d);let p=!1;const m=e.background;m?m.isColor&&(d.color.copy(m),e.background=null,p=!0):(d.color.copy(ed),p=!0);for(let t=0;t<6;t++){const r=t%3;0===r?(o.up.set(0,s[t],0),o.position.set(i.x,i.y,i.z),o.lookAt(i.x+a[t],i.y,i.z)):1===r?(o.up.set(0,0,s[t]),o.position.set(i.x,i.y,i.z),o.lookAt(i.x,i.y+a[t],i.z)):(o.up.set(0,s[t],0),o.position.set(i.x,i.y,i.z),o.lookAt(i.x,i.y,i.z+a[t]));const c=this._cubeSize;dd(n,r*c,t>2?c:0,c,c),l.setRenderTarget(n),p&&l.render(h,o),l.render(e,o)}h.geometry.dispose(),h.material.dispose(),l.toneMapping=u,l.autoClear=c,e.background=m}_textureToCubeUV(e,t){const r=this._renderer,n=e.mapping===_e||e.mapping===ge;n?(null===this._cubemapMaterial&&(this._cubemapMaterial=pd()),this._cubemapMaterial.uniforms.flipEnvMap.value=!1===e.isRenderTargetTexture?-1:1):null===this._equirectMaterial&&(this._equirectMaterial=hd());const i=n?this._cubemapMaterial:this._equirectMaterial,o=new Yi(this._lodPlanes[0],i);i.uniforms.envMap.value=e;const s=this._cubeSize;dd(t,0,0,3*s,2*s),r.setRenderTarget(t),r.render(o,Zu)}_applyPMREM(e){const t=this._renderer,r=t.autoClear;t.autoClear=!1;const n=this._lodPlanes.length;for(let t=1;t<n;t++){const r=Math.sqrt(this._sigmas[t]*this._sigmas[t]-this._sigmas[t-1]*this._sigmas[t-1]),i=ad[(n-t-1)%ad.length];this._blur(e,t-1,t,r,i)}t.autoClear=r}_blur(e,t,r,n,i){const o=this._pingPongRenderTarget;this._halfBlur(e,o,t,r,n,"latitudinal",i),this._halfBlur(o,e,r,r,n,"longitudinal",i)}_halfBlur(e,t,r,n,i,o,s){const a=this._renderer,l=this._blurMaterial;"latitudinal"!==o&&"longitudinal"!==o&&console.error("blur direction must be either latitudinal or longitudinal!");const c=new Yi(this._lodPlanes[n],l),u=l.uniforms,d=this._sizeLods[r]-1,h=isFinite(i)?Math.PI/(2*d):2*Math.PI/39,p=i/h,m=isFinite(i)?1+Math.floor(3*p):Ku;m>Ku&&console.warn(`sigmaRadians, ${i}, is too large and will clip, as it requested ${m} samples when the maximum is set to 20`);const _=[];let g=0;for(let e=0;e<Ku;++e){const t=e/p,r=Math.exp(-t*t/2);_.push(r),0===e?g+=r:e<m&&(g+=2*r)}for(let e=0;e<_.length;e++)_[e]=_[e]/g;u.envMap.value=e.texture,u.samples.value=m,u.weights.value=_,u.latitudinal.value="latitudinal"===o,s&&(u.poleAxis.value=s);const{_lodMax:f}=this;u.dTheta.value=h,u.mipInt.value=f-r;const v=this._sizeLods[n];dd(t,3*v*(n>f-4?n-f+4:0),4*(this._cubeSize-v),3*v,2*v),a.setRenderTarget(t),a.render(c,Zu)}}function ud(e,t,r){const n=new jr(e,t,r);return n.texture.mapping=be,n.texture.name="PMREM.cubeUv",n.scissorTest=!0,n}function dd(e,t,r,n,i){e.viewport.set(t,r,n,i),e.scissor.set(t,r,n,i)}function hd(){return new no({name:"EquirectangularToCubeUV",uniforms:{envMap:{value:null}},vertexShader:md(),fragmentShader:"\n\n\t\t\tprecision mediump float;\n\t\t\tprecision mediump int;\n\n\t\t\tvarying vec3 vOutputDirection;\n\n\t\t\tuniform sampler2D envMap;\n\n\t\t\t#include <common>\n\n\t\t\tvoid main() {\n\n\t\t\t\tvec3 outputDirection = normalize( vOutputDirection );\n\t\t\t\tvec2 uv = equirectUv( outputDirection );\n\n\t\t\t\tgl_FragColor = vec4( texture2D ( envMap, uv ).rgb, 1.0 );\n\n\t\t\t}\n\t\t",blending:0,depthTest:!1,depthWrite:!1})}function pd(){return new no({name:"CubemapToCubeUV",uniforms:{envMap:{value:null},flipEnvMap:{value:-1}},vertexShader:md(),fragmentShader:"\n\n\t\t\tprecision mediump float;\n\t\t\tprecision mediump int;\n\n\t\t\tuniform float flipEnvMap;\n\n\t\t\tvarying vec3 vOutputDirection;\n\n\t\t\tuniform samplerCube envMap;\n\n\t\t\tvoid main() {\n\n\t\t\t\tgl_FragColor = textureCube( envMap, vec3( flipEnvMap * vOutputDirection.x, vOutputDirection.yz ) );\n\n\t\t\t}\n\t\t",blending:0,depthTest:!1,depthWrite:!1})}function md(){return"\n\n\t\tprecision mediump float;\n\t\tprecision mediump int;\n\n\t\tattribute float faceIndex;\n\n\t\tvarying vec3 vOutputDirection;\n\n\t\t// RH coordinate system; PMREM face-indexing convention\n\t\tvec3 getDirection( vec2 uv, float face ) {\n\n\t\t\tuv = 2.0 * uv - 1.0;\n\n\t\t\tvec3 direction = vec3( uv, 1.0 );\n\n\t\t\tif ( face == 0.0 ) {\n\n\t\t\t\tdirection = direction.zyx; // ( 1, v, u ) pos x\n\n\t\t\t} else if ( face == 1.0 ) {\n\n\t\t\t\tdirection = direction.xzy;\n\t\t\t\tdirection.xz *= -1.0; // ( -u, 1, -v ) pos y\n\n\t\t\t} else if ( face == 2.0 ) {\n\n\t\t\t\tdirection.x *= -1.0; // ( -u, v, 1 ) pos z\n\n\t\t\t} else if ( face == 3.0 ) {\n\n\t\t\t\tdirection = direction.zyx;\n\t\t\t\tdirection.xz *= -1.0; // ( -1, v, -u ) neg x\n\n\t\t\t} else if ( face == 4.0 ) {\n\n\t\t\t\tdirection = direction.xzy;\n\t\t\t\tdirection.xy *= -1.0; // ( -u, -1, v ) neg y\n\n\t\t\t} else if ( face == 5.0 ) {\n\n\t\t\t\tdirection.z *= -1.0; // ( u, v, -1 ) neg z\n\n\t\t\t}\n\n\t\t\treturn direction;\n\n\t\t}\n\n\t\tvoid main() {\n\n\t\t\tvOutputDirection = getDirection( uv, faceIndex );\n\t\t\tgl_Position = vec4( position, 1.0 );\n\n\t\t}\n\t"}function _d(e){let t=new WeakMap,r=null;function n(e){const r=e.target;r.removeEventListener("dispose",n);const i=t.get(r);void 0!==i&&(t.delete(r),i.dispose())}return{get:function(i){if(i&&i.isTexture){const o=i.mapping,s=o===fe||o===ve,a=o===_e||o===ge;if(s||a){let o=t.get(i);const l=void 0!==o?o.texture.pmremVersion:0;if(i.isRenderTargetTexture&&i.pmremVersion!==l)return null===r&&(r=new cd(e)),o=s?r.fromEquirectangular(i,o):r.fromCubemap(i,o),o.texture.pmremVersion=i.pmremVersion,t.set(i,o),o.texture;if(void 0!==o)return o.texture;{const l=i.image;return s&&l&&l.height>0||a&&l&&function(e){let t=0;const r=6;for(let n=0;n<r;n++)void 0!==e[n]&&t++;return t===r}(l)?(null===r&&(r=new cd(e)),o=s?r.fromEquirectangular(i):r.fromCubemap(i),o.texture.pmremVersion=i.pmremVersion,t.set(i,o),i.addEventListener("dispose",n),o.texture):null}}}return i},dispose:function(){t=new WeakMap,null!==r&&(r.dispose(),r=null)}}}function gd(e){const t={};function r(r){if(void 0!==t[r])return t[r];let n;switch(r){case"WEBGL_depth_texture":n=e.getExtension("WEBGL_depth_texture")||e.getExtension("MOZ_WEBGL_depth_texture")||e.getExtension("WEBKIT_WEBGL_depth_texture");break;case"EXT_texture_filter_anisotropic":n=e.getExtension("EXT_texture_filter_anisotropic")||e.getExtension("MOZ_EXT_texture_filter_anisotropic")||e.getExtension("WEBKIT_EXT_texture_filter_anisotropic");break;case"WEBGL_compressed_texture_s3tc":n=e.getExtension("WEBGL_compressed_texture_s3tc")||e.getExtension("MOZ_WEBGL_compressed_texture_s3tc")||e.getExtension("WEBKIT_WEBGL_compressed_texture_s3tc");break;case"WEBGL_compressed_texture_pvrtc":n=e.getExtension("WEBGL_compressed_texture_pvrtc")||e.getExtension("WEBKIT_WEBGL_compressed_texture_pvrtc");break;default:n=e.getExtension(r)}return t[r]=n,n}return{has:function(e){return null!==r(e)},init:function(){r("EXT_color_buffer_float"),r("WEBGL_clip_cull_distance"),r("OES_texture_float_linear"),r("EXT_color_buffer_half_float"),r("WEBGL_multisampled_render_to_texture"),r("WEBGL_render_shared_exponent")},get:function(e){const t=r(e);return null===t&&Ir("THREE.WebGLRenderer: "+e+" extension not supported."),t}}}function fd(e,t,r,n){const i={},o=new WeakMap;function s(e){const a=e.target;null!==a.index&&t.remove(a.index);for(const e in a.attributes)t.remove(a.attributes[e]);a.removeEventListener("dispose",s),delete i[a.id];const l=o.get(a);l&&(t.remove(l),o.delete(a)),n.releaseStatesOfGeometry(a),!0===a.isInstancedBufferGeometry&&delete a._maxInstanceCount,r.memory.geometries--}function a(e){const r=[],n=e.index,i=e.attributes.position;let s=0;if(null!==n){const e=n.array;s=n.version;for(let t=0,n=e.length;t<n;t+=3){const n=e[t+0],i=e[t+1],o=e[t+2];r.push(n,i,i,o,o,n)}}else{if(void 0===i)return;{const e=i.array;s=i.version;for(let t=0,n=e.length/3-1;t<n;t+=3){const e=t+0,n=t+1,i=t+2;r.push(e,n,n,i,i,e)}}}const a=new(wr(r)?Mi:Ii)(r,1);a.version=s;const l=o.get(e);l&&t.remove(l),o.set(e,a)}return{get:function(e,t){return!0===i[t.id]||(t.addEventListener("dispose",s),i[t.id]=!0,r.memory.geometries++),t},update:function(r){const n=r.attributes;for(const r in n)t.update(n[r],e.ARRAY_BUFFER)},getWireframeAttribute:function(e){const t=o.get(e);if(t){const r=e.index;null!==r&&t.version<r.version&&a(e)}else a(e);return o.get(e)}}}function vd(e,t,r){let n,i,o;function s(t,s,a){0!==a&&(e.drawElementsInstanced(n,s,i,t*o,a),r.update(s,n,a))}this.setMode=function(e){n=e},this.setIndex=function(e){i=e.type,o=e.bytesPerElement},this.render=function(t,s){e.drawElements(n,s,i,t*o),r.update(s,n,1)},this.renderInstances=s,this.renderMultiDraw=function(e,o,s){if(0===s)return;t.get("WEBGL_multi_draw").multiDrawElementsWEBGL(n,o,0,i,e,0,s);let a=0;for(let e=0;e<s;e++)a+=o[e];r.update(a,n,1)},this.renderMultiDrawInstances=function(e,a,l,c){if(0===l)return;const u=t.get("WEBGL_multi_draw");if(null===u)for(let t=0;t<e.length;t++)s(e[t]/o,a[t],c[t]);else{u.multiDrawElementsInstancedWEBGL(n,a,0,i,e,0,c,0,l);let t=0;for(let e=0;e<l;e++)t+=a[e]*c[e];r.update(t,n,1)}}}function bd(e){const t={frame:0,calls:0,triangles:0,points:0,lines:0};return{memory:{geometries:0,textures:0},render:t,programs:null,autoReset:!0,reset:function(){t.calls=0,t.triangles=0,t.points=0,t.lines=0},update:function(r,n,i){switch(t.calls++,n){case e.TRIANGLES:t.triangles+=i*(r/3);break;case e.LINES:t.lines+=i*(r/2);break;case e.LINE_STRIP:t.lines+=i*(r-1);break;case e.LINE_LOOP:t.lines+=i*r;break;case e.POINTS:t.points+=i*r;break;default:console.error("THREE.WebGLInfo: Unknown draw mode:",n)}}}}function yd(e,t,r){const n=new WeakMap,i=new Hr;return{update:function(o,s,a){const l=o.morphTargetInfluences,c=s.morphAttributes.position||s.morphAttributes.normal||s.morphAttributes.color,u=void 0!==c?c.length:0;let d=n.get(s);if(void 0===d||d.count!==u){let e=function(){f.dispose(),n.delete(s),s.removeEventListener("dispose",e)};void 0!==d&&d.texture.dispose();const r=void 0!==s.morphAttributes.position,o=void 0!==s.morphAttributes.normal,a=void 0!==s.morphAttributes.color,l=s.morphAttributes.position||[],c=s.morphAttributes.normal||[],h=s.morphAttributes.color||[];let p=0;!0===r&&(p=1),!0===o&&(p=2),!0===a&&(p=3);let m=s.attributes.position.count*p,_=1;m>t.maxTextureSize&&(_=Math.ceil(m/t.maxTextureSize),m=t.maxTextureSize);const g=new Float32Array(m*_*4*u),f=new Jr(g,m,_,u);f.type=Ne,f.needsUpdate=!0;const v=4*p;for(let e=0;e<u;e++){const t=l[e],n=c[e],s=h[e],u=m*_*4*e;for(let e=0;e<t.count;e++){const l=e*v;!0===r&&(i.fromBufferAttribute(t,e),g[u+l+0]=i.x,g[u+l+1]=i.y,g[u+l+2]=i.z,g[u+l+3]=0),!0===o&&(i.fromBufferAttribute(n,e),g[u+l+4]=i.x,g[u+l+5]=i.y,g[u+l+6]=i.z,g[u+l+7]=0),!0===a&&(i.fromBufferAttribute(s,e),g[u+l+8]=i.x,g[u+l+9]=i.y,g[u+l+10]=i.z,g[u+l+11]=4===s.itemSize?i.w:1)}}d={count:u,texture:f,size:new fr(m,_)},n.set(s,d),s.addEventListener("dispose",e)}if(!0===o.isInstancedMesh&&null!==o.morphTexture)a.getUniforms().setValue(e,"morphTexture",o.morphTexture,r);else{let t=0;for(let e=0;e<l.length;e++)t+=l[e];const r=s.morphTargetsRelative?1:1-t;a.getUniforms().setValue(e,"morphTargetBaseInfluence",r),a.getUniforms().setValue(e,"morphTargetInfluences",l)}a.getUniforms().setValue(e,"morphTargetsTexture",d.texture,r),a.getUniforms().setValue(e,"morphTargetsTextureSize",d.size)}}}function $d(e,t,r,n){let i=new WeakMap;function o(e){const t=e.target;t.removeEventListener("dispose",o),r.remove(t.instanceMatrix),null!==t.instanceColor&&r.remove(t.instanceColor)}return{update:function(s){const a=n.render.frame,l=s.geometry,c=t.get(s,l);if(i.get(c)!==a&&(t.update(c),i.set(c,a)),s.isInstancedMesh&&(!1===s.hasEventListener("dispose",o)&&s.addEventListener("dispose",o),i.get(s)!==a&&(r.update(s.instanceMatrix,e.ARRAY_BUFFER),null!==s.instanceColor&&r.update(s.instanceColor,e.ARRAY_BUFFER),i.set(s,a))),s.isSkinnedMesh){const e=s.skeleton;i.get(e)!==a&&(e.update(),i.set(e,a))}return c},dispose:function(){i=new WeakMap}}}const xd=new zr,Sd=new Gs(1,1),wd=new Jr,Ad=new Wr,Cd=new ho,Ed=[],Id=[],Md=new Float32Array(16),kd=new Float32Array(9),Td=new Float32Array(4);function Rd(e,t,r){const n=e[0];if(n<=0||n>0)return e;const i=t*r;let o=Ed[i];if(void 0===o&&(o=new Float32Array(i),Ed[i]=o),0!==t){n.toArray(o,0);for(let n=1,i=0;n!==t;++n)i+=r,e[n].toArray(o,i)}return o}function Ld(e,t){if(e.length!==t.length)return!1;for(let r=0,n=e.length;r<n;r++)if(e[r]!==t[r])return!1;return!0}function Pd(e,t){for(let r=0,n=t.length;r<n;r++)e[r]=t[r]}function Dd(e,t){let r=Id[t];void 0===r&&(r=new Int32Array(t),Id[t]=r);for(let n=0;n!==t;++n)r[n]=e.allocateTextureUnit();return r}function Nd(e,t){const r=this.cache;r[0]!==t&&(e.uniform1f(this.addr,t),r[0]=t)}function Fd(e,t){const r=this.cache;if(void 0!==t.x)r[0]===t.x&&r[1]===t.y||(e.uniform2f(this.addr,t.x,t.y),r[0]=t.x,r[1]=t.y);else{if(Ld(r,t))return;e.uniform2fv(this.addr,t),Pd(r,t)}}function Od(e,t){const r=this.cache;if(void 0!==t.x)r[0]===t.x&&r[1]===t.y&&r[2]===t.z||(e.uniform3f(this.addr,t.x,t.y,t.z),r[0]=t.x,r[1]=t.y,r[2]=t.z);else if(void 0!==t.r)r[0]===t.r&&r[1]===t.g&&r[2]===t.b||(e.uniform3f(this.addr,t.r,t.g,t.b),r[0]=t.r,r[1]=t.g,r[2]=t.b);else{if(Ld(r,t))return;e.uniform3fv(this.addr,t),Pd(r,t)}}function Bd(e,t){const r=this.cache;if(void 0!==t.x)r[0]===t.x&&r[1]===t.y&&r[2]===t.z&&r[3]===t.w||(e.uniform4f(this.addr,t.x,t.y,t.z,t.w),r[0]=t.x,r[1]=t.y,r[2]=t.z,r[3]=t.w);else{if(Ld(r,t))return;e.uniform4fv(this.addr,t),Pd(r,t)}}function Ud(e,t){const r=this.cache,n=t.elements;if(void 0===n){if(Ld(r,t))return;e.uniformMatrix2fv(this.addr,!1,t),Pd(r,t)}else{if(Ld(r,n))return;Td.set(n),e.uniformMatrix2fv(this.addr,!1,Td),Pd(r,n)}}function Vd(e,t){const r=this.cache,n=t.elements;if(void 0===n){if(Ld(r,t))return;e.uniformMatrix3fv(this.addr,!1,t),Pd(r,t)}else{if(Ld(r,n))return;kd.set(n),e.uniformMatrix3fv(this.addr,!1,kd),Pd(r,n)}}function zd(e,t){const r=this.cache,n=t.elements;if(void 0===n){if(Ld(r,t))return;e.uniformMatrix4fv(this.addr,!1,t),Pd(r,t)}else{if(Ld(r,n))return;Md.set(n),e.uniformMatrix4fv(this.addr,!1,Md),Pd(r,n)}}function Hd(e,t){const r=this.cache;r[0]!==t&&(e.uniform1i(this.addr,t),r[0]=t)}function Gd(e,t){const r=this.cache;if(void 0!==t.x)r[0]===t.x&&r[1]===t.y||(e.uniform2i(this.addr,t.x,t.y),r[0]=t.x,r[1]=t.y);else{if(Ld(r,t))return;e.uniform2iv(this.addr,t),Pd(r,t)}}function jd(e,t){const r=this.cache;if(void 0!==t.x)r[0]===t.x&&r[1]===t.y&&r[2]===t.z||(e.uniform3i(this.addr,t.x,t.y,t.z),r[0]=t.x,r[1]=t.y,r[2]=t.z);else{if(Ld(r,t))return;e.uniform3iv(this.addr,t),Pd(r,t)}}function Jd(e,t){const r=this.cache;if(void 0!==t.x)r[0]===t.x&&r[1]===t.y&&r[2]===t.z&&r[3]===t.w||(e.uniform4i(this.addr,t.x,t.y,t.z,t.w),r[0]=t.x,r[1]=t.y,r[2]=t.z,r[3]=t.w);else{if(Ld(r,t))return;e.uniform4iv(this.addr,t),Pd(r,t)}}function Wd(e,t){const r=this.cache;r[0]!==t&&(e.uniform1ui(this.addr,t),r[0]=t)}function Qd(e,t){const r=this.cache;if(void 0!==t.x)r[0]===t.x&&r[1]===t.y||(e.uniform2ui(this.addr,t.x,t.y),r[0]=t.x,r[1]=t.y);else{if(Ld(r,t))return;e.uniform2uiv(this.addr,t),Pd(r,t)}}function qd(e,t){const r=this.cache;if(void 0!==t.x)r[0]===t.x&&r[1]===t.y&&r[2]===t.z||(e.uniform3ui(this.addr,t.x,t.y,t.z),r[0]=t.x,r[1]=t.y,r[2]=t.z);else{if(Ld(r,t))return;e.uniform3uiv(this.addr,t),Pd(r,t)}}function Yd(e,t){const r=this.cache;if(void 0!==t.x)r[0]===t.x&&r[1]===t.y&&r[2]===t.z&&r[3]===t.w||(e.uniform4ui(this.addr,t.x,t.y,t.z,t.w),r[0]=t.x,r[1]=t.y,r[2]=t.z,r[3]=t.w);else{if(Ld(r,t))return;e.uniform4uiv(this.addr,t),Pd(r,t)}}function Xd(e,t,r){const n=this.cache,i=r.allocateTextureUnit();let o;n[0]!==i&&(e.uniform1i(this.addr,i),n[0]=i),this.type===e.SAMPLER_2D_SHADOW?(Sd.compareFunction=515,o=Sd):o=xd,r.setTexture2D(t||o,i)}function Kd(e,t,r){const n=this.cache,i=r.allocateTextureUnit();n[0]!==i&&(e.uniform1i(this.addr,i),n[0]=i),r.setTexture3D(t||Ad,i)}function Zd(e,t,r){const n=this.cache,i=r.allocateTextureUnit();n[0]!==i&&(e.uniform1i(this.addr,i),n[0]=i),r.setTextureCube(t||Cd,i)}function eh(e,t,r){const n=this.cache,i=r.allocateTextureUnit();n[0]!==i&&(e.uniform1i(this.addr,i),n[0]=i),r.setTexture2DArray(t||wd,i)}function th(e,t){e.uniform1fv(this.addr,t)}function rh(e,t){const r=Rd(t,this.size,2);e.uniform2fv(this.addr,r)}function nh(e,t){const r=Rd(t,this.size,3);e.uniform3fv(this.addr,r)}function ih(e,t){const r=Rd(t,this.size,4);e.uniform4fv(this.addr,r)}function oh(e,t){const r=Rd(t,this.size,4);e.uniformMatrix2fv(this.addr,!1,r)}function sh(e,t){const r=Rd(t,this.size,9);e.uniformMatrix3fv(this.addr,!1,r)}function ah(e,t){const r=Rd(t,this.size,16);e.uniformMatrix4fv(this.addr,!1,r)}function lh(e,t){e.uniform1iv(this.addr,t)}function ch(e,t){e.uniform2iv(this.addr,t)}function uh(e,t){e.uniform3iv(this.addr,t)}function dh(e,t){e.uniform4iv(this.addr,t)}function hh(e,t){e.uniform1uiv(this.addr,t)}function ph(e,t){e.uniform2uiv(this.addr,t)}function mh(e,t){e.uniform3uiv(this.addr,t)}function _h(e,t){e.uniform4uiv(this.addr,t)}function gh(e,t,r){const n=this.cache,i=t.length,o=Dd(r,i);Ld(n,o)||(e.uniform1iv(this.addr,o),Pd(n,o));for(let e=0;e!==i;++e)r.setTexture2D(t[e]||xd,o[e])}function fh(e,t,r){const n=this.cache,i=t.length,o=Dd(r,i);Ld(n,o)||(e.uniform1iv(this.addr,o),Pd(n,o));for(let e=0;e!==i;++e)r.setTexture3D(t[e]||Ad,o[e])}function vh(e,t,r){const n=this.cache,i=t.length,o=Dd(r,i);Ld(n,o)||(e.uniform1iv(this.addr,o),Pd(n,o));for(let e=0;e!==i;++e)r.setTextureCube(t[e]||Cd,o[e])}function bh(e,t,r){const n=this.cache,i=t.length,o=Dd(r,i);Ld(n,o)||(e.uniform1iv(this.addr,o),Pd(n,o));for(let e=0;e!==i;++e)r.setTexture2DArray(t[e]||wd,o[e])}class yh{constructor(e,t,r){this.id=e,this.addr=r,this.cache=[],this.type=t.type,this.setValue=function(e){switch(e){case 5126:return Nd;case 35664:return Fd;case 35665:return Od;case 35666:return Bd;case 35674:return Ud;case 35675:return Vd;case 35676:return zd;case 5124:case 35670:return Hd;case 35667:case 35671:return Gd;case 35668:case 35672:return jd;case 35669:case 35673:return Jd;case 5125:return Wd;case 36294:return Qd;case 36295:return qd;case 36296:return Yd;case 35678:case 36198:case 36298:case 36306:case 35682:return Xd;case 35679:case 36299:case 36307:return Kd;case 35680:case 36300:case 36308:case 36293:return Zd;case 36289:case 36303:case 36311:case 36292:return eh}}(t.type)}}class $h{constructor(e,t,r){this.id=e,this.addr=r,this.cache=[],this.type=t.type,this.size=t.size,this.setValue=function(e){switch(e){case 5126:return th;case 35664:return rh;case 35665:return nh;case 35666:return ih;case 35674:return oh;case 35675:return sh;case 35676:return ah;case 5124:case 35670:return lh;case 35667:case 35671:return ch;case 35668:case 35672:return uh;case 35669:case 35673:return dh;case 5125:return hh;case 36294:return ph;case 36295:return mh;case 36296:return _h;case 35678:case 36198:case 36298:case 36306:case 35682:return gh;case 35679:case 36299:case 36307:return fh;case 35680:case 36300:case 36308:case 36293:return vh;case 36289:case 36303:case 36311:case 36292:return bh}}(t.type)}}class xh{constructor(e){this.id=e,this.seq=[],this.map={}}setValue(e,t,r){const n=this.seq;for(let i=0,o=n.length;i!==o;++i){const o=n[i];o.setValue(e,t[o.id],r)}}}const Sh=/(\w+)(\])?(\[|\.)?/g;function wh(e,t){e.seq.push(t),e.map[t.id]=t}function Ah(e,t,r){const n=e.name,i=n.length;for(Sh.lastIndex=0;;){const o=Sh.exec(n),s=Sh.lastIndex;let a=o[1];const l="]"===o[2],c=o[3];if(l&&(a|=0),void 0===c||"["===c&&s+2===i){wh(r,void 0===c?new yh(a,e,t):new $h(a,e,t));break}{let e=r.map[a];void 0===e&&(e=new xh(a),wh(r,e)),r=e}}}class Ch{constructor(e,t){this.seq=[],this.map={};const r=e.getProgramParameter(t,e.ACTIVE_UNIFORMS);for(let n=0;n<r;++n){const r=e.getActiveUniform(t,n);Ah(r,e.getUniformLocation(t,r.name),this)}}setValue(e,t,r,n){const i=this.map[t];void 0!==i&&i.setValue(e,r,n)}setOptional(e,t,r){const n=t[r];void 0!==n&&this.setValue(e,r,n)}static upload(e,t,r,n){for(let i=0,o=t.length;i!==o;++i){const o=t[i],s=r[o.id];!1!==s.needsUpdate&&o.setValue(e,s.value,n)}}static seqWithValue(e,t){const r=[];for(let n=0,i=e.length;n!==i;++n){const i=e[n];i.id in t&&r.push(i)}return r}}function Eh(e,t,r){const n=e.createShader(t);return e.shaderSource(n,r),e.compileShader(n),n}let Ih=0;const Mh=new xr;function kh(e,t,r){const n=e.getShaderParameter(t,e.COMPILE_STATUS),i=(e.getShaderInfoLog(t)||"").trim();if(n&&""===i)return"";const o=/ERROR: 0:(\d+)/.exec(i);if(o){const n=parseInt(o[1]);return r.toUpperCase()+"\n\n"+i+"\n\n"+function(e,t){const r=e.split("\n"),n=[],i=Math.max(t-6,0),o=Math.min(t+6,r.length);for(let e=i;e<o;e++){const i=e+1;n.push(`${i===t?">":" "} ${i}: ${r[e]}`)}return n.join("\n")}(e.getShaderSource(t),n)}return i}function Th(e,t){const r=function(e){Rr._getMatrix(Mh,Rr.workingColorSpace,e);const t=`mat3( ${Mh.elements.map(e=>e.toFixed(4))} )`;switch(Rr.getTransfer(e)){case Gt:return[t,"LinearTransferOETF"];case jt:return[t,"sRGBTransferOETF"];default:return console.warn("THREE.WebGLProgram: Unsupported color space: ",e),[t,"LinearTransferOETF"]}}(t);return[`vec4 ${e}( vec4 value ) {`,`\treturn ${r[1]}( vec4( value.rgb * ${r[0]}, value.a ) );`,"}"].join("\n")}function Rh(e,t){let r;switch(t){case 1:r="Linear";break;case 2:r="Reinhard";break;case 3:r="Cineon";break;case 4:r="ACESFilmic";break;case 6:r="AgX";break;case 7:r="Neutral";break;case 5:r="Custom";break;default:console.warn("THREE.WebGLProgram: Unsupported toneMapping:",t),r="Linear"}return"vec3 "+e+"( vec3 color ) { return "+r+"ToneMapping( color ); }"}const Lh=new br;function Ph(){Rr.getLuminanceCoefficients(Lh);return["float luminance( const in vec3 rgb ) {",`\tconst vec3 weights = vec3( ${Lh.x.toFixed(4)}, ${Lh.y.toFixed(4)}, ${Lh.z.toFixed(4)} );`,"\treturn dot( weights, rgb );","}"].join("\n")}function Dh(e){return""!==e}function Nh(e,t){const r=t.numSpotLightShadows+t.numSpotLightMaps-t.numSpotLightShadowsWithMaps;return e.replace(/NUM_DIR_LIGHTS/g,t.numDirLights).replace(/NUM_SPOT_LIGHTS/g,t.numSpotLights).replace(/NUM_SPOT_LIGHT_MAPS/g,t.numSpotLightMaps).replace(/NUM_SPOT_LIGHT_COORDS/g,r).replace(/NUM_RECT_AREA_LIGHTS/g,t.numRectAreaLights).replace(/NUM_POINT_LIGHTS/g,t.numPointLights).replace(/NUM_HEMI_LIGHTS/g,t.numHemiLights).replace(/NUM_DIR_LIGHT_SHADOWS/g,t.numDirLightShadows).replace(/NUM_SPOT_LIGHT_SHADOWS_WITH_MAPS/g,t.numSpotLightShadowsWithMaps).replace(/NUM_SPOT_LIGHT_SHADOWS/g,t.numSpotLightShadows).replace(/NUM_POINT_LIGHT_SHADOWS/g,t.numPointLightShadows)}function Fh(e,t){return e.replace(/NUM_CLIPPING_PLANES/g,t.numClippingPlanes).replace(/UNION_CLIPPING_PLANES/g,t.numClippingPlanes-t.numClipIntersection)}const Oh=/^[ \t]*#include +<([\w\d./]+)>/gm;function Bh(e){return e.replace(Oh,Vh)}const Uh=new Map;function Vh(e,t){let r=Bu[t];if(void 0===r){const e=Uh.get(t);if(void 0===e)throw new Error("Can not resolve #include <"+t+">");r=Bu[e],console.warn('THREE.WebGLRenderer: Shader chunk "%s" has been deprecated. Use "%s" instead.',t,e)}return Bh(r)}const zh=/#pragma unroll_loop_start\s+for\s*\(\s*int\s+i\s*=\s*(\d+)\s*;\s*i\s*<\s*(\d+)\s*;\s*i\s*\+\+\s*\)\s*{([\s\S]+?)}\s+#pragma unroll_loop_end/g;function Hh(e){return e.replace(zh,Gh)}function Gh(e,t,r,n){let i="";for(let e=parseInt(t);e<parseInt(r);e++)i+=n.replace(/\[\s*i\s*\]/g,"[ "+e+" ]").replace(/UNROLLED_LOOP_INDEX/g,e);return i}function jh(e){let t=`precision ${e.precision} float;\n\tprecision ${e.precision} int;\n\tprecision ${e.precision} sampler2D;\n\tprecision ${e.precision} samplerCube;\n\tprecision ${e.precision} sampler3D;\n\tprecision ${e.precision} sampler2DArray;\n\tprecision ${e.precision} sampler2DShadow;\n\tprecision ${e.precision} samplerCubeShadow;\n\tprecision ${e.precision} sampler2DArrayShadow;\n\tprecision ${e.precision} isampler2D;\n\tprecision ${e.precision} isampler3D;\n\tprecision ${e.precision} isamplerCube;\n\tprecision ${e.precision} isampler2DArray;\n\tprecision ${e.precision} usampler2D;\n\tprecision ${e.precision} usampler3D;\n\tprecision ${e.precision} usamplerCube;\n\tprecision ${e.precision} usampler2DArray;\n\t`;return"highp"===e.precision?t+="\n#define HIGH_PRECISION":"mediump"===e.precision?t+="\n#define MEDIUM_PRECISION":"lowp"===e.precision&&(t+="\n#define LOW_PRECISION"),t}function Jh(e,t,r,n){const i=e.getContext(),o=r.defines;let s=r.vertexShader,a=r.fragmentShader;const l=function(e){let t="SHADOWMAP_TYPE_BASIC";const r=window.ProgramHooks.generateShadowMapType(e.shadowMapType);return r||(1===e.shadowMapType?t="SHADOWMAP_TYPE_PCF":2===e.shadowMapType?t="SHADOWMAP_TYPE_PCF_SOFT":3===e.shadowMapType&&(t="SHADOWMAP_TYPE_VSM"),t)}(r),c=function(e){let t="ENVMAP_TYPE_CUBE";if(e.envMap){const r=window.ProgramHooks.generateEnvMapType(e.envMapMode);if(r)return r;switch(e.envMapMode){case _e:case ge:t="ENVMAP_TYPE_CUBE";break;case be:t="ENVMAP_TYPE_CUBE_UV"}}return t}(r),u=function(e){let t="ENVMAP_MODE_REFLECTION";e.envMap&&e.envMapMode===ge&&(t="ENVMAP_MODE_REFRACTION");return t}(r),d=function(e){let t="ENVMAP_BLENDING_NONE";if(e.envMap)switch(e.combine){case 0:t="ENVMAP_BLENDING_MULTIPLY";break;case 1:t="ENVMAP_BLENDING_MIX";break;case 2:t="ENVMAP_BLENDING_ADD"}return t}(r),h=function(e){const t=e.envMapCubeUVHeight;if(null===t)return null;const r=Math.log2(t)-2,n=1/t;return{texelWidth:1/(3*Math.max(Math.pow(2,r),112)),texelHeight:n,maxMip:r}}(r),p=function(e){return[e.extensionClipCullDistance?"#extension GL_ANGLE_clip_cull_distance : require":"",e.extensionMultiDraw?"#extension GL_ANGLE_multi_draw : require":""].filter(Dh).join("\n")}(r),m=function(e){const t=[];for(const r in e){const n=e[r];!1!==n&&t.push("#define "+r+" "+n)}return t.join("\n")}(o),_=i.createProgram();let g,f,v=r.glslVersion?"#version "+r.glslVersion+"\n":"";r.isRawShaderMaterial?(g=["#define SHADER_TYPE "+r.shaderType,"#define SHADER_NAME "+r.shaderName,m].filter(Dh).join("\n"),g.length>0&&(g+="\n"),f=["#define SHADER_TYPE "+r.shaderType,"#define SHADER_NAME "+r.shaderName,m].filter(Dh).join("\n"),f.length>0&&(f+="\n")):(g=[jh(r),"#define SHADER_TYPE "+r.shaderType,"#define SHADER_NAME "+r.shaderName,...window.ProgramHooks.shaderDefineHook(r),m,r.extensionClipCullDistance?"#define USE_CLIP_DISTANCE":"",r.batching?"#define USE_BATCHING":"",r.batchingColor?"#define USE_BATCHING_COLOR":"",r.instancing?"#define USE_INSTANCING":"",r.instancingColor?"#define USE_INSTANCING_COLOR":"",r.instancingMorph?"#define USE_INSTANCING_MORPH":"",r.useFog&&r.fog?"#define USE_FOG":"",r.useFog&&r.fogExp2?"#define FOG_EXP2":"",r.map?"#define USE_MAP":"",r.envMap?"#define USE_ENVMAP":"",r.envMap?"#define "+u:"",r.lightMap?"#define USE_LIGHTMAP":"",r.aoMap?"#define USE_AOMAP":"",r.bumpMap?"#define USE_BUMPMAP":"",r.normalMap?"#define USE_NORMALMAP":"",r.normalMapObjectSpace?"#define USE_NORMALMAP_OBJECTSPACE":"",r.normalMapTangentSpace?"#define USE_NORMALMAP_TANGENTSPACE":"",r.displacementMap?"#define USE_DISPLACEMENTMAP":"",r.emissiveMap?"#define USE_EMISSIVEMAP":"",r.anisotropy?"#define USE_ANISOTROPY":"",r.anisotropyMap?"#define USE_ANISOTROPYMAP":"",r.clearcoatMap?"#define USE_CLEARCOATMAP":"",r.clearcoatRoughnessMap?"#define USE_CLEARCOAT_ROUGHNESSMAP":"",r.clearcoatNormalMap?"#define USE_CLEARCOAT_NORMALMAP":"",r.iridescenceMap?"#define USE_IRIDESCENCEMAP":"",r.iridescenceThicknessMap?"#define USE_IRIDESCENCE_THICKNESSMAP":"",r.specularMap?"#define USE_SPECULARMAP":"",r.specularColorMap?"#define USE_SPECULAR_COLORMAP":"",r.specularIntensityMap?"#define USE_SPECULAR_INTENSITYMAP":"",r.roughnessMap?"#define USE_ROUGHNESSMAP":"",r.metalnessMap?"#define USE_METALNESSMAP":"",r.alphaMap?"#define USE_ALPHAMAP":"",r.alphaHash?"#define USE_ALPHAHASH":"",r.transmission?"#define USE_TRANSMISSION":"",r.transmissionMap?"#define USE_TRANSMISSIONMAP":"",r.thicknessMap?"#define USE_THICKNESSMAP":"",r.sheenColorMap?"#define USE_SHEEN_COLORMAP":"",r.sheenRoughnessMap?"#define USE_SHEEN_ROUGHNESSMAP":"",r.mapUv?"#define MAP_UV "+r.mapUv:"",r.alphaMapUv?"#define ALPHAMAP_UV "+r.alphaMapUv:"",r.lightMapUv?"#define LIGHTMAP_UV "+r.lightMapUv:"",r.aoMapUv?"#define AOMAP_UV "+r.aoMapUv:"",r.emissiveMapUv?"#define EMISSIVEMAP_UV "+r.emissiveMapUv:"",r.bumpMapUv?"#define BUMPMAP_UV "+r.bumpMapUv:"",r.normalMapUv?"#define NORMALMAP_UV "+r.normalMapUv:"",r.displacementMapUv?"#define DISPLACEMENTMAP_UV "+r.displacementMapUv:"",r.metalnessMapUv?"#define METALNESSMAP_UV "+r.metalnessMapUv:"",r.roughnessMapUv?"#define ROUGHNESSMAP_UV "+r.roughnessMapUv:"",r.anisotropyMapUv?"#define ANISOTROPYMAP_UV "+r.anisotropyMapUv:"",r.clearcoatMapUv?"#define CLEARCOATMAP_UV "+r.clearcoatMapUv:"",r.clearcoatNormalMapUv?"#define CLEARCOAT_NORMALMAP_UV "+r.clearcoatNormalMapUv:"",r.clearcoatRoughnessMapUv?"#define CLEARCOAT_ROUGHNESSMAP_UV "+r.clearcoatRoughnessMapUv:"",r.iridescenceMapUv?"#define IRIDESCENCEMAP_UV "+r.iridescenceMapUv:"",r.iridescenceThicknessMapUv?"#define IRIDESCENCE_THICKNESSMAP_UV "+r.iridescenceThicknessMapUv:"",r.sheenColorMapUv?"#define SHEEN_COLORMAP_UV "+r.sheenColorMapUv:"",r.sheenRoughnessMapUv?"#define SHEEN_ROUGHNESSMAP_UV "+r.sheenRoughnessMapUv:"",r.specularMapUv?"#define SPECULARMAP_UV "+r.specularMapUv:"",r.specularColorMapUv?"#define SPECULAR_COLORMAP_UV "+r.specularColorMapUv:"",r.specularIntensityMapUv?"#define SPECULAR_INTENSITYMAP_UV "+r.specularIntensityMapUv:"",r.transmissionMapUv?"#define TRANSMISSIONMAP_UV "+r.transmissionMapUv:"",r.thicknessMapUv?"#define THICKNESSMAP_UV "+r.thicknessMapUv:"",r.vertexTangents&&!1===r.flatShading?"#define USE_TANGENT":"",r.vertexColors?"#define USE_COLOR":"",r.vertexAlphas?"#define USE_COLOR_ALPHA":"",r.vertexUv1s?"#define USE_UV1":"",r.vertexUv2s?"#define USE_UV2":"",r.vertexUv3s?"#define USE_UV3":"",r.pointsUvs?"#define USE_POINTS_UV":"",r.flatShading?"#define FLAT_SHADED":"",r.skinning?"#define USE_SKINNING":"",r.morphTargets?"#define USE_MORPHTARGETS":"",r.morphNormals&&!1===r.flatShading?"#define USE_MORPHNORMALS":"",r.morphColors?"#define USE_MORPHCOLORS":"",r.morphTargetsCount>0?"#define MORPHTARGETS_TEXTURE_STRIDE "+r.morphTextureStride:"",r.morphTargetsCount>0?"#define MORPHTARGETS_COUNT "+r.morphTargetsCount:"",r.doubleSided?"#define DOUBLE_SIDED":"",r.flipSided?"#define FLIP_SIDED":"",r.shadowMapEnabled?"#define USE_SHADOWMAP":"",r.shadowMapEnabled?"#define "+l:"",r.sizeAttenuation?"#define USE_SIZEATTENUATION":"",r.numLightProbes>0?"#define USE_LIGHT_PROBES":"",r.logarithmicDepthBuffer?"#define USE_LOGARITHMIC_DEPTH_BUFFER":"",r.reversedDepthBuffer?"#define USE_REVERSED_DEPTH_BUFFER":"","uniform mat4 modelMatrix;","uniform mat4 modelViewMatrix;","uniform mat4 projectionMatrix;","uniform mat4 viewMatrix;","uniform mat3 normalMatrix;","uniform vec3 cameraPosition;","uniform bool isOrthographic;",...window.ProgramHooks.shaderUniformHook(),"#ifdef USE_INSTANCING","\tattribute mat4 instanceMatrix;","#endif","#ifdef USE_INSTANCING_COLOR","\tattribute vec3 instanceColor;","#endif","#ifdef USE_INSTANCING_MORPH","\tuniform sampler2D morphTexture;","#endif","attribute vec3 position;","attribute vec3 normal;","attribute vec2 uv;","#ifdef USE_UV1","\tattribute vec2 uv1;","#endif","#ifdef USE_UV2","\tattribute vec2 uv2;","#endif","#ifdef USE_UV3","\tattribute vec2 uv3;","#endif","#ifdef USE_TANGENT","\tattribute vec4 tangent;","#endif","#if defined( USE_COLOR_ALPHA )","\tattribute vec4 color;","#elif defined( USE_COLOR )","\tattribute vec3 color;","#endif","#ifdef USE_SKINNING","\tattribute vec4 skinIndex;","\tattribute vec4 skinWeight;","#endif","\n"].filter(Dh).join("\n"),f=[jh(r),"#define SHADER_TYPE "+r.shaderType,"#define SHADER_NAME "+r.shaderName,...window.ProgramHooks.shaderDefineHook(r),m,r.useFog&&r.fog?"#define USE_FOG":"",r.useFog&&r.fogExp2?"#define FOG_EXP2":"",r.alphaToCoverage?"#define ALPHA_TO_COVERAGE":"",r.map?"#define USE_MAP":"",r.matcap?"#define USE_MATCAP":"",r.envMap?"#define USE_ENVMAP":"",r.envMap?"#define "+c:"",r.envMap?"#define "+u:"",r.envMap?"#define "+d:"",h?"#define CUBEUV_TEXEL_WIDTH "+h.texelWidth:"",h?"#define CUBEUV_TEXEL_HEIGHT "+h.texelHeight:"",h?"#define CUBEUV_MAX_MIP "+h.maxMip+".0":"",r.lightMap?"#define USE_LIGHTMAP":"",r.aoMap?"#define USE_AOMAP":"",r.bumpMap?"#define USE_BUMPMAP":"",r.normalMap?"#define USE_NORMALMAP":"",r.normalMapObjectSpace?"#define USE_NORMALMAP_OBJECTSPACE":"",r.normalMapTangentSpace?"#define USE_NORMALMAP_TANGENTSPACE":"",r.emissiveMap?"#define USE_EMISSIVEMAP":"",r.anisotropy?"#define USE_ANISOTROPY":"",r.anisotropyMap?"#define USE_ANISOTROPYMAP":"",r.clearcoat?"#define USE_CLEARCOAT":"",r.clearcoatMap?"#define USE_CLEARCOATMAP":"",r.clearcoatRoughnessMap?"#define USE_CLEARCOAT_ROUGHNESSMAP":"",r.clearcoatNormalMap?"#define USE_CLEARCOAT_NORMALMAP":"",r.dispersion?"#define USE_DISPERSION":"",r.iridescence?"#define USE_IRIDESCENCE":"",r.iridescenceMap?"#define USE_IRIDESCENCEMAP":"",r.iridescenceThicknessMap?"#define USE_IRIDESCENCE_THICKNESSMAP":"",r.specularMap?"#define USE_SPECULARMAP":"",r.specularColorMap?"#define USE_SPECULAR_COLORMAP":"",r.specularIntensityMap?"#define USE_SPECULAR_INTENSITYMAP":"",r.roughnessMap?"#define USE_ROUGHNESSMAP":"",r.metalnessMap?"#define USE_METALNESSMAP":"",r.alphaMap?"#define USE_ALPHAMAP":"",r.alphaTest?"#define USE_ALPHATEST":"",r.alphaHash?"#define USE_ALPHAHASH":"",r.sheen?"#define USE_SHEEN":"",r.sheenColorMap?"#define USE_SHEEN_COLORMAP":"",r.sheenRoughnessMap?"#define USE_SHEEN_ROUGHNESSMAP":"",r.transmission?"#define USE_TRANSMISSION":"",r.transmissionMap?"#define USE_TRANSMISSIONMAP":"",r.thicknessMap?"#define USE_THICKNESSMAP":"",r.vertexTangents&&!1===r.flatShading?"#define USE_TANGENT":"",r.vertexColors||r.instancingColor||r.batchingColor?"#define USE_COLOR":"",r.vertexAlphas?"#define USE_COLOR_ALPHA":"",r.vertexUv1s?"#define USE_UV1":"",r.vertexUv2s?"#define USE_UV2":"",r.vertexUv3s?"#define USE_UV3":"",r.pointsUvs?"#define USE_POINTS_UV":"",r.gradientMap?"#define USE_GRADIENTMAP":"",r.flatShading?"#define FLAT_SHADED":"",r.doubleSided?"#define DOUBLE_SIDED":"",r.flipSided?"#define FLIP_SIDED":"",r.shadowMapEnabled?"#define USE_SHADOWMAP":"",r.shadowMapEnabled?"#define "+l:"",r.premultipliedAlpha?"#define PREMULTIPLIED_ALPHA":"",r.numLightProbes>0?"#define USE_LIGHT_PROBES":"",r.decodeVideoTexture?"#define DECODE_VIDEO_TEXTURE":"",r.decodeVideoTextureEmissive?"#define DECODE_VIDEO_TEXTURE_EMISSIVE":"",r.logarithmicDepthBuffer?"#define USE_LOGARITHMIC_DEPTH_BUFFER":"",r.reversedDepthBuffer?"#define USE_REVERSED_DEPTH_BUFFER":"","uniform mat4 viewMatrix;","uniform vec3 cameraPosition;","uniform bool isOrthographic;",0!==r.toneMapping?"#define TONE_MAPPING":"",0!==r.toneMapping?Bu.tonemapping_pars_fragment:"",0!==r.toneMapping?Rh("toneMapping",r.toneMapping):"",r.dithering?"#define DITHERING":"",r.opaque?"#define OPAQUE":"",Bu.colorspace_pars_fragment,Th("linearToOutputTexel",r.outputColorSpace),Ph(),r.useDepthPacking?"#define DEPTH_PACKING "+r.depthPacking:"","\n"].filter(Dh).join("\n")),s=Bh(s),s=Nh(s,r),s=Fh(s,r),a=Bh(a),a=Nh(a,r),a=Fh(a,r),s=window.ProgramHooks.replaceDHNums(s,r),a=window.ProgramHooks.replaceDHNums(a,r),s=Hh(s),a=Hh(a),!0!==r.isRawShaderMaterial&&(v="#version 300 es\n",g=[p,"#define attribute in","#define varying out","#define texture2D texture"].join("\n")+"\n"+g,f=["#define varying in",r.glslVersion===rr?"":"layout(location = 0) out highp vec4 pc_fragColor;",r.glslVersion===rr?"":"#define gl_FragColor pc_fragColor","#define gl_FragDepthEXT gl_FragDepth","#define texture2D texture","#define textureCube texture","#define texture2DProj textureProj","#define texture2DLodEXT textureLod","#define texture2DProjLodEXT textureProjLod","#define textureCubeLodEXT textureLod","#define texture2DGradEXT textureGrad","#define texture2DProjGradEXT textureProjGrad","#define textureCubeGradEXT textureGrad"].join("\n")+"\n"+f);const b=v+g+s,y=v+f+a,$=Eh(i,i.VERTEX_SHADER,b),x=Eh(i,i.FRAGMENT_SHADER,y);function S(t){if(e.debug.checkShaderErrors){const r=i.getProgramInfoLog(_)||"",n=i.getShaderInfoLog($)||"",o=i.getShaderInfoLog(x)||"",s=r.trim(),a=n.trim(),l=o.trim();let c=!0,u=!0;if(!1===i.getProgramParameter(_,i.LINK_STATUS))if(c=!1,"function"==typeof e.debug.onShaderError)e.debug.onShaderError(i,_,$,x);else{const e=kh(i,$,"vertex"),r=kh(i,x,"fragment");console.error("THREE.WebGLProgram: Shader Error "+i.getError()+" - VALIDATE_STATUS "+i.getProgramParameter(_,i.VALIDATE_STATUS)+"\n\nMaterial Name: "+t.name+"\nMaterial Type: "+t.type+"\n\nProgram Info Log: "+s+"\n"+e+"\n"+r)}else""!==s?console.warn("THREE.WebGLProgram: Program Info Log:",s):""!==a&&""!==l||(u=!1);u&&(t.diagnostics={runnable:c,programLog:s,vertexShader:{log:a,prefix:g},fragmentShader:{log:l,prefix:f}})}i.deleteShader($),i.deleteShader(x),w=new Ch(i,_),A=function(e,t){const r={},n=e.getProgramParameter(t,e.ACTIVE_ATTRIBUTES);for(let i=0;i<n;i++){const n=e.getActiveAttrib(t,i),o=n.name;let s=1;n.type===e.FLOAT_MAT2&&(s=2),n.type===e.FLOAT_MAT3&&(s=3),n.type===e.FLOAT_MAT4&&(s=4),r[o]={type:n.type,location:e.getAttribLocation(t,o),locationSize:s}}return r}(i,_)}let w,A;i.attachShader(_,$),i.attachShader(_,x),void 0!==r.index0AttributeName?i.bindAttribLocation(_,0,r.index0AttributeName):!0===r.morphTargets&&i.bindAttribLocation(_,0,"position"),i.linkProgram(_),this.getUniforms=function(){return void 0===w&&S(this),w},this.getAttributes=function(){return void 0===A&&S(this),A};let C=!1===r.rendererExtensionParallelShaderCompile;return this.isReady=function(){return!1===C&&(C=i.getProgramParameter(_,37297)),C},this.destroy=function(){n.releaseStatesOfProgram(this),i.deleteProgram(_),this.program=void 0},this.type=r.shaderType,this.name=r.shaderName,this.id=Ih++,this.cacheKey=t,this.usedTimes=1,this.program=_,this.vertexShader=$,this.fragmentShader=x,this}let Wh=0;class Qh{constructor(){this.shaderCache=new Map,this.materialCache=new Map}update(e){const t=e.vertexShader,r=e.fragmentShader,n=this._getShaderStage(t),i=this._getShaderStage(r),o=this._getShaderCacheForMaterial(e);return!1===o.has(n)&&(o.add(n),n.usedTimes++),!1===o.has(i)&&(o.add(i),i.usedTimes++),this}remove(e){const t=this.materialCache.get(e);for(const e of t)e.usedTimes--,0===e.usedTimes&&this.shaderCache.delete(e.code);return this.materialCache.delete(e),this}getVertexShaderID(e){return this._getShaderStage(e.vertexShader).id}getFragmentShaderID(e){return this._getShaderStage(e.fragmentShader).id}dispose(){this.shaderCache.clear(),this.materialCache.clear()}_getShaderCacheForMaterial(e){const t=this.materialCache;let r=t.get(e);return void 0===r&&(r=new Set,t.set(e,r)),r}_getShaderStage(e){const t=this.shaderCache;let r=t.get(e);return void 0===r&&(r=new qh(e),t.set(e,r)),r}}class qh{constructor(e){this.id=Wh++,this.code=e,this.usedTimes=0}}function Yh(e,t,r,n,i,o,s){const a=new Ln,l=new Qh,c=new Set,u=[],d=i.logarithmicDepthBuffer,h=i.vertexTextures;let p=i.precision;const m={MeshDepthMaterial:"depth",MeshDistanceMaterial:"distanceRGBA",MeshNormalMaterial:"normal",MeshBasicMaterial:"basic",MeshLambertMaterial:"lambert",MeshPhongMaterial:"phong",MeshToonMaterial:"toon",MeshStandardMaterial:"physical",MeshPhysicalMaterial:"physical",MeshMatcapMaterial:"matcap",LineBasicMaterial:"basic",LineDashedMaterial:"dashed",PointsMaterial:"points",ShadowMaterial:"shadow",SpriteMaterial:"sprite"};function _(e){return c.add(e),0===e?"uv":`uv${e}`}return window.ProgramHooks.shaderIdsHook(m),{getParameters:function(o,a,u,g,f){const v=g.fog,b=f.geometry,y=o.isMeshStandardMaterial?g.environment:null,$=(o.isMeshStandardMaterial?r:t).get(o.envMap||y),x=$&&$.mapping===be?$.image.height:null,S=m[o.type];null!==o.precision&&(p=i.getMaxPrecision(o.precision),p!==o.precision&&console.warn("THREE.WebGLProgram.getParameters:",o.precision,"not supported, using",p,"instead."));const w=b.morphAttributes.position||b.morphAttributes.normal||b.morphAttributes.color,A=void 0!==w?w.length:0;let C,E,I,M,k=0;if(void 0!==b.morphAttributes.position&&(k=1),void 0!==b.morphAttributes.normal&&(k=2),void 0!==b.morphAttributes.color&&(k=3),S){const e=Vu[S];C=e.vertexShader,E=e.fragmentShader}else C=o.vertexShader,E=o.fragmentShader,l.update(o),I=l.getVertexShaderID(o),M=l.getFragmentShaderID(o);const T=e.getRenderTarget(),R=e.state.buffers.depth.getReversed(),L=!0===f.isInstancedMesh,P=!0===f.isBatchedMesh,D=!!o.map,N=!!o.matcap,F=!!$,O=!!o.aoMap,B=!!o.lightMap,U=!!o.bumpMap,V=!!o.normalMap,z=!!o.displacementMap,H=!!o.emissiveMap,G=!!o.metalnessMap,j=!!o.roughnessMap,J=o.anisotropy>0,W=o.clearcoat>0,Q=o.dispersion>0,q=o.iridescence>0,Y=o.sheen>0,X=o.transmission>0,K=J&&!!o.anisotropyMap,Z=W&&!!o.clearcoatMap,ee=W&&!!o.clearcoatNormalMap,te=W&&!!o.clearcoatRoughnessMap,re=q&&!!o.iridescenceMap,ne=q&&!!o.iridescenceThicknessMap,ie=Y&&!!o.sheenColorMap,oe=Y&&!!o.sheenRoughnessMap,se=!!o.specularMap,ae=!!o.specularColorMap,le=!!o.specularIntensityMap,ce=X&&!!o.transmissionMap,ue=X&&!!o.thicknessMap,de=!!o.gradientMap,he=!!o.alphaMap,pe=o.alphaTest>0,me=!!o.alphaHash,_e=!!o.extensions;let ge=0;o.toneMapped&&(null!==T&&!0!==T.isXRRenderTarget||(ge=e.toneMapping));const fe={shaderID:S,shaderType:o.type,shaderName:o.name,vertexShader:C,fragmentShader:E,defines:o.defines,customVertexShaderID:I,customFragmentShaderID:M,isRawShaderMaterial:!0===o.isRawShaderMaterial,glslVersion:o.glslVersion,precision:p,batching:P,batchingColor:P&&null!==f._colorsTexture,instancing:L,instancingColor:L&&null!==f.instanceColor,instancingMorph:L&&null!==f.morphTexture,supportsVertexTextures:h,outputColorSpace:null===T?e.outputColorSpace:!0===T.isXRRenderTarget?T.texture.colorSpace:Ht,alphaToCoverage:!!o.alphaToCoverage,map:D,matcap:N,envMap:F,envMapMode:F&&$.mapping,envMapCubeUVHeight:x,aoMap:O,lightMap:B,bumpMap:U,normalMap:V,displacementMap:h&&z,emissiveMap:H,normalMapObjectSpace:V&&1===o.normalMapType,normalMapTangentSpace:V&&0===o.normalMapType,metalnessMap:G,roughnessMap:j,anisotropy:J,anisotropyMap:K,clearcoat:W,clearcoatMap:Z,clearcoatNormalMap:ee,clearcoatRoughnessMap:te,dispersion:Q,iridescence:q,iridescenceMap:re,iridescenceThicknessMap:ne,sheen:Y,sheenColorMap:ie,sheenRoughnessMap:oe,specularMap:se,specularColorMap:ae,specularIntensityMap:le,transmission:X,transmissionMap:ce,thicknessMap:ue,gradientMap:de,opaque:!1===o.transparent&&1===o.blending&&!1===o.alphaToCoverage,alphaMap:he,alphaTest:pe,alphaHash:me,combine:o.combine,mapUv:D&&_(o.map.channel),aoMapUv:O&&_(o.aoMap.channel),lightMapUv:B&&_(o.lightMap.channel),bumpMapUv:U&&_(o.bumpMap.channel),normalMapUv:V&&_(o.normalMap.channel),displacementMapUv:z&&_(o.displacementMap.channel),emissiveMapUv:H&&_(o.emissiveMap.channel),metalnessMapUv:G&&_(o.metalnessMap.channel),roughnessMapUv:j&&_(o.roughnessMap.channel),anisotropyMapUv:K&&_(o.anisotropyMap.channel),clearcoatMapUv:Z&&_(o.clearcoatMap.channel),clearcoatNormalMapUv:ee&&_(o.clearcoatNormalMap.channel),clearcoatRoughnessMapUv:te&&_(o.clearcoatRoughnessMap.channel),iridescenceMapUv:re&&_(o.iridescenceMap.channel),iridescenceThicknessMapUv:ne&&_(o.iridescenceThicknessMap.channel),sheenColorMapUv:ie&&_(o.sheenColorMap.channel),sheenRoughnessMapUv:oe&&_(o.sheenRoughnessMap.channel),specularMapUv:se&&_(o.specularMap.channel),specularColorMapUv:ae&&_(o.specularColorMap.channel),specularIntensityMapUv:le&&_(o.specularIntensityMap.channel),transmissionMapUv:ce&&_(o.transmissionMap.channel),thicknessMapUv:ue&&_(o.thicknessMap.channel),alphaMapUv:he&&_(o.alphaMap.channel),vertexTangents:!!b.attributes.tangent&&(V||J),vertexColors:o.vertexColors,vertexAlphas:!0===o.vertexColors&&!!b.attributes.color&&4===b.attributes.color.itemSize,pointsUvs:!0===f.isPoints&&!!b.attributes.uv&&(D||he),fog:!!v,useFog:!0===o.fog,fogExp2:!!v&&v.isFogExp2,flatShading:!0===o.flatShading&&!1===o.wireframe,sizeAttenuation:!0===o.sizeAttenuation,logarithmicDepthBuffer:d,reversedDepthBuffer:R,skinning:!0===f.isSkinnedMesh,morphTargets:void 0!==b.morphAttributes.position,morphNormals:void 0!==b.morphAttributes.normal,morphColors:void 0!==b.morphAttributes.color,morphTargetsCount:A,morphTextureStride:k,numDirLights:a.directional.length,numPointLights:a.point.length,numSpotLights:a.spot.length,numSpotLightMaps:a.spotLightMap.length,numRectAreaLights:a.rectArea.length,numHemiLights:a.hemi.length,numDirLightShadows:a.directionalShadowMap.length,numPointLightShadows:a.pointShadowMap.length,numSpotLightShadows:a.spotShadowMap.length,numSpotLightShadowsWithMaps:a.numSpotLightShadowsWithMaps,numLightProbes:a.numLightProbes,numClippingPlanes:s.numPlanes,numClipIntersection:s.numIntersection,dithering:o.dithering,shadowMapEnabled:e.shadowMap.enabled&&u.length>0,shadowMapType:e.shadowMap.type,toneMapping:ge,decodeVideoTexture:D&&!0===o.map.isVideoTexture&&Rr.getTransfer(o.map.colorSpace)===jt,decodeVideoTextureEmissive:H&&!0===o.emissiveMap.isVideoTexture&&Rr.getTransfer(o.emissiveMap.colorSpace)===jt,premultipliedAlpha:o.premultipliedAlpha,doubleSided:2===o.side,flipSided:1===o.side,useDepthPacking:o.depthPacking>=0,depthPacking:o.depthPacking||0,index0AttributeName:o.index0AttributeName,extensionClipCullDistance:_e&&!0===o.extensions.clipCullDistance&&n.has("WEBGL_clip_cull_distance"),extensionMultiDraw:(_e&&!0===o.extensions.multiDraw||P)&&n.has("WEBGL_multi_draw"),rendererExtensionParallelShaderCompile:n.has("KHR_parallel_shader_compile"),customProgramCacheKey:o.customProgramCacheKey()};return fe.vertexUv1s=c.has(1),fe.vertexUv2s=c.has(2),fe.vertexUv3s=c.has(3),c.clear(),window.ProgramHooks.appendParameters(fe,o),fe},getProgramCacheKey:function(t){const r=[];if(t.shaderID?r.push(t.shaderID):(r.push(t.customVertexShaderID),r.push(t.customFragmentShaderID)),void 0!==t.defines)for(const e in t.defines)r.push(e),r.push(t.defines[e]);return!1===t.isRawShaderMaterial&&(!function(e,t){e.push(t.precision),e.push(t.outputColorSpace),e.push(t.envMapMode),e.push(t.envMapCubeUVHeight),e.push(t.mapUv),e.push(t.alphaMapUv),e.push(t.lightMapUv),e.push(t.aoMapUv),e.push(t.bumpMapUv),e.push(t.normalMapUv),e.push(t.displacementMapUv),e.push(t.emissiveMapUv),e.push(t.metalnessMapUv),e.push(t.roughnessMapUv),e.push(t.anisotropyMapUv),e.push(t.clearcoatMapUv),e.push(t.clearcoatNormalMapUv),e.push(t.clearcoatRoughnessMapUv),e.push(t.iridescenceMapUv),e.push(t.iridescenceThicknessMapUv),e.push(t.sheenColorMapUv),e.push(t.sheenRoughnessMapUv),e.push(t.specularMapUv),e.push(t.specularColorMapUv),e.push(t.specularIntensityMapUv),e.push(t.transmissionMapUv),e.push(t.thicknessMapUv),e.push(t.combine),e.push(t.fogExp2),e.push(t.sizeAttenuation),e.push(t.morphTargetsCount),e.push(t.morphAttributeCount),e.push(t.numDirLights),e.push(t.numPointLights),e.push(t.numSpotLights),e.push(t.numSpotLightMaps),e.push(t.numHemiLights),e.push(t.numRectAreaLights),e.push(t.numDirLightShadows),e.push(t.numPointLightShadows),e.push(t.numSpotLightShadows),e.push(t.numSpotLightShadowsWithMaps),e.push(t.numLightProbes),e.push(t.shadowMapType),e.push(t.toneMapping),e.push(t.numClippingPlanes),e.push(t.numClipIntersection),e.push(t.depthPacking)}(r,t),function(e,t){a.disableAll(),t.supportsVertexTextures&&a.enable(0);t.instancing&&a.enable(1);t.instancingColor&&a.enable(2);t.instancingMorph&&a.enable(3);t.matcap&&a.enable(4);t.envMap&&a.enable(5);t.normalMapObjectSpace&&a.enable(6);t.normalMapTangentSpace&&a.enable(7);t.clearcoat&&a.enable(8);t.iridescence&&a.enable(9);t.alphaTest&&a.enable(10);t.vertexColors&&a.enable(11);t.vertexAlphas&&a.enable(12);t.vertexUv1s&&a.enable(13);t.vertexUv2s&&a.enable(14);t.vertexUv3s&&a.enable(15);t.vertexTangents&&a.enable(16);t.anisotropy&&a.enable(17);t.alphaHash&&a.enable(18);t.batching&&a.enable(19);t.dispersion&&a.enable(20);t.batchingColor&&a.enable(21);t.gradientMap&&a.enable(22);e.push(a.mask),a.disableAll(),t.fog&&a.enable(0);t.useFog&&a.enable(1);t.flatShading&&a.enable(2);t.logarithmicDepthBuffer&&a.enable(3);t.reversedDepthBuffer&&a.enable(4);t.skinning&&a.enable(5);t.morphTargets&&a.enable(6);t.morphNormals&&a.enable(7);t.morphColors&&a.enable(8);t.premultipliedAlpha&&a.enable(9);t.shadowMapEnabled&&a.enable(10);t.doubleSided&&a.enable(11);t.flipSided&&a.enable(12);t.useDepthPacking&&a.enable(13);t.dithering&&a.enable(14);t.transmission&&a.enable(15);t.sheen&&a.enable(16);t.opaque&&a.enable(17);t.pointsUvs&&a.enable(18);t.decodeVideoTexture&&a.enable(19);t.decodeVideoTextureEmissive&&a.enable(20);t.alphaToCoverage&&a.enable(21);e.push(a.mask)}(r,t),r.push(e.outputColorSpace)),r.push(t.customProgramCacheKey),r.join()},getUniforms:function(e){const t=m[e.type];let r;if(t){const e=Vu[t];r=ro.clone(e.uniforms)}else r=e.uniforms;return r},acquireProgram:function(t,r){let n;for(let e=0,t=u.length;e<t;e++){const t=u[e];if(t.cacheKey===r){n=t,++n.usedTimes;break}}return void 0===n&&(n=new Jh(e,r,t,o),u.push(n)),n},releaseProgram:function(e){if(0===--e.usedTimes){const t=u.indexOf(e);u[t]=u[u.length-1],u.pop(),e.destroy()}},releaseShaderCache:function(e){l.remove(e)},programs:u,dispose:function(){l.dispose()}}}function Xh(){let e=new WeakMap;return{has:function(t){return e.has(t)},get:function(t){let r=e.get(t);return void 0===r&&(r={},e.set(t,r)),r},remove:function(t){e.delete(t)},update:function(t,r,n){e.get(t)[r]=n},dispose:function(){e=new WeakMap}}}function Kh(e,t){return e.groupOrder!==t.groupOrder?e.groupOrder-t.groupOrder:e.renderOrder!==t.renderOrder?e.renderOrder-t.renderOrder:e.material.id!==t.material.id?e.material.id-t.material.id:e.z!==t.z?e.z-t.z:e.id-t.id}function Zh(e,t){return e.groupOrder!==t.groupOrder?e.groupOrder-t.groupOrder:e.renderOrder!==t.renderOrder?e.renderOrder-t.renderOrder:e.z!==t.z?t.z-e.z:e.id-t.id}function ep(){const e=[];let t=0;const r=[],n=[],i=[];function o(r,n,i,o,s,a){let l=e[t];return void 0===l?(l={id:r.id,object:r,geometry:n,material:i,groupOrder:o,renderOrder:r.renderOrder,z:s,group:a},e[t]=l):(l.id=r.id,l.object=r,l.geometry=n,l.material=i,l.groupOrder=o,l.renderOrder=r.renderOrder,l.z=s,l.group=a),t++,l}return{opaque:r,transmissive:n,transparent:i,init:function(){t=0,r.length=0,n.length=0,i.length=0},push:function(e,t,s,a,l,c){const u=o(e,t,s,a,l,c);s.transmission>0?n.push(u):!0===s.transparent?i.push(u):r.push(u)},unshift:function(e,t,s,a,l,c){const u=o(e,t,s,a,l,c);s.transmission>0?n.unshift(u):!0===s.transparent?i.unshift(u):r.unshift(u)},finish:function(){for(let r=t,n=e.length;r<n;r++){const t=e[r];if(null===t.id)break;t.id=null,t.object=null,t.geometry=null,t.material=null,t.group=null}},sort:function(e,t){r.length>1&&r.sort(e||Kh),n.length>1&&n.sort(t||Zh),i.length>1&&i.sort(t||Zh)}}}function tp(){let e=new WeakMap;return{get:function(t,r){const n=e.get(t);let i;return void 0===n?(i=new ep,e.set(t,[i])):r>=n.length?(i=new ep,n.push(i)):i=n[r],i},dispose:function(){e=new WeakMap}}}function rp(){const e={};return{get:function(t){if(void 0!==e[t.id])return e[t.id];let r;switch(t.type){case"DirectionalLight":r={direction:new br,color:new mi};break;case"SpotLight":r={position:new br,direction:new br,color:new mi,distance:0,coneCos:0,penumbraCos:0,decay:0};break;case"PointLight":r={position:new br,color:new mi,distance:0,decay:0};break;case"HemisphereLight":r={direction:new br,skyColor:new mi,groundColor:new mi};break;case"RectAreaLight":r={color:new mi,position:new br,halfWidth:new br,halfHeight:new br}}return e[t.id]=r,r}}}let np=0;function ip(e,t){return(t.castShadow?2:0)-(e.castShadow?2:0)+(t.map?1:0)-(e.map?1:0)}function op(e){const t=new rp,r=function(){const e={};return{get:function(t){if(void 0!==e[t.id])return e[t.id];let r;switch(t.type){case"DirectionalLight":case"SpotLight":r={shadowIntensity:1,shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new fr};break;case"PointLight":r={shadowIntensity:1,shadowBias:0,shadowNormalBias:0,shadowRadius:1,shadowMapSize:new fr,shadowCameraNear:1,shadowCameraFar:1e3}}return e[t.id]=r,r}}}(),n={version:0,hash:{directionalLength:-1,pointLength:-1,spotLength:-1,rectAreaLength:-1,hemiLength:-1,numDirectionalShadows:-1,numPointShadows:-1,numSpotShadows:-1,numSpotMaps:-1,numLightProbes:-1},ambient:[0,0,0],probe:[],directional:[],directionalShadow:[],directionalShadowMap:[],directionalShadowMatrix:[],spot:[],spotLightMap:[],spotShadow:[],spotShadowMap:[],spotLightMatrix:[],rectArea:[],rectAreaLTC1:null,rectAreaLTC2:null,point:[],pointShadow:[],pointShadowMap:[],pointShadowMatrix:[],hemi:[],numSpotLightShadowsWithMaps:0,numLightProbes:0};for(let e=0;e<9;e++)n.probe.push(new br);const i=new br,o=new xn,s=new xn;return{setup:function(i){let o=0,s=0,a=0;for(let e=0;e<9;e++)n.probe[e].set(0,0,0);let l=0,c=0,u=0,d=0,h=0,p=0,m=0,_=0,g=0,f=0,v=0;i.sort(ip);for(let e=0,b=i.length;e<b;e++){const b=i[e],y=b.color,$=b.intensity,x=b.distance,S=b.shadow&&b.shadow.map?b.shadow.map.texture:null;if(b.isAmbientLight)o+=y.r*$,s+=y.g*$,a+=y.b*$;else if(b.isLightProbe){for(let e=0;e<9;e++)n.probe[e].addScaledVector(b.sh.coefficients[e],$);v++}else if(b.isDirectionalLight){const e=t.get(b);if(e.color.copy(b.color).multiplyScalar(b.intensity),b.castShadow){const e=b.shadow,t=r.get(b);t.shadowIntensity=e.intensity,t.shadowBias=e.bias,t.shadowNormalBias=e.normalBias,t.shadowRadius=e.radius,t.shadowMapSize=e.mapSize,n.directionalShadow[l]=t,n.directionalShadowMap[l]=S,n.directionalShadowMatrix[l]=b.shadow.matrix,p++}n.directional[l]=e,l++}else if(b.isSpotLight){const e=t.get(b);e.position.setFromMatrixPosition(b.matrixWorld),e.color.copy(y).multiplyScalar($),e.distance=x,e.coneCos=Math.cos(b.angle),e.penumbraCos=Math.cos(b.angle*(1-b.penumbra)),e.decay=b.decay,n.spot[u]=e;const i=b.shadow;if(b.map&&(n.spotLightMap[g]=b.map,g++,i.updateMatrices(b),b.castShadow&&f++),n.spotLightMatrix[u]=i.matrix,b.castShadow){const e=r.get(b);e.shadowIntensity=i.intensity,e.shadowBias=i.bias,e.shadowNormalBias=i.normalBias,e.shadowRadius=i.radius,e.shadowMapSize=i.mapSize,n.spotShadow[u]=e,n.spotShadowMap[u]=S,_++}u++}else if(b.isRectAreaLight){const e=t.get(b);e.color.copy(y).multiplyScalar($),e.halfWidth.set(.5*b.width,0,0),e.halfHeight.set(0,.5*b.height,0),n.rectArea[d]=e,d++}else if(b.isPointLight){const e=t.get(b);if(e.color.copy(b.color).multiplyScalar(b.intensity),e.distance=b.distance,e.decay=b.decay,b.castShadow){const e=b.shadow,t=r.get(b);t.shadowIntensity=e.intensity,t.shadowBias=e.bias,t.shadowNormalBias=e.normalBias,t.shadowRadius=e.radius,t.shadowMapSize=e.mapSize,t.shadowCameraNear=e.camera.near,t.shadowCameraFar=e.camera.far,n.pointShadow[c]=t,n.pointShadowMap[c]=S,n.pointShadowMatrix[c]=b.shadow.matrix,m++}n.point[c]=e,c++}else if(b.isHemisphereLight){const e=t.get(b);e.skyColor.copy(b.color).multiplyScalar($),e.groundColor.copy(b.groundColor).multiplyScalar($),n.hemi[h]=e,h++}}d>0&&(!0===e.has("OES_texture_float_linear")?(n.rectAreaLTC1=Uu.LTC_FLOAT_1,n.rectAreaLTC2=Uu.LTC_FLOAT_2):(n.rectAreaLTC1=Uu.LTC_HALF_1,n.rectAreaLTC2=Uu.LTC_HALF_2)),n.ambient[0]=o,n.ambient[1]=s,n.ambient[2]=a;const b=n.hash;b.directionalLength===l&&b.pointLength===c&&b.spotLength===u&&b.rectAreaLength===d&&b.hemiLength===h&&b.numDirectionalShadows===p&&b.numPointShadows===m&&b.numSpotShadows===_&&b.numSpotMaps===g&&b.numLightProbes===v||(n.directional.length=l,n.spot.length=u,n.rectArea.length=d,n.point.length=c,n.hemi.length=h,n.directionalShadow.length=p,n.directionalShadowMap.length=p,n.pointShadow.length=m,n.pointShadowMap.length=m,n.spotShadow.length=_,n.spotShadowMap.length=_,n.directionalShadowMatrix.length=p,n.pointShadowMatrix.length=m,n.spotLightMatrix.length=_+g-f,n.spotLightMap.length=g,n.numSpotLightShadowsWithMaps=f,n.numLightProbes=v,b.directionalLength=l,b.pointLength=c,b.spotLength=u,b.rectAreaLength=d,b.hemiLength=h,b.numDirectionalShadows=p,b.numPointShadows=m,b.numSpotShadows=_,b.numSpotMaps=g,b.numLightProbes=v,n.version=np++)},setupView:function(e,t){let r=0,a=0,l=0,c=0,u=0;const d=t.matrixWorldInverse;for(let t=0,h=e.length;t<h;t++){const h=e[t];if(h.isDirectionalLight){const e=n.directional[r];e.direction.setFromMatrixPosition(h.matrixWorld),i.setFromMatrixPosition(h.target.matrixWorld),e.direction.sub(i),e.direction.transformDirection(d),r++}else if(h.isSpotLight){const e=n.spot[l];e.position.setFromMatrixPosition(h.matrixWorld),e.position.applyMatrix4(d),e.direction.setFromMatrixPosition(h.matrixWorld),i.setFromMatrixPosition(h.target.matrixWorld),e.direction.sub(i),e.direction.transformDirection(d),l++}else if(h.isRectAreaLight){const e=n.rectArea[c];e.position.setFromMatrixPosition(h.matrixWorld),e.position.applyMatrix4(d),s.identity(),o.copy(h.matrixWorld),o.premultiply(d),s.extractRotation(o),e.halfWidth.set(.5*h.width,0,0),e.halfHeight.set(0,.5*h.height,0),e.halfWidth.applyMatrix4(s),e.halfHeight.applyMatrix4(s),c++}else if(h.isPointLight){const e=n.point[a];e.position.setFromMatrixPosition(h.matrixWorld),e.position.applyMatrix4(d),a++}else if(h.isHemisphereLight){const e=n.hemi[u];e.direction.setFromMatrixPosition(h.matrixWorld),e.direction.transformDirection(d),u++}}},state:n}}function sp(e){const t=new op(e),r=[],n=[];const i={lightsArray:r,shadowsArray:n,camera:null,lights:t,transmissionRenderTarget:{}};return{init:function(e){i.camera=e,r.length=0,n.length=0},state:i,setupLights:function(){t.setup(r)},setupLightsView:function(e){t.setupView(r,e)},pushLight:function(e){r.push(e)},pushShadow:function(e){n.push(e)}}}function ap(e){let t=new WeakMap;return{get:function(r,n=0){const i=t.get(r);let o;return void 0===i?(o=new sp(e),t.set(r,[o])):n>=i.length?(o=new sp(e),i.push(o)):o=i[n],o},dispose:function(){t=new WeakMap}}}function lp(e,t,r){let n=new gs;const i=new fr,o=new fr,s=new Hr,a=new ul({depthPacking:Ut}),l=new dl,c={},u=r.maxTextureSize,d={[O]:1,[B]:0,[U]:2},h=new no({defines:{VSM_SAMPLES:8},uniforms:{shadow_pass:{value:null},resolution:{value:new fr},radius:{value:4}},vertexShader:"\nvoid main() {\n\n\tgl_Position = vec4( position, 1.0 );\n\n}\n",fragmentShader:"\nuniform sampler2D shadow_pass;\nuniform vec2 resolution;\nuniform float radius;\n\n#include <packing>\n\nvoid main() {\n\n\tconst float samples = float( VSM_SAMPLES );\n\n\tfloat mean = 0.0;\n\tfloat squared_mean = 0.0;\n\n\tfloat uvStride = samples <= 1.0 ? 0.0 : 2.0 / ( samples - 1.0 );\n\tfloat uvStart = samples <= 1.0 ? 0.0 : - 1.0;\n\tfor ( float i = 0.0; i < samples; i ++ ) {\n\n\t\tfloat uvOffset = uvStart + i * uvStride;\n\n\t\t#ifdef HORIZONTAL_PASS\n\n\t\t\tvec2 distribution = unpackRGBATo2Half( texture2D( shadow_pass, ( gl_FragCoord.xy + vec2( uvOffset, 0.0 ) * radius ) / resolution ) );\n\t\t\tmean += distribution.x;\n\t\t\tsquared_mean += distribution.y * distribution.y + distribution.x * distribution.x;\n\n\t\t#else\n\n\t\t\tfloat depth = unpackRGBAToDepth( texture2D( shadow_pass, ( gl_FragCoord.xy + vec2( 0.0, uvOffset ) * radius ) / resolution ) );\n\t\t\tmean += depth;\n\t\t\tsquared_mean += depth * depth;\n\n\t\t#endif\n\n\t}\n\n\tmean = mean / samples;\n\tsquared_mean = squared_mean / samples;\n\n\tfloat std_dev = sqrt( squared_mean - mean * mean );\n\n\tgl_FragColor = pack2HalfToRGBA( vec2( mean, std_dev ) );\n\n}\n"}),p=h.clone();p.defines.HORIZONTAL_PASS=1;const m=new Oi;m.setAttribute("position",new Ei(new Float32Array([-1,-1,.5,3,-1,.5,-1,3,.5]),3));const _=new Yi(m,h),g=this;this.enabled=!1,this.autoUpdate=!0,this.needsUpdate=!1,this.type=1;let f=this.type;function v(r,n){const o=t.update(_);h.defines.VSM_SAMPLES!==r.blurSamples&&(h.defines.VSM_SAMPLES=r.blurSamples,p.defines.VSM_SAMPLES=r.blurSamples,h.needsUpdate=!0,p.needsUpdate=!0),null===r.mapPass&&(r.mapPass=new jr(i.x,i.y)),h.uniforms.shadow_pass.value=r.map.texture,h.uniforms.resolution.value=r.mapSize,h.uniforms.radius.value=r.radius,e.setRenderTarget(r.mapPass),e.clear(),e.renderBufferDirect(n,null,o,h,_,null),p.uniforms.shadow_pass.value=r.mapPass.texture,p.uniforms.resolution.value=r.mapSize,p.uniforms.radius.value=r.radius,e.setRenderTarget(r.map),e.clear(),e.renderBufferDirect(n,null,o,p,_,null)}function b(t,r,n,i){let o=null;const s=!0===n.isPointLight?t.customDistanceMaterial:t.customDepthMaterial;if(void 0!==s)o=s;else if(o=!0===n.isPointLight?l:a,e.localClippingEnabled&&!0===r.clipShadows&&Array.isArray(r.clippingPlanes)&&0!==r.clippingPlanes.length||r.displacementMap&&0!==r.displacementScale||r.alphaMap&&r.alphaTest>0||r.map&&r.alphaTest>0||!0===r.alphaToCoverage){const e=o.uuid,t=r.uuid;let n=c[e];void 0===n&&(n={},c[e]=n);let i=n[t];void 0===i&&(i=o.clone(),n[t]=i,r.addEventListener("dispose",$)),o=i}if(o.visible=r.visible,o.wireframe=r.wireframe,o.side=3===i?null!==r.shadowSide?r.shadowSide:r.side:null!==r.shadowSide?r.shadowSide:d[r.side],o.alphaMap=r.alphaMap,o.alphaTest=!0===r.alphaToCoverage?.5:r.alphaTest,o.map=r.map,o.clipShadows=r.clipShadows,o.clippingPlanes=r.clippingPlanes,o.clipIntersection=r.clipIntersection,o.displacementMap=r.displacementMap,o.displacementScale=r.displacementScale,o.displacementBias=r.displacementBias,o.wireframeLinewidth=r.wireframeLinewidth,o.linewidth=r.linewidth,!0===n.isPointLight&&!0===o.isMeshDistanceMaterial){e.properties.get(o).light=n}return o}function y(r,i,o,s,a){if(!1===r.visible)return;if(r.layers.test(i.layers)&&(r.isMesh||r.isLine||r.isPoints)&&(r.castShadow||r.receiveShadow&&3===a)&&(!r.frustumCulled||n.intersectsObject(r))){r.modelViewMatrix.multiplyMatrices(o.matrixWorldInverse,r.matrixWorld);const n=t.update(r),l=r.material;if(Array.isArray(l)){const t=n.groups;for(let c=0,u=t.length;c<u;c++){const u=t[c],d=l[u.materialIndex];if(d&&d.visible){const t=b(r,d,s,a);r.onBeforeShadow(e,r,i,o,n,t,u),e.renderBufferDirect(o,null,n,t,r,u),r.onAfterShadow(e,r,i,o,n,t,u)}}}else if(l.visible){const t=b(r,l,s,a);r.onBeforeShadow(e,r,i,o,n,t,null),e.renderBufferDirect(o,null,n,t,r,null),r.onAfterShadow(e,r,i,o,n,t,null)}}const l=r.children;for(let e=0,t=l.length;e<t;e++)y(l[e],i,o,s,a)}function $(e){e.target.removeEventListener("dispose",$);for(const t in c){const r=c[t],n=e.target.uuid;if(n in r){r[n].dispose(),delete r[n]}}}this.render=function(t,r,a){if(!1===g.enabled)return;if(!1===g.autoUpdate&&!1===g.needsUpdate)return;if(0===t.length)return;const l=e.getRenderTarget(),c=e.getActiveCubeFace(),d=e.getActiveMipmapLevel(),h=e.state;h.setBlending(0),!0===h.buffers.depth.getReversed()?h.buffers.color.setClear(0,0,0,0):h.buffers.color.setClear(1,1,1,1),h.buffers.depth.setTest(!0),h.setScissorTest(!1);const p=3!==f&&3===this.type,m=3===f&&3!==this.type;for(let l=0,c=t.length;l<c;l++){const c=t[l],d=c.shadow;if(void 0===d){console.warn("THREE.WebGLShadowMap:",c,"has no shadow.");continue}if(!1===d.autoUpdate&&!1===d.needsUpdate)continue;i.copy(d.mapSize);const _=d.getFrameExtents();if(i.multiply(_),o.copy(d.mapSize),(i.x>u||i.y>u)&&(i.x>u&&(o.x=Math.floor(u/_.x),i.x=o.x*_.x,d.mapSize.x=o.x),i.y>u&&(o.y=Math.floor(u/_.y),i.y=o.y*_.y,d.mapSize.y=o.y)),null===d.map||!0===p||!0===m){const e=3!==this.type?{minFilter:Se,magFilter:Se}:{};null!==d.map&&d.map.dispose(),d.map=new jr(i.x,i.y,e),d.map.texture.name=c.name+".shadowMap",d.camera.updateProjectionMatrix()}e.setRenderTarget(d.map),e.clear();const g=d.getViewportCount();for(let e=0;e<g;e++){const t=d.getViewport(e);s.set(o.x*t.x,o.y*t.y,o.x*t.z,o.y*t.w),h.viewport(s),d.updateMatrices(c,e),n=d.getFrustum(),y(r,a,d.camera,c,this.type)}!0!==d.isPointLightShadow&&3===this.type&&v(d,a),d.needsUpdate=!1}f=this.type,g.needsUpdate=!1,e.setRenderTarget(l,c,d)}}const cp={[oe]:1,[ae]:6,[ce]:7,[le]:5,[se]:0,[de]:2,[he]:4,[ue]:3};function up(e,t){const r=new function(){let t=!1;const r=new Hr;let n=null;const i=new Hr(0,0,0,0);return{setMask:function(r){n===r||t||(e.colorMask(r,r,r,r),n=r)},setLocked:function(e){t=e},setClear:function(t,n,o,s,a){!0===a&&(t*=s,n*=s,o*=s),r.set(t,n,o,s),!1===i.equals(r)&&(e.clearColor(t,n,o,s),i.copy(r))},reset:function(){t=!1,n=null,i.set(-1,0,0,0)}}},n=new function(){let r=!1,n=!1,i=null,o=null,s=null;return{setReversed:function(e){if(n!==e){const r=t.get("EXT_clip_control");e?r.clipControlEXT(r.LOWER_LEFT_EXT,r.ZERO_TO_ONE_EXT):r.clipControlEXT(r.LOWER_LEFT_EXT,r.NEGATIVE_ONE_TO_ONE_EXT),n=e;const i=s;s=null,this.setClear(i)}},getReversed:function(){return n},setTest:function(t){t?U(e.DEPTH_TEST):oe(e.DEPTH_TEST)},setMask:function(t){i===t||r||(e.depthMask(t),i=t)},setFunc:function(t){if(n&&(t=cp[t]),o!==t){switch(t){case 0:e.depthFunc(e.NEVER);break;case 1:e.depthFunc(e.ALWAYS);break;case 2:e.depthFunc(e.LESS);break;case 3:default:e.depthFunc(e.LEQUAL);break;case 4:e.depthFunc(e.EQUAL);break;case 5:e.depthFunc(e.GEQUAL);break;case 6:e.depthFunc(e.GREATER);break;case 7:e.depthFunc(e.NOTEQUAL)}o=t}},setLocked:function(e){r=e},setClear:function(t){s!==t&&(n&&(t=1-t),e.clearDepth(t),s=t)},reset:function(){r=!1,i=null,o=null,s=null,n=!1}}},i=new function(){let t=!1,r=null,n=null,i=null,o=null,s=null,a=null,l=null,c=null;return{setTest:function(r){t||(r?U(e.STENCIL_TEST):oe(e.STENCIL_TEST))},setMask:function(n){r===n||t||(e.stencilMask(n),r=n)},setFunc:function(t,r,s){n===t&&i===r&&o===s||(e.stencilFunc(t,r,s),n=t,i=r,o=s)},setOp:function(t,r,n){s===t&&a===r&&l===n||(e.stencilOp(t,r,n),s=t,a=r,l=n)},setLocked:function(e){t=e},setClear:function(t){c!==t&&(e.clearStencil(t),c=t)},reset:function(){t=!1,r=null,n=null,i=null,o=null,s=null,a=null,l=null,c=null}}},o=new WeakMap,s=new WeakMap;let a={},l={},c=new WeakMap,u=[],d=null,h=!1,p=null,m=null,_=null,g=null,f=null,v=null,b=null,y=new mi(0,0,0),$=0,x=!1,S=null,w=null,A=null,C=null,E=null;const I=e.getParameter(e.MAX_COMBINED_TEXTURE_IMAGE_UNITS);let M=!1,k=0;const T=e.getParameter(e.VERSION);-1!==T.indexOf("WebGL")?(k=parseFloat(/^WebGL (\d)/.exec(T)[1]),M=k>=1):-1!==T.indexOf("OpenGL ES")&&(k=parseFloat(/^OpenGL ES (\d)/.exec(T)[1]),M=k>=2);let R=null,L={};const P=e.getParameter(e.SCISSOR_BOX),D=e.getParameter(e.VIEWPORT),N=(new Hr).fromArray(P),F=(new Hr).fromArray(D);function O(t,r,n,i){const o=new Uint8Array(4),s=e.createTexture();e.bindTexture(t,s),e.texParameteri(t,e.TEXTURE_MIN_FILTER,e.NEAREST),e.texParameteri(t,e.TEXTURE_MAG_FILTER,e.NEAREST);for(let s=0;s<n;s++)t===e.TEXTURE_3D||t===e.TEXTURE_2D_ARRAY?e.texImage3D(r,0,e.RGBA,1,1,i,0,e.RGBA,e.UNSIGNED_BYTE,o):e.texImage2D(r+s,0,e.RGBA,1,1,0,e.RGBA,e.UNSIGNED_BYTE,o);return s}const B={};function U(t){!0!==a[t]&&(e.enable(t),a[t]=!0)}function oe(t){!1!==a[t]&&(e.disable(t),a[t]=!1)}B[e.TEXTURE_2D]=O(e.TEXTURE_2D,e.TEXTURE_2D,1),B[e.TEXTURE_CUBE_MAP]=O(e.TEXTURE_CUBE_MAP,e.TEXTURE_CUBE_MAP_POSITIVE_X,6),B[e.TEXTURE_2D_ARRAY]=O(e.TEXTURE_2D_ARRAY,e.TEXTURE_2D_ARRAY,1,1),B[e.TEXTURE_3D]=O(e.TEXTURE_3D,e.TEXTURE_3D,1,1),r.setClear(0,0,0,1),n.setClear(1),i.setClear(0),U(e.DEPTH_TEST),n.setFunc(3),ce(!1),ue(1),U(e.CULL_FACE),le(0);const se={[V]:e.FUNC_ADD,[z]:e.FUNC_SUBTRACT,[H]:e.FUNC_REVERSE_SUBTRACT};se[103]=e.MIN,se[104]=e.MAX;const ae={[G]:e.ZERO,[j]:e.ONE,[J]:e.SRC_COLOR,[Q]:e.SRC_ALPHA,[ee]:e.SRC_ALPHA_SATURATE,[K]:e.DST_COLOR,[Y]:e.DST_ALPHA,[W]:e.ONE_MINUS_SRC_COLOR,[q]:e.ONE_MINUS_SRC_ALPHA,[Z]:e.ONE_MINUS_DST_COLOR,[X]:e.ONE_MINUS_DST_ALPHA,[te]:e.CONSTANT_COLOR,[re]:e.ONE_MINUS_CONSTANT_COLOR,[ne]:e.CONSTANT_ALPHA,[ie]:e.ONE_MINUS_CONSTANT_ALPHA};function le(t,r,n,i,o,s,a,l,c,u){if(0!==t){if(!1===h&&(U(e.BLEND),h=!0),5===t)o=o||r,s=s||n,a=a||i,r===m&&o===f||(e.blendEquationSeparate(se[r],se[o]),m=r,f=o),n===_&&i===g&&s===v&&a===b||(e.blendFuncSeparate(ae[n],ae[i],ae[s],ae[a]),_=n,g=i,v=s,b=a),!1!==l.equals(y)&&c===$||(e.blendColor(l.r,l.g,l.b,c),y.copy(l),$=c),p=t,x=!1;else if(t!==p||u!==x){if(m===V&&f===V||(e.blendEquation(e.FUNC_ADD),m=V,f=V),u)switch(t){case 1:e.blendFuncSeparate(e.ONE,e.ONE_MINUS_SRC_ALPHA,e.ONE,e.ONE_MINUS_SRC_ALPHA);break;case 2:e.blendFunc(e.ONE,e.ONE);break;case 3:e.blendFuncSeparate(e.ZERO,e.ONE_MINUS_SRC_COLOR,e.ZERO,e.ONE);break;case 4:e.blendFuncSeparate(e.DST_COLOR,e.ONE_MINUS_SRC_ALPHA,e.ZERO,e.ONE);break;default:console.error("THREE.WebGLState: Invalid blending: ",t)}else switch(t){case 1:e.blendFuncSeparate(e.SRC_ALPHA,e.ONE_MINUS_SRC_ALPHA,e.ONE,e.ONE_MINUS_SRC_ALPHA);break;case 2:e.blendFuncSeparate(e.SRC_ALPHA,e.ONE,e.ONE,e.ONE);break;case 3:console.error("THREE.WebGLState: SubtractiveBlending requires material.premultipliedAlpha = true");break;case 4:console.error("THREE.WebGLState: MultiplyBlending requires material.premultipliedAlpha = true");break;default:console.error("THREE.WebGLState: Invalid blending: ",t)}_=null,g=null,v=null,b=null,y.set(0,0,0),$=0,p=t,x=u}}else!0===h&&(oe(e.BLEND),h=!1)}function ce(t){S!==t&&(t?e.frontFace(e.CW):e.frontFace(e.CCW),S=t)}function ue(t){0!==t?(U(e.CULL_FACE),t!==w&&(1===t?e.cullFace(e.BACK):2===t?e.cullFace(e.FRONT):e.cullFace(e.FRONT_AND_BACK))):oe(e.CULL_FACE),w=t}function de(t,r,n){t?(U(e.POLYGON_OFFSET_FILL),C===r&&E===n||(e.polygonOffset(r,n),C=r,E=n)):oe(e.POLYGON_OFFSET_FILL)}return{buffers:{color:r,depth:n,stencil:i},enable:U,disable:oe,bindFramebuffer:function(t,r){return l[t]!==r&&(e.bindFramebuffer(t,r),l[t]=r,t===e.DRAW_FRAMEBUFFER&&(l[e.FRAMEBUFFER]=r),t===e.FRAMEBUFFER&&(l[e.DRAW_FRAMEBUFFER]=r),!0)},drawBuffers:function(t,r){let n=u,i=!1;if(t){n=c.get(r),void 0===n&&(n=[],c.set(r,n));const o=t.textures;if(n.length!==o.length||n[0]!==e.COLOR_ATTACHMENT0){for(let t=0,r=o.length;t<r;t++)n[t]=e.COLOR_ATTACHMENT0+t;n.length=o.length,i=!0}}else n[0]!==e.BACK&&(n[0]=e.BACK,i=!0);i&&e.drawBuffers(n)},useProgram:function(t){return d!==t&&(e.useProgram(t),d=t,!0)},setBlending:le,setMaterial:function(t,o){2===t.side?oe(e.CULL_FACE):U(e.CULL_FACE);let s=1===t.side;o&&(s=!s),ce(s),1===t.blending&&!1===t.transparent?le(0):le(t.blending,t.blendEquation,t.blendSrc,t.blendDst,t.blendEquationAlpha,t.blendSrcAlpha,t.blendDstAlpha,t.blendColor,t.blendAlpha,t.premultipliedAlpha),n.setFunc(t.depthFunc),n.setTest(t.depthTest),n.setMask(t.depthWrite),r.setMask(t.colorWrite);const a=t.stencilWrite;i.setTest(a),a&&(i.setMask(t.stencilWriteMask),i.setFunc(t.stencilFunc,t.stencilRef,t.stencilFuncMask),i.setOp(t.stencilFail,t.stencilZFail,t.stencilZPass)),de(t.polygonOffset,t.polygonOffsetFactor,t.polygonOffsetUnits),!0===t.alphaToCoverage?U(e.SAMPLE_ALPHA_TO_COVERAGE):oe(e.SAMPLE_ALPHA_TO_COVERAGE)},setFlipSided:ce,setCullFace:ue,setLineWidth:function(t){t!==A&&(M&&e.lineWidth(t),A=t)},setPolygonOffset:de,setScissorTest:function(t){t?U(e.SCISSOR_TEST):oe(e.SCISSOR_TEST)},activeTexture:function(t){void 0===t&&(t=e.TEXTURE0+I-1),R!==t&&(e.activeTexture(t),R=t)},bindTexture:function(t,r,n){void 0===n&&(n=null===R?e.TEXTURE0+I-1:R);let i=L[n];void 0===i&&(i={type:void 0,texture:void 0},L[n]=i),i.type===t&&i.texture===r||(R!==n&&(e.activeTexture(n),R=n),e.bindTexture(t,r||B[t]),i.type=t,i.texture=r)},unbindTexture:function(){const t=L[R];void 0!==t&&void 0!==t.type&&(e.bindTexture(t.type,null),t.type=void 0,t.texture=void 0)},compressedTexImage2D:function(){try{e.compressedTexImage2D(...arguments)}catch(e){console.error("THREE.WebGLState:",e)}},compressedTexImage3D:function(){try{e.compressedTexImage3D(...arguments)}catch(e){console.error("THREE.WebGLState:",e)}},texImage2D:function(){try{e.texImage2D(...arguments)}catch(e){console.error("THREE.WebGLState:",e)}},texImage3D:function(){try{e.texImage3D(...arguments)}catch(e){console.error("THREE.WebGLState:",e)}},updateUBOMapping:function(t,r){let n=s.get(r);void 0===n&&(n=new WeakMap,s.set(r,n));let i=n.get(t);void 0===i&&(i=e.getUniformBlockIndex(r,t.name),n.set(t,i))},uniformBlockBinding:function(t,r){const n=s.get(r).get(t);o.get(r)!==n&&(e.uniformBlockBinding(r,n,t.__bindingPointIndex),o.set(r,n))},texStorage2D:function(){try{e.texStorage2D(...arguments)}catch(e){console.error("THREE.WebGLState:",e)}},texStorage3D:function(){try{e.texStorage3D(...arguments)}catch(e){console.error("THREE.WebGLState:",e)}},texSubImage2D:function(){try{e.texSubImage2D(...arguments)}catch(e){console.error("THREE.WebGLState:",e)}},texSubImage3D:function(){try{e.texSubImage3D(...arguments)}catch(e){console.error("THREE.WebGLState:",e)}},compressedTexSubImage2D:function(){try{e.compressedTexSubImage2D(...arguments)}catch(e){console.error("THREE.WebGLState:",e)}},compressedTexSubImage3D:function(){try{e.compressedTexSubImage3D(...arguments)}catch(e){console.error("THREE.WebGLState:",e)}},scissor:function(t){!1===N.equals(t)&&(e.scissor(t.x,t.y,t.z,t.w),N.copy(t))},viewport:function(t){!1===F.equals(t)&&(e.viewport(t.x,t.y,t.z,t.w),F.copy(t))},reset:function(){e.disable(e.BLEND),e.disable(e.CULL_FACE),e.disable(e.DEPTH_TEST),e.disable(e.POLYGON_OFFSET_FILL),e.disable(e.SCISSOR_TEST),e.disable(e.STENCIL_TEST),e.disable(e.SAMPLE_ALPHA_TO_COVERAGE),e.blendEquation(e.FUNC_ADD),e.blendFunc(e.ONE,e.ZERO),e.blendFuncSeparate(e.ONE,e.ZERO,e.ONE,e.ZERO),e.blendColor(0,0,0,0),e.colorMask(!0,!0,!0,!0),e.clearColor(0,0,0,0),e.depthMask(!0),e.depthFunc(e.LESS),n.setReversed(!1),e.clearDepth(1),e.stencilMask(4294967295),e.stencilFunc(e.ALWAYS,0,4294967295),e.stencilOp(e.KEEP,e.KEEP,e.KEEP),e.clearStencil(0),e.cullFace(e.BACK),e.frontFace(e.CCW),e.polygonOffset(0,0),e.activeTexture(e.TEXTURE0),e.bindFramebuffer(e.FRAMEBUFFER,null),e.bindFramebuffer(e.DRAW_FRAMEBUFFER,null),e.bindFramebuffer(e.READ_FRAMEBUFFER,null),e.useProgram(null),e.lineWidth(1),e.scissor(0,0,e.canvas.width,e.canvas.height),e.viewport(0,0,e.canvas.width,e.canvas.height),a={},R=null,L={},l={},c=new WeakMap,u=[],d=null,h=!1,p=null,m=null,_=null,g=null,f=null,v=null,b=null,y=new mi(0,0,0),$=0,x=!1,S=null,w=null,A=null,C=null,E=null,N.set(0,0,e.canvas.width,e.canvas.height),F.set(0,0,e.canvas.width,e.canvas.height),r.reset(),n.reset(),i.reset()}}}function dp(e,t,r,n,i,o,s){const a=t.has("WEBGL_multisampled_render_to_texture")?t.get("WEBGL_multisampled_render_to_texture"):null,l="undefined"!=typeof navigator&&/OculusBrowser/g.test(navigator.userAgent),c=new fr,u=new WeakMap;let d;const h=new WeakMap;let p=!1;try{p="undefined"!=typeof OffscreenCanvas&&null!==new OffscreenCanvas(1,1).getContext("2d")}catch(e){}function m(e,t){return p?new OffscreenCanvas(e,t):Ar("canvas")}function _(e,t,r){let n=1;const i=H(e);if((i.width>r||i.height>r)&&(n=r/Math.max(i.width,i.height)),n<1){if("undefined"!=typeof HTMLImageElement&&e instanceof HTMLImageElement||"undefined"!=typeof HTMLCanvasElement&&e instanceof HTMLCanvasElement||"undefined"!=typeof ImageBitmap&&e instanceof ImageBitmap||"undefined"!=typeof VideoFrame&&e instanceof VideoFrame){const r=Math.floor(n*i.width),o=Math.floor(n*i.height);void 0===d&&(d=m(r,o));const s=t?m(r,o):d;s.width=r,s.height=o;return s.getContext("2d").drawImage(e,0,0,r,o),console.warn("THREE.WebGLRenderer: Texture has been resized from ("+i.width+"x"+i.height+") to ("+r+"x"+o+")."),s}return"data"in e&&console.warn("THREE.WebGLRenderer: Image in DataTexture is too big ("+i.width+"x"+i.height+")."),e}return e}function g(e){return e.generateMipmaps}function f(t){e.generateMipmap(t)}function v(t){return t.isWebGLCubeRenderTarget?e.TEXTURE_CUBE_MAP:t.isWebGL3DRenderTarget?e.TEXTURE_3D:t.isWebGLArrayRenderTarget||t.isCompressedArrayTexture?e.TEXTURE_2D_ARRAY:e.TEXTURE_2D}function b(r,n,i,o,s=!1){if(null!==r){if(void 0!==e[r])return e[r];console.warn("THREE.WebGLRenderer: Attempt to use non-existing WebGL internal format '"+r+"'")}let a=n;if(n===e.RED&&(i===e.FLOAT&&(a=e.R32F),i===e.HALF_FLOAT&&(a=e.R16F),i===e.UNSIGNED_BYTE&&(a=e.R8)),n===e.RED_INTEGER&&(i===e.UNSIGNED_BYTE&&(a=e.R8UI),i===e.UNSIGNED_SHORT&&(a=e.R16UI),i===e.UNSIGNED_INT&&(a=e.R32UI),i===e.BYTE&&(a=e.R8I),i===e.SHORT&&(a=e.R16I),i===e.INT&&(a=e.R32I)),n===e.RG&&(i===e.FLOAT&&(a=e.RG32F),i===e.HALF_FLOAT&&(a=e.RG16F),i===e.UNSIGNED_BYTE&&(a=e.RG8)),n===e.RG_INTEGER&&(i===e.UNSIGNED_BYTE&&(a=e.RG8UI),i===e.UNSIGNED_SHORT&&(a=e.RG16UI),i===e.UNSIGNED_INT&&(a=e.RG32UI),i===e.BYTE&&(a=e.RG8I),i===e.SHORT&&(a=e.RG16I),i===e.INT&&(a=e.RG32I)),n===e.RGB_INTEGER&&(i===e.UNSIGNED_BYTE&&(a=e.RGB8UI),i===e.UNSIGNED_SHORT&&(a=e.RGB16UI),i===e.UNSIGNED_INT&&(a=e.RGB32UI),i===e.BYTE&&(a=e.RGB8I),i===e.SHORT&&(a=e.RGB16I),i===e.INT&&(a=e.RGB32I)),n===e.RGBA_INTEGER&&(i===e.UNSIGNED_BYTE&&(a=e.RGBA8UI),i===e.UNSIGNED_SHORT&&(a=e.RGBA16UI),i===e.UNSIGNED_INT&&(a=e.RGBA32UI),i===e.BYTE&&(a=e.RGBA8I),i===e.SHORT&&(a=e.RGBA16I),i===e.INT&&(a=e.RGBA32I)),n===e.RGB&&(i===e.UNSIGNED_INT_5_9_9_9_REV&&(a=e.RGB9_E5),i===e.UNSIGNED_INT_10F_11F_11F_REV&&(a=e.R11F_G11F_B10F)),n===e.RGBA){const t=s?Gt:Rr.getTransfer(o);i===e.FLOAT&&(a=e.RGBA32F),i===e.HALF_FLOAT&&(a=e.RGBA16F),i===e.UNSIGNED_BYTE&&(a=t===jt?e.SRGB8_ALPHA8:e.RGBA8),i===e.UNSIGNED_SHORT_4_4_4_4&&(a=e.RGBA4),i===e.UNSIGNED_SHORT_5_5_5_1&&(a=e.RGB5_A1)}return a!==e.R16F&&a!==e.R32F&&a!==e.RG16F&&a!==e.RG32F&&a!==e.RGBA16F&&a!==e.RGBA32F||t.get("EXT_color_buffer_float"),a}function y(t,r){let n;return t?null===r||r===De||r===Ue?n=e.DEPTH24_STENCIL8:r===Ne?n=e.DEPTH32F_STENCIL8:r===Le&&(n=e.DEPTH24_STENCIL8,console.warn("DepthTexture: 16 bit depth attachment is not supported with stencil. Using 24-bit attachment.")):null===r||r===De||r===Ue?n=e.DEPTH_COMPONENT24:r===Ne?n=e.DEPTH_COMPONENT32F:r===Le&&(n=e.DEPTH_COMPONENT16),n}function $(e,t){return!0===g(e)||e.isFramebufferTexture&&e.minFilter!==Se&&e.minFilter!==Ce?Math.log2(Math.max(t.width,t.height))+1:void 0!==e.mipmaps&&e.mipmaps.length>0?e.mipmaps.length:e.isCompressedTexture&&Array.isArray(e.image)?t.mipmaps.length:1}function x(e){const t=e.target;t.removeEventListener("dispose",x),function(e){const t=n.get(e);if(void 0===t.__webglInit)return;const r=e.source,i=h.get(r);if(i){const n=i[t.__cacheKey];n.usedTimes--,0===n.usedTimes&&w(e),0===Object.keys(i).length&&h.delete(r)}n.remove(e)}(t),t.isVideoTexture&&u.delete(t)}function S(t){const r=t.target;r.removeEventListener("dispose",S),function(t){const r=n.get(t);t.depthTexture&&(t.depthTexture.dispose(),n.remove(t.depthTexture));if(t.isWebGLCubeRenderTarget)for(let t=0;t<6;t++){if(Array.isArray(r.__webglFramebuffer[t]))for(let n=0;n<r.__webglFramebuffer[t].length;n++)e.deleteFramebuffer(r.__webglFramebuffer[t][n]);else e.deleteFramebuffer(r.__webglFramebuffer[t]);r.__webglDepthbuffer&&e.deleteRenderbuffer(r.__webglDepthbuffer[t])}else{if(Array.isArray(r.__webglFramebuffer))for(let t=0;t<r.__webglFramebuffer.length;t++)e.deleteFramebuffer(r.__webglFramebuffer[t]);else e.deleteFramebuffer(r.__webglFramebuffer);if(r.__webglDepthbuffer&&e.deleteRenderbuffer(r.__webglDepthbuffer),r.__webglMultisampledFramebuffer&&e.deleteFramebuffer(r.__webglMultisampledFramebuffer),r.__webglColorRenderbuffer)for(let t=0;t<r.__webglColorRenderbuffer.length;t++)r.__webglColorRenderbuffer[t]&&e.deleteRenderbuffer(r.__webglColorRenderbuffer[t]);r.__webglDepthRenderbuffer&&e.deleteRenderbuffer(r.__webglDepthRenderbuffer)}const i=t.textures;for(let t=0,r=i.length;t<r;t++){const r=n.get(i[t]);r.__webglTexture&&(e.deleteTexture(r.__webglTexture),s.memory.textures--),n.remove(i[t])}n.remove(t)}(r)}function w(t){const r=n.get(t);e.deleteTexture(r.__webglTexture);const i=t.source;delete h.get(i)[r.__cacheKey],s.memory.textures--}let A=0;function C(t,i){const o=n.get(t);if(t.isVideoTexture&&function(e){const t=s.render.frame;u.get(e)!==t&&(u.set(e,t),e.update())}(t),!1===t.isRenderTargetTexture&&!0!==t.isExternalTexture&&t.version>0&&o.__version!==t.version){const e=t.image;if(null===e)console.warn("THREE.WebGLRenderer: Texture marked for update but no image data found.");else{if(!1!==e.complete)return void L(o,t,i);console.warn("THREE.WebGLRenderer: Texture marked for update but image is incomplete")}}else t.isExternalTexture&&(o.__webglTexture=t.sourceTexture?t.sourceTexture:null);r.bindTexture(e.TEXTURE_2D,o.__webglTexture,e.TEXTURE0+i)}const E={[ye]:e.REPEAT,[$e]:e.CLAMP_TO_EDGE,[xe]:e.MIRRORED_REPEAT},I={[Se]:e.NEAREST,[we]:e.NEAREST_MIPMAP_NEAREST,[Ae]:e.NEAREST_MIPMAP_LINEAR,[Ce]:e.LINEAR,[Ee]:e.LINEAR_MIPMAP_NEAREST,[Ie]:e.LINEAR_MIPMAP_LINEAR},M={[Wt]:e.NEVER,[er]:e.ALWAYS,[Qt]:e.LESS,[Yt]:e.LEQUAL,[qt]:e.EQUAL,[Zt]:e.GEQUAL,[Xt]:e.GREATER,[Kt]:e.NOTEQUAL};function k(r,o){if(o.type!==Ne||!1!==t.has("OES_texture_float_linear")||o.magFilter!==Ce&&o.magFilter!==Ee&&o.magFilter!==Ae&&o.magFilter!==Ie&&o.minFilter!==Ce&&o.minFilter!==Ee&&o.minFilter!==Ae&&o.minFilter!==Ie||console.warn("THREE.WebGLRenderer: Unable to use linear filtering with floating point textures. OES_texture_float_linear not supported on this device."),e.texParameteri(r,e.TEXTURE_WRAP_S,E[o.wrapS]),e.texParameteri(r,e.TEXTURE_WRAP_T,E[o.wrapT]),r!==e.TEXTURE_3D&&r!==e.TEXTURE_2D_ARRAY||e.texParameteri(r,e.TEXTURE_WRAP_R,E[o.wrapR]),e.texParameteri(r,e.TEXTURE_MAG_FILTER,I[o.magFilter]),e.texParameteri(r,e.TEXTURE_MIN_FILTER,I[o.minFilter]),o.compareFunction&&(e.texParameteri(r,e.TEXTURE_COMPARE_MODE,e.COMPARE_REF_TO_TEXTURE),e.texParameteri(r,e.TEXTURE_COMPARE_FUNC,M[o.compareFunction])),!0===t.has("EXT_texture_filter_anisotropic")){if(o.magFilter===Se)return;if(o.minFilter!==Ae&&o.minFilter!==Ie)return;if(o.type===Ne&&!1===t.has("OES_texture_float_linear"))return;if(o.anisotropy>1||n.get(o).__currentAnisotropy){const s=t.get("EXT_texture_filter_anisotropic");e.texParameterf(r,s.TEXTURE_MAX_ANISOTROPY_EXT,Math.min(o.anisotropy,i.getMaxAnisotropy())),n.get(o).__currentAnisotropy=o.anisotropy}}}function T(t,r){let n=!1;void 0===t.__webglInit&&(t.__webglInit=!0,r.addEventListener("dispose",x));const i=r.source;let o=h.get(i);void 0===o&&(o={},h.set(i,o));const a=function(e){const t=[];return t.push(e.wrapS),t.push(e.wrapT),t.push(e.wrapR||0),t.push(e.magFilter),t.push(e.minFilter),t.push(e.anisotropy),t.push(e.internalFormat),t.push(e.format),t.push(e.type),t.push(e.generateMipmaps),t.push(e.premultiplyAlpha),t.push(e.flipY),t.push(e.unpackAlignment),t.push(e.colorSpace),t.join()}(r);if(a!==t.__cacheKey){void 0===o[a]&&(o[a]={texture:e.createTexture(),usedTimes:0},s.memory.textures++,n=!0),o[a].usedTimes++;const i=o[t.__cacheKey];void 0!==i&&(o[t.__cacheKey].usedTimes--,0===i.usedTimes&&w(r)),t.__cacheKey=a,t.__webglTexture=o[a].texture}return n}function R(e,t,r){return Math.floor(Math.floor(e/r)/t)}function L(t,s,a){let l=e.TEXTURE_2D;(s.isDataArrayTexture||s.isCompressedArrayTexture)&&(l=e.TEXTURE_2D_ARRAY),s.isData3DTexture&&(l=e.TEXTURE_3D);const c=T(t,s),u=s.source;r.bindTexture(l,t.__webglTexture,e.TEXTURE0+a);const d=n.get(u);if(u.version!==d.__version||!0===c){r.activeTexture(e.TEXTURE0+a);const t=Rr.getPrimaries(Rr.workingColorSpace),n=s.colorSpace===Vt?null:Rr.getPrimaries(s.colorSpace),h=s.colorSpace===Vt||t===n?e.NONE:e.BROWSER_DEFAULT_WEBGL;e.pixelStorei(e.UNPACK_FLIP_Y_WEBGL,s.flipY),e.pixelStorei(e.UNPACK_PREMULTIPLY_ALPHA_WEBGL,s.premultiplyAlpha),e.pixelStorei(e.UNPACK_ALIGNMENT,s.unpackAlignment),e.pixelStorei(e.UNPACK_COLORSPACE_CONVERSION_WEBGL,h);let p=_(s.image,!1,i.maxTextureSize);p=z(s,p);const m=o.convert(s.format,s.colorSpace),v=o.convert(s.type);let x,S=b(s.internalFormat,m,v,s.colorSpace,s.isVideoTexture);k(l,s);const w=s.mipmaps,A=!0!==s.isVideoTexture,C=void 0===d.__version||!0===c,E=u.dataReady,I=$(s,p);if(s.isDepthTexture)S=y(s.format===Je,s.type),C&&(A?r.texStorage2D(e.TEXTURE_2D,1,S,p.width,p.height):r.texImage2D(e.TEXTURE_2D,0,S,p.width,p.height,0,m,v,null));else if(s.isDataTexture)if(w.length>0){A&&C&&r.texStorage2D(e.TEXTURE_2D,I,S,w[0].width,w[0].height);for(let t=0,n=w.length;t<n;t++)x=w[t],A?E&&r.texSubImage2D(e.TEXTURE_2D,t,0,0,x.width,x.height,m,v,x.data):r.texImage2D(e.TEXTURE_2D,t,S,x.width,x.height,0,m,v,x.data);s.generateMipmaps=!1}else A?(C&&r.texStorage2D(e.TEXTURE_2D,I,S,p.width,p.height),E&&function(t,n,i,o){const s=t.updateRanges;if(0===s.length)r.texSubImage2D(e.TEXTURE_2D,0,0,0,n.width,n.height,i,o,n.data);else{s.sort((e,t)=>e.start-t.start);let a=0;for(let e=1;e<s.length;e++){const t=s[a],r=s[e],i=t.start+t.count,o=R(r.start,n.width,4),l=R(t.start,n.width,4);r.start<=i+1&&o===l&&R(r.start+r.count-1,n.width,4)===o?t.count=Math.max(t.count,r.start+r.count-t.start):(++a,s[a]=r)}s.length=a+1;const l=e.getParameter(e.UNPACK_ROW_LENGTH),c=e.getParameter(e.UNPACK_SKIP_PIXELS),u=e.getParameter(e.UNPACK_SKIP_ROWS);e.pixelStorei(e.UNPACK_ROW_LENGTH,n.width);for(let t=0,a=s.length;t<a;t++){const a=s[t],l=Math.floor(a.start/4),c=Math.ceil(a.count/4),u=l%n.width,d=Math.floor(l/n.width),h=c,p=1;e.pixelStorei(e.UNPACK_SKIP_PIXELS,u),e.pixelStorei(e.UNPACK_SKIP_ROWS,d),r.texSubImage2D(e.TEXTURE_2D,0,u,d,h,p,i,o,n.data)}t.clearUpdateRanges(),e.pixelStorei(e.UNPACK_ROW_LENGTH,l),e.pixelStorei(e.UNPACK_SKIP_PIXELS,c),e.pixelStorei(e.UNPACK_SKIP_ROWS,u)}}(s,p,m,v)):r.texImage2D(e.TEXTURE_2D,0,S,p.width,p.height,0,m,v,p.data);else if(s.isCompressedTexture)if(s.isCompressedArrayTexture){A&&C&&r.texStorage3D(e.TEXTURE_2D_ARRAY,I,S,w[0].width,w[0].height,p.depth);for(let t=0,n=w.length;t<n;t++)if(x=w[t],s.format!==Ge)if(null!==m)if(A){if(E)if(s.layerUpdates.size>0){const n=su(x.width,x.height,s.format,s.type);for(const i of s.layerUpdates){const o=x.data.subarray(i*n/x.data.BYTES_PER_ELEMENT,(i+1)*n/x.data.BYTES_PER_ELEMENT);r.compressedTexSubImage3D(e.TEXTURE_2D_ARRAY,t,0,0,i,x.width,x.height,1,m,o)}s.clearLayerUpdates()}else r.compressedTexSubImage3D(e.TEXTURE_2D_ARRAY,t,0,0,0,x.width,x.height,p.depth,m,x.data)}else r.compressedTexImage3D(e.TEXTURE_2D_ARRAY,t,S,x.width,x.height,p.depth,0,x.data,0,0);else console.warn("THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .uploadTexture()");else A?E&&r.texSubImage3D(e.TEXTURE_2D_ARRAY,t,0,0,0,x.width,x.height,p.depth,m,v,x.data):r.texImage3D(e.TEXTURE_2D_ARRAY,t,S,x.width,x.height,p.depth,0,m,v,x.data)}else{A&&C&&r.texStorage2D(e.TEXTURE_2D,I,S,w[0].width,w[0].height);for(let t=0,n=w.length;t<n;t++)x=w[t],s.format!==Ge?null!==m?A?E&&r.compressedTexSubImage2D(e.TEXTURE_2D,t,0,0,x.width,x.height,m,x.data):r.compressedTexImage2D(e.TEXTURE_2D,t,S,x.width,x.height,0,x.data):console.warn("THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .uploadTexture()"):A?E&&r.texSubImage2D(e.TEXTURE_2D,t,0,0,x.width,x.height,m,v,x.data):r.texImage2D(e.TEXTURE_2D,t,S,x.width,x.height,0,m,v,x.data)}else if(s.isDataArrayTexture)if(A){if(C&&r.texStorage3D(e.TEXTURE_2D_ARRAY,I,S,p.width,p.height,p.depth),E)if(s.layerUpdates.size>0){const t=su(p.width,p.height,s.format,s.type);for(const n of s.layerUpdates){const i=p.data.subarray(n*t/p.data.BYTES_PER_ELEMENT,(n+1)*t/p.data.BYTES_PER_ELEMENT);r.texSubImage3D(e.TEXTURE_2D_ARRAY,0,0,0,n,p.width,p.height,1,m,v,i)}s.clearLayerUpdates()}else r.texSubImage3D(e.TEXTURE_2D_ARRAY,0,0,0,0,p.width,p.height,p.depth,m,v,p.data)}else r.texImage3D(e.TEXTURE_2D_ARRAY,0,S,p.width,p.height,p.depth,0,m,v,p.data);else if(s.isData3DTexture)A?(C&&r.texStorage3D(e.TEXTURE_3D,I,S,p.width,p.height,p.depth),E&&r.texSubImage3D(e.TEXTURE_3D,0,0,0,0,p.width,p.height,p.depth,m,v,p.data)):r.texImage3D(e.TEXTURE_3D,0,S,p.width,p.height,p.depth,0,m,v,p.data);else if(s.isFramebufferTexture){if(C)if(A)r.texStorage2D(e.TEXTURE_2D,I,S,p.width,p.height);else{let t=p.width,n=p.height;for(let i=0;i<I;i++)r.texImage2D(e.TEXTURE_2D,i,S,t,n,0,m,v,null),t>>=1,n>>=1}}else if(w.length>0){if(A&&C){const t=H(w[0]);r.texStorage2D(e.TEXTURE_2D,I,S,t.width,t.height)}for(let t=0,n=w.length;t<n;t++)x=w[t],A?E&&r.texSubImage2D(e.TEXTURE_2D,t,0,0,m,v,x):r.texImage2D(e.TEXTURE_2D,t,S,m,v,x);s.generateMipmaps=!1}else if(A){if(C){const t=H(p);r.texStorage2D(e.TEXTURE_2D,I,S,t.width,t.height)}E&&r.texSubImage2D(e.TEXTURE_2D,0,0,0,m,v,p)}else r.texImage2D(e.TEXTURE_2D,0,S,m,v,p);g(s)&&f(l),d.__version=u.version,s.onUpdate&&s.onUpdate(s)}t.__version=s.version}function P(t,i,s,l,c,u){const d=o.convert(s.format,s.colorSpace),h=o.convert(s.type),p=b(s.internalFormat,d,h,s.colorSpace),m=n.get(i),_=n.get(s);if(_.__renderTarget=i,!m.__hasExternalTextures){const t=Math.max(1,i.width>>u),n=Math.max(1,i.height>>u);c===e.TEXTURE_3D||c===e.TEXTURE_2D_ARRAY?r.texImage3D(c,u,p,t,n,i.depth,0,d,h,null):r.texImage2D(c,u,p,t,n,0,d,h,null)}r.bindFramebuffer(e.FRAMEBUFFER,t),V(i)?a.framebufferTexture2DMultisampleEXT(e.FRAMEBUFFER,l,c,_.__webglTexture,0,U(i)):(c===e.TEXTURE_2D||c>=e.TEXTURE_CUBE_MAP_POSITIVE_X&&c<=e.TEXTURE_CUBE_MAP_NEGATIVE_Z)&&e.framebufferTexture2D(e.FRAMEBUFFER,l,c,_.__webglTexture,u),r.bindFramebuffer(e.FRAMEBUFFER,null)}function D(t,r,n){if(e.bindRenderbuffer(e.RENDERBUFFER,t),r.depthBuffer){const i=r.depthTexture,o=i&&i.isDepthTexture?i.type:null,s=y(r.stencilBuffer,o),l=r.stencilBuffer?e.DEPTH_STENCIL_ATTACHMENT:e.DEPTH_ATTACHMENT,c=U(r);V(r)?a.renderbufferStorageMultisampleEXT(e.RENDERBUFFER,c,s,r.width,r.height):n?e.renderbufferStorageMultisample(e.RENDERBUFFER,c,s,r.width,r.height):e.renderbufferStorage(e.RENDERBUFFER,s,r.width,r.height),e.framebufferRenderbuffer(e.FRAMEBUFFER,l,e.RENDERBUFFER,t)}else{const t=r.textures;for(let i=0;i<t.length;i++){const s=t[i],l=o.convert(s.format,s.colorSpace),c=o.convert(s.type),u=b(s.internalFormat,l,c,s.colorSpace),d=U(r);n&&!1===V(r)?e.renderbufferStorageMultisample(e.RENDERBUFFER,d,u,r.width,r.height):V(r)?a.renderbufferStorageMultisampleEXT(e.RENDERBUFFER,d,u,r.width,r.height):e.renderbufferStorage(e.RENDERBUFFER,u,r.width,r.height)}}e.bindRenderbuffer(e.RENDERBUFFER,null)}function N(t,i){if(i&&i.isWebGLCubeRenderTarget)throw new Error("Depth Texture with cube render targets is not supported");if(r.bindFramebuffer(e.FRAMEBUFFER,t),!i.depthTexture||!i.depthTexture.isDepthTexture)throw new Error("renderTarget.depthTexture must be an instance of THREE.DepthTexture");const o=n.get(i.depthTexture);o.__renderTarget=i,o.__webglTexture&&i.depthTexture.image.width===i.width&&i.depthTexture.image.height===i.height||(i.depthTexture.image.width=i.width,i.depthTexture.image.height=i.height,i.depthTexture.needsUpdate=!0),C(i.depthTexture,0);const s=o.__webglTexture,l=U(i);if(i.depthTexture.format===je)V(i)?a.framebufferTexture2DMultisampleEXT(e.FRAMEBUFFER,e.DEPTH_ATTACHMENT,e.TEXTURE_2D,s,0,l):e.framebufferTexture2D(e.FRAMEBUFFER,e.DEPTH_ATTACHMENT,e.TEXTURE_2D,s,0);else{if(i.depthTexture.format!==Je)throw new Error("Unknown depthTexture format");V(i)?a.framebufferTexture2DMultisampleEXT(e.FRAMEBUFFER,e.DEPTH_STENCIL_ATTACHMENT,e.TEXTURE_2D,s,0,l):e.framebufferTexture2D(e.FRAMEBUFFER,e.DEPTH_STENCIL_ATTACHMENT,e.TEXTURE_2D,s,0)}}function F(t){const i=n.get(t),o=!0===t.isWebGLCubeRenderTarget;if(i.__boundDepthTexture!==t.depthTexture){const e=t.depthTexture;if(i.__depthDisposeCallback&&i.__depthDisposeCallback(),e){const t=()=>{delete i.__boundDepthTexture,delete i.__depthDisposeCallback,e.removeEventListener("dispose",t)};e.addEventListener("dispose",t),i.__depthDisposeCallback=t}i.__boundDepthTexture=e}if(t.depthTexture&&!i.__autoAllocateDepthBuffer){if(o)throw new Error("target.depthTexture not supported in Cube render targets");const e=t.texture.mipmaps;e&&e.length>0?N(i.__webglFramebuffer[0],t):N(i.__webglFramebuffer,t)}else if(o){i.__webglDepthbuffer=[];for(let n=0;n<6;n++)if(r.bindFramebuffer(e.FRAMEBUFFER,i.__webglFramebuffer[n]),void 0===i.__webglDepthbuffer[n])i.__webglDepthbuffer[n]=e.createRenderbuffer(),D(i.__webglDepthbuffer[n],t,!1);else{const r=t.stencilBuffer?e.DEPTH_STENCIL_ATTACHMENT:e.DEPTH_ATTACHMENT,o=i.__webglDepthbuffer[n];e.bindRenderbuffer(e.RENDERBUFFER,o),e.framebufferRenderbuffer(e.FRAMEBUFFER,r,e.RENDERBUFFER,o)}}else{const n=t.texture.mipmaps;if(n&&n.length>0?r.bindFramebuffer(e.FRAMEBUFFER,i.__webglFramebuffer[0]):r.bindFramebuffer(e.FRAMEBUFFER,i.__webglFramebuffer),void 0===i.__webglDepthbuffer)i.__webglDepthbuffer=e.createRenderbuffer(),D(i.__webglDepthbuffer,t,!1);else{const r=t.stencilBuffer?e.DEPTH_STENCIL_ATTACHMENT:e.DEPTH_ATTACHMENT,n=i.__webglDepthbuffer;e.bindRenderbuffer(e.RENDERBUFFER,n),e.framebufferRenderbuffer(e.FRAMEBUFFER,r,e.RENDERBUFFER,n)}}r.bindFramebuffer(e.FRAMEBUFFER,null)}const O=[],B=[];function U(e){return Math.min(i.maxSamples,e.samples)}function V(e){const r=n.get(e);return e.samples>0&&!0===t.has("WEBGL_multisampled_render_to_texture")&&!1!==r.__useRenderToTexture}function z(e,t){const r=e.colorSpace,n=e.format,i=e.type;return!0===e.isCompressedTexture||!0===e.isVideoTexture||r!==Ht&&r!==Vt&&(Rr.getTransfer(r)===jt?n===Ge&&i===ke||console.warn("THREE.WebGLTextures: sRGB encoded textures have to use RGBAFormat and UnsignedByteType."):console.error("THREE.WebGLTextures: Unsupported texture color space:",r)),t}function H(e){return"undefined"!=typeof HTMLImageElement&&e instanceof HTMLImageElement?(c.width=e.naturalWidth||e.width,c.height=e.naturalHeight||e.height):"undefined"!=typeof VideoFrame&&e instanceof VideoFrame?(c.width=e.displayWidth,c.height=e.displayHeight):(c.width=e.width,c.height=e.height),c}this.allocateTextureUnit=function(){const e=A;return e>=i.maxTextures&&console.warn("THREE.WebGLTextures: Trying to use "+e+" texture units while this GPU supports only "+i.maxTextures),A+=1,e},this.resetTextureUnits=function(){A=0},this.setTexture2D=C,this.setTexture2DArray=function(t,i){const o=n.get(t);!1===t.isRenderTargetTexture&&t.version>0&&o.__version!==t.version?L(o,t,i):r.bindTexture(e.TEXTURE_2D_ARRAY,o.__webglTexture,e.TEXTURE0+i)},this.setTexture3D=function(t,i){const o=n.get(t);!1===t.isRenderTargetTexture&&t.version>0&&o.__version!==t.version?L(o,t,i):r.bindTexture(e.TEXTURE_3D,o.__webglTexture,e.TEXTURE0+i)},this.setTextureCube=function(t,s){const a=n.get(t);t.version>0&&a.__version!==t.version?function(t,s,a){if(6!==s.image.length)return;const l=T(t,s),c=s.source;r.bindTexture(e.TEXTURE_CUBE_MAP,t.__webglTexture,e.TEXTURE0+a);const u=n.get(c);if(c.version!==u.__version||!0===l){r.activeTexture(e.TEXTURE0+a);const t=Rr.getPrimaries(Rr.workingColorSpace),n=s.colorSpace===Vt?null:Rr.getPrimaries(s.colorSpace),d=s.colorSpace===Vt||t===n?e.NONE:e.BROWSER_DEFAULT_WEBGL;e.pixelStorei(e.UNPACK_FLIP_Y_WEBGL,s.flipY),e.pixelStorei(e.UNPACK_PREMULTIPLY_ALPHA_WEBGL,s.premultiplyAlpha),e.pixelStorei(e.UNPACK_ALIGNMENT,s.unpackAlignment),e.pixelStorei(e.UNPACK_COLORSPACE_CONVERSION_WEBGL,d);const h=s.isCompressedTexture||s.image[0].isCompressedTexture,p=s.image[0]&&s.image[0].isDataTexture,m=[];for(let e=0;e<6;e++)m[e]=h||p?p?s.image[e].image:s.image[e]:_(s.image[e],!0,i.maxCubemapSize),m[e]=z(s,m[e]);const v=m[0],y=o.convert(s.format,s.colorSpace),x=o.convert(s.type),S=b(s.internalFormat,y,x,s.colorSpace),w=!0!==s.isVideoTexture,A=void 0===u.__version||!0===l,C=c.dataReady;let E,I=$(s,v);if(k(e.TEXTURE_CUBE_MAP,s),h){w&&A&&r.texStorage2D(e.TEXTURE_CUBE_MAP,I,S,v.width,v.height);for(let t=0;t<6;t++){E=m[t].mipmaps;for(let n=0;n<E.length;n++){const i=E[n];s.format!==Ge?null!==y?w?C&&r.compressedTexSubImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+t,n,0,0,i.width,i.height,y,i.data):r.compressedTexImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+t,n,S,i.width,i.height,0,i.data):console.warn("THREE.WebGLRenderer: Attempt to load unsupported compressed texture format in .setTextureCube()"):w?C&&r.texSubImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+t,n,0,0,i.width,i.height,y,x,i.data):r.texImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+t,n,S,i.width,i.height,0,y,x,i.data)}}}else{if(E=s.mipmaps,w&&A){E.length>0&&I++;const t=H(m[0]);r.texStorage2D(e.TEXTURE_CUBE_MAP,I,S,t.width,t.height)}for(let t=0;t<6;t++)if(p){w?C&&r.texSubImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+t,0,0,0,m[t].width,m[t].height,y,x,m[t].data):r.texImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+t,0,S,m[t].width,m[t].height,0,y,x,m[t].data);for(let n=0;n<E.length;n++){const i=E[n].image[t].image;w?C&&r.texSubImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+t,n+1,0,0,i.width,i.height,y,x,i.data):r.texImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+t,n+1,S,i.width,i.height,0,y,x,i.data)}}else{w?C&&r.texSubImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+t,0,0,0,y,x,m[t]):r.texImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+t,0,S,y,x,m[t]);for(let n=0;n<E.length;n++){const i=E[n];w?C&&r.texSubImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+t,n+1,0,0,y,x,i.image[t]):r.texImage2D(e.TEXTURE_CUBE_MAP_POSITIVE_X+t,n+1,S,y,x,i.image[t])}}}g(s)&&f(e.TEXTURE_CUBE_MAP),u.__version=c.version,s.onUpdate&&s.onUpdate(s)}t.__version=s.version}(a,t,s):r.bindTexture(e.TEXTURE_CUBE_MAP,a.__webglTexture,e.TEXTURE0+s)},this.rebindTextures=function(t,r,i){const o=n.get(t);void 0!==r&&P(o.__webglFramebuffer,t,t.texture,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,0),void 0!==i&&F(t)},this.setupRenderTarget=function(t){const i=t.texture,a=n.get(t),l=n.get(i);t.addEventListener("dispose",S);const c=t.textures,u=!0===t.isWebGLCubeRenderTarget,d=c.length>1;if(d||(void 0===l.__webglTexture&&(l.__webglTexture=e.createTexture()),l.__version=i.version,s.memory.textures++),u){a.__webglFramebuffer=[];for(let t=0;t<6;t++)if(i.mipmaps&&i.mipmaps.length>0){a.__webglFramebuffer[t]=[];for(let r=0;r<i.mipmaps.length;r++)a.__webglFramebuffer[t][r]=e.createFramebuffer()}else a.__webglFramebuffer[t]=e.createFramebuffer()}else{if(i.mipmaps&&i.mipmaps.length>0){a.__webglFramebuffer=[];for(let t=0;t<i.mipmaps.length;t++)a.__webglFramebuffer[t]=e.createFramebuffer()}else a.__webglFramebuffer=e.createFramebuffer();if(d)for(let t=0,r=c.length;t<r;t++){const r=n.get(c[t]);void 0===r.__webglTexture&&(r.__webglTexture=e.createTexture(),s.memory.textures++)}if(t.samples>0&&!1===V(t)){a.__webglMultisampledFramebuffer=e.createFramebuffer(),a.__webglColorRenderbuffer=[],r.bindFramebuffer(e.FRAMEBUFFER,a.__webglMultisampledFramebuffer);for(let r=0;r<c.length;r++){const n=c[r];a.__webglColorRenderbuffer[r]=e.createRenderbuffer(),e.bindRenderbuffer(e.RENDERBUFFER,a.__webglColorRenderbuffer[r]);const i=o.convert(n.format,n.colorSpace),s=o.convert(n.type),l=b(n.internalFormat,i,s,n.colorSpace,!0===t.isXRRenderTarget),u=U(t);e.renderbufferStorageMultisample(e.RENDERBUFFER,u,l,t.width,t.height),e.framebufferRenderbuffer(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0+r,e.RENDERBUFFER,a.__webglColorRenderbuffer[r])}e.bindRenderbuffer(e.RENDERBUFFER,null),t.depthBuffer&&(a.__webglDepthRenderbuffer=e.createRenderbuffer(),D(a.__webglDepthRenderbuffer,t,!0)),r.bindFramebuffer(e.FRAMEBUFFER,null)}}if(u){r.bindTexture(e.TEXTURE_CUBE_MAP,l.__webglTexture),k(e.TEXTURE_CUBE_MAP,i);for(let r=0;r<6;r++)if(i.mipmaps&&i.mipmaps.length>0)for(let n=0;n<i.mipmaps.length;n++)P(a.__webglFramebuffer[r][n],t,i,e.COLOR_ATTACHMENT0,e.TEXTURE_CUBE_MAP_POSITIVE_X+r,n);else P(a.__webglFramebuffer[r],t,i,e.COLOR_ATTACHMENT0,e.TEXTURE_CUBE_MAP_POSITIVE_X+r,0);g(i)&&f(e.TEXTURE_CUBE_MAP),r.unbindTexture()}else if(d){for(let i=0,o=c.length;i<o;i++){const o=c[i],s=n.get(o);let l=e.TEXTURE_2D;(t.isWebGL3DRenderTarget||t.isWebGLArrayRenderTarget)&&(l=t.isWebGL3DRenderTarget?e.TEXTURE_3D:e.TEXTURE_2D_ARRAY),r.bindTexture(l,s.__webglTexture),k(l,o),P(a.__webglFramebuffer,t,o,e.COLOR_ATTACHMENT0+i,l,0),g(o)&&f(l)}r.unbindTexture()}else{let n=e.TEXTURE_2D;if((t.isWebGL3DRenderTarget||t.isWebGLArrayRenderTarget)&&(n=t.isWebGL3DRenderTarget?e.TEXTURE_3D:e.TEXTURE_2D_ARRAY),r.bindTexture(n,l.__webglTexture),k(n,i),i.mipmaps&&i.mipmaps.length>0)for(let r=0;r<i.mipmaps.length;r++)P(a.__webglFramebuffer[r],t,i,e.COLOR_ATTACHMENT0,n,r);else P(a.__webglFramebuffer,t,i,e.COLOR_ATTACHMENT0,n,0);g(i)&&f(n),r.unbindTexture()}t.depthBuffer&&F(t)},this.updateRenderTargetMipmap=function(e){const t=e.textures;for(let i=0,o=t.length;i<o;i++){const o=t[i];if(g(o)){const t=v(e),i=n.get(o).__webglTexture;r.bindTexture(t,i),f(t),r.unbindTexture()}}},this.updateMultisampleRenderTarget=function(t){if(t.samples>0)if(!1===V(t)){const i=t.textures,o=t.width,s=t.height;let a=e.COLOR_BUFFER_BIT;const c=t.stencilBuffer?e.DEPTH_STENCIL_ATTACHMENT:e.DEPTH_ATTACHMENT,u=n.get(t),d=i.length>1;if(d)for(let t=0;t<i.length;t++)r.bindFramebuffer(e.FRAMEBUFFER,u.__webglMultisampledFramebuffer),e.framebufferRenderbuffer(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0+t,e.RENDERBUFFER,null),r.bindFramebuffer(e.FRAMEBUFFER,u.__webglFramebuffer),e.framebufferTexture2D(e.DRAW_FRAMEBUFFER,e.COLOR_ATTACHMENT0+t,e.TEXTURE_2D,null,0);r.bindFramebuffer(e.READ_FRAMEBUFFER,u.__webglMultisampledFramebuffer);const h=t.texture.mipmaps;h&&h.length>0?r.bindFramebuffer(e.DRAW_FRAMEBUFFER,u.__webglFramebuffer[0]):r.bindFramebuffer(e.DRAW_FRAMEBUFFER,u.__webglFramebuffer);for(let r=0;r<i.length;r++){if(t.resolveDepthBuffer&&(t.depthBuffer&&(a|=e.DEPTH_BUFFER_BIT),t.stencilBuffer&&t.resolveStencilBuffer&&(a|=e.STENCIL_BUFFER_BIT)),d){e.framebufferRenderbuffer(e.READ_FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.RENDERBUFFER,u.__webglColorRenderbuffer[r]);const t=n.get(i[r]).__webglTexture;e.framebufferTexture2D(e.DRAW_FRAMEBUFFER,e.COLOR_ATTACHMENT0,e.TEXTURE_2D,t,0)}e.blitFramebuffer(0,0,o,s,0,0,o,s,a,e.NEAREST),!0===l&&(O.length=0,B.length=0,O.push(e.COLOR_ATTACHMENT0+r),t.depthBuffer&&!1===t.resolveDepthBuffer&&(O.push(c),B.push(c),e.invalidateFramebuffer(e.DRAW_FRAMEBUFFER,B)),e.invalidateFramebuffer(e.READ_FRAMEBUFFER,O))}if(r.bindFramebuffer(e.READ_FRAMEBUFFER,null),r.bindFramebuffer(e.DRAW_FRAMEBUFFER,null),d)for(let t=0;t<i.length;t++){r.bindFramebuffer(e.FRAMEBUFFER,u.__webglMultisampledFramebuffer),e.framebufferRenderbuffer(e.FRAMEBUFFER,e.COLOR_ATTACHMENT0+t,e.RENDERBUFFER,u.__webglColorRenderbuffer[t]);const o=n.get(i[t]).__webglTexture;r.bindFramebuffer(e.FRAMEBUFFER,u.__webglFramebuffer),e.framebufferTexture2D(e.DRAW_FRAMEBUFFER,e.COLOR_ATTACHMENT0+t,e.TEXTURE_2D,o,0)}r.bindFramebuffer(e.DRAW_FRAMEBUFFER,u.__webglMultisampledFramebuffer)}else if(t.depthBuffer&&!1===t.resolveDepthBuffer&&l){const r=t.stencilBuffer?e.DEPTH_STENCIL_ATTACHMENT:e.DEPTH_ATTACHMENT;e.invalidateFramebuffer(e.DRAW_FRAMEBUFFER,[r])}},this.setupDepthRenderbuffer=F,this.setupFrameBufferTexture=P,this.useMultisampledRTT=V}function hp(e,t){return{convert:function(r,n=""){let i;const o=Rr.getTransfer(n);if(r===ke)return e.UNSIGNED_BYTE;if(r===Oe)return e.UNSIGNED_SHORT_4_4_4_4;if(r===Be)return e.UNSIGNED_SHORT_5_5_5_1;if(r===Ve)return e.UNSIGNED_INT_5_9_9_9_REV;if(r===ze)return e.UNSIGNED_INT_10F_11F_11F_REV;if(r===Te)return e.BYTE;if(r===Re)return e.SHORT;if(r===Le)return e.UNSIGNED_SHORT;if(r===Pe)return e.INT;if(r===De)return e.UNSIGNED_INT;if(r===Ne)return e.FLOAT;if(r===Fe)return e.HALF_FLOAT;if(1021===r)return e.ALPHA;if(r===He)return e.RGB;if(r===Ge)return e.RGBA;if(r===je)return e.DEPTH_COMPONENT;if(r===Je)return e.DEPTH_STENCIL;if(r===We)return e.RED;if(r===Qe)return e.RED_INTEGER;if(r===qe)return e.RG;if(r===Ye)return e.RG_INTEGER;if(r===Xe)return e.RGBA_INTEGER;if(r===Ke||r===Ze||r===et||r===tt)if(o===jt){if(i=t.get("WEBGL_compressed_texture_s3tc_srgb"),null===i)return null;if(r===Ke)return i.COMPRESSED_SRGB_S3TC_DXT1_EXT;if(r===Ze)return i.COMPRESSED_SRGB_ALPHA_S3TC_DXT1_EXT;if(r===et)return i.COMPRESSED_SRGB_ALPHA_S3TC_DXT3_EXT;if(r===tt)return i.COMPRESSED_SRGB_ALPHA_S3TC_DXT5_EXT}else{if(i=t.get("WEBGL_compressed_texture_s3tc"),null===i)return null;if(r===Ke)return i.COMPRESSED_RGB_S3TC_DXT1_EXT;if(r===Ze)return i.COMPRESSED_RGBA_S3TC_DXT1_EXT;if(r===et)return i.COMPRESSED_RGBA_S3TC_DXT3_EXT;if(r===tt)return i.COMPRESSED_RGBA_S3TC_DXT5_EXT}if(r===rt||r===nt||r===it||r===ot){if(i=t.get("WEBGL_compressed_texture_pvrtc"),null===i)return null;if(r===rt)return i.COMPRESSED_RGB_PVRTC_4BPPV1_IMG;if(r===nt)return i.COMPRESSED_RGB_PVRTC_2BPPV1_IMG;if(r===it)return i.COMPRESSED_RGBA_PVRTC_4BPPV1_IMG;if(r===ot)return i.COMPRESSED_RGBA_PVRTC_2BPPV1_IMG}if(r===st||r===at||r===lt){if(i=t.get("WEBGL_compressed_texture_etc"),null===i)return null;if(r===st||r===at)return o===jt?i.COMPRESSED_SRGB8_ETC2:i.COMPRESSED_RGB8_ETC2;if(r===lt)return o===jt?i.COMPRESSED_SRGB8_ALPHA8_ETC2_EAC:i.COMPRESSED_RGBA8_ETC2_EAC}if(r===ct||r===ut||r===dt||r===ht||r===pt||r===mt||r===_t||r===gt||r===ft||r===vt||r===bt||r===yt||r===$t||r===xt){if(i=t.get("WEBGL_compressed_texture_astc"),null===i)return null;if(r===ct)return o===jt?i.COMPRESSED_SRGB8_ALPHA8_ASTC_4x4_KHR:i.COMPRESSED_RGBA_ASTC_4x4_KHR;if(r===ut)return o===jt?i.COMPRESSED_SRGB8_ALPHA8_ASTC_5x4_KHR:i.COMPRESSED_RGBA_ASTC_5x4_KHR;if(r===dt)return o===jt?i.COMPRESSED_SRGB8_ALPHA8_ASTC_5x5_KHR:i.COMPRESSED_RGBA_ASTC_5x5_KHR;if(r===ht)return o===jt?i.COMPRESSED_SRGB8_ALPHA8_ASTC_6x5_KHR:i.COMPRESSED_RGBA_ASTC_6x5_KHR;if(r===pt)return o===jt?i.COMPRESSED_SRGB8_ALPHA8_ASTC_6x6_KHR:i.COMPRESSED_RGBA_ASTC_6x6_KHR;if(r===mt)return o===jt?i.COMPRESSED_SRGB8_ALPHA8_ASTC_8x5_KHR:i.COMPRESSED_RGBA_ASTC_8x5_KHR;if(r===_t)return o===jt?i.COMPRESSED_SRGB8_ALPHA8_ASTC_8x6_KHR:i.COMPRESSED_RGBA_ASTC_8x6_KHR;if(r===gt)return o===jt?i.COMPRESSED_SRGB8_ALPHA8_ASTC_8x8_KHR:i.COMPRESSED_RGBA_ASTC_8x8_KHR;if(r===ft)return o===jt?i.COMPRESSED_SRGB8_ALPHA8_ASTC_10x5_KHR:i.COMPRESSED_RGBA_ASTC_10x5_KHR;if(r===vt)return o===jt?i.COMPRESSED_SRGB8_ALPHA8_ASTC_10x6_KHR:i.COMPRESSED_RGBA_ASTC_10x6_KHR;if(r===bt)return o===jt?i.COMPRESSED_SRGB8_ALPHA8_ASTC_10x8_KHR:i.COMPRESSED_RGBA_ASTC_10x8_KHR;if(r===yt)return o===jt?i.COMPRESSED_SRGB8_ALPHA8_ASTC_10x10_KHR:i.COMPRESSED_RGBA_ASTC_10x10_KHR;if(r===$t)return o===jt?i.COMPRESSED_SRGB8_ALPHA8_ASTC_12x10_KHR:i.COMPRESSED_RGBA_ASTC_12x10_KHR;if(r===xt)return o===jt?i.COMPRESSED_SRGB8_ALPHA8_ASTC_12x12_KHR:i.COMPRESSED_RGBA_ASTC_12x12_KHR}if(r===St||r===wt||r===At){if(i=t.get("EXT_texture_compression_bptc"),null===i)return null;if(r===St)return o===jt?i.COMPRESSED_SRGB_ALPHA_BPTC_UNORM_EXT:i.COMPRESSED_RGBA_BPTC_UNORM_EXT;if(r===wt)return i.COMPRESSED_RGB_BPTC_SIGNED_FLOAT_EXT;if(r===At)return i.COMPRESSED_RGB_BPTC_UNSIGNED_FLOAT_EXT}if(r===Ct||r===Et||r===It||r===Mt){if(i=t.get("EXT_texture_compression_rgtc"),null===i)return null;if(r===Ct)return i.COMPRESSED_RED_RGTC1_EXT;if(r===Et)return i.COMPRESSED_SIGNED_RED_RGTC1_EXT;if(r===It)return i.COMPRESSED_RED_GREEN_RGTC2_EXT;if(r===Mt)return i.COMPRESSED_SIGNED_RED_GREEN_RGTC2_EXT}return r===Ue?e.UNSIGNED_INT_24_8:void 0!==e[r]?e[r]:null}}}class pp{constructor(){this.texture=null,this.mesh=null,this.depthNear=0,this.depthFar=0}init(e,t){if(null===this.texture){const r=new js(e.texture);e.depthNear===t.depthNear&&e.depthFar===t.depthFar||(this.depthNear=e.depthNear,this.depthFar=e.depthFar),this.texture=r}}getMesh(e){if(null!==this.texture&&null===this.mesh){const t=e.cameras[0].viewport,r=new no({vertexShader:"\nvoid main() {\n\n\tgl_Position = vec4( position, 1.0 );\n\n}",fragmentShader:"\nuniform sampler2DArray depthColor;\nuniform float depthWidth;\nuniform float depthHeight;\n\nvoid main() {\n\n\tvec2 coord = vec2( gl_FragCoord.x / depthWidth, gl_FragCoord.y / depthHeight );\n\n\tif ( coord.x >= 1.0 ) {\n\n\t\tgl_FragDepth = texture( depthColor, vec3( coord.x - 1.0, coord.y, 1 ) ).r;\n\n\t} else {\n\n\t\tgl_FragDepth = texture( depthColor, vec3( coord.x, coord.y, 0 ) ).r;\n\n\t}\n\n}",uniforms:{depthColor:{value:this.texture},depthWidth:{value:t.z},depthHeight:{value:t.w}}});this.mesh=new Yi(new Ka(20,20),r)}return this.mesh}reset(){this.texture=null,this.mesh=null}getDepthTexture(){return this.texture}}class mp extends or{constructor(e,t){super();const r=this;let n=null,i=1,o=null,s="local-floor",a=1,l=null,c=null,u=null,d=null,h=null,p=null;const m="undefined"!=typeof XRWebGLBinding,_=new pp,g={},f=t.getContextAttributes();let v=null,b=null;const y=[],$=[],x=new fr;let S=null;const w=new lo;w.viewport=new Hr;const A=new lo;A.viewport=new Hr;const C=[w,A],E=new mc;let I=null,M=null;function k(e){const t=$.indexOf(e.inputSource);if(-1===t)return;const r=y[t];void 0!==r&&(r.update(e.inputSource,e.frame,l||o),r.dispatchEvent({type:e.type,data:e.inputSource}))}function T(){n.removeEventListener("select",k),n.removeEventListener("selectstart",k),n.removeEventListener("selectend",k),n.removeEventListener("squeeze",k),n.removeEventListener("squeezestart",k),n.removeEventListener("squeezeend",k),n.removeEventListener("end",T),n.removeEventListener("inputsourceschange",R);for(let e=0;e<y.length;e++){const t=$[e];null!==t&&($[e]=null,y[e].disconnect(t))}I=null,M=null,_.reset();for(const e in g)delete g[e];e.setRenderTarget(v),h=null,d=null,u=null,n=null,b=null,F.stop(),r.isPresenting=!1,e.setPixelRatio(S),e.setSize(x.width,x.height,!1),r.dispatchEvent({type:"sessionend"})}function R(e){for(let t=0;t<e.removed.length;t++){const r=e.removed[t],n=$.indexOf(r);n>=0&&($[n]=null,y[n].disconnect(r))}for(let t=0;t<e.added.length;t++){const r=e.added[t];let n=$.indexOf(r);if(-1===n){for(let e=0;e<y.length;e++){if(e>=$.length){$.push(r),n=e;break}if(null===$[e]){$[e]=r,n=e;break}}if(-1===n)break}const i=y[n];i&&i.connect(r)}}this.cameraAutoUpdate=!0,this.enabled=!1,this.isPresenting=!1,this.getController=function(e){let t=y[e];return void 0===t&&(t=new go,y[e]=t),t.getTargetRaySpace()},this.getControllerGrip=function(e){let t=y[e];return void 0===t&&(t=new go,y[e]=t),t.getGripSpace()},this.getHand=function(e){let t=y[e];return void 0===t&&(t=new go,y[e]=t),t.getHandSpace()},this.setFramebufferScaleFactor=function(e){i=e,!0===r.isPresenting&&console.warn("THREE.WebXRManager: Cannot change framebuffer scale while presenting.")},this.setReferenceSpaceType=function(e){s=e,!0===r.isPresenting&&console.warn("THREE.WebXRManager: Cannot change reference space type while presenting.")},this.getReferenceSpace=function(){return l||o},this.setReferenceSpace=function(e){l=e},this.getBaseLayer=function(){return null!==d?d:h},this.getBinding=function(){return null===u&&m&&(u=new XRWebGLBinding(n,t)),u},this.getFrame=function(){return p},this.getSession=function(){return n},this.setSession=async function(c){if(n=c,null!==n){v=e.getRenderTarget(),n.addEventListener("select",k),n.addEventListener("selectstart",k),n.addEventListener("selectend",k),n.addEventListener("squeeze",k),n.addEventListener("squeezestart",k),n.addEventListener("squeezeend",k),n.addEventListener("end",T),n.addEventListener("inputsourceschange",R),!0!==f.xrCompatible&&await t.makeXRCompatible(),S=e.getPixelRatio(),e.getSize(x);if(m&&"createProjectionLayer"in XRWebGLBinding.prototype){let r=null,o=null,s=null;f.depth&&(s=f.stencil?t.DEPTH24_STENCIL8:t.DEPTH_COMPONENT24,r=f.stencil?Je:je,o=f.stencil?Ue:De);const a={colorFormat:t.RGBA8,depthFormat:s,scaleFactor:i};u=this.getBinding(),d=u.createProjectionLayer(a),n.updateRenderState({layers:[d]}),e.setPixelRatio(1),e.setSize(d.textureWidth,d.textureHeight,!1),b=new jr(d.textureWidth,d.textureHeight,{format:Ge,type:ke,depthTexture:new Gs(d.textureWidth,d.textureHeight,o,void 0,void 0,void 0,void 0,void 0,void 0,r),stencilBuffer:f.stencil,colorSpace:e.outputColorSpace,samples:f.antialias?4:0,resolveDepthBuffer:!1===d.ignoreDepthValues,resolveStencilBuffer:!1===d.ignoreDepthValues})}else{const r={antialias:f.antialias,alpha:!0,depth:f.depth,stencil:f.stencil,framebufferScaleFactor:i};h=new XRWebGLLayer(n,t,r),n.updateRenderState({baseLayer:h}),e.setPixelRatio(1),e.setSize(h.framebufferWidth,h.framebufferHeight,!1),b=new jr(h.framebufferWidth,h.framebufferHeight,{format:Ge,type:ke,colorSpace:e.outputColorSpace,stencilBuffer:f.stencil,resolveDepthBuffer:!1===h.ignoreDepthValues,resolveStencilBuffer:!1===h.ignoreDepthValues})}b.isXRRenderTarget=!0,this.setFoveation(a),l=null,o=await n.requestReferenceSpace(s),F.setContext(n),F.start(),r.isPresenting=!0,r.dispatchEvent({type:"sessionstart"})}},this.getEnvironmentBlendMode=function(){if(null!==n)return n.environmentBlendMode},this.getDepthTexture=function(){return _.getDepthTexture()};const L=new br,P=new br;function D(e,t){null===t?e.matrixWorld.copy(e.matrix):e.matrixWorld.multiplyMatrices(t.matrixWorld,e.matrix),e.matrixWorldInverse.copy(e.matrixWorld).invert()}this.updateCamera=function(e){if(null===n)return;let t=e.near,r=e.far;null!==_.texture&&(_.depthNear>0&&(t=_.depthNear),_.depthFar>0&&(r=_.depthFar)),E.near=A.near=w.near=t,E.far=A.far=w.far=r,I===E.near&&M===E.far||(n.updateRenderState({depthNear:E.near,depthFar:E.far}),I=E.near,M=E.far),E.layers.mask=6|e.layers.mask,w.layers.mask=3&E.layers.mask,A.layers.mask=5&E.layers.mask;const i=e.parent,o=E.cameras;D(E,i);for(let e=0;e<o.length;e++)D(o[e],i);2===o.length?function(e,t,r){L.setFromMatrixPosition(t.matrixWorld),P.setFromMatrixPosition(r.matrixWorld);const n=L.distanceTo(P),i=t.projectionMatrix.elements,o=r.projectionMatrix.elements,s=i[14]/(i[10]-1),a=i[14]/(i[10]+1),l=(i[9]+1)/i[5],c=(i[9]-1)/i[5],u=(i[8]-1)/i[0],d=(o[8]+1)/o[0],h=s*u,p=s*d,m=n/(-u+d),_=m*-u;if(t.matrixWorld.decompose(e.position,e.quaternion,e.scale),e.translateX(_),e.translateZ(m),e.matrixWorld.compose(e.position,e.quaternion,e.scale),e.matrixWorldInverse.copy(e.matrixWorld).invert(),-1===i[10])e.projectionMatrix.copy(t.projectionMatrix),e.projectionMatrixInverse.copy(t.projectionMatrixInverse);else{const t=s+m,r=a+m,i=h-_,o=p+(n-_),u=l*a/r*t,d=c*a/r*t;e.projectionMatrix.makePerspective(i,o,u,d,t,r),e.projectionMatrixInverse.copy(e.projectionMatrix).invert()}}(E,w,A):E.projectionMatrix.copy(w.projectionMatrix),function(e,t,r){null===r?e.matrix.copy(t.matrixWorld):(e.matrix.copy(r.matrixWorld),e.matrix.invert(),e.matrix.multiply(t.matrixWorld));e.matrix.decompose(e.position,e.quaternion,e.scale),e.updateMatrixWorld(!0),e.projectionMatrix.copy(t.projectionMatrix),e.projectionMatrixInverse.copy(t.projectionMatrixInverse),e.isPerspectiveCamera&&(e.fov=2*cr*Math.atan(1/e.projectionMatrix.elements[5]),e.zoom=1)}(e,E,i)},this.getCamera=function(){return E},this.getFoveation=function(){if(null!==d||null!==h)return a},this.setFoveation=function(e){a=e,null!==d&&(d.fixedFoveation=e),null!==h&&void 0!==h.fixedFoveation&&(h.fixedFoveation=e)},this.hasDepthSensing=function(){return null!==_.texture},this.getDepthSensingMesh=function(){return _.getMesh(E)},this.getCameraTexture=function(e){return g[e]};let N=null;const F=new Fu;F.setAnimationLoop(function(t,i){if(c=i.getViewerPose(l||o),p=i,null!==c){const t=c.views;null!==h&&(e.setRenderTargetFramebuffer(b,h.framebuffer),e.setRenderTarget(b));let i=!1;t.length!==E.cameras.length&&(E.cameras.length=0,i=!0);for(let r=0;r<t.length;r++){const n=t[r];let o=null;if(null!==h)o=h.getViewport(n);else{const t=u.getViewSubImage(d,n);o=t.viewport,0===r&&(e.setRenderTargetTextures(b,t.colorTexture,t.depthStencilTexture),e.setRenderTarget(b))}let s=C[r];void 0===s&&(s=new lo,s.layers.enable(r),s.viewport=new Hr,C[r]=s),s.matrix.fromArray(n.transform.matrix),s.matrix.decompose(s.position,s.quaternion,s.scale),s.projectionMatrix.fromArray(n.projectionMatrix),s.projectionMatrixInverse.copy(s.projectionMatrix).invert(),s.viewport.set(o.x,o.y,o.width,o.height),0===r&&(E.matrix.copy(s.matrix),E.matrix.decompose(E.position,E.quaternion,E.scale)),!0===i&&E.cameras.push(s)}const o=n.enabledFeatures;if(o&&o.includes("depth-sensing")&&"gpu-optimized"==n.depthUsage&&m){u=r.getBinding();const e=u.getDepthInformation(t[0]);e&&e.isValid&&e.texture&&_.init(e,n.renderState)}if(o&&o.includes("camera-access")&&m){e.state.unbindTexture(),u=r.getBinding();for(let e=0;e<t.length;e++){const r=t[e].camera;if(r){let e=g[r];e||(e=new js,g[r]=e);const t=u.getCameraImage(r);e.sourceTexture=t}}}}for(let e=0;e<y.length;e++){const t=$[e],r=y[e];null!==t&&void 0!==r&&r.update(t,i,l||o)}N&&N(t,i),i.detectedPlanes&&r.dispatchEvent({type:"planesdetected",data:i}),p=null}),this.setAnimationLoop=function(e){N=e},this.dispose=function(){}}}const _p=new Rn,gp=new xn;function fp(e,t){function r(e,t){!0===e.matrixAutoUpdate&&e.updateMatrix(),t.value.copy(e.matrix)}function n(e,n){e.opacity.value=n.opacity,n.color&&e.diffuse.value.copy(n.color),n.emissive&&e.emissive.value.copy(n.emissive).multiplyScalar(n.emissiveIntensity),n.map&&(e.map.value=n.map,r(n.map,e.mapTransform)),n.alphaMap&&(e.alphaMap.value=n.alphaMap,r(n.alphaMap,e.alphaMapTransform)),n.bumpMap&&(e.bumpMap.value=n.bumpMap,r(n.bumpMap,e.bumpMapTransform),e.bumpScale.value=n.bumpScale,1===n.side&&(e.bumpScale.value*=-1)),n.normalMap&&(e.normalMap.value=n.normalMap,r(n.normalMap,e.normalMapTransform),e.normalScale.value.copy(n.normalScale),1===n.side&&e.normalScale.value.negate()),n.displacementMap&&(e.displacementMap.value=n.displacementMap,r(n.displacementMap,e.displacementMapTransform),e.displacementScale.value=n.displacementScale,e.displacementBias.value=n.displacementBias),n.emissiveMap&&(e.emissiveMap.value=n.emissiveMap,r(n.emissiveMap,e.emissiveMapTransform)),n.specularMap&&(e.specularMap.value=n.specularMap,r(n.specularMap,e.specularMapTransform)),n.alphaTest>0&&(e.alphaTest.value=n.alphaTest);const i=t.get(n),o=i.envMap,s=i.envMapRotation;o&&(e.envMap.value=o,_p.copy(s),_p.x*=-1,_p.y*=-1,_p.z*=-1,o.isCubeTexture&&!1===o.isRenderTargetTexture&&(_p.y*=-1,_p.z*=-1),e.envMapRotation.value.setFromMatrix4(gp.makeRotationFromEuler(_p)),e.flipEnvMap.value=o.isCubeTexture&&!1===o.isRenderTargetTexture?-1:1,e.reflectivity.value=n.reflectivity,e.ior.value=n.ior,e.refractionRatio.value=n.refractionRatio),n.lightMap&&(e.lightMap.value=n.lightMap,e.lightMapIntensity.value=n.lightMapIntensity,r(n.lightMap,e.lightMapTransform)),n.aoMap&&(e.aoMap.value=n.aoMap,e.aoMapIntensity.value=n.aoMapIntensity,r(n.aoMap,e.aoMapTransform)),window.MaterialHooks.refreshUniformsCommonHook(e,n)}return{refreshFogUniforms:function(t,r){r.color.getRGB(t.fogColor.value,to(e)),r.isFog?(t.fogNear.value=r.near,t.fogFar.value=r.far):r.isFogExp2&&(t.fogDensity.value=r.density)},refreshMaterialUniforms:function(e,i,o,s,a){i.isMeshBasicMaterial||i.isMeshLambertMaterial?n(e,i):i.isMeshToonMaterial?(n(e,i),function(e,t){t.gradientMap&&(e.gradientMap.value=t.gradientMap)}(e,i)):i.isMeshPhongMaterial?(n(e,i),function(e,t){e.specular.value.copy(t.specular),e.shininess.value=Math.max(t.shininess,1e-4)}(e,i)):i.isMeshStandardMaterial?(n(e,i),function(e,t){e.metalness.value=t.metalness,t.metalnessMap&&(e.metalnessMap.value=t.metalnessMap,r(t.metalnessMap,e.metalnessMapTransform));e.roughness.value=t.roughness,t.roughnessMap&&(e.roughnessMap.value=t.roughnessMap,r(t.roughnessMap,e.roughnessMapTransform));t.envMap&&(e.envMapIntensity.value=t.envMapIntensity);window.MaterialHooks.refreshUniformsStandardHook(e,t)}(e,i),i.isMeshPhysicalMaterial&&function(e,t,n){e.ior.value=t.ior,t.sheen>0&&(e.sheenColor.value.copy(t.sheenColor).multiplyScalar(t.sheen),e.sheenRoughness.value=t.sheenRoughness,t.sheenColorMap&&(e.sheenColorMap.value=t.sheenColorMap,r(t.sheenColorMap,e.sheenColorMapTransform)),t.sheenRoughnessMap&&(e.sheenRoughnessMap.value=t.sheenRoughnessMap,r(t.sheenRoughnessMap,e.sheenRoughnessMapTransform)));t.clearcoat>0&&(e.clearcoat.value=t.clearcoat,e.clearcoatRoughness.value=t.clearcoatRoughness,t.clearcoatMap&&(e.clearcoatMap.value=t.clearcoatMap,r(t.clearcoatMap,e.clearcoatMapTransform)),t.clearcoatRoughnessMap&&(e.clearcoatRoughnessMap.value=t.clearcoatRoughnessMap,r(t.clearcoatRoughnessMap,e.clearcoatRoughnessMapTransform)),t.clearcoatNormalMap&&(e.clearcoatNormalMap.value=t.clearcoatNormalMap,r(t.clearcoatNormalMap,e.clearcoatNormalMapTransform),e.clearcoatNormalScale.value.copy(t.clearcoatNormalScale),1===t.side&&e.clearcoatNormalScale.value.negate()));t.dispersion>0&&(e.dispersion.value=t.dispersion);t.iridescence>0&&(e.iridescence.value=t.iridescence,e.iridescenceIOR.value=t.iridescenceIOR,e.iridescenceThicknessMinimum.value=t.iridescenceThicknessRange[0],e.iridescenceThicknessMaximum.value=t.iridescenceThicknessRange[1],t.iridescenceMap&&(e.iridescenceMap.value=t.iridescenceMap,r(t.iridescenceMap,e.iridescenceMapTransform)),t.iridescenceThicknessMap&&(e.iridescenceThicknessMap.value=t.iridescenceThicknessMap,r(t.iridescenceThicknessMap,e.iridescenceThicknessMapTransform)));t.transmission>0&&(e.transmission.value=t.transmission,e.transmissionSamplerMap.value=n.texture,e.transmissionSamplerSize.value.set(n.width,n.height),t.transmissionMap&&(e.transmissionMap.value=t.transmissionMap,r(t.transmissionMap,e.transmissionMapTransform)),e.thickness.value=t.thickness,t.thicknessMap&&(e.thicknessMap.value=t.thicknessMap,r(t.thicknessMap,e.thicknessMapTransform)),e.attenuationDistance.value=t.attenuationDistance,e.attenuationColor.value.copy(t.attenuationColor));t.anisotropy>0&&(e.anisotropyVector.value.set(t.anisotropy*Math.cos(t.anisotropyRotation),t.anisotropy*Math.sin(t.anisotropyRotation)),t.anisotropyMap&&(e.anisotropyMap.value=t.anisotropyMap,r(t.anisotropyMap,e.anisotropyMapTransform)));e.specularIntensity.value=t.specularIntensity,e.specularColor.value.copy(t.specularColor),t.specularColorMap&&(e.specularColorMap.value=t.specularColorMap,r(t.specularColorMap,e.specularColorMapTransform));t.specularIntensityMap&&(e.specularIntensityMap.value=t.specularIntensityMap,r(t.specularIntensityMap,e.specularIntensityMapTransform))}(e,i,a)):i.isMeshMatcapMaterial?(n(e,i),function(e,t){t.matcap&&(e.matcap.value=t.matcap)}(e,i)):i.isMeshDepthMaterial?n(e,i):i.isMeshDistanceMaterial?(n(e,i),function(e,r){const n=t.get(r).light;e.referencePosition.value.setFromMatrixPosition(n.matrixWorld),e.nearDistance.value=n.shadow.camera.near,e.farDistance.value=n.shadow.camera.far}(e,i)):i.isMeshNormalMaterial?n(e,i):i.isLineBasicMaterial?(function(e,t){e.diffuse.value.copy(t.color),e.opacity.value=t.opacity,t.map&&(e.map.value=t.map,r(t.map,e.mapTransform))}(e,i),i.isLineDashedMaterial&&function(e,t){e.dashSize.value=t.dashSize,e.totalSize.value=t.dashSize+t.gapSize,e.scale.value=t.scale}(e,i)):i.isPointsMaterial?function(e,t,n,i){e.diffuse.value.copy(t.color),e.opacity.value=t.opacity,e.size.value=t.size*n,e.scale.value=.5*i,t.map&&(e.map.value=t.map,r(t.map,e.uvTransform));t.alphaMap&&(e.alphaMap.value=t.alphaMap,r(t.alphaMap,e.alphaMapTransform));t.alphaTest>0&&(e.alphaTest.value=t.alphaTest)}(e,i,o,s):i.isSpriteMaterial?function(e,t){e.diffuse.value.copy(t.color),e.opacity.value=t.opacity,e.rotation.value=t.rotation,t.map&&(e.map.value=t.map,r(t.map,e.mapTransform));t.alphaMap&&(e.alphaMap.value=t.alphaMap,r(t.alphaMap,e.alphaMapTransform));t.alphaTest>0&&(e.alphaTest.value=t.alphaTest)}(e,i):i.isShadowMaterial?(e.color.value.copy(i.color),e.opacity.value=i.opacity):i.isShaderMaterial&&(i.uniformsNeedUpdate=!1)}}}function vp(e,t,r,n){let i={},o={},s=[];const a=e.getParameter(e.MAX_UNIFORM_BUFFER_BINDINGS);function l(e,t,r,n){const i=e.value,o=t+"_"+r;if(void 0===n[o])return n[o]="number"==typeof i||"boolean"==typeof i?i:i.clone(),!0;{const e=n[o];if("number"==typeof i||"boolean"==typeof i){if(e!==i)return n[o]=i,!0}else if(!1===e.equals(i))return e.copy(i),!0}return!1}function c(e){const t={boundary:0,storage:0};return"number"==typeof e||"boolean"==typeof e?(t.boundary=4,t.storage=4):e.isVector2?(t.boundary=8,t.storage=8):e.isVector3||e.isColor?(t.boundary=16,t.storage=12):e.isVector4?(t.boundary=16,t.storage=16):e.isMatrix3?(t.boundary=48,t.storage=48):e.isMatrix4?(t.boundary=64,t.storage=64):e.isTexture?console.warn("THREE.WebGLRenderer: Texture samplers can not be part of an uniforms group."):console.warn("THREE.WebGLRenderer: Unsupported uniform value type.",e),t}function u(t){const r=t.target;r.removeEventListener("dispose",u);const n=s.indexOf(r.__bindingPointIndex);s.splice(n,1),e.deleteBuffer(i[r.id]),delete i[r.id],delete o[r.id]}return{bind:function(e,t){const r=t.program;n.uniformBlockBinding(e,r)},update:function(r,d){let h=i[r.id];void 0===h&&(!function(e){const t=e.uniforms;let r=0;const n=16;for(let e=0,i=t.length;e<i;e++){const i=Array.isArray(t[e])?t[e]:[t[e]];for(let e=0,t=i.length;e<t;e++){const t=i[e],o=Array.isArray(t.value)?t.value:[t.value];for(let e=0,i=o.length;e<i;e++){const i=c(o[e]),s=r%n,a=s%i.boundary,l=s+a;r+=a,0!==l&&n-l<i.storage&&(r+=n-l),t.__data=new Float32Array(i.storage/Float32Array.BYTES_PER_ELEMENT),t.__offset=r,r+=i.storage}}}const i=r%n;i>0&&(r+=n-i);e.__size=r,e.__cache={}}(r),h=function(t){const r=function(){for(let e=0;e<a;e++)if(-1===s.indexOf(e))return s.push(e),e;return console.error("THREE.WebGLRenderer: Maximum number of simultaneously usable uniforms groups reached."),0}();t.__bindingPointIndex=r;const n=e.createBuffer(),i=t.__size,o=t.usage;return e.bindBuffer(e.UNIFORM_BUFFER,n),e.bufferData(e.UNIFORM_BUFFER,i,o),e.bindBuffer(e.UNIFORM_BUFFER,null),e.bindBufferBase(e.UNIFORM_BUFFER,r,n),n}(r),i[r.id]=h,r.addEventListener("dispose",u));const p=d.program;n.updateUBOMapping(r,p);const m=t.render.frame;o[r.id]!==m&&(!function(t){const r=i[t.id],n=t.uniforms,o=t.__cache;e.bindBuffer(e.UNIFORM_BUFFER,r);for(let t=0,r=n.length;t<r;t++){const r=Array.isArray(n[t])?n[t]:[n[t]];for(let n=0,i=r.length;n<i;n++){const i=r[n];if(!0===l(i,t,n,o)){const t=i.__offset,r=Array.isArray(i.value)?i.value:[i.value];let n=0;for(let o=0;o<r.length;o++){const s=r[o],a=c(s);"number"==typeof s||"boolean"==typeof s?(i.__data[0]=s,e.bufferSubData(e.UNIFORM_BUFFER,t+n,i.__data)):s.isMatrix3?(i.__data[0]=s.elements[0],i.__data[1]=s.elements[1],i.__data[2]=s.elements[2],i.__data[3]=0,i.__data[4]=s.elements[3],i.__data[5]=s.elements[4],i.__data[6]=s.elements[5],i.__data[7]=0,i.__data[8]=s.elements[6],i.__data[9]=s.elements[7],i.__data[10]=s.elements[8],i.__data[11]=0):(s.toArray(i.__data,n),n+=a.storage/Float32Array.BYTES_PER_ELEMENT)}e.bufferSubData(e.UNIFORM_BUFFER,t,i.__data)}}}e.bindBuffer(e.UNIFORM_BUFFER,null)}(r),o[r.id]=m)},dispose:function(){for(const t in i)e.deleteBuffer(i[t]);s=[],i={},o={}}}}class bp{constructor(e={}){const{canvas:t=Cr(),context:r=null,depth:n=!0,stencil:i=!1,alpha:o=!1,antialias:s=!1,premultipliedAlpha:a=!0,preserveDrawingBuffer:l=!1,powerPreference:c="default",failIfMajorPerformanceCaveat:u=!1,reversedDepthBuffer:d=!1}=e;let h;if(this.isWebGLRenderer=!0,null!==r){if("undefined"!=typeof WebGLRenderingContext&&r instanceof WebGLRenderingContext)throw new Error("THREE.WebGLRenderer: WebGL 1 is not supported since r163.");h=r.getContextAttributes().alpha}else h=o;const p=new Uint32Array(4),m=new Int32Array(4);let _=null,g=null;const f=[],v=[];this.domElement=t,this.debug={checkShaderErrors:!0,onShaderError:null},this.autoClear=!0,this.autoClearColor=!0,this.autoClearDepth=!0,this.autoClearStencil=!0,this.sortObjects=!0,this.clippingPlanes=[],this.localClippingEnabled=!1,this.toneMapping=0,this.toneMappingExposure=1,this.transmissionResolutionScale=1;const b=this;let y=!1;this._outputColorSpace=zt;let $=0,x=0,S=null,w=-1,A=null;const C=new Hr,E=new Hr;let I=null;const M=new mi(0);let k=0,T=t.width,R=t.height,L=1,P=null,D=null;const N=new Hr(0,0,T,R),O=new Hr(0,0,T,R);let B=!1;const U=new gs;let V=!1,z=!1;const H=new xn,G=new br,j=new Hr,J={background:null,fog:null,environment:null,overrideMaterial:null,isScene:!0};let W=!1;function Q(){return null===S?L:1}let q,Y,X,K,Z,ee,te,re,ne,ie,oe,se,ae,le,ce,ue,de,he,pe,me,_e,ge,fe,ve,be=r;function ye(e,r){return t.getContext(e,r)}try{const e={alpha:!0,depth:n,stencil:i,antialias:s,premultipliedAlpha:a,preserveDrawingBuffer:l,powerPreference:c,failIfMajorPerformanceCaveat:u};if("setAttribute"in t&&t.setAttribute("data-engine",`three.js r${F}`),t.addEventListener("webglcontextlost",Se,!1),t.addEventListener("webglcontextrestored",we,!1),t.addEventListener("webglcontextcreationerror",Ae,!1),null===be){const t="webgl2";if(be=ye(t,e),null===be)throw ye(t)?new Error("Error creating WebGL context with your selected attributes."):new Error("Error creating WebGL context.")}}catch(e){throw console.error("THREE.WebGLRenderer: "+e.message),e}function $e(){q=new gd(be),q.init(),ge=new hp(be,q),Y=new Qu(be,q,e,ge),X=new up(be,q),Y.reversedDepthBuffer&&d&&X.buffers.depth.setReversed(!0),K=new bd(be),Z=new Xh,ee=new dp(be,q,X,Z,Y,ge,K),te=new Yu(b),re=new _d(b),ne=new Ou(be),fe=new Ju(be,ne),ie=new fd(be,ne,K,fe),oe=new $d(be,ie,ne,K),pe=new yd(be,Y,ee),ue=new qu(Z),se=new Yh(b,te,re,q,Y,fe,ue),ae=new fp(b,Z),le=new tp,ce=new ap(q),he=new ju(b,te,re,X,oe,h,a),de=new lp(b,oe,Y),ve=new vp(be,K,Y,X),me=new Wu(be,q,K),_e=new vd(be,q,K),K.programs=se.programs,b.capabilities=Y,b.extensions=q,b.properties=Z,b.renderLists=le,b.shadowMap=de,b.state=X,b.info=K}$e();const xe=new mp(b,be);function Se(e){e.preventDefault(),console.log("THREE.WebGLRenderer: Context Lost."),y=!0}function we(){console.log("THREE.WebGLRenderer: Context Restored."),y=!1;const e=K.autoReset,t=de.enabled,r=de.autoUpdate,n=de.needsUpdate,i=de.type;$e(),K.autoReset=e,de.enabled=t,de.autoUpdate=r,de.needsUpdate=n,de.type=i}function Ae(e){console.error("THREE.WebGLRenderer: A WebGL context could not be created. Reason: ",e.statusMessage)}function Ce(e){const t=e.target;t.removeEventListener("dispose",Ce),function(e){(function(e){const t=Z.get(e).programs;void 0!==t&&(t.forEach(function(e){se.releaseProgram(e)}),e.isShaderMaterial&&se.releaseShaderCache(e))})(e),Z.remove(e)}(t)}function Ee(e,t,r){!0===e.transparent&&2===e.side&&!1===e.forceSinglePass?(e.side=1,e.needsUpdate=!0,je(e,t,r),e.side=0,e.needsUpdate=!0,je(e,t,r),e.side=2):je(e,t,r)}this.xr=xe,this.getContext=function(){return be},this.getContextAttributes=function(){return be.getContextAttributes()},this.forceContextLoss=function(){const e=q.get("WEBGL_lose_context");e&&e.loseContext()},this.forceContextRestore=function(){const e=q.get("WEBGL_lose_context");e&&e.restoreContext()},this.getPixelRatio=function(){return L},this.setPixelRatio=function(e){void 0!==e&&(L=e,this.setSize(T,R,!1))},this.getSize=function(e){return e.set(T,R)},this.setSize=function(e,r,n=!0){xe.isPresenting?console.warn("THREE.WebGLRenderer: Can't change size while VR device is presenting."):(T=e,R=r,t.width=Math.floor(e*L),t.height=Math.floor(r*L),!0===n&&(t.style.width=e+"px",t.style.height=r+"px"),this.setViewport(0,0,e,r))},this.getDrawingBufferSize=function(e){return e.set(T*L,R*L).floor()},this.setDrawingBufferSize=function(e,r,n){T=e,R=r,L=n,t.width=Math.floor(e*n),t.height=Math.floor(r*n),this.setViewport(0,0,e,r)},this.getCurrentViewport=function(e){return e.copy(C)},this.getViewport=function(e){return e.copy(N)},this.setViewport=function(e,t,r,n){e.isVector4?N.set(e.x,e.y,e.z,e.w):N.set(e,t,r,n),X.viewport(C.copy(N).multiplyScalar(L).round())},this.getScissor=function(e){return e.copy(O)},this.setScissor=function(e,t,r,n){e.isVector4?O.set(e.x,e.y,e.z,e.w):O.set(e,t,r,n),X.scissor(E.copy(O).multiplyScalar(L).round())},this.getScissorTest=function(){return B},this.setScissorTest=function(e){X.setScissorTest(B=e)},this.setOpaqueSort=function(e){P=e},this.setTransparentSort=function(e){D=e},this.getClearColor=function(e){return e.copy(he.getClearColor())},this.setClearColor=function(){he.setClearColor(...arguments)},this.getClearAlpha=function(){return he.getClearAlpha()},this.setClearAlpha=function(){he.setClearAlpha(...arguments)},this.clear=function(e=!0,t=!0,r=!0){let n=0;if(e){let e=!1;if(null!==S){const t=S.texture.format;e=t===Xe||t===Ye||t===Qe}if(e){const e=S.texture.type,t=e===ke||e===De||e===Le||e===Ue||e===Oe||e===Be,r=he.getClearColor(),n=he.getClearAlpha(),i=r.r,o=r.g,s=r.b;t?(p[0]=i,p[1]=o,p[2]=s,p[3]=n,be.clearBufferuiv(be.COLOR,0,p)):(m[0]=i,m[1]=o,m[2]=s,m[3]=n,be.clearBufferiv(be.COLOR,0,m))}else n|=be.COLOR_BUFFER_BIT}t&&(n|=be.DEPTH_BUFFER_BIT),r&&(n|=be.STENCIL_BUFFER_BIT,this.state.buffers.stencil.setMask(4294967295)),be.clear(n)},this.clearColor=function(){this.clear(!0,!1,!1)},this.clearDepth=function(){this.clear(!1,!0,!1)},this.clearStencil=function(){this.clear(!1,!1,!0)},this.dispose=function(){t.removeEventListener("webglcontextlost",Se,!1),t.removeEventListener("webglcontextrestored",we,!1),t.removeEventListener("webglcontextcreationerror",Ae,!1),he.dispose(),le.dispose(),ce.dispose(),Z.dispose(),te.dispose(),re.dispose(),oe.dispose(),fe.dispose(),ve.dispose(),se.dispose(),xe.dispose(),xe.removeEventListener("sessionstart",Te),xe.removeEventListener("sessionend",Re),Pe.stop()},this.renderBufferDirect=function(e,t,r,n,i,o){null===t&&(t=J);const s=i.isMesh&&i.matrixWorld.determinant()<0,a=function(e,t,r,n,i){!0!==t.isScene&&(t=J);ee.resetTextureUnits();const o=t.fog,s=n.isMeshStandardMaterial?t.environment:null,a=null===S?b.outputColorSpace:!0===S.isXRRenderTarget?S.texture.colorSpace:Ht,l=(n.isMeshStandardMaterial?re:te).get(n.envMap||s),c=!0===n.vertexColors&&!!r.attributes.color&&4===r.attributes.color.itemSize,u=!!r.attributes.tangent&&(!!n.normalMap||n.anisotropy>0),d=!!r.morphAttributes.position,h=!!r.morphAttributes.normal,p=!!r.morphAttributes.color;let m=0;n.toneMapped&&(null!==S&&!0!==S.isXRRenderTarget||(m=b.toneMapping));const _=r.morphAttributes.position||r.morphAttributes.normal||r.morphAttributes.color,f=void 0!==_?_.length:0,v=Z.get(n),y=g.state.lights;if(!0===V&&(!0===z||e!==A)){const t=e===A&&n.id===w;ue.setState(n,e,t)}let $=!1;n.version===v.__version?v.needsLights&&v.lightsStateVersion!==y.state.version||v.outputColorSpace!==a||i.isBatchedMesh&&!1===v.batching?$=!0:i.isBatchedMesh||!0!==v.batching?i.isBatchedMesh&&!0===v.batchingColor&&null===i.colorTexture||i.isBatchedMesh&&!1===v.batchingColor&&null!==i.colorTexture||i.isInstancedMesh&&!1===v.instancing?$=!0:i.isInstancedMesh||!0!==v.instancing?i.isSkinnedMesh&&!1===v.skinning?$=!0:i.isSkinnedMesh||!0!==v.skinning?i.isInstancedMesh&&!0===v.instancingColor&&null===i.instanceColor||i.isInstancedMesh&&!1===v.instancingColor&&null!==i.instanceColor||i.isInstancedMesh&&!0===v.instancingMorph&&null===i.morphTexture||i.isInstancedMesh&&!1===v.instancingMorph&&null!==i.morphTexture||v.envMap!==l||!0===n.fog&&v.fog!==o?$=!0:void 0===v.numClippingPlanes||v.numClippingPlanes===ue.numPlanes&&v.numIntersection===ue.numIntersection?(v.vertexAlphas!==c||v.vertexTangents!==u||v.morphTargets!==d||v.morphNormals!==h||v.morphColors!==p||v.toneMapping!==m||v.morphTargetsCount!==f)&&($=!0):$=!0:$=!0:$=!0:$=!0:($=!0,v.__version=n.version);let x=v.currentProgram;!0===$&&(x=je(n,t,i));let C=!1,E=!1,I=!1;const M=x.getUniforms(),k=v.uniforms;X.useProgram(x.program)&&(C=!0,E=!0,I=!0);n.id!==w&&(w=n.id,E=!0);if(C||A!==e){X.buffers.depth.getReversed()&&!0!==e.reversedDepth&&(e._reversedDepth=!0,e.updateProjectionMatrix()),M.setValue(be,"projectionMatrix",e.projectionMatrix),M.setValue(be,"viewMatrix",e.matrixWorldInverse);const t=M.map.cameraPosition;void 0!==t&&t.setValue(be,G.setFromMatrixPosition(e.matrixWorld)),Y.logarithmicDepthBuffer&&M.setValue(be,"logDepthBufFC",2/(Math.log(e.far+1)/Math.LN2)),(n.isMeshPhongMaterial||n.isMeshToonMaterial||n.isMeshLambertMaterial||n.isMeshBasicMaterial||n.isMeshStandardMaterial||n.isShaderMaterial)&&M.setValue(be,"isOrthographic",!0===e.isOrthographicCamera),A!==e&&(A=e,E=!0,I=!0)}if(i.isSkinnedMesh){M.setOptional(be,i,"bindMatrix"),M.setOptional(be,i,"bindMatrixInverse");const e=i.skeleton;e&&(null===e.boneTexture&&e.computeBoneTexture(),M.setValue(be,"boneTexture",e.boneTexture,ee))}i.isBatchedMesh&&(M.setOptional(be,i,"batchingTexture"),M.setValue(be,"batchingTexture",i._matricesTexture,ee),M.setOptional(be,i,"batchingIdTexture"),M.setValue(be,"batchingIdTexture",i._indirectTexture,ee),M.setOptional(be,i,"batchingColorTexture"),null!==i._colorsTexture&&M.setValue(be,"batchingColorTexture",i._colorsTexture,ee));const T=r.morphAttributes;void 0===T.position&&void 0===T.normal&&void 0===T.color||pe.update(i,r,x);(E||v.receiveShadow!==i.receiveShadow)&&(v.receiveShadow=i.receiveShadow,M.setValue(be,"receiveShadow",i.receiveShadow));n.isMeshGouraudMaterial&&null!==n.envMap&&(k.envMap.value=l,k.flipEnvMap.value=l.isCubeTexture&&!1===l.isRenderTargetTexture?-1:1);n.isMeshStandardMaterial&&null===n.envMap&&null!==t.environment&&(k.envMapIntensity.value=t.environmentIntensity);E&&(M.setValue(be,"toneMappingExposure",b.toneMappingExposure),v.needsLights&&(D=I,(P=k).ambientLightColor.needsUpdate=D,P.lightProbe.needsUpdate=D,P.directionalLights.needsUpdate=D,P.directionalLightShadows.needsUpdate=D,P.pointLights.needsUpdate=D,P.pointLightShadows.needsUpdate=D,P.spotLights.needsUpdate=D,P.spotLightShadows.needsUpdate=D,P.rectAreaLights.needsUpdate=D,P.hemisphereLights.needsUpdate=D),o&&!0===n.fog&&ae.refreshFogUniforms(k,o),ae.refreshMaterialUniforms(k,n,L,R,g.state.transmissionRenderTarget[e.id]),Ch.upload(be,Je(v),k,ee));var P,D;n.isShaderMaterial&&!0===n.uniformsNeedUpdate&&(Ch.upload(be,Je(v),k,ee),n.uniformsNeedUpdate=!1);n.isSpriteMaterial&&M.setValue(be,"center",i.center);if(M.setValue(be,"modelViewMatrix",i.modelViewMatrix),M.setValue(be,"normalMatrix",i.normalMatrix),M.setValue(be,"modelMatrix",i.matrixWorld),n.isShaderMaterial||n.isRawShaderMaterial){const e=n.uniformsGroups;for(let t=0,r=e.length;t<r;t++){const r=e[t];ve.update(r,x),ve.bind(r,x)}}return x}(e,t,r,n,i);X.setMaterial(n,s);let l=r.index,c=1;if(!0===n.wireframe){if(l=ie.getWireframeAttribute(r),void 0===l)return;c=2}const u=r.drawRange,d=r.attributes.position;let h=u.start*c,p=(u.start+u.count)*c;null!==o&&(h=Math.max(h,o.start*c),p=Math.min(p,(o.start+o.count)*c)),null!==l?(h=Math.max(h,0),p=Math.min(p,l.count)):null!=d&&(h=Math.max(h,0),p=Math.min(p,d.count));const m=p-h;if(m<0||m===1/0)return;let _;fe.setup(i,n,a,r,l);let f=me;if(null!==l&&(_=ne.get(l),f=_e,f.setIndex(_)),i.isMesh)!0===n.wireframe?(X.setLineWidth(n.wireframeLinewidth*Q()),f.setMode(be.LINES)):f.setMode(be.TRIANGLES);else if(i.isLine){let e=n.linewidth;void 0===e&&(e=1),X.setLineWidth(e*Q()),i.isLineSegments?f.setMode(be.LINES):i.isLineLoop?f.setMode(be.LINE_LOOP):f.setMode(be.LINE_STRIP)}else i.isPoints?f.setMode(be.POINTS):i.isSprite&&f.setMode(be.TRIANGLES);if(i.isBatchedMesh)if(null!==i._multiDrawInstances)Ir("THREE.WebGLRenderer: renderMultiDrawInstances has been deprecated and will be removed in r184. Append to renderMultiDraw arguments and use indirection."),f.renderMultiDrawInstances(i._multiDrawStarts,i._multiDrawCounts,i._multiDrawCount,i._multiDrawInstances);else if(q.get("WEBGL_multi_draw"))f.renderMultiDraw(i._multiDrawStarts,i._multiDrawCounts,i._multiDrawCount);else{const e=i._multiDrawStarts,t=i._multiDrawCounts,r=i._multiDrawCount,o=l?ne.get(l).bytesPerElement:1,s=Z.get(n).currentProgram.getUniforms();for(let n=0;n<r;n++)s.setValue(be,"_gl_DrawID",n),f.render(e[n]/o,t[n])}else if(i.isInstancedMesh)f.renderInstances(h,m,i.count);else if(r.isInstancedBufferGeometry){const e=void 0!==r._maxInstanceCount?r._maxInstanceCount:1/0,t=Math.min(r.instanceCount,e);f.renderInstances(h,m,t)}else f.render(h,m)},this.compile=function(e,t,r=null){null===r&&(r=e),g=ce.get(r),g.init(t),v.push(g),r.traverseVisible(function(e){e.isLight&&e.layers.test(t.layers)&&(g.pushLight(e),e.castShadow&&g.pushShadow(e))}),e!==r&&e.traverseVisible(function(e){e.isLight&&e.layers.test(t.layers)&&(g.pushLight(e),e.castShadow&&g.pushShadow(e))}),g.setupLights();const n=new Set;return e.traverse(function(e){if(!(e.isMesh||e.isPoints||e.isLine||e.isSprite))return;const t=e.material;if(t)if(Array.isArray(t))for(let i=0;i<t.length;i++){const o=t[i];Ee(o,r,e),n.add(o)}else Ee(t,r,e),n.add(t)}),g=v.pop(),n},this.compileAsync=function(e,t,r=null){const n=this.compile(e,t,r);return new Promise(t=>{function r(){n.forEach(function(e){Z.get(e).currentProgram.isReady()&&n.delete(e)}),0!==n.size?setTimeout(r,10):t(e)}null!==q.get("KHR_parallel_shader_compile")?r():setTimeout(r,10)})};let Me=null;function Te(){Pe.stop()}function Re(){Pe.start()}const Pe=new Fu;function Ne(e,t,r,n){if(!1===e.visible)return;if(e.layers.test(t.layers))if(e.isGroup)r=e.renderOrder;else if(e.isLOD)!0===e.autoUpdate&&e.update(t);else if(e.isLight)g.pushLight(e),e.castShadow&&g.pushShadow(e);else if(e.isSprite){if(!e.frustumCulled||U.intersectsSprite(e)){n&&j.setFromMatrixPosition(e.matrixWorld).applyMatrix4(H);const t=oe.update(e),i=e.material;i.visible&&_.push(e,t,i,r,j.z,null)}}else if((e.isMesh||e.isLine||e.isPoints)&&(!e.frustumCulled||U.intersectsObject(e))){const t=oe.update(e),i=e.material;if(n&&(void 0!==e.boundingSphere?(null===e.boundingSphere&&e.computeBoundingSphere(),j.copy(e.boundingSphere.center)):(null===t.boundingSphere&&t.computeBoundingSphere(),j.copy(t.boundingSphere.center)),j.applyMatrix4(e.matrixWorld).applyMatrix4(H)),Array.isArray(i)){const n=t.groups;for(let o=0,s=n.length;o<s;o++){const s=n[o],a=i[s.materialIndex];a&&a.visible&&_.push(e,t,a,r,j.z,s)}}else i.visible&&_.push(e,t,i,r,j.z,null)}const i=e.children;for(let e=0,o=i.length;e<o;e++)Ne(i[e],t,r,n)}function Ve(e,t,r,n){const i=e.opaque,o=e.transmissive,s=e.transparent;g.setupLightsView(r),!0===V&&ue.setGlobalState(b.clippingPlanes,r),n&&X.viewport(C.copy(n)),i.length>0&&He(i,t,r),o.length>0&&He(o,t,r),s.length>0&&He(s,t,r),X.buffers.depth.setTest(!0),X.buffers.depth.setMask(!0),X.buffers.color.setMask(!0),X.setPolygonOffset(!1)}function ze(e,t,r,n){if(null!==(!0===r.isScene?r.overrideMaterial:null))return;void 0===g.state.transmissionRenderTarget[n.id]&&(g.state.transmissionRenderTarget[n.id]=new jr(1,1,{generateMipmaps:!0,type:q.has("EXT_color_buffer_half_float")||q.has("EXT_color_buffer_float")?Fe:ke,minFilter:Ie,samples:4,stencilBuffer:i,resolveDepthBuffer:!1,resolveStencilBuffer:!1,colorSpace:Rr.workingColorSpace}));const o=g.state.transmissionRenderTarget[n.id],s=n.viewport||C;o.setSize(s.z*b.transmissionResolutionScale,s.w*b.transmissionResolutionScale);const a=b.getRenderTarget(),l=b.getActiveCubeFace(),c=b.getActiveMipmapLevel();b.setRenderTarget(o),b.getClearColor(M),k=b.getClearAlpha(),k<1&&b.setClearColor(16777215,.5),b.clear(),W&&he.render(r);const u=b.toneMapping;b.toneMapping=0;const d=n.viewport;if(void 0!==n.viewport&&(n.viewport=void 0),g.setupLightsView(n),!0===V&&ue.setGlobalState(b.clippingPlanes,n),He(e,r,n),ee.updateMultisampleRenderTarget(o),ee.updateRenderTargetMipmap(o),!1===q.has("WEBGL_multisampled_render_to_texture")){let e=!1;for(let i=0,o=t.length;i<o;i++){const o=t[i],s=o.object,a=o.geometry,l=o.material,c=o.group;if(2===l.side&&s.layers.test(n.layers)){const t=l.side;l.side=1,l.needsUpdate=!0,Ge(s,r,n,a,l,c),l.side=t,l.needsUpdate=!0,e=!0}}!0===e&&(ee.updateMultisampleRenderTarget(o),ee.updateRenderTargetMipmap(o))}b.setRenderTarget(a,l,c),b.setClearColor(M,k),void 0!==d&&(n.viewport=d),b.toneMapping=u}function He(e,t,r){const n=!0===t.isScene?t.overrideMaterial:null;for(let i=0,o=e.length;i<o;i++){const o=e[i],s=o.object,a=o.geometry,l=o.group;let c=o.material;!0===c.allowOverride&&null!==n&&(c=n),s.layers.test(r.layers)&&Ge(s,t,r,a,c,l)}}function Ge(e,t,r,n,i,o){e.onBeforeRender(b,t,r,n,i,o),e.modelViewMatrix.multiplyMatrices(r.matrixWorldInverse,e.matrixWorld),e.normalMatrix.getNormalMatrix(e.modelViewMatrix),i.onBeforeRender(b,t,r,n,e,o),!0===i.transparent&&2===i.side&&!1===i.forceSinglePass?(i.side=1,i.needsUpdate=!0,b.renderBufferDirect(r,t,n,i,e,o),i.side=0,i.needsUpdate=!0,b.renderBufferDirect(r,t,n,i,e,o),i.side=2):b.renderBufferDirect(r,t,n,i,e,o),e.onAfterRender(b,t,r,n,i,o)}function je(e,t,r){!0!==t.isScene&&(t=J);const n=Z.get(e),i=g.state.lights,o=g.state.shadowsArray,s=i.state.version,a=se.getParameters(e,i.state,o,t,r),l=se.getProgramCacheKey(a);let c=n.programs;n.environment=e.isMeshStandardMaterial?t.environment:null,n.fog=t.fog,n.envMap=(e.isMeshStandardMaterial?re:te).get(e.envMap||n.environment),n.envMapRotation=null!==n.environment&&null===e.envMap?t.environmentRotation:e.envMapRotation,void 0===c&&(e.addEventListener("dispose",Ce),c=new Map,n.programs=c);let u=c.get(l);if(void 0!==u){if(n.currentProgram===u&&n.lightsStateVersion===s)return We(e,a),u}else a.uniforms=se.getUniforms(e),e.onBeforeCompile(a,b),u=se.acquireProgram(a,l),c.set(l,u),n.uniforms=a.uniforms;const d=n.uniforms;return(e.isShaderMaterial||e.isRawShaderMaterial)&&!0!==e.clipping||(d.clippingPlanes=ue.uniform),We(e,a),n.needsLights=function(e){return e.isMeshLambertMaterial||e.isMeshToonMaterial||e.isMeshPhongMaterial||e.isMeshStandardMaterial||e.isShadowMaterial||e.isShaderMaterial&&!0===e.lights}(e),n.lightsStateVersion=s,n.needsLights&&(d.ambientLightColor.value=i.state.ambient,d.lightProbe.value=i.state.probe,d.directionalLights.value=i.state.directional,d.directionalLightShadows.value=i.state.directionalShadow,d.spotLights.value=i.state.spot,d.spotLightShadows.value=i.state.spotShadow,d.rectAreaLights.value=i.state.rectArea,d.ltc_1.value=i.state.rectAreaLTC1,d.ltc_2.value=i.state.rectAreaLTC2,d.pointLights.value=i.state.point,d.pointLightShadows.value=i.state.pointShadow,d.hemisphereLights.value=i.state.hemi,d.directionalShadowMap.value=i.state.directionalShadowMap,d.directionalShadowMatrix.value=i.state.directionalShadowMatrix,d.spotShadowMap.value=i.state.spotShadowMap,d.spotLightMatrix.value=i.state.spotLightMatrix,d.spotLightMap.value=i.state.spotLightMap,d.pointShadowMap.value=i.state.pointShadowMap,d.pointShadowMatrix.value=i.state.pointShadowMatrix),n.currentProgram=u,n.uniformsList=null,u}function Je(e){if(null===e.uniformsList){const t=e.currentProgram.getUniforms();e.uniformsList=Ch.seqWithValue(t.seq,e.uniforms)}return e.uniformsList}function We(e,t){const r=Z.get(e);r.outputColorSpace=t.outputColorSpace,r.batching=t.batching,r.batchingColor=t.batchingColor,r.instancing=t.instancing,r.instancingColor=t.instancingColor,r.instancingMorph=t.instancingMorph,r.skinning=t.skinning,r.morphTargets=t.morphTargets,r.morphNormals=t.morphNormals,r.morphColors=t.morphColors,r.morphTargetsCount=t.morphTargetsCount,r.numClippingPlanes=t.numClippingPlanes,r.numIntersection=t.numClipIntersection,r.vertexAlphas=t.vertexAlphas,r.vertexTangents=t.vertexTangents,r.toneMapping=t.toneMapping}Pe.setAnimationLoop(function(e){Me&&Me(e)}),"undefined"!=typeof self&&Pe.setContext(self),this.setAnimationLoop=function(e){Me=e,xe.setAnimationLoop(e),null===e?Pe.stop():Pe.start()},xe.addEventListener("sessionstart",Te),xe.addEventListener("sessionend",Re),this.render=function(e,t){if(void 0!==t&&!0!==t.isCamera)return void console.error("THREE.WebGLRenderer.render: camera is not an instance of THREE.Camera.");if(!0===y)return;if(!0===e.matrixWorldAutoUpdate&&e.updateMatrixWorld(),null===t.parent&&!0===t.matrixWorldAutoUpdate&&t.updateMatrixWorld(),!0===xe.enabled&&!0===xe.isPresenting&&(!0===xe.cameraAutoUpdate&&xe.updateCamera(t),t=xe.getCamera()),!0===e.isScene&&e.onBeforeRender(b,e,t,S),g=ce.get(e,v.length),g.init(t),v.push(g),H.multiplyMatrices(t.projectionMatrix,t.matrixWorldInverse),U.setFromProjectionMatrix(H,nr,t.reversedDepth),z=this.localClippingEnabled,V=ue.init(this.clippingPlanes,z),_=le.get(e,f.length),_.init(),f.push(_),!0===xe.enabled&&!0===xe.isPresenting){const e=b.xr.getDepthSensingMesh();null!==e&&Ne(e,t,-1/0,b.sortObjects)}Ne(e,t,0,b.sortObjects),_.finish(),!0===b.sortObjects&&_.sort(P,D),W=!1===xe.enabled||!1===xe.isPresenting||!1===xe.hasDepthSensing(),W&&he.addToRenderList(_,e),this.info.render.frame++,!0===V&&ue.beginShadows();const r=g.state.shadowsArray;de.render(r,e,t),!0===V&&ue.endShadows(),!0===this.info.autoReset&&this.info.reset();const n=_.opaque,i=_.transmissive;if(g.setupLights(),t.isArrayCamera){const r=t.cameras;if(i.length>0)for(let t=0,o=r.length;t<o;t++){ze(n,i,e,r[t])}W&&he.render(e);for(let t=0,n=r.length;t<n;t++){const n=r[t];Ve(_,e,n,n.viewport)}}else i.length>0&&ze(n,i,e,t),W&&he.render(e),Ve(_,e,t);null!==S&&0===x&&(ee.updateMultisampleRenderTarget(S),ee.updateRenderTargetMipmap(S)),!0===e.isScene&&e.onAfterRender(b,e,t),fe.resetDefaultState(),w=-1,A=null,v.pop(),v.length>0?(g=v[v.length-1],!0===V&&ue.setGlobalState(b.clippingPlanes,g.state.camera)):g=null,f.pop(),_=f.length>0?f[f.length-1]:null},this.getActiveCubeFace=function(){return $},this.getActiveMipmapLevel=function(){return x},this.getRenderTarget=function(){return S},this.setRenderTargetTextures=function(e,t,r){const n=Z.get(e);n.__autoAllocateDepthBuffer=!1===e.resolveDepthBuffer,!1===n.__autoAllocateDepthBuffer&&(n.__useRenderToTexture=!1),Z.get(e.texture).__webglTexture=t,Z.get(e.depthTexture).__webglTexture=n.__autoAllocateDepthBuffer?void 0:r,n.__hasExternalTextures=!0},this.setRenderTargetFramebuffer=function(e,t){const r=Z.get(e);r.__webglFramebuffer=t,r.__useDefaultFramebuffer=void 0===t};const qe=be.createFramebuffer();this.setRenderTarget=function(e,t=0,r=0){S=e,$=t,x=r;let n=!0,i=null,o=!1,s=!1;if(e){const a=Z.get(e);if(void 0!==a.__useDefaultFramebuffer)X.bindFramebuffer(be.FRAMEBUFFER,null),n=!1;else if(void 0===a.__webglFramebuffer)ee.setupRenderTarget(e);else if(a.__hasExternalTextures)ee.rebindTextures(e,Z.get(e.texture).__webglTexture,Z.get(e.depthTexture).__webglTexture);else if(e.depthBuffer){const t=e.depthTexture;if(a.__boundDepthTexture!==t){if(null!==t&&Z.has(t)&&(e.width!==t.image.width||e.height!==t.image.height))throw new Error("WebGLRenderTarget: Attached DepthTexture is initialized to the incorrect size.");ee.setupDepthRenderbuffer(e)}}const l=e.texture;(l.isData3DTexture||l.isDataArrayTexture||l.isCompressedArrayTexture)&&(s=!0);const c=Z.get(e).__webglFramebuffer;e.isWebGLCubeRenderTarget?(i=Array.isArray(c[t])?c[t][r]:c[t],o=!0):i=e.samples>0&&!1===ee.useMultisampledRTT(e)?Z.get(e).__webglMultisampledFramebuffer:Array.isArray(c)?c[r]:c,C.copy(e.viewport),E.copy(e.scissor),I=e.scissorTest}else C.copy(N).multiplyScalar(L).floor(),E.copy(O).multiplyScalar(L).floor(),I=B;0!==r&&(i=qe);if(X.bindFramebuffer(be.FRAMEBUFFER,i)&&n&&X.drawBuffers(e,i),X.viewport(C),X.scissor(E),X.setScissorTest(I),o){const n=Z.get(e.texture);be.framebufferTexture2D(be.FRAMEBUFFER,be.COLOR_ATTACHMENT0,be.TEXTURE_CUBE_MAP_POSITIVE_X+t,n.__webglTexture,r)}else if(s){const n=t;for(let t=0;t<e.textures.length;t++){const i=Z.get(e.textures[t]);be.framebufferTextureLayer(be.FRAMEBUFFER,be.COLOR_ATTACHMENT0+t,i.__webglTexture,r,n)}}else if(null!==e&&0!==r){const t=Z.get(e.texture);be.framebufferTexture2D(be.FRAMEBUFFER,be.COLOR_ATTACHMENT0,be.TEXTURE_2D,t.__webglTexture,r)}w=-1},this.readRenderTargetPixels=function(e,t,r,n,i,o,s,a=0){if(!e||!e.isWebGLRenderTarget)return void console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not THREE.WebGLRenderTarget.");let l=Z.get(e).__webglFramebuffer;if(e.isWebGLCubeRenderTarget&&void 0!==s&&(l=l[s]),l){X.bindFramebuffer(be.FRAMEBUFFER,l);try{const s=e.textures[a],l=s.format,c=s.type;if(!Y.textureFormatReadable(l))return void console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in RGBA or implementation defined format.");if(!Y.textureTypeReadable(c))return void console.error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not in UnsignedByteType or implementation defined type.");t>=0&&t<=e.width-n&&r>=0&&r<=e.height-i&&(e.textures.length>1&&be.readBuffer(be.COLOR_ATTACHMENT0+a),be.readPixels(t,r,n,i,ge.convert(l),ge.convert(c),o))}finally{const e=null!==S?Z.get(S).__webglFramebuffer:null;X.bindFramebuffer(be.FRAMEBUFFER,e)}}},this.readRenderTargetPixelsAsync=async function(e,t,r,n,i,o,s,a=0){if(!e||!e.isWebGLRenderTarget)throw new Error("THREE.WebGLRenderer.readRenderTargetPixels: renderTarget is not THREE.WebGLRenderTarget.");let l=Z.get(e).__webglFramebuffer;if(e.isWebGLCubeRenderTarget&&void 0!==s&&(l=l[s]),l){if(t>=0&&t<=e.width-n&&r>=0&&r<=e.height-i){X.bindFramebuffer(be.FRAMEBUFFER,l);const s=e.textures[a],c=s.format,u=s.type;if(!Y.textureFormatReadable(c))throw new Error("THREE.WebGLRenderer.readRenderTargetPixelsAsync: renderTarget is not in RGBA or implementation defined format.");if(!Y.textureTypeReadable(u))throw new Error("THREE.WebGLRenderer.readRenderTargetPixelsAsync: renderTarget is not in UnsignedByteType or implementation defined type.");const d=be.createBuffer();be.bindBuffer(be.PIXEL_PACK_BUFFER,d),be.bufferData(be.PIXEL_PACK_BUFFER,o.byteLength,be.STREAM_READ),e.textures.length>1&&be.readBuffer(be.COLOR_ATTACHMENT0+a),be.readPixels(t,r,n,i,ge.convert(c),ge.convert(u),0);const h=null!==S?Z.get(S).__webglFramebuffer:null;X.bindFramebuffer(be.FRAMEBUFFER,h);const p=be.fenceSync(be.SYNC_GPU_COMMANDS_COMPLETE,0);return be.flush(),await function(e,t,r){return new Promise(function(n,i){setTimeout(function o(){switch(e.clientWaitSync(t,e.SYNC_FLUSH_COMMANDS_BIT,0)){case e.WAIT_FAILED:i();break;case e.TIMEOUT_EXPIRED:setTimeout(o,r);break;default:n()}},r)})}(be,p,4),be.bindBuffer(be.PIXEL_PACK_BUFFER,d),be.getBufferSubData(be.PIXEL_PACK_BUFFER,0,o),be.deleteBuffer(d),be.deleteSync(p),o}throw new Error("THREE.WebGLRenderer.readRenderTargetPixelsAsync: requested read bounds are out of range.")}},this.copyFramebufferToTexture=function(e,t=null,r=0){const n=Math.pow(2,-r),i=Math.floor(e.image.width*n),o=Math.floor(e.image.height*n),s=null!==t?t.x:0,a=null!==t?t.y:0;ee.setTexture2D(e,0),be.copyTexSubImage2D(be.TEXTURE_2D,r,0,0,s,a,i,o),X.unbindTexture()};const Ke=be.createFramebuffer(),Ze=be.createFramebuffer();this.copyTextureToTexture=function(e,t,r=null,n=null,i=0,o=null){let s,a,l,c,u,d,h,p,m;null===o&&(0!==i?(Ir("WebGLRenderer: copyTextureToTexture function signature has changed to support src and dst mipmap levels."),o=i,i=0):o=0);const _=e.isCompressedTexture?e.mipmaps[o]:e.image;if(null!==r)s=r.max.x-r.min.x,a=r.max.y-r.min.y,l=r.isBox3?r.max.z-r.min.z:1,c=r.min.x,u=r.min.y,d=r.isBox3?r.min.z:0;else{const t=Math.pow(2,-i);s=Math.floor(_.width*t),a=Math.floor(_.height*t),l=e.isDataArrayTexture?_.depth:e.isData3DTexture?Math.floor(_.depth*t):1,c=0,u=0,d=0}null!==n?(h=n.x,p=n.y,m=n.z):(h=0,p=0,m=0);const g=ge.convert(t.format),f=ge.convert(t.type);let v;t.isData3DTexture?(ee.setTexture3D(t,0),v=be.TEXTURE_3D):t.isDataArrayTexture||t.isCompressedArrayTexture?(ee.setTexture2DArray(t,0),v=be.TEXTURE_2D_ARRAY):(ee.setTexture2D(t,0),v=be.TEXTURE_2D),be.pixelStorei(be.UNPACK_FLIP_Y_WEBGL,t.flipY),be.pixelStorei(be.UNPACK_PREMULTIPLY_ALPHA_WEBGL,t.premultiplyAlpha),be.pixelStorei(be.UNPACK_ALIGNMENT,t.unpackAlignment);const b=be.getParameter(be.UNPACK_ROW_LENGTH),y=be.getParameter(be.UNPACK_IMAGE_HEIGHT),$=be.getParameter(be.UNPACK_SKIP_PIXELS),x=be.getParameter(be.UNPACK_SKIP_ROWS),S=be.getParameter(be.UNPACK_SKIP_IMAGES);be.pixelStorei(be.UNPACK_ROW_LENGTH,_.width),be.pixelStorei(be.UNPACK_IMAGE_HEIGHT,_.height),be.pixelStorei(be.UNPACK_SKIP_PIXELS,c),be.pixelStorei(be.UNPACK_SKIP_ROWS,u),be.pixelStorei(be.UNPACK_SKIP_IMAGES,d);const w=e.isDataArrayTexture||e.isData3DTexture,A=t.isDataArrayTexture||t.isData3DTexture;if(e.isDepthTexture){const r=Z.get(e),n=Z.get(t),_=Z.get(r.__renderTarget),g=Z.get(n.__renderTarget);X.bindFramebuffer(be.READ_FRAMEBUFFER,_.__webglFramebuffer),X.bindFramebuffer(be.DRAW_FRAMEBUFFER,g.__webglFramebuffer);for(let r=0;r<l;r++)w&&(be.framebufferTextureLayer(be.READ_FRAMEBUFFER,be.COLOR_ATTACHMENT0,Z.get(e).__webglTexture,i,d+r),be.framebufferTextureLayer(be.DRAW_FRAMEBUFFER,be.COLOR_ATTACHMENT0,Z.get(t).__webglTexture,o,m+r)),be.blitFramebuffer(c,u,s,a,h,p,s,a,be.DEPTH_BUFFER_BIT,be.NEAREST);X.bindFramebuffer(be.READ_FRAMEBUFFER,null),X.bindFramebuffer(be.DRAW_FRAMEBUFFER,null)}else if(0!==i||e.isRenderTargetTexture||Z.has(e)){const r=Z.get(e),n=Z.get(t);X.bindFramebuffer(be.READ_FRAMEBUFFER,Ke),X.bindFramebuffer(be.DRAW_FRAMEBUFFER,Ze);for(let e=0;e<l;e++)w?be.framebufferTextureLayer(be.READ_FRAMEBUFFER,be.COLOR_ATTACHMENT0,r.__webglTexture,i,d+e):be.framebufferTexture2D(be.READ_FRAMEBUFFER,be.COLOR_ATTACHMENT0,be.TEXTURE_2D,r.__webglTexture,i),A?be.framebufferTextureLayer(be.DRAW_FRAMEBUFFER,be.COLOR_ATTACHMENT0,n.__webglTexture,o,m+e):be.framebufferTexture2D(be.DRAW_FRAMEBUFFER,be.COLOR_ATTACHMENT0,be.TEXTURE_2D,n.__webglTexture,o),0!==i?be.blitFramebuffer(c,u,s,a,h,p,s,a,be.COLOR_BUFFER_BIT,be.NEAREST):A?be.copyTexSubImage3D(v,o,h,p,m+e,c,u,s,a):be.copyTexSubImage2D(v,o,h,p,c,u,s,a);X.bindFramebuffer(be.READ_FRAMEBUFFER,null),X.bindFramebuffer(be.DRAW_FRAMEBUFFER,null)}else A?e.isDataTexture||e.isData3DTexture?be.texSubImage3D(v,o,h,p,m,s,a,l,g,f,_.data):t.isCompressedArrayTexture?be.compressedTexSubImage3D(v,o,h,p,m,s,a,l,g,_.data):be.texSubImage3D(v,o,h,p,m,s,a,l,g,f,_):e.isDataTexture?be.texSubImage2D(be.TEXTURE_2D,o,h,p,s,a,g,f,_.data):e.isCompressedTexture?be.compressedTexSubImage2D(be.TEXTURE_2D,o,h,p,_.width,_.height,g,_.data):be.texSubImage2D(be.TEXTURE_2D,o,h,p,s,a,g,f,_);be.pixelStorei(be.UNPACK_ROW_LENGTH,b),be.pixelStorei(be.UNPACK_IMAGE_HEIGHT,y),be.pixelStorei(be.UNPACK_SKIP_PIXELS,$),be.pixelStorei(be.UNPACK_SKIP_ROWS,x),be.pixelStorei(be.UNPACK_SKIP_IMAGES,S),0===o&&t.generateMipmaps&&be.generateMipmap(v),X.unbindTexture()},this.initRenderTarget=function(e){void 0===Z.get(e).__webglFramebuffer&&ee.setupRenderTarget(e)},this.initTexture=function(e){e.isCubeTexture?ee.setTextureCube(e,0):e.isData3DTexture?ee.setTexture3D(e,0):e.isDataArrayTexture||e.isCompressedArrayTexture?ee.setTexture2DArray(e,0):ee.setTexture2D(e,0),X.unbindTexture()},this.resetState=function(){$=0,x=0,S=null,X.reset(),fe.reset()},"undefined"!=typeof __THREE_DEVTOOLS__&&__THREE_DEVTOOLS__.dispatchEvent(new CustomEvent("observe",{detail:this}))}get coordinateSystem(){return nr}get outputColorSpace(){return this._outputColorSpace}set outputColorSpace(e){this._outputColorSpace=e;const t=this.getContext();t.drawingBufferColorSpace=Rr._getDrawingBufferColorSpace(e),t.unpackColorSpace=Rr._getUnpackColorSpace()}}class yp extends Oi{constructor(){super()}static create(e){return(new yp).parseVertices(e.vertices)}static createSync(e){return(new yp).parseVertices(e.vertices,!0)}parseVertices(e,t,r=!1){const n=e=>{const t=new Float32Array(6*e.length);let n=0;const i=[];for(let o=0;o<e.length;o++){const s=e[o];for(let e=0;e<6;e++)t[6*o+e]=s[e]*(r?1:C);i.push(n,++n),n++}return this.setIndex(i),this.setAttribute("position",new Ei(t,3)),this.computeBoundingSphere(),this};return t?n(e):new Promise((t,r)=>{t(n(e))})}}Array.prototype.multiplyScalar=function(e){for(let t=0;t<this.length;t++)this[t]*=e;return this},Array.prototype.divideScalar=function(e){for(let t=0;t<this.length;t++)this[t]/=e;return this},Array.prototype.toVector=function(){return 2===this.length?new fr(this[0],this[1]):3===this.length?new br(this[0],this[1],this[2]):4===this.length?new Hr(this[0],this[1],this[2],this[3]):void 0};class $p{constructor(e){this.val=e}Get(){return this.val}Set(e){this.val=e}}class xp{constructor(e,t,r){this.x=0,this.y=0,this.z=0,Array.isArray(e)?(this.x=e[0]||0,this.y=e[1]||0,this.z=e[2]||0):(this.x=e||0,this.y=t||0,this.z=r||0)}static negative(e,t){return t.x=-e.x,t.y=-e.y,t.z=-e.z,t}static add(e,t,r){return t instanceof xp?(r.x=e.x+t.x,r.y=e.y+t.y,r.z=e.z+t.z):(r.x=e.x+t,r.y=e.y+t,r.z=e.z+t),r}static subtract(e,t,r){return t instanceof xp?(r.x=e.x-t.x,r.y=e.y-t.y,r.z=e.z-t.z):(r.x=e.x-t,r.y=e.y-t,r.z=e.z-t),r}static multiply(e,t,r){return t instanceof xp?(r.x=e.x*t.x,r.y=e.y*t.y,r.z=e.z*t.z):(r.x=e.x*t,r.y=e.y*t,r.z=e.z*t),r}static divide(e,t,r){return t instanceof xp?(r.x=e.x/t.x,r.y=e.y/t.y,r.z=e.z/t.z):(r.x=e.x/t,r.y=e.y/t,r.z=e.z/t),r}static cross(e,t,r){return r.x=e.y*t.z-e.z*t.y,r.y=e.z*t.x-e.x*t.z,r.z=e.x*t.y-e.y*t.x,r}static unit(e,t){const r=e.length();return t.x=e.x/r,t.y=e.y/r,t.z=e.z/r,t}static fromAngles(e,t){return new xp(Math.cos(e)*Math.cos(t),Math.sin(t),Math.sin(e)*Math.cos(t))}static randomDirection(){return xp.fromAngles(Math.random()*Math.PI*2,Math.asin(2*Math.random()-1))}static min(e,t){return new xp(Math.min(e.x,t.x),Math.min(e.y,t.y),Math.min(e.z,t.z))}static max(e,t){return new xp(Math.max(e.x,t.x),Math.max(e.y,t.y),Math.max(e.z,t.z))}static lerp(e,t,r){return t.subtract(e).multiply(r).add(e)}static fromArray(e){return new xp(e[0],e[1],e[2])}static angleBetween(e,t){return e.angleTo(t)}negative(){return new xp(-this.x,-this.y,-this.z)}add(e){return e instanceof xp?new xp(this.x+e.x,this.y+e.y,this.z+e.z):new xp(this.x+e,this.y+e,this.z+e)}subtract(e){return e instanceof xp?new xp(this.x-e.x,this.y-e.y,this.z-e.z):new xp(this.x-e,this.y-e,this.z-e)}multiply(e){return e instanceof xp?new xp(this.x*e.x,this.y*e.y,this.z*e.z):new xp(this.x*e,this.y*e,this.z*e)}divide(e){return e instanceof xp?new xp(this.x/e.x,this.y/e.y,this.z/e.z):new xp(this.x/e,this.y/e,this.z/e)}equals(e){return this.x==e.x&&this.y==e.y&&this.z==e.z}dot(e){return this.x*e.x+this.y*e.y+this.z*e.z}cross(e){return new xp(this.y*e.z-this.z*e.y,this.z*e.x-this.x*e.z,this.x*e.y-this.y*e.x)}length(){return Math.sqrt(this.dot(this))}unit(){return this.divide(this.length())}min(){return Math.min(Math.min(this.x,this.y),this.z)}max(){return Math.max(Math.max(this.x,this.y),this.z)}toAngles(){return{theta:Math.atan2(this.z,this.x),phi:Math.asin(this.y/this.length())}}angleTo(e){return Math.acos(this.dot(e)/(this.length()*e.length()))}toArray(e){return[this.x,this.y,this.z].slice(0,e||3)}clone(){return new xp(this.x,this.y,this.z)}init(e,t,r){return this.x=e,this.y=t,this.z=r,this}setComponent(e,t){switch(e){case 0:this.x=t;break;case 1:this.y=t;break;case 2:this.z=t;break;default:throw new Error("index is out of range: "+e)}}getComponent(e){switch(e){case 0:return this.x;case 1:return this.y;case 2:return this.z;default:throw new Error("index is out of range: "+e)}}copyFrom(e){return this.x=e.x,this.y=e.y,this.z=e.z,this}normalize(){return this.divide(this.length())}}class Sp{constructor(){this.m=[],this.m=Array.prototype.concat.apply([],arguments),this.m.length||(this.m=[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1]),this.m=Cp.hasFloat32Array?new Float32Array(this.m):this.m}static inverse(e,t){t=t||new Sp;const r=e.m,n=t.m;n[0]=r[5]*r[10]*r[15]-r[5]*r[14]*r[11]-r[6]*r[9]*r[15]+r[6]*r[13]*r[11]+r[7]*r[9]*r[14]-r[7]*r[13]*r[10],n[1]=-r[1]*r[10]*r[15]+r[1]*r[14]*r[11]+r[2]*r[9]*r[15]-r[2]*r[13]*r[11]-r[3]*r[9]*r[14]+r[3]*r[13]*r[10],n[2]=r[1]*r[6]*r[15]-r[1]*r[14]*r[7]-r[2]*r[5]*r[15]+r[2]*r[13]*r[7]+r[3]*r[5]*r[14]-r[3]*r[13]*r[6],n[3]=-r[1]*r[6]*r[11]+r[1]*r[10]*r[7]+r[2]*r[5]*r[11]-r[2]*r[9]*r[7]-r[3]*r[5]*r[10]+r[3]*r[9]*r[6],n[4]=-r[4]*r[10]*r[15]+r[4]*r[14]*r[11]+r[6]*r[8]*r[15]-r[6]*r[12]*r[11]-r[7]*r[8]*r[14]+r[7]*r[12]*r[10],n[5]=r[0]*r[10]*r[15]-r[0]*r[14]*r[11]-r[2]*r[8]*r[15]+r[2]*r[12]*r[11]+r[3]*r[8]*r[14]-r[3]*r[12]*r[10],n[6]=-r[0]*r[6]*r[15]+r[0]*r[14]*r[7]+r[2]*r[4]*r[15]-r[2]*r[12]*r[7]-r[3]*r[4]*r[14]+r[3]*r[12]*r[6],n[7]=r[0]*r[6]*r[11]-r[0]*r[10]*r[7]-r[2]*r[4]*r[11]+r[2]*r[8]*r[7]+r[3]*r[4]*r[10]-r[3]*r[8]*r[6],n[8]=r[4]*r[9]*r[15]-r[4]*r[13]*r[11]-r[5]*r[8]*r[15]+r[5]*r[12]*r[11]+r[7]*r[8]*r[13]-r[7]*r[12]*r[9],n[9]=-r[0]*r[9]*r[15]+r[0]*r[13]*r[11]+r[1]*r[8]*r[15]-r[1]*r[12]*r[11]-r[3]*r[8]*r[13]+r[3]*r[12]*r[9],n[10]=r[0]*r[5]*r[15]-r[0]*r[13]*r[7]-r[1]*r[4]*r[15]+r[1]*r[12]*r[7]+r[3]*r[4]*r[13]-r[3]*r[12]*r[5],n[11]=-r[0]*r[5]*r[11]+r[0]*r[9]*r[7]+r[1]*r[4]*r[11]-r[1]*r[8]*r[7]-r[3]*r[4]*r[9]+r[3]*r[8]*r[5],n[12]=-r[4]*r[9]*r[14]+r[4]*r[13]*r[10]+r[5]*r[8]*r[14]-r[5]*r[12]*r[10]-r[6]*r[8]*r[13]+r[6]*r[12]*r[9],n[13]=r[0]*r[9]*r[14]-r[0]*r[13]*r[10]-r[1]*r[8]*r[14]+r[1]*r[12]*r[10]+r[2]*r[8]*r[13]-r[2]*r[12]*r[9],n[14]=-r[0]*r[5]*r[14]+r[0]*r[13]*r[6]+r[1]*r[4]*r[14]-r[1]*r[12]*r[6]-r[2]*r[4]*r[13]+r[2]*r[12]*r[5],n[15]=r[0]*r[5]*r[10]-r[0]*r[9]*r[6]-r[1]*r[4]*r[10]+r[1]*r[8]*r[6]+r[2]*r[4]*r[9]-r[2]*r[8]*r[5];const i=r[0]*n[0]+r[1]*n[4]+r[2]*n[8]+r[3]*n[12];for(let e=0;e<16;e++)n[e]/=i;return t}static transpose(e,t){t=t||new Sp;const r=e.m,n=t.m;return n[0]=r[0],n[1]=r[4],n[2]=r[8],n[3]=r[12],n[4]=r[1],n[5]=r[5],n[6]=r[9],n[7]=r[13],n[8]=r[2],n[9]=r[6],n[10]=r[10],n[11]=r[14],n[12]=r[3],n[13]=r[7],n[14]=r[11],n[15]=r[15],t}static multiply(e,t,r){r=r||new Sp;const n=e.m,i=t.m,o=r.m;return o[0]=n[0]*i[0]+n[1]*i[4]+n[2]*i[8]+n[3]*i[12],o[1]=n[0]*i[1]+n[1]*i[5]+n[2]*i[9]+n[3]*i[13],o[2]=n[0]*i[2]+n[1]*i[6]+n[2]*i[10]+n[3]*i[14],o[3]=n[0]*i[3]+n[1]*i[7]+n[2]*i[11]+n[3]*i[15],o[4]=n[4]*i[0]+n[5]*i[4]+n[6]*i[8]+n[7]*i[12],o[5]=n[4]*i[1]+n[5]*i[5]+n[6]*i[9]+n[7]*i[13],o[6]=n[4]*i[2]+n[5]*i[6]+n[6]*i[10]+n[7]*i[14],o[7]=n[4]*i[3]+n[5]*i[7]+n[6]*i[11]+n[7]*i[15],o[8]=n[8]*i[0]+n[9]*i[4]+n[10]*i[8]+n[11]*i[12],o[9]=n[8]*i[1]+n[9]*i[5]+n[10]*i[9]+n[11]*i[13],o[10]=n[8]*i[2]+n[9]*i[6]+n[10]*i[10]+n[11]*i[14],o[11]=n[8]*i[3]+n[9]*i[7]+n[10]*i[11]+n[11]*i[15],o[12]=n[12]*i[0]+n[13]*i[4]+n[14]*i[8]+n[15]*i[12],o[13]=n[12]*i[1]+n[13]*i[5]+n[14]*i[9]+n[15]*i[13],o[14]=n[12]*i[2]+n[13]*i[6]+n[14]*i[10]+n[15]*i[14],o[15]=n[12]*i[3]+n[13]*i[7]+n[14]*i[11]+n[15]*i[15],r}static identity(e){const t=(e=e||new Sp).m;return t[0]=t[5]=t[10]=t[15]=1,t[1]=t[2]=t[3]=t[4]=t[6]=t[7]=t[8]=t[9]=t[11]=t[12]=t[13]=t[14]=0,e}static perspective(e,t,r,n,i){const o=Math.tan(e*Math.PI/360)*r,s=o*t;return Sp.frustum(-s,s,-o,o,r,n,i)}static frustum(e,t,r,n,i,o,s){const a=(s=s||new Sp).m;return a[0]=2*i/(t-e),a[1]=0,a[2]=(t+e)/(t-e),a[3]=0,a[4]=0,a[5]=2*i/(n-r),a[6]=(n+r)/(n-r),a[7]=0,a[8]=0,a[9]=0,a[10]=-(o+i)/(o-i),a[11]=-2*o*i/(o-i),a[12]=0,a[13]=0,a[14]=-1,a[15]=0,s}static ortho(e,t,r,n,i,o,s){const a=(s=s||new Sp).m;return a[0]=2/(t-e),a[1]=0,a[2]=0,a[3]=-(t+e)/(t-e),a[4]=0,a[5]=2/(n-r),a[6]=0,a[7]=-(n+r)/(n-r),a[8]=0,a[9]=0,a[10]=-2/(o-i),a[11]=-(o+i)/(o-i),a[12]=0,a[13]=0,a[14]=0,a[15]=1,s}static scale(e,t,r,n){const i=(n=n||new Sp).m;return i[0]=e,i[1]=0,i[2]=0,i[3]=0,i[4]=0,i[5]=t,i[6]=0,i[7]=0,i[8]=0,i[9]=0,i[10]=r,i[11]=0,i[12]=0,i[13]=0,i[14]=0,i[15]=1,n}static translate(e,t,r,n){const i=(n=n||new Sp).m;return i[0]=1,i[1]=0,i[2]=0,i[3]=e,i[4]=0,i[5]=1,i[6]=0,i[7]=t,i[8]=0,i[9]=0,i[10]=1,i[11]=r,i[12]=0,i[13]=0,i[14]=0,i[15]=1,n}static rotate(e,t,r,n,i){if(!e||!t&&!r&&!n)return Sp.identity(i);const o=(i=i||new Sp).m,s=Math.sqrt(t*t+r*r+n*n);e*=Math.PI/180,t/=s,r/=s,n/=s;const a=Math.cos(e),l=Math.sin(e),c=1-a;return o[0]=t*t*c+a,o[1]=t*r*c-n*l,o[2]=t*n*c+r*l,o[3]=0,o[4]=r*t*c+n*l,o[5]=r*r*c+a,o[6]=r*n*c-t*l,o[7]=0,o[8]=n*t*c-r*l,o[9]=n*r*c+t*l,o[10]=n*n*c+a,o[11]=0,o[12]=0,o[13]=0,o[14]=0,o[15]=1,i}static lookAt(e,t,r,n,i,o,s,a,l,c){const u=(c=c||new Sp).m,d=new xp(e,t,r),h=new xp(n,i,o),p=new xp(s,a,l),m=d.subtract(h).unit(),_=p.cross(m).unit(),g=m.cross(_).unit();return u[0]=_.x,u[1]=_.y,u[2]=_.z,u[3]=-_.dot(d),u[4]=g.x,u[5]=g.y,u[6]=g.z,u[7]=-g.dot(d),u[8]=m.x,u[9]=m.y,u[10]=m.z,u[11]=-m.dot(d),u[12]=0,u[13]=0,u[14]=0,u[15]=1,c}set(e,t,r,n,i,o,s,a,l,c,u,d,h,p,m,_){const g=this.m;return g[0]=e,g[4]=t,g[8]=r,g[12]=n,g[1]=i,g[5]=o,g[9]=s,g[13]=a,g[2]=l,g[6]=c,g[10]=u,g[14]=d,g[3]=h,g[7]=p,g[11]=m,g[15]=_,this}inverse(){return Sp.inverse(this,new Sp)}transpose(){return Sp.transpose(this,new Sp)}multiply(e){return Sp.multiply(this,e,new Sp)}transformPoint(e){const t=this.m;return new xp(t[0]*e.x+t[1]*e.y+t[2]*e.z+t[3],t[4]*e.x+t[5]*e.y+t[6]*e.z+t[7],t[8]*e.x+t[9]*e.y+t[10]*e.z+t[11]).divide(t[12]*e.x+t[13]*e.y+t[14]*e.z+t[15])}newThreeJS(){const e=this.m,t=new xn;return t.elements=e,t}transformVector(e){const t=this.m;return new xp(t[0]*e.x+t[1]*e.y+t[2]*e.z,t[4]*e.x+t[5]*e.y+t[6]*e.z,t[8]*e.x+t[9]*e.y+t[10]*e.z)}setPosition(e){return this.m[12]=e.x,this.m[13]=e.y,this.m[14]=e.z,this}makeTranslation(e,t,r){return this.set(1,0,0,e,0,1,0,t,0,0,1,r,0,0,0,1),this}makeRotationX(e){const t=Math.cos(e),r=Math.sin(e);return this.set(1,0,0,0,0,t,-r,0,0,r,t,0,0,0,0,1),this}makeRotationY(e){const t=Math.cos(e),r=Math.sin(e);return this.set(t,0,r,0,0,1,0,0,-r,0,t,0,0,0,0,1),this}makeRotationZ(e){const t=Math.cos(e),r=Math.sin(e);return this.set(t,-r,0,0,r,t,0,0,0,0,1,0,0,0,0,1),this}}class wp{constructor(e,t,r){if(this.PointOne=[],this.Normal=[],this.IsReady=!1,this.PickLevel=t,this.PickCode=e,Array.isArray(r[0]))this.Vertices=r;else{this.Vertices=[];for(let e=0;e<r.length;e+=3)this.Vertices.push([r[e+0],r[e+1],r[e+2]])}}GetIsPointInPolygon(e){return!!Cp.DHCheckPointInPointPolygon3D(e,this.Vertices)}FillAndCheckData(){this.Vertices.length>2&&(this.PointOne=this.Vertices[0],this.Normal=Cp.DHCalcNormal(this.Vertices[0],this.Vertices[1],this.Vertices[2]),this.IsReady=!0)}GetVertexCount(){return void 0===this.Vertices?0:this.Vertices.length}GetVertex(e){if(void 0===this.Vertices)return[0,0,0];const t=Cp.DHGetRightIndexToVector(e,this.Vertices.length);return this.Vertices[t]}}class Ap{constructor(){this.pa=[0,0,0],this.pb=[0,0,0],this.IsIntersection=!1,this.BitCode=0}}const Cp=new class{constructor(){this.MaxDouble=99999999,this.Rad2Deg=180/Math.PI,this.Deg2Rad=Math.PI/180,this.DHPickPoly=wp,this.m44=Sp,this.v3d=xp,this.RefVar=$p,this.hasFloat32Array="undefined"!=typeof Float32Array,this.Epsilon=1e-5,this.EpsilonLow=.01,this.EpsilonMed=1e-6,this.EpsilonHig=1e-11}GetVectorInX(e=!1){return new br(e?-1:1,0,0)}GetVectorInY(e=!1){return new br(0,e?-1:1,0)}GetVectorInZ(e=!1){return new br(0,0,e?-1:1)}DHBetrag(e,t){return e instanceof br&&(e=e.toArray()),t instanceof br&&(t=t.toArray()),Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1])+(t[2]-e[2])*(t[2]-e[2]))}DHBetrag2D(e,t){return(e instanceof br||e instanceof fr)&&(e=e.toArray()),(t instanceof br||t instanceof fr)&&(t=t.toArray()),Math.sqrt((t[0]-e[0])*(t[0]-e[0])+(t[1]-e[1])*(t[1]-e[1]))}DHMatMulPoint(e,t,r){let n;r[0]=e[0]*t[0]+e[4]*t[1]+e[8]*t[2]+e[12],r[1]=e[1]*t[0]+e[5]*t[1]+e[9]*t[2]+e[13],r[2]=e[2]*t[0]+e[6]*t[1]+e[10]*t[2]+e[14],n=e[3]*t[0]+e[7]*t[1]+e[11]*t[2]+e[15],0!=n&&(r[0]/=n,r[1]/=n,r[2]/=n)}SetCameraMatrix(e,t,r,n){const i=new xn;return i.elements[0]=Math.cos(t)*Math.sin(n)+Math.sin(t)*Math.sin(r)*Math.sin(n),i.elements[1]=Math.sin(r)*Math.sin(n),i.elements[2]=-Math.sin(t)*Math.cos(n)+Math.cos(t)*Math.sin(r)*Math.sin(n),i.elements[3]=-(e.x*i.elements[0]+e.y*i.elements[1]+e.z*i.elements[2]),i.elements[4]=-Math.cos(t)*Math.sin(n)+Math.sin(t)*Math.sin(r)*Math.cos(n),i.elements[5]=Math.cos(r)*Math.cos(n),i.elements[6]=Math.sin(t)*Math.sin(n)+Math.cos(t)*Math.sin(r)*Math.cos(n),i.elements[7]=-(e.x*i.elements[3]+e.y*i.elements[4]+e.z*i.elements[5]),i.elements[8]=Math.sin(t)*Math.cos(r),i.elements[9]=-Math.sin(r),i.elements[10]=Math.cos(t)*Math.cos(r),i.elements[11]=-(e.x*i.elements[6]+e.y*i.elements[7]+e.z*i.elements[8]),i.elements[12]=0,i.elements[13]=0,i.elements[14]=0,i.elements[15]=1,i}toQuaternion(e){const t=new vr,r=Math.cos(.5*e.yaw),n=Math.sin(.5*e.yaw),i=Math.cos(.5*e.roll),o=Math.sin(.5*e.roll),s=Math.cos(.5*e.pitch),a=Math.sin(.5*e.pitch);return t.x=i*s*r+o*a*n,t.y=o*s*r-i*a*n,t.z=i*a*r+o*s*n,t.w=i*s*n-o*a*r,t}toEulerAngle(e){const t=new Rn,r=e.z*e.z,n=-2*(r+e.w*e.w)+1,i=2*(e.y*e.z+e.x*e.w);let o=-2*(e.y*e.w-e.x*e.z);const s=2*(e.z*e.w+e.x*e.y),a=-2*(e.y*e.y+r)+1;return o=o>1?1:o,o=o<-1?-1:o,t.x=Math.asin(o),t.y=Math.atan2(s,a),t.z=Math.atan2(i,n),t}DH2Vector3(e){return e instanceof br?e:e.toVector()}DH2V3D(e){return new xp(e[0],e[1],e[2])}Vector32V3D(e){return new xp(e.x,e.y,e.z)}Vector32DH(e){return Array.isArray(e)?e:e.toArray()}DistancePointPlane(e,t,r,n,i){let o,s,a,l,c;return i||(o=this.DHVecSub(r,t),s=this.DHVecSub(n,t),a=this.DHVecCross3D(o,s),a=this.DHNormalizeVector(a),l=this.DHDotProduct(t,a)),c=this.DHDotProduct(a,e),c-l}tanh(e){return e===1/0?1:e===-1/0?-1:(Math.exp(e)-Math.exp(-e))/(Math.exp(e)+Math.exp(-e))}easeInOutCirc(e,t,r){return-r/2*(Math.sqrt(1-e*e)-1)+t}easeInOutCubic(e,t,r,n){return(e/=n/2)<1?r/2*e*e*e+t:r/2*((e-=2)*e*e+2)+t}AniCalcValueSmooth(e,t,r,n){if(r>=1)return t;if(r<=0)return e;let i=e;if(4===n)return i=1-Math.sqrt(1-r*r),i;if(5===n)return i=-2*r*r*r+3*r*r,i;if(6===n){if(r>=0&&r<=.3)return i=.16666*r,i=this.AniCalcValueLinear(e,t,i),i;if(r>=.3&&r<=.43)return i=1.55008*r-.42,i=this.AniCalcValueLinear(e,t,i),i;if(r>=.43&&r<=.58)return i=3.3333*r-1.17,i=this.AniCalcValueLinear(e,t,i),i;if(r>=.58&&r<=.7)return i=1.55008*r-.14,i=this.AniCalcValueLinear(e,t,i),i;if(r>=.7&&r<=1)return i=.85+.1458*r,i=this.AniCalcValueLinear(e,t,i),i}return 7===n?(i=this.AniCalcValueLinear(e,t,r),i):8===n?(i=Math.sqrt(1-(r-1)*(r-1)),i):e+(t-e)*i}AniCalcValueLinear(e,t,r){return r>=1?t:r<=0?e:e+(t-e)*r}DHPolar2(e,t,r,n){const i=[];return i.push(r+t*Math.cos(e)),i.push(n+t*Math.sin(e)),i}DHPolar3(e,t,r){r instanceof br&&(r=this.Vector32DH(r));const n=[];return n.push(r[0]+t*Math.cos(e)),n.push(r[1]+t*Math.sin(e)),n.push(r[2]),n}DHwbogm(e){return e*Math.PI/180}DHWinkelZwischenVectoren(e,t){try{const r=Math.abs((e[0]*t[0]+e[1]*t[1]+e[2]*t[2])/Math.sqrt((e[0]*e[0]+e[1]*e[1]+e[2]*e[2])*(t[0]*t[0]+t[1]*t[1]+t[2]*t[2])));return Math.acos(r)}catch(e){return 0}}DHAngle(e,t,r,n){const i=r-e,o=n-t;if(0===i&&0===o)return 0;let s=Math.atan2(o,i);return s>0&&n<t&&(s+=Math.PI),s<0&&n>=t&&(s+=this.DHwbogm(180)),s<=0&&n<t&&(s+=this.DHwbogm(360)),t===n&&e<r&&(s=0),t===n&&e>r&&(s=this.DHwbogm(180)),360===s&&(s=0),s}EqualWithMode(e,t,r){switch(r){case 1:return this.DHEqual(e,t,this.Epsilon);case 2:return this.DHEqual(e,t,this.EpsilonLow);case 3:return this.DHEqual(e,t,this.EpsilonMed);case 4:return this.DHEqual(e,t,this.EpsilonHig)}return e===t}DHAngle3D(e,t,r,n){let i,o;i=this.DHGetVector(e,t),o=this.DHGetVector(e,r);const s=this.DHWinkelZwischenVectoren(i,o);if(this.EqualWithMode(s,0,3))return this.DHPointEqual3D(i,o)?0:Math.PI;let a,l,c,u;a=this.DHVecCross3D(n,i),c=this.DHGoVector(e,1,a),l=this.DHGoVector(e,1,i),u=this.distancePointPlaneXYZ(r,e,l,c,!1);const d=[0,0,0],h=u[0]-d[0],p=u[1]-d[1];return Math.atan2(p,h)}ArcLength(e,t){return e*t}calcRotationMove2DForAnimation(e,t,r,n,i,o,s,a,l,c,u){let d;const h=[r-e,n-t];d=Math.sqrt(h[0]*h[0]+h[1]*h[1]);const p=[this.AniCalcValueLinear(r,i,a),this.AniCalcValueLinear(n,o,a)];let m=this.DHAngle(r,n,e,t);m+=s*a*this.Deg2Rad,l.Set(m*this.Rad2Deg+180),l.Get()>=360&&l.Set(l.Get()-360);const _=this.DHAngle(e,t,r,n)*this.Rad2Deg;l.Set(l.Get()-_);const g=this.DHPolar2(m,d,p[0],p[1]);c.Set(g[0]),u.Set(g[1])}DHRotate2D(e,t){if(0===t)return e;const r=Math.cos(this.Deg2Rad*t),n=Math.sin(this.Deg2Rad*t);return[e[0]*r-e[1]*n,e[0]*n+e[1]*r,e[2]]}rotateAboutPoint(e,t,r,n,i){const o=[e,t,0],s=this.DHRotate2D(o,r);n.Set(s[0]),i.Set(s[1])}addAniRotTransMatrix(e,t,r,n,i,o){const s=new Sp;s.makeRotationX(e);const a=new Sp;a.makeRotationY(t);const l=new Sp;l.makeRotationZ(r);const c=new Sp;c.makeTranslation(n,i,o);return s.multiply(a).multiply(l).multiply(c)}DHNormalizeVector(e){let t=Math.sqrt(e[0]*e[0]+e[1]*e[1]+e[2]*e[2]);return 0!=t&&(t=1/t,e[0]*=t,e[1]*=t,e[2]*=t),e}DHNormalizeVector2D(e){let t=Math.sqrt(e[0]*e[0]+e[1]*e[1]);return 0!=t&&(t=1/t,e[0]*=t,e[1]*=t),e}DHCalcNormal(e,t,r){e=this.Vector32DH(e),t=this.Vector32DH(t),r=this.Vector32DH(r);let n=[0,0,1];return n[0]=(e[1]-t[1])*(e[2]-r[2])-(e[2]-t[2])*(e[1]-r[1]),n[1]=(e[2]-t[2])*(e[0]-r[0])-(e[0]-t[0])*(e[2]-r[2]),n[2]=(e[0]-t[0])*(e[1]-r[1])-(e[1]-t[1])*(e[0]-r[0]),n=this.DHNormalizeVector(n),n}P2S(e){return e[0]+","+e[1]+","+e[2]}IntersectionLinePlane(e,t,r,n,i){const o=[];let s;const a=[];let l,c,u;return s=this.DHCalcNormal(r,n,i),a[0]=t[0]-e[0],a[1]=t[1]-e[1],a[2]=t[2]-e[2],l=(r[0]-e[0])*s[0]+(r[1]-e[1])*s[1]+(r[2]-e[2])*s[2],c=a[0]*s[0]+a[1]*s[1]+a[2]*s[2],0==c?[0,0,0]:(u=l/c,o[0]=e[0]+u*a[0],o[1]=e[1]+u*a[1],o[2]=e[2]+u*a[2],o)}DH2DLineIntersect(e,t,r,n){let i,o,s,a,l,c,u,d,h,p,m,_;if(l=t.x-e.x,c=t.y-e.y,u=n.x-r.x,d=n.y-r.y,m=l*d-u*c,0==m)return null;const g=m>0;return s=e.x-r.x,a=e.y-r.y,h=l*a-c*s,h<0==g?null:(p=u*a-d*s,p<0==g||h>m==g||p>m==g?null:(_=p/m,i=e.x+_*l,o=e.y+_*c,{x:i,y:o}))}checkLineIntersection(e,t,r,n,i,o,s,a){let l,c,u,d,h,p={x:null,y:null,onLine1:!1,onLine2:!1};return l=(a-o)*(r-e)-(s-i)*(n-t),0==l||(c=t-o,u=e-i,d=(s-i)*c-(a-o)*u,h=(r-e)*c-(n-t)*u,c=d/l,u=h/l,p.x=e+c*(r-e),p.y=t+c*(n-t),c>0&&c<1&&(p.onLine1=!0),u>0&&u<1&&(p.onLine2=!0)),p}DHLineLineIntersect(e,t,r,n,i){e=this.Vector32DH(e),t=this.Vector32DH(t),r=this.Vector32DH(r),n=this.Vector32DH(n);const o=1e-5;let s,a;const l=[0,0,0],c=[0,0,0],u=[0,0,0];let d,h,p,m,_,g,f;if(i.pa=[0,0,0],i.pb=[0,0,0],l[0]=e[0]-r[0],l[1]=e[1]-r[1],l[2]=e[2]-r[2],c[0]=n[0]-r[0],c[1]=n[1]-r[1],c[2]=n[2]-r[2],Math.abs(c[0])<o&&Math.abs(c[1])<o&&Math.abs(c[2])<o)return i.IsIntersection=!1,!1;if(u[0]=t[0]-e[0],u[1]=t[1]-e[1],u[2]=t[2]-e[2],Math.abs(u[0])<o&&Math.abs(u[1])<o&&Math.abs(u[2])<o)return i.IsIntersection=!1,!1;if(d=l[0]*c[0]+l[1]*c[1]+l[2]*c[2],h=c[0]*u[0]+c[1]*u[1]+c[2]*u[2],p=l[0]*u[0]+l[1]*u[1]+l[2]*u[2],m=c[0]*c[0]+c[1]*c[1]+c[2]*c[2],_=u[0]*u[0]+u[1]*u[1]+u[2]*u[2],f=_*m-h*h,Math.abs(f)<o)return i.IsIntersection=!1,!1;g=d*h-p*m,s=g/f,a=(d+h*s)/m,i.pa[0]=e[0]+s*u[0],i.pa[1]=e[1]+s*u[1],i.pa[2]=e[2]+s*u[2],i.pb[0]=r[0]+a*c[0],i.pb[1]=r[1]+a*c[1],i.pb[2]=r[2]+a*c[2];let v=16;return s>=0&&s<=1&&(v+=1),a>=0&&a<=1&&(v+=2),s>o&&s<.99999&&(v+=4),a>o&&a<.99999&&(v+=8),i.IsIntersection=!0,i.BitCode=v,!0}DHPTeiler(e,t,r){const n=[0,0,0];return n[0]=e[0]+(t[0]-e[0])*r,n[1]=e[1]+(t[1]-e[1])*r,n[2]=e[2]+(t[2]-e[2])*r,n}DHDotProduct(e,t,r){return r&&(this.DHNormalizeVector(e),this.DHNormalizeVector(t)),e[0]*t[0]+e[1]*t[1]+e[2]*t[2]}DHAbsolute(e){return e<0?0-e:e}DHPointEqual3D(e,t,r){return!!(this.DHEqual(e[0],t[0],r)&&this.DHEqual(e[1],t[1],r)&&this.DHEqual(e[2],t[2],r))}DHEqual(e,t,r){return this.DHAbsolute(e-t)<=r}DHEqualVec(e,t,r=0){Array.isArray(e)&&(e=e.toVector()),Array.isArray(t)&&(t=t.toVector());let n=e.clone().sub(t.clone());n=n.toArray();for(let e=0;e<n.length;e++)if(!(Math.abs(n[e])<=r))return!1;return!0}DHGetVector(e,t){e instanceof br&&(e=e.toArray()),t instanceof br&&(t=t.toArray());let r=[t[0]-e[0],t[1]-e[1],t[2]-e[2]];return r=this.DHNormalizeVector(r),r}DHGetVector2D(e,t){e instanceof fr&&(e=e.toArray()),t instanceof fr&&(t=t.toArray());let r=[t[0]-e[0],t[1]-e[1]];return r=this.DHNormalizeVector2D(r),r.toVector()}DHGoVector(e,t,r,n){(e instanceof br||e instanceof fr)&&(e=e.toArray()),(r instanceof br||r instanceof fr)&&(r=r.toArray());let i=[];return i=2===r.length||2===e.length?[0,0]:[0,0,0],void 0!==n&&n?(i[0]=e[0]+t*r[0]*-1,i[1]=e[1]+t*r[1]*-1,3===i.length&&(i[2]=e[2]+t*r[2]*-1)):(i[0]=e[0]+t*r[0],i[1]=e[1]+t*r[1],3===i.length&&(i[2]=e[2]+t*r[2])),i}DHVecSub(e,t){return e instanceof br&&(e=e.toArray()),t instanceof br&&(t=t.toArray()),[e[0]-t[0],e[1]-t[1],e[2]-t[2]]}DHVecCross3D(e,t){e instanceof br&&(e=e.toArray()),t instanceof br&&(t=t.toArray());const r=[];return r[0]=e[1]*t[2]-e[2]*t[1],r[1]=e[2]*t[0]-e[0]*t[2],r[2]=e[0]*t[1]-e[1]*t[0],r}DHVecCross2D(e){(e instanceof br||e instanceof fr)&&(e=e.toArray());const t=[];return t[0]=-e[1],t[1]=e[0],t.toVector()}PMitte(e,t){const r=[];return e instanceof br&&(e=e.toArray()),t instanceof br&&(t=t.toArray()),r[0]=(e[0]+t[0])/2,r[1]=(e[1]+t[1])/2,r[2]=(e[2]+t[2])/2,r}DHCalcNumEdges(e){return e<=100?16:e<=300?24:e<=500?32:e<=1e3?48:e<=2e3?72:50}CalcCenterCircle3Points(e,t,r,n){let i,o,s,a,l,c,u,d,h;i=this.DHCalcNormal(e,t,r),o=this.DHGetVector(e,t),s=this.DHGetVector(t,r),a=this.DHVecCross3D(o,i),l=this.DHVecCross3D(s,i),c=this.PMitte(e,t),u=this.DHGoVector(c,1,a),d=this.PMitte(t,r),h=this.DHGoVector(d,1,l);const p={};this.DHLineLineIntersect(c,u,d,h,p);return n[0]=p.pa[0],n[1]=p.pa[1],n[2]=p.pa[2],this.DHBetrag(n,e)}PCopy(e){let t;if(Array.isArray(e))t=[].concat(e);else if("object"==typeof e){t={};for(const r in e)e.hasOwnProperty(r)&&(Array.isArray(e[r])?t[r]=[].concat(e[r]):"object"==typeof e[r]?t[r]=this.PCopy(e[r]):t[r]=e[r])}else t=e;return t}DHCreateArcPoint3D(e,t,r,n){e instanceof br&&(e=e.toArray()),t instanceof br&&(t=t.toArray()),r instanceof br&&(r=r.toArray());const i=[],o=this.DHVecSub(e,t);let s=this.DHVecSub(e,r);const a=this.DHBetrag(e,r);new this.v3d;let l=this.DHVecCross3D(o,s);const c=a*Math.cos(n),u=c*Math.tan(n);s=this.DHNormalizeVector(s),l=this.DHNormalizeVector(l);const d=[0,0,0],h=[0,0,0];return d[0]=e[0]-c*s[0],d[1]=e[1]-c*s[1],d[2]=e[2]-c*s[2],h[0]=d[0]-u*l[0],h[1]=d[1]-u*l[1],h[2]=d[2]-u*l[2],s[0]=h[0]-e[0],s[1]=h[1]-e[1],s[2]=h[2]-e[2],s=this.DHNormalizeVector(s),i[0]=e[0]+a*s[0],i[1]=e[1]+a*s[1],i[2]=e[2]+a*s[2],i}DeltaAngle(e,t){let r=e-t;return r+=r>180?-360:r<-180?360:0,r}DHGetRightIndexToVector(e,t){return(t+e%t)%t}DHCheckPointInPointPolygon3D(e,t){if(t.length<3)return!1;let r=[];r=this.DHPTeiler(t[0],t[1],.63281482765423);let n=[r[0]-e[0],r[1]-e[1],r[2]-e[2]],i=[t[1][0]-t[0][0],t[1][1]-t[0][1],t[1][2]-t[0][2]];n=this.DHNormalizeVector(n),i=this.DHNormalizeVector(i);const o=this.DHDotProduct(i,n),s=1e-6;(this.DHEqual(o,1,s)||this.DHEqual(o,-1,s))&&(r=this.DHPTeiler(t[1],t[2],.62281482765423),n=[r[0]-e[0],r[1]-e[1],r[2]-e[2]]);const a=this.DHGoVector(e,999999999.999,n,!1);let l=0;let c=[0,0,0],u=[0,0,0];for(let r=0;r<t.length;r++){c=t[this.DHGetRightIndexToVector(r-1,t.length)],u=t[r];const n=new Ap;this.DHLineLineIntersect(c,u,e,a,n)&&1&n.BitCode&&2&n.BitCode&&l++}return l%2}DHPerpendicularVector(e){if(e instanceof br&&(e=e.toArray()),e[0]===e[1]===e[2]===0)throw new Error("zero-vector");return 0===e[0]?[1,0,0]:0===e[1]?[0,1,0]:0===e[2]?[0,0,1]:[1,1,-1*(e[0]+e[1])/e[2]]}distancePointPlaneXYZ(e,t,r,n,i){let o,s,a,l,c,u;return e=e instanceof Array?this.DH2V3D(e):e instanceof br?this.Vector32V3D(e):e,t=t instanceof Array?this.DH2V3D(t):t instanceof br?this.Vector32V3D(t):t,r=r instanceof Array?this.DH2V3D(r):r instanceof br?this.Vector32V3D(r):r,n=n instanceof Array?this.DH2V3D(n):n instanceof br?this.Vector32V3D(n):n,function(){void 0===o&&(o=new xp),void 0===s&&(s=new xp),void 0===a&&(a=new xp),void 0===l&&(l=new xp),void 0===c&&(c=new xp),void 0===u&&(u=new xp);"undefined"!==i&&i||(o=r.subtract(t),s=n.subtract(t),o=o.normalize(),s=s.normalize(),a=o.cross(s),s=a.cross(o),l=t.dot(o),c=t.dot(s),u=t.dot(a));const d=o.dot(e),h=s.dot(e),p=a.dot(e);return[d-l,h-c,p-u]}()}Intersection_LineCircle(e,t,r,n,i){e instanceof br&&(e=e.toArray()),t instanceof br&&(t=t.toArray()),r instanceof br&&(r=r.toArray());const o=[0,0,0];if(this.DHDistancePointLine(r,e,t,o)>n-1e-8)return 0;const s=this.DHBetrag(r,o),a=.5*this.Circle_RechneSehnenLaengeMitHoeheUndRadius(n,s),l=this.DHGetVector(e,t);i.p1=this.DHGoVector(o,a,l,!1),i.p2=this.DHGoVector(o,a,l,!0);let c=4;return this.DHIsPointOnSegment3D(i.p1,e,t)&&(c+=1),this.DHIsPointOnSegment3D(i.p2,e,t)&&(c+=2),c}DHCircleAngle(e){return e>-180&&e<0&&(e=360+e),e}DHIsPointOnSegment3D(e,t,r,n){let i,o;return e instanceof br&&(e=e.toArray()),t instanceof br&&(t=t.toArray()),r instanceof br&&(r=r.toArray()),i=1/0,o=-1/0,0==n?(t[0]<=i&&(i=t[0]),t[0]>=o&&(o=t[0]),r[0]<=i&&(i=r[0]),r[0]>=o&&(o=r[0]),!(e[0]<i||e[0]>o)&&(i=1/0,o=-1/0,t[1]<=i&&(i=t[1]),t[1]>=o&&(o=t[1]),r[1]<=i&&(i=r[1]),r[1]>=o&&(o=r[1]),!(e[1]<i||e[1]>o)&&(i=1/0,o=-1/0,t[2]<=i&&(i=t[2]),t[2]>=o&&(o=t[2]),r[2]<=i&&(i=r[2]),r[2]>=o&&(o=r[2]),!(e[2]<i||e[2]>o)))):(t[0]<=i&&(i=t[0]),t[0]>=o&&(o=t[0]),r[0]<=i&&(i=r[0]),r[0]>=o&&(o=r[0]),!(e[0]+n<i||e[0]-n>o)&&(i=1/0,o=-1/0,t[1]<=i&&(i=t[1]),t[1]>=o&&(o=t[1]),r[1]<=i&&(i=r[1]),r[1]>=o&&(o=r[1]),!(e[1]+n<i||e[1]-n>o)&&(i=1/0,o=-1/0,t[2]<=i&&(i=t[2]),t[2]>=o&&(o=t[2]),r[2]<=i&&(i=r[2]),r[2]>=o&&(o=r[2]),!(e[2]+n<i||e[2]-n>o))))}Circle_RechneSehnenLaengeMitHoeheUndRadius(e,t){return 2*Math.sqrt(e*e-t*t)}DHDistancePointLine(e,t,r,n){let i,o;e instanceof br&&(e=e.toArray()),t instanceof br&&(t=t.toArray()),r instanceof br&&(r=r.toArray());let s=0;return t[0]==r[0]&&t[1]==r[1]&&t[2]==r[2]?(o=0,n[0]=t[0],n[1]=t[1],n[2]=t[2]):(i=(t[0]-r[0])*(t[0]-r[0])+(t[1]-r[1])*(t[1]-r[1])+(t[2]-r[2])*(t[2]-r[2]),o=(+(t[0]-e[0])*(t[0]-r[0])+(t[1]-e[1])*(t[1]-r[1])+(t[2]-e[2])*(t[2]-r[2]))/i,n[0]=t[0]+o*(r[0]-t[0]),n[1]=t[1]+o*(r[1]-t[1]),n[2]=t[2]+o*(r[2]-t[2]),s=Math.sqrt((n[0]-e[0])*(n[0]-e[0])+(n[1]-e[1])*(n[1]-e[1])+(n[2]-e[2])*(n[2]-e[2]))),s}};var Ep,Ip,Mp,kp,Tp,Rp,Lp,Pp,Dp,Np,Fp,Op,Bp,Up,Vp,zp,Hp,Gp,jp,Jp;window.DH_Math=Cp,function(e){e[e.ASSISTANT=1]="ASSISTANT",e[e.PLANNING=0]="PLANNING",e[e.AR=2]="AR"}(Ep||(Ep={})),function(e){e[e.Normal=0]="Normal",e[e.Customer=1]="Customer",e[e.Configured=2]="Configured",e[e.Local=3]="Local"}(Ip||(Ip={})),function(e){e[e.MOBILE=0]="MOBILE",e[e.DESKTOP=1]="DESKTOP"}(Mp||(Mp={})),function(e){e[e.None=-1]="None",e[e.Down=0]="Down",e[e.Up=1]="Up",e[e.Move=2]="Move",e[e.Clicked=3]="Clicked",e[e.RClicked=4]="RClicked"}(kp||(kp={})),function(e){e[e.None=-1]="None",e[e.Down=0]="Down",e[e.Up=1]="Up",e[e.Move=2]="Move",e[e.Tapped=3]="Tapped"}(Tp||(Tp={})),function(e){e[e.None=-1]="None",e[e.Down=0]="Down",e[e.Up=1]="Up"}(Rp||(Rp={})),function(e){e[e.NORMAL=0]="NORMAL",e[e.BOUNDINGBOX=1]="BOUNDINGBOX",e[e.DIMENSION=2]="DIMENSION",e[e.WIDGET=3]="WIDGET"}(Lp||(Lp={})),function(e){e[e.DEFAULT=0]="DEFAULT",e[e.FITTING=1]="FITTING",e[e.PROPTRANSFER=2]="PROPTRANSFER",e[e.PLACER=3]="PLACER",e[e.ELEMENT_MOVE=4]="ELEMENT_MOVE",e[e.ELEMENT_ROTATE=5]="ELEMENT_ROTATE",e[e.DELETE_FITTING=6]="DELETE_FITTING",e[e.REPLACE_FITTING=7]="REPLACE_FITTING",e[e.PROGPROPERTY=8]="PROGPROPERTY",e[e.WALL_DELETE=9]="WALL_DELETE",e[e.WALL_INDIVIDUAL=10]="WALL_INDIVIDUAL",e[e.DELETABLE=11]="DELETABLE",e[e.LVC=12]="LVC"}(Pp||(Pp={})),function(e){e[e.NONE=-1]="NONE",e[e.FLOOR=0]="FLOOR",e[e.PO=1]="PO",e[e.ROTATION_WIDGET=2]="ROTATION_WIDGET",e[e.BOUNDING_BOX=3]="BOUNDING_BOX",e[e.V_PLACER=4]="V_PLACER",e[e.PO_FRONT=5]="PO_FRONT",e[e.HOVER_BOX=6]="HOVER_BOX"}(Dp||(Dp={})),function(e){e.AFTREE="afTree",e.FLOORPANEL="floorPanel",e.WALLPANEL="wallPanel",e.SCENETREE="sceneTree",e.SETTINGSPANEL="settings-panel",e.INTERIORDESIGNPANEL="interior-design-panel",e.HYBRIDREALITY="hybridReality"}(Np||(Np={})),function(e){e[e.X=1]="X",e[e.Y=2]="Y",e[e.Z=4]="Z",e[e.XYZ=8]="XYZ"}(Fp||(Fp={})),function(e){e.LEFT="L",e.RIGHT="R",e.TOP="T",e.BOTTOM="B",e.FREE="Free"}(Op||(Op={})),function(e){e[e.STANDARD=0]="STANDARD",e[e.ACCESSOIRE=1]="ACCESSOIRE",e[e.FITTING=2]="FITTING",e[e.SHOPPINGCART=4]="SHOPPINGCART"}(Bp||(Bp={})),function(e){e[e.BLACKLIST=0]="BLACKLIST",e[e.WHITELIST=1]="WHITELIST"}(Up||(Up={})),function(e){e.HoverBoxClass="HoverBoxClass",e.TwoDWallCornerClass="TwoDWallCornerClass",e.TwoDWallClass="TwoDWallClass",e.BoundingBoxClass="BoundingBoxClass",e.VPlacerBoxClass="VPlacerBoxClass",e.ARPlaneClass="ARPlaneClass",e.DHLOBase_FITTING_ELEMENT="DHLOBase_FITTING_ELEMENT",e.DHLOBase="DHLOBase",e.DimLinearLineClass="DimLinearLineClass",e.DHFloorClass="DHFloorClass"}(Vp||(Vp={})),function(e){e[e.DimLinearLineClass=99]="DimLinearLineClass",e[e.BoundingBoxClass=100]="BoundingBoxClass",e[e.VPlacerBoxClass=110]="VPlacerBoxClass",e[e.ARPlaneClass=111]="ARPlaneClass",e[e.TwoDWallCornerClass=1e3]="TwoDWallCornerClass",e[e.TwoDWallClass=1001]="TwoDWallClass",e[e.HoverBoxClass=1002]="HoverBoxClass",e[e.DHLOBase_FITTING_ELEMENT=1002]="DHLOBase_FITTING_ELEMENT",e[e.DHLOBase=1004]="DHLOBase",e[e.DHFloorClass=9999]="DHFloorClass"}(zp||(zp={})),function(e){e.NONE="",e.PROPERTIES_NOTFOUND="fv.info.message.PROPERTIES_NOTFOUND",e.PROP_TRANSFER_FITTING_NOTFOUND="fv.info.message.PROP_TRANSFER_FITTING_NOTFOUND",e.PLEASE_SELECT_ELEMENT="fv.info.message.PLEASE_SELECT_ELEMENT"}(Hp||(Hp={})),function(e){e.NONE="",e.PROPERTIES="fv.info.message.PROPERTIES",e.PROP_TRANSFER_FITTING="fv.info.message.PROP_TRANSFER_FITTING"}(Gp||(Gp={})),function(e){e[e.BASE=0]="BASE",e[e.FUSION=1]="FUSION"}(jp||(jp={})),function(e){e[e.BACKSPACE=8]="BACKSPACE",e[e.TAB=9]="TAB",e[e.ENTER=13]="ENTER",e[e.SHIFT=16]="SHIFT",e[e.CTRL=17]="CTRL",e[e.ALT=18]="ALT",e[e.PAUSE=19]="PAUSE",e[e.CAPS_LOCK=20]="CAPS_LOCK",e[e.ESCAPE=27]="ESCAPE",e[e.SPACE=32]="SPACE",e[e.PAGE_UP=33]="PAGE_UP",e[e.PAGE_DOWN=34]="PAGE_DOWN",e[e.END=35]="END",e[e.HOME=36]="HOME",e[e.LEFT_ARROW=37]="LEFT_ARROW",e[e.UP_ARROW=38]="UP_ARROW",e[e.RIGHT_ARROW=39]="RIGHT_ARROW",e[e.DOWN_ARROW=40]="DOWN_ARROW",e[e.INSERT=45]="INSERT",e[e.DELETE=46]="DELETE",e[e.KEY_0=48]="KEY_0",e[e.KEY_1=49]="KEY_1",e[e.KEY_2=50]="KEY_2",e[e.KEY_3=51]="KEY_3",e[e.KEY_4=52]="KEY_4",e[e.KEY_5=53]="KEY_5",e[e.KEY_6=54]="KEY_6",e[e.KEY_7=55]="KEY_7",e[e.KEY_8=56]="KEY_8",e[e.KEY_9=57]="KEY_9",e[e.KEY_A=65]="KEY_A",e[e.KEY_B=66]="KEY_B",e[e.KEY_C=67]="KEY_C",e[e.KEY_D=68]="KEY_D",e[e.KEY_E=69]="KEY_E",e[e.KEY_F=70]="KEY_F",e[e.KEY_G=71]="KEY_G",e[e.KEY_H=72]="KEY_H",e[e.KEY_I=73]="KEY_I",e[e.KEY_J=74]="KEY_J",e[e.KEY_K=75]="KEY_K",e[e.KEY_L=76]="KEY_L",e[e.KEY_M=77]="KEY_M",e[e.KEY_N=78]="KEY_N",e[e.KEY_O=79]="KEY_O",e[e.KEY_P=80]="KEY_P",e[e.KEY_Q=81]="KEY_Q",e[e.KEY_R=82]="KEY_R",e[e.KEY_S=83]="KEY_S",e[e.KEY_T=84]="KEY_T",e[e.KEY_U=85]="KEY_U",e[e.KEY_V=86]="KEY_V",e[e.KEY_W=87]="KEY_W",e[e.KEY_X=88]="KEY_X",e[e.KEY_Y=89]="KEY_Y",e[e.KEY_Z=90]="KEY_Z",e[e.LEFT_META=91]="LEFT_META",e[e.RIGHT_META=92]="RIGHT_META",e[e.SELECT=93]="SELECT",e[e.NUMPAD_0=96]="NUMPAD_0",e[e.NUMPAD_1=97]="NUMPAD_1",e[e.NUMPAD_2=98]="NUMPAD_2",e[e.NUMPAD_3=99]="NUMPAD_3",e[e.NUMPAD_4=100]="NUMPAD_4",e[e.NUMPAD_5=101]="NUMPAD_5",e[e.NUMPAD_6=102]="NUMPAD_6",e[e.NUMPAD_7=103]="NUMPAD_7",e[e.NUMPAD_8=104]="NUMPAD_8",e[e.NUMPAD_9=105]="NUMPAD_9",e[e.MULTIPLY=106]="MULTIPLY",e[e.ADD=107]="ADD",e[e.SUBTRACT=109]="SUBTRACT",e[e.DECIMAL=110]="DECIMAL",e[e.DIVIDE=111]="DIVIDE",e[e.F1=112]="F1",e[e.F2=113]="F2",e[e.F3=114]="F3",e[e.F4=115]="F4",e[e.F5=116]="F5",e[e.F6=117]="F6",e[e.F7=118]="F7",e[e.F8=119]="F8",e[e.F9=120]="F9",e[e.F10=121]="F10",e[e.F11=122]="F11",e[e.F12=123]="F12",e[e.NUM_LOCK=144]="NUM_LOCK",e[e.SCROLL_LOCK=145]="SCROLL_LOCK",e[e.SEMICOLON=186]="SEMICOLON",e[e.EQUALS=187]="EQUALS",e[e.COMMA=188]="COMMA",e[e.DASH=189]="DASH",e[e.PERIOD=190]="PERIOD",e[e.FORWARD_SLASH=191]="FORWARD_SLASH",e[e.GRAVE_ACCENT=192]="GRAVE_ACCENT",e[e.OPEN_BRACKET=219]="OPEN_BRACKET",e[e.BACK_SLASH=220]="BACK_SLASH",e[e.CLOSE_BRACKET=221]="CLOSE_BRACKET",e[e.SINGLE_QUOTE=222]="SINGLE_QUOTE"}(Jp||(Jp={}));const Wp=new class{constructor(){this.mobileInfo=new MobileDetect(window.navigator.userAgent),this.modelInfo={device:"",version:{major:0,minor:0,patch:0},os:this.getInfo().os(),arSupported:!1}}getType(){return/Android|webOS|iPhone|iPad|iPod|BlackBerry|IEMobile|Opera Mini/i.test(navigator.userAgent)||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1?Mp.MOBILE:Mp.DESKTOP}getInfo(){return this.mobileInfo}IOSMajorVersion(){return this.IOSVersion()[0]}IOSMinorVersion(){return this.IOSVersion()[1]}IOSPatchVersion(){return this.IOSVersion()[2]}getModelInfo(){return this.modelInfo}getViewPortDimension(){let e,t;return void 0!==window.innerWidth?(e=window.innerWidth,t=window.innerHeight):void 0!==document.documentElement&&void 0!==document.documentElement.clientWidth&&0!==document.documentElement.clientWidth?(e=document.documentElement.clientWidth,t=document.documentElement.clientHeight):(e=document.getElementsByTagName("body")[0].clientWidth,t=document.getElementsByTagName("body")[0].clientHeight),[e,t]}isIOS(){return!!/iPhone|iPad|iPod/i.test(navigator.userAgent)||("MacIntel"===navigator.platform&&navigator.maxTouchPoints>1||!!/^iP/i.test(navigator.platform))}isMobile(){return this.getType()===Mp.MOBILE}IOSVersion(){if(/iP(hone|od|ad)/i.test(navigator.userAgent)){const e=navigator.appVersion.match(/OS (\d+)_(\d+)_?(\d+)?/);return e?[parseInt(e[1],10),parseInt(e[2],10),parseInt(e[3]||"0",10)]:[0,0,0]}return[0,0,0]}getARSupport(){if("iOS"===this.modelInfo.os)if(11===this.modelInfo.version.major){if(this.modelInfo.version.minor>=3)return!0}else if(this.modelInfo.version.major>=12)return!0;return!1}};const Qp=new class{constructor(){this._functionMap=new Map}register(e,t){e&&t&&!this._functionMap.has(e)&&this._functionMap.set(e,t)}unregister(e){e&&this._functionMap.has(e)&&this._functionMap.delete(e)}send(e,t){return Array.isArray(t)||(t=[t]),this._functionMap.has(e)?(Array.isArray(t)||(t=[t]),this._functionMap.get(e).apply(this,t)):ape[e]?ape[e].apply(ape,t):(console.log("Command not found"),Promise.resolve())}postMessage(e,t,r,n){const i=zme.generateUUID();n&&Furnview.on(t+"_"+i,n,!1),e&&e.postMessage({C:t,P:r,fpcUUID:n?i:""},"*")}};var qp,Yp=(qp=Yp||{},qp={getItem:function(e,t){try{const r=JSON.parse(sessionStorage.getItem(e));return!(!r||!r[t])&&r[t]}catch(e){return!1}},setItem:function(e,t,r){try{let n=JSON.parse(sessionStorage.getItem(e));n||(n={}),n[t]=r,sessionStorage.setItem(e,JSON.stringify(n))}catch(e){return null}}},Qp.register("setSessionStorage",e=>(Object.keys(e).forEach(function(t){qp.setItem(g_sessionId,t,e[t])}),Promise.resolve())),qp);const Xp=Yp,Kp={find:function(e,t,r){const n=e+"_"+t+"_"+r;return new Promise(function(e,t){$.get("/article/"+n).done(function(t){e(t)}).fail(function(){t(new Error("Unable to load article with id "+n))})})}},Zp=Kp;class em{constructor(){this.cache={}}static create(e){return em.cacheManager[e]||(em.cacheManager[e]=new em),em.cacheManager[e]}add(e,t){this.cache[e]=t}get(e){return this.cache[e]}remove(e){delete this.cache[e]}clear(){const e=Object.keys(this.cache);for(let t=e.length;t>=0;t--){const r=this.cache[e[t]];r&&r.clear?r.clear():r&&r.dispose&&r.dispose(),delete this.cache[e[t]]}this.cache={}}traverse(e){if(e){Object.keys(this.cache).forEach(t=>{e(t,this.get(t))})}}}em.cacheManager={};const tm=em;var rm=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class nm extends lu{constructor(e){super(e)}parse(e){return rm(this,void 0,void 0,function*(){const t=new mi(.83137,.68627,.21568);return this.color=t,this.color.convertSRGBToLinear(),this.userData=Object.assign(Object.assign({},e),{CD:[t.r,t.g,t.b]}),Cde.addBaseData(this,Object.assign(Object.assign({},e),{CD:[t.r,t.g,t.b]})),yield Cde.loadEnvMap(this,Object.assign(Object.assign({},e),{EV:"_global\\_global\\textures\\stainless_steel_EM.hdr"})),this.envMapIntensity=1,yield Cde.loadRoughnessMap(this,Object.assign(Object.assign({},e),{DRX:2,DRY:2,roughnessMap:"_global\\_global\\textures\\Gold_RM.jpg"})),this.roughness=.24,this.metalness=1,this})}cloneAsync(){return rm(this,void 0,void 0,function*(){return yield nm.create(this.userData)})}}nm.create=function(e){console.log("Gold BaseMaterial");return(new nm).parse(e)};var im=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class om extends lu{constructor(e){super(e)}parse(e){return im(this,void 0,void 0,function*(){const t=new mi(.80784,.48627,.33725);return this.color=t,this.color.convertSRGBToLinear(),this.userData=Object.assign(Object.assign({},e),{CD:[t.r,t.g,t.b]}),Cde.addBaseData(this,Object.assign(Object.assign({},e),{CD:[t.r,t.g,t.b]})),yield Cde.loadEnvMap(this,Object.assign(Object.assign({},e),{EV:"_global\\_global\\textures\\stainless_steel_EM.hdr"})),this.envMapIntensity=1,yield Cde.loadRoughnessMap(this,Object.assign(Object.assign({},e),{DRX:1,DRY:1,roughnessMap:"_global\\_global\\textures\\MetalBrushed_Roughness.jpg"})),this.roughness=.56,this.metalness=1,this})}cloneAsync(){return im(this,void 0,void 0,function*(){return yield om.create(this.userData)})}}om.create=function(e){console.log("Copper BaseMaterial");return(new om).parse(e)};var sm=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class am extends lu{constructor(e){super(e)}parse(e){return sm(this,void 0,void 0,function*(){const t=new mi(.80784,.53725,.2745);return this.color=t,this.color.convertSRGBToLinear(),this.userData=Object.assign(Object.assign({},e),{CD:[t.r,t.g,t.b]}),Cde.addBaseData(this,Object.assign(Object.assign({},e),{CD:[t.r,t.g,t.b]})),yield Cde.loadEnvMap(this,Object.assign(Object.assign({},e),{EV:"_global\\_global\\textures\\stainless_steel_EM.hdr"})),this.envMapIntensity=1,yield Cde.loadRoughnessMap(this,Object.assign(Object.assign({},e),{DRX:2,DRY:2,roughnessMap:"_global\\_global\\textures\\Bronze_RM.jpg"})),this.roughness=.67,this.metalness=1,this})}cloneAsync(){return sm(this,void 0,void 0,function*(){return yield am.create(this.userData)})}}am.create=function(e){console.log("Bronze BaseMaterial");return(new am).parse(e)};const lm=new class{constructor(){}getSearchKeyValuePair(){return window.location.search.replace(/^\?/g,"").split("&").map(e=>{const t=e.split("=");return{key:t[0],value:t[1]}})}encodeURL(e){let t="";const r=e.replace(/^[htps:\/]+[\w\.]+[\w:\d]+\//,"");t=e.replace(r,"");const n=r.split("/");for(let e=0;e<n.length;e++)t+=encodeURIComponent(n[e]),e+1!==n.length&&(t+="/");return t}getUrl(e,t,r,n,i,o=!0){if(!n||!n.length)return Phe.IsLocal&&console.warn("Can't build url -> manufacturer: "+e+" program: "+t+" name: "+n),"";("tex"===r&&-1!==n.indexOf("\\")||-1!==n.indexOf("/"))&&(r="texPath");let s=g_node_url_prefix+"/media/";if(n&&(n=n.replace(new RegExp("[\\\\]+","g"),"/"),/^.*\/manufacturer\/.*\..*/g.test(n.toLocaleLowerCase()))){const r=Cue.getManuProgFile(n);e=r.manu,t=r.prog,n=r.file}return e&&(s+=encodeURIComponent(e)+"/"),s+=t?encodeURIComponent(t)+"/":"-/",r&&(s+=encodeURIComponent(r)+"/"),n&&(s+="texPath"===r?n:encodeURIComponent(n)),i||(s+=".jpg"),o?s:s+"?placeholder=false"}},cm="furnview.webglCrashCount";const um=new class{constructor(){this._resetTimer=null}getCount(){var e;try{const t=null===(e=window.localStorage)||void 0===e?void 0:e.getItem(cm),r=parseInt(t||"0",10);return Number.isFinite(r)&&r>0?r:0}catch(e){return 0}}increment(){var e;try{const t=this.getCount()+1;null===(e=window.localStorage)||void 0===e||e.setItem(cm,String(t)),console.warn(`[CrashResilience] WebGL crash count increased to ${t}`)}catch(e){}}reset(){var e;try{null===(e=window.localStorage)||void 0===e||e.removeItem(cm)}catch(e){}}scheduleReset(){this.cancelReset(),this._resetTimer=setTimeout(()=>{this.getCount()>0&&(console.info("[CrashResilience] stable runtime — resetting crash count"),this.reset())},6e4)}cancelReset(){null!==this._resetTimer&&(clearTimeout(this._resetTimer),this._resetTimer=null)}};const dm=new class{constructor(){this._maxTextureUnits=0}get isIOS(){return Wp.isIOS()}get isMobile(){return Wp.isMobile()}get maxTextureUnits(){if(this._maxTextureUnits>0)return this._maxTextureUnits;try{const e=document.createElement("canvas"),t=e.getContext("webgl2")||e.getContext("webgl");this._maxTextureUnits=t&&t.getParameter(t.MAX_TEXTURE_IMAGE_UNITS)||16}catch(e){this._maxTextureUnits=16}return this._maxTextureUnits}applyRendererCaps(e){const t=e.capabilities.maxTextures;this._maxTextureUnits&&this._maxTextureUnits!==t&&console.warn("[MobileProfile] maxTextureUnits probe mismatch — probe:",this._maxTextureUnits,"renderer:",t),this._maxTextureUnits=t}get antialias(){return!0}get logarithmicDepthBuffer(){return!1}get powerPreference(){return this.isMobile?"default":"high-performance"}get pixelRatio(){return this.isMobile?Math.min(window.devicePixelRatio,2):window.devicePixelRatio}get shadowMapSize(){let e;e=this.isIOS?1024:this.isMobile?2048:4096;const t=um.getCount();for(let r=0;r<t;r++)e=Math.max(256,Math.floor(e/2));return e}get csmEnabled(){return!0}get csmCascades(){if(this.isMobile)return 1;const e=Math.max(2,this.maxTextureUnits-12);return Math.min(4,Math.max(1,Math.ceil(e/2)))}get csmShadowMapSize(){return this.isMobile?512:2048}get csmShadowBias(){return this.isMobile?1e-6:1e-4}getRenderTargetSamples(e){if(this.isIOS)return 0;if(!e.capabilities.isWebGL2)return 0;const t=e.capabilities.maxSamples;return t>0?Math.min(t,4):4}get renderTargetSamples(){return this.isIOS?0:4}get maxTextureSize(){return this.isIOS?1024:Number.MAX_SAFE_INTEGER}get contactShadowCascades(){if(this.isIOS)return 1;const e=Math.max(2,this.maxTextureUnits-12);return Math.min(4,Math.max(1,Math.floor(e/2)))}reflectorTextureSize(e,t){return this.isIOS?{width:256,height:256}:{width:e,height:t}}get ssaoEnabled(){return!0}get hdrEnabled(){return!this.isIOS}get iblEnabled(){return!0}get bumpMapEnabled(){return!0}get displacementMapEnabled(){return!0}getMaxAnisotropy(e){return this.isIOS?1:e?e.capabilities.getMaxAnisotropy():4}get ddsEnabled(){return!0}logProfile(){console.info("[MobileProfile]",`iOS=${this.isIOS}`,`mobile=${this.isMobile}`,`DPR=${this.pixelRatio}`,`antialias=${this.antialias}`,`logDepth=${this.logarithmicDepthBuffer}`,`IBL=${this.iblEnabled}`,`HDR=${this.hdrEnabled}`,`SSAO=${this.ssaoEnabled}`,`CSM=${this.csmEnabled}`,`DDS=${this.ddsEnabled}`,`maxTexSize=${this.maxTextureSize}`,`bumpMap=${this.bumpMapEnabled}`,`displacement=${this.displacementMapEnabled}`,`maxAnisotropy=${this.getMaxAnisotropy()}`,`shadowMapSize=${this.shadowMapSize}`,`rtSamples=${this.renderTargetSamples}`,`contactShadowCascades=${this.contactShadowCascades}`,`maxTextureUnits=${this.maxTextureUnits}`,`csmCascades=${this.csmCascades}`)}},hm=function(){this.mode=Ep.PLANNING,this.oldMode=null};hm.prototype.getViewMode=function(){return pm.mode},hm.prototype.setViewMode=function(e){return pm.oldMode=pm.mode,pm.mode=e},hm.prototype.resetViewMode=function(){return pm.mode=pm.oldMode};var pm=new hm;const mm=pm;function _m(e){return function(t){return class extends t{getRoot(){return this.root}getElement(e){return this.elements.get(e)}constructor(...t){super(...t),this.componentData=e,(void 0===e.condition||e.condition)&&(this.root=$(e.template),this.root.parentClass=this,this.elements=new Map,e.parentElement?e.parentElement.append(this.root):e.parentSelector&&$(e.parentSelector).append(this.root),e.elements&&Object.keys(e.elements).forEach(t=>{const r=e.elements[t];let n=this.root.find(r);0===n.length&&(n=this.root.parent().length>0?this.root.parent().find(r):this.root.hasClass(r.replace(".",""))?this.root:null),this.elements.set(t,n)}),e.style&&this.setStylesheet(e.headElement),e.afterConstructor&&this[e.afterConstructor]&&this[e.afterConstructor](),this.initialize())}setStylesheet(e,t,r,n=""){if(!t){if(!this.componentData.style)return!1;t=this.componentData.style}const i=Object.keys(t),o=e;if(!o&&!this.componentData.headElement)return!1;let s=r;r||(s=document.createElement("style"),s.setAttribute("type","text/css")),o&&o.length>0&&i.forEach(e=>{const r=n+e;let i=r+"{";const a=Object.keys(t[e]);let l=!1;a.forEach(r=>{"childStyle"!==r&&(l=!0,i+=r+":"+t[e][r]+";")}),i+="}",l&&(s.innerHTML+=i),t[e].childStyle&&this.setStylesheet(o,t[e].childStyle,s,r)}),o.append($(s))}initialize(){super.initialize&&(this.componentData.condition||void 0===this.componentData.condition)&&super.initialize()}appendTo(e){e&&this.root.appendTo(e)}append(e){e&&this.root.append(e)}}}}var gm=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};let fm=class{constructor(){this._window=null,this._firstOpened=!0,this._components=[],this._globalRenderTimeout=null}get Body(){return this._window?$(this._window.document.body):null}get Head(){return this._window?$(this._window.document.head):null}updateCurrentComponent(e){this._window&&(0===this._components.filter(t=>t.constructor===e).length&&this._components.push(new e),this.render())}open(){this._window||(this._window=window.open("about:blank","Debug-Window","directories=no,titlebar=no,toolbar=no,location=no,status=no,menubar=no;width=800;height=600"),this.render(),window.addEventListener("unload",()=>{this.close()}),this._window.onunload=()=>{this._window=null}),this._window.focus()}close(){this._window&&(this._window.close(),this._window=null)}render(){this._globalRenderTimeout&&(clearTimeout(this._globalRenderTimeout),this._globalRenderTimeout=null),this._globalRenderTimeout=setTimeout(()=>{if(clearTimeout(this._globalRenderTimeout),this._globalRenderTimeout=null,this._window&&this.Body){this.Head&&this._firstOpened&&(this._firstOpened=!1,this.setStylesheet(this.Head)),0===this.Body.find(".debug-window.container").length&&this.Body.append(this.getRoot());for(let e=0;e<this._components.length;e++){const t=this.getRoot(),r=this.getRoot().attr("id");if(t&&t.length>0){const n=this._components[e].render(this.Head);0===t.find("#"+r).length&&t.append(n)}}}},200)}};fm=gm([_m({style:{"body, html":{width:"100%",height:"100%",margin:"0",padding:"0"},".debug-window":{childStyle:{".container":{width:"100%",height:"100%",margin:"0",padding:"0"}}}},headElement:null,template:'\n    <div class="debug-window container">\n        \n    </div>\n    ',elements:{container:"div"}})],fm);const vm=new fm;var bm=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};let ym=class{constructor(){this._uiElements={},this._setColor=!1}render(e){return 0===$("#sizeTable").children().length&&this.setStylesheet(e),this.parseSize(),this.getRoot()}createRow(e){if(this._uiElements[e.command])return this._uiElements[e.command];let t=this.getRoot().find("#"+e.command),r=null;return t&&t.length>0?r=t.find(".command-size"):(t=$("<tr></tr>").appendTo(this.getRoot()).attr("id",e.command),this._setColor&&t.addClass("color"),$("<td></td>").appendTo(t).text("Command: "+e.command),$("<td></td>").appendTo(t).text("Mode: "+$m[$m[e.mode]]),r=$("<td></td>").appendTo(t).text("Size: "+Math.round(1e4*e.value)/1e4+"MBytes").addClass("command-size"),this._uiElements[e.command]=r,this._setColor=!this._setColor),r}parseTotal(){const e=this.createRow({command:"totalSentCommands",value:Sm.TotalSent,mode:$m[$m.SENT]}),t=this.createRow({command:"totalReceivedCommands",value:Sm.TotalReceived,mode:$m[$m.RECEIVED]}),r=this.createRow({command:"totalEverythingCommands",value:Sm.TotalSent+Sm.TotalReceived,mode:$m[$m.ALL]});e&&e.text("Size: "+Math.round(1e4*Sm.TotalSent)/1e4+"MBytes"),t&&t.text("Size: "+Math.round(1e4*Sm.TotalReceived)/1e4+"MBytes"),r&&r.text("Size: "+Math.round(1e4*(Sm.TotalSent+Sm.TotalReceived))/1e4+"MBytes")}parseSize(){this._setColor=!1;Sm.getSortedList(0).forEach(e=>{const t=this.createRow(e);t&&t.text("Size: "+Math.round(1e4*e.value)/1e4+"MBytes")}),this.parseTotal()}};var $m,xm;ym=bm([_m({style:{"#sizeTable":{width:"100%","border-collapse":"collapse",childStyle:{" tr > td":{border:"1px solid black"}," tr.color":{background:"#AAAAAA"}}},"#totalSentCommands":{background:"yellow!important"},"#totalReceivedCommands":{background:"yellow!important"},"#totalEverythingCommands":{background:"red!important"}},template:'\n    <table id="sizeTable">\n    </table>\n    '})],ym),function(e){e[e.RECEIVED=0]="RECEIVED",e[e.SENT=1]="SENT",e[e.ALL=2]="ALL"}($m||($m={})),function(e){e[e.ASC=0]="ASC",e[e.DESC=1]="DESC"}(xm||(xm={}));const Sm=new class{constructor(){this._receivedDataObj={},this._sentDataObj={}}get TotalSent(){let e=0;return Object.keys(this._sentDataObj).forEach(t=>{e+=this.getTotalOfCommand(t,$m.SENT)}),e}get TotalReceived(){let e=0;return Object.keys(this._receivedDataObj).forEach(t=>{e+=this.getTotalOfCommand(t,$m.RECEIVED)}),e}get HighestUsage(){return this.getMinMax().max}get LowestUsage(){return this.getMinMax().min}clear(e){e&&e!==$m.RECEIVED||(this._receivedDataObj={}),e&&e!==$m.SENT||(this._sentDataObj={})}analyseData(e,t,r){return new Promise(n=>{if(Phe.IsDebugWindowWebSocketSize){const n=new Array(t.length);for(let e=0;e<t.length;e++)n[e]=t.charCodeAt(e);this._receivedDataObj[e]||(this._receivedDataObj[e]={min:1/0,max:-1/0,last:0,total:0}),this._sentDataObj[e]||(this._sentDataObj[e]={min:1/0,max:-1/0,last:0,total:0});const i=n.length/1024/1024;r===$m.RECEIVED?(this._receivedDataObj[e].min=Math.min(i,this._receivedDataObj[e].min),this._receivedDataObj[e].max=Math.max(i,this._receivedDataObj[e].max),this._receivedDataObj[e].total+=i,this._receivedDataObj[e].last=i):r===$m.SENT&&(this._sentDataObj[e].min=Math.min(i,this._sentDataObj[e].min),this._sentDataObj[e].max=Math.max(i,this._sentDataObj[e].max),this._sentDataObj[e].total+=i,this._sentDataObj[e].last=i),vm.updateCurrentComponent(ym)}n(!0)})}getTotalOfCommand(e,t){let r={total:0};return t===$m.RECEIVED?r=this._receivedDataObj[e]:t===$m.SENT&&(r=this._sentDataObj[e]),r.total}getSortedList(e,t){let r=[];t&&t!==$m.RECEIVED||Object.keys(this._receivedDataObj).forEach(e=>{r.push({key:e,mode:$m.RECEIVED})}),t&&t!==$m.SENT||Object.keys(this._sentDataObj).forEach(e=>{r.push({key:e,mode:$m.SENT})}),r=r.sort((t,r)=>{const n=this.getTotalOfCommand(t.key,t.mode),i=this.getTotalOfCommand(r.key,r.mode);return e===xm.ASC?n-i:e===xm.DESC?i-n:n-i});const n=[];return r.forEach(e=>{n.push({command:e.key,value:this.getTotalOfCommand(e.key,e.mode),mode:$m[e.mode]})}),n}getMinMax(){let e=0,t=0,r="",n="",i=-1,o=-1;return Object.keys(this._sentDataObj).forEach(s=>{const a=e,l=t,c=this.getTotalOfCommand(s,$m.SENT);e=Math.max(e,c),t=Math.min(t,c),e!=a&&(r=s,i=$m.SENT),e!=l&&(n=s,o=$m.SENT)}),Object.keys(this._receivedDataObj).forEach(s=>{const a=e,l=t,c=this.getTotalOfCommand(s,$m.RECEIVED);e=Math.max(e,c),t=Math.min(t,c),e!=a&&(r=s,i=$m.RECEIVED),e!=l&&(n=s,o=$m.RECEIVED)}),{min:{value:t,command:n,mode:o},max:{value:e,command:r,mode:i}}}};class wm{constructor(e,t){return this.promise=Promise.resolve(),this.End=()=>{Mm.EndTimer(this.timing)},t&&(this.promise=new Promise(t.bind(this))),this.promise.timer=this,this.timing=Mm.AddTimer(e),this.promise}}wm.fromPromise=(e,t)=>{const r=new wm(e);return t.timer=r,r.promise=t,r.promise.then((...e)=>(t.timer.timer.End(),e))};const Am=wm;class Cm{constructor(){this.start=Date.now(),this.end=Date.now(),this.instance=-1,this.name="",this.ended=!1,this.startInstance=this.instance,this.endInstance=-1,this.instance=Cm.instanceCounter++}Start(){this.start=Date.now(),this.ended=!1,this.startInstance=this.instance}End(){return this.endInstance=this.instance,this.end=Date.now(),this.ended=!0,(this.end-this.start)/1e3}Diff(){return this.ended||(this.ended=!0,this.end=Date.now()),(this.end-this.start)/1e3}}Cm.instanceCounter=0;var Em=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};let Im=class{constructor(){this._uiElements={},this._setColor=!1}render(e){return this.parseTimeLineToTable(),0===$("#timeLineTable").children().length&&this.setStylesheet(e),this.getRoot()}createRow(e){let t=this._uiElements["#"+e];return(!t||t&&0===t.length)&&(t=this._uiElements["#"+e]=$("<tr></tr>").attr("id",e).appendTo(this.getRoot()),this._setColor&&t.addClass("color"),this._uiElements["#"+e+"_key"]=$("<td></td>").appendTo(t),this._uiElements["#"+e+"_average"]=$("<td></td>").appendTo(t),this._uiElements["#"+e+"_calls"]=$("<td></td>").appendTo(t),this._setColor=!this._setColor),{key:this._uiElements["#"+e+"_key"],avg:this._uiElements["#"+e+"_average"],calls:this._uiElements["#"+e+"_calls"]}}parseTimeLineToTable(){this._setColor=!1;const e=Phe.TimeLine.GetAverage(),t=Phe.TimeLine.GetTimes();Object.keys(e).forEach(r=>{const n=this.createRow(r);n.key.text(r),n.avg.text("AVG: "+e[r]+" seconds"),n.calls.text("Calls: "+t[r].length)})}};Im=Em([_m({style:{"#timeLineTable":{width:"100%","border-collapse":"collapse",childStyle:{" tr > td":{border:"1px solid black"}," tr.color":{background:"#aaaaaa"}}}},template:'\n    <table id="timeLineTable">\n    </table>\n    '})],Im);const Mm=new class{constructor(){this.timings={},this.EndTimerEvent={},this.AddEndTimerEvent=e=>{const t=Math.floor(999999*Math.random()+1);return this.EndTimerEvent[t]=e,t},this.RemoveEndTimerEvent=e=>{delete this.EndTimerEvent[e]},this.GetTimes=()=>this.timings,this.ClearTimer=e=>{if(e)this.timings[e]=[];else{Object.keys(this.timings).forEach(e=>{this.timings[e]=[],delete this.timings[e]})}},this.AddCallbackTimer=(e,t,r,...n)=>{const i=this.AddTimer(e),o=r.apply(t,n);return this.EndTimer(i),o},this.AddTimer=e=>{if(Phe.DebugTiming){const t=gr.generateUUID(),r={timer:new Cm,name:e,uuid:t};return this.timings[e]||(this.timings[e]=[]),this.timings[e].push(r),this.timings[e].length>75&&this.timings[e].splice(0,1),r.timer.Start(),Phe.IsDebugWindowTimeLine&&vm.updateCurrentComponent(Im),r}},this.EndTimer=e=>{if(Phe.DebugTiming){const t=JSON.stringify({diff:e.timer.End(),name:e.name,uuid:e.uuid});(Phe.ServerDebug||Phe.DebugTimingConsole)&&console.log(t);const r=Object.keys(this.EndTimerEvent);return r.length&&r.forEach(e=>{this.EndTimerEvent[e]&&this.isFunction(this.EndTimerEvent[e])&&this.EndTimerEvent[e](t)}),t}},this.GetAverage=()=>{const e={};return Object.keys(this.timings).forEach(t=>{const r=this.timings[t].length;let n=this.timings[t][0].timer.Diff();for(let e=1;e<r;e++)n+=this.timings[t][e].timer.Diff();e[t]=n/r}),e},this.isFunction=e=>e&&"[object Function]"==={}.toString.call(e)}get PromiseTimer(){return Am}};class km{constructor(){this.callbacks={}}dispatch(e,t=""){e=e.replace(/(\r)/g,"\\r").replace(/(\n)/g,"\\n");let r="{}";const n=Mm.AddTimer("socket_dispatch_parse");return r=JSON.parse(e),r.rT=t,Mm.EndTimer(n),!!this.callbacks[r.C]&&(this.callbacks[r.C].forEach(t=>{Sm.analyseData(t.name?t.name:r.P&&r.P[0]&&r.P[0].command?r.P[0].command:r.C?r.C:"NoName",e,$m.RECEIVED),r.P&&r.P.ADATA?t(r.P.ADATA):t(r.P),this.callbacks[r.C].isPermanent||this.off(r.C)}),!0)}on(e,t,r){this.callbacks[e]=this.callbacks[e]||[],this.callbacks[e].push(t),this.callbacks[e].isPermanent=r||!1}off(e){delete this.callbacks[e]}}const Tm=new km;const Rm=new class extends km{constructor(){super(),this.isInit=!1,this.on("DH_OW_FPSCB_COMMAND",e=>Rm.dispatch(e[0]))}on(e,t,r=!0){this.callbacks[e]=this.callbacks[e]||[],this.callbacks[e].push(t),this.callbacks[e].isPermanent=r}dispatch(e,t=""){if("string"==typeof e){e=e.replace(/(\r)/g,"\\r").replace(/(\n)/g,"\\n");let r="{}";if(r=JSON.parse(e),r.rT=t,this.callbacks[r.C])return this.callbacks[r.C].forEach(t=>{Sm.analyseData(t.name?t.name:r.P&&r.P[0]&&r.P[0].command?r.P[0].command:r.C?r.C:"NoName",e,$m.RECEIVED),t(r.P),this.callbacks[r.C].isPermanent||this.off(r.C)}),!0}else if("object"==typeof e){if(this.callbacks[e.command])return this.callbacks[e.command].forEach(t=>{t(e.params),this.callbacks[e.command].isPermanent||this.off(e.command)}),!0;console.error("One way event not found!",e.command)}return!1}},Lm=function(e){16===e.keyCode&&(Nm.secondaryKeys.isShift=!0),17===e.keyCode&&(Nm.secondaryKeys.isCtrl=!0),18===e.keyCode&&(Nm.secondaryKeys.isAlt=!0),Nm.keyCodes[e.keyCode]||(Nm.keyCodes[e.keyCode]={isDown:!0,onUp:[],onDown:[]}),Nm.keyCodes[e.keyCode].isDown=!0;for(let t=0;t<Nm.keyCodes[e.keyCode].onDown.length;t++)Nm.keyCodes[e.keyCode].onDown[t](e)},Pm=function(e){16===e.keyCode&&(Nm.secondaryKeys.isShift=!1),17===e.keyCode&&(Nm.secondaryKeys.isCtrl=!1),18===e.keyCode&&(Nm.secondaryKeys.isAlt=!1),Nm.keyCodes[e.keyCode]||(Nm.keyCodes[e.keyCode]={isDown:!1,onUp:[],onDown:[]}),Nm.keyCodes[e.keyCode].isDown=!1;for(let t=0;t<Nm.keyCodes[e.keyCode].onUp.length;t++)Nm.keyCodes[e.keyCode].onUp[t](e)},Dm=function(){this.keyCodes={},this.secondaryKeys={isCtrl:!1,isShift:!1,isAlt:!1},document.addEventListener("keydown",Lm,!1),document.addEventListener("keyup",Pm,!1)};Dm.prototype.addDownKeyEvent=function(e,t){this.keyCodes[e]||(this.keyCodes[e]={isDown:!1,onUp:[],onDown:[]}),-1===this.keyCodes[e].onDown.indexOf(t)&&this.keyCodes[e].onDown.push(t)},Dm.prototype.addUpKeyEvent=function(e,t){this.keyCodes[e]||(this.keyCodes[e]={isDown:!1,onUp:[],onDown:[]}),-1===this.keyCodes[e].onUp.indexOf(t)&&this.keyCodes[e].onUp.push(t)},Dm.prototype.removeKeyEvent=function(e,t){let r=!1;const n=""+e;for(let e=Nm.keyCodes[n].onUp.length-1;e>-1;e--)if(Nm.keyCodes[n].onUp[e]===t){document.removeEventListener("keyup",Nm.keyCodes[n].onUp[e]),Nm.keyCodes[n].onUp.splice(e,1),r=!0;break}if(!r)for(let e=Nm.keyCodes[n].onDown.length-1;e>-1;e--)if(Nm.keyCodes[n].onDown[e]===t){document.removeEventListener("keydown",Nm.keyCodes[n].onDown[e]),Nm.keyCodes[n].onDown.splice(e,1);break}};var Nm=new Dm;const Fm=Nm;function Om(){let e,t;const r=new Promise((r,n)=>{e=r,t=n});return r.resolve=function(t){return e(t),r},r.reject=function(e){return t(e),r},r}var Bm=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class Um{static add(e){this._pending.push(e);const t=()=>{const t=this._pending.indexOf(e);-1!==t&&this._pending.splice(t,1)};e.then(t,t)}static get idle(){return 0===this._pending.length}static waitForAll(){return Bm(this,void 0,void 0,function*(){let e;do{e=this._pending,this._pending=[],yield Promise.all(e)}while(this._pending.length>0)})}static initializeKey(e){const t={currentRevision:0,maxRevision:0,finished:Om()};return this._sceneLoadingMap.set(e,t),t}static Finished(e,t){return Bm(this,void 0,void 0,function*(){const r=Om();if(setTimeout(()=>{r.resolve()},t),yield r,!this._sceneLoadingMap.has(e))return this.initializeKey(e).finished;const n=this._sceneLoadingMap.get(e);return n.finished&&n.maxRevision<=n.currentRevision&&(n.finished.resolve(),this.initializeKey(e)),n.finished})}static IncreaseMax(e){this._sceneLoadingMap.has(e)?this._sceneLoadingMap.get(e).maxRevision++:this.initializeKey(e).maxRevision++}static IncreaseCurrent(e){return Bm(this,void 0,void 0,function*(){return this._sceneLoadingMap.has(e)?this._sceneLoadingMap.get(e).currentRevision++:this.initializeKey(e).currentRevision++,this.Finished(e)})}static _debug(e){try{throw new Error}catch(e){console.log(e.stack)}if(e&&this._sceneLoadingMap.has(e))console.log(e,this._sceneLoadingMap.get(e));else for(const e of this._sceneLoadingMap.entries())console.log(e[0],e[1])}}Um._sceneLoadingMap=new Map,Um._pending=[],window.sceneLoading=Um;var Vm=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};const zm=Object.freeze(["paint_mat_rgb","paint_mat_image","FALLBACK","textile","wood_normal_image","brick"]);class Hm extends cu{constructor(e){super(e),this.chromeFlag=!1,this._USEALPHA=!1,this.difMidVal=null,e&&e.clippingExclude||(this.clippingPlanes=ice.LocalPlanes,this.clipShadows=!0)}get SizeX(){return this._sizeX}set SizeX(e){this._sizeX=e}get SizeY(){return this._sizeY}set SizeY(e){this._sizeY=e}get ScaleX(){return this._scaleX}get ScaleY(){return this._scaleY}get DiffuseMapDefer(){return this._diffuseDefer}static create(e){return(new Hm).parse(e)}cleanup(){Lde.disposeMaps(this)}cloneAsync(){return Vm(this,void 0,void 0,function*(){return yield Hm.create(this.inData)})}individualParameters(e){if(e.JP)try{"string"==typeof e.JP&&(e.JP=JSON.parse(e.JP))}catch(t){e.JP={}}else e.JP={};e.JP.clearcoat=isNaN(e.JP.clearcoat)?0:e.JP.clearcoat,e.JP.clearcoatRoughness=isNaN(e.JP.clearcoatRoughness)?0:e.JP.clearcoatRoughness,e.JP.envMapIntensity=isNaN(e.JP.envMapIntensity)?1:e.JP.envMapIntensity,e.JP.reflectivity=isNaN(e.JP.reflectivity)?1:e.JP.reflectivity,e.JP.metalness=isNaN(e.JP.metalness)?0:e.JP.metalness,e.JP.roughness=isNaN(e.JP.roughness)?0:e.JP.roughness,e.JP.emissiveIntensity=isNaN(e.JP.emissiveIntensity)?1:e.JP.emissiveIntensity,e.JP.aoMapIntensity=isNaN(e.JP.aoMapIntensity)?1:e.JP.aoMapIntensity,e.JP.displacementBias=isNaN(e.JP.displacementBias)?0:e.JP.displacementBias,e.JP.polygonOffsetFactor=isNaN(e.JP.polygonOffsetFactor)?this.polygonOffsetFactor:e.JP.polygonOffsetFactor,e.JP.polygonOffsetUnits=isNaN(e.JP.polygonOffsetUnits)?this.polygonOffsetUnits:e.JP.polygonOffsetUnits,e.JP.side=isNaN(e.JP.side)?0:e.JP.side,e.JP.opacity=isNaN(e.JP.opacity)?1:e.JP.opacity,e.JP.blending=isNaN(e.JP.blending)?1:e.JP.blending,e.JP.alphaTest=isNaN(e.JP.alphaTest)?0:e.JP.alphaTest,e.JP.bumpScale=isNaN(e.JP.bumpScale)?0:e.JP.bumpScale;for(let t=0;t<Hm.MAP_DEFINES.length;t++)e.JP[Hm.MAP_DEFINES[t]]=(e.JP[Hm.MAP_DEFINES[t]]||"").replace(/\\/g,"/");e.JP.USEALPHA=!!+e.USEALPHA,e.JP.transparent="boolean"==typeof e.JP.transparent?e.JP.transparent:!!+e.USEALPHA||!!+e.TR,e.JP.premultipliedAlpha="boolean"==typeof e.JP.premultipliedAlpha?e.JP.premultipliedAlpha:!!+e.USEALPHA,e.JP.depthTest="boolean"!=typeof e.JP.depthTest||e.JP.depthTest,e.JP.depthWrite="boolean"!=typeof e.JP.depthWrite||e.JP.depthWrite,e.JP.dithering="boolean"==typeof e.JP.dithering&&e.JP.dithering,e.JP.flatShading="boolean"==typeof e.JP.flatShading&&e.JP.flatShading,e.JP.fog="boolean"!=typeof e.JP.fog||e.JP.fog,e.JP.polygonOffset="boolean"==typeof e.JP.polygonOffset?e.JP.polygonOffset:this.polygonOffset,e.JP.wireframe="boolean"==typeof e.JP.wireframe&&e.JP.wireframe;for(let t=0;t<Hm.SACLE_DEFINES.length;t++)e.JP[Hm.SACLE_DEFINES[t]]=e.JP[Hm.SACLE_DEFINES[t]]||{x:1,y:1},isNaN(e.JP[Hm.SACLE_DEFINES[t]].x)||isNaN(e.JP[Hm.SACLE_DEFINES[t]].y)||(e.JP[Hm.SACLE_DEFINES[t]]=new fr(e.JP[Hm.SACLE_DEFINES[t]].x,e.JP[Hm.SACLE_DEFINES[t]].y));return e.JP.emissive=e.JP.emissive||{r:this.emissive.r,g:this.emissive.g,b:this.emissive.b},isNaN(e.JP.emissive.r)||isNaN(e.JP.emissive.g)||isNaN(e.JP.emissive.b)||(e.JP.emissive=new mi(e.JP.emissive.r,e.JP.emissive.g,e.JP.emissive.b)),e.JP.color=e.JP.color||{r:this.color.r,g:this.color.g,b:this.color.b},isNaN(e.JP.color.r)||isNaN(e.JP.color.g)||isNaN(e.JP.color.b)||(e.JP.color=new mi(e.JP.color.r,e.JP.color.g,e.JP.color.b)),e}getTexture(e,t,r,n,i){if(!r||!t[r])return Promise.resolve();t[r]=t[r].replace(/\\/g,"/");const o=Cue.getManuProgFile(t[r]);return i&&!0===i.envMap?Cue.getCubeTexture({textureName:o.file||t[r],manuName:o.manu||e.m_hash}).then(i=>(n(e,i,t,r),i)):Cue.getTexture({manuName:o.manu||e.m_hash,textureName:o.file||t[r]}).then(i=>(i.wrapS=i.wrapT=ye,i.anisotropy=dm.getMaxAnisotropy(Aue.TRenderer),n(e,i,t,r),i))}parseAnyMap(e,t,r,n){return e[n]=t,e[n].magFilter=Ce,e[n].minFilter=Me,!0}parseMap(e,t,r,n){return t&&(e.map=t,e.map.colorSpace=zt,e.map.repeat=new fr(e.inData.DRX,e.inData.DRY),e.map.magFilter=Ce,e.map.minFilter=Me,e.map.anisotropy=dm.getMaxAnisotropy(Aue.TRenderer),e.map.wrapS=e.map.wrapT=ye,r.USEALPHA&&(e.map.format=Ge)),e.DiffuseMapDefer.resolve(),!0}parseBumpMap(e,t,r,n){return t&&(e.bumpMap=t,e.bumpMap.repeat=new fr(e.inData.DRX,e.inData.DRY),e.bumpMap.anisotropy=dm.getMaxAnisotropy(Aue.TRenderer),e.bumpMap.wrapS=e.bumpMap.wrapT=ye,e.bumpMap.magFilter=Ce,e.bumpMap.minFilter=Me),!0}parseNormalMap(e,t,r,n){return t&&(e.normalMap=t,e.normalMap.repeat=new fr(e.inData.DRX,e.inData.DRY),e.normalMap.anisotropy=dm.getMaxAnisotropy(Aue.TRenderer),e.normalMap.wrapS=e.normalMap.wrapT=ye,e.normalMap.magFilter=Ce,e.normalMap.minFilter=Me),!0}parseNormalMap2(e,t,r,n){return t&&(e.surfaceNormalMap=t,e.surfaceNormalMap.wrapS=e.surfaceNormalMap.wrapT=xe,e.surfaceNormalMap.needsUpdate=!0,e.surfaceNormalMap.magFilter=Ce,e.surfaceNormalMap.minFilter=Me,r.NM2S?e.surfaceNormalScale=new fr(r.NM2S,r.NM2S):e.surfaceNormalScale=new fr(1,1),e.normalMapBlending=0),!0}parseAOMap(e,t,r,n){return t&&(e.aoMap=t,e.aoMap.magFilter=Ce,e.aoMap.minFilter=Me),!0}parseEnvMap(e,t,r,n){return Vm(this,void 0,void 0,function*(){const n=1-r.SH/1800,i=r.TR;let o=r.REFL;if(t){i>0&&(e.envMapIntensity=.35,e.chromeFlag||(e.metalness=.35)),e.envMap=t;let n=1;yield e.DiffuseMapDefer,e.map&&(n=1-((e.color.r+.01+e.color.g+.01+e.color.b+.01)/3-.01),n=n<.01?.01:n,e.color.r<.05&&e.color.g<.05&&e.color.b<.05&&(e.color.setRGB(n,n,n),"_global"===r.manuName&&(e.color=new mi(1,1,1),e.metalness=1))),e.color.r<.05&&e.color.g<.05&&e.color.b<.05&&(e.color.setRGB(.05,.05,.05),"_global"===r.manuName&&(e.color=new mi(1,1,1),e.metalness=.5,"_global_CHROME"===r.name&&(e.chromeFlag=!0)),e.metalness=.5),"string"!=typeof r.name||e.chromeFlag||(r.name.endsWith("LACK")?e.metalness=.2:r.name.endsWith("HG")&&(e.metalness=.7)),e.envMap instanceof Us?(o=.035,e.chromeFlag||(e.metalness=0)):(e.envMap.repeat=new fr(1e-4,1e-4),e.envMap.magFilter=Ce,e.envMap.minFilter=Ce,e.envMap.mapping=fe,e.envMap.anisotropy=dm.getMaxAnisotropy(Aue.TRenderer),e.envMap.wrapS=e.envMap.wrapT=ye,o=.2,e.chromeFlag||(e.map?e.metalness=n<=.01?o:n:e.metalness=0)),e.roughness=0,e.combine=0}else e.chromeFlag||(e.metalness=0),e.roughness=n;return!0})}parse(e){if(this._diffuseDefer=Om(),e.isEmpty)return this.polygonOffset=!1,Promise.resolve(this);const t=[],r=1===e.USEALPHA,n=e.name.toString().split("_");let i=n[0];if("global"===n[1]&&(i="_"+n[1]),e.manuName=i,this.difMidVal=e.DifMidVal||null,this.color=new mi(e.CD[0],e.CD[1],e.CD[2]).convertSRGBToLinear(),this.opacity=1-(e.TR<1?e.TR:1),this.transparent=this.opacity<1||r,this.flatShading=!1,this._USEALPHA=r,this.premultipliedAlpha=r,this.dithering=Bde.ShowLines,this._sizeX=e.SX,this._sizeY=e.SY,this._scaleX=1===e.SX?1:1e3/e.SX*e.DRX,this._scaleY=1===e.SY?1:1e3/e.SY*e.DRY,this.polygonOffset=!Bde.DisablePolygonOffset&&-1===e.name.indexOf("DHMC_"),this.polygonOffsetFactor=1,this.m_hash=e.m_hash,this.name=e.name,1===+e.DEPTHMODE)this.depthTest=!1,this.depthWrite=!1;else this.depthTest=!0,this.depthWrite=!0;if("_global"===i&&"_global_ROTWEISS"==this.name&&(this.depthTest=!1,this.depthWrite=!1),e.NMS?this.normalScale=new fr(e.NMS,e.NMS):e.BUMP_Scale&&(this.bumpScale=e.BUMP_Scale>1?e.BUMP_Scale*C:e.BUMP_Scale),e.JP){this.individualParameters(e);Object.keys(e.JP).forEach(r=>{-1!==Hm.MAP_DEFINES.indexOf(r)?t.push(this.getTexture(this,e.JP,r,this.parseAnyMap)):this[r]=e.JP[r]})}return e.DT||this._diffuseDefer.resolve(),this.inData=e,this.needsUpdate=!0,-1!==this.name.indexOf("DHMC_FVA_")&&(this.metalness=.5),t.push(this.getTexture(this,e,"DT",this.parseMap)),t.push(this.getTexture(this,e,"NR",this.parseNormalMap)),t.push(this.getTexture(this,e,"BUMP_FILE",this.parseBumpMap)),t.push(this.getTexture(this,e,"NM2",this.parseNormalMap2)),t.push(this.getTexture(this,e,"AO",this.parseAOMap)),t.push(this.getTexture(this,e,"EV",this.parseEnvMap,{envMap:!0})),this.mapsLoaded=Promise.all(t).then(()=>{this.needsUpdate=!0,Ame.requestRendering(),(null==e?void 0:e.BaseMaterial)&&zm.includes(e.BaseMaterial)&&(console.log("tune",e.BaseMaterial,e.name),this.applyColorTuning())}),Um.add(this.mapsLoaded),Phe.WaitForMaterials?Promise.all(t).then(()=>this):this.mapsLoaded.then(()=>this)}applyColorTuning(){!!this.map&&(this.emissive=new mi(2829099),this.emissiveIntensity=.7)}}Hm.MAP_DEFINES=["alphaMap","bumpMap","emissiveMap","metalnessMap","roughnessMap","transmissionMap","lightMap","clearcoatRoughnessMap","clearcoatNormalMap"],Hm.SACLE_DEFINES=["clearcoatNormalScale","displacementScale"];const Gm="Lighting",jm=[];function Jm(){var e;try{return null!==(e=null==Phe?void 0:Phe.DebugGUI)&&void 0!==e?e:null}catch(e){return null}}const Wm={onRootCreated(e){var t;jm.push(e);const r=Jm(),n=null===(t=null==r?void 0:r.__folders)||void 0===t?void 0:t[Gm];n&&Qm(n)},getRootFolder(){var e;const t=Jm();if(!t)return null;const r=null===(e=t.__folders)||void 0===e?void 0:e[Gm];if(r)return r;const n=t.addFolder(Gm);return Qm(n),n},getSubFolder(e){var t;const r=this.getRootFolder();if(!r)return null;const n=null===(t=r.__folders)||void 0===t?void 0:t[e];return n||r.addFolder(e)}};function Qm(e){for(;jm.length>0;){jm.shift()(e)}}new vr,new br,new br,new br,new br,new br,new vr,new br,new br,new br,new xn;Symbol(),Symbol(),Symbol(),Symbol(),Symbol(),Symbol(),Symbol(),Symbol(),Symbol(),Symbol(),Symbol(),Symbol(),Symbol(),Symbol(),Symbol(),Symbol(),new xn,new xn,new Mc,new br,new xn,new xn,new br;new hs,new fr,new br,new fr,new fr,new br,new br,new xn,new br,new br;new br,new Rc,new br,new br;new vr;new $n,new hs,Math.cos(70*gr.DEG2RAD),new br,Math.PI;new Rn(0,0,0,"YXZ"),new br,Math.PI;new fr,new fr,new br,new br,new br,new vr,new br,new br,new br,new br;const qm=new Mc,Ym=new br,Xm=new br,Km=new vr,Zm={X:new br(1,0,0),Y:new br(0,1,0),Z:new br(0,0,1)},e_={type:"change"},t_={type:"mouseDown",mode:null},r_={type:"mouseUp",mode:null},n_={type:"objectChange"};class i_ extends ou{constructor(e,t=null){super(void 0,t);const r=new A_(this);this._root=r;const n=new C_;this._gizmo=n,r.add(n);const i=new E_;this._plane=i,r.add(i);const o=this;function s(e,t){let r=t;Object.defineProperty(o,e,{get:function(){return void 0!==r?r:t},set:function(t){r!==t&&(r=t,i[e]=t,n[e]=t,o.dispatchEvent({type:e+"-changed",value:t}),o.dispatchEvent(e_))}}),o[e]=t,i[e]=t,n[e]=t}s("camera",e),s("object",void 0),s("enabled",!0),s("axis",null),s("mode","translate"),s("translationSnap",null),s("rotationSnap",null),s("scaleSnap",null),s("space","world"),s("size",1),s("dragging",!1),s("showX",!0),s("showY",!0),s("showZ",!0),s("minX",-1/0),s("maxX",1/0),s("minY",-1/0),s("maxY",1/0),s("minZ",-1/0),s("maxZ",1/0);const a=new br,l=new br,c=new vr,u=new vr,d=new br,h=new vr,p=new br,m=new br,_=new br,g=new br;s("worldPosition",a),s("worldPositionStart",l),s("worldQuaternion",c),s("worldQuaternionStart",u),s("cameraPosition",d),s("cameraQuaternion",h),s("pointStart",p),s("pointEnd",m),s("rotationAxis",_),s("rotationAngle",0),s("eye",g),this._offset=new br,this._startNorm=new br,this._endNorm=new br,this._cameraScale=new br,this._parentPosition=new br,this._parentQuaternion=new vr,this._parentQuaternionInv=new vr,this._parentScale=new br,this._worldScaleStart=new br,this._worldQuaternionInv=new vr,this._worldScale=new br,this._positionStart=new br,this._quaternionStart=new vr,this._scaleStart=new br,this._getPointer=o_.bind(this),this._onPointerDown=a_.bind(this),this._onPointerHover=s_.bind(this),this._onPointerMove=l_.bind(this),this._onPointerUp=c_.bind(this),null!==t&&this.connect(t)}connect(e){super.connect(e),this.domElement.addEventListener("pointerdown",this._onPointerDown),this.domElement.addEventListener("pointermove",this._onPointerHover),this.domElement.addEventListener("pointerup",this._onPointerUp),this.domElement.style.touchAction="none"}disconnect(){this.domElement.removeEventListener("pointerdown",this._onPointerDown),this.domElement.removeEventListener("pointermove",this._onPointerHover),this.domElement.removeEventListener("pointermove",this._onPointerMove),this.domElement.removeEventListener("pointerup",this._onPointerUp),this.domElement.style.touchAction="auto"}getHelper(){return this._root}pointerHover(e){if(void 0===this.object||!0===this.dragging)return;null!==e&&qm.setFromCamera(e,this.camera);const t=u_(this._gizmo.picker[this.mode],qm);this.axis=t?t.object.name:null}pointerDown(e){if(void 0!==this.object&&!0!==this.dragging&&(null==e||0===e.button)&&null!==this.axis){null!==e&&qm.setFromCamera(e,this.camera);const t=u_(this._plane,qm,!0);t&&(this.object.updateMatrixWorld(),this.object.parent.updateMatrixWorld(),this._positionStart.copy(this.object.position),this._quaternionStart.copy(this.object.quaternion),this._scaleStart.copy(this.object.scale),this.object.matrixWorld.decompose(this.worldPositionStart,this.worldQuaternionStart,this._worldScaleStart),this.pointStart.copy(t.point).sub(this.worldPositionStart)),this.dragging=!0,t_.mode=this.mode,this.dispatchEvent(t_)}}pointerMove(e){const t=this.axis,r=this.mode,n=this.object;let i=this.space;if("scale"===r?i="local":"E"!==t&&"XYZE"!==t&&"XYZ"!==t||(i="world"),void 0===n||null===t||!1===this.dragging||null!==e&&-1!==e.button)return;null!==e&&qm.setFromCamera(e,this.camera);const o=u_(this._plane,qm,!0);if(o){if(this.pointEnd.copy(o.point).sub(this.worldPositionStart),"translate"===r)this._offset.copy(this.pointEnd).sub(this.pointStart),"local"===i&&"XYZ"!==t&&this._offset.applyQuaternion(this._worldQuaternionInv),-1===t.indexOf("X")&&(this._offset.x=0),-1===t.indexOf("Y")&&(this._offset.y=0),-1===t.indexOf("Z")&&(this._offset.z=0),"local"===i&&"XYZ"!==t?this._offset.applyQuaternion(this._quaternionStart).divide(this._parentScale):this._offset.applyQuaternion(this._parentQuaternionInv).divide(this._parentScale),n.position.copy(this._offset).add(this._positionStart),this.translationSnap&&("local"===i&&(n.position.applyQuaternion(Km.copy(this._quaternionStart).invert()),-1!==t.search("X")&&(n.position.x=Math.round(n.position.x/this.translationSnap)*this.translationSnap),-1!==t.search("Y")&&(n.position.y=Math.round(n.position.y/this.translationSnap)*this.translationSnap),-1!==t.search("Z")&&(n.position.z=Math.round(n.position.z/this.translationSnap)*this.translationSnap),n.position.applyQuaternion(this._quaternionStart)),"world"===i&&(n.parent&&n.position.add(Ym.setFromMatrixPosition(n.parent.matrixWorld)),-1!==t.search("X")&&(n.position.x=Math.round(n.position.x/this.translationSnap)*this.translationSnap),-1!==t.search("Y")&&(n.position.y=Math.round(n.position.y/this.translationSnap)*this.translationSnap),-1!==t.search("Z")&&(n.position.z=Math.round(n.position.z/this.translationSnap)*this.translationSnap),n.parent&&n.position.sub(Ym.setFromMatrixPosition(n.parent.matrixWorld)))),n.position.x=Math.max(this.minX,Math.min(this.maxX,n.position.x)),n.position.y=Math.max(this.minY,Math.min(this.maxY,n.position.y)),n.position.z=Math.max(this.minZ,Math.min(this.maxZ,n.position.z));else if("scale"===r){if(-1!==t.search("XYZ")){let e=this.pointEnd.length()/this.pointStart.length();this.pointEnd.dot(this.pointStart)<0&&(e*=-1),Xm.set(e,e,e)}else Ym.copy(this.pointStart),Xm.copy(this.pointEnd),Ym.applyQuaternion(this._worldQuaternionInv),Xm.applyQuaternion(this._worldQuaternionInv),Xm.divide(Ym),-1===t.search("X")&&(Xm.x=1),-1===t.search("Y")&&(Xm.y=1),-1===t.search("Z")&&(Xm.z=1);n.scale.copy(this._scaleStart).multiply(Xm),this.scaleSnap&&(-1!==t.search("X")&&(n.scale.x=Math.round(n.scale.x/this.scaleSnap)*this.scaleSnap||this.scaleSnap),-1!==t.search("Y")&&(n.scale.y=Math.round(n.scale.y/this.scaleSnap)*this.scaleSnap||this.scaleSnap),-1!==t.search("Z")&&(n.scale.z=Math.round(n.scale.z/this.scaleSnap)*this.scaleSnap||this.scaleSnap))}else if("rotate"===r){this._offset.copy(this.pointEnd).sub(this.pointStart);const e=20/this.worldPosition.distanceTo(Ym.setFromMatrixPosition(this.camera.matrixWorld));let r=!1;"XYZE"===t?(this.rotationAxis.copy(this._offset).cross(this.eye).normalize(),this.rotationAngle=this._offset.dot(Ym.copy(this.rotationAxis).cross(this.eye))*e):"X"!==t&&"Y"!==t&&"Z"!==t||(this.rotationAxis.copy(Zm[t]),Ym.copy(Zm[t]),"local"===i&&Ym.applyQuaternion(this.worldQuaternion),Ym.cross(this.eye),0===Ym.length()?r=!0:this.rotationAngle=this._offset.dot(Ym.normalize())*e),("E"===t||r)&&(this.rotationAxis.copy(this.eye),this.rotationAngle=this.pointEnd.angleTo(this.pointStart),this._startNorm.copy(this.pointStart).normalize(),this._endNorm.copy(this.pointEnd).normalize(),this.rotationAngle*=this._endNorm.cross(this._startNorm).dot(this.eye)<0?1:-1),this.rotationSnap&&(this.rotationAngle=Math.round(this.rotationAngle/this.rotationSnap)*this.rotationSnap),"local"===i&&"E"!==t&&"XYZE"!==t?(n.quaternion.copy(this._quaternionStart),n.quaternion.multiply(Km.setFromAxisAngle(this.rotationAxis,this.rotationAngle)).normalize()):(this.rotationAxis.applyQuaternion(this._parentQuaternionInv),n.quaternion.copy(Km.setFromAxisAngle(this.rotationAxis,this.rotationAngle)),n.quaternion.multiply(this._quaternionStart).normalize())}this.dispatchEvent(e_),this.dispatchEvent(n_)}}pointerUp(e){null!==e&&0!==e.button||(this.dragging&&null!==this.axis&&(r_.mode=this.mode,this.dispatchEvent(r_)),this.dragging=!1,this.axis=null)}dispose(){this.disconnect(),this._root.dispose()}attach(e){return this.object=e,this._root.visible=!0,this}detach(){return this.object=void 0,this.axis=null,this._root.visible=!1,this}reset(){this.enabled&&this.dragging&&(this.object.position.copy(this._positionStart),this.object.quaternion.copy(this._quaternionStart),this.object.scale.copy(this._scaleStart),this.dispatchEvent(e_),this.dispatchEvent(n_),this.pointStart.copy(this.pointEnd))}getRaycaster(){return qm}getMode(){return this.mode}setMode(e){this.mode=e}setTranslationSnap(e){this.translationSnap=e}setRotationSnap(e){this.rotationSnap=e}setScaleSnap(e){this.scaleSnap=e}setSize(e){this.size=e}setSpace(e){this.space=e}setColors(e,t,r,n){const i=this._gizmo.materialLib;i.xAxis.color.set(e),i.yAxis.color.set(t),i.zAxis.color.set(r),i.active.color.set(n),i.xAxisTransparent.color.set(e),i.yAxisTransparent.color.set(t),i.zAxisTransparent.color.set(r),i.activeTransparent.color.set(n),i.xAxis._color&&i.xAxis._color.set(e),i.yAxis._color&&i.yAxis._color.set(t),i.zAxis._color&&i.zAxis._color.set(r),i.active._color&&i.active._color.set(n),i.xAxisTransparent._color&&i.xAxisTransparent._color.set(e),i.yAxisTransparent._color&&i.yAxisTransparent._color.set(t),i.zAxisTransparent._color&&i.zAxisTransparent._color.set(r),i.activeTransparent._color&&i.activeTransparent._color.set(n)}}function o_(e){if(this.domElement.ownerDocument.pointerLockElement)return{x:0,y:0,button:e.button};{const t=this.domElement.getBoundingClientRect();return{x:(e.clientX-t.left)/t.width*2-1,y:-(e.clientY-t.top)/t.height*2+1,button:e.button}}}function s_(e){if(this.enabled)switch(e.pointerType){case"mouse":case"pen":this.pointerHover(this._getPointer(e))}}function a_(e){this.enabled&&(document.pointerLockElement||this.domElement.setPointerCapture(e.pointerId),this.domElement.addEventListener("pointermove",this._onPointerMove),this.pointerHover(this._getPointer(e)),this.pointerDown(this._getPointer(e)))}function l_(e){this.enabled&&this.pointerMove(this._getPointer(e))}function c_(e){this.enabled&&(this.domElement.releasePointerCapture(e.pointerId),this.domElement.removeEventListener("pointermove",this._onPointerMove),this.pointerUp(this._getPointer(e)))}function u_(e,t,r){const n=t.intersectObject(e,!0);for(let e=0;e<n.length;e++)if(n[e].object.visible||r)return n[e];return!1}const d_=new Rn,h_=new br(0,1,0),p_=new br(0,0,0),m_=new xn,__=new vr,g_=new vr,f_=new br,v_=new xn,b_=new br(1,0,0),y_=new br(0,1,0),$_=new br(0,0,1),x_=new br,S_=new br,w_=new br;class A_ extends qn{constructor(e){super(),this.isTransformControlsRoot=!0,this.controls=e,this.visible=!1}updateMatrixWorld(e){const t=this.controls;void 0!==t.object&&(t.object.updateMatrixWorld(),null===t.object.parent?console.error("TransformControls: The attached 3D object must be a part of the scene graph."):t.object.parent.matrixWorld.decompose(t._parentPosition,t._parentQuaternion,t._parentScale),t.object.matrixWorld.decompose(t.worldPosition,t.worldQuaternion,t._worldScale),t._parentQuaternionInv.copy(t._parentQuaternion).invert(),t._worldQuaternionInv.copy(t.worldQuaternion).invert()),t.camera.updateMatrixWorld(),t.camera.matrixWorld.decompose(t.cameraPosition,t.cameraQuaternion,t._cameraScale),t.camera.isOrthographicCamera?t.camera.getWorldDirection(t.eye).negate():t.eye.copy(t.cameraPosition).sub(t.worldPosition).normalize(),super.updateMatrixWorld(e)}dispose(){this.traverse(function(e){e.geometry&&e.geometry.dispose(),e.material&&e.material.dispose()})}}class C_ extends qn{constructor(){super(),this.isTransformControlsGizmo=!0,this.type="TransformControlsGizmo";const e=new vi({depthTest:!1,depthWrite:!1,fog:!1,toneMapped:!1,transparent:!0}),t=new fs({depthTest:!1,depthWrite:!1,fog:!1,toneMapped:!1,transparent:!0}),r=e.clone();r.opacity=.15;const n=t.clone();n.opacity=.5;const i=e.clone();i.color.setHex(16711680);const o=e.clone();o.color.setHex(65280);const s=e.clone();s.color.setHex(255);const a=e.clone();a.color.setHex(16711680),a.opacity=.5;const l=e.clone();l.color.setHex(65280),l.opacity=.5;const c=e.clone();c.color.setHex(255),c.opacity=.5;const u=e.clone();u.opacity=.25;const d=e.clone();d.color.setHex(16776960),d.opacity=.25;const h=e.clone();h.color.setHex(16776960);const p=e.clone();p.color.setHex(7895160),this.materialLib={xAxis:i,yAxis:o,zAxis:s,active:h,xAxisTransparent:a,yAxisTransparent:l,zAxisTransparent:c,activeTransparent:d};const m=new Ws(0,.04,.1,12);m.translate(0,.05,0);const _=new Ki(.08,.08,.08);_.translate(0,.04,0);const g=new Oi;g.setAttribute("position",new ki([0,0,0,1,0,0],3));const f=new Ws(.0075,.0075,.5,3);function v(e,t){const r=new el(e,.0075,3,64,t*Math.PI*2);return r.rotateY(Math.PI/2),r.rotateX(Math.PI/2),r}f.translate(0,.25,0);const b={X:[[new Yi(m,i),[.5,0,0],[0,0,-Math.PI/2]],[new Yi(m,i),[-.5,0,0],[0,0,Math.PI/2]],[new Yi(f,i),[0,0,0],[0,0,-Math.PI/2]]],Y:[[new Yi(m,o),[0,.5,0]],[new Yi(m,o),[0,-.5,0],[Math.PI,0,0]],[new Yi(f,o)]],Z:[[new Yi(m,s),[0,0,.5],[Math.PI/2,0,0]],[new Yi(m,s),[0,0,-.5],[-Math.PI/2,0,0]],[new Yi(f,s),null,[Math.PI/2,0,0]]],XYZ:[[new Yi(new Xa(.1,0),u),[0,0,0]]],XY:[[new Yi(new Ki(.15,.15,.01),c),[.15,.15,0]]],YZ:[[new Yi(new Ki(.15,.15,.01),a),[0,.15,.15],[0,Math.PI/2,0]]],XZ:[[new Yi(new Ki(.15,.15,.01),l),[.15,0,.15],[-Math.PI/2,0,0]]]},y={X:[[new Yi(new Ws(.2,0,.6,4),r),[.3,0,0],[0,0,-Math.PI/2]],[new Yi(new Ws(.2,0,.6,4),r),[-.3,0,0],[0,0,Math.PI/2]]],Y:[[new Yi(new Ws(.2,0,.6,4),r),[0,.3,0]],[new Yi(new Ws(.2,0,.6,4),r),[0,-.3,0],[0,0,Math.PI]]],Z:[[new Yi(new Ws(.2,0,.6,4),r),[0,0,.3],[Math.PI/2,0,0]],[new Yi(new Ws(.2,0,.6,4),r),[0,0,-.3],[-Math.PI/2,0,0]]],XYZ:[[new Yi(new Xa(.2,0),r)]],XY:[[new Yi(new Ki(.2,.2,.01),r),[.15,.15,0]]],YZ:[[new Yi(new Ki(.2,.2,.01),r),[0,.15,.15],[0,Math.PI/2,0]]],XZ:[[new Yi(new Ki(.2,.2,.01),r),[.15,0,.15],[-Math.PI/2,0,0]]]},$={START:[[new Yi(new Xa(.01,2),n),null,null,null,"helper"]],END:[[new Yi(new Xa(.01,2),n),null,null,null,"helper"]],DELTA:[[new As(function(){const e=new Oi;return e.setAttribute("position",new ki([0,0,0,1,1,1],3)),e}(),n),null,null,null,"helper"]],X:[[new As(g,n),[-1e3,0,0],null,[1e6,1,1],"helper"]],Y:[[new As(g,n),[0,-1e3,0],[0,0,Math.PI/2],[1e6,1,1],"helper"]],Z:[[new As(g,n),[0,0,-1e3],[0,-Math.PI/2,0],[1e6,1,1],"helper"]]},x={XYZE:[[new Yi(v(.5,1),p),null,[0,Math.PI/2,0]]],X:[[new Yi(v(.5,.5),i)]],Y:[[new Yi(v(.5,.5),o),null,[0,0,-Math.PI/2]]],Z:[[new Yi(v(.5,.5),s),null,[0,Math.PI/2,0]]],E:[[new Yi(v(.75,1),d),null,[0,Math.PI/2,0]]]},S={AXIS:[[new As(g,n),[-1e3,0,0],null,[1e6,1,1],"helper"]]},w={XYZE:[[new Yi(new Za(.25,10,8),r)]],X:[[new Yi(new el(.5,.1,4,24),r),[0,0,0],[0,-Math.PI/2,-Math.PI/2]]],Y:[[new Yi(new el(.5,.1,4,24),r),[0,0,0],[Math.PI/2,0,0]]],Z:[[new Yi(new el(.5,.1,4,24),r),[0,0,0],[0,0,-Math.PI/2]]],E:[[new Yi(new el(.75,.1,2,24),r)]]},A={X:[[new Yi(_,i),[.5,0,0],[0,0,-Math.PI/2]],[new Yi(f,i),[0,0,0],[0,0,-Math.PI/2]],[new Yi(_,i),[-.5,0,0],[0,0,Math.PI/2]]],Y:[[new Yi(_,o),[0,.5,0]],[new Yi(f,o)],[new Yi(_,o),[0,-.5,0],[0,0,Math.PI]]],Z:[[new Yi(_,s),[0,0,.5],[Math.PI/2,0,0]],[new Yi(f,s),[0,0,0],[Math.PI/2,0,0]],[new Yi(_,s),[0,0,-.5],[-Math.PI/2,0,0]]],XY:[[new Yi(new Ki(.15,.15,.01),c),[.15,.15,0]]],YZ:[[new Yi(new Ki(.15,.15,.01),a),[0,.15,.15],[0,Math.PI/2,0]]],XZ:[[new Yi(new Ki(.15,.15,.01),l),[.15,0,.15],[-Math.PI/2,0,0]]],XYZ:[[new Yi(new Ki(.1,.1,.1),u)]]},C={X:[[new Yi(new Ws(.2,0,.6,4),r),[.3,0,0],[0,0,-Math.PI/2]],[new Yi(new Ws(.2,0,.6,4),r),[-.3,0,0],[0,0,Math.PI/2]]],Y:[[new Yi(new Ws(.2,0,.6,4),r),[0,.3,0]],[new Yi(new Ws(.2,0,.6,4),r),[0,-.3,0],[0,0,Math.PI]]],Z:[[new Yi(new Ws(.2,0,.6,4),r),[0,0,.3],[Math.PI/2,0,0]],[new Yi(new Ws(.2,0,.6,4),r),[0,0,-.3],[-Math.PI/2,0,0]]],XY:[[new Yi(new Ki(.2,.2,.01),r),[.15,.15,0]]],YZ:[[new Yi(new Ki(.2,.2,.01),r),[0,.15,.15],[0,Math.PI/2,0]]],XZ:[[new Yi(new Ki(.2,.2,.01),r),[.15,0,.15],[-Math.PI/2,0,0]]],XYZ:[[new Yi(new Ki(.2,.2,.2),r),[0,0,0]]]},E={X:[[new As(g,n),[-1e3,0,0],null,[1e6,1,1],"helper"]],Y:[[new As(g,n),[0,-1e3,0],[0,0,Math.PI/2],[1e6,1,1],"helper"]],Z:[[new As(g,n),[0,0,-1e3],[0,-Math.PI/2,0],[1e6,1,1],"helper"]]};function I(e){const t=new qn;for(const r in e)for(let n=e[r].length;n--;){const i=e[r][n][0].clone(),o=e[r][n][1],s=e[r][n][2],a=e[r][n][3],l=e[r][n][4];i.name=r,i.tag=l,o&&i.position.set(o[0],o[1],o[2]),s&&i.rotation.set(s[0],s[1],s[2]),a&&i.scale.set(a[0],a[1],a[2]),i.updateMatrix();const c=i.geometry.clone();c.applyMatrix4(i.matrix),i.geometry=c,i.renderOrder=1/0,i.position.set(0,0,0),i.rotation.set(0,0,0),i.scale.set(1,1,1),t.add(i)}return t}this.gizmo={},this.picker={},this.helper={},this.add(this.gizmo.translate=I(b)),this.add(this.gizmo.rotate=I(x)),this.add(this.gizmo.scale=I(A)),this.add(this.picker.translate=I(y)),this.add(this.picker.rotate=I(w)),this.add(this.picker.scale=I(C)),this.add(this.helper.translate=I($)),this.add(this.helper.rotate=I(S)),this.add(this.helper.scale=I(E)),this.picker.translate.visible=!1,this.picker.rotate.visible=!1,this.picker.scale.visible=!1}updateMatrixWorld(e){const t="local"===("scale"===this.mode?"local":this.space)?this.worldQuaternion:g_;this.gizmo.translate.visible="translate"===this.mode,this.gizmo.rotate.visible="rotate"===this.mode,this.gizmo.scale.visible="scale"===this.mode,this.helper.translate.visible="translate"===this.mode,this.helper.rotate.visible="rotate"===this.mode,this.helper.scale.visible="scale"===this.mode;let r=[];r=r.concat(this.picker[this.mode].children),r=r.concat(this.gizmo[this.mode].children),r=r.concat(this.helper[this.mode].children);for(let e=0;e<r.length;e++){const n=r[e];let i;if(n.visible=!0,n.rotation.set(0,0,0),n.position.copy(this.worldPosition),i=this.camera.isOrthographicCamera?(this.camera.top-this.camera.bottom)/this.camera.zoom:this.worldPosition.distanceTo(this.cameraPosition)*Math.min(1.9*Math.tan(Math.PI*this.camera.fov/360)/this.camera.zoom,7),n.scale.set(1,1,1).multiplyScalar(i*this.size/4),"helper"!==n.tag){if(n.quaternion.copy(t),"translate"===this.mode||"scale"===this.mode){const e=.99,r=.2;"X"===n.name&&Math.abs(h_.copy(b_).applyQuaternion(t).dot(this.eye))>e&&(n.scale.set(1e-10,1e-10,1e-10),n.visible=!1),"Y"===n.name&&Math.abs(h_.copy(y_).applyQuaternion(t).dot(this.eye))>e&&(n.scale.set(1e-10,1e-10,1e-10),n.visible=!1),"Z"===n.name&&Math.abs(h_.copy($_).applyQuaternion(t).dot(this.eye))>e&&(n.scale.set(1e-10,1e-10,1e-10),n.visible=!1),"XY"===n.name&&Math.abs(h_.copy($_).applyQuaternion(t).dot(this.eye))<r&&(n.scale.set(1e-10,1e-10,1e-10),n.visible=!1),"YZ"===n.name&&Math.abs(h_.copy(b_).applyQuaternion(t).dot(this.eye))<r&&(n.scale.set(1e-10,1e-10,1e-10),n.visible=!1),"XZ"===n.name&&Math.abs(h_.copy(y_).applyQuaternion(t).dot(this.eye))<r&&(n.scale.set(1e-10,1e-10,1e-10),n.visible=!1)}else"rotate"===this.mode&&(__.copy(t),h_.copy(this.eye).applyQuaternion(Km.copy(t).invert()),-1!==n.name.search("E")&&n.quaternion.setFromRotationMatrix(m_.lookAt(this.eye,p_,y_)),"X"===n.name&&(Km.setFromAxisAngle(b_,Math.atan2(-h_.y,h_.z)),Km.multiplyQuaternions(__,Km),n.quaternion.copy(Km)),"Y"===n.name&&(Km.setFromAxisAngle(y_,Math.atan2(h_.x,h_.z)),Km.multiplyQuaternions(__,Km),n.quaternion.copy(Km)),"Z"===n.name&&(Km.setFromAxisAngle($_,Math.atan2(h_.y,h_.x)),Km.multiplyQuaternions(__,Km),n.quaternion.copy(Km)));n.visible=n.visible&&(-1===n.name.indexOf("X")||this.showX),n.visible=n.visible&&(-1===n.name.indexOf("Y")||this.showY),n.visible=n.visible&&(-1===n.name.indexOf("Z")||this.showZ),n.visible=n.visible&&(-1===n.name.indexOf("E")||this.showX&&this.showY&&this.showZ),n.material._color=n.material._color||n.material.color.clone(),n.material._opacity=n.material._opacity||n.material.opacity,n.material.color.copy(n.material._color),n.material.opacity=n.material._opacity,this.enabled&&this.axis&&(n.name===this.axis||this.axis.split("").some(function(e){return n.name===e}))&&(n.material.color.copy(this.materialLib.active.color),n.material.opacity=1)}else n.visible=!1,"AXIS"===n.name?(n.visible=!!this.axis,"X"===this.axis&&(Km.setFromEuler(d_.set(0,0,0)),n.quaternion.copy(t).multiply(Km),Math.abs(h_.copy(b_).applyQuaternion(t).dot(this.eye))>.9&&(n.visible=!1)),"Y"===this.axis&&(Km.setFromEuler(d_.set(0,0,Math.PI/2)),n.quaternion.copy(t).multiply(Km),Math.abs(h_.copy(y_).applyQuaternion(t).dot(this.eye))>.9&&(n.visible=!1)),"Z"===this.axis&&(Km.setFromEuler(d_.set(0,Math.PI/2,0)),n.quaternion.copy(t).multiply(Km),Math.abs(h_.copy($_).applyQuaternion(t).dot(this.eye))>.9&&(n.visible=!1)),"XYZE"===this.axis&&(Km.setFromEuler(d_.set(0,Math.PI/2,0)),h_.copy(this.rotationAxis),n.quaternion.setFromRotationMatrix(m_.lookAt(p_,h_,y_)),n.quaternion.multiply(Km),n.visible=this.dragging),"E"===this.axis&&(n.visible=!1)):"START"===n.name?(n.position.copy(this.worldPositionStart),n.visible=this.dragging):"END"===n.name?(n.position.copy(this.worldPosition),n.visible=this.dragging):"DELTA"===n.name?(n.position.copy(this.worldPositionStart),n.quaternion.copy(this.worldQuaternionStart),Ym.set(1e-10,1e-10,1e-10).add(this.worldPositionStart).sub(this.worldPosition).multiplyScalar(-1),Ym.applyQuaternion(this.worldQuaternionStart.clone().invert()),n.scale.copy(Ym),n.visible=this.dragging):(n.quaternion.copy(t),this.dragging?n.position.copy(this.worldPositionStart):n.position.copy(this.worldPosition),this.axis&&(n.visible=-1!==this.axis.search(n.name)))}super.updateMatrixWorld(e)}}class E_ extends Yi{constructor(){super(new Ka(1e5,1e5,2,2),new vi({visible:!1,wireframe:!0,side:2,transparent:!0,opacity:.1,toneMapped:!1})),this.isTransformControlsPlane=!0,this.type="TransformControlsPlane"}updateMatrixWorld(e){let t=this.space;switch(this.position.copy(this.worldPosition),"scale"===this.mode&&(t="local"),x_.copy(b_).applyQuaternion("local"===t?this.worldQuaternion:g_),S_.copy(y_).applyQuaternion("local"===t?this.worldQuaternion:g_),w_.copy($_).applyQuaternion("local"===t?this.worldQuaternion:g_),h_.copy(S_),this.mode){case"translate":case"scale":switch(this.axis){case"X":h_.copy(this.eye).cross(x_),f_.copy(x_).cross(h_);break;case"Y":h_.copy(this.eye).cross(S_),f_.copy(S_).cross(h_);break;case"Z":h_.copy(this.eye).cross(w_),f_.copy(w_).cross(h_);break;case"XY":f_.copy(w_);break;case"YZ":f_.copy(x_);break;case"XZ":h_.copy(w_),f_.copy(S_);break;case"XYZ":case"E":f_.set(0,0,0)}break;default:f_.set(0,0,0)}0===f_.length()?this.quaternion.copy(this.cameraQuaternion):(v_.lookAt(Ym.set(0,0,0),f_,h_),this.quaternion.setFromRotationMatrix(v_)),super.updateMatrixWorld(e)}}const I_=new xn;class M_{constructor(e){e=e||{},this.zNear=!0===e.webGL?-1:0,this.vertices={near:[new br,new br,new br,new br],far:[new br,new br,new br,new br]},void 0!==e.projectionMatrix&&this.setFromProjectionMatrix(e.projectionMatrix,e.maxFar||1e4)}setFromProjectionMatrix(e,t){const r=this.zNear,n=0===e.elements[11];return I_.copy(e).invert(),this.vertices.near[0].set(1,1,r),this.vertices.near[1].set(1,-1,r),this.vertices.near[2].set(-1,-1,r),this.vertices.near[3].set(-1,1,r),this.vertices.near.forEach(function(e){e.applyMatrix4(I_)}),this.vertices.far[0].set(1,1,1),this.vertices.far[1].set(1,-1,1),this.vertices.far[2].set(-1,-1,1),this.vertices.far[3].set(-1,1,1),this.vertices.far.forEach(function(e){e.applyMatrix4(I_);const r=Math.abs(e.z);n?e.z*=Math.min(t/r,1):e.multiplyScalar(Math.min(t/r,1))}),this.vertices}split(e,t){for(;e.length>t.length;)t.push(new M_);t.length=e.length;for(let r=0;r<e.length;r++){const n=t[r];if(0===r)for(let e=0;e<4;e++)n.vertices.near[e].copy(this.vertices.near[e]);else for(let t=0;t<4;t++)n.vertices.near[t].lerpVectors(this.vertices.near[t],this.vertices.far[t],e[r-1]);if(r===e.length-1)for(let e=0;e<4;e++)n.vertices.far[e].copy(this.vertices.far[e]);else for(let t=0;t<4;t++)n.vertices.far[t].lerpVectors(this.vertices.near[t],this.vertices.far[t],e[r])}}toSpace(e,t){for(let r=0;r<4;r++)t.vertices.near[r].copy(this.vertices.near[r]).applyMatrix4(e),t.vertices.far[r].copy(this.vertices.far[r]).applyMatrix4(e)}}const k_={lights_fragment_begin:"\nvec3 geometryPosition = - vViewPosition;\nvec3 geometryNormal = normal;\nvec3 geometryViewDir = ( isOrthographic ) ? vec3( 0, 0, 1 ) : normalize( vViewPosition );\n\nvec3 geometryClearcoatNormal = vec3( 0.0 );\n\n#ifdef USE_CLEARCOAT\n\n\tgeometryClearcoatNormal = clearcoatNormal;\n\n#endif\n\n#ifdef USE_IRIDESCENCE\n\tfloat dotNVi = saturate( dot( normal, geometryViewDir ) );\n\tif ( material.iridescenceThickness == 0.0 ) {\n\t\tmaterial.iridescence = 0.0;\n\t} else {\n\t\tmaterial.iridescence = saturate( material.iridescence );\n\t}\n\tif ( material.iridescence > 0.0 ) {\n\t\tmaterial.iridescenceFresnel = evalIridescence( 1.0, material.iridescenceIOR, dotNVi, material.iridescenceThickness, material.specularColor );\n\t\t// Iridescence F0 approximation\n\t\tmaterial.iridescenceF0 = Schlick_to_F0( material.iridescenceFresnel, 1.0, dotNVi );\n\t}\n#endif\n\nIncidentLight directLight;\n\n#if ( NUM_POINT_LIGHTS > 0 ) && defined( RE_Direct )\n\n\tPointLight pointLight;\n\t#if defined( USE_SHADOWMAP ) && NUM_POINT_LIGHT_SHADOWS > 0\n\tPointLightShadow pointLightShadow;\n\t#endif\n\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_POINT_LIGHTS; i ++ ) {\n\n\t\tpointLight = pointLights[ i ];\n\n\t\tgetPointLightInfo( pointLight, geometryPosition, directLight );\n\n\t\t#if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_POINT_LIGHT_SHADOWS )\n\t\tpointLightShadow = pointLightShadows[ i ];\n\t\tdirectLight.color *= ( directLight.visible && receiveShadow ) ? getPointShadow( pointShadowMap[ i ], pointLightShadow.shadowMapSize, pointLightShadow.shadowIntensity, pointLightShadow.shadowBias, pointLightShadow.shadowRadius, vPointShadowCoord[ i ], pointLightShadow.shadowCameraNear, pointLightShadow.shadowCameraFar ) : 1.0;\n\n\t\t#endif\n\n\t\tRE_Direct( directLight, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight );\n\n\t}\n\t#pragma unroll_loop_end\n\n#endif\n\n#if ( NUM_SPOT_LIGHTS > 0 ) && defined( RE_Direct )\n\n\tSpotLight spotLight;\n \tvec4 spotColor;\n\tvec3 spotLightCoord;\n\tbool inSpotLightMap;\n\n\t#if defined( USE_SHADOWMAP ) && NUM_SPOT_LIGHT_SHADOWS > 0\n\tSpotLightShadow spotLightShadow;\n\t#endif\n\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_SPOT_LIGHTS; i ++ ) {\n\n\t\tspotLight = spotLights[ i ];\n\n\t\tgetSpotLightInfo( spotLight, geometryPosition, directLight );\n\n  \t\t// spot lights are ordered [shadows with maps, shadows without maps, maps without shadows, none]\n\t\t#if ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS_WITH_MAPS )\n\t\t#define SPOT_LIGHT_MAP_INDEX UNROLLED_LOOP_INDEX\n\t\t#elif ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS )\n\t\t#define SPOT_LIGHT_MAP_INDEX NUM_SPOT_LIGHT_MAPS\n\t\t#else\n\t\t#define SPOT_LIGHT_MAP_INDEX ( UNROLLED_LOOP_INDEX - NUM_SPOT_LIGHT_SHADOWS + NUM_SPOT_LIGHT_SHADOWS_WITH_MAPS )\n\t\t#endif\n\t\t#if ( SPOT_LIGHT_MAP_INDEX < NUM_SPOT_LIGHT_MAPS )\n\t\t\tspotLightCoord = vSpotLightCoord[ i ].xyz / vSpotLightCoord[ i ].w;\n\t\t\tinSpotLightMap = all( lessThan( abs( spotLightCoord * 2. - 1. ), vec3( 1.0 ) ) );\n\t\t\tspotColor = texture2D( spotLightMap[ SPOT_LIGHT_MAP_INDEX ], spotLightCoord.xy );\n\t\t\tdirectLight.color = inSpotLightMap ? directLight.color * spotColor.rgb : directLight.color;\n\t\t#endif\n\t\t#undef SPOT_LIGHT_MAP_INDEX\n\n\t\t#if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_SPOT_LIGHT_SHADOWS )\n\t\tspotLightShadow = spotLightShadows[ i ];\n\t\tdirectLight.color *= ( directLight.visible && receiveShadow ) ? getShadow( spotShadowMap[ i ], spotLightShadow.shadowMapSize, spotLightShadow.shadowIntensity, spotLightShadow.shadowBias, spotLightShadow.shadowRadius, vSpotLightCoord[ i ] ) : 1.0;\n\n\t\t#endif\n\n\t\tRE_Direct( directLight, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight );\n\n\t}\n\t#pragma unroll_loop_end\n\n#endif\n\n#if ( NUM_DIR_LIGHTS > 0 ) && defined( RE_Direct ) && defined( USE_CSM ) && defined( CSM_CASCADES )\n\n\tDirectionalLight directionalLight;\n\tfloat linearDepth = (vViewPosition.z) / (shadowFar - cameraNear);\n\t#if defined( USE_SHADOWMAP ) && NUM_DIR_LIGHT_SHADOWS > 0\n\tDirectionalLightShadow directionalLightShadow;\n\t#endif\n\n\t#if defined( USE_SHADOWMAP ) && defined( CSM_FADE )\n\t\tvec2 cascade;\n\t\tfloat cascadeCenter;\n\t\tfloat closestEdge;\n\t\tfloat margin;\n\t\tfloat csmx;\n\t\tfloat csmy;\n\n\t\t#pragma unroll_loop_start\n\t\tfor ( int i = 0; i < NUM_DIR_LIGHTS; i ++ ) {\n\n\t\t\tdirectionalLight = directionalLights[ i ];\n\t\t\tgetDirectionalLightInfo( directionalLight, directLight );\n\n\t\t\t#if ( UNROLLED_LOOP_INDEX < NUM_DIR_LIGHT_SHADOWS )\n\t\t\t\t// NOTE: Depth gets larger away from the camera.\n\t\t\t\t// cascade.x is closer, cascade.y is further\n\t\t\t\tcascade = CSM_cascades[ i ];\n\t\t\t\tcascadeCenter = ( cascade.x + cascade.y ) / 2.0;\n\t\t\t\tclosestEdge = linearDepth < cascadeCenter ? cascade.x : cascade.y;\n\t\t\t\tmargin = 0.25 * pow( closestEdge, 2.0 );\n\t\t\t\tcsmx = cascade.x - margin / 2.0;\n\t\t\t\tcsmy = cascade.y + margin / 2.0;\n\t\t\t\tif( linearDepth >= csmx && ( linearDepth < csmy || UNROLLED_LOOP_INDEX == CSM_CASCADES - 1 ) ) {\n\n\t\t\t\t\tfloat dist = min( linearDepth - csmx, csmy - linearDepth );\n\t\t\t\t\tfloat ratio = clamp( dist / margin, 0.0, 1.0 );\n\n\t\t\t\t\tvec3 prevColor = directLight.color;\n\t\t\t\t\tdirectionalLightShadow = directionalLightShadows[ i ];\n\t\t\t\t\tdirectLight.color *= ( directLight.visible && receiveShadow ) ? getShadow( directionalShadowMap[ i ], directionalLightShadow.shadowMapSize, directionalLightShadow.shadowIntensity, directionalLightShadow.shadowBias, directionalLightShadow.shadowRadius, vDirectionalShadowCoord[ i ] ) : 1.0;\n\n\t\t\t\t\tbool shouldFadeLastCascade = UNROLLED_LOOP_INDEX == CSM_CASCADES - 1 && linearDepth > cascadeCenter;\n\t\t\t\t\tdirectLight.color = mix( prevColor, directLight.color, shouldFadeLastCascade ? ratio : 1.0 );\n\n\t\t\t\t\tReflectedLight prevLight = reflectedLight;\n\t\t\t\t\tRE_Direct( directLight, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight );\n\n\t\t\t\t\tbool shouldBlend = UNROLLED_LOOP_INDEX != CSM_CASCADES - 1 || UNROLLED_LOOP_INDEX == CSM_CASCADES - 1 && linearDepth < cascadeCenter;\n\t\t\t\t\tfloat blendRatio = shouldBlend ? ratio : 1.0;\n\n\t\t\t\t\treflectedLight.directDiffuse = mix( prevLight.directDiffuse, reflectedLight.directDiffuse, blendRatio );\n\t\t\t\t\treflectedLight.directSpecular = mix( prevLight.directSpecular, reflectedLight.directSpecular, blendRatio );\n\t\t\t\t\treflectedLight.indirectDiffuse = mix( prevLight.indirectDiffuse, reflectedLight.indirectDiffuse, blendRatio );\n\t\t\t\t\treflectedLight.indirectSpecular = mix( prevLight.indirectSpecular, reflectedLight.indirectSpecular, blendRatio );\n\n\t\t\t\t}\n\t\t\t#endif\n\n\t\t}\n\t\t#pragma unroll_loop_end\n\t#elif defined (USE_SHADOWMAP)\n\n\t\t#pragma unroll_loop_start\n\t\tfor ( int i = 0; i < NUM_DIR_LIGHTS; i ++ ) {\n\n\t\t\tdirectionalLight = directionalLights[ i ];\n\t\t\tgetDirectionalLightInfo( directionalLight, directLight );\n\n\t\t\t#if ( UNROLLED_LOOP_INDEX < NUM_DIR_LIGHT_SHADOWS )\n\n\t\t\t\tdirectionalLightShadow = directionalLightShadows[ i ];\n\t\t\t\tif(linearDepth >= CSM_cascades[UNROLLED_LOOP_INDEX].x && linearDepth < CSM_cascades[UNROLLED_LOOP_INDEX].y) directLight.color *= ( directLight.visible && receiveShadow ) ? getShadow( directionalShadowMap[ i ], directionalLightShadow.shadowMapSize, directionalLightShadow.shadowIntensity, directionalLightShadow.shadowBias, directionalLightShadow.shadowRadius, vDirectionalShadowCoord[ i ] ) : 1.0;\n\n\t\t\t\tif(linearDepth >= CSM_cascades[UNROLLED_LOOP_INDEX].x && (linearDepth < CSM_cascades[UNROLLED_LOOP_INDEX].y || UNROLLED_LOOP_INDEX == CSM_CASCADES - 1)) RE_Direct( directLight, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight );\n\n\t\t\t#endif\n\n\t\t}\n\t\t#pragma unroll_loop_end\n\n\t#elif ( NUM_DIR_LIGHT_SHADOWS > 0 )\n\t\t// note: no loop here - all CSM lights are in fact one light only\n\t\tgetDirectionalLightInfo( directionalLights[0], directLight );\n\t\tRE_Direct( directLight, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight );\n\n\t#endif\n\n\t#if ( NUM_DIR_LIGHTS > NUM_DIR_LIGHT_SHADOWS)\n\t\t// compute the lights not casting shadows (if any)\n\n\t\t#pragma unroll_loop_start\n\t\tfor ( int i = NUM_DIR_LIGHT_SHADOWS; i < NUM_DIR_LIGHTS; i ++ ) {\n\n\t\t\tdirectionalLight = directionalLights[ i ];\n\n\t\t\tgetDirectionalLightInfo( directionalLight, directLight );\n\n\t\t\tRE_Direct( directLight, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight );\n\n\t\t}\n\t\t#pragma unroll_loop_end\n\n\t#endif\n\n#endif\n\n\n#if ( NUM_DIR_LIGHTS > 0 ) && defined( RE_Direct ) && !defined( USE_CSM ) && !defined( CSM_CASCADES )\n\n\tDirectionalLight directionalLight;\n\t#if defined( USE_SHADOWMAP ) && NUM_DIR_LIGHT_SHADOWS > 0\n\tDirectionalLightShadow directionalLightShadow;\n\t#endif\n\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_DIR_LIGHTS; i ++ ) {\n\n\t\tdirectionalLight = directionalLights[ i ];\n\n\t\tgetDirectionalLightInfo( directionalLight, directLight );\n\n\t\t#if defined( USE_SHADOWMAP ) && ( UNROLLED_LOOP_INDEX < NUM_DIR_LIGHT_SHADOWS )\n\t\tdirectionalLightShadow = directionalLightShadows[ i ];\n\t\tdirectLight.color *= ( directLight.visible && receiveShadow ) ? getShadow( directionalShadowMap[ i ], directionalLightShadow.shadowMapSize, directionalLightShadow.shadowIntensity, directionalLightShadow.shadowBias, directionalLightShadow.shadowRadius, vDirectionalShadowCoord[ i ] ) : 1.0;\n\t\t#endif\n\n\t\tRE_Direct( directLight, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight );\n\n\t}\n\t#pragma unroll_loop_end\n\n#endif\n\n#if ( NUM_RECT_AREA_LIGHTS > 0 ) && defined( RE_Direct_RectArea )\n\n\tRectAreaLight rectAreaLight;\n\n\t#pragma unroll_loop_start\n\tfor ( int i = 0; i < NUM_RECT_AREA_LIGHTS; i ++ ) {\n\n\t\trectAreaLight = rectAreaLights[ i ];\n\t\tRE_Direct_RectArea( rectAreaLight, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight );\n\n\t}\n\t#pragma unroll_loop_end\n\n#endif\n\n#if defined( RE_IndirectDiffuse )\n\n\tvec3 iblIrradiance = vec3( 0.0 );\n\n\tvec3 irradiance = getAmbientLightIrradiance( ambientLightColor );\n\n\t#if defined( USE_LIGHT_PROBES )\n\n\t\tirradiance += getLightProbeIrradiance( lightProbe, geometryNormal );\n\n\t#endif\n\n\t#if ( NUM_HEMI_LIGHTS > 0 )\n\n\t\t#pragma unroll_loop_start\n\t\tfor ( int i = 0; i < NUM_HEMI_LIGHTS; i ++ ) {\n\n\t\t\tirradiance += getHemisphereLightIrradiance( hemisphereLights[ i ], geometryNormal );\n\n\t\t}\n\t\t#pragma unroll_loop_end\n\n\t#endif\n\n#endif\n\n#if defined( RE_IndirectSpecular )\n\n\tvec3 radiance = vec3( 0.0 );\n\tvec3 clearcoatRadiance = vec3( 0.0 );\n\n#endif\n",lights_pars_begin:"\n#if defined( USE_CSM ) && defined( CSM_CASCADES )\nuniform vec2 CSM_cascades[CSM_CASCADES];\nuniform float cameraNear;\nuniform float shadowFar;\n#endif\n\t"+Bu.lights_pars_begin},T_=new xn,R_=new M_({webGL:!0}),L_=new br,P_=new Qr,D_=[],N_=[],F_=new xn,O_=new xn,B_=new br(0,1,0);class U_{constructor(e){this.camera=e.camera,this.parent=e.parent,this.cascades=e.cascades||3,this.maxFar=e.maxFar||1e5,this.mode=e.mode||"practical",this.shadowMapSize=e.shadowMapSize||2048,this.shadowBias=e.shadowBias||1e-6,this.lightDirection=e.lightDirection||new br(1,-1,1).normalize(),this.lightIntensity=e.lightIntensity||3,this.lightNear=e.lightNear||1,this.lightFar=e.lightFar||2e3,this.lightMargin=e.lightMargin||200,this.customSplitsCallback=e.customSplitsCallback,this.fade=!1,this.mainFrustum=new M_({webGL:!0}),this.frustums=[],this.breaks=[],this.lights=[],this.shaders=new Map,this._createLights(),this.updateFrustums(),this._injectInclude()}_createLights(){for(let e=0;e<this.cascades;e++){const e=new oc(16777215,this.lightIntensity);e.castShadow=!0,e.shadow.mapSize.width=this.shadowMapSize,e.shadow.mapSize.height=this.shadowMapSize,e.shadow.camera.near=this.lightNear,e.shadow.camera.far=this.lightFar,e.shadow.bias=this.shadowBias,this.parent.add(e),this.parent.add(e.target),this.lights.push(e)}}_initCascades(){const e=this.camera;e.updateProjectionMatrix(),this.mainFrustum.setFromProjectionMatrix(e.projectionMatrix,this.maxFar),this.mainFrustum.split(this.breaks,this.frustums)}_updateShadowBounds(){const e=this.frustums;for(let t=0;t<e.length;t++){const e=this.lights[t].shadow.camera,r=this.frustums[t],n=r.vertices.near,i=r.vertices.far,o=i[0];let s;s=o.distanceTo(i[2])>o.distanceTo(n[2])?i[2]:n[2];let a=o.distanceTo(s);if(this.fade){const e=this.camera,t=Math.max(e.far,this.maxFar),n=r.vertices.far[0].z/(t-e.near);a+=.25*Math.pow(n,2)*(t-e.near)}e.left=-a/2,e.right=a/2,e.top=a/2,e.bottom=-a/2,e.updateProjectionMatrix()}}_getBreaks(){const e=this.camera,t=Math.min(e.far,this.maxFar);switch(this.breaks.length=0,this.mode){case"uniform":r(this.cascades,e.near,t,this.breaks);break;case"logarithmic":n(this.cascades,e.near,t,this.breaks);break;case"practical":!function(e,t,i,o,s){D_.length=0,N_.length=0,n(e,t,i,N_),r(e,t,i,D_);for(let t=1;t<e;t++)s.push(gr.lerp(D_[t-1],N_[t-1],o));s.push(1)}(this.cascades,e.near,t,.5,this.breaks);break;case"custom":void 0===this.customSplitsCallback&&console.error("CSM: Custom split scheme callback not defined."),this.customSplitsCallback(this.cascades,e.near,t,this.breaks)}function r(e,t,r,n){for(let i=1;i<e;i++)n.push((t+(r-t)*i/e)/r);n.push(1)}function n(e,t,r,n){for(let i=1;i<e;i++)n.push(t*(r/t)**(i/e)/r);n.push(1)}}update(){const e=this.camera,t=this.frustums;F_.lookAt(new br,this.lightDirection,B_),O_.copy(F_).invert();for(let r=0;r<t.length;r++){const n=this.lights[r],i=n.shadow.camera,o=(i.right-i.left)/this.shadowMapSize,s=(i.top-i.bottom)/this.shadowMapSize;T_.multiplyMatrices(O_,e.matrixWorld),t[r].toSpace(T_,R_);const a=R_.vertices.near,l=R_.vertices.far;P_.makeEmpty();for(let e=0;e<4;e++)P_.expandByPoint(a[e]),P_.expandByPoint(l[e]);P_.getCenter(L_),L_.z=P_.max.z+this.lightMargin,L_.x=Math.floor(L_.x/o)*o,L_.y=Math.floor(L_.y/s)*s,L_.applyMatrix4(F_),n.position.copy(L_),n.target.position.copy(L_),n.target.position.x+=this.lightDirection.x,n.target.position.y+=this.lightDirection.y,n.target.position.z+=this.lightDirection.z}}_injectInclude(){Bu.lights_fragment_begin=k_.lights_fragment_begin,Bu.lights_pars_begin=k_.lights_pars_begin}setupMaterial(e){e.defines=e.defines||{},e.defines.USE_CSM=1,e.defines.CSM_CASCADES=this.cascades,this.fade&&(e.defines.CSM_FADE="");const t=[],r=this,n=this.shaders;e.onBeforeCompile=function(i){const o=Math.min(r.camera.far,r.maxFar);r._getExtendedBreaks(t),i.uniforms.CSM_cascades={value:t},i.uniforms.cameraNear={value:r.camera.near},i.uniforms.shadowFar={value:o},n.set(e,i)},n.set(e,null)}_updateUniforms(){const e=Math.min(this.camera.far,this.maxFar);this.shaders.forEach(function(t,r){if(null!==t){const r=t.uniforms;this._getExtendedBreaks(r.CSM_cascades.value),r.cameraNear.value=this.camera.near,r.shadowFar.value=e}!this.fade&&"CSM_FADE"in r.defines?(delete r.defines.CSM_FADE,r.needsUpdate=!0):this.fade&&!("CSM_FADE"in r.defines)&&(r.defines.CSM_FADE="",r.needsUpdate=!0)},this)}_getExtendedBreaks(e){for(;e.length<this.breaks.length;)e.push(new fr);e.length=this.breaks.length;for(let t=0;t<this.cascades;t++){const r=this.breaks[t],n=this.breaks[t-1]||0;e[t].x=n,e[t].y=r}}updateFrustums(){this._getBreaks(),this._initCascades(),this._updateShadowBounds(),this._updateUniforms()}remove(){for(let e=0;e<this.lights.length;e++)this.parent.remove(this.lights[e].target),this.parent.remove(this.lights[e])}dispose(){const e=this.shaders;e.forEach(function(e,t){delete t.onBeforeCompile,delete t.defines.USE_CSM,delete t.defines.CSM_CASCADES,delete t.defines.CSM_FADE,null!==e&&(delete e.uniforms.CSM_cascades,delete e.uniforms.cameraNear,delete e.uniforms.shadowFar),t.needsUpdate=!0}),e.clear()}}class V_{constructor(){this.isPass=!0,this.enabled=!0,this.needsSwap=!0,this.clear=!1,this.renderToScreen=!1}setSize(){}render(){console.error("THREE.Pass: .render() must be implemented in derived pass.")}dispose(){}}const z_=new nc(-1,1,1,-1,0,1);const H_=new class extends Oi{constructor(){super(),this.setAttribute("position",new ki([-1,3,0,-1,-1,0,3,-1,0],3)),this.setAttribute("uv",new ki([0,2,0,0,2,0],2))}};class G_{constructor(e){this._mesh=new Yi(H_,e)}dispose(){this._mesh.geometry.dispose()}render(e){e.render(this._mesh,z_)}get material(){return this._mesh.material}set material(e){this._mesh.material=e}}class j_ extends bo{constructor(){super();const e=new Ki;e.deleteAttribute("uv");const t=new lu({side:1}),r=new lu,n=new rc(16777215,900,28,2);n.position.set(.418,16.199,.3),this.add(n);const i=new Yi(e,t);i.position.set(-.757,13.219,.717),i.scale.set(31.713,28.305,28.591),this.add(i);const o=new ls(e,r,6),s=new qn;s.position.set(-10.906,2.009,1.846),s.rotation.set(0,-.195,0),s.scale.set(2.328,7.905,4.651),s.updateMatrix(),o.setMatrixAt(0,s.matrix),s.position.set(-5.607,-.754,-.758),s.rotation.set(0,.994,0),s.scale.set(1.97,1.534,3.955),s.updateMatrix(),o.setMatrixAt(1,s.matrix),s.position.set(6.167,.857,7.803),s.rotation.set(0,.561,0),s.scale.set(3.927,6.285,3.687),s.updateMatrix(),o.setMatrixAt(2,s.matrix),s.position.set(-2.017,.018,6.124),s.rotation.set(0,.333,0),s.scale.set(2.002,4.566,2.064),s.updateMatrix(),o.setMatrixAt(3,s.matrix),s.position.set(2.291,-.756,-2.621),s.rotation.set(0,-.286,0),s.scale.set(1.546,1.552,1.496),s.updateMatrix(),o.setMatrixAt(4,s.matrix),s.position.set(-2.193,-.369,-5.547),s.rotation.set(0,.516,0),s.scale.set(3.875,3.487,2.986),s.updateMatrix(),o.setMatrixAt(5,s.matrix),this.add(o);const a=new Yi(e,J_(50));a.position.set(-16.116,14.37,8.208),a.scale.set(.1,2.428,2.739),this.add(a);const l=new Yi(e,J_(50));l.position.set(-16.109,18.021,-8.207),l.scale.set(.1,2.425,2.751),this.add(l);const c=new Yi(e,J_(17));c.position.set(14.904,12.198,-1.832),c.scale.set(.15,4.265,6.331),this.add(c);const u=new Yi(e,J_(43));u.position.set(-.462,8.89,14.52),u.scale.set(4.38,5.441,.088),this.add(u);const d=new Yi(e,J_(20));d.position.set(3.235,11.486,-12.541),d.scale.set(2.5,2,.1),this.add(d);const h=new Yi(e,J_(100));h.position.set(0,20,0),h.scale.set(1,.1,1),this.add(h)}dispose(){const e=new Set;this.traverse(t=>{t.isMesh&&(e.add(t.geometry),e.add(t.material))});for(const t of e)t.dispose()}}function J_(e){return new cl({color:0,emissive:16777215,emissiveIntensity:e})}class W_{parse(e,t={}){if(t=Object.assign({decodeSpeed:5,encodeSpeed:5,encoderMethod:W_.MESH_EDGEBREAKER_ENCODING,quantization:[16,8,8,8,8],exportUvs:!0,exportNormals:!0,exportColor:!1},t),void 0===DracoEncoderModule)throw new Error("THREE.DRACOExporter: required the draco_encoder to work.");const r=e.geometry,n=DracoEncoderModule(),i=new n.Encoder;let o,s;if(!0===e.isMesh){o=new n.MeshBuilder,s=new n.Mesh;const e=r.getAttribute("position");o.AddFloatAttributeToMesh(s,n.POSITION,e.count,e.itemSize,e.array);const i=r.getIndex();if(null!==i)o.AddFacesToMesh(s,i.count/3,i.array);else{const t=new(e.count>65535?Uint32Array:Uint16Array)(e.count);for(let e=0;e<t.length;e++)t[e]=e;o.AddFacesToMesh(s,e.count,t)}if(!0===t.exportNormals){const e=r.getAttribute("normal");void 0!==e&&o.AddFloatAttributeToMesh(s,n.NORMAL,e.count,e.itemSize,e.array)}if(!0===t.exportUvs){const e=r.getAttribute("uv");void 0!==e&&o.AddFloatAttributeToMesh(s,n.TEX_COORD,e.count,e.itemSize,e.array)}if(!0===t.exportColor){const e=r.getAttribute("color");if(void 0!==e){const t=Q_(e);o.AddFloatAttributeToMesh(s,n.COLOR,e.count,e.itemSize,t)}}}else{if(!0!==e.isPoints)throw new Error("DRACOExporter: Unsupported object type.");{o=new n.PointCloudBuilder,s=new n.PointCloud;const e=r.getAttribute("position");if(o.AddFloatAttribute(s,n.POSITION,e.count,e.itemSize,e.array),!0===t.exportColor){const e=r.getAttribute("color");if(void 0!==e){const t=Q_(e);o.AddFloatAttribute(s,n.COLOR,e.count,e.itemSize,t)}}}}const a=new n.DracoInt8Array,l=void 0!==t.encodeSpeed?t.encodeSpeed:5,c=void 0!==t.decodeSpeed?t.decodeSpeed:5;if(i.SetSpeedOptions(l,c),void 0!==t.encoderMethod&&i.SetEncodingMethod(t.encoderMethod),void 0!==t.quantization)for(let e=0;e<5;e++)void 0!==t.quantization[e]&&i.SetAttributeQuantization(e,t.quantization[e]);let u;if(u=!0===e.isMesh?i.EncodeMeshToDracoBuffer(s,a):i.EncodePointCloudToDracoBuffer(s,!0,a),n.destroy(s),0===u)throw new Error("THREE.DRACOExporter: Draco encoding failed.");const d=new Int8Array(new ArrayBuffer(u));for(let e=0;e<u;e++)d[e]=a.GetValue(e);return n.destroy(a),n.destroy(i),n.destroy(o),d}}function Q_(e){const t=new mi,r=e.count,n=e.itemSize,i=new Float32Array(r*n);for(let o=0,s=r;o<s;o++)t.fromBufferAttribute(e,o),Rr.workingToColorSpace(t,zt),i[o*n]=t.r,i[o*n+1]=t.g,i[o*n+2]=t.b,4===n&&(i[o*n+3]=e.getW(o));return i}W_.MESH_EDGEBREAKER_ENCODING=1,W_.MESH_SEQUENTIAL_ENCODING=0,W_.POINT_CLOUD=0,W_.TRIANGULAR_MESH=1,W_.INVALID=-1,W_.POSITION=0,W_.NORMAL=1,W_.COLOR=2,W_.TEX_COORD=3,W_.GENERIC=4;var q_=Uint8Array,Y_=Uint16Array,X_=Int32Array,K_=new q_([0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0]),Z_=new q_([0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0]),eg=new q_([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),tg=function(e,t){for(var r=new Y_(31),n=0;n<31;++n)r[n]=t+=1<<e[n-1];var i=new X_(r[30]);for(n=1;n<30;++n)for(var o=r[n];o<r[n+1];++o)i[o]=o-r[n]<<5|n;return{b:r,r:i}},rg=tg(K_,2),ng=rg.b,ig=rg.r;ng[28]=258,ig[258]=28;for(var og=tg(Z_,0),sg=og.b,ag=og.r,lg=new Y_(32768),cg=0;cg<32768;++cg){var ug=(43690&cg)>>1|(21845&cg)<<1;ug=(61680&(ug=(52428&ug)>>2|(13107&ug)<<2))>>4|(3855&ug)<<4,lg[cg]=((65280&ug)>>8|(255&ug)<<8)>>1}var dg=function(e,t,r){for(var n=e.length,i=0,o=new Y_(t);i<n;++i)e[i]&&++o[e[i]-1];var s,a=new Y_(t);for(i=1;i<t;++i)a[i]=a[i-1]+o[i-1]<<1;if(r){s=new Y_(1<<t);var l=15-t;for(i=0;i<n;++i)if(e[i])for(var c=i<<4|e[i],u=t-e[i],d=a[e[i]-1]++<<u,h=d|(1<<u)-1;d<=h;++d)s[lg[d]>>l]=c}else for(s=new Y_(n),i=0;i<n;++i)e[i]&&(s[i]=lg[a[e[i]-1]++]>>15-e[i]);return s},hg=new q_(288);for(cg=0;cg<144;++cg)hg[cg]=8;for(cg=144;cg<256;++cg)hg[cg]=9;for(cg=256;cg<280;++cg)hg[cg]=7;for(cg=280;cg<288;++cg)hg[cg]=8;var pg=new q_(32);for(cg=0;cg<32;++cg)pg[cg]=5;var mg=dg(hg,9,0),_g=dg(hg,9,1),gg=dg(pg,5,0),fg=dg(pg,5,1),vg=function(e){for(var t=e[0],r=1;r<e.length;++r)e[r]>t&&(t=e[r]);return t},bg=function(e,t,r){var n=t/8|0;return(e[n]|e[n+1]<<8)>>(7&t)&r},yg=function(e,t){var r=t/8|0;return(e[r]|e[r+1]<<8|e[r+2]<<16)>>(7&t)},$g=function(e){return(e+7)/8|0},xg=function(e,t,r){return(null==t||t<0)&&(t=0),(null==r||r>e.length)&&(r=e.length),new q_(e.subarray(t,r))},Sg=["unexpected EOF","invalid block type","invalid length/literal","invalid distance","stream finished","no stream handler",,"no callback","invalid UTF-8 data","extra field too long","date not in range 1980-2099","filename too long","stream finishing","invalid zip data"],wg=function(e,t,r){var n=new Error(t||Sg[e]);if(n.code=e,Error.captureStackTrace&&Error.captureStackTrace(n,wg),!r)throw n;return n},Ag=function(e,t,r,n){var i=e.length,o=n?n.length:0;if(!i||t.f&&!t.l)return r||new q_(0);var s=!r,a=s||2!=t.i,l=t.i;s&&(r=new q_(3*i));var c=function(e){var t=r.length;if(e>t){var n=new q_(Math.max(2*t,e));n.set(r),r=n}},u=t.f||0,d=t.p||0,h=t.b||0,p=t.l,m=t.d,_=t.m,g=t.n,f=8*i;do{if(!p){u=bg(e,d,1);var v=bg(e,d+1,3);if(d+=3,!v){var b=e[(k=$g(d)+4)-4]|e[k-3]<<8,y=k+b;if(y>i){l&&wg(0);break}a&&c(h+b),r.set(e.subarray(k,y),h),t.b=h+=b,t.p=d=8*y,t.f=u;continue}if(1==v)p=_g,m=fg,_=9,g=5;else if(2==v){var $=bg(e,d,31)+257,x=bg(e,d+10,15)+4,S=$+bg(e,d+5,31)+1;d+=14;for(var w=new q_(S),A=new q_(19),C=0;C<x;++C)A[eg[C]]=bg(e,d+3*C,7);d+=3*x;var E=vg(A),I=(1<<E)-1,M=dg(A,E,1);for(C=0;C<S;){var k,T=M[bg(e,d,I)];if(d+=15&T,(k=T>>4)<16)w[C++]=k;else{var R=0,L=0;for(16==k?(L=3+bg(e,d,3),d+=2,R=w[C-1]):17==k?(L=3+bg(e,d,7),d+=3):18==k&&(L=11+bg(e,d,127),d+=7);L--;)w[C++]=R}}var P=w.subarray(0,$),D=w.subarray($);_=vg(P),g=vg(D),p=dg(P,_,1),m=dg(D,g,1)}else wg(1);if(d>f){l&&wg(0);break}}a&&c(h+131072);for(var N=(1<<_)-1,F=(1<<g)-1,O=d;;O=d){var B=(R=p[yg(e,d)&N])>>4;if((d+=15&R)>f){l&&wg(0);break}if(R||wg(2),B<256)r[h++]=B;else{if(256==B){O=d,p=null;break}var U=B-254;if(B>264){var V=K_[C=B-257];U=bg(e,d,(1<<V)-1)+ng[C],d+=V}var z=m[yg(e,d)&F],H=z>>4;z||wg(3),d+=15&z;D=sg[H];if(H>3){V=Z_[H];D+=yg(e,d)&(1<<V)-1,d+=V}if(d>f){l&&wg(0);break}a&&c(h+131072);var G=h+U;if(h<D){var j=o-D,J=Math.min(D,G);for(j+h<0&&wg(3);h<J;++h)r[h]=n[j+h]}for(;h<G;++h)r[h]=r[h-D]}}t.l=p,t.p=O,t.b=h,t.f=u,p&&(u=1,t.m=_,t.d=m,t.n=g)}while(!u);return h!=r.length&&s?xg(r,0,h):r.subarray(0,h)},Cg=function(e,t,r){r<<=7&t;var n=t/8|0;e[n]|=r,e[n+1]|=r>>8},Eg=function(e,t,r){r<<=7&t;var n=t/8|0;e[n]|=r,e[n+1]|=r>>8,e[n+2]|=r>>16},Ig=function(e,t){for(var r=[],n=0;n<e.length;++n)e[n]&&r.push({s:n,f:e[n]});var i=r.length,o=r.slice();if(!i)return{t:Dg,l:0};if(1==i){var s=new q_(r[0].s+1);return s[r[0].s]=1,{t:s,l:1}}r.sort(function(e,t){return e.f-t.f}),r.push({s:-1,f:25001});var a=r[0],l=r[1],c=0,u=1,d=2;for(r[0]={s:-1,f:a.f+l.f,l:a,r:l};u!=i-1;)a=r[r[c].f<r[d].f?c++:d++],l=r[c!=u&&r[c].f<r[d].f?c++:d++],r[u++]={s:-1,f:a.f+l.f,l:a,r:l};var h=o[0].s;for(n=1;n<i;++n)o[n].s>h&&(h=o[n].s);var p=new Y_(h+1),m=Mg(r[u-1],p,0);if(m>t){n=0;var _=0,g=m-t,f=1<<g;for(o.sort(function(e,t){return p[t.s]-p[e.s]||e.f-t.f});n<i;++n){var v=o[n].s;if(!(p[v]>t))break;_+=f-(1<<m-p[v]),p[v]=t}for(_>>=g;_>0;){var b=o[n].s;p[b]<t?_-=1<<t-p[b]++-1:++n}for(;n>=0&&_;--n){var y=o[n].s;p[y]==t&&(--p[y],++_)}m=t}return{t:new q_(p),l:m}},Mg=function(e,t,r){return-1==e.s?Math.max(Mg(e.l,t,r+1),Mg(e.r,t,r+1)):t[e.s]=r},kg=function(e){for(var t=e.length;t&&!e[--t];);for(var r=new Y_(++t),n=0,i=e[0],o=1,s=function(e){r[n++]=e},a=1;a<=t;++a)if(e[a]==i&&a!=t)++o;else{if(!i&&o>2){for(;o>138;o-=138)s(32754);o>2&&(s(o>10?o-11<<5|28690:o-3<<5|12305),o=0)}else if(o>3){for(s(i),--o;o>6;o-=6)s(8304);o>2&&(s(o-3<<5|8208),o=0)}for(;o--;)s(i);o=1,i=e[a]}return{c:r.subarray(0,n),n:t}},Tg=function(e,t){for(var r=0,n=0;n<t.length;++n)r+=e[n]*t[n];return r},Rg=function(e,t,r){var n=r.length,i=$g(t+2);e[i]=255&n,e[i+1]=n>>8,e[i+2]=255^e[i],e[i+3]=255^e[i+1];for(var o=0;o<n;++o)e[i+o+4]=r[o];return 8*(i+4+n)},Lg=function(e,t,r,n,i,o,s,a,l,c,u){Cg(t,u++,r),++i[256];for(var d=Ig(i,15),h=d.t,p=d.l,m=Ig(o,15),_=m.t,g=m.l,f=kg(h),v=f.c,b=f.n,y=kg(_),$=y.c,x=y.n,S=new Y_(19),w=0;w<v.length;++w)++S[31&v[w]];for(w=0;w<$.length;++w)++S[31&$[w]];for(var A=Ig(S,7),C=A.t,E=A.l,I=19;I>4&&!C[eg[I-1]];--I);var M,k,T,R,L=c+5<<3,P=Tg(i,hg)+Tg(o,pg)+s,D=Tg(i,h)+Tg(o,_)+s+14+3*I+Tg(S,C)+2*S[16]+3*S[17]+7*S[18];if(l>=0&&L<=P&&L<=D)return Rg(t,u,e.subarray(l,l+c));if(Cg(t,u,1+(D<P)),u+=2,D<P){M=dg(h,p,0),k=h,T=dg(_,g,0),R=_;var N=dg(C,E,0);Cg(t,u,b-257),Cg(t,u+5,x-1),Cg(t,u+10,I-4),u+=14;for(w=0;w<I;++w)Cg(t,u+3*w,C[eg[w]]);u+=3*I;for(var F=[v,$],O=0;O<2;++O){var B=F[O];for(w=0;w<B.length;++w){var U=31&B[w];Cg(t,u,N[U]),u+=C[U],U>15&&(Cg(t,u,B[w]>>5&127),u+=B[w]>>12)}}}else M=mg,k=hg,T=gg,R=pg;for(w=0;w<a;++w){var V=n[w];if(V>255){Eg(t,u,M[(U=V>>18&31)+257]),u+=k[U+257],U>7&&(Cg(t,u,V>>23&31),u+=K_[U]);var z=31&V;Eg(t,u,T[z]),u+=R[z],z>3&&(Eg(t,u,V>>5&8191),u+=Z_[z])}else Eg(t,u,M[V]),u+=k[V]}return Eg(t,u,M[256]),u+k[256]},Pg=new X_([65540,131080,131088,131104,262176,1048704,1048832,2114560,2117632]),Dg=new q_(0),Ng=function(e,t,r,n,i,o){var s=o.z||e.length,a=new q_(n+s+5*(1+Math.ceil(s/7e3))+i),l=a.subarray(n,a.length-i),c=o.l,u=7&(o.r||0);if(t){u&&(l[0]=o.r>>3);for(var d=Pg[t-1],h=d>>13,p=8191&d,m=(1<<r)-1,_=o.p||new Y_(32768),g=o.h||new Y_(m+1),f=Math.ceil(r/3),v=2*f,b=function(t){return(e[t]^e[t+1]<<f^e[t+2]<<v)&m},y=new X_(25e3),$=new Y_(288),x=new Y_(32),S=0,w=0,A=o.i||0,C=0,E=o.w||0,I=0;A+2<s;++A){var M=b(A),k=32767&A,T=g[M];if(_[k]=T,g[M]=k,E<=A){var R=s-A;if((S>7e3||C>24576)&&(R>423||!c)){u=Lg(e,l,0,y,$,x,w,C,I,A-I,u),C=S=w=0,I=A;for(var L=0;L<286;++L)$[L]=0;for(L=0;L<30;++L)x[L]=0}var P=2,D=0,N=p,F=k-T&32767;if(R>2&&M==b(A-F))for(var O=Math.min(h,R)-1,B=Math.min(32767,A),U=Math.min(258,R);F<=B&&--N&&k!=T;){if(e[A+P]==e[A+P-F]){for(var V=0;V<U&&e[A+V]==e[A+V-F];++V);if(V>P){if(P=V,D=F,V>O)break;var z=Math.min(F,V-2),H=0;for(L=0;L<z;++L){var G=A-F+L&32767,j=G-_[G]&32767;j>H&&(H=j,T=G)}}}F+=(k=T)-(T=_[k])&32767}if(D){y[C++]=268435456|ig[P]<<18|ag[D];var J=31&ig[P],W=31&ag[D];w+=K_[J]+Z_[W],++$[257+J],++x[W],E=A+P,++S}else y[C++]=e[A],++$[e[A]]}}for(A=Math.max(A,E);A<s;++A)y[C++]=e[A],++$[e[A]];u=Lg(e,l,c,y,$,x,w,C,I,A-I,u),c||(o.r=7&u|l[u/8|0]<<3,u-=7,o.h=g,o.p=_,o.i=A,o.w=E)}else{for(A=o.w||0;A<s+c;A+=65535){var Q=A+65535;Q>=s&&(l[u/8|0]=c,Q=s),u=Rg(l,u+1,e.subarray(A,Q))}o.i=s}return xg(a,0,n+$g(u)+i)},Fg=function(){for(var e=new Int32Array(256),t=0;t<256;++t){for(var r=t,n=9;--n;)r=(1&r&&-306674912)^r>>>1;e[t]=r}return e}(),Og=function(){var e=-1;return{p:function(t){for(var r=e,n=0;n<t.length;++n)r=Fg[255&r^t[n]]^r>>>8;e=r},d:function(){return~e}}},Bg=function(e,t,r,n,i){if(!i&&(i={l:1},t.dictionary)){var o=t.dictionary.subarray(-32768),s=new q_(o.length+e.length);s.set(o),s.set(e,o.length),e=s,i.w=o.length}return Ng(e,null==t.level?6:t.level,null==t.mem?i.l?Math.ceil(1.5*Math.max(8,Math.min(13,Math.log(e.length)))):20:12+t.mem,r,n,i)},Ug=function(e,t){var r={};for(var n in e)r[n]=e[n];for(var n in t)r[n]=t[n];return r},Vg=function(e,t,r){for(;r;++t)e[t]=r,r>>>=8},zg=function(e,t){return(8!=(15&e[0])||e[0]>>4>7||(e[0]<<8|e[1])%31)&&wg(6,"invalid zlib data"),(e[1]>>5&1)==+!t&&wg(6,"invalid zlib data: "+(32&e[1]?"need":"unexpected")+" dictionary"),2+(e[1]>>3&4)};function Hg(e,t){return Bg(e,t||{},0,0)}function Gg(e,t){return Ag(e.subarray(zg(e,t&&t.dictionary),-4),{i:2},t&&t.out,t&&t.dictionary)}var jg=function(e,t,r,n){for(var i in e){var o=e[i],s=t+i,a=n;Array.isArray(o)&&(a=Ug(n,o[1]),o=o[0]),o instanceof q_?r[s]=[o,a]:(r[s+="/"]=[new q_(0),a],jg(o,s,r,n))}},Jg="undefined"!=typeof TextEncoder&&new TextEncoder,Wg="undefined"!=typeof TextDecoder&&new TextDecoder;try{Wg.decode(Dg,{stream:!0})}catch(e){}function Qg(e,t){if(t){for(var r=new q_(e.length),n=0;n<e.length;++n)r[n]=e.charCodeAt(n);return r}if(Jg)return Jg.encode(e);var i=e.length,o=new q_(e.length+(e.length>>1)),s=0,a=function(e){o[s++]=e};for(n=0;n<i;++n){if(s+5>o.length){var l=new q_(s+8+(i-n<<1));l.set(o),o=l}var c=e.charCodeAt(n);c<128||t?a(c):c<2048?(a(192|c>>6),a(128|63&c)):c>55295&&c<57344?(a(240|(c=65536+(1047552&c)|1023&e.charCodeAt(++n))>>18),a(128|c>>12&63),a(128|c>>6&63),a(128|63&c)):(a(224|c>>12),a(128|c>>6&63),a(128|63&c))}return xg(o,0,s)}var qg=function(e){var t=0;if(e)for(var r in e){var n=e[r].length;n>65535&&wg(9),t+=n+4}return t},Yg=function(e,t,r,n,i,o,s,a){var l=n.length,c=r.extra,u=a&&a.length,d=qg(c);Vg(e,t,null!=s?33639248:67324752),t+=4,null!=s&&(e[t++]=20,e[t++]=r.os),e[t]=20,t+=2,e[t++]=r.flag<<1|(o<0&&8),e[t++]=i&&8,e[t++]=255&r.compression,e[t++]=r.compression>>8;var h=new Date(null==r.mtime?Date.now():r.mtime),p=h.getFullYear()-1980;if((p<0||p>119)&&wg(10),Vg(e,t,p<<25|h.getMonth()+1<<21|h.getDate()<<16|h.getHours()<<11|h.getMinutes()<<5|h.getSeconds()>>1),t+=4,-1!=o&&(Vg(e,t,r.crc),Vg(e,t+4,o<0?-o-2:o),Vg(e,t+8,r.size)),Vg(e,t+12,l),Vg(e,t+14,d),t+=16,null!=s&&(Vg(e,t,u),Vg(e,t+6,r.attrs),Vg(e,t+10,s),t+=14),e.set(n,t),t+=l,d)for(var m in c){var _=c[m],g=_.length;Vg(e,t,+m),Vg(e,t+2,g),e.set(_,t+4),t+=4+g}return u&&(e.set(a,t),t+=u),t},Xg=function(e,t,r,n,i){Vg(e,t,101010256),Vg(e,t+8,r),Vg(e,t+10,r),Vg(e,t+12,n),Vg(e,t+16,i)};"function"==typeof queueMicrotask?queueMicrotask:"function"==typeof setTimeout&&setTimeout;new TextEncoder;const Kg={POSITION:["byte","byte normalized","unsigned byte","unsigned byte normalized","short","short normalized","unsigned short","unsigned short normalized"],NORMAL:["byte normalized","short normalized"],TANGENT:["byte normalized","short normalized"],TEXCOORD:["byte","byte normalized","unsigned byte","short","short normalized","unsigned short"]};class Zg{constructor(){this.textureUtils=null,this.pluginCallbacks=[],this.register(function(e){return new Lf(e)}),this.register(function(e){return new Pf(e)}),this.register(function(e){return new Of(e)}),this.register(function(e){return new Bf(e)}),this.register(function(e){return new Uf(e)}),this.register(function(e){return new Vf(e)}),this.register(function(e){return new Df(e)}),this.register(function(e){return new Nf(e)}),this.register(function(e){return new Ff(e)}),this.register(function(e){return new zf(e)}),this.register(function(e){return new Hf(e)}),this.register(function(e){return new Gf(e)}),this.register(function(e){return new jf(e)}),this.register(function(e){return new Jf(e)})}register(e){return-1===this.pluginCallbacks.indexOf(e)&&this.pluginCallbacks.push(e),this}unregister(e){return-1!==this.pluginCallbacks.indexOf(e)&&this.pluginCallbacks.splice(this.pluginCallbacks.indexOf(e),1),this}setTextureUtils(e){return this.textureUtils=e,this}parse(e,t,r,n){const i=new Rf,o=[];for(let e=0,t=this.pluginCallbacks.length;e<t;e++)o.push(this.pluginCallbacks[e](i));i.setPlugins(o),i.setTextureUtils(this.textureUtils),i.writeAsync(e,t,n).catch(r)}parseAsync(e,t){const r=this;return new Promise(function(n,i){r.parse(e,n,i,t)})}}const ef=0,tf=1,rf=2,nf=3,of=4,sf=5120,af=5121,lf=5122,cf=5123,uf=5124,df=5125,hf=5126,pf=34962,mf=34963,_f=9728,gf=9729,ff=9984,vf=9985,bf=9986,yf=9987,$f=33071,xf=33648,Sf=10497,wf="KHR_mesh_quantization",Af={};Af[1003]=_f,Af[1004]=ff,Af[1005]=bf,Af[1006]=gf,Af[1007]=vf,Af[1008]=yf,Af[1001]=$f,Af[1e3]=Sf,Af[1002]=xf;const Cf={scale:"scale",position:"translation",quaternion:"rotation",morphTargetInfluences:"weights"},Ef=new mi;function If(e,t){return e.length===t.length&&e.every(function(e,r){return e===t[r]})}function Mf(e){return 4*Math.ceil(e/4)}function kf(e,t=0){const r=Mf(e.byteLength);if(r!==e.byteLength){const n=new Uint8Array(r);if(n.set(new Uint8Array(e)),0!==t)for(let i=e.byteLength;i<r;i++)n[i]=t;return n.buffer}return e}function Tf(){return"undefined"==typeof document&&"undefined"!=typeof OffscreenCanvas?new OffscreenCanvas(1,1):document.createElement("canvas")}class Rf{constructor(){this.plugins=[],this.options={},this.pending=[],this.buffers=[],this.byteOffset=0,this.buffers=[],this.nodeMap=new Map,this.skins=[],this.extensionsUsed={},this.extensionsRequired={},this.uids=new Map,this.uid=0,this.json={asset:{version:"2.0",generator:"THREE.GLTFExporter r"+F}},this.cache={meshes:new Map,attributes:new Map,attributesNormalized:new Map,materials:new Map,textures:new Map,images:new Map},this.textureUtils=null}setPlugins(e){this.plugins=e}setTextureUtils(e){this.textureUtils=e}async writeAsync(e,t,r={}){this.options=Object.assign({binary:!1,trs:!1,onlyVisible:!0,maxTextureSize:1/0,animations:[],includeCustomExtensions:!1},r),this.options.animations.length>0&&(this.options.trs=!0),await this.processInputAsync(e),await Promise.all(this.pending);const n=this,i=n.buffers,o=n.json;r=n.options;const s=n.extensionsUsed,a=n.extensionsRequired,l=new Blob(i,{type:"application/octet-stream"}),c=Object.keys(s),u=Object.keys(a);if(c.length>0&&(o.extensionsUsed=c),u.length>0&&(o.extensionsRequired=u),o.buffers&&o.buffers.length>0&&(o.buffers[0].byteLength=l.size),!0===r.binary){const e=new FileReader;e.readAsArrayBuffer(l),e.onloadend=function(){const r=kf(e.result),n=new DataView(new ArrayBuffer(8));n.setUint32(0,r.byteLength,!0),n.setUint32(4,5130562,!0);const i=kf((s=JSON.stringify(o),(new TextEncoder).encode(s).buffer),32);var s;const a=new DataView(new ArrayBuffer(8));a.setUint32(0,i.byteLength,!0),a.setUint32(4,1313821514,!0);const l=new ArrayBuffer(12),c=new DataView(l);c.setUint32(0,1179937895,!0),c.setUint32(4,2,!0);const u=12+a.byteLength+i.byteLength+n.byteLength+r.byteLength;c.setUint32(8,u,!0);const d=new Blob([l,a,i,n,r],{type:"application/octet-stream"}),h=new FileReader;h.readAsArrayBuffer(d),h.onloadend=function(){t(h.result)}}}else if(o.buffers&&o.buffers.length>0){const e=new FileReader;e.readAsDataURL(l),e.onloadend=function(){const r=e.result;o.buffers[0].uri=r,t(o)}}else t(o)}serializeUserData(e,t){if(0===Object.keys(e.userData).length)return;const r=this.options,n=this.extensionsUsed;try{const i=JSON.parse(JSON.stringify(e.userData));if(r.includeCustomExtensions&&i.gltfExtensions){void 0===t.extensions&&(t.extensions={});for(const e in i.gltfExtensions)t.extensions[e]=i.gltfExtensions[e],n[e]=!0;delete i.gltfExtensions}Object.keys(i).length>0&&(t.extras=i)}catch(t){console.warn("THREE.GLTFExporter: userData of '"+e.name+"' won't be serialized because of JSON.stringify error - "+t.message)}}getUID(e,t=!1){if(!1===this.uids.has(e)){const t=new Map;t.set(!0,this.uid++),t.set(!1,this.uid++),this.uids.set(e,t)}return this.uids.get(e).get(t)}isNormalizedNormalAttribute(e){if(this.cache.attributesNormalized.has(e))return!1;const t=new br;for(let r=0,n=e.count;r<n;r++)if(Math.abs(t.fromBufferAttribute(e,r).length()-1)>5e-4)return!1;return!0}createNormalizedNormalAttribute(e){const t=this.cache;if(t.attributesNormalized.has(e))return t.attributesNormalized.get(e);const r=e.clone(),n=new br;for(let e=0,t=r.count;e<t;e++)n.fromBufferAttribute(r,e),0===n.x&&0===n.y&&0===n.z?n.setX(1):n.normalize(),r.setXYZ(e,n.x,n.y,n.z);return t.attributesNormalized.set(e,r),r}applyTextureTransform(e,t){let r=!1;const n={};0===t.offset.x&&0===t.offset.y||(n.offset=t.offset.toArray(),r=!0),0!==t.rotation&&(n.rotation=t.rotation,r=!0),1===t.repeat.x&&1===t.repeat.y||(n.scale=t.repeat.toArray(),r=!0),r&&(e.extensions=e.extensions||{},e.extensions.KHR_texture_transform=n,this.extensionsUsed.KHR_texture_transform=!0)}async buildMetalRoughTextureAsync(e,t){if(e===t)return e;function r(e){return e.colorSpace===zt?function(e){return e<.04045?.0773993808*e:Math.pow(.9478672986*e+.0521327014,2.4)}:function(e){return e}}e instanceof Us&&(e=await this.decompressTextureAsync(e)),t instanceof Us&&(t=await this.decompressTextureAsync(t));const n=e?e.image:null,i=t?t.image:null,o=Math.max(n?n.width:0,i?i.width:0),s=Math.max(n?n.height:0,i?i.height:0),a=Tf();a.width=o,a.height=s;const l=a.getContext("2d",{willReadFrequently:!0});l.fillStyle="#00ffff",l.fillRect(0,0,o,s);const c=l.getImageData(0,0,o,s);if(n){l.drawImage(n,0,0,o,s);const t=r(e),i=l.getImageData(0,0,o,s).data;for(let e=2;e<i.length;e+=4)c.data[e]=256*t(i[e]/256)}if(i){l.drawImage(i,0,0,o,s);const e=r(t),n=l.getImageData(0,0,o,s).data;for(let t=1;t<n.length;t+=4)c.data[t]=256*e(n[t]/256)}l.putImageData(c,0,0);const u=(e||t).clone();return u.source=new Or(a),u.colorSpace=Vt,u.channel=(e||t).channel,e&&t&&e.channel!==t.channel&&console.warn("THREE.GLTFExporter: UV channels for metalnessMap and roughnessMap textures must match."),console.warn("THREE.GLTFExporter: Merged metalnessMap and roughnessMap textures."),u}async decompressTextureAsync(e,t=1/0){if(null===this.textureUtils)throw new Error("THREE.GLTFExporter: setTextureUtils() must be called to process compressed textures.");return await this.textureUtils.decompress(e,t)}processBuffer(e){const t=this.json,r=this.buffers;return t.buffers||(t.buffers=[{byteLength:0}]),r.push(e),0}processBufferView(e,t,r,n,i){const o=this.json;let s;switch(o.bufferViews||(o.bufferViews=[]),t){case sf:case af:s=1;break;case lf:case cf:s=2;break;default:s=4}let a=e.itemSize*s;i===pf&&(a=4*Math.ceil(a/4));const l=Mf(n*a),c=new DataView(new ArrayBuffer(l));let u=0;for(let i=r;i<r+n;i++){for(let r=0;r<e.itemSize;r++){let n;e.itemSize>4?n=e.array[i*e.itemSize+r]:(0===r?n=e.getX(i):1===r?n=e.getY(i):2===r?n=e.getZ(i):3===r&&(n=e.getW(i)),!0===e.normalized&&(n=gr.normalize(n,e.array))),t===hf?c.setFloat32(u,n,!0):t===uf?c.setInt32(u,n,!0):t===df?c.setUint32(u,n,!0):t===lf?c.setInt16(u,n,!0):t===cf?c.setUint16(u,n,!0):t===sf?c.setInt8(u,n):t===af&&c.setUint8(u,n),u+=s}u%a!==0&&(u+=a-u%a)}const d={buffer:this.processBuffer(c.buffer),byteOffset:this.byteOffset,byteLength:l};void 0!==i&&(d.target=i),i===pf&&(d.byteStride=a),this.byteOffset+=l,o.bufferViews.push(d);return{id:o.bufferViews.length-1,byteLength:0}}processBufferViewImage(e){const t=this,r=t.json;return r.bufferViews||(r.bufferViews=[]),new Promise(function(n){const i=new FileReader;i.readAsArrayBuffer(e),i.onloadend=function(){const e=kf(i.result),o={buffer:t.processBuffer(e),byteOffset:t.byteOffset,byteLength:e.byteLength};t.byteOffset+=e.byteLength,n(r.bufferViews.push(o)-1)}})}processAccessor(e,t,r,n){const i=this.json;let o;if(e.array.constructor===Float32Array)o=hf;else if(e.array.constructor===Int32Array)o=uf;else if(e.array.constructor===Uint32Array)o=df;else if(e.array.constructor===Int16Array)o=lf;else if(e.array.constructor===Uint16Array)o=cf;else if(e.array.constructor===Int8Array)o=sf;else{if(e.array.constructor!==Uint8Array)throw new Error("THREE.GLTFExporter: Unsupported bufferAttribute component type: "+e.array.constructor.name);o=af}if(void 0===r&&(r=0),void 0!==n&&n!==1/0||(n=e.count),0===n)return null;const s=function(e,t,r){const n={min:new Array(e.itemSize).fill(Number.POSITIVE_INFINITY),max:new Array(e.itemSize).fill(Number.NEGATIVE_INFINITY)};for(let i=t;i<t+r;i++)for(let t=0;t<e.itemSize;t++){let r;e.itemSize>4?r=e.array[i*e.itemSize+t]:(0===t?r=e.getX(i):1===t?r=e.getY(i):2===t?r=e.getZ(i):3===t&&(r=e.getW(i)),!0===e.normalized&&(r=gr.normalize(r,e.array))),n.min[t]=Math.min(n.min[t],r),n.max[t]=Math.max(n.max[t],r)}return n}(e,r,n);let a;void 0!==t&&(a=e===t.index?mf:pf);const l=this.processBufferView(e,o,r,n,a),c={bufferView:l.id,byteOffset:l.byteOffset,componentType:o,count:n,max:s.max,min:s.min,type:{1:"SCALAR",2:"VEC2",3:"VEC3",4:"VEC4",9:"MAT3",16:"MAT4"}[e.itemSize]};return!0===e.normalized&&(c.normalized=!0),i.accessors||(i.accessors=[]),i.accessors.push(c)-1}processImage(e,t,r,n="image/png"){if(null!==e){const i=this,o=i.cache,s=i.json,a=i.options,l=i.pending;o.images.has(e)||o.images.set(e,{});const c=o.images.get(e),u=n+":flipY/"+r.toString();if(void 0!==c[u])return c[u];s.images||(s.images=[]);const d={mimeType:n},h=Tf();h.width=Math.min(e.width,a.maxTextureSize),h.height=Math.min(e.height,a.maxTextureSize);const p=h.getContext("2d",{willReadFrequently:!0});if(!0===r&&(p.translate(0,h.height),p.scale(1,-1)),void 0!==e.data){t!==Ge&&console.error("GLTFExporter: Only RGBAFormat is supported.",t),(e.width>a.maxTextureSize||e.height>a.maxTextureSize)&&console.warn("GLTFExporter: Image size is bigger than maxTextureSize",e);const r=new Uint8ClampedArray(e.height*e.width*4);for(let t=0;t<r.length;t+=4)r[t+0]=e.data[t+0],r[t+1]=e.data[t+1],r[t+2]=e.data[t+2],r[t+3]=e.data[t+3];p.putImageData(new ImageData(r,e.width,e.height),0,0)}else{if(!("undefined"!=typeof HTMLImageElement&&e instanceof HTMLImageElement||"undefined"!=typeof HTMLCanvasElement&&e instanceof HTMLCanvasElement||"undefined"!=typeof ImageBitmap&&e instanceof ImageBitmap||"undefined"!=typeof OffscreenCanvas&&e instanceof OffscreenCanvas))throw new Error("THREE.GLTFExporter: Invalid image type. Use HTMLImageElement, HTMLCanvasElement, ImageBitmap or OffscreenCanvas.");p.drawImage(e,0,0,h.width,h.height)}!0===a.binary?l.push(function(e,t){if("undefined"!=typeof OffscreenCanvas&&e instanceof OffscreenCanvas){let r;return"image/jpeg"===t?r=.92:"image/webp"===t&&(r=.8),e.convertToBlob({type:t,quality:r})}return new Promise(r=>e.toBlob(r,t))}(h,n).then(e=>i.processBufferViewImage(e)).then(e=>{d.bufferView=e})):d.uri=Nr.getDataURL(h,n);const m=s.images.push(d)-1;return c[u]=m,m}throw new Error("THREE.GLTFExporter: No valid image data found. Unable to process texture.")}processSampler(e){const t=this.json;t.samplers||(t.samplers=[]);const r={magFilter:Af[e.magFilter],minFilter:Af[e.minFilter],wrapS:Af[e.wrapS],wrapT:Af[e.wrapT]};return t.samplers.push(r)-1}async processTextureAsync(e){const t=this.options,r=this.cache,n=this.json;if(r.textures.has(e))return r.textures.get(e);n.textures||(n.textures=[]),e instanceof Us&&(e=await this.decompressTextureAsync(e,t.maxTextureSize));let i=e.userData.mimeType;"image/webp"===i&&(i="image/png");const o={sampler:this.processSampler(e),source:this.processImage(e.image,e.format,e.flipY,i)};e.name&&(o.name=e.name),await this._invokeAllAsync(async function(t){t.writeTexture&&await t.writeTexture(e,o)});const s=n.textures.push(o)-1;return r.textures.set(e,s),s}async processMaterialAsync(e){const t=this.cache,r=this.json;if(t.materials.has(e))return t.materials.get(e);if(e.isShaderMaterial)return console.warn("GLTFExporter: THREE.ShaderMaterial not supported."),null;r.materials||(r.materials=[]);const n={pbrMetallicRoughness:{}};!0!==e.isMeshStandardMaterial&&!0!==e.isMeshBasicMaterial&&console.warn("GLTFExporter: Use MeshStandardMaterial or MeshBasicMaterial for best results.");const i=e.color.toArray().concat([e.opacity]);if(If(i,[1,1,1,1])||(n.pbrMetallicRoughness.baseColorFactor=i),e.isMeshStandardMaterial?(n.pbrMetallicRoughness.metallicFactor=e.metalness,n.pbrMetallicRoughness.roughnessFactor=e.roughness):(n.pbrMetallicRoughness.metallicFactor=0,n.pbrMetallicRoughness.roughnessFactor=1),e.metalnessMap||e.roughnessMap){const t=await this.buildMetalRoughTextureAsync(e.metalnessMap,e.roughnessMap),r={index:await this.processTextureAsync(t),texCoord:t.channel};this.applyTextureTransform(r,t),n.pbrMetallicRoughness.metallicRoughnessTexture=r}if(e.map){const t={index:await this.processTextureAsync(e.map),texCoord:e.map.channel};this.applyTextureTransform(t,e.map),n.pbrMetallicRoughness.baseColorTexture=t}if(e.emissive){const t=e.emissive;if(Math.max(t.r,t.g,t.b)>0&&(n.emissiveFactor=e.emissive.toArray()),e.emissiveMap){const t={index:await this.processTextureAsync(e.emissiveMap),texCoord:e.emissiveMap.channel};this.applyTextureTransform(t,e.emissiveMap),n.emissiveTexture=t}}if(e.normalMap){const t={index:await this.processTextureAsync(e.normalMap),texCoord:e.normalMap.channel};e.normalScale&&1!==e.normalScale.x&&(t.scale=e.normalScale.x),this.applyTextureTransform(t,e.normalMap),n.normalTexture=t}if(e.aoMap){const t={index:await this.processTextureAsync(e.aoMap),texCoord:e.aoMap.channel};1!==e.aoMapIntensity&&(t.strength=e.aoMapIntensity),this.applyTextureTransform(t,e.aoMap),n.occlusionTexture=t}e.transparent?n.alphaMode="BLEND":e.alphaTest>0&&(n.alphaMode="MASK",n.alphaCutoff=e.alphaTest),2===e.side&&(n.doubleSided=!0),""!==e.name&&(n.name=e.name),this.serializeUserData(e,n),await this._invokeAllAsync(async function(t){t.writeMaterialAsync&&await t.writeMaterialAsync(e,n)});const o=r.materials.push(n)-1;return t.materials.set(e,o),o}async processMeshAsync(e){const t=this.cache,r=this.json,n=[e.geometry.uuid];if(Array.isArray(e.material))for(let t=0,r=e.material.length;t<r;t++)n.push(e.material[t].uuid);else n.push(e.material.uuid);const i=n.join(":");if(t.meshes.has(i))return t.meshes.get(i);const o=e.geometry;let s;s=e.isLineSegments?tf:e.isLineLoop?rf:e.isLine?nf:e.isPoints?ef:e.material.wireframe?tf:of;const a={},l={},c=[],u=[],d={uv:"TEXCOORD_0",uv1:"TEXCOORD_1",uv2:"TEXCOORD_2",uv3:"TEXCOORD_3",color:"COLOR_0",skinWeight:"WEIGHTS_0",skinIndex:"JOINTS_0"},h=o.getAttribute("normal");void 0===h||this.isNormalizedNormalAttribute(h)||(console.warn("THREE.GLTFExporter: Creating normalized normal attribute from the non-normalized one."),o.setAttribute("normal",this.createNormalizedNormalAttribute(h)));let p=null;for(let e in o.attributes){if("morph"===e.slice(0,5))continue;const r=o.attributes[e];e=d[e]||e.toUpperCase();if(/^(POSITION|NORMAL|TANGENT|TEXCOORD_\d+|COLOR_\d+|JOINTS_\d+|WEIGHTS_\d+)$/.test(e)||(e="_"+e),t.attributes.has(this.getUID(r))){l[e]=t.attributes.get(this.getUID(r));continue}p=null;const n=r.array;"JOINTS_0"!==e||n instanceof Uint16Array||n instanceof Uint8Array?(n instanceof Uint32Array||n instanceof Int32Array)&&!e.startsWith("_")&&(console.warn(`GLTFExporter: Attribute "${e}" converted to type FLOAT.`),p=Zg.Utils.toFloat32BufferAttribute(r)):(console.warn('GLTFExporter: Attribute "skinIndex" converted to type UNSIGNED_SHORT.'),p=new Ei(new Uint16Array(n),r.itemSize,r.normalized));const i=this.processAccessor(p||r,o);null!==i&&(e.startsWith("_")||this.detectMeshQuantization(e,r),l[e]=i,t.attributes.set(this.getUID(r),i))}if(void 0!==h&&o.setAttribute("normal",h),0===Object.keys(l).length)return null;if(void 0!==e.morphTargetInfluences&&e.morphTargetInfluences.length>0){const r=[],n=[],i={};if(void 0!==e.morphTargetDictionary)for(const t in e.morphTargetDictionary)i[e.morphTargetDictionary[t]]=t;for(let s=0;s<e.morphTargetInfluences.length;++s){const a={};let l=!1;for(const e in o.morphAttributes){if("position"!==e&&"normal"!==e){l||(console.warn("GLTFExporter: Only POSITION and NORMAL morph are supported."),l=!0);continue}const r=o.morphAttributes[e][s],n=e.toUpperCase(),i=o.attributes[e];if(t.attributes.has(this.getUID(r,!0))){a[n]=t.attributes.get(this.getUID(r,!0));continue}const c=r.clone();if(!o.morphTargetsRelative)for(let e=0,t=r.count;e<t;e++)for(let t=0;t<r.itemSize;t++)0===t&&c.setX(e,r.getX(e)-i.getX(e)),1===t&&c.setY(e,r.getY(e)-i.getY(e)),2===t&&c.setZ(e,r.getZ(e)-i.getZ(e)),3===t&&c.setW(e,r.getW(e)-i.getW(e));a[n]=this.processAccessor(c,o),t.attributes.set(this.getUID(i,!0),a[n])}u.push(a),r.push(e.morphTargetInfluences[s]),void 0!==e.morphTargetDictionary&&n.push(i[s])}a.weights=r,n.length>0&&(a.extras={},a.extras.targetNames=n)}const m=Array.isArray(e.material);if(m&&0===o.groups.length)return null;let _=!1;if(m&&null===o.index){const e=[];for(let t=0,r=o.attributes.position.count;t<r;t++)e[t]=t;o.setIndex(e),_=!0}const g=m?e.material:[e.material],f=m?o.groups:[{materialIndex:0,start:void 0,count:void 0}];for(let e=0,r=f.length;e<r;e++){const r={mode:s,attributes:l};if(this.serializeUserData(o,r),u.length>0&&(r.targets=u),null!==o.index){let n=this.getUID(o.index);void 0===f[e].start&&void 0===f[e].count||(n+=":"+f[e].start+":"+f[e].count),t.attributes.has(n)?r.indices=t.attributes.get(n):(r.indices=this.processAccessor(o.index,o,f[e].start,f[e].count),t.attributes.set(n,r.indices)),null===r.indices&&delete r.indices}const n=await this.processMaterialAsync(g[f[e].materialIndex]);null!==n&&(r.material=n),c.push(r)}!0===_&&o.setIndex(null),a.primitives=c,r.meshes||(r.meshes=[]),await this._invokeAllAsync(function(t){t.writeMesh&&t.writeMesh(e,a)});const v=r.meshes.push(a)-1;return t.meshes.set(i,v),v}detectMeshQuantization(e,t){if(this.extensionsUsed[wf])return;let r;switch(t.array.constructor){case Int8Array:r="byte";break;case Uint8Array:r="unsigned byte";break;case Int16Array:r="short";break;case Uint16Array:r="unsigned short";break;default:return}t.normalized&&(r+=" normalized");const n=e.split("_",1)[0];Kg[n]&&Kg[n].includes(r)&&(this.extensionsUsed[wf]=!0,this.extensionsRequired[wf]=!0)}processCamera(e){const t=this.json;t.cameras||(t.cameras=[]);const r=e.isOrthographicCamera,n={type:r?"orthographic":"perspective"};return r?n.orthographic={xmag:2*e.right,ymag:2*e.top,zfar:e.far<=0?.001:e.far,znear:e.near<0?0:e.near}:n.perspective={aspectRatio:e.aspect,yfov:gr.degToRad(e.fov),zfar:e.far<=0?.001:e.far,znear:e.near<0?0:e.near},""!==e.name&&(n.name=e.type),t.cameras.push(n)-1}processAnimation(e,t){const r=this.json,n=this.nodeMap;r.animations||(r.animations=[]);const i=(e=Zg.Utils.mergeMorphTargetTracks(e.clone(),t)).tracks,o=[],s=[];for(let e=0;e<i.length;++e){const r=i[e],a=Sc.parseTrackName(r.name);let l=Sc.findNode(t,a.nodeName);const c=Cf[a.propertyName];if("bones"===a.objectName&&(l=!0===l.isSkinnedMesh?l.skeleton.getBoneByName(a.objectIndex):void 0),!l||!c){console.warn('THREE.GLTFExporter: Could not export animation track "%s".',r.name);continue}const u=1;let d,h=r.values.length/r.times.length;c===Cf.morphTargetInfluences&&(h/=l.morphTargetInfluences.length),!0===r.createInterpolant.isInterpolantFactoryMethodGLTFCubicSpline?(d="CUBICSPLINE",h/=3):d=r.getInterpolation()===Lt?"STEP":"LINEAR",s.push({input:this.processAccessor(new Ei(r.times,u)),output:this.processAccessor(new Ei(r.values,h)),interpolation:d}),o.push({sampler:s.length-1,target:{node:n.get(l),path:c}})}const a={name:e.name||"clip_"+r.animations.length,samplers:s,channels:o};return this.serializeUserData(e,a),r.animations.push(a),r.animations.length-1}processSkin(e){const t=this.json,r=this.nodeMap,n=t.nodes[r.get(e)],i=e.skeleton;if(void 0===i)return null;const o=e.skeleton.bones[0];if(void 0===o)return null;const s=[],a=new Float32Array(16*i.bones.length),l=new xn;for(let t=0;t<i.bones.length;++t)s.push(r.get(i.bones[t])),l.copy(i.boneInverses[t]),l.multiply(e.bindMatrix).toArray(a,16*t);void 0===t.skins&&(t.skins=[]),t.skins.push({inverseBindMatrices:this.processAccessor(new Ei(a,16)),joints:s,skeleton:r.get(o)});return n.skin=t.skins.length-1}async processNodeAsync(e){const t=this.json,r=this.options,n=this.nodeMap;t.nodes||(t.nodes=[]);const i={};if(r.trs){const t=e.quaternion.toArray(),r=e.position.toArray(),n=e.scale.toArray();If(t,[0,0,0,1])||(i.rotation=t),If(r,[0,0,0])||(i.translation=r),If(n,[1,1,1])||(i.scale=n)}else e.matrixAutoUpdate&&e.updateMatrix(),!1===function(e){return If(e.elements,[1,0,0,0,0,1,0,0,0,0,1,0,0,0,0,1])}(e.matrix)&&(i.matrix=e.matrix.elements);if(""!==e.name&&(i.name=String(e.name)),this.serializeUserData(e,i),e.isMesh||e.isLine||e.isPoints){const t=await this.processMeshAsync(e);null!==t&&(i.mesh=t)}else e.isCamera&&(i.camera=this.processCamera(e));e.isSkinnedMesh&&this.skins.push(e);const o=t.nodes.push(i)-1;if(n.set(e,o),e.children.length>0){const t=[];for(let n=0,i=e.children.length;n<i;n++){const i=e.children[n];if(i.visible||!1===r.onlyVisible){const e=await this.processNodeAsync(i);null!==e&&t.push(e)}}t.length>0&&(i.children=t)}return await this._invokeAllAsync(function(t){t.writeNode&&t.writeNode(e,i)}),o}async processSceneAsync(e){const t=this.json,r=this.options;t.scenes||(t.scenes=[],t.scene=0);const n={};""!==e.name&&(n.name=e.name),t.scenes.push(n);const i=[];for(let t=0,n=e.children.length;t<n;t++){const n=e.children[t];if(n.visible||!1===r.onlyVisible){const e=await this.processNodeAsync(n);null!==e&&i.push(e)}}i.length>0&&(n.nodes=i),this.serializeUserData(e,n)}async processObjectsAsync(e){const t=new bo;t.name="AuxScene";for(let r=0;r<e.length;r++)t.children.push(e[r]);await this.processSceneAsync(t)}async processInputAsync(e){const t=this.options;e=e instanceof Array?e:[e],await this._invokeAllAsync(function(t){t.beforeParse&&t.beforeParse(e)});const r=[];for(let t=0;t<e.length;t++)e[t]instanceof bo?await this.processSceneAsync(e[t]):r.push(e[t]);r.length>0&&await this.processObjectsAsync(r);for(let e=0;e<this.skins.length;++e)this.processSkin(this.skins[e]);for(let r=0;r<t.animations.length;++r)this.processAnimation(t.animations[r],e[0]);await this._invokeAllAsync(function(t){t.afterParse&&t.afterParse(e)})}async _invokeAllAsync(e){for(let t=0,r=this.plugins.length;t<r;t++)await e(this.plugins[t])}}class Lf{constructor(e){this.writer=e,this.name="KHR_lights_punctual"}writeNode(e,t){if(!e.isLight)return;if(!e.isDirectionalLight&&!e.isPointLight&&!e.isSpotLight)return void console.warn("THREE.GLTFExporter: Only directional, point, and spot lights are supported.",e);const r=this.writer,n=r.json,i=r.extensionsUsed,o={};e.name&&(o.name=e.name),o.color=e.color.toArray(),o.intensity=e.intensity,e.isDirectionalLight?o.type="directional":e.isPointLight?(o.type="point",e.distance>0&&(o.range=e.distance)):e.isSpotLight&&(o.type="spot",e.distance>0&&(o.range=e.distance),o.spot={},o.spot.innerConeAngle=(1-e.penumbra)*e.angle,o.spot.outerConeAngle=e.angle),void 0!==e.decay&&2!==e.decay&&console.warn("THREE.GLTFExporter: Light decay may be lost. glTF is physically-based, and expects light.decay=2."),!e.target||e.target.parent===e&&0===e.target.position.x&&0===e.target.position.y&&-1===e.target.position.z||console.warn("THREE.GLTFExporter: Light direction may be lost. For best results, make light.target a child of the light with position 0,0,-1."),i[this.name]||(n.extensions=n.extensions||{},n.extensions[this.name]={lights:[]},i[this.name]=!0);const s=n.extensions[this.name].lights;s.push(o),t.extensions=t.extensions||{},t.extensions[this.name]={light:s.length-1}}}class Pf{constructor(e){this.writer=e,this.name="KHR_materials_unlit"}async writeMaterialAsync(e,t){if(!e.isMeshBasicMaterial)return;const r=this.writer.extensionsUsed;t.extensions=t.extensions||{},t.extensions[this.name]={},r[this.name]=!0,t.pbrMetallicRoughness.metallicFactor=0,t.pbrMetallicRoughness.roughnessFactor=.9}}class Df{constructor(e){this.writer=e,this.name="KHR_materials_clearcoat"}async writeMaterialAsync(e,t){if(!e.isMeshPhysicalMaterial||0===e.clearcoat)return;const r=this.writer,n=r.extensionsUsed,i={};if(i.clearcoatFactor=e.clearcoat,e.clearcoatMap){const t={index:await r.processTextureAsync(e.clearcoatMap),texCoord:e.clearcoatMap.channel};r.applyTextureTransform(t,e.clearcoatMap),i.clearcoatTexture=t}if(i.clearcoatRoughnessFactor=e.clearcoatRoughness,e.clearcoatRoughnessMap){const t={index:await r.processTextureAsync(e.clearcoatRoughnessMap),texCoord:e.clearcoatRoughnessMap.channel};r.applyTextureTransform(t,e.clearcoatRoughnessMap),i.clearcoatRoughnessTexture=t}if(e.clearcoatNormalMap){const t={index:await r.processTextureAsync(e.clearcoatNormalMap),texCoord:e.clearcoatNormalMap.channel};1!==e.clearcoatNormalScale.x&&(t.scale=e.clearcoatNormalScale.x),r.applyTextureTransform(t,e.clearcoatNormalMap),i.clearcoatNormalTexture=t}t.extensions=t.extensions||{},t.extensions[this.name]=i,n[this.name]=!0}}class Nf{constructor(e){this.writer=e,this.name="KHR_materials_dispersion"}async writeMaterialAsync(e,t){if(!e.isMeshPhysicalMaterial||0===e.dispersion)return;const r=this.writer.extensionsUsed,n={};n.dispersion=e.dispersion,t.extensions=t.extensions||{},t.extensions[this.name]=n,r[this.name]=!0}}class Ff{constructor(e){this.writer=e,this.name="KHR_materials_iridescence"}async writeMaterialAsync(e,t){if(!e.isMeshPhysicalMaterial||0===e.iridescence)return;const r=this.writer,n=r.extensionsUsed,i={};if(i.iridescenceFactor=e.iridescence,e.iridescenceMap){const t={index:await r.processTextureAsync(e.iridescenceMap),texCoord:e.iridescenceMap.channel};r.applyTextureTransform(t,e.iridescenceMap),i.iridescenceTexture=t}if(i.iridescenceIor=e.iridescenceIOR,i.iridescenceThicknessMinimum=e.iridescenceThicknessRange[0],i.iridescenceThicknessMaximum=e.iridescenceThicknessRange[1],e.iridescenceThicknessMap){const t={index:await r.processTextureAsync(e.iridescenceThicknessMap),texCoord:e.iridescenceThicknessMap.channel};r.applyTextureTransform(t,e.iridescenceThicknessMap),i.iridescenceThicknessTexture=t}t.extensions=t.extensions||{},t.extensions[this.name]=i,n[this.name]=!0}}class Of{constructor(e){this.writer=e,this.name="KHR_materials_transmission"}async writeMaterialAsync(e,t){if(!e.isMeshPhysicalMaterial||0===e.transmission)return;const r=this.writer,n=r.extensionsUsed,i={};if(i.transmissionFactor=e.transmission,e.transmissionMap){const t={index:await r.processTextureAsync(e.transmissionMap),texCoord:e.transmissionMap.channel};r.applyTextureTransform(t,e.transmissionMap),i.transmissionTexture=t}t.extensions=t.extensions||{},t.extensions[this.name]=i,n[this.name]=!0}}class Bf{constructor(e){this.writer=e,this.name="KHR_materials_volume"}async writeMaterialAsync(e,t){if(!e.isMeshPhysicalMaterial||0===e.transmission)return;const r=this.writer,n=r.extensionsUsed,i={};if(i.thicknessFactor=e.thickness,e.thicknessMap){const t={index:await r.processTextureAsync(e.thicknessMap),texCoord:e.thicknessMap.channel};r.applyTextureTransform(t,e.thicknessMap),i.thicknessTexture=t}e.attenuationDistance!==1/0&&(i.attenuationDistance=e.attenuationDistance),i.attenuationColor=e.attenuationColor.toArray(),t.extensions=t.extensions||{},t.extensions[this.name]=i,n[this.name]=!0}}class Uf{constructor(e){this.writer=e,this.name="KHR_materials_ior"}async writeMaterialAsync(e,t){if(!e.isMeshPhysicalMaterial||1.5===e.ior)return;const r=this.writer.extensionsUsed,n={};n.ior=e.ior,t.extensions=t.extensions||{},t.extensions[this.name]=n,r[this.name]=!0}}class Vf{constructor(e){this.writer=e,this.name="KHR_materials_specular"}async writeMaterialAsync(e,t){if(!e.isMeshPhysicalMaterial||1===e.specularIntensity&&e.specularColor.equals(Ef)&&!e.specularIntensityMap&&!e.specularColorMap)return;const r=this.writer,n=r.extensionsUsed,i={};if(e.specularIntensityMap){const t={index:await r.processTextureAsync(e.specularIntensityMap),texCoord:e.specularIntensityMap.channel};r.applyTextureTransform(t,e.specularIntensityMap),i.specularTexture=t}if(e.specularColorMap){const t={index:await r.processTextureAsync(e.specularColorMap),texCoord:e.specularColorMap.channel};r.applyTextureTransform(t,e.specularColorMap),i.specularColorTexture=t}i.specularFactor=e.specularIntensity,i.specularColorFactor=e.specularColor.toArray(),t.extensions=t.extensions||{},t.extensions[this.name]=i,n[this.name]=!0}}class zf{constructor(e){this.writer=e,this.name="KHR_materials_sheen"}async writeMaterialAsync(e,t){if(!e.isMeshPhysicalMaterial||0==e.sheen)return;const r=this.writer,n=r.extensionsUsed,i={};if(e.sheenRoughnessMap){const t={index:await r.processTextureAsync(e.sheenRoughnessMap),texCoord:e.sheenRoughnessMap.channel};r.applyTextureTransform(t,e.sheenRoughnessMap),i.sheenRoughnessTexture=t}if(e.sheenColorMap){const t={index:await r.processTextureAsync(e.sheenColorMap),texCoord:e.sheenColorMap.channel};r.applyTextureTransform(t,e.sheenColorMap),i.sheenColorTexture=t}i.sheenRoughnessFactor=e.sheenRoughness,i.sheenColorFactor=e.sheenColor.toArray(),t.extensions=t.extensions||{},t.extensions[this.name]=i,n[this.name]=!0}}class Hf{constructor(e){this.writer=e,this.name="KHR_materials_anisotropy"}async writeMaterialAsync(e,t){if(!e.isMeshPhysicalMaterial||0==e.anisotropy)return;const r=this.writer,n=r.extensionsUsed,i={};if(e.anisotropyMap){const t={index:await r.processTextureAsync(e.anisotropyMap)};r.applyTextureTransform(t,e.anisotropyMap),i.anisotropyTexture=t}i.anisotropyStrength=e.anisotropy,i.anisotropyRotation=e.anisotropyRotation,t.extensions=t.extensions||{},t.extensions[this.name]=i,n[this.name]=!0}}class Gf{constructor(e){this.writer=e,this.name="KHR_materials_emissive_strength"}async writeMaterialAsync(e,t){if(!e.isMeshStandardMaterial||1===e.emissiveIntensity)return;const r=this.writer.extensionsUsed,n={};n.emissiveStrength=e.emissiveIntensity,t.extensions=t.extensions||{},t.extensions[this.name]=n,r[this.name]=!0}}class jf{constructor(e){this.writer=e,this.name="EXT_materials_bump"}async writeMaterialAsync(e,t){if(!e.isMeshStandardMaterial||1===e.bumpScale&&!e.bumpMap)return;const r=this.writer,n=r.extensionsUsed,i={};if(e.bumpMap){const t={index:await r.processTextureAsync(e.bumpMap),texCoord:e.bumpMap.channel};r.applyTextureTransform(t,e.bumpMap),i.bumpTexture=t}i.bumpFactor=e.bumpScale,t.extensions=t.extensions||{},t.extensions[this.name]=i,n[this.name]=!0}}class Jf{constructor(e){this.writer=e,this.name="EXT_mesh_gpu_instancing"}writeNode(e,t){if(!e.isInstancedMesh)return;const r=this.writer,n=e,i=new Float32Array(3*n.count),o=new Float32Array(4*n.count),s=new Float32Array(3*n.count),a=new xn,l=new br,c=new vr,u=new br;for(let e=0;e<n.count;e++)n.getMatrixAt(e,a),a.decompose(l,c,u),l.toArray(i,3*e),c.toArray(o,4*e),u.toArray(s,3*e);const d={TRANSLATION:r.processAccessor(new Ei(i,3)),ROTATION:r.processAccessor(new Ei(o,4)),SCALE:r.processAccessor(new Ei(s,3))};n.instanceColor&&(d._COLOR_0=r.processAccessor(n.instanceColor)),t.extensions=t.extensions||{},t.extensions[this.name]={attributes:d},r.extensionsUsed[this.name]=!0,r.extensionsRequired[this.name]=!0}}Zg.Utils={insertKeyframe:function(e,t){const r=.001,n=e.getValueSize(),i=new e.TimeBufferType(e.times.length+1),o=new e.ValueBufferType(e.values.length+n),s=e.createInterpolant(new e.ValueBufferType(n));let a;if(0===e.times.length){i[0]=t;for(let e=0;e<n;e++)o[e]=0;a=0}else if(t<e.times[0]){if(Math.abs(e.times[0]-t)<r)return 0;i[0]=t,i.set(e.times,1),o.set(s.evaluate(t),0),o.set(e.values,n),a=0}else if(t>e.times[e.times.length-1]){if(Math.abs(e.times[e.times.length-1]-t)<r)return e.times.length-1;i[i.length-1]=t,i.set(e.times,0),o.set(e.values,0),o.set(s.evaluate(t),e.values.length),a=i.length-1}else for(let l=0;l<e.times.length;l++){if(Math.abs(e.times[l]-t)<r)return l;if(e.times[l]<t&&e.times[l+1]>t){i.set(e.times.slice(0,l+1),0),i[l+1]=t,i.set(e.times.slice(l+1),l+2),o.set(e.values.slice(0,(l+1)*n),0),o.set(s.evaluate(t),(l+1)*n),o.set(e.values.slice((l+1)*n),(l+2)*n),a=l+1;break}}return e.times=i,e.values=o,a},mergeMorphTargetTracks:function(e,t){const r=[],n={},i=e.tracks;for(let e=0;e<i.length;++e){let o=i[e];const s=Sc.parseTrackName(o.name),a=Sc.findNode(t,s.nodeName);if("morphTargetInfluences"!==s.propertyName||void 0===s.propertyIndex){r.push(o);continue}if(o.createInterpolant!==o.InterpolantFactoryMethodDiscrete&&o.createInterpolant!==o.InterpolantFactoryMethodLinear){if(o.createInterpolant.isInterpolantFactoryMethodGLTFCubicSpline)throw new Error("THREE.GLTFExporter: Cannot merge tracks with glTF CUBICSPLINE interpolation.");console.warn("THREE.GLTFExporter: Morph target interpolation mode not yet supported. Using LINEAR instead."),o=o.clone(),o.setInterpolation(Pt)}const l=a.morphTargetInfluences.length,c=a.morphTargetDictionary[s.propertyIndex];if(void 0===c)throw new Error("THREE.GLTFExporter: Morph target name not found: "+s.propertyIndex);let u;if(void 0===n[a.uuid]){u=o.clone();const e=new u.ValueBufferType(l*u.times.length);for(let t=0;t<u.times.length;t++)e[t*l+c]=u.values[t];u.name=(s.nodeName||"")+".morphTargetInfluences",u.values=e,n[a.uuid]=u,r.push(u);continue}const d=o.createInterpolant(new o.ValueBufferType(1));u=n[a.uuid];for(let e=0;e<u.times.length;e++)u.values[e*l+c]=d.evaluate(u.times[e]);for(let e=0;e<o.times.length;e++){const t=this.insertKeyframe(u,o.times[e]);u.values[t*l+c]=o.values[e]}}return e.tracks=r,e},toFloat32BufferAttribute:function(e){const t=new Ei(new Float32Array(e.count*e.itemSize),e.itemSize,!1);if(!e.normalized&&!e.isInterleavedBufferAttribute)return t.array.set(e.array),t;for(let r=0,n=e.count;r<n;r++)for(let n=0;n<e.itemSize;n++)t.setComponent(r,n,e.getComponent(r,n));return t}};const Wf=9,Qf=15,qf=16,Yf=22,Xf=37,Kf=43,Zf=76,ev=83,tv=97,rv=100,nv=103,iv=109,ov=122,sv=123,av=131,lv=132,cv=133,uv=134,dv=137,hv=138,pv=139,mv=140,_v=141,gv=142,fv=145,vv=146,bv=148,yv=152,$v=157,xv=158,Sv=165,wv=166,Av=1000054e3,Cv=1000054001,Ev=1000054004,Iv=1000054005,Mv=1000066e3,kv=1000066004;class Tv{constructor(e,t,r,n){this._dataView=void 0,this._littleEndian=void 0,this._offset=void 0,this._dataView=new DataView(e.buffer,e.byteOffset+t,r),this._littleEndian=n,this._offset=0}_nextUint8(){const e=this._dataView.getUint8(this._offset);return this._offset+=1,e}_nextUint16(){const e=this._dataView.getUint16(this._offset,this._littleEndian);return this._offset+=2,e}_nextUint32(){const e=this._dataView.getUint32(this._offset,this._littleEndian);return this._offset+=4,e}_nextUint64(){const e=this._dataView.getUint32(this._offset,this._littleEndian)+2**32*this._dataView.getUint32(this._offset+4,this._littleEndian);return this._offset+=8,e}_nextInt32(){const e=this._dataView.getInt32(this._offset,this._littleEndian);return this._offset+=4,e}_nextUint8Array(e){const t=new Uint8Array(this._dataView.buffer,this._dataView.byteOffset+this._offset,e);return this._offset+=e,t}_skip(e){return this._offset+=e,this}_scan(e,t=0){const r=this._offset;let n=0;for(;this._dataView.getUint8(this._offset)!==t&&n<e;)n++,this._offset++;return n<e&&this._offset++,new Uint8Array(this._dataView.buffer,this._dataView.byteOffset+r,n)}}new Uint8Array([0]);const Rv=[171,75,84,88,32,50,48,187,13,10,26,10];function Lv(e){return(new TextDecoder).decode(e)}class Pv{constructor(e,t="",r=[],n=[]){this.name=e,this.type=t,this.metadata=r,this.properties=n,this.children=[]}addMetadata(e,t){this.metadata.push({key:e,value:t})}addProperty(e,t=[]){this.properties.push({property:e,metadata:t})}addChild(e){this.children.push(e)}toString(e=0){const t="\t".repeat(e),r=this.metadata.map(e=>{const r=e.key,n=e.value;if(Array.isArray(n)){const e=[];return e.push(`${r} = {`),n.forEach(r=>{e.push(`${t}\t\t${r}`)}),e.push(`${t}\t}`),e.join("\n")}return`${r} = ${n}`}),n=r.length?` (\n${r.map(e=>`${t}\t${e}`).join("\n")}\n${t})`:"",i=this.properties.map(e=>{const r=e.property,n=e.metadata.length?` (\n${e.metadata.map(e=>`${t}\t\t${e}`).join("\n")}\n${t}\t)`:"";return`${t}\t${r}${n}`}),o=this.children.map(t=>t.toString(e+1)),s=[];if(i.length>0&&s.push(...i),o.length>0){i.length>0&&s.push("");for(let e=0;e<o.length;e++)s.push(o[e]),e<o.length-1&&s.push("")}const a=s.join("\n"),l=this.type?this.type+" ":"";return`${t}def ${l}"${this.name}"${n}\n${t}{\n${a}\n${t}}`}}class Dv{constructor(){this.textureUtils=null}setTextureUtils(e){this.textureUtils=e}parse(e,t,r,n){this.parseAsync(e,n).then(t).catch(r)}async parseAsync(e,t={}){t=Object.assign({ar:{anchoring:{type:"plane"},planeAnchoring:{alignment:"horizontal"}},includeAnchoringProperties:!0,onlyVisible:!0,quickLookCompatible:!1,maxTextureSize:1024},t);const r=new Set,n={},i="model.usda";n[i]=null;const o=new Pv("Root","Xform"),s=new Pv("Scenes","Scope");s.addMetadata("kind",'"sceneLibrary"'),o.addChild(s);const a="Scene",l=new Pv(a,"Xform");let c;l.addMetadata("customData",["bool preliminary_collidesWithEnvironment = 0",`string sceneName = "${a}"`]),l.addMetadata("sceneName",`"${a}"`),t.includeAnchoringProperties&&(l.addProperty(`token preliminary:anchoring:type = "${t.ar.anchoring.type}"`),l.addProperty(`token preliminary:planeAnchoring:alignment = "${t.ar.planeAnchoring.alignment}"`)),s.addChild(l);const u={},d={};Uv(e,l,u,r,n,t);const h=function(e,t,r=!1){const n=new Pv("Materials");for(const i in e){const o=e[i];n.addChild(Qv(o,t,r))}return n}(u,d,t.quickLookCompatible);c=Bv()+"\n"+o.toString()+"\n\n"+h.toString(),n[i]=Qg(c),c=null;for(const e in d){let r=d[e];if(!0===r.isCompressedTexture){if(null===this.textureUtils)throw new Error("THREE.USDZExporter: setTextureUtils() must be called to process compressed textures.");r=await this.textureUtils.decompress(r)}const i=Fv(r.image,r.flipY,t.maxTextureSize),o=await new Promise(e=>i.toBlob(e,"image/png",1));n[`textures/Texture_${e}.png`]=new Uint8Array(await o.arrayBuffer())}let p=0;for(const e in n){const t=n[e];p+=34+e.length;const r=63&p;if(4!==r){const i=new Uint8Array(64-r);n[e]=[t,{extra:{12345:i}}]}p=t.length}return function(e,t){t||(t={});var r={},n=[];jg(e,"",r,t);var i=0,o=0;for(var s in r){var a=r[s],l=a[0],c=a[1],u=0==c.level?0:8,d=(S=Qg(s)).length,h=c.comment,p=h&&Qg(h),m=p&&p.length,_=qg(c.extra);d>65535&&wg(11);var g=u?Hg(l,c):l,f=g.length,v=Og();v.p(l),n.push(Ug(c,{size:l.length,crc:v.d(),c:g,f:S,m:p,u:d!=s.length||p&&h.length!=m,o:i,compression:u})),i+=30+d+_+f,o+=76+2*(d+_)+(m||0)+f}for(var b=new q_(o+22),y=i,$=o-i,x=0;x<n.length;++x){var S=n[x];Yg(b,S.o,S,S.f,S.u,S.c.length);var w=30+S.f.length+qg(S.extra);b.set(S.c,S.o+w),Yg(b,i,S,S.f,S.u,S.c.length,S.o,S.m),i+=16+w+(S.m?S.m.length:0)}return Xg(b,i,n.length,$,y),b}(n,{level:0})}}function Nv(e,t){let r=e.name;return r=r.replace(/[^A-Za-z0-9_]/g,""),/^[0-9]/.test(r)&&(r="_"+r),""===r&&(r=e.isCamera?"Camera":"Object"),t.has(r)&&(r=r+"_"+e.id),t.add(r),r}function Fv(e,t,r){if("undefined"!=typeof HTMLImageElement&&e instanceof HTMLImageElement||"undefined"!=typeof HTMLCanvasElement&&e instanceof HTMLCanvasElement||"undefined"!=typeof OffscreenCanvas&&e instanceof OffscreenCanvas||"undefined"!=typeof ImageBitmap&&e instanceof ImageBitmap){const n=r/Math.max(e.width,e.height),i=document.createElement("canvas");i.width=e.width*Math.min(1,n),i.height=e.height*Math.min(1,n);const o=i.getContext("2d");return!0===t&&(o.translate(0,i.height),o.scale(1,-1)),o.drawImage(e,0,0,i.width,i.height),i}throw new Error("THREE.USDZExporter: No valid image data found. Unable to process texture.")}const Ov=7;function Bv(){return'#usda 1.0\n(\n\tcustomLayerData = {\n\t\tstring creator = "Three.js USDZExporter"\n\t}\n\tdefaultPrim = "Root"\n\tmetersPerUnit = 1\n\tupAxis = "Y"\n)\n'}function Uv(e,t,r,n,i,o){for(let s=0,a=e.children.length;s<a;s++){const a=e.children[s];if(!1===a.visible&&!0===o.onlyVisible)continue;let l;if(a.isMesh){const e=a.geometry,t=a.material;if(t.isMeshStandardMaterial){const o="geometries/Geometry_"+e.id+".usda";if(!(o in i)){const t=jv(e);i[o]=Qg(Bv()+"\n"+t.toString())}t.uuid in r||(r[t.uuid]=t),l=zv(a,e,r[t.uuid],n)}else console.warn("THREE.USDZExporter: Unsupported material type (USDZ only supports MeshStandardMaterial)",a)}else l=a.isCamera?Xv(a,n):Vv(a,n);l&&(t.addChild(l),Uv(a,l,r,n,i,o))}}function Vv(e,t){const r=Nv(e,t),n=Hv(e.matrix);e.matrix.determinant()<0&&console.warn("THREE.USDZExporter: USDZ does not support negative scales",e);const i=new Pv(r,"Xform");return i.addProperty(`matrix4d xformOp:transform = ${n}`),i.addProperty('uniform token[] xformOpOrder = ["xformOp:transform"]'),i}function zv(e,t,r,n){const i=Vv(e,n);return i.addMetadata("prepend references",`@./geometries/Geometry_${t.id}.usda@</Geometry>`),i.addMetadata("prepend apiSchemas",'["MaterialBindingAPI"]'),i.addProperty(`rel material:binding = </Materials/Material_${r.id}>`),i}function Hv(e){const t=e.elements;return`( ${Gv(t,0)}, ${Gv(t,4)}, ${Gv(t,8)}, ${Gv(t,12)} )`}function Gv(e,t){return`(${e[t+0]}, ${e[t+1]}, ${e[t+2]}, ${e[t+3]})`}function jv(e){const t=new Pv("Geometry"),r=function(e){const t="Geometry",r=e.attributes,n=r.position.count,i=new Pv(t,"Mesh");i.addProperty(`int[] faceVertexCounts = [${function(e){const t=null!==e.index?e.index.count:e.attributes.position.count;return Array(t/3).fill(3).join(", ")}(e)}]`),i.addProperty(`int[] faceVertexIndices = [${function(e){const t=e.index,r=[];if(null!==t)for(let e=0;e<t.count;e++)r.push(t.getX(e));else{const t=e.attributes.position.count;for(let e=0;e<t;e++)r.push(e)}return r.join(", ")}(e)}]`),i.addProperty(`normal3f[] normals = [${Jv(r.normal,n)}]`,['interpolation = "vertex"']),i.addProperty(`point3f[] points = [${Jv(r.position,n)}]`);for(let e=0;e<4;e++){const t=e>0?e:"",n=r["uv"+t];void 0!==n&&i.addProperty(`texCoord2f[] primvars:st${t} = [${Wv(n)}]`,['interpolation = "vertex"'])}const o=r.color;void 0!==o&&i.addProperty(`color3f[] primvars:displayColor = [${Jv(o,n)}]`,['interpolation = "vertex"']);return i.addProperty('uniform token subdivisionScheme = "none"'),i}(e);return t.addChild(r),t}function Jv(e,t){if(void 0===e)return console.warn("USDZExporter: Normals missing."),Array(t).fill("(0, 0, 0)").join(", ");const r=[];for(let t=0;t<e.count;t++){const n=e.getX(t),i=e.getY(t),o=e.getZ(t);r.push(`(${n.toPrecision(Ov)}, ${i.toPrecision(Ov)}, ${o.toPrecision(Ov)})`)}return r.join(", ")}function Wv(e){const t=[];for(let r=0;r<e.count;r++){const n=e.getX(r),i=e.getY(r);t.push(`(${n.toPrecision(Ov)}, ${1-i.toPrecision(Ov)})`)}return t.join(", ")}function Qv(e,t,r=!1){const n=new Pv(`Material_${e.id}`,"Material");function i(n,i,o){const s=n.source.id+"_"+n.flipY;t[s]=n;const a=n.channel>0?"st"+n.channel:"st",l={1e3:"repeat",1001:"clamp",1002:"mirror"},c=n.repeat.clone(),u=n.offset.clone(),d=n.rotation,h=Math.sin(d),p=Math.cos(d);u.y=1-u.y-c.y,r?(u.x=u.x/c.x,u.y=u.y/c.y,u.x+=h/c.x,u.y+=p-1):(u.x+=h*c.x,u.y+=(1-p)*c.y);const m=new Pv(`PrimvarReader_${i}`,"Shader");m.addProperty('uniform token info:id = "UsdPrimvarReader_float2"'),m.addProperty("float2 inputs:fallback = (0.0, 0.0)"),m.addProperty(`token inputs:varname = "${a}"`),m.addProperty("float2 outputs:result");const _=new Pv(`Transform2d_${i}`,"Shader");_.addProperty('uniform token info:id = "UsdTransform2d"'),_.addProperty(`token inputs:in.connect = </Materials/Material_${e.id}/PrimvarReader_${i}.outputs:result>`),_.addProperty(`float inputs:rotation = ${(d*(180/Math.PI)).toFixed(Ov)}`),_.addProperty(`float2 inputs:scale = ${Yv(c)}`),_.addProperty(`float2 inputs:translation = ${Yv(u)}`),_.addProperty("float2 outputs:result");const g=new Pv(`Texture_${n.id}_${i}`,"Shader");return g.addProperty('uniform token info:id = "UsdUVTexture"'),g.addProperty(`asset inputs:file = @textures/Texture_${s}.png@`),g.addProperty(`float2 inputs:st.connect = </Materials/Material_${e.id}/Transform2d_${i}.outputs:result>`),void 0!==o&&g.addProperty(`float4 inputs:scale = ${function(e){return`(${e.r}, ${e.g}, ${e.b}, 1.0)`}(o)}`),g.addProperty(`token inputs:sourceColorSpace = "${n.colorSpace===Vt?"raw":"sRGB"}"`),g.addProperty(`token inputs:wrapS = "${l[n.wrapS]}"`),g.addProperty(`token inputs:wrapT = "${l[n.wrapT]}"`),g.addProperty("float outputs:r"),g.addProperty("float outputs:g"),g.addProperty("float outputs:b"),g.addProperty("float3 outputs:rgb"),(e.transparent||e.alphaTest>0)&&g.addProperty("float outputs:a"),[m,_,g]}2===e.side&&console.warn("THREE.USDZExporter: USDZ does not support double sided materials",e);const o=new Pv("PreviewSurface","Shader");if(o.addProperty('uniform token info:id = "UsdPreviewSurface"'),null!==e.map){o.addProperty(`color3f inputs:diffuseColor.connect = </Materials/Material_${e.id}/Texture_${e.map.id}_diffuse.outputs:rgb>`),e.transparent?o.addProperty(`float inputs:opacity.connect = </Materials/Material_${e.id}/Texture_${e.map.id}_diffuse.outputs:a>`):e.alphaTest>0&&(o.addProperty(`float inputs:opacity.connect = </Materials/Material_${e.id}/Texture_${e.map.id}_diffuse.outputs:a>`),o.addProperty(`float inputs:opacityThreshold = ${e.alphaTest}`));i(e.map,"diffuse",e.color).forEach(e=>n.addChild(e))}else o.addProperty(`color3f inputs:diffuseColor = ${qv(e.color)}`);if(null!==e.emissiveMap){o.addProperty(`color3f inputs:emissiveColor.connect = </Materials/Material_${e.id}/Texture_${e.emissiveMap.id}_emissive.outputs:rgb>`);const t=new mi(e.emissive.r*e.emissiveIntensity,e.emissive.g*e.emissiveIntensity,e.emissive.b*e.emissiveIntensity);i(e.emissiveMap,"emissive",t).forEach(e=>n.addChild(e))}else e.emissive.getHex()>0&&o.addProperty(`color3f inputs:emissiveColor = ${qv(e.emissive)}`);if(null!==e.normalMap){o.addProperty(`normal3f inputs:normal.connect = </Materials/Material_${e.id}/Texture_${e.normalMap.id}_normal.outputs:rgb>`);i(e.normalMap,"normal").forEach(e=>n.addChild(e))}if(null!==e.aoMap){o.addProperty(`float inputs:occlusion.connect = </Materials/Material_${e.id}/Texture_${e.aoMap.id}_occlusion.outputs:r>`);const t=new mi(e.aoMapIntensity,e.aoMapIntensity,e.aoMapIntensity);i(e.aoMap,"occlusion",t).forEach(e=>n.addChild(e))}if(null!==e.roughnessMap){o.addProperty(`float inputs:roughness.connect = </Materials/Material_${e.id}/Texture_${e.roughnessMap.id}_roughness.outputs:g>`);const t=new mi(e.roughness,e.roughness,e.roughness);i(e.roughnessMap,"roughness",t).forEach(e=>n.addChild(e))}else o.addProperty(`float inputs:roughness = ${e.roughness}`);if(null!==e.metalnessMap){o.addProperty(`float inputs:metallic.connect = </Materials/Material_${e.id}/Texture_${e.metalnessMap.id}_metallic.outputs:b>`);const t=new mi(e.metalness,e.metalness,e.metalness);i(e.metalnessMap,"metallic",t).forEach(e=>n.addChild(e))}else o.addProperty(`float inputs:metallic = ${e.metalness}`);if(null!==e.alphaMap){o.addProperty(`float inputs:opacity.connect = </Materials/Material_${e.id}/Texture_${e.alphaMap.id}_opacity.outputs:r>`),o.addProperty("float inputs:opacityThreshold = 0.0001");i(e.alphaMap,"opacity").forEach(e=>n.addChild(e))}else o.addProperty(`float inputs:opacity = ${e.opacity}`);if(e.isMeshPhysicalMaterial){if(null!==e.clearcoatMap){o.addProperty(`float inputs:clearcoat.connect = </Materials/Material_${e.id}/Texture_${e.clearcoatMap.id}_clearcoat.outputs:r>`);const t=new mi(e.clearcoat,e.clearcoat,e.clearcoat);i(e.clearcoatMap,"clearcoat",t).forEach(e=>n.addChild(e))}else o.addProperty(`float inputs:clearcoat = ${e.clearcoat}`);if(null!==e.clearcoatRoughnessMap){o.addProperty(`float inputs:clearcoatRoughness.connect = </Materials/Material_${e.id}/Texture_${e.clearcoatRoughnessMap.id}_clearcoatRoughness.outputs:g>`);const t=new mi(e.clearcoatRoughness,e.clearcoatRoughness,e.clearcoatRoughness);i(e.clearcoatRoughnessMap,"clearcoatRoughness",t).forEach(e=>n.addChild(e))}else o.addProperty(`float inputs:clearcoatRoughness = ${e.clearcoatRoughness}`);o.addProperty(`float inputs:ior = ${e.ior}`)}return o.addProperty("int inputs:useSpecularWorkflow = 0"),o.addProperty("token outputs:surface"),n.addChild(o),n.addProperty(`token outputs:surface.connect = </Materials/Material_${e.id}/PreviewSurface.outputs:surface>`),n}function qv(e){return`(${e.r}, ${e.g}, ${e.b})`}function Yv(e){return`(${e.x}, ${e.y})`}function Xv(e,t){const r=Nv(e,t),n=Hv(e.matrix);e.matrix.determinant()<0&&console.warn("THREE.USDZExporter: USDZ does not support negative scales",e);const i=new Pv(r,"Camera");i.addProperty(`matrix4d xformOp:transform = ${n}`),i.addProperty('uniform token[] xformOpOrder = ["xformOp:transform"]');const o=e.isOrthographicCamera?"orthographic":"perspective";i.addProperty(`token projection = "${o}"`);const s=`(${e.near.toPrecision(Ov)}, ${e.far.toPrecision(Ov)})`;let a,l;if(i.addProperty(`float2 clippingRange = ${s}`),a=e.isOrthographicCamera?(10*(Math.abs(e.left)+Math.abs(e.right))).toPrecision(Ov):e.getFilmWidth().toPrecision(Ov),i.addProperty(`float horizontalAperture = ${a}`),l=e.isOrthographicCamera?(10*(Math.abs(e.top)+Math.abs(e.bottom))).toPrecision(Ov):e.getFilmHeight().toPrecision(Ov),i.addProperty(`float verticalAperture = ${l}`),e.isPerspectiveCamera){const t=e.getFocalLength().toPrecision(Ov);i.addProperty(`float focalLength = ${t}`);const r=e.focus.toPrecision(Ov);i.addProperty(`float focusDistance = ${r}`)}return i}new br,new zc,new hs,new br,new ci;new br;function Kv(e,t){if(0===t)return console.warn("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Geometry already defined as triangles."),e;if(2===t||1===t){let r=e.getIndex();if(null===r){const t=[],n=e.getAttribute("position");if(void 0===n)return console.error("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Undefined position attribute. Processing not possible."),e;for(let e=0;e<n.count;e++)t.push(e);e.setIndex(t),r=e.getIndex()}const n=r.count-2,i=[];if(2===t)for(let e=1;e<=n;e++)i.push(r.getX(0)),i.push(r.getX(e)),i.push(r.getX(e+1));else for(let e=0;e<n;e++)e%2==0?(i.push(r.getX(e)),i.push(r.getX(e+1)),i.push(r.getX(e+2))):(i.push(r.getX(e+2)),i.push(r.getX(e+1)),i.push(r.getX(e)));i.length/3!==n&&console.error("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Unable to generate correct amount of triangles.");const o=e.clone();return o.setIndex(i),o.clearGroups(),o}return console.error("THREE.BufferGeometryUtils.toTrianglesDrawMode(): Unknown draw mode:",t),e}new br,new br,new xr;new br,new br;new WeakMap;new fr,new Mc;new gs,new br,new br,new br,new br,new br,new br,new br,new br,new br,new br,new br,new br,new br,new br,new xn,new vr,new br;class Zv{static init(){const e=[1,0,0,2e-5,1,0,0,503905e-9,1,0,0,.00201562,1,0,0,.00453516,1,0,0,.00806253,1,0,0,.0125978,1,0,0,.018141,1,0,0,.0246924,1,0,0,.0322525,1,0,0,.0408213,1,0,0,.0503999,1,0,0,.0609894,1,0,0,.0725906,1,0,0,.0852058,1,0,0,.0988363,1,0,0,.113484,1,0,0,.129153,1,0,0,.145839,1,0,0,.163548,1,0,0,.182266,1,0,0,.201942,1,0,0,.222314,1,0,0,.241906,1,0,0,.262314,1,0,0,.285754,1,0,0,.310159,1,0,0,.335426,1,0,0,.361341,1,0,0,.387445,1,0,0,.412784,1,0,0,.438197,1,0,0,.466966,1,0,0,.49559,1,0,0,.523448,1,0,0,.549938,1,0,0,.57979,1,0,0,.608746,1,0,0,.636185,1,0,0,.664748,1,0,0,.69313,1,0,0,.71966,1,0,0,.747662,1,0,0,.774023,1,0,0,.799775,1,0,0,.825274,1,0,0,.849156,1,0,0,.873248,1,0,0,.89532,1,0,0,.917565,1,0,0,.937863,1,0,0,.958139,1,0,0,.976563,1,0,0,.994658,1,0,0,1.0112,1,0,0,1.02712,1,0,0,1.04189,1,0,0,1.05568,1,0,0,1.06877,1,0,0,1.08058,1,0,0,1.09194,1,0,0,1.10191,1,0,0,1.11161,1,0,0,1.1199,1,0,0,1.12813,.999547,-4.48815e-7,.0224417,199902e-10,.999495,-113079e-10,.0224406,503651e-9,.999496,-452317e-10,.0224406,.00201461,.999496,-101772e-9,.0224406,.00453287,.999495,-180928e-9,.0224406,.00805845,.999497,-282702e-9,.0224406,.0125914,.999496,-407096e-9,.0224406,.0181319,.999498,-554114e-9,.0224406,.02468,.999499,-723768e-9,.0224406,.0322363,.999495,-916058e-9,.0224405,.0408009,.999499,-.00113101,.0224408,.050375,.999494,-.00136863,.0224405,.0609586,.999489,-.00162896,.0224401,.0725537,.999489,-.00191201,.0224414,.0851619,.999498,-.00221787,.0224413,.0987867,.999492,-.00254642,.0224409,.113426,.999507,-.00289779,.0224417,.129088,.999494,-.0032716,.0224386,.145767,.999546,-.0036673,.0224424,.163472,.999543,-.00408166,.0224387,.182182,.999499,-.00450056,.0224338,.201843,.999503,-.00483661,.0224203,.222198,.999546,-.00452928,.022315,.241714,.999508,-.00587403,.0224329,.262184,.999509,-.00638806,.0224271,.285609,.999501,-.00691028,.0224166,.309998,.999539,-.00741979,.0223989,.335262,.999454,-.00786282,.0223675,.361154,.999529,-.00811928,.0222828,.387224,.999503,-.00799941,.0221063,.41252,.999561,-.00952753,.0223057,.438006,.999557,-.0099134,.0222065,.466735,.999541,-.0100935,.0220402,.495332,.999562,-.00996821,.0218067,.523197,.999556,-.0105031,.0217096,.550223,.999561,-.0114191,.0217215,.579498,.999588,-.0111818,.0213357,.608416,.999633,-.0107725,.0208689,.635965,.999527,-.0121671,.0210149,.664476,.999508,-.0116005,.020431,.692786,.999568,-.0115604,.0199791,.719709,.999671,-.0121117,.0197415,.74737,.999688,-.0110769,.0188846,.773692,.99962,-.0122368,.0188452,.799534,.999823,-.0110325,.0178001,.825046,.999599,-.0114923,.0174221,.849075,.999619,-.0105923,.0164345,.872999,.999613,-.0105988,.0158227,.895371,.99964,-.00979861,.0148131,.917364,.99977,-.00967238,.0140721,.938002,.999726,-.00869175,.0129543,.957917,.99973,-.00866872,.0122329,.976557,.999773,-.00731956,.0108958,.994459,.999811,-.00756027,.0102715,1.01118,.999862,-.00583732,.00878781,1.02701,.999835,-.00631438,.00827529,1.04186,.999871,-.00450785,.00674583,1.05569,.999867,-.00486079,.00621041,1.06861,.999939,-.00322072,.00478301,1.08064,.999918,-.00318199,.00406395,1.09181,1.00003,-.00193348,.00280682,1.10207,.999928,-.00153729,.00198741,1.11152,.999933,-623666e-9,917714e-9,1.12009,1,-102387e-11,9.07581e-7,1.12813,.997866,-8.96716e-7,.0448334,199584e-10,.997987,-225945e-10,.0448389,502891e-9,.997987,-903781e-10,.0448388,.00201156,.997985,-203351e-9,.0448388,.00452602,.997986,-361514e-9,.0448388,.00804629,.997987,-56487e-8,.0448389,.0125724,.997988,-813423e-9,.0448389,.0181045,.997984,-.00110718,.0448387,.0246427,.997985,-.00144616,.0448388,.0321875,.997987,-.00183038,.044839,.0407392,.997983,-.00225987,.0448387,.0502986,.997991,-.00273467,.0448389,.0608667,.997984,-.00325481,.0448384,.0724444,.998002,-.00382043,.044839,.0850348,.997997,-.00443145,.0448396,.0986372,.998007,-.00508796,.0448397,.113255,.998008,-.00578985,.04484,.128891,.998003,-.00653683,.0448384,.145548,.997983,-.00732713,.0448358,.163221,.997985,-.00815454,.0448358,.181899,.998005,-.00898985,.0448286,.201533,.998026,-.00964404,.0447934,.221821,.998055,-.00922677,.044611,.241282,.99804,-.0117361,.0448245,.261791,.998048,-.0127628,.0448159,.285181,.998088,-.0138055,.0447996,.30954,.998058,-.0148206,.0447669,.334751,.998099,-.0156998,.044697,.36061,.998116,-.0161976,.0445122,.386603,.998195,-.015945,.0441711,.411844,.998168,-.0183947,.0444255,.43773,.998184,-.0197913,.0443809,.466009,.998251,-.0201426,.0440689,.494574,.998305,-.0198847,.0435632,.522405,.998273,-.0210577,.043414,.549967,.998254,-.0227901,.0433943,.578655,.998349,-.0223108,.0426529,.60758,.99843,-.0223088,.042,.635524,.998373,-.0241141,.0418987,.663621,.998425,-.0231446,.0408118,.691906,.998504,-.0233684,.0400565,.719339,.998443,-.0241652,.0394634,.74643,.99848,-.0228715,.0380002,.773086,.998569,-.023519,.0372322,.798988,.998619,-.0223108,.0356468,.824249,.998594,-.0223105,.034523,.848808,.998622,-.0213426,.0328887,.87227,.998669,-.0207912,.0314374,.895157,.998705,-.0198416,.0296925,.916769,.998786,-.0189168,.0279634,.937773,.998888,-.0178811,.0261597,.957431,.99906,-.0166845,.0242159,.976495,.999038,-.0155464,.0222638,.994169,.999237,-.0141349,.0201967,1.01112,.999378,-.0129324,.0181744,1.02692,.999433,-.0113192,.0159898,1.04174,.999439,-.0101244,.0140385,1.05559,.999614,-.00837456,.0117826,1.06852,.999722,-.00721769,.00983745,1.08069,.999817,-.00554067,.00769002,1.09176,.99983,-.00426961,.005782,1.10211,.999964,-.00273904,.00374503,1.11152,1.00001,-.00136739,.00187176,1.12031,.999946,393227e-10,-28919e-9,1.12804,.995847,-13435e-10,.0671785,19916e-9,.995464,-338387e-10,.0671527,501622e-9,.99547,-135355e-9,.0671531,.00200649,.995471,-30455e-8,.0671532,.00451461,.99547,-541423e-9,.0671531,.008026,.995471,-84598e-8,.0671531,.0125407,.99547,-.00121823,.0671531,.0180589,.99547,-.00165817,.0671531,.0245806,.995463,-.00216583,.0671526,.0321062,.995468,-.00274127,.0671527,.0406366,.995474,-.00338447,.0671534,.0501717,.995473,-.00409554,.0671533,.0607131,.995478,-.00487451,.0671531,.0722618,.995476,-.00572148,.0671532,.0848191,.995477,-.00663658,.0671539,.0983882,.995498,-.00761986,.0671541,.112972,.995509,-.00867094,.0671542,.128568,.995509,-.00978951,.0671531,.145183,.995503,-.0109725,.0671491,.162808,.995501,-.012211,.0671465,.181441,.99553,-.0134565,.0671371,.201015,.99555,-.014391,.0670831,.221206,.99558,-.014351,.0668883,.240813,.995577,-.0173997,.0671055,.261257,.995602,-.0191111,.0671178,.284467,.995623,-.0206705,.0670946,.308765,.995658,-.022184,.0670472,.333905,.995705,-.0234832,.0669417,.359677,.995719,-.0241933,.0666714,.385554,.995786,-.0243539,.066266,.410951,.995887,-.0271866,.0664367,.437163,.995944,-.0296012,.0664931,.464842,.996004,-.0301045,.0660105,.49332,.996128,-.0298311,.0652694,.521131,.996253,-.0316426,.0650739,.549167,.996244,-.0339043,.0649433,.57737,.996309,-.033329,.0638926,.606073,.996417,-.0338935,.0630849,.634527,.996372,-.0353104,.0625083,.66256,.996542,-.0348942,.0611986,.690516,.996568,-.0351614,.060069,.718317,.996711,-.0354317,.0588522,.74528,.996671,-.0349513,.0571902,.772061,.996865,-.0345622,.0555321,.798089,.996802,-.0342566,.0537816,.823178,.996992,-.0330862,.0516095,.847949,.996944,-.0324666,.0495537,.871431,.997146,-.0309544,.0470302,.894357,.997189,-.0299372,.0446043,.916142,.997471,-.0281389,.0418812,.937193,.997515,-.0268702,.0391823,.957,.997812,-.0247166,.0361338,.975936,.998027,-.0233525,.0333945,.99391,.998233,-.0209839,.0301917,1.01075,.998481,-.0194309,.027271,1.02669,.998859,-.0169728,.0240162,1.04173,.99894,-.0152322,.0210517,1.05551,.999132,-.0127497,.0178632,1.06856,.999369,-.0108282,.014787,1.08054,.999549,-.00845886,.0116185,1.09185,.999805,-.0063937,.00867209,1.10207,.99985,-.00414582,.00566823,1.1117,.999912,-.00207443,.00277562,1.12022,1.00001,870226e-10,-53766e-9,1.12832,.991943,-178672e-11,.0893382,198384e-10,.991952,-450183e-10,.089339,499849e-9,.991956,-180074e-9,.0893394,.0019994,.991955,-405167e-9,.0893393,.00449867,.991953,-720298e-9,.0893391,.00799764,.991955,-.00112548,.0893393,.0124964,.991957,-.0016207,.0893395,.0179951,.991958,-.00220601,.0893396,.0244939,.991947,-.00288137,.0893385,.0319929,.991962,-.00364693,.0893399,.0404933,.991965,-.00450264,.0893399,.049995,.99198,-.00544862,.0893411,.0604995,.99197,-.00648491,.0893397,.0720074,.991976,-.00761164,.089341,.0845207,.99198,-.00882891,.0893405,.0980413,.991982,-.0101367,.0893396,.112571,.992008,-.011535,.0893415,.128115,.992026,-.0130228,.0893414,.144672,.992064,-.0145966,.0893418,.162241,.992041,-.0162421,.0893359,.180801,.992086,-.0178888,.0893214,.200302,.992157,-.0190368,.0892401,.220332,.992181,-.0195584,.0890525,.240144,.992175,-.0227257,.0892153,.260728,.99221,-.0254195,.089304,.283473,.99222,-.0274883,.0892703,.307673,.992317,-.0294905,.0892027,.332729,.992374,-.0311861,.0890577,.358387,.992505,-.0320656,.0886994,.384102,.992568,-.0329715,.0883198,.409767,.992675,-.036006,.0883602,.436145,.992746,-.0392897,.0884591,.463217,.992873,-.0399337,.0878287,.491557,.992934,-.040231,.0870108,.519516,.993091,-.0422013,.0865857,.547741,.993259,-.0443503,.0861937,.575792,.993455,-.0446368,.0851187,.604233,.993497,-.0454299,.0840576,.632925,.993694,-.0463296,.0829671,.660985,.993718,-.0470619,.0817185,.688714,.993973,-.0468838,.0800294,.716743,.994207,-.046705,.0781286,.74377,.994168,-.0469698,.0763337,.77042,.9945,-.0456816,.0738184,.796659,.994356,-.0455518,.0715545,.821868,.994747,-.0439488,.0686085,.846572,.994937,-.0430056,.065869,.870435,.995142,-.0413414,.0626446,.893272,.995451,-.0396521,.05929,.915376,.995445,-.0378453,.0558503,.936196,.995967,-.0355219,.0520949,.956376,.996094,-.0335146,.048377,.975327,.996622,-.030682,.0442575,.993471,.996938,-.0285504,.0404693,1.01052,.997383,-.0253399,.0360903,1.02637,.997714,-.0231651,.0322176,1.04139,.998249,-.0198138,.0278433,1.05542,.998596,-.0174337,.0238759,1.06846,.998946,-.0141349,.0195944,1.08056,.99928,-.0115603,.0156279,1.09181,.999507,-.00839065,.0114607,1.10213,.999697,-.005666,.00763325,1.11169,.999869,-.00269902,.00364946,1.12042,1.00001,623836e-10,-319288e-10,1.12832,.987221,-222675e-11,.111332,197456e-10,.98739,-561116e-10,.111351,497563e-9,.987448,-224453e-9,.111357,.00199031,.987441,-505019e-9,.111357,.0044782,.987442,-897816e-9,.111357,.00796129,.987442,-.00140284,.111357,.0124396,.987444,-.00202012,.111357,.0179132,.987442,-.00274964,.111357,.0243824,.987446,-.00359147,.111357,.0318474,.987435,-.00454562,.111356,.0403086,.987461,-.00561225,.111358,.0497678,.987458,-.00679125,.111358,.0602239,.987443,-.0080828,.111356,.0716792,.987476,-.0094872,.111358,.0841364,.98749,-.0110044,.111361,.097597,.987508,-.0126344,.111362,.112062,.987494,-.0143767,.111357,.127533,.987526,-.0162307,.111359,.144015,.987558,-.0181912,.111361,.161502,.987602,-.0202393,.111355,.179979,.987692,-.022273,.111346,.199386,.987702,-.0235306,.111215,.219183,.987789,-.0247628,.111061,.239202,.987776,-.0280668,.111171,.259957,.987856,-.0316751,.111327,.282198,.987912,-.0342468,.111282,.306294,.988,-.0367205,.111198,.331219,.988055,-.0387766,.110994,.356708,.988241,-.0397722,.110547,.382234,.988399,-.0416076,.110198,.408227,.988539,-.0448192,.110137,.434662,.988661,-.0483793,.110143,.461442,.988967,-.0495895,.109453,.489318,.989073,-.0506797,.108628,.517516,.989274,-.0526953,.108003,.545844,.989528,-.054578,.107255,.573823,.989709,-.0561503,.106294,.601944,.989991,-.056866,.104896,.630855,.990392,-.0572914,.103336,.658925,.990374,-.0586224,.10189,.686661,.990747,-.0584764,.099783,.714548,.991041,-.0582662,.0974309,.74186,.991236,-.0584118,.0951678,.768422,.991585,-.0573055,.0921581,.794817,.991984,-.0564241,.0891167,.820336,.9921,-.0553608,.085805,.84493,.992749,-.0533816,.0820354,.868961,.99288,-.0518661,.0782181,.891931,.993511,-.0492492,.0738935,.914186,.993617,-.0471956,.0696402,.93532,.99411,-.044216,.0649659,.95543,.994595,-.0416654,.0603177,.974685,.994976,-.0384314,.0553493,.992807,.995579,-.0353491,.0503942,1.00996,.996069,-.0319787,.0452123,1.02606,.996718,-.028472,.0400112,1.04114,.997173,-.0250789,.0349456,1.05517,.997818,-.0213326,.029653,1.0683,.998318,-.0178509,.024549,1.0805,.998853,-.0141118,.0194197,1.09177,.999218,-.0105914,.0143869,1.1022,.999594,-.00693474,.00943517,1.11175,.99975,-.00340478,.00464051,1.12056,1.00001,109172e-9,-112821e-9,1.12853,.983383,-266524e-11,.133358,196534e-10,.981942,-671009e-10,.133162,494804e-9,.981946,-268405e-9,.133163,.00197923,.981944,-603912e-9,.133163,.00445326,.981941,-.00107362,.133162,.00791693,.981946,-.00167755,.133163,.0123703,.981944,-.00241569,.133162,.0178135,.981945,-.00328807,.133163,.0242466,.981945,-.00429472,.133162,.03167,.981955,-.00543573,.133164,.0400846,.981951,-.00671105,.133163,.0494901,.981968,-.00812092,.133165,.0598886,.981979,-.00966541,.133166,.0712811,.981996,-.0113446,.133168,.083669,.982014,-.0131585,.133169,.0970533,.982011,-.0151073,.133167,.111438,.982062,-.0171906,.133172,.126826,.9821,-.0194067,.133175,.143215,.982149,-.0217502,.133176,.160609,.982163,-.0241945,.133173,.178981,.982247,-.0265907,.133148,.198249,.982291,-.027916,.132974,.217795,.982396,-.0299663,.132868,.238042,.982456,-.0334544,.132934,.258901,.982499,-.0378636,.133137,.280639,.982617,-.0409274,.133085,.304604,.98274,-.0438523,.132985,.329376,.982944,-.0462288,.132728,.354697,.98308,-.0475995,.132228,.380102,.983391,-.0501901,.131924,.406256,.983514,-.0535899,.131737,.432735,.98373,-.0571858,.131567,.459359,.984056,-.0592353,.130932,.486637,.984234,-.0610488,.130092,.51509,.984748,-.0630758,.12923,.543461,.985073,-.0647398,.128174,.571376,.985195,-.0671941,.127133,.599414,.985734,-.0681345,.125576,.628134,.986241,-.0686089,.123639,.656399,.986356,-.0698511,.121834,.684258,.986894,-.0700931,.119454,.711818,.987382,-.0698321,.116718,.739511,.988109,-.0693975,.113699,.766267,.988363,-.0689584,.110454,.792456,.989112,-.0672353,.106602,.81813,.989241,-.0662034,.10267,.842889,.990333,-.0638938,.0981381,.867204,.990591,-.0618534,.0935388,.89038,.991106,-.0593117,.088553,.912576,.991919,-.0562676,.0832187,.934118,.992111,-.0534085,.0778302,.954254,.992997,-.0495459,.0720453,.973722,.993317,-.0463707,.0663458,.991949,.994133,-.0421245,.0601883,1.00936,.994705,-.0384977,.0542501,1.02559,.995495,-.0340956,.0479862,1.04083,.996206,-.030105,.041887,1.05497,.996971,-.0256095,.0355355,1.06824,.997796,-.0213932,.0293655,1.08056,.998272,-.0169612,.0232926,1.09182,.998857,-.0126756,.0172786,1.10219,.99939,-.00832486,.0113156,1.11192,.999752,-.00410826,.00557892,1.12075,1,150957e-9,-119101e-9,1.12885,.975169,-309397e-11,.154669,195073e-10,.975439,-779608e-10,.154712,491534e-9,.975464,-311847e-9,.154716,.00196617,.975464,-701656e-9,.154716,.00442387,.975462,-.0012474,.154715,.0078647,.975461,-.00194906,.154715,.0122886,.975464,-.00280667,.154715,.0176959,.975468,-.00382025,.154716,.0240867,.975471,-.00498985,.154716,.0314612,.975472,-.00631541,.154717,.0398199,.975486,-.00779719,.154718,.0491639,.975489,-.00943505,.154718,.0594932,.975509,-.0112295,.154721,.0708113,.97554,-.0131802,.154724,.0831176,.975557,-.0152876,.154726,.096415,.975585,-.0175512,.154728,.110705,.975605,-.0199713,.154729,.125992,.975645,-.0225447,.154729,.142272,.975711,-.0252649,.154735,.159549,.975788,-.0280986,.154736,.177805,.975872,-.0308232,.154704,.196911,.975968,-.0324841,.154525,.216324,.976063,-.0351281,.154432,.236628,.976157,-.0388618,.15446,.257539,.976204,-.0437704,.154665,.278975,.976358,-.047514,.154652,.302606,.976571,-.0508638,.154535,.327204,.976725,-.0534995,.154221,.352276,.977013,-.0555547,.153737,.377696,.977294,-.0586728,.153403,.403855,.977602,-.0622715,.15312,.430333,.977932,-.0658166,.152755,.456855,.978241,-.0689877,.152233,.483668,.978602,-.0712805,.15132,.512097,.979234,-.0732775,.150235,.540455,.97977,-.075163,.148978,.568486,.979995,-.0778026,.147755,.596524,.98078,-.0791854,.146019,.624825,.981628,-.0799666,.143906,.653403,.982067,-.0808532,.141561,.681445,.98271,-.0816024,.139025,.708918,.983734,-.0812511,.135764,.736594,.98431,-.0806201,.132152,.763576,.985071,-.0801605,.12846,.789797,.98618,-.0784208,.124084,.815804,.986886,-.0766643,.1193,.840869,.987485,-.0747744,.114236,.864952,.988431,-.0716701,.108654,.888431,.988886,-.0691609,.102994,.910963,.990024,-.0654048,.0967278,.932629,.990401,-.0619765,.090384,.95313,.991093,-.0579296,.0837885,.972587,.992018,-.0536576,.0770171,.991184,.992536,-.0493719,.0701486,1.00863,.993421,-.0444813,.062953,1.02494,.993928,-.040008,.0560455,1.04017,.994994,-.0347982,.04856,1.05463,.995866,-.0301017,.0416152,1.06807,.996916,-.0248225,.0342597,1.08039,.997766,-.0199229,.0271668,1.09177,.998479,-.0147422,.0201387,1.10235,.99921,-.00980173,.0131944,1.11206,.999652,-.0047426,.00640712,1.12104,.999998,891673e-10,-10379e-8,1.12906,.967868,-351885e-11,.175947,193569e-10,.968001,-886733e-10,.175972,487782e-9,.96801,-354697e-9,.175973,.00195115,.968012,-798063e-9,.175974,.00439006,.968011,-.00141879,.175973,.00780461,.968011,-.00221686,.175973,.0121948,.968016,-.00319231,.175974,.0175607,.968019,-.00434515,.175974,.0239027,.968018,-.00567538,.175974,.0312208,.968033,-.00718308,.175977,.0395158,.968049,-.00886836,.175979,.0487885,.968047,-.0107312,.175978,.0590394,.968072,-.0127719,.175981,.0702705,.968108,-.0149905,.175986,.0824836,.968112,-.0173866,.175985,.0956783,.968173,-.0199611,.175993,.109862,.96827,-.0227128,.176008,.125033,.968292,-.025639,.17601,.141193,.968339,-.0287299,.176007,.158336,.968389,-.0319399,.176001,.176441,.968501,-.034941,.175962,.195359,.968646,-.0370812,.175793,.214686,.968789,-.0402329,.175708,.234973,.96886,-.0442601,.1757,.255871,.969013,-.049398,.175876,.277238,.969242,-.0539932,.17594,.300326,.969419,-.0577299,.175781,.324702,.969763,-.0605643,.175432,.349527,.970093,-.0634488,.174992,.374976,.970361,-.0670589,.174611,.401097,.970825,-.0708246,.174226,.427496,.971214,-.0742871,.173684,.453858,.971622,-.0782608,.173186,.480637,.972175,-.0813151,.172288,.508655,.972944,-.0832678,.170979,.536973,.973595,-.0855964,.169573,.565138,.974345,-.0882163,.168152,.593222,.975233,-.0901671,.166314,.621201,.976239,-.0912111,.163931,.649919,.977289,-.0916959,.161106,.678011,.978076,-.0927061,.158272,.705717,.979533,-.0925562,.15475,.733228,.980335,-.0918159,.150638,.760454,.981808,-.0908508,.146201,.786918,.983061,-.0896172,.141386,.812953,.984148,-.0871588,.135837,.838281,.985047,-.0850624,.130135,.862594,.986219,-.0818541,.123882,.88633,.987043,-.0784523,.117126,.908952,.988107,-.0749601,.110341,.930744,.988955,-.0703548,.102885,.951728,.989426,-.0662798,.0954167,.971166,.990421,-.0610834,.0876331,.989984,.991032,-.0562936,.0797785,1.00765,.992041,-.0508154,.0718166,1.02434,.992794,-.0454045,.0637125,1.03976,.993691,-.0398194,.0555338,1.05418,.994778,-.0341482,.0473388,1.06772,.995915,-.028428,.0391016,1.08028,.997109,-.022642,.0309953,1.09185,.998095,-.0168738,.0230288,1.10247,.998985,-.0111274,.0150722,1.11229,.999581,-.00543881,.00740605,1.12131,1.00003,162239e-9,-105549e-9,1.12946,.959505,-393734e-11,.196876,191893e-10,.959599,-992157e-10,.196895,483544e-9,.959641,-396868e-9,.196903,.0019342,.959599,-892948e-9,.196895,.00435193,.959603,-.00158747,.196896,.0077368,.959604,-.00248042,.196896,.0120888,.959605,-.00357184,.196896,.0174082,.959605,-.00486169,.196896,.0236949,.959613,-.00635008,.196897,.0309497,.959619,-.00803696,.196898,.0391725,.959636,-.00992255,.196901,.0483649,.959634,-.0120067,.1969,.0585266,.959675,-.0142898,.196906,.0696609,.959712,-.0167717,.196911,.0817678,.959752,-.0194524,.196918,.0948494,.959807,-.0223321,.196925,.10891,.959828,-.0254091,.196924,.123947,.959906,-.0286815,.196934,.139968,.960005,-.0321371,.196944,.156968,.960071,-.0357114,.196936,.17491,.960237,-.0389064,.196882,.193597,.960367,-.041623,.196731,.21285,.960562,-.0452655,.196654,.233075,.960735,-.0496207,.196643,.253941,.960913,-.0549379,.196774,.275278,.961121,-.0603414,.196893,.297733,.96139,-.0644244,.196717,.321877,.961818,-.067556,.196314,.346476,.962175,-.0712709,.195917,.371907,.96255,-.0752848,.1955,.397916,.963164,-.0792073,.195026,.424229,.963782,-.0828225,.194424,.450637,.964306,-.0873119,.193831,.477288,.964923,-.0911051,.192973,.504716,.966048,-.093251,.19151,.533053,.967024,-.0958983,.190013,.561366,.968038,-.09835,.188253,.589464,.969152,-.100754,.186257,.617433,.970557,-.102239,.183775,.645801,.972104,-.102767,.180645,.674278,.973203,-.103492,.177242,.702004,.975123,-.103793,.17345,.729529,.97641,-.102839,.168886,.756712,.978313,-.101687,.163892,.783801,.980036,-.100314,.158439,.809671,.981339,-.097836,.152211,.835402,.982794,-.0950006,.145679,.860081,.984123,-.0920994,.138949,.883757,.984918,-.0878641,.131283,.90685,.985999,-.083939,.123464,.928786,.987151,-.0791234,.115324,.94983,.987827,-.0739332,.106854,.96962,.988806,-.0688088,.0982691,.98861,.989588,-.0628962,.0893456,1.00667,.990438,-.0573146,.0805392,1.02344,.991506,-.0509433,.0713725,1.03933,.992492,-.0448724,.0623732,1.05378,.993663,-.0383497,.0530838,1.06747,.994956,-.0319593,.0439512,1.08007,.99634,-.025401,.0347803,1.09182,.99761,-.0189687,.0257954,1.1025,.99863,-.0124441,.0169893,1.11247,.99947,-.00614003,.00829498,1.12151,1.00008,216624e-9,-146107e-9,1.12993,.950129,-434955e-11,.217413,190081e-10,.950264,-10957e-8,.217444,47884e-8,.9503,-438299e-9,.217451,.00191543,.950246,-986124e-9,.21744,.00430951,.950246,-.00175311,.21744,.00766137,.950245,-.00273923,.21744,.011971,.950253,-.00394453,.217441,.0172385,.950258,-.00536897,.217442,.0234641,.950267,-.00701262,.217444,.030648,.950277,-.00887551,.217446,.038791,.950284,-.0109576,.217446,.0478931,.950312,-.0132591,.217451,.0579568,.950334,-.01578,.217454,.0689821,.950378,-.0185204,.217462,.0809714,.950417,-.0214803,.217467,.0939265,.950488,-.0246594,.217479,.10785,.950534,-.0280565,.217483,.122743,.950633,-.0316685,.217498,.138611,.950698,-.0354787,.217499,.155442,.950844,-.0394003,.217507,.173208,.950999,-.0426812,.217419,.191605,.951221,-.0461302,.217317,.21084,.951412,-.0502131,.217238,.230945,.951623,-.0549183,.21722,.251745,.951867,-.0604493,.217306,.273001,.952069,-.0665189,.217466,.294874,.952459,-.0709179,.217266,.318732,.952996,-.0746112,.216891,.34318,.953425,-.0789252,.216503,.36849,.953885,-.0833293,.216042,.394373,.954617,-.087371,.215469,.420505,.955429,-.0914054,.214802,.446907,.956068,-.0961671,.214146,.473522,.957094,-.10048,.213286,.50052,.958372,-.103248,.211796,.528715,.959654,-.106033,.21016,.557065,.961305,-.108384,.208149,.585286,.962785,-.111122,.206024,.613334,.964848,-.112981,.203442,.641334,.966498,-.113717,.19996,.669955,.968678,-.114121,.196105,.698094,.970489,-.114524,.191906,.725643,.972903,-.113792,.186963,.752856,.974701,-.112406,.181343,.780013,.976718,-.110685,.175185,.806268,.978905,-.108468,.168535,.832073,.980267,-.105061,.161106,.857149,.981967,-.101675,.153387,.881145,.983063,-.0974492,.145199,.904255,.984432,-.0925815,.136527,.926686,.985734,-.0877983,.127584,.947901,.986228,-.081884,.118125,.968111,.98719,-.0761208,.108594,.98719,.988228,-.0698196,.0989996,1.00559,.989046,-.0632739,.0890074,1.02246,.990242,-.056522,.0790832,1.03841,.991252,-.0495272,.0689182,1.05347,.992542,-.0425373,.0588592,1.06724,.994096,-.0353198,.0486833,1.08009,.995593,-.028235,.0385977,1.09177,.99711,-.0209511,.0286457,1.10274,.998263,-.0139289,.0188497,1.11262,.999254,-.0067359,.009208,1.12191,.999967,141846e-9,-657764e-10,1.13024,.935608,-474692e-11,.236466,187817e-10,.93996,-11971e-8,.237568,473646e-9,.939959,-478845e-9,.237567,.0018946,.939954,-.0010774,.237566,.00426284,.939956,-.00191538,.237566,.00757842,.939954,-.00299277,.237566,.0118413,.93996,-.00430961,.237567,.0170518,.939969,-.00586589,.237569,.02321,.939982,-.00766166,.237572,.0303164,.939987,-.00969686,.237572,.0383711,.939997,-.0119715,.237574,.0473751,.940031,-.0144858,.237581,.0573298,.940073,-.0172399,.237589,.0682366,.94012,-.0202335,.237598,.080097,.940162,-.0234663,.237604,.0929116,.940237,-.0269387,.237615,.106686,.940328,-.0306489,.237632,.121421,.940419,-.0345917,.237645,.137115,.940522,-.0387481,.237654,.153766,.940702,-.0429906,.237661,.17133,.940871,-.0465089,.237561,.189502,.941103,-.050531,.23748,.208616,.941369,-.0550657,.237423,.228595,.941641,-.0601337,.237399,.249287,.941903,-.0658804,.237443,.270467,.942224,-.0722674,.237597,.292024,.942633,-.0771788,.237419,.315272,.943172,-.0815623,.237068,.339579,.943691,-.0863973,.236682,.364717,.944382,-.0911536,.236213,.390435,.945392,-.0952967,.235562,.416425,.946185,-.0998948,.234832,.442772,.947212,-.104796,.234114,.469347,.948778,-.10928,.233222,.496162,.950149,-.113081,.231845,.523978,.951989,-.115893,.230005,.552295,.953921,-.11846,.227862,.580569,.955624,-.12115,.225439,.608698,.958234,-.123373,.222635,.636696,.960593,-.124519,.219093,.665208,.963201,-.124736,.214749,.693557,.965642,-.125012,.210059,.721334,.968765,-.124661,.204935,.748613,.971753,-.122996,.198661,.776224,.973751,-.120998,.191823,.802461,.976709,-.118583,.184359,.828399,.977956,-.115102,.176437,.853693,.979672,-.111077,.167681,.877962,.981816,-.10688,.158872,.901564,.98238,-.101469,.149398,.924057,.983964,-.0960013,.139436,.945751,.984933,-.0899626,.12943,.966272,.985694,-.0832973,.11894,.985741,.986822,-.0767082,.108349,1.00407,.987725,-.0693614,.0976026,1.02154,.98877,-.06211,.086652,1.03757,.990129,-.0544143,.0756182,1.05296,.991337,-.046744,.0645753,1.06683,.992978,-.0387931,.0534683,1.0798,.994676,-.030973,.0424137,1.09181,.99645,-.0230311,.0314035,1.10286,.997967,-.0152065,.0206869,1.11291,.99922,-.00744837,.010155,1.12237,1.00002,240209e-9,-752767e-10,1.13089,.922948,-515351e-11,.255626,186069e-10,.928785,-129623e-9,.257244,468009e-9,.928761,-51849e-8,.257237,.00187202,.928751,-.0011666,.257235,.00421204,.928751,-.00207395,.257234,.0074881,.928754,-.00324055,.257235,.0117002,.92876,-.00466639,.257236,.0168486,.928763,-.00635149,.257237,.0229334,.928774,-.00829584,.257239,.029955,.928791,-.0104995,.257243,.0379139,.928804,-.0129623,.257245,.0468108,.928847,-.0156846,.257255,.0566473,.92889,-.0186661,.257263,.0674246,.928924,-.0219067,.257268,.0791433,.928989,-.0254066,.257282,.0918076,.92909,-.0291651,.257301,.105419,.92918,-.0331801,.257316,.119978,.92929,-.0374469,.257332,.135491,.929453,-.041939,.257357,.151948,.929586,-.0464612,.257347,.169275,.929858,-.0503426,.257269,.187257,.930125,-.0548409,.257199,.206204,.930403,-.0598063,.257149,.22601,.930726,-.0652437,.257122,.246561,.931098,-.0712376,.257153,.267618,.931396,-.0777506,.257237,.288993,.931947,-.0832374,.257124,.311527,.932579,-.0883955,.25683,.335697,.933194,-.0937037,.256444,.360634,.934013,-.0987292,.255939,.386126,.935307,-.103215,.255282,.412018,.936374,-.108234,.254538,.438292,.93776,-.113234,.253728,.464805,.939599,-.118013,.25275,.491464,.941036,-.122661,.251404,.518751,.94337,-.125477,.249435,.547133,.945318,-.128374,.247113,.575456,.947995,-.130996,.244441,.60372,.950818,-.133438,.241352,.63174,.954378,-.135004,.237849,.659971,.957151,-.135313,.233188,.688478,.960743,-.13521,.228001,.716767,.964352,-.135007,.222249,.744349,.967273,-.133523,.21542,.771786,.969767,-.131155,.208039,.798639,.973195,-.128492,.200076,.824774,.975557,-.125094,.191451,.850222,.977692,-.120578,.18184,.874761,.98026,-.115882,.172102,.898497,.981394,-.110372,.161859,.921636,.982386,-.10415,.15108,.943467,.983783,-.0978128,.140407,.964045,.98422,-.0906171,.129058,.98398,.985447,-.0832921,.117614,1.00276,.986682,-.0754412,.10585,1.02047,.987326,-.0673885,.0940943,1.03678,.988707,-.0592565,.0822093,1.05218,.990185,-.050717,.070192,1.06652,.991866,-.0423486,.0582081,1.07965,.993897,-.0336118,.0460985,1.09188,.995841,-.0252178,.0342737,1.10307,.997605,-.0164893,.0224829,1.11324,.999037,-.00817112,.0110647,1.12262,1.00003,291686e-9,-168673e-9,1.13139,.915304,-552675e-11,.275999,183285e-10,.91668,-139285e-9,.276414,461914e-9,.916664,-55713e-8,.276409,.00184763,.916653,-.00125354,.276406,.00415715,.916651,-.00222851,.276405,.00739053,.916655,-.00348205,.276406,.0115478,.916653,-.00501414,.276405,.0166291,.916667,-.00682478,.276409,.0226346,.91668,-.00891398,.276412,.0295648,.91669,-.0112817,.276413,.0374199,.916727,-.013928,.276422,.0462016,.916759,-.0168528,.276429,.0559101,.916793,-.0200558,.276436,.0665466,.916849,-.0235373,.276448,.0781139,.916964,-.0272973,.276474,.0906156,.917047,-.0313344,.276491,.104051,.917152,-.0356465,.276511,.118424,.917286,-.0402271,.276533,.133736,.917469,-.0450408,.276564,.149978,.917686,-.0497872,.276563,.167057,.917953,-.0540937,.276493,.184846,.918228,-.0590709,.276437,.203614,.918572,-.0644277,.276398,.223212,.918918,-.0702326,.276362,.243584,.919356,-.076484,.276383,.264465,.919842,-.0830808,.276434,.285701,.920451,-.0892972,.276407,.307559,.921113,-.095016,.276128,.331501,.921881,-.100771,.275754,.356207,.923027,-.106029,.275254,.381477,.924364,-.111029,.274595,.40722,.925818,-.116345,.273841,.433385,.92746,-.121424,.272913,.459848,.929167,-.12657,.271837,.486493,.931426,-.131581,.270575,.513432,.934001,-.135038,.268512,.541502,.936296,-.138039,.266135,.569658,.939985,-.140687,.263271,.598375,.943516,-.143247,.260058,.626563,.94782,-.145135,.256138,.654711,.951023,-.145733,.251154,.683285,.955338,-.145554,.245562,.711831,.959629,-.145008,.239265,.739573,.963123,-.144003,.232064,.767027,.966742,-.141289,.224036,.794359,.969991,-.138247,.215305,.820361,.973403,-.134786,.206051,.846548,.975317,-.129966,.195914,.871541,.977647,-.12471,.185184,.895313,.980137,-.119086,.174161,.918398,.981031,-.112297,.162792,.940679,.982037,-.105372,.150952,.961991,.983164,-.097821,.138921,.981913,.983757,-.0897245,.126611,1.00109,.985036,-.0815974,.114228,1.01902,.986289,-.0727725,.101389,1.03604,.987329,-.0639323,.0886476,1.05149,.989193,-.0548109,.0756837,1.06619,.990716,-.045687,.0627581,1.07948,.992769,-.0364315,.0498337,1.09172,.99524,-.0271761,.0370305,1.1033,.997154,-.0179609,.0243959,1.11353,.998845,-.00878063,.0119567,1.12319,1.00002,259038e-9,-108146e-9,1.13177,.903945,-591681e-11,.295126,181226e-10,.903668,-148672e-9,.295037,455367e-9,.903677,-594683e-9,.29504,.00182145,.903673,-.00133805,.295039,.00409831,.903666,-.00237872,.295036,.00728584,.903668,-.00371676,.295037,.0113842,.903679,-.00535212,.29504,.0163936,.903684,-.00728479,.295041,.0223141,.903698,-.00951473,.295044,.0291462,.903718,-.0120419,.295049,.0368904,.903754,-.0148664,.295058,.0455477,.903801,-.017988,.29507,.0551194,.903851,-.0214064,.295082,.0656058,.903921,-.0251219,.295097,.0770109,.904002,-.0291337,.295116,.0893354,.904111,-.033441,.29514,.102583,.904246,-.0380415,.295169,.116755,.904408,-.0429258,.295202,.131853,.904637,-.0480468,.295245,.147869,.904821,-.0529208,.295214,.164658,.905163,-.0577748,.295185,.182274,.905469,-.0631763,.295143,.200828,.905851,-.068917,.295112,.2202,.906322,-.0750861,.295104,.240372,.906761,-.0815855,.295086,.261082,.90735,-.0882138,.295095,.282123,.908087,-.095082,.295139,.303563,.908826,-.101488,.29492,.327028,.909832,-.107577,.294577,.351464,.911393,-.113033,.294115,.376497,.912804,-.118629,.293446,.402115,.914081,-.124232,.292581,.428111,.91637,-.129399,.29166,.454442,.91814,-.134892,.290422,.481024,.921179,-.140069,.289194,.507924,.924544,-.144431,.287421,.535557,.927995,-.147498,.284867,.563984,.931556,-.150197,.281722,.5923,.935777,-.152711,.278207,.620832,.940869,-.154836,.274148,.649069,.945994,-.155912,.269057,.677746,.949634,-.155641,.262799,.706293,.955032,-.154809,.256097,.734278,.95917,-.153678,.248618,.761751,.962931,-.151253,.239794,.789032,.966045,-.147625,.230281,.815422,.96971,-.143964,.220382,.841787,.972747,-.139464,.209846,.867446,.975545,-.133459,.198189,.892004,.978381,-.127424,.186362,.915458,.979935,-.120506,.173964,.937948,.980948,-.11282,.161429,.959732,.982234,-.104941,.148557,.980118,.982767,-.0962905,.135508,.999463,.983544,-.0873625,.122338,1.01756,.984965,-.0783447,.108669,1.03492,.986233,-.0684798,.0949911,1.05087,.987796,-.0590867,.0811386,1.0656,.989885,-.0489145,.0673099,1.0794,.991821,-.0391,.0535665,1.09174,.99448,-.029087,.0397529,1.10341,.996769,-.019114,.0261463,1.11383,.998641,-.00947007,.0128731,1.1237,.999978,446316e-9,-169093e-9,1.13253,.888362,-627064e-11,.312578,178215e-10,.889988,-157791e-9,.313148,448451e-9,.889825,-631076e-9,.313092,.00179356,.88984,-.00141994,.313097,.00403554,.889828,-.0025243,.313092,.00717429,.889831,-.00394421,.313093,.0112099,.889831,-.00567962,.313093,.0161425,.889844,-.00773051,.313096,.0219724,.889858,-.0100968,.3131,.0286999,.889882,-.0127786,.313106,.0363256,.889918,-.0157757,.313116,.0448509,.889967,-.0190878,.313129,.0542758,.89003,-.022715,.313145,.0646032,.890108,-.0266566,.313165,.0758339,.890218,-.0309131,.313193,.0879729,.890351,-.0354819,.313226,.101019,.89051,-.0403613,.313263,.114979,.890672,-.0455385,.313294,.129848,.890882,-.0509444,.313333,.145616,.891189,-.0559657,.313324,.162122,.891457,-.0613123,.313281,.179524,.891856,-.0671488,.313281,.197855,.892312,-.0732732,.313268,.216991,.892819,-.0797865,.313263,.236924,.893369,-.0865269,.313247,.257433,.894045,-.0931592,.313205,.278215,.894884,-.100532,.313276,.299467,.895832,-.107716,.313205,.322276,.897043,-.114099,.312873,.34642,.898515,-.119941,.312331,.371187,.900191,-.126044,.311731,.396656,.90188,-.131808,.310859,.422488,.904359,-.137289,.309857,.448744,.906923,-.142991,.308714,.475239,.910634,-.148253,.307465,.501983,.914502,-.153332,.305774,.529254,.919046,-.156646,.303156,.557709,.923194,-.159612,.299928,.586267,.928858,-.162027,.296245,.614925,.934464,-.164203,.291832,.643187,.939824,-.165602,.286565,.671601,.944582,-.165383,.280073,.700213,.949257,-.164439,.272891,.728432,.954389,-.162953,.264771,.756082,.958595,-.161007,.255927,.78369,.962138,-.157243,.245769,.810769,.966979,-.152872,.235127,.836999,.969566,-.148209,.22347,.862684,.972372,-.142211,.211147,.887847,.975916,-.135458,.198606,.911843,.978026,-.128398,.185498,.934795,.979686,-.120313,.17171,.956787,.980748,-.11166,.158159,.978046,.981622,-.103035,.144399,.997693,.982356,-.0930328,.13001,1.01642,.983308,-.0834627,.115778,1.03366,.985037,-.0732249,.101327,1.05014,.986493,-.0628145,.086554,1.06507,.988484,-.0526556,.0720413,1.07907,.991051,-.0415744,.0571151,1.09189,.993523,-.0314275,.0426643,1.10369,.99628,-.0203603,.0279325,1.11423,.998344,-.0102446,.0138182,1.12421,.999997,42612e-8,-193628e-9,1.1333,.871555,-660007e-11,.329176,174749e-10,.875255,-166579e-9,.330571,441051e-9,.875644,-666394e-9,.330718,.00176441,.875159,-.00149903,.330536,.00396899,.87516,-.00266493,.330536,.007056,.875158,-.00416393,.330535,.0110251,.87516,-.00599598,.330535,.0158764,.875163,-.00816108,.330536,.0216101,.875174,-.0106591,.330538,.0282266,.875199,-.0134899,.330545,.0357266,.875257,-.0166538,.330563,.0441117,.875304,-.0201501,.330575,.0533821,.875373,-.0239785,.330595,.0635395,.875464,-.0281389,.330619,.0745872,.875565,-.0326301,.330645,.0865255,.875691,-.0374516,.330676,.0993599,.875897,-.0425993,.330733,.113093,.876091,-.0480576,.330776,.127722,.876353,-.0537216,.330826,.143227,.876649,-.0589807,.330809,.159462,.877034,-.0647865,.330819,.176642,.877443,-.0709789,.330817,.194702,.877956,-.0774782,.330832,.213577,.878499,-.0843175,.330822,.233246,.879144,-.0912714,.330804,.253512,.879982,-.0980824,.330766,.274137,.88097,-.105823,.330864,.295209,.882051,-.113671,.330896,.317226,.883397,-.120303,.330545,.341068,.884987,-.12667,.330068,.365613,.886789,-.133118,.329418,.390807,.889311,-.139024,.328683,.416494,.891995,-.144971,.327729,.442618,.895106,-.150747,.326521,.469131,.899527,-.156283,.325229,.495921,.90504,-.161707,.32378,.523162,.909875,-.165661,.32122,.55092,.91561,-.168755,.317942,.579928,.921225,-.171193,.313983,.608539,.927308,-.17319,.309636,.636854,.933077,-.174819,.304262,.66523,.938766,-.175002,.297563,.693609,.943667,-.173946,.289613,.722157,.949033,-.172221,.281227,.750021,.953765,-.169869,.271545,.777466,.95804,-.166578,.261034,.804853,.962302,-.161761,.249434,.831569,.966544,-.156636,.237484,.857779,.969372,-.150784,.224395,.883051,.972486,-.143672,.210786,.907864,.975853,-.135772,.196556,.931223,.977975,-.127942,.182307,.954061,.979122,-.118347,.167607,.97531,.980719,-.109112,.152739,.995666,.981223,-.0991789,.137932,1.01475,.98216,-.0883553,.122692,1.03253,.983379,-.0780825,.107493,1.04917,.985434,-.0665646,.0917791,1.06464,.987332,-.0557714,.0764949,1.07896,.990004,-.0442805,.060721,1.09199,.992975,-.0331676,.0452284,1.10393,.995811,-.0219547,.0297934,1.11476,.9982,-.0107613,.0146415,1.12484,1.00002,248678e-9,-14555e-8,1.13413,.859519,-693595e-11,.347264,171673e-10,.859843,-17503e-8,.347394,433219e-9,.859656,-700076e-9,.347319,.00173277,.859671,-.00157517,.347325,.00389875,.859669,-.00280028,.347324,.00693112,.85967,-.0043754,.347324,.01083,.859665,-.00630049,.347321,.0155954,.859685,-.0085755,.347328,.0212278,.859694,-.0112003,.347329,.0277273,.859718,-.0141747,.347336,.0350946,.85976,-.0174988,.347348,.0433314,.85982,-.0211722,.347366,.0524384,.859892,-.0251941,.347387,.0624168,.860006,-.0295649,.347422,.0732708,.860122,-.0342825,.347453,.0849999,.860282,-.0393462,.347499,.0976102,.860482,-.0447513,.347554,.111104,.860719,-.0504775,.347614,.125479,.860998,-.0563577,.347666,.140703,.861322,-.0619473,.347662,.156681,.861724,-.0681277,.347684,.173597,.862198,-.0746567,.347709,.191371,.862733,-.0815234,.347727,.209976,.863371,-.0886643,.347744,.229351,.86414,-.0957908,.347734,.24934,.865138,-.102912,.34772,.269797,.866182,-.110924,.3478,.290654,.867436,-.119223,.347911,.312074,.869087,-.126197,.347649,.335438,.870859,-.133145,.347222,.359732,.872997,-.139869,.346645,.38467,.875939,-.146089,.345935,.41019,.879012,-.152334,.345012,.436218,.883353,-.15821,.343924,.462641,.888362,-.164097,.342636,.489449,.895026,-.169528,.341351,.516629,.900753,-.174408,.339115,.544109,.906814,-.17751,.335809,.572857,.912855,-.180101,.331597,.601554,.919438,-.182116,.32698,.630198,.925962,-.183494,.321449,.658404,.931734,-.184159,.314595,.686625,.93762,-.18304,.306462,.71531,.943858,-.181323,.297514,.744272,.948662,-.178683,.287447,.771462,.953299,-.175379,.276166,.798593,.957346,-.170395,.263758,.8256,.962565,-.165042,.251019,.852575,.966075,-.158655,.237011,.878316,.969048,-.151707,.222518,.90329,.972423,-.143271,.207848,.927745,.975833,-.134824,.192463,.950859,.977629,-.125444,.1768,.972947,.978995,-.114949,.161033,.993263,.980533,-.104936,.145523,1.01337,.980745,-.0935577,.129799,1.03128,.981814,-.0822956,.113486,1.04825,.983943,-.0710082,.0972925,1.06405,.986141,-.0587931,.0808138,1.0785,.988878,-.0472755,.0644915,1.09204,.992132,-.0349128,.0478128,1.10413,.9953,-.0232407,.031621,1.11527,.998117,-.0112713,.0154935,1.12551,1.00003,339743e-9,-195763e-9,1.13504,.845441,-729126e-11,.364305,169208e-10,.843588,-183164e-9,.363506,425067e-9,.843412,-73253e-8,.36343,.00169999,.843401,-.00164818,.363426,.00382495,.843399,-.00293008,.363425,.00679993,.843401,-.00457822,.363425,.010625,.843394,-.00659249,.363421,.0153002,.843398,-.00897282,.363421,.0208258,.843415,-.0117191,.363426,.0272024,.843438,-.0148312,.363432,.0344305,.843483,-.018309,.363447,.0425116,.84356,-.0221521,.363472,.0514471,.843646,-.0263597,.363499,.061238,.843743,-.0309315,.363527,.0718873,.84388,-.0358658,.363569,.0833969,.844079,-.0411624,.363631,.0957742,.844279,-.0468128,.363688,.109015,.844549,-.0527923,.363761,.123124,.844858,-.0588204,.363817,.138044,.84522,-.0647573,.36383,.153755,.845669,-.0713181,.363879,.170394,.846155,-.0781697,.363908,.187861,.846789,-.0853913,.363969,.206176,.847502,-.0928086,.363999,.225244,.8484,-.10005,.363997,.244926,.849461,-.107615,.364008,.265188,.850562,-.115814,.364055,.28587,.851962,-.124334,.364179,.306926,.854326,-.131995,.364233,.329605,.856295,-.139338,.363856,.35359,.858857,-.146346,.363347,.37831,.862428,-.152994,.362807,.403722,.866203,-.159463,.361963,.429537,.871629,-.165623,.36112,.456,.877365,-.171649,.359917,.482773,.883744,-.177151,.35848,.509705,.890693,-.182381,.356523,.537215,.897278,-.186076,.3533,.565493,.903958,-.188602,.349095,.594293,.910908,-.190755,.344215,.623165,.918117,-.192063,.338606,.651573,.924644,-.192758,.331544,.679869,.931054,-.192238,.323163,.708668,.937303,-.190035,.313529,.737201,.943387,-.187162,.303152,.764977,.948494,-.183876,.29146,.792683,.952546,-.178901,.277917,.819228,.958077,-.173173,.264753,.846559,.962462,-.16645,.25002,.872962,.966569,-.159452,.234873,.898729,.969108,-.15074,.218752,.923126,.973072,-.141523,.202673,.947278,.975452,-.132075,.186326,.969938,.977784,-.121257,.169396,.991325,.97899,-.110182,.153044,1.01123,.979777,-.0989634,.136485,1.0299,.980865,-.0865894,.119343,1.04727,.982432,-.0746115,.102452,1.06341,.984935,-.0621822,.0852423,1.07834,.987776,-.0495694,.0678546,1.092,.99103,-.0372386,.0506917,1.1043,.99474,-.0244353,.0333316,1.11576,.997768,-.0121448,.0164348,1.12617,1.00003,31774e-8,-169504e-9,1.13598,.825551,-756799e-11,.378425,165099e-10,.82664,-190922e-9,.378923,416504e-9,.826323,-763495e-9,.378779,.0016656,.826359,-.00171789,.378795,.00374768,.82636,-.00305402,.378795,.00666259,.826368,-.00477185,.378798,.0104104,.826364,-.00687131,.378795,.0149912,.826368,-.00935232,.378795,.0204054,.826376,-.0122146,.378797,.0266532,.826399,-.0154581,.378803,.0337355,.82646,-.0190825,.378824,.0416537,.826525,-.0230873,.378846,.0504091,.826614,-.0274719,.378876,.0600032,.82674,-.0322355,.378917,.0704393,.826888,-.0373766,.378964,.0817195,.827078,-.0428936,.379024,.0938492,.827318,-.0487778,.379099,.106828,.82764,-.0549935,.379199,.120659,.827926,-.0611058,.379227,.13526,.828325,-.0675054,.379275,.150713,.828801,-.0743455,.379332,.167034,.8294,-.0815523,.379415,.184209,.830094,-.0890779,.379495,.202203,.8309,-.096736,.379555,.220945,.831943,-.104135,.379577,.240306,.833037,-.112106,.379604,.260317,.834278,-.120554,.379668,.2808,.836192,-.129128,.3799,.301654,.838671,-.137541,.380109,.323502,.840939,-.14523,.379809,.347176,.844575,-.15248,.379593,.371706,.848379,-.159607,.37909,.39688,.853616,-.166267,.378617,.422702,.858921,-.172698,.377746,.448919,.865324,-.178823,.376749,.475661,.872207,-.184542,.375363,.502599,.880018,-.189836,.373657,.529914,.88694,-.194294,.370673,.557683,.894779,-.197022,.36662,.586848,.902242,-.199108,.36138,.615831,.909914,-.200398,.355434,.644478,.917088,-.20094,.348173,.672905,.923888,-.200671,.339482,.701327,.930495,-.198773,.32956,.730101,.937247,-.195394,.318363,.758383,.943108,-.191956,.306323,.786539,.948296,-.187227,.292576,.813637,.953472,-.181165,.278234,.840793,.958485,-.174119,.263054,.867712,.962714,-.166564,.246756,.893635,.966185,-.158181,.229945,.919028,.970146,-.148275,.212633,.943413,.973491,-.138157,.195229,.966627,.975741,-.127574,.178048,.988817,.977238,-.11554,.160312,1.00924,.978411,-.10364,.142857,1.02845,.979811,-.0913122,.125317,1.04648,.98116,-.0782558,.107627,1.06284,.983543,-.0655957,.0895862,1.07798,.986789,-.0520411,.0713756,1.092,.990292,-.0389727,.053228,1.10484,.994187,-.025808,.0351945,1.11642,.997499,-.0126071,.0173198,1.12703,.999999,275604e-9,-148602e-9,1.13674,.81075,-78735e-10,.394456,161829e-10,.808692,-198293e-9,.393453,407564e-9,.80846,-792877e-9,.39334,.00162965,.808595,-.00178416,.393407,.00366711,.808597,-.00317182,.393408,.00651934,.808598,-.00495589,.393408,.0101866,.808591,-.00713627,.393403,.0146689,.808592,-.00971285,.393402,.0199667,.80861,-.0126855,.393407,.0260803,.808633,-.0160538,.393413,.0330107,.80868,-.0198175,.393429,.0407589,.808748,-.0239758,.393453,.0493264,.808854,-.0285286,.39349,.0587161,.808992,-.0334748,.39354,.0689304,.809141,-.0388116,.393588,.0799707,.809352,-.0445375,.39366,.0918432,.809608,-.0506427,.393742,.104549,.809915,-.0570708,.393834,.118085,.810253,-.0633526,.393885,.132377,.810687,-.0700966,.393953,.147537,.811233,-.0772274,.394047,.163543,.811865,-.0847629,.394148,.180394,.812648,-.0925663,.394265,.198051,.813583,-.100416,.394363,.216443,.814683,-.108119,.394402,.235502,.815948,-.11644,.394489,.255242,.817278,-.125036,.394542,.275441,.819605,-.133655,.39486,.296094,.822256,-.142682,.395248,.317309,.825349,-.150756,.395241,.340516,.829605,-.158392,.395285,.364819,.83391,-.165801,.394922,.389736,.839808,-.172677,.394691,.415409,.845708,-.179448,.394006,.441546,.853025,-.185746,.393279,.46832,.859666,-.191684,.391655,.495302,.86789,-.197146,.390068,.52262,.875845,-.201904,.38727,.550336,.882634,-.205023,.382688,.578825,.891076,-.207098,.377543,.608103,.900589,-.208474,.371752,.63723,.90791,-.209068,.364016,.665769,.915971,-.208655,.355593,.694428,.923455,-.20729,.345439,.723224,.931514,-.203821,.334099,.751925,.937885,-.19986,.321069,.780249,.943136,-.194993,.306571,.8077,.948818,-.189132,.291556,.83497,.954433,-.181617,.275745,.86188,.959078,-.173595,.258695,.888562,.962705,-.164855,.240825,.914008,.966753,-.155129,.22268,.939145,.970704,-.144241,.204542,.963393,.973367,-.133188,.185927,.985983,.975984,-.121146,.167743,1.00704,.976994,-.108366,.149218,1.02715,.978485,-.0956746,.13131,1.0455,.980074,-.0820733,.112513,1.06221,.98225,-.0684061,.0938323,1.07782,.98553,-.0549503,.0749508,1.09199,.989529,-.0407857,.055848,1.10508,.993536,-.0271978,.0368581,1.11684,.997247,-.0132716,.0181845,1.12789,1,431817e-9,-198809e-9,1.13792,.785886,-812608e-11,.405036,157669e-10,.790388,-205278e-9,.407355,398297e-9,.790145,-820824e-9,.407231,.00159263,.790135,-.00184681,.407226,.00358336,.790119,-.00328316,.407218,.00637039,.790126,-.00512988,.40722,.0099539,.79013,-.00738684,.407221,.0143339,.790135,-.0100538,.407221,.0195107,.790134,-.0131306,.407217,.0254848,.79016,-.0166169,.407224,.0322572,.790197,-.020512,.407236,.0398284,.790273,-.0248157,.407263,.0482014,.790381,-.029527,.407304,.0573777,.790521,-.0346446,.407355,.0673602,.790704,-.0401665,.40742,.0781522,.790925,-.0460896,.407499,.0897582,.791195,-.0524017,.407589,.10218,.791522,-.0590121,.407691,.11541,.791878,-.0654876,.407748,.12939,.792361,-.0725207,.407849,.144237,.792942,-.0799844,.407963,.159924,.79362,-.0877896,.408087,.176425,.794529,-.0958451,.408259,.193733,.795521,-.103827,.408362,.211756,.796778,-.111937,.408482,.230524,.798027,-.120521,.408547,.249967,.799813,-.129242,.408721,.269926,.802387,-.138048,.409148,.290338,.805279,-.147301,.409641,.311193,.809251,-.155895,.410154,.333611,.813733,-.163942,.410297,.357615,.819081,-.171666,.410373,.382339,.825427,-.178905,.410348,.407828,.83172,-.185812,.409486,.434034,.83877,-.192318,.408776,.460493,.845817,-.198249,.407176,.487346,.854664,-.204034,.405719,.514832,.863495,-.208908,.403282,.542401,.871883,-.212765,.399293,.570683,.88065,-.214911,.393803,.599947,.89004,-.216214,.387536,.62932,.898476,-.216745,.379846,.658319,.906738,-.216387,.370625,.687138,.914844,-.215053,.360139,.71601,.923877,-.212007,.348849,.745124,.931925,-.207481,.335639,.773366,.938054,-.202418,.320798,.801636,.943895,-.196507,.304772,.829055,.949468,-.189009,.288033,.856097,.955152,-.180539,.270532,.88301,.959403,-.171437,.251639,.909296,.963309,-.161661,.232563,.934868,.967399,-.150425,.213231,.959662,.972009,-.138659,.194247,.98302,.97433,-.126595,.174718,1.00517,.975823,-.113205,.155518,1.02566,.976371,-.0996096,.136709,1.04418,.978705,-.0860754,.117571,1.06146,.981477,-.0714438,.0980046,1.07777,.984263,-.0572304,.0782181,1.09214,.988423,-.0428875,.0584052,1.10553,.993,-.0282442,.038522,1.11758,.99704,-.0140183,.0190148,1.12864,.999913,369494e-9,-145203e-9,1.13901,.777662,-84153e-10,.423844,154403e-10,.770458,-211714e-9,.419915,38845e-8,.770716,-846888e-9,.420055,.00155386,.770982,-.00190567,.420202,.00349653,.770981,-.00338782,.420201,.00621606,.77098,-.00529338,.4202,.00971274,.770983,-.00762223,.4202,.0139867,.770985,-.0103741,.420198,.0190381,.770996,-.0135489,.4202,.0248677,.771029,-.0171461,.420212,.0314764,.771052,-.0211647,.420215,.0388648,.771131,-.0256048,.420245,.047036,.771235,-.0304647,.420284,.0559911,.771383,-.0357436,.420341,.0657346,.771591,-.0414392,.420423,.0762694,.771819,-.0475462,.420506,.0875984,.772123,-.0540506,.420617,.099727,.772464,-.060797,.42072,.112637,.772855,-.0675393,.420799,.126313,.773317,-.0748323,.420893,.140824,.773981,-.0825681,.421058,.15617,.774746,-.0906307,.421226,.172322,.77566,-.0988982,.421397,.189253,.776837,-.106994,.421569,.206912,.778097,-.115528,.421704,.225359,.779588,-.124317,.421849,.24447,.781574,-.133139,.422097,.264156,.784451,-.142179,.422615,.284318,.787682,-.15165,.423269,.304902,.792433,-.160771,.424396,.3265,.797359,-.169166,.424772,.35014,.803986,-.177149,.425475,.374768,.809504,-.184745,.424996,.399928,.815885,-.19173,.424247,.425796,.823513,-.198525,.423515,.452287,.832549,-.204709,.422787,.479321,.841653,-.210447,.421187,.506718,.850401,-.215501,.418519,.53432,.859854,-.219752,.414715,.56242,.869364,-.222305,.409462,.591558,.878837,-.223744,.402926,.621074,.888636,-.224065,.395043,.650538,.898132,-.223742,.38564,.679538,.907181,-.222308,.375378,.708674,.915621,-.219837,.363212,.737714,.9239,-.215233,.349313,.767014,.931644,-.209592,.334162,.795133,.938887,-.203644,.317943,.823228,.945282,-.196349,.300581,.850822,.950758,-.18742,.282195,.877594,.956146,-.177879,.262481,.904564,.960355,-.167643,.242487,.930741,.965256,-.156671,.222668,.955868,.968029,-.144123,.201907,.979869,.97251,-.131305,.18202,1.00291,.974925,-.118335,.161909,1.02392,.975402,-.103714,.142129,1.0433,.976987,-.089415,.122447,1.06089,.979677,-.0748858,.102248,1.07713,.983184,-.0596086,.0814851,1.09218,.987466,-.0447671,.0609484,1.10585,.992348,-.0295217,.0401835,1.11829,.996674,-.0143917,.0198163,1.12966,1.00003,321364e-9,-149983e-9,1.1402,.757901,-869074e-11,.436176,151011e-10,.751195,-217848e-9,.432317,378533e-9,.751178,-871373e-9,.432307,.0015141,.751195,-.00196061,.432317,.0034068,.751198,-.00348552,.432318,.00605659,.751195,-.00544599,.432315,.00946353,.751207,-.00784203,.43232,.013628,.751213,-.0106732,.43232,.0185499,.751221,-.0139393,.432319,.0242302,.751244,-.0176398,.432325,.0306694,.7513,-.0217743,.432348,.0378698,.751358,-.0263412,.432367,.0458321,.751458,-.0313396,.432404,.0545587,.751608,-.0367682,.432464,.0640543,.7518,-.0426246,.43254,.0743222,.752065,-.0489031,.432645,.0853668,.752376,-.0555828,.432762,.0971911,.752715,-.0623861,.432859,.109768,.753137,-.069415,.432958,.123126,.753676,-.0770039,.433099,.137308,.754345,-.084971,.433272,.15229,.755235,-.0932681,.433504,.168075,.756186,-.10171,.433693,.184625,.757363,-.110019,.433857,.201897,.75884,-.11887,.434102,.220014,.760467,-.127881,.434306,.238778,.762969,-.136766,.434751,.258172,.765823,-.14612,.43529,.278062,.769676,-.15566,.436236,.298437,.774909,-.165177,.437754,.319532,.77994,-.17402,.438343,.342505,.785757,-.182201,.438609,.366693,.792487,-.190104,.438762,.391668,.80038,-.197438,.438795,.417494,.808494,-.204365,.438226,.443933,.817695,-.210714,.437283,.470929,.828111,-.216651,.436087,.498569,.837901,-.221804,.433717,.526165,.847813,-.226318,.430133,.554155,.858314,-.229297,.425213,.582822,.868891,-.230999,.418576,.612847,.878941,-.231155,.410405,.642445,.888809,-.230935,.400544,.672024,.898089,-.229343,.389613,.701366,.908081,-.226886,.377197,.730763,.916819,-.222676,.363397,.759642,.924968,-.216835,.347437,.788775,.932906,-.210245,.32995,.817135,.940025,-.202992,.312262,.844912,.946101,-.19436,.293313,.872164,.952835,-.184125,.273638,.899443,.957347,-.173657,.252385,.926389,.961434,-.162204,.231038,.951947,.965522,-.14979,.209834,.976751,.969412,-.136307,.188821,1.00022,.973902,-.122527,.168013,1.02229,.974045,-.108213,.147634,1.04199,.975775,-.0927397,.12705,1.06019,.978383,-.0778212,.106309,1.07711,.98211,-.0621216,.0849279,1.09245,.986517,-.0463847,.0633519,1.10651,.991696,-.0309353,.0419698,1.11903,.996349,-.0150914,.0206272,1.13073,1.00003,442449e-9,-231396e-9,1.14146,.727498,-885074e-11,.441528,145832e-10,.730897,-223525e-9,.443589,368298e-9,.730796,-893996e-9,.443528,.00147303,.730805,-.00201149,.443533,.00331433,.730814,-.00357596,.443538,.00589222,.730815,-.00558734,.443538,.00920678,.730822,-.00804544,.44354,.0132582,.730836,-.0109501,.443545,.0180468,.730848,-.0143008,.443546,.0235732,.730871,-.0180969,.443552,.0298382,.730915,-.022338,.443567,.0368438,.730982,-.0270225,.443591,.044591,.731076,-.0321491,.443627,.0530831,.731245,-.0377166,.443699,.0623243,.73144,-.0437216,.443777,.0723181,.7317,-.0501576,.443881,.0830691,.732034,-.0569942,.444014,.0945809,.732388,-.0638756,.444113,.106825,.732853,-.071203,.444247,.119859,.733473,-.0790076,.444442,.13369,.734195,-.0871937,.444645,.148304,.735069,-.095696,.444877,.163702,.736169,-.10426,.445133,.179861,.73747,-.112853,.44537,.196778,.738991,-.12199,.445651,.214496,.740865,-.131153,.445958,.232913,.743637,-.140245,.446548,.251977,.746797,-.149722,.447246,.271551,.751517,-.159341,.448656,.291774,.756156,-.169106,.449866,.312455,.761519,-.178436,.450919,.334552,.768295,-.186904,.451776,.358491,.776613,-.195117,.452832,.383446,.783966,-.202695,.45249,.408945,.793542,-.20985,.452587,.435364,.803192,-.216403,.451852,.462336,.813892,-.22251,.450708,.48987,.824968,-.227676,.4486,.517697,.835859,-.232443,.445156,.545975,.846825,-.235775,.440351,.574483,.858085,-.237897,.433641,.604246,.868825,-.238074,.425354,.634101,.879638,-.237661,.415383,.664201,.889966,-.236186,.404136,.693918,.899479,-.233599,.390917,.723481,.908769,-.229737,.376352,.75258,.917966,-.223836,.360372,.781764,.926304,-.217067,.342551,.811139,.934626,-.209309,.324238,.839585,.941841,-.20071,.304484,.867044,.94789,-.190602,.283607,.894579,.954196,-.179253,.262205,.921743,.958383,-.167646,.239847,.948026,.963119,-.155073,.218078,.973296,.966941,-.141426,.195899,.998135,.970836,-.126849,.174121,1.02021,.973301,-.112296,.153052,1.04085,.97448,-.0964965,.131733,1.05946,.977045,-.080489,.10997,1.07693,.980751,-.064844,.0881657,1.09254,.985475,-.0481938,.0657987,1.10697,.991089,-.0319185,.0435215,1.12004,.996122,-.0158088,.0214779,1.13173,1.00001,372455e-9,-200295e-9,1.14291,.708622,-907597e-11,.45304,141962e-10,.711162,-228911e-9,.454662,358052e-9,.709812,-914446e-9,.453797,.00143034,.709865,-.00205819,.453834,.00321935,.709864,-.00365894,.453833,.00572331,.709855,-.00571692,.453826,.00894278,.709862,-.00823201,.453828,.012878,.709875,-.011204,.453832,.0175295,.709896,-.0146323,.453839,.0228978,.709925,-.0185163,.453847,.0289839,.709974,-.0228551,.453866,.0357894,.710045,-.0276473,.453892,.0433161,.710133,-.032891,.453924,.0515665,.710292,-.0385851,.453992,.0605458,.710485,-.0447254,.45407,.0702574,.710769,-.0513051,.454192,.0807077,.711106,-.0582733,.454329,.091896,.711516,-.0652866,.45446,.103814,.712071,-.0728426,.454653,.116508,.712676,-.0808307,.45484,.129968,.713476,-.0892216,.455096,.144206,.714377,-.0979047,.455346,.159212,.715579,-.106531,.455647,.174973,.716977,-.115492,.455961,.191504,.71862,-.124821,.456315,.208835,.72084,-.134079,.4568,.226869,.723786,-.143427,.457521,.245582,.727464,-.153061,.458475,.264957,.732771,-.162768,.460239,.284948,.736515,-.172627,.460899,.30522,.743519,-.182487,.463225,.326717,.750041,-.191295,.464027,.350113,.758589,-.199746,.465227,.374782,.767703,-.207584,.465877,.400226,.777484,-.214973,.465996,.426442,.788792,-.221796,.466019,.453688,.800194,-.228038,.465083,.481246,.811234,-.233346,.462506,.509086,.822859,-.238073,.459257,.537338,.835082,-.241764,.454863,.566108,.846332,-.244241,.448163,.595126,.858355,-.244736,.439709,.625574,.87034,-.244278,.429837,.65617,.881027,-.24255,.418002,.686029,.891007,-.239912,.404325,.716039,.900874,-.236133,.389222,.745518,.911072,-.230672,.373269,.775026,.920359,-.22356,.355083,.804521,.928604,-.215591,.335533,.834045,.937175,-.206503,.315278,.861612,.942825,-.196684,.293653,.889131,.949805,-.185116,.271503,.916853,.955535,-.172703,.248821,.943541,.959843,-.159978,.225591,.970132,.964393,-.146375,.202719,.994709,.968008,-.131269,.179928,1.0186,.971013,-.11569,.158007,1.03928,.973334,-.1003,.13624,1.05887,.975775,-.0833352,.1138,1.07652,.979579,-.0668981,.0913141,1.09297,.984323,-.0500902,.0683051,1.10734,.990351,-.0332377,.0451771,1.12084,.995823,-.0161491,.0221705,1.13296,1.0001,234083e-9,-108712e-9,1.14441,.683895,-924677e-11,.46015,137429e-10,.68833,-233383e-9,.463134,346865e-9,.688368,-933547e-9,.463159,.00138748,.688367,-.00210049,.463159,.00312187,.688369,-.00373415,.463159,.00555004,.688377,-.00583449,.463163,.00867216,.688386,-.00840128,.463166,.0124884,.688398,-.0114343,.463169,.0169993,.688418,-.0149329,.463175,.0222054,.688453,-.0188964,.463188,.028108,.688515,-.0233239,.463214,.0347085,.68857,-.0282136,.463231,.0420091,.688679,-.033564,.463276,.0500132,.688854,-.0393733,.463356,.0587255,.689038,-.0456354,.46343,.0681476,.689321,-.0523433,.463553,.0782897,.689662,-.059412,.463693,.0891501,.690188,-.0665736,.4639,.100735,.690755,-.0743106,.464107,.113074,.691405,-.0824722,.464329,.126161,.692198,-.0910484,.464585,.140007,.693196,-.0998778,.464893,.154612,.69454,-.108651,.465285,.169984,.695921,-.117855,.465596,.186106,.697749,-.12734,.466056,.203034,.700375,-.136714,.466771,.220703,.703395,-.146386,.467579,.239062,.707904,-.156096,.469067,.258188,.711673,-.165904,.469851,.277759,.717489,-.175812,.471815,.297935,.724051,-.185931,.47389,.318916,.731965,-.195238,.47587,.341591,.741151,-.204021,.477523,.366062,.751416,-.212113,.478881,.391396,.761848,-.21979,.479226,.417599,.771886,-.2267,.478495,.444401,.783998,-.232991,.477622,.472084,.796523,-.238645,.475833,.500193,.808851,-.243396,.472568,.52865,.821191,-.247226,.467857,.557362,.834261,-.250102,.461871,.586768,.846762,-.251056,.453543,.617085,.859867,-.250604,.443494,.647659,.871948,-.248783,.431711,.678119,.882967,-.245855,.417911,.708399,.892826,-.242168,.401993,.738256,.90332,-.237062,.385371,.767999,.913633,-.22997,.366837,.798191,.922774,-.221687,.346372,.827756,.931371,-.212345,.325682,.856425,.938929,-.20206,.303665,.884299,.944821,-.190981,.280786,.912023,.951792,-.178065,.2573,.939669,.957712,-.164634,.233448,.96655,.961912,-.150863,.209504,.992366,.966382,-.13577,.18597,1.01633,.969588,-.119593,.162905,1.03843,.971777,-.103203,.14053,1.05841,.97433,-.0865888,.117909,1.07632,.978686,-.0690829,.0944101,1.09326,.983281,-.0516568,.0705671,1.10796,.989562,-.034558,.0468592,1.12182,.995465,-.0167808,.0229846,1.1342,.999991,373016e-9,-235606e-9,1.1459,.662251,-939016e-11,.468575,132714e-10,.666634,-237624e-9,.471675,335842e-9,.666411,-950385e-9,.471516,.00134321,.666399,-.00213833,.471509,.00302221,.666386,-.0038014,.471499,.00537283,.666405,-.00593958,.471511,.00839533,.666406,-.00855253,.471508,.0120898,.666428,-.0116401,.471519,.0164569,.666444,-.0152015,.471522,.0214971,.66649,-.0192362,.471543,.027212,.666537,-.0237428,.471558,.033603,.666617,-.0287198,.471591,.0406728,.666718,-.0341647,.471631,.0484238,.666889,-.0400759,.47171,.0568621,.667104,-.0464479,.471805,.0659915,.667374,-.0532677,.471923,.0758178,.667772,-.0603805,.472098,.0863425,.668371,-.0677392,.472363,.0975917,.668971,-.0756028,.472596,.109567,.669696,-.0839293,.472869,.122272,.670481,-.0926683,.473126,.135718,.6715,-.1016,.473442,.149914,.672911,-.110566,.47389,.164882,.674512,-.119984,.474354,.180602,.67651,-.129574,.474922,.19711,.679292,-.139106,.475764,.214371,.682798,-.148993,.476886,.232405,.686955,-.158737,.478179,.251153,.691406,-.168754,.479432,.270436,.697438,-.178703,.481481,.290374,.704761,-.188955,.484143,.311044,.713599,-.198814,.487007,.333003,.723194,-.207869,.488962,.357144,.732601,-.216189,.489815,.382169,.744193,-.22398,.490888,.408227,.754907,-.231156,.490355,.434928,.767403,-.23747,.489548,.462599,.78107,-.243503,.488274,.490908,.793893,-.248114,.484843,.519421,.807296,-.25222,.4803,.548561,.820529,-.255265,.474097,.577772,.833716,-.256741,.466041,.607782,.848403,-.25637,.456547,.638807,.860755,-.254804,.443946,.670058,.874012,-.251834,.430852,.700749,.885619,-.247867,.414903,.731446,.896069,-.242634,.397276,.761191,.906266,-.236093,.378535,.791053,.916759,-.227543,.358038,.821298,.92523,-.21783,.335705,.850747,.93436,-.207534,.313797,.879258,.941631,-.195983,.289671,.907734,.947564,-.183567,.265319,.935206,.953681,-.169345,.240815,.962739,.960008,-.154909,.216119,.989227,.964145,-.140161,.192096,1.01465,.968171,-.123411,.167855,1.03737,.969859,-.106525,.144817,1.05767,.972666,-.0891023,.12149,1.0761,.977055,-.0718094,.0975306,1.09336,.982527,-.0534213,.0730217,1.10878,.989001,-.0355579,.0483366,1.12285,.99512,-.0176383,.023938,1.13548,1.00007,368831e-9,-211581e-9,1.14744,.651047,-960845e-11,.484101,12922e-9,.644145,-241347e-9,.478968,324578e-9,.64396,-965142e-9,.478831,.00129798,.64396,-.00217154,.47883,.00292046,.643968,-.00386049,.478835,.00519202,.643974,-.00603186,.478838,.0081128,.643977,-.0086854,.478836,.011683,.643982,-.0118207,.478834,.0159031,.644024,-.0154374,.478856,.0207743,.644059,-.0195343,.478868,.0262975,.644122,-.0241103,.478896,.0324747,.644207,-.0291638,.478933,.039309,.64432,-.0346919,.478981,.0468029,.644481,-.0406919,.479053,.0549614,.644722,-.047159,.479169,.0637909,.645013,-.0540748,.479302,.0732974,.645503,-.0612001,.479541,.0834898,.646117,-.0687303,.479829,.0943873,.646707,-.0767846,.480061,.105991,.647431,-.0852465,.480343,.11831,.64831,-.0940719,.48066,.131348,.649486,-.103056,.481083,.14514,.650864,-.112261,.481528,.159676,.652604,-.121852,.482102,.174979,.654825,-.131505,.482813,.191079,.657876,-.141189,.483876,.207927,.661339,-.151239,.48499,.225586,.665463,-.161091,.486279,.243947,.670542,-.171235,.487968,.262957,.677361,-.181347,.49053,.282781,.685672,-.191679,.493862,.303311,.694551,-.201781,.49699,.324607,.703753,-.211164,.498884,.347916,.713703,-.219675,.500086,.372628,.725911,-.227836,.501554,.398694,.73862,-.23533,.502193,.425529,.752118,-.241786,.501811,.453209,.76579,-.247865,.500185,.481381,.779568,-.252696,.497159,.51011,.793991,-.256802,.492765,.539322,.808182,-.259942,.486827,.569078,.821698,-.261703,.478386,.598818,.836009,-.262006,.468772,.629762,.849824,-.260333,.456352,.661366,.863888,-.257398,.442533,.69295,.876585,-.253264,.426573,.723608,.888665,-.248026,.408964,.754378,.899537,-.241487,.389677,.784761,.9094,-.233463,.368516,.814688,.920166,-.223397,.346624,.845009,.928899,-.21255,.322717,.874431,.937156,-.200869,.298698,.902922,.943861,-.188387,.273491,.931356,.949557,-.174341,.247866,.958854,.955862,-.158994,.222496,.986098,.961721,-.143664,.197522,1.01229,.965976,-.127412,.17302,1.03571,.968652,-.109798,.148954,1.05699,.971084,-.0916787,.125044,1.07587,.975584,-.0739634,.100577,1.09372,.98122,-.055322,.0753666,1.10948,.988253,-.0366825,.0498899,1.12394,.99482,-.0180389,.024611,1.13694,1.00001,229839e-9,-188283e-9,1.14919,.613867,-964198e-11,.479449,123452e-10,.621485,-244534e-9,.485399,313091e-9,.621429,-978202e-9,.485353,.00125245,.62112,-.00220004,.485114,.00281687,.621119,-.0039111,.485112,.00500783,.621122,-.00611091,.485112,.00782498,.621133,-.00879922,.485117,.0112687,.621152,-.0119756,.485125,.0153394,.621183,-.0156396,.485139,.0200382,.621227,-.0197898,.485158,.0253663,.621298,-.0244253,.485192,.0313261,.621388,-.0295441,.485233,.0379204,.621507,-.0351432,.485286,.0451523,.621693,-.0412198,.485378,.0530277,.621933,-.0477673,.485495,.0615522,.622232,-.0547574,.485635,.0707316,.622809,-.0619417,.485943,.0805883,.623407,-.069625,.486232,.0911267,.62406,-.077796,.486516,.102354,.624835,-.0863731,.486838,.114279,.625758,-.095251,.487188,.126902,.627043,-.104299,.487695,.140285,.628438,-.113724,.488163,.154397,.630325,-.123417,.488858,.169267,.632801,-.133137,.489754,.184941,.635784,-.143052,.490815,.20136,.639406,-.153132,.492048,.218643,.643872,-.163143,.49363,.236615,.6499,-.17333,.496009,.255449,.657201,-.183622,.498994,.275006,.666221,-.194019,.502888,.295354,.674419,-.204192,.505459,.316244,.683729,-.21406,.507771,.33849,.695584,-.222854,.510245,.363166,.708583,-.231315,.512293,.389071,.721233,-.238911,.512747,.415737,.735134,-.245657,.512482,.443331,.750179,-.251879,.511526,.471891,.765073,-.256911,.508935,.500892,.779794,-.261144,.504341,.530294,.794801,-.264316,.498515,.560144,.810339,-.266276,.491015,.590213,.824818,-.266981,.481126,.620865,.839375,-.265778,.468685,.652687,.853043,-.262748,.453925,.684759,.867335,-.258474,.437912,.716209,.88037,-.253187,.419648,.747508,.891711,-.246476,.39982,.77797,.902896,-.238735,.37879,.808586,.913601,-.22885,.355891,.838843,.923019,-.217656,.331773,.869014,.933432,-.205539,.307356,.898512,.939691,-.192595,.281321,.9269,.946938,-.178945,.255441,.955297,.952372,-.163587,.229013,.983231,.95909,-.147214,.203179,1.00971,.963675,-.13064,.17792,1.03438,.968247,-.113121,.152898,1.05625,.97001,-.0945824,.128712,1.07598,.974458,-.0755648,.103349,1.094,.980168,-.0571998,.0776731,1.1104,.987295,-.0377994,.0514445,1.12491,.994432,-.0186417,.025429,1.13851,.999975,542714e-9,-282356e-9,1.15108,.592656,-980249e-11,.486018,119532e-10,.598467,-247275e-9,.490781,301531e-9,.597934,-988317e-9,.490343,.00120517,.597903,-.00222366,.490319,.0027116,.597913,-.00395315,.490327,.00482077,.597919,-.00617653,.490329,.00753264,.597936,-.00889375,.490339,.0108478,.597956,-.0121043,.490347,.0147668,.597992,-.0158073,.490365,.0192905,.598032,-.0200017,.490382,.0244204,.598109,-.0246865,.49042,.0301593,.598215,-.0298594,.490474,.03651,.59833,-.0355167,.490524,.0434757,.598525,-.0416559,.490624,.0510629,.598778,-.0482692,.490753,.0592781,.599135,-.0553114,.49094,.0681304,.599802,-.062542,.491328,.0776467,.600361,-.0703638,.491598,.0878184,.60101,-.0786256,.491882,.0986573,.601811,-.0872962,.492232,.11018,.602861,-.0962284,.492684,.1224,.604167,-.10538,.493213,.135354,.605693,-.114896,.493799,.149034,.607682,-.124654,.494576,.163469,.610672,-.13456,.4959,.178747,.613313,-.144581,.496713,.194723,.617603,-.154703,.498499,.211617,.622174,-.16489,.500188,.229183,.628855,-.175164,.503072,.247786,.636963,-.185565,.506798,.267116,.644866,-.195911,.509719,.28702,.653741,-.206104,.512776,.307763,.664942,-.216447,.516812,.329631,.67633,-.22552,.519181,.353515,.690012,-.234316,.521681,.379226,.704243,-.242032,.523129,.405901,.719396,-.249172,.523768,.433585,.734471,-.255543,.522541,.462085,.750539,-.260697,.520217,.491233,.766365,-.26501,.516293,.521094,.781677,-.268409,.509708,.551014,.797132,-.270399,.501944,.581463,.812655,-.271247,.492025,.612402,.828592,-.270708,.480424,.643798,.844044,-.268085,.465955,.67682,.857305,-.263459,.448425,.708496,.87114,-.258151,.430243,.74046,.884936,-.251171,.410578,.771583,.895772,-.243305,.38862,.802234,.906961,-.234037,.365214,.833179,.917775,-.222714,.34116,.86353,.927883,-.210175,.31572,.893557,.936617,-.196925,.289159,.922976,.943384,-.182788,.261996,.951606,.949713,-.167965,.235324,.979958,.955818,-.151109,.208408,1.00765,.961344,-.133834,.182591,1.03329,.965469,-.115987,.156958,1.0557,.968693,-.09746,.132239,1.07583,.973165,-.0778514,.106195,1.09451,.979387,-.0585067,.0797669,1.11137,.98671,-.0390409,.0530263,1.12643,.994093,-.019408,.0263163,1.14016,1.00002,540029e-9,-194487e-9,1.15299,.574483,-989066e-11,.494533,114896e-10,.574478,-249127e-9,.494528,289403e-9,.574607,-996811e-9,.494637,.00115797,.574396,-.00224241,.494458,.00260498,.574377,-.00398632,.49444,.00463102,.574386,-.00622836,.494445,.00723623,.574401,-.0089683,.494453,.010421,.574419,-.0122056,.49446,.0141859,.574459,-.0159396,.494481,.0185322,.574525,-.0201692,.49452,.0234617,.574587,-.0248924,.494547,.0289762,.574697,-.0301074,.494604,.0350797,.574853,-.0358114,.494688,.0417767,.575027,-.041999,.494772,.0490718,.575294,-.0486618,.494915,.0569728,.575733,-.0557148,.495173,.0654955,.576356,-.0630489,.495537,.0746612,.576944,-.0709285,.495836,.0844615,.57765,-.0792723,.496177,.0949142,.578491,-.0880167,.496563,.10603,.579639,-.0969462,.497096,.117841,.580989,-.10622,.497684,.130367,.582587,-.115861,.498337,.143609,.584951,-.125605,.499414,.157625,.587602,-.135608,.500518,.172413,.59076,-.145742,.501767,.187999,.594992,-.155934,.503542,.20445,.600656,-.166303,.506135,.221764,.607816,-.176681,.509542,.24002,.61522,-.187071,.51263,.258992,.623702,-.197465,.516021,.278773,.634192,-.207816,.520422,.299377,.644936,-.218183,.524073,.320802,.657888,-.2278,.528049,.34384,.670666,-.236747,.52986,.36916,.685626,-.24484,.531892,.395867,.701304,-.252071,.532727,.423488,.717727,-.258714,.532146,.452201,.733914,-.264211,.529883,.481579,.750529,-.26859,.5259,.511558,.76747,-.272046,.51999,.542042,.785189,-.274225,.513083,.572799,.800954,-.275189,.502936,.603816,.816962,-.274946,.490921,.635461,.83336,-.272695,.47684,.6676,.848143,-.268223,.459405,.70051,.861818,-.262768,.440319,.732902,.876828,-.255872,.420123,.765084,.889312,-.247703,.398379,.796391,.900412,-.238381,.374496,.827333,.912251,-.227783,.349874,.858385,.921792,-.214832,.323181,.888652,.931273,-.200949,.296624,.917763,.940295,-.186537,.269211,.947878,.946812,-.171538,.241447,.977016,.953588,-.155254,.213829,1.00501,.958841,-.137156,.186807,1.03179,.963746,-.118699,.160706,1.05502,.966468,-.0998358,.135504,1.07568,.971178,-.0805186,.109131,1.09479,.97831,-.0599348,.0818293,1.1123,.985886,-.0399661,.0545872,1.12771,.994021,-.0198682,.0269405,1.14186,1.00009,271022e-9,-12989e-8,1.15514,.538716,-990918e-11,.486732,109675e-10,.550656,-250642e-9,.497518,277412e-9,.55057,-.00100265,.497441,.00110974,.550903,-.00225672,.497733,.00249779,.550568,-.00401046,.497438,.00443906,.550574,-.00626613,.49744,.00693637,.550591,-.0090226,.497449,.00998921,.550623,-.0122795,.497469,.0135984,.550667,-.0160361,.497495,.0177654,.550724,-.0202908,.497526,.0224915,.550792,-.0250421,.497557,.0277795,.550918,-.0302878,.49763,.0336334,.551058,-.0360241,.497701,.0400573,.551276,-.0422473,.497824,.0470585,.551551,-.0489441,.497977,.0546433,.552074,-.0559596,.498312,.0628367,.552681,-.0633978,.498679,.071646,.553324,-.0713176,.499031,.0810746,.554011,-.0797268,.499365,.091129,.55488,-.0885238,.499779,.101837,.556171,-.0974417,.500444,.113239,.557498,-.106841,.501025,.125316,.559299,-.116533,.501864,.138128,.561647,-.126298,.502967,.151695,.564347,-.136388,.504129,.16604,.567863,-.146576,.505713,.181207,.572569,-.156832,.507953,.197259,.578919,-.167323,.511186,.214258,.585387,-.177712,.514042,.232038,.593134,-.188184,.517484,.250733,.603295,-.198717,.522345,.270454,.613854,-.209177,.526751,.290807,.626092,-.219644,.531595,.312202,.637868,-.229494,.534721,.334435,.652458,-.238718,.538304,.359184,.666985,-.247061,.539875,.385637,.683301,-.254652,.541042,.41328,.69998,-.261376,.540735,.441903,.717824,-.267085,.539139,.471609,.734617,-.271465,.534958,.501446,.753663,-.27528,.53032,.532571,.770512,-.277617,.522134,.563641,.787356,-.278525,.51206,.595067,.806252,-.278512,.50119,.627226,.822061,-.277023,.486791,.659402,.838959,-.273175,.470467,.692874,.85379,-.267238,.450688,.725702,.868268,-.260327,.429741,.75832,.881994,-.251946,.407223,.790189,.893885,-.242432,.383214,.821625,.905118,-.231904,.357297,.853011,.916045,-.219545,.330733,.883773,.927614,-.205378,.303916,.914435,.936005,-.190388,.275941,.944502,.944533,-.1749,.247493,.974439,.950758,-.158588,.218996,1.00286,.957078,-.141027,.191559,1.0304,.962448,-.121507,.164457,1.05466,.964993,-.102068,.138636,1.0761,.970017,-.0822598,.111861,1.09541,.97661,-.062033,.0843438,1.11317,.985073,-.0409832,.0558496,1.12911,.993515,-.020146,.0275331,1.1438,1.00006,27329e-8,-107883e-9,1.15736,.525324,-999341e-11,.498153,105385e-10,.526513,-251605e-9,.499277,265329e-9,.526517,-.00100641,.499282,.0010613,.526588,-.00226466,.499337,.00238823,.526539,-.0040255,.499302,.00424535,.526547,-.00628954,.499306,.00663364,.526561,-.00905628,.499313,.00955337,.526593,-.0123253,.499334,.0130054,.526642,-.0160957,.499365,.0169911,.5267,-.0203661,.499396,.0215122,.526792,-.0251347,.499451,.0265718,.526904,-.0303985,.499511,.0321732,.527079,-.0361554,.499617,.0383231,.527285,-.0423982,.499731,.045026,.527602,-.0491121,.499924,.0522936,.528166,-.0561127,.500306,.0601528,.52879,-.0635988,.5007,.0686059,.529421,-.071581,.501048,.0776518,.530144,-.0799854,.501421,.0873148,.531062,-.0888032,.501884,.0976084,.532374,-.0977643,.50259,.108588,.533828,-.107197,.50329,.120234,.53581,-.116887,.504312,.132602,.538063,-.126755,.505365,.145721,.5409,-.136819,.506668,.159617,.544882,-.147117,.508731,.174369,.550238,-.157446,.511601,.190028,.556038,-.167988,.514431,.206587,.563031,-.178364,.517808,.224046,.571543,-.189007,.521937,.242503,.582255,-.199546,.527415,.261977,.59272,-.210084,.531682,.282162,.605648,-.220448,.537123,.303426,.61785,-.230593,.540664,.325323,.632223,-.240238,.544467,.348993,.648819,-.24887,.547594,.375462,.665825,-.256657,.54912,.403024,.683389,-.263711,.549294,.431773,.701495,-.269666,.547649,.461494,.719197,-.274169,.543786,.491623,.737906,-.278124,.538644,.522994,.756652,-.280632,.531057,.554775,.775279,-.281741,.521972,.586441,.792688,-.281652,.509613,.618596,.811894,-.280345,.496497,.651462,.827938,-.277128,.47968,.684023,.844837,-.271646,.460688,.718024,.859239,-.264397,.438872,.751207,.874088,-.256144,.41577,.784232,.887693,-.246311,.391369,.816191,.899402,-.235497,.365872,.847828,.910973,-.223631,.338618,.87934,.92204,-.209874,.310803,.910325,.930987,-.194265,.281802,.940695,.94,-.178125,.252836,.970958,.948018,-.161479,.224239,1.00078,.955141,-.144038,.195857,1.0288,.960513,-.124915,.168487,1.05371,.963964,-.104284,.141495,1.07596,.968713,-.0838732,.114437,1.09628,.975524,-.0635579,.0863105,1.11448,.98431,-.042291,.0574774,1.13069,.992916,-.0209131,.0284343,1.14568,.999926,743097e-9,-379265e-9,1.15955,.501042,-998428e-11,.498726,100306e-10,.502992,-252112e-9,.500665,253283e-9,.502417,-.00100791,.500092,.00101259,.502965,-.00226919,.500621,.00227978,.502318,-.00403109,.499994,.00405011,.502333,-.00629832,.500005,.00632868,.502362,-.00906907,.500027,.00911446,.502369,-.0123423,.500023,.0124078,.50243,-.0161178,.500066,.016211,.502493,-.0203937,.500103,.0205256,.502592,-.0251684,.500166,.0253548,.502707,-.0304389,.50023,.0307029,.502881,-.0362015,.500335,.0365753,.503124,-.0424507,.500488,.0429798,.503443,-.0491582,.500686,.0499268,.504083,-.0561476,.501155,.0574541,.504668,-.0636846,.501524,.0655408,.505319,-.0716834,.501904,.0742072,.50609,-.0800925,.502321,.0834699,.507122,-.0888425,.502896,.0933603,.508414,-.097855,.503603,.10391,.509955,-.107304,.504416,.115113,.512061,-.116921,.505565,.127054,.514419,-.12689,.506732,.139709,.517529,-.136934,.508338,.153173,.522085,-.147327,.510987,.167528,.526986,-.157612,.513527,.182708,.533122,-.168213,.516717,.198881,.540807,-.178688,.520832,.215986,.550687,-.189511,.52632,.234335,.560567,-.199998,.531009,.253375,.571698,-.210652,.535839,.273499,.584364,-.220917,.541091,.294355,.599066,-.23137,.546875,.316525,.614148,-.241206,.551306,.339671,.631157,-.250379,.555187,.36531,.647919,-.258397,.556595,.392767,.666112,-.265528,.556949,.421397,.686158,-.271827,.556617,.451433,.704838,-.27674,.552975,.482131,.723957,-.280733,.547814,.513458,.74262,-.283359,.53997,.545446,.762009,-.284541,.530422,.57775,.781314,-.284507,.518546,.610434,.799116,-.283309,.504178,.643178,.817604,-.280378,.48843,.676248,.83459,-.275619,.469457,.709698,.850974,-.26856,.447698,.744245,.866747,-.260094,.424791,.777695,.881412,-.249929,.399913,.810392,.8936,-.239137,.37308,.842872,.905943,-.226818,.345705,.874677,.916408,-.213699,.31706,.906257,.927215,-.198428,.288444,.936881,.935625,-.181643,.258329,.96795,.944076,-.164386,.228488,.998216,.951229,-.146339,.199763,1.02689,.958793,-.127709,.172153,1.0535,.963219,-.107244,.144989,1.07646,.967562,-.0857764,.11685,1.09675,.974866,-.0645377,.0880571,1.11576,.983353,-.0431732,.0587352,1.13227,.992503,-.0218356,.0294181,1.1478,1.00003,605203e-9,-231013e-9,1.16207,.482935,-101177e-10,.504695,968142e-11,.477554,-251521e-9,.499071,240676e-9,.477904,-.00100683,.499436,96342e-8,.478368,-.00226636,.499899,.0021687,.477977,-.00402719,.499513,.00385384,.477993,-.00629226,.499525,.0060221,.478011,-.00906011,.499536,.00867289,.478051,-.0123305,.499566,.0118074,.478089,-.016102,.499587,.0154269,.478171,-.0203736,.499645,.0195341,.478254,-.025143,.499692,.0241318,.47839,-.0304071,.499779,.0292247,.478588,-.0361631,.499911,.0348196,.478812,-.0424023,.500046,.0409231,.479208,-.0490724,.500326,.047552,.479841,-.0560722,.500805,.0547377,.480392,-.0636125,.501152,.0624607,.481068,-.0716134,.501561,.0707473,.481898,-.0800062,.502054,.0796118,.483022,-.0886568,.502728,.0890974,.484332,-.0977553,.503479,.0992099,.486126,-.107173,.504546,.10999,.488066,-.11677,.50557,.121476,.490521,-.126725,.506849,.133672,.494232,-.136793,.50911,.146731,.498302,-.147116,.511345,.160577,.503565,-.157446,.514344,.175335,.510902,-.168121,.518824,.191207,.519263,-.178799,.523666,.208058,.528204,-.189407,.528296,.225875,.538854,-.200145,.533724,.244782,.551278,-.210701,.539833,.264753,.565222,-.221303,.546131,.285745,.579403,-.231688,.551496,.307592,.595469,-.241718,.556809,.330582,.610929,-.250992,.559641,.354995,.629433,-.259602,.562379,.382471,.648504,-.267038,.563676,.411126,.66756,-.273388,.562092,.440924,.689143,-.278788,.560807,.472118,.709056,-.282783,.555701,.503774,.729855,-.285836,.548698,.536364,.748954,-.287078,.538544,.56895,.768373,-.287133,.526711,.601991,.78827,-.285839,.512511,.635403,.807465,-.283238,.496323,.668797,.825194,-.27906,.477638,.702584,.842203,-.272286,.456253,.736393,.857749,-.263854,.432412,.77096,.874799,-.253943,.407806,.80489,.887497,-.24237,.38033,.83771,.89966,-.230278,.352446,.870376,.911753,-.21646,.323268,.902256,.923011,-.202071,.294314,.933306,.932375,-.185519,.264104,.965177,.940537,-.167604,.234035,.996303,.948904,-.149068,.20412,1.0261,.955263,-.129539,.175431,1.05304,.960303,-.109932,.148116,1.07617,.965512,-.0880572,.119693,1.09742,.973466,-.0660548,.0901619,1.11721,.98284,-.0439228,.0599875,1.13436,.992216,-.0219588,.0298975,1.15006,.999946,119402e-9,-208547e-10,1.16471,.447827,-100414e-10,.491543,914833e-11,.454778,-251257e-9,.499172,22891e-8,.453519,-.00100342,.497787,914184e-9,.45357,-.00225776,.497847,.00205701,.453578,-.00401371,.497855,.00365705,.45357,-.00627107,.497841,.00571453,.453598,-.00902968,.497864,.00823019,.453627,-.0122888,.497882,.0112049,.453684,-.0160475,.497923,.0146405,.453764,-.0203044,.49798,.0185394,.453866,-.0250576,.498049,.0229054,.453996,-.0303028,.49813,.0277424,.454196,-.0360379,.498267,.0330587,.454457,-.0422521,.498445,.0388613,.454926,-.0488393,.498812,.0451767,.455525,-.0558653,.499272,.0520153,.456074,-.0633772,.499625,.0593754,.456752,-.0713606,.500049,.0672751,.457648,-.07971,.500615,.0757447,.458849,-.0883032,.501399,.0848231,.46029,-.0974095,.502293,.0945135,.462,-.106729,.503301,.104848,.464121,-.116354,.504533,.115884,.466889,-.126214,.506172,.127652,.470744,-.136324,.508667,.14024,.47488,-.146595,.510995,.153673,.480845,-.157027,.514832,.168053,.488262,-.167658,.519506,.183508,.496547,-.178343,.524347,.199948,.506254,-.188916,.52983,.217503,.517961,-.199975,.536357,.236272,.531484,-.210624,.543641,.256096,.545496,-.221227,.550048,.277085,.559497,-.231568,.555076,.298615,.575752,-.241698,.560541,.321547,.591999,-.251172,.564156,.345602,.610654,-.260178,.567607,.371851,.630484,-.268094,.56923,.40076,.651807,-.274661,.569779,.430801,.67239,-.280331,.566791,.461939,.693024,-.284501,.562007,.493854,.715473,-.287852,.555791,.526992,.736323,-.28929,.546345,.560102,.755771,-.289405,.534,.593543,.775424,-.2881,.519114,.627256,.795447,-.285562,.502543,.661464,.815319,-.281416,.484773,.695206,.831769,-.275523,.463445,.729044,.849464,-.267516,.440269,.764069,.866775,-.257584,.415049,.799089,.881252,-.245817,.388049,.831948,.894209,-.233127,.35889,.865526,.906922,-.219579,.329915,.89818,.919686,-.204491,.300441,.930013,.929044,-.188962,.269445,.962061,.938393,-.171079,.238402,.994214,.94661,-.15199,.208204,1.02533,.953095,-.131953,.178653,1.0529,.958644,-.111233,.150684,1.0771,.963925,-.0903098,.122359,1.09855,.971995,-.0680505,.0923342,1.11874,.981658,-.0448512,.0614195,1.13635,.991649,-.0221931,.0303582,1.15238,.999985,393403e-9,-111086e-9,1.16772,.396806,-971563e-11,.457671,842355e-11,.429186,-249421e-9,.495017,21625e-8,.429324,-998052e-9,.495173,865322e-9,.429175,-.00224487,.494999,.00194637,.429129,-.00399041,.494952,.00346004,.429153,-.00623476,.494974,.00540684,.429168,-.0089773,.494983,.00778714,.429207,-.0122175,.495012,.0106022,.429257,-.0159542,.495047,.0138535,.429338,-.0201864,.495106,.0175443,.429431,-.0249104,.495165,.0216774,.429587,-.0301252,.495279,.0262594,.429796,-.0358249,.495432,.0312968,.430065,-.0419972,.495621,.0367985,.430588,-.0485144,.496061,.042798,.43113,-.0555028,.496472,.0492914,.431743,-.0629852,.496904,.0562907,.432448,-.0709256,.497369,.0638056,.433414,-.0791942,.498032,.071885,.434638,-.0877346,.498854,.0805517,.43611,-.0968056,.499812,.0898047,.437859,-.106002,.500891,.0997142,.440017,-.115648,.502198,.110289,.443236,-.125427,.504389,.121644,.44697,-.135492,.506809,.133769,.451689,-.145746,.509858,.146787,.45811,-.156219,.514247,.160793,.465305,-.166834,.518816,.175791,.474085,-.177546,.524331,.191906,.484808,-.188262,.53104,.209199,.49732,-.199346,.538511,.227825,.509693,-.209951,.544554,.247269,.524367,-.220533,.551616,.267978,.539228,-.231082,.557368,.289672,.55644,-.241342,.563782,.31268,.574204,-.250964,.568851,.33651,.593388,-.260306,.57312,.362219,.613358,-.268667,.574916,.390322,.634512,-.275591,.575053,.420478,.65563,-.281328,.572404,.451614,.678265,-.285948,.568893,.484112,.70011,-.289408,.561878,.517348,.723005,-.291328,.55359,.551355,.743744,-.291418,.541099,.585109,.763949,-.290252,.526489,.619487,.784186,-.287648,.509496,.65404,.804304,-.283782,.491484,.688649,.823629,-.278067,.470517,.723133,.84094,-.270588,.44705,.757163,.857852,-.261188,.421252,.792816,.874934,-.249313,.394191,.827248,.888709,-.236492,.365359,.861074,.902589,-.222185,.336016,.894417,.914201,-.207314,.30527,.926825,.925978,-.191146,.274532,.9595,.93512,-.174135,.243393,.991583,.943656,-.155231,.212414,1.02356,.951719,-.134403,.182005,1.05239,.957164,-.113023,.153043,1.07754,.962656,-.0914493,.124186,1.09984,.970695,-.0694179,.0941654,1.12,.980749,-.0466199,.0629671,1.13849,.991205,-.0227032,.0311146,1.15494,.999884,632388e-9,-254483e-9,1.1706,.379821,-957289e-11,.460637,789337e-11,.405188,-247483e-9,.491396,204064e-9,.404796,-989434e-9,.490914,815853e-9,.40483,-.00222607,.490949,.00183559,.40473,-.00395723,.49084,.00326332,.404731,-.00618287,.490836,.00509945,.404768,-.00890258,.490871,.00734463,.404791,-.0121156,.490883,.00999992,.404857,-.0158214,.490938,.0130676,.404943,-.0200178,.491004,.0165503,.405059,-.0247027,.491093,.0204521,.405213,-.0298729,.491205,.0247788,.405399,-.0355226,.491333,.0295373,.405731,-.0416352,.491604,.034741,.406303,-.0480807,.492116,.0404255,.406814,-.0550458,.492506,.0465732,.407404,-.0624652,.492926,.0532058,.408149,-.0702958,.493442,.0603442,.409128,-.0784623,.494136,.0680297,.410408,-.087007,.495054,.0762786,.411813,-.0959639,.495962,.0851046,.413735,-.105075,.497257,.0945878,.416137,-.114646,.498882,.104725,.41934,-.124394,.501132,.11563,.423326,-.134328,.503883,.127325,.428419,-.14458,.50747,.139911,.43484,-.154979,.511964,.153481,.442641,-.165628,.517328,.168114,.452511,-.176365,.524258,.183995,.463473,-.187298,.531248,.200953,.475564,-.198244,.538367,.219176,.488664,-.208938,.545175,.238514,.504073,-.219599,.553227,.259129,.520832,-.230378,.560653,.280997,.538455,-.240703,.567523,.303821,.55709,-.250548,.573287,.327948,.576646,-.259964,.577795,.353362,.596705,-.268721,.580077,.380336,.618053,-.276054,.58018,.4101,.640303,-.282176,.578747,.44161,.662365,-.286931,.574294,.474106,.684542,-.290521,.567035,.507549,.707984,-.292672,.558687,.541853,.730913,-.293189,.547606,.576581,.752948,-.292199,.533471,.61172,.773452,-.289508,.516395,.646339,.794715,-.285716,.497873,.682131,.814251,-.280051,.476845,.716396,.833057,-.272873,.453449,.751503,.84959,-.263982,.427857,.786085,.867022,-.252745,.400335,.821355,.882277,-.239655,.371304,.85646,.895375,-.225386,.340397,.890828,.909347,-.209587,.310005,.923532,.921885,-.193433,.2796,.956419,.932127,-.176135,.247276,.989445,.941869,-.157872,.216186,1.02221,.949735,-.137577,.185602,1.05195,.956617,-.115285,.155767,1.07822,.961974,-.0928418,.126103,1.10149,.96972,-.0700592,.0956758,1.12207,.98012,-.0474671,.0643269,1.1408,.990825,-.0238113,.0320863,1.1577,.999876,381574e-9,-812203e-10,1.17403,.367636,-961342e-11,.469176,753287e-11,.380377,-244772e-9,.485434,191797e-9,.380416,-978857e-9,.485475,767015e-9,.380376,-.00220165,.485435,.00172522,.380419,-.00391408,.485487,.00306734,.380438,-.00611549,.485505,.00479332,.380462,-.00880558,.485525,.00690391,.380496,-.0119837,.485551,.00940039,.38056,-.0156487,.485605,.0122848,.38064,-.0197988,.485666,.0155601,.380767,-.0244324,.48577,.0192313,.380909,-.0295444,.485871,.0233032,.381142,-.0351321,.48606,.0277861,.381472,-.0411535,.486336,.0326939,.382015,-.0475408,.486833,.0380565,.382523,-.0544395,.487231,.0438615,.383129,-.061784,.487683,.0501332,.383952,-.0695085,.488313,.0568996,.38498,-.0775819,.489077,.0641952,.386331,-.0860443,.490113,.0720324,.387788,-.0948406,.491099,.0804379,.389808,-.103899,.492566,.0894899,.39252,-.113313,.494601,.0992098,.395493,-.123007,.496619,.109641,.399826,-.132859,.499912,.120919,.405341,-.143077,.504061,.133107,.411932,-.153465,.508905,.146263,.420591,-.164108,.515482,.160544,.43101,-.174893,.523191,.176123,.441881,-.185839,.53026,.192757,.453919,-.196633,.537295,.210535,.468715,-.207611,.546156,.229886,.485182,-.218517,.555173,.250543,.501926,-.229249,.562728,.27221,.51785,-.239481,.567494,.294892,.536947,-.249395,.573889,.318987,.557115,-.259,.578831,.344348,.577966,-.268075,.582055,.371223,.599489,-.276115,.583307,.399834,.62479,-.282523,.583902,.431415,.647504,-.287663,.57953,.464301,.670601,-.291538,.573103,.498123,.693539,-.293842,.563731,.532662,.717385,-.294681,.553169,.567925,.741533,-.293717,.539908,.603502,.762142,-.291156,.521902,.639074,.783014,-.28719,.502815,.674439,.805158,-.281773,.482598,.710497,.823646,-.274682,.458949,.7456,.841879,-.266184,.433129,.781085,.859515,-.255682,.406064,.816,.875335,-.242849,.376509,.851074,.890147,-.228329,.345502,.886473,.903144,-.212491,.31428,.920751,.916618,-.195695,.282994,.954606,.927953,-.178267,.251091,.988402,.937414,-.159549,.219107,1.02141,.946823,-.140022,.18896,1.05167,.954651,-.118154,.158667,1.07819,.959955,-.0946636,.128808,1.1025,.96858,-.0711792,.0973787,1.12391,.97938,-.0475046,.0650965,1.14322,.990498,-.024059,.0326267,1.16077,.999844,-512408e-10,112444e-9,1.17727,.316912,-934977e-11,.425996,695559e-11,.356423,-241372e-9,.479108,179562e-9,.356272,-965292e-9,.478897,71811e-8,.356262,-.00217182,.478894,.00161574,.356265,-.00386092,.478895,.00287261,.356278,-.0060324,.478905,.00448907,.356293,-.00868565,.478914,.00646572,.356346,-.0118207,.478965,.00880438,.356395,-.0154355,.479001,.0115066,.356484,-.019529,.479075,.0145762,.356609,-.0240991,.47918,.018018,.356766,-.0291413,.479305,.0218379,.357009,-.0346498,.479512,.0260454,.357424,-.0405462,.479909,.0306657,.357899,-.0468825,.480337,.0357054,.358424,-.0536887,.480771,.0411728,.359041,-.0609416,.481242,.0470841,.359903,-.0685239,.481943,.0534831,.360932,-.0764883,.482741,.0603795,.362196,-.0848364,.483688,.0678028,.363847,-.0935002,.484947,.0758086,.365972,-.102471,.486588,.0844173,.368741,-.111751,.488787,.0937199,.372146,-.121334,.491405,.103732,.377114,-.131147,.495604,.114608,.38226,-.141213,.499436,.126345,.389609,-.151632,.505334,.139116,.397925,-.162073,.51168,.152995,.407824,-.172819,.518876,.168071,.420014,-.183929,.527639,.184495,.434266,-.195032,.537588,.20232,.447352,-.205792,.544379,.221189,.463726,-.216704,.553422,.241616,.481406,-.227531,.562074,.263298,.498707,-.238017,.568227,.286116,.518039,-.247936,.574473,.3101,.538277,-.257437,.579191,.335401,.561166,-.266829,.584807,.362246,.583189,-.275329,.586476,.390609,.606024,-.28234,.585578,.420998,.632419,-.287924,.584496,.454357,.656128,-.291972,.577766,.488233,.679953,-.29456,.56875,.523248,.704654,-.295816,.558388,.559168,.729016,-.295157,.544826,.595326,.752062,-.292779,.528273,.631864,.773138,-.288681,.508482,.667793,.794869,-.283358,.487341,.704035,.815101,-.27608,.46354,.739925,.834212,-.26767,.438672,.775539,.852368,-.257397,.411239,.810895,.870207,-.245689,.3829,.846472,.884063,-.231452,.351496,.881788,.898284,-.215561,.31895,.917438,.912964,-.198208,.287367,.952422,.924666,-.180426,.254487,.987551,.934429,-.161525,.222226,1.02142,.943485,-.141197,.191143,1.05218,.9521,-.120085,.161112,1.07937,.957876,-.0975881,.130982,1.10403,.966943,-.0726842,.0990553,1.12616,.978313,-.0483705,.0662818,1.14619,.990048,-.0239072,.0329243,1.16413,.999984,461885e-9,-772859e-10,1.18099,.321287,-935049e-11,.455413,659662e-11,.332595,-237513e-9,.471437,167562e-9,.332729,-949964e-9,.471618,670192e-9,.332305,-.00213618,.471028,.00150712,.332326,-.00379765,.471055,.00267959,.332344,-.00593353,.471072,.00418751,.332356,-.00854349,.471077,.00603172,.332403,-.0116268,.471121,.00821362,.332461,-.0151824,.47117,.0107357,.332552,-.0192088,.471251,.0136014,.332657,-.0237024,.47133,.0168152,.332835,-.0286615,.471487,.0203853,.333083,-.0340765,.471708,.0243212,.333547,-.0398563,.47219,.0286518,.333989,-.0460916,.472587,.0333763,.334532,-.0527897,.473054,.0385084,.335167,-.0599284,.473568,.0440638,.33608,-.0673514,.474362,.0500962,.337146,-.0752237,.475231,.0566022,.338462,-.083418,.476282,.0636272,.34014,-.0919382,.477615,.0712153,.342341,-.100741,.479404,.079417,.345088,-.109905,.481618,.0882631,.349049,-.119369,.485081,.0978851,.353939,-.129033,.489317,.108336,.359893,-.139038,.494309,.119698,.366945,-.149411,.499983,.132024,.375814,-.159843,.507185,.145558,.387112,-.170664,.516392,.160433,.40023,-.181897,.526519,.176648,.412555,-.192785,.53423,.193922,.427023,-.203663,.542741,.212662,.443685,-.214695,.552066,.232944,.461499,-.225561,.560762,.254495,.480975,-.236257,.569421,.277531,.501,-.24639,.576101,.301724,.521691,-.256101,.581493,.327112,.543478,-.265289,.585221,.353917,.566094,-.273938,.587614,.381941,.589578,-.281679,.587991,.41172,.614583,-.287655,.585928,.444148,.641813,-.292228,.582092,.478617,.666189,-.295172,.57398,.51397,.690475,-.29648,.561676,.550118,.715543,-.296203,.548758,.586933,.740405,-.293999,.532792,.62384,.762183,-.28998,.512735,.660723,.786069,-.28478,.492402,.69807,.806812,-.277568,.469058,.734422,.826987,-.268951,.443017,.770946,.844588,-.259049,.415501,.80699,.863725,-.2471,.387328,.842107,.879137,-.234157,.356108,.878078,.894634,-.218719,.324315,.914058,.909162,-.201293,.291813,.949922,.92072,-.18267,.258474,.985337,.93158,-.163212,.225593,1.0205,.941238,-.142771,.193986,1.05273,.949293,-.120956,.163392,1.08075,.956226,-.0985743,.132934,1.10559,.96546,-.075118,.101255,1.12823,.977403,-.0497921,.0675441,1.149,.989648,-.0241574,.0334681,1.16765,1.00001,5762e-7,-184807e-9,1.18519,.303474,-916603e-11,.4542,61243e-10,.308894,-232869e-9,.462306,155592e-9,.309426,-931661e-9,.463093,622499e-9,.308643,-.0020949,.461933,.00139979,.308651,-.0037242,.461941,.00248874,.308662,-.00581873,.46195,.00388933,.308687,-.00837818,.461974,.00560247,.308728,-.0114016,.462011,.00762948,.308789,-.0148884,.462067,.00997326,.308882,-.0188369,.462151,.0126375,.309007,-.0232436,.462263,.0156271,.30918,-.0281054,.462417,.0189498,.309442,-.0334065,.462667,.0226167,.309901,-.0390589,.463162,.0266614,.310331,-.0452042,.463555,.0310715,.310858,-.0517735,.464019,.0358698,.311576,-.0587359,.464669,.0410848,.312436,-.0660383,.465406,.0467453,.313526,-.0737266,.466339,.0528718,.314903,-.0817574,.467504,.0595039,.316814,-.090167,.469226,.0666888,.318965,-.0987555,.470981,.0744658,.322077,-.107792,.473814,.082912,.325947,-.117098,.477241,.0920846,.331008,-.126602,.48184,.102137,.337893,-.136619,.488334,.113135,.345106,-.146838,.494415,.12511,.355111,-.157357,.503275,.138356,.365095,-.167955,.510966,.152686,.378344,-.179157,.521508,.16856,.391599,-.190143,.530455,.18561,.407786,-.20123,.541275,.204308,.425294,-.212456,.551784,.224623,.444021,-.223568,.561493,.246172,.463418,-.234154,.569886,.268979,.484077,-.244546,.577116,.293411,.505513,-.254301,.582914,.318936,.527672,-.263564,.587208,.345856,.550565,-.272332,.589277,.374054,.573656,-.280011,.588426,.403276,.59827,-.286924,.587504,.43474,.624731,-.291994,.583401,.468767,.652396,-.295159,.576997,.504411,.67732,-.296954,.565863,.54114,.703147,-.296877,.552316,.57816,.728715,-.295147,.536773,.616124,.752448,-.291275,.51771,.653885,.775169,-.285905,.496087,.691537,.799307,-.279064,.474232,.729251,.819482,-.270294,.447676,.766267,.837659,-.260032,.419656,.802616,.856903,-.248497,.391328,.838583,.873325,-.235252,.360285,.874711,.889788,-.221126,.329215,.91077,.904486,-.204304,.296392,.94653,.917711,-.185562,.262159,.983828,.928969,-.165635,.229142,1.01955,.939707,-.14442,.19673,1.05317,.948167,-.122147,.165095,1.0823,.955222,-.099098,.13451,1.10791,.964401,-.0755332,.102476,1.1312,.976605,-.0513817,.0689667,1.15218,.989085,-.0258499,.034506,1.17129,.999908,617773e-9,-271268e-9,1.18961,.285803,-905752e-11,.452348,572272e-11,.284689,-22732e-8,.450581,143626e-9,.285263,-910214e-9,.451482,575099e-9,.285302,-.00204784,.451553,.00129395,.285318,-.00364057,.451574,.0023006,.28533,-.00568813,.451585,.00359547,.285361,-.00819001,.451618,.00517934,.285397,-.0111458,.45165,.007054,.285447,-.0145536,.451688,.00922167,.285527,-.0184127,.451758,.0116869,.285688,-.0227207,.451929,.0144555,.28584,-.0274712,.452055,.0175341,.286136,-.0326278,.452369,.0209406,.286574,-.0381792,.452853,.0246965,.287012,-.0441879,.453272,.0287996,.287542,-.0506096,.453752,.033268,.288299,-.0573634,.454488,.0381504,.289186,-.0645458,.455294,.0434447,.290302,-.0720405,.456301,.0491973,.291776,-.0799046,.457648,.0554453,.29372,-.088117,.459483,.0622311,.296052,-.0965328,.461571,.0695992,.299563,-.105409,.465085,.077658,.30335,-.114553,.468506,.0864176,.309167,-.123917,.474423,.0961078,.31529,-.13381,.47995,.106643,.324163,-.144021,.488592,.118322,.333272,-.154382,.496461,.131133,.344224,-.165015,.50562,.145208,.357733,-.176168,.516719,.16073,.373046,-.187468,.528513,.177807,.38788,-.198488,.537713,.196072,.405133,-.209545,.547999,.21605,.423845,-.220724,.55759,.237484,.443777,-.231518,.566246,.26039,.464824,-.242035,.574326,.284835,.486635,-.251898,.58037,.310518,.51012,-.261304,.58568,.337678,.535301,-.270384,.590197,.366242,.559193,-.27841,.590569,.395873,.583544,-.285325,.588161,.426857,.608834,-.291113,.584249,.459477,.635753,-.294882,.57763,.494734,.664367,-.297088,.569479,.532023,.689688,-.297364,.555064,.569629,.715732,-.295949,.539522,.608124,.741307,-.292259,.521613,.646231,.764949,-.287063,.49969,.684938,.788599,-.28012,.476747,.723548,.81048,-.27153,.45116,.761135,.831372,-.261289,.424101,.798916,.850092,-.249559,.39443,.835952,.867777,-.236348,.363849,.871606,.884632,-.221569,.332477,.907843,.90047,-.20618,.300667,.944187,.914524,-.188771,.266552,.981371,.926892,-.168362,.232349,1.01841,.937951,-.146761,.199359,1.05308,.947236,-.123813,.1675,1.0839,.954367,-.099984,.136166,1.11047,.963907,-.0759278,.103808,1.13414,.976218,-.0511367,.0697061,1.15575,.988772,-.0267415,.0352529,1.17531,.999888,-520778e-9,289926e-9,1.19389,.263546,-883274e-11,.441896,526783e-11,.262352,-221849e-9,.439889,132311e-9,.262325,-886683e-9,.439848,528824e-9,.26228,-.00199476,.439765,.00118975,.262372,-.00354671,.439922,.00211568,.26239,-.00554141,.439941,.00330652,.262412,-.00797888,.439961,.00476346,.262453,-.0108584,.440002,.00648818,.262528,-.0141788,.440085,.0084835,.262615,-.017938,.440166,.0107533,.262744,-.0221346,.440291,.0133044,.262939,-.026762,.440493,.0161445,.263277,-.0317573,.440889,.0192974,.26368,-.0371832,.441338,.0227699,.264106,-.0430371,.441753,.0265698,.264624,-.0493035,.442227,.0307178,.265378,-.0558669,.442985,.0352616,.266253,-.0628718,.443795,.0401968,.267478,-.0701569,.445008,.04559,.269062,-.077845,.446599,.0514539,.270926,-.0857941,.448349,.0578382,.273693,-.0940773,.451221,.0648363,.276746,-.102704,.454097,.0724389,.281693,-.111735,.459517,.0808744,.287335,-.121004,.46531,.0901551,.29448,-.130734,.472605,.100371,.30257,-.140777,.480251,.111644,.312465,-.15111,.489444,.124111,.324856,-.16189,.500919,.137979,.33774,-.172946,.511317,.153163,.35255,-.184152,.522684,.169817,.367786,-.19522,.53248,.187886,.385474,-.20632,.543326,.207634,.404976,-.217744,.554109,.229165,.425203,-.228691,.563395,.252068,.446704,-.239299,.571565,.276471,.468951,-.249348,.577935,.302323,.493487,-.258933,.584309,.329882,.517861,-.268009,.58773,.358525,.543309,-.276238,.589612,.388585,.569704,-.28356,.589294,.419787,.594871,-.289497,.585137,.452114,.622555,-.294452,.580356,.486466,.651167,-.296918,.57185,.523079,.677332,-.297647,.558428,.5611,.703718,-.296321,.542232,.599592,.730262,-.293339,.524541,.639138,.754304,-.288036,.502691,.677978,.778051,-.281018,.479212,.716537,.801557,-.272414,.454071,.75586,.822559,-.262419,.425952,.794477,.843051,-.250702,.397313,.832664,.86232,-.237264,.366534,.869876,.879044,-.222716,.334816,.906973,.896362,-.206827,.303143,.943558,.910342,-.189659,.269699,.979759,.924119,-.171108,.236411,1.01718,.935374,-.149579,.202224,1.05289,.944295,-.126295,.16989,1.08496,.952227,-.101511,.138089,1.11256,.962041,-.0766392,.105053,1.1375,.97528,-.0511967,.070329,1.15983,.988476,-.025463,.0351268,1.17987,.999962,286808e-10,145564e-10,1.19901,.227089,-841413e-11,.404216,472707e-11,.239725,-215083e-9,.426708,120833e-9,.239904,-860718e-9,.427028,483555e-9,.239911,-.00193661,.427039,.00108806,.239914,-.00344276,.42704,.00193457,.239933,-.00537907,.427064,.00302363,.239944,-.00774482,.427065,.00435604,.239993,-.01054,.427122,.00593398,.240052,-.0137626,.427179,.00775987,.240148,-.0174115,.427279,.00983854,.240278,-.021484,.42741,.0121763,.240472,-.0259729,.427618,.0147827,.240839,-.0308131,.428086,.0176837,.241201,-.0360893,.428482,.0208775,.241626,-.0417723,.428907,.0243821,.242207,-.0478337,.42952,.0282228,.24298,-.0542199,.430332,.0324333,.243881,-.0610015,.431222,.0370252,.245123,-.0680874,.432512,.0420535,.24667,-.0755482,.434088,.0475414,.248779,-.0832873,.436323,.0535542,.251665,-.0913546,.439509,.0601716,.255305,-.0998489,.443478,.0674282,.260049,-.108576,.448713,.0754673,.266192,-.117754,.455524,.084339,.273158,-.127294,.4627,.0941683,.282131,-.137311,.472068,.10515,.293332,-.147736,.483565,.117402,.304667,-.158357,.493702,.130824,.317785,-.169274,.504708,.145724,.333245,-.180595,.517107,.16215,.349843,-.191892,.528849,.180149,.367944,-.203168,.540301,.199746,.387579,-.214443,.551514,.221047,.408247,-.225624,.560906,.243981,.43014,-.236422,.56959,.268513,.452669,-.24654,.576098,.294409,.476196,-.256157,.580925,.322002,.501157,-.265289,.584839,.351052,.527632,-.273671,.587614,.3812,.555754,-.281254,.589119,.412994,.581682,-.287448,.585204,.445498,.608196,-.292614,.579006,.479505,.635661,-.296068,.571297,.514643,.664999,-.297395,.560855,.552213,.691039,-.296645,.544525,.591365,.7179,-.293785,.526535,.630883,.744059,-.289089,.50545,.670932,.76863,-.282239,.482514,.710904,.793273,-.273688,.457246,.750259,.814731,-.26328,.428872,.78948,.835603,-.251526,.399384,.828597,.85489,-.238339,.368811,.866892,.872828,-.223607,.336617,.90563,.889462,-.207538,.303997,.943538,.904929,-.190297,.270812,.980591,.919101,-.172034,.237453,1.01935,.930536,-.152058,.204431,1.05498,.941223,-.129515,.172495,1.08717,.94982,-.104263,.140175,1.11551,.960592,-.0781944,.106465,1.14098,.974629,-.051688,.0711592,1.16418,.98811,-.0253929,.0354432,1.18465,1.00004,804378e-9,-330876e-9,1.20462,.214668,-821282e-11,.406619,433582e-11,.218053,-208144e-9,.413025,109887e-9,.217987,-832212e-9,.412901,439362e-9,.217971,-.00187246,.412876,988623e-9,.217968,-.00332855,.41286,.00175772,.217985,-.00520055,.412882,.00274729,.218014,-.00748814,.412916,.00395842,.218054,-.0101901,.412957,.00539274,.218106,-.0133057,.413005,.00705348,.218217,-.0168342,.413139,.00894581,.218338,-.0207707,.413258,.0110754,.21855,-.0251001,.413509,.0134551,.218913,-.0297861,.413992,.0161081,.219265,-.0348956,.414383,.0190307,.219696,-.0403909,.414839,.0222458,.220329,-.0462003,.415567,.025792,.220989,-.0524208,.41621,.0296637,.222027,-.058948,.417385,.0339323,.223301,-.0658208,.418779,.0386055,.224988,-.0730347,.420665,.0437355,.227211,-.0805274,.423198,.0493844,.230131,-.088395,.426566,.0556135,.233908,-.0966208,.43091,.0624829,.239092,-.105223,.437148,.0701636,.245315,-.11424,.444302,.0786949,.253166,-.12368,.453262,.0882382,.262374,-.133569,.463211,.0988682,.273145,-.143836,.474271,.110727,.285512,-.154577,.4863,.123945,.299512,-.165501,.498817,.138581,.314287,-.176698,.510341,.154676,.331083,-.188066,.522583,.172459,.349615,-.199597,.534879,.191979,.369318,-.210843,.546083,.21309,.390377,-.222068,.5562,.235998,.412411,-.233059,.564704,.260518,.435715,-.24357,.572314,.286795,.461196,-.253356,.579395,.314559,.485587,-.262362,.581985,.343581,.511908,-.270895,.584347,.374367,.539798,-.278452,.58505,.406015,.567974,-.284877,.583344,.439168,.594303,-.290124,.577348,.473005,.622951,-.294183,.570751,.508534,.652404,-.296389,.561541,.544764,.679291,-.296605,.546426,.582927,.706437,-.294095,.528599,.622681,.734485,-.28978,.508676,.663567,.758841,-.283363,.484768,.704092,.78537,-.275015,.460434,.745101,.807315,-.264689,.432166,.784712,.8271,-.252597,.401807,.824241,.849191,-.239154,.371458,.863803,.867046,-.224451,.338873,.903063,.8852,-.208342,.306175,.942763,.901771,-.190684,.272759,.981559,.915958,-.172105,.239306,1.02048,.928046,-.152214,.206071,1.05765,.939961,-.130247,.17367,1.08999,.948711,-.10672,.142201,1.11829,.959305,-.0808688,.108454,1.14467,.973009,-.0539145,.0728109,1.16839,.987631,-.0262947,.0360625,1.19004,.999978,.00132758,-559424e-9,1.21058,.193925,-793421e-11,.391974,392537e-11,.196746,-200315e-9,.397675,991033e-10,.19667,-801099e-9,.397521,396342e-9,.196633,-.00180246,.397445,891829e-9,.196654,-.00320443,.397482,.00158582,.196659,-.00500647,.39748,.00247867,.196683,-.0072086,.397506,.00357167,.196728,-.00981001,.397562,.00486675,.196792,-.0128096,.397633,.00636707,.19689,-.0162055,.397746,.00807752,.197017,-.0199943,.397884,.0100052,.19729,-.024139,.39827,.0121691,.197583,-.0286671,.398639,.0145755,.197927,-.0335858,.399034,.0172355,.198383,-.0388806,.399554,.0201718,.199002,-.0444736,.400289,.0234194,.199739,-.0504583,.401111,.026984,.200784,-.056729,.402349,.0309217,.202075,-.0633643,.403841,.0352496,.203898,-.0703247,.406076,.0400313,.206199,-.0775565,.408841,.0453282,.209252,-.085184,.41259,.0511794,.213638,-.0931994,.418288,.0577459,.21881,-.101617,.424681,.0650508,.225642,-.11052,.433429,.0732759,.233717,-.119772,.442897,.0824683,.242823,-.129505,.452888,.0927484,.254772,-.139906,.466407,.104417,.266603,-.150402,.477413,.117211,.28073,-.161395,.490519,.131598,.295399,-.172465,.50201,.147407,.312705,-.183982,.515311,.165031,.331335,-.195532,.52786,.184336,.351037,-.206971,.5392,.205361,.372175,-.218117,.54941,.228043,.394548,-.229327,.558642,.25267,.419598,-.240052,.567861,.279071,.443922,-.249937,.573332,.306882,.471495,-.259407,.58013,.33661,.496769,-.267749,.580564,.367328,.524951,-.275524,.581696,.399753,.55318,-.282148,.579885,.433134,.581577,-.287533,.575471,.467534,.609231,-.291612,.567445,.502943,.637478,-.293911,.557657,.53871,.667795,-.295096,.546535,.576568,.694272,-.294073,.529561,.614929,.722937,-.290386,.510561,.655909,.749682,-.284481,.487846,.697663,.774754,-.276188,.462487,.738515,.799301,-.266215,.43481,.779802,.820762,-.254116,.404879,.820045,.843231,-.240393,.374559,.860294,.861857,-.225503,.341582,.900965,.880815,-.209382,.308778,.941727,.89766,-.19155,.275232,.980916,.912926,-.172346,.240938,1.02162,.926391,-.151799,.207223,1.0597,.938429,-.129968,.17484,1.09291,.947834,-.10651,.142984,1.12248,.958432,-.0824098,.109902,1.149,.972402,-.0565242,.0744454,1.1733,.987191,-.028427,.0373794,1.19538,.999975,385685e-10,-4203e-8,1.21676,.178114,-766075e-11,.385418,354027e-11,.176074,-191966e-9,.381002,887135e-10,.17601,-767549e-9,.380861,354715e-9,.17598,-.00172696,.380798,798168e-9,.175994,-.00307012,.380824,.00141928,.176017,-.00479684,.380858,.00221859,.176019,-.00690648,.380839,.00319714,.176072,-.00939888,.380913,.0043572,.176131,-.0122726,.380979,.005702,.176239,-.0155264,.38112,.00723689,.176371,-.0191551,.381272,.00896907,.176638,-.023117,.381669,.0109194,.176912,-.0274633,.382015,.0130903,.177279,-.032173,.382476,.0154949,.17774,-.0372219,.383041,.0181669,.178344,-.0426132,.38378,.0211209,.179153,-.0483309,.384773,.0243899,.180197,-.0543447,.386076,.0280062,.181581,-.0607122,.387809,.032004,.18344,-.0673855,.390205,.036453,.186139,-.0743989,.393944,.0414162,.189432,-.0817731,.39832,.0469394,.193795,-.0895464,.404188,.0531442,.199641,-.0978264,.4121,.0601374,.206679,-.106499,.421425,.0680078,.214865,-.115654,.431504,.076919,.224406,-.125268,.442526,.0868835,.235876,-.135475,.455465,.0981875,.248335,-.146023,.4681,.110759,.262868,-.157016,.482069,.124885,.278962,-.168245,.496182,.140645,.295082,-.17958,.507401,.157838,.313738,-.191227,.520252,.17695,.333573,-.202718,.531708,.197817,.356433,-.214424,.544509,.220785,.378853,-.225492,.55373,.245306,.402717,-.236236,.561348,.271593,.428375,-.246568,.568538,.299776,.454724,-.255941,.573462,.329433,.482291,-.264511,.576356,.360598,.509706,-.272129,.576446,.393204,.538805,-.278979,.575298,.427227,.568919,-.284528,.572154,.462157,.596804,-.288801,.564691,.497997,.625987,-.291334,.555134,.534467,.656414,-.292722,.545051,.571736,.683916,-.292185,.528813,.610158,.711809,-.290043,.51106,.649061,.739547,-.285246,.490103,.690081,.766914,-.277647,.465523,.732554,.791375,-.267603,.437718,.773982,.814772,-.256109,.40882,.81609,.836691,-.242281,.377823,.856849,.856984,-.227155,.34496,.898363,.876332,-.210395,.311335,.939471,.894988,-.192612,.277703,.980799,.911113,-.173236,.243019,1.02215,.924092,-.152258,.209037,1.06139,.936828,-.129575,.175909,1.09635,.946869,-.10594,.143852,1.12707,.958284,-.081318,.110289,1.15419,.972325,-.0556133,.0747232,1.17909,.986878,-.0297899,.0383149,1.20163,.999936,-.00197169,912402e-9,1.22338,.151174,-720365e-11,.351531,309789e-11,.155594,-18279e-8,.361806,78608e-9,.156099,-731569e-9,.362982,314615e-9,.156053,-.00164578,.362869,707845e-9,.156093,-.0029261,.362961,.00125884,.156099,-.00457155,.362959,.00196783,.15612,-.00658224,.362982,.00283622,.156168,-.00895774,.363048,.00386625,.156221,-.0116962,.363101,.00506109,.156324,-.0147973,.363241,.00642675,.156476,-.0182503,.363448,.00797175,.156731,-.0220266,.36384,.00971484,.156994,-.026176,.364179,.0116575,.157341,-.0306701,.36462,.0138207,.157867,-.0354591,.365364,.0162356,.15846,-.0406141,.366111,.0189092,.159308,-.0460519,.367248,.021885,.160426,-.0518096,.368767,.0252004,.161877,-.0578906,.370745,.0288825,.163995,-.0642812,.373831,.0330139,.16655,-.0710067,.377366,.0376283,.170237,-.0781522,.382799,.0428493,.175096,-.0857172,.389915,.0487324,.181069,-.0938025,.398487,.0554214,.188487,-.102363,.408799,.0630189,.197029,-.111343,.419991,.071634,.206684,-.120812,.431455,.0812797,.218698,-.131033,.445746,.0923651,.230726,-.141373,.457471,.104545,.245516,-.152387,.472388,.118449,.261551,-.163628,.486671,.133923,.277437,-.174814,.49762,.150849,.296662,-.186713,.51162,.169924,.31795,-.198513,.525435,.190848,.339422,-.210119,.536267,.213504,.362143,-.221354,.545982,.237947,.387198,-.23224,.555364,.264427,.412349,-.24257,.561489,.292519,.439274,-.252284,.566903,.322561,.466779,-.261023,.569614,.353952,.496011,-.26899,.571589,.387278,.524964,-.275498,.570325,.421356,.556518,-.281449,.568792,.457314,.584363,-.285526,.560268,.493199,.614214,-.28844,.55205,.530276,.645684,-.289777,.541906,.56855,.673446,-.289722,.526464,.606927,.701924,-.287792,.509872,.645945,.73037,-.284315,.490649,.685564,.757405,-.278804,.467964,.726511,.784025,-.269543,.441468,.768601,.808255,-.258117,.41216,.811321,.830739,-.244728,.380606,.853496,.851914,-.229428,.348111,.895374,.872586,-.212508,.314732,.937674,.891581,-.194025,.280338,.979869,.907641,-.174711,.245203,1.02253,.922233,-.153509,.21077,1.06371,.935878,-.130418,.177399,1.09972,.946338,-.105558,.144507,1.13124,.957265,-.080059,.110508,1.15973,.971668,-.0539766,.0742311,1.18515,.9866,-.0277101,.0375224,1.20858,1.00021,-515531e-9,135226e-9,1.23135,.137468,-686011e-11,.345041,273315e-11,.13703,-173378e-9,.343936,690761e-10,.136986,-693048e-9,.34383,276126e-9,.136964,-.00155931,.343761,621337e-9,.137003,-.00277211,.343863,.00110494,.137012,-.00433103,.343868,.00172744,.137043,-.00623606,.343916,.00249022,.13709,-.0084868,.343986,.00339559,.137145,-.0110814,.344045,.00444687,.137242,-.0140187,.344177,.00565007,.137431,-.0172713,.344491,.00701868,.137644,-.0208605,.344805,.00856042,.13791,-.024792,.345172,.0102863,.138295,-.0290461,.345734,.0122185,.138764,-.0335957,.346371,.0143771,.139415,-.038467,.347298,.0167894,.140272,-.0436176,.348527,.0194895,.141457,-.0491016,.350276,.0225043,.14303,-.0548764,.352646,.0258962,.145289,-.0610096,.356206,.0297168,.148502,-.0674777,.361488,.0340562,.152188,-.074345,.367103,.0389534,.157359,-.0817442,.375247,.0445541,.16379,-.0896334,.385064,.0509535,.171376,-.098005,.396082,.0582611,.179901,-.106817,.407418,.06654,.189892,-.116239,.420031,.075994,.201838,-.12627,.434321,.0867239,.214311,-.136701,.447631,.0987517,.228902,-.147616,.462046,.112353,.245107,-.158871,.476942,.127605,.262292,-.170261,.490285,.144469,.281215,-.182017,.503783,.163282,.301058,-.193729,.515505,.183873,.322752,-.205512,.52682,.206466,.347547,-.217214,.539473,.231194,.370969,-.227966,.546625,.257288,.397533,-.238555,.55472,.285789,.42398,-.248278,.559468,.315746,.452928,-.257422,.564095,.347724,.482121,-.265306,.565426,.380922,.510438,-.272043,.563205,.415639,.541188,-.277614,.561087,.451702,.571667,-.281927,.554922,.48845,.602432,-.285015,.546838,.526442,.634126,-.286512,.537415,.564896,.662816,-.286388,.522906,.604037,.692411,-.284734,.507003,.643795,.720946,-.281297,.488398,.68298,.748293,-.276262,.466353,.723466,.776931,-.269978,.443573,.764565,.801065,-.260305,.415279,.805838,.825843,-.247426,.384773,.849985,.84807,-.232437,.352555,.893174,.869122,-.215806,.318642,.936564,.888963,-.197307,.28381,.980253,.905547,-.177203,.247888,1.02463,.918554,-.155542,.212904,1.06714,.931395,-.131948,.1787,1.10451,.941749,-.106723,.145902,1.13694,.954551,-.0804939,.111193,1.1666,.970279,-.0534239,.0744697,1.19249,.986117,-.0257452,.0368788,1.21665,.999938,.00190634,-.0010291,1.23981,.118493,-647439e-11,.32272,23772e-10,.118765,-163023e-9,.323456,598573e-10,.118772,-65212e-8,.323477,239447e-9,.118843,-.00146741,.323657,538881e-9,.118804,-.00260846,.323553,95826e-8,.118826,-.00407576,.323595,.00149845,.118846,-.00586826,.323617,.00216047,.118886,-.00798578,.32367,.00294679,.118947,-.0104273,.323753,.00386124,.119055,-.0131909,.323922,.00490999,.119241,-.0162444,.324251,.00610804,.11944,-.0196339,.324544,.00745805,.119739,-.0233378,.325026,.00897805,.12011,-.0273179,.325586,.0106895,.120571,-.0316143,.326231,.0126073,.12124,-.0361939,.327264,.0147654,.122162,-.0410511,.328733,.0172001,.123378,-.0462233,.330659,.0199375,.125183,-.0517109,.333754,.0230498,.127832,-.0575652,.338507,.026597,.130909,-.0637441,.343666,.0306345,.135221,-.0704302,.351063,.035273,.14082,-.0776364,.360604,.0406137,.146781,-.0852293,.369638,.0466788,.155121,-.0935351,.3827,.0537628,.16398,-.102234,.39522,.0617985,.173926,-.111465,.40793,.07097,.185137,-.121296,.42105,.0813426,.19826,-.13169,.435735,.0931596,.212938,-.142614,.450932,.106547,.229046,-.153884,.465726,.121575,.246246,-.165382,.479461,.138286,.264637,-.176806,.492106,.15666,.284959,-.188793,.504774,.17728,.308157,-.200763,.518805,.19988,.330951,-.21239,.528231,.224293,.3549,-.223521,.536376,.250541,.381502,-.234169,.544846,.278902,.409529,-.244077,.551717,.309227,.437523,-.253363,.55517,.341426,.467624,-.261659,.557772,.37518,.497268,-.268498,.556442,.41007,.528294,-.274018,.553915,.446445,.559053,-.278169,.549153,.483779,.589329,-.281229,.539878,.522249,.622503,-.282902,.53162,.561754,.652382,-.282815,.518119,.601544,.681847,-.281247,.502187,.641574,.712285,-.277986,.484824,.682633,.740094,-.273017,.463483,.723426,.768478,-.266692,.441299,.763747,.794556,-.258358,.415238,.805565,.819408,-.248807,.386912,.847254,.843411,-.236214,.356165,.891091,.862397,-.219794,.320562,.936174,.883113,-.201768,.285322,.982562,.90023,-.181672,.249713,1.02862,.915192,-.159279,.214546,1.07163,.928458,-.134725,.180285,1.10995,.94069,-.10913,.147119,1.14354,.953409,-.0821315,.112492,1.17372,.969537,-.0542677,.0752014,1.20043,.985612,-.0259096,.0370361,1.22528,.999835,.00298198,-.00151801,1.24959,.10097,-602574e-11,.300277,202619e-11,.101577,-152164e-9,.302077,511662e-10,.101572,-608889e-9,.302066,204751e-9,.101566,-.00136997,.302047,460753e-9,.101592,-.00243557,.302114,819497e-9,.101608,-.0038053,.30214,.00128154,.101627,-.00547906,.30216,.0018483,.101669,-.00745647,.302224,.00252223,.101732,-.00973615,.302318,.00330716,.101844,-.0123097,.302513,.00421061,.102025,-.0151681,.30285,.00524481,.102224,-.0183334,.303166,.0064154,.102515,-.0217819,.303654,.00774063,.102886,-.0255067,.304243,.0092398,.103395,-.029514,.305089,.0109339,.104109,-.0337912,.306301,.0128561,.105074,-.0383565,.30798,.0150338,.10654,-.0432132,.310726,.0175228,.108478,-.0484244,.314351,.0203648,.111015,-.0539339,.319032,.0236325,.114682,-.0598885,.32605,.0274188,.11911,-.0663375,.334109,.0317905,.124736,-.0733011,.344013,.0368502,.131479,-.0807744,.355358,.0427104,.139283,-.0888204,.367614,.0494788,.148054,-.0973394,.380072,.0572367,.159037,-.10665,.395678,.0662704,.169794,-.116221,.40795,.0763192,.18314,-.126632,.423546,.087956,.197515,-.137383,.438213,.101042,.213514,-.148641,.453248,.115827,.23065,-.160117,.46688,.132283,.249148,-.171807,.479962,.150644,.270219,-.183695,.494618,.171073,.292338,-.195574,.506937,.193378,.314999,-.207205,.516463,.217585,.340991,-.218955,.528123,.24428,.367982,-.229917,.537025,.272784,.39432,-.239737,.541627,.302742,.423364,-.249048,.546466,.335112,.453751,-.257329,.549466,.369032,.48416,-.264623,.549503,.404577,.515262,-.270411,.547008,.441337,.547036,-.274581,.542249,.479162,.576614,-.277266,.533015,.517904,.611143,-.279144,.525512,.558508,.640989,-.279001,.51154,.598995,.671182,-.277324,.495641,.639935,.700848,-.273908,.477526,.681017,.729862,-.269063,.457955,.722764,.758273,-.262282,.434846,.764349,.784121,-.254281,.409203,.806206,.809798,-.24505,.382694,.848617,.834953,-.233861,.354034,.892445,.856817,-.221308,.321764,.936263,.877609,-.205996,.288118,.982401,.897489,-.186702,.253277,1.02975,.913792,-.164618,.217963,1.07488,.92785,-.140023,.183221,1.11487,.940378,-.11328,.149385,1.14947,.95273,-.0853958,.114152,1.1807,.969059,-.0568698,.0769845,1.20912,.985574,-.0276502,.0381186,1.23498,.999943,.00239052,-.00126861,1.25987,.0852715,-560067e-11,.279021,171162e-11,.0854143,-140871e-9,.279483,430516e-10,.0854191,-563385e-9,.2795,172184e-9,.0854188,-.00126753,.279493,387464e-9,.0854229,-.00225337,.279501,68918e-8,.0854443,-.00352086,.279549,.00107803,.0854697,-.00506962,.279591,.00155536,.0855093,-.00689873,.279652,.00212354,.0855724,-.00900821,.279752,.00278703,.0856991,-.0113799,.280011,.0035551,.085855,-.0140314,.280297,.00443449,.0860682,-.016963,.280682,.00543636,.086344,-.0201438,.281159,.0065788,.0867426,-.0235999,.281886,.00787977,.087239,-.0273069,.282745,.0093606,.0879815,-.031269,.284139,.011056,.0891258,-.035531,.28647,.0130065,.0906909,-.0400947,.289708,.0152495,.0927624,-.0449638,.293904,.0178454,.0958376,-.0502427,.300471,.0208915,.0995827,-.0559514,.30806,.0244247,.104526,-.0622152,.317874,.0285721,.110532,-.0690046,.329332,.0334227,.117385,-.0763068,.341217,.0390466,.12522,-.084184,.353968,.0455786,.134037,-.0925248,.366797,.0530773,.144014,-.101487,.380209,.0617424,.156013,-.111273,.395956,.071777,.168872,-.121431,.41053,.0830905,.183089,-.132105,.425073,.0959341,.198763,-.143286,.439833,.110448,.216159,-.154841,.454507,.126769,.234859,-.166588,.468368,.14495,.255879,-.178626,.482846,.165233,.27677,-.190218,.493489,.187217,.301184,-.202227,.506549,.211659,.325852,-.213764,.5158,.237922,.352824,-.22487,.525442,.26632,.380882,-.235246,.532487,.296691,.410137,-.244847,.537703,.329179,.439787,-.253122,.540361,.363135,.472291,-.260517,.542734,.399222,.501856,-.266519,.538826,.436352,.534816,-.270905,.535152,.474505,.565069,-.273826,.525979,.513988,.597154,-.275333,.516394,.554852,.630473,-.275314,.506206,.596592,.660574,-.273323,.489769,.638117,.692015,-.270008,.472578,.680457,.720647,-.265001,.452134,.723008,.750528,-.258311,.430344,.765954,.777568,-.250046,.405624,.809012,.80387,-.240114,.378339,.852425,.828439,-.228737,.349877,.895346,.851472,-.216632,.318968,.940695,.873906,-.202782,.287489,.987235,.89467,-.187059,.254394,1.03348,.912281,-.168818,.221294,1.07812,.927358,-.146494,.18675,1.11928,.940385,-.120009,.152322,1.15609,.952672,-.0917183,.117514,1.18875,.968496,-.0620321,.0797405,1.21821,.985236,-.0314945,.0402383,1.24523,.99998,-575153e-9,110644e-9,1.27133,.0702429,-512222e-11,.255273,140947e-11,.0702981,-128826e-9,.255469,354488e-10,.0703691,-515562e-9,.255727,141874e-9,.0703805,-.00116,.255754,31929e-8,.0703961,-.00206224,.255813,567999e-9,.0704102,-.00322223,.255839,88871e-8,.0704298,-.00463928,.255863,.00128272,.0704759,-.00631375,.255953,.00175283,.0705434,-.00824317,.256079,.00230342,.0706693,-.010412,.25636,.0029443,.0708189,-.0128439,.256647,.00368031,.0710364,-.0155177,.257084,.00452614,.0713223,-.0184374,.257637,.00549706,.0717182,-.0216002,.258416,.00661246,.072321,-.0249966,.259699,.00790147,.0731446,-.0286566,.261475,.0093884,.0743352,-.0325888,.264132,.0111186,.0760676,-.036843,.26815,.013145,.078454,-.0414292,.273636,.0155251,.0818618,-.0464634,.281653,.0183525,.0857382,-.0519478,.289992,.0216642,.0908131,-.0579836,.30066,.0255956,.0967512,-.0645124,.312204,.0301954,.103717,-.0716505,.325001,.0356017,.111596,-.0793232,.338129,.041896,.120933,-.087645,.352853,.0492447,.130787,-.096492,.366192,.0576749,.142311,-.105973,.380864,.0673969,.155344,-.116182,.396575,.0785899,.169535,-.126815,.411443,.0912377,.185173,-.138015,.426256,.105607,.201755,-.149325,.439607,.121551,.221334,-.161207,.455467,.139608,.241461,-.173162,.469096,.159591,.26294,-.18504,.481014,.18156,.286776,-.196881,.493291,.205781,.311596,-.208311,.503556,.231819,.338667,-.219671,.513268,.260274,.366021,-.230451,.519414,.290862,.395875,-.240131,.526766,.323196,.425564,-.248566,.52905,.357071,.457094,-.256195,.530796,.393262,.488286,-.262331,.528703,.430797,.522291,-.267141,.52727,.470231,.554172,-.270411,.519848,.510477,.586427,-.271986,.510307,.551594,.619638,-.27192,.499158,.593849,.650656,-.269817,.483852,.636314,.68284,-.266267,.467515,.679679,.714356,-.26113,.44931,.723884,.742717,-.254067,.425789,.767245,.770894,-.245652,.401144,.811819,.797358,-.235554,.374224,.856315,.823377,-.223896,.346167,.901077,.847456,-.210865,.316056,.946502,.870697,-.196574,.284503,.993711,.891068,-.180814,.251628,1.04134,.909267,-.163314,.219065,1.08609,.925653,-.143304,.186446,1.12702,.940017,-.121322,.153416,1.16371,.952398,-.0973872,.120334,1.19712,.967568,-.0698785,.08352,1.22791,.984772,-.0390031,.0439209,1.25672,1.00026,-.0070087,.00315668,1.28428,.0556653,-459654e-11,.227325,112556e-11,.0565238,-116382e-9,.230826,284985e-10,.0565717,-465666e-9,.231026,114036e-9,.0565859,-.00104773,.231079,256656e-9,.0565761,-.00186255,.231025,45663e-8,.0565913,-.00291002,.231058,714664e-9,.0566108,-.00418998,.231085,.00103224,.0566532,-.00570206,.231169,.00141202,.0567473,-.00743666,.231417,.00186018,.0568567,-.00940298,.231661,.00238264,.0569859,-.0115991,.231895,.00298699,.0572221,-.0140096,.232456,.00368957,.057519,-.0166508,.233096,.00450303,.0579534,-.01951,.234094,.00544945,.0585922,-.0225991,.235629,.00655564,.0595647,-.0259416,.238106,.00785724,.0609109,-.0295661,.241557,.00939127,.0628751,-.0335126,.246652,.0112198,.0656908,-.0378604,.254091,.0134168,.0691347,-.0426543,.262666,.0160374,.0732165,-.0478967,.272029,.0191514,.0782863,-.0536716,.283007,.0228597,.0843973,-.0600683,.295732,.0272829,.0913598,-.0670095,.308779,.032484,.0994407,-.0745516,.322886,.0385886,.108189,-.082712,.336408,.0457133,.118574,-.0914927,.351692,.0539832,.129989,-.100854,.366502,.0635162,.142722,-.110837,.381675,.0744386,.156654,-.121353,.3963,.0868483,.172151,-.132414,.411477,.100963,.188712,-.143809,.42508,.116795,.208093,-.155765,.441328,.134715,.227936,-.167608,.454328,.154396,.249495,-.179579,.467235,.176179,.27362,-.191488,.480248,.200193,.296371,-.202618,.487886,.225775,.324234,-.214133,.499632,.25441,.353049,-.225212,.509532,.285077,.381785,-.234875,.514265,.317047,.414038,-.244205,.521282,.351874,.445251,-.252145,.522931,.388279,.476819,-.258433,.520947,.425825,.509209,-.263411,.517669,.465104,.542759,-.266732,.512841,.505741,.574822,-.268263,.503317,.547611,.609324,-.268489,.493035,.590953,.641772,-.266941,.478816,.63488,.674049,-.263297,.462863,.679072,.705071,-.257618,.442931,.723487,.734709,-.250625,.421299,.768708,.763704,-.24179,.397085,.814375,.791818,-.231115,.370577,.859907,.817439,-.21922,.34232,.906715,.843202,-.205658,.312627,.953943,.866639,-.190563,.280933,1.00185,.888129,-.173978,.248393,1.05105,.907239,-.155485,.216007,1.09704,.923893,-.134782,.183233,1.13857,.938882,-.11249,.150376,1.17539,.952464,-.0890706,.117177,1.20924,.968529,-.0646523,.0813095,1.24055,.984763,-.038606,.0439378,1.27018,1.00053,-.01238,.00598668,1.29873,.0437928,-409594e-11,.204012,8.79224e-7,.0440166,-103395e-9,.205049,221946e-10,.0440529,-413633e-9,.205225,887981e-10,.0440493,-930594e-9,.2052,199858e-9,.0439884,-.00165352,.204901,355495e-9,.0440716,-.0025849,.205255,556983e-9,.0440968,-.00372222,.205311,805326e-9,.0441359,-.00506478,.205391,.00110333,.0442231,-.00660384,.205638,.00145768,.0443254,-.00835246,.205877,.00187275,.0444832,-.0102992,.20627,.00235938,.0447001,-.0124449,.206796,.0029299,.0450168,-.0147935,.207593,.0036005,.0454816,-.017336,.208819,.00439246,.0462446,-.0201156,.211036,.00533864,.0473694,-.0231568,.214388,.00646984,.0490191,-.0264941,.219357,.00783856,.0512776,-.030184,.226061,.00950182,.0541279,-.0342661,.234094,.0115156,.0578989,-.0388539,.244297,.0139687,.0620835,-.0438735,.254457,.0169015,.0673497,-.04951,.266706,.0204554,.0731759,-.0556263,.278753,.0246606,.0803937,-.0624585,.29309,.0297126,.0879287,-.0697556,.305856,.0355868,.0970669,-.0778795,.321059,.0425768,.106508,-.0863541,.333873,.05056,.11776,-.0955935,.349008,.0598972,.130081,-.105438,.363776,.0706314,.144454,-.115899,.380112,.0828822,.1596,-.126827,.394843,.0967611,.176097,-.138161,.409033,.112381,.194726,-.149904,.424257,.129952,.213944,-.161675,.436945,.149333,.235516,-.173659,.450176,.170892,.260564,-.185963,.466305,.194984,.285183,-.197582,.477328,.220805,.311095,-.208697,.486566,.248694,.338924,-.219519,.494811,.279015,.369757,-.229766,.504065,.311725,.3996,-.238879,.507909,.345844,.430484,-.246802,.509805,.381749,.46413,-.253924,.511436,.420251,.497077,-.259319,.508787,.459957,.530434,-.263297,.50394,.501356,.565725,-.265619,.49804,.544252,.599254,-.265842,.487346,.587856,.631251,-.263978,.472975,.631969,.663972,-.26043,.457135,.677471,.697724,-.255358,.439844,.723744,.727725,-.248308,.417872,.770653,.756417,-.239181,.39273,.817357,.785419,-.22814,.367839,.864221,.81266,-.215681,.339449,.912701,.839391,-.201623,.309279,.962419,.86366,-.185624,.278029,1.0122,.885028,-.16797,.245294,1.06186,.904639,-.148336,.212689,1.10934,.922048,-.12637,.179616,1.15063,.936952,-.102928,.146749,1.18885,.951895,-.0785268,.112733,1.22352,.967198,-.0530153,.0760056,1.25681,.984405,-.02649,.0383183,1.28762,1.00021,70019e-8,-20039e-8,1.31656,.0325964,-355447e-11,.176706,6.55682e-7,.0329333,-899174e-10,.178527,165869e-10,.0329181,-359637e-9,.178453,663498e-10,.0329085,-808991e-9,.178383,149332e-9,.0329181,-.00143826,.178394,265873e-9,.0329425,-.00224678,.178517,416597e-9,.0329511,-.00323575,.17849,603299e-9,.033011,-.00439875,.178695,829422e-9,.0330733,-.00574059,.178843,.00109908,.0331857,-.00725896,.179176,.00141933,.0333445,-.00895289,.179618,.0017999,.0335674,-.0108219,.180238,.00225316,.033939,-.0128687,.181417,.00279765,.0345239,-.015114,.183395,.0034564,.0354458,-.017596,.186616,.00425864,.0368313,-.0203524,.191547,.00524936,.0386115,-.0234105,.197508,.00647033,.0410303,-.0268509,.205395,.00798121,.0442245,-.0307481,.215365,.0098557,.0478659,-.0350863,.225595,.0121417,.0522416,-.0399506,.236946,.0149385,.0574513,-.045357,.249442,.0183189,.0631208,-.0512863,.261222,.0223644,.0701124,-.0579273,.275418,.0272418,.0777331,-.0650652,.288989,.0329458,.0862709,-.0728813,.302546,.0396819,.096103,-.081363,.317164,.04757,.106976,-.0904463,.331733,.0567012,.119175,-.100105,.34661,.067202,.132919,-.110375,.362249,.0792588,.147727,-.121115,.376978,.0928672,.163618,-.132299,.390681,.108228,.182234,-.143887,.406571,.125502,.201809,-.155827,.42042,.144836,.225041,-.168357,.438411,.166706,.247621,-.18004,.450368,.189909,.27097,-.191536,.460083,.215251,.296658,-.203024,.469765,.243164,.325892,-.214056,.481837,.273388,.35406,-.224104,.487474,.305344,.384372,-.233489,.492773,.339741,.41749,-.241874,.498451,.376287,.45013,-.248834,.499632,.414195,.481285,-.254658,.495233,.454077,.519183,-.259367,.496401,.496352,.551544,-.261818,.487686,.538798,.587349,-.262964,.479453,.583626,.621679,-.262128,.467709,.629451,.654991,-.258998,.452123,.67566,.686873,-.254119,.433495,.723248,.719801,-.246946,.413657,.771156,.750355,-.237709,.390366,.81989,.780033,-.226549,.364947,.868601,.809254,-.214186,.337256,.920034,.836576,-.199639,.307395,.971706,.861774,-.183169,.275431,1.02479,.885707,-.165111,.243431,1.07837,.904742,-.144363,.210921,1.12783,.915604,-.121305,.17647,1.17254,.930959,-.0962119,.143106,1.21012,.948404,-.069969,.108112,1.24474,.967012,-.0427586,.0708478,1.27718,.984183,-.0147043,.032335,1.3083,.999577,.0142165,-.00726867,1.3382,.0229227,-299799e-11,.148623,4.62391e-7,.0232194,-758796e-10,.15054,117033e-10,.0232315,-303636e-9,.15063,468397e-10,.0232354,-683189e-9,.150624,105472e-9,.0232092,-.0012136,.150445,187744e-9,.0232523,-.00189765,.150679,294847e-9,.0232828,-.00273247,.150789,428013e-9,.0233371,-.00371287,.150995,591134e-9,.0234015,-.00484794,.15118,787642e-9,.023514,-.00612877,.151562,.00102547,.023679,-.00756125,.152116,.00131351,.0239559,-.00914651,.153162,.00166594,.0244334,-.010904,.155133,.00210182,.025139,-.0128615,.158035,.00264406,.0262598,-.0150628,.162751,.00332923,.0277875,-.0175532,.168944,.00419773,.0298472,-.0203981,.176835,.00530034,.0325444,-.023655,.186686,.00669777,.0355581,-.0272982,.196248,.00842661,.0392841,-.0314457,.207352,.0105854,.0436815,-.0361157,.219279,.0132458,.0485272,-.0412932,.230728,.0164736,.0541574,-.0470337,.242994,.0203715,.0609479,-.0535002,.257042,.0250953,.0685228,-.0605409,.27102,.0306856,.0768042,-.0680553,.28406,.037193,.0864844,-.0765011,.299186,.0449795,.0969415,-.0852674,.3132,.0538316,.108478,-.0947333,.327138,.0641149,.121705,-.10481,.342345,.0759185,.136743,-.115474,.358472,.0894116,.152986,-.126536,.374067,.104562,.170397,-.138061,.388267,.121632,.191392,-.150203,.406467,.140996,.211566,-.161751,.418641,.161696,.233567,-.173407,.430418,.184557,.257769,-.185397,.44277,.210092,.28531,-.197048,.457191,.237827,.311726,-.20784,.464712,.267253,.340537,-.218345,.472539,.299332,.372921,-.228306,.482331,.333988,.402924,-.236665,.484378,.369722,.434475,-.244097,.484717,.407836,.469736,-.250547,.487093,.448465,.505045,-.25511,.485575,.490263,.540262,-.258444,.481225,.534495,.576347,-.259903,.473481,.579451,.608656,-.259572,.4603,.625604,.646679,-.257908,.450341,.674511,.679902,-.253663,.431561,.723269,.714159,-.247419,.412684,.773263,.745345,-.239122,.389388,.824182,.778248,-.228837,.365361,.876634,.807208,-.216197,.337667,.92945,.835019,-.201772,.307197,.985261,.860261,-.185291,.274205,1.04299,.877601,-.165809,.240178,1.09816,.898211,-.143897,.207571,1.14694,.915789,-.119513,.174904,1.19008,.931831,-.0932919,.141423,1.2297,.949244,-.0656528,.105603,1.26553,.967527,-.0370262,.0679551,1.29986,.984139,-.00730117,.0283133,1.33252,.999713,.0234648,-.0121785,1.36397,.0152135,-245447e-11,.122795,3.04092e-7,.0151652,-615778e-10,.122399,76292e-10,.0151181,-245948e-9,.122023,304802e-10,.0151203,-553394e-9,.12203,686634e-10,.015125,-983841e-9,.122037,122463e-9,.0151427,-.00153774,.12214,192706e-9,.0151708,-.0022103,.122237,281219e-9,.0152115,-.00300741,.12238,390804e-9,.0152877,-.00392494,.1227,526317e-9,.015412,-.00496597,.123244,69443e-8,.0156201,-.00613314,.124228,90547e-8,.0159658,-.00744113,.125945,.0011732,.0165674,-.00892546,.129098,.00151888,.017487,-.010627,.133865,.00197007,.018839,-.0126043,.140682,.0025637,.020554,-.0148814,.148534,.00333637,.0226727,-.0175123,.157381,.00433738,.0251879,-.0205266,.166685,.00561664,.0283635,-.0240319,.177796,.00725563,.0318694,-.0279432,.188251,.00928811,.0361044,-.0324313,.200038,.011835,.0406656,-.0373527,.210685,.0149146,.0463846,-.0430132,.224182,.0187254,.0525696,-.0491013,.23634,.0232283,.0598083,-.0559175,.250013,.0286521,.0679437,-.0633657,.263981,.0350634,.0771181,-.0714602,.278072,.0425882,.0881273,-.0803502,.29511,.0514487,.0996628,-.0896903,.309976,.0615766,.112702,-.099644,.325611,.0732139,.126488,-.109829,.339321,.0862324,.142625,-.120859,.35574,.101275,.15953,-.131956,.369845,.117892,.176991,-.143145,.38146,.136205,.199715,-.155292,.40052,.157252,.220787,-.167066,.412055,.179966,.243697,-.178396,.423133,.204418,.272106,-.190433,.439524,.232141,.297637,-.201265,.447041,.261109,.325273,-.211834,.454488,.292627,.357219,-.221889,.465004,.326669,.387362,-.230729,.468527,.362426,.423131,-.23924,.475836,.401533,.45543,-.246067,.475017,.441902,.493393,-.251557,.478017,.484239,.526253,-.255571,.4709,.528586,.560554,-.257752,.463167,.574346,.599306,-.258076,.456452,.621655,.634541,-.256471,.443725,.670492,.668907,-.253283,.428719,.721943,.705619,-.247562,.411348,.772477,.739034,-.240626,.388939,.8264,.771408,-.231493,.36425,.881702,.803312,-.220125,.337321,.9385,.828457,-.206645,.305364,.997437,.854819,-.190664,.273715,1.05693,.878666,-.171429,.242218,1.11251,.898404,-.149235,.209556,1.16398,.917416,-.12435,.176863,1.21014,.933133,-.0972703,.142775,1.25178,.95066,-.0683607,.106735,1.29028,.968589,-.0378724,.0681609,1.32703,.984776,-.00605712,.0273966,1.36158,.99994,.0263276,-.0138124,1.3943,.00867437,-186005e-11,.0928979,1.73682e-7,.00864003,-466389e-10,.0925237,435505e-11,.00864593,-186594e-9,.0925806,174322e-10,.00864095,-419639e-9,.0924903,392862e-10,.00863851,-746272e-9,.0924589,702598e-10,.00868531,-.00116456,.0929,111188e-9,.00869667,-.00167711,.0928529,163867e-9,.00874332,-.00228051,.0930914,23104e-8,.00882709,-.00297864,.0935679,31741e-8,.00898874,-.00377557,.0946165,430186e-9,.00929346,-.00469247,.0967406,580383e-9,.00978271,-.00575491,.100084,783529e-9,.0105746,-.00701514,.105447,.00106304,.0116949,-.00851797,.112494,.00144685,.0130419,-.0102757,.119876,.00196439,.0148375,-.012381,.129034,.00266433,.0168725,-.01482,.137812,.00358364,.0193689,-.0176563,.147696,.00478132,.0222691,-.0209211,.157795,.00631721,.0256891,-.0246655,.168431,.00826346,.0294686,-.0288597,.178587,.0106714,.0340412,-.0336441,.190251,.0136629,.0393918,-.039033,.202999,.0173272,.0453947,-.0450087,.215655,.0217448,.0521936,-.0515461,.228686,.0269941,.0600279,-.058817,.242838,.033272,.0692398,-.0667228,.258145,.0406457,.0793832,-.0752401,.273565,.0492239,.0902297,-.0841851,.287735,.0590105,.102014,-.0936479,.301161,.0702021,.116054,-.103967,.317438,.0832001,.13191,-.114622,.334166,.0977951,.148239,-.125452,.348192,.113985,.165809,-.136453,.361094,.131928,.184616,-.147648,.373534,.151811,.207491,-.159607,.39101,.174476,.230106,-.171119,.402504,.198798,.257036,-.182906,.418032,.225796,.281172,-.193605,.425468,.254027,.312034,-.204771,.440379,.285713,.340402,-.214988,.445406,.319196,.370231,-.224711,.44968,.35537,.407105,-.233516,.460747,.393838,.439037,-.240801,.460624,.433747,.47781,-.24762,.465957,.477234,.510655,-.251823,.460054,.52044,.550584,-.255552,.459172,.567853,.585872,-.257036,.450311,.615943,.620466,-.257535,.437763,.667693,.660496,-.255248,.426639,.718988,.695578,-.251141,.409185,.772503,.732176,-.244718,.39015,.827023,.760782,-.236782,.362594,.885651,.79422,-.225923,.33711,.943756,.824521,-.213855,.308272,1.00874,.854964,-.197723,.278529,1.06764,.878065,-.179209,.246208,1.12836,.899834,-.157569,.21329,1.18318,.918815,-.133206,.181038,1.23161,.934934,-.106545,.146993,1.27644,.952115,-.0780574,.111175,1.31842,.96906,-.0478279,.0728553,1.35839,.985178,-.0160014,.032579,1.39697,1.00039,.0173126,-.0095256,1.43312,.00384146,-124311e-11,.0613583,7.78271e-8,.00390023,-314043e-10,.0622919,196626e-11,.00389971,-125622e-9,.0622632,787379e-11,.00389491,-282352e-9,.0620659,1778e-8,.00391618,-502512e-9,.0624687,320918e-10,.00392662,-784458e-9,.0625113,515573e-10,.00396053,-.00112907,.0628175,778668e-10,.00401911,-.00153821,.0633286,113811e-9,.00414994,-.0020208,.0646443,16445e-8,.00441223,-.00260007,.0673886,237734e-9,.00484427,-.0033097,.0716528,345929e-9,.00549109,-.00418966,.0774998,505987e-9,.00636293,-.00527331,.0844758,739208e-9,.00746566,-.00660428,.0921325,.00107347,.00876625,-.00818826,.0997067,.00153691,.0103125,-.0100811,.107433,.00217153,.0123309,-.0123643,.117088,.00303427,.0146274,-.0150007,.126438,.00416018,.0172295,-.0180531,.135672,.00561513,.0204248,-.0215962,.146244,.007478,.0241597,-.0256234,.157481,.00981046,.0284693,-.0302209,.169125,.0127148,.033445,-.0353333,.181659,.0162453,.0391251,-.0410845,.1944,.0205417,.0454721,-.0473451,.207082,.0256333,.0530983,-.0542858,.221656,.0317036,.0615356,-.0618384,.236036,.0388319,.0703363,-.0697631,.248398,.046974,.0810391,-.0784757,.263611,.0565246,.0920144,-.0873488,.275857,.0671724,.105584,-.0973652,.292555,.0798105,.119506,-.107271,.306333,.0935945,.134434,-.117608,.318888,.109106,.153399,-.128938,.337552,.127074,.171258,-.139944,.349955,.14643,.191059,-.151288,.361545,.168,.215069,-.163018,.378421,.192082,.237838,-.174226,.38879,.217838,.266965,-.186063,.405857,.246931,.292827,-.196909,.414146,.277505,.324352,-.207473,.426955,.310711,.354427,-.217713,.433429,.346794,.389854,-.227183,.443966,.385237,.420749,-.235131,.44471,.424955,.459597,-.242786,.451729,.468446,.495316,-.248767,.45072,.513422,.534903,-.253351,.450924,.560618,.572369,-.256277,.445266,.609677,.612383,-.2576,.438798,.660995,.644037,-.256931,.421693,.713807,.686749,-.254036,.4109,.767616,.719814,-.249785,.390151,.82533,.754719,-.244283,.367847,.888311,.792022,-.235076,.345013,.948177,.822404,-.225061,.316193,1.01661,.853084,-.211113,.287013,1.08075,.879871,-.19449,.255424,1.14501,.901655,-.174023,.222879,1.20203,.919957,-.1509,.18989,1.25698,.938412,-.124923,.15606,1.30588,.953471,-.0968139,.120512,1.3529,.970451,-.066734,.0828515,1.3986,.985522,-.034734,.0424458,1.44148,1.00099,-.00102222,678929e-9,1.48398,965494e-9,-6.27338e-7,.0306409,1.97672e-8,99168e-8,-158573e-10,.0314638,4.99803e-7,991068e-9,-634012e-10,.031363,200682e-11,974567e-9,-14144e-8,.03036,457312e-11,998079e-9,-252812e-9,.031496,860131e-11,.00102243,-396506e-9,.0319955,148288e-10,.00107877,-577593e-9,.0331376,249141e-10,.00121622,-816816e-9,.0359396,423011e-10,.0014455,-.00113761,.0399652,724613e-10,.00178791,-.00156959,.0450556,123929e-9,.00225668,-.00214064,.0508025,208531e-9,.00285627,-.00287655,.0568443,341969e-9,.0035991,-.00380271,.0630892,544158e-9,.00455524,-.00496264,.0702204,842423e-9,.00569143,-.0063793,.0773426,.00126704,.00716928,-.00813531,.0860839,.00186642,.00885307,-.0101946,.0944079,.00267014,.0109316,-.0126386,.103951,.00374033,.0133704,-.0154876,.113786,.0051304,.0161525,-.0187317,.123477,.00688858,.0194267,-.0224652,.133986,.00910557,.0230967,-.0265976,.143979,.0118074,.0273627,-.0312848,.154645,.0151266,.0323898,-.0365949,.166765,.0191791,.0379225,-.0422914,.177932,.0239236,.0447501,-.0487469,.19167,.0296568,.0519391,-.0556398,.203224,.0362924,.0599464,-.0631646,.215652,.0440585,.0702427,-.0714308,.232089,.0531619,.0806902,-.0800605,.245258,.0634564,.0923194,-.0892815,.258609,.0752481,.106938,-.09931,.276654,.0888914,.121238,-.109575,.289847,.104055,.138817,-.120461,.307566,.121266,.15595,-.131209,.320117,.139944,.178418,-.143049,.339677,.161591,.197875,-.154074,.349886,.184303,.224368,-.166307,.369352,.210669,.252213,-.178051,.386242,.238895,.277321,-.189335,.395294,.269182,.310332,-.200683,.412148,.302508,.338809,-.210856,.418266,.337264,.372678,-.220655,.428723,.374881,.405632,-.230053,.433887,.415656,.442293,-.237993,.439911,.457982,.477256,-.244897,.440175,.502831,.515592,-.250657,.441079,.550277,.550969,-.255459,.435219,.601102,.592883,-.257696,.432882,.651785,.629092,-.259894,.421054,.708961,.672033,-.258592,.41177,.763806,.709147,-.256525,.395267,.824249,.745367,-.254677,.375013,.8951,.784715,-.247892,.353906,.959317,.818107,-.240162,.327801,1.03153,.847895,-.229741,.298821,1.10601,.879603,-.213084,.269115,1.164,.902605,-.195242,.236606,1.22854,.922788,-.174505,.203442,1.29017,.944831,-.150169,.169594,1.34157,.959656,-.124099,.135909,1.3956,.972399,-.0960626,.0990563,1.45128,.986549,-.0657097,.0602348,1.50312,1.00013,-.0333558,.0186694,1.55364,619747e-11,-1e-7,.00778326,796756e-16,2.37499e-8,-9.99999e-8,282592e-10,1.14596e-10,100292e-11,-166369e-11,250354e-9,6.77492e-9,350752e-11,-637769e-11,357289e-9,6.31655e-8,826445e-11,-174689e-10,516179e-9,3.1851e-7,242481e-10,-450868e-10,.0010223,130577e-11,455631e-10,-89044e-9,.00144302,374587e-11,971222e-10,-178311e-9,.00241912,102584e-10,171403e-9,-313976e-9,.00354938,236481e-10,292747e-9,-520026e-9,.00513765,496014e-10,789827e-9,-.00118187,.0238621,139056e-9,.00114093,-.00171827,.0286691,244093e-9,.00176119,-.00249667,.0368565,420623e-9,.0022233,-.00333742,.0400469,65673e-8,.00343382,-.00481976,.0535751,.00109323,.00427602,-.00600755,.057099,.00155268,.00461435,-.00737637,.0551084,.00215031,.00695698,-.00971401,.0715767,.00316529,.00867619,-.0120943,.0793314,.00436995,.0106694,-.0148202,.0869391,.0058959,.0140351,-.0183501,.101572,.00798757,.0168939,-.022006,.11018,.0104233,.020197,-.0261568,.119041,.0134167,.0254702,-.0312778,.135404,.0173009,.0298384,-.0362469,.1437,.0215428,.035159,-.042237,.15512,.0268882,.0427685,-.0488711,.17128,.033235,.0494848,-.0557997,.181813,.0404443,.0592394,-.0635578,.198745,.0490043,.0681463,-.071838,.210497,.0588239,.0804753,-.0809297,.228864,.0702835,.0942205,-.0906488,.247008,.0834012,.106777,-.100216,.258812,.0975952,.124471,-.110827,.278617,.114162,.138389,-.121193,.287049,.131983,.159543,-.13253,.307151,.152541,.176432,-.143611,.31564,.174673,.201723,-.15548,.33538,.199842,.229721,-.167166,.355256,.227097,.250206,-.178238,.360047,.256014,.282118,-.189905,.378761,.28855,.312821,-.201033,.39181,.323348,.341482,-.211584,.397716,.360564,.377368,-.221314,.410141,.400004,.418229,-.230474,.423485,.442371,.444881,-.239443,.418874,.488796,.488899,-.245987,.427545,.535012,.520317,-.253948,.422147,.589678,.568566,-.256616,.42719,.637683,.599607,-.26376,.415114,.703363,.64222,-.268687,.408715,.771363,.685698,-.2694,.399722,.83574,.732327,-.266642,.388651,.897764,.769873,-.267712,.369198,.983312,.806733,-.263479,.346802,1.06222,.843466,-.254575,.321368,1.13477,.873008,-.242749,.29211,1.20712,.908438,-.22725,.262143,1.27465,.936321,-.207621,.228876,1.33203,.950353,-.187932,.19484,1.40439,.96442,-.165154,.163178,1.4732,.979856,-.139302,.127531,1.53574,.982561,-.11134,.0903457,1.59982,.996389,-.0808124,.0489007,1.6577],t=[1,0,0,0,1,791421e-36,0,0,1,104392e-29,0,0,1,349405e-26,0,0,1,109923e-23,0,0,1,947414e-22,0,0,1,359627e-20,0,0,1,772053e-19,0,0,1,108799e-17,0,0,1,110655e-16,0,0,1,865818e-16,0,0,.999998,5.45037e-10,0,0,.999994,2.85095e-9,0,0,.999989,1.26931e-8,0,0,.999973,4.89938e-8,0,0,.999947,1.66347e-7,0,0,.999894,5.02694e-7,0,0,.999798,136532e-11,0,0,.999617,335898e-11,0,0,.999234,752126e-11,0,0,.998258,152586e-10,0,0,.99504,266207e-10,0,0,.980816,236802e-10,0,0,.967553,207684e-11,0,0,.966877,403733e-11,0,0,.965752,741174e-11,0,0,.96382,127746e-10,0,0,.960306,202792e-10,0,0,.953619,280232e-10,0,0,.941103,278816e-10,0,0,.926619,160221e-10,0,0,.920983,235164e-10,0,0,.912293,311924e-10,0,.0158731,.899277,348118e-10,0,.0476191,.880884,26041e-9,0,.0793651,.870399,338726e-10,0,.111111,.856138,392906e-10,0,.142857,.837436,372874e-10,0,.174603,.820973,392558e-10,0,.206349,.803583,434658e-10,0,.238095,.782168,40256e-9,0,.269841,.764107,448159e-10,0,.301587,.743092,457627e-10,0,.333333,.721626,455314e-10,0,.365079,.700375,477335e-10,0,.396825,.677334,461072e-10,0,.428571,.655702,484393e-10,0,.460317,.632059,464583e-10,0,.492064,.610125,483923e-10,0,.52381,.58653,464342e-10,0,.555556,.564508,477033e-10,0,.587302,.541405,459263e-10,0,.619048,.519556,46412e-9,0,.650794,.497292,448913e-10,0,.68254,.475898,445789e-10,0,.714286,.454722,433496e-10,0,.746032,.434042,423054e-10,0,.777778,.414126,413737e-10,0,.809524,.394387,397265e-10,0,.84127,.375841,390709e-10,0,.873016,.357219,369938e-10,0,.904762,.340084,365618e-10,0,.936508,.322714,342533e-10,0,.968254,.306974,339596e-10,0,1,1,101524e-23,0,0,1,10292e-22,0,0,1,130908e-23,0,0,1,473331e-23,0,0,1,625319e-22,0,0,1,107932e-20,0,0,1,163779e-19,0,0,1,203198e-18,0,0,1,204717e-17,0,0,.999999,168995e-16,0,0,.999998,1.15855e-10,0,0,.999996,6.6947e-10,0,0,.999991,3.30863e-9,0,0,.999983,1.41737e-8,0,0,.999968,5.32626e-8,0,0,.99994,1.77431e-7,0,0,.999891,5.28835e-7,0,0,.999797,142169e-11,0,0,.999617,347057e-11,0,0,.999227,77231e-10,0,0,.998239,155753e-10,0,0,.994937,268495e-10,0,0,.980225,213742e-10,0,0,.967549,21631e-10,0,0,.966865,417989e-11,0,0,.965739,763341e-11,0,0,.963794,130892e-10,0,0,.960244,206456e-10,0,0,.953495,282016e-10,0,148105e-9,.940876,271581e-10,0,.002454,.926569,164159e-10,0,.00867491,.920905,239521e-10,0,.01956,.912169,315127e-10,0,.035433,.899095,346626e-10,0,.056294,.882209,290223e-10,0,.0818191,.870272,342992e-10,0,.111259,.855977,394164e-10,0,.142857,.837431,372343e-10,0,.174603,.820826,396691e-10,0,.206349,.803408,435395e-10,0,.238095,.782838,419579e-10,0,.269841,.763941,450953e-10,0,.301587,.742904,455847e-10,0,.333333,.721463,458833e-10,0,.365079,.700197,477159e-10,0,.396825,.677501,470641e-10,0,.428571,.655527,484732e-10,0,.460317,.6324,476834e-10,0,.492064,.609964,484213e-10,0,.52381,.586839,475541e-10,0,.555556,.564353,476951e-10,0,.587302,.541589,467611e-10,0,.619048,.519413,463493e-10,0,.650794,.497337,453994e-10,0,.68254,.475797,445308e-10,0,.714286,.454659,435787e-10,0,.746032,.434065,424839e-10,0,.777778,.414018,41436e-9,0,.809524,.39455,401902e-10,0,.84127,.375742,390813e-10,0,.873016,.357501,377116e-10,0,.904762,.339996,36535e-9,0,.936508,.323069,351265e-10,0,.968254,.306897,339112e-10,0,1,1,10396e-19,0,0,1,104326e-20,0,0,1,110153e-20,0,0,1,144668e-20,0,0,1,34528e-19,0,0,1,175958e-19,0,0,1,12627e-17,0,0,1,936074e-18,0,0,1,645742e-17,0,0,.999998,401228e-16,0,0,.999997,2.22338e-10,0,0,.999995,1.0967e-9,0,0,.999991,4.82132e-9,0,0,.999981,1.89434e-8,0,0,.999967,6.67716e-8,0,0,.999938,2.12066e-7,0,0,.999886,6.0977e-7,0,0,.999792,159504e-11,0,0,.999608,381191e-11,0,0,.999209,833727e-11,0,0,.998179,165288e-10,0,0,.994605,274387e-10,0,0,.979468,167316e-10,0,0,.967529,242877e-11,0,0,.966836,461696e-11,0,0,.96569,830977e-11,0,0,.963706,140427e-10,0,244659e-11,.960063,217353e-10,0,760774e-9,.953113,286606e-10,0,.00367261,.940192,247691e-10,0,.00940263,.927731,195814e-10,0,.018333,.920669,252531e-10,0,.0306825,.911799,324277e-10,0,.0465556,.89857,340982e-10,0,.0659521,.883283,319622e-10,0,.0887677,.86989,35548e-9,0,.114784,.855483,397143e-10,0,.143618,.837987,391665e-10,0,.174606,.820546,411306e-10,0,.206349,.802878,436753e-10,0,.238095,.783402,444e-7,0,.269841,.763439,458726e-10,0,.301587,.742925,467097e-10,0,.333333,.721633,478887e-10,0,.365079,.69985,481251e-10,0,.396825,.67783,491811e-10,0,.428571,.655126,488199e-10,0,.460318,.632697,496025e-10,0,.492064,.609613,48829e-9,0,.52381,.587098,492754e-10,0,.555556,.564119,482625e-10,0,.587302,.541813,482807e-10,0,.619048,.519342,471552e-10,0,.650794,.497514,466765e-10,0,.68254,.475879,455582e-10,0,.714286,.454789,446007e-10,0,.746032,.434217,435382e-10,0,.777778,.414086,421753e-10,0,.809524,.394744,412093e-10,0,.84127,.375782,396634e-10,0,.873016,.357707,386419e-10,0,.904762,.340038,370345e-10,0,.936508,.323284,359725e-10,0,.968254,.306954,3436e-8,0,1,1,599567e-19,0,0,1,600497e-19,0,0,1,614839e-19,0,0,1,686641e-19,0,0,1,972658e-19,0,0,1,221271e-18,0,0,1,833195e-18,0,0,1,403601e-17,0,0,.999999,206001e-16,0,0,.999998,1.01739e-10,0,0,.999997,4.70132e-10,0,0,.999993,2.00436e-9,0,0,.999988,7.83682e-9,0,0,.999979,2.80338e-8,0,0,.999962,9.17033e-8,0,0,.999933,2.74514e-7,0,0,.999881,7.53201e-7,0,0,.999783,189826e-11,0,0,.999594,440279e-11,0,0,.999178,93898e-10,0,0,.998073,181265e-10,0,0,.993993,280487e-10,0,0,.979982,149422e-10,0,0,.968145,378481e-11,0,0,.966786,53771e-10,0,0,.965611,947508e-11,0,388934e-10,.963557,156616e-10,0,9693e-7,.959752,235144e-10,0,.00370329,.952461,291568e-10,0,.00868428,.940193,240102e-10,0,.0161889,.929042,231235e-10,0,.0263948,.920266,273968e-10,0,.0394088,.911178,337915e-10,0,.0552818,.897873,333629e-10,0,.0740138,.884053,351405e-10,0,.0955539,.869455,378034e-10,0,.119795,.854655,399378e-10,0,.14656,.838347,419108e-10,0,.175573,.820693,440831e-10,0,.206388,.802277,445599e-10,0,.238095,.783634,472691e-10,0,.269841,.763159,476984e-10,0,.301587,.742914,491487e-10,0,.333333,.721662,502312e-10,0,.365079,.699668,502817e-10,0,.396825,.677839,51406e-9,0,.428571,.655091,511095e-10,0,.460317,.632665,516067e-10,0,.492064,.609734,512255e-10,0,.52381,.587043,510263e-10,0,.555556,.564298,50565e-9,0,.587302,.541769,497951e-10,0,.619048,.519529,492698e-10,0,.650794,.497574,482066e-10,0,.68254,.476028,473689e-10,0,.714286,.454961,461941e-10,0,.746032,.434341,450618e-10,0,.777778,.414364,438355e-10,0,.809524,.394832,424196e-10,0,.84127,.376109,412563e-10,0,.873016,.35779,396226e-10,0,.904762,.340379,384886e-10,0,.936508,.323385,368214e-10,0,.968254,.307295,356636e-10,0,1,1,106465e-17,0,0,1,106555e-17,0,0,1,107966e-17,0,0,1,114601e-17,0,0,1,137123e-17,0,0,1,21243e-16,0,0,.999999,489653e-17,0,0,.999999,160283e-16,0,0,.999998,62269e-15,0,0,.999997,2.51859e-10,0,0,.999996,9.96192e-10,0,0,.999992,3.74531e-9,0,0,.999986,1.32022e-8,0,0,.999975,4.33315e-8,0,0,.999959,1.31956e-7,0,0,.999927,3.72249e-7,0,0,.999871,9.72461e-7,0,0,.999771,235343e-11,0,0,.999572,52768e-10,0,0,.999133,109237e-10,0,0,.997912,203675e-10,0,0,.993008,279396e-10,0,0,.980645,139604e-10,0,0,.970057,646596e-11,0,0,.966717,65089e-10,0,474145e-10,.965497,111863e-10,0,89544e-8,.96334,179857e-10,0,.0032647,.959294,259045e-10,0,.0075144,.951519,292327e-10,0,.0138734,.940517,249769e-10,0,.0224952,.93014,26803e-9,0,.0334828,.91972,303656e-10,0,.0468973,.910294,353323e-10,0,.0627703,.897701,351002e-10,0,.0811019,.884522,388104e-10,0,.10186,.869489,412932e-10,0,.124985,.853983,415781e-10,0,.150372,.838425,454066e-10,0,.177868,.820656,471624e-10,0,.207245,.801875,475243e-10,0,.238143,.783521,505621e-10,0,.269841,.763131,50721e-9,0,.301587,.74261,523293e-10,0,.333333,.72148,528699e-10,0,.365079,.699696,538677e-10,0,.396825,.677592,539255e-10,0,.428571,.65525,546367e-10,0,.460317,.632452,541348e-10,0,.492064,.609903,544976e-10,0,.52381,.586928,536201e-10,0,.555556,.564464,535185e-10,0,.587302,.541801,524949e-10,0,.619048,.519681,51812e-9,0,.650794,.497685,507687e-10,0,.68254,.47622,496243e-10,0,.714286,.455135,485714e-10,0,.746032,.4346,471847e-10,0,.777778,.414564,459294e-10,0,.809524,.395165,444705e-10,0,.84127,.376333,430772e-10,0,.873016,.358197,416229e-10,0,.904762,.34064,401019e-10,0,.936508,.323816,386623e-10,0,.968254,.307581,370933e-10,0,1,1,991541e-17,0,0,1,992077e-17,0,0,1,100041e-16,0,0,1,10385e-15,0,0,1,115777e-16,0,0,1,150215e-16,0,0,.999999,254738e-16,0,0,.999999,598822e-16,0,0,.999998,1.79597e-10,0,0,.999997,6.02367e-10,0,0,.999994,2.06835e-9,0,0,.99999,6.94952e-9,0,0,.999984,2.23363e-8,0,0,.999972,6.78578e-8,0,0,.999952,1.93571e-7,0,0,.999919,5.16594e-7,0,0,.99986,128739e-11,0,0,.999753,299298e-11,0,0,.999546,648258e-11,0,0,.999074,129985e-10,0,0,.997671,232176e-10,0,0,.991504,256701e-10,0,0,.981148,131141e-10,0,0,.971965,869048e-11,0,280182e-10,.966624,808301e-11,0,695475e-9,.965344,135235e-10,0,.00265522,.963048,210592e-10,0,.00622975,.958673,287473e-10,0,.0116234,.950262,281379e-10,0,.018976,.940836,271089e-10,0,.0283844,.930996,30926e-9,0,.0399151,.919848,348359e-10,0,.0536063,.909136,366092e-10,0,.0694793,.897554,384162e-10,0,.0875342,.884691,430971e-10,0,.107749,.869414,447803e-10,0,.130087,.853462,452858e-10,0,.154481,.838187,495769e-10,0,.180833,.820381,502709e-10,0,.209005,.801844,522713e-10,0,.238791,.783061,541505e-10,0,.269869,.763205,553712e-10,0,.301587,.742362,564909e-10,0,.333333,.721393,572646e-10,0,.365079,.699676,581012e-10,0,.396825,.677395,58096e-9,0,.428571,.655208,585766e-10,0,.460317,.632451,583602e-10,0,.492064,.609839,580234e-10,0,.52381,.587093,577161e-10,0,.555556,.564467,568447e-10,0,.587302,.542043,563166e-10,0,.619048,.519826,55156e-9,0,.650794,.497952,541682e-10,0,.68254,.476477,528971e-10,0,.714286,.455412,514952e-10,0,.746032,.434926,502222e-10,0,.777778,.4149,485779e-10,0,.809524,.395552,472242e-10,0,.84127,.376712,454891e-10,0,.873016,.358622,440924e-10,0,.904762,.341048,422984e-10,0,.936508,.324262,408582e-10,0,.968254,.308013,390839e-10,0,1,1,613913e-16,0,0,1,614145e-16,0,0,1,617708e-16,0,0,1,633717e-16,0,0,1,681648e-16,0,0,1,808291e-16,0,0,1,1.14608e-10,0,0,.999998,2.10507e-10,0,0,.999997,4.99595e-10,0,0,.999995,1.39897e-9,0,0,.999994,4.19818e-9,0,0,.999988,1.27042e-8,0,0,.999979,3.75153e-8,0,0,.999965,1.06206e-7,0,0,.999945,2.85381e-7,0,0,.999908,7.23611e-7,0,0,.999846,17255e-10,0,0,.999733,386104e-11,0,0,.999511,808493e-11,0,0,.998993,156884e-10,0,0,.997326,265538e-10,0,0,.989706,206466e-10,0,0,.981713,130756e-10,0,70005e-10,.973636,106473e-10,0,464797e-9,.966509,10194e-9,0,.00201743,.965149,165881e-10,0,.00497549,.962669,249147e-10,0,.00953262,.95786,317449e-10,0,.0158211,.949334,281045e-10,0,.0239343,.941041,303263e-10,0,.0339372,.931575,356754e-10,0,.0458738,.920102,397075e-10,0,.059772,.908002,384886e-10,0,.075645,.897269,43027e-9,0,.0934929,.884559,479925e-10,0,.113302,.869161,48246e-9,0,.135045,.853342,509505e-10,0,.158678,.837633,542846e-10,0,.184136,.820252,554139e-10,0,.211325,.801872,581412e-10,0,.240113,.782418,585535e-10,0,.270306,.7631,610923e-10,0,.301594,.742183,613678e-10,0,.333333,.721098,627275e-10,0,.365079,.699512,629413e-10,0,.396825,.677372,636351e-10,0,.428571,.655059,633555e-10,0,.460317,.632567,636513e-10,0,.492064,.609784,628965e-10,0,.52381,.587237,625546e-10,0,.555556,.564525,615825e-10,0,.587302,.542181,605048e-10,0,.619048,.520017,596329e-10,0,.650794,.498204,581516e-10,0,.68254,.476742,569186e-10,0,.714286,.455803,553833e-10,0,.746032,.435251,537807e-10,0,.777778,.415374,522025e-10,0,.809524,.395921,503421e-10,0,.84127,.377253,488211e-10,0,.873016,.359021,468234e-10,0,.904762,.341637,453269e-10,0,.936508,.3247,433014e-10,0,.968254,.308625,418007e-10,0,1,1,2.86798e-10,0,0,1,2.86877e-10,0,0,1,2.88094e-10,0,0,1,2.93506e-10,0,0,1,3.09262e-10,0,0,.999999,3.48593e-10,0,0,.999999,4.44582e-10,0,0,.999998,6.88591e-10,0,0,.999996,1.34391e-9,0,0,.999993,3.17438e-9,0,0,.999989,8.35609e-9,0,0,.999983,2.28677e-8,0,0,.999974,6.23361e-8,0,0,.999959,1.65225e-7,0,0,.999936,4.19983e-7,0,0,.999896,101546e-11,0,0,.99983,232376e-11,0,0,.999709,50156e-10,0,0,.999469,10167e-9,0,0,.998886,190775e-10,0,0,.996819,300511e-10,0,0,.988837,185092e-10,0,1.68222e-7,.982178,134622e-10,0,259622e-9,.975017,125961e-10,0,.00142595,.967101,13507e-9,0,.00382273,.964905,205003e-10,0,.00764164,.96218,29546e-9,0,.0130121,.956821,343738e-10,0,.0200253,.948829,305063e-10,0,.0287452,.941092,346487e-10,0,.039218,.931883,412061e-10,0,.0514748,.920211,444651e-10,0,.0655351,.907307,431252e-10,0,.0814082,.89684,490382e-10,0,.0990939,.884119,53334e-9,0,.118583,.869148,54114e-9,0,.139856,.853377,578536e-10,0,.162882,.836753,592285e-10,0,.187615,.820063,622787e-10,0,.213991,.801694,645492e-10,0,.241918,.782116,65353e-9,0,.271267,.762673,674344e-10,0,.301847,.742133,682788e-10,0,.333333,.720779,691959e-10,0,.365079,.699386,696817e-10,0,.396826,.67732,699583e-10,0,.428572,.654888,698447e-10,0,.460318,.632499,694063e-10,0,.492064,.609825,691612e-10,0,.52381,.587287,681576e-10,0,.555556,.564743,674138e-10,0,.587302,.542409,661617e-10,0,.619048,.520282,647785e-10,0,.650794,.498506,633836e-10,0,.68254,.477102,615905e-10,0,.714286,.456167,601013e-10,0,.746032,.435728,581457e-10,0,.777778,.415809,564215e-10,0,.809524,.396517,544997e-10,0,.84127,.377737,525061e-10,0,.873016,.359698,506831e-10,0,.904762,.342164,48568e-9,0,.936508,.325417,467826e-10,0,.968254,.309186,446736e-10,0,1,1,1.09018e-9,0,0,1,1.0904e-9,0,0,1,1.09393e-9,0,0,1,1.1095e-9,0,0,1,1.154e-9,0,0,1,1.26089e-9,0,0,.999999,1.5059e-9,0,0,.999997,2.07899e-9,0,0,.999994,3.48164e-9,0,0,.999993,7.05728e-9,0,0,.999987,1.63692e-8,0,0,.999981,4.06033e-8,0,0,.999969,1.0245e-7,0,0,.999953,2.55023e-7,0,0,.999925,6.1511e-7,0,0,.999881,142218e-11,0,0,.99981,313086e-11,0,0,.99968,653119e-11,0,0,.999418,12832e-9,0,0,.998748,232497e-10,0,0,.996066,329522e-10,0,0,.988379,179613e-10,0,108799e-9,.982567,143715e-10,0,921302e-9,.976097,148096e-10,0,.00280738,.968475,178905e-10,0,.00596622,.964606,253921e-10,0,.0105284,.961564,348623e-10,0,.0165848,.955517,357612e-10,0,.0242,.948381,343493e-10,0,.03342,.941095,405849e-10,0,.0442777,.931923,475394e-10,0,.0567958,.91996,484328e-10,0,.0709879,.907419,502146e-10,0,.086861,.89618,561654e-10,0,.104415,.88337,587612e-10,0,.123643,.869046,618057e-10,0,.144531,.853278,657392e-10,0,.167057,.836091,66303e-9,0,.191188,.819644,704445e-10,0,.216878,.801246,714071e-10,0,.244062,.782031,740093e-10,0,.272649,.762066,74685e-9,0,.302509,.741964,766647e-10,0,.333442,.720554,766328e-10,0,.365079,.699098,777857e-10,0,.396826,.677189,774633e-10,0,.428572,.65484,776235e-10,0,.460318,.632496,770316e-10,0,.492064,.609908,762669e-10,0,.52381,.587312,753972e-10,0,.555556,.564938,739994e-10,0,.587302,.542577,728382e-10,0,.619048,.52062,71112e-9,0,.650794,.498819,694004e-10,0,.68254,.477555,675575e-10,0,.714286,.456568,653449e-10,0,.746032,.436278,636068e-10,0,.777778,.41637,613466e-10,0,.809524,.397144,594177e-10,0,.84127,.378412,570987e-10,0,.873016,.360376,550419e-10,0,.904762,.342906,527422e-10,0,.936508,.326136,506544e-10,0,.968254,.30997,484307e-10,0,1,1,3.54014e-9,0,0,1,3.54073e-9,0,0,1,3.54972e-9,0,0,1,3.58929e-9,0,0,1,3.70093e-9,0,0,.999999,3.96194e-9,0,0,.999998,4.53352e-9,0,0,.999997,5.78828e-9,0,0,.999994,8.63812e-9,0,0,.999991,1.53622e-8,0,0,.999985,3.16356e-8,0,0,.999977,7.12781e-8,0,0,.999964,1.66725e-7,0,0,.999945,3.90501e-7,0,0,.999912,8.95622e-7,0,0,.999866,198428e-11,0,0,.999786,421038e-11,0,0,.999647,850239e-11,0,0,.999356,162059e-10,0,0,.998563,282652e-10,0,0,.994928,336309e-10,0,244244e-10,.987999,178458e-10,0,523891e-9,.982893,159162e-10,0,.00194729,.977044,178056e-10,0,.00451099,.969972,230624e-10,0,.00835132,.964237,313922e-10,0,.013561,.960791,406145e-10,0,.0202056,.954292,372796e-10,0,.0283321,.948052,403199e-10,0,.0379739,.940938,479537e-10,0,.0491551,.931689,545292e-10,0,.0618918,.91987,54038e-9,0,.0761941,.907665,589909e-10,0,.0920672,.895281,642651e-10,0,.109511,.882621,659707e-10,0,.12852,.86873,709973e-10,0,.149085,.853008,742221e-10,0,.171189,.835944,761754e-10,0,.194809,.818949,797052e-10,0,.21991,.800951,812434e-10,0,.246447,.781847,838075e-10,0,.274352,.761649,84501e-9,0,.303535,.74152,860258e-10,0,.333857,.720495,866233e-10,0,.365104,.698742,868326e-10,0,.396826,.677096,87133e-9,0,.428572,.654782,863497e-10,0,.460318,.632335,860206e-10,0,.492064,.610031,849337e-10,0,.52381,.587457,838279e-10,0,.555556,.56513,82309e-9,0,.587302,.542877,803542e-10,0,.619048,.5209,786928e-10,0,.650794,.499291,765171e-10,0,.68254,.477971,744753e-10,0,.714286,.457221,72209e-9,0,.746032,.436803,697448e-10,0,.777778,.417083,675333e-10,0,.809524,.397749,648058e-10,0,.84127,.379177,625759e-10,0,.873016,.361061,598584e-10,0,.904762,.343713,575797e-10,0,.936508,.326894,549999e-10,0,.968254,.310816,527482e-10,0,1,1,1.0153e-8,0,0,1,1.01544e-8,0,0,1,1.01751e-8,0,0,1,1.02662e-8,0,0,1,1.0521e-8,0,0,.999999,1.11049e-8,0,0,.999999,1.23408e-8,0,0,.999996,1.4924e-8,0,0,.999992,2.04471e-8,0,0,.999989,3.26539e-8,0,0,.99998,6.03559e-8,0,0,.999971,1.23936e-7,0,0,.999955,2.69058e-7,0,0,.999933,5.93604e-7,0,0,.999901,129633e-11,0,0,.999847,275621e-11,0,0,.999761,564494e-11,0,0,.999607,110485e-10,0,0,.999282,204388e-10,0,0,.99831,341084e-10,0,2.2038e-7,.993288,294949e-10,0,242388e-9,.987855,192736e-10,0,.0012503,.983167,182383e-10,0,.0032745,.977908,218633e-10,0,.00646321,.971194,290662e-10,0,.0109133,.963867,386401e-10,0,.0166927,.95982,462827e-10,0,.0238494,.953497,420705e-10,0,.0324178,.947621,477743e-10,0,.0424225,.940611,568258e-10,0,.0538808,.931174,618061e-10,0,.0668047,.919919,627098e-10,0,.0812014,.907856,694714e-10,0,.0970745,.894509,735008e-10,0,.114424,.881954,763369e-10,0,.133246,.868309,821896e-10,0,.153534,.852511,83769e-9,0,.175275,.835821,881615e-10,0,.198453,.817981,896368e-10,0,.223042,.800504,930906e-10,0,.249009,.78141,945056e-10,0,.276304,.761427,963605e-10,0,.304862,.74094,968088e-10,0,.334584,.720233,981481e-10,0,.365322,.698592,979122e-10,0,.396826,.676763,981057e-10,0,.428571,.654808,973956e-10,0,.460318,.632326,962619e-10,0,.492064,.610049,952996e-10,0,.52381,.58763,933334e-10,0,.555556,.565261,917573e-10,0,.587302,.543244,896636e-10,0,.619048,.521273,873304e-10,0,.650794,.499818,852648e-10,0,.68254,.478536,823961e-10,0,.714286,.457826,79939e-9,0,.746032,.437549,77126e-9,0,.777778,.41776,743043e-10,0,.809524,.39863,716426e-10,0,.84127,.379954,686456e-10,0,.873016,.362025,660514e-10,0,.904762,.344581,630755e-10,0,.936508,.327909,605439e-10,0,.968254,.311736,576345e-10,0,1,1,2.63344e-8,0,0,1,2.63373e-8,0,0,1,2.63815e-8,0,0,1,2.65753e-8,0,0,1,2.71132e-8,0,0,.999999,2.83279e-8,0,0,.999997,3.0833e-8,0,0,.999995,3.58711e-8,0,0,.999992,4.61266e-8,0,0,.999985,6.7574e-8,0,0,.999977,1.1358e-7,0,0,.999966,2.13657e-7,0,0,.999948,4.31151e-7,0,0,.999923,8.96656e-7,0,0,.999884,186603e-11,0,0,.999826,381115e-11,0,0,.999732,754184e-11,0,0,.999561,143192e-10,0,0,.999191,257061e-10,0,0,.997955,405724e-10,0,744132e-10,.992228,276537e-10,0,716477e-9,.987638,208885e-10,0,.0022524,.983395,215226e-10,0,.00484816,.978614,270795e-10,0,.00860962,.972389,365282e-10,0,.0136083,.964392,474747e-10,0,.0198941,.95861,509141e-10,0,.0275023,.952806,48963e-9,0,.0364584,.94712,571119e-10,0,.04678,.940104,671704e-10,0,.0584799,.930398,687586e-10,0,.0715665,.919866,738161e-10,0,.086045,.907853,813235e-10,0,.101918,.894078,834582e-10,0,.119186,.881177,892093e-10,0,.137845,.867575,944548e-10,0,.157891,.852107,969607e-10,0,.179316,.835502,101456e-9,0,.202106,.81756,103256e-9,0,.226243,.79984,106954e-9,0,.251704,.780998,108066e-9,0,.278451,.761132,110111e-9,0,.306436,.740429,110459e-9,0,.335586,.719836,111219e-9,0,.365796,.698467,11145e-8,0,.3969,.676446,110393e-9,0,.428571,.654635,110035e-9,0,.460318,.632411,108548e-9,0,.492064,.609986,106963e-9,0,.52381,.587872,105238e-9,0,.555556,.565528,102665e-9,0,.587302,.543563,100543e-9,0,.619048,.52176,976182e-10,0,.650794,.500188,947099e-10,0,.68254,.479204,919929e-10,0,.714286,.458413,886139e-10,0,.746032,.438314,857839e-10,0,.777778,.418573,82411e-9,0,.809524,.39947,792211e-10,0,.84127,.380892,759546e-10,0,.873016,.362953,727571e-10,0,.904762,.345601,695738e-10,0,.936508,.328895,664907e-10,0,.968254,.312808,634277e-10,0,1,1,6.28647e-8,0,0,1,6.28705e-8,0,0,1,6.29587e-8,0,0,1,6.33441e-8,0,0,.999999,6.44087e-8,0,0,.999998,6.67856e-8,0,0,.999997,7.15889e-8,0,0,.999995,8.09577e-8,0,0,.999989,9.92764e-8,0,0,.999983,1.35834e-7,0,0,.999974,2.10482e-7,0,0,.999959,3.65215e-7,0,0,.999939,6.86693e-7,0,0,.999911,13472e-10,0,0,.999868,26731e-10,0,0,.999804,524756e-11,0,0,.9997,100403e-10,0,0,.99951,185019e-10,0,0,.999078,322036e-10,0,620676e-11,.997428,470002e-10,0,341552e-9,.99162,287123e-10,0,.00143727,.987479,234706e-10,0,.00349201,.983582,260083e-10,0,.0066242,.979186,337927e-10,0,.0109113,.97325,454689e-10,0,.0164064,.965221,573759e-10,0,.0231463,.957262,544114e-10,0,.0311571,.952211,587006e-10,0,.0404572,.946631,692256e-10,0,.0510592,.939391,787819e-10,0,.0629723,.929795,792368e-10,0,.0762025,.91965,875075e-10,0,.090753,.907737,950903e-10,0,.106626,.893899,972963e-10,0,.123822,.880239,10459e-8,0,.142337,.866562,107689e-9,0,.16217,.85164,113081e-9,0,.183314,.835021,116636e-9,0,.20576,.817311,120074e-9,0,.229496,.798845,121921e-9,0,.254502,.780479,12475e-8,0,.280753,.760694,125255e-9,0,.308212,.740142,126719e-9,0,.336825,.719248,12636e-8,0,.366517,.698209,126712e-9,0,.397167,.676398,125769e-9,0,.428578,.654378,124432e-9,0,.460318,.632484,123272e-9,0,.492064,.610113,12085e-8,0,.52381,.587931,118411e-9,0,.555556,.565872,11569e-8,0,.587302,.543814,112521e-9,0,.619048,.522265,109737e-9,0,.650794,.500835,106228e-9,0,.68254,.479818,102591e-9,0,.714286,.459258,991288e-10,0,.746032,.439061,952325e-10,0,.777778,.419552,91895e-9,0,.809524,.400399,879051e-10,0,.84127,.381976,844775e-10,0,.873016,.364009,806316e-10,0,.904762,.346761,771848e-10,0,.936508,.330049,735429e-10,0,.968254,.314018,702103e-10,0,1,1,1.39968e-7,0,0,1,1.39979e-7,0,0,1,1.40145e-7,0,0,1,1.4087e-7,0,0,.999999,1.42865e-7,0,0,.999998,1.47279e-7,0,0,.999997,1.56057e-7,0,0,.999992,1.7276e-7,0,0,.999989,2.04352e-7,0,0,.99998,2.6494e-7,0,0,.999969,3.83435e-7,0,0,.999953,6.18641e-7,0,0,.999929,108755e-11,0,0,.999898,201497e-11,0,0,.999849,381346e-11,0,0,.999778,719815e-11,0,0,.999661,133215e-10,0,0,.999451,238313e-10,0,0,.998936,401343e-10,0,113724e-9,.99662,517346e-10,0,820171e-9,.991094,304323e-10,0,.00238143,.987487,281757e-10,0,.00493527,.983731,320048e-10,0,.00856859,.979647,423905e-10,0,.0133393,.973837,562935e-10,0,.0192863,.96584,677442e-10,0,.0264369,.956309,623073e-10,0,.03481,.951523,704131e-10,0,.0444184,.946003,836594e-10,0,.0552713,.938454,911736e-10,0,.0673749,.929279,938264e-10,0,.0807329,.919239,103754e-9,0,.0953479,.907293,109928e-9,0,.111221,.893936,115257e-9,0,.128352,.879674,122265e-9,0,.14674,.865668,125733e-9,0,.166382,.850998,132305e-9,0,.187276,.834498,134844e-9,0,.209413,.816903,139276e-9,0,.232786,.798235,140984e-9,0,.257382,.779724,14378e-8,0,.283181,.760251,144623e-9,0,.310156,.739808,145228e-9,0,.338269,.718762,14539e-8,0,.367461,.697815,144432e-9,0,.397646,.67631,143893e-9,0,.428685,.654278,141846e-9,0,.460318,.632347,13935e-8,0,.492064,.610296,137138e-9,0,.52381,.588039,133806e-9,0,.555556,.566218,130755e-9,0,.587302,.544346,127128e-9,0,.619048,.522701,123002e-9,0,.650794,.501542,119443e-9,0,.68254,.480508,115055e-9,0,.714286,.460092,111032e-9,0,.746032,.440021,106635e-9,0,.777778,.420446,102162e-9,0,.809524,.401512,98184e-9,0,.84127,.38299,936497e-10,0,.873016,.365232,89813e-9,0,.904762,.347865,853073e-10,0,.936508,.331342,817068e-10,0,.968254,.315202,773818e-10,0,1,1,2.9368e-7,0,0,1,2.937e-7,0,0,1,2.93998e-7,0,0,1,2.95298e-7,0,0,.999999,2.98865e-7,0,0,.999998,3.067e-7,0,0,.999995,3.22082e-7,0,0,.999992,3.50767e-7,0,0,.999986,4.03538e-7,0,0,.999976,5.01372e-7,0,0,.999964,6.8562e-7,0,0,.999945,10374e-10,0,0,.999919,171269e-11,0,0,.999882,300175e-11,0,0,.999829,542144e-11,0,0,.999749,984182e-11,0,0,.99962,176213e-10,0,0,.999382,305995e-10,0,138418e-10,.998751,496686e-10,0,389844e-9,.995344,510733e-10,0,.00150343,.990768,345829e-10,0,.00352451,.987464,342841e-10,0,.00655379,.983846,399072e-10,0,.0106554,.980007,533219e-10,0,.0158723,.974494,696992e-10,0,.0222333,.96622,776754e-10,0,.029758,.956273,747718e-10,0,.0384596,.950952,864611e-10,0,.0483473,.945215,100464e-9,0,.0594266,.937287,103729e-9,0,.0717019,.928649,111665e-9,0,.0851752,.918791,12353e-8,0,.0998479,.906685,127115e-9,0,.115721,.893706,13628e-8,0,.132794,.879248,142427e-9,0,.151067,.864685,148091e-9,0,.170538,.850032,153517e-9,0,.191204,.833853,157322e-9,0,.213063,.816353,161086e-9,0,.236107,.797834,164111e-9,0,.260329,.778831,165446e-9,0,.285714,.759756,167492e-9,0,.312243,.739419,166928e-9,0,.339887,.718491,167e-6,0,.368604,.697392,165674e-9,0,.398329,.676102,163815e-9,0,.428961,.654243,162003e-9,0,.460331,.632176,158831e-9,0,.492064,.610407,155463e-9,0,.52381,.588394,152062e-9,0,.555556,.56645,147665e-9,0,.587302,.5449,14375e-8,0,.619048,.523276,138905e-9,0,.650794,.502179,134189e-9,0,.68254,.481359,129392e-9,0,.714286,.46092,124556e-9,0,.746032,.441084,11957e-8,0,.777778,.421517,114652e-9,0,.809524,.402721,109688e-9,0,.84127,.384222,104667e-9,0,.873016,.366534,999633e-10,0,.904762,.349205,950177e-10,0,.936508,.332702,907301e-10,0,.968254,.316599,859769e-10,0,1,1,5.85473e-7,0,0,1,5.85507e-7,0,0,1,5.8602e-7,0,0,.999999,5.88259e-7,0,0,.999999,5.94381e-7,0,0,.999998,6.07754e-7,0,0,.999995,6.33729e-7,0,0,.99999,6.8137e-7,0,0,.999984,7.67003e-7,0,0,.999973,9.21212e-7,0,0,.999959,120218e-11,0,0,.999936,172024e-11,0,0,.999907,268088e-11,0,0,.999866,445512e-11,0,0,.999806,768481e-11,0,0,.999716,1342e-8,0,0,.999576,232473e-10,0,0,.9993,391694e-10,0,129917e-9,.998498,608429e-10,0,845035e-9,.994132,489743e-10,0,.00237616,.99031,384644e-10,0,.00484456,.987409,421768e-10,0,.00832472,.983981,504854e-10,0,.0128643,.980268,671028e-10,0,.0184947,.974875,852749e-10,0,.025237,.966063,85531e-9,0,.0331046,.956779,900588e-10,0,.0421067,.950259,10577e-8,0,.0522487,.944239,119458e-9,0,.0635343,.936341,122164e-9,0,.0759654,.928047,134929e-9,0,.0895434,.918065,145544e-9,0,.104269,.906267,150531e-9,0,.120142,.893419,161652e-9,0,.137163,.878758,16593e-8,0,.15533,.863699,174014e-9,0,.174645,.848876,177877e-9,0,.195106,.833032,184049e-9,0,.21671,.815557,186088e-9,0,.239454,.797323,19054e-8,0,.263332,.778124,191765e-9,0,.288336,.758929,192535e-9,0,.314451,.738979,192688e-9,0,.341658,.718213,191522e-9,0,.369924,.696947,190491e-9,0,.399202,.675807,187913e-9,0,.429416,.654147,184451e-9,0,.460447,.63229,181442e-9,0,.492064,.610499,177139e-9,0,.523809,.588747,172596e-9,0,.555555,.566783,167457e-9,0,.587301,.545359,162518e-9,0,.619048,.523984,156818e-9,0,.650794,.502917,151884e-9,0,.68254,.482294,145514e-9,0,.714286,.461945,140199e-9,0,.746032,.442133,134101e-9,0,.777778,.422705,128374e-9,0,.809524,.403916,122996e-9,0,.84127,.38554,116808e-9,0,.873016,.367909,111973e-9,0,.904762,.350651,105938e-9,0,.936508,.334208,101355e-9,0,.968254,.318123,957629e-10,0,1,1,111633e-11,0,0,1,111639e-11,0,0,1,111725e-11,0,0,1,112096e-11,0,0,.999999,11311e-10,0,0,.999997,115315e-11,0,0,.999995,11956e-10,0,0,.999989,127239e-11,0,0,.999981,140772e-11,0,0,.999969,164541e-11,0,0,.999952,206607e-11,0,0,.999928,281783e-11,0,0,.999895,416835e-11,0,0,.999848,658728e-11,0,0,.999781,108648e-10,0,0,.999682,182579e-10,0,0,.999523,306003e-10,0,159122e-10,.999205,499862e-10,0,391184e-9,.998131,73306e-9,0,.00147534,.993334,513229e-10,0,.0034227,.99016,467783e-10,0,.00632232,.987321,523413e-10,0,.0102295,.984099,64267e-9,0,.0151794,.980432,843042e-10,0,.0211947,.974976,102819e-9,0,.0282899,.966429,996234e-10,0,.0364739,.957633,111074e-9,0,.0457522,.949422,128644e-9,0,.0561278,.943045,140076e-9,0,.0676023,.935448,146349e-9,0,.0801762,.927225,161854e-9,0,.0938499,.917033,169135e-9,0,.108623,.905762,179987e-9,0,.124496,.892879,189832e-9,0,.141469,.878435,195881e-9,0,.159541,.863114,20466e-8,0,.178713,.84776,209473e-9,0,.198985,.832084,214861e-9,0,.220355,.814915,217695e-9,0,.242823,.796711,220313e-9,0,.266385,.777603,22313e-8,0,.291036,.757991,222471e-9,0,.316767,.738371,222869e-9,0,.343563,.717872,221243e-9,0,.371402,.696619,218089e-9,0,.400248,.675379,21562e-8,0,.430047,.65411,21169e-8,0,.460709,.63241,206947e-9,0,.492079,.61046,201709e-9,0,.52381,.58903,196753e-9,0,.555556,.567267,189637e-9,0,.587302,.545886,184735e-9,0,.619048,.524714,177257e-9,0,.650794,.503789,171424e-9,0,.68254,.483204,164688e-9,0,.714286,.462976,157172e-9,0,.746032,.443294,151341e-9,0,.777778,.423988,143737e-9,0,.809524,.405325,138098e-9,0,.84127,.386981,130698e-9,0,.873016,.369436,125276e-9,0,.904762,.35219,118349e-9,0,.936508,.335804,11312e-8,0,.968254,.319749,106687e-9,0,1,1,204685e-11,0,0,1,204694e-11,0,0,1,204831e-11,0,0,.999999,205428e-11,0,0,.999999,207056e-11,0,0,.999997,210581e-11,0,0,.999993,21732e-10,0,0,.999987,229365e-11,0,0,.999979,250243e-11,0,0,.999965,286127e-11,0,0,.999947,348028e-11,0,0,.999918,455588e-11,0,0,.999881,643303e-11,0,0,.999828,970064e-11,0,0,.999753,153233e-10,0,0,.999642,24793e-9,0,0,.999464,402032e-10,0,122947e-9,.999089,635852e-10,0,807414e-9,.997567,857026e-10,0,.00227206,.992903,594912e-10,0,.00462812,.990011,578515e-10,0,.00794162,.987192,65399e-9,0,.0122534,.98418,819675e-10,0,.0175888,.980491,105514e-9,0,.0239635,.974779,121532e-9,0,.031387,.96675,119144e-9,0,.0398644,.958248,136125e-9,0,.0493982,.948884,155408e-9,0,.0599896,.941673,162281e-9,0,.0716382,.934521,176754e-9,0,.0843437,.926205,192873e-9,0,.0981056,.916089,200038e-9,0,.112923,.904963,213624e-9,0,.128796,.892089,221834e-9,0,.145725,.878028,232619e-9,0,.163709,.86249,238632e-9,0,.182749,.846587,247002e-9,0,.202847,.830988,250702e-9,0,.224001,.814165,255562e-9,0,.246214,.796135,257505e-9,0,.269482,.777052,258625e-9,0,.293805,.757201,258398e-9,0,.319176,.737655,256714e-9,0,.345587,.717477,255187e-9,0,.373021,.696433,251792e-9,0,.401454,.675084,247223e-9,0,.430844,.653907,242213e-9,0,.461125,.632561,237397e-9,0,.492187,.610658,229313e-9,0,.52381,.589322,224402e-9,0,.555556,.567857,216116e-9,0,.587302,.54652,209124e-9,0,.619048,.525433,201601e-9,0,.650794,.504679,192957e-9,0,.68254,.484203,186052e-9,0,.714286,.464203,177672e-9,0,.746032,.444549,170005e-9,0,.777778,.425346,162401e-9,0,.809524,.406706,1544e-7,0,.84127,.388576,147437e-9,0,.873016,.37094,139493e-9,0,.904762,.353996,133219e-9,0,.936508,.337391,125573e-9,0,.968254,.321648,119867e-9,0,1,1,362511e-11,0,0,1,362525e-11,0,0,1,362739e-11,0,0,.999999,363673e-11,0,0,.999998,366214e-11,0,0,.999996,371698e-11,0,0,.999992,382116e-11,0,0,.999986,400554e-11,0,0,.999976,432058e-11,0,0,.999961,485194e-11,0,0,.999938,574808e-11,0,0,.999908,726643e-11,0,0,.999865,984707e-11,0,0,.999807,142217e-10,0,0,.999723,215581e-10,0,0,.999602,336114e-10,0,119113e-10,.999398,527353e-10,0,355813e-9,.998946,805809e-10,0,.00137768,.996647,942908e-10,0,.00322469,.992298,668733e-10,0,.00597897,.989802,716564e-10,0,.00968903,.987019,821355e-10,0,.0143845,.984219,104555e-9,0,.0200831,.980425,131245e-9,0,.0267948,.974241,139613e-9,0,.034525,.967006,145931e-9,0,.0432757,.95893,167153e-9,0,.0530471,.949157,188146e-9,0,.0638386,.94062,194625e-9,0,.0756487,.933509,213721e-9,0,.0884762,.925088,229616e-9,0,.10232,.915178,239638e-9,0,.117178,.904093,254814e-9,0,.133051,.891337,263685e-9,0,.149939,.877326,274789e-9,0,.167841,.861794,280534e-9,0,.18676,.845758,289534e-9,0,.206696,.829792,294446e-9,0,.22765,.813037,296877e-9,0,.249625,.795285,300217e-9,0,.27262,.776323,299826e-9,0,.296636,.756673,299787e-9,0,.321671,.736856,297867e-9,0,.347718,.716883,294052e-9,0,.374768,.696089,289462e-9,0,.402804,.67505,285212e-9,0,.431796,.653509,27653e-8,0,.461695,.63258,271759e-9,0,.49242,.61104,262811e-9,0,.523822,.589567,255151e-9,0,.555556,.568322,246434e-9,0,.587302,.547235,237061e-9,0,.619048,.52616,228343e-9,0,.650794,.505716,219236e-9,0,.68254,.485274,209595e-9,0,.714286,.465411,201011e-9,0,.746032,.445854,19109e-8,0,.777778,.426911,182897e-9,0,.809524,.408222,173569e-9,0,.84127,.390307,165496e-9,0,.873016,.372624,156799e-9,0,.904762,.355804,14917e-8,0,.936508,.33924,140907e-9,0,.968254,.323534,134062e-9,0,1,1,622487e-11,0,0,1,62251e-10,0,0,1,622837e-11,0,0,.999999,624259e-11,0,0,.999998,628127e-11,0,0,.999996,636451e-11,0,0,.999991,65218e-10,0,0,.999984,679782e-11,0,0,.999973,726361e-11,0,0,.999955,803644e-11,0,0,.999931,931397e-11,0,0,.999896,114299e-10,0,0,.999847,149402e-10,0,0,.999784,207461e-10,0,0,.999692,302493e-10,0,0,.999554,454957e-10,0,997275e-10,.999326,690762e-10,0,724813e-9,.998757,101605e-9,0,.0020972,.995367,958745e-10,0,.00432324,.99209,832808e-10,0,.00746347,.989517,887601e-10,0,.0115534,.987008,10564e-8,0,.0166134,.98421,133179e-9,0,.0226552,.98021,161746e-9,0,.0296838,.973676,161821e-9,0,.0377016,.967052,178635e-9,0,.0467079,.959385,206765e-9,0,.0567013,.949461,22476e-8,0,.0676796,.939578,23574e-8,0,.0796403,.932416,25893e-8,0,.0925812,.923759,271228e-9,0,.106501,.914223,289165e-9,0,.121397,.902942,301156e-9,0,.13727,.890419,313852e-9,0,.15412,.876639,324408e-9,0,.171946,.861316,33249e-8,0,.190751,.84496,338497e-9,0,.210537,.828427,345861e-9,0,.231305,.811871,347863e-9,0,.253057,.794397,350225e-9,0,.275797,.775726,349915e-9,0,.299525,.75617,347297e-9,0,.324242,.736091,344232e-9,0,.349947,.716213,340835e-9,0,.376633,.695736,332369e-9,0,.404289,.674961,327943e-9,0,.432895,.653518,318533e-9,0,.462415,.632574,310391e-9,0,.492788,.61134,300755e-9,0,.523909,.590017,290506e-9,0,.555556,.568752,280446e-9,0,.587302,.548061,269902e-9,0,.619048,.52711,258815e-9,0,.650794,.506682,248481e-9,0,.68254,.486524,237141e-9,0,.714286,.466812,226872e-9,0,.746032,.44732,216037e-9,0,.777778,.428473,205629e-9,0,.809524,.409921,195691e-9,0,.84127,.392028,185457e-9,0,.873016,.374606,176436e-9,0,.904762,.357601,166508e-9,0,.936508,.341348,158385e-9,0,.968254,.32542,149203e-9,0,1,1,103967e-10,0,0,1,10397e-9,0,0,1,104019e-10,0,0,.999999,104231e-10,0,0,.999998,104806e-10,0,0,.999995,106042e-10,0,0,.999991,108366e-10,0,0,.999982,112415e-10,0,0,.999968,119174e-10,0,0,.99995,130227e-10,0,0,.999922,148176e-10,0,0,.999884,177303e-10,0,0,.99983,224564e-10,0,0,.999758,300966e-10,0,0,.999654,423193e-10,0,549083e-11,.999503,614848e-10,0,296087e-9,.999237,903576e-10,0,.00123144,.998491,1271e-7,0,.00295954,.994594,107754e-9,0,.00555829,.99178,103025e-9,0,.00907209,.989265,11154e-8,0,.0135257,.986998,136296e-9,0,.0189327,.984137,169154e-9,0,.0252993,.979798,196671e-9,0,.0326272,.97337,196678e-9,0,.0409157,.967239,223121e-9,0,.0501623,.959543,253809e-9,0,.0603638,.949466,265972e-9,0,.0715171,.939074,288372e-9,0,.0836187,.931118,310983e-9,0,.0966657,.922525,325561e-9,0,.110656,.912983,345725e-9,0,.125588,.901617,3556e-7,0,.141461,.889487,374012e-9,0,.158275,.875787,383445e-9,0,.176031,.860654,393972e-9,0,.19473,.844417,400311e-9,0,.214374,.82741,405004e-9,0,.234967,.810545,407378e-9,0,.256512,.793312,407351e-9,0,.279011,.774847,406563e-9,0,.302468,.755621,404903e-9,0,.326887,.735511,397486e-9,0,.352266,.715435,39357e-8,0,.378605,.695403,384739e-9,0,.405897,.674681,376108e-9,0,.43413,.65359,365997e-9,0,.463277,.632471,354957e-9,0,.493295,.61151,343593e-9,0,.524106,.59064,331841e-9,0,.555561,.569386,318891e-9,0,.587302,.548785,3072e-7,0,.619048,.528146,29361e-8,0,.650794,.507872,281709e-9,0,.68254,.487805,268627e-9,0,.714286,.468196,255887e-9,0,.746032,.448922,243997e-9,0,.777778,.430093,231662e-9,0,.809524,.411845,220339e-9,0,.84127,.393808,208694e-9,0,.873016,.376615,198045e-9,0,.904762,.359655,187375e-9,0,.936508,.343452,177371e-9,0,.968254,.32765,167525e-9,0,1,1,169351e-10,0,0,1,169356e-10,0,0,1,169427e-10,0,0,.999999,169736e-10,0,0,.999998,170575e-10,0,0,.999995,172372e-10,0,0,.99999,175739e-10,0,0,.999979,181568e-10,0,0,.999966,191206e-10,0,0,.999944,20677e-9,0,0,.999912,231644e-10,0,0,.999869,271268e-10,0,0,.999811,334272e-10,0,0,.99973,433979e-10,0,0,.999617,590083e-10,0,680315e-10,.999445,829497e-10,0,612796e-9,.999138,118019e-9,0,.00187408,.998095,156712e-9,0,.00395791,.993919,125054e-9,0,.00692144,.991333,126091e-9,0,.0107962,.989226,144912e-9,0,.0155986,.986954,175737e-9,0,.0213364,.983982,213883e-9,0,.0280114,.979128,234526e-9,0,.0356226,.973327,243725e-9,0,.0441668,.967416,2773e-7,0,.0536399,.959729,308799e-9,0,.0640376,.949758,322447e-9,0,.0753554,.939173,350021e-9,0,.0875893,.9296,370089e-9,0,.100736,.921181,391365e-9,0,.114793,.91164,413636e-9,0,.129759,.900435,427068e-9,0,.145632,.888183,441046e-9,0,.162412,.874772,454968e-9,0,.180101,.859566,461882e-9,0,.1987,.843579,471556e-9,0,.218213,.826453,474335e-9,0,.238641,.809164,477078e-9,0,.259989,.792179,47755e-8,0,.282262,.773866,472573e-9,0,.305464,.754944,469765e-9,0,.329599,.735133,462371e-9,0,.35467,.714858,453674e-9,0,.380678,.694829,443888e-9,0,.407622,.674453,432052e-9,0,.435493,.653685,420315e-9,0,.464275,.632666,406829e-9,0,.493938,.611676,392234e-9,0,.524422,.591193,379208e-9,0,.555624,.570145,36319e-8,0,.587302,.549566,349111e-9,0,.619048,.529278,334166e-9,0,.650794,.509026,318456e-9,0,.68254,.489186,30449e-8,0,.714286,.469662,289051e-9,0,.746032,.450691,275494e-9,0,.777778,.431841,261437e-9,0,.809524,.413752,247846e-9,0,.84127,.395951,235085e-9,0,.873016,.378633,222245e-9,0,.904762,.36194,210533e-9,0,.936508,.345599,198494e-9,0,.968254,.329999,188133e-9,0,1,1,269663e-10,0,0,1,26967e-9,0,0,1,269772e-10,0,0,.999999,270214e-10,0,0,.999998,271415e-10,0,0,.999994,27398e-9,0,0,.999988,278771e-10,0,0,.999977,287019e-10,0,0,.999961,300544e-10,0,0,.999937,322138e-10,0,0,.999904,356163e-10,0,0,.999854,409465e-10,0,0,.99979,492651e-10,0,0,.999699,621722e-10,0,8.8288e-7,.999572,819715e-10,0,223369e-9,.999381,111689e-9,0,.00105414,.999016,153862e-9,0,.0026493,.997437,187667e-9,0,.00508608,.993545,155672e-9,0,.00840554,.991135,161455e-9,0,.012629,.989157,188241e-9,0,.0177661,.986874,226229e-9,0,.0238198,.983714,268668e-9,0,.0307887,.978301,277109e-9,0,.0386688,.973227,303446e-9,0,.0474554,.967317,341851e-9,0,.0571428,.959477,370885e-9,0,.0677256,.950012,392753e-9,0,.0791988,.939484,42781e-8,0,.0915576,.928135,443866e-9,0,.104798,.919819,472959e-9,0,.118918,.910049,491551e-9,0,.133915,.899181,512616e-9,0,.149788,.886881,523563e-9,0,.166537,.87359,540183e-9,0,.184164,.858613,547386e-9,0,.202669,.842809,554809e-9,0,.222056,.825727,558316e-9,0,.242329,.808086,557824e-9,0,.263492,.790728,556346e-9,0,.285551,.772987,552672e-9,0,.30851,.7541,543738e-9,0,.332376,.734669,536107e-9,0,.357153,.714411,523342e-9,0,.382845,.694196,512238e-9,0,.409454,.674252,497465e-9,0,.436977,.65357,481096e-9,0,.465404,.632999,467054e-9,0,.494713,.611994,448771e-9,0,.524864,.591604,431889e-9,0,.555779,.571134,415238e-9,0,.587302,.550528,396369e-9,0,.619048,.530292,379477e-9,0,.650794,.510364,361488e-9,0,.68254,.490749,343787e-9,0,.714286,.471266,327822e-9,0,.746032,.452462,310626e-9,0,.777778,.433907,295352e-9,0,.809524,.415659,279179e-9,0,.84127,.398138,264685e-9,0,.873016,.380833,249905e-9,0,.904762,.364247,236282e-9,0,.936508,.348041,222905e-9,0,.968254,.332389,210522e-9,0,1,1,420604e-10,0,0,1,420614e-10,0,0,1,420757e-10,0,0,.999999,42138e-9,0,0,.999997,423067e-10,0,0,.999993,426668e-10,0,0,.999986,433372e-10,0,0,.999974,444857e-10,0,0,.999956,463554e-10,0,0,.99993,493105e-10,0,0,.999892,539077e-10,0,0,.999838,610005e-10,0,0,.999767,718822e-10,0,0,.999666,884581e-10,0,365471e-10,.999525,113398e-9,0,485623e-9,.999311,150043e-9,0,.00162096,.998865,200063e-9,0,.00355319,.996278,211014e-9,0,.00633818,.992956,189672e-9,0,.0100043,.991017,210262e-9,0,.0145648,.989055,244292e-9,0,.0200237,.986741,290481e-9,0,.0263798,.983288,334303e-9,0,.033629,.977784,340307e-9,0,.0417652,.973037,377864e-9,0,.0507821,.967181,4239e-7,0,.060673,.958971,443854e-9,0,.0714314,.950093,483039e-9,0,.0830518,.939552,517934e-9,0,.0955288,.927678,539449e-9,0,.108859,.918278,568604e-9,0,.123038,.908449,588505e-9,0,.138065,.897713,612473e-9,0,.153938,.885533,625575e-9,0,.170657,.872131,63854e-8,0,.188224,.857517,647034e-9,0,.20664,.841796,65209e-8,0,.225909,.824726,6544e-7,0,.246035,.807297,655744e-9,0,.267022,.789058,646716e-9,0,.288878,.77189,643898e-9,0,.311607,.753082,629973e-9,0,.335216,.7341,621564e-9,0,.359713,.714094,605171e-9,0,.385103,.693839,588752e-9,0,.41139,.673891,573294e-9,0,.438576,.653565,552682e-9,0,.466656,.633326,533446e-9,0,.495617,.612582,514635e-9,0,.525431,.59205,49303e-8,0,.556041,.571918,471842e-9,0,.587338,.551572,451713e-9,0,.619048,.531553,430049e-9,0,.650794,.51175,410445e-9,0,.68254,.49238,390098e-9,0,.714286,.473143,370033e-9,0,.746032,.45423,351205e-9,0,.777778,.435963,332049e-9,0,.809524,.41787,315021e-9,0,.84127,.400387,297315e-9,0,.873016,.383332,281385e-9,0,.904762,.366665,265397e-9,0,.936508,.350633,250601e-9,0,.968254,.334964,23589e-8,0,1,1,643736e-10,0,0,1,64375e-9,0,0,1,643947e-10,0,0,.999999,64481e-9,0,0,.999997,647143e-10,0,0,.999994,652119e-10,0,0,.999985,661359e-10,0,0,.999972,677116e-10,0,0,.999952,702599e-10,0,0,.999922,742517e-10,0,0,.99988,803906e-10,0,0,.99982,897315e-10,0,0,.999741,103838e-9,0,0,.999629,12496e-8,0,149024e-9,.999474,156161e-9,0,861027e-9,.999229,201034e-9,0,.00231198,.998662,259069e-9,0,.00458147,.995299,245439e-9,0,.00770895,.992732,24498e-8,0,.0117126,.990847,273211e-9,0,.0165989,.988911,316492e-9,0,.0223674,.98654,37161e-8,0,.0290135,.982636,410352e-9,0,.0365309,.977346,421756e-9,0,.0449117,.972909,475578e-9,0,.0541481,.966821,522482e-9,0,.0642326,.958686,545008e-9,0,.075158,.949754,589286e-9,0,.0869181,.939184,619995e-9,0,.0995074,.927505,654266e-9,0,.112922,.916606,682362e-9,0,.127157,.906707,704286e-9,0,.142212,.895937,725909e-9,0,.158085,.883913,743939e-9,0,.174776,.870642,755157e-9,0,.192287,.856241,764387e-9,0,.210619,.84069,771032e-9,0,.229775,.823728,765906e-9,0,.249761,.806481,767604e-9,0,.270582,.787924,754385e-9,0,.292243,.770588,749668e-9,0,.314753,.751991,731613e-9,0,.338118,.733407,717655e-9,0,.362347,.713688,700604e-9,0,.387447,.693595,678765e-9,0,.413424,.673426,657042e-9,0,.440284,.65359,635892e-9,0,.468027,.633576,611569e-9,0,.496645,.613144,586011e-9,0,.526122,.592711,563111e-9,0,.556417,.572722,537699e-9,0,.587451,.552762,512556e-9,0,.619048,.532985,489757e-9,0,.650794,.513219,464139e-9,0,.68254,.493992,442193e-9,0,.714286,.47509,418629e-9,0,.746032,.456287,397045e-9,0,.777778,.438152,375504e-9,0,.809524,.420294,35492e-8,0,.84127,.402749,335327e-9,0,.873016,.385879,316422e-9,0,.904762,.369352,298333e-9,0,.936508,.353301,281417e-9,0,.968254,.337781,265203e-9,0,1,1,968267e-10,0,0,1,968284e-10,0,0,1,968556e-10,0,0,.999999,969733e-10,0,0,.999997,972913e-10,0,0,.999993,979688e-10,0,0,.999984,992239e-10,0,0,.999969,101356e-9,0,0,.999946,104784e-9,0,0,.999913,110111e-9,0,0,.999868,118217e-9,0,0,.999801,130396e-9,0,0,.999712,148523e-9,0,124907e-10,.999589,175233e-9,0,355405e-9,.999416,213999e-9,0,.0013528,.999136,268529e-9,0,.00312557,.998367,333088e-9,0,.00573045,.994701,304757e-9,0,.00919397,.992497,318031e-9,0,.0135261,.990608,353863e-9,0,.0187278,.988715,409044e-9,0,.0247947,.986241,472967e-9,0,.0317196,.981696,495104e-9,0,.039494,.977097,532873e-9,0,.0481087,.972583,594447e-9,0,.0575549,.966142,636867e-9,0,.0678242,.95823,669899e-9,0,.0789089,.949677,719499e-9,0,.0908023,.939226,750584e-9,0,.103499,.927501,793183e-9,0,.116993,.915199,81995e-8,0,.131282,.90498,847654e-9,0,.146364,.894243,868929e-9,0,.162237,.882154,884278e-9,0,.178902,.869161,898108e-9,0,.196358,.854751,901254e-9,0,.21461,.839368,90679e-8,0,.23366,.822874,901541e-9,0,.253512,.805514,897297e-9,0,.274174,.78716,881856e-9,0,.29565,.769061,870032e-9,0,.31795,.751,851719e-9,0,.341081,.732614,830671e-9,0,.365053,.713171,806569e-9,0,.389874,.693472,78338e-8,0,.415553,.673528,756404e-9,0,.442098,.653397,726872e-9,0,.469512,.633781,700494e-9,0,.497794,.613877,67105e-8,0,.526935,.593506,640361e-9,0,.556908,.573667,613502e-9,0,.587657,.553932,583177e-9,0,.61906,.534345,554375e-9,0,.650794,.515042,527811e-9,0,.68254,.495674,499367e-9,0,.714286,.477132,47429e-8,0,.746032,.458609,447726e-9,0,.777778,.440354,424205e-9,0,.809524,.422765,399549e-9,0,.84127,.405472,378315e-9,0,.873016,.388482,355327e-9,0,.904762,.372191,336122e-9,0,.936508,.356099,315247e-9,0,.968254,.340737,29794e-8,0,1,1,143327e-9,0,0,1,14333e-8,0,0,1,143366e-9,0,0,.999999,143524e-9,0,0,.999996,143952e-9,0,0,.999991,144862e-9,0,0,.999981,146544e-9,0,0,.999966,149391e-9,0,0,.999941,153946e-9,0,0,.999905,160971e-9,0,0,.999852,171562e-9,0,0,.99978,18729e-8,0,0,.999681,210386e-9,0,826239e-10,.999546,243906e-9,0,664807e-9,.999352,291739e-9,0,.00196192,.999027,357419e-9,0,.00405941,.997886,422349e-9,0,.00699664,.99419,385008e-9,0,.0107896,.99214,409775e-9,0,.0154415,.990274,456418e-9,0,.0209488,.988455,527008e-9,0,.0273037,.985804,597685e-9,0,.0344969,.98103,613124e-9,0,.0425183,.976674,668321e-9,0,.0513575,.972021,736985e-9,0,.0610046,.965274,773789e-9,0,.0714508,.958046,830852e-9,0,.0826877,.949333,875766e-9,0,.0947085,.939135,917088e-9,0,.107507,.927119,952244e-9,0,.121078,.91469,990626e-9,0,.135419,.903006,.00101304,0,.150526,.892368,.00103834,0,.166399,.880231,.00105002,0,.183038,.867432,.00106331,0,.200443,.853208,.00106783,0,.218618,.837956,.00106458,0,.237566,.821772,.00105945,0,.257291,.804328,.00104685,0,.2778,.786465,.00103178,0,.2991,.768004,.00101077,0,.321199,.74972,985504e-9,0,.344106,.731682,962893e-9,0,.36783,.712813,932146e-9,0,.392383,.693139,89871e-8,0,.417774,.673566,869678e-9,0,.444013,.653483,835525e-9,0,.471107,.633891,799853e-9,0,.49906,.614433,766838e-9,0,.527869,.594586,732227e-9,0,.557517,.574769,696442e-9,0,.587966,.555149,663935e-9,0,.61913,.535898,629826e-9,0,.650794,.516753,596486e-9,0,.68254,.497816,567078e-9,0,.714286,.479034,534399e-9,0,.746032,.460975,507013e-9,0,.777778,.442935,477421e-9,0,.809524,.425263,451101e-9,0,.84127,.408248,424964e-9,0,.873016,.391339,39993e-8,0,.904762,.37513,377619e-9,0,.936508,.359172,354418e-9,0,.968254,.343876,334823e-9,0,1,1,209042e-9,0,0,1,209045e-9,0,0,1,209093e-9,0,0,.999999,209304e-9,0,0,.999996,209871e-9,0,0,.999991,211078e-9,0,0,.999979,213304e-9,0,0,.999963,217061e-9,0,0,.999933,223042e-9,0,0,.999894,232206e-9,0,0,.999837,245901e-9,0,0,.999756,266023e-9,0,102927e-11,.999648,295204e-9,0,233468e-9,.999499,336958e-9,0,.00108237,.999283,395563e-9,0,.00268832,.998896,473785e-9,0,.00511138,.997006,520008e-9,0,.00837705,.993819,497261e-9,0,.0124928,.991632,523722e-9,0,.0174561,.989875,587258e-9,0,.0232596,.988109,676329e-9,0,.0298932,.985155,747701e-9,0,.0373453,.980479,768803e-9,0,.0456045,.976271,841054e-9,0,.0546593,.971347,911469e-9,0,.0644994,.964528,953057e-9,0,.0751152,.957632,.00102221,0,.0864981,.948681,.00106122,0,.0986407,.938716,.00111857,0,.111537,.926629,.00114762,0,.125182,.914025,.00118995,0,.139571,.901026,.00121228,0,.154703,.890358,.00123946,0,.170576,.878283,.0012527,0,.18719,.865459,.00125536,0,.204547,.851407,.00126134,0,.222648,.836276,.00124759,0,.241498,.820436,.00124443,0,.261101,.803253,.00122071,0,.281465,.785562,.00120107,0,.302595,.76718,.00117762,0,.324501,.748551,.00114289,0,.347192,.730564,.00110872,0,.370679,.712253,.00107636,0,.394973,.692867,.00103646,0,.420085,.673695,996793e-9,0,.446027,.653912,95675e-8,0,.47281,.634129,916739e-9,0,.500441,.615004,874401e-9,0,.528921,.595587,833411e-9,0,.558244,.575965,794556e-9,0,.588384,.5566,75196e-8,0,.619281,.537428,716381e-9,0,.650795,.518623,676558e-9,0,.68254,.499964,64074e-8,0,.714286,.481356,605984e-9,0,.746032,.463279,570256e-9,0,.777778,.445673,540138e-9,0,.809524,.428032,507299e-9,0,.84127,.411112,479553e-9,0,.873016,.394444,450737e-9,0,.904762,.378247,424269e-9,0,.936508,.362415,399111e-9,0,.968254,.347103,375274e-9,0,1,1,300729e-9,0,0,1,300733e-9,0,0,1,300797e-9,0,0,.999998,301072e-9,0,0,.999996,301817e-9,0,0,.999989,303398e-9,0,0,.999977,306309e-9,0,0,.999958,311209e-9,0,0,.999927,318975e-9,0,0,.999884,330804e-9,0,0,.99982,34834e-8,0,0,.999733,373854e-9,0,326995e-10,.999613,410424e-9,0,477174e-9,.999447,462047e-9,0,.00161099,.999204,533322e-9,0,.00353153,.998725,624964e-9,0,.00627965,.995871,631786e-9,0,.0098693,.993194,632017e-9,0,.0143011,.991541,68923e-8,0,.019568,.989773,766892e-9,0,.0256593,.987647,863668e-9,0,.0325625,.984193,922089e-9,0,.0402647,.980016,970749e-9,0,.0487532,.975859,.00106027,0,.058016,.970514,.00112239,0,.0680419,.963625,.00117212,0,.0788208,.956959,.00125211,0,.0903439,.947956,.00129411,0,.102604,.93809,.00135879,0,.115594,.92659,.00139309,0,.129309,.913829,.00143253,0,.143745,.90005,.00145809,0,.158901,.888129,.0014748,0,.174774,.87607,.00148756,0,.191365,.863461,.00148714,0,.208674,.849594,.00148892,0,.226705,.834531,.00146496,0,.245461,.81903,.0014579,0,.264947,.802122,.00143039,0,.28517,.78445,.00139717,0,.306137,.766434,.00136312,0,.327857,.747816,.00132597,0,.350341,.729519,.00128323,0,.373598,.711454,.00123803,0,.397642,.692699,.00119097,0,.422485,.673723,.00114565,0,.448139,.654386,.00109552,0,.474619,.634673,.00104553,0,.501933,.615554,99985e-8,0,.530089,.596462,948207e-9,0,.559087,.577385,902299e-9,0,.588913,.558257,856448e-9,0,.619525,.5392,810395e-9,0,.650826,.520543,768558e-9,0,.68254,.502206,7239e-7,0,.714286,.48402,685794e-9,0,.746032,.465779,64471e-8,0,.777778,.448455,609583e-9,0,.809524,.431091,57227e-8,0,.84127,.414147,54042e-8,0,.873016,.39765,506545e-9,0,.904762,.381576,477635e-9,0,.936508,.365881,448446e-9,0,.968254,.350582,421424e-9,0,1,1,427144e-9,0,0,1,427151e-9,0,0,1,427232e-9,0,0,.999998,42759e-8,0,0,.999995,428555e-9,0,0,.999988,430603e-9,0,0,.999976,434368e-9,0,0,.999952,440688e-9,0,0,.999919,450667e-9,0,0,.999871,46578e-8,0,0,.999801,488024e-9,0,0,.999704,520092e-9,0,129791e-9,.999572,565553e-9,0,821056e-9,.999389,628906e-9,0,.00225241,.999114,714911e-9,0,.00449109,.998488,819218e-9,0,.00756249,.995234,80415e-8,0,.0114716,.993021,830181e-9,0,.0162131,.991407,902645e-9,0,.021776,.989625,996934e-9,0,.0281471,.987064,.00109707,0,.0353118,.983265,.00114353,0,.0432562,.979535,.0012272,0,.0519665,.975224,.00132642,0,.0614298,.969574,.00138092,0,.0716348,.963021,.00145896,0,.0825709,.956046,.00152834,0,.094229,.947136,.00158217,0,.106602,.937313,.0016347,0,.119682,.926073,.00168383,0,.133465,.913121,.00171627,0,.147947,.899165,.00174229,0,.163125,.885891,.00176137,0,.178998,.873783,.00176406,0,.195566,.861331,.00176156,0,.21283,.847569,.00175346,0,.230793,.832785,.00172753,0,.249459,.817442,.00170204,0,.268832,.800613,.00166576,0,.28892,.783597,.00162909,0,.30973,.76571,.0015826,0,.331271,.747021,.00153106,0,.353554,.728593,.00148036,0,.37659,.710661,.00142808,0,.400391,.692426,.00136906,0,.424973,.673623,.00131066,0,.450347,.65494,.00125569,0,.476531,.635448,.00119517,0,.503535,.616221,.00113828,0,.531372,.597531,.0010816,0,.560047,.578795,.00102673,0,.589554,.559892,970985e-9,0,.619869,.541307,919773e-9,0,.650923,.522608,868479e-9,0,.68254,.504484,82137e-8,0,.714286,.486603,772916e-9,0,.746032,.468802,730353e-9,0,.777778,.451172,684955e-9,0,.809524,.434348,647565e-9,0,.84127,.417445,605863e-9,0,.873016,.401077,571885e-9,0,.904762,.385039,536034e-9,0,.936508,.369483,504227e-9,0,.968254,.354272,473165e-9,0,1,1,599525e-9,0,0,1,599533e-9,0,0,1,599639e-9,0,0,.999998,600097e-9,0,0,.999994,601336e-9,0,0,.999987,603958e-9,0,0,.999972,608775e-9,0,0,.999949,616842e-9,0,0,.999912,629534e-9,0,0,.999857,648658e-9,0,0,.999781,676615e-9,0,538873e-11,.999674,716574e-9,0,308602e-9,.999528,772641e-9,0,.00127003,.999326,849806e-9,0,.00300783,.999009,952682e-9,0,.00556637,.998112,.00106394,0,.00895889,.994496,.00102228,0,.0131827,.992806,.00108586,0,.0182277,.991211,.0011759,0,.0240795,.989415,.00128955,0,.030723,.986499,.00139038,0,.0381418,.982679,.00144539,0,.046321,.978839,.00153954,0,.0552459,.974295,.00164417,0,.0649034,.968784,.00171517,0,.0752814,.962324,.00180282,0,.0863693,.954956,.00186387,0,.0981578,.94624,.00193817,0,.110639,.936517,.00198156,0,.123806,.925186,.00203042,0,.137655,.91252,.0020664,0,.15218,.898441,.00207822,0,.16738,.884394,.0020992,0,.183253,.871273,.00208748,0,.199799,.859057,.00208686,0,.21702,.845243,.00205519,0,.234918,.830723,.00202868,0,.253496,.815801,.00199501,0,.272761,.79914,.00194193,0,.292719,.782372,.00188824,0,.313377,.76482,.00183695,0,.334745,.746586,.00177418,0,.356833,.7281,.00170628,0,.379654,.709842,.00164063,0,.403221,.692019,.00157355,0,.427548,.67364,.00150262,0,.452651,.655277,.00143473,0,.478545,.636438,.00136371,0,.505246,.617364,.00129911,0,.532768,.598603,.00123014,0,.561122,.580195,.00116587,0,.590309,.561786,.00110398,0,.620318,.543377,.00104148,0,.651102,.525093,983984e-9,0,.682545,.506791,92667e-8,0,.714286,.489291,874326e-9,0,.746032,.471811,821734e-9,0,.777778,.454435,774698e-9,0,.809524,.437493,727302e-9,0,.84127,.420977,684039e-9,0,.873016,.404729,64373e-8,0,.904762,.388756,60285e-8,0,.936508,.373344,56765e-8,0,.968254,.358191,531929e-9,0,1,1,832169e-9,0,0,1,832178e-9,0,0,1,83231e-8,0,0,.999998,832893e-9,0,0,.999995,834465e-9,0,0,.999985,837791e-9,0,0,.999969,843893e-9,0,0,.999944,854086e-9,0,0,.999903,870071e-9,0,0,.999843,894042e-9,0,0,.999759,928865e-9,0,531805e-10,.999643,978242e-9,0,579365e-9,.99948,.00104684,0,.00182774,.999255,.00114012,0,.00387804,.998885,.00126188,0,.00675709,.997405,.00135888,0,.010468,.99424,.00133626,0,.0150018,.992458,.00140905,0,.0203443,.990929,.00152305,0,.0264786,.989116,.00165882,0,.0333875,.985624,.00174128,0,.0410536,.982003,.00182108,0,.0494609,.978336,.00194498,0,.0585941,.973184,.00202708,0,.0684396,.9678,.00212166,0,.0789851,.961348,.00221366,0,.0902199,.953841,.00228219,0,.102134,.94534,.00235662,0,.114721,.935552,.00240572,0,.127972,.924064,.00244405,0,.141884,.911827,.00247557,0,.156451,.897731,.00248374,0,.171672,.883409,.00249863,0,.187545,.868625,.00246688,0,.20407,.856529,.00246523,0,.221249,.842999,.00242368,0,.239083,.828505,.00237354,0,.257578,.813825,.00232588,0,.276738,.797813,.00226731,0,.296569,.781097,.00219704,0,.31708,.764038,.00212394,0,.338281,.746067,.00204786,0,.360181,.727687,.00196728,0,.382794,.709571,.00188779,0,.406133,.691503,.00180532,0,.430213,.673673,.00171849,0,.45505,.655732,.00164147,0,.480662,.637399,.00155858,0,.507065,.618616,.00147641,0,.534278,.60005,.00140125,0,.562313,.581713,.00132441,0,.59118,.563546,.00125014,0,.620875,.545605,.00118249,0,.651373,.527559,.0011116,0,.682593,.509764,.00104979,0,.714286,.49193,985977e-9,0,.746032,.475011,928592e-9,0,.777778,.457878,873466e-9,0,.809524,.440979,819585e-9,0,.84127,.424613,772365e-9,0,.873016,.408549,722195e-9,0,.904762,.392771,680014e-9,0,.936508,.377317,636797e-9,0,.968254,.362352,598318e-9,0,1,1,.00114313,0,0,1,.00114314,0,0,.999999,.00114331,0,0,.999998,.00114404,0,0,.999994,.00114601,0,0,.999984,.00115019,0,0,.999967,.00115784,0,0,.999937,.0011706,0,0,.999894,.00119054,0,0,.999828,.00122031,0,0,.999735,.00126331,0,169263e-9,.999606,.00132382,0,949167e-9,.999426,.0014071,0,.00249668,.999173,.00151895,0,.00486392,.99873,.00166102,0,.00806323,.996243,.0017023,0,.0120895,.993779,.00172782,0,.0169288,.9919,.0018108,0,.0225633,.990524,.00196028,0,.028974,.98868,.00212014,0,.036142,.984663,.00217598,0,.044049,.981457,.00230563,0,.0526781,.977608,.00243966,0,.0620137,.972215,.00251336,0,.0720418,.966798,.0026285,0,.0827499,.960241,.00271409,0,.0941271,.952489,.00278381,0,.106164,.944127,.00285399,0,.118852,.934282,.00290994,0,.132185,.923271,.00294558,0,.146157,.910803,.00296269,0,.160766,.896705,.00296803,0,.176007,.88238,.00296637,0,.19188,.867116,.00293163,0,.208385,.853636,.00289418,0,.225523,.840469,.00284663,0,.243296,.82639,.00278594,0,.261709,.811759,.00271618,0,.280767,.796113,.00263187,0,.300476,.779518,.00254589,0,.320845,.763142,.00246003,0,.341883,.745464,.00236529,0,.363601,.727491,.00226536,0,.386011,.709414,.00216375,0,.409128,.691396,.00207127,0,.432967,.67368,.00197106,0,.457545,.656049,.00187022,0,.482881,.638188,.00177605,0,.508992,.620177,.00168482,0,.535899,.601506,.00158909,0,.563619,.58362,.00150583,0,.592165,.565496,.00141791,0,.621544,.54789,.00133693,0,.651743,.530323,.00126038,0,.682709,.512795,.00118556,0,.714286,.495199,.00111527,0,.746032,.478101,.0010489,0,.777778,.461511,984264e-9,0,.809524,.444879,92591e-8,0,.84127,.428424,866582e-9,0,.873016,.412495,814463e-9,0,.904762,.396975,764498e-9,0,.936508,.381614,715967e-9,0,.968254,.366732,672483e-9,0,1,1,.00155501,0,0,1,.00155503,0,0,1,.00155524,0,0,.999998,.00155615,0,0,.999994,.0015586,0,0,.999983,.00156379,0,0,.999963,.0015733,0,0,.999932,.00158911,0,0,.999882,.00161376,0,0,.99981,.00165041,0,100875e-10,.999708,.00170304,0,367658e-9,.999565,.00177658,0,.0014234,.999368,.00187688,0,.00327939,.999081,.00200989,0,.00596629,.99852,.00217177,0,.0094852,.99549,.0021745,0,.013824,.993252,.00222357,0,.0189642,.991727,.00235022,0,.0248856,.989951,.00250561,0,.0315669,.988029,.00268829,0,.0389882,.984029,.0027496,0,.0471302,.980683,.00289793,0,.0559754,.976554,.00303315,0,.0655081,.97139,.00313257,0,.0757138,.965544,.00323656,0,.08658,.95912,.00333432,0,.0980954,.951183,.0034039,0,.110251,.942974,.00347515,0,.123038,.932642,.00350381,0,.13645,.922158,.00354519,0,.150482,.909404,.00353851,0,.165129,.896071,.0035435,0,.18039,.881206,.00349936,0,.196263,.866077,.00347256,0,.212748,.85093,.003415,0,.229847,.837703,.00333367,0,.247561,.823878,.003249,0,.265895,.809449,.00316347,0,.284854,.794379,.00306351,0,.304445,.778138,.0029499,0,.324675,.761997,.00284099,0,.345555,.744938,.00272104,0,.367095,.727212,.00260715,0,.389309,.709549,.00248855,0,.41221,.691704,.00236783,0,.435814,.673689,.00225178,0,.460138,.656453,.00213765,0,.485203,.639128,.00202178,0,.511028,.621512,.00191443,0,.537634,.603598,.00180977,0,.565041,.58559,.00170456,0,.593268,.567852,.00160927,0,.622327,.5503,.00151395,0,.652217,.533033,.00142499,0,.682907,.515942,.00133955,0,.714296,.498814,.0012602,0,.746032,.481595,.00118188,0,.777778,.465117,.00111171,0,.809524,.448865,.00104091,0,.84127,.432711,976618e-9,0,.873016,.416822,91859e-8,0,.904762,.401272,857704e-9,0,.936508,.386226,807172e-9,0,.968254,.371321,75464e-8,0,1,1,.00209596,0,0,1,.00209598,0,0,1,.00209624,0,0,.999997,.00209736,0,0,.999991,.00210039,0,0,.999979,.00210678,0,0,.999959,.00211847,0,0,.999925,.0021379,0,0,.99987,.00216809,0,0,.999791,.00221281,0,681487e-10,.999677,.00227669,0,658161e-9,.999521,.00236533,0,.00200635,.999301,.00248514,0,.0041779,.998977,.00264185,0,.00718648,.998191,.00281695,0,.0110239,.994801,.00278518,0,.015672,.993091,.00288774,0,.0211091,.991571,.00303931,0,.0273123,.9897,.00321643,0,.034259,.987023,.00337332,0,.0419282,.983289,.00346146,0,.0502998,.979892,.00363704,0,.0593562,.975111,.00373601,0,.069081,.970351,.0038842,0,.0794598,.964131,.00397053,0,.0904798,.957747,.00408078,0,.10213,.949536,.00413533,0,.1144,.941372,.00420305,0,.127284,.931049,.00422815,0,.140772,.920647,.00425048,0,.154862,.908033,.0042281,0,.169548,.895028,.00422026,0,.184828,.879968,.00415042,0,.200701,.864875,.00408821,0,.217167,.84918,.00400909,0,.234227,.834934,.00391178,0,.251884,.821397,.00380066,0,.270141,.807135,.00367974,0,.289004,.792363,.00355172,0,.308479,.776661,.003411,0,.328575,.760705,.00328123,0,.349301,.744408,.00314003,0,.370668,.726994,.0029906,0,.392689,.709598,.00285034,0,.415379,.692112,.00271179,0,.438754,.674435,.00257185,0,.46283,.65676,.00243425,0,.48763,.639982,.00230351,0,.513173,.622983,.0021777,0,.539482,.605471,.00204991,0,.566579,.58796,.00193759,0,.594488,.570463,.00181976,0,.623226,.553058,.00171497,0,.6528,.535894,.00161109,0,.683198,.519089,.00151394,0,.714354,.502454,.00142122,0,.746032,.485681,.00133488,0,.777778,.468935,.00124975,0,.809524,.452951,.00117309,0,.84127,.437139,.00110155,0,.873016,.421446,.00103124,0,.904762,.405951,966387e-9,0,.936508,.391003,908119e-9,0,.968254,.376198,848057e-9,0,1,1,.00280076,0,0,1,.00280078,0,0,.999999,.00280109,0,0,.999997,.00280246,0,0,.999992,.00280616,0,0,.999979,.00281396,0,0,.999956,.00282822,0,0,.999916,.00285186,0,0,.999857,.0028885,0,0,.999768,.00294259,0,196026e-9,.999645,.00301946,0,.00104842,.99947,.00312541,0,.00270199,.999229,.00326733,0,.00519449,.998852,.00344992,0,.00852602,.997558,.00361052,0,.0126804,.994417,.0035898,0,.017635,.992824,.00372393,0,.023365,.991344,.00390695,0,.0298456,.989337,.00410392,0,.0370529,.985811,.00420987,0,.0449651,.982772,.00437488,0,.0535615,.979001,.00455069,0,.0628243,.974102,.00464462,0,.0727368,.969197,.00480577,0,.0832844,.962759,.00487818,0,.0944545,.956207,.00498176,0,.106236,.947909,.00503392,0,.118619,.939596,.00507474,0,.131595,.929642,.00509798,0,.145159,.918807,.00508476,0,.159305,.906921,.00505634,0,.174028,.893312,.00498845,0,.189327,.878933,.0049133,0,.2052,.863986,.0048259,0,.221647,.847936,.00470848,0,.23867,.832253,.00456889,0,.25627,.818619,.00442726,0,.274453,.804788,.00427677,0,.293222,.790241,.00411906,0,.312585,.775162,.00394833,0,.33255,.759463,.00377366,0,.353126,.743598,.00361026,0,.374324,.72697,.00343627,0,.396158,.709646,.00326422,0,.418641,.69277,.00309717,0,.44179,.675371,.0029356,0,.465624,.657863,.00277712,0,.490163,.640772,.00261738,0,.515429,.624441,.0024737,0,.541445,.607497,.00233125,0,.568236,.590438,.00218994,0,.595828,.573224,.0020664,0,.624242,.556168,.00193526,0,.653496,.539232,.00182463,0,.683588,.522352,.00170735,0,.714482,.506172,.00160555,0,.746032,.489842,.00150451,0,.777778,.473463,.00140938,0,.809524,.457266,.00132568,0,.84127,.441609,.0012376,0,.873016,.426348,.00116265,0,.904762,.411002,.00108935,0,.936508,.396045,.00101946,0,.968254,.381448,955665e-9,0,1,1,.0037121,0,0,1,.00371213,0,0,1,.00371251,0,0,.999997,.00371417,0,0,.99999,.00371863,0,0,.999977,.00372807,0,0,.99995,.00374529,0,0,.999908,.0037738,0,0,.999843,.00381789,0,123596e-10,.999745,.00388273,0,407442e-9,.999608,.00397443,0,.0015447,.999415,.00409998,0,.00351385,.999143,.00426662,0,.0063316,.9987,.00447625,0,.00998679,.996363,.00455323,0,.0144569,.994021,.00461052,0,.0197151,.992372,.00476359,0,.0257344,.991007,.00499101,0,.0324882,.988767,.0051972,0,.0399517,.984872,.00528407,0,.0481022,.982004,.00548926,0,.0569191,.977714,.00564385,0,.0663839,.973076,.0057693,0,.0764801,.967565,.0058924,0,.0871928,.961384,.00599629,0,.0985095,.954435,.00605998,0,.110419,.946303,.0061133,0,.122912,.937662,.00612028,0,.13598,.927867,.00612209,0,.149617,.916475,.00604813,0,.163817,.90541,.00603088,0,.178577,.891591,.00592218,0,.193894,.877573,.00578854,0,.209767,.862511,.00566648,0,.226196,.846861,.00551481,0,.243182,.83068,.00533754,0,.260728,.815725,.00515487,0,.278837,.802321,.0049655,0,.297515,.787826,.00475421,0,.316768,.773454,.00456002,0,.336605,.758224,.00434727,0,.357034,.74265,.00414444,0,.378067,.726729,.00393738,0,.399717,.710155,.00373575,0,.421998,.693312,.00353736,0,.444928,.67653,.00334368,0,.468523,.659444,.00315981,0,.492806,.642051,.00297809,0,.517798,.625758,.00280592,0,.543525,.609615,.00264254,0,.570012,.592919,.00248459,0,.597288,.576298,.00233327,0,.625379,.559489,.00219519,0,.654307,.542891,.00205441,0,.684084,.526255,.00193385,0,.714693,.509853,.00180745,0,.746044,.494131,.00169817,0,.777778,.478114,.0015913,0,.809524,.462274,.00148981,0,.84127,.446412,.00139537,0,.873016,.431274,.00130984,0,.904762,.41635,.00122403,0,.936508,.401476,.00114809,0,.968254,.386993,.00107563,0,1,1,.00488216,0,0,1,.0048822,0,0,1,.00488265,0,0,.999997,.00488463,0,0,.999988,.00488999,0,0,.999974,.00490129,0,0,.999946,.00492191,0,0,.999897,.00495598,0,0,.999825,.00500855,0,744791e-10,.999718,.00508559,0,712744e-9,.999565,.005194,0,.00215249,.999352,.00534147,0,.00444576,.999046,.00553523,0,.00759218,.998492,.00577016,0,.0115714,.995564,.00578487,0,.0163557,.993339,.00586414,0,.021915,.991834,.00606002,0,.0282201,.990496,.00633312,0,.0352433,.987826,.00651941,0,.042959,.98383,.00660842,0,.0513439,.98109,.00685523,0,.0603772,.976131,.00695778,0,.0700402,.971922,.00714236,0,.0803163,.965901,.00721437,0,.0911908,.959606,.00732017,0,.102651,.952504,.00735788,0,.114686,.944365,.00738493,0,.127286,.935652,.00737969,0,.140443,.925813,.00733612,0,.154151,.914397,.00723094,0,.168405,.903257,.00714002,0,.183201,.890015,.00700149,0,.198536,.876014,.00682813,0,.214409,.861436,.00665567,0,.23082,.845752,.00644526,0,.24777,.829169,.00621635,0,.265263,.813435,.00597789,0,.283301,.799701,.00575694,0,.301889,.785726,.00549866,0,.321035,.77152,.0052503,0,.340746,.75683,.00499619,0,.361032,.741951,.0047543,0,.381904,.726367,.0045084,0,.403374,.710537,.00426784,0,.425457,.693965,.00403487,0,.448169,.677724,.0038075,0,.47153,.66117,.00359431,0,.495561,.644274,.00338354,0,.520284,.627449,.00318163,0,.545725,.611645,.00299672,0,.571911,.595614,.00281016,0,.598873,.579426,.00264252,0,.62664,.563016,.00247509,0,.655239,.546728,.00232647,0,.684692,.530539,.00217803,0,.714999,.514164,.00204216,0,.746106,.498344,.00191403,0,.777778,.482957,.00179203,0,.809524,.467336,.00167695,0,.84127,.451994,.00157567,0,.873016,.436514,.00147113,0,.904762,.42178,.00138034,0,.936508,.407271,.00129219,0,.968254,.392822,.0012098,0,1,1,.00637427,0,0,1,.00637431,0,0,.999999,.00637485,0,0,.999996,.00637721,0,0,.999987,.00638357,0,0,.999971,.006397,0,0,.999939,.00642142,0,0,.999888,.00646177,0,0,.999807,.00652387,0,207916e-9,.999689,.00661454,0,.00112051,.99952,.00674155,0,.00287719,.999283,.00691313,0,.00550145,.998936,.00713598,0,.00897928,.998165,.00738501,0,.0132829,.994847,.00734388,0,.01838,.993182,.00749991,0,.0242381,.991665,.0077246,0,.030826,.989708,.00797579,0,.0381152,.986663,.00813011,0,.0460794,.983288,.00830365,0,.0546951,.980104,.00853496,0,.0639411,.974855,.00861045,0,.0737988,.97045,.00879133,0,.0842516,.964509,.00886377,0,.0952848,.957594,.00890346,0,.106886,.950546,.00893289,0,.119044,.942225,.00890074,0,.131749,.933365,.00886826,0,.144994,.923202,.0087316,0,.158772,.912605,.00863082,0,.173078,.901099,.00847403,0,.187908,.888177,.00825838,0,.203261,.873955,.00801834,0,.219134,.860091,.00779026,0,.235527,.84434,.00752478,0,.252443,.828517,.00724074,0,.269883,.81239,.00693769,0,.287851,.79721,.00664817,0,.306352,.783489,.00634763,0,.325393,.769514,.00604221,0,.344981,.755419,.00573568,0,.365126,.741083,.00544359,0,.385839,.726059,.00515515,0,.407132,.710809,.00487139,0,.42902,.695052,.00459846,0,.45152,.678886,.00433412,0,.474651,.663042,.00407981,0,.498433,.646634,.00384264,0,.52289,.630117,.00360897,0,.548048,.613804,.00338863,0,.573936,.598338,.00318486,0,.600584,.582687,.00298377,0,.628027,.566809,.00280082,0,.656295,.550817,.00262255,0,.685417,.534937,.00245835,0,.715406,.519151,.00230574,0,.74624,.503118,.0021549,0,.777778,.487723,.00202008,0,.809524,.472725,.00189355,0,.84127,.457599,.00177108,0,.873016,.442558,.00165843,0,.904762,.427624,.00155494,0,.936508,.413171,.00145273,0,.968254,.399122,.00136454,0,1,1,.00826496,0,0,1,.00826499,0,0,1,.00826564,0,0,.999996,.00826842,0,0,.999987,.00827589,0,0,.999967,.00829167,0,0,.999933,.00832037,0,0,.999876,.00836768,0,109338e-10,.999786,.00844031,0,427145e-9,.999655,.00854603,0,.0016384,.999468,.00869337,0,.00372392,.999203,.008891,0,.00668513,.998803,.00914387,0,.0104968,.99748,.00935838,0,.015125,.994446,.00933309,0,.0205338,.99292,.00953084,0,.0266884,.991414,.0097893,0,.0335565,.989049,.0100228,0,.0411086,.98582,.0101664,0,.0493181,.982441,.0103582,0,.0581613,.978595,.0105292,0,.0676169,.973495,.0106274,0,.0776661,.968405,.0107261,0,.0882926,.962717,.0108234,0,.0994817,.955478,.0108102,0,.111221,.948275,.0107914,0,.123499,.940006,.0107161,0,.136308,.930831,.0106309,0,.149639,.920648,.0104083,0,.163485,.910205,.0102312,0,.177843,.898445,.0100051,0,.192707,.885986,.00971928,0,.208077,.872204,.00940747,0,.22395,.858436,.0091085,0,.240326,.843454,.00876595,0,.257208,.827437,.00839794,0,.274596,.811488,.00803692,0,.292496,.796039,.00767352,0,.310911,.781083,.0073097,0,.329849,.767642,.00694032,0,.349316,.753901,.00657476,0,.369323,.740131,.00622699,0,.38988,.725845,.0058838,0,.410999,.710991,.00555586,0,.432696,.696002,.00523089,0,.454987,.680461,.00492494,0,.47789,.664875,.00463464,0,.501426,.649273,.00435422,0,.52562,.63302,.0040875,0,.550498,.61705,.00384075,0,.576089,.601154,.00359557,0,.602427,.586008,.00337636,0,.629544,.570699,.00316019,0,.657479,.555166,.00296033,0,.686264,.539645,.00277552,0,.715924,.524159,.00259499,0,.746459,.508682,.00243257,0,.777789,.493163,.00227851,0,.809524,.478004,.00213083,0,.84127,.46347,.00199502,0,.873016,.448778,.00186967,0,.904762,.434105,.00174732,0,.936508,.419576,.00163861,0,.968254,.405541,.00153341,0,1,1,.0106462,0,0,1,.0106462,0,0,.999999,.010647,0,0,.999995,.0106502,0,0,.999985,.0106589,0,0,.999964,.0106773,0,0,.999925,.0107106,0,0,.999861,.0107655,0,712986e-10,.999763,.0108497,0,743959e-9,.999616,.0109716,0,.00227361,.999408,.0111408,0,.0046983,.999112,.0113659,0,.00800158,.998637,.0116475,0,.0121493,.996223,.0117231,0,.0171023,.994006,.0118064,0,.0228218,.992444,.0120254,0,.0292711,.991028,.0123314,0,.036417,.98803,.0124954,0,.0442295,.984816,.0126538,0,.0526815,.981399,.0128537,0,.0617492,.977085,.0129694,0,.0714114,.972154,.013091,0,.0816495,.966617,.0131166,0,.0924472,.960628,.0131583,0,.10379,.953295,.0131094,0,.115665,.94575,.0129966,0,.128062,.937654,.0128796,0,.140972,.927716,.0126477,0,.154387,.917932,.0123889,0,.168301,.907719,.012131,0,.182709,.89584,.0118013,0,.197608,.883526,.0114145,0,.212994,.870301,.0110075,0,.228867,.856272,.0106019,0,.245227,.842251,.0101938,0,.262074,.826466,.00973254,0,.279412,.810859,.0092846,0,.297244,.795051,.00883304,0,.315575,.780053,.00840272,0,.334412,.76575,.00796438,0,.35376,.752298,.00752526,0,.373631,.739153,.00711486,0,.394034,.725514,.00670361,0,.414983,.711473,.00632656,0,.436491,.696936,.00595206,0,.458575,.682126,.00559191,0,.481253,.667027,.00525362,0,.504547,.651875,.00493805,0,.528481,.636463,.00462848,0,.553081,.620641,.00433936,0,.578377,.604931,.00407,0,.604404,.589549,.00380864,0,.631197,.574712,.00357049,0,.658795,.559775,.00334466,0,.687238,.544514,.00312505,0,.716559,.529555,.00293199,0,.746776,.514402,.00274204,0,.777849,.499302,.00256647,0,.809524,.484114,.00239901,0,.84127,.469308,.00225148,0,.873016,.455133,.00210178,0,.904762,.440939,.0019727,0,.936508,.426627,.00184382,0,.968254,.412509,.00172548,0,1,1,.013628,0,0,1,.0136281,0,0,.999999,.0136289,0,0,.999995,.0136327,0,0,.999983,.0136427,0,0,.99996,.0136638,0,0,.999917,.0137022,0,0,.999846,.0137652,0,204597e-9,.999736,.0138615,0,.00116837,.999573,.0140007,0,.00303325,.99934,.0141927,0,.00580613,.999004,.0144457,0,.00945626,.998407,.0147489,0,.0139421,.995464,.014731,0,.0192202,.993328,.0148283,0,.0252495,.991799,.0150797,0,.0319921,.990397,.0154316,0,.0394138,.986835,.0155005,0,.0474843,.983938,.0157308,0,.0561763,.980154,.0158753,0,.0654661,.975659,.0159581,0,.0753326,.970171,.0159832,0,.0857571,.964803,.0160084,0,.0967236,.958366,.0159484,0,.108218,.950613,.0158001,0,.120227,.942874,.0155845,0,.132741,.935005,.0154292,0,.145751,.924991,.0150742,0,.159249,.914814,.0146757,0,.17323,.904743,.0143097,0,.187687,.893216,.0138695,0,.202619,.880769,.0133706,0,.218021,.868136,.0128606,0,.233894,.85469,.0123403,0,.250238,.840593,.0118091,0,.267052,.825808,.011253,0,.284341,.81009,.0107099,0,.302106,.79504,.0101636,0,.320354,.779757,.00964041,0,.33909,.764697,.00911896,0,.358322,.750913,.00859533,0,.378059,.738175,.00811592,0,.398311,.725242,.00764504,0,.41909,.711864,.00718885,0,.440412,.698009,.00675843,0,.462292,.683841,.00634984,0,.484748,.669391,.00595502,0,.507802,.654731,.00558671,0,.531477,.639805,.00523578,0,.555802,.624789,.00490834,0,.580805,.609325,.00459448,0,.606522,.593975,.00430342,0,.63299,.578983,.00403019,0,.66025,.564442,.0037707,0,.688346,.549835,.0035316,0,.717319,.535039,.00330255,0,.7472,.520403,.00308932,0,.777982,.505687,.00289335,0,.809524,.490939,.00270818,0,.84127,.476233,.0025343,0,.873016,.461624,.00237097,0,.904762,.447833,.00222065,0,.936508,.433992,.00207561,0,.968254,.420147,.00194955,0,1,1,.0173415,0,0,1,.0173416,0,0,.999999,.0173426,0,0,.999995,.0173468,0,0,.999983,.0173582,0,0,.999954,.0173822,0,0,.999908,.0174258,0,669501e-11,.999828,.0174973,0,427399e-9,.999705,.0176063,0,.00171019,.999524,.0177631,0,.0039248,.999263,.0179781,0,.00705382,.998878,.018258,0,.0110552,.998012,.0185551,0,.0158812,.994614,.0184264,0,.0214852,.993132,.0186385,0,.0278239,.991563,.0189067,0,.0348585,.989298,.0191577,0,.0425544,.986036,.0192522,0,.050881,.982558,.0194063,0,.059811,.978531,.019486,0,.0693209,.974198,.0195847,0,.0793895,.968148,.0194749,0,.0899984,.962565,.0194277,0,.101132,.956041,.0192991,0,.112775,.947749,.0189893,0,.124917,.94018,.018704,0,.137547,.93165,.0183458,0,.150655,.921798,.0178775,0,.164236,.911573,.0173618,0,.178281,.901569,.0168482,0,.192788,.890341,.016265,0,.207752,.877835,.0156199,0,.223171,.865472,.0149516,0,.239044,.852905,.0143274,0,.255371,.838906,.0136643,0,.272153,.824888,.0129903,0,.289393,.809977,.0123218,0,.307093,.794697,.0116572,0,.325259,.780028,.0110307,0,.343896,.765124,.0104236,0,.363012,.750411,.0098219,0,.382617,.737264,.00924397,0,.402719,.724799,.00868719,0,.423332,.712253,.00816476,0,.444469,.699267,.00767262,0,.466146,.685618,.00719746,0,.488383,.671736,.00673916,0,.511199,.657777,.00631937,0,.534618,.643497,.00592411,0,.558668,.62889,.00553928,0,.58338,.614299,.0051934,0,.608787,.599197,.00485985,0,.634929,.584175,.00454357,0,.661849,.569541,.00425787,0,.689594,.555193,.00397905,0,.718211,.540947,.00372364,0,.747742,.526593,.00348599,0,.778205,.512335,.00326103,0,.80953,.498017,.00305137,0,.84127,.483609,.00285485,0,.873016,.469368,.00267472,0,.904762,.455037,.00249945,0,.936508,.441493,.00234792,0,.968254,.428147,.00219936,0,1,1,.0219422,0,0,1,.0219423,0,0,.999998,.0219434,0,0,.999993,.0219481,0,0,.999981,.021961,0,0,.999949,.0219879,0,0,.999896,.0220367,0,593194e-10,.999808,.0221167,0,75364e-8,.99967,.0222383,0,.00237884,.999466,.0224125,0,.00495612,.999174,.0226495,0,.00844887,.998725,.0229525,0,.0128058,.996979,.0231123,0,.0179742,.994317,.0230742,0,.0239047,.992781,.0232895,0,.0305526,.991191,.0235734,0,.0378786,.987787,.0236152,0,.0458475,.985092,.0237994,0,.0544287,.981121,.0238553,0,.0635952,.976924,.0238706,0,.0733233,.97218,.0238704,0,.0835922,.965956,.0236598,0,.0943839,.959998,.0234735,0,.105682,.953245,.0232277,0,.117474,.944445,.0226973,0,.129747,.937087,.0223527,0,.142491,.928341,.0218144,0,.155697,.9184,.0211516,0,.169358,.907959,.0204553,0,.183469,.89808,.0197673,0,.198024,.887047,.0189915,0,.21302,.875221,.0182082,0,.228455,.86269,.0173584,0,.244329,.850735,.0165718,0,.260639,.837545,.0157524,0,.277389,.823639,.0149482,0,.29458,.809699,.0141431,0,.312216,.794797,.0133527,0,.3303,.780578,.0126193,0,.34884,.766019,.0118914,0,.367842,.751447,.0111839,0,.387315,.737275,.010514,0,.40727,.724545,.00987277,0,.427717,.712644,.00926569,0,.448671,.700432,.00869029,0,.470149,.687664,.00814691,0,.492167,.674288,.00763012,0,.514746,.660966,.00714437,0,.537911,.647264,.00668457,0,.561688,.633431,.00626581,0,.586108,.619133,.00585593,0,.611206,.604935,.00548188,0,.637022,.590236,.00513288,0,.663599,.575473,.0047906,0,.690989,.561228,.00448895,0,.719242,.547054,.00420233,0,.748411,.533175,.00392869,0,.778531,.519163,.00367445,0,.809583,.505328,.00344097,0,.84127,.491446,.00322003,0,.873016,.477356,.00301283,0,.904762,.46356,.00282592,0,.936508,.449623,.00264956,0,.968254,.436068,.00246956,0,1,1,.0276135,0,0,1,.0276136,0,0,.999998,.0276148,0,0,.999993,.0276201,0,0,.999976,.0276342,0,0,.999945,.027664,0,0,.999884,.0277179,0,18679e-8,.999784,.027806,0,.00119607,.99963,.0279394,0,.00318407,.999401,.0281295,0,.00613601,.999066,.0283858,0,.00999963,.998524,.0287027,0,.0147164,.995702,.0286256,0,.0202295,.993593,.0286733,0,.0264876,.992067,.0288989,0,.0334452,.990548,.0292135,0,.0410621,.986775,.0291296,0,.0493032,.984054,.0293099,0,.0581381,.979481,.0291881,0,.0675397,.975297,.0291598,0,.0774848,.96981,.028954,0,.0879528,.963524,.028628,0,.0989258,.957398,.0283135,0,.110388,.950088,.0278469,0,.122327,.941538,.0271798,0,.134729,.933332,.0265388,0,.147587,.924392,.0257776,0,.160889,.914581,.024916,0,.174631,.904347,.0240242,0,.188806,.894324,.0231229,0,.203409,.883724,.022153,0,.218437,.872207,.0211355,0,.233888,.859927,.0201048,0,.249761,.848373,.0191263,0,.266056,.836023,.0181306,0,.282774,.82289,.0171718,0,.299917,.809324,.0162196,0,.317488,.795361,.0152622,0,.335493,.781253,.01439,0,.353936,.767338,.013533,0,.372825,.753156,.0127244,0,.392168,.739122,.0119454,0,.411976,.725358,.0112054,0,.432259,.712949,.010487,0,.453032,.701621,.00984032,0,.47431,.689703,.00921495,0,.496111,.677216,.00862492,0,.518456,.664217,.00806882,0,.541367,.65137,.00755922,0,.564872,.638,.00705705,0,.589001,.62453,.00661266,0,.613789,.610601,.00618432,0,.639277,.59676,.00578033,0,.66551,.582433,.00540927,0,.692539,.568026,.00506104,0,.720422,.55414,.0047353,0,.749216,.540178,.00442889,0,.778974,.526513,.00414363,0,.809711,.512954,.00388237,0,.84127,.499403,.00362875,0,.873016,.486026,.00340827,0,.904762,.472345,.00318598,0,.936508,.458828,.00297635,0,.968254,.445379,.00279447,0,1,1,.0345716,0,0,1,.0345717,0,0,.999999,.034573,0,0,.999991,.0345787,0,0,.999974,.0345941,0,0,.999937,.0346263,0,188589e-11,.999869,.0346847,0,409238e-9,.999757,.0347798,0,.0017674,.999582,.0349233,0,.00413658,.999322,.0351265,0,.00747408,.998939,.0353967,0,.0117157,.998219,.0357018,0,.0167966,.994974,.0354726,0,.0226572,.993201,.0355621,0,.0292445,.991573,.0357641,0,.0365123,.989301,.0359252,0,.0444203,.985712,.0358017,0,.0529334,.982411,.0358353,0,.0620214,.977827,.035617,0,.0716574,.973278,.0354398,0,.0818186,.967397,.0350483,0,.0924846,.960696,.0344795,0,.103638,.954349,.0339861,0,.115263,.946066,.0331323,0,.127348,.938012,.032359,0,.13988,.929413,.0314413,0,.152849,.920355,.0304103,0,.166248,.910586,.0292785,0,.18007,.900609,.0281391,0,.194308,.890093,.0269103,0,.208958,.880013,.0257269,0,.224018,.869001,.0244671,0,.239485,.85751,.0232252,0,.255359,.84582,.0220117,0,.271638,.834383,.0208274,0,.288324,.822158,.0196628,0,.305419,.809056,.0185306,0,.322927,.795832,.0174174,0,.340851,.782547,.0163758,0,.359199,.7689,.015391,0,.377975,.755526,.0144488,0,.397189,.741681,.0135372,0,.416851,.728178,.0126957,0,.436971,.714642,.0118812,0,.457564,.702756,.0111165,0,.478644,.69175,.0104145,0,.500229,.680159,.00974439,0,.522339,.668073,.00911926,0,.544997,.655405,.00851393,0,.56823,.642921,.00797637,0,.592068,.629993,.00745119,0,.616546,.616828,.00696972,0,.641705,.603305,.00652425,0,.66759,.589833,.00610188,0,.694255,.575945,.00570834,0,.72176,.561745,.00533384,0,.750168,.548277,.00500001,0,.779545,.534467,.00467582,0,.809933,.521032,.00438092,0,.841272,.507877,.00410348,0,.873016,.494654,.00383618,0,.904762,.481592,.00358699,0,.936508,.468509,.00337281,0,.968254,.455293,.00316196,0,1,1,.0430698,0,0,1,.0430699,0,0,.999998,.0430713,0,0,.999991,.0430773,0,0,.99997,.0430936,0,0,.999928,.0431277,0,406396e-10,.999852,.0431893,0,744376e-9,.999724,.0432895,0,.0024806,.999527,.0434397,0,.00524779,.99923,.0436507,0,.00898164,.998783,.0439255,0,.0136083,.997507,.0441104,0,.0190582,.994418,.0438225,0,.0252694,.992864,.0439396,0,.0321879,.991127,.0440962,0,.039767,.987331,.0438408,0,.0479667,.984819,.0438991,0,.056752,.980384,.0435906,0,.0660929,.975846,.0432543,0,.075963,.970748,.0428293,0,.0863398,.964303,.042153,0,.0972035,.95772,.0414111,0,.108537,.950747,.0405893,0,.120325,.942533,.0394887,0,.132554,.934045,.0383544,0,.145215,.924942,.037057,0,.158296,.915811,.0356993,0,.17179,.90612,.0342401,0,.185691,.896434,.0328078,0,.199993,.886021,.031288,0,.214691,.876081,.0297776,0,.229782,.865608,.0282334,0,.245265,.854924,.026749,0,.261138,.843607,.02526,0,.277401,.832456,.0238214,0,.294056,.821342,.0224682,0,.311104,.809303,.0211297,0,.328548,.796468,.0198387,0,.346394,.784046,.0186227,0,.364645,.771262,.0174561,0,.38331,.758118,.0163806,0,.402396,.745075,.0153287,0,.421912,.731926,.0143647,0,.44187,.71863,.0134363,0,.462283,.705414,.0125603,0,.483165,.693792,.0117508,0,.504535,.683108,.0110016,0,.52641,.67183,.0102757,0,.548816,.66015,.00962044,0,.571776,.647907,.00898031,0,.595323,.635734,.00840811,0,.619489,.623208,.00786211,0,.644317,.610438,.00734953,0,.669852,.597345,.00687688,0,.696148,.584138,.00643469,0,.723267,.5707,.00602236,0,.75128,.556966,.0056324,0,.780258,.543607,.00528277,0,.810268,.530213,.00493999,0,.841311,.516912,.00462265,0,.873016,.503916,.0043307,0,.904762,.491146,.00406858,0,.936508,.478439,.00381436,0,.968254,.465834,.00358003,0,1,1,.0534039,0,0,1,.053404,0,0,.999998,.0534055,0,0,.999989,.0534116,0,0,.999968,.0534283,0,0,.999918,.0534633,0,155895e-9,.99983,.0535262,0,.00120914,.999685,.0536281,0,.00334944,.999461,.0537799,0,.00653077,.999119,.0539902,0,.0106718,.998582,.0542524,0,.0156907,.995919,.0540318,0,.0215147,.993735,.0538914,0,.0280801,.992126,.0539557,0,.0353323,.990266,.0540401,0,.0432247,.986317,.0536064,0,.0517172,.983213,.0534425,0,.0607754,.978303,.0528622,0,.0703698,.973665,.0523363,0,.0804742,.968091,.0516165,0,.0910667,.961026,.0505434,0,.102128,.954333,.049523,0,.113641,.946372,.0481698,0,.125591,.938254,.0467674,0,.137965,.929516,.0452341,0,.150754,.920106,.0435083,0,.163947,.910899,.0417399,0,.177537,.901532,.0399389,0,.191516,.891919,.0380901,0,.205881,.882006,.0362341,0,.220626,.871965,.0343444,0,.235749,.862145,.0324832,0,.251248,.852058,.0306681,0,.267121,.84161,.0289097,0,.283368,.830806,.0272079,0,.299992,.820476,.0256089,0,.316992,.809514,.0240394,0,.334374,.797865,.0225379,0,.35214,.785621,.0211235,0,.370296,.773765,.0197908,0,.388849,.761629,.0185235,0,.407807,.748891,.0173358,0,.427178,.736437,.0162305,0,.446974,.723707,.0151778,0,.467207,.710606,.0141791,0,.487892,.698019,.0132592,0,.509046,.686203,.0123887,0,.530687,.675692,.0115976,0,.552839,.664826,.0108325,0,.575527,.65349,.0101348,0,.59878,.641774,.00947756,0,.622634,.629794,.00886058,0,.647128,.617647,.00828526,0,.672308,.60534,.00775312,0,.698231,.592718,.00726033,0,.724958,.579746,.00679731,0,.752563,.566763,.00636111,0,.781127,.553515,.00595228,0,.810733,.540118,.00556876,0,.841426,.527325,.00523051,0,.873016,.514265,.00490712,0,.904762,.501406,.00460297,0,.936508,.488922,.00431247,0,.968254,.476541,.0040472,0,1,1,.0659184,0,0,1,.0659185,0,0,.999998,.06592,0,0,.999988,.0659259,0,0,.999963,.0659423,0,0,.999907,.0659764,0,374198e-9,.999806,.0660376,0,.00182071,.999639,.0661361,0,.0043894,.999378,.0662814,0,.00800055,.998985,.0664779,0,.0125594,.998285,.0666914,0,.0179786,.995071,.0661989,0,.0241822,.993172,.0660454,0,.031106,.991438,.0660105,0,.0386952,.988428,.0656875,0,.0469032,.985218,.0652913,0,.0556905,.981128,.0647107,0,.065023,.976015,.0638491,0,.0748717,.97097,.062993,0,.0852112,.964582,.0617927,0,.0960199,.957383,.0603626,0,.107279,.949969,.0588128,0,.118971,.941843,.0570274,0,.131084,.933624,.0551885,0,.143604,.924543,.053122,0,.156521,.914919,.0508897,0,.169825,.905773,.0486418,0,.18351,.896434,.0463364,0,.197569,.887195,.0440623,0,.211997,.877706,.0417799,0,.226789,.867719,.03945,0,.241944,.858587,.037243,0,.257458,.849317,.0350956,0,.273331,.839585,.0329852,0,.289563,.829856,.0310028,0,.306154,.819589,.0290953,0,.323108,.809714,.0272738,0,.340426,.79934,.0255631,0,.358113,.788224,.0239175,0,.376175,.776619,.0223831,0,.394616,.76521,.0209298,0,.413445,.753716,.0195786,0,.432671,.741564,.0183001,0,.452305,.729413,.0171259,0,.472358,.717146,.0159933,0,.492845,.70436,.0149495,0,.513783,.69219,.0139681,0,.535189,.680289,.0130577,0,.557087,.669611,.0122198,0,.5795,.659113,.0114174,0,.602459,.648148,.0106729,0,.625997,.636905,.00998997,0,.650154,.625154,.00934313,0,.674976,.613481,.00874839,0,.700518,.60154,.00818265,0,.726845,.58943,.00766889,0,.754032,.576828,.00717153,0,.782167,.564194,.00672696,0,.811344,.551501,.00630863,0,.841644,.538635,.00592177,0,.873016,.525724,.00554888,0,.904762,.513209,.00520225,0,.936508,.500457,.00488231,0,.968254,.48799,.00457153,0,1,1,.0810131,0,0,1,.0810133,0,0,.999997,.0810145,0,0,.999985,.08102,0,0,.999956,.0810347,0,195026e-10,.999893,.0810656,0,719316e-9,.999777,.0811205,0,.00259774,.999583,.081208,0,.00561807,.999281,.0813343,0,.00967472,.998813,.0814969,0,.0146627,.997597,.0815217,0,.0204902,.994379,.0808502,0,.0270802,.992744,.0806792,0,.0343674,.990745,.0804589,0,.0422974,.986646,.0796107,0,.0508242,.983611,.0790913,0,.0599087,.978869,.0780746,0,.0695175,.973475,.0768218,0,.0796223,.967845,.0754926,0,.0901983,.960778,.0737063,0,.101224,.953333,.0718052,0,.112682,.945274,.0695946,0,.124555,.936955,.0672492,0,.136831,.928319,.0647732,0,.149496,.919075,.0620947,0,.162542,.909114,.0591816,0,.175958,.900137,.0563917,0,.189739,.891069,.0535392,0,.203877,.882262,.0507642,0,.218368,.873232,.0479793,0,.233208,.864042,.045226,0,.248393,.855002,.0425413,0,.263923,.846569,.0400126,0,.279796,.837714,.0375269,0,.296012,.828918,.0352027,0,.312573,.819783,.0330011,0,.329479,.810129,.0308908,0,.346734,.800866,.0289112,0,.364342,.79093,.0270255,0,.382307,.780593,.0252758,0,.400637,.769511,.0236178,0,.419337,.758558,.0220652,0,.438418,.747632,.0206289,0,.457889,.736146,.0192873,0,.477761,.724093,.0180333,0,.49805,.71234,.0168264,0,.51877,.700201,.015746,0,.53994,.687949,.0147027,0,.561581,.676163,.0137512,0,.583718,.665001,.0128655,0,.60638,.65472,.0120366,0,.629599,.644213,.0112604,0,.653415,.633382,.0105413,0,.677874,.62212,.00986498,0,.70303,.610631,.00923308,0,.728948,.599078,.00864206,0,.755706,.587519,.00811784,0,.783396,.575505,.00761237,0,.812121,.563148,.00713949,0,.841989,.550828,.00668379,0,.873035,.538458,.00627715,0,.904762,.525905,.00588336,0,.936508,.513517,.00552687,0,.968254,.501395,.00519681,0,1,1,.0991506,0,0,1,.0991504,0,0,.999996,.0991515,0,0,.999984,.0991558,0,0,.999947,.0991672,0,114389e-9,.999874,.0991912,0,.00121503,.999739,.0992331,0,.00356108,.999514,.0992983,0,.00705578,.999159,.0993877,0,.011574,.998586,.0994837,0,.017003,.995731,.0988425,0,.0232484,.993384,.098276,0,.0302318,.991615,.0979269,0,.0378884,.989029,.0973432,0,.0461641,.985373,.0963539,0,.0550136,.981278,.0952306,0,.0643988,.975777,.0936233,0,.0742868,.970526,.0920219,0,.0846501,.963755,.0898912,0,.0954644,.956676,.0876064,0,.106709,.948099,.0847751,0,.118367,.939718,.0818638,0,.130423,.931305,.078857,0,.142862,.922342,.0756127,0,.155674,.912842,.0721473,0,.168849,.903304,.0686195,0,.182378,.89411,.0650589,0,.196255,.885512,.0616022,0,.210473,.877193,.0582434,0,.225027,.86877,.0548979,0,.239915,.860267,.0516095,0,.255132,.851915,.048468,0,.270678,.843912,.0454447,0,.286551,.83604,.0425612,0,.302751,.828245,.0398752,0,.31928,.820159,.0373198,0,.336138,.81167,.034916,0,.35333,.802659,.0326402,0,.370858,.793921,.0304901,0,.388728,.784713,.0284857,0,.406944,.774946,.0266186,0,.425515,.76448,.0248593,0,.444449,.753793,.0232114,0,.463756,.743506,.0217039,0,.483447,.732555,.0202841,0,.503535,.720965,.0189648,0,.524036,.709422,.0177189,0,.544968,.697756,.0165626,0,.56635,.685565,.015483,0,.588208,.673987,.0144892,0,.610569,.66244,.0135607,0,.633466,.651675,.0126956,0,.656936,.641598,.0118788,0,.681025,.63121,.0111261,0,.705788,.620514,.010437,0,.731289,.609366,.00978747,0,.757606,.598137,.00917257,0,.784834,.586966,.00859778,0,.813085,.575549,.00806803,0,.842485,.563797,.00757294,0,.87313,.551758,.00710592,0,.904762,.539894,.0066841,0,.936508,.527901,.00627901,0,.968254,.515819,.00590506,0,1,1,.120864,0,0,1,.120864,0,0,.999996,.120864,0,0,.99998,.120867,0,0,.99994,.120872,0,323781e-9,.999852,.120884,0,.00188693,.999693,.120903,0,.00473489,.999426,.120929,0,.00872704,.999002,.120955,0,.0137237,.998235,.120918,0,.0196068,.994608,.119764,0,.0262803,.992997,.119265,0,.0336657,.990968,.11863,0,.0416987,.987002,.117261,0,.0503261,.983524,.116009,0,.0595035,.97875,.114252,0,.0691935,.972652,.11193,0,.0793645,.966613,.109555,0,.0899894,.959275,.106612,0,.101045,.951272,.103375,0,.112512,.942323,.0996594,0,.124372,.933679,.0958841,0,.136611,.924822,.0919265,0,.149216,.915742,.0878061,0,.162176,.906348,.0834894,0,.175482,.896883,.079085,0,.189125,.88774,.0746745,0,.203098,.87986,.0705773,0,.217396,.871998,.0665005,0,.232015,.864325,.0625413,0,.24695,.856685,.0586781,0,.2622,.84925,.0550063,0,.277761,.841719,.0514727,0,.293634,.834755,.0481398,0,.309819,.827853,.0450172,0,.326315,.820888,.0420969,0,.343126,.813616,.0393702,0,.360254,.805767,.0367771,0,.377701,.797338,.0343274,0,.395474,.789122,.0320529,0,.413577,.780601,.0299485,0,.432018,.771424,.0279812,0,.450804,.761502,.0261054,0,.469944,.751166,.0243942,0,.489451,.741276,.0228087,0,.509337,.730898,.0213265,0,.529617,.719878,.0199307,0,.550307,.708379,.0186574,0,.571428,.697165,.0174446,0,.593003,.685554,.0163144,0,.615059,.673631,.015276,0,.637628,.662385,.0143003,0,.660746,.651059,.0134112,0,.68446,.640451,.0125794,0,.70882,.630536,.011793,0,.733893,.620316,.0110547,0,.759756,.609722,.0103668,0,.786505,.598804,.00973009,0,.814259,.587871,.00912812,0,.843157,.577121,.00858916,0,.87334,.566019,.00807333,0,.904762,.554664,.00759687,0,.936508,.543101,.00714759,0,.968254,.531558,.00673418,0,1,1,.146767,0,0,1,.146767,0,0,.999997,.146767,0,0,.999977,.146765,0,320658e-11,.999929,.146762,0,682576e-9,.999823,.146753,0,.00276402,.999633,.146735,0,.00614771,.999314,.146699,0,.0106613,.998796,.14662,0,.0161546,.997124,.146107,0,.0225063,.994062,.144857,0,.0296198,.992154,.144011,0,.037417,.989186,.142712,0,.0458348,.985279,.140926,0,.0548211,.980826,.13885,0,.0643326,.975056,.136168,0,.074333,.969005,.133217,0,.0847917,.961554,.12959,0,.0956828,.954206,.125886,0,.106984,.945046,.121335,0,.118675,.935678,.116492,0,.130741,.926748,.111635,0,.143166,.917764,.106625,0,.155939,.908358,.101325,0,.169049,.899219,.0960249,0,.182487,.890089,.0906527,0,.196245,.881488,.0853905,0,.210317,.874031,.0804177,0,.224697,.866932,.0756005,0,.23938,.859976,.0709019,0,.254364,.853375,.0664391,0,.269646,.846971,.0622012,0,.285223,.840483,.058129,0,.301096,.833969,.0542762,0,.317265,.82806,.0507042,0,.333729,.822128,.047368,0,.350491,.815989,.044272,0,.367554,.809336,.0413444,0,.38492,.802177,.038601,0,.402594,.79441,.0360227,0,.420582,.786573,.0336383,0,.438891,.778619,.0314321,0,.457527,.77,.029362,0,.476499,.760698,.0274102,0,.49582,.750932,.0256146,0,.5155,.740993,.023974,0,.535555,.731159,.0224182,0,.556,.720836,.0209889,0,.576855,.709913,.0196411,0,.598143,.698415,.0183824,0,.619888,.68745,.0172222,0,.642123,.676154,.0161509,0,.664883,.664383,.0151397,0,.688211,.6533,.0141873,0,.71216,.642072,.0133105,0,.736792,.631412,.0124932,0,.762186,.621622,.0117408,0,.788439,.611681,.0110358,0,.815672,.60142,.0103775,0,.844034,.59083,.00975623,0,.873699,.580254,.00918084,0,.904765,.569841,.00864721,0,.936508,.559224,.00815731,0,.968254,.548315,.00767924,0,1,1,.177563,0,0,1,.177563,0,0,.999994,.177562,0,0,.999972,.177555,0,664171e-10,.999914,.177536,0,.0012276,.999787,.177496,0,.00388025,.999556,.17742,0,.00783463,.999165,.177285,0,.0128953,.9985,.177037,0,.0189053,.995388,.175634,0,.025742,.993102,.174375,0,.033309,.990992,.173121,0,.0415298,.986932,.170896,0,.0503425,.982786,.16847,0,.0596964,.977592,.165455,0,.0695498,.971075,.161676,0,.0798676,.963967,.157458,0,.0906201,.956397,.152836,0,.101783,.947489,.147467,0,.113333,.937564,.14145,0,.125254,.928182,.135383,0,.137529,.919027,.129212,0,.150144,.909618,.12276,0,.163088,.900492,.116273,0,.176351,.891671,.1098,0,.189924,.883146,.103362,0,.203799,.875151,.0970799,0,.21797,.868338,.0911732,0,.232433,.862033,.0854966,0,.247182,.856107,.0800691,0,.262216,.850644,.0749618,0,.27753,.845261,.070079,0,.293124,.839885,.0654321,0,.308997,.834609,.0610975,0,.325149,.829083,.0569741,0,.341581,.82404,.0531736,0,.358294,.818968,.049665,0,.37529,.813496,.0463856,0,.392573,.807533,.0433217,0,.410148,.80099,.0404402,0,.428019,.793891,.0377578,0,.446192,.786281,.0352616,0,.464676,.778773,.0329577,0,.483478,.770737,.030808,0,.502608,.762094,.0287964,0,.522079,.752898,.0269254,0,.541905,.743306,.0251926,0,.5621,.733416,.023595,0,.582684,.723742,.0221155,0,.603677,.713542,.0207435,0,.625106,.702755,.019434,0,.646998,.691484,.0182046,0,.66939,.680531,.0170771,0,.692324,.66953,.0160339,0,.715849,.658126,.0150677,0,.740028,.646933,.0141551,0,.764937,.636107,.0133179,0,.790673,.625271,.0125284,0,.817358,.615225,.0117937,0,.84515,.605678,.0111181,0,.874244,.59583,.0104759,0,.904828,.585704,.00986672,0,.936508,.575413,.00929712,0,.968254,.565373,.00876713,0,1,1,.214058,0,0,.999999,.214058,0,0,.999994,.214055,0,0,.999966,.214039,0,259642e-9,.999893,.213998,0,.00200075,.999737,.21391,0,.00527775,.999449,.213745,0,.00983959,.99896,.213458,0,.0154755,.9979,.212855,0,.0220249,.994278,.210779,0,.0293654,.992254,.20926,0,.0374021,.98881,.206908,0,.0460604,.984715,.204009,0,.0552802,.979738,.200471,0,.0650127,.972884,.195813,0,.0752175,.965996,.190856,0,.0858612,.957974,.185077,0,.0969155,.949155,.17868,0,.108356,.939288,.171513,0,.120163,.928996,.163838,0,.132319,.919563,.156246,0,.144808,.910004,.148359,0,.157618,.900791,.140417,0,.170737,.892135,.132569,0,.184155,.883803,.124741,0,.197866,.876034,.117091,0,.211861,.869219,.109835,0,.226134,.863062,.102859,0,.240682,.857795,.0962928,0,.255499,.853009,.0900725,0,.270583,.848603,.0842101,0,.285931,.844335,.0786527,0,.301542,.840208,.0734397,0,.317415,.836035,.0685334,0,.33355,.83172,.0639275,0,.349948,.827135,.0595909,0,.36661,.822797,.0556204,0,.383539,.818387,.0519394,0,.400738,.813565,.0485317,0,.41821,.808142,.0453138,0,.435961,.802212,.0423354,0,.453997,.79573,.0395553,0,.472324,.788741,.036988,0,.490951,.781093,.0345688,0,.509887,.773597,.0323297,0,.529144,.765622,.0302719,0,.548735,.757083,.0283477,0,.568674,.747992,.0265562,0,.588979,.738591,.0248844,0,.609671,.728719,.0233342,0,.630773,.719146,.0219081,0,.652314,.709165,.0205711,0,.674328,.69875,.0193248,0,.696854,.687884,.0181582,0,.719942,.676818,.0170746,0,.743651,.666247,.0160718,0,.768057,.655284,.0151262,0,.793253,.64401,.0142561,0,.819363,.633353,.0134327,0,.846547,.622674,.012653,0,.875017,.612265,.0119354,0,.905021,.602455,.0112533,0,.936508,.593147,.0106234,0,.968254,.583592,.0100213,0,1,1,.25717,0,0,1,.25717,0,0,.999992,.257164,0,0,.999958,.257135,0,641715e-9,.999864,.25706,0,.00305314,.999666,.256897,0,.00700975,.999302,.256596,0,.0122194,.998663,.25607,0,.0184622,.995607,.254123,0,.0255773,.993094,.252081,0,.0334439,.9907,.249867,0,.0419696,.98594,.246118,0,.0510823,.981214,.242049,0,.0607242,.974966,.236869,0,.0708486,.967589,.230724,0,.081417,.95915,.223635,0,.0923974,.950257,.21596,0,.103763,.940165,.207296,0,.115491,.929396,.197901,0,.127562,.919288,.188437,0,.13996,.909428,.178762,0,.15267,.900105,.169072,0,.165679,.891418,.159478,0,.178979,.883347,.15002,0,.192558,.875992,.140813,0,.20641,.869466,.13196,0,.220529,.863699,.123501,0,.234907,.858553,.115436,0,.249542,.854379,.107901,0,.264428,.850894,.10088,0,.279564,.847632,.0942296,0,.294947,.844571,.0879861,0,.310575,.84163,.0821534,0,.326448,.838542,.0766409,0,.342566,.835412,.0715322,0,.358929,.831899,.0666883,0,.37554,.828177,.0622175,0,.392399,.82416,.0580452,0,.409511,.820393,.054267,0,.426878,.816068,.0507172,0,.444506,.811201,.0474041,0,.4624,.805785,.0443174,0,.480566,.799878,.0414562,0,.499013,.793469,.0388147,0,.517749,.786473,.0363453,0,.536785,.778874,.0340225,0,.556134,.771277,.0318599,0,.575809,.763426,.0298859,0,.595827,.755044,.0280357,0,.616207,.746161,.0262979,0,.636973,.737124,.0247295,0,.65815,.72761,.0232514,0,.679772,.717822,.0218755,0,.701876,.708279,.0205942,0,.724509,.698333,.0193947,0,.74773,.68802,.0182717,0,.771609,.677321,.0172044,0,.79624,.666504,.0162122,0,.821743,.656184,.0152924,0,.84828,.64556,.0144326,0,.876069,.634636,.0136157,0,.905404,.624124,.0128612,0,.936508,.613914,.0121435,0,.968254,.603589,.0114887,0,1,1,.307946,0,0,.999999,.307945,0,0,.999988,.307934,0,204479e-10,.999944,.307886,0,.00127833,.999824,.307756,0,.00445047,.999565,.30748,0,.00914673,.999085,.306966,0,.0150498,.998103,.306004,0,.0219367,.994249,.303028,0,.0296485,.991807,.300435,0,.038068,.987773,.296554,0,.0471062,.982673,.2916,0,.0566942,.976623,.285641,0,.0667768,.968757,.27815,0,.0773099,.959849,.269529,0,.088257,.950663,.260248,0,.0995879,.940129,.249704,0,.111277,.92895,.238291,0,.123304,.917996,.226501,0,.13565,.907813,.214669,0,.148299,.898305,.202835,0,.161237,.889626,.191158,0,.174455,.88175,.179695,0,.187941,.874715,.168548,0,.201687,.868746,.15792,0,.215687,.863703,.147807,0,.229933,.859315,.138149,0,.24442,.855538,.128993,0,.259145,.852428,.120414,0,.274103,.850168,.112498,0,.289293,.848132,.105054,0,.304711,.846291,.0981087,0,.320357,.844431,.0915942,0,.33623,.842493,.0855056,0,.35233,.840368,.0798204,0,.368658,.83798,.0745097,0,.385214,.83523,.0695424,0,.402002,.832091,.0649092,0,.419023,.828667,.0606291,0,.436282,.824805,.0566523,0,.453782,.820988,.0530229,0,.471529,.816635,.0496364,0,.489528,.811725,.0464658,0,.507788,.806316,.0435082,0,.526317,.800469,.0407873,0,.545124,.794107,.038255,0,.564221,.787218,.0358825,0,.583621,.779872,.0336785,0,.603341,.772097,.0316379,0,.623397,.764484,.0297379,0,.643812,.756428,.0279581,0,.664611,.748022,.0263153,0,.685824,.739268,.0247799,0,.707488,.73024,.0233385,0,.729646,.720893,.0220035,0,.752354,.71119,.0207555,0,.77568,.701791,.0195843,0,.799715,.692184,.0184891,0,.824574,.682258,.0174541,0,.850417,.67206,.0164873,0,.877466,.661717,.0155959,0,.90604,.651462,.0147519,0,.936528,.641467,.0139727,0,.968254,.631229,.0132363,0,1,1,.367573,0,0,.999999,.367571,0,0,.999984,.367553,0,183382e-9,.999925,.367473,0,.00225254,.999759,.367259,0,.00628165,.99941,.366801,0,.0117858,.998739,.365946,0,.0184359,.995529,.363191,0,.0260114,.992875,.360171,0,.0343581,.989135,.355981,0,.0433637,.984166,.350401,0,.0529438,.977871,.343348,0,.0630334,.96951,.334341,0,.0735805,.959964,.323862,0,.0845437,.950162,.312521,0,.095889,.938882,.299577,0,.107588,.926992,.285573,0,.119617,.915589,.271212,0,.131957,.904791,.256611,0,.144591,.895177,.242224,0,.157503,.886403,.227952,0,.170682,.878957,.214192,0,.184117,.872418,.200795,0,.197799,.867029,.188015,0,.21172,.862835,.175975,0,.225873,.859411,.164526,0,.240253,.856655,.153693,0,.254854,.854519,.14352,0,.269673,.852828,.13397,0,.284707,.851412,.124984,0,.299953,.850609,.116748,0,.315408,.849855,.10905,0,.331073,.849017,.101839,0,.346946,.848079,.0951359,0,.363028,.846911,.0888774,0,.379318,.845445,.0830375,0,.395818,.84362,.0775844,0,.41253,.841411,.0725054,0,.429457,.838768,.0677691,0,.446602,.835801,.0634016,0,.463968,.832341,.0593095,0,.481561,.828424,.0555121,0,.499386,.824312,.052024,0,.51745,.819918,.0487865,0,.535761,.815072,.0457801,0,.554328,.809863,.0430184,0,.573162,.804164,.0404245,0,.592275,.798034,.0380146,0,.611681,.791436,.0357436,0,.631398,.784498,.0336475,0,.651445,.777125,.0316666,0,.671845,.769365,.0298122,0,.692628,.761579,.0281001,0,.713827,.753746,.0265049,0,.735484,.745573,.0250067,0,.75765,.737083,.0236026,0,.78039,.728545,.0223302,0,.803789,.719691,.0211243,0,.82796,.710569,.0199983,0,.853056,.701216,.0189569,0,.879298,.692094,.0179702,0,.907014,.682909,.0170418,0,.936691,.673509,.0161732,0,.968254,.663863,.0153406,0,1,1,.437395,0,0,.999998,.437394,0,0,.99998,.437363,0,616704e-9,.999891,.437232,0,.00367925,.999656,.436877,0,.00867446,.999148,.436121,0,.0150679,.997959,.434564,0,.022531,.993464,.430134,0,.0308507,.990606,.426077,0,.0398805,.985027,.419397,0,.0495148,.978491,.41118,0,.0596749,.969643,.40048,0,.0703001,.959189,.38769,0,.0813427,.948223,.373575,0,.0927641,.935955,.357622,0,.104533,.923237,.34043,0,.116624,.911074,.322735,0,.129015,.899724,.30479,0,.141687,.890189,.287392,0,.154626,.881796,.270248,0,.167818,.874781,.253659,0,.181252,.869166,.237786,0,.194918,.864725,.222618,0,.208807,.861565,.208356,0,.222913,.859284,.194867,0,.237229,.857677,.18212,0,.25175,.856714,.17018,0,.266473,.856155,.158969,0,.281392,.8558,.148413,0,.296505,.855672,.138578,0,.311811,.855538,.129345,0,.327306,.855689,.120861,0,.342991,.855767,.112969,0,.358864,.855618,.105593,0,.374925,.85525,.0987451,0,.391176,.854583,.0923727,0,.407616,.853534,.0864143,0,.424249,.852061,.0808338,0,.441076,.850253,.0756771,0,.4581,.848004,.0708612,0,.475324,.845333,.0663784,0,.492754,.842376,.0622631,0,.510394,.838956,.0584112,0,.528251,.835121,.0548328,0,.546331,.830842,.0514838,0,.564644,.826212,.048355,0,.583198,.821522,.0454714,0,.602005,.816551,.0428263,0,.621078,.811211,.0403612,0,.640434,.805479,.038039,0,.660089,.799409,.0358739,0,.680066,.79306,.0338727,0,.70039,.786395,.0319985,0,.721094,.779416,.030241,0,.742215,.77214,.0285951,0,.7638,.764636,.0270747,0,.785912,.756836,.0256354,0,.808628,.749315,.0243027,0,.832055,.741561,.0230497,0,.856338,.733589,.0218801,0,.88169,.725479,.020784,0,.908441,.717255,.0197702,0,.937125,.708829,.0188168,0,.968254,.700191,.0179113,0,1,1,.518937,0,0,.999998,.518933,0,0,.999967,.518883,0,.00147741,.999832,.51866,0,.00573221,.999466,.518057,0,.011826,.998644,.516752,0,.0192116,.994458,.512347,0,.027573,.991223,.507675,0,.0367099,.985515,.500188,0,.046487,.978308,.490408,0,.0568071,.968359,.477357,0,.0675984,.95682,.461752,0,.0788059,.943929,.443796,0,.090386,.930224,.423893,0,.102304,.916514,.402682,0,.114532,.903653,.380914,0,.127047,.892315,.359212,0,.139828,.882942,.338102,0,.152861,.875438,.31773,0,.16613,.869642,.298186,0,.179624,.865304,.279491,0,.193332,.862382,.261804,0,.207247,.860666,.245146,0,.22136,.859788,.229406,0,.235666,.859608,.214605,0,.250158,.859912,.200691,0,.264832,.86053,.187623,0,.279684,.861368,.17539,0,.294711,.862237,.163901,0,.309911,.863127,.153175,0,.32528,.863923,.143147,0,.340819,.864567,.133781,0,.356524,.865013,.125042,0,.372397,.86539,.116952,0,.388438,.865591,.109476,0,.404645,.865517,.102542,0,.421022,.865084,.0960688,0,.437569,.864309,.0900499,0,.454287,.863151,.0844328,0,.471181,.861649,.0792218,0,.488253,.859742,.0743482,0,.505507,.857446,.0697963,0,.522947,.854757,.0655364,0,.54058,.851783,.061608,0,.558412,.848516,.0579701,0,.576449,.844897,.0545742,0,.594701,.840956,.0514167,0,.613178,.836676,.0484598,0,.631892,.832075,.0456934,0,.650856,.827191,.0431178,0,.670088,.822295,.0407718,0,.689606,.817294,.0386032,0,.709434,.812013,.0365675,0,.7296,.806465,.0346547,0,.750138,.800691,.0328717,0,.771093,.794709,.031211,0,.792519,.788493,.0296504,0,.814488,.782049,.0281782,0,.837097,.775403,.0267965,0,.860481,.76857,.0255002,0,.884842,.761536,.0242759,0,.910494,.754303,.0231142,0,.937985,.74692,.0220305,0,.968254,.739745,.0210192,0,1,1,.613914,0,0,.999996,.613907,0,963597e-10,.999942,.613814,0,.00301247,.999704,.613407,0,.00870385,.999046,.612302,0,.0160714,.995516,.608266,0,.0245899,.991726,.602863,0,.0339681,.985157,.593956,0,.0440254,.97642,.581748,0,.0546409,.964404,.565183,0,.0657284,.950601,.545273,0,.0772246,.935158,.522129,0,.0890812,.919364,.496782,0,.10126,.904754,.470571,0,.113731,.89176,.444037,0,.126469,.881492,.418322,0,.139454,.873656,.393522,0,.15267,.868053,.369795,0,.166101,.864336,.347171,0,.179736,.862259,.325737,0,.193565,.861556,.305532,0,.207578,.861776,.286416,0,.221769,.862661,.268355,0,.23613,.864015,.251334,0,.250656,.865711,.235352,0,.265343,.867519,.220302,0,.280187,.869351,.206161,0,.295183,.871144,.192908,0,.31033,.872839,.180505,0,.325624,.874307,.168848,0,.341065,.875667,.158021,0,.35665,.876758,.147877,0,.37238,.87764,.138441,0,.388253,.878237,.129627,0,.404269,.878563,.121415,0,.42043,.878572,.113741,0,.436735,.87842,.106652,0,.453187,.878057,.100097,0,.469786,.877413,.0940128,0,.486536,.87646,.0883462,0,.503439,.875233,.0830924,0,.520498,.8737,.0781975,0,.537717,.871873,.07364,0,.555102,.86978,.0694103,0,.572657,.867405,.0654696,0,.59039,.864751,.0617914,0,.608307,.861818,.0583491,0,.626419,.858645,.0551443,0,.644733,.855307,.0521894,0,.663264,.851736,.0494334,0,.682025,.847927,.0468504,0,.701032,.843888,.0444261,0,.720308,.839629,.0421497,0,.739875,.835158,.0400082,0,.759764,.830509,.0380076,0,.780014,.825714,.0361488,0,.800673,.820729,.0343956,0,.821803,.815751,.0327781,0,.843492,.810752,.031275,0,.86586,.805587,.0298542,0,.889087,.800317,.0285397,0,.913466,.79489,.0272948,0,.93952,.789314,.0261139,0,.96835,.783593,.0249938,0,1,1,.724258,0,0,.999992,.724243,0,726889e-9,.99987,.724044,0,.00569574,.999336,.72317,0,.0131702,.996271,.719432,0,.0220738,.991159,.712576,0,.0319405,.982465,.700927,0,.0425202,.97049,.684297,0,.0536599,.953973,.661244,0,.065258,.935546,.633804,0,.0772427,.916596,.603071,0,.0895616,.899353,.57105,0,.102175,.885216,.539206,0,.11505,.875076,.508714,0,.128164,.868334,.479571,0,.141495,.864414,.451796,0,.155026,.862678,.425328,0,.168745,.862835,.400352,0,.182639,.864067,.376532,0,.196699,.866086,.35391,0,.210915,.868557,.332424,0,.225282,.871271,.312053,0,.239792,.874058,.292764,0,.25444,.8768,.27453,0,.269223,.87939,.257297,0,.284135,.8819,.24114,0,.299174,.884187,.225934,0,.314337,.886262,.211669,0,.329622,.888119,.198311,0,.345026,.889709,.185783,0,.360549,.891054,.174063,0,.376189,.892196,.163143,0,.391946,.893101,.152952,0,.407819,.893803,.143475,0,.423808,.894277,.134647,0,.439914,.894532,.126434,0,.456137,.894576,.1188,0,.472479,.894393,.111694,0,.48894,.893976,.105069,0,.505523,.893346,.0989077,0,.52223,.892502,.0931724,0,.539064,.891441,.0878276,0,.556028,.890276,.082903,0,.573125,.888972,.0783505,0,.590361,.887469,.0741083,0,.607741,.885785,.0701633,0,.62527,.883914,.0664835,0,.642957,.881872,.0630567,0,.660809,.879651,.0598527,0,.678836,.877267,.0568615,0,.69705,.874717,.05406,0,.715465,.872012,.0514378,0,.734098,.869157,.0489805,0,.752968,.866155,.0466727,0,.772101,.863014,.0445056,0,.791529,.859748,.0424733,0,.81129,.856416,.0405957,0,.831438,.852958,.0388273,0,.852044,.849382,.0371619,0,.87321,.845694,.0355959,0,.89509,.841893,.0341155,0,.917932,.837981,.0327141,0,.942204,.833963,.0313856,0,.968981,.829847,.0301275,0,1,1,.85214,0,0,.999969,.852095,0,.00279627,.999483,.851408,0,.0107635,.994545,.84579,0,.0206454,.986188,.835231,0,.0315756,.969847,.814687,0,.0432021,.945951,.783735,0,.0553396,.91917,.746074,0,.0678766,.895488,.706938,0,.0807395,.878232,.669534,0,.0938767,.868252,.635168,0,.10725,.863873,.603069,0,.120832,.863369,.572514,0,.134598,.86545,.543169,0,.148533,.868803,.514578,0,.16262,.872794,.486762,0,.176849,.87702,.459811,0,.19121,.881054,.433654,0,.205694,.884974,.408574,0,.220294,.888587,.384525,0,.235005,.891877,.36156,0,.24982,.894793,.339661,0,.264737,.89743,.318913,0,.279751,.899796,.299302,0,.294859,.901943,.280843,0,.310058,.903858,.263481,0,.325346,.905574,.247197,0,.340721,.907069,.231915,0,.356181,.908379,.217614,0,.371725,.90952,.20425,0,.387353,.910483,.191758,0,.403063,.91128,.180092,0,.418854,.911936,.169222,0,.434727,.912454,.159098,0,.450682,.912835,.149668,0,.466718,.913078,.140884,0,.482837,.913192,.132709,0,.499038,.913175,.125095,0,.515324,.91304,.118012,0,.531695,.912781,.111417,0,.548153,.91241,.105281,0,.5647,.911924,.0995691,0,.581338,.911331,.0942531,0,.59807,.910637,.0893076,0,.6149,.90984,.0846998,0,.63183,.908941,.0804044,0,.648865,.907944,.0763984,0,.666011,.906857,.0726638,0,.683273,.90568,.0691783,0,.700659,.904416,.0659222,0,.718176,.903067,.0628782,0,.735834,.901637,.0600307,0,.753646,.900128,.0573647,0,.771625,.898544,.0548668,0,.78979,.89689,.052527,0,.808162,.895165,.0503306,0,.826771,.893371,.0482668,0,.845654,.891572,.0463605,0,.864863,.889763,.0445998,0,.884472,.887894,.0429451,0,.904592,.885967,.0413884,0,.925407,.883984,.0399225,0,.947271,.881945,.0385405,0,.97105,.879854,.0372362,0,1,.999804,.995833,0,0,.938155,.933611,0,.0158731,.864755,.854311,0,.0317461,.888594,.865264,0,.0476191,.905575,.863922,0,.0634921,.915125,.850558,0,.0793651,.920665,.829254,0,.0952381,.924073,.802578,0,.111111,.926304,.772211,0,.126984,.927829,.739366,0,.142857,.928924,.705033,0,.15873,.92973,.670019,0,.174603,.930339,.634993,0,.190476,.930811,.600485,0,.206349,.931191,.566897,0,.222222,.93149,.534485,0,.238095,.931737,.503429,0,.253968,.931939,.473811,0,.269841,.932108,.445668,0,.285714,.93225,.418993,0,.301587,.932371,.393762,0,.31746,.932474,.369939,0,.333333,.932562,.347479,0,.349206,.932638,.326336,0,.365079,.932703,.306462,0,.380952,.93276,.287805,0,.396825,.932809,.270313,0,.412698,.932851,.253933,0,.428571,.932887,.23861,0,.444444,.932917,.224289,0,.460317,.932943,.210917,0,.47619,.932965,.19844,0,.492063,.932982,.186807,0,.507937,.932995,.175966,0,.52381,.933005,.165869,0,.539683,.933011,.156468,0,.555556,.933013,.147719,0,.571429,.933013,.139579,0,.587302,.93301,.132007,0,.603175,.933004,.124965,0,.619048,.932994,.118416,0,.634921,.932982,.112326,0,.650794,.932968,.106663,0,.666667,.93295,.101397,0,.68254,.932931,.0964993,0,.698413,.932908,.0919438,0,.714286,.932883,.0877057,0,.730159,.932856,.0837623,0,.746032,.932827,.0800921,0,.761905,.932796,.0766754,0,.777778,.932762,.0734936,0,.793651,.932727,.0705296,0,.809524,.932689,.0677676,0,.825397,.93265,.0651929,0,.84127,.932609,.0627917,0,.857143,.932565,.0605515,0,.873016,.932521,.0584606,0,.888889,.932474,.0565082,0,.904762,.932427,.0546841,0,.920635,.932377,.0529793,0,.936508,.932326,.0513851,0,.952381,.932274,.0498936,0,.968254,.93222,.0484975,0,.984127,.932164,.0471899,0,1],r=new Float32Array(e),n=new Float32Array(t),i=new Yo(r,64,64,Ge,Ne,me,$e,$e,Ce,Se,1),o=new Yo(n,64,64,Ge,Ne,me,$e,$e,Ce,Se,1);i.needsUpdate=!0,o.needsUpdate=!0;const s=new Uint16Array(e.length);e.forEach(function(e,t){s[t]=Si.toHalfFloat(e)});const a=new Uint16Array(t.length);t.forEach(function(e,t){a[t]=Si.toHalfFloat(e)});const l=new Yo(s,64,64,Ge,Fe,me,$e,$e,Ce,Se,1),c=new Yo(a,64,64,Ge,Fe,me,$e,$e,Ce,Se,1);return l.needsUpdate=!0,c.needsUpdate=!0,this.LTC_HALF_1=l,this.LTC_HALF_2=c,this.LTC_FLOAT_1=i,this.LTC_FLOAT_2=o,this}}Zv.LTC_HALF_1=null,Zv.LTC_HALF_2=null,Zv.LTC_FLOAT_1=null,Zv.LTC_FLOAT_2=null;class eb{static init(){Zv.init();const{LTC_FLOAT_1:e,LTC_FLOAT_2:t,LTC_HALF_1:r,LTC_HALF_2:n}=Zv;Uu.LTC_FLOAT_1=e,Uu.LTC_FLOAT_2=t,Uu.LTC_HALF_1=r,Uu.LTC_HALF_2=n}}const tb=new Qr,rb=new br;class nb extends dc{constructor(){super(),this.isLineSegmentsGeometry=!0,this.type="LineSegmentsGeometry";this.setIndex([0,2,1,2,3,1,2,4,3,4,5,3,4,6,5,6,7,5]),this.setAttribute("position",new ki([-1,2,0,1,2,0,-1,1,0,1,1,0,-1,0,0,1,0,0,-1,-1,0,1,-1,0],3)),this.setAttribute("uv",new ki([-1,2,1,2,-1,1,1,1,-1,-1,1,-1,-1,-2,1,-2],2))}applyMatrix4(e){const t=this.attributes.instanceStart,r=this.attributes.instanceEnd;return void 0!==t&&(t.applyMatrix4(e),r.applyMatrix4(e),t.needsUpdate=!0),null!==this.boundingBox&&this.computeBoundingBox(),null!==this.boundingSphere&&this.computeBoundingSphere(),this}setPositions(e){let t;e instanceof Float32Array?t=e:Array.isArray(e)&&(t=new Float32Array(e));const r=new Ec(t,6,1);return this.setAttribute("instanceStart",new xo(r,3,0)),this.setAttribute("instanceEnd",new xo(r,3,3)),this.instanceCount=this.attributes.instanceStart.count,this.computeBoundingBox(),this.computeBoundingSphere(),this}setColors(e){let t;e instanceof Float32Array?t=e:Array.isArray(e)&&(t=new Float32Array(e));const r=new Ec(t,6,1);return this.setAttribute("instanceColorStart",new xo(r,3,0)),this.setAttribute("instanceColorEnd",new xo(r,3,3)),this}fromWireframeGeometry(e){return this.setPositions(e.attributes.position.array),this}fromEdgesGeometry(e){return this.setPositions(e.attributes.position.array),this}fromMesh(e){return this.fromWireframeGeometry(new tl(e.geometry)),this}fromLineSegments(e){const t=e.geometry;return this.setPositions(t.attributes.position.array),this}computeBoundingBox(){null===this.boundingBox&&(this.boundingBox=new Qr);const e=this.attributes.instanceStart,t=this.attributes.instanceEnd;void 0!==e&&void 0!==t&&(this.boundingBox.setFromBufferAttribute(e),tb.setFromBufferAttribute(t),this.boundingBox.union(tb))}computeBoundingSphere(){null===this.boundingSphere&&(this.boundingSphere=new pn),null===this.boundingBox&&this.computeBoundingBox();const e=this.attributes.instanceStart,t=this.attributes.instanceEnd;if(void 0!==e&&void 0!==t){const r=this.boundingSphere.center;this.boundingBox.getCenter(r);let n=0;for(let i=0,o=e.count;i<o;i++)rb.fromBufferAttribute(e,i),n=Math.max(n,r.distanceToSquared(rb)),rb.fromBufferAttribute(t,i),n=Math.max(n,r.distanceToSquared(rb));this.boundingSphere.radius=Math.sqrt(n),isNaN(this.boundingSphere.radius)&&console.error("THREE.LineSegmentsGeometry.computeBoundingSphere(): Computed radius is NaN. The instanced position data is likely to have NaN values.",this)}}toJSON(){}}Uu.line={worldUnits:{value:1},linewidth:{value:1},resolution:{value:new fr(1,1)},dashOffset:{value:0},dashScale:{value:1},dashSize:{value:1},gapSize:{value:1}},Vu.line={uniforms:ro.merge([Uu.common,Uu.fog,Uu.line]),vertexShader:"\n\t\t#include <common>\n\t\t#include <color_pars_vertex>\n\t\t#include <fog_pars_vertex>\n\t\t#include <logdepthbuf_pars_vertex>\n\t\t#include <clipping_planes_pars_vertex>\n\n\t\tuniform float linewidth;\n\t\tuniform vec2 resolution;\n\n\t\tattribute vec3 instanceStart;\n\t\tattribute vec3 instanceEnd;\n\n\t\tattribute vec3 instanceColorStart;\n\t\tattribute vec3 instanceColorEnd;\n\n\t\t#ifdef WORLD_UNITS\n\n\t\t\tvarying vec4 worldPos;\n\t\t\tvarying vec3 worldStart;\n\t\t\tvarying vec3 worldEnd;\n\n\t\t\t#ifdef USE_DASH\n\n\t\t\t\tvarying vec2 vUv;\n\n\t\t\t#endif\n\n\t\t#else\n\n\t\t\tvarying vec2 vUv;\n\n\t\t#endif\n\n\t\t#ifdef USE_DASH\n\n\t\t\tuniform float dashScale;\n\t\t\tattribute float instanceDistanceStart;\n\t\t\tattribute float instanceDistanceEnd;\n\t\t\tvarying float vLineDistance;\n\n\t\t#endif\n\n\t\tvoid trimSegment( const in vec4 start, inout vec4 end ) {\n\n\t\t\t// trim end segment so it terminates between the camera plane and the near plane\n\n\t\t\t// conservative estimate of the near plane\n\t\t\tfloat a = projectionMatrix[ 2 ][ 2 ]; // 3nd entry in 3th column\n\t\t\tfloat b = projectionMatrix[ 3 ][ 2 ]; // 3nd entry in 4th column\n\t\t\tfloat nearEstimate = - 0.5 * b / a;\n\n\t\t\tfloat alpha = ( nearEstimate - start.z ) / ( end.z - start.z );\n\n\t\t\tend.xyz = mix( start.xyz, end.xyz, alpha );\n\n\t\t}\n\n\t\tvoid main() {\n\n\t\t\t#ifdef USE_COLOR\n\n\t\t\t\tvColor.xyz = ( position.y < 0.5 ) ? instanceColorStart : instanceColorEnd;\n\n\t\t\t#endif\n\n\t\t\t#ifdef USE_DASH\n\n\t\t\t\tvLineDistance = ( position.y < 0.5 ) ? dashScale * instanceDistanceStart : dashScale * instanceDistanceEnd;\n\t\t\t\tvUv = uv;\n\n\t\t\t#endif\n\n\t\t\tfloat aspect = resolution.x / resolution.y;\n\n\t\t\t// camera space\n\t\t\tvec4 start = modelViewMatrix * vec4( instanceStart, 1.0 );\n\t\t\tvec4 end = modelViewMatrix * vec4( instanceEnd, 1.0 );\n\n\t\t\t#ifdef WORLD_UNITS\n\n\t\t\t\tworldStart = start.xyz;\n\t\t\t\tworldEnd = end.xyz;\n\n\t\t\t#else\n\n\t\t\t\tvUv = uv;\n\n\t\t\t#endif\n\n\t\t\t// special case for perspective projection, and segments that terminate either in, or behind, the camera plane\n\t\t\t// clearly the gpu firmware has a way of addressing this issue when projecting into ndc space\n\t\t\t// but we need to perform ndc-space calculations in the shader, so we must address this issue directly\n\t\t\t// perhaps there is a more elegant solution -- WestLangley\n\n\t\t\tbool perspective = ( projectionMatrix[ 2 ][ 3 ] == - 1.0 ); // 4th entry in the 3rd column\n\n\t\t\tif ( perspective ) {\n\n\t\t\t\tif ( start.z < 0.0 && end.z >= 0.0 ) {\n\n\t\t\t\t\ttrimSegment( start, end );\n\n\t\t\t\t} else if ( end.z < 0.0 && start.z >= 0.0 ) {\n\n\t\t\t\t\ttrimSegment( end, start );\n\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\t// clip space\n\t\t\tvec4 clipStart = projectionMatrix * start;\n\t\t\tvec4 clipEnd = projectionMatrix * end;\n\n\t\t\t// ndc space\n\t\t\tvec3 ndcStart = clipStart.xyz / clipStart.w;\n\t\t\tvec3 ndcEnd = clipEnd.xyz / clipEnd.w;\n\n\t\t\t// direction\n\t\t\tvec2 dir = ndcEnd.xy - ndcStart.xy;\n\n\t\t\t// account for clip-space aspect ratio\n\t\t\tdir.x *= aspect;\n\t\t\tdir = normalize( dir );\n\n\t\t\t#ifdef WORLD_UNITS\n\n\t\t\t\tvec3 worldDir = normalize( end.xyz - start.xyz );\n\t\t\t\tvec3 tmpFwd = normalize( mix( start.xyz, end.xyz, 0.5 ) );\n\t\t\t\tvec3 worldUp = normalize( cross( worldDir, tmpFwd ) );\n\t\t\t\tvec3 worldFwd = cross( worldDir, worldUp );\n\t\t\t\tworldPos = position.y < 0.5 ? start: end;\n\n\t\t\t\t// height offset\n\t\t\t\tfloat hw = linewidth * 0.5;\n\t\t\t\tworldPos.xyz += position.x < 0.0 ? hw * worldUp : - hw * worldUp;\n\n\t\t\t\t// don't extend the line if we're rendering dashes because we\n\t\t\t\t// won't be rendering the endcaps\n\t\t\t\t#ifndef USE_DASH\n\n\t\t\t\t\t// cap extension\n\t\t\t\t\tworldPos.xyz += position.y < 0.5 ? - hw * worldDir : hw * worldDir;\n\n\t\t\t\t\t// add width to the box\n\t\t\t\t\tworldPos.xyz += worldFwd * hw;\n\n\t\t\t\t\t// endcaps\n\t\t\t\t\tif ( position.y > 1.0 || position.y < 0.0 ) {\n\n\t\t\t\t\t\tworldPos.xyz -= worldFwd * 2.0 * hw;\n\n\t\t\t\t\t}\n\n\t\t\t\t#endif\n\n\t\t\t\t// project the worldpos\n\t\t\t\tvec4 clip = projectionMatrix * worldPos;\n\n\t\t\t\t// shift the depth of the projected points so the line\n\t\t\t\t// segments overlap neatly\n\t\t\t\tvec3 clipPose = ( position.y < 0.5 ) ? ndcStart : ndcEnd;\n\t\t\t\tclip.z = clipPose.z * clip.w;\n\n\t\t\t#else\n\n\t\t\t\tvec2 offset = vec2( dir.y, - dir.x );\n\t\t\t\t// undo aspect ratio adjustment\n\t\t\t\tdir.x /= aspect;\n\t\t\t\toffset.x /= aspect;\n\n\t\t\t\t// sign flip\n\t\t\t\tif ( position.x < 0.0 ) offset *= - 1.0;\n\n\t\t\t\t// endcaps\n\t\t\t\tif ( position.y < 0.0 ) {\n\n\t\t\t\t\toffset += - dir;\n\n\t\t\t\t} else if ( position.y > 1.0 ) {\n\n\t\t\t\t\toffset += dir;\n\n\t\t\t\t}\n\n\t\t\t\t// adjust for linewidth\n\t\t\t\toffset *= linewidth;\n\n\t\t\t\t// adjust for clip-space to screen-space conversion // maybe resolution should be based on viewport ...\n\t\t\t\toffset /= resolution.y;\n\n\t\t\t\t// select end\n\t\t\t\tvec4 clip = ( position.y < 0.5 ) ? clipStart : clipEnd;\n\n\t\t\t\t// back to clip space\n\t\t\t\toffset *= clip.w;\n\n\t\t\t\tclip.xy += offset;\n\n\t\t\t#endif\n\n\t\t\tgl_Position = clip;\n\n\t\t\tvec4 mvPosition = ( position.y < 0.5 ) ? start : end; // this is an approximation\n\n\t\t\t#include <logdepthbuf_vertex>\n\t\t\t#include <clipping_planes_vertex>\n\t\t\t#include <fog_vertex>\n\n\t\t}\n\t\t",fragmentShader:"\n\t\tuniform vec3 diffuse;\n\t\tuniform float opacity;\n\t\tuniform float linewidth;\n\n\t\t#ifdef USE_DASH\n\n\t\t\tuniform float dashOffset;\n\t\t\tuniform float dashSize;\n\t\t\tuniform float gapSize;\n\n\t\t#endif\n\n\t\tvarying float vLineDistance;\n\n\t\t#ifdef WORLD_UNITS\n\n\t\t\tvarying vec4 worldPos;\n\t\t\tvarying vec3 worldStart;\n\t\t\tvarying vec3 worldEnd;\n\n\t\t\t#ifdef USE_DASH\n\n\t\t\t\tvarying vec2 vUv;\n\n\t\t\t#endif\n\n\t\t#else\n\n\t\t\tvarying vec2 vUv;\n\n\t\t#endif\n\n\t\t#include <common>\n\t\t#include <color_pars_fragment>\n\t\t#include <fog_pars_fragment>\n\t\t#include <logdepthbuf_pars_fragment>\n\t\t#include <clipping_planes_pars_fragment>\n\n\t\tvec2 closestLineToLine(vec3 p1, vec3 p2, vec3 p3, vec3 p4) {\n\n\t\t\tfloat mua;\n\t\t\tfloat mub;\n\n\t\t\tvec3 p13 = p1 - p3;\n\t\t\tvec3 p43 = p4 - p3;\n\n\t\t\tvec3 p21 = p2 - p1;\n\n\t\t\tfloat d1343 = dot( p13, p43 );\n\t\t\tfloat d4321 = dot( p43, p21 );\n\t\t\tfloat d1321 = dot( p13, p21 );\n\t\t\tfloat d4343 = dot( p43, p43 );\n\t\t\tfloat d2121 = dot( p21, p21 );\n\n\t\t\tfloat denom = d2121 * d4343 - d4321 * d4321;\n\n\t\t\tfloat numer = d1343 * d4321 - d1321 * d4343;\n\n\t\t\tmua = numer / denom;\n\t\t\tmua = clamp( mua, 0.0, 1.0 );\n\t\t\tmub = ( d1343 + d4321 * ( mua ) ) / d4343;\n\t\t\tmub = clamp( mub, 0.0, 1.0 );\n\n\t\t\treturn vec2( mua, mub );\n\n\t\t}\n\n\t\tvoid main() {\n\n\t\t\tfloat alpha = opacity;\n\t\t\tvec4 diffuseColor = vec4( diffuse, alpha );\n\n\t\t\t#include <clipping_planes_fragment>\n\n\t\t\t#ifdef USE_DASH\n\n\t\t\t\tif ( vUv.y < - 1.0 || vUv.y > 1.0 ) discard; // discard endcaps\n\n\t\t\t\tif ( mod( vLineDistance + dashOffset, dashSize + gapSize ) > dashSize ) discard; // todo - FIX\n\n\t\t\t#endif\n\n\t\t\t#ifdef WORLD_UNITS\n\n\t\t\t\t// Find the closest points on the view ray and the line segment\n\t\t\t\tvec3 rayEnd = normalize( worldPos.xyz ) * 1e5;\n\t\t\t\tvec3 lineDir = worldEnd - worldStart;\n\t\t\t\tvec2 params = closestLineToLine( worldStart, worldEnd, vec3( 0.0, 0.0, 0.0 ), rayEnd );\n\n\t\t\t\tvec3 p1 = worldStart + lineDir * params.x;\n\t\t\t\tvec3 p2 = rayEnd * params.y;\n\t\t\t\tvec3 delta = p1 - p2;\n\t\t\t\tfloat len = length( delta );\n\t\t\t\tfloat norm = len / linewidth;\n\n\t\t\t\t#ifndef USE_DASH\n\n\t\t\t\t\t#ifdef USE_ALPHA_TO_COVERAGE\n\n\t\t\t\t\t\tfloat dnorm = fwidth( norm );\n\t\t\t\t\t\talpha = 1.0 - smoothstep( 0.5 - dnorm, 0.5 + dnorm, norm );\n\n\t\t\t\t\t#else\n\n\t\t\t\t\t\tif ( norm > 0.5 ) {\n\n\t\t\t\t\t\t\tdiscard;\n\n\t\t\t\t\t\t}\n\n\t\t\t\t\t#endif\n\n\t\t\t\t#endif\n\n\t\t\t#else\n\n\t\t\t\t#ifdef USE_ALPHA_TO_COVERAGE\n\n\t\t\t\t\t// artifacts appear on some hardware if a derivative is taken within a conditional\n\t\t\t\t\tfloat a = vUv.x;\n\t\t\t\t\tfloat b = ( vUv.y > 0.0 ) ? vUv.y - 1.0 : vUv.y + 1.0;\n\t\t\t\t\tfloat len2 = a * a + b * b;\n\t\t\t\t\tfloat dlen = fwidth( len2 );\n\n\t\t\t\t\tif ( abs( vUv.y ) > 1.0 ) {\n\n\t\t\t\t\t\talpha = 1.0 - smoothstep( 1.0 - dlen, 1.0 + dlen, len2 );\n\n\t\t\t\t\t}\n\n\t\t\t\t#else\n\n\t\t\t\t\tif ( abs( vUv.y ) > 1.0 ) {\n\n\t\t\t\t\t\tfloat a = vUv.x;\n\t\t\t\t\t\tfloat b = ( vUv.y > 0.0 ) ? vUv.y - 1.0 : vUv.y + 1.0;\n\t\t\t\t\t\tfloat len2 = a * a + b * b;\n\n\t\t\t\t\t\tif ( len2 > 1.0 ) discard;\n\n\t\t\t\t\t}\n\n\t\t\t\t#endif\n\n\t\t\t#endif\n\n\t\t\t#include <logdepthbuf_fragment>\n\t\t\t#include <color_fragment>\n\n\t\t\tgl_FragColor = vec4( diffuseColor.rgb, alpha );\n\n\t\t\t#include <tonemapping_fragment>\n\t\t\t#include <colorspace_fragment>\n\t\t\t#include <fog_fragment>\n\t\t\t#include <premultiplied_alpha_fragment>\n\n\t\t}\n\t\t"};class ib extends no{constructor(e){super({type:"LineMaterial",uniforms:ro.clone(Vu.line.uniforms),vertexShader:Vu.line.vertexShader,fragmentShader:Vu.line.fragmentShader,clipping:!0}),this.isLineMaterial=!0,this.setValues(e)}get color(){return this.uniforms.diffuse.value}set color(e){this.uniforms.diffuse.value=e}get worldUnits(){return"WORLD_UNITS"in this.defines}set worldUnits(e){!0===e?this.defines.WORLD_UNITS="":delete this.defines.WORLD_UNITS}get linewidth(){return this.uniforms.linewidth.value}set linewidth(e){this.uniforms.linewidth&&(this.uniforms.linewidth.value=e)}get dashed(){return"USE_DASH"in this.defines}set dashed(e){!0===e!==this.dashed&&(this.needsUpdate=!0),!0===e?this.defines.USE_DASH="":delete this.defines.USE_DASH}get dashScale(){return this.uniforms.dashScale.value}set dashScale(e){this.uniforms.dashScale.value=e}get dashSize(){return this.uniforms.dashSize.value}set dashSize(e){this.uniforms.dashSize.value=e}get dashOffset(){return this.uniforms.dashOffset.value}set dashOffset(e){this.uniforms.dashOffset.value=e}get gapSize(){return this.uniforms.gapSize.value}set gapSize(e){this.uniforms.gapSize.value=e}get opacity(){return this.uniforms.opacity.value}set opacity(e){this.uniforms&&(this.uniforms.opacity.value=e)}get resolution(){return this.uniforms.resolution.value}set resolution(e){this.uniforms.resolution.value.copy(e)}get alphaToCoverage(){return"USE_ALPHA_TO_COVERAGE"in this.defines}set alphaToCoverage(e){this.defines&&(!0===e!==this.alphaToCoverage&&(this.needsUpdate=!0),!0===e?this.defines.USE_ALPHA_TO_COVERAGE="":delete this.defines.USE_ALPHA_TO_COVERAGE)}}const ob=new Hr,sb=new br,ab=new br,lb=new Hr,cb=new Hr,ub=new Hr,db=new br,hb=new xn,pb=new zc,mb=new br,_b=new Qr,gb=new pn,fb=new Hr;let vb,bb;function yb(e,t,r){return fb.set(0,0,-t,1).applyMatrix4(e.projectionMatrix),fb.multiplyScalar(1/fb.w),fb.x=bb/r.width,fb.y=bb/r.height,fb.applyMatrix4(e.projectionMatrixInverse),fb.multiplyScalar(1/fb.w),Math.abs(Math.max(fb.x,fb.y))}class $b extends Yi{constructor(e=new nb,t=new ib({color:16777215*Math.random()})){super(e,t),this.isLineSegments2=!0,this.type="LineSegments2"}computeLineDistances(){const e=this.geometry,t=e.attributes.instanceStart,r=e.attributes.instanceEnd,n=new Float32Array(2*t.count);for(let e=0,i=0,o=t.count;e<o;e++,i+=2)sb.fromBufferAttribute(t,e),ab.fromBufferAttribute(r,e),n[i]=0===i?0:n[i-1],n[i+1]=n[i]+sb.distanceTo(ab);const i=new Ec(n,2,1);return e.setAttribute("instanceDistanceStart",new xo(i,1,0)),e.setAttribute("instanceDistanceEnd",new xo(i,1,1)),this}raycast(e,t){const r=this.material.worldUnits,n=e.camera;null!==n||r||console.error('LineSegments2: "Raycaster.camera" needs to be set in order to raycast against LineSegments2 while worldUnits is set to false.');const i=void 0!==e.params.Line2&&e.params.Line2.threshold||0;vb=e.ray;const o=this.matrixWorld,s=this.geometry,a=this.material;let l,c;if(bb=a.linewidth+i,null===s.boundingSphere&&s.computeBoundingSphere(),gb.copy(s.boundingSphere).applyMatrix4(o),r)l=.5*bb;else{l=yb(n,Math.max(n.near,gb.distanceToPoint(vb.origin)),a.resolution)}if(gb.radius+=l,!1!==vb.intersectsSphere(gb)){if(null===s.boundingBox&&s.computeBoundingBox(),_b.copy(s.boundingBox).applyMatrix4(o),r)c=.5*bb;else{c=yb(n,Math.max(n.near,_b.distanceToPoint(vb.origin)),a.resolution)}_b.expandByScalar(c),!1!==vb.intersectsBox(_b)&&(r?function(e,t){const r=e.matrixWorld,n=e.geometry,i=n.attributes.instanceStart,o=n.attributes.instanceEnd;for(let s=0,a=Math.min(n.instanceCount,i.count);s<a;s++){pb.start.fromBufferAttribute(i,s),pb.end.fromBufferAttribute(o,s),pb.applyMatrix4(r);const n=new br,a=new br;vb.distanceSqToSegment(pb.start,pb.end,a,n),a.distanceTo(n)<.5*bb&&t.push({point:a,pointOnLine:n,distance:vb.origin.distanceTo(a),object:e,face:null,faceIndex:s,uv:null,uv1:null})}}(this,t):function(e,t,r){const n=t.projectionMatrix,i=e.material.resolution,o=e.matrixWorld,s=e.geometry,a=s.attributes.instanceStart,l=s.attributes.instanceEnd,c=Math.min(s.instanceCount,a.count),u=-t.near;vb.at(1,ub),ub.w=1,ub.applyMatrix4(t.matrixWorldInverse),ub.applyMatrix4(n),ub.multiplyScalar(1/ub.w),ub.x*=i.x/2,ub.y*=i.y/2,ub.z=0,db.copy(ub),hb.multiplyMatrices(t.matrixWorldInverse,o);for(let t=0,s=c;t<s;t++){if(lb.fromBufferAttribute(a,t),cb.fromBufferAttribute(l,t),lb.w=1,cb.w=1,lb.applyMatrix4(hb),cb.applyMatrix4(hb),lb.z>u&&cb.z>u)continue;if(lb.z>u){const e=lb.z-cb.z,t=(lb.z-u)/e;lb.lerp(cb,t)}else if(cb.z>u){const e=cb.z-lb.z,t=(cb.z-u)/e;cb.lerp(lb,t)}lb.applyMatrix4(n),cb.applyMatrix4(n),lb.multiplyScalar(1/lb.w),cb.multiplyScalar(1/cb.w),lb.x*=i.x/2,lb.y*=i.y/2,cb.x*=i.x/2,cb.y*=i.y/2,pb.start.copy(lb),pb.start.z=0,pb.end.copy(cb),pb.end.z=0;const s=pb.closestPointToPointParameter(db,!0);pb.at(s,mb);const c=gr.lerp(lb.z,cb.z,s),d=c>=-1&&c<=1,h=db.distanceTo(mb)<.5*bb;if(d&&h){pb.start.fromBufferAttribute(a,t),pb.end.fromBufferAttribute(l,t),pb.start.applyMatrix4(o),pb.end.applyMatrix4(o);const n=new br,i=new br;vb.distanceSqToSegment(pb.start,pb.end,i,n),r.push({point:i,pointOnLine:n,distance:vb.origin.distanceTo(i),object:e,face:null,faceIndex:t,uv:null,uv1:null})}}}(this,n,t))}}onBeforeRender(e){const t=this.material.uniforms;t&&t.resolution&&(e.getViewport(ob),this.material.uniforms.resolution.value.set(ob.z,ob.w))}}class xb extends nb{constructor(){super(),this.isLineGeometry=!0,this.type="LineGeometry"}setPositions(e){const t=e.length-3,r=new Float32Array(2*t);for(let n=0;n<t;n+=3)r[2*n]=e[n],r[2*n+1]=e[n+1],r[2*n+2]=e[n+2],r[2*n+3]=e[n+3],r[2*n+4]=e[n+4],r[2*n+5]=e[n+5];return super.setPositions(r),this}setColors(e){const t=e.length-3,r=new Float32Array(2*t);for(let n=0;n<t;n+=3)r[2*n]=e[n],r[2*n+1]=e[n+1],r[2*n+2]=e[n+2],r[2*n+3]=e[n+3],r[2*n+4]=e[n+4],r[2*n+5]=e[n+5];return super.setColors(r),this}setFromPoints(e){const t=e.length-1,r=new Float32Array(6*t);for(let n=0;n<t;n++)r[6*n]=e[n].x,r[6*n+1]=e[n].y,r[6*n+2]=e[n].z||0,r[6*n+3]=e[n+1].x,r[6*n+4]=e[n+1].y,r[6*n+5]=e[n+1].z||0;return super.setPositions(r),this}fromLine(e){const t=e.geometry;return this.setPositions(t.attributes.position.array),this}}class Sb extends $b{constructor(e=new xb,t=new ib({color:16777215*Math.random()})){super(e,t),this.isLine2=!0,this.type="Line2"}}new br,new br,new Hr;class wb extends zl{constructor(e){super(e),this.type=Fe,this.outputFormat=Ge}parse(e){const t=65536,r=14,n=65537,i=16384,o=Math.pow(2.7182818,2.2);const s={l:0,c:0,lc:0};function a(e,t,r,n,i){for(;r<e;)t=t<<8|z(n,i),r+=8;r-=e,s.l=t>>r&(1<<e)-1,s.c=t,s.lc=r}const l=new Array(59);function c(e,t,r,i,o,c){const u=t;let d=0,h=0;for(;i<=o;i++){if(u.value-t.value>r)return!1;a(6,d,h,e,u);const n=s.l;if(d=s.c,h=s.lc,c[i]=n,63==n){if(u.value-t.value>r)throw new Error("Something wrong with hufUnpackEncTable");a(8,d,h,e,u);let n=s.l+6;if(d=s.c,h=s.lc,i+n>o+1)throw new Error("Something wrong with hufUnpackEncTable");for(;n--;)c[i++]=0;i--}else if(n>=59){let e=n-59+2;if(i+e>o+1)throw new Error("Something wrong with hufUnpackEncTable");for(;e--;)c[i++]=0;i--}}!function(e){for(let e=0;e<=58;++e)l[e]=0;for(let t=0;t<n;++t)l[e[t]]+=1;let t=0;for(let e=58;e>0;--e){const r=t+l[e]>>1;l[e]=t,t=r}for(let t=0;t<n;++t){const r=e[t];r>0&&(e[t]=r|l[r]++<<6)}}(c)}function u(e){return 63&e}function d(e){return e>>6}const h={c:0,lc:0};function p(e,t,r,n){e=e<<8|z(r,n),t+=8,h.c=e,h.lc=t}const m={c:0,lc:0};function _(e,t,r,n,i,o,s,a,l){if(e==t){n<8&&(p(r,n,i,o),r=h.c,n=h.lc);let e=r>>(n-=8);if(e=new Uint8Array([e])[0],a.value+e>l)return!1;const t=s[a.value-1];for(;e-- >0;)s[a.value++]=t}else{if(!(a.value<l))return!1;s[a.value++]=e}m.c=r,m.lc=n}function g(e){return 65535&e}function f(e){const t=g(e);return t>32767?t-65536:t}const v={a:0,b:0};function b(e,t){const r=f(e),n=f(t),i=r+(1&n)+(n>>1),o=i,s=i-n;v.a=o,v.b=s}function y(e,t){const r=g(e),n=g(t),i=r-(n>>1)&65535,o=n+i-32768&65535;v.a=o,v.b=i}function $(e,t,r,n,i,o,s){const a=s<16384,l=r>i?i:r;let c,u,d=1;for(;d<=l;)d<<=1;for(d>>=1,c=d,d>>=1;d>=1;){u=0;const s=u+o*(i-c),l=o*d,h=o*c,p=n*d,m=n*c;let _,g,f,$;for(;u<=s;u+=h){let i=u;const o=u+n*(r-c);for(;i<=o;i+=m){const r=i+p,n=i+l,o=n+p;a?(b(e[i+t],e[n+t]),_=v.a,f=v.b,b(e[r+t],e[o+t]),g=v.a,$=v.b,b(_,g),e[i+t]=v.a,e[r+t]=v.b,b(f,$),e[n+t]=v.a,e[o+t]=v.b):(y(e[i+t],e[n+t]),_=v.a,f=v.b,y(e[r+t],e[o+t]),g=v.a,$=v.b,y(_,g),e[i+t]=v.a,e[r+t]=v.b,y(f,$),e[n+t]=v.a,e[o+t]=v.b)}if(r&d){const r=i+l;a?b(e[i+t],e[r+t]):y(e[i+t],e[r+t]),_=v.a,e[r+t]=v.b,e[i+t]=_}}if(i&d){let i=u;const o=u+n*(r-c);for(;i<=o;i+=m){const r=i+p;a?b(e[i+t],e[r+t]):y(e[i+t],e[r+t]),_=v.a,e[r+t]=v.b,e[i+t]=_}}c=d,d>>=1}return u}function x(e,t,o,s,a,l){const g=o.value,f=V(t,o),v=V(t,o);o.value+=4;const b=V(t,o);if(o.value+=4,f<0||f>=n||v<0||v>=n)throw new Error("Something wrong with HUF_ENCSIZE");const y=new Array(n),$=new Array(i);!function(e){for(let t=0;t<i;t++)e[t]={},e[t].len=0,e[t].lit=0,e[t].p=null}($);if(c(e,o,s-(o.value-g),f,v,y),b>8*(s-(o.value-g)))throw new Error("Something wrong with hufUncompress");!function(e,t,n,i){for(;t<=n;t++){const n=d(e[t]),o=u(e[t]);if(n>>o)throw new Error("Invalid table entry");if(o>r){const e=i[n>>o-r];if(e.len)throw new Error("Invalid table entry");if(e.lit++,e.p){const t=e.p;e.p=new Array(e.lit);for(let r=0;r<e.lit-1;++r)e.p[r]=t[r]}else e.p=new Array(1);e.p[e.lit-1]=t}else if(o){let e=0;for(let s=1<<r-o;s>0;s--){const s=i[(n<<r-o)+e];if(s.len||s.p)throw new Error("Invalid table entry");s.len=o,s.lit=t,e++}}}}(y,f,v,$),function(e,t,n,i,o,s,a,l,c){let g=0,f=0;const v=a,b=Math.trunc(i.value+(o+7)/8);for(;i.value<b;)for(p(g,f,n,i),g=h.c,f=h.lc;f>=r;){const o=t[g>>f-r&16383];if(o.len)f-=o.len,_(o.lit,s,g,f,n,i,l,c,v),g=m.c,f=m.lc;else{if(!o.p)throw new Error("hufDecode issues");let t;for(t=0;t<o.lit;t++){const r=u(e[o.p[t]]);for(;f<r&&i.value<b;)p(g,f,n,i),g=h.c,f=h.lc;if(f>=r&&d(e[o.p[t]])==(g>>f-r&(1<<r)-1)){f-=r,_(o.p[t],s,g,f,n,i,l,c,v),g=m.c,f=m.lc;break}}if(t==o.lit)throw new Error("hufDecode issues")}}const y=8-o&7;for(g>>=y,f-=y;f>0;){const e=t[g<<r-f&16383];if(!e.len)throw new Error("hufDecode issues");f-=e.len,_(e.lit,s,g,f,n,i,l,c,v),g=m.c,f=m.lc}}(y,$,e,o,b,v,l,a,{value:0})}function S(e){for(let t=1;t<e.length;t++){const r=e[t-1]+e[t]-128;e[t]=r}}function w(e,t){let r=0,n=Math.floor((e.length+1)/2),i=0;const o=e.length-1;for(;!(i>o||(t[i++]=e[r++],i>o));)t[i++]=e[n++]}function A(e){let t=e.byteLength;const r=new Array;let n=0;const i=new DataView(e);for(;t>0;){const e=i.getInt8(n++);if(e<0){const o=-e;t-=o+1;for(let e=0;e<o;e++)r.push(i.getUint8(n++))}else{const o=e;t-=2;const s=i.getUint8(n++);for(let e=0;e<o+1;e++)r.push(s)}}return r}function C(e,t,r,n,i,o){const s=new DataView(o.buffer),a=r[e],l=a.width,c=a.height,u=Math.ceil(l/8),d=Math.ceil(c/8),h=Math.floor(l/8),p=l-8*(u-1),m=c-8*(d-1),_={value:0};let g=0;const f=new Float32Array(64),v=new Uint16Array(64),b=new Uint16Array(64*u);for(let r=0;r<d;++r){let o=8;r==d-1&&(o=m);for(let e=0;e<u;++e)v.fill(0),v[0]=i[g++],E(_,n,v),I(v,f),M(f),T(f,b,64*e);for(let n=8*r;n<8*r+o;++n){let r=t[e][n];for(let e=0;e<h;++e){const t=64*e+8*(7&n);for(let e=0;e<8;++e)s.setUint16(r+2*e*a.type,b[t+e],!0);r+=16*a.type}if(u!=h){const e=64*h+8*(7&n);for(let t=0;t<p;++t)s.setUint16(r+2*t*a.type,b[e+t],!0)}}}a.decoded=!0}function E(e,t,r){let n,i=1;for(;i<64;)n=t[e.value],65280==n?i=64:n>>8==255?i+=255&n:(r[i]=n,i++),e.value++}function I(e,t){t[0]=W(e[0]),t[1]=W(e[1]),t[2]=W(e[5]),t[3]=W(e[6]),t[4]=W(e[14]),t[5]=W(e[15]),t[6]=W(e[27]),t[7]=W(e[28]),t[8]=W(e[2]),t[9]=W(e[4]),t[10]=W(e[7]),t[11]=W(e[13]),t[12]=W(e[16]),t[13]=W(e[26]),t[14]=W(e[29]),t[15]=W(e[42]),t[16]=W(e[3]),t[17]=W(e[8]),t[18]=W(e[12]),t[19]=W(e[17]),t[20]=W(e[25]),t[21]=W(e[30]),t[22]=W(e[41]),t[23]=W(e[43]),t[24]=W(e[9]),t[25]=W(e[11]),t[26]=W(e[18]),t[27]=W(e[24]),t[28]=W(e[31]),t[29]=W(e[40]),t[30]=W(e[44]),t[31]=W(e[53]),t[32]=W(e[10]),t[33]=W(e[19]),t[34]=W(e[23]),t[35]=W(e[32]),t[36]=W(e[39]),t[37]=W(e[45]),t[38]=W(e[52]),t[39]=W(e[54]),t[40]=W(e[20]),t[41]=W(e[22]),t[42]=W(e[33]),t[43]=W(e[38]),t[44]=W(e[46]),t[45]=W(e[51]),t[46]=W(e[55]),t[47]=W(e[60]),t[48]=W(e[21]),t[49]=W(e[34]),t[50]=W(e[37]),t[51]=W(e[47]),t[52]=W(e[50]),t[53]=W(e[56]),t[54]=W(e[59]),t[55]=W(e[61]),t[56]=W(e[35]),t[57]=W(e[36]),t[58]=W(e[48]),t[59]=W(e[49]),t[60]=W(e[57]),t[61]=W(e[58]),t[62]=W(e[62]),t[63]=W(e[63])}function M(e){const t=.5*Math.cos(.7853975),r=.5*Math.cos(3.14159/16),n=.5*Math.cos(3.14159/8),i=.5*Math.cos(3*3.14159/16),o=.5*Math.cos(.981746875),s=.5*Math.cos(3*3.14159/8),a=.5*Math.cos(1.374445625),l=new Array(4),c=new Array(4),u=new Array(4),d=new Array(4);for(let h=0;h<8;++h){const p=8*h;l[0]=n*e[p+2],l[1]=s*e[p+2],l[2]=n*e[p+6],l[3]=s*e[p+6],c[0]=r*e[p+1]+i*e[p+3]+o*e[p+5]+a*e[p+7],c[1]=i*e[p+1]-a*e[p+3]-r*e[p+5]-o*e[p+7],c[2]=o*e[p+1]-r*e[p+3]+a*e[p+5]+i*e[p+7],c[3]=a*e[p+1]-o*e[p+3]+i*e[p+5]-r*e[p+7],u[0]=t*(e[p+0]+e[p+4]),u[3]=t*(e[p+0]-e[p+4]),u[1]=l[0]+l[3],u[2]=l[1]-l[2],d[0]=u[0]+u[1],d[1]=u[3]+u[2],d[2]=u[3]-u[2],d[3]=u[0]-u[1],e[p+0]=d[0]+c[0],e[p+1]=d[1]+c[1],e[p+2]=d[2]+c[2],e[p+3]=d[3]+c[3],e[p+4]=d[3]-c[3],e[p+5]=d[2]-c[2],e[p+6]=d[1]-c[1],e[p+7]=d[0]-c[0]}for(let h=0;h<8;++h)l[0]=n*e[16+h],l[1]=s*e[16+h],l[2]=n*e[48+h],l[3]=s*e[48+h],c[0]=r*e[8+h]+i*e[24+h]+o*e[40+h]+a*e[56+h],c[1]=i*e[8+h]-a*e[24+h]-r*e[40+h]-o*e[56+h],c[2]=o*e[8+h]-r*e[24+h]+a*e[40+h]+i*e[56+h],c[3]=a*e[8+h]-o*e[24+h]+i*e[40+h]-r*e[56+h],u[0]=t*(e[h]+e[32+h]),u[3]=t*(e[h]-e[32+h]),u[1]=l[0]+l[3],u[2]=l[1]-l[2],d[0]=u[0]+u[1],d[1]=u[3]+u[2],d[2]=u[3]-u[2],d[3]=u[0]-u[1],e[0+h]=d[0]+c[0],e[8+h]=d[1]+c[1],e[16+h]=d[2]+c[2],e[24+h]=d[3]+c[3],e[32+h]=d[3]-c[3],e[40+h]=d[2]-c[2],e[48+h]=d[1]-c[1],e[56+h]=d[0]-c[0]}function k(e){for(let t=0;t<64;++t){const r=e[0][t],n=e[1][t],i=e[2][t];e[0][t]=r+1.5747*i,e[1][t]=r-.1873*n-.4682*i,e[2][t]=r+1.8556*n}}function T(e,t,r){for(let n=0;n<64;++n)t[r+n]=Si.toHalfFloat(R(e[n]))}function R(e){return e<=1?Math.sign(e)*Math.pow(Math.abs(e),2.2):Math.sign(e)*Math.pow(o,Math.abs(e)-1)}function L(e){return new DataView(e.array.buffer,e.offset.value,e.size)}function P(e){const t=e.viewer.buffer.slice(e.offset.value,e.offset.value+e.size),r=new Uint8Array(A(t)),n=new Uint8Array(r.length);return S(r),w(r,n),new DataView(n.buffer)}function D(e){const t=Gg(e.array.slice(e.offset.value,e.offset.value+e.size)),r=new Uint8Array(t.length);return S(t),w(t,r),new DataView(r.buffer)}function N(e){const r=e.viewer,n={value:e.offset.value},i=new Uint16Array(e.columns*e.lines*(e.inputChannels.length*e.type)),o=new Uint8Array(8192);let s=0;const a=new Array(e.inputChannels.length);for(let t=0,r=e.inputChannels.length;t<r;t++)a[t]={},a[t].start=s,a[t].end=a[t].start,a[t].nx=e.columns,a[t].ny=e.lines,a[t].size=e.type,s+=a[t].nx*a[t].ny*a[t].size;const l=Q(r,n),c=Q(r,n);if(c>=8192)throw new Error("Something is wrong with PIZ_COMPRESSION BITMAP_SIZE");if(l<=c)for(let e=0;e<c-l+1;e++)o[e+l]=H(r,n);const u=new Uint16Array(t),d=function(e,r){let n=0;for(let i=0;i<t;++i)(0==i||e[i>>3]&1<<(7&i))&&(r[n++]=i);const i=n-1;for(;n<t;)r[n++]=0;return i}(o,u),h=V(r,n);x(e.array,r,n,h,i,s);for(let t=0;t<e.inputChannels.length;++t){const e=a[t];for(let r=0;r<a[t].size;++r)$(i,e.start+r,e.nx,e.size,e.ny,e.nx*e.size,d)}!function(e,t,r){for(let n=0;n<r;++n)t[n]=e[t[n]]}(u,i,s);let p=0;const m=new Uint8Array(i.buffer.byteLength);for(let t=0;t<e.lines;t++)for(let t=0;t<e.inputChannels.length;t++){const e=a[t],r=e.nx*e.size,n=new Uint8Array(i.buffer,2*e.end,2*r);m.set(n,p),p+=2*r,e.end+=r}return new DataView(m.buffer)}function F(e){const t=Gg(e.array.slice(e.offset.value,e.offset.value+e.size)),r=e.inputChannels.length*e.lines*e.columns*e.totalBytes,n=new ArrayBuffer(r),i=new DataView(n);let o=0,s=0;const a=new Array(4);for(let r=0;r<e.lines;r++)for(let r=0;r<e.inputChannels.length;r++){let n=0;switch(e.inputChannels[r].pixelType){case 1:a[0]=o,a[1]=a[0]+e.columns,o=a[1]+e.columns;for(let r=0;r<e.columns;++r){n+=t[a[0]++]<<8|t[a[1]++],i.setUint16(s,n,!0),s+=2}break;case 2:a[0]=o,a[1]=a[0]+e.columns,a[2]=a[1]+e.columns,o=a[2]+e.columns;for(let r=0;r<e.columns;++r){n+=t[a[0]++]<<24|t[a[1]++]<<16|t[a[2]++]<<8,i.setUint32(s,n,!0),s+=4}}}return i}function O(e){const t=e.viewer,r={value:e.offset.value},n=new Uint8Array(e.columns*e.lines*(e.inputChannels.length*e.type*2)),i={version:G(t,r),unknownUncompressedSize:G(t,r),unknownCompressedSize:G(t,r),acCompressedSize:G(t,r),dcCompressedSize:G(t,r),rleCompressedSize:G(t,r),rleUncompressedSize:G(t,r),rleRawSize:G(t,r),totalAcUncompressedCount:G(t,r),totalDcUncompressedCount:G(t,r),acCompression:G(t,r)};if(i.version<2)throw new Error("EXRLoader.parse: "+ie.compression+" version "+i.version+" is unsupported");const o=new Array;let s=Q(t,r)-2;for(;s>0;){const e=B(t.buffer,r),n=H(t,r),i=n>>2&3,a=new Int8Array([(n>>4)-1])[0],l=H(t,r);o.push({name:e,index:a,type:l,compression:i}),s-=e.length+3}const a=ie.channels,l=new Array(e.inputChannels.length);for(let t=0;t<e.inputChannels.length;++t){const r=l[t]={},n=a[t];r.name=n.name,r.compression=0,r.decoded=!1,r.type=n.pixelType,r.pLinear=n.pLinear,r.width=e.columns,r.height=e.lines}const c={idx:new Array(3)};for(let t=0;t<e.inputChannels.length;++t){const e=l[t];for(let r=0;r<o.length;++r){const n=o[r];e.name==n.name&&(e.compression=n.compression,n.index>=0&&(c.idx[n.index]=t),e.offset=t)}}let u,d,h;if(i.acCompressedSize>0)switch(i.acCompression){case 0:u=new Uint16Array(i.totalAcUncompressedCount),x(e.array,t,r,i.acCompressedSize,u,i.totalAcUncompressedCount);break;case 1:const n=Gg(e.array.slice(r.value,r.value+i.totalAcUncompressedCount));u=new Uint16Array(n.buffer),r.value+=i.totalAcUncompressedCount}if(i.dcCompressedSize>0){const t={array:e.array,offset:r,size:i.dcCompressedSize};d=new Uint16Array(D(t).buffer),r.value+=i.dcCompressedSize}if(i.rleRawSize>0){h=A(Gg(e.array.slice(r.value,r.value+i.rleCompressedSize)).buffer),r.value+=i.rleCompressedSize}let p=0;const m=new Array(l.length);for(let e=0;e<m.length;++e)m[e]=new Array;for(let t=0;t<e.lines;++t)for(let t=0;t<l.length;++t)m[t].push(p),p+=l[t].width*e.type*2;void 0!==c.idx[0]&&l[c.idx[0]]&&function(e,t,r,n,i,o){let s=new DataView(o.buffer);const a=r[e.idx[0]].width,l=r[e.idx[0]].height,c=Math.floor(a/8),u=Math.ceil(a/8),d=Math.ceil(l/8),h=a-8*(u-1),p=l-8*(d-1),m={value:0},_=new Array(3),g=new Array(3),f=new Array(3),v=new Array(3),b=new Array(3);for(let r=0;r<3;++r)b[r]=t[e.idx[r]],_[r]=r<1?0:_[r-1]+u*d,g[r]=new Float32Array(64),f[r]=new Uint16Array(64),v[r]=new Uint16Array(64*u);for(let t=0;t<d;++t){let o=8;t==d-1&&(o=p);let a=8;for(let e=0;e<u;++e){e==u-1&&(a=h);for(let e=0;e<3;++e)f[e].fill(0),f[e][0]=i[_[e]++],E(m,n,f[e]),I(f[e],g[e]),M(g[e]);k(g);for(let t=0;t<3;++t)T(g[t],v[t],64*e)}let l=0;for(let n=0;n<3;++n){const i=r[e.idx[n]].type;for(let e=8*t;e<8*t+o;++e){l=b[n][e];for(let t=0;t<c;++t){const r=64*t+8*(7&e);s.setUint16(l+0*i,v[n][r+0],!0),s.setUint16(l+2*i,v[n][r+1],!0),s.setUint16(l+4*i,v[n][r+2],!0),s.setUint16(l+6*i,v[n][r+3],!0),s.setUint16(l+8*i,v[n][r+4],!0),s.setUint16(l+10*i,v[n][r+5],!0),s.setUint16(l+12*i,v[n][r+6],!0),s.setUint16(l+14*i,v[n][r+7],!0),l+=16*i}}if(c!=u)for(let e=8*t;e<8*t+o;++e){const t=b[n][e]+8*c*2*i,r=64*c+8*(7&e);for(let e=0;e<a;++e)s.setUint16(t+2*e*i,v[n][r+e],!0)}}}const y=new Uint16Array(a);s=new DataView(o.buffer);for(let t=0;t<3;++t){r[e.idx[t]].decoded=!0;const n=r[e.idx[t]].type;if(2==r[t].type)for(let e=0;e<l;++e){const r=b[t][e];for(let e=0;e<a;++e)y[e]=s.getUint16(r+2*e*n,!0);for(let e=0;e<a;++e)s.setFloat32(r+2*e*n,W(y[e]),!0)}}}(c,m,l,u,d,n);for(let t=0;t<l.length;++t){const r=l[t];if(!r.decoded)switch(r.compression){case 2:let i=0,o=0;for(let s=0;s<e.lines;++s){let e=m[t][i];for(let t=0;t<r.width;++t){for(let t=0;t<2*r.type;++t)n[e++]=h[o+t*r.width*r.height];o++}i++}break;case 1:C(t,m,l,u,d,n);break;default:throw new Error("EXRLoader.parse: unsupported channel compression")}}return new DataView(n.buffer)}function B(e,t){const r=new Uint8Array(e);let n=0;for(;0!=r[t.value+n];)n+=1;const i=(new TextDecoder).decode(r.slice(t.value,t.value+n));return t.value=t.value+n+1,i}function U(e,t){const r=e.getInt32(t.value,!0);return t.value=t.value+4,r}function V(e,t){const r=e.getUint32(t.value,!0);return t.value=t.value+4,r}function z(e,t){const r=e[t.value];return t.value=t.value+1,r}function H(e,t){const r=e.getUint8(t.value);return t.value=t.value+1,r}const G=function(e,t){let r;return r="getBigInt64"in DataView.prototype?Number(e.getBigInt64(t.value,!0)):e.getUint32(t.value+4,!0)+Number(e.getUint32(t.value,!0)<<32),t.value+=8,r};function j(e,t){const r=e.getFloat32(t.value,!0);return t.value+=4,r}function J(e,t){return Si.toHalfFloat(j(e,t))}function W(e){const t=(31744&e)>>10,r=1023&e;return(e>>15?-1:1)*(t?31===t?r?NaN:1/0:Math.pow(2,t-15)*(1+r/1024):r/1024*6103515625e-14)}function Q(e,t){const r=e.getUint16(t.value,!0);return t.value+=2,r}function q(e,t){return W(Q(e,t))}function Y(e,t,r,n,i){return"string"===n||"stringvector"===n||"iccProfile"===n?function(e,t,r){const n=(new TextDecoder).decode(new Uint8Array(e).slice(t.value,t.value+r));return t.value=t.value+r,n}(t,r,i):"chlist"===n?function(e,t,r,n){const i=r.value,o=[];for(;r.value<i+n-1;){const n=B(t,r),i=U(e,r),s=H(e,r);r.value+=3;const a=U(e,r),l=U(e,r);o.push({name:n,pixelType:i,pLinear:s,xSampling:a,ySampling:l})}return r.value+=1,o}(e,t,r,i):"chromaticities"===n?function(e,t){return{redX:j(e,t),redY:j(e,t),greenX:j(e,t),greenY:j(e,t),blueX:j(e,t),blueY:j(e,t),whiteX:j(e,t),whiteY:j(e,t)}}(e,r):"compression"===n?function(e,t){return["NO_COMPRESSION","RLE_COMPRESSION","ZIPS_COMPRESSION","ZIP_COMPRESSION","PIZ_COMPRESSION","PXR24_COMPRESSION","B44_COMPRESSION","B44A_COMPRESSION","DWAA_COMPRESSION","DWAB_COMPRESSION"][H(e,t)]}(e,r):"box2i"===n?function(e,t){return{xMin:U(e,t),yMin:U(e,t),xMax:U(e,t),yMax:U(e,t)}}(e,r):"envmap"===n?function(e,t){return["ENVMAP_LATLONG","ENVMAP_CUBE"][H(e,t)]}(e,r):"tiledesc"===n?function(e,t){const r=V(e,t),n=V(e,t),i=H(e,t);return{xSize:r,ySize:n,levelMode:["ONE_LEVEL","MIPMAP_LEVELS","RIPMAP_LEVELS"][15&i],roundingMode:["ROUND_DOWN","ROUND_UP"][i>>4]}}(e,r):"lineOrder"===n?function(e,t){return["INCREASING_Y","DECREASING_Y","RANDOM_Y"][H(e,t)]}(e,r):"float"===n?j(e,r):"v2f"===n?function(e,t){return[j(e,t),j(e,t)]}(e,r):"v3f"===n?function(e,t){return[j(e,t),j(e,t),j(e,t)]}(e,r):"int"===n?U(e,r):"rational"===n?function(e,t){return[U(e,t),V(e,t)]}(e,r):"timecode"===n?function(e,t){return[V(e,t),V(e,t)]}(e,r):"preview"===n?(r.value+=i,"skipped"):void(r.value+=i)}function X(e,t,r){let n=0;switch(e.levelMode){case"ONE_LEVEL":n=1;break;case"MIPMAP_LEVELS":n=function(e,t){const r=Math.log2(e);return"ROUND_DOWN"==t?Math.floor(r):Math.ceil(r)}(Math.max(t,r),e.roundingMode)+1;break;case"RIPMAP_LEVELS":throw new Error("THREE.EXRLoader: RIPMAP_LEVELS tiles currently unsupported.")}return n}function K(e,t,r,n){const i=new Array(e);for(let o=0;o<e;o++){const e=1<<o;let s=t/e|0;"ROUND_UP"==n&&s*e<t&&(s+=1);const a=Math.max(s,1);i[o]=(a+r-1)/r|0}return i}function Z(){const e=this,t=e.offset,r={value:0};for(let n=0;n<e.tileCount;n++){const n=U(e.viewer,t),i=U(e.viewer,t);t.value+=8,e.size=V(e.viewer,t);const o=n*e.blockWidth,s=i*e.blockHeight;e.columns=o+e.blockWidth>e.width?e.width-o:e.blockWidth,e.lines=s+e.blockHeight>e.height?e.height-s:e.blockHeight;const a=e.columns*e.totalBytes,l=e.size<e.lines*a?e.uncompress(e):L(e);t.value+=e.size;for(let t=0;t<e.lines;t++){const n=t*e.columns*e.totalBytes;for(let i=0;i<e.inputChannels.length;i++){const a=ie.channels[i].name,c=e.channelByteOffsets[a]*e.columns,u=e.decodeChannels[a];if(void 0===u)continue;r.value=n+c;const d=(e.height-(1+s+t))*e.outLineWidth;for(let t=0;t<e.columns;t++){const n=d+(t+o)*e.outputChannels+u;e.byteArray[n]=e.getter(l,r)}}}}}function ee(){const e=this,t=e.offset,r={value:0};for(let n=0;n<e.height/e.blockHeight;n++){const i=U(e.viewer,t)-ie.dataWindow.yMin;e.size=V(e.viewer,t),e.lines=i+e.blockHeight>e.height?e.height-i:e.blockHeight;const o=e.columns*e.totalBytes,s=e.size<e.lines*o?e.uncompress(e):L(e);t.value+=e.size;for(let t=0;t<e.blockHeight;t++){const i=n*e.blockHeight,a=t+e.scanOrder(i);if(a>=e.height)continue;const l=t*o,c=(e.height-1-a)*e.outLineWidth;for(let t=0;t<e.inputChannels.length;t++){const n=ie.channels[t].name,i=e.channelByteOffsets[n]*e.columns,o=e.decodeChannels[n];if(void 0!==o){r.value=l+i;for(let t=0;t<e.columns;t++){const n=c+t*e.outputChannels+o;e.byteArray[n]=e.getter(s,r)}}}}}}const te={value:0},re=new DataView(e),ne=new Uint8Array(e),ie=function(e,t,r){const n={};if(20000630!=e.getUint32(0,!0))throw new Error("THREE.EXRLoader: Provided file doesn't appear to be in OpenEXR format.");n.version=e.getUint8(4);const i=e.getUint8(5);n.spec={singleTile:!!(2&i),longName:!!(4&i),deepFormat:!!(8&i),multiPart:!!(16&i)},r.value=8;let o=!0;for(;o;){const i=B(t,r);if(""===i)o=!1;else{const o=B(t,r),s=Y(e,t,r,o,V(e,r));void 0===s?console.warn(`THREE.EXRLoader: Skipped unknown header attribute type '${o}'.`):n[i]=s}}if(-7&i)throw console.error("THREE.EXRHeader:",n),new Error("THREE.EXRLoader: Provided file is currently unsupported.");return n}(re,e,te),oe=function(e,t,r,n,i,o){const s={size:0,viewer:t,array:r,offset:n,width:e.dataWindow.xMax-e.dataWindow.xMin+1,height:e.dataWindow.yMax-e.dataWindow.yMin+1,inputChannels:e.channels,channelByteOffsets:{},shouldExpand:!1,scanOrder:null,totalBytes:null,columns:null,lines:null,type:null,uncompress:null,getter:null,format:null,colorSpace:Ht};switch(e.compression){case"NO_COMPRESSION":s.blockHeight=1,s.uncompress=L;break;case"RLE_COMPRESSION":s.blockHeight=1,s.uncompress=P;break;case"ZIPS_COMPRESSION":s.blockHeight=1,s.uncompress=D;break;case"ZIP_COMPRESSION":s.blockHeight=16,s.uncompress=D;break;case"PIZ_COMPRESSION":s.blockHeight=32,s.uncompress=N;break;case"PXR24_COMPRESSION":s.blockHeight=16,s.uncompress=F;break;case"DWAA_COMPRESSION":s.blockHeight=32,s.uncompress=O;break;case"DWAB_COMPRESSION":s.blockHeight=256,s.uncompress=O;break;default:throw new Error("EXRLoader.parse: "+e.compression+" is unsupported")}const a={};for(const t of e.channels)switch(t.name){case"Y":case"R":case"G":case"B":case"A":a[t.name]=!0,s.type=t.pixelType}let l=!1,c=!1;if(a.R&&a.G&&a.B)s.outputChannels=4;else{if(!a.Y)throw new Error("EXRLoader.parse: file contains unsupported data channels.");s.outputChannels=1}switch(s.outputChannels){case 4:o==Ge?(l=!a.A,s.format=Ge,s.colorSpace=Ht,s.outputChannels=4,s.decodeChannels={R:0,G:1,B:2,A:3}):o==qe?(s.format=qe,s.colorSpace=Ht,s.outputChannels=2,s.decodeChannels={R:0,G:1}):o==We?(s.format=We,s.colorSpace=Ht,s.outputChannels=1,s.decodeChannels={R:0}):c=!0;break;case 1:o==Ge?(l=!0,s.format=Ge,s.colorSpace=Ht,s.outputChannels=4,s.shouldExpand=!0,s.decodeChannels={Y:0}):o==qe?(s.format=qe,s.colorSpace=Ht,s.outputChannels=2,s.shouldExpand=!0,s.decodeChannels={Y:0}):o==We?(s.format=We,s.colorSpace=Ht,s.outputChannels=1,s.decodeChannels={Y:0}):c=!0;break;default:c=!0}if(c)throw new Error("EXRLoader.parse: invalid output format for specified file.");if(1==s.type)switch(i){case Ne:s.getter=q;break;case Fe:s.getter=Q}else{if(2!=s.type)throw new Error("EXRLoader.parse: unsupported pixelType "+s.type+" for "+e.compression+".");switch(i){case Ne:s.getter=j;break;case Fe:s.getter=J}}s.columns=s.width;const u=s.width*s.height*s.outputChannels;switch(i){case Ne:s.byteArray=new Float32Array(u),l&&s.byteArray.fill(1,0,u);break;case Fe:s.byteArray=new Uint16Array(u),l&&s.byteArray.fill(15360,0,u);break;default:console.error("THREE.EXRLoader: unsupported type: ",i)}let d=0;for(const t of e.channels)void 0!==s.decodeChannels[t.name]&&(s.channelByteOffsets[t.name]=d),d+=2*t.pixelType;if(s.totalBytes=d,s.outLineWidth=s.width*s.outputChannels,"INCREASING_Y"===e.lineOrder?s.scanOrder=e=>e:s.scanOrder=e=>s.height-1-e,e.spec.singleTile){s.blockHeight=e.tiles.ySize,s.blockWidth=e.tiles.xSize;const r=X(e.tiles,s.width,s.height),i=K(r,s.width,e.tiles.xSize,e.tiles.roundingMode),o=K(r,s.height,e.tiles.ySize,e.tiles.roundingMode);s.tileCount=i[0]*o[0];for(let e=0;e<r;e++)for(let r=0;r<o[e];r++)for(let r=0;r<i[e];r++)G(t,n);s.decode=Z.bind(s)}else{s.blockWidth=s.width;const e=Math.ceil(s.height/s.blockHeight);for(let r=0;r<e;r++)G(t,n);s.decode=ee.bind(s)}return s}(ie,re,ne,te,this.type,this.outputFormat);if(oe.decode(),oe.shouldExpand){const e=oe.byteArray;if(this.outputFormat==Ge)for(let t=0;t<e.length;t+=4)e[t+2]=e[t+1]=e[t];else if(this.outputFormat==qe)for(let t=0;t<e.length;t+=2)e[t+1]=e[t]}return{header:ie,width:oe.width,height:oe.height,data:oe.byteArray,format:oe.format,colorSpace:oe.colorSpace,type:this.type}}setDataType(e){return this.type=e,this}setOutputFormat(e){return this.outputFormat=e,this}load(e,t,r,n){return super.load(e,function(e,r){e.colorSpace=r.colorSpace,e.minFilter=Ce,e.magFilter=Ce,e.generateMipmaps=!1,e.flipY=!1,t&&t(e,r)},r,n)}}new WeakMap;class Ab extends Ol{constructor(e){super(e)}parse(e,t){const r={mipmaps:[],width:0,height:0,format:null,mipmapCount:1};function n(e){return e.charCodeAt(0)+(e.charCodeAt(1)<<8)+(e.charCodeAt(2)<<16)+(e.charCodeAt(3)<<24)}function i(e,t,r,n){const i=r*n*4,o=new Uint8Array(e,t,i),s=new Uint8Array(i);let a=0,l=0;for(let e=0;e<n;e++)for(let e=0;e<r;e++){const e=o[l];l++;const t=o[l];l++;const r=o[l];l++;const n=o[l];l++,s[a]=r,a++,s[a]=t,a++,s[a]=e,a++,s[a]=n,a++}return s}function o(e,t,r,n){const i=new Uint8Array(e,t,r*n*3),o=new Uint8Array(r*n*4);let s=0,a=0;for(let e=0;e<n;e++)for(let e=0;e<r;e++){const e=i[a];a++;const t=i[a];a++;const r=i[a];a++,o[s]=r,s++,o[s]=t,s++,o[s]=e,s++,o[s]=255,s++}return o}const s=n("DXT1"),a=n("DXT3"),l=n("DXT5"),c=n("ETC1"),u=n("DX10"),d=new Int32Array(e,0,31);if(542327876!==d[0])return console.error("THREE.DDSLoader.parse: Invalid magic number in DDS header."),r;let h;const p=d[21];let m=!1,_=!1,g=d[1]+4;switch(p){case s:h=8,r.format=Ke;break;case a:h=16,r.format=et;break;case l:h=16,r.format=tt;break;case c:h=8,r.format=st;break;case u:g+=20;const t=new Int32Array(e,128,5)[0];switch(t){case 96:h=16,r.format=wt;break;case 95:h=16,r.format=At;break;default:return console.error("THREE.DDSLoader.parse: Unsupported DXGI_FORMAT code ",t),r}break;default:if(32===d[22]&&16711680&d[23]&&65280&d[24]&&255&d[25]&&4278190080&d[26])m=!0,h=64,r.format=Ge;else{if(!(24===d[22]&&16711680&d[23]&&65280&d[24]&&255&d[25]))return console.error("THREE.DDSLoader.parse: Unsupported FourCC code ",(f=p,String.fromCharCode(255&f,f>>8&255,f>>16&255,f>>24&255))),r;_=!0,h=64,r.format=Ge}}var f;r.mipmapCount=1,131072&d[2]&&!1!==t&&(r.mipmapCount=Math.max(1,d[7]));const v=d[28];if(r.isCubemap=!!(512&v),r.isCubemap&&(!(1024&v)||!(2048&v)||!(4096&v)||!(8192&v)||!(16384&v)||!(32768&v)))return console.error("THREE.DDSLoader.parse: Incomplete cubemap faces"),r;r.width=d[4],r.height=d[3];const b=r.isCubemap?6:1;for(let t=0;t<b;t++){let t=r.width,n=r.height;for(let s=0;s<r.mipmapCount;s++){let s,a;m?(s=i(e,g,t,n),a=s.length):_?(s=o(e,g,t,n),a=t*n*3):(a=Math.max(4,t)/4*Math.max(4,n)/4*h,s=new Uint8Array(e,g,a));const l={data:s,width:t,height:n};r.mipmaps.push(l),g+=a,t=Math.max(t>>1,1),n=Math.max(n>>1,1)}}return r}}const Cb=new WeakMap;function Eb(){let e,t;function r(e,t,r,n,i,o){const s=o.num_components(),a=r.num_points()*s,l=a*i.BYTES_PER_ELEMENT,c=function(e,t){switch(t){case Float32Array:return e.DT_FLOAT32;case Int8Array:return e.DT_INT8;case Int16Array:return e.DT_INT16;case Int32Array:return e.DT_INT32;case Uint8Array:return e.DT_UINT8;case Uint16Array:return e.DT_UINT16;case Uint32Array:return e.DT_UINT32}}(e,i),u=e._malloc(l);t.GetAttributeDataArrayForAllPoints(r,o,c,l,u);const d=new i(e.HEAPF32.buffer,u,a).slice();return e._free(u),{name:n,array:d,itemSize:s}}onmessage=function(n){const i=n.data;switch(i.type){case"init":e=i.decoderConfig,t=new Promise(function(t){e.onModuleLoaded=function(e){t({draco:e})},DracoDecoderModule(e)});break;case"decode":const n=i.buffer,o=i.taskConfig;t.then(e=>{const t=e.draco,s=new t.Decoder;try{const e=function(e,t,n,i){const o=i.attributeIDs,s=i.attributeTypes;let a,l;const c=t.GetEncodedGeometryType(n);if(c===e.TRIANGULAR_MESH)a=new e.Mesh,l=t.DecodeArrayToMesh(n,n.byteLength,a);else{if(c!==e.POINT_CLOUD)throw new Error("THREE.DRACOLoader: Unexpected geometry type.");a=new e.PointCloud,l=t.DecodeArrayToPointCloud(n,n.byteLength,a)}if(!l.ok()||0===a.ptr)throw new Error("THREE.DRACOLoader: Decoding failed: "+l.error_msg());const u={index:null,attributes:[]};for(const n in o){const l=self[s[n]];let c,d;if(i.useUniqueIDs)d=o[n],c=t.GetAttributeByUniqueId(a,d);else{if(d=t.GetAttributeId(a,e[o[n]]),-1===d)continue;c=t.GetAttribute(a,d)}const h=r(e,t,a,n,l,c);"color"===n&&(h.vertexColorSpace=i.vertexColorSpace),u.attributes.push(h)}c===e.TRIANGULAR_MESH&&(u.index=function(e,t,r){const n=r.num_faces(),i=3*n,o=4*i,s=e._malloc(o);t.GetTrianglesUInt32Array(r,o,s);const a=new Uint32Array(e.HEAPF32.buffer,s,i).slice();return e._free(s),{array:a,itemSize:1}}(e,t,a));return e.destroy(a),u}(t,s,new Int8Array(n),o),a=e.attributes.map(e=>e.array.buffer);e.index&&a.push(e.index.array.buffer),self.postMessage({type:"decode",id:i.id,geometry:e},a)}catch(e){console.error(e),self.postMessage({type:"error",id:i.id,error:e.message})}finally{t.destroy(s)}})}}}new Rn,new br;class Ib extends Pl{constructor(e){super(e),this.dracoLoader=null,this.ktx2Loader=null,this.meshoptDecoder=null,this.pluginCallbacks=[],this.register(function(e){return new Pb(e)}),this.register(function(e){return new Db(e)}),this.register(function(e){return new Gb(e)}),this.register(function(e){return new jb(e)}),this.register(function(e){return new Jb(e)}),this.register(function(e){return new Fb(e)}),this.register(function(e){return new Ob(e)}),this.register(function(e){return new Bb(e)}),this.register(function(e){return new Ub(e)}),this.register(function(e){return new Lb(e)}),this.register(function(e){return new Vb(e)}),this.register(function(e){return new Nb(e)}),this.register(function(e){return new Hb(e)}),this.register(function(e){return new zb(e)}),this.register(function(e){return new Tb(e)}),this.register(function(e){return new Wb(e)}),this.register(function(e){return new Qb(e)})}load(e,t,r,n){const i=this;let o;if(""!==this.resourcePath)o=this.resourcePath;else if(""!==this.path){const t=uc.extractUrlBase(e);o=uc.resolveURL(t,this.path)}else o=uc.extractUrlBase(e);this.manager.itemStart(e);const s=function(t){n?n(t):console.error(t),i.manager.itemError(e),i.manager.itemEnd(e)},a=new Fl(this.manager);a.setPath(this.path),a.setResponseType("arraybuffer"),a.setRequestHeader(this.requestHeader),a.setWithCredentials(this.withCredentials),a.load(e,function(r){try{i.parse(r,o,function(r){t(r),i.manager.itemEnd(e)},s)}catch(e){s(e)}},r,s)}setDRACOLoader(e){return this.dracoLoader=e,this}setKTX2Loader(e){return this.ktx2Loader=e,this}setMeshoptDecoder(e){return this.meshoptDecoder=e,this}register(e){return-1===this.pluginCallbacks.indexOf(e)&&this.pluginCallbacks.push(e),this}unregister(e){return-1!==this.pluginCallbacks.indexOf(e)&&this.pluginCallbacks.splice(this.pluginCallbacks.indexOf(e),1),this}parse(e,t,r,n){let i;const o={},s={},a=new TextDecoder;if("string"==typeof e)i=JSON.parse(e);else if(e instanceof ArrayBuffer){if(a.decode(new Uint8Array(e,0,4))===qb){try{o[kb.KHR_BINARY_GLTF]=new Kb(e)}catch(e){return void(n&&n(e))}i=JSON.parse(o[kb.KHR_BINARY_GLTF].content)}else i=JSON.parse(a.decode(e))}else i=e;if(void 0===i.asset||i.asset.version[0]<2)return void(n&&n(new Error("THREE.GLTFLoader: Unsupported asset. glTF versions >=2.0 are supported.")));const l=new wy(i,{path:t||this.resourcePath||"",crossOrigin:this.crossOrigin,requestHeader:this.requestHeader,manager:this.manager,ktx2Loader:this.ktx2Loader,meshoptDecoder:this.meshoptDecoder});l.fileLoader.setRequestHeader(this.requestHeader);for(let e=0;e<this.pluginCallbacks.length;e++){const t=this.pluginCallbacks[e](l);t.name||console.error("THREE.GLTFLoader: Invalid plugin found: missing name"),s[t.name]=t,o[t.name]=!0}if(i.extensionsUsed)for(let e=0;e<i.extensionsUsed.length;++e){const t=i.extensionsUsed[e],r=i.extensionsRequired||[];switch(t){case kb.KHR_MATERIALS_UNLIT:o[t]=new Rb;break;case kb.KHR_DRACO_MESH_COMPRESSION:o[t]=new Zb(i,this.dracoLoader);break;case kb.KHR_TEXTURE_TRANSFORM:o[t]=new ey;break;case kb.KHR_MESH_QUANTIZATION:o[t]=new ty;break;default:r.indexOf(t)>=0&&void 0===s[t]&&console.warn('THREE.GLTFLoader: Unknown extension "'+t+'".')}}l.setExtensions(o),l.setPlugins(s),l.parse(r,n)}parseAsync(e,t){const r=this;return new Promise(function(n,i){r.parse(e,t,n,i)})}}function Mb(){let e={};return{get:function(t){return e[t]},add:function(t,r){e[t]=r},remove:function(t){delete e[t]},removeAll:function(){e={}}}}const kb={KHR_BINARY_GLTF:"KHR_binary_glTF",KHR_DRACO_MESH_COMPRESSION:"KHR_draco_mesh_compression",KHR_LIGHTS_PUNCTUAL:"KHR_lights_punctual",KHR_MATERIALS_CLEARCOAT:"KHR_materials_clearcoat",KHR_MATERIALS_DISPERSION:"KHR_materials_dispersion",KHR_MATERIALS_IOR:"KHR_materials_ior",KHR_MATERIALS_SHEEN:"KHR_materials_sheen",KHR_MATERIALS_SPECULAR:"KHR_materials_specular",KHR_MATERIALS_TRANSMISSION:"KHR_materials_transmission",KHR_MATERIALS_IRIDESCENCE:"KHR_materials_iridescence",KHR_MATERIALS_ANISOTROPY:"KHR_materials_anisotropy",KHR_MATERIALS_UNLIT:"KHR_materials_unlit",KHR_MATERIALS_VOLUME:"KHR_materials_volume",KHR_TEXTURE_BASISU:"KHR_texture_basisu",KHR_TEXTURE_TRANSFORM:"KHR_texture_transform",KHR_MESH_QUANTIZATION:"KHR_mesh_quantization",KHR_MATERIALS_EMISSIVE_STRENGTH:"KHR_materials_emissive_strength",EXT_MATERIALS_BUMP:"EXT_materials_bump",EXT_TEXTURE_WEBP:"EXT_texture_webp",EXT_TEXTURE_AVIF:"EXT_texture_avif",EXT_MESHOPT_COMPRESSION:"EXT_meshopt_compression",EXT_MESH_GPU_INSTANCING:"EXT_mesh_gpu_instancing"};class Tb{constructor(e){this.parser=e,this.name=kb.KHR_LIGHTS_PUNCTUAL,this.cache={refs:{},uses:{}}}_markDefs(){const e=this.parser,t=this.parser.json.nodes||[];for(let r=0,n=t.length;r<n;r++){const n=t[r];n.extensions&&n.extensions[this.name]&&void 0!==n.extensions[this.name].light&&e._addNodeRef(this.cache,n.extensions[this.name].light)}}_loadLight(e){const t=this.parser,r="light:"+e;let n=t.cache.get(r);if(n)return n;const i=t.json,o=((i.extensions&&i.extensions[this.name]||{}).lights||[])[e];let s;const a=new mi(16777215);void 0!==o.color&&a.setRGB(o.color[0],o.color[1],o.color[2],Ht);const l=void 0!==o.range?o.range:0;switch(o.type){case"directional":s=new oc(a),s.target.position.set(0,0,-1),s.add(s.target);break;case"point":s=new rc(a),s.distance=l;break;case"spot":s=new Xl(a),s.distance=l,o.spot=o.spot||{},o.spot.innerConeAngle=void 0!==o.spot.innerConeAngle?o.spot.innerConeAngle:0,o.spot.outerConeAngle=void 0!==o.spot.outerConeAngle?o.spot.outerConeAngle:Math.PI/4,s.angle=o.spot.outerConeAngle,s.penumbra=1-o.spot.innerConeAngle/o.spot.outerConeAngle,s.target.position.set(0,0,-1),s.add(s.target);break;default:throw new Error("THREE.GLTFLoader: Unexpected light type: "+o.type)}return s.position.set(0,0,0),vy(s,o),void 0!==o.intensity&&(s.intensity=o.intensity),s.name=t.createUniqueName(o.name||"light_"+e),n=Promise.resolve(s),t.cache.add(r,n),n}getDependency(e,t){if("light"===e)return this._loadLight(t)}createNodeAttachment(e){const t=this,r=this.parser,n=r.json.nodes[e],i=(n.extensions&&n.extensions[this.name]||{}).light;return void 0===i?null:this._loadLight(i).then(function(e){return r._getNodeRef(t.cache,i,e)})}}class Rb{constructor(){this.name=kb.KHR_MATERIALS_UNLIT}getMaterialType(){return vi}extendParams(e,t,r){const n=[];e.color=new mi(1,1,1),e.opacity=1;const i=t.pbrMetallicRoughness;if(i){if(Array.isArray(i.baseColorFactor)){const t=i.baseColorFactor;e.color.setRGB(t[0],t[1],t[2],Ht),e.opacity=t[3]}void 0!==i.baseColorTexture&&n.push(r.assignTexture(e,"map",i.baseColorTexture,zt))}return Promise.all(n)}}class Lb{constructor(e){this.parser=e,this.name=kb.KHR_MATERIALS_EMISSIVE_STRENGTH}extendMaterialParams(e,t){const r=this.parser.json.materials[e];if(!r.extensions||!r.extensions[this.name])return Promise.resolve();const n=r.extensions[this.name].emissiveStrength;return void 0!==n&&(t.emissiveIntensity=n),Promise.resolve()}}class Pb{constructor(e){this.parser=e,this.name=kb.KHR_MATERIALS_CLEARCOAT}getMaterialType(e){const t=this.parser.json.materials[e];return t.extensions&&t.extensions[this.name]?cu:null}extendMaterialParams(e,t){const r=this.parser,n=r.json.materials[e];if(!n.extensions||!n.extensions[this.name])return Promise.resolve();const i=[],o=n.extensions[this.name];if(void 0!==o.clearcoatFactor&&(t.clearcoat=o.clearcoatFactor),void 0!==o.clearcoatTexture&&i.push(r.assignTexture(t,"clearcoatMap",o.clearcoatTexture)),void 0!==o.clearcoatRoughnessFactor&&(t.clearcoatRoughness=o.clearcoatRoughnessFactor),void 0!==o.clearcoatRoughnessTexture&&i.push(r.assignTexture(t,"clearcoatRoughnessMap",o.clearcoatRoughnessTexture)),void 0!==o.clearcoatNormalTexture&&(i.push(r.assignTexture(t,"clearcoatNormalMap",o.clearcoatNormalTexture)),void 0!==o.clearcoatNormalTexture.scale)){const e=o.clearcoatNormalTexture.scale;t.clearcoatNormalScale=new fr(e,e)}return Promise.all(i)}}class Db{constructor(e){this.parser=e,this.name=kb.KHR_MATERIALS_DISPERSION}getMaterialType(e){const t=this.parser.json.materials[e];return t.extensions&&t.extensions[this.name]?cu:null}extendMaterialParams(e,t){const r=this.parser.json.materials[e];if(!r.extensions||!r.extensions[this.name])return Promise.resolve();const n=r.extensions[this.name];return t.dispersion=void 0!==n.dispersion?n.dispersion:0,Promise.resolve()}}class Nb{constructor(e){this.parser=e,this.name=kb.KHR_MATERIALS_IRIDESCENCE}getMaterialType(e){const t=this.parser.json.materials[e];return t.extensions&&t.extensions[this.name]?cu:null}extendMaterialParams(e,t){const r=this.parser,n=r.json.materials[e];if(!n.extensions||!n.extensions[this.name])return Promise.resolve();const i=[],o=n.extensions[this.name];return void 0!==o.iridescenceFactor&&(t.iridescence=o.iridescenceFactor),void 0!==o.iridescenceTexture&&i.push(r.assignTexture(t,"iridescenceMap",o.iridescenceTexture)),void 0!==o.iridescenceIor&&(t.iridescenceIOR=o.iridescenceIor),void 0===t.iridescenceThicknessRange&&(t.iridescenceThicknessRange=[100,400]),void 0!==o.iridescenceThicknessMinimum&&(t.iridescenceThicknessRange[0]=o.iridescenceThicknessMinimum),void 0!==o.iridescenceThicknessMaximum&&(t.iridescenceThicknessRange[1]=o.iridescenceThicknessMaximum),void 0!==o.iridescenceThicknessTexture&&i.push(r.assignTexture(t,"iridescenceThicknessMap",o.iridescenceThicknessTexture)),Promise.all(i)}}class Fb{constructor(e){this.parser=e,this.name=kb.KHR_MATERIALS_SHEEN}getMaterialType(e){const t=this.parser.json.materials[e];return t.extensions&&t.extensions[this.name]?cu:null}extendMaterialParams(e,t){const r=this.parser,n=r.json.materials[e];if(!n.extensions||!n.extensions[this.name])return Promise.resolve();const i=[];t.sheenColor=new mi(0,0,0),t.sheenRoughness=0,t.sheen=1;const o=n.extensions[this.name];if(void 0!==o.sheenColorFactor){const e=o.sheenColorFactor;t.sheenColor.setRGB(e[0],e[1],e[2],Ht)}return void 0!==o.sheenRoughnessFactor&&(t.sheenRoughness=o.sheenRoughnessFactor),void 0!==o.sheenColorTexture&&i.push(r.assignTexture(t,"sheenColorMap",o.sheenColorTexture,zt)),void 0!==o.sheenRoughnessTexture&&i.push(r.assignTexture(t,"sheenRoughnessMap",o.sheenRoughnessTexture)),Promise.all(i)}}class Ob{constructor(e){this.parser=e,this.name=kb.KHR_MATERIALS_TRANSMISSION}getMaterialType(e){const t=this.parser.json.materials[e];return t.extensions&&t.extensions[this.name]?cu:null}extendMaterialParams(e,t){const r=this.parser,n=r.json.materials[e];if(!n.extensions||!n.extensions[this.name])return Promise.resolve();const i=[],o=n.extensions[this.name];return void 0!==o.transmissionFactor&&(t.transmission=o.transmissionFactor),void 0!==o.transmissionTexture&&i.push(r.assignTexture(t,"transmissionMap",o.transmissionTexture)),Promise.all(i)}}class Bb{constructor(e){this.parser=e,this.name=kb.KHR_MATERIALS_VOLUME}getMaterialType(e){const t=this.parser.json.materials[e];return t.extensions&&t.extensions[this.name]?cu:null}extendMaterialParams(e,t){const r=this.parser,n=r.json.materials[e];if(!n.extensions||!n.extensions[this.name])return Promise.resolve();const i=[],o=n.extensions[this.name];t.thickness=void 0!==o.thicknessFactor?o.thicknessFactor:0,void 0!==o.thicknessTexture&&i.push(r.assignTexture(t,"thicknessMap",o.thicknessTexture)),t.attenuationDistance=o.attenuationDistance||1/0;const s=o.attenuationColor||[1,1,1];return t.attenuationColor=(new mi).setRGB(s[0],s[1],s[2],Ht),Promise.all(i)}}class Ub{constructor(e){this.parser=e,this.name=kb.KHR_MATERIALS_IOR}getMaterialType(e){const t=this.parser.json.materials[e];return t.extensions&&t.extensions[this.name]?cu:null}extendMaterialParams(e,t){const r=this.parser.json.materials[e];if(!r.extensions||!r.extensions[this.name])return Promise.resolve();const n=r.extensions[this.name];return t.ior=void 0!==n.ior?n.ior:1.5,Promise.resolve()}}class Vb{constructor(e){this.parser=e,this.name=kb.KHR_MATERIALS_SPECULAR}getMaterialType(e){const t=this.parser.json.materials[e];return t.extensions&&t.extensions[this.name]?cu:null}extendMaterialParams(e,t){const r=this.parser,n=r.json.materials[e];if(!n.extensions||!n.extensions[this.name])return Promise.resolve();const i=[],o=n.extensions[this.name];t.specularIntensity=void 0!==o.specularFactor?o.specularFactor:1,void 0!==o.specularTexture&&i.push(r.assignTexture(t,"specularIntensityMap",o.specularTexture));const s=o.specularColorFactor||[1,1,1];return t.specularColor=(new mi).setRGB(s[0],s[1],s[2],Ht),void 0!==o.specularColorTexture&&i.push(r.assignTexture(t,"specularColorMap",o.specularColorTexture,zt)),Promise.all(i)}}class zb{constructor(e){this.parser=e,this.name=kb.EXT_MATERIALS_BUMP}getMaterialType(e){const t=this.parser.json.materials[e];return t.extensions&&t.extensions[this.name]?cu:null}extendMaterialParams(e,t){const r=this.parser,n=r.json.materials[e];if(!n.extensions||!n.extensions[this.name])return Promise.resolve();const i=[],o=n.extensions[this.name];return t.bumpScale=void 0!==o.bumpFactor?o.bumpFactor:1,void 0!==o.bumpTexture&&i.push(r.assignTexture(t,"bumpMap",o.bumpTexture)),Promise.all(i)}}class Hb{constructor(e){this.parser=e,this.name=kb.KHR_MATERIALS_ANISOTROPY}getMaterialType(e){const t=this.parser.json.materials[e];return t.extensions&&t.extensions[this.name]?cu:null}extendMaterialParams(e,t){const r=this.parser,n=r.json.materials[e];if(!n.extensions||!n.extensions[this.name])return Promise.resolve();const i=[],o=n.extensions[this.name];return void 0!==o.anisotropyStrength&&(t.anisotropy=o.anisotropyStrength),void 0!==o.anisotropyRotation&&(t.anisotropyRotation=o.anisotropyRotation),void 0!==o.anisotropyTexture&&i.push(r.assignTexture(t,"anisotropyMap",o.anisotropyTexture)),Promise.all(i)}}class Gb{constructor(e){this.parser=e,this.name=kb.KHR_TEXTURE_BASISU}loadTexture(e){const t=this.parser,r=t.json,n=r.textures[e];if(!n.extensions||!n.extensions[this.name])return null;const i=n.extensions[this.name],o=t.options.ktx2Loader;if(!o){if(r.extensionsRequired&&r.extensionsRequired.indexOf(this.name)>=0)throw new Error("THREE.GLTFLoader: setKTX2Loader must be called before loading KTX2 textures");return null}return t.loadTextureImage(e,i.source,o)}}class jb{constructor(e){this.parser=e,this.name=kb.EXT_TEXTURE_WEBP}loadTexture(e){const t=this.name,r=this.parser,n=r.json,i=n.textures[e];if(!i.extensions||!i.extensions[t])return null;const o=i.extensions[t],s=n.images[o.source];let a=r.textureLoader;if(s.uri){const e=r.options.manager.getHandler(s.uri);null!==e&&(a=e)}return r.loadTextureImage(e,o.source,a)}}class Jb{constructor(e){this.parser=e,this.name=kb.EXT_TEXTURE_AVIF}loadTexture(e){const t=this.name,r=this.parser,n=r.json,i=n.textures[e];if(!i.extensions||!i.extensions[t])return null;const o=i.extensions[t],s=n.images[o.source];let a=r.textureLoader;if(s.uri){const e=r.options.manager.getHandler(s.uri);null!==e&&(a=e)}return r.loadTextureImage(e,o.source,a)}}class Wb{constructor(e){this.name=kb.EXT_MESHOPT_COMPRESSION,this.parser=e}loadBufferView(e){const t=this.parser.json,r=t.bufferViews[e];if(r.extensions&&r.extensions[this.name]){const e=r.extensions[this.name],n=this.parser.getDependency("buffer",e.buffer),i=this.parser.options.meshoptDecoder;if(!i||!i.supported){if(t.extensionsRequired&&t.extensionsRequired.indexOf(this.name)>=0)throw new Error("THREE.GLTFLoader: setMeshoptDecoder must be called before loading compressed files");return null}return n.then(function(t){const r=e.byteOffset||0,n=e.byteLength||0,o=e.count,s=e.byteStride,a=new Uint8Array(t,r,n);return i.decodeGltfBufferAsync?i.decodeGltfBufferAsync(o,s,a,e.mode,e.filter).then(function(e){return e.buffer}):i.ready.then(function(){const t=new ArrayBuffer(o*s);return i.decodeGltfBuffer(new Uint8Array(t),o,s,a,e.mode,e.filter),t})})}return null}}class Qb{constructor(e){this.name=kb.EXT_MESH_GPU_INSTANCING,this.parser=e}createNodeMesh(e){const t=this.parser.json,r=t.nodes[e];if(!r.extensions||!r.extensions[this.name]||void 0===r.mesh)return null;const n=t.meshes[r.mesh];for(const e of n.primitives)if(e.mode!==oy.TRIANGLES&&e.mode!==oy.TRIANGLE_STRIP&&e.mode!==oy.TRIANGLE_FAN&&void 0!==e.mode)return null;const i=r.extensions[this.name].attributes,o=[],s={};for(const e in i)o.push(this.parser.getDependency("accessor",i[e]).then(t=>(s[e]=t,s[e])));return o.length<1?null:(o.push(this.parser.createNodeMesh(e)),Promise.all(o).then(e=>{const t=e.pop(),r=t.isGroup?t.children:[t],n=e[0].count,i=[];for(const e of r){const t=new xn,r=new br,o=new vr,a=new br(1,1,1),l=new ls(e.geometry,e.material,n);for(let e=0;e<n;e++)s.TRANSLATION&&r.fromBufferAttribute(s.TRANSLATION,e),s.ROTATION&&o.fromBufferAttribute(s.ROTATION,e),s.SCALE&&a.fromBufferAttribute(s.SCALE,e),l.setMatrixAt(e,t.compose(r,o,a));for(const t in s)if("_COLOR_0"===t){const e=s[t];l.instanceColor=new es(e.array,e.itemSize,e.normalized)}else"TRANSLATION"!==t&&"ROTATION"!==t&&"SCALE"!==t&&e.geometry.setAttribute(t,s[t]);qn.prototype.copy.call(l,e),this.parser.assignFinalMaterial(l),i.push(l)}return t.isGroup?(t.clear(),t.add(...i),t):i[0]}))}}const qb="glTF",Yb=1313821514,Xb=5130562;class Kb{constructor(e){this.name=kb.KHR_BINARY_GLTF,this.content=null,this.body=null;const t=new DataView(e,0,12),r=new TextDecoder;if(this.header={magic:r.decode(new Uint8Array(e.slice(0,4))),version:t.getUint32(4,!0),length:t.getUint32(8,!0)},this.header.magic!==qb)throw new Error("THREE.GLTFLoader: Unsupported glTF-Binary header.");if(this.header.version<2)throw new Error("THREE.GLTFLoader: Legacy binary file detected.");const n=this.header.length-12,i=new DataView(e,12);let o=0;for(;o<n;){const t=i.getUint32(o,!0);o+=4;const n=i.getUint32(o,!0);if(o+=4,n===Yb){const n=new Uint8Array(e,12+o,t);this.content=r.decode(n)}else if(n===Xb){const r=12+o;this.body=e.slice(r,r+t)}o+=t}if(null===this.content)throw new Error("THREE.GLTFLoader: JSON content not found.")}}class Zb{constructor(e,t){if(!t)throw new Error("THREE.GLTFLoader: No DRACOLoader instance provided.");this.name=kb.KHR_DRACO_MESH_COMPRESSION,this.json=e,this.dracoLoader=t,this.dracoLoader.preload()}decodePrimitive(e,t){const r=this.json,n=this.dracoLoader,i=e.extensions[this.name].bufferView,o=e.extensions[this.name].attributes,s={},a={},l={};for(const e in o){const t=uy[e]||e.toLowerCase();s[t]=o[e]}for(const t in e.attributes){const n=uy[t]||t.toLowerCase();if(void 0!==o[t]){const i=r.accessors[e.attributes[t]],o=sy[i.componentType];l[n]=o.name,a[n]=!0===i.normalized}}return t.getDependency("bufferView",i).then(function(e){return new Promise(function(t,r){n.decodeDracoFile(e,function(e){for(const t in e.attributes){const r=e.attributes[t],n=a[t];void 0!==n&&(r.normalized=n)}t(e)},s,l,Ht,r)})})}}class ey{constructor(){this.name=kb.KHR_TEXTURE_TRANSFORM}extendTexture(e,t){return void 0!==t.texCoord&&t.texCoord!==e.channel||void 0!==t.offset||void 0!==t.rotation||void 0!==t.scale?(e=e.clone(),void 0!==t.texCoord&&(e.channel=t.texCoord),void 0!==t.offset&&e.offset.fromArray(t.offset),void 0!==t.rotation&&(e.rotation=t.rotation),void 0!==t.scale&&e.repeat.fromArray(t.scale),e.needsUpdate=!0,e):e}}class ty{constructor(){this.name=kb.KHR_MESH_QUANTIZATION}}class ry extends fl{constructor(e,t,r,n){super(e,t,r,n)}copySampleValue_(e){const t=this.resultBuffer,r=this.sampleValues,n=this.valueSize,i=e*n*3+n;for(let e=0;e!==n;e++)t[e]=r[i+e];return t}interpolate_(e,t,r,n){const i=this.resultBuffer,o=this.sampleValues,s=this.valueSize,a=2*s,l=3*s,c=n-t,u=(r-t)/c,d=u*u,h=d*u,p=e*l,m=p-l,_=-2*h+3*d,g=h-d,f=1-_,v=g-d+u;for(let e=0;e!==s;e++){const t=o[m+e+s],r=o[m+e+a]*c,n=o[p+e+s],l=o[p+e]*c;i[e]=f*t+v*r+_*n+g*l}return i}}const ny=new vr;class iy extends ry{interpolate_(e,t,r,n){const i=super.interpolate_(e,t,r,n);return ny.fromArray(i).normalize().toArray(i),i}}const oy={FLOAT:5126,FLOAT_MAT3:35675,FLOAT_MAT4:35676,FLOAT_VEC2:35664,FLOAT_VEC3:35665,FLOAT_VEC4:35666,LINEAR:9729,REPEAT:10497,SAMPLER_2D:35678,POINTS:0,LINES:1,LINE_LOOP:2,LINE_STRIP:3,TRIANGLES:4,TRIANGLE_STRIP:5,TRIANGLE_FAN:6,UNSIGNED_BYTE:5121,UNSIGNED_SHORT:5123},sy={5120:Int8Array,5121:Uint8Array,5122:Int16Array,5123:Uint16Array,5125:Uint32Array,5126:Float32Array},ay={9728:Se,9729:Ce,9984:we,9985:Ee,9986:Ae,9987:Ie},ly={33071:$e,33648:xe,10497:ye},cy={SCALAR:1,VEC2:2,VEC3:3,VEC4:4,MAT2:4,MAT3:9,MAT4:16},uy={POSITION:"position",NORMAL:"normal",TANGENT:"tangent",TEXCOORD_0:"uv",TEXCOORD_1:"uv1",TEXCOORD_2:"uv2",TEXCOORD_3:"uv3",COLOR_0:"color",WEIGHTS_0:"skinWeight",JOINTS_0:"skinIndex"},dy={scale:"scale",translation:"position",rotation:"quaternion",weights:"morphTargetInfluences"},hy={CUBICSPLINE:void 0,LINEAR:Pt,STEP:Lt},py="OPAQUE",my="MASK",_y="BLEND";function gy(e){return void 0===e.DefaultMaterial&&(e.DefaultMaterial=new lu({color:16777215,emissive:0,metalness:1,roughness:1,transparent:!1,depthTest:!0,side:0})),e.DefaultMaterial}function fy(e,t,r){for(const n in r.extensions)void 0===e[n]&&(t.userData.gltfExtensions=t.userData.gltfExtensions||{},t.userData.gltfExtensions[n]=r.extensions[n])}function vy(e,t){void 0!==t.extras&&("object"==typeof t.extras?Object.assign(e.userData,t.extras):console.warn("THREE.GLTFLoader: Ignoring primitive type .extras, "+t.extras))}function by(e,t){if(e.updateMorphTargets(),void 0!==t.weights)for(let r=0,n=t.weights.length;r<n;r++)e.morphTargetInfluences[r]=t.weights[r];if(t.extras&&Array.isArray(t.extras.targetNames)){const r=t.extras.targetNames;if(e.morphTargetInfluences.length===r.length){e.morphTargetDictionary={};for(let t=0,n=r.length;t<n;t++)e.morphTargetDictionary[r[t]]=t}else console.warn("THREE.GLTFLoader: Invalid extras.targetNames length. Ignoring names.")}}function yy(e){let t;const r=e.extensions&&e.extensions[kb.KHR_DRACO_MESH_COMPRESSION];if(t=r?"draco:"+r.bufferView+":"+r.indices+":"+$y(r.attributes):e.indices+":"+$y(e.attributes)+":"+e.mode,void 0!==e.targets)for(let r=0,n=e.targets.length;r<n;r++)t+=":"+$y(e.targets[r]);return t}function $y(e){let t="";const r=Object.keys(e).sort();for(let n=0,i=r.length;n<i;n++)t+=r[n]+":"+e[r[n]]+";";return t}function xy(e){switch(e){case Int8Array:return 1/127;case Uint8Array:return 1/255;case Int16Array:return 1/32767;case Uint16Array:return 1/65535;default:throw new Error("THREE.GLTFLoader: Unsupported normalized accessor component type.")}}const Sy=new xn;class wy{constructor(e={},t={}){this.json=e,this.extensions={},this.plugins={},this.options=t,this.cache=new Mb,this.associations=new Map,this.primitiveCache={},this.nodeCache={},this.meshCache={refs:{},uses:{}},this.cameraCache={refs:{},uses:{}},this.lightCache={refs:{},uses:{}},this.sourceCache={},this.textureCache={},this.nodeNamesUsed={};let r=!1,n=-1,i=!1,o=-1;if("undefined"!=typeof navigator){const e=navigator.userAgent;r=!0===/^((?!chrome|android).)*safari/i.test(e);const t=e.match(/Version\/(\d+)/);n=r&&t?parseInt(t[1],10):-1,i=e.indexOf("Firefox")>-1,o=i?e.match(/Firefox\/([0-9]+)\./)[1]:-1}"undefined"==typeof createImageBitmap||r&&n<17||i&&o<98?this.textureLoader=new Hl(this.options.manager):this.textureLoader=new pc(this.options.manager),this.textureLoader.setCrossOrigin(this.options.crossOrigin),this.textureLoader.setRequestHeader(this.options.requestHeader),this.fileLoader=new Fl(this.options.manager),this.fileLoader.setResponseType("arraybuffer"),"use-credentials"===this.options.crossOrigin&&this.fileLoader.setWithCredentials(!0)}setExtensions(e){this.extensions=e}setPlugins(e){this.plugins=e}parse(e,t){const r=this,n=this.json,i=this.extensions;this.cache.removeAll(),this.nodeCache={},this._invokeAll(function(e){return e._markDefs&&e._markDefs()}),Promise.all(this._invokeAll(function(e){return e.beforeRoot&&e.beforeRoot()})).then(function(){return Promise.all([r.getDependencies("scene"),r.getDependencies("animation"),r.getDependencies("camera")])}).then(function(t){const o={scene:t[0][n.scene||0],scenes:t[0],animations:t[1],cameras:t[2],asset:n.asset,parser:r,userData:{}};return fy(i,o,n),vy(o,n),Promise.all(r._invokeAll(function(e){return e.afterRoot&&e.afterRoot(o)})).then(function(){for(const e of o.scenes)e.updateMatrixWorld();e(o)})}).catch(t)}_markDefs(){const e=this.json.nodes||[],t=this.json.skins||[],r=this.json.meshes||[];for(let r=0,n=t.length;r<n;r++){const n=t[r].joints;for(let t=0,r=n.length;t<r;t++)e[n[t]].isBone=!0}for(let t=0,n=e.length;t<n;t++){const n=e[t];void 0!==n.mesh&&(this._addNodeRef(this.meshCache,n.mesh),void 0!==n.skin&&(r[n.mesh].isSkinnedMesh=!0)),void 0!==n.camera&&this._addNodeRef(this.cameraCache,n.camera)}}_addNodeRef(e,t){void 0!==t&&(void 0===e.refs[t]&&(e.refs[t]=e.uses[t]=0),e.refs[t]++)}_getNodeRef(e,t,r){if(e.refs[t]<=1)return r;const n=r.clone(),i=(e,t)=>{const r=this.associations.get(e);null!=r&&this.associations.set(t,r);for(const[r,n]of e.children.entries())i(n,t.children[r])};return i(r,n),n.name+="_instance_"+e.uses[t]++,n}_invokeOne(e){const t=Object.values(this.plugins);t.push(this);for(let r=0;r<t.length;r++){const n=e(t[r]);if(n)return n}return null}_invokeAll(e){const t=Object.values(this.plugins);t.unshift(this);const r=[];for(let n=0;n<t.length;n++){const i=e(t[n]);i&&r.push(i)}return r}getDependency(e,t){const r=e+":"+t;let n=this.cache.get(r);if(!n){switch(e){case"scene":n=this.loadScene(t);break;case"node":n=this._invokeOne(function(e){return e.loadNode&&e.loadNode(t)});break;case"mesh":n=this._invokeOne(function(e){return e.loadMesh&&e.loadMesh(t)});break;case"accessor":n=this.loadAccessor(t);break;case"bufferView":n=this._invokeOne(function(e){return e.loadBufferView&&e.loadBufferView(t)});break;case"buffer":n=this.loadBuffer(t);break;case"material":n=this._invokeOne(function(e){return e.loadMaterial&&e.loadMaterial(t)});break;case"texture":n=this._invokeOne(function(e){return e.loadTexture&&e.loadTexture(t)});break;case"skin":n=this.loadSkin(t);break;case"animation":n=this._invokeOne(function(e){return e.loadAnimation&&e.loadAnimation(t)});break;case"camera":n=this.loadCamera(t);break;default:if(n=this._invokeOne(function(r){return r!=this&&r.getDependency&&r.getDependency(e,t)}),!n)throw new Error("Unknown type: "+e)}this.cache.add(r,n)}return n}getDependencies(e){let t=this.cache.get(e);if(!t){const r=this,n=this.json[e+("mesh"===e?"es":"s")]||[];t=Promise.all(n.map(function(t,n){return r.getDependency(e,n)})),this.cache.add(e,t)}return t}loadBuffer(e){const t=this.json.buffers[e],r=this.fileLoader;if(t.type&&"arraybuffer"!==t.type)throw new Error("THREE.GLTFLoader: "+t.type+" buffer type is not supported.");if(void 0===t.uri&&0===e)return Promise.resolve(this.extensions[kb.KHR_BINARY_GLTF].body);const n=this.options;return new Promise(function(e,i){r.load(uc.resolveURL(t.uri,n.path),e,void 0,function(){i(new Error('THREE.GLTFLoader: Failed to load buffer "'+t.uri+'".'))})})}loadBufferView(e){const t=this.json.bufferViews[e];return this.getDependency("buffer",t.buffer).then(function(e){const r=t.byteLength||0,n=t.byteOffset||0;return e.slice(n,n+r)})}loadAccessor(e){const t=this,r=this.json,n=this.json.accessors[e];if(void 0===n.bufferView&&void 0===n.sparse){const e=cy[n.type],t=sy[n.componentType],r=!0===n.normalized,i=new t(n.count*e);return Promise.resolve(new Ei(i,e,r))}const i=[];return void 0!==n.bufferView?i.push(this.getDependency("bufferView",n.bufferView)):i.push(null),void 0!==n.sparse&&(i.push(this.getDependency("bufferView",n.sparse.indices.bufferView)),i.push(this.getDependency("bufferView",n.sparse.values.bufferView))),Promise.all(i).then(function(e){const i=e[0],o=cy[n.type],s=sy[n.componentType],a=s.BYTES_PER_ELEMENT,l=a*o,c=n.byteOffset||0,u=void 0!==n.bufferView?r.bufferViews[n.bufferView].byteStride:void 0,d=!0===n.normalized;let h,p;if(u&&u!==l){const e=Math.floor(c/u),r="InterleavedBuffer:"+n.bufferView+":"+n.componentType+":"+e+":"+n.count;let l=t.cache.get(r);l||(h=new s(i,e*u,n.count*u/a),l=new yo(h,u/a),t.cache.add(r,l)),p=new xo(l,o,c%u/a,d)}else h=null===i?new s(n.count*o):new s(i,c,n.count*o),p=new Ei(h,o,d);if(void 0!==n.sparse){const t=cy.SCALAR,r=sy[n.sparse.indices.componentType],a=n.sparse.indices.byteOffset||0,l=n.sparse.values.byteOffset||0,c=new r(e[1],a,n.sparse.count*t),u=new s(e[2],l,n.sparse.count*o);null!==i&&(p=new Ei(p.array.slice(),p.itemSize,p.normalized)),p.normalized=!1;for(let e=0,t=c.length;e<t;e++){const t=c[e];if(p.setX(t,u[e*o]),o>=2&&p.setY(t,u[e*o+1]),o>=3&&p.setZ(t,u[e*o+2]),o>=4&&p.setW(t,u[e*o+3]),o>=5)throw new Error("THREE.GLTFLoader: Unsupported itemSize in sparse BufferAttribute.")}p.normalized=d}return p})}loadTexture(e){const t=this.json,r=this.options,n=t.textures[e].source,i=t.images[n];let o=this.textureLoader;if(i.uri){const e=r.manager.getHandler(i.uri);null!==e&&(o=e)}return this.loadTextureImage(e,n,o)}loadTextureImage(e,t,r){const n=this,i=this.json,o=i.textures[e],s=i.images[t],a=(s.uri||s.bufferView)+":"+o.sampler;if(this.textureCache[a])return this.textureCache[a];const l=this.loadImageSource(t,r).then(function(t){t.flipY=!1,t.name=o.name||s.name||"",""===t.name&&"string"==typeof s.uri&&!1===s.uri.startsWith("data:image/")&&(t.name=s.uri);const r=(i.samplers||{})[o.sampler]||{};return t.magFilter=ay[r.magFilter]||Ce,t.minFilter=ay[r.minFilter]||Ie,t.wrapS=ly[r.wrapS]||ye,t.wrapT=ly[r.wrapT]||ye,t.generateMipmaps=!t.isCompressedTexture&&t.minFilter!==Se&&t.minFilter!==Ce,n.associations.set(t,{textures:e}),t}).catch(function(){return null});return this.textureCache[a]=l,l}loadImageSource(e,t){const r=this,n=this.json,i=this.options;if(void 0!==this.sourceCache[e])return this.sourceCache[e].then(e=>e.clone());const o=n.images[e],s=self.URL||self.webkitURL;let a=o.uri||"",l=!1;if(void 0!==o.bufferView)a=r.getDependency("bufferView",o.bufferView).then(function(e){l=!0;const t=new Blob([e],{type:o.mimeType});return a=s.createObjectURL(t),a});else if(void 0===o.uri)throw new Error("THREE.GLTFLoader: Image "+e+" is missing URI and bufferView");const c=Promise.resolve(a).then(function(e){return new Promise(function(r,n){let o=r;!0===t.isImageBitmapLoader&&(o=function(e){const t=new zr(e);t.needsUpdate=!0,r(t)}),t.load(uc.resolveURL(e,i.path),o,void 0,n)})}).then(function(e){var t;return!0===l&&s.revokeObjectURL(a),vy(e,o),e.userData.mimeType=o.mimeType||((t=o.uri).search(/\.jpe?g($|\?)/i)>0||0===t.search(/^data\:image\/jpeg/)?"image/jpeg":t.search(/\.webp($|\?)/i)>0||0===t.search(/^data\:image\/webp/)?"image/webp":t.search(/\.ktx2($|\?)/i)>0||0===t.search(/^data\:image\/ktx2/)?"image/ktx2":"image/png"),e}).catch(function(e){throw console.error("THREE.GLTFLoader: Couldn't load texture",a),e});return this.sourceCache[e]=c,c}assignTexture(e,t,r,n){const i=this;return this.getDependency("texture",r.index).then(function(o){if(!o)return null;if(void 0!==r.texCoord&&r.texCoord>0&&((o=o.clone()).channel=r.texCoord),i.extensions[kb.KHR_TEXTURE_TRANSFORM]){const e=void 0!==r.extensions?r.extensions[kb.KHR_TEXTURE_TRANSFORM]:void 0;if(e){const t=i.associations.get(o);o=i.extensions[kb.KHR_TEXTURE_TRANSFORM].extendTexture(o,e),i.associations.set(o,t)}}return void 0!==n&&(o.colorSpace=n),e[t]=o,o})}assignFinalMaterial(e){const t=e.geometry;let r=e.material;const n=void 0===t.attributes.tangent,i=void 0!==t.attributes.color,o=void 0===t.attributes.normal;if(e.isPoints){const e="PointsMaterial:"+r.uuid;let t=this.cache.get(e);t||(t=new Ts,fi.prototype.copy.call(t,r),t.color.copy(r.color),t.map=r.map,t.sizeAttenuation=!1,this.cache.add(e,t)),r=t}else if(e.isLine){const e="LineBasicMaterial:"+r.uuid;let t=this.cache.get(e);t||(t=new fs,fi.prototype.copy.call(t,r),t.color.copy(r.color),t.map=r.map,this.cache.add(e,t)),r=t}if(n||i||o){let e="ClonedMaterial:"+r.uuid+":";n&&(e+="derivative-tangents:"),i&&(e+="vertex-colors:"),o&&(e+="flat-shading:");let t=this.cache.get(e);t||(t=r.clone(),i&&(t.vertexColors=!0),o&&(t.flatShading=!0),n&&(t.normalScale&&(t.normalScale.y*=-1),t.clearcoatNormalScale&&(t.clearcoatNormalScale.y*=-1)),this.cache.add(e,t),this.associations.set(t,this.associations.get(r))),r=t}e.material=r}getMaterialType(){return lu}loadMaterial(e){const t=this,r=this.json,n=this.extensions,i=r.materials[e];let o;const s={},a=[];if((i.extensions||{})[kb.KHR_MATERIALS_UNLIT]){const e=n[kb.KHR_MATERIALS_UNLIT];o=e.getMaterialType(),a.push(e.extendParams(s,i,t))}else{const r=i.pbrMetallicRoughness||{};if(s.color=new mi(1,1,1),s.opacity=1,Array.isArray(r.baseColorFactor)){const e=r.baseColorFactor;s.color.setRGB(e[0],e[1],e[2],Ht),s.opacity=e[3]}void 0!==r.baseColorTexture&&a.push(t.assignTexture(s,"map",r.baseColorTexture,zt)),s.metalness=void 0!==r.metallicFactor?r.metallicFactor:1,s.roughness=void 0!==r.roughnessFactor?r.roughnessFactor:1,void 0!==r.metallicRoughnessTexture&&(a.push(t.assignTexture(s,"metalnessMap",r.metallicRoughnessTexture)),a.push(t.assignTexture(s,"roughnessMap",r.metallicRoughnessTexture))),o=this._invokeOne(function(t){return t.getMaterialType&&t.getMaterialType(e)}),a.push(Promise.all(this._invokeAll(function(t){return t.extendMaterialParams&&t.extendMaterialParams(e,s)})))}!0===i.doubleSided&&(s.side=2);const l=i.alphaMode||py;if(l===_y?(s.transparent=!0,s.depthWrite=!1):(s.transparent=!1,l===my&&(s.alphaTest=void 0!==i.alphaCutoff?i.alphaCutoff:.5)),void 0!==i.normalTexture&&o!==vi&&(a.push(t.assignTexture(s,"normalMap",i.normalTexture)),s.normalScale=new fr(1,1),void 0!==i.normalTexture.scale)){const e=i.normalTexture.scale;s.normalScale.set(e,e)}if(void 0!==i.occlusionTexture&&o!==vi&&(a.push(t.assignTexture(s,"aoMap",i.occlusionTexture)),void 0!==i.occlusionTexture.strength&&(s.aoMapIntensity=i.occlusionTexture.strength)),void 0!==i.emissiveFactor&&o!==vi){const e=i.emissiveFactor;s.emissive=(new mi).setRGB(e[0],e[1],e[2],Ht)}return void 0!==i.emissiveTexture&&o!==vi&&a.push(t.assignTexture(s,"emissiveMap",i.emissiveTexture,zt)),Promise.all(a).then(function(){const r=new o(s);return i.name&&(r.name=i.name),vy(r,i),t.associations.set(r,{materials:e}),i.extensions&&fy(n,r,i),r})}createUniqueName(e){const t=Sc.sanitizeNodeName(e||"");return t in this.nodeNamesUsed?t+"_"+ ++this.nodeNamesUsed[t]:(this.nodeNamesUsed[t]=0,t)}loadGeometries(e){const t=this,r=this.extensions,n=this.primitiveCache;function i(e){return r[kb.KHR_DRACO_MESH_COMPRESSION].decodePrimitive(e,t).then(function(r){return Ay(r,e,t)})}const o=[];for(let r=0,s=e.length;r<s;r++){const s=e[r],a=yy(s),l=n[a];if(l)o.push(l.promise);else{let e;e=s.extensions&&s.extensions[kb.KHR_DRACO_MESH_COMPRESSION]?i(s):Ay(new Oi,s,t),n[a]={primitive:s,promise:e},o.push(e)}}return Promise.all(o)}loadMesh(e){const t=this,r=this.json,n=this.extensions,i=r.meshes[e],o=i.primitives,s=[];for(let e=0,t=o.length;e<t;e++){const t=void 0===o[e].material?gy(this.cache):this.getDependency("material",o[e].material);s.push(t)}return s.push(t.loadGeometries(o)),Promise.all(s).then(function(r){const s=r.slice(0,r.length-1),a=r[r.length-1],l=[];for(let r=0,c=a.length;r<c;r++){const c=a[r],u=o[r];let d;const h=s[r];if(u.mode===oy.TRIANGLES||u.mode===oy.TRIANGLE_STRIP||u.mode===oy.TRIANGLE_FAN||void 0===u.mode)d=!0===i.isSkinnedMesh?new Qo(c,h):new Yi(c,h),!0===d.isSkinnedMesh&&d.normalizeSkinWeights(),u.mode===oy.TRIANGLE_STRIP?d.geometry=Kv(d.geometry,1):u.mode===oy.TRIANGLE_FAN&&(d.geometry=Kv(d.geometry,2));else if(u.mode===oy.LINES)d=new Ms(c,h);else if(u.mode===oy.LINE_STRIP)d=new As(c,h);else if(u.mode===oy.LINE_LOOP)d=new ks(c,h);else{if(u.mode!==oy.POINTS)throw new Error("THREE.GLTFLoader: Primitive mode unsupported: "+u.mode);d=new Ns(c,h)}Object.keys(d.geometry.morphAttributes).length>0&&by(d,i),d.name=t.createUniqueName(i.name||"mesh_"+e),vy(d,i),u.extensions&&fy(n,d,u),t.assignFinalMaterial(d),l.push(d)}for(let r=0,n=l.length;r<n;r++)t.associations.set(l[r],{meshes:e,primitives:r});if(1===l.length)return i.extensions&&fy(n,l[0],i),l[0];const c=new mo;i.extensions&&fy(n,c,i),t.associations.set(c,{meshes:e});for(let e=0,t=l.length;e<t;e++)c.add(l[e]);return c})}loadCamera(e){let t;const r=this.json.cameras[e],n=r[r.type];if(n)return"perspective"===r.type?t=new lo(gr.radToDeg(n.yfov),n.aspectRatio||1,n.znear||1,n.zfar||2e6):"orthographic"===r.type&&(t=new nc(-n.xmag,n.xmag,n.ymag,-n.ymag,n.znear,n.zfar)),r.name&&(t.name=this.createUniqueName(r.name)),vy(t,r),Promise.resolve(t);console.warn("THREE.GLTFLoader: Missing camera parameters.")}loadSkin(e){const t=this.json.skins[e],r=[];for(let e=0,n=t.joints.length;e<n;e++)r.push(this._loadNodeShallow(t.joints[e]));return void 0!==t.inverseBindMatrices?r.push(this.getDependency("accessor",t.inverseBindMatrices)):r.push(null),Promise.all(r).then(function(e){const r=e.pop(),n=e,i=[],o=[];for(let e=0,s=n.length;e<s;e++){const s=n[e];if(s){i.push(s);const t=new xn;null!==r&&t.fromArray(r.array,16*e),o.push(t)}else console.warn('THREE.GLTFLoader: Joint "%s" could not be found.',t.joints[e])}return new Zo(i,o)})}loadAnimation(e){const t=this.json,r=this,n=t.animations[e],i=n.name?n.name:"animation_"+e,o=[],s=[],a=[],l=[],c=[];for(let e=0,t=n.channels.length;e<t;e++){const t=n.channels[e],r=n.samplers[t.sampler],i=t.target,u=i.node,d=void 0!==n.parameters?n.parameters[r.input]:r.input,h=void 0!==n.parameters?n.parameters[r.output]:r.output;void 0!==i.node&&(o.push(this.getDependency("node",u)),s.push(this.getDependency("accessor",d)),a.push(this.getDependency("accessor",h)),l.push(r),c.push(i))}return Promise.all([Promise.all(o),Promise.all(s),Promise.all(a),Promise.all(l),Promise.all(c)]).then(function(e){const t=e[0],o=e[1],s=e[2],a=e[3],l=e[4],c=[];for(let e=0,n=t.length;e<n;e++){const n=t[e],i=o[e],u=s[e],d=a[e],h=l[e];if(void 0===n)continue;n.updateMatrix&&n.updateMatrix();const p=r._createAnimationTracks(n,i,u,d,h);if(p)for(let e=0;e<p.length;e++)c.push(p[e])}const u=new Ml(i,void 0,c);return vy(u,n),u})}createNodeMesh(e){const t=this.json,r=this,n=t.nodes[e];return void 0===n.mesh?null:r.getDependency("mesh",n.mesh).then(function(e){const t=r._getNodeRef(r.meshCache,n.mesh,e);return void 0!==n.weights&&t.traverse(function(e){if(e.isMesh)for(let t=0,r=n.weights.length;t<r;t++)e.morphTargetInfluences[t]=n.weights[t]}),t})}loadNode(e){const t=this,r=this.json.nodes[e],n=t._loadNodeShallow(e),i=[],o=r.children||[];for(let e=0,r=o.length;e<r;e++)i.push(t.getDependency("node",o[e]));const s=void 0===r.skin?Promise.resolve(null):t.getDependency("skin",r.skin);return Promise.all([n,Promise.all(i),s]).then(function(e){const t=e[0],r=e[1],n=e[2];null!==n&&t.traverse(function(e){e.isSkinnedMesh&&e.bind(n,Sy)});for(let e=0,n=r.length;e<n;e++)t.add(r[e]);return t})}_loadNodeShallow(e){const t=this.json,r=this.extensions,n=this;if(void 0!==this.nodeCache[e])return this.nodeCache[e];const i=t.nodes[e],o=i.name?n.createUniqueName(i.name):"",s=[],a=n._invokeOne(function(t){return t.createNodeMesh&&t.createNodeMesh(e)});return a&&s.push(a),void 0!==i.camera&&s.push(n.getDependency("camera",i.camera).then(function(e){return n._getNodeRef(n.cameraCache,i.camera,e)})),n._invokeAll(function(t){return t.createNodeAttachment&&t.createNodeAttachment(e)}).forEach(function(e){s.push(e)}),this.nodeCache[e]=Promise.all(s).then(function(t){let s;if(s=!0===i.isBone?new qo:t.length>1?new mo:1===t.length?t[0]:new qn,s!==t[0])for(let e=0,r=t.length;e<r;e++)s.add(t[e]);if(i.name&&(s.userData.name=i.name,s.name=o),vy(s,i),i.extensions&&fy(r,s,i),void 0!==i.matrix){const e=new xn;e.fromArray(i.matrix),s.applyMatrix4(e)}else void 0!==i.translation&&s.position.fromArray(i.translation),void 0!==i.rotation&&s.quaternion.fromArray(i.rotation),void 0!==i.scale&&s.scale.fromArray(i.scale);if(n.associations.has(s)){if(void 0!==i.mesh&&n.meshCache.refs[i.mesh]>1){const e=n.associations.get(s);n.associations.set(s,{...e})}}else n.associations.set(s,{});return n.associations.get(s).nodes=e,s}),this.nodeCache[e]}loadScene(e){const t=this.extensions,r=this.json.scenes[e],n=this,i=new mo;r.name&&(i.name=n.createUniqueName(r.name)),vy(i,r),r.extensions&&fy(t,i,r);const o=r.nodes||[],s=[];for(let e=0,t=o.length;e<t;e++)s.push(n.getDependency("node",o[e]));return Promise.all(s).then(function(e){for(let t=0,r=e.length;t<r;t++)i.add(e[t]);return n.associations=(e=>{const t=new Map;for(const[e,r]of n.associations)(e instanceof fi||e instanceof zr)&&t.set(e,r);return e.traverse(e=>{const r=n.associations.get(e);null!=r&&t.set(e,r)}),t})(i),i})}_createAnimationTracks(e,t,r,n,i){const o=[],s=e.name?e.name:e.uuid,a=[];let l;switch(dy[i.path]===dy.weights?e.traverse(function(e){e.morphTargetInfluences&&a.push(e.name?e.name:e.uuid)}):a.push(s),dy[i.path]){case dy.weights:l=wl;break;case dy.rotation:l=Cl;break;case dy.translation:case dy.scale:l=Il;break;default:if(1===r.itemSize)l=wl;else l=Il}const c=void 0!==n.interpolation?hy[n.interpolation]:Pt,u=this._getArrayFromAccessor(r);for(let e=0,r=a.length;e<r;e++){const r=new l(a[e]+"."+dy[i.path],t.array,u,c);"CUBICSPLINE"===n.interpolation&&this._createCubicSplineTrackInterpolant(r),o.push(r)}return o}_getArrayFromAccessor(e){let t=e.array;if(e.normalized){const e=xy(t.constructor),r=new Float32Array(t.length);for(let n=0,i=t.length;n<i;n++)r[n]=t[n]*e;t=r}return t}_createCubicSplineTrackInterpolant(e){e.createInterpolant=function(e){return new(this instanceof Cl?iy:ry)(this.times,this.values,this.getValueSize()/3,e)},e.createInterpolant.isInterpolantFactoryMethodGLTFCubicSpline=!0}}function Ay(e,t,r){const n=t.attributes,i=[];function o(t,n){return r.getDependency("accessor",t).then(function(t){e.setAttribute(n,t)})}for(const t in n){const r=uy[t]||t.toLowerCase();r in e.attributes||i.push(o(n[t],r))}if(void 0!==t.indices&&!e.index){const n=r.getDependency("accessor",t.indices).then(function(t){e.setIndex(t)});i.push(n)}return Rr.workingColorSpace!==Ht&&"COLOR_0"in n&&console.warn(`THREE.GLTFLoader: Converting vertex colors from "srgb-linear" to "${Rr.workingColorSpace}" not supported.`),vy(e,t),function(e,t,r){const n=t.attributes,i=new Qr;if(void 0===n.POSITION)return;{const e=r.json.accessors[n.POSITION],t=e.min,o=e.max;if(void 0===t||void 0===o)return void console.warn("THREE.GLTFLoader: Missing min/max properties for accessor POSITION.");if(i.set(new br(t[0],t[1],t[2]),new br(o[0],o[1],o[2])),e.normalized){const t=xy(sy[e.componentType]);i.min.multiplyScalar(t),i.max.multiplyScalar(t)}}const o=t.targets;if(void 0!==o){const e=new br,t=new br;for(let n=0,i=o.length;n<i;n++){const i=o[n];if(void 0!==i.POSITION){const n=r.json.accessors[i.POSITION],o=n.min,s=n.max;if(void 0!==o&&void 0!==s){if(t.setX(Math.max(Math.abs(o[0]),Math.abs(s[0]))),t.setY(Math.max(Math.abs(o[1]),Math.abs(s[1]))),t.setZ(Math.max(Math.abs(o[2]),Math.abs(s[2]))),n.normalized){const e=xy(sy[n.componentType]);t.multiplyScalar(e)}e.max(t)}else console.warn("THREE.GLTFLoader: Missing min/max properties for accessor POSITION.")}}i.expandByVector(e)}e.boundingBox=i;const s=new pn;i.getCenter(s.center),s.radius=i.min.distanceTo(i.max)/2,e.boundingSphere=s}(e,t,r),Promise.all(i).then(function(){return void 0!==t.targets?function(e,t,r){let n=!1,i=!1,o=!1;for(let e=0,r=t.length;e<r;e++){const r=t[e];if(void 0!==r.POSITION&&(n=!0),void 0!==r.NORMAL&&(i=!0),void 0!==r.COLOR_0&&(o=!0),n&&i&&o)break}if(!n&&!i&&!o)return Promise.resolve(e);const s=[],a=[],l=[];for(let c=0,u=t.length;c<u;c++){const u=t[c];if(n){const t=void 0!==u.POSITION?r.getDependency("accessor",u.POSITION):e.attributes.position;s.push(t)}if(i){const t=void 0!==u.NORMAL?r.getDependency("accessor",u.NORMAL):e.attributes.normal;a.push(t)}if(o){const t=void 0!==u.COLOR_0?r.getDependency("accessor",u.COLOR_0):e.attributes.color;l.push(t)}}return Promise.all([Promise.all(s),Promise.all(a),Promise.all(l)]).then(function(t){const r=t[0],s=t[1],a=t[2];return n&&(e.morphAttributes.position=r),i&&(e.morphAttributes.normal=s),o&&(e.morphAttributes.color=a),e.morphTargetsRelative=!0,e})}(e,t.targets,r):e})}class Cy extends zl{constructor(e){super(e),this.type=Fe}parse(e){const t=function(e,t){switch(e){case 1:throw new Error("THREE.HDRLoader: Read Error: "+(t||""));case 2:throw new Error("THREE.HDRLoader: Write Error: "+(t||""));case 3:throw new Error("THREE.HDRLoader: Bad File Format: "+(t||""));default:throw new Error("THREE.HDRLoader: Memory Error: "+(t||""))}},r=function(e,t,r){t=t||1024;let n=e.pos,i=-1,o=0,s="",a=String.fromCharCode.apply(null,new Uint16Array(e.subarray(n,n+128)));for(;0>(i=a.indexOf("\n"))&&o<t&&n<e.byteLength;)s+=a,o+=a.length,n+=128,a+=String.fromCharCode.apply(null,new Uint16Array(e.subarray(n,n+128)));return-1<i&&(!1!==r&&(e.pos+=o+i+1),s+a.slice(0,i))},n=function(e,t,r,n){const i=e[t+3],o=Math.pow(2,i-128)/255;r[n+0]=e[t+0]*o,r[n+1]=e[t+1]*o,r[n+2]=e[t+2]*o,r[n+3]=1},i=function(e,t,r,n){const i=e[t+3],o=Math.pow(2,i-128)/255;r[n+0]=Si.toHalfFloat(Math.min(e[t+0]*o,65504)),r[n+1]=Si.toHalfFloat(Math.min(e[t+1]*o,65504)),r[n+2]=Si.toHalfFloat(Math.min(e[t+2]*o,65504)),r[n+3]=Si.toHalfFloat(1)},o=new Uint8Array(e);o.pos=0;const s=function(e){const n=/^\s*GAMMA\s*=\s*(\d+(\.\d+)?)\s*$/,i=/^\s*EXPOSURE\s*=\s*(\d+(\.\d+)?)\s*$/,o=/^\s*FORMAT=(\S+)\s*$/,s=/^\s*\-Y\s+(\d+)\s+\+X\s+(\d+)\s*$/,a={valid:0,string:"",comments:"",programtype:"RGBE",format:"",gamma:1,exposure:1,width:0,height:0};let l,c;for((e.pos>=e.byteLength||!(l=r(e)))&&t(1,"no header found"),(c=l.match(/^#\?(\S+)/))||t(3,"bad initial token"),a.valid|=1,a.programtype=c[1],a.string+=l+"\n";l=r(e),!1!==l;)if(a.string+=l+"\n","#"!==l.charAt(0)){if((c=l.match(n))&&(a.gamma=parseFloat(c[1])),(c=l.match(i))&&(a.exposure=parseFloat(c[1])),(c=l.match(o))&&(a.valid|=2,a.format=c[1]),(c=l.match(s))&&(a.valid|=4,a.height=parseInt(c[1],10),a.width=parseInt(c[2],10)),2&a.valid&&4&a.valid)break}else a.comments+=l+"\n";return 2&a.valid||t(3,"missing format specifier"),4&a.valid||t(3,"missing image size specifier"),a}(o),a=s.width,l=s.height,c=function(e,r,n){const i=r;if(i<8||i>32767||2!==e[0]||2!==e[1]||128&e[2])return new Uint8Array(e);i!==(e[2]<<8|e[3])&&t(3,"wrong scanline width");const o=new Uint8Array(4*r*n);o.length||t(4,"unable to allocate buffer space");let s=0,a=0;const l=4*i,c=new Uint8Array(4),u=new Uint8Array(l);let d=n;for(;d>0&&a<e.byteLength;){a+4>e.byteLength&&t(1),c[0]=e[a++],c[1]=e[a++],c[2]=e[a++],c[3]=e[a++],2==c[0]&&2==c[1]&&(c[2]<<8|c[3])==i||t(3,"bad rgbe scanline format");let r,n=0;for(;n<l&&a<e.byteLength;){r=e[a++];const i=r>128;if(i&&(r-=128),(0===r||n+r>l)&&t(3,"bad scanline data"),i){const t=e[a++];for(let e=0;e<r;e++)u[n++]=t}else u.set(e.subarray(a,a+r),n),n+=r,a+=r}const h=i;for(let e=0;e<h;e++){let t=0;o[s]=u[e+t],t+=i,o[s+1]=u[e+t],t+=i,o[s+2]=u[e+t],t+=i,o[s+3]=u[e+t],s+=4}d--}return o}(o.subarray(o.pos),a,l);let u,d,h;switch(this.type){case Ne:h=c.length/4;const e=new Float32Array(4*h);for(let t=0;t<h;t++)n(c,4*t,e,4*t);u=e,d=Ne;break;case Fe:h=c.length/4;const t=new Uint16Array(4*h);for(let e=0;e<h;e++)i(c,4*e,t,4*e);u=t,d=Fe;break;default:throw new Error("THREE.HDRLoader: Unsupported type: "+this.type)}return{width:a,height:l,data:u,header:s.string,gamma:s.gamma,exposure:s.exposure,type:d}}setDataType(e){return this.type=e,this}load(e,t,r,n){return super.load(e,function(e,r){switch(e.type){case Ne:case Fe:e.colorSpace=Ht,e.minFilter=Ce,e.magFilter=Ce,e.generateMipmaps=!1,e.flipY=!0}t&&t(e,r)},r,n)}}class Ey{constructor(e=4){this.pool=e,this.queue=[],this.workers=[],this.workersResolve=[],this.workerStatus=0,this.workerCreator=null}_initWorker(e){if(!this.workers[e]){const t=this.workerCreator();t.addEventListener("message",this._onMessage.bind(this,e)),this.workers[e]=t}}_getIdleWorker(){for(let e=0;e<this.pool;e++)if(!(this.workerStatus&1<<e))return e;return-1}_onMessage(e,t){const r=this.workersResolve[e];if(r&&r(t),this.queue.length){const{resolve:t,msg:r,transfer:n}=this.queue.shift();this.workersResolve[e]=t,this.workers[e].postMessage(r,n)}else this.workerStatus^=1<<e}setWorkerCreator(e){this.workerCreator=e}setWorkerLimit(e){this.pool=e}postMessage(e,t){return new Promise(r=>{const n=this._getIdleWorker();-1!==n?(this._initWorker(n),this.workerStatus|=1<<n,this.workersResolve[n]=r,this.workers[n].postMessage(e,t)):this.queue.push({resolve:r,msg:e,transfer:t})})}dispose(){this.workers.forEach(e=>e.terminate()),this.workersResolve.length=0,this.workers.length=0,this.queue.length=0,this.workerStatus=0}}let Iy,My,ky;const Ty={env:{emscripten_notify_memory_growth:function(e){ky=new Uint8Array(My.exports.memory.buffer)}}};class Ry{init(){return Iy||(Iy="undefined"!=typeof fetch?fetch("data:application/wasm;base64,"+Ly).then(e=>e.arrayBuffer()).then(e=>WebAssembly.instantiate(e,Ty)).then(this._init):WebAssembly.instantiate(Buffer.from(Ly,"base64"),Ty).then(this._init),Iy)}_init(e){My=e.instance,Ty.env.emscripten_notify_memory_growth(0)}decode(e,t=0){if(!My)throw new Error("ZSTDDecoder: Await .init() before decoding.");const r=e.byteLength,n=My.exports.malloc(r);ky.set(e,n),t=t||Number(My.exports.ZSTD_findDecompressedSize(n,r));const i=My.exports.malloc(t),o=My.exports.ZSTD_decompress(i,t,n,r),s=ky.slice(i,i+o);return My.exports.free(n),My.exports.free(i),s}}const Ly="AGFzbQEAAAABpQEVYAF/AX9gAn9/AGADf39/AX9gBX9/f39/AX9gAX8AYAJ/fwF/YAR/f39/AX9gA39/fwBgBn9/f39/fwF/YAd/f39/f39/AX9gAn9/AX5gAn5+AX5gAABgBX9/f39/AGAGf39/f39/AGAIf39/f39/f38AYAl/f39/f39/f38AYAABf2AIf39/f39/f38Bf2ANf39/f39/f39/f39/fwF/YAF/AX4CJwEDZW52H2Vtc2NyaXB0ZW5fbm90aWZ5X21lbW9yeV9ncm93dGgABANpaAEFAAAFAgEFCwACAQABAgIFBQcAAwABDgsBAQcAEhMHAAUBDAQEAAANBwQCAgYCBAgDAwMDBgEACQkHBgICAAYGAgQUBwYGAwIGAAMCAQgBBwUGCgoEEQAEBAEIAwgDBQgDEA8IAAcABAUBcAECAgUEAQCAAgYJAX8BQaCgwAILB2AHBm1lbW9yeQIABm1hbGxvYwAoBGZyZWUAJgxaU1REX2lzRXJyb3IAaBlaU1REX2ZpbmREZWNvbXByZXNzZWRTaXplAFQPWlNURF9kZWNvbXByZXNzAEoGX3N0YXJ0ACQJBwEAQQELASQKussBaA8AIAAgACgCBCABajYCBAsZACAAKAIAIAAoAgRBH3F0QQAgAWtBH3F2CwgAIABBiH9LC34BBH9BAyEBIAAoAgQiA0EgTQRAIAAoAggiASAAKAIQTwRAIAAQDQ8LIAAoAgwiAiABRgRAQQFBAiADQSBJGw8LIAAgASABIAJrIANBA3YiBCABIARrIAJJIgEbIgJrIgQ2AgggACADIAJBA3RrNgIEIAAgBCgAADYCAAsgAQsUAQF/IAAgARACIQIgACABEAEgAgv3AQECfyACRQRAIABCADcCACAAQQA2AhAgAEIANwIIQbh/DwsgACABNgIMIAAgAUEEajYCECACQQRPBEAgACABIAJqIgFBfGoiAzYCCCAAIAMoAAA2AgAgAUF/ai0AACIBBEAgAEEIIAEQFGs2AgQgAg8LIABBADYCBEF/DwsgACABNgIIIAAgAS0AACIDNgIAIAJBfmoiBEEBTQRAIARBAWtFBEAgACABLQACQRB0IANyIgM2AgALIAAgAS0AAUEIdCADajYCAAsgASACakF/ai0AACIBRQRAIABBADYCBEFsDwsgAEEoIAEQFCACQQN0ams2AgQgAgsWACAAIAEpAAA3AAAgACABKQAINwAICy8BAX8gAUECdEGgHWooAgAgACgCAEEgIAEgACgCBGprQR9xdnEhAiAAIAEQASACCyEAIAFCz9bTvtLHq9lCfiAAfEIfiUKHla+vmLbem55/fgsdAQF/IAAoAgggACgCDEYEfyAAKAIEQSBGBUEACwuCBAEDfyACQYDAAE8EQCAAIAEgAhBnIAAPCyAAIAJqIQMCQCAAIAFzQQNxRQRAAkAgAkEBSARAIAAhAgwBCyAAQQNxRQRAIAAhAgwBCyAAIQIDQCACIAEtAAA6AAAgAUEBaiEBIAJBAWoiAiADTw0BIAJBA3ENAAsLAkAgA0F8cSIEQcAASQ0AIAIgBEFAaiIFSw0AA0AgAiABKAIANgIAIAIgASgCBDYCBCACIAEoAgg2AgggAiABKAIMNgIMIAIgASgCEDYCECACIAEoAhQ2AhQgAiABKAIYNgIYIAIgASgCHDYCHCACIAEoAiA2AiAgAiABKAIkNgIkIAIgASgCKDYCKCACIAEoAiw2AiwgAiABKAIwNgIwIAIgASgCNDYCNCACIAEoAjg2AjggAiABKAI8NgI8IAFBQGshASACQUBrIgIgBU0NAAsLIAIgBE8NAQNAIAIgASgCADYCACABQQRqIQEgAkEEaiICIARJDQALDAELIANBBEkEQCAAIQIMAQsgA0F8aiIEIABJBEAgACECDAELIAAhAgNAIAIgAS0AADoAACACIAEtAAE6AAEgAiABLQACOgACIAIgAS0AAzoAAyABQQRqIQEgAkEEaiICIARNDQALCyACIANJBEADQCACIAEtAAA6AAAgAUEBaiEBIAJBAWoiAiADRw0ACwsgAAsMACAAIAEpAAA3AAALQQECfyAAKAIIIgEgACgCEEkEQEEDDwsgACAAKAIEIgJBB3E2AgQgACABIAJBA3ZrIgE2AgggACABKAAANgIAQQALDAAgACABKAIANgAAC/cCAQJ/AkAgACABRg0AAkAgASACaiAASwRAIAAgAmoiBCABSw0BCyAAIAEgAhALDwsgACABc0EDcSEDAkACQCAAIAFJBEAgAwRAIAAhAwwDCyAAQQNxRQRAIAAhAwwCCyAAIQMDQCACRQ0EIAMgAS0AADoAACABQQFqIQEgAkF/aiECIANBAWoiA0EDcQ0ACwwBCwJAIAMNACAEQQNxBEADQCACRQ0FIAAgAkF/aiICaiIDIAEgAmotAAA6AAAgA0EDcQ0ACwsgAkEDTQ0AA0AgACACQXxqIgJqIAEgAmooAgA2AgAgAkEDSw0ACwsgAkUNAgNAIAAgAkF/aiICaiABIAJqLQAAOgAAIAINAAsMAgsgAkEDTQ0AIAIhBANAIAMgASgCADYCACABQQRqIQEgA0EEaiEDIARBfGoiBEEDSw0ACyACQQNxIQILIAJFDQADQCADIAEtAAA6AAAgA0EBaiEDIAFBAWohASACQX9qIgINAAsLIAAL8wICAn8BfgJAIAJFDQAgACACaiIDQX9qIAE6AAAgACABOgAAIAJBA0kNACADQX5qIAE6AAAgACABOgABIANBfWogAToAACAAIAE6AAIgAkEHSQ0AIANBfGogAToAACAAIAE6AAMgAkEJSQ0AIABBACAAa0EDcSIEaiIDIAFB/wFxQYGChAhsIgE2AgAgAyACIARrQXxxIgRqIgJBfGogATYCACAEQQlJDQAgAyABNgIIIAMgATYCBCACQXhqIAE2AgAgAkF0aiABNgIAIARBGUkNACADIAE2AhggAyABNgIUIAMgATYCECADIAE2AgwgAkFwaiABNgIAIAJBbGogATYCACACQWhqIAE2AgAgAkFkaiABNgIAIAQgA0EEcUEYciIEayICQSBJDQAgAa0iBUIghiAFhCEFIAMgBGohAQNAIAEgBTcDGCABIAU3AxAgASAFNwMIIAEgBTcDACABQSBqIQEgAkFgaiICQR9LDQALCyAACy8BAn8gACgCBCAAKAIAQQJ0aiICLQACIQMgACACLwEAIAEgAi0AAxAIajYCACADCy8BAn8gACgCBCAAKAIAQQJ0aiICLQACIQMgACACLwEAIAEgAi0AAxAFajYCACADCx8AIAAgASACKAIEEAg2AgAgARAEGiAAIAJBCGo2AgQLCAAgAGdBH3MLugUBDX8jAEEQayIKJAACfyAEQQNNBEAgCkEANgIMIApBDGogAyAEEAsaIAAgASACIApBDGpBBBAVIgBBbCAAEAMbIAAgACAESxsMAQsgAEEAIAEoAgBBAXRBAmoQECENQVQgAygAACIGQQ9xIgBBCksNABogAiAAQQVqNgIAIAMgBGoiAkF8aiEMIAJBeWohDiACQXtqIRAgAEEGaiELQQQhBSAGQQR2IQRBICAAdCIAQQFyIQkgASgCACEPQQAhAiADIQYCQANAIAlBAkggAiAPS3JFBEAgAiEHAkAgCARAA0AgBEH//wNxQf//A0YEQCAHQRhqIQcgBiAQSQR/IAZBAmoiBigAACAFdgUgBUEQaiEFIARBEHYLIQQMAQsLA0AgBEEDcSIIQQNGBEAgBUECaiEFIARBAnYhBCAHQQNqIQcMAQsLIAcgCGoiByAPSw0EIAVBAmohBQNAIAIgB0kEQCANIAJBAXRqQQA7AQAgAkEBaiECDAELCyAGIA5LQQAgBiAFQQN1aiIHIAxLG0UEQCAHKAAAIAVBB3EiBXYhBAwCCyAEQQJ2IQQLIAYhBwsCfyALQX9qIAQgAEF/anEiBiAAQQF0QX9qIgggCWsiEUkNABogBCAIcSIEQQAgESAEIABIG2shBiALCyEIIA0gAkEBdGogBkF/aiIEOwEAIAlBASAGayAEIAZBAUgbayEJA0AgCSAASARAIABBAXUhACALQX9qIQsMAQsLAn8gByAOS0EAIAcgBSAIaiIFQQN1aiIGIAxLG0UEQCAFQQdxDAELIAUgDCIGIAdrQQN0awshBSACQQFqIQIgBEUhCCAGKAAAIAVBH3F2IQQMAQsLQWwgCUEBRyAFQSBKcg0BGiABIAJBf2o2AgAgBiAFQQdqQQN1aiADawwBC0FQCyEAIApBEGokACAACwkAQQFBBSAAGwsMACAAIAEoAAA2AAALqgMBCn8jAEHwAGsiCiQAIAJBAWohDiAAQQhqIQtBgIAEIAVBf2p0QRB1IQxBACECQQEhBkEBIAV0IglBf2oiDyEIA0AgAiAORkUEQAJAIAEgAkEBdCINai8BACIHQf//A0YEQCALIAhBA3RqIAI2AgQgCEF/aiEIQQEhBwwBCyAGQQAgDCAHQRB0QRB1ShshBgsgCiANaiAHOwEAIAJBAWohAgwBCwsgACAFNgIEIAAgBjYCACAJQQN2IAlBAXZqQQNqIQxBACEAQQAhBkEAIQIDQCAGIA5GBEADQAJAIAAgCUYNACAKIAsgAEEDdGoiASgCBCIGQQF0aiICIAIvAQAiAkEBajsBACABIAUgAhAUayIIOgADIAEgAiAIQf8BcXQgCWs7AQAgASAEIAZBAnQiAmooAgA6AAIgASACIANqKAIANgIEIABBAWohAAwBCwsFIAEgBkEBdGouAQAhDUEAIQcDQCAHIA1ORQRAIAsgAkEDdGogBjYCBANAIAIgDGogD3EiAiAISw0ACyAHQQFqIQcMAQsLIAZBAWohBgwBCwsgCkHwAGokAAsjAEIAIAEQCSAAhUKHla+vmLbem55/fkLj3MqV/M7y9YV/fAsQACAAQn43AwggACABNgIACyQBAX8gAARAIAEoAgQiAgRAIAEoAgggACACEQEADwsgABAmCwsfACAAIAEgAi8BABAINgIAIAEQBBogACACQQRqNgIEC0oBAX9BoCAoAgAiASAAaiIAQX9MBEBBiCBBMDYCAEF/DwsCQCAAPwBBEHRNDQAgABBmDQBBiCBBMDYCAEF/DwtBoCAgADYCACABC9cBAQh/Qbp/IQoCQCACKAIEIgggAigCACIJaiIOIAEgAGtLDQBBbCEKIAkgBCADKAIAIgtrSw0AIAAgCWoiBCACKAIIIgxrIQ0gACABQWBqIg8gCyAJQQAQKSADIAkgC2o2AgACQAJAIAwgBCAFa00EQCANIQUMAQsgDCAEIAZrSw0CIAcgDSAFayIAaiIBIAhqIAdNBEAgBCABIAgQDxoMAgsgBCABQQAgAGsQDyEBIAIgACAIaiIINgIEIAEgAGshBAsgBCAPIAUgCEEBECkLIA4hCgsgCgubAgEBfyMAQYABayINJAAgDSADNgJ8AkAgAkEDSwRAQX8hCQwBCwJAAkACQAJAIAJBAWsOAwADAgELIAZFBEBBuH8hCQwEC0FsIQkgBS0AACICIANLDQMgACAHIAJBAnQiAmooAgAgAiAIaigCABA7IAEgADYCAEEBIQkMAwsgASAJNgIAQQAhCQwCCyAKRQRAQWwhCQwCC0EAIQkgC0UgDEEZSHINAUEIIAR0QQhqIQBBACECA0AgAiAATw0CIAJBQGshAgwAAAsAC0FsIQkgDSANQfwAaiANQfgAaiAFIAYQFSICEAMNACANKAJ4IgMgBEsNACAAIA0gDSgCfCAHIAggAxAYIAEgADYCACACIQkLIA1BgAFqJAAgCQsLACAAIAEgAhALGgsQACAALwAAIAAtAAJBEHRyCy8AAn9BuH8gAUEISQ0AGkFyIAAoAAQiAEF3Sw0AGkG4fyAAQQhqIgAgACABSxsLCwkAIAAgATsAAAsDAAELigYBBX8gACAAKAIAIgVBfnE2AgBBACAAIAVBAXZqQYQgKAIAIgQgAEYbIQECQAJAIAAoAgQiAkUNACACKAIAIgNBAXENACACQQhqIgUgA0EBdkF4aiIDQQggA0EISxtnQR9zQQJ0QYAfaiIDKAIARgRAIAMgAigCDDYCAAsgAigCCCIDBEAgAyACKAIMNgIECyACKAIMIgMEQCADIAIoAgg2AgALIAIgAigCACAAKAIAQX5xajYCAEGEICEAAkACQCABRQ0AIAEgAjYCBCABKAIAIgNBAXENASADQQF2QXhqIgNBCCADQQhLG2dBH3NBAnRBgB9qIgMoAgAgAUEIakYEQCADIAEoAgw2AgALIAEoAggiAwRAIAMgASgCDDYCBAsgASgCDCIDBEAgAyABKAIINgIAQYQgKAIAIQQLIAIgAigCACABKAIAQX5xajYCACABIARGDQAgASABKAIAQQF2akEEaiEACyAAIAI2AgALIAIoAgBBAXZBeGoiAEEIIABBCEsbZ0Efc0ECdEGAH2oiASgCACEAIAEgBTYCACACIAA2AgwgAkEANgIIIABFDQEgACAFNgIADwsCQCABRQ0AIAEoAgAiAkEBcQ0AIAJBAXZBeGoiAkEIIAJBCEsbZ0Efc0ECdEGAH2oiAigCACABQQhqRgRAIAIgASgCDDYCAAsgASgCCCICBEAgAiABKAIMNgIECyABKAIMIgIEQCACIAEoAgg2AgBBhCAoAgAhBAsgACAAKAIAIAEoAgBBfnFqIgI2AgACQCABIARHBEAgASABKAIAQQF2aiAANgIEIAAoAgAhAgwBC0GEICAANgIACyACQQF2QXhqIgFBCCABQQhLG2dBH3NBAnRBgB9qIgIoAgAhASACIABBCGoiAjYCACAAIAE2AgwgAEEANgIIIAFFDQEgASACNgIADwsgBUEBdkF4aiIBQQggAUEISxtnQR9zQQJ0QYAfaiICKAIAIQEgAiAAQQhqIgI2AgAgACABNgIMIABBADYCCCABRQ0AIAEgAjYCAAsLDgAgAARAIABBeGoQJQsLgAIBA38CQCAAQQ9qQXhxQYQgKAIAKAIAQQF2ayICEB1Bf0YNAAJAQYQgKAIAIgAoAgAiAUEBcQ0AIAFBAXZBeGoiAUEIIAFBCEsbZ0Efc0ECdEGAH2oiASgCACAAQQhqRgRAIAEgACgCDDYCAAsgACgCCCIBBEAgASAAKAIMNgIECyAAKAIMIgFFDQAgASAAKAIINgIAC0EBIQEgACAAKAIAIAJBAXRqIgI2AgAgAkEBcQ0AIAJBAXZBeGoiAkEIIAJBCEsbZ0Efc0ECdEGAH2oiAygCACECIAMgAEEIaiIDNgIAIAAgAjYCDCAAQQA2AgggAkUNACACIAM2AgALIAELtwIBA38CQAJAIABBASAAGyICEDgiAA0AAkACQEGEICgCACIARQ0AIAAoAgAiA0EBcQ0AIAAgA0EBcjYCACADQQF2QXhqIgFBCCABQQhLG2dBH3NBAnRBgB9qIgEoAgAgAEEIakYEQCABIAAoAgw2AgALIAAoAggiAQRAIAEgACgCDDYCBAsgACgCDCIBBEAgASAAKAIINgIACyACECchAkEAIQFBhCAoAgAhACACDQEgACAAKAIAQX5xNgIAQQAPCyACQQ9qQXhxIgMQHSICQX9GDQIgAkEHakF4cSIAIAJHBEAgACACaxAdQX9GDQMLAkBBhCAoAgAiAUUEQEGAICAANgIADAELIAAgATYCBAtBhCAgADYCACAAIANBAXRBAXI2AgAMAQsgAEUNAQsgAEEIaiEBCyABC7kDAQJ/IAAgA2ohBQJAIANBB0wEQANAIAAgBU8NAiAAIAItAAA6AAAgAEEBaiEAIAJBAWohAgwAAAsACyAEQQFGBEACQCAAIAJrIgZBB00EQCAAIAItAAA6AAAgACACLQABOgABIAAgAi0AAjoAAiAAIAItAAM6AAMgAEEEaiACIAZBAnQiBkHAHmooAgBqIgIQFyACIAZB4B5qKAIAayECDAELIAAgAhAMCyACQQhqIQIgAEEIaiEACwJAAkACQAJAIAUgAU0EQCAAIANqIQEgBEEBRyAAIAJrQQ9Kcg0BA0AgACACEAwgAkEIaiECIABBCGoiACABSQ0ACwwFCyAAIAFLBEAgACEBDAQLIARBAUcgACACa0EPSnINASAAIQMgAiEEA0AgAyAEEAwgBEEIaiEEIANBCGoiAyABSQ0ACwwCCwNAIAAgAhAHIAJBEGohAiAAQRBqIgAgAUkNAAsMAwsgACEDIAIhBANAIAMgBBAHIARBEGohBCADQRBqIgMgAUkNAAsLIAIgASAAa2ohAgsDQCABIAVPDQEgASACLQAAOgAAIAFBAWohASACQQFqIQIMAAALAAsLQQECfyAAIAAoArjgASIDNgLE4AEgACgCvOABIQQgACABNgK84AEgACABIAJqNgK44AEgACABIAQgA2tqNgLA4AELpgEBAX8gACAAKALs4QEQFjYCyOABIABCADcD+OABIABCADcDuOABIABBwOABakIANwMAIABBqNAAaiIBQYyAgOAANgIAIABBADYCmOIBIABCADcDiOEBIABCAzcDgOEBIABBrNABakHgEikCADcCACAAQbTQAWpB6BIoAgA2AgAgACABNgIMIAAgAEGYIGo2AgggACAAQaAwajYCBCAAIABBEGo2AgALYQEBf0G4fyEDAkAgAUEDSQ0AIAIgABAhIgFBA3YiADYCCCACIAFBAXE2AgQgAiABQQF2QQNxIgM2AgACQCADQX9qIgFBAksNAAJAIAFBAWsOAgEAAgtBbA8LIAAhAwsgAwsMACAAIAEgAkEAEC4LiAQCA38CfiADEBYhBCAAQQBBKBAQIQAgBCACSwRAIAQPCyABRQRAQX8PCwJAAkAgA0EBRg0AIAEoAAAiBkGo6r5pRg0AQXYhAyAGQXBxQdDUtMIBRw0BQQghAyACQQhJDQEgAEEAQSgQECEAIAEoAAQhASAAQQE2AhQgACABrTcDAEEADwsgASACIAMQLyIDIAJLDQAgACADNgIYQXIhAyABIARqIgVBf2otAAAiAkEIcQ0AIAJBIHEiBkUEQEFwIQMgBS0AACIFQacBSw0BIAVBB3GtQgEgBUEDdkEKaq2GIgdCA4h+IAd8IQggBEEBaiEECyACQQZ2IQMgAkECdiEFAkAgAkEDcUF/aiICQQJLBEBBACECDAELAkACQAJAIAJBAWsOAgECAAsgASAEai0AACECIARBAWohBAwCCyABIARqLwAAIQIgBEECaiEEDAELIAEgBGooAAAhAiAEQQRqIQQLIAVBAXEhBQJ+AkACQAJAIANBf2oiA0ECTQRAIANBAWsOAgIDAQtCfyAGRQ0DGiABIARqMQAADAMLIAEgBGovAACtQoACfAwCCyABIARqKAAArQwBCyABIARqKQAACyEHIAAgBTYCICAAIAI2AhwgACAHNwMAQQAhAyAAQQA2AhQgACAHIAggBhsiBzcDCCAAIAdCgIAIIAdCgIAIVBs+AhALIAMLWwEBf0G4fyEDIAIQFiICIAFNBH8gACACakF/ai0AACIAQQNxQQJ0QaAeaigCACACaiAAQQZ2IgFBAnRBsB5qKAIAaiAAQSBxIgBFaiABRSAAQQV2cWoFQbh/CwsdACAAKAKQ4gEQWiAAQQA2AqDiASAAQgA3A5DiAQu1AwEFfyMAQZACayIKJABBuH8hBgJAIAVFDQAgBCwAACIIQf8BcSEHAkAgCEF/TARAIAdBgn9qQQF2IgggBU8NAkFsIQYgB0GBf2oiBUGAAk8NAiAEQQFqIQdBACEGA0AgBiAFTwRAIAUhBiAIIQcMAwUgACAGaiAHIAZBAXZqIgQtAABBBHY6AAAgACAGQQFyaiAELQAAQQ9xOgAAIAZBAmohBgwBCwAACwALIAcgBU8NASAAIARBAWogByAKEFMiBhADDQELIAYhBEEAIQYgAUEAQTQQECEJQQAhBQNAIAQgBkcEQCAAIAZqIggtAAAiAUELSwRAQWwhBgwDBSAJIAFBAnRqIgEgASgCAEEBajYCACAGQQFqIQZBASAILQAAdEEBdSAFaiEFDAILAAsLQWwhBiAFRQ0AIAUQFEEBaiIBQQxLDQAgAyABNgIAQQFBASABdCAFayIDEBQiAXQgA0cNACAAIARqIAFBAWoiADoAACAJIABBAnRqIgAgACgCAEEBajYCACAJKAIEIgBBAkkgAEEBcXINACACIARBAWo2AgAgB0EBaiEGCyAKQZACaiQAIAYLxhEBDH8jAEHwAGsiBSQAQWwhCwJAIANBCkkNACACLwAAIQogAi8AAiEJIAIvAAQhByAFQQhqIAQQDgJAIAMgByAJIApqakEGaiIMSQ0AIAUtAAohCCAFQdgAaiACQQZqIgIgChAGIgsQAw0BIAVBQGsgAiAKaiICIAkQBiILEAMNASAFQShqIAIgCWoiAiAHEAYiCxADDQEgBUEQaiACIAdqIAMgDGsQBiILEAMNASAAIAFqIg9BfWohECAEQQRqIQZBASELIAAgAUEDakECdiIDaiIMIANqIgIgA2oiDiEDIAIhBCAMIQcDQCALIAMgEElxBEAgACAGIAVB2ABqIAgQAkECdGoiCS8BADsAACAFQdgAaiAJLQACEAEgCS0AAyELIAcgBiAFQUBrIAgQAkECdGoiCS8BADsAACAFQUBrIAktAAIQASAJLQADIQogBCAGIAVBKGogCBACQQJ0aiIJLwEAOwAAIAVBKGogCS0AAhABIAktAAMhCSADIAYgBUEQaiAIEAJBAnRqIg0vAQA7AAAgBUEQaiANLQACEAEgDS0AAyENIAAgC2oiCyAGIAVB2ABqIAgQAkECdGoiAC8BADsAACAFQdgAaiAALQACEAEgAC0AAyEAIAcgCmoiCiAGIAVBQGsgCBACQQJ0aiIHLwEAOwAAIAVBQGsgBy0AAhABIActAAMhByAEIAlqIgkgBiAFQShqIAgQAkECdGoiBC8BADsAACAFQShqIAQtAAIQASAELQADIQQgAyANaiIDIAYgBUEQaiAIEAJBAnRqIg0vAQA7AAAgBUEQaiANLQACEAEgACALaiEAIAcgCmohByAEIAlqIQQgAyANLQADaiEDIAVB2ABqEA0gBUFAaxANciAFQShqEA1yIAVBEGoQDXJFIQsMAQsLIAQgDksgByACS3INAEFsIQsgACAMSw0BIAxBfWohCQNAQQAgACAJSSAFQdgAahAEGwRAIAAgBiAFQdgAaiAIEAJBAnRqIgovAQA7AAAgBUHYAGogCi0AAhABIAAgCi0AA2oiACAGIAVB2ABqIAgQAkECdGoiCi8BADsAACAFQdgAaiAKLQACEAEgACAKLQADaiEADAEFIAxBfmohCgNAIAVB2ABqEAQgACAKS3JFBEAgACAGIAVB2ABqIAgQAkECdGoiCS8BADsAACAFQdgAaiAJLQACEAEgACAJLQADaiEADAELCwNAIAAgCk0EQCAAIAYgBUHYAGogCBACQQJ0aiIJLwEAOwAAIAVB2ABqIAktAAIQASAAIAktAANqIQAMAQsLAkAgACAMTw0AIAAgBiAFQdgAaiAIEAIiAEECdGoiDC0AADoAACAMLQADQQFGBEAgBUHYAGogDC0AAhABDAELIAUoAlxBH0sNACAFQdgAaiAGIABBAnRqLQACEAEgBSgCXEEhSQ0AIAVBIDYCXAsgAkF9aiEMA0BBACAHIAxJIAVBQGsQBBsEQCAHIAYgBUFAayAIEAJBAnRqIgAvAQA7AAAgBUFAayAALQACEAEgByAALQADaiIAIAYgBUFAayAIEAJBAnRqIgcvAQA7AAAgBUFAayAHLQACEAEgACAHLQADaiEHDAEFIAJBfmohDANAIAVBQGsQBCAHIAxLckUEQCAHIAYgBUFAayAIEAJBAnRqIgAvAQA7AAAgBUFAayAALQACEAEgByAALQADaiEHDAELCwNAIAcgDE0EQCAHIAYgBUFAayAIEAJBAnRqIgAvAQA7AAAgBUFAayAALQACEAEgByAALQADaiEHDAELCwJAIAcgAk8NACAHIAYgBUFAayAIEAIiAEECdGoiAi0AADoAACACLQADQQFGBEAgBUFAayACLQACEAEMAQsgBSgCREEfSw0AIAVBQGsgBiAAQQJ0ai0AAhABIAUoAkRBIUkNACAFQSA2AkQLIA5BfWohAgNAQQAgBCACSSAFQShqEAQbBEAgBCAGIAVBKGogCBACQQJ0aiIALwEAOwAAIAVBKGogAC0AAhABIAQgAC0AA2oiACAGIAVBKGogCBACQQJ0aiIELwEAOwAAIAVBKGogBC0AAhABIAAgBC0AA2ohBAwBBSAOQX5qIQIDQCAFQShqEAQgBCACS3JFBEAgBCAGIAVBKGogCBACQQJ0aiIALwEAOwAAIAVBKGogAC0AAhABIAQgAC0AA2ohBAwBCwsDQCAEIAJNBEAgBCAGIAVBKGogCBACQQJ0aiIALwEAOwAAIAVBKGogAC0AAhABIAQgAC0AA2ohBAwBCwsCQCAEIA5PDQAgBCAGIAVBKGogCBACIgBBAnRqIgItAAA6AAAgAi0AA0EBRgRAIAVBKGogAi0AAhABDAELIAUoAixBH0sNACAFQShqIAYgAEECdGotAAIQASAFKAIsQSFJDQAgBUEgNgIsCwNAQQAgAyAQSSAFQRBqEAQbBEAgAyAGIAVBEGogCBACQQJ0aiIALwEAOwAAIAVBEGogAC0AAhABIAMgAC0AA2oiACAGIAVBEGogCBACQQJ0aiICLwEAOwAAIAVBEGogAi0AAhABIAAgAi0AA2ohAwwBBSAPQX5qIQIDQCAFQRBqEAQgAyACS3JFBEAgAyAGIAVBEGogCBACQQJ0aiIALwEAOwAAIAVBEGogAC0AAhABIAMgAC0AA2ohAwwBCwsDQCADIAJNBEAgAyAGIAVBEGogCBACQQJ0aiIALwEAOwAAIAVBEGogAC0AAhABIAMgAC0AA2ohAwwBCwsCQCADIA9PDQAgAyAGIAVBEGogCBACIgBBAnRqIgItAAA6AAAgAi0AA0EBRgRAIAVBEGogAi0AAhABDAELIAUoAhRBH0sNACAFQRBqIAYgAEECdGotAAIQASAFKAIUQSFJDQAgBUEgNgIUCyABQWwgBUHYAGoQCiAFQUBrEApxIAVBKGoQCnEgBUEQahAKcRshCwwJCwAACwALAAALAAsAAAsACwAACwALQWwhCwsgBUHwAGokACALC7UEAQ5/IwBBEGsiBiQAIAZBBGogABAOQVQhBQJAIARB3AtJDQAgBi0ABCEHIANB8ARqQQBB7AAQECEIIAdBDEsNACADQdwJaiIJIAggBkEIaiAGQQxqIAEgAhAxIhAQA0UEQCAGKAIMIgQgB0sNASADQdwFaiEPIANBpAVqIREgAEEEaiESIANBqAVqIQEgBCEFA0AgBSICQX9qIQUgCCACQQJ0aigCAEUNAAsgAkEBaiEOQQEhBQNAIAUgDk9FBEAgCCAFQQJ0IgtqKAIAIQwgASALaiAKNgIAIAVBAWohBSAKIAxqIQoMAQsLIAEgCjYCAEEAIQUgBigCCCELA0AgBSALRkUEQCABIAUgCWotAAAiDEECdGoiDSANKAIAIg1BAWo2AgAgDyANQQF0aiINIAw6AAEgDSAFOgAAIAVBAWohBQwBCwtBACEBIANBADYCqAUgBEF/cyAHaiEJQQEhBQNAIAUgDk9FBEAgCCAFQQJ0IgtqKAIAIQwgAyALaiABNgIAIAwgBSAJanQgAWohASAFQQFqIQUMAQsLIAcgBEEBaiIBIAJrIgRrQQFqIQgDQEEBIQUgBCAIT0UEQANAIAUgDk9FBEAgBUECdCIJIAMgBEE0bGpqIAMgCWooAgAgBHY2AgAgBUEBaiEFDAELCyAEQQFqIQQMAQsLIBIgByAPIAogESADIAIgARBkIAZBAToABSAGIAc6AAYgACAGKAIENgIACyAQIQULIAZBEGokACAFC8ENAQt/IwBB8ABrIgUkAEFsIQkCQCADQQpJDQAgAi8AACEKIAIvAAIhDCACLwAEIQYgBUEIaiAEEA4CQCADIAYgCiAMampBBmoiDUkNACAFLQAKIQcgBUHYAGogAkEGaiICIAoQBiIJEAMNASAFQUBrIAIgCmoiAiAMEAYiCRADDQEgBUEoaiACIAxqIgIgBhAGIgkQAw0BIAVBEGogAiAGaiADIA1rEAYiCRADDQEgACABaiIOQX1qIQ8gBEEEaiEGQQEhCSAAIAFBA2pBAnYiAmoiCiACaiIMIAJqIg0hAyAMIQQgCiECA0AgCSADIA9JcQRAIAYgBUHYAGogBxACQQF0aiIILQAAIQsgBUHYAGogCC0AARABIAAgCzoAACAGIAVBQGsgBxACQQF0aiIILQAAIQsgBUFAayAILQABEAEgAiALOgAAIAYgBUEoaiAHEAJBAXRqIggtAAAhCyAFQShqIAgtAAEQASAEIAs6AAAgBiAFQRBqIAcQAkEBdGoiCC0AACELIAVBEGogCC0AARABIAMgCzoAACAGIAVB2ABqIAcQAkEBdGoiCC0AACELIAVB2ABqIAgtAAEQASAAIAs6AAEgBiAFQUBrIAcQAkEBdGoiCC0AACELIAVBQGsgCC0AARABIAIgCzoAASAGIAVBKGogBxACQQF0aiIILQAAIQsgBUEoaiAILQABEAEgBCALOgABIAYgBUEQaiAHEAJBAXRqIggtAAAhCyAFQRBqIAgtAAEQASADIAs6AAEgA0ECaiEDIARBAmohBCACQQJqIQIgAEECaiEAIAkgBUHYAGoQDUVxIAVBQGsQDUVxIAVBKGoQDUVxIAVBEGoQDUVxIQkMAQsLIAQgDUsgAiAMS3INAEFsIQkgACAKSw0BIApBfWohCQNAIAVB2ABqEAQgACAJT3JFBEAgBiAFQdgAaiAHEAJBAXRqIggtAAAhCyAFQdgAaiAILQABEAEgACALOgAAIAYgBUHYAGogBxACQQF0aiIILQAAIQsgBUHYAGogCC0AARABIAAgCzoAASAAQQJqIQAMAQsLA0AgBUHYAGoQBCAAIApPckUEQCAGIAVB2ABqIAcQAkEBdGoiCS0AACEIIAVB2ABqIAktAAEQASAAIAg6AAAgAEEBaiEADAELCwNAIAAgCkkEQCAGIAVB2ABqIAcQAkEBdGoiCS0AACEIIAVB2ABqIAktAAEQASAAIAg6AAAgAEEBaiEADAELCyAMQX1qIQADQCAFQUBrEAQgAiAAT3JFBEAgBiAFQUBrIAcQAkEBdGoiCi0AACEJIAVBQGsgCi0AARABIAIgCToAACAGIAVBQGsgBxACQQF0aiIKLQAAIQkgBUFAayAKLQABEAEgAiAJOgABIAJBAmohAgwBCwsDQCAFQUBrEAQgAiAMT3JFBEAgBiAFQUBrIAcQAkEBdGoiAC0AACEKIAVBQGsgAC0AARABIAIgCjoAACACQQFqIQIMAQsLA0AgAiAMSQRAIAYgBUFAayAHEAJBAXRqIgAtAAAhCiAFQUBrIAAtAAEQASACIAo6AAAgAkEBaiECDAELCyANQX1qIQADQCAFQShqEAQgBCAAT3JFBEAgBiAFQShqIAcQAkEBdGoiAi0AACEKIAVBKGogAi0AARABIAQgCjoAACAGIAVBKGogBxACQQF0aiICLQAAIQogBUEoaiACLQABEAEgBCAKOgABIARBAmohBAwBCwsDQCAFQShqEAQgBCANT3JFBEAgBiAFQShqIAcQAkEBdGoiAC0AACECIAVBKGogAC0AARABIAQgAjoAACAEQQFqIQQMAQsLA0AgBCANSQRAIAYgBUEoaiAHEAJBAXRqIgAtAAAhAiAFQShqIAAtAAEQASAEIAI6AAAgBEEBaiEEDAELCwNAIAVBEGoQBCADIA9PckUEQCAGIAVBEGogBxACQQF0aiIALQAAIQIgBUEQaiAALQABEAEgAyACOgAAIAYgBUEQaiAHEAJBAXRqIgAtAAAhAiAFQRBqIAAtAAEQASADIAI6AAEgA0ECaiEDDAELCwNAIAVBEGoQBCADIA5PckUEQCAGIAVBEGogBxACQQF0aiIALQAAIQIgBUEQaiAALQABEAEgAyACOgAAIANBAWohAwwBCwsDQCADIA5JBEAgBiAFQRBqIAcQAkEBdGoiAC0AACECIAVBEGogAC0AARABIAMgAjoAACADQQFqIQMMAQsLIAFBbCAFQdgAahAKIAVBQGsQCnEgBUEoahAKcSAFQRBqEApxGyEJDAELQWwhCQsgBUHwAGokACAJC8oCAQR/IwBBIGsiBSQAIAUgBBAOIAUtAAIhByAFQQhqIAIgAxAGIgIQA0UEQCAEQQRqIQIgACABaiIDQX1qIQQDQCAFQQhqEAQgACAET3JFBEAgAiAFQQhqIAcQAkEBdGoiBi0AACEIIAVBCGogBi0AARABIAAgCDoAACACIAVBCGogBxACQQF0aiIGLQAAIQggBUEIaiAGLQABEAEgACAIOgABIABBAmohAAwBCwsDQCAFQQhqEAQgACADT3JFBEAgAiAFQQhqIAcQAkEBdGoiBC0AACEGIAVBCGogBC0AARABIAAgBjoAACAAQQFqIQAMAQsLA0AgACADT0UEQCACIAVBCGogBxACQQF0aiIELQAAIQYgBUEIaiAELQABEAEgACAGOgAAIABBAWohAAwBCwsgAUFsIAVBCGoQChshAgsgBUEgaiQAIAILtgMBCX8jAEEQayIGJAAgBkEANgIMIAZBADYCCEFUIQQCQAJAIANBQGsiDCADIAZBCGogBkEMaiABIAIQMSICEAMNACAGQQRqIAAQDiAGKAIMIgcgBi0ABEEBaksNASAAQQRqIQogBkEAOgAFIAYgBzoABiAAIAYoAgQ2AgAgB0EBaiEJQQEhBANAIAQgCUkEQCADIARBAnRqIgEoAgAhACABIAU2AgAgACAEQX9qdCAFaiEFIARBAWohBAwBCwsgB0EBaiEHQQAhBSAGKAIIIQkDQCAFIAlGDQEgAyAFIAxqLQAAIgRBAnRqIgBBASAEdEEBdSILIAAoAgAiAWoiADYCACAHIARrIQhBACEEAkAgC0EDTQRAA0AgBCALRg0CIAogASAEakEBdGoiACAIOgABIAAgBToAACAEQQFqIQQMAAALAAsDQCABIABPDQEgCiABQQF0aiIEIAg6AAEgBCAFOgAAIAQgCDoAAyAEIAU6AAIgBCAIOgAFIAQgBToABCAEIAg6AAcgBCAFOgAGIAFBBGohAQwAAAsACyAFQQFqIQUMAAALAAsgAiEECyAGQRBqJAAgBAutAQECfwJAQYQgKAIAIABHIAAoAgBBAXYiAyABa0F4aiICQXhxQQhHcgR/IAIFIAMQJ0UNASACQQhqC0EQSQ0AIAAgACgCACICQQFxIAAgAWpBD2pBeHEiASAAa0EBdHI2AgAgASAANgIEIAEgASgCAEEBcSAAIAJBAXZqIAFrIgJBAXRyNgIAQYQgIAEgAkH/////B3FqQQRqQYQgKAIAIABGGyABNgIAIAEQJQsLygIBBX8CQAJAAkAgAEEIIABBCEsbZ0EfcyAAaUEBR2oiAUEESSAAIAF2cg0AIAFBAnRB/B5qKAIAIgJFDQADQCACQXhqIgMoAgBBAXZBeGoiBSAATwRAIAIgBUEIIAVBCEsbZ0Efc0ECdEGAH2oiASgCAEYEQCABIAIoAgQ2AgALDAMLIARBHksNASAEQQFqIQQgAigCBCICDQALC0EAIQMgAUEgTw0BA0AgAUECdEGAH2ooAgAiAkUEQCABQR5LIQIgAUEBaiEBIAJFDQEMAwsLIAIgAkF4aiIDKAIAQQF2QXhqIgFBCCABQQhLG2dBH3NBAnRBgB9qIgEoAgBGBEAgASACKAIENgIACwsgAigCACIBBEAgASACKAIENgIECyACKAIEIgEEQCABIAIoAgA2AgALIAMgAygCAEEBcjYCACADIAAQNwsgAwvhCwINfwV+IwBB8ABrIgckACAHIAAoAvDhASIINgJcIAEgAmohDSAIIAAoAoDiAWohDwJAAkAgBUUEQCABIQQMAQsgACgCxOABIRAgACgCwOABIREgACgCvOABIQ4gAEEBNgKM4QFBACEIA0AgCEEDRwRAIAcgCEECdCICaiAAIAJqQazQAWooAgA2AkQgCEEBaiEIDAELC0FsIQwgB0EYaiADIAQQBhADDQEgB0EsaiAHQRhqIAAoAgAQEyAHQTRqIAdBGGogACgCCBATIAdBPGogB0EYaiAAKAIEEBMgDUFgaiESIAEhBEEAIQwDQCAHKAIwIAcoAixBA3RqKQIAIhRCEIinQf8BcSEIIAcoAkAgBygCPEEDdGopAgAiFUIQiKdB/wFxIQsgBygCOCAHKAI0QQN0aikCACIWQiCIpyEJIBVCIIghFyAUQiCIpyECAkAgFkIQiKdB/wFxIgNBAk8EQAJAIAZFIANBGUlyRQRAIAkgB0EYaiADQSAgBygCHGsiCiAKIANLGyIKEAUgAyAKayIDdGohCSAHQRhqEAQaIANFDQEgB0EYaiADEAUgCWohCQwBCyAHQRhqIAMQBSAJaiEJIAdBGGoQBBoLIAcpAkQhGCAHIAk2AkQgByAYNwNIDAELAkAgA0UEQCACBEAgBygCRCEJDAMLIAcoAkghCQwBCwJAAkAgB0EYakEBEAUgCSACRWpqIgNBA0YEQCAHKAJEQX9qIgMgA0VqIQkMAQsgA0ECdCAHaigCRCIJIAlFaiEJIANBAUYNAQsgByAHKAJINgJMCwsgByAHKAJENgJIIAcgCTYCRAsgF6chAyALBEAgB0EYaiALEAUgA2ohAwsgCCALakEUTwRAIAdBGGoQBBoLIAgEQCAHQRhqIAgQBSACaiECCyAHQRhqEAQaIAcgB0EYaiAUQhiIp0H/AXEQCCAUp0H//wNxajYCLCAHIAdBGGogFUIYiKdB/wFxEAggFadB//8DcWo2AjwgB0EYahAEGiAHIAdBGGogFkIYiKdB/wFxEAggFqdB//8DcWo2AjQgByACNgJgIAcoAlwhCiAHIAk2AmggByADNgJkAkACQAJAIAQgAiADaiILaiASSw0AIAIgCmoiEyAPSw0AIA0gBGsgC0Egak8NAQsgByAHKQNoNwMQIAcgBykDYDcDCCAEIA0gB0EIaiAHQdwAaiAPIA4gESAQEB4hCwwBCyACIARqIQggBCAKEAcgAkERTwRAIARBEGohAgNAIAIgCkEQaiIKEAcgAkEQaiICIAhJDQALCyAIIAlrIQIgByATNgJcIAkgCCAOa0sEQCAJIAggEWtLBEBBbCELDAILIBAgAiAOayICaiIKIANqIBBNBEAgCCAKIAMQDxoMAgsgCCAKQQAgAmsQDyEIIAcgAiADaiIDNgJkIAggAmshCCAOIQILIAlBEE8EQCADIAhqIQMDQCAIIAIQByACQRBqIQIgCEEQaiIIIANJDQALDAELAkAgCUEHTQRAIAggAi0AADoAACAIIAItAAE6AAEgCCACLQACOgACIAggAi0AAzoAAyAIQQRqIAIgCUECdCIDQcAeaigCAGoiAhAXIAIgA0HgHmooAgBrIQIgBygCZCEDDAELIAggAhAMCyADQQlJDQAgAyAIaiEDIAhBCGoiCCACQQhqIgJrQQ9MBEADQCAIIAIQDCACQQhqIQIgCEEIaiIIIANJDQAMAgALAAsDQCAIIAIQByACQRBqIQIgCEEQaiIIIANJDQALCyAHQRhqEAQaIAsgDCALEAMiAhshDCAEIAQgC2ogAhshBCAFQX9qIgUNAAsgDBADDQFBbCEMIAdBGGoQBEECSQ0BQQAhCANAIAhBA0cEQCAAIAhBAnQiAmpBrNABaiACIAdqKAJENgIAIAhBAWohCAwBCwsgBygCXCEIC0G6fyEMIA8gCGsiACANIARrSw0AIAQEfyAEIAggABALIABqBUEACyABayEMCyAHQfAAaiQAIAwLkRcCFn8FfiMAQdABayIHJAAgByAAKALw4QEiCDYCvAEgASACaiESIAggACgCgOIBaiETAkACQCAFRQRAIAEhAwwBCyAAKALE4AEhESAAKALA4AEhFSAAKAK84AEhDyAAQQE2AozhAUEAIQgDQCAIQQNHBEAgByAIQQJ0IgJqIAAgAmpBrNABaigCADYCVCAIQQFqIQgMAQsLIAcgETYCZCAHIA82AmAgByABIA9rNgJoQWwhECAHQShqIAMgBBAGEAMNASAFQQQgBUEESBshFyAHQTxqIAdBKGogACgCABATIAdBxABqIAdBKGogACgCCBATIAdBzABqIAdBKGogACgCBBATQQAhBCAHQeAAaiEMIAdB5ABqIQoDQCAHQShqEARBAksgBCAXTnJFBEAgBygCQCAHKAI8QQN0aikCACIdQhCIp0H/AXEhCyAHKAJQIAcoAkxBA3RqKQIAIh5CEIinQf8BcSEJIAcoAkggBygCREEDdGopAgAiH0IgiKchCCAeQiCIISAgHUIgiKchAgJAIB9CEIinQf8BcSIDQQJPBEACQCAGRSADQRlJckUEQCAIIAdBKGogA0EgIAcoAixrIg0gDSADSxsiDRAFIAMgDWsiA3RqIQggB0EoahAEGiADRQ0BIAdBKGogAxAFIAhqIQgMAQsgB0EoaiADEAUgCGohCCAHQShqEAQaCyAHKQJUISEgByAINgJUIAcgITcDWAwBCwJAIANFBEAgAgRAIAcoAlQhCAwDCyAHKAJYIQgMAQsCQAJAIAdBKGpBARAFIAggAkVqaiIDQQNGBEAgBygCVEF/aiIDIANFaiEIDAELIANBAnQgB2ooAlQiCCAIRWohCCADQQFGDQELIAcgBygCWDYCXAsLIAcgBygCVDYCWCAHIAg2AlQLICCnIQMgCQRAIAdBKGogCRAFIANqIQMLIAkgC2pBFE8EQCAHQShqEAQaCyALBEAgB0EoaiALEAUgAmohAgsgB0EoahAEGiAHIAcoAmggAmoiCSADajYCaCAKIAwgCCAJSxsoAgAhDSAHIAdBKGogHUIYiKdB/wFxEAggHadB//8DcWo2AjwgByAHQShqIB5CGIinQf8BcRAIIB6nQf//A3FqNgJMIAdBKGoQBBogB0EoaiAfQhiIp0H/AXEQCCEOIAdB8ABqIARBBHRqIgsgCSANaiAIazYCDCALIAg2AgggCyADNgIEIAsgAjYCACAHIA4gH6dB//8DcWo2AkQgBEEBaiEEDAELCyAEIBdIDQEgEkFgaiEYIAdB4ABqIRogB0HkAGohGyABIQMDQCAHQShqEARBAksgBCAFTnJFBEAgBygCQCAHKAI8QQN0aikCACIdQhCIp0H/AXEhCyAHKAJQIAcoAkxBA3RqKQIAIh5CEIinQf8BcSEIIAcoAkggBygCREEDdGopAgAiH0IgiKchCSAeQiCIISAgHUIgiKchDAJAIB9CEIinQf8BcSICQQJPBEACQCAGRSACQRlJckUEQCAJIAdBKGogAkEgIAcoAixrIgogCiACSxsiChAFIAIgCmsiAnRqIQkgB0EoahAEGiACRQ0BIAdBKGogAhAFIAlqIQkMAQsgB0EoaiACEAUgCWohCSAHQShqEAQaCyAHKQJUISEgByAJNgJUIAcgITcDWAwBCwJAIAJFBEAgDARAIAcoAlQhCQwDCyAHKAJYIQkMAQsCQAJAIAdBKGpBARAFIAkgDEVqaiICQQNGBEAgBygCVEF/aiICIAJFaiEJDAELIAJBAnQgB2ooAlQiCSAJRWohCSACQQFGDQELIAcgBygCWDYCXAsLIAcgBygCVDYCWCAHIAk2AlQLICCnIRQgCARAIAdBKGogCBAFIBRqIRQLIAggC2pBFE8EQCAHQShqEAQaCyALBEAgB0EoaiALEAUgDGohDAsgB0EoahAEGiAHIAcoAmggDGoiGSAUajYCaCAbIBogCSAZSxsoAgAhHCAHIAdBKGogHUIYiKdB/wFxEAggHadB//8DcWo2AjwgByAHQShqIB5CGIinQf8BcRAIIB6nQf//A3FqNgJMIAdBKGoQBBogByAHQShqIB9CGIinQf8BcRAIIB+nQf//A3FqNgJEIAcgB0HwAGogBEEDcUEEdGoiDSkDCCIdNwPIASAHIA0pAwAiHjcDwAECQAJAAkAgBygCvAEiDiAepyICaiIWIBNLDQAgAyAHKALEASIKIAJqIgtqIBhLDQAgEiADayALQSBqTw0BCyAHIAcpA8gBNwMQIAcgBykDwAE3AwggAyASIAdBCGogB0G8AWogEyAPIBUgERAeIQsMAQsgAiADaiEIIAMgDhAHIAJBEU8EQCADQRBqIQIDQCACIA5BEGoiDhAHIAJBEGoiAiAISQ0ACwsgCCAdpyIOayECIAcgFjYCvAEgDiAIIA9rSwRAIA4gCCAVa0sEQEFsIQsMAgsgESACIA9rIgJqIhYgCmogEU0EQCAIIBYgChAPGgwCCyAIIBZBACACaxAPIQggByACIApqIgo2AsQBIAggAmshCCAPIQILIA5BEE8EQCAIIApqIQoDQCAIIAIQByACQRBqIQIgCEEQaiIIIApJDQALDAELAkAgDkEHTQRAIAggAi0AADoAACAIIAItAAE6AAEgCCACLQACOgACIAggAi0AAzoAAyAIQQRqIAIgDkECdCIKQcAeaigCAGoiAhAXIAIgCkHgHmooAgBrIQIgBygCxAEhCgwBCyAIIAIQDAsgCkEJSQ0AIAggCmohCiAIQQhqIgggAkEIaiICa0EPTARAA0AgCCACEAwgAkEIaiECIAhBCGoiCCAKSQ0ADAIACwALA0AgCCACEAcgAkEQaiECIAhBEGoiCCAKSQ0ACwsgCxADBEAgCyEQDAQFIA0gDDYCACANIBkgHGogCWs2AgwgDSAJNgIIIA0gFDYCBCAEQQFqIQQgAyALaiEDDAILAAsLIAQgBUgNASAEIBdrIQtBACEEA0AgCyAFSARAIAcgB0HwAGogC0EDcUEEdGoiAikDCCIdNwPIASAHIAIpAwAiHjcDwAECQAJAAkAgBygCvAEiDCAepyICaiIKIBNLDQAgAyAHKALEASIJIAJqIhBqIBhLDQAgEiADayAQQSBqTw0BCyAHIAcpA8gBNwMgIAcgBykDwAE3AxggAyASIAdBGGogB0G8AWogEyAPIBUgERAeIRAMAQsgAiADaiEIIAMgDBAHIAJBEU8EQCADQRBqIQIDQCACIAxBEGoiDBAHIAJBEGoiAiAISQ0ACwsgCCAdpyIGayECIAcgCjYCvAEgBiAIIA9rSwRAIAYgCCAVa0sEQEFsIRAMAgsgESACIA9rIgJqIgwgCWogEU0EQCAIIAwgCRAPGgwCCyAIIAxBACACaxAPIQggByACIAlqIgk2AsQBIAggAmshCCAPIQILIAZBEE8EQCAIIAlqIQYDQCAIIAIQByACQRBqIQIgCEEQaiIIIAZJDQALDAELAkAgBkEHTQRAIAggAi0AADoAACAIIAItAAE6AAEgCCACLQACOgACIAggAi0AAzoAAyAIQQRqIAIgBkECdCIGQcAeaigCAGoiAhAXIAIgBkHgHmooAgBrIQIgBygCxAEhCQwBCyAIIAIQDAsgCUEJSQ0AIAggCWohBiAIQQhqIgggAkEIaiICa0EPTARAA0AgCCACEAwgAkEIaiECIAhBCGoiCCAGSQ0ADAIACwALA0AgCCACEAcgAkEQaiECIAhBEGoiCCAGSQ0ACwsgEBADDQMgC0EBaiELIAMgEGohAwwBCwsDQCAEQQNHBEAgACAEQQJ0IgJqQazQAWogAiAHaigCVDYCACAEQQFqIQQMAQsLIAcoArwBIQgLQbp/IRAgEyAIayIAIBIgA2tLDQAgAwR/IAMgCCAAEAsgAGoFQQALIAFrIRALIAdB0AFqJAAgEAslACAAQgA3AgAgAEEAOwEIIABBADoACyAAIAE2AgwgACACOgAKC7QFAQN/IwBBMGsiBCQAIABB/wFqIgVBfWohBgJAIAMvAQIEQCAEQRhqIAEgAhAGIgIQAw0BIARBEGogBEEYaiADEBwgBEEIaiAEQRhqIAMQHCAAIQMDQAJAIARBGGoQBCADIAZPckUEQCADIARBEGogBEEYahASOgAAIAMgBEEIaiAEQRhqEBI6AAEgBEEYahAERQ0BIANBAmohAwsgBUF+aiEFAn8DQEG6fyECIAMiASAFSw0FIAEgBEEQaiAEQRhqEBI6AAAgAUEBaiEDIARBGGoQBEEDRgRAQQIhAiAEQQhqDAILIAMgBUsNBSABIARBCGogBEEYahASOgABIAFBAmohA0EDIQIgBEEYahAEQQNHDQALIARBEGoLIQUgAyAFIARBGGoQEjoAACABIAJqIABrIQIMAwsgAyAEQRBqIARBGGoQEjoAAiADIARBCGogBEEYahASOgADIANBBGohAwwAAAsACyAEQRhqIAEgAhAGIgIQAw0AIARBEGogBEEYaiADEBwgBEEIaiAEQRhqIAMQHCAAIQMDQAJAIARBGGoQBCADIAZPckUEQCADIARBEGogBEEYahAROgAAIAMgBEEIaiAEQRhqEBE6AAEgBEEYahAERQ0BIANBAmohAwsgBUF+aiEFAn8DQEG6fyECIAMiASAFSw0EIAEgBEEQaiAEQRhqEBE6AAAgAUEBaiEDIARBGGoQBEEDRgRAQQIhAiAEQQhqDAILIAMgBUsNBCABIARBCGogBEEYahAROgABIAFBAmohA0EDIQIgBEEYahAEQQNHDQALIARBEGoLIQUgAyAFIARBGGoQEToAACABIAJqIABrIQIMAgsgAyAEQRBqIARBGGoQEToAAiADIARBCGogBEEYahAROgADIANBBGohAwwAAAsACyAEQTBqJAAgAgtpAQF/An8CQAJAIAJBB00NACABKAAAQbfIwuF+Rw0AIAAgASgABDYCmOIBQWIgAEEQaiABIAIQPiIDEAMNAhogAEKBgICAEDcDiOEBIAAgASADaiACIANrECoMAQsgACABIAIQKgtBAAsLrQMBBn8jAEGAAWsiAyQAQWIhCAJAIAJBCUkNACAAQZjQAGogAUEIaiIEIAJBeGogAEGY0AAQMyIFEAMiBg0AIANBHzYCfCADIANB/ABqIANB+ABqIAQgBCAFaiAGGyIEIAEgAmoiAiAEaxAVIgUQAw0AIAMoAnwiBkEfSw0AIAMoAngiB0EJTw0AIABBiCBqIAMgBkGAC0GADCAHEBggA0E0NgJ8IAMgA0H8AGogA0H4AGogBCAFaiIEIAIgBGsQFSIFEAMNACADKAJ8IgZBNEsNACADKAJ4IgdBCk8NACAAQZAwaiADIAZBgA1B4A4gBxAYIANBIzYCfCADIANB/ABqIANB+ABqIAQgBWoiBCACIARrEBUiBRADDQAgAygCfCIGQSNLDQAgAygCeCIHQQpPDQAgACADIAZBwBBB0BEgBxAYIAQgBWoiBEEMaiIFIAJLDQAgAiAFayEFQQAhAgNAIAJBA0cEQCAEKAAAIgZBf2ogBU8NAiAAIAJBAnRqQZzQAWogBjYCACACQQFqIQIgBEEEaiEEDAELCyAEIAFrIQgLIANBgAFqJAAgCAtGAQN/IABBCGohAyAAKAIEIQJBACEAA0AgACACdkUEQCABIAMgAEEDdGotAAJBFktqIQEgAEEBaiEADAELCyABQQggAmt0C4YDAQV/Qbh/IQcCQCADRQ0AIAItAAAiBEUEQCABQQA2AgBBAUG4fyADQQFGGw8LAn8gAkEBaiIFIARBGHRBGHUiBkF/Sg0AGiAGQX9GBEAgA0EDSA0CIAUvAABBgP4BaiEEIAJBA2oMAQsgA0ECSA0BIAItAAEgBEEIdHJBgIB+aiEEIAJBAmoLIQUgASAENgIAIAVBAWoiASACIANqIgNLDQBBbCEHIABBEGogACAFLQAAIgVBBnZBI0EJIAEgAyABa0HAEEHQEUHwEiAAKAKM4QEgACgCnOIBIAQQHyIGEAMiCA0AIABBmCBqIABBCGogBUEEdkEDcUEfQQggASABIAZqIAgbIgEgAyABa0GAC0GADEGAFyAAKAKM4QEgACgCnOIBIAQQHyIGEAMiCA0AIABBoDBqIABBBGogBUECdkEDcUE0QQkgASABIAZqIAgbIgEgAyABa0GADUHgDkGQGSAAKAKM4QEgACgCnOIBIAQQHyIAEAMNACAAIAFqIAJrIQcLIAcLrQMBCn8jAEGABGsiCCQAAn9BUiACQf8BSw0AGkFUIANBDEsNABogAkEBaiELIABBBGohCUGAgAQgA0F/anRBEHUhCkEAIQJBASEEQQEgA3QiB0F/aiIMIQUDQCACIAtGRQRAAkAgASACQQF0Ig1qLwEAIgZB//8DRgRAIAkgBUECdGogAjoAAiAFQX9qIQVBASEGDAELIARBACAKIAZBEHRBEHVKGyEECyAIIA1qIAY7AQAgAkEBaiECDAELCyAAIAQ7AQIgACADOwEAIAdBA3YgB0EBdmpBA2ohBkEAIQRBACECA0AgBCALRkUEQCABIARBAXRqLgEAIQpBACEAA0AgACAKTkUEQCAJIAJBAnRqIAQ6AAIDQCACIAZqIAxxIgIgBUsNAAsgAEEBaiEADAELCyAEQQFqIQQMAQsLQX8gAg0AGkEAIQIDfyACIAdGBH9BAAUgCCAJIAJBAnRqIgAtAAJBAXRqIgEgAS8BACIBQQFqOwEAIAAgAyABEBRrIgU6AAMgACABIAVB/wFxdCAHazsBACACQQFqIQIMAQsLCyEFIAhBgARqJAAgBQvjBgEIf0FsIQcCQCACQQNJDQACQAJAAkACQCABLQAAIgNBA3EiCUEBaw4DAwEAAgsgACgCiOEBDQBBYg8LIAJBBUkNAkEDIQYgASgAACEFAn8CQAJAIANBAnZBA3EiCEF+aiIEQQFNBEAgBEEBaw0BDAILIAVBDnZB/wdxIQQgBUEEdkH/B3EhAyAIRQwCCyAFQRJ2IQRBBCEGIAVBBHZB//8AcSEDQQAMAQsgBUEEdkH//w9xIgNBgIAISw0DIAEtAARBCnQgBUEWdnIhBEEFIQZBAAshBSAEIAZqIgogAksNAgJAIANBgQZJDQAgACgCnOIBRQ0AQQAhAgNAIAJBg4ABSw0BIAJBQGshAgwAAAsACwJ/IAlBA0YEQCABIAZqIQEgAEHw4gFqIQIgACgCDCEGIAUEQCACIAMgASAEIAYQXwwCCyACIAMgASAEIAYQXQwBCyAAQbjQAWohAiABIAZqIQEgAEHw4gFqIQYgAEGo0ABqIQggBQRAIAggBiADIAEgBCACEF4MAQsgCCAGIAMgASAEIAIQXAsQAw0CIAAgAzYCgOIBIABBATYCiOEBIAAgAEHw4gFqNgLw4QEgCUECRgRAIAAgAEGo0ABqNgIMCyAAIANqIgBBiOMBakIANwAAIABBgOMBakIANwAAIABB+OIBakIANwAAIABB8OIBakIANwAAIAoPCwJ/AkACQAJAIANBAnZBA3FBf2oiBEECSw0AIARBAWsOAgACAQtBASEEIANBA3YMAgtBAiEEIAEvAABBBHYMAQtBAyEEIAEQIUEEdgsiAyAEaiIFQSBqIAJLBEAgBSACSw0CIABB8OIBaiABIARqIAMQCyEBIAAgAzYCgOIBIAAgATYC8OEBIAEgA2oiAEIANwAYIABCADcAECAAQgA3AAggAEIANwAAIAUPCyAAIAM2AoDiASAAIAEgBGo2AvDhASAFDwsCfwJAAkACQCADQQJ2QQNxQX9qIgRBAksNACAEQQFrDgIAAgELQQEhByADQQN2DAILQQIhByABLwAAQQR2DAELIAJBBEkgARAhIgJBj4CAAUtyDQFBAyEHIAJBBHYLIQIgAEHw4gFqIAEgB2otAAAgAkEgahAQIQEgACACNgKA4gEgACABNgLw4QEgB0EBaiEHCyAHC0sAIABC+erQ0OfJoeThADcDICAAQgA3AxggAELP1tO+0ser2UI3AxAgAELW64Lu6v2J9eAANwMIIABCADcDACAAQShqQQBBKBAQGgviAgICfwV+IABBKGoiASAAKAJIaiECAn4gACkDACIDQiBaBEAgACkDECIEQgeJIAApAwgiBUIBiXwgACkDGCIGQgyJfCAAKQMgIgdCEol8IAUQGSAEEBkgBhAZIAcQGQwBCyAAKQMYQsXP2bLx5brqJ3wLIAN8IQMDQCABQQhqIgAgAk0EQEIAIAEpAAAQCSADhUIbiUKHla+vmLbem55/fkLj3MqV/M7y9YV/fCEDIAAhAQwBCwsCQCABQQRqIgAgAksEQCABIQAMAQsgASgAAK1Ch5Wvr5i23puef34gA4VCF4lCz9bTvtLHq9lCfkL5893xmfaZqxZ8IQMLA0AgACACSQRAIAAxAABCxc/ZsvHluuonfiADhUILiUKHla+vmLbem55/fiEDIABBAWohAAwBCwsgA0IhiCADhULP1tO+0ser2UJ+IgNCHYggA4VC+fPd8Zn2masWfiIDQiCIIAOFC+8CAgJ/BH4gACAAKQMAIAKtfDcDAAJAAkAgACgCSCIDIAJqIgRBH00EQCABRQ0BIAAgA2pBKGogASACECAgACgCSCACaiEEDAELIAEgAmohAgJ/IAMEQCAAQShqIgQgA2ogAUEgIANrECAgACAAKQMIIAQpAAAQCTcDCCAAIAApAxAgACkAMBAJNwMQIAAgACkDGCAAKQA4EAk3AxggACAAKQMgIABBQGspAAAQCTcDICAAKAJIIQMgAEEANgJIIAEgA2tBIGohAQsgAUEgaiACTQsEQCACQWBqIQMgACkDICEFIAApAxghBiAAKQMQIQcgACkDCCEIA0AgCCABKQAAEAkhCCAHIAEpAAgQCSEHIAYgASkAEBAJIQYgBSABKQAYEAkhBSABQSBqIgEgA00NAAsgACAFNwMgIAAgBjcDGCAAIAc3AxAgACAINwMICyABIAJPDQEgAEEoaiABIAIgAWsiBBAgCyAAIAQ2AkgLCy8BAX8gAEUEQEG2f0EAIAMbDwtBun8hBCADIAFNBH8gACACIAMQEBogAwVBun8LCy8BAX8gAEUEQEG2f0EAIAMbDwtBun8hBCADIAFNBH8gACACIAMQCxogAwVBun8LC6gCAQZ/IwBBEGsiByQAIABB2OABaikDAEKAgIAQViEIQbh/IQUCQCAEQf//B0sNACAAIAMgBBBCIgUQAyIGDQAgACgCnOIBIQkgACAHQQxqIAMgAyAFaiAGGyIKIARBACAFIAYbayIGEEAiAxADBEAgAyEFDAELIAcoAgwhBCABRQRAQbp/IQUgBEEASg0BCyAGIANrIQUgAyAKaiEDAkAgCQRAIABBADYCnOIBDAELAkACQAJAIARBBUgNACAAQdjgAWopAwBCgICACFgNAAwBCyAAQQA2ApziAQwBCyAAKAIIED8hBiAAQQA2ApziASAGQRRPDQELIAAgASACIAMgBSAEIAgQOSEFDAELIAAgASACIAMgBSAEIAgQOiEFCyAHQRBqJAAgBQtnACAAQdDgAWogASACIAAoAuzhARAuIgEQAwRAIAEPC0G4fyECAkAgAQ0AIABB7OABaigCACIBBEBBYCECIAAoApjiASABRw0BC0EAIQIgAEHw4AFqKAIARQ0AIABBkOEBahBDCyACCycBAX8QVyIERQRAQUAPCyAEIAAgASACIAMgBBBLEE8hACAEEFYgAAs/AQF/AkACQAJAIAAoAqDiAUEBaiIBQQJLDQAgAUEBaw4CAAECCyAAEDBBAA8LIABBADYCoOIBCyAAKAKU4gELvAMCB38BfiMAQRBrIgkkAEG4fyEGAkAgBCgCACIIQQVBCSAAKALs4QEiBRtJDQAgAygCACIHQQFBBSAFGyAFEC8iBRADBEAgBSEGDAELIAggBUEDakkNACAAIAcgBRBJIgYQAw0AIAEgAmohCiAAQZDhAWohCyAIIAVrIQIgBSAHaiEHIAEhBQNAIAcgAiAJECwiBhADDQEgAkF9aiICIAZJBEBBuH8hBgwCCyAJKAIAIghBAksEQEFsIQYMAgsgB0EDaiEHAn8CQAJAAkAgCEEBaw4CAgABCyAAIAUgCiAFayAHIAYQSAwCCyAFIAogBWsgByAGEEcMAQsgBSAKIAVrIActAAAgCSgCCBBGCyIIEAMEQCAIIQYMAgsgACgC8OABBEAgCyAFIAgQRQsgAiAGayECIAYgB2ohByAFIAhqIQUgCSgCBEUNAAsgACkD0OABIgxCf1IEQEFsIQYgDCAFIAFrrFINAQsgACgC8OABBEBBaiEGIAJBBEkNASALEEQhDCAHKAAAIAynRw0BIAdBBGohByACQXxqIQILIAMgBzYCACAEIAI2AgAgBSABayEGCyAJQRBqJAAgBgsuACAAECsCf0EAQQAQAw0AGiABRSACRXJFBEBBYiAAIAEgAhA9EAMNARoLQQALCzcAIAEEQCAAIAAoAsTgASABKAIEIAEoAghqRzYCnOIBCyAAECtBABADIAFFckUEQCAAIAEQWwsL0QIBB38jAEEQayIGJAAgBiAENgIIIAYgAzYCDCAFBEAgBSgCBCEKIAUoAgghCQsgASEIAkACQANAIAAoAuzhARAWIQsCQANAIAQgC0kNASADKAAAQXBxQdDUtMIBRgRAIAMgBBAiIgcQAw0EIAQgB2shBCADIAdqIQMMAQsLIAYgAzYCDCAGIAQ2AggCQCAFBEAgACAFEE5BACEHQQAQA0UNAQwFCyAAIAogCRBNIgcQAw0ECyAAIAgQUCAMQQFHQQAgACAIIAIgBkEMaiAGQQhqEEwiByIDa0EAIAMQAxtBCkdyRQRAQbh/IQcMBAsgBxADDQMgAiAHayECIAcgCGohCEEBIQwgBigCDCEDIAYoAgghBAwBCwsgBiADNgIMIAYgBDYCCEG4fyEHIAQNASAIIAFrIQcMAQsgBiADNgIMIAYgBDYCCAsgBkEQaiQAIAcLRgECfyABIAAoArjgASICRwRAIAAgAjYCxOABIAAgATYCuOABIAAoArzgASEDIAAgATYCvOABIAAgASADIAJrajYCwOABCwutAgIEfwF+IwBBQGoiBCQAAkACQCACQQhJDQAgASgAAEFwcUHQ1LTCAUcNACABIAIQIiEBIABCADcDCCAAQQA2AgQgACABNgIADAELIARBGGogASACEC0iAxADBEAgACADEBoMAQsgAwRAIABBuH8QGgwBCyACIAQoAjAiA2shAiABIANqIQMDQAJAIAAgAyACIARBCGoQLCIFEAMEfyAFBSACIAVBA2oiBU8NAUG4fwsQGgwCCyAGQQFqIQYgAiAFayECIAMgBWohAyAEKAIMRQ0ACyAEKAI4BEAgAkEDTQRAIABBuH8QGgwCCyADQQRqIQMLIAQoAighAiAEKQMYIQcgAEEANgIEIAAgAyABazYCACAAIAIgBmytIAcgB0J/URs3AwgLIARBQGskAAslAQF/IwBBEGsiAiQAIAIgACABEFEgAigCACEAIAJBEGokACAAC30BBH8jAEGQBGsiBCQAIARB/wE2AggCQCAEQRBqIARBCGogBEEMaiABIAIQFSIGEAMEQCAGIQUMAQtBVCEFIAQoAgwiB0EGSw0AIAMgBEEQaiAEKAIIIAcQQSIFEAMNACAAIAEgBmogAiAGayADEDwhBQsgBEGQBGokACAFC4cBAgJ/An5BABAWIQMCQANAIAEgA08EQAJAIAAoAABBcHFB0NS0wgFGBEAgACABECIiAhADRQ0BQn4PCyAAIAEQVSIEQn1WDQMgBCAFfCIFIARUIQJCfiEEIAINAyAAIAEQUiICEAMNAwsgASACayEBIAAgAmohAAwBCwtCfiAFIAEbIQQLIAQLPwIBfwF+IwBBMGsiAiQAAn5CfiACQQhqIAAgARAtDQAaQgAgAigCHEEBRg0AGiACKQMICyEDIAJBMGokACADC40BAQJ/IwBBMGsiASQAAkAgAEUNACAAKAKI4gENACABIABB/OEBaigCADYCKCABIAApAvThATcDICAAEDAgACgCqOIBIQIgASABKAIoNgIYIAEgASkDIDcDECACIAFBEGoQGyAAQQA2AqjiASABIAEoAig2AgggASABKQMgNwMAIAAgARAbCyABQTBqJAALKgECfyMAQRBrIgAkACAAQQA2AgggAEIANwMAIAAQWCEBIABBEGokACABC4cBAQN/IwBBEGsiAiQAAkAgACgCAEUgACgCBEVzDQAgAiAAKAIINgIIIAIgACkCADcDAAJ/IAIoAgAiAQRAIAIoAghBqOMJIAERBQAMAQtBqOMJECgLIgFFDQAgASAAKQIANwL04QEgAUH84QFqIAAoAgg2AgAgARBZIAEhAwsgAkEQaiQAIAMLywEBAn8jAEEgayIBJAAgAEGBgIDAADYCtOIBIABBADYCiOIBIABBADYC7OEBIABCADcDkOIBIABBADYCpOMJIABBADYC3OIBIABCADcCzOIBIABBADYCvOIBIABBADYCxOABIABCADcCnOIBIABBpOIBakIANwIAIABBrOIBakEANgIAIAFCADcCECABQgA3AhggASABKQMYNwMIIAEgASkDEDcDACABKAIIQQh2QQFxIQIgAEEANgLg4gEgACACNgKM4gEgAUEgaiQAC3YBA38jAEEwayIBJAAgAARAIAEgAEHE0AFqIgIoAgA2AiggASAAKQK80AE3AyAgACgCACEDIAEgAigCADYCGCABIAApArzQATcDECADIAFBEGoQGyABIAEoAig2AgggASABKQMgNwMAIAAgARAbCyABQTBqJAALzAEBAX8gACABKAK00AE2ApjiASAAIAEoAgQiAjYCwOABIAAgAjYCvOABIAAgAiABKAIIaiICNgK44AEgACACNgLE4AEgASgCuNABBEAgAEKBgICAEDcDiOEBIAAgAUGk0ABqNgIMIAAgAUGUIGo2AgggACABQZwwajYCBCAAIAFBDGo2AgAgAEGs0AFqIAFBqNABaigCADYCACAAQbDQAWogAUGs0AFqKAIANgIAIABBtNABaiABQbDQAWooAgA2AgAPCyAAQgA3A4jhAQs7ACACRQRAQbp/DwsgBEUEQEFsDwsgAiAEEGAEQCAAIAEgAiADIAQgBRBhDwsgACABIAIgAyAEIAUQZQtGAQF/IwBBEGsiBSQAIAVBCGogBBAOAn8gBS0ACQRAIAAgASACIAMgBBAyDAELIAAgASACIAMgBBA0CyEAIAVBEGokACAACzQAIAAgAyAEIAUQNiIFEAMEQCAFDwsgBSAESQR/IAEgAiADIAVqIAQgBWsgABA1BUG4fwsLRgEBfyMAQRBrIgUkACAFQQhqIAQQDgJ/IAUtAAkEQCAAIAEgAiADIAQQYgwBCyAAIAEgAiADIAQQNQshACAFQRBqJAAgAAtZAQF/QQ8hAiABIABJBEAgAUEEdCAAbiECCyAAQQh2IgEgAkEYbCIAQYwIaigCAGwgAEGICGooAgBqIgJBA3YgAmogAEGACGooAgAgAEGECGooAgAgAWxqSQs3ACAAIAMgBCAFQYAQEDMiBRADBEAgBQ8LIAUgBEkEfyABIAIgAyAFaiAEIAVrIAAQMgVBuH8LC78DAQN/IwBBIGsiBSQAIAVBCGogAiADEAYiAhADRQRAIAAgAWoiB0F9aiEGIAUgBBAOIARBBGohAiAFLQACIQMDQEEAIAAgBkkgBUEIahAEGwRAIAAgAiAFQQhqIAMQAkECdGoiBC8BADsAACAFQQhqIAQtAAIQASAAIAQtAANqIgQgAiAFQQhqIAMQAkECdGoiAC8BADsAACAFQQhqIAAtAAIQASAEIAAtAANqIQAMAQUgB0F+aiEEA0AgBUEIahAEIAAgBEtyRQRAIAAgAiAFQQhqIAMQAkECdGoiBi8BADsAACAFQQhqIAYtAAIQASAAIAYtAANqIQAMAQsLA0AgACAES0UEQCAAIAIgBUEIaiADEAJBAnRqIgYvAQA7AAAgBUEIaiAGLQACEAEgACAGLQADaiEADAELCwJAIAAgB08NACAAIAIgBUEIaiADEAIiA0ECdGoiAC0AADoAACAALQADQQFGBEAgBUEIaiAALQACEAEMAQsgBSgCDEEfSw0AIAVBCGogAiADQQJ0ai0AAhABIAUoAgxBIUkNACAFQSA2AgwLIAFBbCAFQQhqEAobIQILCwsgBUEgaiQAIAILkgIBBH8jAEFAaiIJJAAgCSADQTQQCyEDAkAgBEECSA0AIAMgBEECdGooAgAhCSADQTxqIAgQIyADQQE6AD8gAyACOgA+QQAhBCADKAI8IQoDQCAEIAlGDQEgACAEQQJ0aiAKNgEAIARBAWohBAwAAAsAC0EAIQkDQCAGIAlGRQRAIAMgBSAJQQF0aiIKLQABIgtBAnRqIgwoAgAhBCADQTxqIAotAABBCHQgCGpB//8DcRAjIANBAjoAPyADIAcgC2siCiACajoAPiAEQQEgASAKa3RqIQogAygCPCELA0AgACAEQQJ0aiALNgEAIARBAWoiBCAKSQ0ACyAMIAo2AgAgCUEBaiEJDAELCyADQUBrJAALowIBCX8jAEHQAGsiCSQAIAlBEGogBUE0EAsaIAcgBmshDyAHIAFrIRADQAJAIAMgCkcEQEEBIAEgByACIApBAXRqIgYtAAEiDGsiCGsiC3QhDSAGLQAAIQ4gCUEQaiAMQQJ0aiIMKAIAIQYgCyAPTwRAIAAgBkECdGogCyAIIAUgCEE0bGogCCAQaiIIQQEgCEEBShsiCCACIAQgCEECdGooAgAiCEEBdGogAyAIayAHIA4QYyAGIA1qIQgMAgsgCUEMaiAOECMgCUEBOgAPIAkgCDoADiAGIA1qIQggCSgCDCELA0AgBiAITw0CIAAgBkECdGogCzYBACAGQQFqIQYMAAALAAsgCUHQAGokAA8LIAwgCDYCACAKQQFqIQoMAAALAAs0ACAAIAMgBCAFEDYiBRADBEAgBQ8LIAUgBEkEfyABIAIgAyAFaiAEIAVrIAAQNAVBuH8LCyMAIAA/AEEQdGtB//8DakEQdkAAQX9GBEBBAA8LQQAQAEEBCzsBAX8gAgRAA0AgACABIAJBgCAgAkGAIEkbIgMQCyEAIAFBgCBqIQEgAEGAIGohACACIANrIgINAAsLCwYAIAAQAwsLqBUJAEGICAsNAQAAAAEAAAACAAAAAgBBoAgLswYBAAAAAQAAAAIAAAACAAAAJgAAAIIAAAAhBQAASgAAAGcIAAAmAAAAwAEAAIAAAABJBQAASgAAAL4IAAApAAAALAIAAIAAAABJBQAASgAAAL4IAAAvAAAAygIAAIAAAACKBQAASgAAAIQJAAA1AAAAcwMAAIAAAACdBQAASgAAAKAJAAA9AAAAgQMAAIAAAADrBQAASwAAAD4KAABEAAAAngMAAIAAAABNBgAASwAAAKoKAABLAAAAswMAAIAAAADBBgAATQAAAB8NAABNAAAAUwQAAIAAAAAjCAAAUQAAAKYPAABUAAAAmQQAAIAAAABLCQAAVwAAALESAABYAAAA2gQAAIAAAABvCQAAXQAAACMUAABUAAAARQUAAIAAAABUCgAAagAAAIwUAABqAAAArwUAAIAAAAB2CQAAfAAAAE4QAAB8AAAA0gIAAIAAAABjBwAAkQAAAJAHAACSAAAAAAAAAAEAAAABAAAABQAAAA0AAAAdAAAAPQAAAH0AAAD9AAAA/QEAAP0DAAD9BwAA/Q8AAP0fAAD9PwAA/X8AAP3/AAD9/wEA/f8DAP3/BwD9/w8A/f8fAP3/PwD9/38A/f//AP3//wH9//8D/f//B/3//w/9//8f/f//P/3//38AAAAAAQAAAAIAAAADAAAABAAAAAUAAAAGAAAABwAAAAgAAAAJAAAACgAAAAsAAAAMAAAADQAAAA4AAAAPAAAAEAAAABEAAAASAAAAEwAAABQAAAAVAAAAFgAAABcAAAAYAAAAGQAAABoAAAAbAAAAHAAAAB0AAAAeAAAAHwAAAAMAAAAEAAAABQAAAAYAAAAHAAAACAAAAAkAAAAKAAAACwAAAAwAAAANAAAADgAAAA8AAAAQAAAAEQAAABIAAAATAAAAFAAAABUAAAAWAAAAFwAAABgAAAAZAAAAGgAAABsAAAAcAAAAHQAAAB4AAAAfAAAAIAAAACEAAAAiAAAAIwAAACUAAAAnAAAAKQAAACsAAAAvAAAAMwAAADsAAABDAAAAUwAAAGMAAACDAAAAAwEAAAMCAAADBAAAAwgAAAMQAAADIAAAA0AAAAOAAAADAAEAQeAPC1EBAAAAAQAAAAEAAAABAAAAAgAAAAIAAAADAAAAAwAAAAQAAAAEAAAABQAAAAcAAAAIAAAACQAAAAoAAAALAAAADAAAAA0AAAAOAAAADwAAABAAQcQQC4sBAQAAAAIAAAADAAAABAAAAAUAAAAGAAAABwAAAAgAAAAJAAAACgAAAAsAAAAMAAAADQAAAA4AAAAPAAAAEAAAABIAAAAUAAAAFgAAABgAAAAcAAAAIAAAACgAAAAwAAAAQAAAAIAAAAAAAQAAAAIAAAAEAAAACAAAABAAAAAgAAAAQAAAAIAAAAAAAQBBkBIL5gQBAAAAAQAAAAEAAAABAAAAAgAAAAIAAAADAAAAAwAAAAQAAAAGAAAABwAAAAgAAAAJAAAACgAAAAsAAAAMAAAADQAAAA4AAAAPAAAAEAAAAAEAAAAEAAAACAAAAAAAAAABAAEBBgAAAAAAAAQAAAAAEAAABAAAAAAgAAAFAQAAAAAAAAUDAAAAAAAABQQAAAAAAAAFBgAAAAAAAAUHAAAAAAAABQkAAAAAAAAFCgAAAAAAAAUMAAAAAAAABg4AAAAAAAEFEAAAAAAAAQUUAAAAAAABBRYAAAAAAAIFHAAAAAAAAwUgAAAAAAAEBTAAAAAgAAYFQAAAAAAABwWAAAAAAAAIBgABAAAAAAoGAAQAAAAADAYAEAAAIAAABAAAAAAAAAAEAQAAAAAAAAUCAAAAIAAABQQAAAAAAAAFBQAAACAAAAUHAAAAAAAABQgAAAAgAAAFCgAAAAAAAAULAAAAAAAABg0AAAAgAAEFEAAAAAAAAQUSAAAAIAABBRYAAAAAAAIFGAAAACAAAwUgAAAAAAADBSgAAAAAAAYEQAAAABAABgRAAAAAIAAHBYAAAAAAAAkGAAIAAAAACwYACAAAMAAABAAAAAAQAAAEAQAAACAAAAUCAAAAIAAABQMAAAAgAAAFBQAAACAAAAUGAAAAIAAABQgAAAAgAAAFCQAAACAAAAULAAAAIAAABQwAAAAAAAAGDwAAACAAAQUSAAAAIAABBRQAAAAgAAIFGAAAACAAAgUcAAAAIAADBSgAAAAgAAQFMAAAAAAAEAYAAAEAAAAPBgCAAAAAAA4GAEAAAAAADQYAIABBgBcLhwIBAAEBBQAAAAAAAAUAAAAAAAAGBD0AAAAAAAkF/QEAAAAADwX9fwAAAAAVBf3/HwAAAAMFBQAAAAAABwR9AAAAAAAMBf0PAAAAABIF/f8DAAAAFwX9/38AAAAFBR0AAAAAAAgE/QAAAAAADgX9PwAAAAAUBf3/DwAAAAIFAQAAABAABwR9AAAAAAALBf0HAAAAABEF/f8BAAAAFgX9/z8AAAAEBQ0AAAAQAAgE/QAAAAAADQX9HwAAAAATBf3/BwAAAAEFAQAAABAABgQ9AAAAAAAKBf0DAAAAABAF/f8AAAAAHAX9//8PAAAbBf3//wcAABoF/f//AwAAGQX9//8BAAAYBf3//wBBkBkLhgQBAAEBBgAAAAAAAAYDAAAAAAAABAQAAAAgAAAFBQAAAAAAAAUGAAAAAAAABQgAAAAAAAAFCQAAAAAAAAULAAAAAAAABg0AAAAAAAAGEAAAAAAAAAYTAAAAAAAABhYAAAAAAAAGGQAAAAAAAAYcAAAAAAAABh8AAAAAAAAGIgAAAAAAAQYlAAAAAAABBikAAAAAAAIGLwAAAAAAAwY7AAAAAAAEBlMAAAAAAAcGgwAAAAAACQYDAgAAEAAABAQAAAAAAAAEBQAAACAAAAUGAAAAAAAABQcAAAAgAAAFCQAAAAAAAAUKAAAAAAAABgwAAAAAAAAGDwAAAAAAAAYSAAAAAAAABhUAAAAAAAAGGAAAAAAAAAYbAAAAAAAABh4AAAAAAAAGIQAAAAAAAQYjAAAAAAABBicAAAAAAAIGKwAAAAAAAwYzAAAAAAAEBkMAAAAAAAUGYwAAAAAACAYDAQAAIAAABAQAAAAwAAAEBAAAABAAAAQFAAAAIAAABQcAAAAgAAAFCAAAACAAAAUKAAAAIAAABQsAAAAAAAAGDgAAAAAAAAYRAAAAAAAABhQAAAAAAAAGFwAAAAAAAAYaAAAAAAAABh0AAAAAAAAGIAAAAAAAEAYDAAEAAAAPBgOAAAAAAA4GA0AAAAAADQYDIAAAAAAMBgMQAAAAAAsGAwgAAAAACgYDBABBpB0L2QEBAAAAAwAAAAcAAAAPAAAAHwAAAD8AAAB/AAAA/wAAAP8BAAD/AwAA/wcAAP8PAAD/HwAA/z8AAP9/AAD//wAA//8BAP//AwD//wcA//8PAP//HwD//z8A//9/AP///wD///8B////A////wf///8P////H////z////9/AAAAAAEAAAACAAAABAAAAAAAAAACAAAABAAAAAgAAAAAAAAAAQAAAAIAAAABAAAABAAAAAQAAAAEAAAABAAAAAgAAAAIAAAACAAAAAcAAAAIAAAACQAAAAoAAAALAEGgIAsDwBBQ",Py="display-p3",Dy=(Rr.spaces[zt],new WeakMap);let Ny,Fy=0;class Oy extends Pl{constructor(e){super(e),this.transcoderPath="",this.transcoderBinary=null,this.transcoderPending=null,this.workerPool=new Ey,this.workerSourceURL="",this.workerConfig=null,"undefined"!=typeof MSC_TRANSCODER&&console.warn('THREE.KTX2Loader: Please update to latest "basis_transcoder". "msc_basis_transcoder" is no longer supported in three.js r125+.')}setTranscoderPath(e){return this.transcoderPath=e,this}setWorkerLimit(e){return this.workerPool.setWorkerLimit(e),this}async detectSupportAsync(e){return this.workerConfig={astcSupported:await e.hasFeatureAsync("texture-compression-astc"),astcHDRSupported:!1,etc1Supported:await e.hasFeatureAsync("texture-compression-etc2"),etc2Supported:await e.hasFeatureAsync("texture-compression-etc2"),dxtSupported:await e.hasFeatureAsync("texture-compression-bc"),bptcSupported:await e.hasFeatureAsync("texture-compression-bc"),pvrtcSupported:await e.hasFeatureAsync("texture-compression-pvrtc")},this}detectSupport(e){return!0===e.isWebGPURenderer?this.workerConfig={astcSupported:e.hasFeature("texture-compression-astc"),astcHDRSupported:!1,etc1Supported:e.hasFeature("texture-compression-etc2"),etc2Supported:e.hasFeature("texture-compression-etc2"),dxtSupported:e.hasFeature("texture-compression-bc"),bptcSupported:e.hasFeature("texture-compression-bc"),pvrtcSupported:e.hasFeature("texture-compression-pvrtc")}:this.workerConfig={astcSupported:e.extensions.has("WEBGL_compressed_texture_astc"),astcHDRSupported:e.extensions.has("WEBGL_compressed_texture_astc")&&e.extensions.get("WEBGL_compressed_texture_astc").getSupportedProfiles().includes("hdr"),etc1Supported:e.extensions.has("WEBGL_compressed_texture_etc1"),etc2Supported:e.extensions.has("WEBGL_compressed_texture_etc"),dxtSupported:e.extensions.has("WEBGL_compressed_texture_s3tc"),bptcSupported:e.extensions.has("EXT_texture_compression_bptc"),pvrtcSupported:e.extensions.has("WEBGL_compressed_texture_pvrtc")||e.extensions.has("WEBKIT_WEBGL_compressed_texture_pvrtc")},this}init(){if(!this.transcoderPending){const e=new Fl(this.manager);e.setPath(this.transcoderPath),e.setWithCredentials(this.withCredentials);const t=e.loadAsync("basis_transcoder.js"),r=new Fl(this.manager);r.setPath(this.transcoderPath),r.setResponseType("arraybuffer"),r.setWithCredentials(this.withCredentials);const n=r.loadAsync("basis_transcoder.wasm");this.transcoderPending=Promise.all([t,n]).then(([e,t])=>{const r=Oy.BasisWorker.toString(),n=["/* constants */","let _EngineFormat = "+JSON.stringify(Oy.EngineFormat),"let _EngineType = "+JSON.stringify(Oy.EngineType),"let _TranscoderFormat = "+JSON.stringify(Oy.TranscoderFormat),"let _BasisFormat = "+JSON.stringify(Oy.BasisFormat),"/* basis_transcoder.js */",e,"/* worker */",r.substring(r.indexOf("{")+1,r.lastIndexOf("}"))].join("\n");this.workerSourceURL=URL.createObjectURL(new Blob([n])),this.transcoderBinary=t,this.workerPool.setWorkerCreator(()=>{const e=new Worker(this.workerSourceURL),t=this.transcoderBinary.slice(0);return e.postMessage({type:"init",config:this.workerConfig,transcoderBinary:t},[t]),e})}),Fy>0&&console.warn("THREE.KTX2Loader: Multiple active KTX2 loaders may cause performance issues. Use a single KTX2Loader instance, or call .dispose() on old instances."),Fy++}return this.transcoderPending}load(e,t,r,n){if(null===this.workerConfig)throw new Error("THREE.KTX2Loader: Missing initialization with `.detectSupport( renderer )`.");const i=new Fl(this.manager);i.setPath(this.path),i.setCrossOrigin(this.crossOrigin),i.setWithCredentials(this.withCredentials),i.setResponseType("arraybuffer"),i.load(e,e=>{this.parse(e,t,n)},r,n)}parse(e,t,r){if(null===this.workerConfig)throw new Error("THREE.KTX2Loader: Missing initialization with `.detectSupport( renderer )`.");if(Dy.has(e)){return Dy.get(e).promise.then(t).catch(r)}this._createTexture(e).then(e=>t?t(e):null).catch(r)}_createTextureFrom(e,t){const{type:r,error:n,data:{faces:i,width:o,height:s,format:a,type:l,dfdFlags:c}}=e;if("error"===r)return Promise.reject(n);let u;if(6===t.faceCount)u=new zs(i,a,l);else{const e=i[0].mipmaps;u=t.layerCount>1?new Vs(e,o,s,t.layerCount,a,l):new Us(e,o,s,a,l)}return u.minFilter=1===i[0].mipmaps.length?Ce:Ie,u.magFilter=Ce,u.generateMipmaps=!1,u.needsUpdate=!0,u.colorSpace=zy(t),u.premultiplyAlpha=!!(1&c),u}async _createTexture(e,t={}){const r=function(e){const t=new Uint8Array(e.buffer,e.byteOffset,Rv.length);if(t[0]!==Rv[0]||t[1]!==Rv[1]||t[2]!==Rv[2]||t[3]!==Rv[3]||t[4]!==Rv[4]||t[5]!==Rv[5]||t[6]!==Rv[6]||t[7]!==Rv[7]||t[8]!==Rv[8]||t[9]!==Rv[9]||t[10]!==Rv[10]||t[11]!==Rv[11])throw new Error("Missing KTX 2.0 identifier.");const r={vkFormat:0,typeSize:1,pixelWidth:0,pixelHeight:0,pixelDepth:0,layerCount:0,faceCount:1,levelCount:0,supercompressionScheme:0,levels:[],dataFormatDescriptor:[{vendorId:0,descriptorType:0,versionNumber:2,colorModel:0,colorPrimaries:1,transferFunction:2,flags:0,texelBlockDimension:[0,0,0,0],bytesPlane:[0,0,0,0,0,0,0,0],samples:[]}],keyValue:{},globalData:null},n=17*Uint32Array.BYTES_PER_ELEMENT,i=new Tv(e,Rv.length,n,!0);r.vkFormat=i._nextUint32(),r.typeSize=i._nextUint32(),r.pixelWidth=i._nextUint32(),r.pixelHeight=i._nextUint32(),r.pixelDepth=i._nextUint32(),r.layerCount=i._nextUint32(),r.faceCount=i._nextUint32(),r.levelCount=i._nextUint32(),r.supercompressionScheme=i._nextUint32();const o=i._nextUint32(),s=i._nextUint32(),a=i._nextUint32(),l=i._nextUint32(),c=i._nextUint64(),u=i._nextUint64(),d=3*Math.max(r.levelCount,1)*8,h=new Tv(e,Rv.length+n,d,!0);for(let t=0,n=Math.max(r.levelCount,1);t<n;t++)r.levels.push({levelData:new Uint8Array(e.buffer,e.byteOffset+h._nextUint64(),h._nextUint64()),uncompressedByteLength:h._nextUint64()});const p=new Tv(e,o,s,!0);p._skip(4);const m=p._nextUint16(),_=p._nextUint16(),g=p._nextUint16(),f=p._nextUint16(),v={vendorId:m,descriptorType:_,versionNumber:g,colorModel:p._nextUint8(),colorPrimaries:p._nextUint8(),transferFunction:p._nextUint8(),flags:p._nextUint8(),texelBlockDimension:[p._nextUint8(),p._nextUint8(),p._nextUint8(),p._nextUint8()],bytesPlane:[p._nextUint8(),p._nextUint8(),p._nextUint8(),p._nextUint8(),p._nextUint8(),p._nextUint8(),p._nextUint8(),p._nextUint8()],samples:[]},b=(f/4-6)/4;for(let e=0;e<b;e++){const t={bitOffset:p._nextUint16(),bitLength:p._nextUint8(),channelType:p._nextUint8(),samplePosition:[p._nextUint8(),p._nextUint8(),p._nextUint8(),p._nextUint8()],sampleLower:Number.NEGATIVE_INFINITY,sampleUpper:Number.POSITIVE_INFINITY};64&t.channelType?(t.sampleLower=p._nextInt32(),t.sampleUpper=p._nextInt32()):(t.sampleLower=p._nextUint32(),t.sampleUpper=p._nextUint32()),v.samples[e]=t}r.dataFormatDescriptor.length=0,r.dataFormatDescriptor.push(v);const y=new Tv(e,a,l,!0);for(;y._offset<l;){const e=y._nextUint32(),t=y._scan(e),n=Lv(t);if(r.keyValue[n]=y._nextUint8Array(e-t.byteLength-1),n.match(/^ktx/i)){const e=Lv(r.keyValue[n]);r.keyValue[n]=e.substring(0,e.lastIndexOf("\0"))}y._skip(e%4?4-e%4:0)}if(u<=0)return r;const $=new Tv(e,c,u,!0),x=$._nextUint16(),S=$._nextUint16(),w=$._nextUint32(),A=$._nextUint32(),C=$._nextUint32(),E=$._nextUint32(),I=[];for(let e=0,t=Math.max(r.levelCount,1);e<t;e++)I.push({imageFlags:$._nextUint32(),rgbSliceByteOffset:$._nextUint32(),rgbSliceByteLength:$._nextUint32(),alphaSliceByteOffset:$._nextUint32(),alphaSliceByteLength:$._nextUint32()});const M=c+$._offset,k=M+w,T=k+A,R=T+C,L=new Uint8Array(e.buffer,e.byteOffset+M,w),P=new Uint8Array(e.buffer,e.byteOffset+k,A),D=new Uint8Array(e.buffer,e.byteOffset+T,C),N=new Uint8Array(e.buffer,e.byteOffset+R,E);return r.globalData={endpointCount:x,selectorCount:S,imageDescs:I,endpointsData:L,selectorsData:P,tablesData:D,extendedData:N},r}(new Uint8Array(e)),n=r.vkFormat===Mv&&167===r.dataFormatDescriptor[0].colorModel;if(!(0===r.vkFormat||n&&!this.workerConfig.astcHDRSupported))return async function(e){const{vkFormat:t}=e;if(void 0===Uy[t])throw new Error("THREE.KTX2Loader: Unsupported vkFormat: "+t);void 0===Vy[t]&&console.warn('THREE.KTX2Loader: Missing ".type" for vkFormat: '+t);let r;2===e.supercompressionScheme&&(Ny||(Ny=new Promise(async e=>{const t=new Ry;await t.init(),e(t)})),r=await Ny);const n=[];for(let i=0;i<e.levels.length;i++){const o=Math.max(1,e.pixelWidth>>i),s=Math.max(1,e.pixelHeight>>i),a=e.pixelDepth?Math.max(1,e.pixelDepth>>i):0,l=e.levels[i];let c,u;if(0===e.supercompressionScheme)c=l.levelData;else{if(2!==e.supercompressionScheme)throw new Error("THREE.KTX2Loader: Unsupported supercompressionScheme.");c=r.decode(l.levelData,l.uncompressedByteLength)}u=Vy[t]===Ne?new Float32Array(c.buffer,c.byteOffset,c.byteLength/Float32Array.BYTES_PER_ELEMENT):Vy[t]===Fe?new Uint16Array(c.buffer,c.byteOffset,c.byteLength/Uint16Array.BYTES_PER_ELEMENT):Vy[t]===Ve||Vy[t]===ze?new Uint32Array(c.buffer,c.byteOffset,c.byteLength/Uint32Array.BYTES_PER_ELEMENT):c,n.push({data:u,width:o,height:s,depth:a})}const i=0===e.levelCount||n.length>1;let o;if(By.has(Uy[t]))o=0===e.pixelDepth?new Yo(n[0].data,e.pixelWidth,e.pixelHeight):new Wr(n[0].data,e.pixelWidth,e.pixelHeight,e.pixelDepth),o.minFilter=i?we:Se,o.magFilter=Se,o.generateMipmaps=0===e.levelCount;else{if(e.pixelDepth>0)throw new Error("THREE.KTX2Loader: Unsupported pixelDepth.");o=new Us(n,e.pixelWidth,e.pixelHeight),o.minFilter=i?Ie:Ce,o.magFilter=Ce}return o.mipmaps=n,o.type=Vy[t],o.format=Uy[t],o.colorSpace=zy(e),o.needsUpdate=!0,Promise.resolve(o)}(r);const i=t,o=this.init().then(()=>this.workerPool.postMessage({type:"transcode",buffer:e,taskConfig:i},[e])).then(e=>this._createTextureFrom(e.data,r));return Dy.set(e,{promise:o}),o}dispose(){this.workerPool.dispose(),this.workerSourceURL&&URL.revokeObjectURL(this.workerSourceURL),Fy--}}Oy.BasisFormat={ETC1S:0,UASTC:1,UASTC_HDR:2},Oy.TranscoderFormat={ETC1:0,ETC2:1,BC1:2,BC3:3,BC4:4,BC5:5,BC7_M6_OPAQUE_ONLY:6,BC7_M5:7,PVRTC1_4_RGB:8,PVRTC1_4_RGBA:9,ASTC_4x4:10,ATC_RGB:11,ATC_RGBA_INTERPOLATED_ALPHA:12,RGBA32:13,RGB565:14,BGR565:15,RGBA4444:16,BC6H:22,RGB_HALF:24,RGBA_HALF:25},Oy.EngineFormat={RGBAFormat:Ge,RGBA_ASTC_4x4_Format:ct,RGB_BPTC_UNSIGNED_Format:At,RGBA_BPTC_Format:St,RGBA_ETC2_EAC_Format:lt,RGBA_PVRTC_4BPPV1_Format:it,RGBA_S3TC_DXT5_Format:tt,RGB_ETC1_Format:st,RGB_ETC2_Format:at,RGB_PVRTC_4BPPV1_Format:rt,RGBA_S3TC_DXT1_Format:Ze},Oy.EngineType={UnsignedByteType:ke,HalfFloatType:Fe,FloatType:Ne},Oy.BasisWorker=function(){let e,t,r;const n=_EngineFormat,i=_EngineType,o=_TranscoderFormat,s=_BasisFormat;self.addEventListener("message",function(n){const o=n.data;switch(o.type){case"init":e=o.config,a=o.transcoderBinary,t=new Promise(e=>{r={wasmBinary:a,onRuntimeInitialized:e},BASIS(r)}).then(()=>{r.initializeBasis(),void 0===r.KTX2File&&console.warn("THREE.KTX2Loader: Please update Basis Universal transcoder.")});break;case"transcode":t.then(()=>{try{const{faces:t,buffers:n,width:a,height:d,hasAlpha:h,format:p,type:m,dfdFlags:_}=function(t){const n=new r.KTX2File(new Uint8Array(t));function o(){n.close(),n.delete()}if(!n.isValid())throw o(),new Error("THREE.KTX2Loader:\tInvalid or unsupported .ktx2 file");let a;if(n.isUASTC())a=s.UASTC;else if(n.isETC1S())a=s.ETC1S;else{if(!n.isHDR())throw new Error("THREE.KTX2Loader: Unknown Basis encoding");a=s.UASTC_HDR}const d=n.getWidth(),h=n.getHeight(),p=n.getLayers()||1,m=n.getLevels(),_=n.getFaces(),g=n.getHasAlpha(),f=n.getDFDFlags(),{transcoderFormat:v,engineFormat:b,engineType:y}=function(t,r,n,i){const o=l[t];for(let s=0;s<o.length;s++){const a=o[s];if(a.if&&!e[a.if])continue;if(!a.basisFormat.includes(t))continue;if(i&&a.transcoderFormat.length<2)continue;if(a.needsPowerOfTwo&&(!c(r)||!c(n)))continue;return{transcoderFormat:a.transcoderFormat[i?1:0],engineFormat:a.engineFormat[i?1:0],engineType:a.engineType[0]}}throw new Error("THREE.KTX2Loader: Failed to identify transcoding target.")}(a,d,h,g);if(!d||!h||!m)throw o(),new Error("THREE.KTX2Loader:\tInvalid texture");if(!n.startTranscoding())throw o(),new Error("THREE.KTX2Loader: .startTranscoding failed");const $=[],x=[];for(let e=0;e<_;e++){const t=[];for(let r=0;r<m;r++){const s=[];let a,l;for(let t=0;t<p;t++){const c=n.getImageLevelInfo(r,t,e);0!==e||0!==r||0!==t||c.origWidth%4==0&&c.origHeight%4==0||console.warn("THREE.KTX2Loader: ETC1S and UASTC textures should use multiple-of-four dimensions."),m>1?(a=c.origWidth,l=c.origHeight):(a=c.width,l=c.height);let u=new Uint8Array(n.getImageTranscodedSizeInBytes(r,t,0,v));const d=n.transcodeImage(u,r,t,e,v,0,-1,-1);if(y===i.HalfFloatType&&(u=new Uint16Array(u.buffer,u.byteOffset,u.byteLength/Uint16Array.BYTES_PER_ELEMENT)),!d)throw o(),new Error("THREE.KTX2Loader: .transcodeImage failed.");s.push(u)}const c=u(s);t.push({data:c,width:a,height:l}),x.push(c.buffer)}$.push({mipmaps:t,width:d,height:h,format:b,type:y})}return o(),{faces:$,buffers:x,width:d,height:h,hasAlpha:g,dfdFlags:f,format:b,type:y}}(o.buffer);self.postMessage({type:"transcode",id:o.id,data:{faces:t,width:a,height:d,hasAlpha:h,format:p,type:m,dfdFlags:_}},n)}catch(e){console.error(e),self.postMessage({type:"error",id:o.id,error:e.message})}})}var a});const a=[{if:"astcSupported",basisFormat:[s.UASTC],transcoderFormat:[o.ASTC_4x4,o.ASTC_4x4],engineFormat:[n.RGBA_ASTC_4x4_Format,n.RGBA_ASTC_4x4_Format],engineType:[i.UnsignedByteType],priorityETC1S:1/0,priorityUASTC:1,needsPowerOfTwo:!1},{if:"bptcSupported",basisFormat:[s.ETC1S,s.UASTC],transcoderFormat:[o.BC7_M5,o.BC7_M5],engineFormat:[n.RGBA_BPTC_Format,n.RGBA_BPTC_Format],engineType:[i.UnsignedByteType],priorityETC1S:3,priorityUASTC:2,needsPowerOfTwo:!1},{if:"dxtSupported",basisFormat:[s.ETC1S,s.UASTC],transcoderFormat:[o.BC1,o.BC3],engineFormat:[n.RGBA_S3TC_DXT1_Format,n.RGBA_S3TC_DXT5_Format],engineType:[i.UnsignedByteType],priorityETC1S:4,priorityUASTC:5,needsPowerOfTwo:!1},{if:"etc2Supported",basisFormat:[s.ETC1S,s.UASTC],transcoderFormat:[o.ETC1,o.ETC2],engineFormat:[n.RGB_ETC2_Format,n.RGBA_ETC2_EAC_Format],engineType:[i.UnsignedByteType],priorityETC1S:1,priorityUASTC:3,needsPowerOfTwo:!1},{if:"etc1Supported",basisFormat:[s.ETC1S,s.UASTC],transcoderFormat:[o.ETC1],engineFormat:[n.RGB_ETC1_Format],engineType:[i.UnsignedByteType],priorityETC1S:2,priorityUASTC:4,needsPowerOfTwo:!1},{if:"pvrtcSupported",basisFormat:[s.ETC1S,s.UASTC],transcoderFormat:[o.PVRTC1_4_RGB,o.PVRTC1_4_RGBA],engineFormat:[n.RGB_PVRTC_4BPPV1_Format,n.RGBA_PVRTC_4BPPV1_Format],engineType:[i.UnsignedByteType],priorityETC1S:5,priorityUASTC:6,needsPowerOfTwo:!0},{if:"bptcSupported",basisFormat:[s.UASTC_HDR],transcoderFormat:[o.BC6H],engineFormat:[n.RGB_BPTC_UNSIGNED_Format],engineType:[i.HalfFloatType],priorityHDR:1,needsPowerOfTwo:!1},{basisFormat:[s.ETC1S,s.UASTC],transcoderFormat:[o.RGBA32,o.RGBA32],engineFormat:[n.RGBAFormat,n.RGBAFormat],engineType:[i.UnsignedByteType,i.UnsignedByteType],priorityETC1S:100,priorityUASTC:100,needsPowerOfTwo:!1},{basisFormat:[s.UASTC_HDR],transcoderFormat:[o.RGBA_HALF],engineFormat:[n.RGBAFormat],engineType:[i.HalfFloatType],priorityHDR:100,needsPowerOfTwo:!1}],l={[s.ETC1S]:a.filter(e=>e.basisFormat.includes(s.ETC1S)).sort((e,t)=>e.priorityUASTC-t.priorityUASTC),[s.UASTC]:a.filter(e=>e.basisFormat.includes(s.UASTC)).sort((e,t)=>e.priorityUASTC-t.priorityUASTC),[s.UASTC_HDR]:a.filter(e=>e.basisFormat.includes(s.UASTC_HDR)).sort((e,t)=>e.priorityHDR-t.priorityHDR)};function c(e){return e<=2||!(e&e-1)&&0!==e}function u(e){if(1===e.length)return e[0];let t=0;for(let r=0;r<e.length;r++){t+=e[r].byteLength}const r=new Uint8Array(t);let n=0;for(let t=0;t<e.length;t++){const i=e[t];r.set(i,n),n+=i.byteLength}return r}};const By=new Set([Ge,He,qe,We]),Uy={[iv]:Ge,[nv]:qe,[rv]:We,[tv]:Ge,[ev]:qe,[Zf]:We,[Kf]:Ge,[Xf]:Ge,[Yf]:qe,[qf]:qe,[Qf]:We,[Wf]:We,[sv]:He,[ov]:He,[yv]:lt,[bv]:at,[Mv]:ct,[xv]:ct,[$v]:ct,[kv]:pt,[wv]:pt,[Sv]:pt,[uv]:Ze,[cv]:Ze,[lv]:Ke,[av]:Ke,[hv]:et,[dv]:et,[mv]:Et,[pv]:Ct,[gv]:Mt,[_v]:It,[vv]:St,[fv]:St,[Iv]:it,[Cv]:it,[Ev]:ot,[Av]:ot},Vy={[iv]:Ne,[nv]:Ne,[rv]:Ne,[tv]:Fe,[ev]:Fe,[Zf]:Fe,[Kf]:ke,[Xf]:ke,[Yf]:ke,[qf]:ke,[Qf]:ke,[Wf]:ke,[sv]:Ve,[ov]:ze,[yv]:ke,[bv]:ke,[Mv]:Fe,[xv]:ke,[$v]:ke,[kv]:Fe,[wv]:ke,[Sv]:ke,[uv]:ke,[cv]:ke,[lv]:ke,[av]:ke,[hv]:ke,[dv]:ke,[mv]:ke,[pv]:ke,[gv]:ke,[_v]:ke,[vv]:ke,[fv]:ke,[Iv]:ke,[Cv]:ke,[Ev]:ke,[Av]:ke};function zy(e){const t=e.dataFormatDescriptor[0];return 1===t.colorPrimaries?2===t.transferFunction?zt:Ht:10===t.colorPrimaries?2===t.transferFunction?Py:"display-p3-linear":(0===t.colorPrimaries||console.warn(`THREE.KTX2Loader: Unsupported color primaries, "${t.colorPrimaries}"`),Vt)}new br,new br;new $n;__webpack_require__(499);new br,new br,new br,new br,new br,new mi;new mi;class Hy extends Cy{constructor(e){console.warn("RGBELoader has been deprecated. Please use HDRLoader instead."),super(e)}}Array(1024).fill(0).map((e,t)=>Math.pow(t/255*.9478672986+.0521327014,2.4));var Gy={};!function(){var e=function(){function e(e){this.message="JPEG error: "+e}return e.prototype=new Error,e.prototype.name="JpegError",e.constructor=e,e}(),t=function(){var t=new Uint8Array([0,1,8,16,9,2,3,10,17,24,32,25,18,11,4,5,12,19,26,33,40,48,41,34,27,20,13,6,7,14,21,28,35,42,49,56,57,50,43,36,29,22,15,23,30,37,44,51,58,59,52,45,38,31,39,46,53,60,61,54,47,55,62,63]),n=4017,i=799,o=3406,s=2276,a=1567,l=3784,c=5793,u=2896;function d(e){null==e&&(e={}),null==e.w&&(e.w=-1),this.V=e.n,this.N=e.w}function h(e,t){for(var r,n,i,o=0,s=[],a=16;a>0&&!e[a-1];)a--;s.push({children:[],index:0});var l=s[0];for(r=0;r<a;r++){for(n=0;n<e[r];n++){for((l=s.pop()).children[l.index]=t[o];l.index>0;)l=s.pop();for(l.index++,s.push(l);s.length<=r;)s.push(i={children:[],index:0}),l.children[l.index]=i.children,l=i;o++}r+1<a&&(s.push(i={children:[],index:0}),l.children[l.index]=i.children,l=i)}return s[0].children}function p(e,t,r){return 64*((e.P+1)*t+r)}function m(n,i,o,s,a,l,c,u,d,h){null==h&&(h=!1);var m,_,g,v,b,y,$,x,S,w,A,C=o.m,E=o.Z,I=i,M=0,k=0,T=0,R=0,L=0,P=0;function D(){if(k>0)return k--,M>>k&1;if(255===(M=n[i++])){var t=n[i++];if(t){if(220===t&&h){var s=r(n,i+=2);if(i+=2,s>0&&s!==o.s)throw new DNLMarkerError("Found DNL marker (0xFFDC) while parsing scan data",s)}else if(217===t){if(h){var a=8*L;if(a>0&&a<o.s/10)throw new DNLMarkerError("Found EOI marker (0xFFD9) while parsing scan data, possibly caused by incorrect `scanLines` parameter",a)}throw new EOIMarkerError("Found EOI marker (0xFFD9) while parsing scan data")}throw new e("unexpected marker")}}return k=7,M>>>7}function N(t){for(var r=t;;){switch(typeof(r=r[D()])){case"number":return r;case"object":continue}throw new e("invalid huffman sequence")}}function F(e){for(var t=0;e>0;)t=t<<1|D(),e--;return t}function O(e){if(1===e)return 1===D()?1:-1;var t=F(e);return t>=1<<e-1?t:t+(-1<<e)+1}function B(e,t,r,n,i){var o=r%C;L=(r/C|0)*e.A+n;var s=o*e.h+i;t(e,p(e,L,s))}function U(e,t,r){L=r/e.P|0;var n=r%e.P;t(e,p(e,L,n))}var V=s.length;for($=E?0===l?0===u?function(e,t){var r=N(e.J),n=0===r?0:O(r)<<d;e.D[t]=e.Q+=n}:function(e,t){e.D[t]|=D()<<d}:0===u?function(e,r){if(T>0)T--;else for(var n=l,i=c;n<=i;){var o=N(e.i),s=15&o,a=o>>4;if(0!==s){var u=t[n+=a];e.D[r+u]=O(s)*(1<<d),n++}else{if(a<15){T=F(a)+(1<<a)-1;break}n+=16}}}:function(r,n){for(var i,o,s=l,a=c,u=0;s<=a;){var h=n+t[s],p=r.D[h]<0?-1:1;switch(R){case 0:if(u=(o=N(r.i))>>4,0==(i=15&o))u<15?(T=F(u)+(1<<u),R=4):(u=16,R=1);else{if(1!==i)throw new e("invalid ACn encoding");m=O(i),R=u?2:3}continue;case 1:case 2:r.D[h]?r.D[h]+=p*(D()<<d):0===--u&&(R=2===R?3:0);break;case 3:r.D[h]?r.D[h]+=p*(D()<<d):(r.D[h]=m<<d,R=0);break;case 4:r.D[h]&&(r.D[h]+=p*(D()<<d))}s++}4===R&&0===--T&&(R=0)}:function(e,r){var n=N(e.J),i=0===n?0:O(n),o=1;for(e.D[r]=e.Q+=i;o<64;){var s=N(e.i),a=15&s,l=s>>4;if(0!==a){var c=t[o+=l];e.D[r+c]=O(a),o++}else{if(l<15)break;o+=16}}},S=1===V?s[0].P*s[0].c:C*o.R;P<=S;){var z=a?Math.min(S-P,a):S;if(z>0){for(g=0;g<V;g++)s[g].Q=0;if(T=0,1===V)for(_=s[0],y=0;y<z;y++)U(_,$,P),P++;else for(y=0;y<z;y++){for(g=0;g<V;g++)for(w=(_=s[g]).h,A=_.A,v=0;v<A;v++)for(b=0;b<w;b++)B(_,$,P,v,b);P++}}if(k=0,!(x=f(n,i)))break;if(x.u){i=x.offset}if(!(x.M>=65488&&x.M<=65495))break;i+=2}return i-I}function _(t,r,d){var h,p,m,_,g,f,v,b,y,$,x,S,w,A,C,E,I,M=t.$,k=t.D;if(!M)throw new e("missing required Quantization Table.");for(var T=0;T<64;T+=8)y=k[r+T],$=k[r+T+1],x=k[r+T+2],S=k[r+T+3],w=k[r+T+4],A=k[r+T+5],C=k[r+T+6],E=k[r+T+7],y*=M[T],0!==($|x|S|w|A|C|E)?($*=M[T+1],x*=M[T+2],S*=M[T+3],w*=M[T+4],A*=M[T+5],C*=M[T+6],E*=M[T+7],p=(h=(h=c*y+128>>8)+(p=c*w+128>>8)+1>>1)-p,I=(m=x)*l+(_=C)*a+128>>8,m=m*a-_*l+128>>8,v=(g=(g=u*($-E)+128>>8)+(v=A<<4)+1>>1)-v,f=(b=(b=u*($+E)+128>>8)+(f=S<<4)+1>>1)-f,_=(h=h+(_=I)+1>>1)-_,m=(p=p+m+1>>1)-m,I=g*s+b*o+2048>>12,g=g*o-b*s+2048>>12,b=I,I=f*i+v*n+2048>>12,f=f*n-v*i+2048>>12,v=I,d[T]=h+b,d[T+7]=h-b,d[T+1]=p+v,d[T+6]=p-v,d[T+2]=m+f,d[T+5]=m-f,d[T+3]=_+g,d[T+4]=_-g):(I=c*y+512>>10,d[T]=I,d[T+1]=I,d[T+2]=I,d[T+3]=I,d[T+4]=I,d[T+5]=I,d[T+6]=I,d[T+7]=I);for(var R=0;R<8;++R)y=d[R],0!==(($=d[R+8])|(x=d[R+16])|(S=d[R+24])|(w=d[R+32])|(A=d[R+40])|(C=d[R+48])|(E=d[R+56]))?(p=(h=4112+((h=c*y+2048>>12)+(p=c*w+2048>>12)+1>>1))-p,I=(m=x)*l+(_=C)*a+2048>>12,m=m*a-_*l+2048>>12,_=I,v=(g=(g=u*($-E)+2048>>12)+(v=A)+1>>1)-v,f=(b=(b=u*($+E)+2048>>12)+(f=S)+1>>1)-f,I=g*s+b*o+2048>>12,g=g*o-b*s+2048>>12,b=I,I=f*i+v*n+2048>>12,f=f*n-v*i+2048>>12,(y=(h=h+_+1>>1)+b)<16?y=0:y>=4080?y=255:y>>=4,($=(p=p+m+1>>1)+(v=I))<16?$=0:$>=4080?$=255:$>>=4,(x=(m=p-m)+f)<16?x=0:x>=4080?x=255:x>>=4,(S=(_=h-_)+g)<16?S=0:S>=4080?S=255:S>>=4,(w=_-g)<16?w=0:w>=4080?w=255:w>>=4,(A=m-f)<16?A=0:A>=4080?A=255:A>>=4,(C=p-v)<16?C=0:C>=4080?C=255:C>>=4,(E=h-b)<16?E=0:E>=4080?E=255:E>>=4,k[r+R]=y,k[r+R+8]=$,k[r+R+16]=x,k[r+R+24]=S,k[r+R+32]=w,k[r+R+40]=A,k[r+R+48]=C,k[r+R+56]=E):(I=(I=c*y+8192>>14)<-2040?0:I>=2024?255:I+2056>>4,k[r+R]=I,k[r+R+8]=I,k[r+R+16]=I,k[r+R+24]=I,k[r+R+32]=I,k[r+R+40]=I,k[r+R+48]=I,k[r+R+56]=I)}function g(e,t){for(var r=t.P,n=t.c,i=new Int16Array(64),o=0;o<n;o++)for(var s=0;s<r;s++){_(t,p(t,o,s),i)}return t.D}function f(e,t,n){null==n&&(n=t);var i=e.length-1,o=n<t?n:t;if(t>=i)return null;var s=r(e,t);if(s>=65472&&s<=65534)return{u:null,M:s,offset:t};for(var a=r(e,o);!(a>=65472&&a<=65534);){if(++o>=i)return null;a=r(e,o)}return{u:s.toString(16),M:a,offset:o}}return d.prototype={parse(n,i){null==i&&(i={});var o,s,a=i.F,l=0,c=null,u=null,d=0;function p(){var e=r(n,l),t=(l+=2)+e-2,i=f(n,t,l);i&&i.u&&(t=i.offset);var o=n.subarray(l,t);return l+=o.length,o}function _(e){for(var t=Math.ceil(e.o/8/e.X),r=Math.ceil(e.s/8/e.B),n=0;n<e.W.length;n++){z=e.W[n];var i=Math.ceil(Math.ceil(e.o/8)*z.h/e.X),o=Math.ceil(Math.ceil(e.s/8)*z.A/e.B),s=t*z.h,a=64*(r*z.A)*(s+1);z.D=new Int16Array(a),z.P=i,z.c=o}e.m=t,e.R=r}var v=[],b=[],y=[],$=r(n,l);if(l+=2,65496!==$)throw new e("SOI not found");$=r(n,l),l+=2;e:for(;65497!==$;){var x,S,w;switch($){case 65504:case 65505:case 65506:case 65507:case 65508:case 65509:case 65510:case 65511:case 65512:case 65513:case 65514:case 65515:case 65516:case 65517:case 65518:case 65519:case 65534:var A=p();65504===$&&74===A[0]&&70===A[1]&&73===A[2]&&70===A[3]&&0===A[4]&&(c={version:{d:A[5],T:A[6]},K:A[7],j:A[8]<<8|A[9],H:A[10]<<8|A[11],S:A[12],I:A[13],C:A.subarray(14,14+3*A[12]*A[13])}),65518===$&&65===A[0]&&100===A[1]&&111===A[2]&&98===A[3]&&101===A[4]&&(u={version:A[5]<<8|A[6],k:A[7]<<8|A[8],q:A[9]<<8|A[10],a:A[11]});break;case 65499:for(var C=r(n,l)+(l+=2)-2;l<C;){var E=n[l++],I=new Uint16Array(64);if(E>>4){if(E>>4!=1)throw new e("DQT - invalid table spec");for(S=0;S<64;S++)I[t[S]]=r(n,l),l+=2}else for(S=0;S<64;S++)I[t[S]]=n[l++];v[15&E]=I}break;case 65472:case 65473:case 65474:if(o)throw new e("Only single frame JPEGs supported");l+=2,(o={}).G=65473===$,o.Z=65474===$,o.precision=n[l++];var M,k=r(n,l),T=0,R=0;l+=2,o.s=a||k,o.o=r(n,l),l+=2,o.W=[],o._={};var L=n[l++];for(x=0;x<L;x++){M=n[l];var P=n[l+1]>>4,D=15&n[l+1];T<P&&(T=P),R<D&&(R=D);var N=n[l+2];w=o.W.push({h:P,A:D,L:N,$:null}),o._[M]=w-1,l+=3}o.X=T,o.B=R,_(o);break;case 65476:var F=r(n,l);for(l+=2,x=2;x<F;){var O=n[l++],B=new Uint8Array(16),U=0;for(S=0;S<16;S++,l++)U+=B[S]=n[l];var V=new Uint8Array(U);for(S=0;S<U;S++,l++)V[S]=n[l];x+=17+U,(O>>4?b:y)[15&O]=h(B,V)}break;case 65501:s=r(n,l+=2),l+=2;break;case 65498:var z,H=1===++d&&!a;l+=2;var G=n[l++],j=[];for(x=0;x<G;x++){var J=n[l++],W=o._[J];(z=o.W[W]).index=J;var Q=n[l++];z.J=y[Q>>4],z.i=b[15&Q],j.push(z)}var q=n[l++],Y=n[l++],X=n[l++];try{var K=m(n,l,o,j,s,q,Y,X>>4,15&X,H);l+=K}catch(e){if(e instanceof DNLMarkerError)return this.parse(n,{F:e.s});if(e instanceof EOIMarkerError)break e;throw e}break;case 65500:l+=4;break;case 65535:255!==n[l]&&l--;break;default:var Z=f(n,l-2,l-3);if(Z&&Z.u){l=Z.offset;break}if(l>=n.length-1)break e;throw new e("JpegImage.parse - unknown marker: "+$.toString(16))}$=r(n,l),l+=2}for(this.width=o.o,this.height=o.s,this.g=c,this.b=u,this.W=[],x=0;x<o.W.length;x++){var ee=v[(z=o.W[x]).L];ee&&(z.$=ee),this.W.push({index:z.index,e:g(0,z),l:z.h/o.X,t:z.A/o.B,P:z.P,c:z.c})}this.p=this.W.length},Y(e,t,r){null==r&&(r=!1);var n,i,o,s,a,l,c,u,d,h,p,m,_=this.width/e,g=this.height/t,f=0,v=this.W.length,b=e*t*v,y=new Uint8ClampedArray(b),$=new Uint32Array(e),x=4294967288;for(c=0;c<v;c++){if(i=(n=this.W[c]).l*_,o=n.t*g,f=c,p=n.e,s=n.P+1<<3,i!==m){for(a=0;a<e;a++)u=0|a*i,$[a]=(u&x)<<3|7&u;m=i}for(l=0;l<t;l++)for(h=s*((u=0|l*o)&x)|(7&u)<<3,a=0;a<e;a++)y[f]=p[h+$[a]],f+=v}var S=this.V;if(r||4!==v||S||(S=new Int32Array([-256,255,-256,255,-256,255,-256,255])),S)for(c=0;c<b;)for(u=0,d=0;u<v;u++,c++,d+=2)y[c]=(y[c]*S[d]>>8)+S[d+1];return y},get f(){return this.b?!!this.b.a:3===this.p?0!==this.N&&(82!==this.W[0].index||71!==this.W[1].index||66!==this.W[2].index):1===this.N},z:function(e){for(var t,r,n,i=0,o=e.length;i<o;i+=3)t=e[i],r=e[i+1],n=e[i+2],e[i]=t-179.456+1.402*n,e[i+1]=t+135.459-.344*r-.714*n,e[i+2]=t-226.816+1.772*r;return e},O:function(e){for(var t,r,n,i,o=0,s=0,a=e.length;s<a;s+=4)t=e[s],r=e[s+1],n=e[s+2],i=e[s+3],e[o++]=r*(-660635669420364e-19*r+.000437130475926232*n-54080610064599e-18*t+.00048449797120281*i-.154362151871126)-122.67195406894+n*(-.000957964378445773*n+.000817076911346625*t-.00477271405408747*i+1.53380253221734)+t*(.000961250184130688*t-.00266257332283933*i+.48357088451265)+i*(-.000336197177618394*i+.484791561490776),e[o++]=107.268039397724+r*(219927104525741e-19*r-.000640992018297945*n+.000659397001245577*t+.000426105652938837*i-.176491792462875)+n*(-.000778269941513683*n+.00130872261408275*t+.000770482631801132*i-.151051492775562)+t*(.00126935368114843*t-.00265090189010898*i+.25802910206845)+i*(-.000318913117588328*i-.213742400323665),e[o++]=r*(-.000570115196973677*r-263409051004589e-19*n+.0020741088115012*t-.00288260236853442*i+.814272968359295)-20.810012546947+n*(-153496057440975e-19*n-.000132689043961446*t+.000560833691242812*i-.195152027534049)+t*(.00174418132927582*t-.00255243321439347*i+.116935020465145)+i*(-.000343531996510555*i+.24165260232407);return e.subarray(0,o)},r:function(e){for(var t,r,n,i=0,o=e.length;i<o;i+=4)t=e[i],r=e[i+1],n=e[i+2],e[i]=434.456-t-1.402*n,e[i+1]=119.541-t+.344*r+.714*n,e[i+2]=481.816-t-1.772*r;return e},U:function(e){for(var t,r,n,i,o=0,s=0,a=e.length;s<a;s+=4)t=e[s],r=e[s+1],n=e[s+2],i=e[s+3],e[o++]=255+t*(-6747147073602441e-20*t+.0008379262121013727*r+.0002894718188643294*n+.003264231057537806*i-1.1185611867203937)+r*(26374107616089405e-21*r-8626949158638572e-20*n-.0002748769067499491*i-.02155688794978967)+n*(-3878099212869363e-20*n-.0003267808279485286*i+.0686742238595345)-i*(.0003361971776183937*i+.7430659151342254),e[o++]=255+t*(.00013596372813588848*t+.000924537132573585*r+.00010567359618683593*n+.0004791864687436512*i-.3109689587515875)+r*(-.00023545346108370344*r+.0002702845253534714*n+.0020200308977307156*i-.7488052167015494)+n*(6834815998235662e-20*n+.00015168452363460973*i-.09751927774728933)-i*(.0003189131175883281*i+.7364883807733168),e[o++]=255+t*(13598650411385307e-21*t+.00012423956175490851*r+.0004751985097583589*n-36729317476630422e-22*i-.05562186980264034)+r*(.00016141380598724676*r+.0009692239130725186*n+.0007782692450036253*i-.44015232367526463)+n*(5.068882914068769e-7*n+.0017778369011375071*i-.7591454649749609)-i*(.0003435319965105553*i+.7063770186160144);return e.subarray(0,o)},getData:function(t){var r=t.width,n=t.height,i=t.forceRGB,o=t.isSourcePDF;if(this.p>4)throw new e("Unsupported color mode");var s=this.Y(r,n,o);if(1===this.p&&i){for(var a=s.length,l=new Uint8ClampedArray(3*a),c=0,u=0;u<a;u++){var d=s[u];l[c++]=d,l[c++]=d,l[c++]=d}return l}if(3===this.p&&this.f)return this.z(s);if(4===this.p){if(this.f)return i?this.O(s):this.r(s);if(i)return this.U(s)}return s}},d}();function r(e,t){return e[t]<<8|e[t+1]}Gy.JpegDecoder=t}(),Gy.encodeImage=function(e,t,r,n){var i={t256:[t],t257:[r],t258:[8,8,8,8],t259:[1],t262:[2],t273:[1e3],t277:[4],t278:[r],t279:[t*r*4],t282:[[72,1]],t283:[[72,1]],t284:[1],t286:[[0,1]],t287:[[0,1]],t296:[1],t305:["Photopea (UTIF.js)"],t338:[1]};if(n)for(var o in n)i[o]=n[o];var s=new Uint8Array(Gy.encode([i])),a=new Uint8Array(e),l=new Uint8Array(1e3+t*r*4);for(o=0;o<s.length;o++)l[o]=s[o];for(o=0;o<a.length;o++)l[1e3+o]=a[o];return l.buffer},Gy.encode=function(e){var t=new Uint8Array(2e4),r=4,n=Gy._binBE;t[0]=t[1]=77,n.writeUshort(t,2,42);var i=8;n.writeUint(t,r,i),r+=4;for(var o=0;o<e.length;o++){var s=Gy._writeIFD(n,Gy._types.basic,t,i,e[o]);i=s[1],o<e.length-1&&(3&i&&(i+=4-(3&i)),n.writeUint(t,s[0],i))}return t.slice(0,i).buffer},Gy.decode=function(e,t){null==t&&(t={parseMN:!0,debug:!1});var r=new Uint8Array(e),n=0,i=Gy._binBE.readASCII(r,n,2);n+=2;var o="II"==i?Gy._binLE:Gy._binBE;o.readUshort(r,n);n+=2;var s=o.readUint(r,n);n+=4;for(var a=[];;){var l=o.readUshort(r,s),c=o.readUshort(r,s+4);if(0!=l&&(c<1||13<c)){log("error in TIFF");break}if(Gy._readIFD(o,r,s,a,0,t),0==(s=o.readUint(r,s+2+12*l)))break}return a},Gy.decodeImage=function(e,t,r){if(!t.data){var n=new Uint8Array(e),i=Gy._binBE.readASCII(n,0,2);if(null!=t.t256){t.isLE="II"==i,t.width=t.t256[0],t.height=t.t257[0];var o=t.t259?t.t259[0]:1,s=t.t266?t.t266[0]:1;t.t284&&2==t.t284[0]&&log("PlanarConfiguration 2 should not be used!"),7==o&&t.t258&&t.t258.length>3&&(t.t258=t.t258.slice(0,3));var a=t.t277?t.t277[0]:1,l=(t.t258?t.t258[0]:1)*a;1==o&&null!=t.t279&&t.t278&&32803==t.t262[0]&&(l=Math.round(8*t.t279[0]/(t.width*t.t278[0]))),t.t50885&&4==t.t50885[0]&&(l=3*t.t258[0]);var c=8*Math.ceil(t.width*l/8),u=t.t273;(null==u||t.t322)&&(u=t.t324);var d=t.t279;1==o&&1==u.length&&(d=[t.height*(c>>>3)]),(null==d||t.t322)&&(d=t.t325);var h=new Uint8Array(t.height*(c>>>3)),p=0;if(null!=t.t322){var m=t.t322[0],_=t.t323[0],g=Math.floor((t.width+m-1)/m),f=Math.floor((t.height+_-1)/_),v=new Uint8Array(0|Math.ceil(m*_*l/8));console.log("====",g,f);for(var b=0;b<f;b++)for(var y=0;y<g;y++){var $=b*g+y;v.fill(0),Gy.decode._decompress(t,r,n,u[$],d[$],o,v,0,s,m,_),6==o?h=v:Gy._copyTile(v,0|Math.ceil(m*l/8),_,h,0|Math.ceil(t.width*l/8),t.height,0|Math.ceil(y*m*l/8),b*_)}p=8*h.length}else{if(null==u)return;var x=t.t278?t.t278[0]:t.height;x=Math.min(x,t.height);for($=0;$<u.length;$++)Gy.decode._decompress(t,r,n,u[$],d[$],o,h,0|Math.ceil(p/8),s,t.width,x),p+=c*x;p=Math.min(p,8*h.length)}t.data=new Uint8Array(h.buffer,0,0|Math.ceil(p/8))}}},Gy.decode._decompress=function(e,t,r,n,i,o,s,a,l,c,u){if(e.t271&&"Panasonic"==e.t271[0]&&e.t45&&6==e.t45[0]&&(o=34316),1==o)for(var d=0;d<i;d++)s[a+d]=r[n+d];else if(2==o)Gy.decode._decodeG2(r,n,i,s,a,c,l);else if(3==o)Gy.decode._decodeG3(r,n,i,s,a,c,l,!!e.t292&&!(1&~e.t292[0]));else if(4==o)Gy.decode._decodeG4(r,n,i,s,a,c,l);else if(5==o)Gy.decode._decodeLZW(r,n,i,s,a,8);else if(6==o)Gy.decode._decodeOldJPEG(e,r,n,i,s,a);else if(7==o||34892==o)Gy.decode._decodeNewJPEG(e,r,n,i,s,a);else if(8==o||32946==o){var h=new Uint8Array(r.buffer,n+2,i-6),p=Gy._inflateRaw(h);a+p.length<=s.length&&s.set(p,a)}else 9==o?Gy.decode._decodeVC5(r,n,i,s,a,e.t33422):32767==o?Gy.decode._decodeARW(e,r,n,i,s,a):32773==o?Gy.decode._decodePackBits(r,n,i,s,a):32809==o?Gy.decode._decodeThunder(r,n,i,s,a):34316==o?Gy.decode._decodePanasonic(e,r,n,i,s,a):34713==o?Gy.decode._decodeNikon(e,t,r,n,i,s,a):34676==o?Gy.decode._decodeLogLuv32(e,r,n,i,s,a):log("Unknown compression",o);var m=e.t258?Math.min(32,e.t258[0]):1,_=e.t277?e.t277[0]:1,g=m*_>>>3,f=Math.ceil(m*_*c/8);if(16==m&&!e.isLE&&null==e.t33422)for(var v=0;v<u;v++)for(var b=a+v*f,y=1;y<f;y+=2){var $=s[b+y];s[b+y]=s[b+y-1],s[b+y-1]=$}if(e.t317&&2==e.t317[0])for(v=0;v<u;v++){var x=a+v*f;if(16==m)for(d=g;d<f;d+=2){var S=(s[x+d+1]<<8|s[x+d])+(s[x+d-g+1]<<8|s[x+d-g]);s[x+d]=255&S,s[x+d+1]=S>>>8&255}else if(3==_)for(d=3;d<f;d+=3)s[x+d]=s[x+d]+s[x+d-3]&255,s[x+d+1]=s[x+d+1]+s[x+d-2]&255,s[x+d+2]=s[x+d+2]+s[x+d-1]&255;else for(d=g;d<f;d++)s[x+d]=s[x+d]+s[x+d-g]&255}},Gy.decode._decodePanasonic=function(e,t,r,n,i,o){var s,a,l,c,u,d,h,p,m=t.buffer,_=e.t2[0],g=e.t3[0],f=e.t10[0],v=e.t45[0],b=0,y=0,$=0,x=0,S=6==v?new Uint32Array(18):new Uint8Array(16),w=[0,0],A=[0,0],C=0,E=new Uint8Array(16384),I=new Uint16Array(i.buffer);function M(e){if(0==$){var t=new Uint8Array(m,r+y+8184,8200),n=new Uint8Array(m,r+y,8184);E.set(t),E.set(n,t.length),y+=16384}if(5!=v)return(E[x=($=$-e&131071)>>3^16368]|E[x+1]<<8)>>(7&$)&~(-1<<e);for(s=0;s<16;s++)S[s]=E[$++],$&=16383}function k(e){return E[$+15-e]}function T(){w[0]=0,w[1]=0,A[0]=0,A[1]=0}if(7==v)throw v;if(6==v){var R=12==f,L=R?function(){S[0]=k(0)<<4|k(1)>>4,S[1]=4095&((15&k(1))<<8|k(2)),S[2]=k(3)>>6&3,S[3]=(63&k(3))<<2|k(4)>>6,S[4]=(63&k(4))<<2|k(5)>>6,S[5]=(63&k(5))<<2|k(6)>>6,S[6]=k(6)>>4&3,S[7]=(15&k(6))<<4|k(7)>>4,S[8]=(15&k(7))<<4|k(8)>>4,S[9]=(15&k(8))<<4|k(9)>>4,S[10]=k(9)>>2&3,S[11]=(3&k(9))<<6|k(10)>>2,S[12]=(3&k(10))<<6|k(11)>>2,S[13]=(3&k(11))<<6|k(12)>>2,S[14]=3&k(12),S[15]=k(13),S[16]=k(14),S[17]=k(15),$+=16,x=0}:function(){S[0]=k(0)<<6|k(1)>>2,S[1]=16383&((3&k(1))<<12|k(2)<<4|k(3)>>4),S[2]=k(3)>>2&3,S[3]=(3&k(3))<<8|k(4),S[4]=k(5)<<2|k(6)>>6,S[5]=(63&k(6))<<4|k(7)>>4,S[6]=k(7)>>2&3,S[7]=(3&k(7))<<8|k(8),S[8]=k(9)<<2&1020|k(10)>>6,S[9]=1023&(k(10)<<4|k(11)>>4),S[10]=k(11)>>2&3,S[11]=(3&k(11))<<8|k(12),S[12]=1023&(k(13)<<2&1020|k(14)>>6),S[13]=1023&(k(14)<<4|k(15)>>4),$+=16,x=0},P=R?14:11,D=R?128:512,N=R?2048:8192,F=R?16383:65535,O=R?4095:16383,B=_/P,U=16*B,V=R?18:14;for(d=0;d<g-15;d+=16){var z=Math.min(16,g-d),H=U*z;for(E=new Uint8Array(m,r+b,H),$=0,b+=H,p=0,h=0;p<z;p++,h=0){C=(d+p)*_;for(var G=0;G<B;G++)for(L(),T(),l=0,u=0,s=0;s<P;s++){if(c=1&s,s%3==2){var j=x<V?S[x++]:0;3==j&&(j=4),u=D<<j,l=1<<j}var J=x<V?S[x++]:0;w[c]?(J*=l,u<N&&A[c]>u&&(J+=A[c]-u),A[c]=J):(w[c]=J,J?A[c]=J:J=A[c]),I[C+h++]=J-15<=F?J-15&F:J+2147483633>>31&O}}}}else if(5==v){var W=12==f?10:9;for(d=0;d<g;d++)for(h=0;h<_;h+=W)M(0),12==f?(I[C++]=((15&S[1])<<8)+S[0],I[C++]=16*S[2]+(S[1]>>4),I[C++]=((15&S[4])<<8)+S[3],I[C++]=16*S[5]+(S[4]>>4),I[C++]=((15&S[7])<<8)+S[6],I[C++]=16*S[8]+(S[7]>>4),I[C++]=((15&S[10])<<8)+S[9],I[C++]=16*S[11]+(S[10]>>4),I[C++]=((15&S[13])<<8)+S[12],I[C++]=16*S[14]+(S[13]>>4)):14==f&&(I[C++]=S[0]+((63&S[1])<<8),I[C++]=(S[1]>>6)+4*S[2]+((15&S[3])<<10),I[C++]=(S[3]>>4)+16*S[4]+((3&S[5])<<12),I[C++]=((252&S[5])>>2)+(S[6]<<6),I[C++]=S[7]+((63&S[8])<<8),I[C++]=(S[8]>>6)+4*S[9]+((15&S[10])<<10),I[C++]=(S[10]>>4)+16*S[11]+((3&S[12])<<12),I[C++]=((252&S[12])>>2)+(S[13]<<6),I[C++]=S[14]+((63&S[15])<<8))}else{if(4!=v)throw v;for(d=0;d<g;d++)for(h=0;h<_;h++)c=1&(s=h%14),0==s&&T(),s%3==2&&(l=4>>3-M(2)),A[c]?0!=(a=M(8))&&(w[c]-=128<<l,(w[c]<0||4==l)&&(w[c]&=~(-1<<l)),w[c]+=a<<l):(A[c]=M(8),(A[c]||s>11)&&(w[c]=A[c]<<4|M(4))),I[C++]=w[1&h]}},Gy.decode._decodeVC5=function(){var e,t,r,n=[1,0,1,0,2,2,1,1,3,7,1,2,5,25,1,3,6,48,1,4,6,54,1,5,7,111,1,8,7,99,1,6,7,105,12,0,7,107,1,7,8,209,20,0,8,212,1,9,8,220,1,10,9,393,1,11,9,394,32,0,9,416,1,12,9,427,1,13,10,887,1,18,10,784,1,14,10,790,1,15,10,835,60,0,10,852,1,16,10,885,1,17,11,1571,1,19,11,1668,1,20,11,1669,100,0,11,1707,1,21,11,1772,1,22,12,3547,1,29,12,3164,1,24,12,3166,1,25,12,3140,1,23,12,3413,1,26,12,3537,1,27,12,3539,1,28,13,7093,1,35,13,6283,1,30,13,6331,1,31,13,6335,180,0,13,6824,1,32,13,7072,1,33,13,7077,320,0,13,7076,1,34,14,12565,1,36,14,12661,1,37,14,12669,1,38,14,13651,1,39,14,14184,1,40,15,28295,1,46,15,28371,1,47,15,25320,1,42,15,25336,1,43,15,25128,1,41,15,27300,1,44,15,28293,1,45,16,50259,1,48,16,50643,1,49,16,50675,1,50,16,56740,1,53,16,56584,1,51,16,56588,1,52,17,113483,1,61,17,113482,1,60,17,101285,1,55,17,101349,1,56,17,109205,1,57,17,109207,1,58,17,100516,1,54,17,113171,1,59,18,202568,1,62,18,202696,1,63,18,218408,1,64,18,218412,1,65,18,226340,1,66,18,226356,1,67,18,226358,1,68,19,402068,1,69,19,405138,1,70,19,405394,1,71,19,436818,1,72,19,436826,1,73,19,452714,1,75,19,452718,1,76,19,452682,1,74,20,804138,1,77,20,810279,1,78,20,810790,1,79,20,873638,1,80,20,873654,1,81,20,905366,1,82,20,905430,1,83,20,905438,1,84,21,1608278,1,85,21,1620557,1,86,21,1621582,1,87,21,1621583,1,88,21,1747310,1,89,21,1810734,1,90,21,1810735,1,91,21,1810863,1,92,21,1810879,1,93,22,3621725,1,99,22,3621757,1,100,22,3241112,1,94,22,3494556,1,95,22,3494557,1,96,22,3494622,1,97,22,3494623,1,98,23,6482227,1,102,23,6433117,1,101,23,6989117,1,103,23,6989119,1,105,23,6989118,1,104,23,7243449,1,106,23,7243512,1,107,24,13978233,1,111,24,12964453,1,109,24,12866232,1,108,24,14486897,1,113,24,13978232,1,110,24,14486896,1,112,24,14487026,1,114,24,14487027,1,115,25,25732598,1,225,25,25732597,1,189,25,25732596,1,188,25,25732595,1,203,25,25732594,1,202,25,25732593,1,197,25,25732592,1,207,25,25732591,1,169,25,25732590,1,223,25,25732589,1,159,25,25732522,1,235,25,25732579,1,152,25,25732575,1,192,25,25732489,1,179,25,25732573,1,201,25,25732472,1,172,25,25732576,1,149,25,25732488,1,178,25,25732566,1,120,25,25732571,1,219,25,25732577,1,150,25,25732487,1,127,25,25732506,1,211,25,25732548,1,125,25,25732588,1,158,25,25732486,1,247,25,25732467,1,238,25,25732508,1,163,25,25732552,1,228,25,25732603,1,183,25,25732513,1,217,25,25732587,1,168,25,25732520,1,122,25,25732484,1,128,25,25732562,1,249,25,25732505,1,187,25,25732504,1,186,25,25732483,1,136,25,25928905,1,181,25,25732560,1,255,25,25732500,1,230,25,25732482,1,135,25,25732555,1,233,25,25732568,1,222,25,25732583,1,145,25,25732481,1,134,25,25732586,1,167,25,25732521,1,248,25,25732518,1,209,25,25732480,1,243,25,25732512,1,216,25,25732509,1,164,25,25732547,1,140,25,25732479,1,157,25,25732544,1,239,25,25732574,1,191,25,25732564,1,251,25,25732478,1,156,25,25732546,1,139,25,25732498,1,242,25,25732557,1,133,25,25732477,1,162,25,25732515,1,213,25,25732584,1,165,25,25732514,1,212,25,25732476,1,227,25,25732494,1,198,25,25732531,1,236,25,25732530,1,234,25,25732529,1,117,25,25732528,1,215,25,25732527,1,124,25,25732526,1,123,25,25732525,1,254,25,25732524,1,253,25,25732523,1,148,25,25732570,1,218,25,25732580,1,146,25,25732581,1,147,25,25732569,1,224,25,25732533,1,143,25,25732540,1,184,25,25732541,1,185,25,25732585,1,166,25,25732556,1,132,25,25732485,1,129,25,25732563,1,250,25,25732578,1,151,25,25732501,1,119,25,25732502,1,193,25,25732536,1,176,25,25732496,1,245,25,25732553,1,229,25,25732516,1,206,25,25732582,1,144,25,25732517,1,208,25,25732558,1,137,25,25732543,1,241,25,25732466,1,237,25,25732507,1,190,25,25732542,1,240,25,25732551,1,131,25,25732554,1,232,25,25732565,1,252,25,25732475,1,171,25,25732493,1,205,25,25732492,1,204,25,25732491,1,118,25,25732490,1,214,25,25928904,1,180,25,25732549,1,126,25,25732602,1,182,25,25732539,1,175,25,25732545,1,141,25,25732559,1,138,25,25732537,1,177,25,25732534,1,153,25,25732503,1,194,25,25732606,1,160,25,25732567,1,121,25,25732538,1,174,25,25732497,1,246,25,25732550,1,130,25,25732572,1,200,25,25732474,1,170,25,25732511,1,221,25,25732601,1,196,25,25732532,1,142,25,25732519,1,210,25,25732495,1,199,25,25732605,1,155,25,25732535,1,154,25,25732499,1,244,25,25732510,1,220,25,25732600,1,195,25,25732607,1,161,25,25732604,1,231,25,25732473,1,173,25,25732599,1,226,26,51465122,1,116,26,51465123,0,1],i=[3,3,3,3,2,2,2,1,1,1];function o(e){var t=e[1],r=e[0][t>>>3]>>>7-(7&t)&1;return e[1]++,r}function s(t,r){if(null==e){e={};for(var i=0;i<n.length;i+=4)e[n[i+1]]=n.slice(i,i+4)}for(var s=o(t),a=e[s];null==a;)s=s<<1|o(t),a=e[s];var l=a[3];0!=l&&(l=0==o(t)?l:-l),r[0]=a[2],r[1]=l}function a(e,t){for(var r=0;r<t;r++)1&~e||e++,e>>>=1;return e}function l(e,t){return e>>t}function c(e,t,r,n,i,o){t[r]=l(l(11*e[i]-4*e[i+o]+e[i+o+o]+4,3)+e[n],1),t[r+o]=l(l(5*e[i]+4*e[i+o]-e[i+o+o]+4,3)-e[n],1)}function u(e,t,r,n,i,o){var s=e[i-o]-e[i+o],a=e[i],c=e[n];t[r]=l(l(s+4,3)+a+c,1),t[r+o]=l(l(4-s,3)+a-c,1)}function d(e,t,r,n,i,o){t[r]=l(l(5*e[i]+4*e[i-o]-e[i-o-o]+4,3)+e[n],1),t[r+o]=l(l(11*e[i]-4*e[i-o]+e[i-o-o]+4,3)-e[n],1)}function h(e){return e=r[e=e<0?0:e>4095?4095:e]>>>2}return function(e,n,o,l,p,m){l=new Uint16Array(l.buffer);var _,g,f,v,b,y,$,x,S=Date.now(),w=Gy._binBE,A=n+o;n+=4;for(var C=1==m[0];n<A;){var E=w.readShort(e,n),I=w.readUshort(e,n+2);if(n+=4,12==E)D=I;else if(20==E)_=I;else if(21==E)g=I;else if(48==E)f=I;else if(53==E)v=I;else if(35==E)0;else if(62==E)b=I;else if(101==E)0;else if(109==E)y=I;else if(84==E)0;else if(106==E)0;else if(107==E)0;else if(108==E)0;else if(102==E)0;else if(104==E)te=I;else if(105==E)0;else{var M=E<0?-E:E,k=65280&M,T=0;if(24576&M&&(8192&M?(T=65535&I,T+=(255&M)<<16):T=65535&I),24576&~M){if(16388==M)n+=4*T;else if(8192!=k&&8448!=k&&9216!=k)throw M.toString(16)}else{if(null==$){$=[];for(var R=0;R<4;R++)$[R]=new Int16Array((_>>>1)*(g>>>1));x=new Int16Array((_>>>1)*(g>>>1)),t=new Int16Array(1024);for(R=0;R<1024;R++){var L=R-512,P=Math.abs(L),D=Math.floor(768*P*P*P/16581375)+P;t[R]=Math.sign(L)*D}r=new Uint16Array(4096);for(R=0;R<4096;R++){var N=R,F=65535*(Math.pow(113,N/4095)-1)/112;r[R]=Math.min(F,65535)}}var O=$[b],B=a(_,1+i[f]),U=a(g,1+i[f]);if(0==f)for(var V=0;V<U;V++)for(var z=0;z<B;z++){var H=n+2*(V*B+z);O[V*(_>>>1)+z]=e[H]<<8|e[H+1]}else{var G=[e,8*n],j=[],J=0,W=B*U,Q=[0,0],q=0;for(I=0;J<W;)for(s(G,Q),q=Q[0],I=Q[1];q>0;)j[J++]=I,q--;var Y=(f-1)%3,X=1!=Y?B:0,K=0!=Y?U:0;for(V=0;V<U;V++){var Z=(V+K)*(_>>>1)+X,ee=V*B;for(z=0;z<B;z++)O[Z+z]=t[j[ee+z]+512]*v}if(2==Y){var te=_>>>1,re=2*B,ne=2*U;for(V=0;V<U;V++)for(z=0;z<re;z++){R=2*V*te+z;var ie=U*te+(se=V*te+z);0==V?c(O,x,R,ie,se,te):V==U-1?d(O,x,R,ie,se,te):u(O,x,R,ie,se,te)}var oe=O;O=x,x=oe;for(V=0;V<ne;V++)for(z=0;z<B;z++){var se;R=V*te+2*z,ie=B+(se=V*te+z);0==z?c(O,x,R,ie,se,1):z==B-1?d(O,x,R,ie,se,1):u(O,x,R,ie,se,1)}oe=O;O=x,x=oe;for(var ae=[],le=2-~~((f-1)/3),ce=0;ce<3;ce++)ae[ce]=y>>14-2*ce&3;var ue=ae[le];if(0!=ue)for(V=0;V<ne;V++)for(z=0;z<re;z++){O[R=V*te+z]=O[R]<<ue}}}if(9==f&&3==b){var de=$[0],he=$[1],pe=$[2],me=$[3];for(V=0;V<g;V+=2)for(z=0;z<_;z+=2){var _e=V*_+z,ge=de[H=(V>>>1)*(_>>>1)+(z>>>1)],fe=he[H]-2048,ve=pe[H]-2048,be=me[H]-2048,ye=(fe<<1)+ge,$e=(ve<<1)+ge,xe=ge+be,Se=ge-be;C?(l[_e]=h(xe),l[_e+1]=h($e),l[_e+_]=h(ye),l[_e+_+1]=h(Se)):(l[_e]=h(ye),l[_e+1]=h(xe),l[_e+_]=h(Se),l[_e+_+1]=h($e))}}n+=4*T}}}console.log(Date.now()-S)}}(),Gy.decode._decodeLogLuv32=function(e,t,r,n,i,o){for(var s=e.width,a=4*s,l=0,c=new Uint8Array(a);l<n;){for(var u=0;u<a;){var d=t[r+l];if(l++,d<128){for(var h=0;h<d;h++)c[u+h]=t[r+l+h];u+=d,l+=d}else{d-=126;for(h=0;h<d;h++)c[u+h]=t[r+l];u+=d,l++}}for(var p=0;p<s;p++)i[o+0]=c[p],i[o+1]=c[p+s],i[o+2]=c[p+2*s],i[o+4]=c[p+3*s],o+=6}},Gy.decode._ljpeg_diff=function(e,t,r){var n,i,o=Gy.decode._getbithuff;return n=o(e,t,r[0],r),(i=o(e,t,n,0))&1<<n-1||(i-=(1<<n)-1),i},Gy.decode._decodeARW=function(e,t,r,n,i,o){var s=e.t256[0],a=e.t257[0],l=e.t258[0],c=e.isLE?Gy._binLE:Gy._binBE;if(s*a==n||s*a*1.5==n)if(s*a*1.5!=n){var u,d,h,p,m,_,g,f,v=new Uint16Array(16),b=new Uint8Array(s+1);for(E=0;E<a;E++){for(var y=0;y<s;y++)b[y]=t[r++];for(f=0,C=0;C<s-30;f+=16){for(d=2047&(u=c.readUint(b,f)),h=2047&u>>>11,p=15&u>>>22,m=15&u>>>26,_=0;_<4&&128<<_<=d-h;_++);for(g=30,$=0;$<16;$++)$==p?v[$]=d:$==m?v[$]=h:(v[$]=((c.readUshort(b,f+(g>>3))>>>(7&g)&127)<<_)+h,v[$]>2047&&(v[$]=2047),g+=7);for($=0;$<16;$++,C+=2){D=v[$]<<1;Gy.decode._putsF(i,(E*s+C)*l,D<<16-l)}C-=1&C?1:31}}}else for(var $=0;$<n;$+=3){var x=t[r+$+0],S=t[r+$+1],w=t[r+$+2];i[o+$]=S<<4|x>>>4,i[o+$+1]=x<<4|w>>>4,i[o+$+2]=w<<4|S>>>4}else{a+=8;var A,C,E,I=[r,0,0,0],M=new Uint16Array(32770),k=[3857,3856,3599,3342,3085,2828,2571,2314,2057,1800,1543,1286,1029,772,771,768,514,513],T=0,R=Gy.decode._ljpeg_diff;for(M[0]=15,A=$=0;$<18;$++)for(var L=32768>>>(k[$]>>>8),P=0;P<L;P++)M[++A]=k[$];for(C=s;C--;)for(E=0;E<a+1;E+=2)if(E==a&&(E=1),T+=R(t,I,M),E<a){var D=4095&T;Gy.decode._putsF(i,(E*s+C)*l,D<<16-l)}}},Gy.decode._decodeNikon=function(e,t,r,n,i,o,s){var a=[[0,0,1,5,1,1,1,1,1,1,2,0,0,0,0,0,0,5,4,3,6,2,7,1,0,8,9,11,10,12],[0,0,1,5,1,1,1,1,1,1,2,0,0,0,0,0,0,57,90,56,39,22,5,4,3,2,1,0,11,12,12],[0,0,1,4,2,3,1,2,0,0,0,0,0,0,0,0,0,5,4,6,3,7,2,8,1,9,0,10,11,12],[0,0,1,4,3,1,1,1,1,1,2,0,0,0,0,0,0,5,6,4,7,8,3,9,2,1,0,10,11,12,13,14],[0,0,1,5,1,1,1,1,1,1,1,2,0,0,0,0,0,8,92,75,58,41,7,6,5,4,3,2,1,0,13,14],[0,0,1,4,2,2,3,1,2,0,0,0,0,0,0,0,0,7,6,8,5,9,4,10,3,11,12,2,0,1,13,14]],l=e.t256[0],c=e.t257[0],u=e.t258[0],d=0,h=0,p=Gy.decode._make_decoder,m=Gy.decode._getbithuff,_=t[0].exifIFD.makerNote,g=_.t150?_.t150:_.t140,f=0,v=g[f++],b=g[f++];73!=v&&88!=b||(f+=2110),70==v&&(d=2),14==u&&(d+=3);for(var y=[[0,0],[0,0]],$=e.isLE?Gy._binLE:Gy._binBE,x=0;x<2;x++)for(var S=0;S<2;S++)y[x][S]=$.readShort(g,f),f+=2;var w,A,C,E,I,M=1<<u&32767,k=0,T=$.readShort(g,f);f+=2,T>1&&(k=Math.floor(M/(T-1))),68==v&&32==b&&k>0&&(h=$.readShort(g,562));var R=[0,0],L=p(a[d]),P=[n,0,0,0];for(w=0;w<c;w++)for(h&&w==h&&(L=p(a[d+1])),A=0;A<l;A++){x=m(r,P,L[0],L),(I=1+(m(r,P,(C=15&x)-(E=x>>>4),0)<<1)<<E>>>1)&1<<C-1||(I-=(1<<C)-(0==E?1:0)),A<2?R[A]=y[1&w][A]+=I:R[1&A]+=I;var D=Math.min(Math.max(R[1&A],0),(1<<u)-1),N=(w*l+A)*u;Gy.decode._putsF(o,N,D<<16-u)}},Gy.decode._putsF=function(e,t,r){r<<=8-(7&t);var n=t>>>3;e[n]|=r>>>16,e[n+1]|=r>>>8,e[n+2]|=r},Gy.decode._getbithuff=function(e,t,r,n){Gy.decode._get_byte;var i,o=t[0],s=t[1],a=t[2],l=t[3];if(0==r||a<0)return 0;for(;!l&&a<r&&-1!=(i=e[o++])&&!(l=0);)s=(s<<8)+i,a+=8;if(i=s<<32-a>>>32-r,n?(a-=n[i+1]>>>8,i=255&n[i+1]):a-=r,a<0)throw"e";return t[0]=o,t[1]=s,t[2]=a,t[3]=l,i},Gy.decode._make_decoder=function(e){var t,r,n,i,o,s=[];for(t=16;0!=t&&!e[t];t--);var a=17;for(s[0]=t,n=r=1;r<=t;r++)for(i=0;i<e[r];i++,++a)for(o=0;o<1<<t-r;o++)n<=1<<t&&(s[n++]=r<<8|e[a]);return s},Gy.decode._decodeNewJPEG=function(e,t,r,n,i,o){n=Math.min(n,t.length-r);var s=e.t347,a=s?s.length:0,l=new Uint8Array(a+n);if(s){for(var c=0,u=0;u<a-1&&(255!=s[u]||217!=s[u+1]);u++)l[c++]=s[u];var d=t[r],h=t[r+1];255==d&&216==h||(l[c++]=d,l[c++]=h);for(u=2;u<n;u++)l[c++]=t[r+u]}else for(u=0;u<n;u++)l[u]=t[r+u];if(32803==e.t262[0]||7==e.t259[0]&&34892==e.t262[0]){var p=e.t258[0],m=Gy.LosslessJpegDecode(l),_=m.length;if(16==p)if(e.isLE)for(u=0;u<_;u++)i[o+(u<<1)]=255&m[u],i[o+(u<<1)+1]=m[u]>>>8;else for(u=0;u<_;u++)i[o+(u<<1)]=m[u]>>>8,i[o+(u<<1)+1]=255&m[u];else if(14==p||12==p||10==p){var g=16-p;for(u=0;u<_;u++)Gy.decode._putsF(i,u*p,m[u]<<g)}else{if(8!=p)throw new Error("unsupported bit depth "+p);for(u=0;u<_;u++)i[o+u]=m[u]}}else{var f=new Gy.JpegDecoder;f.parse(l);var v=f.getData({width:f.width,height:f.height,forceRGB:!0,isSourcePDF:!1});for(u=0;u<v.length;u++)i[o+u]=v[u]}6==e.t262[0]&&(e.t262[0]=2)},Gy.decode._decodeOldJPEGInit=function(e,t,r,n){var i,o,s,a,l,c=216,u=0,d=0,h=!1,p=e.t513,m=p?p[0]:0,_=e.t514,g=_?_[0]:0,f=e.t324||e.t273||p,v=e.t530,b=0,y=0,$=e.t277?e.t277[0]:1,x=e.t515;if(f&&(d=f[0],h=f.length>1),!h){if(255==t[r]&&t[r+1]==c)return{jpegOffset:r};if(null!=p&&(255==t[r+m]&&t[r+m+1]==c?u=r+m:log("JPEGInterchangeFormat does not point to SOI"),null==_?log("JPEGInterchangeFormatLength field is missing"):(m>=d||m+g<=d)&&log("JPEGInterchangeFormatLength field value is invalid"),null!=u))return{jpegOffset:u}}if(null!=v&&(b=v[0],y=v[1]),null!=p&&null!=_)if(g>=2&&m+g<=d){for(i=255==t[r+m+g-2]&&t[r+m+g-1]==c?new Uint8Array(g-2):new Uint8Array(g),s=0;s<i.length;s++)i[s]=t[r+m+s];log("Incorrect JPEG interchange format: using JPEGInterchangeFormat offset to derive tables")}else log("JPEGInterchangeFormat+JPEGInterchangeFormatLength > offset to first strip or tile");if(null==i){var S=0,w=[];w[S++]=255,w[S++]=c;var A=e.t519;if(null==A)throw new Error("JPEGQTables tag is missing");for(s=0;s<A.length;s++)for(w[S++]=255,w[S++]=219,w[S++]=0,w[S++]=67,w[S++]=s,a=0;a<64;a++)w[S++]=t[r+A[s]+a];for(l=0;l<2;l++){var C=e[0==l?"t520":"t521"];if(null==C)throw new Error((0==l?"JPEGDCTables":"JPEGACTables")+" tag is missing");for(s=0;s<C.length;s++){w[S++]=255,w[S++]=196;var E=19;for(a=0;a<16;a++)E+=t[r+C[s]+a];for(w[S++]=E>>>8,w[S++]=255&E,w[S++]=s|l<<4,a=0;a<16;a++)w[S++]=t[r+C[s]+a];for(a=0;a<E;a++)w[S++]=t[r+C[s]+16+a]}}if(w[S++]=255,w[S++]=192,w[S++]=0,w[S++]=8+3*$,w[S++]=8,w[S++]=e.height>>>8&255,w[S++]=255&e.height,w[S++]=e.width>>>8&255,w[S++]=255&e.width,w[S++]=$,1==$)w[S++]=1,w[S++]=17,w[S++]=0;else for(s=0;s<3;s++)w[S++]=s+1,w[S++]=0!=s?17:(15&b)<<4|15&y,w[S++]=s;null!=x&&0!=x[0]&&(w[S++]=255,w[S++]=221,w[S++]=0,w[S++]=4,w[S++]=x[0]>>>8&255,w[S++]=255&x[0]),i=new Uint8Array(w)}var I=-1;for(s=0;s<i.length-1;){if(255==i[s]&&192==i[s+1]){I=s;break}s++}if(-1==I){var M=new Uint8Array(i.length+10+3*$);M.set(i);var k=i.length;if(I=i.length,(i=M)[k++]=255,i[k++]=192,i[k++]=0,i[k++]=8+3*$,i[k++]=8,i[k++]=e.height>>>8&255,i[k++]=255&e.height,i[k++]=e.width>>>8&255,i[k++]=255&e.width,i[k++]=$,1==$)i[k++]=1,i[k++]=17,i[k++]=0;else for(s=0;s<3;s++)i[k++]=s+1,i[k++]=0!=s?17:(15&b)<<4|15&y,i[k++]=s}if(255==t[d]&&218==t[d+1]){var T=t[d+2]<<8|t[d+3];for((o=new Uint8Array(T+2))[0]=t[d],o[1]=t[d+1],o[2]=t[d+2],o[3]=t[d+3],s=0;s<T-2;s++)o[s+4]=t[d+s+4]}else{var R=0;if((o=new Uint8Array(8+2*$))[R++]=255,o[R++]=218,o[R++]=0,o[R++]=6+2*$,o[R++]=$,1==$)o[R++]=1,o[R++]=0;else for(s=0;s<3;s++)o[R++]=s+1,o[R++]=s<<4|s;o[R++]=0,o[R++]=63,o[R++]=0}return{jpegOffset:r,tables:i,sosMarker:o,sofPosition:I}},Gy.decode._decodeOldJPEG=function(e,t,r,n,i,o){var s,a,l,c,u=Gy.decode._decodeOldJPEGInit(e,t,r,n);if(null!=u.jpegOffset)for(s=r+n-u.jpegOffset,l=new Uint8Array(s),p=0;p<s;p++)l[p]=t[u.jpegOffset+p];else{for(a=u.tables.length,(l=new Uint8Array(a+u.sosMarker.length+n+2)).set(u.tables),c=a,l[u.sofPosition+5]=e.height>>>8&255,l[u.sofPosition+6]=255&e.height,l[u.sofPosition+7]=e.width>>>8&255,l[u.sofPosition+8]=255&e.width,255==t[r]&&t[r+1]==SOS||(l.set(u.sosMarker,c),c+=sosMarker.length),p=0;p<n;p++)l[c++]=t[r+p];l[c++]=255,l[c++]=EOI}var d=new Gy.JpegDecoder;d.parse(l);for(var h=d.getData({width:d.width,height:d.height,forceRGB:!0,isSourcePDF:!1}),p=0;p<h.length;p++)i[o+p]=h[p];e.t262&&6==e.t262[0]&&(e.t262[0]=2)},Gy.decode._decodePackBits=function(e,t,r,n,i){for(var o=new Int8Array(e.buffer),s=new Int8Array(n.buffer),a=t+r;t<a;){var l=o[t];if(t++,l>=0&&l<128)for(var c=0;c<l+1;c++)s[i]=o[t],i++,t++;if(l>=-127&&l<0){for(c=0;c<1-l;c++)s[i]=o[t],i++;t++}}return i},Gy.decode._decodeThunder=function(e,t,r,n,i){for(var o=[0,1,0,-1],s=[0,1,2,3,0,-3,-2,-1],a=t+r,l=2*i,c=0;t<a;){var u=e[t],d=u>>>6,h=63&u;if(t++,3==d&&(c=15&h,n[l>>>1]|=c<<4*(1-l&1),l++),0==d)for(var p=0;p<h;p++)n[l>>>1]|=c<<4*(1-l&1),l++;if(2==d)for(p=0;p<2;p++){4!=(m=h>>>3*(1-p)&7)&&(c+=s[m],n[l>>>1]|=c<<4*(1-l&1),l++)}if(1==d)for(p=0;p<3;p++){var m;2!=(m=h>>>2*(2-p)&3)&&(c+=o[m],n[l>>>1]|=c<<4*(1-l&1),l++)}}},Gy.decode._dmap={1:0,"011":1,"000011":2,"0000011":3,"010":-1,"000010":-2,"0000010":-3},Gy.decode._lens=function(){var e=function(e,t,r,n){for(var i=0;i<t.length;i++)e[t[i]]=r+i*n},t="00110101,000111,0111,1000,1011,1100,1110,1111,10011,10100,00111,01000,001000,000011,110100,110101,101010,101011,0100111,0001100,0001000,0010111,0000011,0000100,0101000,0101011,0010011,0100100,0011000,00000010,00000011,00011010,00011011,00010010,00010011,00010100,00010101,00010110,00010111,00101000,00101001,00101010,00101011,00101100,00101101,00000100,00000101,00001010,00001011,01010010,01010011,01010100,01010101,00100100,00100101,01011000,01011001,01011010,01011011,01001010,01001011,00110010,00110011,00110100",r="0000110111,010,11,10,011,0011,0010,00011,000101,000100,0000100,0000101,0000111,00000100,00000111,000011000,0000010111,0000011000,0000001000,00001100111,00001101000,00001101100,00000110111,00000101000,00000010111,00000011000,000011001010,000011001011,000011001100,000011001101,000001101000,000001101001,000001101010,000001101011,000011010010,000011010011,000011010100,000011010101,000011010110,000011010111,000001101100,000001101101,000011011010,000011011011,000001010100,000001010101,000001010110,000001010111,000001100100,000001100101,000001010010,000001010011,000000100100,000000110111,000000111000,000000100111,000000101000,000001011000,000001011001,000000101011,000000101100,000001011010,000001100110,000001100111",n="11011,10010,010111,0110111,00110110,00110111,01100100,01100101,01101000,01100111,011001100,011001101,011010010,011010011,011010100,011010101,011010110,011010111,011011000,011011001,011011010,011011011,010011000,010011001,010011010,011000,010011011",i="0000001111,000011001000,000011001001,000001011011,000000110011,000000110100,000000110101,0000001101100,0000001101101,0000001001010,0000001001011,0000001001100,0000001001101,0000001110010,0000001110011,0000001110100,0000001110101,0000001110110,0000001110111,0000001010010,0000001010011,0000001010100,0000001010101,0000001011010,0000001011011,0000001100100,0000001100101",o="00000001000,00000001100,00000001101,000000010010,000000010011,000000010100,000000010101,000000010110,000000010111,000000011100,000000011101,000000011110,000000011111";t=t.split(","),r=r.split(","),n=n.split(","),i=i.split(","),o=o.split(",");var s={},a={};return e(s,t,0,1),e(s,n,64,64),e(s,o,1792,64),e(a,r,0,1),e(a,i,64,64),e(a,o,1792,64),[s,a]}(),Gy.decode._decodeG4=function(e,t,r,n,i,o,s){for(var a=Gy.decode,l=t<<3,c=0,u="",d=[],h=[],p=0;p<o;p++)h.push(0);h=a._makeDiff(h);for(var m=0,_=0,g=0,f=0,v=0,b=0,y="",$=0,x=8*Math.ceil(o/8);l>>>3<t+r;){g=a._findDiff(h,m+(0==m?0:1),1-v),f=a._findDiff(h,g,v);var S=0;if(1==s&&(S=e[l>>>3]>>>7-(7&l)&1),2==s&&(S=e[l>>>3]>>>(7&l)&1),l++,u+=S,"H"==y){if(null!=a._lens[v][u]){var w=a._lens[v][u];u="",c+=w,w<64&&(a._addNtimes(d,c,v),m+=c,v=1-v,c=0,0==--$&&(y=""))}}else"0001"==u&&(u="",a._addNtimes(d,f-m,v),m=f),"001"==u&&(u="",y="H",$=2),null!=a._dmap[u]&&(_=g+a._dmap[u],a._addNtimes(d,_-m,v),m=_,u="",v=1-v);d.length==o&&""==y&&(a._writeBits(d,n,8*i+b*x),v=0,b++,m=0,h=a._makeDiff(d),d=[])}},Gy.decode._findDiff=function(e,t,r){for(var n=0;n<e.length;n+=2)if(e[n]>=t&&e[n+1]==r)return e[n]},Gy.decode._makeDiff=function(e){var t=[];1==e[0]&&t.push(0,1);for(var r=1;r<e.length;r++)e[r-1]!=e[r]&&t.push(r,e[r]);return t.push(e.length,0,e.length,1),t},Gy.decode._decodeG2=function(e,t,r,n,i,o,s){for(var a=Gy.decode,l=t<<3,c=0,u="",d=[],h=0,p=0,m=8*Math.ceil(o/8);l>>>3<t+r;){var _=0;1==s&&(_=e[l>>>3]>>>7-(7&l)&1),2==s&&(_=e[l>>>3]>>>(7&l)&1),l++,u+=_,null!=(c=a._lens[h][u])&&(a._addNtimes(d,c,h),u="",c<64&&(h=1-h),d.length==o&&(a._writeBits(d,n,8*i+p*m),d=[],p++,h=0,7&l&&(l+=8-(7&l)),c>=64&&(l+=8)))}},Gy.decode._decodeG3=function(e,t,r,n,i,o,s,a){for(var l=Gy.decode,c=t<<3,u=0,d="",h=[],p=[],m=0;m<o;m++)h.push(0);for(var _=0,g=0,f=0,v=0,b=0,y=-1,$="",x=0,S=!0,w=8*Math.ceil(o/8);c>>>3<t+r;){f=l._findDiff(p,_+(0==_?0:1),1-b),v=l._findDiff(p,f,b);var A=0;if(1==s&&(A=e[c>>>3]>>>7-(7&c)&1),2==s&&(A=e[c>>>3]>>>(7&c)&1),c++,d+=A,S){if(null!=l._lens[b][d]){var C=l._lens[b][d];d="",u+=C,C<64&&(l._addNtimes(h,u,b),b=1-b,u=0)}}else if("H"==$){if(null!=l._lens[b][d]){C=l._lens[b][d];d="",u+=C,C<64&&(l._addNtimes(h,u,b),_+=u,b=1-b,u=0,0==--x&&($=""))}}else"0001"==d&&(d="",l._addNtimes(h,v-_,b),_=v),"001"==d&&(d="",$="H",x=2),null!=l._dmap[d]&&(g=f+l._dmap[d],l._addNtimes(h,g-_,b),_=g,d="",b=1-b);d.endsWith("000000000001")&&(y>=0&&l._writeBits(h,n,8*i+y*w),a&&(1==s&&(S=1==(e[c>>>3]>>>7-(7&c)&1)),2==s&&(S=1==(e[c>>>3]>>>(7&c)&1)),c++),d="",b=0,y++,_=0,p=l._makeDiff(h),h=[])}h.length==o&&l._writeBits(h,n,8*i+y*w)},Gy.decode._addNtimes=function(e,t,r){for(var n=0;n<t;n++)e.push(r)},Gy.decode._writeBits=function(e,t,r){for(var n=0;n<e.length;n++)t[r+n>>>3]|=e[n]<<7-(r+n&7)},Gy.decode._decodeLZW=Gy.decode._decodeLZW=function(){var e,t,r,n,i=0,o=0,s=0,a=0,l=function(){var r=e>>>3,n=(t[r]<<16|t[r+1]<<8|t[r+2])>>>24-(7&e)-o&(1<<o)-1;return e+=o,n},c=new Uint32Array(16384),u=0,d=function(e){o=e+1,i=a+1},h=function(e){for(var t=e<<2,i=c[t+2],o=n+i-1;65535!=t;)r[o--]=c[t],t=c[t+1];n+=i},p=function(e,t){var r=i<<2,n=e<<2;c[r]=c[3+(t<<2)],c[r+1]=n,c[r+2]=c[n+2]+1,c[r+3]=c[n+3],++i+1==1<<o&&12!=o&&o++};return function(o,m,_,g,f,v){e=m<<3,t=o,r=g,n=f;var b=m+_<<3,y=0,$=0;for(!function(e){if(e!=u){u=e,a=1+(s=1<<e);for(var t=0;t<a+1;t++)c[4*t]=c[4*t+3]=t,c[4*t+1]=65535,c[4*t+2]=1}}(v),d(v);e<b&&(y=l())!=a;){if(y==s){if(d(v),(y=l())==a)break;h(y)}else y<i?(h(y),p($,y)):(p($,$),h(i-1));$=y}return n}}(),Gy.tags={},Gy._types=function(){var e=new Array(250);e.fill(0);return{basic:{main:e=e.concat([0,0,0,0,4,3,3,3,3,3,0,0,3,0,0,0,3,0,0,2,2,2,2,4,3,0,0,3,4,4,3,3,5,5,3,2,5,5,0,0,0,0,4,4,0,0,3,3,0,0,0,0,0,0,0,2,2,0,0,0,0,0,0,0,0,2,2,3,5,5,3,0,3,3,4,4,4,3,4,0,0,0,0,0,0,0,0,0,3,3,0,0,0,0,0,0,0,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,4,4,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,3,3,5,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,7,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0]),rest:{33432:2,33434:5,33437:5,34665:4,34850:3,34853:4,34855:3,34864:3,34866:4,36864:7,36867:2,36868:2,37121:7,37377:10,37378:5,37380:10,37381:5,37383:3,37384:3,37385:3,37386:5,37510:7,37520:2,37521:2,37522:2,40960:7,40961:3,40962:4,40963:4,40965:4,41486:5,41487:5,41488:3,41985:3,41986:3,41987:3,41988:5,41989:3,41990:3,41993:3,41994:3,41995:7,41996:3,42032:2,42033:2,42034:5,42036:2,42037:2,59932:7}},gps:{main:[1,2,5,2,5,1,5,5,0,9],rest:{18:2,29:2}}}}(),Gy._readIFD=function(e,t,r,n,i,o){var s=e.readUshort(t,r);r+=2;var a={};o.debug&&log("   ".repeat(i),n.length-1,">>>----------------");for(var l=0;l<s;l++){var c=e.readUshort(t,r);r+=2;var u=e.readUshort(t,r);r+=2;var d=e.readUint(t,r);r+=4;var h=e.readUint(t,r);r+=4;var p=[];if(1==u||7==u){var m=d<5?r-4:h;m+d>t.buffer.byteLength&&(d=t.buffer.byteLength-m),p=new Uint8Array(t.buffer,m,d)}if(2==u){var _=d<5?r-4:h,g=t[_],f=Math.max(0,Math.min(d-1,t.length-_));g<128||0==f?p.push(e.readASCII(t,_,f)):p=new Uint8Array(t.buffer,_,f)}if(3==u)for(var v=0;v<d;v++)p.push(e.readUshort(t,(d<3?r-4:h)+2*v));if(4==u||13==u)for(v=0;v<d;v++)p.push(e.readUint(t,(d<2?r-4:h)+4*v));if(5==u||10==u){var b=5==u?e.readUint:e.readInt;for(v=0;v<d;v++)p.push([b(t,h+8*v),b(t,h+8*v+4)])}if(8==u)for(v=0;v<d;v++)p.push(e.readShort(t,(d<3?r-4:h)+2*v));if(9==u)for(v=0;v<d;v++)p.push(e.readInt(t,(d<2?r-4:h)+4*v));if(11==u)for(v=0;v<d;v++)p.push(e.readFloat(t,h+4*v));if(12==u)for(v=0;v<d;v++)p.push(e.readDouble(t,h+8*v));if(0==d||0!=p.length){if(o.debug&&log("   ".repeat(i),c,u,Gy.tags[c],p),a["t"+c]=p,330==c&&a.t272&&"DSLR-A100"==a.t272[0]);else if(330==c||34665==c||34853==c||50740==c&&e.readUshort(t,e.readUint(p,0))<300||61440==c){var y=50740==c?[e.readUint(p,0)]:p,$=[];for(v=0;v<y.length;v++)Gy._readIFD(e,t,y[v],$,i+1,o);330==c&&(a.subIFD=$),34665==c&&(a.exifIFD=$[0]),34853==c&&(a.gpsiIFD=$[0]),50740==c&&(a.dngPrvt=$[0]),61440==c&&(a.fujiIFD=$[0])}if(37500==c&&o.parseMN){var x=p;if("Nikon"==e.readASCII(x,0,5))a.makerNote=Gy.decode(x.slice(10).buffer)[0];else if("OLYMP"==e.readASCII(x,0,5)||"OM SYSTEM"==e.readASCII(x,0,9)){var S=[8208,8224,8240,8256,8272],w=[];Gy._readIFD(e,x,77==x[1]?16:85==x[5]?12:8,w,i+1,o);var A=a.makerNote=w.pop();for(v=0;v<S.length;v++){var C="t"+S[v];null!=A[C]&&(Gy._readIFD(e,x,A[C][0],w,i+1,o),A[C]=w.pop())}A.t12288&&(Gy._readIFD(e,A.t12288,0,w,i+1,o),A.t12288=w.pop())}else if(e.readUshort(t,h)<300&&e.readUshort(t,h+4)<=12){w=[];Gy._readIFD(e,t,h,w,i+1,o),a.makerNote=w[0]}}}else if(log(c,"unknown TIFF tag type: ",u,"num:",d),0==l)return}return n.push(a),o.debug&&log("   ".repeat(i),"<<<---------------"),r},Gy._writeIFD=function(e,t,r,n,i){var o=Object.keys(i),s=o.length;i.exifIFD&&s--,i.gpsiIFD&&s--,e.writeUshort(r,n,s);for(var a=(n+=2)+12*s+4,l=0;l<o.length;l++){var c=o[l];if("t34665"!=c&&"t34853"!=c){"exifIFD"==c&&(c="t34665"),"gpsiIFD"==c&&(c="t34853");var u=parseInt(c.slice(1)),d=t.main[u];if(null==d&&(d=t.rest[u]),null==d||0==d)throw new Error("unknown type of tag: "+u);var h=i[c];if(34665==u)h=[a],a=Gy._writeIFD(e,t,r,a,i.exifIFD)[1];if(34853==u)h=[a],a=Gy._writeIFD(e,Gy._types.gps,r,a,i.gpsiIFD)[1];2==d&&(h=h[0]+"\0");var p=h.length;e.writeUshort(r,n,u),n+=2,e.writeUshort(r,n,d),n+=2,e.writeUint(r,n,p);var m=[-1,1,1,2,4,8,0,1,0,4,8,0,8][d]*p,_=n+=4;if(m>4&&(e.writeUint(r,n,a),_=a),1==d||7==d)for(var g=0;g<p;g++)r[_+g]=h[g];else if(2==d)e.writeASCII(r,_,h);else if(3==d)for(g=0;g<p;g++)e.writeUshort(r,_+2*g,h[g]);else if(4==d)for(g=0;g<p;g++)e.writeUint(r,_+4*g,h[g]);else if(5==d||10==d){var f=5==d?e.writeUint:e.writeInt;for(g=0;g<p;g++){var v=h[g],b=v[0],y=v[1];if(null==b)throw"e";f(r,_+8*g,b),f(r,_+8*g+4,y)}}else if(9==d)for(g=0;g<p;g++)e.writeInt(r,_+4*g,h[g]);else{if(12!=d)throw d;for(g=0;g<p;g++)e.writeDouble(r,_+8*g,h[g])}m>4&&(a+=m+=1&m),n+=4}}return[n,a]},Gy.toRGBA8=function(e,t){function r(e){return e<.0031308?12.92*e:1.055*Math.pow(e,1/2.4)-.055}var n=e.width,i=e.height,o=n*i,s=e.data,a=new Uint8Array(4*o),l=e.t262?e.t262[0]:2,c=e.t258?Math.min(32,e.t258[0]):1;null==e.t262&&1==c&&(l=0);var u=e.t277?e.t277[0]:e.t258?e.t258.length:[1,1,3,1,1,4,3][l],d=e.t339?e.t339[0]:null;if(1==l&&32==c&&3!=d)throw"e";var h=Math.ceil(u*c*n/8);if(0==l){t=1/256;for(var p=0;p<i;p++){var m=p*h,_=p*n;if(1==c)for(var g=0;g<n;g++){var f=_+g<<2,v=s[m+(g>>3)]>>7-(7&g)&1;a[f]=a[f+1]=a[f+2]=255*(1-v),a[f+3]=255}if(4==c)for(g=0;g<n;g++){f=_+g<<2,v=s[m+(g>>1)]>>4-4*(1&g)&15;a[f]=a[f+1]=a[f+2]=17*(15-v),a[f+3]=255}if(8==c)for(g=0;g<n;g++){f=_+g<<2,v=s[m+g];a[f]=a[f+1]=a[f+2]=255-v,a[f+3]=255}if(16==c)for(g=0;g<n;g++){f=_+g<<2,v=s[(y=m+2*g)+1]<<8|s[y];a[f]=a[f+1]=a[f+2]=Math.min(255,255-~~(v*t)),a[f+3]=255}}}else if(1==l){null==t&&(t=1/256);var b=3&s.length?null:new Float32Array(s.buffer);for(p=0;p<i;p++){m=p*h,_=p*n;if(1==c)for(g=0;g<n;g++){f=_+g<<2,v=s[m+(g>>3)]>>7-(7&g)&1;a[f]=a[f+1]=a[f+2]=255*v,a[f+3]=255}if(2==c)for(g=0;g<n;g++){f=_+g<<2,v=s[m+(g>>2)]>>6-2*(3&g)&3;a[f]=a[f+1]=a[f+2]=85*v,a[f+3]=255}if(8==c)for(g=0;g<n;g++){f=_+g<<2,v=s[m+g*u];a[f]=a[f+1]=a[f+2]=v,a[f+3]=255}if(16==c)for(g=0;g<n;g++){f=_+g<<2,v=s[(y=m+2*g)+1]<<8|s[y];a[f]=a[f+1]=a[f+2]=Math.min(255,~~(v*t)),a[f+3]=255}if(32==c)for(g=0;g<n;g++){var y;f=_+g<<2,v=b[y=(m>>>2)+g];a[f]=a[f+1]=a[f+2]=~~(.5+255*v),a[f+3]=255}}}else if(2==l)if(8==c){if(1==u)for(g=0;g<o;g++)a[4*g]=a[4*g+1]=a[4*g+2]=s[g],a[4*g+3]=255;if(3==u)for(g=0;g<o;g++){var $=3*g;a[f=g<<2]=s[$],a[f+1]=s[$+1],a[f+2]=s[$+2],a[f+3]=255}if(u>=4)for(g=0;g<o;g++){$=g*u;a[f=g<<2]=s[$],a[f+1]=s[$+1],a[f+2]=s[$+2],a[f+3]=s[$+3]}}else if(16==c){if(4==u)for(g=0;g<o;g++){$=8*g+1;a[f=g<<2]=s[$],a[f+1]=s[$+2],a[f+2]=s[$+4],a[f+3]=s[$+6]}if(3==u)for(g=0;g<o;g++){$=6*g+1;a[f=g<<2]=s[$],a[f+1]=s[$+2],a[f+2]=s[$+4],a[f+3]=255}}else{if(32!=c)throw c;var x=new Float32Array(s.buffer),S=0;for(g=0;g<x.length;g++)S=Math.min(S,x[g]);if(S<0)for(g=0;g<s.length;g+=4){var w=s[g];s[g]=s[g+3],s[g+3]=w,w=s[g+1],s[g+1]=s[g+2],s[g+2]=w}var A=[];for(g=0;g<65536;g++)A.push(r(g/65535));for(g=0;g<x.length;g++){var C=Math.max(0,Math.min(1,x[g]));x[g]=A[~~(.5+65535*C)]}if(3==u)for(g=0;g<o;g++){$=3*g;a[f=g<<2]=~~(.5+255*x[$]),a[f+1]=~~(.5+255*x[$+1]),a[f+2]=~~(.5+255*x[$+2]),a[f+3]=255}else{if(4!=u)throw u;for(g=0;g<o;g++){$=4*g;a[f=g<<2]=~~(.5+255*x[$]),a[f+1]=~~(.5+255*x[$+1]),a[f+2]=~~(.5+255*x[$+2]),a[f+3]=~~(.5+255*x[$+3])}}}else if(3==l){var E=e.t320,I=1<<c,M=8==c&&u>1&&e.t338&&0!=e.t338[0];for(p=0;p<i;p++)for(var k=0;k<n;k++){f=(g=p*n+k)<<2;var T=0,R=p*h;if(1==c)T=s[R+(k>>>3)]>>>7-(7&k)&1;else if(2==c)T=s[R+(k>>>2)]>>>6-2*(3&k)&3;else if(4==c)T=s[R+(k>>>1)]>>>4-4*(1&k)&15;else{if(8!=c)throw c;T=s[R+k*u]}a[f]=E[T]>>8,a[f+1]=E[I+T]>>8,a[f+2]=E[I+I+T]>>8,a[f+3]=M?s[R+k*u+1]:255}}else if(5==l){var L=u>4?1:0;for(g=0;g<o;g++){f=g<<2;var P=g*u;if(window.UDOC){var D=s[P],N=s[P+1],F=s[P+2],O=s[P+3],B=UDOC.C.cmykToRgb([D*(1/255),N*(1/255),F*(1/255),O*(1/255)]);a[f]=~~(.5+255*B[0]),a[f+1]=~~(.5+255*B[1]),a[f+2]=~~(.5+255*B[2])}else{D=255-s[P],N=255-s[P+1],F=255-s[P+2],O=(255-s[P+3])*(1/255);a[f]=~~(D*O+.5),a[f+1]=~~(N*O+.5),a[f+2]=~~(F*O+.5)}a[f+3]=255*(1-L)+s[P+4]*L}}else if(6==l&&e.t278){var U=e.t278[0];for(p=0;p<i;p+=U){g=p*n;for(var V=U*n,z=0;z<V;z++){f=4*(g+z),F=s[(P=3*g+4*(z>>>1))+(1&z)];var H=s[P+2]-128,G=s[P+3]-128,j=F+((G>>2)+(G>>3)+(G>>5)),J=F-((H>>2)+(H>>4)+(H>>5))-((G>>1)+(G>>3)+(G>>4)+(G>>5)),W=F+(H+(H>>1)+(H>>2)+(H>>6));a[f]=Math.max(0,Math.min(255,j)),a[f+1]=Math.max(0,Math.min(255,J)),a[f+2]=Math.max(0,Math.min(255,W)),a[f+3]=255}}}else if(32845==l)for(p=0;p<i;p++)for(k=0;k<n;k++){f=4*(p*n+k);var Q=s[(P=6*(p*n+k))+1]<<8|s[P],q=(Q=Math.pow(2,(Q+.5)/256-64),(s[P+3]+.5)/410),Y=(s[P+5]+.5)/410,X=9*q/(6*q-16*Y+12),K=4*Y/(6*q-16*Y+12),Z=X*Q/K,ee=(1-X-K)*Q/K;j=2.69*Z-1.276*(F=Q)-.414*ee,J=-1.022*Z+1.978*F+.044*ee,W=.061*Z-.224*F+1.163*ee;a[f]=255*r(Math.min(j,1)),a[f+1]=255*r(Math.min(J,1)),a[f+2]=255*r(Math.min(W,1)),a[f+3]=255}else log("Unknown Photometric interpretation: "+l);return a},Gy.replaceIMG=function(e){null==e&&(e=document.getElementsByTagName("img"));for(var t=["tif","tiff","dng","cr2","nef"],r=0;r<e.length;r++){var n=e[r],i=n.getAttribute("src");if(null!=i){var o=i.split(".").pop().toLowerCase();if(-1!=t.indexOf(o)){var s=new XMLHttpRequest;Gy._xhrs.push(s),Gy._imgs.push(n),s.open("GET",i),s.responseType="arraybuffer",s.onload=Gy._imgLoaded,s.send()}}}},Gy._xhrs=[],Gy._imgs=[],Gy._imgLoaded=function(e){var t=Gy._xhrs.indexOf(e.target),r=Gy._imgs[t];Gy._xhrs.splice(t,1),Gy._imgs.splice(t,1),r.setAttribute("src",Gy.bufferToURI(e.target.response))},Gy.bufferToURI=function(e){var t=Gy.decode(e),r=t,n=0,i=r[0];t[0].subIFD&&(r=r.concat(t[0].subIFD));for(var o=0;o<r.length;o++){var s=r[o];if(!(null==s.t258||s.t258.length<3)){var a=s.t256*s.t257;a>n&&(n=a,i=s)}}Gy.decodeImage(e,i,t);var l=Gy.toRGBA8(i),c=i.width,u=i.height,d=document.createElement("canvas");d.width=c,d.height=u;var h=d.getContext("2d"),p=new ImageData(new Uint8ClampedArray(l.buffer),c,u);return h.putImageData(p,0,0),d.toDataURL()},Gy._binBE={nextZero:function(e,t){for(;0!=e[t];)t++;return t},readUshort:function(e,t){return e[t]<<8|e[t+1]},readShort:function(e,t){var r=Gy._binBE.ui8;return r[0]=e[t+1],r[1]=e[t+0],Gy._binBE.i16[0]},readInt:function(e,t){var r=Gy._binBE.ui8;return r[0]=e[t+3],r[1]=e[t+2],r[2]=e[t+1],r[3]=e[t+0],Gy._binBE.i32[0]},readUint:function(e,t){var r=Gy._binBE.ui8;return r[0]=e[t+3],r[1]=e[t+2],r[2]=e[t+1],r[3]=e[t+0],Gy._binBE.ui32[0]},readASCII:function(e,t,r){for(var n="",i=0;i<r;i++)n+=String.fromCharCode(e[t+i]);return n},readFloat:function(e,t){for(var r=Gy._binBE.ui8,n=0;n<4;n++)r[n]=e[t+3-n];return Gy._binBE.fl32[0]},readDouble:function(e,t){for(var r=Gy._binBE.ui8,n=0;n<8;n++)r[n]=e[t+7-n];return Gy._binBE.fl64[0]},writeUshort:function(e,t,r){e[t]=r>>8&255,e[t+1]=255&r},writeInt:function(e,t,r){var n=Gy._binBE.ui8;Gy._binBE.i32[0]=r,e[t+3]=n[0],e[t+2]=n[1],e[t+1]=n[2],e[t+0]=n[3]},writeUint:function(e,t,r){e[t]=r>>24&255,e[t+1]=r>>16&255,e[t+2]=r>>8&255,e[t+3]=255&r},writeASCII:function(e,t,r){for(var n=0;n<r.length;n++)e[t+n]=r.charCodeAt(n)},writeDouble:function(e,t,r){Gy._binBE.fl64[0]=r;for(var n=0;n<8;n++)e[t+n]=Gy._binBE.ui8[7-n]}},Gy._binBE.ui8=new Uint8Array(8),Gy._binBE.i16=new Int16Array(Gy._binBE.ui8.buffer),Gy._binBE.i32=new Int32Array(Gy._binBE.ui8.buffer),Gy._binBE.ui32=new Uint32Array(Gy._binBE.ui8.buffer),Gy._binBE.fl32=new Float32Array(Gy._binBE.ui8.buffer),Gy._binBE.fl64=new Float64Array(Gy._binBE.ui8.buffer),Gy._binLE={nextZero:Gy._binBE.nextZero,readUshort:function(e,t){return e[t+1]<<8|e[t]},readShort:function(e,t){var r=Gy._binBE.ui8;return r[0]=e[t+0],r[1]=e[t+1],Gy._binBE.i16[0]},readInt:function(e,t){var r=Gy._binBE.ui8;return r[0]=e[t+0],r[1]=e[t+1],r[2]=e[t+2],r[3]=e[t+3],Gy._binBE.i32[0]},readUint:function(e,t){var r=Gy._binBE.ui8;return r[0]=e[t+0],r[1]=e[t+1],r[2]=e[t+2],r[3]=e[t+3],Gy._binBE.ui32[0]},readASCII:Gy._binBE.readASCII,readFloat:function(e,t){for(var r=Gy._binBE.ui8,n=0;n<4;n++)r[n]=e[t+n];return Gy._binBE.fl32[0]},readDouble:function(e,t){for(var r=Gy._binBE.ui8,n=0;n<8;n++)r[n]=e[t+n];return Gy._binBE.fl64[0]},writeUshort:function(e,t,r){e[t]=255&r,e[t+1]=r>>8&255},writeInt:function(e,t,r){var n=Gy._binBE.ui8;Gy._binBE.i32[0]=r,e[t+0]=n[0],e[t+1]=n[1],e[t+2]=n[2],e[t+3]=n[3]},writeUint:function(e,t,r){e[t]=r>>>0&255,e[t+1]=r>>>8&255,e[t+2]=r>>>16&255,e[t+3]=r>>>24&255},writeASCII:Gy._binBE.writeASCII},Gy._copyTile=function(e,t,r,n,i,o,s,a){for(var l=Math.min(t,i-s),c=Math.min(r,o-a),u=0;u<c;u++)for(var d=(a+u)*i+s,h=u*t,p=0;p<l;p++)n[d+p]=e[h+p]},Gy._inflateRaw=function(){var e={H:{}};return e.H.N=function(t,r){var n,i,o=Uint8Array,s=0,a=0,l=0,c=0,u=0,d=0,h=0,p=0,m=0;if(3==t[0]&&0==t[1])return r||new o(0);var _=e.H,g=_.b,f=_.e,v=_.R,b=_.n,y=_.A,$=_.Z,x=_.m,S=null==r;for(S&&(r=new o(t.length>>>2<<5));0==s;)if(s=g(t,m,1),a=g(t,m+1,2),m+=3,0!=a){if(S&&(r=e.H.W(r,p+(1<<17))),1==a&&(n=x.J,i=x.h,d=511,h=31),2==a){l=f(t,m,5)+257,c=f(t,m+5,5)+1,u=f(t,m+10,4)+4;m+=14;for(var w=1,A=0;A<38;A+=2)x.Q[A]=0,x.Q[A+1]=0;for(A=0;A<u;A++){var C=f(t,m+3*A,3);x.Q[1+(x.X[A]<<1)]=C,C>w&&(w=C)}m+=3*u,b(x.Q,w),y(x.Q,w,x.u),n=x.w,i=x.d,m=v(x.u,(1<<w)-1,l+c,t,m,x.v);var E=_.V(x.v,0,l,x.C);d=(1<<E)-1;var I=_.V(x.v,l,c,x.D);h=(1<<I)-1,b(x.C,E),y(x.C,E,n),b(x.D,I),y(x.D,I,i)}for(;;){var M=n[$(t,m)&d];m+=15&M;var k=M>>>4;if(k>>>8==0)r[p++]=k;else{if(256==k)break;var T=p+k-254;if(k>264){var R=x.q[k-257];T=p+(R>>>3)+f(t,m,7&R),m+=7&R}var L=i[$(t,m)&h];m+=15&L;var P=L>>>4,D=x.c[P],N=(D>>>4)+g(t,m,15&D);for(m+=15&D;p<T;)r[p]=r[p++-N],r[p]=r[p++-N],r[p]=r[p++-N],r[p]=r[p++-N];p=T}}}else{7&m&&(m+=8-(7&m));var F=(m>>>3)+4,O=t[F-4]|t[F-3]<<8;S&&(r=e.H.W(r,p+O)),r.set(new o(t.buffer,t.byteOffset+F,O),p),m=F+O<<3,p+=O}return r.length==p?r:r.slice(0,p)},e.H.W=function(e,t){var r=e.length;if(t<=r)return e;var n=new Uint8Array(r<<1);return n.set(e,0),n},e.H.R=function(t,r,n,i,o,s){for(var a=e.H.e,l=e.H.Z,c=0;c<n;){var u=t[l(i,o)&r];o+=15&u;var d=u>>>4;if(d<=15)s[c]=d,c++;else{var h=0,p=0;16==d?(p=3+a(i,o,2),o+=2,h=s[c-1]):17==d?(p=3+a(i,o,3),o+=3):18==d&&(p=11+a(i,o,7),o+=7);for(var m=c+p;c<m;)s[c]=h,c++}}return o},e.H.V=function(e,t,r,n){for(var i=0,o=0,s=n.length>>>1;o<r;){var a=e[o+t];n[o<<1]=0,n[1+(o<<1)]=a,a>i&&(i=a),o++}for(;o<s;)n[o<<1]=0,n[1+(o<<1)]=0,o++;return i},e.H.n=function(t,r){for(var n,i,o,s,a=e.H.m,l=t.length,c=a.j,u=0;u<=r;u++)c[u]=0;for(u=1;u<l;u+=2)c[t[u]]++;var d=a.K;for(n=0,c[0]=0,i=1;i<=r;i++)n=n+c[i-1]<<1,d[i]=n;for(o=0;o<l;o+=2)0!=(s=t[o+1])&&(t[o]=d[s],d[s]++)},e.H.A=function(t,r,n){for(var i=t.length,o=e.H.m.r,s=0;s<i;s+=2)if(0!=t[s+1])for(var a=s>>1,l=t[s+1],c=a<<4|l,u=r-l,d=t[s]<<u,h=d+(1<<u);d!=h;){n[o[d]>>>15-r]=c,d++}},e.H.l=function(t,r){for(var n=e.H.m.r,i=15-r,o=0;o<t.length;o+=2){var s=t[o]<<r-t[o+1];t[o]=n[s]>>>i}},e.H.M=function(e,t,r){r<<=7&t;var n=t>>>3;e[n]|=r,e[n+1]|=r>>>8},e.H.I=function(e,t,r){r<<=7&t;var n=t>>>3;e[n]|=r,e[n+1]|=r>>>8,e[n+2]|=r>>>16},e.H.e=function(e,t,r){return(e[t>>>3]|e[(t>>>3)+1]<<8)>>>(7&t)&(1<<r)-1},e.H.b=function(e,t,r){return(e[t>>>3]|e[(t>>>3)+1]<<8|e[(t>>>3)+2]<<16)>>>(7&t)&(1<<r)-1},e.H.Z=function(e,t){return(e[t>>>3]|e[(t>>>3)+1]<<8|e[(t>>>3)+2]<<16)>>>(7&t)},e.H.i=function(e,t){return(e[t>>>3]|e[(t>>>3)+1]<<8|e[(t>>>3)+2]<<16|e[(t>>>3)+3]<<24)>>>(7&t)},e.H.m=function(){var e=Uint16Array,t=Uint32Array;return{K:new e(16),j:new e(16),X:[16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15],S:[3,4,5,6,7,8,9,10,11,13,15,17,19,23,27,31,35,43,51,59,67,83,99,115,131,163,195,227,258,999,999,999],T:[0,0,0,0,0,0,0,0,1,1,1,1,2,2,2,2,3,3,3,3,4,4,4,4,5,5,5,5,0,0,0,0],q:new e(32),p:[1,2,3,4,5,7,9,13,17,25,33,49,65,97,129,193,257,385,513,769,1025,1537,2049,3073,4097,6145,8193,12289,16385,24577,65535,65535],z:[0,0,0,0,1,1,2,2,3,3,4,4,5,5,6,6,7,7,8,8,9,9,10,10,11,11,12,12,13,13,0,0],c:new t(32),J:new e(512),_:[],h:new e(32),$:[],w:new e(32768),C:[],v:[],d:new e(32768),D:[],u:new e(512),Q:[],r:new e(32768),s:new t(286),Y:new t(30),a:new t(19),t:new t(15e3),k:new e(65536),g:new e(32768)}}(),function(){for(var t=e.H.m,r=0;r<32768;r++){var n=r;n=(4278255360&(n=(4042322160&(n=(3435973836&(n=(2863311530&n)>>>1|(1431655765&n)<<1))>>>2|(858993459&n)<<2))>>>4|(252645135&n)<<4))>>>8|(16711935&n)<<8,t.r[r]=(n>>>16|n<<16)>>>17}function i(e,t,r){for(;0!=t--;)e.push(0,r)}for(r=0;r<32;r++)t.q[r]=t.S[r]<<3|t.T[r],t.c[r]=t.p[r]<<4|t.z[r];i(t._,144,8),i(t._,112,9),i(t._,24,7),i(t._,8,8),e.H.n(t._,9),e.H.A(t._,9,t.J),e.H.l(t._,9),i(t.$,32,5),e.H.n(t.$,5),e.H.A(t.$,5,t.h),e.H.l(t.$,5),i(t.Q,19,0),i(t.C,286,0),i(t.D,30,0),i(t.v,320,0)}(),e.H.N}(),Gy.LosslessJpegDecode=function(){var e,t;function r(){return e[t++]}function n(){return e[t++]<<8|e[t++]}function i(e){for(var t=r(),n=[0,0,0,255],i=[],s=0;s<16;s++)i[s]=r();for(s=0;s<16;s++)for(var a=0;a<i[s];a++){n[o(n,0,s+1,1)+3]=r()}var l=new Uint8Array(256);e[t]=[new Uint8Array(n),l];for(s=0;s<256;s++){for(var c=8,u=s,d=0;255==n[d+3]&&0!=c;)d=n[d+(u>>--c&1)];l[s]=d}}function o(e,t,r,n){if(255!=e[t+3])return 0;if(0==r)return t;for(var i=0;i<2;i++){0==e[t+i]&&(e[t+i]=e.length,e.push(0,0,n,255));var s=o(e,e[t+i],r-1,n+1);if(0!=s)return s}return 0}function s(e){for(var t=e.b,r=e.f;t<25&&e.a<e.d;){var n=e.data[e.a++];255!=n||e.c||e.a++,r=r<<8|n,t+=8}if(t<0)throw"e";e.b=t,e.f=r}function a(e,t){return t.b<e&&s(t),t.f>>(t.b-=e)&65535>>16-e}function l(e,t){var r=e[0],n=0,i=255;t.b<16&&s(t);var o=t.f>>t.b-8&255;for(i=r[(n=e[1][o])+3],t.b-=r[n+2];255==i;)i=r[(n=r[n+(t.f>>--t.b&1)])+3];return i}function c(e,t){return e<32768>>16-t&&(e+=1-(1<<t)),e}function u(e,t){var r=l(e,t);return 0==r?0:16==r?-32768:c(a(r,t),r)}function d(e,t,r,n,i,o){for(var s=0,a=0;a<o;a++){for(var l=a*t,c=0;c<t;c+=i){s++;for(var d=0;d<i;d++)e[l+c+d]=u(n[d],r)}if(0!=r.e&&s%r.e==0&&0!=a){for(var h=r.a,p=r.data;255!=p[h]||!(208<=p[h+1]&&p[h+1]<=215);)h--;r.a=h+2,r.f=0,r.b=0}}}function h(e,t){return c(a(e,t),e)}function p(e,t,r,n,i,o,s,a){for(var l=r*s,c=i;c<o;c++)e[c]+=1<<a-1;for(var u=s;u<l;u+=s)for(c=i;c<o;c++)e[u+c]+=e[u+c-s];for(var d=1;d<n;d++){var h=d*l;for(c=i;c<o;c++)e[h+c]+=e[h+c-l];for(u=s;u<l;u+=s)for(c=i;c<o;c++){var p=h+u+c,m=p-l,_=e[p-s],g=0;if(0==t)g=0;else if(1==t)g=_;else if(2==t)g=e[m];else if(3==t)g=e[m-s];else if(4==t)g=_+(e[m]-e[m-s]);else if(5==t)g=_+(e[m]-e[m-s]>>>1);else if(6==t)g=e[m]+(_-e[m-s]>>>1);else{if(7!=t)throw t;g=_+e[m]>>>1}e[p]+=g}}}return function(o){if(e=o,t=0,65496!=n())throw"e";for(var s=[],a=0,c=0,u=0,m=[],_=[],g=[],f=0,v=0,b=0;;){var y=n();if(65535!=y){var $=n();if(65475==y){c=r(),v=n(),b=n(),f=r();for(var x=0;x<f;x++){var S=r(),w=r();if(0!=r())throw"e";s[S]=[x,w>>4,15&w]}}else if(65476==y)for(var A=t+$-2;t<A;)i(_);else{if(65498==y){t++;for(x=0;x<f;x++){var C=s[r()];g[C[0]]=_[r()>>>4],m[C[0]]=C.slice(1)}a=r(),t+=2;break}65501==y?u=n():t+=$-2}}else t--}var E=new(c>8?Uint16Array:Uint8Array)(v*b*f),I={b:0,f:0,c:8==a,a:t,data:e,d:e.length,e:u};if(I.c)!function(r,n,i,o,s){for(var a=e.length-t,c=0;c<a;c+=4){var u=e[t+c];e[t+c]=e[t+c+3],e[t+c+3]=u,u=e[t+c+1],e[t+c+1]=e[t+c+2],e[t+c+2]=u}for(var d=0;d<s;d++)for(var p=32768,m=32768,_=0;_<n;_+=2){var g=l(o,i),f=l(o,i);0!=g&&(p+=h(g,i)),0!=f&&(m+=h(f,i)),r[d*n+_]=65535&p,r[d*n+_+1]=65535&m}}(E,b*f,I,g[0],v);else{var M=[],k=0,T=0;for(x=0;x<f;x++){var R=m[x];(z=R[0])>k&&(k=z),(V=R[1])>T&&(T=V),M.push(z*V)}if(1!=k||1!=T){if(3!=f||1!=M[1]||1!=M[2])throw"e";if(2!=k||1!=T&&2!=T)throw"e";var L=[],P=0;for(x=0;x<f;x++){for(var D=0;D<M[x];D++)L.push(g[x]);P+=M[x]}var N=b/k,F=v/T,O=N*F;d(E,N*P,I,L,P,F),p(E,a,N,F,P-2,P,P,c);var B=new Uint16Array(O*M[0]);if(2==k&&2==T){for(x=0;x<O;x++)B[4*x]=E[6*x],B[4*x+1]=E[6*x+1],B[4*x+2]=E[6*x+2],B[4*x+3]=E[6*x+3];p(B,a,4*N,F,0,1,1,c);for(x=0;x<O;x++)E[6*x]=B[4*x],E[6*x+1]=B[4*x+1],E[6*x+2]=B[4*x+2],E[6*x+3]=B[4*x+3]}if(2==k&&1==T){for(x=0;x<O;x++)B[2*x]=E[4*x],B[2*x+1]=E[4*x+1];p(B,a,2*N,F,0,1,1,c);for(x=0;x<O;x++)E[4*x]=B[2*x],E[4*x+1]=B[2*x+1]}for(var U=E.slice(0),V=0;V<v;V++)if(2==T)for(var z=0;z<b;z++){var H=((V>>>1)*N+(z>>>1))*P,G=2*(1&V)+(1&z);E[j=(V*b+z)*f]=U[H+G],E[j+1]=U[H+4],E[j+2]=U[H+5]}else for(z=0;z<b;z++){var j;H=(V*N+(z>>>1))*P,G=1&z;E[j=(V*b+z)*f]=U[H+G],E[j+1]=U[H+2],E[j+2]=U[H+3]}}else if(d(E,b*f,I,g,f,v),0==u)p(E,a,b,v,0,f,f,c);else{var J=Math.floor(u/b);for(V=0;V<v;V+=J){var W=E.slice(V*b*f,(V+J)*b*f);p(W,a,b,J,0,f,f,c),E.set(W,V*b*f)}}}return E}}(),function(){var e=5,t=6,r=13,n=14;function i(e){var t={c:new Int8Array(2<<e.u)};return function(e,t,r){var n=[t,3*t+18,5*t+67,7*t+276,r];e.o=t,e.w=(n[4]+2*t)/(2*t+1)+1|0,e.v=Math.ceil(Math.log2(e.w)),e.t=9,function(e,t){for(var r=-t[4],n=0;r<=t[4];n++,r++)e[n]=r<=-t[3]?-4:r<=-t[2]?-3:r<=-t[1]?-2:r<-t[0]?-1:r<=t[0]?0:r<t[1]?1:r<t[2]?2:r<t[3]?3:4}(e.c,n)}(t,0,e.g),t}function o(e){for(var t=[[],[],[]],r=Math.max(2,e.w+32>>>6),n=0;n<3;n++)for(var i=0;i<41;i++)t[n][i]=[r,1];return t}function s(e,t){var r=0,n=8-e.a;e.j,e.a;if(t){if(t>=n)do{r<<=n,t-=n,r|=e[e.j]&(1<<n)-1,e.j++,n=8}while(t>=8);t&&(r<<=t,n-=t,r|=e[e.j]>>>n&(1<<t)-1),e.a=8-n}return r}function a(e,t,r,n,i,o,a,l){null==l&&(l=0);var c,u,d,h,p,m,_=o+1,g=_%2,f=0,v=n[i],b=n[i-1],y=n[i-2][_],$=b[_-1],x=b[_],S=b[_+1],w=v[_-1],A=v[_+1],C=Math.abs;if(g&&(d=C(S-x),h=C(y-x),p=C($-x)),g){if(m=(m=d>p&&h<d?y+$:d<p&&h<p?y+S:S+$)+2*x>>>2,l)return void(v[_]=m);c=t.t*t.c[e.g+x-y]+t.c[e.g+$-x]}else m=x>$&&x>S||x<$&&x<S?A+w+2*x>>>2:w+A>>>1,c=t.t*t.c[e.g+x-$]+t.c[e.g+$-w];u=C(c);var E=function(e){for(var t=-1,r=0;!r;t++)r=e[e.j]>>>7-e.a&1,e.a++,e.a&=7,e.a||e.j++;return t}(r);if(E<e.n-t.v-1){var I=function(e,t){var r=0;if(t<e)for(;r<=14&&t<<++r<e;);return r}(a[u][0],a[u][1]);f=s(r,I)+(E<<I)}else f=s(r,t.v)+1;f=1&f?-1-(f>>>1):f>>>1,a[u][0]+=C(f),a[u][1]==e.f&&(a[u][0]>>>=1,a[u][1]>>>=1),a[u][1]++,m=c<0?m-f:m+f,e.i&&(m<0?m+=t.w:m>e.g&&(m-=t.w)),v[_]=m>=0?Math.min(m,e.g):0}function l(e,t,r){for(var n=e[0].length,i=t;i<=r;i++)e[i][0]=e[i-1][1],e[i][n-1]=e[i-1][n-2]}function c(e){l(e,7,12),l(e,2,4),l(e,15,17)}function u(e,t,n,i,o,s,l,u,d,h,p,m,_){for(var g=0,f=1,v=o<r&&o>4;f<e.m;)g<e.m&&(a(e,t,n,i,o,g,l[d],e.h&&(v&&h||!v&&(p||(g&m)==_))),a(e,t,n,i,s,g,l[d],e.h&&(!v&&h||v&&(p||(g&m)==_))),g+=2),g>8&&(a(e,t,n,i,o,f,u[d]),a(e,t,n,i,s,f,u[d]),f+=2);c(i)}function d(e,t,r,n,i,o){u(e,t,r,n,2,7,i,o,0,0,1,0,8),u(e,t,r,n,8,15,i,o,1,0,1,0,8),u(e,t,r,n,3,9,i,o,2,1,0,3,0),u(e,t,r,n,10,16,i,o,0,0,0,3,2),u(e,t,r,n,4,11,i,o,1,0,0,3,2),u(e,t,r,n,12,17,i,o,2,1,0,3,0)}function h(e,t,r,n,i,o){var s=o.length,a=e.l;i+1==e.s&&(a=e.e-i*e.l);for(var l=6*e.e*n+i*e.l,c=0;c<6;c++){for(var u=0;u<a;u++){var d,h=o[c%s][u%s];d=0==h?2+(c>>>1):2==h?15+(c>>>1):7+c;var p=e.h?(2*u/3&2147483646|u%3&1)+(u%3>>>1):u>>>1;t[l+u]=r[d][p+1]}l+=e.e}}Gy._decompressRAF=function(s,a){var l=function(e){var t=Gy._binBE.readUshort,r={b:t(e,0),i:e[2],C:e[3],u:e[4],q:t(e,5),k:t(e,7),e:t(e,9),l:t(e,11),s:e[13],d:t(e,14)};if(18771!=r.b||r.i>1||r.q<6||r.q%6||r.e<768||r.e%24||768!=r.l||r.k<r.l||r.k%r.l||r.k-r.e>=r.l||r.s>16||r.s!=r.k/r.l||r.s!=Math.ceil(r.e/r.l)||r.d!=r.q/6||12!=r.u&&14!=r.u&&16!=r.u||16!=r.C&&0!=r.C)throw"Invalid data";if(0==r.i)throw"Not implemented. We need this file!";return r.h=16==r.C,r.m=0|(r.h?2*r.l/3:r.l>>>1),r.A=r.m+2,r.f=64,r.g=(1<<r.u)-1,r.n=4*r.u,r}(s),u=function(e,t){var r=new Array(t.s),n=4*t.s,i=16+n;12&n&&(i+=16-(12&n));for(var o=0,s=16;o<t.s;s+=4){var a=Gy._binBE.readUint(e,s);r[o]=e.slice(i,i+a),r[o].j=0,r[o].a=0,i+=a,o++}if(i!=e.length)throw"Invalid data";return r}(s,l),p=i(l),m=new Int16Array(l.e*l.q);null==a&&(a=l.h?[[1,1,0,1,1,2],[1,1,2,1,1,0],[2,0,1,0,2,1],[1,1,2,1,1,0],[1,1,0,1,1,2],[0,2,1,2,0,1]]:[[0,1],[3,2]]);for(var _=[[0,3],[1,4],[e,11],[t,12],[r,16],[n,17]],g=[],f=0;f<18;f++)g[f]=new Uint16Array(l.A);for(var v=0;v<l.s;v++){var b=o(p),y=o(p);for(f=0;f<18;f++)for(var $=0;$<l.A;$++)g[f][$]=0;for(var x=0;x<l.d;x++){d(l,p,u[v],g,b,y);for(f=0;f<6;f++)for($=0;$<l.A;$++)g[_[f][0]][$]=g[_[f][1]][$];h(l,m,g,x,v,a);for(f=2;f<18;f++)if(-1==[e,t,r,n].indexOf(f))for($=0;$<l.A;$++)g[f][$]=0;c(g)}}return m}}();var jy,Jy;String.prototype.codePointAt||(jy=function(){try{var e={},t=Object.defineProperty,r=t(e,e,e)&&t}catch(e){}return r}(),Jy=function(e){if(null==this)throw TypeError();var t=String(this),r=t.length,n=e?Number(e):0;if(n!=n&&(n=0),!(n<0||n>=r)){var i,o=t.charCodeAt(n);return o>=55296&&o<=56319&&r>n+1&&(i=t.charCodeAt(n+1))>=56320&&i<=57343?1024*(o-55296)+i-56320+65536:o}},jy?jy(String.prototype,"codePointAt",{value:Jy,configurable:!0,writable:!0}):String.prototype.codePointAt=Jy);function Wy(){this.table=new Uint16Array(16),this.trans=new Uint16Array(288)}var Qy=new Wy,qy=new Wy,Yy=new Uint8Array(30),Xy=new Uint16Array(30),Ky=new Uint8Array(30),Zy=new Uint16Array(30);new Uint8Array([16,17,18,0,8,7,9,6,10,5,11,4,12,3,13,2,14,1,15]),new Wy,new Uint8Array(320);function e$(e,t,r,n){var i,o;for(i=0;i<r;++i)e[i]=0;for(i=0;i<30-r;++i)e[i+r]=i/r|0;for(o=n,i=0;i<30;++i)t[i]=o,o+=1<<e[i]}new Uint16Array(16);!function(e,t){var r;for(r=0;r<7;++r)e.table[r]=0;for(e.table[7]=24,e.table[8]=152,e.table[9]=112,r=0;r<24;++r)e.trans[r]=256+r;for(r=0;r<144;++r)e.trans[24+r]=r;for(r=0;r<8;++r)e.trans[168+r]=280+r;for(r=0;r<112;++r)e.trans[176+r]=144+r;for(r=0;r<5;++r)t.table[r]=0;for(t.table[5]=32,r=0;r<32;++r)t.trans[r]=r}(Qy,qy),e$(Yy,Xy,4,3),e$(Ky,Zy,2,1),Yy[28]=0,Xy[28]=258;function t$(e,t,r,n,i){return Math.pow(1-i,3)*e+3*Math.pow(1-i,2)*i*t+3*(1-i)*Math.pow(i,2)*r+Math.pow(i,3)*n}function r$(){this.x1=Number.NaN,this.y1=Number.NaN,this.x2=Number.NaN,this.y2=Number.NaN}function n$(){this.commands=[],this.fill="black",this.stroke=null,this.strokeWidth=1}function i$(e){throw new Error(e)}function o$(e,t){e||i$(t)}r$.prototype.isEmpty=function(){return isNaN(this.x1)||isNaN(this.y1)||isNaN(this.x2)||isNaN(this.y2)},r$.prototype.addPoint=function(e,t){"number"==typeof e&&((isNaN(this.x1)||isNaN(this.x2))&&(this.x1=e,this.x2=e),e<this.x1&&(this.x1=e),e>this.x2&&(this.x2=e)),"number"==typeof t&&((isNaN(this.y1)||isNaN(this.y2))&&(this.y1=t,this.y2=t),t<this.y1&&(this.y1=t),t>this.y2&&(this.y2=t))},r$.prototype.addX=function(e){this.addPoint(e,null)},r$.prototype.addY=function(e){this.addPoint(null,e)},r$.prototype.addBezier=function(e,t,r,n,i,o,s,a){var l=[e,t],c=[r,n],u=[i,o],d=[s,a];this.addPoint(e,t),this.addPoint(s,a);for(var h=0;h<=1;h++){var p=6*l[h]-12*c[h]+6*u[h],m=-3*l[h]+9*c[h]-9*u[h]+3*d[h],_=3*c[h]-3*l[h];if(0!==m){var g=Math.pow(p,2)-4*_*m;if(!(g<0)){var f=(-p+Math.sqrt(g))/(2*m);0<f&&f<1&&(0===h&&this.addX(t$(l[h],c[h],u[h],d[h],f)),1===h&&this.addY(t$(l[h],c[h],u[h],d[h],f)));var v=(-p-Math.sqrt(g))/(2*m);0<v&&v<1&&(0===h&&this.addX(t$(l[h],c[h],u[h],d[h],v)),1===h&&this.addY(t$(l[h],c[h],u[h],d[h],v)))}}else{if(0===p)continue;var b=-_/p;0<b&&b<1&&(0===h&&this.addX(t$(l[h],c[h],u[h],d[h],b)),1===h&&this.addY(t$(l[h],c[h],u[h],d[h],b)))}}},r$.prototype.addQuad=function(e,t,r,n,i,o){var s=e+2/3*(r-e),a=t+2/3*(n-t),l=s+1/3*(i-e),c=a+1/3*(o-t);this.addBezier(e,t,s,a,l,c,i,o)},n$.prototype.moveTo=function(e,t){this.commands.push({type:"M",x:e,y:t})},n$.prototype.lineTo=function(e,t){this.commands.push({type:"L",x:e,y:t})},n$.prototype.curveTo=n$.prototype.bezierCurveTo=function(e,t,r,n,i,o){this.commands.push({type:"C",x1:e,y1:t,x2:r,y2:n,x:i,y:o})},n$.prototype.quadTo=n$.prototype.quadraticCurveTo=function(e,t,r,n){this.commands.push({type:"Q",x1:e,y1:t,x:r,y:n})},n$.prototype.close=n$.prototype.closePath=function(){this.commands.push({type:"Z"})},n$.prototype.extend=function(e){if(e.commands)e=e.commands;else if(e instanceof r$){var t=e;return this.moveTo(t.x1,t.y1),this.lineTo(t.x2,t.y1),this.lineTo(t.x2,t.y2),this.lineTo(t.x1,t.y2),void this.close()}Array.prototype.push.apply(this.commands,e)},n$.prototype.getBoundingBox=function(){for(var e=new r$,t=0,r=0,n=0,i=0,o=0;o<this.commands.length;o++){var s=this.commands[o];switch(s.type){case"M":e.addPoint(s.x,s.y),t=n=s.x,r=i=s.y;break;case"L":e.addPoint(s.x,s.y),n=s.x,i=s.y;break;case"Q":e.addQuad(n,i,s.x1,s.y1,s.x,s.y),n=s.x,i=s.y;break;case"C":e.addBezier(n,i,s.x1,s.y1,s.x2,s.y2,s.x,s.y),n=s.x,i=s.y;break;case"Z":n=t,i=r;break;default:throw new Error("Unexpected path command "+s.type)}}return e.isEmpty()&&e.addPoint(0,0),e},n$.prototype.draw=function(e){e.beginPath();for(var t=0;t<this.commands.length;t+=1){var r=this.commands[t];"M"===r.type?e.moveTo(r.x,r.y):"L"===r.type?e.lineTo(r.x,r.y):"C"===r.type?e.bezierCurveTo(r.x1,r.y1,r.x2,r.y2,r.x,r.y):"Q"===r.type?e.quadraticCurveTo(r.x1,r.y1,r.x,r.y):"Z"===r.type&&e.closePath()}this.fill&&(e.fillStyle=this.fill,e.fill()),this.stroke&&(e.strokeStyle=this.stroke,e.lineWidth=this.strokeWidth,e.stroke())},n$.prototype.toPathData=function(e){function t(t){return Math.round(t)===t?""+Math.round(t):t.toFixed(e)}function r(){for(var e=arguments,r="",n=0;n<arguments.length;n+=1){var i=e[n];i>=0&&n>0&&(r+=" "),r+=t(i)}return r}e=void 0!==e?e:2;for(var n="",i=0;i<this.commands.length;i+=1){var o=this.commands[i];"M"===o.type?n+="M"+r(o.x,o.y):"L"===o.type?n+="L"+r(o.x,o.y):"C"===o.type?n+="C"+r(o.x1,o.y1,o.x2,o.y2,o.x,o.y):"Q"===o.type?n+="Q"+r(o.x1,o.y1,o.x,o.y):"Z"===o.type&&(n+="Z")}return n},n$.prototype.toSVG=function(e){var t='<path d="';return t+=this.toPathData(e),t+='"',this.fill&&"black"!==this.fill&&(null===this.fill?t+=' fill="none"':t+=' fill="'+this.fill+'"'),this.stroke&&(t+=' stroke="'+this.stroke+'" stroke-width="'+this.strokeWidth+'"'),t+="/>"},n$.prototype.toDOMElement=function(e){var t=this.toPathData(e),r=document.createElementNS("http://www.w3.org/2000/svg","path");return r.setAttribute("d",t),r};var s$={fail:i$,argument:o$,assert:o$},a$=2147483648,l$={},c$={},u$={};function d$(e){return function(){return e}}c$.BYTE=function(e){return s$.argument(e>=0&&e<=255,"Byte value should be between 0 and 255."),[e]},u$.BYTE=d$(1),c$.CHAR=function(e){return[e.charCodeAt(0)]},u$.CHAR=d$(1),c$.CHARARRAY=function(e){void 0===e&&(e="",console.warn("Undefined CHARARRAY encountered and treated as an empty string. This is probably caused by a missing glyph name."));for(var t=[],r=0;r<e.length;r+=1)t[r]=e.charCodeAt(r);return t},u$.CHARARRAY=function(e){return void 0===e?0:e.length},c$.USHORT=function(e){return[e>>8&255,255&e]},u$.USHORT=d$(2),c$.SHORT=function(e){return e>=32768&&(e=-(65536-e)),[e>>8&255,255&e]},u$.SHORT=d$(2),c$.UINT24=function(e){return[e>>16&255,e>>8&255,255&e]},u$.UINT24=d$(3),c$.ULONG=function(e){return[e>>24&255,e>>16&255,e>>8&255,255&e]},u$.ULONG=d$(4),c$.LONG=function(e){return e>=a$&&(e=-(2*a$-e)),[e>>24&255,e>>16&255,e>>8&255,255&e]},u$.LONG=d$(4),c$.FIXED=c$.ULONG,u$.FIXED=u$.ULONG,c$.FWORD=c$.SHORT,u$.FWORD=u$.SHORT,c$.UFWORD=c$.USHORT,u$.UFWORD=u$.USHORT,c$.LONGDATETIME=function(e){return[0,0,0,0,e>>24&255,e>>16&255,e>>8&255,255&e]},u$.LONGDATETIME=d$(8),c$.TAG=function(e){return s$.argument(4===e.length,"Tag should be exactly 4 ASCII characters."),[e.charCodeAt(0),e.charCodeAt(1),e.charCodeAt(2),e.charCodeAt(3)]},u$.TAG=d$(4),c$.Card8=c$.BYTE,u$.Card8=u$.BYTE,c$.Card16=c$.USHORT,u$.Card16=u$.USHORT,c$.OffSize=c$.BYTE,u$.OffSize=u$.BYTE,c$.SID=c$.USHORT,u$.SID=u$.USHORT,c$.NUMBER=function(e){return e>=-107&&e<=107?[e+139]:e>=108&&e<=1131?[247+((e-=108)>>8),255&e]:e>=-1131&&e<=-108?[251+((e=-e-108)>>8),255&e]:e>=-32768&&e<=32767?c$.NUMBER16(e):c$.NUMBER32(e)},u$.NUMBER=function(e){return c$.NUMBER(e).length},c$.NUMBER16=function(e){return[28,e>>8&255,255&e]},u$.NUMBER16=d$(3),c$.NUMBER32=function(e){return[29,e>>24&255,e>>16&255,e>>8&255,255&e]},u$.NUMBER32=d$(5),c$.REAL=function(e){var t=e.toString(),r=/\.(\d*?)(?:9{5,20}|0{5,20})\d{0,2}(?:e(.+)|$)/.exec(t);if(r){var n=parseFloat("1e"+((r[2]?+r[2]:0)+r[1].length));t=(Math.round(e*n)/n).toString()}for(var i="",o=0,s=t.length;o<s;o+=1){var a=t[o];i+="e"===a?"-"===t[++o]?"c":"b":"."===a?"a":"-"===a?"e":a}for(var l=[30],c=0,u=(i+=1&i.length?"f":"ff").length;c<u;c+=2)l.push(parseInt(i.substr(c,2),16));return l},u$.REAL=function(e){return c$.REAL(e).length},c$.NAME=c$.CHARARRAY,u$.NAME=u$.CHARARRAY,c$.STRING=c$.CHARARRAY,u$.STRING=u$.CHARARRAY,l$.UTF8=function(e,t,r){for(var n=[],i=r,o=0;o<i;o++,t+=1)n[o]=e.getUint8(t);return String.fromCharCode.apply(null,n)},l$.UTF16=function(e,t,r){for(var n=[],i=r/2,o=0;o<i;o++,t+=2)n[o]=e.getUint16(t);return String.fromCharCode.apply(null,n)},c$.UTF16=function(e){for(var t=[],r=0;r<e.length;r+=1){var n=e.charCodeAt(r);t[t.length]=n>>8&255,t[t.length]=255&n}return t},u$.UTF16=function(e){return 2*e.length};var h$={"x-mac-croatian":"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®Š™´¨≠ŽØ∞±≤≥∆µ∂∑�š∫ªºΩžø¿¡¬√ƒ≈ƫȅ ÀÃÕŒœ�—“�‘’÷◊©�€‹›Æ»–·‚„‰Âć��È�Î�ÌÓÔđÒÚÛÙıˆ˜¯πË˚¸Êæˇ","x-mac-cyrillic":"�БВГДЕЖЗИЙКЛМ�ОПРСТУФХЦЧШЩЪЫЬЭЮЯ†°�£§•¶І®©™Ђђ≠Ѓѓ∞±≤≥іµґЈЄєЇїЉљЊњјЅ¬√ƒ≈∆«»… ЋћЌќѕ–—“�‘’÷„Ўў�џ№�ё�абвгдежзийклмнопр�туфхцчшщъыь�ю","x-mac-gaelic":"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØḂ±≤≥ḃĊċḊḋḞḟĠġṀæø�ṖṗɼƒſṠ«»… ÀÃÕŒœ–—“�‘’ṡẛÿŸṪ€‹›Ŷŷṫ·Ỳỳ�ÂÊ�ËÈ�Î�ÌÓÔ♣ÒÚÛÙı�ýŴŵẄẅẀ�Ẃẃ","x-mac-greek":"Ĺ²É³ÖÜ΅àâä΄¨çéèê룙î‰ôö¦€ùûü†ΓΔΘΛΞΠß®©ΣΪ§≠°·Α±≤≥¥ΒΕΖΗΙΚΜΦΫΨΩά�¬ΟΡ≈Τ«»… ΥΧΆΈœ–―“�‘’÷ΉΊΌΎέήίό��αβψδεφγηιξκλμνοπώ�στθωςχυζϊϋ�ΰ­","x-mac-icelandic":"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü�°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑�π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“�‘’÷◊ÿŸ�€�ðÞþý·‚„‰ÂÊ�ËÈ�Î�ÌÓÔÒÚÛÙıˆ˜¯˘˙˚¸�˛ˇ","x-mac-inuit":"������������ᑉᑎ��ᑑᑕᑖᑦᑭᑮᑯᑰᑲᑳᒃᒋᒌ�ᒎ�ᒑ°ᒡᒥᒦ•¶ᒧ®©™ᒨᒪᒫᒻᓂᓃᓄᓅᓇᓈ�ᓯᓰᓱᓲᓴᓵᔅᓕᓖᓗᓘᓚᓛᓪᔨᔩᔪᔫᔭ… ᔮᔾᕕᕖᕗ–—“�‘’ᕘᕙᕚ�ᕆᕇᕈᕉᕋᕌ�ᕿᖀ�ᖂᖃᖄᖅ��ᖑᖒᖓᖔᖕᙱᙲᙳᙴᙵᙶᖖᖠᖡᖢᖣᖤᖥᖦᕼ�ł","x-mac-ce":"ÄĀ�ÉĄÖÜáąČä�Ćć鏟Ďí�ĒēĖóėôöõúĚěü†°Ę£§•¶ß®©™ę¨≠ģĮįĪ≤≥īĶ∂∑łĻļĽľĹĺŅņѬ√ńŇ∆«»… ň�ÕőŌ–—“�‘’÷◊�ŔŕŘ‹›řŖŗŠ‚„šŚś�Ťť�ŽžŪÓÔūŮÚůŰűŲų�ýķŻ�żĢˇ",macintosh:"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑�π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“�‘’÷◊ÿŸ�€‹›�fl‡·‚„‰ÂÊ�ËÈ�Î�ÌÓÔÒÚÛÙıˆ˜¯˘˙˚¸�˛ˇ","x-mac-romanian":"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ĂȘ∞±≤≥¥µ∂∑�π∫ªºΩăș¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“�‘’÷◊ÿŸ�€‹›Țț‡·‚„‰ÂÊ�ËÈ�Î�ÌÓÔÒÚÛÙıˆ˜¯˘˙˚¸�˛ˇ","x-mac-turkish":"ÄÅÇÉÑÖÜáàâäãåçéèêëíìîïñóòôöõúùûü†°¢£§•¶ß®©™´¨≠ÆØ∞±≤≥¥µ∂∑�π∫ªºΩæø¿¡¬√ƒ≈∆«»… ÀÃÕŒœ–—“�‘’÷◊ÿŸĞğİıŞş‡·‚„‰ÂÊ�ËÈ�Î�ÌÓÔÒÚÛÙˆ˜¯˘˙˚¸�˛ˇ"};l$.MACSTRING=function(e,t,r,n){var i=h$[n];if(void 0!==i){for(var o="",s=0;s<r;s++){var a=e.getUint8(t+s);o+=a<=127?String.fromCharCode(a):i[127&a]}return o}};var p$,m$="function"==typeof WeakMap&&new WeakMap;function _$(e){return e>=-128&&e<=127}function g$(e,t,r){for(var n=0,i=e.length;t<i&&n<64&&0===e[t];)++t,++n;return r.push(128|n-1),t}function f$(e,t,r){for(var n=0,i=e.length,o=t;o<i&&n<64;){var s=e[o];if(!_$(s))break;if(0===s&&o+1<i&&0===e[o+1])break;++o,++n}r.push(n-1);for(var a=t;a<o;++a)r.push(e[a]+256&255);return o}function v$(e,t,r){for(var n=0,i=e.length,o=t;o<i&&n<64;){var s=e[o];if(0===s)break;if(_$(s)&&o+1<i&&_$(e[o+1]))break;++o,++n}r.push(64|n-1);for(var a=t;a<o;++a){var l=e[a];r.push(l+65536>>8&255,l+256&255)}return o}c$.MACSTRING=function(e,t){var r=function(e){if(!p$)for(var t in p$={},h$)p$[t]=new String(t);var r=p$[e];if(void 0!==r){if(m$){var n=m$.get(r);if(void 0!==n)return n}var i=h$[e];if(void 0!==i){for(var o={},s=0;s<i.length;s++)o[i.charCodeAt(s)]=s+128;return m$&&m$.set(r,o),o}}}(t);if(void 0!==r){for(var n=[],i=0;i<e.length;i++){var o=e.charCodeAt(i);if(o>=128&&void 0===(o=r[o]))return;n[i]=o}return n}},u$.MACSTRING=function(e,t){var r=c$.MACSTRING(e,t);return void 0!==r?r.length:0},c$.VARDELTAS=function(e){for(var t=0,r=[];t<e.length;){var n=e[t];t=0===n?g$(e,t,r):n>=-128&&n<=127?f$(e,t,r):v$(e,t,r)}return r},c$.INDEX=function(e){for(var t=1,r=[t],n=[],i=0;i<e.length;i+=1){var o=c$.OBJECT(e[i]);Array.prototype.push.apply(n,o),t+=o.length,r.push(t)}if(0===n.length)return[0,0];for(var s=[],a=1+Math.floor(Math.log(t)/Math.log(2))/8|0,l=[void 0,c$.BYTE,c$.USHORT,c$.UINT24,c$.ULONG][a],c=0;c<r.length;c+=1){var u=l(r[c]);Array.prototype.push.apply(s,u)}return Array.prototype.concat(c$.Card16(e.length),c$.OffSize(a),s,n)},u$.INDEX=function(e){return c$.INDEX(e).length},c$.DICT=function(e){for(var t=[],r=Object.keys(e),n=r.length,i=0;i<n;i+=1){var o=parseInt(r[i],0),s=e[o];t=(t=t.concat(c$.OPERAND(s.value,s.type))).concat(c$.OPERATOR(o))}return t},u$.DICT=function(e){return c$.DICT(e).length},c$.OPERATOR=function(e){return e<1200?[e]:[12,e-1200]},c$.OPERAND=function(e,t){var r=[];if(Array.isArray(t))for(var n=0;n<t.length;n+=1)s$.argument(e.length===t.length,"Not enough arguments given for type"+t),r=r.concat(c$.OPERAND(e[n],t[n]));else if("SID"===t)r=r.concat(c$.NUMBER(e));else if("offset"===t)r=r.concat(c$.NUMBER32(e));else if("number"===t)r=r.concat(c$.NUMBER(e));else{if("real"!==t)throw new Error("Unknown operand type "+t);r=r.concat(c$.REAL(e))}return r},c$.OP=c$.BYTE,u$.OP=u$.BYTE;var b$="function"==typeof WeakMap&&new WeakMap;function y$(e,t,r){if(t.length&&("coverageFormat"!==t[0].name||1===t[0].value))for(var n=0;n<t.length;n+=1){var i=t[n];this[i.name]=i.value}if(this.tableName=e,this.fields=t,r)for(var o=Object.keys(r),s=0;s<o.length;s+=1){var a=o[s],l=r[a];void 0!==this[a]&&(this[a]=l)}}function $$(e,t,r){void 0===r&&(r=t.length);var n=new Array(t.length+1);n[0]={name:e+"Count",type:"USHORT",value:r};for(var i=0;i<t.length;i++)n[i+1]={name:e+i,type:"USHORT",value:t[i]};return n}function x$(e,t,r){var n=t.length,i=new Array(n+1);i[0]={name:e+"Count",type:"USHORT",value:n};for(var o=0;o<n;o++)i[o+1]={name:e+o,type:"TABLE",value:r(t[o],o)};return i}function S$(e,t,r){var n=t.length,i=[];i[0]={name:e+"Count",type:"USHORT",value:n};for(var o=0;o<n;o++)i=i.concat(r(t[o],o));return i}function w$(e){1===e.format?y$.call(this,"coverageTable",[{name:"coverageFormat",type:"USHORT",value:1}].concat($$("glyph",e.glyphs))):2===e.format?y$.call(this,"coverageTable",[{name:"coverageFormat",type:"USHORT",value:2}].concat(S$("rangeRecord",e.ranges,function(e){return[{name:"startGlyphID",type:"USHORT",value:e.start},{name:"endGlyphID",type:"USHORT",value:e.end},{name:"startCoverageIndex",type:"USHORT",value:e.index}]}))):s$.assert(!1,"Coverage format must be 1 or 2.")}function A$(e){y$.call(this,"scriptListTable",S$("scriptRecord",e,function(e,t){var r=e.script,n=r.defaultLangSys;return s$.assert(!!n,"Unable to write GSUB: script "+e.tag+" has no default language system."),[{name:"scriptTag"+t,type:"TAG",value:e.tag},{name:"script"+t,type:"TABLE",value:new y$("scriptTable",[{name:"defaultLangSys",type:"TABLE",value:new y$("defaultLangSys",[{name:"lookupOrder",type:"USHORT",value:0},{name:"reqFeatureIndex",type:"USHORT",value:n.reqFeatureIndex}].concat($$("featureIndex",n.featureIndexes)))}].concat(S$("langSys",r.langSysRecords,function(e,t){var r=e.langSys;return[{name:"langSysTag"+t,type:"TAG",value:e.tag},{name:"langSys"+t,type:"TABLE",value:new y$("langSys",[{name:"lookupOrder",type:"USHORT",value:0},{name:"reqFeatureIndex",type:"USHORT",value:r.reqFeatureIndex}].concat($$("featureIndex",r.featureIndexes)))}]})))}]}))}function C$(e){y$.call(this,"featureListTable",S$("featureRecord",e,function(e,t){var r=e.feature;return[{name:"featureTag"+t,type:"TAG",value:e.tag},{name:"feature"+t,type:"TABLE",value:new y$("featureTable",[{name:"featureParams",type:"USHORT",value:r.featureParams}].concat($$("lookupListIndex",r.lookupListIndexes)))}]}))}function E$(e,t){y$.call(this,"lookupListTable",x$("lookup",e,function(e){var r=t[e.lookupType];return s$.assert(!!r,"Unable to write GSUB lookup type "+e.lookupType+" tables."),new y$("lookupTable",[{name:"lookupType",type:"USHORT",value:e.lookupType},{name:"lookupFlag",type:"USHORT",value:e.lookupFlag}].concat(x$("subtable",e.subtables,r)))}))}c$.CHARSTRING=function(e){if(b$){var t=b$.get(e);if(void 0!==t)return t}for(var r=[],n=e.length,i=0;i<n;i+=1){var o=e[i];r=r.concat(c$[o.type](o.value))}return b$&&b$.set(e,r),r},u$.CHARSTRING=function(e){return c$.CHARSTRING(e).length},c$.OBJECT=function(e){var t=c$[e.type];return s$.argument(void 0!==t,"No encoding function for type "+e.type),t(e.value)},u$.OBJECT=function(e){var t=u$[e.type];return s$.argument(void 0!==t,"No sizeOf function for type "+e.type),t(e.value)},c$.TABLE=function(e){for(var t=[],r=e.fields.length,n=[],i=[],o=0;o<r;o+=1){var s=e.fields[o],a=c$[s.type];s$.argument(void 0!==a,"No encoding function for field type "+s.type+" ("+s.name+")");var l=e[s.name];void 0===l&&(l=s.value);var c=a(l);"TABLE"===s.type?(i.push(t.length),t=t.concat([0,0]),n.push(c)):t=t.concat(c)}for(var u=0;u<n.length;u+=1){var d=i[u],h=t.length;s$.argument(h<65536,"Table "+e.tableName+" too big."),t[d]=h>>8,t[d+1]=255&h,t=t.concat(n[u])}return t},u$.TABLE=function(e){for(var t=0,r=e.fields.length,n=0;n<r;n+=1){var i=e.fields[n],o=u$[i.type];s$.argument(void 0!==o,"No sizeOf function for field type "+i.type+" ("+i.name+")");var s=e[i.name];void 0===s&&(s=i.value),t+=o(s),"TABLE"===i.type&&(t+=2)}return t},c$.RECORD=c$.TABLE,u$.RECORD=u$.TABLE,c$.LITERAL=function(e){return e},u$.LITERAL=function(e){return e.length},y$.prototype.encode=function(){return c$.TABLE(this)},y$.prototype.sizeOf=function(){return u$.TABLE(this)},w$.prototype=Object.create(y$.prototype),w$.prototype.constructor=w$,A$.prototype=Object.create(y$.prototype),A$.prototype.constructor=A$,C$.prototype=Object.create(y$.prototype),C$.prototype.constructor=C$,E$.prototype=Object.create(y$.prototype),E$.prototype.constructor=E$;var I$={Table:y$,Record:y$,Coverage:w$,ScriptList:A$,FeatureList:C$,LookupList:E$,ushortList:$$,tableList:x$,recordList:S$};function M$(e,t){return e.getUint8(t)}function k$(e,t){return e.getUint16(t,!1)}function T$(e,t){return e.getUint32(t,!1)}function R$(e,t){return e.getInt16(t,!1)+e.getUint16(t+2,!1)/65535}var L$={byte:1,uShort:2,short:2,uLong:4,fixed:4,longDateTime:8,tag:4};function P$(e,t){this.data=e,this.offset=t,this.relativeOffset=0}P$.prototype.parseByte=function(){var e=this.data.getUint8(this.offset+this.relativeOffset);return this.relativeOffset+=1,e},P$.prototype.parseChar=function(){var e=this.data.getInt8(this.offset+this.relativeOffset);return this.relativeOffset+=1,e},P$.prototype.parseCard8=P$.prototype.parseByte,P$.prototype.parseUShort=function(){var e=this.data.getUint16(this.offset+this.relativeOffset);return this.relativeOffset+=2,e},P$.prototype.parseCard16=P$.prototype.parseUShort,P$.prototype.parseSID=P$.prototype.parseUShort,P$.prototype.parseOffset16=P$.prototype.parseUShort,P$.prototype.parseShort=function(){var e=this.data.getInt16(this.offset+this.relativeOffset);return this.relativeOffset+=2,e},P$.prototype.parseF2Dot14=function(){var e=this.data.getInt16(this.offset+this.relativeOffset)/16384;return this.relativeOffset+=2,e},P$.prototype.parseULong=function(){var e=T$(this.data,this.offset+this.relativeOffset);return this.relativeOffset+=4,e},P$.prototype.parseOffset32=P$.prototype.parseULong,P$.prototype.parseFixed=function(){var e=R$(this.data,this.offset+this.relativeOffset);return this.relativeOffset+=4,e},P$.prototype.parseString=function(e){var t=this.data,r=this.offset+this.relativeOffset,n="";this.relativeOffset+=e;for(var i=0;i<e;i++)n+=String.fromCharCode(t.getUint8(r+i));return n},P$.prototype.parseTag=function(){return this.parseString(4)},P$.prototype.parseLongDateTime=function(){var e=T$(this.data,this.offset+this.relativeOffset+4);return e-=2082844800,this.relativeOffset+=8,e},P$.prototype.parseVersion=function(e){var t=k$(this.data,this.offset+this.relativeOffset),r=k$(this.data,this.offset+this.relativeOffset+2);return this.relativeOffset+=4,void 0===e&&(e=4096),t+r/e/10},P$.prototype.skip=function(e,t){void 0===t&&(t=1),this.relativeOffset+=L$[e]*t},P$.prototype.parseULongList=function(e){void 0===e&&(e=this.parseULong());for(var t=new Array(e),r=this.data,n=this.offset+this.relativeOffset,i=0;i<e;i++)t[i]=r.getUint32(n),n+=4;return this.relativeOffset+=4*e,t},P$.prototype.parseOffset16List=P$.prototype.parseUShortList=function(e){void 0===e&&(e=this.parseUShort());for(var t=new Array(e),r=this.data,n=this.offset+this.relativeOffset,i=0;i<e;i++)t[i]=r.getUint16(n),n+=2;return this.relativeOffset+=2*e,t},P$.prototype.parseShortList=function(e){for(var t=new Array(e),r=this.data,n=this.offset+this.relativeOffset,i=0;i<e;i++)t[i]=r.getInt16(n),n+=2;return this.relativeOffset+=2*e,t},P$.prototype.parseByteList=function(e){for(var t=new Array(e),r=this.data,n=this.offset+this.relativeOffset,i=0;i<e;i++)t[i]=r.getUint8(n++);return this.relativeOffset+=e,t},P$.prototype.parseList=function(e,t){t||(t=e,e=this.parseUShort());for(var r=new Array(e),n=0;n<e;n++)r[n]=t.call(this);return r},P$.prototype.parseList32=function(e,t){t||(t=e,e=this.parseULong());for(var r=new Array(e),n=0;n<e;n++)r[n]=t.call(this);return r},P$.prototype.parseRecordList=function(e,t){t||(t=e,e=this.parseUShort());for(var r=new Array(e),n=Object.keys(t),i=0;i<e;i++){for(var o={},s=0;s<n.length;s++){var a=n[s],l=t[a];o[a]=l.call(this)}r[i]=o}return r},P$.prototype.parseRecordList32=function(e,t){t||(t=e,e=this.parseULong());for(var r=new Array(e),n=Object.keys(t),i=0;i<e;i++){for(var o={},s=0;s<n.length;s++){var a=n[s],l=t[a];o[a]=l.call(this)}r[i]=o}return r},P$.prototype.parseStruct=function(e){if("function"==typeof e)return e.call(this);for(var t=Object.keys(e),r={},n=0;n<t.length;n++){var i=t[n],o=e[i];r[i]=o.call(this)}return r},P$.prototype.parseValueRecord=function(e){if(void 0===e&&(e=this.parseUShort()),0!==e){var t={};return 1&e&&(t.xPlacement=this.parseShort()),2&e&&(t.yPlacement=this.parseShort()),4&e&&(t.xAdvance=this.parseShort()),8&e&&(t.yAdvance=this.parseShort()),16&e&&(t.xPlaDevice=void 0,this.parseShort()),32&e&&(t.yPlaDevice=void 0,this.parseShort()),64&e&&(t.xAdvDevice=void 0,this.parseShort()),128&e&&(t.yAdvDevice=void 0,this.parseShort()),t}},P$.prototype.parseValueRecordList=function(){for(var e=this.parseUShort(),t=this.parseUShort(),r=new Array(t),n=0;n<t;n++)r[n]=this.parseValueRecord(e);return r},P$.prototype.parsePointer=function(e){var t=this.parseOffset16();if(t>0)return new P$(this.data,this.offset+t).parseStruct(e)},P$.prototype.parsePointer32=function(e){var t=this.parseOffset32();if(t>0)return new P$(this.data,this.offset+t).parseStruct(e)},P$.prototype.parseListOfLists=function(e){for(var t=this.parseOffset16List(),r=t.length,n=this.relativeOffset,i=new Array(r),o=0;o<r;o++){var s=t[o];if(0!==s)if(this.relativeOffset=s,e){for(var a=this.parseOffset16List(),l=new Array(a.length),c=0;c<a.length;c++)this.relativeOffset=s+a[c],l[c]=e.call(this);i[o]=l}else i[o]=this.parseUShortList();else i[o]=void 0}return this.relativeOffset=n,i},P$.prototype.parseCoverage=function(){var e=this.offset+this.relativeOffset,t=this.parseUShort(),r=this.parseUShort();if(1===t)return{format:1,glyphs:this.parseUShortList(r)};if(2===t){for(var n=new Array(r),i=0;i<r;i++)n[i]={start:this.parseUShort(),end:this.parseUShort(),index:this.parseUShort()};return{format:2,ranges:n}}throw new Error("0x"+e.toString(16)+": Coverage format must be 1 or 2.")},P$.prototype.parseClassDef=function(){var e=this.offset+this.relativeOffset,t=this.parseUShort();if(1===t)return{format:1,startGlyph:this.parseUShort(),classes:this.parseUShortList()};if(2===t)return{format:2,ranges:this.parseRecordList({start:P$.uShort,end:P$.uShort,classId:P$.uShort})};throw new Error("0x"+e.toString(16)+": ClassDef format must be 1 or 2.")},P$.list=function(e,t){return function(){return this.parseList(e,t)}},P$.list32=function(e,t){return function(){return this.parseList32(e,t)}},P$.recordList=function(e,t){return function(){return this.parseRecordList(e,t)}},P$.recordList32=function(e,t){return function(){return this.parseRecordList32(e,t)}},P$.pointer=function(e){return function(){return this.parsePointer(e)}},P$.pointer32=function(e){return function(){return this.parsePointer32(e)}},P$.tag=P$.prototype.parseTag,P$.byte=P$.prototype.parseByte,P$.uShort=P$.offset16=P$.prototype.parseUShort,P$.uShortList=P$.prototype.parseUShortList,P$.uLong=P$.offset32=P$.prototype.parseULong,P$.uLongList=P$.prototype.parseULongList,P$.struct=P$.prototype.parseStruct,P$.coverage=P$.prototype.parseCoverage,P$.classDef=P$.prototype.parseClassDef;var D$={reserved:P$.uShort,reqFeatureIndex:P$.uShort,featureIndexes:P$.uShortList};P$.prototype.parseScriptList=function(){return this.parsePointer(P$.recordList({tag:P$.tag,script:P$.pointer({defaultLangSys:P$.pointer(D$),langSysRecords:P$.recordList({tag:P$.tag,langSys:P$.pointer(D$)})})}))||[]},P$.prototype.parseFeatureList=function(){return this.parsePointer(P$.recordList({tag:P$.tag,feature:P$.pointer({featureParams:P$.offset16,lookupListIndexes:P$.uShortList})}))||[]},P$.prototype.parseLookupList=function(e){return this.parsePointer(P$.list(P$.pointer(function(){var t=this.parseUShort();s$.argument(1<=t&&t<=9,"GPOS/GSUB lookup type "+t+" unknown.");var r=this.parseUShort(),n=16&r;return{lookupType:t,lookupFlag:r,subtables:this.parseList(P$.pointer(e[t])),markFilteringSet:n?this.parseUShort():void 0}})))||[]},P$.prototype.parseFeatureVariationsList=function(){return this.parsePointer32(function(){var e=this.parseUShort(),t=this.parseUShort();return s$.argument(1===e&&t<1,"GPOS/GSUB feature variations table unknown."),this.parseRecordList32({conditionSetOffset:P$.offset32,featureTableSubstitutionOffset:P$.offset32})})||[]};var N$={getByte:M$,getCard8:M$,getUShort:k$,getCard16:k$,getShort:function(e,t){return e.getInt16(t,!1)},getULong:T$,getFixed:R$,getTag:function(e,t){for(var r="",n=t;n<t+4;n+=1)r+=String.fromCharCode(e.getInt8(n));return r},getOffset:function(e,t,r){for(var n=0,i=0;i<r;i+=1)n<<=8,n+=e.getUint8(t+i);return n},getBytes:function(e,t,r){for(var n=[],i=t;i<r;i+=1)n.push(e.getUint8(i));return n},bytesToString:function(e){for(var t="",r=0;r<e.length;r+=1)t+=String.fromCharCode(e[r]);return t},Parser:P$};function F$(e,t,r){e.segments.push({end:t,start:t,delta:-(t-r),offset:0,glyphIndex:r})}var O$={parse:function(e,t){var r={};r.version=N$.getUShort(e,t),s$.argument(0===r.version,"cmap table version should be 0."),r.numTables=N$.getUShort(e,t+2);for(var n=-1,i=r.numTables-1;i>=0;i-=1){var o=N$.getUShort(e,t+4+8*i),s=N$.getUShort(e,t+4+8*i+2);if(3===o&&(0===s||1===s||10===s)||0===o&&(0===s||1===s||2===s||3===s||4===s)){n=N$.getULong(e,t+4+8*i+4);break}}if(-1===n)throw new Error("No valid cmap sub-tables found.");var a=new N$.Parser(e,t+n);if(r.format=a.parseUShort(),12===r.format)!function(e,t){var r;t.parseUShort(),e.length=t.parseULong(),e.language=t.parseULong(),e.groupCount=r=t.parseULong(),e.glyphIndexMap={};for(var n=0;n<r;n+=1)for(var i=t.parseULong(),o=t.parseULong(),s=t.parseULong(),a=i;a<=o;a+=1)e.glyphIndexMap[a]=s,s++}(r,a);else{if(4!==r.format)throw new Error("Only format 4 and 12 cmap tables are supported (found format "+r.format+").");!function(e,t,r,n,i){var o;e.length=t.parseUShort(),e.language=t.parseUShort(),e.segCount=o=t.parseUShort()>>1,t.skip("uShort",3),e.glyphIndexMap={};for(var s=new N$.Parser(r,n+i+14),a=new N$.Parser(r,n+i+16+2*o),l=new N$.Parser(r,n+i+16+4*o),c=new N$.Parser(r,n+i+16+6*o),u=n+i+16+8*o,d=0;d<o-1;d+=1)for(var h=void 0,p=s.parseUShort(),m=a.parseUShort(),_=l.parseShort(),g=c.parseUShort(),f=m;f<=p;f+=1)0!==g?(u=c.offset+c.relativeOffset-2,u+=g,u+=2*(f-m),0!==(h=N$.getUShort(r,u))&&(h=h+_&65535)):h=f+_&65535,e.glyphIndexMap[f]=h}(r,a,e,t,n)}return r},make:function(e){var t,r=!0;for(t=e.length-1;t>0;t-=1){if(e.get(t).unicode>65535){console.log("Adding CMAP format 12 (needed!)"),r=!1;break}}var n=[{name:"version",type:"USHORT",value:0},{name:"numTables",type:"USHORT",value:r?1:2},{name:"platformID",type:"USHORT",value:3},{name:"encodingID",type:"USHORT",value:1},{name:"offset",type:"ULONG",value:r?12:20}];r||(n=n.concat([{name:"cmap12PlatformID",type:"USHORT",value:3},{name:"cmap12EncodingID",type:"USHORT",value:10},{name:"cmap12Offset",type:"ULONG",value:0}])),n=n.concat([{name:"format",type:"USHORT",value:4},{name:"cmap4Length",type:"USHORT",value:0},{name:"language",type:"USHORT",value:0},{name:"segCountX2",type:"USHORT",value:0},{name:"searchRange",type:"USHORT",value:0},{name:"entrySelector",type:"USHORT",value:0},{name:"rangeShift",type:"USHORT",value:0}]);var i=new I$.Table("cmap",n);for(i.segments=[],t=0;t<e.length;t+=1){for(var o=e.get(t),s=0;s<o.unicodes.length;s+=1)F$(i,o.unicodes[s],t);i.segments=i.segments.sort(function(e,t){return e.start-t.start})}!function(e){e.segments.push({end:65535,start:65535,delta:1,offset:0})}(i);var a=i.segments.length,l=0,c=[],u=[],d=[],h=[],p=[],m=[];for(t=0;t<a;t+=1){var _=i.segments[t];_.end<=65535&&_.start<=65535?(c=c.concat({name:"end_"+t,type:"USHORT",value:_.end}),u=u.concat({name:"start_"+t,type:"USHORT",value:_.start}),d=d.concat({name:"idDelta_"+t,type:"SHORT",value:_.delta}),h=h.concat({name:"idRangeOffset_"+t,type:"USHORT",value:_.offset}),void 0!==_.glyphId&&(p=p.concat({name:"glyph_"+t,type:"USHORT",value:_.glyphId}))):l+=1,r||void 0===_.glyphIndex||(m=(m=(m=m.concat({name:"cmap12Start_"+t,type:"ULONG",value:_.start})).concat({name:"cmap12End_"+t,type:"ULONG",value:_.end})).concat({name:"cmap12Glyph_"+t,type:"ULONG",value:_.glyphIndex}))}if(i.segCountX2=2*(a-l),i.searchRange=2*Math.pow(2,Math.floor(Math.log(a-l)/Math.log(2))),i.entrySelector=Math.log(i.searchRange/2)/Math.log(2),i.rangeShift=i.segCountX2-i.searchRange,i.fields=i.fields.concat(c),i.fields.push({name:"reservedPad",type:"USHORT",value:0}),i.fields=i.fields.concat(u),i.fields=i.fields.concat(d),i.fields=i.fields.concat(h),i.fields=i.fields.concat(p),i.cmap4Length=14+2*c.length+2+2*u.length+2*d.length+2*h.length+2*p.length,!r){var g=16+4*m.length;i.cmap12Offset=20+i.cmap4Length,i.fields=i.fields.concat([{name:"cmap12Format",type:"USHORT",value:12},{name:"cmap12Reserved",type:"USHORT",value:0},{name:"cmap12Length",type:"ULONG",value:g},{name:"cmap12Language",type:"ULONG",value:0},{name:"cmap12nGroups",type:"ULONG",value:m.length/3}]),i.fields=i.fields.concat(m)}return i}},B$=[".notdef","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","@dh-software/three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","endash","dagger","daggerdbl","periodcentered","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","questiondown","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","ring","cedilla","hungarumlaut","ogonek","caron","emdash","AE","ordfeminine","Lslash","Oslash","OE","ordmasculine","ae","dotlessi","lslash","oslash","oe","germandbls","onesuperior","logicalnot","mu","trademark","Eth","onehalf","plusminus","Thorn","onequarter","divide","brokenbar","degree","thorn","threequarters","twosuperior","registered","minus","eth","multiply","threesuperior","copyright","Aacute","Acircumflex","Adieresis","Agrave","Aring","Atilde","Ccedilla","Eacute","Ecircumflex","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Ntilde","Oacute","Ocircumflex","Odieresis","Ograve","Otilde","Scaron","Uacute","Ucircumflex","Udieresis","Ugrave","Yacute","Ydieresis","Zcaron","aacute","acircumflex","adieresis","agrave","aring","atilde","ccedilla","eacute","ecircumflex","edieresis","egrave","iacute","icircumflex","idieresis","igrave","ntilde","oacute","ocircumflex","odieresis","ograve","otilde","scaron","uacute","ucircumflex","udieresis","ugrave","yacute","ydieresis","zcaron","exclamsmall","Hungarumlautsmall","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","266 ff","onedotenleader","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","commasuperior","threequartersemdash","periodsuperior","questionsmall","asuperior","bsuperior","centsuperior","dsuperior","esuperior","isuperior","lsuperior","msuperior","nsuperior","osuperior","rsuperior","ssuperior","tsuperior","ff","ffi","ffl","parenleftinferior","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","exclamdownsmall","centoldstyle","Lslashsmall","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","Dotaccentsmall","Macronsmall","figuredash","hypheninferior","Ogoneksmall","Ringsmall","Cedillasmall","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","zerosuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall","001.000","001.001","001.002","001.003","Black","Bold","Book","Light","Medium","Regular","Roman","Semibold"],U$=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quoteright","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","@dh-software/three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","quoteleft","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","exclamdown","cent","sterling","fraction","yen","florin","section","currency","quotesingle","quotedblleft","guillemotleft","guilsinglleft","guilsinglright","fi","fl","","endash","dagger","daggerdbl","periodcentered","","paragraph","bullet","quotesinglbase","quotedblbase","quotedblright","guillemotright","ellipsis","perthousand","","questiondown","","grave","acute","circumflex","tilde","macron","breve","dotaccent","dieresis","","ring","cedilla","","hungarumlaut","ogonek","caron","emdash","","","","","","","","","","","","","","","","","AE","","ordfeminine","","","","","Lslash","Oslash","OE","ordmasculine","","","","","","ae","","","","dotlessi","","","lslash","oslash","oe","germandbls"],V$=["","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","space","exclamsmall","Hungarumlautsmall","","dollaroldstyle","dollarsuperior","ampersandsmall","Acutesmall","parenleftsuperior","parenrightsuperior","twodotenleader","onedotenleader","comma","hyphen","period","fraction","zerooldstyle","oneoldstyle","twooldstyle","threeoldstyle","fouroldstyle","fiveoldstyle","sixoldstyle","sevenoldstyle","eightoldstyle","nineoldstyle","colon","semicolon","commasuperior","threequartersemdash","periodsuperior","questionsmall","","asuperior","bsuperior","centsuperior","dsuperior","esuperior","","","isuperior","","","lsuperior","msuperior","nsuperior","osuperior","","","rsuperior","ssuperior","tsuperior","","ff","fi","fl","ffi","ffl","parenleftinferior","","parenrightinferior","Circumflexsmall","hyphensuperior","Gravesmall","Asmall","Bsmall","Csmall","Dsmall","Esmall","Fsmall","Gsmall","Hsmall","Ismall","Jsmall","Ksmall","Lsmall","Msmall","Nsmall","Osmall","Psmall","Qsmall","Rsmall","Ssmall","Tsmall","Usmall","Vsmall","Wsmall","Xsmall","Ysmall","Zsmall","colonmonetary","onefitted","rupiah","Tildesmall","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","","exclamdownsmall","centoldstyle","Lslashsmall","","","Scaronsmall","Zcaronsmall","Dieresissmall","Brevesmall","Caronsmall","","Dotaccentsmall","","","Macronsmall","","","figuredash","hypheninferior","","","Ogoneksmall","Ringsmall","Cedillasmall","","","","onequarter","onehalf","threequarters","questiondownsmall","oneeighth","threeeighths","fiveeighths","seveneighths","onethird","twothirds","","","zerosuperior","onesuperior","twosuperior","threesuperior","foursuperior","fivesuperior","sixsuperior","sevensuperior","eightsuperior","ninesuperior","zeroinferior","oneinferior","twoinferior","threeinferior","fourinferior","fiveinferior","sixinferior","seveninferior","eightinferior","nineinferior","centinferior","dollarinferior","periodinferior","commainferior","Agravesmall","Aacutesmall","Acircumflexsmall","Atildesmall","Adieresissmall","Aringsmall","AEsmall","Ccedillasmall","Egravesmall","Eacutesmall","Ecircumflexsmall","Edieresissmall","Igravesmall","Iacutesmall","Icircumflexsmall","Idieresissmall","Ethsmall","Ntildesmall","Ogravesmall","Oacutesmall","Ocircumflexsmall","Otildesmall","Odieresissmall","OEsmall","Oslashsmall","Ugravesmall","Uacutesmall","Ucircumflexsmall","Udieresissmall","Yacutesmall","Thornsmall","Ydieresissmall"],z$=[".notdef",".null","nonmarkingreturn","space","exclam","quotedbl","numbersign","dollar","percent","ampersand","quotesingle","parenleft","parenright","asterisk","plus","comma","hyphen","period","slash","zero","one","two","@dh-software/three","four","five","six","seven","eight","nine","colon","semicolon","less","equal","greater","question","at","A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T","U","V","W","X","Y","Z","bracketleft","backslash","bracketright","asciicircum","underscore","grave","a","b","c","d","e","f","g","h","i","j","k","l","m","n","o","p","q","r","s","t","u","v","w","x","y","z","braceleft","bar","braceright","asciitilde","Adieresis","Aring","Ccedilla","Eacute","Ntilde","Odieresis","Udieresis","aacute","agrave","acircumflex","adieresis","atilde","aring","ccedilla","eacute","egrave","ecircumflex","edieresis","iacute","igrave","icircumflex","idieresis","ntilde","oacute","ograve","ocircumflex","odieresis","otilde","uacute","ugrave","ucircumflex","udieresis","dagger","degree","cent","sterling","section","bullet","paragraph","germandbls","registered","copyright","trademark","acute","dieresis","notequal","AE","Oslash","infinity","plusminus","lessequal","greaterequal","yen","mu","partialdiff","summation","product","pi","integral","ordfeminine","ordmasculine","Omega","ae","oslash","questiondown","exclamdown","logicalnot","radical","florin","approxequal","Delta","guillemotleft","guillemotright","ellipsis","nonbreakingspace","Agrave","Atilde","Otilde","OE","oe","endash","emdash","quotedblleft","quotedblright","quoteleft","quoteright","divide","lozenge","ydieresis","Ydieresis","fraction","currency","guilsinglleft","guilsinglright","fi","fl","daggerdbl","periodcentered","quotesinglbase","quotedblbase","perthousand","Acircumflex","Ecircumflex","Aacute","Edieresis","Egrave","Iacute","Icircumflex","Idieresis","Igrave","Oacute","Ocircumflex","apple","Ograve","Uacute","Ucircumflex","Ugrave","dotlessi","circumflex","tilde","macron","breve","dotaccent","ring","cedilla","hungarumlaut","ogonek","caron","Lslash","lslash","Scaron","scaron","Zcaron","zcaron","brokenbar","Eth","eth","Yacute","yacute","Thorn","thorn","minus","multiply","onesuperior","twosuperior","threesuperior","onehalf","onequarter","threequarters","franc","Gbreve","gbreve","Idotaccent","Scedilla","scedilla","Cacute","cacute","Ccaron","ccaron","dcroat"];function H$(e){this.font=e}function G$(e){this.cmap=e}function j$(e,t){this.encoding=e,this.charset=t}function J$(e){switch(e.version){case 1:this.names=z$.slice();break;case 2:this.names=new Array(e.numberOfGlyphs);for(var t=0;t<e.numberOfGlyphs;t++)e.glyphNameIndex[t]<z$.length?this.names[t]=z$[e.glyphNameIndex[t]]:this.names[t]=e.names[e.glyphNameIndex[t]-z$.length];break;case 2.5:this.names=new Array(e.numberOfGlyphs);for(var r=0;r<e.numberOfGlyphs;r++)this.names[r]=z$[r+e.glyphNameIndex[r]];break;default:this.names=[]}}H$.prototype.charToGlyphIndex=function(e){var t=e.codePointAt(0),r=this.font.glyphs;if(r)for(var n=0;n<r.length;n+=1)for(var i=r.get(n),o=0;o<i.unicodes.length;o+=1)if(i.unicodes[o]===t)return n;return null},G$.prototype.charToGlyphIndex=function(e){return this.cmap.glyphIndexMap[e.codePointAt(0)]||0},j$.prototype.charToGlyphIndex=function(e){var t=e.codePointAt(0),r=this.encoding[t];return this.charset.indexOf(r)},J$.prototype.nameToGlyphIndex=function(e){return this.names.indexOf(e)},J$.prototype.glyphIndexToName=function(e){return this.names[e]};var W$={line:function(e,t,r,n,i){e.beginPath(),e.moveTo(t,r),e.lineTo(n,i),e.stroke()}};function Q$(e){this.bindConstructorValues(e)}function q$(e,t,r){Object.defineProperty(e,t,{get:function(){return e.path,e[r]},set:function(t){e[r]=t},enumerable:!0,configurable:!0})}function Y$(e,t){if(this.font=e,this.glyphs={},Array.isArray(t))for(var r=0;r<t.length;r++){var n=t[r];n.path.unitsPerEm=e.unitsPerEm,this.glyphs[r]=n}this.length=t&&t.length||0}Q$.prototype.bindConstructorValues=function(e){var t,r;this.index=e.index||0,this.name=e.name||null,this.unicode=e.unicode||void 0,this.unicodes=e.unicodes||void 0!==e.unicode?[e.unicode]:[],"xMin"in e&&(this.xMin=e.xMin),"yMin"in e&&(this.yMin=e.yMin),"xMax"in e&&(this.xMax=e.xMax),"yMax"in e&&(this.yMax=e.yMax),"advanceWidth"in e&&(this.advanceWidth=e.advanceWidth),Object.defineProperty(this,"path",(t=e.path,r=t||new n$,{configurable:!0,get:function(){return"function"==typeof r&&(r=r()),r},set:function(e){r=e}}))},Q$.prototype.addUnicode=function(e){0===this.unicodes.length&&(this.unicode=e),this.unicodes.push(e)},Q$.prototype.getBoundingBox=function(){return this.path.getBoundingBox()},Q$.prototype.getPath=function(e,t,r,n,i){var o,s;e=void 0!==e?e:0,t=void 0!==t?t:0,r=void 0!==r?r:72,n||(n={});var a=n.xScale,l=n.yScale;if(n.hinting&&i&&i.hinting&&(s=this.path&&i.hinting.exec(this,r)),s)o=i.hinting.getCommands(s),e=Math.round(e),t=Math.round(t),a=l=1;else{o=this.path.commands;var c=1/(this.path.unitsPerEm||1e3)*r;void 0===a&&(a=c),void 0===l&&(l=c)}for(var u=new n$,d=0;d<o.length;d+=1){var h=o[d];"M"===h.type?u.moveTo(e+h.x*a,t+-h.y*l):"L"===h.type?u.lineTo(e+h.x*a,t+-h.y*l):"Q"===h.type?u.quadraticCurveTo(e+h.x1*a,t+-h.y1*l,e+h.x*a,t+-h.y*l):"C"===h.type?u.curveTo(e+h.x1*a,t+-h.y1*l,e+h.x2*a,t+-h.y2*l,e+h.x*a,t+-h.y*l):"Z"===h.type&&u.closePath()}return u},Q$.prototype.getContours=function(){if(void 0===this.points)return[];for(var e=[],t=[],r=0;r<this.points.length;r+=1){var n=this.points[r];t.push(n),n.lastPointOfContour&&(e.push(t),t=[])}return s$.argument(0===t.length,"There are still points left in the current contour."),e},Q$.prototype.getMetrics=function(){for(var e=this.path.commands,t=[],r=[],n=0;n<e.length;n+=1){var i=e[n];"Z"!==i.type&&(t.push(i.x),r.push(i.y)),"Q"!==i.type&&"C"!==i.type||(t.push(i.x1),r.push(i.y1)),"C"===i.type&&(t.push(i.x2),r.push(i.y2))}var o={xMin:Math.min.apply(null,t),yMin:Math.min.apply(null,r),xMax:Math.max.apply(null,t),yMax:Math.max.apply(null,r),leftSideBearing:this.leftSideBearing};return isFinite(o.xMin)||(o.xMin=0),isFinite(o.xMax)||(o.xMax=this.advanceWidth),isFinite(o.yMin)||(o.yMin=0),isFinite(o.yMax)||(o.yMax=0),o.rightSideBearing=this.advanceWidth-o.leftSideBearing-(o.xMax-o.xMin),o},Q$.prototype.draw=function(e,t,r,n,i){this.getPath(t,r,n,i).draw(e)},Q$.prototype.drawPoints=function(e,t,r,n){function i(t,r,n,i){e.beginPath();for(var o=0;o<t.length;o+=1)e.moveTo(r+t[o].x*i,n+t[o].y*i),e.arc(r+t[o].x*i,n+t[o].y*i,2,0,2*Math.PI,!1);e.closePath(),e.fill()}t=void 0!==t?t:0,r=void 0!==r?r:0,n=void 0!==n?n:24;for(var o=1/this.path.unitsPerEm*n,s=[],a=[],l=this.path,c=0;c<l.commands.length;c+=1){var u=l.commands[c];void 0!==u.x&&s.push({x:u.x,y:-u.y}),void 0!==u.x1&&a.push({x:u.x1,y:-u.y1}),void 0!==u.x2&&a.push({x:u.x2,y:-u.y2})}e.fillStyle="blue",i(s,t,r,o),e.fillStyle="red",i(a,t,r,o)},Q$.prototype.drawMetrics=function(e,t,r,n){var i;t=void 0!==t?t:0,r=void 0!==r?r:0,n=void 0!==n?n:24,i=1/this.path.unitsPerEm*n,e.lineWidth=1,e.strokeStyle="black",W$.line(e,t,-1e4,t,1e4),W$.line(e,-1e4,r,1e4,r);var o=this.xMin||0,s=this.yMin||0,a=this.xMax||0,l=this.yMax||0,c=this.advanceWidth||0;e.strokeStyle="blue",W$.line(e,t+o*i,-1e4,t+o*i,1e4),W$.line(e,t+a*i,-1e4,t+a*i,1e4),W$.line(e,-1e4,r+-s*i,1e4,r+-s*i),W$.line(e,-1e4,r+-l*i,1e4,r+-l*i),e.strokeStyle="green",W$.line(e,t+c*i,-1e4,t+c*i,1e4)},Y$.prototype.get=function(e){if(void 0===this.glyphs[e]){this.font._push(e),"function"==typeof this.glyphs[e]&&(this.glyphs[e]=this.glyphs[e]());var t=this.glyphs[e],r=this.font._IndexToUnicodeMap[e];if(r)for(var n=0;n<r.unicodes.length;n++)t.addUnicode(r.unicodes[n]);this.font.cffEncoding?this.font.isCIDFont?t.name="gid"+e:t.name=this.font.cffEncoding.charset[e]:this.font.glyphNames.names&&(t.name=this.font.glyphNames.glyphIndexToName(e)),this.glyphs[e].advanceWidth=this.font._hmtxTableData[e].advanceWidth,this.glyphs[e].leftSideBearing=this.font._hmtxTableData[e].leftSideBearing}else"function"==typeof this.glyphs[e]&&(this.glyphs[e]=this.glyphs[e]());return this.glyphs[e]},Y$.prototype.push=function(e,t){this.glyphs[e]=t,this.length++};var X$={GlyphSet:Y$,glyphLoader:function(e,t){return new Q$({index:t,font:e})},ttfGlyphLoader:function(e,t,r,n,i,o){return function(){var s=new Q$({index:t,font:e});return s.path=function(){r(s,n,i);var t=o(e.glyphs,s);return t.unitsPerEm=e.unitsPerEm,t},q$(s,"xMin","_xMin"),q$(s,"xMax","_xMax"),q$(s,"yMin","_yMin"),q$(s,"yMax","_yMax"),s}},cffGlyphLoader:function(e,t,r,n){return function(){var i=new Q$({index:t,font:e});return i.path=function(){var t=r(e,i,n);return t.unitsPerEm=e.unitsPerEm,t},i}}};function K$(e,t){if(e===t)return!0;if(Array.isArray(e)&&Array.isArray(t)){if(e.length!==t.length)return!1;for(var r=0;r<e.length;r+=1)if(!K$(e[r],t[r]))return!1;return!0}return!1}function Z$(e){return e.length<1240?107:e.length<33900?1131:32768}function ex(e,t,r){var n,i,o=[],s=[],a=N$.getCard16(e,t);if(0!==a){var l=N$.getByte(e,t+2);n=t+(a+1)*l+2;for(var c=t+3,u=0;u<a+1;u+=1)o.push(N$.getOffset(e,c,l)),c+=l;i=n+o[a]}else i=t+2;for(var d=0;d<o.length-1;d+=1){var h=N$.getBytes(e,n+o[d],n+o[d+1]);r&&(h=r(h)),s.push(h)}return{objects:s,startOffset:t,endOffset:i}}function tx(e,t){if(28===t)return e.parseByte()<<8|e.parseByte();if(29===t)return e.parseByte()<<24|e.parseByte()<<16|e.parseByte()<<8|e.parseByte();if(30===t)return function(e){for(var t="",r=["0","1","2","3","4","5","6","7","8","9",".","E","E-",null,"-"];;){var n=e.parseByte(),i=n>>4,o=15&n;if(15===i)break;if(t+=r[i],15===o)break;t+=r[o]}return parseFloat(t)}(e);if(t>=32&&t<=246)return t-139;if(t>=247&&t<=250)return 256*(t-247)+e.parseByte()+108;if(t>=251&&t<=254)return 256*-(t-251)-e.parseByte()-108;throw new Error("Invalid b0 "+t)}function rx(e,t,r){t=void 0!==t?t:0;var n=new N$.Parser(e,t),i=[],o=[];for(r=void 0!==r?r:e.length;n.relativeOffset<r;){var s=n.parseByte();s<=21?(12===s&&(s=1200+n.parseByte()),i.push([s,o]),o=[]):o.push(tx(n,s))}return function(e){for(var t={},r=0;r<e.length;r+=1){var n=e[r][0],i=e[r][1],o=void 0;if(o=1===i.length?i[0]:i,t.hasOwnProperty(n)&&!isNaN(t[n]))throw new Error("Object "+t+" already has key "+n);t[n]=o}return t}(i)}function nx(e,t){return t=t<=390?B$[t]:e[t-391]}function ix(e,t,r){for(var n,i={},o=0;o<t.length;o+=1){var s=t[o];if(Array.isArray(s.type)){var a=[];a.length=s.type.length;for(var l=0;l<s.type.length;l++)void 0===(n=void 0!==e[s.op]?e[s.op][l]:void 0)&&(n=void 0!==s.value&&void 0!==s.value[l]?s.value[l]:null),"SID"===s.type[l]&&(n=nx(r,n)),a[l]=n;i[s.name]=a}else void 0===(n=e[s.op])&&(n=void 0!==s.value?s.value:null),"SID"===s.type&&(n=nx(r,n)),i[s.name]=n}return i}var ox=[{name:"version",op:0,type:"SID"},{name:"notice",op:1,type:"SID"},{name:"copyright",op:1200,type:"SID"},{name:"fullName",op:2,type:"SID"},{name:"familyName",op:3,type:"SID"},{name:"weight",op:4,type:"SID"},{name:"isFixedPitch",op:1201,type:"number",value:0},{name:"italicAngle",op:1202,type:"number",value:0},{name:"underlinePosition",op:1203,type:"number",value:-100},{name:"underlineThickness",op:1204,type:"number",value:50},{name:"paintType",op:1205,type:"number",value:0},{name:"charstringType",op:1206,type:"number",value:2},{name:"fontMatrix",op:1207,type:["real","real","real","real","real","real"],value:[.001,0,0,.001,0,0]},{name:"uniqueId",op:13,type:"number"},{name:"fontBBox",op:5,type:["number","number","number","number"],value:[0,0,0,0]},{name:"strokeWidth",op:1208,type:"number",value:0},{name:"xuid",op:14,type:[],value:null},{name:"charset",op:15,type:"offset",value:0},{name:"encoding",op:16,type:"offset",value:0},{name:"charStrings",op:17,type:"offset",value:0},{name:"private",op:18,type:["number","offset"],value:[0,0]},{name:"ros",op:1230,type:["SID","SID","number"]},{name:"cidFontVersion",op:1231,type:"number",value:0},{name:"cidFontRevision",op:1232,type:"number",value:0},{name:"cidFontType",op:1233,type:"number",value:0},{name:"cidCount",op:1234,type:"number",value:8720},{name:"uidBase",op:1235,type:"number"},{name:"fdArray",op:1236,type:"offset"},{name:"fdSelect",op:1237,type:"offset"},{name:"fontName",op:1238,type:"SID"}],sx=[{name:"subrs",op:19,type:"offset",value:0},{name:"defaultWidthX",op:20,type:"number",value:0},{name:"nominalWidthX",op:21,type:"number",value:0}];function ax(e,t){return ix(rx(e,0,e.byteLength),ox,t)}function lx(e,t,r,n){return ix(rx(e,t,r),sx,n)}function cx(e,t,r,n){for(var i=[],o=0;o<r.length;o+=1){var s=ax(new DataView(new Uint8Array(r[o]).buffer),n);s._subrs=[],s._subrsBias=0,s._defaultWidthX=0,s._nominalWidthX=0;var a=s.private[0],l=s.private[1];if(0!==a&&0!==l){var c=lx(e,l+t,a,n);if(s._defaultWidthX=c.defaultWidthX,s._nominalWidthX=c.nominalWidthX,0!==c.subrs){var u=ex(e,l+c.subrs+t);s._subrs=u.objects,s._subrsBias=Z$(s._subrs)}s._privateDict=c}i.push(s)}return i}function ux(e,t,r){var n,i,o,s,a,l,c,u,d=new n$,h=[],p=0,m=!1,_=!1,g=0,f=0;if(e.isCIDFont){var v=e.tables.cff.topDict._fdSelect[t.index],b=e.tables.cff.topDict._fdArray[v];a=b._subrs,l=b._subrsBias,c=b._defaultWidthX,u=b._nominalWidthX}else a=e.tables.cff.topDict._subrs,l=e.tables.cff.topDict._subrsBias,c=e.tables.cff.topDict._defaultWidthX,u=e.tables.cff.topDict._nominalWidthX;var y=c;function $(e,t){_&&d.closePath(),d.moveTo(e,t),_=!0}function x(){h.length%2!=0&&!m&&(y=h.shift()+u),p+=h.length>>1,h.length=0,m=!0}return function r(c){for(var v,b,S,w,A,C,E,I,M,k,T,R,L=0;L<c.length;){var P=c[L];switch(L+=1,P){case 1:case 3:case 18:case 23:x();break;case 4:h.length>1&&!m&&(y=h.shift()+u,m=!0),f+=h.pop(),$(g,f);break;case 5:for(;h.length>0;)g+=h.shift(),f+=h.shift(),d.lineTo(g,f);break;case 6:for(;h.length>0&&(g+=h.shift(),d.lineTo(g,f),0!==h.length);)f+=h.shift(),d.lineTo(g,f);break;case 7:for(;h.length>0&&(f+=h.shift(),d.lineTo(g,f),0!==h.length);)g+=h.shift(),d.lineTo(g,f);break;case 8:for(;h.length>0;)n=g+h.shift(),i=f+h.shift(),o=n+h.shift(),s=i+h.shift(),g=o+h.shift(),f=s+h.shift(),d.curveTo(n,i,o,s,g,f);break;case 10:A=h.pop()+l,(C=a[A])&&r(C);break;case 11:return;case 12:switch(P=c[L],L+=1,P){case 35:n=g+h.shift(),i=f+h.shift(),o=n+h.shift(),s=i+h.shift(),E=o+h.shift(),I=s+h.shift(),M=E+h.shift(),k=I+h.shift(),T=M+h.shift(),R=k+h.shift(),g=T+h.shift(),f=R+h.shift(),h.shift(),d.curveTo(n,i,o,s,E,I),d.curveTo(M,k,T,R,g,f);break;case 34:n=g+h.shift(),i=f,o=n+h.shift(),s=i+h.shift(),E=o+h.shift(),I=s,M=E+h.shift(),k=s,T=M+h.shift(),R=f,g=T+h.shift(),d.curveTo(n,i,o,s,E,I),d.curveTo(M,k,T,R,g,f);break;case 36:n=g+h.shift(),i=f+h.shift(),o=n+h.shift(),s=i+h.shift(),E=o+h.shift(),I=s,M=E+h.shift(),k=s,T=M+h.shift(),R=k+h.shift(),g=T+h.shift(),d.curveTo(n,i,o,s,E,I),d.curveTo(M,k,T,R,g,f);break;case 37:n=g+h.shift(),i=f+h.shift(),o=n+h.shift(),s=i+h.shift(),E=o+h.shift(),I=s+h.shift(),M=E+h.shift(),k=I+h.shift(),T=M+h.shift(),R=k+h.shift(),Math.abs(T-g)>Math.abs(R-f)?g=T+h.shift():f=R+h.shift(),d.curveTo(n,i,o,s,E,I),d.curveTo(M,k,T,R,g,f);break;default:console.log("Glyph "+t.index+": unknown operator 1200"+P),h.length=0}break;case 14:h.length>0&&!m&&(y=h.shift()+u,m=!0),_&&(d.closePath(),_=!1);break;case 19:case 20:x(),L+=p+7>>3;break;case 21:h.length>2&&!m&&(y=h.shift()+u,m=!0),f+=h.pop(),$(g+=h.pop(),f);break;case 22:h.length>1&&!m&&(y=h.shift()+u,m=!0),$(g+=h.pop(),f);break;case 24:for(;h.length>2;)n=g+h.shift(),i=f+h.shift(),o=n+h.shift(),s=i+h.shift(),g=o+h.shift(),f=s+h.shift(),d.curveTo(n,i,o,s,g,f);g+=h.shift(),f+=h.shift(),d.lineTo(g,f);break;case 25:for(;h.length>6;)g+=h.shift(),f+=h.shift(),d.lineTo(g,f);n=g+h.shift(),i=f+h.shift(),o=n+h.shift(),s=i+h.shift(),g=o+h.shift(),f=s+h.shift(),d.curveTo(n,i,o,s,g,f);break;case 26:for(h.length%2&&(g+=h.shift());h.length>0;)n=g,i=f+h.shift(),o=n+h.shift(),s=i+h.shift(),g=o,f=s+h.shift(),d.curveTo(n,i,o,s,g,f);break;case 27:for(h.length%2&&(f+=h.shift());h.length>0;)n=g+h.shift(),i=f,o=n+h.shift(),s=i+h.shift(),g=o+h.shift(),f=s,d.curveTo(n,i,o,s,g,f);break;case 28:v=c[L],b=c[L+1],h.push((v<<24|b<<16)>>16),L+=2;break;case 29:A=h.pop()+e.gsubrsBias,(C=e.gsubrs[A])&&r(C);break;case 30:for(;h.length>0&&(n=g,i=f+h.shift(),o=n+h.shift(),s=i+h.shift(),g=o+h.shift(),f=s+(1===h.length?h.shift():0),d.curveTo(n,i,o,s,g,f),0!==h.length);)n=g+h.shift(),i=f,o=n+h.shift(),s=i+h.shift(),f=s+h.shift(),g=o+(1===h.length?h.shift():0),d.curveTo(n,i,o,s,g,f);break;case 31:for(;h.length>0&&(n=g+h.shift(),i=f,o=n+h.shift(),s=i+h.shift(),f=s+h.shift(),g=o+(1===h.length?h.shift():0),d.curveTo(n,i,o,s,g,f),0!==h.length);)n=g,i=f+h.shift(),o=n+h.shift(),s=i+h.shift(),g=o+h.shift(),f=s+(1===h.length?h.shift():0),d.curveTo(n,i,o,s,g,f);break;default:P<32?console.log("Glyph "+t.index+": unknown operator "+P):P<247?h.push(P-139):P<251?(v=c[L],L+=1,h.push(256*(P-247)+v+108)):P<255?(v=c[L],L+=1,h.push(256*-(P-251)-v-108)):(v=c[L],b=c[L+1],S=c[L+2],w=c[L+3],L+=4,h.push((v<<24|b<<16|S<<8|w)/65536))}}}(r),t.advanceWidth=y,d}function dx(e,t){var r,n=B$.indexOf(e);return n>=0&&(r=n),(n=t.indexOf(e))>=0?r=n+B$.length:(r=B$.length+t.length,t.push(e)),r}function hx(e,t,r){for(var n={},i=0;i<e.length;i+=1){var o=e[i],s=t[o.name];void 0===s||K$(s,o.value)||("SID"===o.type&&(s=dx(s,r)),n[o.op]={name:o.name,type:o.type,value:s})}return n}function px(e,t){var r=new I$.Record("Top DICT",[{name:"dict",type:"DICT",value:{}}]);return r.dict=hx(ox,e,t),r}function mx(e){var t=new I$.Record("Top DICT INDEX",[{name:"topDicts",type:"INDEX",value:[]}]);return t.topDicts=[{name:"topDict_0",type:"TABLE",value:e}],t}function _x(e){var t=[],r=e.path;t.push({name:"width",type:"NUMBER",value:e.advanceWidth});for(var n=0,i=0,o=0;o<r.commands.length;o+=1){var s=void 0,a=void 0,l=r.commands[o];if("Q"===l.type){var c=1/3,u=2/3;l={type:"C",x:l.x,y:l.y,x1:Math.round(c*n+u*l.x1),y1:Math.round(c*i+u*l.y1),x2:Math.round(c*l.x+u*l.x1),y2:Math.round(c*l.y+u*l.y1)}}if("M"===l.type)s=Math.round(l.x-n),a=Math.round(l.y-i),t.push({name:"dx",type:"NUMBER",value:s}),t.push({name:"dy",type:"NUMBER",value:a}),t.push({name:"rmoveto",type:"OP",value:21}),n=Math.round(l.x),i=Math.round(l.y);else if("L"===l.type)s=Math.round(l.x-n),a=Math.round(l.y-i),t.push({name:"dx",type:"NUMBER",value:s}),t.push({name:"dy",type:"NUMBER",value:a}),t.push({name:"rlineto",type:"OP",value:5}),n=Math.round(l.x),i=Math.round(l.y);else if("C"===l.type){var d=Math.round(l.x1-n),h=Math.round(l.y1-i),p=Math.round(l.x2-l.x1),m=Math.round(l.y2-l.y1);s=Math.round(l.x-l.x2),a=Math.round(l.y-l.y2),t.push({name:"dx1",type:"NUMBER",value:d}),t.push({name:"dy1",type:"NUMBER",value:h}),t.push({name:"dx2",type:"NUMBER",value:p}),t.push({name:"dy2",type:"NUMBER",value:m}),t.push({name:"dx",type:"NUMBER",value:s}),t.push({name:"dy",type:"NUMBER",value:a}),t.push({name:"rrcurveto",type:"OP",value:8}),n=Math.round(l.x),i=Math.round(l.y)}}return t.push({name:"endchar",type:"OP",value:14}),t}var gx={parse:function(e,t,r,n){r.tables.cff={};var i=function(e,t){var r={};return r.formatMajor=N$.getCard8(e,t),r.formatMinor=N$.getCard8(e,t+1),r.size=N$.getCard8(e,t+2),r.offsetSize=N$.getCard8(e,t+3),r.startOffset=t,r.endOffset=t+4,r}(e,t),o=ex(e,i.endOffset,N$.bytesToString),s=ex(e,o.endOffset),a=ex(e,s.endOffset,N$.bytesToString),l=ex(e,a.endOffset);r.gsubrs=l.objects,r.gsubrsBias=Z$(r.gsubrs);var c=cx(e,t,s.objects,a.objects);if(1!==c.length)throw new Error("CFF table has too many fonts in 'FontSet' - count of fonts NameIndex.length = "+c.length);var u=c[0];if(r.tables.cff.topDict=u,u._privateDict&&(r.defaultWidthX=u._privateDict.defaultWidthX,r.nominalWidthX=u._privateDict.nominalWidthX),void 0!==u.ros[0]&&void 0!==u.ros[1]&&(r.isCIDFont=!0),r.isCIDFont){var d=u.fdArray,h=u.fdSelect;if(0===d||0===h)throw new Error("Font is marked as a CID font, but FDArray and/or FDSelect information is missing");var p=ex(e,d+=t),m=cx(e,t,p.objects,a.objects);u._fdArray=m,h+=t,u._fdSelect=function(e,t,r,n){var i,o=[],s=new N$.Parser(e,t),a=s.parseCard8();if(0===a)for(var l=0;l<r;l++){if((i=s.parseCard8())>=n)throw new Error("CFF table CID Font FDSelect has bad FD index value "+i+" (FD count "+n+")");o.push(i)}else{if(3!==a)throw new Error("CFF Table CID Font FDSelect table has unsupported format "+a);var c,u=s.parseCard16(),d=s.parseCard16();if(0!==d)throw new Error("CFF Table CID Font FDSelect format 3 range has bad initial GID "+d);for(var h=0;h<u;h++){if(i=s.parseCard8(),c=s.parseCard16(),i>=n)throw new Error("CFF table CID Font FDSelect has bad FD index value "+i+" (FD count "+n+")");if(c>r)throw new Error("CFF Table CID Font FDSelect format 3 range has bad GID "+c);for(;d<c;d++)o.push(i);d=c}if(c!==r)throw new Error("CFF Table CID Font FDSelect format 3 range has bad final GID "+c)}return o}(e,h,r.numGlyphs,m.length)}var _,g=t+u.private[1],f=lx(e,g,u.private[0],a.objects);if(r.defaultWidthX=f.defaultWidthX,r.nominalWidthX=f.nominalWidthX,0!==f.subrs){var v=g+f.subrs,b=ex(e,v);r.subrs=b.objects,r.subrsBias=Z$(r.subrs)}else r.subrs=[],r.subrsBias=0;n.lowMemory?(_=function(e,t){var r,n,i=[],o=N$.getCard16(e,t);if(0!==o){var s=N$.getByte(e,t+2);r=t+(o+1)*s+2;for(var a=t+3,l=0;l<o+1;l+=1)i.push(N$.getOffset(e,a,s)),a+=s;n=r+i[o]}else n=t+2;return{offsets:i,startOffset:t,endOffset:n}}(e,t+u.charStrings),r.nGlyphs=_.offsets.length):(_=ex(e,t+u.charStrings),r.nGlyphs=_.objects.length);var y=function(e,t,r,n){var i,o,s=new N$.Parser(e,t);r-=1;var a=[".notdef"],l=s.parseCard8();if(0===l)for(var c=0;c<r;c+=1)i=s.parseSID(),a.push(nx(n,i));else if(1===l)for(;a.length<=r;){i=s.parseSID(),o=s.parseCard8();for(var u=0;u<=o;u+=1)a.push(nx(n,i)),i+=1}else{if(2!==l)throw new Error("Unknown charset format "+l);for(;a.length<=r;){i=s.parseSID(),o=s.parseCard16();for(var d=0;d<=o;d+=1)a.push(nx(n,i)),i+=1}}return a}(e,t+u.charset,r.nGlyphs,a.objects);if(0===u.encoding?r.cffEncoding=new j$(U$,y):1===u.encoding?r.cffEncoding=new j$(V$,y):r.cffEncoding=function(e,t,r){var n,i={},o=new N$.Parser(e,t),s=o.parseCard8();if(0===s)for(var a=o.parseCard8(),l=0;l<a;l+=1)i[n=o.parseCard8()]=l;else{if(1!==s)throw new Error("Unknown encoding format "+s);var c=o.parseCard8();n=1;for(var u=0;u<c;u+=1)for(var d=o.parseCard8(),h=o.parseCard8(),p=d;p<=d+h;p+=1)i[p]=n,n+=1}return new j$(i,r)}(e,t+u.encoding,y),r.encoding=r.encoding||r.cffEncoding,r.glyphs=new X$.GlyphSet(r),n.lowMemory)r._push=function(n){var i=function(e,t,r,n,i){var o=N$.getCard16(r,n),s=0;0!==o&&(s=n+(o+1)*N$.getByte(r,n+2)+2);var a=N$.getBytes(r,s+t[e],s+t[e+1]);return i&&(a=i(a)),a}(n,_.offsets,e,t+u.charStrings);r.glyphs.push(n,X$.cffGlyphLoader(r,n,ux,i))};else for(var $=0;$<r.nGlyphs;$+=1){var x=_.objects[$];r.glyphs.push($,X$.cffGlyphLoader(r,$,ux,x))}},make:function(e,t){for(var r,n=new I$.Table("CFF ",[{name:"header",type:"RECORD"},{name:"nameIndex",type:"RECORD"},{name:"topDictIndex",type:"RECORD"},{name:"stringIndex",type:"RECORD"},{name:"globalSubrIndex",type:"RECORD"},{name:"charsets",type:"RECORD"},{name:"charStringsIndex",type:"RECORD"},{name:"privateDict",type:"RECORD"}]),i=1/t.unitsPerEm,o={version:t.version,fullName:t.fullName,familyName:t.familyName,weight:t.weightName,fontBBox:t.fontBBox||[0,0,0,0],fontMatrix:[i,0,0,i,0,0],charset:999,encoding:0,charStrings:999,private:[0,999]},s=[],a=1;a<e.length;a+=1)r=e.get(a),s.push(r.name);var l=[];n.header=new I$.Record("Header",[{name:"major",type:"Card8",value:1},{name:"minor",type:"Card8",value:0},{name:"hdrSize",type:"Card8",value:4},{name:"major",type:"Card8",value:1}]),n.nameIndex=function(e){var t=new I$.Record("Name INDEX",[{name:"names",type:"INDEX",value:[]}]);t.names=[];for(var r=0;r<e.length;r+=1)t.names.push({name:"name_"+r,type:"NAME",value:e[r]});return t}([t.postScriptName]);var c=px(o,l);n.topDictIndex=mx(c),n.globalSubrIndex=new I$.Record("Global Subr INDEX",[{name:"subrs",type:"INDEX",value:[]}]),n.charsets=function(e,t){for(var r=new I$.Record("Charsets",[{name:"format",type:"Card8",value:0}]),n=0;n<e.length;n+=1){var i=dx(e[n],t);r.fields.push({name:"glyph_"+n,type:"SID",value:i})}return r}(s,l),n.charStringsIndex=function(e){for(var t=new I$.Record("CharStrings INDEX",[{name:"charStrings",type:"INDEX",value:[]}]),r=0;r<e.length;r+=1){var n=e.get(r),i=_x(n);t.charStrings.push({name:n.name,type:"CHARSTRING",value:i})}return t}(e),n.privateDict=function(e,t){var r=new I$.Record("Private DICT",[{name:"dict",type:"DICT",value:{}}]);return r.dict=hx(sx,e,t),r}({},l),n.stringIndex=function(e){var t=new I$.Record("String INDEX",[{name:"strings",type:"INDEX",value:[]}]);t.strings=[];for(var r=0;r<e.length;r+=1)t.strings.push({name:"string_"+r,type:"STRING",value:e[r]});return t}(l);var u=n.header.sizeOf()+n.nameIndex.sizeOf()+n.topDictIndex.sizeOf()+n.stringIndex.sizeOf()+n.globalSubrIndex.sizeOf();return o.charset=u,o.encoding=0,o.charStrings=o.charset+n.charsets.sizeOf(),o.private[1]=o.charStrings+n.charStringsIndex.sizeOf(),c=px(o,l),n.topDictIndex=mx(c),n}};var fx={parse:function(e,t){var r={},n=new N$.Parser(e,t);return r.version=n.parseVersion(),r.fontRevision=Math.round(1e3*n.parseFixed())/1e3,r.checkSumAdjustment=n.parseULong(),r.magicNumber=n.parseULong(),s$.argument(1594834165===r.magicNumber,"Font header has wrong magic number."),r.flags=n.parseUShort(),r.unitsPerEm=n.parseUShort(),r.created=n.parseLongDateTime(),r.modified=n.parseLongDateTime(),r.xMin=n.parseShort(),r.yMin=n.parseShort(),r.xMax=n.parseShort(),r.yMax=n.parseShort(),r.macStyle=n.parseUShort(),r.lowestRecPPEM=n.parseUShort(),r.fontDirectionHint=n.parseShort(),r.indexToLocFormat=n.parseShort(),r.glyphDataFormat=n.parseShort(),r},make:function(e){var t=Math.round((new Date).getTime()/1e3)+2082844800,r=t;return e.createdTimestamp&&(r=e.createdTimestamp+2082844800),new I$.Table("head",[{name:"version",type:"FIXED",value:65536},{name:"fontRevision",type:"FIXED",value:65536},{name:"checkSumAdjustment",type:"ULONG",value:0},{name:"magicNumber",type:"ULONG",value:1594834165},{name:"flags",type:"USHORT",value:0},{name:"unitsPerEm",type:"USHORT",value:1e3},{name:"created",type:"LONGDATETIME",value:r},{name:"modified",type:"LONGDATETIME",value:t},{name:"xMin",type:"SHORT",value:0},{name:"yMin",type:"SHORT",value:0},{name:"xMax",type:"SHORT",value:0},{name:"yMax",type:"SHORT",value:0},{name:"macStyle",type:"USHORT",value:0},{name:"lowestRecPPEM",type:"USHORT",value:0},{name:"fontDirectionHint",type:"SHORT",value:2},{name:"indexToLocFormat",type:"SHORT",value:0},{name:"glyphDataFormat",type:"SHORT",value:0}],e)}};var vx={parse:function(e,t){var r={},n=new N$.Parser(e,t);return r.version=n.parseVersion(),r.ascender=n.parseShort(),r.descender=n.parseShort(),r.lineGap=n.parseShort(),r.advanceWidthMax=n.parseUShort(),r.minLeftSideBearing=n.parseShort(),r.minRightSideBearing=n.parseShort(),r.xMaxExtent=n.parseShort(),r.caretSlopeRise=n.parseShort(),r.caretSlopeRun=n.parseShort(),r.caretOffset=n.parseShort(),n.relativeOffset+=8,r.metricDataFormat=n.parseShort(),r.numberOfHMetrics=n.parseUShort(),r},make:function(e){return new I$.Table("hhea",[{name:"version",type:"FIXED",value:65536},{name:"ascender",type:"FWORD",value:0},{name:"descender",type:"FWORD",value:0},{name:"lineGap",type:"FWORD",value:0},{name:"advanceWidthMax",type:"UFWORD",value:0},{name:"minLeftSideBearing",type:"FWORD",value:0},{name:"minRightSideBearing",type:"FWORD",value:0},{name:"xMaxExtent",type:"FWORD",value:0},{name:"caretSlopeRise",type:"SHORT",value:1},{name:"caretSlopeRun",type:"SHORT",value:0},{name:"caretOffset",type:"SHORT",value:0},{name:"reserved1",type:"SHORT",value:0},{name:"reserved2",type:"SHORT",value:0},{name:"reserved3",type:"SHORT",value:0},{name:"reserved4",type:"SHORT",value:0},{name:"metricDataFormat",type:"SHORT",value:0},{name:"numberOfHMetrics",type:"USHORT",value:0}],e)}};var bx={parse:function(e,t,r,n,i,o,s){s.lowMemory?function(e,t,r,n,i){var o,s;e._hmtxTableData={};for(var a=new N$.Parser(t,r),l=0;l<i;l+=1)l<n&&(o=a.parseUShort(),s=a.parseShort()),e._hmtxTableData[l]={advanceWidth:o,leftSideBearing:s}}(e,t,r,n,i):function(e,t,r,n,i){for(var o,s,a=new N$.Parser(e,t),l=0;l<n;l+=1){l<r&&(o=a.parseUShort(),s=a.parseShort());var c=i.get(l);c.advanceWidth=o,c.leftSideBearing=s}}(t,r,n,i,o)},make:function(e){for(var t=new I$.Table("hmtx",[]),r=0;r<e.length;r+=1){var n=e.get(r),i=n.advanceWidth||0,o=n.leftSideBearing||0;t.fields.push({name:"advanceWidth_"+r,type:"USHORT",value:i}),t.fields.push({name:"leftSideBearing_"+r,type:"SHORT",value:o})}return t}};var yx={make:function(e){for(var t=new I$.Table("ltag",[{name:"version",type:"ULONG",value:1},{name:"flags",type:"ULONG",value:0},{name:"numTags",type:"ULONG",value:e.length}]),r="",n=12+4*e.length,i=0;i<e.length;++i){var o=r.indexOf(e[i]);o<0&&(o=r.length,r+=e[i]),t.fields.push({name:"offset "+i,type:"USHORT",value:n+o}),t.fields.push({name:"length "+i,type:"USHORT",value:e[i].length})}return t.fields.push({name:"stringPool",type:"CHARARRAY",value:r}),t},parse:function(e,t){var r=new N$.Parser(e,t),n=r.parseULong();s$.argument(1===n,"Unsupported ltag table version."),r.skip("uLong",1);for(var i=r.parseULong(),o=[],s=0;s<i;s++){for(var a="",l=t+r.parseUShort(),c=r.parseUShort(),u=l;u<l+c;++u)a+=String.fromCharCode(e.getInt8(u));o.push(a)}return o}};var $x={parse:function(e,t){var r={},n=new N$.Parser(e,t);return r.version=n.parseVersion(),r.numGlyphs=n.parseUShort(),1===r.version&&(r.maxPoints=n.parseUShort(),r.maxContours=n.parseUShort(),r.maxCompositePoints=n.parseUShort(),r.maxCompositeContours=n.parseUShort(),r.maxZones=n.parseUShort(),r.maxTwilightPoints=n.parseUShort(),r.maxStorage=n.parseUShort(),r.maxFunctionDefs=n.parseUShort(),r.maxInstructionDefs=n.parseUShort(),r.maxStackElements=n.parseUShort(),r.maxSizeOfInstructions=n.parseUShort(),r.maxComponentElements=n.parseUShort(),r.maxComponentDepth=n.parseUShort()),r},make:function(e){return new I$.Table("maxp",[{name:"version",type:"FIXED",value:20480},{name:"numGlyphs",type:"USHORT",value:e}])}},xx=["copyright","fontFamily","fontSubfamily","uniqueID","fullName","version","postScriptName","trademark","manufacturer","designer","description","manufacturerURL","designerURL","license","licenseURL","reserved","preferredFamily","preferredSubfamily","compatibleFullName","sampleText","postScriptFindFontName","wwsFamily","wwsSubfamily"],Sx={0:"en",1:"fr",2:"de",3:"it",4:"nl",5:"sv",6:"es",7:"da",8:"pt",9:"no",10:"he",11:"ja",12:"ar",13:"fi",14:"el",15:"is",16:"mt",17:"tr",18:"hr",19:"zh-Hant",20:"ur",21:"hi",22:"th",23:"ko",24:"lt",25:"pl",26:"hu",27:"es",28:"lv",29:"se",30:"fo",31:"fa",32:"ru",33:"zh",34:"nl-BE",35:"ga",36:"sq",37:"ro",38:"cz",39:"sk",40:"si",41:"yi",42:"sr",43:"mk",44:"bg",45:"uk",46:"be",47:"uz",48:"kk",49:"az-Cyrl",50:"az-Arab",51:"hy",52:"ka",53:"mo",54:"ky",55:"tg",56:"tk",57:"mn-CN",58:"mn",59:"ps",60:"ks",61:"ku",62:"sd",63:"bo",64:"ne",65:"sa",66:"mr",67:"bn",68:"as",69:"gu",70:"pa",71:"or",72:"ml",73:"kn",74:"ta",75:"te",76:"si",77:"my",78:"km",79:"lo",80:"vi",81:"id",82:"tl",83:"ms",84:"ms-Arab",85:"am",86:"ti",87:"om",88:"so",89:"sw",90:"rw",91:"rn",92:"ny",93:"mg",94:"eo",128:"cy",129:"eu",130:"ca",131:"la",132:"qu",133:"gn",134:"ay",135:"tt",136:"ug",137:"dz",138:"jv",139:"su",140:"gl",141:"af",142:"br",143:"iu",144:"gd",145:"gv",146:"ga",147:"to",148:"el-polyton",149:"kl",150:"az",151:"nn"},wx={0:0,1:0,2:0,3:0,4:0,5:0,6:0,7:0,8:0,9:0,10:5,11:1,12:4,13:0,14:6,15:0,16:0,17:0,18:0,19:2,20:4,21:9,22:21,23:3,24:29,25:29,26:29,27:29,28:29,29:0,30:0,31:4,32:7,33:25,34:0,35:0,36:0,37:0,38:29,39:29,40:0,41:5,42:7,43:7,44:7,45:7,46:7,47:7,48:7,49:7,50:4,51:24,52:23,53:7,54:7,55:7,56:7,57:27,58:7,59:4,60:4,61:4,62:4,63:26,64:9,65:9,66:9,67:13,68:13,69:11,70:10,71:12,72:17,73:16,74:14,75:15,76:18,77:19,78:20,79:22,80:30,81:0,82:0,83:0,84:4,85:28,86:28,87:28,88:0,89:0,90:0,91:0,92:0,93:0,94:0,128:0,129:0,130:0,131:0,132:0,133:0,134:0,135:7,136:4,137:26,138:0,139:0,140:0,141:0,142:0,143:28,144:0,145:0,146:0,147:0,148:6,149:0,150:0,151:0},Ax={1078:"af",1052:"sq",1156:"gsw",1118:"am",5121:"ar-DZ",15361:"ar-BH",3073:"ar",2049:"ar-IQ",11265:"ar-JO",13313:"ar-KW",12289:"ar-LB",4097:"ar-LY",6145:"ary",8193:"ar-OM",16385:"ar-QA",1025:"ar-SA",10241:"ar-SY",7169:"aeb",14337:"ar-AE",9217:"ar-YE",1067:"hy",1101:"as",2092:"az-Cyrl",1068:"az",1133:"ba",1069:"eu",1059:"be",2117:"bn",1093:"bn-IN",8218:"bs-Cyrl",5146:"bs",1150:"br",1026:"bg",1027:"ca",3076:"zh-HK",5124:"zh-MO",2052:"zh",4100:"zh-SG",1028:"zh-TW",1155:"co",1050:"hr",4122:"hr-BA",1029:"cs",1030:"da",1164:"prs",1125:"dv",2067:"nl-BE",1043:"nl",3081:"en-AU",10249:"en-BZ",4105:"en-CA",9225:"en-029",16393:"en-IN",6153:"en-IE",8201:"en-JM",17417:"en-MY",5129:"en-NZ",13321:"en-PH",18441:"en-SG",7177:"en-ZA",11273:"en-TT",2057:"en-GB",1033:"en",12297:"en-ZW",1061:"et",1080:"fo",1124:"fil",1035:"fi",2060:"fr-BE",3084:"fr-CA",1036:"fr",5132:"fr-LU",6156:"fr-MC",4108:"fr-CH",1122:"fy",1110:"gl",1079:"ka",3079:"de-AT",1031:"de",5127:"de-LI",4103:"de-LU",2055:"de-CH",1032:"el",1135:"kl",1095:"gu",1128:"ha",1037:"he",1081:"hi",1038:"hu",1039:"is",1136:"ig",1057:"id",1117:"iu",2141:"iu-Latn",2108:"ga",1076:"xh",1077:"zu",1040:"it",2064:"it-CH",1041:"ja",1099:"kn",1087:"kk",1107:"km",1158:"quc",1159:"rw",1089:"sw",1111:"kok",1042:"ko",1088:"ky",1108:"lo",1062:"lv",1063:"lt",2094:"dsb",1134:"lb",1071:"mk",2110:"ms-BN",1086:"ms",1100:"ml",1082:"mt",1153:"mi",1146:"arn",1102:"mr",1148:"moh",1104:"mn",2128:"mn-CN",1121:"ne",1044:"nb",2068:"nn",1154:"oc",1096:"or",1123:"ps",1045:"pl",1046:"pt",2070:"pt-PT",1094:"pa",1131:"qu-BO",2155:"qu-EC",3179:"qu",1048:"ro",1047:"rm",1049:"ru",9275:"smn",4155:"smj-NO",5179:"smj",3131:"se-FI",1083:"se",2107:"se-SE",8251:"sms",6203:"sma-NO",7227:"sms",1103:"sa",7194:"sr-Cyrl-BA",3098:"sr",6170:"sr-Latn-BA",2074:"sr-Latn",1132:"nso",1074:"tn",1115:"si",1051:"sk",1060:"sl",11274:"es-AR",16394:"es-BO",13322:"es-CL",9226:"es-CO",5130:"es-CR",7178:"es-DO",12298:"es-EC",17418:"es-SV",4106:"es-GT",18442:"es-HN",2058:"es-MX",19466:"es-NI",6154:"es-PA",15370:"es-PY",10250:"es-PE",20490:"es-PR",3082:"es",1034:"es",21514:"es-US",14346:"es-UY",8202:"es-VE",2077:"sv-FI",1053:"sv",1114:"syr",1064:"tg",2143:"tzm",1097:"ta",1092:"tt",1098:"te",1054:"th",1105:"bo",1055:"tr",1090:"tk",1152:"ug",1058:"uk",1070:"hsb",1056:"ur",2115:"uz-Cyrl",1091:"uz",1066:"vi",1106:"cy",1160:"wo",1157:"sah",1144:"ii",1130:"yo"};function Cx(e,t,r){switch(e){case 0:if(65535===t)return"und";if(r)return r[t];break;case 1:return Sx[t];case 3:return Ax[t]}}var Ex="utf-16",Ix={0:"macintosh",1:"x-mac-japanese",2:"x-mac-chinesetrad",3:"x-mac-korean",6:"x-mac-greek",7:"x-mac-cyrillic",9:"x-mac-devanagai",10:"x-mac-gurmukhi",11:"x-mac-gujarati",12:"x-mac-oriya",13:"x-mac-bengali",14:"x-mac-tamil",15:"x-mac-telugu",16:"x-mac-kannada",17:"x-mac-malayalam",18:"x-mac-sinhalese",19:"x-mac-burmese",20:"x-mac-khmer",21:"x-mac-thai",22:"x-mac-lao",23:"x-mac-georgian",24:"x-mac-armenian",25:"x-mac-chinesesimp",26:"x-mac-tibetan",27:"x-mac-mongolian",28:"x-mac-ethiopic",29:"x-mac-ce",30:"x-mac-vietnamese",31:"x-mac-extarabic"},Mx={15:"x-mac-icelandic",17:"x-mac-turkish",18:"x-mac-croatian",24:"x-mac-ce",25:"x-mac-ce",26:"x-mac-ce",27:"x-mac-ce",28:"x-mac-ce",30:"x-mac-icelandic",37:"x-mac-romanian",38:"x-mac-ce",39:"x-mac-ce",40:"x-mac-ce",143:"x-mac-inuit",146:"x-mac-gaelic"};function kx(e,t,r){switch(e){case 0:return Ex;case 1:return Mx[r]||Ix[t];case 3:if(1===t||10===t)return Ex}}function Tx(e){var t={};for(var r in e)t[e[r]]=parseInt(r);return t}function Rx(e,t,r,n,i,o){return new I$.Record("NameRecord",[{name:"platformID",type:"USHORT",value:e},{name:"encodingID",type:"USHORT",value:t},{name:"languageID",type:"USHORT",value:r},{name:"nameID",type:"USHORT",value:n},{name:"length",type:"USHORT",value:i},{name:"offset",type:"USHORT",value:o}])}function Lx(e,t){var r=function(e,t){var r=e.length,n=t.length-r+1;e:for(var i=0;i<n;i++)for(;i<n;i++){for(var o=0;o<r;o++)if(t[i+o]!==e[o])continue e;return i}return-1}(e,t);if(r<0){r=t.length;for(var n=0,i=e.length;n<i;++n)t.push(e[n])}return r}var Px={parse:function(e,t,r){for(var n={},i=new N$.Parser(e,t),o=i.parseUShort(),s=i.parseUShort(),a=i.offset+i.parseUShort(),l=0;l<s;l++){var c=i.parseUShort(),u=i.parseUShort(),d=i.parseUShort(),h=i.parseUShort(),p=xx[h]||h,m=i.parseUShort(),_=i.parseUShort(),g=Cx(c,d,r),f=kx(c,u,d);if(void 0!==f&&void 0!==g){var v=void 0;if(v=f===Ex?l$.UTF16(e,a+_,m):l$.MACSTRING(e,a+_,m,f)){var b=n[p];void 0===b&&(b=n[p]={}),b[g]=v}}}return 1===o&&i.parseUShort(),n},make:function(e,t){var r,n=[],i={},o=Tx(xx);for(var s in e){var a=o[s];if(void 0===a&&(a=s),r=parseInt(a),isNaN(r))throw new Error('Name table entry "'+s+'" does not exist, see nameTableNames for complete list.');i[r]=e[s],n.push(r)}for(var l=Tx(Sx),c=Tx(Ax),u=[],d=[],h=0;h<n.length;h++){var p=i[r=n[h]];for(var m in p){var _=p[m],g=1,f=l[m],v=wx[f],b=kx(g,v,f),y=c$.MACSTRING(_,b);void 0===y&&(g=0,(f=t.indexOf(m))<0&&(f=t.length,t.push(m)),v=4,y=c$.UTF16(_));var $=Lx(y,d);u.push(Rx(g,v,f,r,y.length,$));var x=c[m];if(void 0!==x){var S=c$.UTF16(_),w=Lx(S,d);u.push(Rx(3,1,x,r,S.length,w))}}}u.sort(function(e,t){return e.platformID-t.platformID||e.encodingID-t.encodingID||e.languageID-t.languageID||e.nameID-t.nameID});for(var A=new I$.Table("name",[{name:"format",type:"USHORT",value:0},{name:"count",type:"USHORT",value:u.length},{name:"stringOffset",type:"USHORT",value:6+12*u.length}]),C=0;C<u.length;C++)A.fields.push({name:"record_"+C,type:"RECORD",value:u[C]});return A.fields.push({name:"strings",type:"LITERAL",value:d}),A}},Dx=[{begin:0,end:127},{begin:128,end:255},{begin:256,end:383},{begin:384,end:591},{begin:592,end:687},{begin:688,end:767},{begin:768,end:879},{begin:880,end:1023},{begin:11392,end:11519},{begin:1024,end:1279},{begin:1328,end:1423},{begin:1424,end:1535},{begin:42240,end:42559},{begin:1536,end:1791},{begin:1984,end:2047},{begin:2304,end:2431},{begin:2432,end:2559},{begin:2560,end:2687},{begin:2688,end:2815},{begin:2816,end:2943},{begin:2944,end:3071},{begin:3072,end:3199},{begin:3200,end:3327},{begin:3328,end:3455},{begin:3584,end:3711},{begin:3712,end:3839},{begin:4256,end:4351},{begin:6912,end:7039},{begin:4352,end:4607},{begin:7680,end:7935},{begin:7936,end:8191},{begin:8192,end:8303},{begin:8304,end:8351},{begin:8352,end:8399},{begin:8400,end:8447},{begin:8448,end:8527},{begin:8528,end:8591},{begin:8592,end:8703},{begin:8704,end:8959},{begin:8960,end:9215},{begin:9216,end:9279},{begin:9280,end:9311},{begin:9312,end:9471},{begin:9472,end:9599},{begin:9600,end:9631},{begin:9632,end:9727},{begin:9728,end:9983},{begin:9984,end:10175},{begin:12288,end:12351},{begin:12352,end:12447},{begin:12448,end:12543},{begin:12544,end:12591},{begin:12592,end:12687},{begin:43072,end:43135},{begin:12800,end:13055},{begin:13056,end:13311},{begin:44032,end:55215},{begin:55296,end:57343},{begin:67840,end:67871},{begin:19968,end:40959},{begin:57344,end:63743},{begin:12736,end:12783},{begin:64256,end:64335},{begin:64336,end:65023},{begin:65056,end:65071},{begin:65040,end:65055},{begin:65104,end:65135},{begin:65136,end:65279},{begin:65280,end:65519},{begin:65520,end:65535},{begin:3840,end:4095},{begin:1792,end:1871},{begin:1920,end:1983},{begin:3456,end:3583},{begin:4096,end:4255},{begin:4608,end:4991},{begin:5024,end:5119},{begin:5120,end:5759},{begin:5760,end:5791},{begin:5792,end:5887},{begin:6016,end:6143},{begin:6144,end:6319},{begin:10240,end:10495},{begin:40960,end:42127},{begin:5888,end:5919},{begin:66304,end:66351},{begin:66352,end:66383},{begin:66560,end:66639},{begin:118784,end:119039},{begin:119808,end:120831},{begin:1044480,end:1048573},{begin:65024,end:65039},{begin:917504,end:917631},{begin:6400,end:6479},{begin:6480,end:6527},{begin:6528,end:6623},{begin:6656,end:6687},{begin:11264,end:11359},{begin:11568,end:11647},{begin:19904,end:19967},{begin:43008,end:43055},{begin:65536,end:65663},{begin:65856,end:65935},{begin:66432,end:66463},{begin:66464,end:66527},{begin:66640,end:66687},{begin:66688,end:66735},{begin:67584,end:67647},{begin:68096,end:68191},{begin:119552,end:119647},{begin:73728,end:74751},{begin:119648,end:119679},{begin:7040,end:7103},{begin:7168,end:7247},{begin:7248,end:7295},{begin:43136,end:43231},{begin:43264,end:43311},{begin:43312,end:43359},{begin:43520,end:43615},{begin:65936,end:65999},{begin:66e3,end:66047},{begin:66208,end:66271},{begin:127024,end:127135}];var Nx={parse:function(e,t){var r={},n=new N$.Parser(e,t);r.version=n.parseUShort(),r.xAvgCharWidth=n.parseShort(),r.usWeightClass=n.parseUShort(),r.usWidthClass=n.parseUShort(),r.fsType=n.parseUShort(),r.ySubscriptXSize=n.parseShort(),r.ySubscriptYSize=n.parseShort(),r.ySubscriptXOffset=n.parseShort(),r.ySubscriptYOffset=n.parseShort(),r.ySuperscriptXSize=n.parseShort(),r.ySuperscriptYSize=n.parseShort(),r.ySuperscriptXOffset=n.parseShort(),r.ySuperscriptYOffset=n.parseShort(),r.yStrikeoutSize=n.parseShort(),r.yStrikeoutPosition=n.parseShort(),r.sFamilyClass=n.parseShort(),r.panose=[];for(var i=0;i<10;i++)r.panose[i]=n.parseByte();return r.ulUnicodeRange1=n.parseULong(),r.ulUnicodeRange2=n.parseULong(),r.ulUnicodeRange3=n.parseULong(),r.ulUnicodeRange4=n.parseULong(),r.achVendID=String.fromCharCode(n.parseByte(),n.parseByte(),n.parseByte(),n.parseByte()),r.fsSelection=n.parseUShort(),r.usFirstCharIndex=n.parseUShort(),r.usLastCharIndex=n.parseUShort(),r.sTypoAscender=n.parseShort(),r.sTypoDescender=n.parseShort(),r.sTypoLineGap=n.parseShort(),r.usWinAscent=n.parseUShort(),r.usWinDescent=n.parseUShort(),r.version>=1&&(r.ulCodePageRange1=n.parseULong(),r.ulCodePageRange2=n.parseULong()),r.version>=2&&(r.sxHeight=n.parseShort(),r.sCapHeight=n.parseShort(),r.usDefaultChar=n.parseUShort(),r.usBreakChar=n.parseUShort(),r.usMaxContent=n.parseUShort()),r},make:function(e){return new I$.Table("OS/2",[{name:"version",type:"USHORT",value:3},{name:"xAvgCharWidth",type:"SHORT",value:0},{name:"usWeightClass",type:"USHORT",value:0},{name:"usWidthClass",type:"USHORT",value:0},{name:"fsType",type:"USHORT",value:0},{name:"ySubscriptXSize",type:"SHORT",value:650},{name:"ySubscriptYSize",type:"SHORT",value:699},{name:"ySubscriptXOffset",type:"SHORT",value:0},{name:"ySubscriptYOffset",type:"SHORT",value:140},{name:"ySuperscriptXSize",type:"SHORT",value:650},{name:"ySuperscriptYSize",type:"SHORT",value:699},{name:"ySuperscriptXOffset",type:"SHORT",value:0},{name:"ySuperscriptYOffset",type:"SHORT",value:479},{name:"yStrikeoutSize",type:"SHORT",value:49},{name:"yStrikeoutPosition",type:"SHORT",value:258},{name:"sFamilyClass",type:"SHORT",value:0},{name:"bFamilyType",type:"BYTE",value:0},{name:"bSerifStyle",type:"BYTE",value:0},{name:"bWeight",type:"BYTE",value:0},{name:"bProportion",type:"BYTE",value:0},{name:"bContrast",type:"BYTE",value:0},{name:"bStrokeVariation",type:"BYTE",value:0},{name:"bArmStyle",type:"BYTE",value:0},{name:"bLetterform",type:"BYTE",value:0},{name:"bMidline",type:"BYTE",value:0},{name:"bXHeight",type:"BYTE",value:0},{name:"ulUnicodeRange1",type:"ULONG",value:0},{name:"ulUnicodeRange2",type:"ULONG",value:0},{name:"ulUnicodeRange3",type:"ULONG",value:0},{name:"ulUnicodeRange4",type:"ULONG",value:0},{name:"achVendID",type:"CHARARRAY",value:"XXXX"},{name:"fsSelection",type:"USHORT",value:0},{name:"usFirstCharIndex",type:"USHORT",value:0},{name:"usLastCharIndex",type:"USHORT",value:0},{name:"sTypoAscender",type:"SHORT",value:0},{name:"sTypoDescender",type:"SHORT",value:0},{name:"sTypoLineGap",type:"SHORT",value:0},{name:"usWinAscent",type:"USHORT",value:0},{name:"usWinDescent",type:"USHORT",value:0},{name:"ulCodePageRange1",type:"ULONG",value:0},{name:"ulCodePageRange2",type:"ULONG",value:0},{name:"sxHeight",type:"SHORT",value:0},{name:"sCapHeight",type:"SHORT",value:0},{name:"usDefaultChar",type:"USHORT",value:0},{name:"usBreakChar",type:"USHORT",value:0},{name:"usMaxContext",type:"USHORT",value:0}],e)},unicodeRanges:Dx,getUnicodeRange:function(e){for(var t=0;t<Dx.length;t+=1){var r=Dx[t];if(e>=r.begin&&e<r.end)return t}return-1}};var Fx={parse:function(e,t){var r={},n=new N$.Parser(e,t);switch(r.version=n.parseVersion(),r.italicAngle=n.parseFixed(),r.underlinePosition=n.parseShort(),r.underlineThickness=n.parseShort(),r.isFixedPitch=n.parseULong(),r.minMemType42=n.parseULong(),r.maxMemType42=n.parseULong(),r.minMemType1=n.parseULong(),r.maxMemType1=n.parseULong(),r.version){case 1:r.names=z$.slice();break;case 2:r.numberOfGlyphs=n.parseUShort(),r.glyphNameIndex=new Array(r.numberOfGlyphs);for(var i=0;i<r.numberOfGlyphs;i++)r.glyphNameIndex[i]=n.parseUShort();r.names=[];for(var o=0;o<r.numberOfGlyphs;o++)if(r.glyphNameIndex[o]>=z$.length){var s=n.parseChar();r.names.push(n.parseString(s))}break;case 2.5:r.numberOfGlyphs=n.parseUShort(),r.offset=new Array(r.numberOfGlyphs);for(var a=0;a<r.numberOfGlyphs;a++)r.offset[a]=n.parseChar()}return r},make:function(){return new I$.Table("post",[{name:"version",type:"FIXED",value:196608},{name:"italicAngle",type:"FIXED",value:0},{name:"underlinePosition",type:"FWORD",value:0},{name:"underlineThickness",type:"FWORD",value:0},{name:"isFixedPitch",type:"ULONG",value:0},{name:"minMemType42",type:"ULONG",value:0},{name:"maxMemType42",type:"ULONG",value:0},{name:"minMemType1",type:"ULONG",value:0},{name:"maxMemType1",type:"ULONG",value:0}])}},Ox=new Array(9);Ox[1]=function(){var e=this.offset+this.relativeOffset,t=this.parseUShort();return 1===t?{substFormat:1,coverage:this.parsePointer(P$.coverage),deltaGlyphId:this.parseUShort()}:2===t?{substFormat:2,coverage:this.parsePointer(P$.coverage),substitute:this.parseOffset16List()}:void s$.assert(!1,"0x"+e.toString(16)+": lookup type 1 format must be 1 or 2.")},Ox[2]=function(){var e=this.parseUShort();return s$.argument(1===e,"GSUB Multiple Substitution Subtable identifier-format must be 1"),{substFormat:e,coverage:this.parsePointer(P$.coverage),sequences:this.parseListOfLists()}},Ox[3]=function(){var e=this.parseUShort();return s$.argument(1===e,"GSUB Alternate Substitution Subtable identifier-format must be 1"),{substFormat:e,coverage:this.parsePointer(P$.coverage),alternateSets:this.parseListOfLists()}},Ox[4]=function(){var e=this.parseUShort();return s$.argument(1===e,"GSUB ligature table identifier-format must be 1"),{substFormat:e,coverage:this.parsePointer(P$.coverage),ligatureSets:this.parseListOfLists(function(){return{ligGlyph:this.parseUShort(),components:this.parseUShortList(this.parseUShort()-1)}})}};var Bx={sequenceIndex:P$.uShort,lookupListIndex:P$.uShort};Ox[5]=function(){var e=this.offset+this.relativeOffset,t=this.parseUShort();if(1===t)return{substFormat:t,coverage:this.parsePointer(P$.coverage),ruleSets:this.parseListOfLists(function(){var e=this.parseUShort(),t=this.parseUShort();return{input:this.parseUShortList(e-1),lookupRecords:this.parseRecordList(t,Bx)}})};if(2===t)return{substFormat:t,coverage:this.parsePointer(P$.coverage),classDef:this.parsePointer(P$.classDef),classSets:this.parseListOfLists(function(){var e=this.parseUShort(),t=this.parseUShort();return{classes:this.parseUShortList(e-1),lookupRecords:this.parseRecordList(t,Bx)}})};if(3===t){var r=this.parseUShort(),n=this.parseUShort();return{substFormat:t,coverages:this.parseList(r,P$.pointer(P$.coverage)),lookupRecords:this.parseRecordList(n,Bx)}}s$.assert(!1,"0x"+e.toString(16)+": lookup type 5 format must be 1, 2 or 3.")},Ox[6]=function(){var e=this.offset+this.relativeOffset,t=this.parseUShort();return 1===t?{substFormat:1,coverage:this.parsePointer(P$.coverage),chainRuleSets:this.parseListOfLists(function(){return{backtrack:this.parseUShortList(),input:this.parseUShortList(this.parseShort()-1),lookahead:this.parseUShortList(),lookupRecords:this.parseRecordList(Bx)}})}:2===t?{substFormat:2,coverage:this.parsePointer(P$.coverage),backtrackClassDef:this.parsePointer(P$.classDef),inputClassDef:this.parsePointer(P$.classDef),lookaheadClassDef:this.parsePointer(P$.classDef),chainClassSet:this.parseListOfLists(function(){return{backtrack:this.parseUShortList(),input:this.parseUShortList(this.parseShort()-1),lookahead:this.parseUShortList(),lookupRecords:this.parseRecordList(Bx)}})}:3===t?{substFormat:3,backtrackCoverage:this.parseList(P$.pointer(P$.coverage)),inputCoverage:this.parseList(P$.pointer(P$.coverage)),lookaheadCoverage:this.parseList(P$.pointer(P$.coverage)),lookupRecords:this.parseRecordList(Bx)}:void s$.assert(!1,"0x"+e.toString(16)+": lookup type 6 format must be 1, 2 or 3.")},Ox[7]=function(){var e=this.parseUShort();s$.argument(1===e,"GSUB Extension Substitution subtable identifier-format must be 1");var t=this.parseUShort(),r=new P$(this.data,this.offset+this.parseULong());return{substFormat:1,lookupType:t,extension:Ox[t].call(r)}},Ox[8]=function(){var e=this.parseUShort();return s$.argument(1===e,"GSUB Reverse Chaining Contextual Single Substitution Subtable identifier-format must be 1"),{substFormat:e,coverage:this.parsePointer(P$.coverage),backtrackCoverage:this.parseList(P$.pointer(P$.coverage)),lookaheadCoverage:this.parseList(P$.pointer(P$.coverage)),substitutes:this.parseUShortList()}};var Ux=new Array(9);Ux[1]=function(e){return 1===e.substFormat?new I$.Table("substitutionTable",[{name:"substFormat",type:"USHORT",value:1},{name:"coverage",type:"TABLE",value:new I$.Coverage(e.coverage)},{name:"deltaGlyphID",type:"USHORT",value:e.deltaGlyphId}]):new I$.Table("substitutionTable",[{name:"substFormat",type:"USHORT",value:2},{name:"coverage",type:"TABLE",value:new I$.Coverage(e.coverage)}].concat(I$.ushortList("substitute",e.substitute)))},Ux[2]=function(e){return s$.assert(1===e.substFormat,"Lookup type 2 substFormat must be 1."),new I$.Table("substitutionTable",[{name:"substFormat",type:"USHORT",value:1},{name:"coverage",type:"TABLE",value:new I$.Coverage(e.coverage)}].concat(I$.tableList("seqSet",e.sequences,function(e){return new I$.Table("sequenceSetTable",I$.ushortList("sequence",e))})))},Ux[3]=function(e){return s$.assert(1===e.substFormat,"Lookup type 3 substFormat must be 1."),new I$.Table("substitutionTable",[{name:"substFormat",type:"USHORT",value:1},{name:"coverage",type:"TABLE",value:new I$.Coverage(e.coverage)}].concat(I$.tableList("altSet",e.alternateSets,function(e){return new I$.Table("alternateSetTable",I$.ushortList("alternate",e))})))},Ux[4]=function(e){return s$.assert(1===e.substFormat,"Lookup type 4 substFormat must be 1."),new I$.Table("substitutionTable",[{name:"substFormat",type:"USHORT",value:1},{name:"coverage",type:"TABLE",value:new I$.Coverage(e.coverage)}].concat(I$.tableList("ligSet",e.ligatureSets,function(e){return new I$.Table("ligatureSetTable",I$.tableList("ligature",e,function(e){return new I$.Table("ligatureTable",[{name:"ligGlyph",type:"USHORT",value:e.ligGlyph}].concat(I$.ushortList("component",e.components,e.components.length+1)))}))})))},Ux[6]=function(e){if(1===e.substFormat){var t=new I$.Table("chainContextTable",[{name:"substFormat",type:"USHORT",value:e.substFormat},{name:"coverage",type:"TABLE",value:new I$.Coverage(e.coverage)}].concat(I$.tableList("chainRuleSet",e.chainRuleSets,function(e){return new I$.Table("chainRuleSetTable",I$.tableList("chainRule",e,function(e){var t=I$.ushortList("backtrackGlyph",e.backtrack,e.backtrack.length).concat(I$.ushortList("inputGlyph",e.input,e.input.length+1)).concat(I$.ushortList("lookaheadGlyph",e.lookahead,e.lookahead.length)).concat(I$.ushortList("substitution",[],e.lookupRecords.length));return e.lookupRecords.forEach(function(e,r){t=t.concat({name:"sequenceIndex"+r,type:"USHORT",value:e.sequenceIndex}).concat({name:"lookupListIndex"+r,type:"USHORT",value:e.lookupListIndex})}),new I$.Table("chainRuleTable",t)}))})));return t}if(2===e.substFormat)s$.assert(!1,"lookup type 6 format 2 is not yet supported.");else if(3===e.substFormat){var r=[{name:"substFormat",type:"USHORT",value:e.substFormat}];return r.push({name:"backtrackGlyphCount",type:"USHORT",value:e.backtrackCoverage.length}),e.backtrackCoverage.forEach(function(e,t){r.push({name:"backtrackCoverage"+t,type:"TABLE",value:new I$.Coverage(e)})}),r.push({name:"inputGlyphCount",type:"USHORT",value:e.inputCoverage.length}),e.inputCoverage.forEach(function(e,t){r.push({name:"inputCoverage"+t,type:"TABLE",value:new I$.Coverage(e)})}),r.push({name:"lookaheadGlyphCount",type:"USHORT",value:e.lookaheadCoverage.length}),e.lookaheadCoverage.forEach(function(e,t){r.push({name:"lookaheadCoverage"+t,type:"TABLE",value:new I$.Coverage(e)})}),r.push({name:"substitutionCount",type:"USHORT",value:e.lookupRecords.length}),e.lookupRecords.forEach(function(e,t){r=r.concat({name:"sequenceIndex"+t,type:"USHORT",value:e.sequenceIndex}).concat({name:"lookupListIndex"+t,type:"USHORT",value:e.lookupListIndex})}),new I$.Table("chainContextTable",r)}s$.assert(!1,"lookup type 6 format must be 1, 2 or 3.")};var Vx={parse:function(e,t){var r=new P$(e,t=t||0),n=r.parseVersion(1);return s$.argument(1===n||1.1===n,"Unsupported GSUB table version."),1===n?{version:n,scripts:r.parseScriptList(),features:r.parseFeatureList(),lookups:r.parseLookupList(Ox)}:{version:n,scripts:r.parseScriptList(),features:r.parseFeatureList(),lookups:r.parseLookupList(Ox),variations:r.parseFeatureVariationsList()}},make:function(e){return new I$.Table("GSUB",[{name:"version",type:"ULONG",value:65536},{name:"scripts",type:"TABLE",value:new I$.ScriptList(e.scripts)},{name:"features",type:"TABLE",value:new I$.FeatureList(e.features)},{name:"lookups",type:"TABLE",value:new I$.LookupList(e.lookups,Ux)}])}};var zx={parse:function(e,t){var r=new N$.Parser(e,t),n=r.parseULong();s$.argument(1===n,"Unsupported META table version."),r.parseULong(),r.parseULong();for(var i=r.parseULong(),o={},s=0;s<i;s++){var a=r.parseTag(),l=r.parseULong(),c=r.parseULong(),u=l$.UTF8(e,t+l,c);o[a]=u}return o},make:function(e){var t=Object.keys(e).length,r="",n=16+12*t,i=new I$.Table("meta",[{name:"version",type:"ULONG",value:1},{name:"flags",type:"ULONG",value:0},{name:"offset",type:"ULONG",value:n},{name:"numTags",type:"ULONG",value:t}]);for(var o in e){var s=r.length;r+=e[o],i.fields.push({name:"tag "+o,type:"TAG",value:o}),i.fields.push({name:"offset "+o,type:"ULONG",value:n+s}),i.fields.push({name:"length "+o,type:"ULONG",value:e[o].length})}return i.fields.push({name:"stringPool",type:"CHARARRAY",value:r}),i}};var Hx={parse:function(e,t){var r=new P$(e,t),n=r.parseUShort();s$.argument(0===n,"Only COLRv0 supported.");var i=r.parseUShort(),o=r.parseOffset32(),s=r.parseOffset32(),a=r.parseUShort();r.relativeOffset=o;var l=r.parseRecordList(i,{glyphID:P$.uShort,firstLayerIndex:P$.uShort,numLayers:P$.uShort});return r.relativeOffset=s,{version:n,baseGlyphRecords:l,layerRecords:r.parseRecordList(a,{glyphID:P$.uShort,paletteIndex:P$.uShort})}},make:function(e){var t=e.version;void 0===t&&(t=0);var r=e.baseGlyphRecords;void 0===r&&(r=[]);var n=e.layerRecords;void 0===n&&(n=[]),s$.argument(0===t,"Only COLRv0 supported.");var i=14,o=i+6*r.length;return new I$.Table("COLR",[{name:"version",type:"USHORT",value:t},{name:"numBaseGlyphRecords",type:"USHORT",value:r.length},{name:"baseGlyphRecordsOffset",type:"ULONG",value:i},{name:"layerRecordsOffset",type:"ULONG",value:o},{name:"numLayerRecords",type:"USHORT",value:n.length}].concat(r.map(function(e,t){return[{name:"glyphID_"+t,type:"USHORT",value:e.glyphID},{name:"firstLayerIndex_"+t,type:"USHORT",value:e.firstLayerIndex},{name:"numLayers_"+t,type:"USHORT",value:e.numLayers}]}).flat(),n.map(function(e,t){return[{name:"LayerGlyphID_"+t,type:"USHORT",value:e.glyphID},{name:"paletteIndex_"+t,type:"USHORT",value:e.paletteIndex}]}).flat()))}};var Gx={parse:function(e,t){var r=new P$(e,t),n=r.parseShort(),i=r.parseShort(),o=r.parseShort(),s=r.parseShort(),a=r.parseOffset32(),l=r.parseUShortList(o);return r.relativeOffset=a,{version:n,numPaletteEntries:i,colorRecords:r.parseULongList(s),colorRecordIndices:l}},make:function(e){var t=e.version;void 0===t&&(t=0);var r=e.numPaletteEntries;void 0===r&&(r=0);var n=e.colorRecords;void 0===n&&(n=[]);var i=e.colorRecordIndices;return void 0===i&&(i=[0]),s$.argument(0===t,"Only CPALv0 are supported."),s$.argument(n.length,"No colorRecords given."),s$.argument(i.length,"No colorRecordIndices given."),s$.argument(!r&&1==i.length,"Can't infer numPaletteEntries on multiple colorRecordIndices"),new I$.Table("CPAL",[{name:"version",type:"USHORT",value:t},{name:"numPaletteEntries",type:"USHORT",value:r||n.length},{name:"numPalettes",type:"USHORT",value:i.length},{name:"numColorRecords",type:"USHORT",value:n.length},{name:"colorRecordsArrayOffset",type:"ULONG",value:12+2*i.length}].concat(i.map(function(e,t){return{name:"colorRecordIndices_"+t,type:"USHORT",value:e}}),n.map(function(e,t){return{name:"colorRecords_"+t,type:"ULONG",value:e}})))}};function jx(e){return Math.log(e)/Math.log(2)|0}function Jx(e){for(;e.length%4!=0;)e.push(0);for(var t=0,r=0;r<e.length;r+=4)t+=(e[r]<<24)+(e[r+1]<<16)+(e[r+2]<<8)+e[r+3];return t%=Math.pow(2,32)}function Wx(e,t,r,n){return new I$.Record("Table Record",[{name:"tag",type:"TAG",value:void 0!==e?e:""},{name:"checkSum",type:"ULONG",value:void 0!==t?t:0},{name:"offset",type:"ULONG",value:void 0!==r?r:0},{name:"length",type:"ULONG",value:void 0!==n?n:0}])}function Qx(e){var t=new I$.Table("sfnt",[{name:"version",type:"TAG",value:"OTTO"},{name:"numTables",type:"USHORT",value:0},{name:"searchRange",type:"USHORT",value:0},{name:"entrySelector",type:"USHORT",value:0},{name:"rangeShift",type:"USHORT",value:0}]);t.tables=e,t.numTables=e.length;var r=Math.pow(2,jx(t.numTables));t.searchRange=16*r,t.entrySelector=jx(r),t.rangeShift=16*t.numTables-t.searchRange;for(var n=[],i=[],o=t.sizeOf()+Wx().sizeOf()*t.numTables;o%4!=0;)o+=1,i.push({name:"padding",type:"BYTE",value:0});for(var s=0;s<e.length;s+=1){var a=e[s];s$.argument(4===a.tableName.length,"Table name"+a.tableName+" is invalid.");var l=a.sizeOf(),c=Wx(a.tableName,Jx(a.encode()),o,l);for(n.push({name:c.tag+" Table Record",type:"RECORD",value:c}),i.push({name:a.tableName+" table",type:"RECORD",value:a}),o+=l,s$.argument(!isNaN(o),"Something went wrong calculating the offset.");o%4!=0;)o+=1,i.push({name:"padding",type:"BYTE",value:0})}return n.sort(function(e,t){return e.value.tag>t.value.tag?1:-1}),t.fields=t.fields.concat(n),t.fields=t.fields.concat(i),t}function qx(e,t,r){for(var n=0;n<t.length;n+=1){var i=e.charToGlyphIndex(t[n]);if(i>0)return e.glyphs.get(i).getMetrics()}return r}function Yx(e){for(var t=0,r=0;r<e.length;r+=1)t+=e[r];return t/e.length}var Xx={make:Qx,fontToTable:function(e){for(var t,r=[],n=[],i=[],o=[],s=[],a=[],l=[],c=0,u=0,d=0,h=0,p=0,m=0;m<e.glyphs.length;m+=1){var _=e.glyphs.get(m),g=0|_.unicode;if(isNaN(_.advanceWidth))throw new Error("Glyph "+_.name+" ("+m+"): advanceWidth is not a number.");(t>g||void 0===t)&&g>0&&(t=g),c<g&&(c=g);var f=Nx.getUnicodeRange(g);if(f<32)u|=1<<f;else if(f<64)d|=1<<f-32;else if(f<96)h|=1<<f-64;else{if(!(f<123))throw new Error("Unicode ranges bits > 123 are reserved for internal usage");p|=1<<f-96}if(".notdef"!==_.name){var v=_.getMetrics();r.push(v.xMin),n.push(v.yMin),i.push(v.xMax),o.push(v.yMax),a.push(v.leftSideBearing),l.push(v.rightSideBearing),s.push(_.advanceWidth)}}var b={xMin:Math.min.apply(null,r),yMin:Math.min.apply(null,n),xMax:Math.max.apply(null,i),yMax:Math.max.apply(null,o),advanceWidthMax:Math.max.apply(null,s),advanceWidthAvg:Yx(s),minLeftSideBearing:Math.min.apply(null,a),maxLeftSideBearing:Math.max.apply(null,a),minRightSideBearing:Math.min.apply(null,l)};b.ascender=e.ascender,b.descender=e.descender;var y=fx.make({flags:3,unitsPerEm:e.unitsPerEm,xMin:b.xMin,yMin:b.yMin,xMax:b.xMax,yMax:b.yMax,lowestRecPPEM:3,createdTimestamp:e.createdTimestamp}),$=vx.make({ascender:b.ascender,descender:b.descender,advanceWidthMax:b.advanceWidthMax,minLeftSideBearing:b.minLeftSideBearing,minRightSideBearing:b.minRightSideBearing,xMaxExtent:b.maxLeftSideBearing+(b.xMax-b.xMin),numberOfHMetrics:e.glyphs.length}),x=$x.make(e.glyphs.length),S=Nx.make(Object.assign({xAvgCharWidth:Math.round(b.advanceWidthAvg),usFirstCharIndex:t,usLastCharIndex:c,ulUnicodeRange1:u,ulUnicodeRange2:d,ulUnicodeRange3:h,ulUnicodeRange4:p,sTypoAscender:b.ascender,sTypoDescender:b.descender,sTypoLineGap:0,usWinAscent:b.yMax,usWinDescent:Math.abs(b.yMin),ulCodePageRange1:1,sxHeight:qx(e,"xyvw",{yMax:Math.round(b.ascender/2)}).yMax,sCapHeight:qx(e,"HIKLEFJMNTZBDPRAGOQSUVWXY",b).yMax,usDefaultChar:e.hasChar(" ")?32:0,usBreakChar:e.hasChar(" ")?32:0},e.tables.os2)),w=bx.make(e.glyphs),A=O$.make(e.glyphs),C=e.getEnglishName("fontFamily"),E=e.getEnglishName("fontSubfamily"),I=C+" "+E,M=e.getEnglishName("postScriptName");M||(M=C.replace(/\s/g,"")+"-"+E);var k={};for(var T in e.names)k[T]=e.names[T];k.uniqueID||(k.uniqueID={en:e.getEnglishName("manufacturer")+":"+I}),k.postScriptName||(k.postScriptName={en:M}),k.preferredFamily||(k.preferredFamily=e.names.fontFamily),k.preferredSubfamily||(k.preferredSubfamily=e.names.fontSubfamily);var R=[],L=Px.make(k,R),P=R.length>0?yx.make(R):void 0,D=Fx.make(),N=gx.make(e.glyphs,{version:e.getEnglishName("version"),fullName:I,familyName:C,weightName:E,postScriptName:M,unitsPerEm:e.unitsPerEm,fontBBox:[0,b.yMin,b.ascender,b.advanceWidthMax]}),F=e.metas&&Object.keys(e.metas).length>0?zx.make(e.metas):void 0,O=[y,$,x,S,L,A,D,N,w];P&&O.push(P),e.tables.gsub&&O.push(Vx.make(e.tables.gsub)),e.tables.cpal&&O.push(Gx.make(e.tables.cpal)),e.tables.colr&&O.push(Hx.make(e.tables.colr)),F&&O.push(F);for(var B=Qx(O),U=Jx(B.encode()),V=B.fields,z=!1,H=0;H<V.length;H+=1)if("head table"===V[H].name){V[H].value.checkSumAdjustment=2981146554-U,z=!0;break}if(!z)throw new Error("Could not find head table with checkSum to adjust.");return B},computeCheckSum:Jx};function Kx(e,t){for(var r=0,n=e.length-1;r<=n;){var i=r+n>>>1,o=e[i].tag;if(o===t)return i;o<t?r=i+1:n=i-1}return-r-1}function Zx(e,t){for(var r=0,n=e.length-1;r<=n;){var i=r+n>>>1,o=e[i];if(o===t)return i;o<t?r=i+1:n=i-1}return-r-1}function eS(e,t){for(var r,n=0,i=e.length-1;n<=i;){var o=n+i>>>1,s=(r=e[o]).start;if(s===t)return r;s<t?n=o+1:i=o-1}if(n>0)return t>(r=e[n-1]).end?0:r}function tS(e,t){this.font=e,this.tableName=t}function rS(e){tS.call(this,e,"gpos")}function nS(e){tS.call(this,e,"gsub")}function iS(e,t){var r=e.length;if(r!==t.length)return!1;for(var n=0;n<r;n++)if(e[n]!==t[n])return!1;return!0}function oS(e,t,r){for(var n=e.subtables,i=0;i<n.length;i++){var o=n[i];if(o.substFormat===t)return o}if(r)return n.push(r),r}function sS(e,t){if(!e)throw t}function aS(e,t,r,n,i){var o;return(t&n)>0?(o=e.parseByte(),0===(t&i)&&(o=-o),o=r+o):o=(t&i)>0?r:r+e.parseShort(),o}function lS(e,t,r){var n,i,o=new N$.Parser(t,r);if(e.numberOfContours=o.parseShort(),e._xMin=o.parseShort(),e._yMin=o.parseShort(),e._xMax=o.parseShort(),e._yMax=o.parseShort(),e.numberOfContours>0){for(var s=e.endPointIndices=[],a=0;a<e.numberOfContours;a+=1)s.push(o.parseUShort());e.instructionLength=o.parseUShort(),e.instructions=[];for(var l=0;l<e.instructionLength;l+=1)e.instructions.push(o.parseByte());var c=s[s.length-1]+1;n=[];for(var u=0;u<c;u+=1)if(i=o.parseByte(),n.push(i),(8&i)>0)for(var d=o.parseByte(),h=0;h<d;h+=1)n.push(i),u+=1;if(s$.argument(n.length===c,"Bad flags."),s.length>0){var p,m=[];if(c>0){for(var _=0;_<c;_+=1)i=n[_],(p={}).onCurve=!!(1&i),p.lastPointOfContour=s.indexOf(_)>=0,m.push(p);for(var g=0,f=0;f<c;f+=1)i=n[f],(p=m[f]).x=aS(o,i,g,2,16),g=p.x;for(var v=0,b=0;b<c;b+=1)i=n[b],(p=m[b]).y=aS(o,i,v,4,32),v=p.y}e.points=m}else e.points=[]}else if(0===e.numberOfContours)e.points=[];else{e.isComposite=!0,e.points=[],e.components=[];for(var y=!0;y;){n=o.parseUShort();var $={glyphIndex:o.parseUShort(),xScale:1,scale01:0,scale10:0,yScale:1,dx:0,dy:0};(1&n)>0?(2&n)>0?($.dx=o.parseShort(),$.dy=o.parseShort()):$.matchedPoints=[o.parseUShort(),o.parseUShort()]:(2&n)>0?($.dx=o.parseChar(),$.dy=o.parseChar()):$.matchedPoints=[o.parseByte(),o.parseByte()],(8&n)>0?$.xScale=$.yScale=o.parseF2Dot14():(64&n)>0?($.xScale=o.parseF2Dot14(),$.yScale=o.parseF2Dot14()):(128&n)>0&&($.xScale=o.parseF2Dot14(),$.scale01=o.parseF2Dot14(),$.scale10=o.parseF2Dot14(),$.yScale=o.parseF2Dot14()),e.components.push($),y=!!(32&n)}if(256&n){e.instructionLength=o.parseUShort(),e.instructions=[];for(var x=0;x<e.instructionLength;x+=1)e.instructions.push(o.parseByte())}}}function cS(e,t){for(var r=[],n=0;n<e.length;n+=1){var i=e[n],o={x:t.xScale*i.x+t.scale01*i.y+t.dx,y:t.scale10*i.x+t.yScale*i.y+t.dy,onCurve:i.onCurve,lastPointOfContour:i.lastPointOfContour};r.push(o)}return r}function uS(e){var t=new n$;if(!e)return t;for(var r=function(e){for(var t=[],r=[],n=0;n<e.length;n+=1){var i=e[n];r.push(i),i.lastPointOfContour&&(t.push(r),r=[])}return s$.argument(0===r.length,"There are still points left in the current contour."),t}(e),n=0;n<r.length;++n){var i=r[n],o=null,s=i[i.length-1],a=i[0];if(s.onCurve)t.moveTo(s.x,s.y);else if(a.onCurve)t.moveTo(a.x,a.y);else{var l={x:.5*(s.x+a.x),y:.5*(s.y+a.y)};t.moveTo(l.x,l.y)}for(var c=0;c<i.length;++c)if(o=s,s=a,a=i[(c+1)%i.length],s.onCurve)t.lineTo(s.x,s.y);else{var u=a;o.onCurve||{x:.5*(s.x+o.x),y:.5*(s.y+o.y)},a.onCurve||(u={x:.5*(s.x+a.x),y:.5*(s.y+a.y)}),t.quadraticCurveTo(s.x,s.y,u.x,u.y)}t.closePath()}return t}function dS(e,t){if(t.isComposite)for(var r=0;r<t.components.length;r+=1){var n=t.components[r],i=e.get(n.glyphIndex);if(i.getPath(),i.points){var o=void 0;if(void 0===n.matchedPoints)o=cS(i.points,n);else{if(n.matchedPoints[0]>t.points.length-1||n.matchedPoints[1]>i.points.length-1)throw Error("Matched points out of range in "+t.name);var s=t.points[n.matchedPoints[0]],a=i.points[n.matchedPoints[1]],l={xScale:n.xScale,scale01:n.scale01,scale10:n.scale10,yScale:n.yScale,dx:0,dy:0};a=cS([a],l)[0],l.dx=s.x-a.x,l.dy=s.y-a.y,o=cS(i.points,l)}t.points=t.points.concat(o)}}return uS(t.points)}tS.prototype={searchTag:Kx,binSearch:Zx,getTable:function(e){var t=this.font.tables[this.tableName];return!t&&e&&(t=this.font.tables[this.tableName]=this.createDefaultTable()),t},getScriptNames:function(){var e=this.getTable();return e?e.scripts.map(function(e){return e.tag}):[]},getDefaultScriptName:function(){var e=this.getTable();if(e){for(var t=!1,r=0;r<e.scripts.length;r++){var n=e.scripts[r].tag;if("DFLT"===n)return n;"latn"===n&&(t=!0)}return t?"latn":void 0}},getScriptTable:function(e,t){var r=this.getTable(t);if(r){e=e||"DFLT";var n=r.scripts,i=Kx(r.scripts,e);if(i>=0)return n[i].script;if(t){var o={tag:e,script:{defaultLangSys:{reserved:0,reqFeatureIndex:65535,featureIndexes:[]},langSysRecords:[]}};return n.splice(-1-i,0,o),o.script}}},getLangSysTable:function(e,t,r){var n=this.getScriptTable(e,r);if(n){if(!t||"dflt"===t||"DFLT"===t)return n.defaultLangSys;var i=Kx(n.langSysRecords,t);if(i>=0)return n.langSysRecords[i].langSys;if(r){var o={tag:t,langSys:{reserved:0,reqFeatureIndex:65535,featureIndexes:[]}};return n.langSysRecords.splice(-1-i,0,o),o.langSys}}},getFeatureTable:function(e,t,r,n){var i=this.getLangSysTable(e,t,n);if(i){for(var o,s=i.featureIndexes,a=this.font.tables[this.tableName].features,l=0;l<s.length;l++)if((o=a[s[l]]).tag===r)return o.feature;if(n){var c=a.length;return s$.assert(0===c||r>=a[c-1].tag,"Features must be added in alphabetical order."),o={tag:r,feature:{params:0,lookupListIndexes:[]}},a.push(o),s.push(c),o.feature}}},getLookupTables:function(e,t,r,n,i){var o=this.getFeatureTable(e,t,r,i),s=[];if(o){for(var a,l=o.lookupListIndexes,c=this.font.tables[this.tableName].lookups,u=0;u<l.length;u++)(a=c[l[u]]).lookupType===n&&s.push(a);if(0===s.length&&i){a={lookupType:n,lookupFlag:0,subtables:[],markFilteringSet:void 0};var d=c.length;return c.push(a),l.push(d),[a]}}return s},getGlyphClass:function(e,t){switch(e.format){case 1:return e.startGlyph<=t&&t<e.startGlyph+e.classes.length?e.classes[t-e.startGlyph]:0;case 2:var r=eS(e.ranges,t);return r?r.classId:0}},getCoverageIndex:function(e,t){switch(e.format){case 1:var r=Zx(e.glyphs,t);return r>=0?r:-1;case 2:var n=eS(e.ranges,t);return n?n.index+t-n.start:-1}},expandCoverage:function(e){if(1===e.format)return e.glyphs;for(var t=[],r=e.ranges,n=0;n<r.length;n++)for(var i=r[n],o=i.start,s=i.end,a=o;a<=s;a++)t.push(a);return t}},rS.prototype=tS.prototype,rS.prototype.init=function(){var e=this.getDefaultScriptName();this.defaultKerningTables=this.getKerningTables(e)},rS.prototype.getKerningValue=function(e,t,r){for(var n=0;n<e.length;n++)for(var i=e[n].subtables,o=0;o<i.length;o++){var s=i[o],a=this.getCoverageIndex(s.coverage,t);if(!(a<0))switch(s.posFormat){case 1:for(var l=s.pairSets[a],c=0;c<l.length;c++){var u=l[c];if(u.secondGlyph===r)return u.value1&&u.value1.xAdvance||0}break;case 2:var d=this.getGlyphClass(s.classDef1,t),h=this.getGlyphClass(s.classDef2,r),p=s.classRecords[d][h];return p.value1&&p.value1.xAdvance||0}}return 0},rS.prototype.getKerningTables=function(e,t){if(this.font.tables.gpos)return this.getLookupTables(e,t,"kern",2)},nS.prototype=tS.prototype,nS.prototype.createDefaultTable=function(){return{version:1,scripts:[{tag:"DFLT",script:{defaultLangSys:{reserved:0,reqFeatureIndex:65535,featureIndexes:[]},langSysRecords:[]}}],features:[],lookups:[]}},nS.prototype.getSingle=function(e,t,r){for(var n=[],i=this.getLookupTables(t,r,e,1),o=0;o<i.length;o++)for(var s=i[o].subtables,a=0;a<s.length;a++){var l=s[a],c=this.expandCoverage(l.coverage),u=void 0;if(1===l.substFormat){var d=l.deltaGlyphId;for(u=0;u<c.length;u++){var h=c[u];n.push({sub:h,by:h+d})}}else{var p=l.substitute;for(u=0;u<c.length;u++)n.push({sub:c[u],by:p[u]})}}return n},nS.prototype.getMultiple=function(e,t,r){for(var n=[],i=this.getLookupTables(t,r,e,2),o=0;o<i.length;o++)for(var s=i[o].subtables,a=0;a<s.length;a++){var l=s[a],c=this.expandCoverage(l.coverage),u=void 0;for(u=0;u<c.length;u++){var d=c[u],h=l.sequences[u];n.push({sub:d,by:h})}}return n},nS.prototype.getAlternates=function(e,t,r){for(var n=[],i=this.getLookupTables(t,r,e,3),o=0;o<i.length;o++)for(var s=i[o].subtables,a=0;a<s.length;a++)for(var l=s[a],c=this.expandCoverage(l.coverage),u=l.alternateSets,d=0;d<c.length;d++)n.push({sub:c[d],by:u[d]});return n},nS.prototype.getLigatures=function(e,t,r){for(var n=[],i=this.getLookupTables(t,r,e,4),o=0;o<i.length;o++)for(var s=i[o].subtables,a=0;a<s.length;a++)for(var l=s[a],c=this.expandCoverage(l.coverage),u=l.ligatureSets,d=0;d<c.length;d++)for(var h=c[d],p=u[d],m=0;m<p.length;m++){var _=p[m];n.push({sub:[h].concat(_.components),by:_.ligGlyph})}return n},nS.prototype.addSingle=function(e,t,r,n){var i=oS(this.getLookupTables(r,n,e,1,!0)[0],2,{substFormat:2,coverage:{format:1,glyphs:[]},substitute:[]});s$.assert(1===i.coverage.format,"Single: unable to modify coverage table format "+i.coverage.format);var o=t.sub,s=this.binSearch(i.coverage.glyphs,o);s<0&&(s=-1-s,i.coverage.glyphs.splice(s,0,o),i.substitute.splice(s,0,0)),i.substitute[s]=t.by},nS.prototype.addMultiple=function(e,t,r,n){s$.assert(t.by instanceof Array&&t.by.length>1,'Multiple: "by" must be an array of two or more ids');var i=oS(this.getLookupTables(r,n,e,2,!0)[0],1,{substFormat:1,coverage:{format:1,glyphs:[]},sequences:[]});s$.assert(1===i.coverage.format,"Multiple: unable to modify coverage table format "+i.coverage.format);var o=t.sub,s=this.binSearch(i.coverage.glyphs,o);s<0&&(s=-1-s,i.coverage.glyphs.splice(s,0,o),i.sequences.splice(s,0,0)),i.sequences[s]=t.by},nS.prototype.addAlternate=function(e,t,r,n){var i=oS(this.getLookupTables(r,n,e,3,!0)[0],1,{substFormat:1,coverage:{format:1,glyphs:[]},alternateSets:[]});s$.assert(1===i.coverage.format,"Alternate: unable to modify coverage table format "+i.coverage.format);var o=t.sub,s=this.binSearch(i.coverage.glyphs,o);s<0&&(s=-1-s,i.coverage.glyphs.splice(s,0,o),i.alternateSets.splice(s,0,0)),i.alternateSets[s]=t.by},nS.prototype.addLigature=function(e,t,r,n){var i=this.getLookupTables(r,n,e,4,!0)[0],o=i.subtables[0];o||(o={substFormat:1,coverage:{format:1,glyphs:[]},ligatureSets:[]},i.subtables[0]=o),s$.assert(1===o.coverage.format,"Ligature: unable to modify coverage table format "+o.coverage.format);var s=t.sub[0],a=t.sub.slice(1),l={ligGlyph:t.by,components:a},c=this.binSearch(o.coverage.glyphs,s);if(c>=0){for(var u=o.ligatureSets[c],d=0;d<u.length;d++)if(iS(u[d].components,a))return;u.push(l)}else c=-1-c,o.coverage.glyphs.splice(c,0,s),o.ligatureSets.splice(c,0,[l])},nS.prototype.getFeature=function(e,t,r){if(/ss\d\d/.test(e))return this.getSingle(e,t,r);switch(e){case"aalt":case"salt":return this.getSingle(e,t,r).concat(this.getAlternates(e,t,r));case"dlig":case"liga":case"rlig":return this.getLigatures(e,t,r);case"ccmp":return this.getMultiple(e,t,r).concat(this.getLigatures(e,t,r));case"stch":return this.getMultiple(e,t,r)}},nS.prototype.add=function(e,t,r,n){if(/ss\d\d/.test(e))return this.addSingle(e,t,r,n);switch(e){case"aalt":case"salt":return"number"==typeof t.by?this.addSingle(e,t,r,n):this.addAlternate(e,t,r,n);case"dlig":case"liga":case"rlig":return this.addLigature(e,t,r,n);case"ccmp":return t.by instanceof Array?this.addMultiple(e,t,r,n):this.addLigature(e,t,r,n)}};var hS,pS,mS,_S,gS={getPath:uS,parse:function(e,t,r,n,i){return i.lowMemory?function(e,t,r,n){var i=new X$.GlyphSet(n);return n._push=function(o){var s=r[o];s!==r[o+1]?i.push(o,X$.ttfGlyphLoader(n,o,lS,e,t+s,dS)):i.push(o,X$.glyphLoader(n,o))},i}(e,t,r,n):function(e,t,r,n){for(var i=new X$.GlyphSet(n),o=0;o<r.length-1;o+=1){var s=r[o];s!==r[o+1]?i.push(o,X$.ttfGlyphLoader(n,o,lS,e,t+s,dS)):i.push(o,X$.glyphLoader(n,o))}return i}(e,t,r,n)}};function fS(e){this.font=e,this.getCommands=function(e){return gS.getPath(e).commands},this._fpgmState=this._prepState=void 0,this._errorState=0}function vS(e){return e}function bS(e){return Math.sign(e)*Math.round(Math.abs(e))}function yS(e){return Math.sign(e)*Math.round(Math.abs(2*e))/2}function $S(e){return Math.sign(e)*(Math.round(Math.abs(e)+.5)-.5)}function xS(e){return Math.sign(e)*Math.ceil(Math.abs(e))}function SS(e){return Math.sign(e)*Math.floor(Math.abs(e))}var wS=function(e){var t=this.srPeriod,r=this.srPhase,n=1;return e<0&&(e=-e,n=-1),e+=this.srThreshold-r,e=Math.trunc(e/t)*t,(e+=r)<0?r*n:e*n},AS={x:1,y:0,axis:"x",distance:function(e,t,r,n){return(r?e.xo:e.x)-(n?t.xo:t.x)},interpolate:function(e,t,r,n){var i,o,s,a,l,c,u;if(!n||n===this)return i=e.xo-t.xo,o=e.xo-r.xo,l=t.x-t.xo,c=r.x-r.xo,0===(u=(s=Math.abs(i))+(a=Math.abs(o)))?void(e.x=e.xo+(l+c)/2):void(e.x=e.xo+(l*a+c*s)/u);i=n.distance(e,t,!0,!0),o=n.distance(e,r,!0,!0),l=n.distance(t,t,!1,!0),c=n.distance(r,r,!1,!0),0!==(u=(s=Math.abs(i))+(a=Math.abs(o)))?AS.setRelative(e,e,(l*a+c*s)/u,n,!0):AS.setRelative(e,e,(l+c)/2,n,!0)},normalSlope:Number.NEGATIVE_INFINITY,setRelative:function(e,t,r,n,i){if(n&&n!==this){var o=i?t.xo:t.x,s=i?t.yo:t.y,a=o+r*n.x,l=s+r*n.y;e.x=a+(e.y-l)/n.normalSlope}else e.x=(i?t.xo:t.x)+r},slope:0,touch:function(e){e.xTouched=!0},touched:function(e){return e.xTouched},untouch:function(e){e.xTouched=!1}},CS={x:0,y:1,axis:"y",distance:function(e,t,r,n){return(r?e.yo:e.y)-(n?t.yo:t.y)},interpolate:function(e,t,r,n){var i,o,s,a,l,c,u;if(!n||n===this)return i=e.yo-t.yo,o=e.yo-r.yo,l=t.y-t.yo,c=r.y-r.yo,0===(u=(s=Math.abs(i))+(a=Math.abs(o)))?void(e.y=e.yo+(l+c)/2):void(e.y=e.yo+(l*a+c*s)/u);i=n.distance(e,t,!0,!0),o=n.distance(e,r,!0,!0),l=n.distance(t,t,!1,!0),c=n.distance(r,r,!1,!0),0!==(u=(s=Math.abs(i))+(a=Math.abs(o)))?CS.setRelative(e,e,(l*a+c*s)/u,n,!0):CS.setRelative(e,e,(l+c)/2,n,!0)},normalSlope:0,setRelative:function(e,t,r,n,i){if(n&&n!==this){var o=i?t.xo:t.x,s=i?t.yo:t.y,a=o+r*n.x,l=s+r*n.y;e.y=l+n.normalSlope*(e.x-a)}else e.y=(i?t.yo:t.y)+r},slope:Number.POSITIVE_INFINITY,touch:function(e){e.yTouched=!0},touched:function(e){return e.yTouched},untouch:function(e){e.yTouched=!1}};function ES(e,t){this.x=e,this.y=t,this.axis=void 0,this.slope=t/e,this.normalSlope=-e/t,Object.freeze(this)}function IS(e,t){var r=Math.sqrt(e*e+t*t);return t/=r,1===(e/=r)&&0===t?AS:0===e&&1===t?CS:new ES(e,t)}function MS(e,t,r,n){this.x=this.xo=Math.round(64*e)/64,this.y=this.yo=Math.round(64*t)/64,this.lastPointOfContour=r,this.onCurve=n,this.prevPointOnContour=void 0,this.nextPointOnContour=void 0,this.xTouched=!1,this.yTouched=!1,Object.preventExtensions(this)}Object.freeze(AS),Object.freeze(CS),ES.prototype.distance=function(e,t,r,n){return this.x*AS.distance(e,t,r,n)+this.y*CS.distance(e,t,r,n)},ES.prototype.interpolate=function(e,t,r,n){var i,o,s,a,l,c,u;s=n.distance(e,t,!0,!0),a=n.distance(e,r,!0,!0),i=n.distance(t,t,!1,!0),o=n.distance(r,r,!1,!0),0!==(u=(l=Math.abs(s))+(c=Math.abs(a)))?this.setRelative(e,e,(i*c+o*l)/u,n,!0):this.setRelative(e,e,(i+o)/2,n,!0)},ES.prototype.setRelative=function(e,t,r,n,i){n=n||this;var o=i?t.xo:t.x,s=i?t.yo:t.y,a=o+r*n.x,l=s+r*n.y,c=n.normalSlope,u=this.slope,d=e.x,h=e.y;e.x=(u*d-c*a+l-h)/(u-c),e.y=u*(e.x-d)+h},ES.prototype.touch=function(e){e.xTouched=!0,e.yTouched=!0},MS.prototype.nextTouched=function(e){for(var t=this.nextPointOnContour;!e.touched(t)&&t!==this;)t=t.nextPointOnContour;return t},MS.prototype.prevTouched=function(e){for(var t=this.prevPointOnContour;!e.touched(t)&&t!==this;)t=t.prevPointOnContour;return t};var kS=Object.freeze(new MS(0,0)),TS={cvCutIn:17/16,deltaBase:9,deltaShift:.125,loop:1,minDis:1,autoFlip:!0};function RS(e,t){switch(this.env=e,this.stack=[],this.prog=t,e){case"glyf":this.zp0=this.zp1=this.zp2=1,this.rp0=this.rp1=this.rp2=0;case"prep":this.fv=this.pv=this.dpv=AS,this.round=bS}}function LS(e){for(var t=e.tZone=new Array(e.gZone.length),r=0;r<t.length;r++)t[r]=new MS(0,0)}function PS(e,t){var r,n=e.prog,i=e.ip,o=1;do{if(88===(r=n[++i]))o++;else if(89===r)o--;else if(64===r)i+=n[i+1]+1;else if(65===r)i+=2*n[i+1]+1;else if(r>=176&&r<=183)i+=r-176+1;else if(r>=184&&r<=191)i+=2*(r-184+1);else if(t&&1===o&&27===r)break}while(o>0);e.ip=i}function DS(e,t){exports.DEBUG&&console.log(t.step,"SVTCA["+e.axis+"]"),t.fv=t.pv=t.dpv=e}function NS(e,t){exports.DEBUG&&console.log(t.step,"SPVTCA["+e.axis+"]"),t.pv=t.dpv=e}function FS(e,t){exports.DEBUG&&console.log(t.step,"SFVTCA["+e.axis+"]"),t.fv=e}function OS(e,t){var r,n,i=t.stack,o=i.pop(),s=i.pop(),a=t.z2[o],l=t.z1[s];exports.DEBUG&&console.log("SPVTL["+e+"]",o,s),e?(r=a.y-l.y,n=l.x-a.x):(r=l.x-a.x,n=l.y-a.y),t.pv=t.dpv=IS(r,n)}function BS(e,t){var r,n,i=t.stack,o=i.pop(),s=i.pop(),a=t.z2[o],l=t.z1[s];exports.DEBUG&&console.log("SFVTL["+e+"]",o,s),e?(r=a.y-l.y,n=l.x-a.x):(r=l.x-a.x,n=l.y-a.y),t.fv=IS(r,n)}function US(e){exports.DEBUG&&console.log(e.step,"POP[]"),e.stack.pop()}function VS(e,t){var r=t.stack.pop(),n=t.z0[r],i=t.fv,o=t.pv;exports.DEBUG&&console.log(t.step,"MDAP["+e+"]",r);var s=o.distance(n,kS);e&&(s=t.round(s)),i.setRelative(n,kS,s,o),i.touch(n),t.rp0=t.rp1=r}function zS(e,t){var r,n,i,o=t.z2,s=o.length-2;exports.DEBUG&&console.log(t.step,"IUP["+e.axis+"]");for(var a=0;a<s;a++)r=o[a],e.touched(r)||(n=r.prevTouched(e))!==r&&(n===(i=r.nextTouched(e))&&e.setRelative(r,r,e.distance(n,n,!1,!0),e,!0),e.interpolate(r,n,i,e))}function HS(e,t){for(var r=t.stack,n=e?t.rp1:t.rp2,i=(e?t.z0:t.z1)[n],o=t.fv,s=t.pv,a=t.loop,l=t.z2;a--;){var c=r.pop(),u=l[c],d=s.distance(i,i,!1,!0);o.setRelative(u,u,d,s),o.touch(u),exports.DEBUG&&console.log(t.step,(t.loop>1?"loop "+(t.loop-a)+": ":"")+"SHP["+(e?"rp1":"rp2")+"]",c)}t.loop=1}function GS(e,t){var r=t.stack,n=e?t.rp1:t.rp2,i=(e?t.z0:t.z1)[n],o=t.fv,s=t.pv,a=r.pop(),l=t.z2[t.contours[a]],c=l;exports.DEBUG&&console.log(t.step,"SHC["+e+"]",a);var u=s.distance(i,i,!1,!0);do{c!==i&&o.setRelative(c,c,u,s),c=c.nextPointOnContour}while(c!==l)}function jS(e,t){var r,n,i=t.stack,o=e?t.rp1:t.rp2,s=(e?t.z0:t.z1)[o],a=t.fv,l=t.pv,c=i.pop();switch(exports.DEBUG&&console.log(t.step,"SHZ["+e+"]",c),c){case 0:r=t.tZone;break;case 1:r=t.gZone;break;default:throw new Error("Invalid zone")}for(var u=l.distance(s,s,!1,!0),d=r.length-2,h=0;h<d;h++)n=r[h],a.setRelative(n,n,u,l)}function JS(e,t){var r=t.stack,n=r.pop()/64,i=r.pop(),o=t.z1[i],s=t.z0[t.rp0],a=t.fv,l=t.pv;a.setRelative(o,s,n,l),a.touch(o),exports.DEBUG&&console.log(t.step,"MSIRP["+e+"]",n,i),t.rp1=t.rp0,t.rp2=i,e&&(t.rp0=i)}function WS(e,t){var r=t.stack,n=r.pop(),i=r.pop(),o=t.z0[i],s=t.fv,a=t.pv,l=t.cvt[n];exports.DEBUG&&console.log(t.step,"MIAP["+e+"]",n,"(",l,")",i);var c=a.distance(o,kS);e&&(Math.abs(c-l)<t.cvCutIn&&(c=l),c=t.round(c)),s.setRelative(o,kS,c,a),0===t.zp0&&(o.xo=o.x,o.yo=o.y),s.touch(o),t.rp0=t.rp1=i}function QS(e,t){var r=t.stack,n=r.pop(),i=t.z2[n];exports.DEBUG&&console.log(t.step,"GC["+e+"]",n),r.push(64*t.dpv.distance(i,kS,e,!1))}function qS(e,t){var r=t.stack,n=r.pop(),i=r.pop(),o=t.z1[n],s=t.z0[i],a=t.dpv.distance(s,o,e,e);exports.DEBUG&&console.log(t.step,"MD["+e+"]",n,i,"->",a),t.stack.push(Math.round(64*a))}function YS(e,t){var r=t.stack,n=r.pop(),i=t.fv,o=t.pv,s=t.ppem,a=t.deltaBase+16*(e-1),l=t.deltaShift,c=t.z0;exports.DEBUG&&console.log(t.step,"DELTAP["+e+"]",n,r);for(var u=0;u<n;u++){var d=r.pop(),h=r.pop();if(a+((240&h)>>4)===s){var p=(15&h)-8;p>=0&&p++,exports.DEBUG&&console.log(t.step,"DELTAPFIX",d,"by",p*l);var m=c[d];i.setRelative(m,m,p*l,o)}}}function XS(e,t){var r=t.stack,n=r.pop();exports.DEBUG&&console.log(t.step,"ROUND[]"),r.push(64*t.round(n/64))}function KS(e,t){var r=t.stack,n=r.pop(),i=t.ppem,o=t.deltaBase+16*(e-1),s=t.deltaShift;exports.DEBUG&&console.log(t.step,"DELTAC["+e+"]",n,r);for(var a=0;a<n;a++){var l=r.pop(),c=r.pop();if(o+((240&c)>>4)===i){var u=(15&c)-8;u>=0&&u++;var d=u*s;exports.DEBUG&&console.log(t.step,"DELTACFIX",l,"by",d),t.cvt[l]+=d}}}function ZS(e,t){var r,n,i=t.stack,o=i.pop(),s=i.pop(),a=t.z2[o],l=t.z1[s];exports.DEBUG&&console.log(t.step,"SDPVTL["+e+"]",o,s),e?(r=a.y-l.y,n=l.x-a.x):(r=l.x-a.x,n=l.y-a.y),t.dpv=IS(r,n)}function ew(e,t){var r=t.stack,n=t.prog,i=t.ip;exports.DEBUG&&console.log(t.step,"PUSHB["+e+"]");for(var o=0;o<e;o++)r.push(n[++i]);t.ip=i}function tw(e,t){var r=t.ip,n=t.prog,i=t.stack;exports.DEBUG&&console.log(t.ip,"PUSHW["+e+"]");for(var o=0;o<e;o++){var s=n[++r]<<8|n[++r];32768&s&&(s=-(1+(65535^s))),i.push(s)}t.ip=r}function rw(e,t,r,n,i,o){var s,a,l,c,u=o.stack,d=e&&u.pop(),h=u.pop(),p=o.rp0,m=o.z0[p],_=o.z1[h],g=o.minDis,f=o.fv,v=o.dpv;l=(a=s=v.distance(_,m,!0,!0))>=0?1:-1,a=Math.abs(a),e&&(c=o.cvt[d],n&&Math.abs(a-c)<o.cvCutIn&&(a=c)),r&&a<g&&(a=g),n&&(a=o.round(a)),f.setRelative(_,m,l*a,v),f.touch(_),exports.DEBUG&&console.log(o.step,(e?"MIRP[":"MDRP[")+(t?"M":"m")+(r?">":"_")+(n?"R":"_")+(0===i?"Gr":1===i?"Bl":2===i?"Wh":"")+"]",e?d+"("+o.cvt[d]+","+c+")":"",h,"(d =",s,"->",l*a,")"),o.rp1=o.rp0,o.rp2=h,t&&(o.rp0=h)}function nw(e){this.char=e,this.state={},this.activeState=null}function iw(e,t,r){this.contextName=r,this.startIndex=e,this.endOffset=t}function ow(e,t,r){this.contextName=e,this.openRange=null,this.ranges=[],this.checkStart=t,this.checkEnd=r}function sw(e,t){this.context=e,this.index=t,this.length=e.length,this.current=e[t],this.backtrack=e.slice(0,t),this.lookahead=e.slice(t+1)}function aw(e){this.eventId=e,this.subscribers=[]}function lw(e){var t=this,r=["start","end","next","newToken","contextStart","contextEnd","insertToken","removeToken","removeRange","replaceToken","replaceRange","composeRUD","updateContextsRanges"];r.forEach(function(e){Object.defineProperty(t.events,e,{value:new aw(e)})}),e&&r.forEach(function(r){var n=e[r];"function"==typeof n&&t.events[r].subscribe(n)});["insertToken","removeToken","removeRange","replaceToken","replaceRange","composeRUD"].forEach(function(e){t.events[e].subscribe(t.updateContextsRanges)})}function cw(e){this.tokens=[],this.registeredContexts={},this.contextCheckers=[],this.events={},this.registeredModifiers=[],lw.call(this,e)}function uw(e){return/[\u0600-\u065F\u066A-\u06D2\u06FA-\u06FF]/.test(e)}function dw(e){return/[\u0630\u0690\u0621\u0631\u0661\u0671\u0622\u0632\u0672\u0692\u06C2\u0623\u0673\u0693\u06C3\u0624\u0694\u06C4\u0625\u0675\u0695\u06C5\u06E5\u0676\u0696\u06C6\u0627\u0677\u0697\u06C7\u0648\u0688\u0698\u06C8\u0689\u0699\u06C9\u068A\u06CA\u066B\u068B\u06CB\u068C\u068D\u06CD\u06FD\u068E\u06EE\u06FE\u062F\u068F\u06CF\u06EF]/.test(e)}function hw(e){return/[\u0600-\u0605\u060C-\u060E\u0610-\u061B\u061E\u064B-\u065F\u0670\u06D6-\u06DC\u06DF-\u06E4\u06E7\u06E8\u06EA-\u06ED]/.test(e)}function pw(e){return/[A-z]/.test(e)}function mw(e){this.font=e,this.features={}}function _w(e){this.id=e.id,this.tag=e.tag,this.substitution=e.substitution}function gw(e,t){if(!e)return-1;switch(t.format){case 1:return t.glyphs.indexOf(e);case 2:for(var r=t.ranges,n=0;n<r.length;n++){var i=r[n];if(e>=i.start&&e<=i.end){var o=e-i.start;return i.index+o}}break;default:return-1}return-1}function fw(e,t){return-1===gw(e,t.coverage)?null:e+t.deltaGlyphId}function vw(e,t){var r=gw(e,t.coverage);return-1===r?null:t.substitute[r]}function bw(e,t){for(var r=[],n=0;n<e.length;n++){var i=e[n],o=t.current,s=gw(o=Array.isArray(o)?o[0]:o,i);-1!==s&&r.push(s)}return r.length!==e.length?-1:r}function yw(e,t){var r=t.inputCoverage.length+t.lookaheadCoverage.length+t.backtrackCoverage.length;if(e.context.length<r)return[];var n=bw(t.inputCoverage,e);if(-1===n)return[];var i=t.inputCoverage.length-1;if(e.lookahead.length<t.lookaheadCoverage.length)return[];for(var o=e.lookahead.slice(i);o.length&&hw(o[0].char);)o.shift();var s=new sw(o,0),a=bw(t.lookaheadCoverage,s),l=[].concat(e.backtrack);for(l.reverse();l.length&&hw(l[0].char);)l.shift();if(l.length<t.backtrackCoverage.length)return[];var c=new sw(l,0),u=bw(t.backtrackCoverage,c),d=[];if(n.length===t.inputCoverage.length&&a.length===t.lookaheadCoverage.length&&u.length===t.backtrackCoverage.length)for(var h=0;h<t.lookupRecords.length;h++)for(var p=t.lookupRecords[h].lookupListIndex,m=this.getLookupByIndex(p),_=0;_<m.subtables.length;_++){var g=m.subtables[_],f=this.getLookupMethod(m,g);if("12"===this.getSubstitutionType(m,g))for(var v=0;v<n.length;v++){var b=f(e.get(v));b&&d.push(b)}}return d}function $w(e,t){var r,n=gw(e.current,t.coverage);if(-1===n)return null;for(var i=t.ligatureSets[n],o=0;o<i.length;o++){r=i[o];for(var s=0;s<r.components.length;s++){if(e.lookahead[s]!==r.components[s])break;if(s===r.components.length-1)return r}}return null}function xw(e,t){var r=gw(e,t.coverage);return-1===r?null:t.sequences[r]}fS.prototype.exec=function(e,t){if("number"!=typeof t)throw new Error("Point size is not a number!");if(!(this._errorState>2)){var r=this.font,n=this._prepState;if(!n||n.ppem!==t){var i=this._fpgmState;if(!i){RS.prototype=TS,(i=this._fpgmState=new RS("fpgm",r.tables.fpgm)).funcs=[],i.font=r,exports.DEBUG&&(console.log("---EXEC FPGM---"),i.step=-1);try{pS(i)}catch(e){return console.log("Hinting error in FPGM:"+e),void(this._errorState=3)}}RS.prototype=i,(n=this._prepState=new RS("prep",r.tables.prep)).ppem=t;var o=r.tables.cvt;if(o)for(var s=n.cvt=new Array(o.length),a=t/r.unitsPerEm,l=0;l<o.length;l++)s[l]=o[l]*a;else n.cvt=[];exports.DEBUG&&(console.log("---EXEC PREP---"),n.step=-1);try{pS(n)}catch(e){this._errorState<2&&console.log("Hinting error in PREP:"+e),this._errorState=2}}if(!(this._errorState>1))try{return mS(e,n)}catch(e){return this._errorState<1&&(console.log("Hinting error:"+e),console.log("Note: further hinting errors are silenced")),void(this._errorState=1)}}},mS=function(e,t){var r,n,i,o=t.ppem/t.font.unitsPerEm,s=o,a=e.components;if(RS.prototype=t,a){var l=t.font;n=[],r=[];for(var c=0;c<a.length;c++){var u=a[c],d=l.glyphs.get(u.glyphIndex);i=new RS("glyf",d.instructions),exports.DEBUG&&(console.log("---EXEC COMP "+c+"---"),i.step=-1),_S(d,i,o,s);for(var h=Math.round(u.dx*o),p=Math.round(u.dy*s),m=i.gZone,_=i.contours,g=0;g<m.length;g++){var f=m[g];f.xTouched=f.yTouched=!1,f.xo=f.x=f.x+h,f.yo=f.y=f.y+p}var v=n.length;n.push.apply(n,m);for(var b=0;b<_.length;b++)r.push(_[b]+v)}e.instructions&&!i.inhibitGridFit&&((i=new RS("glyf",e.instructions)).gZone=i.z0=i.z1=i.z2=n,i.contours=r,n.push(new MS(0,0),new MS(Math.round(e.advanceWidth*o),0)),exports.DEBUG&&(console.log("---EXEC COMPOSITE---"),i.step=-1),pS(i),n.length-=2)}else i=new RS("glyf",e.instructions),exports.DEBUG&&(console.log("---EXEC GLYPH---"),i.step=-1),_S(e,i,o,s),n=i.gZone;return n},_S=function(e,t,r,n){for(var i,o,s,a=e.points||[],l=a.length,c=t.gZone=t.z0=t.z1=t.z2=[],u=t.contours=[],d=0;d<l;d++)i=a[d],c[d]=new MS(i.x*r,i.y*n,i.lastPointOfContour,i.onCurve);for(var h=0;h<l;h++)i=c[h],o||(o=i,u.push(h)),i.lastPointOfContour?(i.nextPointOnContour=o,o.prevPointOnContour=i,o=void 0):(s=c[h+1],i.nextPointOnContour=s,s.prevPointOnContour=i);if(!t.inhibitGridFit){if(exports.DEBUG){console.log("PROCESSING GLYPH",t.stack);for(var p=0;p<l;p++)console.log(p,c[p].x,c[p].y)}if(c.push(new MS(0,0),new MS(Math.round(e.advanceWidth*r),0)),pS(t),c.length-=2,exports.DEBUG){console.log("FINISHED GLYPH",t.stack);for(var m=0;m<l;m++)console.log(m,c[m].x,c[m].y)}}},pS=function(e){var t=e.prog;if(t){var r,n=t.length;for(e.ip=0;e.ip<n;e.ip++){if(exports.DEBUG&&e.step++,!(r=hS[t[e.ip]]))throw new Error("unknown instruction: 0x"+Number(t[e.ip]).toString(16));r(e)}}},hS=[DS.bind(void 0,CS),DS.bind(void 0,AS),NS.bind(void 0,CS),NS.bind(void 0,AS),FS.bind(void 0,CS),FS.bind(void 0,AS),OS.bind(void 0,0),OS.bind(void 0,1),BS.bind(void 0,0),BS.bind(void 0,1),function(e){var t=e.stack,r=t.pop(),n=t.pop();exports.DEBUG&&console.log(e.step,"SPVFS[]",r,n),e.pv=e.dpv=IS(n,r)},function(e){var t=e.stack,r=t.pop(),n=t.pop();exports.DEBUG&&console.log(e.step,"SPVFS[]",r,n),e.fv=IS(n,r)},function(e){var t=e.stack,r=e.pv;exports.DEBUG&&console.log(e.step,"GPV[]"),t.push(16384*r.x),t.push(16384*r.y)},function(e){var t=e.stack,r=e.fv;exports.DEBUG&&console.log(e.step,"GFV[]"),t.push(16384*r.x),t.push(16384*r.y)},function(e){e.fv=e.pv,exports.DEBUG&&console.log(e.step,"SFVTPV[]")},function(e){var t=e.stack,r=t.pop(),n=t.pop(),i=t.pop(),o=t.pop(),s=t.pop(),a=e.z0,l=e.z1,c=a[r],u=a[n],d=l[i],h=l[o],p=e.z2[s];exports.DEBUG&&console.log("ISECT[], ",r,n,i,o,s);var m=c.x,_=c.y,g=u.x,f=u.y,v=d.x,b=d.y,y=h.x,$=h.y,x=(m-g)*(b-$)-(_-f)*(v-y),S=m*f-_*g,w=v*$-b*y;p.x=(S*(v-y)-w*(m-g))/x,p.y=(S*(b-$)-w*(_-f))/x},function(e){e.rp0=e.stack.pop(),exports.DEBUG&&console.log(e.step,"SRP0[]",e.rp0)},function(e){e.rp1=e.stack.pop(),exports.DEBUG&&console.log(e.step,"SRP1[]",e.rp1)},function(e){e.rp2=e.stack.pop(),exports.DEBUG&&console.log(e.step,"SRP2[]",e.rp2)},function(e){var t=e.stack.pop();switch(exports.DEBUG&&console.log(e.step,"SZP0[]",t),e.zp0=t,t){case 0:e.tZone||LS(e),e.z0=e.tZone;break;case 1:e.z0=e.gZone;break;default:throw new Error("Invalid zone pointer")}},function(e){var t=e.stack.pop();switch(exports.DEBUG&&console.log(e.step,"SZP1[]",t),e.zp1=t,t){case 0:e.tZone||LS(e),e.z1=e.tZone;break;case 1:e.z1=e.gZone;break;default:throw new Error("Invalid zone pointer")}},function(e){var t=e.stack.pop();switch(exports.DEBUG&&console.log(e.step,"SZP2[]",t),e.zp2=t,t){case 0:e.tZone||LS(e),e.z2=e.tZone;break;case 1:e.z2=e.gZone;break;default:throw new Error("Invalid zone pointer")}},function(e){var t=e.stack.pop();switch(exports.DEBUG&&console.log(e.step,"SZPS[]",t),e.zp0=e.zp1=e.zp2=t,t){case 0:e.tZone||LS(e),e.z0=e.z1=e.z2=e.tZone;break;case 1:e.z0=e.z1=e.z2=e.gZone;break;default:throw new Error("Invalid zone pointer")}},function(e){e.loop=e.stack.pop(),exports.DEBUG&&console.log(e.step,"SLOOP[]",e.loop)},function(e){exports.DEBUG&&console.log(e.step,"RTG[]"),e.round=bS},function(e){exports.DEBUG&&console.log(e.step,"RTHG[]"),e.round=$S},function(e){var t=e.stack.pop();exports.DEBUG&&console.log(e.step,"SMD[]",t),e.minDis=t/64},function(e){exports.DEBUG&&console.log(e.step,"ELSE[]"),PS(e,!1)},function(e){var t=e.stack.pop();exports.DEBUG&&console.log(e.step,"JMPR[]",t),e.ip+=t-1},function(e){var t=e.stack.pop();exports.DEBUG&&console.log(e.step,"SCVTCI[]",t),e.cvCutIn=t/64},void 0,void 0,function(e){var t=e.stack;exports.DEBUG&&console.log(e.step,"DUP[]"),t.push(t[t.length-1])},US,function(e){exports.DEBUG&&console.log(e.step,"CLEAR[]"),e.stack.length=0},function(e){var t=e.stack,r=t.pop(),n=t.pop();exports.DEBUG&&console.log(e.step,"SWAP[]"),t.push(r),t.push(n)},function(e){var t=e.stack;exports.DEBUG&&console.log(e.step,"DEPTH[]"),t.push(t.length)},function(e){var t=e.stack,r=t.pop();exports.DEBUG&&console.log(e.step,"CINDEX[]",r),t.push(t[t.length-r])},function(e){var t=e.stack,r=t.pop();exports.DEBUG&&console.log(e.step,"MINDEX[]",r),t.push(t.splice(t.length-r,1)[0])},void 0,void 0,void 0,function(e){var t=e.stack,r=t.pop(),n=t.pop();exports.DEBUG&&console.log(e.step,"LOOPCALL[]",r,n);var i=e.ip,o=e.prog;e.prog=e.funcs[r];for(var s=0;s<n;s++)pS(e),exports.DEBUG&&console.log(++e.step,s+1<n?"next loopcall":"done loopcall",s);e.ip=i,e.prog=o},function(e){var t=e.stack.pop();exports.DEBUG&&console.log(e.step,"CALL[]",t);var r=e.ip,n=e.prog;e.prog=e.funcs[t],pS(e),e.ip=r,e.prog=n,exports.DEBUG&&console.log(++e.step,"returning from",t)},function(e){if("fpgm"!==e.env)throw new Error("FDEF not allowed here");var t=e.stack,r=e.prog,n=e.ip,i=t.pop(),o=n;for(exports.DEBUG&&console.log(e.step,"FDEF[]",i);45!==r[++n];);e.ip=n,e.funcs[i]=r.slice(o+1,n)},void 0,VS.bind(void 0,0),VS.bind(void 0,1),zS.bind(void 0,CS),zS.bind(void 0,AS),HS.bind(void 0,0),HS.bind(void 0,1),GS.bind(void 0,0),GS.bind(void 0,1),jS.bind(void 0,0),jS.bind(void 0,1),function(e){for(var t=e.stack,r=e.loop,n=e.fv,i=t.pop()/64,o=e.z2;r--;){var s=t.pop(),a=o[s];exports.DEBUG&&console.log(e.step,(e.loop>1?"loop "+(e.loop-r)+": ":"")+"SHPIX[]",s,i),n.setRelative(a,a,i),n.touch(a)}e.loop=1},function(e){for(var t=e.stack,r=e.rp1,n=e.rp2,i=e.loop,o=e.z0[r],s=e.z1[n],a=e.fv,l=e.dpv,c=e.z2;i--;){var u=t.pop(),d=c[u];exports.DEBUG&&console.log(e.step,(e.loop>1?"loop "+(e.loop-i)+": ":"")+"IP[]",u,r,"<->",n),a.interpolate(d,o,s,l),a.touch(d)}e.loop=1},JS.bind(void 0,0),JS.bind(void 0,1),function(e){for(var t=e.stack,r=e.rp0,n=e.z0[r],i=e.loop,o=e.fv,s=e.pv,a=e.z1;i--;){var l=t.pop(),c=a[l];exports.DEBUG&&console.log(e.step,(e.loop>1?"loop "+(e.loop-i)+": ":"")+"ALIGNRP[]",l),o.setRelative(c,n,0,s),o.touch(c)}e.loop=1},function(e){exports.DEBUG&&console.log(e.step,"RTDG[]"),e.round=yS},WS.bind(void 0,0),WS.bind(void 0,1),function(e){var t=e.prog,r=e.ip,n=e.stack,i=t[++r];exports.DEBUG&&console.log(e.step,"NPUSHB[]",i);for(var o=0;o<i;o++)n.push(t[++r]);e.ip=r},function(e){var t=e.ip,r=e.prog,n=e.stack,i=r[++t];exports.DEBUG&&console.log(e.step,"NPUSHW[]",i);for(var o=0;o<i;o++){var s=r[++t]<<8|r[++t];32768&s&&(s=-(1+(65535^s))),n.push(s)}e.ip=t},function(e){var t=e.stack,r=e.store;r||(r=e.store=[]);var n=t.pop(),i=t.pop();exports.DEBUG&&console.log(e.step,"WS",n,i),r[i]=n},function(e){var t=e.stack,r=e.store,n=t.pop();exports.DEBUG&&console.log(e.step,"RS",n);var i=r&&r[n]||0;t.push(i)},function(e){var t=e.stack,r=t.pop(),n=t.pop();exports.DEBUG&&console.log(e.step,"WCVTP",r,n),e.cvt[n]=r/64},function(e){var t=e.stack,r=t.pop();exports.DEBUG&&console.log(e.step,"RCVT",r),t.push(64*e.cvt[r])},QS.bind(void 0,0),QS.bind(void 0,1),void 0,qS.bind(void 0,0),qS.bind(void 0,1),function(e){exports.DEBUG&&console.log(e.step,"MPPEM[]"),e.stack.push(e.ppem)},void 0,function(e){exports.DEBUG&&console.log(e.step,"FLIPON[]"),e.autoFlip=!0},void 0,void 0,function(e){var t=e.stack,r=t.pop(),n=t.pop();exports.DEBUG&&console.log(e.step,"LT[]",r,n),t.push(n<r?1:0)},function(e){var t=e.stack,r=t.pop(),n=t.pop();exports.DEBUG&&console.log(e.step,"LTEQ[]",r,n),t.push(n<=r?1:0)},function(e){var t=e.stack,r=t.pop(),n=t.pop();exports.DEBUG&&console.log(e.step,"GT[]",r,n),t.push(n>r?1:0)},function(e){var t=e.stack,r=t.pop(),n=t.pop();exports.DEBUG&&console.log(e.step,"GTEQ[]",r,n),t.push(n>=r?1:0)},function(e){var t=e.stack,r=t.pop(),n=t.pop();exports.DEBUG&&console.log(e.step,"EQ[]",r,n),t.push(r===n?1:0)},function(e){var t=e.stack,r=t.pop(),n=t.pop();exports.DEBUG&&console.log(e.step,"NEQ[]",r,n),t.push(r!==n?1:0)},function(e){var t=e.stack,r=t.pop();exports.DEBUG&&console.log(e.step,"ODD[]",r),t.push(Math.trunc(r)%2?1:0)},function(e){var t=e.stack,r=t.pop();exports.DEBUG&&console.log(e.step,"EVEN[]",r),t.push(Math.trunc(r)%2?0:1)},function(e){var t=e.stack.pop();exports.DEBUG&&console.log(e.step,"IF[]",t),t||(PS(e,!0),exports.DEBUG&&console.log(e.step,"EIF[]"))},function(e){exports.DEBUG&&console.log(e.step,"EIF[]")},function(e){var t=e.stack,r=t.pop(),n=t.pop();exports.DEBUG&&console.log(e.step,"AND[]",r,n),t.push(r&&n?1:0)},function(e){var t=e.stack,r=t.pop(),n=t.pop();exports.DEBUG&&console.log(e.step,"OR[]",r,n),t.push(r||n?1:0)},function(e){var t=e.stack,r=t.pop();exports.DEBUG&&console.log(e.step,"NOT[]",r),t.push(r?0:1)},YS.bind(void 0,1),function(e){var t=e.stack.pop();exports.DEBUG&&console.log(e.step,"SDB[]",t),e.deltaBase=t},function(e){var t=e.stack.pop();exports.DEBUG&&console.log(e.step,"SDS[]",t),e.deltaShift=Math.pow(.5,t)},function(e){var t=e.stack,r=t.pop(),n=t.pop();exports.DEBUG&&console.log(e.step,"ADD[]",r,n),t.push(n+r)},function(e){var t=e.stack,r=t.pop(),n=t.pop();exports.DEBUG&&console.log(e.step,"SUB[]",r,n),t.push(n-r)},function(e){var t=e.stack,r=t.pop(),n=t.pop();exports.DEBUG&&console.log(e.step,"DIV[]",r,n),t.push(64*n/r)},function(e){var t=e.stack,r=t.pop(),n=t.pop();exports.DEBUG&&console.log(e.step,"MUL[]",r,n),t.push(n*r/64)},function(e){var t=e.stack,r=t.pop();exports.DEBUG&&console.log(e.step,"ABS[]",r),t.push(Math.abs(r))},function(e){var t=e.stack,r=t.pop();exports.DEBUG&&console.log(e.step,"NEG[]",r),t.push(-r)},function(e){var t=e.stack,r=t.pop();exports.DEBUG&&console.log(e.step,"FLOOR[]",r),t.push(64*Math.floor(r/64))},function(e){var t=e.stack,r=t.pop();exports.DEBUG&&console.log(e.step,"CEILING[]",r),t.push(64*Math.ceil(r/64))},XS.bind(void 0,0),XS.bind(void 0,1),XS.bind(void 0,2),XS.bind(void 0,3),void 0,void 0,void 0,void 0,function(e){var t=e.stack,r=t.pop(),n=t.pop();exports.DEBUG&&console.log(e.step,"WCVTF[]",r,n),e.cvt[n]=r*e.ppem/e.font.unitsPerEm},YS.bind(void 0,2),YS.bind(void 0,3),KS.bind(void 0,1),KS.bind(void 0,2),KS.bind(void 0,3),function(e){var t,r=e.stack.pop();switch(exports.DEBUG&&console.log(e.step,"SROUND[]",r),e.round=wS,192&r){case 0:t=.5;break;case 64:t=1;break;case 128:t=2;break;default:throw new Error("invalid SROUND value")}switch(e.srPeriod=t,48&r){case 0:e.srPhase=0;break;case 16:e.srPhase=.25*t;break;case 32:e.srPhase=.5*t;break;case 48:e.srPhase=.75*t;break;default:throw new Error("invalid SROUND value")}r&=15,e.srThreshold=0===r?0:(r/8-.5)*t},function(e){var t,r=e.stack.pop();switch(exports.DEBUG&&console.log(e.step,"S45ROUND[]",r),e.round=wS,192&r){case 0:t=Math.sqrt(2)/2;break;case 64:t=Math.sqrt(2);break;case 128:t=2*Math.sqrt(2);break;default:throw new Error("invalid S45ROUND value")}switch(e.srPeriod=t,48&r){case 0:e.srPhase=0;break;case 16:e.srPhase=.25*t;break;case 32:e.srPhase=.5*t;break;case 48:e.srPhase=.75*t;break;default:throw new Error("invalid S45ROUND value")}r&=15,e.srThreshold=0===r?0:(r/8-.5)*t},void 0,void 0,function(e){exports.DEBUG&&console.log(e.step,"ROFF[]"),e.round=vS},void 0,function(e){exports.DEBUG&&console.log(e.step,"RUTG[]"),e.round=xS},function(e){exports.DEBUG&&console.log(e.step,"RDTG[]"),e.round=SS},US,US,void 0,void 0,void 0,void 0,void 0,function(e){var t=e.stack.pop();exports.DEBUG&&console.log(e.step,"SCANCTRL[]",t)},ZS.bind(void 0,0),ZS.bind(void 0,1),function(e){var t=e.stack,r=t.pop(),n=0;exports.DEBUG&&console.log(e.step,"GETINFO[]",r),1&r&&(n=35),32&r&&(n|=4096),t.push(n)},void 0,function(e){var t=e.stack,r=t.pop(),n=t.pop(),i=t.pop();exports.DEBUG&&console.log(e.step,"ROLL[]"),t.push(n),t.push(r),t.push(i)},function(e){var t=e.stack,r=t.pop(),n=t.pop();exports.DEBUG&&console.log(e.step,"MAX[]",r,n),t.push(Math.max(n,r))},function(e){var t=e.stack,r=t.pop(),n=t.pop();exports.DEBUG&&console.log(e.step,"MIN[]",r,n),t.push(Math.min(n,r))},function(e){var t=e.stack.pop();exports.DEBUG&&console.log(e.step,"SCANTYPE[]",t)},function(e){var t=e.stack.pop(),r=e.stack.pop();switch(exports.DEBUG&&console.log(e.step,"INSTCTRL[]",t,r),t){case 1:return void(e.inhibitGridFit=!!r);case 2:return void(e.ignoreCvt=!!r);default:throw new Error("invalid INSTCTRL[] selector")}},void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,void 0,ew.bind(void 0,1),ew.bind(void 0,2),ew.bind(void 0,3),ew.bind(void 0,4),ew.bind(void 0,5),ew.bind(void 0,6),ew.bind(void 0,7),ew.bind(void 0,8),tw.bind(void 0,1),tw.bind(void 0,2),tw.bind(void 0,3),tw.bind(void 0,4),tw.bind(void 0,5),tw.bind(void 0,6),tw.bind(void 0,7),tw.bind(void 0,8),rw.bind(void 0,0,0,0,0,0),rw.bind(void 0,0,0,0,0,1),rw.bind(void 0,0,0,0,0,2),rw.bind(void 0,0,0,0,0,3),rw.bind(void 0,0,0,0,1,0),rw.bind(void 0,0,0,0,1,1),rw.bind(void 0,0,0,0,1,2),rw.bind(void 0,0,0,0,1,3),rw.bind(void 0,0,0,1,0,0),rw.bind(void 0,0,0,1,0,1),rw.bind(void 0,0,0,1,0,2),rw.bind(void 0,0,0,1,0,3),rw.bind(void 0,0,0,1,1,0),rw.bind(void 0,0,0,1,1,1),rw.bind(void 0,0,0,1,1,2),rw.bind(void 0,0,0,1,1,3),rw.bind(void 0,0,1,0,0,0),rw.bind(void 0,0,1,0,0,1),rw.bind(void 0,0,1,0,0,2),rw.bind(void 0,0,1,0,0,3),rw.bind(void 0,0,1,0,1,0),rw.bind(void 0,0,1,0,1,1),rw.bind(void 0,0,1,0,1,2),rw.bind(void 0,0,1,0,1,3),rw.bind(void 0,0,1,1,0,0),rw.bind(void 0,0,1,1,0,1),rw.bind(void 0,0,1,1,0,2),rw.bind(void 0,0,1,1,0,3),rw.bind(void 0,0,1,1,1,0),rw.bind(void 0,0,1,1,1,1),rw.bind(void 0,0,1,1,1,2),rw.bind(void 0,0,1,1,1,3),rw.bind(void 0,1,0,0,0,0),rw.bind(void 0,1,0,0,0,1),rw.bind(void 0,1,0,0,0,2),rw.bind(void 0,1,0,0,0,3),rw.bind(void 0,1,0,0,1,0),rw.bind(void 0,1,0,0,1,1),rw.bind(void 0,1,0,0,1,2),rw.bind(void 0,1,0,0,1,3),rw.bind(void 0,1,0,1,0,0),rw.bind(void 0,1,0,1,0,1),rw.bind(void 0,1,0,1,0,2),rw.bind(void 0,1,0,1,0,3),rw.bind(void 0,1,0,1,1,0),rw.bind(void 0,1,0,1,1,1),rw.bind(void 0,1,0,1,1,2),rw.bind(void 0,1,0,1,1,3),rw.bind(void 0,1,1,0,0,0),rw.bind(void 0,1,1,0,0,1),rw.bind(void 0,1,1,0,0,2),rw.bind(void 0,1,1,0,0,3),rw.bind(void 0,1,1,0,1,0),rw.bind(void 0,1,1,0,1,1),rw.bind(void 0,1,1,0,1,2),rw.bind(void 0,1,1,0,1,3),rw.bind(void 0,1,1,1,0,0),rw.bind(void 0,1,1,1,0,1),rw.bind(void 0,1,1,1,0,2),rw.bind(void 0,1,1,1,0,3),rw.bind(void 0,1,1,1,1,0),rw.bind(void 0,1,1,1,1,1),rw.bind(void 0,1,1,1,1,2),rw.bind(void 0,1,1,1,1,3)],nw.prototype.setState=function(e,t){return this.state[e]=t,this.activeState={key:e,value:this.state[e]},this.activeState},nw.prototype.getState=function(e){return this.state[e]||null},cw.prototype.inboundIndex=function(e){return e>=0&&e<this.tokens.length},cw.prototype.composeRUD=function(e){var t=this,r=e.map(function(e){return t[e[0]].apply(t,e.slice(1).concat(true))}),n=function(e){return"object"==typeof e&&e.hasOwnProperty("FAIL")};if(r.every(n))return{FAIL:"composeRUD: one or more operations hasn't completed successfully",report:r.filter(n)};this.dispatch("composeRUD",[r.filter(function(e){return!n(e)})])},cw.prototype.replaceRange=function(e,t,r,n){t=null!==t?t:this.tokens.length;var i=r.every(function(e){return e instanceof nw});if(!isNaN(e)&&this.inboundIndex(e)&&i){var o=this.tokens.splice.apply(this.tokens,[e,t].concat(r));return n||this.dispatch("replaceToken",[e,t,r]),[o,r]}return{FAIL:"replaceRange: invalid tokens or startIndex."}},cw.prototype.replaceToken=function(e,t,r){if(!isNaN(e)&&this.inboundIndex(e)&&t instanceof nw){var n=this.tokens.splice(e,1,t);return r||this.dispatch("replaceToken",[e,t]),[n[0],t]}return{FAIL:"replaceToken: invalid token or index."}},cw.prototype.removeRange=function(e,t,r){t=isNaN(t)?this.tokens.length:t;var n=this.tokens.splice(e,t);return r||this.dispatch("removeRange",[n,e,t]),n},cw.prototype.removeToken=function(e,t){if(!isNaN(e)&&this.inboundIndex(e)){var r=this.tokens.splice(e,1);return t||this.dispatch("removeToken",[r,e]),r}return{FAIL:"removeToken: invalid token index."}},cw.prototype.insertToken=function(e,t,r){return e.every(function(e){return e instanceof nw})?(this.tokens.splice.apply(this.tokens,[t,0].concat(e)),r||this.dispatch("insertToken",[e,t]),e):{FAIL:"insertToken: invalid token(s)."}},cw.prototype.registerModifier=function(e,t,r){this.events.newToken.subscribe(function(n,i){var o=[n,i],s=[n,i];if(null===t||!0===t.apply(this,o)){var a=r.apply(this,s);n.setState(e,a)}}),this.registeredModifiers.push(e)},aw.prototype.subscribe=function(e){return"function"==typeof e?this.subscribers.push(e)-1:{FAIL:"invalid '"+this.eventId+"' event handler"}},aw.prototype.unsubscribe=function(e){this.subscribers.splice(e,1)},sw.prototype.setCurrentIndex=function(e){this.index=e,this.current=this.context[e],this.backtrack=this.context.slice(0,e),this.lookahead=this.context.slice(e+1)},sw.prototype.get=function(e){switch(!0){case 0===e:return this.current;case e<0&&Math.abs(e)<=this.backtrack.length:return this.backtrack.slice(e)[0];case e>0&&e<=this.lookahead.length:return this.lookahead[e-1];default:return null}},cw.prototype.rangeToText=function(e){if(e instanceof iw)return this.getRangeTokens(e).map(function(e){return e.char}).join("")},cw.prototype.getText=function(){return this.tokens.map(function(e){return e.char}).join("")},cw.prototype.getContext=function(e){var t=this.registeredContexts[e];return t||null},cw.prototype.on=function(e,t){var r=this.events[e];return r?r.subscribe(t):null},cw.prototype.dispatch=function(e,t){var r=this,n=this.events[e];n instanceof aw&&n.subscribers.forEach(function(e){e.apply(r,t||[])})},cw.prototype.registerContextChecker=function(e,t,r){if(this.getContext(e))return{FAIL:"context name '"+e+"' is already registered."};if("function"!=typeof t)return{FAIL:"missing context start check."};if("function"!=typeof r)return{FAIL:"missing context end check."};var n=new ow(e,t,r);return this.registeredContexts[e]=n,this.contextCheckers.push(n),n},cw.prototype.getRangeTokens=function(e){var t=e.startIndex+e.endOffset;return[].concat(this.tokens.slice(e.startIndex,t))},cw.prototype.getContextRanges=function(e){var t=this.getContext(e);return t?t.ranges:{FAIL:"context checker '"+e+"' is not registered."}},cw.prototype.resetContextsRanges=function(){var e=this.registeredContexts;for(var t in e){if(e.hasOwnProperty(t))e[t].ranges=[]}},cw.prototype.updateContextsRanges=function(){this.resetContextsRanges();for(var e=this.tokens.map(function(e){return e.char}),t=0;t<e.length;t++){var r=new sw(e,t);this.runContextCheck(r)}this.dispatch("updateContextsRanges",[this.registeredContexts])},cw.prototype.setEndOffset=function(e,t){var r=new iw(this.getContext(t).openRange.startIndex,e,t),n=this.getContext(t).ranges;return r.rangeId=t+"."+n.length,n.push(r),this.getContext(t).openRange=null,r},cw.prototype.runContextCheck=function(e){var t=this,r=e.index;this.contextCheckers.forEach(function(n){var i=n.contextName,o=t.getContext(i).openRange;if(!o&&n.checkStart(e)&&(o=new iw(r,null,i),t.getContext(i).openRange=o,t.dispatch("contextStart",[i,r])),o&&n.checkEnd(e)){var s=r-o.startIndex+1,a=t.setEndOffset(s,i);t.dispatch("contextEnd",[i,a])}})},cw.prototype.tokenize=function(e){this.tokens=[],this.resetContextsRanges();var t=Array.from(e);this.dispatch("start");for(var r=0;r<t.length;r++){var n=t[r],i=new sw(t,r);this.dispatch("next",[i]),this.runContextCheck(i);var o=new nw(n);this.tokens.push(o),this.dispatch("newToken",[o,i])}return this.dispatch("end",[this.tokens]),this.tokens},mw.prototype.getDefaultScriptFeaturesIndexes=function(){for(var e=this.font.tables.gsub.scripts,t=0;t<e.length;t++){var r=e[t];if("DFLT"===r.tag)return r.script.defaultLangSys.featureIndexes}return[]},mw.prototype.getScriptFeaturesIndexes=function(e){if(!this.font.tables.gsub)return[];if(!e)return this.getDefaultScriptFeaturesIndexes();for(var t=this.font.tables.gsub.scripts,r=0;r<t.length;r++){var n=t[r];if(n.tag===e&&n.script.defaultLangSys)return n.script.defaultLangSys.featureIndexes;var i=n.langSysRecords;if(i)for(var o=0;o<i.length;o++){var s=i[o];if(s.tag===e)return s.langSys.featureIndexes}}return this.getDefaultScriptFeaturesIndexes()},mw.prototype.mapTagsToFeatures=function(e,t){for(var r={},n=0;n<e.length;n++){var i=e[n].tag,o=e[n].feature;r[i]=o}this.features[t].tags=r},mw.prototype.getScriptFeatures=function(e){var t=this.features[e];if(this.features.hasOwnProperty(e))return t;var r=this.getScriptFeaturesIndexes(e);if(!r)return null;var n=this.font.tables.gsub;return t=r.map(function(e){return n.features[e]}),this.features[e]=t,this.mapTagsToFeatures(t,e),t},mw.prototype.getSubstitutionType=function(e,t){return e.lookupType.toString()+t.substFormat.toString()},mw.prototype.getLookupMethod=function(e,t){var r=this;switch(this.getSubstitutionType(e,t)){case"11":return function(e){return fw.apply(r,[e,t])};case"12":return function(e){return vw.apply(r,[e,t])};case"63":return function(e){return yw.apply(r,[e,t])};case"41":return function(e){return $w.apply(r,[e,t])};case"21":return function(e){return xw.apply(r,[e,t])};default:throw new Error("lookupType: "+e.lookupType+" - substFormat: "+t.substFormat+" is not yet supported")}},mw.prototype.lookupFeature=function(e){var t=e.contextParams,r=t.index,n=this.getFeature({tag:e.tag,script:e.script});if(!n)return new Error("font '"+this.font.names.fullName.en+"' doesn't support feature '"+e.tag+"' for script '"+e.script+"'.");for(var i=this.getFeatureLookups(n),o=[].concat(t.context),s=0;s<i.length;s++)for(var a=i[s],l=this.getLookupSubtables(a),c=0;c<l.length;c++){var u=l[c],d=this.getSubstitutionType(a,u),h=this.getLookupMethod(a,u),p=void 0;switch(d){case"11":(p=h(t.current))&&o.splice(r,1,new _w({id:11,tag:e.tag,substitution:p}));break;case"12":(p=h(t.current))&&o.splice(r,1,new _w({id:12,tag:e.tag,substitution:p}));break;case"63":p=h(t),Array.isArray(p)&&p.length&&o.splice(r,1,new _w({id:63,tag:e.tag,substitution:p}));break;case"41":(p=h(t))&&o.splice(r,1,new _w({id:41,tag:e.tag,substitution:p}));break;case"21":(p=h(t.current))&&o.splice(r,1,new _w({id:21,tag:e.tag,substitution:p}))}t=new sw(o,r),Array.isArray(p)&&!p.length||(p=null)}return o.length?o:null},mw.prototype.supports=function(e){if(!e.script)return!1;this.getScriptFeatures(e.script);var t=this.features.hasOwnProperty(e.script);if(!e.tag)return t;var r=this.features[e.script].some(function(t){return t.tag===e.tag});return t&&r},mw.prototype.getLookupSubtables=function(e){return e.subtables||null},mw.prototype.getLookupByIndex=function(e){return this.font.tables.gsub.lookups[e]||null},mw.prototype.getFeatureLookups=function(e){return e.lookupListIndexes.map(this.getLookupByIndex.bind(this))},mw.prototype.getFeature=function(e){if(!this.font)return{FAIL:"No font was found"};this.features.hasOwnProperty(e.script)||this.getScriptFeatures(e.script);var t=this.features[e.script];return t?t.tags[e.tag]?this.features[e.script].tags[e.tag]:null:{FAIL:"No feature for script "+e.script}};var Sw={startCheck:function(e){var t=e.current,r=e.get(-1);return null===r&&uw(t)||!uw(r)&&uw(t)},endCheck:function(e){var t=e.get(1);return null===t||!uw(t)}};var ww={startCheck:function(e){var t=e.current,r=e.get(-1);return(uw(t)||hw(t))&&!uw(r)},endCheck:function(e){var t=e.get(1);switch(!0){case null===t:return!0;case!uw(t)&&!hw(t):var r=function(e){return/\s/.test(e)}(t);if(!r)return!0;if(r){var n;if(n=e.lookahead.some(function(e){return uw(e)||hw(e)}),!n)return!0}break;default:return!1}}};var Aw={11:function(e,t,r){t[r].setState(e.tag,e.substitution)},12:function(e,t,r){t[r].setState(e.tag,e.substitution)},63:function(e,t,r){e.substitution.forEach(function(n,i){t[r+i].setState(e.tag,n)})},41:function(e,t,r){var n=t[r];n.setState(e.tag,e.substitution.ligGlyph);for(var i=e.substitution.components.length,o=0;o<i;o++)(n=t[r+o+1]).setState("deleted",!0)}};function Cw(e,t,r){e instanceof _w&&Aw[e.id]&&Aw[e.id](e,t,r)}function Ew(e){var t=this,r="arab",n=this.featuresTags[r],i=this.tokenizer.getRangeTokens(e);if(1!==i.length){var o=new sw(i.map(function(e){return e.getState("glyphIndex")}),0),s=new sw(i.map(function(e){return e.char}),0);i.forEach(function(e,a){if(!hw(e.char)){o.setCurrentIndex(a),s.setCurrentIndex(a);var l,c=0;switch(function(e){for(var t=[].concat(e.backtrack),r=t.length-1;r>=0;r--){var n=t[r],i=dw(n),o=hw(n);if(!i&&!o)return!0;if(i)return!1}return!1}(s)&&(c|=1),function(e){if(dw(e.current))return!1;for(var t=0;t<e.lookahead.length;t++)if(!hw(e.lookahead[t]))return!0;return!1}(s)&&(c|=2),c){case 1:l="fina";break;case 2:l="init";break;case 3:l="medi"}if(-1!==n.indexOf(l)){var u=t.query.lookupFeature({tag:l,script:r,contextParams:o});if(u instanceof Error)return console.info(u.message);u.forEach(function(e,t){e instanceof _w&&(Cw(e,i,t),o.context[t]=e.substitution)})}}})}}function Iw(e,t){return new sw(e.map(function(e){return e.activeState.value}),t||0)}function Mw(e){var t=this,r=this.tokenizer.getRangeTokens(e),n=Iw(r);n.context.forEach(function(e,i){n.setCurrentIndex(i);var o=t.query.lookupFeature({tag:"rlig",script:"arab",contextParams:n});o.length&&(o.forEach(function(e){return Cw(e,r,i)}),n=Iw(r))})}var kw={startCheck:function(e){var t=e.current,r=e.get(-1);return null===r&&pw(t)||!pw(r)&&pw(t)},endCheck:function(e){var t=e.get(1);return null===t||!pw(t)}};function Tw(e,t){return new sw(e.map(function(e){return e.activeState.value}),t||0)}function Rw(e){var t=this,r=this.tokenizer.getRangeTokens(e),n=Tw(r);n.context.forEach(function(e,i){n.setCurrentIndex(i);var o=t.query.lookupFeature({tag:"liga",script:"latn",contextParams:n});o.length&&(o.forEach(function(e){return Cw(e,r,i)}),n=Tw(r))})}function Lw(e){this.baseDir=e||"ltr",this.tokenizer=new cw,this.featuresTags={}}function Pw(e){var t=this.contextChecks[e+"Check"];return this.tokenizer.registerContextChecker(e,t.startCheck,t.endCheck)}function Dw(){return Pw.call(this,"latinWord"),Pw.call(this,"arabicWord"),Pw.call(this,"arabicSentence"),this.tokenizer.tokenize(this.text)}function Nw(){var e=this;this.tokenizer.getContextRanges("arabicSentence").forEach(function(t){var r=e.tokenizer.getRangeTokens(t);e.tokenizer.replaceRange(t.startIndex,t.endOffset,r.reverse())})}function Fw(){if(-1===this.tokenizer.registeredModifiers.indexOf("glyphIndex"))throw new Error("glyphIndex modifier is required to apply arabic presentation features.")}function Ow(){var e=this;this.featuresTags.hasOwnProperty("arab")&&(Fw.call(this),this.tokenizer.getContextRanges("arabicWord").forEach(function(t){Ew.call(e,t)}))}function Bw(){var e=this,t="arab";this.featuresTags.hasOwnProperty(t)&&(-1!==this.featuresTags[t].indexOf("rlig")&&(Fw.call(this),this.tokenizer.getContextRanges("arabicWord").forEach(function(t){Mw.call(e,t)})))}function Uw(){var e=this,t="latn";this.featuresTags.hasOwnProperty(t)&&(-1!==this.featuresTags[t].indexOf("liga")&&(Fw.call(this),this.tokenizer.getContextRanges("latinWord").forEach(function(t){Rw.call(e,t)})))}function Vw(e){(e=e||{}).tables=e.tables||{},e.empty||(sS(e.familyName,"When creating a new Font object, familyName is required."),sS(e.styleName,"When creating a new Font object, styleName is required."),sS(e.unitsPerEm,"When creating a new Font object, unitsPerEm is required."),sS(e.ascender,"When creating a new Font object, ascender is required."),sS(e.descender<=0,"When creating a new Font object, negative descender value is required."),this.names={fontFamily:{en:e.familyName||" "},fontSubfamily:{en:e.styleName||" "},fullName:{en:e.fullName||e.familyName+" "+e.styleName},postScriptName:{en:e.postScriptName||(e.familyName+e.styleName).replace(/\s/g,"")},designer:{en:e.designer||" "},designerURL:{en:e.designerURL||" "},manufacturer:{en:e.manufacturer||" "},manufacturerURL:{en:e.manufacturerURL||" "},license:{en:e.license||" "},licenseURL:{en:e.licenseURL||" "},version:{en:e.version||"Version 0.1"},description:{en:e.description||" "},copyright:{en:e.copyright||" "},trademark:{en:e.trademark||" "}},this.unitsPerEm=e.unitsPerEm||1e3,this.ascender=e.ascender,this.descender=e.descender,this.createdTimestamp=e.createdTimestamp,this.tables=Object.assign(e.tables,{os2:Object.assign({usWeightClass:e.weightClass||this.usWeightClasses.MEDIUM,usWidthClass:e.widthClass||this.usWidthClasses.MEDIUM,fsSelection:e.fsSelection||this.fsSelectionValues.REGULAR},e.tables.os2)})),this.supported=!0,this.glyphs=new X$.GlyphSet(this,e.glyphs||[]),this.encoding=new H$(this),this.position=new rS(this),this.substitution=new nS(this),this.tables=this.tables||{},this._push=null,this._hmtxTableData={},Object.defineProperty(this,"hinting",{get:function(){return this._hinting?this._hinting:"truetype"===this.outlinesFormat?this._hinting=new fS(this):void 0}})}Lw.prototype.setText=function(e){this.text=e},Lw.prototype.contextChecks={latinWordCheck:kw,arabicWordCheck:Sw,arabicSentenceCheck:ww},Lw.prototype.registerFeatures=function(e,t){var r=this,n=t.filter(function(t){return r.query.supports({script:e,tag:t})});this.featuresTags.hasOwnProperty(e)?this.featuresTags[e]=this.featuresTags[e].concat(n):this.featuresTags[e]=n},Lw.prototype.applyFeatures=function(e,t){if(!e)throw new Error("No valid font was provided to apply features");this.query||(this.query=new mw(e));for(var r=0;r<t.length;r++){var n=t[r];this.query.supports({script:n.script})&&this.registerFeatures(n.script,n.tags)}},Lw.prototype.registerModifier=function(e,t,r){this.tokenizer.registerModifier(e,t,r)},Lw.prototype.checkContextReady=function(e){return!!this.tokenizer.getContext(e)},Lw.prototype.applyFeaturesToContexts=function(){this.checkContextReady("arabicWord")&&(Ow.call(this),Bw.call(this)),this.checkContextReady("latinWord")&&Uw.call(this),this.checkContextReady("arabicSentence")&&Nw.call(this)},Lw.prototype.processText=function(e){this.text&&this.text===e||(this.setText(e),Dw.call(this),this.applyFeaturesToContexts())},Lw.prototype.getBidiText=function(e){return this.processText(e),this.tokenizer.getText()},Lw.prototype.getTextGlyphs=function(e){this.processText(e);for(var t=[],r=0;r<this.tokenizer.tokens.length;r++){var n=this.tokenizer.tokens[r];if(!n.state.deleted){var i=n.activeState.value;t.push(Array.isArray(i)?i[0]:i)}}return t},Vw.prototype.hasChar=function(e){return null!==this.encoding.charToGlyphIndex(e)},Vw.prototype.charToGlyphIndex=function(e){return this.encoding.charToGlyphIndex(e)},Vw.prototype.charToGlyph=function(e){var t=this.charToGlyphIndex(e),r=this.glyphs.get(t);return r||(r=this.glyphs.get(0)),r},Vw.prototype.updateFeatures=function(e){return this.defaultRenderOptions.features.map(function(t){return"latn"===t.script?{script:"latn",tags:t.tags.filter(function(t){return e[t]})}:t})},Vw.prototype.stringToGlyphs=function(e,t){var r=this,n=new Lw;n.registerModifier("glyphIndex",null,function(e){return r.charToGlyphIndex(e.char)});var i=t?this.updateFeatures(t.features):this.defaultRenderOptions.features;n.applyFeatures(this,i);for(var o=n.getTextGlyphs(e),s=o.length,a=new Array(s),l=this.glyphs.get(0),c=0;c<s;c+=1)a[c]=this.glyphs.get(o[c])||l;return a},Vw.prototype.nameToGlyphIndex=function(e){return this.glyphNames.nameToGlyphIndex(e)},Vw.prototype.nameToGlyph=function(e){var t=this.nameToGlyphIndex(e),r=this.glyphs.get(t);return r||(r=this.glyphs.get(0)),r},Vw.prototype.glyphIndexToName=function(e){return this.glyphNames.glyphIndexToName?this.glyphNames.glyphIndexToName(e):""},Vw.prototype.getKerningValue=function(e,t){e=e.index||e,t=t.index||t;var r=this.position.defaultKerningTables;return r?this.position.getKerningValue(r,e,t):this.kerningPairs[e+","+t]||0},Vw.prototype.defaultRenderOptions={kerning:!0,features:[{script:"arab",tags:["init","medi","fina","rlig"]},{script:"latn",tags:["liga","rlig"]}]},Vw.prototype.forEachGlyph=function(e,t,r,n,i,o){t=void 0!==t?t:0,r=void 0!==r?r:0,n=void 0!==n?n:72,i=Object.assign({},this.defaultRenderOptions,i);var s,a=1/this.unitsPerEm*n,l=this.stringToGlyphs(e,i);if(i.kerning){var c=i.script||this.position.getDefaultScriptName();s=this.position.getKerningTables(c,i.language)}for(var u=0;u<l.length;u+=1){var d=l[u];if(o.call(this,d,t,r,n,i),d.advanceWidth&&(t+=d.advanceWidth*a),i.kerning&&u<l.length-1)t+=(s?this.position.getKerningValue(s,d.index,l[u+1].index):this.getKerningValue(d,l[u+1]))*a;i.letterSpacing?t+=i.letterSpacing*n:i.tracking&&(t+=i.tracking/1e3*n)}return t},Vw.prototype.getPath=function(e,t,r,n,i){var o=new n$;return this.forEachGlyph(e,t,r,n,i,function(e,t,r,n){var s=e.getPath(t,r,n,i,this);o.extend(s)}),o},Vw.prototype.getPaths=function(e,t,r,n,i){var o=[];return this.forEachGlyph(e,t,r,n,i,function(e,t,r,n){var s=e.getPath(t,r,n,i,this);o.push(s)}),o},Vw.prototype.getAdvanceWidth=function(e,t,r){return this.forEachGlyph(e,0,0,t,r,function(){})},Vw.prototype.draw=function(e,t,r,n,i,o){this.getPath(t,r,n,i,o).draw(e)},Vw.prototype.drawPoints=function(e,t,r,n,i,o){this.forEachGlyph(t,r,n,i,o,function(t,r,n,i){t.drawPoints(e,r,n,i)})},Vw.prototype.drawMetrics=function(e,t,r,n,i,o){this.forEachGlyph(t,r,n,i,o,function(t,r,n,i){t.drawMetrics(e,r,n,i)})},Vw.prototype.getEnglishName=function(e){var t=this.names[e];if(t)return t.en},Vw.prototype.validate=function(){var e=this;function t(t){var r=e.getEnglishName(t);r&&r.trim().length}t("fontFamily"),t("weightName"),t("manufacturer"),t("copyright"),t("version"),this.unitsPerEm},Vw.prototype.toTables=function(){return Xx.fontToTable(this)},Vw.prototype.toBuffer=function(){return console.warn("Font.toBuffer is deprecated. Use Font.toArrayBuffer instead."),this.toArrayBuffer()},Vw.prototype.toArrayBuffer=function(){for(var e=this.toTables().encode(),t=new ArrayBuffer(e.length),r=new Uint8Array(t),n=0;n<e.length;n++)r[n]=e[n];return t},Vw.prototype.download=function(e){var t=this.getEnglishName("fontFamily"),r=this.getEnglishName("fontSubfamily");e=e||t.replace(/\s/g,"")+"-"+r+".otf";var n=this.toArrayBuffer();if(window.URL=window.URL||window.webkitURL,window.URL){var i=new DataView(n),o=new Blob([i],{type:"font/opentype"}),s=document.createElement("a");s.href=window.URL.createObjectURL(o),s.download=e;var a=document.createEvent("MouseEvents");a.initEvent("click",!0,!1),s.dispatchEvent(a)}else console.warn("Font file could not be downloaded. Try using a different browser.")},Vw.prototype.fsSelectionValues={ITALIC:1,UNDERSCORE:2,NEGATIVE:4,OUTLINED:8,STRIKEOUT:16,BOLD:32,REGULAR:64,USER_TYPO_METRICS:128,WWS:256,OBLIQUE:512},Vw.prototype.usWidthClasses={ULTRA_CONDENSED:1,EXTRA_CONDENSED:2,CONDENSED:3,SEMI_CONDENSED:4,MEDIUM:5,SEMI_EXPANDED:6,EXPANDED:7,EXTRA_EXPANDED:8,ULTRA_EXPANDED:9},Vw.prototype.usWeightClasses={THIN:100,EXTRA_LIGHT:200,LIGHT:300,NORMAL:400,MEDIUM:500,SEMI_BOLD:600,BOLD:700,EXTRA_BOLD:800,BLACK:900};var zw=new Array(10);zw[1]=function(){var e=this.offset+this.relativeOffset,t=this.parseUShort();return 1===t?{posFormat:1,coverage:this.parsePointer(P$.coverage),value:this.parseValueRecord()}:2===t?{posFormat:2,coverage:this.parsePointer(P$.coverage),values:this.parseValueRecordList()}:void s$.assert(!1,"0x"+e.toString(16)+": GPOS lookup type 1 format must be 1 or 2.")},zw[2]=function(){var e=this.offset+this.relativeOffset,t=this.parseUShort();s$.assert(1===t||2===t,"0x"+e.toString(16)+": GPOS lookup type 2 format must be 1 or 2.");var r=this.parsePointer(P$.coverage),n=this.parseUShort(),i=this.parseUShort();if(1===t)return{posFormat:t,coverage:r,valueFormat1:n,valueFormat2:i,pairSets:this.parseList(P$.pointer(P$.list(function(){return{secondGlyph:this.parseUShort(),value1:this.parseValueRecord(n),value2:this.parseValueRecord(i)}})))};if(2===t){var o=this.parsePointer(P$.classDef),s=this.parsePointer(P$.classDef),a=this.parseUShort(),l=this.parseUShort();return{posFormat:t,coverage:r,valueFormat1:n,valueFormat2:i,classDef1:o,classDef2:s,class1Count:a,class2Count:l,classRecords:this.parseList(a,P$.list(l,function(){return{value1:this.parseValueRecord(n),value2:this.parseValueRecord(i)}}))}}},zw[3]=function(){return{error:"GPOS Lookup 3 not supported"}},zw[4]=function(){return{error:"GPOS Lookup 4 not supported"}},zw[5]=function(){return{error:"GPOS Lookup 5 not supported"}},zw[6]=function(){return{error:"GPOS Lookup 6 not supported"}},zw[7]=function(){return{error:"GPOS Lookup 7 not supported"}},zw[8]=function(){return{error:"GPOS Lookup 8 not supported"}},zw[9]=function(){return{error:"GPOS Lookup 9 not supported"}};new Array(10);var Hw=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Gw=Hw(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.VERSION=void 0,e.VERSION="9.0.1"}),jw=Hw((e,t)=>{var r=e&&e.__spreadArray||function(e,t){for(var r=0,n=t.length,i=e.length;r<n;r++,i++)e[i]=t[r];return e};function n(e){return e&&0===e.length}function i(e){return null==e?[]:Object.keys(e)}function o(e){for(var t=[],r=Object.keys(e),n=0;n<r.length;n++)t.push(e[r[n]]);return t}function s(e,t){if(Array.isArray(e))for(var r=0;r<e.length;r++)t.call(null,e[r],r);else{if(!_(e))throw Error("non exhaustive match");var n=i(e);for(r=0;r<n.length;r++){var o=n[r],s=e[o];t.call(null,s,o)}}}function a(e,t){var r=[];if(Array.isArray(e))for(var n=0;n<e.length;n++){var i=e[n];t.call(null,i)&&r.push(i)}return r}function l(e,t){return a(e,function(e){return!t(e)})}function c(e,t){return!!_(e)&&e.hasOwnProperty(t)}function u(e,t){return void 0!==p(e,function(e){return e===t})}function d(e){for(var t=[],r=0;r<e.length;r++)t.push(e[r]);return t}function h(e){var t={};for(var r in e)Object.prototype.hasOwnProperty.call(e,r)&&(t[r]=e[r]);return t}function p(e,t){for(var r=0;r<e.length;r++){var n=e[r];if(t.call(null,n))return n}}function m(e,t,r){for(var n=Array.isArray(e),s=n?e:o(e),a=n?[]:i(e),l=r,c=0;c<s.length;c++)l=t.call(null,l,s[c],n?c:a[c]);return l}function _(e){return e instanceof Object}function g(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];for(var n=0;n<t.length;n++)for(var o=t[n],s=i(o),a=0;a<s.length;a++){var l=s[a];c(e,l)||(e[l]=o[l])}return e}Object.defineProperty(e,"__esModule",{value:!0}),e.toFastProperties=e.timer=e.peek=e.isES2015MapSupported=e.PRINT_WARNING=e.PRINT_ERROR=e.packArray=e.IDENTITY=e.NOOP=e.merge=e.groupBy=e.defaults=e.assignNoOverwrite=e.assign=e.zipObject=e.sortBy=e.indexOf=e.some=e.difference=e.every=e.isObject=e.isRegExp=e.isArray=e.partial=e.uniq=e.compact=e.reduce=e.findAll=e.find=e.cloneObj=e.cloneArr=e.contains=e.has=e.pick=e.reject=e.filter=e.dropRight=e.drop=e.isFunction=e.isUndefined=e.isString=e.forEach=e.last=e.first=e.flatten=e.map=e.mapValues=e.values=e.keys=e.isEmpty=void 0,e.isEmpty=n,e.keys=i,e.values=o,e.mapValues=function(e,t){for(var r=[],n=i(e),o=0;o<n.length;o++){var s=n[o];r.push(t.call(null,e[s],s))}return r},e.map=function(e,t){for(var r=[],n=0;n<e.length;n++)r.push(t.call(null,e[n],n));return r},e.flatten=function e(t){for(var r=[],n=0;n<t.length;n++){var i=t[n];Array.isArray(i)?r=r.concat(e(i)):r.push(i)}return r},e.first=function(e){return n(e)?void 0:e[0]},e.last=function(e){var t=e&&e.length;return t?e[t-1]:void 0},e.forEach=s,e.isString=function(e){return"string"==typeof e},e.isUndefined=function(e){return void 0===e},e.isFunction=function(e){return e instanceof Function},e.drop=function(e,t){return void 0===t&&(t=1),e.slice(t,e.length)},e.dropRight=function(e,t){return void 0===t&&(t=1),e.slice(0,e.length-t)},e.filter=a,e.reject=l,e.pick=function(e,t){for(var r=Object.keys(e),n={},i=0;i<r.length;i++){var o=r[i],s=e[o];t(s)&&(n[o]=s)}return n},e.has=c,e.contains=u,e.cloneArr=d,e.cloneObj=h,e.find=p,e.findAll=function(e,t){for(var r=[],n=0;n<e.length;n++){var i=e[n];t.call(null,i)&&r.push(i)}return r},e.reduce=m,e.compact=function(e){return l(e,function(e){return null==e})},e.uniq=function(e,t){void 0===t&&(t=function(e){return e});var r=[];return m(e,function(e,n){var i=t(n);return u(r,i)?e:(r.push(i),e.concat(n))},[])},e.partial=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=[null].concat(t);return Function.bind.apply(e,n)},e.isArray=function(e){return Array.isArray(e)},e.isRegExp=function(e){return e instanceof RegExp},e.isObject=_,e.every=function(e,t){for(var r=0;r<e.length;r++)if(!t(e[r],r))return!1;return!0},e.difference=function(e,t){return l(e,function(e){return u(t,e)})},e.some=function(e,t){for(var r=0;r<e.length;r++)if(t(e[r]))return!0;return!1},e.indexOf=function(e,t){for(var r=0;r<e.length;r++)if(e[r]===t)return r;return-1},e.sortBy=function(e,t){var r=d(e);return r.sort(function(e,r){return t(e)-t(r)}),r},e.zipObject=function(e,t){if(e.length!==t.length)throw Error("can't zipObject with different number of keys and values!");for(var r={},n=0;n<e.length;n++)r[e[n]]=t[n];return r},e.assign=function(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];for(var n=0;n<t.length;n++)for(var o=t[n],s=i(o),a=0;a<s.length;a++){var l=s[a];e[l]=o[l]}return e},e.assignNoOverwrite=g,e.defaults=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return g.apply(void 0,r([{}],e))},e.groupBy=function(e,t){var r={};return s(e,function(e){var n=t(e),i=r[n];i?i.push(e):r[n]=[e]}),r},e.merge=function(e,t){for(var r=h(e),n=i(t),o=0;o<n.length;o++){var s=n[o],a=t[s];r[s]=a}return r},e.NOOP=function(){},e.IDENTITY=function(e){return e},e.packArray=function(e){for(var t=[],r=0;r<e.length;r++){var n=e[r];t.push(void 0!==n?n:void 0)}return t},e.PRINT_ERROR=function(e){console&&console.error&&console.error("Error: "+e)},e.PRINT_WARNING=function(e){console&&console.warn&&console.warn("Warning: "+e)},e.isES2015MapSupported=function(){return"function"==typeof Map},e.peek=function(e){return e[e.length-1]},e.timer=function(e){var t=(new Date).getTime(),r=e();return{time:(new Date).getTime()-t,value:r}},e.toFastProperties=function(e){function t(){}t.prototype=e;var r=new t;function n(){return typeof r.bar}return n(),n(),e}}),Jw=Hw((e,t)=>{!function(e,r){"function"==typeof define&&define.amd?define([],r):"object"==typeof t&&t.exports?t.exports=r():e.regexpToAst=r()}("undefined"!=typeof self?self:e,function(){function e(){}e.prototype.saveState=function(){return{idx:this.idx,input:this.input,groupIdx:this.groupIdx}},e.prototype.restoreState=function(e){this.idx=e.idx,this.input=e.input,this.groupIdx=e.groupIdx},e.prototype.pattern=function(e){this.idx=0,this.input=e,this.groupIdx=0,this.consumeChar("/");var t=this.disjunction();this.consumeChar("/");for(var r={type:"Flags",loc:{begin:this.idx,end:e.length},global:!1,ignoreCase:!1,multiLine:!1,unicode:!1,sticky:!1};this.isRegExpFlag();)switch(this.popChar()){case"g":s(r,"global");break;case"i":s(r,"ignoreCase");break;case"m":s(r,"multiLine");break;case"u":s(r,"unicode");break;case"y":s(r,"sticky")}if(this.idx!==this.input.length)throw Error("Redundant input: "+this.input.substring(this.idx));return{type:"Pattern",flags:r,value:t,loc:this.loc(0)}},e.prototype.disjunction=function(){var e=[],t=this.idx;for(e.push(this.alternative());"|"===this.peekChar();)this.consumeChar("|"),e.push(this.alternative());return{type:"Disjunction",value:e,loc:this.loc(t)}},e.prototype.alternative=function(){for(var e=[],t=this.idx;this.isTerm();)e.push(this.term());return{type:"Alternative",value:e,loc:this.loc(t)}},e.prototype.term=function(){return this.isAssertion()?this.assertion():this.atom()},e.prototype.assertion=function(){var e=this.idx;switch(this.popChar()){case"^":return{type:"StartAnchor",loc:this.loc(e)};case"$":return{type:"EndAnchor",loc:this.loc(e)};case"\\":switch(this.popChar()){case"b":return{type:"WordBoundary",loc:this.loc(e)};case"B":return{type:"NonWordBoundary",loc:this.loc(e)}}throw Error("Invalid Assertion Escape");case"(":var t;switch(this.consumeChar("?"),this.popChar()){case"=":t="Lookahead";break;case"!":t="NegativeLookahead"}a(t);var r=this.disjunction();return this.consumeChar(")"),{type:t,value:r,loc:this.loc(e)}}!function(){throw Error("Internal Error - Should never get here!")}()},e.prototype.quantifier=function(e){var t,r=this.idx;switch(this.popChar()){case"*":t={atLeast:0,atMost:1/0};break;case"+":t={atLeast:1,atMost:1/0};break;case"?":t={atLeast:0,atMost:1};break;case"{":var n=this.integerIncludingZero();switch(this.popChar()){case"}":t={atLeast:n,atMost:n};break;case",":this.isDigit()?t={atLeast:n,atMost:this.integerIncludingZero()}:t={atLeast:n,atMost:1/0},this.consumeChar("}")}if(!0===e&&void 0===t)return;a(t)}if(!0!==e||void 0!==t)return a(t),"?"===this.peekChar(0)?(this.consumeChar("?"),t.greedy=!1):t.greedy=!0,t.type="Quantifier",t.loc=this.loc(r),t},e.prototype.atom=function(){var e,t=this.idx;switch(this.peekChar()){case".":e=this.dotAll();break;case"\\":e=this.atomEscape();break;case"[":e=this.characterClass();break;case"(":e=this.group()}return void 0===e&&this.isPatternCharacter()&&(e=this.patternCharacter()),a(e),e.loc=this.loc(t),this.isQuantifier()&&(e.quantifier=this.quantifier()),e},e.prototype.dotAll=function(){return this.consumeChar("."),{type:"Set",complement:!0,value:[i("\n"),i("\r"),i("\u2028"),i("\u2029")]}},e.prototype.atomEscape=function(){switch(this.consumeChar("\\"),this.peekChar()){case"1":case"2":case"3":case"4":case"5":case"6":case"7":case"8":case"9":return this.decimalEscapeAtom();case"d":case"D":case"s":case"S":case"w":case"W":return this.characterClassEscape();case"f":case"n":case"r":case"t":case"v":return this.controlEscapeAtom();case"c":return this.controlLetterEscapeAtom();case"0":return this.nulCharacterAtom();case"x":return this.hexEscapeSequenceAtom();case"u":return this.regExpUnicodeEscapeSequenceAtom();default:return this.identityEscapeAtom()}},e.prototype.decimalEscapeAtom=function(){return{type:"GroupBackReference",value:this.positiveInteger()}},e.prototype.characterClassEscape=function(){var e,t=!1;switch(this.popChar()){case"d":e=c;break;case"D":e=c,t=!0;break;case"s":e=d;break;case"S":e=d,t=!0;break;case"w":e=u;break;case"W":e=u,t=!0}return a(e),{type:"Set",value:e,complement:t}},e.prototype.controlEscapeAtom=function(){var e;switch(this.popChar()){case"f":e=i("\f");break;case"n":e=i("\n");break;case"r":e=i("\r");break;case"t":e=i("\t");break;case"v":e=i("\v")}return a(e),{type:"Character",value:e}},e.prototype.controlLetterEscapeAtom=function(){this.consumeChar("c");var e=this.popChar();if(!1===/[a-zA-Z]/.test(e))throw Error("Invalid ");return{type:"Character",value:e.toUpperCase().charCodeAt(0)-64}},e.prototype.nulCharacterAtom=function(){return this.consumeChar("0"),{type:"Character",value:i("\0")}},e.prototype.hexEscapeSequenceAtom=function(){return this.consumeChar("x"),this.parseHexDigits(2)},e.prototype.regExpUnicodeEscapeSequenceAtom=function(){return this.consumeChar("u"),this.parseHexDigits(4)},e.prototype.identityEscapeAtom=function(){return{type:"Character",value:i(this.popChar())}},e.prototype.classPatternCharacterAtom=function(){switch(this.peekChar()){case"\n":case"\r":case"\u2028":case"\u2029":case"\\":case"]":throw Error("TBD");default:return{type:"Character",value:i(this.popChar())}}},e.prototype.characterClass=function(){var e=[],t=!1;for(this.consumeChar("["),"^"===this.peekChar(0)&&(this.consumeChar("^"),t=!0);this.isClassAtom();){var r=this.classAtom();if("Character"===r.type&&this.isRangeDash()){this.consumeChar("-");var n=this.classAtom();if("Character"===n.type){if(n.value<r.value)throw Error("Range out of order in character class");e.push({from:r.value,to:n.value})}else o(r.value,e),e.push(i("-")),o(n.value,e)}else o(r.value,e)}return this.consumeChar("]"),{type:"Set",complement:t,value:e}},e.prototype.classAtom=function(){switch(this.peekChar()){case"]":case"\n":case"\r":case"\u2028":case"\u2029":throw Error("TBD");case"\\":return this.classEscape();default:return this.classPatternCharacterAtom()}},e.prototype.classEscape=function(){switch(this.consumeChar("\\"),this.peekChar()){case"b":return this.consumeChar("b"),{type:"Character",value:i("\b")};case"d":case"D":case"s":case"S":case"w":case"W":return this.characterClassEscape();case"f":case"n":case"r":case"t":case"v":return this.controlEscapeAtom();case"c":return this.controlLetterEscapeAtom();case"0":return this.nulCharacterAtom();case"x":return this.hexEscapeSequenceAtom();case"u":return this.regExpUnicodeEscapeSequenceAtom();default:return this.identityEscapeAtom()}},e.prototype.group=function(){var e=!0;if("?"===(this.consumeChar("("),this.peekChar(0)))this.consumeChar("?"),this.consumeChar(":"),e=!1;else this.groupIdx++;var t=this.disjunction();this.consumeChar(")");var r={type:"Group",capturing:e,value:t};return e&&(r.idx=this.groupIdx),r},e.prototype.positiveInteger=function(){var e=this.popChar();if(!1===n.test(e))throw Error("Expecting a positive integer");for(;r.test(this.peekChar(0));)e+=this.popChar();return parseInt(e,10)},e.prototype.integerIncludingZero=function(){var e=this.popChar();if(!1===r.test(e))throw Error("Expecting an integer");for(;r.test(this.peekChar(0));)e+=this.popChar();return parseInt(e,10)},e.prototype.patternCharacter=function(){var e=this.popChar();switch(e){case"\n":case"\r":case"\u2028":case"\u2029":case"^":case"$":case"\\":case".":case"*":case"+":case"?":case"(":case")":case"[":case"|":throw Error("TBD");default:return{type:"Character",value:i(e)}}},e.prototype.isRegExpFlag=function(){switch(this.peekChar(0)){case"g":case"i":case"m":case"u":case"y":return!0;default:return!1}},e.prototype.isRangeDash=function(){return"-"===this.peekChar()&&this.isClassAtom(1)},e.prototype.isDigit=function(){return r.test(this.peekChar(0))},e.prototype.isClassAtom=function(e){switch(void 0===e&&(e=0),this.peekChar(e)){case"]":case"\n":case"\r":case"\u2028":case"\u2029":return!1;default:return!0}},e.prototype.isTerm=function(){return this.isAtom()||this.isAssertion()},e.prototype.isAtom=function(){if(this.isPatternCharacter())return!0;switch(this.peekChar(0)){case".":case"\\":case"[":case"(":return!0;default:return!1}},e.prototype.isAssertion=function(){switch(this.peekChar(0)){case"^":case"$":return!0;case"\\":switch(this.peekChar(1)){case"b":case"B":return!0;default:return!1}case"(":return"?"===this.peekChar(1)&&("="===this.peekChar(2)||"!"===this.peekChar(2));default:return!1}},e.prototype.isQuantifier=function(){var e=this.saveState();try{return void 0!==this.quantifier(!0)}catch(e){return!1}finally{this.restoreState(e)}},e.prototype.isPatternCharacter=function(){switch(this.peekChar()){case"^":case"$":case"\\":case".":case"*":case"+":case"?":case"(":case")":case"[":case"|":case"/":case"\n":case"\r":case"\u2028":case"\u2029":return!1;default:return!0}},e.prototype.parseHexDigits=function(e){for(var r="",n=0;n<e;n++){var i=this.popChar();if(!1===t.test(i))throw Error("Expecting a HexDecimal digits");r+=i}return{type:"Character",value:parseInt(r,16)}},e.prototype.peekChar=function(e){return void 0===e&&(e=0),this.input[this.idx+e]},e.prototype.popChar=function(){var e=this.peekChar(0);return this.consumeChar(),e},e.prototype.consumeChar=function(e){if(void 0!==e&&this.input[this.idx]!==e)throw Error("Expected: '"+e+"' but found: '"+this.input[this.idx]+"' at offset: "+this.idx);if(this.idx>=this.input.length)throw Error("Unexpected end of input");this.idx++},e.prototype.loc=function(e){return{begin:e,end:this.idx}};var t=/[0-9a-fA-F]/,r=/[0-9]/,n=/[1-9]/;function i(e){return e.charCodeAt(0)}function o(e,t){void 0!==e.length?e.forEach(function(e){t.push(e)}):t.push(e)}function s(e,t){if(!0===e[t])throw"duplicate flag "+t;e[t]=!0}function a(e){if(void 0===e)throw Error("Internal Error - Should never get here!")}var l,c=[];for(l=i("0");l<=i("9");l++)c.push(l);var u=[i("_")].concat(c);for(l=i("a");l<=i("z");l++)u.push(l);for(l=i("A");l<=i("Z");l++)u.push(l);var d=[i(" "),i("\f"),i("\n"),i("\r"),i("\t"),i("\v"),i("\t"),i(" "),i(" "),i(" "),i("�"),i(" "),i(" "),i(" "),i(" "),i(" "),i(" "),i(" "),i(" "),i(" "),i("\u2028"),i("\u2029"),i(" "),i("�"),i(" "),i("\ufeff")];function h(){}return h.prototype.visitChildren=function(e){for(var t in e){var r=e[t];e.hasOwnProperty(t)&&(void 0!==r.type?this.visit(r):Array.isArray(r)&&r.forEach(function(e){this.visit(e)},this))}},h.prototype.visit=function(e){switch(e.type){case"Pattern":this.visitPattern(e);break;case"Flags":this.visitFlags(e);break;case"Disjunction":this.visitDisjunction(e);break;case"Alternative":this.visitAlternative(e);break;case"StartAnchor":this.visitStartAnchor(e);break;case"EndAnchor":this.visitEndAnchor(e);break;case"WordBoundary":this.visitWordBoundary(e);break;case"NonWordBoundary":this.visitNonWordBoundary(e);break;case"Lookahead":this.visitLookahead(e);break;case"NegativeLookahead":this.visitNegativeLookahead(e);break;case"Character":this.visitCharacter(e);break;case"Set":this.visitSet(e);break;case"Group":this.visitGroup(e);break;case"GroupBackReference":this.visitGroupBackReference(e);break;case"Quantifier":this.visitQuantifier(e)}this.visitChildren(e)},h.prototype.visitPattern=function(e){},h.prototype.visitFlags=function(e){},h.prototype.visitDisjunction=function(e){},h.prototype.visitAlternative=function(e){},h.prototype.visitStartAnchor=function(e){},h.prototype.visitEndAnchor=function(e){},h.prototype.visitWordBoundary=function(e){},h.prototype.visitNonWordBoundary=function(e){},h.prototype.visitLookahead=function(e){},h.prototype.visitNegativeLookahead=function(e){},h.prototype.visitCharacter=function(e){},h.prototype.visitSet=function(e){},h.prototype.visitGroup=function(e){},h.prototype.visitGroupBackReference=function(e){},h.prototype.visitQuantifier=function(e){},{RegExpParser:e,BaseRegExpVisitor:h,VERSION:"0.5.0"}})}),Ww=Hw(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.clearRegExpParserCache=e.getRegExpAst=void 0;var t=Jw(),r={},n=new t.RegExpParser;e.getRegExpAst=function(e){var t=e.toString();if(r.hasOwnProperty(t))return r[t];var i=n.pattern(t);return r[t]=i,i},e.clearRegExpParserCache=function(){r={}}}),Qw=Hw(e=>{var t=e&&e.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(e,"__esModule",{value:!0}),e.canMatchCharCode=e.firstCharOptimizedIndices=e.getOptimizedStartCodesIndices=e.failedOptimizationPrefixMsg=void 0;var r=Jw(),n=jw(),i=Ww(),o=qw(),s="Complement Sets are not supported for first char optimization";function a(e,t,r){switch(e.type){case"Disjunction":for(var i=0;i<e.value.length;i++)a(e.value[i],t,r);break;case"Alternative":var c=e.value;for(i=0;i<c.length;i++){var d=c[i];switch(d.type){case"EndAnchor":case"GroupBackReference":case"Lookahead":case"NegativeLookahead":case"StartAnchor":case"WordBoundary":case"NonWordBoundary":continue}var h=d;switch(h.type){case"Character":l(h.value,t,r);break;case"Set":if(!0===h.complement)throw Error(s);n.forEach(h.value,function(e){if("number"==typeof e)l(e,t,r);else{var n=e;if(!0===r)for(var i=n.from;i<=n.to;i++)l(i,t,r);else{for(i=n.from;i<=n.to&&i<o.minOptimizationVal;i++)l(i,t,r);if(n.to>=o.minOptimizationVal)for(var s=n.from>=o.minOptimizationVal?n.from:o.minOptimizationVal,a=n.to,c=o.charCodeToOptimizedIndex(s),u=o.charCodeToOptimizedIndex(a),d=c;d<=u;d++)t[d]=d}}});break;case"Group":a(h.value,t,r);break;default:throw Error("Non Exhaustive Match")}var p=void 0!==h.quantifier&&0===h.quantifier.atLeast;if("Group"===h.type&&!1===u(h)||"Group"!==h.type&&!1===p)break}break;default:throw Error("non exhaustive match!")}return n.values(t)}function l(e,t,r){var n=o.charCodeToOptimizedIndex(e);t[n]=n,!0===r&&function(e,t){var r=String.fromCharCode(e),n=r.toUpperCase();if(n!==r){t[i=o.charCodeToOptimizedIndex(n.charCodeAt(0))]=i}else{var i,s=r.toLowerCase();if(s!==r)t[i=o.charCodeToOptimizedIndex(s.charCodeAt(0))]=i}}(e,t)}function c(e,t){return n.find(e.value,function(e){if("number"==typeof e)return n.contains(t,e);var r=e;return void 0!==n.find(t,function(e){return r.from<=e&&e<=r.to})})}function u(e){return!(!e.quantifier||0!==e.quantifier.atLeast)||!!e.value&&(n.isArray(e.value)?n.every(e.value,u):u(e.value))}e.failedOptimizationPrefixMsg='Unable to use "first char" lexer optimizations:\n',e.getOptimizedStartCodesIndices=function(t,o){void 0===o&&(o=!1);try{var l=i.getRegExpAst(t);return a(l.value,{},l.flags.ignoreCase)}catch(i){if(i.message===s)o&&n.PRINT_WARNING(e.failedOptimizationPrefixMsg+"\tUnable to optimize: < "+t.toString()+" >\n\tComplement Sets cannot be automatically optimized.\n\tThis will disable the lexer's first char optimizations.\n\tSee: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#COMPLEMENT for details.");else{var c="";o&&(c="\n\tThis will disable the lexer's first char optimizations.\n\tSee: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#REGEXP_PARSING for details."),n.PRINT_ERROR(e.failedOptimizationPrefixMsg+"\n\tFailed parsing: < "+t.toString()+" >\n\tUsing the regexp-to-ast library version: "+r.VERSION+"\n\tPlease open an issue at: https://github.com/bd82/regexp-to-ast/issues"+c)}}return[]},e.firstCharOptimizedIndices=a;var d=function(e){function r(t){var r=e.call(this)||this;return r.targetCharCodes=t,r.found=!1,r}return t(r,e),r.prototype.visitChildren=function(t){if(!0!==this.found){switch(t.type){case"Lookahead":return void this.visitLookahead(t);case"NegativeLookahead":return void this.visitNegativeLookahead(t)}e.prototype.visitChildren.call(this,t)}},r.prototype.visitCharacter=function(e){n.contains(this.targetCharCodes,e.value)&&(this.found=!0)},r.prototype.visitSet=function(e){e.complement?void 0===c(e,this.targetCharCodes)&&(this.found=!0):void 0!==c(e,this.targetCharCodes)&&(this.found=!0)},r}(r.BaseRegExpVisitor);e.canMatchCharCode=function(e,t){if(t instanceof RegExp){var r=i.getRegExpAst(t),o=new d(e);return o.visit(r),o.found}return void 0!==n.find(t,function(t){return n.contains(e,t.charCodeAt(0))})}}),qw=Hw(e=>{var t=e&&e.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(e,"__esModule",{value:!0}),e.charCodeToOptimizedIndex=e.minOptimizationVal=e.buildLineBreakIssueMessage=e.LineTerminatorOptimizedTester=e.isShortPattern=e.isCustomPattern=e.cloneEmptyGroups=e.performWarningRuntimeChecks=e.performRuntimeChecks=e.addStickyFlag=e.addStartOfInput=e.findUnreachablePatterns=e.findModesThatDoNotExist=e.findInvalidGroupType=e.findDuplicatePatterns=e.findUnsupportedFlags=e.findStartOfInputAnchor=e.findEmptyMatchRegExps=e.findEndOfInputAnchor=e.findInvalidPatterns=e.findMissingPatterns=e.validatePatterns=e.analyzeTokenTypes=e.enableSticky=e.disableSticky=e.SUPPORT_STICKY=e.MODES=e.DEFAULT_MODE=void 0;var r=Jw(),n=Kw(),i=jw(),o=Qw(),s=Ww(),a="PATTERN";function l(e){var t=i.filter(e,function(e){return!i.has(e,a)}),r=i.map(t,function(e){return{message:"Token Type: ->"+e.name+"<- missing static 'PATTERN' property",type:n.LexerDefinitionErrorType.MISSING_PATTERN,tokenTypes:[e]}});return{errors:r,valid:i.difference(e,t)}}function c(e){var t=i.filter(e,function(e){var t=e[a];return!(i.isRegExp(t)||i.isFunction(t)||i.has(t,"exec")||i.isString(t))}),r=i.map(t,function(e){return{message:"Token Type: ->"+e.name+"<- static 'PATTERN' can only be a RegExp, a Function matching the {CustomPatternMatcherFunc} type or an Object matching the {ICustomPattern} interface.",type:n.LexerDefinitionErrorType.INVALID_PATTERN,tokenTypes:[e]}});return{errors:r,valid:i.difference(e,t)}}e.DEFAULT_MODE="defaultMode",e.MODES="modes",e.SUPPORT_STICKY="boolean"==typeof new RegExp("(?:)").sticky,e.disableSticky=function(){e.SUPPORT_STICKY=!1},e.enableSticky=function(){e.SUPPORT_STICKY=!0},e.analyzeTokenTypes=function(t,r){r=i.defaults(r,{useSticky:e.SUPPORT_STICKY,debug:!1,safeMode:!1,positionTracking:"full",lineTerminatorCharacters:["\r","\n"],tracer:function(e,t){return t()}});var s,l=r.tracer;l("initCharCodeToOptimizedIndexMap",function(){!function(){if(i.isEmpty(I)){I=new Array(65536);for(var e=0;e<65536;e++)I[e]=e>255?255+~~(e/255):e}}()}),l("Reject Lexer.NA",function(){s=i.reject(t,function(e){return e[a]===n.Lexer.NA})});var c,u,d,h,p,m,_,g,f,v,b,A=!1;l("Transform Patterns",function(){A=!1,c=i.map(s,function(e){var t=e[a];if(i.isRegExp(t)){var n=t.source;return 1!==n.length||"^"===n||"$"===n||"."===n||t.ignoreCase?2!==n.length||"\\"!==n[0]||i.contains(["d","D","s","S","t","r","n","t","0","c","b","B","f","v","w","W"],n[1])?r.useSticky?$(t):y(t):n[1]:n}if(i.isFunction(t))return A=!0,{exec:t};if(i.has(t,"exec"))return A=!0,t;if("string"==typeof t){if(1===t.length)return t;var o=t.replace(/[\\^$.*+?()[\]{}|]/g,"\\$&"),s=new RegExp(o);return r.useSticky?$(s):y(s)}throw Error("non exhaustive match")})}),l("misc mapping",function(){u=i.map(s,function(e){return e.tokenTypeIdx}),d=i.map(s,function(e){var t=e.GROUP;if(t!==n.Lexer.SKIPPED){if(i.isString(t))return t;if(i.isUndefined(t))return!1;throw Error("non exhaustive match")}}),h=i.map(s,function(e){var t=e.LONGER_ALT;if(t)return i.indexOf(s,t)}),p=i.map(s,function(e){return e.PUSH_MODE}),m=i.map(s,function(e){return i.has(e,"POP_MODE")})}),l("Line Terminator Handling",function(){var e=C(r.lineTerminatorCharacters);_=i.map(s,function(e){return!1}),"onlyOffset"!==r.positionTracking&&(_=i.map(s,function(t){return i.has(t,"LINE_BREAKS")?t.LINE_BREAKS:!1===w(t,e)?o.canMatchCharCode(e,t.PATTERN):void 0}))}),l("Misc Mapping #2",function(){g=i.map(s,x),f=i.map(c,S),v=i.reduce(s,function(e,t){var r=t.GROUP;return i.isString(r)&&r!==n.Lexer.SKIPPED&&(e[r]=[]),e},{}),b=i.map(c,function(e,t){return{pattern:c[t],longerAlt:h[t],canLineTerminator:_[t],isCustom:g[t],short:f[t],group:d[t],push:p[t],pop:m[t],tokenTypeIdx:u[t],tokenType:s[t]}})});var k=!0,T=[];return r.safeMode||l("First Char Optimization",function(){T=i.reduce(s,function(e,t,n){if("string"==typeof t.PATTERN){var s=M(t.PATTERN.charCodeAt(0));E(e,s,b[n])}else if(i.isArray(t.START_CHARS_HINT)){var a;i.forEach(t.START_CHARS_HINT,function(t){var r=M("string"==typeof t?t.charCodeAt(0):t);a!==r&&(a=r,E(e,r,b[n]))})}else if(i.isRegExp(t.PATTERN))if(t.PATTERN.unicode)k=!1,r.ensureOptimizations&&i.PRINT_ERROR(o.failedOptimizationPrefixMsg+"\tUnable to analyze < "+t.PATTERN.toString()+" > pattern.\n\tThe regexp unicode flag is not currently supported by the regexp-to-ast library.\n\tThis will disable the lexer's first char optimizations.\n\tFor details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#UNICODE_OPTIMIZE");else{var l=o.getOptimizedStartCodesIndices(t.PATTERN,r.ensureOptimizations);i.isEmpty(l)&&(k=!1),i.forEach(l,function(t){E(e,t,b[n])})}else r.ensureOptimizations&&i.PRINT_ERROR(o.failedOptimizationPrefixMsg+"\tTokenType: <"+t.name+"> is using a custom token pattern without providing <start_chars_hint> parameter.\n\tThis will disable the lexer's first char optimizations.\n\tFor details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#CUSTOM_OPTIMIZE"),k=!1;return e},[])}),l("ArrayPacking",function(){T=i.packArray(T)}),{emptyGroups:v,patternIdxToConfig:b,charCodeToPatternIdxToConfig:T,hasCustom:A,canBeOptimized:k}},e.validatePatterns=function(e,t){var r=[],n=l(e);r=r.concat(n.errors);var o=c(n.valid),s=o.valid;return r=(r=r.concat(o.errors)).concat(function(e){var t=[],r=i.filter(e,function(e){return i.isRegExp(e[a])});return t=t.concat(d(r)),t=t.concat(m(r)),t=t.concat(_(r)),t=t.concat(g(r)),t=t.concat(h(r)),t}(s)),r=(r=(r=r.concat(f(s))).concat(v(s,t))).concat(b(s))},e.findMissingPatterns=l,e.findInvalidPatterns=c;var u=/[^\\][\$]/;function d(e){var o=function(e){function r(){var t=null!==e&&e.apply(this,arguments)||this;return t.found=!1,t}return t(r,e),r.prototype.visitEndAnchor=function(e){this.found=!0},r}(r.BaseRegExpVisitor),l=i.filter(e,function(e){var t=e[a];try{var r=s.getRegExpAst(t),n=new o;return n.visit(r),n.found}catch(e){return u.test(t.source)}}),c=i.map(l,function(e){return{message:"Unexpected RegExp Anchor Error:\n\tToken Type: ->"+e.name+"<- static 'PATTERN' cannot contain end of input anchor '$'\n\tSee chevrotain.io/docs/guide/resolving_lexer_errors.html#ANCHORS\tfor details.",type:n.LexerDefinitionErrorType.EOI_ANCHOR_FOUND,tokenTypes:[e]}});return c}function h(e){var t=i.filter(e,function(e){return e[a].test("")}),r=i.map(t,function(e){return{message:"Token Type: ->"+e.name+"<- static 'PATTERN' must not match an empty string",type:n.LexerDefinitionErrorType.EMPTY_MATCH_PATTERN,tokenTypes:[e]}});return r}e.findEndOfInputAnchor=d,e.findEmptyMatchRegExps=h;var p=/[^\\[][\^]|^\^/;function m(e){var o=function(e){function r(){var t=null!==e&&e.apply(this,arguments)||this;return t.found=!1,t}return t(r,e),r.prototype.visitStartAnchor=function(e){this.found=!0},r}(r.BaseRegExpVisitor),l=i.filter(e,function(e){var t=e[a];try{var r=s.getRegExpAst(t),n=new o;return n.visit(r),n.found}catch(e){return p.test(t.source)}}),c=i.map(l,function(e){return{message:"Unexpected RegExp Anchor Error:\n\tToken Type: ->"+e.name+"<- static 'PATTERN' cannot contain start of input anchor '^'\n\tSee https://chevrotain.io/docs/guide/resolving_lexer_errors.html#ANCHORS\tfor details.",type:n.LexerDefinitionErrorType.SOI_ANCHOR_FOUND,tokenTypes:[e]}});return c}function _(e){var t=i.filter(e,function(e){var t=e[a];return t instanceof RegExp&&(t.multiline||t.global)}),r=i.map(t,function(e){return{message:"Token Type: ->"+e.name+"<- static 'PATTERN' may NOT contain global('g') or multiline('m')",type:n.LexerDefinitionErrorType.UNSUPPORTED_FLAGS_FOUND,tokenTypes:[e]}});return r}function g(e){var t=[],r=i.map(e,function(r){return i.reduce(e,function(e,o){return r.PATTERN.source===o.PATTERN.source&&!i.contains(t,o)&&o.PATTERN!==n.Lexer.NA&&(t.push(o),e.push(o)),e},[])});r=i.compact(r);var o=i.filter(r,function(e){return e.length>1}),s=i.map(o,function(e){var t=i.map(e,function(e){return e.name});return{message:"The same RegExp pattern ->"+i.first(e).PATTERN+"<-has been used in all of the following Token Types: "+t.join(", ")+" <-",type:n.LexerDefinitionErrorType.DUPLICATE_PATTERNS_FOUND,tokenTypes:e}});return s}function f(e){var t=i.filter(e,function(e){if(!i.has(e,"GROUP"))return!1;var t=e.GROUP;return t!==n.Lexer.SKIPPED&&t!==n.Lexer.NA&&!i.isString(t)}),r=i.map(t,function(e){return{message:"Token Type: ->"+e.name+"<- static 'GROUP' can only be Lexer.SKIPPED/Lexer.NA/A String",type:n.LexerDefinitionErrorType.INVALID_GROUP_TYPE_FOUND,tokenTypes:[e]}});return r}function v(e,t){var r=i.filter(e,function(e){return void 0!==e.PUSH_MODE&&!i.contains(t,e.PUSH_MODE)}),o=i.map(r,function(e){return{message:"Token Type: ->"+e.name+"<- static 'PUSH_MODE' value cannot refer to a Lexer Mode ->"+e.PUSH_MODE+"<-which does not exist",type:n.LexerDefinitionErrorType.PUSH_MODE_DOES_NOT_EXIST,tokenTypes:[e]}});return o}function b(e){var t=[],r=i.reduce(e,function(e,t,r){var o=t.PATTERN;return o===n.Lexer.NA||(i.isString(o)?e.push({str:o,idx:r,tokenType:t}):i.isRegExp(o)&&function(e){var t=[".","\\","[","]","|","^","$","(",")","?","*","+","{"];return void 0===i.find(t,function(t){return-1!==e.source.indexOf(t)})}(o)&&e.push({str:o.source,idx:r,tokenType:t})),e},[]);return i.forEach(e,function(e,o){i.forEach(r,function(r){var s=r.str,a=r.idx,l=r.tokenType;if(o<a&&function(e,t){if(i.isRegExp(t)){var r=t.exec(e);return null!==r&&0===r.index}if(i.isFunction(t))return t(e,0,[],{});if(i.has(t,"exec"))return t.exec(e,0,[],{});if("string"==typeof t)return t===e;throw Error("non exhaustive match")}(s,e.PATTERN)){var c="Token: ->"+l.name+"<- can never be matched.\nBecause it appears AFTER the Token Type ->"+e.name+"<-in the lexer's definition.\nSee https://chevrotain.io/docs/guide/resolving_lexer_errors.html#UNREACHABLE";t.push({message:c,type:n.LexerDefinitionErrorType.UNREACHABLE_PATTERN,tokenTypes:[e,l]})}})}),t}function y(e){var t=e.ignoreCase?"i":"";return new RegExp("^(?:"+e.source+")",t)}function $(e){var t=e.ignoreCase?"iy":"y";return new RegExp(""+e.source,t)}function x(e){var t=e.PATTERN;if(i.isRegExp(t))return!1;if(i.isFunction(t))return!0;if(i.has(t,"exec"))return!0;if(i.isString(t))return!1;throw Error("non exhaustive match")}function S(e){return!(!i.isString(e)||1!==e.length)&&e.charCodeAt(0)}function w(e,t){if(i.has(e,"LINE_BREAKS"))return!1;if(i.isRegExp(e.PATTERN)){try{o.canMatchCharCode(t,e.PATTERN)}catch(e){return{issue:n.LexerDefinitionErrorType.IDENTIFY_TERMINATOR,errMsg:e.message}}return!1}if(i.isString(e.PATTERN))return!1;if(x(e))return{issue:n.LexerDefinitionErrorType.CUSTOM_LINE_BREAK};throw Error("non exhaustive match")}function A(e,t){if(t.issue===n.LexerDefinitionErrorType.IDENTIFY_TERMINATOR)return"Warning: unable to identify line terminator usage in pattern.\n\tThe problem is in the <"+e.name+"> Token Type\n\t Root cause: "+t.errMsg+".\n\tFor details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#IDENTIFY_TERMINATOR";if(t.issue===n.LexerDefinitionErrorType.CUSTOM_LINE_BREAK)return"Warning: A Custom Token Pattern should specify the <line_breaks> option.\n\tThe problem is in the <"+e.name+"> Token Type\n\tFor details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#CUSTOM_LINE_BREAK";throw Error("non exhaustive match")}function C(e){var t=i.map(e,function(e){return i.isString(e)&&e.length>0?e.charCodeAt(0):e});return t}function E(e,t,r){void 0===e[t]?e[t]=[r]:e[t].push(r)}e.findStartOfInputAnchor=m,e.findUnsupportedFlags=_,e.findDuplicatePatterns=g,e.findInvalidGroupType=f,e.findModesThatDoNotExist=v,e.findUnreachablePatterns=b,e.addStartOfInput=y,e.addStickyFlag=$,e.performRuntimeChecks=function(t,r,o){var s=[];return i.has(t,e.DEFAULT_MODE)||s.push({message:"A MultiMode Lexer cannot be initialized without a <"+e.DEFAULT_MODE+"> property in its definition\n",type:n.LexerDefinitionErrorType.MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE}),i.has(t,e.MODES)||s.push({message:"A MultiMode Lexer cannot be initialized without a <"+e.MODES+"> property in its definition\n",type:n.LexerDefinitionErrorType.MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY}),i.has(t,e.MODES)&&i.has(t,e.DEFAULT_MODE)&&!i.has(t.modes,t.defaultMode)&&s.push({message:"A MultiMode Lexer cannot be initialized with a "+e.DEFAULT_MODE+": <"+t.defaultMode+">which does not exist\n",type:n.LexerDefinitionErrorType.MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST}),i.has(t,e.MODES)&&i.forEach(t.modes,function(e,t){i.forEach(e,function(e,r){i.isUndefined(e)&&s.push({message:"A Lexer cannot be initialized using an undefined Token Type. Mode:<"+t+"> at index: <"+r+">\n",type:n.LexerDefinitionErrorType.LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED})})}),s},e.performWarningRuntimeChecks=function(e,t,r){var s=[],l=!1,c=i.compact(i.flatten(i.mapValues(e.modes,function(e){return e}))),u=i.reject(c,function(e){return e[a]===n.Lexer.NA}),d=C(r);return t&&i.forEach(u,function(e){var t=w(e,d);if(!1!==t){var r={message:A(e,t),type:t.issue,tokenType:e};s.push(r)}else i.has(e,"LINE_BREAKS")?!0===e.LINE_BREAKS&&(l=!0):o.canMatchCharCode(d,e.PATTERN)&&(l=!0)}),t&&!l&&s.push({message:"Warning: No LINE_BREAKS Found.\n\tThis Lexer has been defined to track line and column information,\n\tBut none of the Token Types can be identified as matching a line terminator.\n\tSee https://chevrotain.io/docs/guide/resolving_lexer_errors.html#LINE_BREAKS\n\tfor details.",type:n.LexerDefinitionErrorType.NO_LINE_BREAKS_FLAGS}),s},e.cloneEmptyGroups=function(e){var t={},r=i.keys(e);return i.forEach(r,function(r){var n=e[r];if(!i.isArray(n))throw Error("non exhaustive match");t[r]=[]}),t},e.isCustomPattern=x,e.isShortPattern=S,e.LineTerminatorOptimizedTester={test:function(e){for(var t=e.length,r=this.lastIndex;r<t;r++){var n=e.charCodeAt(r);if(10===n)return this.lastIndex=r+1,!0;if(13===n)return 10===e.charCodeAt(r+1)?this.lastIndex=r+2:this.lastIndex=r+1,!0}return!1},lastIndex:0},e.buildLineBreakIssueMessage=A,e.minOptimizationVal=256;var I=[];function M(t){return t<e.minOptimizationVal?t:I[t]}e.charCodeToOptimizedIndex=M}),Yw=Hw(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.isTokenType=e.hasExtendingTokensTypesMapProperty=e.hasExtendingTokensTypesProperty=e.hasCategoriesProperty=e.hasShortKeyProperty=e.singleAssignCategoriesToksMap=e.assignCategoriesMapProp=e.assignCategoriesTokensProp=e.assignTokenDefaultProps=e.expandCategories=e.augmentTokenTypes=e.tokenIdxToClass=e.tokenShortNameIdx=e.tokenStructuredMatcherNoCategories=e.tokenStructuredMatcher=void 0;var t=jw();function r(e){for(var r=t.cloneArr(e),n=e,i=!0;i;){n=t.compact(t.flatten(t.map(n,function(e){return e.CATEGORIES})));var o=t.difference(n,r);r=r.concat(o),t.isEmpty(o)?i=!1:n=o}return r}function n(r){t.forEach(r,function(r){a(r)||(e.tokenIdxToClass[e.tokenShortNameIdx]=r,r.tokenTypeIdx=e.tokenShortNameIdx++),l(r)&&!t.isArray(r.CATEGORIES)&&(r.CATEGORIES=[r.CATEGORIES]),l(r)||(r.CATEGORIES=[]),c(r)||(r.categoryMatches=[]),u(r)||(r.categoryMatchesMap={})})}function i(r){t.forEach(r,function(r){r.categoryMatches=[],t.forEach(r.categoryMatchesMap,function(t,n){r.categoryMatches.push(e.tokenIdxToClass[n].tokenTypeIdx)})})}function o(e){t.forEach(e,function(e){s([],e)})}function s(e,r){t.forEach(e,function(e){r.categoryMatchesMap[e.tokenTypeIdx]=!0}),t.forEach(r.CATEGORIES,function(n){var i=e.concat(r);t.contains(i,n)||s(i,n)})}function a(e){return t.has(e,"tokenTypeIdx")}function l(e){return t.has(e,"CATEGORIES")}function c(e){return t.has(e,"categoryMatches")}function u(e){return t.has(e,"categoryMatchesMap")}e.tokenStructuredMatcher=function(e,t){var r=e.tokenTypeIdx;return r===t.tokenTypeIdx||!0===t.isParent&&!0===t.categoryMatchesMap[r]},e.tokenStructuredMatcherNoCategories=function(e,t){return e.tokenTypeIdx===t.tokenTypeIdx},e.tokenShortNameIdx=1,e.tokenIdxToClass={},e.augmentTokenTypes=function(e){var s=r(e);n(s),o(s),i(s),t.forEach(s,function(e){e.isParent=e.categoryMatches.length>0})},e.expandCategories=r,e.assignTokenDefaultProps=n,e.assignCategoriesTokensProp=i,e.assignCategoriesMapProp=o,e.singleAssignCategoriesToksMap=s,e.hasShortKeyProperty=a,e.hasCategoriesProperty=l,e.hasExtendingTokensTypesProperty=c,e.hasExtendingTokensTypesMapProperty=u,e.isTokenType=function(e){return t.has(e,"tokenTypeIdx")}}),Xw=Hw(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.defaultLexerErrorProvider=void 0,e.defaultLexerErrorProvider={buildUnableToPopLexerModeMessage:function(e){return"Unable to pop Lexer Mode after encountering Token ->"+e.image+"<- The Mode Stack is empty"},buildUnexpectedCharactersMessage:function(e,t,r,n,i){return"unexpected character: ->"+e.charAt(t)+"<- at offset: "+t+", skipped "+r+" characters."}}}),Kw=Hw(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.Lexer=e.LexerDefinitionErrorType=void 0;var t=qw(),r=jw(),n=Yw(),i=Xw(),o=Ww();!function(e){e[e.MISSING_PATTERN=0]="MISSING_PATTERN",e[e.INVALID_PATTERN=1]="INVALID_PATTERN",e[e.EOI_ANCHOR_FOUND=2]="EOI_ANCHOR_FOUND",e[e.UNSUPPORTED_FLAGS_FOUND=3]="UNSUPPORTED_FLAGS_FOUND",e[e.DUPLICATE_PATTERNS_FOUND=4]="DUPLICATE_PATTERNS_FOUND",e[e.INVALID_GROUP_TYPE_FOUND=5]="INVALID_GROUP_TYPE_FOUND",e[e.PUSH_MODE_DOES_NOT_EXIST=6]="PUSH_MODE_DOES_NOT_EXIST",e[e.MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE=7]="MULTI_MODE_LEXER_WITHOUT_DEFAULT_MODE",e[e.MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY=8]="MULTI_MODE_LEXER_WITHOUT_MODES_PROPERTY",e[e.MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST=9]="MULTI_MODE_LEXER_DEFAULT_MODE_VALUE_DOES_NOT_EXIST",e[e.LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED=10]="LEXER_DEFINITION_CANNOT_CONTAIN_UNDEFINED",e[e.SOI_ANCHOR_FOUND=11]="SOI_ANCHOR_FOUND",e[e.EMPTY_MATCH_PATTERN=12]="EMPTY_MATCH_PATTERN",e[e.NO_LINE_BREAKS_FLAGS=13]="NO_LINE_BREAKS_FLAGS",e[e.UNREACHABLE_PATTERN=14]="UNREACHABLE_PATTERN",e[e.IDENTIFY_TERMINATOR=15]="IDENTIFY_TERMINATOR",e[e.CUSTOM_LINE_BREAK=16]="CUSTOM_LINE_BREAK"}(e.LexerDefinitionErrorType||(e.LexerDefinitionErrorType={}));var s={deferDefinitionErrorsHandling:!1,positionTracking:"full",lineTerminatorsPattern:/\n|\r\n?/g,lineTerminatorCharacters:["\n","\r"],ensureOptimizations:!1,safeMode:!1,errorMessageProvider:i.defaultLexerErrorProvider,traceInitPerf:!1,skipValidations:!1};Object.freeze(s);var a=function(){function e(e,i){var a=this;if(void 0===i&&(i=s),this.lexerDefinition=e,this.lexerDefinitionErrors=[],this.lexerDefinitionWarning=[],this.patternIdxToConfig={},this.charCodeToPatternIdxToConfig={},this.modes=[],this.emptyGroups={},this.config=void 0,this.trackStartLines=!0,this.trackEndLines=!0,this.hasCustom=!1,this.canModeBeOptimized={},"boolean"==typeof i)throw Error("The second argument to the Lexer constructor is now an ILexerConfig Object.\na boolean 2nd argument is no longer supported");this.config=r.merge(s,i);var l=this.config.traceInitPerf;!0===l?(this.traceInitMaxIdent=1/0,this.traceInitPerf=!0):"number"==typeof l&&(this.traceInitMaxIdent=l,this.traceInitPerf=!0),this.traceInitIndent=-1,this.TRACE_INIT("Lexer Constructor",function(){var l,c=!0;a.TRACE_INIT("Lexer Config handling",function(){if(a.config.lineTerminatorsPattern===s.lineTerminatorsPattern)a.config.lineTerminatorsPattern=t.LineTerminatorOptimizedTester;else if(a.config.lineTerminatorCharacters===s.lineTerminatorCharacters)throw Error("Error: Missing <lineTerminatorCharacters> property on the Lexer config.\n\tFor details See: https://chevrotain.io/docs/guide/resolving_lexer_errors.html#MISSING_LINE_TERM_CHARS");if(i.safeMode&&i.ensureOptimizations)throw Error('"safeMode" and "ensureOptimizations" flags are mutually exclusive.');a.trackStartLines=/full|onlyStart/i.test(a.config.positionTracking),a.trackEndLines=/full/i.test(a.config.positionTracking),r.isArray(e)?((l={modes:{}}).modes[t.DEFAULT_MODE]=r.cloneArr(e),l[t.DEFAULT_MODE]=t.DEFAULT_MODE):(c=!1,l=r.cloneObj(e))}),!1===a.config.skipValidations&&(a.TRACE_INIT("performRuntimeChecks",function(){a.lexerDefinitionErrors=a.lexerDefinitionErrors.concat(t.performRuntimeChecks(l,a.trackStartLines,a.config.lineTerminatorCharacters))}),a.TRACE_INIT("performWarningRuntimeChecks",function(){a.lexerDefinitionWarning=a.lexerDefinitionWarning.concat(t.performWarningRuntimeChecks(l,a.trackStartLines,a.config.lineTerminatorCharacters))})),l.modes=l.modes?l.modes:{},r.forEach(l.modes,function(e,t){l.modes[t]=r.reject(e,function(e){return r.isUndefined(e)})});var u=r.keys(l.modes);if(r.forEach(l.modes,function(e,o){a.TRACE_INIT("Mode: <"+o+"> processing",function(){var s;(a.modes.push(o),!1===a.config.skipValidations&&a.TRACE_INIT("validatePatterns",function(){a.lexerDefinitionErrors=a.lexerDefinitionErrors.concat(t.validatePatterns(e,u))}),r.isEmpty(a.lexerDefinitionErrors))&&(n.augmentTokenTypes(e),a.TRACE_INIT("analyzeTokenTypes",function(){s=t.analyzeTokenTypes(e,{lineTerminatorCharacters:a.config.lineTerminatorCharacters,positionTracking:i.positionTracking,ensureOptimizations:i.ensureOptimizations,safeMode:i.safeMode,tracer:a.TRACE_INIT.bind(a)})}),a.patternIdxToConfig[o]=s.patternIdxToConfig,a.charCodeToPatternIdxToConfig[o]=s.charCodeToPatternIdxToConfig,a.emptyGroups=r.merge(a.emptyGroups,s.emptyGroups),a.hasCustom=s.hasCustom||a.hasCustom,a.canModeBeOptimized[o]=s.canBeOptimized)})}),a.defaultMode=l.defaultMode,!r.isEmpty(a.lexerDefinitionErrors)&&!a.config.deferDefinitionErrorsHandling){var d=r.map(a.lexerDefinitionErrors,function(e){return e.message}),h=d.join("-----------------------\n");throw new Error("Errors detected in definition of Lexer:\n"+h)}r.forEach(a.lexerDefinitionWarning,function(e){r.PRINT_WARNING(e.message)}),a.TRACE_INIT("Choosing sub-methods implementations",function(){if(t.SUPPORT_STICKY?(a.chopInput=r.IDENTITY,a.match=a.matchWithTest):(a.updateLastIndex=r.NOOP,a.match=a.matchWithExec),c&&(a.handleModes=r.NOOP),!1===a.trackStartLines&&(a.computeNewColumn=r.IDENTITY),!1===a.trackEndLines&&(a.updateTokenEndLineColumnLocation=r.NOOP),/full/i.test(a.config.positionTracking))a.createTokenInstance=a.createFullToken;else if(/onlyStart/i.test(a.config.positionTracking))a.createTokenInstance=a.createStartOnlyToken;else{if(!/onlyOffset/i.test(a.config.positionTracking))throw Error('Invalid <positionTracking> config option: "'+a.config.positionTracking+'"');a.createTokenInstance=a.createOffsetOnlyToken}a.hasCustom?(a.addToken=a.addTokenUsingPush,a.handlePayload=a.handlePayloadWithCustom):(a.addToken=a.addTokenUsingMemberAccess,a.handlePayload=a.handlePayloadNoCustom)}),a.TRACE_INIT("Failed Optimization Warnings",function(){var e=r.reduce(a.canModeBeOptimized,function(e,t,r){return!1===t&&e.push(r),e},[]);if(i.ensureOptimizations&&!r.isEmpty(e))throw Error("Lexer Modes: < "+e.join(", ")+' > cannot be optimized.\n\t Disable the "ensureOptimizations" lexer config flag to silently ignore this and run the lexer in an un-optimized mode.\n\t Or inspect the console log for details on how to resolve these issues.')}),a.TRACE_INIT("clearRegExpParserCache",function(){o.clearRegExpParserCache()}),a.TRACE_INIT("toFastProperties",function(){r.toFastProperties(a)})})}return e.prototype.tokenize=function(e,t){if(void 0===t&&(t=this.defaultMode),!r.isEmpty(this.lexerDefinitionErrors)){var n=r.map(this.lexerDefinitionErrors,function(e){return e.message}),i=n.join("-----------------------\n");throw new Error("Unable to Tokenize because Errors detected in definition of Lexer:\n"+i)}return this.tokenizeInternal(e,t)},e.prototype.tokenizeInternal=function(e,n){var i,o,s,a,l,c,u,d,h,p,m,_,g,f,v=this,b=e,y=b.length,$=0,x=0,S=this.hasCustom?0:Math.floor(e.length/10),w=new Array(S),A=[],C=this.trackStartLines?1:void 0,E=this.trackStartLines?1:void 0,I=t.cloneEmptyGroups(this.emptyGroups),M=this.trackStartLines,k=this.config.lineTerminatorsPattern,T=0,R=[],L=[],P=[],D=[];Object.freeze(D);var N=void 0;function F(){return R}function O(e){var r=t.charCodeToOptimizedIndex(e),n=L[r];return void 0===n?D:n}var B,U=function(e){if(1===P.length&&void 0===e.tokenType.PUSH_MODE){var t=v.config.errorMessageProvider.buildUnableToPopLexerModeMessage(e);A.push({offset:e.startOffset,line:void 0!==e.startLine?e.startLine:void 0,column:void 0!==e.startColumn?e.startColumn:void 0,length:e.image.length,message:t})}else{P.pop();var n=r.last(P);R=v.patternIdxToConfig[n],L=v.charCodeToPatternIdxToConfig[n],T=R.length;var i=v.canModeBeOptimized[n]&&!1===v.config.safeMode;N=L&&i?O:F}};function V(e){P.push(e),L=this.charCodeToPatternIdxToConfig[e],R=this.patternIdxToConfig[e],T=R.length,T=R.length;var t=this.canModeBeOptimized[e]&&!1===this.config.safeMode;N=L&&t?O:F}for(V.call(this,n);$<y;){l=null;var z=b.charCodeAt($),H=N(z),G=H.length;for(i=0;i<G;i++){var j=(B=H[i]).pattern;if(c=null,!1!==(te=B.short)?z===te&&(l=j):!0===B.isCustom?null!==(f=j.exec(b,$,w,I))?(l=f[0],void 0!==f.payload&&(c=f.payload)):l=null:(this.updateLastIndex(j,$),l=this.match(j,e,$)),null!==l){if(void 0!==(a=B.longerAlt)){var J=R[a],W=J.pattern;u=null,!0===J.isCustom?null!==(f=W.exec(b,$,w,I))?(s=f[0],void 0!==f.payload&&(u=f.payload)):s=null:(this.updateLastIndex(W,$),s=this.match(W,e,$)),s&&s.length>l.length&&(l=s,c=u,B=J)}break}}if(null!==l){if(d=l.length,void 0!==(h=B.group)&&(p=B.tokenTypeIdx,m=this.createTokenInstance(l,$,p,B.tokenType,C,E,d),this.handlePayload(m,c),!1===h?x=this.addToken(w,x,m):I[h].push(m)),e=this.chopInput(e,d),$+=d,E=this.computeNewColumn(E,d),!0===M&&!0===B.canLineTerminator){var Q=0,q=void 0,Y=void 0;k.lastIndex=0;do{!0===(q=k.test(l))&&(Y=k.lastIndex-1,Q++)}while(!0===q);0!==Q&&(C+=Q,E=d-Y,this.updateTokenEndLineColumnLocation(m,h,Y,Q,C,E,d))}this.handleModes(B,U,V,m)}else{for(var X=$,K=C,Z=E,ee=!1;!ee&&$<y;)for(b.charCodeAt($),e=this.chopInput(e,1),$++,o=0;o<T;o++){var te,re=R[o];j=re.pattern;if(!1!==(te=re.short)?b.charCodeAt($)===te&&(ee=!0):!0===re.isCustom?ee=null!==j.exec(b,$,w,I):(this.updateLastIndex(j,$),ee=null!==j.exec(e)),!0===ee)break}_=$-X,g=this.config.errorMessageProvider.buildUnexpectedCharactersMessage(b,X,_,K,Z),A.push({offset:X,line:K,column:Z,length:_,message:g})}}return this.hasCustom||(w.length=x),{tokens:w,groups:I,errors:A}},e.prototype.handleModes=function(e,t,r,n){if(!0===e.pop){var i=e.push;t(n),void 0!==i&&r.call(this,i)}else void 0!==e.push&&r.call(this,e.push)},e.prototype.chopInput=function(e,t){return e.substring(t)},e.prototype.updateLastIndex=function(e,t){e.lastIndex=t},e.prototype.updateTokenEndLineColumnLocation=function(e,t,r,n,i,o,s){var a,l;void 0!==t&&(l=(a=r===s-1)?-1:0,1===n&&!0===a||(e.endLine=i+l,e.endColumn=o-1-l))},e.prototype.computeNewColumn=function(e,t){return e+t},e.prototype.createTokenInstance=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return null},e.prototype.createOffsetOnlyToken=function(e,t,r,n){return{image:e,startOffset:t,tokenTypeIdx:r,tokenType:n}},e.prototype.createStartOnlyToken=function(e,t,r,n,i,o){return{image:e,startOffset:t,startLine:i,startColumn:o,tokenTypeIdx:r,tokenType:n}},e.prototype.createFullToken=function(e,t,r,n,i,o,s){return{image:e,startOffset:t,endOffset:t+s-1,startLine:i,endLine:i,startColumn:o,endColumn:o+s-1,tokenTypeIdx:r,tokenType:n}},e.prototype.addToken=function(e,t,r){return 666},e.prototype.addTokenUsingPush=function(e,t,r){return e.push(r),t},e.prototype.addTokenUsingMemberAccess=function(e,t,r){return e[t]=r,++t},e.prototype.handlePayload=function(e,t){},e.prototype.handlePayloadNoCustom=function(e,t){},e.prototype.handlePayloadWithCustom=function(e,t){null!==t&&(e.payload=t)},e.prototype.match=function(e,t,r){return null},e.prototype.matchWithTest=function(e,t,r){return!0===e.test(t)?t.substring(r,e.lastIndex):null},e.prototype.matchWithExec=function(e,t){var r=e.exec(t);return null!==r?r[0]:r},e.prototype.TRACE_INIT=function(e,t){if(!0===this.traceInitPerf){this.traceInitIndent++;var n=new Array(this.traceInitIndent+1).join("\t");this.traceInitIndent<this.traceInitMaxIdent&&console.log(n+"--\x3e <"+e+">");var i=r.timer(t),o=i.time,s=i.value,a=o>10?console.warn:console.log;return this.traceInitIndent<this.traceInitMaxIdent&&a(n+"<-- <"+e+"> time: "+o+"ms"),this.traceInitIndent--,s}return t()},e.SKIPPED="This marks a skipped Token pattern, this means each token identified by it willbe consumed and then thrown into oblivion, this can be used to for example to completely ignore whitespace.",e.NA=/NOT_APPLICABLE/,e}();e.Lexer=a}),Zw=Hw(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.tokenMatcher=e.createTokenInstance=e.EOF=e.createToken=e.hasTokenLabel=e.tokenName=e.tokenLabel=void 0;var t=jw(),r=Kw(),n=Yw();function i(e){return t.isString(e.LABEL)&&""!==e.LABEL}e.tokenLabel=function(e){return i(e)?e.LABEL:e.name},e.tokenName=function(e){return e.name},e.hasTokenLabel=i;var o="parent",s="categories",a="label",l="group",c="push_mode",u="pop_mode",d="longer_alt",h="line_breaks",p="start_chars_hint";function m(e){return function(e){var r=e.pattern,i={};if(i.name=e.name,t.isUndefined(r)||(i.PATTERN=r),t.has(e,o))throw"The parent property is no longer supported.\nSee: https://github.com/chevrotain/chevrotain/issues/564#issuecomment-349062346 for details.";return t.has(e,s)&&(i.CATEGORIES=e[s]),n.augmentTokenTypes([i]),t.has(e,a)&&(i.LABEL=e[a]),t.has(e,l)&&(i.GROUP=e[l]),t.has(e,u)&&(i.POP_MODE=e[u]),t.has(e,c)&&(i.PUSH_MODE=e[c]),t.has(e,d)&&(i.LONGER_ALT=e[d]),t.has(e,h)&&(i.LINE_BREAKS=e[h]),t.has(e,p)&&(i.START_CHARS_HINT=e[p]),i}(e)}e.createToken=m,e.EOF=m({name:"EOF",pattern:r.Lexer.NA}),n.augmentTokenTypes([e.EOF]),e.createTokenInstance=function(e,t,r,n,i,o,s,a){return{image:t,startOffset:r,endOffset:n,startLine:i,endLine:o,startColumn:s,endColumn:a,tokenTypeIdx:e.tokenTypeIdx,tokenType:e}},e.tokenMatcher=function(e,t){return n.tokenStructuredMatcher(e,t)}}),eA=Hw(e=>{var t=e&&e.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(e,"__esModule",{value:!0}),e.serializeProduction=e.serializeGrammar=e.Terminal=e.Alternation=e.RepetitionWithSeparator=e.Repetition=e.RepetitionMandatoryWithSeparator=e.RepetitionMandatory=e.Option=e.Alternative=e.Rule=e.NonTerminal=e.AbstractProduction=void 0;var r=jw(),n=Zw(),i=function(){function e(e){this._definition=e}return Object.defineProperty(e.prototype,"definition",{get:function(){return this._definition},set:function(e){this._definition=e},enumerable:!1,configurable:!0}),e.prototype.accept=function(e){e.visit(this),r.forEach(this.definition,function(t){t.accept(e)})},e}();e.AbstractProduction=i;var o=function(e){function n(t){var n=e.call(this,[])||this;return n.idx=1,r.assign(n,r.pick(t,function(e){return void 0!==e})),n}return t(n,e),Object.defineProperty(n.prototype,"definition",{get:function(){return void 0!==this.referencedRule?this.referencedRule.definition:[]},set:function(e){},enumerable:!1,configurable:!0}),n.prototype.accept=function(e){e.visit(this)},n}(i);e.NonTerminal=o;var s=function(e){function n(t){var n=e.call(this,t.definition)||this;return n.orgText="",r.assign(n,r.pick(t,function(e){return void 0!==e})),n}return t(n,e),n}(i);e.Rule=s;var a=function(e){function n(t){var n=e.call(this,t.definition)||this;return n.ignoreAmbiguities=!1,r.assign(n,r.pick(t,function(e){return void 0!==e})),n}return t(n,e),n}(i);e.Alternative=a;var l=function(e){function n(t){var n=e.call(this,t.definition)||this;return n.idx=1,r.assign(n,r.pick(t,function(e){return void 0!==e})),n}return t(n,e),n}(i);e.Option=l;var c=function(e){function n(t){var n=e.call(this,t.definition)||this;return n.idx=1,r.assign(n,r.pick(t,function(e){return void 0!==e})),n}return t(n,e),n}(i);e.RepetitionMandatory=c;var u=function(e){function n(t){var n=e.call(this,t.definition)||this;return n.idx=1,r.assign(n,r.pick(t,function(e){return void 0!==e})),n}return t(n,e),n}(i);e.RepetitionMandatoryWithSeparator=u;var d=function(e){function n(t){var n=e.call(this,t.definition)||this;return n.idx=1,r.assign(n,r.pick(t,function(e){return void 0!==e})),n}return t(n,e),n}(i);e.Repetition=d;var h=function(e){function n(t){var n=e.call(this,t.definition)||this;return n.idx=1,r.assign(n,r.pick(t,function(e){return void 0!==e})),n}return t(n,e),n}(i);e.RepetitionWithSeparator=h;var p=function(e){function n(t){var n=e.call(this,t.definition)||this;return n.idx=1,n.ignoreAmbiguities=!1,n.hasPredicates=!1,r.assign(n,r.pick(t,function(e){return void 0!==e})),n}return t(n,e),Object.defineProperty(n.prototype,"definition",{get:function(){return this._definition},set:function(e){this._definition=e},enumerable:!1,configurable:!0}),n}(i);e.Alternation=p;var m=function(){function e(e){this.idx=1,r.assign(this,r.pick(e,function(e){return void 0!==e}))}return e.prototype.accept=function(e){e.visit(this)},e}();function _(e){function t(e){return r.map(e,_)}if(e instanceof o)return{type:"NonTerminal",name:e.nonTerminalName,idx:e.idx};if(e instanceof a)return{type:"Alternative",definition:t(e.definition)};if(e instanceof l)return{type:"Option",idx:e.idx,definition:t(e.definition)};if(e instanceof c)return{type:"RepetitionMandatory",idx:e.idx,definition:t(e.definition)};if(e instanceof u)return{type:"RepetitionMandatoryWithSeparator",idx:e.idx,separator:_(new m({terminalType:e.separator})),definition:t(e.definition)};if(e instanceof h)return{type:"RepetitionWithSeparator",idx:e.idx,separator:_(new m({terminalType:e.separator})),definition:t(e.definition)};if(e instanceof d)return{type:"Repetition",idx:e.idx,definition:t(e.definition)};if(e instanceof p)return{type:"Alternation",idx:e.idx,definition:t(e.definition)};if(e instanceof m){var i={type:"Terminal",name:e.terminalType.name,label:n.tokenLabel(e.terminalType),idx:e.idx},g=e.terminalType.PATTERN;return e.terminalType.PATTERN&&(i.pattern=r.isRegExp(g)?g.source:g),i}if(e instanceof s)return{type:"Rule",name:e.name,orgText:e.orgText,definition:t(e.definition)};throw Error("non exhaustive match")}e.Terminal=m,e.serializeGrammar=function(e){return r.map(e,_)},e.serializeProduction=_}),tA=Hw(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.RestWalker=void 0;var t=jw(),r=eA(),n=function(){function e(){}return e.prototype.walk=function(e,n){var i=this;void 0===n&&(n=[]),t.forEach(e.definition,function(o,s){var a=t.drop(e.definition,s+1);if(o instanceof r.NonTerminal)i.walkProdRef(o,a,n);else if(o instanceof r.Terminal)i.walkTerminal(o,a,n);else if(o instanceof r.Alternative)i.walkFlat(o,a,n);else if(o instanceof r.Option)i.walkOption(o,a,n);else if(o instanceof r.RepetitionMandatory)i.walkAtLeastOne(o,a,n);else if(o instanceof r.RepetitionMandatoryWithSeparator)i.walkAtLeastOneSep(o,a,n);else if(o instanceof r.RepetitionWithSeparator)i.walkManySep(o,a,n);else if(o instanceof r.Repetition)i.walkMany(o,a,n);else{if(!(o instanceof r.Alternation))throw Error("non exhaustive match");i.walkOr(o,a,n)}})},e.prototype.walkTerminal=function(e,t,r){},e.prototype.walkProdRef=function(e,t,r){},e.prototype.walkFlat=function(e,t,r){var n=t.concat(r);this.walk(e,n)},e.prototype.walkOption=function(e,t,r){var n=t.concat(r);this.walk(e,n)},e.prototype.walkAtLeastOne=function(e,t,n){var i=[new r.Option({definition:e.definition})].concat(t,n);this.walk(e,i)},e.prototype.walkAtLeastOneSep=function(e,t,r){var n=i(e,t,r);this.walk(e,n)},e.prototype.walkMany=function(e,t,n){var i=[new r.Option({definition:e.definition})].concat(t,n);this.walk(e,i)},e.prototype.walkManySep=function(e,t,r){var n=i(e,t,r);this.walk(e,n)},e.prototype.walkOr=function(e,n,i){var o=this,s=n.concat(i);t.forEach(e.definition,function(e){var t=new r.Alternative({definition:[e]});o.walk(t,s)})},e}();function i(e,t,n){return[new r.Option({definition:[new r.Terminal({terminalType:e.separator})].concat(e.definition)})].concat(t,n)}e.RestWalker=n}),rA=Hw(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.GAstVisitor=void 0;var t=eA(),r=function(){function e(){}return e.prototype.visit=function(e){var r=e;switch(r.constructor){case t.NonTerminal:return this.visitNonTerminal(r);case t.Alternative:return this.visitAlternative(r);case t.Option:return this.visitOption(r);case t.RepetitionMandatory:return this.visitRepetitionMandatory(r);case t.RepetitionMandatoryWithSeparator:return this.visitRepetitionMandatoryWithSeparator(r);case t.RepetitionWithSeparator:return this.visitRepetitionWithSeparator(r);case t.Repetition:return this.visitRepetition(r);case t.Alternation:return this.visitAlternation(r);case t.Terminal:return this.visitTerminal(r);case t.Rule:return this.visitRule(r);default:throw Error("non exhaustive match")}},e.prototype.visitNonTerminal=function(e){},e.prototype.visitAlternative=function(e){},e.prototype.visitOption=function(e){},e.prototype.visitRepetition=function(e){},e.prototype.visitRepetitionMandatory=function(e){},e.prototype.visitRepetitionMandatoryWithSeparator=function(e){},e.prototype.visitRepetitionWithSeparator=function(e){},e.prototype.visitAlternation=function(e){},e.prototype.visitTerminal=function(e){},e.prototype.visitRule=function(e){},e}();e.GAstVisitor=r}),nA=Hw(e=>{var t=e&&e.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(e,"__esModule",{value:!0}),e.collectMethods=e.DslMethodsCollectorVisitor=e.getProductionDslName=e.isBranchingProd=e.isOptionalProd=e.isSequenceProd=void 0;var r=jw(),n=eA(),i=rA();e.isSequenceProd=function(e){return e instanceof n.Alternative||e instanceof n.Option||e instanceof n.Repetition||e instanceof n.RepetitionMandatory||e instanceof n.RepetitionMandatoryWithSeparator||e instanceof n.RepetitionWithSeparator||e instanceof n.Terminal||e instanceof n.Rule},e.isOptionalProd=function e(t,i){return void 0===i&&(i=[]),!!(t instanceof n.Option||t instanceof n.Repetition||t instanceof n.RepetitionWithSeparator)||(t instanceof n.Alternation?r.some(t.definition,function(t){return e(t,i)}):!(t instanceof n.NonTerminal&&r.contains(i,t))&&(t instanceof n.AbstractProduction&&(t instanceof n.NonTerminal&&i.push(t),r.every(t.definition,function(t){return e(t,i)}))))},e.isBranchingProd=function(e){return e instanceof n.Alternation},e.getProductionDslName=function(e){if(e instanceof n.NonTerminal)return"SUBRULE";if(e instanceof n.Option)return"OPTION";if(e instanceof n.Alternation)return"OR";if(e instanceof n.RepetitionMandatory)return"AT_LEAST_ONE";if(e instanceof n.RepetitionMandatoryWithSeparator)return"AT_LEAST_ONE_SEP";if(e instanceof n.RepetitionWithSeparator)return"MANY_SEP";if(e instanceof n.Repetition)return"MANY";if(e instanceof n.Terminal)return"CONSUME";throw Error("non exhaustive match")};var o=function(e){function n(){var t=null!==e&&e.apply(this,arguments)||this;return t.separator="-",t.dslMethods={option:[],alternation:[],repetition:[],repetitionWithSeparator:[],repetitionMandatory:[],repetitionMandatoryWithSeparator:[]},t}return t(n,e),n.prototype.reset=function(){this.dslMethods={option:[],alternation:[],repetition:[],repetitionWithSeparator:[],repetitionMandatory:[],repetitionMandatoryWithSeparator:[]}},n.prototype.visitTerminal=function(e){var t=e.terminalType.name+this.separator+"Terminal";r.has(this.dslMethods,t)||(this.dslMethods[t]=[]),this.dslMethods[t].push(e)},n.prototype.visitNonTerminal=function(e){var t=e.nonTerminalName+this.separator+"Terminal";r.has(this.dslMethods,t)||(this.dslMethods[t]=[]),this.dslMethods[t].push(e)},n.prototype.visitOption=function(e){this.dslMethods.option.push(e)},n.prototype.visitRepetitionWithSeparator=function(e){this.dslMethods.repetitionWithSeparator.push(e)},n.prototype.visitRepetitionMandatory=function(e){this.dslMethods.repetitionMandatory.push(e)},n.prototype.visitRepetitionMandatoryWithSeparator=function(e){this.dslMethods.repetitionMandatoryWithSeparator.push(e)},n.prototype.visitRepetition=function(e){this.dslMethods.repetition.push(e)},n.prototype.visitAlternation=function(e){this.dslMethods.alternation.push(e)},n}(i.GAstVisitor);e.DslMethodsCollectorVisitor=o;var s=new o;e.collectMethods=function(e){s.reset(),e.accept(s);var t=s.dslMethods;return s.reset(),t}}),iA=Hw(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.firstForTerminal=e.firstForBranching=e.firstForSequence=e.first=void 0;var t=jw(),r=eA(),n=nA();function i(e){if(e instanceof r.NonTerminal)return i(e.referencedRule);if(e instanceof r.Terminal)return a(e);if(n.isSequenceProd(e))return o(e);if(n.isBranchingProd(e))return s(e);throw Error("non exhaustive match")}function o(e){for(var r,o=[],s=e.definition,a=0,l=s.length>a,c=!0;l&&c;)r=s[a],c=n.isOptionalProd(r),o=o.concat(i(r)),a+=1,l=s.length>a;return t.uniq(o)}function s(e){var r=t.map(e.definition,function(e){return i(e)});return t.uniq(t.flatten(r))}function a(e){return[e.terminalType]}e.first=i,e.firstForSequence=o,e.firstForBranching=s,e.firstForTerminal=a}),oA=Hw(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.IN=void 0,e.IN="_~IN~_"}),sA=Hw(e=>{var t=e&&e.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(e,"__esModule",{value:!0}),e.buildInProdFollowPrefix=e.buildBetweenProdsFollowPrefix=e.computeAllProdsFollows=e.ResyncFollowsWalker=void 0;var r=tA(),n=iA(),i=jw(),o=oA(),s=eA(),a=function(e){function r(t){var r=e.call(this)||this;return r.topProd=t,r.follows={},r}return t(r,e),r.prototype.startWalking=function(){return this.walk(this.topProd),this.follows},r.prototype.walkTerminal=function(e,t,r){},r.prototype.walkProdRef=function(e,t,r){var i=l(e.referencedRule,e.idx)+this.topProd.name,o=t.concat(r),a=new s.Alternative({definition:o}),c=n.first(a);this.follows[i]=c},r}(r.RestWalker);function l(e,t){return e.name+t+o.IN}e.ResyncFollowsWalker=a,e.computeAllProdsFollows=function(e){var t={};return i.forEach(e,function(e){var r=new a(e).startWalking();i.assign(t,r)}),t},e.buildBetweenProdsFollowPrefix=l,e.buildInProdFollowPrefix=function(e){return e.terminalType.name+e.idx+o.IN}}),aA=Hw(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.defaultGrammarValidatorErrorProvider=e.defaultGrammarResolverErrorProvider=e.defaultParserErrorProvider=void 0;var t=Zw(),r=jw(),n=jw(),i=eA(),o=nA();e.defaultParserErrorProvider={buildMismatchTokenMessage:function(e){var r=e.expected,n=e.actual;e.previous,e.ruleName;return"Expecting "+(t.hasTokenLabel(r)?"--\x3e "+t.tokenLabel(r)+" <--":"token of type --\x3e "+r.name+" <--")+" but found --\x3e '"+n.image+"' <--"},buildNotAllInputParsedMessage:function(e){var t=e.firstRedundant;e.ruleName;return"Redundant input, expecting EOF but found: "+t.image},buildNoViableAltMessage:function(e){var r=e.expectedPathsPerAlt,i=e.actual,o=(e.previous,e.customUserDescription),s=(e.ruleName,"Expecting: "),a="\nbut found: '"+n.first(i).image+"'";if(o)return s+o+a;var l=n.reduce(r,function(e,t){return e.concat(t)},[]),c=n.map(l,function(e){return"["+n.map(e,function(e){return t.tokenLabel(e)}).join(", ")+"]"}),u=n.map(c,function(e,t){return"  "+(t+1)+". "+e});return s+("one of these possible Token sequences:\n"+u.join("\n"))+a},buildEarlyExitMessage:function(e){var r=e.expectedIterationPaths,i=e.actual,o=e.customUserDescription,s=(e.ruleName,"Expecting: "),a="\nbut found: '"+n.first(i).image+"'";if(o)return s+o+a;var l=n.map(r,function(e){return"["+n.map(e,function(e){return t.tokenLabel(e)}).join(",")+"]"});return s+("expecting at least one iteration which starts with one of these possible Token sequences::\n  <"+l.join(" ,")+">")+a}},Object.freeze(e.defaultParserErrorProvider),e.defaultGrammarResolverErrorProvider={buildRuleNotFoundError:function(e,t){return"Invalid grammar, reference to a rule which is not defined: ->"+t.nonTerminalName+"<-\ninside top level rule: ->"+e.name+"<-"}},e.defaultGrammarValidatorErrorProvider={buildDuplicateFoundError:function(e,t){var r=e.name,s=n.first(t),a=s.idx,l=o.getProductionDslName(s),c=function(e){return e instanceof i.Terminal?e.terminalType.name:e instanceof i.NonTerminal?e.nonTerminalName:""}(s),u="->"+l+(a>0?a:"")+"<- "+(c?"with argument: ->"+c+"<-":"")+"\n                  appears more than once ("+t.length+" times) in the top level rule: ->"+r+"<-.\n                  For further details see: https://chevrotain.io/docs/FAQ.html#NUMERICAL_SUFFIXES\n                  ";return u=(u=u.replace(/[ \t]+/g," ")).replace(/\s\s+/g,"\n")},buildNamespaceConflictError:function(e){return"Namespace conflict found in grammar.\nThe grammar has both a Terminal(Token) and a Non-Terminal(Rule) named: <"+e.name+">.\nTo resolve this make sure each Terminal and Non-Terminal names are unique\nThis is easy to accomplish by using the convention that Terminal names start with an uppercase letter\nand Non-Terminal names start with a lower case letter."},buildAlternationPrefixAmbiguityError:function(e){var r=n.map(e.prefixPath,function(e){return t.tokenLabel(e)}).join(", "),i=0===e.alternation.idx?"":e.alternation.idx;return"Ambiguous alternatives: <"+e.ambiguityIndices.join(" ,")+"> due to common lookahead prefix\nin <OR"+i+"> inside <"+e.topLevelRule.name+"> Rule,\n<"+r+"> may appears as a prefix path in all these alternatives.\nSee: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#COMMON_PREFIX\nFor Further details."},buildAlternationAmbiguityError:function(e){var r=n.map(e.prefixPath,function(e){return t.tokenLabel(e)}).join(", "),i=0===e.alternation.idx?"":e.alternation.idx,o="Ambiguous Alternatives Detected: <"+e.ambiguityIndices.join(" ,")+"> in <OR"+i+"> inside <"+e.topLevelRule.name+"> Rule,\n<"+r+"> may appears as a prefix path in all these alternatives.\n";return o+="See: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#AMBIGUOUS_ALTERNATIVES\nFor Further details."},buildEmptyRepetitionError:function(e){var t=o.getProductionDslName(e.repetition);return 0!==e.repetition.idx&&(t+=e.repetition.idx),"The repetition <"+t+"> within Rule <"+e.topLevelRule.name+"> can never consume any tokens.\nThis could lead to an infinite loop."},buildTokenNameError:function(e){return"deprecated"},buildEmptyAlternationError:function(e){return"Ambiguous empty alternative: <"+(e.emptyChoiceIdx+1)+"> in <OR"+e.alternation.idx+"> inside <"+e.topLevelRule.name+"> Rule.\nOnly the last alternative may be an empty alternative."},buildTooManyAlternativesError:function(e){return"An Alternation cannot have more than 256 alternatives:\n<OR"+e.alternation.idx+"> inside <"+e.topLevelRule.name+"> Rule.\n has "+(e.alternation.definition.length+1)+" alternatives."},buildLeftRecursionError:function(e){var t=e.topLevelRule.name,n=r.map(e.leftRecursionPath,function(e){return e.name});return"Left Recursion found in grammar.\nrule: <"+t+"> can be invoked from itself (directly or indirectly)\nwithout consuming any Tokens. The grammar path that causes this is:\n "+(t+" --\x3e "+n.concat([t]).join(" --\x3e "))+"\n To fix this refactor your grammar to remove the left recursion.\nsee: https://en.wikipedia.org/wiki/LL_parser#Left_Factoring."},buildInvalidRuleNameError:function(e){return"deprecated"},buildDuplicateRuleNameError:function(e){return"Duplicate definition, rule: ->"+(e.topLevelRule instanceof i.Rule?e.topLevelRule.name:e.topLevelRule)+"<- is already defined in the grammar: ->"+e.grammarName+"<-"}}}),lA=Hw(e=>{var t=e&&e.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(e,"__esModule",{value:!0}),e.GastRefResolverVisitor=e.resolveGrammar=void 0;var r=MA(),n=jw(),i=rA();e.resolveGrammar=function(e,t){var r=new o(e,t);return r.resolveRefs(),r.errors};var o=function(e){function i(t,r){var n=e.call(this)||this;return n.nameToTopRule=t,n.errMsgProvider=r,n.errors=[],n}return t(i,e),i.prototype.resolveRefs=function(){var e=this;n.forEach(n.values(this.nameToTopRule),function(t){e.currTopLevel=t,t.accept(e)})},i.prototype.visitNonTerminal=function(e){var t=this.nameToTopRule[e.nonTerminalName];if(t)e.referencedRule=t;else{var n=this.errMsgProvider.buildRuleNotFoundError(this.currTopLevel,e);this.errors.push({message:n,type:r.ParserDefinitionErrorType.UNRESOLVED_SUBRULE_REF,ruleName:this.currTopLevel.name,unresolvedRefName:e.nonTerminalName})}},i}(i.GAstVisitor);e.GastRefResolverVisitor=o}),cA=Hw(e=>{var t=e&&e.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(e,"__esModule",{value:!0}),e.nextPossibleTokensAfter=e.possiblePathsFrom=e.NextTerminalAfterAtLeastOneSepWalker=e.NextTerminalAfterAtLeastOneWalker=e.NextTerminalAfterManySepWalker=e.NextTerminalAfterManyWalker=e.AbstractNextTerminalAfterProductionWalker=e.NextAfterTokenWalker=e.AbstractNextPossibleTokensWalker=void 0;var r=tA(),n=jw(),i=iA(),o=eA(),s=function(e){function r(t,r){var n=e.call(this)||this;return n.topProd=t,n.path=r,n.possibleTokTypes=[],n.nextProductionName="",n.nextProductionOccurrence=0,n.found=!1,n.isAtEndOfPath=!1,n}return t(r,e),r.prototype.startWalking=function(){if(this.found=!1,this.path.ruleStack[0]!==this.topProd.name)throw Error("The path does not start with the walker's top Rule!");return this.ruleStack=n.cloneArr(this.path.ruleStack).reverse(),this.occurrenceStack=n.cloneArr(this.path.occurrenceStack).reverse(),this.ruleStack.pop(),this.occurrenceStack.pop(),this.updateExpectedNext(),this.walk(this.topProd),this.possibleTokTypes},r.prototype.walk=function(t,r){void 0===r&&(r=[]),this.found||e.prototype.walk.call(this,t,r)},r.prototype.walkProdRef=function(e,t,r){if(e.referencedRule.name===this.nextProductionName&&e.idx===this.nextProductionOccurrence){var n=t.concat(r);this.updateExpectedNext(),this.walk(e.referencedRule,n)}},r.prototype.updateExpectedNext=function(){n.isEmpty(this.ruleStack)?(this.nextProductionName="",this.nextProductionOccurrence=0,this.isAtEndOfPath=!0):(this.nextProductionName=this.ruleStack.pop(),this.nextProductionOccurrence=this.occurrenceStack.pop())},r}(r.RestWalker);e.AbstractNextPossibleTokensWalker=s;var a=function(e){function r(t,r){var n=e.call(this,t,r)||this;return n.path=r,n.nextTerminalName="",n.nextTerminalOccurrence=0,n.nextTerminalName=n.path.lastTok.name,n.nextTerminalOccurrence=n.path.lastTokOccurrence,n}return t(r,e),r.prototype.walkTerminal=function(e,t,r){if(this.isAtEndOfPath&&e.terminalType.name===this.nextTerminalName&&e.idx===this.nextTerminalOccurrence&&!this.found){var n=t.concat(r),s=new o.Alternative({definition:n});this.possibleTokTypes=i.first(s),this.found=!0}},r}(s);e.NextAfterTokenWalker=a;var l=function(e){function r(t,r){var n=e.call(this)||this;return n.topRule=t,n.occurrence=r,n.result={token:void 0,occurrence:void 0,isEndOfRule:void 0},n}return t(r,e),r.prototype.startWalking=function(){return this.walk(this.topRule),this.result},r}(r.RestWalker);e.AbstractNextTerminalAfterProductionWalker=l;var c=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return t(r,e),r.prototype.walkMany=function(t,r,i){if(t.idx===this.occurrence){var s=n.first(r.concat(i));this.result.isEndOfRule=void 0===s,s instanceof o.Terminal&&(this.result.token=s.terminalType,this.result.occurrence=s.idx)}else e.prototype.walkMany.call(this,t,r,i)},r}(l);e.NextTerminalAfterManyWalker=c;var u=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return t(r,e),r.prototype.walkManySep=function(t,r,i){if(t.idx===this.occurrence){var s=n.first(r.concat(i));this.result.isEndOfRule=void 0===s,s instanceof o.Terminal&&(this.result.token=s.terminalType,this.result.occurrence=s.idx)}else e.prototype.walkManySep.call(this,t,r,i)},r}(l);e.NextTerminalAfterManySepWalker=u;var d=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return t(r,e),r.prototype.walkAtLeastOne=function(t,r,i){if(t.idx===this.occurrence){var s=n.first(r.concat(i));this.result.isEndOfRule=void 0===s,s instanceof o.Terminal&&(this.result.token=s.terminalType,this.result.occurrence=s.idx)}else e.prototype.walkAtLeastOne.call(this,t,r,i)},r}(l);e.NextTerminalAfterAtLeastOneWalker=d;var h=function(e){function r(){return null!==e&&e.apply(this,arguments)||this}return t(r,e),r.prototype.walkAtLeastOneSep=function(t,r,i){if(t.idx===this.occurrence){var s=n.first(r.concat(i));this.result.isEndOfRule=void 0===s,s instanceof o.Terminal&&(this.result.token=s.terminalType,this.result.occurrence=s.idx)}else e.prototype.walkAtLeastOneSep.call(this,t,r,i)},r}(l);function p(e,t,r,i){var o=n.cloneArr(r);o.push(e.name);var s=n.cloneArr(i);return s.push(1),{idx:t,def:e.definition,ruleStack:o,occurrenceStack:s}}e.NextTerminalAfterAtLeastOneSepWalker=h,e.possiblePathsFrom=function e(t,r,i){void 0===i&&(i=[]),i=n.cloneArr(i);var s=[],a=0;function l(o){var l=e(function(e){return e.concat(n.drop(t,a+1))}(o),r,i);return s.concat(l)}for(;i.length<r&&a<t.length;){var c=t[a];if(c instanceof o.Alternative)return l(c.definition);if(c instanceof o.NonTerminal)return l(c.definition);if(c instanceof o.Option)s=l(c.definition);else{if(c instanceof o.RepetitionMandatory)return l(u=c.definition.concat([new o.Repetition({definition:c.definition})]));if(c instanceof o.RepetitionMandatoryWithSeparator)return l(u=[new o.Alternative({definition:c.definition}),new o.Repetition({definition:[new o.Terminal({terminalType:c.separator})].concat(c.definition)})]);if(c instanceof o.RepetitionWithSeparator){var u=c.definition.concat([new o.Repetition({definition:[new o.Terminal({terminalType:c.separator})].concat(c.definition)})]);s=l(u)}else if(c instanceof o.Repetition){u=c.definition.concat([new o.Repetition({definition:c.definition})]);s=l(u)}else{if(c instanceof o.Alternation)return n.forEach(c.definition,function(e){!1===n.isEmpty(e.definition)&&(s=l(e.definition))}),s;if(!(c instanceof o.Terminal))throw Error("non exhaustive match");i.push(c.terminalType)}}a++}return s.push({partialPath:i,suffixDef:n.drop(t,a)}),s},e.nextPossibleTokensAfter=function(e,t,r,i){var s="EXIT_NONE_TERMINAL",a=[s],l="EXIT_ALTERNATIVE",c=!1,u=t.length,d=u-i-1,h=[],m=[];for(m.push({idx:-1,def:e,ruleStack:[],occurrenceStack:[]});!n.isEmpty(m);){var _=m.pop();if(_!==l){var g=_.def,f=_.idx,v=_.ruleStack,b=_.occurrenceStack;if(!n.isEmpty(g)){var y=g[0];if(y===s){var $={idx:f,def:n.drop(g),ruleStack:n.dropRight(v),occurrenceStack:n.dropRight(b)};m.push($)}else if(y instanceof o.Terminal)if(f<u-1){var x=f+1;if(r(t[x],y.terminalType)){$={idx:x,def:n.drop(g),ruleStack:v,occurrenceStack:b};m.push($)}}else{if(f!==u-1)throw Error("non exhaustive match");h.push({nextTokenType:y.terminalType,nextTokenOccurrence:y.idx,ruleStack:v,occurrenceStack:b}),c=!0}else if(y instanceof o.NonTerminal){var S=n.cloneArr(v);S.push(y.nonTerminalName);var w=n.cloneArr(b);w.push(y.idx);$={idx:f,def:y.definition.concat(a,n.drop(g)),ruleStack:S,occurrenceStack:w};m.push($)}else if(y instanceof o.Option){var A={idx:f,def:n.drop(g),ruleStack:v,occurrenceStack:b};m.push(A),m.push(l);var C={idx:f,def:y.definition.concat(n.drop(g)),ruleStack:v,occurrenceStack:b};m.push(C)}else if(y instanceof o.RepetitionMandatory){var E=new o.Repetition({definition:y.definition,idx:y.idx});$={idx:f,def:y.definition.concat([E],n.drop(g)),ruleStack:v,occurrenceStack:b};m.push($)}else if(y instanceof o.RepetitionMandatoryWithSeparator){var I=new o.Terminal({terminalType:y.separator});E=new o.Repetition({definition:[I].concat(y.definition),idx:y.idx}),$={idx:f,def:y.definition.concat([E],n.drop(g)),ruleStack:v,occurrenceStack:b};m.push($)}else if(y instanceof o.RepetitionWithSeparator){A={idx:f,def:n.drop(g),ruleStack:v,occurrenceStack:b};m.push(A),m.push(l);I=new o.Terminal({terminalType:y.separator});var M=new o.Repetition({definition:[I].concat(y.definition),idx:y.idx});C={idx:f,def:y.definition.concat([M],n.drop(g)),ruleStack:v,occurrenceStack:b};m.push(C)}else if(y instanceof o.Repetition){A={idx:f,def:n.drop(g),ruleStack:v,occurrenceStack:b};m.push(A),m.push(l);M=new o.Repetition({definition:y.definition,idx:y.idx}),C={idx:f,def:y.definition.concat([M],n.drop(g)),ruleStack:v,occurrenceStack:b};m.push(C)}else if(y instanceof o.Alternation)for(var k=y.definition.length-1;k>=0;k--){var T={idx:f,def:y.definition[k].definition.concat(n.drop(g)),ruleStack:v,occurrenceStack:b};m.push(T),m.push(l)}else if(y instanceof o.Alternative)m.push({idx:f,def:y.definition.concat(n.drop(g)),ruleStack:v,occurrenceStack:b});else{if(!(y instanceof o.Rule))throw Error("non exhaustive match");m.push(p(y,f,v,b))}}}else c&&n.last(m).idx<=d&&m.pop()}return h}}),uA=Hw(e=>{var t=e&&e.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(e,"__esModule",{value:!0}),e.areTokenCategoriesNotUsed=e.isStrictPrefixOfPath=e.containsPath=e.getLookaheadPathsForOptionalProd=e.getLookaheadPathsForOr=e.lookAheadSequenceFromAlternatives=e.buildSingleAlternativeLookaheadFunction=e.buildAlternativesLookAheadFunc=e.buildLookaheadFuncForOptionalProd=e.buildLookaheadFuncForOr=e.getProdType=e.PROD_TYPE=void 0;var r,n=jw(),i=cA(),o=tA(),s=Yw(),a=eA(),l=rA();!function(e){e[e.OPTION=0]="OPTION",e[e.REPETITION=1]="REPETITION",e[e.REPETITION_MANDATORY=2]="REPETITION_MANDATORY",e[e.REPETITION_MANDATORY_WITH_SEPARATOR=3]="REPETITION_MANDATORY_WITH_SEPARATOR",e[e.REPETITION_WITH_SEPARATOR=4]="REPETITION_WITH_SEPARATOR",e[e.ALTERNATION=5]="ALTERNATION"}(r=e.PROD_TYPE||(e.PROD_TYPE={})),e.getProdType=function(e){if(e instanceof a.Option)return r.OPTION;if(e instanceof a.Repetition)return r.REPETITION;if(e instanceof a.RepetitionMandatory)return r.REPETITION_MANDATORY;if(e instanceof a.RepetitionMandatoryWithSeparator)return r.REPETITION_MANDATORY_WITH_SEPARATOR;if(e instanceof a.RepetitionWithSeparator)return r.REPETITION_WITH_SEPARATOR;if(e instanceof a.Alternation)return r.ALTERNATION;throw Error("non exhaustive match")},e.buildLookaheadFuncForOr=function(e,t,r,n,i,o){var a=_(e,t,r);return o(a,n,v(a)?s.tokenStructuredMatcherNoCategories:s.tokenStructuredMatcher,i)},e.buildLookaheadFuncForOptionalProd=function(e,t,r,n,i,o){var a=g(e,t,i,r),l=v(a)?s.tokenStructuredMatcherNoCategories:s.tokenStructuredMatcher;return o(a[0],l,n)},e.buildAlternativesLookAheadFunc=function(e,t,r,i){var o=e.length,s=n.every(e,function(e){return n.every(e,function(e){return 1===e.length})});if(t)return function(t){for(var i=n.map(t,function(e){return e.GATE}),s=0;s<o;s++){var a=e[s],l=a.length,c=i[s];if(void 0===c||!1!==c.call(this))e:for(var u=0;u<l;u++){for(var d=a[u],h=d.length,p=0;p<h;p++){var m=this.LA(p+1);if(!1===r(m,d[p]))continue e}return s}}};if(s&&!i){var a=n.map(e,function(e){return n.flatten(e)}),l=n.reduce(a,function(e,t,r){return n.forEach(t,function(t){n.has(e,t.tokenTypeIdx)||(e[t.tokenTypeIdx]=r),n.forEach(t.categoryMatches,function(t){n.has(e,t)||(e[t]=r)})}),e},[]);return function(){var e=this.LA(1);return l[e.tokenTypeIdx]}}return function(){for(var t=0;t<o;t++){var n=e[t],i=n.length;e:for(var s=0;s<i;s++){for(var a=n[s],l=a.length,c=0;c<l;c++){var u=this.LA(c+1);if(!1===r(u,a[c]))continue e}return t}}}},e.buildSingleAlternativeLookaheadFunction=function(e,t,r){var i=n.every(e,function(e){return 1===e.length}),o=e.length;if(i&&!r){var s=n.flatten(e);if(1===s.length&&n.isEmpty(s[0].categoryMatches)){var a=s[0].tokenTypeIdx;return function(){return this.LA(1).tokenTypeIdx===a}}var l=n.reduce(s,function(e,t,r){return e[t.tokenTypeIdx]=!0,n.forEach(t.categoryMatches,function(t){e[t]=!0}),e},[]);return function(){var e=this.LA(1);return!0===l[e.tokenTypeIdx]}}return function(){e:for(var r=0;r<o;r++){for(var n=e[r],i=n.length,s=0;s<i;s++){var a=this.LA(s+1);if(!1===t(a,n[s]))continue e}return!0}return!1}};var c=function(e){function n(t,r,n){var i=e.call(this)||this;return i.topProd=t,i.targetOccurrence=r,i.targetProdType=n,i}return t(n,e),n.prototype.startWalking=function(){return this.walk(this.topProd),this.restDef},n.prototype.checkIsTarget=function(e,t,r,n){return e.idx===this.targetOccurrence&&this.targetProdType===t&&(this.restDef=r.concat(n),!0)},n.prototype.walkOption=function(t,n,i){this.checkIsTarget(t,r.OPTION,n,i)||e.prototype.walkOption.call(this,t,n,i)},n.prototype.walkAtLeastOne=function(t,n,i){this.checkIsTarget(t,r.REPETITION_MANDATORY,n,i)||e.prototype.walkOption.call(this,t,n,i)},n.prototype.walkAtLeastOneSep=function(t,n,i){this.checkIsTarget(t,r.REPETITION_MANDATORY_WITH_SEPARATOR,n,i)||e.prototype.walkOption.call(this,t,n,i)},n.prototype.walkMany=function(t,n,i){this.checkIsTarget(t,r.REPETITION,n,i)||e.prototype.walkOption.call(this,t,n,i)},n.prototype.walkManySep=function(t,n,i){this.checkIsTarget(t,r.REPETITION_WITH_SEPARATOR,n,i)||e.prototype.walkOption.call(this,t,n,i)},n}(o.RestWalker),u=function(e){function n(t,r,n){var i=e.call(this)||this;return i.targetOccurrence=t,i.targetProdType=r,i.targetRef=n,i.result=[],i}return t(n,e),n.prototype.checkIsTarget=function(e,t){e.idx===this.targetOccurrence&&this.targetProdType===t&&(void 0===this.targetRef||e===this.targetRef)&&(this.result=e.definition)},n.prototype.visitOption=function(e){this.checkIsTarget(e,r.OPTION)},n.prototype.visitRepetition=function(e){this.checkIsTarget(e,r.REPETITION)},n.prototype.visitRepetitionMandatory=function(e){this.checkIsTarget(e,r.REPETITION_MANDATORY)},n.prototype.visitRepetitionMandatoryWithSeparator=function(e){this.checkIsTarget(e,r.REPETITION_MANDATORY_WITH_SEPARATOR)},n.prototype.visitRepetitionWithSeparator=function(e){this.checkIsTarget(e,r.REPETITION_WITH_SEPARATOR)},n.prototype.visitAlternation=function(e){this.checkIsTarget(e,r.ALTERNATION)},n}(l.GAstVisitor);function d(e){for(var t=new Array(e),r=0;r<e;r++)t[r]=[];return t}function h(e){for(var t=[""],r=0;r<e.length;r++){for(var n=e[r],i=[],o=0;o<t.length;o++){var s=t[o];i.push(s+"_"+n.tokenTypeIdx);for(var a=0;a<n.categoryMatches.length;a++){var l="_"+n.categoryMatches[a];i.push(s+l)}}t=i}return t}function p(e,t,r){for(var n=0;n<e.length;n++)if(n!==r)for(var i=e[n],o=0;o<t.length;o++){if(!0===i[t[o]])return!1}return!0}function m(e,t){for(var r=n.map(e,function(e){return i.possiblePathsFrom([e],1)}),o=d(r.length),s=n.map(r,function(e){var t={};return n.forEach(e,function(e){var r=h(e.partialPath);n.forEach(r,function(e){t[e]=!0})}),t}),a=r,l=1;l<=t;l++){var c=a;a=d(c.length);for(var u=function(e){for(var r=c[e],u=0;u<r.length;u++){var d=r[u].partialPath,m=r[u].suffixDef,_=h(d);if(p(s,_,e)||n.isEmpty(m)||d.length===t){var g=o[e];if(!1===f(g,d)){g.push(d);for(var v=0;v<_.length;v++){var b=_[v];s[e][b]=!0}}}else{var y=i.possiblePathsFrom(m,l+1,d);a[e]=a[e].concat(y),n.forEach(y,function(t){var r=h(t.partialPath);n.forEach(r,function(t){s[e][t]=!0})})}}},m=0;m<c.length;m++)u(m)}return o}function _(e,t,n,i){var o=new u(e,r.ALTERNATION,i);return t.accept(o),m(o.result,n)}function g(e,t,r,n){var i=new u(e,r);t.accept(i);var o=i.result,s=new c(t,e,r).startWalking();return m([new a.Alternative({definition:o}),new a.Alternative({definition:s})],n)}function f(e,t){e:for(var r=0;r<e.length;r++){var n=e[r];if(n.length===t.length){for(var i=0;i<n.length;i++){var o=t[i],s=n[i];if(!1===(o===s||void 0!==s.categoryMatchesMap[o.tokenTypeIdx]))continue e}return!0}}return!1}function v(e){return n.every(e,function(e){return n.every(e,function(e){return n.every(e,function(e){return n.isEmpty(e.categoryMatches)})})})}e.lookAheadSequenceFromAlternatives=m,e.getLookaheadPathsForOr=_,e.getLookaheadPathsForOptionalProd=g,e.containsPath=f,e.isStrictPrefixOfPath=function(e,t){return e.length<t.length&&n.every(e,function(e,r){var n=t[r];return e===n||n.categoryMatchesMap[e.tokenTypeIdx]})},e.areTokenCategoriesNotUsed=v}),dA=Hw(e=>{var t=e&&e.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(e,"__esModule",{value:!0}),e.checkPrefixAlternativesAmbiguities=e.validateSomeNonEmptyLookaheadPath=e.validateTooManyAlts=e.RepetionCollector=e.validateAmbiguousAlternationAlternatives=e.validateEmptyOrAlternative=e.getFirstNoneTerminal=e.validateNoLeftRecursion=e.validateRuleIsOverridden=e.validateRuleDoesNotAlreadyExist=e.OccurrenceValidationCollector=e.identifyProductionForDuplicates=e.validateGrammar=void 0;var r=jw(),n=jw(),i=MA(),o=nA(),s=uA(),a=cA(),l=eA(),c=rA();function u(e){return o.getProductionDslName(e)+"_#_"+e.idx+"_#_"+d(e)}function d(e){return e instanceof l.Terminal?e.terminalType.name:e instanceof l.NonTerminal?e.nonTerminalName:""}e.validateGrammar=function(e,t,s,a,l){var c=r.map(e,function(e){return function(e,t){var n=new h;e.accept(n);var s=n.allProductions,a=r.groupBy(s,u),l=r.pick(a,function(e){return e.length>1}),c=r.map(r.values(l),function(n){var s=r.first(n),a=t.buildDuplicateFoundError(e,n),l=o.getProductionDslName(s),c={message:a,type:i.ParserDefinitionErrorType.DUPLICATE_PRODUCTIONS,ruleName:e.name,dslName:l,occurrence:s.idx},u=d(s);return u&&(c.parameter=u),c});return c}(e,a)}),_=r.map(e,function(e){return m(e,e,a)}),g=[],b=[],x=[];n.every(_,n.isEmpty)&&(g=n.map(e,function(e){return f(e,a)}),b=n.map(e,function(e){return v(e,t,a)}),x=$(e,t,a));var S=function(e,t,r){var o=[],s=n.map(t,function(e){return e.name});return n.forEach(e,function(e){var t=e.name;if(n.contains(s,t)){var a=r.buildNamespaceConflictError(e);o.push({message:a,type:i.ParserDefinitionErrorType.CONFLICT_TOKENS_RULES_NAMESPACE,ruleName:t})}}),o}(e,s,a),w=n.map(e,function(e){return y(e,a)}),A=n.map(e,function(t){return p(t,e,l,a)});return r.flatten(c.concat(x,_,g,b,S,w,A))},e.identifyProductionForDuplicates=u;var h=function(e){function r(){var t=null!==e&&e.apply(this,arguments)||this;return t.allProductions=[],t}return t(r,e),r.prototype.visitNonTerminal=function(e){this.allProductions.push(e)},r.prototype.visitOption=function(e){this.allProductions.push(e)},r.prototype.visitRepetitionWithSeparator=function(e){this.allProductions.push(e)},r.prototype.visitRepetitionMandatory=function(e){this.allProductions.push(e)},r.prototype.visitRepetitionMandatoryWithSeparator=function(e){this.allProductions.push(e)},r.prototype.visitRepetition=function(e){this.allProductions.push(e)},r.prototype.visitAlternation=function(e){this.allProductions.push(e)},r.prototype.visitTerminal=function(e){this.allProductions.push(e)},r}(c.GAstVisitor);function p(e,t,r,o){var s=[],a=n.reduce(t,function(t,r){return r.name===e.name?t+1:t},0);if(a>1){var l=o.buildDuplicateRuleNameError({topLevelRule:e,grammarName:r});s.push({message:l,type:i.ParserDefinitionErrorType.DUPLICATE_RULE_NAME,ruleName:e.name})}return s}function m(e,t,n,o){void 0===o&&(o=[]);var s=[],a=_(t.definition);if(r.isEmpty(a))return[];var l=e.name;r.contains(a,e)&&s.push({message:n.buildLeftRecursionError({topLevelRule:e,leftRecursionPath:o}),type:i.ParserDefinitionErrorType.LEFT_RECURSION,ruleName:l});var c=r.difference(a,o.concat([e])),u=r.map(c,function(t){var i=r.cloneArr(o);return i.push(t),m(e,t,n,i)});return s.concat(r.flatten(u))}function _(e){var t=[];if(r.isEmpty(e))return t;var n=r.first(e);if(n instanceof l.NonTerminal)t.push(n.referencedRule);else if(n instanceof l.Alternative||n instanceof l.Option||n instanceof l.RepetitionMandatory||n instanceof l.RepetitionMandatoryWithSeparator||n instanceof l.RepetitionWithSeparator||n instanceof l.Repetition)t=t.concat(_(n.definition));else if(n instanceof l.Alternation)t=r.flatten(r.map(n.definition,function(e){return _(e.definition)}));else if(!(n instanceof l.Terminal))throw Error("non exhaustive match");var i=o.isOptionalProd(n),s=e.length>1;if(i&&s){var a=r.drop(e);return t.concat(_(a))}return t}e.OccurrenceValidationCollector=h,e.validateRuleDoesNotAlreadyExist=p,e.validateRuleIsOverridden=function(e,t,n){var o,s=[];return r.contains(t,e)||(o="Invalid rule override, rule: ->"+e+"<- cannot be overridden in the grammar: ->"+n+"<-as it is not defined in any of the super grammars ",s.push({message:o,type:i.ParserDefinitionErrorType.INVALID_RULE_OVERRIDE,ruleName:e})),s},e.validateNoLeftRecursion=m,e.getFirstNoneTerminal=_;var g=function(e){function r(){var t=null!==e&&e.apply(this,arguments)||this;return t.alternations=[],t}return t(r,e),r.prototype.visitAlternation=function(e){this.alternations.push(e)},r}(c.GAstVisitor);function f(e,t){var n=new g;e.accept(n);var o=n.alternations,s=r.reduce(o,function(n,o){var s=r.dropRight(o.definition),l=r.map(s,function(n,s){var l=a.nextPossibleTokensAfter([n],[],null,1);return r.isEmpty(l)?{message:t.buildEmptyAlternationError({topLevelRule:e,alternation:o,emptyChoiceIdx:s}),type:i.ParserDefinitionErrorType.NONE_LAST_EMPTY_ALT,ruleName:e.name,occurrence:o.idx,alternative:s+1}:null});return n.concat(r.compact(l))},[]);return s}function v(e,t,o){var a=new g;e.accept(a);var l=a.alternations;l=n.reject(l,function(e){return!0===e.ignoreAmbiguities});var c=r.reduce(l,function(a,l){var c=l.idx,u=l.maxLookahead||t,d=s.getLookaheadPathsForOr(c,e,u,l),h=function(e,t,o,a){var l=[],c=n.reduce(e,function(r,i,o){return!0===t.definition[o].ignoreAmbiguities||n.forEach(i,function(i){var a=[o];n.forEach(e,function(e,r){o!==r&&s.containsPath(e,i)&&!0!==t.definition[r].ignoreAmbiguities&&a.push(r)}),a.length>1&&!s.containsPath(l,i)&&(l.push(i),r.push({alts:a,path:i}))}),r},[]),u=r.map(c,function(e){var r=n.map(e.alts,function(e){return e+1});return{message:a.buildAlternationAmbiguityError({topLevelRule:o,alternation:t,ambiguityIndices:r,prefixPath:e.path}),type:i.ParserDefinitionErrorType.AMBIGUOUS_ALTS,ruleName:o.name,occurrence:t.idx,alternatives:[e.alts]}});return u}(d,l,e,o),p=x(d,l,e,o);return a.concat(h,p)},[]);return c}e.validateEmptyOrAlternative=f,e.validateAmbiguousAlternationAlternatives=v;var b=function(e){function r(){var t=null!==e&&e.apply(this,arguments)||this;return t.allProductions=[],t}return t(r,e),r.prototype.visitRepetitionWithSeparator=function(e){this.allProductions.push(e)},r.prototype.visitRepetitionMandatory=function(e){this.allProductions.push(e)},r.prototype.visitRepetitionMandatoryWithSeparator=function(e){this.allProductions.push(e)},r.prototype.visitRepetition=function(e){this.allProductions.push(e)},r}(c.GAstVisitor);function y(e,t){var n=new g;e.accept(n);var o=n.alternations,s=r.reduce(o,function(r,n){return n.definition.length>255&&r.push({message:t.buildTooManyAlternativesError({topLevelRule:e,alternation:n}),type:i.ParserDefinitionErrorType.TOO_MANY_ALTS,ruleName:e.name,occurrence:n.idx}),r},[]);return s}function $(e,t,r){var o=[];return n.forEach(e,function(e){var a=new b;e.accept(a);var l=a.allProductions;n.forEach(l,function(a){var l=s.getProdType(a),c=a.maxLookahead||t,u=a.idx,d=s.getLookaheadPathsForOptionalProd(u,e,l,c)[0];if(n.isEmpty(n.flatten(d))){var h=r.buildEmptyRepetitionError({topLevelRule:e,repetition:a});o.push({message:h,type:i.ParserDefinitionErrorType.NO_NON_EMPTY_LOOKAHEAD,ruleName:e.name})}})}),o}function x(e,t,r,o){var a=[],l=n.reduce(e,function(e,t,r){var i=n.map(t,function(e){return{idx:r,path:e}});return e.concat(i)},[]);return n.forEach(l,function(e){if(!0!==t.definition[e.idx].ignoreAmbiguities){var c=e.idx,u=e.path,d=n.findAll(l,function(e){return!0!==t.definition[e.idx].ignoreAmbiguities&&e.idx<c&&s.isStrictPrefixOfPath(e.path,u)}),h=n.map(d,function(e){var n=[e.idx+1,c+1],s=0===t.idx?"":t.idx;return{message:o.buildAlternationPrefixAmbiguityError({topLevelRule:r,alternation:t,ambiguityIndices:n,prefixPath:e.path}),type:i.ParserDefinitionErrorType.AMBIGUOUS_PREFIX_ALTS,ruleName:r.name,occurrence:s,alternatives:n}});a=a.concat(h)}}),a}e.RepetionCollector=b,e.validateTooManyAlts=y,e.validateSomeNonEmptyLookaheadPath=$,e.checkPrefixAlternativesAmbiguities=x}),hA=Hw(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.validateGrammar=e.resolveGrammar=void 0;var t=jw(),r=lA(),n=dA(),i=aA();e.resolveGrammar=function(e){e=t.defaults(e,{errMsgProvider:i.defaultGrammarResolverErrorProvider});var n={};return t.forEach(e.rules,function(e){n[e.name]=e}),r.resolveGrammar(n,e.errMsgProvider)},e.validateGrammar=function(e){return e=t.defaults(e,{errMsgProvider:i.defaultGrammarValidatorErrorProvider}),n.validateGrammar(e.rules,e.maxLookahead,e.tokenTypes,e.errMsgProvider,e.grammarName)}}),pA=Hw(e=>{var t=e&&e.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(e,"__esModule",{value:!0}),e.EarlyExitException=e.NotAllInputParsedException=e.NoViableAltException=e.MismatchedTokenException=e.isRecognitionException=void 0;var r=jw(),n="MismatchedTokenException",i="NoViableAltException",o="EarlyExitException",s="NotAllInputParsedException",a=[n,i,o,s];Object.freeze(a),e.isRecognitionException=function(e){return r.contains(a,e.name)};var l=function(e){function r(t,r){var n=this.constructor,i=e.call(this,t)||this;return i.token=r,i.resyncedTokens=[],Object.setPrototypeOf(i,n.prototype),Error.captureStackTrace&&Error.captureStackTrace(i,i.constructor),i}return t(r,e),r}(Error),c=function(e){function r(t,r,i){var o=e.call(this,t,r)||this;return o.previousToken=i,o.name=n,o}return t(r,e),r}(l);e.MismatchedTokenException=c;var u=function(e){function r(t,r,n){var o=e.call(this,t,r)||this;return o.previousToken=n,o.name=i,o}return t(r,e),r}(l);e.NoViableAltException=u;var d=function(e){function r(t,r){var n=e.call(this,t,r)||this;return n.name=s,n}return t(r,e),r}(l);e.NotAllInputParsedException=d;var h=function(e){function r(t,r,n){var i=e.call(this,t,r)||this;return i.previousToken=n,i.name=o,i}return t(r,e),r}(l);e.EarlyExitException=h}),mA=Hw(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.attemptInRepetitionRecovery=e.Recoverable=e.InRuleRecoveryException=e.IN_RULE_RECOVERY_EXCEPTION=e.EOF_FOLLOW_KEY=void 0;var t=Zw(),r=jw(),n=pA(),i=oA(),o=MA();function s(t){this.name=e.IN_RULE_RECOVERY_EXCEPTION,this.message=t}e.EOF_FOLLOW_KEY={},e.IN_RULE_RECOVERY_EXCEPTION="InRuleRecoveryException",e.InRuleRecoveryException=s,s.prototype=Error.prototype;var a=function(){function a(){}return a.prototype.initRecoverable=function(e){this.firstAfterRepMap={},this.resyncFollows={},this.recoveryEnabled=r.has(e,"recoveryEnabled")?e.recoveryEnabled:o.DEFAULT_PARSER_CONFIG.recoveryEnabled,this.recoveryEnabled&&(this.attemptInRepetitionRecovery=l)},a.prototype.getTokenToInsert=function(e){var r=t.createTokenInstance(e,"",NaN,NaN,NaN,NaN,NaN,NaN);return r.isInsertedInRecovery=!0,r},a.prototype.canTokenTypeBeInsertedInRecovery=function(e){return!0},a.prototype.tryInRepetitionRecovery=function(e,t,i,o){for(var s=this,a=this.findReSyncTokenType(),l=this.exportLexerState(),c=[],u=!1,d=this.LA(1),h=this.LA(1),p=function(){var e=s.LA(0),t=s.errorMessageProvider.buildMismatchTokenMessage({expected:o,actual:d,previous:e,ruleName:s.getCurrRuleFullName()}),i=new n.MismatchedTokenException(t,d,s.LA(0));i.resyncedTokens=r.dropRight(c),s.SAVE_ERROR(i)};!u;){if(this.tokenMatcher(h,o))return void p();if(i.call(this))return p(),void e.apply(this,t);this.tokenMatcher(h,a)?u=!0:(h=this.SKIP_TOKEN(),this.addToResyncTokens(h,c))}this.importLexerState(l)},a.prototype.shouldInRepetitionRecoveryBeTried=function(e,t,r){return!(!1===r||void 0===e||void 0===t||this.tokenMatcher(this.LA(1),e)||this.isBackTracking()||this.canPerformInRuleRecovery(e,this.getFollowsForInRuleRecovery(e,t)))},a.prototype.getFollowsForInRuleRecovery=function(e,t){var r=this.getCurrentGrammarPath(e,t);return this.getNextPossibleTokenTypes(r)},a.prototype.tryInRuleRecovery=function(e,t){if(this.canRecoverWithSingleTokenInsertion(e,t))return this.getTokenToInsert(e);if(this.canRecoverWithSingleTokenDeletion(e)){var r=this.SKIP_TOKEN();return this.consumeToken(),r}throw new s("sad sad panda")},a.prototype.canPerformInRuleRecovery=function(e,t){return this.canRecoverWithSingleTokenInsertion(e,t)||this.canRecoverWithSingleTokenDeletion(e)},a.prototype.canRecoverWithSingleTokenInsertion=function(e,t){var n=this;if(!this.canTokenTypeBeInsertedInRecovery(e)||r.isEmpty(t))return!1;var i=this.LA(1),o=void 0!==r.find(t,function(e){return n.tokenMatcher(i,e)});return o},a.prototype.canRecoverWithSingleTokenDeletion=function(e){return this.tokenMatcher(this.LA(2),e)},a.prototype.isInCurrentRuleReSyncSet=function(e){var t=this.getCurrFollowKey(),n=this.getFollowSetFromFollowKey(t);return r.contains(n,e)},a.prototype.findReSyncTokenType=function(){for(var e=this.flattenFollowSet(),t=this.LA(1),n=2;;){var i=t.tokenType;if(r.contains(e,i))return i;t=this.LA(n),n++}},a.prototype.getCurrFollowKey=function(){if(1===this.RULE_STACK.length)return e.EOF_FOLLOW_KEY;var t=this.getLastExplicitRuleShortName(),r=this.getLastExplicitRuleOccurrenceIndex(),n=this.getPreviousExplicitRuleShortName();return{ruleName:this.shortRuleNameToFullName(t),idxInCallingRule:r,inRule:this.shortRuleNameToFullName(n)}},a.prototype.buildFullFollowKeyStack=function(){var t=this,n=this.RULE_STACK,i=this.RULE_OCCURRENCE_STACK;return r.map(n,function(r,o){return 0===o?e.EOF_FOLLOW_KEY:{ruleName:t.shortRuleNameToFullName(r),idxInCallingRule:i[o],inRule:t.shortRuleNameToFullName(n[o-1])}})},a.prototype.flattenFollowSet=function(){var e=this,t=r.map(this.buildFullFollowKeyStack(),function(t){return e.getFollowSetFromFollowKey(t)});return r.flatten(t)},a.prototype.getFollowSetFromFollowKey=function(r){if(r===e.EOF_FOLLOW_KEY)return[t.EOF];var n=r.ruleName+r.idxInCallingRule+i.IN+r.inRule;return this.resyncFollows[n]},a.prototype.addToResyncTokens=function(e,r){return this.tokenMatcher(e,t.EOF)||r.push(e),r},a.prototype.reSyncTo=function(e){for(var t=[],n=this.LA(1);!1===this.tokenMatcher(n,e);)n=this.SKIP_TOKEN(),this.addToResyncTokens(n,t);return r.dropRight(t)},a.prototype.attemptInRepetitionRecovery=function(e,t,r,n,i,o,s){},a.prototype.getCurrentGrammarPath=function(e,t){return{ruleStack:this.getHumanReadableRuleStack(),occurrenceStack:r.cloneArr(this.RULE_OCCURRENCE_STACK),lastTok:e,lastTokOccurrence:t}},a.prototype.getHumanReadableRuleStack=function(){var e=this;return r.map(this.RULE_STACK,function(t){return e.shortRuleNameToFullName(t)})},a}();function l(e,r,n,i,o,s,a){var l=this.getKeyForAutomaticLookahead(i,o),c=this.firstAfterRepMap[l];if(void 0===c){var u=this.getCurrRuleFullName();c=new s(this.getGAstProductions()[u],o).startWalking(),this.firstAfterRepMap[l]=c}var d=c.token,h=c.occurrence,p=c.isEndOfRule;1===this.RULE_STACK.length&&p&&void 0===d&&(d=t.EOF,h=1),this.shouldInRepetitionRecoveryBeTried(d,h,a)&&this.tryInRepetitionRecovery(e,r,n,d)}e.Recoverable=a,e.attemptInRepetitionRecovery=l}),_A=Hw(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getKeyForAutomaticLookahead=e.AT_LEAST_ONE_SEP_IDX=e.MANY_SEP_IDX=e.AT_LEAST_ONE_IDX=e.MANY_IDX=e.OPTION_IDX=e.OR_IDX=e.BITS_FOR_ALT_IDX=e.BITS_FOR_RULE_IDX=e.BITS_FOR_OCCURRENCE_IDX=e.BITS_FOR_METHOD_TYPE=void 0,e.BITS_FOR_METHOD_TYPE=4,e.BITS_FOR_OCCURRENCE_IDX=8,e.BITS_FOR_RULE_IDX=12,e.BITS_FOR_ALT_IDX=8,e.OR_IDX=1<<e.BITS_FOR_OCCURRENCE_IDX,e.OPTION_IDX=2<<e.BITS_FOR_OCCURRENCE_IDX,e.MANY_IDX=3<<e.BITS_FOR_OCCURRENCE_IDX,e.AT_LEAST_ONE_IDX=4<<e.BITS_FOR_OCCURRENCE_IDX,e.MANY_SEP_IDX=5<<e.BITS_FOR_OCCURRENCE_IDX,e.AT_LEAST_ONE_SEP_IDX=6<<e.BITS_FOR_OCCURRENCE_IDX,e.getKeyForAutomaticLookahead=function(e,t,r){return r|t|e};e.BITS_FOR_ALT_IDX}),gA=Hw(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.LooksAhead=void 0;var t=uA(),r=jw(),n=MA(),i=_A(),o=nA(),s=function(){function e(){}return e.prototype.initLooksAhead=function(e){this.dynamicTokensEnabled=r.has(e,"dynamicTokensEnabled")?e.dynamicTokensEnabled:n.DEFAULT_PARSER_CONFIG.dynamicTokensEnabled,this.maxLookahead=r.has(e,"maxLookahead")?e.maxLookahead:n.DEFAULT_PARSER_CONFIG.maxLookahead,this.lookAheadFuncsCache=r.isES2015MapSupported()?new Map:[],r.isES2015MapSupported()?(this.getLaFuncFromCache=this.getLaFuncFromMap,this.setLaFuncCache=this.setLaFuncCacheUsingMap):(this.getLaFuncFromCache=this.getLaFuncFromObj,this.setLaFuncCache=this.setLaFuncUsingObj)},e.prototype.preComputeLookaheadFunctions=function(e){var n=this;r.forEach(e,function(e){n.TRACE_INIT(e.name+" Rule Lookahead",function(){var s=o.collectMethods(e),a=s.alternation,l=s.repetition,c=s.option,u=s.repetitionMandatory,d=s.repetitionMandatoryWithSeparator,h=s.repetitionWithSeparator;r.forEach(a,function(r){var s=0===r.idx?"":r.idx;n.TRACE_INIT(""+o.getProductionDslName(r)+s,function(){var o=t.buildLookaheadFuncForOr(r.idx,e,r.maxLookahead||n.maxLookahead,r.hasPredicates,n.dynamicTokensEnabled,n.lookAheadBuilderForAlternatives),s=i.getKeyForAutomaticLookahead(n.fullRuleNameToShort[e.name],i.OR_IDX,r.idx);n.setLaFuncCache(s,o)})}),r.forEach(l,function(r){n.computeLookaheadFunc(e,r.idx,i.MANY_IDX,t.PROD_TYPE.REPETITION,r.maxLookahead,o.getProductionDslName(r))}),r.forEach(c,function(r){n.computeLookaheadFunc(e,r.idx,i.OPTION_IDX,t.PROD_TYPE.OPTION,r.maxLookahead,o.getProductionDslName(r))}),r.forEach(u,function(r){n.computeLookaheadFunc(e,r.idx,i.AT_LEAST_ONE_IDX,t.PROD_TYPE.REPETITION_MANDATORY,r.maxLookahead,o.getProductionDslName(r))}),r.forEach(d,function(r){n.computeLookaheadFunc(e,r.idx,i.AT_LEAST_ONE_SEP_IDX,t.PROD_TYPE.REPETITION_MANDATORY_WITH_SEPARATOR,r.maxLookahead,o.getProductionDslName(r))}),r.forEach(h,function(r){n.computeLookaheadFunc(e,r.idx,i.MANY_SEP_IDX,t.PROD_TYPE.REPETITION_WITH_SEPARATOR,r.maxLookahead,o.getProductionDslName(r))})})})},e.prototype.computeLookaheadFunc=function(e,r,n,o,s,a){var l=this;this.TRACE_INIT(""+a+(0===r?"":r),function(){var a=t.buildLookaheadFuncForOptionalProd(r,e,s||l.maxLookahead,l.dynamicTokensEnabled,o,l.lookAheadBuilderForOptional),c=i.getKeyForAutomaticLookahead(l.fullRuleNameToShort[e.name],n,r);l.setLaFuncCache(c,a)})},e.prototype.lookAheadBuilderForOptional=function(e,r,n){return t.buildSingleAlternativeLookaheadFunction(e,r,n)},e.prototype.lookAheadBuilderForAlternatives=function(e,r,n,i){return t.buildAlternativesLookAheadFunc(e,r,n,i)},e.prototype.getKeyForAutomaticLookahead=function(e,t){var r=this.getLastExplicitRuleShortName();return i.getKeyForAutomaticLookahead(r,e,t)},e.prototype.getLaFuncFromCache=function(e){},e.prototype.getLaFuncFromMap=function(e){return this.lookAheadFuncsCache.get(e)},e.prototype.getLaFuncFromObj=function(e){return this.lookAheadFuncsCache[e]},e.prototype.setLaFuncCache=function(e,t){},e.prototype.setLaFuncCacheUsingMap=function(e,t){this.lookAheadFuncsCache.set(e,t)},e.prototype.setLaFuncUsingObj=function(e,t){this.lookAheadFuncsCache[e]=t},e}();e.LooksAhead=s}),fA=Hw(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.addNoneTerminalToCst=e.addTerminalToCst=e.setNodeLocationFull=e.setNodeLocationOnlyOffset=void 0,e.setNodeLocationOnlyOffset=function(e,t){!0===isNaN(e.startOffset)?(e.startOffset=t.startOffset,e.endOffset=t.endOffset):e.endOffset<t.endOffset&&(e.endOffset=t.endOffset)},e.setNodeLocationFull=function(e,t){!0===isNaN(e.startOffset)?(e.startOffset=t.startOffset,e.startColumn=t.startColumn,e.startLine=t.startLine,e.endOffset=t.endOffset,e.endColumn=t.endColumn,e.endLine=t.endLine):e.endOffset<t.endOffset&&(e.endOffset=t.endOffset,e.endColumn=t.endColumn,e.endLine=t.endLine)},e.addTerminalToCst=function(e,t,r){void 0===e.children[r]?e.children[r]=[t]:e.children[r].push(t)},e.addNoneTerminalToCst=function(e,t,r){void 0===e.children[t]?e.children[t]=[r]:e.children[t].push(r)}}),vA=Hw(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.defineNameProp=e.functionName=e.classNameFromInstance=void 0;var t=jw();e.classNameFromInstance=function(e){return n(e.constructor)};var r="name";function n(e){return e.name||"anonymous"}e.functionName=n,e.defineNameProp=function(e,n){var i=Object.getOwnPropertyDescriptor(e,r);return!(!t.isUndefined(i)&&!i.configurable)&&(Object.defineProperty(e,r,{enumerable:!1,configurable:!0,writable:!1,value:n}),!0)}}),bA=Hw(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.validateRedundantMethods=e.validateMissingCstMethods=e.validateVisitor=e.CstVisitorDefinitionError=e.createBaseVisitorConstructorWithDefaults=e.createBaseSemanticVisitorConstructor=e.defaultVisit=void 0;var t,r=jw(),n=vA();function i(e,t){for(var n=r.keys(e),i=n.length,o=0;o<i;o++)for(var s=e[n[o]],a=s.length,l=0;l<a;l++){var c=s[l];void 0===c.tokenTypeIdx&&this[c.name](c.children,t)}}function o(e,t){var r=s(e,t),n=l(e,t);return r.concat(n)}function s(e,i){var o=r.map(i,function(i){if(!r.isFunction(e[i]))return{msg:"Missing visitor method: <"+i+"> on "+n.functionName(e.constructor)+" CST Visitor.",type:t.MISSING_METHOD,methodName:i}});return r.compact(o)}e.defaultVisit=i,e.createBaseSemanticVisitorConstructor=function(e,t){var i=function(){};n.defineNameProp(i,e+"BaseSemantics");var s={visit:function(e,t){if(r.isArray(e)&&(e=e[0]),!r.isUndefined(e))return this[e.name](e.children,t)},validateVisitor:function(){var e=o(this,t);if(!r.isEmpty(e)){var i=r.map(e,function(e){return e.msg});throw Error("Errors Detected in CST Visitor <"+n.functionName(this.constructor)+">:\n\t"+i.join("\n\n").replace(/\n/g,"\n\t"))}}};return(i.prototype=s).constructor=i,i._RULE_NAMES=t,i},e.createBaseVisitorConstructorWithDefaults=function(e,t,o){var s=function(){};n.defineNameProp(s,e+"BaseSemanticsWithDefaults");var a=Object.create(o.prototype);return r.forEach(t,function(e){a[e]=i}),(s.prototype=a).constructor=s,s},function(e){e[e.REDUNDANT_METHOD=0]="REDUNDANT_METHOD",e[e.MISSING_METHOD=1]="MISSING_METHOD"}(t=e.CstVisitorDefinitionError||(e.CstVisitorDefinitionError={})),e.validateVisitor=o,e.validateMissingCstMethods=s;var a=["constructor","visit","validateVisitor"];function l(e,i){var o=[];for(var s in e)r.isFunction(e[s])&&!r.contains(a,s)&&!r.contains(i,s)&&o.push({msg:"Redundant visitor method: <"+s+"> on "+n.functionName(e.constructor)+" CST Visitor\nThere is no Grammar Rule corresponding to this method's name.\n",type:t.REDUNDANT_METHOD,methodName:s});return o}e.validateRedundantMethods=l}),yA=Hw(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.TreeBuilder=void 0;var t=fA(),r=jw(),n=bA(),i=MA(),o=function(){function e(){}return e.prototype.initTreeBuilder=function(e){if(this.CST_STACK=[],this.outputCst=e.outputCst,this.nodeLocationTracking=r.has(e,"nodeLocationTracking")?e.nodeLocationTracking:i.DEFAULT_PARSER_CONFIG.nodeLocationTracking,this.outputCst)if(/full/i.test(this.nodeLocationTracking))this.recoveryEnabled?(this.setNodeLocationFromToken=t.setNodeLocationFull,this.setNodeLocationFromNode=t.setNodeLocationFull,this.cstPostRule=r.NOOP,this.setInitialNodeLocation=this.setInitialNodeLocationFullRecovery):(this.setNodeLocationFromToken=r.NOOP,this.setNodeLocationFromNode=r.NOOP,this.cstPostRule=this.cstPostRuleFull,this.setInitialNodeLocation=this.setInitialNodeLocationFullRegular);else if(/onlyOffset/i.test(this.nodeLocationTracking))this.recoveryEnabled?(this.setNodeLocationFromToken=t.setNodeLocationOnlyOffset,this.setNodeLocationFromNode=t.setNodeLocationOnlyOffset,this.cstPostRule=r.NOOP,this.setInitialNodeLocation=this.setInitialNodeLocationOnlyOffsetRecovery):(this.setNodeLocationFromToken=r.NOOP,this.setNodeLocationFromNode=r.NOOP,this.cstPostRule=this.cstPostRuleOnlyOffset,this.setInitialNodeLocation=this.setInitialNodeLocationOnlyOffsetRegular);else{if(!/none/i.test(this.nodeLocationTracking))throw Error('Invalid <nodeLocationTracking> config option: "'+e.nodeLocationTracking+'"');this.setNodeLocationFromToken=r.NOOP,this.setNodeLocationFromNode=r.NOOP,this.cstPostRule=r.NOOP,this.setInitialNodeLocation=r.NOOP}else this.cstInvocationStateUpdate=r.NOOP,this.cstFinallyStateUpdate=r.NOOP,this.cstPostTerminal=r.NOOP,this.cstPostNonTerminal=r.NOOP,this.cstPostRule=r.NOOP},e.prototype.setInitialNodeLocationOnlyOffsetRecovery=function(e){e.location={startOffset:NaN,endOffset:NaN}},e.prototype.setInitialNodeLocationOnlyOffsetRegular=function(e){e.location={startOffset:this.LA(1).startOffset,endOffset:NaN}},e.prototype.setInitialNodeLocationFullRecovery=function(e){e.location={startOffset:NaN,startLine:NaN,startColumn:NaN,endOffset:NaN,endLine:NaN,endColumn:NaN}},e.prototype.setInitialNodeLocationFullRegular=function(e){var t=this.LA(1);e.location={startOffset:t.startOffset,startLine:t.startLine,startColumn:t.startColumn,endOffset:NaN,endLine:NaN,endColumn:NaN}},e.prototype.cstInvocationStateUpdate=function(e,t){var r={name:e,children:{}};this.setInitialNodeLocation(r),this.CST_STACK.push(r)},e.prototype.cstFinallyStateUpdate=function(){this.CST_STACK.pop()},e.prototype.cstPostRuleFull=function(e){var t=this.LA(0),r=e.location;r.startOffset<=t.startOffset?(r.endOffset=t.endOffset,r.endLine=t.endLine,r.endColumn=t.endColumn):(r.startOffset=NaN,r.startLine=NaN,r.startColumn=NaN)},e.prototype.cstPostRuleOnlyOffset=function(e){var t=this.LA(0),r=e.location;r.startOffset<=t.startOffset?r.endOffset=t.endOffset:r.startOffset=NaN},e.prototype.cstPostTerminal=function(e,r){var n=this.CST_STACK[this.CST_STACK.length-1];t.addTerminalToCst(n,r,e),this.setNodeLocationFromToken(n.location,r)},e.prototype.cstPostNonTerminal=function(e,r){var n=this.CST_STACK[this.CST_STACK.length-1];t.addNoneTerminalToCst(n,r,e),this.setNodeLocationFromNode(n.location,e.location)},e.prototype.getBaseCstVisitorConstructor=function(){if(r.isUndefined(this.baseCstVisitorConstructor)){var e=n.createBaseSemanticVisitorConstructor(this.className,r.keys(this.gastProductionsCache));return this.baseCstVisitorConstructor=e,e}return this.baseCstVisitorConstructor},e.prototype.getBaseCstVisitorConstructorWithDefaults=function(){if(r.isUndefined(this.baseCstVisitorWithDefaultsConstructor)){var e=n.createBaseVisitorConstructorWithDefaults(this.className,r.keys(this.gastProductionsCache),this.getBaseCstVisitorConstructor());return this.baseCstVisitorWithDefaultsConstructor=e,e}return this.baseCstVisitorWithDefaultsConstructor},e.prototype.getLastExplicitRuleShortName=function(){var e=this.RULE_STACK;return e[e.length-1]},e.prototype.getPreviousExplicitRuleShortName=function(){var e=this.RULE_STACK;return e[e.length-2]},e.prototype.getLastExplicitRuleOccurrenceIndex=function(){var e=this.RULE_OCCURRENCE_STACK;return e[e.length-1]},e}();e.TreeBuilder=o}),$A=Hw(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.LexerAdapter=void 0;var t=MA(),r=function(){function e(){}return e.prototype.initLexerAdapter=function(){this.tokVector=[],this.tokVectorLength=0,this.currIdx=-1},Object.defineProperty(e.prototype,"input",{get:function(){return this.tokVector},set:function(e){if(!0!==this.selfAnalysisDone)throw Error("Missing <performSelfAnalysis> invocation at the end of the Parser's constructor.");this.reset(),this.tokVector=e,this.tokVectorLength=e.length},enumerable:!1,configurable:!0}),e.prototype.SKIP_TOKEN=function(){return this.currIdx<=this.tokVector.length-2?(this.consumeToken(),this.LA(1)):t.END_OF_FILE},e.prototype.LA=function(e){var r=this.currIdx+e;return r<0||this.tokVectorLength<=r?t.END_OF_FILE:this.tokVector[r]},e.prototype.consumeToken=function(){this.currIdx++},e.prototype.exportLexerState=function(){return this.currIdx},e.prototype.importLexerState=function(e){this.currIdx=e},e.prototype.resetLexerState=function(){this.currIdx=-1},e.prototype.moveToTerminatedState=function(){this.currIdx=this.tokVector.length-1},e.prototype.getLexerPosition=function(){return this.exportLexerState()},e}();e.LexerAdapter=r}),xA=Hw(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.RecognizerApi=void 0;var t=jw(),r=pA(),n=MA(),i=aA(),o=dA(),s=eA(),a=function(){function e(){}return e.prototype.ACTION=function(e){return e.call(this)},e.prototype.consume=function(e,t,r){return this.consumeInternal(t,e,r)},e.prototype.subrule=function(e,t,r){return this.subruleInternal(t,e,r)},e.prototype.option=function(e,t){return this.optionInternal(t,e)},e.prototype.or=function(e,t){return this.orInternal(t,e)},e.prototype.many=function(e,t){return this.manyInternal(e,t)},e.prototype.atLeastOne=function(e,t){return this.atLeastOneInternal(e,t)},e.prototype.CONSUME=function(e,t){return this.consumeInternal(e,0,t)},e.prototype.CONSUME1=function(e,t){return this.consumeInternal(e,1,t)},e.prototype.CONSUME2=function(e,t){return this.consumeInternal(e,2,t)},e.prototype.CONSUME3=function(e,t){return this.consumeInternal(e,3,t)},e.prototype.CONSUME4=function(e,t){return this.consumeInternal(e,4,t)},e.prototype.CONSUME5=function(e,t){return this.consumeInternal(e,5,t)},e.prototype.CONSUME6=function(e,t){return this.consumeInternal(e,6,t)},e.prototype.CONSUME7=function(e,t){return this.consumeInternal(e,7,t)},e.prototype.CONSUME8=function(e,t){return this.consumeInternal(e,8,t)},e.prototype.CONSUME9=function(e,t){return this.consumeInternal(e,9,t)},e.prototype.SUBRULE=function(e,t){return this.subruleInternal(e,0,t)},e.prototype.SUBRULE1=function(e,t){return this.subruleInternal(e,1,t)},e.prototype.SUBRULE2=function(e,t){return this.subruleInternal(e,2,t)},e.prototype.SUBRULE3=function(e,t){return this.subruleInternal(e,3,t)},e.prototype.SUBRULE4=function(e,t){return this.subruleInternal(e,4,t)},e.prototype.SUBRULE5=function(e,t){return this.subruleInternal(e,5,t)},e.prototype.SUBRULE6=function(e,t){return this.subruleInternal(e,6,t)},e.prototype.SUBRULE7=function(e,t){return this.subruleInternal(e,7,t)},e.prototype.SUBRULE8=function(e,t){return this.subruleInternal(e,8,t)},e.prototype.SUBRULE9=function(e,t){return this.subruleInternal(e,9,t)},e.prototype.OPTION=function(e){return this.optionInternal(e,0)},e.prototype.OPTION1=function(e){return this.optionInternal(e,1)},e.prototype.OPTION2=function(e){return this.optionInternal(e,2)},e.prototype.OPTION3=function(e){return this.optionInternal(e,3)},e.prototype.OPTION4=function(e){return this.optionInternal(e,4)},e.prototype.OPTION5=function(e){return this.optionInternal(e,5)},e.prototype.OPTION6=function(e){return this.optionInternal(e,6)},e.prototype.OPTION7=function(e){return this.optionInternal(e,7)},e.prototype.OPTION8=function(e){return this.optionInternal(e,8)},e.prototype.OPTION9=function(e){return this.optionInternal(e,9)},e.prototype.OR=function(e){return this.orInternal(e,0)},e.prototype.OR1=function(e){return this.orInternal(e,1)},e.prototype.OR2=function(e){return this.orInternal(e,2)},e.prototype.OR3=function(e){return this.orInternal(e,3)},e.prototype.OR4=function(e){return this.orInternal(e,4)},e.prototype.OR5=function(e){return this.orInternal(e,5)},e.prototype.OR6=function(e){return this.orInternal(e,6)},e.prototype.OR7=function(e){return this.orInternal(e,7)},e.prototype.OR8=function(e){return this.orInternal(e,8)},e.prototype.OR9=function(e){return this.orInternal(e,9)},e.prototype.MANY=function(e){this.manyInternal(0,e)},e.prototype.MANY1=function(e){this.manyInternal(1,e)},e.prototype.MANY2=function(e){this.manyInternal(2,e)},e.prototype.MANY3=function(e){this.manyInternal(3,e)},e.prototype.MANY4=function(e){this.manyInternal(4,e)},e.prototype.MANY5=function(e){this.manyInternal(5,e)},e.prototype.MANY6=function(e){this.manyInternal(6,e)},e.prototype.MANY7=function(e){this.manyInternal(7,e)},e.prototype.MANY8=function(e){this.manyInternal(8,e)},e.prototype.MANY9=function(e){this.manyInternal(9,e)},e.prototype.MANY_SEP=function(e){this.manySepFirstInternal(0,e)},e.prototype.MANY_SEP1=function(e){this.manySepFirstInternal(1,e)},e.prototype.MANY_SEP2=function(e){this.manySepFirstInternal(2,e)},e.prototype.MANY_SEP3=function(e){this.manySepFirstInternal(3,e)},e.prototype.MANY_SEP4=function(e){this.manySepFirstInternal(4,e)},e.prototype.MANY_SEP5=function(e){this.manySepFirstInternal(5,e)},e.prototype.MANY_SEP6=function(e){this.manySepFirstInternal(6,e)},e.prototype.MANY_SEP7=function(e){this.manySepFirstInternal(7,e)},e.prototype.MANY_SEP8=function(e){this.manySepFirstInternal(8,e)},e.prototype.MANY_SEP9=function(e){this.manySepFirstInternal(9,e)},e.prototype.AT_LEAST_ONE=function(e){this.atLeastOneInternal(0,e)},e.prototype.AT_LEAST_ONE1=function(e){return this.atLeastOneInternal(1,e)},e.prototype.AT_LEAST_ONE2=function(e){this.atLeastOneInternal(2,e)},e.prototype.AT_LEAST_ONE3=function(e){this.atLeastOneInternal(3,e)},e.prototype.AT_LEAST_ONE4=function(e){this.atLeastOneInternal(4,e)},e.prototype.AT_LEAST_ONE5=function(e){this.atLeastOneInternal(5,e)},e.prototype.AT_LEAST_ONE6=function(e){this.atLeastOneInternal(6,e)},e.prototype.AT_LEAST_ONE7=function(e){this.atLeastOneInternal(7,e)},e.prototype.AT_LEAST_ONE8=function(e){this.atLeastOneInternal(8,e)},e.prototype.AT_LEAST_ONE9=function(e){this.atLeastOneInternal(9,e)},e.prototype.AT_LEAST_ONE_SEP=function(e){this.atLeastOneSepFirstInternal(0,e)},e.prototype.AT_LEAST_ONE_SEP1=function(e){this.atLeastOneSepFirstInternal(1,e)},e.prototype.AT_LEAST_ONE_SEP2=function(e){this.atLeastOneSepFirstInternal(2,e)},e.prototype.AT_LEAST_ONE_SEP3=function(e){this.atLeastOneSepFirstInternal(3,e)},e.prototype.AT_LEAST_ONE_SEP4=function(e){this.atLeastOneSepFirstInternal(4,e)},e.prototype.AT_LEAST_ONE_SEP5=function(e){this.atLeastOneSepFirstInternal(5,e)},e.prototype.AT_LEAST_ONE_SEP6=function(e){this.atLeastOneSepFirstInternal(6,e)},e.prototype.AT_LEAST_ONE_SEP7=function(e){this.atLeastOneSepFirstInternal(7,e)},e.prototype.AT_LEAST_ONE_SEP8=function(e){this.atLeastOneSepFirstInternal(8,e)},e.prototype.AT_LEAST_ONE_SEP9=function(e){this.atLeastOneSepFirstInternal(9,e)},e.prototype.RULE=function(e,r,o){if(void 0===o&&(o=n.DEFAULT_RULE_CONFIG),t.contains(this.definedRulesNames,e)){var s={message:i.defaultGrammarValidatorErrorProvider.buildDuplicateRuleNameError({topLevelRule:e,grammarName:this.className}),type:n.ParserDefinitionErrorType.DUPLICATE_RULE_NAME,ruleName:e};this.definitionErrors.push(s)}this.definedRulesNames.push(e);var a=this.defineRule(e,r,o);return this[e]=a,a},e.prototype.OVERRIDE_RULE=function(e,t,r){void 0===r&&(r=n.DEFAULT_RULE_CONFIG);var i=[];i=i.concat(o.validateRuleIsOverridden(e,this.definedRulesNames,this.className)),this.definitionErrors=this.definitionErrors.concat(i);var s=this.defineRule(e,t,r);return this[e]=s,s},e.prototype.BACKTRACK=function(e,t){return function(){this.isBackTrackingStack.push(1);var n=this.saveRecogState();try{return e.apply(this,t),!0}catch(e){if(r.isRecognitionException(e))return!1;throw e}finally{this.reloadRecogState(n),this.isBackTrackingStack.pop()}}},e.prototype.getGAstProductions=function(){return this.gastProductionsCache},e.prototype.getSerializedGastProductions=function(){return s.serializeGrammar(t.values(this.gastProductionsCache))},e}();e.RecognizerApi=a}),SA=Hw(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.RecognizerEngine=void 0;var t=jw(),r=_A(),n=pA(),i=uA(),o=cA(),s=MA(),a=mA(),l=Zw(),c=Yw(),u=vA(),d=function(){function e(){}return e.prototype.initRecognizerEngine=function(e,r){if(this.className=u.classNameFromInstance(this),this.shortRuleNameToFull={},this.fullRuleNameToShort={},this.ruleShortNameIdx=256,this.tokenMatcher=c.tokenStructuredMatcherNoCategories,this.definedRulesNames=[],this.tokensMap={},this.isBackTrackingStack=[],this.RULE_STACK=[],this.RULE_OCCURRENCE_STACK=[],this.gastProductionsCache={},t.has(r,"serializedGrammar"))throw Error("The Parser's configuration can no longer contain a <serializedGrammar> property.\n\tSee: https://chevrotain.io/docs/changes/BREAKING_CHANGES.html#_6-0-0\n\tFor Further details.");if(t.isArray(e)){if(t.isEmpty(e))throw Error("A Token Vocabulary cannot be empty.\n\tNote that the first argument for the parser constructor\n\tis no longer a Token vector (since v4.0).");if("number"==typeof e[0].startOffset)throw Error("The Parser constructor no longer accepts a token vector as the first argument.\n\tSee: https://chevrotain.io/docs/changes/BREAKING_CHANGES.html#_4-0-0\n\tFor Further details.")}if(t.isArray(e))this.tokensMap=t.reduce(e,function(e,t){return e[t.name]=t,e},{});else if(t.has(e,"modes")&&t.every(t.flatten(t.values(e.modes)),c.isTokenType)){var n=t.flatten(t.values(e.modes)),i=t.uniq(n);this.tokensMap=t.reduce(i,function(e,t){return e[t.name]=t,e},{})}else{if(!t.isObject(e))throw new Error("<tokensDictionary> argument must be An Array of Token constructors, A dictionary of Token constructors or an IMultiModeLexerDefinition");this.tokensMap=t.cloneObj(e)}this.tokensMap.EOF=l.EOF;var o=t.every(t.values(e),function(e){return t.isEmpty(e.categoryMatches)});this.tokenMatcher=o?c.tokenStructuredMatcherNoCategories:c.tokenStructuredMatcher,c.augmentTokenTypes(t.values(this.tokensMap))},e.prototype.defineRule=function(e,n,i){if(this.selfAnalysisDone)throw Error("Grammar rule <"+e+"> may not be defined after the 'performSelfAnalysis' method has been called'\nMake sure that all grammar rule definitions are done before 'performSelfAnalysis' is called.");var o=t.has(i,"resyncEnabled")?i.resyncEnabled:s.DEFAULT_RULE_CONFIG.resyncEnabled,a=t.has(i,"recoveryValueFunc")?i.recoveryValueFunc:s.DEFAULT_RULE_CONFIG.recoveryValueFunc,l=this.ruleShortNameIdx<<r.BITS_FOR_METHOD_TYPE+r.BITS_FOR_OCCURRENCE_IDX;function c(e){try{if(!0===this.outputCst){n.apply(this,e);var t=this.CST_STACK[this.CST_STACK.length-1];return this.cstPostRule(t),t}return n.apply(this,e)}catch(e){return this.invokeRuleCatch(e,o,a)}finally{this.ruleFinallyStateUpdate()}}this.ruleShortNameIdx++,this.shortRuleNameToFull[l]=e,this.fullRuleNameToShort[e]=l;var u=function(t,r){return void 0===t&&(t=0),this.ruleInvocationStateUpdate(l,e,t),c.call(this,r)};return u.ruleName=e,u.originalGrammarAction=n,u},e.prototype.invokeRuleCatch=function(e,t,r){var i=1===this.RULE_STACK.length,o=t&&!this.isBackTracking()&&this.recoveryEnabled;if(n.isRecognitionException(e)){var s=e;if(o){var a,l=this.findReSyncTokenType();if(this.isInCurrentRuleReSyncSet(l))return s.resyncedTokens=this.reSyncTo(l),this.outputCst?((a=this.CST_STACK[this.CST_STACK.length-1]).recoveredNode=!0,a):r();throw this.outputCst&&((a=this.CST_STACK[this.CST_STACK.length-1]).recoveredNode=!0,s.partialCstResult=a),s}if(i)return this.moveToTerminatedState(),r();throw s}throw e},e.prototype.optionInternal=function(e,t){var n=this.getKeyForAutomaticLookahead(r.OPTION_IDX,t);return this.optionInternalLogic(e,t,n)},e.prototype.optionInternalLogic=function(e,t,r){var n,i,o=this,s=this.getLaFuncFromCache(r);if(void 0!==e.DEF){if(n=e.DEF,void 0!==(i=e.GATE)){var a=s;s=function(){return i.call(o)&&a.call(o)}}}else n=e;if(!0===s.call(this))return n.call(this)},e.prototype.atLeastOneInternal=function(e,t){var n=this.getKeyForAutomaticLookahead(r.AT_LEAST_ONE_IDX,e);return this.atLeastOneInternalLogic(e,t,n)},e.prototype.atLeastOneInternalLogic=function(e,t,n){var s,a,l=this,c=this.getLaFuncFromCache(n);if(void 0!==t.DEF){if(s=t.DEF,void 0!==(a=t.GATE)){var u=c;c=function(){return a.call(l)&&u.call(l)}}}else s=t;if(!0!==c.call(this))throw this.raiseEarlyExitException(e,i.PROD_TYPE.REPETITION_MANDATORY,t.ERR_MSG);for(var d=this.doSingleRepetition(s);!0===c.call(this)&&!0===d;)d=this.doSingleRepetition(s);this.attemptInRepetitionRecovery(this.atLeastOneInternal,[e,t],c,r.AT_LEAST_ONE_IDX,e,o.NextTerminalAfterAtLeastOneWalker)},e.prototype.atLeastOneSepFirstInternal=function(e,t){var n=this.getKeyForAutomaticLookahead(r.AT_LEAST_ONE_SEP_IDX,e);this.atLeastOneSepFirstInternalLogic(e,t,n)},e.prototype.atLeastOneSepFirstInternalLogic=function(e,t,n){var s=this,a=t.DEF,l=t.SEP;if(!0!==this.getLaFuncFromCache(n).call(this))throw this.raiseEarlyExitException(e,i.PROD_TYPE.REPETITION_MANDATORY_WITH_SEPARATOR,t.ERR_MSG);a.call(this);for(var c=function(){return s.tokenMatcher(s.LA(1),l)};!0===this.tokenMatcher(this.LA(1),l);)this.CONSUME(l),a.call(this);this.attemptInRepetitionRecovery(this.repetitionSepSecondInternal,[e,l,c,a,o.NextTerminalAfterAtLeastOneSepWalker],c,r.AT_LEAST_ONE_SEP_IDX,e,o.NextTerminalAfterAtLeastOneSepWalker)},e.prototype.manyInternal=function(e,t){var n=this.getKeyForAutomaticLookahead(r.MANY_IDX,e);return this.manyInternalLogic(e,t,n)},e.prototype.manyInternalLogic=function(e,t,n){var i,s,a=this,l=this.getLaFuncFromCache(n);if(void 0!==t.DEF){if(i=t.DEF,void 0!==(s=t.GATE)){var c=l;l=function(){return s.call(a)&&c.call(a)}}}else i=t;for(var u=!0;!0===l.call(this)&&!0===u;)u=this.doSingleRepetition(i);this.attemptInRepetitionRecovery(this.manyInternal,[e,t],l,r.MANY_IDX,e,o.NextTerminalAfterManyWalker,u)},e.prototype.manySepFirstInternal=function(e,t){var n=this.getKeyForAutomaticLookahead(r.MANY_SEP_IDX,e);this.manySepFirstInternalLogic(e,t,n)},e.prototype.manySepFirstInternalLogic=function(e,t,n){var i=this,s=t.DEF,a=t.SEP;if(!0===this.getLaFuncFromCache(n).call(this)){s.call(this);for(var l=function(){return i.tokenMatcher(i.LA(1),a)};!0===this.tokenMatcher(this.LA(1),a);)this.CONSUME(a),s.call(this);this.attemptInRepetitionRecovery(this.repetitionSepSecondInternal,[e,a,l,s,o.NextTerminalAfterManySepWalker],l,r.MANY_SEP_IDX,e,o.NextTerminalAfterManySepWalker)}},e.prototype.repetitionSepSecondInternal=function(e,t,n,i,o){for(;n();)this.CONSUME(t),i.call(this);this.attemptInRepetitionRecovery(this.repetitionSepSecondInternal,[e,t,n,i,o],n,r.AT_LEAST_ONE_SEP_IDX,e,o)},e.prototype.doSingleRepetition=function(e){var t=this.getLexerPosition();return e.call(this),this.getLexerPosition()>t},e.prototype.orInternal=function(e,n){var i=this.getKeyForAutomaticLookahead(r.OR_IDX,n),o=t.isArray(e)?e:e.DEF,s=this.getLaFuncFromCache(i).call(this,o);if(void 0!==s)return o[s].ALT.call(this);this.raiseNoAltException(n,e.ERR_MSG)},e.prototype.ruleFinallyStateUpdate=function(){if(this.RULE_STACK.pop(),this.RULE_OCCURRENCE_STACK.pop(),this.cstFinallyStateUpdate(),0===this.RULE_STACK.length&&!1===this.isAtEndOfInput()){var e=this.LA(1),t=this.errorMessageProvider.buildNotAllInputParsedMessage({firstRedundant:e,ruleName:this.getCurrRuleFullName()});this.SAVE_ERROR(new n.NotAllInputParsedException(t,e))}},e.prototype.subruleInternal=function(e,t,r){var n;try{var i=void 0!==r?r.ARGS:void 0;return n=e.call(this,t,i),this.cstPostNonTerminal(n,void 0!==r&&void 0!==r.LABEL?r.LABEL:e.ruleName),n}catch(t){this.subruleInternalError(t,r,e.ruleName)}},e.prototype.subruleInternalError=function(e,t,r){throw n.isRecognitionException(e)&&void 0!==e.partialCstResult&&(this.cstPostNonTerminal(e.partialCstResult,void 0!==t&&void 0!==t.LABEL?t.LABEL:r),delete e.partialCstResult),e},e.prototype.consumeInternal=function(e,t,r){var n;try{var i=this.LA(1);!0===this.tokenMatcher(i,e)?(this.consumeToken(),n=i):this.consumeInternalError(e,i,r)}catch(r){n=this.consumeInternalRecovery(e,t,r)}return this.cstPostTerminal(void 0!==r&&void 0!==r.LABEL?r.LABEL:e.name,n),n},e.prototype.consumeInternalError=function(e,t,r){var i,o=this.LA(0);throw i=void 0!==r&&r.ERR_MSG?r.ERR_MSG:this.errorMessageProvider.buildMismatchTokenMessage({expected:e,actual:t,previous:o,ruleName:this.getCurrRuleFullName()}),this.SAVE_ERROR(new n.MismatchedTokenException(i,t,o))},e.prototype.consumeInternalRecovery=function(e,t,r){if(!this.recoveryEnabled||"MismatchedTokenException"!==r.name||this.isBackTracking())throw r;var n=this.getFollowsForInRuleRecovery(e,t);try{return this.tryInRuleRecovery(e,n)}catch(e){throw e.name===a.IN_RULE_RECOVERY_EXCEPTION?r:e}},e.prototype.saveRecogState=function(){var e=this.errors,r=t.cloneArr(this.RULE_STACK);return{errors:e,lexerState:this.exportLexerState(),RULE_STACK:r,CST_STACK:this.CST_STACK}},e.prototype.reloadRecogState=function(e){this.errors=e.errors,this.importLexerState(e.lexerState),this.RULE_STACK=e.RULE_STACK},e.prototype.ruleInvocationStateUpdate=function(e,t,r){this.RULE_OCCURRENCE_STACK.push(r),this.RULE_STACK.push(e),this.cstInvocationStateUpdate(t,e)},e.prototype.isBackTracking=function(){return 0!==this.isBackTrackingStack.length},e.prototype.getCurrRuleFullName=function(){var e=this.getLastExplicitRuleShortName();return this.shortRuleNameToFull[e]},e.prototype.shortRuleNameToFullName=function(e){return this.shortRuleNameToFull[e]},e.prototype.isAtEndOfInput=function(){return this.tokenMatcher(this.LA(1),l.EOF)},e.prototype.reset=function(){this.resetLexerState(),this.isBackTrackingStack=[],this.errors=[],this.RULE_STACK=[],this.CST_STACK=[],this.RULE_OCCURRENCE_STACK=[]},e}();e.RecognizerEngine=d}),wA=Hw(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.ErrorHandler=void 0;var t=pA(),r=jw(),n=uA(),i=MA(),o=function(){function e(){}return e.prototype.initErrorHandler=function(e){this._errors=[],this.errorMessageProvider=r.has(e,"errorMessageProvider")?e.errorMessageProvider:i.DEFAULT_PARSER_CONFIG.errorMessageProvider},e.prototype.SAVE_ERROR=function(e){if(t.isRecognitionException(e))return e.context={ruleStack:this.getHumanReadableRuleStack(),ruleOccurrenceStack:r.cloneArr(this.RULE_OCCURRENCE_STACK)},this._errors.push(e),e;throw Error("Trying to save an Error which is not a RecognitionException")},Object.defineProperty(e.prototype,"errors",{get:function(){return r.cloneArr(this._errors)},set:function(e){this._errors=e},enumerable:!1,configurable:!0}),e.prototype.raiseEarlyExitException=function(e,r,i){for(var o=this.getCurrRuleFullName(),s=this.getGAstProductions()[o],a=n.getLookaheadPathsForOptionalProd(e,s,r,this.maxLookahead)[0],l=[],c=1;c<=this.maxLookahead;c++)l.push(this.LA(c));var u=this.errorMessageProvider.buildEarlyExitMessage({expectedIterationPaths:a,actual:l,previous:this.LA(0),customUserDescription:i,ruleName:o});throw this.SAVE_ERROR(new t.EarlyExitException(u,this.LA(1),this.LA(0)))},e.prototype.raiseNoAltException=function(e,r){for(var i=this.getCurrRuleFullName(),o=this.getGAstProductions()[i],s=n.getLookaheadPathsForOr(e,o,this.maxLookahead),a=[],l=1;l<=this.maxLookahead;l++)a.push(this.LA(l));var c=this.LA(0),u=this.errorMessageProvider.buildNoViableAltMessage({expectedPathsPerAlt:s,actual:a,previous:c,customUserDescription:r,ruleName:this.getCurrRuleFullName()});throw this.SAVE_ERROR(new t.NoViableAltException(u,this.LA(1),c))},e}();e.ErrorHandler=o}),AA=Hw(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.ContentAssist=void 0;var t=cA(),r=jw(),n=function(){function e(){}return e.prototype.initContentAssist=function(){},e.prototype.computeContentAssist=function(e,n){var i=this.gastProductionsCache[e];if(r.isUndefined(i))throw Error("Rule ->"+e+"<- does not exist in this grammar.");return t.nextPossibleTokensAfter([i],n,this.tokenMatcher,this.maxLookahead)},e.prototype.getNextPossibleTokenTypes=function(e){var n=r.first(e.ruleStack),i=this.getGAstProductions()[n];return new t.NextAfterTokenWalker(i,e).startWalking()},e}();e.ContentAssist=n}),CA=Hw(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.GastRecorder=void 0;var t=jw(),r=eA(),n=Kw(),i=Yw(),o=Zw(),s=MA(),a=_A(),l={description:"This Object indicates the Parser is during Recording Phase"};Object.freeze(l);var c=!0,u=Math.pow(2,a.BITS_FOR_OCCURRENCE_IDX)-1,d=o.createToken({name:"RECORDING_PHASE_TOKEN",pattern:n.Lexer.NA});i.augmentTokenTypes([d]);var h=o.createTokenInstance(d,"This IToken indicates the Parser is in Recording Phase\n\tSee: https://chevrotain.io/docs/guide/internals.html#grammar-recording for details",-1,-1,-1,-1,-1,-1);Object.freeze(h);var p={name:"This CSTNode indicates the Parser is in Recording Phase\n\tSee: https://chevrotain.io/docs/guide/internals.html#grammar-recording for details",children:{}},m=function(){function e(){}return e.prototype.initGastRecorder=function(e){this.recordingProdStack=[],this.RECORDING_PHASE=!1},e.prototype.enableRecording=function(){var e=this;this.RECORDING_PHASE=!0,this.TRACE_INIT("Enable Recording",function(){for(var t=function(t){var r=t>0?t:"";e["CONSUME"+r]=function(e,r){return this.consumeInternalRecord(e,t,r)},e["SUBRULE"+r]=function(e,r){return this.subruleInternalRecord(e,t,r)},e["OPTION"+r]=function(e){return this.optionInternalRecord(e,t)},e["OR"+r]=function(e){return this.orInternalRecord(e,t)},e["MANY"+r]=function(e){this.manyInternalRecord(t,e)},e["MANY_SEP"+r]=function(e){this.manySepFirstInternalRecord(t,e)},e["AT_LEAST_ONE"+r]=function(e){this.atLeastOneInternalRecord(t,e)},e["AT_LEAST_ONE_SEP"+r]=function(e){this.atLeastOneSepFirstInternalRecord(t,e)}},r=0;r<10;r++)t(r);e.consume=function(e,t,r){return this.consumeInternalRecord(t,e,r)},e.subrule=function(e,t,r){return this.subruleInternalRecord(t,e,r)},e.option=function(e,t){return this.optionInternalRecord(t,e)},e.or=function(e,t){return this.orInternalRecord(t,e)},e.many=function(e,t){this.manyInternalRecord(e,t)},e.atLeastOne=function(e,t){this.atLeastOneInternalRecord(e,t)},e.ACTION=e.ACTION_RECORD,e.BACKTRACK=e.BACKTRACK_RECORD,e.LA=e.LA_RECORD})},e.prototype.disableRecording=function(){var e=this;this.RECORDING_PHASE=!1,this.TRACE_INIT("Deleting Recording methods",function(){for(var t=0;t<10;t++){var r=t>0?t:"";delete e["CONSUME"+r],delete e["SUBRULE"+r],delete e["OPTION"+r],delete e["OR"+r],delete e["MANY"+r],delete e["MANY_SEP"+r],delete e["AT_LEAST_ONE"+r],delete e["AT_LEAST_ONE_SEP"+r]}delete e.consume,delete e.subrule,delete e.option,delete e.or,delete e.many,delete e.atLeastOne,delete e.ACTION,delete e.BACKTRACK,delete e.LA})},e.prototype.ACTION_RECORD=function(e){},e.prototype.BACKTRACK_RECORD=function(e,t){return function(){return!0}},e.prototype.LA_RECORD=function(e){return s.END_OF_FILE},e.prototype.topLevelRuleRecord=function(e,t){try{var n=new r.Rule({definition:[],name:e});return n.name=e,this.recordingProdStack.push(n),t.call(this),this.recordingProdStack.pop(),n}catch(e){if(!0!==e.KNOWN_RECORDER_ERROR)try{e.message=e.message+'\n\t This error was thrown during the "grammar recording phase" For more info see:\n\thttps://chevrotain.io/docs/guide/internals.html#grammar-recording'}catch(t){throw e}throw e}},e.prototype.optionInternalRecord=function(e,t){return _.call(this,r.Option,e,t)},e.prototype.atLeastOneInternalRecord=function(e,t){_.call(this,r.RepetitionMandatory,t,e)},e.prototype.atLeastOneSepFirstInternalRecord=function(e,t){_.call(this,r.RepetitionMandatoryWithSeparator,t,e,c)},e.prototype.manyInternalRecord=function(e,t){_.call(this,r.Repetition,t,e)},e.prototype.manySepFirstInternalRecord=function(e,t){_.call(this,r.RepetitionWithSeparator,t,e,c)},e.prototype.orInternalRecord=function(e,t){return g.call(this,e,t)},e.prototype.subruleInternalRecord=function(e,n,i){if(v(n),!e||!1===t.has(e,"ruleName")){var o=new Error("<SUBRULE"+f(n)+"> argument is invalid expecting a Parser method reference but got: <"+JSON.stringify(e)+">\n inside top level rule: <"+this.recordingProdStack[0].name+">");throw o.KNOWN_RECORDER_ERROR=!0,o}var s=t.peek(this.recordingProdStack),a=e.ruleName,c=new r.NonTerminal({idx:n,nonTerminalName:a,referencedRule:void 0});return s.definition.push(c),this.outputCst?p:l},e.prototype.consumeInternalRecord=function(e,n,o){if(v(n),!i.hasShortKeyProperty(e)){var s=new Error("<CONSUME"+f(n)+"> argument is invalid expecting a TokenType reference but got: <"+JSON.stringify(e)+">\n inside top level rule: <"+this.recordingProdStack[0].name+">");throw s.KNOWN_RECORDER_ERROR=!0,s}var a=t.peek(this.recordingProdStack),l=new r.Terminal({idx:n,terminalType:e});return a.definition.push(l),h},e}();function _(e,r,n,i){void 0===i&&(i=!1),v(n);var o=t.peek(this.recordingProdStack),s=t.isFunction(r)?r:r.DEF,a=new e({definition:[],idx:n});return i&&(a.separator=r.SEP),t.has(r,"MAX_LOOKAHEAD")&&(a.maxLookahead=r.MAX_LOOKAHEAD),this.recordingProdStack.push(a),s.call(this),o.definition.push(a),this.recordingProdStack.pop(),l}function g(e,n){var i=this;v(n);var o=t.peek(this.recordingProdStack),s=!1===t.isArray(e),a=!1===s?e:e.DEF,c=new r.Alternation({definition:[],idx:n,ignoreAmbiguities:s&&!0===e.IGNORE_AMBIGUITIES});t.has(e,"MAX_LOOKAHEAD")&&(c.maxLookahead=e.MAX_LOOKAHEAD);var u=t.some(a,function(e){return t.isFunction(e.GATE)});return c.hasPredicates=u,o.definition.push(c),t.forEach(a,function(e){var n=new r.Alternative({definition:[]});c.definition.push(n),t.has(e,"IGNORE_AMBIGUITIES")?n.ignoreAmbiguities=e.IGNORE_AMBIGUITIES:t.has(e,"GATE")&&(n.ignoreAmbiguities=!0),i.recordingProdStack.push(n),e.ALT.call(i),i.recordingProdStack.pop()}),l}function f(e){return 0===e?"":""+e}function v(e){if(e<0||e>u){var t=new Error("Invalid DSL Method idx value: <"+e+">\n\tIdx value must be a none negative value smaller than "+(u+1));throw t.KNOWN_RECORDER_ERROR=!0,t}}e.GastRecorder=m}),EA=Hw(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.PerformanceTracer=void 0;var t=jw(),r=MA(),n=function(){function e(){}return e.prototype.initPerformanceTracer=function(e){if(t.has(e,"traceInitPerf")){var n=e.traceInitPerf,i="number"==typeof n;this.traceInitMaxIdent=i?n:1/0,this.traceInitPerf=i?n>0:n}else this.traceInitMaxIdent=0,this.traceInitPerf=r.DEFAULT_PARSER_CONFIG.traceInitPerf;this.traceInitIndent=-1},e.prototype.TRACE_INIT=function(e,r){if(!0===this.traceInitPerf){this.traceInitIndent++;var n=new Array(this.traceInitIndent+1).join("\t");this.traceInitIndent<this.traceInitMaxIdent&&console.log(n+"--\x3e <"+e+">");var i=t.timer(r),o=i.time,s=i.value,a=o>10?console.warn:console.log;return this.traceInitIndent<this.traceInitMaxIdent&&a(n+"<-- <"+e+"> time: "+o+"ms"),this.traceInitIndent--,s}return r()},e}();e.PerformanceTracer=n}),IA=Hw(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.applyMixins=void 0,e.applyMixins=function(e,t){t.forEach(function(t){var r=t.prototype;Object.getOwnPropertyNames(r).forEach(function(n){if("constructor"!==n){var i=Object.getOwnPropertyDescriptor(r,n);i&&(i.get||i.set)?Object.defineProperty(e.prototype,n,i):e.prototype[n]=t.prototype[n]}})})}}),MA=Hw(e=>{var t=e&&e.__extends||function(){var e=function(t,r){return e=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var r in t)Object.prototype.hasOwnProperty.call(t,r)&&(e[r]=t[r])},e(t,r)};return function(t,r){if("function"!=typeof r&&null!==r)throw new TypeError("Class extends value "+String(r)+" is not a constructor or null");function n(){this.constructor=t}e(t,r),t.prototype=null===r?Object.create(r):(n.prototype=r.prototype,new n)}}();Object.defineProperty(e,"__esModule",{value:!0}),e.EmbeddedActionsParser=e.CstParser=e.Parser=e.EMPTY_ALT=e.ParserDefinitionErrorType=e.DEFAULT_RULE_CONFIG=e.DEFAULT_PARSER_CONFIG=e.END_OF_FILE=void 0;var r=jw(),n=sA(),i=Zw(),o=aA(),s=hA(),a=mA(),l=gA(),c=yA(),u=$A(),d=xA(),h=SA(),p=wA(),m=AA(),_=CA(),g=EA(),f=IA();e.END_OF_FILE=i.createTokenInstance(i.EOF,"",NaN,NaN,NaN,NaN,NaN,NaN),Object.freeze(e.END_OF_FILE),e.DEFAULT_PARSER_CONFIG=Object.freeze({recoveryEnabled:!1,maxLookahead:3,dynamicTokensEnabled:!1,outputCst:!0,errorMessageProvider:o.defaultParserErrorProvider,nodeLocationTracking:"none",traceInitPerf:!1,skipValidations:!1}),e.DEFAULT_RULE_CONFIG=Object.freeze({recoveryValueFunc:function(){},resyncEnabled:!0}),function(e){e[e.INVALID_RULE_NAME=0]="INVALID_RULE_NAME",e[e.DUPLICATE_RULE_NAME=1]="DUPLICATE_RULE_NAME",e[e.INVALID_RULE_OVERRIDE=2]="INVALID_RULE_OVERRIDE",e[e.DUPLICATE_PRODUCTIONS=3]="DUPLICATE_PRODUCTIONS",e[e.UNRESOLVED_SUBRULE_REF=4]="UNRESOLVED_SUBRULE_REF",e[e.LEFT_RECURSION=5]="LEFT_RECURSION",e[e.NONE_LAST_EMPTY_ALT=6]="NONE_LAST_EMPTY_ALT",e[e.AMBIGUOUS_ALTS=7]="AMBIGUOUS_ALTS",e[e.CONFLICT_TOKENS_RULES_NAMESPACE=8]="CONFLICT_TOKENS_RULES_NAMESPACE",e[e.INVALID_TOKEN_NAME=9]="INVALID_TOKEN_NAME",e[e.NO_NON_EMPTY_LOOKAHEAD=10]="NO_NON_EMPTY_LOOKAHEAD",e[e.AMBIGUOUS_PREFIX_ALTS=11]="AMBIGUOUS_PREFIX_ALTS",e[e.TOO_MANY_ALTS=12]="TOO_MANY_ALTS"}(e.ParserDefinitionErrorType||(e.ParserDefinitionErrorType={})),e.EMPTY_ALT=function(e){return void 0===e&&(e=void 0),function(){return e}};var v=function(){function t(t,n){this.definitionErrors=[],this.selfAnalysisDone=!1;var i=this;if(i.initErrorHandler(n),i.initLexerAdapter(),i.initLooksAhead(n),i.initRecognizerEngine(t,n),i.initRecoverable(n),i.initTreeBuilder(n),i.initContentAssist(),i.initGastRecorder(n),i.initPerformanceTracer(n),r.has(n,"ignoredIssues"))throw new Error("The <ignoredIssues> IParserConfig property has been deprecated.\n\tPlease use the <IGNORE_AMBIGUITIES> flag on the relevant DSL method instead.\n\tSee: https://chevrotain.io/docs/guide/resolving_grammar_errors.html#IGNORING_AMBIGUITIES\n\tFor further details.");this.skipValidations=r.has(n,"skipValidations")?n.skipValidations:e.DEFAULT_PARSER_CONFIG.skipValidations}return t.performSelfAnalysis=function(e){throw Error("The **static** `performSelfAnalysis` method has been deprecated.\t\nUse the **instance** method with the same name instead.")},t.prototype.performSelfAnalysis=function(){var e=this;this.TRACE_INIT("performSelfAnalysis",function(){var i;e.selfAnalysisDone=!0;var a=e.className;e.TRACE_INIT("toFastProps",function(){r.toFastProperties(e)}),e.TRACE_INIT("Grammar Recording",function(){try{e.enableRecording(),r.forEach(e.definedRulesNames,function(t){var r=e[t].originalGrammarAction,n=void 0;e.TRACE_INIT(t+" Rule",function(){n=e.topLevelRuleRecord(t,r)}),e.gastProductionsCache[t]=n})}finally{e.disableRecording()}});var l=[];if(e.TRACE_INIT("Grammar Resolving",function(){l=s.resolveGrammar({rules:r.values(e.gastProductionsCache)}),e.definitionErrors=e.definitionErrors.concat(l)}),e.TRACE_INIT("Grammar Validations",function(){if(r.isEmpty(l)&&!1===e.skipValidations){var t=s.validateGrammar({rules:r.values(e.gastProductionsCache),maxLookahead:e.maxLookahead,tokenTypes:r.values(e.tokensMap),errMsgProvider:o.defaultGrammarValidatorErrorProvider,grammarName:a});e.definitionErrors=e.definitionErrors.concat(t)}}),r.isEmpty(e.definitionErrors)&&(e.recoveryEnabled&&e.TRACE_INIT("computeAllProdsFollows",function(){var t=n.computeAllProdsFollows(r.values(e.gastProductionsCache));e.resyncFollows=t}),e.TRACE_INIT("ComputeLookaheadFunctions",function(){e.preComputeLookaheadFunctions(r.values(e.gastProductionsCache))})),!t.DEFER_DEFINITION_ERRORS_HANDLING&&!r.isEmpty(e.definitionErrors))throw i=r.map(e.definitionErrors,function(e){return e.message}),new Error("Parser Definition Errors detected:\n "+i.join("\n-------------------------------\n"))})},t.DEFER_DEFINITION_ERRORS_HANDLING=!1,t}();e.Parser=v,f.applyMixins(v,[a.Recoverable,l.LooksAhead,c.TreeBuilder,u.LexerAdapter,h.RecognizerEngine,d.RecognizerApi,p.ErrorHandler,m.ContentAssist,_.GastRecorder,g.PerformanceTracer]);var b=function(n){function i(t,i){void 0===i&&(i=e.DEFAULT_PARSER_CONFIG);var o=r.cloneObj(i);return o.outputCst=!0,n.call(this,t,o)||this}return t(i,n),i}(v);e.CstParser=b;var y=function(n){function i(t,i){void 0===i&&(i=e.DEFAULT_PARSER_CONFIG);var o=r.cloneObj(i);return o.outputCst=!1,n.call(this,t,o)||this}return t(i,n),i}(v);e.EmbeddedActionsParser=y}),kA=Hw(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.createSyntaxDiagramsCode=void 0;var t=Gw();e.createSyntaxDiagramsCode=function(e,r){var n=void 0===r?{}:r,i=n.resourceBase,o=void 0===i?"https://unpkg.com/chevrotain@"+t.VERSION+"/diagrams/":i,s=n.css;return'\n\x3c!-- This is a generated file --\x3e\n<!DOCTYPE html>\n<meta charset="utf-8">\n<style>\n  body {\n    background-color: hsl(30, 20%, 95%)\n  }\n</style>\n\n'+("\n<link rel='stylesheet' href='"+(void 0===s?"https://unpkg.com/chevrotain@"+t.VERSION+"/diagrams/diagrams.css":s)+"'>\n")+("\n<script src='"+o+"vendor/railroad-diagrams.js'><\/script>\n<script src='"+o+"src/diagrams_builder.js'><\/script>\n<script src='"+o+"src/diagrams_behavior.js'><\/script>\n<script src='"+o+"src/main.js'><\/script>\n")+'\n<div id="diagrams" align="center"></div>\n'+("\n<script>\n    window.serializedGrammar = "+JSON.stringify(e,null,"  ")+";\n<\/script>\n")+'\n<script>\n    var diagramsDiv = document.getElementById("diagrams");\n    main.drawDiagramsFromSerializedGrammar(serializedGrammar, diagramsDiv);\n<\/script>\n'}}),TA=Hw(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.Parser=e.createSyntaxDiagramsCode=e.clearCache=e.GAstVisitor=e.serializeProduction=e.serializeGrammar=e.Terminal=e.Rule=e.RepetitionWithSeparator=e.RepetitionMandatoryWithSeparator=e.RepetitionMandatory=e.Repetition=e.Option=e.NonTerminal=e.Alternative=e.Alternation=e.defaultLexerErrorProvider=e.NoViableAltException=e.NotAllInputParsedException=e.MismatchedTokenException=e.isRecognitionException=e.EarlyExitException=e.defaultParserErrorProvider=e.tokenName=e.tokenMatcher=e.tokenLabel=e.EOF=e.createTokenInstance=e.createToken=e.LexerDefinitionErrorType=e.Lexer=e.EMPTY_ALT=e.ParserDefinitionErrorType=e.EmbeddedActionsParser=e.CstParser=e.VERSION=void 0;var t=Gw();Object.defineProperty(e,"VERSION",{enumerable:!0,get:function(){return t.VERSION}});var r=MA();Object.defineProperty(e,"CstParser",{enumerable:!0,get:function(){return r.CstParser}}),Object.defineProperty(e,"EmbeddedActionsParser",{enumerable:!0,get:function(){return r.EmbeddedActionsParser}}),Object.defineProperty(e,"ParserDefinitionErrorType",{enumerable:!0,get:function(){return r.ParserDefinitionErrorType}}),Object.defineProperty(e,"EMPTY_ALT",{enumerable:!0,get:function(){return r.EMPTY_ALT}});var n=Kw();Object.defineProperty(e,"Lexer",{enumerable:!0,get:function(){return n.Lexer}}),Object.defineProperty(e,"LexerDefinitionErrorType",{enumerable:!0,get:function(){return n.LexerDefinitionErrorType}});var i=Zw();Object.defineProperty(e,"createToken",{enumerable:!0,get:function(){return i.createToken}}),Object.defineProperty(e,"createTokenInstance",{enumerable:!0,get:function(){return i.createTokenInstance}}),Object.defineProperty(e,"EOF",{enumerable:!0,get:function(){return i.EOF}}),Object.defineProperty(e,"tokenLabel",{enumerable:!0,get:function(){return i.tokenLabel}}),Object.defineProperty(e,"tokenMatcher",{enumerable:!0,get:function(){return i.tokenMatcher}}),Object.defineProperty(e,"tokenName",{enumerable:!0,get:function(){return i.tokenName}});var o=aA();Object.defineProperty(e,"defaultParserErrorProvider",{enumerable:!0,get:function(){return o.defaultParserErrorProvider}});var s=pA();Object.defineProperty(e,"EarlyExitException",{enumerable:!0,get:function(){return s.EarlyExitException}}),Object.defineProperty(e,"isRecognitionException",{enumerable:!0,get:function(){return s.isRecognitionException}}),Object.defineProperty(e,"MismatchedTokenException",{enumerable:!0,get:function(){return s.MismatchedTokenException}}),Object.defineProperty(e,"NotAllInputParsedException",{enumerable:!0,get:function(){return s.NotAllInputParsedException}}),Object.defineProperty(e,"NoViableAltException",{enumerable:!0,get:function(){return s.NoViableAltException}});var a=Xw();Object.defineProperty(e,"defaultLexerErrorProvider",{enumerable:!0,get:function(){return a.defaultLexerErrorProvider}});var l=eA();Object.defineProperty(e,"Alternation",{enumerable:!0,get:function(){return l.Alternation}}),Object.defineProperty(e,"Alternative",{enumerable:!0,get:function(){return l.Alternative}}),Object.defineProperty(e,"NonTerminal",{enumerable:!0,get:function(){return l.NonTerminal}}),Object.defineProperty(e,"Option",{enumerable:!0,get:function(){return l.Option}}),Object.defineProperty(e,"Repetition",{enumerable:!0,get:function(){return l.Repetition}}),Object.defineProperty(e,"RepetitionMandatory",{enumerable:!0,get:function(){return l.RepetitionMandatory}}),Object.defineProperty(e,"RepetitionMandatoryWithSeparator",{enumerable:!0,get:function(){return l.RepetitionMandatoryWithSeparator}}),Object.defineProperty(e,"RepetitionWithSeparator",{enumerable:!0,get:function(){return l.RepetitionWithSeparator}}),Object.defineProperty(e,"Rule",{enumerable:!0,get:function(){return l.Rule}}),Object.defineProperty(e,"Terminal",{enumerable:!0,get:function(){return l.Terminal}});var c=eA();Object.defineProperty(e,"serializeGrammar",{enumerable:!0,get:function(){return c.serializeGrammar}}),Object.defineProperty(e,"serializeProduction",{enumerable:!0,get:function(){return c.serializeProduction}});var u=rA();Object.defineProperty(e,"GAstVisitor",{enumerable:!0,get:function(){return u.GAstVisitor}}),e.clearCache=function(){console.warn("The clearCache function was 'soft' removed from the Chevrotain API.\n\t It performs no action other than printing this message.\n\t Please avoid using it as it will be completely removed in the future")};var d=kA();Object.defineProperty(e,"createSyntaxDiagramsCode",{enumerable:!0,get:function(){return d.createSyntaxDiagramsCode}});var h=function(){throw new Error("The Parser class has been deprecated, use CstParser or EmbeddedActionsParser instead.\nSee: https://chevrotain.io/docs/changes/BREAKING_CHANGES.html#_7-0-0")};e.Parser=h});const RA=TA();RA.CstParser;ro.merge([Uu.common,Uu.specularmap,Uu.envmap,Uu.aomap,Uu.lightmap,Uu.emissivemap,Uu.fog,Uu.lights,{emissive:{value:new mi(0)}}]);function LA(e,t,r,n,i,o,s,a,l){return(i-e<l||i-r<l)&&(e-o<l||r-o<l)&&(s-t<l||s-n<l)&&(t-a<l||n-a<l)}const{lerp:PA}=gr,DA=[151,160,137,91,90,15,131,13,201,95,96,53,194,233,7,225,140,36,103,30,69,142,8,99,37,240,21,10,23,190,6,148,247,120,234,75,0,26,197,62,94,252,219,203,117,35,11,32,57,177,33,88,237,149,56,87,174,20,125,136,171,168,68,175,74,165,71,134,139,48,27,166,77,146,158,231,83,111,229,122,60,211,133,230,220,105,92,41,55,46,245,40,244,102,143,54,65,25,63,161,1,216,80,73,209,76,132,187,208,89,18,169,200,196,135,130,116,188,159,86,164,100,109,198,173,186,3,64,52,217,226,250,124,123,5,202,38,147,118,126,255,82,85,212,207,206,59,227,47,16,58,17,182,189,28,42,223,183,170,213,119,248,152,2,44,154,163,70,221,153,101,155,167,43,172,9,129,22,39,253,19,98,108,110,79,113,224,232,178,185,112,104,218,246,97,228,251,34,242,193,238,210,144,12,191,179,162,241,81,51,145,235,249,14,239,107,49,192,214,31,181,199,106,157,184,84,204,176,115,121,50,45,127,4,150,254,138,236,205,93,222,114,67,29,24,72,243,141,128,195,78,66,215,61,156,180];for(let e=0;e<256;e++)DA[256+e]=DA[e];new ci,new br,new fr,new fr,new fr;const NA={c:null,u:[new br,new br,new br],e:[]},FA={c:null,u:[new br,new br,new br],e:[]},OA=[[],[],[]],BA=[[],[],[]],UA=[],VA=new br,zA=new br,HA=new br,GA=new br,jA=new br,JA=new br,WA=new xr,QA=new Qr,qA=new xn,YA=new xn,XA=new $n;const KA=new class{constructor(e=new br,t=new br,r=new xr){this.center=e,this.halfSize=t,this.rotation=r}set(e,t,r){return this.center=e,this.halfSize=t,this.rotation=r,this}copy(e){return this.center.copy(e.center),this.halfSize.copy(e.halfSize),this.rotation.copy(e.rotation),this}clone(){return(new this.constructor).copy(this)}getSize(e){return e.copy(this.halfSize).multiplyScalar(2)}clampPoint(e,t){const r=this.halfSize;GA.subVectors(e,this.center),this.rotation.extractBasis(VA,zA,HA),t.copy(this.center);const n=gr.clamp(GA.dot(VA),-r.x,r.x);t.add(VA.multiplyScalar(n));const i=gr.clamp(GA.dot(zA),-r.y,r.y);t.add(zA.multiplyScalar(i));const o=gr.clamp(GA.dot(HA),-r.z,r.z);return t.add(HA.multiplyScalar(o)),t}containsPoint(e){return GA.subVectors(e,this.center),this.rotation.extractBasis(VA,zA,HA),Math.abs(GA.dot(VA))<=this.halfSize.x&&Math.abs(GA.dot(zA))<=this.halfSize.y&&Math.abs(GA.dot(HA))<=this.halfSize.z}intersectsBox3(e){return this.intersectsOBB(KA.fromBox3(e))}intersectsSphere(e){return this.clampPoint(e.center,JA),JA.distanceToSquared(e.center)<=e.radius*e.radius}intersectsOBB(e,t=Number.EPSILON){NA.c=this.center,NA.e[0]=this.halfSize.x,NA.e[1]=this.halfSize.y,NA.e[2]=this.halfSize.z,this.rotation.extractBasis(NA.u[0],NA.u[1],NA.u[2]),FA.c=e.center,FA.e[0]=e.halfSize.x,FA.e[1]=e.halfSize.y,FA.e[2]=e.halfSize.z,e.rotation.extractBasis(FA.u[0],FA.u[1],FA.u[2]);for(let e=0;e<3;e++)for(let t=0;t<3;t++)OA[e][t]=NA.u[e].dot(FA.u[t]);GA.subVectors(FA.c,NA.c),UA[0]=GA.dot(NA.u[0]),UA[1]=GA.dot(NA.u[1]),UA[2]=GA.dot(NA.u[2]);for(let e=0;e<3;e++)for(let r=0;r<3;r++)BA[e][r]=Math.abs(OA[e][r])+t;let r,n;for(let e=0;e<3;e++)if(r=NA.e[e],n=FA.e[0]*BA[e][0]+FA.e[1]*BA[e][1]+FA.e[2]*BA[e][2],Math.abs(UA[e])>r+n)return!1;for(let e=0;e<3;e++)if(r=NA.e[0]*BA[0][e]+NA.e[1]*BA[1][e]+NA.e[2]*BA[2][e],n=FA.e[e],Math.abs(UA[0]*OA[0][e]+UA[1]*OA[1][e]+UA[2]*OA[2][e])>r+n)return!1;return r=NA.e[1]*BA[2][0]+NA.e[2]*BA[1][0],n=FA.e[1]*BA[0][2]+FA.e[2]*BA[0][1],!(Math.abs(UA[2]*OA[1][0]-UA[1]*OA[2][0])>r+n)&&(r=NA.e[1]*BA[2][1]+NA.e[2]*BA[1][1],n=FA.e[0]*BA[0][2]+FA.e[2]*BA[0][0],!(Math.abs(UA[2]*OA[1][1]-UA[1]*OA[2][1])>r+n)&&(r=NA.e[1]*BA[2][2]+NA.e[2]*BA[1][2],n=FA.e[0]*BA[0][1]+FA.e[1]*BA[0][0],!(Math.abs(UA[2]*OA[1][2]-UA[1]*OA[2][2])>r+n)&&(r=NA.e[0]*BA[2][0]+NA.e[2]*BA[0][0],n=FA.e[1]*BA[1][2]+FA.e[2]*BA[1][1],!(Math.abs(UA[0]*OA[2][0]-UA[2]*OA[0][0])>r+n)&&(r=NA.e[0]*BA[2][1]+NA.e[2]*BA[0][1],n=FA.e[0]*BA[1][2]+FA.e[2]*BA[1][0],!(Math.abs(UA[0]*OA[2][1]-UA[2]*OA[0][1])>r+n)&&(r=NA.e[0]*BA[2][2]+NA.e[2]*BA[0][2],n=FA.e[0]*BA[1][1]+FA.e[1]*BA[1][0],!(Math.abs(UA[0]*OA[2][2]-UA[2]*OA[0][2])>r+n)&&(r=NA.e[0]*BA[1][0]+NA.e[1]*BA[0][0],n=FA.e[1]*BA[2][2]+FA.e[2]*BA[2][1],!(Math.abs(UA[1]*OA[0][0]-UA[0]*OA[1][0])>r+n)&&(r=NA.e[0]*BA[1][1]+NA.e[1]*BA[0][1],n=FA.e[0]*BA[2][2]+FA.e[2]*BA[2][0],!(Math.abs(UA[1]*OA[0][1]-UA[0]*OA[1][1])>r+n)&&(r=NA.e[0]*BA[1][2]+NA.e[1]*BA[0][2],n=FA.e[0]*BA[2][1]+FA.e[1]*BA[2][0],!(Math.abs(UA[1]*OA[0][2]-UA[0]*OA[1][2])>r+n)))))))))}intersectsPlane(e){this.rotation.extractBasis(VA,zA,HA);const t=this.halfSize.x*Math.abs(e.normal.dot(VA))+this.halfSize.y*Math.abs(e.normal.dot(zA))+this.halfSize.z*Math.abs(e.normal.dot(HA)),r=e.normal.dot(this.center)-e.constant;return Math.abs(r)<=t}intersectRay(e,t){return this.getSize(jA),QA.setFromCenterAndSize(GA.set(0,0,0),jA),qA.setFromMatrix3(this.rotation),qA.setPosition(this.center),YA.copy(qA).invert(),XA.copy(e).applyMatrix4(YA),XA.intersectBox(QA,t)?t.applyMatrix4(qA):null}intersectsRay(e){return null!==this.intersectRay(e,GA)}fromBox3(e){return e.getCenter(this.center),e.getSize(this.halfSize).multiplyScalar(.5),this.rotation.identity(),this}equals(e){return e.center.equals(this.center)&&e.halfSize.equals(this.halfSize)&&e.rotation.equals(this.rotation)}applyMatrix4(e){const t=e.elements;let r=GA.set(t[0],t[1],t[2]).length();const n=GA.set(t[4],t[5],t[6]).length(),i=GA.set(t[8],t[9],t[10]).length();e.determinant()<0&&(r=-r),WA.setFromMatrix4(e);const o=1/r,s=1/n,a=1/i;return WA.elements[0]*=o,WA.elements[1]*=o,WA.elements[2]*=o,WA.elements[3]*=s,WA.elements[4]*=s,WA.elements[5]*=s,WA.elements[6]*=a,WA.elements[7]*=a,WA.elements[8]*=a,this.rotation.multiply(WA),this.halfSize.x*=r,this.halfSize.y*=n,this.halfSize.z*=i,GA.setFromMatrixPosition(e),this.center.add(GA),this}};new br,new br,new br,new br,new hs,new zc,new zc,new pn,new class{constructor(e=new br(0,0,0),t=new br(0,1,0),r=1){this.start=e,this.end=t,this.radius=r}clone(){return(new this.constructor).copy(this)}set(e,t,r){return this.start.copy(e),this.end.copy(t),this.radius=r,this}copy(e){return this.start.copy(e.start),this.end.copy(e.end),this.radius=e.radius,this}getCenter(e){return e.copy(this.end).add(this.start).multiplyScalar(.5)}translate(e){return this.start.add(e),this.end.add(e),this}intersectsBox(e){return LA(this.start.x,this.start.y,this.end.x,this.end.y,e.min.x,e.max.x,e.min.y,e.max.y,this.radius)&&LA(this.start.x,this.start.z,this.end.x,this.end.z,e.min.x,e.max.x,e.min.z,e.max.z,this.radius)&&LA(this.start.y,this.start.z,this.end.y,this.end.z,e.min.y,e.max.y,e.min.z,e.max.z,this.radius)}},new br,new br,new br;new br;new br,new vr,new br,new br,new vr,new br;new xn;new br,new br,new br;new br,new br;class ZA extends Yi{constructor(){super(ZA.Geometry,new vi({opacity:0,transparent:!0})),this.isLensflare=!0,this.type="Lensflare",this.frustumCulled=!1,this.renderOrder=1/0;const e=new br,t=new br,r=new Bs(16,16),n=new Bs(16,16);let i=ke;const o=ZA.Geometry,s=new il({uniforms:{scale:{value:null},screenPosition:{value:null}},vertexShader:"\n\n\t\t\t\tprecision highp float;\n\n\t\t\t\tuniform vec3 screenPosition;\n\t\t\t\tuniform vec2 scale;\n\n\t\t\t\tattribute vec3 position;\n\n\t\t\t\tvoid main() {\n\n\t\t\t\t\tgl_Position = vec4( position.xy * scale + screenPosition.xy, screenPosition.z, 1.0 );\n\n\t\t\t\t}",fragmentShader:"\n\n\t\t\t\tprecision highp float;\n\n\t\t\t\tvoid main() {\n\n\t\t\t\t\tgl_FragColor = vec4( 1.0, 0.0, 1.0, 1.0 );\n\n\t\t\t\t}",depthTest:!0,depthWrite:!1,transparent:!1}),a=new il({uniforms:{map:{value:r},scale:{value:null},screenPosition:{value:null}},vertexShader:"\n\n\t\t\t\tprecision highp float;\n\n\t\t\t\tuniform vec3 screenPosition;\n\t\t\t\tuniform vec2 scale;\n\n\t\t\t\tattribute vec3 position;\n\t\t\t\tattribute vec2 uv;\n\n\t\t\t\tvarying vec2 vUV;\n\n\t\t\t\tvoid main() {\n\n\t\t\t\t\tvUV = uv;\n\n\t\t\t\t\tgl_Position = vec4( position.xy * scale + screenPosition.xy, screenPosition.z, 1.0 );\n\n\t\t\t\t}",fragmentShader:"\n\n\t\t\t\tprecision highp float;\n\n\t\t\t\tuniform sampler2D map;\n\n\t\t\t\tvarying vec2 vUV;\n\n\t\t\t\tvoid main() {\n\n\t\t\t\t\tgl_FragColor = texture2D( map, vUV );\n\n\t\t\t\t}",depthTest:!1,depthWrite:!1,transparent:!1}),l=new Yi(o,s),c=[],u=eC.Shader,d=new il({name:u.name,uniforms:{map:{value:null},occlusionMap:{value:n},color:{value:new mi(16777215)},scale:{value:new fr},screenPosition:{value:new br}},vertexShader:u.vertexShader,fragmentShader:u.fragmentShader,blending:2,transparent:!0,depthWrite:!1}),h=new Yi(o,d);this.addElement=function(e){c.push(e)};const p=new fr,m=new fr,_=new Pc,g=new Hr;this.onBeforeRender=function(u,f,v){u.getCurrentViewport(g);const b=u.getRenderTarget(),y=null!==b?b.texture.type:ke;i!==y&&(r.dispose(),n.dispose(),r.type=n.type=y,i=y);const $=g.w/g.z,x=g.z/2,S=g.w/2;let w=16/g.w;if(p.set(w*$,w),_.min.set(g.x,g.y),_.max.set(g.x+(g.z-16),g.y+(g.w-16)),t.setFromMatrixPosition(this.matrixWorld),t.applyMatrix4(v.matrixWorldInverse),!(t.z>0)&&(e.copy(t).applyMatrix4(v.projectionMatrix),m.x=g.x+e.x*x+x-8,m.y=g.y+e.y*S+S-8,_.containsPoint(m))){u.copyFramebufferToTexture(r,m);let t=s.uniforms;t.scale.value=p,t.screenPosition.value=e,u.renderBufferDirect(v,null,o,s,l,null),u.copyFramebufferToTexture(n,m),t=a.uniforms,t.scale.value=p,t.screenPosition.value=e,u.renderBufferDirect(v,null,o,a,l,null);const i=2*-e.x,_=2*-e.y;for(let t=0,r=c.length;t<r;t++){const r=c[t],n=d.uniforms;n.color.value.copy(r.color),n.map.value=r.texture,n.screenPosition.value.x=e.x+i*r.distance,n.screenPosition.value.y=e.y+_*r.distance,w=r.size/g.w;const s=g.w/g.z;n.scale.value.set(w*s,w),d.uniformsNeedUpdate=!0,u.renderBufferDirect(v,null,o,d,h,null)}}},this.dispose=function(){s.dispose(),a.dispose(),d.dispose(),r.dispose(),n.dispose();for(let e=0,t=c.length;e<t;e++)c[e].texture.dispose()}}}class eC{constructor(e,t=1,r=0,n=new mi(16777215)){this.texture=e,this.size=t,this.distance=r,this.color=n}}eC.Shader={name:"LensflareElementShader",uniforms:{map:{value:null},occlusionMap:{value:null},color:{value:null},scale:{value:null},screenPosition:{value:null}},vertexShader:"\n\n\t\tprecision highp float;\n\n\t\tuniform vec3 screenPosition;\n\t\tuniform vec2 scale;\n\n\t\tuniform sampler2D occlusionMap;\n\n\t\tattribute vec3 position;\n\t\tattribute vec2 uv;\n\n\t\tvarying vec2 vUV;\n\t\tvarying float vVisibility;\n\n\t\tvoid main() {\n\n\t\t\tvUV = uv;\n\n\t\t\tvec2 pos = position.xy;\n\n\t\t\tvec4 visibility = texture2D( occlusionMap, vec2( 0.1, 0.1 ) );\n\t\t\tvisibility += texture2D( occlusionMap, vec2( 0.5, 0.1 ) );\n\t\t\tvisibility += texture2D( occlusionMap, vec2( 0.9, 0.1 ) );\n\t\t\tvisibility += texture2D( occlusionMap, vec2( 0.9, 0.5 ) );\n\t\t\tvisibility += texture2D( occlusionMap, vec2( 0.9, 0.9 ) );\n\t\t\tvisibility += texture2D( occlusionMap, vec2( 0.5, 0.9 ) );\n\t\t\tvisibility += texture2D( occlusionMap, vec2( 0.1, 0.9 ) );\n\t\t\tvisibility += texture2D( occlusionMap, vec2( 0.1, 0.5 ) );\n\t\t\tvisibility += texture2D( occlusionMap, vec2( 0.5, 0.5 ) );\n\n\t\t\tvVisibility =        visibility.r / 9.0;\n\t\t\tvVisibility *= 1.0 - visibility.g / 9.0;\n\t\t\tvVisibility *=       visibility.b / 9.0;\n\n\t\t\tgl_Position = vec4( ( pos * scale + screenPosition.xy ).xy, screenPosition.z, 1.0 );\n\n\t\t}",fragmentShader:"\n\n\t\tprecision highp float;\n\n\t\tuniform sampler2D map;\n\t\tuniform vec3 color;\n\n\t\tvarying vec2 vUV;\n\t\tvarying float vVisibility;\n\n\t\tvoid main() {\n\n\t\t\tvec4 texture = texture2D( map, vUV );\n\t\t\ttexture.a *= vVisibility;\n\t\t\tgl_FragColor = texture;\n\t\t\tgl_FragColor.rgb *= color;\n\n\t\t}"},ZA.Geometry=function(){const e=new Oi,t=new Float32Array([-1,-1,0,0,0,1,-1,0,1,0,1,1,0,1,1,-1,1,0,0,1]),r=new yo(t,5);return e.setIndex([0,1,2,0,2,3]),e.setAttribute("position",new xo(r,3,0,!1)),e.setAttribute("uv",new xo(r,2,3,!1)),e}();new Int32Array([0,265,515,778,1030,1295,1541,1804,2060,2309,2575,2822,3082,3331,3593,3840,400,153,915,666,1430,1183,1941,1692,2460,2197,2975,2710,3482,3219,3993,3728,560,825,51,314,1590,1855,1077,1340,2620,2869,2111,2358,3642,3891,3129,3376,928,681,419,170,1958,1711,1445,1196,2988,2725,2479,2214,4010,3747,3497,3232,1120,1385,1635,1898,102,367,613,876,3180,3429,3695,3942,2154,2403,2665,2912,1520,1273,2035,1786,502,255,1013,764,3580,3317,4095,3830,2554,2291,3065,2800,1616,1881,1107,1370,598,863,85,348,3676,3925,3167,3414,2650,2899,2137,2384,1984,1737,1475,1226,966,719,453,204,4044,3781,3535,3270,3018,2755,2505,2240,2240,2505,2755,3018,3270,3535,3781,4044,204,453,719,966,1226,1475,1737,1984,2384,2137,2899,2650,3414,3167,3925,3676,348,85,863,598,1370,1107,1881,1616,2800,3065,2291,2554,3830,4095,3317,3580,764,1013,255,502,1786,2035,1273,1520,2912,2665,2403,2154,3942,3695,3429,3180,876,613,367,102,1898,1635,1385,1120,3232,3497,3747,4010,2214,2479,2725,2988,1196,1445,1711,1958,170,419,681,928,3376,3129,3891,3642,2358,2111,2869,2620,1340,1077,1855,1590,314,51,825,560,3728,3993,3219,3482,2710,2975,2197,2460,1692,1941,1183,1430,666,915,153,400,3840,3593,3331,3082,2822,2575,2309,2060,1804,1541,1295,1030,778,515,265,0]),new Int32Array([-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,8,3,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,1,9,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1,8,3,9,8,1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1,2,10,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,8,3,1,2,10,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,9,2,10,0,2,9,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2,8,3,2,10,8,10,9,8,-1,-1,-1,-1,-1,-1,-1,3,11,2,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,11,2,8,11,0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1,9,0,2,3,11,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1,11,2,1,9,11,9,8,11,-1,-1,-1,-1,-1,-1,-1,3,10,1,11,10,3,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,10,1,0,8,10,8,11,10,-1,-1,-1,-1,-1,-1,-1,3,9,0,3,11,9,11,10,9,-1,-1,-1,-1,-1,-1,-1,9,8,10,10,8,11,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4,7,8,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4,3,0,7,3,4,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,1,9,8,4,7,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4,1,9,4,7,1,7,3,1,-1,-1,-1,-1,-1,-1,-1,1,2,10,8,4,7,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3,4,7,3,0,4,1,2,10,-1,-1,-1,-1,-1,-1,-1,9,2,10,9,0,2,8,4,7,-1,-1,-1,-1,-1,-1,-1,2,10,9,2,9,7,2,7,3,7,9,4,-1,-1,-1,-1,8,4,7,3,11,2,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,11,4,7,11,2,4,2,0,4,-1,-1,-1,-1,-1,-1,-1,9,0,1,8,4,7,2,3,11,-1,-1,-1,-1,-1,-1,-1,4,7,11,9,4,11,9,11,2,9,2,1,-1,-1,-1,-1,3,10,1,3,11,10,7,8,4,-1,-1,-1,-1,-1,-1,-1,1,11,10,1,4,11,1,0,4,7,11,4,-1,-1,-1,-1,4,7,8,9,0,11,9,11,10,11,0,3,-1,-1,-1,-1,4,7,11,4,11,9,9,11,10,-1,-1,-1,-1,-1,-1,-1,9,5,4,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,9,5,4,0,8,3,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,5,4,1,5,0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8,5,4,8,3,5,3,1,5,-1,-1,-1,-1,-1,-1,-1,1,2,10,9,5,4,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3,0,8,1,2,10,4,9,5,-1,-1,-1,-1,-1,-1,-1,5,2,10,5,4,2,4,0,2,-1,-1,-1,-1,-1,-1,-1,2,10,5,3,2,5,3,5,4,3,4,8,-1,-1,-1,-1,9,5,4,2,3,11,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,11,2,0,8,11,4,9,5,-1,-1,-1,-1,-1,-1,-1,0,5,4,0,1,5,2,3,11,-1,-1,-1,-1,-1,-1,-1,2,1,5,2,5,8,2,8,11,4,8,5,-1,-1,-1,-1,10,3,11,10,1,3,9,5,4,-1,-1,-1,-1,-1,-1,-1,4,9,5,0,8,1,8,10,1,8,11,10,-1,-1,-1,-1,5,4,0,5,0,11,5,11,10,11,0,3,-1,-1,-1,-1,5,4,8,5,8,10,10,8,11,-1,-1,-1,-1,-1,-1,-1,9,7,8,5,7,9,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,9,3,0,9,5,3,5,7,3,-1,-1,-1,-1,-1,-1,-1,0,7,8,0,1,7,1,5,7,-1,-1,-1,-1,-1,-1,-1,1,5,3,3,5,7,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,9,7,8,9,5,7,10,1,2,-1,-1,-1,-1,-1,-1,-1,10,1,2,9,5,0,5,3,0,5,7,3,-1,-1,-1,-1,8,0,2,8,2,5,8,5,7,10,5,2,-1,-1,-1,-1,2,10,5,2,5,3,3,5,7,-1,-1,-1,-1,-1,-1,-1,7,9,5,7,8,9,3,11,2,-1,-1,-1,-1,-1,-1,-1,9,5,7,9,7,2,9,2,0,2,7,11,-1,-1,-1,-1,2,3,11,0,1,8,1,7,8,1,5,7,-1,-1,-1,-1,11,2,1,11,1,7,7,1,5,-1,-1,-1,-1,-1,-1,-1,9,5,8,8,5,7,10,1,3,10,3,11,-1,-1,-1,-1,5,7,0,5,0,9,7,11,0,1,0,10,11,10,0,-1,11,10,0,11,0,3,10,5,0,8,0,7,5,7,0,-1,11,10,5,7,11,5,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,10,6,5,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,8,3,5,10,6,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,9,0,1,5,10,6,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1,8,3,1,9,8,5,10,6,-1,-1,-1,-1,-1,-1,-1,1,6,5,2,6,1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1,6,5,1,2,6,3,0,8,-1,-1,-1,-1,-1,-1,-1,9,6,5,9,0,6,0,2,6,-1,-1,-1,-1,-1,-1,-1,5,9,8,5,8,2,5,2,6,3,2,8,-1,-1,-1,-1,2,3,11,10,6,5,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,11,0,8,11,2,0,10,6,5,-1,-1,-1,-1,-1,-1,-1,0,1,9,2,3,11,5,10,6,-1,-1,-1,-1,-1,-1,-1,5,10,6,1,9,2,9,11,2,9,8,11,-1,-1,-1,-1,6,3,11,6,5,3,5,1,3,-1,-1,-1,-1,-1,-1,-1,0,8,11,0,11,5,0,5,1,5,11,6,-1,-1,-1,-1,3,11,6,0,3,6,0,6,5,0,5,9,-1,-1,-1,-1,6,5,9,6,9,11,11,9,8,-1,-1,-1,-1,-1,-1,-1,5,10,6,4,7,8,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4,3,0,4,7,3,6,5,10,-1,-1,-1,-1,-1,-1,-1,1,9,0,5,10,6,8,4,7,-1,-1,-1,-1,-1,-1,-1,10,6,5,1,9,7,1,7,3,7,9,4,-1,-1,-1,-1,6,1,2,6,5,1,4,7,8,-1,-1,-1,-1,-1,-1,-1,1,2,5,5,2,6,3,0,4,3,4,7,-1,-1,-1,-1,8,4,7,9,0,5,0,6,5,0,2,6,-1,-1,-1,-1,7,3,9,7,9,4,3,2,9,5,9,6,2,6,9,-1,3,11,2,7,8,4,10,6,5,-1,-1,-1,-1,-1,-1,-1,5,10,6,4,7,2,4,2,0,2,7,11,-1,-1,-1,-1,0,1,9,4,7,8,2,3,11,5,10,6,-1,-1,-1,-1,9,2,1,9,11,2,9,4,11,7,11,4,5,10,6,-1,8,4,7,3,11,5,3,5,1,5,11,6,-1,-1,-1,-1,5,1,11,5,11,6,1,0,11,7,11,4,0,4,11,-1,0,5,9,0,6,5,0,3,6,11,6,3,8,4,7,-1,6,5,9,6,9,11,4,7,9,7,11,9,-1,-1,-1,-1,10,4,9,6,4,10,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4,10,6,4,9,10,0,8,3,-1,-1,-1,-1,-1,-1,-1,10,0,1,10,6,0,6,4,0,-1,-1,-1,-1,-1,-1,-1,8,3,1,8,1,6,8,6,4,6,1,10,-1,-1,-1,-1,1,4,9,1,2,4,2,6,4,-1,-1,-1,-1,-1,-1,-1,3,0,8,1,2,9,2,4,9,2,6,4,-1,-1,-1,-1,0,2,4,4,2,6,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8,3,2,8,2,4,4,2,6,-1,-1,-1,-1,-1,-1,-1,10,4,9,10,6,4,11,2,3,-1,-1,-1,-1,-1,-1,-1,0,8,2,2,8,11,4,9,10,4,10,6,-1,-1,-1,-1,3,11,2,0,1,6,0,6,4,6,1,10,-1,-1,-1,-1,6,4,1,6,1,10,4,8,1,2,1,11,8,11,1,-1,9,6,4,9,3,6,9,1,3,11,6,3,-1,-1,-1,-1,8,11,1,8,1,0,11,6,1,9,1,4,6,4,1,-1,3,11,6,3,6,0,0,6,4,-1,-1,-1,-1,-1,-1,-1,6,4,8,11,6,8,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7,10,6,7,8,10,8,9,10,-1,-1,-1,-1,-1,-1,-1,0,7,3,0,10,7,0,9,10,6,7,10,-1,-1,-1,-1,10,6,7,1,10,7,1,7,8,1,8,0,-1,-1,-1,-1,10,6,7,10,7,1,1,7,3,-1,-1,-1,-1,-1,-1,-1,1,2,6,1,6,8,1,8,9,8,6,7,-1,-1,-1,-1,2,6,9,2,9,1,6,7,9,0,9,3,7,3,9,-1,7,8,0,7,0,6,6,0,2,-1,-1,-1,-1,-1,-1,-1,7,3,2,6,7,2,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2,3,11,10,6,8,10,8,9,8,6,7,-1,-1,-1,-1,2,0,7,2,7,11,0,9,7,6,7,10,9,10,7,-1,1,8,0,1,7,8,1,10,7,6,7,10,2,3,11,-1,11,2,1,11,1,7,10,6,1,6,7,1,-1,-1,-1,-1,8,9,6,8,6,7,9,1,6,11,6,3,1,3,6,-1,0,9,1,11,6,7,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7,8,0,7,0,6,3,11,0,11,6,0,-1,-1,-1,-1,7,11,6,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7,6,11,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3,0,8,11,7,6,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,1,9,11,7,6,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8,1,9,8,3,1,11,7,6,-1,-1,-1,-1,-1,-1,-1,10,1,2,6,11,7,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1,2,10,3,0,8,6,11,7,-1,-1,-1,-1,-1,-1,-1,2,9,0,2,10,9,6,11,7,-1,-1,-1,-1,-1,-1,-1,6,11,7,2,10,3,10,8,3,10,9,8,-1,-1,-1,-1,7,2,3,6,2,7,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,7,0,8,7,6,0,6,2,0,-1,-1,-1,-1,-1,-1,-1,2,7,6,2,3,7,0,1,9,-1,-1,-1,-1,-1,-1,-1,1,6,2,1,8,6,1,9,8,8,7,6,-1,-1,-1,-1,10,7,6,10,1,7,1,3,7,-1,-1,-1,-1,-1,-1,-1,10,7,6,1,7,10,1,8,7,1,0,8,-1,-1,-1,-1,0,3,7,0,7,10,0,10,9,6,10,7,-1,-1,-1,-1,7,6,10,7,10,8,8,10,9,-1,-1,-1,-1,-1,-1,-1,6,8,4,11,8,6,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3,6,11,3,0,6,0,4,6,-1,-1,-1,-1,-1,-1,-1,8,6,11,8,4,6,9,0,1,-1,-1,-1,-1,-1,-1,-1,9,4,6,9,6,3,9,3,1,11,3,6,-1,-1,-1,-1,6,8,4,6,11,8,2,10,1,-1,-1,-1,-1,-1,-1,-1,1,2,10,3,0,11,0,6,11,0,4,6,-1,-1,-1,-1,4,11,8,4,6,11,0,2,9,2,10,9,-1,-1,-1,-1,10,9,3,10,3,2,9,4,3,11,3,6,4,6,3,-1,8,2,3,8,4,2,4,6,2,-1,-1,-1,-1,-1,-1,-1,0,4,2,4,6,2,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1,9,0,2,3,4,2,4,6,4,3,8,-1,-1,-1,-1,1,9,4,1,4,2,2,4,6,-1,-1,-1,-1,-1,-1,-1,8,1,3,8,6,1,8,4,6,6,10,1,-1,-1,-1,-1,10,1,0,10,0,6,6,0,4,-1,-1,-1,-1,-1,-1,-1,4,6,3,4,3,8,6,10,3,0,3,9,10,9,3,-1,10,9,4,6,10,4,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4,9,5,7,6,11,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,8,3,4,9,5,11,7,6,-1,-1,-1,-1,-1,-1,-1,5,0,1,5,4,0,7,6,11,-1,-1,-1,-1,-1,-1,-1,11,7,6,8,3,4,3,5,4,3,1,5,-1,-1,-1,-1,9,5,4,10,1,2,7,6,11,-1,-1,-1,-1,-1,-1,-1,6,11,7,1,2,10,0,8,3,4,9,5,-1,-1,-1,-1,7,6,11,5,4,10,4,2,10,4,0,2,-1,-1,-1,-1,3,4,8,3,5,4,3,2,5,10,5,2,11,7,6,-1,7,2,3,7,6,2,5,4,9,-1,-1,-1,-1,-1,-1,-1,9,5,4,0,8,6,0,6,2,6,8,7,-1,-1,-1,-1,3,6,2,3,7,6,1,5,0,5,4,0,-1,-1,-1,-1,6,2,8,6,8,7,2,1,8,4,8,5,1,5,8,-1,9,5,4,10,1,6,1,7,6,1,3,7,-1,-1,-1,-1,1,6,10,1,7,6,1,0,7,8,7,0,9,5,4,-1,4,0,10,4,10,5,0,3,10,6,10,7,3,7,10,-1,7,6,10,7,10,8,5,4,10,4,8,10,-1,-1,-1,-1,6,9,5,6,11,9,11,8,9,-1,-1,-1,-1,-1,-1,-1,3,6,11,0,6,3,0,5,6,0,9,5,-1,-1,-1,-1,0,11,8,0,5,11,0,1,5,5,6,11,-1,-1,-1,-1,6,11,3,6,3,5,5,3,1,-1,-1,-1,-1,-1,-1,-1,1,2,10,9,5,11,9,11,8,11,5,6,-1,-1,-1,-1,0,11,3,0,6,11,0,9,6,5,6,9,1,2,10,-1,11,8,5,11,5,6,8,0,5,10,5,2,0,2,5,-1,6,11,3,6,3,5,2,10,3,10,5,3,-1,-1,-1,-1,5,8,9,5,2,8,5,6,2,3,8,2,-1,-1,-1,-1,9,5,6,9,6,0,0,6,2,-1,-1,-1,-1,-1,-1,-1,1,5,8,1,8,0,5,6,8,3,8,2,6,2,8,-1,1,5,6,2,1,6,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1,3,6,1,6,10,3,8,6,5,6,9,8,9,6,-1,10,1,0,10,0,6,9,5,0,5,6,0,-1,-1,-1,-1,0,3,8,5,6,10,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,10,5,6,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,11,5,10,7,5,11,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,11,5,10,11,7,5,8,3,0,-1,-1,-1,-1,-1,-1,-1,5,11,7,5,10,11,1,9,0,-1,-1,-1,-1,-1,-1,-1,10,7,5,10,11,7,9,8,1,8,3,1,-1,-1,-1,-1,11,1,2,11,7,1,7,5,1,-1,-1,-1,-1,-1,-1,-1,0,8,3,1,2,7,1,7,5,7,2,11,-1,-1,-1,-1,9,7,5,9,2,7,9,0,2,2,11,7,-1,-1,-1,-1,7,5,2,7,2,11,5,9,2,3,2,8,9,8,2,-1,2,5,10,2,3,5,3,7,5,-1,-1,-1,-1,-1,-1,-1,8,2,0,8,5,2,8,7,5,10,2,5,-1,-1,-1,-1,9,0,1,5,10,3,5,3,7,3,10,2,-1,-1,-1,-1,9,8,2,9,2,1,8,7,2,10,2,5,7,5,2,-1,1,3,5,3,7,5,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,8,7,0,7,1,1,7,5,-1,-1,-1,-1,-1,-1,-1,9,0,3,9,3,5,5,3,7,-1,-1,-1,-1,-1,-1,-1,9,8,7,5,9,7,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,5,8,4,5,10,8,10,11,8,-1,-1,-1,-1,-1,-1,-1,5,0,4,5,11,0,5,10,11,11,3,0,-1,-1,-1,-1,0,1,9,8,4,10,8,10,11,10,4,5,-1,-1,-1,-1,10,11,4,10,4,5,11,3,4,9,4,1,3,1,4,-1,2,5,1,2,8,5,2,11,8,4,5,8,-1,-1,-1,-1,0,4,11,0,11,3,4,5,11,2,11,1,5,1,11,-1,0,2,5,0,5,9,2,11,5,4,5,8,11,8,5,-1,9,4,5,2,11,3,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2,5,10,3,5,2,3,4,5,3,8,4,-1,-1,-1,-1,5,10,2,5,2,4,4,2,0,-1,-1,-1,-1,-1,-1,-1,3,10,2,3,5,10,3,8,5,4,5,8,0,1,9,-1,5,10,2,5,2,4,1,9,2,9,4,2,-1,-1,-1,-1,8,4,5,8,5,3,3,5,1,-1,-1,-1,-1,-1,-1,-1,0,4,5,1,0,5,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,8,4,5,8,5,3,9,0,5,0,3,5,-1,-1,-1,-1,9,4,5,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4,11,7,4,9,11,9,10,11,-1,-1,-1,-1,-1,-1,-1,0,8,3,4,9,7,9,11,7,9,10,11,-1,-1,-1,-1,1,10,11,1,11,4,1,4,0,7,4,11,-1,-1,-1,-1,3,1,4,3,4,8,1,10,4,7,4,11,10,11,4,-1,4,11,7,9,11,4,9,2,11,9,1,2,-1,-1,-1,-1,9,7,4,9,11,7,9,1,11,2,11,1,0,8,3,-1,11,7,4,11,4,2,2,4,0,-1,-1,-1,-1,-1,-1,-1,11,7,4,11,4,2,8,3,4,3,2,4,-1,-1,-1,-1,2,9,10,2,7,9,2,3,7,7,4,9,-1,-1,-1,-1,9,10,7,9,7,4,10,2,7,8,7,0,2,0,7,-1,3,7,10,3,10,2,7,4,10,1,10,0,4,0,10,-1,1,10,2,8,7,4,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4,9,1,4,1,7,7,1,3,-1,-1,-1,-1,-1,-1,-1,4,9,1,4,1,7,0,8,1,8,7,1,-1,-1,-1,-1,4,0,3,7,4,3,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,4,8,7,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,9,10,8,10,11,8,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3,0,9,3,9,11,11,9,10,-1,-1,-1,-1,-1,-1,-1,0,1,10,0,10,8,8,10,11,-1,-1,-1,-1,-1,-1,-1,3,1,10,11,3,10,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1,2,11,1,11,9,9,11,8,-1,-1,-1,-1,-1,-1,-1,3,0,9,3,9,11,1,2,9,2,11,9,-1,-1,-1,-1,0,2,11,8,0,11,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,3,2,11,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2,3,8,2,8,10,10,8,9,-1,-1,-1,-1,-1,-1,-1,9,10,2,0,9,2,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,2,3,8,2,8,10,0,1,8,1,10,8,-1,-1,-1,-1,1,10,2,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,1,3,8,9,1,8,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,9,1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,0,3,8,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1]);class tC extends Yi{constructor(e,t={}){super(e),this.isReflector=!0,this.type="Reflector",this.forceUpdate=!1,this.camera=new lo;const r=this,n=void 0!==t.color?new mi(t.color):new mi(8355711),i=t.textureWidth||512,o=t.textureHeight||512,s=t.clipBias||0,a=t.shader||tC.ReflectorShader,l=void 0!==t.multisample?t.multisample:4,c=new hs,u=new br,d=new br,h=new br,p=new xn,m=new br(0,0,-1),_=new Hr,g=new br,f=new br,v=new Hr,b=new xn,y=this.camera,$=new jr(i,o,{samples:l,type:Fe}),x=new no({name:void 0!==a.name?a.name:"unspecified",uniforms:ro.clone(a.uniforms),fragmentShader:a.fragmentShader,vertexShader:a.vertexShader});x.uniforms.tDiffuse.value=$.texture,x.uniforms.color.value=n,x.uniforms.textureMatrix.value=b,this.material=x,this.onBeforeRender=function(e,t,n){d.setFromMatrixPosition(r.matrixWorld),h.setFromMatrixPosition(n.matrixWorld),p.extractRotation(r.matrixWorld),u.set(0,0,1),u.applyMatrix4(p),g.subVectors(d,h);if(!0===g.dot(u)>0&&!1===this.forceUpdate)return;g.reflect(u).negate(),g.add(d),p.extractRotation(n.matrixWorld),m.set(0,0,-1),m.applyMatrix4(p),m.add(h),f.subVectors(d,m),f.reflect(u).negate(),f.add(d),y.position.copy(g),y.up.set(0,1,0),y.up.applyMatrix4(p),y.up.reflect(u),y.lookAt(f),y.far=n.far,y.updateMatrixWorld(),y.projectionMatrix.copy(n.projectionMatrix),b.set(.5,0,0,.5,0,.5,0,.5,0,0,.5,.5,0,0,0,1),b.multiply(y.projectionMatrix),b.multiply(y.matrixWorldInverse),b.multiply(r.matrixWorld),c.setFromNormalAndCoplanarPoint(u,d),c.applyMatrix4(y.matrixWorldInverse),_.set(c.normal.x,c.normal.y,c.normal.z,c.constant);const i=y.projectionMatrix;v.x=(Math.sign(_.x)+i.elements[8])/i.elements[0],v.y=(Math.sign(_.y)+i.elements[9])/i.elements[5],v.z=-1,v.w=(1+i.elements[10])/i.elements[14],_.multiplyScalar(2/_.dot(v)),i.elements[2]=_.x,i.elements[6]=_.y,i.elements[10]=_.z+1-s,i.elements[14]=_.w,r.visible=!1;const o=e.getRenderTarget(),a=e.xr.enabled,l=e.shadowMap.autoUpdate;e.xr.enabled=!1,e.shadowMap.autoUpdate=!1,e.setRenderTarget($),e.state.buffers.depth.setMask(!0),!1===e.autoClear&&e.clear(),e.render(t,y),e.xr.enabled=a,e.shadowMap.autoUpdate=l,e.setRenderTarget(o);const x=n.viewport;void 0!==x&&e.state.viewport(x),r.visible=!0,this.forceUpdate=!1},this.getRenderTarget=function(){return $},this.dispose=function(){$.dispose(),r.material.dispose()}}}tC.ReflectorShader={name:"ReflectorShader",uniforms:{color:{value:null},tDiffuse:{value:null},textureMatrix:{value:null}},vertexShader:"\n\t\tuniform mat4 textureMatrix;\n\t\tvarying vec4 vUv;\n\n\t\t#include <common>\n\t\t#include <logdepthbuf_pars_vertex>\n\n\t\tvoid main() {\n\n\t\t\tvUv = textureMatrix * vec4( position, 1.0 );\n\n\t\t\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n\n\t\t\t#include <logdepthbuf_vertex>\n\n\t\t}",fragmentShader:"\n\t\tuniform vec3 color;\n\t\tuniform sampler2D tDiffuse;\n\t\tvarying vec4 vUv;\n\n\t\t#include <logdepthbuf_pars_fragment>\n\n\t\tfloat blendOverlay( float base, float blend ) {\n\n\t\t\treturn( base < 0.5 ? ( 2.0 * base * blend ) : ( 1.0 - 2.0 * ( 1.0 - base ) * ( 1.0 - blend ) ) );\n\n\t\t}\n\n\t\tvec3 blendOverlay( vec3 base, vec3 blend ) {\n\n\t\t\treturn vec3( blendOverlay( base.r, blend.r ), blendOverlay( base.g, blend.g ), blendOverlay( base.b, blend.b ) );\n\n\t\t}\n\n\t\tvoid main() {\n\n\t\t\t#include <logdepthbuf_fragment>\n\n\t\t\tvec4 base = texture2DProj( tDiffuse, vUv );\n\t\t\tgl_FragColor = vec4( blendOverlay( base.rgb, color ), 1.0 );\n\n\t\t\t#include <tonemapping_fragment>\n\t\t\t#include <colorspace_fragment>\n\n\t\t}"};class rC extends Yi{constructor(e,t={}){super(e),this.isReflectorForSSRPass=!0,this.type="ReflectorForSSRPass";const r=this,n=void 0!==t.color?new mi(t.color):new mi(8355711),i=t.textureWidth||512,o=t.textureHeight||512,s=t.clipBias||0,a=t.shader||rC.ReflectorShader,l=!0===t.useDepthTexture,c=new br(0,1,0),u=new br,d=new br;r.needsUpdate=!1,r.maxDistance=rC.ReflectorShader.uniforms.maxDistance.value,r.opacity=rC.ReflectorShader.uniforms.opacity.value,r.color=n,r.resolution=t.resolution||new fr(window.innerWidth,window.innerHeight),r._distanceAttenuation=rC.ReflectorShader.defines.DISTANCE_ATTENUATION,Object.defineProperty(r,"distanceAttenuation",{get:()=>r._distanceAttenuation,set(e){r._distanceAttenuation!==e&&(r._distanceAttenuation=e,r.material.defines.DISTANCE_ATTENUATION=e,r.material.needsUpdate=!0)}}),r._fresnel=rC.ReflectorShader.defines.FRESNEL,Object.defineProperty(r,"fresnel",{get:()=>r._fresnel,set(e){r._fresnel!==e&&(r._fresnel=e,r.material.defines.FRESNEL=e,r.material.needsUpdate=!0)}});const h=new br,p=new br,m=new br,_=new xn,g=new br(0,0,-1),f=new br,v=new br,b=new xn,y=new lo;let $;l&&($=new Gs,$.type=Le,$.minFilter=Se,$.magFilter=Se);const x=new jr(i,o,{depthTexture:l?$:null,type:Fe}),S=new no({name:void 0!==a.name?a.name:"unspecified",transparent:l,defines:Object.assign({},rC.ReflectorShader.defines,{useDepthTexture:l}),uniforms:ro.clone(a.uniforms),fragmentShader:a.fragmentShader,vertexShader:a.vertexShader});S.uniforms.tDiffuse.value=x.texture,S.uniforms.color.value=r.color,S.uniforms.textureMatrix.value=b,l&&(S.uniforms.tDepth.value=x.depthTexture),this.material=S;const w=[new hs(new br(0,1,0),s)];this.doRender=function(e,t,n){if(S.uniforms.maxDistance.value=r.maxDistance,S.uniforms.color.value=r.color,S.uniforms.opacity.value=r.opacity,u.copy(n.position).normalize(),d.copy(u).reflect(c),S.uniforms.fresnelCoe.value=(u.dot(d)+1)/2,p.setFromMatrixPosition(r.matrixWorld),m.setFromMatrixPosition(n.matrixWorld),_.extractRotation(r.matrixWorld),h.set(0,0,1),h.applyMatrix4(_),f.subVectors(p,m),f.dot(h)>0)return;f.reflect(h).negate(),f.add(p),_.extractRotation(n.matrixWorld),g.set(0,0,-1),g.applyMatrix4(_),g.add(m),v.subVectors(p,g),v.reflect(h).negate(),v.add(p),y.position.copy(f),y.up.set(0,1,0),y.up.applyMatrix4(_),y.up.reflect(h),y.lookAt(v),y.far=n.far,y.updateMatrixWorld(),y.projectionMatrix.copy(n.projectionMatrix),S.uniforms.virtualCameraNear.value=n.near,S.uniforms.virtualCameraFar.value=n.far,S.uniforms.virtualCameraMatrixWorld.value=y.matrixWorld,S.uniforms.virtualCameraProjectionMatrix.value=n.projectionMatrix,S.uniforms.virtualCameraProjectionMatrixInverse.value=n.projectionMatrixInverse,S.uniforms.resolution.value=r.resolution,b.set(.5,0,0,.5,0,.5,0,.5,0,0,.5,.5,0,0,0,1),b.multiply(y.projectionMatrix),b.multiply(y.matrixWorldInverse),b.multiply(r.matrixWorld);const i=e.getRenderTarget(),o=e.xr.enabled,s=e.shadowMap.autoUpdate,a=e.clippingPlanes;e.xr.enabled=!1,e.shadowMap.autoUpdate=!1,e.clippingPlanes=w,e.setRenderTarget(x),e.state.buffers.depth.setMask(!0),!1===e.autoClear&&e.clear(),e.render(t,y),e.xr.enabled=o,e.shadowMap.autoUpdate=s,e.clippingPlanes=a,e.setRenderTarget(i);const l=n.viewport;void 0!==l&&e.state.viewport(l)},this.getRenderTarget=function(){return x},this.dispose=function(){x.dispose(),r.material.dispose()}}}rC.ReflectorShader={name:"ReflectorShader",defines:{DISTANCE_ATTENUATION:!0,FRESNEL:!0},uniforms:{color:{value:null},tDiffuse:{value:null},tDepth:{value:null},textureMatrix:{value:new xn},maxDistance:{value:180},opacity:{value:.5},fresnelCoe:{value:null},virtualCameraNear:{value:null},virtualCameraFar:{value:null},virtualCameraProjectionMatrix:{value:new xn},virtualCameraMatrixWorld:{value:new xn},virtualCameraProjectionMatrixInverse:{value:new xn},resolution:{value:new fr}},vertexShader:"\n\t\tuniform mat4 textureMatrix;\n\t\tvarying vec4 vUv;\n\n\t\tvoid main() {\n\n\t\t\tvUv = textureMatrix * vec4( position, 1.0 );\n\n\t\t\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n\n\t\t}",fragmentShader:"\n\t\tuniform vec3 color;\n\t\tuniform sampler2D tDiffuse;\n\t\tuniform sampler2D tDepth;\n\t\tuniform float maxDistance;\n\t\tuniform float opacity;\n\t\tuniform float fresnelCoe;\n\t\tuniform float virtualCameraNear;\n\t\tuniform float virtualCameraFar;\n\t\tuniform mat4 virtualCameraProjectionMatrix;\n\t\tuniform mat4 virtualCameraProjectionMatrixInverse;\n\t\tuniform mat4 virtualCameraMatrixWorld;\n\t\tuniform vec2 resolution;\n\t\tvarying vec4 vUv;\n\t\t#include <packing>\n\t\tfloat blendOverlay( float base, float blend ) {\n\t\t\treturn( base < 0.5 ? ( 2.0 * base * blend ) : ( 1.0 - 2.0 * ( 1.0 - base ) * ( 1.0 - blend ) ) );\n\t\t}\n\t\tvec3 blendOverlay( vec3 base, vec3 blend ) {\n\t\t\treturn vec3( blendOverlay( base.r, blend.r ), blendOverlay( base.g, blend.g ), blendOverlay( base.b, blend.b ) );\n\t\t}\n\t\tfloat getDepth( const in vec2 uv ) {\n\t\t\treturn texture2D( tDepth, uv ).x;\n\t\t}\n\t\tfloat getViewZ( const in float depth ) {\n\t\t\treturn perspectiveDepthToViewZ( depth, virtualCameraNear, virtualCameraFar );\n\t\t}\n\t\tvec3 getViewPosition( const in vec2 uv, const in float depth/*clip space*/, const in float clipW ) {\n\t\t\tvec4 clipPosition = vec4( ( vec3( uv, depth ) - 0.5 ) * 2.0, 1.0 );//ndc\n\t\t\tclipPosition *= clipW; //clip\n\t\t\treturn ( virtualCameraProjectionMatrixInverse * clipPosition ).xyz;//view\n\t\t}\n\t\tvoid main() {\n\t\t\tvec4 base = texture2DProj( tDiffuse, vUv );\n\t\t\t#ifdef useDepthTexture\n\t\t\t\tvec2 uv=(gl_FragCoord.xy-.5)/resolution.xy;\n\t\t\t\tuv.x=1.-uv.x;\n\t\t\t\tfloat depth = texture2DProj( tDepth, vUv ).r;\n\t\t\t\tfloat viewZ = getViewZ( depth );\n\t\t\t\tfloat clipW = virtualCameraProjectionMatrix[2][3] * viewZ+virtualCameraProjectionMatrix[3][3];\n\t\t\t\tvec3 viewPosition=getViewPosition( uv, depth, clipW );\n\t\t\t\tvec3 worldPosition=(virtualCameraMatrixWorld*vec4(viewPosition,1)).xyz;\n\t\t\t\tif(worldPosition.y>maxDistance) discard;\n\t\t\t\tfloat op=opacity;\n\t\t\t\t#ifdef DISTANCE_ATTENUATION\n\t\t\t\t\tfloat ratio=1.-(worldPosition.y/maxDistance);\n\t\t\t\t\tfloat attenuation=ratio*ratio;\n\t\t\t\t\top=opacity*attenuation;\n\t\t\t\t#endif\n\t\t\t\t#ifdef FRESNEL\n\t\t\t\t\top*=fresnelCoe;\n\t\t\t\t#endif\n\t\t\t\tgl_FragColor = vec4( blendOverlay( base.rgb, color ), op );\n\t\t\t#else\n\t\t\t\tgl_FragColor = vec4( blendOverlay( base.rgb, color ), 1.0 );\n\t\t\t#endif\n\t\t}\n\t"};class nC extends Yi{constructor(e,t={}){super(e),this.isRefractor=!0,this.type="Refractor",this.camera=new lo;const r=this,n=void 0!==t.color?new mi(t.color):new mi(8355711),i=t.textureWidth||512,o=t.textureHeight||512,s=t.clipBias||0,a=t.shader||nC.RefractorShader,l=void 0!==t.multisample?t.multisample:4,c=this.camera;c.matrixAutoUpdate=!1,c.userData.refractor=!0;const u=new hs,d=new xn,h=new jr(i,o,{samples:l,type:Fe});this.material=new no({name:void 0!==a.name?a.name:"unspecified",uniforms:ro.clone(a.uniforms),vertexShader:a.vertexShader,fragmentShader:a.fragmentShader,transparent:!0}),this.material.uniforms.color.value=n,this.material.uniforms.tDiffuse.value=h.texture,this.material.uniforms.textureMatrix.value=d;const p=function(){const e=new br,t=new br,n=new xn,i=new br,o=new br;return function(s){return e.setFromMatrixPosition(r.matrixWorld),t.setFromMatrixPosition(s.matrixWorld),i.subVectors(e,t),n.extractRotation(r.matrixWorld),o.set(0,0,1),o.applyMatrix4(n),i.dot(o)<0}}(),m=function(){const e=new br,t=new br,n=new vr,i=new br;return function(){r.matrixWorld.decompose(t,n,i),e.set(0,0,1).applyQuaternion(n).normalize(),e.negate(),u.setFromNormalAndCoplanarPoint(e,t)}}(),_=function(){const e=new hs,t=new Hr,r=new Hr;return function(n){c.matrixWorld.copy(n.matrixWorld),c.matrixWorldInverse.copy(c.matrixWorld).invert(),c.projectionMatrix.copy(n.projectionMatrix),c.far=n.far,e.copy(u),e.applyMatrix4(c.matrixWorldInverse),t.set(e.normal.x,e.normal.y,e.normal.z,e.constant);const i=c.projectionMatrix;r.x=(Math.sign(t.x)+i.elements[8])/i.elements[0],r.y=(Math.sign(t.y)+i.elements[9])/i.elements[5],r.z=-1,r.w=(1+i.elements[10])/i.elements[14],t.multiplyScalar(2/t.dot(r)),i.elements[2]=t.x,i.elements[6]=t.y,i.elements[10]=t.z+1-s,i.elements[14]=t.w}}();this.onBeforeRender=function(e,t,n){!0!==n.userData.refractor&&!0!=!p(n)&&(m(),function(e){d.set(.5,0,0,.5,0,.5,0,.5,0,0,.5,.5,0,0,0,1),d.multiply(e.projectionMatrix),d.multiply(e.matrixWorldInverse),d.multiply(r.matrixWorld)}(n),_(n),function(e,t,n){r.visible=!1;const i=e.getRenderTarget(),o=e.xr.enabled,s=e.shadowMap.autoUpdate;e.xr.enabled=!1,e.shadowMap.autoUpdate=!1,e.setRenderTarget(h),!1===e.autoClear&&e.clear(),e.render(t,c),e.xr.enabled=o,e.shadowMap.autoUpdate=s,e.setRenderTarget(i);const a=n.viewport;void 0!==a&&e.state.viewport(a),r.visible=!0}(e,t,n))},this.getRenderTarget=function(){return h},this.dispose=function(){h.dispose(),r.material.dispose()}}}nC.RefractorShader={name:"RefractorShader",uniforms:{color:{value:null},tDiffuse:{value:null},textureMatrix:{value:null}},vertexShader:"\n\n\t\tuniform mat4 textureMatrix;\n\n\t\tvarying vec4 vUv;\n\n\t\tvoid main() {\n\n\t\t\tvUv = textureMatrix * vec4( position, 1.0 );\n\t\t\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n\n\t\t}",fragmentShader:"\n\n\t\tuniform vec3 color;\n\t\tuniform sampler2D tDiffuse;\n\n\t\tvarying vec4 vUv;\n\n\t\tfloat blendOverlay( float base, float blend ) {\n\n\t\t\treturn( base < 0.5 ? ( 2.0 * base * blend ) : ( 1.0 - 2.0 * ( 1.0 - base ) * ( 1.0 - blend ) ) );\n\n\t\t}\n\n\t\tvec3 blendOverlay( vec3 base, vec3 blend ) {\n\n\t\t\treturn vec3( blendOverlay( base.r, blend.r ), blendOverlay( base.g, blend.g ), blendOverlay( base.b, blend.b ) );\n\n\t\t}\n\n\t\tvoid main() {\n\n\t\t\tvec4 base = texture2DProj( tDiffuse, vUv );\n\t\t\tgl_FragColor = vec4( blendOverlay( base.rgb, color ), 1.0 );\n\n\t\t\t#include <tonemapping_fragment>\n\t\t\t#include <colorspace_fragment>\n\n\t\t}"};new xn;class iC extends Yi{constructor(){const e=iC.SkyShader,t=new no({name:e.name,uniforms:ro.clone(e.uniforms),vertexShader:e.vertexShader,fragmentShader:e.fragmentShader,side:1,depthWrite:!1});super(new Ki(1,1,1),t),this.isSky=!0}}iC.SkyShader={name:"SkyShader",uniforms:{turbidity:{value:2},rayleigh:{value:1},mieCoefficient:{value:.005},mieDirectionalG:{value:.8},sunPosition:{value:new br},up:{value:new br(0,1,0)}},vertexShader:"\n\t\tuniform vec3 sunPosition;\n\t\tuniform float rayleigh;\n\t\tuniform float turbidity;\n\t\tuniform float mieCoefficient;\n\t\tuniform vec3 up;\n\n\t\tvarying vec3 vWorldPosition;\n\t\tvarying vec3 vSunDirection;\n\t\tvarying float vSunfade;\n\t\tvarying vec3 vBetaR;\n\t\tvarying vec3 vBetaM;\n\t\tvarying float vSunE;\n\n\t\t// constants for atmospheric scattering\n\t\tconst float e = 2.71828182845904523536028747135266249775724709369995957;\n\t\tconst float pi = 3.141592653589793238462643383279502884197169;\n\n\t\t// wavelength of used primaries, according to preetham\n\t\tconst vec3 lambda = vec3( 680E-9, 550E-9, 450E-9 );\n\t\t// this pre-calculation replaces older TotalRayleigh(vec3 lambda) function:\n\t\t// (8.0 * pow(pi, 3.0) * pow(pow(n, 2.0) - 1.0, 2.0) * (6.0 + 3.0 * pn)) / (3.0 * N * pow(lambda, vec3(4.0)) * (6.0 - 7.0 * pn))\n\t\tconst vec3 totalRayleigh = vec3( 5.804542996261093E-6, 1.3562911419845635E-5, 3.0265902468824876E-5 );\n\n\t\t// mie stuff\n\t\t// K coefficient for the primaries\n\t\tconst float v = 4.0;\n\t\tconst vec3 K = vec3( 0.686, 0.678, 0.666 );\n\t\t// MieConst = pi * pow( ( 2.0 * pi ) / lambda, vec3( v - 2.0 ) ) * K\n\t\tconst vec3 MieConst = vec3( 1.8399918514433978E14, 2.7798023919660528E14, 4.0790479543861094E14 );\n\n\t\t// earth shadow hack\n\t\t// cutoffAngle = pi / 1.95;\n\t\tconst float cutoffAngle = 1.6110731556870734;\n\t\tconst float steepness = 1.5;\n\t\tconst float EE = 1000.0;\n\n\t\tfloat sunIntensity( float zenithAngleCos ) {\n\t\t\tzenithAngleCos = clamp( zenithAngleCos, -1.0, 1.0 );\n\t\t\treturn EE * max( 0.0, 1.0 - pow( e, -( ( cutoffAngle - acos( zenithAngleCos ) ) / steepness ) ) );\n\t\t}\n\n\t\tvec3 totalMie( float T ) {\n\t\t\tfloat c = ( 0.2 * T ) * 10E-18;\n\t\t\treturn 0.434 * c * MieConst;\n\t\t}\n\n\t\tvoid main() {\n\n\t\t\tvec4 worldPosition = modelMatrix * vec4( position, 1.0 );\n\t\t\tvWorldPosition = worldPosition.xyz;\n\n\t\t\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n\t\t\tgl_Position.z = gl_Position.w; // set z to camera.far\n\n\t\t\tvSunDirection = normalize( sunPosition );\n\n\t\t\tvSunE = sunIntensity( dot( vSunDirection, up ) );\n\n\t\t\tvSunfade = 1.0 - clamp( 1.0 - exp( ( sunPosition.y / 450000.0 ) ), 0.0, 1.0 );\n\n\t\t\tfloat rayleighCoefficient = rayleigh - ( 1.0 * ( 1.0 - vSunfade ) );\n\n\t\t\t// extinction (absorption + out scattering)\n\t\t\t// rayleigh coefficients\n\t\t\tvBetaR = totalRayleigh * rayleighCoefficient;\n\n\t\t\t// mie coefficients\n\t\t\tvBetaM = totalMie( turbidity ) * mieCoefficient;\n\n\t\t}",fragmentShader:"\n\t\tvarying vec3 vWorldPosition;\n\t\tvarying vec3 vSunDirection;\n\t\tvarying float vSunfade;\n\t\tvarying vec3 vBetaR;\n\t\tvarying vec3 vBetaM;\n\t\tvarying float vSunE;\n\n\t\tuniform float mieDirectionalG;\n\t\tuniform vec3 up;\n\n\t\t// constants for atmospheric scattering\n\t\tconst float pi = 3.141592653589793238462643383279502884197169;\n\n\t\tconst float n = 1.0003; // refractive index of air\n\t\tconst float N = 2.545E25; // number of molecules per unit volume for air at 288.15K and 1013mb (sea level -45 celsius)\n\n\t\t// optical length at zenith for molecules\n\t\tconst float rayleighZenithLength = 8.4E3;\n\t\tconst float mieZenithLength = 1.25E3;\n\t\t// 66 arc seconds -> degrees, and the cosine of that\n\t\tconst float sunAngularDiameterCos = 0.999956676946448443553574619906976478926848692873900859324;\n\n\t\t// 3.0 / ( 16.0 * pi )\n\t\tconst float THREE_OVER_SIXTEENPI = 0.05968310365946075;\n\t\t// 1.0 / ( 4.0 * pi )\n\t\tconst float ONE_OVER_FOURPI = 0.07957747154594767;\n\n\t\tfloat rayleighPhase( float cosTheta ) {\n\t\t\treturn THREE_OVER_SIXTEENPI * ( 1.0 + pow( cosTheta, 2.0 ) );\n\t\t}\n\n\t\tfloat hgPhase( float cosTheta, float g ) {\n\t\t\tfloat g2 = pow( g, 2.0 );\n\t\t\tfloat inverse = 1.0 / pow( 1.0 - 2.0 * g * cosTheta + g2, 1.5 );\n\t\t\treturn ONE_OVER_FOURPI * ( ( 1.0 - g2 ) * inverse );\n\t\t}\n\n\t\tvoid main() {\n\n\t\t\tvec3 direction = normalize( vWorldPosition - cameraPosition );\n\n\t\t\t// optical length\n\t\t\t// cutoff angle at 90 to avoid singularity in next formula.\n\t\t\tfloat zenithAngle = acos( max( 0.0, dot( up, direction ) ) );\n\t\t\tfloat inverse = 1.0 / ( cos( zenithAngle ) + 0.15 * pow( 93.885 - ( ( zenithAngle * 180.0 ) / pi ), -1.253 ) );\n\t\t\tfloat sR = rayleighZenithLength * inverse;\n\t\t\tfloat sM = mieZenithLength * inverse;\n\n\t\t\t// combined extinction factor\n\t\t\tvec3 Fex = exp( -( vBetaR * sR + vBetaM * sM ) );\n\n\t\t\t// in scattering\n\t\t\tfloat cosTheta = dot( direction, vSunDirection );\n\n\t\t\tfloat rPhase = rayleighPhase( cosTheta * 0.5 + 0.5 );\n\t\t\tvec3 betaRTheta = vBetaR * rPhase;\n\n\t\t\tfloat mPhase = hgPhase( cosTheta, mieDirectionalG );\n\t\t\tvec3 betaMTheta = vBetaM * mPhase;\n\n\t\t\tvec3 Lin = pow( vSunE * ( ( betaRTheta + betaMTheta ) / ( vBetaR + vBetaM ) ) * ( 1.0 - Fex ), vec3( 1.5 ) );\n\t\t\tLin *= mix( vec3( 1.0 ), pow( vSunE * ( ( betaRTheta + betaMTheta ) / ( vBetaR + vBetaM ) ) * Fex, vec3( 1.0 / 2.0 ) ), clamp( pow( 1.0 - dot( up, vSunDirection ), 5.0 ), 0.0, 1.0 ) );\n\n\t\t\t// nightsky\n\t\t\tfloat theta = acos( direction.y ); // elevation --\x3e y-axis, [-pi/2, pi/2]\n\t\t\tfloat phi = atan( direction.z, direction.x ); // azimuth --\x3e x-axis [-pi/2, pi/2]\n\t\t\tvec2 uv = vec2( phi, theta ) / vec2( 2.0 * pi, pi ) + vec2( 0.5, 0.0 );\n\t\t\tvec3 L0 = vec3( 0.1 ) * Fex;\n\n\t\t\t// composition + solar disc\n\t\t\tfloat sundisk = smoothstep( sunAngularDiameterCos, sunAngularDiameterCos + 0.00002, cosTheta );\n\t\t\tL0 += ( vSunE * 19000.0 * Fex ) * sundisk;\n\n\t\t\tvec3 texColor = ( Lin + L0 ) * 0.04 + vec3( 0.0, 0.0003, 0.00075 );\n\n\t\t\tvec3 retColor = pow( texColor, vec3( 1.0 / ( 1.2 + ( 1.2 * vSunfade ) ) ) );\n\n\t\t\tgl_FragColor = vec4( retColor, 1.0 );\n\n\t\t\t#include <tonemapping_fragment>\n\t\t\t#include <colorspace_fragment>\n\n\t\t}"};class oC extends Yi{constructor(e,t={}){super(e),this.isWater=!0,this.type="Water";const r=this,n=void 0!==t.color?new mi(t.color):new mi(16777215),i=void 0!==t.textureWidth?t.textureWidth:512,o=void 0!==t.textureHeight?t.textureHeight:512,s=void 0!==t.clipBias?t.clipBias:0,a=void 0!==t.flowDirection?t.flowDirection:new fr(1,0),l=void 0!==t.flowSpeed?t.flowSpeed:.03,c=void 0!==t.reflectivity?t.reflectivity:.02,u=void 0!==t.scale?t.scale:1,d=void 0!==t.shader?t.shader:oC.WaterShader,h=new Hl,p=t.flowMap||void 0,m=t.normalMap0||h.load("textures/water/Water_1_M_Normal.jpg"),_=t.normalMap1||h.load("textures/water/Water_2_M_Normal.jpg"),g=.15,f=.075,v=new xn,b=new _c;if(void 0===tC)return void console.error("THREE.Water: Required component Reflector not found.");if(void 0===nC)return void console.error("THREE.Water: Required component Refractor not found.");const y=new tC(e,{textureWidth:i,textureHeight:o,clipBias:s}),$=new nC(e,{textureWidth:i,textureHeight:o,clipBias:s});y.matrixAutoUpdate=!1,$.matrixAutoUpdate=!1,this.material=new no({name:d.name,uniforms:ro.merge([Uu.fog,d.uniforms]),vertexShader:d.vertexShader,fragmentShader:d.fragmentShader,transparent:!0,fog:!0}),void 0!==p?(this.material.defines.USE_FLOWMAP="",this.material.uniforms.tFlowMap={type:"t",value:p}):this.material.uniforms.flowDirection={type:"v2",value:a},m.wrapS=m.wrapT=ye,_.wrapS=_.wrapT=ye,this.material.uniforms.tReflectionMap.value=y.getRenderTarget().texture,this.material.uniforms.tRefractionMap.value=$.getRenderTarget().texture,this.material.uniforms.tNormalMap0.value=m,this.material.uniforms.tNormalMap1.value=_,this.material.uniforms.color.value=n,this.material.uniforms.reflectivity.value=c,this.material.uniforms.textureMatrix.value=v,this.material.uniforms.config.value.x=0,this.material.uniforms.config.value.y=f,this.material.uniforms.config.value.z=f,this.material.uniforms.config.value.w=u,this.onBeforeRender=function(e,t,n){!function(e){v.set(.5,0,0,.5,0,.5,0,.5,0,0,.5,.5,0,0,0,1),v.multiply(e.projectionMatrix),v.multiply(e.matrixWorldInverse),v.multiply(r.matrixWorld)}(n),function(){const e=b.getDelta(),t=r.material.uniforms.config;t.value.x+=l*e,t.value.y=t.value.x+f,t.value.x>=g?(t.value.x=0,t.value.y=f):t.value.y>=g&&(t.value.y=t.value.y-g)}(),r.visible=!1,y.matrixWorld.copy(r.matrixWorld),$.matrixWorld.copy(r.matrixWorld),y.onBeforeRender(e,t,n),$.onBeforeRender(e,t,n),r.visible=!0}}}oC.WaterShader={name:"WaterShader",uniforms:{color:{type:"c",value:null},reflectivity:{type:"f",value:0},tReflectionMap:{type:"t",value:null},tRefractionMap:{type:"t",value:null},tNormalMap0:{type:"t",value:null},tNormalMap1:{type:"t",value:null},textureMatrix:{type:"m4",value:null},config:{type:"v4",value:new Hr}},vertexShader:"\n\n\t\t#include <common>\n\t\t#include <fog_pars_vertex>\n\t\t#include <logdepthbuf_pars_vertex>\n\n\t\tuniform mat4 textureMatrix;\n\n\t\tvarying vec4 vCoord;\n\t\tvarying vec2 vUv;\n\t\tvarying vec3 vToEye;\n\n\t\tvoid main() {\n\n\t\t\tvUv = uv;\n\t\t\tvCoord = textureMatrix * vec4( position, 1.0 );\n\n\t\t\tvec4 worldPosition = modelMatrix * vec4( position, 1.0 );\n\t\t\tvToEye = cameraPosition - worldPosition.xyz;\n\n\t\t\tvec4 mvPosition =  viewMatrix * worldPosition; // used in fog_vertex\n\t\t\tgl_Position = projectionMatrix * mvPosition;\n\n\t\t\t#include <logdepthbuf_vertex>\n\t\t\t#include <fog_vertex>\n\n\t\t}",fragmentShader:"\n\n\t\t#include <common>\n\t\t#include <fog_pars_fragment>\n\t\t#include <logdepthbuf_pars_fragment>\n\n\t\tuniform sampler2D tReflectionMap;\n\t\tuniform sampler2D tRefractionMap;\n\t\tuniform sampler2D tNormalMap0;\n\t\tuniform sampler2D tNormalMap1;\n\n\t\t#ifdef USE_FLOWMAP\n\t\t\tuniform sampler2D tFlowMap;\n\t\t#else\n\t\t\tuniform vec2 flowDirection;\n\t\t#endif\n\n\t\tuniform vec3 color;\n\t\tuniform float reflectivity;\n\t\tuniform vec4 config;\n\n\t\tvarying vec4 vCoord;\n\t\tvarying vec2 vUv;\n\t\tvarying vec3 vToEye;\n\n\t\tvoid main() {\n\n\t\t\t#include <logdepthbuf_fragment>\n\n\t\t\tfloat flowMapOffset0 = config.x;\n\t\t\tfloat flowMapOffset1 = config.y;\n\t\t\tfloat halfCycle = config.z;\n\t\t\tfloat scale = config.w;\n\n\t\t\tvec3 toEye = normalize( vToEye );\n\n\t\t\t// determine flow direction\n\t\t\tvec2 flow;\n\t\t\t#ifdef USE_FLOWMAP\n\t\t\t\tflow = texture2D( tFlowMap, vUv ).rg * 2.0 - 1.0;\n\t\t\t#else\n\t\t\t\tflow = flowDirection;\n\t\t\t#endif\n\t\t\tflow.x *= - 1.0;\n\n\t\t\t// sample normal maps (distort uvs with flowdata)\n\t\t\tvec4 normalColor0 = texture2D( tNormalMap0, ( vUv * scale ) + flow * flowMapOffset0 );\n\t\t\tvec4 normalColor1 = texture2D( tNormalMap1, ( vUv * scale ) + flow * flowMapOffset1 );\n\n\t\t\t// linear interpolate to get the final normal color\n\t\t\tfloat flowLerp = abs( halfCycle - flowMapOffset0 ) / halfCycle;\n\t\t\tvec4 normalColor = mix( normalColor0, normalColor1, flowLerp );\n\n\t\t\t// calculate normal vector\n\t\t\tvec3 normal = normalize( vec3( normalColor.r * 2.0 - 1.0, normalColor.b,  normalColor.g * 2.0 - 1.0 ) );\n\n\t\t\t// calculate the fresnel term to blend reflection and refraction maps\n\t\t\tfloat theta = max( dot( toEye, normal ), 0.0 );\n\t\t\tfloat reflectance = reflectivity + ( 1.0 - reflectivity ) * pow( ( 1.0 - theta ), 5.0 );\n\n\t\t\t// calculate final uv coords\n\t\t\tvec3 coord = vCoord.xyz / vCoord.w;\n\t\t\tvec2 uv = coord.xy + coord.z * normal.xz * 0.05;\n\n\t\t\tvec4 reflectColor = texture2D( tReflectionMap, vec2( 1.0 - uv.x, uv.y ) );\n\t\t\tvec4 refractColor = texture2D( tRefractionMap, uv );\n\n\t\t\t// multiply water color with the mix of both textures\n\t\t\tgl_FragColor = vec4( color, 1.0 ) * mix( refractColor, reflectColor, reflectance );\n\n\t\t\t#include <tonemapping_fragment>\n\t\t\t#include <colorspace_fragment>\n\t\t\t#include <fog_fragment>\n\n\t\t}"};const sC={name:"CopyShader",uniforms:{tDiffuse:{value:null},opacity:{value:1}},vertexShader:"\n\n\t\tvarying vec2 vUv;\n\n\t\tvoid main() {\n\n\t\t\tvUv = uv;\n\t\t\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n\n\t\t}",fragmentShader:"\n\n\t\tuniform float opacity;\n\n\t\tuniform sampler2D tDiffuse;\n\n\t\tvarying vec2 vUv;\n\n\t\tvoid main() {\n\n\t\t\tvec4 texel = texture2D( tDiffuse, vUv );\n\t\t\tgl_FragColor = opacity * texel;\n\n\n\t\t}"};const aC={name:"ConvolutionShader",defines:{KERNEL_SIZE_FLOAT:"25.0",KERNEL_SIZE_INT:"25"},uniforms:{tDiffuse:{value:null},uImageIncrement:{value:new fr(.001953125,0)},cKernel:{value:[]}},vertexShader:"\n\n\t\tuniform vec2 uImageIncrement;\n\n\t\tvarying vec2 vUv;\n\n\t\tvoid main() {\n\n\t\t\tvUv = uv - ( ( KERNEL_SIZE_FLOAT - 1.0 ) / 2.0 ) * uImageIncrement;\n\t\t\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n\n\t\t}",fragmentShader:"\n\n\t\tuniform float cKernel[ KERNEL_SIZE_INT ];\n\n\t\tuniform sampler2D tDiffuse;\n\t\tuniform vec2 uImageIncrement;\n\n\t\tvarying vec2 vUv;\n\n\t\tvoid main() {\n\n\t\t\tvec2 imageCoord = vUv;\n\t\t\tvec4 sum = vec4( 0.0, 0.0, 0.0, 0.0 );\n\n\t\t\tfor( int i = 0; i < KERNEL_SIZE_INT; i ++ ) {\n\n\t\t\t\tsum += texture2D( tDiffuse, imageCoord ) * cKernel[ i ];\n\t\t\t\timageCoord += uImageIncrement;\n\n\t\t\t}\n\n\t\t\tgl_FragColor = sum;\n\n\t\t}"};class lC extends V_{constructor(e=1,t=25,r=4){super(),this.combineUniforms=ro.clone(cC.uniforms),this.combineUniforms.strength.value=e,this.materialCombine=new no({name:cC.name,uniforms:this.combineUniforms,vertexShader:cC.vertexShader,fragmentShader:cC.fragmentShader,blending:2,transparent:!0});const n=aC;this.convolutionUniforms=ro.clone(n.uniforms),this.convolutionUniforms.uImageIncrement.value=lC.blurX,this.convolutionUniforms.cKernel.value=function(e){const t=25;let r=2*Math.ceil(3*e)+1;r>t&&(r=t);const n=.5*(r-1),i=new Array(r);let o=0;for(let t=0;t<r;++t)i[t]=uC(t-n,e),o+=i[t];for(let e=0;e<r;++e)i[e]/=o;return i}(r),this.materialConvolution=new no({name:n.name,uniforms:this.convolutionUniforms,vertexShader:n.vertexShader,fragmentShader:n.fragmentShader,defines:{KERNEL_SIZE_FLOAT:t.toFixed(1),KERNEL_SIZE_INT:t.toFixed(0)}}),this.needsSwap=!1,this._renderTargetX=new jr(1,1,{type:Fe}),this._renderTargetX.texture.name="BloomPass.x",this._renderTargetY=new jr(1,1,{type:Fe}),this._renderTargetY.texture.name="BloomPass.y",this._fsQuad=new G_(null)}render(e,t,r,n,i){i&&e.state.buffers.stencil.setTest(!1),this._fsQuad.material=this.materialConvolution,this.convolutionUniforms.tDiffuse.value=r.texture,this.convolutionUniforms.uImageIncrement.value=lC.blurX,e.setRenderTarget(this._renderTargetX),e.clear(),this._fsQuad.render(e),this.convolutionUniforms.tDiffuse.value=this._renderTargetX.texture,this.convolutionUniforms.uImageIncrement.value=lC.blurY,e.setRenderTarget(this._renderTargetY),e.clear(),this._fsQuad.render(e),this._fsQuad.material=this.materialCombine,this.combineUniforms.tDiffuse.value=this._renderTargetY.texture,i&&e.state.buffers.stencil.setTest(!0),e.setRenderTarget(r),this.clear&&e.clear(),this._fsQuad.render(e)}setSize(e,t){this._renderTargetX.setSize(e,t),this._renderTargetY.setSize(e,t)}dispose(){this._renderTargetX.dispose(),this._renderTargetY.dispose(),this.materialCombine.dispose(),this.materialConvolution.dispose(),this._fsQuad.dispose()}}const cC={name:"CombineShader",uniforms:{tDiffuse:{value:null},strength:{value:1}},vertexShader:"\n\n\t\tvarying vec2 vUv;\n\n\t\tvoid main() {\n\n\t\t\tvUv = uv;\n\t\t\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n\n\t\t}",fragmentShader:"\n\n\t\tuniform float strength;\n\n\t\tuniform sampler2D tDiffuse;\n\n\t\tvarying vec2 vUv;\n\n\t\tvoid main() {\n\n\t\t\tvec4 texel = texture2D( tDiffuse, vUv );\n\t\t\tgl_FragColor = strength * texel;\n\n\t\t}"};function uC(e,t){return Math.exp(-e*e/(2*t*t))}lC.blurX=new fr(.001953125,0),lC.blurY=new fr(0,.001953125);new fr(256,256),new fr(.5,.5);class dC extends V_{constructor(e,t="tDiffuse"){super(),this.textureID=t,this.uniforms=null,this.material=null,e instanceof no?(this.uniforms=e.uniforms,this.material=e):e&&(this.uniforms=ro.clone(e.uniforms),this.material=new no({name:void 0!==e.name?e.name:"unspecified",defines:Object.assign({},e.defines),uniforms:this.uniforms,vertexShader:e.vertexShader,fragmentShader:e.fragmentShader})),this._fsQuad=new G_(this.material)}render(e,t,r){this.uniforms[this.textureID]&&(this.uniforms[this.textureID].value=r.texture),this._fsQuad.material=this.material,this.renderToScreen?(e.setRenderTarget(null),this._fsQuad.render(e)):(e.setRenderTarget(t),this.clear&&e.clear(e.autoClearColor,e.autoClearDepth,e.autoClearStencil),this._fsQuad.render(e))}dispose(){this.material.dispose(),this._fsQuad.dispose()}}class hC extends V_{constructor(e,t){super(),this.scene=e,this.camera=t,this.clear=!0,this.needsSwap=!1,this.inverse=!1}render(e,t,r){const n=e.getContext(),i=e.state;let o,s;i.buffers.color.setMask(!1),i.buffers.depth.setMask(!1),i.buffers.color.setLocked(!0),i.buffers.depth.setLocked(!0),this.inverse?(o=0,s=1):(o=1,s=0),i.buffers.stencil.setTest(!0),i.buffers.stencil.setOp(n.REPLACE,n.REPLACE,n.REPLACE),i.buffers.stencil.setFunc(n.ALWAYS,o,4294967295),i.buffers.stencil.setClear(s),i.buffers.stencil.setLocked(!0),e.setRenderTarget(r),this.clear&&e.clear(),e.render(this.scene,this.camera),e.setRenderTarget(t),this.clear&&e.clear(),e.render(this.scene,this.camera),i.buffers.color.setLocked(!1),i.buffers.depth.setLocked(!1),i.buffers.color.setMask(!0),i.buffers.depth.setMask(!0),i.buffers.stencil.setLocked(!1),i.buffers.stencil.setFunc(n.EQUAL,1,4294967295),i.buffers.stencil.setOp(n.KEEP,n.KEEP,n.KEEP),i.buffers.stencil.setLocked(!0)}}class pC extends V_{constructor(){super(),this.needsSwap=!1}render(e){e.state.buffers.stencil.setLocked(!1),e.state.buffers.stencil.setTest(!1)}}class mC{constructor(e,t){if(this.renderer=e,this._pixelRatio=e.getPixelRatio(),void 0===t){const r=e.getSize(new fr);this._width=r.width,this._height=r.height,(t=new jr(this._width*this._pixelRatio,this._height*this._pixelRatio,{type:Fe})).texture.name="EffectComposer.rt1"}else this._width=t.width,this._height=t.height;this.renderTarget1=t,this.renderTarget2=t.clone(),this.renderTarget2.texture.name="EffectComposer.rt2",this.writeBuffer=this.renderTarget1,this.readBuffer=this.renderTarget2,this.renderToScreen=!0,this.passes=[],this.copyPass=new dC(sC),this.copyPass.material.blending=0,this.clock=new _c}swapBuffers(){const e=this.readBuffer;this.readBuffer=this.writeBuffer,this.writeBuffer=e}addPass(e){this.passes.push(e),e.setSize(this._width*this._pixelRatio,this._height*this._pixelRatio)}insertPass(e,t){this.passes.splice(t,0,e),e.setSize(this._width*this._pixelRatio,this._height*this._pixelRatio)}removePass(e){const t=this.passes.indexOf(e);-1!==t&&this.passes.splice(t,1)}isLastEnabledPass(e){for(let t=e+1;t<this.passes.length;t++)if(this.passes[t].enabled)return!1;return!0}render(e){void 0===e&&(e=this.clock.getDelta());const t=this.renderer.getRenderTarget();let r=!1;for(let t=0,n=this.passes.length;t<n;t++){const n=this.passes[t];if(!1!==n.enabled){if(n.renderToScreen=this.renderToScreen&&this.isLastEnabledPass(t),n.render(this.renderer,this.writeBuffer,this.readBuffer,e,r),n.needsSwap){if(r){const t=this.renderer.getContext(),r=this.renderer.state.buffers.stencil;r.setFunc(t.NOTEQUAL,1,4294967295),this.copyPass.render(this.renderer,this.writeBuffer,this.readBuffer,e),r.setFunc(t.EQUAL,1,4294967295)}this.swapBuffers()}void 0!==hC&&(n instanceof hC?r=!0:n instanceof pC&&(r=!1))}}this.renderer.setRenderTarget(t)}reset(e){if(void 0===e){const t=this.renderer.getSize(new fr);this._pixelRatio=this.renderer.getPixelRatio(),this._width=t.width,this._height=t.height,(e=this.renderTarget1.clone()).setSize(this._width*this._pixelRatio,this._height*this._pixelRatio)}this.renderTarget1.dispose(),this.renderTarget2.dispose(),this.renderTarget1=e,this.renderTarget2=e.clone(),this.writeBuffer=this.renderTarget1,this.readBuffer=this.renderTarget2}setSize(e,t){this._width=e,this._height=t;const r=this._width*this._pixelRatio,n=this._height*this._pixelRatio;this.renderTarget1.setSize(r,n),this.renderTarget2.setSize(r,n);for(let e=0;e<this.passes.length;e++)this.passes[e].setSize(r,n)}setPixelRatio(e){this._pixelRatio=e,this.setSize(this._width,this._height)}dispose(){this.renderTarget1.dispose(),this.renderTarget2.dispose(),this.copyPass.dispose()}}const _C={name:"GTAOShader",defines:{PERSPECTIVE_CAMERA:1,SAMPLES:16,NORMAL_VECTOR_TYPE:1,DEPTH_SWIZZLING:"x",SCREEN_SPACE_RADIUS:0,SCREEN_SPACE_RADIUS_SCALE:100,SCENE_CLIP_BOX:0},uniforms:{tNormal:{value:null},tDepth:{value:null},tNoise:{value:null},resolution:{value:new fr},cameraNear:{value:null},cameraFar:{value:null},cameraProjectionMatrix:{value:new xn},cameraProjectionMatrixInverse:{value:new xn},cameraWorldMatrix:{value:new xn},radius:{value:.25},distanceExponent:{value:1},thickness:{value:1},distanceFallOff:{value:1},scale:{value:1},sceneBoxMin:{value:new br(-1,-1,-1)},sceneBoxMax:{value:new br(1,1,1)}},vertexShader:"\n\n\t\tvarying vec2 vUv;\n\n\t\tvoid main() {\n\t\t\tvUv = uv;\n\t\t\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n\t\t}",fragmentShader:"\n\t\tvarying vec2 vUv;\n\t\tuniform highp sampler2D tNormal;\n\t\tuniform highp sampler2D tDepth;\n\t\tuniform sampler2D tNoise;\n\t\tuniform vec2 resolution;\n\t\tuniform float cameraNear;\n\t\tuniform float cameraFar;\n\t\tuniform mat4 cameraProjectionMatrix;\n\t\tuniform mat4 cameraProjectionMatrixInverse;\n\t\tuniform mat4 cameraWorldMatrix;\n\t\tuniform float radius;\n\t\tuniform float distanceExponent;\n\t\tuniform float thickness;\n\t\tuniform float distanceFallOff;\n\t\tuniform float scale;\n\t\t#if SCENE_CLIP_BOX == 1\n\t\t\tuniform vec3 sceneBoxMin;\n\t\t\tuniform vec3 sceneBoxMax;\n\t\t#endif\n\n\t\t#include <common>\n\t\t#include <packing>\n\n\t\t#ifndef FRAGMENT_OUTPUT\n\t\t#define FRAGMENT_OUTPUT vec4(vec3(ao), 1.)\n\t\t#endif\n\n\t\tvec3 getViewPosition(const in vec2 screenPosition, const in float depth) {\n\t\t\tvec4 clipSpacePosition = vec4(vec3(screenPosition, depth) * 2.0 - 1.0, 1.0);\n\t\t\tvec4 viewSpacePosition = cameraProjectionMatrixInverse * clipSpacePosition;\n\t\t\treturn viewSpacePosition.xyz / viewSpacePosition.w;\n\t\t}\n\n\t\tfloat getDepth(const vec2 uv) {\n\t\t\treturn textureLod(tDepth, uv.xy, 0.0).DEPTH_SWIZZLING;\n\t\t}\n\n\t\tfloat fetchDepth(const ivec2 uv) {\n\t\t\treturn texelFetch(tDepth, uv.xy, 0).DEPTH_SWIZZLING;\n\t\t}\n\n\t\tfloat getViewZ(const in float depth) {\n\t\t\t#if PERSPECTIVE_CAMERA == 1\n\t\t\t\treturn perspectiveDepthToViewZ(depth, cameraNear, cameraFar);\n\t\t\t#else\n\t\t\t\treturn orthographicDepthToViewZ(depth, cameraNear, cameraFar);\n\t\t\t#endif\n\t\t}\n\n\t\tvec3 computeNormalFromDepth(const vec2 uv) {\n\t\t\tvec2 size = vec2(textureSize(tDepth, 0));\n\t\t\tivec2 p = ivec2(uv * size);\n\t\t\tfloat c0 = fetchDepth(p);\n\t\t\tfloat l2 = fetchDepth(p - ivec2(2, 0));\n\t\t\tfloat l1 = fetchDepth(p - ivec2(1, 0));\n\t\t\tfloat r1 = fetchDepth(p + ivec2(1, 0));\n\t\t\tfloat r2 = fetchDepth(p + ivec2(2, 0));\n\t\t\tfloat b2 = fetchDepth(p - ivec2(0, 2));\n\t\t\tfloat b1 = fetchDepth(p - ivec2(0, 1));\n\t\t\tfloat t1 = fetchDepth(p + ivec2(0, 1));\n\t\t\tfloat t2 = fetchDepth(p + ivec2(0, 2));\n\t\t\tfloat dl = abs((2.0 * l1 - l2) - c0);\n\t\t\tfloat dr = abs((2.0 * r1 - r2) - c0);\n\t\t\tfloat db = abs((2.0 * b1 - b2) - c0);\n\t\t\tfloat dt = abs((2.0 * t1 - t2) - c0);\n\t\t\tvec3 ce = getViewPosition(uv, c0).xyz;\n\t\t\tvec3 dpdx = (dl < dr) ? ce - getViewPosition((uv - vec2(1.0 / size.x, 0.0)), l1).xyz : -ce + getViewPosition((uv + vec2(1.0 / size.x, 0.0)), r1).xyz;\n\t\t\tvec3 dpdy = (db < dt) ? ce - getViewPosition((uv - vec2(0.0, 1.0 / size.y)), b1).xyz : -ce + getViewPosition((uv + vec2(0.0, 1.0 / size.y)), t1).xyz;\n\t\t\treturn normalize(cross(dpdx, dpdy));\n\t\t}\n\n\t\tvec3 getViewNormal(const vec2 uv) {\n\t\t\t#if NORMAL_VECTOR_TYPE == 2\n\t\t\t\treturn normalize(textureLod(tNormal, uv, 0.).rgb);\n\t\t\t#elif NORMAL_VECTOR_TYPE == 1\n\t\t\t\treturn unpackRGBToNormal(textureLod(tNormal, uv, 0.).rgb);\n\t\t\t#else\n\t\t\t\treturn computeNormalFromDepth(uv);\n\t\t\t#endif\n\t\t}\n\n\t\tvec3 getSceneUvAndDepth(vec3 sampleViewPos) {\n\t\t\tvec4 sampleClipPos = cameraProjectionMatrix * vec4(sampleViewPos, 1.);\n\t\t\tvec2 sampleUv = sampleClipPos.xy / sampleClipPos.w * 0.5 + 0.5;\n\t\t\tfloat sampleSceneDepth = getDepth(sampleUv);\n\t\t\treturn vec3(sampleUv, sampleSceneDepth);\n\t\t}\n\n\t\tvoid main() {\n\t\t\tfloat depth = getDepth(vUv.xy);\n\t\t\tif (depth >= 1.0) {\n\t\t\t\tdiscard;\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tvec3 viewPos = getViewPosition(vUv, depth);\n\t\t\tvec3 viewNormal = getViewNormal(vUv);\n\n\t\t\tfloat radiusToUse = radius;\n\t\t\tfloat distanceFalloffToUse = thickness;\n\t\t\t#if SCREEN_SPACE_RADIUS == 1\n\t\t\t\tfloat radiusScale = getViewPosition(vec2(0.5 + float(SCREEN_SPACE_RADIUS_SCALE) / resolution.x, 0.0), depth).x;\n\t\t\t\tradiusToUse *= radiusScale;\n\t\t\t\tdistanceFalloffToUse *= radiusScale;\n\t\t\t#endif\n\n\t\t\t#if SCENE_CLIP_BOX == 1\n\t\t\t\tvec3 worldPos = (cameraWorldMatrix * vec4(viewPos, 1.0)).xyz;\n\t\t\t\tfloat boxDistance = length(max(vec3(0.0), max(sceneBoxMin - worldPos, worldPos - sceneBoxMax)));\n\t\t\t\tif (boxDistance > radiusToUse) {\n\t\t\t\t\tdiscard;\n\t\t\t\t\treturn;\n\t\t\t\t}\n\t\t\t#endif\n\n\t\t\tvec2 noiseResolution = vec2(textureSize(tNoise, 0));\n\t\t\tvec2 noiseUv = vUv * resolution / noiseResolution;\n\t\t\tvec4 noiseTexel = textureLod(tNoise, noiseUv, 0.0);\n\t\t\tvec3 randomVec = noiseTexel.xyz * 2.0 - 1.0;\n\t\t\tvec3 tangent = normalize(vec3(randomVec.xy, 0.));\n\t\t\tvec3 bitangent = vec3(-tangent.y, tangent.x, 0.);\n\t\t\tmat3 kernelMatrix = mat3(tangent, bitangent, vec3(0., 0., 1.));\n\n\t\t\tconst int DIRECTIONS = SAMPLES < 30 ? 3 : 5;\n\t\t\tconst int STEPS = (SAMPLES + DIRECTIONS - 1) / DIRECTIONS;\n\t\t\tfloat ao = 0.0;\n\t\t\tfor (int i = 0; i < DIRECTIONS; ++i) {\n\n\t\t\t\tfloat angle = float(i) / float(DIRECTIONS) * PI;\n\t\t\t\tvec4 sampleDir = vec4(cos(angle), sin(angle), 0., 0.5 + 0.5 * noiseTexel.w);\n\t\t\t\tsampleDir.xyz = normalize(kernelMatrix * sampleDir.xyz);\n\n\t\t\t\tvec3 viewDir = normalize(-viewPos.xyz);\n\t\t\t\tvec3 sliceBitangent = normalize(cross(sampleDir.xyz, viewDir));\n\t\t\t\tvec3 sliceTangent = cross(sliceBitangent, viewDir);\n\t\t\t\tvec3 normalInSlice = normalize(viewNormal - sliceBitangent * dot(viewNormal, sliceBitangent));\n\n\t\t\t\tvec3 tangentToNormalInSlice = cross(normalInSlice, sliceBitangent);\n\t\t\t\tvec2 cosHorizons = vec2(dot(viewDir, tangentToNormalInSlice), dot(viewDir, -tangentToNormalInSlice));\n\n\t\t\t\tfor (int j = 0; j < STEPS; ++j) {\n\t\t\t\t\tvec3 sampleViewOffset = sampleDir.xyz * radiusToUse * sampleDir.w * pow(float(j + 1) / float(STEPS), distanceExponent);\n\n\t\t\t\t\tvec3 sampleSceneUvDepth = getSceneUvAndDepth(viewPos + sampleViewOffset);\n\t\t\t\t\tvec3 sampleSceneViewPos = getViewPosition(sampleSceneUvDepth.xy, sampleSceneUvDepth.z);\n\t\t\t\t\tvec3 viewDelta = sampleSceneViewPos - viewPos;\n\t\t\t\t\tif (abs(viewDelta.z) < thickness) {\n\t\t\t\t\t\tfloat sampleCosHorizon = dot(viewDir, normalize(viewDelta));\n\t\t\t\t\t\tcosHorizons.x += max(0., (sampleCosHorizon - cosHorizons.x) * mix(1., 2. / float(j + 2), distanceFallOff));\n\t\t\t\t\t}\n\n\t\t\t\t\tsampleSceneUvDepth = getSceneUvAndDepth(viewPos - sampleViewOffset);\n\t\t\t\t\tsampleSceneViewPos = getViewPosition(sampleSceneUvDepth.xy, sampleSceneUvDepth.z);\n\t\t\t\t\tviewDelta = sampleSceneViewPos - viewPos;\n\t\t\t\t\tif (abs(viewDelta.z) < thickness) {\n\t\t\t\t\t\tfloat sampleCosHorizon = dot(viewDir, normalize(viewDelta));\n\t\t\t\t\t\tcosHorizons.y += max(0., (sampleCosHorizon - cosHorizons.y) * mix(1., 2. / float(j + 2), distanceFallOff));\n\t\t\t\t\t}\n\t\t\t\t}\n\n\t\t\t\tvec2 sinHorizons = sqrt(1. - cosHorizons * cosHorizons);\n\t\t\t\tfloat nx = dot(normalInSlice, sliceTangent);\n\t\t\t\tfloat ny = dot(normalInSlice, viewDir);\n\t\t\t\tfloat nxb = 1. / 2. * (acos(cosHorizons.y) - acos(cosHorizons.x) + sinHorizons.x * cosHorizons.x - sinHorizons.y * cosHorizons.y);\n\t\t\t\tfloat nyb = 1. / 2. * (2. - cosHorizons.x * cosHorizons.x - cosHorizons.y * cosHorizons.y);\n\t\t\t\tfloat occlusion = nx * nxb + ny * nyb;\n\t\t\t\tao += occlusion;\n\t\t\t}\n\n\t\t\tao = clamp(ao / float(DIRECTIONS), 0., 1.);\n\t\t#if SCENE_CLIP_BOX == 1\n\t\t\tao = mix(ao, 1., smoothstep(0., radiusToUse, boxDistance));\n\t\t#endif\n\t\t\tao = pow(ao, scale);\n\n\t\t\tgl_FragColor = FRAGMENT_OUTPUT;\n\t\t}"},gC={name:"GTAODepthShader",defines:{PERSPECTIVE_CAMERA:1},uniforms:{tDepth:{value:null},cameraNear:{value:null},cameraFar:{value:null}},vertexShader:"\n\t\tvarying vec2 vUv;\n\n\t\tvoid main() {\n\t\t\tvUv = uv;\n\t\t\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n\t\t}",fragmentShader:"\n\t\tuniform sampler2D tDepth;\n\t\tuniform float cameraNear;\n\t\tuniform float cameraFar;\n\t\tvarying vec2 vUv;\n\n\t\t#include <packing>\n\n\t\tfloat getLinearDepth( const in vec2 screenPosition ) {\n\t\t\t#if PERSPECTIVE_CAMERA == 1\n\t\t\t\tfloat fragCoordZ = texture2D( tDepth, screenPosition ).x;\n\t\t\t\tfloat viewZ = perspectiveDepthToViewZ( fragCoordZ, cameraNear, cameraFar );\n\t\t\t\treturn viewZToOrthographicDepth( viewZ, cameraNear, cameraFar );\n\t\t\t#else\n\t\t\t\treturn texture2D( tDepth, screenPosition ).x;\n\t\t\t#endif\n\t\t}\n\n\t\tvoid main() {\n\t\t\tfloat depth = getLinearDepth( vUv );\n\t\t\tgl_FragColor = vec4( vec3( 1.0 - depth ), 1.0 );\n\n\t\t}"},fC={name:"GTAOBlendShader",uniforms:{tDiffuse:{value:null},intensity:{value:1}},vertexShader:"\n\t\tvarying vec2 vUv;\n\n\t\tvoid main() {\n\t\t\tvUv = uv;\n\t\t\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n\t\t}",fragmentShader:"\n\t\tuniform float intensity;\n\t\tuniform sampler2D tDiffuse;\n\t\tvarying vec2 vUv;\n\n\t\tvoid main() {\n\t\t\tvec4 texel = texture2D( tDiffuse, vUv );\n\t\t\tgl_FragColor = vec4(mix(vec3(1.), texel.rgb, intensity), texel.a);\n\t\t}"};function vC(e=5){const t=Math.floor(e)%2==0?Math.floor(e)+1:Math.floor(e),r=function(e){const t=Math.floor(e)%2==0?Math.floor(e)+1:Math.floor(e),r=t*t,n=Array(r).fill(0);let i=Math.floor(t/2),o=t-1;for(let e=1;e<=r;)-1===i&&o===t?(o=t-2,i=0):(o===t&&(o=0),i<0&&(i=t-1)),0===n[i*t+o]?(n[i*t+o]=e++,o++,i--):(o-=2,i++);return n}(t),n=r.length,i=new Uint8Array(4*n);for(let e=0;e<n;++e){const t=r[e],o=2*Math.PI*t/n,s=new br(Math.cos(o),Math.sin(o),0).normalize();i[4*e]=255*(.5*s.x+.5),i[4*e+1]=255*(.5*s.y+.5),i[4*e+2]=127,i[4*e+3]=255}const o=new Yo(i,t,t);return o.wrapS=ye,o.wrapT=ye,o.needsUpdate=!0,o}const bC={name:"PoissonDenoiseShader",defines:{SAMPLES:16,SAMPLE_VECTORS:yC(16,2,1),NORMAL_VECTOR_TYPE:1,DEPTH_VALUE_SOURCE:0},uniforms:{tDiffuse:{value:null},tNormal:{value:null},tDepth:{value:null},tNoise:{value:null},resolution:{value:new fr},cameraProjectionMatrixInverse:{value:new xn},lumaPhi:{value:5},depthPhi:{value:5},normalPhi:{value:5},radius:{value:4},index:{value:0}},vertexShader:"\n\n\t\tvarying vec2 vUv;\n\n\t\tvoid main() {\n\t\t\tvUv = uv;\n\t\t\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n\t\t}",fragmentShader:"\n\n\t\tvarying vec2 vUv;\n\n\t\tuniform sampler2D tDiffuse;\n\t\tuniform sampler2D tNormal;\n\t\tuniform sampler2D tDepth;\n\t\tuniform sampler2D tNoise;\n\t\tuniform vec2 resolution;\n\t\tuniform mat4 cameraProjectionMatrixInverse;\n\t\tuniform float lumaPhi;\n\t\tuniform float depthPhi;\n\t\tuniform float normalPhi;\n\t\tuniform float radius;\n\t\tuniform int index;\n\n\t\t#include <common>\n\t\t#include <packing>\n\n\t\t#ifndef SAMPLE_LUMINANCE\n\t\t#define SAMPLE_LUMINANCE dot(vec3(0.2125, 0.7154, 0.0721), a)\n\t\t#endif\n\n\t\t#ifndef FRAGMENT_OUTPUT\n\t\t#define FRAGMENT_OUTPUT vec4(denoised, 1.)\n\t\t#endif\n\n\t\tfloat getLuminance(const in vec3 a) {\n\t\t\treturn SAMPLE_LUMINANCE;\n\t\t}\n\n\t\tconst vec3 poissonDisk[SAMPLES] = SAMPLE_VECTORS;\n\n\t\tvec3 getViewPosition(const in vec2 screenPosition, const in float depth) {\n\t\t\tvec4 clipSpacePosition = vec4(vec3(screenPosition, depth) * 2.0 - 1.0, 1.0);\n\t\t\tvec4 viewSpacePosition = cameraProjectionMatrixInverse * clipSpacePosition;\n\t\t\treturn viewSpacePosition.xyz / viewSpacePosition.w;\n\t\t}\n\n\t\tfloat getDepth(const vec2 uv) {\n\t\t#if DEPTH_VALUE_SOURCE == 1\n\t\t\treturn textureLod(tDepth, uv.xy, 0.0).a;\n\t\t#else\n\t\t\treturn textureLod(tDepth, uv.xy, 0.0).r;\n\t\t#endif\n\t\t}\n\n\t\tfloat fetchDepth(const ivec2 uv) {\n\t\t\t#if DEPTH_VALUE_SOURCE == 1\n\t\t\t\treturn texelFetch(tDepth, uv.xy, 0).a;\n\t\t\t#else\n\t\t\t\treturn texelFetch(tDepth, uv.xy, 0).r;\n\t\t\t#endif\n\t\t}\n\n\t\tvec3 computeNormalFromDepth(const vec2 uv) {\n\t\t\tvec2 size = vec2(textureSize(tDepth, 0));\n\t\t\tivec2 p = ivec2(uv * size);\n\t\t\tfloat c0 = fetchDepth(p);\n\t\t\tfloat l2 = fetchDepth(p - ivec2(2, 0));\n\t\t\tfloat l1 = fetchDepth(p - ivec2(1, 0));\n\t\t\tfloat r1 = fetchDepth(p + ivec2(1, 0));\n\t\t\tfloat r2 = fetchDepth(p + ivec2(2, 0));\n\t\t\tfloat b2 = fetchDepth(p - ivec2(0, 2));\n\t\t\tfloat b1 = fetchDepth(p - ivec2(0, 1));\n\t\t\tfloat t1 = fetchDepth(p + ivec2(0, 1));\n\t\t\tfloat t2 = fetchDepth(p + ivec2(0, 2));\n\t\t\tfloat dl = abs((2.0 * l1 - l2) - c0);\n\t\t\tfloat dr = abs((2.0 * r1 - r2) - c0);\n\t\t\tfloat db = abs((2.0 * b1 - b2) - c0);\n\t\t\tfloat dt = abs((2.0 * t1 - t2) - c0);\n\t\t\tvec3 ce = getViewPosition(uv, c0).xyz;\n\t\t\tvec3 dpdx = (dl < dr) ?  ce - getViewPosition((uv - vec2(1.0 / size.x, 0.0)), l1).xyz\n\t\t\t\t\t\t\t\t\t: -ce + getViewPosition((uv + vec2(1.0 / size.x, 0.0)), r1).xyz;\n\t\t\tvec3 dpdy = (db < dt) ?  ce - getViewPosition((uv - vec2(0.0, 1.0 / size.y)), b1).xyz\n\t\t\t\t\t\t\t\t\t: -ce + getViewPosition((uv + vec2(0.0, 1.0 / size.y)), t1).xyz;\n\t\t\treturn normalize(cross(dpdx, dpdy));\n\t\t}\n\n\t\tvec3 getViewNormal(const vec2 uv) {\n\t\t#if NORMAL_VECTOR_TYPE == 2\n\t\t\treturn normalize(textureLod(tNormal, uv, 0.).rgb);\n\t\t#elif NORMAL_VECTOR_TYPE == 1\n\t\t\treturn unpackRGBToNormal(textureLod(tNormal, uv, 0.).rgb);\n\t\t#else\n\t\t\treturn computeNormalFromDepth(uv);\n\t\t#endif\n\t\t}\n\n\t\tvoid denoiseSample(in vec3 center, in vec3 viewNormal, in vec3 viewPos, in vec2 sampleUv, inout vec3 denoised, inout float totalWeight) {\n\t\t\tvec4 sampleTexel = textureLod(tDiffuse, sampleUv, 0.0);\n\t\t\tfloat sampleDepth = getDepth(sampleUv);\n\t\t\tvec3 sampleNormal = getViewNormal(sampleUv);\n\t\t\tvec3 neighborColor = sampleTexel.rgb;\n\t\t\tvec3 viewPosSample = getViewPosition(sampleUv, sampleDepth);\n\n\t\t\tfloat normalDiff = dot(viewNormal, sampleNormal);\n\t\t\tfloat normalSimilarity = pow(max(normalDiff, 0.), normalPhi);\n\t\t\tfloat lumaDiff = abs(getLuminance(neighborColor) - getLuminance(center));\n\t\t\tfloat lumaSimilarity = max(1.0 - lumaDiff / lumaPhi, 0.0);\n\t\t\tfloat depthDiff = abs(dot(viewPos - viewPosSample, viewNormal));\n\t\t\tfloat depthSimilarity = max(1. - depthDiff / depthPhi, 0.);\n\t\t\tfloat w = lumaSimilarity * depthSimilarity * normalSimilarity;\n\n\t\t\tdenoised += w * neighborColor;\n\t\t\ttotalWeight += w;\n\t\t}\n\n\t\tvoid main() {\n\t\t\tfloat depth = getDepth(vUv.xy);\n\t\t\tvec3 viewNormal = getViewNormal(vUv);\n\t\t\tif (depth == 1. || dot(viewNormal, viewNormal) == 0.) {\n\t\t\t\tdiscard;\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tvec4 texel = textureLod(tDiffuse, vUv, 0.0);\n\t\t\tvec3 center = texel.rgb;\n\t\t\tvec3 viewPos = getViewPosition(vUv, depth);\n\n\t\t\tvec2 noiseResolution = vec2(textureSize(tNoise, 0));\n\t\t\tvec2 noiseUv = vUv * resolution / noiseResolution;\n\t\t\tvec4 noiseTexel = textureLod(tNoise, noiseUv, 0.0);\n      \t\tvec2 noiseVec = vec2(sin(noiseTexel[index % 4] * 2. * PI), cos(noiseTexel[index % 4] * 2. * PI));\n    \t\tmat2 rotationMatrix = mat2(noiseVec.x, -noiseVec.y, noiseVec.x, noiseVec.y);\n\n\t\t\tfloat totalWeight = 1.0;\n\t\t\tvec3 denoised = texel.rgb;\n\t\t\tfor (int i = 0; i < SAMPLES; i++) {\n\t\t\t\tvec3 sampleDir = poissonDisk[i];\n\t\t\t\tvec2 offset = rotationMatrix * (sampleDir.xy * (1. + sampleDir.z * (radius - 1.)) / resolution);\n\t\t\t\tvec2 sampleUv = vUv + offset;\n\t\t\t\tdenoiseSample(center, viewNormal, viewPos, sampleUv, denoised, totalWeight);\n\t\t\t}\n\n\t\t\tif (totalWeight > 0.) {\n\t\t\t\tdenoised /= totalWeight;\n\t\t\t}\n\t\t\tgl_FragColor = FRAGMENT_OUTPUT;\n\t\t}"};function yC(e,t,r){const n=function(e,t,r){const n=[];for(let i=0;i<e;i++){const o=2*Math.PI*t*i/e,s=Math.pow(i/(e-1),r);n.push(new br(Math.cos(o),Math.sin(o),s))}return n}(e,t,r);let i="vec3[SAMPLES](";for(let t=0;t<e;t++){const r=n[t];i+=`vec3(${r.x}, ${r.y}, ${r.z})${t<e-1?",":")"}`}return i}class $C{constructor(e=Math){this.grad3=[[1,1,0],[-1,1,0],[1,-1,0],[-1,-1,0],[1,0,1],[-1,0,1],[1,0,-1],[-1,0,-1],[0,1,1],[0,-1,1],[0,1,-1],[0,-1,-1]],this.grad4=[[0,1,1,1],[0,1,1,-1],[0,1,-1,1],[0,1,-1,-1],[0,-1,1,1],[0,-1,1,-1],[0,-1,-1,1],[0,-1,-1,-1],[1,0,1,1],[1,0,1,-1],[1,0,-1,1],[1,0,-1,-1],[-1,0,1,1],[-1,0,1,-1],[-1,0,-1,1],[-1,0,-1,-1],[1,1,0,1],[1,1,0,-1],[1,-1,0,1],[1,-1,0,-1],[-1,1,0,1],[-1,1,0,-1],[-1,-1,0,1],[-1,-1,0,-1],[1,1,1,0],[1,1,-1,0],[1,-1,1,0],[1,-1,-1,0],[-1,1,1,0],[-1,1,-1,0],[-1,-1,1,0],[-1,-1,-1,0]],this.p=[];for(let t=0;t<256;t++)this.p[t]=Math.floor(256*e.random());this.perm=[];for(let e=0;e<512;e++)this.perm[e]=this.p[255&e];this.simplex=[[0,1,2,3],[0,1,3,2],[0,0,0,0],[0,2,3,1],[0,0,0,0],[0,0,0,0],[0,0,0,0],[1,2,3,0],[0,2,1,3],[0,0,0,0],[0,3,1,2],[0,3,2,1],[0,0,0,0],[0,0,0,0],[0,0,0,0],[1,3,2,0],[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0],[1,2,0,3],[0,0,0,0],[1,3,0,2],[0,0,0,0],[0,0,0,0],[0,0,0,0],[2,3,0,1],[2,3,1,0],[1,0,2,3],[1,0,3,2],[0,0,0,0],[0,0,0,0],[0,0,0,0],[2,0,3,1],[0,0,0,0],[2,1,3,0],[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0],[0,0,0,0],[2,0,1,3],[0,0,0,0],[0,0,0,0],[0,0,0,0],[3,0,1,2],[3,0,2,1],[0,0,0,0],[3,1,2,0],[2,1,0,3],[0,0,0,0],[0,0,0,0],[0,0,0,0],[3,1,0,2],[0,0,0,0],[3,2,0,1],[3,2,1,0]]}noise(e,t){let r,n,i;const o=(e+t)*(.5*(Math.sqrt(3)-1)),s=Math.floor(e+o),a=Math.floor(t+o),l=(3-Math.sqrt(3))/6,c=(s+a)*l,u=e-(s-c),d=t-(a-c);let h,p;u>d?(h=1,p=0):(h=0,p=1);const m=u-h+l,_=d-p+l,g=u-1+2*l,f=d-1+2*l,v=255&s,b=255&a,y=this.perm[v+this.perm[b]]%12,$=this.perm[v+h+this.perm[b+p]]%12,x=this.perm[v+1+this.perm[b+1]]%12;let S=.5-u*u-d*d;S<0?r=0:(S*=S,r=S*S*this._dot(this.grad3[y],u,d));let w=.5-m*m-_*_;w<0?n=0:(w*=w,n=w*w*this._dot(this.grad3[$],m,_));let A=.5-g*g-f*f;return A<0?i=0:(A*=A,i=A*A*this._dot(this.grad3[x],g,f)),70*(r+n+i)}noise3d(e,t,r){let n,i,o,s;const a=(e+t+r)*(1/3),l=Math.floor(e+a),c=Math.floor(t+a),u=Math.floor(r+a),d=1/6,h=(l+c+u)*d,p=e-(l-h),m=t-(c-h),_=r-(u-h);let g,f,v,b,y,$;p>=m?m>=_?(g=1,f=0,v=0,b=1,y=1,$=0):p>=_?(g=1,f=0,v=0,b=1,y=0,$=1):(g=0,f=0,v=1,b=1,y=0,$=1):m<_?(g=0,f=0,v=1,b=0,y=1,$=1):p<_?(g=0,f=1,v=0,b=0,y=1,$=1):(g=0,f=1,v=0,b=1,y=1,$=0);const x=p-g+d,S=m-f+d,w=_-v+d,A=p-b+2*d,C=m-y+2*d,E=_-$+2*d,I=p-1+.5,M=m-1+.5,k=_-1+.5,T=255&l,R=255&c,L=255&u,P=this.perm[T+this.perm[R+this.perm[L]]]%12,D=this.perm[T+g+this.perm[R+f+this.perm[L+v]]]%12,N=this.perm[T+b+this.perm[R+y+this.perm[L+$]]]%12,F=this.perm[T+1+this.perm[R+1+this.perm[L+1]]]%12;let O=.6-p*p-m*m-_*_;O<0?n=0:(O*=O,n=O*O*this._dot3(this.grad3[P],p,m,_));let B=.6-x*x-S*S-w*w;B<0?i=0:(B*=B,i=B*B*this._dot3(this.grad3[D],x,S,w));let U=.6-A*A-C*C-E*E;U<0?o=0:(U*=U,o=U*U*this._dot3(this.grad3[N],A,C,E));let V=.6-I*I-M*M-k*k;return V<0?s=0:(V*=V,s=V*V*this._dot3(this.grad3[F],I,M,k)),32*(n+i+o+s)}noise4d(e,t,r,n){const i=this.grad4,o=this.simplex,s=this.perm,a=(Math.sqrt(5)-1)/4,l=(5-Math.sqrt(5))/20;let c,u,d,h,p;const m=(e+t+r+n)*a,_=Math.floor(e+m),g=Math.floor(t+m),f=Math.floor(r+m),v=Math.floor(n+m),b=(_+g+f+v)*l,y=e-(_-b),$=t-(g-b),x=r-(f-b),S=n-(v-b),w=(y>$?32:0)+(y>x?16:0)+($>x?8:0)+(y>S?4:0)+($>S?2:0)+(x>S?1:0),A=o[w][0]>=3?1:0,C=o[w][1]>=3?1:0,E=o[w][2]>=3?1:0,I=o[w][3]>=3?1:0,M=o[w][0]>=2?1:0,k=o[w][1]>=2?1:0,T=o[w][2]>=2?1:0,R=o[w][3]>=2?1:0,L=o[w][0]>=1?1:0,P=o[w][1]>=1?1:0,D=o[w][2]>=1?1:0,N=o[w][3]>=1?1:0,F=y-A+l,O=$-C+l,B=x-E+l,U=S-I+l,V=y-M+2*l,z=$-k+2*l,H=x-T+2*l,G=S-R+2*l,j=y-L+3*l,J=$-P+3*l,W=x-D+3*l,Q=S-N+3*l,q=y-1+4*l,Y=$-1+4*l,X=x-1+4*l,K=S-1+4*l,Z=255&_,ee=255&g,te=255&f,re=255&v,ne=s[Z+s[ee+s[te+s[re]]]]%32,ie=s[Z+A+s[ee+C+s[te+E+s[re+I]]]]%32,oe=s[Z+M+s[ee+k+s[te+T+s[re+R]]]]%32,se=s[Z+L+s[ee+P+s[te+D+s[re+N]]]]%32,ae=s[Z+1+s[ee+1+s[te+1+s[re+1]]]]%32;let le=.6-y*y-$*$-x*x-S*S;le<0?c=0:(le*=le,c=le*le*this._dot4(i[ne],y,$,x,S));let ce=.6-F*F-O*O-B*B-U*U;ce<0?u=0:(ce*=ce,u=ce*ce*this._dot4(i[ie],F,O,B,U));let ue=.6-V*V-z*z-H*H-G*G;ue<0?d=0:(ue*=ue,d=ue*ue*this._dot4(i[oe],V,z,H,G));let de=.6-j*j-J*J-W*W-Q*Q;de<0?h=0:(de*=de,h=de*de*this._dot4(i[se],j,J,W,Q));let he=.6-q*q-Y*Y-X*X-K*K;return he<0?p=0:(he*=he,p=he*he*this._dot4(i[ae],q,Y,X,K)),27*(c+u+d+h+p)}_dot(e,t,r){return e[0]*t+e[1]*r}_dot3(e,t,r,n){return e[0]*t+e[1]*r+e[2]*n}_dot4(e,t,r,n,i){return e[0]*t+e[1]*r+e[2]*n+e[3]*i}}class xC extends V_{constructor(e,t,r=512,n=512,i,o,s){super(),this.width=r,this.height=n,this.clear=!0,this.camera=t,this.scene=e,this.output=0,this._renderGBuffer=!0,this._visibilityCache=[],this.blendIntensity=1,this.pdRings=2,this.pdRadiusExponent=2,this.pdSamples=16,this.gtaoNoiseTexture=vC(),this.pdNoiseTexture=this._generateNoise(),this.gtaoRenderTarget=new jr(this.width,this.height,{type:Fe}),this.pdRenderTarget=this.gtaoRenderTarget.clone(),this.gtaoMaterial=new no({defines:Object.assign({},_C.defines),uniforms:ro.clone(_C.uniforms),vertexShader:_C.vertexShader,fragmentShader:_C.fragmentShader,blending:0,depthTest:!1,depthWrite:!1}),this.gtaoMaterial.defines.PERSPECTIVE_CAMERA=this.camera.isPerspectiveCamera?1:0,this.gtaoMaterial.uniforms.tNoise.value=this.gtaoNoiseTexture,this.gtaoMaterial.uniforms.resolution.value.set(this.width,this.height),this.gtaoMaterial.uniforms.cameraNear.value=this.camera.near,this.gtaoMaterial.uniforms.cameraFar.value=this.camera.far,this.normalMaterial=new ll,this.normalMaterial.blending=0,this.pdMaterial=new no({defines:Object.assign({},bC.defines),uniforms:ro.clone(bC.uniforms),vertexShader:bC.vertexShader,fragmentShader:bC.fragmentShader,depthTest:!1,depthWrite:!1}),this.pdMaterial.uniforms.tDiffuse.value=this.gtaoRenderTarget.texture,this.pdMaterial.uniforms.tNoise.value=this.pdNoiseTexture,this.pdMaterial.uniforms.resolution.value.set(this.width,this.height),this.pdMaterial.uniforms.lumaPhi.value=10,this.pdMaterial.uniforms.depthPhi.value=2,this.pdMaterial.uniforms.normalPhi.value=3,this.pdMaterial.uniforms.radius.value=8,this.depthRenderMaterial=new no({defines:Object.assign({},gC.defines),uniforms:ro.clone(gC.uniforms),vertexShader:gC.vertexShader,fragmentShader:gC.fragmentShader,blending:0}),this.depthRenderMaterial.uniforms.cameraNear.value=this.camera.near,this.depthRenderMaterial.uniforms.cameraFar.value=this.camera.far,this.copyMaterial=new no({uniforms:ro.clone(sC.uniforms),vertexShader:sC.vertexShader,fragmentShader:sC.fragmentShader,transparent:!0,depthTest:!1,depthWrite:!1,blendSrc:K,blendDst:G,blendEquation:V,blendSrcAlpha:Y,blendDstAlpha:G,blendEquationAlpha:V}),this.blendMaterial=new no({uniforms:ro.clone(fC.uniforms),vertexShader:fC.vertexShader,fragmentShader:fC.fragmentShader,transparent:!0,depthTest:!1,depthWrite:!1,blending:5,blendSrc:K,blendDst:G,blendEquation:V,blendSrcAlpha:Y,blendDstAlpha:G,blendEquationAlpha:V}),this._fsQuad=new G_(null),this._originalClearColor=new mi,this.setGBuffer(i?i.depthTexture:void 0,i?i.normalTexture:void 0),void 0!==o&&this.updateGtaoMaterial(o),void 0!==s&&this.updatePdMaterial(s)}setSize(e,t){this.width=e,this.height=t,this.gtaoRenderTarget.setSize(e,t),this.normalRenderTarget.setSize(e,t),this.pdRenderTarget.setSize(e,t),this.gtaoMaterial.uniforms.resolution.value.set(e,t),this.gtaoMaterial.uniforms.cameraProjectionMatrix.value.copy(this.camera.projectionMatrix),this.gtaoMaterial.uniforms.cameraProjectionMatrixInverse.value.copy(this.camera.projectionMatrixInverse),this.pdMaterial.uniforms.resolution.value.set(e,t),this.pdMaterial.uniforms.cameraProjectionMatrixInverse.value.copy(this.camera.projectionMatrixInverse)}dispose(){this.gtaoNoiseTexture.dispose(),this.pdNoiseTexture.dispose(),this.normalRenderTarget.dispose(),this.gtaoRenderTarget.dispose(),this.pdRenderTarget.dispose(),this.normalMaterial.dispose(),this.pdMaterial.dispose(),this.copyMaterial.dispose(),this.depthRenderMaterial.dispose(),this._fsQuad.dispose()}get gtaoMap(){return this.pdRenderTarget.texture}setGBuffer(e,t){void 0!==e?(this.depthTexture=e,this.normalTexture=t,this._renderGBuffer=!1):(this.depthTexture=new Gs,this.depthTexture.format=Je,this.depthTexture.type=Ue,this.normalRenderTarget=new jr(this.width,this.height,{minFilter:Se,magFilter:Se,type:Fe,depthTexture:this.depthTexture}),this.normalTexture=this.normalRenderTarget.texture,this._renderGBuffer=!0);const r=this.normalTexture?1:0,n=this.depthTexture===this.normalTexture?"w":"x";this.gtaoMaterial.defines.NORMAL_VECTOR_TYPE=r,this.gtaoMaterial.defines.DEPTH_SWIZZLING=n,this.gtaoMaterial.uniforms.tNormal.value=this.normalTexture,this.gtaoMaterial.uniforms.tDepth.value=this.depthTexture,this.pdMaterial.defines.NORMAL_VECTOR_TYPE=r,this.pdMaterial.defines.DEPTH_SWIZZLING=n,this.pdMaterial.uniforms.tNormal.value=this.normalTexture,this.pdMaterial.uniforms.tDepth.value=this.depthTexture,this.depthRenderMaterial.uniforms.tDepth.value=this.normalRenderTarget.depthTexture}setSceneClipBox(e){e?(this.gtaoMaterial.needsUpdate=1!==this.gtaoMaterial.defines.SCENE_CLIP_BOX,this.gtaoMaterial.defines.SCENE_CLIP_BOX=1,this.gtaoMaterial.uniforms.sceneBoxMin.value.copy(e.min),this.gtaoMaterial.uniforms.sceneBoxMax.value.copy(e.max)):(this.gtaoMaterial.needsUpdate=0===this.gtaoMaterial.defines.SCENE_CLIP_BOX,this.gtaoMaterial.defines.SCENE_CLIP_BOX=0)}updateGtaoMaterial(e){void 0!==e.radius&&(this.gtaoMaterial.uniforms.radius.value=e.radius),void 0!==e.distanceExponent&&(this.gtaoMaterial.uniforms.distanceExponent.value=e.distanceExponent),void 0!==e.thickness&&(this.gtaoMaterial.uniforms.thickness.value=e.thickness),void 0!==e.distanceFallOff&&(this.gtaoMaterial.uniforms.distanceFallOff.value=e.distanceFallOff,this.gtaoMaterial.needsUpdate=!0),void 0!==e.scale&&(this.gtaoMaterial.uniforms.scale.value=e.scale),void 0!==e.samples&&e.samples!==this.gtaoMaterial.defines.SAMPLES&&(this.gtaoMaterial.defines.SAMPLES=e.samples,this.gtaoMaterial.needsUpdate=!0),void 0!==e.screenSpaceRadius&&(e.screenSpaceRadius?1:0)!==this.gtaoMaterial.defines.SCREEN_SPACE_RADIUS&&(this.gtaoMaterial.defines.SCREEN_SPACE_RADIUS=e.screenSpaceRadius?1:0,this.gtaoMaterial.needsUpdate=!0)}updatePdMaterial(e){let t=!1;void 0!==e.lumaPhi&&(this.pdMaterial.uniforms.lumaPhi.value=e.lumaPhi),void 0!==e.depthPhi&&(this.pdMaterial.uniforms.depthPhi.value=e.depthPhi),void 0!==e.normalPhi&&(this.pdMaterial.uniforms.normalPhi.value=e.normalPhi),void 0!==e.radius&&e.radius!==this.radius&&(this.pdMaterial.uniforms.radius.value=e.radius),void 0!==e.radiusExponent&&e.radiusExponent!==this.pdRadiusExponent&&(this.pdRadiusExponent=e.radiusExponent,t=!0),void 0!==e.rings&&e.rings!==this.pdRings&&(this.pdRings=e.rings,t=!0),void 0!==e.samples&&e.samples!==this.pdSamples&&(this.pdSamples=e.samples,t=!0),t&&(this.pdMaterial.defines.SAMPLES=this.pdSamples,this.pdMaterial.defines.SAMPLE_VECTORS=yC(this.pdSamples,this.pdRings,this.pdRadiusExponent),this.pdMaterial.needsUpdate=!0)}render(e,t,r){switch(this._renderGBuffer&&(this._overrideVisibility(),this._renderOverride(e,this.normalMaterial,this.normalRenderTarget,7829503,1),this._restoreVisibility()),this.gtaoMaterial.uniforms.cameraNear.value=this.camera.near,this.gtaoMaterial.uniforms.cameraFar.value=this.camera.far,this.gtaoMaterial.uniforms.cameraProjectionMatrix.value.copy(this.camera.projectionMatrix),this.gtaoMaterial.uniforms.cameraProjectionMatrixInverse.value.copy(this.camera.projectionMatrixInverse),this.gtaoMaterial.uniforms.cameraWorldMatrix.value.copy(this.camera.matrixWorld),this._renderPass(e,this.gtaoMaterial,this.gtaoRenderTarget,16777215,1),this.pdMaterial.uniforms.cameraProjectionMatrixInverse.value.copy(this.camera.projectionMatrixInverse),this._renderPass(e,this.pdMaterial,this.pdRenderTarget,16777215,1),this.output){case xC.OUTPUT.Off:break;case xC.OUTPUT.Diffuse:this.copyMaterial.uniforms.tDiffuse.value=r.texture,this.copyMaterial.blending=0,this._renderPass(e,this.copyMaterial,this.renderToScreen?null:t);break;case xC.OUTPUT.AO:this.copyMaterial.uniforms.tDiffuse.value=this.gtaoRenderTarget.texture,this.copyMaterial.blending=0,this._renderPass(e,this.copyMaterial,this.renderToScreen?null:t);break;case xC.OUTPUT.Denoise:this.copyMaterial.uniforms.tDiffuse.value=this.pdRenderTarget.texture,this.copyMaterial.blending=0,this._renderPass(e,this.copyMaterial,this.renderToScreen?null:t);break;case xC.OUTPUT.Depth:this.depthRenderMaterial.uniforms.cameraNear.value=this.camera.near,this.depthRenderMaterial.uniforms.cameraFar.value=this.camera.far,this._renderPass(e,this.depthRenderMaterial,this.renderToScreen?null:t);break;case xC.OUTPUT.Normal:this.copyMaterial.uniforms.tDiffuse.value=this.normalRenderTarget.texture,this.copyMaterial.blending=0,this._renderPass(e,this.copyMaterial,this.renderToScreen?null:t);break;case xC.OUTPUT.Default:this.copyMaterial.uniforms.tDiffuse.value=r.texture,this.copyMaterial.blending=0,this._renderPass(e,this.copyMaterial,this.renderToScreen?null:t),this.blendMaterial.uniforms.intensity.value=this.blendIntensity,this.blendMaterial.uniforms.tDiffuse.value=this.pdRenderTarget.texture,this._renderPass(e,this.blendMaterial,this.renderToScreen?null:t);break;default:console.warn("THREE.GTAOPass: Unknown output type.")}}_renderPass(e,t,r,n,i){e.getClearColor(this._originalClearColor);const o=e.getClearAlpha(),s=e.autoClear;e.setRenderTarget(r),e.autoClear=!1,null!=n&&(e.setClearColor(n),e.setClearAlpha(i||0),e.clear()),this._fsQuad.material=t,this._fsQuad.render(e),e.autoClear=s,e.setClearColor(this._originalClearColor),e.setClearAlpha(o)}_renderOverride(e,t,r,n,i){e.getClearColor(this._originalClearColor);const o=e.getClearAlpha(),s=e.autoClear;e.setRenderTarget(r),e.autoClear=!1,n=t.clearColor||n,i=t.clearAlpha||i,null!=n&&(e.setClearColor(n),e.setClearAlpha(i||0),e.clear()),this.scene.overrideMaterial=t,e.render(this.scene,this.camera),this.scene.overrideMaterial=null,e.autoClear=s,e.setClearColor(this._originalClearColor),e.setClearAlpha(o)}_overrideVisibility(){const e=this.scene,t=this._visibilityCache;e.traverse(function(e){(e.isPoints||e.isLine||e.isLine2)&&e.visible&&(e.visible=!1,t.push(e))})}_restoreVisibility(){const e=this._visibilityCache;for(let t=0;t<e.length;t++)e[t].visible=!0;e.length=0}_generateNoise(e=64){const t=new $C,r=new Uint8Array(e*e*4);for(let n=0;n<e;n++)for(let i=0;i<e;i++){const o=n,s=i;r[4*(n*e+i)]=255*(.5*t.noise(o,s)+.5),r[4*(n*e+i)+1]=255*(.5*t.noise(o+e,s)+.5),r[4*(n*e+i)+2]=255*(.5*t.noise(o,s+e)+.5),r[4*(n*e+i)+3]=255*(.5*t.noise(o+e,s+e)+.5)}const n=new Yo(r,e,e,Ge,ke);return n.wrapS=ye,n.wrapT=ye,n.needsUpdate=!0,n}}xC.OUTPUT={Off:-1,Default:0,Diffuse:1,Depth:2,Normal:3,AO:4,Denoise:5};Math.PI,Math.PI,Math.PI;class SC extends V_{constructor(e,t,r,n){super(),this.renderScene=t,this.renderCamera=r,this.selectedObjects=void 0!==n?n:[],this.visibleEdgeColor=new mi(1,1,1),this.hiddenEdgeColor=new mi(.1,.04,.02),this.edgeGlow=0,this.usePatternTexture=!1,this.patternTexture=null,this.edgeThickness=1,this.edgeStrength=3,this.downSampleRatio=2,this.pulsePeriod=0,this._visibilityCache=new Map,this._selectionCache=new Set,this.resolution=void 0!==e?new fr(e.x,e.y):new fr(256,256);const i=Math.round(this.resolution.x/this.downSampleRatio),o=Math.round(this.resolution.y/this.downSampleRatio);this.renderTargetMaskBuffer=new jr(this.resolution.x,this.resolution.y),this.renderTargetMaskBuffer.texture.name="OutlinePass.mask",this.renderTargetMaskBuffer.texture.generateMipmaps=!1,this.depthMaterial=new ul,this.depthMaterial.side=2,this.depthMaterial.depthPacking=Ut,this.depthMaterial.blending=0,this.prepareMaskMaterial=this._getPrepareMaskMaterial(),this.prepareMaskMaterial.side=2,this.prepareMaskMaterial.fragmentShader=function(e,t){const r=t.isPerspectiveCamera?"perspective":"orthographic";return e.replace(/DEPTH_TO_VIEW_Z/g,r+"DepthToViewZ")}(this.prepareMaskMaterial.fragmentShader,this.renderCamera),this.renderTargetDepthBuffer=new jr(this.resolution.x,this.resolution.y,{type:Fe}),this.renderTargetDepthBuffer.texture.name="OutlinePass.depth",this.renderTargetDepthBuffer.texture.generateMipmaps=!1,this.renderTargetMaskDownSampleBuffer=new jr(i,o,{type:Fe}),this.renderTargetMaskDownSampleBuffer.texture.name="OutlinePass.depthDownSample",this.renderTargetMaskDownSampleBuffer.texture.generateMipmaps=!1,this.renderTargetBlurBuffer1=new jr(i,o,{type:Fe}),this.renderTargetBlurBuffer1.texture.name="OutlinePass.blur1",this.renderTargetBlurBuffer1.texture.generateMipmaps=!1,this.renderTargetBlurBuffer2=new jr(Math.round(i/2),Math.round(o/2),{type:Fe}),this.renderTargetBlurBuffer2.texture.name="OutlinePass.blur2",this.renderTargetBlurBuffer2.texture.generateMipmaps=!1,this.edgeDetectionMaterial=this._getEdgeDetectionMaterial(),this.renderTargetEdgeBuffer1=new jr(i,o,{type:Fe}),this.renderTargetEdgeBuffer1.texture.name="OutlinePass.edge1",this.renderTargetEdgeBuffer1.texture.generateMipmaps=!1,this.renderTargetEdgeBuffer2=new jr(Math.round(i/2),Math.round(o/2),{type:Fe}),this.renderTargetEdgeBuffer2.texture.name="OutlinePass.edge2",this.renderTargetEdgeBuffer2.texture.generateMipmaps=!1;this.separableBlurMaterial1=this._getSeparableBlurMaterial(4),this.separableBlurMaterial1.uniforms.texSize.value.set(i,o),this.separableBlurMaterial1.uniforms.kernelRadius.value=1,this.separableBlurMaterial2=this._getSeparableBlurMaterial(4),this.separableBlurMaterial2.uniforms.texSize.value.set(Math.round(i/2),Math.round(o/2)),this.separableBlurMaterial2.uniforms.kernelRadius.value=4,this.overlayMaterial=this._getOverlayMaterial();const s=sC;this.copyUniforms=ro.clone(s.uniforms),this.materialCopy=new no({uniforms:this.copyUniforms,vertexShader:s.vertexShader,fragmentShader:s.fragmentShader,blending:0,depthTest:!1,depthWrite:!1}),this.enabled=!0,this.needsSwap=!1,this._oldClearColor=new mi,this.oldClearAlpha=1,this._fsQuad=new G_(null),this.tempPulseColor1=new mi,this.tempPulseColor2=new mi,this.textureMatrix=new xn}dispose(){this.renderTargetMaskBuffer.dispose(),this.renderTargetDepthBuffer.dispose(),this.renderTargetMaskDownSampleBuffer.dispose(),this.renderTargetBlurBuffer1.dispose(),this.renderTargetBlurBuffer2.dispose(),this.renderTargetEdgeBuffer1.dispose(),this.renderTargetEdgeBuffer2.dispose(),this.depthMaterial.dispose(),this.prepareMaskMaterial.dispose(),this.edgeDetectionMaterial.dispose(),this.separableBlurMaterial1.dispose(),this.separableBlurMaterial2.dispose(),this.overlayMaterial.dispose(),this.materialCopy.dispose(),this._fsQuad.dispose()}setSize(e,t){this.renderTargetMaskBuffer.setSize(e,t),this.renderTargetDepthBuffer.setSize(e,t);let r=Math.round(e/this.downSampleRatio),n=Math.round(t/this.downSampleRatio);this.renderTargetMaskDownSampleBuffer.setSize(r,n),this.renderTargetBlurBuffer1.setSize(r,n),this.renderTargetEdgeBuffer1.setSize(r,n),this.separableBlurMaterial1.uniforms.texSize.value.set(r,n),r=Math.round(r/2),n=Math.round(n/2),this.renderTargetBlurBuffer2.setSize(r,n),this.renderTargetEdgeBuffer2.setSize(r,n),this.separableBlurMaterial2.uniforms.texSize.value.set(r,n)}render(e,t,r,n,i){if(this.selectedObjects.length>0){e.getClearColor(this._oldClearColor),this.oldClearAlpha=e.getClearAlpha();const t=e.autoClear;e.autoClear=!1,i&&e.state.buffers.stencil.setTest(!1),e.setClearColor(16777215,1),this._updateSelectionCache(),this._changeVisibilityOfSelectedObjects(!1);const n=this.renderScene.background,o=this.renderScene.overrideMaterial;if(this.renderScene.background=null,this.renderScene.overrideMaterial=this.depthMaterial,e.setRenderTarget(this.renderTargetDepthBuffer),e.clear(),e.render(this.renderScene,this.renderCamera),this._changeVisibilityOfSelectedObjects(!0),this._visibilityCache.clear(),this._updateTextureMatrix(),this._changeVisibilityOfNonSelectedObjects(!1),this.renderScene.overrideMaterial=this.prepareMaskMaterial,this.prepareMaskMaterial.uniforms.cameraNearFar.value.set(this.renderCamera.near,this.renderCamera.far),this.prepareMaskMaterial.uniforms.depthTexture.value=this.renderTargetDepthBuffer.texture,this.prepareMaskMaterial.uniforms.textureMatrix.value=this.textureMatrix,e.setRenderTarget(this.renderTargetMaskBuffer),e.clear(),e.render(this.renderScene,this.renderCamera),this._changeVisibilityOfNonSelectedObjects(!0),this._visibilityCache.clear(),this._selectionCache.clear(),this.renderScene.background=n,this.renderScene.overrideMaterial=o,this._fsQuad.material=this.materialCopy,this.copyUniforms.tDiffuse.value=this.renderTargetMaskBuffer.texture,e.setRenderTarget(this.renderTargetMaskDownSampleBuffer),e.clear(),this._fsQuad.render(e),this.tempPulseColor1.copy(this.visibleEdgeColor),this.tempPulseColor2.copy(this.hiddenEdgeColor),this.pulsePeriod>0){const e=.625+.75*Math.cos(.01*performance.now()/this.pulsePeriod)/2;this.tempPulseColor1.multiplyScalar(e),this.tempPulseColor2.multiplyScalar(e)}this._fsQuad.material=this.edgeDetectionMaterial,this.edgeDetectionMaterial.uniforms.maskTexture.value=this.renderTargetMaskDownSampleBuffer.texture,this.edgeDetectionMaterial.uniforms.texSize.value.set(this.renderTargetMaskDownSampleBuffer.width,this.renderTargetMaskDownSampleBuffer.height),this.edgeDetectionMaterial.uniforms.visibleEdgeColor.value=this.tempPulseColor1,this.edgeDetectionMaterial.uniforms.hiddenEdgeColor.value=this.tempPulseColor2,e.setRenderTarget(this.renderTargetEdgeBuffer1),e.clear(),this._fsQuad.render(e),this._fsQuad.material=this.separableBlurMaterial1,this.separableBlurMaterial1.uniforms.colorTexture.value=this.renderTargetEdgeBuffer1.texture,this.separableBlurMaterial1.uniforms.direction.value=SC.BlurDirectionX,this.separableBlurMaterial1.uniforms.kernelRadius.value=this.edgeThickness,e.setRenderTarget(this.renderTargetBlurBuffer1),e.clear(),this._fsQuad.render(e),this.separableBlurMaterial1.uniforms.colorTexture.value=this.renderTargetBlurBuffer1.texture,this.separableBlurMaterial1.uniforms.direction.value=SC.BlurDirectionY,e.setRenderTarget(this.renderTargetEdgeBuffer1),e.clear(),this._fsQuad.render(e),this._fsQuad.material=this.separableBlurMaterial2,this.separableBlurMaterial2.uniforms.colorTexture.value=this.renderTargetEdgeBuffer1.texture,this.separableBlurMaterial2.uniforms.direction.value=SC.BlurDirectionX,e.setRenderTarget(this.renderTargetBlurBuffer2),e.clear(),this._fsQuad.render(e),this.separableBlurMaterial2.uniforms.colorTexture.value=this.renderTargetBlurBuffer2.texture,this.separableBlurMaterial2.uniforms.direction.value=SC.BlurDirectionY,e.setRenderTarget(this.renderTargetEdgeBuffer2),e.clear(),this._fsQuad.render(e),this._fsQuad.material=this.overlayMaterial,this.overlayMaterial.uniforms.maskTexture.value=this.renderTargetMaskBuffer.texture,this.overlayMaterial.uniforms.edgeTexture1.value=this.renderTargetEdgeBuffer1.texture,this.overlayMaterial.uniforms.edgeTexture2.value=this.renderTargetEdgeBuffer2.texture,this.overlayMaterial.uniforms.patternTexture.value=this.patternTexture,this.overlayMaterial.uniforms.edgeStrength.value=this.edgeStrength,this.overlayMaterial.uniforms.edgeGlow.value=this.edgeGlow,this.overlayMaterial.uniforms.usePatternTexture.value=this.usePatternTexture,i&&e.state.buffers.stencil.setTest(!0),e.setRenderTarget(r),this._fsQuad.render(e),e.setClearColor(this._oldClearColor,this.oldClearAlpha),e.autoClear=t}this.renderToScreen&&(this._fsQuad.material=this.materialCopy,this.copyUniforms.tDiffuse.value=r.texture,e.setRenderTarget(null),this._fsQuad.render(e))}_updateSelectionCache(){const e=this._selectionCache;function t(t){t.isMesh&&e.add(t)}e.clear();for(let e=0;e<this.selectedObjects.length;e++){this.selectedObjects[e].traverse(t)}}_changeVisibilityOfSelectedObjects(e){const t=this._visibilityCache;for(const r of this._selectionCache)!0===e?r.visible=t.get(r):(t.set(r,r.visible),r.visible=e)}_changeVisibilityOfNonSelectedObjects(e){const t=this._visibilityCache,r=this._selectionCache;this.renderScene.traverse(function(n){if(n.isPoints||n.isLine||n.isLine2)!0===e?n.visible=t.get(n):(t.set(n,n.visible),n.visible=e);else if((n.isMesh||n.isSprite)&&!r.has(n)){const r=n.visible;!1!==e&&!0!==t.get(n)||(n.visible=e),t.set(n,r)}})}_updateTextureMatrix(){this.textureMatrix.set(.5,0,0,.5,0,.5,0,.5,0,0,.5,.5,0,0,0,1),this.textureMatrix.multiply(this.renderCamera.projectionMatrix),this.textureMatrix.multiply(this.renderCamera.matrixWorldInverse)}_getPrepareMaskMaterial(){return new no({uniforms:{depthTexture:{value:null},cameraNearFar:{value:new fr(.5,.5)},textureMatrix:{value:null}},vertexShader:"#include <batching_pars_vertex>\n\t\t\t\t#include <morphtarget_pars_vertex>\n\t\t\t\t#include <skinning_pars_vertex>\n\n\t\t\t\tvarying vec4 projTexCoord;\n\t\t\t\tvarying vec4 vPosition;\n\t\t\t\tuniform mat4 textureMatrix;\n\n\t\t\t\tvoid main() {\n\n\t\t\t\t\t#include <batching_vertex>\n\t\t\t\t\t#include <skinbase_vertex>\n\t\t\t\t\t#include <begin_vertex>\n\t\t\t\t\t#include <morphtarget_vertex>\n\t\t\t\t\t#include <skinning_vertex>\n\t\t\t\t\t#include <project_vertex>\n\n\t\t\t\t\tvPosition = mvPosition;\n\n\t\t\t\t\tvec4 worldPosition = vec4( transformed, 1.0 );\n\n\t\t\t\t\t#ifdef USE_INSTANCING\n\n\t\t\t\t\t\tworldPosition = instanceMatrix * worldPosition;\n\n\t\t\t\t\t#endif\n\n\t\t\t\t\tworldPosition = modelMatrix * worldPosition;\n\n\t\t\t\t\tprojTexCoord = textureMatrix * worldPosition;\n\n\t\t\t\t}",fragmentShader:"#include <packing>\n\t\t\t\tvarying vec4 vPosition;\n\t\t\t\tvarying vec4 projTexCoord;\n\t\t\t\tuniform sampler2D depthTexture;\n\t\t\t\tuniform vec2 cameraNearFar;\n\n\t\t\t\tvoid main() {\n\n\t\t\t\t\tfloat depth = unpackRGBAToDepth(texture2DProj( depthTexture, projTexCoord ));\n\t\t\t\t\tfloat viewZ = - DEPTH_TO_VIEW_Z( depth, cameraNearFar.x, cameraNearFar.y );\n\t\t\t\t\tfloat depthTest = (-vPosition.z > viewZ) ? 1.0 : 0.0;\n\t\t\t\t\tgl_FragColor = vec4(0.0, depthTest, 1.0, 1.0);\n\n\t\t\t\t}"})}_getEdgeDetectionMaterial(){return new no({uniforms:{maskTexture:{value:null},texSize:{value:new fr(.5,.5)},visibleEdgeColor:{value:new br(1,1,1)},hiddenEdgeColor:{value:new br(1,1,1)}},vertexShader:"varying vec2 vUv;\n\n\t\t\t\tvoid main() {\n\t\t\t\t\tvUv = uv;\n\t\t\t\t\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n\t\t\t\t}",fragmentShader:"varying vec2 vUv;\n\n\t\t\t\tuniform sampler2D maskTexture;\n\t\t\t\tuniform vec2 texSize;\n\t\t\t\tuniform vec3 visibleEdgeColor;\n\t\t\t\tuniform vec3 hiddenEdgeColor;\n\n\t\t\t\tvoid main() {\n\t\t\t\t\tvec2 invSize = 1.0 / texSize;\n\t\t\t\t\tvec4 uvOffset = vec4(1.0, 0.0, 0.0, 1.0) * vec4(invSize, invSize);\n\t\t\t\t\tvec4 c1 = texture2D( maskTexture, vUv + uvOffset.xy);\n\t\t\t\t\tvec4 c2 = texture2D( maskTexture, vUv - uvOffset.xy);\n\t\t\t\t\tvec4 c3 = texture2D( maskTexture, vUv + uvOffset.yw);\n\t\t\t\t\tvec4 c4 = texture2D( maskTexture, vUv - uvOffset.yw);\n\t\t\t\t\tfloat diff1 = (c1.r - c2.r)*0.5;\n\t\t\t\t\tfloat diff2 = (c3.r - c4.r)*0.5;\n\t\t\t\t\tfloat d = length( vec2(diff1, diff2) );\n\t\t\t\t\tfloat a1 = min(c1.g, c2.g);\n\t\t\t\t\tfloat a2 = min(c3.g, c4.g);\n\t\t\t\t\tfloat visibilityFactor = min(a1, a2);\n\t\t\t\t\tvec3 edgeColor = 1.0 - visibilityFactor > 0.001 ? visibleEdgeColor : hiddenEdgeColor;\n\t\t\t\t\tgl_FragColor = vec4(edgeColor, 1.0) * vec4(d);\n\t\t\t\t}"})}_getSeparableBlurMaterial(e){return new no({defines:{MAX_RADIUS:e},uniforms:{colorTexture:{value:null},texSize:{value:new fr(.5,.5)},direction:{value:new fr(.5,.5)},kernelRadius:{value:1}},vertexShader:"varying vec2 vUv;\n\n\t\t\t\tvoid main() {\n\t\t\t\t\tvUv = uv;\n\t\t\t\t\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n\t\t\t\t}",fragmentShader:"#include <common>\n\t\t\t\tvarying vec2 vUv;\n\t\t\t\tuniform sampler2D colorTexture;\n\t\t\t\tuniform vec2 texSize;\n\t\t\t\tuniform vec2 direction;\n\t\t\t\tuniform float kernelRadius;\n\n\t\t\t\tfloat gaussianPdf(in float x, in float sigma) {\n\t\t\t\t\treturn 0.39894 * exp( -0.5 * x * x/( sigma * sigma))/sigma;\n\t\t\t\t}\n\n\t\t\t\tvoid main() {\n\t\t\t\t\tvec2 invSize = 1.0 / texSize;\n\t\t\t\t\tfloat sigma = kernelRadius/2.0;\n\t\t\t\t\tfloat weightSum = gaussianPdf(0.0, sigma);\n\t\t\t\t\tvec4 diffuseSum = texture2D( colorTexture, vUv) * weightSum;\n\t\t\t\t\tvec2 delta = direction * invSize * kernelRadius/float(MAX_RADIUS);\n\t\t\t\t\tvec2 uvOffset = delta;\n\t\t\t\t\tfor( int i = 1; i <= MAX_RADIUS; i ++ ) {\n\t\t\t\t\t\tfloat x = kernelRadius * float(i) / float(MAX_RADIUS);\n\t\t\t\t\t\tfloat w = gaussianPdf(x, sigma);\n\t\t\t\t\t\tvec4 sample1 = texture2D( colorTexture, vUv + uvOffset);\n\t\t\t\t\t\tvec4 sample2 = texture2D( colorTexture, vUv - uvOffset);\n\t\t\t\t\t\tdiffuseSum += ((sample1 + sample2) * w);\n\t\t\t\t\t\tweightSum += (2.0 * w);\n\t\t\t\t\t\tuvOffset += delta;\n\t\t\t\t\t}\n\t\t\t\t\tgl_FragColor = diffuseSum/weightSum;\n\t\t\t\t}"})}_getOverlayMaterial(){return new no({uniforms:{maskTexture:{value:null},edgeTexture1:{value:null},edgeTexture2:{value:null},patternTexture:{value:null},edgeStrength:{value:1},edgeGlow:{value:1},usePatternTexture:{value:0}},vertexShader:"varying vec2 vUv;\n\n\t\t\t\tvoid main() {\n\t\t\t\t\tvUv = uv;\n\t\t\t\t\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n\t\t\t\t}",fragmentShader:"varying vec2 vUv;\n\n\t\t\t\tuniform sampler2D maskTexture;\n\t\t\t\tuniform sampler2D edgeTexture1;\n\t\t\t\tuniform sampler2D edgeTexture2;\n\t\t\t\tuniform sampler2D patternTexture;\n\t\t\t\tuniform float edgeStrength;\n\t\t\t\tuniform float edgeGlow;\n\t\t\t\tuniform bool usePatternTexture;\n\n\t\t\t\tvoid main() {\n\t\t\t\t\tvec4 edgeValue1 = texture2D(edgeTexture1, vUv);\n\t\t\t\t\tvec4 edgeValue2 = texture2D(edgeTexture2, vUv);\n\t\t\t\t\tvec4 maskColor = texture2D(maskTexture, vUv);\n\t\t\t\t\tvec4 patternColor = texture2D(patternTexture, 6.0 * vUv);\n\t\t\t\t\tfloat visibilityFactor = 1.0 - maskColor.g > 0.0 ? 1.0 : 0.5;\n\t\t\t\t\tvec4 edgeValue = edgeValue1 + edgeValue2 * edgeGlow;\n\t\t\t\t\tvec4 finalColor = edgeStrength * maskColor.r * edgeValue;\n\t\t\t\t\tif(usePatternTexture)\n\t\t\t\t\t\tfinalColor += + visibilityFactor * (1.0 - maskColor.r) * (1.0 - patternColor.r);\n\t\t\t\t\tgl_FragColor = finalColor;\n\t\t\t\t}",blending:2,depthTest:!1,depthWrite:!1,transparent:!0})}}SC.BlurDirectionX=new fr(1,0),SC.BlurDirectionY=new fr(0,1);const wC={name:"OutputShader",uniforms:{tDiffuse:{value:null},toneMappingExposure:{value:1}},vertexShader:"\n\t\tprecision highp float;\n\n\t\tuniform mat4 modelViewMatrix;\n\t\tuniform mat4 projectionMatrix;\n\n\t\tattribute vec3 position;\n\t\tattribute vec2 uv;\n\n\t\tvarying vec2 vUv;\n\n\t\tvoid main() {\n\n\t\t\tvUv = uv;\n\t\t\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n\n\t\t}",fragmentShader:"\n\n\t\tprecision highp float;\n\n\t\tuniform sampler2D tDiffuse;\n\n\t\t#include <tonemapping_pars_fragment>\n\t\t#include <colorspace_pars_fragment>\n\n\t\tvarying vec2 vUv;\n\n\t\tvoid main() {\n\n\t\t\tgl_FragColor = texture2D( tDiffuse, vUv );\n\n\t\t\t// tone mapping\n\n\t\t\t#ifdef LINEAR_TONE_MAPPING\n\n\t\t\t\tgl_FragColor.rgb = LinearToneMapping( gl_FragColor.rgb );\n\n\t\t\t#elif defined( REINHARD_TONE_MAPPING )\n\n\t\t\t\tgl_FragColor.rgb = ReinhardToneMapping( gl_FragColor.rgb );\n\n\t\t\t#elif defined( CINEON_TONE_MAPPING )\n\n\t\t\t\tgl_FragColor.rgb = CineonToneMapping( gl_FragColor.rgb );\n\n\t\t\t#elif defined( ACES_FILMIC_TONE_MAPPING )\n\n\t\t\t\tgl_FragColor.rgb = ACESFilmicToneMapping( gl_FragColor.rgb );\n\n\t\t\t#elif defined( AGX_TONE_MAPPING )\n\n\t\t\t\tgl_FragColor.rgb = AgXToneMapping( gl_FragColor.rgb );\n\n\t\t\t#elif defined( NEUTRAL_TONE_MAPPING )\n\n\t\t\t\tgl_FragColor.rgb = NeutralToneMapping( gl_FragColor.rgb );\n\n\t\t\t#elif defined( CUSTOM_TONE_MAPPING )\n\n\t\t\t\tgl_FragColor.rgb = CustomToneMapping( gl_FragColor.rgb );\n\n\t\t\t#endif\n\n\t\t\t// color space\n\n\t\t\t#ifdef SRGB_TRANSFER\n\n\t\t\t\tgl_FragColor = sRGBTransferOETF( gl_FragColor );\n\n\t\t\t#endif\n\n\t\t}"};class AC extends V_{constructor(){super(),this.uniforms=ro.clone(wC.uniforms),this.material=new il({name:wC.name,uniforms:this.uniforms,vertexShader:wC.vertexShader,fragmentShader:wC.fragmentShader}),this._fsQuad=new G_(this.material),this._outputColorSpace=null,this._toneMapping=null}render(e,t,r){this.uniforms.tDiffuse.value=r.texture,this.uniforms.toneMappingExposure.value=e.toneMappingExposure,this._outputColorSpace===e.outputColorSpace&&this._toneMapping===e.toneMapping||(this._outputColorSpace=e.outputColorSpace,this._toneMapping=e.toneMapping,this.material.defines={},Rr.getTransfer(this._outputColorSpace)===jt&&(this.material.defines.SRGB_TRANSFER=""),1===this._toneMapping?this.material.defines.LINEAR_TONE_MAPPING="":2===this._toneMapping?this.material.defines.REINHARD_TONE_MAPPING="":3===this._toneMapping?this.material.defines.CINEON_TONE_MAPPING="":4===this._toneMapping?this.material.defines.ACES_FILMIC_TONE_MAPPING="":6===this._toneMapping?this.material.defines.AGX_TONE_MAPPING="":7===this._toneMapping?this.material.defines.NEUTRAL_TONE_MAPPING="":5===this._toneMapping&&(this.material.defines.CUSTOM_TONE_MAPPING=""),this.material.needsUpdate=!0),!0===this.renderToScreen?(e.setRenderTarget(null),this._fsQuad.render(e)):(e.setRenderTarget(t),this.clear&&e.clear(e.autoClearColor,e.autoClearDepth,e.autoClearStencil),this._fsQuad.render(e))}dispose(){this.material.dispose(),this._fsQuad.dispose()}}class CC extends V_{constructor(e,t,r=null,n=null,i=null){super(),this.scene=e,this.camera=t,this.overrideMaterial=r,this.clearColor=n,this.clearAlpha=i,this.clear=!0,this.clearDepth=!1,this.needsSwap=!1,this._oldClearColor=new mi}render(e,t,r){const n=e.autoClear;let i,o;e.autoClear=!1,null!==this.overrideMaterial&&(o=this.scene.overrideMaterial,this.scene.overrideMaterial=this.overrideMaterial),null!==this.clearColor&&(e.getClearColor(this._oldClearColor),e.setClearColor(this.clearColor,e.getClearAlpha())),null!==this.clearAlpha&&(i=e.getClearAlpha(),e.setClearAlpha(this.clearAlpha)),1==this.clearDepth&&e.clearDepth(),e.setRenderTarget(this.renderToScreen?null:r),!0===this.clear&&e.clear(e.autoClearColor,e.autoClearDepth,e.autoClearStencil),e.render(this.scene,this.camera),null!==this.clearColor&&e.setClearColor(this._oldClearColor),null!==this.clearAlpha&&e.setClearAlpha(i),null!==this.overrideMaterial&&(this.scene.overrideMaterial=o),e.autoClear=n}}const EC={name:"SAOShader",defines:{NUM_SAMPLES:7,NUM_RINGS:4,DIFFUSE_TEXTURE:0,PERSPECTIVE_CAMERA:1},uniforms:{tDepth:{value:null},tDiffuse:{value:null},tNormal:{value:null},size:{value:new fr(512,512)},cameraNear:{value:1},cameraFar:{value:100},cameraProjectionMatrix:{value:new xn},cameraInverseProjectionMatrix:{value:new xn},scale:{value:1},intensity:{value:.1},bias:{value:.5},minResolution:{value:0},kernelRadius:{value:100},randomSeed:{value:0}},vertexShader:"\n\n\t\tvarying vec2 vUv;\n\n\t\tvoid main() {\n\t\t\tvUv = uv;\n\t\t\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n\t\t}",fragmentShader:"\n\t\t#include <common>\n\n\t\tvarying vec2 vUv;\n\n\t\t#if DIFFUSE_TEXTURE == 1\n\t\tuniform sampler2D tDiffuse;\n\t\t#endif\n\n\t\tuniform highp sampler2D tDepth;\n\t\tuniform highp sampler2D tNormal;\n\n\t\tuniform float cameraNear;\n\t\tuniform float cameraFar;\n\t\tuniform mat4 cameraProjectionMatrix;\n\t\tuniform mat4 cameraInverseProjectionMatrix;\n\n\t\tuniform float scale;\n\t\tuniform float intensity;\n\t\tuniform float bias;\n\t\tuniform float kernelRadius;\n\t\tuniform float minResolution;\n\t\tuniform vec2 size;\n\t\tuniform float randomSeed;\n\n\t\t// RGBA depth\n\n\t\t#include <packing>\n\n\t\tvec4 getDefaultColor( const in vec2 screenPosition ) {\n\t\t\t#if DIFFUSE_TEXTURE == 1\n\t\t\treturn texture2D( tDiffuse, vUv );\n\t\t\t#else\n\t\t\treturn vec4( 1.0 );\n\t\t\t#endif\n\t\t}\n\n\t\tfloat getDepth( const in vec2 screenPosition ) {\n\t\t\treturn texture2D( tDepth, screenPosition ).x;\n\t\t}\n\n\t\tfloat getViewZ( const in float depth ) {\n\t\t\t#if PERSPECTIVE_CAMERA == 1\n\t\t\treturn perspectiveDepthToViewZ( depth, cameraNear, cameraFar );\n\t\t\t#else\n\t\t\treturn orthographicDepthToViewZ( depth, cameraNear, cameraFar );\n\t\t\t#endif\n\t\t}\n\n\t\tvec3 getViewPosition( const in vec2 screenPosition, const in float depth, const in float viewZ ) {\n\t\t\tfloat clipW = cameraProjectionMatrix[2][3] * viewZ + cameraProjectionMatrix[3][3];\n\t\t\tvec4 clipPosition = vec4( ( vec3( screenPosition, depth ) - 0.5 ) * 2.0, 1.0 );\n\t\t\tclipPosition *= clipW; // unprojection.\n\n\t\t\treturn ( cameraInverseProjectionMatrix * clipPosition ).xyz;\n\t\t}\n\n\t\tvec3 getViewNormal( const in vec3 viewPosition, const in vec2 screenPosition ) {\n\t\t\treturn unpackRGBToNormal( texture2D( tNormal, screenPosition ).xyz );\n\t\t}\n\n\t\tfloat scaleDividedByCameraFar;\n\t\tfloat minResolutionMultipliedByCameraFar;\n\n\t\tfloat getOcclusion( const in vec3 centerViewPosition, const in vec3 centerViewNormal, const in vec3 sampleViewPosition ) {\n\t\t\tvec3 viewDelta = sampleViewPosition - centerViewPosition;\n\t\t\tfloat viewDistance = length( viewDelta );\n\t\t\tfloat scaledScreenDistance = scaleDividedByCameraFar * viewDistance;\n\n\t\t\treturn max(0.0, (dot(centerViewNormal, viewDelta) - minResolutionMultipliedByCameraFar) / scaledScreenDistance - bias) / (1.0 + pow2( scaledScreenDistance ) );\n\t\t}\n\n\t\t// moving costly divides into consts\n\t\tconst float ANGLE_STEP = PI2 * float( NUM_RINGS ) / float( NUM_SAMPLES );\n\t\tconst float INV_NUM_SAMPLES = 1.0 / float( NUM_SAMPLES );\n\n\t\tfloat getAmbientOcclusion( const in vec3 centerViewPosition ) {\n\t\t\t// precompute some variables require in getOcclusion.\n\t\t\tscaleDividedByCameraFar = scale / cameraFar;\n\t\t\tminResolutionMultipliedByCameraFar = minResolution * cameraFar;\n\t\t\tvec3 centerViewNormal = getViewNormal( centerViewPosition, vUv );\n\n\t\t\t// jsfiddle that shows sample pattern: https://jsfiddle.net/a16ff1p7/\n\t\t\tfloat angle = rand( vUv + randomSeed ) * PI2;\n\t\t\tvec2 radius = vec2( kernelRadius * INV_NUM_SAMPLES ) / size;\n\t\t\tvec2 radiusStep = radius;\n\n\t\t\tfloat occlusionSum = 0.0;\n\t\t\tfloat weightSum = 0.0;\n\n\t\t\tfor( int i = 0; i < NUM_SAMPLES; i ++ ) {\n\t\t\t\tvec2 sampleUv = vUv + vec2( cos( angle ), sin( angle ) ) * radius;\n\t\t\t\tradius += radiusStep;\n\t\t\t\tangle += ANGLE_STEP;\n\n\t\t\t\tfloat sampleDepth = getDepth( sampleUv );\n\t\t\t\tif( sampleDepth >= ( 1.0 - EPSILON ) ) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\n\t\t\t\tfloat sampleViewZ = getViewZ( sampleDepth );\n\t\t\t\tvec3 sampleViewPosition = getViewPosition( sampleUv, sampleDepth, sampleViewZ );\n\t\t\t\tocclusionSum += getOcclusion( centerViewPosition, centerViewNormal, sampleViewPosition );\n\t\t\t\tweightSum += 1.0;\n\t\t\t}\n\n\t\t\tif( weightSum == 0.0 ) discard;\n\n\t\t\treturn occlusionSum * ( intensity / weightSum );\n\t\t}\n\n\t\tvoid main() {\n\t\t\tfloat centerDepth = getDepth( vUv );\n\t\t\tif( centerDepth >= ( 1.0 - EPSILON ) ) {\n\t\t\t\tdiscard;\n\t\t\t}\n\n\t\t\tfloat centerViewZ = getViewZ( centerDepth );\n\t\t\tvec3 viewPosition = getViewPosition( vUv, centerDepth, centerViewZ );\n\n\t\t\tfloat ambientOcclusion = getAmbientOcclusion( viewPosition );\n\n\t\t\tgl_FragColor = getDefaultColor( vUv );\n\t\t\tgl_FragColor.xyz *=  1.0 - ambientOcclusion;\n\t\t}"},IC={name:"DepthLimitedBlurShader",defines:{KERNEL_RADIUS:4,DEPTH_PACKING:1,PERSPECTIVE_CAMERA:1},uniforms:{tDiffuse:{value:null},size:{value:new fr(512,512)},sampleUvOffsets:{value:[new fr(0,0)]},sampleWeights:{value:[1]},tDepth:{value:null},cameraNear:{value:10},cameraFar:{value:1e3},depthCutoff:{value:10}},vertexShader:"\n\n\t\t#include <common>\n\n\t\tuniform vec2 size;\n\n\t\tvarying vec2 vUv;\n\t\tvarying vec2 vInvSize;\n\n\t\tvoid main() {\n\t\t\tvUv = uv;\n\t\t\tvInvSize = 1.0 / size;\n\n\t\t\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n\t\t}",fragmentShader:"\n\n\t\t#include <common>\n\t\t#include <packing>\n\n\t\tuniform sampler2D tDiffuse;\n\t\tuniform sampler2D tDepth;\n\n\t\tuniform float cameraNear;\n\t\tuniform float cameraFar;\n\t\tuniform float depthCutoff;\n\n\t\tuniform vec2 sampleUvOffsets[ KERNEL_RADIUS + 1 ];\n\t\tuniform float sampleWeights[ KERNEL_RADIUS + 1 ];\n\n\t\tvarying vec2 vUv;\n\t\tvarying vec2 vInvSize;\n\n\t\tfloat getDepth( const in vec2 screenPosition ) {\n\t\t\t#if DEPTH_PACKING == 1\n\t\t\treturn unpackRGBAToDepth( texture2D( tDepth, screenPosition ) );\n\t\t\t#else\n\t\t\treturn texture2D( tDepth, screenPosition ).x;\n\t\t\t#endif\n\t\t}\n\n\t\tfloat getViewZ( const in float depth ) {\n\t\t\t#if PERSPECTIVE_CAMERA == 1\n\t\t\treturn perspectiveDepthToViewZ( depth, cameraNear, cameraFar );\n\t\t\t#else\n\t\t\treturn orthographicDepthToViewZ( depth, cameraNear, cameraFar );\n\t\t\t#endif\n\t\t}\n\n\t\tvoid main() {\n\t\t\tfloat depth = getDepth( vUv );\n\t\t\tif( depth >= ( 1.0 - EPSILON ) ) {\n\t\t\t\tdiscard;\n\t\t\t}\n\n\t\t\tfloat centerViewZ = -getViewZ( depth );\n\t\t\tbool rBreak = false, lBreak = false;\n\n\t\t\tfloat weightSum = sampleWeights[0];\n\t\t\tvec4 diffuseSum = texture2D( tDiffuse, vUv ) * weightSum;\n\n\t\t\tfor( int i = 1; i <= KERNEL_RADIUS; i ++ ) {\n\n\t\t\t\tfloat sampleWeight = sampleWeights[i];\n\t\t\t\tvec2 sampleUvOffset = sampleUvOffsets[i] * vInvSize;\n\n\t\t\t\tvec2 sampleUv = vUv + sampleUvOffset;\n\t\t\t\tfloat viewZ = -getViewZ( getDepth( sampleUv ) );\n\n\t\t\t\tif( abs( viewZ - centerViewZ ) > depthCutoff ) rBreak = true;\n\n\t\t\t\tif( ! rBreak ) {\n\t\t\t\t\tdiffuseSum += texture2D( tDiffuse, sampleUv ) * sampleWeight;\n\t\t\t\t\tweightSum += sampleWeight;\n\t\t\t\t}\n\n\t\t\t\tsampleUv = vUv - sampleUvOffset;\n\t\t\t\tviewZ = -getViewZ( getDepth( sampleUv ) );\n\n\t\t\t\tif( abs( viewZ - centerViewZ ) > depthCutoff ) lBreak = true;\n\n\t\t\t\tif( ! lBreak ) {\n\t\t\t\t\tdiffuseSum += texture2D( tDiffuse, sampleUv ) * sampleWeight;\n\t\t\t\t\tweightSum += sampleWeight;\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tgl_FragColor = diffuseSum / weightSum;\n\t\t}"},MC={createSampleWeights:function(e,t){const r=[];for(let n=0;n<=e;n++)r.push(kC(n,t));return r},createSampleOffsets:function(e,t){const r=[];for(let n=0;n<=e;n++)r.push(t.clone().multiplyScalar(n));return r},configure:function(e,t,r,n){e.defines.KERNEL_RADIUS=t,e.uniforms.sampleUvOffsets.value=MC.createSampleOffsets(t,n),e.uniforms.sampleWeights.value=MC.createSampleWeights(t,r),e.needsUpdate=!0}};function kC(e,t){return Math.exp(-e*e/(t*t*2))/(Math.sqrt(2*Math.PI)*t)}class TC extends V_{constructor(e,t,r=new fr(256,256)){super(),this.scene=e,this.camera=t,this.clear=!0,this.needsSwap=!1,this._originalClearColor=new mi,this._oldClearColor=new mi,this._oldClearAlpha=1,this.params={output:0,saoBias:.5,saoIntensity:.18,saoScale:1,saoKernelRadius:100,saoMinResolution:0,saoBlur:!0,saoBlurRadius:8,saoBlurStdDev:4,saoBlurDepthCutoff:.01},this.resolution=new fr(r.x,r.y),this.saoRenderTarget=new jr(this.resolution.x,this.resolution.y,{type:Fe}),this.blurIntermediateRenderTarget=this.saoRenderTarget.clone();const n=new Gs;n.format=Je,n.type=Ue,this.normalRenderTarget=new jr(this.resolution.x,this.resolution.y,{minFilter:Se,magFilter:Se,type:Fe,depthTexture:n}),this.normalMaterial=new ll,this.normalMaterial.blending=0,this.saoMaterial=new no({defines:Object.assign({},EC.defines),fragmentShader:EC.fragmentShader,vertexShader:EC.vertexShader,uniforms:ro.clone(EC.uniforms)}),this.saoMaterial.defines.PERSPECTIVE_CAMERA=this.camera.isPerspectiveCamera?1:0,this.saoMaterial.uniforms.tDepth.value=n,this.saoMaterial.uniforms.tNormal.value=this.normalRenderTarget.texture,this.saoMaterial.uniforms.size.value.set(this.resolution.x,this.resolution.y),this.saoMaterial.uniforms.cameraInverseProjectionMatrix.value.copy(this.camera.projectionMatrixInverse),this.saoMaterial.uniforms.cameraProjectionMatrix.value=this.camera.projectionMatrix,this.saoMaterial.blending=0,this.vBlurMaterial=new no({uniforms:ro.clone(IC.uniforms),defines:Object.assign({},IC.defines),vertexShader:IC.vertexShader,fragmentShader:IC.fragmentShader}),this.vBlurMaterial.defines.DEPTH_PACKING=0,this.vBlurMaterial.defines.PERSPECTIVE_CAMERA=this.camera.isPerspectiveCamera?1:0,this.vBlurMaterial.uniforms.tDiffuse.value=this.saoRenderTarget.texture,this.vBlurMaterial.uniforms.tDepth.value=n,this.vBlurMaterial.uniforms.size.value.set(this.resolution.x,this.resolution.y),this.vBlurMaterial.blending=0,this.hBlurMaterial=new no({uniforms:ro.clone(IC.uniforms),defines:Object.assign({},IC.defines),vertexShader:IC.vertexShader,fragmentShader:IC.fragmentShader}),this.hBlurMaterial.defines.DEPTH_PACKING=0,this.hBlurMaterial.defines.PERSPECTIVE_CAMERA=this.camera.isPerspectiveCamera?1:0,this.hBlurMaterial.uniforms.tDiffuse.value=this.blurIntermediateRenderTarget.texture,this.hBlurMaterial.uniforms.tDepth.value=n,this.hBlurMaterial.uniforms.size.value.set(this.resolution.x,this.resolution.y),this.hBlurMaterial.blending=0,this.materialCopy=new no({uniforms:ro.clone(sC.uniforms),vertexShader:sC.vertexShader,fragmentShader:sC.fragmentShader,blending:0}),this.materialCopy.transparent=!0,this.materialCopy.depthTest=!1,this.materialCopy.depthWrite=!1,this.materialCopy.blending=5,this.materialCopy.blendSrc=K,this.materialCopy.blendDst=G,this.materialCopy.blendEquation=V,this.materialCopy.blendSrcAlpha=Y,this.materialCopy.blendDstAlpha=G,this.materialCopy.blendEquationAlpha=V,this.fsQuad=new G_(null)}render(e,t,r){this.renderToScreen&&(this.materialCopy.blending=0,this.materialCopy.uniforms.tDiffuse.value=r.texture,this.materialCopy.needsUpdate=!0,this._renderPass(e,this.materialCopy,null)),e.getClearColor(this._oldClearColor),this._oldClearAlpha=e.getClearAlpha();const n=e.autoClear;e.autoClear=!1,this.saoMaterial.uniforms.bias.value=this.params.saoBias,this.saoMaterial.uniforms.intensity.value=this.params.saoIntensity,this.saoMaterial.uniforms.scale.value=this.params.saoScale,this.saoMaterial.uniforms.kernelRadius.value=this.params.saoKernelRadius,this.saoMaterial.uniforms.minResolution.value=this.params.saoMinResolution,this.saoMaterial.uniforms.cameraNear.value=this.camera.near,this.saoMaterial.uniforms.cameraFar.value=this.camera.far;const i=this.params.saoBlurDepthCutoff*(this.camera.far-this.camera.near);this.vBlurMaterial.uniforms.depthCutoff.value=i,this.hBlurMaterial.uniforms.depthCutoff.value=i,this.vBlurMaterial.uniforms.cameraNear.value=this.camera.near,this.vBlurMaterial.uniforms.cameraFar.value=this.camera.far,this.hBlurMaterial.uniforms.cameraNear.value=this.camera.near,this.hBlurMaterial.uniforms.cameraFar.value=this.camera.far,this.params.saoBlurRadius=Math.floor(this.params.saoBlurRadius),this.prevStdDev===this.params.saoBlurStdDev&&this.prevNumSamples===this.params.saoBlurRadius||(MC.configure(this.vBlurMaterial,this.params.saoBlurRadius,this.params.saoBlurStdDev,new fr(0,1)),MC.configure(this.hBlurMaterial,this.params.saoBlurRadius,this.params.saoBlurStdDev,new fr(1,0)),this.prevStdDev=this.params.saoBlurStdDev,this.prevNumSamples=this.params.saoBlurRadius),this._renderOverride(e,this.normalMaterial,this.normalRenderTarget,7829503,1),this._renderPass(e,this.saoMaterial,this.saoRenderTarget,16777215,1),this.params.saoBlur&&(this._renderPass(e,this.vBlurMaterial,this.blurIntermediateRenderTarget,16777215,1),this._renderPass(e,this.hBlurMaterial,this.saoRenderTarget,16777215,1));const o=this.materialCopy;this.params.output===TC.OUTPUT.Normal?(this.materialCopy.uniforms.tDiffuse.value=this.normalRenderTarget.texture,this.materialCopy.needsUpdate=!0):(this.materialCopy.uniforms.tDiffuse.value=this.saoRenderTarget.texture,this.materialCopy.needsUpdate=!0),this.params.output===TC.OUTPUT.Default?o.blending=5:o.blending=0,this._renderPass(e,o,this.renderToScreen?null:r),e.setClearColor(this._oldClearColor,this._oldClearAlpha),e.autoClear=n}setSize(e,t){this.saoRenderTarget.setSize(e,t),this.blurIntermediateRenderTarget.setSize(e,t),this.normalRenderTarget.setSize(e,t),this.saoMaterial.uniforms.size.value.set(e,t),this.saoMaterial.uniforms.cameraInverseProjectionMatrix.value.copy(this.camera.projectionMatrixInverse),this.saoMaterial.uniforms.cameraProjectionMatrix.value=this.camera.projectionMatrix,this.saoMaterial.needsUpdate=!0,this.vBlurMaterial.uniforms.size.value.set(e,t),this.vBlurMaterial.needsUpdate=!0,this.hBlurMaterial.uniforms.size.value.set(e,t),this.hBlurMaterial.needsUpdate=!0}dispose(){this.saoRenderTarget.dispose(),this.blurIntermediateRenderTarget.dispose(),this.normalRenderTarget.dispose(),this.normalMaterial.dispose(),this.saoMaterial.dispose(),this.vBlurMaterial.dispose(),this.hBlurMaterial.dispose(),this.materialCopy.dispose(),this.fsQuad.dispose()}_renderPass(e,t,r,n,i){e.getClearColor(this._originalClearColor);const o=e.getClearAlpha(),s=e.autoClear;e.setRenderTarget(r),e.autoClear=!1,null!=n&&(e.setClearColor(n),e.setClearAlpha(i||0),e.clear()),this.fsQuad.material=t,this.fsQuad.render(e),e.autoClear=s,e.setClearColor(this._originalClearColor),e.setClearAlpha(o)}_renderOverride(e,t,r,n,i){e.getClearColor(this._originalClearColor);const o=e.getClearAlpha(),s=e.autoClear;e.setRenderTarget(r),e.autoClear=!1,n=t.clearColor||n,i=t.clearAlpha||i,null!=n&&(e.setClearColor(n),e.setClearAlpha(i||0),e.clear()),this.scene.overrideMaterial=t,e.render(this.scene,this.camera),this.scene.overrideMaterial=null,e.autoClear=s,e.setClearColor(this._originalClearColor),e.setClearAlpha(o)}}TC.OUTPUT={Default:0,SAO:1,Normal:2};const RC={name:"SMAAEdgesShader",defines:{SMAA_THRESHOLD:"0.1"},uniforms:{tDiffuse:{value:null},resolution:{value:new fr(1/1024,1/512)}},vertexShader:"\n\n\t\tuniform vec2 resolution;\n\n\t\tvarying vec2 vUv;\n\t\tvarying vec4 vOffset[ 3 ];\n\n\t\tvoid SMAAEdgeDetectionVS( vec2 texcoord ) {\n\t\t\tvOffset[ 0 ] = texcoord.xyxy + resolution.xyxy * vec4( -1.0, 0.0, 0.0,  1.0 ); // WebGL port note: Changed sign in W component\n\t\t\tvOffset[ 1 ] = texcoord.xyxy + resolution.xyxy * vec4(  1.0, 0.0, 0.0, -1.0 ); // WebGL port note: Changed sign in W component\n\t\t\tvOffset[ 2 ] = texcoord.xyxy + resolution.xyxy * vec4( -2.0, 0.0, 0.0,  2.0 ); // WebGL port note: Changed sign in W component\n\t\t}\n\n\t\tvoid main() {\n\n\t\t\tvUv = uv;\n\n\t\t\tSMAAEdgeDetectionVS( vUv );\n\n\t\t\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n\n\t\t}",fragmentShader:"\n\n\t\tuniform sampler2D tDiffuse;\n\n\t\tvarying vec2 vUv;\n\t\tvarying vec4 vOffset[ 3 ];\n\n\t\tvec4 SMAAColorEdgeDetectionPS( vec2 texcoord, vec4 offset[3], sampler2D colorTex ) {\n\t\t\tvec2 threshold = vec2( SMAA_THRESHOLD, SMAA_THRESHOLD );\n\n\t\t\t// Calculate color deltas:\n\t\t\tvec4 delta;\n\t\t\tvec3 C = texture2D( colorTex, texcoord ).rgb;\n\n\t\t\tvec3 Cleft = texture2D( colorTex, offset[0].xy ).rgb;\n\t\t\tvec3 t = abs( C - Cleft );\n\t\t\tdelta.x = max( max( t.r, t.g ), t.b );\n\n\t\t\tvec3 Ctop = texture2D( colorTex, offset[0].zw ).rgb;\n\t\t\tt = abs( C - Ctop );\n\t\t\tdelta.y = max( max( t.r, t.g ), t.b );\n\n\t\t\t// We do the usual threshold:\n\t\t\tvec2 edges = step( threshold, delta.xy );\n\n\t\t\t// Then discard if there is no edge:\n\t\t\tif ( dot( edges, vec2( 1.0, 1.0 ) ) == 0.0 )\n\t\t\t\tdiscard;\n\n\t\t\t// Calculate right and bottom deltas:\n\t\t\tvec3 Cright = texture2D( colorTex, offset[1].xy ).rgb;\n\t\t\tt = abs( C - Cright );\n\t\t\tdelta.z = max( max( t.r, t.g ), t.b );\n\n\t\t\tvec3 Cbottom  = texture2D( colorTex, offset[1].zw ).rgb;\n\t\t\tt = abs( C - Cbottom );\n\t\t\tdelta.w = max( max( t.r, t.g ), t.b );\n\n\t\t\t// Calculate the maximum delta in the direct neighborhood:\n\t\t\tfloat maxDelta = max( max( max( delta.x, delta.y ), delta.z ), delta.w );\n\n\t\t\t// Calculate left-left and top-top deltas:\n\t\t\tvec3 Cleftleft  = texture2D( colorTex, offset[2].xy ).rgb;\n\t\t\tt = abs( C - Cleftleft );\n\t\t\tdelta.z = max( max( t.r, t.g ), t.b );\n\n\t\t\tvec3 Ctoptop = texture2D( colorTex, offset[2].zw ).rgb;\n\t\t\tt = abs( C - Ctoptop );\n\t\t\tdelta.w = max( max( t.r, t.g ), t.b );\n\n\t\t\t// Calculate the final maximum delta:\n\t\t\tmaxDelta = max( max( maxDelta, delta.z ), delta.w );\n\n\t\t\t// Local contrast adaptation in action:\n\t\t\tedges.xy *= step( 0.5 * maxDelta, delta.xy );\n\n\t\t\treturn vec4( edges, 0.0, 0.0 );\n\t\t}\n\n\t\tvoid main() {\n\n\t\t\tgl_FragColor = SMAAColorEdgeDetectionPS( vUv, vOffset, tDiffuse );\n\n\t\t}"},LC={name:"SMAAWeightsShader",defines:{SMAA_MAX_SEARCH_STEPS:"8",SMAA_AREATEX_MAX_DISTANCE:"16",SMAA_AREATEX_PIXEL_SIZE:"( 1.0 / vec2( 160.0, 560.0 ) )",SMAA_AREATEX_SUBTEX_SIZE:"( 1.0 / 7.0 )"},uniforms:{tDiffuse:{value:null},tArea:{value:null},tSearch:{value:null},resolution:{value:new fr(1/1024,1/512)}},vertexShader:"\n\n\t\tuniform vec2 resolution;\n\n\t\tvarying vec2 vUv;\n\t\tvarying vec4 vOffset[ 3 ];\n\t\tvarying vec2 vPixcoord;\n\n\t\tvoid SMAABlendingWeightCalculationVS( vec2 texcoord ) {\n\t\t\tvPixcoord = texcoord / resolution;\n\n\t\t\t// We will use these offsets for the searches later on (see @PSEUDO_GATHER4):\n\t\t\tvOffset[ 0 ] = texcoord.xyxy + resolution.xyxy * vec4( -0.25, 0.125, 1.25, 0.125 ); // WebGL port note: Changed sign in Y and W components\n\t\t\tvOffset[ 1 ] = texcoord.xyxy + resolution.xyxy * vec4( -0.125, 0.25, -0.125, -1.25 ); // WebGL port note: Changed sign in Y and W components\n\n\t\t\t// And these for the searches, they indicate the ends of the loops:\n\t\t\tvOffset[ 2 ] = vec4( vOffset[ 0 ].xz, vOffset[ 1 ].yw ) + vec4( -2.0, 2.0, -2.0, 2.0 ) * resolution.xxyy * float( SMAA_MAX_SEARCH_STEPS );\n\n\t\t}\n\n\t\tvoid main() {\n\n\t\t\tvUv = uv;\n\n\t\t\tSMAABlendingWeightCalculationVS( vUv );\n\n\t\t\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n\n\t\t}",fragmentShader:"\n\n\t\t#define SMAASampleLevelZeroOffset( tex, coord, offset ) texture2D( tex, coord + float( offset ) * resolution, 0.0 )\n\n\t\tuniform sampler2D tDiffuse;\n\t\tuniform sampler2D tArea;\n\t\tuniform sampler2D tSearch;\n\t\tuniform vec2 resolution;\n\n\t\tvarying vec2 vUv;\n\t\tvarying vec4 vOffset[3];\n\t\tvarying vec2 vPixcoord;\n\n\t\t#if __VERSION__ == 100\n\t\tvec2 round( vec2 x ) {\n\t\t\treturn sign( x ) * floor( abs( x ) + 0.5 );\n\t\t}\n\t\t#endif\n\n\t\tfloat SMAASearchLength( sampler2D searchTex, vec2 e, float bias, float scale ) {\n\t\t\t// Not required if searchTex accesses are set to point:\n\t\t\t// float2 SEARCH_TEX_PIXEL_SIZE = 1.0 / float2(66.0, 33.0);\n\t\t\t// e = float2(bias, 0.0) + 0.5 * SEARCH_TEX_PIXEL_SIZE +\n\t\t\t//     e * float2(scale, 1.0) * float2(64.0, 32.0) * SEARCH_TEX_PIXEL_SIZE;\n\t\t\te.r = bias + e.r * scale;\n\t\t\treturn 255.0 * texture2D( searchTex, e, 0.0 ).r;\n\t\t}\n\n\t\tfloat SMAASearchXLeft( sampler2D edgesTex, sampler2D searchTex, vec2 texcoord, float end ) {\n\t\t\t/**\n\t\t\t\t* @PSEUDO_GATHER4\n\t\t\t\t* This texcoord has been offset by (-0.25, -0.125) in the vertex shader to\n\t\t\t\t* sample between edge, thus fetching four edges in a row.\n\t\t\t\t* Sampling with different offsets in each direction allows to disambiguate\n\t\t\t\t* which edges are active from the four fetched ones.\n\t\t\t\t*/\n\t\t\tvec2 e = vec2( 0.0, 1.0 );\n\n\t\t\tfor ( int i = 0; i < SMAA_MAX_SEARCH_STEPS; i ++ ) { // WebGL port note: Changed while to for\n\t\t\t\te = texture2D( edgesTex, texcoord, 0.0 ).rg;\n\t\t\t\ttexcoord -= vec2( 2.0, 0.0 ) * resolution;\n\t\t\t\tif ( ! ( texcoord.x > end && e.g > 0.8281 && e.r == 0.0 ) ) break;\n\t\t\t}\n\n\t\t\t// We correct the previous (-0.25, -0.125) offset we applied:\n\t\t\ttexcoord.x += 0.25 * resolution.x;\n\n\t\t\t// The searches are bias by 1, so adjust the coords accordingly:\n\t\t\ttexcoord.x += resolution.x;\n\n\t\t\t// Disambiguate the length added by the last step:\n\t\t\ttexcoord.x += 2.0 * resolution.x; // Undo last step\n\t\t\ttexcoord.x -= resolution.x * SMAASearchLength(searchTex, e, 0.0, 0.5);\n\n\t\t\treturn texcoord.x;\n\t\t}\n\n\t\tfloat SMAASearchXRight( sampler2D edgesTex, sampler2D searchTex, vec2 texcoord, float end ) {\n\t\t\tvec2 e = vec2( 0.0, 1.0 );\n\n\t\t\tfor ( int i = 0; i < SMAA_MAX_SEARCH_STEPS; i ++ ) { // WebGL port note: Changed while to for\n\t\t\t\te = texture2D( edgesTex, texcoord, 0.0 ).rg;\n\t\t\t\ttexcoord += vec2( 2.0, 0.0 ) * resolution;\n\t\t\t\tif ( ! ( texcoord.x < end && e.g > 0.8281 && e.r == 0.0 ) ) break;\n\t\t\t}\n\n\t\t\ttexcoord.x -= 0.25 * resolution.x;\n\t\t\ttexcoord.x -= resolution.x;\n\t\t\ttexcoord.x -= 2.0 * resolution.x;\n\t\t\ttexcoord.x += resolution.x * SMAASearchLength( searchTex, e, 0.5, 0.5 );\n\n\t\t\treturn texcoord.x;\n\t\t}\n\n\t\tfloat SMAASearchYUp( sampler2D edgesTex, sampler2D searchTex, vec2 texcoord, float end ) {\n\t\t\tvec2 e = vec2( 1.0, 0.0 );\n\n\t\t\tfor ( int i = 0; i < SMAA_MAX_SEARCH_STEPS; i ++ ) { // WebGL port note: Changed while to for\n\t\t\t\te = texture2D( edgesTex, texcoord, 0.0 ).rg;\n\t\t\t\ttexcoord += vec2( 0.0, 2.0 ) * resolution; // WebGL port note: Changed sign\n\t\t\t\tif ( ! ( texcoord.y > end && e.r > 0.8281 && e.g == 0.0 ) ) break;\n\t\t\t}\n\n\t\t\ttexcoord.y -= 0.25 * resolution.y; // WebGL port note: Changed sign\n\t\t\ttexcoord.y -= resolution.y; // WebGL port note: Changed sign\n\t\t\ttexcoord.y -= 2.0 * resolution.y; // WebGL port note: Changed sign\n\t\t\ttexcoord.y += resolution.y * SMAASearchLength( searchTex, e.gr, 0.0, 0.5 ); // WebGL port note: Changed sign\n\n\t\t\treturn texcoord.y;\n\t\t}\n\n\t\tfloat SMAASearchYDown( sampler2D edgesTex, sampler2D searchTex, vec2 texcoord, float end ) {\n\t\t\tvec2 e = vec2( 1.0, 0.0 );\n\n\t\t\tfor ( int i = 0; i < SMAA_MAX_SEARCH_STEPS; i ++ ) { // WebGL port note: Changed while to for\n\t\t\t\te = texture2D( edgesTex, texcoord, 0.0 ).rg;\n\t\t\t\ttexcoord -= vec2( 0.0, 2.0 ) * resolution; // WebGL port note: Changed sign\n\t\t\t\tif ( ! ( texcoord.y < end && e.r > 0.8281 && e.g == 0.0 ) ) break;\n\t\t\t}\n\n\t\t\ttexcoord.y += 0.25 * resolution.y; // WebGL port note: Changed sign\n\t\t\ttexcoord.y += resolution.y; // WebGL port note: Changed sign\n\t\t\ttexcoord.y += 2.0 * resolution.y; // WebGL port note: Changed sign\n\t\t\ttexcoord.y -= resolution.y * SMAASearchLength( searchTex, e.gr, 0.5, 0.5 ); // WebGL port note: Changed sign\n\n\t\t\treturn texcoord.y;\n\t\t}\n\n\t\tvec2 SMAAArea( sampler2D areaTex, vec2 dist, float e1, float e2, float offset ) {\n\t\t\t// Rounding prevents precision errors of bilinear filtering:\n\t\t\tvec2 texcoord = float( SMAA_AREATEX_MAX_DISTANCE ) * round( 4.0 * vec2( e1, e2 ) ) + dist;\n\n\t\t\t// We do a scale and bias for mapping to texel space:\n\t\t\ttexcoord = SMAA_AREATEX_PIXEL_SIZE * texcoord + ( 0.5 * SMAA_AREATEX_PIXEL_SIZE );\n\n\t\t\t// Move to proper place, according to the subpixel offset:\n\t\t\ttexcoord.y += SMAA_AREATEX_SUBTEX_SIZE * offset;\n\n\t\t\treturn texture2D( areaTex, texcoord, 0.0 ).rg;\n\t\t}\n\n\t\tvec4 SMAABlendingWeightCalculationPS( vec2 texcoord, vec2 pixcoord, vec4 offset[ 3 ], sampler2D edgesTex, sampler2D areaTex, sampler2D searchTex, ivec4 subsampleIndices ) {\n\t\t\tvec4 weights = vec4( 0.0, 0.0, 0.0, 0.0 );\n\n\t\t\tvec2 e = texture2D( edgesTex, texcoord ).rg;\n\n\t\t\tif ( e.g > 0.0 ) { // Edge at north\n\t\t\t\tvec2 d;\n\n\t\t\t\t// Find the distance to the left:\n\t\t\t\tvec2 coords;\n\t\t\t\tcoords.x = SMAASearchXLeft( edgesTex, searchTex, offset[ 0 ].xy, offset[ 2 ].x );\n\t\t\t\tcoords.y = offset[ 1 ].y; // offset[1].y = texcoord.y - 0.25 * resolution.y (@CROSSING_OFFSET)\n\t\t\t\td.x = coords.x;\n\n\t\t\t\t// Now fetch the left crossing edges, two at a time using bilinear\n\t\t\t\t// filtering. Sampling at -0.25 (see @CROSSING_OFFSET) enables to\n\t\t\t\t// discern what value each edge has:\n\t\t\t\tfloat e1 = texture2D( edgesTex, coords, 0.0 ).r;\n\n\t\t\t\t// Find the distance to the right:\n\t\t\t\tcoords.x = SMAASearchXRight( edgesTex, searchTex, offset[ 0 ].zw, offset[ 2 ].y );\n\t\t\t\td.y = coords.x;\n\n\t\t\t\t// We want the distances to be in pixel units (doing this here allow to\n\t\t\t\t// better interleave arithmetic and memory accesses):\n\t\t\t\td = d / resolution.x - pixcoord.x;\n\n\t\t\t\t// SMAAArea below needs a sqrt, as the areas texture is compressed\n\t\t\t\t// quadratically:\n\t\t\t\tvec2 sqrt_d = sqrt( abs( d ) );\n\n\t\t\t\t// Fetch the right crossing edges:\n\t\t\t\tcoords.y -= 1.0 * resolution.y; // WebGL port note: Added\n\t\t\t\tfloat e2 = SMAASampleLevelZeroOffset( edgesTex, coords, ivec2( 1, 0 ) ).r;\n\n\t\t\t\t// Ok, we know how this pattern looks like, now it is time for getting\n\t\t\t\t// the actual area:\n\t\t\t\tweights.rg = SMAAArea( areaTex, sqrt_d, e1, e2, float( subsampleIndices.y ) );\n\t\t\t}\n\n\t\t\tif ( e.r > 0.0 ) { // Edge at west\n\t\t\t\tvec2 d;\n\n\t\t\t\t// Find the distance to the top:\n\t\t\t\tvec2 coords;\n\n\t\t\t\tcoords.y = SMAASearchYUp( edgesTex, searchTex, offset[ 1 ].xy, offset[ 2 ].z );\n\t\t\t\tcoords.x = offset[ 0 ].x; // offset[1].x = texcoord.x - 0.25 * resolution.x;\n\t\t\t\td.x = coords.y;\n\n\t\t\t\t// Fetch the top crossing edges:\n\t\t\t\tfloat e1 = texture2D( edgesTex, coords, 0.0 ).g;\n\n\t\t\t\t// Find the distance to the bottom:\n\t\t\t\tcoords.y = SMAASearchYDown( edgesTex, searchTex, offset[ 1 ].zw, offset[ 2 ].w );\n\t\t\t\td.y = coords.y;\n\n\t\t\t\t// We want the distances to be in pixel units:\n\t\t\t\td = d / resolution.y - pixcoord.y;\n\n\t\t\t\t// SMAAArea below needs a sqrt, as the areas texture is compressed\n\t\t\t\t// quadratically:\n\t\t\t\tvec2 sqrt_d = sqrt( abs( d ) );\n\n\t\t\t\t// Fetch the bottom crossing edges:\n\t\t\t\tcoords.y -= 1.0 * resolution.y; // WebGL port note: Added\n\t\t\t\tfloat e2 = SMAASampleLevelZeroOffset( edgesTex, coords, ivec2( 0, 1 ) ).g;\n\n\t\t\t\t// Get the area for this direction:\n\t\t\t\tweights.ba = SMAAArea( areaTex, sqrt_d, e1, e2, float( subsampleIndices.x ) );\n\t\t\t}\n\n\t\t\treturn weights;\n\t\t}\n\n\t\tvoid main() {\n\n\t\t\tgl_FragColor = SMAABlendingWeightCalculationPS( vUv, vPixcoord, vOffset, tDiffuse, tArea, tSearch, ivec4( 0.0 ) );\n\n\t\t}"},PC={name:"SMAABlendShader",uniforms:{tDiffuse:{value:null},tColor:{value:null},resolution:{value:new fr(1/1024,1/512)}},vertexShader:"\n\n\t\tuniform vec2 resolution;\n\n\t\tvarying vec2 vUv;\n\t\tvarying vec4 vOffset[ 2 ];\n\n\t\tvoid SMAANeighborhoodBlendingVS( vec2 texcoord ) {\n\t\t\tvOffset[ 0 ] = texcoord.xyxy + resolution.xyxy * vec4( -1.0, 0.0, 0.0, 1.0 ); // WebGL port note: Changed sign in W component\n\t\t\tvOffset[ 1 ] = texcoord.xyxy + resolution.xyxy * vec4( 1.0, 0.0, 0.0, -1.0 ); // WebGL port note: Changed sign in W component\n\t\t}\n\n\t\tvoid main() {\n\n\t\t\tvUv = uv;\n\n\t\t\tSMAANeighborhoodBlendingVS( vUv );\n\n\t\t\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n\n\t\t}",fragmentShader:"\n\n\t\tuniform sampler2D tDiffuse;\n\t\tuniform sampler2D tColor;\n\t\tuniform vec2 resolution;\n\n\t\tvarying vec2 vUv;\n\t\tvarying vec4 vOffset[ 2 ];\n\n\t\tvec4 SMAANeighborhoodBlendingPS( vec2 texcoord, vec4 offset[ 2 ], sampler2D colorTex, sampler2D blendTex ) {\n\t\t\t// Fetch the blending weights for current pixel:\n\t\t\tvec4 a;\n\t\t\ta.xz = texture2D( blendTex, texcoord ).xz;\n\t\t\ta.y = texture2D( blendTex, offset[ 1 ].zw ).g;\n\t\t\ta.w = texture2D( blendTex, offset[ 1 ].xy ).a;\n\n\t\t\t// Is there any blending weight with a value greater than 0.0?\n\t\t\tif ( dot(a, vec4( 1.0, 1.0, 1.0, 1.0 )) < 1e-5 ) {\n\t\t\t\treturn texture2D( colorTex, texcoord, 0.0 );\n\t\t\t} else {\n\t\t\t\t// Up to 4 lines can be crossing a pixel (one through each edge). We\n\t\t\t\t// favor blending by choosing the line with the maximum weight for each\n\t\t\t\t// direction:\n\t\t\t\tvec2 offset;\n\t\t\t\toffset.x = a.a > a.b ? a.a : -a.b; // left vs. right\n\t\t\t\toffset.y = a.g > a.r ? -a.g : a.r; // top vs. bottom // WebGL port note: Changed signs\n\n\t\t\t\t// Then we go in the direction that has the maximum weight:\n\t\t\t\tif ( abs( offset.x ) > abs( offset.y )) { // horizontal vs. vertical\n\t\t\t\t\toffset.y = 0.0;\n\t\t\t\t} else {\n\t\t\t\t\toffset.x = 0.0;\n\t\t\t\t}\n\n\t\t\t\t// Fetch the opposite color and lerp by hand:\n\t\t\t\tvec4 C = texture2D( colorTex, texcoord, 0.0 );\n\t\t\t\ttexcoord += sign( offset ) * resolution;\n\t\t\t\tvec4 Cop = texture2D( colorTex, texcoord, 0.0 );\n\t\t\t\tfloat s = abs( offset.x ) > abs( offset.y ) ? abs( offset.x ) : abs( offset.y );\n\n\t\t\t\t// WebGL port note: Added gamma correction\n\t\t\t\tC.xyz = pow(C.xyz, vec3(2.2));\n\t\t\t\tCop.xyz = pow(Cop.xyz, vec3(2.2));\n\t\t\t\tvec4 mixed = mix(C, Cop, s);\n\t\t\t\tmixed.xyz = pow(mixed.xyz, vec3(1.0 / 2.2));\n\n\t\t\t\treturn mixed;\n\t\t\t}\n\t\t}\n\n\t\tvoid main() {\n\n\t\t\tgl_FragColor = SMAANeighborhoodBlendingPS( vUv, vOffset, tColor, tDiffuse );\n\n\t\t}"};class DC extends V_{constructor(){super(),this._edgesRT=new jr(1,1,{depthBuffer:!1,type:Fe}),this._edgesRT.texture.name="SMAAPass.edges",this._weightsRT=new jr(1,1,{depthBuffer:!1,type:Fe}),this._weightsRT.texture.name="SMAAPass.weights";const e=this,t=new Image;t.src=this._getAreaTexture(),t.onload=function(){e._areaTexture.needsUpdate=!0},this._areaTexture=new zr,this._areaTexture.name="SMAAPass.area",this._areaTexture.image=t,this._areaTexture.minFilter=Ce,this._areaTexture.generateMipmaps=!1,this._areaTexture.flipY=!1;const r=new Image;r.src=this._getSearchTexture(),r.onload=function(){e._searchTexture.needsUpdate=!0},this._searchTexture=new zr,this._searchTexture.name="SMAAPass.search",this._searchTexture.image=r,this._searchTexture.magFilter=Se,this._searchTexture.minFilter=Se,this._searchTexture.generateMipmaps=!1,this._searchTexture.flipY=!1,this._uniformsEdges=ro.clone(RC.uniforms),this._materialEdges=new no({defines:Object.assign({},RC.defines),uniforms:this._uniformsEdges,vertexShader:RC.vertexShader,fragmentShader:RC.fragmentShader}),this._uniformsWeights=ro.clone(LC.uniforms),this._uniformsWeights.tDiffuse.value=this._edgesRT.texture,this._uniformsWeights.tArea.value=this._areaTexture,this._uniformsWeights.tSearch.value=this._searchTexture,this._materialWeights=new no({defines:Object.assign({},LC.defines),uniforms:this._uniformsWeights,vertexShader:LC.vertexShader,fragmentShader:LC.fragmentShader}),this._uniformsBlend=ro.clone(PC.uniforms),this._uniformsBlend.tDiffuse.value=this._weightsRT.texture,this._materialBlend=new no({uniforms:this._uniformsBlend,vertexShader:PC.vertexShader,fragmentShader:PC.fragmentShader}),this._fsQuad=new G_(null)}render(e,t,r){this._uniformsEdges.tDiffuse.value=r.texture,this._fsQuad.material=this._materialEdges,e.setRenderTarget(this._edgesRT),this.clear&&e.clear(),this._fsQuad.render(e),this._fsQuad.material=this._materialWeights,e.setRenderTarget(this._weightsRT),this.clear&&e.clear(),this._fsQuad.render(e),this._uniformsBlend.tColor.value=r.texture,this._fsQuad.material=this._materialBlend,this.renderToScreen?(e.setRenderTarget(null),this._fsQuad.render(e)):(e.setRenderTarget(t),this.clear&&e.clear(),this._fsQuad.render(e))}setSize(e,t){this._edgesRT.setSize(e,t),this._weightsRT.setSize(e,t),this._materialEdges.uniforms.resolution.value.set(1/e,1/t),this._materialWeights.uniforms.resolution.value.set(1/e,1/t),this._materialBlend.uniforms.resolution.value.set(1/e,1/t)}dispose(){this._edgesRT.dispose(),this._weightsRT.dispose(),this._areaTexture.dispose(),this._searchTexture.dispose(),this._materialEdges.dispose(),this._materialWeights.dispose(),this._materialBlend.dispose(),this._fsQuad.dispose()}_getAreaTexture(){return"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAKAAAAIwCAIAAACOVPcQAACBeklEQVR42u39W4xlWXrnh/3WWvuciIzMrKxrV8/0rWbY0+SQFKcb4owIkSIFCjY9AC1BT/LYBozRi+EX+cV+8IMsYAaCwRcBwjzMiw2jAWtgwC8WR5Q8mDFHZLNHTarZGrLJJllt1W2qKrsumZWZcTvn7L3W54e1vrXX3vuciLPPORFR1XE2EomorB0nVuz//r71re/y/1eMvb4Cb3N11xV/PP/2v4UBAwJG/7H8urx6/25/Gf8O5hypMQ0EEEQwAqLfoN/Z+97f/SW+/NvcgQk4sGBJK6H7N4PFVL+K+e0N11yNfkKvwUdwdlUAXPHHL38oa15f/i/46Ih6SuMSPmLAYAwyRKn7dfMGH97jaMFBYCJUgotIC2YAdu+LyW9vvubxAP8kAL8H/koAuOKP3+q6+xGnd5kdYCeECnGIJViwGJMAkQKfDvB3WZxjLKGh8VSCCzhwEWBpMc5/kBbjawT4HnwJfhr+pPBIu7uu+OOTo9vsmtQcniMBGkKFd4jDWMSCRUpLjJYNJkM+IRzQ+PQvIeAMTrBS2LEiaiR9b/5PuT6Ap/AcfAFO4Y3dA3DFH7/VS+M8k4baEAQfMI4QfbVDDGIRg7GKaIY52qAjTAgTvGBAPGIIghOCYAUrGFNgzA7Q3QhgCwfwAnwe5vDejgG44o/fbm1C5ZlYQvQDARPAIQGxCWBM+wWl37ZQESb4gImexGMDouhGLx1Cst0Saa4b4AqO4Hk4gxo+3DHAV/nx27p3JziPM2pVgoiia5MdEzCGULprIN7gEEeQ5IQxEBBBQnxhsDb5auGmAAYcHMA9eAAz8PBol8/xij9+C4Djlim4gJjWcwZBhCBgMIIYxGAVIkH3ZtcBuLdtRFMWsPGoY9rN+HoBji9VBYdwD2ZQg4cnO7OSq/z4rU5KKdwVbFAjNojCQzTlCLPFSxtamwh2jMUcEgg2Wm/6XgErIBhBckQtGN3CzbVacERgCnfgLswhnvqf7QyAq/z4rRZm1YglYE3affGITaZsdIe2FmMIpnOCap25I6jt2kCwCW0D1uAD9sZctNGXcQIHCkINDQgc78aCr+zjtw3BU/ijdpw3zhCwcaONwBvdeS2YZKkJNJsMPf2JKEvC28RXxxI0ASJyzQCjCEQrO4Q7sFArEzjZhaFc4cdv+/JFdKULM4px0DfUBI2hIsy06BqLhGTQEVdbfAIZXYMPesq6VoCHICzUyjwInO4Y411//LYLs6TDa9wvg2CC2rElgAnpTBziThxaL22MYhzfkghz6GAs2VHbbdM91VZu1MEEpupMMwKyVTb5ij9+u4VJG/5EgEMMmFF01cFai3isRbKbzb+YaU/MQbAm2XSMoUPAmvZzbuKYRIFApbtlrfFuUGd6vq2hXNnH78ZLh/iFhsQG3T4D1ib7k5CC6vY0DCbtrohgLEIClXiGtl10zc0CnEGIhhatLBva7NP58Tvw0qE8yWhARLQ8h4+AhQSP+I4F5xoU+VilGRJs6wnS7ruti/4KvAY/CfdgqjsMy4pf8fodQO8/gnuX3f/3xi3om1/h7THr+co3x93PP9+FBUfbNUjcjEmhcrkT+8K7ml7V10Jo05mpIEFy1NmCJWx9SIKKt+EjAL4Ez8EBVOB6havuT/rByPvHXK+9zUcfcbb254+9fydJknYnRr1oGfdaiAgpxu1Rx/Rek8KISftx3L+DfsLWAANn8Hvw0/AFeAGO9DFV3c6D+CcWbL8Dj9e7f+T1k8AZv/d7+PXWM/Z+VvdCrIvuAKO09RpEEQJM0Ci6+B4xhTWr4cZNOvhktabw0ta0rSJmqz3Yw5/AKXwenod7cAhTmBSPKf6JBdvH8IP17h95pXqw50/+BFnj88fev4NchyaK47OPhhtI8RFSvAfDSNh0Ck0p2gLxGkib5NJj/JWCr90EWQJvwBzO4AHcgztwAFN1evHPUVGwfXON+0debT1YeGON9Yy9/63X+OguiwmhIhQhD7l4sMqlG3D86Suc3qWZ4rWjI1X7u0Ytw6x3rIMeIOPDprfe2XzNgyj6PahhBjO4C3e6puDgXrdg+/5l948vF3bqwZetZ+z9Rx9zdIY5pInPK4Nk0t+l52xdK2B45Qd87nM8fsD5EfUhIcJcERw4RdqqH7Yde5V7m1vhNmtedkz6EDzUMF/2jJYWbC+4fzzA/Y+/8PPH3j9dcBAPIRP8JLXd5BpAu03aziOL3VVHZzz3CXWDPWd+SH2AnxIqQoTZpo9Ckc6HIrFbAbzNmlcg8Ag8NFDDAhbJvTBZXbC94P7t68EXfv6o+21gUtPETU7bbkLxvNKRFG2+KXzvtObonPP4rBvsgmaKj404DlshFole1Glfh02fE7bYR7dZ82oTewIBGn1Md6CG6YUF26X376oevOLzx95vhUmgblI6LBZwTCDY7vMq0op5WVXgsObOXJ+1x3qaBl9j1FeLxbhU9w1F+Wiba6s1X/TBz1LnUfuYDi4r2C69f1f14BWfP+p+W2GFKuC9phcELMYRRLur9DEZTUdEH+iEqWdaM7X4WOoPGI+ZYD2+wcQ+y+ioHUZ9dTDbArzxmi/bJI9BND0Ynd6lBdve/butBw8+f/T9D3ABa3AG8W3VPX4hBin+bj8dMMmSpp5pg7fJ6xrBFE2WQQEWnV8Qg3FbAWzYfM1rREEnmvkN2o1+acG2d/9u68GDzx91v3mAjb1zkpqT21OipPKO0b9TO5W0nTdOmAQm0TObts3aBKgwARtoPDiCT0gHgwnbArzxmtcLc08HgF1asN0C4Ms/fvD5I+7PhfqyXE/b7RbbrGyRQRT9ARZcwAUmgdoz0ehJ9Fn7QAhUjhDAQSw0bV3T3WbNa59jzmiP6GsWbGXDX2ytjy8+f9T97fiBPq9YeLdBmyuizZHaqXITnXiMUEEVcJ7K4j3BFPurtB4bixW8wTpweL8DC95szWMOqucFYGsWbGU7p3TxxxefP+r+oTVktxY0v5hbq3KiOKYnY8ddJVSBxuMMVffNbxwIOERShst73HZ78DZrHpmJmH3K6sGz0fe3UUj0eyRrSCGTTc+rjVNoGzNSv05srAxUBh8IhqChiQgVNIIBH3AVPnrsnXQZbLTm8ammv8eVXn/vWpaTem5IXRlt+U/LA21zhSb9cye6jcOfCnOwhIAYXAMVTUNV0QhVha9xjgA27ODJbLbmitt3tRN80lqG6N/khgot4ZVlOyO4WNg3OIMzhIZQpUEHieg2im6F91hB3I2tubql6BYNN9Hj5S7G0G2tahslBWKDnOiIvuAEDzakDQKDNFQT6gbn8E2y4BBubM230YIpBnDbMa+y3dx0n1S0BtuG62lCCXwcY0F72T1VRR3t2ONcsmDjbmzNt9RFs2LO2hQNyb022JisaI8rAWuw4HI3FuAIhZdOGIcdjLJvvObqlpqvWTJnnQbyi/1M9O8UxWhBs//H42I0q1Yb/XPGONzcmm+ri172mHKvZBpHkJaNJz6v9jxqiklDj3U4CA2ugpAaYMWqNXsdXbmJNd9egCnJEsphXNM+MnK3m0FCJ5S1kmJpa3DgPVbnQnPGWIDspW9ozbcO4K/9LkfaQO2KHuqlfFXSbdNzcEcwoqNEFE9zcIXu9/6n/ym/BC/C3aJLzEKPuYVlbFnfhZ8kcWxV3dbv4bKl28566wD+8C53aw49lTABp9PWbsB+knfc/Li3eVizf5vv/xmvnPKg5ihwKEwlrcHqucuVcVOxEv8aH37E3ZqpZypUulrHEtIWKUr+txHg+ojZDGlwnqmkGlzcVi1dLiNSJiHjfbRNOPwKpx9TVdTn3K05DBx4psIk4Ei8aCkJahRgffk4YnEXe07T4H2RR1u27E6wfQsBDofUgjFUFnwC2AiVtA+05J2zpiDK2Oa0c5fmAecN1iJzmpqFZxqYBCYhFTCsUNEmUnIcZ6aEA5rQVhEywG6w7HSW02XfOoBlQmjwulOFQAg66SvJblrTEX1YtJ3uG15T/BH1OfOQeuR8g/c0gdpT5fx2SKbs9EfHTKdM8A1GaJRHLVIwhcGyydZsbifAFVKl5EMKNU2Hryo+06BeTgqnxzYjThVySDikbtJPieco75lYfKAJOMEZBTjoITuWHXXZVhcUDIS2hpiXHV9Ku4u44bN5OYLDOkJo8w+xJSMbhBRHEdEs9JZUCkQrPMAvaHyLkxgkEHxiNkx/x2YB0mGsQ8EUWj/stW5YLhtS5SMu+/YBbNPDCkGTUybN8krRLBGPlZkVOA0j+a1+rkyQKWGaPHPLZOkJhioQYnVZ2hS3zVxMtgC46KuRwbJNd9nV2PHgb36F194ecf/Yeu2vAFe5nm/bRBFrnY4BauE8ERmZRFUn0k8hbftiVYSKMEme2dJCJSCGYAlNqh87bXOPdUkGy24P6d1ll21MBqqx48Fvv8ZHH8HZFY7j/uAq1xMJUFqCSUlJPmNbIiNsmwuMs/q9CMtsZsFO6SprzCS1Z7QL8xCQClEelpjTduDMsmWD8S1PT152BtvmIGvUeDA/yRn83u/x0/4qxoPHjx+PXY9pqX9bgMvh/Nz9kpP4pOe1/fYf3axUiMdHLlPpZCNjgtNFAhcHEDxTumNONhHrBduW+vOyY++70WWnPXj98eA4kOt/mj/5E05l9+O4o8ePx67HFqyC+qSSnyselqjZGaVK2TadbFLPWAQ4NBhHqDCCV7OTpo34AlSSylPtIdd2AJZlyzYQrDJ5lcWGNceD80CunPLGGzsfD+7wRb95NevJI5docQ3tgCyr5bGnyaPRlmwNsFELViOOx9loebGNq2moDOKpHLVP5al2cymWHbkfzGXL7kfRl44H9wZy33tvt+PB/Xnf93e+nh5ZlU18wCiRUa9m7kib9LYuOk+hudQNbxwm0AQqbfloimaB2lM5fChex+ylMwuTbfmXQtmWlenZljbdXTLuOxjI/fDDHY4Hjx8/Hrse0zXfPFxbUN1kKqSCCSk50m0Ajtx3ub9XHBKHXESb8iO6E+qGytF4nO0OG3SXzbJlhxBnKtKyl0NwybjvYCD30aMdjgePHz8eu56SVTBbgxJMliQ3Oauwg0QHxXE2Ez/EIReLdQj42Gzb4CLS0YJD9xUx7bsi0vJi5mUbW1QzL0h0PFk17rtiIPfJk52MB48fPx67npJJwyrBa2RCCQRTbGZSPCxTPOiND4G2pYyOQ4h4jINIJh5wFU1NFZt+IsZ59LSnDqBjZ2awbOku+yInunLcd8VA7rNnOxkPHj9+PGY9B0MWJJNozOJmlglvDMXDEozdhQWbgs/U6oBanGzLrdSNNnZFjOkmbi5bNt1lX7JLLhn3vXAg9/h4y/Hg8ePHI9dzQMEkWCgdRfYykYKnkP7D4rIujsujaKPBsB54vE2TS00ccvFY/Tth7JXeq1hz+qgVy04sAJawTsvOknHfCwdyT062HA8eP348Zj0vdoXF4pilKa2BROed+9fyw9rWRXeTFXESMOanvDZfJuJaSXouQdMdDJZtekZcLLvEeK04d8m474UDuaenW44Hjx8/Xns9YYqZpszGWB3AN/4VHw+k7WSFtJ3Qicuqb/NlVmgXWsxh570xg2UwxUw3WfO6B5nOuO8aA7lnZxuPB48fPx6znm1i4bsfcbaptF3zNT78eFPtwi1OaCNOqp1x3zUGcs/PN++AGD1+fMXrSVm2baTtPhPahbPhA71wIHd2bXzRa69nG+3CraTtPivahV/55tXWg8fyRY/9AdsY8VbSdp8V7cKrrgdfM//z6ILQFtJ2nxHtwmuoB4/kf74+gLeRtvvMaBdeSz34+vifx0YG20jbfTa0C6+tHrwe//NmOG0L8EbSdp8R7cLrrQe/996O+ai3ujQOskpTNULa7jOjXXj99eCd8lHvoFiwsbTdZ0a78PrrwTvlo966pLuRtB2fFe3Cm6oHP9kNH/W2FryxtN1nTLvwRurBO+Kj3pWXHidtx2dFu/Bm68Fb81HvykuPlrb7LGkX3mw9eGs+6h1Y8MbSdjegXcguQLjmevDpTQLMxtJ2N6NdyBZu9AbrwVvwUW+LbteULUpCdqm0HTelXbhNPe8G68Gb8lFvVfYfSNuxvrTdTWoXbozAzdaDZzfkorOj1oxVxlIMlpSIlpLrt8D4hrQL17z+c3h6hU/wv4Q/utps4+bm+6P/hIcf0JwQ5oQGPBL0eKPTYEXTW+eL/2DKn73J9BTXYANG57hz1cEMviVf/4tf5b/6C5pTQkMIWoAq7hTpOJjtAM4pxKu5vg5vXeUrtI09/Mo/5H+4z+Mp5xULh7cEm2QbRP2tFIKR7WM3fPf/jZ3SWCqLM2l4NxID5zB72HQXv3jj/8mLR5xXNA5v8EbFQEz7PpRfl1+MB/hlAN65qgDn3wTgH13hK7T59bmP+NIx1SHHU84nLOITt3iVz8mNO+lPrjGAnBFqmioNn1mTyk1ta47R6d4MrX7tjrnjYUpdUbv2rVr6YpVfsGG58AG8Ah9eyUN8CX4WfgV+G8LVWPDGb+Zd4cU584CtqSbMKxauxTg+dyn/LkVgA+IR8KHtejeFKRtTmLLpxN6mYVLjYxwXf5x2VofiZcp/lwKk4wGOpYDnoIZPdg/AAbwMfx0+ge9dgZvYjuqKe4HnGnykYo5TvJbG0Vj12JagRhwKa44H95ShkZa5RyLGGdfYvG7aw1TsF6iapPAS29mNS3NmsTQZCmgTzFwgL3upCTgtBTRwvGMAKrgLn4evwin8+afJRcff+8izUGUM63GOOuAs3tJkw7J4kyoNreqrpO6cYLQeFUd7TTpr5YOTLc9RUUogUOVJQ1GYJaFLAW0oTmKyYS46ZooP4S4EON3xQ5zC8/CX4CnM4c1PE8ApexpoYuzqlP3d4S3OJP8ZDK7cKWNaTlqmgDiiHwl1YsE41w1zT4iRTm3DBqxvOUsbMKKDa/EHxagtnta072ejc3DOIh5ojvh8l3tk1JF/AV6FU6jh3U8HwEazLgdCLYSQ+MYiAI2ltomkzttUb0gGHdSUUgsIYjTzLG3mObX4FBRaYtpDVNZrih9TgTeYOBxsEnN1gOCTM8Bsw/ieMc75w9kuAT6A+/AiHGvN/+Gn4KRkiuzpNNDYhDGFndWRpE6SVfm8U5bxnSgVV2jrg6JCKmneqey8VMFgq2+AM/i4L4RUbfSi27lNXZ7R7W9RTcq/q9fk4Xw3AMQd4I5ifAZz8FcVtm9SAom/dyN4lczJQW/kC42ZrHgcCoIf1oVMKkVItmMBi9cOeNHGLqOZk+QqQmrbc5YmYgxELUUN35z2iohstgfLIFmcMV7s4CFmI74L9+EFmGsi+tGnAOD4Yk9gIpo01Y4cA43BWGygMdr4YZekG3OBIUXXNukvJS8tqa06e+lSDCtnqqMFu6hWHXCF+WaYt64m9QBmNxi7Ioy7D+fa1yHw+FMAcPt7SysFLtoG4PXAk7JOA3aAxBRqUiAdU9Yp5lK3HLSRFtOim0sa8euEt08xvKjYjzeJ2GU7YawexrnKI9tmobInjFXCewpwriY9+RR4aaezFhMhGCppKwom0ChrgFlKzyPKkGlTW1YQrE9HJqu8hKGgMc6hVi5QRq0PZxNfrYNgE64utmRv6KKHRpxf6VDUaOvNP5jCEx5q185My/7RKz69UQu2im5k4/eownpxZxNLwiZ1AZTO2ZjWjkU9uaB2HFn6Q3u0JcsSx/qV9hTEApRzeBLDJQXxYmTnq7bdLa3+uqFrxLJ5w1TehnNHx5ECvCh2g2c3hHH5YsfdaSKddztfjQ6imKFGSyFwlLzxEGPp6r5IevVjk1AMx3wMqi1NxDVjLBiPs9tbsCkIY5we5/ML22zrCScFxnNtzsr9Wcc3CnD+pYO+4VXXiDE0oc/vQQ/fDK3oPESJMYXNmJa/DuloJZkcTpcYE8lIH8Dz8DJMiynNC86Mb2lNaaqP/+L7f2fcE/yP7/Lde8xfgSOdMxvOixZf/9p3+M4hT1+F+zApxg9XfUvYjc8qX2lfOOpK2gNRtB4flpFu9FTKCp2XJRgXnX6olp1zyYjTKJSkGmLE2NjUr1bxFM4AeAAHBUFIeSLqXR+NvH/M9fOnfHzOD2vCSyQJKzfgsCh+yi/Mmc35F2fUrw7miW33W9hBD1vpuUojFphIyvg7aTeoymDkIkeW3XLHmguMzbIAJejN6B5MDrhipE2y6SoFRO/AK/AcHHZHNIfiWrEe/C6cr3f/yOvrQKB+zMM55/GQdLDsR+ifr5Fiuu+/y+M78LzOE5dsNuXC3PYvYWd8NXvphLSkJIasrlD2/HOqQ+RjcRdjKTGWYhhVUm4yxlyiGPuMsZR7sMCHUBeTuNWA7if+ifXgc/hovftHXs/DV+Fvwe+f8shzMiMcweFgBly3//vwJfg5AN4450fn1Hd1Rm1aBLu22Dy3y3H2+OqMemkbGZ4jozcDjJf6596xOLpC0eMTHbKnxLxH27uZ/bMTGs2jOaMOY4m87CfQwF0dw53oa1k80JRuz/XgS+8fX3N9Af4qPIMfzKgCp4H5TDGe9GGeFPzSsZz80SlPTxXjgwJmC45njzgt2vbQ4b4OAdUK4/vWhO8d8v6EE8fMUsfakXbPpFJeLs2ubM/qdm/la3WP91uWhxXHjoWhyRUq2iJ/+5mA73zwIIo+LoZ/SgvIRjAd1IMvvn98PfgOvAJfhhm8scAKVWDuaRaK8aQ9f7vuPDH6Bj47ZXau7rqYJ66mTDwEDU6lLbCjCK0qTXyl5mnDoeNRxanj3FJbaksTk0faXxHxLrssgPkWB9LnA/MFleXcJozzjwsUvUG0X/QCve51qkMDXp9mtcyOy3rwBfdvVJK7D6/ACSzg3RoruIq5UDeESfEmVclDxnniU82vxMLtceD0hGZWzBNPMM/jSPne2OVatiTKUpY5vY7gc0LdUAWeWM5tH+O2I66AOWw9xT2BuyRVLGdoDHUsVRXOo/c+ZdRXvFfnxWyIV4upFLCl9eAL7h8Zv0QH8Ry8pA2cHzQpGesctVA37ZtklBTgHjyvdSeKY/RZw/kJMk0Y25cSNRWSigQtlULPTw+kzuJPeYEkXjQRpoGZobYsLF79pyd1dMRHInbgFTZqNLhDqiIsTNpoex2WLcy0/X6rHcdMMQvFSd5dWA++4P7xv89deACnmr36uGlL69bRCL6BSZsS6c0TU2TKK5gtWCzgAOOwQcurqk9j8whvziZSMLcq5hbuwBEsYjopUBkqw1yYBGpLA97SRElEmx5MCInBY5vgLk94iKqSWmhIGmkJ4Bi9m4L645J68LyY4wsFYBfUg5feP/6gWWm58IEmKQM89hq7KsZNaKtP5TxxrUZZVkNmMJtjbKrGxLNEbHPJxhqy7lAmbC32ZqeF6lTaknRWcYaFpfLUBh/rwaQycCCJmW15Kstv6jRHyJFry2C1ahkkIW0LO75s61+owxK1y3XqweX9m5YLM2DPFeOjn/iiqCKJ+yKXF8t5Yl/kNsqaSCryxPq5xWTFIaP8KSW0RYxqupaUf0RcTNSSdJZGcKYdYA6kdtrtmyBckfKXwqk0pHpUHlwWaffjNRBYFPUDWa8e3Lt/o0R0CdisKDM89cX0pvRHEfM8ca4t0s2Xx4kgo91MPQJ/0c9MQYq0co8MBh7bz1fio0UUHLR4aAIOvOmoYO6kwlEVODSSTliWtOtH6sPkrtctF9ZtJ9GIerBskvhdVS5cFNv9s1BU0AbdUgdK4FG+dRnjFmDTzniRMdZO1QhzMK355vigbdkpz9P6qjUGE5J2qAcXmwJ20cZUiAD0z+pGMx6xkzJkmEf40Hr4qZfVg2XzF9YOyoV5BjzVkUJngKf8lgNYwKECEHrCNDrWZzMlflS3yBhr/InyoUgBc/lKT4pxVrrC6g1YwcceK3BmNxZcAtz3j5EIpqguh9H6wc011YN75cKDLpFDxuwkrPQmUwW4KTbj9mZTwBwLq4aQMUZbHm1rylJ46dzR0dua2n3RYCWZsiHROeywyJGR7mXKlpryyCiouY56sFkBWEnkEB/raeh/Sw4162KeuAxMQpEkzy5alMY5wamMsWKKrtW2WpEWNnReZWONKWjrdsKZarpFjqCslq773PLmEhM448Pc3+FKr1+94vv/rfw4tEcu+lKTBe4kZSdijBrykwv9vbCMPcLQTygBjzVckSLPRVGslqdunwJ4oegtFOYb4SwxNgWLCmD7T9kVjTv5YDgpo0XBmN34Z/rEHp0sgyz7lngsrm4lvMm2Mr1zNOJYJ5cuxuQxwMGJq/TP5emlb8fsQBZviK4t8hFL+zbhtlpwaRSxQRWfeETjuauPsdGxsBVdO7nmP4xvzSoT29pRl7kGqz+k26B3Oy0YNV+SXbbQas1ctC/GarskRdFpKczVAF1ZXnLcpaMuzVe6lZ2g/1ndcvOVgRG3sdUAY1bKD6achijMPdMxV4muKVorSpiDHituH7rSTs7n/4y5DhRXo4FVBN4vO/zbAcxhENzGbHCzU/98Mcx5e7a31kWjw9FCe/zNeYyQjZsWb1uc7U33pN4Mji6hCLhivqfa9Ss6xLg031AgfesA/l99m9fgvnaF9JoE6bYKmkGNK3aPbHB96w3+DnxFm4hs0drLsk7U8kf/N/CvwQNtllna0rjq61sH8L80HAuvwH1tvBy2ChqWSCaYTaGN19sTvlfzFD6n+iKTbvtayfrfe9ueWh6GJFoxLdr7V72a5ZpvHcCPDzma0wTO4EgbLyedxstO81n57LYBOBzyfsOhUKsW1J1BB5vr/tz8RyqOFylQP9Tvst2JALsC5lsH8PyQ40DV4ANzYa4dedNiKNR1s+x2wwbR7q4/4cTxqEk4LWDebfisuo36JXLiWFjOtLrlNWh3K1rRS4xvHcDNlFnNmWBBAl5SWaL3oPOfnvbr5pdjVnEaeBJSYjuLEkyLLsWhKccadmOphZkOPgVdalj2QpSmfOsADhMWE2ZBu4+EEJI4wKTAuCoC4xwQbWXBltpxbjkXJtKxxabo9e7tyhlgb6gNlSbUpMh+l/FaqzVwewGu8BW1Zx7pTpQDJUjb8tsUTW6+GDXbMn3mLbXlXJiGdggxFAoUrtPS3wE4Nk02UZG2OOzlk7fRs7i95QCLo3E0jtrjnM7SR3uS1p4qtS2nJ5OwtQVHgOvArLBFijZUV9QtSl8dAY5d0E0hM0w3HS2DpIeB6m/A1+HfhJcGUq4sOxH+x3f5+VO+Ds9rYNI7zPXOYWPrtf8bYMx6fuOAX5jzNR0PdsuON+X1f7EERxMJJoU6GkTEWBvVolVlb5lh3tKCg6Wx1IbaMDdJ+9sUCc5KC46hKGCk3IVOS4TCqdBNfUs7Kd4iXf2RjnT/LLysJy3XDcHLh/vde3x8DoGvwgsa67vBk91G5Pe/HbOe7xwym0NXbtiuuDkGO2IJDh9oQvJ4cY4vdoqLDuoH9Zl2F/ofsekn8lkuhIlhQcffUtSjytFyp++p6NiE7Rqx/lodgKVoceEp/CP4FfjrquZaTtj2AvH5K/ywpn7M34K/SsoYDAdIN448I1/0/wveW289T1/lX5xBzc8N5IaHr0XMOQdHsIkDuJFifj20pBm5jzwUv9e2FhwRsvhAbalCIuIw3bhJihY3p6nTFFIZgiSYjfTf3aXuOjmeGn4bPoGvwl+CFzTRczBIuHBEeImHc37/lGfwZR0cXzVDOvaKfNHvwe+suZ771K/y/XcBlsoN996JpBhoE2toYxOznNEOS5TJc6Id5GEXLjrWo+LEWGNpPDU4WAwsIRROu+1vM+0oW37z/MBN9kqHnSArwPfgFJ7Cq/Ai3Ie7g7ncmI09v8sjzw9mzOAEXoIHxURueaAce5V80f/DOuuZwHM8vsMb5wBzOFWM7wymTXPAEvm4vcFpZ2ut0VZRjkiP2MlmLd6DIpbGSiHOjdnUHN90hRYmhTnmvhzp1iKDNj+b7t5hi79lWGwQ+HN9RsfFMy0FXbEwhfuczKgCbyxYwBmcFhhvo/7a44v+i3XWcwDP86PzpGQYdWh7csP5dBvZ1jNzdxC8pBGuxqSW5vw40nBpj5JhMwvOzN0RWqERHMr4Lv1kWX84xLR830G3j6yqZ1a8UstTlW+qJPOZ+sZ7xZPKTJLhiNOAFd6tk+jrTH31ncLOxid8+nzRb128HhUcru/y0Wn6iT254YPC6FtVSIMoW2sk727AhvTtrWKZTvgsmckfXYZWeNRXx/3YQ2OUxLDrbHtN11IwrgXT6c8dATDwLniYwxzO4RzuQqTKSC5gAofMZ1QBK3zQ4JWobFbcvJm87FK+6JXrKahLn54m3p+McXzzYtP8VF/QpJuh1OwieElEoI1pRxPS09FBrkq2tWCU59+HdhNtTIqKm8EBrw2RTOEDpG3IKo2Y7mFdLm3ZeVjYwVw11o/oznceMve4CgMfNym/utA/d/ILMR7gpXzRy9eDsgLcgbs8O2Va1L0zzIdwGGemTBuwROHeoMShkUc7P+ISY3KH5ZZeWqO8mFTxQYeXTNuzvvK5FGPdQfuu00DwYFY9dyhctEt+OJDdnucfpmyhzUJzfsJjr29l8S0bXBfwRS9ZT26tmMIdZucch5ZboMz3Nio3nIOsYHCGoDT4kUA9MiXEp9Xsui1S8th/kbWIrMBxDGLodWUQIWcvnXy+9M23xPiSMOiRPqM+YMXkUN3gXFrZJwXGzUaMpJfyRS9ZT0lPe8TpScuRlbMHeUmlaKDoNuy62iWNTWNFYjoxFzuJs8oR+RhRx7O4SVNSXpa0ZJQ0K1LAHDQ+D9IepkMXpcsq5EVCvClBUIzDhDoyKwDw1Lc59GbTeORivugw1IcuaEOaGWdNm+Ps5fQ7/tm0DjMegq3yM3vb5j12qUId5UZD2oxDSEWOZMSqFl/W+5oynWDa/aI04tJRQ2eTXusg86SQVu/nwSYwpW6wLjlqIzwLuxGIvoAvul0PS+ZNz0/akp/pniO/8JDnGyaCkzbhl6YcqmK/69prxPqtpx2+Km9al9sjL+rwMgHw4jE/C8/HQ3m1vBuL1fldbzd8mOueVJ92syqdEY4KJjSCde3mcRw2TA6szxedn+zwhZMps0XrqEsiUjnC1hw0TELC2Ek7uAAdzcheXv1BYLagspxpzSAoZZUsIzIq35MnFQ9DOrlNB30jq3L4pkhccKUAA8/ocvN1Rzx9QyOtERs4CVsJRK/DF71kPYrxYsGsm6RMh4cps5g1DOmM54Ly1ii0Hd3Y/BMk8VWFgBVmhqrkJCPBHAolwZaWzLR9Vb7bcWdX9NyUYE+uB2BKfuaeBUcjDljbYVY4DdtsVWvzRZdWnyUzDpjNl1Du3aloAjVJTNDpcIOVVhrHFF66lLfJL1zJr9PQ2nFJSBaKoDe+sAvLufZVHVzYh7W0h/c6AAZ+7Tvj6q9j68G/cTCS/3n1vLKHZwNi+P+pS0WkZNMBMUl+LDLuiE4omZy71r3UFMwNJV+VJ/GC5ixVUkBStsT4gGKh0Gm4Oy3qvq7Lbmq24nPdDuDR9deR11XzP4vFu3TYzfnIyiSVmgizUYGqkIXNdKTY9pgb9D2Ix5t0+NHkVzCdU03suWkkVZAoCONCn0T35gAeW38de43mf97sMOpSvj4aa1KYUm58USI7Wxxes03bAZdRzk6UtbzMaCQ6IxO0dy7X+XsjoD16hpsBeGz9dfzHj+R/Hp8nCxZRqkEDTaCKCSywjiaoMJ1TITE9eg7Jqnq8HL6gDwiZb0u0V0Rr/rmvqjxKuaLCX7ZWXTvAY+uvm3z8CP7nzVpngqrJpZKwWnCUjIviYVlirlGOzPLI3SMVyp/elvBUjjDkNhrtufFFErQ8pmdSlbK16toBHlt/HV8uHMX/vEGALkV3RJREiSlopxwdMXOZPLZ+ix+kAHpMKIk8UtE1ygtquttwxNhphrIZ1IBzjGF3IIGxGcBj6q8bHJBG8T9vdsoWrTFEuebEZuVxhhClH6P5Zo89OG9fwHNjtNQTpD0TG9PJLEYqvEY6Rlxy+ZZGfL0Aj62/bnQCXp//eeM4KzfQVJbgMQbUjlMFIm6TpcfWlZje7NBSV6IsEVmumWIbjiloUzQX9OzYdo8L1wjw2PrrpimONfmfNyzKklrgnEkSzT5QWYQW40YShyzqsRmMXbvVxKtGuYyMKaU1ugenLDm5Ily4iT14fP11Mx+xJv+zZ3MvnfdFqxU3a1W/FTB4m3Qfsyc1XUcdVhDeUDZXSFHHLQj/Y5jtC7ZqM0CXGwB4bP11i3LhOvzPGygYtiUBiwQV/4wFO0majijGsafHyRLu0yG6q35cL1rOpVxr2s5cM2jJYMCdc10Aj6q/blRpWJ//+dmm5psMl0KA2+AFRx9jMe2WbC4jQxnikd4DU8TwUjRVacgdlhmr3bpddzuJ9zXqr2xnxJfzP29RexdtjDVZqzkqa6PyvcojGrfkXiJ8SEtml/nYskicv0ivlxbqjemwUjMw5evdg8fUX9nOiC/lf94Q2i7MURk9nW1MSj5j8eAyV6y5CN2S6qbnw3vdA1Iwq+XOSCl663udN3IzLnrt+us25cI1+Z83SXQUldqQq0b5XOT17bGpLd6ssN1VMPf8c+jG8L3NeCnMdF+Ra3fRa9dft39/LuZ/3vwHoHrqGmQFafmiQw6eyzMxS05K4bL9uA+SKUQzCnSDkqOGokXyJvbgJ/BHI+qvY69//4rl20NsmK2ou2dTsyIALv/91/8n3P2Aao71WFGi8KKv1fRC5+J67Q/507/E/SOshqN5TsmYIjVt+kcjAx98iz/4SaojbIV1rexE7/C29HcYD/DX4a0rBOF5VTu7omsb11L/AWcVlcVZHSsqGuXLLp9ha8I//w3Mv+T4Ew7nTBsmgapoCrNFObIcN4pf/Ob/mrvHTGqqgAupL8qWjWPS9m/31jAe4DjA+4+uCoQoT/zOzlrNd3qd4SdphFxsUvYwGWbTWtISc3wNOWH+kHBMfc6kpmpwPgHWwqaSUG2ZWWheYOGQGaHB+eQ/kn6b3pOgLV+ODSn94wDvr8Bvb70/LLuiPPEr8OGVWfDmr45PZyccEmsVXZGe1pRNX9SU5+AVQkNTIVPCHF/jGmyDC9j4R9LfWcQvfiETmgMMUCMN1uNCakkweZsowdYobiMSlnKA93u7NzTXlSfe+SVbfnPQXmg9LpYAQxpwEtONyEyaueWM4FPjjyjG3uOaFmBTWDNgBXGEiQpsaWhnAqIijB07Dlsy3fUGeP989xbWkyf+FF2SNEtT1E0f4DYYVlxFlbaSMPIRMk/3iMU5pME2SIWJvjckciebkQuIRRyhUvkHg/iUljG5kzVog5hV7vIlCuBrmlhvgPfNHQM8lCf+FEGsYbMIBC0qC9a0uuy2wLXVbLBaP5kjHokCRxapkQyzI4QEcwgYHRZBp+XEFTqXFuNVzMtjXLJgX4gAid24Hjwc4N3dtVSe+NNiwTrzH4WVUOlDobUqr1FuAgYllc8pmzoVrELRHSIW8ViPxNy4xwjBpyR55I6J220qQTZYR4guvUICJiSpr9gFFle4RcF/OMB7BRiX8sSfhpNSO3lvEZCQfLUVTKT78Ek1LRLhWN+yLyTnp8qWUZ46b6vxdRGXfHVqx3eI75YaLa4iNNiK4NOW7wPW6lhbSOF9/M9qw8e/aoB3d156qTzxp8pXx5BKAsYSTOIIiPkp68GmTq7sZtvyzBQaRLNxIZ+paozHWoLFeExIhRBrWitHCAHrCF7/thhD8JhYz84wg93QRV88wLuLY8zF8sQ36qF1J455bOlgnELfshKVxYOXKVuKx0jaj22sczTQqPqtV/XDgpswmGTWWMSDw3ssyUunLLrVPGjYRsH5ggHeHSWiV8kT33ycFSfMgkoOK8apCye0J6VW6GOYvffgU9RWsukEi2kUV2nl4dOYUzRik9p7bcA4ggdJ53LxKcEe17B1R8eqAd7dOepV8sTXf5lhejoL85hUdhDdknPtKHFhljOT+bdq0hxbm35p2nc8+Ja1Iw+tJykgp0EWuAAZYwMVwac5KzYMslhvgHdHRrxKnvhTYcfKsxTxtTETkjHO7rr3zjoV25lAQHrqpV7bTiy2aXMmUhTBnKS91jhtR3GEoF0oLnWhWNnYgtcc4N0FxlcgT7yz3TgNIKkscx9jtV1ZKpWW+Ub1tc1eOv5ucdgpx+FJy9pgbLE7xDyXb/f+hLHVGeitHOi6A7ybo3sF8sS7w7cgdk0nJaOn3hLj3uyD0Zp5pazFIUXUpuTTU18d1EPkDoX8SkmWTnVIozEdbTcZjoqxhNHf1JrSS/AcvHjZ/SMHhL/7i5z+POsTUh/8BvNfYMTA8n+yU/MlTZxSJDRStqvEuLQKWwDctMTQogUDyQRoTQG5Kc6oQRE1yV1jCA7ri7jdZyK0sYTRjCR0Hnnd+y7nHxNgTULqw+8wj0mQKxpYvhjm9uSUxg+TTy7s2GtLUGcywhXSKZN275GsqlclX90J6bRI1aouxmgL7Q0Nen5ziM80SqMIo8cSOo+8XplT/5DHNWsSUr/6lLN/QQ3rDyzLruEW5enpf7KqZoShEduuSFOV7DLX7Ye+GmXb6/hnNNqKsVXuMDFpb9Y9eH3C6NGEzuOuI3gpMH/I6e+zDiH1fXi15t3vA1czsLws0TGEtmPEJdiiFPwlwKbgLHAFk4P6ZyPdymYYHGE0dutsChQBl2JcBFlrEkY/N5bQeXQ18gjunuMfMfsBlxJSx3niO485fwO4fGD5T/+3fPQqkneWVdwnw/3bMPkW9Wbqg+iC765Zk+xcT98ibKZc2EdgHcLoF8cSOo/Oc8fS+OyEULF4g4sJqXVcmfMfsc7A8v1/yfGXmL9I6Fn5pRwZhsPv0TxFNlAfZCvG+Oohi82UC5f/2IsJo0cTOm9YrDoKhFPEUr/LBYTUNht9zelHXDqwfPCIw4owp3mOcIQcLttWXFe3VZ/j5H3cIc0G6oPbCR+6Y2xF2EC5cGUm6wKC5tGEzhsWqw5hNidUiKX5gFWE1GXh4/Qplw4sVzOmx9QxU78g3EF6wnZlEN4FzJ1QPSLEZz1KfXC7vd8ssGdIbNUYpVx4UapyFUHzJoTOo1McSkeNn1M5MDQfs4qQuhhX5vQZFw8suwWTcyYTgioISk2YdmkhehG4PkE7w51inyAGGaU+uCXADabGzJR1fn3lwkty0asIo8cROm9Vy1g0yDxxtPvHDAmpu+PKnM8Ix1wwsGw91YJqhteaWgjYBmmQiebmSpwKKzE19hx7jkzSWOm66oPbzZ8Yj6kxVSpYjVAuvLzYMCRo3oTQecOOjjgi3NQ4l9K5/hOGhNTdcWVOTrlgYNkEXINbpCkBRyqhp+LdRB3g0OU6rMfW2HPCFFMV9nSp+uB2woepdbLBuJQyaw/ZFysXrlXwHxI0b0LovEkiOpXGA1Ijagf+KUNC6rKNa9bQnLFqYNkEnMc1uJrg2u64ELPBHpkgWbmwKpJoDhMwNbbGzAp7Yg31wS2T5rGtzit59PrKhesWG550CZpHEzpv2NGRaxlNjbMqpmEIzygJqQfjypycs2pg2cS2RY9r8HUqkqdEgKTWtWTKoRvOBPDYBltja2SO0RGjy9UHtxwRjA11ujbKF+ti5cIR9eCnxUg6owidtyoU5tK4NLji5Q3HCtiyF2IqLGYsHViOXTXOYxucDqG0HyttqYAKqYo3KTY1ekyDXRAm2AWh9JmsVh/ccg9WJ2E8YjG201sPq5ULxxX8n3XLXuMInbft2mk80rRGjCGctJ8/GFdmEQ9Ug4FlE1ll1Y7jtiraqm5Fe04VV8lvSVBL8hiPrfFVd8+7QH3Qbu2ipTVi8cvSGivc9cj8yvH11YMHdNSERtuOslM97feYFOPKzGcsI4zW0YGAbTAOaxCnxdfiYUmVWslxiIblCeAYr9VYR1gM7GmoPrilunSxxeT3DN/2eBQ9H11+nk1adn6VK71+5+Jfct4/el10/7KBZfNryUunWSCPxPECk1rdOv1WVSrQmpC+Tl46YD3ikQYcpunSQgzVB2VHFhxHVGKDgMEY5GLlQnP7FMDzw7IacAWnO6sBr12u+XanW2AO0wQ8pknnFhsL7KYIqhkEPmEXFkwaN5KQphbkUmG72wgw7WSm9RiL9QT925hkjiVIIhphFS9HKI6/8QAjlpXqg9W2C0apyaVDwKQwrwLY3j6ADR13ZyUNByQXHQu6RY09Hu6zMqXRaNZGS/KEJs0cJEe9VH1QdvBSJv9h09eiRmy0V2uJcqHcShcdvbSNg5fxkenkVprXM9rDVnX24/y9MVtncvbKY706anNl3ASll9a43UiacVquXGhvq4s2FP62NGKfQLIQYu9q1WmdMfmUrDGt8eDS0cXozH/fjmUH6Jruvm50hBDSaEU/2Ru2LEN/dl006TSc/g7tfJERxGMsgDUEr104pfWH9lQaN+M4KWQjwZbVc2rZVNHsyHal23wZtIs2JJqtIc/WLXXRFCpJkfE9jvWlfFbsNQ9pP5ZBS0zKh4R0aMFj1IjTcTnvi0Zz2rt7NdvQb2mgbju1plsH8MmbnEk7KbK0b+wC2iy3aX3szW8xeZvDwET6hWZYwqTXSSG+wMETKum0Dq/q+x62gt2ua2ppAo309TRk9TPazfV3qL9H8z7uhGqGqxNVg/FKx0HBl9OVUORn8Q8Jx9gFttGQUDr3tzcXX9xGgN0EpzN9mdZ3GATtPhL+CjxFDmkeEU6x56kqZRusLzALXVqkCN7zMEcqwjmywDQ6OhyUe0Xao1Qpyncrg6wKp9XfWDsaZplElvQ/b3sdweeghorwBDlHzgk1JmMc/wiERICVy2VJFdMjFuLQSp3S0W3+sngt2njwNgLssFGVQdJ0tu0KH4ky1LW4yrbkuaA6Iy9oz/qEMMXMMDWyIHhsAyFZc2peV9hc7kiKvfULxCl9iddfRK1f8kk9qvbdOoBtOg7ZkOZ5MsGrSHsokgLXUp9y88smniwWyuFSIRVmjplga3yD8Uij5QS1ZiM4U3Qw5QlSm2bXjFe6jzzBFtpg+/YBbLAWG7OPynNjlCw65fukGNdkJRf7yM1fOxVzbxOJVocFoYIaGwH22mIQkrvu1E2nGuebxIgW9U9TSiukPGU+Lt++c3DJPKhyhEEbXCQLUpae2exiKy6tMPe9mDRBFCEMTWrtwxN8qvuGnt6MoihKWS5NSyBhbH8StXoAz8PLOrRgLtOT/+4vcu+7vDLnqNvztOq7fmd8sMmY9Xzn1zj8Dq8+XVdu2Nv0IIySgEdQo3xVHps3Q5i3fLFsV4aiqzAiBhbgMDEd1uh8qZZ+lwhjkgokkOIv4xNJmyncdfUUzgB4oFMBtiu71Xumpz/P+cfUP+SlwFExwWW62r7b+LSPxqxn/gvMZ5z9C16t15UbNlq+jbGJtco7p8wbYlL4alSyfWdeuu0j7JA3JFNuVAwtst7F7FhWBbPFNKIUORndWtLraFLmMu7KFVDDOzqkeaiN33YAW/r76wR4XDN/yN1z7hejPau06EddkS/6XThfcz1fI/4K736fO48vlxt2PXJYFaeUkFS8U15XE3428xdtn2kc8GQlf1vkIaNRRnOMvLTWrZbElEHeLWi1o0dlKPAh1MVgbbVquPJ5+Cr8LU5/H/+I2QlHIU2ClXM9G8v7Rr7oc/hozfUUgsPnb3D+I+7WF8kNO92GY0SNvuxiE+2Bt8prVJTkzE64sfOstxuwfxUUoyk8VjcTlsqe2qITSFoSj6Epd4KsT6BZOWmtgE3hBfir8IzZDwgV4ZTZvD8VvPHERo8v+vL1DASHTz/i9OlKueHDjK5Rnx/JB1Vb1ioXdBra16dmt7dgik10yA/FwJSVY6XjA3oy4SqM2frqDPPSRMex9qs3XQtoWxMj7/Er8GWYsXgjaVz4OYumP2+9kbxvny/6kvWsEBw+fcb5bInc8APdhpOSs01tEqIkoiZjbAqKMruLbJYddHuHFRIyJcbdEdbl2sVLaySygunutBg96Y2/JjKRCdyHV+AEFtTvIpbKIXOamknYSiB6KV/0JetZITgcjjk5ZdaskBtWO86UF0ap6ozGXJk2WNiRUlCPFir66lzdm/SLSuK7EUdPz8f1z29Skq6F1fXg8+5UVR6bszncP4Tn4KUkkdJ8UFCY1zR1i8RmL/qQL3rlei4THG7OODlnKko4oI01kd3CaM08Ia18kC3GNoVaO9iDh+hWxSyTXFABXoau7Q6q9OxYg/OVEMw6jdbtSrJ9cBcewGmaZmg+bvkUnUUaGr+ZfnMH45Ivevl61hMcXsxYLFTu1hTm2zViCp7u0o5l+2PSUh9bDj6FgYypufBDhqK2+oXkiuHFHR3zfj+9PtA8oR0xnqX8qn+sx3bFODSbbF0X8EUvWQ8jBIcjo5bRmLOljDNtcqNtOe756h3l0VhKa9hDd2l1eqmsnh0MNMT/Cqnx6BInumhLT8luljzQ53RiJeA/0dxe5NK0o2fA1+GLXr6eNQWHNUOJssQaTRlGpLHKL9fD+IrQzTOMZS9fNQD4AnRNVxvTdjC+fJdcDDWQcyB00B0t9BDwTxXgaAfzDZ/DBXzRnfWMFRwuNqocOmX6OKNkY63h5n/fFcB28McVHqnXZVI27K0i4rDLNE9lDKV/rT+udVbD8dFFu2GGZ8mOt0kAXcoX3ZkIWVtw+MNf5NjR2FbivROHmhV1/pj2egv/fMGIOWTIWrV3Av8N9imV9IWml36H6cUjqEWNv9aNc+veb2sH46PRaHSuMBxvtW+twxctq0z+QsHhux8Q7rCY4Ct8lqsx7c6Sy0dl5T89rIeEuZKoVctIk1hNpfavER6yyH1Vvm3MbsUHy4ab4hWr/OZPcsRBphnaV65/ZcdYPNNwsjN/djlf9NqCw9U5ExCPcdhKxUgLSmfROpLp4WSUr8ojdwbncbvCf+a/YzRaEc6QOvXcGO256TXc5Lab9POvB+AWY7PigWYjzhifbovuunzRawsO24ZqQQAqguBtmpmPB7ysXJfyDDaV/aPGillgz1MdQg4u5MYaEtBNNHFjkRlSpd65lp4hd2AVPTfbV7FGpyIOfmNc/XVsPfg7vzaS/3nkvLL593ANLvMuRMGpQIhiF7kUEW9QDpAUbTWYBcbp4WpacHHY1aacqQyjGZS9HI3yCBT9kUZJhVOD+zUDvEH9ddR11fzPcTDQ5TlgB0KwqdXSavk9BC0pKp0WmcuowSw07VXmXC5guzSa4p0UvRw2lbDiYUx0ExJJRzWzi6Gm8cnEkfXXsdcG/M/jAJa0+bmCgdmQ9CYlNlSYZOKixmRsgiFxkrmW4l3KdFKv1DM8tk6WxPYJZhUUzcd8Kdtgrw/gkfXXDT7+avmfVak32qhtkg6NVdUS5wgkru1YzIkSduTW1FDwVWV3JQVJVuieTc0y4iDpFwc7/BvSalvKdQM8sv662cevz/+8sQVnjVAT0W2wLllw1JiMhJRxgDjCjLQsOzSFSgZqx7lAW1JW0e03yAD3asC+GD3NbQhbe+mN5GXH1F83KDOM4n/e5JIuH4NpdQARrFPBVptUNcjj4cVMcFSRTE2NpR1LEYbYMmfWpXgP9KejaPsLUhuvLCsVXznAG9dfx9SR1ud/3hZdCLHb1GMdPqRJgqDmm76mHbvOXDtiO2QPUcKo/TWkQ0i2JFXpBoo7vij1i1Lp3ADAo+qvG3V0rM//vFnnTE4hxd5Ka/Cor5YEdsLVJyKtDgVoHgtW11pWSjolPNMnrlrVj9Fv2Qn60twMwKPqr+N/wvr8z5tZcDsDrv06tkqyzESM85Ycv6XBWA2birlNCXrI6VbD2lx2L0vQO0QVTVVLH4SE67fgsfVXv8n7sz7/85Z7cMtbE6f088wSaR4kCkCm10s6pKbJhfqiUNGLq+0gLWC6eUAZFPnLjwqtKd8EwGvWX59t7iPW4X/eAN1svgRVSY990YZg06BD1ohLMtyFTI4pKTJsS9xREq9EOaPWiO2gpms7397x6nQJkbh+Fz2q/rqRROX6/M8bJrqlVW4l6JEptKeUFuMYUbtCQ7CIttpGc6MY93x1r1vgAnRXvY5cvwWPqb9uWQm+lP95QxdNMeWhOq1x0Db55C7GcUv2ZUuN6n8iKzsvOxibC//Yfs9Na8r2Rlz02vXXDT57FP/zJi66/EJSmsJKa8QxnoqW3VLQ+jZVUtJwJ8PNX1NQCwfNgdhhHD9on7PdRdrdGPF28rJr1F+3LBdeyv+8yYfLoMYet1vX4upNAjVvwOUWnlNXJXlkzk5Il6kqeoiL0C07qno+/CYBXq/+utlnsz7/Mzvy0tmI4zm4ag23PRN3t/CWryoUVJGm+5+K8RJ0V8Hc88/XHUX/HfiAq7t+BH+x6v8t438enWmdJwFA6ZINriLGKv/95f8lT9/FnyA1NMVEvQyaXuu+gz36f/DD73E4pwqpLcvm/o0Vle78n//+L/NPvoefp1pTJye6e4A/D082FERa5/opeH9zpvh13cNm19/4v/LDe5xMWTi8I0Ta0qKlK27AS/v3/r+/x/2GO9K2c7kVMonDpq7//jc5PKCxeNPpFVzaRr01wF8C4Pu76hXuX18H4LduTr79guuFD3n5BHfI+ZRFhY8w29TYhbbLi/bvBdqKE4fUgg1pBKnV3FEaCWOWyA+m3WpORZr/j+9TKJtW8yBTF2/ZEODI9/QavHkVdGFp/Pjn4Q+u5hXapsP5sOH+OXXA1LiKuqJxiMNbhTkbdJTCy4llEt6NnqRT4dhg1V3nbdrm6dYMecA1yTOL4PWTE9L5VzPFlLBCvlG58AhehnN4uHsAYinyJ+AZ/NkVvELbfOBUuOO5syBIEtiqHU1k9XeISX5bsimrkUUhnGDxourN8SgUsCZVtKyGbyGzHXdjOhsAvOAswSRyIBddRdEZWP6GZhNK/yjwew9ehBo+3jEADu7Ay2n8mDc+TS7awUHg0OMzR0LABhqLD4hJEh/BEGyBdGlSJoXYXtr+3HS4ijzVpgi0paWXtdruGTknXBz+11qT1Q2inxaTzQCO46P3lfLpyS4fou2PH/PupwZgCxNhGlj4IvUuWEsTkqMWm6i4xCSMc9N1RDQoCVcuGItJ/MRWefais+3synowi/dESgJjkilnWnBTGvRWmaw8oR15257t7CHmCf8HOn7cwI8+NQBXMBEmAa8PMRemrNCEhLGEhDQKcGZWS319BX9PFBEwGTbRBhLbDcaV3drFcDqk5kCTd2JF1Wp0HraqBx8U0wwBTnbpCadwBA/gTH/CDrcCs93LV8E0YlmmcyQRQnjBa8JESmGUfIjK/7fkaDJpmD2QptFNVJU1bbtIAjjWQizepOKptRjbzR9Kag6xZmMLLjHOtcLT3Tx9o/0EcTT1XN3E45u24AiwEypDJXihKjQxjLprEwcmRKclaDNZCVqr/V8mYWyFADbusiY5hvgFoU2vio49RgJLn5OsReRFN6tabeetiiy0V7KFHT3HyZLx491u95sn4K1QQSPKM9hNT0wMVvAWbzDSVdrKw4zRjZMyJIHkfq1VAVCDl/bUhNKlGq0zGr05+YAceXVPCttVk0oqjVwMPt+BBefx4yPtGVkUsqY3CHDPiCM5ngupUwCdbkpd8kbPrCWHhkmtIKLEetF2499eS1jZlIPGYnlcPXeM2KD9vLS0bW3ktYNqUllpKLn5ZrsxlIzxvDu5eHxzGLctkZLEY4PgSOg2IUVVcUONzUDBEpRaMoXNmUc0tFZrTZquiLyKxrSm3DvIW9Fil+AkhXu5PhEPx9mUNwqypDvZWdKlhIJQY7vn2OsnmBeOWnYZ0m1iwbbw1U60by5om47iHRV6fOgzjMf/DAZrlP40Z7syxpLK0lJ0gqaAK1c2KQKu7tabTXkLFz0sCftuwX++MyNeNn68k5Buq23YQhUh0SNTJa1ioQ0p4nUG2y0XilF1JqODqdImloPS4Bp111DEWT0jJjVv95uX9BBV7eB3bUWcu0acSVM23YZdd8R8UbQUxJ9wdu3oMuhdt929ME+mh6JXJ8di2RxbTi6TbrDquqV4aUKR2iwT6aZbyOwEXN3DUsWr8Hn4EhwNyHuXHh7/pdaUjtR7vnDh/d8c9xD/s5f501eQ1+CuDiCvGhk1AN/4Tf74RfxPwD3toLarR0zNtsnPzmS64KIRk861dMWCU8ArasG9T9H0ZBpsDGnjtAOM2+/LuIb2iIUGXNgl5ZmKD/Tw8TlaAuihaFP5yrw18v4x1898zIdP+DDAX1bM3GAMvPgRP/cJn3zCW013nrhHkrITyvYuwOUkcHuKlRSW5C6rzIdY4ppnF7J8aAJbQepgbJYBjCY9usGXDKQxq7RZfh9eg5d1UHMVATRaD/4BHK93/1iAgYZ/+jqPn8Dn4UExmWrpa3+ZOK6MvM3bjwfzxNWA2dhs8+51XHSPJiaAhGSpWevEs5xHLXcEGFXYiCONySH3fPWq93JIsBiSWvWyc3CAN+EcXoT7rCSANloPPoa31rt/5PUA/gp8Q/jDD3hyrjzlR8VkanfOvB1XPubt17vzxAfdSVbD1pzAnfgyF3ycadOTOTXhpEUoLC1HZyNGW3dtmjeXgr2r56JNmRwdNNWaQVBddd6rh4MhviEB9EFRD/7RGvePvCbwAL4Mx/D6M541hHO4D3e7g6PafdcZVw689z7NGTwo5om7A8sPhccT6qKcl9NJl9aM/9kX+e59Hh1yPqGuCCZxuITcsmNaJ5F7d0q6J3H48TO1/+M57085q2icdu2U+W36Ldllz9Agiv4YGljoEN908EzvDOrBF98/vtJwCC/BF2AG75xxEmjmMIcjxbjoaxqOK3/4hPOZzhMPBpYPG44CM0dTVm1LjLtUWWVz1Bcf8tEx0zs8O2A2YVHRxKYOiy/aOVoAaMu0i7ubu43njjmd4ibMHU1sIDHaQNKrZND/FZYdk54oCXetjq7E7IVl9eAL7t+oHnwXXtLx44czzoRFHBztYVwtH1d+NOMkupZ5MTM+gUmq90X+Bh9zjRlmaQ+m7YMqUL/veemcecAtOJ0yq1JnVlN27di2E0+Klp1tAJ4KRw1eMI7aJjsO3R8kPSI3fUFXnIOfdQe86sIIVtWDL7h//Ok6vj8vwDk08NEcI8zz7OhBy+WwalzZeZ4+0XniRfst9pAJqQHDGLzVQ2pheZnnv1OWhwO43/AgcvAEXEVVpa4db9sGvNK8wjaENHkfFQ4Ci5i7dqnQlPoLQrHXZDvO3BIXZbJOBrOaEbML6sFL798I4FhKihjHMsPjBUZYCMFr6nvaArxqXPn4lCa+cHfSa2cP27g3Z3ziYTRrcbQNGLQmGF3F3cBdzzzX7AILx0IB9rbwn9kx2G1FW3Inic+ZLIsVvKR8Zwfj0l1fkqo8LWY1M3IX14OX3r9RKTIO+d9XzAI8qRPGPn/4NC2n6o4rN8XJ82TOIvuVA8zLKUHRFgBCetlDZlqR1gLKjS39xoE7Bt8UvA6BxuEDjU3tFsEijgA+615tmZkXKqiEENrh41iLDDZNq4pKTWR3LZfnos81LOuNa15cD956vLMsJd1rqYp51gDUQqMYm2XsxnUhD2jg1DM7SeuJxxgrmpfISSXVIJIS5qJJSvJPEQ49DQTVIbYWJ9QWa/E2+c/oPK1drmC7WSfJRNKBO5Yjvcp7Gc3dmmI/Xh1kDTEuiSnWqQf37h+fTMhGnDf6dsS8SQfQWlqqwXXGlc/PEZ/SC5mtzIV0nAshlQdM/LvUtYutrEZ/Y+EAFtq1k28zQhOwLr1AIeANzhF8t9qzTdZf2qRKO6MWE9ohBYwibbOmrFtNmg3mcS+tB28xv2uKd/agYCvOP+GkSc+0lr7RXzyufL7QbkUpjLjEWFLqOIkAGu2B0tNlO9Eau2W1qcOUvVRgKzypKIQZ5KI3q0MLzqTNRYqiZOqmtqloIRlmkBHVpHmRYV6/HixbO6UC47KOFJnoMrVyr7wYz+SlW6GUaghYbY1I6kkxA2W1fSJokUdSh2LQ1GAimRGm0MT+uu57H5l7QgOWxERpO9moLRPgTtquWCfFlGlIjQaRly9odmzMOWY+IBO5tB4sW/0+VWGUh32qYk79EidWKrjWuiLpiVNGFWFRJVktyeXWmbgBBzVl8anPuXyNJlBJOlKLTgAbi/EYHVHxWiDaVR06GnHQNpJcWcK2jJtiCfG2sEHLzuI66sGrMK47nPIInPnu799935aOK2cvmvubrE38ZzZjrELCmXM2hM7UcpXD2oC3+ECVp7xtIuxptJ0jUr3sBmBS47TVxlvJ1Sqb/E0uLdvLj0lLr29ypdd/eMX3f6lrxGlKwKQxEGvw0qHbkbwrF3uHKwVENbIV2wZ13kNEF6zD+x24aLNMfDTCbDPnEikZFyTNttxWBXDaBuM8KtI2rmaMdUY7cXcUPstqTGvBGSrFWIpNMfbdea990bvAOC1YX0qbc6smDS1mPxSJoW4fwEXvjMmhlijDRq6qale6aJEuFGoppYDoBELQzLBuh/mZNx7jkinv0EtnUp50lO9hbNK57lZaMAWuWR5Yo9/kYwcYI0t4gWM47Umnl3YmpeBPqSyNp3K7s2DSAS/39KRuEN2bS4xvowV3dFRMx/VFcp2Yp8w2nTO9hCXtHG1kF1L4KlrJr2wKfyq77R7MKpFKzWlY9UkhYxyHWW6nBWPaudvEAl3CGcNpSXPZ6R9BbBtIl6cHL3gIBi+42CYXqCx1gfGWe7Ap0h3luyXdt1MKy4YUT9xSF01G16YEdWsouW9mgDHd3veyA97H+Ya47ZmEbqMY72oPztCGvK0onL44AvgC49saZKkWRz4veWljE1FHjbRJaWv6ZKKtl875h4CziFCZhG5rx7tefsl0aRT1bMHZjm8dwL/6u7wCRysaQblQoG5yAQN5zpatMNY/+yf8z+GLcH/Qn0iX2W2oEfXP4GvwQHuIL9AYGnaO3zqAX6946nkgqZNnUhx43DIdQtMFeOPrgy/y3Yd85HlJWwjLFkU3kFwq28xPnuPhMWeS+tDLV9Otllq7pQCf3uXJDN9wFDiUTgefHaiYbdfi3b3u8+iY6TnzhgehI1LTe8lcd7s1wJSzKbahCRxKKztTLXstGAiu3a6rPuQs5pk9TWAan5f0BZmGf7Ylxzzk/A7PAs4QPPPAHeFQ2hbFHszlgZuKZsJcUmbDC40sEU403cEjczstOEypa+YxevL4QBC8oRYqWdK6b7sK25tfE+oDZgtOQ2Jg8T41HGcBE6fTWHn4JtHcu9S7uYgU5KSCkl/mcnq+5/YBXOEr6lCUCwOTOM1taOI8mSxx1NsCXBEmLKbMAg5MkwbLmpBaFOPrNSlO2HnLiEqW3tHEwd8AeiQLmn+2gxjC3k6AxREqvKcJbTEzlpLiw4rNZK6oJdidbMMGX9FULKr0AkW+2qDEPBNNm5QAt2Ik2nftNWHetubosHLo2nG4vQA7GkcVCgVCgaDixHqo9UUn1A6OshapaNR/LPRYFV8siT1cCtJE0k/3WtaNSuUZYKPnsVIW0xXWnMUxq5+En4Kvw/MqQmVXnAXj9Z+9zM98zM/Agy7F/qqj2Nh67b8HjFnPP3iBn/tkpdzwEJX/whIcQUXOaikeliCRGUk7tiwF0rItwMEhjkZ309hikFoRAmLTpEXWuHS6y+am/KB/fM50aLEhGnSMwkpxzOov4H0AvgovwJ1iGzDLtJn/9BU+fAINfwUe6FHSLhu83viV/+/HrOePX+STT2B9uWGbrMHHLldRBlhS/CJQmcRxJFqZica01XixAZsYiH1uolZxLrR/SgxVIJjkpQP4PE9sE59LKLr7kltSBogS5tyszzH8Fvw8/AS8rNOg0xUS9fIaHwb+6et8Q/gyvKRjf5OusOzGx8evA/BP4IP11uN/grca5O0lcsPLJ5YjwI4QkJBOHa0WdMZYGxPbh2W2nR9v3WxEWqgp/G3+6VZbRLSAAZ3BhdhAaUL33VUSw9yjEsvbaQ9u4A/gGXwZXoEHOuU1GSj2chf+Mo+f8IcfcAxfIKVmyunRbYQVnoevwgfw3TXXcw++xNuP4fhyueEUNttEduRVaDttddoP0eSxLe2LENk6itYxlrxBNBYrNNKSQmeaLcm9c8UsaB5WyO6675yyQIAWSDpBVoA/gxmcwEvwoDv0m58UE7gHn+fJOa8/Ywan8EKRfjsopF83eCglX/Sfr7OeaRoQfvt1CGvIDccH5BCvw1sWIzRGC/66t0VTcLZQZtm6PlAasbOJ9iwWtUo7biktTSIPxnR24jxP1ZKaqq+2RcXM9OrBAm/AAs7hDJ5bNmGb+KIfwCs8a3jnjBrOFeMjHSCdbKr+2uOLfnOd9eiA8Hvvwwq54VbP2OqwkB48Ytc4YEOiH2vTXqodabfWEOzso4qxdbqD5L6tbtNPECqbhnA708DZH4QOJUXqScmUlks7Ot6FBuZw3n2mEbaUX7kDzxHOOQk8nKWMzAzu6ZZ8sOFw4RK+6PcuXo9tB4SbMz58ApfKDXf3szjNIIbGpD5TKTRxGkEMLjLl+K3wlWXBsCUxIDU+jbOiysESqAy1MGUJpXgwbTWzNOVEziIXZrJ+VIztl1PUBxTSo0dwn2bOmfDRPD3TRTGlfbCJvO9KvuhL1hMHhB9wPuPRLGHcdOWG2xc0U+5bQtAJT0nRTewXL1pgk2+rZAdeWmz3jxAqfNQQdzTlbF8uJ5ecEIWvTkevAHpwz7w78QujlD/Lr491bD8/1vhM2yrUQRrWXNQY4fGilfctMWYjL72UL/qS9eiA8EmN88nbNdour+PBbbAjOjIa4iBhfFg6rxeKdEGcL6p3EWR1Qq2Qkhs2DrnkRnmN9tG2EAqmgPw6hoL7Oza7B+3SCrR9tRftko+Lsf2F/mkTndN2LmzuMcKTuj/mX2+4Va3ki16+nnJY+S7MefpkidxwnV+4wkXH8TKnX0tsYzYp29DOOoSW1nf7nTh2akYiWmcJOuTidSaqESrTYpwjJJNVGQr+rLI7WsqerHW6Kp/oM2pKuV7T1QY9gjqlZp41/WfKpl56FV/0kvXQFRyeQ83xaTu5E8p5dNP3dUF34ihyI3GSpeCsywSh22ZJdWto9winhqifb7VRvgktxp13vyjrS0EjvrRfZ62uyqddSWaWYlwTPAtJZ2oZ3j/Sgi/mi+6vpzesfAcWNA0n8xVyw90GVFGuZjTXEQy+6GfLGLMLL523f5E0OmxVjDoOuRiH91RKU+vtoCtH7TgmvBLvtFXWLW15H9GTdVw8ow4IlRLeHECN9ym1e9K0I+Cbnhgv4Yu+aD2HaQJ80XDqOzSGAV4+4yCqBxrsJAX6ZTIoX36QnvzhhzzMfFW2dZVLOJfo0zbce5OvwXMFaZ81mOnlTVXpDZsQNuoYWveketKb5+6JOOsgX+NTm7H49fUTlx+WLuWL7qxnOFh4BxpmJx0p2gDzA/BUARuS6phR+pUsY7MMboAHx5xNsSVfVZcYSwqCKrqon7zM+8ecCkeS4nm3rINuaWvVNnMRI1IRpxTqx8PZUZ0Br/UEduo3B3hNvmgZfs9gQPj8vIOxd2kndir3awvJ6BLvoUuOfFWNYB0LR1OQJoUySKb9IlOBx74q1+ADC2G6rOdmFdJcD8BkfualA+BdjOOzP9uUhGUEX/TwhZsUduwRr8wNuXKurCixLBgpQI0mDbJr9dIqUuV+92ngkJZ7xduCk2yZKbfWrH1VBiTg9VdzsgRjW3CVXCvAwDd+c1z9dWw9+B+8MJL/eY15ZQ/HqvTwVdsZn5WQsgRRnMaWaecu3jFvMBEmgg+FJFZsnSl0zjB9OqPYaBD7qmoVyImFvzi41usesV0julaAR9dfR15Xzv9sEruRDyk1nb+QaLU67T885GTls6YgcY+UiMa25M/pwGrbCfzkvR3e0jjtuaFtnwuagHTSb5y7boBH119HXhvwP487jJLsLJ4XnUkHX5sLbS61dpiAXRoZSCrFJ+EjpeU3puVfitngYNo6PJrAigKktmwjyQdZpfq30mmtulaAx9Zfx15Xzv+cyeuiBFUs9zq8Kq+XB9a4PVvph3GV4E3y8HENJrN55H1X2p8VyqSKwVusJDKzXOZzplWdzBUFK9e+B4+uv468xvI/b5xtSAkBHQaPvtqWzllVvEOxPbuiE6+j2pvjcKsbvI7txnRErgfH7LdXqjq0IokKzga14GzQ23SSbCQvO6r+Or7SMIr/efOkkqSdMnj9mBx2DRsiY29Uj6+qK9ZrssCKaptR6HKURdwUYeUWA2kPzVKQO8ku2nU3Anhs/XWkBx3F/7wJtCTTTIKftthue1ty9xvNYLY/zo5KSbIuKbXpbEdSyeRyYdAIwKY2neyoc3+k1XUaufYga3T9daMUx/r8z1s10ITknIO0kuoMt+TB8jK0lpayqqjsJ2qtXAYwBU932zinimgmd6mTRDnQfr88q36NAI+tv24E8Pr8zxtasBqx0+xHH9HhlrwsxxNUfKOHQaZBITNf0uccj8GXiVmXAuPEAKSdN/4GLHhs/XWj92dN/uetNuBMnVR+XWDc25JLjo5Mg5IZIq226tmCsip2zZliL213YrTlL2hcFjpCduyim3M7/eB16q/blQsv5X/esDRbtJeabLIosWy3ycavwLhtxdWzbMmHiBTiVjJo6lCLjXZsi7p9PEPnsq6X6wd4bP11i0rD5fzPm/0A6brrIsllenZs0lCJlU4abakR59enZKrKe3BZihbTxlyZ2zl1+g0wvgmA166/bhwDrcn/7Ddz0eWZuJvfSESug6NzZsox3Z04FIxz0mUjMwVOOVTq1CQ0AhdbBGVdjG/CgsfUX7esJl3K/7ytWHRv683praW/8iDOCqWLLhpljDY1ZpzK75QiaZoOTpLKl60auHS/97oBXrv+umU9+FL+5+NtLFgjqVLCdbmj7pY5zPCPLOHNCwXGOcLquOhi8CmCWvbcuO73XmMUPab+ug3A6/A/78Bwe0bcS2+tgHn4J5pyS2WbOck0F51Vq3LcjhLvZ67p1ABbaL2H67bg78BfjKi/jr3+T/ABV3ilLmNXTI2SpvxWBtt6/Z//D0z/FXaGbSBgylzlsEGp+5//xrd4/ae4d8DUUjlslfIYS3t06HZpvfQtvv0N7AHWqtjP2pW08QD/FLy//da38vo8PNlKHf5y37Dxdfe/oj4kVIgFq3koLReSR76W/bx//n9k8jonZxzWTANVwEniDsg87sOSd/z7//PvMp3jQiptGVWFX2caezzAXwfgtzYUvbr0iozs32c3Uge7varH+CNE6cvEYmzbPZ9hMaYDdjK4V2iecf6EcEbdUDVUARda2KzO/JtCuDbNQB/iTeL0EG1JSO1jbXS+nLxtPMDPw1fh5+EPrgSEKE/8Gry5A73ui87AmxwdatyMEBCPNOCSKUeRZ2P6Myb5MRvgCHmA9ywsMifU+AYXcB6Xa5GibUC5TSyerxyh0j6QgLVpdyhfArRTTLqQjwe4HOD9s92D4Ap54odXAPBWLAwB02igG5Kkc+piN4lvODIFGAZgT+EO4Si1s7fjSR7vcQETUkRm9O+MXyo9OYhfe4xt9STQ2pcZRLayCV90b4D3jR0DYAfyxJ+eywg2IL7NTMXna7S/RpQ63JhWEM8U41ZyQGjwsVS0QBrEKLu8xwZsbi4wLcCT+OGidPIOCe1PiSc9Qt+go+vYqB7cG+B9d8cAD+WJPz0Am2gxXgU9IneOqDpAAXOsOltVuMzpdakJXrdPCzXiNVUpCeOos5cxnpQT39G+XVLhs1osQVvJKPZyNq8HDwd4d7pNDuWJPxVX7MSzqUDU6gfadKiNlUFTzLeFHHDlzO4kpa7aiKhBPGKwOqxsBAmYkOIpipyXcQSPlRTf+Tii0U3EJGaZsDER2qoB3h2hu0qe+NNwUooYU8y5mILbJe6OuX+2FTKy7bieTDAemaQyQ0CPthljSWO+xmFDIYiESjM5xKd6Ik5lvLq5GrQ3aCMLvmCA9wowLuWJb9xF59hVVP6O0CrBi3ZjZSNOvRy+I6klNVRJYRBaEzdN+imiUXQ8iVF8fsp+W4JXw7WISW7fDh7lptWkCwZ4d7QTXyBPfJMYK7SijjFppGnlIVJBJBYj7eUwtiP1IBXGI1XCsjNpbjENVpSAJ2hq2LTywEly3hUYazt31J8w2+aiLx3g3fohXixPfOMYm6zCGs9LVo9MoW3MCJE7R5u/WsOIjrqBoHUO0bJE9vxBpbhsd3+Nb4/vtPCZ4oZYCitNeYuC/8UDvDvy0qvkiW/cgqNqRyzqSZa/s0mqNGjtKOoTm14zZpUauiQgVfqtQiZjq7Q27JNaSK5ExRcrGCXO1FJYh6jR6CFqK7bZdQZ4t8g0rSlPfP1RdBtqaa9diqtzJkQ9duSryi2brQXbxDwbRUpFMBHjRj8+Nt7GDKgvph9okW7LX47gu0SpGnnFQ1S1lYldOsC7hYteR574ZuKs7Ei1lBsfdz7IZoxzzCVmmVqaSySzQbBVAWDek+N4jh9E/4VqZrJjPwiv9BC1XcvOWgO8275CVyBPvAtTVlDJfZkaZGU7NpqBogAj/xEHkeAuJihWYCxGN6e8+9JtSegFXF1TrhhLGP1fak3pebgPz192/8gB4d/6WT7+GdYnpH7hH/DJzzFiYPn/vjW0SgNpTNuPIZoAEZv8tlGw4+RLxy+ZjnKa5NdFoC7UaW0aduoYse6+bXg1DLg6UfRYwmhGEjqPvF75U558SANrElK/+MdpXvmqBpaXOa/MTZaa1DOcSiLaw9j0NNNst3c+63c7EKTpkvKHzu6bPbP0RkuHAVcbRY8ijP46MIbQeeT1mhA+5PV/inyDdQipf8LTvMXbwvoDy7IruDNVZKTfV4CTSRUYdybUCnGU7KUTDxLgCknqUm5aAW6/1p6eMsOYsphLzsHrE0Y/P5bQedx1F/4yPHnMB3/IOoTU9+BL8PhtjuFKBpZXnYNJxTuv+2XqolKR2UQgHhS5novuxVySJhBNRF3SoKK1XZbbXjVwWNyOjlqWJjrWJIy+P5bQedyldNScP+HZ61xKSK3jyrz+NiHG1hcOLL/+P+PDF2gOkekKGiNWKgJ+8Z/x8Iv4DdQHzcpZyF4v19I27w9/yPGDFQvmEpKtqv/TLiWMfn4sofMm9eAH8Ao0zzh7h4sJqYtxZd5/D7hkYPneDzl5idlzNHcIB0jVlQ+8ULzw/nc5/ojzl2juE0apD7LRnJxe04dMz2iOCFNtGFpTuXA5AhcTRo8mdN4kz30nVjEC4YTZQy4gpC7GlTlrePKhGsKKgeXpCYeO0MAd/GH7yKQUlXPLOasOH3FnSphjHuDvEu4gB8g66oNbtr6eMbFIA4fIBJkgayoXriw2XEDQPJrQeROAlY6aeYOcMf+IVYTU3XFlZufMHinGywaW3YLpObVBAsbjF4QJMsVUSayjk4voPsHJOQfPWDhCgDnmDl6XIRerD24HsGtw86RMHOLvVSHrKBdeVE26gKB5NKHzaIwLOmrqBWJYZDLhASG16c0Tn+CdRhWDgWXnqRZUTnPIHuMJTfLVpkoYy5CzylHVTGZMTwkGAo2HBlkQplrJX6U+uF1wZz2uwS1SQ12IqWaPuO4baZaEFBdukksJmkcTOm+YJSvoqPFzxFA/YUhIvWxcmSdPWTWwbAKVp6rxTtPFUZfKIwpzm4IoMfaYQLWgmlG5FME2gdBgm+J7J+rtS/XBbaVLsR7bpPQnpMFlo2doWaVceHk9+MkyguZNCJ1He+kuHTWyQAzNM5YSUg/GlTk9ZunAsg1qELVOhUSAK0LABIJHLKbqaEbHZLL1VA3VgqoiOKXYiS+HRyaEKgsfIqX64HYWbLRXy/qWoylIV9gudL1OWBNgBgTNmxA6b4txDT4gi3Ri7xFSLxtXpmmYnzAcWDZgY8d503LFogz5sbonDgkKcxGsWsE1OI+rcQtlgBBCSOKD1mtqYpIU8cTvBmAT0yZe+zUzeY92fYjTtGipXLhuR0ePoHk0ofNWBX+lo8Z7pAZDk8mEw5L7dVyZZoE/pTewbI6SNbiAL5xeygW4xPRuLCGbhcO4RIeTMFYHEJkYyEO9HmJfXMDEj/LaH781wHHZEtqSQ/69UnGpzH7LKIAZEDSPJnTesJTUa+rwTepI9dLJEawYV+ZkRn9g+QirD8vF8Mq0jFQ29js6kCS3E1+jZIhgPNanHdHFqFvPJLHqFwQqbIA4jhDxcNsOCCQLDomaL/dr5lyJaJU6FxPFjO3JOh3kVMcROo8u+C+jo05GjMF3P3/FuDLn5x2M04xXULPwaS6hBYki+MrMdZJSgPHlcB7nCR5bJ9Kr5ACUn9jk5kivdd8tk95SOGrtqu9lr2IhK65ZtEl7ZKrp7DrqwZfRUSN1el7+7NJxZbywOC8neNKTch5vsTEMNsoCCqHBCqIPRjIPkm0BjvFODGtto99rCl+d3wmHkW0FPdpZtC7MMcVtGFQjJLX5bdQ2+x9ypdc313uj8xlsrfuLgWXz1cRhZvJYX0iNVBRcVcmCXZs6aEf3RQF2WI/TcCbKmGU3IOoDJGDdDub0+hYckt6PlGu2BcxmhbTdj/klhccLGJMcqRjMJP1jW2ETqLSWJ/29MAoORluJ+6LPffBZbi5gqi5h6catQpmOT7/OFf5UorRpLzCqcMltBLhwd1are3kztrSzXO0LUbXRQcdLh/RdSZ+swRm819REDrtqzC4es6Gw4JCKlSnjYVpo0xeq33PrADbFLL3RuCmObVmPN+24kfa+AojDuM4umKe2QwCf6EN906HwjujaitDs5o0s1y+k3lgbT2W2i7FJdnwbLXhJUBq/9liTctSmFC/0OqUinb0QddTWamtjbHRFuWJJ6NpqZ8vO3fZJ37Db+2GkaPYLGHs7XTTdiFQJ68SkVJFVmY6McR5UycflNCsccHFaV9FNbR4NttLxw4pQ7wJd066Z0ohVbzihaxHVExd/ay04oxUKWt+AsdiQ9OUyZ2krzN19IZIwafSTFgIBnMV73ADj7V/K8u1MaY2sJp2HWm0f41tqwajEvdHWOJs510MaAqN4aoSiPCXtN2KSi46dUxHdaMquar82O1x5jqhDGvqmoE9LfxcY3zqA7/x3HA67r9ZG4O6Cuxu12/+TP+eLP+I+HErqDDCDVmBDO4larujNe7x8om2rMug0MX0rL1+IWwdwfR+p1TNTyNmVJ85ljWzbWuGv8/C7HD/izjkHNZNYlhZcUOKVzKFUxsxxN/kax+8zPWPSFKw80rJr9Tizyj3o1gEsdwgWGoxPezDdZ1TSENE1dLdNvuKL+I84nxKesZgxXVA1VA1OcL49dFlpFV5yJMhzyCmNQ+a4BqusPJ2bB+xo8V9u3x48VVIEPS/mc3DvAbXyoYr6VgDfh5do5hhHOCXMqBZUPhWYbWZECwVJljLgMUWOCB4MUuMaxGNUQDVI50TQ+S3kFgIcu2qKkNSHVoM0SHsgoZxP2d5HH8B9woOk4x5bPkKtAHucZsdykjxuIpbUrSILgrT8G7G5oCW+K0990o7E3T6AdW4TilH5kDjds+H64kS0mz24grtwlzDHBJqI8YJQExotPvoC4JBq0lEjjQkyBZ8oH2LnRsQ4Hu1QsgDTJbO8fQDnllitkxuVskoiKbRF9VwzMDvxHAdwB7mD9yCplhHFEyUWHx3WtwCbSMMTCUCcEmSGlg4gTXkHpZXWQ7kpznK3EmCHiXInqndkQjunG5kxTKEeGye7jWz9cyMR2mGiFQ15ENRBTbCp+Gh86vAyASdgmJq2MC6hoADQ3GosP0QHbnMHjyBQvQqfhy/BUbeHd5WY/G/9LK/8Ka8Jd7UFeNWEZvzPb458Dn8DGLOe3/wGL/4xP+HXlRt+M1PE2iLhR8t+lfgxsuh7AfO2AOf+owWhSZRYQbd622hbpKWKuU+XuvNzP0OseRDa+mObgDHJUSc/pKx31QdKffQ5OIJpt8GWjlgTwMc/w5MPCR/yl1XC2a2Yut54SvOtMev55Of45BOat9aWG27p2ZVORRvnEk1hqWMVUmqa7S2YtvlIpspuF1pt0syuZS2NV14mUidCSfzQzg+KqvIYCMljIx2YK2AO34fX4GWdu5xcIAb8MzTw+j/lyWM+Dw/gjs4GD6ehNgA48kX/AI7XXM/XAN4WHr+9ntywqoCakCqmKP0rmQrJJEErG2Upg1JObr01lKQy4jskWalKYfJ/EDLMpjNSHFEUAde2fltaDgmrNaWQ9+AAb8I5vKjz3L1n1LriB/BXkG/wwR9y/oRX4LlioHA4LzP2inzRx/DWmutRweFjeP3tNeSGlaE1Fde0OS11yOpmbIp2u/jF1n2RRZviJM0yBT3IZl2HWImKjQOxIyeU325b/qWyU9Moj1o07tS0G7qJDoGHg5m8yeCxMoEH8GU45tnrNM84D2l297DQ9t1YP7jki/7RmutRweEA77/HWXOh3HCxkRgldDQkAjNTMl2Iloc1qN5JfJeeTlyTRzxURTdn1Ixv2uKjs12AbdEWlBtmVdk2k7FFwj07PCZ9XAwW3dG+8xKzNFr4EnwBZpy9Qzhh3jDXebBpYcpuo4fQ44u+fD1dweEnHzI7v0xuuOALRUV8rXpFyfSTQYkhd7IHm07jpyhlkCmI0ALYqPTpUxXS+z4jgDj1Pflvmz5ecuItpIBxyTHpSTGWd9g1ApfD/bvwUhL4nT1EzqgX7cxfCcNmb3mPL/qi9SwTHJ49oj5ZLjccbTG3pRmlYi6JCG0mQrAt1+i2UXTZ2dv9IlQpN5naMYtviaXlTrFpoMsl3bOAFEa8sqPj2WCMrx3Yjx99qFwO59Aw/wgx+HlqNz8oZvA3exRDvuhL1jMQHPaOJ0+XyA3fp1OfM3qObEVdhxjvynxNMXQV4+GJyvOEFqeQBaIbbO7i63rpxCltdZShPFxkjM2FPVkn3TG+Rp9pO3l2RzFegGfxGDHIAh8SteR0C4HopXzRF61nheDw6TFN05Ebvq8M3VKKpGjjO6r7nhudTEGMtYM92HTDaR1FDMXJ1eThsbKfywyoWwrzRSXkc51flG3vIid62h29bIcFbTGhfV+faaB+ohj7dPN0C2e2lC96+XouFByen9AsunLDJZ9z7NExiUc0OuoYW6UZkIyx2YUR2z6/TiRjyKMx5GbbjLHvHuf7YmtKghf34LJfx63Yg8vrvN2zC7lY0x0tvKezo4HmGYDU+Gab6dFL+KI761lDcNifcjLrrr9LWZJctG1FfU1uwhoQE22ObjdfkSzY63CbU5hzs21WeTddH2BaL11Gi7lVdlxP1nkxqhnKhVY6knS3EPgVGg1JpN5cP/hivujOelhXcPj8HC/LyI6MkteVjlolBdMmF3a3DbsuAYhL44dxzthWSN065xxUd55Lmf0wRbOYOqH09/o9WbO2VtFdaMb4qBgtFJoT1SqoN8wPXMoXLb3p1PUEhxfnnLzGzBI0Ku7FxrKsNJj/8bn/H8fPIVOd3rfrklUB/DOeO+nkghgSPzrlPxluCMtOnDL4Yml6dK1r3vsgMxgtPOrMFUZbEUbTdIzii5beq72G4PD0DKnwjmBULUVFmy8t+k7fZ3pKc0Q4UC6jpVRqS9Umv8bxw35flZVOU1X7qkjnhZlsMbk24qQ6Hz7QcuL6sDC0iHHki96Uh2UdvmgZnjIvExy2TeJdMDZNSbdZyAHe/Yd1xsQhHiKzjh7GxQ4yqMPaywPkjMamvqrYpmO7Knad+ZQC5msCuAPWUoxrxVhrGv7a+KLXFhyONdTMrZ7ke23qiO40ZJUyzgYyX5XyL0mV7NiUzEs9mjtbMN0dERqwyAJpigad0B3/zRV7s4PIfXSu6YV/MK7+OrYe/JvfGMn/PHJe2fyUdtnFrKRNpXV0Y2559aWPt/G4BlvjTMtXlVIWCnNyA3YQBDmYIodFz41PvXPSa6rq9lWZawZ4dP115HXV/M/tnFkkrBOdzg6aP4pID+MZnTJ1SuuB6iZlyiox4HT2y3YBtkUKWooacBQUDTpjwaDt5poBHl1/HXltwP887lKKXxNUEyPqpGTyA699UqY/lt9yGdlUKra0fFWS+36iylVWrAyd7Uw0CZM0z7xKTOduznLIjG2Hx8cDPLb+OvK6Bv7n1DYci4CxUuRxrjBc0bb4vD3rN5Zz36ntLb83eVJIB8LiIzCmn6SMPjlX+yNlTjvIGjs+QzHPf60Aj62/jrzG8j9vYMFtm1VoRWCJdmw7z9N0t+c8cxZpPeK4aTRicS25QhrVtUp7U578chk4q04Wx4YoQSjFryUlpcQ1AbxZ/XVMknIU//OGl7Q6z9Zpxi0+3yFhSkjUDpnCIUhLWVX23KQ+L9vKvFKI0ZWFQgkDLvBoylrHNVmaw10zwCPrr5tlodfnf94EWnQ0lFRWy8pW9LbkLsyUVDc2NSTHGDtnD1uMtchjbCeb1mpxFP0YbcClhzdLu6lfO8Bj6q+bdT2sz/+8SZCV7VIxtt0DUn9L7r4cLYWDSXnseEpOGFuty0qbOVlS7NNzs5FOGJUqQpl2Q64/yBpZf90sxbE+//PGdZ02HSipCbmD6NItmQ4Lk5XUrGpDMkhbMm2ZVheNYV+VbUWTcv99+2NyX1VoafSuC+AN6q9bFIMv5X/eagNWXZxEa9JjlMwNWb00akGUkSoepp1/yRuuqHGbUn3UdBSTxBU6SEVklzWRUkPndVvw2PrrpjvxOvzPmwHc0hpmq82npi7GRro8dXp0KXnUQmhZbRL7NEVp1uuZmO45vuzKsHrktS3GLWXODVjw+vXXLYx4Hf7njRPd0i3aoAGX6W29GnaV5YdyDj9TFkakje7GHYzDoObfddHtOSpoi2SmzJHrB3hM/XUDDEbxP2/oosszcRlehWXUvzHv4TpBVktHqwenFo8uLVmy4DKLa5d3RtLrmrM3aMFr1183E4sewf+85VWeg1c5ag276NZrM9IJVNcmLEvDNaV62aq+14IAOGFsBt973Ra8Xv11YzXwNfmft7Jg2oS+XOyoC8/cwzi66Dhmgk38kUmP1CUiYWOX1bpD2zWXt2FCp7uq8703APAa9dfNdscR/M/bZLIyouVxqJfeWvG9Je+JVckHQ9+CI9NWxz+blX/KYYvO5n2tAP/vrlZ7+8/h9y+9qeB/Hnt967e5mevX10rALDWK//FaAT5MXdBXdP0C/BAes792c40H+AiAp1e1oH8HgH94g/Lttx1gp63op1eyoM/Bvw5/G/7xFbqJPcCXnmBiwDPb/YKO4FX4OjyCb289db2/Noqicw4i7N6TVtoz8tNwDH+8x/i6Ae7lmaQVENzJFb3Di/BFeAwz+Is9SjeQySpPqbLFlNmyz47z5a/AF+AYFvDmHqibSXTEzoT4Gc3OALaqAP4KPFUJ6n+1x+rGAM6Zd78bgJ0a8QN4GU614vxwD9e1Amy6CcskNrczLx1JIp6HE5UZD/DBHrFr2oNlgG4Odv226BodoryjGJ9q2T/AR3vQrsOCS0ctXZi3ruLlhpFDJYl4HmYtjQCP9rhdn4suySLKDt6wLcC52h8xPlcjju1fn+yhuw4LZsAGUuo2b4Fx2UwQu77uqRHXGtg92aN3tQCbFexc0uk93vhTXbct6y7MulLycoUljx8ngDMBg1tvJjAazpEmOtxlzclvj1vQf1Tx7QlPDpGpqgtdSKz/d9/hdy1vTfFHSmC9dGDZbLiezz7Ac801HirGZsWjydfZyPvHXL/Y8Mjzg8BxTZiuwKz4Eb8sBE9zznszmjvFwHKPIWUnwhqfVRcd4Ck0K6ate48m1oOfrX3/yOtvAsJ8zsPAM89sjnddmuLuDPjX9Bu/L7x7xpMzFk6nWtyQfPg278Gn4Aekz2ZgOmU9eJ37R14vwE/BL8G3aibCiWMWWDQ0ZtkPMnlcGeAu/Ag+8ZyecU5BPuy2ILD+sQqyZhAKmn7XZd+jIMTN9eBL7x95xVLSX4On8EcNlXDqmBlqS13jG4LpmGbkF/0CnOi3H8ETOIXzmnmtb0a16Tzxj1sUvQCBiXZGDtmB3KAefPH94xcUa/6vwRn80GOFyjEXFpba4A1e8KQfFF+259tx5XS4egYn8fQsLGrqGrHbztr+uByTahWuL1NUGbDpsnrwBfePPwHHIf9X4RnM4Z2ABWdxUBlqQ2PwhuDxoS0vvqB1JzS0P4h2nA/QgTrsJFn+Y3AOjs9JFC07CGWX1oNX3T/yHOzgDjwPn1PM3g9Jk9lZrMEpxnlPmBbjyo2+KFXRU52TJM/2ALcY57RUzjObbjqxVw++4P6RAOf58pcVsw9Daje3htriYrpDOonre3CudSe6bfkTEgHBHuDiyu5MCsc7BHhYDx7ePxLjqigXZsw+ijMHFhuwBmtoTPtOxOrTvYJDnC75dnUbhfwu/ZW9AgYd+peL68HD+0emKquiXHhWjJg/UrkJYzuiaL3E9aI/ytrCvAd4GcYZMCkSQxfUg3v3j8c4e90j5ZTPdvmJJGHnOCI2nHS8081X013pHuBlV1gB2MX1YNmWLHqqGN/TWmG0y6clJWthxNUl48q38Bi8vtMKyzzpFdSDhxZ5WBA5ZLt8Jv3895DduBlgbPYAj8C4B8hO68FDkoh5lydC4FiWvBOVqjYdqjiLv92t8yPDjrDaiHdUD15qkSURSGmXJwOMSxWAXYwr3zaAufJ66l+94vv3AO+vPcD7aw/w/toDvL/2AO+vPcD7aw/wHuD9tQd4f+0B3l97gPfXHuD9tQd4f+0B3l97gG8LwP8G/AL8O/A5OCq0Ys2KIdv/qOIXG/4mvFAMF16gZD+2Xvu/B8as5+8bfllWyg0zaNO5bfXj6vfhhwD86/Aq3NfRS9t9WPnhfnvCIw/CT8GLcFTMnpntdF/z9V+PWc/vWoIH+FL3Znv57PitcdGP4R/C34avw5fgRVUInCwbsn1yyA8C8zm/BH8NXoXnVE6wVPjdeCI38kX/3+Ct9dbz1pTmHFRu+Hm4O9Ch3clr99negxfwj+ER/DR8EV6B5+DuQOnTgUw5rnkY+FbNU3gNXh0o/JYTuWOvyBf9FvzX663HH/HejO8LwAl8Hl5YLTd8q7sqA3wbjuExfAFegQdwfyDoSkWY8swzEf6o4Qyewefg+cHNbqMQruSL/u/WWc+E5g7vnnEXgDmcDeSGb/F4cBcCgT+GGRzDU3hZYburAt9TEtHgbM6JoxJ+6NMzzTcf6c2bycv2+KK/f+l6LBzw5IwfqZJhA3M472pWT/ajKxnjv4AFnMEpnBTPND6s2J7qHbPAqcMK74T2mZ4VGB9uJA465It+/eL1WKhYOD7xHOkr1ajK7d0C4+ke4Hy9qXZwpgLr+Znm/uNFw8xQOSy8H9IzjUrd9+BIfenYaylf9FsXr8fBAadnPIEDna8IBcwlxnuA0/Wv6GAWPd7dDIKjMdSWueAsBj4M7TOd06qBbwDwKr7oleuxMOEcTuEZTHWvDYUO7aHqAe0Bbq+HEFRzOz7WVoTDQkVds7A4sIIxfCQdCefFRoIOF/NFL1mPab/nvOakSL/Q1aFtNpUb/nFOVX6gzyg/1nISyDfUhsokIzaBR9Kxm80s5mK+6P56il1jXic7nhQxsxSm3OwBHl4fFdLqi64nDQZvqE2at7cWAp/IVvrN6/BFL1mPhYrGMBfOi4PyjuSGf6wBBh7p/FZTghCNWGgMzlBbrNJoPJX2mW5mwZfyRffXo7OFi5pZcS4qZUrlViptrXtw+GQoyhDPS+ANjcGBNRiLCQDPZPMHuiZfdFpPSTcQwwKYdRNqpkjm7AFeeT0pJzALgo7g8YYGrMHS0iocy+YTm2vyRUvvpXCIpQ5pe666TJrcygnScUf/p0NDs/iAI/nqDHC8TmQT8x3NF91l76oDdQGwu61Z6E0ABv7uO1dbf/37Zlv+Zw/Pbh8f1s4Avur6657/+YYBvur6657/+YYBvur6657/+YYBvur6657/+aYBvuL6657/+VMA8FXWX/f8zzcN8BXXX/f8zzcNMFdbf93zP38KLPiK6697/uebtuArrr/u+Z9vGmCusP6653/+1FjwVdZf9/zPN7oHX339dc//fNMu+irrr3v+50+Bi+Zq6697/uebA/jz8Pudf9ht/fWv517J/XUzAP8C/BAeX9WCDrUpZ3/dEMBxgPcfbtTVvsYV5Yn32u03B3Ac4P3b8I+vxNBKeeL9dRMAlwO83959qGO78sT769oB7g3w/vGVYFzKE++v6wV4OMD7F7tckFkmT7y/rhHgpQO8b+4Y46XyxPvrugBeNcB7BRiX8sT767oAvmCA9woAHsoT76+rBJjLBnh3txOvkifeX1dswZcO8G6N7sXyxPvr6i340gHe3TnqVfLE++uKAb50gHcXLnrX8sR7gNdPRqwzwLu7Y/FO5Yn3AK9jXCMGeHdgxDuVJ75VAI8ljP7PAb3/RfjcZfePHBB+79dpfpH1CanN30d+mT1h9GqAxxJGM5LQeeQ1+Tb+EQJrElLb38VHQ94TRq900aMIo8cSOo+8Dp8QfsB8zpqE1NO3OI9Zrj1h9EV78PqE0WMJnUdeU6E+Jjyk/hbrEFIfeWbvId8H9oTRFwdZaxJGvziW0Hn0gqYB/wyZ0PwRlxJST+BOw9m77Amj14ii1yGM/txYQudN0qDzGe4EqfA/5GJCagsHcPaEPWH0esekSwmjRxM6b5JEcZ4ww50ilvAOFxBSx4yLW+A/YU8YvfY5+ALC6NGEzhtmyZoFZoarwBLeZxUhtY4rc3bKnjB6TKJjFUHzJoTOozF2YBpsjcyxDgzhQ1YRUse8+J4wenwmaylB82hC5w0zoRXUNXaRBmSMQUqiWSWkLsaVqc/ZE0aPTFUuJWgeTei8SfLZQeMxNaZSIzbII4aE1Nmr13P2hNHjc9E9guYNCZ032YlNwESMLcZiLQHkE4aE1BFg0yAR4z1h9AiAGRA0jyZ03tyIxWMajMPWBIsxYJCnlITU5ShiHYdZ94TR4wCmSxg9jtB5KyPGYzymAYexWEMwAPIsAdYdV6aObmNPGD0aYLoEzaMJnTc0Ygs+YDw0GAtqxBjkuP38bMRWCHn73xNGjz75P73WenCEJnhwyVe3AEe8TtKdJcYhBl97wuhNAObK66lvD/9J9NS75v17wuitAN5fe4D31x7g/bUHeH/tAd5fe4D3AO+vPcD7aw/w/toDvL/2AO+vPcD7aw/w/toDvAd4f/24ABzZ8o+KLsSLS+Pv/TqTb3P4hKlQrTGh+fbIBT0Axqznnb+L/V2mb3HkN5Mb/nEHeK7d4IcDld6lmDW/iH9E+AH1MdOw/Jlu2T1xNmY98sv4wHnD7D3uNHu54WUuOsBTbQuvBsPT/UfzNxGYzwkP8c+Yz3C+r/i6DcyRL/rZ+utRwWH5PmfvcvYEt9jLDS/bg0/B64DWKrQM8AL8FPwS9beQCe6EMKNZYJol37jBMy35otdaz0Bw2H/C2Smc7+WGB0HWDELBmOByA3r5QONo4V+DpzR/hFS4U8wMW1PXNB4TOqYz9urxRV++ntWCw/U59Ty9ebdWbrgfRS9AYKKN63ZokZVygr8GZ/gfIhZXIXPsAlNjPOLBby5c1eOLvmQ9lwkOy5x6QV1j5TYqpS05JtUgUHUp5toHGsVfn4NX4RnMCe+AxTpwmApTYxqMxwfCeJGjpXzRF61nbcHhUBPqWze9svwcHJ+S6NPscKrEjug78Dx8Lj3T8D4YxGIdxmJcwhi34fzZUr7olevZCw5vkOhoClq5zBPZAnygD/Tl9EzDh6kl3VhsHYcDEb+hCtJSvuiV69kLDm+WycrOTArHmB5/VYyP6jOVjwgGawk2zQOaTcc1L+aLXrKeveDwZqlKrw8U9Y1p66uK8dEzdYwBeUQAY7DbyYNezBfdWQ97weEtAKYQg2xJIkuveAT3dYeLGH+ShrWNwZgN0b2YL7qznr3g8JYAo5bQBziPjx7BPZ0d9RCQp4UZbnFdzBddor4XHN4KYMrB2qHFRIzzcLAHQZ5the5ovui94PCWAPefaYnxIdzRwdHCbuR4B+tbiy96Lzi8E4D7z7S0mEPd+eqO3cT53Z0Y8SV80XvB4Z0ADJi/f7X113f+7p7/+UYBvur6657/+YYBvur6657/+aYBvuL6657/+aYBvuL6657/+aYBvuL6657/+aYBvuL6657/+VMA8FXWX/f8z58OgK+y/rrnf75RgLna+uue//lTA/CV1V/3/M837aKvvv6653++UQvmauuve/7nTwfAV1N/3fM/fzr24Cuuv+75nz8FFnxl9dc9//MOr/8/glixwRuUfM4AAAAASUVORK5CYII="}_getSearchTexture(){return"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEIAAAAhCAAAAABIXyLAAAAAOElEQVRIx2NgGAWjYBSMglEwEICREYRgFBZBqDCSLA2MGPUIVQETE9iNUAqLR5gIeoQKRgwXjwAAGn4AtaFeYLEAAAAASUVORK5CYII="}}class NC extends V_{constructor(e,t,r=0,n=0){super(),this.scene=e,this.camera=t,this.sampleLevel=4,this.unbiased=!0,this.stencilBuffer=!1,this.clearColor=r,this.clearAlpha=n,this._sampleRenderTarget=null,this._oldClearColor=new mi,this._copyUniforms=ro.clone(sC.uniforms),this._copyMaterial=new no({uniforms:this._copyUniforms,vertexShader:sC.vertexShader,fragmentShader:sC.fragmentShader,transparent:!0,depthTest:!1,depthWrite:!1,premultipliedAlpha:!0,blending:2}),this._fsQuad=new G_(this._copyMaterial)}dispose(){this._sampleRenderTarget&&(this._sampleRenderTarget.dispose(),this._sampleRenderTarget=null),this._copyMaterial.dispose(),this._fsQuad.dispose()}setSize(e,t){this._sampleRenderTarget&&this._sampleRenderTarget.setSize(e,t)}render(e,t,r){this._sampleRenderTarget||(this._sampleRenderTarget=new jr(r.width,r.height,{type:Fe,stencilBuffer:this.stencilBuffer}),this._sampleRenderTarget.texture.name="SSAARenderPass.sample");const n=FC[Math.max(0,Math.min(this.sampleLevel,5))],i=e.autoClear;e.autoClear=!1,e.getClearColor(this._oldClearColor);const o=e.getClearAlpha(),s=1/n.length;this._copyUniforms.tDiffuse.value=this._sampleRenderTarget.texture;const a={fullWidth:r.width,fullHeight:r.height,offsetX:0,offsetY:0,width:r.width,height:r.height},l=Object.assign({},this.camera.view);l.enabled&&Object.assign(a,l);for(let r=0;r<n.length;r++){const i=n[r];this.camera.setViewOffset&&this.camera.setViewOffset(a.fullWidth,a.fullHeight,a.offsetX+.0625*i[0],a.offsetY+.0625*i[1],a.width,a.height);let o=s;if(this.unbiased){o+=.03125*((r+.5)/n.length-.5)}this._copyUniforms.opacity.value=o,e.setClearColor(this.clearColor,this.clearAlpha),e.setRenderTarget(this._sampleRenderTarget),e.clear(),e.render(this.scene,this.camera),e.setRenderTarget(this.renderToScreen?null:t),0===r&&(e.setClearColor(0,0),e.clear()),this._fsQuad.render(e)}this.camera.setViewOffset&&l.enabled?this.camera.setViewOffset(l.fullWidth,l.fullHeight,l.offsetX,l.offsetY,l.width,l.height):this.camera.clearViewOffset&&this.camera.clearViewOffset(),e.autoClear=i,e.setClearColor(this._oldClearColor,o)}}const FC=[[[0,0]],[[4,4],[-4,-4]],[[-2,-6],[6,-2],[-6,2],[2,6]],[[1,-3],[-1,3],[5,1],[-3,-5],[-5,5],[-7,-1],[3,7],[7,-7]],[[1,1],[-1,-3],[-3,2],[4,-1],[-5,-2],[2,5],[5,3],[3,-5],[-2,6],[0,-7],[-4,-6],[-6,4],[-8,0],[7,-4],[6,7],[-7,-8]],[[-4,-7],[-7,-5],[-3,-5],[-5,-4],[-1,-4],[-2,-2],[-6,-1],[-4,0],[-7,1],[-1,2],[-6,3],[-3,3],[-7,6],[-3,6],[-5,7],[-1,7],[5,-7],[1,-6],[6,-5],[4,-4],[2,-3],[7,-2],[1,-1],[4,-1],[2,1],[6,2],[0,4],[4,4],[2,5],[7,5],[5,6],[3,7]]],OC={name:"SSAOShader",defines:{PERSPECTIVE_CAMERA:1,KERNEL_SIZE:32},uniforms:{tNormal:{value:null},tDepth:{value:null},tNoise:{value:null},kernel:{value:null},cameraNear:{value:null},cameraFar:{value:null},resolution:{value:new fr},cameraProjectionMatrix:{value:new xn},cameraInverseProjectionMatrix:{value:new xn},kernelRadius:{value:8},minDistance:{value:.005},maxDistance:{value:.05}},vertexShader:"\n\n\t\tvarying vec2 vUv;\n\n\t\tvoid main() {\n\n\t\t\tvUv = uv;\n\n\t\t\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n\n\t\t}",fragmentShader:"\n\t\tuniform highp sampler2D tNormal;\n\t\tuniform highp sampler2D tDepth;\n\t\tuniform sampler2D tNoise;\n\n\t\tuniform vec3 kernel[ KERNEL_SIZE ];\n\n\t\tuniform vec2 resolution;\n\n\t\tuniform float cameraNear;\n\t\tuniform float cameraFar;\n\t\tuniform mat4 cameraProjectionMatrix;\n\t\tuniform mat4 cameraInverseProjectionMatrix;\n\n\t\tuniform float kernelRadius;\n\t\tuniform float minDistance; // avoid artifacts caused by neighbour fragments with minimal depth difference\n\t\tuniform float maxDistance; // avoid the influence of fragments which are too far away\n\n\t\tvarying vec2 vUv;\n\n\t\t#include <packing>\n\n\t\tfloat getDepth( const in vec2 screenPosition ) {\n\n\t\t\treturn texture2D( tDepth, screenPosition ).x;\n\n\t\t}\n\n\t\tfloat getLinearDepth( const in vec2 screenPosition ) {\n\n\t\t\t#if PERSPECTIVE_CAMERA == 1\n\n\t\t\t\tfloat fragCoordZ = texture2D( tDepth, screenPosition ).x;\n\t\t\t\tfloat viewZ = perspectiveDepthToViewZ( fragCoordZ, cameraNear, cameraFar );\n\t\t\t\treturn viewZToOrthographicDepth( viewZ, cameraNear, cameraFar );\n\n\t\t\t#else\n\n\t\t\t\treturn texture2D( tDepth, screenPosition ).x;\n\n\t\t\t#endif\n\n\t\t}\n\n\t\tfloat getViewZ( const in float depth ) {\n\n\t\t\t#if PERSPECTIVE_CAMERA == 1\n\n\t\t\t\treturn perspectiveDepthToViewZ( depth, cameraNear, cameraFar );\n\n\t\t\t#else\n\n\t\t\t\treturn orthographicDepthToViewZ( depth, cameraNear, cameraFar );\n\n\t\t\t#endif\n\n\t\t}\n\n\t\tvec3 getViewPosition( const in vec2 screenPosition, const in float depth, const in float viewZ ) {\n\n\t\t\tfloat clipW = cameraProjectionMatrix[2][3] * viewZ + cameraProjectionMatrix[3][3];\n\n\t\t\tvec4 clipPosition = vec4( ( vec3( screenPosition, depth ) - 0.5 ) * 2.0, 1.0 );\n\n\t\t\tclipPosition *= clipW; // unprojection.\n\n\t\t\treturn ( cameraInverseProjectionMatrix * clipPosition ).xyz;\n\n\t\t}\n\n\t\tvec3 getViewNormal( const in vec2 screenPosition ) {\n\n\t\t\treturn unpackRGBToNormal( texture2D( tNormal, screenPosition ).xyz );\n\n\t\t}\n\n\t\tvoid main() {\n\n\t\t\tfloat depth = getDepth( vUv );\n\n\t\t\tif ( depth == 1.0 ) {\n\n\t\t\t\tgl_FragColor = vec4( 1.0 ); // don't influence background\n\n\t\t\t} else {\n\n\t\t\t\tfloat viewZ = getViewZ( depth );\n\n\t\t\t\tvec3 viewPosition = getViewPosition( vUv, depth, viewZ );\n\t\t\t\tvec3 viewNormal = getViewNormal( vUv );\n\n\t\t\t\tvec2 noiseScale = vec2( resolution.x / 4.0, resolution.y / 4.0 );\n\t\t\t\tvec3 random = vec3( texture2D( tNoise, vUv * noiseScale ).r );\n\n\t\t\t\t// compute matrix used to reorient a kernel vector\n\n\t\t\t\tvec3 tangent = normalize( random - viewNormal * dot( random, viewNormal ) );\n\t\t\t\tvec3 bitangent = cross( viewNormal, tangent );\n\t\t\t\tmat3 kernelMatrix = mat3( tangent, bitangent, viewNormal );\n\n\t\t\t\tfloat occlusion = 0.0;\n\n\t\t\t\tfor ( int i = 0; i < KERNEL_SIZE; i ++ ) {\n\n\t\t\t\t\tvec3 sampleVector = kernelMatrix * kernel[ i ]; // reorient sample vector in view space\n\t\t\t\t\tvec3 samplePoint = viewPosition + ( sampleVector * kernelRadius ); // calculate sample point\n\n\t\t\t\t\tvec4 samplePointNDC = cameraProjectionMatrix * vec4( samplePoint, 1.0 ); // project point and calculate NDC\n\t\t\t\t\tsamplePointNDC /= samplePointNDC.w;\n\n\t\t\t\t\tvec2 samplePointUv = samplePointNDC.xy * 0.5 + 0.5; // compute uv coordinates\n\n\t\t\t\t\tfloat realDepth = getLinearDepth( samplePointUv ); // get linear depth from depth texture\n\t\t\t\t\tfloat sampleDepth = viewZToOrthographicDepth( samplePoint.z, cameraNear, cameraFar ); // compute linear depth of the sample view Z value\n\t\t\t\t\tfloat delta = sampleDepth - realDepth;\n\n\t\t\t\t\tif ( delta > minDistance && delta < maxDistance ) { // if fragment is before sample point, increase occlusion\n\n\t\t\t\t\t\tocclusion += 1.0;\n\n\t\t\t\t\t}\n\n\t\t\t\t}\n\n\t\t\t\tocclusion = clamp( occlusion / float( KERNEL_SIZE ), 0.0, 1.0 );\n\n\t\t\t\tgl_FragColor = vec4( vec3( 1.0 - occlusion ), 1.0 );\n\n\t\t\t}\n\n\t\t}"},BC={name:"SSAODepthShader",defines:{PERSPECTIVE_CAMERA:1},uniforms:{tDepth:{value:null},cameraNear:{value:null},cameraFar:{value:null}},vertexShader:"varying vec2 vUv;\n\n\t\tvoid main() {\n\n\t\t\tvUv = uv;\n\t\t\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n\n\t\t}",fragmentShader:"uniform sampler2D tDepth;\n\n\t\tuniform float cameraNear;\n\t\tuniform float cameraFar;\n\n\t\tvarying vec2 vUv;\n\n\t\t#include <packing>\n\n\t\tfloat getLinearDepth( const in vec2 screenPosition ) {\n\n\t\t\t#if PERSPECTIVE_CAMERA == 1\n\n\t\t\t\tfloat fragCoordZ = texture2D( tDepth, screenPosition ).x;\n\t\t\t\tfloat viewZ = perspectiveDepthToViewZ( fragCoordZ, cameraNear, cameraFar );\n\t\t\t\treturn viewZToOrthographicDepth( viewZ, cameraNear, cameraFar );\n\n\t\t\t#else\n\n\t\t\t\treturn texture2D( tDepth, screenPosition ).x;\n\n\t\t\t#endif\n\n\t\t}\n\n\t\tvoid main() {\n\n\t\t\tfloat depth = getLinearDepth( vUv );\n\t\t\tgl_FragColor = vec4( vec3( 1.0 - depth ), 1.0 );\n\n\t\t}"},UC={name:"SSAOBlurShader",uniforms:{tDiffuse:{value:null},resolution:{value:new fr}},vertexShader:"varying vec2 vUv;\n\n\t\tvoid main() {\n\n\t\t\tvUv = uv;\n\t\t\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n\n\t\t}",fragmentShader:"uniform sampler2D tDiffuse;\n\n\t\tuniform vec2 resolution;\n\n\t\tvarying vec2 vUv;\n\n\t\tvoid main() {\n\n\t\t\tvec2 texelSize = ( 1.0 / resolution );\n\t\t\tfloat result = 0.0;\n\n\t\t\tfor ( int i = - 2; i <= 2; i ++ ) {\n\n\t\t\t\tfor ( int j = - 2; j <= 2; j ++ ) {\n\n\t\t\t\t\tvec2 offset = ( vec2( float( i ), float( j ) ) ) * texelSize;\n\t\t\t\t\tresult += texture2D( tDiffuse, vUv + offset ).r;\n\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tgl_FragColor = vec4( vec3( result / ( 5.0 * 5.0 ) ), 1.0 );\n\n\t\t}"};class VC extends V_{constructor(e,t,r=512,n=512,i=32){super(),this.width=r,this.height=n,this.clear=!0,this.needsSwap=!1,this.camera=t,this.scene=e,this.kernelRadius=8,this.kernel=[],this.noiseTexture=null,this.output=0,this.minDistance=.005,this.maxDistance=.1,this._visibilityCache=[],this._generateSampleKernel(i),this._generateRandomKernelRotations();const o=new Gs;o.format=Je,o.type=Ue,this.normalRenderTarget=new jr(this.width,this.height,{minFilter:Se,magFilter:Se,type:Fe,depthTexture:o}),this.ssaoRenderTarget=new jr(this.width,this.height,{type:Fe}),this.blurRenderTarget=this.ssaoRenderTarget.clone(),this.ssaoMaterial=new no({defines:Object.assign({},OC.defines),uniforms:ro.clone(OC.uniforms),vertexShader:OC.vertexShader,fragmentShader:OC.fragmentShader,blending:0}),this.ssaoMaterial.defines.KERNEL_SIZE=i,this.ssaoMaterial.uniforms.tNormal.value=this.normalRenderTarget.texture,this.ssaoMaterial.uniforms.tDepth.value=this.normalRenderTarget.depthTexture,this.ssaoMaterial.uniforms.tNoise.value=this.noiseTexture,this.ssaoMaterial.uniforms.kernel.value=this.kernel,this.ssaoMaterial.uniforms.cameraNear.value=this.camera.near,this.ssaoMaterial.uniforms.cameraFar.value=this.camera.far,this.ssaoMaterial.uniforms.resolution.value.set(this.width,this.height),this.ssaoMaterial.uniforms.cameraProjectionMatrix.value.copy(this.camera.projectionMatrix),this.ssaoMaterial.uniforms.cameraInverseProjectionMatrix.value.copy(this.camera.projectionMatrixInverse),this.normalMaterial=new ll,this.normalMaterial.blending=0,this.blurMaterial=new no({defines:Object.assign({},UC.defines),uniforms:ro.clone(UC.uniforms),vertexShader:UC.vertexShader,fragmentShader:UC.fragmentShader}),this.blurMaterial.uniforms.tDiffuse.value=this.ssaoRenderTarget.texture,this.blurMaterial.uniforms.resolution.value.set(this.width,this.height),this.depthRenderMaterial=new no({defines:Object.assign({},BC.defines),uniforms:ro.clone(BC.uniforms),vertexShader:BC.vertexShader,fragmentShader:BC.fragmentShader,blending:0}),this.depthRenderMaterial.uniforms.tDepth.value=this.normalRenderTarget.depthTexture,this.depthRenderMaterial.uniforms.cameraNear.value=this.camera.near,this.depthRenderMaterial.uniforms.cameraFar.value=this.camera.far,this.copyMaterial=new no({uniforms:ro.clone(sC.uniforms),vertexShader:sC.vertexShader,fragmentShader:sC.fragmentShader,transparent:!0,depthTest:!1,depthWrite:!1,blendSrc:K,blendDst:G,blendEquation:V,blendSrcAlpha:Y,blendDstAlpha:G,blendEquationAlpha:V}),this._fsQuad=new G_(null),this._originalClearColor=new mi}dispose(){this.normalRenderTarget.dispose(),this.ssaoRenderTarget.dispose(),this.blurRenderTarget.dispose(),this.normalMaterial.dispose(),this.blurMaterial.dispose(),this.copyMaterial.dispose(),this.depthRenderMaterial.dispose(),this._fsQuad.dispose()}render(e,t,r){switch(this._overrideVisibility(),this._renderOverride(e,this.normalMaterial,this.normalRenderTarget,7829503,1),this._restoreVisibility(),this.ssaoMaterial.uniforms.kernelRadius.value=this.kernelRadius,this.ssaoMaterial.uniforms.minDistance.value=this.minDistance,this.ssaoMaterial.uniforms.maxDistance.value=this.maxDistance,this._renderPass(e,this.ssaoMaterial,this.ssaoRenderTarget),this._renderPass(e,this.blurMaterial,this.blurRenderTarget),this.output){case VC.OUTPUT.SSAO:this.copyMaterial.uniforms.tDiffuse.value=this.ssaoRenderTarget.texture,this.copyMaterial.blending=0,this._renderPass(e,this.copyMaterial,this.renderToScreen?null:r);break;case VC.OUTPUT.Blur:this.copyMaterial.uniforms.tDiffuse.value=this.blurRenderTarget.texture,this.copyMaterial.blending=0,this._renderPass(e,this.copyMaterial,this.renderToScreen?null:r);break;case VC.OUTPUT.Depth:this._renderPass(e,this.depthRenderMaterial,this.renderToScreen?null:r);break;case VC.OUTPUT.Normal:this.copyMaterial.uniforms.tDiffuse.value=this.normalRenderTarget.texture,this.copyMaterial.blending=0,this._renderPass(e,this.copyMaterial,this.renderToScreen?null:r);break;case VC.OUTPUT.Default:this.copyMaterial.uniforms.tDiffuse.value=this.blurRenderTarget.texture,this.copyMaterial.blending=5,this._renderPass(e,this.copyMaterial,this.renderToScreen?null:r);break;default:console.warn("THREE.SSAOPass: Unknown output type.")}}setSize(e,t){this.width=e,this.height=t,this.ssaoRenderTarget.setSize(e,t),this.normalRenderTarget.setSize(e,t),this.blurRenderTarget.setSize(e,t),this.ssaoMaterial.uniforms.resolution.value.set(e,t),this.ssaoMaterial.uniforms.cameraProjectionMatrix.value.copy(this.camera.projectionMatrix),this.ssaoMaterial.uniforms.cameraInverseProjectionMatrix.value.copy(this.camera.projectionMatrixInverse),this.blurMaterial.uniforms.resolution.value.set(e,t)}_renderPass(e,t,r,n,i){e.getClearColor(this._originalClearColor);const o=e.getClearAlpha(),s=e.autoClear;e.setRenderTarget(r),e.autoClear=!1,null!=n&&(e.setClearColor(n),e.setClearAlpha(i||0),e.clear()),this._fsQuad.material=t,this._fsQuad.render(e),e.autoClear=s,e.setClearColor(this._originalClearColor),e.setClearAlpha(o)}_renderOverride(e,t,r,n,i){e.getClearColor(this._originalClearColor);const o=e.getClearAlpha(),s=e.autoClear;e.setRenderTarget(r),e.autoClear=!1,n=t.clearColor||n,i=t.clearAlpha||i,null!=n&&(e.setClearColor(n),e.setClearAlpha(i||0),e.clear()),this.scene.overrideMaterial=t,e.render(this.scene,this.camera),this.scene.overrideMaterial=null,e.autoClear=s,e.setClearColor(this._originalClearColor),e.setClearAlpha(o)}_generateSampleKernel(e){const t=this.kernel;for(let r=0;r<e;r++){const n=new br;n.x=2*Math.random()-1,n.y=2*Math.random()-1,n.z=Math.random(),n.normalize();let i=r/e;i=gr.lerp(.1,1,i*i),n.multiplyScalar(i),t.push(n)}}_generateRandomKernelRotations(){const e=new $C,t=new Float32Array(16);for(let r=0;r<16;r++){const n=2*Math.random()-1,i=2*Math.random()-1,o=0;t[r]=e.noise3d(n,i,o)}this.noiseTexture=new Yo(t,4,4,We,Ne),this.noiseTexture.wrapS=ye,this.noiseTexture.wrapT=ye,this.noiseTexture.needsUpdate=!0}_overrideVisibility(){const e=this.scene,t=this._visibilityCache;e.traverse(function(e){(e.isPoints||e.isLine||e.isLine2)&&e.visible&&(e.visible=!1,t.push(e))})}_restoreVisibility(){const e=this._visibilityCache;for(let t=0;t<e.length;t++)e[t].visible=!0;e.length=0}}VC.OUTPUT={Default:0,SSAO:1,Blur:2,Depth:3,Normal:4};const zC={name:"SSRShader",defines:{MAX_STEP:0,PERSPECTIVE_CAMERA:!0,DISTANCE_ATTENUATION:!0,FRESNEL:!0,INFINITE_THICK:!1,SELECTIVE:!1},uniforms:{tDiffuse:{value:null},tNormal:{value:null},tMetalness:{value:null},tDepth:{value:null},cameraNear:{value:null},cameraFar:{value:null},resolution:{value:new fr},cameraProjectionMatrix:{value:new xn},cameraInverseProjectionMatrix:{value:new xn},opacity:{value:.5},maxDistance:{value:180},cameraRange:{value:0},thickness:{value:.018}},vertexShader:"\n\n\t\tvarying vec2 vUv;\n\n\t\tvoid main() {\n\n\t\t\tvUv = uv;\n\n\t\t\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n\n\t\t}\n\n\t",fragmentShader:'\n\t\t// precision highp float;\n\t\tprecision highp sampler2D;\n\t\tvarying vec2 vUv;\n\t\tuniform sampler2D tDepth;\n\t\tuniform sampler2D tNormal;\n\t\tuniform sampler2D tMetalness;\n\t\tuniform sampler2D tDiffuse;\n\t\tuniform float cameraRange;\n\t\tuniform vec2 resolution;\n\t\tuniform float opacity;\n\t\tuniform float cameraNear;\n\t\tuniform float cameraFar;\n\t\tuniform float maxDistance;\n\t\tuniform float thickness;\n\t\tuniform mat4 cameraProjectionMatrix;\n\t\tuniform mat4 cameraInverseProjectionMatrix;\n\t\t#include <packing>\n\t\tfloat pointToLineDistance(vec3 x0, vec3 x1, vec3 x2) {\n\t\t\t//x0: point, x1: linePointA, x2: linePointB\n\t\t\t//https://mathworld.wolfram.com/Point-LineDistance3-Dimensional.html\n\t\t\treturn length(cross(x0-x1,x0-x2))/length(x2-x1);\n\t\t}\n\t\tfloat pointPlaneDistance(vec3 point,vec3 planePoint,vec3 planeNormal){\n\t\t\t// https://mathworld.wolfram.com/Point-PlaneDistance.html\n\t\t\t//// https://en.wikipedia.org/wiki/Plane_(geometry)\n\t\t\t//// http://paulbourke.net/geometry/pointlineplane/\n\t\t\tfloat a=planeNormal.x,b=planeNormal.y,c=planeNormal.z;\n\t\t\tfloat x0=point.x,y0=point.y,z0=point.z;\n\t\t\tfloat x=planePoint.x,y=planePoint.y,z=planePoint.z;\n\t\t\tfloat d=-(a*x+b*y+c*z);\n\t\t\tfloat distance=(a*x0+b*y0+c*z0+d)/sqrt(a*a+b*b+c*c);\n\t\t\treturn distance;\n\t\t}\n\t\tfloat getDepth( const in vec2 uv ) {\n\t\t\treturn texture2D( tDepth, uv ).x;\n\t\t}\n\t\tfloat getViewZ( const in float depth ) {\n\t\t\t#ifdef PERSPECTIVE_CAMERA\n\t\t\t\treturn perspectiveDepthToViewZ( depth, cameraNear, cameraFar );\n\t\t\t#else\n\t\t\t\treturn orthographicDepthToViewZ( depth, cameraNear, cameraFar );\n\t\t\t#endif\n\t\t}\n\t\tvec3 getViewPosition( const in vec2 uv, const in float depth/*clip space*/, const in float clipW ) {\n\t\t\tvec4 clipPosition = vec4( ( vec3( uv, depth ) - 0.5 ) * 2.0, 1.0 );//ndc\n\t\t\tclipPosition *= clipW; //clip\n\t\t\treturn ( cameraInverseProjectionMatrix * clipPosition ).xyz;//view\n\t\t}\n\t\tvec3 getViewNormal( const in vec2 uv ) {\n\t\t\treturn unpackRGBToNormal( texture2D( tNormal, uv ).xyz );\n\t\t}\n\t\tvec2 viewPositionToXY(vec3 viewPosition){\n\t\t\tvec2 xy;\n\t\t\tvec4 clip=cameraProjectionMatrix*vec4(viewPosition,1);\n\t\t\txy=clip.xy;//clip\n\t\t\tfloat clipW=clip.w;\n\t\t\txy/=clipW;//NDC\n\t\t\txy=(xy+1.)/2.;//uv\n\t\t\txy*=resolution;//screen\n\t\t\treturn xy;\n\t\t}\n\t\tvoid main(){\n\t\t\t#ifdef SELECTIVE\n\t\t\t\tfloat metalness=texture2D(tMetalness,vUv).r;\n\t\t\t\tif(metalness==0.) return;\n\t\t\t#endif\n\n\t\t\tfloat depth = getDepth( vUv );\n\t\t\tfloat viewZ = getViewZ( depth );\n\t\t\tif(-viewZ>=cameraFar) return;\n\n\t\t\tfloat clipW = cameraProjectionMatrix[2][3] * viewZ+cameraProjectionMatrix[3][3];\n\t\t\tvec3 viewPosition=getViewPosition( vUv, depth, clipW );\n\n\t\t\tvec2 d0=gl_FragCoord.xy;\n\t\t\tvec2 d1;\n\n\t\t\tvec3 viewNormal=getViewNormal( vUv );\n\n\t\t\t#ifdef PERSPECTIVE_CAMERA\n\t\t\t\tvec3 viewIncidentDir=normalize(viewPosition);\n\t\t\t\tvec3 viewReflectDir=reflect(viewIncidentDir,viewNormal);\n\t\t\t#else\n\t\t\t\tvec3 viewIncidentDir=vec3(0,0,-1);\n\t\t\t\tvec3 viewReflectDir=reflect(viewIncidentDir,viewNormal);\n\t\t\t#endif\n\n\t\t\tfloat maxReflectRayLen=maxDistance/dot(-viewIncidentDir,viewNormal);\n\t\t\t// dot(a,b)==length(a)*length(b)*cos(theta) // https://www.mathsisfun.com/algebra/vectors-dot-product.html\n\t\t\t// if(a.isNormalized&&b.isNormalized) dot(a,b)==cos(theta)\n\t\t\t// maxDistance/maxReflectRayLen=cos(theta)\n\t\t\t// maxDistance/maxReflectRayLen==dot(a,b)\n\t\t\t// maxReflectRayLen==maxDistance/dot(a,b)\n\n\t\t\tvec3 d1viewPosition=viewPosition+viewReflectDir*maxReflectRayLen;\n\t\t\t#ifdef PERSPECTIVE_CAMERA\n\t\t\t\tif(d1viewPosition.z>-cameraNear){\n\t\t\t\t\t//https://tutorial.math.lamar.edu/Classes/CalcIII/EqnsOfLines.aspx\n\t\t\t\t\tfloat t=(-cameraNear-viewPosition.z)/viewReflectDir.z;\n\t\t\t\t\td1viewPosition=viewPosition+viewReflectDir*t;\n\t\t\t\t}\n\t\t\t#endif\n\t\t\td1=viewPositionToXY(d1viewPosition);\n\n\t\t\tfloat totalLen=length(d1-d0);\n\t\t\tfloat xLen=d1.x-d0.x;\n\t\t\tfloat yLen=d1.y-d0.y;\n\t\t\tfloat totalStep=max(abs(xLen),abs(yLen));\n\t\t\tfloat xSpan=xLen/totalStep;\n\t\t\tfloat ySpan=yLen/totalStep;\n\t\t\tfor(float i=0.;i<float(MAX_STEP);i++){\n\t\t\t\tif(i>=totalStep) break;\n\t\t\t\tvec2 xy=vec2(d0.x+i*xSpan,d0.y+i*ySpan);\n\t\t\t\tif(xy.x<0.||xy.x>resolution.x||xy.y<0.||xy.y>resolution.y) break;\n\t\t\t\tfloat s=length(xy-d0)/totalLen;\n\t\t\t\tvec2 uv=xy/resolution;\n\n\t\t\t\tfloat d = getDepth(uv);\n\t\t\t\tfloat vZ = getViewZ( d );\n\t\t\t\tif(-vZ>=cameraFar) continue;\n\t\t\t\tfloat cW = cameraProjectionMatrix[2][3] * vZ+cameraProjectionMatrix[3][3];\n\t\t\t\tvec3 vP=getViewPosition( uv, d, cW );\n\n\t\t\t\t#ifdef PERSPECTIVE_CAMERA\n\t\t\t\t\t// https://comp.nus.edu.sg/~lowkl/publications/lowk_persp_interp_techrep.pdf\n\t\t\t\t\tfloat recipVPZ=1./viewPosition.z;\n\t\t\t\t\tfloat viewReflectRayZ=1./(recipVPZ+s*(1./d1viewPosition.z-recipVPZ));\n\t\t\t\t#else\n\t\t\t\t\tfloat viewReflectRayZ=viewPosition.z+s*(d1viewPosition.z-viewPosition.z);\n\t\t\t\t#endif\n\n\t\t\t\t// if(viewReflectRayZ>vZ) continue; // will cause "npm run make-screenshot webgl_postprocessing_ssr" high probability hang.\n\t\t\t\t// https://github.com/mrdoob/three.js/pull/21539#issuecomment-821061164\n\t\t\t\tif(viewReflectRayZ<=vZ){\n\n\t\t\t\t\tbool hit;\n\t\t\t\t\t#ifdef INFINITE_THICK\n\t\t\t\t\t\thit=true;\n\t\t\t\t\t#else\n\t\t\t\t\t\tfloat away=pointToLineDistance(vP,viewPosition,d1viewPosition);\n\n\t\t\t\t\t\tfloat minThickness;\n\t\t\t\t\t\tvec2 xyNeighbor=xy;\n\t\t\t\t\t\txyNeighbor.x+=1.;\n\t\t\t\t\t\tvec2 uvNeighbor=xyNeighbor/resolution;\n\t\t\t\t\t\tvec3 vPNeighbor=getViewPosition(uvNeighbor,d,cW);\n\t\t\t\t\t\tminThickness=vPNeighbor.x-vP.x;\n\t\t\t\t\t\tminThickness*=3.;\n\t\t\t\t\t\tfloat tk=max(minThickness,thickness);\n\n\t\t\t\t\t\thit=away<=tk;\n\t\t\t\t\t#endif\n\n\t\t\t\t\tif(hit){\n\t\t\t\t\t\tvec3 vN=getViewNormal( uv );\n\t\t\t\t\t\tif(dot(viewReflectDir,vN)>=0.) continue;\n\t\t\t\t\t\tfloat distance=pointPlaneDistance(vP,viewPosition,viewNormal);\n\t\t\t\t\t\tif(distance>maxDistance) break;\n\t\t\t\t\t\tfloat op=opacity;\n\t\t\t\t\t\t#ifdef DISTANCE_ATTENUATION\n\t\t\t\t\t\t\tfloat ratio=1.-(distance/maxDistance);\n\t\t\t\t\t\t\tfloat attenuation=ratio*ratio;\n\t\t\t\t\t\t\top=opacity*attenuation;\n\t\t\t\t\t\t#endif\n\t\t\t\t\t\t#ifdef FRESNEL\n\t\t\t\t\t\t\tfloat fresnelCoe=(dot(viewIncidentDir,viewReflectDir)+1.)/2.;\n\t\t\t\t\t\t\top*=fresnelCoe;\n\t\t\t\t\t\t#endif\n\t\t\t\t\t\tvec4 reflectColor=texture2D(tDiffuse,uv);\n\t\t\t\t\t\tgl_FragColor.xyz=reflectColor.xyz;\n\t\t\t\t\t\tgl_FragColor.a=op;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t'},HC={name:"SSRDepthShader",defines:{PERSPECTIVE_CAMERA:1},uniforms:{tDepth:{value:null},cameraNear:{value:null},cameraFar:{value:null}},vertexShader:"\n\n\t\tvarying vec2 vUv;\n\n\t\tvoid main() {\n\n\t\t\tvUv = uv;\n\t\t\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n\n\t\t}\n\n\t",fragmentShader:"\n\n\t\tuniform sampler2D tDepth;\n\n\t\tuniform float cameraNear;\n\t\tuniform float cameraFar;\n\n\t\tvarying vec2 vUv;\n\n\t\t#include <packing>\n\n\t\tfloat getLinearDepth( const in vec2 uv ) {\n\n\t\t\t#if PERSPECTIVE_CAMERA == 1\n\n\t\t\t\tfloat fragCoordZ = texture2D( tDepth, uv ).x;\n\t\t\t\tfloat viewZ = perspectiveDepthToViewZ( fragCoordZ, cameraNear, cameraFar );\n\t\t\t\treturn viewZToOrthographicDepth( viewZ, cameraNear, cameraFar );\n\n\t\t\t#else\n\n\t\t\t\treturn texture2D( tDepth, uv ).x;\n\n\t\t\t#endif\n\n\t\t}\n\n\t\tvoid main() {\n\n\t\t\tfloat depth = getLinearDepth( vUv );\n\t\t\tfloat d = 1.0 - depth;\n\t\t\t// d=(d-.999)*1000.;\n\t\t\tgl_FragColor = vec4( vec3( d ), 1.0 );\n\n\t\t}\n\n\t"},GC={name:"SSRBlurShader",uniforms:{tDiffuse:{value:null},resolution:{value:new fr},opacity:{value:.5}},vertexShader:"\n\n\t\tvarying vec2 vUv;\n\n\t\tvoid main() {\n\n\t\t\tvUv = uv;\n\t\t\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n\n\t\t}\n\n\t",fragmentShader:"\n\n\t\tuniform sampler2D tDiffuse;\n\t\tuniform vec2 resolution;\n\t\tvarying vec2 vUv;\n\t\tvoid main() {\n\t\t\t//reverse engineering from PhotoShop blur filter, then change coefficient\n\n\t\t\tvec2 texelSize = ( 1.0 / resolution );\n\n\t\t\tvec4 c=texture2D(tDiffuse,vUv);\n\n\t\t\tvec2 offset;\n\n\t\t\toffset=(vec2(-1,0))*texelSize;\n\t\t\tvec4 cl=texture2D(tDiffuse,vUv+offset);\n\n\t\t\toffset=(vec2(1,0))*texelSize;\n\t\t\tvec4 cr=texture2D(tDiffuse,vUv+offset);\n\n\t\t\toffset=(vec2(0,-1))*texelSize;\n\t\t\tvec4 cb=texture2D(tDiffuse,vUv+offset);\n\n\t\t\toffset=(vec2(0,1))*texelSize;\n\t\t\tvec4 ct=texture2D(tDiffuse,vUv+offset);\n\n\t\t\t// float coeCenter=.5;\n\t\t\t// float coeSide=.125;\n\t\t\tfloat coeCenter=.2;\n\t\t\tfloat coeSide=.2;\n\t\t\tfloat a=c.a*coeCenter+cl.a*coeSide+cr.a*coeSide+cb.a*coeSide+ct.a*coeSide;\n\t\t\tvec3 rgb=(c.rgb*c.a*coeCenter+cl.rgb*cl.a*coeSide+cr.rgb*cr.a*coeSide+cb.rgb*cb.a*coeSide+ct.rgb*ct.a*coeSide)/a;\n\t\t\tgl_FragColor=vec4(rgb,a);\n\n\t\t}\n\t"};class jC extends V_{constructor({renderer:e,scene:t,camera:r,width:n=512,height:i=512,selects:o=null,bouncing:s=!1,groundReflector:a=null}){super(),this.width=n,this.height=i,this.clear=!0,this.renderer=e,this.scene=t,this.camera=r,this.groundReflector=a,this.opacity=zC.uniforms.opacity.value,this.output=0,this.maxDistance=zC.uniforms.maxDistance.value,this.thickness=zC.uniforms.thickness.value,this.tempColor=new mi,this._selects=o,this._resolutionScale=1,this.selective=Array.isArray(this._selects),Object.defineProperty(this,"selects",{get(){return this._selects},set(e){this._selects!==e&&(this._selects=e,Array.isArray(e)?(this.selective=!0,this.ssrMaterial.defines.SELECTIVE=!0,this.ssrMaterial.needsUpdate=!0):(this.selective=!1,this.ssrMaterial.defines.SELECTIVE=!1,this.ssrMaterial.needsUpdate=!0))}}),this._bouncing=s,Object.defineProperty(this,"bouncing",{get(){return this._bouncing},set(e){this._bouncing!==e&&(this._bouncing=e,this.ssrMaterial.uniforms.tDiffuse.value=e?this.prevRenderTarget.texture:this.beautyRenderTarget.texture)}}),this.blur=!0,this._distanceAttenuation=zC.defines.DISTANCE_ATTENUATION,Object.defineProperty(this,"distanceAttenuation",{get(){return this._distanceAttenuation},set(e){this._distanceAttenuation!==e&&(this._distanceAttenuation=e,this.ssrMaterial.defines.DISTANCE_ATTENUATION=e,this.ssrMaterial.needsUpdate=!0)}}),this._fresnel=zC.defines.FRESNEL,Object.defineProperty(this,"fresnel",{get(){return this._fresnel},set(e){this._fresnel!==e&&(this._fresnel=e,this.ssrMaterial.defines.FRESNEL=e,this.ssrMaterial.needsUpdate=!0)}}),this._infiniteThick=zC.defines.INFINITE_THICK,Object.defineProperty(this,"infiniteThick",{get(){return this._infiniteThick},set(e){this._infiniteThick!==e&&(this._infiniteThick=e,this.ssrMaterial.defines.INFINITE_THICK=e,this.ssrMaterial.needsUpdate=!0)}});const l=new Gs;l.type=Le,l.minFilter=Se,l.magFilter=Se,this.beautyRenderTarget=new jr(this.width,this.height,{minFilter:Se,magFilter:Se,type:Fe,depthTexture:l,depthBuffer:!0}),this.prevRenderTarget=new jr(this.width,this.height,{minFilter:Se,magFilter:Se}),this.normalRenderTarget=new jr(this.width,this.height,{minFilter:Se,magFilter:Se,type:Fe}),this.metalnessRenderTarget=new jr(this.width,this.height,{minFilter:Se,magFilter:Se,type:Fe}),this.ssrRenderTarget=new jr(this.width,this.height,{minFilter:Se,magFilter:Se}),this.blurRenderTarget=this.ssrRenderTarget.clone(),this.blurRenderTarget2=this.ssrRenderTarget.clone(),this.ssrMaterial=new no({defines:Object.assign({},zC.defines,{MAX_STEP:Math.sqrt(this.width*this.width+this.height*this.height)}),uniforms:ro.clone(zC.uniforms),vertexShader:zC.vertexShader,fragmentShader:zC.fragmentShader,blending:0}),this.ssrMaterial.uniforms.tDiffuse.value=this.beautyRenderTarget.texture,this.ssrMaterial.uniforms.tNormal.value=this.normalRenderTarget.texture,this.ssrMaterial.defines.SELECTIVE=this.selective,this.ssrMaterial.needsUpdate=!0,this.ssrMaterial.uniforms.tMetalness.value=this.metalnessRenderTarget.texture,this.ssrMaterial.uniforms.tDepth.value=this.beautyRenderTarget.depthTexture,this.ssrMaterial.uniforms.cameraNear.value=this.camera.near,this.ssrMaterial.uniforms.cameraFar.value=this.camera.far,this.ssrMaterial.uniforms.thickness.value=this.thickness,this.ssrMaterial.uniforms.resolution.value.set(this.width,this.height),this.ssrMaterial.uniforms.cameraProjectionMatrix.value.copy(this.camera.projectionMatrix),this.ssrMaterial.uniforms.cameraInverseProjectionMatrix.value.copy(this.camera.projectionMatrixInverse),this.normalMaterial=new ll,this.normalMaterial.blending=0,this.metalnessOnMaterial=new vi({color:"white"}),this.metalnessOffMaterial=new vi({color:"black"}),this.blurMaterial=new no({defines:Object.assign({},GC.defines),uniforms:ro.clone(GC.uniforms),vertexShader:GC.vertexShader,fragmentShader:GC.fragmentShader}),this.blurMaterial.uniforms.tDiffuse.value=this.ssrRenderTarget.texture,this.blurMaterial.uniforms.resolution.value.set(this.width,this.height),this.blurMaterial2=new no({defines:Object.assign({},GC.defines),uniforms:ro.clone(GC.uniforms),vertexShader:GC.vertexShader,fragmentShader:GC.fragmentShader}),this.blurMaterial2.uniforms.tDiffuse.value=this.blurRenderTarget.texture,this.blurMaterial2.uniforms.resolution.value.set(this.width,this.height),this.depthRenderMaterial=new no({defines:Object.assign({},HC.defines),uniforms:ro.clone(HC.uniforms),vertexShader:HC.vertexShader,fragmentShader:HC.fragmentShader,blending:0}),this.depthRenderMaterial.uniforms.tDepth.value=this.beautyRenderTarget.depthTexture,this.depthRenderMaterial.uniforms.cameraNear.value=this.camera.near,this.depthRenderMaterial.uniforms.cameraFar.value=this.camera.far,this.copyMaterial=new no({uniforms:ro.clone(sC.uniforms),vertexShader:sC.vertexShader,fragmentShader:sC.fragmentShader,transparent:!0,depthTest:!1,depthWrite:!1,blendSrc:Q,blendDst:q,blendEquation:V,blendSrcAlpha:Q,blendDstAlpha:q,blendEquationAlpha:V}),this.fsQuad=new G_(null),this.originalClearColor=new mi}get resolutionScale(){return this._resolutionScale}set resolutionScale(e){this._resolutionScale=e,this.setSize(this.width,this.height)}dispose(){this.beautyRenderTarget.dispose(),this.prevRenderTarget.dispose(),this.normalRenderTarget.dispose(),this.metalnessRenderTarget.dispose(),this.ssrRenderTarget.dispose(),this.blurRenderTarget.dispose(),this.blurRenderTarget2.dispose(),this.normalMaterial.dispose(),this.metalnessOnMaterial.dispose(),this.metalnessOffMaterial.dispose(),this.blurMaterial.dispose(),this.blurMaterial2.dispose(),this.copyMaterial.dispose(),this.depthRenderMaterial.dispose(),this.fsQuad.dispose()}render(e,t){switch(e.setRenderTarget(this.beautyRenderTarget),e.clear(),this.groundReflector&&(this.groundReflector.visible=!1,this.groundReflector.doRender(this.renderer,this.scene,this.camera),this.groundReflector.visible=!0),e.render(this.scene,this.camera),this.groundReflector&&(this.groundReflector.visible=!1),this._renderOverride(e,this.normalMaterial,this.normalRenderTarget,0,0),this.selective&&this._renderMetalness(e,this.metalnessOnMaterial,this.metalnessRenderTarget,0,0),this.ssrMaterial.uniforms.opacity.value=this.opacity,this.ssrMaterial.uniforms.maxDistance.value=this.maxDistance,this.ssrMaterial.uniforms.thickness.value=this.thickness,this._renderPass(e,this.ssrMaterial,this.ssrRenderTarget),this.blur&&(this._renderPass(e,this.blurMaterial,this.blurRenderTarget),this._renderPass(e,this.blurMaterial2,this.blurRenderTarget2)),this.output){case jC.OUTPUT.Default:this.bouncing?(this.copyMaterial.uniforms.tDiffuse.value=this.beautyRenderTarget.texture,this.copyMaterial.blending=0,this._renderPass(e,this.copyMaterial,this.prevRenderTarget),this.blur?this.copyMaterial.uniforms.tDiffuse.value=this.blurRenderTarget2.texture:this.copyMaterial.uniforms.tDiffuse.value=this.ssrRenderTarget.texture,this.copyMaterial.blending=1,this._renderPass(e,this.copyMaterial,this.prevRenderTarget),this.copyMaterial.uniforms.tDiffuse.value=this.prevRenderTarget.texture,this.copyMaterial.blending=0,this._renderPass(e,this.copyMaterial,this.renderToScreen?null:t)):(this.copyMaterial.uniforms.tDiffuse.value=this.beautyRenderTarget.texture,this.copyMaterial.blending=0,this._renderPass(e,this.copyMaterial,this.renderToScreen?null:t),this.blur?this.copyMaterial.uniforms.tDiffuse.value=this.blurRenderTarget2.texture:this.copyMaterial.uniforms.tDiffuse.value=this.ssrRenderTarget.texture,this.copyMaterial.blending=1,this._renderPass(e,this.copyMaterial,this.renderToScreen?null:t));break;case jC.OUTPUT.SSR:this.blur?this.copyMaterial.uniforms.tDiffuse.value=this.blurRenderTarget2.texture:this.copyMaterial.uniforms.tDiffuse.value=this.ssrRenderTarget.texture,this.copyMaterial.blending=0,this._renderPass(e,this.copyMaterial,this.renderToScreen?null:t),this.bouncing&&(this.blur?this.copyMaterial.uniforms.tDiffuse.value=this.blurRenderTarget2.texture:this.copyMaterial.uniforms.tDiffuse.value=this.beautyRenderTarget.texture,this.copyMaterial.blending=0,this._renderPass(e,this.copyMaterial,this.prevRenderTarget),this.copyMaterial.uniforms.tDiffuse.value=this.ssrRenderTarget.texture,this.copyMaterial.blending=1,this._renderPass(e,this.copyMaterial,this.prevRenderTarget));break;case jC.OUTPUT.Beauty:this.copyMaterial.uniforms.tDiffuse.value=this.beautyRenderTarget.texture,this.copyMaterial.blending=0,this._renderPass(e,this.copyMaterial,this.renderToScreen?null:t);break;case jC.OUTPUT.Depth:this._renderPass(e,this.depthRenderMaterial,this.renderToScreen?null:t);break;case jC.OUTPUT.Normal:this.copyMaterial.uniforms.tDiffuse.value=this.normalRenderTarget.texture,this.copyMaterial.blending=0,this._renderPass(e,this.copyMaterial,this.renderToScreen?null:t);break;case jC.OUTPUT.Metalness:this.copyMaterial.uniforms.tDiffuse.value=this.metalnessRenderTarget.texture,this.copyMaterial.blending=0,this._renderPass(e,this.copyMaterial,this.renderToScreen?null:t);break;default:console.warn("THREE.SSRPass: Unknown output type.")}}setSize(e,t){this.width=e,this.height=t;const r=Math.round(this.resolutionScale*e),n=Math.round(this.resolutionScale*t);this.ssrMaterial.defines.MAX_STEP=Math.sqrt(r*r+n*n),this.ssrMaterial.needsUpdate=!0,this.beautyRenderTarget.setSize(e,t),this.normalRenderTarget.setSize(e,t),this.metalnessRenderTarget.setSize(e,t),this.ssrRenderTarget.setSize(r,n),this.prevRenderTarget.setSize(r,n),this.blurRenderTarget.setSize(r,n),this.blurRenderTarget2.setSize(r,n),this.ssrMaterial.uniforms.resolution.value.set(r,n),this.ssrMaterial.uniforms.cameraProjectionMatrix.value.copy(this.camera.projectionMatrix),this.ssrMaterial.uniforms.cameraInverseProjectionMatrix.value.copy(this.camera.projectionMatrixInverse),this.blurMaterial.uniforms.resolution.value.set(r,n),this.blurMaterial2.uniforms.resolution.value.set(r,n)}_renderPass(e,t,r,n,i){this.originalClearColor.copy(e.getClearColor(this.tempColor));const o=e.getClearAlpha(this.tempColor),s=e.autoClear;e.setRenderTarget(r),e.autoClear=!1,null!=n&&(e.setClearColor(n),e.setClearAlpha(i||0),e.clear()),this.fsQuad.material=t,this.fsQuad.render(e),e.autoClear=s,e.setClearColor(this.originalClearColor),e.setClearAlpha(o)}_renderOverride(e,t,r,n,i){this.originalClearColor.copy(e.getClearColor(this.tempColor));const o=e.getClearAlpha(this.tempColor),s=e.autoClear;e.setRenderTarget(r),e.autoClear=!1,n=t.clearColor||n,i=t.clearAlpha||i,null!=n&&(e.setClearColor(n),e.setClearAlpha(i||0),e.clear()),this.scene.overrideMaterial=t,e.render(this.scene,this.camera),this.scene.overrideMaterial=null,e.autoClear=s,e.setClearColor(this.originalClearColor),e.setClearAlpha(o)}_renderMetalness(e,t,r,n,i){this.originalClearColor.copy(e.getClearColor(this.tempColor));const o=e.getClearAlpha(this.tempColor),s=e.autoClear,a=this.scene.background,l=this.scene.fog;e.setRenderTarget(r),e.autoClear=!1,this.scene.background=null,this.scene.fog=null,n=t.clearColor||n,i=t.clearAlpha||i,null!=n&&(e.setClearColor(n),e.setClearAlpha(i||0),e.clear()),this.scene.traverseVisible(e=>{e._SSRPassBackupMaterial=e.material,this._selects.includes(e)?e.material=this.metalnessOnMaterial:e.material=this.metalnessOffMaterial}),e.render(this.scene,this.camera),this.scene.traverseVisible(e=>{e.material=e._SSRPassBackupMaterial}),e.autoClear=s,e.setClearColor(this.originalClearColor),e.setClearAlpha(o),this.scene.background=a,this.scene.fog=l}}jC.OUTPUT={Default:0,SSR:1,Beauty:3,Depth:4,Normal:5,Metalness:7};class JC extends NC{constructor(e,t,r,n){super(e,t,r,n),this.sampleLevel=0,this.accumulate=!1,this.accumulateIndex=-1,this._sampleRenderTarget=null,this._holdRenderTarget=null}render(e,t,r,n){if(!1===this.accumulate)return super.render(e,t,r,n),void(this.accumulateIndex=-1);const i=WC[5];null===this._sampleRenderTarget&&(this._sampleRenderTarget=new jr(r.width,r.height,{type:Fe}),this._sampleRenderTarget.texture.name="TAARenderPass.sample"),null===this._holdRenderTarget&&(this._holdRenderTarget=new jr(r.width,r.height,{type:Fe}),this._holdRenderTarget.texture.name="TAARenderPass.hold"),-1===this.accumulateIndex&&(super.render(e,this._holdRenderTarget,r,n),this.accumulateIndex=0);const o=e.autoClear;e.autoClear=!1,e.getClearColor(this._oldClearColor);const s=e.getClearAlpha(),a=1/i.length;if(this.accumulateIndex>=0&&this.accumulateIndex<i.length){this._copyUniforms.opacity.value=a,this._copyUniforms.tDiffuse.value=t.texture;const n=Math.pow(2,this.sampleLevel);for(let o=0;o<n;o++){const n=i[this.accumulateIndex];if(this.camera.setViewOffset&&this.camera.setViewOffset(r.width,r.height,.0625*n[0],.0625*n[1],r.width,r.height),e.setRenderTarget(t),e.setClearColor(this.clearColor,this.clearAlpha),e.clear(),e.render(this.scene,this.camera),e.setRenderTarget(this._sampleRenderTarget),0===this.accumulateIndex&&(e.setClearColor(0,0),e.clear()),this._fsQuad.render(e),this.accumulateIndex++,this.accumulateIndex>=i.length)break}this.camera.clearViewOffset&&this.camera.clearViewOffset()}e.setClearColor(this.clearColor,this.clearAlpha);const l=this.accumulateIndex*a;l>0&&(this._copyUniforms.opacity.value=1,this._copyUniforms.tDiffuse.value=this._sampleRenderTarget.texture,e.setRenderTarget(t),e.clear(),this._fsQuad.render(e)),l<1&&(this._copyUniforms.opacity.value=1-l,this._copyUniforms.tDiffuse.value=this._holdRenderTarget.texture,e.setRenderTarget(t),this._fsQuad.render(e)),e.autoClear=o,e.setClearColor(this._oldClearColor,s)}dispose(){super.dispose(),this._holdRenderTarget&&this._holdRenderTarget.dispose()}}const WC=[[[0,0]],[[4,4],[-4,-4]],[[-2,-6],[6,-2],[-6,2],[2,6]],[[1,-3],[-1,3],[5,1],[-3,-5],[-5,5],[-7,-1],[3,7],[7,-7]],[[1,1],[-1,-3],[-3,2],[4,-1],[-5,-2],[2,5],[5,3],[3,-5],[-2,6],[0,-7],[-4,-6],[-6,4],[-8,0],[7,-4],[6,7],[-7,-8]],[[-4,-7],[-7,-5],[-3,-5],[-5,-4],[-1,-4],[-2,-2],[-6,-1],[-4,0],[-7,1],[-1,2],[-6,3],[-3,3],[-7,6],[-3,6],[-5,7],[-1,7],[5,-7],[1,-6],[6,-5],[4,-4],[2,-3],[7,-2],[1,-1],[4,-1],[2,1],[6,2],[0,4],[4,4],[2,5],[7,5],[5,6],[3,7]]];const QC={name:"LuminosityHighPassShader",uniforms:{tDiffuse:{value:null},luminosityThreshold:{value:1},smoothWidth:{value:1},defaultColor:{value:new mi(0)},defaultOpacity:{value:0}},vertexShader:"\n\n\t\tvarying vec2 vUv;\n\n\t\tvoid main() {\n\n\t\t\tvUv = uv;\n\n\t\t\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n\n\t\t}",fragmentShader:"\n\n\t\tuniform sampler2D tDiffuse;\n\t\tuniform vec3 defaultColor;\n\t\tuniform float defaultOpacity;\n\t\tuniform float luminosityThreshold;\n\t\tuniform float smoothWidth;\n\n\t\tvarying vec2 vUv;\n\n\t\tvoid main() {\n\n\t\t\tvec4 texel = texture2D( tDiffuse, vUv );\n\n\t\t\tfloat v = luminance( texel.xyz );\n\n\t\t\tvec4 outputColor = vec4( defaultColor.rgb, defaultOpacity );\n\n\t\t\tfloat alpha = smoothstep( luminosityThreshold, luminosityThreshold + smoothWidth, v );\n\n\t\t\tgl_FragColor = mix( outputColor, texel, alpha );\n\n\t\t}"};class qC extends V_{constructor(e,t=1,r,n){super(),this.strength=t,this.radius=r,this.threshold=n,this.resolution=void 0!==e?new fr(e.x,e.y):new fr(256,256),this.clearColor=new mi(0,0,0),this.needsSwap=!1,this.renderTargetsHorizontal=[],this.renderTargetsVertical=[],this.nMips=5;let i=Math.round(this.resolution.x/2),o=Math.round(this.resolution.y/2);this.renderTargetBright=new jr(i,o,{type:Fe}),this.renderTargetBright.texture.name="UnrealBloomPass.bright",this.renderTargetBright.texture.generateMipmaps=!1;for(let e=0;e<this.nMips;e++){const t=new jr(i,o,{type:Fe});t.texture.name="UnrealBloomPass.h"+e,t.texture.generateMipmaps=!1,this.renderTargetsHorizontal.push(t);const r=new jr(i,o,{type:Fe});r.texture.name="UnrealBloomPass.v"+e,r.texture.generateMipmaps=!1,this.renderTargetsVertical.push(r),i=Math.round(i/2),o=Math.round(o/2)}const s=QC;this.highPassUniforms=ro.clone(s.uniforms),this.highPassUniforms.luminosityThreshold.value=n,this.highPassUniforms.smoothWidth.value=.01,this.materialHighPassFilter=new no({uniforms:this.highPassUniforms,vertexShader:s.vertexShader,fragmentShader:s.fragmentShader}),this.separableBlurMaterials=[];const a=[3,5,7,9,11];i=Math.round(this.resolution.x/2),o=Math.round(this.resolution.y/2);for(let e=0;e<this.nMips;e++)this.separableBlurMaterials.push(this._getSeparableBlurMaterial(a[e])),this.separableBlurMaterials[e].uniforms.invSize.value=new fr(1/i,1/o),i=Math.round(i/2),o=Math.round(o/2);this.compositeMaterial=this._getCompositeMaterial(this.nMips),this.compositeMaterial.uniforms.blurTexture1.value=this.renderTargetsVertical[0].texture,this.compositeMaterial.uniforms.blurTexture2.value=this.renderTargetsVertical[1].texture,this.compositeMaterial.uniforms.blurTexture3.value=this.renderTargetsVertical[2].texture,this.compositeMaterial.uniforms.blurTexture4.value=this.renderTargetsVertical[3].texture,this.compositeMaterial.uniforms.blurTexture5.value=this.renderTargetsVertical[4].texture,this.compositeMaterial.uniforms.bloomStrength.value=t,this.compositeMaterial.uniforms.bloomRadius.value=.1;this.compositeMaterial.uniforms.bloomFactors.value=[1,.8,.6,.4,.2],this.bloomTintColors=[new br(1,1,1),new br(1,1,1),new br(1,1,1),new br(1,1,1),new br(1,1,1)],this.compositeMaterial.uniforms.bloomTintColors.value=this.bloomTintColors,this.copyUniforms=ro.clone(sC.uniforms),this.blendMaterial=new no({uniforms:this.copyUniforms,vertexShader:sC.vertexShader,fragmentShader:sC.fragmentShader,blending:2,depthTest:!1,depthWrite:!1,transparent:!0}),this._oldClearColor=new mi,this._oldClearAlpha=1,this._basic=new vi,this._fsQuad=new G_(null)}dispose(){for(let e=0;e<this.renderTargetsHorizontal.length;e++)this.renderTargetsHorizontal[e].dispose();for(let e=0;e<this.renderTargetsVertical.length;e++)this.renderTargetsVertical[e].dispose();this.renderTargetBright.dispose();for(let e=0;e<this.separableBlurMaterials.length;e++)this.separableBlurMaterials[e].dispose();this.compositeMaterial.dispose(),this.blendMaterial.dispose(),this._basic.dispose(),this._fsQuad.dispose()}setSize(e,t){let r=Math.round(e/2),n=Math.round(t/2);this.renderTargetBright.setSize(r,n);for(let e=0;e<this.nMips;e++)this.renderTargetsHorizontal[e].setSize(r,n),this.renderTargetsVertical[e].setSize(r,n),this.separableBlurMaterials[e].uniforms.invSize.value=new fr(1/r,1/n),r=Math.round(r/2),n=Math.round(n/2)}render(e,t,r,n,i){e.getClearColor(this._oldClearColor),this._oldClearAlpha=e.getClearAlpha();const o=e.autoClear;e.autoClear=!1,e.setClearColor(this.clearColor,0),i&&e.state.buffers.stencil.setTest(!1),this.renderToScreen&&(this._fsQuad.material=this._basic,this._basic.map=r.texture,e.setRenderTarget(null),e.clear(),this._fsQuad.render(e)),this.highPassUniforms.tDiffuse.value=r.texture,this.highPassUniforms.luminosityThreshold.value=this.threshold,this._fsQuad.material=this.materialHighPassFilter,e.setRenderTarget(this.renderTargetBright),e.clear(),this._fsQuad.render(e);let s=this.renderTargetBright;for(let t=0;t<this.nMips;t++)this._fsQuad.material=this.separableBlurMaterials[t],this.separableBlurMaterials[t].uniforms.colorTexture.value=s.texture,this.separableBlurMaterials[t].uniforms.direction.value=qC.BlurDirectionX,e.setRenderTarget(this.renderTargetsHorizontal[t]),e.clear(),this._fsQuad.render(e),this.separableBlurMaterials[t].uniforms.colorTexture.value=this.renderTargetsHorizontal[t].texture,this.separableBlurMaterials[t].uniforms.direction.value=qC.BlurDirectionY,e.setRenderTarget(this.renderTargetsVertical[t]),e.clear(),this._fsQuad.render(e),s=this.renderTargetsVertical[t];this._fsQuad.material=this.compositeMaterial,this.compositeMaterial.uniforms.bloomStrength.value=this.strength,this.compositeMaterial.uniforms.bloomRadius.value=this.radius,this.compositeMaterial.uniforms.bloomTintColors.value=this.bloomTintColors,e.setRenderTarget(this.renderTargetsHorizontal[0]),e.clear(),this._fsQuad.render(e),this._fsQuad.material=this.blendMaterial,this.copyUniforms.tDiffuse.value=this.renderTargetsHorizontal[0].texture,i&&e.state.buffers.stencil.setTest(!0),this.renderToScreen?(e.setRenderTarget(null),this._fsQuad.render(e)):(e.setRenderTarget(r),this._fsQuad.render(e)),e.setClearColor(this._oldClearColor,this._oldClearAlpha),e.autoClear=o}_getSeparableBlurMaterial(e){const t=[];for(let r=0;r<e;r++)t.push(.39894*Math.exp(-.5*r*r/(e*e))/e);return new no({defines:{KERNEL_RADIUS:e},uniforms:{colorTexture:{value:null},invSize:{value:new fr(.5,.5)},direction:{value:new fr(.5,.5)},gaussianCoefficients:{value:t}},vertexShader:"varying vec2 vUv;\n\t\t\t\tvoid main() {\n\t\t\t\t\tvUv = uv;\n\t\t\t\t\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n\t\t\t\t}",fragmentShader:"#include <common>\n\t\t\t\tvarying vec2 vUv;\n\t\t\t\tuniform sampler2D colorTexture;\n\t\t\t\tuniform vec2 invSize;\n\t\t\t\tuniform vec2 direction;\n\t\t\t\tuniform float gaussianCoefficients[KERNEL_RADIUS];\n\n\t\t\t\tvoid main() {\n\t\t\t\t\tfloat weightSum = gaussianCoefficients[0];\n\t\t\t\t\tvec3 diffuseSum = texture2D( colorTexture, vUv ).rgb * weightSum;\n\t\t\t\t\tfor( int i = 1; i < KERNEL_RADIUS; i ++ ) {\n\t\t\t\t\t\tfloat x = float(i);\n\t\t\t\t\t\tfloat w = gaussianCoefficients[i];\n\t\t\t\t\t\tvec2 uvOffset = direction * invSize * x;\n\t\t\t\t\t\tvec3 sample1 = texture2D( colorTexture, vUv + uvOffset ).rgb;\n\t\t\t\t\t\tvec3 sample2 = texture2D( colorTexture, vUv - uvOffset ).rgb;\n\t\t\t\t\t\tdiffuseSum += (sample1 + sample2) * w;\n\t\t\t\t\t\tweightSum += 2.0 * w;\n\t\t\t\t\t}\n\t\t\t\t\tgl_FragColor = vec4(diffuseSum/weightSum, 1.0);\n\t\t\t\t}"})}_getCompositeMaterial(e){return new no({defines:{NUM_MIPS:e},uniforms:{blurTexture1:{value:null},blurTexture2:{value:null},blurTexture3:{value:null},blurTexture4:{value:null},blurTexture5:{value:null},bloomStrength:{value:1},bloomFactors:{value:null},bloomTintColors:{value:null},bloomRadius:{value:0}},vertexShader:"varying vec2 vUv;\n\t\t\t\tvoid main() {\n\t\t\t\t\tvUv = uv;\n\t\t\t\t\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n\t\t\t\t}",fragmentShader:"varying vec2 vUv;\n\t\t\t\tuniform sampler2D blurTexture1;\n\t\t\t\tuniform sampler2D blurTexture2;\n\t\t\t\tuniform sampler2D blurTexture3;\n\t\t\t\tuniform sampler2D blurTexture4;\n\t\t\t\tuniform sampler2D blurTexture5;\n\t\t\t\tuniform float bloomStrength;\n\t\t\t\tuniform float bloomRadius;\n\t\t\t\tuniform float bloomFactors[NUM_MIPS];\n\t\t\t\tuniform vec3 bloomTintColors[NUM_MIPS];\n\n\t\t\t\tfloat lerpBloomFactor(const in float factor) {\n\t\t\t\t\tfloat mirrorFactor = 1.2 - factor;\n\t\t\t\t\treturn mix(factor, mirrorFactor, bloomRadius);\n\t\t\t\t}\n\n\t\t\t\tvoid main() {\n\t\t\t\t\tgl_FragColor = bloomStrength * ( lerpBloomFactor(bloomFactors[0]) * vec4(bloomTintColors[0], 1.0) * texture2D(blurTexture1, vUv) +\n\t\t\t\t\t\tlerpBloomFactor(bloomFactors[1]) * vec4(bloomTintColors[1], 1.0) * texture2D(blurTexture2, vUv) +\n\t\t\t\t\t\tlerpBloomFactor(bloomFactors[2]) * vec4(bloomTintColors[2], 1.0) * texture2D(blurTexture3, vUv) +\n\t\t\t\t\t\tlerpBloomFactor(bloomFactors[3]) * vec4(bloomTintColors[3], 1.0) * texture2D(blurTexture4, vUv) +\n\t\t\t\t\t\tlerpBloomFactor(bloomFactors[4]) * vec4(bloomTintColors[4], 1.0) * texture2D(blurTexture5, vUv) );\n\t\t\t\t}"})}}qC.BlurDirectionX=new fr(1,0),qC.BlurDirectionY=new fr(0,1);class YC extends qn{constructor(e=document.createElement("div")){super(),this.isCSS2DObject=!0,this.element=e,this.element.style.position="absolute",this.element.style.userSelect="none",this.element.setAttribute("draggable",!1),this.center=new fr(.5,.5),this.addEventListener("removed",function(){this.traverse(function(e){e.element instanceof e.element.ownerDocument.defaultView.Element&&null!==e.element.parentNode&&e.element.remove()})})}copy(e,t){return super.copy(e,t),this.element=e.element.cloneNode(!0),this.center=e.center,this}}const XC=new br,KC=new xn,ZC=new xn,eE=new br,tE=new br;class rE{constructor(e={}){const t=this;let r,n,i,o;const s={objects:new WeakMap},a=void 0!==e.element?e.element:document.createElement("div");function l(e){e.isCSS2DObject&&(e.element.style.display="none");for(let t=0,r=e.children.length;t<r;t++)l(e.children[t])}function c(e,r,n){if(!1!==e.visible){if(e.isCSS2DObject){XC.setFromMatrixPosition(e.matrixWorld),XC.applyMatrix4(ZC);const l=XC.z>=-1&&XC.z<=1&&!0===e.layers.test(n.layers),c=e.element;c.style.display=!0===l?"":"none",!0===l&&(e.onBeforeRender(t,r,n),c.style.transform="translate("+-100*e.center.x+"%,"+-100*e.center.y+"%)translate("+(XC.x*i+i)+"px,"+(-XC.y*o+o)+"px)",c.parentNode!==a&&a.appendChild(c),e.onAfterRender(t,r,n));const d={distanceToCameraSquared:u(n,e)};s.objects.set(e,d)}for(let t=0,i=e.children.length;t<i;t++)c(e.children[t],r,n)}else l(e)}function u(e,t){return eE.setFromMatrixPosition(e.matrixWorld),tE.setFromMatrixPosition(t.matrixWorld),eE.distanceToSquared(tE)}a.style.overflow="hidden",this.domElement=a,this.getSize=function(){return{width:r,height:n}},this.render=function(e,t){!0===e.matrixWorldAutoUpdate&&e.updateMatrixWorld(),null===t.parent&&!0===t.matrixWorldAutoUpdate&&t.updateMatrixWorld(),KC.copy(t.matrixWorldInverse),ZC.multiplyMatrices(t.projectionMatrix,KC),c(e,e,t),function(e){const t=function(e){const t=[];return e.traverseVisible(function(e){e.isCSS2DObject&&t.push(e)}),t}(e).sort(function(e,t){if(e.renderOrder!==t.renderOrder)return t.renderOrder-e.renderOrder;return s.objects.get(e).distanceToCameraSquared-s.objects.get(t).distanceToCameraSquared}),r=t.length;for(let e=0,n=t.length;e<n;e++)t[e].element.style.zIndex=r-e}(e)},this.setSize=function(e,t){r=e,n=t,i=r/2,o=n/2,a.style.width=e+"px",a.style.height=t+"px"}}}new br,new vr,new br;new xn,new xn;class nE{constructor(){this.id=0,this.object=null,this.z=0,this.renderOrder=0}}class iE{constructor(){this.id=0,this.v1=new oE,this.v2=new oE,this.v3=new oE,this.normalModel=new br,this.vertexNormalsModel=[new br,new br,new br],this.vertexNormalsLength=0,this.color=new mi,this.material=null,this.uvs=[new fr,new fr,new fr],this.z=0,this.renderOrder=0}}class oE{constructor(){this.position=new br,this.positionWorld=new br,this.positionScreen=new Hr,this.visible=!0}copy(e){this.positionWorld.copy(e.positionWorld),this.positionScreen.copy(e.positionScreen)}}class sE{constructor(){this.id=0,this.v1=new oE,this.v2=new oE,this.vertexColors=[new mi,new mi],this.material=null,this.z=0,this.renderOrder=0}}class aE{constructor(){this.id=0,this.object=null,this.x=0,this.y=0,this.z=0,this.rotation=0,this.scale=new fr,this.material=null,this.renderOrder=0}}class lE{constructor(){let e,t,r,n,i,o,s,a,l,c,u,d=0,h=0,p=0,m=0,_=0;const g={objects:[],lights:[],elements:[]},f=new br,v=new Hr,b=new Qr(new br(-1,-1,-1),new br(1,1,1)),y=new Qr,$=new Array(3),x=new xn,S=new xn,w=new xn,A=new gs,C=[],E=[],I=[],M=[],k=[];const T=new function(){const e=[],t=[],l=[];let c=null;const d=new xr;function _(e){const t=e.position,r=e.positionWorld,n=e.positionScreen;r.copy(t).applyMatrix4(u),n.copy(r).applyMatrix4(S);const i=1/n.w;n.x*=i,n.y*=i,n.z*=i,e.visible=n.x>=-1&&n.x<=1&&n.y>=-1&&n.y<=1&&n.z>=-1&&n.z<=1}function x(e,t,r){return!0===e.visible||!0===t.visible||!0===r.visible||($[0]=e.positionScreen,$[1]=t.positionScreen,$[2]=r.positionScreen,b.intersectsBox(y.setFromPoints($)))}function A(e,t,r){return(r.positionScreen.x-e.positionScreen.x)*(t.positionScreen.y-e.positionScreen.y)-(r.positionScreen.y-e.positionScreen.y)*(t.positionScreen.x-e.positionScreen.x)<0}return{setObject:function(r){c=r,d.getNormalMatrix(c.matrixWorld),e.length=0,t.length=0,l.length=0},projectVertex:_,checkTriangleVisibility:x,checkBackfaceCulling:A,pushVertex:function(e,t,i){r=function(){if(n===h){const e=new oE;return E.push(e),h++,n++,e}return E[n++]}(),r.position.set(e,t,i),_(r)},pushNormal:function(t,r,n){e.push(t,r,n)},pushColor:function(e,r,n){t.push(e,r,n)},pushUv:function(e,t){l.push(e,t)},pushLine:function(e,r){const n=E[e],i=E[r];n.positionScreen.copy(n.position).applyMatrix4(w),i.positionScreen.copy(i.position).applyMatrix4(w),!0===function(e,t){let r=0,n=1;const i=e.z+e.w,o=t.z+t.w,s=-e.z+e.w,a=-t.z+t.w;return i>=0&&o>=0&&s>=0&&a>=0||!(i<0&&o<0||s<0&&a<0)&&(i<0?r=Math.max(r,i/(i-o)):o<0&&(n=Math.min(n,i/(i-o))),s<0?r=Math.max(r,s/(s-a)):a<0&&(n=Math.min(n,s/(s-a))),!(n<r)&&(e.lerp(t,r),t.lerp(e,1-n),!0))}(n.positionScreen,i.positionScreen)&&(n.positionScreen.multiplyScalar(1/n.positionScreen.w),i.positionScreen.multiplyScalar(1/i.positionScreen.w),s=function(){if(a===m){const e=new sE;return M.push(e),m++,a++,e}return M[a++]}(),s.id=c.id,s.v1.copy(n),s.v2.copy(i),s.z=Math.max(n.positionScreen.z,i.positionScreen.z),s.renderOrder=c.renderOrder,s.material=c.material,c.material.vertexColors&&(s.vertexColors[0].fromArray(t,3*e),s.vertexColors[1].fromArray(t,3*r)),g.elements.push(s))},pushTriangle:function(r,n,s,a){const u=E[r],h=E[n],m=E[s];if(!1!==x(u,h,m)&&(2===a.side||!0===A(u,h,m))){i=function(){if(o===p){const e=new iE;return I.push(e),p++,o++,e}return I[o++]}(),i.id=c.id,i.v1.copy(u),i.v2.copy(h),i.v3.copy(m),i.z=(u.positionScreen.z+h.positionScreen.z+m.positionScreen.z)/3,i.renderOrder=c.renderOrder,f.subVectors(m.position,h.position),v.subVectors(u.position,h.position),f.cross(v),i.normalModel.copy(f),i.normalModel.applyMatrix3(d).normalize();for(let t=0;t<3;t++){const r=i.vertexNormalsModel[t];r.fromArray(e,3*arguments[t]),r.applyMatrix3(d).normalize();i.uvs[t].fromArray(l,2*arguments[t])}i.vertexNormalsLength=3,i.material=a,a.vertexColors&&i.color.fromArray(t,3*r),g.elements.push(i)}}}};function R(e){if(!1===e.visible)return;if(e.isLight)g.lights.push(e);else if(e.isMesh||e.isLine||e.isPoints){if(!1===e.material.visible)return;if(!0===e.frustumCulled&&!1===A.intersectsObject(e))return;L(e)}else if(e.isSprite){if(!1===e.material.visible)return;if(!0===e.frustumCulled&&!1===A.intersectsSprite(e))return;L(e)}const t=e.children;for(let e=0,r=t.length;e<r;e++)R(t[e])}function L(r){e=function(){if(t===d){const e=new nE;return C.push(e),d++,t++,e}return C[t++]}(),e.id=r.id,e.object=r,f.setFromMatrixPosition(r.matrixWorld),f.applyMatrix4(S),e.z=f.z,e.renderOrder=r.renderOrder,g.objects.push(e)}function P(e,t,r){const n=1/e.w;e.z*=n,e.z>=-1&&e.z<=1&&(l=function(){if(c===_){const e=new aE;return k.push(e),_++,c++,e}return k[c++]}(),l.id=t.id,l.x=e.x*n,l.y=e.y*n,l.z=e.z,l.renderOrder=t.renderOrder,l.object=t,l.rotation=t.rotation,l.scale.x=t.scale.x*Math.abs(l.x-(e.x+r.projectionMatrix.elements[0])/(e.w+r.projectionMatrix.elements[12])),l.scale.y=t.scale.y*Math.abs(l.y-(e.y+r.projectionMatrix.elements[5])/(e.w+r.projectionMatrix.elements[13])),l.material=t.material,g.elements.push(l))}function D(e,t){return e.renderOrder!==t.renderOrder?e.renderOrder-t.renderOrder:e.z!==t.z?t.z-e.z:e.id!==t.id?e.id-t.id:0}this.projectScene=function(e,r,i,s){o=0,a=0,c=0,g.elements.length=0,!0===e.matrixWorldAutoUpdate&&e.updateMatrixWorld(),null===r.parent&&!0===r.matrixWorldAutoUpdate&&r.updateMatrixWorld(),x.copy(r.matrixWorldInverse),S.multiplyMatrices(r.projectionMatrix,x),A.setFromProjectionMatrix(S),t=0,g.objects.length=0,g.lights.length=0,R(e),!0===i&&g.objects.sort(D);const l=g.objects;for(let e=0,t=l.length;e<t;e++){const t=l[e].object,i=t.geometry;if(T.setObject(t),u=t.matrixWorld,n=0,t.isMesh){let e=t.material;const r=Array.isArray(e),n=i.attributes,o=i.groups;if(void 0===n.position)continue;const s=n.position.array;for(let e=0,r=s.length;e<r;e+=3){let r=s[e],n=s[e+1],o=s[e+2];const a=i.morphAttributes.position;if(void 0!==a){const l=i.morphTargetsRelative,c=t.morphTargetInfluences;for(let t=0,i=a.length;t<i;t++){const i=c[t];if(0===i)continue;const u=a[t];l?(r+=u.getX(e/3)*i,n+=u.getY(e/3)*i,o+=u.getZ(e/3)*i):(r+=(u.getX(e/3)-s[e])*i,n+=(u.getY(e/3)-s[e+1])*i,o+=(u.getZ(e/3)-s[e+2])*i)}}T.pushVertex(r,n,o)}if(void 0!==n.normal){const e=n.normal.array;for(let t=0,r=e.length;t<r;t+=3)T.pushNormal(e[t],e[t+1],e[t+2])}if(void 0!==n.color){const e=n.color.array;for(let t=0,r=e.length;t<r;t+=3)T.pushColor(e[t],e[t+1],e[t+2])}if(void 0!==n.uv){const e=n.uv.array;for(let t=0,r=e.length;t<r;t+=2)T.pushUv(e[t],e[t+1])}if(null!==i.index){const n=i.index.array;if(o.length>0)for(let i=0;i<o.length;i++){const s=o[i];if(e=!0===r?t.material[s.materialIndex]:t.material,void 0!==e)for(let t=s.start,r=s.start+s.count;t<r;t+=3)T.pushTriangle(n[t],n[t+1],n[t+2],e)}else for(let t=0,r=n.length;t<r;t+=3)T.pushTriangle(n[t],n[t+1],n[t+2],e)}else if(o.length>0)for(let n=0;n<o.length;n++){const i=o[n];if(e=!0===r?t.material[i.materialIndex]:t.material,void 0!==e)for(let t=i.start,r=i.start+i.count;t<r;t+=3)T.pushTriangle(t,t+1,t+2,e)}else for(let t=0,r=s.length/3;t<r;t+=3)T.pushTriangle(t,t+1,t+2,e)}else if(t.isLine){w.multiplyMatrices(S,u);const e=i.attributes;if(void 0!==e.position){const r=e.position.array;for(let e=0,t=r.length;e<t;e+=3)T.pushVertex(r[e],r[e+1],r[e+2]);if(void 0!==e.color){const t=e.color.array;for(let e=0,r=t.length;e<r;e+=3)T.pushColor(t[e],t[e+1],t[e+2])}if(null!==i.index){const e=i.index.array;for(let t=0,r=e.length;t<r;t+=2)T.pushLine(e[t],e[t+1])}else{const e=t.isLineSegments?2:1;for(let t=0,n=r.length/3-1;t<n;t+=e)T.pushLine(t,t+1)}}}else if(t.isPoints){w.multiplyMatrices(S,u);const e=i.attributes;if(void 0!==e.position){const n=e.position.array;for(let e=0,i=n.length;e<i;e+=3)v.set(n[e],n[e+1],n[e+2],1),v.applyMatrix4(w),P(v,t,r)}}else t.isSprite&&(t.modelViewMatrix.multiplyMatrices(r.matrixWorldInverse,t.matrixWorld),v.set(u.elements[12],u.elements[13],u.elements[14],1),v.applyMatrix4(S),P(v,t,r))}return!0===s&&g.elements.sort(D),g}}}new fr,new br(2,2,2),new br(1,1,1),new br(0,0,0),new mi(16777215);const cE={name:"FXAAShader",uniforms:{tDiffuse:{value:null},resolution:{value:new fr(1/1024,1/512)}},vertexShader:"\n\n\t\tvarying vec2 vUv;\n\n\t\tvoid main() {\n\n\t\t\tvUv = uv;\n\t\t\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n\n\t\t}",fragmentShader:"\n\n\t\tuniform sampler2D tDiffuse;\n\t\tuniform vec2 resolution;\n\t\tvarying vec2 vUv;\n\n\t\t#define EDGE_STEP_COUNT 6\n\t\t#define EDGE_GUESS 8.0\n\t\t#define EDGE_STEPS 1.0, 1.5, 2.0, 2.0, 2.0, 4.0\n\t\tconst float edgeSteps[EDGE_STEP_COUNT] = float[EDGE_STEP_COUNT]( EDGE_STEPS );\n\n\t\tfloat _ContrastThreshold = 0.0312;\n\t\tfloat _RelativeThreshold = 0.063;\n\t\tfloat _SubpixelBlending = 1.0;\n\n\t\tvec4 Sample( sampler2D  tex2D, vec2 uv ) {\n\n\t\t\treturn texture( tex2D, uv );\n\n\t\t}\n\n\t\tfloat SampleLuminance( sampler2D tex2D, vec2 uv ) {\n\n\t\t\treturn dot( Sample( tex2D, uv ).rgb, vec3( 0.3, 0.59, 0.11 ) );\n\n\t\t}\n\n\t\tfloat SampleLuminance( sampler2D tex2D, vec2 texSize, vec2 uv, float uOffset, float vOffset ) {\n\n\t\t\tuv += texSize * vec2(uOffset, vOffset);\n\t\t\treturn SampleLuminance(tex2D, uv);\n\n\t\t}\n\n\t\tstruct LuminanceData {\n\n\t\t\tfloat m, n, e, s, w;\n\t\t\tfloat ne, nw, se, sw;\n\t\t\tfloat highest, lowest, contrast;\n\n\t\t};\n\n\t\tLuminanceData SampleLuminanceNeighborhood( sampler2D tex2D, vec2 texSize, vec2 uv ) {\n\n\t\t\tLuminanceData l;\n\t\t\tl.m = SampleLuminance( tex2D, uv );\n\t\t\tl.n = SampleLuminance( tex2D, texSize, uv,  0.0,  1.0 );\n\t\t\tl.e = SampleLuminance( tex2D, texSize, uv,  1.0,  0.0 );\n\t\t\tl.s = SampleLuminance( tex2D, texSize, uv,  0.0, -1.0 );\n\t\t\tl.w = SampleLuminance( tex2D, texSize, uv, -1.0,  0.0 );\n\n\t\t\tl.ne = SampleLuminance( tex2D, texSize, uv,  1.0,  1.0 );\n\t\t\tl.nw = SampleLuminance( tex2D, texSize, uv, -1.0,  1.0 );\n\t\t\tl.se = SampleLuminance( tex2D, texSize, uv,  1.0, -1.0 );\n\t\t\tl.sw = SampleLuminance( tex2D, texSize, uv, -1.0, -1.0 );\n\n\t\t\tl.highest = max( max( max( max( l.n, l.e ), l.s ), l.w ), l.m );\n\t\t\tl.lowest = min( min( min( min( l.n, l.e ), l.s ), l.w ), l.m );\n\t\t\tl.contrast = l.highest - l.lowest;\n\t\t\treturn l;\n\n\t\t}\n\n\t\tbool ShouldSkipPixel( LuminanceData l ) {\n\n\t\t\tfloat threshold = max( _ContrastThreshold, _RelativeThreshold * l.highest );\n\t\t\treturn l.contrast < threshold;\n\n\t\t}\n\n\t\tfloat DeterminePixelBlendFactor( LuminanceData l ) {\n\n\t\t\tfloat f = 2.0 * ( l.n + l.e + l.s + l.w );\n\t\t\tf += l.ne + l.nw + l.se + l.sw;\n\t\t\tf *= 1.0 / 12.0;\n\t\t\tf = abs( f - l.m );\n\t\t\tf = clamp( f / l.contrast, 0.0, 1.0 );\n\n\t\t\tfloat blendFactor = smoothstep( 0.0, 1.0, f );\n\t\t\treturn blendFactor * blendFactor * _SubpixelBlending;\n\n\t\t}\n\n\t\tstruct EdgeData {\n\n\t\t\tbool isHorizontal;\n\t\t\tfloat pixelStep;\n\t\t\tfloat oppositeLuminance, gradient;\n\n\t\t};\n\n\t\tEdgeData DetermineEdge( vec2 texSize, LuminanceData l ) {\n\n\t\t\tEdgeData e;\n\t\t\tfloat horizontal =\n\t\t\t\tabs( l.n + l.s - 2.0 * l.m ) * 2.0 +\n\t\t\t\tabs( l.ne + l.se - 2.0 * l.e ) +\n\t\t\t\tabs( l.nw + l.sw - 2.0 * l.w );\n\t\t\tfloat vertical =\n\t\t\t\tabs( l.e + l.w - 2.0 * l.m ) * 2.0 +\n\t\t\t\tabs( l.ne + l.nw - 2.0 * l.n ) +\n\t\t\t\tabs( l.se + l.sw - 2.0 * l.s );\n\t\t\te.isHorizontal = horizontal >= vertical;\n\n\t\t\tfloat pLuminance = e.isHorizontal ? l.n : l.e;\n\t\t\tfloat nLuminance = e.isHorizontal ? l.s : l.w;\n\t\t\tfloat pGradient = abs( pLuminance - l.m );\n\t\t\tfloat nGradient = abs( nLuminance - l.m );\n\n\t\t\te.pixelStep = e.isHorizontal ? texSize.y : texSize.x;\n\n\t\t\tif (pGradient < nGradient) {\n\n\t\t\t\te.pixelStep = -e.pixelStep;\n\t\t\t\te.oppositeLuminance = nLuminance;\n\t\t\t\te.gradient = nGradient;\n\n\t\t\t} else {\n\n\t\t\t\te.oppositeLuminance = pLuminance;\n\t\t\t\te.gradient = pGradient;\n\n\t\t\t}\n\n\t\t\treturn e;\n\n\t\t}\n\n\t\tfloat DetermineEdgeBlendFactor( sampler2D  tex2D, vec2 texSize, LuminanceData l, EdgeData e, vec2 uv ) {\n\n\t\t\tvec2 uvEdge = uv;\n\t\t\tvec2 edgeStep;\n\t\t\tif (e.isHorizontal) {\n\n\t\t\t\tuvEdge.y += e.pixelStep * 0.5;\n\t\t\t\tedgeStep = vec2( texSize.x, 0.0 );\n\n\t\t\t} else {\n\n\t\t\t\tuvEdge.x += e.pixelStep * 0.5;\n\t\t\t\tedgeStep = vec2( 0.0, texSize.y );\n\n\t\t\t}\n\n\t\t\tfloat edgeLuminance = ( l.m + e.oppositeLuminance ) * 0.5;\n\t\t\tfloat gradientThreshold = e.gradient * 0.25;\n\n\t\t\tvec2 puv = uvEdge + edgeStep * edgeSteps[0];\n\t\t\tfloat pLuminanceDelta = SampleLuminance( tex2D, puv ) - edgeLuminance;\n\t\t\tbool pAtEnd = abs( pLuminanceDelta ) >= gradientThreshold;\n\n\t\t\tfor ( int i = 1; i < EDGE_STEP_COUNT && !pAtEnd; i++ ) {\n\n\t\t\t\tpuv += edgeStep * edgeSteps[i];\n\t\t\t\tpLuminanceDelta = SampleLuminance( tex2D, puv ) - edgeLuminance;\n\t\t\t\tpAtEnd = abs( pLuminanceDelta ) >= gradientThreshold;\n\n\t\t\t}\n\n\t\t\tif ( !pAtEnd ) {\n\n\t\t\t\tpuv += edgeStep * EDGE_GUESS;\n\n\t\t\t}\n\n\t\t\tvec2 nuv = uvEdge - edgeStep * edgeSteps[0];\n\t\t\tfloat nLuminanceDelta = SampleLuminance( tex2D, nuv ) - edgeLuminance;\n\t\t\tbool nAtEnd = abs( nLuminanceDelta ) >= gradientThreshold;\n\n\t\t\tfor ( int i = 1; i < EDGE_STEP_COUNT && !nAtEnd; i++ ) {\n\n\t\t\t\tnuv -= edgeStep * edgeSteps[i];\n\t\t\t\tnLuminanceDelta = SampleLuminance( tex2D, nuv ) - edgeLuminance;\n\t\t\t\tnAtEnd = abs( nLuminanceDelta ) >= gradientThreshold;\n\n\t\t\t}\n\n\t\t\tif ( !nAtEnd ) {\n\n\t\t\t\tnuv -= edgeStep * EDGE_GUESS;\n\n\t\t\t}\n\n\t\t\tfloat pDistance, nDistance;\n\t\t\tif ( e.isHorizontal ) {\n\n\t\t\t\tpDistance = puv.x - uv.x;\n\t\t\t\tnDistance = uv.x - nuv.x;\n\n\t\t\t} else {\n\n\t\t\t\tpDistance = puv.y - uv.y;\n\t\t\t\tnDistance = uv.y - nuv.y;\n\n\t\t\t}\n\n\t\t\tfloat shortestDistance;\n\t\t\tbool deltaSign;\n\t\t\tif ( pDistance <= nDistance ) {\n\n\t\t\t\tshortestDistance = pDistance;\n\t\t\t\tdeltaSign = pLuminanceDelta >= 0.0;\n\n\t\t\t} else {\n\n\t\t\t\tshortestDistance = nDistance;\n\t\t\t\tdeltaSign = nLuminanceDelta >= 0.0;\n\n\t\t\t}\n\n\t\t\tif ( deltaSign == ( l.m - edgeLuminance >= 0.0 ) ) {\n\n\t\t\t\treturn 0.0;\n\n\t\t\t}\n\n\t\t\treturn 0.5 - shortestDistance / ( pDistance + nDistance );\n\n\t\t}\n\n\t\tvec4 ApplyFXAA( sampler2D  tex2D, vec2 texSize, vec2 uv ) {\n\n\t\t\tLuminanceData luminance = SampleLuminanceNeighborhood( tex2D, texSize, uv );\n\t\t\tif ( ShouldSkipPixel( luminance ) ) {\n\n\t\t\t\treturn Sample( tex2D, uv );\n\n\t\t\t}\n\n\t\t\tfloat pixelBlend = DeterminePixelBlendFactor( luminance );\n\t\t\tEdgeData edge = DetermineEdge( texSize, luminance );\n\t\t\tfloat edgeBlend = DetermineEdgeBlendFactor( tex2D, texSize, luminance, edge, uv );\n\t\t\tfloat finalBlend = max( pixelBlend, edgeBlend );\n\n\t\t\tif (edge.isHorizontal) {\n\n\t\t\t\tuv.y += edge.pixelStep * finalBlend;\n\n\t\t\t} else {\n\n\t\t\t\tuv.x += edge.pixelStep * finalBlend;\n\n\t\t\t}\n\n\t\t\treturn Sample( tex2D, uv );\n\n\t\t}\n\n\t\tvoid main() {\n\n\t\t\tgl_FragColor = ApplyFXAA( tDiffuse, resolution.xy, vUv );\n\n\t\t}"},uE=(new fr(512,512),new br,new br,new mi(16772608),new mi(0),{name:"HorizontalBlurShader",uniforms:{tDiffuse:{value:null},h:{value:1/512}},vertexShader:"\n\n\t\tvarying vec2 vUv;\n\n\t\tvoid main() {\n\n\t\t\tvUv = uv;\n\t\t\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n\n\t\t}",fragmentShader:"\n\n\t\tuniform sampler2D tDiffuse;\n\t\tuniform float h;\n\n\t\tvarying vec2 vUv;\n\n\t\tvoid main() {\n\n\t\t\tvec4 sum = vec4( 0.0 );\n\n\t\t\tsum += texture2D( tDiffuse, vec2( vUv.x - 4.0 * h, vUv.y ) ) * 0.051;\n\t\t\tsum += texture2D( tDiffuse, vec2( vUv.x - 3.0 * h, vUv.y ) ) * 0.0918;\n\t\t\tsum += texture2D( tDiffuse, vec2( vUv.x - 2.0 * h, vUv.y ) ) * 0.12245;\n\t\t\tsum += texture2D( tDiffuse, vec2( vUv.x - 1.0 * h, vUv.y ) ) * 0.1531;\n\t\t\tsum += texture2D( tDiffuse, vec2( vUv.x, vUv.y ) ) * 0.1633;\n\t\t\tsum += texture2D( tDiffuse, vec2( vUv.x + 1.0 * h, vUv.y ) ) * 0.1531;\n\t\t\tsum += texture2D( tDiffuse, vec2( vUv.x + 2.0 * h, vUv.y ) ) * 0.12245;\n\t\t\tsum += texture2D( tDiffuse, vec2( vUv.x + 3.0 * h, vUv.y ) ) * 0.0918;\n\t\t\tsum += texture2D( tDiffuse, vec2( vUv.x + 4.0 * h, vUv.y ) ) * 0.051;\n\n\t\t\tgl_FragColor = sum;\n\n\t\t}"});new fr(512,512),new fr(1,1),new fr;const dE=Bu.meshphong_frag.slice(0,Bu.meshphong_frag.indexOf("void main() {")),hE=Bu.meshphong_frag.slice(Bu.meshphong_frag.indexOf("void main() {"));ro.merge([Vu.phong.uniforms,{thicknessMap:{value:null},thicknessColor:{value:new mi(16777215)},thicknessDistortion:{value:.1},thicknessAmbient:{value:0},thicknessAttenuation:{value:.1},thicknessPower:{value:2},thicknessScale:{value:10}}]),["#define USE_UV",Bu.meshphong_vert].join("\n"),["#define USE_UV","#define SUBSURFACE",dE,"uniform sampler2D thicknessMap;","uniform float thicknessPower;","uniform float thicknessScale;","uniform float thicknessDistortion;","uniform float thicknessAmbient;","uniform float thicknessAttenuation;","uniform vec3 thicknessColor;","void RE_Direct_Scattering(const in IncidentLight directLight, const in vec2 uv, const in vec3 geometryPosition, const in vec3 geometryNormal, const in vec3 geometryViewDir, const in vec3 geometryClearcoatNormal, inout ReflectedLight reflectedLight) {","\tvec3 thickness = thicknessColor * texture2D(thicknessMap, uv).r;","\tvec3 scatteringHalf = normalize(directLight.direction + (geometryNormal * thicknessDistortion));","\tfloat scatteringDot = pow(saturate(dot(geometryViewDir, -scatteringHalf)), thicknessPower) * thicknessScale;","\tvec3 scatteringIllu = (scatteringDot + thicknessAmbient) * thickness;","\treflectedLight.directDiffuse += scatteringIllu * thicknessAttenuation * directLight.color;","}",hE.replace("#include <lights_fragment_begin>",(pE=Bu.lights_fragment_begin,mE="RE_Direct( directLight, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight );",_E=["RE_Direct( directLight, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, material, reflectedLight );","#if defined( SUBSURFACE ) && defined( USE_UV )"," RE_Direct_Scattering(directLight, vUv, geometryPosition, geometryNormal, geometryViewDir, geometryClearcoatNormal, reflectedLight);","#endif"].join("\n"),pE.split(mE).join(_E)))].join("\n");var pE,mE,_E;new br,new mi(15658734),new mi(328965),new mi(16777215),new br,new mi(15658734),new mi(328965),new mi(15658734),new mi(8421504),new mi(0),new mi(0),new mi(0),new br,new mi(15658734),new mi(328965),new mi(16777215),new mi(0),new mi(0),new mi(0),new mi(0),new br,new mi(15658734),new mi(328965),new mi(16777215),new mi(0),new fr(1,1),ro.merge([Uu.common,Uu.displacementmap,{modelMatrixPrev:{value:new xn},currentProjectionViewMatrix:{value:new xn},previousProjectionViewMatrix:{value:new xn}}]);const gE={name:"VerticalBlurShader",uniforms:{tDiffuse:{value:null},v:{value:1/512}},vertexShader:"\n\n\t\tvarying vec2 vUv;\n\n\t\tvoid main() {\n\n\t\t\tvUv = uv;\n\t\t\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n\n\t\t}",fragmentShader:"\n\n\t\tuniform sampler2D tDiffuse;\n\t\tuniform float v;\n\n\t\tvarying vec2 vUv;\n\n\t\tvoid main() {\n\n\t\t\tvec4 sum = vec4( 0.0 );\n\n\t\t\tsum += texture2D( tDiffuse, vec2( vUv.x, vUv.y - 4.0 * v ) ) * 0.051;\n\t\t\tsum += texture2D( tDiffuse, vec2( vUv.x, vUv.y - 3.0 * v ) ) * 0.0918;\n\t\t\tsum += texture2D( tDiffuse, vec2( vUv.x, vUv.y - 2.0 * v ) ) * 0.12245;\n\t\t\tsum += texture2D( tDiffuse, vec2( vUv.x, vUv.y - 1.0 * v ) ) * 0.1531;\n\t\t\tsum += texture2D( tDiffuse, vec2( vUv.x, vUv.y ) ) * 0.1633;\n\t\t\tsum += texture2D( tDiffuse, vec2( vUv.x, vUv.y + 1.0 * v ) ) * 0.1531;\n\t\t\tsum += texture2D( tDiffuse, vec2( vUv.x, vUv.y + 2.0 * v ) ) * 0.12245;\n\t\t\tsum += texture2D( tDiffuse, vec2( vUv.x, vUv.y + 3.0 * v ) ) * 0.0918;\n\t\t\tsum += texture2D( tDiffuse, vec2( vUv.x, vUv.y + 4.0 * v ) ) * 0.051;\n\n\t\t\tgl_FragColor = sum;\n\n\t\t}"};new br(1,1,1),new fr(1,1);function fE(e,t,r){let n=r;const i=new br;return e.updateWorldMatrix(!0,!0),e.traverseVisible(e=>{const{geometry:r}=e;if(void 0!==r){const{position:o}=r.attributes;if(void 0!==o)for(let r=0,s=o.count;r<s;r++)e.isMesh?e.getVertexPosition(r,i):i.fromBufferAttribute(o,r),e.isSkinnedMesh||i.applyMatrix4(e.matrixWorld),n=t(n,i)}}),n}function vE(e){const t=new Map,r=new Map,n=e.clone();return bE(e,n,function(e,n){t.set(n,e),r.set(e,n)}),n.traverse(function(e){if(!e.isSkinnedMesh)return;const n=e,i=t.get(e),o=i.skeleton.bones;n.skeleton=i.skeleton.clone(),n.bindMatrix.copy(i.bindMatrix),n.skeleton.bones=o.map(function(e){return r.get(e)}),n.bind(n.skeleton,n.bindMatrix)}),n}function bE(e,t,r){r(e,t);for(let n=0;n<e.children.length;n++)bE(e.children[n],t.children[n],r)}const yE=256,$E=new Array(4),xE=new ArrayBuffer(5120);let SE=0;for(let e=0;e<5;e++)$E[e]=new Uint32Array(xE,SE,yE),SE+=1024;class wE{static createButton(e,t={}){const r=document.createElement("button");function n(){r.style.display="",r.style.cursor="auto",r.style.left="calc(50% - 75px)",r.style.width="150px",r.onmouseenter=null,r.onmouseleave=null,r.onclick=null}function i(e){e.style.position="absolute",e.style.bottom="20px",e.style.padding="12px 6px",e.style.border="1px solid #fff",e.style.borderRadius="4px",e.style.background="rgba(0,0,0,0.1)",e.style.color="#fff",e.style.font="normal 13px sans-serif",e.style.textAlign="center",e.style.opacity="0.5",e.style.outline="none",e.style.zIndex="999"}if("xr"in navigator)return r.id="VRButton",r.style.display="none",i(r),navigator.xr.isSessionSupported("immersive-vr").then(function(i){i?function(){let n=null;async function i(t){t.addEventListener("end",o),await e.xr.setSession(t),r.textContent="EXIT VR",n=t}function o(){n.removeEventListener("end",o),r.textContent="ENTER VR",n=null}r.style.display="",r.style.cursor="pointer",r.style.left="calc(50% - 50px)",r.style.width="100px",r.textContent="ENTER VR";const s={...t,optionalFeatures:["local-floor","bounded-floor","layers",...t.optionalFeatures||[]]};r.onmouseenter=function(){r.style.opacity="1.0"},r.onmouseleave=function(){r.style.opacity="0.5"},r.onclick=function(){null===n?navigator.xr.requestSession("immersive-vr",s).then(i):(n.end(),void 0!==navigator.xr.offerSession&&navigator.xr.offerSession("immersive-vr",s).then(i).catch(e=>{console.warn(e)}))},void 0!==navigator.xr.offerSession&&navigator.xr.offerSession("immersive-vr",s).then(i).catch(e=>{console.warn(e)})}():(n(),r.textContent="VR NOT SUPPORTED"),i&&wE.xrSessionIsGranted&&r.click()}).catch(function(e){n(),console.warn("Exception when trying to call xr.isSessionSupported",e),r.textContent="VR NOT ALLOWED"}),r;{const e=document.createElement("a");return!1===window.isSecureContext?(e.href=document.location.href.replace(/^http:/,"https:"),e.innerHTML="WEBXR NEEDS HTTPS"):(e.href="https://immersiveweb.dev/",e.innerHTML="WEBXR NOT AVAILABLE"),e.style.left="calc(50% - 90px)",e.style.width="180px",e.style.textDecoration="none",i(e),e}}static registerSessionGrantedListener(){if("undefined"!=typeof navigator&&"xr"in navigator){if(/WebXRViewer\//i.test(navigator.userAgent))return;navigator.xr.addEventListener("sessiongranted",()=>{wE.xrSessionIsGranted=!0})}}}wE.xrSessionIsGranted=!1,wE.registerSessionGrantedListener();const AE={Handedness:Object.freeze({NONE:"none",LEFT:"left",RIGHT:"right"}),ComponentState:Object.freeze({DEFAULT:"default",TOUCHED:"touched",PRESSED:"pressed"}),ComponentProperty:Object.freeze({BUTTON:"button",X_AXIS:"xAxis",Y_AXIS:"yAxis",STATE:"state"}),ComponentType:Object.freeze({TRIGGER:"trigger",SQUEEZE:"squeeze",TOUCHPAD:"touchpad",THUMBSTICK:"thumbstick",BUTTON:"button"}),ButtonTouchThreshold:.05,AxisTouchThreshold:.1,VisualResponseProperty:Object.freeze({TRANSFORM:"transform",VISIBILITY:"visibility"})};AE.ComponentState.DEFAULT;class CE{constructor(e,t,r,n,i){this.xrLight=e,this.renderer=t,this.lightProbe=r,this.xrWebGLBinding=null,this.estimationStartCallback=i,this.frameCallback=this.onXRFrame.bind(this);const o=t.xr.getSession();if(n&&"XRWebGLBinding"in window){const r=new po(16);e.environment=r.texture;const n=t.getContext();switch(o.preferredReflectionFormat){case"srgba8":n.getExtension("EXT_sRGB");break;case"rgba16f":n.getExtension("OES_texture_half_float")}this.xrWebGLBinding=new XRWebGLBinding(o,n),this.lightProbe.addEventListener("reflectionchange",()=>{this.updateReflection()})}o.requestAnimationFrame(this.frameCallback)}updateReflection(){const e=this.renderer.properties.get(this.xrLight.environment);if(e){const t=this.xrWebGLBinding.getReflectionCubeMap(this.lightProbe);t&&(e.__webglTexture=t,this.xrLight.environment.needsPMREMUpdate=!0)}}onXRFrame(e,t){if(!this.xrLight)return;t.session.requestAnimationFrame(this.frameCallback);const r=t.getLightEstimate(this.lightProbe);if(r){this.xrLight.lightProbe.sh.fromArray(r.sphericalHarmonicsCoefficients),this.xrLight.lightProbe.intensity=1;const e=Math.max(1,Math.max(r.primaryLightIntensity.x,Math.max(r.primaryLightIntensity.y,r.primaryLightIntensity.z)));this.xrLight.directionalLight.color.setRGB(r.primaryLightIntensity.x/e,r.primaryLightIntensity.y/e,r.primaryLightIntensity.z/e),this.xrLight.directionalLight.intensity=e,this.xrLight.directionalLight.position.copy(r.primaryLightDirection),this.estimationStartCallback&&(this.estimationStartCallback(),this.estimationStartCallback=null)}}dispose(){this.xrLight=null,this.renderer=null,this.lightProbe=null,this.xrWebGLBinding=null}}class EE extends mo{constructor(e,t=!0){super(),this.lightProbe=new cc,this.lightProbe.intensity=0,this.add(this.lightProbe),this.directionalLight=new oc,this.directionalLight.intensity=0,this.add(this.directionalLight),this.environment=null;let r=null,n=!1;e.xr.addEventListener("sessionstart",()=>{const i=e.xr.getSession();"requestLightProbe"in i&&i.requestLightProbe({reflectionFormat:i.preferredReflectionFormat}).then(i=>{r=new CE(this,e,i,t,()=>{n=!0,this.dispatchEvent({type:"estimationstart"})})})}),e.xr.addEventListener("sessionend",()=>{r&&(r.dispose(),r=null),n&&this.dispatchEvent({type:"estimationend"})}),this.dispose=()=>{r&&(r.dispose(),r=null),this.remove(this.lightProbe),this.lightProbe=null,this.remove(this.directionalLight),this.directionalLight=null,this.environment=null}}}new xn,new br;const IE=new class{constructor(){this._visible=!0,this._initialized=!1,this._options={enabled:!0,fade:!0,far:14e3*C,mode:"practical",lightX:-.47,lightY:.63,lightZ:-1,margin:12e4*C,lightFar:25e4*C,lightNear:100,autoUpdate:!0,lightIntensity:3,shadowMapType:2}}get CSM(){return this._csm}get Helper(){return this._csmHelper}get Visible(){return this._visible}set Visible(e){var t;this._csm?(this._visible=e,e?Dhe.TScene.traverse(e=>{e&&e.material&&this.add(e.material)}):this._csm.dispose(),null===(t=this._csm)||void 0===t||t.lights.forEach(t=>{var r;t.visible=e,null===(r=t.shadow.map)||void 0===r||r.dispose()})):this._visible=e}get Initialized(){return this._initialized}initialize(e){if(!this._initialized){if(this._initialized=!0,!dm.csmEnabled)return console.info("[CSM] Disabled on iOS — using basic shadow map only."),void(this._initialized=!1);this._options.lightX=Number(g_configuration.outdoor_lighting_sun_x||this._options.lightX),this._options.lightY=Number(g_configuration.outdoor_lighting_sun_y||this._options.lightY),this._options.lightZ=Number(g_configuration.outdoor_lighting_sun_z||this._options.lightZ),this._options.far=(g_configuration.enable_outdoor_lighting?25e3:14e3)*C,this._csm=new U_({maxFar:this._options.far,cascades:dm.csmCascades,mode:this._options.mode,parent:Dhe.TScene,shadowMapSize:dm.csmShadowMapSize,shadowBias:dm.csmShadowBias,lightDirection:new br(this._options.lightX,this._options.lightY,this._options.lightZ).normalize(),camera:aue.CurrentCamera.Camera,lightIntensity:this._options.lightIntensity,lightNear:this._options.lightNear,lightFar:this._options.lightFar,lightMargin:this._options.margin}),!1===e&&(this.Visible=!1),this._debug()}}add(e){this._csm&&this._visible&&this._csm.setupMaterial(e)}remove(e){this._csm}resize(){this._csm.updateFrustums()}update(e){(e||this._options.autoUpdate&&this._csm)&&(this._csm.update(),this._csmHelper&&this._csmHelper.update())}changeCamera(){this._csm&&aue.CurrentCamera&&aue.CurrentCamera.Camera&&(this._csm.camera=aue.CurrentCamera.Camera,this._csm.updateFrustums())}setLightIntensity(e){this.iterateLights(t=>t.intensity=e)}iterateLights(e){var t,r;null===(r=null===(t=this._csm)||void 0===t?void 0:t.lights)||void 0===r||r.forEach(t=>e(t))}_debug(){if(!g_configuration.panel_left_show||!Phe.DebugGUI)return!1;const e=Wm.getSubFolder("Sun (Cascaded Shadow Map)");if(e.add(this,"Visible").name("enabled"),e.add(this._options,"autoUpdate").onChange(e=>{this._options.autoUpdate=e}),e.add(this._options,"fade").onChange(e=>{this._csm.fade=e,this._csm.updateFrustums()}),e.add(this._options,"far",1,25e3).step(1).name("shadow far").onChange(e=>{this._csm.maxFar=e,this._csm.updateFrustums()}),e.add(this._options,"mode",["uniform","logarithmic","practical"]).name("frustum split mode").onChange(e=>{this._csm.mode=e,this._csm.updateFrustums()}),console.log(this._options),e.add(this._options,"lightX",-1,1,.01).name("light direction x").onChange(e=>{this._csm.lightDirection.x=e}),e.add(this._options,"lightY",-1,1,.01).name("light direction y").onChange(e=>{this._csm.lightDirection.y=e}),e.add(this._options,"lightZ",-1,1,.01).name("light direction z").onChange(e=>{this._csm.lightDirection.z=e}),e.add(this._options,"shadowMapType",{NO_FILTER:0,PCF:1,PCF_SOFT:2,VSM:3}).name("ShadowMapFilterType").onChange(e=>{Aue.TRenderer.shadowMap.enabled=!1,Aue.TRenderer.shadowMap.type=+e,Aue.TRenderer.shadowMap.enabled=!0}),e.add(this._options,"lightIntensity",.01,5).step(.01).name("light intensity").onChange(e=>{this.iterateLights(t=>t.intensity=e)}),e.add(this._options,"lightNear",.01,1e3).name("light near").onChange(e=>{this.iterateLights(t=>{t.shadow.camera.near=e,t.shadow.camera.updateProjectionMatrix()})}),e.add(this._options,"lightFar",1,5e5).name("light far").onChange(e=>{this.iterateLights(t=>{t.shadow.camera.far=e,t.shadow.camera.updateProjectionMatrix()})}),this.Helper){const t=e.addFolder("helper");t.add(this.Helper,"visible"),t.add(this.Helper,"displayFrustum").onChange(()=>{this.Helper.updateVisibility()}),t.add(this.Helper,"displayPlanes").onChange(()=>{this.Helper.updateVisibility()}),t.add(this.Helper,"displayShadowBounds").onChange(()=>{this.Helper.updateVisibility()}),t.open()}}};const ME=new class{constructor(){this._lights=new Map,this._initialized=!1,this._maxActiveLights=16,this._enabled=!0===g_configuration.mesh_lights_enabled,this._showHelpers=!1,this._helperColorPalette=["#ff0000","#ff8800","#ffe600","#22cc22","#00cccc","#0066ff","#aa00ff","#ff00aa"],this._helperColorCounter=0,this._intensityMultiplier=2,this._colorOverrideEnabled=!1,this._colorOverride="#ffffff",this._debugGuiAdded=!1,this._scratchCameraPosition=new br,this._scratchFrustum=new gs,this._scratchProjectionMatrix=new xn,this._scratchWorldQuaternion=new vr,this._scratchMeshQuaternion=new vr,this._scratchOrientationMatrix=new xn,this._pendingSceneScan=!1,this._poolSuppressed=!1,this._lightPool=[],this._pendingMeshQueue=[],this._queueProcessing=!1,window.addEventListener("sceneReady",()=>{this._pendingSceneScan=!0,this.deferPoolInitialization()})}deferPoolInitialization(){setTimeout(()=>{try{this.ensureInitialized()}catch(e){}},0)}get MaxActiveLights(){return this._maxActiveLights}set MaxActiveLights(e){this._maxActiveLights=Math.max(0,e),this._initialized&&this.ensureLightPool()}get Enabled(){return this._enabled}set Enabled(e){this._enabled=e,e||this._lightPool.forEach(e=>e.visible=!1)}get PoolSuppressed(){return this._poolSuppressed}set PoolSuppressed(e){this._poolSuppressed!==e&&(this._poolSuppressed=e,this._lightPool.forEach(t=>{t.visible=!e&&!1!==this._enabled,e&&(t.intensity=0)}))}get LtcSlotsOccupied(){return this._lightPool.some(e=>e.visible)}get ShowHelpers(){return this._showHelpers}set ShowHelpers(e){this._showHelpers=e,this._lights.forEach(e=>{e.faces.forEach(t=>{t.helper=this.ensureHelper(e.sourceMesh,t.helperFaceVertices,t.helper,t.helperColor)})})}get IntensityMultiplier(){return this._intensityMultiplier}set IntensityMultiplier(e){this._intensityMultiplier=Math.max(0,e)}get ColorOverrideEnabled(){return this._colorOverrideEnabled}set ColorOverrideEnabled(e){this._colorOverrideEnabled=e,this.applyColorOverrideToFaces()}get ColorOverride(){return this._colorOverride}set ColorOverride(e){this._colorOverride=this.normalizeColorString(e),this._colorOverrideEnabled&&this.applyColorOverrideToFaces()}registerEmissionMesh(e){if(!e)return;const t=e.material;if(!t||!t.emissive)return;const r=this._lights.get(e);r&&r.sourceMaterialId===t.uuid||(r&&this.unregister(e),this._pendingMeshQueue.includes(e)||(this._pendingMeshQueue.push(e),this.scheduleQueueProcessing()))}scheduleQueueProcessing(){if(this._queueProcessing)return;this._queueProcessing=!0;const e=()=>{const t=this._pendingMeshQueue.shift();t&&this.isMeshAttachedToScene(t)&&!this._lights.has(t)&&this.processEmissionMeshNow(t),this._pendingMeshQueue.length>0?setTimeout(e,0):this._queueProcessing=!1};setTimeout(e,0)}processEmissionMeshNow(e){const t=e.material;if(!t||!t.emissive)return;this.ensureInitialized();const r=this.extractTriangleFaces(e);if(0===r.length)return;const n=this._colorOverrideEnabled?new mi(this._colorOverride):new mi(t.emissive.getHex()),i=Math.max(t.emissiveIntensity||0,0),o=r.map(e=>{this._scratchOrientationMatrix.makeBasis(e.localX,e.localY,e.localZ);const r=(new vr).setFromRotationMatrix(this._scratchOrientationMatrix);return{localCenter:e.center.clone().addScaledVector(e.normal,.001),localQuaternion:r,localNormal:e.normal.clone(),width:Math.max(e.width,.01),height:Math.max(e.height,.01),baseIntensity:i,color:n.clone(),sourceMaterialColor:t.emissive.clone(),manualDisabled:!1,helperColor:this.nextPaletteColor(),helperFaceVertices:e.faceVertices,cachedWorldPosition:new br}});this._showHelpers&&o.forEach(t=>{t.helper=this.ensureHelper(e,t.helperFaceVertices,void 0,t.helperColor)});const s={faces:o,sourceMesh:e,sourceMaterialId:t.uuid,sourceMaterialEmissive:t.emissive.clone(),sourceMaterialEmissiveIntensity:i};this._lights.set(e,s),this.addEntryToDebugPanel(s)}ensureLightPool(){for(var e,t,r;this._lightPool.length<this._maxActiveLights;){const e=new ac(0,0,1,1);e.visible=!this._poolSuppressed,e.position.set(0,-1e6,0),Dhe.TScene.add(e),this._lightPool.push(e)}for(;this._lightPool.length>this._maxActiveLights;){const n=this._lightPool.pop();null===(e=n.parent)||void 0===e||e.remove(n),null===(r=(t=n).dispose)||void 0===r||r.call(t)}}addEntryToDebugPanel(e){var t;const r=Wm.getSubFolder("Mesh Lights");if(!r)return;e.sourceMesh.updateWorldMatrix(!0,!1);const n=(new br).setFromMatrixPosition(e.sourceMesh.matrixWorld);let i=`Mesh @ [${n.x.toFixed(0)}, ${n.y.toFixed(0)}, ${n.z.toFixed(0)}] (${e.faces.length} faces)`,o=2;for(;null===(t=r.__folders)||void 0===t?void 0:t[i];)i=`Mesh @ [${n.x.toFixed(0)}, ${n.y.toFixed(0)}, ${n.z.toFixed(0)}] #${o} (${e.faces.length} faces)`,o++;const s=r.addFolder(i);e.debugFolder=s,e.debugFolderParent=r,e.faces.forEach((t,r)=>{this.addFaceToDebugPanel(s,e,t,r+1)})}addFaceToDebugPanel(e,t,r,n){const i=e.addFolder(`Face ${n}`),o={enabled:!0,color:r.color.getHex(),intensity:r.baseIntensity,helperColor:r.helperColor};i.add(o,"enabled").name("Enabled").onChange(e=>{r.manualDisabled=!e}),i.addColor(o,"color").name("Color").onChange(e=>{r.color.set(e)});const s=Math.max(5*r.baseIntensity,100);i.add(o,"intensity",0,s,.5).name("Intensity").onChange(e=>{r.baseIntensity=e}),i.addColor(o,"helperColor").name("Helper color").onChange(e=>{const t=this.normalizeColorString(e);r.helperColor=t,r.helper&&(r.helper.material.color.set(t),r.helper.userData={helperColor:t})})}computeWorldDirectionLabel(e){e.updateWorldMatrix(!0,!1);const t=new br;e.getWorldDirection(t);const r=[{label:"down",axis:new br(0,-1,0)},{label:"up",axis:new br(0,1,0)},{label:"right",axis:new br(1,0,0)},{label:"left",axis:new br(-1,0,0)},{label:"forward",axis:new br(0,0,1)},{label:"back",axis:new br(0,0,-1)}];let n="diag",i=.7;for(const e of r){const r=t.dot(e.axis);r>i&&(i=r,n=e.label)}return n}groupLightsBySpatialProximity(e,t){const r=t*t,n=new Array(e.length).fill(-1),i=[];for(let t=0;t<e.length;t++){if(-1!==n[t])continue;const o=i.length,s=[t];n[t]=o;const a=[t];for(;a.length>0;){const t=a.pop();for(let i=0;i<e.length;i++)-1===n[i]&&e[t].position.distanceToSquared(e[i].position)<=r&&(n[i]=o,s.push(i),a.push(i))}i.push(s)}return i}unregister(e){const t=this._lights.get(e);if(t){if(t.debugFolder&&t.debugFolderParent)try{t.debugFolderParent.removeFolder(t.debugFolder.name)}catch(e){}t.faces.forEach(e=>{var t,r,n;e.helper&&(null===(t=e.helper.parent)||void 0===t||t.remove(e.helper),null===(r=e.helper.geometry)||void 0===r||r.dispose(),null===(n=e.helper.material)||void 0===n||n.dispose())}),this._lights.delete(e)}}update(e){if(!this._enabled||this._poolSuppressed)return void this._lightPool.forEach(e=>e.intensity=0);this._pendingSceneScan&&(this._pendingSceneScan=!1,this.scanSceneForUnregisteredEmissionMeshes(e));const t=[];if(this._lights.forEach((e,r)=>{this.isMeshAttachedToScene(r)||t.push(r)}),t.length>0&&t.forEach(e=>this.unregister(e)),0===this._lights.size)return void this._lightPool.forEach(e=>e.intensity=0);e.getWorldPosition(this._scratchCameraPosition),e.updateMatrixWorld();const r=e;r.projectionMatrix&&(this._scratchProjectionMatrix.multiplyMatrices(r.projectionMatrix,r.matrixWorldInverse),this._scratchFrustum.setFromProjectionMatrix(this._scratchProjectionMatrix));const n=[];this._lights.forEach(e=>{e.sourceMesh.updateMatrixWorld(),e.faces.forEach(t=>{if(t.manualDisabled)return;t.cachedWorldPosition.copy(t.localCenter).applyMatrix4(e.sourceMesh.matrixWorld);let r=t.cachedWorldPosition.distanceToSquared(this._scratchCameraPosition);this._scratchFrustum.containsPoint(t.cachedWorldPosition)||(r+=1e12),n.push({face:t,mesh:e.sourceMesh,distance:r})})}),n.sort((e,t)=>e.distance-t.distance);const i=this.countExternalSceneLights(e),o=Math.max(0,this._maxActiveLights-i),s=Math.min(o,n.length);for(let e=0;e<this._lightPool.length;e++){const t=this._lightPool[e];if(e>=s){t.intensity=0;continue}const r=n[e];t.position.copy(r.face.cachedWorldPosition),r.mesh.getWorldQuaternion(this._scratchMeshQuaternion),this._scratchWorldQuaternion.copy(this._scratchMeshQuaternion).multiply(r.face.localQuaternion),t.quaternion.copy(this._scratchWorldQuaternion),t.width=r.face.width,t.height=r.face.height,t.color.copy(r.face.color),t.intensity=r.face.baseIntensity*this._intensityMultiplier}}syncLightsWithSourceMaterials(){this._lights.forEach(e=>{const t=e.sourceMesh.material;if(!(null==t?void 0:t.emissive))return;!e.sourceMaterialEmissive.equals(t.emissive)&&(e.sourceMaterialEmissive.copy(t.emissive),e.faces.forEach(e=>{e.sourceMaterialColor.copy(t.emissive),this._colorOverrideEnabled||e.color.copy(t.emissive)}));const r=Math.max(t.emissiveIntensity||0,0);r!==e.sourceMaterialEmissiveIntensity&&(e.sourceMaterialEmissiveIntensity=r,e.faces.forEach(e=>{e.baseIntensity=r}))})}dispose(){Array.from(this._lights.keys()).forEach(e=>this.unregister(e)),this._lightPool.forEach(e=>{var t,r,n;null===(t=e.parent)||void 0===t||t.remove(e),null===(n=(r=e).dispose)||void 0===n||n.call(r)}),this._lightPool.length=0}ensureInitialized(){if(this._initialized||(eb.init(),this.ensureLightPool(),this._initialized=!0),this._debugGuiAdded)return;const e=Wm.getSubFolder("Mesh Lights");e&&(e.add(this,"Enabled").name("Mesh lights enabled"),e.add(this,"IntensityMultiplier",0,10,.1).name("Intensity x"),e.add(this,"ColorOverrideEnabled").name("Color override"),e.addColor(this,"ColorOverride").name("Mesh light color"),e.add(this,"ShowHelpers").name("Show helpers"),this._debugGuiAdded=!0)}applyColorOverrideToFaces(){const e=new mi(this._colorOverride);this._lights.forEach(t=>{t.faces.forEach(t=>{const r=this._colorOverrideEnabled?e:t.sourceMaterialColor;t.color.copy(r)})})}ensureHelper(e,t,r,n){if(r)return r.visible=this._showHelpers,r;if(!this._showHelpers)return;const i=null!=n?n:this.nextPaletteColor(),o=new Float32Array(3*t.length);t.forEach((e,t)=>{o[3*t]=e.x,o[3*t+1]=e.y,o[3*t+2]=e.z});const s=new Oi;s.setAttribute("position",new Ei(o,3)),s.computeVertexNormals();const a=new vi({color:new mi(i),side:2,transparent:!0,opacity:.7,depthTest:!1,depthWrite:!1,toneMapped:!1}),l=new Yi(s,a);return l.renderOrder=9999,l.userData={helperColor:i},e.add(l),l}nextPaletteColor(){const e=this._helperColorPalette[this._helperColorCounter%this._helperColorPalette.length];return this._helperColorCounter++,e}normalizeColorString(e){return"string"==typeof e?e:"#"+e.toString(16).padStart(6,"0")}computeTriangleClusters(e){const t=e.geometry,r=t.getAttribute("position"),n=t.getAttribute("normal"),i=t.index;if(!r||!n)return[];const o=i?i.count/3:r.count/3;if(0===o)return[];const s=new Array(o),a=new Array(o);for(let e=0;e<o;e++){const t=[],o=new br;for(let s=0;s<3;s++){const a=i?i.getX(3*e+s):3*e+s;t.push(new br(r.getX(a),r.getY(a),r.getZ(a))),o.x+=n.getX(a),o.y+=n.getY(a),o.z+=n.getZ(a)}o.lengthSq()>1e-6&&o.normalize(),s[e]=t,a[e]=o}const l=this.estimateConnectivityEpsilon(s),c=Math.max(2*l,.001),u=Array.from({length:o},()=>[]),d=new Map;for(let e=0;e<o;e++){const t=new Set,r=s[e];for(let n=0;n<r.length;n++){const i=r[n],o=Math.round(i.x/c),a=Math.round(i.y/c),u=Math.round(i.z/c);for(let r=-1;r<=1;r++)for(let n=-1;n<=1;n++)for(let i=-1;i<=1;i++){const c=d.get(`${o+r}_${a+n}_${u+i}`);if(c)for(const r of c)r===e||t.has(r)||this.trianglesShareVertex(s[e],s[r],l)&&t.add(r)}const h=`${o}_${a}_${u}`;let p=d.get(h);p||(p=[],d.set(h,p)),p[p.length-1]!==e&&p.push(e)}t.forEach(t=>{u[e].push(t),u[t].push(e)})}const h=new Array(o).fill(-1);let p=0;const m=[];for(let e=0;e<o;e++){if(-1!==h[e])continue;const t=a[e];for(m.push(e),h[e]=p;m.length>0;){const e=m.pop();for(const r of u[e])-1===h[r]&&this.trianglesHaveSimilarNormals(a[r],t,.95)&&(h[r]=p,m.push(r))}p++}const _=Array.from({length:p},()=>({boundingMin:new br(1/0,1/0,1/0),boundingMax:new br(-1/0,-1/0,-1/0),normal:new br,triangleCount:0,centerOfMass:new br,vertexCount:0,vertices:[]}));for(let e=0;e<o;e++){const t=_[h[e]];t.triangleCount++,t.normal.add(a[e]),s[e].forEach(e=>{t.boundingMin.min(e),t.boundingMax.max(e),t.centerOfMass.add(e),t.vertices.push(e),t.vertexCount++})}return _.forEach(e=>{e.vertexCount>0&&e.centerOfMass.divideScalar(e.vertexCount)}),_.forEach(e=>{e.normal.lengthSq()>1e-6&&e.normal.normalize()}),_.filter(e=>e.normal.lengthSq()>1e-6&&e.triangleCount>0)}estimateConnectivityEpsilon(e){let t=0;for(const r of e)for(const e of r){const r=Math.max(Math.abs(e.x),Math.abs(e.y),Math.abs(e.z));r>t&&(t=r)}return Math.max(1e-4*t,.01)}trianglesShareVertex(e,t,r){const n=r*r;for(let r=0;r<3;r++)for(let i=0;i<3;i++)if(e[r].distanceToSquared(t[i])<=n)return!0;return!1}trianglesHaveSimilarNormals(e,t,r){return!(e.lengthSq()<1e-6||t.lengthSq()<1e-6)&&e.dot(t)>=r}subsampleEvenly(e,t){if(e.length<=t||t<=0)return e;const r=[],n=e.length/t;for(let i=0;i<t;i++){const t=Math.floor(i*n);r.push(e[t])}return r}extractTriangleFaces(e){const t=e.geometry,r=t.getAttribute("position"),n=t.index;if(!r)return[];const i=n?n.count/3:r.count/3,o=1e3,s=e=>`${Math.round(e.x*o)}_${Math.round(e.y*o)}_${Math.round(e.z*o)}`,a=[],l=new br,c=new br;for(let e=0;e<i;e++){const t=n?n.getX(3*e):3*e,i=n?n.getX(3*e+1):3*e+1,o=n?n.getX(3*e+2):3*e+2,u=(new br).fromBufferAttribute(r,t),d=(new br).fromBufferAttribute(r,i),h=(new br).fromBufferAttribute(r,o);l.subVectors(d,u),c.subVectors(h,u);const p=(new br).crossVectors(l,c);p.lengthSq()<1e-10||(p.normalize(),a.push({vertices:[u,d,h],normal:p,vertexKeys:[s(u),s(d),s(h)]}))}const u=new Array(a.length).fill(!1),d=[],h=(e,t,r)=>{const n=new br;e.forEach(e=>n.add(e)),n.divideScalar(e.length);const i=r.clone().negate();let o=(new br).crossVectors(new br(0,1,0),r);o.lengthSq()<1e-6&&(o=(new br).crossVectors(new br(1,0,0),r)),o.normalize();const s=(new br).crossVectors(r,o).normalize(),a=e.map(e=>e.dot(o)),l=e.map(e=>e.dot(s)),c=Math.max(...a)-Math.min(...a),u=Math.max(...l)-Math.min(...l),h=c>=u?o:s,p=(new br).crossVectors(i,h).normalize(),m=Math.max(c,u),_=Math.min(c,u);d.push({center:n,normal:r,width:m,height:_,localX:h,localY:p,localZ:i,faceVertices:t.map(e=>e.clone())})};for(let e=0;e<a.length;e++){if(u[e])continue;let t=!1;for(let r=e+1;r<a.length;r++){if(u[r])continue;if(a[e].normal.dot(a[r].normal)<.999)continue;if(2!==a[e].vertexKeys.filter(e=>a[r].vertexKeys.includes(e)).length)continue;const n=[],i=new Set;for(let t of[e,r])for(let e=0;e<3;e++){const r=a[t].vertexKeys[e];i.has(r)||(i.add(r),n.push(a[t].vertices[e]))}h(n,[...a[e].vertices,...a[r].vertices],a[e].normal),u[e]=!0,u[r]=!0,t=!0;break}t||(h(a[e].vertices,a[e].vertices,a[e].normal),u[e]=!0)}return d}computeOuterSurfaceOffsetFromVertices(e,t,r){let n=-1/0;for(const t of e){const e=t.dot(r);e>n&&(n=e)}const i=t.dot(r);return Math.max(0,n-i)}computeClusterOrientationFromVertices(e,t,r){const n=r.clone().negate();let i=(new br).crossVectors(new br(0,1,0),r);i.lengthSq()<1e-6&&(i=(new br).crossVectors(new br(1,0,0),r)),i.normalize();const o=(new br).crossVectors(r,i).normalize();let s=0,a=0,l=0;const c=new br;for(const r of e){c.subVectors(r,t);const e=c.dot(i),n=c.dot(o);s+=e*e,a+=n*n,l+=e*n}const u=Math.max(e.length,1);s/=u,a/=u,l/=u;const d=s+a,h=s*a-l*l,p=.5*d+Math.sqrt(Math.max(0,.5*d*(.5*d)-h));let m,_;Math.abs(l)>1e-9?(m=p-a,_=l):s>=a?(m=1,_=0):(m=0,_=1);const g=Math.sqrt(m*m+_*_)||1;m/=g,_/=g;const f=i.clone().multiplyScalar(m).add(o.clone().multiplyScalar(_)).normalize(),v=(new br).crossVectors(n,f).normalize();let b=1/0,y=-1/0,$=1/0,x=-1/0,S=1/0,w=-1/0;for(const t of e){const e=t.dot(f),n=t.dot(v),i=t.dot(r);e<b&&(b=e),e>y&&(y=e),n<$&&($=n),n>x&&(x=n),i<S&&(S=i),i>w&&(w=i)}return{width:y-b,height:x-$,thickness:w-S,localX:f,localY:v,localZ:n}}computeOuterSurfaceOffset(e,t,r,n){const i=[new br(t.x,t.y,t.z),new br(r.x,t.y,t.z),new br(t.x,r.y,t.z),new br(r.x,r.y,t.z),new br(t.x,t.y,r.z),new br(r.x,t.y,r.z),new br(t.x,r.y,r.z),new br(r.x,r.y,r.z)];let o=-1/0;for(const e of i){const t=e.dot(n);t>o&&(o=t)}const s=e.dot(n);return Math.max(0,o-s)}computeClusterOrientation(e,t,r){const n=r.clone().negate(),i=[new br(1,0,0),new br(0,1,0),new br(0,0,1)],o=[t.x-e.x,t.y-e.y,t.z-e.z];let s=i[0],a=-1/0;for(let e=0;e<3;e++){const t=1-Math.abs(i[e].dot(r)),n=o[e]*t;n>a&&(a=n,s=i[e])}const l=s.clone().sub(r.clone().multiplyScalar(s.dot(r)));l.lengthSq()<1e-6&&(l.copy(new br(0,1,0)),l.sub(r.clone().multiplyScalar(l.dot(r))),l.lengthSq()<1e-6&&l.copy(new br(1,0,0))),l.normalize();const c=l,u=(new br).crossVectors(n,c).normalize(),d=[new br(e.x,e.y,e.z),new br(t.x,e.y,e.z),new br(e.x,t.y,e.z),new br(t.x,t.y,e.z),new br(e.x,e.y,t.z),new br(t.x,e.y,t.z),new br(e.x,t.y,t.z),new br(t.x,t.y,t.z)];let h=1/0,p=-1/0,m=1/0,_=-1/0,g=1/0,f=-1/0;for(const e of d){const t=e.dot(c),n=e.dot(u),i=e.dot(r);t<h&&(h=t),t>p&&(p=t),n<m&&(m=n),n>_&&(_=n),i<g&&(g=i),i>f&&(f=i)}return{width:p-h,height:_-m,thickness:f-g,localX:c,localY:u,localZ:n}}scanSceneForUnregisteredEmissionMeshes(e){const t=Dhe.TScene;t&&t.traverse(e=>{var t;if(!e.isMesh)return;const r=e;if(this._lights.has(r))return;const n=r.material;"emission"===(null===(t=null==n?void 0:n.userData)||void 0===t?void 0:t.BaseMaterial)&&this.registerEmissionMesh(r)})}countExternalSceneLights(e){const t=Dhe.TScene;if(!t)return 0;const r=new Set(this._lightPool);let n=0;return t.traverse(e=>{if(!e.isLight||!e.visible)return;const t=e.type;"AmbientLight"!==t&&"HemisphereLight"!==t&&(r.has(e)||n++)}),n}isMeshAttachedToScene(e){const t=Dhe.TScene;if(!t)return!0;let r=e;for(;r;){if(r===t)return!0;if(!r.parent)return!1;r=r.parent}return!1}};window.MeshLightManagerService=ME,Wm.onRootCreated(e=>{e.add(ME,"MaxActiveLights",0,64,1).name("Total active lights")});const kE=/bvhRayCast=true/g.test(window.location.href);kE&&(Yi.prototype.raycast=acceleratedRaycast);class TE extends Yi{constructor(e,t){super(e,t||new Hm),this.canReceiveShadow=!0,this.canCastShadow=!0,kE&&(e.boundsTree=new MeshBVH(e))}get IDLEMaterial(){return this._idleMaterial}set IDLEMaterial(e){this._idleMaterial=e}set Material(e){this.material=e,this.material.parents||(this.material.parents=[]),this.material.parents.push(this),this.material.transparent&&(this.renderOrder=1),Lde.isEmissionMaterial(this.material)&&ME.registerEmissionMesh(this),this.canReceiveShadow=!0,this.canCastShadow=!0,this.receiveShadow=Bde.ShowShadows,this.castShadow=Bde.ShowShadows,this.material.USEALPHA&&(this.material.premultiplyAlpha=!1),this.material.transparent&&(this.ActionMode.length>0?this.renderOrder=9999:this.renderOrder=1e4,this.material.depthWrite=!1,this.material.polygonOffset=!1,this.castShadow=!1,this.canCastShadow=!1,Lde.isOpaqueAlphaDecal(this.material)||(this.receiveShadow=!1,this.canReceiveShadow=!1)),this.ActionMode?(this.receiveShadow=!1,this.castShadow=!1,this.canReceiveShadow=!1,this.canCastShadow=!1):IE.Initialized&&IE.add(this.material)}static create(e){const t=new TE(e.geometry,e.material),r=e.material;return r.parent||(r.parent=[]),t.orgGeometry=e.orgGeometry,t.ActionMode=e.layer&&e.layer.ActionMode||"","Rotation"===t.ActionMode&&(r.metalness=0),r.parent.push(t),r.transparent&&(t.renderOrder=1),t.receiveShadow=Bde.ShowShadows,t.castShadow=Bde.ShowShadows,t.name=(e.layer?e.layer.matName:"")||"",t.doubleSided=!1,t.matrixAutoUpdate=!0,r.USEALPHA&&(r.premultiplyAlpha=!1),r.transparent&&"fv_standard_mesh_load"!==r.name&&(t.ActionMode.length>0?t.renderOrder=9999:t.renderOrder=1e4,r.depthWrite=!1,r.polygonOffset=!1,t.castShadow=!1,Lde.isOpaqueAlphaDecal(r)||(t.receiveShadow=!1)),Lde.isEmissionMaterial(r)&&ME.registerEmissionMesh(t),t}dispose(){var e,t,r;ME.unregister(this),null===(e=this.geometry)||void 0===e||e.dispose(),Array.isArray(this.material)?this.material.forEach(e=>null==e?void 0:e.dispose()):this.material&&(null===(r=(t=this.material).dispose)||void 0===r||r.call(t))}}Yi.prototype.findPOFromLO=function(e,t){const r=new Dme;return Phe.TimeLine.AddCallbackTimer("setHighestPO",this,r.setHighestPO,e,t)};const RE=TE;var LE=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class PE extends fs{constructor(e){super(e),this.m_hash="",this.inData=null,e&&e.clippingExclude||(this.clippingPlanes=ice.LocalPlanes,this.clipShadows=!0)}static create(e){return new PE({color:16711680}).parse(e)}parse(e){return LE(this,void 0,void 0,function*(){if(e.isEmpty)return this.color.setRGB(0,0,0),this.polygonOffset=!1,Promise.resolve(this);const t=e.name.toString().split("_");let r=t[0];if("global"===t[1]&&(r="_"+t[1]),this.m_hash=e.m_hash,this.inData=e,1===+e.DEPTHMODE)this.depthTest=!1,this.depthWrite=!1;else this.depthTest=!0,this.depthWrite=!0;return-1!==e.name.indexOf("DHMC_")?this.polygonOffset=!1:(this.polygonOffset=!0,this.polygonOffsetFactor=1),this.name=e.name,this.color=new mi(e.CD[0],e.CD[1],e.CD[2]),this})}}class DE extends Ms{constructor(e,t){super(e,t||new PE),this.renderOrder=10}static create(e,t){return new Promise(function(r,n){r(new DE(e,t))})}static createSync(e,t){return new DE(e,t)}dispose(){this.material instanceof Array?this.material.forEach(e=>e.dispose()):this.material.dispose(),this.geometry.dispose()}}class NE extends Oi{constructor(){super()}static create(e){return(new NE).parseVertices(e.vertices,!1)}static createSync(e){return(new NE).parseVertices(e.vertices,!0)}parseVertices(e,t=!1){const r=e=>{const t=new Float32Array(9*e.length),r=new Float32Array(9*e.length),n=new Float32Array(6*e.length);for(let i=0;i<e.length;i++){const o=e[i];for(let e=0;e<9;e++)t[9*i+e]=o[e]*C;for(let e=0;e<9;e++)r[9*i+e]=o[e+9];n[6*i]=o[18],n[6*i+1]=-o[19],n[6*i+2]=o[21],n[6*i+3]=-o[22],n[6*i+4]=o[24],n[6*i+5]=-o[25]}return this.setAttribute("position",new ki(t,3)),this.setAttribute("normal",new ki(r,3)),this.setAttribute("uv",new ki(n,2)),this};return t?r(e):new Promise((t,n)=>{t(r(e))})}loadMaterial(){return Promise.all([Promise.resolve(this),Lde.checkForMaterials([this.material])])}}var FE,OE=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};!function(e){e[e.MESH=1]="MESH",e[e.LINE=2]="LINE",e[e.UNKNOWN=0]="UNKNOWN"}(FE||(FE={}));class BE{constructor(){this._geometry=null,this._material=null,this._matName="",this._type=FE.UNKNOWN,this._actionMode="",this.vertices=[],this.Prop=null,this.ProgProp=null}get Type(){return this._type}get ActionMode(){return this._actionMode}get MatName(){return this._matName}get Material(){return this._material}static create(e){let t=Promise.resolve(null);const r=new BE;r.vertices=[];for(let t=0;t<e.Mesh.length;t++)r._type!==FE.LINE&&27===e.Mesh[t].length?(r._type=FE.MESH,r.vertices.push(e.Mesh[t])):r._type!==FE.MESH&&6===e.Mesh[t].length?(r._type=FE.LINE,r.vertices.push(e.Mesh[t])):console.error("LAYER CORRUPTED!!!");return r._matName=e.Mat,r.Prop=e.Prop,r.ProgProp=e.ProgProp,r._actionMode=e.AM||"",r._type===FE.MESH?t=r.parseMeshGeometry():r._type===FE.LINE&&(t=r.parseLineGeometry()),t}createElement(){return OE(this,void 0,void 0,function*(){let e=null;if(this._type===FE.MESH)e=RE.create({geometry:this._geometry,material:Lde.GetNativeMaterial("fv_standard_mesh_load",null),layer:this}),yield this._material.then(t=>(e.Material=t||Lde.GetNativeMaterial("fv_standard_mesh_load",null),t));else if(this._type===FE.LINE){const t="lineMaterial-0-0-0";let r=Lde.GetNativeMaterial(t,null);r||(r=Lde.GetNativeMaterial(t,null,new PE({color:0,name:t}))),e=new DE(this._geometry,r),yield this._material.then(t=>OE(this,void 0,void 0,function*(){return t?(e.material=t,t.parents||(t.parents=[]),t.parents.push(e),t.parent=e):t=r,t})),e.isNew=!0,e.visible=Bde.ShowLines,e.matrixAutoUpdate=!0}return this._actionMode&&(e.receiveShadow=!1,e.castShadow=!1),e})}dispose(){this._geometry&&(Array.isArray(this._geometry)?this._geometry.forEach(e=>{e.dispose&&e.dispose()}):this._geometry.dispose&&this._geometry.dispose())}parseMeshGeometry(){const e=NE.create({vertices:this.vertices});return Um.IncreaseMax("layerGeometry"),this._material=Lde.checkForMaterials([this._matName]).then(e=>{let t=e;return e?Array.isArray(e)&&1===e.length?t=e[0]:Array.isArray(e)||(t=e):t=Lde.GetNativeMaterial("fv_standard_mesh_load",null),Um.IncreaseCurrent("layerGeometry"),t}),e.then(e=>(delete this.vertices,this._geometry=e,this))}parseLineGeometry(){return this._material=Lde.checkForMaterials([this._matName]).then(e=>e?Array.isArray(e)&&1===e.length?e[0]:e:null),yp.create({vertices:this.vertices}).then(e=>(delete this.vertices,this._geometry=e,this))}}const UE=BE;var VE=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class zE{constructor(){this._layerList=[]}createMeshLayers(){return VE(this,void 0,void 0,function*(){const e=new mo;for(let t=0;t<this._layerList.length;t++){const r=yield this._layerList[t].createElement();e.add(r)}return e})}getInfo(){let e=0,t=0;return this._layerList.forEach(r=>{const n=r._element;let i=null;Array.isArray(n)?n.forEach(r=>{i=r,i instanceof yp?t+=i.attributes.position.array.length/i.attributes.position.itemSize/2:i instanceof NE&&(e+=i.attributes.position.array.length/i.attributes.position.itemSize/3)}):(i=n,i instanceof yp?t+=i.attributes.position.array.length/i.attributes.position.itemSize/2:i instanceof NE&&(e+=i.attributes.position.array.length/i.attributes.position.itemSize/3))}),{lines:t,faces:e}}dispose(){this._layerList.forEach(e=>{e.dispose()})}}zE.create=function(e){const t=new zE,r=[];for(let t=0;t<e.length;t++){const n=e[t];for(let e=0;e<n.Layers.length;e++)if(n.Layers[e].Mesh.length>0){n.Layers[e].Prop=n.Prop,n.Layers[e].ProgProp=n.ProgProp;const t=UE.create(n.Layers[e]);r.push(t)}}return Promise.all(r).then(e=>{for(let r=0;r<e.length;r++)t._layerList.push(e[r]);return t})};const HE=zE;const GE=class{constructor(){this._store=new Map}get Keys(){return Object.keys(this._store)}get Values(){return Object.values(this._store)}get Store(){return this._store}get(e,t){return void 0===t?this._store[e]:isNaN(t)?null:this._store[e]&&this._store[e].length>t?this._store[e][t]:null}add(e,t,r){const n=this.contains(e,t);(!this._store[e]||-1===n&&r)&&(this._store[e]=[]),-1===n?this._store[e].push(t):this._store[e][n]=t}remove(e,t){if(t){const r=this.contains(e,t);-1!==r&&this._store[e].splice(r,1)}this._store[e]&&(void 0!==t&&0!==this._store[e].length||delete this._store[e])}contains(e,t){let r=-1;return this._store[e]&&(r=void 0!==t?this._store[e].indexOf(t):-1),r}exists(e,t){return t?this.contains(e,t):this.containsKey(e)}containsKey(e){return void 0!==this._store[e]}clear(e){if(e){const e=this.Keys;for(let t=e.length-1;t>=0;t--)this._store[e[t]]&&this._store[e[t]].clear?this._store[e[t]].clear():this._store[e[t]]&&this._store[e[t]].dispose&&this._store[e[t]].dispose(),delete this._store[e[t]]}}traverse(e,t){if(e&&this.containsKey(e)&&t instanceof Function){const r=this.get(e);if(r&&r.length>0)for(let e=0,n=r.length;e<n&&!t(r[e]);e++);}}};var jE=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};const JE=new class extends GE{constructor(){super()}add(e,t,r){r&&this.remove(e,t),super.add(e,t)}loadMeshToNode(e,t){return jE(this,void 0,void 0,function*(){if(this.containsKey(e)){const r=this.get(e).slice();for(let n=r.length-1;n>=0;n--)t?r[n].loadMesh(yield t.createMeshLayers()):r[n].removeMesh(),this.remove(e,r[n])}})}};var WE=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};let QE=class{constructor(){this._uiElements={},this._setColor=!1}render(e){return this._setColor=!1,this.parseGeometriesToTable(),0===$("#geomTable").children().length&&this.setStylesheet(e),this.getRoot()}createRow(e){let t=this._uiElements["#"+e];return this._uiElements["#"+e+"_info"]={faces:0,lines:0},(!t||t&&0===t.length)&&(t=this._uiElements["#"+e]=$("<tr></tr>").attr("id",e).appendTo(this.getRoot()),this._setColor&&t.addClass("color"),this._uiElements["#"+e+"_key"]=$("<td></td>").appendTo(t),this._uiElements["#"+e+"_rev"]=$("<td></td>").appendTo(t),this._uiElements["#"+e+"_idle"]=$("<td></td>").appendTo(t),this._uiElements["#"+e+"_layer"]=$("<td></td>").appendTo(t),YE.Layers[e]&&(this._uiElements["#"+e+"_info"]=YE.Layers[e].getInfo()),this._uiElements["#"+e+"_layerData"]=$("<td></td>").appendTo(t),this._uiElements["#"+e+"_wait"]=$("<td></td>").appendTo(t),this._uiElements["#"+e+"_cache"]=$("<td></td>").appendTo(t),this._setColor=!this._setColor),{key:this._uiElements["#"+e+"_key"],rev:this._uiElements["#"+e+"_rev"],idle:this._uiElements["#"+e+"_idle"],layer:this._uiElements["#"+e+"_layer"],info:this._uiElements["#"+e+"_info"],layerData:this._uiElements["#"+e+"_layerData"],wait:this._uiElements["#"+e+"_wait"],cache:this._uiElements["#"+e+"_cache"]}}parseGeometriesToTable(){Object.keys(YE.IDLEPool).forEach(e=>{const t=this.createRow(e);t.key.text(e),t.rev.text("Rev: "+YE.Revisions[e]),t.idle.text("IDLE: "+!!YE.IDLEPool[e]),t.layer.text("Layers: "+!!YE.Layers[e]),YE.Layers[e]&&(t.info=YE.Layers[e].getInfo()),t.layerData.text("Lines: "+t.info.lines+" Faces: "+t.info.faces),t.wait.text("Layers: "+(YE.Wait[e]?YE.Wait[e].length:0)),t.cache.text("NoCaching: "+!!YE.NoCaching[e])})}};QE=WE([_m({style:{"#geomTable":{width:"100%","border-collapse":"collapse",childStyle:{" tr > td":{border:"1px solid black"}," tr.color":{background:"#aaaaaa"}}}},template:'\n    <table id="geomTable">\n    </table>\n    '})],QE);var qE=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};const YE=new class{constructor(){this._revisions={},this._layers={},this._idlePool={},this._wait={},this._noCaching={},Rm.on("SendMeshFromPool",e=>{try{e&&e.VPOOL&&this.set(e.VPOOL)}catch(e){}})}get Revisions(){return this._revisions}get Layers(){return this._layers}get IDLEPool(){return this._idlePool}get Wait(){return this._wait}get NoCaching(){return this._noCaching}get(e){return Phe.IsDebugGeometryPool&&console.log("GEOMETRY-POOL: [GET] -> "+e),this.exists(e)?this._wait[e]&&Array.isArray(this._wait[e])?new Promise((t,r)=>{this._wait[e].push(e=>{t(e)})}):this._layers[e]?Promise.resolve(this._layers[e]):Promise.resolve(null):Promise.resolve(null)}add(e,t,r){return Phe.IsDebugGeometryPool&&console.log("GEOMETRY-POOL: [ADD] -> "+e),void 0===e?Promise.resolve(!1):(void 0===t&&(t=!1),t?Promise.resolve(!0):(this._idlePool[e]&&void 0!==this._layers[e]&&!r||(this._layers[e]={},this._idlePool[e]=this.loadGeometry(e,r)),this._idlePool[e]))}register(e,t){return e?(Phe.IsDebugGeometryPool&&console.log("GEOMETRY-POOL: [REGISTER] -> "+e),(t.GNeedsUpdate||t.NoCaching||t.ForceReloadGraphics)&&(this._layers[e]=void 0,this._idlePool[e]=void 0),this._noCaching[e]=t.NoCaching,JE.add(e,t,t.GNeedsUpdate),Promise.resolve(!0)):Promise.resolve(!0)}set(e){const t=Object.keys(e);Phe.IsDebugGeometryPool&&console.log("GEOMETRY-POOL: [SET] -> ["+t.join(",")+"]");const r=(e,t)=>qE(this,void 0,void 0,function*(){return t?(!t||t&&0===t.length?(yield JE.loadMeshToNode(e,null),this.recursiveDispose(this._layers[e]),this._layers[e]=null,this._wait[e]=void 0):(this.recursiveDispose(this._layers[e]),this._layers[e]=yield HE.create(t)),this._idlePool[e]=Promise.resolve(this._layers[e]),this._layers[e]?yield JE.loadMeshToNode(e,this._layers[e]):JE.remove(e),this._wait[e]&&this._wait[e].length>0&&this._wait[e].forEach(t=>{t(this._layers[e])}),this._wait[e]=void 0,!0):(this._layers[e]=null,this._wait[e]=void 0,JE.remove(e),!1)}),n=[];for(let i=0,o=t.length;i<o;i++){const o=t[i];n.push(r(o,e[o]))}Um.add(Promise.all(n))}addAndCheckRevision(e,t){Phe.IsDebugGeometryPool&&console.log("GEOMETRY-POOL: [ADD_AND_CHECK_REVISION] -> "+e);const r=isNaN(this._revisions[e])||this._revisions[e]<t;return this._revisions[e]=t,r}remove(e){return this._revisions[e]&&delete this._revisions[e],this._layers[e]&&(this.recursiveDispose(this._layers[e]),delete this._layers[e]),this._wait[e]&&delete this._wait[e],this._noCaching[e]&&delete this._noCaching[e],this._idlePool[e]&&delete this._idlePool[e],!1}loadRegistered(){Phe.IsDebugGeometryPool&&console.log("GEOMETRY-POOL: [LOAD_REGISTERED]");return this.loadListOfGeometries()}exists(e){return Phe.IsDebugGeometryPool&&console.log("GEOMETRY-POOL: [EXISTS] -> "+e),!!this._layers[e]||!!this._wait[e]}clear(){Phe.IsDebugGeometryPool&&console.log("GEOMETRY-POOL: [CLEAR] ");let e=Object.keys(this._noCaching);e.forEach(e=>{this.recursiveDispose(this._layers[e]),delete this._layers[e]}),e=Object.keys(this._layers),e.forEach(e=>{this._layers[e]&&this.recursiveDispose(this._layers[e])}),this._idlePool={},this._layers={},this._wait={},this._noCaching={},this._revisions={}}recursiveDispose(e){e&&(e.children&&e.children.length>0&&e.children.forEach(e=>{this.recursiveDispose(e)}),e.dispose&&e.dispose(),e.clear&&e.clear())}loadGeometry(e,t){return Phe.IsDebugGeometryPool&&console.log("GEOMETRY-POOL: [LOAD_GEOMETRY] -> "+e),void 0===e?Promise.resolve(null):(this._idlePool[e]&&!t||(this._layers[e]={},this._wait[e]||(this._wait[e]=[]),Um.add(this._idlePool[e]=ape.getElementFromPool([e]).then(t=>qE(this,void 0,void 0,function*(){return t&&t[e]&&0!==t[e].length?this._layers[e]=yield HE.create(t[e]):this._layers[e]=null,this._wait[e]&&this._wait[e].length>0&&Object.values(this._wait[e]).forEach(t=>{t(this._layers[e])}),this._layers[e]})))),this._idlePool[e])}loadListOfGeometries(e){const t=Phe.TimeLine.AddTimer("loadRegistered"),r=JE.Keys;for(let t=r.length-1;t>=0;t--){if((this._wait[r[t]]||this._idlePool[r[t]]instanceof Promise||this._layers[r[t]])&&!e){if(this._idlePool[r[t]]instanceof Promise){const e=r[t];this._idlePool[e].then(t=>{t||(this._wait[e]=void 0)})}r.splice(t,1)}this._wait[r[t]]||(this._wait[r[t]]=[])}if(0===r.length)return Phe.TimeLine.EndTimer(t),Promise.resolve(!0);Phe.IsDebugGeometryPool&&console.log("GEOMETRY-POOL: [LOAD_LIST_OF_GEOMETRY] -> ["+r.join(",")+"]");const n=ape.getElementFromPool(r).then(e=>(Phe.IsDebugWindowGeometryPool&&vm.updateCurrentComponent(QE),Phe.TimeLine.EndTimer(t),e)).catch(()=>{Phe.TimeLine.EndTimer(t)});return Um.add(n),n}};const XE=new class extends GE{constructor(){super()}};var KE=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};const ZE=new class{constructor(){this._scene=null,this._world=null,this._worldIsLoaded=!1,this._hooks={}}get scene(){return this._scene}get world(){return this._world}set world(e){this._world=e}get worldIsLoaded(){return this._worldIsLoaded}configure(e){this._hooks=e}parse(e){return KE(this,void 0,void 0,function*(){var t,r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y,$;if(this._scene||(this._scene=Dhe.TScene),null===(r=(t=this._hooks).onDebugClearLog)||void 0===r||r.call(t),void 0!==e){if(!this._world){const e=yield _le.addOrGetModel("0");this._worldIsLoaded||(this._worldIsLoaded=!0,Dhe.add(e)),e.name="World",e.typeText="World",this._world=e}if(this._world.instanceIdent=0,(null===(n=e.Camera)||void 0===n?void 0:n.CameraEyePos)&&(null===(o=(i=this._hooks).onCameraData)||void 0===o||o.call(i,e.Camera)),e.World){yield Dhe.clearScene(!Bde.IsPlacerMode,!Bde.IsPlacerMode,!Bde.IsPlacerMode,!!e.World||!Bde.IsPlacerMode),null===(a=(s=this._hooks).onDebugLogWorld)||void 0===a||a.call(s,e.World),this._world.AssignValuesFromObject(e.World);const t=null===(c=(l=this._hooks).onTimerStart)||void 0===c?void 0:c.call(l,"parse_refresh_Hierarchy");try{yield this.parseHierarchy(e.World,this._world,!0),yield YE.loadRegistered(),_le.setOldState(),null===(d=(u=this._hooks).onCenterPointNeedsUpdate)||void 0===d||d.call(u)}catch(e){console.error(e)}finally{null===(p=(h=this._hooks).onTimerEnd)||void 0===p||p.call(h,t)}}else if(e.WorldMods){const t=null===(_=(m=this._hooks).onTimerStart)||void 0===_?void 0:_.call(m,"parse_refresh_Hierarchy");try{yield this.refreshHierarchy(e.WorldMods,this._world),yield YE.loadRegistered(),_le.setOldState(),null===(f=(g=this._hooks).onCenterPointNeedsUpdate)||void 0===f||f.call(g)}catch(e){console.error(e)}finally{null===(b=(v=this._hooks).onTimerEnd)||void 0===b||b.call(v,t)}}return null===($=(y=this._hooks).onFinish)||void 0===$||$.call(y),this._world}})}parseHierarchy(e,t,r){return KE(this,void 0,void 0,function*(){var n,i,o;if(!t)return!0;if(void 0!==e.Childs)for(const s of e.Childs){const e=s.child||s;if(e)if(t===this._world?(e.loadHash=zme.createHash(),XE.exists(e.loadHash)&&XE.remove(e.loadHash)):t.loadHash&&(e._GKK||+e._nFaces>0)&&XE.add(t.loadHash,e._GKK||e.II),t!==this._world&&t.loadHash&&(e.loadHash=t.loadHash,e.parentLO=t),r){const r=yield _le.addOrGetModel(e.II,e);r.loadHash&&!r.isFinished?(null===(n=t.highestPO)||void 0===n?void 0:n.parent)===this._world?XE.exists(r.loadHash)?r.highestPO||(r.highestPO=t.highestPO):r.highestPO||(r.highestPO=t.highestPO||t):t.parent!==this._world&&(null===(i=t.highestPO)||void 0===i?void 0:i.parent)!==this._world||r.highestPO||(r.highestPO=t.highestPO||t):t.parent!==this._world&&(null===(o=t.highestPO)||void 0===o?void 0:o.parent)!==this._world||r.highestPO||(r.highestPO=t.highestPO||t),t.add(r),r.graphics&&r.graphics.length>0&&_le.setHasGeometry(r),yield this.parseHierarchy(e,r,!0)}else if(4&e.cMod){const[t,r]=yield _le.modify(e);t&&r&&(aae.SetCenterCam(!0),yield this.parseHierarchy(t,r))}else if(1===e.cMod){const[t,r]=yield _le.addToModel(e);t&&r&&(yield this.parseHierarchy(t,r,!0))}}return!0})}refreshHierarchy(e,t){return KE(this,void 0,void 0,function*(){var t,r,n,i,o,s,a,l,c,u;null===(r=(t=this._hooks).onDebugClearLog)||void 0===r||r.call(t),null===(i=(n=this._hooks).onDebugLogWorldMods)||void 0===i||i.call(n,e.WMA);for(let t=e.WMA.length-1;t>=0;t--)8&e.WMA[t].cMod?_le.rearrangeModel(e.WMA[t])&&8===e.WMA[t].cMod&&e.WMA.splice(t,1):2===e.WMA[t].cMod?(_le.removeModel(e.WMA[t]),e.WMA.splice(t,1)):1===e.WMA[t].cMod&&e.WMA[t].noCaching&&_le.removeModel(e.WMA[t]);this.createChildHierachy(e.WMA);for(const t of e.WMA){const e=null===(s=(o=this._hooks).onTimerStart)||void 0===s?void 0:s.call(o,"promise_each_worldmod_"+t.II);if(4&t.cMod){const[r,n]=yield _le.modify(t);r&&n&&(null===(l=(a=this._hooks).onTimerEnd)||void 0===l||l.call(a,e),aae.SetCenterCam(!0),yield this.parseHierarchy(r,n))}else if(1===t.cMod){const[r,n]=yield _le.addToModel(t);null===(u=(c=this._hooks).onTimerEnd)||void 0===u||u.call(c,e),yield this.parseHierarchy(r,n,!0)}}})}clear(){}hasChildHierachy(e,t){if(e.Childs)for(let r=0;r<e.Childs.length;r++){if(e.Childs[r].child.II===t.PII)return e.Childs[r].child.Childs||(e.Childs[r].child.Childs=[]),e.Childs[r].child.Childs.push({child:t}),!0;if(this.hasChildHierachy(e.Childs[r].child,t))return!0}return!1}createChildHierachy(e){let t=!1;for(let r=0;r<e.length;r++){if(1!==+e[r].PII)for(let n=0;n<e.length;n++){if(e[n].II===e[r].PII){e[n].Childs||(e[n].Childs=[]),e[n].Childs.push({child:e[r]}),e.splice(r,1),t=!0;break}if(this.hasChildHierachy(e[n],e[r])){e.splice(r,1),t=!0;break}}if(t)break}!0===t&&this.createChildHierachy(e)}};const eI=new class{constructor(){this.promises={}}addCaller(e){let t=null,r="";try{r=this.stacktrace(),t=arguments.callee.caller.name}catch(n){try{throw new Error}catch(n){try{let e,i=/([\w+.]+ \(\w+.*|\))/g,o=n.stack;i.exec(o),e=i.exec(o),e&&e[0]||(i=/@(\w+.*)\n/g,o=n.stack,i.exec(o),e=i.exec(o)),e[0]&&(t=e[0],(!r||r&&0===r.length)&&(r=n.stack))}catch(t){return e.then(function(){return arguments})}}}return this.promises[t]||(this.promises[t]=[]),e.stack=r,this.promises[t].push(e),Phe.TimeLine.PromiseTimer.fromPromise(t,e).then(function(t){return e.timer.timer.End(),e.done=!0,t}).catch(function(t){e.timer.timer.End(),e.done=!1,e.error=t,alert(t)})}getErrors(){const e={};return Object.keys(this.promises).forEach(t=>{for(let r=0;r<this.promises[t].length;r++)!this.promises[t][r].done&&this.promises[t][r].error&&(e[t]||(e[t]=[]),e[t].push(this.promises[t][r]))}),e}getAll(){return this.promises}stacktrace(){return function e(t){return t?e(t.caller).concat([t.toString().split("(")[0].substring(9)+"("+t.arguments.join(",")+")"]):[]}(arguments.callee.caller)}};window.CallStackHelper=eI;const tI=function(){function e(e,t){this.x=e||0,this.y=t||0}return e.prototype.set=function(e,t){return this.x=e,this.y=t,this},e.prototype.getLength=function(){return Math.sqrt(this.x*this.x+this.y*this.y)},e.prototype.toArray=function(){return[this.x,this.y]},e.prototype.sub=function(t){return new e(this.x-t.x,this.y-t.y)},e}(),rI=tI;class nI{constructor(e,t){this.x=e,this.y=t,this.pageX=e,this.pageY=t}}const iI=new class{constructor(){this._touches=[],this._isRotation=!1,this._rasterize=!1,this._rotationAngle=0,this._oldAngle=0,this._centerPoint=new br}get IsRasterize(){return this._rasterize}setCenter(e){e=e||fle.CalcCenterPoint(),this._centerPoint=aue.CurrentCamera.toScreenPosition(e)}onTouchStart(e){(2===this.getTouchInfo(e).length&&mm.getViewMode()===Ep.AR||Yse.IntersectionType===Dp.ROTATION_WIDGET)&&(Yse.InteractionMode=Pp.ELEMENT_ROTATE,this._isRotation=!0,this._oldAngle=this.getRotation(e))}onTouchEnd(e){this._isRotation=!1,this._oldAngle=0}TwoFingerRotate(e){return this._newAngle}getRotation(e){const t=this.getTouchInfo(e);let r=new fr,n=0;if(2===t.length&&mm.getViewMode()===Ep.AR){this._isRotation=!0;const e=t[0].x-t[1].x,r=t[0].y-t[1].y;n=Math.atan2(r,e)*Cp.Rad2Deg}else 1===t.length&&(this._touches[0]=t[0],this._isRotation&&(r=new fr(t[0].x-this._centerPoint.x,t[0].y-this._centerPoint.y),n=Math.atan2(r.y,r.x)*Cp.Rad2Deg));if(this._isRotation){Cp.DHBetrag2D([t[0].x,t[0].y],[this._centerPoint.x,this._centerPoint.y]);0===this._oldAngle&&(this._oldAngle=n),this._rasterize=!1,this._rotationAngle=Cp.DeltaAngle(n,this._oldAngle),this._oldAngle=n}else this._rotationAngle=0,this._oldAngle=0;return this._rotationAngle}Distance(e){}getTouchInfo(e){return this.getPositionData(e)}getTouchCenter(e){let t=[];return t=e instanceof TouchEvent?this.getPositionData(e):e,this.centerTouch(t[0],t[1])}getPositionData(e){const t=[],r=e.originalEvent||e;let n=0,i=0;const o=r.touches;let s=!1;if(r&&r.touches&&r.touches.length>0)for(let e=0;e<o.length;e++)if(s=!1,r.changedTouches&&r.changedTouches.length>0){for(let a=0;a<r.changedTouches.length;a++)o[e].identifier===r.changedTouches[a].identifier&&(n=r.changedTouches[a].pageX,i=r.changedTouches[a].pageY,t.push(new nI(n,i)),s=!0);s||(n=o[e].pageX,i=o[e].pageY,t.push(new nI(n,i)))}else n=o[e].pageX,i=o[e].pageY,t.push(new nI(n,i));else if(r&&r.changedTouches&&r.changedTouches.length>0)for(let e=0;e<r.changedTouches.length;e++)n=r.changedTouches[e].pageX,i=r.changedTouches[e].pageY,t.push(new nI(n,i));else n=e.pageX,i=e.pageY,t.push(new nI(n,i));return t}centerTouch(e,t){(e.pageX||e.pageY)&&(e.x=e.pageX,e.y=e.pageY),(t.pageX||t.pageY)&&(t.x=t.pageX,t.y=t.pageY);let r={},n={};return r=e.x>t.x?{high:e.x,low:t.x}:{high:t.x,low:e.x},n=e.y>t.y?{high:e.y,low:t.y}:{high:t.y,low:e.y},new fr(r.low+(r.high-r.low)/2,n.low+(n.high-n.low)/2)}};class oI{constructor(e,t,r){this._handleID="0x000000",this._runOnce=!1,this._eventFunc=e,this._values=r,this._runOnce=!!t,this._handleID=this.randomHandle()}get RunOnce(){return this._runOnce}get HandleID(){return this._handleID}dispatch(e){const t=this;this._eventFunc instanceof Function&&this._eventFunc(e||t._values)}waitDispatch(e){const t=this;return new Promise(function(r,n){t._eventFunc(e||t._values),r()})}randomHandle(){return"0x"+(1048575*Math.random()*1e6).toString(16).slice(0,6)}}class sI extends oI{constructor(e,t,r,n){super(e,t),this._handleID="0x000000",this._runOnce=!1,this._timing=0,this._loop=!1,this._eventHandle=null,this._timing=r,this._loop=n,this._eventHandle=null}dispatch(e){const t=this;null===this._eventHandle&&(this._loop?this._eventHandle=setInterval(function(){t._eventFunc(e||t._values),t.kill()},t._timing):this._eventHandle=setTimeout(function(){t._eventFunc(e||t._values),t.kill()},t._timing))}kill(){this._eventHandle&&(this._loop?(clearInterval(this._eventHandle),this._eventHandle=null):(clearTimeout(this._eventHandle),this._eventHandle=null))}}const aI=new class{constructor(){this.events={}}getEvent(e,t){const r=this.events[e];let n=null;if(r){n=r[this.getEventIDByHandle(r,t)]}return n}addEvent(e,t){return this.events[e]||(this.events[e]=[]),this.events[e].push(t),t.HandleID}removeEvent(e,t){const r=this.events[e];if(!r||0===r.length)return null;if(t){const n=this.getEventIDByHandle(r,t);-1!==n&&(r[n]instanceof sI&&r[n].kill(),this.events[e].splice(n,1))}else{for(let t=r.length-1;t>-1;t--)r[t]instanceof sI&&r[t].kill(),this.events[e].splice(t,1);this.events[e]=[]}}killEvent(e,t){const r=this.events[e];if(!r||0===r.length)return null;if(t){const e=this.getEvent(r,t);e&&e instanceof sI&&e.kill()}else for(let e=r.length-1;e>-1;e--)r[e]instanceof sI&&r[e].kill()}dispatch(e,t,r){const n=this.events[e];if(!n||0===n.length)return null;if(r){const i=this.getEvent(n,r);i&&(i.dispatch(t),i.RunOnce&&this.removeEvent(e,i.HandleID))}else for(let r=n.length-1;r>=0;r--)this.events[e]&&(this.events[e][r]&&this.events[e][r].dispatch(t),this.events[e][r]&&this.events[e][r].RunOnce&&this.events[e].splice(r,1))}waitDispatching(e,t,r){const n=this.events[e];if(!n||0===n.length)return Promise.reject(new Error("No event was found!"));if(!r){const r=[];for(let i=0;i<n.length;i++)n[i]instanceof sI||(r.push(n[i].waitDispatch(t)),n[i]&&n[i].RunOnce&&this.removeEvent(e,n[i].HandleID));return Promise.all(r)}{const i=this.getEvent(n,r);if(!(i instanceof sI))return i.waitDispatch(t).then(()=>(i.RunOnce&&this.removeEvent(e,i.HandleID),arguments))}}getEventIDByHandle(e,t){if(!e)return-1;for(let r=0;r<e.length;r++)if(e[r].HandleID===t)return r;return-1}};__webpack_require__(883);const lI=new class{constructor(){this.modals={}}addModal(e,t,r,n=!0,i=!1){if(!this.modals[e]){const o=$("#"+e);o.modal({onDeny:t,onApprove:r,onHide:()=>{upe.sendToApp("furnview.modalWindowHidden",[e])},allowMultiple:i}),o.modal.settings.closable=n,this.modals[e]={visible:!1,deny:t,approve:r,hide:()=>{upe.sendToApp("furnview.modalWindowHidden",[e])},closable:n,domElement:o,allowMultiple:i}}return this.modals[e]}showModal(e,t){t&&this.hideAllModal(),this.modals[e]&&(this.modals[e].visible=!0,this.modals[e].domElement.modal({onDeny:this.modals[e].deny,onApprove:this.modals[e].approve,onHide:this.modals[e].hide,allowMultiple:this.modals[e].allowMultiple}).modal("show")),upe.sendToApp("furnview.modalWindowShown",[e])}hideModal(e,t){this.modals[e]&&(this.modals[e].visible=!1,this.modals[e].domElement.modal("hide")),upe.sendToApp("furnview.modalWindowHidden",[e])}hideAllModal(){Object.keys(this.modals).forEach(e=>{this.modals[e]&&this.modals[e].visible&&(this.modals[e].visible=!1,this.modals[e].domElement.modal("hide"),this.modals[e].deny&&this.modals[e].deny())})}},cI=lI;class uI{constructor(e,t,r,n){this.id=-1,this.type="",this.childs=[],this.domElement=null,this.childDom=null,this.text="",this.parentItem=null,this.id=e,this.type=t,this.text=r||"",n&&Array.isArray(n)&&n.length>0&&this.parseChilds(n)}setParent(e){this.parentItem=e}build(){this.domElement=$("<div></div>").addClass(this.type),this.domElement.click(e=>{e.stopPropagation(),e.preventDefault(),0===this.childs.length&&(ape.ExecuteMenuEvent(this.id),$I.removeContextMenu(this.id))});$("<span></span>").text(this.text).appendTo(this.domElement);this.parentItem instanceof hI&&this.domElement.addClass("visible"),this.childs.length>0&&this.makeExpandable(),this.parentItem.childDom?this.parentItem.childDom.append(this.domElement):this.parentItem.domElement.append(this.domElement)}parseChilds(e){for(let t=0;t<e.length;t++)if(e[t].text||"cm_text"!==e[t].type){const r=new uI(e[t].id,e[t].type,e[t].text,e[t].childs);r.setParent(this),this.childs.push(r)}}makeExpandable(){const e=this;$("<i></i>").addClass("icon chevron right").appendTo(this.domElement);this.childDom=$("<div></div>").addClass("children").appendTo(this.domElement),this.domElement.hover(function(t){let r=e.domElement.parent().children().index(e.domElement);r-=e.domElement.prevAll().filter((e,t)=>$(t).hasClass("cm_separator")).length;const n=(+e.domElement.css("padding-top").match(/(^\d+)/)[0]||0)+(+e.domElement.css("padding-bottom").match(/(^\d+)/)[0]||0);e.childDom.css("display","block"),e.childDom.css("top",e.domElement.height()*r+r*n)},function(t){e.childDom.css("display","none")}),this.childs.forEach(function(e){e.build()})}}const dI=uI;const hI=class extends dI{constructor(e,t){super(e.id,e.type,e.text,e.childs),this.parent=null,this.parent=t}build(){return!(!this.parent||0===this.parent.length)&&(this.domElement=$("<div></div>").addClass(this.type),this.childs.forEach(function(e){e.build()}),this.parent.append(this.domElement),this.domElement.css("left",Yse.GlobalPosition.x),this.domElement.css("top",Yse.GlobalPosition.y),!0)}};var pI=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};let mI=class{constructor(){this._inputElement=null,this._enterListener=null,this._initialized=!1,this._controlListener=null}set InputElement(e){this._inputElement=e}set EnterListener(e){this._enterListener=e}reset(){this._controlListener=null,this._enterListener=null}show(e,t,r){if(this._initialized||this.initializeUI(),this.getRoot().removeClass("dhmc-hidden"),isNaN(e)||isNaN(t))this.getRoot().css("left",UIService.WIDTH/2-this.getRoot().width()/2),this.getRoot().css("top",UIService.HEIGHT/2-this.getRoot().height()/2);else{const n=(r.outerWidth()-this.getRoot().width())/2;this.getRoot().css("left",e+n),this.getRoot().css("top",t+r.height()+5)}}hide(){this.getRoot().addClass("dhmc-hidden")}validate(e,t){return","===t&&e.length>0&&-1===e.indexOf(".")&&-1===e.indexOf(",")||("-"===t&&0===e.length||!isNaN(+t))}inputChange(e){if(this._inputElement&&this._inputElement.length>0){let t=this._inputElement.val();-1===+e?(t=t.substr(0,t.length-1),this._inputElement.val(t)):this.validate(t,e)&&(","===e&&isNaN(+(1+e+0))&&(e="."),this._inputElement.val(t+e))}}initializeUI(){this._initialized=!0;const e=this.getRoot().find(".cell.button button"),t=this.getRoot().find(".cell.enter-button button");this.getRoot().on("vclick click",e=>{e.preventDefault(),e.stopPropagation()}),e&&e.length>0&&e.on("vclick click",e=>{e.preventDefault(),e.stopPropagation();const t=$(e.currentTarget);this.inputChange(t.data("value"))}),t&&t.length>0&&t.on("vclick click",e=>{e.preventDefault(),e.stopPropagation(),this._enterListener&&this._enterListener()})}};mI=pI([_m({template:'\n            <div class="menu-number-dialog container dhmc-hidden">\n                <div class="number-pad">\n                    <div class="row">\n                        <div class="cell button">\n                            <button data-value="1">1</button>\n                        </div>\n                        <div class="cell button">\n                            <button data-value="2">2</button>\n                        </div>\n                        <div class="cell button">\n                            <button data-value="3">3</button>\n                        </div>\n                    </div>\n                    <div class="row">\n                        <div class="cell button">\n                            <button data-value="4">4</button>\n                        </div>\n                        <div class="cell button">\n                            <button data-value="5">5</button>\n                        </div>\n                        <div class="cell button">\n                            <button data-value="6">6</button>\n                        </div>\n                    </div>\n                    <div class="row">\n                        <div class="cell button">\n                            <button data-value="7">7</button>\n                        </div>\n                        <div class="cell button">\n                            <button data-value="8">8</button>\n                        </div>\n                        <div class="cell button">\n                            <button data-value="9">9</button>\n                        </div>\n                    </div>\n                    <div class="row">\n                        <div class="cell button">\n                            <button data-value="-">-</button>\n                        </div>\n                        <div class="cell button">\n                            <button data-value="0">0</button>\n                        </div>\n                        <div class="cell button">\n                            <button data-value=",">,</button>\n                        </div>\n                    </div>\n                    <div class="row">\n                        <div class="cell button">\n                            <button data-value="-1"><i class="icon arrow left"></i></button>\n                        </div>\n                        <div class="cell">\n                            \n                        </div>\n                        <div class="cell enter-button">\n                            <button>OK</button>\n                        </div>\n                    </div>\n                </div>\n            </div>\n            ',parentSelector:".mainContent"})],mI);const _I=new mI;const gI=class{constructor(e,t,r,n,i){this._domElement=null,this._position={x:0,y:0},this._menuID=-1,this._params=null,this._parent=null,this._listener=null,this._domElement=$("<div></div>").addClass("cm_dialog"),this._listener=i,this._parent=t,this._menuID=e,this._params=n,this._position.x=r.x,this._position.y=r.y}validate(e,t){if(!/^\d+$/.test(e)&&!/^\d+[,\.]\d+$/.test(e))return"string"==typeof t?this.validate(t):"0";if(/^\d+[,\.]+$/.test(e))return e.split(/[.,]/)[0];if(/^[,\.]+\d+$/.test(e)){const t=e.split(/[.,]/);return t[t.length-1]}return/\d+,\d+/.test(e)&&(e=e.replace(",",".")),e}build(){if(0===this._params.p.length)return!1;const e=JSON.parse(this._params.p).values;let t=null;console.log(this._params),this._domElement.css("left",this._position.x),this._domElement.css("top",this._position.y),this._domElement.click(e=>{e.stopPropagation(),e.preventDefault()});const r=$("<div></div>").addClass("top-dialog").appendTo(this._domElement),n=$("<div></div>").addClass("bottom-dialog").appendTo(this._domElement);for(let n=0;n<e.length;n++){const o=e[n],s=$("<input>").addClass("value-dialog-btn").appendTo(r);t||(t=s),"D"===o.type?(s.attr("type","text"),s.data("validate","D"),s.data("defaultVal",""+o.value),s.val(+o.value),s.data("data-validation",o),t&&Wp.getType()===Mp.MOBILE&&s.prop("readonly",!0),(o.minV||o.maxV)&&s.change(function(){const e=$(this),t=e.data("data-validation");t&&(t.minV&&t.minV>+e.val()&&e.val(+t.minV),t.maxV&&t.maxV<+e.val()&&e.val(+t.maxV))}),s.on("vclick click",e=>{const t=$(e.currentTarget);e.stopPropagation(),t.parent().find(".value-dialog-btn.active").removeClass("active"),t.addClass("active"),_I.InputElement=t}),s.keyup(e=>{e.stopPropagation(),e.preventDefault(),13===e.keyCode&&i.click(),27===e.keyCode&&$I.removeContextMenu()})):"S"===o.type&&(s.attr("type","text"),s.val(o.value))}const i=$("<input>").attr("type","button").addClass("submit-dialog-btn").val("Ok").appendTo(n);i.on("vclick click",e=>{e.stopPropagation(),e.preventDefault();const t=$(".cm_dialog > .top-dialog .value-dialog-btn"),r={};t.each((e,t)=>{let n=$(t).val();"D"===$(t).data("validate")&&(n=this.validate(n,$(t).data("defaultVal"))),e>0?r["value"+(e+1)]=n:r.value=n}),this._listener?this._listener(this._menuID,r):ape.ExecuteMenuEvent(this._menuID,r),$I.removeContextMenu()});$("<input>").attr("type","button").addClass("cancel-dialog-btn").val("X").appendTo(n).on("vclick click",()=>{$I.removeContextMenu()}),this._parent.append(this._domElement);let o=this._domElement.find(".value-dialog-btn.active");o&&0!==o.length||(o=t,o.addClass("active")),t&&Wp.getType()===Mp.DESKTOP?t.focus():(_I.InputElement=o,_I.EnterListener=()=>{i.click()},_I.show(this._position.x,this._position.y,this._domElement))}};class fI{constructor(e,t,r,n){this.id=-1,this.type="",this.childs=[],this.domElement=null,this.childDom=null,this.text="",this.parentItem=null,this.hashID=zme.createHash(),this.id=e,this.type=t,this.text=r||"",n&&Array.isArray(n)&&n.length>0&&this.parseChilds(n)}setParent(e){this.parentItem=e}build(e){this.domElement=$("<div></div>").addClass(this.type+"_mob").attr("id",this.hashID),!0===e&&this.domElement.addClass("top"),this.domElement.on("vclick",e=>{e.stopPropagation(),e.preventDefault(),0===this.childs.length&&(ape.setLastTippedLO(""+Yse.LastTippedPO.instanceIdent).then(()=>{ape.ExecuteMenuEvent(this.id)}),$I.removeContextMenu(this.id))});$("<span></span>").text(this.text).appendTo(this.domElement);this.parentItem instanceof bI&&this.domElement.addClass("visible"),this.parentItem.childDom?this.parentItem.childDom.append(this.domElement):this.parentItem.domElement.append(this.domElement),this.childs.length>0&&(!0===e&&this.domElement.addClass("parent"),this.makeExpandable())}parseChilds(e){for(let t=0;t<e.length;t++){const r=new fI(e[t].id,e[t].type,e[t].text,e[t].childs);r.setParent(this),this.childs.push(r)}}makeExpandable(){const e=this,t=$("<i></i>").addClass("icon chevron down").appendTo(this.domElement);this.childDom=$("<div></div>").addClass("children").appendTo(this.parentItem.domElement),this.childDom.data("for",this.hashID),this.domElement.on("vclick",r=>{r.preventDefault(),r.stopPropagation(),this.domElement.hasClass("top")&&(this.domElement.hasClass("expanded")?(this.domElement.removeClass("expanded"),e.childDom.removeClass("visible"),t.removeClass("up"),t.addClass("down")):($(".cm_text_mob.top.expanded").removeClass("expanded"),$(".cm_menu_mob .children.visible").removeClass("visible"),e.childDom.addClass("visible"),this.domElement.addClass("expanded"),t.removeClass("down"),t.addClass("up")))}),this.childs.forEach(function(e){e.build()})}}const vI=fI;const bI=class extends vI{constructor(e,t){super(e.id,e.type,e.text,e.childs),this.parent=null,this.parent=t}build(){return!(!this.parent||0===this.parent.length)&&(this.domElement=$("<div></div>").addClass(this.type+"_mob"),this.childs.forEach(function(e){e.build(!0)}),this.parent.append(this.domElement),!0)}},yI=function(e){e.preventDefault(),e.stopPropagation(),$I.removeContextMenu()};const $I=new class{constructor(){this._currentPosition={x:-1,y:-1},this._state=!1,this._parentDom=null,this._lastMID=-1,this._isMobile=!1,this._isNoneMenuDialog=!1,Rm.on("FVOpenDialog",e=>{this.createDialog(e)})}get Opened(){return this._state}get ParentDom(){return this._parentDom}get MenuDom(){return this._menu&&this._menu.domElement?this._menu.domElement:this._dialog&&this._dialog._domElement?this._dialog._domElement:void 0}get noneContextMenuDialog(){return this._isNoneMenuDialog}set noneContextMenuDialog(e){this._isNoneMenuDialog=e}create(e,t){this._isMobile=!1,this.Opened&&this.remove(),this._currentPosition.x=Yse.GlobalPosition.x,this._currentPosition.y=Yse.GlobalPosition.y,this._menu=new hI(e,t),this._parentDom=t,t.on("vclick",yI),this._state=!0,this._menu.build()||(console.error("ContextMenu Error"),this._state=!1)}createMobile(e,t){this._isMobile=!0;const r=$("#mobileContext");if(0===r.length)return;const n=$("#old-kata-tree-panel-opener");fme.openRegister(0===n.length?null:n,r.parent(),r),this.Opened&&this.remove(),this._menu=new bI(e,r),this._parentDom=t,t.on("vclick",yI),this._state=!0,this._menu.build()||(console.error("ContextMenu Error"),this._state=!1)}createDialog(e){if(this._isMobile){const e=Yse.LastTippedPO;let t=new fr;if(e){const r=new Qr;let n=new br;r.setFromObject(e),n=r.getCenter(n),t=aue.CurrentCamera.toScreenPosition(n)}this._currentPosition.x=t.x,this._currentPosition.y=t.y}-1===this._currentPosition.x&&-1===this._currentPosition.y&&(this._currentPosition=Yse.GlobalPosition),null===this._parentDom&&(this._parentDom=fme.RenderContainer),this._isNoneMenuDialog?this._dialog=new gI(this._lastMID,this._parentDom,this._currentPosition,e,(e,t)=>{ape.GetDimensionInputEnd(t)}):this._dialog=new gI(this._lastMID,this._parentDom,this._currentPosition,e),this._dialog.build(),this._state=!0,this._parentDom.on("vclick",yI)}remove(){this._parentDom.off("vclick",yI),this._dialog&&(this._dialog._domElement.remove(),delete this._dialog,this._dialog=void 0),this._menu&&(this._menu.domElement.remove(),delete this._menu,this._menu=void 0),this._state=!1}removeContextMenu(e){if(_I.hide(),this._isNoneMenuDialog=!1,isNaN(e)?this._lastMID=-1:this._lastMID=e,this.remove(),this._isMobile){const e=$("#oldKataTree"),t=$("#old-kata-tree-panel-opener");fme.openRegister(0===t.length?null:t,e.parent(),e)}}},xI=function(){this.groups=[]};xI.prototype.addGroups=function(e){this.groups=e},xI.prototype.buildDOM=function(){const e=$("<div></div>").addClass("ui styled fluid accordion accordion-group-component");return this.groups.forEach(function(t){e.append(t.buildDOM(!0))}),e.accordion({selector:{trigger:".title"},onOpening:function(){if(this[0]){$(this.context).data("element").onOpening(this.index(".content"))}},onClosing:function(){if(this[0]){$(this.context).data("element").onClosing(this.index(".content"))}}}),e},xI.prototype.removeGroup=function(){};const SI=xI;class wI extends Fo{static updateAll(){const e=aue.CurrentCamera;if(!e||!e.Camera||!e.Camera.position)return;const t=e.Camera.position;wI.allSprites.forEach(e=>{e.parent?e.resizeForCamera(t):wI.allSprites.delete(e)})}get Text(){return this._text}constructor(e,t=""){super(e),this._aspectRatio=1,this.img_Scale=0,this._text=t}static create(e){return(e=e||{}).position=e.position||[0,0,0],e.text=e.text||"",wI.createTextSprite(e.text,e)}static createWithStyledPreset(e,t,r){const n={position:t,text:e,align:r||0,fixedZoom:!0,depthTest:!1,scaleFactor:Bde.textScaleFactor,backgroundColor:{r:20,g:20,b:20,a:.85},borderColor:{r:20,g:20,b:20,a:0},textColor:{r:255,g:255,b:255,a:1},useAlign:!0,borderRadius:40,borderThickness:0,fontWeight:"bold",fontFace:"Roboto, Arial, sans-serif",dropShadow:!0};return wI.create(n)}static roundRect(e,t,r,n,i,o,s,a){if(void 0===a&&(a=!0),void 0===o&&(o=5),"number"==typeof o)o={tl:o,tr:o,br:o,bl:o};else{const e={tl:0,tr:0,br:0,bl:0};for(const t in e)o[t]=o[t]||e[t]}e.beginPath(),e.moveTo(t+o.tl,r),e.lineTo(t+n-o.tr,r),e.quadraticCurveTo(t+n,r,t+n,r+o.tr),e.lineTo(t+n,r+i-o.br),e.quadraticCurveTo(t+n,r+i,t+n-o.br,r+i),e.lineTo(t+o.bl,r+i),e.quadraticCurveTo(t,r+i,t,r+i-o.bl),e.lineTo(t,r+o.tl),e.quadraticCurveTo(t,r,t+o.tl,r),e.closePath(),s&&e.fill(),a&&e.stroke()}static createTextSprite(e,t){const r=Math.min(2,window.devicePixelRatio),n=(t.hasOwnProperty("scaleFactor")&&t.scaleFactor,!t.hasOwnProperty("depthTest")||t.depthTest),i=t.hasOwnProperty("fontFace")?t.fontFace:"Roboto, Arial, sans-serif",o=t.hasOwnProperty("fontSize")?t.fontSize:58,s=t.hasOwnProperty("borderThickness")?t.borderThickness:0,a=t.hasOwnProperty("borderRadius")?t.borderRadius:0,l=t.hasOwnProperty("fontWeight")?t.fontWeight:"",c=!!t.hasOwnProperty("dropShadow")&&t.dropShadow,u=t.hasOwnProperty("borderColor")?t.borderColor:{r:0,g:0,b:0,a:1},d=t.hasOwnProperty("backgroundColor")?t.backgroundColor:{r:255,g:255,b:255,a:0},h=t.hasOwnProperty("textColor")?t.textColor:{r:0,g:0,b:0,a:1},p=o,m=s,_=a,g=a>0?5:0,f=document.createElement("canvas");f.width=1,f.height=1;const v=f.getContext("2d");if(!v)return null;v.font=l+" "+p+"px "+i;const b=v.measureText(e).width;let y,$;m>0?(y=b+m+20,$=1.4*p+m):(y=b+20,$=1.5*p);const x=c?12:0,S=Math.ceil(y+2*g+2*x),w=Math.ceil($+2*g+2*x),A=document.createElement("canvas");A.width=S,A.height=w;const C=A.getContext("2d");if(!C)return null;C.clearRect(0,0,S,w),C.font=l+" "+p+"px "+i,c&&(C.shadowColor="rgba(0, 0, 0, 0.4)",C.shadowBlur=10,C.shadowOffsetX=0,C.shadowOffsetY=4),C.fillStyle="rgba("+d.r+","+d.g+","+d.b+","+d.a+")",C.lineWidth=m;const E=x,I=x,M=S-2*x,k=w-2*x;m>0?(C.strokeStyle="rgba("+u.r+","+u.g+","+u.b+","+u.a+")",wI.roundRect(C,E,I,M,k,_,!0,!0)):wI.roundRect(C,E,I,M,k,_,!0,!1),C.shadowColor="transparent",C.shadowBlur=0,C.shadowOffsetX=0,C.shadowOffsetY=0,C.fillStyle="rgba("+h.r+", "+h.g+", "+h.b+",  "+h.a+")";const T=(S-b)/2,R=p+(w-p)/2-.15*p;C.fillText(e,T,R);const L=new zr(A);L&&(L.needsUpdate=!0);const P=new So({map:L,depthTest:n,depthWrite:!1,sizeAttenuation:!1});P.transparent=!0,P.alphaTest=.3;const D=new wI(P,t.text);D.position.set(t.position[0],t.position[1],t.position[2]),D.center.x=.5,D.center.y=.5;const N=window.innerWidth<=768?45:28,F=c?N*(w/(w-2*x)):N,O=S/w;return D.img_Scale=F,D._aspectRatio=O,D.scale.set(F*O,F,F),wI.allSprites.add(D),D.layers.set(0),D.renderOrder=2e4,D.frustumCulled=!1,D.visible=!0,D}resizeForCamera(e){const t=this.img_Scale;if(!t||0===t)return;this.getWorldPosition(wI._worldPos);const r=wI._worldPos.distanceTo(e);let n=t/Math.max(r,1);if(r>1500&&(n*=Math.min(r/1500,10)),this.parent){this.parent.getWorldScale(wI._parentScale);const e=wI._parentScale.y||1;0!==e&&1!==e&&(n/=e)}this.scale.set(n*this._aspectRatio,n,n)}dispose(){wI.allSprites.delete(this),this.material.map.dispose(),this.material.dispose(),this.geometry.dispose()}}wI.allSprites=new Set,wI._worldPos=new br,wI._parentScale=new br;const AI=wI;var CI=function(){const e=function(){};e.prototype.drawSimpleFace3D=function(e,t,r,n,i,o){e.positions=e.positions||[],e.normals=e.normals||[],e.indices=e.indices||[],e.positions=e.positions.concat(t,n,r,t,i,n),e.normals=e.normals.concat(o,o,o,o,o,o);for(let t=6;t>=1;t--)e.indices.push(e.positions.length/3-t)},e.prototype.drawCylinder=function(e,t,r,n,i){e.lastGroupStart=e.indices.length,n=n||20,i=i||8;const o=Cp.DHGetVector(t,r),s=Cp.DHGetVector(t,[1e4*C,999*C,9999*C]),a=Cp.DHVecCross3D(o,s),l=Cp.DHGoVector(t,n,a),c=2*Math.PI/i;let u=[],d=[],h=[],p=[];const m=Cp.DHBetrag(t,r);for(let n=0;n<i;n++){const i=n*c,s=(n+1)*c;u=Cp.DHCreateArcPoint3D(t,r,l,i),d=Cp.DHCreateArcPoint3D(t,r,l,s),p=Cp.DHGoVector(u,m,o),h=Cp.DHGoVector(d,m,o);const a=Cp.DHGetVector(t,u);this.drawSimpleFace3D(e,u,d,h,p,a)}e.lastGroupCount=e.indices.length-e.lastGroupStart},e.prototype.drawSphere=function(e,t,r,n){e.lastGroupStart=e.indices.length;const i=e.positions.length/3,o=new Za(r,n,n);o.applyMatrix4((new xn).makeTranslation(t[0],t[1],t[2]));for(let t=0;t<o.attributes.position.count;t++)e.positions.push(o.attributes.position.getX(t),o.attributes.position.getY(t),o.attributes.position.getZ(t));for(let t=0;t<o.attributes.normal.count;t++)e.normals.push(o.attributes.normal.getX(t),o.attributes.normal.getY(t),o.attributes.normal.getZ(t));for(let t=0;t<o.getIndex().array.length;t++)e.indices.push(o.getIndex().array[t]+i);e.lastGroupCount=e.indices.length-e.lastGroupStart},e.prototype.drawMeasureLine=function(e,t,r,n){const i=new qn,o=new Oi;o.setAttribute("position",new ki([].concat(e,t),3)),o.setIndex([0,1]),o.addGroup(0,2,0);const s=new Ws(0,5,5,32,32),a=new PE({color:0}),l=new Yi(s,a);l.position.set(e.x,e.y,e.z);const c=new Yi(s,a);c.position.set(t.x,t.y,t.z);const u=AI.create({fontsize:76,text:r+"mm"});if(!u)return null;"x"===n?(l.rotateZ(Math.PI/2),c.rotateZ(-Math.PI/2),u.position.x=(t.x-e.x)/2+e.x,u.position.y=e.y,u.position.z=e.z+30):"y"===n?(l.rotateZ(Math.PI),u.position.y=(t.y-e.y)/2+e.y,u.position.x=e.x,u.position.z=e.z+30):"z"===n&&(l.rotateX(Math.PI+Math.PI/2),c.rotateX(-Math.PI-Math.PI/2),u.position.z=(t.z-e.z)/2+e.z,u.position.x=e.x-30,u.position.y=e.y);const d=new PE({color:0}),h=new Ms(o,d);return d.parent=h,h.matrixAutoUpdate=!0,i.add(h),i.add(u),i.add(l),i.add(c),i},e.prototype.drawMeasure=function(e,t){const r=e.dimension[0],n=e.dimension[1],i=e.dimension[2],o=new br(e.position.x+10,e.position.y-20,e.position.z+20),s=new br(e.position.x-20,e.position.y+10,e.position.z+20),a=new br(e.position.x-20,e.position.y-20,e.position.z+10),l=new br(e.position.x+r-10,e.position.y-20,e.position.z+20),c=new br(e.position.x-20,e.position.y+n-10,e.position.z+20),u=new br(e.position.x-20,e.position.y-20,e.position.z+i-10),d=new qn;let h=null;t.x&&(h=CI.drawMeasureLine(o,l,r,"x"),h&&d.add(h)),t.y&&(h=CI.drawMeasureLine(s,c,n,"y"),h&&d.add(h)),t.z&&(h=CI.drawMeasureLine(a,u,i,"z"),h&&d.add(h)),(t.x||t.y||t.z)&&ZE.world.add(d)};return new e}();const EI=CI;const II=new class extends GE{constructor(){super(),this._sceneStore=new mo,this._isInit=!1}add(e,t,r=!1,n=!0){let i=!1;this._isInit||(this._isInit=!0,Dhe.add(this._sceneStore));const o=this.containsKey(e);if(o&&r){const t=this.get(e,0);for(let e=this._sceneStore.children.length-1;e>=0;e--){const r=this._sceneStore.children[e];if(r.uuid===t.uuid){i=r.visible,this._sceneStore.remove(r);break}}this.remove(e)}o&&!r||(n&&this._sceneStore.add(t),t.visible=i,super.add(e,t,r))}cleanUp(){const e=t=>!!t.parent&&(t.parent===Dhe.TScene||e(t.parent));for(let t=this.Values.length-1;t>=0;t--){const r=this.Values[t];for(let t=r.length-1;t>=0;t--){const n=r[t],i=n._parentUUID;e(n._refParent)||(this._sceneStore.remove(n),this.remove(i,n)),0===r.length&&this.remove(i)}}}clear(e){const t=this.Keys;for(let e=t.length-1;e>=0;e--)if(this.Store[t[e]]&&this.Store[t[e]].length>0)for(let r=this.Store[t[e]].length-1;r>=0;r--)this.remove(t[e],this.Store[t[e]][r]);else this.remove(t[e]);super.clear(e)}remove(e,t){let r=t;r||(r=this.get(e)),this._sceneStore.remove(r),Array.isArray(r)?r.forEach(t=>{t.dispose(),super.remove(e,t)}):r instanceof Bme&&(r.dispose(),super.remove(e,r))}setMatrix(e,t){if(this.containsKey(e)){const r=this.get(e,0);r&&r instanceof Bme&&r.matrixWorld&&(r.matrixAutoUpdate=!1,r.position.setFromMatrixPosition(t),r.rotation.setFromRotationMatrix(t),r.updateMatrixWorld(),r.matrixAutoUpdate=!0)}}};const MI=new class{constructor(){this.visibleBB={}}recycleElements(){return Object.keys(this.visibleBB).forEach(e=>{var t;t=this.visibleBB[e],-1===II.Keys.indexOf(t._parentUUID)&&(this.visibleBB[e].visible=!1,delete this.visibleBB[e])}),II.cleanUp(),!0}getElements(){this.recycleElements();const e=[];return Object.keys(this.visibleBB).forEach(t=>{e.push(this.visibleBB[t])}),e}traverse(e){Object.keys(this.visibleBB).forEach(t=>{this.visibleBB[t].traverse(e)})}create(e,t,r=!1){Bde.BoxStyleSetting&&Bde.BoxStyleSetting.boundingBox&&Bde.BoxStyleSetting.boundingBox.bb_custom&&((t=t||{}).customSettings={color:(new mi).setStyle(Bde.BoxStyleSetting.boundingBox.bb_color),color_hover:(new mi).setStyle(Bde.BoxStyleSetting.boundingBox.bb_color_hover),opacity:+Bde.BoxStyleSetting.boundingBox.bb_opacity,transparency_hover:+Bde.BoxStyleSetting.boundingBox.bb_opacity_hover,line:Bde.BoxStyleSetting.boundingBox.bb_line_enabled,line_color:(new mi).setStyle(Bde.BoxStyleSetting.boundingBox.bb_line_color),line_color_hover:(new mi).setStyle(Bde.BoxStyleSetting.boundingBox.bb_line_color_hover)},t.color=t.customSettings.color,t.opacity=t.customSettings.opacity,t.line=t.customSettings.line,t.line_color=t.customSettings.line_color);const n=Bme.build(e,t);let i=e.uuid;e instanceof Yi&&(i=e.parent.uuid,e.BoundingBoxID=i),II.add(i,n,r)}exists(e){const t=e.BoundingBoxID?e.BoundingBoxID:e.uuid;return II.containsKey(t)}get(e){const t=e.BoundingBoxID?e.BoundingBoxID:e.uuid;return II.get(t,0)}show(e,t,r){t=t||{withoutAdd:!1,onlyShow:!1};const n=e.BoundingBoxID?e.BoundingBoxID:e.uuid;let i=null;if(n&&(i=II.get(n,0)),i?i.visible=!0:t.onlyShow||t.withoutAdd||this.create(e,t),n&&(i=II.get(n,0),i)){if(i.SetMatrix){const e=i._parentUUID;II.setMatrix(e,i._refParent.matrixWorld)}this.visibleBB[n]=i,i.visible=!0}}hide(e,t){const r=e.BoundingBoxID?e.BoundingBoxID:e.uuid;if(r){const e=II.get(r,0);e&&(t?e.visible=!1:(this.visibleBB[r]=null,delete this.visibleBB[r],e.visible=!1,II.remove(r,e)))}}hideAll(){const e=II.Keys.slice();for(let t=e.length-1;t>=0;t--){const r=e[t],n=this.visibleBB[r],i=II.Store[r];n?(this.visibleBB[r].visible=!1,this.visibleBB[r]=null,delete this.visibleBB[r],II.remove(r,n)):i&&!i.visible&&II.remove(r,i)}}hideUnmarked(e){const t=Object.keys(this.visibleBB);for(let r=t.length-1;r>=0;r--){const n=t[r],i=this.visibleBB[n];if(!i)continue;const o=i._refParent,s=o&&o.instanceIdent;e&&e.size>0&&void 0!==s&&e.has(s)||(i.visible=!1,this.visibleBB[n]=null,delete this.visibleBB[n],II.remove(n,i))}}};class kI extends vi{constructor(e){super(e),e&&e.clippingExclude||(this.clippingPlanes=ice.LocalPlanes,this.clipShadows=!0)}}class TI extends qn{constructor(e,t=NI.NORMAL){if(super(),this._boundingBoxID="",this._instanced=!1,this._objectLO=null,this._lines=null,this._mesh=null,this._bbox=null,this._style={},this._isWidget=!0,this._mode=NI.NORMAL,this._PO=null,this._LI=null,this._PL=null,this._PP=null,this._style=e,this._mode=t,this._style&&(this._meshFaceMaterial=this._style.meshFaceMaterial,this._lineMaterial=this._style.lineMaterial,this._meshMaterial=this._style.meshMaterial,this._style.sphereStyle&&this._style.cylinderStyle?this._meshFaceMaterial=[new kI(this._style.cylinderStyle),new kI(this._style.sphereStyle)]:(this._style.sphereStyle||this._style.cylinderStyle)&&(this._meshMaterial=new kI(this._style.sphereStyle||this._style.cylinderStyle),this._meshFaceMaterial=null),this._style.lineStyle&&(this._lineMaterial=new PE(this._style.lineStyle))),void 0===this._meshFaceMaterial)if(Bde.BoxStyleSetting&&Bde.BoxStyleSetting.boundingBox&&Bde.BoxStyleSetting.boundingBox.bb_line_enabled){const e=(new mi).setStyle(Bde.BoxStyleSetting.boundingBox.bb_line_color);this._meshFaceMaterial=[new kI({color:e.getHex(),transparent:!0,opacity:.8}),new kI({color:e.getHex(),transparent:!0,opacity:.8})]}else this._meshFaceMaterial=[new kI({color:32768,transparent:!0,opacity:.8}),new kI({color:32768,transparent:!0,opacity:.8})];void 0===this._lineMaterial&&(this._lineMaterial=new PE({color:new mi("rgb(0, 150, 0)")})),void 0===this._meshMaterial&&(this._meshMaterial=new Hm({transparent:!0,opacity:.01,color:new mi("rgb(0, 150, 0)")})),this._lineMaterial&&(this._lineMaterial.depthTest=!1,this._lineMaterial.depthWrite=!1)}get PO(){return this._PO}get LI(){return this._LI}get PL(){return this._PL}get PP(){return this._PP}get IsWidget(){return this._isWidget}get Mode(){return this._mode}get BoundingBoxID(){return this._boundingBoxID}parse(e){if(e){if(this._objectLO=e,e.markerObjects&&e.markerObjects.PO&&e.markerObjects.LI&&e.markerObjects.PL){const t=e.markerObjects;this._PO=t.PO||[],this._LI=t.LI||[],this._PL=t.PL||[]}e.PP&&(this._PP=e.PP)}}createObject(){if(this._style&&this._style.oldLayout)this.createSelectionObject();else if(this._style&&this._style.collisionLayout)this.createCollisionObject();else if(!this._instanced){const e={positions:[],normals:[],indices:[],lastGroupStart:0,lastGroupCount:0},t=new Oi;if(this._PO&&this._PO.length>0&&this._LI&&this._LI.length>0&&this._PL){const r=[];for(let n=0;n<this._LI.length;n++){const i=Cp.DH2Vector3(this._PO[this._LI[n][0]]),o=Cp.DH2Vector3(this._PO[this._LI[n][1]]),s=i.clone().multiplyScalar(C),a=o.clone().multiplyScalar(C);r.push([].concat(s.toArray(),a.toArray())),this._style.cylinderStyle&&(this.createCylinderEdges(e,s,a,this._style.cylinderRadius*C),t.addGroup(e.lastGroupStart,e.lastGroupCount,0)),this._style.sphereStyle&&(this.createSphereCorners(e,s,this._style.sphereSize*C),t.addGroup(e.lastGroupStart,e.lastGroupCount,1))}this._style.lineStyle&&this.createLineEdges(r),e.positions.length>0&&e.normals.length>0&&e.indices.length>0&&(t.setAttribute("position",new ki(e.positions,3)),t.setAttribute("normal",new ki(e.normals,3)),t.setIndex(e.indices),this.parseFaces(t),this._meshFaceMaterial?(this._mesh=new Yi(t,this._meshFaceMaterial),this.add(this._mesh)):(this._mesh=new Yi(t,this._meshMaterial),this.add(this._mesh)),this._mesh.renderOrder=isNaN(this._style.meshRenderOrder)?9999:this._style.meshRenderOrder)}if(this._style&&this._style.boxStyle){let e={};Bde.BoxStyleSetting&&Bde.BoxStyleSetting.markerBox&&Bde.BoxStyleSetting.markerBox.mb_custom&&(e={customSettings:{color_hover:new mi(Bde.BoxStyleSetting.markerBox.mBox_color_hover),color:new mi(Bde.BoxStyleSetting.markerBox.mBox_color),opacity:+Bde.BoxStyleSetting.markerBox.mBox_opacity,transparency_hover:+Bde.BoxStyleSetting.markerBox.mBox_opacity_hover}}),this._bbox=Bme.build(this,e),this._bbox.visible=!0,this.add(this._bbox)}Ame.requestRendering()}}createSelectionObject(){const e=new Oi,t={positions:[],normals:[],indices:[],lastGroupStart:0,lastGroupCount:0};if(this._PO&&this._LI&&this._PL)for(let r=0;r<this._LI.length;r++){const n=Cp.DH2Vector3(this._PO[this._LI[r][0]]),i=Cp.DH2Vector3(this._PO[this._LI[r][1]]),o=n.clone().multiplyScalar(C),s=i.clone().multiplyScalar(C);EI.drawCylinder(t,o.toArray(),s.toArray(),10*C,8),e.addGroup(t.lastGroupStart,t.lastGroupCount,0),EI.drawSphere(t,o.toArray(),16*C,8),e.addGroup(t.lastGroupStart,t.lastGroupCount,1)}if(e.setAttribute("position",new ki(t.positions,3)),e.setAttribute("normal",new ki(t.normals,3)),e.setIndex(t.indices),this.parseFaces(e),this._mesh=new Yi(e,this._meshFaceMaterial),this._mesh.renderOrder=9999,this.add(this._mesh),Bde.IsPlacerMode){const e={side:2,opacity:.1,line:!1,color:new mi(1,1,1),setMatrix:!1,customSettings:void 0};this.Mode==NI.SELECTION?Bde.BoxStyleSetting&&Bde.BoxStyleSetting.boundingBox&&Bde.BoxStyleSetting.boundingBox.bb_custom&&(e.customSettings={color:(new mi).setStyle(Bde.BoxStyleSetting.boundingBox.bb_color),opacity:+Bde.BoxStyleSetting.boundingBox.bb_opacity}):this.Mode==NI.HIGHLIGHT&&Bde.BoxStyleSetting&&Bde.BoxStyleSetting.highlightBox&&Bde.BoxStyleSetting.highlightBox.hb_custom&&(e.customSettings={color:(new mi).setStyle(Bde.BoxStyleSetting.highlightBox.hb_color),opacity:.5*+Bde.BoxStyleSetting.highlightBox.hb_opacity});const t=Bme.build(this._mesh,e);t.PreventCustomSettings=!0,II.add(this._mesh.uuid,t,!1,!1),this._boundingBoxID=this._mesh.uuid,this.add(t)}MI.show(this,{withoutAdd:!0}),Ame.requestRendering()}dispose(){if(this._mesh&&this._mesh.uuid&&II.remove(this._mesh.uuid),this._lines&&this._lines.dispose&&this._lines.dispose(),this._mesh&&this._mesh.dispose&&this._mesh.dispose(),this._lineMaterial&&this._lineMaterial.dispose&&this._lineMaterial.dispose(),this._meshMaterial&&this._meshMaterial.dispose&&this._meshMaterial.dispose(),this._meshFaceMaterial&&this._meshFaceMaterial.length>0)for(let e=this._meshFaceMaterial.length-1;e>=0;e--)this._meshFaceMaterial[e]&&this._meshFaceMaterial[e].dispose&&(this._meshFaceMaterial[e].dispose(),delete this._meshFaceMaterial[e]);this._bbox&&(this._bbox.dispose(),this.remove(this._bbox)),delete this._lines,delete this._mesh,delete this._lineMaterial,delete this._meshMaterial,delete this._meshFaceMaterial}createCollisionObject(){const e=new Oi,t={positions:[],normals:[],indices:[],lastGroupStart:0,lastGroupCount:0};if(this._PO&&this._LI&&this._PL)for(let r=0;r<this._LI.length;r++){const n=Cp.DH2Vector3(this._PO[this._LI[r][0]]),i=Cp.DH2Vector3(this._PO[this._LI[r][1]]),o=n.clone().multiplyScalar(C),s=i.clone().multiplyScalar(C);EI.drawCylinder(t,o.toArray(),s.toArray(),18*C,8),e.addGroup(t.lastGroupStart,t.lastGroupCount,0),EI.drawSphere(t,o.toArray(),26*C,8),e.addGroup(t.lastGroupStart,t.lastGroupCount,1)}e.setAttribute("position",new ki(t.positions,3)),e.setAttribute("normal",new ki(t.normals,3)),e.setIndex(t.indices);const r=(new Qr).setFromArray(t.positions),n=new fr(0-r.min.x,0-r.min.y),i=new fr(r.max.x-r.min.x,r.max.y-r.min.y),o=[],s=t.positions.length/3;for(let e=0;e<s;e++)o.push((t.positions[3*e]+n.x)/i.x,(t.positions[3*e+1]+n.y)/i.y);e.setAttribute("uv",new ki(o,2)),Lde.checkForMaterials(["_global_DHMC_ErrorMaterialCollision"]).then(t=>{if(t&&1===t.length){const r=new Yi(e,t[0]);r.renderOrder=9999,this.add(r)}Ame.requestRendering()})}getLO(){return this._objectLO?this._objectLO:this.parent&&this.parent instanceof Dme?this.parent:(console.warn("No LO is found!"),null)}createSphereCorners(e,t,r=16*C){EI.drawSphere(e,t.toArray(),r||16*C,8)}createCylinderEdges(e,t,r,n=10*C){EI.drawCylinder(e,t.toArray(),r.toArray(),n||10*C,8)}createLineEdges(e){this._lines=DE.createSync(yp.createSync({vertices:e}),this._lineMaterial),this._lines.renderOrder=isNaN(this._style.lineRenderOrder)?999:this._style.lineRenderOrder,this.add(this._lines),this._instanced=!0}parseFaces(e){e.computeBoundingBox();const t=e.boundingBox.max,r=e.boundingBox.min,n=new fr(0-r.x,0-r.y),i=new fr(t.x-r.x,t.y-r.y),o=e.getAttribute("position").array,s=[];for(let e=0;e<o.length;e+=3){const t=new br(o[e],o[e+1],o[e+2]);s.push((t.x+n.x)/i.x,(t.y+n.y)/i.y)}return e.setAttribute("uv",new ki(s,2)),e}}var RI=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};const LI=new class{constructor(){this._verified=!1,this._events=[{eventName:"PropTransfer_afterDelete",event:"furnview.proptransfer_afterDelete"},{eventName:"PropTransfer_afterSet",event:"furnview.proptransfer_afterSet"},{eventName:"PropTransfer_beforeDelete",event:"furnview.PropTransfer_beforeDelete"},{eventName:"PropTransfer_beforeSet",event:"furnview.PropTransfer_beforeSet"},{eventName:"PropTransfer_afterStart",event:"furnview.PropTransfer_afterStart"},{eventName:"PossibleDestinationValues_afterSet",event:"furnview.PossibleDestinationValues_afterSet"},{eventName:"WallFitting_begin",event:"furnview.wallfitting_begin"},{eventName:"WallFitting_end",event:"furnview.wallfitting_end"},{eventName:"WallFitting_cancel",event:"furnview.wallfitting_cancel"},{eventName:"LastPOLoaded",event:"furnview.onLastPOLoaded"},{eventName:"VPlacerCancel",event:"furnview.onVPlacerCancel"},{eventName:"RefreshPropertyPanel",event:"furnview.refreshPropertyPanel"},{eventName:"ChangePrice",event:"furnview.changePrice"},{eventName:"DeleteLO_before",event:"furnview.deleteLO.before"},{eventName:"DeleteLO_after",event:"furnview.deleteLO.after"},{eventName:"CameraOnDirty",event:"furnview.cameraOnDirty"},{eventName:"CameraOnStart",event:"furnview.cameraOnStart"},{eventName:"CameraOnEnd",event:"furnview.cameraOnEnd"},{eventName:"SendEvent",event:"furnplan.sendEvent"},{eventName:"SelectionChanged",event:"furnview.onSelectionChanged"},{eventName:"ModalWindowShown",event:"furnview.modalWindowShown"},{eventName:"ModalWindowHidden",event:"furnview.modalWindowHidden"},{eventName:"CustomIcon_ExecuteCustomEvent",event:"furnview.CustomIcon_ExecuteCustomEvent"},{eventName:"ToolbarButtonStateToggled",event:"furnview.toolbarButtonStateToggled"}],this.initializeEvents()}verifyResponsibility(){this._verified=!0}initializeEvents(){this._events.forEach(e=>{this[e.eventName]={send:(t,r,n)=>RI(this,void 0,void 0,function*(){this._verified&&(t=t||[],yield upe.sendToApp(e.event,t,n?{command:`${e.event}_${zme.generateUUID()}`,callback:r}:void 0))}),register:t=>RI(this,void 0,void 0,function*(){yield upe.on(e.event,t)}),unregister:t=>RI(this,void 0,void 0,function*(){yield upe.off(e.event,t)})}})}};window.EventFactoryService=LI;var PI=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};const DI=new class{constructor(){this._initialized=!1,this._destinations=new Set,document.addEventListener("readystatechange",()=>{"complete"===document.readyState&&this.initialize()})}initialize(){this._initialized||(this._initialized=!0,lpe.register("SetPossibleDestinationValues",e=>{e.scene&&ape.loadArticleToScene(e.scene,!1,!0)},!0),lpe.register("ProcessMouseAction",e=>{e.scene&&ape.loadArticleToScene(e.scene)},!0),Rm.on("PossibleDestination",e=>PI(this,void 0,void 0,function*(){yield this.setDestinations(e.possibleDestinations)})))}processDestinations(){return PI(this,void 0,void 0,function*(){yield FI.clearMarker(!0,NI.POSSIBLE_DESTINATION,this._destinations),this._destinations.forEach(e=>{var t;const r=lae.get(e);r&&!FI.isMarked(r,NI.POSSIBLE_DESTINATION)&&(null===(t=FI.createMarker(r,{boxStyle:!0},NI.POSSIBLE_DESTINATION))||void 0===t||t.addEventListener("click",()=>PI(this,void 0,void 0,function*(){this.clickLO(e)&&Bde.RemoveMarkerBoxAfterTransfer&&(this._destinations.delete(e),yield FI.clearMarker(!0,NI.POSSIBLE_DESTINATION,this._destinations),0===this._destinations.size&&lpe.dispatch("ProcessMouseAction",{button:"right"}))})))})})}setDestinations(e){return PI(this,void 0,void 0,function*(){e?(this._destinations.forEach(t=>{e.includes(t)||this._destinations.delete(t)}),e.forEach(e=>{this._destinations.has(e)||this._destinations.add(e)})):this._destinations.clear(),yield this.processDestinations()})}clickLO(e){return!(!e||Yse.InteractionMode===Pp.FITTING)&&(lpe.dispatch("SetPossibleDestinationValues",{instanceIdents:[e]}),LI.PossibleDestinationValues_afterSet.send([{instanceIdents:[e]}]),!0)}reset(){this._destinations.size>0&&(this.setDestinations([]),lpe.dispatch("ProcessMouseAction",{button:"right"}))}};var NI;!function(e){e[e.ALL=-1]="ALL",e[e.NORMAL=0]="NORMAL",e[e.AUTO_PLACER=1]="AUTO_PLACER",e[e.INTERSECTION=2]="INTERSECTION",e[e.DELETE_PROPTRANSFER_ELEMENT=3]="DELETE_PROPTRANSFER_ELEMENT",e[e.DELETABLE=4]="DELETABLE",e[e.POSSIBLE_DESTINATION=5]="POSSIBLE_DESTINATION",e[e.SELECTION=6]="SELECTION",e[e.COLLISION=7]="COLLISION",e[e.HIGHLIGHT=8]="HIGHLIGHT",e[e.NONE=999999]="NONE"}(NI||(NI={}));const FI=new class extends qn{constructor(){super(),this._selectedMarkerIndex=-1,this.name="Marker",this.collisions=[],this._markerElements=[],this.onKeyboardEnter=this.onKeyboardEnter.bind(this),this.onKeyboardEscape=this.onKeyboardEscape.bind(this),this.onKeyboardLeftArrow=this.onKeyboardLeftArrow.bind(this),this.onKeyboardRightArrow=this.onKeyboardRightArrow.bind(this),this.addKeyboardEvents()}get MarkerElements(){return this._markerElements}initialize(){this._markerElements=[],this.collisions=[]}setMarkedElement(e){if(!Bde.VPlacer&&(Bde.AutoPlaceMarkerObject&&(this.removeMarker(Bde.AutoPlaceMarkerObject),Bde.AutoPlaceMarkerObject=null),e)){const t=lae.get(e);t&&(Bde.AutoPlaceMarkerObject=this.createMarker(t,{cylinderStyle:{color:new mi(0,0,255),side:2,transparent:!0,opacity:.8},sphereStyle:{color:new mi(0,0,255),side:2,transparent:!0,opacity:.2},lineStyle:null,meshRenderOrder:9998,lineRenderOrder:998},NI.AUTO_PLACER))}}removeMarker(e,t=NI.ALL){if(e instanceof TI){const t=this._markerElements.indexOf(e);if(-1!=t){const e=this._markerElements[t].getLO();this._markerElements[t].dispose(),e.remove(this._markerElements[t]),this._markerElements.splice(t,1)}}else{const r=this._markerElements.filter(r=>r.getLO()===e&&(r.Mode===t||t===NI.ALL));for(let e=r.length-1;e>=0;e--)this.removeMarker(r[e])}}createMarker(e,t,r=NI.NORMAL){if(!Bde.FurnplanInteractionMode&&e){let n=null;if((e.PP.length>0||e.markerObjects)&&t)return n=new TI(t,r),e.add(n),n.parse(e),n.createObject(),t.collisionLayout?this.collisions.push(n):this._markerElements.push(n),n;t&&!t.boxStyle||MI.show(e)}}changeMaterialOver(e){let t=.3,r=null;const n=new mi(0,1,0);e instanceof Bme&&e.CustomSettingEnabled&&(t=e.CustomSettings.transparency_hover,r=e.CustomSettings.color_hover,e.CustomSettings.line&&n.copy(e.CustomSettings.line_color_hover)),e.traverse(function(e){e instanceof As&&(e.material.color.r=n.r,e.material.color.g=n.g,e.material.color.b=n.b,e.needsUpdate=!0),e instanceof Yi&&(e.material.opacity=t,r&&e.material.color.copy(r))})}changeMaterialLeave(){this._markerElements.forEach(function(e){e.traverse(function(e){e instanceof As&&(e.material.color.r=77/255,e.material.color.g=179/255,e.material.color.b=77/255,e.needsUpdate=!0),e instanceof Yi&&(e.parent&&e.parent instanceof Bme&&e.parent.CustomSettingEnabled?(e.material.opacity=e.parent.CustomSettings.opacity||.1,e.parent.CustomSettings.color&&e.material.color.copy(e.parent.CustomSettings.color)):e.material.opacity=.1)})}),MI.traverse(e=>{e instanceof As&&(e.parent&&e.parent instanceof Bme&&e.parent.CustomSettingEnabled?e.parent.CustomSettings.line&&e.material.color.copy(e.parent.CustomSettings.line_color):(e.material.color.r=77/255,e.material.color.g=179/255,e.material.color.b=77/255),e.needsUpdate=!0),e instanceof Yi&&(e.parent&&e.parent instanceof Bme&&e.parent.CustomSettingEnabled?(e.material.opacity=e.parent.CustomSettings.opacity,e.material.color.copy(e.parent.CustomSettings.color)):e.material.opacity=.1)})}getElements(){let e=MI.getElements();return e=e.concat(this._markerElements),e}addMarker(e,t=NI.NORMAL){Bde&&Bde.MirrorEffect&&(Bde.MirrorEffect=!1),this.createMarker(e)}addSelection(e){this.isMarked(e,NI.SELECTION)||this.isMarked(e,NI.HIGHLIGHT)||this.createMarker(e,{oldLayout:!0,spheres:!0},NI.SELECTION)}addHighlight(e){this.isMarked(e,NI.SELECTION)||this.isMarked(e,NI.HIGHLIGHT)||this.createMarker(e,{oldLayout:!0,spheres:!0,meshFaceMaterial:[new kI({color:0,transparent:!0,opacity:0}),new kI({color:0,transparent:!0,opacity:0})]},NI.HIGHLIGHT)}addCollision(e){let t=null;return this.collisions.some(r=>(r.getLO()&&r.getLO()===e&&(t=r),r.getLO()&&r.getLO()===e))||(t=this.createMarker(e,{collisionLayout:!0,spheres:!0},NI.COLLISION)),t}clearMarker(e,t=NI.NORMAL,r){const n=this;if(e||MI.hideAll(),r&&0!==r.size||this.changeMaterialLeave(),n._markerElements)for(let e=n._markerElements.length-1;e>=0;e--)if(n._markerElements[e].Mode===t||t===NI.ALL){const t=n._markerElements[e]instanceof TI?n._markerElements[e]:n._markerElements[e].getLO();if(t&&r&&r.size>0){const e=t.getLO();if(e&&r.has(e.instanceIdent))continue}n._markerElements[e].dispose(),t&&t.remove(n._markerElements[e]),n._markerElements.splice(e,1)}MI.recycleElements()}clearCollision(e){const t=this;if(t.collisions&&t.collisions.length>0)for(let r=t.collisions.length-1;r>=0;r--){const n=t.collisions[r].pickObj||t.collisions[r]._objectLO;e&&e!==n||(n.remove(t.collisions[r]),t.collisions.splice(r,1))}}isMarked(e,t){return this._markerElements.some(r=>!(!t||t!==r.Mode||r.getLO()!==e)||!t&&r.getLO()===e)}getMarkerObject(e,t){return this._markerElements.find(r=>!(!t||t!==r.Mode||r.getLO()!==e)||!t&&r.getLO()===e)||null}addKeyboardEvents(){Fm.addUpKeyEvent(Jp.ENTER,this.onKeyboardEnter),Fm.addUpKeyEvent(Jp.ESCAPE,this.onKeyboardEscape),Fm.addUpKeyEvent(Jp.LEFT_ARROW,this.onKeyboardLeftArrow),Fm.addUpKeyEvent(Jp.RIGHT_ARROW,this.onKeyboardRightArrow)}onKeyboardEnter(){if(this._selectedMarkerIndex>=0&&this._markerElements.length>0){const e=this._markerElements[this._selectedMarkerIndex];e&&e.dispatchEvent({type:"click"})}else this._selectedMarkerIndex=-1}onKeyboardEscape(){this._selectedMarkerIndex=-1,this.clearMarker(!0,NI.ALL),DI.reset()}onKeyboardLeftArrow(e){!0===Fm.secondaryKeys.isCtrl&&!0===Fm.secondaryKeys.isAlt&&(0!==this._markerElements.length?(e.preventDefault(),e.stopPropagation(),this._selectedMarkerIndex=(this._selectedMarkerIndex-1+this._markerElements.length)%this._markerElements.length,this.keyboardSelectMarker(this._markerElements[this._selectedMarkerIndex])):this._selectedMarkerIndex=-1)}onKeyboardRightArrow(e){!0===Fm.secondaryKeys.isCtrl&&!0===Fm.secondaryKeys.isAlt&&(0!==this._markerElements.length?(e.preventDefault(),e.stopPropagation(),this._selectedMarkerIndex=(this._selectedMarkerIndex+1)%this._markerElements.length,this.keyboardSelectMarker(this._markerElements[this._selectedMarkerIndex])):this._selectedMarkerIndex=-1)}keyboardSelectMarker(e){this.changeMaterialLeave(),e&&e.Mode==NI.POSSIBLE_DESTINATION&&(this.changeMaterialOver(e),Ame.requestRendering())}};class OI{constructor(e,t){this.hid="",this.efn=null,this.InstanceID=0,this.mHash=null,this.pHash=null,this.jsn=null,this.parentID=null,this.pt_id=null,this.text=null,this.hierarchy={},this.hid=zme.createHash(),this.text=e.text||"",this.efn=e.EFN||e.pt_id||"",this.InstanceID=+e.II||0,this.mHash=e.m_hash||"",this.pHash=e.p_hash||"",this.hierarchy=t,e.jsn?this.jsn=e.jsn||"":this.pt_id=e.pt_id||"",this.parentID=e.parentID||"",t.addOrGetObjByID(this.hid,this.parentID,this)}static build(e,t){return new OI}buildDOM(){const e=$("<div></div>").addClass("delete-class");Wp.getType()!==Mp.MOBILE&&e.hover(e=>{if(!$(e.currentTarget.parentElement).hasClass("animating")&&$(e.currentTarget.parentElement).hasClass("active")){FI.clearMarker(!0,NI.DELETE_PROPTRANSFER_ELEMENT);const e=lae.get(this.InstanceID);FI.createMarker(e,{boxStyle:!0},NI.DELETE_PROPTRANSFER_ELEMENT)}},e=>{!$(e.currentTarget.parentElement).hasClass("animating")&&$(e.currentTarget.parentElement).hasClass("active")}),e.data("element",this);const t=$("<div></div>").addClass("delete-title"),r=($("<p></p>").text(this.text).appendTo(t),$("<div></div>").addClass("delete-trash").data("reference",this));return $("<i></i>").addClass("icon big trash").appendTo(r).click(e=>{FI.clearMarker(!0,NI.DELETE_PROPTRANSFER_ELEMENT);const t=lae.get(this.InstanceID);if(this.jsn)t.parent&&ape.deleteLO([t.parent.guid]).then(()=>this.hierarchy.checkElements().then(()=>!0)).then(()=>ape.getPropDelElems().then(e=>{if(e&&e.Results&&e.Results.length>0){this.hierarchy.addOrGetObjByID(this.parentID).removeChild(this.hid),fme.InteriorDesign.update(this.hierarchy)}else fme.InteriorDesign.setCurrentType()}));else if(this.pt_id){this.hierarchy.addOrGetObjByID(this.parentID).removeChild(this.hid),ape.DelPropTransfer({pt_id:this.pt_id,mHash:this.mHash,pHash:this.pHash,II:[this.InstanceID]}).then(()=>ape.getPropDelElems().then(e=>{e&&e.Results&&e.Results.length>0?fme.InteriorDesign.update(this.hierarchy,fme.InteriorDesign.Revision):fme.InteriorDesign.setCurrentType()}))}e.stopPropagation(),e.preventDefault()}),e.append(t),e.append(r),e}}class BI{constructor(e,t){this.hid="",this.pt_id="",this.jsn="",this.groupUIKey="",this.parentID="",this.groupTextID="",this.groupImage="",this.children={},this.isOpened=!1,this.index=0,this.hierarchy={},this.hid=zme.createHash(),this.isOpened=!1,this.index=0,this.jsn=e.jsn,this.pt_id=e.pt_id,this.groupUIKey=e.GKey,this.groupTextID=e.GTID,this.groupImage=e.GI,this.parentID=e.parentID,this.hierarchy=t,t.addOrGetObjByID(this.hid,this.parentID,this)}static build(e,t){return new BI(e,t)}removeChild(e){this.children[e]&&(this.hierarchy.removeElement(e),delete this.children[e])}buildDOM(e){const t=$("<div></div>").addClass("group-class");t.data("group",this);const r=$("<div></div>").addClass("group-div"),n=$("<div></div>").addClass("group-img"),i=$("<i></i>").addClass("delete-dropdown dropdown icon");$('<img alt="" src="">').appendTo(n),this.groupImage&&n.css("background","url("+this.groupImage+") no-repeat center center");const o=$("<div></div>").addClass("delete-group-title"),s=$("<p></p>").appendTo(o).text(this.groupTextID),a=$("<div></div>").addClass("delete-group-counter"),l=$("<div></div>").addClass("delete-trash-div").appendTo(a);$("<i></i>").addClass("icon trash big").appendTo(l).click(function(e){if(FI.clearMarker(!0,NI.DELETE_PROPTRANSFER_ELEMENT),d.jsn){const e=[];Object.keys(d.children).forEach(function(t){const r=d.children[t],n=lae.get(r.InstanceID);n&&n.parent&&e.push(n.parent.guid)}),ape.deleteLO(e).then(function(){return d.hierarchy.checkElements().then(function(){return!0})}).then(function(){return ape.getPropDelElems().then(function(e){e&&e.Results&&e.Results.length>0?fme.InteriorDesign.update(d.hierarchy):fme.InteriorDesign.setCurrentType()})})}else Object.keys(d.children).forEach(function(e){const t=d.children[e];ape.DelPropTransfer({pt_id:t.pt_id,mHash:t.mHash,pHash:t.pHash,II:[t.InstanceID]}).then(function(){fme.InteriorDesign.setCurrentType()})}),d.hierarchy.removeElement(d.hid);e.stopPropagation(),e.preventDefault()});const c=$("<div></div>").addClass("delete-counter").appendTo(a);$("<p></p>").appendTo(c).text(Object.keys(this.children).length);const u=$("<div></div>").addClass("child-Elements"),d=this;let h=Object.keys(this.children);return h=h.reverse(),h.map(function(e,t){const r=d.children[e].buildDOM();0===t&&d.groupImage&&r.css("border-top","1px solid grey"),h.length-1>t&&r.css("border-bottom","1px solid grey"),u.append(r)}),r.append(n),r.append(o),r.append(a),r.data("element",this),e&&(r.addClass("title"),c.append(i),u.addClass("content")),""!==s.text()&&this.groupTextID||""!==this.groupImage&&this.groupImage||r.css("display","none"),t.append(r),Object.keys(this.children).length>0?(t.append(u),t):null}onOpening(e){this.index=e,$(".group-div").each(function(e,t){$(t).data("element").isOpened=!1});const t=()=>{FI.clearMarker(!0,NI.DELETE_PROPTRANSFER_ELEMENT),Object.keys(this.children).forEach(e=>{const r=this.children[e];r.backToGroup=t;const n=lae.get(r.InstanceID);FI.createMarker(n,{boxStyle:!0},NI.DELETE_PROPTRANSFER_ELEMENT)})};this.isOpened=!0,t()}onClosing(e){this.index=e,this.isOpened=!1,FI.clearMarker(!0,NI.DELETE_PROPTRANSFER_ELEMENT)}}var UI;!function(e){e[e.NONE=0]="NONE",e[e.Horizontal=1]="Horizontal",e[e.Vertical=2]="Vertical"}(UI||(UI={}));class VI{constructor(e,t){this._isDragging=!1,this._dragImage="",this._startPosition={x:0,y:0},this._currentPosition={x:0,y:0},this.currentElement=null,this.parentList=null,this.isClickDnD=!1,this.isWithoutDrag=!1,this.isSingleSelection=!1,this.settings=null,this._cancelDirection=UI.Vertical,this.clearDragDrop=()=>{this.currentElement&&(this.currentElement.ClickDragDrop.Clear(),$(fme.RenderDiv).off("mousemove touchmove",this.onMouseMove),this.currentElement.off("mousemove touchmove",this.onMouseMove)),VI.status="",this.isClickDnD=!1,this._isDragging=!1,$(fme.RenderDiv).off("mousedown touchstart",this.onMouseDown),$(document).off("mouseup touchend",this.onMouseUp),0===$le.Count&&Yse.InteractionMode!==Pp.REPLACE_FITTING&&FI.clearMarker()},this.getPosition=e=>{let t=(e=e.originalEvent||e).pageX,r=e.pageY;return e.touches&&e.touches.length>0&&(t=e.touches[0].pageX,r=e.touches[0].pageY),{x:t,y:r}},this.startFunc=()=>{if(this.parentList){this.parentList.css("overflow-y","hidden"),this.parentList.css("touch-action","none");const e=this.currentElement.find("img");e&&e.length>0&&(e[0].ondragstart=e=>(e.preventDefault(),!1),e.css("-webkit-user-select","none"),e.css("user-select","none"),e.css("-moz-user-select","none"),e.css("-ms-user-select","none"),e.css("-webkit-user-drag","none"),e.attr("draggable",!1))}hse.setDragImage(this._dragImage)},this.endFunc=()=>{if(this.parentList){this.parentList.css("overflow-y","auto"),this.parentList.css("touch-action","pan-y");const e=this.currentElement.find("img");e&&e.length}hse.setDragImage("")},this.onMouseDown=e=>{var t;if(!Yse.IsIntersected&&Yse.SceneAction&&(null===(t=Yse.SceneAction)||void 0===t?void 0:t.CanUseCamera))Yse.IsFloorIntersection&&this.currentElement.ClickDragDrop.stopDragging(e,this.currentElement);else if(e.preventDefault(),e.stopPropagation(),this.startFunc(),this._startPosition=this.getPosition(e),this._currentPosition=this._startPosition,0===e.button||!e.button||e.touches&&e.touches.length>0||e.changedTouches&&e.changedTouches.length>0){if(VI.lastClickDnD&&VI.lastClickDnD!==this&&VI.lastClickDnD.clearDragDrop(),Yse.onDown(e),!this.currentElement||!this.currentElement.ClickDragDrop)return;if(this.currentElement.ClickDragDrop.beforeMouseDown(e,this.currentElement),$(fme.RenderDiv).off("mousedown touchstart",this.onMouseDown),$(document).off("mouseup touchend",this.onMouseUp),$(this.currentElement).off("mousemove touchmove",this.onMouseMove),$(fme.RenderDiv).off("mousemove touchmove",this.onMouseMove),$(document).on("mouseup touchend",this.onMouseUp),$(window).on("mouseleave touchcancel",this.onMouseLeave),this.isSingleSelection)return;(this.settings.isDrag||this.settings.isClickDnD)&&($(this.currentElement).on("mousemove touchmove",this.onMouseMove),$(fme.RenderDiv).on("mousemove touchmove",this.onMouseMove),hse.IsDragging&&this.onDragMove(e)),this.currentElement.ClickDragDrop.afterMouseDown(e,this.currentElement)}},this.onMouseUp=(e,t)=>{if(e.preventDefault(),e.stopPropagation(),VI.lastClickDnD&&VI.lastClickDnD!==this&&VI.lastClickDnD.clearDragDrop(),this.currentElement&&this.currentElement.ClickDragDrop){if(this.currentElement.ClickDragDrop.beforeMouseUp(e,this.currentElement),e){if(Wp.getType()===Mp.DESKTOP&&e.target===this.currentElement[0]&&VI.lastClickDnD&&VI.lastClickDnD===this)return;e.stopPropagation(),e.preventDefault()}if(this.currentElement&&this.currentElement.ClickDragDrop){if(VI.status="",!t){if(this.isSingleSelection)return void this.onVClick(e);this.settings.isDrag?this._isDragging?(this._isDragging=!1,kse.isCanvas()&&VI.lastClickDnD===this&&(VI.lastClickDnD=null,this.currentElement.ClickDragDrop.stopDragging(e,this.currentElement)),FI.clearMarker()):this.onVClick(e):Yse.IsMoving||this.onVClick(e)}$(this.currentElement).off("mousemove touchmove",this.onMouseMove),$(fme.RenderDiv).off("mousemove touchmove",this.onMouseMove),this.settings.isClickDnD&&$(fme.RenderDiv).off("mouseup touchend",this.onMouseUp),$(document).off("mouseup touchend",this.onMouseUp),this.endFunc(),this.currentElement&&this.currentElement.ClickDragDrop&&this.currentElement.ClickDragDrop.afterMouseUp(e,this.currentElement)}}},this.onMouseLeave=e=>{this.currentElement&&this.currentElement.ClickDragDrop&&(this.currentElement.ClickDragDrop.beforeMouseLeave(e,this.currentElement),this.currentElement.ClickDragDrop.afterMouseLeave(e,this.currentElement))},this.onDragMove=e=>{if(!this._isDragging&&(this.settings.isDrag||this.settings.isClickDnD)){if(this._isDragging=!0,VI.status="dragged",e.target===this.currentElement[0]&&VI.lastClickDnD&&VI.lastClickDnD===this)return;VI.lastClickDnD=this,this.currentElement.ClickDragDrop.startDragging(e,this.currentElement)}},this.onMouseMove=e=>{this._currentPosition=this.getPosition(e),e.target!==fme.RenderDiv&&(Wp.getType()===Mp.MOBILE||e.originalEvent.touches)&&this.getDirection()===this._cancelDirection||this.getDirection()===UI.NONE&&!this._isDragging?this.onMouseUp(null,!0):(e.stopPropagation(),e.preventDefault(),this.onDragMove(e),(this._isDragging||this.isClickDnD)&&Yse.onMove(e))},this.onVClick=e=>{if(e.stopPropagation(),e.preventDefault(),this.currentElement&&this.currentElement.ClickDragDrop){if(this.isSingleSelection)return $(this.currentElement).off("mousemove touchmove",this.onMouseMove),$(fme.RenderDiv).off("mousemove touchmove",this.onMouseMove),$(fme.RenderDiv).off("mouseup touchend",this.onMouseUp),$(fme.RenderDiv).off("mousedown touchstart",this.onMouseDown),$(document).off("mouseup touchend",this.onMouseUp),void this.currentElement.ClickDragDrop.stopDragging(e,this.currentElement);if(this.isClickDnD&&this.settings.isDrag)VI.lastClickDnD===this&&(VI.lastClickDnD=null),this.isClickDnD=!1,$(fme.RenderDiv).off("mousedown touchstart",this.onMouseDown),this.currentElement.ClickDragDrop.stopDragging(e,this.currentElement);else{if($(".proptransfer-class.selected").removeClass("selected"),VI.status="clicked",this._isDragging=!1,Wp.getType()===Mp.MOBILE&&(this.isClickDnD=!0),e.target===this.currentElement[0]&&VI.lastClickDnD&&VI.lastClickDnD===this)return;VI.lastClickDnD=this,this.currentElement&&this.currentElement.ClickDragDrop&&!this.currentElement.ClickDragDrop.clicked(e,this.currentElement)&&(this.settings.isClickDnD&&this.settings.isDrag?$(fme.RenderDiv).on("mousedown touchstart",this.onMouseDown):(VI.lastClickDnD===this&&(VI.lastClickDnD=null),this.isClickDnD=!1,$(fme.RenderDiv).off("mousedown touchstart",this.onMouseDown)))}}},void 0!==g_configuration.dragdrop_canceldirection&&(this._cancelDirection=+g_configuration.dragdrop_canceldirection),this._dragImage=t.dragImage,this.currentElement=e,this.settings=t,this.isClickDnD=!1,this.isSingleSelection=t.isSingleSelection||!1,this._isDragging=!1,this.parentList=t.parentList||null,this.isWithoutDrag=t.isWithoutDrag,this.currentElement.css("-webkit-user-select","none"),this.currentElement.css("user-select","none"),this.currentElement.css("-moz-user-select","none"),this.currentElement.css("-ms-user-select","none"),this.currentElement.css("-webkit-user-drag","none"),this.currentElement.prop("draggable",!1),this.initDragDrop()}get IsDragging(){return this._isDragging}static create(e,t){return new VI(e,t)}static clearLastIfNecessary(){const e=VI.lastClickDnD;e&&e.clearDragDrop(),VI.lastClickDnD=null}resetStatus(){VI.status=""}getLength(){return Math.sqrt((this._currentPosition.x-this._startPosition.x)*(this._currentPosition.x-this._startPosition.x)+(this._currentPosition.y-this._startPosition.y)*(this._currentPosition.y-this._startPosition.y))}getDirection(){const e=this.getLength(),t=Math.abs((this._startPosition.x-this._currentPosition.x)/e),r=Math.abs((this._startPosition.y-this._currentPosition.y)/e);return t>0&&t>r&&r<.5?UI.Horizontal:r>0&&r>t&&t<.5?UI.Vertical:void 0}initDragDrop(){this.currentElement.cdndInstance=this,this.currentElement.ClickDragDrop={clicked:function(){},startDragging:function(){},stopDragging:function(){},Dragging:function(){},Clear:function(){},afterMouseUp:function(){},afterMouseDown:function(){},afterMouseLeave:function(){},beforeMouseUp:function(){},beforeMouseDown:function(){},beforeMouseLeave:function(){}},this.currentElement.on("mousedown touchstart",this.onMouseDown)}}VI.status="",VI.lastClickDnD=null,window._ClickDragDrop=VI;class zI{constructor(e){this.htmlElement=null,this.handler=null,this.handler=e,this.htmlElement=$("<div></div>").addClass("back-button").append($("<i></i>").attr("class","large arrow circle left icon")),this.htmlElement.on("vclick",e=>{this.onClick(e)}),this.hide()}getHtmlElement(){return this.htmlElement}onClick(e){e.preventDefault(),this.handler.navigateBack()}hide(){this.htmlElement.off("vclick"),this.htmlElement.parent().addClass("dhmc-hidden"),this.htmlElement.addClass("dhmc-hidden")}show(){this.htmlElement.off("vclick"),this.htmlElement.on("vclick",e=>{this.onClick(e)}),this.htmlElement.parent().removeClass("dhmc-hidden"),this.htmlElement.removeClass("dhmc-hidden")}}var HI=(e=>(e[e.NORMAL=0]="NORMAL",e[e.UNSET=1]="UNSET",e[e.MULTI_SELECT=2]="MULTI_SELECT",e[e.INVISIBLE=4]="INVISIBLE",e[e.IRRELEVANT=8]="IRRELEVANT",e))(HI||{}),GI=(e=>(e[e.UNSET=0]="UNSET",e[e.WORLD=1]="WORLD",e[e.SELECTION=2]="SELECTION",e[e.PROPERTY_PICK=3]="PROPERTY_PICK",e[e.VIRTUAL=4]="VIRTUAL",e[e.MAJORITY=5]="MAJORITY",e))(GI||{});const jI=new class extends _{constructor(){super(),m.mainInstanceRegistered(e=>this.setCommunicator(e))}onMerkmalUpdates(e){return this.listen("fp","MerkmalDataChanged",e)}onMerkmalContentUpdates(e){return this.listen("fp","MerkmalContentChanged",e)}initMerkmalData(e){return this.request("fp","InitMerkmalData",e)}getContextData(e,t){return this.request("fp","GetContextData",{contextId:e,options:t})}getMerkmalUiData(e){return this.request("fp","GetMerkmalUiData",{contextIds:e})}reloadMerkmalUiData(e){return this.request("fp","ReloadMerkmalUiData",{contextIds:e})}switchMerkmalTransferLevel(e){return this.request("fp","SwitchMerkmalTransferLevel",e)}switchMerkmalValue(e){return this.request("fp","SwitchMerkmalValue",e)}transferMerkmalGlobal(e){return this.request("fp","TransferMerkmalGlobal",e)}switchMerkmalGlobalTransfer(e){return this.send("fp","SwitchMerkmalGlobalTransfer",e)}disposeMerkmalContext(e){return this.send("fp","DisposeMerkmalContext",{contextIds:e})}runFinishParamsFilter(e){return this.request("fp","RunFinishParamsFilter",e)}};function JI(e,t,r){const n=[],i=e=>null!==e&&"object"==typeof e&&!Array.isArray(e),o=(e,t)=>{const r=Object.keys(e),n=Object.keys(t);return r.length===n.length&&r.every(r=>e[r]===t[r])};for(const s of r){let r,a,l,c,u;"string"==typeof s?(r=s,a=s):(r=s.key,a=s.target??s.key,l=s.map,c=s.filter,u=s.fallback);let d,h=t[r];if(void 0===h){if(void 0===u)continue;h=u}if(l)d=l(t,e);else if(c&&i(h)&&i(e[a])){const t={...e[a]};for(const e of c)void 0!==h[e]&&(t[e]=h[e]);d=t}else d=i(h)&&i(e[a])?{...e[a],...h}:h;const p=e[a];if(!(i(d)&&i(p)?o(p,d):p===d)){const t=Object.getOwnPropertyDescriptor(Object.getPrototypeOf(e),a);t?.set?t.set.call(e,d):e[a]=d,n.push(a)}}return n}class WI{constructor(t,r){this.changes=new e,this.merkmal=t,this.value=r.value,this.text=r.text,this.image=r.image,this.flags=r.flags,this.tooltip=r.tooltip,this.colorPickerData=r.colorPickerData}#e;get refCount(){return this.#e}set refCount(e){this.#e=e}get selected(){return this.merkmal.selected==this}update(e){const t=JI(this,e,[{key:"refCount",fallback:0},"colorPickerData"]);return t.length&&this.changes.emit(t),t.length>0}select(e){this.merkmal.setValue(this,e),e&&this.update({colorPickerData:e.color})}applyAddData(e){this.merkmal.setValue(this)}getImagePath(){return"#DH_OHNE"===this.image?"/_global/_global/html/h/css/images/DH_OHNE.png":this.image?"/"+this.merkmal.context.manufacturer+"/_global/ausf-images/"+this.image:this.colorPickerData?"/_global/_global/textures/DH_AUSF_TRANSPARENT.png":""}}class QI{constructor(t,r,n){this.changes=new e,this.___dynamicData=r.dynamicData,this.___staticOptionData=r.staticOptionData,this.context=t,this.id=r.id,this.title=r.title,this.optionList=r.staticOptionData.map(e=>new WI(this,e)),this.uiGroups=r.uiGroups,this.update(r.dynamicData),n&&(this.#t=Object.entries(n).map(([e,t])=>({id:e,text:t.text,state:0,values:Object.entries(t.values).map(([e,t])=>({id:e,text:t.text,state:0}))})))}#r;#n;#i;#o;#s;#a;#t;get selected(){return this.#r}set selected(e){this.#r=e}set status(e){this.#n=e}get relevantCount(){return this.#i}set relevantCount(e){this.#i=e}get isGlobalTransferPrevented(){return this.#o}set isGlobalTransferPrevented(e){this.#o=e}get possibleGlobalTransferTargets(){return this.#s}set possibleGlobalTransferTargets(e){this.#s=e}get filteredList(){return this.#a}set filteredList(e){this.#a=e}get filter(){return this.#t}set filter(e){this.#t=e}update(e){this.___dynamicData=e;let t=!1;const r=JI(this,e,["status","isGlobalTransferPrevented","possibleGlobalTransferTargets",{key:"totalCount",target:"relevantCount"},{key:"index",target:"selected",map:e=>this.optionList[e.optionList[e.index]?.index]||null},{key:"optionList",target:"filteredList",map:e=>e.optionList.map(e=>{const r=this.optionList[e.index];return r.update(e)&&(t=!0),r})}]);return r.length&&(t=!0,this.changes.emit(r)),t}async setValue(e,t){let r;r="number"==typeof e?this.#a[e]:"string"==typeof e?this.#a.find(t=>t.value==e):e;const n=this.#a.indexOf(r);this.#r=r,this.changes.emit(["selected"]);const i=await jI.switchMerkmalValue({contextId:this.context.id,key:this.id,index:n,payload:t});this.context.update(i,!0)}isRelevant(){return this.#n&HI.IRRELEVANT}isVisible(){return!(this.#n&(HI.INVISIBLE|HI.IRRELEVANT))&&(0!==this.#a.length&&1!==this.#a.length)}getFinishParamValue(e){for(const t of this.#t){const r=t.values.find(t=>t.id===e);if(r)return r}return null}async runFinishParamsFilter(e,t){const r=await jI.runFinishParamsFilter({contextId:this.context.id,merkmalId:this.id,filter:e,static:t});return{groups:r.itemGroups.map(e=>({textList:e.filter.map(e=>this.getFinishParamValue(e).text),options:e.items.map(e=>this.optionList.find(t=>t.value==e))})).filter(e=>!!e),filter:r.filterGroups}}}const qI=new class{constructor(){this._contextStore=new Map,this._pending=new Map,this._changesSub=null,this._contentSub=null}triggerUpdate(e){this._contentChanges&&e.length&&(console.log("merkmal-store: data changed:",e),this._contentChanges.emit(e,[...this._contextStore.values()]))}merkmalDataChanged(e){const t=[];for(const[r,n]of Object.entries(e)){const e=this._contextStore.get(r);e&&e.update(n)&&t.push(e)}this.triggerUpdate(t)}getContext(e){return this._contextStore.get(e)||null}resolveContext(e){return this._contextStore.get(e)||this._pending.get(e)||null}loadContext(e,t){let r=this.getContext(e);return r||(async()=>{const r=await jI.getContextData(e,t);return this._addContext(r)})()}activateContentContext(){return this._contentChanges||(this._contentChanges=new e),this._changesSub||(this._changesSub=jI.onMerkmalUpdates(e=>{this.merkmalDataChanged(e)})),jI.getContextData("*").then(e=>{const t=e;if(Array.isArray(t.contextList)&&t.contextList.length>0){console.log("merkmal-store: new context received (fetched):",t.contextList);const e=t.contextList.map(e=>{const t=new YI(e);return this._contextStore.set(e.id,t),t});this.triggerUpdate(e)}}),this._contentSub||(this._contentSub=jI.onMerkmalContentUpdates(e=>{let t=[];if(e.created&&(console.log("merkmal-store: new context received:",e.created),t=e.created.map(e=>{const t=new YI(e);return this._contextStore.set(e.id,t),t})),e.disposed){console.log("merkmal-store: old context removed:",e.disposed);for(const t of e.disposed)this._contextStore.get(t)?.dispose(!0),this._contextStore.delete(t)}e.current&&(this._currentContextId=e.current),this.triggerUpdate(t)})),this._contentChanges}async activateCurrentContext(){if(!this._contentChanges)throw new Error("current context needs content context enabled!");if(this._currentContextId){const e=this.getContext(this._currentContextId);if(e)return e}await jI.getContextData("*current");return this.getContext(this._currentContextId)}async deactivateContentContext(){this._contentSub&&(this._contentSub.unsubscribe(),this._contentSub=void 0),this._changesSub&&0===this._contextStore.size&&(this._changesSub.unsubscribe(),this._changesSub=void 0)}createContext(e){const t=e.id,r=this.getContext(t);if(r)return r;const n=jI.initMerkmalData({contextList:[e]}).then(e=>this._addContext(e[t],t)).finally(()=>{this._pending.delete(t)});return this._pending.set(t,n),n}createStdProgramInitilizer(e,t,r,n){return{id:`${e}#${t}`,manu:e,prog:t,options:{initializer:{type:"center",centerIds:r},filter:n?{article:n}:void 0}}}createStdPropTransferInitilizer(e,t,r,n){return{id:`PT#${e}#${t}#${r}`,manu:e,prog:t,options:{initializer:{type:"ptm",ptId:r},filter:n?{article:n}:void 0}}}createStdArticleInitilizer(e,t,r){return{id:`ART#${e}#${t}#${Array.isArray(r)?r.map(e=>e.toUpperCase()).join("#"):r.toUpperCase()}`,manu:e,prog:t,options:{initializer:{type:"center"},filter:{article:r}}}}createStdShoppingCartInitilizer(e,t,r){return{id:`VART#${e}#${t}#${r.toUpperCase()}`,manu:e,prog:t,options:{initializer:{type:"vart",article:r}}}}disposeContext(e){this._contextStore.has(e)&&(this._contextStore.get(e).dispose(!0),this._contextStore.delete(e)&&(jI.disposeMerkmalContext([e]),this._contextStore.size<1&&this._changesSub&&!this._contentChanges&&(this._changesSub.unsubscribe(),this._changesSub=void 0)))}_addContext(e,t){if(!e||0==Object.keys(e).length)return null;t&&e.id!==t&&console.error(`[MerkmalStore] context id ${e.id} doesn't matches request id ${t}`);const r=new YI(e);return this._contextStore.set(e.id,r),this._changesSub||(this._changesSub=jI.onMerkmalUpdates(e=>{this.merkmalDataChanged(e)})),r}all(){return[...this._contextStore.values()]}};globalThis.merkmalStore=qI;class YI{constructor(t){this.changes=new e,this.___staticData=t,this.id=t.id,this.manufacturer=t.manu,this.program=t.prog,this.isContextBasedSystem=!!t.isContextBasedSystem,this.#l={hasPartProperties:t.headOptions?.hasPartProperties??!0,level:t.headOptions?.level??GI.WORLD,initializer:t.headOptions?.initializer??"unknown"},this.colorPickerBlacklists=t.colorPickerBlacklists||{},this.finparas=t.finparas||{},this.merkmalList=t.merkmale.map(e=>new QI(this,e,t.finparas?.[e.id])),this.uiGroups=(t.uiGroups??[]).map(e=>({id:e.id,name:e.name,img:e.img,merkmale:e.merkmale.map(e=>({merkmal:this.getMerkmal(e.id),title:e.title,preventImg:e.preventImg,infoText:e.infoText})).filter(e=>e.merkmal)})).filter(e=>e.merkmale.length)}#l;get headOptions(){return this.#l}set headOptions(e){this.#l=e}dispose(e=!1){if(e){this.changes.dispose();for(const e of this.merkmalList){e.changes.dispose();for(const t of e.optionList)t.changes.dispose()}}else qI.disposeContext(this.id)}update(e,t=!1){const r=JI(this,e,[{key:"headOptions",filter:["hasPartProperties","level"]}]);let n=r.length>0;for(const t in e)if(Object.prototype.hasOwnProperty.call(e,t)){const r=e[t],i=this.merkmalList.find(e=>e.id===+t);i&&i.update(r)&&(n=!0)}return r.length&&this.changes.emit(r),t&&qI.triggerUpdate([this]),n}getMerkmal(e){return this.merkmalList.find(t=>t.id===e)}async switchLevel(e){const t=await jI.switchMerkmalTransferLevel({contextId:this.id,level:e,holdLocalValues:!1});this.update(t)}getGroup(e){return this.uiGroups.find(t=>t.id===e)}copyUiGroups(){return structuredClone(this.uiGroups)}}function XI(e,t=8){let r=0;const n=e.toLowerCase();for(let e=0;e<n.length;e++){r=n.charCodeAt(e)+(r<<6)+(r<<16)-r>>>0}return r.toString(16).slice(-t)}function KI(e){return Array.isArray(e)?e.map(KI).filter(e=>void 0!==e):null!==e&&"object"==typeof e?Object.fromEntries(Object.entries(e).filter(([e,t])=>void 0!==t).map(([e,t])=>[e,KI(t)])):e}function ZI(e){let t=e.lastIndexOf("/");return-1===t&&(t=e.lastIndexOf("\\")),e.substring(t+1)}const eM=new class{constructor(){this.merkmalStore=qI,this._urlPrefix="",this.onChanges=qI.activateContentContext()}setAccessList(e){this._accessList=e}checkAccess(e){return!this._accessList||(this._accessList.type?this._accessList.keys.includes(e):!this._accessList.keys.includes(e))}setUrlPrefix(e){this._urlPrefix=e}filterContextList(e,t){return qI.all().filter(r=>!(e&&r.manufacturer!==e||t&&r.program.toLowerCase()!==t.toLowerCase()||"content"!=r.headOptions.initializer))}getManufacturerModels(e,t){return{children:e.reduce((e,r)=>(e[r.manufacturer]||(e[r.manufacturer]={manufacturerHash:XI(r.manufacturer),manufacturerName:r.manufacturer,children:{}}),e[r.manufacturer].children[r.program]=this.contextToProgramModel(r,t),e),{})}}getProgramModels(e,t){return Object.fromEntries(e.map(e=>[e.program,this.contextToProgramModel(e,t)]))}parseProgramToLegacyStructure(e,t,r){if(t&&!r?.fullHierarchy)return this.getProgramModels(this.filterContextList(e,t),r)[t];const n=this.getManufacturerModels(this.filterContextList(e),r);return e&&!r?.fullHierarchy?n.children[e]:n||{children:{}}}contextToProgramModel(e,t){let r=e.merkmalList;return!1!==t?.useRelevant&&(r=r.filter(e=>e.isVisible())),!t?.ignoreAccess&&this._accessList&&(r=r.filter(e=>this.checkAccess(this.getMerkmalFvKey(e)))),KI({programName:e.program,programHash:XI(e.program),programID:e.program,programLongName:"",children:Object.fromEntries(r.map(e=>{let r=e.filteredList;!t?.ignoreAccess&&this._accessList&&(r=r.filter(e=>this.checkAccess(this.getOptionFvKey(e))));const n=this.getMerkmalFvKey(e);return[n,{colorPicker:r.find(e=>e.colorPickerData)?.colorPickerData,children:Object.fromEntries(r.map(e=>{const t=this.getOptionFvKey(e);return[t,{colorPicker:structuredClone(e.colorPickerData),alternativeImage:e.image,alternativeImageUrl:e.image?this._urlPrefix+e.getImagePath():"",key:e.value,materials:[],name:e.text,propertyKey:t,toolTipData:e.tooltip?.data,toolTipType:e.tooltip?.type,sequenceNo:void 0}]})),currentToolTipData:e.selected?.tooltip?.data,currentToolTipType:e.selected?.tooltip?.type,currentValue:e.selected?this.getOptionFvKey(e.selected):"",name:e.title,id:e.id.toString(),key:n,sequenceNo:-1}]})),keys:e.merkmalList.map(e=>e.id.toString()),propertyKeyOrder:r.map(e=>this.getMerkmalFvKey(e))})}async getProgram(e){return this.parseProgramToLegacyStructure(e.manufacturer,e.program,{fullHierarchy:e.fullHierarchy,useRelevant:e.useRelevant,ignoreAccess:e.ignoreAccess})||{children:{}}}async getContext(e){let t=qI.all().filter(e=>e.isContextBasedSystem);switch(e.filterStrategy){case 1:t=t.filter(e=>"content"===e.headOptions.initializer);break;case 2:t=t.filter(e=>"ptm"===e.headOptions.initializer)}return{children:Object.fromEntries(t.map(e=>[e.id,{contextId:e.id,manufacturerHash:XI(e.manufacturer),manufacturerName:e.manufacturer,children:Object.fromEntries([[e.program,this.contextToProgramModel(e)]])}]))}}getMerkmalFvKey(e){const t=e.context;return`${t.manufacturer}_${t.program}_${e.id}`.toLowerCase()}getOptionFvKey(e){const t=e.merkmal,r=t.context;return`${r.manufacturer}_${r.program}_${e.value}_${t.id}`.toLowerCase()}async getCurrentValues(e){return Object.fromEntries(this.filterContextList(e.manufacturer,e.program).map(t=>[`${t.manufacturer}_${t.program}`,t.uiGroups.map(t=>{let r=t.merkmale;return!e.ignoreAccess&&this._accessList&&(r=r.filter(e=>this.checkAccess(this.getMerkmalFvKey(e.merkmal)))),{id:t.id,title:t.name,img:t.img?ZI(t.img):t.img,keys:r.filter(t=>!e.useRelevant||t.merkmal.isRelevant()).map(e=>({key:e.merkmal.id,preventImages:e.preventImg,infoText:e.infoText,title:e.title||e.merkmal.title,value:e.merkmal.selected?{name:e.merkmal.selected.text}:null}))}}).filter(e=>0!==e.keys.length)]))}async showTooltipData(e){throw"not implemented"}async getGroupInfo(e){const t=this.filterContextList(e.manufacturer,e.program)[0];if(!t)return[];if(0===t.uiGroups.length)return t.merkmalList.map(e=>({id:""+e.id,title:e.title,keys:[{key:e.id,title:e.title}]}));return t.uiGroups.map(e=>({id:e.id,title:e.name,img:e.img?ZI(e.img):e.img,keys:e.merkmale.map(e=>({key:e.merkmal.id,preventImages:e.preventImg,title:e.title||e.merkmal.title,infoText:e.infoText}))})).filter(e=>0!==e.keys.length)}async getFinishParams(e){const t=this.filterContextList(e.manufacturer,e.program)[0];return t?.finparas||{}}getGlobalContextIds(){return this.filterContextList().map(e=>e.id)}getLocalContextIds(){return qI.all().filter(e=>"ptm"===e.headOptions.initializer).map(e=>e.id)}async preloadProgram(e,t){const r=await eM.merkmalStore.createContext({id:`${e}#${t.toUpperCase()}`,manu:e,prog:t.toUpperCase(),options:{initializer:{type:"content"}}});if(r){return this.getProgramModels([r])[r.program]}}async preloadActiveProgram(){let e=await qI.activateCurrentContext();if(e){return this.getProgramModels([e])[e.program]}}};var tM=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s},rM=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};let nM=class{initialize(){this.getElement("levels").on("click",e=>{const t=$(e.currentTarget).attr("size");this.setSize(t)}),setTimeout(()=>this.setSize(0),0)}setSize(e){return rM(this,void 0,void 0,function*(){this.getElement("levels").removeClass("activated"),this.getElement("levels").siblings(`[size=${e}]`).addClass("activated").find("~ div").addClass("activated"),yield ape.GetSceneDefer,ape.setGridSize(e)})}};function iM(){const e=this,t=$(`<svg viewbox="0 0 1000 1000">\n                        <polygon class="visible" direction="${Op.FREE}"   points="330,                                                              330\n                                                                                               670,                                                              330\n                                                                                               670,                                                              670\n                                                                                               330,                                                              670">\n                        </polygon>\n                        <polygon class="visible" direction="${Op.TOP}"    points="428,                                            330\n                                                                                               428,                                            202\n                                                                                               320, 202\n                                                                                               500,                                                                                 10\n                                                                                               680, 202\n                                                                                               572,                                            202\n                                                                                               572,                                            330">\n                        </polygon>\n                        <polygon class="visible" direction="${Op.RIGHT}"  points="670,                                                              428\n                                                                                               798,                           428\n                                                                                               798,                           320\n                                                                                               990,                                                500\n                                                                                               798,                           680\n                                                                                               798,                           572\n                                                                                               670,                                                              572">\n                        </polygon>\n                        <polygon class="visible" direction="${Op.BOTTOM}" points="572,                                            670\n                                                                                               572,                                            798\n                                                                                               680, 798\n                                                                                               500,                                                                                 990\n                                                                                               320, 798\n                                                                                               428,                                            798\n                                                                                               428,                                            670">\n                        </polygon>\n                        <polygon class="visible" direction="${Op.LEFT}"   points="330,                                                              572\n                                                                                               202,                           572\n                                                                                               202,                           680\n                                                                                               10,                                                500\n                                                                                               202,                           320\n                                                                                               202,                           428\n                                                                                               330,                                                              428">\n                        </polygon>\n                        \n                        <polygon class="invisible" direction="${Op.TOP}"    points="0,                                   0\n                                                                                                 330,                     330\n                                                                                                 669, 330\n                                                                                                 999,                0">\n                        </polygon>\n                        <polygon class="invisible" direction="${Op.LEFT}"   points="0,                                   0\n                                                                                                 330,                     330\n                                                                                                 330,                     669\n                                                                                                 0,                                   999">\n                        </polygon>\n                        <polygon class="invisible" direction="${Op.RIGHT}"  points="999,                0\n                                                                                                 669, 330\n                                                                                                 669, 669\n                                                                                                 999,                999">\n                        </polygon>\n                        <polygon class="invisible" direction="${Op.BOTTOM}" points="0,                                   999\n                                                                                                 330,                     669\n                                                                                                 669, 669\n                                                                                                 999,                999">\n                        </polygon>\n                        <polygon class="invisible" direction="${Op.FREE}"   points="330,                     330\n                                                                                                 330,                     669\n                                                                                                 669, 669\n                                                                                                 669, 330">\n                        </polygon>\n                    </svg>`);this.elements={parentElement:null,svg:t,clickPolygons:t.find(".invisible").on("click",function(){const t=$(this).attr("direction");e.setDirection(t)}),directions:t.children(".visible")},this.direction}nM=tM([_m({template:'\n        <div class="grid">\n            <div class="row" size="0"></div>\n            <div class="row" size="1"></div>\n            <div class="row" size="2"></div>        \n        </div>\n    ',elements:{levels:".row"},condition:g_configuration.old_kata_tree_toolbar_grid,initializeManually:!0})],nM),iM.prototype.getDirection=function(){return this.direction},iM.prototype.setDirection=function(e){const t=this;return this.direction=e,Bde.PlacerDirection=e,Promise.resolve().then(function(){t.elements.directions.each((t,r)=>{r.classList.remove("active"),r.getAttribute("direction")===e&&r.classList.add("active")})}).then(function(){return FurnplanKataTreeInterface.postMessage("furnplan.setPlacerDirection",[e]),ape.PlacerSetDir(e)})},iM.prototype.initialize=function(e){this.setDirection(Op.RIGHT),this.elements.parentElement=e,this.elements.parentElement.append(this.elements.svg)};const oM=new iM;var sM=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};let aM=class{initialize(){}addRow(){this.getRoot().append("<dhmc-toolbar-sub-container-row></dhmc-toolbar-sub-container-row>")}getRow(e){return $(this.getRoot().find("dhmc-toolbar-sub-container-row").get(e))}};aM=sM([_m({template:"<dhmc-toolbar-sub-container></dhmc-toolbar-sub-container>",elements:{},parentElement:null,parentSelector:""})],aM);const lM=new class{constructor(){this.language=null}getLanguage(){return this.language||(this.language=(()=>{let e="";return $.ajax({async:!1,type:"GET",url:"/lang/get-language/*",success:t=>{e=t}}),e})()),this.language}get(e,t){return t?new Promise((t,r)=>{t(this.getLanguage()[e]||"")}):this.getLanguage()[e]}};var cM=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};let uM=class{initialize(){const e=lM.get("118",!1);this.getRoot().attr("data-tooltip",e),this.getRoot().on("click",()=>{FurnplanKataTreeInterface.postMessage("furnplan.showPanel",["configdlg-wrapper","configdlg-wrapper-page","/furnplan/_global/_global/html/h/delete.html"])})}};uM=cM([_m({template:'<div class="new button" data-position="bottom right"></div>',elements:{},parentElement:null,parentSelector:"",condition:g_configuration.old_kata_tree_toolbar_new_scene})],uM);var dM=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};let hM=class{initialize(){const e=lM.get("60160",!1);this.getRoot().attr("data-tooltip",e),this.getRoot().on("click",()=>{FurnplanKataTreeInterface.postMessage("furnplan.showPanel",["configdlg-wrapper","configdlg-wrapper-page","/furnplan/_global/_global/html/h/Dialogs/CloudTree/cloudtree.html"])})}};hM=dM([_m({template:'<div class="cloud button" data-position="bottom right"></div>',elements:{},parentElement:null,parentSelector:"",condition:g_configuration.old_kata_tree_toolbar_cloud})],hM);const pM=new class extends t{on(e,t){super.on(e,t)}off(e,t){super.off(e,t)}dispatch(e,t){super.emit(e,...t||[])}};class mM{initialize(){pM.on("serverknown",e=>{this.serverUrl=e}),this.elements.get("closeButton")&&this.elements.get("closeButton").on("click",()=>{this.hide()})}show(){this.getRoot().removeClass("invisible"),upe.sendToApp("furnview.modalWindowShown",[""])}hide(){this.getRoot().addClass("invisible"),upe.sendToApp("furnview.modalWindowHidden",[""])}getRoot(){return null}getElement(e){return null}}var _M=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};let gM=class extends mM{constructor(){super(...arguments),this.planningFromProjectManager=!1}initialize(){super.initialize(),this.getElement("closeButton").on("click",()=>{this.getElement("iframe").get(0).contentWindow.postMessage({command:"project-manager.showPlannings",parameters:[]},"*")})}save(e,t){this.getElement("iframe").get(0).contentWindow.postMessage({command:"project-manager.savePlanning",parameters:[e,t]},"*"),this.show()}showSaveDialog(e,t){const r=""+Date.now(),n=`project-manager.${r}`;return new Promise((i,o)=>{upe.on(n,e=>{upe.off(n,null),i(e)}),this.getElement("iframe").get(0).contentWindow.postMessage({command:"project-manager.showSaveDialog",parameters:[e,t,r]},"*"),this.show()})}overwrite(e,t){this.getElement("iframe").get(0).contentWindow.postMessage({command:"project-manager.overwritePlanning",parameters:[e,t]},"*")}postMessage(e){this.getElement("iframe").get(0).contentWindow.postMessage({command:e.command,response:e.response},"*")}setPlanningFromProjectManager(e){this.planningFromProjectManager=e}isPlanningFromProjectManager(){return this.planningFromProjectManager}};gM=_M([_m({template:'\n            <div class="project-manager-window full modal-window invisible">\n                <div class="toolbar">\n                    <div class="left">\n                    \n                    </div>\n                    <div class="center">\n                        \x3c!-- Todo: i18n --\x3e\n                        Project Manager\n                    </div>\n                    <div class="right">\n                        <div class="close-button"></div>\n                    </div>\n                </div>\n                <div class="content">\n                    <iframe src="/project-manager/public/index.html"></iframe>\n                </div>\n            </div>\n        ',elements:{closeButton:".close-button",content:".content",iframe:"iframe"},parentSelector:".mainContent",condition:g_configuration.projectManager.enable&&!1===g_configuration.webui_mode})],gM);const fM=new gM;var vM=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};let bM=class{initialize(){const e=lM.get("20000",!1);this.getRoot().attr("data-tooltip",e),this.getRoot().on("click",()=>{g_configuration.projectManager.enable?fM.show():alert("Coming Soon")})}};bM=vM([_m({template:'<div class="project-manager button" data-position="bottom right"></div>',elements:{},parentElement:null,parentSelector:"",condition:g_configuration.old_kata_tree_toolbar_project_manager})],bM);var yM=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s},$M=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};let xM=class{constructor(){this.serverUrl=""}saveByProjectManager(){return $M(this,void 0,void 0,function*(){const e=yield ape.getDhpAsBase64(),t=yield fme.getCanvasPngAsBase64();fM.isPlanningFromProjectManager()?lI.showModal("projectManagerOverwritePlanningModal"):fM.save(e,t)})}saveByDownload(){return $M(this,void 0,void 0,function*(){const e=new Date,t=e.getDate()+"-"+(e.getMonth()+1)+"-"+e.getFullYear()+"_"+e.getHours()+"-"+e.getMinutes()+"-"+e.getSeconds()+"-"+e.getMilliseconds();yield ape.savePrintImageColor();(yield ape.exportToWaWiInterface()).forEach(e=>{if(Bde.IsApp)dpe.__downloadViaAPP(`data:${e.contentType};base64,${e.content}`,"planning-"+t+"."+e.extension,e.contentType);else{const r=document.createElement("a");r.style.display="none",document.querySelector("body").appendChild(r),r.setAttribute("href",`data:${e.contentType};base64,${e.content}`),r.setAttribute("download","planning-"+t+"."+e.extension),r.click(),r.remove()}})})}initialize(){const e=lM.get("116",!1);this.getRoot().attr("data-tooltip",e);const t=this.getRoot().get(0);let r=!1,n=null;const i=function(e){null!==n&&(clearTimeout(n),n=null)},o=function(e){if("click"!==e.type||0===e.button)return r=!1,n=setTimeout(function(){r=!0,t.dispatchEvent(new Event("longpress"))},1e3),!1};pM.on("serverknown",e=>{this.serverUrl=e}),this.getRoot().on("click",()=>$M(this,void 0,void 0,function*(){if(null!==n&&(clearTimeout(n),n=null),r)return!1;try{ape.triggerDealerAlwaysSaveDhpXmlPdf(),g_configuration.projectManager.enable?this.saveByProjectManager():this.saveByDownload()}catch(e){console.error(e)}})),this.getRoot().on("longpress",()=>$M(this,void 0,void 0,function*(){try{yield this.saveByDownload()}catch(e){console.error(e)}})),t.addEventListener("mousedown",o),t.addEventListener("touchstart",o),t.addEventListener("mouseout",i),t.addEventListener("touchend",i),t.addEventListener("touchleave",i),t.addEventListener("touchcancel",i)}};xM=yM([_m({template:'<div class="save button" data-position="bottom right"></div>',elements:{},parentElement:null,parentSelector:"",condition:g_configuration.old_kata_tree_toolbar_project_manager})],xM);var SM=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s},wM=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};let AM=class{constructor(){this.serverUrl=""}initialize(){const e=lM.get("117",!1);this.getRoot().attr("data-tooltip",e),pM.on("serverknown",e=>{this.serverUrl=e}),this.getRoot().on("click",()=>{const e=document.createElement("input");e.setAttribute("value",""),e.setAttribute("type","file"),e.setAttribute("name","file"),e.setAttribute("accept",".dhp"),e.addEventListener("change",()=>wM(this,void 0,void 0,function*(){const t=new FormData;t.append("file",e.files[0]),yield $.ajax({url:this.serverUrl+"/dhp/open/"+g_sessionId,data:t,cache:!1,contentType:!1,processData:!1,type:"POST"}),yield ape.getScene(),e.setAttribute("value",""),e.remove()})),e.click()})}};AM=SM([_m({template:'<div class="load button" data-position="bottom right"></div>',elements:{},parentElement:null,parentSelector:"",condition:g_configuration.old_kata_tree_toolbar_project_manager})],AM);var CM=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s},EM=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};let IM=class extends mM{constructor(){super(...arguments),this.url=new URL(`${window.location.origin}/redlining?client=furnview&timestamp=0&endpoint=%2Fredlining%2Fassets%2Foverlay%2F`)}performCommand(e){return EM(this,void 0,void 0,function*(){const{id:t,data:{command:r,data:n}}=e.data,i=yield ape.performRedliningCommand(r,n);this.getElement("iframe").get(0).contentWindow.postMessage({id:t,data:i})})}reload(){this.url.searchParams.set("timestamp",Date.now().toString());this.getElement("iframe").get(0).src=this.url.toString()}initialize(){super.initialize(),window.addEventListener("message",e=>{var t,r;(null===(r=null===(t=e.data)||void 0===t?void 0:t.id)||void 0===r?void 0:r.startsWith("redlining:"))&&("redlining:close"===e.data.id?this.hide():this.performCommand(e))})}show(){this.reload(),super.show()}};IM=CM([_m({template:'\n        <div class="redlining-window full modal-window invisible">\n            <div class="toolbar">\n                <div class="left">\n                \n                </div>\n                <div class="center"></div>\n                <div class="right">\n                    <div class="close-button"></div>\n                </div>\n            </div>\n            <div class="content">\n                <iframe src=""></iframe>\n            </div>\n        </div>\n    ',elements:{closeButton:".close-button",content:".content",iframe:"iframe"},parentSelector:".mainContent",condition:g_configuration.projectManager.enable})],IM);const MM=new IM;var kM=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s},TM=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};let RM=class{print(){if(!this.getRoot().hasClass("disabled")){this.getRoot().addClass("disabled");try{Yte.showPrint()}catch(e){this.getRoot().removeClass("disabled"),Nhe.hideLoader(),console.error(e)}}}showRedlining(){MM.show()}initialize(){const e=lM.get("115",!1);this.getRoot().attr("data-tooltip",e);const t=this.getRoot().get(0);let r=!1,n=null;const i=function(e){null!==n&&(clearTimeout(n),n=null)},o=function(e){if("click"!==e.type||0===e.button)return r=!1,n=setTimeout(function(){r=!0,t.dispatchEvent(new Event("longpress"))},1e3),!1};this.getRoot().on("click",()=>TM(this,void 0,void 0,function*(){if(null!==n&&(clearTimeout(n),n=null),r)return!1;this.print()})),this.getRoot().on("longpress",()=>TM(this,void 0,void 0,function*(){this.showRedlining()})),t.addEventListener("mousedown",o),t.addEventListener("touchstart",o),t.addEventListener("mouseout",i),t.addEventListener("touchend",i),t.addEventListener("touchleave",i),t.addEventListener("touchcancel",i)}};RM=kM([_m({template:'<div class="print button" data-position="bottom right"></div>',elements:{},parentElement:null,parentSelector:"",condition:g_configuration.old_kata_tree_toolbar_print})],RM);var LM=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s},PM=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};let DM=class{constructor(){}initialize(){this.getRoot().on("click",()=>PM(this,void 0,void 0,function*(){try{yield ape.savePrintImageColor(),lI.showModal("printerSelectionModal")}catch(e){console.error(e)}}))}};DM=LM([_m({template:'<div class="print button"></div>',elements:{},parentElement:null,parentSelector:"",condition:g_configuration.old_kata_tree_toolbar_mhs_print})],DM);var NM=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};let FM=class{initialize(){const e=lM.get("114",!1);this.getRoot().attr("data-tooltip",e),this.getRoot().on("click",()=>{ape.undoDhp()})}};FM=NM([_m({template:'<div class="undo button" data-position="bottom right"></div>',elements:{},parentElement:null,parentSelector:"",condition:g_configuration.old_kata_tree_toolbar_undo})],FM);var OM=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s},BM=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};let UM=class{initialize(){const e=lM.get("applicationBehaviorDefine.dht.text.furnview.furnplan-catalogue.old_kata_tree_toolbar_reload",!1);this.getRoot().attr("data-tooltip",e),this.getRoot().on("click",()=>BM(this,void 0,void 0,function*(){yield Dhe.clearScene(!0,!0,!0,!0),Dhe.PreventFullClear=!0,yield ape.getScene()}))}};UM=OM([_m({template:'<div class="reload button" data-position="bottom right"></div>',elements:{},parentElement:null,parentSelector:"",condition:g_configuration.old_kata_tree_toolbar_reload})],UM);var VM=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class zM{static getFurnplanData(){return VM(this,void 0,void 0,function*(){return $.get(dpe.get("/local/get-furnplan-data"))})}static getShortUrl(e,t){return VM(this,void 0,void 0,function*(){try{const r=yield fetch(dpe.get("/furncloud-short-urls"),{method:"POST",body:JSON.stringify({url:e,cloudId:t}),credentials:"same-origin"});if(r.ok){return(yield r.json()).url}return console.error("Unable to create short url"),""}catch(e){console.log("Unable to retrieve short url"),console.error(e)}})}static checkReCaptcha(e){return VM(this,void 0,void 0,function*(){try{const t=yield fetch(dpe.get("/re-captcha/check"),{method:"POST",body:JSON.stringify({token:e}),credentials:"same-origin"});if(t.ok){return(yield t.json()).ok}return console.error("Unable to check Re Captcha"),!1}catch(e){return console.error("Unable to check Re Captcha"),console.error(e),!1}})}static getOrderNumber(){return VM(this,void 0,void 0,function*(){try{const e=yield fetch(dpe.get("/orders/get-number"),{method:"GET",credentials:"same-origin"});if(e.ok){return(yield e.json()).number}return console.error("Unable to retrieve order number"),"NO_ORDER_NUMBER"}catch(e){return console.error("Unable to retrieve order number"),console.error(e),"NO_ORDER_NUMBER"}})}static getStoreTree(){return VM(this,void 0,void 0,function*(){try{const e=yield fetch(dpe.get("/customer/get-store-tree"),{method:"GET",credentials:"same-origin"});if(e.ok)return yield e.json();console.error("Unable to retrieve store tree")}catch(e){console.error("Unable to retrieve store tree"),console.error(e)}return{}})}}var HM=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};window.onReCaptchaSolved=function(e){GM.onReCaptchaSolved(e)};const GM=new class{checkReCaptcha(e){return HM(this,void 0,void 0,function*(){(yield zM.checkReCaptcha(e))&&(this.validated.resolve(!0),this.needValidation=!1,this.hide())})}initializeDom(){if(!window.g_reCaptcha)return this.validated.resolve(!0),void(this.needValidation=!1);const e=document.querySelector("#googleReCaptchaModal .re-captcha-container");if(e){const t=document.createElement("div");t.classList.add("g-recaptcha"),t.setAttribute("data-sitekey",window.g_reCaptcha),t.setAttribute("data-callback","onReCaptchaSolved");const r=document.createElement("script");r.setAttribute("src","https://www.google.com/recaptcha/api.js?onload=onReCaptchaLoaded&render=explicit"),r.setAttribute("async",""),r.setAttribute("defer",""),e.appendChild(t),e.appendChild(r)}}constructor(){this.validated=Om(),this.needValidation=!0,this.instance=-1,lI.addModal("googleReCaptchaModal",void 0,void 0,!1,!0),this.initializeDom()}show(){lI.showModal("googleReCaptchaModal")}hide(){lI.hideModal("googleReCaptchaModal")}onReCaptchaSolved(e){this.checkReCaptcha(e)}isValidated(){return this.validated}needsValidation(){return this.needValidation}validate(){this.instance>-1?grecaptcha.reset(this.instance):this.instance=grecaptcha.render(document.querySelector("#googleReCaptchaModal .re-captcha-container .g-recaptcha"),{sitekey:window.g_reCaptcha}),this.validated=Om()}};var jM=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};const JM=new class{toggleShareByMail(){this.elements.get("shareByMail").classList.toggle("closed")}hideShareByMail(){this.elements.get("shareByMail").classList.add("closed")}stripQueryParameters(e){const t=new URL(e);return t.searchParams.delete("session"),t.searchParams.delete("cloudId"),t.searchParams.delete("auth_id"),t.href}sendMail(e,t,r,n,i){return jM(this,void 0,void 0,function*(){const o=dpe.get("/webviewer/share-by-mail");return yield fetch(o,{method:"POST",body:JSON.stringify({to:e,message:t,url:r,pdfData:n,language:i}),credentials:"same-origin"})})}animateCopyButton(e){return jM(this,void 0,void 0,function*(){e.classList.add("green"),yield fme.waitForDOMUpdate(),e.classList.remove("green")})}constructor(){this.elements=new Map,this.pdfDownloadUrl="",document.querySelector("#shareModal")&&(cI.addModal("shareModal",void 0,void 0),cI.addModal("modalEmailSuccessfullySentNotification",void 0,void 0,!0,!0),this.elements.set("cloudIdValue",document.querySelector("#shareModal .cloud-id-value")),this.elements.set("facebookButton",document.querySelector("#shareModal .facebook.button")),this.elements.set("twitterButton",document.querySelector("#shareModal .twitter.button")),this.elements.set("pdfButton",document.querySelector("#shareModal .pdf.file.button")),this.elements.set("mailButton",document.querySelector("#shareModal .mail.button")),this.elements.set("shareByMail",document.querySelector("#shareModal .share-by-mail")),this.elements.set("url",document.querySelector("#shareModal .url")),this.elements.set("copyButtons",document.querySelectorAll("#shareModal .copy.button")),this.elements.set("cloudIdForm",document.querySelector("#shareModal .ui.cloud-id.form")),this.elements.set("cloudIdInput",document.querySelector("#shareModal .cloud-id-input")),this.elements.set("openButton",document.querySelector("#shareModal .open.button")),this.elements.set("mailForm",document.querySelector("#shareModal .ui.mail.form")),this.elements.set("sendMailButton",document.querySelector("#shareModal .send.button")),this.elements.set("mailRecipient",document.querySelector("#shareModal .recipient")),this.elements.set("mailMessage",document.querySelector("#shareModal .message")),this.elements.get("pdfButton").addEventListener("click",()=>this.onPdfFileClick()),this.elements.get("mailButton").addEventListener("click",()=>this.onMailClick()),this.elements.get("sendMailButton").addEventListener("click",()=>this.onSendMail()),this.elements.get("openButton").addEventListener("click",()=>this.onOpenCloudId()),this.elements.get("copyButtons").forEach(e=>{e.addEventListener("click",()=>{const t=e.parentElement.querySelector("input");this.copyUrl(t),this.animateCopyButton(e)})}),$(this.elements.get("cloudIdForm")).form({fields:{cloudid:{rules:[{type:"regExp",value:/^[a-z0-9]{4}(\s)?[a-z0-9]{4}$/}]}}}),$(this.elements.get("mailForm")).form({fields:{email:"email",message:"empty"}}))}print(){return jM(this,void 0,void 0,function*(){return yield ape.printPDF()})}bringToFront(){cI.showModal("shareModal")}hide(){cI.hideModal("shareModal")}show(){return jM(this,void 0,void 0,function*(){const e=yield this.print(),t=e.cloudId,r=this.elements.get("url"),n=this.elements.get("cloudIdValue"),i=this.stripQueryParameters(window.location.href);this.pdfData=e,n.value=e.cloudId.replace(/(.{4})/g,"$1 ").trim(),r.value=yield zM.getShortUrl(i,t),this.pdfDownloadUrl=`${e.server}/downloadPDF/${e.sessionId}/${e.pdf}/${e.cloudId}`,this.bringToFront()})}onFacebookClick(){this.hideShareByMail()}onTwitterClick(){this.hideShareByMail()}onPdfFileClick(){return jM(this,void 0,void 0,function*(){this.hideShareByMail();const e=document.createElement("iframe");e.style.display="none",e.setAttribute("src",this.pdfDownloadUrl),document.querySelector("body").appendChild(e),e.addEventListener("load",()=>e.remove())})}onMailClick(){this.toggleShareByMail()}onSendMail(){return jM(this,void 0,void 0,function*(){if($(this.elements.get("mailForm")).form("is valid","email")){GM.needsValidation()&&(GM.show(),GM.validate()),yield GM.isValidated();const e=this.elements.get("mailRecipient"),t=this.elements.get("mailMessage"),r=this.elements.get("url");this.sendMail(e.value,t.value,r.value,this.pdfData,g_language),cI.showModal("modalEmailSuccessfullySentNotification")}})}copyUrl(e){navigator.clipboard.writeText(e.value)}onOpenCloudId(){if($(this.elements.get("cloudIdForm")).form("is valid","cloudid")){const e=this.elements.get("cloudIdInput").value.replace(/ /g,"");ape.loadDhpByCloudID(e),this.hide()}}};var WM=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s},QM=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};let qM=class{initialize(){this.getRoot().on("click",()=>QM(this,void 0,void 0,function*(){JM.show()}))}};qM=WM([_m({template:'<div class="share button"></div>',elements:{},parentElement:null,parentSelector:"",condition:g_configuration.old_kata_tree_toolbar_share})],qM);var YM=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};let XM=class extends mM{initialize(){super.initialize(),this.getElement("closeButton").on("click",()=>this.hide())}getCloudId(){return this.getElement("input").val()}requestCloudId(){return this.show(),new Promise((e,t)=>{this.getElement("okButton").one("click",()=>{this.hide(),e(this.getCloudId())})})}};XM=YM([_m({template:'\n            <div class="cloud-download-input small centered modal-window invisible">\n                <div class="toolbar">\n                        <div class="left">\n                        </div>\n                        <div class="center">\n                            Kiosk-ID laden\n                        </div>\n                        <div class="right">\n                        </div>\n                    </div>\n                    <div class="content">\n                        <div class="container">\n                            <div class="ui input">\n                                <input type="text" placeholder="Kiosk-ID" autocorrect="off" autocapitalize="none">\n                            </div>\n                            <button class="ui ok button">Ok</button>\n                            <button class="ui close button">Abbrechen</button>\n                        </div>\n                    </div>\n            </div>\n        ',elements:{toolbar:".toolbar",content:".content",input:"input",okButton:"button.ok",closeButton:"button.close"},parentSelector:".mainContent"})],XM);const KM=new XM;var ZM=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s},ek=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};let tk=class{initialize(){this.getRoot().on("click",()=>ek(this,void 0,void 0,function*(){const e=(yield KM.requestCloudId())||"";if(e.length>0){const t=e.replace(/\s/g,"");ape.loadDhpByCloudID(t)}}))}};tk=ZM([_m({template:'<div class="cloud-download button"></div>',elements:{},parentElement:null,parentSelector:"",condition:g_configuration.old_kata_tree_toolbar_cloud_download})],tk);var rk='@font-face{font-family:furnview-icons-simple;font-style:bold;font-weight:400;src:url("data:font/woff2;base64,d09GMgABAAAAAEP4ABAAAAAAfVgAAEOVAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP0ZGVE0cGiQGVgCCcggICYRlEQgKgdUYgaoRC4IWAAE2AiQDhCgEIAWFUAeMdAwuG6FlJWNb1rDbARJKshMwEmG96QL//zVBybHf6H6klDZAdhFLmDHsMgAJmlMFFYwJRje+CrfbPbwoUeKZPYZeN0261k6L5LtHdXDznzsdO5xIhpD5IgKiE5acPWFpzt1U68us/YvoSzqZRyTHIrFT3uMwepCegW0jf5KTFyKiTWfv7gkhjZCaUVJRau7UYhU3yw/Pu633WTLlIwiCiEzHWCCgIg5QQRyZG9cqceVISzO7rNTU2jbUxjW2WtuWtrStrXVd7ZuV/7vfb++LCCPcMfABVezhvqF2uljmn7V0waNW1RThiec+9rc30/F2C7zAlhUjTS3xgDuRfP0zuLaQGW4h7gXPb+mT6ZDtBNvOEI8R2tuabJ7BPB+rj3JZdglGu1VqaeQ7/l0A8X1gT4PtMQ9okUb6qBLuTnjgAPmX8N8UegG9CP8vl7qyWQrxsYCn3EpwC6BWEzvApH/rm2l5QGBvSGIDB4AWBEW4HDo4L+QRB0GA2+KCuZqNEJnoZnlmYcY3aojVfYffXtMkTdN0/t6YW93BVmjQaDxGIKzgfj5n2nttl95v+YMhYZOsAE+AQBDASXamyL5Izc3aZUm2MxMesMcFhgFZLsJpD5cugujWzAR4X6CyDTeby4kHi7YIi0O3qZmtqKjmk+L696Zq7f+E4FtKFyCpoVPgxVQ7Fo3rK7q76d//C0A/YOG/CNIuoLAgFRYA5VssFRaUA+hI4kKKpefKq3bpBFAXlnQCHWnpQk5liG2IpYvO112Zysbj9kIqy1wVV9any8wCvuI0nWIQYn9rYzS1tzZOEP1VPo7s57QKJy0EsLbay6Ttp4McCkiTh79XXctrbno/Hn/+V3a0lcdTnIKraWtcuB3C6CaNvjogxncyiYVTjT7OgYlln7yVS5xkz9vSJHPV8N9zXwly8KG22sRAJimGzo0UKI6UElYbaixLCE4UDvLTjQGs47kPs4EclKQHq9nAy40ru7ozOw173ub2bjjLiQqvVhHEIbosam6dyekjPLI2liPAGejizCA8IsmYfCWavTv1C8bjC4QiK2sbWzt7B0cnZxdXN3cPTy9vH18//4DAICCWBEtl8pDQMJCWnpldVF61qK6+saFpcUvzkqVtrcvMUORYbK1SsQRqGUG7+apKsSZWq8dhjanIo1MfmjS3fFptFtTM/6tzczQ2pPJF91h4Pqi8cZ2DwGjd02UPLRkkkES7sLhfYueGQsLrU+gokbUKD9lX8IpGtCxV6nkEfKOvZActomtQtnDF1GsVaylAk8uYwxRUsAn2CMbZjvyjd4o2R/7T9wGgCu3Jw7F1Q4FhqQLXLvyT467XIQ5zjEw/IQCZyUmKRN3MCSdy72J6XSIShsryYMwtYF9QyC29U4DWvA7uubb8TiQlDb2k58BOrqCMKaqRxKAuNOcZoRWiIQzauFfA85SYL+hRjs6SSQnQxlvn1uEqLc53Q2mFXzoZCjQFacV1ILlIwQUoNBchkxj3iyVP6mRAWmTte4oxCu+6a1B+VAeM8kjsXCe1goIzMgOAyJJdQ7kQNJTU2PwOXgSbdSwxZ/RIE/IVoZMCR1g4SDx3i0xC6B3jY9bsbKhnUTLTVhwsOm/nItdOhGnX0MvsfmPimJjMxkaj6yJEMkOJMhRGpI4YlHwekPBGOpDBlDATjzoiQGR945EBhu6JsIDppWx5dlxgxuZInN1LCaBX2ftFbWiMJpeaetIidtw1S7Smnsv4KME71mHEwXKKuShM7hGOyhPKMUY+QyfdDgTTThQQaovIx3x8kBCHZoT+1gKHUYa69DgmKbTVzKUclC8pjxG3yd2JARfsMWLRkQwfRkqZHackzCBJOp7hlqHdCJwGyxJkwLgx2tHVChHhiQo+lt4iTZzMFuU9D+PIVQeiYPPkamLhN9z5cTg82s6iy7ZY7zZAVMtIqLTXntlj28iH3/i7baNv7E65WC+UyIvgGjwl/dp0Kb0MjQt/fryxsvpPE0REiH5qxH4FxljbHIsxBy9ynyu4trTp5Cov/+VP0oyv5V2T29XVCCu6vdeOxwubFtgm5h6u55JHxIvtILm1dZzGq2qd8VdGp9VN3BsTECwlxbzpvtrPWfLpqTi4QyuixngFXkWXN+fiGIGVyQD32tHRcUvhvTVxOSlj02RcErKpYNz4Xdt61D8FMWS5PNvSSEphp2g5zJH+4+j9yLYA0fL6G2cIIpt1mmwMgrtR+7LsfVUBZFBfYlJdrRdMGK2sxa6uTHMNIzy6GBGRp7j5aqhlAyttbJpktLkYtS5/olGWdpCmViA+wWgOJls80Um48Y66VbwgDw2F2haz9XWI4kxzBjJQYH1YJcpoamAoRkuhDCge9lfichClIQa9YTmvCqCgrRdcdCFyTG5gcJD5NnJPrQa0mO/v6yMXARxLi/rrTc+GlbjtbCWorbc9E/h962shcapEy7stM2/bWWwl0R0SkpVkkPQxbTe7s/Mt2Zxkfy23p9M92ii7eOWKHsas2yz3mgvVFAw6kcfZpbYf5IRahaii3rAoN3R0TJGdP+dGEUgUQKIZpjJWC+XgJhNtuJA/eLmblRPnh9hobq55qeYkkfHf85PZ35KH1qZR+Qv6/44pjfWiyJINTZ0yl9I4xtw0i9JsBDrUUR5rrfqkQhIk8LgjfHF0QuNdYx2jXxgZ33D78IOUN0zE6JlqnMoimCrwCb1eHnKbXqMTLCSaBzAZFAjkXwHqXCOMHkrzAS6TG8UEQYIUUmCrGaYka+VbMUUUU3Sk1dt6UHIMuamvFZ5Y7QoGbriRWUXLEtWbYNOG6gywHjMSKEboihECCToOBCSaQkAJIJDXQtBRa1TtG4DGhEJEMzVVNZGVUAp5MdlkNT7JoH1cRrU64ZO4n5EzJ7maekRDl5oiLd6jptqC0QAX8wo/pBXfEAVNdtZUCtmP4N1LJ9XnyeiKU14tkQCKgCuMfACqJeMp1fg050LExH9Pnhvay1X67JCrFo+Znzj1stT4WYWE13D4grELU3dZBli/zgrfgt5raUBVkaykIM+QILAI70tg7c30MMBIDiNnZSPIdm63TYybAMlkHpvvpJbFJyAvGGdXM4cv9f15+Ge35lWccnkjaYA7TzBiaIRaGfmX0lN73N2Sk2svsN+SHtuaJVwkMmUVsoHHHt6oLuEoSGk2XVT+H1c6g13B11OMEQwF+M8pg3LmV4XZQW9drvkqavpUM0xtN4oxj63C9UluwinQ8ZBniFLH1UmzjD81dOwnL3Vmgjf1YuTXmEeYdL6ym0KuUJXjVR4HBld6EPYR3Fh0EfB/Qrgxz9VCYOGFitbF15CarLuR73+REGgz/FjTu0HNaV20A4JdQV7vReBiRDgUaYAhHRydKofRRdH4lLoQKQFJdcMCiI7xVIQdcvHJ/O9jJhQ6sJxf3QdwOlDQpQcrMUARGIilk6AuInxl1Axou3yIclkXoZuFlB7MbairwinB3cHS5lhTdbiPsOZWuGpaFXLZLKPzrsp/yIKWHn9FCsTMzzaBQiHCG+k4Z/M/rByD1BGQ6S8VxhxOBJV5uJSeWiJekWWMNOwBjYn2PEa5Trk8udnf7nL8A/tyd3YCKz9Th8htz6wS8u/1TJtZxrw6/xiytIpR5vKG82x3W2pL0ts5dtpNtRqWJ2B7mulDakI1xaDkLCxfMlmr2GKK4cDSK10FkOIEtL5O0knf+CM82JE22T2R+6SZWGK8T6nKReZm9MxE7Qik86LmDdWZFdZTGIwTVcYZ1pir4ErBFKUa76spjnfpi3fRybELPEBGgOFyNbzH2D/3cw1efg3ZdStqTfA+XaNXXGc+EBeTa0HynoWeL2zZTWDpE3KhvCRX6QHo2GyJn8JXJ10h4/WY8l4rVwgALbwz7eTumqM0OpBXRE1EWZ1jCbcPMRG9IKzerxIJ8nm/mbaRU5b0rEFMhpxso/kFq/qENkJ/D+MGpzeFcH2Q1n7+H2Y4vVsw+BWCpVeWJkeHyDGiY25JK91LpO95QeA7L9n5xOgAAGf5Zncvu7poeJKNdTxekTeGVF3qyFFqPFj4YOuTwrRlfKuCnGJnDy6UqFx1zfdmn7m3RLIyYN6xr1eWF7U9yq0i2YvTzdw7pm+hU849mmO5aaHHHaLka6yWoCuvFN4Tj2jdggkz4+T46luSL0wy1Id7dj+QDBMKVcravnmJ8ZJougcUmhNLWghv2Fs/RfVVufNiaoad4ww7OIsjTlfe6JOff1Lv3SMk/3T5NRnhrEcJxtvCZZVseoVnv6vsfEOvrQlUpJbXSatJo25BRstzIu9mi2vQHagjpe4XAg5edqAqknYr0UhLaFBhVwUqpFrKqDbzIMOkmIHbdd/NeYRChKSZ9MFi8VmeyfvfODsNYhwb7ZPM4QaljsYvpqzmXvCkWvk2pVQSZ90MVsp5z6SWSSUfYrLQzNGPHNODEpZ+LLta/iHYPAJX+caEYTzEkKjmf0XvJlhB8vMB7KJCFybzCgmcSivncRVMBmQoxxIsnrbzQpEHGJtxZyZfRknlQNm9rwaDkks1QIEtWucK/a7U9D2qkVmDEfdDJzGHk4UUNJGX8p37k3TeROt+wP8L8+zPx1L08OklR9/K4VLz3CXk5CvlZPO0lqUgb1cFiOhELoAqhCCFFIzTdVJGvR+Pawrt9g0MLXtN0L0MvAIM7/+9fM19zXvFaYdPrmWdIJVy/uKWTPmsxeS+Hzf9thB36KflWTjGzyNXmMc9i+NUCQFstsjVSimYPNjDVedm9i65jAHGk0k1WzTcOIat23mGE9GFOwbBfbxF2MgkQdALBoEB16VhKqQPHJ/4cn0X8tqBj6cWXrNl43JeSgiFjUyI0gJv06MU91jeOoJNhGi+6CeEK8KkUCLrJkOncC9jxzxKU2k8T9yVRIZy18zc0nn3eKHsNCCwfSGyUpOJm6YSp7LYiET3xrcFxBIXIWxSUoe+7+uyxzwNYGOHTRwOMGLHx2bIDcu+E3iGNG4o4blsJthC3LcpIQU4dSsVRSquh6uiQJFpC5sEgojFBkGSgqnEKb43J08lDtGxuSsXkEmaLB2ylhc9MgMnvfbgUJDHHPs4JiYnFE4nYh6S0sLLJ4Y4cArQUheQ1MEyv0xRdxCXdMuRazpKq8j7RgEAYTW6kWW2AQhMrju4KWMS8G9laJVDJsl6+hXopGLaPMZsgj54SS3oJ4IDF2SvSNvKVzVlo5GqeaSRDRtPOI9/XH+Jcnmv+MGjKQu5RJjvIMj4Rdx3JaYf495RTA5wYQDbgF+/Yhd3Tf1QJ/zJGfAgXNYwz/gquAb/gTN44m4F1kIOeD7IIZ3r+5b1GfKR8eRoajtHH39N15WNF8g9uvifCvRW+emV68/MGn22fHB28/DJC+2ZG9GsMjj4jAjPn0vQKJpG/Yfr778dWyx4pPFBljnRuaRwIYri5Zl9CmbjE+U30+K1z9olVuX76IA8wHvUQdEvlks8RBigOqOE0PFOgxHVfBNBg8cOBv1K98PjPU5aa7RWVLJvVrQ6Wwb9C+G5a1JGnzOVlPMqda0Jbnx64JBmZVOgZfQ+rgaFkw+qEJempZh5J5c0QaRnFwIzTF5RCCPNAq8DQIgzxe/43ysC/zBlbhRDbfsav/e2lxj5F5Iz2eK2BXF5wQ1gVaW1Xwe7vuVi5C65XGpDSAVGUmSJHRxXJ8KVYd1EO8tWwqZ4d/W0uPidN869Vp7VB8zuX3Z100Pmtzxus5vFbI8u6HHe11Iz7aprXi6/iiFbCisxh6vqzo/xSWTkTO8kWM/x6YanNopBsUHVdmCNZ+o/5AhhU51Sg4LwoQgNqq3BEEyHhUrW54zwUwoRSrv0jQNSIdZZXeD9ImRyZ1i5+YTtbn5OQB5l9NaTN4CaT0viJOSPNDDv/MhbPc3hVtXBzg+7GZbCsp2wApZvOCBmywaIXKvb6JZvQWyI50QiBxa6swZpa899opWI+kfmzb2dRhLN8anx8mtxMZJRWud1X9BAY0K22l+CXmfHeS1MgqkLxmYSLEsp5uNRzogtVumz+e4biMMYq35TlW8t1jd1F5c3lza6x/vri9iVJ8qeBfUZa9QonDdpQpjGWLU0jqF+KXopIpts55HEj+XHwXWFCfLmeeSW+hRkSIEUaXCRAnaBXBwrdux209mLznc8Awy5zXLfAqPV/1oy9zKIsTdW0oson8Au+dfyrw/25FJXRhgu4nKAv/l7jpxSbgF+/tu/FARjXNrcABtz4tjRB8CTxHlSR9m918YHS6/M6qOsKfbjPUIJUVQhdVOVTFHdExG1d1jLRI8dR/p+cj9mmspu6wAR8Izbhx0gZCSvxL1ZQ+Q4VVVQ9hhtrrz/TtYVLGkm9D0rnATRfy0jYWDNjJPzcurHoEhNrb+/OxzfCQHGdRSCiDAknx02JJ7RE6NgjpceS9uHyQ8tU1ZgA6p56Lj24IdF32Onp9we1UP0Yx/lkaIf+EALPWpSc6pcHPPw+5kZn+xLbb2IzG1n3TMppKkn4wWarJ6PCurRN/c6p5M6YR9pzc9NEeZkFvxV8R3/TH5bOnJpVIdpcHkog2NAgk4ssW2MDs4deJNGmEk7B4Fj4hK4Cz1t8azZT65nzIvh8XbigX1GsNr4zioPcljoX3Na50GG/k16r6b4/h/xyjcMSJ7iM0/1KPEcI4oqmpIq6dLmtenXSq7O486/KwZ0jrpiss8cn7YEY1cMQuW7m4WAarZMU/zA/EiH5V6wSql2gm2L/umBNzdonBiPLWifGv0w934/QGxAGwd+Stsl9qafePsvbMCEYT65WCjKZERhUFBGUQnoZS4JpK5TIUNxl7GBZYCwla7BZgFrpWOeyabu1AIl7Fz5GmsUYH2AiFMe5PivEvvVLquqqcd9aF3KZcs8o1dMm0CFegJYufm6ThY38Ck3lXhsli02c7OJ9bYz7z5i33rGkVpTw2kO53i6Wfk+yc+o3CZ4QnbEfpZk+INEsLMc4YkypkYz74ti1/NZdKXSBP9GiV3m7zAfDCNH36COa2w04KyNl5p5wOAYnj77KM25ZGtxoBIEMAkEaG9WKgpADPBt7zD1htcUfdAhLNX59A+sxlz3XK/sVOcXSNAUcmJ+1YnHA3W/IMA0gCgd2C12gba6pDgNUeDpgJzR0YpMsZdxfdNgtYstHzqYpHlCJiaxPGM27H5mhf1wEZcxopCWqEsBzIpvl3gEp3aeO+u59FLXtl9aPLIg26oA1ZzClUnZwUSnSJNnjNOz+rY+sbLNPOfJzALJ+sVwB2mC8Yne5zvyHbltz83T+Z7rS/wOsaYqf126KTVZJ5+7vJ1lK9ldtbM9tZuNamqKa1POeY6ybQ+zw5blv2fNVvcsuDfP4ZSnsJ+K5TivUn5tZL/5fcUmo2K4ErpYGPKPRBqU0Pv8qu7T666uUqqu2yxkLrXCgI6bLK4GziOCtymQiyL1qRgUc5ny4HbRcoVlRVKQeLJELo61x61xlQoP7qlM++BmWdA7FdMFcA2HtKUJNKC2BB+Z+pB3rzJA071NvunyfSfYXEdTUBTRjpXZlOKrmIW7l121JBy4b/m1NV+GIzzEXlrE8AUt3Du5bByE/TbbN6+2QOEpmW2WuDg2/jACYH+egfpK4GksfW/cVkDVJswJ2fj9fP73/wz5sO9vUO6bCFPkXWfJpy7vWOcQqN89WZ/cttTuYcdNtpaNuqrWzNJob2KJ5o4/3Z0YMTuGQka2e4eGPzekVRe9/A8A2w/G+YmetguVIhLVoA/xaqknCq1/mObcVY6m8ucx++jMvFsoJfDK9O5CYqSm56N1Tkvg8WAZa4aJOY+5zKYiOTQsV9cHtaZjN0Yy+8QYsp2z0zNXruF+ZkwwtdNotJj0rxVSdYrylwVIEa98FvPowWOCPBzDiWy/nryoIRLnu8hCxdZGvgzLzjzrYjqar4LXcsrCW2UkcdEjjxskfSE6hz3wOySGTARqf31PaVryQtY6s6opt9oC6h/h/v2EFjHohQv7GZuX4/GU0wvJZdbbGPSQrqmYDwqzDfdZjnEZ3Hh4KUF+yKJORZljC1bkEgKuyYmVM5WksfKasufeLju+2xtm7jaUhFnK4iYZ7eI78rdO+5DtAB7gXcqgNI65y9c99bBdgjJoe7h5todMqXOYPB4nYZ7+2A/UWuGGfBurhHSyeyB2ti0H3T6W67Ad8lmjpQ6K/LZzaTXa2Ot6rZZE2HR836jkkWuA3NGHXioLRT9yy5uRbYszjkBmOj5t8LqOKFGMWjt0pOvRpvBLWlBHu1Q6cghPoueo2xHGRUz13AIkNbqmG0RZvzl5x4apCk/ozERwcqHzY09W2MyFRi/Q0sJWB95L24XbziLHozHN32TsmXFydT/h9uoZRRb5DflXcj8DvxxY+yqMVbFct0E1L6+KildPTi62YgrFwO1BOOe0nVemo8Mdr1qHo01Z0lMFte9i2LvHJgW1MMKO9PuJ68vEXA6YL2mfxK/iitAYdejT+OPJeZn2vJpbLZeddsm3xsu3vkixD3hEFF5tx6sf1B78MGcDnPihggCp+3IgTT2q71uFcoHAOiGbh57Pm0y/1/oyMDN0ZJFG6vwXUDdVrb+bcq+BVU/Bz8vLv+L7k77GZR5Hf0LXZCVptHQsG1bbpcp7QNVbUai6O/0I+Nd+RuOr8Mn9MNGdt/fUHI/VaJo2nmSynVI2vl81kWikGwy0guont7a1GSu8AyGHvJ2yV6piL9y5jZtF2MdZQE0xTH3wF8Xji1CxnxD8g2EUkw7oVtI6+iwK0hgbeSjejCwlWWuzJMDlXrRRSRWhFj389rqyZ3Zl/9VOlw5lZHzIusLC4cAauX1XK/PDzDq+bSUFuxBE/dR6xdGiWakon3ntKlAdL/9SVdEVPD51n57kG/tgb9jRF+d7C6X/RgflfH9w07A0n9To+l+VNb9WaU9tibG0q7Iw7ttZNv78O3oydSxx7f9uhtzAQ7eikKh4gVjPAsfnKrU+NO/9Nr9CYwq0FNlYLbQ1HXyLfV109OQRoJdrCxaUKPkCIkD18U9ot3xop3dTxulhaVDm0/xk0bPK4+w8xaiBhHJDKIIticyqxyud+EW/x7c118cXiY+Yf0GwfuYH1UL6vpVb2dfYm1WuFKku514pSNPRqYfYJ+gQb569UR6cD9d6dojOlno8dxnRIC88enX0v8lPup7M+NxIO9/aSvUdk85M0icfe98Qz7bHTucXnQX1qNGX49X9nT58wH3Vhie9ezsC9tIww5ioPH20IIF1DxeVnx8lWLJ5Ax6FoC70YV3CpdujXLmIQCnS/RR70YatOyqtNOi/j0w1qty61cD1CI3PChWiDPX7kGbpQ7JkMQZqoriQdyzynDjEtKDANIQe4vGQ4SnIp4eahkrvwAzMkFGALiGQbXOlGh+o0+3U4tHWwRJ0AWzmg1xcQEJCgDUPCCsQiQeChQuEwWFSQZaETT6MtRVEcVXx1nFr4ZEiNdDUftt6q3mvptiwoXjG/JDKetI88tudOq+y8UR8s5mImDQV3JqDoMWMYn7j2SAPToK5z49nT4O5BJaWcweO7JLsWsTcgE2oFd5Ouo3tJKqAW/gWIKXjU9n34hDvTr4hLs4QG1cVF1vlVdwvKy+X9R84wIVw9oG1+1HsOD3VUtOOUw+R33NNW1W9u3qQqt1VVQChARbEnrHVD6BwspYcQdu88kECAajSK95lvJ6q+MN9g6L4nIIGAFi9elXhqqK5lx4WrQLb3I+VuW8722c2eLqziPSWlLQbmwr9WEWsNckS1Fu0pNEF/RblMiQGK/Ls/ean/O5I7bMu28bCy+t18zib7ZhokuT2TiY8wqMav5FYQkbY0zgyazMMLgv4fPsALcm+yp6kDbAHogSNxfbF92p9tD795xLu7bUH08Vm2wNT61gKFhaY7bjofpG5I0DV8Y3Tsd+cvf2S+yViosXXjqTizq+dSf0e6ax2mEdq+DuiduzAZ5LiVedDTGakI6OaJalCD565p1+Wf+mwb2NYcX/C2bBfVts+NIRGNca58rP84OG+0+gutMRFyz0/TkRym+0t96M0Jrt3oaLmUakbIHQ77dQGMWoXCq5pzLqpJNth8HBBbFc0Ou/yX10HuUxkYO5TOCTBWOKAoh5+c7gkt9OoBHBZnubGWWvfb8Yibf6VtwK4IsFoGKs3dGOHsC7YPmx3dbLRCUw0sg6TXLuqH8sr8REjV+xyVsPFfWioVqPH9gvvj1ODRnMMIwMNG3mnJfMnGhomKLsb6ie4bYKHOqlhlN/LvVr/s5An6pNMoM6EPjje7wMKnEecrZxnKfZW9jLZfS0os85uaQVWVv7lkijJCZleHxXiAi7KaUGWvd5BqQwNc8p1yClbYJ/loEfuLSw01ynH4Xzbr2F4+LWE0vjmW4skReL8xuZFt4ok+eJGLBYIKhAX3K0n8Ok2LVhgSj74zuqdc9WXUFps6CDoqlIeIVfKIlL9TIaouSb9VMM65rBJDHP4SP0x9l32YP3hEaZnV3dubs+ruvO2OkOiOKJ+k+QCJppVty3GiOsokoscy5lo1hwRU3ZwcmiofzJbECLqoybTgNeVu1nrEZOb6DcP5HRKz/vhJ58MF9gOMMjTEhuDzekzUw40kPgkGpH45kE2quGU8i6w/h/Gwz8pgxQ71eTxjg47usNktV5vSXNZXIulZVUQ/+PSU6n0JAEGy5E3Amgs/IjfCJ4eSyKVGxj3rOUO0c5YAsabkkfZR34bj+Z6rKiTieuaHGLNsLWmvBE8ix3Id/LDYe7XNLh/+0+73B32aK9eu9OnWSues3UbPedmGmQo9HFEtJcgkSXloAS4ZYATXm9tewVIbZDgZ/HqlTHBVdK2WRp19uL43IdXqlu5++vXhFW83RN1pTza7Pj4I2tV37PoaJWqrES9WLQqlRownnVWLi3151+5eASsPqVT8zS9OulL85xNje8E2wBbySuSmrM0J7V1MOBWvg1kZ7ZZBdOzYf4yUJrl7ydO+AIOWrUNW3lzCdurbIWDrdYgOdmTxELBbALQ63uFvksHTHhXgD6LyRJaJxykF9uuMB2WYC+8xBMbEaDFlyBOcOZ1gPFxF1MYNz2t8OHE+/8DU/BnzFvk9Nmz5888IFPYoPKjAfTPxbT+daXFvs1xzepWx3anyrTqzLh23LJa6jh2/3rhy6/QV6+y2+AVf7Tw5CleiXlsG17IhTQ/RlYpFwuhkGYbK969gImrC3+ZYRkpfG1wQ5EtNxQ6mOIDNvDmfyyLVqjDiyrUMq0i/87RIzK5nZudnUx29Oidtf//GVkHC/VrgQTJn+Q3I37dd7INuXfvzvj44USJRtOo0epVkPj3f+h7iZr8cVmh/z0ezI/iu/KEW+XjzXaA1cGr2Mq7FPmVc/nY2F7vyzaslrDmiqgMty1b9qq7Tm3QR3U7ZR8prgDor28TjUuj8BLEjEVIHMcILlqnPJwaZb6PxpXH1hv1ZOMdjHL1+Hre/g0BJEqSf/tVb3y2HueImyF/FYo8REK5Qu4UGEqvIoUSBwRIlX0BMA5ljW54KvflS/2G0DgDw/4Wz/6FTzfMkrxd3KHgLpZn7upu8ZBuY3pY3LoETzTfQ/ujJS2zo9wODlNEfwAykn5ezmFEnvsc0nLo8+TpxaAWEbLysGZkQyX9gqRTgfwNmZEcAsgtFvlBrqDYNybOD/avWubH9YuJDU8fd1PweYDHREAWwdzE8VCaVU7wkUYWY0nFO4vnKHrTuFtMuH24ZbL9NTsLbMtCXj/RYre1MWFrU0+XXwoJ+CQv6CnbSjRu+1/gKATWglrHzCz+3Dv9sxsl3lgfu5Sfshczu2CzAaWJYF4YeR23I2KVKr3kjP+CNbRwWVXFQNia4DOU5qd4vXNkMEPqTA894EhCYIhYjO0fddLBpmhBhaMP6/v71MQmHD5BHieOSjRVZLo+l1j0h5KV9UmfPNPSGiWJDsYIgJqSptculWh13lprw9+5pFvuovlwynUzFJxgX+GXlry0PiQxaaWyIyQmx3xioOaSyLpp+kaf6zJ+RldEaUr77rergLb8IQTPOl2uedZ+MW39Fqt/vG05zL0F6w4fH6ygQNkeO8oMiFoGHmuxombvwkXetjGxCzPAuJwQYcSL9WWbJyd4XzAdGNVZsuxjeXWEjjX0cN+P3XUZ2aV0BTMcgRxWWV5pinN/s1NlDO3AX1nprqUU6x+dZFAtjt5Zggdcu0FJ6q9j4WQTIgGLFYXjs8lajl6YGaoLDNNtBopmxgWVIJ8R+U0YqVB0Mw6lCn4owpzyK2clDR/qzR3Y2+W70rt2pndFiBTgyERHh0w2Vz83mayjIzwDAACA3z5tfBIy642y78z24KVsXO9k9x224qHGG3MxLdJ/WY6mqUNg/fZWDM+VlRKYcCPGCqT4pjjYRPW3JIrSVJbyGJD++MdjTZ/tTdExq7tv7CpLEJ0xv7fTcqqGXvOS04dE3RLxeOvVYKE5uhqNZaFHIW96cikd4QiJ5ctEetJtrtsFlQ/hQllvUb/Q4qU5zeE1ztgxuSb+PtimefSCaQJbOBeTT+yGhRACiYCo36rptefZCEgvQYOjLB6lwIEkCESeI5YXTOfT81+Yh8Jt0xfvSlkPjE+BURODicnoOtqbqoEpbONoG6NMnhBMjFDEuXqCaiLvyF70LBvr22tBvXb5+SjZzKb7DDz521Pw/MofNGZHxWbSVfDyygzCQdHcSA5eNe+6SVr5MQ687urLSbhR9dmFeQ1eXD1O5tbaGFEe8t0TMGe59Wcw0LynDPRBVhxoyuEmDmVvAxDjvMvIkvUIteM0GkFAOVkDaBzGr2daQO3U+S0Y2YxcgC/iUL+HM8V+RkArqX3fdTb66gfYoHkjYDGsmELgj1gAAIO2nUXF4z/vTyjdzNuCAoIt4K9Of2dnTrJ/sJcshchcoJEmhxUFLHTak5jabKE1jMREGgxRkTKJR0RkTkSEhyKjoIJNbk+BaXh29qrj7RCOBXOSd1zV3q46nlcYc7xj2VhUYfYhWZtBNZDRvnljSxoDaSpQcV3jnH+SuW7Z7tljvPqAuzaU34kqd2v89feC4sPGwySTQE+/iAT/lPTKsoLBXxM7T0D/Hdn24wfw9n0EfBUpRoVrIwsLIvMAbgInB7ScoEUi0DDc9xeASg3L1W0xY9agpHf4NhJ6Vj/zcsu9/243g5fLhqP4SXlOEufLXQ08meB3tfrrdQj4nCgDumTzZl/gux9k7oDXsZKueQJ8qN4IMB2QUpAORXk74K5Sr+KAwxe/mFj/uyAi+M5BA9jIP//cASQzHMXeawjkAbY2XYRBO+VwG5AoG9L8vf9S9q1O2ct6sm/gcKfLvc7k9CefWBtTMgMzs4Iysh0GSPtWh0WbAbPkqMj4CVActsGcfaDbB4WQDUbWNXYiEWgdK67VJW67jW+N2dK8/CKUEhVNiwBxiR15B+3nU3OCEUGh+kZb2yb2QJoCuFGExR/gDomBhBPl+yimRmTA7UCUlgMsLu5iJvxc/HPheWIoWvN4mFLS5cvP7R6v4aMDUlNGJRwRIkjYEUb0hvPvZSUJeNesCUG7hnHvyPqUmZLmTiBcUG5KaxHcIpLuU2Azr8oOnu4uoEKe//TKLe4zAY+FKIUH3MoNSXMpYmkROmSreQKWLcO7rWYtDQXSSqsEhDAoFQaIWDmOUggj96w1wWjXCDl2VHlhpVAzrwgK0VoJguAOB28Odh7FDt5hLnTI7G9yifshp9EoQZUCgiQ4jBbB4OLAG874llZSv62TAlbPT1HP50QLnaX6GHGv//cNJSk9wUIIUcZBABzwVj8wN7e7SSbwBAoAhQHAd9oPPqKCUAxGoJgHRJ7MvgUIAGxtdADIICjJziiZKjT3iQsFHp7BT0CRg4uFBVDk23EtQa2gC1KBfjMmIi0mSSgApWy2WA2gRTo4tB7kYdNSEWHAw5Vtzmaas809d7HB6crK0qHvYf3Tt7v7p6f712fm5+f1OLp9tPo01KO8079iy5ZXW7ZUVK3fr8H7Pvnj6W3kiIM+LEUwpXlwlc//qy88HzdJ2DB/0xy1aPEDrCycXuNOLVj1kLgDw0TKHgokW/NjLVMIWZxzWWpEuzfUeuHQaYnHRhUmO4EB5CbMYYtlRNLwk6FZI/YTiVHbF5kfyZ108KDA0+Qb1/ocMo7AuMYPX081JlgqWI2pqGDMm8drVra3C4QMzO3ly1XRDI/OosLCB729jsee+owhFIh9rrjQaG4PHEa06mSpB412acI8QAc9nNq+fN++5e0AbBMWEnKyiXa4Kh0BJmp1eJj4A4/sp3UhoZA4K9v8cS2hMp4YCQMvxNe1Kh35eYjS805Eg9sXFBIWtuKAHf4XHsCECcIs6Kow9JEFhMMLiaZBl7LxC3UsKNAMeEbMAaoVEi+biCA9N221Udm0Whtbl5dJY5KeRDtNU5aZaFYugoAsJD2jHf4cIv8Mt0JSmsOvuWwOc78S+idjQ2MycBr4BHjqmYobr5svhzEZzy75PgAALAJQCchwcQWB0GyaYvDDhE6kEc5PG1I8mhDphJr5JS5pjvOSQpr/jetovjEzV8l/ue5Ef2WbWFKlj9c4lQUpxQ1ji3+z8X3xrbmh3CnFJb0pfTF3VjLLdTcNiF3PtTFbS0p37lxUNx/8+296be3OwdLiKmbV40eNA/2Jm7D904xR1bgs2yQ07MjBkBBsT1jI4cOhIYlJ5nWBv7eE6a9dS0wctTTAZvBaka9igFtaoOef+wPRjDxqTmet2z2FFvCEgt2n8u/kg7sFIL/ARs3QLNdqQUfHBGbW803SuHmZr6GhNDRj92gBk+UnHxXL6rKxp9wOdXKGtvM+R7vBn+DXRQiMgkfuHvEVfwDnwRwfwf1zO3dGZvOVnzM/lGqjN5/3zXqSyewr3wF9Ofdxp77f0PdBr/8IXBHvk5FRSIoJm7wDl9awPAXs4ucEHz2cnkOlri/BCloreZRW8N4DiwDGQLDHwzucSu067AwIPRg+QMbgAPY0p8/A5xkqKQA7TkKWGwOjMUoN/3M5FZCnzVDAy6ib/gcp8B5rgR7Hhr+bU7CL4igYDBXs8doKYmJCX4BVy4WvbaFqgC++mbvnZqLDw/nWMzvfnZIw/UPTfHbCV5kFZ/ma7XzWf86xsT2aml+abjxj9L1mXHTk7xoYgiTfau7w72CO0ZlNtHSP62ewH7NnaBk+X/POc847ru/1VbQZ9Bw+GcCH/uefSbuFgOd3hi4NRf2V8dfzSL2uylLP0Y95V+z869JftMiMp9f9/aKi/D7ZXv7XmyI/MmHmJyaF+WFxhnkbAcKaMHVRYU5a1sLimpKvV69Uuvr/w+X0+/iNtxCyV2StwP+240vD557+n7/soK4Fc/x4M4Wyoo2cJBJqwk9Wemf7ZJ+uW4D9zexW/9Ov3UBUJcYk1DQHHAcBgt/zmaYmQydgmrkLT6tJ1tQFL3uQ07q+r7FvfeuEYa0kPNhyfUBoY2m2RuOOZWjUiTHCeXYFYD5IEMUJgyXvrRIEGpABUkSJgthg6WOdSCPIAAlgV4gkQBXtDgT2wcEnRhqxa41+2/wvsSucuGzT7A4MZ47MoYQzRgzjZCvIzQo+/1Ku9wsg4E9akAbK+ipXkcR0qw/GIW2Unuwf77tbcEQ72zoT0Pfac+395OVsJwJxddevmaO9pfCdJT+cy9aYi0ktxjkHhbkHb1tDNIebZ3UGGdOmrH2h/YQK7KeJD2zxdGU7mm/Zn6N/Ut2LGc2AqmJ1UbVvsPjESCdoh5ibq1JcuuWVN5Zl2ZHoJDsXQoBaXFIMzC3v8qsKeQ+T7kBkERyWZSjV0jvW7shSyop+pd2HpX5uyQadPM8hUeNCCJBzU2E/nib76EGl/eO75snZh7Ld+n+ra09Ly4Lb5UBj4rl5M34sfVPYZhcg+BACo0HmZ9enVxweOoT4vvI98kGRo8hS6BX8a8BMoMhVANlpI0wV5mrQgSAJFdXQ3XAd0dTVdKMJGhXPp54xeAPZuKbxRmNXI6a5N7RB9ddQ9d3119v7DzA75DyQn3sOH8fm8QqTYq8ce3D2IXnufDMeaeRzEs0k5cTfeXb9zO3JeWzzePNklJHr/vd/euLJhy4fuxybVGxnq9z5WstNTuaedy6WqXtKSyHgi8BD0lBEAAgywrJ0DH/KQ6xyG4zoev0m+Fyxlc+oqfX/TAjqxkjxF3DGxpYw/X4mgRgH4CUq/JgpBnYN9b6E3nGkRgRUL9xEZfRPv0dA0eD5MxAjsruMrCizJJPJQmORqPD51hV2dGMeiWlKB+L9BwlDvaRa49Ze0l+ktj7ioVprkHHVMuLGjc0lbdxAGBx9Nv4ck/qGBnH9j4YffzeErvhX/S+xpBpO1sBsGRsLqA/49zTH/B/7x2hhhvppULv++KLotgWwz2mmrBnb/KBqOzuiEZB8av/cfvR1JYCGIOlZS77lGYS8F0BVb889M5VAGKKdXbb45GdzCIFP2TwvJOntkmqyMdz3reNvJz7kK4We7q7hH+gIBATm4hHnrhkfPYBc0w+f1BAe/ETetz+M8dNhbr6Dw/btm3MEgk+PaYzjadxfgys59D/nclCNf6I5O3fOSWi/Zgl/NjTUN8gPd3USy7vi58w/NOP9sSfrluaEKwHRU87Z/JRN0Tlx1GM7IGmcD1vnWC89M+W4oVwfBAtmmlyP04l37kwQv6SfCkMglj51hQRCQLLUk2H7ctz73PpNmDALbLb+au1Xej8NdqFR1yGBjQ9yWjQXGBz4//9TnakT1qNU2jo69XKcKZF6y5hmQWPTfqIVeCrVokEmbhoTHv9GMRFeIBl3aRkgG8AsHElgdL5TbQESbwFTSUitwEaV5gfbWQhIArodTE0LhB3VgZmwAEc7MkE0/bYkAfAHeC4eFmhJWv5IGpzGIPvcUqm7TakTVNouU9pxlXy3Sw2ruYcD0xNyZsy0xFIgOyJz+aS3n9+4shQA7z0lQ0h5sD2t+T+Ri3+k3FGgfoI8pHdZWTZQl/8OQ1QrYcarzh2O3+6m3Ej5UdtZnBWL3+zWBShF7rtG2CQiPh8Fp/kb8MF7mj5m7QwzkmNKKiIitpf7htBBsMTERSRFqNUouFQtQdpHmk8qvR0Ubzws4h4LtZOye7W/Lzbhwwt5GkT+2LyIxNrHC1QlJSqVwRANup3TClyIe0a+99bHe3nHZ3t7a+Mx6Ph4uUY+rEltVboe6gTuwcGT5Wvxr0wOb/P1FQgNVQB+kCKTmTsHi1Mkh7cr2FUsZTu/fN7+AJAEG0sIUlN5tDEGYxqH4uXz5w5V8JfI7D3kLmaufAipwj7CnV0ZQ/Z7gmh8iQxnUnTFtD6EZISstsnhQQjTEG5N4v8xVW3y8YVCsPC+u8yF6cJHIqNx1/AhKNM4UgxaHRuCROzkA/9mt1x7qbsHsonKR0YjcDMH1yMT1l+i+ES4w9EIKANiQ5S4FRrEXU0rHLcFcdy2pALb/kKHKrEhyTBG3K1ck0z+/EaDRtNSsYbYtylwiS33DU0fA4Xr1hflQ1HR0VHIglWCR+6wlOVE0Qg9PCIj3McoWqEnZ0UdvOAI/+nTCmCxpvu8J4wsgTk1IqLkAMjf0FbKv9BsXrhnt/u0myRYJrSaEXimRXq5HqCEXGhD3IqLQBaLBlB/ZKOyEd29FlqzNLIpXNkCdYgNCGRfZB3iaQxvjlwFemA9WBTRpAxvRO8kgvaZF0CoAgTqyNGGhqamIrCde+gN2f3vQwGyyOzClW66Zes5OX5Ti718Fv+7OLFnZl2QopCdPSksWsXgVYrCws03bbGSDGuWrXYThQgqLxYcwMhoaLT8AFGGIQ6+EqdZVUwKShxLYpZ1e9iEcKtuBq2uDqkKUdSFVUO8kOowQ7WiRtEJ1qYiNLY6V4VgA1V/XwGU2UQ7rbegpo91uL5IR42io6Vnn89/nvEGyI//KkmVDx47//Hme4nQPMcCPCWTbx8Dye82EFCfB2WqdcMGb8+WZkh1QSBLyR7gqc6cOX36zLkz5+GgtjltF0B50EGNlVDoYGmmZomSKlvIXMpkMZltHsDD+5qBV8WBgjVr8nMLwhUR4XnX6geVdy4TzlINx9zBKY1is2KBgylKj8tGXUJrcfHowK+P0dk4LfoSKh6nRw3jRQbDKT76LI46VPE7+a791R8DKPM7V5lO73A6YXX6It6tKJKnWmQR9c/x8GnMti4sB9QOQW8gUwBl/Ab1gx0I8OQJIJjityAqoTxQQOFQnlKOgB4oB9E+ML5rY7nVf8N9pa/R4rJPPx6ntQO/8CPAZEGpuNvBf1GKUIIjh+TTWBT/0IGuzncSkYFbWSEXjNB8roXmvBbB9711jsOBbCyKb0qo0WlSic1sdODnqW2Vc+4cj7p4MbdQMxyOihvHU/EgshZjIBgwN5ejDei+E71ihGXdX9SxJmHMcX9pSZj6jmmIXsWQbnAgSSmHECd7uXzF5KAZVuI6KIG+bvnjPum3+vvoSsLRQvdilndFi06Ee4zZJh1NquJEn6lRhInpLffkoJfbEumtivmOFskIUQX7EBvaABj4H41HvzvbL71BE9BTaMxUXL3Gf9ki0duF3bhMQUm5t97y0FKY/4knQ1Gm3nA9r/A9uAVN3SHRHsj5kECCcD2P0qPeKiBo34d49AU0nyt0Nx09xOIcBdSpQNcRlB4Xjxpf8FdmcjZknhHKjcM99vic57+E4gML93cn9wU91yKz06hNfKsG8r4hxTfonLCiZkHFy9geQmzQqi/uhBQEbZnj6TD3FiSYiiOsLTZ9M/ukvwPUD2DqiWTrBiqe1o4CYTdH1di2znPhIIJLpL5Zo20EO1+u/rmao2vHTiWcOplwcvUZG3wqdBe+FHgIKRLJjzCEEudAefnyv+l/YTlQFKCq7pcHZ1mr1bY5njamUeUzh0+ZCdmKkQmledpI/6YNoaqZIyfRuiGKbTXRYcXuD/HMtopRW+d62ppGgaMVV3W9a3VXKxacqrcnBh9U9fSoWlAhZs9azI0dp9EvyAhtfNxUXTBtbQ9B/hLuHPcPMZTltnCV8g8lHvlwL91f7d+v/vfjH8A4pXJgoDJv6bosMrXkwK4y7lfLtuLituvmbdlbVLy4zHjxrixmbEX5HkN5bH+AVlul1QRoSpN1zXKRrsCq8dRCbipiSUPWvCVL5uVeA2GI58qcrdj3K2QrUMa+0pZuo/17WdtUJcGtVgrwyL6rw1fPtQ23AdzXL/CLNTGLwHwGZ5jzzXKIEw4yPik5Q5bfsLfJrXR1W0ybujdmLHKTR0zQL/VmKV1AEZiYXom74af2kM6b57jUrC/H0WmlpOxic6odgU6weyEEqMXJUW/W/ySv+XNRaaw0CFIaOZuVxTnrmrxPhtp1w22FR6A1zHas0dtFl3LlOjud3IUQoD6/1HaXr4Enu+T5Bfn5IedwvlYr0Nyvvo4zy5m0TFlOcrLvGyLasfHE/5LJhnZZ8PAgluJBiCyvIb6JsvWLJ9hV2hHi/WyRS68vti22em5rCyhAaEjPEjEsi5SJz0y9FMGmtmpfFpK9atkycN27yLz/fxy1/w9v+zE8+w6CeIhvrAZtgwpN5A3I63OBb+2403zwxOfrNM8z8Q00Rmzo3wBrpCPSE9JhKSg6KJ4QXz1rzfbi0QCk3GKPHlwwqobSbBLWLPbXuQWo1OGhymjzUlcLVUdxXmtnV16wV+6lYDFLCsI5qmh9+n0Fry4GB4RuSdz79eveptNbp7ekLNi6dYHUdyFhF+uwa6WyOEbqF0a7fNyBBomv/9vTMX1E5zcc6ajZkNR++FIrOTYmdhl84GJ7z/UbPezY2F1HjToy7L+fso/PQUf3vPwPZBzXZ+fsMXm+OCvbdsWduzYrsiMHylst4/RMQwzX9nbd7MydOlu/1bGH+Xk5+rNngcMPyQbJzShN1I1w0c99yzRVgxrJkGxQ+muEW6lpZSOCYf/3XIdf4yS6GR4VF6sdmRtpHJS9j6MGt5eXr1+Cd4vI30pVmywg9zeljCPeWCrvyYUA+olicxzXs7X58JVLMOPMJ6YFsIiFyQsNJrDhR/NBp9CrcluKm/eKN/PmJx72DZG0rvPzn+avx4CHrBin1nt5jvz3H5U2AghL+sQSsdiBQTXIoH0SCbga/vu+uYaGHz/I3fR9ar6S29vPVfLVCQl81VJ9vRjgEHNVbrit7xhVoo6v1qqGQ4LYjnn5eXmOU1M+GdfTMb8buKdpSQNyCCFXEpXypCT5NuI2OQKS+5H8kH4Uxcz07dnFPNJBeWKi3D+xnB8/JreeOBHY0pKbt6Ql8PiJ9vbQ0F1V/NY2fvXIwYNztmamd64nJZ7QP3mSRP86y2HF9LST0/TtmZnsBfQZcDjOYsLiSR7vcXjEk4iuxxFlEcoIUQRoaeOMWNRfwxypVm8xqAc3nF3Pzlo0Wz8bvloZrhRcJ2uNYQ0Z9oCNPck3gBXk2GTP3gDzzLfdAURSyVrpB2eeecvbizi88eV1eyTmfjfPSOPANb2yP1e+uRTW6z4r/qeuHtiU/WMu92/tuv610WvXrXsEx9eYNuOC4embN6ynraQEUkN7/ae9tsfg9Rv65qKzcZ2dcWeLSh7VuTIG3zkTt3KlqJKiplZ2So9i1ZgRdvSkkdHYKNbopJwTO3IepDkePixxl5g6zNKyGnWxQfyNOIsAxqipmciZ2cjZ6cjpqaCft45eUatjt5pqbwubU8dUbW3r6LZlt5E5//+f+99/h7f+ON/+vx8ARLDYa6zAMxoWXJqzZ1TltyW5NgCsMeh6IKnR+rXjxlpvkiAa9IxCRtLru3kgk48eR66NWpZfNgBvrf2Uk4v/8dzKrqwBRdrP0tVUK6+JtTz9F6mG1XE8gP23QAP2i51rVD3mgowxQ7MCTDaBupfM9p5cybW/2duGF95LdSPrtl9WK9ZrfxZqQrX38WNQ+l9+WieH2nJklt0ek0uttN5+mriyt0ZiUy8fpSOdvp2H22y5qZbE9WlmcrKVy/6QX6X//0Jzi6TnbcP+Nrai3dbcnMosgBEjtr0wxOhjZ/+tbte1lYnGVkRvUMCLlAa6acYRbRsWN5F+/11mb+2ARllAPLM136ySF91+9BZib8+eVpbKvtJFddXHflmMcRtGX8skw62lh6VMu4X4rcL0Kwj6ZAFKtibuiPJGcCLetOGlD1kW0Xtjs3Zm3XJ9m+TJL04VKaDfNqOZZ8KSyWUj9KnUqUsdvSvXFWaUcWeOzASaevWUlwCTrWwWshfZsu9dvb/f7LDuDWsFqSE9ZAHBcuh/sZS2ikD+BS318vN8lgj45yQYvpm5Le6L7U7ftFK5U3Jw6bRWE8fvDC3uB0WnJ2qM1EgvuazrRX7TmWNP0mu0x6fRTkx2bHRcX6J9tUIRdDOj6/seKpKMxkUm8+wL1ra97jR+5RXnrkeaO6twzq46Fiv3XvLMPfeN7zhXwjNjybc8IEavTPv3ie+jL8PkwKbusXJYh+O/2I+z8/Vt59qeU2X8vIKifCbpYrxVKhoQvBLnxs+NLTz4ADo/bM9BLi3u633YG+o/sTvmbHt3Z5hjxhu6PDnBTiZuevuQfVAtr2VWTQusqlbpU0LMXKnMIH1M436c9hhmfbfWEcRCq5qFY033YRSsZ3P8BjfFZTHJtd23ybZnGy38cuMt5Ni6JlJkvbBpJ0fbN7NWiGkl77nn+DGqooQk08BFInzJR1IN5wHlasDIWh8VQmgxqghgINe55HJuJHll1CKI36MOQiRi1EUWGeMNIr48oNuwCdyUGfSokIJSo4oQYrhuyZHcSHLbqEUiHo86SCHWqIt64hYVRHrZoTxtiT7rXWhJN2lvg4dW9MaT5ZF+NZb225/AmYXD55aPXCkjJinbT3dGPZoedODaPcnm262JQXlXQqW7PTsvu6Bnficvr0Xj7YoqkbSsNtNxzIuuoouygKw3AxDIDpnO7iEnPnIAS/PCzOnLUekFXGoP2ZUetCMX3bgf436eHUNUJMtVSEvwSMtjXhmbzjuivHWum28J+7v20Ovdumm0De3QAxUmsl0flqwXWPVYCpHddvO3ACTZum0DecTwV0JP3d9xvnfkOv9f2hh+D303YUlWVE03TMt2XI/XB4AQjKAYTpAUzbAcLxCKxBKpTK5QqtQarU5vMJrMFqstPtodTpfb4/X5EaZohuX4MPYLQEQp2mRF1XTDtGzH9Xzq+fHrD9PTNzDECRqdwTQyNjE1IykWm8PlmVtYWlnb2NrZOzg6nC63p2EFJHQRZka9gvVOeBAi0npBPu4VMEpntpsnVsFa5K2ZC1VQIf5LD0wIlSvSwRzCFsZTfU9XSMqcGQp53KX7TcLBToIfyllqGujgeFo4oHTD1oSWmR5Bane4tgzFcRzRAjziU1LiTCY9NxwumLMsTW/GZWGqJYMSGLslgxNAS3oxjdoJgs3Suo9ENB3vqwfFLkBVAjgQ+YTPIBjo8dTYdVyxDu2GelAVDdaCiPB/aVGiiDRyQsIGBPAk8gSDyCHZIYIMJt01J8KBVczr6YE+6cA0GAnT0EUO2Q85BIIwvIU77RJqHuMBYwOrhaITmz0XXSiQQUbUTpnrcopTWA0exCcWIZVnrdeQGkUXxPKgEIZAixG6hEiFEd89MzzFLsAeuEQIByOP6/Zd0QiyUIUgHAWdQQnnRkSFkpKnlAoBhA5STTsm37Gcc7EgMPWYHBIxWKRobjEQE2VOpIvNKg9WFljk8jzBLnKxzDk21CkdKzSH+I0xvFo8XGQyvG1f2DX5bzN7eHqTz2mJ+nF1dvOMN7XY4//yKYts/5foyO5Pso3a+bQLIig4IijH0SUbnWZFuuRfsqKIIFTIBO1zjnYVI8p4CAqUyPhWkKd7WpdENd28uJObPk23Ni1AtUzbjjYKntiF8nS95dI7qUE3pZdK+5NJdEPOBBQ1CLwy4C2swhjJDDoKwfkYTCKoVyJDVA2tJxMi5Tm0qYjEcQHqiEoB18xMxul76LaM1qfTp9+/GnWlSsTrRMqM2B1h4FChzkOJSDqfhOaKhPuejIZz9BgloaViYAKqS/gKLWF7hsJJOBWYQVGVbvm3TB1QXSy8n2AiQrhk4hf17/4HvQEoXTw7Xzp/1yisU1s95hwMnCbVTo9v8uPzNEsAAAAA") format("woff2"),url("data:font/woff;base64,d09GRgABAAAAAFKEABAAAAAAfWAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAABSaAAAABwAAAAcpMa21kdERUYAAFJEAAAAIwAAACQAvgAbT1MvMgAAAeQAAAA+AAAAVlakZA9jbWFwAAADZAAAAQgAAAFyzrP78mN2dCAAAAZQAAAACAAAAAgAqwX/ZnBnbQAABGwAAAGxAAACZQ+0L6dnYXNwAABSPAAAAAgAAAAI//8AA2dseWYAAAdwAABFjwAAaqCuG2k4aGVhZAAAAWwAAAA1AAAANijrMKFoaGVhAAABpAAAAB8AAAAkCToGMGhtdHgAAAIkAAABPgAAAig3jg+EbG9jYQAABlgAAAEWAAABFn/VZMJtYXhwAAABxAAAACAAAAAgAbcCg25hbWUAAE0AAAABWgAAAtATvGKycG9zdAAATlwAAAPdAAAGdJKdFyhwcmVwAAAGIAAAAC4AAAAusPIrFHicY2BkYGAA4nuttu/i+W2+MnCzMIDAffHKhyD66Y3Cw/8+/e9ifcVSBuRyMDCBRAF/RA5sAAAAeJxjYGRgYGEAghi29f8+/fvG+oqBkQEVdAEAhhsGdQAAAQAAAIoCSQAVAAAAAAACAAEACgAWAAABAAAuAAAAAHicY2Bk0WOcwMDKwMHUyXSGgYGhH0IzvmYwYuRgYGBiYGVmwAoC0lxTGBwYDBjesYC4MSyMYGEwCQCyJghnAAB4nGWRzysFURTHv/Pm3EdP+ROkQTEbr15I1vIW85TFWyopw0KWFlazsLG0kR/13kZR40dhLQtKYSFloawkYkdPSb3rO+a+upj6dL7ne86de+aMMw8PfJwyIMAAgUU78Qwzlt/oW87u4yzV+kY60WH1zFn6RFx0Sw49P3lFT1m1Zgkxwlggs3Kri6T0a46CfpJQPzDWjJchPvNXkzdRP3OGT3JP3ujliSTfoPLYofdFHZJesss8lksEZvYiYz/poj5M38869FY6l34kB6b/mPqKrFPnBPV36j0JHZ/xQlb1Hf1T6hfTY+1T1//s167pJCoPm2oMFVXCtnuOVtlAm0RYkEh/qBUsqhribAuqahRVs4fk/KDRDXg3xsmwqceGo3/3rmGJXFNPkLIE/AcBhmSa+4vguxk4Mom+b7hxX/wAAHicY2BgYGaAYBkGRgYQyAHyGMF8FoYAIM3HwMHAxMDGYM5QwlDHsIbhKcO7//+B4gYMjgxlDCsZ1jE8/////+X/p/6fZGD4P+f/bKg5DEB9EOABJj0ZGBjZGOCSjExAgokBFTAyYABmFlY2dg5OLrgANw8vH7+AoJCwiKiYuISklLSMrJy8gqKSsoqqmrqGppa2jq6evoGhkbGJqZm5haWVtY2tHYO9g6OTs4urmztDQmJyam5RRW1NXUN9Y1NLc2tbR3snsoU+ICKo2ssD5PukEgZfIDcQIhUGxNEgjwBBOANDTHwhpnsZgoE4Li02PSUzKzsjv4Ahr6y8FCjkDcQhQAwA/CY2RnicXVG7TltBEN0NDwOBxNggOdoUs5mQAu+FNkggri7CyHZjOULajVzkYlzAB1AgUYP2awZoKFOkTYOQCyQ+gU+IlJk1iaI0Ozuzc86ZM0vKkap3ab3nqXMWSOFug2abfiek2kWAB9L1jUZG2sEjLTYzeuW6fb+PwWY05U4aQHnPW8pDRtNOoBbtuX8yP4PhPv/LPAeDlmaanlpnIT2EwHwzbmnwNaNZd/1BX7E6XA0GhhTTVNz1x1TK/5bmXG0ZtjYzmndwISI/mAZoaq2NQNOfOqR6Po5iCXL5bKwNJqasP8lEcGEyXdVULTO+dnCf7Cw62KRKc+ABDrBVnoKH46MJhfQtiTJLQ4SD2CoxQsQkh0JOOXeyPylQPpKEMW+S0s64Ya2BceQ1MKjN0xy+zGZT21uHMH4RR/DdL8aSDj6yoTZGhNiOWApgApGQUVW+ocZzL4sBudT+MxAlYHn67V8nAq07NhEvZW2dY4wVgp7fNt/5ZcXdqlznRaG7d1U1VOmU5kMvZ9/jEU+PheGgseDN531/o0DtDYsbDZoDwZDejd7/0Vp1xFXeCx/ZbzWzsRYAAAC4Af+FsAGNAEuwCFBYsQEBjlmxRgYrWCGwEFlLsBRSWCGwgFkdsAYrXFhZsBQrAAAAiQN3ACICiAAAACoAKgAqAFAAbAE6AYIBkAG4AeICJgJqAuYDHAOYBC4EwgT8BWQGOgamBy4HRAeYCAAIMghyCLII6AlWCYQJxAoUCoALJAuoDIoNWA2WDbAODg7wD5IQEhBUEMoTuBQ8FHIU0hUgFXoWaBaSFvgXQheSF6AYLBhqGPoZGBmKGaIZ7hokGlYawBuWHCIcZBywHbAeMh6QHqge4h9WH6YgwCGsIqwjJiPqJCQmKCZeJpIm6CeQJ+woNCiGKPIpYCnGKigqfiq+KwQrGCsoKzYrcivsLCIscCyELKAstCzELWQtri3sLiwufC6mLt4vEi9KL3wvpC/MMFQw+jGMMgIyjjKiMsQzFjOYM8o0ZjSKNN41FDVQAAB4nO29B5gcxbUw2qeq04SemZ7QPWFndsLOjDbPTtworXJcaRVRIAgMykJCZGGEiAbJwohoZJBtwOQskjFgDDYGGy5RcE0yYDL2BQP2BWun9z/VPSut8LXvfe/5f9/3v+/N7FRXOJVOVZ1QdbqWI1yS4yBPbuYoJ3FtdwHX3nu3xJM/5e8Shdd776YEvdxdlEULLPpuSaRDvXcDiy+oCTVbUFNJ8PzH00+Tm6uLkmQFxxGuwnH0KZ7jZE7luAoDK6g2oPhDb0rdsRc69xo7jR2L4Cl4yti6YyEcZewmzRAwPqluJbfAQuOWqhnHAcdxN/McXcQ5OC5tA11KlLA8XWIwsLD3U2pbOHT9J73oh4U9n35h3P9xL2bhRPyFeEo/4hq4udxh3FncNu5i7GkyUypmUsnMWCjky6ViOQYBv1bIay5IJcWAX0pmM6kRoDYYS0yosRCjJlgMXNSEyzI4GgN9LFTaIOuC/7ZgETNkNb1cyWRFWnuSO0THmtkpzRuzDay1OexrBhr83qhtYA0lvECNp0XHtSdlMuCpC0snXcsLoiTQa0+OpyUpoAf4k6+lwIv0l1PWafq6KVPW6do6MlZ0LO6r8ylBe99im9O2pLfO69JtvUsoUJksnRBMlybq6X+b35A4ZEFDhgQc4sBKm8O2diClqTE7a4Jt5UAHuHxGv0M8+QZBlCX+oAoFSRT46zYPQDAF/RqrVdPXTp261rjaLvUuwR7sr93uwNqzBAT/nnRpQrChNAFeb5o9OKZpYC4nsAHi8Yu+EBflslwjjkwiK2XdgHgtqcVKuZDI61pARbyl0gk1Qc14HPgAqDjSX157zsJTNkTqAgFPljwTieJzTLVAnqkWrsTAAA1Vt8K3f3fHht1vHASAGWaRZ4YGMEBDQx8M0D3VAjYFuDj3OX2LPIczl0tDgnBGnD76ObzJsbmc5HL0TfpHnMsax9mgomMzKjqOdx8UAjgZA34xhTne6t+zdE9/9dCG8lIqLy03QADi/XtIU/VljN1XbtiLn4ayWV4Gy3vHKg9UKWsDKasKB5UHL+7phzgrwJizv0AHaWKxrKbqy+/tL5FhcRU3SB+h1+MK1rl67M0YjM2Xi5mk6Pe2keJYko8Rv4tk4mVPJi560pqYzBTLeQ1eOXnB/FMWVH5w/KRJx//gbuvxGbTu3Wu8+BKsffbUWzdvvvVUWLuAgRk7D8CwR/9LFuAVixjQqdaas8bVh+2IYEuSXBoDiXw9aLqK/Uok24GNb7keh1tQdfwm1HqQoCClSdRpf8QFmrt6r99xkaitnA7PLjf806cT7pKLLza4147lOekSh7d6v1tTX7M5COfWpk+fXjS+tQEeDxiI2UvWH2u8djGjOhxXjzTjHcSMzqVwduW5Tm4q0gFOLQQKgZSQbAZctSou3gSuYRWXryipmp4oV9RMVs/pUqkI/hqO0rlsJeCHZCqbCqRKuKJxgKRsvgfKuPKlVOG468jjwRsfbaoAVJpgayN7GocIAAJs5QH4my+80BgMZ8P4Z7x84YV0fV1dmzc/saFFdY8HSY4CeB0euO6Bwi4Y20Y+ausjpK+tqreNpctAqOoito18JED/mjVrDjNe8LFywvPNwNSlSz/OJnz1tjiEPQ7A3o7QXZULmCurnuMKSJjUVClRSgQSgRQbBER5Io2TmH1BfSpV6AUFTgGlt5CqXkyONbILdy00soUkbV7Y3LxwaG+yQLcO7f026aw+af7uGNpr4dgaazbOKa4V6x7PzeTmcFwrZMxFXK6ky3ld0GrrWBLEZLai4lSvqBKUcI33QCAV8KVwabOpXxBKBTb7ccWrJYZoXYuCUMlKsNf4wC/KqgohpaBA2C/YbE6v8QcMKF9C/5dfVl8NaMnr8cPW/vUkfP2AGcaQwX3xxRcbrnd5lDBMC4fUG2T5BgUDxgNhxeu83mZbCtEdxgc7d0JoB2St/ENfmLkHBswSqGKV9s53d+xgXabcTk6jG+ifuEncNG4l4504IXRN76HlcaTMulXpgXw9iYGbuEBqBsmnuYko4dzPZsaBL5tKttMMg+0BSNEEpCQdJ5Ue0AsVnI89UMmmRDfOx2ZgiwV+4tF1m1MAgbeJPNUddkW4VBD4RYoCkKBeJ7/Ad6sgEmJXhepJfqedh1t9C4J2gokOJ7+IFwRY89fLSNzYuKpdXewKUP+HfvAr/GK1fZWYEuubZTomLjTSP2me7oAN5yuhgW6Pww5YvKAr/DlOD7mtus+l8LyLeFwegQi3aTx/jhISkVIaZaOf9nmnqAp/330uH0zxFseIUQgLY0za+Stuu/AxXYzzYoOFKbWArBHxg0P7P/apli9gERBzZhV4RlIYmtqgOA4SuoarFbFVHge4Yv1upC6ZIkiS42SHnJPtpzpFdE+zM/9JTqlDtm1mfsdmO/rtDmkfMJeelFS2KsSxVUmFXOXqI53OcFw5QwHnGRihVMj4skIXO+Tqrstku12+bJnkcIrLRrtWPFkhOxDqENnmEMlNsmMZFppk5YRSzs5OJRnC8hqwklBKqVSUlLmMRtaSyvm5IEos1qq12OABLkhxEbOFguskVUJitLa9N5ZsppnmSclY+9CrNNNrPAr91ckrBlbgXy9Os/ZYclLz0KvNydhamqnuGIBJLGUFm8fDLwy/wLfxbVyM6+AmsNHBSczWKluq+GXLkn3NGT0W9CTGoUSjo0xTrpQ92TYA1r4cLnC/ubQzJcKdcMzKmVPbW1taZ05bveq4A6EZzx539ovj+7ccu3Yre47r/3fjS59N9oLH7TY+s6k2H9/2d5lGQjOWHDKSEZ/ArVt3hvGGZhPEexwZxz2iYEM+itJhilN5oJ8iD0wjNeriZnDLcH2ewp3DXcRdxXENjJbjLPnGTMKZxSYNW7IQg8II1wQGHTV5QMl0+8CahX6xGXzWw4pkYNyBtGSCcQ1r5lr5uANwfu8oQDpSLDaIjCvNLJVmwnJvJOyrXuCNRLxzQ81O2Vn3Sp1DdraEjN9ctnr1ZWvgsUg6HE5Hhl7GZyndygBbLTddwnh4LOxbxoLLvBA/ED30MzPXHhYfYRD/ZhXz9IxSaUYResI+4/ssAVZhHt0dCrm1OmPt6stXr76cuKziWKprVImjG0Anm6WNijG+f6Adq8zE6n37yzHlhH7kz49ybq4Ox6rE9XEDppxw0NDglEOUIb4QSSmBuRlMwrWdxOj9I+U1RzVT1Eypu8BiTYF7Oe0f09k5ZuhR5io+54dOJ9nq9CmGKPK9xh+dTpj7xI4dT+y44eKVKy9eOTHsy4QVn08pzaSPdo6pmnkJ5u33KX6nc4zzUeelik9Y5pzmrH62g2UE30qWc7VPCWd8Yd/MksIWMBTpcnz0Yn+WcssxXMhXsF3ZTBJXTwoViQrTD9gqc/G4ymrrja21UsHP1haDzjRDqSCoBXNFYl/ZcsRZF2CpiIUspkOA6VEQbE04VdXZ7VTngSx7x2YnpdKMhEvEmajX1MYxE8eNaZynBgMI1pBsQ0nzjEIup4VCwabmzrMXNebrokG9s9WoGtUNJOJU/WGH0+nQFJdPDoai9e2yU5KJnageu67Fi7FoNNkStCFEuC7W/SpsDkQyLQVPsbkpGIT+4WhDPjA2GIXtG4wqbDLp/7FIaC7nmQ/HHFVAqm5AOjQZPjY0njM44ymoQKW6w+SrIzTQzTUxOQYC1kxgK4RRQWBoQhLfB/jMeMpxhrkCYwN+DlGSYghGDObJcpfduNPuctlh0O6Ci7tcfp/rSddx37v1yy9h8ZeLE37Xr13GnXMGj9swd3Bwzjtkaz8DZk714S4XJvoTixnkl7d+7zjXr91Z2PXOHARk4Ae1M8WNRb5mtrPZclhjUyOk4gD/+r/W9o1mWzayNu33/g97cXAm5v3vewTco9w42k9/wWTFyn5WC+XCfv0rkwXV6t6jLvtybM13fAGXK512K5rXONWMWkwHWYXGD2GNR/KOqXKNKOK5YZXxY4zG0R+DOs9r9FVzbDnIgTXji5Uc5Av+dM7U9XLqyErIqQkruUyz1V2hzHivFCLH9XRXbyB7MqFIKNjYEAlVf4JOKEKuq14VqmieZJgcM+6LUCRTHWDxwSxZhg5Cm/OwEet/G+v3cM0c583VeueXcijWJ1NCLmFVyxia1ZSElS6+SVaGG7pCjmj1ylC4IUuWYPGhaEhrboiGyBJ0QlFYQlaGKn5vIlL9wT3YALLHakD1JyMNGNnDkBmOISBKDAGI1Uy2VLZq1K1nDn08J9qMLn/AqxrNAq81eDyq+thjj//K5Va9QbdMHowpitGlgh322myxbJ3N8dgvHn/MoegeUySnw0dz84RuejvqYBFuCkYgzbHq0HSUR8U4cm5+vx5ocXuL15eK7FsxWTySKUa1shmJtQyjfjDvP8+94JKLz99+8uYFzGu8+p3zv4QvYMoHHxgPfkAutGUqa1KJyX1HBmW7XO/2OO3ZOBF9WmBMJRWf2ns44c7/bUtbW/uRR283PW1PDH9gZf5jOjFp7NKoLdNzTCIuA0+D9X6HQJX2oCzHfBqJu+ykoYvjLDwmEY9/QN2Gq5QSNdKaSuiSuTGEnfRgZ3bDp8fNmTt30Rqj6YFJxl5onvQAvHzF+g0b1l+RPHz6jPXHT5p+/2QosPgVq4zfrVrJmTr0yLpWOC9qTqbmCqNFzoQvyxQnSylkeIMA6lTpksqjtDZ0c7JQSJJnLrijuoQuMhb2L1y4dWFTu7EChqr302S1wJLpomTBGLpj6OalC7cuWtTf09wO7/PPPLUSY7B+HD46hPVLuEp8XAvXxnFxqzI/X3uCL+FLs25K1AWphIQqnalUUFSXdF8CDh8oFAYK8Iz5qK7YAcdfW62QL2KK03mHUggb355Gjq/uzkcikbmPrris/X44vmCCmn80bLwJyYFwKGY8GQ6dM5BMtl8GuwdWGDstvWcq5+Xr6UdckRvHTUdujXStHqx9GsajKJtHCRTJRyJMzOGsKrP2mTpesWwqS0ymKpbj+71HLHEFBVUg5PVoQJOucmqBiDFI6GSyRbJLkmSvnpVosfNEK26vYNjFDaeLpWmlEtFReplVoB+prh4kpDHJ4zLu1TwuAeZLor1FsklJXCrJSC88LUq2Vpsy9Hop3VAa9bOGvICde4EOcRO5+dy3uOM5ziQGvQTVV7Z3ZxEipqFpehpnW7k0QiVMcsVkZMHPNNXyqOjsyNSsUXb4b8K0d0K6iYKxNVBMTmhobm7uibo9SQW28jzflC+xqHwx6kI9wvg2D+c6U6EYi2vq5bVoIBCI6XWaFqjuHhUgowMI6LHxsvhOIIxezEntqvqmIoMfxqdZ0ax2m6r8TnAK/W8qqmJBDbD8WIoWw7Jgw0hpZuhk62nFcWzWrht+h17Kx5DGxrgc1434XMQtYVKdmqjt/Vi7Aj6mwJj9ZxumhYBJbCx0sG9qRMEplASGTxc0Q6VGvzRLNTGlIUh8BWugA+Z1Vz/rQSFnRj6ZUH3p+JIpfp8ecNpsstvrVrUz89OnLzM6orJNpnZn9DaXw2Gz23kRpSQRKZXD6boAGozX+ajxGFQv7lrQ2NRN493zq7ufmKZ6QwSiySck2aurYVQxHS5eeGJuc31zsyB6HWMokQSHy6Widi4RSoaMFxgdGZ7KHSpsp6cjz5nDreHO5K40dStesLSrWgcEnDojGlY2gxqW+dXzgaSVHvAH6oi5r2B+Gb4sjDFwoVaIG6y0juJ+NS1xQIUz84wFswYhfyDerLVoVUg2tWbhGOD0+pjE8z4tl25/w/i0eYY3dei0q3ZcfFQrL9u9M0697tLHGt329vQEJDPO+mC6uTHtC7Z2Jvvbl0/uX5o2rnKP7053lDo1T8ORZy51EdfE8SIvUnKyJ6u6RLXVy3uWnHBko5xeelFXwLg9Em0OKrZYW7gjVNDtshiKtNvpaXzqEz2V8MhyKBJra0jfGuI9iVmDG/POgD896YRpE7w8WaEEC7mpqVaFiE5ZbOxtTTV63Tzv0FqXnmmzL14wW7Pl+VhEjze3R9TMkeNbef9Rp523SJZFOdg1tlBI1x/eH2rpOTTrziybGRVXKf7mUDrrLal2u68QmKm6IlE7weEansUNCt8lb3IXYKCsx+AAtq1ZaA0bxrogUENsbSzbIMdAR7RoK7YPR6EdJMZ+8YkDWd6fPSWao4/5TBZsMuucWQ2fyBfM78jsEA5RvS6qyO2N0aw94ovzlJCIHna2NMsksSIiowKghoL45H2iKEutk2f5CBFFv+J1OEVCfKd32XW/2x7MSrIehshga0jk25sDrkREjXbxIqlk25xe4nTZ7AVfc0njhsHr9jodspyesWLRyqMXT4uQ14jqqg87Cs3BhJLUG2W7O+x2OsXuLp54SxKRSV1njxx1OdyiS+72+jSf5JTJvC7kPzYZ9S5F9kSa5xGnws/ojouKT1OnzyC8Ix7x8nxXp4dUIs392JD2bLs76HMFJTERaezw/NThqU9PHbs4wdXk73NQBtiK0k2cnV1VDpwY6KbUlkA27UuY7Cid8CUcUJrOiJinAWZNh8uQWhn8dOOFk2n/Vtnrq6suJbccVV1y1KxzNE+KrEHI6QFPalr1cnjTUOudymS4zFhLMtNq8sfwPlNGQF7tAyZ0QCJwP+yYxHafJxnH0+nwjHH8JMKboaNYngP7pOx8zYayRQApQwE1RK5DTajsbCMEeqrgS2VTUsonFXyqxUXEUephlk0CU++L1hTKFM8NLaSLhm5+k2/eWUzuThZu6N/6/DkT4knRoYYjIRXVkCVzM6qm+cYMLEnrgbmYgTNz0EWdxq7DD4emmw0ONoQjrQGPXVXEoJ7oiMSeV11dLmXXOaqnfhJnG35/+Gl+gC9i2/0oD5VRBljCreXO4X6EeMeWV/bvTtWEJIGNgBXGiY3Mkn4zIl2wIlCdsCIOypL9O5CsBdNNa5FINhNMeK4BFrqFXC2+GUbis/T3Q4kMvbJxbKy+aWhl49g+qIMb6l2y7I4ZKynvSlEangsnRlSMiRq7eOpqoCREZvTXu0XRFc9jRIon4eo7cGLULcuuGINRfF4LqM6LUggDUnxqDQqQ/oMPaZdSR8DYJQiqswZMCBCCqTFJckcIybMklovQoVI+PTQtEwzl0/SBdP53fofm0Kjm9UaNYc2OfqKp3ig94D0DPY4AcdhVnxntrPm3BpgfQHZgXhJgQLUAOwcdfofbxp9Nr+dUrgFHcAZ3KLcRZ28uYQmxqRwbOlw+kBsZiNyI9gWibu5JjINyycSsG3I1LpLM5mpsKw9aweRNqN+mTM6lC7maSoEKXk338LvJQ96g0+6vTmIP+CF5WFWcilOtTjSfxkoX4e1Rn/IbJ6H2qFf53rvukOxQlPddQAM2m5sPKV5JrrM/rXhscp0DpPec7rhMwfW+0xOzUSCPBr1exRnxYHHGJy5HCmmOw4cxILoU2R5yv6u4bTaNgOud3zr9IYUH528VX9TGg3GdB6gt5nGyqtjzw6ftdTZZdf7WUSfLqonDLzknP45+ibpBBFdvhZvNzUNyoOl5HXGRTpZylWKadTPAQtjpDGijQ+mDQjRX8nYUce42CFpHPuBhczqeTabVBCXnbNqVwekSM/7aTI3yhqszFP1ftiGlJw5M2h8yOjf9AAHrWYjSM2Q9EyJp6D1RJz67fchdF+Cb9g0RuB1I/UtRIoz5dYKnEKt54WoAqH8xSoXGJxL2ml8c8+v40BN1dHcYKPiHljWTBP3x0BGcqT9z3E7eRk/hglwro7iWtFGuicVRsAgWklu2+9aMmmMmKQZSSdGv9cB/rtjZWzk8vPDQ9b0nNS9d2Nl7ykB1D+kvzppVnLbzmZ2B6StWTJd37ly5bMIk5cSJ09rblp8d7eydO+uUSQMrZx21dufOtSt2rmDyJeEINaiBI1CHM7kF9ZBeNgrpZBspFdlBfYxYuzBsmxp9dERrKtee2jeewHYMM9Y+Tdk8vOcxJ+FWP7h9cN6OR9Ydc+8Fgz8+Z7meSJdzxmf5bDaf3VzIZAqZT0z3TNM1drocDbN6Djvy5OEbHjSMKhnc/uDqdQ9umz3plOuO2vbDhkAqF+8ogpHIMPA9pmv9DZuuMcOheGOl7iWb1t74zL777qmae9lNww/SF5Dunsidxj3E/ZJ7iXuLex+l9TqSIsiK0lqHmEJBDgfC08E2PTtwcXbgetRzhTJOtZFQ3gyZI9VRNqVn9NUeFa1D08UOUcp3lDvY/GQ+c/MjkCqlOpqRsyXY1iqSA9OQoSOPYnXODZUUs33I1vYMmCxTMbW8irVRwKRYdE0JxvIjTdGsXYZMFuWdHKAYxChGFuPNthVRM6y4IGtJV4UiO1bVdHTTWDlWlsvgl50bM3KCv2KhnNdzAT3nL2DBuQD+5cQOf8bcDtbyUoeoVcr5Iut7jslSZaRVxVKGbb7i/MTuVvJYELIOKMRAN3ddypUc9gCJVQZhsZ3JDMMoE6szlXyxo2x2j+VCeRoJHysQ5bechAQviThM5XAJ51geREpHEWW5XlwEJVYeAoksi4jV+FGq9zMhEJuLD3SZDpBkxTEI7IefgWsIOnIYk0ONuA5wlBgGc+bPBeY+US4QA9aNsSRfyBWQkFjZYsQfEAM5Wh6RGkvZhOTHfpoGAFhACiVQNj+KpDPWfVjHuu5Z6xXbpMA4KjvsHpDHhDTbPCrZHS4K7jFj2x2xeFuj2+YQUlJhvBKWkw2i5okC7wwuruvqlhzEHlFKdkFqmXAkGHugxaYoNuOleT2vzJzQEvb9qgV0n5+3O9yOpKhToLpPBqqKSKaddjHidTsdyBNcYVFye7xhUcePlHIoTruQDhofzD4Eptq90csh4BBkmx1lweu7Q5KUFfgALF3T4p/ATyVn+uKQ8DMmK0vo+KajX5Ypibu8iuIt8ZpCWAQmKRqVABASCR6SU6RyBGmigCGfIwJgI07qRtrHMxgTiDlUBBJ2CU4qA7gVux9zYqSAD2oVQkCimgIOB3VqqFWaWQWWW+AJgvntEbDxTsGFNYg81D4sI1+nYLE2gLADSxV4lObxAbV69xDFYVPtBSrMhcPmBny+gK6Fi/GwQC6foCaCBLrrpweD62bBapuyaovocdglCDrVxkdkj80h0vpoOd/YjKsXx3FZ97icPeCZdKeq+j3E5kgees7dfkl1LquXJClEK06f8/Pu+fBK8eR637uHujxBnlcyXk0S6oNqnOdDrnq3HWjM7WAqM+JJRREHHO6Yv88fGOvLICelwXo4dOCZDW0te7p42tCoKKpKiXDIguCCxtO+Y3eMnTl71oId9xyxio5b2RSGEOKOd6suD2IS6uvRccc8OBAY8CmKT9no8iIiKeJDVN1hhiocBWtUGPZ9DoebOgQiRXnZGgEmY/E8G1oi4mDzUQlEB3WJgs1PSA3fiFscGIrodnklEAQqeF1hbADWI5gDDebPb8OJj7hkhQOWxqYLz9cmDc5fLL1OooKDulFlJEyyYwkCZaNn6G7dK7sc3e6Q54gjYu0Bj0/Pj+tq0VyEpL2pZL3PxvYHPh7+hJ/Oe7h2lKaP4FZxa5CeMy0vjxTD01HOdRRTSEkEJA0BP6PFSPE64glGrf0+LYB0VypCTvWj/IASG6MyalFKMqENqUfRii3kAzmfX/LXRLmcjwGigO2vJOiJkUhTm5u09X5m/ELX+0onQiOMWTwJdTfSOX/q0K25aJRMWxOGOdUVwcrShhTZWFc3jpAt1SvkyvISrYtEht6NRGjdq8SRQGY0LUkEYVwiHboSF8Sypup1DQ29UIS3qpe0NMXryWkpIURg7mD1rENgCtCpJF8XKtXVZApLL9JQj+MSYG5DZ8wjPPN4jOncNqgd5/k1+qhxwZie3NRde/fuuurotbybeprh5OqG46+55vhTrrkGTk6EtZcv27V37ZrLW1NxqaPb2AG917x/Df5hXRIn0L/R/+Si3FiU29qQOkJlLNVQs0cdnEguIZON8cipmJ+YbC0QI2xbaiyFPwmumMNTB13TiS0SbvCEFbdClhwRJ1Io1lGacRqRwrGOCPCuhkh2/uHHtB5DeVu0Vwn47UKisgR2CZ5SaVYDRCYQ3kZsTt+4ok53/yiHWkgkxOtF3pmsi+JCnNQ73heJO+sb5m4fA7KWBgjUe7KZIMPV8Aeoh83i85ybKzG5U8QJzs4PsBtlTfeVakIXk32iJGUem2o9KA1pTLLpYwaJ/HgHsVW/cNQ70AE7Upd6xxd+ZY9f6VZ89yh+n2tzt9fVrfj3KH4ScsTs1c8ZmMsRdSAs2KsPWWk+12mdLA/zs+ycY/ir4a94mZdN/dbBuUzboyDKaMz6K4MTHlSmJ6sC6sppPTUOApCALGVb9piQsEFByuqQhUvICca11Q+3G68T6bvGncZHdPr6V69cX50DuvHa9l+uX08K8JpxV3U8iMbfqPzq+vu2V+d8V8JcHxnX0hnbjddAf/m7xl3r11+5/lX6jvH69urO9evhNcz0kXEnucT4G4jrl3+3Omc7Jw2/Pvw638A3oCzZxS3ltnDf537C7UEVffTeNaoy1rGXtW0pBCyV1AyxQwfzoG/EUBEOHCDlmIkYLlCtUDvXCvhHdKqcuXecMw8u9gPvP/rKk29YJuAEZKdx9VCg5WwxY+0Vx4DWdpmT5jaeHdY5JEkWHcZnTlH02JtsNtnFd8uik/lE2Y7xCibDOgzue8kpy7LN1mT34Kh6HKKMtL0XHwzAY0dw2d7kZEEnebOrK1v9PIvuAq+U8T/qT8veBRd1wFHb8rlc/vyJLXH8LI7HEwm+4b+ozen69AqrYeDZ3zCE2/cCOthmVrXxmUOxWsMKsLN9OrvZKtadS7EdNNA5xriLncXDnDGdBWZCUDDOyk+a/K2O/ORJ+Q6CiyTe2hKvr48vqY9b519/5txIHf7MOTkP58PV4kuVmOEbirNqBQQprSKh+hgGjR0fwFPVD/4A3Ujbq8NgPEs/M958/bnq6VOp/pSRhi0ENlSvhjyjVTlOoc/Rfag/M0sZf81A5oB9TJkREkv5HdmvHYtaCdsOrNSkYHaWZA1sXqPPTR/Xt3jh4ctvHtuXSXe0LQv1Z2yhsbF4SGtp6uwa199ZOaS9vzdk8/nr46Gl7R3Glrb+NvyDN5bfNA6zWNk3HHnYFL+92Ofv6Ouf0dPb2dysh0L6wk1jZ2xt840LhQXBP/nwo+AoY0u8rS0OZ6FrklxCh2iVi+H6zDJLUdBQOxcbMp5xpGyeSWMoBvkKjMV1K+lIKrMScukvbLaNN24xfvy3b994nByS32JBN0Qb3RCSQzZj19T7p4Bt2n1Tly6Dx20h+bgbT4e/wZHfvmmDzfZ7M+xqirogaAM7+KbdM8VYPeW+KcuWWfplnIvRt+ibSDcQ3ZyfbbWOOnnDRuFSqAdEoaSxg3SUgduhDcYBrgDLOOAr6dmlzqDH+NATDHrcytJnRVWaAp86iRa2WwERLBAIeoJwjQcDSn3QCjoRAqQpRDE+dCvOWgjzWCBs3+9WeJQ/hzSx3Ucfzqbb6Mvw6Jo1pp358L7hfbzACzjXslwPN4dbwn2L7a9Ipk6Mgn0bWLsgmqk+6LmReHMGAZPnmfSPjA+TTDhfju04m3soGcxjpgk5Kaenc5VcFlBZkGhOz1X+fe1aV7e2QwHXDsUf14/eoWRdOzBm3TrFXx+ETQeHr98PqLF81WntOfJkS5vxdHs75NrJOgtKq2X68BvQEw4OE3Jw4Ze3tZPWdii1tVd7cjmLtaPSTnfxTJutszhB2jzUMQ1wA8KBXVswiR8tJdh2aAjZw6s33DDrhhuMHZE6TfNk4RkI4+MLYwnZVV3xS5Y064ZfMgvuFczA8/3qSnyQX346tIucjA5d8SnW3T68jT7Hn8QtQup+mGmHgyuQamy/PcfWrbXbXimaKiuOSKmYK+VoprZWc+a2V9na4jK3rzCmoJUwzA4DWIYCGxfUYSu65HOA4BOop8wnvMRj33rYLclVLS1Heb12HULBRDJUj6zGH0gmw3XUSZlGYSPhYDIRDBIblWXSmYqPIR4UYGXiVsfmT+yI/tULW7zG1+SPztlF40+tNxz53QljMquQ38ZDqaBOglFBJi64PR0M83xAi18hIkWz/6I+HAzqyV8r1PVIspmSQsNem3R51un6Xc/KblCNd8G2wPjab+2h3zb8BzqfrzPtclAo9QngoylfIg23k2uN26fCdoArqofBPKiAcTt5zzgWLgaYy/JKwzdzOr+Iflrj927T1nsKjm6lJGWZtW7tmR0JM1blBtM8s+SvebIW7xzHrGSYySazD0fGi8gFxwsvpF5//U3asXdv6s03Xw9h8PPPP6fT7Ir6VyXt/IoIf3ElXX9VFTuqGZ/p/i+VmPKlX7F/5tc3rL5tad8RRxxh3FjzTFh6ydK+latWGae/F3B75dMk6TSmDrCn7PX43wt4vLYVr/tTtjWCsMbu8fpfX2FLsfU+a/gjfisfZe+cCGqilDDfPEiopMvwwZ+Wwp8Mn157LjUse7YCz9FnzB1+Jv+kuA4shvEd/AmJmiW5n5qhUkot1gw7U5WSadQmMoPXRIC8a3QOkKOqdXTF4npdr9cvNDpJoLr72dnd5LPu2c+elQxVPaHkWeQo8spNN/31rwOn6jFdjxmL0fs29HTPnt1t/Grg0xBOuv846ijkhVO5n/I/pVM5O45S3JRvNMtcKeUz31JBkTGdiACzJaMpqqZ+CoPr15+0ecNvf9vRk2vq7IZfg2PFMWC/fuvlW66nU1ctP3rDF3ByYzzWfK6xCS6sboLPDRf74UwqD39Ff8MHzf05riHODnQLWBvWiywSRemSAiWTRQpwOogPkh3E+MI4z/iis+sXJ0LI+OCUwXnQd+6DZ6ter/qI8SU4HzlpxYrTbRe++OI2ZemSzWc/iOOS5tL0d/Q1biJb0ftPHsaBeZDOvv7R56WVsjmvRp/EHThr1ZDY0sd0h9Nj/DHi9y069Nvju8ZmG8P4aWzt7O6fPqG7KNhkaSEqluLceYetO2LJggnjsg0AmYYJYxcv/NaSW8cP+ukdjpDxidfu6PAuXBiOjBnT1721u29MazAYj/ZJqPMv5G2ysDTdjNnS4/uWLPzW4UvnT+zPYDFT+ub4mT64Z/gufoCfg3PtSO5E7mzuIraWdCT+DZlsIQa+mqkA0qxmKJb2Hwe2gdlnF45lsdYh63CydvIo1cK6eHD/SwV/jDC0BIrmTj47XzePnKSSecKEfnYISfO8ppvnKVK2DA0TfhaSrzC++rEyXfnRDTGPKhCnHHVnMh7FLUioe0NdVHHIdtk+zudWA6F8WPe47TagVCaq3e23u0QbU5Xtdo+rLhz0xkIeH8LaVB3u0Z0ul6IFJ4057sTmaBrqIqWO1khznSS9/X2QWIWDczdP+Fm4ZcJD8L2/XbbtTZA8nphql52yBHlBFCSH4ozU88QueRUt63ZjTZKoKFog7HTYFaoyqdbudCpuZ9QXcKO8CahaKrjYI0rALUM6hHgGf0syFQyGYZviuds/LpU03vUmkdRuZjVuOLa7/yEwedrIHnQW+fwh3GIcKcZKkM61AQ4CcoOxKJQUGI9AxhBjgqIuZV3ghqxp3K9XsmMBpUIki20owaTYiXBW0l2orukoaGG2kb3qLGwPB8v+y0/ehlij206+3F8Ohj8OByu+UVGlUPi2jd6mmfXfKZwiSKJ4SuE7semt3o3e5pkxM0oSMKp+ZtP3th155LYjryc/tsXUyc8f44hpMccxz09WY/I1P7ZFvZOfP0qJhuuUb2FUXPrxwIWO5vqeQxcHmlqaAosP7Um2SBdeaGuJj4qqb3acfiQrdLJ5xjl8y/Db/CI+OYojWG+FcJJHj0uebDxNBR9790/Cn1AyTTzMd50q+Fvo4H8Ejn1H8pvJvjtEGjPSArxfnb7y6BWQXHH0Kh9fwtTfQo7+hzDkht9Ai/GSCF3Grz+dZn5gGjucdQzfMPwGv4SP7OdLfvMNmASOVTPXbtJxs3ao1VooJQsBYE6l1h4o5Qv+/SG+d9/5Uf7ufcOXPXfpc3Dp0DVw6fOXPGc+n73s2cskXtz3tzp+7L7HKH/GGfRM/Bi/PfNMfit+jGfOgC3CFvywc4vC8DP0aZ6d+E7iZnNHc1u5S7kbmF3BiH0vO0TBodfYIk3qfmLaCViGetkMJSWTXyLhGmsphEzh0EvsKLgHhGwijuD+eFkqphO65rNKKugWmfAKZbYlzAwXvCN2xpbsQy2KEYMAs5gTWaRFRTBGo2yfmB3O+ryVMmx3rFmlJESybmlGcboUF3i8ETt0AVElLeY2OpRYq0jq6sBf53bzoDoVp5JZeqzg+HAZfiDuMC4yLgLwUztMNB43HgOIEN5rcxBi/+BDQZFoV/VjjxdJg+QAcLvYixRAbIKDgCrwTznqZPbuouZxULZJR38jB9lLA1RyO0KUuF2E8O0872hQEgnqsEVSLXGPD3ipOl60x2RdokRsiypwCBzK9goVl+bIpcM2O21qdAQXofq6HEkhCrNTCcg248Zgy+szBRAI75bIw2OcdiJOfCLsNt7yaHZG4sT+RzI65FGllSSHOPiu8W8itoWf8+4780QHzxOP22O8ZrwqKjx1OSRIotyqc8rwe8Nf8xH6CfKuJq6NK3AV1BL6zbeHBri53EJmIwX7bW0TB73/GIXCKFcvllKBbCpQSBSKpiht/nwBDOlMOsEfTfkDBYogNMDMp0opus/hsNvsypBdsbEnjHXJtt3ovxrjjTP6h4aqtjPOMIwzzvj50CPGL6GX/R4ZGnrYwA88iL89dptinIu5bHYnvcd67saSdttsyu5HYMsZZ+BkH7dl3BnGueh5ZAt8vQV6AX9bqudbS4CD4bu4n/Cz6RJm9QAoYdeTOohBzebJnIV1YFk8IJviskmc0WaQ2UiNmNUwWHja5fM6eHN7/c+fo3KG4iLBiQXBesWIss1z3umJoDBc/nFa+1hWwWv/yxBdwMtywLG5qSkqA2zfzss6Qkx8rD5Z/4vJNiAhOw8aSNGmpmPibm/sMM1xnt3Trtp37LRsPmYNf4ayYMM/kQU9o2RB4B4ZfptO5P3sLR6UUbBjmmTaO4O1VdANBRRL2DYAG/NKOU8LbvAYX3g03W184XZ7NCDEo94Vb/G47/K0wnS3RnAtMAgPKG4t4FYBPHfTqXrM49aGfnqXhyPDzwwP8wUesM4ZZq0Mee2mYsVOpCqq+WwbwTijOygBWIKCCzpYImudKTCxyaePtI00uOp0n+cmt8fvUz1woyfg9yA723qG4LTbnbJdpBwG69zhrsoMljbMjcAzwJtcTeTPHr8exoV949A7msuDC1yjsRvZs8W1dStyb6CCVF3h0nQlpNZVOmdiEnAjeWislmfonRs9TFa6kjucX0mvQeoeRso+htH19H77XOvtkbSGvgqw/ldQXlKLJcGP8QEbZYI2L+/7LFupZHkPuvt2q2HeE/IaucUOx5L34dF934afG3NIkRS8oX2fhQ/vzJLzsp2d2epmdH0+WNAvy/268QAh5DzzaKC6GR/TYJWxAn7gQ7nfPvwf1OA15EEhHIs2rsh14jqfhzroam4Ddzp3Pvdd7mJuN3cjdyd3D/cw9+8cx96ATQcKfWAqlozI55gykJKyul+rnUuLOg6oJRlkk5I/X8wn/Xk9UHu3xLIkzek586XJPDtENF9UZRS/EijsJxUFy7/f/HJUJq0GaoHo7Lz372quWHaZgWyBKTCoRwfYm2BMMs01A2oPKfZCqQ+/agd68mUH/WJoiYfYwecHO3g8SG2j2bqw5osu8LpcXm+dNycIvqjP1xryKB6fYhd1yWNTqOSze3wibexuSqWafH2tfR6b36mgw6P0SEWRtnj0vtZyJOCLRgL+usFaYd2e+KC+cuXGiRNz/Su7uo6r3LaRbrxtDT37sLP51ZXjNql8dt/vfrc85+edfCiEjj+3vKUl54tGfX5sldNPA9FAYKzN7vPZl0uC6hVExSWImTBvU5poVKEiP7jcE1U0z3LP4LdSkuIMCGJLnBcVbNHy5Rj5zbICg4Mez5KVsHzJfR0th3fkwFgEN1dPhapBzR9l7+HxxufcEYJCr+KW4ww5w7QW/TudpWYtmBsxfx1tDLsfIpdljL6CQ1vYf/j7za+VMW2Z/mQxbwX1ISF/4C2kLLMzrGkOldz+mms1ChJhB3OS295T8Lg0V6Z/TFM2O7+HtxPd3+xkdFkClZcdjlB9pWfa5IocCDiOnyIIXj6VJqLIE1kUEqmBvpmtbn/Mle5LtwWbbV4fCRYWVh6ZJRvxORs7O+fMqXQBdHZW91SyGRSWK5kMak8Z4yl3dzmU9reE+QmtwaaOdq8TuS5lWyh3AOElgUoguQTZpba11qluwZGgAnH5W3oVl+JoFo6s65wwNt+fHiNLcZ7ZLOrsCFik1oks76xr65weKi2ILxrbEHJ6KMU0QiOHLXWeuHHOnM5O1iD2/FMWUWQ2q5zNPuRuiMsOIgA/YWxKdkhUFOx2XpBtHGcbvn14Hz+PT3My58WVv537HncJtwslvztQO86jmsY2BdIjnjLofjckA6LkR53VDWyDM2MKgjoCpNzIQRKSLjB7f5qqsB1RoVQcB/kSrkCEHAdsf1SzDKkrSAwrCMF04XyW0fQYElWxJhnmNQFXboUZdEnZZCaV1gslvZTSK4USih4ppCqVbDGF8iBWWh55G1I9bBKZcNh4uKyjn4w/dPx44nYG5ohEpBWfp4X32SbxAu/lKfAuW9Qmuo0n3rahCP+BKm64kv7MLTZiz+aIAk87ve52wSePtcB5xT4lILpEMUChx6cWbbzUgoIWaop0js1VnUWviiIgmYOTyviDdwf9jnrNT7Pytvc2UJdEHdRboUecvHDhyfNfm9TS3t9/2ISJreaDjJ8YENyi6OdJj89TslGxRRBYqWRQdtO4l3bw04MkMF5dRUhAdIuqkyfdDJAXm7B6O7Dq3YJ/HjInkXb6VNbDiVaTqXL14kbV5uQRiCxY8O8LFtDGOC8v5m2TRJxORXomtmf+yRxHoIkDOo5WUftYwNZ0FJixL664kimPB0TzTdo+KJtvAWTQwwxWmCUO1RlcHw5pgW03RsGU2E167cKQmbGC5YlU6Iar1q+dPQcFTj4/kWRSxeIAuqVYSK5LtrfLyXD4V4SunTMLdm9cOzub5F38+FIsVaoMkDRCheUo2TT1yIfXX03mzF63k3fzHZG2fDo9q/BwPpN2KZ4TJOLlXX7N+A2Q2bM23L32AjInM6N0GR+gE/wNmWgDVDrutkCPlznOOfzb4ef4Et/F1XEZ5M1Fbiw3ESUStid+OPct7lT27hejNLxkmb4Xa3Zk+YJJXho85mZRNsNjz5GzpDQ/LVcQGYxZpZgxog+DGsYxyqdqeqYdCoyEYZoIolTICJmsplNTrzJ1mGztxSZcGHxpYKbxt+9f8p2zZs6gAwNnnnMxoVdvOWvGwFAAGflaoFvPMi6G6+9BYeweecVFi6+q77HZvrYR6fTp0WfSFyczM7p7sgsvyTQ8eTdSQfFuBanGTf3ZZxqgbd7ljYkXLt586vRpZMq0zaftRO/U6VOm/xUJw64zz7ycDMw46/TdhF55OtYGMGvmmWdFjMuMfSDcd//Ws6D6+65coXPSLOOSwrZVLxXKnYVCZ6lo/GL9imNJ8ORpdbn8eGPRtsKUk9dNSmcmT8r2wQdHnrBx47bSlFNh3JQpp2823tx8yvTpMGX65tMu2nna5gs5fvh33BH8z+n3ORGlVg/q4hziDBUKlIgCasBGSqoP5+A4YFQlqXmj/Iqot7p7B7y3rw7eNeo88J/LHc7l8FdfZN+VUXpmAPzGhDwcxVcnCeQx48fG1Tx5qBqHjZNttsnGRQFLTv4l1tLJc/A39gZNKtM+3P4EMhcoV3oiFrNiLqNo5G232+WE///zf/6HxEK7odNmOzjy4FA24gs89ovHHvP6bXHRLh4M+//JD/nvQf5P/5CGMbuhzN5PTcYf+8Uvf5Wox8Fl71Dywx8Pf8xrqAOxXcAwFx2xNc+p/pqxeY69249aj41EACbSzZlCqWHoPHQz9CSDM96H8AUAYV6rxTYwiGVD2+hJ1SaIQLj6W1Iy3jfPjYd3cbP5FfRuTuVitftFDryMgHIwlIvZdIbZcaA0S1euvXTGrNXVvPkgSUky7kThQxLp3ZeuMb6/dvqMS9fAKnwYvbxHuIVINuM+iQp05H4OQP3agX0aw3Uxq2PRzxRNZp4EprmzamprWSveCqgscb8vYSWRVl6SeHhSEEVhKCHZRNEmOViA6CwgwMPmY0hjcfT3mgVBf8+CRifL68Bw9SMzS1IQqy+agB8LDIzjXMPDpl0Va2vCvAdjFeqea7i13DpuPXcs6hgbueNwTEa1GUb6MrqZqjDScIQb3VtUDrGb7MSacXB2DRp7aS/XBh1Jf0FjX33/N6AFsvVSrQtEH9XxWu+MTivN6g6sZxC3OOxEdrjBC6CHIAwR4nY77BESBB104iVu4gS7tD0aCQd9HodM/3IAM9WPTNzVkDHU4jhQ6qMYgYm/EAVBrq9jRoga+NwOFC0hQCQ7OLFcL8EaIEiuk5xunx6J1JnzGT+mnZqFz77/Ce5gFL58NTyilC4GmHC/HxuoDx2MjaGE2d61zL1NtIn0fsFF793fQYT/ZgdJUmSl1SYB9pS/F/vH0z0cHa4OV0e1+3/SatZAHTQmbf2TMRvKoLpKEqJC/2nLwiK7rq76jiBI5hraPy/dKI80s7duLfwkRqotpEfNuFoLrcZAJiUUk9j2fKlWZV/1bayfpChvLRes0cQdicEvMcHopEL1A5+P9aDeREj1DeoYWTGIqBcxxeg1mwZPUrvNZnTb7WYbjzVxFuZacKRn4zpnbeqDb6IKn4FCMSOZbzqY1nbsFYKs1SF1BNOFdOHANTApU8sbkB0y2S7IsjAUZi79XfUEQY54RIyXBU2UXcz4yXhUYkGofMG2muX3EfLbLP55WSBXYsAhV8+WsQuiwsr4i5U0UnB1pSB3yILO/DaM5fb3C7BfjVw3N7i/X2Zza+NQa3OiktnfIwYgjZ4rDEYoHXy/Tcp8jZvsMntQ3UR/d6B3ZEdI9MmiJsg+D2skzGSNl6ovS+JfTN9r+DN79ntBJlvMTldXiXIAO/d7M9omElauSL5vdu1ERRMsPMnWHycPD5O4SZsl5Dj15rt1Ja7CjWMznl0Uky8J+FNN89dCAv3sNhnTjwqZVklj3yVBK2cYo9D0tI+qvtpcs9vt8JRDNFpRe/w3krILls9oNw2JX6QCwVklADFaTIPwNBDRbqf7BOFjQfgIIV8U7O+zgN0oE8zwMXP+THiBfATo/MlohZeMJnhWwBUkWNcPmGuEYF9UTuOy5m55bdYFfH5rX7NMVUjQv+MqvjLTImHU3ENgnpP4IVzBBGf8rwRcs7xWfc+YDvTFg1iMTxAlnq++bUyzGNCTPCUd8Eu28lluStK4yoxZ1bfpi8Zkkx48YS5yow+XWvX3FmtihVHrLiuTXo7ilTAyv7BVMGqN699cLjCq8RZpeJGRFkSP2c5RvLL6IaN7gjHxANFBZko/Hk0LsB81Zkl0M8+bgkha91MyZJZ02EAdfdhsK9NYD6aRf4diNkmATZIRnvyChcag2bw3JNEO4pCOrlCjUk7WAMNpJn9o0cUIlZwUPmeuhSuDB2qgjhbGFjBbvG/WCujiqOMkBTq6eVZf91c+FEPRmn6IzlAYFIspwLCJhi+tmlt55JXwpel+POSlb5mYyLEmWvrbdcN7+C38AK4jzjQISagF/vShO8+ng+fDQ9WvyEVENuF2c05+D/2S3ZiRNg9D+Lv3/ekSutVJPxy6BdNvhPf5n5BTR2zlbqRVeP/iiy2bMNfwvfRBfibiO2SdDx9sE1bbyDev3WCnxciTQgQe+PnPF//858YhDcViA1FhfLHB+MSIkL9Vxe8/vPiRRxY//E6xgb6XKhk/r/INRdoC6lCEvMRc+p7xqXm3R2z4Bf50vgNnZBs3Aen6HHZyX2mj7MxDd7GbWvUYsPN7dkBfKraRlC4x2y7rnTI46BUzF8nmuVKRSyW5gJ/zkcHuUumYuU1acKzTGa2Lzsz2dv9oKvN3zs70df/oR5i8Yt4YzRg+/ukrFy++8unjT3j6isWLr3j6hCfYdbdPPGF8DNoTm3tKZMzcVaUxs1N9Wi7YML0uWge9PbsH+/R2DHVG+3p27+4pZ+euLjXONqYt/v6BYo5/+vuL54P+K6u4XxkfwesmrjcPv8eLvGqex9cx+Th98EFJ7V7V2rWqaRXWxnO5OJnB3Op9ZEb1vh/Fc4NklyGeh9GfmNEBFvPJUDoXpz1Dvxr8jHxiyeF/4Q7nt9ObkPYWrXqKZfOiK3aKZGJSZXYqB6Qi01w9W2KbW2Xz1UEA90nXfecY/57j4rkNXc89133sprND8044ZR7Z1btoUe+CxZPXnbn8vPMONa44/LqTVl/l2XhrQ71xCoPs2gBnuW89+vjbjl90ysKNy87JHJJ99MQ43Xr0oefBs2y+nsOdJnjpuexNbGteF9QUv3HovmvoH6+5hvyheiWVh77iCHcLd5Iwg25DOOcoSMAn/5OhW66jX193nXHndeT96kXUP/RHsrF6EdnIbFd/yK0Q1tFdpt0B50sEGlmWH/G/3Vcij99Mr7y5ego5n7Xjh5yLv4N+ztaNzyz9h7znkqGz6edDdZTdiUu4IDXoh+a9PXVcDqV1hknrMqkKO9E3OW4qU9uTpaW8pqfarNuFNT3Qxmzp6D8xRwmU2K7uPzY9CZAjYs3NsekdR+VmMM+Lg11dg92PFOd5Bh1pLZX3Km09h7WF9ILvok3nMBOUczZd5CvoobdCetF30XHnzABKNuXOqpvapK5TG6fVndmxiZGYTR1nxue2BptjX9Y3dXQ01X8Zaz6qa25X11wY+OG4dtWXT3kzjvnq3OKEw6qn7pJj7vFPLnfUaXWO5U+Od8ekH+yS69TxTx4JIHtsCxZ31jeLF1wgN8U6Fy8IjGkaEzCj7P826v4eh2l7Msa8aSprrmmdWeHAP5v9oMLbpbVrS+vWltfin3FlrK0tRp6pb2urr10rXN9m3Sp86wjMutJa4+wDQLE282bhtvpRFwvzjPvRX5ttYpYoqf+iRX93Mys25ZBJN9886aabJ95008SbjaeShW5wwEng6C4k2f2s1Yu54Um33jryZywqJGnjoqamRUOvJAt0y9ArtHHoFXM+WbZKkomRNONv3Ih1EXbamzxwMbB1IZQ5k9LE2xAMNgRnzep/8cHtg4PbH3zxwW2Dg9uMMbB6aOjee6pwF0CQgdwCE42HjbH7IdiDr1pQ93Di/vplU5phI5Kz3h02MV4wD9LZOCA6fGCODLNhYCfsbIQaak09JFlYCGcsgDMWFpJDwzec87Pnhq4rJOEM40w6zzgTzkgWjE8ntLRMaCZW7MKFzE0WXnjlns+NT2ARg1jIADE/piJg8wTLBpbAHmqQAfO+JZ3jvN+4a2nkeey41tZxrXDOuJbWcS1wrhW6p9UMjvqz7Ng/xoI1HO8QjjYHpsGOdYwqZS1y6GcH7hIZeQP5YdLY3dU7OH3KTO9xsR2rv7Oz0jchAvWzK5XZFZh75JJiYXG+d+6clvzghstWj1/d1T9xhnFnhSVb9R2G9V2L9XlYfRWTBBRKulSyaIIvWwmY57jZSsy8Tu+DCVO/vH3v3hOu7e641XyUNkyc9uXtT/Zds+T2Lw+79prDrj1hwkktxnuW7+TmeT0sAeuZjHLSz+gwp7AbN9JmPTW+WQ+lsda7RxbHLOQ5xjFfuenDoxb3DCy87/z52/Y8d3nd/J4HHuiZX/dT4N4nyr7b1jzU09O2e+m2pzzz5qlPbrv8+fm9D9zfM98w7r9tn3XP14M8R6eYXCtr9quhkOcZ9kojGGUdxArhW5UVt78LTS+/Ao3Xnb/ylJffeP2VS+5bU3n8wcoq39lHH3PhhcfMOj4+Pzwv3nj66Y3d81OrKo9bpOIWxN1C7BM1Kb4Xq00FCnpKzeISFFTz0nqBtPb3v7DgeUgbBBYuvKm6GIahevVsMjCjOodcd2p18Xg6ceiRh75RnlQrj9nfpFWBJiQ1pSOHRXHmxf7+RnZz/U2QfmH+fMJhicuvhsyp1UNPp20zqnsW/ewhOmHoYVbePVCkX/2/cZekxY3+VXdJqrBpg1H9110maVwI1Lxfii3a0fhYwa3jNv1vvmEzBKaxjyUNgGn98y+9c3MDCv8XkvNMlMEm1tV/8S2c1U1YC8+xklHBu3CDiUvBvKf0YFz+b76p1BSK/mVzzLqv9Lx/8UzbPwa1+wCh08SRgPwzz01kuyaj+0ITJetOrqxJjSyM0cqo11fdKHr9c9RsOtCNHxtvnV+nKIonFE0w3BAvyjt1bVOiaZ63uTNH3Nv9X2KC5/a3unpr6RwtEvLoXjUR9Xg0maqywnvq0o2qT3aFWpdO+Qc9H7W2WF9V5IZjUUM6tNbf/2INCP+ivv/99DcO/X+Eh7+f7qX/u0gxdd0LuKt4D200dV2osN3hR42nevcRf+/VUMZnoNeCe547jz5Jv23+j5KsDSo20G1sa9nZDf3Go+jA+G52N3e38fPzumE885ihR42fY9DiR8u5I+l99H6si1mOtZuyIkqKZPQ93OX9V3mO3NPdEK+wuzwl0ZOGp+/Mba12XH7n3Jnd3YlUKtHdPXPu4sWDM7vMUGfPTOMX0LpmzUvGi2vWwlqYcReC56ofpRJdPRZgdxcD7OqeObjkkLkzu3oS0bVroPWlNWuMFy9n77pxC7kF9Ba617TvnsLNRE0aVwWKallgGgezQkGlBJjhuxtEpmugxNleSytUsinsUQB17IrpqeimVIJqSFYKSAheSkl6VhcqtKw4BMMQ8LNMcDgdzEiQ59HvbdvbZpyuOIWlLPzZssaf9Z27+rwHt0/tOcV3vq/3Ho/PpSzrrbz9maDuRdA2nZzYtpBn2Vkpy1iBWKxDYf7prS+3GW/yWJQTw5+N+dm5a87t+9n2qb2+C3ynYlFNwUDWs7Sn8vbSz4Tpe9tebm3V9FY2TusQB2/RJ/fbuVsy7Tc0CzAFWTVxX7S1NUreYm41DjONe+Ey08XfggMJ0dYZ5C1MP24GpBHPNq6HO59XUaccqSOLmvUAt5Jb/Q9qQ0VVLxUCUu0FelPOHOVPm6+8HRBDEfHMdg8luOw/TPGp58ZaWmJ0AnOHHiF11XfJMW+8MWN6g1vT3B6/31N7GisjWbfd71R0e8ldSEQa3Ypqd+n2oquY+IcpX1/QEiVbWNHVs6It08mW6llkyyUzZjynuTyBgMelPY9lo8et9fntouKRC+54wC7bTc9ffXbR5bEVXfGAzWY3PcbZZIv5nu4mvkJvsf7vUJrJo0i5dFxIOBhMWGz8+uvyVXCFsfoq+H35KmM1XHFV+etNX39V/sHsq0CtoFv+mlHBJs7GL+JLZjlproO9lbq/tMr+0v7ZthDc8sILXRsBjOGNf+7aaAwDbOx5zrhy/eM7FyzY+fj6DY9dtGDBRY9teBhk46uHHzL+E2wP7X3++a6NgxvvYE7X89Vvm3CPM7jHN7B8gwjzCIN/hMH/is1F4M6mQM+u6bxM5/iv9tNGzZQOFY68997+e+81fhTOZMJkK3OrW8lWVG3bWHz/vbcciA5n+lmKRZ9KnMS31vRrU5scXZf2j7RJ9+uvz3rppXEvPMB0yQde/OkFg4MXGE2wcmjfvXuqcCcIL856441ZLxqD23/6gpmIj238EKzahwB7uP8FA7/xQAB4nJWQu07DMBiFj3tDtFIHEEwdLCExAE0vY0eGZu/QmZI6aarUjhy3VSdGJN6DN0A8CA9Qicdg4zR4qsTQWM7/+fzHx5YBXGAPgb/vCg+eBdp48lzBGV48V6m/e66RvzzX0cKP5wba4sZzE/fizXMLl2LPBFE75+quTDuwQAePnivMNJ6r1F8918gfnuu4xrfnBjqi7rmJqRh6buFWfCKEgua0mMGxziHxjB3/ITLWHItSt0CotLIzp+byeSfDbJcvnKIcY82uxgYpfVt0WSPeUKNgc231JlXbbhoZzfWEloQbMh7HvROVrLPZqSEnmafl5QtaDgaJAQL0KStbpEbLQdA/MfD/FysYkGBI1TFSclqGrEjjMuzgzjgMlbzsLalE1IOj1y02ydC5WMbWrOTYaKeyzMjcmqWKHM2L8owcI/Q44qP0oLz8ijbn8lGvF/uAIDIr/AKUtYV4AAB4nG1UCXfcNBDeL1l7nc2xbVrScpT7BgPZ0rTc0EK4ypWU+zCKPd5VI0uuJGez4b7e4/Fn+QuM7U1D8+r3LM2hGc3MN6POXKf9+p3bf//wj84c5jCPLgKE6CHCAvpYxBKWsYIBTuAkVnEKp3EH1nAGZ3En7sLduAfncC/uw/14AA/iITyMR/AoHsPjeAJP4ik8jRjP4Fk8h3UMcR7P4wI2cLHzLy7hBbyIl/AyXsGreA2v4w1cxhW8ibewibfxTmcF7+I9vI+r+AAfdv7GR/gYn2AL27iGT/EZPscX+BJf4Wt8g2/xHRJ8D4EdpMhAyDHCGBLXsQuFAhoGJW7AwsGjwh4m2McUB/gBP+In/Ixf8Ct+w+/4A3/ir8B5YX1A2pNdktqV0govjXb90pqRLMSI3EpmTZmZiY6FtWYS1aQyIgurstlSaVNFC5ks0rHQI+pnxtiWDDNS5OmkqEZFfUeWWBJK+mkvVcaPyfUKEq6yFBht8rxbKjHtu9QSaTc2fpCLJBUFWcF23pqFm3yPqfrwIu8HxhSJqXz/kJa6Vlc6M2eaiBMrR2OfVGVSGqm91KOzrVxR7pM6nZuKpVbRyIbzNKVu7abrxB4NOKKy5DMcgvXJ+jF+GLixsDRfZnnAdsmwX6+cpqMszI3KyAaN867lGCOhhZo66UI3kT4dRzty5KUiF7BFxTU1yljXzyg1LSBRTXLBKcylYrB409KNe7n0ddxBrrjoc2PbbSBRZsQFCRk+TT4qxL4s5AGFhdmj89m8pslCKXR7c1jmxBdHpUx3C5NRWJdQ6qC0XJEV7oLrlPqCwx2R7VrKTGipviOyxgvP7iJHTQgu4oJM6uSCJpMlzzBWpaX61u5EKMWWE6mz/lGNl1uSkam5kHuFU1ssDO2QKiW3SE9OTF5ZzfYTGSnuqYoDWW4PJlwKRYf+ajBDb0YjRb0pZ1/tUHBl81qyHjVrsrl1SGw38mHDDpPL272auJBcne1bjXqjWS8266VGszE7sZFsrXLvac1Jx35aUpxzpqdvFTFumuzarULnrahbMdLGUywyxrkZk6XU8HBoz1bldKXpgPhwyga3uqiO8cUx3p+7XRxxIblGjN6gHZ/4ELPVdkDjWRvFjNJxkdEUUG3dq4GwPKAFe4rHxsqD5RsVubo940LY3QVL7Lf2MaPYNGzbZFC/CfGY/VFcA3Xif3wznadyEc9ia/jYm3JwJMstV2j5iGctPwbxMKupxZZqzgTpmNLdoJm7pYaO2/cp8MYo1+Nead4oUZZKCp2SG7iJKNt02F6otWP8zL7HcMU7Zn+xVJWbyf4DKs0O+gAAAAAAAAH//wACeJxjYGRgYOABYhkgZgJCZgYuBkYGPoZOIMkCFmMAAAy9ANoAAAAAAQAAAADf1ssxAAAAAN8XeeEAAAAA5dhxww==") format("woff"),url("data:font/ttf;base64,AAEAAAAQAQAABAAARkZUTaTGttYAAH1EAAAAHEdERUYAvgAbAAB9IAAAACRPUy8yVqRkDwAAAYgAAABWY21hcM6z+/IAAAQIAAABcmN2dCAAqwX/AAAIFAAAAAhmcGdtD7QvpwAABXwAAAJlZ2FzcP//AAMAAH0YAAAACGdseWauG2k4AAAJNAAAaqBoZWFkKOswoQAAAQwAAAA2aGhlYQk6BjAAAAFEAAAAJGhtdHg3jg+EAAAB4AAAAihsb2Nhf9VkwgAACBwAAAEWbWF4cAG3AoMAAAFoAAAAIG5hbWUTvGKyAABz1AAAAtBwb3N0kp0XKAAAdqQAAAZ0cHJlcLDyKxQAAAfkAAAALgABAAAAAQAA3oU97l8PPPUACwQAAAAAAN8XeeEAAAAA5dhxw/7y/4oF6gR2AAAACAACAAAAAAAAAAEAAAQAAAAAXAav/vL+9gXqAAEAAAAAAAAAAAAAAAAAAACKAAEAAACKAkkAFQAAAAAAAgABAAoAFgAAAQAALgAAAAAAAQQuAZAABQAIAokCzAAAAI8CiQLMAAAB6wAyAQgAAAIABQMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUGZFZABAADAA7gQAAAAAXAQBAAAAAAABAAAAAAAAAXYAIgAAAAABVQAABAAANwQAAAAEAAAABAAAAAQAACAEAAAiBAAAIgQAAGgEAAAABAAAAAQAADcEAAAABAAAkQavAMUEAAAABAD/0wQkACMEAAAABAAAAAQAAG4EAAAABAAAAAQAAMAEAwAoBAoAKQQAAAAEnv9lBAAAAAQAAAAEAAAIBGYARwQAADMEAABsBNb/SATW/00EAAAABAAAAAQAAAAEM//nBGb/4wQz//UEAAAABAAAAgQAACoEM//rBAAAAAQAAAcEM//oBAD/+QQA/90EAP/yBAAAMAQAAAQEAAAgBTAArAQA//sEAABmBAAALwQAAK0EAP+rBMwATAQAAAAEAP9IBAAANgQAACUEAP+zBAAAAgQA/6sEAP+nBAAAMwQA/+UEAP+yBMwATAQAAL4EAP/NBAD/mgQAAAoEAP7zBAD/rgRmASoEAP/LBJj/2gQAAMQEAP/qBAD/mgQAAAAEAAAABAAAAAQA//4EAAAABAAAAAQAAAAEAAAABAAAAAQAAAAEAP//BAAAAAUiAKQFUQCeBU0AqAPIAA4EmwAeBIAAegSA//YFlgCEBfUAqwYLAJ8FTgCfBAAAAgQAAAAEAAA5BAAAAgQAAAIEAAACBAAA6gQAAF0EAABFBAAAAAQAAKsEAACrBAAAtAQAAAAEAAAABAAAAAQAAAAEmQCJBJkA0QQAAGAEAABVBEwAbARMADsEZwAwBIAAKgMCAAEEYgA1AAAAAwAAAAMAAAAcAAEAAAAAAGwAAwABAAAAHAAEAFAAAAAOAAgAAgAGADcAdAB+AKwA5QDu//8AAAAwAEEAdgCpAK4A5////9P/yv/JAAD/nP+bAAEAAAAAAAAACAAAAAAAAABIAAAAAABJAAABBgAAAQAAAAAAAAABAgAAAAIAAAAAAAAAAAAAAAAAAAABAAAAAAAAAAAAAAAAAAAAAAAAAwQFBgcICQoAAAAAAAAAAAALDA0ODxAREhMUFRYXGBkaGxwdHh8gISIjJCUmJygpKissLS4vMDEyMzQ1Njc4OTo7PD0+AD9AQUJDREVGRwBgYWNlbXJ4fXx+gH+BgoSDhYaIh4kAAAAAAAAAAAAAAABMAAAAAFJ7SkgAUAAAYnQATQAAAFEAAAAAAABWAAAAWwBJAAAAAABXAABcX3EAAAAAAAAAAAAAAAAAAAAAAAAAUwAAAF5mXWdkaWpraG9wAG52d3UAAABLAAAAVAAAAAAAsAAssAATS7AqUFiwSnZZsAAjPxiwBitYPVlLsCpQWH1ZINSwARMuGC2wASwg2rAMKy2wAixLUlhFI1khLbADLGkYILBAUFghsEBZLbAELLAGK1ghIyF6WN0bzVkbS1JYWP0b7VkbIyGwBStYsEZ2WVjdG81ZWVkYLbAFLA1cWi2wBiyxIgGIUFiwIIhcXBuwAFktsAcssSQBiFBYsECIXFwbsABZLbAILBIRIDkvLbAJLCB9sAYrWMQbzVkgsAMlSSMgsAQmSrAAUFiKZYphILAAUFg4GyEhWRuKimEgsABSWDgbISFZWRgtsAossAYrWCEQGxAhWS2wCywg0rAMKy2wDCwgL7AHK1xYICBHI0ZhaiBYIGRiOBshIVkbIVktsA0sEhEgIDkvIIogR4pGYSOKIIojSrAAUFgjsABSWLBAOBshWRsjsABQWLBAZTgbIVlZLbAOLLAGK1g91hghIRsg1opLUlggiiNJILAAVVg4GyEhWRshIVlZLbAPLCMg1iAvsAcrXFgjIFhLUxshsAFZWIqwBCZJI4ojIIpJiiNhOBshISEhWRshISEhIVktsBAsINqwEistsBEsINKwEistsBIsIC+wBytcWCAgRyNGYWqKIEcjRiNhamAgWCBkYjgbISFZGyEhWS2wEywgiiCKhyCwAyVKZCOKB7AgUFg8G8BZLbAULLMAQAFAQkIBS7gQAGMAS7gQAGMgiiCKVVggiiCKUlgjYiCwACNCG2IgsAEjQlkgsEBSWLIAIABDY0KyASABQ2NCsCBjsBllHCFZGyEhWS2wFSywAUNjI7AAQ2MjLQAAALgB/4WwAY0AS7AIUFixAQGOWbFGBitYIbAQWUuwFFJYIbCAWR2wBitcWFmwFCsAAACJA3cAIgKIAAAAKgAqACoAUABsAToBggGQAbgB4gImAmoC5gMcA5gELgTCBPwFZAY6BqYHLgdEB5gIAAgyCHIIsgjoCVYJhAnEChQKgAskC6gMig1YDZYNsA4ODvAPkhASEFQQyhO4FDwUchTSFSAVehZoFpIW+BdCF5IXoBgsGGoY+hkYGYoZohnuGiQaVhrAG5YcIhxkHLAdsB4yHpAeqB7iH1YfpiDAIawirCMmI+okJCYoJl4mkiboJ5An7Cg0KIYo8ilgKcYqKCp+Kr4rBCsYKygrNityK+wsIixwLIQsoCy0LMQtZC2uLewuLC58LqYu3i8SL0ovfC+kL8wwVDD6MYwyAjKOMqIyxDMWM5gzyjRmNIo03jUUNVAAAAACACIAAAEyAqoAAwAHAC6xAQAvPLIHBALtMrEGBdw8sgMCAu0yALEDAC88sgUEAu0ysgcGA/w8sgECAu0yMxEhESczESMiARDuzMwCqv1WIgJmAAACADcAAAPJBAAACAARAAA3MxEhETMRCQEDEQkBESERIxGN1QE41f6R/o1WAckByf6AjVUBYv6eAisBFf7r/YACqwFV/qv9VQFi/p4AAQAAAKoEAANWAAsAACUJARcHITUzESEXBwFV/qsBVTzvAwlV/KbrPKsBVQFVO+/z/rfqPAAAAAAGAAAAGQQDA+kAJABRAF0AggCKAJIAAAEiJjU0JiMiJj4BMzI2NTQ2HgEVFBYzMhYOASMiBhUUByInJiMBIiY1NCYjIi4BPgIzMjY1ND4BHgMVFBYzMh4BDgMjIgYVFCciJyYjAx4BFz4BNy4BJw4BASImNTQmIyImPgEzMjY1NDYeARUUFjMyFg4BIyIGFRQHBicmIycWFzY3JicGAxYXNjcmJwYCrwYLak4jFhIeCU1rCQsKak0kFBIdCU1qAwIEBQP+zAYLo3YmJgEQHBoHdqMEBQYHBQOjdyAlBwcVFxUEd6MDAQQGA8RGbBYXbEZGbBcWbAI+BgtYPRwTDRgKPVgJDAlZPBwSDhcJPFkDAQMIAlpCGCU1QxclzlMkIVdUJCYCFQsGTWcJCwlrTSMWER4KTWsJCwlnTTEBDhP+QAsGd6cFBggHBKN3ICUHBxUXFQR3owMFBwYFBKR6TQEYIwFAFmxGRmwWF2tHR2v+nQoHPFkJCwpYPRwTDRgKPVgKCwlZPCcCAQUUsyU1QhgkNUIB3CpOUCgqTVEABQAAAAAEAAQAAAUAGQAdACcAKQAAASEnBycPASInJjURNDc2MyEyFxYVERQHBiMlIREhAyInJjURMxEhFQERAVUB9KOEVXhvGxwVFRAnAs0bHRUVECj9MwLN/TOZGx0VTQMZ/YABfNmvb57dFRAnAs0bHRUVECj9MxscFUwCzfxNFRAoAxn8500Ds/0zAAAAAQAgAPID4ALQAAIAACUBIQIA/iADwPIB3gAAAAIAIgAwA94D7AAIABYAAAkBNxcRMxE3FwEiJj0BMxUhNTMVFAYjAgD+4ECzWrNA/VwkNloDCFo2JAEVASBAswIq/dazQP37NiTV1dXVJDYAAgAiACYD3gPiAAgAFgAAAREHJwkBBycRBSImPQEzFSE1MxUUBiMB07NAASABIECz/k8kNloDCFo2JAELAiqzQAEg/uBAs/3W5TYk1dXV1SQ2AAAABQBoAFADvgOmAAcAFwAfACAAKAAAADI2NCYiBhQSLgI0PgIyHgIUDgImIDYQJiAGECUWBiImNDYyFgHXd1RTeFQ3m3NERHObsptzRERzm/ABLdXV/tPUAWvPeax6eqx5AWtUd1RTeP6RRHObsptzRERzm7Kbc0RA1AEt1dX+05dWenqseXkAAAYAAAAABAAEAAATABcAGwAfACIAJQAAEyEyHwEWFxEUBiMhIi8BJjURNDYfASEnBREXERcRIREfAQcBMwclAh0MCr4OARYP/bUUC5AGFmdJAc9g/hRJSQIAk5KS/gDbbgQAB5MLEv23DxYR2wkLAgAPFklJSTT+Y28BwxX+AAIAk21u/tuSAAAIAAAAHwQAA+IABQAXACMAKQAyADgARwBRAAARMxUzFSMFIisBLgEnET4BNyEeARcRDgEBBgcRFhchNjcRJicXMBcHNTQBFAYiJjQ2MhYlMCc3FRQBIiMnIxUjNTMyFhUUBgcnMjsBNjcuAQcjM3GkAsMYqMAqNwEBNyoBgCk3AQE3/lcFAQEFAYAEAQEEqo6O/lAaJxoaJxr+1o6OA20cHC4SMkMkLBEPQQEHCB0BARILEAGkuDOaAT4uAukuPQICPS79Fy4+A1sBBf0XBgEBBgLpBQFAampqXf7SExoaJxoaU2pqal3+R1pa6ichEx8JIAEaEAsBAAUANwAAA8kEAAARABUAGQAdAB8AADMiJjURIzUhNSEVIRUjERQGIxEhESElETMRMxEzEQERySMzPAENAXgBDTwzI/2SAm7+J1WaVf4nMyIDK1UrK1X81SIzA4D81XwCOP3IAjj9yAKv/NUAAAgAAAAABAAEAAAbAB8AIwAtADcAQQBLAE8AAC0BJicmNRE0NjclNjIXBRYXFhURFAcGBwUGIic3EScRBTcRBwE1NDc2OwEVIxUTIyInJj0BMxUzBTUzNTMVFAcGIxE1IzUzMhcWHQEFNycHAdX+5xQGCBERARkNMw0BGhQFCQkMEv7jDTMNDfQBQPT0/doVFiKmpqamGx0VTaYCGqZNFRYipqYbHRX+APPz82+mDhANGgFIGhkRpwgIpw0QDRr+uBoNEgymCQlaAR2N/ueRkQEZjQEnphsdFU2m/PMVFiKmpk1NpqYbHRUDDaZNFRYipuKMjY0AAAAAAwCRABYDbwPtAEQASABnAAABMhYVFBcWFzsDNj8CNjU0NzY3OwEyHwIeAQ8CDgEHKwEHExYPAgYHIyEiJyY/ARMnIyIvAyY2PwI2OwEBIwMhASMHFzMyFhcVFzM3PgE3OwE3JyMGDwEGBysBIi8BJgGlEBcXCQwFAQUECQYEAxcLCg0FlAUFBFYNDQEBIQMSDARUE6wFBgICChEF/XYUDAoEAawTVBgKAgEhAwsMBFYEBQUBavaVAiD+cGgvEVgOFQMU6BQBFA0EWBEvaAYjBh8rCAMoIAUpA+0WEDoVCQEBBAIDFToQCwoBAQEhBRcNBIQMEAKt/fsODQQEDgIQDhAFAgWtFgQEhA0ZBgEhAv42/kADPRJGEQ0EtrYOEwFGEjQoBh0BGgUoAAAAAgDFAIsF6gNYAEsAbwAAATIWFREzNTQ2OwEyFh0BMzU0NjsBMhYdATM1NDY7ATIWHQEzNTQ2OwEyFh0BMzU0NjsBMhYdATMRNDY7ATIWFREUBiMhIiY1ETQ2MwQyHwEWBg8BBi4BND8BIRcWFAYiLwEmNj8BNjIWFA8BIScmNAEHBwt3CwgwCAp5DAYwCAp7CggwCAp2DAcxCAl6CggwCAt6CgcxCAoLB/sBCAoLBwN2Ig2ADQILgA0jGQ42/b44DBogDX8NAQx/DSMZDTcCQTYNA1gLCP2alQgKCgiVWwcLDAZbWwcLDAZbWwcLDAZblQgKCgiVAmYICwsI/VcICQsGAqkIC1sNgA0iDX8NARkjDDg4DSIZDH8NJAuADRkjDTc3DSMAAAAEAAAAAAQABAAAEQAUABgAJAAAMyImNRE0NzYzITIWFREUBwYjJSERAyE1IQEzFTM1MzUjNSMVI2svPB4iKwMmK0QiHi/82gMmPP7AAUD9RWZNZmZNZjwvAyYvHiJEK/zaKyIeawMm/Y1NAURmZk1mZgAAAAP/0v/SBC4ELgAeADEAQgAAATIXFhcWFxYVFAcGBwYHBiMiJyYnJicmNTQ3Njc+ARciBgcGFRQWFxYzMjY3NhAnLgEBNDc2MzAXBRYUBwUGIicmNQIAdGVnS0cvLSwtS0hpaHF0ZWdLRy8tLC1LSs9xg9NBQH5ua4CD00FAP0DY/vQTCQgSARAPD/7wCREJEwQuLC1LSGlocXRlZ0tHLy0sLUtIaWhxdGVnS0pZV35ua4CD00FAfm5rAQBsbH/+3RYJBQa0CyYLtAYFCRYAAAALACMAEQQBA+8ABwAlAC0AOQBKAFsAZwB4AIQAkACcAAAkNDYyFhQGIgEyFhURFAYjISImNRE0NjsBMjY/ATY7ATIfAR4BMwAyNjQmIgYUATQ2MhYdARQGIiY1ARQGIiY9ATQ2OwEyFhQGKwETMhYUBisBIiY9ATQ2MhYdAQA0NjsBMhYUBisBIiEiJjQ2OwEyFh0BFAYiJj0BACImPQE0NjIWHQEUEjQ2OwEyFhQGKwEiAxQGIiY9ATQ2MhYVAj81SzU1SwFgEhsaE/2JEhsbElEZKwwIDBzXHAsIDCwZ/sqVaWmVagHCGyUaGiUb/NYbJRo1JS0SGxsSLS0SGxsSLSU1GiUbAcIaE1sSGxsSWxIBIBIbGxItJTUaJRv8uyUaGiUbsxsSWxIbGhNbEs4bJRoaJRvMSjU1SjQBOxoT/pgSGxoTAWgSGxsXDxkZDxYc/mtplmlplgIOEhsbElsSGxoTAQ4SGxsSLSU1GiUb/NYbJRo1JS0SGxsSLQNFJRoaJRsbJRo1JS0SGxsSLf6YGhNbEhsbElsSAWglGholG/22EhsbElsSGxoTAAYAAABABAADwAAPABwALQA1AD0ATQAAEyEyFhURFAYjISImNRE0NhciBh0BFDsBMj0BNCMFMj0BNCYjISIPASEiHQEUMwAyNjQmIgYUEjIWFAYiJjQWMjY1NDYzMjY0JiMiBhUUYANAKDg4KPzAKDg4KA0TDOgMDAKADBMN/gYGBDz+7AwMAVHGjY3GjaeSZ2eSZ0MaEyYaDRMTDTVLA8A4KP1AKDg4KALAKDhAEw0UDAwoDMAMlA0TBVsMSAz98I3GjY3GARNnkmdnkmkTDRomExoTSzUNAAQAAAE0A2AEAAA8AE0AWgBgAAABMzI3NjU0JyYiBwYVIzQ+ATc+ATMyFxYVFA4EBwYHFhcWFRQHBiMiJyY1MxQXFjMyNzY1NCYrATUzBREzMhcWFxYdARQHBgcGKwETFTMyNzY9ATQnJisBARUhESMRARgtIQwREQw6DBFSAQgIEj4nRCMlAQEEAgcCDCEfFhEpKEM/KClSERgVIQwRJCIuCQEHfzMwMBYZGRgqKziDVikyHB0YFzgt/v3+/W8CGwwRFBoLDAwLFg0OEwgYGR0fLwgMBwgCCgIREAoXFiA0Hh0dIiwYCQwMCxocHjraAXoVGyYsMxA0KyoYGAFA/x0kMhU+GB0Bi2/+/QFyAAAAAgBuAAADlgQAAAIABgAAMxEJAxFvAyb9RQHq/hYEAP4A/skBNwE3/Y0AAAADAAAAAAQABAAADwAqADcAAAEVFAYjISImPQE0NjMhMhYBBwYjIi8BJj0BBiMiJhA2IBYVFAczMh8BFhQANCcmIyIHBhUUFxYyAmAOCv6wCg4OCgFQCg4BkjkOFBMOyA5xj6z09AFY9FghFA7HDv6wT1Bxb1FQUE/iAoBACg4OCkAKDg79vTkODscOFCFY9AFY9PSsj3EOxw8nAZriT1BQT3FvUVAAAAADAAAAAAQABAAAIwA+AEsAAAEVFAYrARUUBisBIiY9ASMiJj0BNDY7ATU0NjsBMhYdATMyFgEHBiMiLwEmPQEGIyImEDYgFhUUBzMyHwEWFAA0JyYjIgcGFRQXFjICYA4KcA4KQAoOcAoODgpwDgpACg5wCg4BkjkOFBMOyA5xj6z09AFY9FghFA7HDv6wT1Bxb1FQUE/iAoBACg5wCg4OCnAOCkAKDnAKDg4KcA79vTkODscOFCFY9AFY9PSsj3EOxw8nAZriT1BQT3FvUVAAAQDAAD8DQAPBAB8AADcRNDY7ATIWFREBNjMyFxYVERQHBiMmJwERFAYrASImwA4KYAoOAYcTFQ4OJSUPDRYS/nkOCmAKDlgDUAoODgr+nwFqEAcSKP0AKREHAQ8BaP6hCg4OAAIAKAAmA9sD2gAPACoAAAEwAQYjIicmNTQ3MAEyMxQlMCEyFxYVMBEUBwYjIicmNTARISInJjU0NzYDJ/2aGSZBEgcZAnE7Ov2nArMmGRsZGCkkGxn9pSQbGRkbAqT9nBk3FhAiGgJlP/MZGyb9TSQbGRkYJwJbGRgnJhkbAAAAAgApACYD4QPaABAAKwAAEjABNjMyFxYVFAcwASIjIiMFMCEiJyY1MBE0NzYzMhcWFTARITIXFhUUBwbeAmcaJDkZCx39mRkaJCcCWf1NJBkdGRYrJB0ZAlkkHRkZHQFZAmcZNxQSIRv9m7QZGyYCsyQbGRkYJ/2lGRgnJhkbAAABAAAAqgQAAwgAHwAAARUGBzABBiMmJwEmJzU2NzYzMhcWFzY3NjMyFzAXFhcEAAYJ/jkUFRIR/isFBBYkEBAREcLCw8UODxESGA8IAroeDQ3+OREBCgHVCQkeJxwJC8LBw8ILDRcQCAAAAAAD/2QAUgU6A64AEwAbAEYAAAM+ATc2MzIXFhcWFw4BBwYgJy4BBCA2ECYgBhAlFhUUBwYHBiMiJyYnJjU0NTQ1NDcWFxYzMjc+ATU0JyYnJgc2NzYzFhcWm1L3hYmTkoiLd3pUUveFif7ah4j0AfMBRufn/rrnAo4JJjdqIyFFPWEYCAoIHw8QDAonIAIGExYVKDcjIEc8XgIAiMssLi4vYWSLiMssLi4uxv/nAUbn5/667CUhRD5aHQkmO2UhIAgBBAMYHxQLBQMNLxgICB4TFgIgDgoCJDkAAAAAAQAAACIEAAPjABkAADc1ITI3NjU0JyYjIRcHCQEXByEyFxYQBwYjngHvcU9RUVZq/iq4RP7VAStEuAHWl21vb22XIl5JSm1zREm3RQEzAStEuGZo/tloZwAAAAAFAAAAAAQABAAADQASAB0AIgAlAAABERQGIyEiJjURNDYzIRMnIREhJSImNDYyFhUUBwYBFTUhFSU1EQQAMyL8qiIzMyICzYmv/VkDVv5VQFVVgFUqL/5mAfz9twMi/TMiMzMiA1YiM/78r/yqWlWAVlZAOysvAeYEzclnr/yqAAUACAAAA/wEAAAHAA8AEwAsAC4AACAiJjQ2MhYUBCImNDYyFhQBEyETJSEyFxYHAw4BIyEHIRUhIicmPwEDIzUzFxMhAV5NMzNNMwHNTTMzTTP9Zo0Bc6P9NwLzHg0MDK8NMxr+fEgCc/2eMhsbG1HAZpUvtwFzM00zM00zM00zM00DGv7eASJNGhke/sgaGYRNIiIvlQGeTWb+kQAAAAADAEcAEgQfA+kANAA/AEkAABMzMhYfATYzITIXFh0BFAcDBgcGIyEGDwEhMhcWHQEUBwYjISImJyY1Nj8BAyMiJyY9ATQ2ATIWFRQGIiY1NDYgMhYVFAYiJjU0X1kOGAURBQIC3B0VFgecDBYVG/5QAgNFAn4HCgcHBwr9giEsCgQCFjSLNwoHBw4A/yU0NUg1NQIXSjU1TDMD6REOOwEWFB4HEA7+tRYQDgUBUwcGCiwHCQciHg0NIhs8AcwGBwktCQ383DUlJDU1JSQ1NSUkNTUlJAAAAAAEADMAAAPSA/wAQwBTAGMAcwAAISInJjU8AjY3JQ4BIyInJjU0NzYzMhYXFhclNCcmNjU0NzYzMhcWFRQHBiMiJicmJwUUFh0BBTY3NjMyFxYVFAcGIycyNzY1NCcmIyIHBhUUFxYBMjc2NTQnJiMiBwYVFBcWATI3NjU0JyYjIgcGFRQXFgM8QiUqAwH+gBU0IkIkKysrOx0PECINAYAEBAQqMjVCJCsrMjQdDg0iDf58BAGFDCMZHkIkKysqPAQWHRUVFR4XHBYWFf2eFh0VFRUeFxwWFhUCnhYdFRUVHhccFhYVKyo8EAkECAbiFRorKjxCJCsDChER3g0IARQBQSUrKzI0QiUqAwkRDdkFDAVA3g0RDSsqPEIkK00VFR4XHRUVFh4WHRUBbxUVHhccFhYVHhYdFQF3FhUeFh0VFRUeFxwWAAAABwBs/+IDlAQeABAAHgAwADoAQwBWAFkAABMhESEXERQGIyEiJyY1ETQ2ExUzNTMyNzY1NDU0JiMzFTMyNz4BNzY1NCcmJyYnJiMzFTM1MzUjNTM1BTMyFxYOASsBNzMyFxYXFhcWBwYHBgcGBwYrARMBIfgBagExAVI6/fA7KClSSjIiIRETJSBZRhQTFxUMCQkIDxIPERaBMklJW/4xHQgJCAMKDB2tDgsLCQoKBAYBAQQGCAoICwwOiQEk/twEHf7CAf2SOVQpKjoDIDpT/Z7GSBESGQIBHSLGBwgSFxEaFxYUCw4EBcZRKx8rKwUGEgsoAwIHBQsODhEJDAUHAgMC/P7SAAAABf9HAFwFiwN9ACkATwBqAIEAmQAAATIXBAUWFxYXFhUGBwYHBgcGBQYjIiMiJyYnJicmJyY3Njc2NzY3NhcyFSIHBgcGBwYVFBUcAhUUFxYXFhcWFxYzMjc2NzY1NDU0JyYnJgUGBwYHBgcGDwEXFhcWMzIxNCcmNTQ3Njc+ASEXFhcWFRQHBgcGMzI3Njc+AScmJyYnBTIXFhcWFRQHBgcGIicmJyY0NzY3Njc2AnItJwFlAQAXHx4HBAQTFjAlL93+7ytKEiNcSJyNkmItBAgKEkp5pJTCKQ8KLyVCNTMXDB8YJSspJRMYLTgiQC9gRUBaJf6cD0E6JTE1OBYQJGGBWg4CDkNBBgQGAwJ3ECcRDgYRLRIEEFl0YSkIJVqQORX+rhsdKxgNCR4uGjEZMxcKCAYZGy8KA3sEI+sXIyEQCAgZGx4uJCWsGQQQIUxQcDIMFRQlRHRIQhIEAmYNGDMwRyMtDQIGDAgGKTwtIykSDwQECxYtWoEJClhUThYJMgQeGxcgKy8bESZhQS0EFGJ7hlYICAYIGDk+MzMlH15AGSw7XCcPJltLHQZoDRQrGSUnEjURCgoTMxVLEQ4bHQoCAAAB/0wAUAWMAt4AiQAAATYXHgEHBgcGDwEXFhcWFxYXFgcGJyYnJicmBwYHDgEVFhcWFRQHBicmJyYnJicuATAHBg8BFRQHBgcGBwYnJicmJyY9AScmLwEHDgEHBiYvATc2NTYnJicmBwYHDgEjBiY3Njc2Jy4BJyYnJjU+ATc2MzAXFhcWFwQhMjMyMzIzMjc2NzY3Njc2BVcREg4DDQgvKR0nChsTIAQDAgIbFxoMLCsIAiFmGwgICBIRGRgbCAgEEwYGCActRUwTAgIGBhQNEgsMBgICE305ChcUDwoYJwcIFxoBG1AtGQYELysVDiEbER05BAYCNycuDBICDA4JCjMTKzUWAP8BEg8SDAsICCVKZlZnZFhIGwLbAhEOHxoLMysYIQ0iFykICg8aDwwMBjo5BAISNQcCCAIcODsIHQ4LDwYOCDoSExYTBwwIAlI5DQwMCQgGBgQNCBAbK1ICDA0ESjogBg0TFhFJSgIECyAbEgQEOTgQAjcbK0AEBgIvJy8PGBMOGAcGIRspMRC5CxAfJUc+WCEAAAAAAwAAAIQEAAOAABsAIAAiAAA3IicmNRE0NzYzIRchMhcWFSEnIRETIQMGBwYjJSETIQsBNUkXHRUVECQBTEkBlRccFv4ESf7SdwNAgAgSExz9WgKrYv1ZYkyEFhAjAmoXHRVJFRAjSP2WAd7+ER8MDUUBlf5rAiZIAAAAAAEAAP/7BAAEAAAIAAATAQcJARcBIRW3AY1E/gACAET+cwNJAc3+c0QCBAIARP5zYgAAAAAIAAAAAAQABAAAAwAHAAkAEgAVACkAMwA8AAAxESERJSERIRkBFyMzEyMnIwcjEwczExEzMhcWFRQGBwYHFhcWFRQHBiMnMzI3NjQnJisBHQEzMjc2NTQjBAD8VQNW/KreBCuRNCKeIjOnQIDRhEIgIgYLERobGREiJj1ZUSYRFhYTKE1ZJRcVUQQA/ABVA1b8qgNWOP6aXl4BKqr+AAFvGhstFRAKEQ0GGBchMRse0REOOQ4NmoQREB9EAAn/5v/MBE0ENAADABQAJQA2AEcAWQBrAIQAoAAANyERITchMhYVERQHBiMhIiY1ETQ2BSEyFxYUBwYjISIjBiYnJjYDITIXFhQHBiMhIiMGJicmNiUzMhcWFAcGKwEiIwYmJyY2BSEyFxYUBwYjISIjBicmJyY2JTMyFxYUBwYrASIjBicmJyY2BSE6AzMyFxYUBwYjIiMhBiMmJyYnJjYlMzIzOgUwFxYUBwYjIisBBiMmJyYnJjYnA9/8ISYDmSk+Hh8q/GcpPj0BHAGnHw4ICA8e/mcDBA4jAwMaUQF1GxEICA8d/poEAw4kAwIZAkpAHw8GBg4gMgQDDiMEAhr94gF1HQ8ICA4e/poEAw0TEgMCGQJKQBwSBwcOIDIEAw0TEQQCGv3iAXUBAgMCARMQCAgNHAIB/poFBREMEgMCGQJKQAICAQICAgMCHgcHDxsCAjIFBREMEQQCGgID/DUyJfxIJhgZMiUDuCUy2RQLFgsWAxYSEh3+/xYKFgsWAhYREh0DFgoWCxYCFhESHX8WCxYLFQILChETHQMWChYMFQILChETHYAVChYMFQEBCAsSEh0CFQsWCxUBAQgLEhIdAAAABv/iAIoEgwOmABEAJAA2AEoAXABwAAATMCEyFhUUBwYjMCEiJjU0NzYBMCEyFxYUBwYjMCEiJyY1NDc2AQYXFBcWMzI/ATY1JicmJyYPATAXFhUUBwYHIicwJyY3Njc2NzIBFjM2NzY1NC8BJiMGBwYVFBcFMAcGIyInJic0NzA3NjMyFxYXFA8CvBIYDAoU/UQSGAwKAZ8CvRENDA0MEf1DEQ0MDQz+Zw4CBAodEw3KDAIDCh0SDY/kDxkICw0N5g4BAxUJCQ8EGQ0SBwgcCswNEAkIHAsBB+UMDyAIAwEO5gwQHgkDAQLAGBISDQwbEBENDP7rDgsjDQwMCxMSDQwBBg4NCAoZD+QNDwkJFgIBDuLLDBQZDQQBDMsNEx0JBAH+pBABAwkeEAzmDgEDCR4QDOjMChwJCBEMywscCAgRAAAABv/0AAwEPwP0AA0AGwApADcATgBSAAABFhcyFwcGByUiNTA3NCUyFxYXFQYHJSI3MDcmARYXFhcVBgclIjcwNyYlFhcWFxUGByUiNzA3JgMwNRIxNDMyMyQFFjEyFRAGIyIjICciJREhAwKEcpomAgIDHv72KwP+Nm+dJgMDHv70LgMCAgILcpomAwMe/vQuAwIC/jhymyYCAh/+9C4DAwN/CBcmGQIlATx1FwITCgr8DxwVBCr7/AIBrgECH9QdAgUoxyEEAwEe1B0CBSjHIQGdAQEBH9MdAwUpxiEKAQEBH9MdAwYoxyD8xhwDnhoBAwEU/FsrAiEDofxfAAAAAAIAAACRBAkDeAAYAC0AADciJjU0NzY3Njc2MzIWFxYdATIXFhUUBiMlITI2NCYrATU0JiIGFSMiBhQWOwH3ZpE8N14aVVxtPHYrWlU4PHhN/bMCQDRMTDRIkc2RFUlmZkkIkZFnW0JEDXVDSC8uYIMdODxRTHhETWdMYmuRkWtmkWYAAAcAAgACA/4D/gAbABwAJAAsADQAPABSAAAlIi4CNTQ+AjMyHgIVFAYrASIGFRQWFRQGAwQiJjQ2MhYUNiImNDYyFhQWIiY0NjIWFBYiJjQ2MhYUATI2NTQmNTQ2OwEyNjU0JiMiBBUUFgIAabqLUFKNvmxltYlQoYRgFyElNjD+8DInJzInejMmJjMm6zMmJjMmgTMmJjMm/pEOCyRMO11hd/+nuv7+/QJQi7ppbLqKTkR4pGKKnyQVIzAgMTQB/iEmMyYmM7MmMyYmMyYmMyYmM/8mMyYmM/5KCw0SHjU6WXJrqM37trT9AAAACwAq/7oD0gQ0AHUAewC8AMQA1ADgAOYBFAEcAiMCSAAAJRYxBiMGIiciJjUQMTQ2MzIxJicmMSY3NhcwMzYXFhcmJyYxJjc2FzIzNhcWFzY3Njc2MTYXFgcGBzY3NhYHBgc2NzY3FjEWFwYxBgcyMTYxFhcWFwYHMjEyFxYVMBUjNSMxKwEhFSEyFhQGIzAhFRQWMzIxMhMXFTAPATcjJyInJicGIyInJicmNzY1NjcmJyY1Njc2NzYzFhc2NzYXFhc2FxYXFhc2NzYXFhcWFAcWFAcGBwYjJicOASMwAQ4BBzM2NzYnFAcWFzY3Njc0PQE0Nw4BJxYXFhcWFzM0Ny4BBxYXNy4BJQYjMCciJzAmMCYwLwEmNTQ3MDc0NzA0MzYyFzAVFzAUMxYUBzAVBzAVMAYxFCY0JiIGFBYyBzEGFjc2MjQzNhcWMDMwFxY2JzAnNDUmND4BNzI2NDIxNjcyNzA3MjM6ATMeARcyFzAXFjY3MDU2NzA3NiYnMCcjJiciJjEmJyY0JyY1JjcyNDE2NTY3NjcyNzA3PgEnMCcmJzAnNCcmBzAHIwYHIgYxBiMwIyIjMCYxJiciJyYxNC4BJzwBNTQ1MDc2JgcwBwYnMCcmBhcwFxQVFBUUDgEHBjAGMQ4BBzAGMSIjIiciJicwJzAnJgYHMBUUBzAHBhYXMBcyFxYXFhcWFTAVFgccATEGBxQHBgcwBwYHMAcOARcwFxYXMBUeATcwNzI+AjIzMDMWMTIWFzAXMhceAhQVBhUwAzY3Njc2NzY3NjUnIQcUHgEXHgIUDgIHBgcjJi8BJicmMTQCOB46XTFsOkxtDQlEFT8DCAsKEAEIKBkWCVIDBwoLDgMBDyg+LwseIC4pDwkLBSMHM0ENGggiJAYWEB0BBAwYWBw5OgcLAgobDTUKBQcsQmEB/rMBLAkNDQn+1FI710tCLBoTxSwBFxMUBAoLDwsiBhcDAQMXEwgBAxEGGxARDAoGGxIPDAsMChQOGgYHDxASGgYXFxcXByMLDQwKBSUY/udOVwFHChIdlgEVCwUICQobKTGmOhkHBycFBBUBWmosFEIERwKBEyABIRQCAQICCAcBAgITSRQCAQgIAwIgDhINDRI1BBYNAgIBCAgBAgINFgMHAQECAQIBAQECAgIBAwECBAMBBQEBARMLGwEBCQIMAw8aAQMEAQECAQECAQEBAQIBAQMGAQIaDgUMAwgBAQ8NChQBAgIBAQMFAQICAwECAgIBAwIBBwMWDQELCwMMFgQGAQIBAQIBBQIBAQEFBAIFAQIUChsBCQQMBQ4bAQEGBAEBAQEBAQEBAgIBAwQcDQUMAwkBARoLFAECBQQEAwIBAgUBAQEBAQIBAbMCDQsJEQozAwVRAV1RFRMTFRcWGjQgGgUClkIRIRgCATofSRgYbEwBaQkNaH4GEAsKBwEYDBEpvggQCQsGAx8dNjIpKxYUBgoLDls6PzAKFRBEsBERFBACCQsiXISyFAcRDFsfBwcHGQM3DBMM8jpTAdc0dx8T5FwOEBgEBA0mEhYHBR8YESAEBBkOHw8KAQMeDwsBAQQGAQEJERwCAQELDx4UPRQVPhMmDQQBAxgfAVxNzW8uLLM5BAMkKQ0NEREDAgVXVBhUKXuHCgs+S05MVI20X2gDP2cqGgEZAgMBBA8RDhABAQMBHx8BAwEPHhABBQEDAR8TDQ0TDXAOEgYBAgMDAgEGEQ8aAgEDBAMGAQEBAgEBAgICAQETCwsPAwsFAgcdBAgCAgEDAgECAgECBAQBAgECAgYCAQgEHQcBBgsDDgYFCRQCAgEBAQECAgEBAgUCAQUDAQEaDhIHAQUFAwUSDhoBAQMCAwMFAQIBAQMBAQEDAQEUCQsOAwoHAQcdBAgBAgYCAgECAQQEAgECAQEBAgMBAwEIBBwHAwULAw8KChMCAgICAwEBAQIFAwQDAgH+Fw8XEggOCzoPGRBfXx4vFRATFzI/OSwWDgICJRIjIh8TCQAABf/q/+sESQQQAC8ARwBfAGgAagAAJTIzMjcyNTQ1EDE2MDE0IyYxJgUiIyIVFDAVIzU0NzAxICEWMRYXFBMWFQYjIgc0ATARFDMyMzAhMjU0NTARNAciIzAhIhUUBzQzMjMwITIzMhUwExQHFCMwISInJjUwEyEyNTQjISIUNyEDdRsbKi4PAi488P7BFxc9NXUBKQEoWEQCCAICOFNH/KwwHR0CSGoaAU/9Zhg3WiQjAnAcHD8CAn79lwg3YDUDHBsb/OQbGwMc2gILISMCSEgiAgUFPyElGZkDAQJbKv2kJCQ8ATQB4P2TLCogHwJ7IwUZAgFRUP2CVwFGAQNHAjIcGTUcAAAAAgAAAAAEAAQAABYAIAAAIQEGBwYjIiY1NDYzMhcWFRQOAQcGBwkBMjY0JiMiBhQWA8D+iSg7MEea1dWanGRrBA8DECsBd/1vc6Kic3iiogF3IRoW1pWa1Wtqli0jIAcxOv6NATyi5qKi5qIAAgAHAAUD+gP3AB0APgAAAS4DNjcBNz4DFhceAQYHDgIHDgUmJx4EFxYUDgIHDgImJyY3NhUeAjc+ATc+AwHtBQ4eCxAcATlJAgkbGiQQGg0PDQJZXyACBxkeMTVKewIHGh4xGwEEDiQbJ1NeZS1lAwQJHTwNFRQKBSE3WQGaBRA1NUwkARtCAgQJAgkMEz80FwOeoDAEDiMbGQQXNAQMIhwdBwcZRDxBExsgDB8kUYsoAQgWJQEBFR8QJyYYAAAAAv/n/8wETAQyAA8ANQAAARYGBwEGJicBJjY3ATYWFxM1NCYrATU0JisBIgYdAiMiBh0BFBY7AhUUFjsBMjY9ATMyNgRBCwIJ/fMLHwv98wsBCgINCx8L8xQNsxQNOg0TtA0UEw56OhIOOg0Usw0UAhkLHgr98gsBCgIOCx0LAg0LAQr9vDoNFLMNFBMOezgUDToNFLMNFBQNsxQAC//4//gECAQIAAMABwALAA4AEQAVABgAHAAfACIAJgAABQERCQEXAREFFwEhJRcjPwEVASEBJwMXBwkBEQkBIQkBMwcnFwEnAZMCdP6j/eiL/twCB4z+sP7pA0lt2plt/U8BF/7bi8RtbQIzAdv+sf1BAQb++gMI2m22i/1PjAcCdP7p/qMDSov+2wEX1oz+sW1tmW3aA+L+3Iv9kW1tAdsB2/7p/rACk/76AQZtYIz9T4sAB//c/9wEJAQkABsAOQBaAH4AmAClALMAAAMhMhcWHQEUBwYjISIHBhURFAYrASInJjURNDYFFRQHBisBIicmNRE0JyYjISImPQE0NzYzITIXFhUBIicmNTARNDc2MzAzMhYVMBEUFjMwITIXFhUwFRQGIzAhIicmNTA1NDc2MzAhMjc2NTARNDc2MzAzMhcWFTARFAcGIzICFhURFAYjISImNRE0NjsBNz4BOwEyFh8BMwM2JzQmIgcGFRQXHgEDMhcWFRQHBiInJjQ3NgoBbAsHBwgGC/7wDAYGEAoqCQkIDgQ6CAYMKgkJCAYICv7wDA0IBgsBbAkJCPvUDAgICAkJKgoQDQsBEAsGCA8KATwLBggIBgsBEAoIBggICioMBggIBgwC3jk5J/3yJzk5J1QSByYUwBQlCBJUkDEBYooyMDAyiEMsICAgIFggICEhBCQIBgwqCQkIBggK/vAMDQgGCwFsDA7vlwsHBwgGCwEQDAYGEAoqCQkICAYM+9IIBgwBbAsGCA8K/vALDQgJCSoKEAgGDCoKCAgGCAoBEAsGCAgGC/6UDAYIAxU4KP6xKDg4KAFPKDgzEhsbEjP+gjJERWMxMkVEMjECARUfIC0sIB8fIFkfIAAAAAAD//EADwQPA/EADAAQABMAAAETIzUhFSMRIRUhETcBBQclEQMBAuoBUP6N5wHJ/efjAToCAQH9/wH+zwPw/t7c0P19RwMXyf4lAX4CAW/9nQEyAAACADAADQPQA/sANgBCAAABFAYHBgcGIyImJyYnJjU0NzY3Nh4BBgcGBwYVFBcWFxYXFjMyNz4CNTQmJy4BNzY3NhcWFxYBERQGIiY1ETQ2MhYD0Ek/PVhVXmCqPj0mJTEuWxlAJgkZPh4gGRYsKjg5P0A4N1cvQDwZCRMUHyAZWi8x/n4uQC4uQC4B3WCpPz0mJUk/PVhVXm9hXUYUCjQ9FDE9QEo7PDgrKxcZGRdVcj5KgC4TPxkaBQUURV5iAWL+fiAuLiABgiAuLgAEAAQAAgP8A/0AHgAiACcAKAAAARYUDwIGJCYQPwI2Mh8BFhQPAgYeATI3AT4BFwEHFzcBNycHHwED8wkJcKh+/qH6fKhxCBkI4AkJcKgPAR0pDwEZCBkJ/ppHt0YBCUi2R1pbAcMJGQhxqH0B+gFhfKlvCQnfCRkIcagOKh0OARgJAQoBE0i0Rv5pRrZGW1sAAAAAAgAgAB4D4APeABgAMgAAABQPARcWFAYjISImNRE0NjMyHwE3PgEfAQERFAcWIyIvAQcOAS8BLgE/AScmNDYzITIWAfgHz1oMGBD+6BAYGBAPDVrPBhEHRgHvDAIWGgpazwYRB0YGAQfPWgwYEAEYEBgBohAHz1oNHxgYEAEYEBgMWs8GAQdGAg3+6A8NDAxazwYBB0YGEQfPWg0fGBgAAAEArAHABIQCKgADAAATNSEVrQPWAcBqagAAAAAG//v/+wQFBAUAEwAnADsATwBZAGMAABMwBxcWFRQGJzAnLgE3MDc2MzIWNzA3PgEXMBcWFRQGJzAnBwYjIiYBMAcOAScwJyY1NDYXMBc3NjMyFhMwFx4BBzAHBiMiJjcwNycmNTQ2BTAHMBclMDcwJwEwJzAHAzAXMDfYa2sOOhaNDQEOjQ0UIBdkjQ0nDo0OOhZsbA0UHxgBco0NJw6NDjoWbGwNFB8Ypo0NAQ6NDRQgFxZraw46/UgvMALILC7+zC8vATAvAmxsbA0UHxgWjQ0nDo0OOuiNDQEOjQ0UIBcWa2sOOv1CjQ0BDo0NFCAXFmtrDjoCAo0NJw6NDjoWbGwNFB8Yli4vAi0vATUuL/07MDAAAAAABABmAAADmgQAAAsAHAAiACYAACU1IzUzNTMVMxUjFQUiJyY1ETQ3NjMhAREUBwYjAzUhESERJRkBFQHap6dMp6f+jRscFhYQJwHNARoWECfz/lkCmv1mxKdMp6dMp8QVECgDZhsdFf7m/WcbHRUCxO/8mgJ37/yaA2bvAAQAL/+KA9AEdgBWAFoAXQBgAAABFhcWAxYHDgEjMCMiJicuAScmJyY3NDc2MxYXMBcWNTQwNTADJjc2NzYXFhcwFxQXFjM2JzAnJjc2MzIXFhcwFxQzFjUwJyY2Fx4BFzAXFjMwNycmNzYnNxcHEwsBBRMFAxA2BCESAhAKgF2rImgsLGISEgoXARkYISIZHwQkBBQVIiIaHAMMAwEDBgEJAhoYIiEYGAIJAwgIAjgjICgCEAIEBAgCDxE+MnUxHfYSAX4S/vkC7AxONP7tLadhjEIoJmgUFA0gGSMYFwIYHQUIAg4BriUYGgQEFRYglwYDAQIKwR8aGBgXIscNAw6+IisDAjMk1QkHlicMDtk7ZzoBEf7kAQlU/vkUAAAAAAMArf/jA1MEHAACAAYACQAAEwUBEwMjEyElAa4Co/6uRwGLAQGX/V0BUgE3Af6uAuX+bgGSAQFRAAAAAAf/qgAXBFYD7wADAAcACwAPABMAFwBGAAAlNzUHJzcnBwE3NQcnNycHJzc1Byc3JwcBFRQHBg8BBiIvASY1FA8BBiIvASYnJj0BNDc2PwE1NDY/ATYyHwEWFxYdARceAQEL0tIj3NzeAzHV1SPe3twZ0tIj8vLyA0gKDRH2DSUM+AIF9Q4iDvYRDQoNDRHwFxT0DR4N9BQNCvAUF29prVo9X19f/qhprVo9X19fQlqTWj1naGj+feUVDxIIewcHewEBAQF7Bwd7CBIQFOUVEBIJZtwUIwlqBQVqChASFNxmCSMAAAEATP/pBIAEHQALAAAFESE1IREzESEVIRECOf4TAe1aAe3+ExcB7VoB7f4TWv4TAAYAAAAzBAADzQAHAAkAEQAVACMAMQAAATUhFSM1IRUFIQYiJjQ2MhYUAzUhFQUhNSMRNDYzITIWFREjNzU0JiMhIgYdATM1IRUC5P44TQJi/RwDZlgfFxcfF47+OAIV/Z7PTjoC8DpOz4IiGf0QGSKCAmIC16mp9vZNeRceFxce/lj29k3hATs6Tk46/sVN7xkhIhnuYmIAA/9HALkEuQNHAAoAEwAgAAADITIWFRQGKwEVIxMzMjY1NCYrASUhGwEhESMRAyMDESO5AVBtbXZ6b8vLMTswKjg6AccBC2ZlAQqmgJZ+pgNHaGBkb/MBdykgHiuF/nIBjv1yAfL+DgHy/g4AAgA2//gDygQYABsAHAAAJCA2NTQnMxYVFAAgADU0Nz4BNzUNATUGBwYVFAUBfQEGugKNAv7z/ob+8zg5wXUBGf7neFBSAT2FuoMREhIRvv70AQy+dmZmfQmO09OKDVpZeoO6AAEAJQAlA9kD2wBDAAABFhURFAcGIyEiJj8BJiMiBwYHBgcGFBcWFxYXFjMyNzY3Njc2HwEWFxYHBgcGBwYnJicmJyYnJjc2NzY3Njc2Fhc3NgPCFwsMEP7sGxQTVlx8QTk+JykaGhoaKS04OkBJQjo0BQkIB1UEAQIGUVJdbF9ZVEI/JyQBASYkQj5YVWNZrEFQFAOvCxn+6xIKCzESVVUaGygoPTqAOj0oLRgYIB09BwEBBlUECQgFWiUrAQEmJUE9WVVjXlpTQ0AmJAEBRj1PFAAABf+z/7EETQRPAAsAYQB1AIMAkAAAJTcXBiMiJCYnMx4BEzI3NjU0JyYnLgErATQ1MzI3Njc2NzY3LgEjIgcGBw4BFSM0Njc2NzYWFxYXFhcWBxQHBgcGBwYHFhcWFxYXFhcGBwYHBgcGJyYnJicmJyY1MxQeAgEWFxYVNBUUBwYHDgErAREzMhcWBzU0JyYrAREzMj4BNzYDMgQWFyMmJyYnByc2ASRCuxkIl/74oQ1JDaCnHhARBQIMCB0PJiYQDQ8FBwQEAQEcHQ0LCAoICj8TDxEVGTIaFxAPCgkBAwMIAhEKDxQKDgYJAgMBAQoKEA4cGhgSHhkQEwgKPwkRFwG0FwwODg0WGEQocXUrHSUBHBs1MS0bKxwHB+GYAQehDUkNUFF6QrsaLEK8AY/6lYreAQcQEB4RCggMCAcBMgUGBQcLDQwbHwQCCgcSDRYnDw8GCQIHBg0NFhUaDAsKDQMRCggGCAoMDA0PDB0TFQ8NCAkBAQcGDRASFBsNFQ8IASUZJCYnARQsIiMYGBoBig0QshQ/IyL+5BIiGBcCeo/6lYpvbjpAvAEAAAAEAAIAAgP+A/4AJwBPAFcAWAAAJScuAScHJzcuATQ2Nyc3Fz4BPwEzFx4BFzcXBx4BFAYHFwcnDgEPASczNz4BNxc3Jz4BNCYnNycHLgEvASMHDgEHJwcXDgEUFhcHFzceARc2IiY0NjIWFCcBixoYNhSWd4oDAQEDineWFDYYGuoaGDcTlneKAwEBA4p3lhQ1GRqtcBIqSx+HM3gFBwYGeDOHHkktEnASK0sehzN4BQcHBXgzhx9LKo+KYWGKYaYCoQkeEUXRZQseFh4LZdFFER4IoqEJHRJF0WINHRocDWPRRREgB6FNjgsrHztcWBUqLCoVWFw7IiwHjo4JLCA7XFgVKiwqFVhcOx8rC31himFhikUAAAAACP+r/+EEVgQiAAcACwAPABMAFwAbAB8AIwAABxAXIAcQJyAlAwUTAREhEQcRIREFNTMVMzUzFSE1MxU3NTMVVQsEoAEL+2EEegL7rwYDHv4lBQHm/UlnZGYBImZkaBMENQEL+8sBMAPuBfwPAcoBLP7UBgE5/sfvSEhISEhIAUhIAAAAC/+n/90EWQQbAAMABwALAA8AFAAZAB0AIQAnACsALwAABREhEQcRIREBNTMVNzUzFTM1IjMVATUiMxU3NTMVMzUzFQE1MjMUFTc1MxUzNTMVBDz7iB0Esvv/ldCU0AGU/KIBlNGT0JT8ogGUz5XPlQcEBvv6HAQ++8IDBH9/A4GBgYH+y4GBBICAgID+zX8BfgV+fn5+AAAHADP/zQPMBDMAPABEAE4AZACAAJQApwAAATYzMhcWFxYdATMyFhceARcWBgcGJyIXFAIHDgEHBgcGICcuAScmAwI1LwEmJyYnJjc+ATc+ATsBNTQ3Nhc1KwEdATsBBSchIAcOARQgNgc0JSEXFhMWFx4BFxYzFzMyNzY3NhIFNhcyFx4BFxYXEhUUBwYjIicmJy4BJyYnAzc2NzYWFx4BFRAHBiMGJy4BJzQ2NzY3Nh4BFRYDAgcGBwYmJyYTEjc2AYsLamgNIQYCbFomDQwODQ4BEBIbCgE5AQIRBxYeD/4xDR4tBgIcHAEUHA8PBAERDA0MDSZabgUL6FtbW1sBIAv+kP6QAQEUAwoBQ/7D/sIBARsCBBIJCwICCufoBQ0HAzn96hASAQEKBwsBAQ8OBwsMBgECCQULAgERBQTJCxwIAwEDCBYQCwMCAQEDA8oIGBIBEA8DBw8LGQMCDw4CAgQvBAQLJA0hIQMLCRsjLCAQEwEEB/1BBgoeCBcHAwIGLh0NAVcBXAQIAgINDhYLMCUaCQoDKikLGFYgICBgHgIBOgICRwIBCAn+qBgs3EsFAQUCBA8HAr0oDAoCBkPGGg/+4BAWCgQEAQEGQL4mFwEyBwgGBwcLBlDk/s4GEgEQBE/k4lIGCwQEAhAPEP7b/toGDQQDDgsHASIBGhYXAA3/5f/5BBsD6wAlACoALgAzADcAOwBAAEQASABNAFEAVQBZAAABMhcWFREUBwYjISInJjURNDc2MyEyFxYdATMyFxYdATMyFxYdARc0NSMVJyMVMyEzNDUjNTM1IzUzNSMTFTM0NRchFSERIRUhAyMUFTMDIxUzAxUzNQUzNSMD+wsLCgkKDfwKDQkKCQoNAT4OCAmeDQkKnQsLCv5/QPz8/Ql/f/7+f3+//L7+xAE8/sQBPL78/L3+/v7+Abr+/gGzCgkN/oUOCAkJCgwDtA4ICQkKDJ4JCg2eCQkNnr4Bfn9/fwF+P34/f/6FfwF+vn4B+X4BPAF+ATx+/Yh+fn5+AAAAAf+xAKUETgNZADwAAAE2FxYfAhwBHgE3Njc2NzYXFhceARUcARUUBgcGBwYnJgAnIg4BFBUUBgcGIyIjIiYnJicmJy4BNzY3NgHMDhMSCwQCAQEBBfHyDR8YAQELAgMKAQEYHw3+HQUBAQEEDBAbAQIKNqElFuoIEQESCvX8A1QECAgVC3oqKh0IAQGLiwQIFwECCkPCHyIfwUUJAQIZCgQBFgEHHSoqZSAPEh5dFguGChAvEQqNkQAAAAABAEz/8ASABCQACwAABREhNSERMxEhFSERAjn+EwHtWgHt/hMQAe1aAe3+E1r+EwABAL7/4QNDBBQAJAAAARYVHAEVFgcBBiMiJwEmNTQ3Njc6ATM2HwERNDYyFxYVETc2MgMzDwEQ/vMQFhcP/vMPDxAWAQICEBGxICwQD7EQLQFJDxYCAgEREP7zEBABDQ8WFQ8RAQEQsgNHFx4QDxb8ubEQAAL/zf//BDMEAQAkAEoAAAEWFRQGBwYvAREUBwYnIicmNxEHBiciJy4BNzY3Njc2FzIXFhcBFhcUBwYHBgcOATEGJyInASY1NDY3Nh8BETQ3NhcyFxYVETc2MgIkDhwXExCpDxAUExEQAagQFRQQDgEPgH8FDAoKDAgKBgMADgEPHA8aOTdKEBUUEP8ADhwXExCpDxAVFBAOqQ4qAvEQFBcaAQEPqPziFg4QAQ8OFgMeqBABDw4sDoCABQYFAQMFB/1mDhYXDRkRHDc4SxABDwEAEBQXGgEBD6gDHhYOEAEPDhb84qgQAAAF/5kAXgRnA6IADwAaACEAKAAvAAAlISImNRE0NjMhMhYVERQGJRYzITI3AQcGLwE3ATQ1ETQ1BRQVERQVCQMmIyEiBAj78Cc3NycEECc3N/ueERoEEBkS/jBYCwtZ5gHA+3wBv/5PAjQCMxIZ+/AaXjgnAoYnODgn/XonODgTEwFUQAgIQBf+uAICAoYCAgECAf16AgIBSAFo/mYBmxMAFQAK/+4D/gQWAAMAGQAkAC4ANAA4AEgAUgBdAGkAbwB9AIgAjACSAJ4AqACwALQAvQDYAAAXESERJRUzPQEeARcwFzc+ATcwHQEzNSMHJxcUFjI2NTQmIyIGFxQGByImNDYyFiciBxQyNDIiFDIXFTMyNzY1NCc2NTQnJiMwFzAjNTMyFzIVFAcwFSM1MzIVFAcGNxUzNSM1MzUjNTM1MxUzNSM1MxUzNTMyNzY1NCcmIzAXMCM1MzIXFhQHBjcVMzUzFTM1IzUXFBYzMjY1NCYjIgYXFAYHIiY0NjIWNxUzNTM1IxUnMzUjETQjMCMVMzI2NzQnJicwKwEDIwMjETMRMxMzEzMRMTMRMzI2CwPz/FkQAgoBExQBCgEQECAgYB0nHBoWEx1UEg4OEhIcEjAFBRMdExMtGRANEBMNCgYXBxAJDQMHEwoQEwYDKToqIyMqEz0tPRAJFAwNEAkUBAoKEAMGBgMsEBc9LTYbFRMdGxUUHFASDg4SEhwSOhAgUBdnZ3BDQzBAZzk5cTetcANwrWoDg12DBGk3cXIRBCf72dlgMBQEDAQZGQQMBBQwYCwsMBMdHRMUHBoWDBQDFR0VFT4JChMTCmAHBRESBQYNDgUGJhoECQ0qAx0NAwYEUGAQHQ0WEGAQUGMjBw0MFQUGLCAEBg0GAyxgYGAQUDATHR0TFBwaFgwUAxUdFRUVUFAQEFlnAWBZtjEsXjEwAf5WAar9eQH9/gMB/f4DAQNmAAAABP7yAF8FDQOcAGAAbwB/AJkAAAEWFxYHBgcGBwYnJicmJyYnJicmJyYHBgcwBwYHBgcGBwYXFhcWFxYHBgcGBwYnJicmJyYnJicwJx4BFxY3Mjc2MzY3Njc2NzY3Njc2NzY3Njc2NzY3Njc2NzYXFhcWFxYlMhYVFAcGJwYnJjcmNzYFMhcWFRQHBiMiJyYnNjc2BRYXFhcWFxY3MCcmJyYnJgcGBwYXFhcWFxYFBwIBAgMDBw8KOzMQDhYOJkAoKicnUzsECgIXFCsMAgEBAQcBEQQICwsZHzc7SEU3CBUVC3NGBQUSBCMlAgYGBAIIBgUhI009Sy0PFB4OJT0lLhgrCRITAhgzVTe+TAj+IE9wODhPTzc5AQE4OP2zNycmJic3NyYmAQEmJv7JDzo2GSUULBoEQi0YKjEvEgwLBAQDAwgIAq8BAgQHBQMHAQcOBQgOES4tHBEPBQshAwUCDhQsPA0ODQsrBWEcOEI+MkAlKAgHIAQMDAY6FwIBAwEGAwEBAQEBAQQMHC44SRk1VCBWPiQZDBADAwMBBgIDG11aDHVwT084OAEBODhPTzg47ScnNjcnJiYnNzYnJ7wPJCAICwIFAQRCPiMICwcDBgUKCgQFCAkAAAn/rv/7BFIEJQAIABIAfQCLAI8AkwCaAKcArwAAJDIWBxQGIiY0JTIWBxQGIiY0NgEXFA8BIhUGBxQfARYPAQ4BLwEmBw4BBwYXBxQGIw8BBiMhBxcFFSEiJwMjNzMyHwEFNTQ/ATI1Njc0LwEmPwE+AR8BFjc+ATc2NTc0NjM3Mh8BFBcWFzInNzYfAR4BDwEGFx4BFxYzFzIWBSMVMzc1JicmByciJiMlFzM1FzUjFzczNScmNSMXFTM3JzQjLgEnIw8BNjI2NCYiBhQBEV1EAkJdQQGVMUACQVxBQQIPDBVPBgIGAzcTECwEEwlEBAUEEgQDAQQOCR0JBg/+xuEJAeb95xEGb5kDuw8GKQEiFU8GBQQDOBIPLwUTCD4EBQQSBAMEDQpGFQYOBgYVAwE7ExE0CQQHLAQEAQkCAwNPCQ79TAOcHQQFBAJPAQcB/uMSjQOHEaK5JwiK5W8DDgcDCwMSNwNfd1VVd1PbRCwvQEBdQkMtL0BAXUICQUMVBQ8GBhQEAjsTEDUJAwYsBQUBCQIDAlAIDwMgEgMxBEkYAhVBEWgCAhUGDwYRDAQCOhMQNQkEBioEBAEKAQMDTwkPBRRSBQEDBgM4ExEsBBMJQwQFBBIEAwMNnVgpEQkMBAEDAwJUVNhUVAMpIAQIWAQJRAYBAwE0A4FVd1NTdwAAAgEqAAEDPwP9ACsAVAAAARYdAQ4BIwYnJjc1HgEXFhcVBhcWMzI2PQE2JyYjIgcmPQE2MzYXFjEWFxYDFyMGJyY9AT4BMzYXHgEdAS4BJyYnNTQnJiMOAR0BBhcWMzI3Fh0BBgMFOgGcbWtOTwQDDgQyQwImIzQ0TQImIzUeGQgcIi8vCCIaGsUCA2tPTAGecGtOJyIEDgRBNR4jNTdNAiUjNR4aCB0CckdhvW2dAk9ObJEEDwQxGy4yJSVMM70yJiUODRB0BwISBA4UFv7KAQJOTG+ya4kCTyZKNZUEFQNCFCQmHSQBNzGyMiYlDg0QcwgAAAz/y//QBDUEOQAcACYALwA0AD4AQwBKAE8AWQBeAGMAeQAAATAVFAcGBAciJyYnJic0NTQ3Njc2NzIzFhcWFxYkEAAgADU0JyYEATM2NzQnIxYUAzY3IwYnNjU0JyMGFxQXEzY3IxYDNjcGBwYHERYXJi8BMyY3JjcjBhcGAQYHMyYFJicWFwMyFxYXFgIHBgcGJyInJicmNTQ3PgEENU1L/vqYk4eCS0oDTU2BhJICA51+gkpN/BUBAgFrAQOAgv6SAaa0DwEQtAhmkFicHzsJCfkJAgd9SR3NJZIiJko6OydVkyYkyLIHAgEGsg0BAQGpQCfNJAEuUpYpIdKSenlJSAJGSHp7kZJ6eUdJRkn2AgUBmoGBlgJNSoJ9ngIDmX2CSk0BAUxLgYIb/pX++wEFtreAggH93zkwMzhETP6TM4po1DM2ODMzODU0/sFtZm4CGHdIHDAyQf5WijNGd2xEJSZFRCc9AedhdHBwijVGeQE/RkZ9ev7eenhJSQFGSXp7kJF7eo4ABP/ZAF8EvwOYAAYACwAQABsAAAM2NyEyFwE3ARURFQkCNRETARcWPwEBBiMhIhYSHQRmHRL9no0B5fscAeT+HBAB92ALDGAB9hMb+5kdA4EVART+QjIBYgT9RAUCwv6h/p0EArz9IAFwRQkJRf6QFQAAAAABAMQAAAM4BAAB+gAAISIjJi//L8YmNzYBNjc7GxYXFgcGBxYXFgcOAQcGAuEPDw4MAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAh4ZngE4CQkBAQEBAQEBAQEBAQEBAgEBAQEBAQEBAQEBAQECJxsTFcLBwsISFAkgBgoGCQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQECAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQEBAQIkKJ4BNgUEFiQiIMLBxMUhHwkgBgUAAAAE/+r/6gQWBBYAEwAXABoAHQAAEzAhMhYVMBEUBiMwISImNTARNDYXESERCQIbAQFDA3omMzUk/IYmMzUmA3b+AP7mARqJAQEaBBY1JPyGJjM1JAN6JjNb/IoDdv0qARsBGv3LAjX+5gAAAAAC/5oATgRmA7IAEQAeAAABMhYVERQHBiMhIiY1ETQ3NjMBNjQnJSYGFREUFxY3A2drlEpMaf0ya5RKTGkCIgcH/rAGDgYHBgOylGr+mGtJSpRqAWhrSUr+PAQQBasCBwn+tgcDBQMAAAQAAAAABAEEAQALABcAKAA5AAAlIgYUFjMhMjY0JiMBNCYiBhURFBYyNjUnIgYUFjMhERQWMjY1ETQmIwEUFjI2NRE0JiMhIgYUFjMhAi0EBwcEAcgFBgYF/CEHCQYGCQcLBQYGBQIXBwkGBgUBvQcJBgYF/BYFBgYFA98WBwkGBgkHA98FBgYF/jgEBwcECwYJB/3pBQYGBQIiBQb90wUGBgUD6gUGBgkHAAAO//8AAAQABAEACwAhAC0AOQBoAGkAagBrAGwAbQBuAG8AcABxAAATNCYiBhURFBYyNjUBIgYUFjMhMjY1ETQmIyEiBhQWMyERBRQWMjY1ETQmIgYVJSIGFBYzITI2NCYjFxQWNjUnMCcmNSYnJiciJyYjJicmIzAuATEiFDMWMxYzFhcWFxYXFhcWFxYVFhUnHwcWBwkGBgkHAhcEBwcEAcgFBgYF/BYFBgYFA9/+OAcJBgYJB/3pBQYGBQFtBAcHBKsLCgIICw8BEgEBFxkBGgEbAg8PCwobAhgBFwEXAhICDwIMAQoHix0bGhgTEAsIA/UFBgYF/jgEBwcE/ekHCQYGBQPqBQYGCQf8LAsFBgYFAW0EBwcEwAYJBwcJBsEGBQUIHxwaARkCFgETDwsBBwEBFQIHCgEMAg8CEgIXARcBGAKkBwwPExcbGxwAAAAE/////wQABAAACwAhAC0APQAAEzQmIgYVERQWMjY1ASIGFBYzITI2NRE0JiMhIgYUFjMhEQEiBhQWMyEyNjQmIxMUFjI2NRE0LwEmBhUUHwEWBwkGBgkHAhcEBgYEAcgFBgYF/BYFBgYFA9/8IQUGBgUBawUGBgWtBgkGA7cFDgO1A/UFBgYF/jgEBgYE/ekHCQYGBQPqBQYGCQf8LAIiBgkGBgkG/dMFBgYFAW0EBLUFBQgEA7MAA//9//0EAAQAAAsAIQAtAAATNCYiBhURFBYyNjUBIgYUFjMhMjY1ETQmIyEiBhQWMyERASYGFRQXARY2NTQnFgcJBgYJBwIXBAcHBAHIBQYGBfwWBQYGBQPf/CYFDQMCIQYNAwP1BQYGBf44BAYGBP3pBwkGBgUD6gUGBgkH/CwCGgYGBwUD/eIFBQcFAwAABP//AAAEAAQBAA8AGwArADMAACEyNjQmIyEBJgYVFBcBFjMlFBYyNjURNCYiBhUBIgYUFjMhARY2NTQnASYjBTQiFREUMjUD9QUGBgX+Pf3hBg0DAiMDBAG9BwkGBgkH/CEFBgYFAh4BxAYNA/44AwX95xMTBgkHAh8FBQgEA/3dAwsFBgYFAiIFBgYFAdMGCQf+PAUFBwUDAcgDCgkJ/joKCgAE//8AbgQABAAAGgAsAD0ATgAAJRQWMjY9ASEyNjURNCYjISIGFBYzIREhIgYVMzQmBzU0JiIGHQEUFjsBMjY1JzI2NCYjIRE0JiIGFREUFjMlMzIWHQEUBiImPQEjIiY0NgFNCAsIAosFCAgF/BoFCAgFA9n9dAUIGxAGCAsICAUWBggOBggIBv7ABwsICAUBN/MGBwcLCOYFCAh8BggIBtEIBQKZBQgICwj9gwgGCQcGDQUICAX1BggIBtEICwgCiwUICAX9ZwUIMQgFFwUICAUJCAsIAAAE//8AbgQABAEAGgApADoAUAAAJRQWMjY9ATQmIyERITI2NCYjISIGFREUFjMhNyYGHQEUFjsBMjY9ATQmByIGFBYzITI2NRE0JiIGFREFNTQ2OwEyFh0BFAYiJj0BIxUUBiImApoICwgIBf1yA9kFCAgF/BoFCAgFAo0ZBhMIBhYFCBMQBggIBgFLBQgICwf91gcG9QUICAsH2wgLB3wGCAgG3wUIAn4HCwgIBf1oBggVCAYJ3wYICAbfCQYCCAsICAYCmAUICAX9dQ0WBQgIBRYGCAgGCAgGCAgACP//AiAEAQQBAAcAEwAfACkAMwA1ADcAPwAAEzQiHQEUMjUFFDI1ETQjISIUMyEFFDI9ATQjISIUMyEBDgEWNyU2NCYHBRY2JiclJgYWFyUTAxETNCIVERQyNQoKCgHJCwb+LQUFAc4CIwoF/i0FBQHO/i8CAQUDAdMDBQL93QMFAQL+LAMFAQICJQECBgoKA/sFBeoFBekFBQHTBQrmBQXqBQr+NgIFAwHqAgUDAfECBAUC6QEEBQLt/i0B1P4qAc8FBf44BQUAAAAABP//AAAEAgQBABEAFgAnADwAAAERNCYjISIGFRMUFjMhMjcBNgMRASEDARQWMjY1ETQmIyEiBhQWMyETNiYjIgcBIRE0JiIGFREUFjMhMjcEAAcE/BcEBwIGBQHFBQMCIQQW/eX+SQED0wcJBgYF/BYFBgYFA98TBQYHBAT94f5IBwkGBgUByAQDAjEBxAQHBwT8FwQHAwIlBAG9/kz94QPT/kUEBwcEAcYFBgYJB/49Bg0D/d8D3wUGBgX8FgUGAwAAAAQAAP//BAAEAQALABcAKAA5AAABMjY0JiMhIgYUFjMBFBYyNjURNCYiBhUXMjY0JiMhETQmIgYVERQWMwE0JiIGFREUFjMhMjY0JiMhAdMEBgYE/jgFBgYFA98HCQYGCQcLBQYGBf3oBgkGBgX+QwcJBgYFA+oFBgYF/CED6gcJBgYJB/whBQYGBQHIBAcHBAsGCQcCFwUGBgX93gUGAi0FBgYF/BYFBgYJBwAD//4AAQP/BAEACwAcACYAABM0JiIGFREUFjI2NQEUFjI2NRE0JiMhIgYUFjMhExY2JicBJgYWFxYHCQYGCQcD0gcJBgYF/BgFBgYFA90HBgoBBvwXBgoBBQP1BQYGBf4MBAcHBP4MBQYGBQPoBQYGCQf8GwMHDAMB8gMHDAMAAAQAAP/+BAED/gAQABoAHAAoAAABFBYyNjURNCYjISIGFBYzIQEGFBY3ATY0JgcBAxM0JiIGFREUFjI2NQPqBwkGBgX8GAUGBgUD3fweBgoGA+gGCgb8GgENBgkGBgkGAf8FBgYFAfQFBgYJB/wtBAsIAwH0BAsIAwHq/BID4AUGBgX8MAQHBwQAAAAAAQCk/7MEfgRNAAcAAAEhESMRIREzBH38sIgDUIgBvP34ApACCAAAAAEAngAMBLMD9AAFAAAlIREzESEEsvvtkwOADAPo/KsAAQCoAeYEpQJ5AAMAABM1IRWoA/0B5pKSAAAAAAQADv+1A7oESwALABkAHwAjAAAlNSM1MzUzFTMVIxUFIiY1ETQ2MyEBERQGIwERIREhEQEZAgG4v79Yv7/+VyQ0NCQCEQFBNCT+6/4bAvr9Bpi9WL6+WL3iNCQD5SM1/r/9BCQ0AywBEfwbAtQBEfwbA+X+7wAAAAUAHv/SBH0EMQAXAC4AQgBOAE8AACUnNy4DNTQ2NxcOARUUFhceATcnNxc3Jz4BNTQuAiMXByc3FwcyHgIVFAYBIi4CNTQ+AjMyHgIVFA4CJzIANTQAIyIAFRQAEwJQOjU1ZVEqFhg+DAwdHB1LJzw6oEc+DAwdOE4mPTqgoDo1NWZSKBb+/3PMmVhYmcxzdMyXWFiXzHTGARX+68bG/uoBFsZ6OzUCKFFoNShOIz0WMBgkSRwdHAE8O55QPRcvGCRJOB09O56eOzYnUWk1KU7+SFiYzHN0zJdYWJfMdHPMmFhTARfFxgEV/uvGxf7pAdwAAAAEAHr/5QQGBBEADwATABwAHgAAJSImNRE0NjMhMhYVERQGIyUhESEDIiY1ETMRIRUlEQFrIDAwIAJKIDAwIP22Akr9tqAgMFACmv4GhjAgAusgMDAg/RUgMFAC6/wlMCADO/zFUPAC6wAAAAAC//UAXgSLA6kAMwA0AAAlIiY1NDY3PgEzMhYVETcXByc3FxEOARUjIgYUFjMhMjY0JisBNTQmJzUeAR0BNhYVFAYjAQEPdqSHZRSzcSAwbznQ0DpucoMZUnR4UgKaPFZWPFRYRWyBYIaGXP6XXqR2aZwQcKwkH/54bznQ0DlvAYIPrGRzrXNWeFVwW4QmVyfAdSADgGRchgHPAAABAIQAewUSA4UACAAAASERIxEhMxEjBHD8tqID7KKiAuP9mQMI/PgAAgCrAHYFSgOKAAgADAAAASERIxEhMxEjAREjEQSl/KukA/mkpP6wpALm/ZADFPzsAnD9kAJwAAACAJ8AZgVsA5oAAwAHAAATIRUpAREjEaAEy/s1AsOqA5mq/XgCiAAAAQCfAA4ErwPyAAUAABMhESMRIZ8EEJP8gwPy/BwDUQAFAAIAGAP+A+gAEwAbABwAMABtAAAlIiY9ATQ2OwE3MxczMhYdARQGIyYyNjQmIgYUAzUyFhcjLgEjIgYVFBYXFS4BNTQ2AycuAScHJzcuATQ2Nyc3Fz4BPwEzFx4BFzcXBxU1Iy4BJzcnBy4BLwEjBw4BBycHFw4BFBYXBxc3HgEXFQJfHisrHkkxYjBKHisrHtNQOTlQOr40UhBQCyUWIzISDS47XS4ZFzMTkHKEAwEBA4RykBMzFxngGRc0E5BxhEoBAwJyMIIcRyoRbBEpSByBMXIFBgYFcjGBIFEtGCse9B8qMTEqH/QeK2I5UTk5UQFNnz8vERMyIxImC1MRUTRCXf15mggeD0HIYAscFhwLYMhBDx4Hm5oIHBFByGEBAQgQCVRYOB8rBomJCCoeOFhUFSgqKBVUWDgfKwrOAAUAAAAABAAEAAALABsAHwAoACoAAAEnNyc3FzcXBxcHJwEiJjURNDYzITIWFREUBiMlIREhAyImNREzESEVAREB4TVrazVsazZrazZr/pkeLi4eAs0fLi4f/TMCzf0zmR8uTQMZ/YABrDVsazZrazZrbDVr/oMuHgLNHy4uH/0zHi5MAs38TS4fAxn8500Ds/0zAAAEADkAAAPHBAAACwAdACEAIwAAASc3JzcXNxcHFwcnASImNREjNSE1IRUhFSMRFAYjESERIQERAVdEqqpEqapDqalDqv7JIjM6AQsBdgELOjMi/ZICbv2SAP9ErKxErKxErKxErP5WMyIDKVYqKlb81yIzA3781wMp/NcABQACAAID/gP+AAcACwAbACUAJgAAACImNDYyFhQnETMREiIuAjQ+AjIeAhQOAQQgNhAmIyIGFRQlAhIkGBgkGExMQNO6i1BQi7rTuopQUIr+KAFp/Py1tP0BsQEBGCQYGCSrAUP+vf4+UIu607qKUFCKutO6igT9AWn8/LW0tAAGAAIAAgP+A/4ACAARABYAHwAoADAAADciJjURMxEhFTM1IREzERQGIyU3FzcTARE0NjMhFSERIREhNSEyFhURJCImNDYyFhRXIjNVAX9UAX9VMyL8/6eEu9D8pDMiAX/+gQNS/oEBfyIz/u9CLCxCKwIzIgF//oFVVQF//oEiM9LXtPL+6wFWAX8iM1X+gQF/VTMi/oFVLEIrK0IAAAAAAwACAbMD/gJNAAcADwAXAAASIiY0NjIWFAQiJjQ2MhYUBCImNDYyFhRuPy0tPy0BhD8sLT8sAYU/LS0/LQG0LT8sLT8sLT8sLT8sLT8sLT8AAAAAAgDqAAADFgQAABkAIQAAAT4BNz4BNTQmIyIGByc+ATMyFhUUBgcOAQcCIiY0NjIWFAG9Aik6OTxQSUZLEnEejWmHkTc9QhsBH043N043AVFhWTQzWDI8UU8sMlBvlWlBaTlAQ0r+sDdONzdOAAAAAAIAXQAAA6MEAAAQACEAADcuATU0NjM1Fwc1IgYVFBYXEyc3FTI2NTQmJzceARUUBiPnQkf0rtXVdKM6MazV1XSjOjVvQ0j0rsg9olmu9F2jol2jdEJ2LP7lo6Jdo3RCdytSO6JZrvQAAgBFAAEDuwP/AA0AIgAAJS4BNTQ2NxcOARUUFh8BNT4BNTQmKwEXByc3FwczMgAVFAYB16noYlg7TVW2iFOKs9CWHFM7uLg7Uxy5AQDmAg37rWq8OzsunlqKyRBSUhHIipbRUzy4tztT/v63rfsAAAEAAAC6BAADRgAeAAAlJzcuATU0JDMyBBUUBgc1PgE1NCYjIgYVFBYXJzcXAWM3Zq7kASrW1wEppIhneNbd3NeTtmo3w7o3aBODZGWOjmVMcyBTGlIgKX19KTpTI2g3wwAAAAAEAKsAAANVA/8AAwAIAAwAEgAAASMVMxcjESchAREFETczESERBQItQEDSVNEBJf4CAVVVqf1YAf8B/Z1OAk1K/U8CpHn9WEEDQ/y+vAAAAAQAqwAAA1UD/wADAAcADAASAAABMzUjAyURBQMhBxEjFxUlESERAdNAQCkBVf6rqQEl0lNTAgD9WAFgnQEmef1cfQMuSv2zVru8A0L8vQAABAC0ATQD+AQAADwATQBaAGAAAAEzMjc2NTQnJiIHBhUjND4BNz4BMzIXFhUUDgQHBgcWFxYVFAcGIyInJjUzFBcWMzI3NjU0JisBNTMFETMyFxYXFh0BFAcGBwYrARMVMzI3Nj0BNCcmKwETIREjESEBGC0hDBERDDoMEVIBCAgSPidEIyUBAQQCBwIMIR8WESkoQz8oKVIRGBUhDBEkIi4JAQd/MzAwFhkZGCorOINWKTIcHRgXOC0RAXJv/v0CGwwRFBoLDAwLFg0OEwgYGR0fLwgMBwgCCgIREAoXFiA0Hh0dIiwYCQwMCxocHjraAXoVGyYsMxA0KyoYGAFA/x0kMhU+GB0Bi/6OAQMAAAAHAAAAAAP4BAAAPABNAFoAYABmAGwAcgAAATMyNzY1NCcmIgcGFSM0PgE3PgEzMhcWFRQOBAcGBxYXFhUUBwYjIicmNTMUFxYzMjc2NTQmKwE1MwURMzIXFhcWHQEUBwYHBisBExUzMjc2PQE0JyYrAQEVIREjGQEzESEVIQEhESMRIQERITUhEQEYLSEMEREMOgwRUgEICBI+J0QjJQEBBAIHAgwhHxYRKShDPygpUhEYFSEMESQiLgkBB38zMDAWGRkYKis4g1YpMhwdGBc4Lf79/v1vbwED/o4ChgFyb/79AXL+jgEDAhsMERQaCwwMCxYNDhMIGBkdHy8IDAcIAgoCERAKFxYgNB4dHSIsGAkMDAsaHB462gF6FRsmLDMQNCsqGBgBQP8dJDIVPhgdAYtv/v0Bcv1y/v1vBAD+jgED/eH+jm8BAwAAAAUAAAE0A/gEAAA8AE0AWgBgAGYAAAEzMjc2NTQnJiIHBhUjND4BNz4BMzIXFhUUDgQHBgcWFxYVFAcGIyInJjUzFBcWMzI3NjU0JisBNTMFETMyFxYXFh0BFAcGBwYrARMVMzI3Nj0BNCcmKwEBFSERIxEpAREjESEBGC0hDBERDDoMEVIBCAgSPidEIyUBAQQCBwIMIR8WESkoQz8oKVIRGBUhDBEkIi4JAQd/MzAwFhkZGCorOINWKTIcHRgXOC3+/f79bwKGAXJv/v0CGwwRFBoLDAwLFg0OEwgYGR0fLwgMBwgCCgIREAoXFiA0Hh0dIiwYCQwMCxocHjraAXoVGyYsMxA0KyoYGAFA/x0kMhU+GB0Bi2/+/QFy/o4BAwAAAAAFAAABOAP4BAAABQALADIAQwBQAAABFSERIxEpAREjESEDITU3Njc2NTQnJiMiBhUjND4BNz4DNzYzMhcWFRQOAQcGDwEzFxEzMhcWFxYdARQHBgcGKwETFTMyNzY9ATQnJisBAXL+/W8ChgFyb/79of7giBwNDQ0QGR0hUgEICAISCBAJHC5GHSUEBAkPJl+1On8zMDAWGRkYKis4g1YpMhwdGBc4LQQAb/79AXL+jgED/aw1hBYbGRAXEhEhHRAQFggDEQgNBBAcJSkREwgOGS1aRgF6FRsmLDMQNCsqGBgBQP8dJDIVPhgdAAcAAAAAA/gEAAAFAAsAEQAXAD4ATwBcAAABFSERIxkBMxEhFSEBIREjESEBESE1IREFITU3Njc2NTQnJiMiBhUjND4BNz4DNzYzMhcWFRQOAQcGDwEzFxEzMhcWFxYdARQHBgcGKwETFTMyNzY9ATQnJisBAXL+/W9vAQP+jgKGAXJv/v0Bcv6OAQP+XP7giBwNDQ0QGR0hUgEICAISCBAJHC5GHSUEBAkPJl+1On8zMDAWGRkYKis4g1YpMhwdGBc4LQQAb/79AXL9cv79bwQA/o4BA/3h/o5vAQM1NYQWGxkQFxIRIR0QEBYIAxEIDQQQHCUpERMIDhktWkYBehUbJiwzEDQrKhgYAUD/HSQyFT4YHQAAAAABAIkAnAQQAykABQAAJQE3FwEXAcD+yTz7AhQ8nQE2PPsCFTwAAAAAAQDRAIYDyAN8AAsAACUnCQE3CQEXCQEHAQEMOgFA/sA6AUABQTr+wAFAOv6/hjoBQQFAOv7AAUA6/sD+vzoBQQAAAAAEAGAAYQO2A7cABQAkAC4ALwAAASc3FzcXAiInJicmJyY1NDc2NzY3NjMyFxYXFhcWFRQHBgcGByQgNzYQJiAHBhAlAcywMID9MZawUUs6OiEjIyE6OktRWFhQSzk6ISMjITg7S/7BAS1qatT+02prAWsBSrEwgP0w/ekjITk7S1FYWFBLOjkhIyMhOTpLUFlXUUs5OyEda2oBLdRqav7TlgAAAAYAVQBUA6sD1QAXABsARgBLAE4AUAAAJCImJwEuATQ2PwE+ATIWFwEeARQGDwEGJzcnBwAiJi8BLgE0Nj8BMzcnIyc3FxUXNyc3Iyc3FxU3Fx4BFRQGBycHJwcVBwYnNzUjBxcnFwU3AzYNCwX+/gUFBQVbBQsMCwUBAwUEBAVbBRIu1S7+fQ0MBVoFBAQF8Fspuz2FaYa6i0c7eBOIEzy0EBMODVs8N+HwBRHVLtUuLhcCdS5VBAUBAwULDAsFWwUFBQX+/gULDQsFWwVJLdYu/t4EBVoFDA0LBfAou4VqhT27i0c8E4kTeTy0ECoYFScQWjs34VrwBUnVLtYtLRYXLQAABABsAFQD4APIAA8AEwAXABsAADciJjURNDYzITIWFREUBiMlIREhASERITUhESG2HS0tHQLgHS0tHf0gAUv+tQGVAUv+tQFL/rVULR0C4B0tLR39IB0tSgLg/SABcUoBJQAAAAkAOwCIBBEDmgAPABMAFwAbACcAMwBNAGcAaQAANyImNRE0NjMhMhYVERQGIyUhESEBMxEjFzUzFQciJjU0NjMyFhUUBgciJjU0NjMyFhUUBiUiJicuASMiBgcnPgEzMhYXHgEzMjY3Fw4BJyImJy4BIyIGByc+ATMyFhceATMyNjcXDgETEYUeLCweA0IeLCwe/L4CHP3kAmXd3UpJJA8WFg8QFBQQDxYWDxAUFP5nGycPChQMDRcKNQ8zIRspDw0RCg4XCjQONCEbJw8KFAwNFwo1DzMhGykPDREKDhcKNA40+YksHQJ+HiwsHv2CHSxJAn79ggJ+k0pK0BYOEBUVEA4W0RYPEBUVEA8WPRQKBg0QCDMPIBUKCAoQCDMPIPYTCgYOEAk0DiAVCQkKEAk0DiD+gwJ+AAIAMAByBDcDqwAIABEAACUnNxcHIRUhFwEnNyE1ISc3FwEp+fk2nAGX/mmcAd82nP5pAZecNvly+fg2m06cARE3m06cNvkAAAUAKgAJBFYENQAIABEAJQAxADIAACUnNxcHIRUhFzcnNyE1ISc3FwEiLgI1ND4CMzIeAhUUDgInMgA1NAAjIgAVFAATAavS0jlwAQH+/3DxOXD+/wEBcDvQ/pltw5FUVJHDbW/CkFRUkMJvvQEI/vi9vP73AQm81dHROXBQcK85cFBwOdH9fFSRw21vw5BUVJDDb23DkVRQAQm8vgEI/vi+vP73AcUAAAQAAQCDAwEDgwALABsAHwAhAAABNSM1MzUzFTMVIxUFIiY1ETQ2MyEyFhURFAYjJSERITERAWG1tUC1tf6gGiYmGgKAGiYmGv2AAoD9gAEutUC1tUC1qyYaAoAaJiYa/YAaJkACgP2AAAAAAAQANQAHBC0EAAALABsAJQAmAAABNSM1MzUzFTMVIxUWIi4CND4CMh4CFA4BBCA2ECYjIgYVFCUCD9zcTNTUP9K4i1BQi7jTuYlQUIn+KgFn/Pu1s/0BsAEF00zd3UzT/lCLudK5iVBQibnSuYoE/AFo+/u1s7MAAAAAEgDeAAEAAAAAAAAAFQAsAAEAAAAAAAEADgBgAAEAAAAAAAIABwB/AAEAAAAAAAMADgClAAEAAAAAAAQADgDSAAEAAAAAAAUACwD5AAEAAAAAAAYADgEjAAEAAAAAAAoAKwGKAAEAAAAAAAsAEwHeAAMAAQQJAAAAKgAAAAMAAQQJAAEAHABCAAMAAQQJAAIADgBvAAMAAQQJAAMAHACHAAMAAQQJAAQAHAC0AAMAAQQJAAUAFgDhAAMAAQQJAAYAHAEFAAMAAQQJAAoAVgEyAAMAAQQJAAsAJgG2AEcAZQBuAGUAcgBhAHQAZQBkACAAYgB5ACAARwBsAHkAcABoAHQAZQByAABHZW5lcmF0ZWQgYnkgR2x5cGh0ZXIAAGYAdQByAG4AdgBpAGUAdwAtAGkAYwBvAG4AcwAAZnVybnZpZXctaWNvbnMAAFIAZQBnAHUAbABhAHIAAFJlZ3VsYXIAAGYAdQByAG4AdgBpAGUAdwAtAGkAYwBvAG4AcwAAZnVybnZpZXctaWNvbnMAAGYAdQByAG4AdgBpAGUAdwAtAGkAYwBvAG4AcwAAZnVybnZpZXctaWNvbnMAAFYAZQByAHMAaQBvAG4AIAAxAC4AMAAAVmVyc2lvbiAxLjAAAGYAdQByAG4AdgBpAGUAdwAtAGkAYwBvAG4AcwAAZnVybnZpZXctaWNvbnMAAEcAZQBuAGUAcgBhAHQAZQBkACAAYgB5ACAAcwB2AGcAMgB0AHQAZgAgAGYAcgBvAG0AIABGAG8AbgB0AGUAbABsAG8AIABwAHIAbwBqAGUAYwB0AC4AAEdlbmVyYXRlZCBieSBzdmcydHRmIGZyb20gRm9udGVsbG8gcHJvamVjdC4AAGgAdAB0AHAAOgAvAC8AZgBvAG4AdABlAGwAbABvAC4AYwBvAG0AAGh0dHA6Ly9mb250ZWxsby5jb20AAAIAAAAAAAAACgAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAigAAAAEAAgECAQMBBAEFAQYBBwEIAQkBCgELAQwBDQEOAQ8BEAERARIBEwEUARUBFgEXARgBGQEaARsBHAEdAR4BHwEgASEBIgEjASQBJQEmAScBKAEpASoBKwEsAS0BLgEvATABMQEyATMBNAE1ATYBNwDvATgBOQE6ATsBPAE9AT4BPwFAAUEBQgFDAUQBRQFGAUcBSAAOAUkBSgFLAUwBTQFOAIgBTwFQAVEBUgFTAVQBVQFWAVcBWAFZAVoBWwFcAV0BXgFfAWABYQFiAWMBZAFlAWYBZwFoAWkBagFrAWwBbQFuAW8BcAFxAXIBcwF0AXUBdgF3AXgBeQF6AXsBfAF9AX4BfwGAAYEBggGDAYQBhQVzdGFydAVlbnRlcgxpbnNwaXJhdGlvbnMKcHJvZ2ltYWdlcw5kcm9wZG93bi1hcnJvdwhkb3dubG9hZAZ1cGxvYWQGY2lyY2xlCWRpbWNoYW5nZQpkb29yY2hhbmdlBmRlbGV0ZRFhdWdtZW50ZWRfcmVhbGl0eQdjbG90aGVzB21lYXN1cmUFb25vZmYEcGxheQpzY3JlZW5zaG90D2ZhX2NhbWVyYV9yZXRybwlmYV9jYW1lcmEHZmFfcGxheQtmYV96b29tX291dApmYV96b29tX2luB2ZhX3VuZG8XYXJyb3dfcmlnaHRfdXBfcG9pbnRpbmcYYXJyb3dfbGVmdF9kb3duX3BvaW50aW5nDGFycm93X2Rvd25fMgNleWUEdW5kbwRzYXZlD3Nob3BwaW5nX2NhcnRfMQ9zaG9wcGluZ19jYXJ0XzIFc2hhcmUDcGRmBWV5ZV8yCmV5ZV9jbG9zZWQGZm9sZGVyBWFycm93BHJvb20IYW5hbHlzaXMGc3dpdGNoCGJpZ3RpbGVzBWNsb3VkBmNvbG9ycwpkZWNvcmF0aW9uCGRlY291cGxlBmZpbHRlcgZmaW5pc2gHZml0dGluZwVmbG9vcgJocgRsb2FkBmxvZ291dAZtYWduZXQIbWF4aW1pemUGbW92ZTNkA25ldwlwYW5zd2l0Y2gGcGZlaWxlCHBpY2ttb2RlBnpvb21pbgVwcmludA5wcm9qZWN0bWFuYWdlcgRyZWRvBnJlbG9hZAhyb3RhdGUzZAhzZXR0aW5ncwhzaG93cm9vbQV0aWxlcwx0cmVldXByZW1vdmUEd2FsbAZyZXdpbmQKYXJyb3dfZG93bg1hcnJvd191cF9kb3duBmxldHRlcgttb2ViZWxwaWxvdAdpd29mdXJuBHdhd2kIbGFuZ3VhZ2UNbGV0dGVyX2ZpbGxlZAphcnJvd19sZWZ0BnRvZ2dsZQd5b3V0dWJlBUNGVF8xCENGVF8xX0ZSCENGVF8xX0ZTBUNGVF8yCENGVF8yX0JTB0NGVF81X0wHQ0ZUXzVfUgVDRlRfNgVDRlRfNwVDRlRfOAdDRlRfNl9MB0NGVF82X1IScGxhbm5pbmctdHlwZS1mcmVlFHBsYW5uaW5nLXR5cGUtY29ybmVyFnBsYW5uaW5nLXR5cGUtc3RyYWlnaHQIbm90ZS1hZGQGY2hhbmdlDGNvbnRlbnQtY29weQ5jbG91ZC1kb3dubG9hZA9wbGFubmluZy10eXBlLXUPcGxhbm5pbmctdHlwZS1tD3BsYW5uaW5nLXR5cGUtdB1wbGFubmluZy10eXBlLWNvcm5lci1taXJyb3JlZA9jYW1lcmEtc2V0dGluZ3MSZGVsZXRlLWZpdHRpbmctYWxsEmRlbGV0ZS1maXR0aW5nLW9uZQVlcnJvcgdmdXJucmF5Cm1vcmUtaG9yaXoNcXVlc3Rpb24tbWFyawlyZXNldC1hbGwJcmVzZXQtb25lBnJvdGF0ZQ9kb29yLWhpbmdlLWxlZnQQZG9vci1oaW5nZS1yaWdodBNmYS1jYW1lcmEtcmlnaHQtdG9wD2ZhLWNhbWVyYS1mcm9udA1mYS1jYW1lcmEtdG9wCWZhLTJkLXRvcAtmYS0yZC1mcm9udAVjaGVjawVjbG9zZQxjaGVjay1jaXJjbGUFdG9vbHMHYXJyYW5nZQphcHBsaWFuY2VzD3N3YXAtaG9yaXpvbnRhbBZzd2FwLWhvcml6b250YWwtY2lyY2xlB2FkZC1ib3gLcGx1cy1jaXJjbGUAAAAB//8AAgABAAAADAAAABwAAAACAAIAAwAKAAEADgCJAAEABAAAAAIAAAAAAAEAAAAA39bLMQAAAADfF3nhAAAAAOXYccM=") format("ttf")}@font-face{font-family:furnview-icons-multi;font-style:bold;font-weight:400;src:url("data:font/woff2;base64,d09GMgABAAAAAAc0ABAAAAAADngAAAbWAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAP0ZGVE0cGh4GVgCCUggECYRlEQgKiiCIKQsYAAE2AiQDIgQgBYVQBzgMLhtNDFHUpUFKA/DFgd3mY4vgkpgSdo9/TF/SQWt6kWEDx1nwbvazCZpUNLSeup4YBxU1oKLAiQqcm/09Vx6+v2/n/vfmYwtY4wk0HzyQdXxbxMImDzCMMM92qp//hR3+p63tHiIS5GcCnuVaRGTxfNSmF+tvglT1u6LDWtWqpFJU7tuv1d27w73x3nS0BAiJUmnzB9s3HzXv4infNlyaWMmkRKjkiIZ4NR1x3oshAKgNH57fiZt9VWM+PeuLX5MbCGADEAAMwuIQCecmAGWBFkNKUcxh7gJYhJ+nO+JDATCkCSttwSS1BWqxhmSk0JpMcCcZbJfhxZU5JtU+ErFXVVBgAECcITUAxOpPDf3/yf/3QFadVAI0iWIbMBA/8WMz/vPSUq5QckjPm8OO2glHAxkDqPIN+ncZjmrJhazaNDH/xU+YXuFm1OR6IE3fSKz2wOiBMdOlWHpg9XYuQe0bCTV7kGhzjVTy0PyJOxa61eZffEtUKwmpMAzdu1zNnOsxH6CT5mY8yHTY3w35BhSqmRMAe5A31kCn1u4KnZ5GdUGiVqnpJNCVb8UdE9jSPkWQlPXD8Y1dt8uEvrVCShaWYx1LCprOHWFxqkjlYVHHa3o+ScqGuEEQ8uo5Q9Sjupd3yNDaihvSZdvoRpVNVkXYbGUJMyAkqwA5aG1yWNDS5/XKsDPtommb3nOlFPRuB8bM0NFHwOTxmVK1w14rej+AgxWZgXEhQWwsIsv6lBF2KrPh5UwN7dExscNFIdOVI2F9Xs3pRLAdlapWLJ0aqqqdNdmZZ5113fvXlJWD6pJGcSk91kWb4xGoQ63RUPZJBzTbI4Pc0gpoiioCmsSDCKg8K0GqEkrN1x2GSDvUHCaR8uCDYvNBd51XvBLXyIOSkoCD2BkYBYBqNzMrL4XYdkBngH5Vg2F2YNJpr1s3zMEhKrzmAOKlA8c9A54+5Z6WPS8ni8X1USk2DjnHz3tBtGXoeW5uoJVoB39igIWOhe2qcNW9CNGLF/yL0nPPAOtq4XkWTQmvyq8+hfEFQyzA1nFzw8fu3hKx51rYmF0bQ3dy3Tx7uzdHjNtzI2zXptDRKa/jUmCs3IoeV5/LxFoxQjwJ3BC+G6veSa7bgnaVQDcpY/Yp3HUoxCo8Tkbt8qN3YZ2atSNXbwjZccx9xKq1gcvTiwVb13uOWnHCdds6N/NKbpwFk11KlnNzBcFKU1TlNnOtRFNW8LZlLKUiyua5jju6hZRY5loITq6LD8c1azRx+MrYIuOAtMZz6Dyu7Wqn3Ly8XLZjScD7BAeNR7RjSWBiYk52wjnH0sAknwXjHczH/T99MsH7YLma5MCaYD06O7vnMNpPs3vtL6vzy0yyJDyNVw/XBga/DUhqyEmOO+yYmsS6g003MLAX5V0anaBK9CjWLkkiDnJLdNdqvD7Dq0rwCIjWstQm5IQlyr4vyRdT0m/kWlG6HVdGJfTuO6bE5L8n3qANkt07O/ROqFX17iy3rErbap0nDc8r2j1MveqXYNQfe6diAUr2HZVUgnfvdhvpf8A/YYO3z4izYRvfBC+QuzBVpgchrjNehczpD94pdg9/6N2/jK3vf0IvhMb/fcwy/v/ovxTbjxL7bs7QB7VyvH7nzpnKkb8js5uaoPmeU3HfcYbGxtaCvxc3YvAg7bhTygjxe/wNKYHyuy5hZwLe7muU3bE7P3b1r+CE6XBe7xN3b3i4HsnXsYl+tLWzf/hjbx9y2h6x6wcklP/J4K/kDc4Cb2u1fvfntr8BGCMifcs+gVJlHGCnYDHGpRy2nn6hSPZ35hCTi/L0MzsJX2FM2s7WwjYiGHvmIAhAENP+a3q9/eBfFbwEz0OmKlH6nf0XHvkrCJ47SP32YL+P5BmythnUBzRzKFz7l4zJgNJi+oXJxVewRQBeOQYAMAhH4K7KyXtWhavIFoidBmDITQKWnW1S4vAYpHh/goxdBAAnIubqeM7xHizKSlSEA4B40QDDTg+wvMySEoejICX4BDJeIQVOWcS/Hi84jiOdTjcdo0ZmOi1ETcYQpes0Rq9W2RYjfN7YnN45prcVL2IE9EYw6jZSG51RorRp1qObCfQLY/fzT456hmvwTiuiYzBCp0ZG+IPMxXS0eAY+ZXRlJm1KE0VxosXC22/7GRcd63Se51pkk5EM4pmP0xPpGfXoIkpzSBYlnTrpMlGvvKWdTnNeLfoc7m0aaYg3m/Vv4dEPF+iVdOpfvJcBrXFaeg0Us15NH6EsWnPsDLzDkqF3Qi9Rpj37ndezWsm/FGE4c+HJizcfvsQL/X8M99wZQKxvwq57weHu51jFcGB2TuYYUT2ZC9H3mjOMzGoAAAA=") format("woff2"),url("data:font/woff;base64,d09GRgABAAAAAAl0ABAAAAAADngAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAJWAAAABwAAAAcog+nK0dERUYAAAk4AAAAHgAAAB4AKQART1MvMgAAAeAAAAA+AAAAVlakY0ZjbWFwAAACRAAAAFQAAAFSB08VJGN2dCAAAAR8AAAABAAAAAQAiQN3ZnBnbQAAApgAAAGxAAACZQ+0L6dnYXNwAAAJMAAAAAgAAAAI//8AA2dseWYAAASYAAADEwAABSB8ft+WaGVhZAAAAWwAAAA1AAAANiVXIPRoaGVhAAABpAAAABwAAAAkCFQEbWhtdHgAAAIgAAAAIgAAACIVCwSKbG9jYQAABIAAAAAYAAAAGAWqBtJtYXhwAAABwAAAACAAAAAgASUAY25hbWUAAAesAAABWgAAAtATvGKycG9zdAAACQgAAAAlAAAAOACCAHBwcmVwAAAETAAAAC4AAAAusPIrFHicY2BkYGAAYnsh1hfx/DZfGbhZGEDgvnjlQxD9WDFJgoGTgZH5O/NfIJeDgQkkCgDzwAjLAAAAeJxjYGRgYGEAghiWNBDF/J2BkQEVsAEAJ4EBzQABAAAACwBXAAIAAAAAAAIAAQAKABYAAAEAAAAAAAAAeJxjYGQRY5zAwMrAwdTJdIaBgaEfQjO+ZjBi5GBgYGJgZWbACgLSXFMYHBgMGGxZQNwYFkawMJgEAJ07B54AAAQAAAAAAAAAAVUAAARmASoEZgB5BAAACQCQAfQCTQDqAA0AAHicY2BgYGaAYBkGRgYQ8AHyGMF8FgYDIM0BhExgGUMG2///wSwDBgsQ6//l/2ehusCAkY0BzmUE6WFiQAWMDBiAmQVCs7Kxc3ByYcoPNQAAfcsJiXicXVG7TltBEN0NDwOBxNggOdoUs5mQAu+FNkggri7CyHZjOULajVzkYlzAB1AgUYP2awZoKFOkTYOQCyQ+gU+IlJk1iaI0Ozuzc86ZM0vKkap3ab3nqXMWSOFug2abfiek2kWAB9L1jUZG2sEjLTYzeuW6fb+PwWY05U4aQHnPW8pDRtNOoBbtuX8yP4PhPv/LPAeDlmaanlpnIT2EwHwzbmnwNaNZd/1BX7E6XA0GhhTTVNz1x1TK/5bmXG0ZtjYzmndwISI/mAZoaq2NQNOfOqR6Po5iCXL5bKwNJqasP8lEcGEyXdVULTO+dnCf7Cw62KRKc+ABDrBVnoKH46MJhfQtiTJLQ4SD2CoxQsQkh0JOOXeyPylQPpKEMW+S0s64Ya2BceQ1MKjN0xy+zGZT21uHMH4RR/DdL8aSDj6yoTZGhNiOWApgApGQUVW+ocZzL4sBudT+MxAlYHn67V8nAq07NhEvZW2dY4wVgp7fNt/5ZcXdqlznRaG7d1U1VOmU5kMvZ9/jEU+PheGgseDN531/o0DtDYsbDZoDwZDejd7/0Vp1xFXeCx/ZbzWzsRYAAAC4Af+FsAGNAEuwCFBYsQEBjlmxRgYrWCGwEFlLsBRSWCGwgFkdsAYrXFhZsBQrAAAAiQN3AAAAAAAAAAAAegC2ATIBbgGkAh4CWgKQeJyVk8tPE1EUxu85d+y0HelM4c4M0s4QWjpTWiihT0OhRE188tgIaowxwkITIBowJviI0Z0LjC4kxtfKmLjysdAVS1249U/QBTExLnxtKHqmWPERFTdz55zz3XPv+X65DCHFgA/wKkuzvYyBYUEI4j7XKRVsMA1T95lGLlvsh6LrxGOyQz+5omn0GKbBTU/XDxWgjA0WZMB13EKehCGKahtL1M/HN/TCrenJ4RGJh6TsNnTi+fwQfQv2Jn801t3tj7W0PEM+OTIId05MDrsxKSRtKdjxQmkIE6Rq8Vs4s+PI4vRtHBmeuiqpUk8kk00kBnOLWScRatBOytgohYSx8gJwePD448lLOOLsLlyTdL5VtDtWO5R6Hq9KZ/2MIZtjaf6Wv2Qqa2UsEXPBKZaKhgmGT/bFKc5AicaioWTwxfldy6haAg29V+ArgboerVpRXWATvhZlXXBB1dYu8kMvC5ItL5GwCZpEWfBmHZtEr768ZDDv3AA7AA/4BdbJxupep+GvZpeh2ApktqzXzabMX92Gi11wZgxGKwOcK5JbACuaSvajHe1opv4RSCR8EaHfwNFKP5w7QDo7whWeTzVHO9IVT+xdA3duHloYO4uVgdFZvpEnRcK1rb7kQtK2lGDDQR+qXNHCHwErffvnR6egYpc7TnGN5zXLpkt0OvN1ZW3uK+wMH+SH1+l3oxmuPtEwHM5ouEuDRs2oPjXCGqq4R8toYVCrT7Xms2GcJYEK4ep8bVW1DKVIRSul6FyAD9DJP+MjFvPc1oVK3WPd4BTyA9AWIzfzxVybWwuLuazJ38ny/UBAkVVZnli5HlTVIBwdl2XVyyEEgop834tondCCZlAd9wqaLHsz4hDbx9/z8///juR1v6PnHlkPrKTwVbAdfWhHUjWwHldd3IRvYNe4RlI/cN3+M1e9PWnVuFr2D1w/AfzKVbV/5lqbmb1hc/weP7ROrlMeVwL2B66oeVxP17iqVK5eXuM6Q1X1O1fWAGna9ZDFKYj/Gyz64Xeyx+pk4Yu/Tjag+ImsoaySJfFXdH/G1wB4nJWQu07DMBiFj3tDtFIHEEwdLCExAE0vY0eGZu/QmZI6aarUjhy3VSdGJN6DN0A8CA9Qicdg4zR4qsTQWM7/+fzHx5YBXGAPgb/vCg+eBdp48lzBGV48V6m/e66RvzzX0cKP5wba4sZzE/fizXMLl2LPBFE75+quTDuwQAePnivMNJ6r1F8918gfnuu4xrfnBjqi7rmJqRh6buFWfCKEgua0mMGxziHxjB3/ITLWHItSt0CotLIzp+byeSfDbJcvnKIcY82uxgYpfVt0WSPeUKNgc231JlXbbhoZzfWEloQbMh7HvROVrLPZqSEnmafl5QtaDgaJAQL0KStbpEbLQdA/MfD/FysYkGBI1TFSclqGrEjjMuzgzjgMlbzsLalE1IOj1y02ydC5WMbWrOTYaKeyzMjcmqWKHM2L8owcI/Q44qP0oLz8ijbn8lGvF/uAIDIr/AKUtYV4AAB4nGNgYoAALgbsgBuIGRmYGIQZRBikGWQYZBnkGOQZFAAJ0gDzAAAAAAAAAf//AAIAAQAAAAwAAAAWAAAAAgABAAMACgABAAQAAAACAAAAAAAAAAEAAAAA39bLMQAAAADfF3nhAAAAAOMhYhg=") format("woff"),url("data:font/ttf;base64,AAEAAAAQAQAABAAARkZUTaIPpysAAA5cAAAAHEdERUYAKQARAAAOPAAAAB5PUy8yVqRjRgAAAYgAAABWY21hcAdPFSQAAAIEAAABUmN2dCAAiQN3AAAF8AAAAARmcGdtD7QvpwAAA1gAAAJlZ2FzcP//AAMAAA40AAAACGdseWZ8ft+WAAAGDAAABSBoZWFkJVcg9AAAAQwAAAA2aGhlYQhUBG0AAAFEAAAAJGhtdHgVCwSKAAAB4AAAACJsb2NhBaoG0gAABfQAAAAYbWF4cAElAGMAAAFoAAAAIG5hbWUTvGKyAAALLAAAAtBwb3N0AIIAcAAADfwAAAA4cHJlcLDyKxQAAAXAAAAALgABAAAAAQAAPxIF6F8PPPUACwQAAAAAAN8XeeEAAAAA4yFiGAAJAAED9wP9AAAACAACAAAAAAAAAAEAAAQAAAAAXARmAAAAAAP3AAEAAAAAAAAAAAAAAAAAAAAGAAEAAAALAFcAAgAAAAAAAgABAAoAFgAAAQAAAAAAAAAAAQQWAZAABQAIAokCzAAAAI8CiQLMAAAB6wAyAQgAAAIABQMAAAAAAAAAAAAAAAAAAAAAAAAAAAAAUGZFZABAADAAPQQAAAAAXAQBAAAAAAABAAAAAAAABAAAAAAAAAABVQAABGYBKgRmAHkEAAAJAJAB9AJNAOoADQAAAAAAAwAAAAMAAAAcAAEAAAAAAEwAAwABAAAAHAAEADAAAAAIAAgAAgAAAAAAMQA9//8AAAAAADAAOP//AAD/0//NAAEAAAAAAAAAAAAAAQYAAAEAAAAAAAAAAQIAAAACAAAAAAAAAAAAAAAAAAAAAQAAAAAAAAAAAAAAAAAAAAAAAAMEAAAAAAAABQYHCAkKAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAALAALLAAE0uwKlBYsEp2WbAAIz8YsAYrWD1ZS7AqUFh9WSDUsAETLhgtsAEsINqwDCstsAIsS1JYRSNZIS2wAyxpGCCwQFBYIbBAWS2wBCywBitYISMheljdG81ZG0tSWFj9G+1ZGyMhsAUrWLBGdllY3RvNWVlZGC2wBSwNXFotsAYssSIBiFBYsCCIXFwbsABZLbAHLLEkAYhQWLBAiFxcG7AAWS2wCCwSESA5Ly2wCSwgfbAGK1jEG81ZILADJUkjILAEJkqwAFBYimWKYSCwAFBYOBshIVkbiophILAAUlg4GyEhWVkYLbAKLLAGK1ghEBsQIVktsAssINKwDCstsAwsIC+wBytcWCAgRyNGYWogWCBkYjgbISFZGyFZLbANLBIRICA5LyCKIEeKRmEjiiCKI0qwAFBYI7AAUliwQDgbIVkbI7AAUFiwQGU4GyFZWS2wDiywBitYPdYYISEbINaKS1JYIIojSSCwAFVYOBshIVkbISFZWS2wDywjINYgL7AHK1xYIyBYS1MbIbABWViKsAQmSSOKIyCKSYojYTgbISEhIVkbISEhISFZLbAQLCDasBIrLbARLCDSsBIrLbASLCAvsAcrXFggIEcjRmFqiiBHI0YjYWpgIFggZGI4GyEhWRshIVktsBMsIIogiocgsAMlSmQjigewIFBYPBvAWS2wFCyzAEABQEJCAUu4EABjAEu4EABjIIogilVYIIogilJYI2IgsAAjQhtiILABI0JZILBAUliyACAAQ2NCsgEgAUNjQrAgY7AZZRwhWRshIVktsBUssAFDYyOwAENjIy0AAAC4Af+FsAGNAEuwCFBYsQEBjlmxRgYrWCGwEFlLsBRSWCGwgFkdsAYrXFhZsBQrAAAAiQN3AAAAAAAAAAAAegC2ATIBbgGkAh4CWgKQAAIBKgABAz8D/QArAFQAAAEWHQEOASMGJyY3NR4BFxYXFQYXFjMyNj0BNicmIyIHJj0BNjM2FxYxFhcWAxcjBicmPQE+ATM2Fx4BHQEuAScmJzU0JyYjDgEdAQYXFjMyNxYdAQYDBToBnG1rTk8EAw4EMkMCJiM0NE0CJiM1HhkIHCIvLwgiGhrFAgNrT0wBnnBrTiciBA4EQTUeIzU3TQIlIzUeGggdAnJHYb1tnQJPTmyRBA8EMRsuMiUlTDO9MiYlDg0QdAcCEgQOFBb+ygECTkxvsmuJAk8mSjWVBBUDQhQkJh0kATcxsjImJQ4NEHMIAAACAHkAKwPtA9MADwAfAAAlIicBJjY3NhYXARYGBwYjJSInLgE3AT4BFx4BBwEGIwOkHRb9HRQCFhU6FALjFAIVFRz9HRwVFAITAuQUOxUUAxT9HRQfLRYDFxU7FBQCFvzoFToUEwETFDsUAxgVAhMUOhX86BYAAAACAAkAWQGvA4EALABWAAABFh0BDgErAQYnJjc1HgEXFhcVBhcWMzI2PQE2JyYjIgcmPQE2OwE2HwEWFxYHFSMGJyY9AT4BOwE2Fx4BHQEuAScmJzU0JyYjDgEdAQYXFjMyNxYdAQYBgi0Be1YBVT4/AwMLBCc1AR0cKig9Ah4cKRgVBhcbASUlBhsUFZoCVT49AX1ZAVU+HhsDCwM0KhgcKSs+AR0cKhcVBhcCSDhNllZ8Aj4/VXMDDAMoFCUnHh08KJYoHh0LCg1bBgIPAwsQEfUBAj48WI1VbAE+HjspdgMQAzQQHR4WHQEsJo0oHh0LCg1bBgAAAAIAkAB7A0wDXwAPAB8AACUiJwEmNjc2FhcBFgYHBiMlIicuATcBPgEXHgEHAQYjAxIXEf22EAIRES4QAkkQARIQFv23FhEQAg8CSxAuEBEBD/23EBh8EQJzES4QDwER/Y0RLhAPAQ8QLhECcxACDxAuEf2NEQAAAAEB9AEsA/cCsQAiAAABFhUUDwEGIyIvASY1ND8BISImPQE0NjMhJyY1ND8BNjMyFwPvBwepCQkLBw8HB2P+mAoPDwoBZ2IHBw8JCQsHAgEJCgsHqQcHDwkKCwdjEAoXCg9iCQkLBxAHBwAAAAICTQBXA/MDfwArAFQAAAEWHQEOASMGJyY3NR4BFxYXFQYXFjMyNj0BNicmIyIHJj0BNjM2FxYxFhcWBxcjBicmPQE+ATM2Fx4BHQEuAScmJzU0JyYjDgEdAQYXFjMyNxYdAQYDxi0Be1ZVPj8DBAsDJzUBHRwqKTwCHhsqGBUGFxslJQYbFRSbAQJVPj0BfVlVPh4bAwsDNCoYGyorPgEdHCoXFQYXAkY4TZZWfAI+P1VzAwwDKBUkKB0dPCiWKB0eCwoNWwYCDwMLEBH2AQE+PFiNVWwBPh47KXYDEAM0Dx4eFh0BLCaNKB4dCwoNWwcAAAACAOoAeQOmA10ADwAfAAAlIicBJjY3NhYXARYGBwYjJSInLgE3AT4BFx4BBwEGIwNsFxH9tg8BEREuEAJJEAESEBb9txYREAIPAksQLhARAhD9txAYehECcxEuDxABEv2OES4QDwEPEC4RAnIRAhAPLhH9jREAAAABAA0BKwIPArAAIwAAASMWFRQPAQYjIi8BJjU0PwEhIiY9ATQ2MyEnJjU0PwE2MzIXAggBBwepCQkLBw8HB2P+mAoPDwoBaGIHBw8JCQsHAf8ICgsHqQcHDwkJCwhjEAoWCw9iCQkLBw8HBwAAABIA3gABAAAAAAAAABUALAABAAAAAAABAA4AYAABAAAAAAACAAcAfwABAAAAAAADAA4ApQABAAAAAAAEAA4A0gABAAAAAAAFAAsA+QABAAAAAAAGAA4BIwABAAAAAAAKACsBigABAAAAAAALABMB3gADAAEECQAAACoAAAADAAEECQABABwAQgADAAEECQACAA4AbwADAAEECQADABwAhwADAAEECQAEABwAtAADAAEECQAFABYA4QADAAEECQAGABwBBQADAAEECQAKAFYBMgADAAEECQALACYBtgBHAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAEcAbAB5AHAAaAB0AGUAcgAAR2VuZXJhdGVkIGJ5IEdseXBodGVyAABmAHUAcgBuAHYAaQBlAHcALQBpAGMAbwBuAHMAAGZ1cm52aWV3LWljb25zAABSAGUAZwB1AGwAYQByAABSZWd1bGFyAABmAHUAcgBuAHYAaQBlAHcALQBpAGMAbwBuAHMAAGZ1cm52aWV3LWljb25zAABmAHUAcgBuAHYAaQBlAHcALQBpAGMAbwBuAHMAAGZ1cm52aWV3LWljb25zAABWAGUAcgBzAGkAbwBuACAAMQAuADAAAFZlcnNpb24gMS4wAABmAHUAcgBuAHYAaQBlAHcALQBpAGMAbwBuAHMAAGZ1cm52aWV3LWljb25zAABHAGUAbgBlAHIAYQB0AGUAZAAgAGIAeQAgAHMAdgBnADIAdAB0AGYAIABmAHIAbwBtACAARgBvAG4AdABlAGwAbABvACAAcAByAG8AagBlAGMAdAAuAABHZW5lcmF0ZWQgYnkgc3ZnMnR0ZiBmcm9tIEZvbnRlbGxvIHByb2plY3QuAABoAHQAdABwADoALwAvAGYAbwBuAHQAZQBsAGwAbwAuAGMAbwBtAABodHRwOi8vZm9udGVsbG8uY29tAAACAAAAAAAAAAoAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAsAAAABAAIAEwAUABsAHAAdAB4AHwAgAAAAAf//AAIAAQAAAAwAAAAWAAAAAgABAAMACgABAAQAAAACAAAAAAAAAAEAAAAA39bLMQAAAADfF3nhAAAAAOMhYhg=") format("ttf")}',nk='@charset "UTF-8";[class*=fv-icon]{font-size:var(--fv-icons-font-size,initital);line-height:var(--fv-icons-line-height,var(--fv-icons-font-size,initital));text-align:center}[class*=fv-icon]:before{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;align-items:center;display:flex;font-family:furnview-icons-simple;font-style:normal;font-weight:400;height:100%;justify-content:center;line-height:inherit;text-align:center;text-rendering:auto}.mirrored-x:before{transform:scaleX(-1)}.mirrored-y:before{transform:scaleY(-1)}.fv-icon-start:before{content:"0"/""}.fv-icon-enter:before{content:"1"/""}.fv-icon-inspirations:before{content:"2"/""}.fv-icon-progimages:before{content:"3"/""}.fv-icon-dropdown-arrow:before{content:"4"/""}.fv-icon-download:before{content:"5"/""}.fv-icon-upload:before{content:"6"/""}.fv-icon-circle:before{content:"7"/""}.fv-icon-dimchange:before{content:"A"/""}.fv-icon-doorchange:before{content:"B"/""}.fv-icon-delete:before{content:"C"/""}.fv-icon-augmented-reality:before{content:"D"/""}.fv-icon-clothes:before{content:"E"/""}.fv-icon-measure:before{content:"F"/""}.fv-icon-onoff:before{content:"G"/""}.fv-icon-play:before{content:"H"/""}.fv-icon-screenshot:before{content:"I"/""}.fv-icon-fa-camera-retro:before{content:"J"/""}.fv-icon-fa-camera:before{content:"K"/""}.fv-icon-fa-play:before{content:"L"/""}.fv-icon-fa-zoom-out:before{content:"M"/""}.fv-icon-fa-zoom-in:before{content:"N"/""}.fv-icon-fa-undo:before{content:"O"/""}.fv-icon-arrow-right-up-pointing:before{content:"P"/""}.fv-icon-arrow-left-down-pointing:before{content:"Q"/""}.fv-icon-arrow-down-2:before{content:"R"/""}.fv-icon-eye:before{content:"S"/""}.fv-icon-undo:before{content:"T"/""}.fv-icon-save:before{content:"U"/""}.fv-icon-shopping-cart-1:before{content:"V"/""}.fv-icon-shopping-cart-2:before{content:"W"/""}.fv-icon-share:before{content:"X"/""}.fv-icon-pdf:before{content:"Y"/""}.fv-icon-eye-2:before{content:"Z"/""}.fv-icon-eye-closed:before{content:"["/""}.fv-icon-folder:before{content:"\\\\"/""}.fv-icon-arrow:before{content:"]"/""}.fv-icon-room:before{content:"^"/""}.fv-icon-analysis:before{content:"_"/""}.fv-icon-switch:before{content:"`"/""}.fv-icon-bigtiles:before{content:"a"/""}.fv-icon-cloud:before{content:"b"/""}.fv-icon-colors:before{content:"c"/""}.fv-icon-decoration:before{content:"d"/""}.fv-icon-decouple:before{content:"e"/""}.fv-icon-filter:before{content:"f"/""}.fv-icon-finish:before{content:"g"/""}.fv-icon-fitting:before{content:"h"/""}.fv-icon-floor:before{content:"i"/""}.fv-icon-hr:before{content:"j"/""}.fv-icon-load:before{content:"k"/""}.fv-icon-logout:before{content:"l"/""}.fv-icon-magnet:before{content:"m"/""}.fv-icon-maximize:before{content:"n"/""}.fv-icon-minus:before{content:"o"/""}.fv-icon-move3d:before{content:"p"/""}.fv-icon-new:before{content:"q"/""}.fv-icon-panswitch:before{content:"r"/""}.fv-icon-pfeile:before{content:"s"/""}.fv-icon-pickmode:before{content:"t"/""}.fv-icon-zoomin:before{content:"v"/""}.fv-icon-print:before{content:"w"/""}.fv-icon-projectmanager:before{content:"x"/""}.fv-icon-redo:before{content:"y"/""}.fv-icon-reload:before{content:"z"/""}.fv-icon-rotate3d:before{content:"{"/""}.fv-icon-settings:before{content:"|"/""}.fv-icon-showroom:before{content:"}"/""}.fv-icon-tiles:before{content:"~"/""}.fv-icon-treeupremove:before{content:"©"/""}.fv-icon-wall:before{content:"¬"/""}.fv-icon-rewind:before{content:"®"/""}.fv-icon-plus:before{content:"¯"/""}.fv-icon-arrow-down:before{content:"°"/""}.fv-icon-arrow-up-down:before{content:"±"/""}.fv-icon-letter:before{content:"²"/""}.fv-icon-moebelpilot:before{content:"³"/""}.fv-icon-iwofurn:before{content:"´"/""}.fv-icon-wawi:before{content:"µ"/""}.fv-icon-paragraph:before{content:"¶"/""}.fv-icon-language:before{content:"·"/""}.fv-icon-letter-filled:before{content:"¸"/""}.fv-icon-arrow-left:before{content:"¹"/""}.fv-icon-toggle:before{content:"º"/""}.fv-icon-youtube:before{content:"»"/""}.fv-icon-CFT-1:before{content:"¼"/""}.fv-icon-CFT-1-FR:before{content:"½"/""}.fv-icon-CFT-1-FS:before{content:"¾"/""}.fv-icon-CFT-2:before{content:"¿"/""}.fv-icon-CFT-2-BS:before{content:"À"/""}.fv-icon-CFT-5-L:before{content:"�"/""}.fv-icon-CFT-5-R:before{content:"Â"/""}.fv-icon-CFT-6:before{content:"Ã"/""}.fv-icon-CFT-7:before{content:"Ä"/""}.fv-icon-CFT-8:before{content:"Å"/""}.fv-icon-CFT-6-L:before{content:"Æ"/""}.fv-icon-CFT-6-R:before{content:"Ç"/""}.fv-icon-planning-type-free:before{content:"È"/""}.fv-icon-planning-type-corner:before{content:"É"/""}.fv-icon-planning-type-straight:before{content:"Ê"/""}.fv-icon-note-add:before{content:"Ë"/""}.fv-icon-change:before{content:"Ì"/""}.fv-icon-content-copy:before{content:"�"/""}.fv-icon-cloud-download:before{content:"Î"/""}.fv-icon-planning-type-u:before{content:"�"/""}.fv-icon-planning-type-m:before{content:"�"/""}.fv-icon-planning-type-t:before{content:"Ñ"/""}.fv-icon-planning-type-corner-mirrored:before{content:"Ò"/""}.fv-icon-camera-settings:before{content:"Ó"/""}.fv-icon-delete-fitting-all:before{content:"Ô"/""}.fv-icon-delete-fitting-one:before{content:"Õ"/""}.fv-icon-error:before{content:"Ö"/""}.fv-icon-furnray:before{content:"×"/""}.fv-icon-more-horiz:before{content:"Ø"/""}.fv-icon-question-mark:before{content:"Ù"/""}.fv-icon-reset-all:before{content:"Ú"/""}.fv-icon-reset-one:before{content:"Û"/""}.fv-icon-rotate:before{content:"Ü"/""}.fv-icon-door-hinge-left:before{content:"�"/""}.fv-icon-door-hinge-right:before{content:"Þ"/""}.fv-icon-fa-camera-right-top:before{content:"ß"/""}.fv-icon-fa-camera-front:before{content:"à"/""}.fv-icon-fa-camera-top:before{content:"á"/""}.fv-icon-fa-2d-top:before{content:"â"/""}.fv-icon-fa-2d-front:before{content:"ã"/""}.fv-icon-check:before{content:"ä"/""}.fv-icon-close:before{content:"å"/""}.fv-icon-check-circle:before{content:"ç"/""}.fv-icon-tools:before{content:"è"/""}.fv-icon-arrange:before{content:"é"/""}.fv-icon-appliances:before{content:"ê"/""}.fv-icon-swap-horizontal:before{content:"ë"/""}.fv-icon-swap-horizontal-circle:before{content:"ì"/""}.fv-icon-add-box:before{content:"í"/""}.fv-icon-plus-circle:before{content:"î"/""}',ik='@charset "UTF-8";[class*=fv-icon-multi]{font-size:var(--fv-icons-font-size,initital);line-height:var(--fv-icons-line-height,var(--fv-icons-font-size,initital));text-align:center}[class*=fv-icon-multi]:after,[class*=fv-icon-multi]:before{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;align-items:center;display:flex;font-family:furnview-icons-multi;font-style:normal;font-weight:400;height:100%;justify-content:center;line-height:0;text-align:center;text-rendering:auto}.mirrored-x:before{transform:scaleX(-1)}.mirrored-y:before{transform:scaleY(-1)}.fv-icon-multi-letter-filled:before{content:"“"}.fv-icon-multi-arrow-left:before{content:"”"}.fv-icon-multi-chain-bold:before{content:"0"}.fv-icon-multi-no-chain-bold{display:flex}.fv-icon-multi-no-chain-bold:before{content:"0";letter-spacing:-2em}.fv-icon-multi-no-chain-bold:after{content:"1"}.fv-icon-multi-chain-arrow-left-bold{display:flex}.fv-icon-multi-chain-arrow-left-bold:before{content:";";letter-spacing:-2em}.fv-icon-multi-chain-arrow-left-bold:after{content:"="}.fv-icon-multi-no-chain-arrow-left-bold{display:flex;justify-content:center;position:relative!important}.fv-icon-multi-no-chain-arrow-left-bold:before{-webkit-text-fill-color:transparent;background:linear-gradient(to right,var(--fv-icons-multicolor-icon-left-color,var(--primary-text-color,red)) 54%,var(--fv-icons-multicolor-icon-right-color,var(--primary-font-color,blue)) 46%);-webkit-background-clip:text;content:"=\\a;";max-width:min-content;min-height:var(--fv-icons-multicolor-min-height,1em);min-width:var(--fv-icons-multicolor-min-width,2em)}.fv-icon-multi-no-chain-arrow-left-bold:after{content:"<";position:absolute!important}.fv-icon-multi-chain-arrow-right-bold{display:flex}.fv-icon-multi-chain-arrow-right-bold:before{content:"8";letter-spacing:-2em}.fv-icon-multi-chain-arrow-right-bold:after{content:":"}.fv-icon-multi-no-chain-arrow-right-bold{display:flex;justify-content:center;position:relative!important}.fv-icon-multi-no-chain-arrow-right-bold:before{-webkit-text-fill-color:transparent;background:linear-gradient(to right,var(--fv-icons-multicolor-icon-left-color,var(--primary-text-color,red)) 54%,var(--fv-icons-multicolor-icon-right-color,var(--primary-font-color,blue)) 46%);-webkit-background-clip:text;content:":\\a 8";max-width:min-content;min-height:var(--fv-icons-multicolor-min-height,1em);min-width:var(--fv-icons-multicolor-min-width,2em)}.fv-icon-multi-no-chain-arrow-right-bold:after{content:"9";position:absolute!important}';function ok(e,t){null===document.head.querySelectorAll(`#${e}`)||document.head.appendChild(Object.assign(document.createElement("style"),{id:e,innerText:t}))}
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+const sk=e=>t=>"function"==typeof t?((e,t)=>(customElements.define(e,t),t))(e,t):((e,t)=>{const{kind:r,elements:n}=t;return{kind:r,elements:n,finisher(t){customElements.define(e,t)}}})(e,t),ak=(e,t)=>"method"===t.kind&&t.descriptor&&!("value"in t.descriptor)?{...t,finisher(r){r.createProperty(t.key,e)}}:{kind:"field",key:Symbol(),placement:"own",descriptor:{},originalKey:t.key,initializer(){"function"==typeof t.initializer&&(this[t.key]=t.initializer.call(this))},finisher(r){r.createProperty(t.key,e)}};
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ * SPDX-License-Identifier: BSD-3-Clause
+ */function lk(e){return(t,r)=>void 0!==r?((e,t,r)=>{t.constructor.createProperty(r,e)})(e,t,r):ak(e,t)}
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ * SPDX-License-Identifier: BSD-3-Clause
+ */function ck(e){return lk({...e,state:!0})}
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ * SPDX-License-Identifier: BSD-3-Clause
+ */const uk=({finisher:e,descriptor:t})=>(r,n)=>{var i;if(void 0===n){const n=null!==(i=r.originalKey)&&void 0!==i?i:r.key,o=null!=t?{kind:"method",placement:"prototype",key:n,descriptor:t(r.key)}:{...r,key:n};return null!=e&&(o.finisher=function(t){e(t,n)}),o}{const i=r.constructor;void 0!==t&&Object.defineProperty(r,n,t(n)),null==e||e(i,n)}};
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ * SPDX-License-Identifier: BSD-3-Clause
+ */function dk(e,t){return uk({descriptor:r=>{const n={get(){var t,r;return null!==(r=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(e))&&void 0!==r?r:null},enumerable:!0,configurable:!0};if(t){const t="symbol"==typeof r?Symbol():"__"+r;n.get=function(){var r,n;return void 0===this[t]&&(this[t]=null!==(n=null===(r=this.renderRoot)||void 0===r?void 0:r.querySelector(e))&&void 0!==n?n:null),this[t]}}return n}})}
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ * SPDX-License-Identifier: BSD-3-Clause
+ */function hk(e){return uk({descriptor:t=>({get(){var t,r;return null!==(r=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelectorAll(e))&&void 0!==r?r:[]},enumerable:!0,configurable:!0})})}
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ * SPDX-License-Identifier: BSD-3-Clause
+ */function pk(e){return uk({descriptor:t=>({async get(){var t;return await this.updateComplete,null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(e)},enumerable:!0,configurable:!0})})}
+/**
+ * @license
+ * Copyright 2021 Google LLC
+ * SPDX-License-Identifier: BSD-3-Clause
+ */var mk;null===(mk=window.HTMLSlotElement)||void 0===mk||mk.prototype.assignedElements;
+/**
+ * @license
+ * Copyright 2019 Google LLC
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+const _k=window,gk=_k.ShadowRoot&&(void 0===_k.ShadyCSS||_k.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,fk=Symbol(),vk=new WeakMap;class bk{constructor(e,t,r){if(this._$cssResult$=!0,r!==fk)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o;const t=this.t;if(gk&&void 0===e){const r=void 0!==t&&1===t.length;r&&(e=vk.get(t)),void 0===e&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),r&&vk.set(t,e))}return e}toString(){return this.cssText}}const yk=e=>new bk("string"==typeof e?e:e+"",void 0,fk),$k=(e,...t)=>{const r=1===e.length?e[0]:t.reduce((t,r,n)=>t+(e=>{if(!0===e._$cssResult$)return e.cssText;if("number"==typeof e)return e;throw Error("Value passed to 'css' function must be a 'css' function result: "+e+". Use 'unsafeCSS' to pass non-literal values, but take care to ensure page security.")})(r)+e[n+1],e[0]);return new bk(r,e,fk)},xk=gk?e=>e:e=>e instanceof CSSStyleSheet?(e=>{let t="";for(const r of e.cssRules)t+=r.cssText;return yk(t)})(e):e;
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ * SPDX-License-Identifier: BSD-3-Clause
+ */var Sk;const wk=window,Ak=wk.trustedTypes,Ck=Ak?Ak.emptyScript:"",Ek=wk.reactiveElementPolyfillSupport,Ik={toAttribute(e,t){switch(t){case Boolean:e=e?Ck:null;break;case Object:case Array:e=null==e?e:JSON.stringify(e)}return e},fromAttribute(e,t){let r=e;switch(t){case Boolean:r=null!==e;break;case Number:r=null===e?null:Number(e);break;case Object:case Array:try{r=JSON.parse(e)}catch(e){r=null}}return r}},Mk=(e,t)=>t!==e&&(t==t||e==e),kk={attribute:!0,type:String,converter:Ik,reflect:!1,hasChanged:Mk},Tk="finalized";class Rk extends HTMLElement{constructor(){super(),this._$Ei=new Map,this.isUpdatePending=!1,this.hasUpdated=!1,this._$El=null,this._$Eu()}static addInitializer(e){var t;this.finalize(),(null!==(t=this.h)&&void 0!==t?t:this.h=[]).push(e)}static get observedAttributes(){this.finalize();const e=[];return this.elementProperties.forEach((t,r)=>{const n=this._$Ep(r,t);void 0!==n&&(this._$Ev.set(n,r),e.push(n))}),e}static createProperty(e,t=kk){if(t.state&&(t.attribute=!1),this.finalize(),this.elementProperties.set(e,t),!t.noAccessor&&!this.prototype.hasOwnProperty(e)){const r="symbol"==typeof e?Symbol():"__"+e,n=this.getPropertyDescriptor(e,r,t);void 0!==n&&Object.defineProperty(this.prototype,e,n)}}static getPropertyDescriptor(e,t,r){return{get(){return this[t]},set(n){const i=this[e];this[t]=n,this.requestUpdate(e,i,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)||kk}static finalize(){if(this.hasOwnProperty(Tk))return!1;this[Tk]=!0;const e=Object.getPrototypeOf(this);if(e.finalize(),void 0!==e.h&&(this.h=[...e.h]),this.elementProperties=new Map(e.elementProperties),this._$Ev=new Map,this.hasOwnProperty("properties")){const e=this.properties,t=[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)];for(const r of t)this.createProperty(r,e[r])}return this.elementStyles=this.finalizeStyles(this.styles),!0}static finalizeStyles(e){const t=[];if(Array.isArray(e)){const r=new Set(e.flat(1/0).reverse());for(const e of r)t.unshift(xk(e))}else void 0!==e&&t.push(xk(e));return t}static _$Ep(e,t){const r=t.attribute;return!1===r?void 0:"string"==typeof r?r:"string"==typeof e?e.toLowerCase():void 0}_$Eu(){var e;this._$E_=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$Eg(),this.requestUpdate(),null===(e=this.constructor.h)||void 0===e||e.forEach(e=>e(this))}addController(e){var t,r;(null!==(t=this._$ES)&&void 0!==t?t:this._$ES=[]).push(e),void 0!==this.renderRoot&&this.isConnected&&(null===(r=e.hostConnected)||void 0===r||r.call(e))}removeController(e){var t;null===(t=this._$ES)||void 0===t||t.splice(this._$ES.indexOf(e)>>>0,1)}_$Eg(){this.constructor.elementProperties.forEach((e,t)=>{this.hasOwnProperty(t)&&(this._$Ei.set(t,this[t]),delete this[t])})}createRenderRoot(){var e;const t=null!==(e=this.shadowRoot)&&void 0!==e?e:this.attachShadow(this.constructor.shadowRootOptions);return((e,t)=>{gk?e.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet):t.forEach(t=>{const r=document.createElement("style"),n=_k.litNonce;void 0!==n&&r.setAttribute("nonce",n),r.textContent=t.cssText,e.appendChild(r)})})(t,this.constructor.elementStyles),t}connectedCallback(){var e;void 0===this.renderRoot&&(this.renderRoot=this.createRenderRoot()),this.enableUpdating(!0),null===(e=this._$ES)||void 0===e||e.forEach(e=>{var t;return null===(t=e.hostConnected)||void 0===t?void 0:t.call(e)})}enableUpdating(e){}disconnectedCallback(){var e;null===(e=this._$ES)||void 0===e||e.forEach(e=>{var t;return null===(t=e.hostDisconnected)||void 0===t?void 0:t.call(e)})}attributeChangedCallback(e,t,r){this._$AK(e,r)}_$EO(e,t,r=kk){var n;const i=this.constructor._$Ep(e,r);if(void 0!==i&&!0===r.reflect){const o=(void 0!==(null===(n=r.converter)||void 0===n?void 0:n.toAttribute)?r.converter:Ik).toAttribute(t,r.type);this._$El=e,null==o?this.removeAttribute(i):this.setAttribute(i,o),this._$El=null}}_$AK(e,t){var r;const n=this.constructor,i=n._$Ev.get(e);if(void 0!==i&&this._$El!==i){const e=n.getPropertyOptions(i),o="function"==typeof e.converter?{fromAttribute:e.converter}:void 0!==(null===(r=e.converter)||void 0===r?void 0:r.fromAttribute)?e.converter:Ik;this._$El=i,this[i]=o.fromAttribute(t,e.type),this._$El=null}}requestUpdate(e,t,r){let n=!0;void 0!==e&&(((r=r||this.constructor.getPropertyOptions(e)).hasChanged||Mk)(this[e],t)?(this._$AL.has(e)||this._$AL.set(e,t),!0===r.reflect&&this._$El!==e&&(void 0===this._$EC&&(this._$EC=new Map),this._$EC.set(e,r))):n=!1),!this.isUpdatePending&&n&&(this._$E_=this._$Ej())}async _$Ej(){this.isUpdatePending=!0;try{await this._$E_}catch(e){Promise.reject(e)}const e=this.scheduleUpdate();return null!=e&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){var e;if(!this.isUpdatePending)return;this.hasUpdated,this._$Ei&&(this._$Ei.forEach((e,t)=>this[t]=e),this._$Ei=void 0);let t=!1;const r=this._$AL;try{t=this.shouldUpdate(r),t?(this.willUpdate(r),null===(e=this._$ES)||void 0===e||e.forEach(e=>{var t;return null===(t=e.hostUpdate)||void 0===t?void 0:t.call(e)}),this.update(r)):this._$Ek()}catch(e){throw t=!1,this._$Ek(),e}t&&this._$AE(r)}willUpdate(e){}_$AE(e){var t;null===(t=this._$ES)||void 0===t||t.forEach(e=>{var t;return null===(t=e.hostUpdated)||void 0===t?void 0:t.call(e)}),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$Ek(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$E_}shouldUpdate(e){return!0}update(e){void 0!==this._$EC&&(this._$EC.forEach((e,t)=>this._$EO(t,this[t],e)),this._$EC=void 0),this._$Ek()}updated(e){}firstUpdated(e){}}
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+var Lk;Rk[Tk]=!0,Rk.elementProperties=new Map,Rk.elementStyles=[],Rk.shadowRootOptions={mode:"open"},null==Ek||Ek({ReactiveElement:Rk}),(null!==(Sk=wk.reactiveElementVersions)&&void 0!==Sk?Sk:wk.reactiveElementVersions=[]).push("1.6.3");const Pk=window,Dk=Pk.trustedTypes,Nk=Dk?Dk.createPolicy("lit-html",{createHTML:e=>e}):void 0,Fk="$lit$",Ok=`lit$${(Math.random()+"").slice(9)}$`,Bk="?"+Ok,Uk=`<${Bk}>`,Vk=document,zk=()=>Vk.createComment(""),Hk=e=>null===e||"object"!=typeof e&&"function"!=typeof e,Gk=Array.isArray,jk="[ \t\n\f\r]",Jk=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,Wk=/-->/g,Qk=/>/g,qk=RegExp(`>|${jk}(?:([^\\s"'>=/]+)(${jk}*=${jk}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),Yk=/'/g,Xk=/"/g,Kk=/^(?:script|style|textarea|title)$/i,Zk=(e=>(t,...r)=>({_$litType$:e,strings:t,values:r}))(1),eT=Symbol.for("lit-noChange"),tT=Symbol.for("lit-nothing"),rT=new WeakMap,nT=Vk.createTreeWalker(Vk,129,null,!1);function iT(e,t){if(!Array.isArray(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==Nk?Nk.createHTML(t):t}class oT{constructor({strings:e,_$litType$:t},r){let n;this.parts=[];let i=0,o=0;const s=e.length-1,a=this.parts,[l,c]=((e,t)=>{const r=e.length-1,n=[];let i,o=2===t?"<svg>":"",s=Jk;for(let t=0;t<r;t++){const r=e[t];let a,l,c=-1,u=0;for(;u<r.length&&(s.lastIndex=u,l=s.exec(r),null!==l);)u=s.lastIndex,s===Jk?"!--"===l[1]?s=Wk:void 0!==l[1]?s=Qk:void 0!==l[2]?(Kk.test(l[2])&&(i=RegExp("</"+l[2],"g")),s=qk):void 0!==l[3]&&(s=qk):s===qk?">"===l[0]?(s=null!=i?i:Jk,c=-1):void 0===l[1]?c=-2:(c=s.lastIndex-l[2].length,a=l[1],s=void 0===l[3]?qk:'"'===l[3]?Xk:Yk):s===Xk||s===Yk?s=qk:s===Wk||s===Qk?s=Jk:(s=qk,i=void 0);const d=s===qk&&e[t+1].startsWith("/>")?" ":"";o+=s===Jk?r+Uk:c>=0?(n.push(a),r.slice(0,c)+Fk+r.slice(c)+Ok+d):r+Ok+(-2===c?(n.push(void 0),t):d)}return[iT(e,o+(e[r]||"<?>")+(2===t?"</svg>":"")),n]})(e,t);if(this.el=oT.createElement(l,r),nT.currentNode=this.el.content,2===t){const e=this.el.content,t=e.firstChild;t.remove(),e.append(...t.childNodes)}for(;null!==(n=nT.nextNode())&&a.length<s;){if(1===n.nodeType){if(n.hasAttributes()){const e=[];for(const t of n.getAttributeNames())if(t.endsWith(Fk)||t.startsWith(Ok)){const r=c[o++];if(e.push(t),void 0!==r){const e=n.getAttribute(r.toLowerCase()+Fk).split(Ok),t=/([.?@])?(.*)/.exec(r);a.push({type:1,index:i,name:t[2],strings:e,ctor:"."===t[1]?uT:"?"===t[1]?hT:"@"===t[1]?pT:cT})}else a.push({type:6,index:i})}for(const t of e)n.removeAttribute(t)}if(Kk.test(n.tagName)){const e=n.textContent.split(Ok),t=e.length-1;if(t>0){n.textContent=Dk?Dk.emptyScript:"";for(let r=0;r<t;r++)n.append(e[r],zk()),nT.nextNode(),a.push({type:2,index:++i});n.append(e[t],zk())}}}else if(8===n.nodeType)if(n.data===Bk)a.push({type:2,index:i});else{let e=-1;for(;-1!==(e=n.data.indexOf(Ok,e+1));)a.push({type:7,index:i}),e+=Ok.length-1}i++}}static createElement(e,t){const r=Vk.createElement("template");return r.innerHTML=e,r}}function sT(e,t,r=e,n){var i,o,s,a;if(t===eT)return t;let l=void 0!==n?null===(i=r._$Co)||void 0===i?void 0:i[n]:r._$Cl;const c=Hk(t)?void 0:t._$litDirective$;return(null==l?void 0:l.constructor)!==c&&(null===(o=null==l?void 0:l._$AO)||void 0===o||o.call(l,!1),void 0===c?l=void 0:(l=new c(e),l._$AT(e,r,n)),void 0!==n?(null!==(s=(a=r)._$Co)&&void 0!==s?s:a._$Co=[])[n]=l:r._$Cl=l),void 0!==l&&(t=sT(e,l._$AS(e,t.values),l,n)),t}class aT{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){var t;const{el:{content:r},parts:n}=this._$AD,i=(null!==(t=null==e?void 0:e.creationScope)&&void 0!==t?t:Vk).importNode(r,!0);nT.currentNode=i;let o=nT.nextNode(),s=0,a=0,l=n[0];for(;void 0!==l;){if(s===l.index){let t;2===l.type?t=new lT(o,o.nextSibling,this,e):1===l.type?t=new l.ctor(o,l.name,l.strings,this,e):6===l.type&&(t=new mT(o,this,e)),this._$AV.push(t),l=n[++a]}s!==(null==l?void 0:l.index)&&(o=nT.nextNode(),s++)}return nT.currentNode=Vk,i}v(e){let t=0;for(const r of this._$AV)void 0!==r&&(void 0!==r.strings?(r._$AI(e,r,t),t+=r.strings.length-2):r._$AI(e[t])),t++}}class lT{constructor(e,t,r,n){var i;this.type=2,this._$AH=tT,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=r,this.options=n,this._$Cp=null===(i=null==n?void 0:n.isConnected)||void 0===i||i}get _$AU(){var e,t;return null!==(t=null===(e=this._$AM)||void 0===e?void 0:e._$AU)&&void 0!==t?t:this._$Cp}get parentNode(){let e=this._$AA.parentNode;const t=this._$AM;return void 0!==t&&11===(null==e?void 0:e.nodeType)&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=sT(this,e,t),Hk(e)?e===tT||null==e||""===e?(this._$AH!==tT&&this._$AR(),this._$AH=tT):e!==this._$AH&&e!==eT&&this._(e):void 0!==e._$litType$?this.g(e):void 0!==e.nodeType?this.$(e):(e=>Gk(e)||"function"==typeof(null==e?void 0:e[Symbol.iterator]))(e)?this.T(e):this._(e)}k(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}$(e){this._$AH!==e&&(this._$AR(),this._$AH=this.k(e))}_(e){this._$AH!==tT&&Hk(this._$AH)?this._$AA.nextSibling.data=e:this.$(Vk.createTextNode(e)),this._$AH=e}g(e){var t;const{values:r,_$litType$:n}=e,i="number"==typeof n?this._$AC(e):(void 0===n.el&&(n.el=oT.createElement(iT(n.h,n.h[0]),this.options)),n);if((null===(t=this._$AH)||void 0===t?void 0:t._$AD)===i)this._$AH.v(r);else{const e=new aT(i,this),t=e.u(this.options);e.v(r),this.$(t),this._$AH=e}}_$AC(e){let t=rT.get(e.strings);return void 0===t&&rT.set(e.strings,t=new oT(e)),t}T(e){Gk(this._$AH)||(this._$AH=[],this._$AR());const t=this._$AH;let r,n=0;for(const i of e)n===t.length?t.push(r=new lT(this.k(zk()),this.k(zk()),this,this.options)):r=t[n],r._$AI(i),n++;n<t.length&&(this._$AR(r&&r._$AB.nextSibling,n),t.length=n)}_$AR(e=this._$AA.nextSibling,t){var r;for(null===(r=this._$AP)||void 0===r||r.call(this,!1,!0,t);e&&e!==this._$AB;){const t=e.nextSibling;e.remove(),e=t}}setConnected(e){var t;void 0===this._$AM&&(this._$Cp=e,null===(t=this._$AP)||void 0===t||t.call(this,e))}}class cT{constructor(e,t,r,n,i){this.type=1,this._$AH=tT,this._$AN=void 0,this.element=e,this.name=t,this._$AM=n,this.options=i,r.length>2||""!==r[0]||""!==r[1]?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=tT}get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}_$AI(e,t=this,r,n){const i=this.strings;let o=!1;if(void 0===i)e=sT(this,e,t,0),o=!Hk(e)||e!==this._$AH&&e!==eT,o&&(this._$AH=e);else{const n=e;let s,a;for(e=i[0],s=0;s<i.length-1;s++)a=sT(this,n[r+s],t,s),a===eT&&(a=this._$AH[s]),o||(o=!Hk(a)||a!==this._$AH[s]),a===tT?e=tT:e!==tT&&(e+=(null!=a?a:"")+i[s+1]),this._$AH[s]=a}o&&!n&&this.j(e)}j(e){e===tT?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,null!=e?e:"")}}class uT extends cT{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===tT?void 0:e}}const dT=Dk?Dk.emptyScript:"";class hT extends cT{constructor(){super(...arguments),this.type=4}j(e){e&&e!==tT?this.element.setAttribute(this.name,dT):this.element.removeAttribute(this.name)}}class pT extends cT{constructor(e,t,r,n,i){super(e,t,r,n,i),this.type=5}_$AI(e,t=this){var r;if((e=null!==(r=sT(this,e,t,0))&&void 0!==r?r:tT)===eT)return;const n=this._$AH,i=e===tT&&n!==tT||e.capture!==n.capture||e.once!==n.once||e.passive!==n.passive,o=e!==tT&&(n===tT||i);i&&this.element.removeEventListener(this.name,this,n),o&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){var t,r;"function"==typeof this._$AH?this._$AH.call(null!==(r=null===(t=this.options)||void 0===t?void 0:t.host)&&void 0!==r?r:this.element,e):this._$AH.handleEvent(e)}}class mT{constructor(e,t,r){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(e){sT(this,e)}}const _T=Pk.litHtmlPolyfillSupport;null==_T||_T(oT,lT),(null!==(Lk=Pk.litHtmlVersions)&&void 0!==Lk?Lk:Pk.litHtmlVersions=[]).push("2.8.0");
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+var gT,fT;class vT extends Rk{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){var e,t;const r=super.createRenderRoot();return null!==(e=(t=this.renderOptions).renderBefore)&&void 0!==e||(t.renderBefore=r.firstChild),r}update(e){const t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=((e,t,r)=>{var n,i;const o=null!==(n=null==r?void 0:r.renderBefore)&&void 0!==n?n:t;let s=o._$litPart$;if(void 0===s){const e=null!==(i=null==r?void 0:r.renderBefore)&&void 0!==i?i:null;o._$litPart$=s=new lT(t.insertBefore(zk(),e),e,void 0,null!=r?r:{})}return s._$AI(e),s})(t,this.renderRoot,this.renderOptions)}connectedCallback(){var e;super.connectedCallback(),null===(e=this._$Do)||void 0===e||e.setConnected(!0)}disconnectedCallback(){var e;super.disconnectedCallback(),null===(e=this._$Do)||void 0===e||e.setConnected(!1)}render(){return eT}}vT.finalized=!0,vT._$litElement$=!0,null===(gT=globalThis.litElementHydrateSupport)||void 0===gT||gT.call(globalThis,{LitElement:vT});const bT=globalThis.litElementPolyfillSupport;null==bT||bT({LitElement:vT}),(null!==(fT=globalThis.litElementVersions)&&void 0!==fT?fT:globalThis.litElementVersions=[]).push("3.3.3");const yT=new class{constructor(){this._components=new Map}get(e){const t=this._components.get(e.toUpperCase());return void 0!==t?t:new Array}valid(e,t){return e&&e.matches(t)}isElement(e){for(const[t,r]of this._components)for(const t of r)if(t==e)return!0;return!1}register(e){let t=this.get(e.tagName);null==t&&(t=new Array),0==t.includes(e)&&t.push(e),this._components.set(e.tagName.toUpperCase(),t)}findAll(e,t=""){const r=this.get(e);if(t.length<1)return r;const n=new Array;return r.forEach(e=>{this.valid(e,t)&&n.push(e)}),n}find(e,t=""){const r=this.get(e);return t.length<1&&r.length>0?r[0]:r.find(e=>!(!e||!e.matches(t)))}findScrollableParent(e){if(null==e)return;const t=getComputedStyle(e).getPropertyValue("overflow");if((e.scrollHeight>e.clientHeight||e.scrollWidth>e.clientWidth)&&!t.includes("hidden"))return e;if(t.includes("auto")||t.includes("scroll"))return e;const r=this.getParent(e);return r?this.findScrollableParent(r):void 0}getParent(e){if(null==e)return;if(e.assignedSlot)return this.getParent(e.assignedSlot);if(e.parentElement)return e.parentElement;const t=e.getRootNode();return t&&t.host?t.host:void 0}getParentComponent(e){const t=this.getParent(e);if(null!=t)return this.isElement(t)?t:this.getParentComponent(t)}isPartOfHiddenSubtree(e){return null!=e&&(1==e.hideElement||this.isPartOfHiddenSubtree(this.getParentComponent(e)))}doActionRecursiveOnChildren(e,t){for(let r=0;r<e.children.length;++r){const n=e.children.item(r);n&&(n instanceof FT&&t(n),this.doActionRecursiveOnChildren(n,t))}if(e instanceof FT&&e.renderRoot&&e.renderRoot.children)for(let r=0;r<e.renderRoot.children.length;++r){const n=e.renderRoot.children.item(r);n&&(n instanceof FT&&t(n),this.doActionRecursiveOnChildren(n,t))}}waitForAllChildren(e){return t=this,r=null,n=function*(){e.CheckFetchPromise&&(yield e.CheckFetchPromise()),e.updateComplete&&(yield e.updateComplete);for(let t=0;t<e.children.length;++t){const r=e.children.item(t);r&&(yield this.waitForAllChildren(r))}if(e instanceof FT&&e.renderRoot&&e.renderRoot.children)for(let t=0;t<e.renderRoot.children.length;++t){const r=e.renderRoot.children.item(t);r&&(yield this.waitForAllChildren(r))}},new Promise((e,i)=>{var o=e=>{try{a(n.next(e))}catch(e){i(e)}},s=e=>{try{a(n.throw(e))}catch(e){i(e)}},a=t=>t.done?e(t.value):Promise.resolve(t.value).then(o,s);a((n=n.apply(t,r)).next())});var t,r,n}};var $T=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{scrollbar-color:var(--base-scrollbar-color,unset);scrollbar-width:var(--base-scrollbar-width,unset)}:host(.invisible){visibility:hidden}@media (width <= 520px){:host([mobile-mode=hide]){display:none!important}}@media (width >= 520px) and (width <= 980px){:host([mobile-mode=hide]){display:none!important}}@media (width >= 981px){:host([mobile-mode=show]){display:none!important}}`,xT=Object.defineProperty,ST=Object.getOwnPropertyDescriptor,wT=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?ST(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&xT(t,r,o),o};class AT extends CustomEvent{constructor(e){super("hide-state-updated-event",{detail:e,bubbles:!1})}}const CT=class extends vT{constructor(){super(...arguments),this.hideElement=!1,this.hiddenClasses=["hidden"]}dispatchHideStateUpdatedEvent(){this.dispatchEvent(new AT({value:this.hideElement,"parent-state-changed":!1})),CT.dispatchEventRecursiveToChildren(this,new AT({value:this.hideElement,"parent-state-changed":!0}))}addHideStateUpdatedEventListener(e){this.addEventListener("hide-state-updated-event",t=>{t.detail&&null!=t.detail.value&&null!=t.detail["parent-state-changed"]&&e(t.detail.value,t.detail["parent-state-changed"])})}static dispatchEventRecursiveToChildren(e,t){yT.doActionRecursiveOnChildren(e,e=>{e.dispatchEvent(t)})}attributeChangedCallback(e,t,r){if(super.attributeChangedCallback(e,t,r),"hidden-classes"===e&&null!=t){const e=JSON.parse(t);this.classList.remove(...e),this.hideElement&&this.classList.add(...this.hiddenClasses)}"hide-element"===e&&(this.hideElement?this.classList.add(...this.hiddenClasses):this.classList.remove(...this.hiddenClasses),this.dispatchHideStateUpdatedEvent())}anyHiddenClassInArray(e){for(const t of this.hiddenClasses)if(e.includes(t))return!0;return!1}connectedCallback(){super.connectedCallback();let e=!1;for(const t of this.hiddenClasses)if(this.classList.contains(t)){e=!0;break}e&&(this.hideElement=!0)}};let ET=CT;wT([lk({type:Boolean,reflect:!0,attribute:"hide-element"})],ET.prototype,"hideElement",2),wT([lk({type:Array,reflect:!0,attribute:"hidden-classes"})],ET.prototype,"hiddenClasses",2);var IT=Object.defineProperty,MT=Object.getOwnPropertyDescriptor,kT=Object.getPrototypeOf,TT=Reflect.get,RT=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?MT(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&IT(t,r,o),o},LT=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});class PT extends CustomEvent{constructor(e){super("willupdate",{detail:e,bubbles:!0})}}class DT extends CustomEvent{constructor(e){super("updated",{detail:e,bubbles:!0})}}const NT=class extends ET{constructor(e=!0){super(),this.mobileMode="",this._connectedCallbackActions=new Array,this.furnviewLoaded=!1,yT.register(this),e&&window.LocalesModel&&window.LocalesModel.Register&&window.LocalesModel.Register(this),this.TriggerLocalesModelLoaded()}get mobile(){return null==NT._mobile&&(NT._mobile=!1,window.UtilService&&(NT._mobile=window.UtilService.isDeviceMobile())),NT._mobile}AddConnectedCallbackAction(e){this._connectedCallbackActions.push(e)}ResetConnectedCallbackAction(){this._connectedCallbackActions=new Array}TriggerConnectedCallbackActions(){return LT(this,null,function*(){for(const e of this._connectedCallbackActions)yield e()})}TriggerLocalesModelLoaded(){return LT(this,null,function*(){LocalesModel&&LocalesModel.IsFileRead&&(yield LocalesModel.IsFileRead()),this.localesModelLoaded()})}localesModelLoaded(){}connectedCallback(){super.connectedCallback(),this.TriggerConnectedCallbackActions()}willUpdate(e){super.willUpdate(e),this.dispatchEvent(new PT(this))}updated(e){super.updated(e),this.dispatchEvent(new DT(this))}checkFurnview(){return LT(this,null,function*(){yield CommunicationInterfaceService.IsAppReady,this.furnviewLoaded=!0})}firstUpdated(e){super.firstUpdated(e),this.checkFurnview()}isEmpty(){let e=0;if(this.shadowRoot)for(let t=0;t<this.shadowRoot.children.length;++t){const r=this.shadowRoot.children.item(t);r&&"SLOT"!=r.tagName&&++e}return this.children.length+e<=0}get Unit(){return 1==NT._dimensionScale?"mm":.1==NT._dimensionScale?"cm":.01==NT._dimensionScale?"dm":.001==NT._dimensionScale?"m":"error"}get DimensionScale(){return null==NT._dimensionScale?.1:NT._dimensionScale}get Digits(){return null==NT._dimensionDigits?1:NT._dimensionDigits}isPartOfHiddenSubtree(){return yT.isPartOfHiddenSubtree(this)}scheduleUpdate(){var e=e=>super[e];return LT(this,null,function*(){return this.furnviewLoaded&&(yield CommunicationInterfaceService.IsAppReady,null==NT._dimensionScale&&(NT._dimensionScale=yield CommunicationMessageService.getDimensionScale()),NT._dimensionDigits=yield CommunicationMessageService.getDimensionDigits()),e("scheduleUpdate").call(this)})}updateVisibility(){var e,t,r,n,i,o,s;if(this.visibleSelectors){const a=new Array;if(0==(null==(e=this.visibleSelectors)?void 0:e.element["ignore-default-target-content"])||null==this.visibleSelectors.element["ignore-default-target-content"]){const e=((null==(t=this.visibleSelectors)?void 0:t.element.all)?yT.findAll(null==(r=this.visibleSelectors)?void 0:r.element.name,null==(n=this.visibleSelectors)?void 0:n.element.selector):[yT.find(null==(i=this.visibleSelectors)?void 0:i.element.name,null==(o=this.visibleSelectors)?void 0:o.element.selector)]).filter(e=>null!=e);e&&a.push(...e)}const l=null==(s=this.visibleSelectors)?void 0:s.element["additional-target-contents"];if(l)for(const e of l)if(e.name.length>0){const t=yT.find(e.name,e.selector);null!=t&&a.push(t)}this.hideElement=a.every(e=>e.isEmpty())}}};let FT=NT;var OT,BT;FT.styles=[(OT=NT,BT="styles",TT(kT(OT),BT,OT)||[]),$k`${yk($T)}`,$k`${yk(`${rk}${nk}${ik}`)}`],FT._mobile=void 0,FT._dimensionScale=void 0,FT._dimensionDigits=void 0,RT([lk({type:String,reflect:!0,attribute:"mobile-mode"})],FT.prototype,"mobileMode",2),RT([lk({type:Object,reflect:!0,attribute:"visible-selectors"})],FT.prototype,"visibleSelectors",2);var UT=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host([active]) .dropdown-item fv-label{font-weight:var(--global-font-weight-bold,600)}:host{position:relative}:host .divider{background-color:#d3d3d3;display:block;height:1px;width:100%}:host .dropdown-item{background-color:var(--dropdown-background-color,#fff);display:flex;flex-direction:row;gap:var(--dropdown-label-gap,1rem);justify-content:space-between;padding:.5rem}:host .dropdown-item:hover,:host .dropdown-item[active]{background-color:var(--dropdown-active-background-color,#dcdcdc)}:host .dropdown-item .icon-wrapper{display:flex;flex-direction:row;margin:0;padding:.25rem;width:var(--dropdown-icon-width,20px)}:host .dropdown-item .label-wrapper{display:flex;flex:1;flex-direction:row}:host [slot=icon]{align-self:flex-start}:host [slot=trailing-icon]{align-self:flex-end}:host(.centered) .label-wrapper{justify-content:center}`,VT=Object.defineProperty,zT=Object.getOwnPropertyDescriptor,HT=Object.getPrototypeOf,GT=Reflect.get,jT=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?zT(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&VT(t,r,o),o};let JT=class extends FT{constructor(){super(...arguments),this.data={},this.empty=!0,this.active=!1}firstUpdated(e){super.firstUpdated(e),this.data.active&&this.onClick(new CustomEvent("click"))}updated(e){var t;super.updated(e),this.empty=0===((null==(t=this.data)?void 0:t.items)||[]).length}onClick(e){e.stopPropagation(),e.preventDefault(),this.dispatchEvent(new CustomEvent("dropdown-item-changed",{detail:this,bubbles:!0,composed:!0}))}render(){var e;return(null==(e=this.data)?void 0:e.divider)?Zk`
+                <div class="divider"></div>
+            `:Zk`
+            <div class="dropdown-item" @click="${this.onClick}">
+                <div slot="icon" class="icon-wrapper">
+                    ${this.buildIcon()}
+                </div>
+                <div slot="label" class="label-wrapper">
+                    ${this.buildLabel()}
+                </div>
+                <div slot="trailing-icon" class="icon-wrapper">
+                    ${this.buildTrailingIcon()}
+                </div>
+            </div>
+        `}buildIcon(){var e;if(null==(e=this.data)?void 0:e.icon)return Zk`<fv-icon icon="${this.data.icon}"></fv-icon>`}buildTrailingIcon(){var e;if(null==(e=this.data)?void 0:e.trailingIcon)return Zk`<fv-icon icon="${this.data.trailingIcon}"></fv-icon>`}buildLabel(){var e;if(null==(e=this.data)?void 0:e.text)return Zk`
+            <fv-label i18n="${this.data.text}">${this.data.text}</fv-label>
+        `}buildSubChildren(){var e;if((null==(e=this.data)?void 0:e.items)&&this.data.items.length)return Zk`
+            <div class="submenu">
+                ${this.data.items.map(e=>{const t=new JT;return t.className=this.className,t.data=e,t})}
+            </div>
+        `}};JT.styles=[((e,t)=>GT(HT(e),t,e))(JT,"styles")||[],yk(UT)],jT([lk({type:Object,attribute:"data"})],JT.prototype,"data",2),jT([lk({type:Boolean,reflect:!0})],JT.prototype,"empty",2),jT([lk({type:Boolean,reflect:!0})],JT.prototype,"active",2),JT=jT([sk("fv-dropdown-item")],JT);var WT=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host([active]){border-bottom-left-radius:0!important;border-bottom-right-radius:0!important;border-color:var(--dropdown-active-border-color,var(--dropdown-border-color,var(--bordered-color,red)))}:host([active]) input{z-index:2}:host([active]) #scroll-wrapper{border-color:var(--dropdown-active-border-color,var(--dropdown-border-color,var(--bordered-color,red)));max-height:200px;visibility:visible}:host([active]) .dropdown-header:after{content:"<"}:host(.fluid){flex:1;width:100%}:host(.centered) .dropdown-header{justify-content:center}:host{background-color:#fff;border:var(--dropdown-border-thickness,1px) solid var(--dropdown-border-color,var(--bordered-color,red));border-radius:var(--dropdown-border-radius,2em);display:flex;height:40px;margin:1px;min-width:0;padding:0;position:relative;width:auto}:host .dropdown-header{bottom:0;display:flex;left:0;position:absolute;right:0;top:0}:host .dropdown-header fv-label{margin:auto calc(var(--dropdown-icon-width, 20px) + var(--dropdown-label-gap, 1rem));overflow:hidden}:host .dropdown-header fv-label.placeholder{color:#a9a9a9}:host .dropdown-header:after{color:#333;content:">";font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;right:11px;top:10px;-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);-ms-transform:rotate(90deg);transform:rotate(90deg)}:host #scroll-wrapper{border:var(--dropdown-border-thickness,1px) solid var(--dropdown-border-color,var(--bordered-color,red));border-radius:0 0 var(--dropdown-border-radius,2em) var(--dropdown-border-radius,2em);border-top:none;height:auto;left:var(--scroll-wrapper-position-left,-1px);max-height:0;position:absolute;top:100%;transition:max-height .3s ease;visibility:hidden;width:100%;z-index:1}:host #dropdown-items-container{background:#fff;height:100%;max-height:200px;min-height:35px;width:100%}:host #items{height:100%;width:calc(100% + 17px)}:host input{background:transparent;border:none;flex:1;min-width:0;outline:none;padding:4px 15px 0;z-index:0}`
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ * SPDX-License-Identifier: BSD-3-Clause
+ */;const QT=1,qT=2,YT=e=>(...t)=>({_$litDirective$:e,values:t});class XT{constructor(e){}get _$AU(){return this._$AM._$AU}_$AT(e,t,r){this._$Ct=e,this._$AM=t,this._$Ci=r}_$AS(e,t){return this.update(e,t)}update(e,t){return this.render(...t)}}
+/**
+ * @license
+ * Copyright 2018 Google LLC
+ * SPDX-License-Identifier: BSD-3-Clause
+ */const KT=YT(class extends XT{constructor(e){var t;if(super(e),e.type!==QT||"class"!==e.name||(null===(t=e.strings)||void 0===t?void 0:t.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(e){return" "+Object.keys(e).filter(t=>e[t]).join(" ")+" "}update(e,[t]){var r,n;if(void 0===this.it){this.it=new Set,void 0!==e.strings&&(this.nt=new Set(e.strings.join(" ").split(/\s/).filter(e=>""!==e)));for(const e in t)t[e]&&!(null===(r=this.nt)||void 0===r?void 0:r.has(e))&&this.it.add(e);return this.render(t)}const i=e.element.classList;this.it.forEach(e=>{e in t||(i.remove(e),this.it.delete(e))});for(const e in t){const r=!!t[e];r===this.it.has(e)||(null===(n=this.nt)||void 0===n?void 0:n.has(e))||(r?(i.add(e),this.it.add(e)):(i.remove(e),this.it.delete(e)))}return eT}});var ZT=Object.defineProperty,eR=Object.getOwnPropertyDescriptor,tR=Object.getPrototypeOf,rR=Reflect.get,nR=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?eR(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&ZT(t,r,o),o};let iR=class extends FT{constructor(){super(...arguments),this.options={},this.active=!1,this.value="",this.name="",this.onActiveChange=e=>{this.active=!1,document.removeEventListener("click",this.onActiveChange)}}firstUpdated(e){super.firstUpdated(e),this.addEventListener("dropdown-item-changed",e=>{this.dropdownItemChanged(e)})}onFocus(){this.active=!0}onBlur(){this.active=!1;const e=this.shadowRoot?this.shadowRoot.querySelector(".text-content"):null;null==e||e.classList.remove("hidden")}onClick(e){var t;e.preventDefault(),e.stopPropagation();const r=null==(t=this.shadowRoot)?void 0:t.querySelector("fv-dropdown-item .active");if(r&&r.scrollIntoView({block:"start"}),this.active=!this.active,document.dispatchEvent(new Event("click")),this.active&&document.addEventListener("click",this.onActiveChange),this.classList.contains("search")){const e=this.shadowRoot?this.shadowRoot.querySelector("input"):null;null==e||e.focus()}}dropdownItemChanged(e){document.removeEventListener("click",this.onActiveChange);const t=e.detail;this.currentItem&&(this.currentItem.active=!1),t&&t!=this.currentItem&&(this.currentItem=t,this.currentItem&&(this.currentItem.active=!0),this.requestUpdate()),this.onBlur()}update(e){var t,r;super.update(e),this.options.allowEmpty||(null==(t=this.options.items)?void 0:t.length)&&!(null==(r=this.options.items)?void 0:r.some(e=>e.active))&&(this.options.items[0].active=!0)}clearItems(){this.options.items=[],this.requestUpdate("options")}addItem(e,t){this.addItems([{text:e,value:t}])}addItems(e,t=!1){var r;this.options.items=t?null==(r=this.options.items||[])?void 0:r.concat([{text:"*",value:""}],e):(this.options.items||[]).concat(e),this.requestUpdate("options")}buildSearchField(){return this.classList.contains("search")?Zk`<input @input=${this.onSearch} .value="${this.currentItem?this.currentItem.data.text:""}" @blur=${this.onBlur} @focus="${this.onFocus}" id="selection-input"/>`:tT}buildHeader(){var e;const t={placeholder:!this.currentItem},r=(null==(e=this.currentItem)?void 0:e.data.text)||this.options.placeholder;return Zk`
+            <div @click=${this.onClick} class="dropdown-header">
+                <fv-label class="${KT(t)}" i18n="${r}" locales-model-no-translation="${r}">${r}</fv-label>
+            </div>
+        `}buildDropdownItems(){var e;return Zk`
+            <div id="scroll-wrapper" class="invisible-scroll">
+                <div id="dropdown-items-container">
+                    <div id="items">
+                        ${null==(e=this.options.items)?void 0:e.map(e=>Zk`
+                                <fv-dropdown-item .data="${e}" class="${this.className}"></fv-dropdown-item>
+                            `)}
+                    </div>
+                </div>
+            </div>
+        `}render(){return Zk`
+            ${this.buildSearchField()}
+            ${this.buildHeader()}
+            ${this.buildDropdownItems()}
+        `}onSearch(e){var t,r;const n=e.currentTarget,i=(null==(t=this.shadowRoot)?void 0:t.querySelectorAll("fv-dropdown-item"))||void 0,o=(null==(r=this.shadowRoot)?void 0:r.querySelector(".dropdown-header"))||void 0;if(i){let e=null;n.value.trim().length>0?(null==o||o.classList.add("hidden"),e=new RegExp(n.value,"g")):(e=null,null==o||o.classList.remove("hidden")),i.forEach(t=>{if(e){t.classList.add("hidden");const r=t.data.text&&e.test(t.data.text),n=t.data.value&&e.test(t.data.value);(r||n)&&t.classList.remove("hidden")}else t.classList.remove("hidden")})}}};iR.styles=[((e,t)=>rR(tR(e),t,e))(iR,"styles")||[],$k`${yk(WT)}`],nR([lk({type:Object})],iR.prototype,"options",2),nR([lk()],iR.prototype,"currentItem",2),nR([lk({type:Boolean,reflect:!0})],iR.prototype,"active",2),nR([lk({type:String,reflect:!0})],iR.prototype,"value",2),nR([lk({type:String,reflect:!0})],iR.prototype,"name",2),iR=nR([sk("fv-dropdown")],iR);var oR=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host(:last-child){margin-bottom:0}:host{border:none!important;cursor:pointer;display:flex;margin-bottom:50px}:host:last-child{margin-bottom:0}:host #product-image{height:80px;margin:0 20px;width:80px}:host #product-image .image{--icon-widht:100%;--icon-height:100%;--icon-font-size:2.5rem;background-position:50%;background-repeat:no-repeat;background-size:contain;height:100%}:host #product-image .image.iconimage{--label-color:var(--default-icon-color,#d1d3d4)}:host #product-image .image:is(svg-icon){background-color:var(--default-icon-color,#d1d3d4);mask-size:var(--default-icon-size,contain)}:host #product-image .image.transparent{background-color:transparent;background-image:none}:host #product-info{border-bottom:2px solid var(--equipment-list-border-color,#d3d3d3);display:flex;flex:1;flex-direction:column}:host #product-info div{display:flex;flex:1}:host #product-info div #product-number{color:#727272;margin:auto 0}:host #product-info div #product-dimensions{margin-left:20px}`,sR=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});const aR=new class{constructor(){this._imageCache=new Map,this._globalImageMedia=Promise.resolve([])}getProgramSelectionImages(e){return sR(this,null,function*(){const t={};return this._globalImageMedia=this.getProgramMediaImages(e,"milieu"),yield this._globalImageMedia,e.forEach(e=>{const r=`${window.g_article.manu.toLowerCase()}_${e.program.toLowerCase()}${e.kataId&&e.kataId.length>0?`_${e.kataId.toLowerCase()}`:""}_milieu`,n=this._imageCache.has(r)?this._imageCache.get(r):null;n&&(t[e.program]=n)}),t})}getProgramMediaImages(e,t="milieu"){return sR(this,null,function*(){var r;yield this._globalImageMedia;const n=[],i=[];for(const r of e){const e=`${window.g_article.manu.toLowerCase()}_${r.program.toLowerCase()}${r.kataId&&r.kataId.length>0?`_${r.kataId.toLowerCase()}`:""}_${t.toLowerCase()}`;if(this._imageCache.has(e)){const t=this._imageCache.get(e);n.push(...t.images)}else i.push(r)}if(i.length>0){const e=i.map(e=>e.program),o=i.map(e=>void 0!==e.kataId?e.kataId:""),s=yield CommunicationMessageService.getProgImages(window.g_article.manu,e,o);for(const e in s){const i=(null==(r=s[e])?void 0:r.prog)||e,o=`${window.g_article.manu.toLowerCase()}_${e.toLowerCase()}_${t.toLowerCase()}`,a=[],l=s[e].images;for(let e=0;e<l.length;e++){const r=l[e];if(r&&i){const n=0===e;a.push(yield this.getImage(window.g_article.manu,i,r,t,n))}}const c={images:a,heading:s[e].heading,program:i,subheading:s[e].subheading,text:s[e].text};this._imageCache.set(o,c),n.push(...c.images)}}return n})}getKataLevelOneMediaImages(e){return sR(this,null,function*(){yield this._globalImageMedia;const t=[],r=[];for(const n of e){const e=`${window.g_article.manu.toLowerCase()}_${n.toLowerCase()}_art`;if(this._imageCache.has(e)){const r=this._imageCache.get(e);t.push(...r.images)}else r.push(n)}if(r.length>0){const e=yield CommunicationMessageService.loadLevel1KataInfo(window.g_article.manu,"",r,!1);for(const r in e){const n=[],i=`${window.g_article.manu.toLowerCase()}_${r.toLowerCase()}_art`;for(const t of e[r].images)t&&n.push(yield this.getImage(window.g_article.manu,"",t,"art"));const o={images:n};this._imageCache.set(i,o),t.push(...o.images)}}return t})}getImage(e,t,r,n="milieu",i=!1){return sR(this,null,function*(){const o=yield CommunicationMessageService.getMediaUrl(e,t,n,r,!0);return i?new Promise(e=>{const t=new Image;t.onload=()=>{e({image:t,url:o})},t.onerror=()=>{e({image:null,url:o})},t.src=o}):{image:null,url:o}})}clearCache(){this._imageCache.clear()}getExtension(e){return e.substring(e.lastIndexOf(".")+1)}};var lR=Object.defineProperty,cR=Object.getOwnPropertyDescriptor,uR=Object.getPrototypeOf,dR=Reflect.get,hR=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?cR(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&lR(t,r,o),o};let pR=class extends FT{constructor(){super(),this.number="",this.width="0",this.height="0",this.depth="0",this.image="",this.addEventListener("click",this.onClickEvent)}onClickEvent(e){this.dispatchEvent(new CustomEvent("onArticleClick",{}))}getDefaultImageIcon(){return getComputedStyle(this).getPropertyValue("--default-image")}render(){const e=[];0!==+this.width&&e.push(this.width),0!==+this.height&&e.push(this.height),0!==+this.depth&&e.push(this.depth);const t=this.getDefaultImageIcon().replace(/url\('(.+)'\)/,"$1");let r;const n=this.image||t;if(n){r=-1!==aR.getExtension(n).indexOf("svg")?Zk`<svg-icon class="image" src="${n}"></svg-icon>`:n.startsWith("fv-icon")?Zk`<fv-icon class="image iconimage" icon="${n}"></fv-icon>`:Zk`<fv-icon class="image" src="${n}"></fv-icon>`}return Zk`
+            <div id="product-image">
+                ${r}
+            </div>
+            <div id="product-info">
+                <div><label id="product-number">${this.number}</label></div>
+                <div>
+                    <label id="product-dimensions">
+                        ${e.join("x")} 
+                    </label>
+                </div>
+            </div>
+        `}};pR.styles=[((e,t)=>dR(uR(e),t,e))(pR,"styles")||[],$k`${yk(oR)}`],hR([lk({type:String,reflect:!0})],pR.prototype,"number",2),hR([lk({type:String})],pR.prototype,"width",2),hR([lk({type:String})],pR.prototype,"height",2),hR([lk({type:String})],pR.prototype,"depth",2),hR([lk({type:String})],pR.prototype,"image",2),pR=hR([sk("fv-article-item")],pR);var mR=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{display:flex;flex:1;flex-direction:column;height:100%;width:100%}:host #article-list-container{display:block;flex:1;width:100%}:host #filter-container-size{display:flex;flex:none;height:50px;margin-bottom:15px;width:100%}:host #filter-container{flex:none;margin-bottom:15px;width:100%}:host #filter-container fv-button{background-color:#fff;border:2px solid var(--primary-color,red);color:var(--primary-color,red);display:inline-block;margin:2px;min-width:unset;padding:4px!important;text-align:center}:host #filter-container fv-button.active{background-color:var(--primary-color,red);color:var(--primary-button-text-color,#fff)!important}:host #filter-container fv-button::part(button){color:var(--primary-color,red);min-width:unset;padding:4px}:host #filter-container fv-button.active::part(button){color:var(--primary-button-text-color,#fff);min-width:unset;padding:4px}`,_R=Object.defineProperty,gR=Object.getOwnPropertyDescriptor,fR=Object.getPrototypeOf,vR=Reflect.get,bR=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?gR(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&_R(t,r,o),o},yR=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});function $R(e){return e&&e.length>0?e.replace(/&#([0-9]+);/g,function(e){return String.fromCodePoint(parseInt(e.slice(2,-1)))}):e}let xR=class extends FT{constructor(){super(),this._manufacturer="",this._program="",this._selectedCategories=[],this._valuesWidth=[],this._valuesHeight=[],this._valuesDepth=[],this._categoriesFilter=[],this._offset=0,this._showWildCardFilter=!0,this._selectedDimensions={width:"0.0",height:"0.0",depth:"0.0"},this.listAll=[],this.dimensionScale=.1,this.fractionDigits=2,this.limit=50,this.img_url_prefix="",this.list=[],this.onArticleClick=(e,t)=>yR(this,null,function*(){t.number&&(yield null==CommunicationMessageService?void 0:CommunicationMessageService.loadArticle(this._manufacturer,this._program,t.number))})}initialize(e,t,r,n,i){return yR(this,null,function*(){this._showWildCardFilter=i,this._manufacturer=e,this._program=t;const o=yield null==CommunicationMessageService?void 0:CommunicationMessageService.getKataTreeJson(),s=this.shadowRoot?this.shadowRoot.querySelector("#width-dropdown"):null,a=this.shadowRoot?this.shadowRoot.querySelector("#height-dropdown"):null,l=this.shadowRoot?this.shadowRoot.querySelector("#depth-dropdown"):null;null==s||s.addItem("*",""),null==a||a.addItem("*",""),null==l||l.addItem("*","");const c=yield null==CommunicationMessageService?void 0:CommunicationMessageService.getKataPage(n,r);c&&c.Modules&&c.Modules[0].Articles&&c.Modules[0].Articles[0]&&Array.isArray(c.Modules[0].Articles[0])&&c.Modules[0].Articles[0].forEach(e=>{const t=e;t.dxma&&(t.kataWidth=t.dxma),t.dzma&&(t.kataHeight=t.dzma),t.dyma&&(t.kataDepth=t.dyma),t.MMdx&&(t.kataWidth=t.MMdx),t.MMdz&&(t.kataHeight=t.MMdz),t.MMdy&&(t.kataDepth=t.MMdy),t.Dispdx&&(t.kataWidth=t.Dispdx),t.Dispdz&&(t.kataHeight=t.Dispdz),t.Dispdy&&(t.kataDepth=t.Dispdy),-1===this._valuesWidth.indexOf(t.kataWidth)&&this._valuesWidth.push(t.kataWidth),-1===this._valuesHeight.indexOf(t.kataHeight)&&this._valuesHeight.push(t.kataHeight),-1===this._valuesDepth.indexOf(t.kataDepth)&&this._valuesDepth.push(t.kataDepth),this.listAll.push(e)}),this._valuesWidth.sort(this.sortValues),this._valuesWidth.forEach(function(e){null==s||s.addItem(e,e)}),this._valuesHeight.sort(this.sortValues),this._valuesHeight.forEach(function(e){null==a||a.addItem(e,e)}),this._valuesDepth.sort(this.sortValues),this._valuesDepth.forEach(function(e){null==l||l.addItem(e,e)});const u=[];if(this.listAll.forEach((e,t)=>{e.Cats=e.CatString.split(","),e.Cats.forEach((e,t)=>{-1===u.indexOf(e)&&""!==e&&u.push(e)})}),u.forEach((e,t)=>{const r=o.definedFilterCategories.find(t=>t.id===e);if(r){this._categoriesFilter.find(t=>t.id===e)||1e3===r.priority&&this._categoriesFilter.push({name:r.name,id:r.id,priority:r.priority})}}),0===this._categoriesFilter.length&&u.forEach((e,t)=>{const r=o.definedFilterCategories.find(t=>t.id===e);if(r){this._categoriesFilter.find(t=>t.id===e)||2e3===r.priority&&this._categoriesFilter.push({name:r.name,id:r.id,priority:r.priority})}}),this.list=this.list.concat(this.listAll),this.shadowRoot){const e=this.shadowRoot.querySelector("#wildCardFilterButton");this._showWildCardFilter||e.classList.add("hidden")}})}sortValues(e,t){return+e<+t?-1:+e>+t?1:0}filterButtonClick(e){return yR(this,null,function*(){const t=e.target,r=t.getAttribute("category");this.renderRoot.querySelectorAll(".active").forEach((e,t)=>{e.classList.remove("active")}),t.classList.add("active"),r?this._selectedCategories[0]=r:this._selectedCategories=[],yield this.filterArticles()})}onChangeDropDown(e){return yR(this,null,function*(){const t=e.currentTarget;this._selectedDimensions[t.name]=t.value||"0.0",yield this.filterArticles()})}filterArticles(){return yR(this,null,function*(){this.list=[],this.listAll.forEach((e,t)=>{let r=!0;this._selectedCategories.length>0&&(e.Cats.includes(this._selectedCategories[0])||(r=!1)),"0.0"!==this._selectedDimensions.height&&e.kataHeight!==this._selectedDimensions.height&&(r=!1),"0.0"!==this._selectedDimensions.width&&e.kataWidth!==this._selectedDimensions.width&&(r=!1),"0.0"!==this._selectedDimensions.depth&&e.kataDepth!==this._selectedDimensions.depth&&(r=!1),r&&this.list.push(e)}),this.requestUpdate("list"),yield this.updateComplete})}render(){const e={bordered:this.classList.contains("bordered")&&this.classList.contains("dropdown"),fluid:!0};return Zk`
+            <div id="filter-container">
+                <fv-button id="wildCardFilterButton" @click=${this.filterButtonClick} part="filter-button"
+                           class="active" style="width: 23px">*
+                </fv-button>
+                ${this._categoriesFilter.map(e=>Zk`
+                                <fv-button category=${e.id} @click=${this.filterButtonClick}
+                                           part="filter-button">${$R(e.name)}
+                                </fv-button>`)}
+
+            </div>
+            <div id="filter-container-size">
+                <fv-dropdown @onChange=${this.onChangeDropDown} class=${KT(e)} name="width"
+                             i18n-placeholder="181" placeholder="Breite" id="width-dropdown"></fv-dropdown>
+                <fv-dropdown @onChange=${this.onChangeDropDown} class=${KT(e)} name="height"
+                             i18n-placeholder="183" placeholder="Höhe" id="height-dropdown"></fv-dropdown>
+                <fv-dropdown @onChange=${this.onChangeDropDown} class=${KT(e)} name="depth"
+                             i18n-placeholder="182" placeholder="Tiefe" id="depth-dropdown"></fv-dropdown>
+            </div>
+
+            <fv-list-box id="article-list-container">
+                ${this.list.map(e=>{const t=document.createElement("fv-article-item");return t.number=e.ArtNr,t.width=e.dxma,t.height=e.dzma,t.depth=e.dyma,t.addEventListener("onArticleClick",e=>{const t=e.currentTarget;this.onArticleClick(e,t)}),this.img_url_prefix&&e.imgName&&(t.image=this.img_url_prefix+$R(e.imgName)),t})}
+                <slot></slot>
+            </fv-list-box>
+        `}};xR.styles=[((e,t)=>vR(fR(e),t,e))(xR,"styles")||[],$k`${yk(mR)}`],bR([lk()],xR.prototype,"dimensionScale",2),bR([lk()],xR.prototype,"fractionDigits",2),bR([lk()],xR.prototype,"limit",2),bR([lk()],xR.prototype,"img_url_prefix",2),bR([lk({type:Array})],xR.prototype,"list",2),xR=bR([sk("fv-article-list")],xR);var SR,wR,AR,CR,ER,IR,MR,kR,TR=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host(:last-child){margin-bottom:0}:host{border:none!important;cursor:pointer;display:flex;margin-bottom:50px;position:relative}:host:last-child{margin-bottom:0}:host #product-image{height:80px;margin:0 20px;width:80px}:host #product-image .image{--icon-widht:100%;--icon-height:100%;--icon-font-size:2.5rem;height:100%}:host #product-image .image.iconimage{--label-color:var(--default-icon-color,#d1d3d4)}:host #product-image .image{background-position:50%;background-repeat:no-repeat;background-size:contain}:host #product-image .image:is(svg-icon){background-color:var(--default-icon-color,#d1d3d4);mask-size:var(--default-icon-size,contain)}:host #product-image .image.transparent{background-color:transparent;background-image:none}:host .product-actions{bottom:12px;display:flex;gap:4px;position:absolute;right:0}:host .product-actions .product-delete,:host .product-actions .product-move,:host .product-actions .product-reset{--circle-number-symbol-border:2px solid #000;--circle-number-symbol-background:#fff;--circle-number-symbol-box-shadow:none;--circle-number-symbol-color:#000}:host .product-actions .product-delete{transform:rotate(45deg)}:host #product-info{border-bottom:2px solid var(--equipment-list-border-color,#d3d3d3);display:flex;flex:1;flex-direction:column}:host #product-info div{align-items:center;display:flex;flex:1}:host #product-info div #product-number{color:#727272;margin:auto 0}:host #product-info div #product-dimensions{margin-left:20px}`;(wR=SR||(SR={}))[wR.ZOOMAUTO_EXTENDEDAPOINT=0]="ZOOMAUTO_EXTENDEDAPOINT",wR[wR.ZOOMAUTO_EXTENDEDDIR=1]="ZOOMAUTO_EXTENDEDDIR",wR[wR.ZOOMAUTO_FRONTCLIP=2]="ZOOMAUTO_FRONTCLIP",wR[wR.ZOOMAUTO_ROTATE2PI=3]="ZOOMAUTO_ROTATE2PI",wR[wR.ZOOMAUTO_ORTHOCLIP=4]="ZOOMAUTO_ORTHOCLIP",wR[wR.ZOOMAUTO_ZOOMFACTOR=5]="ZOOMAUTO_ZOOMFACTOR",wR[wR.ZOOMAUTO_ORTHOFRONT=6]="ZOOMAUTO_ORTHOFRONT",wR[wR.ZOOMAUTO_PANUPDOWN=7]="ZOOMAUTO_PANUPDOWN",wR[wR.ZOOMAUTO_EXTENDEDCURDIR=8]="ZOOMAUTO_EXTENDEDCURDIR",wR[wR.ZOOMAUTO_CAM_ROTATEMPV=9]="ZOOMAUTO_CAM_ROTATEMPV",wR[wR.ZOOMAUTO_CAM_ROTATEMPH=10]="ZOOMAUTO_CAM_ROTATEMPH",wR[wR.ZOOMAUTO_CAM_ROTATEABOUTMARKED=11]="ZOOMAUTO_CAM_ROTATEABOUTMARKED",wR[wR.ZOOMAUTO_CAM_ROTATEEYELEFTRIGHT=12]="ZOOMAUTO_CAM_ROTATEEYELEFTRIGHT",wR[wR.ZOOMAUTO_CAM_ROTATEEYEUPDOWN=13]="ZOOMAUTO_CAM_ROTATEEYEUPDOWN",wR[wR.ZOOMAUTO_CAM_ROTATELEFTRIGHT=14]="ZOOMAUTO_CAM_ROTATELEFTRIGHT",wR[wR.ZOOMAUTO_CAM_MOVELEFTRIGHT=15]="ZOOMAUTO_CAM_MOVELEFTRIGHT",wR[wR.ZOOMAUTO_CAM_MOVEAXIS3D=16]="ZOOMAUTO_CAM_MOVEAXIS3D",wR[wR.ZOOMAUTO_CAM_MOVEUPDOWN=17]="ZOOMAUTO_CAM_MOVEUPDOWN",wR[wR.ZOOMAUTO_CAM_SETVIEWPOINTMODE=18]="ZOOMAUTO_CAM_SETVIEWPOINTMODE",(CR=AR||(AR={}))[CR.TopLeftFront=-1000109]="TopLeftFront",CR[CR.TopRightFront=-1000110]="TopRightFront",CR[CR.TopLeftBack=-1000108]="TopLeftBack",CR[CR.TopRightBack=-1000107]="TopRightBack",CR[CR.Left=-1000102]="Left",CR[CR.Right=-1000101]="Right",CR[CR.Front=-1000106]="Front",CR[CR.Back=-1000105]="Back",CR[CR.Top=-1000103]="Top",(IR=ER||(ER={}))[IR.ARTICLE=0]="ARTICLE",IR[IR.PROPTRANSFER=1]="PROPTRANSFER",IR[IR.BY_MODE=2]="BY_MODE",IR[IR.FITTING=3]="FITTING",IR[IR.WALL_FITTING=4]="WALL_FITTING",IR[IR.PROGPROPERTY=5]="PROGPROPERTY",(kR=MR||(MR={}))[kR.MOBILE=0]="MOBILE",kR[kR.DESKTOP=1]="DESKTOP";const RR=new class{constructor(){}get Configuration(){return CommunicationInterfaceService.IsAppReady.then(()=>(this._configuration||(this._configuration=window.RequestHelperService?RequestHelperService.fetchConfiguration().then(()=>window.g_configuration):Promise.resolve(window.g_configuration)),this._configuration))}};var LR=Object.defineProperty,PR=Object.getOwnPropertyDescriptor,DR=Object.getPrototypeOf,NR=Reflect.get,FR=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?PR(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&LR(t,r,o),o};let OR=class extends FT{constructor(){super(),this.number="",this.jsaNumber="",this.artText="",this.image="",this.renderActionButtons=!1,this.addEventListener("click",this.onClickEvent)}onClickEvent(e){e.stopPropagation(),this.dispatchEvent(new CustomEvent("onArticleClick",{bubbles:!1}))}onDeleteClick(e){e.stopPropagation(),this.dispatchEvent(new CustomEvent("onDeleteClick",{bubbles:!1}))}onMoveClick(e){e.stopPropagation(),this.dispatchEvent(new CustomEvent("onMoveClick",{bubbles:!1}))}onResetClick(e){e.stopPropagation(),this.dispatchEvent(new CustomEvent("onResetClick",{bubbles:!1}))}firstUpdated(){DragDropHelperService.removeElement(this),DragDropHelperService.addElement(this,{id:this.jsaNumber,type:ER.FITTING})}requestUpdate(e,t,r){var n,i,o,s=e=>super[e];return n=this,i=null,o=function*(){this.renderActionButtons=!(yield RR.Configuration).enable_depth_selection,s("requestUpdate").call(this,e,t,r)},new Promise((e,t)=>{var r=e=>{try{a(o.next(e))}catch(e){t(e)}},s=e=>{try{a(o.throw(e))}catch(e){t(e)}},a=t=>t.done?e(t.value):Promise.resolve(t.value).then(r,s);a((o=o.apply(n,i)).next())})}getDefaultImageIcon(){return getComputedStyle(this).getPropertyValue("--default-image")}render(){const e=this.getDefaultImageIcon().replace(/url\('(.+)'\)/,"$1");let t;const r=this.image||e;if(r){t=-1!==aR.getExtension(r).indexOf("svg")?Zk`<svg-icon class="image" src="${r}"></svg-icon>`:r.startsWith("fv-icon")?Zk`<fv-icon class="image iconimage" icon="${r}"></fv-icon>`:Zk`<fv-icon class="image" src="${r}"></fv-icon>`}return Zk`
+            <div id="product-image">
+                ${t}
+            </div>
+            <div id="product-info">
+                <div><label id="product-artText">${this.artText}</label></div>
+            </div>
+            
+            ${this.renderActionButtons?Zk`<div class="product-actions">
+                <div class="product-move circle-number-symbol" @click="${this.onMoveClick}">
+                    <div class="icon fv-icon-move3d"></div>
+                </div>
+                <div class="product-delete circle-number-symbol" @click="${this.onDeleteClick}">
+                    <div class="icon fv-icon-plus"></div>
+                </div>
+                <div class="product-reset circle-number-symbol" @click="${this.onResetClick}">
+                    <div class="icon fv-icon-reload"></div>
+                </div>
+            </div>`:""}
+        `}};OR.styles=[((e,t)=>NR(DR(e),t,e))(OR,"styles")||[],$k`${yk(TR)}`],FR([lk({type:String,reflect:!0})],OR.prototype,"number",2),FR([lk({type:String,reflect:!0})],OR.prototype,"jsaNumber",2),FR([lk({type:String})],OR.prototype,"artText",2),FR([lk({type:String})],OR.prototype,"image",2),OR=FR([sk("fv-fitting-item")],OR);var BR=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host(:last-child){margin-bottom:0}:host(.active) #product-info div>*{font-weight:var(--global-font-weight-bold,600)!important}:host{border:none!important;cursor:pointer;display:flex;margin-bottom:50px;position:relative}:host.hidden{display:none}:host:last-child{margin-bottom:0}:host #product-image{height:80px;margin:0 20px;width:80px}:host #product-image .image{--icon-widht:100%;--icon-height:100%;--icon-font-size:2.5rem;height:100%}:host #product-image .image.iconimage{--label-color:var(--default-icon-color,#d1d3d4)}:host #product-image .image{background-position:50%;background-repeat:no-repeat;background-size:contain}:host #product-image .image:is(svg-icon){background-color:var(--default-icon-color,#d1d3d4);mask-size:var(--default-icon-size,contain)}:host #product-image .image.transparent{background-color:transparent;background-image:none}:host .product{--circle-number-symbol-border:2px solid #000;--circle-number-symbol-background:#fff;--circle-number-symbol-box-shadow:none;--circle-number-symbol-color:#000;bottom:12px;position:absolute}:host .product.add{display:var(--proptrans-add-symbol-display,none);right:40px}:host .product.delete{right:0;transform:rotate(45deg)}:host #product-info{border-bottom:2px solid var(--equipment-list-border-color,#d3d3d3);display:flex;flex:1;flex-direction:column}:host #product-info div{align-items:center;display:flex;flex:1}:host #product-info div #product-number{color:#727272;margin:auto 0}:host #product-info div #product-dimensions{margin-left:20px}`,UR=Object.defineProperty,VR=Object.getOwnPropertyDescriptor,zR=Object.getPrototypeOf,HR=Reflect.get,GR=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?VR(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&UR(t,r,o),o};let jR=class extends FT{constructor(){super(),this.ptid="",this.number="",this.artText="",this.image="",this.addEventListener("click",this.onClickEvent)}onDeleteClick(e){e.stopPropagation(),this.dispatchEvent(new CustomEvent("onDeleteClick",{bubbles:!1}))}onClickEvent(e){e.stopPropagation(),this.dispatchEvent(new CustomEvent("onArticleClick",{bubbles:!1}))}firstUpdated(){DragDropHelperService.removeElement(this),DragDropHelperService.addElement(this,{id:this.ptid,type:ER.PROPTRANSFER})}getDefaultImageIcon(){return getComputedStyle(this).getPropertyValue("--default-image")}render(){const e=this.getDefaultImageIcon().replace(/url\('(.+)'\)/,"$1");let t;const r=this.image||e;if(r){t=-1!==aR.getExtension(r).indexOf("svg")?Zk`<svg-icon class="image" src="${r}"></svg-icon>`:r.startsWith("fv-icon")?Zk`<fv-icon class="image iconimage" icon="${r}"></fv-icon>`:Zk`<fv-icon class="image" src="${r}"></fv-icon>`}return Zk`
+            <div id="product-image">
+                ${t}
+            </div>
+            <div id="product-info">
+                <div><label id="product-artText">${this.artText}</label></div>
+            </div>
+            <div class="product add circle-number-symbol">
+                <div class="icon fv-icon-plus"></div>
+            </div>
+            <div class="product delete circle-number-symbol" @click="${this.onDeleteClick}">
+                <div class="icon fv-icon-plus"></div>
+            </div>
+        `}};jR.styles=[((e,t)=>HR(zR(e),t,e))(jR,"styles")||[],$k`${yk(BR)}`],GR([lk({type:String})],jR.prototype,"ptid",2),GR([lk({type:String,reflect:!0})],jR.prototype,"number",2),GR([lk({type:String})],jR.prototype,"artText",2),GR([lk({type:String})],jR.prototype,"image",2),jR=GR([sk("fv-proptrans-item")],jR);var JR=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host(:last-child){margin-bottom:0}:host{border:none!important;cursor:pointer;display:flex;margin-bottom:50px}:host:last-child{margin-bottom:0}:host #product-image{height:80px;margin:0 20px;width:80px}:host #product-image .image{--icon-widht:100%;--icon-height:100%;--icon-font-size:2.5rem;height:100%}:host #product-image .image.iconimage{--label-color:var(--default-icon-color,#d1d3d4)}:host #product-image .image{background-position:50%;background-repeat:no-repeat;background-size:contain}:host #product-image .image:is(svg-icon){background-color:var(--default-icon-color,#d1d3d4);mask-size:var(--default-icon-size,contain)}:host #product-image .image.transparent{background-color:transparent;background-image:none}:host #product-info{border-bottom:2px solid var(--equipment-list-border-color,#d3d3d3);display:flex;flex:1;flex-direction:column}:host #product-info div{align-items:center;display:flex;flex:1}:host #product-info div #product-number{color:#727272;margin:auto 0}:host #product-info div #product-dimensions{margin-left:20px}`,WR=Object.defineProperty,QR=Object.getOwnPropertyDescriptor,qR=Object.getPrototypeOf,YR=Reflect.get,XR=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?QR(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&WR(t,r,o),o};let KR=class extends FT{constructor(){super(),this.number="",this.artText="",this.image="",this.addEventListener("click",this.onClickEvent)}onClickEvent(e){e.stopPropagation(),this.dispatchEvent(new CustomEvent("onArticleClick",{bubbles:!1}))}getDefaultImageIcon(){return getComputedStyle(this).getPropertyValue("--default-image")}render(){const e=this.getDefaultImageIcon().replace(/url\('(.+)'\)/,"$1");let t;const r=this.image||e;if(r){t=-1!==aR.getExtension(r).indexOf("svg")?Zk`<svg-icon class="image" src="${r}"></svg-icon>`:r.startsWith("fv-icon")?Zk`<fv-icon class="image iconimage" icon="${r}"></fv-icon>`:Zk`<fv-icon class="image" src="${r}"></fv-icon>`}return Zk`
+            <div id="product-image">
+                ${t}
+            </div>
+            <div id="product-info">
+                <div><label id="product-artText">${this.artText}</label></div>
+            </div>
+        `}};KR.styles=[((e,t)=>YR(qR(e),t,e))(KR,"styles")||[],$k`${yk(JR)}`],XR([lk({type:String,reflect:!0})],KR.prototype,"number",2),XR([lk({type:String})],KR.prototype,"artText",2),XR([lk({type:String})],KR.prototype,"image",2),KR=XR([sk("fv-shoppingcart-item")],KR);var ZR=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{display:flex;flex:1;flex-direction:column;height:100%;padding:var(--equipment-list-padding,unset);width:100%}:host #article-list-container{display:block;flex:1;width:100%}:host #filter-container{align-items:center;display:flex;flex:none;flex-wrap:wrap;justify-content:center;padding:5px .5rem 15px}:host #filter-container fv-button{--button-span-margin:6px;background-color:#fff;border:2px solid var(--primary-color,red);color:var(--primary-color,red);display:inline-block;margin:1px;min-width:unset;padding:0!important;text-align:center}:host #filter-container fv-button.active{background-color:var(--primary-color,red);color:var(--primary-button-text-color,#fff)!important}:host #filter-container fv-button::part(button){color:var(--primary-color,red);min-width:unset;padding:0}:host #filter-container fv-button.active::part(button){color:var(--primary-button-text-color,#fff);min-width:unset;padding:0}:host fv-proptrans-item{--proptrans-add-symbol-display:var(--equipment-list-prop-trans-add-symbol-display,none)}:host fv-pp-container{--icon-background-size:var(--equipment-list-pp-container-icon-background-size,unset);--icon-img-border-radius:var(--equipment-list-pp-container-icon-img-border-radius,unset);--accordion-bordered-color:var(--equipment-list-border-color,#d3d3d3)}:host(.step-disabled){--step-child-disabled-pointer-events:all//enables scrolling;opacity:.5}:host(.step-disabled) fv-list-box>*{pointer-events:none}`,eL=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{align-self:var(--button-align-self,unset);aspect-ratio:var(--fv-button-aspect-ratio,auto);background-color:var(--primary-color,red);box-shadow:var(--fv-button-box-shadow,unset);cursor:pointer;display:flex;height:auto;margin:var(--fv-button-host-margin,unset);min-height:var(--button-min-height,0);min-width:var(--fv-button-min-width,60px);padding:var(--fv-button-host-padding,unset);width:auto;z-index:var(--button-zIndex,2)}:host.hidden{display:none}:host button{background-color:var(--fv-button-html-button-background-color,inherit);border:none;border-right:var(--button-border-right,unset);color:var(--primary-button-text-color,#fff);cursor:inherit;font-family:inherit;font-size:var(--button-font-size,unset);margin:var(--button-margin,auto);min-height:inherit;min-width:var(--fv-button-html-button-min-width,80px);padding:var(--fv-button-html-button-padding,0)}:host button>span{align-items:var(--button-inner-align-items,end);display:inline-flex;flex-direction:var(--button-inner-flex-direction,unset);gap:var(--button-inner-gap,unset);height:var(--button-span-height,inherit);justify-content:var(--button-inner-justify-content,unset);margin:var(--button-span-margin,16px);width:var(--button-inner-width,inherit)}:host button>span .loader-slot,:host button>span slot[name=active]{display:none}:host button>span>img{margin:var(--button-img-margin,auto 12px auto auto);max-height:24px;max-width:32px}:host(.bordered){background-color:var(--bordered-background-color,#fff);border:var(--button-border-size,2px) solid var(--bordered-color,red);border-radius:var(--button-border-radius,unset);overflow:var(--button-bordered-overflow,unset)}:host(.bordered) button{color:var(--bordered-text-color,var(--bordered-color,red))}:host(.bordered.active){background-color:var(--bordered-background-color-active,var(--bordered-background-color,#fff))}:host(.disabled.bordered){border:var(--button-border-size,2px) solid var(--disabled-bordered-color,var(--bordered-color,red))}:host(.disabled.bordered) button{color:var(--disabled-bordered-color,var(--bordered-color,red))}:host([disabled]){color:var(--primary-disabled-button-text-color,var(--primary-button-text-color,#fff));outline:none;z-index:0}:host(:hover) button{font-weight:var(--button-hover-font-weight,var(--global-font-weight,400))}:host(:hover.custom-hover-color) button{color:var(--primary-button-text-hover-color,#fff)}:host([toggleable].active) button span slot[name=inactive]{display:none}:host([toggleable].active) button span slot[name=active]{display:initial}:host(.active){background-color:var(--primary-button-active-background-color,var(--primary-color,red))}:host(.active) button{color:var(--primary-button-text-active-color,#fff)}:host(:active.custom-click-color){background-color:var(--button-custom-click-background-color,unset)!important;transition:all .15s ease}:host(.cover){height:100%;width:100%}:host(.fill-height){height:var(--button-fill-height,100%)}:host(.fill-height) button{height:var(--button-fill-height-button-height,unset)}:host(:hover.custom-hover-border){background-color:var(--button-custom-hover-background-color,var(--button-border-size,2px) solid var(--bordered-color,red));border:var(--button-custom-hover-border,var(--bordered-background-color,#fff))}:host(.loading) button>span .loader-slot{display:flex}:host(.show-on-mobile){display:none}@media (width <= 520px){:host{margin:var(--fv-button-host-mobile-margin,var(--fv-button-host-margin,unset));padding:var(--fv-button-host-mobile-padding,var(--fv-button-host-padding,unset))}:host button>span{margin:var(--button-span-mobile-margin,var(--button-span-margin,16px));width:var(--button-mobile-inner-width,var(--button-inner-width,inherit))}:host(.hide-on-mobile){display:none}:host(.show-on-mobile){display:flex}}@media (width >= 520px) and (width <= 980px){:host{margin:var(--fv-button-host-mobile-margin,var(--fv-button-host-margin,unset));padding:var(--fv-button-host-mobile-padding,var(--fv-button-host-padding,unset))}:host button>span{margin:var(--button-span-mobile-margin,var(--button-span-margin,16px));width:var(--button-mobile-inner-width,var(--button-inner-width,inherit))}:host(.hide-on-mobile){display:none}:host(.show-on-mobile){display:flex}}`;const tL=new class{constructor(){this._updateMaxContentHeightPromise=Promise.resolve(),this._updateInstance=-1e10}updateMaxTransitionHeight(e,t,r=!1){return n=this,i=null,o=function*(){const n=++this._updateInstance;return yield this._updateMaxContentHeightPromise,e&&n>=this._updateInstance&&(this._updateMaxContentHeightPromise=new Promise(n=>{e.style.setProperty("max-height",null!=t?t:"none");const i=this.getSize(e);e.style.removeProperty("max-height");const o=()=>(e.style.setProperty("--max-transition-height",i.height+"px"),n());r?o():requestAnimationFrame(o)})),this._updateMaxContentHeightPromise},new Promise((e,t)=>{var r=e=>{try{a(o.next(e))}catch(e){t(e)}},s=e=>{try{a(o.throw(e))}catch(e){t(e)}},a=t=>t.done?e(t.value):Promise.resolve(t.value).then(r,s);a((o=o.apply(n,i)).next())});var n,i,o}hexToRgb(e){const t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16)}:null}getSize(e){const t=window.getComputedStyle(e),r=e.offsetWidth,n=e.offsetHeight,i=parseFloat(t.marginLeft)+parseFloat(t.marginRight),o=parseFloat(t.marginTop)+parseFloat(t.marginBottom),s=parseFloat(t.paddingLeft)+parseFloat(t.paddingRight),a=parseFloat(t.paddingTop)+parseFloat(t.paddingBottom);return{width:r+i-s+(parseFloat(t.borderLeftWidth)+parseFloat(t.borderRightWidth)),height:n+o-a+(parseFloat(t.borderTopWidth)+parseFloat(t.borderBottomWidth))}}isElementInView(e,t,r){const n=window.getComputedStyle(e),i=parseFloat(n.marginLeft),o=parseFloat(n.marginTop),s=t.scrollTop,a=s+this.getSize(t).height,l=e.offsetTop-t.offsetTop-o,c=l+this.getSize(e).height,u=t.scrollLeft,d=u+this.getSize(t).width,h=e.offsetLeft-t.offsetLeft-i,p=h+this.getSize(e).width;return r?s<l&&a>c&&u<h&&d>p:l<=a&&c>=s&&h<=d&&p>=u}getVar(e,t,r=""){if(e&&e.style){const r=e.style.getPropertyValue(t);if(r)return r}return r}requestAnimationFrame(){return new Promise(e=>requestAnimationFrame(()=>requestAnimationFrame(()=>e(void 0))))}};var rL=Object.defineProperty,nL=Object.getOwnPropertyDescriptor,iL=Object.getPrototypeOf,oL=Reflect.get,sL=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?nL(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&rL(t,r,o),o};let aL=class extends FT{constructor(){super(),this.disabled=!1,this.toggleable=!1,this.icon="",this.addEventListener("click",e=>{this.classList.contains("disabled")&&(e.preventDefault(),e.stopPropagation())}),this.addEventListener("click",()=>{this.toggleable&&(this.classList.contains("active")?this.classList.remove("active"):this.classList.add("active"))})}buildIcon(){return this.icon.length>0?Zk`<i part="icon" class="icon ${this.icon}"></i>`:Zk`${tL.getVar(this,"--button-image")?Zk`<img part="icon" src="${tL.getVar(this,"--button-image")}">`:""}`}render(){return Zk`
+            <button part="button">
+                <span>
+                    ${this.buildIcon()}
+                    <slot></slot>
+                    <slot name="inactive"></slot>
+                    <slot name="active"></slot>
+                    <slot class="loader-slot" name="loader"></slot>
+                </span>
+            </button>
+        `}};aL.styles=[((e,t)=>oL(iL(e),t,e))(aL,"styles")||[],$k`${yk(eL)}`],sL([lk({type:Boolean,reflect:!0})],aL.prototype,"disabled",2),sL([lk({type:Boolean,reflect:!0})],aL.prototype,"toggleable",2),sL([lk({type:String,reflect:!0})],aL.prototype,"icon",2),aL=sL([sk("fv-button")],aL);var lL=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{width:var(--confirming-button-width,initial)}:host fv-button{cursor:pointer;height:var(--confirming-button-inner-height,initial);position:relative;width:var(--confirming-button-inner-width,initial)}:host fv-button .button{background-color:var(--confirming-button-color,#fff);box-shadow:var(--confirming-button-box-shadow,initial);color:var(--confirming-button-text-color,initial);cursor:pointer;display:flex;font-size:var(--confirming-button-font-size,initial);font-weight:var(--confirming-button-font-weight,initial);padding:var(--confirming-button-padding,initial);position:relative;width:fit-content}:host fv-button .button span{border:0;color:var(--confirming-button-text-color,initial);display:flex;font-size:var(--confirming-button-font-size,initial);font-weight:var(--confirming-button-font-weight,initial);margin:0;padding:0;width:fit-content}:host fv-button .button span .loader-slot.hidden{display:none}:host fv-button .button .button-text-animation-container{position:relative;width:fit-content}:host fv-button .button .button-text-animation-container .button-text{justify-content:center;left:0;position:absolute;width:100%!important}:host fv-button .button .button-text-animation-container .button-text-send-space{color:var(--confirming-button-color,#fff)!important}:host fv-button .button-send-text-container{height:100%;left:0;position:absolute;top:0;width:100%;z-index:9}:host fv-button .button-send-text-container .animation-container{height:100%;position:relative;width:100%}:host fv-button .button-send-text-container .animation-container span{border:0;color:var(--confirming-button-text-color,initial);display:flex;font-size:var(--confirming-button-font-size,initial);font-weight:var(--confirming-button-font-weight,initial);margin:0;padding:0;width:fit-content}:host fv-button .button-send-text-container .animation-container span.button-text-send{align-items:center;animation:text-transition var(--confirming-button-animation-duration,1s);background-color:var(--confirming-button-color,#fff);display:flex;height:100%;justify-content:center;overflow:hidden;position:absolute;width:100%;z-index:9}:host fv-button .checkmark{align-items:center;border:0;color:var(--confirming-button-text-color,initial);display:flex;font-size:var(--confirming-button-font-size,initial);font-weight:var(--confirming-button-font-weight,initial);height:100%;justify-content:center;margin:0;padding:0;position:absolute;right:var(--confirming-button-checkmark-space-right,0);top:0;width:fit-content;z-index:9}:host fv-button .checkmark.hidden{display:none}:host fv-button .checkmark .checkmark-svg{height:var(--confirming-button-checkmark-size,.75em);padding-left:var(--confirming-button-checkmark-space-left,0);width:var(--confirming-button-checkmark-size,.75em)}:host fv-button .checkmark .checkmark-svg path{fill:var(--confirming-button-checkmark-fill,none);stroke:var(--confirming-button-checkmark-color,#7ac142);stroke-width:var(--confirming-button-checkmark-stroke-width,4);stroke-dasharray:var(--confirming-button-checkmark-stroke-dasharray,23);stroke-dashoffset:var(--confirming-button-checkmark-stroke-dashoffset,23);stroke-linecap:var(--confirming-button-checkmark-linecap,round);stroke-linejoin:var(--confirming-button-checkmark-linejoin,round);animation:draw-checkmark var(--confirming-button-animation-duration,1s) linear var(--confirming-button-checkmark-direction,forwards)}:host fv-button.send .button-send-text-container .animation-container .button-text-send{background-color:var(--confirming-button-send-button-color,var(--confirming-button-color,#fff))!important;color:var(--confirming-button-send-text-color,initial)!important}@keyframes text-transition{0%{width:0}to{width:100%}}@keyframes draw-checkmark{0%{stroke:var(--confirming-button-checkmark-color,#7ac142);stroke-dashoffset:var(--confirming-button-checkmark-stroke-dashoffset,23)}40%{stroke:var(--confirming-button-checkmark-color,#7ac142)}to{stroke:var(--confirming-button-send-text-color,initial);stroke-dashoffset:0}}`,cL=Object.defineProperty,uL=Object.getOwnPropertyDescriptor,dL=Object.getPrototypeOf,hL=Reflect.get,pL=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?uL(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&cL(t,r,o),o};let mL=class extends FT{constructor(){super(),this._txt="",this._confirmTxt="",this._disabled=!1,this._wasSend=!1}get confirmed(){return this._wasSend}set loaderState(e){var t,r;e?null==(t=this._loaderElement)||t.classList.remove("hidden"):null==(r=this._loaderElement)||r.classList.add("hidden")}reset(){var e,t,r;null==(e=this._buttonTextSend)||e.classList.add("hidden"),null==(t=this._checkmark)||t.classList.add("hidden"),null==(r=this._buttonContainer)||r.classList.remove("send"),this._wasSend=!1,this.requestUpdate()}confirm(e=!0){var t;this._wasSend||(null==(t=this._buttonContainer)||t.classList.add("send"),this._wasSend=!0,e&&this.triggerAnimation())}hideCheckMark(){if(this.classList.contains("hide-checkmark")){let e=getComputedStyle(this).getPropertyValue("--share-link-per-mail-mask-checkmark-hide-delay");e=e.length>0?e:"1500ms";let t=0;e.includes("ms")&&(e=e.replace("ms",""),t=parseInt(e)),e.includes("s")&&(e=e.replace("s",""),t=1e3*parseFloat(e)),setTimeout(()=>{var e;null==(e=this._checkmark)||e.classList.add("hidden")},t)}}showCheckMark(){var e;null==(e=this._checkmark)||e.classList.remove("hidden")}triggerAnimation(){var e;this.showCheckMark(),this.hideCheckMark(),null==(e=this._buttonTextSend)||e.classList.remove("hidden")}createButton(e){return this._disabled?Zk`<fv-button class="button-container" disabled>${e}</fv-button>`:Zk`<fv-button class="button-container">${e}</fv-button>`}render(){const e=LocalesModel.translate(this._confirmTxt),t=LocalesModel.translate(this._txt);return Zk`
+            ${this.createButton(Zk`
+                <div class="button">
+                    <span class="button-text-animation-container">
+                        <span class="button-text-send-space">${e.length>t.length?e:t}</span>
+                        <span class="button-text" i18n="${this._txt}">${t}</span>
+                    </span>
+                    <span><slot class="loader-slot hidden" name="loader"></slot></span>
+                </div>
+                <div class="button-send-text-container">
+                    <div class="animation-container">
+                        <span class="button-text-send hidden" i18n="${this._confirmTxt}">${e}</span>
+                    </div>
+                </div>
+                <div class="checkmark hidden">
+                    <svg class="checkmark-svg" viewBox="0 0 24 24">
+                        <path d="M4.1 12.7L9 17.6 20.3 6.3" fill="none"/>
+                    </svg>
+                </div>
+            `)}
+        `}localesModelLoaded(){this.requestUpdate()}};mL.styles=[((e,t)=>hL(dL(e),t,e))(mL,"styles")||[],$k`${yk(lL)}`],pL([lk({type:String,reflect:!0,attribute:"txt"})],mL.prototype,"_txt",2),pL([lk({type:String,reflect:!0,attribute:"confirm-txt"})],mL.prototype,"_confirmTxt",2),pL([lk({type:Boolean,reflect:!0,attribute:"disabled"})],mL.prototype,"_disabled",2),pL([dk(".button-container")],mL.prototype,"_buttonContainer",2),pL([dk(".button-text-send")],mL.prototype,"_buttonTextSend",2),pL([dk(".checkmark")],mL.prototype,"_checkmark",2),pL([dk(".loader-slot")],mL.prototype,"_loaderElement",2),mL=pL([sk("fv-confirming-button")],mL);var _L=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});const gL=new class{constructor(){this._cachedGroupInformation={},this._cachedFinishParams={}}findMany(e,t,r,n=!1){return _L(this,null,function*(){const i={};return yield this.traverse({propertyCallback:(n,o,s,a,l)=>{-1!==(null==r?void 0:r.indexOf(s.key))&&n.manufacturerName===e&&o.programName===t&&(i[s.key]=Object.assign(n,o,s,{currentValue:l}))}},n),i})}findOne(e,t,r,n=!1){return _L(this,null,function*(){let i;return yield this.traverse({propertyCallback:(n,o,s)=>{s.key===r&&n.manufacturerName===e&&o.programName===t&&(i=Object.assign(n,o,s))}},n),i})}find(e,t,r,n,i,o,s){return _L(this,null,function*(){return null==CommunicationMessageService?void 0:CommunicationMessageService.getProgProperties({manufacturer:e,program:t,useSelection:r,useRelevant:n,fullHierarchy:i,instanceIdents:o})})}findAll(e,t,r){return _L(this,null,function*(){return yield this.find(void 0,void 0,e,t,!0,r)})}getGroupInformation(e,t){return _L(this,null,function*(){return null==CommunicationMessageService?void 0:CommunicationMessageService.getMerkmalGroupInformation({manufacturer:e,program:t})})}getFinishParams(e,t,r,n=!1){return _L(this,null,function*(){return!n&&this._cachedFinishParams[e]&&this._cachedFinishParams[e][t]&&this._cachedFinishParams[e][t][r||"unknown"]?Promise.resolve(this._cachedFinishParams[e][t][r||"unknown"]):null==CommunicationMessageService?void 0:CommunicationMessageService.getFinishParams({manufacturer:e,program:t,association:r}).then(n=>(this._cachedFinishParams[e]||(this._cachedFinishParams[e]={}),this._cachedFinishParams[e][t]||(this._cachedFinishParams[e][t]={}),r&&!this._cachedFinishParams[e][t][r]?this._cachedFinishParams[e][t][r]={}:r||this._cachedFinishParams[e][t].unknown||(this._cachedFinishParams[e][t].unknown={}),this._cachedFinishParams[e][t][r||"unknown"]=n,this._cachedFinishParams[e][t][r||"unknown"]))})}traverse(e,t=!1){return _L(this,null,function*(){var r;const n=this._cachedManufacturerList&&t?this._cachedManufacturerList:yield gL.findAll(!0,!0);if(this._cachedManufacturerList=t?n:void 0,!n||!n.children)return!1;const i=Object.values(n.children);for(let n=0;n<i.length;n++){const o=i[n];e.manufacturerCallback&&e.manufacturerCallback(o);const s=Object.values(o.children);for(let n=0;n<s.length;n++){const i=s[n];e.programCallback&&e.programCallback(o,i);let a=yield this._getGroupInformation(e,o,i,t);a=this.mergeGroupInformation(a);const l=i.propertyKeyOrder||Object.keys(i.children);for(let t=0;t<l.length;t++){const r=l[t],n=i.children[r],s=Object.values(n.children);let c;if((s.length>1||1===s.length&&s[0].key.toLowerCase().startsWith("[dh_ausf"))&&(c=s.find(e=>e.propertyKey===n.currentValue)),e.propertyCallback&&e.propertyCallback(o,i,n,s,c),a&&e.propertyGroupedCallback){let e=!1;for(let t=0;t<a.length;t++){for(const r of a[t].keys)if(r.key===+n.id){r.progPropertyModel=n,r.progPropertyValueList=s,r.currentValue=c,e=!0;break}if(e)break}}}if(a&&e.propertyGroupedCallback)for(let t=0;t<a.length;t++){const n=a[t];for(const e of l)n.keys.sort((t,r)=>e.endsWith(t.key.toString())?1:e.endsWith(r.key.toString())?-1:0);if(!(null==n?void 0:n.title)){for(const t of n.keys){const s={keys:[t],title:(null==(r=t.progPropertyModel)?void 0:r.name)||"",img:n.img,id:n.id};if(!(yield e.propertyGroupedCallback(o,i,s).then(()=>!0).catch(e=>!1)))return!1}continue}if(!(yield e.propertyGroupedCallback(o,i,a[t]).then(()=>!0).catch(e=>!1)))return!1}}}return!0})}_getGroupInformation(e,t,r,n=!1){return _L(this,null,function*(){let i=e.propertyGroupedCallback?this._cachedGroupInformation&&n&&this._cachedGroupInformation[t.manufacturerName]&&this._cachedGroupInformation[t.manufacturerName][r.programName]?this._cachedGroupInformation[t.manufacturerName][r.programName]:yield this.getGroupInformation(t.manufacturerName,r.programName):void 0;return i&&(i=yield this._fetchImages(i,t,r),this._cachedGroupInformation[t.manufacturerName]||(this._cachedGroupInformation[t.manufacturerName]={}),n&&(this._cachedGroupInformation[t.manufacturerName][r.programName]=i)),i})}_fetchImages(e,t,r){return _L(this,null,function*(){return yield Promise.all(e.map(e=>_L(this,null,function*(){return Object.assign(e,{imgSrc:e.img?yield CommunicationMessageService.getMediaUrl(t.manufacturerName,"","groups",e.img,!0,!1):void 0})})))})}mergeGroupInformation(e){if(!e)return;const t={};return e.forEach(e=>{const r=Object.keys(t).find(t=>e.id.startsWith(t))||e.id;t[r]||(t[r]=Object.assign(e,{id:r,title:e.title,img:e.img})),t[r].keys=t[r].keys.concat(e.keys)}),Object.values(t)}};var fL,vL,bL=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});(vL=fL||(fL={}))[vL.ALL=0]="ALL",vL[vL.GLOBAL=1]="GLOBAL",vL[vL.LOCAL=2]="LOCAL";const yL=new class{get(e){return bL(this,null,function*(){return yield CommunicationMessageService.getPropertyContext(e)})}dispose(e){return bL(this,null,function*(){return yield CommunicationMessageService.disposePropertyContext(e)})}findMany(e,t,r,n){return bL(this,null,function*(){const e={};return yield this.traverse({propertyCallback:(i,o,s,a,l)=>{-1!==(null==n?void 0:n.indexOf(s.key))&&i.manufacturerName===t&&o.programName===r&&(e[s.key]=Object.assign(i,o,s,{currentValue:l}))}},{useRelevant:!0,useSelection:!0,filterStrategy:2}),e})}findOne(e,t,r){return bL(this,null,function*(){let n;return yield this.traverse({propertyCallback:(i,o,s)=>{s.key===r&&i.manufacturerName===e&&o.programName===t&&(n=Object.assign(i,o,s))}},{useRelevant:!0,useSelection:!0,filterStrategy:2}),n})}findAll(e,t,r,n){return bL(this,null,function*(){return yield this.get({manufacturer:void 0,program:void 0,useSelection:e,useRelevant:t,instanceIdents:r,filterStrategy:n})})}traverse(e,t,r=!1){return bL(this,null,function*(){var n;const i=this._cachedContextList&&r?this._cachedContextList:yield this.get(t);if(this._cachedContextList=r?this._cachedContextList:i,!i||!i.children)return!1;const o=Object.values(i.children);for(let t=0;t<o.length;t++){const i=o[t];e.manufacturerCallback&&e.manufacturerCallback(i);const s=Object.values(i.children);for(let t=0;t<s.length;t++){const o=s[t];e.programCallback&&e.programCallback(i,o);const a=yield gL._getGroupInformation(e,i,o,r),l=o.propertyKeyOrder||Object.keys(o.children);for(let t=0;t<l.length;t++){const r=l[t],n=o.children[r],s=Object.values(n.children);let c;if(s.length>0&&(c=s.find(e=>e.propertyKey===n.currentValue)),e.propertyCallback&&e.propertyCallback(i,o,n,s,c),a&&e.propertyGroupedCallback){let e=!1;for(let t=0;t<a.length;t++){for(const r of a[t].keys)if(r.key===+n.id){r.progPropertyModel=n,r.progPropertyValueList=s,r.currentValue=c,e=!0;break}if(e)break}}}if(a&&e.propertyGroupedCallback)for(let t=0;t<a.length;t++){const r=a[t];for(const e of l)r.keys.sort((t,r)=>e.endsWith(t.key.toString())?1:e.endsWith(r.key.toString())?-1:0);if(!(null==r?void 0:r.title)){for(const t of r.keys){const s={keys:[t],title:(null==(n=t.progPropertyModel)?void 0:n.name)||"",img:r.img,id:r.id};if(!(yield e.propertyGroupedCallback(i,o,s).then(()=>!0).catch(e=>!1)))return!1}continue}if(!(yield e.propertyGroupedCallback(i,o,a[t]).then(()=>!0).catch(e=>!1)))return!1}}}return!0})}};var $L=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});const xL=new class{constructor(){this._pending=!1,this.isInitialized=new Promise((e,t)=>e([])),this._manufacturer="",this._program=""}GetCatConfig(){return $L(this,null,function*(){return yield this.isInitialized})}parseCatConfig(e,t){return $L(this,null,function*(){var r;const n=yield CommunicationMessageService.getCatConfig(e,t);return(null==(r=null==n?void 0:n.cat_config)?void 0:r.map(e=>({category:e[0],attributes:e[1].split("#"),defaultArt:e[2],module:e[3],group:e[4]})))||[]})}retrieveCatConfig(e,t){return $L(this,null,function*(){return this._pending&&(yield this.isInitialized),this._pending=!0,this.isInitialized=this.parseCatConfig(e,t),this.isInitialized.then(e=>this._pending=!1),this._manufacturer=e,this._program=t,yield this.isInitialized})}filterArticlesList(e){return $L(this,null,function*(){const t=yield this.isInitialized;return(null==t?void 0:t.length)>0?e.filter(e=>{var r;return(null==(r=t[0])?void 0:r.defaultArt)!==e.ArtNr}):e})}filterKataModules(e){return $L(this,null,function*(){const t=yield this.isInitialized;return(null==t?void 0:t.length)>0?e.filter(e=>{var r;return(null==(r=t[0])?void 0:r.category)!=e.id}):e})}getInitialArticle(e){return $L(this,null,function*(){var t;return(null==(t=(yield this.isInitialized)[0])?void 0:t.defaultArt)||e})}shouldDisableOnSceneEmpty(e){return $L(this,null,function*(){yield CommunicationInterfaceService.IsAppReady;let t=yield CommunicationMessageService.getPlannedArticles();return t=t.filter(e=>e.articlenumber),e&&0===t.length})}};var SL=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});const wL=new class{constructor(){this._pending=!1,this.isInitialized=new Promise((e,t)=>e()),this._manufacturer="",this._calcManufacturer="",this._program="",this.isInitialized=this.initialize()}initialize(){return SL(this,null,function*(){var e,t;yield CommunicationInterfaceService.IsAppReady,this._manufacturer=(null==(e=window.g_article)?void 0:e.manu)||window.g_configuration.selectedManufacturer,this._program=(null==(t=window.g_article)?void 0:t.prog)?window.g_article.prog.toUpperCase():window.g_configuration.selectedProgram.toUpperCase(),this._calcManufacturer=this._manufacturer,yield xL.retrieveCatConfig(this._manufacturer,this._program)})}getManufacturer(){return SL(this,null,function*(){return yield this.isInitialized,this._manufacturer})}getCalcManufacturer(){return SL(this,null,function*(){return yield this.isInitialized,this._calcManufacturer})}getProgram(){return SL(this,null,function*(){return yield this.isInitialized,this._program})}setManuProg(e,t,r){return SL(this,null,function*(){if(this._pending)return yield this.isInitialized;this._pending=!0,this.isInitialized=CommunicationMessageService.setManuProg(e,t,r),yield xL.retrieveCatConfig(e,r),this.isInitialized.then(e=>this._pending=!1),yield this.isInitialized,this._manufacturer=e,this._calcManufacturer=t,this._program=r})}};var AL=$k`:host(.step-disabled){opacity:var(--step-child-disabled-opacity,.5);pointer-events:var(--step-child-disabled-pointer-events,none)}`,CL=Object.defineProperty,EL=Object.getOwnPropertyDescriptor,IL=Object.getPrototypeOf,ML=Reflect.get,kL=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});const TL=class extends FT{constructor(){super(...arguments),this.disableIfSceneEmpty=!1}firstUpdated(e){var t=e=>super[e];return kL(this,null,function*(){EventFactoryService.LastPOLoaded.register(()=>kL(this,null,function*(){yield this._checkSceneEmptyState()})),EventFactoryService.DeleteLO_after.register(()=>kL(this,null,function*(){yield this._checkSceneEmptyState()})),EventFactoryService.SelectionChanged.register(()=>kL(this,null,function*(){yield this._checkSceneEmptyState()})),EventFactoryService.ChangePrice.register(()=>kL(this,null,function*(){yield this._checkSceneEmptyState()})),yield this._checkSceneEmptyState(),t("firstUpdated").call(this,e)})}updated(e){super.updated(e),this._checkSceneEmptyState()}_checkSceneEmptyState(){return kL(this,null,function*(){this.classList.remove("step-disabled"),this.disableIfSceneEmpty&&(yield xL.shouldDisableOnSceneEmpty(this.disableIfSceneEmpty))&&this.classList.add("step-disabled")})}};let RL=TL;RL.styles=[((e,t)=>ML(IL(e),t,e))(TL,"styles")||[],yk(AL)],((e,t,r,n)=>{for(var i,o=n>1?void 0:n?EL(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);n&&o&&CL(t,r,o)})([lk({type:Boolean,reflect:!0,attribute:"disable-if-scene-empty"})],RL.prototype,"disableIfSceneEmpty",2);var LL=Object.defineProperty,PL=Object.getOwnPropertyDescriptor,DL=Object.getPrototypeOf,NL=Reflect.get,FL=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?PL(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&LL(t,r,o),o},OL=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});function BL(e){return e&&e.length>0?e.replace(/&#([0-9]+);/g,function(e){return String.fromCodePoint(parseInt(e.slice(2,-1)))}):e}let UL=class extends RL{constructor(){super(),this._finishedLoading=!1,this._manufacturer="",this._program="",this._offset=0,this._registeredEquipmentArtNos=new Set,this._categoryFilter=[],this._isScrolling=!1,this._showWildCardFilter=!0,this.filteredList=[],this.listAll=[],this._hideShoppingCartItems=!1,this.limit=2e3,this.img_url_prefix="",this.highlightSceneElements=!1,this.hideSingleCategory=!1,this._borderedFilters=!1,this.list=[],this.selfInitialize=!1,this.selfInitialized=!1,this.onFittingClick=(e,t,r)=>OL(this,null,function*(){void 0!==(null==r?void 0:r.frontState)&&(yield null==CommunicationMessageService?void 0:CommunicationMessageService.frontState(1==r.frontState)),t.jsaNumber&&(yield null==CommunicationMessageService?void 0:CommunicationMessageService.loadArticle(this._manufacturer,this._program,t.jsaNumber))}),this.onFittingDeleteClick=(e,t)=>OL(this,null,function*(){yield null==CommunicationMessageService?void 0:CommunicationMessageService.fittingRemove()}),this.onFittingMoveClick=(e,t)=>OL(this,null,function*(){yield null==CommunicationMessageService?void 0:CommunicationMessageService.fittingMove()}),this.onFittingResetClick=(e,t)=>OL(this,null,function*(){yield null==CommunicationMessageService?void 0:CommunicationMessageService.fittingReset()}),this.onProptransferClick=(e,t,r)=>OL(this,null,function*(){void 0!==(null==r?void 0:r.frontState)&&(yield null==CommunicationMessageService?void 0:CommunicationMessageService.frontState(1==r.frontState)),t.ptid&&(yield null==CommunicationMessageService?void 0:CommunicationMessageService.startPropTransfer(t.ptid))}),this.onProptransferDeleteClick=(e,t)=>OL(this,null,function*(){t.ptid&&(yield null==CommunicationMessageService?void 0:CommunicationMessageService.deletePropTransfer(t.ptid,this._manufacturer,this._program))}),this.onShoppingCartClick=(e,t)=>OL(this,null,function*(){t.number&&(yield null==CommunicationMessageService?void 0:CommunicationMessageService.loadArticle(this._manufacturer,this._program,t.number))})}isEmpty(){return!this.filteredList||this.filteredList.length<=0}getContextInitializationData(e=!1){return this.filteredList.filter(e=>"P"===e.InsertType).map(t=>{const r=t.PT_ID||t.id;let n={contextId:`${this._manufacturer}#${this._program}#${r}`};return e&&(n=Object.assign(n,{manufacturer:this._manufacturer,program:this._program,initializer:{type:"ptm",ptId:r}})),n})}initialize(e,t,r,n){return OL(this,null,function*(){var i,o;this._showWildCardFilter=n,this._manufacturer=e,this._program=t;const s=yield null==CommunicationMessageService?void 0:CommunicationMessageService.getKataPage("equipment",r),a=yield null==CommunicationMessageService?void 0:CommunicationMessageService.getKataTreeJson(),l=[];null==(o=null==(i=null==s?void 0:s.Modules[0])?void 0:i.Articles[0])||o.forEach(e=>{"S"!==e.InsertType&&this.listAll.push(e)}),this.listAll.forEach((e,t)=>{e.Cats=e.CatString.split(","),e.Cats.forEach((e,t)=>{-1===l.indexOf(e)&&""!==e&&l.push(e)})}),l.forEach((e,t)=>{const r=a.definedEquipmentFilterCategories.find(t=>t.id===e);if(r){this._categoryFilter.find(t=>t.id===e)||this._categoryFilter.push({name:r.name,id:r.id,priority:r.priority,childCount:0})}});try{const e={ignoreAccess:!0,useRelevant:!1,manufacturer:this._manufacturer,program:this._program,contextInfo:this.getContextInitializationData(!0)};this._contextData=yield yL.get(e)}catch(e){this._contextData=void 0}yield this.onScroll(null,!0)})}SelfInitialize(){return OL(this,null,function*(){var e;if(0==this.selfInitialize||1==this.selfInitialized)return;EventFactoryService.LastPOLoaded.register(()=>{this.onScroll(null,!0)}),EventFactoryService.SelectionChanged.register(()=>{this.onScroll(null,!0)}),EventFactoryService.ChangePrice.register(()=>{this.onScroll(null,!0)}),EventFactoryService.PropTransfer_afterDelete.register(()=>{this.onScroll(null,!0)}),EventFactoryService.PropTransfer_afterStart.register(()=>{this.onScroll(null,!0)}),EventFactoryService.PossibleDestinationValues_afterSet.register(()=>{this.onScroll(null,!0)}),this.selfInitialized=!0,this.img_url_prefix=yield CommunicationMessageService.getNodePrefix(),yield CommunicationInterfaceService.IsAppReady;const t=yield wL.getManufacturer(),r=yield wL.getProgram(),n=(null==(e=window.g_article)?void 0:e.level1)||"";this.initialize(t,r,n,this.hasAttribute("wildcard-filter"))})}Reset(){return OL(this,null,function*(){CommunicationMessageService.disposePropertyContext({contextIds:this.getContextInitializationData(!1).map(e=>e.contextId)}).then(),this._categoryFilter=[],this.filteredList=[],this.listAll=[]})}static Reload(){return OL(this,null,function*(){const e=yT.find("fv-equipment-list","*");if(e){const t=yield wL.getManufacturer(),r=yield wL.getProgram();yield e.Reset(),yield e.initialize(t,r,"",e._showWildCardFilter)}})}onScroll(e,t){return OL(this,null,function*(){if(!this._isScrolling&&(!this._finishedLoading||t)){let r=!1;this._isScrolling=!0,t&&(this.filteredList=[],this._offset=0,r=!0,this._finishedLoading=!1),e&&e.detail.distanceToBottom<0&&(r=!0),r&&(yield this.refreshBySelection(),this.requestUpdate("list"),yield this.updateComplete),this._isScrolling=!1}if(this.shadowRoot){const e=this.shadowRoot.querySelector("#wildCardFilterButton");this._showWildCardFilter||e.classList.add("hidden")}})}refreshBySelection(){return OL(this,null,function*(){this.filteredList=[];const e=this.getActiveFilters();e.length>0?this.listAll.forEach((t,r)=>{r>=this._offset&&r<=this._offset+this.limit&&e.some(e=>{var r;return null==(r=t.Cats)?void 0:r.includes(e.id)})&&this.filteredList.push(t)}):this.filteredList=this.filteredList.concat(this.listAll.slice(this._offset,this.limit)),this._contextData=yield yL.get({useRelevant:!0,manufacturer:this._manufacturer,program:this._program,contextInfo:this.getContextInitializationData(!0)});const t=yield CommunicationMessageService.getPropTransfer({manufacturer:this._manufacturer,program:this._program,useSelection:!0});let r=yield CommunicationMessageService.GetAvailableFittingElementsFromScene();r=r.filter(e=>e.manu===this._manufacturer&&e.prog===this._program);const n=r&&0!==r.length||t&&0!==t.length;if(this._registeredEquipmentArtNos.clear(),this._categoryFilter.forEach(e=>{e.visible=!1,e.childCount=0}),null==t||t.forEach(e=>{e.Cat&&e.Cat.filter(e=>!!e).forEach((e,t)=>{const r=this.getFilter(e);r&&(r.visible=!0,r.childCount++)}),e.articleNr&&this._registeredEquipmentArtNos.add(e.articleNr),e.id&&this._registeredEquipmentArtNos.add(e.id)}),null==r||r.forEach(e=>{e.Artis.forEach(e=>{e.Cat&&e.Cat.filter(e=>!!e).forEach(e=>{const t=this.getFilter(e);t&&(t.visible=!0,t.childCount++)}),e.J&&this._registeredEquipmentArtNos.add(e.J)})}),n){this.filteredList.length>0&&this._categoryFilter.forEach(e=>{e.visible=e.visible&&e.childCount>=1});for(let e=this.filteredList.length-1;e>=0;e--){const r=this.filteredList[e],n=!!r.jsaNumber&&this._registeredEquipmentArtNos.has(r.jsaNumber),i=this._registeredEquipmentArtNos.has(r.ArtNr),o=this._registeredEquipmentArtNos.has(r.PT_ID),s=r.Cats.filter(e=>!!e),a=0!==s.length&&s.some(e=>{var t;return(null==(t=this.getFilter(e))?void 0:t.visible)||!1});if(n||i||o||a){if(this.highlightSceneElements&&t){const n=t.find(e=>e.id==r.PT_ID);n&&(r.Active=0!=n.deletable.length,this.filteredList[e]=r)}}else this.filteredList.splice(e,1)}}this.list=[].concat(this.filteredList).filter(e=>this.shouldShowEquipment(e))})}filterButtonClick(e){return OL(this,null,function*(){const t=e.target.getAttribute("category");if(!t)return;const r=this._categoryFilter.find(e=>e.id===t),n=this.getActiveFilters();n.forEach(e=>e.active=!1),r&&(r.active=!0),r&&!r.active||n.forEach(e=>e.active=!1),this.filteredList=[],this._offset=0,yield CommunicationMessageService.startPropTransfer(""),yield this.onScroll(null,!0)})}updated(e){this.SelfInitialize(),super.updated(e),window.dispatchEvent(new CustomEvent("onUpdated",{detail:this}))}getContextById(e){var t;if(this._contextData&&this._contextData.children)return Array.from(Object.values(null==(t=this._contextData)?void 0:t.children)).find(t=>t.contextId.toLowerCase().endsWith(e.toLowerCase()))}isContextInAccordion(e){const t=this.getPropertyList(e);return(null==e?void 0:e.children)&&0!==t.length}shouldShowEquipment(e){if("P"===e.InsertType){const t=this.getContextById(e.PT_ID);return!this.isContextInAccordion(t)}return!0}hasContextData(e=this.getContextInitializationData(!1).map(e=>e.contextId)){return e&&e.length>0&&e.some(e=>{let t=this.getContextById(e);return this.getPropertyList(t).length>0})}render(){const e=this.getContextInitializationData(!1).map(e=>e.contextId),t=1===this._categoryFilter.filter(e=>e.visible).length&&!0===this.hideSingleCategory;return Zk`
+            <div id="filter-container">
+                <fv-button id="wildCardFilterButton" @click=${this.filterButtonClick} part="filter-button"
+                           class="active ${this._borderedFilters?"bordered":""}"
+                           style="width: 23px">*
+                </fv-button>
+                ${t?"":this._categoryFilter.map(e=>{const t=KT({bordered:this._borderedFilters,active:(null==e?void 0:e.active)||!1,hidden:!0!==e.visible});return Zk`
+                                        <fv-button
+                                                category=${e.id}
+                                                @click=${this.filterButtonClick}
+                                                class="${t}"
+                                                part="filter-button">
+                                            ${BL(e.name)}
+                                        </fv-button>`})}
+            </div>
+            <fv-list-box @scroll=${this.onScroll} id="article-list-container">
+                <fv-pp-container
+                        style="height: unset; flex: 1; border-bottom: unset; --pp-component-overflow-y: hidden;"
+                        .contexts="${e}"></fv-pp-container>
+                ${this.list.map(e=>{if("A"===e.InsertType){const t=document.createElement("fv-fitting-item");return this.img_url_prefix&&e.imgName&&(t.image=this.img_url_prefix+BL(e.imgName)),t.jsaNumber=e.jsaNumber,t.number=e.ArtNr,t.artText=e.artText,e.Active&&t.classList.add("active"),t.addEventListener("onArticleClick",t=>{const r=t.currentTarget;this.onFittingClick(t,r,e)}),t.addEventListener("onDeleteClick",e=>{const t=e.currentTarget;this.onFittingDeleteClick(e,t)}),t.addEventListener("onResetClick",e=>{const t=e.currentTarget;this.onFittingResetClick(e,t)}),t.addEventListener("onMoveClick",e=>{const t=e.currentTarget;this.onFittingMoveClick(e,t)}),t}if("P"===e.InsertType){const t=document.createElement("fv-proptrans-item");return this.img_url_prefix&&e.imgName&&(t.image=this.img_url_prefix+BL(e.imgName)),t.ptid=e.PT_ID,t.number=e.ArtNr,t.artText=e.artText,e.Active&&t.classList.add("active"),t.addEventListener("onArticleClick",t=>{const r=t.currentTarget;this.onProptransferClick(t,r,e)}),t.addEventListener("onDeleteClick",e=>{const t=e.currentTarget;this.onProptransferDeleteClick(e,t)}),t}if("S"===e.InsertType&&!this._hideShoppingCartItems){const t=document.createElement("fv-shoppingcart-item");return this.img_url_prefix&&e.imgName&&(t.image=this.img_url_prefix+BL(e.imgName)),t.number=e.ArtNr,t.artText=e.artText,e.Active&&t.classList.add("active"),t.addEventListener("onArticleClick",e=>{const t=e.currentTarget;this.onShoppingCartClick(e,t)}),t}})}
+                <slot></slot>
+            </fv-list-box>
+        `}getActiveFilters(){return this._categoryFilter.filter(e=>e.active)}getFilter(e){return this._categoryFilter.find(t=>t.id===e)}getPropertyList(e){var t;let r=(null==e?void 0:e.children)||{};return(null==(t=Object.values(r))?void 0:t.flatMap(e=>{var t;return(null==(t=Object.values(e.children))?void 0:t.flatMap(e=>e))||[]}))||[]}};UL.styles=[((e,t)=>NL(DL(e),t,e))(UL,"styles")||[],$k`${yk(ZR)}`],FL([lk({type:Boolean,reflect:!0,attribute:"hide-shopping-cart-items"})],UL.prototype,"_hideShoppingCartItems",2),FL([lk()],UL.prototype,"limit",2),FL([lk()],UL.prototype,"img_url_prefix",2),FL([lk({type:Boolean,reflect:!0,attribute:"highlight-scene-items"})],UL.prototype,"highlightSceneElements",2),FL([lk({type:Boolean,reflect:!0,attribute:"hide-single-category"})],UL.prototype,"hideSingleCategory",2),FL([lk({type:Boolean,reflect:!0,attribute:"bordered-filters"})],UL.prototype,"_borderedFilters",2),FL([ck()],UL.prototype,"list",2),FL([lk({type:Boolean,reflect:!0,attribute:"self-initialize"})],UL.prototype,"selfInitialize",2),UL=FL([sk("fv-equipment-list")],UL);var VL=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{display:flex;flex-direction:column;height:100%;padding:var(--catalog-selector-padding,unset)}:host .title-container{color:var(--catalog-selector-title-color,#000);font-size:var(--catalog-selector-title-font-size,24px);font-weight:var(--catalog-selector-title-font-weight,var(--global-font-weight-bold,600));margin-bottom:var(--catalog-selector-title-margin-bottom,unset);text-align:var(--catalog-selector-title-text-align,left)}:host .options-container{padding-left:var(--catalog-selector-options-space-left,0);padding-right:var(--catalog-selector-options-space-right,0);width:calc(100% - var(--catalog-selector-options-space-left, 0px) - var(--catalog-selector-options-space-right, 0px))}:host .options-container .options-inner-container{display:grid;gap:var(--catalog-selector-gap,8px);grid-template-columns:repeat(var(--catalog-selector-columns-count,2),calc((100% - (var(--catalog-selector-columns-count, 2) - 1)*var(--catalog-selector-gap, 8px))/var(--catalog-selector-columns-count, 2)))}:host .divider-container{padding:var(--catalog-selector-divider-space-top,5px) var(--catalog-selector-divider-space-right,unset) var(--catalog-selector-divider-space-bottom,5px) var(--catalog-selector-divider-space-left,unset);width:calc(100% - var(--catalog-selector-divider-space-left, unset) - var(--catalog-selector-divider-space-right, unset))}:host .catalogs-container{height:100%;overflow:var(--catalog-selector-catalogs-overflow,auto);position:relative;scrollbar-width:var(--catalog-selector-scroll-width,none);-ms-scrollbar-width:var(--catalog-selector-scroll-width,none)}:host .catalogs-container::-webkit-scrollbar{display:var(--catalog-selector-scroll-display,none)}:host .catalogs-container .catalogs-inner-container{display:block;height:var(--catalog-selector-catalogs-inner-container-height,fit-content);position:absolute;width:var(--catalog-selector-catalogs-inner-container-width,fit-content)}:host(.hide-divider) .divider-container{display:none}@media (width <= 520px){:host(.mobile-hide-title) .title-container{display:none}:host .divider-container{padding:var(--catalog-selector-divider-space-mobile-top,var(--catalog-selector-divider-space-top,5px)) var(--catalog-selector-divider-space-mobile-right,var(--catalog-selector-divider-space-right,unset)) var(--catalog-selector-divider-space-mobile-bottom,var(--catalog-selector-divider-space-bottom,5px)) var(--catalog-selector-divider-space-mobile-left,var(--catalog-selector-divider-space-left,unset));width:calc(100% - var(--catalog-selector-divider-space-mobile-left, var(--catalog-selector-divider-space-left, unset)) - var(--catalog-selector-divider-space-mobile-right, var(--catalog-selector-divider-space-right, unset)))}:host .catalogs-container{overflow:var(--catalog-selector-catalogs-mobile-overflow,var(--catalog-selector-catalogs-overflow,auto))}:host .catalogs-container .catalogs-inner-container{height:var(--catalog-selector-catalogs-inner-container-mobile-height,var(--catalog-selector-catalogs-inner-container-height,fit-content));width:var(--catalog-selector-catalogs-inner-container-mobile-width,var(--catalog-selector-catalogs-inner-container-width,fit-content))}}@media (width >= 520px) and (width <= 980px){:host(.mobile-hide-title) .title-container{display:none}:host .divider-container{padding:var(--catalog-selector-divider-space-mobile-top,var(--catalog-selector-divider-space-top,5px)) var(--catalog-selector-divider-space-mobile-right,var(--catalog-selector-divider-space-right,unset)) var(--catalog-selector-divider-space-mobile-bottom,var(--catalog-selector-divider-space-bottom,5px)) var(--catalog-selector-divider-space-mobile-left,var(--catalog-selector-divider-space-left,unset));width:calc(100% - var(--catalog-selector-divider-space-mobile-left, var(--catalog-selector-divider-space-left, unset)) - var(--catalog-selector-divider-space-mobile-right, var(--catalog-selector-divider-space-right, unset)))}:host .catalogs-container{overflow:var(--catalog-selector-catalogs-mobile-overflow,var(--catalog-selector-catalogs-overflow,auto))}:host .catalogs-container .catalogs-inner-container{height:var(--catalog-selector-catalogs-inner-container-mobile-height,var(--catalog-selector-catalogs-inner-container-height,fit-content));width:var(--catalog-selector-catalogs-inner-container-mobile-width,var(--catalog-selector-catalogs-inner-container-width,fit-content))}}`,zL=Object.defineProperty,HL=Object.getOwnPropertyDescriptor,GL=Object.getPrototypeOf,jL=Reflect.get,JL=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?HL(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&zL(t,r,o),o};let WL=class extends FT{constructor(){super(),this.options=[],this.addEventListener("disable-all-options",e=>{e.stopPropagation(),e.preventDefault();this.querySelectorAll(":scope > fv-catalog-selector-option").forEach(e=>{e.classList.remove("active")})}),this.addEventListener("show-catalog",e=>{var t,r;e.stopPropagation(),e.preventDefault();const n=e,i=(null==(t=n.detail)?void 0:t.catalog)?null==(r=n.detail)?void 0:r.catalog:"";this.querySelectorAll(":scope > [catalog-name]").forEach(e=>{if(n.detail&&n.detail.properties){const t=Object.keys(n.detail.properties);for(const r of t){const t=n.detail.properties[r];"boolean"==typeof t&&t?e.setAttribute(r,""):"boolean"!=typeof t||t?"object"==typeof t?e.setAttribute(r,JSON.stringify(t)):e.setAttribute(r,t):e.removeAttribute(r)}}e.getAttribute("catalog-name")!==i?e.classList.add("hidden"):e.classList.remove("hidden")})})}createGeneratedOptions(){document.querySelectorAll("[generated]").forEach(e=>{this.removeChild(e)}),this.options.forEach(e=>{const t=document.createElement(e.tag);t.setAttribute("generated",""),t.setAttribute("catalog",e.catalog),t.setAttribute("slot","options"),t.setAttribute("catalog-attributes",JSON.stringify(e.attributes)),t.setAttribute("i18n",e.txt),this.appendChild(t)})}render(){return this.createGeneratedOptions(),Zk`
+            <div class="title-container">
+                <slot class="title" name="title"></slot>
+            </div>
+            <div class="options-container">
+                <div class="options-inner-container">
+                    <slot class="options" name="options"></slot>
+                </div>
+            </div>
+            <div class="post-options-space-container">
+                <slot class="divider" name="post-options-space"></slot>
+            </div>
+            <div class="divider-container">
+                <slot class="divider" name="divider"></slot>
+            </div>
+            <div class="catalogs-container">
+                <div class="catalogs-inner-container">
+                    <slot class="catalogs" name="catalogs"></slot>
+                </div>
+            </div>
+        `}updated(e){super.updated(e);const t=this.renderRoot.querySelector(".options");if(t){let e=!1;for(let r=0;r<t.children.length;++r)e=t.children[r].classList.contains("active");if(0==e){const e=t.firstElementChild;e&&e.click()}}}};WL.styles=[((e,t)=>jL(GL(e),t,e))(WL,"styles")||[],$k`${yk(VL)}`],JL([lk({type:Array,reflect:!0,attribute:"options"})],WL.prototype,"options",2),WL=JL([sk("fv-catalog-selector")],WL);var QL=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{align-items:var(--catalog-selector-option-align-items,center);aspect-ratio:var(--catalog-selector-option-aspect-ratio,unset);background-color:var(--catalog-selector-option-background-color,unset);border-radius:var(--catalog-selector-option-border-radius,unset);box-shadow:var(--catalog-selector-option-box-shadow,unset);color:var(--catalog-selector-option-color,unset);cursor:pointer;display:flex;flex-direction:var(--catalog-selector-option-flex-direction,column);font-size:var(--catalog-selector-option-font-size,unset);height:var(--catalog-selector-option-height,auto);justify-content:var(--catalog-selector-option-justify-content,center);text-align:center}:host(.active){background-color:var(--catalog-selector-option-active-background-color,unset);color:var(--catalog-selector-option-active-color,unset)}@media (width <= 520px){:host{font-size:var(--catalog-selector-option-font-size-smartphone,var(--catalog-selector-option-font-size,unset));height:var(--catalog-selector-option-height-smartphone,auto);width:var(--catalog-selector-option-width-smartphone,unset)}}@media (width >= 520px) and (width <= 980px){:host{font-size:var(--catalog-selector-option-font-size-tablet,var(--catalog-selector-option-font-size,unset));height:var(--catalog-selector-option-height-tablet,auto);width:var(--catalog-selector-option-width-tablet,unset)}}`,qL=Object.defineProperty,YL=Object.getOwnPropertyDescriptor,XL=Object.getPrototypeOf,KL=Reflect.get,ZL=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?YL(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&qL(t,r,o),o};let eP=class extends FT{constructor(){super(),this.catalog="",this.catalogAttributes={},this.addEventListener("click",()=>{this.dispatchEvent(new CustomEvent("disable-all-options",{bubbles:!0})),this.classList.add("active"),this.dispatchEvent(new CustomEvent("show-catalog",{bubbles:!0,detail:{catalog:this.catalog,properties:this.catalogAttributes}}))})}render(){return Zk`<slot></slot>`}};eP.styles=[((e,t)=>KL(XL(e),t,e))(eP,"styles")||[],$k`${yk(QL)}`],ZL([lk({type:String,reflect:!0})],eP.prototype,"catalog",2),ZL([lk({type:Object,reflect:!0,attribute:"catalog-attributes"})],eP.prototype,"catalogAttributes",2),eP=ZL([sk("fv-catalog-selector-option")],eP);var tP=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{bottom:40px;color:var(--total-price-color,unset);display:flex;font-size:var(--total-price-font-size,unset);margin:0 0 10px;margin-bottom:0!important;padding:var(--total-price-padding,12px 20px);position:absolute;right:20px}:host a{color:blue;text-decoration:none}:host(.header){font-size:26px}:host(.bordered){border:2px solid var(--bordered-color,red);color:var(--primary-text-color,#000)}span{margin:auto;margin-right:var(--total-price-span-margin-right,auto)}.uvp-text{margin-right:14px}.icon.cart{display:inline-block;height:32px;width:32px}.icon.cart.flipped{transform:scaleX(-1)}.icon.cart g{fill:var(--primary-color,red)}:host(.relative){bottom:var(--total-price-relative-bottom,auto);display:flex;flex:none;margin:auto!important;position:relative;right:var(--total-price-relative-right,auto)}@media (width <= 520px){:host(.relative){bottom:var(--total-price-relative-mobile-bottom,auto)!important;right:var(--total-price-relative-mobile-right,auto)!important}}@media (width >= 520px) and (width <= 980px){:host{bottom:var(--total-price-relative-mobile-bottom,auto)!important;right:var(--total-price-relative-mobile-bottom,auto)!important}}`,rP=Object.defineProperty,nP=Object.getOwnPropertyDescriptor,iP=Object.getPrototypeOf,oP=Reflect.get,sP=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?nP(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&rP(t,r,o),o},aP=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});let lP=class extends FT{constructor(){super(),this.showUVP=!1,this.priceText="0,00",this.currency="",this.configId=""}formatPrice(e){return(null==e?void 0:e.toString())||""}connectedCallback(){super.connectedCallback(),null==CommunicationInterfaceService||CommunicationInterfaceService.on("furnview.changePrice",e=>aP(this,null,function*(){window.g_dataInterface.current_price=e,this.setPrice(e.totalPrice,e.currency),this.fvLoading.active=!1})),null==CommunicationInterfaceService||CommunicationInterfaceService.on("furnview.pending_change",e=>aP(this,null,function*(){this.fvLoading.active=!0})),this.configId="show_price"}render(){const e={hidden:this.classList.contains("no-icon")},t=this.showUVP&&window.g_configuration.show_price_uvp_text;return Zk`
+            ${t?Zk`<span class="uvp-text" i18n="fv.konfigurator.landing.page.basis.price.uvp"></span>`:""}
+            <span class="price-text" @click="${this.openModal}">${this.priceText}</span>
+            <fv-loading slot="loader-slot"></fv-loading>
+            <slot name="icon" class="${KT(e)}">
+                <svg version="1.1" class="icon cart" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 122.9 107.5" xml:space="preserve">
+                    <g>
+                        <path d="M3.9,7.9C1.8,7.9,0,6.1,0,3.9C0,1.8,1.8,0,3.9,0h10.2c0.1,0,0.3,0,0.4,0c3.6,0.1,6.8,0.8,9.5,2.5c3,1.9,5.2,4.8,6.4,9.1 c0,0.1,0,0.2,0.1,0.3l1,4H119c2.2,0,3.9,1.8,3.9,3.9c0,0.4-0.1,0.8-0.2,1.2l-10.2,41.1c-0.4,1.8-2,3-3.8,3v0H44.7 c1.4,5.2,2.8,8,4.7,9.3c2.3,1.5,6.3,1.6,13,1.5h0.1v0h45.2c2.2,0,3.9,1.8,3.9,3.9c0,2.2-1.8,3.9-3.9,3.9H62.5v0 c-8.3,0.1-13.4-0.1-17.5-2.8c-4.2-2.8-6.4-7.6-8.6-16.3l0,0L23,13.9c0-0.1,0-0.1-0.1-0.2c-0.6-2.2-1.6-3.7-3-4.5 c-1.4-0.9-3.3-1.3-5.5-1.3c-0.1,0-0.2,0-0.3,0H3.9L3.9,7.9z M96,88.3c5.3,0,9.6,4.3,9.6,9.6c0,5.3-4.3,9.6-9.6,9.6 c-5.3,0-9.6-4.3-9.6-9.6C86.4,92.6,90.7,88.3,96,88.3L96,88.3z M53.9,88.3c5.3,0,9.6,4.3,9.6,9.6c0,5.3-4.3,9.6-9.6,9.6 c-5.3,0-9.6-4.3-9.6-9.6C44.3,92.6,48.6,88.3,53.9,88.3L53.9,88.3z M33.7,23.7l8.9,33.5h63.1l8.3-33.5H33.7L33.7,23.7z"/>
+                    </g>
+                </svg>
+            </slot>
+        `}openModal(){}setPrice(e,t){t=this.currency||t,this.priceText=this.formatPrice(e)+" "+t,this.requestUpdate("priceText")}};lP.styles=[((e,t)=>oP(iP(e),t,e))(lP,"styles")||[],$k`${yk(tP)}`],sP([dk(".pathColor")],lP.prototype,"pathColor",2),sP([lk({type:Boolean})],lP.prototype,"showUVP",2),sP([lk({type:String})],lP.prototype,"priceText",2),sP([lk({type:String})],lP.prototype,"currency",2),sP([lk({type:String,reflect:!0,attribute:"config-id"})],lP.prototype,"configId",2),sP([dk("fv-loading")],lP.prototype,"fvLoading",2),lP=sP([sk("fv-total-price")],lP);var cP=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host(:last-child){margin-bottom:0}:host{border:none!important;cursor:pointer;display:flex}:host:last-child{margin-bottom:0}:host .fullWidth{width:100%}:host .price-info{color:var(--primary-text-color,#000);display:flex;flex:1;flex-direction:row}:host .price-info.bottomBorder{border-bottom:2px solid var(--primary-color,red);margin-bottom:5px}:host .price-info .description{width:50%}:host .price-info .quantity{color:var(--price-item-quantity-color,var(--primary-text-color,#000));text-align:center;width:15%}:host .price-info .price-of-sale{color:var(--price-item-price-color,var(--primary-text-color,#000));text-align:right;width:35%}:host .price-info .discounted-relative{color:var(--price-item-price-color,var(--primary-text-color,#000));text-align:right;width:50%}:host .price-info .price-discounted{color:var(--price-item-price-color,var(--primary-text-color,#000));text-align:right;width:50%}`,uP=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host .articleid .position-nr,:host .description .position-nr{padding-right:1em}:host .remarks{align-content:flex-start;display:flex;flex-direction:column;gap:var(--price-dimension-item-remarks-gap,initial);grid-area:remarks;justify-content:flex-start;padding:var(--price-item-padding-remark-text,none)}:host .remarks .remark{font-size:var(--price-item-font-size-remark,none)}:host .remarks .remark-line{align-content:flex-start;display:flex;flex-direction:row;font-size:var(--price-item-font-size-remark,none);gap:var(--price-dimension-item-remark-prefix-gap,.5em);justify-content:flex-start}`;const dP=new class{formatPrice(e,t=",",r){if(null==e||isNaN(e))return"";const[n,i]=e.toFixed(2).split("."),o=r?n.replace(/\B(?=(\d{3})+(?!\d))/g,r):n;return t?`${o}${t}${i}`:`${o}${i}`}};var hP=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});const pP=new class{constructor(){this._highlightTimeout=void 0}isHighlightTimeoutActive(){return!!this._highlightTimeout}addHighlightBox(e){return hP(this,null,function*(){this.isHighlightTimeoutActive()||(this._highlightTimeout=setTimeout(()=>hP(this,null,function*(){yield CommunicationMessageService.addHighlightBox(e)}),200))})}removeHighlightBox(e){return hP(this,null,function*(){this.isHighlightTimeoutActive()&&(clearTimeout(this._highlightTimeout),this._highlightTimeout=void 0,yield CommunicationMessageService.removeMarker(e))})}updateHighlightBox(e){return hP(this,null,function*(){this.isHighlightTimeoutActive()&&(yield CommunicationMessageService.removeMarker(e),yield CommunicationMessageService.addHighlightBox(e))})}selectObject(e){return hP(this,null,function*(){yield CommunicationMessageService.selectObjectInScene(e)})}deselectObject(e){return hP(this,null,function*(){yield CommunicationMessageService.deselectObjectInScene(e)})}clearSelection(){return hP(this,null,function*(){yield CommunicationMessageService.clearSelectionHandler()})}};var mP=Object.defineProperty,_P=Object.getOwnPropertyDescriptor,gP=Object.getPrototypeOf,fP=Reflect.get,vP=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?_P(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&mP(t,r,o),o},bP=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});const yP=class extends FT{constructor(){super(),this.instanceIdent=-1,this.description="",this.quantity=0,this.totalPriceOfSale="",this.discountedTotalPriceOfSale="",this.discountedPriceOfSaleRelative=0,this.hasPositionalDiscounts=!1,this.currency="",this.articleId="",this.remarks=[],this.remarksPrefix="",this.hidePrice=!1,this.showZeroPrice=!1,this.zeroPricesAsSubpositionTotal=!1,this.showPosition=!1,this.showArticleId=!1,this.dimFloatDigits=2,this.dimensionSuffix="",this.highlightElementOnHover=!1,this.priceItemData={ArticleDescription:"",TotalPriceOfSale:0,Quantity:0,DiscountedTotalPriceOfSale:0,DiscountedPriceOfSaleRelative:0,Article_ID:"",Positions_NR:"",GUID:"",Remarks:[],DimX:"",DimY:"",DimZ:"",PriceOfSale:0,PurchasePrice:0,PurchasePriceCalc:0},this.totalPricePosition=void 0}onMouseEnter(){return bP(this,null,function*(){this.highlightElementOnHover&&(yield pP.addHighlightBox(this.instanceIdent))})}onMouseLeave(){return bP(this,null,function*(){this.highlightElementOnHover&&(yield pP.removeHighlightBox(this.instanceIdent))})}getPriceFormatText(e){return dP.formatPrice(e,",",this.thousandsSeparator)}getDimensionFormatText(e){return parseFloat(e).toFixed(this.dimFloatDigits).replace(".",",")+" "+this.dimensionSuffix}renderPositionLabel(){return this.showPosition?Zk`<label class="position-nr">${this.priceItemData.Positions_NR}</label>`:Zk``}renderArticleId(){return this.showArticleId?Zk`<label class="articleid">${this.articleId}</label>`:Zk``}renderRemarks(e=""){const t=e.length>0?e:this.remarksPrefix;return null==this.remarks||this.remarks.length<1?Zk``:Zk`
+            <div class="remarks">${this.remarks.map(e=>Zk`
+                <div class="remark-line">
+                    <div class="remark-prefix">${t}</div>
+                    <div class="remark">${e}</div>
+                </div>
+            `)}</div>
+        `}renderTotalPriceOfSaleLabel(){return this.hidePrice?Zk``:this.zeroPricesAsSubpositionTotal&&this.totalPricePosition&&parseFloat(this.totalPriceOfSale)<.1?Zk`<label>${this.getPriceFormatText(this.totalPricePosition)+" "+this.currency}</label>`:Zk`<label>${this.totalPriceOfSale+" "+this.currency}</label>`}};let $P=yP;$P.styles=[((e,t)=>fP(gP(e),t,e))(yP,"styles")||[],$k`${yk(uP)}`],vP([lk({type:Number})],$P.prototype,"instanceIdent",2),vP([lk({type:String})],$P.prototype,"description",2),vP([lk({type:Number})],$P.prototype,"quantity",2),vP([lk({type:String})],$P.prototype,"totalPriceOfSale",2),vP([lk({type:String})],$P.prototype,"discountedTotalPriceOfSale",2),vP([lk({type:Number})],$P.prototype,"discountedPriceOfSaleRelative",2),vP([lk({type:Boolean})],$P.prototype,"hasPositionalDiscounts",2),vP([lk({type:String})],$P.prototype,"currency",2),vP([lk({type:String})],$P.prototype,"articleId",2),vP([lk({type:Array})],$P.prototype,"remarks",2),vP([lk({type:String,reflect:!0,attribute:"remarks-prefix"})],$P.prototype,"remarksPrefix",2),vP([lk({type:Boolean,reflect:!0,attribute:"hide-price"})],$P.prototype,"hidePrice",2),vP([lk({type:Boolean,reflect:!0,attribute:"zero-price"})],$P.prototype,"showZeroPrice",2),vP([lk({type:Boolean,reflect:!0,attribute:"zero-prices-as-subposition-total"})],$P.prototype,"zeroPricesAsSubpositionTotal",2),vP([lk({type:Boolean,reflect:!0,attribute:"show-position"})],$P.prototype,"showPosition",2),vP([lk({type:Boolean,reflect:!0,attribute:"show-article-id"})],$P.prototype,"showArticleId",2),vP([lk({type:Number,reflect:!0,attribute:"dim-float-digits"})],$P.prototype,"dimFloatDigits",2),vP([lk({type:String,reflect:!0,attribute:"dimension-suffix"})],$P.prototype,"dimensionSuffix",2),vP([lk({type:String,reflect:!0,attribute:"thousands-separator"})],$P.prototype,"thousandsSeparator",2),vP([lk({type:Boolean,reflect:!0,attribute:"highlight-element-on-hover"})],$P.prototype,"highlightElementOnHover",2),vP([lk({type:Object,reflect:!0,attribute:"price-item-data"})],$P.prototype,"priceItemData",2),vP([lk({type:Number,reflect:!0,attribute:"total-price-position"})],$P.prototype,"totalPricePosition",2);var xP=Object.defineProperty,SP=Object.getOwnPropertyDescriptor,wP=Object.getPrototypeOf,AP=Reflect.get;let CP=class extends $P{constructor(){super()}render(){return+this.totalPriceOfSale<=0&&!this.showZeroPrice?(this.remove(),Zk``):this.hasPositionalDiscounts?Zk`
+            <div class="fullWidth">
+                <div class="price-info">
+                    <div class="description">${this.renderPositionLabel()}<label >${this.description}</label></div>
+                    <div class="quantity"><label> x ${this.quantity}</label></div>
+                    <div class="price-of-sale">${this.renderTotalPriceOfSaleLabel()}</div>
+                </div>
+                <div class="price-info">
+                    <div class="description"><label i18n="20444">Rabatt</label></div>
+                    <div class="discounted-relative"><label>${this.discountedPriceOfSaleRelative}%</label></div>
+                </div>
+                <div class="price-info bottomBorder">
+                   <div class="description"><label i18n="discounted_price_inclusive_vat">Sonderpreis (inkl. MwSt.)</label></div>
+                   <div class="price-discounted"><label>${this.discountedTotalPriceOfSale+" "+this.currency}</label></div>
+                </div>
+           </div>
+            `:Zk`
+                <div class="fullWidth">
+                    <div class="price-info bottomBorder">
+                        <div class="description">${this.renderPositionLabel()}<label>${this.description}</label></div>
+                        <div class="quantity"><label> x ${this.quantity}</label></div>
+                        <div class="price-of-sale">${this.renderTotalPriceOfSaleLabel()}</div>
+                    </div>
+                </div>
+        `}};CP.styles=[((e,t)=>AP(wP(e),t,e))(CP,"styles")||[],$k`${yk(cP)}`],CP=((e,t,r,n)=>{for(var i,o=n>1?void 0:n?SP(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&xP(t,r,o),o})([sk("fv-price-item")],CP);var EP=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host(:last-child){margin-bottom:0}:host{border:none!important;cursor:pointer;pointer-events:none}:host .fullWidth{padding-bottom:var(--price-item-2-items-gap,unset);width:100%}:host .fullWidth .price-info{pointer-events:auto}:host .fullWidth .price-info .description label{font-family:var(--price-item-2-description-font-family,unset);font-weight:var(--price-item-2-description-font-weight,unset)}:host .fullWidth .price-info .quantity-total-price-line{display:flex;flex-direction:row;justify-content:space-between}:host .fullWidth .price-info .quantity-total-price-line .price-of-sale label{font-family:var(--price-item-2-price-of-sale-font-family,unset);font-weight:var(--price-item-2-price-of-sale-font-weight,unset)}`,IP=Object.defineProperty,MP=Object.getOwnPropertyDescriptor,kP=Object.getPrototypeOf,TP=Reflect.get;let RP=class extends $P{render(){const e=this.priceItemData.TotalPriceOfSale/this.quantity;return e<=0&&!this.showZeroPrice?(this.remove(),Zk``):Zk`
+            <div class="fullWidth" @mouseenter="${this.onMouseEnter}" @mouseleave="${this.onMouseLeave}">
+                <div class="price-info">
+                    <div class="articleid">${this.renderArticleId()}</div>
+                    <div class="description">${this.renderPositionLabel()}<label>${this.description}</label></div>
+                    <div class="price-single-element"><label>${this.hidePrice?"":this.getPriceFormatText(e)+" "+this.currency}</label></div>
+                    <div class="quantity-total-price-line">
+                        <div class="quantity"><label> x ${this.quantity}</label></div>
+                        <div class="price-of-sale">${this.renderTotalPriceOfSaleLabel()}</div>
+                    </div>
+                </div>
+            </div>
+        `}};RP.styles=[((e,t)=>TP(kP(e),t,e))(RP,"styles")||[],$k`${yk(EP)}`],RP=((e,t,r,n)=>{for(var i,o=n>1?void 0:n?MP(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&IP(t,r,o),o})([sk("fv-price-item-2")],RP);var LP=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{padding:var(--price-item-padding,unset)}:host .price-item-grid-container{border-bottom:var(--price-item-border-bottom,none);display:grid;grid-template-areas:var(--price-item-grid-template-areas,none);grid-template-columns:var(--price-item-grid-template-columns,none)}:host .price-item-grid-container .articleid{font-size:var(--price-item-font-size-articleid,none);grid-area:articleid}:host .price-item-grid-container .quantity{font-size:var(--price-item-font-size-quantity,none);grid-area:quantity;text-align:var(--price-item-text-align,none)}:host .price-item-grid-container .singlePrice{font-size:var(--price-item-font-size-singlePrice,none);grid-area:singlePrice;padding:1px 1px 1px 8px;text-align:var(--price-item-text-align,none)}:host .price-item-grid-container .description{border-bottom:1px solid #d3d3d3;font-size:var(--price-item-font-size-description,none);grid-area:description;padding:10px}:host(.last) .price-item-grid-container{border-bottom:var(--price-item-last-border-bottom,var(--price-item-border-bottom,none))}`,PP=Object.defineProperty,DP=Object.getOwnPropertyDescriptor,NP=Object.getPrototypeOf,FP=Reflect.get;let OP=class extends $P{render(){const e=parseFloat(this.totalPriceOfSale)/this.quantity;return+e<=0&&!this.showZeroPrice?(this.remove(),Zk``):Zk`
+            <div class="fullWidth">
+                <div class="price-item-grid-container">
+                    <div class="articleid">${this.renderPositionLabel()}${this.articleId}</div>
+                    <div class="quantity"><lable> x ${this.quantity}</lable></div>
+                    <div class="singlePrice">${this.hidePrice?"":this.getPriceFormatText(e)}</div>
+                    <div class="description">${this.description}</div>
+                    ${this.renderRemarks(" - ")}
+                </div>
+            </div>
+        `}};OP.styles=[((e,t)=>FP(NP(e),t,e))(OP,"styles")||[],$k`${yk(LP)}`],OP=((e,t,r,n)=>{for(var i,o=n>1?void 0:n?DP(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&PP(t,r,o),o})([sk("fv-price-item-3")],OP);var BP=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{padding:var(--price-item-padding,unset)}:host .price-item-grid-container{border-bottom:var(--price-item-border-bottom,none);display:grid;grid-template-areas:var(--price-item-grid-template-areas,none);grid-template-columns:var(--price-item-grid-template-columns,none)}:host .price-item-grid-container .articleid{font-size:var(--price-item-font-size-articleid,none);grid-area:articleid}:host .price-item-grid-container .quantity{font-size:var(--price-item-font-size-quantity,none);grid-area:quantity;text-align:var(--price-item-text-align,none)}:host .price-item-grid-container .singlePrice{font-size:var(--price-item-font-size-singlePrice,none);grid-area:singlePrice;padding:1px 1px 1px 8px;text-align:var(--price-item-text-align,none)}:host .price-item-grid-container .description{border-bottom:1px solid #d3d3d3;font-size:var(--price-item-font-size-description,none);grid-area:description;padding:10px}:host(.last) .price-item-grid-container{border-bottom:var(--price-item-last-border-bottom,var(--price-item-border-bottom,none))}`,UP=Object.defineProperty,VP=Object.getOwnPropertyDescriptor,zP=Object.getPrototypeOf,HP=Reflect.get;let GP=class extends $P{render(){const e=parseFloat(this.totalPriceOfSale)/this.quantity;return+e<=0&&!this.showZeroPrice?(this.remove(),Zk``):Zk`
+            <div class="fullWidth">
+                <div class="price-item-grid-container">
+                    <div class="articleid">${this.renderPositionLabel()}${this.articleId}</div>
+                    <div class="quantity"><lable> x ${this.quantity}</lable></div>
+                    <div class="singlePrice">${this.hidePrice?"":this.getPriceFormatText(e)}</div>
+                    <div class="description">${this.description}</div>
+                    ${this.renderRemarks()}
+                </div>
+            </div>
+        `}};GP.styles=[((e,t)=>HP(zP(e),t,e))(GP,"styles")||[],$k`${yk(BP)}`],GP=((e,t,r,n)=>{for(var i,o=n>1?void 0:n?VP(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&UP(t,r,o),o})([sk("fv-price-item-4")],GP);var jP=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host(:last-child){margin-bottom:0}:host{border:none!important;cursor:pointer;display:flex}:host:last-child{margin-bottom:0}:host .fullWidth{width:100%}:host .price-info{color:var(--primary-text-color,#000);display:flex;flex:1;flex-direction:row}:host .price-info.bottomBorder{border-bottom:2px solid var(--primary-color,red);margin-bottom:5px}:host .price-info .articleid{width:50%}:host .price-info .description{width:50%}:host .price-info .quantity{color:var(--price-item-quantity-color,var(--primary-text-color,#000));text-align:center;width:15%}:host .price-info .price-of-sale{color:var(--price-item-price-color,var(--primary-text-color,#000));text-align:right;width:35%}:host .price-info .discounted-relative{color:var(--price-item-price-color,var(--primary-text-color,#000));text-align:right;width:50%}:host .price-info .price-discounted{color:var(--price-item-price-color,var(--primary-text-color,#000));text-align:right;width:50%}`,JP=Object.defineProperty,WP=Object.getOwnPropertyDescriptor,QP=Object.getPrototypeOf,qP=Reflect.get;let YP=class extends $P{constructor(){super()}render(){return+this.totalPriceOfSale<=0&&!this.showZeroPrice?(this.remove(),Zk``):this.hasPositionalDiscounts?Zk`
+            <div class="fullWidth">
+                <div class="price-info">
+                    <div class="articleid">${this.renderPositionLabel()}<label>${this.articleId}</label></div>
+                </div>
+                <div class="price-info">
+                    <div class="description">${this.renderPositionLabel()}<label >${this.description}</label></div>
+                    <div class="quantity"><label> x ${this.quantity}</label></div>
+                    <div class="price-of-sale">${this.renderTotalPriceOfSaleLabel()}</div>
+                </div>
+                <div class="price-info">
+                    <div class="description"><label i18n="20444">Rabatt</label></div>
+                    <div class="discounted-relative"><label>${this.discountedPriceOfSaleRelative}%</label></div>
+                </div>
+                <div class="price-info bottomBorder">
+                   <div class="description"><label i18n="discounted_price_inclusive_vat">Sonderpreis (inkl. MwSt.)</label></div>
+                   <div class="price-discounted"><label>${this.discountedTotalPriceOfSale+" "+this.currency}</label></div>
+                </div>
+           </div>
+            `:Zk`
+                <div class="fullWidth">
+                    <div class="price-info">
+                        <div class="articleid">${this.renderPositionLabel()}<label>${this.articleId}</label></div>
+                    </div>
+                    <div class="price-info bottomBorder">
+                        <div class="description">${this.renderPositionLabel()}<label>${this.description}</label></div>
+                        <div class="quantity"><label> x ${this.quantity}</label></div>
+                        <div class="price-of-sale">${this.renderTotalPriceOfSaleLabel()}</div>
+                    </div>
+                </div>
+        `}};YP.styles=[((e,t)=>qP(QP(e),t,e))(YP,"styles")||[],$k`${yk(jP)}`],YP=((e,t,r,n)=>{for(var i,o=n>1?void 0:n?WP(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&JP(t,r,o),o})([sk("fv-price-item-5")],YP);var XP=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host(:last-child){margin-bottom:0}:host{border:none!important;cursor:pointer;display:flex;padding-bottom:.75em}:host:last-child{margin-bottom:0}:host .fullWidth{width:100%}:host .price-info{color:var(--primary-text-color,#000);display:flex;flex:1;flex-direction:row}:host .price-info.bottomBorder{border-bottom:2px solid var(--primary-color,red);margin-bottom:5px}:host .price-info .description{width:50%}:host .price-info .quantity{color:var(--price-item-quantity-color,var(--primary-text-color,#000));text-align:center;width:15%}:host .price-info .price-of-sale{color:var(--price-item-price-color,var(--primary-text-color,#000));text-align:right;width:35%}:host .price-info .discounted-relative{color:var(--price-item-price-color,var(--primary-text-color,#000));text-align:right;width:50%}:host .price-info .price-discounted{color:var(--price-item-price-color,var(--primary-text-color,#000));text-align:right;width:50%}:host .dimensions{display:flex;flex-direction:column;gap:.25em;padding-bottom:.5em;padding-left:2em}:host .dimensions .dimension{display:flex;justify-content:flex-start}:host(.sub-position){padding-left:2em}`;const KP=new class{constructor(){this._currentDimensionsOrder="HBT",this.isInitialized=new Promise((e,t)=>e()),this.isInitialized=this.initialize()}initialize(){return e=this,t=null,r=function*(){yield CommunicationInterfaceService.IsAppReady;const e=yield CommunicationMessageService.getCountryInfo();e&&(this._currentDimensionsOrder=(null==e?void 0:e.currentDimensionsorder)||this._currentDimensionsOrder,window.dispatchEvent(new CustomEvent("country-info",{detail:e,bubbles:!0,composed:!0})))},new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});var e,t,r}get IsInitialized(){return this.isInitialized}get DimensionsOrder(){return this._currentDimensionsOrder}sortDimensionsByOrder(e){return e.sort((e,t)=>this.DimensionsOrder.indexOf(e.key)-this.DimensionsOrder.indexOf(t.key))}getDimensionTypeFromIndex(e){const t=this.DimensionsOrder;return e<0||e>=t.length?"unknown":t[e]}getDimensionNameFromIndex(e){switch(this.getDimensionTypeFromIndex(e)){case"H":return"height";case"B":return"width";case"T":return"depth";default:return"unknown"}}};var ZP=Object.defineProperty,eD=Object.getOwnPropertyDescriptor,tD=Object.getPrototypeOf,rD=Reflect.get;let nD=class extends $P{constructor(){super()}renderDimensionLine(){if(0==this.priceItemData.DimX.length||0==this.priceItemData.DimY.length||0==this.priceItemData.DimZ.length)return Zk``;const e=[{key:"B",value:this.priceItemData.DimX,params:{label:"181"}},{key:"T",value:this.priceItemData.DimY,params:{label:"182"}},{key:"H",value:this.priceItemData.DimZ,params:{label:"183"}}];return KP.sortDimensionsByOrder(e),Zk`
+            <div class="price-info dimensions">
+                ${e.map(e=>Zk`
+                    <div class="dimension">
+                        <fv-label i18n="${e.params.label}"></fv-label>: ${this.getDimensionFormatText(e.value)}
+                    </div>
+                `)}
+            </div>
+        `}renderSinglePriceQuantityLine(e){return this.hidePrice?Zk`<div class="quantity"><label> x ${this.quantity}</label></div>`:this.zeroPricesAsSubpositionTotal&&e<.1?Zk`<div class="quantity"><label>${this.quantity} x</label></div>`:Zk`<div class="quantity"><label>${this.quantity} x ${e+" "+this.currency}</label></div>`}render(){const e=parseFloat(this.totalPriceOfSale),t=e/this.quantity;return!this.showZeroPrice&&(t<.1||e<.1)?(this.remove(),Zk``):this.hasPositionalDiscounts?Zk`
+            <div class="fullWidth">
+                <div class="price-info">
+                    <div class="description">${this.renderPositionLabel()}<label>${this.description}</label></div>
+                    ${this.renderSinglePriceQuantityLine(t)}
+                    <div class="price-of-sale">${this.renderTotalPriceOfSaleLabel()}</div>
+                </div>
+                <div class="price-info">
+                    <div class="description"><label i18n="20444">Rabatt</label></div>
+                    <div class="discounted-relative"><label>${this.discountedPriceOfSaleRelative}%</label></div>
+                </div>
+                <div class="price-info bottomBorder">
+                   <div class="description"><label i18n="discounted_price_inclusive_vat">Sonderpreis (inkl. MwSt.)</label></div>
+                   <div class="price-discounted"><label>${this.discountedTotalPriceOfSale+" "+this.currency}</label></div>
+                </div>
+                ${this.renderDimensionLine()}
+                ${this.renderRemarks()}
+           </div>
+            `:Zk`
+                <div class="fullWidth">
+                    <div class="price-info bottomBorder">
+                        <div class="description">${this.renderPositionLabel()}<label>${this.description}</label></div>
+                        ${this.renderSinglePriceQuantityLine(t)}
+                        <div class="price-of-sale">${this.renderTotalPriceOfSaleLabel()}</div>
+                    </div>
+                    ${this.renderDimensionLine()}
+                    ${this.renderRemarks()}
+                </div>
+            `}};nD.styles=[((e,t)=>rD(tD(e),t,e))(nD,"styles")||[],$k`${yk(XP)}`],nD=((e,t,r,n)=>{for(var i,o=n>1?void 0:n?eD(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&ZP(t,r,o),o})([sk("fv-price-dimensions-item")],nD);var iD=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{color:var(--primary-text-color,#000);display:flex;flex:1;flex-direction:column;flex-grow:0;height:100%;width:100%}:host #addToCart{margin-top:10px}:host #furnrayModule{margin-top:10px}:host #price-list-container{display:block;flex:1;width:100%}:host .divider-row{display:flex;font-weight:var(--global-font-weight-bold,600)}:host .divider-row .description-divider{border-top:var(--price-list-total-price-description-divider-border-top,unset);height:var(--price-list-total-price-price-divider-height,0);width:calc(100% - var(--price-list-total-price-divider-width, 40%))}:host .divider-row .price-divider{border-top:var(--price-list-total-price-price-divider-border-top,unset);height:var(--price-list-total-price-price-divider-height,0);width:var(--price-list-total-price-divider-width,40%)}:host .totalRow{display:flex;font-size:var(--price-list-total-price-font-size,inherit);font-weight:var(--price-list-total-price-font-weight,var(--global-font-weight-bold,600));padding-top:var(--price-list-total-price-row-padding-top,initial)}:host .totalRow .description{font-size:inherit;font-weight:inherit;width:calc(100% - var(--price-list-total-price-width, 40%))}:host .totalRow .price{color:var(--price-list-total-price-color,var(--primary-text-color,#000));font-size:inherit;font-weight:inherit;text-align:right;white-space:var(--price-list-total-price-white-space,unset);width:var(--price-list-total-price-width,40%)}:host(.step-disabled){opacity:.5}:host(.step-disabled) #price-list-container>*{pointer-events:none}`,oD=Object.defineProperty,sD=Object.getOwnPropertyDescriptor,aD=Object.getPrototypeOf,lD=Reflect.get,cD=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?sD(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&oD(t,r,o),o},uD=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});let dD=class extends RL{constructor(){super(),this.articleList=[],this.planningObjects={},this.discountRelative="",this.discountAbsolute="",this.vatRelative="",this.vatAbsolute="",this.totalPrice="",this.totalPriceWithoutVat="",this.totalDiscountedPrice="",this.currency="",this.hasPositionalDiscounts=!1,this.showFurnrayModule=!1,this.showShippingCostsNotice=!1,this.webUiHandlesShoppingCart=!1,this.preventAddToCart=!1,this.preventEmptyCartText=!1,this.priceItemTag="fv-price-item",this.totalPriceTextId="total_price_inclusive_vat",this.totalPriceDivider=!1,this.preventTotal=!1,this.showTotalWithoutVat=!1,this.totalPriceWithoutVatTextId="",this.hidePrice=!1,this.remarksPrefix="",this.showZeroPrices=!1,this.zeroPricesAsSubpositionTotal=!1,this.showPositions=!1,this.showArticleId=!1,this.dimFloatDigits=2,this.highlightElementOnHover=!1,this.initDimensionSuffix()}furnrayClicked(){const e=new CustomEvent("furnrayclicked",{bubbles:!0,composed:!0});this.dispatchEvent(e)}shoppingCartClicked(){const e=new CustomEvent("shoppingcartclicked",{bubbles:!0,composed:!0});this.dispatchEvent(e)}formatCurrency(e){return dP.formatPrice(e,",",this.thousandsSeparator)}get DimensionSuffix(){return dD.dimensionSuffix}initDimensionSuffix(){return uD(this,null,function*(){yield CommunicationInterfaceService.IsAppReady;switch(yield CommunicationMessageService.getDimensionScale()){case 1:dD.dimensionSuffix="mm";break;case.1:dD.dimensionSuffix="cm";break;case.001:dD.dimensionSuffix="m"}this.requestUpdate()})}preparePriceData(e){return uD(this,null,function*(){yield this.updateComplete;let t=new Array;this.articleList=new Array;for(let r=0;r<e.Articles.length;++r)for(let n=0;n<e.Articles[r].Articles.length;++n){const i=e.Articles[r].Articles[n];this.articleList.push(i),t.push(i.GUID),i.DiscountedTotalPriceOfSale>0&&(this.hasPositionalDiscounts=!0)}this.highlightElementOnHover&&(this.planningObjects=yield CommunicationMessageService.getPlanningObjectByGuid(t)),this.discountRelative=e.discountRelative,this.discountAbsolute=e.discountAbsolute,this.vatRelative=e.vatRelative,this.vatAbsolute=e.vatAbsolute,this.totalPriceWithoutVat=e.totalPriceWithoutVat,this.totalPrice=e.totalPrice,this.totalDiscountedPrice=e.totalDiscountedPrice,this.currency=e.currency,this.hidePrice=!window.g_configuration.show_price,yield this.updateComplete})}initialize(e,t,r){return uD(this,null,function*(){this.showFurnrayModule=e,this.showShippingCostsNotice=t,this.webUiHandlesShoppingCart=r,this.requestUpdate("articleList"),yield this.updateComplete})}render(){return Zk`
+            ${this.renderEmptyCart()}
+            ${this.renderArticleList()}
+            ${this.renderTotalWithoutVat()}
+            ${this.renderTotal()}
+            ${this.renderShippingCost()}
+            ${this.renderAddToCart()}
+            ${this.renderFurnrayModule()}
+        `}renderShippingCost(){if(this.showShippingCostsNotice&&this.articleList.length>0)return Zk`
+                <div i18n="plus_shipping_costs">zzgl. Versandkosten</div>`}renderAddToCart(){return this.preventAddToCart?Zk``:this.articleList.length>0?Zk`
+                <fv-button id="addToCart" @click=${this.shoppingCartClicked} i18n="fv.wizard.addToCart">In den
+                    Warenkorb
+                </fv-button>`:void 0}renderFurnrayModule(){if(this.showFurnrayModule&&this.articleList.length>0)return Zk`
+                <fv-button id="furnrayModule" @click="${this.furnrayClicked}" i18n="fv.create_furnray_upload.action">
+                    Fotorealistisches Bild erzeugen
+                </fv-button>`}renderEmptyCart(){return this.preventEmptyCartText?Zk``:this.articleList.length<1?Zk`
+                <div i18n="fv.generickatatree.nothingFound">Keine Artikel gefunden.</div>`:void 0}renderTotalWithoutVat(){return this.preventTotal||0==this.showTotalWithoutVat?Zk``:this.articleList.length>0?Zk`
+                ${this.totalPriceDivider?Zk`
+                    <div class="divider-row">
+                        <div class="description-divider"></div>
+                        <div class="price-divider"></div>
+                    </div>`:Zk``}
+                <div class="totalRow">
+                    <div class="description"
+                         ${this.totalPriceWithoutVatTextId?Zk`i18n="${this.totalPriceWithoutVatTextId}`:Zk``}
+                    ">Gesamtsumme (exkl. MwSt.)
+                </div>
+                <div class="price">${this.totalPriceWithoutVat+" "+this.currency}</div>
+                </div>
+            `:void 0}renderTotal(){return this.preventTotal?Zk``:this.articleList.length>0?this.hasPositionalDiscounts?Zk`
+                    ${this.totalPriceDivider?Zk`
+                        <div class="divider-row">
+                            <div class="description-divider"></div>
+                            <div class="price-divider"></div>
+                        </div>`:Zk``}
+                    <div class="totalRow">
+                        <div class="description" i18n="${this.totalPriceTextId}">Gesamtsumme (inkl. MwSt.)</div>
+                        <div class="price">${this.totalPrice+" "+this.currency}</div>
+                    </div>
+                    ${this.totalPriceDivider?Zk`
+                        <div class="divider-row">
+                            <div class="description-divider"></div>
+                            <div class="price-divider"></div>
+                        </div>`:Zk``}
+                    <div class="totalRow">
+                        <div class="description" i18n="discounted_price_inclusive_vat">Sonderpreis (inkl. MwSt.)</div>
+                        <div class="price">${this.totalDiscountedPrice+" "+this.currency}</div>
+                    </div>
+                `:Zk`
+                    ${this.totalPriceDivider?Zk`
+                        <div class="divider-row">
+                            <div class="description-divider"></div>
+                            <div class="price-divider"></div>
+                        </div>`:Zk``}
+                    <div class="totalRow">
+                        <div class="description" i18n="${this.totalPriceTextId}">Gesamtsumme (inkl. MwSt.)</div>
+                        <div class="price">${this.totalPrice+" "+this.currency}</div>
+                    </div>
+                `:void 0}createPriceItemComponent(e,t,r=void 0,n=!1){const i=document.createElement(this.priceItemTag);if(i.instanceIdent=Object.keys(this.planningObjects).length>0?this.planningObjects[e.price.GUID]:-1,i.description=e.price.ArticleDescription.length<1?e.price.Article_ID:e.price.ArticleDescription,i.totalPriceOfSale=this.formatCurrency(e.price.TotalPriceOfSale),i.quantity=e.price.Quantity,i.hasPositionalDiscounts=e.price.DiscountedTotalPriceOfSale>0,i.discountedTotalPriceOfSale=this.formatCurrency(e.price.DiscountedTotalPriceOfSale),i.discountedPriceOfSaleRelative=e.price.DiscountedPriceOfSaleRelative,i.currency=this.currency,i.articleId=e.price.Article_ID,i.remarks=e.price.Remarks,i.hidePrice=this.hidePrice,i.priceItemData=e.price,i.remarksPrefix=this.remarksPrefix,i.showZeroPrice=this.showZeroPrices,i.zeroPricesAsSubpositionTotal=this.zeroPricesAsSubpositionTotal,i.showPosition=this.showPositions,i.showArticleId=this.showArticleId,i.dimFloatDigits=this.dimFloatDigits,i.dimensionSuffix=this.DimensionSuffix,i.thousandsSeparator=this.thousandsSeparator,i.highlightElementOnHover=this.highlightElementOnHover,t&&i.classList.add("last"),e.price&&e.price.Positions_NR&&e.price.Positions_NR.includes(".")&&i.classList.add("sub-position"),null!=r&&n){const t=r["sub-positions"].length-1;if(r["sub-positions"].at(t)==e.price){i.classList.add("last-of-position");let e=r.price.TotalPriceOfSale;for(const t of r["sub-positions"])e+=t.TotalPriceOfSale;i.totalPricePosition=e}}else if(e["sub-positions"].length>0){i.classList.add("has-sub-positions");let t=e.price.TotalPriceOfSale;for(const r of e["sub-positions"])t+=r.TotalPriceOfSale;i.totalPricePosition=t}return i}createPriceItemsFromMainPosition(e,t,r){return Zk`
+            ${this.createPriceItemComponent(e,t==r&&e["sub-positions"].length<1)}
+            ${e["sub-positions"].map((n,i)=>this.createPriceItemComponent({price:n,"sub-positions":[]},t==r&&i==e["sub-positions"].length-1,e,0!=r))}
+        `}renderArticleList(){const e=new Array;for(const t of this.articleList)if(t.Positions_NR&&t.Positions_NR.includes(".")){const r=e.at(e.length-1);r&&r["sub-positions"].push(t)}else e.push({price:t,"sub-positions":[]});const t=e.length-1;return Zk`
+            <div id="price-list-container">
+                ${e.map((e,r)=>this.createPriceItemsFromMainPosition(e,r,t))}
+                <slot></slot>
+            </div>
+        `}getTestData(){return{Articles:[{WaWiReference:"",DH_Manu:"hasena",DH_Prog:"SOLI",Manu:"Hasena",Articles:[{Article_ID:"5819.216",Quantity:1,PriceOfSale:305,TotalPriceOfSale:305,DiscountedPriceOfSale:216.55,DiscountedPriceOfSaleRelative:29,DiscountedTotalPriceOfSale:0,PurchasePriceCalc:0,PurchasePrice:305,DimX:"50.000000",DimY:"41.300000",DimZ:"39.900000",ArticleDescription:"Mino Nachttisch / Ausführung: zerlegt / Folie: 16-Anthracit",Remarks:["Oberfläche: lackiert","Metall: pulverbeschichtet"]},{Article_ID:"5103.21559",Quantity:1,PriceOfSale:290,TotalPriceOfSale:290,DiscountedPriceOfSale:205.9,DiscountedPriceOfSaleRelative:29,DiscountedTotalPriceOfSale:205.9,PurchasePriceCalc:0,PurchasePrice:290,DimX:"140.000000",DimY:"200.000000",DimZ:"14.550000",ArticleDescription:"Soft-Line: Noble 14 Bettrahmen / Breite: 140 cm / Länge: 200 cm / Folie: 59-Buche"},{Article_ID:"5522.01559",Quantity:1,PriceOfSale:239,TotalPriceOfSale:239,DiscountedPriceOfSale:169.69,DiscountedPriceOfSaleRelative:29,DiscountedTotalPriceOfSale:169.69,PurchasePriceCalc:0,PurchasePrice:239,DimX:"",DimY:"",DimZ:"",ArticleDescription:"Nuetta Kopfteil / Breite: 140 cm / Folie: 59-Buche",Remarks:["Oberfläche: 100% Polyurethan","Grundgewebe: 71% Polyester, 29% Baumwolle","Metall: verchromt"]},{Article_ID:"5401.000206",Quantity:1,PriceOfSale:107,TotalPriceOfSale:107,DiscountedPriceOfSale:75.97,DiscountedPriceOfSaleRelative:29,DiscountedTotalPriceOfSale:75.97,PurchasePriceCalc:0,PurchasePrice:107,DimX:"",DimY:"",DimZ:"",ArticleDescription:"Cantu Füsse / Höhe: 20 cm / Holz: 06-Buche natur, lackiert",Remarks:["Metall: verchromt"]}]}],SceneDimensions:{x:2783.158231,y:2306.74739,z:2487},currency:"€",discountRelative:29,discountAbsolute:"272,89",vatRelative:19,vatAbsolute:"150,24",totalPriceWithoutVat:"790,76",totalPrice:"941,00",totalDiscountedPrice:"668,11",Attachments:{},CloudId:"p49wg8ly"}}};dD.styles=[((e,t)=>lD(aD(e),t,e))(dD,"styles")||[],$k`${yk(iD)}`],dD.dimensionSuffix="mm",cD([lk({type:Array})],dD.prototype,"articleList",2),cD([lk({type:Object})],dD.prototype,"planningObjects",2),cD([lk({type:String})],dD.prototype,"discountRelative",2),cD([lk({type:String})],dD.prototype,"discountAbsolute",2),cD([lk({type:String})],dD.prototype,"vatRelative",2),cD([lk({type:String})],dD.prototype,"vatAbsolute",2),cD([lk({type:String})],dD.prototype,"totalPrice",2),cD([lk({type:String})],dD.prototype,"totalPriceWithoutVat",2),cD([lk({type:String})],dD.prototype,"totalDiscountedPrice",2),cD([lk({type:String})],dD.prototype,"currency",2),cD([lk({type:Boolean})],dD.prototype,"hasPositionalDiscounts",2),cD([lk({type:Boolean})],dD.prototype,"showFurnrayModule",2),cD([lk({type:Boolean})],dD.prototype,"showShippingCostsNotice",2),cD([lk({type:Boolean})],dD.prototype,"webUiHandlesShoppingCart",2),cD([lk({type:Boolean,attribute:"prevent-add-to-cart"})],dD.prototype,"preventAddToCart",2),cD([lk({type:Boolean,attribute:"prevent-empty-cart-text"})],dD.prototype,"preventEmptyCartText",2),cD([lk({type:String,reflect:!0,attribute:"price-item-tag"})],dD.prototype,"priceItemTag",2),cD([lk({type:String,reflect:!0,attribute:"total-price-txt-id"})],dD.prototype,"totalPriceTextId",2),cD([lk({type:Boolean,reflect:!0,attribute:"total-price-divider"})],dD.prototype,"totalPriceDivider",2),cD([lk({type:Boolean,reflect:!0,attribute:"prevent-total"})],dD.prototype,"preventTotal",2),cD([lk({type:Boolean,reflect:!0,attribute:"show-total-without-vat"})],dD.prototype,"showTotalWithoutVat",2),cD([lk({type:String,reflect:!0,attribute:"show-total-without-vat-txt"})],dD.prototype,"totalPriceWithoutVatTextId",2),cD([lk({type:Boolean,reflect:!0,attribute:"hide-price"})],dD.prototype,"hidePrice",2),cD([lk({type:String,reflect:!0,attribute:"remarks-prefix"})],dD.prototype,"remarksPrefix",2),cD([lk({type:Boolean,reflect:!0,attribute:"zero-prices"})],dD.prototype,"showZeroPrices",2),cD([lk({type:Boolean,reflect:!0,attribute:"zero-prices-as-subposition-total"})],dD.prototype,"zeroPricesAsSubpositionTotal",2),cD([lk({type:Boolean,reflect:!0,attribute:"show-positions"})],dD.prototype,"showPositions",2),cD([lk({type:Boolean,reflect:!0,attribute:"show-article-id"})],dD.prototype,"showArticleId",2),cD([lk({type:Number,reflect:!0,attribute:"dim-float-digits"})],dD.prototype,"dimFloatDigits",2),cD([lk({type:String,reflect:!0,attribute:"thousands-separator"})],dD.prototype,"thousandsSeparator",2),cD([lk({type:Boolean,reflect:!0,attribute:"highlight-element-on-hover"})],dD.prototype,"highlightElementOnHover",2),dD=cD([sk("fv-price-list")],dD);var hD=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{border-left:var(--price-overview-border-left,unset);height:var(--price-overview-custom-height,unset);padding:var(--price-overview-padding,unset)}:host .title-container{margin-bottom:var(--price-overview-title-margin-bottom,unset)}:host .overview-container{margin-bottom:var(--price-overview-overview-margin-bottom,unset)}:host #price-list-container,:host .totalRow{overflow:hidden auto;padding:var(--price-overview-list-container-padding,unset);scrollbar-width:none;-ms-scrollbar-width:none;width:var(--price-overview-list-container-width,unset)}:host #price-list-container::-webkit-scrollbar,:host .totalRow::-webkit-scrollbar{display:none}:host(.show-scrollbar) #price-list-container{scrollbar-width:inherit;-ms-scrollbar-width:inherit}:host(.show-scrollbar) #price-list-container::-webkit-scrollbar{display:inherit}@media (width <= 520px){:host(.mobile-hide-title) .title-container{display:none}}@media (width >= 520px) and (width <= 980px){:host(.mobile-hide-title) .title-container{display:none}}`
+/**
+ * @license
+ * MIT License
+ * 
+ * Copyright (c) 2014-present, Lee Byron and other contributors.
+ * 
+ * Permission is hereby granted, free of charge, to any person obtaining a copy
+ * of this software and associated documentation files (the "Software"), to deal
+ * in the Software without restriction, including without limitation the rights
+ * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+ * copies of the Software, and to permit persons to whom the Software is
+ * furnished to do so, subject to the following conditions:
+ * 
+ * The above copyright notice and this permission notice shall be included in all
+ * copies or substantial portions of the Software.
+ * 
+ * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+ * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+ * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+ * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+ * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+ * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+ * SOFTWARE.
+ */,pD="@@__IMMUTABLE_INDEXED__@@";function mD(e){return Boolean(e&&e[pD])}var _D="@@__IMMUTABLE_KEYED__@@";function gD(e){return Boolean(e&&e[_D])}function fD(e){return gD(e)||mD(e)}var vD="@@__IMMUTABLE_ITERABLE__@@";function bD(e){return Boolean(e&&e[vD])}var yD=function(e){return bD(e)?e:nN(e)},$D=function(e){function t(e){return gD(e)?e:iN(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(yD),xD=function(e){function t(e){return mD(e)?e:oN(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(yD),SD=function(e){function t(e){return bD(e)&&!fD(e)?e:sN(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t}(yD);yD.Keyed=$D,yD.Indexed=xD,yD.Set=SD;var wD="function"==typeof Symbol&&Symbol.iterator,AD="@@iterator",CD=wD||AD,ED=function(e){this.next=e};function ID(e,t,r,n){var i=0===e?t:1===e?r:[t,r];return n?n.value=i:n={value:i,done:!1},n}function MD(){return{value:void 0,done:!0}}function kD(e){return!!Array.isArray(e)||!!LD(e)}function TD(e){return!(!e||"function"!=typeof e.next)}function RD(e){var t=LD(e);return t&&t.call(e)}function LD(e){var t=e&&(wD&&e[wD]||e[AD]);if("function"==typeof t)return t}ED.prototype.toString=function(){return"[Iterator]"},ED.KEYS=0,ED.VALUES=1,ED.ENTRIES=2,ED.prototype.inspect=ED.prototype.toSource=function(){return this.toString()},ED.prototype[CD]=function(){return this};var PD="delete",DD=32,ND=31,FD={};function OD(e){e&&(e.value=!0)}function BD(){}function UD(e){return void 0===e.size&&(e.size=e.__iterate(zD)),e.size}function VD(e,t){if("number"!=typeof t){var r=t>>>0;if(""+r!==t||4294967295===r)return NaN;t=r}return t<0?UD(e)+t:t}function zD(){return!0}function HD(e,t,r){return(0===e&&!WD(e)||void 0!==r&&e<=-r)&&(void 0===t||void 0!==r&&t>=r)}function GD(e,t){return JD(e,t,0)}function jD(e,t){return JD(e,t,t)}function JD(e,t,r){return void 0===e?r:WD(e)?t===1/0?t:0|Math.max(0,t+e):void 0===t||t===e?e:0|Math.min(t,e)}function WD(e){return e<0||0===e&&1/e==-1/0}var QD="@@__IMMUTABLE_RECORD__@@";function qD(e){return Boolean(e&&e[QD])}function YD(e){return bD(e)||qD(e)}var XD="@@__IMMUTABLE_ORDERED__@@";function KD(e){return Boolean(e&&e[XD])}var ZD="@@__IMMUTABLE_SEQ__@@";function eN(e){return Boolean(e&&e[ZD])}var tN=Object.prototype.hasOwnProperty;function rN(e){return!(!Array.isArray(e)&&"string"!=typeof e)||e&&"object"==typeof e&&Number.isInteger(e.length)&&e.length>=0&&(0===e.length?1===Object.keys(e).length:e.hasOwnProperty(e.length-1))}var nN=function(e){function t(e){return null==e?dN():YD(e)?e.toSeq():function(e){var t=mN(e);if(t)return(n=LD(r=e))&&n===r.entries?t.fromEntrySeq():function(e){var t=LD(e);return t&&t===e.keys}(e)?t.toSetSeq():t;var r,n;if("object"==typeof e)return new lN(e);throw new TypeError("Expected Array or collection object of values, or keyed object: "+e)}(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toSeq=function(){return this},t.prototype.toString=function(){return this.__toString("Seq {","}")},t.prototype.cacheResult=function(){return!this._cache&&this.__iterateUncached&&(this._cache=this.entrySeq().toArray(),this.size=this._cache.length),this},t.prototype.__iterate=function(e,t){var r=this._cache;if(r){for(var n=r.length,i=0;i!==n;){var o=r[t?n-++i:i++];if(!1===e(o[1],o[0],this))break}return i}return this.__iterateUncached(e,t)},t.prototype.__iterator=function(e,t){var r=this._cache;if(r){var n=r.length,i=0;return new ED(function(){if(i===n)return{value:void 0,done:!0};var o=r[t?n-++i:i++];return ID(e,o[0],o[1])})}return this.__iteratorUncached(e,t)},t}(yD),iN=function(e){function t(e){return null==e?dN().toKeyedSeq():bD(e)?gD(e)?e.toSeq():e.fromEntrySeq():qD(e)?e.toSeq():hN(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toKeyedSeq=function(){return this},t}(nN),oN=function(e){function t(e){return null==e?dN():bD(e)?gD(e)?e.entrySeq():e.toIndexedSeq():qD(e)?e.toSeq().entrySeq():pN(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return t(arguments)},t.prototype.toIndexedSeq=function(){return this},t.prototype.toString=function(){return this.__toString("Seq [","]")},t}(nN),sN=function(e){function t(e){return(bD(e)&&!fD(e)?e:oN(e)).toSetSeq()}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return t(arguments)},t.prototype.toSetSeq=function(){return this},t}(nN);nN.isSeq=eN,nN.Keyed=iN,nN.Set=sN,nN.Indexed=oN,nN.prototype[ZD]=!0;var aN=function(e){function t(e){this._array=e,this.size=e.length}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.get=function(e,t){return this.has(e)?this._array[VD(this,e)]:t},t.prototype.__iterate=function(e,t){for(var r=this._array,n=r.length,i=0;i!==n;){var o=t?n-++i:i++;if(!1===e(r[o],o,this))break}return i},t.prototype.__iterator=function(e,t){var r=this._array,n=r.length,i=0;return new ED(function(){if(i===n)return{value:void 0,done:!0};var o=t?n-++i:i++;return ID(e,o,r[o])})},t}(oN),lN=function(e){function t(e){var t=Object.keys(e).concat(Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[]);this._object=e,this._keys=t,this.size=t.length}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.get=function(e,t){return void 0===t||this.has(e)?this._object[e]:t},t.prototype.has=function(e){return tN.call(this._object,e)},t.prototype.__iterate=function(e,t){for(var r=this._object,n=this._keys,i=n.length,o=0;o!==i;){var s=n[t?i-++o:o++];if(!1===e(r[s],s,this))break}return o},t.prototype.__iterator=function(e,t){var r=this._object,n=this._keys,i=n.length,o=0;return new ED(function(){if(o===i)return{value:void 0,done:!0};var s=n[t?i-++o:o++];return ID(e,s,r[s])})},t}(iN);lN.prototype[XD]=!0;var cN,uN=function(e){function t(e){this._collection=e,this.size=e.length||e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.__iterateUncached=function(e,t){if(t)return this.cacheResult().__iterate(e,t);var r=RD(this._collection),n=0;if(TD(r))for(var i;!(i=r.next()).done&&!1!==e(i.value,n++,this););return n},t.prototype.__iteratorUncached=function(e,t){if(t)return this.cacheResult().__iterator(e,t);var r=RD(this._collection);if(!TD(r))return new ED(MD);var n=0;return new ED(function(){var t=r.next();return t.done?t:ID(e,n++,t.value)})},t}(oN);function dN(){return cN||(cN=new aN([]))}function hN(e){var t=mN(e);if(t)return t.fromEntrySeq();if("object"==typeof e)return new lN(e);throw new TypeError("Expected Array or collection object of [k, v] entries, or keyed object: "+e)}function pN(e){var t=mN(e);if(t)return t;throw new TypeError("Expected Array or collection object of values: "+e)}function mN(e){return rN(e)?new aN(e):kD(e)?new uN(e):void 0}function _N(){return this.__ensureOwner()}function gN(){return this.__ownerID?this:this.__ensureOwner(new BD)}var fN="function"==typeof Math.imul&&-2===Math.imul(4294967295,2)?Math.imul:function(e,t){var r=65535&(e|=0),n=65535&(t|=0);return r*n+((e>>>16)*n+r*(t>>>16)<<16>>>0)|0};function vN(e){return e>>>1&1073741824|3221225471&e}var bN=Object.prototype.valueOf;function yN(e){if(null==e)return $N(e);if("function"==typeof e.hashCode)return vN(e.hashCode(e));var t=function(e){return e.valueOf!==bN&&"function"==typeof e.valueOf?e.valueOf(e):e}(e);if(null==t)return $N(t);switch(typeof t){case"boolean":return t?1108378657:1108378656;case"number":return function(e){if(e!=e||e===1/0)return 0;var t=0|e;t!==e&&(t^=4294967295*e);for(;e>4294967295;)t^=e/=4294967295;return vN(t)}(t);case"string":return t.length>TN?function(e){var t=PN[e];void 0===t&&(t=xN(e),LN===RN&&(LN=0,PN={}),LN++,PN[e]=t);return t}(t):xN(t);case"object":case"function":return function(e){var t;if(EN&&void 0!==(t=CN.get(e)))return t;if(t=e[kN],void 0!==t)return t;if(!wN){if(void 0!==(t=e.propertyIsEnumerable&&e.propertyIsEnumerable[kN]))return t;if(void 0!==(t=function(e){if(e&&e.nodeType>0)switch(e.nodeType){case 1:return e.uniqueID;case 9:return e.documentElement&&e.documentElement.uniqueID}}(e)))return t}if(t=AN(),EN)CN.set(e,t);else{if(void 0!==SN&&!1===SN(e))throw new Error("Non-extensible objects are not allowed as keys.");if(wN)Object.defineProperty(e,kN,{enumerable:!1,configurable:!1,writable:!1,value:t});else if(void 0!==e.propertyIsEnumerable&&e.propertyIsEnumerable===e.constructor.prototype.propertyIsEnumerable)e.propertyIsEnumerable=function(){return this.constructor.prototype.propertyIsEnumerable.apply(this,arguments)},e.propertyIsEnumerable[kN]=t;else{if(void 0===e.nodeType)throw new Error("Unable to set a non-enumerable property on object.");e[kN]=t}}return t}(t);case"symbol":return function(e){var t=IN[e];if(void 0!==t)return t;return t=AN(),IN[e]=t,t}(t);default:if("function"==typeof t.toString)return xN(t.toString());throw new Error("Value type "+typeof t+" cannot be hashed.")}}function $N(e){return null===e?1108378658:1108378659}function xN(e){for(var t=0,r=0;r<e.length;r++)t=31*t+e.charCodeAt(r)|0;return vN(t)}var SN=Object.isExtensible,wN=function(){try{return Object.defineProperty({},"@",{}),!0}catch(e){return!1}}();function AN(){var e=++MN;return 1073741824&MN&&(MN=0),e}var CN,EN="function"==typeof WeakMap;EN&&(CN=new WeakMap);var IN=Object.create(null),MN=0,kN="__immutablehash__";"function"==typeof Symbol&&(kN=Symbol(kN));var TN=16,RN=255,LN=0,PN={},DN=function(e){function t(e,t){this._iter=e,this._useKeys=t,this.size=e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.get=function(e,t){return this._iter.get(e,t)},t.prototype.has=function(e){return this._iter.has(e)},t.prototype.valueSeq=function(){return this._iter.valueSeq()},t.prototype.reverse=function(){var e=this,t=VN(this,!0);return this._useKeys||(t.valueSeq=function(){return e._iter.toSeq().reverse()}),t},t.prototype.map=function(e,t){var r=this,n=UN(this,e,t);return this._useKeys||(n.valueSeq=function(){return r._iter.toSeq().map(e,t)}),n},t.prototype.__iterate=function(e,t){var r=this;return this._iter.__iterate(function(t,n){return e(t,n,r)},t)},t.prototype.__iterator=function(e,t){return this._iter.__iterator(e,t)},t}(iN);DN.prototype[XD]=!0;var NN=function(e){function t(e){this._iter=e,this.size=e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.includes=function(e){return this._iter.includes(e)},t.prototype.__iterate=function(e,t){var r=this,n=0;return t&&UD(this),this._iter.__iterate(function(i){return e(i,t?r.size-++n:n++,r)},t)},t.prototype.__iterator=function(e,t){var r=this,n=this._iter.__iterator(1,t),i=0;return t&&UD(this),new ED(function(){var o=n.next();return o.done?o:ID(e,t?r.size-++i:i++,o.value,o)})},t}(oN),FN=function(e){function t(e){this._iter=e,this.size=e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.has=function(e){return this._iter.includes(e)},t.prototype.__iterate=function(e,t){var r=this;return this._iter.__iterate(function(t){return e(t,t,r)},t)},t.prototype.__iterator=function(e,t){var r=this._iter.__iterator(1,t);return new ED(function(){var t=r.next();return t.done?t:ID(e,t.value,t.value,t)})},t}(sN),ON=function(e){function t(e){this._iter=e,this.size=e.size}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.entrySeq=function(){return this._iter.toSeq()},t.prototype.__iterate=function(e,t){var r=this;return this._iter.__iterate(function(t){if(t){KN(t);var n=bD(t);return e(n?t.get(1):t[1],n?t.get(0):t[0],r)}},t)},t.prototype.__iterator=function(e,t){var r=this._iter.__iterator(1,t);return new ED(function(){for(;;){var t=r.next();if(t.done)return t;var n=t.value;if(n){KN(n);var i=bD(n);return ID(e,i?n.get(0):n[0],i?n.get(1):n[1],t)}}})},t}(iN);function BN(e){var t=eF(e);return t._iter=e,t.size=e.size,t.flip=function(){return e},t.reverse=function(){var t=e.reverse.apply(this);return t.flip=function(){return e.reverse()},t},t.has=function(t){return e.includes(t)},t.includes=function(t){return e.has(t)},t.cacheResult=tF,t.__iterateUncached=function(t,r){var n=this;return e.__iterate(function(e,r){return!1!==t(r,e,n)},r)},t.__iteratorUncached=function(t,r){if(2===t){var n=e.__iterator(t,r);return new ED(function(){var e=n.next();if(!e.done){var t=e.value[0];e.value[0]=e.value[1],e.value[1]=t}return e})}return e.__iterator(1===t?0:1,r)},t}function UN(e,t,r){var n=eF(e);return n.size=e.size,n.has=function(t){return e.has(t)},n.get=function(n,i){var o=e.get(n,FD);return o===FD?i:t.call(r,o,n,e)},n.__iterateUncached=function(n,i){var o=this;return e.__iterate(function(e,i,s){return!1!==n(t.call(r,e,i,s),i,o)},i)},n.__iteratorUncached=function(n,i){var o=e.__iterator(2,i);return new ED(function(){var i=o.next();if(i.done)return i;var s=i.value,a=s[0];return ID(n,a,t.call(r,s[1],a,e),i)})},n}function VN(e,t){var r=eF(e);return r._iter=e,r.size=e.size,r.reverse=function(){return e},e.flip&&(r.flip=function(){var t=BN(e);return t.reverse=function(){return e.flip()},t}),r.get=function(r,n){return e.get(t?r:-1-r,n)},r.has=function(r){return e.has(t?r:-1-r)},r.includes=function(t){return e.includes(t)},r.cacheResult=tF,r.__iterate=function(r,n){var i=this,o=0;return n&&UD(e),e.__iterate(function(e,s){return r(e,t?s:n?i.size-++o:o++,i)},!n)},r.__iterator=function(n,i){var o=0;i&&UD(e);var s=e.__iterator(2,!i);return new ED(function(){var e=s.next();if(e.done)return e;var a=e.value;return ID(n,t?a[0]:i?r.size-++o:o++,a[1],e)})},r}function zN(e,t,r,n){var i=eF(e);return n&&(i.has=function(n){var i=e.get(n,FD);return i!==FD&&!!t.call(r,i,n,e)},i.get=function(n,i){var o=e.get(n,FD);return o!==FD&&t.call(r,o,n,e)?o:i}),i.__iterateUncached=function(i,o){var s=this,a=0;return e.__iterate(function(e,o,l){if(t.call(r,e,o,l))return a++,i(e,n?o:a-1,s)},o),a},i.__iteratorUncached=function(i,o){var s=e.__iterator(2,o),a=0;return new ED(function(){for(;;){var o=s.next();if(o.done)return o;var l=o.value,c=l[0],u=l[1];if(t.call(r,u,c,e))return ID(i,n?c:a++,u,o)}})},i}function HN(e,t,r,n){var i=e.size;if(HD(t,r,i))return e;if(void 0===i&&(t<0||r<0))return HN(e.toSeq().cacheResult(),t,r,n);var o,s=GD(t,i),a=jD(r,i)-s;a==a&&(o=a<0?0:a);var l=eF(e);return l.size=0===o?o:e.size&&o||void 0,!n&&eN(e)&&o>=0&&(l.get=function(t,r){return(t=VD(this,t))>=0&&t<o?e.get(t+s,r):r}),l.__iterateUncached=function(t,r){var i=this;if(0===o)return 0;if(r)return this.cacheResult().__iterate(t,r);var a=0,l=!0,c=0;return e.__iterate(function(e,r){if(!l||!(l=a++<s))return c++,!1!==t(e,n?r:c-1,i)&&c!==o}),c},l.__iteratorUncached=function(t,r){if(0!==o&&r)return this.cacheResult().__iterator(t,r);if(0===o)return new ED(MD);var i=e.__iterator(t,r),a=0,l=0;return new ED(function(){for(;a++<s;)i.next();if(++l>o)return{value:void 0,done:!0};var e=i.next();return n||1===t||e.done?e:ID(t,l-1,0===t?void 0:e.value[1],e)})},l}function GN(e,t,r,n){var i=eF(e);return i.__iterateUncached=function(i,o){var s=this;if(o)return this.cacheResult().__iterate(i,o);var a=!0,l=0;return e.__iterate(function(e,o,c){if(!a||!(a=t.call(r,e,o,c)))return l++,i(e,n?o:l-1,s)}),l},i.__iteratorUncached=function(i,o){var s=this;if(o)return this.cacheResult().__iterator(i,o);var a=e.__iterator(2,o),l=!0,c=0;return new ED(function(){var e,o,u;do{if((e=a.next()).done)return n||1===i?e:ID(i,c++,0===i?void 0:e.value[1],e);var d=e.value;o=d[0],u=d[1],l&&(l=t.call(r,u,o,s))}while(l);return 2===i?e:ID(i,o,u,e)})},i}NN.prototype.cacheResult=DN.prototype.cacheResult=FN.prototype.cacheResult=ON.prototype.cacheResult=tF;var jN=function(e){function t(e){this._wrappedIterables=e.flatMap(function(e){return e._wrappedIterables?e._wrappedIterables:[e]}),this.size=this._wrappedIterables.reduce(function(e,t){if(void 0!==e){var r=t.size;if(void 0!==r)return e+r}},0),this[_D]=this._wrappedIterables[0][_D],this[pD]=this._wrappedIterables[0][pD],this[XD]=this._wrappedIterables[0][XD]}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.__iterateUncached=function(e,t){if(0!==this._wrappedIterables.length){if(t)return this.cacheResult().__iterate(e,t);for(var r=0,n=gD(this),i=n?2:1,o=this._wrappedIterables[r].__iterator(i,t),s=!0,a=0;s;){for(var l=o.next();l.done;){if(++r===this._wrappedIterables.length)return a;l=(o=this._wrappedIterables[r].__iterator(i,t)).next()}s=!1!==(n?e(l.value[1],l.value[0],this):e(l.value,a,this)),a++}return a}},t.prototype.__iteratorUncached=function(e,t){var r=this;if(0===this._wrappedIterables.length)return new ED(MD);if(t)return this.cacheResult().__iterator(e,t);var n=0,i=this._wrappedIterables[n].__iterator(e,t);return new ED(function(){for(var o=i.next();o.done;){if(++n===r._wrappedIterables.length)return o;o=(i=r._wrappedIterables[n].__iterator(e,t)).next()}return o})},t}(nN);function JN(e,t,r){var n=eF(e);return n.__iterateUncached=function(i,o){if(o)return this.cacheResult().__iterate(i,o);var s=0,a=!1;return function e(l,c){l.__iterate(function(o,l){return(!t||c<t)&&bD(o)?e(o,c+1):(s++,!1===i(o,r?l:s-1,n)&&(a=!0)),!a},o)}(e,0),s},n.__iteratorUncached=function(n,i){if(i)return this.cacheResult().__iterator(n,i);var o=e.__iterator(n,i),s=[],a=0;return new ED(function(){for(;o;){var e=o.next();if(!1===e.done){var l=e.value;if(2===n&&(l=l[1]),t&&!(s.length<t)||!bD(l))return r?e:ID(n,a++,l,e);s.push(o),o=l.__iterator(n,i)}else o=s.pop()}return{value:void 0,done:!0}})},n}function WN(e,t,r){t||(t=rF);var n=gD(e),i=0,o=e.toSeq().map(function(t,n){return[n,t,i++,r?r(t,n,e):t]}).valueSeq().toArray();return o.sort(function(e,r){return t(e[3],r[3])||e[2]-r[2]}).forEach(n?function(e,t){o[t].length=2}:function(e,t){o[t]=e[1]}),n?iN(o):mD(e)?oN(o):sN(o)}function QN(e,t,r){if(t||(t=rF),r){var n=e.toSeq().map(function(t,n){return[t,r(t,n,e)]}).reduce(function(e,r){return qN(t,e[1],r[1])?r:e});return n&&n[0]}return e.reduce(function(e,r){return qN(t,e,r)?r:e})}function qN(e,t,r){var n=e(r,t);return 0===n&&r!==t&&(null==r||r!=r)||n>0}function YN(e,t,r,n){var i=eF(e),o=new aN(r).map(function(e){return e.size});return i.size=n?o.max():o.min(),i.__iterate=function(e,t){for(var r,n=this.__iterator(1,t),i=0;!(r=n.next()).done&&!1!==e(r.value,i++,this););return i},i.__iteratorUncached=function(e,i){var o=r.map(function(e){return e=yD(e),RD(i?e.reverse():e)}),s=0,a=!1;return new ED(function(){var r;return a||(r=o.map(function(e){return e.next()}),a=n?r.every(function(e){return e.done}):r.some(function(e){return e.done})),a?{value:void 0,done:!0}:ID(e,s++,t.apply(null,r.map(function(e){return e.value})))})},i}function XN(e,t){return e===t?e:eN(e)?t:e.constructor(t)}function KN(e){if(e!==Object(e))throw new TypeError("Expected [K, V] tuple: "+e)}function ZN(e){return gD(e)?$D:mD(e)?xD:SD}function eF(e){return Object.create((gD(e)?iN:mD(e)?oN:sN).prototype)}function tF(){return this._iter.cacheResult?(this._iter.cacheResult(),this.size=this._iter.size,this):nN.prototype.cacheResult.call(this)}function rF(e,t){return void 0===e&&void 0===t?0:void 0===e?1:void 0===t?-1:e>t?1:e<t?-1:0}function nF(e){return Boolean(e&&"function"==typeof e.equals&&"function"==typeof e.hashCode)}function iF(e,t){if(e===t||e!=e&&t!=t)return!0;if(!e||!t)return!1;if("function"==typeof e.valueOf&&"function"==typeof t.valueOf){if((e=e.valueOf())===(t=t.valueOf())||e!=e&&t!=t)return!0;if(!e||!t)return!1}return!!(nF(e)&&nF(t)&&e.equals(t))}function oF(e,t,r,n){return oO(e,[t],r,n)}function sF(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return lF(this,e)}function aF(e){for(var t=[],r=arguments.length-1;r-- >0;)t[r]=arguments[r+1];if("function"!=typeof e)throw new TypeError("Invalid merger function: "+e);return lF(this,t,e)}function lF(e,t,r){for(var n=[],i=0;i<t.length;i++){var o=$D(t[i]);0!==o.size&&n.push(o)}return 0===n.length?e:0!==e.toSeq().size||e.__ownerID||1!==n.length?e.withMutations(function(e){for(var t=r?function(t,n){oF(e,n,FD,function(e){return e===FD?t:r(e,t,n)})}:function(t,r){e.set(r,t)},i=0;i<n.length;i++)n[i].forEach(t)}):qD(e)?e:e.constructor(n[0])}var cF=Object.prototype.toString;function uF(e){if(!e||"object"!=typeof e||"[object Object]"!==cF.call(e))return!1;var t=Object.getPrototypeOf(e);if(null===t)return!0;for(var r=t,n=Object.getPrototypeOf(t);null!==n;)r=n,n=Object.getPrototypeOf(r);return r===t}function dF(e){return"object"==typeof e&&(YD(e)||Array.isArray(e)||uF(e))}function hF(e){return"string"==typeof e&&("__proto__"===e||"constructor"===e)}function pF(e,t){t=t||0;for(var r=Math.max(0,e.length-t),n=new Array(r),i=0;i<r;i++)n[i]=e[i+t];return n}function mF(e){if(Array.isArray(e))return pF(e);var t={};for(var r in e)hF(r)||tN.call(e,r)&&(t[r]=e[r]);return t}function _F(e,t,r){return gF(e,t,function(e){function t(r,n,i){return dF(r)&&dF(n)&&(o=n,s=nN(r),a=nN(o),mD(s)===mD(a)&&gD(s)===gD(a))?gF(r,[n],t):e?e(r,n,i):n;var o,s,a}return t}(r))}function gF(e,t,r){if(!dF(e))throw new TypeError("Cannot merge into non-data-structure value: "+e);if(YD(e))return"function"==typeof r&&e.mergeWith?e.mergeWith.apply(e,[r].concat(t)):e.merge?e.merge.apply(e,t):e.concat.apply(e,t);for(var n=Array.isArray(e),i=e,o=n?xD:$D,s=n?function(t){i===e&&(i=mF(i)),i.push(t)}:function(t,n){if(!hF(n)){var o=tN.call(i,n),s=o&&r?r(i[n],t,n):t;o&&s===i[n]||(i===e&&(i=mF(i)),i[n]=s)}},a=0;a<t.length;a++)o(t[a]).forEach(s);return i}function fF(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return _F(this,e)}function vF(e){for(var t=[],r=arguments.length-1;r-- >0;)t[r]=arguments[r+1];return _F(this,t,e)}function bF(e){for(var t=[],r=arguments.length-1;r-- >0;)t[r]=arguments[r+1];return oO(this,e,HF(),function(e){return _F(e,t)})}function yF(e){for(var t=[],r=arguments.length-1;r-- >0;)t[r]=arguments[r+1];return oO(this,e,HF(),function(e){return gF(e,t)})}function $F(e,t,r){return oO(e,t,FD,function(){return r})}function xF(e,t){return $F(this,e,t)}function SF(e,t,r){return 1===arguments.length?e(this):oF(this,e,t,r)}function wF(e,t,r){return oO(this,e,t,r)}function AF(){return this.__altered}function CF(e){var t=this.asMutable();return e(t),t.wasAltered()?t.__ensureOwner(this.__ownerID):this}var EF="@@__IMMUTABLE_MAP__@@";function IF(e){return Boolean(e&&e[EF])}function MF(e,t){if(!e)throw new Error(t)}function kF(e){MF(e!==1/0,"Cannot perform this action with an infinite size.")}var TF=function(e){function t(t){return null==t?HF():IF(t)&&!KD(t)?t:HF().withMutations(function(r){var n=e(t);kF(n.size),n.forEach(function(e,t){return r.set(t,e)})})}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toString=function(){return this.__toString("Map {","}")},t.prototype.get=function(e,t){return this._root?this._root.get(0,void 0,e,t):t},t.prototype.set=function(e,t){return GF(this,e,t)},t.prototype.remove=function(e){return GF(this,e,FD)},t.prototype.deleteAll=function(e){var t=yD(e);return 0===t.size?this:this.withMutations(function(e){t.forEach(function(t){return e.remove(t)})})},t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._root=null,this.__hash=void 0,this.__altered=!0,this):HF()},t.prototype.sort=function(e){return AO(WN(this,e))},t.prototype.sortBy=function(e,t){return AO(WN(this,t,e))},t.prototype.map=function(e,t){var r=this;return this.withMutations(function(n){n.forEach(function(i,o){n.set(o,e.call(t,i,o,r))})})},t.prototype.__iterator=function(e,t){return new BF(this,e,t)},t.prototype.__iterate=function(e,t){var r=this,n=0;return this._root&&this._root.iterate(function(t){return n++,e(t[1],t[0],r)},t),n},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?zF(this.size,this._root,e,this.__hash):0===this.size?HF():(this.__ownerID=e,this.__altered=!1,this)},t}($D);TF.isMap=IF;var RF=TF.prototype;RF[EF]=!0,RF[PD]=RF.remove,RF.removeAll=RF.deleteAll,RF.setIn=xF,RF.removeIn=RF.deleteIn=lO,RF.update=SF,RF.updateIn=wF,RF.merge=RF.concat=sF,RF.mergeWith=aF,RF.mergeDeep=fF,RF.mergeDeepWith=vF,RF.mergeIn=yF,RF.mergeDeepIn=bF,RF.withMutations=CF,RF.wasAltered=AF,RF.asImmutable=_N,RF["@@transducer/init"]=RF.asMutable=gN,RF["@@transducer/step"]=function(e,t){return e.set(t[0],t[1])},RF["@@transducer/result"]=function(e){return e.asImmutable()};var LF=function(e,t){this.ownerID=e,this.entries=t};LF.prototype.get=function(e,t,r,n){for(var i=this.entries,o=0,s=i.length;o<s;o++)if(iF(r,i[o][0]))return i[o][1];return n},LF.prototype.update=function(e,t,r,n,i,o,s){for(var a=i===FD,l=this.entries,c=0,u=l.length;c<u&&!iF(n,l[c][0]);c++);var d=c<u;if(d?l[c][1]===i:a)return this;if(OD(s),(a||!d)&&OD(o),!a||1!==l.length){if(!d&&!a&&l.length>=YF)return function(e,t,r,n){e||(e=new BD);for(var i=new FF(e,yN(r),[r,n]),o=0;o<t.length;o++){var s=t[o];i=i.update(e,0,void 0,s[0],s[1])}return i}(e,l,n,i);var h=e&&e===this.ownerID,p=h?l:pF(l);return d?a?c===u-1?p.pop():p[c]=p.pop():p[c]=[n,i]:p.push([n,i]),h?(this.entries=p,this):new LF(e,p)}};var PF=function(e,t,r){this.ownerID=e,this.bitmap=t,this.nodes=r};PF.prototype.get=function(e,t,r,n){void 0===t&&(t=yN(r));var i=1<<((0===e?t:t>>>e)&ND),o=this.bitmap;return 0===(o&i)?n:this.nodes[QF(o&i-1)].get(e+5,t,r,n)},PF.prototype.update=function(e,t,r,n,i,o,s){void 0===r&&(r=yN(n));var a=(0===t?r:r>>>t)&ND,l=1<<a,c=this.bitmap,u=0!==(c&l);if(!u&&i===FD)return this;var d=QF(c&l-1),h=this.nodes,p=u?h[d]:void 0,m=jF(p,e,t+5,r,n,i,o,s);if(m===p)return this;if(!u&&m&&h.length>=XF)return function(e,t,r,n,i){for(var o=0,s=new Array(DD),a=0;0!==r;a++,r>>>=1)s[a]=1&r?t[o++]:void 0;return s[n]=i,new DF(e,o+1,s)}(e,h,c,a,m);if(u&&!m&&2===h.length&&JF(h[1^d]))return h[1^d];if(u&&m&&1===h.length&&JF(m))return m;var _=e&&e===this.ownerID,g=u?m?c:c^l:c|l,f=u?m?qF(h,d,m,_):function(e,t,r){var n=e.length-1;if(r&&t===n)return e.pop(),e;for(var i=new Array(n),o=0,s=0;s<n;s++)s===t&&(o=1),i[s]=e[s+o];return i}(h,d,_):function(e,t,r,n){var i=e.length+1;if(n&&t+1===i)return e[t]=r,e;for(var o=new Array(i),s=0,a=0;a<i;a++)a===t?(o[a]=r,s=-1):o[a]=e[a+s];return o}(h,d,m,_);return _?(this.bitmap=g,this.nodes=f,this):new PF(e,g,f)};var DF=function(e,t,r){this.ownerID=e,this.count=t,this.nodes=r};DF.prototype.get=function(e,t,r,n){void 0===t&&(t=yN(r));var i=(0===e?t:t>>>e)&ND,o=this.nodes[i];return o?o.get(e+5,t,r,n):n},DF.prototype.update=function(e,t,r,n,i,o,s){void 0===r&&(r=yN(n));var a=(0===t?r:r>>>t)&ND,l=i===FD,c=this.nodes,u=c[a];if(l&&!u)return this;var d=jF(u,e,t+5,r,n,i,o,s);if(d===u)return this;var h=this.count;if(u){if(!d&&--h<KF)return function(e,t,r,n){for(var i=0,o=0,s=new Array(r),a=0,l=1,c=t.length;a<c;a++,l<<=1){var u=t[a];void 0!==u&&a!==n&&(i|=l,s[o++]=u)}return new PF(e,i,s)}(e,c,h,a)}else h++;var p=e&&e===this.ownerID,m=qF(c,a,d,p);return p?(this.count=h,this.nodes=m,this):new DF(e,h,m)};var NF=function(e,t,r){this.ownerID=e,this.keyHash=t,this.entries=r};NF.prototype.get=function(e,t,r,n){for(var i=this.entries,o=0,s=i.length;o<s;o++)if(iF(r,i[o][0]))return i[o][1];return n},NF.prototype.update=function(e,t,r,n,i,o,s){void 0===r&&(r=yN(n));var a=i===FD;if(r!==this.keyHash)return a?this:(OD(s),OD(o),WF(this,e,t,r,[n,i]));for(var l=this.entries,c=0,u=l.length;c<u&&!iF(n,l[c][0]);c++);var d=c<u;if(d?l[c][1]===i:a)return this;if(OD(s),(a||!d)&&OD(o),a&&2===u)return new FF(e,this.keyHash,l[1^c]);var h=e&&e===this.ownerID,p=h?l:pF(l);return d?a?c===u-1?p.pop():p[c]=p.pop():p[c]=[n,i]:p.push([n,i]),h?(this.entries=p,this):new NF(e,this.keyHash,p)};var FF=function(e,t,r){this.ownerID=e,this.keyHash=t,this.entry=r};FF.prototype.get=function(e,t,r,n){return iF(r,this.entry[0])?this.entry[1]:n},FF.prototype.update=function(e,t,r,n,i,o,s){var a=i===FD,l=iF(n,this.entry[0]);return(l?i===this.entry[1]:a)?this:(OD(s),a?void OD(o):l?e&&e===this.ownerID?(this.entry[1]=i,this):new FF(e,this.keyHash,[n,i]):(OD(o),WF(this,e,t,yN(n),[n,i])))},LF.prototype.iterate=NF.prototype.iterate=function(e,t){for(var r=this.entries,n=0,i=r.length-1;n<=i;n++)if(!1===e(r[t?i-n:n]))return!1},PF.prototype.iterate=DF.prototype.iterate=function(e,t){for(var r=this.nodes,n=0,i=r.length-1;n<=i;n++){var o=r[t?i-n:n];if(o&&!1===o.iterate(e,t))return!1}},FF.prototype.iterate=function(e,t){return e(this.entry)};var OF,BF=function(e){function t(e,t,r){this._type=t,this._reverse=r,this._stack=e._root&&VF(e._root)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.next=function(){for(var e=this._type,t=this._stack;t;){var r=t.node,n=t.index++,i=void 0;if(r.entry){if(0===n)return UF(e,r.entry)}else if(r.entries){if(n<=(i=r.entries.length-1))return UF(e,r.entries[this._reverse?i-n:n])}else if(n<=(i=r.nodes.length-1)){var o=r.nodes[this._reverse?i-n:n];if(o){if(o.entry)return UF(e,o.entry);t=this._stack=VF(o,t)}continue}t=this._stack=this._stack.__prev}return{value:void 0,done:!0}},t}(ED);function UF(e,t){return ID(e,t[0],t[1])}function VF(e,t){return{node:e,index:0,__prev:t}}function zF(e,t,r,n){var i=Object.create(RF);return i.size=e,i._root=t,i.__ownerID=r,i.__hash=n,i.__altered=!1,i}function HF(){return OF||(OF=zF(0))}function GF(e,t,r){var n,i;if(e._root){var o={value:!1},s={value:!1};if(n=jF(e._root,e.__ownerID,0,void 0,t,r,o,s),!s.value)return e;i=e.size+(o.value?r===FD?-1:1:0)}else{if(r===FD)return e;i=1,n=new LF(e.__ownerID,[[t,r]])}return e.__ownerID?(e.size=i,e._root=n,e.__hash=void 0,e.__altered=!0,e):n?zF(i,n):HF()}function jF(e,t,r,n,i,o,s,a){return e?e.update(t,r,n,i,o,s,a):o===FD?e:(OD(a),OD(s),new FF(t,n,[i,o]))}function JF(e){return e.constructor===FF||e.constructor===NF}function WF(e,t,r,n,i){if(e.keyHash===n)return new NF(t,n,[e.entry,i]);var o,s=(0===r?e.keyHash:e.keyHash>>>r)&ND,a=(0===r?n:n>>>r)&ND,l=s===a?[WF(e,t,r+5,n,i)]:(o=new FF(t,n,i),s<a?[e,o]:[o,e]);return new PF(t,1<<s|1<<a,l)}function QF(e){return e=(e=(858993459&(e-=e>>1&1431655765))+(e>>2&858993459))+(e>>4)&252645135,e+=e>>8,127&(e+=e>>16)}function qF(e,t,r,n){var i=n?e:pF(e);return i[t]=r,i}var YF=8,XF=16,KF=8;function ZF(e){if(rN(e)&&"string"!=typeof e)return e;if(KD(e))return e.toArray();throw new TypeError("Invalid keyPath: expected Ordered Collection or Array: "+e)}function eO(e){try{return"string"==typeof e?JSON.stringify(e):String(e)}catch(t){return JSON.stringify(e)}}function tO(e,t){return YD(e)?e.has(t):dF(e)&&tN.call(e,t)}function rO(e,t,r){return YD(e)?e.get(t,r):tO(e,t)?"function"==typeof e.get?e.get(t):e[t]:r}function nO(e,t){if(!dF(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(YD(e)){if(!e.remove)throw new TypeError("Cannot update immutable value without .remove() method: "+e);return e.remove(t)}if(!tN.call(e,t))return e;var r=mF(e);return Array.isArray(r)?r.splice(t,1):delete r[t],r}function iO(e,t,r){if(hF(t))return e;if(!dF(e))throw new TypeError("Cannot update non-data-structure value: "+e);if(YD(e)){if(!e.set)throw new TypeError("Cannot update immutable value without .set() method: "+e);return e.set(t,r)}if(tN.call(e,t)&&r===e[t])return e;var n=mF(e);return n[t]=r,n}function oO(e,t,r,n){n||(n=r,r=void 0);var i=sO(YD(e),e,ZF(t),0,r,n);return i===FD?r:i}function sO(e,t,r,n,i,o){var s=t===FD;if(n===r.length){var a=s?i:t,l=o(a);return l===a?t:l}if(!s&&!dF(t))throw new TypeError("Cannot update within non-data-structure value in path ["+Array.from(r).slice(0,n).map(eO)+"]: "+t);var c=r[n],u=s?FD:rO(t,c,FD),d=sO(u===FD?e:YD(u),u,r,n+1,i,o);return d===u?t:d===FD?nO(t,c):iO(s?e?HF():{}:t,c,d)}function aO(e,t){return oO(e,t,function(){return FD})}function lO(e){return aO(this,e)}var cO="@@__IMMUTABLE_LIST__@@";function uO(e){return Boolean(e&&e[cO])}var dO=function(e){function t(t){var r=fO();if(null==t)return r;if(uO(t))return t;var n=e(t),i=n.size;return 0===i?r:(kF(i),i>0&&i<DD?gO(0,i,5,null,new pO(n.toArray())):r.withMutations(function(e){e.setSize(i),n.forEach(function(t,r){return e.set(r,t)})}))}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.prototype.toString=function(){return this.__toString("List [","]")},t.prototype.get=function(e,t){if((e=VD(this,e))>=0&&e<this.size){var r=yO(this,e+=this._origin);return r&&r.array[e&ND]}return t},t.prototype.set=function(e,t){return function(e,t,r){if(t=VD(e,t),t!=t)return e;if(t>=e.size||t<0)return e.withMutations(function(e){t<0?$O(e,t).set(0,r):$O(e,0,t+1).set(t,r)});t+=e._origin;var n=e._tail,i=e._root,o={value:!1};t>=xO(e._capacity)?n=vO(n,e.__ownerID,0,t,r,o):i=vO(i,e.__ownerID,e._level,t,r,o);if(!o.value)return e;if(e.__ownerID)return e._root=i,e._tail=n,e.__hash=void 0,e.__altered=!0,e;return gO(e._origin,e._capacity,e._level,i,n)}(this,e,t)},t.prototype.remove=function(e){return this.has(e)?0===e?this.shift():e===this.size-1?this.pop():this.splice(e,1):this},t.prototype.insert=function(e,t){return this.splice(e,0,t)},t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=this._origin=this._capacity=0,this._level=5,this._root=this._tail=this.__hash=void 0,this.__altered=!0,this):fO()},t.prototype.push=function(){var e=arguments,t=this.size;return this.withMutations(function(r){$O(r,0,t+e.length);for(var n=0;n<e.length;n++)r.set(t+n,e[n])})},t.prototype.pop=function(){return $O(this,0,-1)},t.prototype.unshift=function(){var e=arguments;return this.withMutations(function(t){$O(t,-e.length);for(var r=0;r<e.length;r++)t.set(r,e[r])})},t.prototype.shift=function(){return $O(this,1)},t.prototype.shuffle=function(e){return void 0===e&&(e=Math.random),this.withMutations(function(t){for(var r,n,i=t.size;i;)r=Math.floor(e()*i--),n=t.get(r),t.set(r,t.get(i)),t.set(i,n)})},t.prototype.concat=function(){for(var t=arguments,r=[],n=0;n<arguments.length;n++){var i=t[n],o=e("string"!=typeof i&&kD(i)?i:[i]);0!==o.size&&r.push(o)}return 0===r.length?this:0!==this.size||this.__ownerID||1!==r.length?this.withMutations(function(e){r.forEach(function(t){return t.forEach(function(t){return e.push(t)})})}):this.constructor(r[0])},t.prototype.setSize=function(e){return $O(this,0,e)},t.prototype.map=function(e,t){var r=this;return this.withMutations(function(n){for(var i=0;i<r.size;i++)n.set(i,e.call(t,n.get(i),i,r))})},t.prototype.slice=function(e,t){var r=this.size;return HD(e,t,r)?this:$O(this,GD(e,r),jD(t,r))},t.prototype.__iterator=function(e,t){var r=t?this.size:0,n=_O(this,t);return new ED(function(){var i=n();return i===mO?{value:void 0,done:!0}:ID(e,t?--r:r++,i)})},t.prototype.__iterate=function(e,t){for(var r,n=t?this.size:0,i=_O(this,t);(r=i())!==mO&&!1!==e(r,t?--n:n++,this););return n},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?gO(this._origin,this._capacity,this._level,this._root,this._tail,e,this.__hash):0===this.size?fO():(this.__ownerID=e,this.__altered=!1,this)},t}(xD);dO.isList=uO;var hO=dO.prototype;hO[cO]=!0,hO[PD]=hO.remove,hO.merge=hO.concat,hO.setIn=xF,hO.deleteIn=hO.removeIn=lO,hO.update=SF,hO.updateIn=wF,hO.mergeIn=yF,hO.mergeDeepIn=bF,hO.withMutations=CF,hO.wasAltered=AF,hO.asImmutable=_N,hO["@@transducer/init"]=hO.asMutable=gN,hO["@@transducer/step"]=function(e,t){return e.push(t)},hO["@@transducer/result"]=function(e){return e.asImmutable()};var pO=function(e,t){this.array=e,this.ownerID=t};pO.prototype.removeBefore=function(e,t,r){if(!(r&(1<<t+5)-1)||0===this.array.length)return this;var n=r>>>t&ND;if(n>=this.array.length)return new pO([],e);var i,o=0===n;if(t>0){var s=this.array[n];if((i=s&&s.removeBefore(e,t-5,r))===s&&o)return this}if(o&&!i)return this;var a=bO(this,e);if(!o)for(var l=0;l<n;l++)a.array[l]=void 0;return i&&(a.array[n]=i),a},pO.prototype.removeAfter=function(e,t,r){if(r===(t?1<<t+5:DD)||0===this.array.length)return this;var n,i=r-1>>>t&ND;if(i>=this.array.length)return this;if(t>0){var o=this.array[i];if((n=o&&o.removeAfter(e,t-5,r))===o&&i===this.array.length-1)return this}var s=bO(this,e);return s.array.splice(i+1),n&&(s.array[i]=n),s};var mO={};function _O(e,t){var r=e._origin,n=e._capacity,i=xO(n),o=e._tail;return s(e._root,e._level,0);function s(e,a,l){return 0===a?function(e,s){var a=s===i?o&&o.array:e&&e.array,l=s>r?0:r-s,c=n-s;c>DD&&(c=DD);return function(){if(l===c)return mO;var e=t?--c:l++;return a&&a[e]}}(e,l):function(e,i,o){var a,l=e&&e.array,c=o>r?0:r-o>>i,u=1+(n-o>>i);u>DD&&(u=DD);return function(){for(;;){if(a){var e=a();if(e!==mO)return e;a=null}if(c===u)return mO;var r=t?--u:c++;a=s(l&&l[r],i-5,o+(r<<i))}}}(e,a,l)}}function gO(e,t,r,n,i,o,s){var a=Object.create(hO);return a.size=t-e,a._origin=e,a._capacity=t,a._level=r,a._root=n,a._tail=i,a.__ownerID=o,a.__hash=s,a.__altered=!1,a}function fO(){return gO(0,0,5)}function vO(e,t,r,n,i,o){var s,a=n>>>r&ND,l=e&&a<e.array.length;if(!l&&void 0===i)return e;if(r>0){var c=e&&e.array[a],u=vO(c,t,r-5,n,i,o);return u===c?e:((s=bO(e,t)).array[a]=u,s)}return l&&e.array[a]===i?e:(o&&OD(o),s=bO(e,t),void 0===i&&a===s.array.length-1?s.array.pop():s.array[a]=i,s)}function bO(e,t){return t&&e&&t===e.ownerID?e:new pO(e?e.array.slice():[],t)}function yO(e,t){if(t>=xO(e._capacity))return e._tail;if(t<1<<e._level+5){for(var r=e._root,n=e._level;r&&n>0;)r=r.array[t>>>n&ND],n-=5;return r}}function $O(e,t,r){void 0!==t&&(t|=0),void 0!==r&&(r|=0);var n=e.__ownerID||new BD,i=e._origin,o=e._capacity,s=i+t,a=void 0===r?o:r<0?o+r:i+r;if(s===i&&a===o)return e;if(s>=a)return e.clear();for(var l=e._level,c=e._root,u=0;s+u<0;)c=new pO(c&&c.array.length?[void 0,c]:[],n),u+=1<<(l+=5);u&&(s+=u,i+=u,a+=u,o+=u);for(var d=xO(o),h=xO(a);h>=1<<l+5;)c=new pO(c&&c.array.length?[c]:[],n),l+=5;var p=e._tail,m=h<d?yO(e,a-1):h>d?new pO([],n):p;if(p&&h>d&&s<o&&p.array.length){for(var _=c=bO(c,n),g=l;g>5;g-=5){var f=d>>>g&ND;_=_.array[f]=bO(_.array[f],n)}_.array[d>>>5&ND]=p}if(a<o&&(m=m&&m.removeAfter(n,0,a)),s>=h)s-=h,a-=h,l=5,c=null,m=m&&m.removeBefore(n,0,s);else if(s>i||h<d){for(u=0;c;){var v=s>>>l&ND;if(v!==h>>>l&ND)break;v&&(u+=(1<<l)*v),l-=5,c=c.array[v]}c&&s>i&&(c=c.removeBefore(n,l,s-u)),c&&h<d&&(c=c.removeAfter(n,l,h-u)),u&&(s-=u,a-=u)}return e.__ownerID?(e.size=a-s,e._origin=s,e._capacity=a,e._level=l,e._root=c,e._tail=m,e.__hash=void 0,e.__altered=!0,e):gO(s,a,l,c,m)}function xO(e){return e<DD?0:e-1>>>5<<5}function SO(e){return IF(e)&&KD(e)}var wO,AO=function(e){function t(e){return null==e?EO():SO(e)?e:EO().withMutations(function(t){var r=$D(e);kF(r.size),r.forEach(function(e,r){return t.set(r,e)})})}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.prototype.toString=function(){return this.__toString("OrderedMap {","}")},t.prototype.get=function(e,t){var r=this._map.get(e);return void 0!==r?this._list.get(r)[1]:t},t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._map.clear(),this._list.clear(),this.__altered=!0,this):EO()},t.prototype.set=function(e,t){return IO(this,e,t)},t.prototype.remove=function(e){return IO(this,e,FD)},t.prototype.__iterate=function(e,t){var r=this;return this._list.__iterate(function(t){return t&&e(t[1],t[0],r)},t)},t.prototype.__iterator=function(e,t){return this._list.fromEntrySeq().__iterator(e,t)},t.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e),r=this._list.__ensureOwner(e);return e?CO(t,r,e,this.__hash):0===this.size?EO():(this.__ownerID=e,this.__altered=!1,this._map=t,this._list=r,this)},t}(TF);function CO(e,t,r,n){var i=Object.create(AO.prototype);return i.size=e?e.size:0,i._map=e,i._list=t,i.__ownerID=r,i.__hash=n,i.__altered=!1,i}function EO(){return wO||(wO=CO(HF(),fO()))}function IO(e,t,r){var n,i,o=e._map,s=e._list,a=o.get(t),l=void 0!==a;if(r===FD){if(!l)return e;s.size>=DD&&s.size>=2*o.size?(n=(i=s.filter(function(e,t){return void 0!==e&&a!==t})).toKeyedSeq().map(function(e){return e[0]}).flip().toMap(),e.__ownerID&&(n.__ownerID=i.__ownerID=e.__ownerID)):(n=o.remove(t),i=a===s.size-1?s.pop():s.set(a,void 0))}else if(l){if(r===s.get(a)[1])return e;n=o,i=s.set(a,[t,r])}else n=o.set(t,s.size),i=s.set(s.size,[t,r]);return e.__ownerID?(e.size=n.size,e._map=n,e._list=i,e.__hash=void 0,e.__altered=!0,e):CO(n,i)}AO.isOrderedMap=SO,AO.prototype[XD]=!0,AO.prototype[PD]=AO.prototype.remove;var MO="@@__IMMUTABLE_STACK__@@";function kO(e){return Boolean(e&&e[MO])}var TO=function(e){function t(e){return null==e?DO():kO(e)?e:DO().pushAll(e)}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.prototype.toString=function(){return this.__toString("Stack [","]")},t.prototype.get=function(e,t){var r=this._head;for(e=VD(this,e);r&&e--;)r=r.next;return r?r.value:t},t.prototype.peek=function(){return this._head&&this._head.value},t.prototype.push=function(){var e=arguments;if(0===arguments.length)return this;for(var t=this.size+arguments.length,r=this._head,n=arguments.length-1;n>=0;n--)r={value:e[n],next:r};return this.__ownerID?(this.size=t,this._head=r,this.__hash=void 0,this.__altered=!0,this):PO(t,r)},t.prototype.pushAll=function(t){if(0===(t=e(t)).size)return this;if(0===this.size&&kO(t))return t;kF(t.size);var r=this.size,n=this._head;return t.__iterate(function(e){r++,n={value:e,next:n}},!0),this.__ownerID?(this.size=r,this._head=n,this.__hash=void 0,this.__altered=!0,this):PO(r,n)},t.prototype.pop=function(){return this.slice(1)},t.prototype.clear=function(){return 0===this.size?this:this.__ownerID?(this.size=0,this._head=void 0,this.__hash=void 0,this.__altered=!0,this):DO()},t.prototype.slice=function(t,r){if(HD(t,r,this.size))return this;var n=GD(t,this.size);if(jD(r,this.size)!==this.size)return e.prototype.slice.call(this,t,r);for(var i=this.size-n,o=this._head;n--;)o=o.next;return this.__ownerID?(this.size=i,this._head=o,this.__hash=void 0,this.__altered=!0,this):PO(i,o)},t.prototype.__ensureOwner=function(e){return e===this.__ownerID?this:e?PO(this.size,this._head,e,this.__hash):0===this.size?DO():(this.__ownerID=e,this.__altered=!1,this)},t.prototype.__iterate=function(e,t){var r=this;if(t)return new aN(this.toArray()).__iterate(function(t,n){return e(t,n,r)},t);for(var n=0,i=this._head;i&&!1!==e(i.value,n++,this);)i=i.next;return n},t.prototype.__iterator=function(e,t){if(t)return new aN(this.toArray()).__iterator(e,t);var r=0,n=this._head;return new ED(function(){if(n){var t=n.value;return n=n.next,ID(e,r++,t)}return{value:void 0,done:!0}})},t}(xD);TO.isStack=kO;var RO,LO=TO.prototype;function PO(e,t,r,n){var i=Object.create(LO);return i.size=e,i._head=t,i.__ownerID=r,i.__hash=n,i.__altered=!1,i}function DO(){return RO||(RO=PO(0))}function NO(e,t,r,n,i,o){return kF(e.size),e.__iterate(function(e,o,s){i?(i=!1,r=e):r=t.call(n,r,e,o,s)},o),r}function FO(e,t){return t}function OO(e,t){return[t,e]}function BO(e){return function(){for(var t=[],r=arguments.length;r--;)t[r]=arguments[r];return!e.apply(this,t)}}function UO(e){return function(){for(var t=[],r=arguments.length;r--;)t[r]=arguments[r];return-e.apply(this,t)}}function VO(e,t){return e<t?1:e>t?-1:0}function zO(e,t){if(e===t)return!0;if(!bD(t)||void 0!==e.size&&void 0!==t.size&&e.size!==t.size||void 0!==e.__hash&&void 0!==t.__hash&&e.__hash!==t.__hash||gD(e)!==gD(t)||mD(e)!==mD(t)||KD(e)!==KD(t))return!1;if(0===e.size&&0===t.size)return!0;var r=!fD(e);if(KD(e)){var n=e.entries();return t.every(function(e,t){var i=n.next().value;return i&&iF(i[1],e)&&(r||iF(i[0],t))})&&n.next().done}var i=!1;if(void 0===e.size)if(void 0===t.size)"function"==typeof e.cacheResult&&e.cacheResult();else{i=!0;var o=e;e=t,t=o}var s=!0,a=t.__iterate(function(t,n){if(r?!e.has(t):i?!iF(t,e.get(n,FD)):!iF(e.get(n,FD),t))return s=!1,!1});return s&&e.size===a}LO[MO]=!0,LO.shift=LO.pop,LO.unshift=LO.push,LO.unshiftAll=LO.pushAll,LO.withMutations=CF,LO.wasAltered=AF,LO.asImmutable=_N,LO["@@transducer/init"]=LO.asMutable=gN,LO["@@transducer/step"]=function(e,t){return e.unshift(t)},LO["@@transducer/result"]=function(e){return e.asImmutable()};var HO,GO=function(e){function t(e,r,n){if(void 0===n&&(n=1),!(this instanceof t))return new t(e,r,n);if(MF(0!==n,"Cannot step a Range by 0"),MF(void 0!==e,"You must define a start value when using Range"),MF(void 0!==r,"You must define an end value when using Range"),n=Math.abs(n),r<e&&(n=-n),this._start=e,this._end=r,this._step=n,this.size=Math.max(0,Math.ceil((r-e)/n-1)+1),0===this.size){if(HO)return HO;HO=this}}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toString=function(){return 0===this.size?"Range []":"Range [ "+this._start+"..."+this._end+(1!==this._step?" by "+this._step:"")+" ]"},t.prototype.get=function(e,t){return this.has(e)?this._start+VD(this,e)*this._step:t},t.prototype.includes=function(e){var t=(e-this._start)/this._step;return t>=0&&t<this.size&&t===Math.floor(t)},t.prototype.slice=function(e,r){return HD(e,r,this.size)?this:(e=GD(e,this.size),(r=jD(r,this.size))<=e?new t(0,0):new t(this.get(e,this._end),this.get(r,this._end),this._step))},t.prototype.indexOf=function(e){var t=e-this._start;if(t%this._step===0){var r=t/this._step;if(r>=0&&r<this.size)return r}return-1},t.prototype.lastIndexOf=function(e){return this.indexOf(e)},t.prototype.__iterate=function(e,t){for(var r=this.size,n=this._step,i=t?this._start+(r-1)*n:this._start,o=0;o!==r&&!1!==e(i,t?r-++o:o++,this);)i+=t?-n:n;return o},t.prototype.__iterator=function(e,t){var r=this.size,n=this._step,i=t?this._start+(r-1)*n:this._start,o=0;return new ED(function(){if(o===r)return{value:void 0,done:!0};var s=i;return i+=t?-n:n,ID(e,t?r-++o:o++,s)})},t.prototype.equals=function(e){return e instanceof t?this._start===e._start&&this._end===e._end&&this._step===e._step:zO(this,e)},t}(oN),jO="@@__IMMUTABLE_SET__@@";function JO(e){return Boolean(e&&e[jO])}var WO=function(e){function t(t){return null==t?KO():JO(t)&&!KD(t)?t:KO().withMutations(function(r){var n=e(t);kF(n.size),n.forEach(function(e){return r.add(e)})})}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.fromKeys=function(e){return this($D(e).keySeq())},t.intersect=function(e){return(e=yD(e).toArray()).length?qO.intersect.apply(t(e.pop()),e):KO()},t.union=function(e){return(e=yD(e).toArray()).length?qO.union.apply(t(e.pop()),e):KO()},t.prototype.toString=function(){return this.__toString("Set {","}")},t.prototype.has=function(e){return this._map.has(e)},t.prototype.add=function(e){return YO(this,this._map.set(e,e))},t.prototype.remove=function(e){return YO(this,this._map.remove(e))},t.prototype.clear=function(){return YO(this,this._map.clear())},t.prototype.map=function(e,t){var r=this,n=!1,i=YO(this,this._map.mapEntries(function(i){var o=i[1],s=e.call(t,o,o,r);return s!==o&&(n=!0),[s,s]},t));return n?i:this},t.prototype.union=function(){for(var t=[],r=arguments.length;r--;)t[r]=arguments[r];return t=t.filter(function(e){return 0!==e.size}),0===t.length?this:0!==this.size||this.__ownerID||1!==t.length?this.withMutations(function(r){for(var n=0;n<t.length;n++)"string"==typeof t[n]?r.add(t[n]):e(t[n]).forEach(function(e){return r.add(e)})}):this.constructor(t[0])},t.prototype.intersect=function(){for(var t=[],r=arguments.length;r--;)t[r]=arguments[r];if(0===t.length)return this;t=t.map(function(t){return e(t)});var n=[];return this.forEach(function(e){t.every(function(t){return t.includes(e)})||n.push(e)}),this.withMutations(function(e){n.forEach(function(t){e.remove(t)})})},t.prototype.subtract=function(){for(var t=[],r=arguments.length;r--;)t[r]=arguments[r];if(0===t.length)return this;t=t.map(function(t){return e(t)});var n=[];return this.forEach(function(e){t.some(function(t){return t.includes(e)})&&n.push(e)}),this.withMutations(function(e){n.forEach(function(t){e.remove(t)})})},t.prototype.sort=function(e){return pB(WN(this,e))},t.prototype.sortBy=function(e,t){return pB(WN(this,t,e))},t.prototype.wasAltered=function(){return this._map.wasAltered()},t.prototype.__iterate=function(e,t){var r=this;return this._map.__iterate(function(t){return e(t,t,r)},t)},t.prototype.__iterator=function(e,t){return this._map.__iterator(e,t)},t.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._map.__ensureOwner(e);return e?this.__make(t,e):0===this.size?this.__empty():(this.__ownerID=e,this._map=t,this)},t}(SD);WO.isSet=JO;var QO,qO=WO.prototype;function YO(e,t){return e.__ownerID?(e.size=t.size,e._map=t,e):t===e._map?e:0===t.size?e.__empty():e.__make(t)}function XO(e,t){var r=Object.create(qO);return r.size=e?e.size:0,r._map=e,r.__ownerID=t,r}function KO(){return QO||(QO=XO(HF()))}function ZO(e,t,r){for(var n=ZF(t),i=0;i!==n.length;)if((e=rO(e,n[i++],FD))===FD)return r;return e}function eB(e,t){return ZO(this,e,t)}function tB(e,t){return ZO(e,t,FD)!==FD}function rB(){kF(this.size);var e={};return this.__iterate(function(t,r){hF(r)||(e[r]=t)}),e}function nB(e){if(!e||"object"!=typeof e)return e;if(!bD(e)){if(!dF(e))return e;e=nN(e)}if(gD(e)){var t={};return e.__iterate(function(e,r){hF(r)||(t[r]=nB(e))}),t}var r=[];return e.__iterate(function(e){r.push(nB(e))}),r}function iB(e){if(e.size===1/0)return 0;var t=KD(e),r=gD(e),n=t?1:0;return e.__iterate(r?t?function(e,t){n=31*n+oB(yN(e),yN(t))|0}:function(e,t){n=n+oB(yN(e),yN(t))|0}:t?function(e){n=31*n+yN(e)|0}:function(e){n=n+yN(e)|0}),function(e,t){return t=fN(t,3432918353),t=fN(t<<15|t>>>-15,461845907),t=fN(t<<13|t>>>-13,5),t=(t+3864292196|0)^e,t=fN(t^t>>>16,2246822507),t=fN(t^t>>>13,3266489909),t=vN(t^t>>>16),t}(e.size,n)}function oB(e,t){return e^t+2654435769+(e<<6)+(e>>2)|0}function sB(e,t){var r=function(r){e.prototype[r]=t[r]};return Object.keys(t).forEach(r),Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(t).forEach(r),e}qO[jO]=!0,qO[PD]=qO.remove,qO.merge=qO.concat=qO.union,qO.withMutations=CF,qO.asImmutable=_N,qO["@@transducer/init"]=qO.asMutable=gN,qO["@@transducer/step"]=function(e,t){return e.add(t)},qO["@@transducer/result"]=function(e){return e.asImmutable()},qO.__empty=KO,qO.__make=XO,yD.Iterator=ED,sB(yD,{toArray:function(){kF(this.size);var e=new Array(this.size||0),t=gD(this),r=0;return this.__iterate(function(n,i){e[r++]=t?[i,n]:n}),e},toIndexedSeq:function(){return new NN(this)},toJS:function(){return nB(this)},toKeyedSeq:function(){return new DN(this,!0)},toMap:function(){return TF(this.toKeyedSeq())},toObject:rB,toOrderedMap:function(){return AO(this.toKeyedSeq())},toOrderedSet:function(){return pB(gD(this)?this.valueSeq():this)},toSet:function(){return WO(gD(this)?this.valueSeq():this)},toSetSeq:function(){return new FN(this)},toSeq:function(){return mD(this)?this.toIndexedSeq():gD(this)?this.toKeyedSeq():this.toSetSeq()},toStack:function(){return TO(gD(this)?this.valueSeq():this)},toList:function(){return dO(gD(this)?this.valueSeq():this)},toString:function(){return"[Collection]"},__toString:function(e,t){return 0===this.size?e+t:e+" "+this.toSeq().map(this.__toStringMapper).join(", ")+" "+t},concat:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];return XN(this,function(e,t){var r=gD(e),n=[e].concat(t).map(function(e){return bD(e)?r&&(e=$D(e)):e=r?hN(e):pN(Array.isArray(e)?e:[e]),e}).filter(function(e){return 0!==e.size});if(0===n.length)return e;if(1===n.length){var i=n[0];if(i===e||r&&gD(i)||mD(e)&&mD(i))return i}return new jN(n)}(this,e))},includes:function(e){return this.some(function(t){return iF(t,e)})},entries:function(){return this.__iterator(2)},every:function(e,t){kF(this.size);var r=!0;return this.__iterate(function(n,i,o){if(!e.call(t,n,i,o))return r=!1,!1}),r},filter:function(e,t){return XN(this,zN(this,e,t,!0))},partition:function(e,t){return function(e,t,r){var n=gD(e),i=[[],[]];e.__iterate(function(o,s){i[t.call(r,o,s,e)?1:0].push(n?[s,o]:o)});var o=ZN(e);return i.map(function(t){return XN(e,o(t))})}(this,e,t)},find:function(e,t,r){var n=this.findEntry(e,t);return n?n[1]:r},forEach:function(e,t){return kF(this.size),this.__iterate(t?e.bind(t):e)},join:function(e){kF(this.size),e=void 0!==e?""+e:",";var t="",r=!0;return this.__iterate(function(n){r?r=!1:t+=e,t+=null!=n?n.toString():""}),t},keys:function(){return this.__iterator(0)},map:function(e,t){return XN(this,UN(this,e,t))},reduce:function(e,t,r){return NO(this,e,t,r,arguments.length<2,!1)},reduceRight:function(e,t,r){return NO(this,e,t,r,arguments.length<2,!0)},reverse:function(){return XN(this,VN(this,!0))},slice:function(e,t){return XN(this,HN(this,e,t,!0))},some:function(e,t){kF(this.size);var r=!1;return this.__iterate(function(n,i,o){if(e.call(t,n,i,o))return r=!0,!1}),r},sort:function(e){return XN(this,WN(this,e))},values:function(){return this.__iterator(1)},butLast:function(){return this.slice(0,-1)},isEmpty:function(){return void 0!==this.size?0===this.size:!this.some(function(){return!0})},count:function(e,t){return UD(e?this.toSeq().filter(e,t):this)},countBy:function(e,t){return function(e,t,r){var n=TF().asMutable();return e.__iterate(function(i,o){n.update(t.call(r,i,o,e),0,function(e){return e+1})}),n.asImmutable()}(this,e,t)},equals:function(e){return zO(this,e)},entrySeq:function(){var e=this;if(e._cache)return new aN(e._cache);var t=e.toSeq().map(OO).toIndexedSeq();return t.fromEntrySeq=function(){return e.toSeq()},t},filterNot:function(e,t){return this.filter(BO(e),t)},findEntry:function(e,t,r){var n=r;return this.__iterate(function(r,i,o){if(e.call(t,r,i,o))return n=[i,r],!1}),n},findKey:function(e,t){var r=this.findEntry(e,t);return r&&r[0]},findLast:function(e,t,r){return this.toKeyedSeq().reverse().find(e,t,r)},findLastEntry:function(e,t,r){return this.toKeyedSeq().reverse().findEntry(e,t,r)},findLastKey:function(e,t){return this.toKeyedSeq().reverse().findKey(e,t)},first:function(e){return this.find(zD,null,e)},flatMap:function(e,t){return XN(this,function(e,t,r){var n=ZN(e);return e.toSeq().map(function(i,o){return n(t.call(r,i,o,e))}).flatten(!0)}(this,e,t))},flatten:function(e){return XN(this,JN(this,e,!0))},fromEntrySeq:function(){return new ON(this)},get:function(e,t){return this.find(function(t,r){return iF(r,e)},void 0,t)},getIn:eB,groupBy:function(e,t){return function(e,t,r){var n=gD(e),i=(KD(e)?AO():TF()).asMutable();e.__iterate(function(o,s){i.update(t.call(r,o,s,e),function(e){return(e=e||[]).push(n?[s,o]:o),e})});var o=ZN(e);return i.map(function(t){return XN(e,o(t))}).asImmutable()}(this,e,t)},has:function(e){return this.get(e,FD)!==FD},hasIn:function(e){return tB(this,e)},isSubset:function(e){return e="function"==typeof e.includes?e:yD(e),this.every(function(t){return e.includes(t)})},isSuperset:function(e){return(e="function"==typeof e.isSubset?e:yD(e)).isSubset(this)},keyOf:function(e){return this.findKey(function(t){return iF(t,e)})},keySeq:function(){return this.toSeq().map(FO).toIndexedSeq()},last:function(e){return this.toSeq().reverse().first(e)},lastKeyOf:function(e){return this.toKeyedSeq().reverse().keyOf(e)},max:function(e){return QN(this,e)},maxBy:function(e,t){return QN(this,t,e)},min:function(e){return QN(this,e?UO(e):VO)},minBy:function(e,t){return QN(this,t?UO(t):VO,e)},rest:function(){return this.slice(1)},skip:function(e){return 0===e?this:this.slice(Math.max(0,e))},skipLast:function(e){return 0===e?this:this.slice(0,-Math.max(0,e))},skipWhile:function(e,t){return XN(this,GN(this,e,t,!0))},skipUntil:function(e,t){return this.skipWhile(BO(e),t)},sortBy:function(e,t){return XN(this,WN(this,t,e))},take:function(e){return this.slice(0,Math.max(0,e))},takeLast:function(e){return this.slice(-Math.max(0,e))},takeWhile:function(e,t){return XN(this,function(e,t,r){var n=eF(e);return n.__iterateUncached=function(n,i){var o=this;if(i)return this.cacheResult().__iterate(n,i);var s=0;return e.__iterate(function(e,i,a){return t.call(r,e,i,a)&&++s&&n(e,i,o)}),s},n.__iteratorUncached=function(n,i){var o=this;if(i)return this.cacheResult().__iterator(n,i);var s=e.__iterator(2,i),a=!0;return new ED(function(){if(!a)return{value:void 0,done:!0};var e=s.next();if(e.done)return e;var i=e.value,l=i[0],c=i[1];return t.call(r,c,l,o)?2===n?e:ID(n,l,c,e):(a=!1,{value:void 0,done:!0})})},n}(this,e,t))},takeUntil:function(e,t){return this.takeWhile(BO(e),t)},update:function(e){return e(this)},valueSeq:function(){return this.toIndexedSeq()},hashCode:function(){return this.__hash||(this.__hash=iB(this))}});var aB=yD.prototype;aB[vD]=!0,aB[CD]=aB.values,aB.toJSON=aB.toArray,aB.__toStringMapper=eO,aB.inspect=aB.toSource=function(){return this.toString()},aB.chain=aB.flatMap,aB.contains=aB.includes,sB($D,{flip:function(){return XN(this,BN(this))},mapEntries:function(e,t){var r=this,n=0;return XN(this,this.toSeq().map(function(i,o){return e.call(t,[o,i],n++,r)}).fromEntrySeq())},mapKeys:function(e,t){var r=this;return XN(this,this.toSeq().flip().map(function(n,i){return e.call(t,n,i,r)}).flip())}});var lB=$D.prototype;lB[_D]=!0,lB[CD]=aB.entries,lB.toJSON=rB,lB.__toStringMapper=function(e,t){return eO(t)+": "+eO(e)},sB(xD,{toKeyedSeq:function(){return new DN(this,!1)},filter:function(e,t){return XN(this,zN(this,e,t,!1))},findIndex:function(e,t){var r=this.findEntry(e,t);return r?r[0]:-1},indexOf:function(e){var t=this.keyOf(e);return void 0===t?-1:t},lastIndexOf:function(e){var t=this.lastKeyOf(e);return void 0===t?-1:t},reverse:function(){return XN(this,VN(this,!1))},slice:function(e,t){return XN(this,HN(this,e,t,!1))},splice:function(e,t){var r=arguments.length;if(t=Math.max(t||0,0),0===r||2===r&&!t)return this;e=GD(e,e<0?this.count():this.size);var n=this.slice(0,e);return XN(this,1===r?n:n.concat(pF(arguments,2),this.slice(e+t)))},findLastIndex:function(e,t){var r=this.findLastEntry(e,t);return r?r[0]:-1},first:function(e){return this.get(0,e)},flatten:function(e){return XN(this,JN(this,e,!1))},get:function(e,t){return(e=VD(this,e))<0||this.size===1/0||void 0!==this.size&&e>this.size?t:this.find(function(t,r){return r===e},void 0,t)},has:function(e){return(e=VD(this,e))>=0&&(void 0!==this.size?this.size===1/0||e<this.size:-1!==this.indexOf(e))},interpose:function(e){return XN(this,function(e,t){var r=eF(e);return r.size=e.size&&2*e.size-1,r.__iterateUncached=function(r,n){var i=this,o=0;return e.__iterate(function(e){return(!o||!1!==r(t,o++,i))&&!1!==r(e,o++,i)},n),o},r.__iteratorUncached=function(r,n){var i,o=e.__iterator(1,n),s=0;return new ED(function(){return(!i||s%2)&&(i=o.next()).done?i:s%2?ID(r,s++,t):ID(r,s++,i.value,i)})},r}(this,e))},interleave:function(){var e=[this].concat(pF(arguments)),t=YN(this.toSeq(),oN.of,e),r=t.flatten(!0);return t.size&&(r.size=t.size*e.length),XN(this,r)},keySeq:function(){return GO(0,this.size)},last:function(e){return this.get(-1,e)},skipWhile:function(e,t){return XN(this,GN(this,e,t,!1))},zip:function(){return XN(this,YN(this,dB,[this].concat(pF(arguments))))},zipAll:function(){return XN(this,YN(this,dB,[this].concat(pF(arguments)),!0))},zipWith:function(e){var t=pF(arguments);return t[0]=this,XN(this,YN(this,e,t))}});var cB=xD.prototype;cB[pD]=!0,cB[XD]=!0,sB(SD,{get:function(e,t){return this.has(e)?e:t},includes:function(e){return this.has(e)},keySeq:function(){return this.valueSeq()}});var uB=SD.prototype;function dB(){return pF(arguments)}function hB(e){return JO(e)&&KD(e)}uB.has=aB.includes,uB.contains=uB.includes,uB.keys=uB.values,sB(iN,lB),sB(oN,cB),sB(sN,uB);var pB=function(e){function t(e){return null==e?fB():hB(e)?e:fB().withMutations(function(t){var r=SD(e);kF(r.size),r.forEach(function(e){return t.add(e)})})}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.of=function(){return this(arguments)},t.fromKeys=function(e){return this($D(e).keySeq())},t.prototype.toString=function(){return this.__toString("OrderedSet {","}")},t}(WO);pB.isOrderedSet=hB;var mB,_B=pB.prototype;function gB(e,t){var r=Object.create(_B);return r.size=e?e.size:0,r._map=e,r.__ownerID=t,r}function fB(){return mB||(mB=gB(EO()))}_B[XD]=!0,_B.zip=cB.zip,_B.zipWith=cB.zipWith,_B.zipAll=cB.zipAll,_B.__empty=fB,_B.__make=gB;var vB=function(e,t){var r;!function(e){if(qD(e))throw new Error("Can not call `Record` with an immutable Record as default values. Use a plain javascript object instead.");if(YD(e))throw new Error("Can not call `Record` with an immutable Collection as default values. Use a plain javascript object instead.");if(null===e||"object"!=typeof e)throw new Error("Can not call `Record` with a non-object as default values. Use a plain javascript object instead.")}(e);var n=function(o){var s=this;if(o instanceof n)return o;if(!(this instanceof n))return new n(o);if(!r){r=!0;var a=Object.keys(e),l=i._indices={};i._name=t,i._keys=a,i._defaultValues=e;for(var c=0;c<a.length;c++){var u=a[c];l[u]=c,i[u]?"object"==typeof console&&console.warn&&console.warn("Cannot define "+$B(this)+' with property "'+u+'" since that property name is part of the Record API.'):SB(i,u)}}return this.__ownerID=void 0,this._values=dO().withMutations(function(e){e.setSize(s._keys.length),$D(o).forEach(function(t,r){e.set(s._indices[r],t===s._defaultValues[r]?void 0:t)})}),this},i=n.prototype=Object.create(bB);return i.constructor=n,t&&(n.displayName=t),n};vB.prototype.toString=function(){for(var e,t=$B(this)+" { ",r=this._keys,n=0,i=r.length;n!==i;n++)t+=(n?", ":"")+(e=r[n])+": "+eO(this.get(e));return t+" }"},vB.prototype.equals=function(e){return this===e||qD(e)&&xB(this).equals(xB(e))},vB.prototype.hashCode=function(){return xB(this).hashCode()},vB.prototype.has=function(e){return this._indices.hasOwnProperty(e)},vB.prototype.get=function(e,t){if(!this.has(e))return t;var r=this._indices[e],n=this._values.get(r);return void 0===n?this._defaultValues[e]:n},vB.prototype.set=function(e,t){if(this.has(e)){var r=this._values.set(this._indices[e],t===this._defaultValues[e]?void 0:t);if(r!==this._values&&!this.__ownerID)return yB(this,r)}return this},vB.prototype.remove=function(e){return this.set(e)},vB.prototype.clear=function(){var e=this._values.clear().setSize(this._keys.length);return this.__ownerID?this:yB(this,e)},vB.prototype.wasAltered=function(){return this._values.wasAltered()},vB.prototype.toSeq=function(){return xB(this)},vB.prototype.toJS=function(){return nB(this)},vB.prototype.entries=function(){return this.__iterator(2)},vB.prototype.__iterator=function(e,t){return xB(this).__iterator(e,t)},vB.prototype.__iterate=function(e,t){return xB(this).__iterate(e,t)},vB.prototype.__ensureOwner=function(e){if(e===this.__ownerID)return this;var t=this._values.__ensureOwner(e);return e?yB(this,t,e):(this.__ownerID=e,this._values=t,this)},vB.isRecord=qD,vB.getDescriptiveName=$B;var bB=vB.prototype;function yB(e,t,r){var n=Object.create(Object.getPrototypeOf(e));return n._values=t,n.__ownerID=r,n}function $B(e){return e.constructor.displayName||e.constructor.name||"Record"}function xB(e){return hN(e._keys.map(function(t){return[t,e.get(t)]}))}function SB(e,t){try{Object.defineProperty(e,t,{get:function(){return this.get(t)},set:function(e){MF(this.__ownerID,"Cannot set on an immutable record."),this.set(t,e)}})}catch(e){}}bB[QD]=!0,bB[PD]=bB.remove,bB.deleteIn=bB.removeIn=lO,bB.getIn=eB,bB.hasIn=aB.hasIn,bB.merge=sF,bB.mergeWith=aF,bB.mergeIn=yF,bB.mergeDeep=fF,bB.mergeDeepWith=vF,bB.mergeDeepIn=bF,bB.setIn=xF,bB.update=SF,bB.updateIn=wF,bB.withMutations=CF,bB.asMutable=gN,bB.asImmutable=_N,bB[CD]=bB.entries,bB.toJSON=bB.toObject=aB.toObject,bB.inspect=bB.toSource=function(){return this.toString()};var wB,AB=function(e){function t(e,r){if(!(this instanceof t))return new t(e,r);if(this._value=e,this.size=void 0===r?1/0:Math.max(0,r),0===this.size){if(wB)return wB;wB=this}}return e&&(t.__proto__=e),t.prototype=Object.create(e&&e.prototype),t.prototype.constructor=t,t.prototype.toString=function(){return 0===this.size?"Repeat []":"Repeat [ "+this._value+" "+this.size+" times ]"},t.prototype.get=function(e,t){return this.has(e)?this._value:t},t.prototype.includes=function(e){return iF(this._value,e)},t.prototype.slice=function(e,r){var n=this.size;return HD(e,r,n)?this:new t(this._value,jD(r,n)-GD(e,n))},t.prototype.reverse=function(){return this},t.prototype.indexOf=function(e){return iF(this._value,e)?0:-1},t.prototype.lastIndexOf=function(e){return iF(this._value,e)?this.size:-1},t.prototype.__iterate=function(e,t){for(var r=this.size,n=0;n!==r&&!1!==e(this._value,t?r-++n:n++,this););return n},t.prototype.__iterator=function(e,t){var r=this,n=this.size,i=0;return new ED(function(){return i===n?{value:void 0,done:!0}:ID(e,t?n-++i:i++,r._value)})},t.prototype.equals=function(e){return e instanceof t?iF(this._value,e._value):zO(this,e)},t}(oN);function CB(e,t,r,n,i,o){if("string"!=typeof r&&!YD(r)&&(rN(r)||kD(r)||uF(r))){if(~e.indexOf(r))throw new TypeError("Cannot convert circular structure to Immutable");e.push(r),i&&""!==n&&i.push(n);var s=t.call(o,n,nN(r).map(function(n,o){return CB(e,t,n,o,i,r)}),i&&i.slice());return e.pop(),i&&i.pop(),s}return r}function EB(e,t){return mD(t)?t.toList():gD(t)?t.toMap():t.toSet()}var IB=yD,MB=Object.freeze({__proto__:null,Collection:yD,Iterable:IB,List:dO,Map:TF,OrderedMap:AO,OrderedSet:pB,PairSorting:{LeftThenRight:-1,RightThenLeft:1},Range:GO,Record:vB,Repeat:AB,Seq:nN,Set:WO,Stack:TO,fromJS:function(e,t){return CB([],t||EB,e,"",t&&t.length>2?[]:void 0,{"":e})},get:rO,getIn:ZO,has:tO,hasIn:tB,hash:yN,is:iF,isAssociative:fD,isCollection:bD,isImmutable:YD,isIndexed:mD,isKeyed:gD,isList:uO,isMap:IF,isOrdered:KD,isOrderedMap:SO,isOrderedSet:hB,isPlainObject:uF,isRecord:qD,isSeq:eN,isSet:JO,isStack:kO,isValueObject:nF,merge:function(e){for(var t=[],r=arguments.length-1;r-- >0;)t[r]=arguments[r+1];return gF(e,t)},mergeDeep:function(e){for(var t=[],r=arguments.length-1;r-- >0;)t[r]=arguments[r+1];return _F(e,t)},mergeDeepWith:function(e,t){for(var r=[],n=arguments.length-2;n-- >0;)r[n]=arguments[n+2];return _F(t,r,e)},mergeWith:function(e,t){for(var r=[],n=arguments.length-2;n-- >0;)r[n]=arguments[n+2];return gF(t,r,e)},remove:nO,removeIn:aO,set:iO,setIn:$F,update:oF,updateIn:oO,version:"5.1.6"}),kB=void 0!==__webpack_require__.g?__webpack_require__.g:"undefined"!=typeof self?self:"undefined"!=typeof window?window:{};function TB(){throw new Error("setTimeout has not been defined")}function RB(){throw new Error("clearTimeout has not been defined")}var LB=TB,PB=RB;function DB(e){if(LB===setTimeout)return setTimeout(e,0);if((LB===TB||!LB)&&setTimeout)return LB=setTimeout,setTimeout(e,0);try{return LB(e,0)}catch(t){try{return LB.call(null,e,0)}catch(t){return LB.call(this,e,0)}}}"function"==typeof kB.setTimeout&&(LB=setTimeout),"function"==typeof kB.clearTimeout&&(PB=clearTimeout);var NB,FB=[],OB=!1,BB=-1;function UB(){OB&&NB&&(OB=!1,NB.length?FB=NB.concat(FB):BB=-1,FB.length&&VB())}function VB(){if(!OB){var e=DB(UB);OB=!0;for(var t=FB.length;t;){for(NB=FB,FB=[];++BB<t;)NB&&NB[BB].run();BB=-1,t=FB.length}NB=null,OB=!1,function(e){if(PB===clearTimeout)return clearTimeout(e);if((PB===RB||!PB)&&clearTimeout)return PB=clearTimeout,clearTimeout(e);try{return PB(e)}catch(t){try{return PB.call(null,e)}catch(t){return PB.call(this,e)}}}(e)}}function zB(e,t){this.fun=e,this.array=t}zB.prototype.run=function(){this.fun.apply(null,this.array)};function HB(){}var GB=HB,jB=HB,JB=HB,WB=HB,QB=HB,qB=HB,YB=HB;var XB=kB.performance||{},KB=XB.now||XB.mozNow||XB.msNow||XB.oNow||XB.webkitNow||function(){return(new Date).getTime()};var ZB=new Date;var eU={nextTick:function(e){var t=new Array(arguments.length-1);if(arguments.length>1)for(var r=1;r<arguments.length;r++)t[r-1]=arguments[r];FB.push(new zB(e,t)),1!==FB.length||OB||DB(VB)},title:"browser",browser:!0,env:{},argv:[],version:"",versions:{},on:GB,addListener:jB,once:JB,off:WB,removeListener:QB,removeAllListeners:qB,emit:YB,binding:function(e){throw new Error("process.binding is not supported")},cwd:function(){return"/"},chdir:function(e){throw new Error("process.chdir is not supported")},umask:function(){return 0},hrtime:function(e){var t=.001*KB.call(XB),r=Math.floor(t),n=Math.floor(t%1*1e9);return e&&(r-=e[0],(n-=e[1])<0&&(r--,n+=1e9)),[r,n]},platform:"browser",release:{},config:{},uptime:function(){return(new Date-ZB)/1e3}},tU=eU,rU=[],nU=[],iU="undefined"!=typeof Uint8Array?Uint8Array:Array,oU=!1;function sU(){oU=!0;for(var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",t=0;t<64;++t)rU[t]=e[t],nU[e.charCodeAt(t)]=t;nU["-".charCodeAt(0)]=62,nU["_".charCodeAt(0)]=63}function aU(e){return rU[e>>18&63]+rU[e>>12&63]+rU[e>>6&63]+rU[63&e]}function lU(e,t,r){for(var n,i=[],o=t;o<r;o+=3)n=(e[o]<<16)+(e[o+1]<<8)+e[o+2],i.push(aU(n));return i.join("")}function cU(e){var t;oU||sU();for(var r=e.length,n=r%3,i="",o=[],s=16383,a=0,l=r-n;a<l;a+=s)o.push(lU(e,a,a+s>l?l:a+s));return 1===n?(t=e[r-1],i+=rU[t>>2],i+=rU[t<<4&63],i+="=="):2===n&&(t=(e[r-2]<<8)+e[r-1],i+=rU[t>>10],i+=rU[t>>4&63],i+=rU[t<<2&63],i+="="),o.push(i),o.join("")}function uU(e,t,r,n,i){var o,s,a=8*i-n-1,l=(1<<a)-1,c=l>>1,u=-7,d=r?i-1:0,h=r?-1:1,p=e[t+d];for(d+=h,o=p&(1<<-u)-1,p>>=-u,u+=a;u>0;o=256*o+e[t+d],d+=h,u-=8);for(s=o&(1<<-u)-1,o>>=-u,u+=n;u>0;s=256*s+e[t+d],d+=h,u-=8);if(0===o)o=1-c;else{if(o===l)return s?NaN:1/0*(p?-1:1);s+=Math.pow(2,n),o-=c}return(p?-1:1)*s*Math.pow(2,o-n)}function dU(e,t,r,n,i,o){var s,a,l,c=8*o-i-1,u=(1<<c)-1,d=u>>1,h=23===i?Math.pow(2,-24)-Math.pow(2,-77):0,p=n?0:o-1,m=n?1:-1,_=t<0||0===t&&1/t<0?1:0;for(t=Math.abs(t),isNaN(t)||t===1/0?(a=isNaN(t)?1:0,s=u):(s=Math.floor(Math.log(t)/Math.LN2),t*(l=Math.pow(2,-s))<1&&(s--,l*=2),(t+=s+d>=1?h/l:h*Math.pow(2,1-d))*l>=2&&(s++,l/=2),s+d>=u?(a=0,s=u):s+d>=1?(a=(t*l-1)*Math.pow(2,i),s+=d):(a=t*Math.pow(2,d-1)*Math.pow(2,i),s=0));i>=8;e[r+p]=255&a,p+=m,a/=256,i-=8);for(s=s<<i|a,c+=i;c>0;e[r+p]=255&s,p+=m,s/=256,c-=8);e[r+p-m]|=128*_}var hU={}.toString,pU=Array.isArray||function(e){return"[object Array]"==hU.call(e)};function mU(){return gU.TYPED_ARRAY_SUPPORT?2147483647:1073741823}function _U(e,t){if(mU()<t)throw new RangeError("Invalid typed array length");return gU.TYPED_ARRAY_SUPPORT?(e=new Uint8Array(t)).__proto__=gU.prototype:(null===e&&(e=new gU(t)),e.length=t),e}function gU(e,t,r){if(!(gU.TYPED_ARRAY_SUPPORT||this instanceof gU))return new gU(e,t,r);if("number"==typeof e){if("string"==typeof t)throw new Error("If encoding is specified then the first argument must be a string");return bU(this,e)}return fU(this,e,t,r)}function fU(e,t,r,n){if("number"==typeof t)throw new TypeError('"value" argument must not be a number');return"undefined"!=typeof ArrayBuffer&&t instanceof ArrayBuffer?function(e,t,r,n){if(t.byteLength,r<0||t.byteLength<r)throw new RangeError("'offset' is out of bounds");if(t.byteLength<r+(n||0))throw new RangeError("'length' is out of bounds");t=void 0===r&&void 0===n?new Uint8Array(t):void 0===n?new Uint8Array(t,r):new Uint8Array(t,r,n);gU.TYPED_ARRAY_SUPPORT?(e=t).__proto__=gU.prototype:e=yU(e,t);return e}(e,t,r,n):"string"==typeof t?function(e,t,r){"string"==typeof r&&""!==r||(r="utf8");if(!gU.isEncoding(r))throw new TypeError('"encoding" must be a valid string encoding');var n=0|SU(t,r);e=_U(e,n);var i=e.write(t,r);i!==n&&(e=e.slice(0,i));return e}(e,t,r):function(e,t){if(xU(t)){var r=0|$U(t.length);return 0===(e=_U(e,r)).length||t.copy(e,0,0,r),e}if(t){if("undefined"!=typeof ArrayBuffer&&t.buffer instanceof ArrayBuffer||"length"in t)return"number"!=typeof t.length||(n=t.length)!=n?_U(e,0):yU(e,t);if("Buffer"===t.type&&pU(t.data))return yU(e,t.data)}var n;throw new TypeError("First argument must be a string, Buffer, ArrayBuffer, Array, or array-like object.")}(e,t)}function vU(e){if("number"!=typeof e)throw new TypeError('"size" argument must be a number');if(e<0)throw new RangeError('"size" argument must not be negative')}function bU(e,t){if(vU(t),e=_U(e,t<0?0:0|$U(t)),!gU.TYPED_ARRAY_SUPPORT)for(var r=0;r<t;++r)e[r]=0;return e}function yU(e,t){var r=t.length<0?0:0|$U(t.length);e=_U(e,r);for(var n=0;n<r;n+=1)e[n]=255&t[n];return e}function $U(e){if(e>=mU())throw new RangeError("Attempt to allocate Buffer larger than maximum size: 0x"+mU().toString(16)+" bytes");return 0|e}function xU(e){return!(null==e||!e._isBuffer)}function SU(e,t){if(xU(e))return e.length;if("undefined"!=typeof ArrayBuffer&&"function"==typeof ArrayBuffer.isView&&(ArrayBuffer.isView(e)||e instanceof ArrayBuffer))return e.byteLength;"string"!=typeof e&&(e=""+e);var r=e.length;if(0===r)return 0;for(var n=!1;;)switch(t){case"ascii":case"latin1":case"binary":return r;case"utf8":case"utf-8":case void 0:return YU(e).length;case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return 2*r;case"hex":return r>>>1;case"base64":return XU(e).length;default:if(n)return YU(e).length;t=(""+t).toLowerCase(),n=!0}}function wU(e,t,r){var n=!1;if((void 0===t||t<0)&&(t=0),t>this.length)return"";if((void 0===r||r>this.length)&&(r=this.length),r<=0)return"";if((r>>>=0)<=(t>>>=0))return"";for(e||(e="utf8");;)switch(e){case"hex":return BU(this,t,r);case"utf8":case"utf-8":return DU(this,t,r);case"ascii":return FU(this,t,r);case"latin1":case"binary":return OU(this,t,r);case"base64":return PU(this,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return UU(this,t,r);default:if(n)throw new TypeError("Unknown encoding: "+e);e=(e+"").toLowerCase(),n=!0}}function AU(e,t,r){var n=e[t];e[t]=e[r],e[r]=n}function CU(e,t,r,n,i){if(0===e.length)return-1;if("string"==typeof r?(n=r,r=0):r>2147483647?r=2147483647:r<-2147483648&&(r=-2147483648),r=+r,isNaN(r)&&(r=i?0:e.length-1),r<0&&(r=e.length+r),r>=e.length){if(i)return-1;r=e.length-1}else if(r<0){if(!i)return-1;r=0}if("string"==typeof t&&(t=gU.from(t,n)),xU(t))return 0===t.length?-1:EU(e,t,r,n,i);if("number"==typeof t)return t&=255,gU.TYPED_ARRAY_SUPPORT&&"function"==typeof Uint8Array.prototype.indexOf?i?Uint8Array.prototype.indexOf.call(e,t,r):Uint8Array.prototype.lastIndexOf.call(e,t,r):EU(e,[t],r,n,i);throw new TypeError("val must be string, number or Buffer")}function EU(e,t,r,n,i){var o,s=1,a=e.length,l=t.length;if(void 0!==n&&("ucs2"===(n=String(n).toLowerCase())||"ucs-2"===n||"utf16le"===n||"utf-16le"===n)){if(e.length<2||t.length<2)return-1;s=2,a/=2,l/=2,r/=2}function c(e,t){return 1===s?e[t]:e.readUInt16BE(t*s)}if(i){var u=-1;for(o=r;o<a;o++)if(c(e,o)===c(t,-1===u?0:o-u)){if(-1===u&&(u=o),o-u+1===l)return u*s}else-1!==u&&(o-=o-u),u=-1}else for(r+l>a&&(r=a-l),o=r;o>=0;o--){for(var d=!0,h=0;h<l;h++)if(c(e,o+h)!==c(t,h)){d=!1;break}if(d)return o}return-1}function IU(e,t,r,n){r=Number(r)||0;var i=e.length-r;n?(n=Number(n))>i&&(n=i):n=i;var o=t.length;if(o%2!=0)throw new TypeError("Invalid hex string");n>o/2&&(n=o/2);for(var s=0;s<n;++s){var a=parseInt(t.substr(2*s,2),16);if(isNaN(a))return s;e[r+s]=a}return s}function MU(e,t,r,n){return KU(YU(t,e.length-r),e,r,n)}function kU(e,t,r,n){return KU(function(e){for(var t=[],r=0;r<e.length;++r)t.push(255&e.charCodeAt(r));return t}(t),e,r,n)}function TU(e,t,r,n){return kU(e,t,r,n)}function RU(e,t,r,n){return KU(XU(t),e,r,n)}function LU(e,t,r,n){return KU(function(e,t){for(var r,n,i,o=[],s=0;s<e.length&&!((t-=2)<0);++s)n=(r=e.charCodeAt(s))>>8,i=r%256,o.push(i),o.push(n);return o}(t,e.length-r),e,r,n)}function PU(e,t,r){return 0===t&&r===e.length?cU(e):cU(e.slice(t,r))}function DU(e,t,r){r=Math.min(e.length,r);for(var n=[],i=t;i<r;){var o,s,a,l,c=e[i],u=null,d=c>239?4:c>223?3:c>191?2:1;if(i+d<=r)switch(d){case 1:c<128&&(u=c);break;case 2:128==(192&(o=e[i+1]))&&(l=(31&c)<<6|63&o)>127&&(u=l);break;case 3:o=e[i+1],s=e[i+2],128==(192&o)&&128==(192&s)&&(l=(15&c)<<12|(63&o)<<6|63&s)>2047&&(l<55296||l>57343)&&(u=l);break;case 4:o=e[i+1],s=e[i+2],a=e[i+3],128==(192&o)&&128==(192&s)&&128==(192&a)&&(l=(15&c)<<18|(63&o)<<12|(63&s)<<6|63&a)>65535&&l<1114112&&(u=l)}null===u?(u=65533,d=1):u>65535&&(u-=65536,n.push(u>>>10&1023|55296),u=56320|1023&u),n.push(u),i+=d}return function(e){var t=e.length;if(t<=NU)return String.fromCharCode.apply(String,e);var r="",n=0;for(;n<t;)r+=String.fromCharCode.apply(String,e.slice(n,n+=NU));return r}(n)}gU.TYPED_ARRAY_SUPPORT=void 0===kB.TYPED_ARRAY_SUPPORT||kB.TYPED_ARRAY_SUPPORT,mU(),gU.poolSize=8192,gU._augment=function(e){return e.__proto__=gU.prototype,e},gU.from=function(e,t,r){return fU(null,e,t,r)},gU.TYPED_ARRAY_SUPPORT&&(gU.prototype.__proto__=Uint8Array.prototype,gU.__proto__=Uint8Array),gU.alloc=function(e,t,r){return function(e,t,r,n){return vU(t),t<=0?_U(e,t):void 0!==r?"string"==typeof n?_U(e,t).fill(r,n):_U(e,t).fill(r):_U(e,t)}(null,e,t,r)},gU.allocUnsafe=function(e){return bU(null,e)},gU.allocUnsafeSlow=function(e){return bU(null,e)},gU.isBuffer=function(e){return null!=e&&(!!e._isBuffer||ZU(e)||function(e){return"function"==typeof e.readFloatLE&&"function"==typeof e.slice&&ZU(e.slice(0,0))}(e))},gU.compare=function(e,t){if(!xU(e)||!xU(t))throw new TypeError("Arguments must be Buffers");if(e===t)return 0;for(var r=e.length,n=t.length,i=0,o=Math.min(r,n);i<o;++i)if(e[i]!==t[i]){r=e[i],n=t[i];break}return r<n?-1:n<r?1:0},gU.isEncoding=function(e){switch(String(e).toLowerCase()){case"hex":case"utf8":case"utf-8":case"ascii":case"latin1":case"binary":case"base64":case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return!0;default:return!1}},gU.concat=function(e,t){if(!pU(e))throw new TypeError('"list" argument must be an Array of Buffers');if(0===e.length)return gU.alloc(0);var r;if(void 0===t)for(t=0,r=0;r<e.length;++r)t+=e[r].length;var n=gU.allocUnsafe(t),i=0;for(r=0;r<e.length;++r){var o=e[r];if(!xU(o))throw new TypeError('"list" argument must be an Array of Buffers');o.copy(n,i),i+=o.length}return n},gU.byteLength=SU,gU.prototype._isBuffer=!0,gU.prototype.swap16=function(){var e=this.length;if(e%2!=0)throw new RangeError("Buffer size must be a multiple of 16-bits");for(var t=0;t<e;t+=2)AU(this,t,t+1);return this},gU.prototype.swap32=function(){var e=this.length;if(e%4!=0)throw new RangeError("Buffer size must be a multiple of 32-bits");for(var t=0;t<e;t+=4)AU(this,t,t+3),AU(this,t+1,t+2);return this},gU.prototype.swap64=function(){var e=this.length;if(e%8!=0)throw new RangeError("Buffer size must be a multiple of 64-bits");for(var t=0;t<e;t+=8)AU(this,t,t+7),AU(this,t+1,t+6),AU(this,t+2,t+5),AU(this,t+3,t+4);return this},gU.prototype.toString=function(){var e=0|this.length;return 0===e?"":0===arguments.length?DU(this,0,e):wU.apply(this,arguments)},gU.prototype.equals=function(e){if(!xU(e))throw new TypeError("Argument must be a Buffer");return this===e||0===gU.compare(this,e)},gU.prototype.inspect=function(){var e="";return this.length>0&&(e=this.toString("hex",0,50).match(/.{2}/g).join(" "),this.length>50&&(e+=" ... ")),"<Buffer "+e+">"},gU.prototype.compare=function(e,t,r,n,i){if(!xU(e))throw new TypeError("Argument must be a Buffer");if(void 0===t&&(t=0),void 0===r&&(r=e?e.length:0),void 0===n&&(n=0),void 0===i&&(i=this.length),t<0||r>e.length||n<0||i>this.length)throw new RangeError("out of range index");if(n>=i&&t>=r)return 0;if(n>=i)return-1;if(t>=r)return 1;if(this===e)return 0;for(var o=(i>>>=0)-(n>>>=0),s=(r>>>=0)-(t>>>=0),a=Math.min(o,s),l=this.slice(n,i),c=e.slice(t,r),u=0;u<a;++u)if(l[u]!==c[u]){o=l[u],s=c[u];break}return o<s?-1:s<o?1:0},gU.prototype.includes=function(e,t,r){return-1!==this.indexOf(e,t,r)},gU.prototype.indexOf=function(e,t,r){return CU(this,e,t,r,!0)},gU.prototype.lastIndexOf=function(e,t,r){return CU(this,e,t,r,!1)},gU.prototype.write=function(e,t,r,n){if(void 0===t)n="utf8",r=this.length,t=0;else if(void 0===r&&"string"==typeof t)n=t,r=this.length,t=0;else{if(!isFinite(t))throw new Error("Buffer.write(string, encoding, offset[, length]) is no longer supported");t|=0,isFinite(r)?(r|=0,void 0===n&&(n="utf8")):(n=r,r=void 0)}var i=this.length-t;if((void 0===r||r>i)&&(r=i),e.length>0&&(r<0||t<0)||t>this.length)throw new RangeError("Attempt to write outside buffer bounds");n||(n="utf8");for(var o=!1;;)switch(n){case"hex":return IU(this,e,t,r);case"utf8":case"utf-8":return MU(this,e,t,r);case"ascii":return kU(this,e,t,r);case"latin1":case"binary":return TU(this,e,t,r);case"base64":return RU(this,e,t,r);case"ucs2":case"ucs-2":case"utf16le":case"utf-16le":return LU(this,e,t,r);default:if(o)throw new TypeError("Unknown encoding: "+n);n=(""+n).toLowerCase(),o=!0}},gU.prototype.toJSON=function(){return{type:"Buffer",data:Array.prototype.slice.call(this._arr||this,0)}};var NU=4096;function FU(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(127&e[i]);return n}function OU(e,t,r){var n="";r=Math.min(e.length,r);for(var i=t;i<r;++i)n+=String.fromCharCode(e[i]);return n}function BU(e,t,r){var n=e.length;(!t||t<0)&&(t=0),(!r||r<0||r>n)&&(r=n);for(var i="",o=t;o<r;++o)i+=qU(e[o]);return i}function UU(e,t,r){for(var n=e.slice(t,r),i="",o=0;o<n.length;o+=2)i+=String.fromCharCode(n[o]+256*n[o+1]);return i}function VU(e,t,r){if(e%1!=0||e<0)throw new RangeError("offset is not uint");if(e+t>r)throw new RangeError("Trying to access beyond buffer length")}function zU(e,t,r,n,i,o){if(!xU(e))throw new TypeError('"buffer" argument must be a Buffer instance');if(t>i||t<o)throw new RangeError('"value" argument is out of bounds');if(r+n>e.length)throw new RangeError("Index out of range")}function HU(e,t,r,n){t<0&&(t=65535+t+1);for(var i=0,o=Math.min(e.length-r,2);i<o;++i)e[r+i]=(t&255<<8*(n?i:1-i))>>>8*(n?i:1-i)}function GU(e,t,r,n){t<0&&(t=4294967295+t+1);for(var i=0,o=Math.min(e.length-r,4);i<o;++i)e[r+i]=t>>>8*(n?i:3-i)&255}function jU(e,t,r,n,i,o){if(r+n>e.length)throw new RangeError("Index out of range");if(r<0)throw new RangeError("Index out of range")}function JU(e,t,r,n,i){return i||jU(e,0,r,4),dU(e,t,r,n,23,4),r+4}function WU(e,t,r,n,i){return i||jU(e,0,r,8),dU(e,t,r,n,52,8),r+8}gU.prototype.slice=function(e,t){var r,n=this.length;if((e=~~e)<0?(e+=n)<0&&(e=0):e>n&&(e=n),(t=void 0===t?n:~~t)<0?(t+=n)<0&&(t=0):t>n&&(t=n),t<e&&(t=e),gU.TYPED_ARRAY_SUPPORT)(r=this.subarray(e,t)).__proto__=gU.prototype;else{var i=t-e;r=new gU(i,void 0);for(var o=0;o<i;++o)r[o]=this[o+e]}return r},gU.prototype.readUIntLE=function(e,t,r){e|=0,t|=0,r||VU(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n},gU.prototype.readUIntBE=function(e,t,r){e|=0,t|=0,r||VU(e,t,this.length);for(var n=this[e+--t],i=1;t>0&&(i*=256);)n+=this[e+--t]*i;return n},gU.prototype.readUInt8=function(e,t){return t||VU(e,1,this.length),this[e]},gU.prototype.readUInt16LE=function(e,t){return t||VU(e,2,this.length),this[e]|this[e+1]<<8},gU.prototype.readUInt16BE=function(e,t){return t||VU(e,2,this.length),this[e]<<8|this[e+1]},gU.prototype.readUInt32LE=function(e,t){return t||VU(e,4,this.length),(this[e]|this[e+1]<<8|this[e+2]<<16)+16777216*this[e+3]},gU.prototype.readUInt32BE=function(e,t){return t||VU(e,4,this.length),16777216*this[e]+(this[e+1]<<16|this[e+2]<<8|this[e+3])},gU.prototype.readIntLE=function(e,t,r){e|=0,t|=0,r||VU(e,t,this.length);for(var n=this[e],i=1,o=0;++o<t&&(i*=256);)n+=this[e+o]*i;return n>=(i*=128)&&(n-=Math.pow(2,8*t)),n},gU.prototype.readIntBE=function(e,t,r){e|=0,t|=0,r||VU(e,t,this.length);for(var n=t,i=1,o=this[e+--n];n>0&&(i*=256);)o+=this[e+--n]*i;return o>=(i*=128)&&(o-=Math.pow(2,8*t)),o},gU.prototype.readInt8=function(e,t){return t||VU(e,1,this.length),128&this[e]?-1*(255-this[e]+1):this[e]},gU.prototype.readInt16LE=function(e,t){t||VU(e,2,this.length);var r=this[e]|this[e+1]<<8;return 32768&r?4294901760|r:r},gU.prototype.readInt16BE=function(e,t){t||VU(e,2,this.length);var r=this[e+1]|this[e]<<8;return 32768&r?4294901760|r:r},gU.prototype.readInt32LE=function(e,t){return t||VU(e,4,this.length),this[e]|this[e+1]<<8|this[e+2]<<16|this[e+3]<<24},gU.prototype.readInt32BE=function(e,t){return t||VU(e,4,this.length),this[e]<<24|this[e+1]<<16|this[e+2]<<8|this[e+3]},gU.prototype.readFloatLE=function(e,t){return t||VU(e,4,this.length),uU(this,e,!0,23,4)},gU.prototype.readFloatBE=function(e,t){return t||VU(e,4,this.length),uU(this,e,!1,23,4)},gU.prototype.readDoubleLE=function(e,t){return t||VU(e,8,this.length),uU(this,e,!0,52,8)},gU.prototype.readDoubleBE=function(e,t){return t||VU(e,8,this.length),uU(this,e,!1,52,8)},gU.prototype.writeUIntLE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||zU(this,e,t,r,Math.pow(2,8*r)-1,0);var i=1,o=0;for(this[t]=255&e;++o<r&&(i*=256);)this[t+o]=e/i&255;return t+r},gU.prototype.writeUIntBE=function(e,t,r,n){(e=+e,t|=0,r|=0,n)||zU(this,e,t,r,Math.pow(2,8*r)-1,0);var i=r-1,o=1;for(this[t+i]=255&e;--i>=0&&(o*=256);)this[t+i]=e/o&255;return t+r},gU.prototype.writeUInt8=function(e,t,r){return e=+e,t|=0,r||zU(this,e,t,1,255,0),gU.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),this[t]=255&e,t+1},gU.prototype.writeUInt16LE=function(e,t,r){return e=+e,t|=0,r||zU(this,e,t,2,65535,0),gU.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):HU(this,e,t,!0),t+2},gU.prototype.writeUInt16BE=function(e,t,r){return e=+e,t|=0,r||zU(this,e,t,2,65535,0),gU.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):HU(this,e,t,!1),t+2},gU.prototype.writeUInt32LE=function(e,t,r){return e=+e,t|=0,r||zU(this,e,t,4,4294967295,0),gU.TYPED_ARRAY_SUPPORT?(this[t+3]=e>>>24,this[t+2]=e>>>16,this[t+1]=e>>>8,this[t]=255&e):GU(this,e,t,!0),t+4},gU.prototype.writeUInt32BE=function(e,t,r){return e=+e,t|=0,r||zU(this,e,t,4,4294967295,0),gU.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):GU(this,e,t,!1),t+4},gU.prototype.writeIntLE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);zU(this,e,t,r,i-1,-i)}var o=0,s=1,a=0;for(this[t]=255&e;++o<r&&(s*=256);)e<0&&0===a&&0!==this[t+o-1]&&(a=1),this[t+o]=(e/s|0)-a&255;return t+r},gU.prototype.writeIntBE=function(e,t,r,n){if(e=+e,t|=0,!n){var i=Math.pow(2,8*r-1);zU(this,e,t,r,i-1,-i)}var o=r-1,s=1,a=0;for(this[t+o]=255&e;--o>=0&&(s*=256);)e<0&&0===a&&0!==this[t+o+1]&&(a=1),this[t+o]=(e/s|0)-a&255;return t+r},gU.prototype.writeInt8=function(e,t,r){return e=+e,t|=0,r||zU(this,e,t,1,127,-128),gU.TYPED_ARRAY_SUPPORT||(e=Math.floor(e)),e<0&&(e=255+e+1),this[t]=255&e,t+1},gU.prototype.writeInt16LE=function(e,t,r){return e=+e,t|=0,r||zU(this,e,t,2,32767,-32768),gU.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8):HU(this,e,t,!0),t+2},gU.prototype.writeInt16BE=function(e,t,r){return e=+e,t|=0,r||zU(this,e,t,2,32767,-32768),gU.TYPED_ARRAY_SUPPORT?(this[t]=e>>>8,this[t+1]=255&e):HU(this,e,t,!1),t+2},gU.prototype.writeInt32LE=function(e,t,r){return e=+e,t|=0,r||zU(this,e,t,4,2147483647,-2147483648),gU.TYPED_ARRAY_SUPPORT?(this[t]=255&e,this[t+1]=e>>>8,this[t+2]=e>>>16,this[t+3]=e>>>24):GU(this,e,t,!0),t+4},gU.prototype.writeInt32BE=function(e,t,r){return e=+e,t|=0,r||zU(this,e,t,4,2147483647,-2147483648),e<0&&(e=4294967295+e+1),gU.TYPED_ARRAY_SUPPORT?(this[t]=e>>>24,this[t+1]=e>>>16,this[t+2]=e>>>8,this[t+3]=255&e):GU(this,e,t,!1),t+4},gU.prototype.writeFloatLE=function(e,t,r){return JU(this,e,t,!0,r)},gU.prototype.writeFloatBE=function(e,t,r){return JU(this,e,t,!1,r)},gU.prototype.writeDoubleLE=function(e,t,r){return WU(this,e,t,!0,r)},gU.prototype.writeDoubleBE=function(e,t,r){return WU(this,e,t,!1,r)},gU.prototype.copy=function(e,t,r,n){if(r||(r=0),n||0===n||(n=this.length),t>=e.length&&(t=e.length),t||(t=0),n>0&&n<r&&(n=r),n===r)return 0;if(0===e.length||0===this.length)return 0;if(t<0)throw new RangeError("targetStart out of bounds");if(r<0||r>=this.length)throw new RangeError("sourceStart out of bounds");if(n<0)throw new RangeError("sourceEnd out of bounds");n>this.length&&(n=this.length),e.length-t<n-r&&(n=e.length-t+r);var i,o=n-r;if(this===e&&r<t&&t<n)for(i=o-1;i>=0;--i)e[i+t]=this[i+r];else if(o<1e3||!gU.TYPED_ARRAY_SUPPORT)for(i=0;i<o;++i)e[i+t]=this[i+r];else Uint8Array.prototype.set.call(e,this.subarray(r,r+o),t);return o},gU.prototype.fill=function(e,t,r,n){if("string"==typeof e){if("string"==typeof t?(n=t,t=0,r=this.length):"string"==typeof r&&(n=r,r=this.length),1===e.length){var i=e.charCodeAt(0);i<256&&(e=i)}if(void 0!==n&&"string"!=typeof n)throw new TypeError("encoding must be a string");if("string"==typeof n&&!gU.isEncoding(n))throw new TypeError("Unknown encoding: "+n)}else"number"==typeof e&&(e&=255);if(t<0||this.length<t||this.length<r)throw new RangeError("Out of range index");if(r<=t)return this;var o;if(t>>>=0,r=void 0===r?this.length:r>>>0,e||(e=0),"number"==typeof e)for(o=t;o<r;++o)this[o]=e;else{var s=xU(e)?e:YU(new gU(e,n).toString()),a=s.length;for(o=0;o<r-t;++o)this[o+t]=s[o%a]}return this};var QU=/[^+\/0-9A-Za-z-_]/g;function qU(e){return e<16?"0"+e.toString(16):e.toString(16)}function YU(e,t){var r;t=t||1/0;for(var n=e.length,i=null,o=[],s=0;s<n;++s){if((r=e.charCodeAt(s))>55295&&r<57344){if(!i){if(r>56319){(t-=3)>-1&&o.push(239,191,189);continue}if(s+1===n){(t-=3)>-1&&o.push(239,191,189);continue}i=r;continue}if(r<56320){(t-=3)>-1&&o.push(239,191,189),i=r;continue}r=65536+(i-55296<<10|r-56320)}else i&&(t-=3)>-1&&o.push(239,191,189);if(i=null,r<128){if((t-=1)<0)break;o.push(r)}else if(r<2048){if((t-=2)<0)break;o.push(r>>6|192,63&r|128)}else if(r<65536){if((t-=3)<0)break;o.push(r>>12|224,r>>6&63|128,63&r|128)}else{if(!(r<1114112))throw new Error("Invalid code point");if((t-=4)<0)break;o.push(r>>18|240,r>>12&63|128,r>>6&63|128,63&r|128)}}return o}function XU(e){return function(e){var t,r,n,i,o,s;oU||sU();var a=e.length;if(a%4>0)throw new Error("Invalid string. Length must be a multiple of 4");o="="===e[a-2]?2:"="===e[a-1]?1:0,s=new iU(3*a/4-o),n=o>0?a-4:a;var l=0;for(t=0,r=0;t<n;t+=4,r+=3)i=nU[e.charCodeAt(t)]<<18|nU[e.charCodeAt(t+1)]<<12|nU[e.charCodeAt(t+2)]<<6|nU[e.charCodeAt(t+3)],s[l++]=i>>16&255,s[l++]=i>>8&255,s[l++]=255&i;return 2===o?(i=nU[e.charCodeAt(t)]<<2|nU[e.charCodeAt(t+1)]>>4,s[l++]=255&i):1===o&&(i=nU[e.charCodeAt(t)]<<10|nU[e.charCodeAt(t+1)]<<4|nU[e.charCodeAt(t+2)]>>2,s[l++]=i>>8&255,s[l++]=255&i),s}(function(e){if((e=function(e){return e.trim?e.trim():e.replace(/^\s+|\s+$/g,"")}(e).replace(QU,"")).length<2)return"";for(;e.length%4!=0;)e+="=";return e}(e))}function KU(e,t,r,n){for(var i=0;i<n&&!(i+r>=t.length||i>=e.length);++i)t[i+r]=e[i];return i}function ZU(e){return!!e.constructor&&"function"==typeof e.constructor.isBuffer&&e.constructor.isBuffer(e)}globalThis._cliPkgExports||(globalThis._cliPkgExports=[]);let eV={};globalThis._cliPkgExports.push(eV),eV.load=function(e,t){var r=void 0!==tU&&(tU.versions||{}).hasOwnProperty("node"),n=r?Object.create(globalThis):globalThis;if(n.scheduleImmediate="undefined"!=typeof setImmediate?function(e){setImmediate(e)}:function(e){setTimeout(e,0)},"undefined"!=typeof require&&(n.require=require),n.exports=t||eV,void 0!==tU&&(n.process=tU),n.__dirname="/furnview_dev\furnview-components\node_modules.pnpmsass@1.99.0\node_modulessass",n.__filename="/furnview_dev\furnview-components\node_modules.pnpmsass@1.99.0\node_modulessass",void 0!==gU&&(n.Buffer=gU),r){var i=require("url");Object.defineProperty(n,"location",{value:{get href(){return i.pathToFileURL?i.pathToFileURL(tU.cwd()).href+"/":"file://"+function(){var e=tU.cwd();return"win32"!=tU.platform?e:"/"+e.replace(/\\/g,"/")}()+"/"}}}),function(){function e(){try{throw new Error}catch(i){var e=i.stack,t=new RegExp("^ *at [^(]*\\((.*):[0-9]*:[0-9]*\\)$","mg"),r=null;do{var n=t.exec(e);null!=n&&(r=n)}while(null!=n);return r[1]}}var t=null;Object.defineProperty(n,"document",{value:{get currentScript(){return null==t&&(t={src:e()}),t}}})}(),n.dartDeferredLibraryLoader=function(e,t,r){try{load(e),t()}catch(e){r(e)}}}Object.defineProperty(n,"parcel_watcher",{get:e.parcel_watcher}),n.immutable=e.immutable,n.chokidar=e.chokidar,n.readline=e.readline,n.fs=e.fs,n.nodeModule=e.nodeModule,n.stream=e.stream,n.util=e.util,function(){function e(e,t){for(var r=Object.keys(e),n=0;n<r.length;n++){var i=r[n];t[i]=e[i]}}var t=function(){var e=function(){};e.prototype={p:{}};var t=new e;if(!Object.getPrototypeOf(t)||Object.getPrototypeOf(t).p!==e.prototype.p)return!1;try{if("undefined"!=typeof navigator&&"string"==typeof navigator.userAgent&&navigator.userAgent.indexOf("Chrome/")>=0)return!0;if("function"==typeof version&&0==version.length){var r=version();if(/^\d+\.\d+\.\d+\.\d+$/.test(r))return!0}}catch(e){}return!1}();function r(r,n){if(r.prototype.constructor=r,r.prototype["$is"+r.name]=r,null!=n){if(t)return void Object.setPrototypeOf(r.prototype,n.prototype);var i=Object.create(n.prototype);e(r.prototype,i),r.prototype=i}}function i(e,t){for(var n=0;n<t.length;n++)r(t[n],e)}function o(e,t){!function(e,t){Object.assign(t,e)}(t.prototype,e.prototype),e.prototype.constructor=e}function s(e,t){!function(e,t){for(var r=Object.keys(e),n=0;n<r.length;n++){var i=r[n];t.hasOwnProperty(i)||(t[i]=e[i])}}(t.prototype,e.prototype),e.prototype.constructor=e}function a(e,t,r,n){var i=e;e[t]=i,e[r]=function(){return e[t]===i&&(e[t]=n()),e[r]=function(){return this[t]},e[t]}}function l(e,t,r,n){var i=e;e[t]=i,e[r]=function(){if(e[t]===i){var o=n();e[t]!==i&&A.throwLateFieldADI(t),e[t]=o}var s=e[t];return e[r]=function(){return s},s}}function c(e,t){return null!=t&&A._setArrayType(e,t),e.$flags=7,e}function u(e){return e}function d(e,t,r,n,i,o,s,a,l,c){return"number"==typeof a&&(a+=0),{co:e,iS:t,iI:r,rC:n,dV:i,cs:o,fs:s,fT:a,aI:l||0,nDA:c}}function h(e,t,r,n,i,o,s,a){var l=function(e){var t=null;return function(){return null===t&&(t=A.closureFromTearOff(e).prototype),t}}(d(e,!0,!1,r,n,i,o,s,a,!1));e[t]=l}function p(e,t,r,n,i,o,s,a,l,c){var u=function(e,t){var r=null;return e?function(e){return null===r&&(r=A.closureFromTearOff(t)),new r(e,this)}:function(){return null===r&&(r=A.closureFromTearOff(t)),new r(this,null)}}(r=!!r,d(e,!1,r,n,i,o,s,a,l,!!c));e[t]=u}function m(t){var r=M.interceptorsByTag;r?e(t,r):M.interceptorsByTag=t}function _(t){var r=M.leafTags;r?e(t,r):M.leafTags=t}function g(e){var t=M.types,r=t.length;return t.push.apply(t,e),r}function f(t,r){return e(r,t),t}var v,b,y,$,x,S=(v=function(e,t,r,n,i){return function(o,s,a,l){return p(o,s,e,t,r,n,[a],l,i,!1)}},b=function(e,t,r,n){return function(i,o,s,a){return h(i,o,e,t,r,[s],a,n)}},{inherit:r,inheritMany:i,mixin:o,mixinHard:s,installStaticTearOff:h,installInstanceTearOff:p,_instance_0u:v(0,0,null,["call$0"],0),_instance_1u:v(0,1,null,["call$1"],0),_instance_2u:v(0,2,null,["call$2"],0),_instance_0i:v(1,0,null,["call$0"],0),_instance_1i:v(1,1,null,["call$1"],0),_instance_2i:v(1,2,null,["call$2"],0),_static_0:b(0,null,["call$0"],0),_static_1:b(1,null,["call$1"],0),_static_2:b(2,null,["call$2"],0),makeConstList:c,lazy:a,lazyFinal:l,updateHolder:f,convertToFastObject:u,updateTypes:g,setOrUpdateInterceptorsByTag:m,setOrUpdateLeafTags:_}),w={makeDispatchRecord:(e,t,r,n)=>({i:e,p:t,e:r,x:n}),getNativeInterceptor(e){var t,r,n,i,o,s=e[M.dispatchPropertyName];if(null==s&&null==I.initNativeDispatchFlag&&(A.initNativeDispatch(),s=e[M.dispatchPropertyName]),null!=s){if(!1===(t=s.p))return s.i;if(!0===t)return e;if(t===(r=Object.getPrototypeOf(e)))return s.i;if(s.e===r)throw A.wrapException(A.UnimplementedError$("Return interceptor for "+A.S(t(e,s))))}return null==(n=e.constructor)?i=null:(null==(o=I._JS_INTEROP_INTERCEPTOR_TAG)&&(o=I._JS_INTEROP_INTERCEPTOR_TAG=M.getIsolateTag("_$dart_js")),i=n[o]),null!=i||null!=(i=A.lookupAndCacheInterceptor(e))?i:"function"==typeof e?C.JavaScriptFunction_methods:null==(t=Object.getPrototypeOf(e))||t===Object.prototype?C.PlainJavaScriptObject_methods:"function"==typeof n?(null==(o=I._JS_INTEROP_INTERCEPTOR_TAG)&&(o=I._JS_INTEROP_INTERCEPTOR_TAG=M.getIsolateTag("_$dart_js")),Object.defineProperty(n,o,{value:C.UnknownJavaScriptObject_methods,enumerable:!1,writable:!0,configurable:!0}),C.UnknownJavaScriptObject_methods):C.UnknownJavaScriptObject_methods},JSArray_JSArray$fixed(e,t){if(e<0||e>4294967295)throw A.wrapException(A.RangeError$range(e,0,4294967295,"length",null));return w.JSArray_JSArray$markFixed(new Array(e),t)},JSArray_JSArray$allocateFixed(e,t){if(e>4294967295)throw A.wrapException(A.RangeError$range(e,0,4294967295,"length",null));return w.JSArray_JSArray$markFixed(new Array(e),t)},JSArray_JSArray$growable(e,t){if(e<0)throw A.wrapException(A.ArgumentError$("Length must be a non-negative integer: "+e,null));return A._setArrayType(new Array(e),t._eval$1("JSArray<0>"))},JSArray_JSArray$allocateGrowable(e,t){if(e<0)throw A.wrapException(A.ArgumentError$("Length must be a non-negative integer: "+e,null));return A._setArrayType(new Array(e),t._eval$1("JSArray<0>"))},JSArray_JSArray$markFixed(e,t){var r=A._setArrayType(e,t._eval$1("JSArray<0>"));return r.$flags=1,r},JSArray__compareAny:(e,t)=>w.compareTo$1$ns(e,t),JSString__isWhitespace(e){if(e<256)switch(e){case 9:case 10:case 11:case 12:case 13:case 32:case 133:case 160:return!0;default:return!1}switch(e){case 5760:case 8192:case 8193:case 8194:case 8195:case 8196:case 8197:case 8198:case 8199:case 8200:case 8201:case 8202:case 8232:case 8233:case 8239:case 8287:case 12288:case 65279:return!0;default:return!1}},JSString__skipLeadingWhitespace(e,t){var r,n;for(r=e.length;t<r&&(32===(n=e.charCodeAt(t))||13===n||w.JSString__isWhitespace(n));)++t;return t},JSString__skipTrailingWhitespace(e,t){for(var r,n;t>0&&(r=t-1,32===(n=e.charCodeAt(r))||13===n||w.JSString__isWhitespace(n));t=r);return t},getInterceptor$:e=>"number"==typeof e?Math.floor(e)==e?w.JSInt.prototype:w.JSNumNotInt.prototype:"string"==typeof e?w.JSString.prototype:null==e?w.JSNull.prototype:"boolean"==typeof e?w.JSBool.prototype:Array.isArray(e)?w.JSArray.prototype:"object"!=typeof e?"function"==typeof e?w.JavaScriptFunction.prototype:"symbol"==typeof e?w.JavaScriptSymbol.prototype:"bigint"==typeof e?w.JavaScriptBigInt.prototype:e:e instanceof A.Object?e:w.getNativeInterceptor(e),getInterceptor$ansx:e=>"number"==typeof e?w.JSNumber.prototype:"string"==typeof e?w.JSString.prototype:null==e?e:Array.isArray(e)?w.JSArray.prototype:"object"!=typeof e?"function"==typeof e?w.JavaScriptFunction.prototype:"symbol"==typeof e?w.JavaScriptSymbol.prototype:"bigint"==typeof e?w.JavaScriptBigInt.prototype:e:e instanceof A.Object?e:w.getNativeInterceptor(e),getInterceptor$asx:e=>"string"==typeof e?w.JSString.prototype:null==e?e:Array.isArray(e)?w.JSArray.prototype:"object"!=typeof e?"function"==typeof e?w.JavaScriptFunction.prototype:"symbol"==typeof e?w.JavaScriptSymbol.prototype:"bigint"==typeof e?w.JavaScriptBigInt.prototype:e:e instanceof A.Object?e:w.getNativeInterceptor(e),getInterceptor$ax:e=>null==e?e:Array.isArray(e)?w.JSArray.prototype:"object"!=typeof e?"function"==typeof e?w.JavaScriptFunction.prototype:"symbol"==typeof e?w.JavaScriptSymbol.prototype:"bigint"==typeof e?w.JavaScriptBigInt.prototype:e:e instanceof A.Object?e:w.getNativeInterceptor(e),getInterceptor$in:e=>"number"==typeof e?Math.floor(e)==e?w.JSInt.prototype:w.JSNumNotInt.prototype:null==e||e instanceof A.Object?e:w.UnknownJavaScriptObject.prototype,getInterceptor$ns:e=>"number"==typeof e?w.JSNumber.prototype:"string"==typeof e?w.JSString.prototype:null==e||e instanceof A.Object?e:w.UnknownJavaScriptObject.prototype,getInterceptor$s:e=>"string"==typeof e?w.JSString.prototype:null==e||e instanceof A.Object?e:w.UnknownJavaScriptObject.prototype,getInterceptor$x:e=>null==e?e:"object"!=typeof e?"function"==typeof e?w.JavaScriptFunction.prototype:"symbol"==typeof e?w.JavaScriptSymbol.prototype:"bigint"==typeof e?w.JavaScriptBigInt.prototype:e:e instanceof A.Object?e:w.getNativeInterceptor(e),getInterceptor$z:e=>null==e||e instanceof A.Object?e:w.UnknownJavaScriptObject.prototype,set$AsyncCompiler$x:(e,t)=>w.getInterceptor$x(e).set$AsyncCompiler(e,t),set$CalculationInterpolation$x:(e,t)=>w.getInterceptor$x(e).set$CalculationInterpolation(e,t),set$CalculationOperation$x:(e,t)=>w.getInterceptor$x(e).set$CalculationOperation(e,t),set$Compiler$x:(e,t)=>w.getInterceptor$x(e).set$Compiler(e,t),set$Exception$x:(e,t)=>w.getInterceptor$x(e).set$Exception(e,t),set$FALSE$x:(e,t)=>w.getInterceptor$x(e).set$FALSE(e,t),set$Logger$x:(e,t)=>w.getInterceptor$x(e).set$Logger(e,t),set$NULL$x:(e,t)=>w.getInterceptor$x(e).set$NULL(e,t),set$NodePackageImporter$x:(e,t)=>w.getInterceptor$x(e).set$NodePackageImporter(e,t),set$SassArgumentList$x:(e,t)=>w.getInterceptor$x(e).set$SassArgumentList(e,t),set$SassBoolean$x:(e,t)=>w.getInterceptor$x(e).set$SassBoolean(e,t),set$SassCalculation$x:(e,t)=>w.getInterceptor$x(e).set$SassCalculation(e,t),set$SassColor$x:(e,t)=>w.getInterceptor$x(e).set$SassColor(e,t),set$SassFunction$x:(e,t)=>w.getInterceptor$x(e).set$SassFunction(e,t),set$SassList$x:(e,t)=>w.getInterceptor$x(e).set$SassList(e,t),set$SassMap$x:(e,t)=>w.getInterceptor$x(e).set$SassMap(e,t),set$SassMixin$x:(e,t)=>w.getInterceptor$x(e).set$SassMixin(e,t),set$SassNumber$x:(e,t)=>w.getInterceptor$x(e).set$SassNumber(e,t),set$SassString$x:(e,t)=>w.getInterceptor$x(e).set$SassString(e,t),set$TRUE$x:(e,t)=>w.getInterceptor$x(e).set$TRUE(e,t),set$Value$x:(e,t)=>w.getInterceptor$x(e).set$Value(e,t),set$Version$x:(e,t)=>w.getInterceptor$x(e).set$Version(e,t),set$cli_pkg_main_0_$x:(e,t)=>w.getInterceptor$x(e).set$cli_pkg_main_0_(e,t),set$compile$x:(e,t)=>w.getInterceptor$x(e).set$compile(e,t),set$compileAsync$x:(e,t)=>w.getInterceptor$x(e).set$compileAsync(e,t),set$compileString$x:(e,t)=>w.getInterceptor$x(e).set$compileString(e,t),set$compileStringAsync$x:(e,t)=>w.getInterceptor$x(e).set$compileStringAsync(e,t),set$context$x:(e,t)=>w.getInterceptor$x(e).set$context(e,t),set$dartValue$x:(e,t)=>w.getInterceptor$x(e).set$dartValue(e,t),set$deprecations$x:(e,t)=>w.getInterceptor$x(e).set$deprecations(e,t),set$exitCode$x:(e,t)=>w.getInterceptor$x(e).set$exitCode(e,t),set$info$x:(e,t)=>w.getInterceptor$x(e).set$info(e,t),set$initAsyncCompiler$x:(e,t)=>w.getInterceptor$x(e).set$initAsyncCompiler(e,t),set$initCompiler$x:(e,t)=>w.getInterceptor$x(e).set$initCompiler(e,t),set$length$asx:(e,t)=>w.getInterceptor$asx(e).set$length(e,t),set$loadParserExports_$x:(e,t)=>w.getInterceptor$x(e).set$loadParserExports_(e,t),set$render$x:(e,t)=>w.getInterceptor$x(e).set$render(e,t),set$renderSync$x:(e,t)=>w.getInterceptor$x(e).set$renderSync(e,t),set$sassFalse$x:(e,t)=>w.getInterceptor$x(e).set$sassFalse(e,t),set$sassNull$x:(e,t)=>w.getInterceptor$x(e).set$sassNull(e,t),set$sassTrue$x:(e,t)=>w.getInterceptor$x(e).set$sassTrue(e,t),set$types$x:(e,t)=>w.getInterceptor$x(e).set$types(e,t),get$$prototype$x:e=>w.getInterceptor$x(e).get$$prototype(e),get$_dartException$x:e=>w.getInterceptor$x(e).get$_dartException(e),get$alertAscii$x:e=>w.getInterceptor$x(e).get$alertAscii(e),get$alertColor$x:e=>w.getInterceptor$x(e).get$alertColor(e),get$argv$x:e=>w.getInterceptor$x(e).get$argv(e),get$brackets$x:e=>w.getInterceptor$x(e).get$brackets(e),get$charset$x:e=>w.getInterceptor$x(e).get$charset(e),get$code$x:e=>w.getInterceptor$x(e).get$code(e),get$current$x:e=>w.getInterceptor$x(e).get$current(e),get$dartValue$x:e=>w.getInterceptor$x(e).get$dartValue(e),get$debug$x:e=>w.getInterceptor$x(e).get$debug(e),get$denominatorUnits$x:e=>w.getInterceptor$x(e).get$denominatorUnits(e),get$env$x:e=>w.getInterceptor$x(e).get$env(e),get$exitCode$x:e=>w.getInterceptor$x(e).get$exitCode(e),get$fatalDeprecations$x:e=>w.getInterceptor$x(e).get$fatalDeprecations(e),get$fiber$x:e=>w.getInterceptor$x(e).get$fiber(e),get$file$x:e=>w.getInterceptor$x(e).get$file(e),get$filename$x:e=>w.getInterceptor$x(e).get$filename(e),get$first$ax:e=>w.getInterceptor$ax(e).get$first(e),get$functions$x:e=>w.getInterceptor$x(e).get$functions(e),get$futureDeprecations$x:e=>w.getInterceptor$x(e).get$futureDeprecations(e),get$hashCode$:e=>w.getInterceptor$(e).get$hashCode(e),get$id$x:e=>w.getInterceptor$x(e).get$id(e),get$importer$x:e=>w.getInterceptor$x(e).get$importer(e),get$importers$x:e=>w.getInterceptor$x(e).get$importers(e),get$isEmpty$asx:e=>w.getInterceptor$asx(e).get$isEmpty(e),get$isNotEmpty$asx:e=>w.getInterceptor$asx(e).get$isNotEmpty(e),get$isTTY$x:e=>w.getInterceptor$x(e).get$isTTY(e),get$iterator$ax:e=>w.getInterceptor$ax(e).get$iterator(e),get$last$ax:e=>w.getInterceptor$ax(e).get$last(e),get$length$asx:e=>w.getInterceptor$asx(e).get$length(e),get$loadPaths$x:e=>w.getInterceptor$x(e).get$loadPaths(e),get$logger$x:e=>w.getInterceptor$x(e).get$logger(e),get$message$x:e=>w.getInterceptor$x(e).get$message(e),get$method$x:e=>w.getInterceptor$x(e).get$method(e),get$mtime$x:e=>w.getInterceptor$x(e).get$mtime(e),get$name$x:e=>w.getInterceptor$x(e).get$name(e),get$numeratorUnits$x:e=>w.getInterceptor$x(e).get$numeratorUnits(e),get$options$x:e=>w.getInterceptor$x(e).get$options(e),get$parent$z:e=>w.getInterceptor$z(e).get$parent(e),get$path$x:e=>w.getInterceptor$x(e).get$path(e),get$platform$x:e=>w.getInterceptor$x(e).get$platform(e),get$quietDeps$x:e=>w.getInterceptor$x(e).get$quietDeps(e),get$quotes$x:e=>w.getInterceptor$x(e).get$quotes(e),get$realpathSync$x:e=>w.getInterceptor$x(e).get$realpathSync(e),get$release$x:e=>w.getInterceptor$x(e).get$release(e),get$reversed$ax:e=>w.getInterceptor$ax(e).get$reversed(e),get$runtimeType$:e=>w.getInterceptor$(e).get$runtimeType(e),get$separator$x:e=>w.getInterceptor$x(e).get$separator(e),get$sign$in:e=>"number"==typeof e?e>0?1:e<0?-1:e:w.getInterceptor$in(e).get$sign(e),get$silenceDeprecations$x:e=>w.getInterceptor$x(e).get$silenceDeprecations(e),get$single$ax:e=>w.getInterceptor$ax(e).get$single(e),get$sourceMap$x:e=>w.getInterceptor$x(e).get$sourceMap(e),get$sourceMapIncludeSources$x:e=>w.getInterceptor$x(e).get$sourceMapIncludeSources(e),get$space$x:e=>w.getInterceptor$x(e).get$space(e),get$span$x:e=>w.getInterceptor$x(e).get$span(e),get$stderr$x:e=>w.getInterceptor$x(e).get$stderr(e),get$stdout$x:e=>w.getInterceptor$x(e).get$stdout(e),get$style$x:e=>w.getInterceptor$x(e).get$style(e),get$syntax$x:e=>w.getInterceptor$x(e).get$syntax(e),get$trace$z:e=>w.getInterceptor$z(e).get$trace(e),get$url$x:e=>w.getInterceptor$x(e).get$url(e),get$verbose$x:e=>w.getInterceptor$x(e).get$verbose(e),get$warn$x:e=>w.getInterceptor$x(e).get$warn(e),get$weight$x:e=>w.getInterceptor$x(e).get$weight(e),$add$ansx:(e,t)=>"number"==typeof e&&"number"==typeof t?e+t:w.getInterceptor$ansx(e).$add(e,t),$eq$:(e,t)=>null==e?null==t:"object"!=typeof e?null!=t&&e===t:w.getInterceptor$(e).$eq(e,t),$index$asx:(e,t)=>"number"==typeof t&&(Array.isArray(e)||"string"==typeof e||A.isJsIndexable(e,e[M.dispatchPropertyName]))&&t>>>0===t&&t<e.length?e[t]:w.getInterceptor$asx(e).$index(e,t),$indexSet$ax:(e,t,r)=>"number"==typeof t&&(Array.isArray(e)||A.isJsIndexable(e,e[M.dispatchPropertyName]))&&!(2&e.$flags)&&t>>>0===t&&t<e.length?e[t]=r:w.getInterceptor$ax(e).$indexSet(e,t,r),$set$2$x:(e,t,r)=>w.getInterceptor$x(e).$set$2(e,t,r),add$1$ax:(e,t)=>w.getInterceptor$ax(e).add$1(e,t),addAll$1$ax:(e,t)=>w.getInterceptor$ax(e).addAll$1(e,t),allMatches$1$s:(e,t)=>w.getInterceptor$s(e).allMatches$1(e,t),allMatches$2$s:(e,t,r)=>w.getInterceptor$s(e).allMatches$2(e,t,r),any$1$ax:(e,t)=>w.getInterceptor$ax(e).any$1(e,t),apply$2$x:(e,t,r)=>w.getInterceptor$x(e).apply$2(e,t,r),asImmutable$0$x:e=>w.getInterceptor$x(e).asImmutable$0(e),asMutable$0$x:e=>w.getInterceptor$x(e).asMutable$0(e),canonicalize$4$baseImporter$baseUrl$forImport$x:(e,t,r,n,i)=>w.getInterceptor$x(e).canonicalize$4$baseImporter$baseUrl$forImport(e,t,r,n,i),cast$1$0$ax:(e,t)=>w.getInterceptor$ax(e).cast$1$0(e,t),close$0$x:e=>w.getInterceptor$x(e).close$0(e),codeUnitAt$1$s:(e,t)=>w.getInterceptor$s(e).codeUnitAt$1(e,t),compareTo$1$ns:(e,t)=>w.getInterceptor$ns(e).compareTo$1(e,t),contains$1$asx:(e,t)=>w.getInterceptor$asx(e).contains$1(e,t),createInterface$1$x:(e,t)=>w.getInterceptor$x(e).createInterface$1(e,t),createRequire$1$x:(e,t)=>w.getInterceptor$x(e).createRequire$1(e,t),elementAt$1$ax:(e,t)=>w.getInterceptor$ax(e).elementAt$1(e,t),error$1$x:(e,t)=>w.getInterceptor$x(e).error$1(e,t),every$1$ax:(e,t)=>w.getInterceptor$ax(e).every$1(e,t),existsSync$1$x:(e,t)=>w.getInterceptor$x(e).existsSync$1(e,t),expand$1$1$ax:(e,t,r)=>w.getInterceptor$ax(e).expand$1$1(e,t,r),fillRange$3$ax:(e,t,r,n)=>w.getInterceptor$ax(e).fillRange$3(e,t,r,n),fold$2$ax:(e,t,r)=>w.getInterceptor$ax(e).fold$2(e,t,r),forEach$1$ax:(e,t)=>w.getInterceptor$ax(e).forEach$1(e,t),getRange$2$ax:(e,t,r)=>w.getInterceptor$ax(e).getRange$2(e,t,r),getTime$0$x:e=>w.getInterceptor$x(e).getTime$0(e),isDirectory$0$x:e=>w.getInterceptor$x(e).isDirectory$0(e),isFile$0$x:e=>w.getInterceptor$x(e).isFile$0(e),isSymbolicLink$0$x:e=>w.getInterceptor$x(e).isSymbolicLink$0(e),join$1$ax:(e,t)=>w.getInterceptor$ax(e).join$1(e,t),log$1$x:(e,t)=>w.getInterceptor$x(e).log$1(e,t),lstatSync$1$x:(e,t)=>w.getInterceptor$x(e).lstatSync$1(e,t),map$1$1$ax:(e,t,r)=>w.getInterceptor$ax(e).map$1$1(e,t,r),matchAsPrefix$2$s:(e,t,r)=>w.getInterceptor$s(e).matchAsPrefix$2(e,t,r),mkdirSync$1$x:(e,t)=>w.getInterceptor$x(e).mkdirSync$1(e,t),native$1$x:(e,t)=>w.getInterceptor$x(e).native$1(e,t),noSuchMethod$1$:(e,t)=>w.getInterceptor$(e).noSuchMethod$1(e,t),on$2$x:(e,t,r)=>w.getInterceptor$x(e).on$2(e,t,r),parse$0$z:e=>w.getInterceptor$z(e).parse$0(e),readFileSync$2$x:(e,t,r)=>w.getInterceptor$x(e).readFileSync$2(e,t,r),readdirSync$1$x:(e,t)=>w.getInterceptor$x(e).readdirSync$1(e,t),removeRange$2$ax:(e,t,r)=>w.getInterceptor$ax(e).removeRange$2(e,t,r),replaceFirst$2$s:(e,t,r)=>w.getInterceptor$s(e).replaceFirst$2(e,t,r),resolve$1$x:(e,t)=>w.getInterceptor$x(e).resolve$1(e,t),run$0$x:e=>w.getInterceptor$x(e).run$0(e),run$1$x:(e,t)=>w.getInterceptor$x(e).run$1(e,t),setRange$4$ax:(e,t,r,n,i)=>w.getInterceptor$ax(e).setRange$4(e,t,r,n,i),skip$1$ax:(e,t)=>w.getInterceptor$ax(e).skip$1(e,t),sort$1$ax:(e,t)=>w.getInterceptor$ax(e).sort$1(e,t),startsWith$1$s:(e,t)=>w.getInterceptor$s(e).startsWith$1(e,t),statSync$1$x:(e,t)=>w.getInterceptor$x(e).statSync$1(e,t),sublist$1$ax:(e,t)=>w.getInterceptor$ax(e).sublist$1(e,t),substring$2$s:(e,t,r)=>w.getInterceptor$s(e).substring$2(e,t,r),take$1$ax:(e,t)=>w.getInterceptor$ax(e).take$1(e,t),then$1$2$onError$x:(e,t,r,n)=>w.getInterceptor$x(e).then$1$2$onError(e,t,r,n),then$2$x:(e,t,r)=>w.getInterceptor$x(e).then$2(e,t,r),toArray$0$x:e=>w.getInterceptor$x(e).toArray$0(e),toList$0$ax:e=>w.getInterceptor$ax(e).toList$0(e),toString$0$:e=>w.getInterceptor$(e).toString$0(e),toString$1$color$:(e,t)=>w.getInterceptor$(e).toString$1$color(e,t),trim$0$s:e=>w.getInterceptor$s(e).trim$0(e),unlinkSync$1$x:(e,t)=>w.getInterceptor$x(e).unlinkSync$1(e,t),visitAtRootRule$1$x:(e,t)=>w.getInterceptor$x(e).visitAtRootRule$1(e,t),visitAtRule$1$x:(e,t)=>w.getInterceptor$x(e).visitAtRule$1(e,t),visitAttributeSelector$1$x:(e,t)=>w.getInterceptor$x(e).visitAttributeSelector$1(e,t),visitBinaryOperationExpression$1$x:(e,t)=>w.getInterceptor$x(e).visitBinaryOperationExpression$1(e,t),visitBooleanExpression$1$x:(e,t)=>w.getInterceptor$x(e).visitBooleanExpression$1(e,t),visitClassSelector$1$x:(e,t)=>w.getInterceptor$x(e).visitClassSelector$1(e,t),visitColorExpression$1$x:(e,t)=>w.getInterceptor$x(e).visitColorExpression$1(e,t),visitContentBlock$1$x:(e,t)=>w.getInterceptor$x(e).visitContentBlock$1(e,t),visitContentRule$1$x:(e,t)=>w.getInterceptor$x(e).visitContentRule$1(e,t),visitDebugRule$1$x:(e,t)=>w.getInterceptor$x(e).visitDebugRule$1(e,t),visitDeclaration$1$x:(e,t)=>w.getInterceptor$x(e).visitDeclaration$1(e,t),visitEachRule$1$x:(e,t)=>w.getInterceptor$x(e).visitEachRule$1(e,t),visitErrorRule$1$x:(e,t)=>w.getInterceptor$x(e).visitErrorRule$1(e,t),visitExtendRule$1$x:(e,t)=>w.getInterceptor$x(e).visitExtendRule$1(e,t),visitForRule$1$x:(e,t)=>w.getInterceptor$x(e).visitForRule$1(e,t),visitForwardRule$1$x:(e,t)=>w.getInterceptor$x(e).visitForwardRule$1(e,t),visitFunctionExpression$1$x:(e,t)=>w.getInterceptor$x(e).visitFunctionExpression$1(e,t),visitFunctionRule$1$x:(e,t)=>w.getInterceptor$x(e).visitFunctionRule$1(e,t),visitIDSelector$1$x:(e,t)=>w.getInterceptor$x(e).visitIDSelector$1(e,t),visitIfConditionFunction$1$x:(e,t)=>w.getInterceptor$x(e).visitIfConditionFunction$1(e,t),visitIfConditionNegation$1$x:(e,t)=>w.getInterceptor$x(e).visitIfConditionNegation$1(e,t),visitIfConditionOperation$1$x:(e,t)=>w.getInterceptor$x(e).visitIfConditionOperation$1(e,t),visitIfConditionParenthesized$1$x:(e,t)=>w.getInterceptor$x(e).visitIfConditionParenthesized$1(e,t),visitIfConditionRaw$1$x:(e,t)=>w.getInterceptor$x(e).visitIfConditionRaw$1(e,t),visitIfConditionSass$1$x:(e,t)=>w.getInterceptor$x(e).visitIfConditionSass$1(e,t),visitIfExpression$1$x:(e,t)=>w.getInterceptor$x(e).visitIfExpression$1(e,t),visitIfRule$1$x:(e,t)=>w.getInterceptor$x(e).visitIfRule$1(e,t),visitImportRule$1$x:(e,t)=>w.getInterceptor$x(e).visitImportRule$1(e,t),visitIncludeRule$1$x:(e,t)=>w.getInterceptor$x(e).visitIncludeRule$1(e,t),visitInterpolatedFunctionExpression$1$x:(e,t)=>w.getInterceptor$x(e).visitInterpolatedFunctionExpression$1(e,t),visitLegacyIfExpression$1$x:(e,t)=>w.getInterceptor$x(e).visitLegacyIfExpression$1(e,t),visitListExpression$1$x:(e,t)=>w.getInterceptor$x(e).visitListExpression$1(e,t),visitLoudComment$1$x:(e,t)=>w.getInterceptor$x(e).visitLoudComment$1(e,t),visitMapExpression$1$x:(e,t)=>w.getInterceptor$x(e).visitMapExpression$1(e,t),visitMediaRule$1$x:(e,t)=>w.getInterceptor$x(e).visitMediaRule$1(e,t),visitMixinRule$1$x:(e,t)=>w.getInterceptor$x(e).visitMixinRule$1(e,t),visitNullExpression$1$x:(e,t)=>w.getInterceptor$x(e).visitNullExpression$1(e,t),visitNumberExpression$1$x:(e,t)=>w.getInterceptor$x(e).visitNumberExpression$1(e,t),visitParentSelector$1$x:(e,t)=>w.getInterceptor$x(e).visitParentSelector$1(e,t),visitParenthesizedExpression$1$x:(e,t)=>w.getInterceptor$x(e).visitParenthesizedExpression$1(e,t),visitPlaceholderSelector$1$x:(e,t)=>w.getInterceptor$x(e).visitPlaceholderSelector$1(e,t),visitPseudoSelector$1$x:(e,t)=>w.getInterceptor$x(e).visitPseudoSelector$1(e,t),visitReturnRule$1$x:(e,t)=>w.getInterceptor$x(e).visitReturnRule$1(e,t),visitSelectorExpression$1$x:(e,t)=>w.getInterceptor$x(e).visitSelectorExpression$1(e,t),visitSilentComment$1$x:(e,t)=>w.getInterceptor$x(e).visitSilentComment$1(e,t),visitStringExpression$1$x:(e,t)=>w.getInterceptor$x(e).visitStringExpression$1(e,t),visitStyleRule$1$x:(e,t)=>w.getInterceptor$x(e).visitStyleRule$1(e,t),visitStylesheet$1$x:(e,t)=>w.getInterceptor$x(e).visitStylesheet$1(e,t),visitSupportsExpression$1$x:(e,t)=>w.getInterceptor$x(e).visitSupportsExpression$1(e,t),visitSupportsRule$1$x:(e,t)=>w.getInterceptor$x(e).visitSupportsRule$1(e,t),visitTypeSelector$1$x:(e,t)=>w.getInterceptor$x(e).visitTypeSelector$1(e,t),visitUnaryOperationExpression$1$x:(e,t)=>w.getInterceptor$x(e).visitUnaryOperationExpression$1(e,t),visitUniversalSelector$1$x:(e,t)=>w.getInterceptor$x(e).visitUniversalSelector$1(e,t),visitUseRule$1$x:(e,t)=>w.getInterceptor$x(e).visitUseRule$1(e,t),visitValueExpression$1$x:(e,t)=>w.getInterceptor$x(e).visitValueExpression$1(e,t),visitVariableDeclaration$1$x:(e,t)=>w.getInterceptor$x(e).visitVariableDeclaration$1(e,t),visitVariableExpression$1$x:(e,t)=>w.getInterceptor$x(e).visitVariableExpression$1(e,t),visitWarnRule$1$x:(e,t)=>w.getInterceptor$x(e).visitWarnRule$1(e,t),visitWhileRule$1$x:(e,t)=>w.getInterceptor$x(e).visitWhileRule$1(e,t),watch$2$x:(e,t,r)=>w.getInterceptor$x(e).watch$2(e,t,r),where$1$ax:(e,t)=>w.getInterceptor$ax(e).where$1(e,t),write$1$x:(e,t)=>w.getInterceptor$x(e).write$1(e,t),writeFileSync$2$x:(e,t,r)=>w.getInterceptor$x(e).writeFileSync$2(e,t,r),yield$0$x:e=>w.getInterceptor$x(e).yield$0(e),Interceptor:function(){},JSBool:function(){},JSNull:function(){},JavaScriptObject:function(){},LegacyJavaScriptObject:function(){},PlainJavaScriptObject:function(){},UnknownJavaScriptObject:function(){},JavaScriptFunction:function(){},JavaScriptBigInt:function(){},JavaScriptSymbol:function(){},JSArray:function(e){this.$ti=e},JSArraySafeToStringHook:function(){},JSUnmodifiableArray:function(e){this.$ti=e},ArrayIterator:function(e,t,r){var n=this;n._iterable=e,n._length=t,n._index=0,n._current=null,n.$ti=r},JSNumber:function(){},JSInt:function(){},JSNumNotInt:function(){},JSString:function(){}},A={JS_CONST:function(){},CastIterable_CastIterable:(e,t,r)=>D.EfficientLengthIterable_dynamic._is(e)?new A._EfficientLengthCastIterable(e,t._eval$1("@<0>")._bind$1(r)._eval$1("_EfficientLengthCastIterable<1,2>")):new A.CastIterable(e,t._eval$1("@<0>")._bind$1(r)._eval$1("CastIterable<1,2>")),LateError$fieldADI:e=>new A.LateError("Field '"+e+"' has been assigned during initialization."),LateError$fieldNI:e=>new A.LateError("Field '"+e+"' has not been initialized."),LateError$localNI:e=>new A.LateError("Local '"+e+"' has not been initialized."),LateError$fieldAI:e=>new A.LateError("Field '"+e+"' has already been initialized."),hexDigitValue(e){var t,r=48^e;return r<=9?r:97<=(t=32|e)&&t<=102?t-87:-1},SystemHash_combine:(e,t)=>(e=(e=e+t&536870911)+((524287&e)<<10)&536870911)^e>>>6,SystemHash_finish:e=>(e=e+((67108863&e)<<3)&536870911,(e^=e>>>11)+((16383&e)<<15)&536870911),checkNotNullable:(e,t,r)=>e,isToStringVisiting(e){var t,r;for(t=I._toStringVisiting.length,r=0;r<t;++r)if(e===I._toStringVisiting[r])return!0;return!1},SubListIterable$:(e,t,r,n)=>(A.RangeError_checkNotNegative(t,"start"),null!=r&&(A.RangeError_checkNotNegative(r,"end"),t>r&&A.throwExpression(A.RangeError$range(t,0,r,"start",null))),new A.SubListIterable(e,t,r,n._eval$1("SubListIterable<0>"))),MappedIterable_MappedIterable:(e,t,r,n)=>D.EfficientLengthIterable_dynamic._is(e)?new A.EfficientLengthMappedIterable(e,t,r._eval$1("@<0>")._bind$1(n)._eval$1("EfficientLengthMappedIterable<1,2>")):new A.MappedIterable(e,t,r._eval$1("@<0>")._bind$1(n)._eval$1("MappedIterable<1,2>")),TakeIterable_TakeIterable(e,t,r){var n="takeCount";return A.ArgumentError_checkNotNull(t,n),A.RangeError_checkNotNegative(t,n),D.EfficientLengthIterable_dynamic._is(e)?new A.EfficientLengthTakeIterable(e,t,r._eval$1("EfficientLengthTakeIterable<0>")):new A.TakeIterable(e,t,r._eval$1("TakeIterable<0>"))},SkipIterable_SkipIterable(e,t,r){var n="count";return D.EfficientLengthIterable_dynamic._is(e)?(A.ArgumentError_checkNotNull(t,n),A.RangeError_checkNotNegative(t,n),new A.EfficientLengthSkipIterable(e,t,r._eval$1("EfficientLengthSkipIterable<0>"))):(A.ArgumentError_checkNotNull(t,n),A.RangeError_checkNotNegative(t,n),new A.SkipIterable(e,t,r._eval$1("SkipIterable<0>")))},FollowedByIterable_FollowedByIterable$firstEfficient:(e,t,r)=>D.EfficientLengthIterable_dynamic._is(t)?new A.EfficientLengthFollowedByIterable(e,t,r._eval$1("EfficientLengthFollowedByIterable<0>")):new A.FollowedByIterable(e,t,r._eval$1("FollowedByIterable<0>")),IterableElementError_noElement:()=>new A.StateError("No element"),IterableElementError_tooMany:()=>new A.StateError("Too many elements"),IterableElementError_tooFew:()=>new A.StateError("Too few elements"),Sort__doSort(e,t,r,n){r-t<=32?A.Sort__insertionSort(e,t,r,n):A.Sort__dualPivotQuicksort(e,t,r,n)},Sort__insertionSort(e,t,r,n){var i,o,s,a,l;for(i=t+1,o=w.getInterceptor$asx(e);i<=r;++i){for(s=o.$index(e,i),a=i;a>t&&n.call$2(o.$index(e,a-1),s)>0;)l=a-1,o.$indexSet(e,a,o.$index(e,l)),a=l;o.$indexSet(e,a,s)}},Sort__dualPivotQuicksort(e,t,r,n){var i,o,s,a,l,c,u,d,h,p,m=C.JSInt_methods._tdivFast$1(r-t+1,6),_=t+m,g=r-m,f=C.JSInt_methods._tdivFast$1(t+r,2),v=f-m,b=f+m,y=w.getInterceptor$asx(e),$=y.$index(e,_),x=y.$index(e,v),S=y.$index(e,f),E=y.$index(e,b),I=y.$index(e,g);if(n.call$2($,x)>0&&(i=x,x=$,$=i),n.call$2(E,I)>0&&(i=I,I=E,E=i),n.call$2($,S)>0&&(i=S,S=$,$=i),n.call$2(x,S)>0&&(i=S,S=x,x=i),n.call$2($,E)>0&&(i=E,E=$,$=i),n.call$2(S,E)>0&&(i=E,E=S,S=i),n.call$2(x,I)>0&&(i=I,I=x,x=i),n.call$2(x,S)>0&&(i=S,S=x,x=i),n.call$2(E,I)>0&&(i=I,I=E,E=i),y.$indexSet(e,_,$),y.$indexSet(e,f,S),y.$indexSet(e,g,I),y.$indexSet(e,v,y.$index(e,t)),y.$indexSet(e,b,y.$index(e,r)),o=t+1,s=r-1,a=w.$eq$(n.call$2(x,E),0)){for(l=o;l<=s;++l)if(c=y.$index(e,l),0!==(u=n.call$2(c,x)))if(u<0)l!==o&&(y.$indexSet(e,l,y.$index(e,o)),y.$indexSet(e,o,c)),++o;else for(;;){if(!((u=n.call$2(y.$index(e,s),x))>0)){if(d=s-1,u<0){y.$indexSet(e,l,y.$index(e,o)),h=o+1,y.$indexSet(e,o,y.$index(e,s)),y.$indexSet(e,s,c),s=d,o=h;break}y.$indexSet(e,l,y.$index(e,s)),y.$indexSet(e,s,c),s=d;break}--s}}else for(l=o;l<=s;++l)if(c=y.$index(e,l),n.call$2(c,x)<0)l!==o&&(y.$indexSet(e,l,y.$index(e,o)),y.$indexSet(e,o,c)),++o;else if(n.call$2(c,E)>0)for(;;){if(n.call$2(y.$index(e,s),E)>0){if(--s<l)break;continue}d=s-1,n.call$2(y.$index(e,s),x)<0?(y.$indexSet(e,l,y.$index(e,o)),h=o+1,y.$indexSet(e,o,y.$index(e,s)),y.$indexSet(e,s,c),o=h):(y.$indexSet(e,l,y.$index(e,s)),y.$indexSet(e,s,c)),s=d;break}if(p=o-1,y.$indexSet(e,t,y.$index(e,p)),y.$indexSet(e,p,x),p=s+1,y.$indexSet(e,r,y.$index(e,p)),y.$indexSet(e,p,E),A.Sort__doSort(e,t,o-2,n),A.Sort__doSort(e,s+2,r,n),!a)if(o<_&&s>g){for(;w.$eq$(n.call$2(y.$index(e,o),x),0);)++o;for(;w.$eq$(n.call$2(y.$index(e,s),E),0);)--s;for(l=o;l<=s;++l)if(c=y.$index(e,l),0===n.call$2(c,x))l!==o&&(y.$indexSet(e,l,y.$index(e,o)),y.$indexSet(e,o,c)),++o;else if(0===n.call$2(c,E))for(;;){if(0===n.call$2(y.$index(e,s),E)){if(--s<l)break;continue}d=s-1,n.call$2(y.$index(e,s),x)<0?(y.$indexSet(e,l,y.$index(e,o)),h=o+1,y.$indexSet(e,o,y.$index(e,s)),y.$indexSet(e,s,c),o=h):(y.$indexSet(e,l,y.$index(e,s)),y.$indexSet(e,s,c)),s=d;break}A.Sort__doSort(e,o,s,n)}else A.Sort__doSort(e,o,s,n)},_CastIterableBase:function(){},CastIterator:function(e,t){this._source=e,this.$ti=t},CastIterable:function(e,t){this._source=e,this.$ti=t},_EfficientLengthCastIterable:function(e,t){this._source=e,this.$ti=t},_CastListBase:function(){},_CastListBase_sort_closure:function(e,t){this.$this=e,this.compare=t},CastList:function(e,t){this._source=e,this.$ti=t},CastSet:function(e,t,r){this._source=e,this._emptySet=t,this.$ti=r},CastMap:function(e,t){this._source=e,this.$ti=t},CastMap_forEach_closure:function(e,t){this.$this=e,this.f=t},CastMap_entries_closure:function(e){this.$this=e},LateError:function(e){this._message=e},CodeUnits:function(e){this._string=e},nullFuture_closure:function(){},SentinelValue:function(){},EfficientLengthIterable:function(){},ListIterable:function(){},SubListIterable:function(e,t,r,n){var i=this;i.__internal$_iterable=e,i._start=t,i._endOrLength=r,i.$ti=n},ListIterator:function(e,t,r){var n=this;n.__internal$_iterable=e,n.__internal$_length=t,n.__internal$_index=0,n.__internal$_current=null,n.$ti=r},MappedIterable:function(e,t,r){this.__internal$_iterable=e,this._f=t,this.$ti=r},EfficientLengthMappedIterable:function(e,t,r){this.__internal$_iterable=e,this._f=t,this.$ti=r},MappedIterator:function(e,t,r){var n=this;n.__internal$_current=null,n._iterator=e,n._f=t,n.$ti=r},MappedListIterable:function(e,t,r){this._source=e,this._f=t,this.$ti=r},WhereIterable:function(e,t,r){this.__internal$_iterable=e,this._f=t,this.$ti=r},WhereIterator:function(e,t){this._iterator=e,this._f=t},ExpandIterable:function(e,t,r){this.__internal$_iterable=e,this._f=t,this.$ti=r},ExpandIterator:function(e,t,r,n){var i=this;i._iterator=e,i._f=t,i._currentExpansion=r,i.__internal$_current=null,i.$ti=n},TakeIterable:function(e,t,r){this.__internal$_iterable=e,this._takeCount=t,this.$ti=r},EfficientLengthTakeIterable:function(e,t,r){this.__internal$_iterable=e,this._takeCount=t,this.$ti=r},TakeIterator:function(e,t,r){this._iterator=e,this._remaining=t,this.$ti=r},SkipIterable:function(e,t,r){this.__internal$_iterable=e,this._skipCount=t,this.$ti=r},EfficientLengthSkipIterable:function(e,t,r){this.__internal$_iterable=e,this._skipCount=t,this.$ti=r},SkipIterator:function(e,t){this._iterator=e,this._skipCount=t},SkipWhileIterable:function(e,t,r){this.__internal$_iterable=e,this._f=t,this.$ti=r},SkipWhileIterator:function(e,t){this._iterator=e,this._f=t,this._hasSkipped=!1},EmptyIterable:function(e){this.$ti=e},EmptyIterator:function(){},FollowedByIterable:function(e,t,r){this.__internal$_first=e,this._second=t,this.$ti=r},EfficientLengthFollowedByIterable:function(e,t,r){this.__internal$_first=e,this._second=t,this.$ti=r},FollowedByIterator:function(e,t){this._currentIterator=e,this._nextIterable=t},WhereTypeIterable:function(e,t){this._source=e,this.$ti=t},WhereTypeIterator:function(e,t){this._source=e,this.$ti=t},NonNullsIterable:function(e,t){this._source=e,this.$ti=t},NonNullsIterator:function(e){this._source=e,this.__internal$_current=null},FixedLengthListMixin:function(){},UnmodifiableListMixin:function(){},UnmodifiableListBase:function(){},ReversedListIterable:function(e,t){this._source=e,this.$ti=t},Symbol:function(e){this.__internal$_name=e},__CastListBase__CastIterableBase_ListMixin:function(){},ConstantMap_ConstantMap$from(e,t,r){for(var n,i,o,s,a,l,c=A.List_List$from(e.get$keys(e),!0,t),u=c.length,d=0;;){if(!(d<u)){n=!0;break}if("string"!=typeof(i=c[d])||"__proto__"===i){n=!1;break}++d}if(n){for(o={},s=0,d=0;d<c.length;c.length===u||(0,A.throwConcurrentModificationError)(c),++d,s=a)i=c[d],e.$index(0,i),a=s+1,o[i]=s;return(l=new A.ConstantStringMap(o,A.List_List$from(e.get$values(e),!0,r),t._eval$1("@<0>")._bind$1(r)._eval$1("ConstantStringMap<1,2>"))).$keys=c,l}return new A.ConstantMapView(A.LinkedHashMap_LinkedHashMap$from(e,t,r),t._eval$1("@<0>")._bind$1(r)._eval$1("ConstantMapView<1,2>"))},ConstantMap__throwUnmodifiable(){throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable Map"))},ConstantSet__throwUnmodifiable(){throw A.wrapException(A.UnsupportedError$("Cannot modify constant Set"))},instantiate1(e,t){var r=new A.Instantiation1(e,t._eval$1("Instantiation1<0>"));return r.Instantiation$1(e),r},unminifyOrTag(e){var t=M.mangledGlobalNames[e];return null!=t?t:e},isJsIndexable(e,t){var r;return null!=t&&null!=(r=t.x)?r:D.JavaScriptIndexingBehavior_dynamic._is(e)},S(e){if("string"==typeof e)return e;if("number"==typeof e){if(0!==e)return""+e}else{if(!0===e)return"true";if(!1===e)return"false";if(null==e)return"null"}return w.toString$0$(e)},JSInvocationMirror$:(e,t,r,n,i,o)=>new A.JSInvocationMirror(e,r,n,i,o),Primitives_objectHashCode(e){var t,r=I.Primitives__identityHashCodeProperty;return null==r&&(r=I.Primitives__identityHashCodeProperty=Symbol("identityHashCode")),null==(t=e[r])&&(t=1073741823*Math.random()|0,e[r]=t),t},Primitives_parseInt(e,t){var r,n,i,o,s,a=null,l=/^\s*[+-]?((0x[a-f0-9]+)|(\d+)|([a-z0-9]+))\s*$/i.exec(e);if(null==l)return a;if(r=l[3],null==t)return null!=r?parseInt(e,10):null!=l[2]?parseInt(e,16):a;if(t<2||t>36)throw A.wrapException(A.RangeError$range(t,2,36,"radix",a));if(10===t&&null!=r)return parseInt(e,10);if(t<10||null==r)for(n=t<=10?47+t:86+t,o=(i=l[1]).length,s=0;s<o;++s)if((32|i.charCodeAt(s))>n)return a;return parseInt(e,t)},Primitives_parseDouble(e){var t,r;return/^\s*[+-]?(?:Infinity|NaN|(?:\.\d+|\d+(?:\.\d*)?)(?:[eE][+-]?\d+)?)\s*$/.test(e)?(t=parseFloat(e),isNaN(t)?"NaN"===(r=C.JSString_methods.trim$0(e))||"+NaN"===r||"-NaN"===r?t:null:t):null},Primitives_objectTypeName(e){var t,r,n,i;if(e instanceof A.Object)return A._rtiToString(A.instanceType(e),null);if((t=w.getInterceptor$(e))===C.Interceptor_methods||t===C.JavaScriptObject_methods||D.UnknownJavaScriptObject._is(e)){if("Object"!==(r=C.C_JS_CONST(e))&&""!==r)return r;if("function"==typeof(n=e.constructor)&&"string"==typeof(i=n.name)&&"Object"!==i&&""!==i)return i}return A._rtiToString(A.instanceType(e),null)},Primitives_safeToString(e){var t,r,n;if(null==e||"number"==typeof e||A._isBool(e))return w.toString$0$(e);if("string"==typeof e)return JSON.stringify(e);if(e instanceof A.Closure)return e.toString$0(0);if(e instanceof A._Record)return e._toString$1(!0);for(t=I.$get$_safeToStringHooks(),r=0;r<1;++r)if(null!=(n=t[r].tryFormat$1(e)))return n;return"Instance of '"+A.Primitives_objectTypeName(e)+"'"},Primitives_currentUri:()=>n.location?n.location.href:null,Primitives__fromCharCodeApply(e){var t,r,n,i,o=e.length;if(o<=500)return String.fromCharCode.apply(null,e);for(t="",r=0;r<o;r=n)i=(n=r+500)<o?n:o,t+=String.fromCharCode.apply(null,e.slice(r,i));return t},Primitives_stringFromCodePoints(e){var t,r,n,i=A._setArrayType([],D.JSArray_int);for(t=e.length,r=0;r<e.length;e.length===t||(0,A.throwConcurrentModificationError)(e),++r){if(n=e[r],!A._isInt(n))throw A.wrapException(A.argumentErrorValue(n));if(n<=65535)i.push(n);else{if(!(n<=1114111))throw A.wrapException(A.argumentErrorValue(n));i.push(55296+(1023&C.JSInt_methods._shrOtherPositive$1(n-65536,10))),i.push(56320+(1023&n))}}return A.Primitives__fromCharCodeApply(i)},Primitives_stringFromCharCodes(e){var t,r,n;for(t=e.length,r=0;r<t;++r){if(n=e[r],!A._isInt(n))throw A.wrapException(A.argumentErrorValue(n));if(n<0)throw A.wrapException(A.argumentErrorValue(n));if(n>65535)return A.Primitives_stringFromCodePoints(e)}return A.Primitives__fromCharCodeApply(e)},Primitives_stringFromNativeUint8List(e,t,r){var n,i,o,s;if(r<=500&&0===t&&r===e.length)return String.fromCharCode.apply(null,e);for(n=t,i="";n<r;n=o)s=(o=n+500)<r?o:r,i+=String.fromCharCode.apply(null,e.subarray(n,s));return i},Primitives_stringFromCharCode(e){var t;if(0<=e){if(e<=65535)return String.fromCharCode(e);if(e<=1114111)return t=e-65536,String.fromCharCode((55296|C.JSInt_methods._shrOtherPositive$1(t,10))>>>0,1023&t|56320)}throw A.wrapException(A.RangeError$range(e,0,1114111,null,null))},Primitives_lazyAsJsDate:e=>(void 0===e.date&&(e.date=new Date(e._value)),e.date),Primitives_getYear:e=>A.Primitives_lazyAsJsDate(e).getFullYear()+0,Primitives_getMonth:e=>A.Primitives_lazyAsJsDate(e).getMonth()+1,Primitives_getDay:e=>A.Primitives_lazyAsJsDate(e).getDate()+0,Primitives_getHours:e=>A.Primitives_lazyAsJsDate(e).getHours()+0,Primitives_getMinutes:e=>A.Primitives_lazyAsJsDate(e).getMinutes()+0,Primitives_getSeconds:e=>A.Primitives_lazyAsJsDate(e).getSeconds()+0,Primitives_getMilliseconds:e=>A.Primitives_lazyAsJsDate(e).getMilliseconds()+0,Primitives_functionNoSuchMethod(e,t,r){var n,i,o={argumentCount:0};return n=[],i=[],o.argumentCount=t.length,C.JSArray_methods.addAll$1(n,t),o.names="",null!=r&&0!==r.__js_helper$_length&&r.forEach$1(0,new A.Primitives_functionNoSuchMethod_closure(o,i,n)),w.noSuchMethod$1$(e,new A.JSInvocationMirror(C.Symbol_call,0,n,i,0))},Primitives_applyFunction(e,t,r){var n,i;if(!!Array.isArray(t)&&(null==r||0===r.__js_helper$_length)){if(0===(n=t.length)){if(e.call$0)return e.call$0()}else if(1===n){if(e.call$1)return e.call$1(t[0])}else if(2===n){if(e.call$2)return e.call$2(t[0],t[1])}else if(3===n){if(e.call$3)return e.call$3(t[0],t[1],t[2])}else if(4===n){if(e.call$4)return e.call$4(t[0],t[1],t[2],t[3])}else if(5===n&&e.call$5)return e.call$5(t[0],t[1],t[2],t[3],t[4]);if(null!=(i=e["call$"+n]))return i.apply(e,t)}return A.Primitives__generalApplyFunction(e,t,r)},Primitives__generalApplyFunction(e,t,r){var n,i,o,s,a,l,c,u,d,h,p,m,_,g,f;if((i=(n=Array.isArray(t)?t:A.List_List$_of(t,D.dynamic)).length)<(o=e.$requiredArgCount))return A.Primitives_functionNoSuchMethod(e,n,r);if(l=(a=null==(s=e.$defaultValues))?null:s(),"string"==typeof(u=(c=w.getInterceptor$(e))["call*"])&&(u=c[u]),a)return null!=r&&0!==r.__js_helper$_length?A.Primitives_functionNoSuchMethod(e,n,r):i===o?u.apply(e,n):A.Primitives_functionNoSuchMethod(e,n,r);if(Array.isArray(l))return null!=r&&0!==r.__js_helper$_length?A.Primitives_functionNoSuchMethod(e,n,r):i>(d=o+l.length)?A.Primitives_functionNoSuchMethod(e,n,null):(i<d&&(h=l.slice(i-o),n===t&&(n=A.List_List$_of(n,D.dynamic)),C.JSArray_methods.addAll$1(n,h)),u.apply(e,n));if(i>o)return A.Primitives_functionNoSuchMethod(e,n,r);if(n===t&&(n=A.List_List$_of(n,D.dynamic)),p=Object.keys(l),null==r)for(a=p.length,m=0;m<p.length;p.length===a||(0,A.throwConcurrentModificationError)(p),++m){if(_=l[p[m]],C.C__Required===_)return A.Primitives_functionNoSuchMethod(e,n,r);C.JSArray_methods.add$1(n,_)}else{for(a=p.length,g=0,m=0;m<p.length;p.length===a||(0,A.throwConcurrentModificationError)(p),++m)if(f=p[m],r.containsKey$1(f))++g,C.JSArray_methods.add$1(n,r.$index(0,f));else{if(_=l[f],C.C__Required===_)return A.Primitives_functionNoSuchMethod(e,n,r);C.JSArray_methods.add$1(n,_)}if(g!==r.__js_helper$_length)return A.Primitives_functionNoSuchMethod(e,n,r)}return u.apply(e,n)},Primitives_extractStackTrace(e){var t=e.$thrownJsError;return null==t?null:A.getTraceFromException(t)},Primitives_trySetStackTrace(e,t){var r;null==e.$thrownJsError&&(r=new Error,A.initializeExceptionWrapper(e,r),e.$thrownJsError=r,r.stack=t.toString$0(0))},diagnoseIndexError(e,t){var r,n="index";return A._isInt(t)?(r=w.get$length$asx(e),t<0||t>=r?A.IndexError$withLength(t,r,e,null,n):A.RangeError$value(t,n,null)):new A.ArgumentError(!0,t,n,null)},diagnoseRangeError:(e,t,r)=>e<0||e>r?A.RangeError$range(e,0,r,"start",null):null!=t&&(t<e||t>r)?A.RangeError$range(t,e,r,"end",null):new A.ArgumentError(!0,t,"end",null),argumentErrorValue:e=>new A.ArgumentError(!0,e,null,null),wrapException:e=>A.initializeExceptionWrapper(e,new Error),initializeExceptionWrapper(e,t){var r;return null==e&&(e=new A.TypeError),t.dartException=e,r=A.toStringWrapper,"defineProperty"in Object?(Object.defineProperty(t,"message",{get:r}),t.name=""):t.toString=r,t},toStringWrapper(){return w.toString$0$(this.dartException)},throwExpression(e,t){throw A.initializeExceptionWrapper(e,null==t?new Error:t)},throwUnsupportedOperation(e,t,r){var n;null==t&&(t=0),null==r&&(r=0),n=Error(),A.throwExpression(A._diagnoseUnsupportedOperation(e,t,r),n)},_diagnoseUnsupportedOperation(e,t,r){var n,i,o,s,a,l,c,u,d;return"string"==typeof t?n=t:((s=t)>(o=(i="[]=;add;removeWhere;retainWhere;removeRange;setRange;setInt8;setInt16;setInt32;setUint8;setUint16;setUint32;setFloat32;setFloat64".split(";")).length)&&(r=s/o|0,s%=o),n=i[s]),a="string"==typeof r?r:"modify;remove from;add to".split(";")[r],l=D.List_dynamic._is(e)?"list":"ByteData",u="a ",4&(c=0|e.$flags)?d="constant ":2&c?(d="unmodifiable ",u="an "):d=1&c?"fixed-length ":"",new A.UnsupportedError("'"+n+"': Cannot "+a+" "+u+d+l)},throwConcurrentModificationError(e){throw A.wrapException(A.ConcurrentModificationError$(e))},TypeErrorDecoder_extractPattern(e){var t,r,n,i,o,s;return null==(t=(e=A.quoteStringForRegExp(e.replace(String({}),"$receiver$"))).match(/\\\$[a-zA-Z]+\\\$/g))&&(t=A._setArrayType([],D.JSArray_String)),r=t.indexOf("\\$arguments\\$"),n=t.indexOf("\\$argumentsExpr\\$"),i=t.indexOf("\\$expr\\$"),o=t.indexOf("\\$method\\$"),s=t.indexOf("\\$receiver\\$"),new A.TypeErrorDecoder(e.replace(new RegExp("\\\\\\$arguments\\\\\\$","g"),"((?:x|[^x])*)").replace(new RegExp("\\\\\\$argumentsExpr\\\\\\$","g"),"((?:x|[^x])*)").replace(new RegExp("\\\\\\$expr\\\\\\$","g"),"((?:x|[^x])*)").replace(new RegExp("\\\\\\$method\\\\\\$","g"),"((?:x|[^x])*)").replace(new RegExp("\\\\\\$receiver\\\\\\$","g"),"((?:x|[^x])*)"),r,n,i,o,s)},TypeErrorDecoder_provokeCallErrorOn:e=>function(e){try{e.$method$("$arguments$")}catch(e){return e.message}}(e),TypeErrorDecoder_provokePropertyErrorOn:e=>function(e){try{e.$method$}catch(e){return e.message}}(e),JsNoSuchMethodError$(e,t){var r=null==t,n=r?null:t.method;return new A.JsNoSuchMethodError(e,n,r?null:t.receiver)},unwrapException:e=>null==e?new A.NullThrownFromJavaScriptException(e):e instanceof A.ExceptionAndStackTrace?A.saveStackTrace(e,e.dartException):"object"!=typeof e?e:"dartException"in e?A.saveStackTrace(e,e.dartException):A._unwrapNonDartException(e),saveStackTrace:(e,t)=>(D.Error._is(t)&&null==t.$thrownJsError&&(t.$thrownJsError=e),t),_unwrapNonDartException(e){var t,r,n,i,o,s,a,l,c,u,d,h,p;if(!("message"in e))return e;if(t=e.message,"number"in e&&"number"==typeof e.number&&(n=65535&(r=e.number),10==(8191&C.JSInt_methods._shrOtherPositive$1(r,16))))switch(n){case 438:return A.saveStackTrace(e,A.JsNoSuchMethodError$(A.S(t)+" (Error "+n+")",null));case 445:case 5007:return A.S(t),A.saveStackTrace(e,new A.NullError)}return e instanceof TypeError?(i=I.$get$TypeErrorDecoder_noSuchMethodPattern(),o=I.$get$TypeErrorDecoder_notClosurePattern(),s=I.$get$TypeErrorDecoder_nullCallPattern(),a=I.$get$TypeErrorDecoder_nullLiteralCallPattern(),l=I.$get$TypeErrorDecoder_undefinedCallPattern(),c=I.$get$TypeErrorDecoder_undefinedLiteralCallPattern(),u=I.$get$TypeErrorDecoder_nullPropertyPattern(),I.$get$TypeErrorDecoder_nullLiteralPropertyPattern(),d=I.$get$TypeErrorDecoder_undefinedPropertyPattern(),h=I.$get$TypeErrorDecoder_undefinedLiteralPropertyPattern(),null!=(p=i.matchTypeError$1(t))?A.saveStackTrace(e,A.JsNoSuchMethodError$(t,p)):null!=(p=o.matchTypeError$1(t))?(p.method="call",A.saveStackTrace(e,A.JsNoSuchMethodError$(t,p))):null!=s.matchTypeError$1(t)||null!=a.matchTypeError$1(t)||null!=l.matchTypeError$1(t)||null!=c.matchTypeError$1(t)||null!=u.matchTypeError$1(t)||null!=a.matchTypeError$1(t)||null!=d.matchTypeError$1(t)||null!=h.matchTypeError$1(t)?A.saveStackTrace(e,new A.NullError):A.saveStackTrace(e,new A.UnknownJsTypeError("string"==typeof t?t:""))):e instanceof RangeError?"string"==typeof t&&-1!==t.indexOf("call stack")?new A.StackOverflowError:(t=function(e){try{return String(e)}catch(e){}return null}(e),A.saveStackTrace(e,new A.ArgumentError(!1,null,null,"string"==typeof t?t.replace(/^RangeError:\s*/,""):t))):"function"==typeof InternalError&&e instanceof InternalError&&"string"==typeof t&&"too much recursion"===t?new A.StackOverflowError:e},getTraceFromException(e){var t;return e instanceof A.ExceptionAndStackTrace?e.stackTrace:null==e?new A._StackTrace(e):(null!=(t=e.$cachedTrace)||(t=new A._StackTrace(e),"object"==typeof e&&(e.$cachedTrace=t)),t)},objectHashCode:e=>null==e?w.get$hashCode$(e):"object"==typeof e?A.Primitives_objectHashCode(e):w.get$hashCode$(e),constantHashCode:e=>"number"==typeof e?C.JSNumber_methods.get$hashCode(e):e instanceof A._Type?A.Primitives_objectHashCode(e):e instanceof A._Record?e.get$hashCode(e):e instanceof A.Symbol?e.get$hashCode(0):A.objectHashCode(e),fillLiteralMap(e,t){var r,n,i,o=e.length;for(r=0;r<o;r=i)i=(n=r+1)+1,t.$indexSet(0,e[r],e[n]);return t},fillLiteralSet(e,t){var r,n=e.length;for(r=0;r<n;++r)t.add$1(0,e[r]);return t},_invokeClosure(e,t,r,n,i,o){switch(t){case 0:return e.call$0();case 1:return e.call$1(r);case 2:return e.call$2(r,n);case 3:return e.call$3(r,n,i);case 4:return e.call$4(r,n,i,o)}throw A.wrapException(new A._Exception("Unsupported number of arguments for wrapped closure"))},convertDartClosureToJS(e,t){var r;return null==e?null:((r=e.$identity)||(r=A.convertDartClosureToJSUncached(e,t),e.$identity=r),r)},convertDartClosureToJSUncached(e,t){var r;switch(t){case 0:r=e.call$0;break;case 1:r=e.call$1;break;case 2:r=e.call$2;break;case 3:r=e.call$3;break;case 4:r=e.call$4;break;default:r=null}return null!=r?r.bind(e):function(e,t,r){return function(n,i,o,s){return r(e,t,n,i,o,s)}}(e,t,A._invokeClosure)},Closure_fromTearOff(e){var t,r,n,i,o,s,a,l,c,u=e.co,d=e.iS,h=e.iI,p=e.nDA,m=e.aI,_=e.fs,g=e.cs,f=_[0],v=g[0],b=u[f],y=e.fT;for(y.toString,(t=d?Object.create((new A.StaticClosure).constructor.prototype):Object.create(new A.BoundClosure(null,null).constructor.prototype)).$initialize=t.constructor,r=d?function(){this.$initialize()}:function(e,t){this.$initialize(e,t)},t.constructor=r,r.prototype=t,t.$_name=f,t.$_target=b,(n=!d)?i=A.Closure_forwardCallTo(f,b,h,p):(t.$static_name=f,i=b),t.$signature=A.Closure__computeSignatureFunction(y,d,h),t[v]=i,o=i,s=1;s<_.length;++s)"string"==typeof(a=_[s])?(l=a,a=u[a]):l="",null!=(c=g[s])&&(n&&(a=A.Closure_forwardCallTo(l,a,h,p)),t[c]=a),s===m&&(o=a);return t["call*"]=o,t.$requiredArgCount=e.rC,t.$defaultValues=e.dV,r},Closure__computeSignatureFunction(e,t,r){if("number"==typeof e)return e;if("string"==typeof e){if(t)throw A.wrapException("Cannot compute signature for static tearoff.");return n=e,i=A.BoundClosure_evalRecipe,function(){return i(this,n)}}var n,i;throw A.wrapException("Error in functionType of tearoff")},Closure_cspForwardCall(e,t,r,n){var i,o,s=A.BoundClosure_receiverOf;switch(t?-1:e){case 0:return i=r,o=s,function(){return o(this)[i]()};case 1:return function(e,t){return function(r){return t(this)[e](r)}}(r,s);case 2:return function(e,t){return function(r,n){return t(this)[e](r,n)}}(r,s);case 3:return function(e,t){return function(r,n,i){return t(this)[e](r,n,i)}}(r,s);case 4:return function(e,t){return function(r,n,i,o){return t(this)[e](r,n,i,o)}}(r,s);case 5:return function(e,t){return function(r,n,i,o,s){return t(this)[e](r,n,i,o,s)}}(r,s);default:return function(e,t){return function(){return e.apply(t(this),arguments)}}(n,s)}},Closure_forwardCallTo:(e,t,r,n)=>r?A.Closure_forwardInterceptedCallTo(e,t,n):A.Closure_cspForwardCall(t.length,n,e,t),Closure_cspForwardInterceptedCall(e,t,r,n){var i,o,s,a=A.BoundClosure_receiverOf,l=A.BoundClosure_interceptorOf;switch(t?-1:e){case 0:throw A.wrapException(new A.RuntimeError("Intercepted function with no arguments."));case 1:return i=r,o=l,s=a,function(){return o(this)[i](s(this))};case 2:return function(e,t,r){return function(n){return t(this)[e](r(this),n)}}(r,l,a);case 3:return function(e,t,r){return function(n,i){return t(this)[e](r(this),n,i)}}(r,l,a);case 4:return function(e,t,r){return function(n,i,o){return t(this)[e](r(this),n,i,o)}}(r,l,a);case 5:return function(e,t,r){return function(n,i,o,s){return t(this)[e](r(this),n,i,o,s)}}(r,l,a);case 6:return function(e,t,r){return function(n,i,o,s,a){return t(this)[e](r(this),n,i,o,s,a)}}(r,l,a);default:return function(e,t,r){return function(){var n=[r(this)];return Array.prototype.push.apply(n,arguments),e.apply(t(this),n)}}(n,l,a)}},Closure_forwardInterceptedCallTo(e,t,r){var n;return null==I.BoundClosure__interceptorFieldNameCache&&(I.BoundClosure__interceptorFieldNameCache=A.BoundClosure__computeFieldNamed("interceptor")),null==I.BoundClosure__receiverFieldNameCache&&(I.BoundClosure__receiverFieldNameCache=A.BoundClosure__computeFieldNamed("receiver")),n=t.length,A.Closure_cspForwardInterceptedCall(n,r,e,t)},closureFromTearOff:e=>A.Closure_fromTearOff(e),BoundClosure_evalRecipe:(e,t)=>A._Universe_evalInEnvironment(M.typeUniverse,A.instanceType(e._receiver),t),BoundClosure_receiverOf:e=>e._receiver,BoundClosure_interceptorOf:e=>e._interceptor,BoundClosure__computeFieldNamed(e){var t,r,n,i=new A.BoundClosure("receiver","interceptor"),o=Object.getOwnPropertyNames(i);for(o.$flags=1,o=(t=o).length,r=0;r<o;++r)if(i[n=t[r]]===e)return n;throw A.wrapException(A.ArgumentError$("Field name "+e+" not found.",null))},getIsolateAffinityTag:e=>M.getIsolateTag(e),defineProperty(e,t,r){Object.defineProperty(e,t,{value:r,enumerable:!1,writable:!0,configurable:!0})},lookupAndCacheInterceptor(e){var t,r,n,i,o,s=I.getTagFunction.call$1(e),a=I.dispatchRecordsForInstanceTags[s];if(null!=a)return Object.defineProperty(e,M.dispatchPropertyName,{value:a,enumerable:!1,writable:!0,configurable:!0}),a.i;if(null!=(t=I.interceptorsForUncacheableTags[s]))return t;if(null==(r=M.interceptorsByTag[s])&&null!=(n=I.alternateTagFunction.call$2(e,s))){if(null!=(a=I.dispatchRecordsForInstanceTags[n]))return Object.defineProperty(e,M.dispatchPropertyName,{value:a,enumerable:!1,writable:!0,configurable:!0}),a.i;if(null!=(t=I.interceptorsForUncacheableTags[n]))return t;r=M.interceptorsByTag[n],s=n}if(null==r)return null;if(t=r.prototype,"!"===(i=s[0]))return a=A.makeLeafDispatchRecord(t),I.dispatchRecordsForInstanceTags[s]=a,Object.defineProperty(e,M.dispatchPropertyName,{value:a,enumerable:!1,writable:!0,configurable:!0}),a.i;if("~"===i)return I.interceptorsForUncacheableTags[s]=t,t;if("-"===i)return o=A.makeLeafDispatchRecord(t),Object.defineProperty(Object.getPrototypeOf(e),M.dispatchPropertyName,{value:o,enumerable:!1,writable:!0,configurable:!0}),o.i;if("+"===i)return A.patchInteriorProto(e,t);if("*"===i)throw A.wrapException(A.UnimplementedError$(s));return!0===M.leafTags[s]?(o=A.makeLeafDispatchRecord(t),Object.defineProperty(Object.getPrototypeOf(e),M.dispatchPropertyName,{value:o,enumerable:!1,writable:!0,configurable:!0}),o.i):A.patchInteriorProto(e,t)},patchInteriorProto(e,t){var r=Object.getPrototypeOf(e);return Object.defineProperty(r,M.dispatchPropertyName,{value:w.makeDispatchRecord(t,r,null,null),enumerable:!1,writable:!0,configurable:!0}),t},makeLeafDispatchRecord:e=>w.makeDispatchRecord(e,!1,null,!!e.$isJavaScriptIndexingBehavior),makeDefaultDispatchRecord(e,t,r){var n=t.prototype;return!0===M.leafTags[e]?A.makeLeafDispatchRecord(n):w.makeDispatchRecord(n,r,null,null)},initNativeDispatch(){!0!==I.initNativeDispatchFlag&&(I.initNativeDispatchFlag=!0,A.initNativeDispatchContinue())},initNativeDispatchContinue(){var e,t,r,n,i,o,s,a;if(I.dispatchRecordsForInstanceTags=Object.create(null),I.interceptorsForUncacheableTags=Object.create(null),A.initHooks(),e=M.interceptorsByTag,t=Object.getOwnPropertyNames(e),"undefined"!=typeof window)for(r=function(){},n=0;n<t.length;++n)i=t[n],null!=(o=I.prototypeForTagFunction.call$1(i))&&null!=(s=A.makeDefaultDispatchRecord(i,e[i],o))&&(Object.defineProperty(o,M.dispatchPropertyName,{value:s,enumerable:!1,writable:!0,configurable:!0}),r.prototype=o);for(n=0;n<t.length;++n)i=t[n],/^[A-Za-z_]/.test(i)&&(a=e[i],e["!"+i]=a,e["~"+i]=a,e["-"+i]=a,e["+"+i]=a,e["*"+i]=a)},initHooks(){var e,t,r,n,i,o,s=C.C_JS_CONST0();if(s=A.applyHooksTransformer(C.C_JS_CONST1,A.applyHooksTransformer(C.C_JS_CONST2,A.applyHooksTransformer(C.C_JS_CONST3,A.applyHooksTransformer(C.C_JS_CONST3,A.applyHooksTransformer(C.C_JS_CONST4,A.applyHooksTransformer(C.C_JS_CONST5,A.applyHooksTransformer(C.C_JS_CONST6(C.C_JS_CONST),s))))))),"undefined"!=typeof dartNativeDispatchHooksTransformer&&("function"==typeof(e=dartNativeDispatchHooksTransformer)&&(e=[e]),Array.isArray(e)))for(t=0;t<e.length;++t)"function"==typeof(r=e[t])&&(s=r(s)||s);n=s.getTag,i=s.getUnknownTag,o=s.prototypeForTag,I.getTagFunction=new A.initHooks_closure(n),I.alternateTagFunction=new A.initHooks_closure0(i),I.prototypeForTagFunction=new A.initHooks_closure1(o)},applyHooksTransformer:(e,t)=>e(t)||t,_RecordN__equalValues(e,t){var r;for(r=0;r<e.length;++r)if(!w.$eq$(e[r],t[r]))return!1;return!0},createRecordTypePredicate(e,t){var r=t.length,n=M.rttc[r+";"+e];return null==n?null:0===r?n:r===n.length?n.apply(null,t):n(t)},JSSyntaxRegExp_makeNative(e,t,r,n,i,o){var s=function(e,t){try{return new RegExp(e,t)}catch(e){return e}}(e,(t?"m":"")+(r?"":"i")+(n?"u":"")+(i?"s":"")+o);if(s instanceof RegExp)return s;throw A.wrapException(A.FormatException$("Illegal RegExp pattern ("+String(s)+")",e,null))},stringContainsUnchecked(e,t,r){var n;return"string"==typeof t?e.indexOf(t,r)>=0:t instanceof A.JSSyntaxRegExp?(n=C.JSString_methods.substring$1(e,r),t._nativeRegExp.test(n)):!w.allMatches$1$s(t,C.JSString_methods.substring$1(e,r)).get$isEmpty(0)},escapeReplacement:e=>e.indexOf("$",0)>=0?e.replace(/\$/g,"$$$$"):e,stringReplaceFirstRE(e,t,r,n){var i=t._execGlobal$2(e,n);return null==i?e:A.stringReplaceRangeUnchecked(e,i._match.index,i.get$end(0),r)},quoteStringForRegExp:e=>/[[\]{}()*+?.\\^$|]/.test(e)?e.replace(/[[\]{}()*+?.\\^$|]/g,"\\$&"):e,stringReplaceAllUnchecked(e,t,r){var n;return"string"==typeof t?A.stringReplaceAllUncheckedString(e,t,r):t instanceof A.JSSyntaxRegExp?((n=t.get$_nativeGlobalVersion()).lastIndex=0,e.replace(n,A.escapeReplacement(r))):A.stringReplaceAllGeneral(e,t,r)},stringReplaceAllGeneral(e,t,r){var n,i,o,s;for(n=(n=w.allMatches$1$s(t,e)).get$iterator(n),i=0,o="";n.moveNext$0();)s=n.get$current(n),o=o+e.substring(i,s.get$start(s))+r,i=s.get$end(s);return(n=o+e.substring(i)).charCodeAt(0),n},stringReplaceAllUncheckedString(e,t,r){var n,i,o;if(""===t){if(""===e)return r;for(n=e.length,i=r,o=0;o<n;++o)i=i+e[o]+r;return i.charCodeAt(0),i}return e.indexOf(t,0)<0?e:e.length<500||r.indexOf("$",0)>=0?e.split(t).join(r):e.replace(new RegExp(A.quoteStringForRegExp(t),"g"),A.escapeReplacement(r))},stringReplaceFirstUnchecked(e,t,r,n){var i,o,s,a;return"string"==typeof t?(i=e.indexOf(t,n))<0?e:A.stringReplaceRangeUnchecked(e,i,i+t.length,r):t instanceof A.JSSyntaxRegExp?0===n?e.replace(t._nativeRegExp,A.escapeReplacement(r)):A.stringReplaceFirstRE(e,t,r,n):(s=(o=w.allMatches$2$s(t,e,n)).get$iterator(o)).moveNext$0()?(a=s.get$current(s),C.JSString_methods.replaceRange$3(e,a.get$start(a),a.get$end(a),r)):e},stringReplaceRangeUnchecked:(e,t,r,n)=>e.substring(0,t)+n+e.substring(r),_Record_1:function(e){this._0=e},_Record_2:function(e,t){this._0=e,this._1=t},_Record_2_forImport:function(e,t){this._0=e,this._1=t},_Record_2_imports_modules:function(e,t){this._0=e,this._1=t},_Record_2_loadedUrls_stylesheet:function(e,t){this._0=e,this._1=t},_Record_2_sourceMap:function(e,t){this._0=e,this._1=t},_Record_3:function(e,t,r){this._0=e,this._1=t,this._2=r},_Record_3_deprecation_message_span:function(e,t,r){this._0=e,this._1=t,this._2=r},_Record_3_forImport:function(e,t,r){this._0=e,this._1=t,this._2=r},_Record_3_importer_isDependency:function(e,t,r){this._0=e,this._1=t,this._2=r},_Record_3_originalUrl:function(e,t,r){this._0=e,this._1=t,this._2=r},_Record_5_named_namedNodes_positional_positionalNodes_separator:function(e){this._values=e},ConstantMapView:function(e,t){this._map=e,this.$ti=t},ConstantMap:function(){},ConstantStringMap:function(e,t,r){this._jsIndex=e,this._values=t,this.$ti=r},_KeysOrValues:function(e,t){this._elements=e,this.$ti=t},_KeysOrValuesOrElementsIterator:function(e,t,r){var n=this;n._elements=e,n.__js_helper$_length=t,n.__js_helper$_index=0,n.__js_helper$_current=null,n.$ti=r},ConstantSet:function(){},ConstantStringSet:function(e,t,r){this._jsIndex=e,this.__js_helper$_length=t,this.$ti=r},GeneralConstantSet:function(e,t){this._elements=e,this.$ti=t},Instantiation:function(){},Instantiation1:function(e,t){this._genericClosure=e,this.$ti=t},JSInvocationMirror:function(e,t,r,n,i){var o=this;o.__js_helper$_memberName=e,o.__js_helper$_kind=t,o._arguments=r,o._namedArgumentNames=n,o._typeArgumentCount=i},Primitives_functionNoSuchMethod_closure:function(e,t,r){this._box_0=e,this.namedArgumentList=t,this.$arguments=r},SafeToStringHook:function(){},TypeErrorDecoder:function(e,t,r,n,i,o){var s=this;s._pattern=e,s._arguments=t,s._argumentsExpr=r,s._expr=n,s._method=i,s._receiver=o},NullError:function(){},JsNoSuchMethodError:function(e,t,r){this.__js_helper$_message=e,this._method=t,this._receiver=r},UnknownJsTypeError:function(e){this.__js_helper$_message=e},NullThrownFromJavaScriptException:function(e){this._irritant=e},ExceptionAndStackTrace:function(e,t){this.dartException=e,this.stackTrace=t},_StackTrace:function(e){this._exception=e,this._trace=null},Closure:function(){},Closure0Args:function(){},Closure2Args:function(){},TearOffClosure:function(){},StaticClosure:function(){},BoundClosure:function(e,t){this._receiver=e,this._interceptor=t},RuntimeError:function(e){this.message=e},_Required:function(){},JsLinkedHashMap:function(e){var t=this;t.__js_helper$_length=0,t._last=t._first=t.__js_helper$_rest=t._nums=t._strings=null,t._modifications=0,t.$ti=e},JsLinkedHashMap_addAll_closure:function(e){this.$this=e},LinkedHashMapCell:function(e,t){var r=this;r.hashMapCellKey=e,r.hashMapCellValue=t,r._previous=r._next=null},LinkedHashMapKeysIterable:function(e,t){this.__js_helper$_map=e,this.$ti=t},LinkedHashMapKeyIterator:function(e,t,r){var n=this;n.__js_helper$_map=e,n._modifications=t,n._cell=r,n.__js_helper$_current=null},LinkedHashMapValuesIterable:function(e,t){this.__js_helper$_map=e,this.$ti=t},LinkedHashMapValueIterator:function(e,t,r){var n=this;n.__js_helper$_map=e,n._modifications=t,n._cell=r,n.__js_helper$_current=null},LinkedHashMapEntriesIterable:function(e,t){this.__js_helper$_map=e,this.$ti=t},LinkedHashMapEntryIterator:function(e,t,r,n){var i=this;i.__js_helper$_map=e,i._modifications=t,i._cell=r,i.__js_helper$_current=null,i.$ti=n},JsIdentityLinkedHashMap:function(e){var t=this;t.__js_helper$_length=0,t._last=t._first=t.__js_helper$_rest=t._nums=t._strings=null,t._modifications=0,t.$ti=e},JsConstantLinkedHashMap:function(e){var t=this;t.__js_helper$_length=0,t._last=t._first=t.__js_helper$_rest=t._nums=t._strings=null,t._modifications=0,t.$ti=e},initHooks_closure:function(e){this.getTag=e},initHooks_closure0:function(e){this.getUnknownTag=e},initHooks_closure1:function(e){this.prototypeForTag=e},_Record:function(){},_Record2:function(){},_Record1:function(){},_Record3:function(){},_RecordN:function(){},JSSyntaxRegExp:function(e,t){var r=this;r.pattern=e,r._nativeRegExp=t,r._hasCapturesCache=r._nativeAnchoredRegExp=r._nativeGlobalRegExp=null},_MatchImplementation:function(e){this._match=e},_AllMatchesIterable:function(e,t,r){this._re=e,this.__js_helper$_string=t,this.__js_helper$_start=r},_AllMatchesIterator:function(e,t,r){var n=this;n._regExp=e,n.__js_helper$_string=t,n._nextIndex=r,n.__js_helper$_current=null},StringMatch:function(e,t){this.start=e,this.pattern=t},_StringAllMatchesIterable:function(e,t,r){this._input=e,this._pattern=t,this.__js_helper$_index=r},_StringAllMatchesIterator:function(e,t,r){var n=this;n._input=e,n._pattern=t,n.__js_helper$_index=r,n.__js_helper$_current=null},throwLateFieldADI(e){throw A.initializeExceptionWrapper(A.LateError$fieldADI(e),new Error)},throwUnnamedLateFieldNI(){throw A.initializeExceptionWrapper(A.LateError$fieldNI(""),new Error)},throwUnnamedLateFieldAI(){throw A.initializeExceptionWrapper(A.LateError$fieldAI(""),new Error)},throwUnnamedLateFieldADI(){throw A.initializeExceptionWrapper(A.LateError$fieldADI(""),new Error)},_Cell$(){var e=new A._Cell;return e.__late_helper$_value=e},_Cell:function(){this.__late_helper$_value=null},_ensureNativeList:e=>e,NativeFloat64List_NativeFloat64List$fromList:e=>new Float64Array(A._ensureNativeList(e)),NativeInt8List__create1:e=>new Int8Array(e),NativeUint8List_NativeUint8List:e=>new Uint8Array(e),_checkValidIndex(e,t,r){if(e>>>0!==e||e>=r)throw A.wrapException(A.diagnoseIndexError(t,e))},_checkValidRange(e,t,r){if(e>>>0!==e||(null==t?e>r:t>>>0!==t||e>t||t>r))throw A.wrapException(A.diagnoseRangeError(e,t,r));return null==t?r:t},NativeByteBuffer:function(){},NativeTypedData:function(){},NativeByteData:function(){},NativeTypedArray:function(){},NativeTypedArrayOfDouble:function(){},NativeTypedArrayOfInt:function(){},NativeFloat32List:function(){},NativeFloat64List:function(){},NativeInt16List:function(){},NativeInt32List:function(){},NativeInt8List:function(){},NativeUint16List:function(){},NativeUint32List:function(){},NativeUint8ClampedList:function(){},NativeUint8List:function(){},_NativeTypedArrayOfDouble_NativeTypedArray_ListMixin:function(){},_NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin:function(){},_NativeTypedArrayOfInt_NativeTypedArray_ListMixin:function(){},_NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin:function(){},Rti__getFutureFromFutureOr(e,t){var r=t._precomputed1;return null==r?t._precomputed1=A._Universe__lookupInterfaceRti(e,"Future",[t._primary]):r},Rti__isUnionOfFunctionType(e){var t=e._kind;return 6===t||7===t?A.Rti__isUnionOfFunctionType(e._primary):11===t||12===t},Rti__getCanonicalRecipe:e=>e._canonicalRecipe,pairwiseIsTest(e,t){var r,n=t.length;for(r=0;r<n;++r)if(!e[r]._is(t[r]))return!1;return!0},findType:e=>A._Universe_eval(M.typeUniverse,e,!1),instantiatedGenericFunctionType(e,t){var r,n,i,o,s;return null==e?null:(r=t._rest,null==(n=e._bindCache)&&(n=e._bindCache=new Map),i=t._canonicalRecipe,null!=(o=n.get(i))?o:(s=A._substitute(M.typeUniverse,e._primary,r,0),n.set(i,s),s))},_substitute(e,t,r,n){var i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y,$,x,S=t._kind;switch(S){case 5:case 1:case 2:case 3:case 4:return t;case 6:return i=t._primary,(o=A._substitute(e,i,r,n))===i?t:A._Universe__lookupQuestionRti(e,o,!0);case 7:return i=t._primary,(o=A._substitute(e,i,r,n))===i?t:A._Universe__lookupFutureOrRti(e,o,!0);case 8:return s=t._rest,(a=A._substituteArray(e,s,r,n))===s?t:A._Universe__lookupInterfaceRti(e,t._primary,a);case 9:return l=t._primary,c=A._substitute(e,l,r,n),u=t._rest,d=A._substituteArray(e,u,r,n),c===l&&d===u?t:A._Universe__lookupBindingRti(e,c,d);case 10:return h=t._primary,p=t._rest,(m=A._substituteArray(e,p,r,n))===p?t:A._Universe__lookupRecordRti(e,h,m);case 11:return _=t._primary,g=A._substitute(e,_,r,n),f=t._rest,v=A._substituteFunctionParameters(e,f,r,n),g===_&&v===f?t:A._Universe__lookupFunctionRti(e,g,v);case 12:return n+=(b=t._rest).length,y=A._substituteArray(e,b,r,n),l=t._primary,c=A._substitute(e,l,r,n),y===b&&c===l?t:A._Universe__lookupGenericFunctionRti(e,c,y,!0);case 13:return($=t._primary)<n||null==(x=r[$-n])?t:x;default:throw A.wrapException(A.AssertionError$("Attempted to substitute unexpected RTI kind "+S))}},_substituteArray(e,t,r,n){var i,o,s,a,l=t.length,c=A._Utils_newArrayOrEmpty(l);for(i=!1,o=0;o<l;++o)s=t[o],(a=A._substitute(e,s,r,n))!==s&&(i=!0),c[o]=a;return i?c:t},_substituteNamed(e,t,r,n){var i,o,s,a,l,c,u=t.length,d=A._Utils_newArrayOrEmpty(u);for(i=!1,o=0;o<u;o+=3)s=t[o],a=t[o+1],l=t[o+2],(c=A._substitute(e,l,r,n))!==l&&(i=!0),d.splice(o,3,s,a,c);return i?d:t},_substituteFunctionParameters(e,t,r,n){var i,o=t._requiredPositional,s=A._substituteArray(e,o,r,n),a=t._optionalPositional,l=A._substituteArray(e,a,r,n),c=t._named,u=A._substituteNamed(e,c,r,n);return s===o&&l===a&&u===c?t:((i=new A._FunctionParameters)._requiredPositional=s,i._optionalPositional=l,i._named=u,i)},_setArrayType:(e,t)=>(e[M.arrayRti]=t,e),closureFunctionType(e){var t=e.$signature;return null!=t?"number"==typeof t?A.getTypeFromTypesTable(t):e.$signature():null},instanceOrFunctionType(e,t){var r;return A.Rti__isUnionOfFunctionType(t)&&e instanceof A.Closure&&null!=(r=A.closureFunctionType(e))?r:A.instanceType(e)},instanceType:e=>e instanceof A.Object?A._instanceType(e):Array.isArray(e)?A._arrayInstanceType(e):A._instanceTypeFromConstructor(w.getInterceptor$(e)),_arrayInstanceType(e){var t=e[M.arrayRti],r=D.JSArray_dynamic;return null==t||t.constructor!==r.constructor?r:t},_instanceType(e){var t=e.$ti;return null!=t?t:A._instanceTypeFromConstructor(e)},_instanceTypeFromConstructor(e){var t=e.constructor,r=t.$ccache;return null!=r?r:A._instanceTypeFromConstructorMiss(e,t)},_instanceTypeFromConstructorMiss(e,t){var r=e instanceof A.Closure?Object.getPrototypeOf(Object.getPrototypeOf(e)).constructor:t,n=A._Universe_findErasedType(M.typeUniverse,r.name);return t.$ccache=n,n},getTypeFromTypesTable(e){var t,r=M.types,n=r[e];return"string"==typeof n?(t=A._Universe_eval(M.typeUniverse,n,!1),r[e]=t,t):n},getRuntimeTypeOfDartObject:e=>A.createRuntimeType(A._instanceType(e)),getRuntimeTypeOfClosure(e){var t=A.closureFunctionType(e);return A.createRuntimeType(null==t?A.instanceType(e):t)},_structuralTypeOf(e){var t;return e instanceof A._Record?A.evaluateRtiForRecord(e.$recipe,e._getFieldValues$0()):null!=(t=e instanceof A.Closure?A.closureFunctionType(e):null)?t:D.TrustedGetRuntimeType._is(e)?w.get$runtimeType$(e)._rti:Array.isArray(e)?A._arrayInstanceType(e):A.instanceType(e)},createRuntimeType(e){var t=e._cachedRuntimeType;return null==t?e._cachedRuntimeType=new A._Type(e):t},evaluateRtiForRecord(e,t){var r,n,i=t,o=i.length;if(0===o)return D.Record_0;for(r=A._Universe_evalInEnvironment(M.typeUniverse,A._structuralTypeOf(i[0]),"@<0>"),n=1;n<o;++n)r=A._Universe_bind(M.typeUniverse,r,A._structuralTypeOf(i[n]));return A._Universe_evalInEnvironment(M.typeUniverse,r,e)},typeLiteral:e=>A.createRuntimeType(A._Universe_eval(M.typeUniverse,e,!1)),_installSpecializedIsTest(e){var t=this;return t._is=A._specializedIsTest(t),t._is(e)},_specializedIsTest(e){var t,r,n,i;if(e===D.Object)return A._isObject;if(A.isTopType(e))return A._isTop;if(6===(t=e._kind))return A._generalNullableIsTestImplementation;if(1===t)return A._isNever;if(7===t)return A._isFutureOr;if(null!=(r=A._simpleSpecializedIsTest(e)))return r;if(8===t){if(n=e._primary,e._rest.every(A.isTopType))return e._specializedTestResource="$is"+n,"List"===n?A._isListTestViaProperty:e===D.JSObject?A._isJSObject:A._isTestViaProperty}else if(10===t)return null==(i=A.createRecordTypePredicate(e._primary,e._rest))?A._isNever:i;return A._generalIsTestImplementation},_simpleSpecializedIsTest(e){if(8===e._kind){if(e===D.int)return A._isInt;if(e===D.double||e===D.num)return A._isNum;if(e===D.String)return A._isString;if(e===D.bool)return A._isBool}return null},_installSpecializedAsCheck(e){var t=this,r=A._generalAsCheckImplementation;return A.isTopType(t)?r=A._asTop:t===D.Object?r=A._asObject:A.isNullable(t)?(r=A._generalNullableAsCheckImplementation,t===D.nullable_int?r=A._asIntQ:t===D.nullable_String?r=A._asStringQ:t===D.nullable_bool?r=A._asBoolQ:t===D.nullable_num?r=A._asNumQ:t===D.nullable_double?r=A._asDoubleQ:t===D.nullable_JSObject&&(r=A._asJSObjectQ)):t===D.int?r=A._asInt:t===D.String?r=A._asString:t===D.bool?r=A._asBool:t===D.num?r=A._asNum:t===D.double?r=A._asDouble:t===D.JSObject&&(r=A._asJSObject),t._as=r,t._as(e)},_generalIsTestImplementation(e){var t=this;return null==e?A.isNullable(t):A.isSubtype(M.typeUniverse,A.instanceOrFunctionType(e,t),t)},_generalNullableIsTestImplementation(e){return null==e||this._primary._is(e)},_isTestViaProperty(e){var t;return null==e?A.isNullable(this):(t=this._specializedTestResource,e instanceof A.Object?!!e[t]:!!w.getInterceptor$(e)[t])},_isListTestViaProperty(e){var t;return null==e?A.isNullable(this):"object"==typeof e&&(!!Array.isArray(e)||(t=this._specializedTestResource,e instanceof A.Object?!!e[t]:!!w.getInterceptor$(e)[t]))},_isJSObject(e){return null!=e&&("object"==typeof e?!(e instanceof A.Object)||!!e[this._specializedTestResource]:"function"==typeof e)},_isJSObjectStandalone:e=>"object"==typeof e?!(e instanceof A.Object)||D.JSObject._is(e):"function"==typeof e,_generalAsCheckImplementation(e){var t=this;if(null==e){if(A.isNullable(t))return e}else if(t._is(e))return e;throw A.initializeExceptionWrapper(A._errorForAsCheck(e,t),new Error)},_generalNullableAsCheckImplementation(e){if(null==e||this._is(e))return e;throw A.initializeExceptionWrapper(A._errorForAsCheck(e,this),new Error)},_errorForAsCheck:(e,t)=>new A._TypeError("TypeError: "+A._Error_compose(e,A._rtiToString(t,null))),_Error_compose:(e,t)=>A.Error_safeToString(e)+": type '"+A._rtiToString(A._structuralTypeOf(e),null)+"' is not a subtype of type '"+t+"'",_TypeError__TypeError$forType:(e,t)=>new A._TypeError("TypeError: "+A._Error_compose(e,t)),_isFutureOr(e){return this._primary._is(e)||A.Rti__getFutureFromFutureOr(M.typeUniverse,this)._is(e)},_isObject:e=>null!=e,_asObject(e){if(null!=e)return e;throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(e,"Object"),new Error)},_isTop:e=>!0,_asTop:e=>e,_isNever:e=>!1,_isBool:e=>!0===e||!1===e,_asBool(e){if(!0===e)return!0;if(!1===e)return!1;throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(e,"bool"),new Error)},_asBoolQ(e){if(!0===e)return!0;if(!1===e)return!1;if(null==e)return e;throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(e,"bool?"),new Error)},_asDouble(e){if("number"==typeof e)return e;throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(e,"double"),new Error)},_asDoubleQ(e){if("number"==typeof e)return e;if(null==e)return e;throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(e,"double?"),new Error)},_isInt:e=>"number"==typeof e&&Math.floor(e)===e,_asInt(e){if("number"==typeof e&&Math.floor(e)===e)return e;throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(e,"int"),new Error)},_asIntQ(e){if("number"==typeof e&&Math.floor(e)===e)return e;if(null==e)return e;throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(e,"int?"),new Error)},_isNum:e=>"number"==typeof e,_asNum(e){if("number"==typeof e)return e;throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(e,"num"),new Error)},_asNumQ(e){if("number"==typeof e)return e;if(null==e)return e;throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(e,"num?"),new Error)},_isString:e=>"string"==typeof e,_asString(e){if("string"==typeof e)return e;throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(e,"String"),new Error)},_asStringQ(e){if("string"==typeof e)return e;if(null==e)return e;throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(e,"String?"),new Error)},_asJSObject(e){if(A._isJSObjectStandalone(e))return e;throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(e,"JSObject"),new Error)},_asJSObjectQ(e){if(null==e)return e;if(A._isJSObjectStandalone(e))return e;throw A.initializeExceptionWrapper(A._TypeError__TypeError$forType(e,"JSObject?"),new Error)},_rtiArrayToString(e,t){var r,n,i;for(r="",n="",i=0;i<e.length;++i,n=", ")r+=n+A._rtiToString(e[i],t);return r},_recordRtiToString(e,t){var r,n,i,o,s,a,l=e._primary,c=e._rest;if(""===l)return"("+A._rtiArrayToString(c,t)+")";for(r=c.length,i=(n=l.split(",")).length-r,o="(",s="",a=0;a<r;++a,s=", ")o+=s,0===i&&(o+="{"),o+=A._rtiToString(c[a],t),i>=0&&(o+=" "+n[i]),++i;return o+"})"},_functionRtiToString(e,t,r){var n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y,$=", ",x=null;if(null!=r){for(n=r.length,null==t?t=A._setArrayType([],D.JSArray_String):x=t.length,i=t.length,o=n;o>0;--o)t.push("T"+(i+o));for(s=D.nullable_Object,a="<",l="",o=0;o<n;++o,l=$)a=a+l+t[t.length-1-o],2!==(u=(c=r[o])._kind)&&3!==u&&4!==u&&5!==u&&c!==s&&(a+=" extends "+A._rtiToString(c,t));a+=">"}else a="";for(s=e._primary,p=(h=(d=e._rest)._requiredPositional).length,_=(m=d._optionalPositional).length,f=(g=d._named).length,v=A._rtiToString(s,t),b="",y="",o=0;o<p;++o,y=$)b+=y+A._rtiToString(h[o],t);if(_>0){for(b+=y+"[",y="",o=0;o<_;++o,y=$)b+=y+A._rtiToString(m[o],t);b+="]"}if(f>0){for(b+=y+"{",y="",o=0;o<f;o+=3,y=$)b+=y,g[o+1]&&(b+="required "),b+=A._rtiToString(g[o+2],t)+" "+g[o];b+="}"}return null!=x&&(t.toString,t.length=x),a+"("+b+") => "+v},_rtiToString(e,t){var r,n,i,o,s,a,l=e._kind;return 5===l?"erased":2===l?"dynamic":3===l?"void":1===l?"Never":4===l?"any":6===l?(r=e._primary,n=A._rtiToString(r,t),(11===(i=r._kind)||12===i?"("+n+")":n)+"?"):7===l?"FutureOr<"+A._rtiToString(e._primary,t)+">":8===l?(o=A._unminifyOrTag(e._primary),(s=e._rest).length>0?o+"<"+A._rtiArrayToString(s,t)+">":o):10===l?A._recordRtiToString(e,t):11===l?A._functionRtiToString(e,t,null):12===l?A._functionRtiToString(e._primary,t,e._rest):13===l?(a=e._primary,t[t.length-1-a]):"?"},_unminifyOrTag(e){var t=M.mangledGlobalNames[e];return null!=t?t:e},_Universe_findRule(e,t){for(var r=e.tR[t];"string"==typeof r;)r=e.tR[r];return r},_Universe_findErasedType(e,t){var r,n,i,o,s,a=e.eT,l=a[t];if(null==l)return A._Universe_eval(e,t,!1);if("number"==typeof l){for(r=l,n=A._Universe__lookupTerminalRti(e,5,"#"),i=A._Utils_newArrayOrEmpty(r),o=0;o<r;++o)i[o]=n;return s=A._Universe__lookupInterfaceRti(e,t,i),a[t]=s,s}return l},_Universe_addRules:(e,t)=>A._Utils_objectAssign(e.tR,t),_Universe_addErasedTypes:(e,t)=>A._Utils_objectAssign(e.eT,t),_Universe_eval(e,t,r){var n,i=e.eC,o=i.get(t);return null!=o?o:(n=A._Parser_parse(A._Parser_create(e,null,t,!1)),i.set(t,n),n)},_Universe_evalInEnvironment(e,t,r){var n,i,o=t._evalCache;return null==o&&(o=t._evalCache=new Map),null!=(n=o.get(r))?n:(i=A._Parser_parse(A._Parser_create(e,t,r,!0)),o.set(r,i),i)},_Universe_bind(e,t,r){var n,i,o,s=t._bindCache;return null==s&&(s=t._bindCache=new Map),n=r._canonicalRecipe,null!=(i=s.get(n))?i:(o=A._Universe__lookupBindingRti(e,t,9===r._kind?r._rest:[r]),s.set(n,o),o)},_Universe__installTypeTests:(e,t)=>(t._as=A._installSpecializedAsCheck,t._is=A._installSpecializedIsTest,t),_Universe__lookupTerminalRti(e,t,r){var n,i,o=e.eC.get(r);return null!=o?o:((n=new A.Rti(null,null))._kind=t,n._canonicalRecipe=r,i=A._Universe__installTypeTests(e,n),e.eC.set(r,i),i)},_Universe__lookupQuestionRti(e,t,r){var n,i=t._canonicalRecipe+"?",o=e.eC.get(i);return null!=o?o:(n=A._Universe__createQuestionRti(e,t,i,r),e.eC.set(i,n),n)},_Universe__createQuestionRti(e,t,r,n){var i,o,s;if(n){if(i=t._kind,o=!0,A.isTopType(t)||t!==D.Null&&t!==D.JSNull&&6!==i&&(o=7===i&&A.isNullable(t._primary)),o)return t;if(1===i)return D.Null}return(s=new A.Rti(null,null))._kind=6,s._primary=t,s._canonicalRecipe=r,A._Universe__installTypeTests(e,s)},_Universe__lookupFutureOrRti(e,t,r){var n,i=t._canonicalRecipe+"/",o=e.eC.get(i);return null!=o?o:(n=A._Universe__createFutureOrRti(e,t,i,r),e.eC.set(i,n),n)},_Universe__createFutureOrRti(e,t,r,n){var i,o;if(n){if(i=t._kind,A.isTopType(t)||t===D.Object)return t;if(1===i)return A._Universe__lookupInterfaceRti(e,"Future",[t]);if(t===D.Null||t===D.JSNull)return D.nullable_Future_Null}return(o=new A.Rti(null,null))._kind=7,o._primary=t,o._canonicalRecipe=r,A._Universe__installTypeTests(e,o)},_Universe__lookupGenericFunctionParameterRti(e,t){var r,n,i=t+"^",o=e.eC.get(i);return null!=o?o:((r=new A.Rti(null,null))._kind=13,r._primary=t,r._canonicalRecipe=i,n=A._Universe__installTypeTests(e,r),e.eC.set(i,n),n)},_Universe__canonicalRecipeJoin(e){var t,r,n,i=e.length;for(t="",r="",n=0;n<i;++n,r=",")t+=r+e[n]._canonicalRecipe;return t},_Universe__canonicalRecipeJoinNamed(e){var t,r,n,i=e.length;for(t="",r="",n=0;n<i;n+=3,r=",")t+=r+e[n]+(e[n+1]?"!":":")+e[n+2]._canonicalRecipe;return t},_Universe__lookupInterfaceRti(e,t,r){var n,i,o,s=t;return r.length>0&&(s+="<"+A._Universe__canonicalRecipeJoin(r)+">"),null!=(n=e.eC.get(s))?n:((i=new A.Rti(null,null))._kind=8,i._primary=t,i._rest=r,r.length>0&&(i._precomputed1=r[0]),i._canonicalRecipe=s,o=A._Universe__installTypeTests(e,i),e.eC.set(s,o),o)},_Universe__lookupBindingRti(e,t,r){var n,i,o,s,a,l;return 9===t._kind?(n=t._primary,i=t._rest.concat(r)):(i=r,n=t),o=n._canonicalRecipe+";<"+A._Universe__canonicalRecipeJoin(i)+">",null!=(s=e.eC.get(o))?s:((a=new A.Rti(null,null))._kind=9,a._primary=n,a._rest=i,a._canonicalRecipe=o,l=A._Universe__installTypeTests(e,a),e.eC.set(o,l),l)},_Universe__lookupRecordRti(e,t,r){var n,i,o="+"+t+"("+A._Universe__canonicalRecipeJoin(r)+")",s=e.eC.get(o);return null!=s?s:((n=new A.Rti(null,null))._kind=10,n._primary=t,n._rest=r,n._canonicalRecipe=o,i=A._Universe__installTypeTests(e,n),e.eC.set(o,i),i)},_Universe__lookupFunctionRti(e,t,r){var n,i,o,s,a=t._canonicalRecipe,l=r._requiredPositional,c=l.length,u=r._optionalPositional,d=u.length,h=r._named,p=h.length,m="("+A._Universe__canonicalRecipeJoin(l);return d>0&&(m+=(c>0?",":"")+"["+A._Universe__canonicalRecipeJoin(u)+"]"),p>0&&(m+=(c>0?",":"")+"{"+A._Universe__canonicalRecipeJoinNamed(h)+"}"),n=a+(m+")"),null!=(i=e.eC.get(n))?i:((o=new A.Rti(null,null))._kind=11,o._primary=t,o._rest=r,o._canonicalRecipe=n,s=A._Universe__installTypeTests(e,o),e.eC.set(n,s),s)},_Universe__lookupGenericFunctionRti(e,t,r,n){var i,o=t._canonicalRecipe+"<"+A._Universe__canonicalRecipeJoin(r)+">",s=e.eC.get(o);return null!=s?s:(i=A._Universe__createGenericFunctionRti(e,t,r,o,n),e.eC.set(o,i),i)},_Universe__createGenericFunctionRti(e,t,r,n,i){var o,s,a,l,c,u,d,h;if(i){for(o=r.length,s=A._Utils_newArrayOrEmpty(o),a=0,l=0;l<o;++l)1===(c=r[l])._kind&&(s[l]=c,++a);if(a>0)return u=A._substitute(e,t,s,0),d=A._substituteArray(e,r,s,0),A._Universe__lookupGenericFunctionRti(e,u,d,r!==d)}return(h=new A.Rti(null,null))._kind=12,h._primary=t,h._rest=r,h._canonicalRecipe=n,A._Universe__installTypeTests(e,h)},_Parser_create:(e,t,r,n)=>({u:e,e:t,r:r,s:[],p:0,n:n}),_Parser_parse(e){var t,r,n,i,o,s,a,l=e.r,c=e.s;for(t=l.length,r=0;r<t;)if((n=l.charCodeAt(r))>=48&&n<=57)r=A._Parser_handleDigit(r+1,n,l,c);else if((((32|n)>>>0)-97&65535)<26||95===n||36===n||124===n)r=A._Parser_handleIdentifier(e,r,l,c,!1);else if(46===n)r=A._Parser_handleIdentifier(e,r,l,c,!0);else switch(++r,n){case 44:break;case 58:c.push(!1);break;case 33:c.push(!0);break;case 59:c.push(A._Parser_toType(e.u,e.e,c.pop()));break;case 94:c.push(A._Universe__lookupGenericFunctionParameterRti(e.u,c.pop()));break;case 35:c.push(A._Universe__lookupTerminalRti(e.u,5,"#"));break;case 64:c.push(A._Universe__lookupTerminalRti(e.u,2,"@"));break;case 126:c.push(A._Universe__lookupTerminalRti(e.u,3,"~"));break;case 60:case 91:case 123:c.push(e.p),e.p=c.length;break;case 62:A._Parser_handleTypeArguments(e,c);break;case 38:A._Parser_handleExtendedOperations(e,c);break;case 63:i=e.u,c.push(A._Universe__lookupQuestionRti(i,A._Parser_toType(i,e.e,c.pop()),e.n));break;case 47:i=e.u,c.push(A._Universe__lookupFutureOrRti(i,A._Parser_toType(i,e.e,c.pop()),e.n));break;case 40:c.push(-3),c.push(e.p),e.p=c.length;break;case 41:A._Parser_handleArguments(e,c);break;case 93:o=c.splice(e.p),A._Parser_toTypes(e.u,e.e,o),e.p=c.pop(),c.push(o),c.push(-1);break;case 125:o=c.splice(e.p),A._Parser_toTypesNamed(e.u,e.e,o),e.p=c.pop(),c.push(o),c.push(-2);break;case 43:s=l.indexOf("(",r),c.push(l.substring(r,s)),c.push(-4),c.push(e.p),e.p=c.length,r=s+1;break;default:throw"Bad character "+n}return a=c.pop(),A._Parser_toType(e.u,e.e,a)},_Parser_handleDigit(e,t,r,n){var i,o,s=t-48;for(i=r.length;e<i&&((o=r.charCodeAt(e))>=48&&o<=57);++e)s=10*s+(o-48);return n.push(s),e},_Parser_handleIdentifier(e,t,r,n,i){var o,s,a,l,c,u=t+1;for(o=r.length;u<o;++u)if(46===(s=r.charCodeAt(u))){if(i)break;i=!0}else if(!((((32|s)>>>0)-97&65535)<26||95===s||36===s||124===s||s>=48&&s<=57))break;return a=r.substring(t,u),i?(o=e.u,9===(l=e.e)._kind&&(l=l._primary),null==(c=A._Universe_findRule(o,l._primary)[a])&&A.throwExpression('No "'+a+'" in "'+A.Rti__getCanonicalRecipe(l)+'"'),n.push(A._Universe_evalInEnvironment(o,l,c))):n.push(a),u},_Parser_handleTypeArguments(e,t){var r,n=e.u,i=A._Parser_collectArray(e,t),o=t.pop();if("string"==typeof o)t.push(A._Universe__lookupInterfaceRti(n,o,i));else if(11===(r=A._Parser_toType(n,e.e,o))._kind)t.push(A._Universe__lookupGenericFunctionRti(n,r,i,e.n));else t.push(A._Universe__lookupBindingRti(n,r,i))},_Parser_handleArguments(e,t){var r,n,i,o=e.u,s=t.pop(),a=null,l=null;if("number"==typeof s)switch(s){case-1:a=t.pop();break;case-2:l=t.pop();break;default:t.push(s)}else t.push(s);switch(r=A._Parser_collectArray(e,t),s=t.pop()){case-3:return s=t.pop(),null==a&&(a=o.sEA),null==l&&(l=o.sEA),n=A._Parser_toType(o,e.e,s),(i=new A._FunctionParameters)._requiredPositional=r,i._optionalPositional=a,i._named=l,void t.push(A._Universe__lookupFunctionRti(o,n,i));case-4:return void t.push(A._Universe__lookupRecordRti(o,t.pop(),r));default:throw A.wrapException(A.AssertionError$("Unexpected state under `()`: "+A.S(s)))}},_Parser_handleExtendedOperations(e,t){var r=t.pop();if(0!==r){if(1!==r)throw A.wrapException(A.AssertionError$("Unexpected extended operation "+A.S(r)));t.push(A._Universe__lookupTerminalRti(e.u,4,"1&"))}else t.push(A._Universe__lookupTerminalRti(e.u,1,"0&"))},_Parser_collectArray(e,t){var r=t.splice(e.p);return A._Parser_toTypes(e.u,e.e,r),e.p=t.pop(),r},_Parser_toType:(e,t,r)=>"string"==typeof r?A._Universe__lookupInterfaceRti(e,r,e.sEA):"number"==typeof r?(t.toString,A._Parser_indexToType(e,t,r)):r,_Parser_toTypes(e,t,r){var n,i=r.length;for(n=0;n<i;++n)r[n]=A._Parser_toType(e,t,r[n])},_Parser_toTypesNamed(e,t,r){var n,i=r.length;for(n=2;n<i;n+=3)r[n]=A._Parser_toType(e,t,r[n])},_Parser_indexToType(e,t,r){var n,i,o=t._kind;if(9===o){if(0===r)return t._primary;if(r<=(i=(n=t._rest).length))return n[r-1];r-=i,o=(t=t._primary)._kind}else if(0===r)return t;if(8!==o)throw A.wrapException(A.AssertionError$("Indexed base must be an interface type"));if(r<=(n=t._rest).length)return n[r-1];throw A.wrapException(A.AssertionError$("Bad index "+r+" for "+t.toString$0(0)))},isSubtype(e,t,r){var n,i=t._isSubtypeCache;return null==i&&(i=t._isSubtypeCache=new Map),null==(n=i.get(r))&&(n=A._isSubtype(e,t,null,r,null),i.set(r,n)),n},_isSubtype(e,t,r,n,i){var o,s,a,l,c,u,d,h,p,m,_;if(t===n)return!0;if(A.isTopType(n))return!0;if(4===(o=t._kind))return!0;if(A.isTopType(t))return!1;if(1===t._kind)return!0;if((s=13===o)&&A._isSubtype(e,r[t._primary],r,n,i))return!0;if(a=n._kind,t===(l=D.Null)||t===D.JSNull)return 7===a?A._isSubtype(e,t,r,n._primary,i):n===l||n===D.JSNull||6===a;if(n===D.Object)return 7===o?A._isSubtype(e,t._primary,r,n,i):6!==o;if(7===o)return!!A._isSubtype(e,t._primary,r,n,i)&&A._isSubtype(e,A.Rti__getFutureFromFutureOr(e,t),r,n,i);if(6===o)return A._isSubtype(e,l,r,n,i)&&A._isSubtype(e,t._primary,r,n,i);if(7===a)return!!A._isSubtype(e,t,r,n._primary,i)||A._isSubtype(e,t,r,A.Rti__getFutureFromFutureOr(e,n),i);if(6===a)return A._isSubtype(e,t,r,l,i)||A._isSubtype(e,t,r,n._primary,i);if(s)return!1;if((!(l=11!==o)||12===o)&&n===D.Function)return!0;if((c=10===o)&&n===D.Record)return!0;if(12===a){if(t===D.JavaScriptFunction)return!0;if(12!==o)return!1;if(u=t._rest,d=n._rest,(h=u.length)!==d.length)return!1;for(r=null==r?u:u.concat(r),i=null==i?d:d.concat(i),p=0;p<h;++p)if(m=u[p],_=d[p],!A._isSubtype(e,m,r,_,i)||!A._isSubtype(e,_,i,m,r))return!1;return A._isFunctionSubtype(e,t._primary,r,n._primary,i)}return 11===a?t===D.JavaScriptFunction||!l&&A._isFunctionSubtype(e,t,r,n,i):8===o?8===a&&A._isInterfaceSubtype(e,t,r,n,i):!(!c||10!==a)&&A._isRecordSubtype(e,t,r,n,i)},_isFunctionSubtype(e,t,r,n,i){var o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y,$,x,S,w,C;if(!A._isSubtype(e,t._primary,r,n._primary,i))return!1;if(o=t._rest,s=n._rest,a=o._requiredPositional,l=s._requiredPositional,(c=a.length)>(u=l.length))return!1;if(d=u-c,h=o._optionalPositional,p=s._optionalPositional,c+h.length<u+(m=p.length))return!1;for(_=0;_<c;++_)if(g=a[_],!A._isSubtype(e,l[_],i,g,r))return!1;for(_=0;_<d;++_)if(g=h[_],!A._isSubtype(e,l[c+_],i,g,r))return!1;for(_=0;_<m;++_)if(g=h[d+_],!A._isSubtype(e,p[_],i,g,r))return!1;for(f=o._named,v=s._named,b=f.length,y=v.length,$=0,x=0;x<y;x+=3)for(S=v[x];;){if($>=b)return!1;if(S<(w=f[$]))return!1;if(C=f[($+=3)-2],!(w<S)){if(g=v[x+1],C&&!g)return!1;if(g=f[$-1],!A._isSubtype(e,v[x+2],i,g,r))return!1;break}if(C)return!1}for(;$<b;){if(f[$+1])return!1;$+=3}return!0},_isInterfaceSubtype(e,t,r,n,i){for(var o,s,a,l,c,u=t._primary,d=n._primary;u!==d;){if(null==(o=e.tR[u]))return!1;if("string"!=typeof o){if(null==(s=o[d]))return!1;for(l=(a=s.length)>0?new Array(a):M.typeUniverse.sEA,c=0;c<a;++c)l[c]=A._Universe_evalInEnvironment(e,t,s[c]);return A._areArgumentsSubtypes(e,l,null,r,n._rest,i)}u=o}return A._areArgumentsSubtypes(e,t._rest,null,r,n._rest,i)},_areArgumentsSubtypes(e,t,r,n,i,o){var s,a=t.length;for(s=0;s<a;++s)if(!A._isSubtype(e,t[s],n,i[s],o))return!1;return!0},_isRecordSubtype(e,t,r,n,i){var o,s=t._rest,a=n._rest,l=s.length;if(l!==a.length)return!1;if(t._primary!==n._primary)return!1;for(o=0;o<l;++o)if(!A._isSubtype(e,s[o],r,a[o],i))return!1;return!0},isNullable(e){var t=e._kind,r=!0;return e!==D.Null&&e!==D.JSNull&&(A.isTopType(e)||6!==t&&(r=7===t&&A.isNullable(e._primary))),r},isTopType(e){var t=e._kind;return 2===t||3===t||4===t||5===t||e===D.nullable_Object},_Utils_objectAssign(e,t){var r,n,i=Object.keys(t),o=i.length;for(r=0;r<o;++r)e[n=i[r]]=t[n]},_Utils_newArrayOrEmpty:e=>e>0?new Array(e):M.typeUniverse.sEA,Rti:function(e,t){var r=this;r._as=e,r._is=t,r._cachedRuntimeType=r._specializedTestResource=r._isSubtypeCache=r._precomputed1=null,r._kind=0,r._canonicalRecipe=r._bindCache=r._evalCache=r._rest=r._primary=null},_FunctionParameters:function(){this._named=this._optionalPositional=this._requiredPositional=null},_Type:function(e){this._rti=e},_Error:function(){},_TypeError:function(e){this.__rti$_message=e},_AsyncRun__initializeScheduleImmediate(){var e,t,r;return null!=n.scheduleImmediate?A.async__AsyncRun__scheduleImmediateJsOverride$closure():null!=n.MutationObserver&&null!=n.document?(e={},t=n.document.createElement("div"),r=n.document.createElement("span"),e.storedCallback=null,new n.MutationObserver(A.convertDartClosureToJS(new A._AsyncRun__initializeScheduleImmediate_internalCallback(e),1)).observe(t,{childList:!0}),new A._AsyncRun__initializeScheduleImmediate_closure(e,t,r)):null!=n.setImmediate?A.async__AsyncRun__scheduleImmediateWithSetImmediate$closure():A.async__AsyncRun__scheduleImmediateWithTimer$closure()},_AsyncRun__scheduleImmediateJsOverride(e){n.scheduleImmediate(A.convertDartClosureToJS(new A._AsyncRun__scheduleImmediateJsOverride_internalCallback(e),0))},_AsyncRun__scheduleImmediateWithSetImmediate(e){n.setImmediate(A.convertDartClosureToJS(new A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback(e),0))},_AsyncRun__scheduleImmediateWithTimer(e){A.Timer__createTimer(C.Duration_0,e)},Timer__createTimer(e,t){var r=C.JSInt_methods._tdivFast$1(e._duration,1e3);return A._TimerImpl$(r<0?0:r,t)},_TimerImpl$(e,t){var r=new A._TimerImpl(!0);return r._TimerImpl$2(e,t),r},_TimerImpl$periodic(e,t){var r=new A._TimerImpl(!1);return r._TimerImpl$periodic$2(e,t),r},_makeAsyncAwaitCompleter:e=>new A._AsyncAwaitCompleter(new A._Future(I.Zone__current,e._eval$1("_Future<0>")),e._eval$1("_AsyncAwaitCompleter<0>")),_asyncStartSync:(e,t)=>(e.call$2(0,null),t.isSync=!0,t._future),_asyncAwait(e,t){A._awaitOnObject(e,t)},_asyncReturn(e,t){t.complete$1(e)},_asyncRethrow(e,t){t.completeError$2(A.unwrapException(e),A.getTraceFromException(e))},_awaitOnObject(e,t){var r,n,i=new A._awaitOnObject_closure(t),o=new A._awaitOnObject_closure0(t);e instanceof A._Future?e._thenAwait$1$2(i,o,D.dynamic):(r=D.dynamic,e instanceof A._Future?e.then$1$2$onError(0,i,o,r):((n=new A._Future(I.Zone__current,D._Future_dynamic))._state=8,n._resultOrListeners=e,n._thenAwait$1$2(i,o,r)))},_wrapJsFunctionForAsync(e){var t=function(e){return function(t,r){for(;;)try{e(t,r);break}catch(e){r=e,t=1}}}(e);return I.Zone__current.registerBinaryCallback$3$1(new A._wrapJsFunctionForAsync_closure(t),D.void,D.int,D.dynamic)},_SyncStarIterator__terminatedBody:(e,t,r)=>0,AsyncError_defaultStackTrace(e){var t;return D.Error._is(e)&&null!=(t=e.get$stackTrace())?t:C._StringStackTrace_OdL},Future_Future$value(e,t){var r;return t._as(e),(r=new A._Future(I.Zone__current,t._eval$1("_Future<0>")))._asyncComplete$1(e),r},Future_wait(e,t,r){var n,i,o,s,a,l,c,u,d,h={},p=new A._Future(I.Zone__current,r._eval$1("_Future<List<0>>"));h.values=null,h.remaining=0,h.stackTrace=h.error=null,n=new A.Future_wait_handleError(h,null,t,p);try{for(l=w.get$iterator$ax(e),c=D.Null;l.moveNext$0();)i=l.get$current(l),o=h.remaining,w.then$1$2$onError$x(i,new A.Future_wait_closure(h,o,p,r,null,t),n,c),++h.remaining;if(0===(l=h.remaining))return(l=p)._completeWithValue$1(A._setArrayType([],r._eval$1("JSArray<0>"))),l;h.values=A.List_List$filled(l,null,!1,r._eval$1("0?"))}catch(e){if(s=A.unwrapException(e),a=A.getTraceFromException(e),0===h.remaining||t)return l=p,c=s,u=a,c=null==(d=A._interceptError(c,u))?new A.AsyncError(c,null==u?A.AsyncError_defaultStackTrace(c):u):d,l._asyncCompleteErrorObject$1(c),l;h.error=s,h.stackTrace=a}return p},_interceptError(e,t){var r,n,i,o=I.Zone__current;return o===C.C__RootZone||null==(r=o.errorCallback$2(e,t))?null:(n=r.error,i=r.stackTrace,D.Error._is(n)&&A.Primitives_trySetStackTrace(n,i),r)},_interceptUserError(e,t){var r;return I.Zone__current!==C.C__RootZone&&null!=(r=A._interceptError(e,t))?r:(null==t?D.Error._is(e)?null==(t=e.get$stackTrace())&&(A.Primitives_trySetStackTrace(e,C._StringStackTrace_OdL),t=C._StringStackTrace_OdL):t=C._StringStackTrace_OdL:D.Error._is(e)&&A.Primitives_trySetStackTrace(e,t),new A.AsyncError(e,t))},_Future$zoneValue(e,t,r){var n=new A._Future(t,r._eval$1("_Future<0>"));return n._state=8,n._resultOrListeners=e,n},_Future$value(e,t){var r=new A._Future(I.Zone__current,t._eval$1("_Future<0>"));return r._state=8,r._resultOrListeners=e,r},_Future__chainCoreFuture(e,t,r){for(var n,i,o,s={},a=s.source=e;4&(n=a._state);)a=a._resultOrListeners,s.source=a;return a===t?(n=A.StackTrace_current(),void t._asyncCompleteErrorObject$1(new A.AsyncError(new A.ArgumentError(!0,a,null,"Cannot complete a future with itself"),n))):(i=1&t._state,24&(n=a._state=n|i)?(a=!!r||null==t._resultOrListeners&&(!(16&n)||0!==i))?(o=t._removeListeners$0(),t._cloneResult$1(s.source),void A._Future__propagateToListeners(t,o)):(t._state^=2,void t._zone.scheduleMicrotask$1(new A._Future__chainCoreFuture_closure(s,t))):(o=t._resultOrListeners,t._state=1&t._state|4,t._resultOrListeners=a,void a._prependListeners$1(o)))},_Future__propagateToListeners(e,t){for(var r,n,i,o,s,a,l,c,u,d,h,p,m={},_=m.source=e;;){if(r={},o=!(i=!(16&(n=_._state))),null==t)return void(!o||1&n||(n=_._resultOrListeners,_._zone.handleUncaughtError$2(n.error,n.stackTrace)));for(r.listener=t,s=t._nextListener,_=t;null!=s;_=s,s=a)_._nextListener=null,A._Future__propagateToListeners(m.source,_),r.listener=s,a=s._nextListener;if(l=(n=m.source)._resultOrListeners,r.listenerHasError=o,r.listenerValueOrError=l,c=!i||(!!(1&(c=_.state))||8==(15&c))){if(u=_.result._zone,_=!!o&&!((_=n._zone)===u||_.get$errorZone()===u.get$errorZone()))return n=(_=m.source)._resultOrListeners,void _._zone.handleUncaughtError$2(n.error,n.stackTrace);if((d=I.Zone__current)!==u?I.Zone__current=u:d=null,8==(15&(_=r.listener.state))?new A._Future__propagateToListeners_handleWhenCompleteCallback(r,m,o).call$0():i?1&_&&new A._Future__propagateToListeners_handleValueCallback(r,l).call$0():2&_&&new A._Future__propagateToListeners_handleError(m,r).call$0(),null!=d&&(I.Zone__current=d),n=(_=r.listenerValueOrError)instanceof A._Future&&((n=r.listener.$ti)._eval$1("Future<2>")._is(_)||!n._rest[1]._is(_))){if(h=r.listener.result,24&_._state){p=h._resultOrListeners,h._resultOrListeners=null,t=h._reverseListeners$1(p),h._state=30&_._state|1&h._state,h._resultOrListeners=_._resultOrListeners,m.source=_;continue}return void A._Future__chainCoreFuture(_,h,!0)}}p=(h=r.listener.result)._resultOrListeners,h._resultOrListeners=null,t=h._reverseListeners$1(p),_=r.listenerHasError,n=r.listenerValueOrError,_?(h._state=1&h._state|16,h._resultOrListeners=n):(h._state=8,h._resultOrListeners=n),m.source=h,_=h}},_registerErrorHandler(e,t){if(D.dynamic_Function_Object_StackTrace._is(e))return t.registerBinaryCallback$3$1(e,D.dynamic,D.Object,D.StackTrace);if(D.dynamic_Function_Object._is(e))return t.registerUnaryCallback$2$1(e,D.dynamic,D.Object);throw A.wrapException(A.ArgumentError$value(e,"onError",P.Error_))},_microtaskLoop(){var e,t;for(e=I._nextCallback;null!=e;e=I._nextCallback)I._lastPriorityCallback=null,t=e.next,I._nextCallback=t,null==t&&(I._lastCallback=null),e.callback.call$0()},_startMicrotaskLoop(){I._isInCallbackLoop=!0;try{A._microtaskLoop()}finally{I._lastPriorityCallback=null,I._isInCallbackLoop=!1,null!=I._nextCallback&&I.$get$_AsyncRun__scheduleImmediateClosure().call$1(A.async___startMicrotaskLoop$closure())}},_scheduleAsyncCallback(e){var t=new A._AsyncCallbackEntry(e),r=I._lastCallback;null==r?(I._nextCallback=I._lastCallback=t,I._isInCallbackLoop||I.$get$_AsyncRun__scheduleImmediateClosure().call$1(A.async___startMicrotaskLoop$closure())):I._lastCallback=r.next=t},_schedulePriorityAsyncCallback(e){var t,r,n,i=I._nextCallback;if(null==i)return A._scheduleAsyncCallback(e),void(I._lastPriorityCallback=I._lastCallback);t=new A._AsyncCallbackEntry(e),null==(r=I._lastPriorityCallback)?(t.next=i,I._nextCallback=I._lastPriorityCallback=t):(n=r.next,t.next=n,I._lastPriorityCallback=r.next=t,null==n&&(I._lastCallback=t))},scheduleMicrotask(e){var t,r=null,n=I.Zone__current;C.C__RootZone!==n?(t=C.C__RootZone===n.get$_scheduleMicrotask().zone&&C.C__RootZone.get$errorZone()===n.get$errorZone())?A._rootScheduleMicrotask(r,r,n,n.registerCallback$1$1(e,D.void)):(t=I.Zone__current).scheduleMicrotask$1(t.bindCallbackGuarded$1(e)):A._rootScheduleMicrotask(r,r,C.C__RootZone,e)},Stream_Stream$fromFuture(e,t){var r=null,n=t._eval$1("_SyncStreamController<0>"),i=new A._SyncStreamController(r,r,r,r,n);return e.then$1$2$onError(0,new A.Stream_Stream$fromFuture_closure(i,t),new A.Stream_Stream$fromFuture_closure0(i),D.Null),new A._ControllerStream(i,n._eval$1("_ControllerStream<1>"))},StreamIterator_StreamIterator:e=>new A._StreamIterator(A.checkNotNullable(e,"stream",D.Object)),StreamController_StreamController:(e,t,r,n,i,o)=>i?new A._SyncStreamController(t,r,n,e,o._eval$1("_SyncStreamController<0>")):new A._AsyncStreamController(t,r,n,e,o._eval$1("_AsyncStreamController<0>")),_runGuarded(e){var t,r;if(null!=e)try{e.call$0()}catch(e){t=A.unwrapException(e),r=A.getTraceFromException(e),I.Zone__current.handleUncaughtError$2(t,r)}},_ControllerSubscription$(e,t,r,n,i,o){var s=I.Zone__current,a=i?1:0,l=null!=r?32:0,c=A._BufferingStreamSubscription__registerDataHandler(s,t,o),u=A._BufferingStreamSubscription__registerErrorHandler(s,r),d=null==n?A.async___nullDoneHandler$closure():n;return new A._ControllerSubscription(e,c,u,s.registerCallback$1$1(d,D.void),s,a|l,o._eval$1("_ControllerSubscription<0>"))},_AddStreamState_makeErrorHandler:e=>new A._AddStreamState_makeErrorHandler_closure(e),_BufferingStreamSubscription__registerDataHandler(e,t,r){var n=null==t?A.async___nullDataHandler$closure():t;return e.registerUnaryCallback$2$1(n,D.void,r)},_BufferingStreamSubscription__registerErrorHandler(e,t){if(null==t&&(t=A.async___nullErrorHandler$closure()),D.void_Function_Object_StackTrace._is(t))return e.registerBinaryCallback$3$1(t,D.dynamic,D.Object,D.StackTrace);if(D.void_Function_Object._is(t))return e.registerUnaryCallback$2$1(t,D.dynamic,D.Object);throw A.wrapException(A.ArgumentError$("handleError callback must take either an Object (the error), or both an Object (the error) and a StackTrace.",null))},_nullDataHandler(e){},_nullErrorHandler(e,t){I.Zone__current.handleUncaughtError$2(e,t)},_nullDoneHandler(){},Timer_Timer(e,t){var r=I.Zone__current;return r===C.C__RootZone?r.createTimer$2(e,t):r.createTimer$2(e,r.bindCallbackGuarded$1(t))},runZoned:(e,t,r)=>A._runZoned(e,t,null,r),_runZoned:(e,t,r,n)=>I.Zone__current.fork$2$specification$zoneValues(r,t).run$1$1(0,e,n),_rootHandleUncaughtError(e,t,r,n,i){A._rootHandleError(n,i)},_rootHandleError(e,t){A._schedulePriorityAsyncCallback(new A._rootHandleError_closure(e,t))},_rootRun(e,t,r,n){var i,o=I.Zone__current;if(o===r)return n.call$0();I.Zone__current=r,i=o;try{return o=n.call$0()}finally{I.Zone__current=i}},_rootRunUnary(e,t,r,n,i){var o,s=I.Zone__current;if(s===r)return n.call$1(i);I.Zone__current=r,o=s;try{return s=n.call$1(i)}finally{I.Zone__current=o}},_rootRunBinary(e,t,r,n,i,o){var s,a=I.Zone__current;if(a===r)return n.call$2(i,o);I.Zone__current=r,s=a;try{return a=n.call$2(i,o)}finally{I.Zone__current=s}},_rootRegisterCallback:(e,t,r,n)=>n,_rootRegisterUnaryCallback:(e,t,r,n)=>n,_rootRegisterBinaryCallback:(e,t,r,n)=>n,_rootErrorCallback:(e,t,r,n,i)=>null,_rootScheduleMicrotask(e,t,r,n){C.C__RootZone!==r&&(n=C.C__RootZone.get$errorZone()!==r.get$errorZone()?r.bindCallbackGuarded$1(n):r.bindCallback$1$1(n,D.void)),A._scheduleAsyncCallback(n)},_rootCreateTimer:(e,t,r,n,i)=>A.Timer__createTimer(n,C.C__RootZone!==r?r.bindCallback$1$1(i,D.void):i),_rootCreatePeriodicTimer(e,t,r,n,i){var o;return C.C__RootZone!==r&&(i=r.bindUnaryCallback$2$1(i,D.void,D.Timer)),o=C.JSInt_methods._tdivFast$1(n._duration,1e3),A._TimerImpl$periodic(o<0?0:o,i)},_rootPrint(e,t,r,n){A.printString(n)},_printToZone(e){I.Zone__current.print$1(e)},_rootFork(e,t,r,n,i){var o,s,a;return I.printToZone=A.async___printToZone$closure(),null==n&&(n=C._ZoneSpecification_Ipa),null==i?o=r.get$_async$_map():(s=D.nullable_Object,o=A.HashMap_HashMap$from(i,s,s)),s=new A._CustomZone(r.get$_run(),r.get$_runUnary(),r.get$_runBinary(),r.get$_registerCallback(),r.get$_registerUnaryCallback(),r.get$_registerBinaryCallback(),r.get$_errorCallback(),r.get$_scheduleMicrotask(),r.get$_createTimer(),r.get$_createPeriodicTimer(),r.get$_print(),r.get$_fork(),r.get$_handleUncaughtError(),r,o),null!=(a=n.handleUncaughtError)&&(s._handleUncaughtError=new A._ZoneFunction(s,a)),s},_AsyncRun__initializeScheduleImmediate_internalCallback:function(e){this._box_0=e},_AsyncRun__initializeScheduleImmediate_closure:function(e,t,r){this._box_0=e,this.div=t,this.span=r},_AsyncRun__scheduleImmediateJsOverride_internalCallback:function(e){this.callback=e},_AsyncRun__scheduleImmediateWithSetImmediate_internalCallback:function(e){this.callback=e},_TimerImpl:function(e){this._once=e,this._handle=null,this._tick=0},_TimerImpl_internalCallback:function(e,t){this.$this=e,this.callback=t},_TimerImpl$periodic_closure:function(e,t,r,n){var i=this;i.$this=e,i.milliseconds=t,i.start=r,i.callback=n},_AsyncAwaitCompleter:function(e,t){this._future=e,this.isSync=!1,this.$ti=t},_awaitOnObject_closure:function(e){this.bodyFunction=e},_awaitOnObject_closure0:function(e){this.bodyFunction=e},_wrapJsFunctionForAsync_closure:function(e){this.$protected=e},_SyncStarIterator:function(e){var t=this;t._body=e,t._suspendedBodies=t._nestedIterator=t._datum=t._async$_current=null},_SyncStarIterable:function(e,t){this._outerHelper=e,this.$ti=t},AsyncError:function(e,t){this.error=e,this.stackTrace=t},Future_wait_handleError:function(e,t,r,n){var i=this;i._box_0=e,i.cleanUp=t,i.eagerError=r,i._future=n},Future_wait_closure:function(e,t,r,n,i,o){var s=this;s._box_0=e,s.pos=t,s._future=r,s.T=n,s.cleanUp=i,s.eagerError=o},_Completer:function(){},_AsyncCompleter:function(e,t){this.future=e,this.$ti=t},_SyncCompleter:function(e,t){this.future=e,this.$ti=t},_FutureListener:function(e,t,r,n,i){var o=this;o._nextListener=null,o.result=e,o.state=t,o.callback=r,o.errorCallback=n,o.$ti=i},_Future:function(e,t){var r=this;r._state=0,r._zone=e,r._resultOrListeners=null,r.$ti=t},_Future__addListener_closure:function(e,t){this.$this=e,this.listener=t},_Future__prependListeners_closure:function(e,t){this._box_0=e,this.$this=t},_Future__chainCoreFuture_closure:function(e,t){this._box_0=e,this.target=t},_Future__asyncCompleteWithValue_closure:function(e,t){this.$this=e,this.value=t},_Future__asyncCompleteErrorObject_closure:function(e,t){this.$this=e,this.error=t},_Future__propagateToListeners_handleWhenCompleteCallback:function(e,t,r){this._box_0=e,this._box_1=t,this.hasError=r},_Future__propagateToListeners_handleWhenCompleteCallback_closure:function(e,t){this.joinedResult=e,this.originalSource=t},_Future__propagateToListeners_handleWhenCompleteCallback_closure0:function(e){this.joinedResult=e},_Future__propagateToListeners_handleValueCallback:function(e,t){this._box_0=e,this.sourceResult=t},_Future__propagateToListeners_handleError:function(e,t){this._box_1=e,this._box_0=t},_AsyncCallbackEntry:function(e){this.callback=e,this.next=null},Stream:function(){},Stream_Stream$fromFuture_closure:function(e,t){this.controller=e,this.T=t},Stream_Stream$fromFuture_closure0:function(e){this.controller=e},Stream_length_closure:function(e,t){this._box_0=e,this.$this=t},Stream_length_closure0:function(e,t){this._box_0=e,this.future=t},_StreamController:function(){},_StreamController__subscribe_closure:function(e){this.$this=e},_StreamController__recordCancel_complete:function(e){this.$this=e},_SyncStreamControllerDispatch:function(){},_AsyncStreamControllerDispatch:function(){},_AsyncStreamController:function(e,t,r,n,i){var o=this;o._varData=null,o._state=0,o._doneFuture=null,o.onListen=e,o.onPause=t,o.onResume=r,o.onCancel=n,o.$ti=i},_SyncStreamController:function(e,t,r,n,i){var o=this;o._varData=null,o._state=0,o._doneFuture=null,o.onListen=e,o.onPause=t,o.onResume=r,o.onCancel=n,o.$ti=i},_ControllerStream:function(e,t){this._controller=e,this.$ti=t},_ControllerSubscription:function(e,t,r,n,i,o,s){var a=this;a._controller=e,a._onData=t,a._onError=r,a._onDone=n,a._zone=i,a._state=o,a._pending=a._cancelFuture=null,a.$ti=s},_AddStreamState:function(){},_AddStreamState_makeErrorHandler_closure:function(e){this.controller=e},_AddStreamState_cancel_closure:function(e){this.$this=e},_StreamControllerAddStreamState:function(e,t,r){this._varData=e,this.addStreamFuture=t,this.addSubscription=r},_BufferingStreamSubscription:function(){},_BufferingStreamSubscription__sendError_sendError:function(e,t,r){this.$this=e,this.error=t,this.stackTrace=r},_BufferingStreamSubscription__sendDone_sendDone:function(e){this.$this=e},_StreamImpl:function(){},_DelayedEvent:function(){},_DelayedData:function(e){this.value=e,this.next=null},_DelayedError:function(e,t){this.error=e,this.stackTrace=t,this.next=null},_DelayedDone:function(){},_PendingEvents:function(){this._state=0,this.lastPendingEvent=this.firstPendingEvent=null},_PendingEvents_schedule_closure:function(e,t){this.$this=e,this.dispatch=t},_StreamIterator:function(e){this._subscription=null,this._stateData=e,this._async$_hasValue=!1},_ForwardingStream:function(){},_ForwardingStreamSubscription:function(e,t,r,n,i,o,s){var a=this;a._stream=e,a._subscription=null,a._onData=t,a._onError=r,a._onDone=n,a._zone=i,a._state=o,a._pending=a._cancelFuture=null,a.$ti=s},_MapStream:function(e,t,r){this._transform=e,this._async$_source=t,this.$ti=r},_ZoneFunction:function(e,t){this.zone=e,this.$function=t},_Zone:function(){},_CustomZone:function(e,t,r,n,i,o,s,a,l,c,u,d,h,p,m){var _=this;_._run=e,_._runUnary=t,_._runBinary=r,_._registerCallback=n,_._registerUnaryCallback=i,_._registerBinaryCallback=o,_._errorCallback=s,_._scheduleMicrotask=a,_._createTimer=l,_._createPeriodicTimer=c,_._print=u,_._fork=d,_._handleUncaughtError=h,_._delegateCache=null,_.parent=p,_._async$_map=m},_CustomZone_bindCallback_closure:function(e,t,r){this.$this=e,this.registered=t,this.R=r},_CustomZone_bindUnaryCallback_closure:function(e,t,r,n){var i=this;i.$this=e,i.registered=t,i.T=r,i.R=n},_CustomZone_bindCallbackGuarded_closure:function(e,t){this.$this=e,this.registered=t},_RootZone:function(){},_RootZone_bindCallback_closure:function(e,t,r){this.$this=e,this.f=t,this.R=r},_RootZone_bindUnaryCallback_closure:function(e,t,r,n){var i=this;i.$this=e,i.f=t,i.T=r,i.R=n},_RootZone_bindCallbackGuarded_closure:function(e,t){this.$this=e,this.f=t},_ZoneDelegate:function(e){this._delegationTarget=e},_rootHandleError_closure:function(e,t){this.error=e,this.stackTrace=t},_ZoneSpecification:function(e,t,r,n,i,o,s,a,l,c,u,d,h){var p=this;p.handleUncaughtError=e,p.run=t,p.runUnary=r,p.runBinary=n,p.registerCallback=i,p.registerUnaryCallback=o,p.registerBinaryCallback=s,p.errorCallback=a,p.scheduleMicrotask=l,p.createTimer=c,p.createPeriodicTimer=u,p.print=d,p.fork=h},HashMap_HashMap:(e,t)=>new A._HashMap(e._eval$1("@<0>")._bind$1(t)._eval$1("_HashMap<1,2>")),_HashMap__getTableEntry(e,t){var r=e[t];return r===e?null:r},_HashMap__setTableEntry(e,t,r){e[t]=null==r?e:r},_HashMap__newHashTable(){var e=Object.create(null);return A._HashMap__setTableEntry(e,"<non-identifier-key>",e),delete e["<non-identifier-key>"],e},LinkedHashMap_LinkedHashMap(e,t,r,n,i){if(null==r)if(null==t){if(null==e)return new A.JsLinkedHashMap(n._eval$1("@<0>")._bind$1(i)._eval$1("JsLinkedHashMap<1,2>"));t=A.collection___defaultHashCode$closure()}else{if(A.core__identityHashCode$closure()===t&&A.core__identical$closure()===e)return new A.JsIdentityLinkedHashMap(n._eval$1("@<0>")._bind$1(i)._eval$1("JsIdentityLinkedHashMap<1,2>"));null==e&&(e=A.collection___defaultEquals$closure())}else null==t&&(t=A.collection___defaultHashCode$closure()),null==e&&(e=A.collection___defaultEquals$closure());return A._LinkedCustomHashMap$(e,t,r,n,i)},LinkedHashMap_LinkedHashMap$_literal:(e,t,r)=>A.fillLiteralMap(e,new A.JsLinkedHashMap(t._eval$1("@<0>")._bind$1(r)._eval$1("JsLinkedHashMap<1,2>"))),LinkedHashMap_LinkedHashMap$_empty:(e,t)=>new A.JsLinkedHashMap(e._eval$1("@<0>")._bind$1(t)._eval$1("JsLinkedHashMap<1,2>")),_LinkedCustomHashMap$(e,t,r,n,i){var o=null!=r?r:new A._LinkedCustomHashMap_closure(n);return new A._LinkedCustomHashMap(e,t,o,n._eval$1("@<0>")._bind$1(i)._eval$1("_LinkedCustomHashMap<1,2>"))},LinkedHashSet_LinkedHashSet:e=>new A._LinkedHashSet(e._eval$1("_LinkedHashSet<0>")),LinkedHashSet_LinkedHashSet$_empty:e=>new A._LinkedHashSet(e._eval$1("_LinkedHashSet<0>")),LinkedHashSet_LinkedHashSet$_literal:(e,t)=>A.fillLiteralSet(e,new A._LinkedHashSet(t._eval$1("_LinkedHashSet<0>"))),_LinkedHashSet__newHashTable(){var e=Object.create(null);return e["<non-identifier-key>"]=e,delete e["<non-identifier-key>"],e},_LinkedHashSetIterator$(e,t,r){var n=new A._LinkedHashSetIterator(e,t,r._eval$1("_LinkedHashSetIterator<0>"));return n._collection$_cell=e._collection$_first,n},UnmodifiableListView$:(e,t)=>new A.UnmodifiableListView(e,t._eval$1("UnmodifiableListView<0>")),_defaultEquals:(e,t)=>w.$eq$(e,t),_defaultHashCode:e=>w.get$hashCode$(e),HashMap_HashMap$from(e,t,r){var n=A.HashMap_HashMap(t,r);return e.forEach$1(0,new A.HashMap_HashMap$from_closure(n,t,r)),n},IterableExtensions_get_firstOrNull(e){var t,r=A._arrayInstanceType(e),n=new w.ArrayIterator(e,e.length,r._eval$1("ArrayIterator<1>"));return n.moveNext$0()?null==(t=n._current)?r._precomputed1._as(t):t:null},LinkedHashMap_LinkedHashMap$from(e,t,r){var n=A.LinkedHashMap_LinkedHashMap(null,null,null,t,r);return e.forEach$1(0,new A.LinkedHashMap_LinkedHashMap$from_closure(n,t,r)),n},LinkedHashMap_LinkedHashMap$of(e,t,r){var n=A.LinkedHashMap_LinkedHashMap(null,null,null,t,r);return n.addAll$1(0,e),n},LinkedHashSet_LinkedHashSet$from(e,t){var r,n,i=A.LinkedHashSet_LinkedHashSet(t);for(r=e.length,n=0;n<e.length;e.length===r||(0,A.throwConcurrentModificationError)(e),++n)i.add$1(0,t._as(e[n]));return i},LinkedHashSet_LinkedHashSet$of(e,t){var r=A.LinkedHashSet_LinkedHashSet(t);return r.addAll$1(0,e),r},ListBase__compareAny(e,t){var r=D.Comparable_dynamic;return w.compareTo$1$ns(r._as(e),r._as(t))},MapBase_mapToString(e){var t,r;if(A.isToStringVisiting(e))return"{...}";t=new A.StringBuffer("");try{r={},I._toStringVisiting.push(e),t._contents+="{",r.first=!0,e.forEach$1(0,new A.MapBase_mapToString_closure(r,t)),t._contents+="}"}finally{I._toStringVisiting.pop()}return(r=t._contents).charCodeAt(0),r},MapBase__fillMapWithIterables(e,t,r){for(var n=t.get$iterator(t),i=r.get$iterator(r),o=n.moveNext$0(),s=i.moveNext$0();o&&s;)e.$indexSet(0,n.get$current(n),i.get$current(i)),o=n.moveNext$0(),s=i.moveNext$0();if(o||s)throw A.wrapException(A.ArgumentError$("Iterables do not have same length.",null))},ListQueue$:e=>new A.ListQueue(A.List_List$filled(A.ListQueue__calculateCapacity(null),null,!1,e._eval$1("0?")),e._eval$1("ListQueue<0>")),ListQueue__calculateCapacity:e=>8,ListQueue__nextPowerOf2(e){var t;for(e=(e<<1>>>0)-1;;e=t)if(0===(t=(e&e-1)>>>0))return e},_ListQueueIterator$:(e,t)=>new A._ListQueueIterator(e,e._tail,e._modificationCount,e._head,t._eval$1("_ListQueueIterator<0>")),_UnmodifiableSetMixin__throwUnmodifiable(){throw A.wrapException(A.UnsupportedError$("Cannot change an unmodifiable set"))},_HashMap:function(e){var t=this;t._collection$_length=0,t._collection$_keys=t._collection$_rest=t._collection$_nums=t._collection$_strings=null,t.$ti=e},_HashMap_values_closure:function(e){this.$this=e},_HashMap_addAll_closure:function(e){this.$this=e},_IdentityHashMap:function(e){var t=this;t._collection$_length=0,t._collection$_keys=t._collection$_rest=t._collection$_nums=t._collection$_strings=null,t.$ti=e},_HashMapKeyIterable:function(e,t){this._map=e,this.$ti=t},_HashMapKeyIterator:function(e,t,r){var n=this;n._map=e,n._collection$_keys=t,n._offset=0,n._collection$_current=null,n.$ti=r},_LinkedCustomHashMap:function(e,t,r,n){var i=this;i._equals=e,i._hashCode=t,i._validKey=r,i.__js_helper$_length=0,i._last=i._first=i.__js_helper$_rest=i._nums=i._strings=null,i._modifications=0,i.$ti=n},_LinkedCustomHashMap_closure:function(e){this.K=e},_LinkedHashSet:function(e){var t=this;t._collection$_length=0,t._collection$_last=t._collection$_first=t._collection$_rest=t._collection$_nums=t._collection$_strings=null,t._collection$_modifications=0,t.$ti=e},_LinkedIdentityHashSet:function(e){var t=this;t._collection$_length=0,t._collection$_last=t._collection$_first=t._collection$_rest=t._collection$_nums=t._collection$_strings=null,t._collection$_modifications=0,t.$ti=e},_LinkedHashSetCell:function(e){this._element=e,this._collection$_previous=this._collection$_next=null},_LinkedHashSetIterator:function(e,t,r){var n=this;n._set=e,n._collection$_modifications=t,n._collection$_current=n._collection$_cell=null,n.$ti=r},UnmodifiableListView:function(e,t){this._collection$_source=e,this.$ti=t},HashMap_HashMap$from_closure:function(e,t,r){this.result=e,this.K=t,this.V=r},LinkedHashMap_LinkedHashMap$from_closure:function(e,t,r){this.result=e,this.K=t,this.V=r},ListBase:function(){},MapBase:function(){},MapBase_addAll_closure:function(e){this.$this=e},MapBase_entries_closure:function(e){this.$this=e},MapBase_mapToString_closure:function(e,t){this._box_0=e,this.result=t},UnmodifiableMapBase:function(){},_MapBaseValueIterable:function(e,t){this._map=e,this.$ti=t},_MapBaseValueIterator:function(e,t,r){var n=this;n._collection$_keys=e,n._map=t,n._collection$_current=null,n.$ti=r},_UnmodifiableMapMixin:function(){},MapView:function(){},UnmodifiableMapView:function(e,t){this._map=e,this.$ti=t},ListQueue:function(e,t){var r=this;r._table=e,r._modificationCount=r._tail=r._head=0,r.$ti=t},_ListQueueIterator:function(e,t,r,n,i){var o=this;o._queue=e,o._collection$_end=t,o._modificationCount=r,o._collection$_position=n,o._collection$_current=null,o.$ti=i},SetBase:function(){},_SetBase:function(){},_UnmodifiableSetMixin:function(){},UnmodifiableSetView:function(e,t){this._collection$_source=e,this.$ti=t},_UnmodifiableMapView_MapView__UnmodifiableMapMixin:function(){},_UnmodifiableSetView_SetBase__UnmodifiableSetMixin:function(){},_parseJson(e,t){var r,n,i=null;try{i=JSON.parse(e)}catch(e){throw r=A.unwrapException(e),n=A.FormatException$(String(r),null,null),A.wrapException(n)}return n=A._convertJsonToDartLazy(i)},_convertJsonToDartLazy(e){var t;if(null==e)return null;if("object"!=typeof e)return e;if(!Array.isArray(e))return new A._JsonMap(e,Object.create(null));for(t=0;t<e.length;++t)e[t]=A._convertJsonToDartLazy(e[t]);return e},_Utf8Decoder__makeNativeUint8List(e,t,r){var n,i,o,s,a=r-t;for(n=a<=4096?I.$get$_Utf8Decoder__reusableBuffer():new Uint8Array(a),i=w.getInterceptor$asx(e),o=0;o<a;++o)(255&(s=i.$index(e,t+o)))!==s&&(s=255),n[o]=s;return n},_Utf8Decoder__convertInterceptedUint8List(e,t,r,n){var i=e?I.$get$_Utf8Decoder__decoderNonfatal():I.$get$_Utf8Decoder__decoder();return null==i?null:0===r&&n===t.length?A._Utf8Decoder__useTextDecoder(i,t):A._Utf8Decoder__useTextDecoder(i,t.subarray(r,n))},_Utf8Decoder__useTextDecoder(e,t){try{return e.decode(t)}catch(e){}return null},Base64Codec__checkPadding(e,t,r,n,i,o){if(0!==C.JSInt_methods.$mod(o,4))throw A.wrapException(A.FormatException$("Invalid base64 padding, padded length must be multiple of four, is "+o,e,r));if(n+i!==o)throw A.wrapException(A.FormatException$("Invalid base64 padding, '=' not at the end",e,t));if(i>2)throw A.wrapException(A.FormatException$("Invalid base64 padding, more than two '=' characters",e,t))},_Base64Encoder_encodeChunk(e,t,r,n,i,o,s,a){var l,c,u,d,h,p,m,_=a>>>2,g=3-(3&a);for(l=w.getInterceptor$asx(t),c=0|o.$flags,u=r,d=0;u<n;++u)d=(d|(h=l.$index(t,u)))>>>0,_=16777215&(_<<8|h),0===--g&&(p=s+1,2&c&&A.throwUnsupportedOperation(o),o[s]=e.charCodeAt(_>>>18&63),s=p+1,o[p]=e.charCodeAt(_>>>12&63),p=s+1,o[s]=e.charCodeAt(_>>>6&63),s=p+1,o[p]=e.charCodeAt(63&_),_=0,g=3);if(d>=0&&d<=255)return i&&g<3?(m=(p=s+1)+1,3-g==1?(2&c&&A.throwUnsupportedOperation(o),o[s]=e.charCodeAt(_>>>2&63),o[p]=e.charCodeAt(_<<4&63),o[m]=61,o[m+1]=61):(2&c&&A.throwUnsupportedOperation(o),o[s]=e.charCodeAt(_>>>10&63),o[p]=e.charCodeAt(_>>>4&63),o[m]=e.charCodeAt(_<<2&63),o[m+1]=61),0):(_<<2|3-g)>>>0;for(u=r;u<n&&!((h=l.$index(t,u))<0||h>255);)++u;throw A.wrapException(A.ArgumentError$value(t,"Not a byte value at index "+u+": 0x"+C.JSInt_methods.toRadixString$1(l.$index(t,u),16),null))},JsonUnsupportedObjectError$:(e,t,r)=>new A.JsonUnsupportedObjectError(e,t),_defaultToEncodable:e=>e.toJson$0(),_JsonStringStringifier$:(e,t)=>new A._JsonStringStringifier(e,[],A.convert___defaultToEncodable$closure()),_JsonStringStringifier_stringify(e,t,r){var n,i=new A.StringBuffer("");return A._JsonStringStringifier$(i,t).writeObject$1(e),(n=i._contents).charCodeAt(0),n},_Utf8Decoder_errorDescription(e){switch(e){case 65:return"Missing extension byte";case 67:return"Unexpected extension byte";case 69:return"Invalid UTF-8 byte";case 71:return"Overlong encoding";case 73:return"Out of unicode range";case 75:return"Encoded surrogate";case 77:return"Unfinished UTF-8 octet sequence";default:return""}},_JsonMap:function(e,t){this._original=e,this._processed=t,this._data=null},_JsonMap_values_closure:function(e){this.$this=e},_JsonMap_addAll_closure:function(e){this.$this=e},_JsonMapKeyIterable:function(e){this._convert$_parent=e},_Utf8Decoder__decoder_closure:function(){},_Utf8Decoder__decoderNonfatal_closure:function(){},AsciiCodec:function(){},_UnicodeSubsetEncoder:function(){},AsciiEncoder:function(e){this._subsetMask=e},Base64Codec:function(){},Base64Encoder:function(){},_Base64Encoder:function(e){this._convert$_state=0,this._alphabet=e},_Base64EncoderSink:function(){},_Utf8Base64EncoderSink:function(e,t){this._sink=e,this._encoder=t},ByteConversionSink:function(){},Codec:function(){},Converter:function(){},Encoding:function(){},JsonUnsupportedObjectError:function(e,t){this.unsupportedObject=e,this.cause=t},JsonCyclicError:function(e,t){this.unsupportedObject=e,this.cause=t},JsonCodec:function(){},JsonEncoder:function(e){this._toEncodable=e},JsonDecoder:function(e){this._reviver=e},_JsonStringifier:function(){},_JsonStringifier_writeMap_closure:function(e,t){this._box_0=e,this.keyValueList=t},_JsonStringStringifier:function(e,t,r){this._sink=e,this._seen=t,this._toEncodable=r},StringConversionSink:function(){},_StringSinkConversionSink:function(e){this._stringSink=e},_StringCallbackSink:function(e,t){this._convert$_callback=e,this._stringSink=t},_Utf8StringSinkAdapter:function(e,t,r){this._decoder=e,this._sink=t,this._stringSink=r},Utf8Codec:function(){},Utf8Encoder:function(){},_Utf8Encoder:function(e){this._bufferIndex=0,this._buffer=e},Utf8Decoder:function(e){this._allowMalformed=e},_Utf8Decoder:function(e){this.allowMalformed=e,this._convert$_state=16,this._charOrIndex=0},identityHashCode:e=>A.objectHashCode(e),Function_apply:(e,t)=>A.Primitives_applyFunction(e,t,null),Expando$:()=>new A.Expando(new WeakMap),Expando__checkType(e){(A._isBool(e)||"number"==typeof e||"string"==typeof e||e instanceof A._Record)&&A.Expando__badExpandoKey(e)},Expando__badExpandoKey(e){throw A.wrapException(A.ArgumentError$value(e,"object","Expandos are not allowed on strings, numbers, bools, records or null"))},int_parse(e,t){var r=A.Primitives_parseInt(e,t);if(null!=r)return r;throw A.wrapException(A.FormatException$(e,null,null))},double_parse(e){var t=A.Primitives_parseDouble(e);if(null!=t)return t;throw A.wrapException(A.FormatException$("Invalid double",e,null))},Error__throw(e,t){throw(e=A.initializeExceptionWrapper(e,new Error)).stack=t.toString$0(0),e},List_List$filled(e,t,r,n){var i,o=r?w.JSArray_JSArray$growable(e,n):w.JSArray_JSArray$fixed(e,n);if(0!==e&&null!=t)for(i=0;i<o.length;++i)o[i]=t;return o},List_List$from(e,t,r){var n,i=A._setArrayType([],r._eval$1("JSArray<0>"));for(n=w.get$iterator$ax(e);n.moveNext$0();)i.push(n.get$current(n));return t||(i.$flags=1),i},List_List$of(e,t,r){var n;return t?n=A.List_List$_of(e,r):(n=A.List_List$_of(e,r)).$flags=1,n},List_List$_of(e,t){var r,n;if(Array.isArray(e))return A._setArrayType(e.slice(0),t._eval$1("JSArray<0>"));for(r=A._setArrayType([],t._eval$1("JSArray<0>")),n=w.get$iterator$ax(e);n.moveNext$0();)r.push(n.get$current(n));return r},List_List$unmodifiable(e,t){var r=A.List_List$from(e,!1,t);return r.$flags=3,r},String_String$fromCharCodes(e,t,r){var n,i,o,s,a;if(A.RangeError_checkNotNegative(t,"start"),i=!(n=null==r)){if((o=r-t)<0)throw A.wrapException(A.RangeError$range(r,t,null,"end",null));if(0===o)return""}return Array.isArray(e)?(a=(s=e).length,n&&(r=a),A.Primitives_stringFromCharCodes(t>0||r<a?s.slice(t,r):s)):D.NativeUint8List._is(e)?A.String__stringFromUint8List(e,t,r):(i&&(e=w.take$1$ax(e,r)),t>0&&(e=w.skip$1$ax(e,t)),n=A.List_List$_of(e,D.int),A.Primitives_stringFromCharCodes(n))},String_String$fromCharCode:e=>A.Primitives_stringFromCharCode(e),String__stringFromUint8List(e,t,r){var n=e.length;return t>=n?"":A.Primitives_stringFromNativeUint8List(e,t,null==r||r>n?n:r)},RegExp_RegExp:(e,t)=>new A.JSSyntaxRegExp(e,A.JSSyntaxRegExp_makeNative(e,t,!0,!1,!1,"")),identical:(e,t)=>null==e?null==t:e===t,StringBuffer__writeAll(e,t,r){var n=w.get$iterator$ax(t);if(!n.moveNext$0())return e;if(0===r.length)do{e+=A.S(n.get$current(n))}while(n.moveNext$0());else for(e+=A.S(n.get$current(n));n.moveNext$0();)e=e+r+A.S(n.get$current(n));return e},NoSuchMethodError_NoSuchMethodError$withInvocation:(e,t)=>new A.NoSuchMethodError(e,t.get$memberName(),t.get$positionalArguments(),t.get$namedArguments()),Uri_base(){var e,t,r=A.Primitives_currentUri();if(null==r)throw A.wrapException(A.UnsupportedError$("'Uri.base' is not supported"));return null!=(e=I.Uri__cachedBaseUri)&&r===I.Uri__cachedBaseString?e:(t=A.Uri_parse(r),I.Uri__cachedBaseUri=t,I.Uri__cachedBaseString=r,t)},_Uri__uriEncode(e,t,r,n){var i,o,s,a,l,c="0123456789ABCDEF";if(i=r===C.C_Utf8Codec&&(i=I.$get$_Uri__needsNoEncoding())._nativeRegExp.test(t))return t;for(i=(o=C.C_Utf8Encoder.convert$1(t)).length,s=0,a="";s<i;++s)(l=o[s])<128&&0!==(P.x00_____.charCodeAt(l)&e)?a+=A.Primitives_stringFromCharCode(l):a=n&&32===l?a+"+":a+"%"+c[l>>>4&15]+c[15&l];return a.charCodeAt(0),a},StackTrace_current:()=>A.getTraceFromException(new Error),DateTime$fromMillisecondsSinceEpoch:e=>((e<-864e13||e>864e13)&&A.throwExpression(A.RangeError$range(e,-864e13,864e13,"millisecondsSinceEpoch",null)),A.checkNotNullable(!1,"isUtc",D.bool),new A.DateTime(e,0,!1)),DateTime__validate(e,t,r){var n="microsecond";if(t>999)throw A.wrapException(A.RangeError$range(t,0,999,n,null));if(e<-864e13||e>864e13)throw A.wrapException(A.RangeError$range(e,-864e13,864e13,"millisecondsSinceEpoch",null));if(864e13===e&&0!==t)throw A.wrapException(A.ArgumentError$value(t,n,"Time including microseconds is outside valid range"));return A.checkNotNullable(!1,"isUtc",D.bool),e},DateTime__fourDigits(e){var t=Math.abs(e),r=e<0?"-":"";return t>=1e3?""+e:t>=100?r+"0"+t:t>=10?r+"00"+t:r+"000"+t},DateTime__threeDigits:e=>e>=100?""+e:e>=10?"0"+e:"00"+e,DateTime__twoDigits:e=>e>=10?""+e:"0"+e,Duration$:(e,t)=>new A.Duration(e+1e3*t),EnumByName_byName(e,t){var r,n;for(r=0;r<4;++r)if((n=e[r])._name===t)return n;throw A.wrapException(A.ArgumentError$value(t,"name","No enum value with that name"))},Error_safeToString:e=>"number"==typeof e||A._isBool(e)||null==e?w.toString$0$(e):"string"==typeof e?JSON.stringify(e):A.Primitives_safeToString(e),Error_throwWithStackTrace(e,t){A.checkNotNullable(e,"error",D.Object),A.checkNotNullable(t,"stackTrace",D.StackTrace),A.Error__throw(e,t)},AssertionError$:e=>new A.AssertionError(e),ArgumentError$:(e,t)=>new A.ArgumentError(!1,null,t,e),ArgumentError$value:(e,t,r)=>new A.ArgumentError(!0,e,t,r),ArgumentError_checkNotNull:(e,t)=>e,RangeError$(e){var t=null;return new A.RangeError(t,t,!1,t,t,e)},RangeError$value:(e,t,r)=>new A.RangeError(null,null,!0,e,t,null==r?"Value not in range":r),RangeError$range:(e,t,r,n,i)=>new A.RangeError(t,r,!0,e,n,null==i?"Invalid value":i),RangeError_checkValueInInterval(e,t,r,n){if(e<t||e>r)throw A.wrapException(A.RangeError$range(e,t,r,n,null));return e},RangeError_checkValidRange(e,t,r){if(0>e||e>r)throw A.wrapException(A.RangeError$range(e,0,r,"start",null));if(null!=t){if(e>t||t>r)throw A.wrapException(A.RangeError$range(t,e,r,"end",null));return t}return r},RangeError_checkNotNegative(e,t){if(e<0)throw A.wrapException(A.RangeError$range(e,0,null,t,null));return e},IndexError$withLength:(e,t,r,n,i)=>new A.IndexError(t,!0,e,i,"Index out of range"),IndexError_check(e,t,r,n,i){if(0>e||e>=t)throw A.wrapException(A.IndexError$withLength(e,t,r,n,null==i?"index":i));return e},UnsupportedError$:e=>new A.UnsupportedError(e),UnimplementedError$:e=>new A.UnimplementedError(e),StateError$:e=>new A.StateError(e),ConcurrentModificationError$:e=>new A.ConcurrentModificationError(e),FormatException$:(e,t,r)=>new A.FormatException(e,t,r),Iterable_Iterable$generate:(e,t,r)=>e<=0?new A.EmptyIterable(r._eval$1("EmptyIterable<0>")):new A._GeneratorIterable(e,t,r._eval$1("_GeneratorIterable<0>")),Iterable_iterableToShortString(e,t,r){var n,i;if(A.isToStringVisiting(e))return"("===t&&")"===r?"(...)":t+"..."+r;n=A._setArrayType([],D.JSArray_String),I._toStringVisiting.push(e);try{A._iterablePartsToStrings(e,n)}finally{I._toStringVisiting.pop()}return(i=A.StringBuffer__writeAll(t,n,", ")+r).charCodeAt(0),i},Iterable_iterableToFullString(e,t,r){var n,i;if(A.isToStringVisiting(e))return t+"..."+r;n=new A.StringBuffer(t),I._toStringVisiting.push(e);try{(i=n)._contents=A.StringBuffer__writeAll(i._contents,e,", ")}finally{I._toStringVisiting.pop()}return n._contents+=r,(i=n._contents).charCodeAt(0),i},_iterablePartsToStrings(e,t){for(var r,n,i,o,s,a,l,c=e.get$iterator(e),u=0,d=0;u<80||d<3;){if(!c.moveNext$0())return;r=A.S(c.get$current(c)),t.push(r),u+=r.length+2,++d}if(c.moveNext$0())if(o=c.get$current(c),++d,c.moveNext$0()){for(s=c.get$current(c),++d;c.moveNext$0();o=s,s=a)if(a=c.get$current(c),++d>100){for(;u>75&&d>3;)u-=t.pop().length+2,--d;return void t.push("...")}i=A.S(o),u+=(n=A.S(s)).length+i.length+4}else{if(d<=4)return void t.push(A.S(o));n=A.S(o),i=t.pop(),u+=n.length+2}else{if(d<=5)return;n=t.pop(),i=t.pop()}for(d>t.length+2?(u+=5,l="..."):l=null;u>80&&t.length>3;)u-=t.pop().length+2,null==l&&(u+=5,l="...");null!=l&&t.push(l),t.push(i),t.push(n)},Map_castFrom:(e,t,r,n,i)=>new A.CastMap(e,t._eval$1("@<0>")._bind$1(r)._bind$1(n)._bind$1(i)._eval$1("CastMap<1,2,3,4>")),Object_hash(e,t,r,n){var i;return C.C_SentinelValue===r?(i=w.get$hashCode$(e),t=w.get$hashCode$(t),A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(I.$get$_hashSeed(),i),t))):C.C_SentinelValue===n?(i=w.get$hashCode$(e),t=w.get$hashCode$(t),r=w.get$hashCode$(r),A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(I.$get$_hashSeed(),i),t),r))):(i=w.get$hashCode$(e),t=w.get$hashCode$(t),r=w.get$hashCode$(r),n=w.get$hashCode$(n),n=A.SystemHash_finish(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(A.SystemHash_combine(I.$get$_hashSeed(),i),t),r),n)))},Object_hashAll(e){var t,r,n=I.$get$_hashSeed();for(t=e.length,r=0;r<e.length;e.length===t||(0,A.throwConcurrentModificationError)(e),++r)n=A.SystemHash_combine(n,w.get$hashCode$(e[r]));return A.SystemHash_finish(n)},print(e){var t=A.S(e),r=I.printToZone;null==r?A.printString(t):r.call$1(t)},Set_Set$unmodifiable:(e,t)=>new A.UnmodifiableSetView(A.LinkedHashSet_LinkedHashSet$of(e,t),t._eval$1("UnmodifiableSetView<0>")),Set_castFrom:(e,t,r,n)=>new A.CastSet(e,t,r._eval$1("@<0>")._bind$1(n)._eval$1("CastSet<1,2>")),_combineSurrogatePair:(e,t)=>65536+((1023&e)<<10)+(1023&t),Uri_Uri$dataFromString(e,t,r){var n,i,o=new A.StringBuffer(""),s=A._setArrayType([-1],D.JSArray_int);return n=null==t?null:"utf-8",null==t&&(t=C.C_AsciiCodec),A.UriData__writeUri(r,n,null,o,s),s.push(o._contents.length),o._contents+=",",A.UriData__uriEncodeBytes(256,t.encode$1(e),o),i=o._contents,new A.UriData((i.charCodeAt(0),i),s,null).get$uri()},Uri_parse(e){var t,r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y,$,x,S=null,w=e.length;if(w>=5){if(0===(t=(3*(58^e.charCodeAt(4))|100^e.charCodeAt(0)|97^e.charCodeAt(1)|116^e.charCodeAt(2)|97^e.charCodeAt(3))>>>0))return A.UriData__parse(w<w?C.JSString_methods.substring$2(e,0,w):e,5,S).get$uri();if(32===t)return A.UriData__parse(C.JSString_methods.substring$2(e,5,w),0,S).get$uri()}return(r=A.List_List$filled(8,0,!1,D.int))[0]=0,r[1]=-1,r[2]=-1,r[7]=-1,r[3]=0,r[4]=0,r[5]=w,r[6]=w,A._scan(e,0,w,0,r)>=14&&(r[7]=w),(n=r[1])>=0&&20===A._scan(e,0,n,20,r)&&(r[7]=n),i=r[2]+1,o=r[3],s=r[4],a=r[5],(l=r[6])<a&&(a=l),s<i?s=a:s<=n&&(s=n+1),o<i&&(o=s),u=S,(c=r[7]<0)&&(c=!1,i>n+3||(d=o>0)&&o+1===s||(h=!!C.JSString_methods.startsWith$2(e,"\\",s)||i>0&&(C.JSString_methods.startsWith$2(e,"\\",i-1)||C.JSString_methods.startsWith$2(e,"\\",i-2)))||((h=!!(a<w&&a===s+2&&C.JSString_methods.startsWith$2(e,"..",s))||a>s+2&&C.JSString_methods.startsWith$2(e,"/..",a-3))||(4===n?C.JSString_methods.startsWith$2(e,"file",0)?(i<=0?(C.JSString_methods.startsWith$2(e,"/",s)?(p="file://",t=2):(p="file:///",t=3),a+=t,l+=t,w=(e=p+C.JSString_methods.substring$2(e,s,w)).length,i=7,o=7,s=7):s===a&&(++l,m=a+1,e=C.JSString_methods.replaceRange$3(e,s,a,"/"),++w,a=m),u="file"):C.JSString_methods.startsWith$2(e,"http",0)&&(d&&o+3===s&&C.JSString_methods.startsWith$2(e,"80",o+1)&&(l-=3,_=s-3,a-=3,e=C.JSString_methods.replaceRange$3(e,o,s,""),w-=3,s=_),u="http"):5===n&&C.JSString_methods.startsWith$2(e,"https",0)&&(d&&o+4===s&&C.JSString_methods.startsWith$2(e,"443",o+1)&&(l-=4,_=s-4,a-=4,e=C.JSString_methods.replaceRange$3(e,o,s,""),w-=3,s=_),u="https")),c=!h)),c?new A._SimpleUri(w<e.length?C.JSString_methods.substring$2(e,0,w):e,n,i,o,s,a,l,u):(null==u&&(n>0?u=A._Uri__makeScheme(e,0,n):(0===n&&A._Uri__fail(e,0,"Invalid empty scheme"),u="")),g=S,i>0?(v=(f=n+3)<i?A._Uri__makeUserInfo(e,f,i-1):"",b=A._Uri__makeHost(e,i,o,!1),(d=o+1)<s&&(y=A.Primitives_parseInt(C.JSString_methods.substring$2(e,d,s),S),g=A._Uri__makePort(null==y?A.throwExpression(A.FormatException$("Invalid port",e,d)):y,u))):(b=S,v=""),$=A._Uri__makePath(e,s,a,S,u,null!=b),x=a<l?A._Uri__makeQuery(e,a+1,l,S):S,A._Uri$_internal(u,v,b,g,$,x,l<w?A._Uri__makeFragment(e,l+1,w):S))},Uri_decodeComponent:e=>A._Uri__uriDecode(e,0,e.length,C.C_Utf8Codec,!1),Uri__ipv4FormatError(e,t,r){throw A.wrapException(A.FormatException$("Illegal IPv4 address, "+e,t,r))},Uri__parseIPv4Address(e,t,r,n,i){var o,s,a,l,c,u,d,h,p="invalid character";for(o=0|n.$flags,a=s=t,l=0,c=0;;){if((d=48^(u=a>=r?0:e.charCodeAt(a)))<=9){if(0!==c||a===s){if((c=10*c+d)<=255){++a;continue}A.Uri__ipv4FormatError("each part must be in the range 0..255",e,s)}A.Uri__ipv4FormatError("parts must not have leading zeros",e,s)}if(a===s){if(a===r)break;A.Uri__ipv4FormatError(p,e,a)}if(h=l+1,2&o&&A.throwUnsupportedOperation(n),n[i+l]=c,46===u){if(h<4){l=h,s=++a,c=0;continue}break}if(a===r){if(4===h)return;break}A.Uri__ipv4FormatError(p,e,a),l=h}A.Uri__ipv4FormatError("IPv4 address should contain exactly 4 parts",e,a)},Uri__validateIPvAddress(e,t,r){var n;if(t===r)throw A.wrapException(A.FormatException$("Empty IP address",e,t));if(118===e.charCodeAt(t)){if(null!=(n=A.Uri__validateIPvFutureAddress(e,t,r)))throw A.wrapException(n);return!1}return A.Uri_parseIPv6Address(e,t,r),!0},Uri__validateIPvFutureAddress(e,t,r){var n,i,o,s,a="Missing hex-digit in IPvFuture address";for(n=++t;;n=i){if(n<r){if(i=n+1,(48^(o=e.charCodeAt(n)))<=9)continue;if((s=32|o)>=97&&s<=102)continue;if(46===o){if(i-1===t)return new A.FormatException(a,e,i);n=i;break}return new A.FormatException("Unexpected character",e,i-1)}return n-1===t?new A.FormatException(a,e,n):new A.FormatException("Missing '.' in IPvFuture address",e,n)}if(n===r)return new A.FormatException("Missing address in IPvFuture address, host, cursor",null,null);for(;;){if(16&P.x00_____.charCodeAt(e.charCodeAt(n))){if(++n<r)continue;return null}return new A.FormatException("Invalid IPvFuture address character",e,n)}},Uri_parseIPv6Address(e,t,r){var n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b="an address must contain at most 8 parts",y=new A.Uri_parseIPv6Address_error(e);for(r-t<2&&y.call$2("address is too short",null),n=new Uint8Array(16),i=-1,o=0,58===e.charCodeAt(t)?58===e.charCodeAt(t+1)?(a=s=t+2,i=0,o=1):(y.call$2("invalid start colon",t),a=s=t):a=s=t,l=0,c=!0;;){e:{if((d=48^(u=s>=r?0:e.charCodeAt(s)))<=9)h=d;else{if(!((p=32|u)>=97&&p<=102))break e;h=p-87,c=false}if(s<a+4){l=16*l+h,++s;continue}y.call$2("an IPv6 part can contain a maximum of 4 hex digits",a)}if(s>a){if(46===u){if(c){if(o<=6){A.Uri__parseIPv4Address(e,a,r,n,2*o),o+=2,s=r;break}y.call$2(b,a)}break}if(n[m=2*o]=C.JSInt_methods._shrOtherPositive$1(l,8),n[m+1]=255&l,++o,58===u){if(o<8){a=++s,l=0,c=!0;continue}y.call$2(b,s)}break}if(58===u){if(i<0){i=o,o=o+1,a=++s;continue}y.call$2("only one wildcard `::` is allowed",s)}i!==o-1&&y.call$2("missing part",s);break}return s<r&&y.call$2("invalid character",s),o<8&&(i<0&&y.call$2("an address without a wildcard must contain exactly 8 parts",r),(g=o-(_=i+1))>0&&(f=2*_,v=16-2*g,C.NativeUint8List_methods.setRange$4(n,v,16,n,f),C.NativeUint8List_methods.fillRange$3(n,f,v,0))),n},_Uri$_internal:(e,t,r,n,i,o,s)=>new A._Uri(e,t,r,n,i,o,s),_Uri__Uri(e,t,r,n){var i,o,s,a,l,c,u,d,h=null;return n=null==n?"":A._Uri__makeScheme(n,0,n.length),i=A._Uri__makeUserInfo(h,0,0),e=A._Uri__makeHost(e,0,null==e?0:e.length,!1),o=A._Uri__makeQuery(h,0,0,h),s=A._Uri__makeFragment(h,0,0),a=A._Uri__makePort(h,n),l="file"===n,(c=null==e&&(0!==i.length||null!=a||l))&&(e=""),u=!(c=null==e),t=A._Uri__makePath(t,0,null==t?0:t.length,r,n,u),t=(d=0===n.length)&&c&&!C.JSString_methods.startsWith$1(t,"/")?A._Uri__normalizeRelativePath(t,!d||u):A._Uri__removeDotSegments(t),A._Uri$_internal(n,i,c&&C.JSString_methods.startsWith$1(t,"//")?"":e,a,t,o,s)},_Uri__defaultPort:e=>"http"===e?80:"https"===e?443:0,_Uri__fail(e,t,r){throw A.wrapException(A.FormatException$(r,e,t))},_Uri__Uri$file:(e,t)=>t?A._Uri__makeWindowsFileUrl(e,!1):A._Uri__makeFileUri(e,!1),_Uri__checkNonWindowsPathReservedCharacters(e,t){var r,n,i;for(r=e.length,n=0;n<r;++n)if(i=e[n],A.stringContainsUnchecked(i,"/",0))throw r=A.UnsupportedError$("Illegal path character "+i),A.wrapException(r)},_Uri__checkWindowsPathReservedCharacters(e,t,r){var n,i,o,s;for(i=(n=A.SubListIterable$(e,r,null,A._arrayInstanceType(e)._precomputed1)).$ti,n=new A.ListIterator(n,n.get$length(0),i._eval$1("ListIterator<ListIterable.E>")),i=i._eval$1("ListIterable.E");n.moveNext$0();)if(null==(o=n.__internal$_current)&&(o=i._as(o)),s=A.RegExp_RegExp('["*/:<>?\\\\|]',!1),A.stringContainsUnchecked(o,s,0))throw t?A.wrapException(A.ArgumentError$("Illegal character in path",null)):A.wrapException(A.UnsupportedError$("Illegal character in path: "+o))},_Uri__checkWindowsDriveLetter(e,t){var r="Illegal drive letter ";if(!(65<=e&&e<=90||97<=e&&e<=122))throw t?A.wrapException(A.ArgumentError$(r+A.String_String$fromCharCode(e),null)):A.wrapException(A.UnsupportedError$(r+A.String_String$fromCharCode(e)))},_Uri__makeFileUri(e,t){var r=null,n=A._setArrayType(e.split("/"),D.JSArray_String);return C.JSString_methods.startsWith$1(e,"/")?A._Uri__Uri(r,r,n,"file"):A._Uri__Uri(r,r,n,r)},_Uri__makeWindowsFileUrl(e,t){var r,n,i,o,s="\\",a=null,l="file";if(C.JSString_methods.startsWith$1(e,"\\\\?\\")){if(C.JSString_methods.startsWith$2(e,"UNC\\",4))e=C.JSString_methods.replaceRange$3(e,0,7,s);else if((e=C.JSString_methods.substring$1(e,4)).length<3||58!==e.charCodeAt(1)||92!==e.charCodeAt(2))throw A.wrapException(A.ArgumentError$value(e,"path","Windows paths with \\\\?\\ prefix must be absolute"))}else e=A.stringReplaceAllUnchecked(e,"/",s);if((r=e.length)>1&&58===e.charCodeAt(1)){if(A._Uri__checkWindowsDriveLetter(e.charCodeAt(0),!0),2===r||92!==e.charCodeAt(2))throw A.wrapException(A.ArgumentError$value(e,"path","Windows paths with drive letter must be absolute"));return n=A._setArrayType(e.split(s),D.JSArray_String),A._Uri__checkWindowsPathReservedCharacters(n,!0,1),A._Uri__Uri(a,a,n,l)}return C.JSString_methods.startsWith$1(e,s)?C.JSString_methods.startsWith$2(e,s,1)?(o=(r=(i=C.JSString_methods.indexOf$2(e,s,2))<0)?C.JSString_methods.substring$1(e,2):C.JSString_methods.substring$2(e,2,i),n=A._setArrayType((r?"":C.JSString_methods.substring$1(e,i+1)).split(s),D.JSArray_String),A._Uri__checkWindowsPathReservedCharacters(n,!0,0),A._Uri__Uri(o,a,n,l)):(n=A._setArrayType(e.split(s),D.JSArray_String),A._Uri__checkWindowsPathReservedCharacters(n,!0,0),A._Uri__Uri(a,a,n,l)):(n=A._setArrayType(e.split(s),D.JSArray_String),A._Uri__checkWindowsPathReservedCharacters(n,!0,0),A._Uri__Uri(a,a,n,a))},_Uri__makePort:(e,t)=>null!=e&&e===A._Uri__defaultPort(t)?null:e,_Uri__makeHost(e,t,r,n){var i,o,s,a,l,c,u,d;if(null==e)return null;if(t===r)return"";if(91===e.charCodeAt(t))return i=r-1,93!==e.charCodeAt(i)&&A._Uri__fail(e,t,"Missing end `]` to match `[` in host"),o=t+1,s="",118!==e.charCodeAt(o)&&((a=A._Uri__checkZoneID(e,o,i))<i&&(l=a+1,s=A._Uri__normalizeZoneID(e,C.JSString_methods.startsWith$2(e,"25",l)?a+3:l,i,"%25")),i=a),c=A.Uri__validateIPvAddress(e,o,i),u=C.JSString_methods.substring$2(e,o,i),"["+(c?u.toLowerCase():u)+s+"]";for(d=t;d<r;++d)if(58===e.charCodeAt(d))return(i=(i=C.JSString_methods.indexOf$2(e,"%",t))>=t&&i<r?i:r)<r?(l=i+1,s=A._Uri__normalizeZoneID(e,C.JSString_methods.startsWith$2(e,"25",l)?i+3:l,r,"%25")):s="",A.Uri_parseIPv6Address(e,t,i),"["+C.JSString_methods.substring$2(e,t,i)+s+"]";return A._Uri__normalizeRegName(e,t,r)},_Uri__checkZoneID(e,t,r){var n=C.JSString_methods.indexOf$2(e,"%",t);return n>=t&&n<r?n:r},_Uri__normalizeZoneID(e,t,r,n){var i,o,s,a,l,c,u,d,h,p,m=""!==n?new A.StringBuffer(n):null;for(o=i=t,s=!0;i<r;)if(37===(a=e.charCodeAt(i))){if((c=null==(l=A._Uri__normalizeEscape(e,i,!0)))&&s){i+=3;continue}null==m&&(m=new A.StringBuffer("")),u=m._contents+=C.JSString_methods.substring$2(e,o,i),c?l=C.JSString_methods.substring$2(e,i,i+3):"%"===l&&A._Uri__fail(e,i,"ZoneID should not contain % anymore"),m._contents=u+l,o=i+=3,s=!0}else a<127&&1&P.x00_____.charCodeAt(a)?(s&&65<=a&&90>=a&&(null==m&&(m=new A.StringBuffer("")),o<i&&(m._contents+=C.JSString_methods.substring$2(e,o,i),o=i),s=!1),++i):(d=1,55296==(64512&a)&&i+1<r&&56320==(64512&(h=e.charCodeAt(i+1)))&&(a=65536+((1023&a)<<10)+(1023&h),d=2),p=C.JSString_methods.substring$2(e,o,i),(c=null==m?m=new A.StringBuffer(""):m)._contents+=p,u=A._Uri__escapeChar(a),c._contents+=u,o=i+=d);return null==m?C.JSString_methods.substring$2(e,t,r):(o<r&&(p=C.JSString_methods.substring$2(e,o,r),m._contents+=p),(c=m._contents).charCodeAt(0),c)},_Uri__normalizeRegName(e,t,r){var n,i,o,s,a,l,c,u,d,h,p,m=P.x00_____;for(i=n=t,o=null,s=!0;n<r;)if(37===(a=e.charCodeAt(n))){if((c=null==(l=A._Uri__normalizeEscape(e,n,!0)))&&s){n+=3;continue}null==o&&(o=new A.StringBuffer("")),u=C.JSString_methods.substring$2(e,i,n),s||(u=u.toLowerCase()),d=o._contents+=u,h=3,c?l=C.JSString_methods.substring$2(e,n,n+3):"%"===l&&(l="%25",h=1),o._contents=d+l,i=n+=h,s=!0}else a<127&&32&m.charCodeAt(a)?(s&&65<=a&&90>=a&&(null==o&&(o=new A.StringBuffer("")),i<n&&(o._contents+=C.JSString_methods.substring$2(e,i,n),i=n),s=!1),++n):a<=93&&1024&m.charCodeAt(a)?A._Uri__fail(e,n,"Invalid character"):(h=1,55296==(64512&a)&&n+1<r&&56320==(64512&(p=e.charCodeAt(n+1)))&&(a=65536+((1023&a)<<10)+(1023&p),h=2),u=C.JSString_methods.substring$2(e,i,n),s||(u=u.toLowerCase()),(c=null==o?o=new A.StringBuffer(""):o)._contents+=u,d=A._Uri__escapeChar(a),c._contents+=d,i=n+=h);return null==o?C.JSString_methods.substring$2(e,t,r):(i<r&&(u=C.JSString_methods.substring$2(e,i,r),s||(u=u.toLowerCase()),o._contents+=u),(c=o._contents).charCodeAt(0),c)},_Uri__makeScheme(e,t,r){var n,i,o;if(t===r)return"";for(A._Uri__isAlphabeticCharacter(e.charCodeAt(t))||A._Uri__fail(e,t,"Scheme not starting with alphabetic character"),n=t,i=!1;n<r;++n)(o=e.charCodeAt(n))<128&&8&P.x00_____.charCodeAt(o)||A._Uri__fail(e,n,"Illegal scheme character"),65<=o&&o<=90&&(i=!0);return e=C.JSString_methods.substring$2(e,t,r),A._Uri__canonicalizeScheme(i?e.toLowerCase():e)},_Uri__canonicalizeScheme:e=>"http"===e?"http":"file"===e?"file":"https"===e?"https":"package"===e?"package":e,_Uri__makeUserInfo:(e,t,r)=>null==e?"":A._Uri__normalizeOrSubstring(e,t,r,16,!1,!1),_Uri__makePath(e,t,r,n,i,o){var s,a="file"===i,l=a||o;if(null==e){if(null==n)return a?"/":"";s=new A.MappedListIterable(n,new A._Uri__makePath_closure,A._arrayInstanceType(n)._eval$1("MappedListIterable<1,String>")).join$1(0,"/")}else{if(null!=n)throw A.wrapException(A.ArgumentError$("Both path and pathSegments specified",null));s=A._Uri__normalizeOrSubstring(e,t,r,128,!0,!0)}if(0===s.length){if(a)return"/"}else l&&!C.JSString_methods.startsWith$1(s,"/")&&(s="/"+s);return A._Uri__normalizePath(s,i,o)},_Uri__normalizePath(e,t,r){var n=0===t.length;return!n||r||C.JSString_methods.startsWith$1(e,"/")||C.JSString_methods.startsWith$1(e,"\\")?A._Uri__removeDotSegments(e):A._Uri__normalizeRelativePath(e,!n||r)},_Uri__makeQuery:(e,t,r,n)=>null!=e?A._Uri__normalizeOrSubstring(e,t,r,256,!0,!1):null,_Uri__makeFragment:(e,t,r)=>null==e?null:A._Uri__normalizeOrSubstring(e,t,r,256,!0,!1),_Uri__normalizeEscape(e,t,r){var n,i,o,s,a,l=t+2;return l>=e.length?"%":(n=e.charCodeAt(t+1),i=e.charCodeAt(l),o=A.hexDigitValue(n),s=A.hexDigitValue(i),o<0||s<0?"%":(a=16*o+s)<127&&1&P.x00_____.charCodeAt(a)?A.Primitives_stringFromCharCode(r&&65<=a&&90>=a?(32|a)>>>0:a):n>=97||i>=97?C.JSString_methods.substring$2(e,t,t+3).toUpperCase():null)},_Uri__escapeChar(e){var t,r,n,i,o,s="0123456789ABCDEF";if(e<=127)(t=new Uint8Array(3))[0]=37,t[1]=s.charCodeAt(e>>>4),t[2]=s.charCodeAt(15&e);else for(e>2047?e>65535?(r=240,n=4):(r=224,n=3):(r=192,n=2),t=new Uint8Array(3*n),i=0;--n>=0;r=128)o=63&C.JSInt_methods._shrReceiverPositive$1(e,6*n)|r,t[i]=37,t[i+1]=s.charCodeAt(o>>>4),t[i+2]=s.charCodeAt(15&o),i+=3;return A.String_String$fromCharCodes(t,0,null)},_Uri__normalizeOrSubstring(e,t,r,n,i,o){var s=A._Uri__normalize(e,t,r,n,i,o);return null==s?C.JSString_methods.substring$2(e,t,r):s},_Uri__normalize(e,t,r,n,i,o){var s,a,l,c,u,d,h,p,m,_=null,g=P.x00_____;for(s=!i,l=a=t,c=_;a<r;)if((u=e.charCodeAt(a))<127&&0!==(g.charCodeAt(u)&n))++a;else{if(d=1,37===u){if(null==(h=A._Uri__normalizeEscape(e,a,!1))){a+=3;continue}"%"===h?h="%25":d=3}else 92===u&&o?h="/":s&&u<=93&&1024&g.charCodeAt(u)?(A._Uri__fail(e,a,"Invalid character"),h=d=_):(55296==(64512&u)&&(p=a+1)<r&&56320==(64512&(m=e.charCodeAt(p)))&&(u=65536+((1023&u)<<10)+(1023&m),d=2),h=A._Uri__escapeChar(u));(p=null==c?c=new A.StringBuffer(""):c)._contents=(p._contents+=C.JSString_methods.substring$2(e,l,a))+h,l=a+=d}return null==c?_:(l<r&&(s=C.JSString_methods.substring$2(e,l,r),c._contents+=s),(s=c._contents).charCodeAt(0),s)},_Uri__mayContainDotSegments:e=>!!C.JSString_methods.startsWith$1(e,".")||-1!==C.JSString_methods.indexOf$1(e,"/."),_Uri__removeDotSegments(e){var t,r,n,i,o,s;if(!A._Uri__mayContainDotSegments(e))return e;for(t=A._setArrayType([],D.JSArray_String),n=(r=e.split("/")).length,i=!1,o=0;o<n;++o)".."===(s=r[o])?(0!==t.length&&(t.pop(),0===t.length&&t.push("")),i=!0):(i="."===s)||t.push(s);return i&&t.push(""),C.JSArray_methods.join$1(t,"/")},_Uri__normalizeRelativePath(e,t){var r,n,i,o,s,a;if(!A._Uri__mayContainDotSegments(e))return t?e:A._Uri__escapeScheme(e);for(r=A._setArrayType([],D.JSArray_String),i=(n=e.split("/")).length,o=!1,s=0;s<i;++s)".."===(a=n[s])?(0!==r.length&&".."!==C.JSArray_methods.get$last(r)?r.pop():r.push(".."),o=!0):(o="."===a)||r.push(0===a.length&&0===r.length?"./":a);return 0===r.length?"./":(o&&r.push(""),t||(r[0]=A._Uri__escapeScheme(r[0])),C.JSArray_methods.join$1(r,"/"))},_Uri__escapeScheme(e){var t,r,n=e.length;if(n>=2&&A._Uri__isAlphabeticCharacter(e.charCodeAt(0)))for(t=1;t<n;++t){if(58===(r=e.charCodeAt(t)))return C.JSString_methods.substring$2(e,0,t)+"%3A"+C.JSString_methods.substring$1(e,t+1);if(r>127||!(8&P.x00_____.charCodeAt(r)))break}return e},_Uri__packageNameEnd:(e,t)=>e.isScheme$1("package")&&null==e._host?A._skipPackageNameChars(t,0,t.length):-1,_Uri__toWindowsFilePath(e){var t,r,n,i=e.get$pathSegments(),o=i.length;return(r=o>0&&(2===(t=i[0]).length&&58===t.charCodeAt(1)))?(A._Uri__checkWindowsDriveLetter(i[0].charCodeAt(0),!1),A._Uri__checkWindowsPathReservedCharacters(i,!1,1)):A._Uri__checkWindowsPathReservedCharacters(i,!1,0),t=e.get$hasAbsolutePath()&&!r?"\\":"",e.get$hasAuthority()&&0!==(n=e.get$host()).length&&(t=t+"\\"+n+"\\"),t=A.StringBuffer__writeAll(t,i,"\\"),(o=r&&1===o?t+"\\":t).charCodeAt(0),o},_Uri__hexCharPairToByte(e,t){var r,n,i;for(r=0,n=0;n<2;++n)if(48<=(i=e.charCodeAt(t+n))&&i<=57)r=16*r+i-48;else{if(!(97<=(i|=32)&&i<=102))throw A.wrapException(A.ArgumentError$("Invalid URL encoding",null));r=16*r+i-87}return r},_Uri__uriDecode(e,t,r,n,i){for(var o,s,a,l,c=t;;){if(!(c<r)){o=!0;break}if(a=!((s=e.charCodeAt(c))<=127)||37===s){o=!1;break}++c}if(o){if(C.C_Utf8Codec===n)return C.JSString_methods.substring$2(e,t,r);l=new A.CodeUnits(C.JSString_methods.substring$2(e,t,r))}else for(l=A._setArrayType([],D.JSArray_int),a=e.length,c=t;c<r;++c){if((s=e.charCodeAt(c))>127)throw A.wrapException(A.ArgumentError$("Illegal percent encoding in URI",null));if(37===s){if(c+3>a)throw A.wrapException(A.ArgumentError$("Truncated URI",null));l.push(A._Uri__hexCharPairToByte(e,c+1)),c+=2}else l.push(s)}return C.Utf8Decoder_false.convert$1(l)},_Uri__isAlphabeticCharacter(e){var t=32|e;return 97<=t&&t<=122},UriData__writeUri(e,t,r,n,i){var o,s;if((o=null==e||10===e.length&&A._caseInsensitiveCompareStart("text/plain",e,0)>=0)&&(e=""),0===e.length||"application/octet-stream"===e)o=n._contents+=e;else{if((s=A.UriData__validateMimeType(e))<0)throw A.wrapException(A.ArgumentError$value(e,"mimeType","Invalid MIME type"));o=A._Uri__uriEncode(512,C.JSString_methods.substring$2(e,0,s),C.C_Utf8Codec,!1),n._contents=(n._contents+=o)+"/",o=A._Uri__uriEncode(512,C.JSString_methods.substring$1(e,s+1),C.C_Utf8Codec,!1),o=n._contents+=o}null!=t&&(i.push(o.length),i.push(n._contents.length+8),n._contents+=";charset=",o=A._Uri__uriEncode(512,t,C.C_Utf8Codec,!1),n._contents+=o)},UriData__validateMimeType(e){var t,r,n;for(t=e.length,r=-1,n=0;n<t;++n)if(47===e.charCodeAt(n)){if(!(r<0))return-1;r=n}return r},UriData__parse(e,t,r){var n,i,o,s,a,l,c,u,d="Invalid MIME type",h=A._setArrayType([t-1],D.JSArray_int);for(n=e.length,i=t,o=-1,s=null;i<n&&(44!==(s=e.charCodeAt(i))&&59!==s);++i)if(47===s){if(o<0){o=i;continue}throw A.wrapException(A.FormatException$(d,e,i))}if(o<0&&i>t)throw A.wrapException(A.FormatException$(d,e,i));for(;44!==s;){for(h.push(i),++i,a=-1;i<n;++i)if(61===(s=e.charCodeAt(i)))a<0&&(a=i);else if(59===s||44===s)break;if(!(a>=0)){if(l=C.JSArray_methods.get$last(h),44!==s||i!==l+7||!C.JSString_methods.startsWith$2(e,"base64",l+1))throw A.wrapException(A.FormatException$("Expecting '='",e,i));break}h.push(a)}return h.push(i),c=i+1,1&~h.length?null!=(u=A._Uri__normalize(e,c,n,256,!0,!1))&&(e=C.JSString_methods.replaceRange$3(e,c,n,u)):e=C.C_Base64Codec.normalize$3(e,c,n),new A.UriData(e,h,r)},UriData__uriEncodeBytes(e,t,r){var n,i,o,s,a,l="0123456789ABCDEF";for(n=t.length,i=0,o=0;o<n;++o)i|=s=t[o],s<128&&0!==(P.x00_____.charCodeAt(s)&e)?(a=A.Primitives_stringFromCharCode(s),r._contents+=a):(a=A.Primitives_stringFromCharCode(37),r._contents+=a,a=A.Primitives_stringFromCharCode(l.charCodeAt(s>>>4)),r._contents+=a,a=A.Primitives_stringFromCharCode(l.charCodeAt(15&s)),r._contents+=a);if(4294967040&i)for(o=0;o<n;++o)if((s=t[o])>255)throw A.wrapException(A.ArgumentError$value(s,"non-byte value",null))},_scan(e,t,r,n,i){var o,s,a;for(o=t;o<r;++o)(s=96^e.charCodeAt(o))>95&&(s=31),n=31&(a='áááááááãáááá�á"áá¬áááááááêáááá�á\n"áá¬ë‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹ëëë‹ë닋‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹‹ëƒëë‹ë‹ë�‹ë‹‹‹‹‹‹‹‹’ƒ‹‹‹‹‹‹‹‹‹‹ë‹ë‹ë¬ë\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\vëëë\vëë\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\vëDëë\vë\vë�\vë\v\v\v\v\v\v\v\vD\v\v\v\v\v\v\v\v\v\vë\vë\vë¬åååååDååååååååååååååååååååååååååèŠåååå�åŠfåå¬åååååDåååååååååååååååååååååååååååŠåååå�åŠfåå¬ççççççççççççççççççççççççççççççççDçççççççççççççççççççççççççççŠçççççç�çççççççççççŠçççççç¬ççççççççççççççççççççççççççççççççDçççççççççççççççççççççççççççŠçççççç�çççççççççççŠççççç¬\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\b\bë\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\vëëë\vëë\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\vëêëë\vë\vë�\vë\v\v\v\v\v\v\v\vê\v\v\v\v\v\v\v\v\v\vë\vë\vë¬ë\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\vëëë\vëë\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\vëêëë\vë\vë�\vë\v\v\v\v\v\v\v\v\n\v\v\v\v\v\v\v\v\v\vë\vë\vë¬ë\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\vëëë\vëë\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\vëêëë\vë\vë�\vë\v\v\v\v\v\v\v\v\v\n\v\v\v\v\v\v\v\v\v\vë\vë\vë¬ì\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\fììì\fìì\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\f\fìììì\fì\fì�\fì\f\f\f\f\f\f\f\f\fì\f\f\f\f\f\f\f\f\f\fì\fì\fì\fí\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\rííí\ríí\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\r\ríííí\rí\ríí\rí\r\r\r\r\r\r\r\r\rí\r\r\r\r\r\r\r\r\r\rí\rí\rí\ráááááááêáááá�áê"áá¬áááááááéáááá�á\t"áá¬ë\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\vëëë\vëë\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\vëêëë\vë\vë�\vë\v\v\v\v\v\v\v\vê\v\v\v\v\v\v\v\v\v\vë\vë\vë¬ë\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\vëëë\vëë\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\vëéëë\vë\vë�\vë\v\v\v\v\v\v\v\v\v\t\v\v\v\v\v\v\v\v\v\vë\vë\vë¬ë\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\vëëë\vëë\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\vëêëë\vë\vë�\vë\v\v\v\v\v\v\v\vê\v\v\v\v\v\v\v\v\v\vë\vë\vë¬ë\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\vëëë\vëë\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\v\vëêëë\vë\vë�\vë\v\v\v\v\v\v\v\v\vê\v\v\v\v\v\v\v\v\v\vë\vë\vë¬õõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõõ'.charCodeAt(96*n+s)),i[a>>>5]=o;return n},_SimpleUri__packageNameEnd:e=>7===e._schemeEnd&&C.JSString_methods.startsWith$1(e._uri,"package")&&e._hostStart<=0?A._skipPackageNameChars(e._uri,e._pathStart,e._queryStart):-1,_skipPackageNameChars(e,t,r){var n,i,o;for(n=t,i=0;n<r;++n){if(47===(o=e.charCodeAt(n)))return 0!==i?n:-1;if(37===o||58===o)return-1;i|=46^o}return-1},_caseInsensitiveCompareStart(e,t,r){var n,i,o,s,a,l;for(n=e.length,i=0,o=0;o<n;++o)if(s=t.charCodeAt(r+o),0!==(a=e.charCodeAt(o)^s)){if(32===a&&97<=(l=s|a)&&l<=122){i=32;continue}return-1}return i},NoSuchMethodError_toString_closure:function(e,t){this._box_0=e,this.sb=t},DateTime:function(e,t,r){this._value=e,this._microsecond=t,this.isUtc=r},Duration:function(e){this._duration=e},_Enum:function(){},Error:function(){},AssertionError:function(e){this.message=e},TypeError:function(){},ArgumentError:function(e,t,r,n){var i=this;i._hasValue=e,i.invalidValue=t,i.name=r,i.message=n},RangeError:function(e,t,r,n,i,o){var s=this;s.start=e,s.end=t,s._hasValue=r,s.invalidValue=n,s.name=i,s.message=o},IndexError:function(e,t,r,n,i){var o=this;o.length=e,o._hasValue=t,o.invalidValue=r,o.name=n,o.message=i},NoSuchMethodError:function(e,t,r,n){var i=this;i._core$_receiver=e,i._memberName=t,i._core$_arguments=r,i._namedArguments=n},UnsupportedError:function(e){this.message=e},UnimplementedError:function(e){this.message=e},StateError:function(e){this.message=e},ConcurrentModificationError:function(e){this.modifiedObject=e},OutOfMemoryError:function(){},StackOverflowError:function(){},_Exception:function(e){this.message=e},FormatException:function(e,t,r){this.message=e,this.source=t,this.offset=r},Iterable:function(){},_GeneratorIterable:function(e,t,r){this.length=e,this._generator=t,this.$ti=r},MapEntry:function(e,t,r){this.key=e,this.value=t,this.$ti=r},Null:function(){},Object:function(){},_StringStackTrace:function(e){this._stackTrace=e},Runes:function(e){this.string=e},RuneIterator:function(e){var t=this;t.string=e,t._nextPosition=t._position=0,t._currentCodePoint=-1},StringBuffer:function(e){this._contents=e},Uri_parseIPv6Address_error:function(e){this.host=e},_Uri:function(e,t,r,n,i,o,s){var a=this;a.scheme=e,a._userInfo=t,a._host=r,a._port=n,a.path=i,a._query=o,a._fragment=s,a.___Uri_hashCode_FI=a.___Uri_pathSegments_FI=a.___Uri__text_FI=I},_Uri__makePath_closure:function(){},UriData:function(e,t,r){this._text=e,this._separatorIndices=t,this._uriCache=r},_SimpleUri:function(e,t,r,n,i,o,s,a){var l=this;l._uri=e,l._schemeEnd=t,l._hostStart=r,l._portStart=n,l._pathStart=i,l._queryStart=o,l._fragmentStart=s,l._schemeCache=a,l._hashCodeCache=null},_DataUri:function(e,t,r,n,i,o,s){var a=this;a.scheme=e,a._userInfo=t,a._host=r,a._port=n,a.path=i,a._query=o,a._fragment=s,a.___Uri_hashCode_FI=a.___Uri_pathSegments_FI=a.___Uri__text_FI=I},Expando:function(e){this._jsWeakMap=e},NullRejectionException:function(e){this.isUndefined=e},_convertDartFunctionFast(e){var t,r=e.$dart_jsFunction;return null!=r?r:(t=function(e,t){return function(){return e(t,Array.prototype.slice.apply(arguments))}}(A._callDartFunctionFast,e),t[I.$get$DART_CLOSURE_PROPERTY_NAME()]=e,e.$dart_jsFunction=t,t)},_convertDartFunctionFastCaptureThis(e){var t,r=e._$dart_jsFunctionCaptureThis;return null!=r?r:(t=function(e,t){return function(){return e(t,this,Array.prototype.slice.apply(arguments))}}(A._callDartFunctionFastCaptureThis,e),t[I.$get$DART_CLOSURE_PROPERTY_NAME()]=e,e._$dart_jsFunctionCaptureThis=t,t)},_callDartFunctionFast:(e,t)=>A.Function_apply(e,t),_callDartFunctionFastCaptureThis(e,t,r){var n=[t];return C.JSArray_methods.addAll$1(n,r),A.Function_apply(e,n)},allowInterop:e=>"function"==typeof e?e:A._convertDartFunctionFast(e),allowInteropCaptureThis(e){if("function"==typeof e)throw A.wrapException(A.ArgumentError$("Function is already a JS function so cannot capture this.",null));return A._convertDartFunctionFastCaptureThis(e)},_callDartFunctionFast2:(e,t,r,n)=>n>=2?e.call$2(t,r):1===n?e.call$1(t):e.call$0(),_noJsifyRequired:e=>null==e||A._isBool(e)||"number"==typeof e||"string"==typeof e||D.Int8List._is(e)||D.Uint8List._is(e)||D.Uint8ClampedList._is(e)||D.Int16List._is(e)||D.Uint16List._is(e)||D.Int32List._is(e)||D.Uint32List._is(e)||D.Float32List._is(e)||D.Float64List._is(e)||D.ByteBuffer._is(e)||D.ByteData._is(e),jsify:e=>A._noJsifyRequired(e)?e:new A.jsify__convert(new A._IdentityHashMap(D._IdentityHashMap_of_nullable_Object_and_nullable_Object)).call$1(e),_callMethodUnchecked0:(e,t)=>e[t](),callConstructor(e,t){var r;if(t instanceof Array)switch(t.length){case 0:return new e;case 1:return new e(t[0]);case 2:return new e(t[0],t[1]);case 3:return new e(t[0],t[1],t[2]);case 4:return new e(t[0],t[1],t[2],t[3])}return r=[null],C.JSArray_methods.addAll$1(r,t),new(e.bind.apply(e,r))},promiseToFuture(e,t){var r=new A._Future(I.Zone__current,t._eval$1("_Future<0>")),n=new A._AsyncCompleter(r,t._eval$1("_AsyncCompleter<0>"));return e.then(A.convertDartClosureToJS(new A.promiseToFuture_closure(n),1),A.convertDartClosureToJS(new A.promiseToFuture_closure0(n),1)),r},jsify__convert:function(e){this._convertedObjects=e},promiseToFuture_closure:function(e){this.completer=e},promiseToFuture_closure0:function(e){this.completer=e},max:(e,t)=>Math.max(e,t),pow:(e,t)=>Math.pow(e,t),Random_Random:()=>C.C__JSRandom,_JSRandom:function(){},ArgParser:function(e,t,r,n,i,o,s){var a=this;a._arg_parser$_options=e,a._aliases=t,a.options=r,a.commands=n,a._optionsAndSeparators=i,a.allowTrailingOptions=o,a.usageLineLength=s},ArgParser__addOption_closure:function(e){this.$this=e},ArgParserException$:(e,t,r,n,i)=>new A.ArgParserException(null==t?C.List_empty:A.List_List$unmodifiable(t,D.String),r,e,n,i),ArgParserException:function(e,t,r,n,i){var o=this;o.commands=e,o.argumentName=t,o.message=r,o.source=n,o.offset=i},ArgResults:function(e,t,r,n){var i=this;i._parser=e,i._parsed=t,i.name=r,i.rest=n},Option:function(e,t,r,n,i,o,s,a,l,c,u,d,h,p){var m=this;m.name=e,m.abbr=t,m.help=r,m.valueHelp=n,m.allowed=i,m.allowedHelp=o,m.defaultsTo=s,m.negatable=a,m.hideNegatedUsage=l,m.callback=c,m.type=u,m.splitCommas=d,m.mandatory=h,m.hide=p},OptionType:function(e){this.name=e},Parser$(e,t,r,n,i){var o=A._setArrayType([],D.JSArray_String);return null!=i&&C.JSArray_methods.addAll$1(o,i),new A.Parser0(e,n,t,r,o,A.LinkedHashMap_LinkedHashMap$_empty(D.String,D.dynamic))},_isLetterOrDigit(e){var t=!0;return e>=65&&e<=90||e>=97&&e<=122||(t=e>=48&&e<=57),t},Parser0:function(e,t,r,n,i,o){var s=this;s._commandName=e,s._parser$_parent=t,s._grammar=r,s._args=n,s._parser$_rest=i,s._results=o},Parser_parse_closure:function(e){this.$this=e},Parser__setOption_closure:function(){},_Usage:function(e,t,r){var n=this;n._usage$_optionsAndSeparators=e,n._usage$_buffer=t,n._currentColumn=0,n.___Usage__columnWidths_FI=I,n._newlinesNeeded=0,n.lineLength=r},_Usage__writeOption_closure:function(){},_Usage__buildAllowedList_closure:function(e){this.option=e},FutureGroup:function(e,t,r){var n=this;n._future_group$_pending=0,n._future_group$_closed=!1,n._future_group$_completer=e,n._future_group$_values=t,n.$ti=r},FutureGroup_add_closure:function(e,t){this.$this=e,this.index=t},FutureGroup_add_closure0:function(e){this.$this=e},ErrorResult:function(e,t){this.error=e,this.stackTrace=t},ValueResult:function(e,t){this.value=e,this.$ti=t},StreamCompleter:function(e,t){this._stream_completer$_stream=e,this.$ti=t},_CompleterStream:function(e){this._sourceStream=this._stream_completer$_controller=null,this.$ti=e},StreamGroup:function(e,t,r){var n=this;n.__StreamGroup__controller_A=I,n._closed=!1,n._stream_group$_state=e,n._subscriptions=t,n.$ti=r},StreamGroup_add_closure:function(){},StreamGroup_add_closure0:function(e,t){this.$this=e,this.stream=t},StreamGroup__onListen_closure:function(){},StreamGroup__onCancel_closure:function(e){this.$this=e},StreamGroup__listenToStream_closure:function(e,t){this.$this=e,this.stream=t},_StreamGroupState:function(e){this.name=e},StreamQueue:function(e,t,r,n){var i=this;i._stream_queue$_source=e,i._stream_queue$_subscription=null,i._isDone=!1,i._eventsReceived=0,i._eventQueue=t,i._requestQueue=r,i.$ti=n},StreamQueue__ensureListening_closure:function(e){this.$this=e},StreamQueue__ensureListening_closure1:function(e){this.$this=e},StreamQueue__ensureListening_closure0:function(e){this.$this=e},_NextRequest:function(e,t){this._completer=e,this.$ti=t},isNodeJs(){var e=n.process;return e=null==e||null==(e=w.get$release$x(e))?null:w.get$name$x(e),w.$eq$(e,"node")},isBrowser:()=>!A.isNodeJs()&&null!=n.document&&"function"==typeof n.document.querySelector,wrapJSExceptions(e){var t,r,n,i,o;if(!I.$get$_isStrictMode())return e.call$0();try{return o=e.call$0()}catch(e){if("string"==typeof(o=A.unwrapException(e)))throw t=o,A.wrapException(t);if(A._isBool(o))throw r=o,A.wrapException(r);if("number"==typeof o)throw n=o,A.wrapException(n);if("symbol"==typeof(i=o)||"bigint"==typeof i||null==i)throw A.wrapException(A._callMethodUnchecked0(i,"toString"));throw e}},_isStrictMode_closure:function(){},Repl:function(e,t,r,n){var i=this;i.prompt=e,i.continuation=t,i.validator=r,i.__Repl__adapter_A=I,i.history=n},alwaysValid_closure:function(){},ReplAdapter:function(e){this.repl=e,this.rl=null},ReplAdapter_runAsync_closure:function(e,t,r,n){var i=this;i._box_0=e,i.$this=t,i.rl=r,i.runController=n},ReplAdapter_runAsync__closure:function(e){this.lineController=e},Stdin:function(){},Stdout:function(){},ReadlineModule:function(){},ReadlineOptions:function(){},ReadlineInterface:function(){},EmptyUnmodifiableSet:function(e){this.$ti=e},_EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin:function(){},DefaultEquality:function(){},IterableEquality:function(){},ListEquality:function(){},_MapEntry:function(e,t,r){this.equality=e,this.key=t,this.value=r},MapEquality:function(e){this.$ti=e},QueueList$:(e,t)=>new A.QueueList(A.List_List$filled(A.QueueList__computeInitialCapacity(e),null,!1,t._eval$1("0?")),0,0,t._eval$1("QueueList<0>")),QueueList_QueueList$from(e,t){var r,n,i;return D.List_dynamic._is(e)?(r=w.get$length$asx(e),n=A.QueueList$(r+1,t),w.setRange$4$ax(n._queue_list$_table,0,r,e,0),n._queue_list$_tail=r,n):((i=A.QueueList$(null,t)).addAll$1(0,e),i)},QueueList__computeInitialCapacity:e=>null==e||e<8?8:(++e&e-1)>>>0==0?e:A.QueueList__nextPowerOf2(e),QueueList__nextPowerOf2(e){var t;for(e=(e<<1>>>0)-1;;e=t)if(0===(t=(e&e-1)>>>0))return e},QueueList:function(e,t,r,n){var i=this;i._queue_list$_table=e,i._queue_list$_head=t,i._queue_list$_tail=r,i.$ti=n},_CastQueueList:function(e,t,r,n,i){var o=this;o._queue_list$_delegate=e,o._queue_list$_table=t,o._queue_list$_head=r,o._queue_list$_tail=n,o.$ti=i},_QueueList_Object_ListMixin:function(){},UnionSet:function(e,t){this._sets=e,this.$ti=t},UnionSet__iterable_closure:function(e){this.$this=e},UnionSet_contains_closure:function(e,t){this.$this=e,this.element=t},_UnionSet_SetBase_UnmodifiableSetMixin:function(){},UnmodifiableSetMixin__throw(){throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable Set"))},UnmodifiableSetView0:function(e,t){this._base=e,this.$ti=t},UnmodifiableSetMixin:function(){},_UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin:function(){},_DelegatingIterableBase:function(){},DelegatingSet:function(e,t){this._base=e,this.$ti=t},MapKeySet:function(e,t){this._baseMap=e,this.$ti=t},MapKeySet_difference_closure:function(e,t){this.$this=e,this.other=t},_MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin:function(){},BufferModule:function(){},BufferConstants:function(){},Buffer:function(){},ConsoleModule:function(){},Console:function(){},EventEmitter:function(){},fs(){var e=I._fs;return null==e?I._fs=n.fs:e},FS:function(){},FSConstants:function(){},Realpath:function(){},RealpathSync:function(){},FSWatcher:function(){},ReadStream:function(){},ReadStreamOptions:function(){},WriteStream:function(){},WriteStreamOptions:function(){},FileOptions:function(){},StatOptions:function(){},MkdirOptions:function(){},RmdirOptions:function(){},WatchOptions:function(){},WatchFileOptions:function(){},Stats:function(){},Promise:function(){},Date:function(){},JsError:function(){},Atomics:function(){},Modules:function(){},Module:function(){},Net:function(){},Socket:function(){},NetAddress:function(){},NetServer:function(){},NodeJsError:function(){},JsAssertionError:function(){},JsRangeError:function(){},JsReferenceError:function(){},JsSyntaxError:function(){},JsTypeError:function(){},JsSystemError:function(){},Process:function(){},CPUUsage:function(){},Release:function(){},StreamModule:function(){},Readable:function(){},Writable:function(){},Duplex:function(){},Transform:function(){},WritableOptions:function(){},ReadableOptions:function(){},Immediate:function(){},Timeout:function(){},TTY:function(){},TTYReadStream:function(){},TTYWriteStream:function(){},jsify0:e=>A._isBasicType(e)?e:A.jsify(e),_isBasicType:e=>!1,promiseToFuture0(e,t){var r=new A._Future(I.Zone__current,t._eval$1("_Future<0>")),n=new A._SyncCompleter(r,t._eval$1("_SyncCompleter<0>"));return w.then$2$x(e,A.allowInterop(new A.promiseToFuture_closure1(n)),A.allowInterop(new A.promiseToFuture_closure2(n))),r},futureToPromise:(e,t)=>new n.Promise(A.allowInterop(new A.futureToPromise_closure(e,t))),Util:function(){},promiseToFuture_closure1:function(e){this.completer=e},promiseToFuture_closure2:function(e){this.completer=e},futureToPromise_closure:function(e,t){this.future=e,this.T=t},futureToPromise__closure:function(e,t){this.resolve=e,this.T=t},Context_Context:e=>new A.Context(e,"."),_parseUri(e){if("string"==typeof e)return A.Uri_parse(e);if(D.Uri._is(e))return e;throw A.wrapException(A.ArgumentError$value(e,"uri","Value must be a String or a Uri"))},_validateArgList(e,t){var r,n,i,o,s,a,l,c;for(r=t.length,n=1;n<r;++n)if(null!=t[n]&&null==t[n-1]){for(;r>=1&&null==t[i=r-1];r=i);throw s=e+"(",(o=new A.StringBuffer(""))._contents=s,l=(a=A._arrayInstanceType(t))._eval$1("SubListIterable<1>"),(c=new A.SubListIterable(t,0,r,l)).SubListIterable$3(t,0,r,a._precomputed1),l=s+new A.MappedListIterable(c,new A._validateArgList_closure,l._eval$1("MappedListIterable<ListIterable.E,String>")).join$1(0,", "),o._contents=l,o._contents=l+"): part "+(n-1)+" was null, but part "+n+" was not.",A.wrapException(A.ArgumentError$(o.toString$0(0),null))}},Context:function(e,t){this.style=e,this._context$_current=t},Context_joinAll_closure:function(){},Context_split_closure:function(){},_validateArgList_closure:function(){},_PathDirection:function(e){this.name=e},_PathRelation:function(e){this.name=e},InternalStyle:function(){},ParsedPath_ParsedPath$parse(e,t){var r,n,i,o,s,a=t.getRoot$1(e),l=t.isRootRelative$1(e);for(null!=a&&(e=C.JSString_methods.substring$1(e,a.length)),r=D.JSArray_String,n=A._setArrayType([],r),i=A._setArrayType([],r),0!==(r=e.length)&&t.isSeparator$1(e.charCodeAt(0))?(i.push(e[0]),o=1):(i.push(""),o=0),s=o;s<r;++s)t.isSeparator$1(e.charCodeAt(s))&&(n.push(C.JSString_methods.substring$2(e,o,s)),i.push(e[s]),o=s+1);return o<r&&(n.push(C.JSString_methods.substring$1(e,o)),i.push("")),new A.ParsedPath(t,a,l,n,i)},ParsedPath:function(e,t,r,n,i){var o=this;o.style=e,o.root=t,o.isRootRelative=r,o.parts=n,o.separators=i},ParsedPath__splitExtension_closure:function(){},ParsedPath__splitExtension_closure0:function(){},PathException$:e=>new A.PathException(e),PathException:function(e){this.message=e},PathMap__create(e,t){var r={};return r.context=e,r.context=I.$get$context(),A.LinkedHashMap_LinkedHashMap(new A.PathMap__create_closure(r),new A.PathMap__create_closure0(r),new A.PathMap__create_closure1,D.nullable_String,t)},PathMap:function(e,t){this._map=e,this.$ti=t},PathMap__create_closure:function(e){this._box_0=e},PathMap__create_closure0:function(e){this._box_0=e},PathMap__create_closure1:function(){},Style__getPlatformStyle(){if("file"!==A.Uri_base().get$scheme())return I.$get$Style_url();var e=A.Uri_base();return C.JSString_methods.endsWith$1(e.get$path(e),"/")?"a\\b"===A._Uri__Uri(null,"a/b",null,null).toFilePath$0()?I.$get$Style_windows():I.$get$Style_posix():I.$get$Style_url()},Style:function(){},PosixStyle:function(e,t,r){this.separatorPattern=e,this.needsSeparatorPattern=t,this.rootPattern=r},UrlStyle:function(e,t,r,n){var i=this;i.separatorPattern=e,i.needsSeparatorPattern=t,i.rootPattern=r,i.relativeRootPattern=n},WindowsStyle:function(e,t,r,n){var i=this;i.separatorPattern=e,i.needsSeparatorPattern=t,i.rootPattern=r,i.relativeRootPattern=n},WindowsStyle_absolutePathToUri_closure:function(){},Version$_(e,t,r,n,i,o){var s=null==n||0===n.length?A._setArrayType([],D.JSArray_Object):A.Version__splitParts(n),a=null==i||0===i.length?A._setArrayType([],D.JSArray_Object):A.Version__splitParts(i);return e<0&&A.throwExpression(A.ArgumentError$("Major version must be non-negative.",null)),t<0&&A.throwExpression(A.ArgumentError$("Minor version must be non-negative.",null)),r<0&&A.throwExpression(A.ArgumentError$("Patch version must be non-negative.",null)),new A.Version(e,t,r,s,a,o)},Version_Version(e,t,r,n){var i=e+"."+t+"."+r;return null!=n&&(i+="-"+n),A.Version$_(e,t,r,n,null,i)},Version___parse_tearOff:e=>A.Version_Version$parse(e),Version_Version$parse(e){var t,r,n,i,o,s,a=null,l='Could not parse "',c=I.$get$completeVersion().firstMatch$1(e);if(null==c)throw A.wrapException(A.FormatException$(l+e+'".',a,a));try{return(s=c._match[1]).toString,t=A.int_parse(s,a),(s=c._match[2]).toString,r=A.int_parse(s,a),(s=c._match[3]).toString,n=A.int_parse(s,a),i=c._match[5],o=c._match[8],s=A.Version$_(t,r,n,i,o,e)}catch(t){throw D.FormatException._is(A.unwrapException(t))?A.wrapException(A.FormatException$(l+e+'".',a,a)):t}},Version__splitParts(e){var t=D.MappedListIterable_String_Object;return t=A.List_List$_of(new A.MappedListIterable(A._setArrayType(e.split("."),D.JSArray_String),new A.Version__splitParts_closure,t),t._eval$1("ListIterable.E"))},Version:function(e,t,r,n,i,o){var s=this;s.major=e,s.minor=t,s.patch=r,s.preRelease=n,s.build=i,s._version$_text=o},Version__splitParts_closure:function(){},VersionRange_VersionRange:(e,t)=>new A.VersionRange(null,t,!1,!0),VersionRange:function(e,t,r,n){var i=this;i.min=e,i.max=t,i.includeMin=r,i.includeMax=n},CssMediaQuery$type:(e,t,r)=>new A.CssMediaQuery(r,e,!0,null==t?C.List_empty:A.List_List$unmodifiable(t,D.String)),CssMediaQuery$condition(e,t){var r=A.List_List$unmodifiable(e,D.String);return r.length>1&&null==t&&A.throwExpression(A.ArgumentError$(P.If_con,null)),new A.CssMediaQuery(null,null,!1!==t,r)},CssMediaQuery:function(e,t,r,n){var i=this;i.modifier=e,i.type=t,i.conjunction=r,i.conditions=n},_SingletonCssMediaQueryMergeResult:function(e,t){this.index=e,this._name=t},MediaQuerySuccessfulMergeResult:function(e){this.query=e},ModifiableCssAtRule$(e,t,r,n){var i=A._setArrayType([],D.JSArray_ModifiableCssNode);return new A.ModifiableCssAtRule(e,n,r,t,new A.UnmodifiableListView(i,D.UnmodifiableListView_ModifiableCssNode),i)},ModifiableCssAtRule:function(e,t,r,n,i,o){var s=this;s.name=e,s.value=t,s.isChildless=r,s.span=n,s.children=i,s._children=o,s._indexInParent=s._parent=null,s.isGroupEnd=!1},ModifiableCssComment:function(e,t){var r=this;r.text=e,r.span=t,r._indexInParent=r._parent=null,r.isGroupEnd=!1},ModifiableCssDeclaration$(e,t,r,n,i){var o,s=null==i?t.span:i;return n||(o=t.value)instanceof A.SassString||A.throwExpression(A.ArgumentError$(P.If_par+t.toString$0(0)+"` of type "+A.getRuntimeTypeOfDartObject(o).toString$0(0)+").",null)),new A.ModifiableCssDeclaration(e,t,n,s,r)},ModifiableCssDeclaration:function(e,t,r,n,i){var o=this;o.name=e,o.value=t,o.parsedAsSassScript=r,o.valueSpanForMap=n,o.span=i,o._indexInParent=o._parent=null,o.isGroupEnd=!1},ModifiableCssImport:function(e,t,r){var n=this;n.url=e,n.modifiers=t,n.span=r,n._indexInParent=n._parent=null,n.isGroupEnd=!1},ModifiableCssKeyframeBlock$(e,t){var r=A._setArrayType([],D.JSArray_ModifiableCssNode);return new A.ModifiableCssKeyframeBlock(e,t,new A.UnmodifiableListView(r,D.UnmodifiableListView_ModifiableCssNode),r)},ModifiableCssKeyframeBlock:function(e,t,r,n){var i=this;i.selector=e,i.span=t,i.children=r,i._children=n,i._indexInParent=i._parent=null,i.isGroupEnd=!1},ModifiableCssMediaRule$(e,t){var r=A.List_List$unmodifiable(e,D.CssMediaQuery),n=A._setArrayType([],D.JSArray_ModifiableCssNode);return w.get$isEmpty$asx(e)&&A.throwExpression(A.ArgumentError$value(e,"queries","may not be empty.")),new A.ModifiableCssMediaRule(r,t,new A.UnmodifiableListView(n,D.UnmodifiableListView_ModifiableCssNode),n)},ModifiableCssMediaRule:function(e,t,r,n){var i=this;i.queries=e,i.span=t,i.children=r,i._children=n,i._indexInParent=i._parent=null,i.isGroupEnd=!1},ModifiableCssNode:function(){},ModifiableCssNode_hasFollowingSibling_closure:function(){},ModifiableCssParentNode:function(){},ModifiableCssStyleRule$(e,t,r,n){var i=A._setArrayType([],D.JSArray_ModifiableCssNode);return new A.ModifiableCssStyleRule(e,n,t,r,new A.UnmodifiableListView(i,D.UnmodifiableListView_ModifiableCssNode),i)},ModifiableCssStyleRule:function(e,t,r,n,i,o){var s=this;s._style_rule$_selector=e,s.originalSelector=t,s.span=r,s.fromPlainCss=n,s.children=i,s._children=o,s._indexInParent=s._parent=null,s.isGroupEnd=!1},ModifiableCssStylesheet$(e){var t=A._setArrayType([],D.JSArray_ModifiableCssNode);return new A.ModifiableCssStylesheet(e,new A.UnmodifiableListView(t,D.UnmodifiableListView_ModifiableCssNode),t)},ModifiableCssStylesheet:function(e,t,r){var n=this;n.span=e,n.children=t,n._children=r,n._indexInParent=n._parent=null,n.isGroupEnd=!1},ModifiableCssSupportsRule$(e,t){var r=A._setArrayType([],D.JSArray_ModifiableCssNode);return new A.ModifiableCssSupportsRule(e,t,new A.UnmodifiableListView(r,D.UnmodifiableListView_ModifiableCssNode),r)},ModifiableCssSupportsRule:function(e,t,r,n){var i=this;i.condition=e,i.span=t,i.children=r,i._children=n,i._indexInParent=i._parent=null,i.isGroupEnd=!1},CssNode:function(){},CssParentNode:function(){},_IsInvisibleVisitor:function(e,t){this.includeBogus=e,this.includeComments=t},__IsInvisibleVisitor_Object_EveryCssVisitor:function(){},CssStylesheet:function(e,t){this.children=e,this.span=t},CssValue:function(e,t,r){this.value=e,this.span=t,this.$ti=r},_FakeAstNode:function(e){this._callback=e},ArgumentList$(e,t,r,n,i,o){var s=D.Expression,a=D.String;return new A.ArgumentList(A.List_List$unmodifiable(e,s),A.ConstantMap_ConstantMap$from(t,a,s),A.ConstantMap_ConstantMap$from(r,a,D.FileSpan),o,i,n)},ArgumentList$empty:e=>new A.ArgumentList(C.List_empty9,C.Map_empty4,C.Map_empty5,null,null,e),ArgumentList:function(e,t,r,n,i,o){var s=this;s.positional=e,s.named=t,s.namedSpans=r,s.rest=n,s.keywordRest=i,s.span=o},AtRootQuery:function(e,t,r,n){var i=this;i.include=e,i.names=t,i._all=r,i._at_root_query$_rule=n},BooleanOperator:function(e,t){this.index=e,this._name=t},ConfiguredVariable:function(e,t,r,n){var i=this;i.name=e,i.expression=t,i.isGuarded=r,i.span=n},Expression:function(){},BinaryOperationExpression:function(e,t,r,n){var i=this;i.operator=e,i.left=t,i.right=r,i.allowsSlash=n},BinaryOperator:function(e,t,r,n,i,o){var s=this;s.name=e,s.operator=t,s.precedence=r,s.isAssociative=n,s.index=i,s._name=o},BooleanExpression:function(e,t){this.value=e,this.span=t},ColorExpression:function(e,t){this.value=e,this.span=t},FunctionExpression:function(e,t,r,n,i){var o=this;o.namespace=e,o.name=t,o.originalName=r,o.$arguments=n,o.span=i},IfConditionOperation$(e,t){var r=A.List_List$unmodifiable(e,D.IfConditionExpression);return r.length<2&&A.throwExpression(A.ArgumentError$value(r,"expressions","must have length >= 2")),new A.IfConditionOperation(r,t)},IfExpression:function(e,t){this.branches=e,this.span=t},IfConditionExpression:function(){},IfConditionParenthesized:function(e,t){this.expression=e,this.span=t},IfConditionNegation:function(e,t){this.expression=e,this.span=t},IfConditionOperation:function(e,t){this.expressions=e,this.op=t},IfConditionOperation_toInterpolation_closure:function(e){this.$this=e},IfConditionFunction:function(e,t,r){this.name=e,this.$arguments=t,this.span=r},IfConditionSass:function(e,t){this.expression=e,this.span=t},IfConditionRaw:function(e){this.text=e},InterpolatedFunctionExpression:function(e,t,r){this.name=e,this.$arguments=t,this.span=r},LegacyIfExpression:function(e,t){this.$arguments=e,this.span=t},ListExpression:function(e,t,r,n){var i=this;i.contents=e,i.separator=t,i.hasBrackets=r,i.span=n},ListExpression_toString_closure:function(e){this.$this=e},MapExpression:function(e,t){this.pairs=e,this.span=t},NullExpression:function(e){this.span=e},NumberExpression:function(e,t,r){this.value=e,this.unit=t,this.span=r},ParenthesizedExpression:function(e,t){this.expression=e,this.span=t},SelectorExpression:function(e){this.span=e},StringExpression_quoteText(e){var t=A.StringExpression__bestQuote(A._setArrayType([e],D.JSArray_String)),r=new A.StringBuffer(""),n=A.Primitives_stringFromCharCode(t);return r._contents=n,A.StringExpression__quoteInnerText(e,t,r,!0),(n=r._contents+=n).charCodeAt(0),n},StringExpression__quoteInnerText(e,t,r,n){var i,o,s,a,l,c,u,d,h;for(o=(i=e.length)-1,s=0;s<i;++s)10!==(a=e.charCodeAt(s))&&13!==a&&12!==a?(u=(c=92===a)?a:null,c?(c=u,u=!0):(c=!1,(d=a===t)&&(u=a),d?(c=u,u=!0):35===a&&n&&s<o?((c=123===e.charCodeAt(s+1))&&(u=a),h=u,u=c,c=h):(h=u,u=c,c=h)),u?(r.writeCharCode$1(92),r.writeCharCode$1(c)):r.writeCharCode$1(a)):(r.writeCharCode$1(92),r.writeCharCode$1(97),s!==o&&(c=!0,32!==(l=e.charCodeAt(s+1))&&9!==l&&10!==l&&13!==l&&12!==l&&(l>=48&&l<=57||l>=97&&l<=102||(c=l>=65&&l<=70)),c&&r.writeCharCode$1(32)))},StringExpression__bestQuote(e){var t,r,n,i,o,s;for(t=w.get$iterator$ax(e),n=(r=D.CodeUnits)._eval$1("ListIterator<ListBase.E>"),r=r._eval$1("ListBase.E"),i=!1;t.moveNext$0();)for(o=new A.CodeUnits(t.get$current(t)),o=new A.ListIterator(o,o.get$length(0),n);o.moveNext$0();){if(null==(s=o.__internal$_current)&&(s=r._as(s)),39===s)return 34;34===s&&(i=!0)}return i?39:34},StringExpression:function(e,t){this.text=e,this.hasQuotes=t},SupportsExpression:function(e){this.condition=e},UnaryOperationExpression:function(e,t,r){this.operator=e,this.operand=t,this.span=r},UnaryOperator:function(e,t,r,n){var i=this;i.name=e,i.operator=t,i.index=r,i._name=n},ValueExpression:function(e,t){this.value=e,this.span=t},VariableExpression:function(e,t,r){this.namespace=e,this.name=t,this.span=r},DynamicImport:function(e,t){this.urlString=e,this.span=t},StaticImport:function(e,t,r){this.url=e,this.modifiers=t,this.span=r},Interpolation$(e,t,r){var n=new A.Interpolation(A.List_List$unmodifiable(e,D.Object),A.List_List$unmodifiable(t,D.nullable_FileSpan),r);return n.Interpolation$3(e,t,r),n},Interpolation:function(e,t,r){this.contents=e,this.spans=t,this.span=r},Interpolation_toString_closure:function(){},Parameter:function(e,t,r){this.name=e,this.defaultValue=t,this.span=r},ParameterList_ParameterList$parse:(e,t)=>A.ScssParser$(e,!1,t).parseParameterList$0(),ParameterList:function(e,t,r){this.parameters=e,this.restParameter=t,this.span=r},ParameterList_verify_closure:function(){},ParameterList_verify_closure0:function(){},Statement:function(){},AtRootRule$(e,t,r){var n=A.List_List$unmodifiable(e,D.Statement),i=C.JSArray_methods.any$1(n,new A.ParentStatement_closure);return new A.AtRootRule(r,t,n,i)},AtRootRule:function(e,t,r,n){var i=this;i.query=e,i.span=t,i.children=r,i.hasDeclarations=n},AtRule$(e,t,r,n){var i=null==r?null:A.List_List$unmodifiable(r,D.Statement),o=null==i?null:C.JSArray_methods.any$1(i,new A.ParentStatement_closure);return new A.AtRule(e,n,t,i,!0===o)},AtRule:function(e,t,r,n,i){var o=this;o.name=e,o.value=t,o.span=r,o.children=n,o.hasDeclarations=i},CallableDeclaration:function(){},ContentBlock$(e,t,r){var n="@content",i=A.stringReplaceAllUnchecked(n,"_","-"),o=A.List_List$unmodifiable(t,D.Statement),s=C.JSArray_methods.any$1(o,new A.ParentStatement_closure);return new A.ContentBlock(i,n,e,r,o,s)},ContentBlock:function(e,t,r,n,i,o){var s=this;s.name=e,s.originalName=t,s.parameters=r,s.span=n,s.children=i,s.hasDeclarations=o},ContentRule:function(e,t){this.$arguments=e,this.span=t},DebugRule:function(e,t){this.expression=e,this.span=t},Declaration$:(e,t,r)=>new A.Declaration(e,t,r,!0,null,!1),Declaration$notSassScript:(e,t,r)=>new A.Declaration(e,t,r,!1,null,!1),Declaration$nested(e,t,r,n){var i=A.List_List$unmodifiable(t,D.Statement),o=C.JSArray_methods.any$1(i,new A.ParentStatement_closure);return new A.Declaration(e,n,r,!0,i,o)},Declaration:function(e,t,r,n,i,o){var s=this;s.name=e,s.value=t,s.span=r,s.parsedAsSassScript=n,s.children=i,s.hasDeclarations=o},EachRule$(e,t,r,n){var i=A.List_List$unmodifiable(e,D.String),o=A.List_List$unmodifiable(r,D.Statement),s=C.JSArray_methods.any$1(o,new A.ParentStatement_closure);return new A.EachRule(i,t,n,o,s)},EachRule:function(e,t,r,n,i){var o=this;o.variables=e,o.list=t,o.span=r,o.children=n,o.hasDeclarations=i},EachRule_toString_closure:function(){},ErrorRule:function(e,t){this.expression=e,this.span=t},ExtendRule:function(e,t,r){this.selector=e,this.isOptional=t,this.span=r},ForRule$(e,t,r,n,i,o){var s=A.List_List$unmodifiable(n,D.Statement),a=C.JSArray_methods.any$1(s,new A.ParentStatement_closure);return new A.ForRule(e,t,r,o,i,s,a)},ForRule:function(e,t,r,n,i,o,s){var a=this;a.variable=e,a.from=t,a.to=r,a.isExclusive=n,a.span=i,a.children=o,a.hasDeclarations=s},ForwardRule:function(e,t,r,n,i,o,s,a){var l=this;l.url=e,l.shownMixinsAndFunctions=t,l.shownVariables=r,l.hiddenMixinsAndFunctions=n,l.hiddenVariables=i,l.prefix=o,l.configuration=s,l.span=a},FunctionRule$(e,t,r,n,i){var o=A.stringReplaceAllUnchecked(e,"_","-"),s=A.List_List$unmodifiable(r,D.Statement),a=C.JSArray_methods.any$1(s,new A.ParentStatement_closure);return new A.FunctionRule(o,e,t,n,s,a)},FunctionRule:function(e,t,r,n,i,o){var s=this;s.name=e,s.originalName=t,s.parameters=r,s.span=n,s.children=i,s.hasDeclarations=o},IfClause$(e,t){var r=A.List_List$unmodifiable(t,D.Statement);return new A.IfClause(e,r,C.JSArray_methods.any$1(r,new A.IfRuleClause$__closure))},ElseClause$(e){var t=A.List_List$unmodifiable(e,D.Statement);return new A.ElseClause(t,C.JSArray_methods.any$1(t,new A.IfRuleClause$__closure))},IfRule:function(e,t,r){this.clauses=e,this.lastClause=t,this.span=r},IfRule_toString_closure:function(){},IfRuleClause:function(){},IfRuleClause$__closure:function(){},IfRuleClause$___closure:function(){},IfClause:function(e,t,r){this.expression=e,this.children=t,this.hasDeclarations=r},ElseClause:function(e,t){this.children=e,this.hasDeclarations=t},ImportRule:function(e,t){this.imports=e,this.span=t},IncludeRule:function(e,t,r,n,i,o){var s=this;s.namespace=e,s.name=t,s.originalName=r,s.$arguments=n,s.content=i,s.span=o},LoudComment:function(e){this.text=e},MediaRule$(e,t,r){var n=A.List_List$unmodifiable(t,D.Statement),i=C.JSArray_methods.any$1(n,new A.ParentStatement_closure);return new A.MediaRule(e,r,n,i)},MediaRule:function(e,t,r,n){var i=this;i.query=e,i.span=t,i.children=r,i.hasDeclarations=n},MixinRule$(e,t,r,n,i){var o=A.stringReplaceAllUnchecked(e,"_","-"),s=A.List_List$unmodifiable(r,D.Statement),a=C.JSArray_methods.any$1(s,new A.ParentStatement_closure);return new A.MixinRule(o,e,t,n,s,a)},MixinRule:function(e,t,r,n,i,o){var s=this;s.__MixinRule_hasContent_FI=I,s.name=e,s.originalName=t,s.parameters=r,s.span=n,s.children=i,s.hasDeclarations=o},_HasContentVisitor:function(){},__HasContentVisitor_Object_StatementSearchVisitor:function(){},ParentStatement:function(){},ParentStatement_closure:function(){},ParentStatement__closure:function(){},ReturnRule:function(e,t){this.expression=e,this.span=t},SilentComment:function(e,t){this.text=e,this.span=t},StyleRule$(e,t,r){var n=A.List_List$unmodifiable(t,D.Statement),i=C.JSArray_methods.any$1(n,new A.ParentStatement_closure);return new A.StyleRule(e,null,r,n,i)},StyleRule:function(e,t,r,n,i){var o=this;o.selector=e,o.parsedSelector=t,o.span=r,o.children=n,o.hasDeclarations=i},Stylesheet$(e,t){var r=A._setArrayType([],D.JSArray_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span),n=A._setArrayType([],D.JSArray_UseRule),i=A._setArrayType([],D.JSArray_ForwardRule),o=A.List_List$unmodifiable(e,D.Statement),s=C.JSArray_methods.any$1(o,new A.ParentStatement_closure);return(n=new A.Stylesheet(t,!1,n,i,new A.UnmodifiableListView(r,D.UnmodifiableListView_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span),C.Map_empty5,o,s)).Stylesheet$internal$5$globalVariables$plainCss(e,t,r,null,!1),n},Stylesheet$internal(e,t,r,n,i){var o=A._setArrayType([],D.JSArray_UseRule),s=A._setArrayType([],D.JSArray_ForwardRule),a=null==n?C.Map_empty5:A.ConstantMap_ConstantMap$from(n,D.String,D.FileSpan),l=A.List_List$unmodifiable(e,D.Statement),c=C.JSArray_methods.any$1(l,new A.ParentStatement_closure);return(o=new A.Stylesheet(t,i,o,s,new A.UnmodifiableListView(r,D.UnmodifiableListView_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span),a,l,c)).Stylesheet$internal$5$globalVariables$plainCss(e,t,r,n,i),o},Stylesheet_Stylesheet$parse(e,t,r,n){var i,o,s,a,l;try{switch(t.index){case 1:return a=new A.SassParser(!1,A.LinkedHashMap_LinkedHashMap$_empty(D.String,D.FileSpan),A._setArrayType([],D.JSArray_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span),A.SpanScanner$(e,n),null).parse$0(0);case 0:return a=A.ScssParser$(e,!1,n).parse$0(0);case 2:return a=new A.CssParser(!1,A.LinkedHashMap_LinkedHashMap$_empty(D.String,D.FileSpan),A._setArrayType([],D.JSArray_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span),A.SpanScanner$(e,n),null).parse$0(0)}}catch(e){if((a=A.unwrapException(e))instanceof A.SassException){if(i=a,o=A.getTraceFromException(e),a=i,l=w.getInterceptor$x(a),null==(s=(a=A.SourceSpanException.prototype.get$span.call(l,a)).get$sourceUrl(a))||"stdin"===s.toString$0(0))throw e;throw a=D.Uri,A.wrapException(A.throwWithTrace(i.withLoadedUrls$1(A.Set_Set$unmodifiable(A.LinkedHashSet_LinkedHashSet$_literal([s],a),a)),i,o))}throw e}},Stylesheet:function(e,t,r,n,i,o,s,a){var l=this;l.span=e,l.plainCss=t,l._uses=r,l._forwards=n,l.parseTimeWarnings=i,l.globalVariables=o,l.children=s,l.hasDeclarations=a},SupportsRule$(e,t,r){var n=A.List_List$unmodifiable(t,D.Statement),i=C.JSArray_methods.any$1(n,new A.ParentStatement_closure);return new A.SupportsRule(e,r,n,i)},SupportsRule:function(e,t,r,n){var i=this;i.condition=e,i.span=t,i.children=r,i.hasDeclarations=n},UseRule:function(e,t,r,n){var i=this;i.url=e,i.namespace=t,i.configuration=r,i.span=n},VariableDeclaration$:(e,t,r,n,i,o,s)=>(null!=s&&i&&A.throwExpression(A.ArgumentError$(P.Other_,null)),new A.VariableDeclaration(s,e,t,o,i,r)),VariableDeclaration:function(e,t,r,n,i,o){var s=this;s.namespace=e,s.name=t,s.expression=r,s.isGuarded=n,s.isGlobal=i,s.span=o},WarnRule:function(e,t){this.expression=e,this.span=t},WhileRule$(e,t,r){var n=A.List_List$unmodifiable(t,D.Statement),i=C.JSArray_methods.any$1(n,new A.ParentStatement_closure);return new A.WhileRule(e,r,n,i)},WhileRule:function(e,t,r,n){var i=this;i.condition=e,i.span=t,i.children=r,i.hasDeclarations=n},SupportsAnything:function(e,t){this.contents=e,this.span=t},SupportsDeclaration:function(e,t,r){this.name=e,this.value=t,this.span=r},SupportsFunction:function(e,t,r){this.name=e,this.$arguments=t,this.span=r},SupportsInterpolation:function(e,t){this.expression=e,this.span=t},SupportsNegation:function(e,t){this.condition=e,this.span=t},SupportsOperation:function(e,t,r,n){var i=this;i.left=e,i.right=t,i.operator=r,i.span=n},Selector:function(){},_IsInvisibleVisitor0:function(e){this.includeBogus=e},_IsBogusVisitor:function(e){this.includeLeadingCombinator=e},_IsBogusVisitor_visitComplexSelector_closure:function(e){this.$this=e},_IsUselessVisitor:function(){},_IsUselessVisitor_visitComplexSelector_closure:function(e){this.$this=e},_ContainsParentSelectorVisitor:function(){},__ContainsParentSelectorVisitor_Object_AnySelectorVisitor:function(){},__IsBogusVisitor_Object_AnySelectorVisitor:function(){},__IsInvisibleVisitor_Object_AnySelectorVisitor:function(){},__IsUselessVisitor_Object_AnySelectorVisitor:function(){},AttributeSelector:function(e,t,r,n,i){var o=this;o.name=e,o.op=t,o.value=r,o.modifier=n,o.span=i},AttributeOperator:function(e,t,r){this._attribute$_text=e,this.index=t,this._name=r},ClassSelector:function(e,t){this.name=e,this.span=t},Combinator:function(e,t,r){this._combinator$_text=e,this.index=t,this._name=r},ComplexSelector$(e,t,r,n){var i=A.List_List$unmodifiable(e,D.CssValue_Combinator),o=A.List_List$unmodifiable(t,D.ComplexSelectorComponent);return 0===i.length&&0===o.length&&A.throwExpression(A.ArgumentError$(P.leadin,null)),new A.ComplexSelector(i,o,n,r)},ComplexSelector:function(e,t,r,n){var i=this;i.leadingCombinators=e,i.components=t,i.lineBreak=r,i.__ComplexSelector_specificity_FI=I,i.span=n},ComplexSelector_specificity_closure:function(){},ComplexSelectorComponent:function(e,t,r){this.selector=e,this.combinators=t,this.span=r},ComplexSelectorComponent_toString_closure:function(){},CompoundSelector$(e,t){var r=A.List_List$unmodifiable(e,D.SimpleSelector);return 0===r.length&&A.throwExpression(A.ArgumentError$("components may not be empty.",null)),new A.CompoundSelector(r,t)},CompoundSelector:function(e,t){var r=this;r.components=e,r.__CompoundSelector_hasComplicatedSuperselectorSemantics_FI=r.__CompoundSelector_specificity_FI=I,r.span=t},CompoundSelector_specificity_closure:function(){},CompoundSelector_hasComplicatedSuperselectorSemantics_closure:function(){},IDSelector:function(e,t){this.name=e,this.span=t},IDSelector_unify_closure:function(e){this.$this=e},SelectorList$(e,t){var r=A.List_List$unmodifiable(e,D.ComplexSelector);return 0===r.length&&A.throwExpression(A.ArgumentError$("components may not be empty.",null)),new A.SelectorList(r,t)},SelectorList_SelectorList$parse:(e,t,r,n)=>new A.SelectorParser(t,n,A.SpanScanner$(e,null),r).parse$0(0),SelectorList:function(e,t){this.components=e,this.span=t},SelectorList_asSassList_closure:function(){},SelectorList_nestWithin_closure:function(e,t,r,n){var i=this;i.$this=e,i.preserveParentSelectors=t,i.implicitParent=r,i.parent=n},SelectorList_nestWithin__closure:function(e){this.complex=e},SelectorList_nestWithin__closure0:function(e){this.complex=e},SelectorList__nestWithinCompound_closure:function(){},SelectorList__nestWithinCompound_closure0:function(e){this.parent=e},SelectorList__nestWithinCompound_closure1:function(e,t,r){this.parentSelector=e,this.resolvedSimples=t,this.component=r},SelectorList_withAdditionalCombinators_closure:function(e){this.combinators=e},_ParentSelectorVisitor:function(){},__ParentSelectorVisitor_Object_SelectorSearchVisitor:function(){},ParentSelector:function(e,t){this.suffix=e,this.span=t},PlaceholderSelector:function(e,t){this.name=e,this.span=t},PseudoSelector$(e,t,r,n,i){var o=!n,s=o&&!A.PseudoSelector__isFakePseudoElement(e);return new A.PseudoSelector(e,A.unvendor(e),s,o,r,i,t)},PseudoSelector__isFakePseudoElement(e){switch(e.charCodeAt(0)){case 97:case 65:return A.equalsIgnoreCase(e,"after");case 98:case 66:return A.equalsIgnoreCase(e,"before");case 102:case 70:return A.equalsIgnoreCase(e,"first-line")||A.equalsIgnoreCase(e,"first-letter");default:return!1}},PseudoSelector:function(e,t,r,n,i,o,s){var a=this;a.name=e,a.normalizedName=t,a.isClass=r,a.isSyntacticClass=n,a.argument=i,a.selector=o,a.__PseudoSelector_specificity_FI=I,a.span=s},PseudoSelector_specificity_closure:function(e){this.$this=e},PseudoSelector_specificity__closure:function(){},PseudoSelector_specificity__closure0:function(){},PseudoSelector_unify_closure:function(){},QualifiedName:function(e,t){this.name=e,this.namespace=t},SimpleSelector:function(){},SimpleSelector_isSuperselector_closure:function(e){this.$this=e},SimpleSelector_isSuperselector__closure:function(e){this.$this=e},TypeSelector:function(e,t){this.name=e,this.span=t},UniversalSelector:function(e,t){this.namespace=e,this.span=t},compileAsync(e,t,r,i,o,s,a,l,c,u,d,h){var p,m,_,g,f,v,b,y,$=0,x=A._makeAsyncAwaitCompleter(D.CompileResult),S=A._wrapJsFunctionForAsync(function(C,E){if(1===C)return A._asyncRethrow(E,x);for(;;)switch($){case 0:b=D.Deprecation,(y=A.LinkedHashSet_LinkedHashSet$_empty(b)).addAll$1(0,l),(m=A.LinkedHashSet_LinkedHashSet$_empty(b)).addAll$1(0,r),(_=A.LinkedHashSet_LinkedHashSet$_empty(b)).addAll$1(0,i),(s=new A.DeprecationProcessingLogger(A.LinkedHashMap_LinkedHashMap$_empty(b,D.int),s,y,m,_,!h)).validate$0(),b=d===A.Syntax_forPath(e),$=b?3:5;break;case 3:return b=I.$get$FilesystemImporter_cwd(),y=A.isNodeJs()?n.process:null,w.$eq$(null==y?null:w.get$platform$x(y),"win32")?y=!0:(y=A.isNodeJs()?n.process:null,y=w.$eq$(null==y?null:w.get$platform$x(y),"darwin")),y?(y=A.absolute(e,null,null,null,null,null,null,null,null,null,null,null,null,null,null),m=I.$get$context(),y=A._realCasePath(m.normalize$1(y))):(y=I.$get$context(),m=y.canonicalize$1(0,e),g=m,m=y,y=g),$=6,A._asyncAwait(o.importCanonical$3$originalUrl(b,m.toUri$1(y),m.toUri$1(e)),S);case 6:(m=E).toString,f=m,$=4;break;case 5:b=A.readFile(e),f=A.Stylesheet_Stylesheet$parse(b,d,!1,I.$get$context().toUri$1(e));case 4:return $=7,A._asyncAwait(A._compileStylesheet0(f,s,o,null,I.$get$FilesystemImporter_cwd(),null,u,!0,null,null,a,c,t),S);case 7:v=E,s.summarize$1$js(!1),p=v,$=1;break;case 1:return A._asyncReturn(p,x)}});return A._asyncStartSync(S,x)},compileStringAsync(e,t,r,n,i,o,s,a,l,c,u,d,h){var p,m,_,g,f,v,b,y,$=0,x=A._makeAsyncAwaitCompleter(D.CompileResult),S=A._wrapJsFunctionForAsync(function(w,E){if(1===w)return A._asyncRethrow(E,x);for(;;)switch($){case 0:return b=D.Deprecation,(y=A.LinkedHashSet_LinkedHashSet$_empty(b)).addAll$1(0,l),(m=A.LinkedHashSet_LinkedHashSet$_empty(b)).addAll$1(0,r),(_=A.LinkedHashSet_LinkedHashSet$_empty(b)).addAll$1(0,n),(s=new A.DeprecationProcessingLogger(A.LinkedHashMap_LinkedHashMap$_empty(b,D.int),s,y,m,_,!h)).validate$0(),g=A.Stylesheet_Stylesheet$parse(e,d,!1,null),b=g.span,f=b.get$sourceUrl(b),(y=!!D.Uri._is(f)&&""===f.get$scheme())&&A.WarnForDeprecation_warnForDeprecation(s,C.Deprecation_r8S,"Passing a relative `url` argument ("+A.S(b.get$sourceUrl(b))+P.x29x20to_cm,null,null),$=3,A._asyncAwait(A._compileStylesheet0(g,s,i,null,o,null,u,!0,null,null,a,c,t),S);case 3:v=E,s.summarize$1$js(!1),p=v,$=1;break;case 1:return A._asyncReturn(p,x)}});return A._asyncStartSync(S,x)},_compileStylesheet0(e,t,r,n,i,o,s,a,l,c,u,d,h){var p,m,_,g,f=0,v=A._makeAsyncAwaitCompleter(D.CompileResult),b=A._wrapJsFunctionForAsync(function(a,y){if(1===a)return A._asyncRethrow(y,v);for(;;)switch(f){case 0:return g=A,f=3,A._asyncAwait(A._EvaluateVisitor$0(o,r,t,n,u,d).run$2(0,i,e),b);case 3:m=g.serialize(y._1,h,l,!1,c,t,d,s,!0),null!=(_=m._1)&&A.mapInPlace(_.urls,new A._compileStylesheet_closure0(e,r)),p=new A.CompileResult(m),f=1;break;case 1:return A._asyncReturn(p,v)}});return A._asyncStartSync(b,v)},_compileStylesheet_closure0:function(e,t){this.stylesheet=e,this.importCache=t},AsyncEnvironment$(){var e=D.String,t=D.Module_AsyncCallable,r=D.AstNode,n=D.int,i=D.AsyncCallable,o=D.JSArray_Map_String_AsyncCallable;return new A.AsyncEnvironment(A.LinkedHashMap_LinkedHashMap$_empty(e,t),A.LinkedHashMap_LinkedHashMap$_empty(e,r),A.LinkedHashMap_LinkedHashMap$_empty(t,r),A.LinkedHashMap_LinkedHashMap$_empty(t,r),null,null,A._setArrayType([],D.JSArray_Module_AsyncCallable),A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(e,D.Value)],D.JSArray_Map_String_Value),A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(e,r)],D.JSArray_Map_String_AstNode),A.LinkedHashMap_LinkedHashMap$_empty(e,n),A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(e,i)],o),A.LinkedHashMap_LinkedHashMap$_empty(e,n),A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(e,i)],o),A.LinkedHashMap_LinkedHashMap$_empty(e,n),null,A.LinkedHashSet_LinkedHashSet$_empty(e))},AsyncEnvironment$_(e,t,r,n,i,o,s,a,l,c,u,d,h){var p=D.String,m=D.int;return new A.AsyncEnvironment(e,t,r,n,i,o,s,a,l,A.LinkedHashMap_LinkedHashMap$_empty(p,m),c,A.LinkedHashMap_LinkedHashMap$_empty(p,m),u,A.LinkedHashMap_LinkedHashMap$_empty(p,m),d,h)},_EnvironmentModule__EnvironmentModule0(e,t,r,n,i){var o,s,a,l,c,u,d,h,p;for(null==i&&(i=C.Set_empty3),o=D.dynamic,o=A.LinkedHashMap_LinkedHashMap$_empty(o,o),s=D.Module_AsyncCallable,a=D.List_CssComment,l=(l=A.MapExtensions_get_pairs(r,s,a)).get$iterator(l),c=D.CssComment;l.moveNext$0();)d=(u=l.get$current(l))._0,(h=A.List_List$from(u._1,!1,c)).$flags=3,o.$indexSet(0,d,h);return o=A.ConstantMap_ConstantMap$from(o,s,a),s=A._EnvironmentModule__makeModulesByVariable0(i),a=A._EnvironmentModule__memberMap0(C.JSArray_methods.get$first(e._async_environment$_variables),i.map$1$1(0,new A._EnvironmentModule__EnvironmentModule_closure5,D.Map_String_Value),D.Value),l=A._EnvironmentModule__memberMap0(C.JSArray_methods.get$first(e._async_environment$_variableNodes),i.map$1$1(0,new A._EnvironmentModule__EnvironmentModule_closure6,D.Map_String_AstNode),D.AstNode),c=D.Map_String_AsyncCallable,u=D.AsyncCallable,p=A._EnvironmentModule__memberMap0(C.JSArray_methods.get$first(e._async_environment$_functions),i.map$1$1(0,new A._EnvironmentModule__EnvironmentModule_closure7,c),u),u=A._EnvironmentModule__memberMap0(C.JSArray_methods.get$first(e._async_environment$_mixins),i.map$1$1(0,new A._EnvironmentModule__EnvironmentModule_closure8,c),u),c=w.get$isNotEmpty$asx(t.get$children(t))||r.get$isNotEmpty(r)||C.JSArray_methods.any$1(e._async_environment$_allModules,new A._EnvironmentModule__EnvironmentModule_closure9),A._EnvironmentModule$_0(e,t,o,n,s,a,l,p,u,c,!n.get$isEmpty(n)||C.JSArray_methods.any$1(e._async_environment$_allModules,new A._EnvironmentModule__EnvironmentModule_closure10))},_EnvironmentModule__makeModulesByVariable0(e){var t,r,n,i,o,s;if(e.get$isEmpty(e))return C.Map_empty8;for(t=A.LinkedHashMap_LinkedHashMap$_empty(D.String,D.Module_AsyncCallable),r=e.get$iterator(e);r.moveNext$0();)if((n=r.get$current(r))instanceof A._EnvironmentModule0){for(i=(i=(i=n._async_environment$_modulesByVariable).get$values(i)).get$iterator(i);i.moveNext$0();)s=(o=i.get$current(i)).get$variables(),A.setAll(t,s.get$keys(s),o);i=C.JSArray_methods.get$first(n._async_environment$_environment._async_environment$_variables),A.setAll(t,i.get$keys(i),n)}else i=n.get$variables(),A.setAll(t,i.get$keys(i),n);return t},_EnvironmentModule__memberMap0(e,t,r){var n,i,o;if(e=new A.PublicMemberMapView(e,r._eval$1("PublicMemberMapView<0>")),t.get$isEmpty(t))return e;for(n=A._setArrayType([],r._eval$1("JSArray<Map<String,0>>")),i=t.get$iterator(t);i.moveNext$0();)(o=i.get$current(i)).get$isNotEmpty(o)&&n.push(o);return n.push(e),1===n.length?e:A.MergedMapView$(n,D.String,r)},_EnvironmentModule$_0:(e,t,r,n,i,o,s,a,l,c,u)=>new A._EnvironmentModule0(e._async_environment$_allModules,o,s,a,l,n,t,r,c,u,e,i),AsyncEnvironment:function(e,t,r,n,i,o,s,a,l,c,u,d,h,p,m,_){var g=this;g._async_environment$_modules=e,g._async_environment$_namespaceNodes=t,g._async_environment$_globalModules=r,g._async_environment$_importedModules=n,g._async_environment$_forwardedModules=i,g._async_environment$_nestedForwardedModules=o,g._async_environment$_allModules=s,g._async_environment$_variables=a,g._async_environment$_variableNodes=l,g._async_environment$_variableIndices=c,g._async_environment$_functions=u,g._async_environment$_functionIndices=d,g._async_environment$_mixins=h,g._async_environment$_mixinIndices=p,g._async_environment$_content=m,g._async_environment$_configurableVariables=_,g._async_environment$_inMixin=!1,g._async_environment$_inSemiGlobalScope=!0,g._async_environment$_lastVariableIndex=g._async_environment$_lastVariableName=null},AsyncEnvironment__getVariableFromGlobalModule_closure:function(e){this.name=e},AsyncEnvironment_setVariable_closure:function(e,t){this.$this=e,this.name=t},AsyncEnvironment_setVariable_closure0:function(e){this.name=e},AsyncEnvironment_setVariable_closure1:function(e,t){this.$this=e,this.name=t},AsyncEnvironment__getFunctionFromGlobalModule_closure:function(e){this.name=e},AsyncEnvironment__getMixinFromGlobalModule_closure:function(e){this.name=e},AsyncEnvironment_toModule_closure:function(){},AsyncEnvironment_toDummyModule_closure:function(){},_EnvironmentModule0:function(e,t,r,n,i,o,s,a,l,c,u,d){var h=this;h.upstream=e,h.variables=t,h.variableNodes=r,h.functions=n,h.mixins=i,h.extensionStore=o,h.css=s,h.preModuleComments=a,h.transitivelyContainsCss=l,h.transitivelyContainsExtensions=c,h._async_environment$_environment=u,h._async_environment$_modulesByVariable=d},_EnvironmentModule__EnvironmentModule_closure5:function(){},_EnvironmentModule__EnvironmentModule_closure6:function(){},_EnvironmentModule__EnvironmentModule_closure7:function(){},_EnvironmentModule__EnvironmentModule_closure8:function(){},_EnvironmentModule__EnvironmentModule_closure9:function(){},_EnvironmentModule__EnvironmentModule_closure10:function(){},_EnvironmentModule_couldHaveBeenConfigured_closure0:function(e){this.variables=e},AsyncImportCache__toImporters(e,t,r){var i,o,s,a,l,c,u=null,d=A.getEnvironmentVariable("SASS_PATH");if(A.isBrowser())return i=A._setArrayType([],D.JSArray_AsyncImporter_2),C.JSArray_methods.addAll$1(i,e),i;for(i=A._setArrayType([],D.JSArray_AsyncImporter_2),C.JSArray_methods.addAll$1(i,e),o=w.get$iterator$ax(t);o.moveNext$0();)s=o.get$current(o),i.push(new A.FilesystemImporter(I.$get$context().absolute$15(s,u,u,u,u,u,u,u,u,u,u,u,u,u,u),!1));if(null!=d)for(o=A.isNodeJs()?n.process:u,a=(s=d.split(w.$eq$(null==o?u:w.get$platform$x(o),"win32")?";":":")).length,l=0;l<a;++l)c=s[l],i.push(new A.FilesystemImporter(I.$get$context().absolute$15(c,u,u,u,u,u,u,u,u,u,u,u,u,u,u),!1));return i},AsyncImportCache:function(e,t,r,n,i,o,s){var a=this;a._async_import_cache$_importers=e,a._async_import_cache$_canonicalizeCache=t,a._async_import_cache$_perImporterCanonicalizeCache=r,a._async_import_cache$_nonCanonicalRelativeUrls=n,a._async_import_cache$_importCache=i,a._async_import_cache$_resultsCache=o,a._async_import_cache$_loadTimes=s},AsyncImportCache_canonicalize_closure:function(e,t,r,n,i,o,s){var a=this;a.$this=e,a.baseImporter=t,a.resolvedUrl=r,a.baseUrl=n,a.forImport=i,a.key=o,a.url=s},AsyncImportCache__canonicalize_closure:function(e,t){this.importer=e,this.url=t},AsyncImportCache_importCanonical_closure:function(e,t,r,n){var i=this;i.$this=e,i.importer=t,i.canonicalUrl=r,i.originalUrl=n},AsyncImportCache_humanize_closure:function(e){this.canonicalUrl=e},AsyncImportCache_humanize_closure0:function(){},AsyncImportCache_humanize_closure1:function(){},AsyncImportCache_humanize_closure2:function(e){this.canonicalUrl=e},AsyncBuiltInCallable$mixin:(e,t,r,n,i)=>new A.AsyncBuiltInCallable(e,A.ScssParser$("@mixin "+e+"("+t+") {",!1,i).parseParameterList$0(),new A.AsyncBuiltInCallable$mixin_closure(r),!1),AsyncBuiltInCallable:function(e,t,r,n){var i=this;i.name=e,i._parameters=t,i._async_built_in$_callback=r,i.acceptsContent=n},AsyncBuiltInCallable$mixin_closure:function(e){this.callback=e},AsyncBuiltInCallable_withDeprecationWarning_closure:function(e,t,r){this.$this=e,this.module=t,this.newName=r},BuiltInCallable$function:(e,t,r,n)=>new A.BuiltInCallable(e,A._setArrayType([new A._Record_2(A.ScssParser$("@function "+e+"("+t+") {",!1,n).parseParameterList$0(),r)],D.JSArray_Record_2_ParameterList_and_Value_Function_List_Value),!1),BuiltInCallable$mixin:(e,t,r,n,i)=>new A.BuiltInCallable(e,A._setArrayType([new A._Record_2(A.ScssParser$("@mixin "+e+"("+t+") {",!1,i).parseParameterList$0(),new A.BuiltInCallable$mixin_closure(r))],D.JSArray_Record_2_ParameterList_and_Value_Function_List_Value),n),BuiltInCallable$overloadedFunction(e,t){var r,n,i,o,s,a,l,c,u=A._setArrayType([],D.JSArray_Record_2_ParameterList_and_Value_Function_List_Value);for(r=D.String,n=(n=A.MapExtensions_get_pairs(t,r,D.Value_Function_List_Value)).get$iterator(n),i="@function "+e+"(",o=D.FileSpan,s=D.JSArray_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span;n.moveNext$0();)l=(a=n.get$current(n))._0,c=a._1,u.push(new A._Record_2(new A.ScssParser(!1,A.LinkedHashMap_LinkedHashMap$_empty(r,o),A._setArrayType([],s),A.SpanScanner$(i+l+") {",null),null).parseParameterList$0(),c));return new A.BuiltInCallable(e,u,!1)},BuiltInCallable:function(e,t,r){this.name=e,this._overloads=t,this.acceptsContent=r},BuiltInCallable$mixin_closure:function(e){this.callback=e},BuiltInCallable_withDeprecationWarning_closure:function(e,t,r,n){var i=this;i._box_0=e,i.$this=t,i.module=r,i.newName=n},PlainCssCallable:function(e){this.name=e},UserDefinedCallable:function(e,t,r,n){var i=this;i.declaration=e,i.environment=t,i.inDependency=r,i.$ti=n},_compileStylesheet(e,t,r,n,i,o,s,a,l,c,u,d,h){var p=A.serialize(A._EvaluateVisitor$(o,r,t,n,u,d).run$2(0,i,e)._1,h,l,!1,c,t,d,s,!0),m=p._1;return null!=m&&A.mapInPlace(m.urls,new A._compileStylesheet_closure(e,r)),new A.CompileResult(p)},_compileStylesheet_closure:function(e,t){this.stylesheet=e,this.importCache=t},CompileResult:function(e){this._serialize=e},Configuration:function(e,t){this._configuration$_values=e,this.__originalConfiguration=t},ExplicitConfiguration:function(e,t,r){this.nodeWithSpan=e,this._configuration$_values=t,this.__originalConfiguration=r},ConfiguredValue:function(e,t,r){this.value=e,this.configurationSpan=t,this.assignmentNode=r},Deprecation_fromId:e=>A.IterableExtension_firstWhereOrNull(C.List_u1I,new A.Deprecation_fromId_closure(e)),Deprecation_forVersion(e){var t,r,n,i,o,s=A.LinkedHashSet_LinkedHashSet$_empty(D.Deprecation);for(t=A.VersionRange_VersionRange(!0,e).get$allows(),r=0;r<30;++r)(o=!(null==(o=null==(o=null==(i=(n=C.List_u1I[r])._deprecatedIn)?null:A.Version___parse_tearOff(i))?null:t.call$1(o))||!o)&&null==(o=null==(i=n._obsoleteIn)?null:A.Version___parse_tearOff(i)))&&s.add$1(0,n);return s},Deprecation:function(e,t,r,n,i){var o=this;o.id=e,o._deprecatedIn=t,o._obsoleteIn=r,o.index=n,o._name=i},Deprecation_fromId_closure:function(e){this.id=e},Environment$(){var e=D.String,t=D.Module_Callable,r=D.AstNode,n=D.int,i=D.Callable,o=D.JSArray_Map_String_Callable;return new A.Environment(A.LinkedHashMap_LinkedHashMap$_empty(e,t),A.LinkedHashMap_LinkedHashMap$_empty(e,r),A.LinkedHashMap_LinkedHashMap$_empty(t,r),A.LinkedHashMap_LinkedHashMap$_empty(t,r),null,null,A._setArrayType([],D.JSArray_Module_Callable),A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(e,D.Value)],D.JSArray_Map_String_Value),A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(e,r)],D.JSArray_Map_String_AstNode),A.LinkedHashMap_LinkedHashMap$_empty(e,n),A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(e,i)],o),A.LinkedHashMap_LinkedHashMap$_empty(e,n),A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(e,i)],o),A.LinkedHashMap_LinkedHashMap$_empty(e,n),null,A.LinkedHashSet_LinkedHashSet$_empty(e))},Environment$_(e,t,r,n,i,o,s,a,l,c,u,d,h){var p=D.String,m=D.int;return new A.Environment(e,t,r,n,i,o,s,a,l,A.LinkedHashMap_LinkedHashMap$_empty(p,m),c,A.LinkedHashMap_LinkedHashMap$_empty(p,m),u,A.LinkedHashMap_LinkedHashMap$_empty(p,m),d,h)},_EnvironmentModule__EnvironmentModule(e,t,r,n,i){var o,s,a,l,c,u,d,h,p;for(null==i&&(i=C.Set_empty0),o=D.dynamic,o=A.LinkedHashMap_LinkedHashMap$_empty(o,o),s=D.Module_Callable,a=D.List_CssComment,l=(l=A.MapExtensions_get_pairs(r,s,a)).get$iterator(l),c=D.CssComment;l.moveNext$0();)d=(u=l.get$current(l))._0,(h=A.List_List$from(u._1,!1,c)).$flags=3,o.$indexSet(0,d,h);return o=A.ConstantMap_ConstantMap$from(o,s,a),s=A._EnvironmentModule__makeModulesByVariable(i),a=A._EnvironmentModule__memberMap(C.JSArray_methods.get$first(e._variables),i.map$1$1(0,new A._EnvironmentModule__EnvironmentModule_closure,D.Map_String_Value),D.Value),l=A._EnvironmentModule__memberMap(C.JSArray_methods.get$first(e._variableNodes),i.map$1$1(0,new A._EnvironmentModule__EnvironmentModule_closure0,D.Map_String_AstNode),D.AstNode),c=D.Map_String_Callable,u=D.Callable,p=A._EnvironmentModule__memberMap(C.JSArray_methods.get$first(e._functions),i.map$1$1(0,new A._EnvironmentModule__EnvironmentModule_closure1,c),u),u=A._EnvironmentModule__memberMap(C.JSArray_methods.get$first(e._mixins),i.map$1$1(0,new A._EnvironmentModule__EnvironmentModule_closure2,c),u),c=w.get$isNotEmpty$asx(t.get$children(t))||r.get$isNotEmpty(r)||C.JSArray_methods.any$1(e._allModules,new A._EnvironmentModule__EnvironmentModule_closure3),A._EnvironmentModule$_(e,t,o,n,s,a,l,p,u,c,!n.get$isEmpty(n)||C.JSArray_methods.any$1(e._allModules,new A._EnvironmentModule__EnvironmentModule_closure4))},_EnvironmentModule__makeModulesByVariable(e){var t,r,n,i,o,s;if(e.get$isEmpty(e))return C.Map_empty0;for(t=A.LinkedHashMap_LinkedHashMap$_empty(D.String,D.Module_Callable),r=e.get$iterator(e);r.moveNext$0();)if((n=r.get$current(r))instanceof A._EnvironmentModule){for(i=(i=(i=n._modulesByVariable).get$values(i)).get$iterator(i);i.moveNext$0();)s=(o=i.get$current(i)).get$variables(),A.setAll(t,s.get$keys(s),o);i=C.JSArray_methods.get$first(n._environment$_environment._variables),A.setAll(t,i.get$keys(i),n)}else i=n.get$variables(),A.setAll(t,i.get$keys(i),n);return t},_EnvironmentModule__memberMap(e,t,r){var n,i,o;if(e=new A.PublicMemberMapView(e,r._eval$1("PublicMemberMapView<0>")),t.get$isEmpty(t))return e;for(n=A._setArrayType([],r._eval$1("JSArray<Map<String,0>>")),i=t.get$iterator(t);i.moveNext$0();)(o=i.get$current(i)).get$isNotEmpty(o)&&n.push(o);return n.push(e),1===n.length?e:A.MergedMapView$(n,D.String,r)},_EnvironmentModule$_:(e,t,r,n,i,o,s,a,l,c,u)=>new A._EnvironmentModule(e._allModules,o,s,a,l,n,t,r,c,u,e,i),Environment:function(e,t,r,n,i,o,s,a,l,c,u,d,h,p,m,_){var g=this;g._environment$_modules=e,g._namespaceNodes=t,g._globalModules=r,g._importedModules=n,g._forwardedModules=i,g._nestedForwardedModules=o,g._allModules=s,g._variables=a,g._variableNodes=l,g._variableIndices=c,g._functions=u,g._functionIndices=d,g._mixins=h,g._mixinIndices=p,g._content=m,g._configurableVariables=_,g._inMixin=!1,g._inSemiGlobalScope=!0,g._lastVariableIndex=g._lastVariableName=null},Environment__getVariableFromGlobalModule_closure:function(e){this.name=e},Environment_setVariable_closure:function(e,t){this.$this=e,this.name=t},Environment_setVariable_closure0:function(e){this.name=e},Environment_setVariable_closure1:function(e,t){this.$this=e,this.name=t},Environment__getFunctionFromGlobalModule_closure:function(e){this.name=e},Environment__getMixinFromGlobalModule_closure:function(e){this.name=e},Environment_toModule_closure:function(){},Environment_toDummyModule_closure:function(){},_EnvironmentModule:function(e,t,r,n,i,o,s,a,l,c,u,d){var h=this;h.upstream=e,h.variables=t,h.variableNodes=r,h.functions=n,h.mixins=i,h.extensionStore=o,h.css=s,h.preModuleComments=a,h.transitivelyContainsCss=l,h.transitivelyContainsExtensions=c,h._environment$_environment=u,h._modulesByVariable=d},_EnvironmentModule__EnvironmentModule_closure:function(){},_EnvironmentModule__EnvironmentModule_closure0:function(){},_EnvironmentModule__EnvironmentModule_closure1:function(){},_EnvironmentModule__EnvironmentModule_closure2:function(){},_EnvironmentModule__EnvironmentModule_closure3:function(){},_EnvironmentModule__EnvironmentModule_closure4:function(){},_EnvironmentModule_couldHaveBeenConfigured_closure:function(e){this.variables=e},SassException$:(e,t,r)=>new A.SassException(null==r?C.Set_empty:A.Set_Set$unmodifiable(r,D.Uri),e,t),MultiSpanSassException$(e,t,r,n,i){var o=A.ConstantMap_ConstantMap$from(n,D.FileSpan,D.String);return new A.MultiSpanSassException(r,o,null==i?C.Set_empty:A.Set_Set$unmodifiable(i,D.Uri),e,t)},SassRuntimeException$:(e,t,r,n)=>new A.SassRuntimeException(r,null==n?C.Set_empty:A.Set_Set$unmodifiable(n,D.Uri),e,t),MultiSpanSassRuntimeException$(e,t,r,n,i,o){var s=A.ConstantMap_ConstantMap$from(n,D.FileSpan,D.String);return new A.MultiSpanSassRuntimeException(i,r,s,null==o?C.Set_empty:A.Set_Set$unmodifiable(o,D.Uri),e,t)},SassFormatException$:(e,t,r)=>new A.SassFormatException(null==r?C.Set_empty:A.Set_Set$unmodifiable(r,D.Uri),e,t),MultiSpanSassFormatException$(e,t,r,n,i){var o=A.ConstantMap_ConstantMap$from(n,D.FileSpan,D.String);return new A.MultiSpanSassFormatException(r,o,null==i?C.Set_empty:A.Set_Set$unmodifiable(i,D.Uri),e,t)},SassScriptException$:(e,t)=>new A.SassScriptException(null==t?e:"$"+t+": "+e),MultiSpanSassScriptException$(e,t,r){var n=A.ConstantMap_ConstantMap$from(r,D.FileSpan,D.String);return new A.MultiSpanSassScriptException(t,n,e)},SassException:function(e,t,r){this.loadedUrls=e,this._span_exception$_message=t,this._span=r},MultiSpanSassException:function(e,t,r,n,i){var o=this;o.primaryLabel=e,o.secondarySpans=t,o.loadedUrls=r,o._span_exception$_message=n,o._span=i},SassRuntimeException:function(e,t,r,n){var i=this;i.trace=e,i.loadedUrls=t,i._span_exception$_message=r,i._span=n},MultiSpanSassRuntimeException:function(e,t,r,n,i,o){var s=this;s.trace=e,s.primaryLabel=t,s.secondarySpans=r,s.loadedUrls=n,s._span_exception$_message=i,s._span=o},SassFormatException:function(e,t,r){this.loadedUrls=e,this._span_exception$_message=t,this._span=r},MultiSpanSassFormatException:function(e,t,r,n,i){var o=this;o.primaryLabel=e,o.secondarySpans=t,o.loadedUrls=r,o._span_exception$_message=n,o._span=i},SassScriptException:function(e){this.message=e},MultiSpanSassScriptException:function(e,t,r){this.primaryLabel=e,this.secondarySpans=t,this.message=r},compileStylesheet:(e,t,r,n,i)=>A.compileStylesheet$body(e,t,r,n,i),compileStylesheet$body(e,t,r,n,i){var o,s,a,l,c,u,d,h,p,m,_=0,g=A._makeAsyncAwaitCompleter(D.nullable_Record_3_int_and_String_and_nullable_String),f=2,v=[],b=A._wrapJsFunctionForAsync(function(y,$){for(1===y&&(v.push($),_=f);;)switch(_){case 0:return f=4,_=7,A._asyncAwait(A._compileStylesheetWithoutErrorHandling(e,t,r,n,i),b);case 7:f=2,_=6;break;case 4:if(f=3,m=v.pop(),(p=A.unwrapException(m))instanceof A.SassException){s=p,a=A.getTraceFromException(m),null==n||e.get$emitErrorCss()||A._tryDelete(n),l=w.toString$1$color$(s,e.get$color()),A._asBool(e._options.$index(0,"trace"))?null==(p=A.getTrace(s))&&(p=a):p=null,o=A._getErrorWithStackTrace(65,l,p),_=1;break}if(p instanceof A.FileSystemException){c=p,u=A.getTraceFromException(m),d=c.path,h=null==d?c.message:"Error reading "+I.$get$context().relative$2$from(d,null)+": "+c.message+".",A._asBool(e._options.$index(0,"trace"))?null==(p=A.getTrace(c))&&(p=u):p=null,o=A._getErrorWithStackTrace(66,h,p),_=1;break}throw m;case 3:_=2;break;case 6:o=null,_=1;break;case 1:return A._asyncReturn(o,g);case 2:return A._asyncRethrow(v.at(-1),g)}});return A._asyncStartSync(b,g)},_compileStylesheetWithoutErrorHandling:(e,t,r,n,i)=>A._compileStylesheetWithoutErrorHandling$body(e,t,r,n,i),_compileStylesheetWithoutErrorHandling$body(e,t,r,i,o){var s,a,l,c,u,d,h,p,m,_,g,f,v,b,y,$,x,S,E,M,k,T,R,L,N,F,O,B,U,V,z,H=0,G=A._makeAsyncAwaitCompleter(D.void),j=2,J=[],W=A._wrapJsFunctionForAsync(function(Q,q){for(1===Q&&(J.push(q),H=j);;)switch(H){case 0:if(V=I.$get$FilesystemImporter_cwd(),o)try{if(u=!1,null!=r&&null!=i&&(u=A.absolute(r,null,null,null,null,null,null,null,null,null,null,null,null,null,null),u=!t.modifiedSince$3(I.$get$context().toUri$1(u),A.modificationTime(i),V)),u){H=1;break}}catch(e){if(!(A.unwrapException(e)instanceof A.FileSystemException))throw e}s=null,s=!0===A._asBoolQ(e._ifParsed$1("indented"))?C.Syntax_Sass_1_sass:null!=r?A.Syntax_forPath(r):C.Syntax_SCSS_0_scss,a=null,j=4,u=e._options,H=A._asBool(u.$index(0,"async"))?7:9;break;case 7:d=D.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl,h=D.Record_3_AsyncImporter_and_Uri_and_bool_forImport,p=D.Uri,l=new A.AsyncImportCache(A.AsyncImportCache__toImporters(e.get$pkgImporters(),D.List_String._as(u.$index(0,"load-path")),null),A.LinkedHashMap_LinkedHashMap$_empty(D.Record_2_Uri_and_bool_forImport,d),A.LinkedHashMap_LinkedHashMap$_empty(h,d),A.LinkedHashMap_LinkedHashMap$_empty(h,p),A.LinkedHashMap_LinkedHashMap$_empty(p,D.nullable_Stylesheet),A.LinkedHashMap_LinkedHashMap$_empty(p,D.ImporterResult),A.LinkedHashMap_LinkedHashMap$_empty(p,D.DateTime)),H=null==r?10:12;break;case 10:return H=13,A._asyncAwait(A.readStdin(),W);case 13:return d=q,h=s,p=A._asBool(u.$index(0,"quiet"))?I.$get$Logger_quiet():new A.StderrLogger(e.get$color()),m=I.$get$FilesystemImporter_cwd(),_=w.$eq$(u.$index(0,"style"),"compressed")?C.OutputStyle_1:C.OutputStyle_0,g=A._asBool(u.$index(0,"quiet-deps")),f=A._asBool(u.$index(0,"verbose")),v=e.get$emitSourceMap(),u=A._asBool(u.$index(0,"charset")),b=e.get$silenceDeprecations(0),H=14,A._asyncAwait(A.compileStringAsync(d,u,e.get$fatalDeprecations(0),e.get$futureDeprecations(0),l,m,p,g,b,v,_,h,f),W);case 14:y=q,H=11;break;case 12:return d=s,h=A._asBool(u.$index(0,"quiet"))?I.$get$Logger_quiet():new A.StderrLogger(e.get$color()),p=w.$eq$(u.$index(0,"style"),"compressed")?C.OutputStyle_1:C.OutputStyle_0,m=A._asBool(u.$index(0,"quiet-deps")),_=A._asBool(u.$index(0,"verbose")),g=e.get$emitSourceMap(),u=A._asBool(u.$index(0,"charset")),f=e.get$silenceDeprecations(0),H=15,A._asyncAwait(A.compileAsync(r,u,e.get$fatalDeprecations(0),e.get$futureDeprecations(0),l,h,m,f,g,p,d,_),W);case 15:y=q;case 11:a=y,H=8;break;case 9:t.reloadAllModified$0(),H=null==r?16:18;break;case 16:return H=19,A._asyncAwait(A.readStdin(),W);case 19:d=q,h=s,p=A._asBool(u.$index(0,"quiet"))?I.$get$Logger_quiet():new A.StderrLogger(e.get$color()),m=I.$get$FilesystemImporter_cwd(),_=w.$eq$(u.$index(0,"style"),"compressed")?C.OutputStyle_1:C.OutputStyle_0,g=A._asBool(u.$index(0,"quiet-deps")),f=A._asBool(u.$index(0,"verbose")),v=e.get$emitSourceMap(),u=A._asBool(u.$index(0,"charset")),b=e.get$silenceDeprecations(0),$=e.get$fatalDeprecations(0),x=e.get$futureDeprecations(0),S=D.Deprecation,(E=A.LinkedHashSet_LinkedHashSet$_empty(S)).addAll$1(0,b),(b=A.LinkedHashSet_LinkedHashSet$_empty(S)).addAll$1(0,$),($=A.LinkedHashSet_LinkedHashSet$_empty(S)).addAll$1(0,x),(M=new A.DeprecationProcessingLogger(A.LinkedHashMap_LinkedHashMap$_empty(S,D.int),p,E,b,$,!f)).validate$0(),k=A.Stylesheet_Stylesheet$parse(d,null==h?C.Syntax_SCSS_0_scss:h,!1,null),d=k.span,T=d.get$sourceUrl(d),(h=!!D.Uri._is(T)&&""===T.get$scheme())&&A.WarnForDeprecation_warnForDeprecation(M,C.Deprecation_r8S,"Passing a relative `url` argument ("+A.S(d.get$sourceUrl(d))+P.x29x20to_cm,null,null),y=A._compileStylesheet(k,M,t.importCache,null,m,null,_,!0,null,null,g,v,u),M.summarize$1$js(!1),H=17;break;case 18:d=s,h=A._asBool(u.$index(0,"quiet"))?I.$get$Logger_quiet():new A.StderrLogger(e.get$color()),l=t.importCache,p=w.$eq$(u.$index(0,"style"),"compressed")?C.OutputStyle_1:C.OutputStyle_0,m=A._asBool(u.$index(0,"quiet-deps")),_=A._asBool(u.$index(0,"verbose")),g=e.get$emitSourceMap(),u=A._asBool(u.$index(0,"charset")),f=e.get$silenceDeprecations(0),v=e.get$fatalDeprecations(0),b=e.get$futureDeprecations(0),$=D.Deprecation,(x=A.LinkedHashSet_LinkedHashSet$_empty($)).addAll$1(0,f),(f=A.LinkedHashSet_LinkedHashSet$_empty($)).addAll$1(0,v),(v=A.LinkedHashSet_LinkedHashSet$_empty($)).addAll$1(0,b),(M=new A.DeprecationProcessingLogger(A.LinkedHashMap_LinkedHashMap$_empty($,D.int),h,x,f,v,!_)).validate$0(),(h=null==d||d===A.Syntax_forPath(r))?(d=I.$get$FilesystemImporter_cwd(),h=A.isNodeJs()?n.process:null,w.$eq$(null==h?null:w.get$platform$x(h),"win32")?h=!0:(h=A.isNodeJs()?n.process:null,h=w.$eq$(null==h?null:w.get$platform$x(h),"darwin")),h?(h=A.absolute(r,null,null,null,null,null,null,null,null,null,null,null,null,null,null),_=I.$get$context(),h=A._realCasePath(_.normalize$1(h))):(h=I.$get$context(),_=h.canonicalize$1(0,r),R=_,_=h,h=R),(_=l.importCanonical$3$originalUrl(d,_.toUri$1(h),_.toUri$1(r))).toString,k=_):(h=A.readFile(r),null==d&&(d=A.Syntax_forPath(r)),k=A.Stylesheet_Stylesheet$parse(h,d,!1,I.$get$context().toUri$1(r))),y=A._compileStylesheet(k,M,l,null,I.$get$FilesystemImporter_cwd(),null,p,!0,null,null,m,g,u),M.summarize$1$js(!1);case 17:a=y;case 8:j=2,H=6;break;case 4:throw j=3,z=J.pop(),(u=A.unwrapException(z))instanceof A.SassException?(c=u,e.get$emitErrorCss()&&(null==i?A.print(c.toCssString$0()):(A.ensureDir(I.$get$context().dirname$1(i)),A.writeFile(i,c.toCssString$0()+"\n"))),z):z;case 3:H=2;break;case 6:if(L=a._serialize._0+A._writeSourceMap(e,a._serialize._1,i),null==i?0!==L.length&&A.print(L):(A.ensureDir(I.$get$context().dirname$1(i)),A.writeFile(i,L+"\n")),u=e._options,u=!!A._asBool(u.$index(0,"quiet"))||!A._asBool(u.$index(0,"update"))&&!A._asBool(u.$index(0,"watch"))){H=1;break}N=new A.StringBuffer(""),null==r?F="stdin":(u=I.$get$context(),F=u.prettyUri$1(u.toUri$1(r))),i.toString,u=I.$get$context(),O=u.prettyUri$1(u.toUri$1(i)),B=new A.DateTime(Date.now(),0,!1).toString$0(0),U=C.JSString_methods.substring$2(B,0,B.length-7),u=e.get$color()?N._contents="":"",u=N._contents=u+"["+U+"] ",e.get$color()&&(u=N._contents=u+""),u=N._contents=u+"Compiled "+F+" to "+O+".",e.get$color()&&(u=N._contents=u+""),null!=(d=A.isNodeJs()?n.process:null)?(u=w.get$stdout$x(d),w.write$1$x(u,N.toString$0(0)+"\n")):(d=n.console,w.log$1$x(d,(u.charCodeAt(0),u)));case 1:return A._asyncReturn(undefined,G);case 2:return A._asyncRethrow(J.at(-1),G)}});return A._asyncStartSync(W,G)},_writeSourceMap(e,t,r){var n,i,o,s,a,l;return null==t?"":(null!=r&&(n=I.$get$context(),t.targetUrl=n.toUri$1(A.ParsedPath_ParsedPath$parse(r,n.style).get$basename()).toString$0(0)),A.mapInPlace(t.urls,new A._writeSourceMap_closure(e,r)),n=e._options,i=C.C_JsonCodec.encode$2$toEncodable(t.toJson$1$includeSourceContents(A._asBool(n.$index(0,"embed-sources"))),null),A._asBool(n.$index(0,"embed-source-map"))?o=A.Uri_Uri$dataFromString(i,C.C_Utf8Codec,"application/json"):(r.toString,s=r+".map",a=I.$get$context(),A.ensureDir(a.dirname$1(s)),A.writeFile(s,i),o=a.toUri$1(a.relative$2$from(s,a.dirname$1(r)))),a=o.toString$0(0),l=A.stringReplaceAllUnchecked(a,"*/","%2A/"),(n=(w.$eq$(n.$index(0,"style"),"compressed")?C.OutputStyle_1:C.OutputStyle_0)===C.OutputStyle_1?"":"\n\n")+"/*# sourceMappingURL="+l+" */")},_tryDelete(e){try{A.deleteFile(e)}catch(e){if(!(A.unwrapException(e)instanceof A.FileSystemException))throw e}},_getErrorWithStackTrace:(e,t,r)=>new A._Record_3(e,t,null!=r?C.JSString_methods.trimRight$0(A.Trace_Trace$from(r).get$terse().toString$0(0)):null),_writeSourceMap_closure:function(e,t){this.options=e,this.destination=t},ExecutableOptions__separator(e){var t=I.$get$ExecutableOptions__separatorBar();return C.JSString_methods.$mul(t,3)+" "+(A.hasTerminal()?"":"")+e+(A.hasTerminal()?"":"")+" "+C.JSString_methods.$mul(t,35-e.length)},ExecutableOptions__fail:e=>A.throwExpression(A.UsageException$(e)),ExecutableOptions_ExecutableOptions$parse(e){var t,r,n,i;try{return n=I.$get$ExecutableOptions__parser(),(i=A.ListQueue$(D.String)).addAll$1(0,e),(i=A.Parser$(null,n,i,null,null).parse$0(0)).wasParsed$1("poll")&&!A._asBool(i.$index(0,"watch"))&&A.ExecutableOptions__fail("--poll may not be passed without --watch."),t=new A.ExecutableOptions(i),A._asBool(t._options.$index(0,"help"))&&A.ExecutableOptions__fail("Compile Sass to CSS."),t}catch(e){if(n=A.unwrapException(e),!D.FormatException._is(n))throw e;r=n,A.ExecutableOptions__fail(w.get$message$x(r))}},UsageException$:e=>new A.UsageException(e),ExecutableOptions:function(e){var t=this;t._options=e,t.__ExecutableOptions_interactive_FI=I,t._sourcesToDestinations=null,t.__ExecutableOptions__sourceDirectoriesToDestinations_F=I,t._fatalDeprecations=null},ExecutableOptions__parser_closure:function(){},ExecutableOptions_interactive_closure:function(e){this.$this=e},ExecutableOptions_emitErrorCss_closure:function(){},ExecutableOptions_fatalDeprecations_closure:function(e){this.$this=e},UsageException:function(e){this.message=e},repl:e=>A.repl$body(e),repl$body(e){var t,r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y,$,x,S,E,M,k,T,R,L,P=0,N=A._makeAsyncAwaitCompleter(D.void),F=1,O=[],B=[],U=A._wrapJsFunctionForAsync(function(V,z){for(1===V&&(O.push(z),P=F);;)switch(P){case 0:k=A._setArrayType([],D.JSArray_String),T=C.JSString_methods.$mul(" ",3),R=I.$get$alwaysValid(),(L=new A.Repl(">> ",T,R,k)).__Repl__adapter_A=new A.ReplAdapter(L),t=L,k=e._options,r=new A.TrackingLogger(A._asBool(k.$index(0,"quiet"))?I.$get$Logger_quiet():new A.StderrLogger(e.get$color())),(f=new A.DeprecationProcessingLogger(A.LinkedHashMap_LinkedHashMap$_empty(D.Deprecation,D.int),r,e.get$silenceDeprecations(0),e.get$fatalDeprecations(0),e.get$futureDeprecations(0),!A._asBool(k.$index(0,"verbose")))).validate$0(),n=new A.repl_warn(f),T=I.$get$FilesystemImporter_cwd(),i=new A.Evaluator(A._EvaluateVisitor$(null,A.ImportCache$(e.get$pkgImporters(),D.List_String._as(k.$index(0,"load-path"))),f,null,!1,!1),T),(T=t.__Repl__adapter_A)===I&&A.throwUnnamedLateFieldNI(),T=new A._StreamIterator(A.checkNotNullable(T.runAsync$0(),"stream",D.Object)),F=2,k=D.String,R=D.FileSpan,v=D.JSArray_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span,b=D.Expression;case 5:return P=7,A._asyncAwait(T.moveNext$0(),U);case 7:if(!z){P=6;break}if(o=T.get$current(0),0===w.trim$0$s(o).length){P=5;break}try{if(w.startsWith$1$s(o,"@")){null,null,l=new A.ScssParser(!1,A.LinkedHashMap_LinkedHashMap$_empty(k,R),A._setArrayType([],v),A.SpanScanner$(o,null),null).parseUseRule$0(),s=l._0,a=l._1,w.forEach$1$ax(a,n),$=s,(y=i)._visitor.runStatement$2(y._importer,$),P=5;break}new A.Parser(A.SpanScanner$(o,null),null)._isVariableDeclarationLike$0()?(null,null,d=new A.ScssParser(!1,A.LinkedHashMap_LinkedHashMap$_empty(k,R),A._setArrayType([],v),A.SpanScanner$(o,null),null).parseVariableDeclaration$0(),c=d._0,u=d._1,w.forEach$1$ax(u,n),$=c,(y=i)._visitor.runStatement$2(y._importer,$),$=i,y=c.name,x=c.span,S=c.namespace,E=$._visitor.runExpression$2($._importer,new A.VariableExpression(S,y,x)).toString$0(0),null==(M=I.printToZone)?A.printString(E):M.call$1(E)):(null,null,y=A._setArrayType([],v),$=new A.ScssParser(!1,A.LinkedHashMap_LinkedHashMap$_empty(k,R),y,A.SpanScanner$(o,null),null),m=new A._Record_2($._parseSingleProduction$1$1($.get$_expression(),b),y),h=m._0,p=m._1,w.forEach$1$ax(p,n),$=h,E=(y=i)._visitor.runExpression$2(y._importer,$).toString$0(0),null==(M=I.printToZone)?A.printString(E):M.call$1(E))}catch(n){if(!((y=A.unwrapException(n))instanceof A.SassException))throw n;_=y,g=A.getTraceFromException(n),!($="string"!=typeof(y=_))||"number"==typeof y||A._isBool(y)?y=null:(x=I.$get$_traces(),(A._isBool(y)||"number"==typeof y||!$||y instanceof A._Record)&&A.Expando__badExpandoKey(y),y=x._jsWeakMap.get(y)),null==y&&(y=g),A._logError(_,y,o,t,e,r)}P=5;break;case 6:B.push(4),P=3;break;case 2:B=[1];case 3:return F=1,P=8,A._asyncAwait(T.cancel$0(),U);case 8:P=B.pop();break;case 4:return A._asyncReturn(null,N);case 1:return A._asyncRethrow(O.at(-1),N)}});return A._asyncStartSync(U,N)},_logError(e,t,r,n,i,o){var s,a,l,c=A.SourceSpanException.prototype.get$span.call(e,0);(c=null!=c.get$sourceUrl(c)||!A._asBool(i._options.$index(0,"quiet"))&&(o._emittedDebug||o._emittedWarning))?A.print(e.toString$1$color(0,i.get$color())):(c=i.get$color()?"":"",s=(s=A.SourceSpanException.prototype.get$span.call(e,0)).get$start(s),a=n.prompt.length+s.file.getColumn$1(s.offset),(s=!!i.get$color()&&(s=(s=A.SourceSpanException.prototype.get$span.call(e,0)).get$start(s)).file.getColumn$1(s.offset)<r.length)&&(c=c+"["+a+"C"+A.SourceSpanException.prototype.get$span.call(e,0).get$text()+"\n"),s=C.JSString_methods.$mul(" ",a),l=A.SourceSpanException.prototype.get$span.call(e,0),l=c+s+(C.JSString_methods.$mul("^",Math.max(1,l.get$length(l)))+"\n"),c=i.get$color()?l+"":l,c+="Error: "+e._span_exception$_message+"\n",A._asBool(i._options.$index(0,"trace"))&&(c+=A.Trace_Trace$from(t).get$terse().toString$0(0)),A.print(C.JSString_methods.trimRight$0((c.charCodeAt(0),c))))},repl_warn:function(e){this.logger=e},watch(e,t){var r,i,o,s,a,l,c,u,d,h,p,m=0,_=A._makeAsyncAwaitCompleter(D.void),g=A._wrapJsFunctionForAsync(function(f,v){if(1===f)return A._asyncRethrow(v,_);for(;;)switch(m){case 0:for(e._ensureSources$0(),(r=e.__ExecutableOptions__sourceDirectoriesToDestinations_F)===I&&A.throwUnnamedLateFieldNI(),i=D.String,r=r.cast$2$0(0,i,i),r=A.List_List$_of(r.get$keys(r),i),e._ensureSources$0(),o=(o=(o=e._sourcesToDestinations.cast$2$0(0,i,i)).get$keys(o)).get$iterator(o);o.moveNext$0();)s=o.get$current(o),r.push(I.$get$context().dirname$1(s));return o=e._options,C.JSArray_methods.addAll$1(r,D.List_String._as(o.$index(0,"load-path"))),s=A._asBool(o.$index(0,"poll")),a=D.Stream_WatchEvent,l=A.PathMap__create(null,a),(a=new A.StreamGroup(C._StreamGroupState_dormant,A.LinkedHashMap_LinkedHashMap$_empty(a,D.nullable_StreamSubscription_WatchEvent),D.StreamGroup_WatchEvent)).__StreamGroup__controller_A=A.StreamController_StreamController(a.get$_onCancel(),a.get$_onListen(),a.get$_onPause(),a.get$_onResume(),!0,D.WatchEvent),c=new A.MultiDirWatcher(new A.PathMap(l,D.PathMap_Stream_WatchEvent),a,s),m=3,A._asyncAwait(A.Future_wait(new A.MappedListIterable(r,new A.watch_closure(c),A._arrayInstanceType(r)._eval$1("MappedListIterable<1,Future<~>>")),!1,D.void),g);case 3:for(e._ensureSources$0(),u=e._sourcesToDestinations.cast$2$0(0,i,i),r=(r=u.get$keys(u)).get$iterator(r);r.moveNext$0();)s=r.get$current(r),l=I.$get$FilesystemImporter_cwd(),d=null==(d=n.process)||null==(d=w.get$release$x(d))?null:w.get$name$x(d),d=w.$eq$(d,"node")?n.process:null,w.$eq$(null==d?null:w.get$platform$x(d),"win32")?d=!0:(d=null==(d=n.process)||null==(d=w.get$release$x(d))?null:w.get$name$x(d),d=w.$eq$(d,"node")?n.process:null,d=w.$eq$(null==d?null:w.get$platform$x(d),"darwin")),d?(d=I.$get$context(),h=A._realCasePath(d.normalize$1(d.absolute$15(s,null,null,null,null,null,null,null,null,null,null,null,null,null,null))),p=h,h=d,d=p):(d=I.$get$context(),h=d.canonicalize$1(0,s),p=h,h=d,d=p),t.addCanonical$4$recanonicalize(l,h.toUri$1(d),h.toUri$1(s),!1);return m=4,A._asyncAwait(A.compileStylesheets(e,t,u,!0),g);case 4:if(!v&&A._asBool(o.$index(0,"stop-on-error"))){r=a.__StreamGroup__controller_A,new A._ControllerStream(r,A._instanceType(r)._eval$1("_ControllerStream<1>")).listen$1(0,null).cancel$0(),m=1;break}return A.print("Sass is watching for changes. Press Ctrl-C to stop.\n"),m=5,A._asyncAwait(new A._Watcher(e,t,A.LinkedHashMap_LinkedHashMap$_empty(i,i)).watch$1(0,c),g);case 5:case 1:return A._asyncReturn(undefined,_)}});return A._asyncStartSync(g,_)},watch_closure:function(e){this.dirWatcher=e},_Watcher:function(e,t,r){this._watch$_options=e,this._graph=t,this._toRecompile=r},_Watcher__debounceEvents_closure:function(){},EmptyExtensionStore:function(){},Extension:function(e,t,r,n,i){var o=this;o.extender=e,o.target=t,o.mediaContext=r,o.isOptional=n,o.span=i},Extender:function(e,t){this.selector=e,this.isOriginal=t,this._extension=null},ExtensionStore__extendOrReplace(e,t,r,n,i){var o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y,$,x,S,w,E=A.ExtensionStore$_mode(n);for(e.accept$1(C._IsInvisibleVisitor_true)||E._originals.addAll$1(0,e.components),s=(o=r.components).length,l=(a=t.components).length,c=D.ComplexSelector,u=D.Extension,d=D.SimpleSelector,h=D.Map_ComplexSelector_Extension,p=0;p<s;++p){if(null==(_=(m=o[p]).get$singleCompound()))throw A.wrapException(A.SassScriptException$("Can't extend complex selector "+m.toString$0(0)+".",null));for(g=A.LinkedHashMap_LinkedHashMap$_empty(d,h),v=(f=_.components).length,b=0;b<v;++b){for(y=f[b],$=A.LinkedHashMap_LinkedHashMap$_empty(c,u),x=0;x<l;++x)(m=a[x]).get$specificity(),S=new A.Extender(m,!1),w=new A.Extension(S,y,null,!0,i),S._extension=w,$.$indexSet(0,m,w);g.$indexSet(0,y,$)}e=E._extendList$2(e,g)}return e},ExtensionStore$(){var e=D.SimpleSelector;return new A.ExtensionStore(A.LinkedHashMap_LinkedHashMap$_empty(e,D.Set_ModifiableBox_SelectorList),A.LinkedHashMap_LinkedHashMap$_empty(e,D.Map_ComplexSelector_Extension),A.LinkedHashMap_LinkedHashMap$_empty(e,D.List_Extension),A.LinkedHashMap_LinkedHashMap$_empty(D.ModifiableBox_SelectorList,D.List_CssMediaQuery),new A.JsIdentityLinkedHashMap(D.JsIdentityLinkedHashMap_SimpleSelector_int),new A._LinkedIdentityHashSet(D._LinkedIdentityHashSet_ComplexSelector),C.ExtendMode_normal_0_normal)},ExtensionStore$_mode(e){var t=D.SimpleSelector;return new A.ExtensionStore(A.LinkedHashMap_LinkedHashMap$_empty(t,D.Set_ModifiableBox_SelectorList),A.LinkedHashMap_LinkedHashMap$_empty(t,D.Map_ComplexSelector_Extension),A.LinkedHashMap_LinkedHashMap$_empty(t,D.List_Extension),A.LinkedHashMap_LinkedHashMap$_empty(D.ModifiableBox_SelectorList,D.List_CssMediaQuery),new A.JsIdentityLinkedHashMap(D.JsIdentityLinkedHashMap_SimpleSelector_int),new A._LinkedIdentityHashSet(D._LinkedIdentityHashSet_ComplexSelector),e)},ExtensionStore:function(e,t,r,n,i,o,s){var a=this;a._selectors=e,a._extensions=t,a._extensionsByExtender=r,a._mediaContexts=n,a._sourceSpecificity=i,a._originals=o,a._mode=s},ExtensionStore_extensionsWhereTarget_closure:function(){},ExtensionStore__registerSelector_closure:function(){},ExtensionStore_addExtension_closure:function(){},ExtensionStore_addExtension_closure0:function(){},ExtensionStore_addExtension_closure1:function(e){this.complex=e},ExtensionStore__extendExistingExtensions_closure:function(){},ExtensionStore__extendExistingExtensions_closure0:function(){},ExtensionStore_addExtensions_closure:function(){},ExtensionStore__extendComplex_closure:function(e,t,r){this._box_0=e,this.$this=t,this.complex=r},ExtensionStore__extendComplex__closure:function(e,t,r){this._box_0=e,this.$this=t,this.complex=r},ExtensionStore__extendCompound_closure:function(){},ExtensionStore__extendCompound_closure0:function(){},ExtensionStore__extendCompound_closure1:function(e){this.original=e},ExtensionStore__extendSimple_withoutPseudo:function(e,t,r){this.$this=e,this.extensions=t,this.targetsUsed=r},ExtensionStore__extendSimple_closure:function(e,t){this.$this=e,this.withoutPseudo=t},ExtensionStore__extendSimple_closure0:function(){},ExtensionStore__extendPseudo_closure:function(){},ExtensionStore__extendPseudo_closure0:function(){},ExtensionStore__extendPseudo_closure1:function(){},ExtensionStore__extendPseudo_closure2:function(e){this.pseudo=e},ExtensionStore__extendPseudo_closure3:function(e,t){this.pseudo=e,this.selector=t},ExtensionStore__trim_closure:function(e,t){this._box_0=e,this.complex1=t},ExtensionStore__trim_closure0:function(e,t){this._box_0=e,this.complex1=t},ExtensionStore_clone_closure:function(e,t,r,n,i){var o=this;o.$this=e,o.newSelectors=t,o.newBoxes=r,o.oldToNewSelectors=n,o.newMediaContexts=i},ExtensionStore_clone__closure:function(e){this.selector=e},unifyComplex(e,t){var r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b=null,y=w.getInterceptor$asx(e);if(1===y.get$length(e))return e;for(r=y.get$iterator(e),o=i=n=b;r.moveNext$0();){if((s=r.get$current(r)).accept$1(C.C__IsUselessVisitor))return b;if((l=1===(a=s.components).length)?u=1===(c=s.leadingCombinators).length:(c=b,u=!1),u)if(d=(l?c:s.leadingCombinators)[0],null==i)i=d;else if(!i.$ti._is(d)||!w.$eq$(d.value,i.value))return b;if(1===(p=(h=C.JSArray_methods.get$last(a)).combinators).length){if(m=p[0],s=null!=n&&!(n.$ti._is(m)&&w.$eq$(m.value,n.value)))return b;n=m}if(_=h.selector,null==o)o=_;else if(null==(o=A.unifyCompound(o,_)))return b}for(r=D.JSArray_ComplexSelector,s=A._setArrayType([],r),a=y.get$iterator(e);a.moveNext$0();)(f=(g=(u=a.get$current(a)).components).length)>1&&(v=u.leadingCombinators,s.push(A.ComplexSelector$(v,C.JSArray_methods.take$1(g,f-1),u.span,u.lineBreak)));return a=null==i?C.List_empty0:A._setArrayType([i],D.JSArray_CssValue_Combinator),o.toString,u=null==n?C.List_empty0:A._setArrayType([n],D.JSArray_CssValue_Combinator),h=A.ComplexSelector$(a,A._setArrayType([new A.ComplexSelectorComponent(o,A.List_List$unmodifiable(u,D.CssValue_Combinator),t)],D.JSArray_ComplexSelectorComponent),t,y.any$1(e,new A.unifyComplex_closure)),0===s.length?y=A._setArrayType([h],r):(y=A.List_List$_of(A.IterableExtension_get_exceptLast(s),D.ComplexSelector)).push(C.JSArray_methods.get$last(s).concatenate$2(h,t)),A.weave(y,t,!1)},unifyCompound(e,t){var r,n,i,o,s,a,l=e.components,c=A._setArrayType([],D.JSArray_SimpleSelector);for(n=(r=t.components).length,i=!1,o=0;o<n;++o)if(s=r[o],i&&s instanceof A.PseudoSelector){if(null==(a=s.unify$1(c)))return null;c=a}else{if(i=C.JSBool_methods.$or(i,s instanceof A.PseudoSelector&&!s.isClass),null==(a=s.unify$1(l)))return null;l=a}return r=A.List_List$_of(l,D.SimpleSelector),C.JSArray_methods.addAll$1(r,c),A.CompoundSelector$(r,e.span)},unifyUniversalAndElement(e,t){var r,n,i,o=A._namespaceAndName(e,"selector1"),s=o._0,a=o._1,l=A._namespaceAndName(t,"selector2"),c=l._0,u=l._1;if(s==c||"*"===c)r=s;else{if("*"!==s)return null;r=c}if(a==u||null==u)n=a;else{if(null!=a&&"*"!==a)return null;n=u}return i=e.span,null==n?new A.UniversalSelector(r,i):new A.TypeSelector(new A.QualifiedName(n,r),i)},_namespaceAndName(e,t){var r,n;return e instanceof A.UniversalSelector?r=new A._Record_2(e.namespace,null):e instanceof A.TypeSelector?(n=e.name,r=new A._Record_2(n.namespace,n.name)):r=A.throwExpression(A.ArgumentError$value(e,t,P.must_b)),r},weave(e,t,r){var n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y=w.getInterceptor$asx(e);if(1===y.get$length(e))return n=y.$index(e,0),!r||n.lineBreak?e:A._setArrayType([A.ComplexSelector$(n.leadingCombinators,n.components,n.span,!0)],D.JSArray_ComplexSelector);for(i=D.JSArray_ComplexSelector,o=A._setArrayType([y.get$first(e)],i),s=(y=y.skip$1(e,1)).$ti,y=new A.ListIterator(y,y.get$length(0),s._eval$1("ListIterator<ListIterable.E>")),a=D.ComplexSelectorComponent,s=s._eval$1("ListIterable.E");y.moveNext$0();)if(null==(l=y.__internal$_current)&&(l=s._as(l)),1!==(c=l.components).length){for(d=A._setArrayType([],i),h=o.length,p=0;p<o.length;o.length===h||(0,A.throwConcurrentModificationError)(o),++p)for(null==(m=A._weaveParents(o[p],l,t))&&(m=C.List_empty1),_=m.length,g=0;g<m.length;m.length===_||(0,A.throwConcurrentModificationError)(m),++g)f=m[g],v=C.JSArray_methods.get$last(c),(b=A.List_List$_of(f.components,a)).push(v),v=f.lineBreak||r,d.push(A.ComplexSelector$(f.leadingCombinators,b,t,v));o=d}else for(u=0;u<o.length;++u)o[u]=o[u].concatenate$3$forceLineBreak(l,t,r);return o},_weaveParents(e,t,r){var n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y,$,x,S,E,I,M,k,T,R,L,P,N=null,F=A._mergeLeadingCombinators(e.leadingCombinators,t.leadingCombinators);if(null==F)return N;if(n=D.ComplexSelectorComponent,i=A.QueueList_QueueList$from(e.components,n),o=A.QueueList_QueueList$from(A.IterableExtension_get_exceptLast(t.components),n),null==(s=A._mergeTrailingCombinators(i,o,r,N)))return N;if(a=A._firstIfRootish(i),l=A._firstIfRootish(o),u=N,d=!1,(c=null!=a)?((d=null!=l)&&(u=l),h=a,p=l):p=h=N,d){if(null==(m=A.unifyCompound(h.selector,u.selector)))return N;n=h.combinators,d=h.span,_=D.CssValue_Combinator,i.addFirst$1(new A.ComplexSelectorComponent(m,A.List_List$unmodifiable(n,_),d)),o.addFirst$1(new A.ComplexSelectorComponent(m,A.List_List$unmodifiable(u.combinators,_),d))}else d=N,_=!1,null!=a&&(c?d=p:(p=d=l,c=!0),g=_=(d=null==d)?a:N,_=d,d=g),_?(n=d,d=!0):null==a?(c?_=p:(p=_=l,c=!0),(_=null!=_)?(null==(f=c?p:l)&&(f=n._as(f)),n=f):n=d,d=_):(n=d,d=!1),d&&(i.addFirst$1(n),o.addFirst$1(n));for(v=A._groupSelectors(i),b=A._groupSelectors(o),n=D.List_ComplexSelectorComponent,y=A.longestCommonSubsequence(b,v,new A._weaveParents_closure(r),n),$=A._setArrayType([],D.JSArray_List_Iterable_ComplexSelectorComponent),d=y.length,_=D.JSArray_Iterable_ComplexSelectorComponent,x=D.JSArray_ComplexSelectorComponent,S=0;S<y.length;y.length===d||(0,A.throwConcurrentModificationError)(y),++S){for(E=y[S],I=A._setArrayType([],_),k=(M=A._chunks(v,b,new A._weaveParents_closure0(E),n)).length,T=0;T<M.length;M.length===k||(0,A.throwConcurrentModificationError)(M),++T){for(R=M[T],L=A._setArrayType([],x),P=C.JSArray_methods.get$iterator(R);P.moveNext$0();)C.JSArray_methods.addAll$1(L,P.get$current(0));I.push(L)}$.push(I),$.push(A._setArrayType([E],_)),v.removeFirst$0(),b.removeFirst$0()}for(d=A._setArrayType([],_),_=(n=A._chunks(v,b,new A._weaveParents_closure1,n)).length,S=0;S<n.length;n.length===_||(0,A.throwConcurrentModificationError)(n),++S){for(R=n[S],I=A._setArrayType([],x),M=C.JSArray_methods.get$iterator(R);M.moveNext$0();)C.JSArray_methods.addAll$1(I,M.get$current(0));d.push(I)}for($.push(d),C.JSArray_methods.addAll$1($,s),n=A._setArrayType([],D.JSArray_ComplexSelector),d=w.get$iterator$ax(A.paths(new A.WhereIterable($,new A._weaveParents_closure2,D.WhereIterable_List_Iterable_ComplexSelectorComponent),D.Iterable_ComplexSelectorComponent)),_=!e.lineBreak,I=t.lineBreak;d.moveNext$0();){for(M=d.get$current(d),k=A._setArrayType([],x),M=w.get$iterator$ax(M);M.moveNext$0();)C.JSArray_methods.addAll$1(k,M.get$current(M));n.push(A.ComplexSelector$(F,k,r,!_||I))}return n},_firstIfRootish(e){var t,r,n,i,o,s;if(e.get$length(0)>=1)for(n=(r=(t=e.$index(0,0)).selector.components).length,i=0;i<n;++i)if(s=!1,(o=r[i])instanceof A.PseudoSelector&&o.isClass&&(s=I._rootishPseudoClasses.contains$1(0,o.normalizedName)),s)return e.removeFirst$0(),t;return null},_mergeLeadingCombinators(e,t){var r,n,i,o,s,a,l=null;return r=l,l,s=l,(i=!(o=!(i=(i=n=e.length)>1))||(i=s=t.length)>1)||(a=(i=n<=0)?t:r,(r=i)?r=!0:(r=!1,r=(r=o?s:s=t.length)<=0,a=e),r=r?a:C.C_ListEquality.equals$2(0,e,t)?e:l),r},_mergeTrailingCombinators(e,t,r,n){var i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y,$,x,S,w,E,I,M,k,T,R,L,P,N,F,O,B,U,V,z,H,G,j,J,W,Q,q=null;if(null==n&&(n=A.QueueList$(q,D.List_List_ComplexSelectorComponent)),o=(i=e.get$length(0))>=1?e.$index(0,i-1).combinators:C.List_empty0,a=(s=t.get$length(0))>=1?t.$index(0,s-1).combinators:C.List_empty0,0===(l=o.length)&&0===a.length)return n;if(l>1||a.length>1)return q;if(c=(a=[l=null==(l=A.IterableExtension_get_firstOrNull(o))?q:l.value,null==(a=A.IterableExtension_get_firstOrNull(a))?q:a.value,e,t])[0],d=q,h=q,(l=u=C.Combinator_98W===c)?(h=a[1],l=d=C.Combinator_98W===h,p=!0,m=!0):(p=!1,m=!1,l=!1),l)_=e.removeLast$0(0),g=t.removeLast$0(0),a=_.selector,l=g.selector,A.compoundIsSuperselector(a,l,q)?n.addFirst$1(A._setArrayType([A._setArrayType([g],D.JSArray_ComplexSelectorComponent)],D.JSArray_List_ComplexSelectorComponent)):(f=D.JSArray_ComplexSelectorComponent,v=D.JSArray_List_ComplexSelectorComponent,A.compoundIsSuperselector(l,a,q)?n.addFirst$1(A._setArrayType([A._setArrayType([_],f)],v)):(b=A._setArrayType([A._setArrayType([_,g],f),A._setArrayType([g,_],f)],v),null!=(y=A.unifyCompound(a,l))&&b.push(A._setArrayType([new A.ComplexSelectorComponent(y,A.List_List$unmodifiable(A._setArrayType([C.JSArray_methods.get$first(o)],D.JSArray_CssValue_Combinator),D.CssValue_Combinator),r)],f)),n.addFirst$1(b)));else if($=q,x=q,S=!1,w=q,E=!1,I=q,M=q,l=!1,u?(m?f=h:(f=h=a[1],m=!0),(f=$=C.Combinator_sHB===f)&&(x=a[2],M=w=a[3],I=x,S=!0,E=!0,l=!0),k=!0):k=!1,T=!l,R=q,l=!0,T&&((f=R=C.Combinator_sHB===c)?(p?f=d:(m?f=h:(f=h=a[1],m=!0),f=d=C.Combinator_98W===f,p=!0),f?(S?M=x:(M=x=a[2],S=!0),E?I=w:(I=w=a[3],E=!0)):l=!1):l=!1),l)L=M.removeLast$0(0),o=(P=I.removeLast$0(0)).selector,a=L.selector,l=D.JSArray_ComplexSelectorComponent,f=D.JSArray_List_ComplexSelectorComponent,A.compoundIsSuperselector(o,a,q)?n.addFirst$1(A._setArrayType([A._setArrayType([L],l)],f)):(f=A._setArrayType([A._setArrayType([P,L],l)],f),null!=(N=A.unifyCompound(o,a))&&f.push(A._setArrayType([new A.ComplexSelectorComponent(N,A.List_List$unmodifiable(L.combinators,D.CssValue_Combinator),r)],l)),n.addFirst$1(f));else if(l=q,f=!1,C.Combinator_iUF===c&&(F=!0,k?v=$:(m?v=h:(v=h=a[1],m=F),v=$=C.Combinator_sHB===v),v?v=!0:p?v=d:(m?v=h:(v=h=a[1],m=F),v=d=C.Combinator_98W===v),v&&(E?O=w:(O=w=a[3],E=!0),l=O,f=!0)),f?f=!0:(f=!!(f=T?R:R=C.Combinator_sHB===c)||u)?(m?f=h:(f=h=a[1],m=!0),(f=C.Combinator_iUF===f)&&(S?B=x:(B=x=a[2],S=!0),l=B)):f=!1,f)n.addFirst$1(A._setArrayType([A._setArrayType([l.removeLast$0(0)],D.JSArray_ComplexSelectorComponent)],D.JSArray_List_ComplexSelectorComponent));else if(v=!1,(f=!(l=null==c))&&(F=!0,m?U=h:(U=h=a[1],m=F),null!=U&&(m?V=h:(V=h=a[1],m=F),v=c===(null==V?D.Combinator._as(V):V))),v){if(null==(z=A.unifyCompound(e.removeLast$0(0).selector,t.removeLast$0(0).selector)))return q;n.addFirst$1(A._setArrayType([A._setArrayType([new A.ComplexSelectorComponent(z,A.List_List$unmodifiable(A._setArrayType([C.JSArray_methods.get$first(o)],D.JSArray_CssValue_Combinator),D.CssValue_Combinator),r)],D.JSArray_ComplexSelectorComponent)],D.JSArray_List_ComplexSelectorComponent))}else{if(o=q,v=q,U=q,f?(m?f=h:(f=h=a[1],m=!0),(f=null==f)&&(S?H=x:(H=x=a[2],S=!0),E?G=w:(G=w=a[3],E=!0),U=o=G,o=c,v=H),j=U,U=f,f=v,v=j):(f=v,v=U,U=false),U?(l=v,a=f,f=!0):l?(m?l=h:(l=h=a[1],m=!0),(l=null!=l)?(null==(J=m?h:a[1])&&(J=D.Combinator._as(J)),W=S?x:a[2],Q=E?w:a[3],f=a=W,a=o=Q,o=J):(a=f,f=v),j=f,f=l,l=j):(l=v,a=f,f=!1),!f)return q;(o=o===C.Combinator_iUF&&!0===(o=null==(o=A.IterableExtension_get_lastOrNull(l))?q:A.compoundIsSuperselector(o.selector,a.get$last(a).selector,q)))&&l.removeLast$0(0),n.addFirst$1(A._setArrayType([A._setArrayType([a.removeLast$0(0)],D.JSArray_ComplexSelectorComponent)],D.JSArray_List_ComplexSelectorComponent))}return A._mergeTrailingCombinators(e,t,r,n)},_mustUnify(e,t){var r,n,i,o=A.LinkedHashSet_LinkedHashSet$_empty(D.SimpleSelector);for(r=w.get$iterator$ax(e);r.moveNext$0();)for(n=C.JSArray_methods.get$iterator(r.get$current(r).selector.components),i=new A.WhereIterator(n,A.functions___isUnique$closure());i.moveNext$0();)o.add$1(0,n.get$current(0));return 0!==o._collection$_length&&w.any$1$ax(t,new A._mustUnify_closure(o))},_isUnique:e=>e instanceof A.IDSelector||e instanceof A.PseudoSelector&&!e.isClass,_chunks(e,t,r,n){for(var i,o,s,a,l,c,u,d,h=null,p=n._eval$1("JSArray<0>"),m=A._setArrayType([],p);!r.call$1(e);)m.push(e.removeFirst$0());for(i=A._setArrayType([],p);!r.call$1(t);)i.push(t.removeFirst$0());return s=h,(p=o=m.length<=0)?(p=s=i.length<=0,a=i,l=!0,c=!0):(a=h,l=!1,c=!1,p=!1),p?p=A._setArrayType([],n._eval$1("JSArray<List<0>>")):(o?(c?u=a:(a=u=i,c=!0),p=!0):(u=h,p=!1),p?p=!0:(p=l?s:s=(c?a:i).length<=0,u=m),p?p=A._setArrayType([u],n._eval$1("JSArray<List<0>>")):(p=A.List_List$_of(m,n),C.JSArray_methods.addAll$1(p,i),d=A.List_List$_of(i,n),C.JSArray_methods.addAll$1(d,m),p=A._setArrayType([p,d],n._eval$1("JSArray<List<0>>")))),p},paths:(e,t)=>w.fold$2$ax(e,A._setArrayType([A._setArrayType([],t._eval$1("JSArray<0>"))],t._eval$1("JSArray<List<0>>")),new A.paths_closure(t)),_groupSelectors(e){var t,r,n,i=A.QueueList$(null,D.List_ComplexSelectorComponent),o=D.JSArray_ComplexSelectorComponent,s=A._setArrayType([],o);for(t=e.$ti,r=new A.ListIterator(e,e.get$length(0),t._eval$1("ListIterator<ListBase.E>")),t=t._eval$1("ListBase.E");r.moveNext$0();)null==(n=r.__internal$_current)&&(n=t._as(n)),s.push(n),0===n.combinators.length&&(i._queue_list$_add$1(s),s=A._setArrayType([],o));return 0!==s.length&&i._queue_list$_add$1(s),i},listIsSuperselector:(e,t)=>C.JSArray_methods.every$1(t,new A.listIsSuperselector_closure(e)),_complexIsParentSuperselector(e,t){var r,n,i;return!(w.get$length$asx(e)>w.get$length$asx(t))&&(r=I.$get$bogusSpan(),n=new A.ComplexSelectorComponent(A.CompoundSelector$(A._setArrayType([new A.PlaceholderSelector("<temp>",r)],D.JSArray_SimpleSelector),r),A.List_List$unmodifiable(C.List_empty0,D.CssValue_Combinator),r),r=D.ComplexSelectorComponent,(i=A.List_List$_of(e,r)).push(n),(r=A.List_List$_of(t,r)).push(n),A.complexIsSuperselector(i,r))},complexIsSuperselector(e,t){var r,n,i,o,s,a,l,c,u,d,h,p,m,_,g=null;if(0!==C.JSArray_methods.get$last(e).combinators.length)return!1;if(0!==C.JSArray_methods.get$last(t).combinators.length)return!1;for(n=(r=A._arrayInstanceType(t))._precomputed1,r=r._eval$1("SubListIterable<1>"),i=g,o=0,s=0;;i=_){if(a=e.length-o,l=t.length-s,0===a||0===l)return!1;if(a>l)return!1;if((u=(c=e[o]).combinators).length>1)return!1;if(1===a)return!C.JSArray_methods.any$1(t,new A.complexIsSuperselector_closure)&&(r=c.selector,n=C.JSArray_methods.get$last(t),u=r.get$hasComplicatedSuperselectorSemantics()?C.JSArray_methods.sublist$2(t,s,t.length-1):g,A.compoundIsSuperselector(r,n.selector,u));for(d=c.selector,h=s;;){if((p=t[h]).combinators.length>1)return!1;if(m=d.get$hasComplicatedSuperselectorSemantics()?C.JSArray_methods.sublist$2(t,s,h):g,A.compoundIsSuperselector(d,p.selector,m))break;if(++h===t.length-1)return!1}if((d=new A.SubListIterable(t,0,h,r)).SubListIterable$3(t,0,h,n),!A._compatibleWithPreviousCombinator(i,d.skip$1(0,s)))return!1;if(p=t[h],_=A.IterableExtension_get_firstOrNull(u),!A._isSupercombinator(_,A.IterableExtension_get_firstOrNull(p.combinators)))return!1;if(++o,s=h+1,e.length-o===1)if(((u=null==_)?g:_.value)===C.Combinator_98W){if(u=t.length-1,(d=new A.SubListIterable(t,0,u,r)).SubListIterable$3(t,0,u,n),!d.skip$1(0,s).every$1(0,new A.complexIsSuperselector_closure0(_)))return!1}else if(!u&&t.length-s>1)return!1}},_compatibleWithPreviousCombinator:(e,t)=>!!t.get$isEmpty(t)||(null==e||e.value===C.Combinator_98W&&t.every$1(0,new A._compatibleWithPreviousCombinator_closure)),_isSupercombinator(e,t){var r,n=!0;return w.$eq$(e,t)||!!(r=null==e)&&(null==t?null:t.value)===C.Combinator_iUF||(n=(r?null:e.value)===C.Combinator_98W&&(null==t?null:t.value)===C.Combinator_sHB),n},compoundIsSuperselector(e,t,r){var n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v=null;if(!e.get$hasComplicatedSuperselectorSemantics()&&!t.get$hasComplicatedSuperselectorSemantics())return!((n=e.components).length>t.components.length)&&C.JSArray_methods.every$1(n,new A.compoundIsSuperselector_closure(t));if(i=A._findPseudoElementIndexed(e),o=A._findPseudoElementIndexed(t),a=v,l=v,c=v,u=v,d=!1,(s=(n=D.Record_2_nullable_Object_and_nullable_Object)._is(i))?(h=i._0,l=i._1,(n=n._is(o))&&(c=o._0,u=o._1),a=o):(n=d,h=v),n)return h.isSuperselector$1(c)?(n=e.components,d=D.int,p=A._arrayInstanceType(n)._precomputed1,m=t.components,_=A._arrayInstanceType(m)._precomputed1,n=A._compoundComponentsIsSuperselector(A.SubListIterable$(n,0,A.checkNotNullable(l,"count",d),p),A.SubListIterable$(m,0,A.checkNotNullable(u,"count",d),_),r)&&A._compoundComponentsIsSuperselector(A.SubListIterable$(n,l+1,v,p),A.SubListIterable$(m,u+1,v,_),r)):n=!1,n;if(n=null!=i||null!=(s?a:o))return!1;for(d=(n=e.components).length,p=t.components,g=0;g<d;++g)if(m=(f=n[g])instanceof A.PseudoSelector&&null!=f.selector){if(!A._selectorPseudoIsSuperselector(f,t,r))return!1}else if(!C.JSArray_methods.any$1(p,f.get$isSuperselector()))return!1;return!0},_findPseudoElementIndexed(e){var t,r,n,i;for(r=(t=e.components).length,n=0;n<r;++n)if((i=t[n])instanceof A.PseudoSelector&&!i.isClass)return new A._Record_2(i,n);return null},_compoundComponentsIsSuperselector(e,t,r){var n;return 0===e.get$length(0)||(0===t.get$length(0)&&(t=A._setArrayType([new A.UniversalSelector("*",I.$get$bogusSpan())],D.JSArray_SimpleSelector)),n=I.$get$bogusSpan(),A.compoundIsSuperselector(A.CompoundSelector$(e,n),A.CompoundSelector$(t,n),r))},_selectorPseudoIsSuperselector(e,t,r){var n=e.selector;if(null==n)throw A.wrapException(A.ArgumentError$("Selector "+e.toString$0(0)+" must have a selector argument.",null));switch(e.normalizedName){case"is":case"matches":case"any":case"where":return A._selectorPseudoArgs(t,e.name,!0).any$1(0,new A._selectorPseudoIsSuperselector_closure(n))||C.JSArray_methods.any$1(n.components,new A._selectorPseudoIsSuperselector_closure0(r,t));case"has":case"host":case"host-context":return A._selectorPseudoArgs(t,e.name,!0).any$1(0,new A._selectorPseudoIsSuperselector_closure1(n));case"slotted":return A._selectorPseudoArgs(t,e.name,!1).any$1(0,new A._selectorPseudoIsSuperselector_closure2(n));case"not":return C.JSArray_methods.every$1(n.components,new A._selectorPseudoIsSuperselector_closure3(t,e));case"current":return A._selectorPseudoArgs(t,e.name,!0).any$1(0,new A._selectorPseudoIsSuperselector_closure4(n));case"nth-child":case"nth-last-child":return C.JSArray_methods.any$1(t.components,new A._selectorPseudoIsSuperselector_closure5(e,n));default:throw A.wrapException("unreachable")}},_selectorPseudoArgs(e,t,r){var n=D.WhereTypeIterable_PseudoSelector;return new A.NonNullsIterable(new A.MappedIterable(new A.WhereIterable(new A.WhereTypeIterable(e.components,n),new A._selectorPseudoArgs_closure(r,t),n._eval$1("WhereIterable<Iterable.E>")),new A._selectorPseudoArgs_closure0,n._eval$1("MappedIterable<Iterable.E,SelectorList?>")),D.NonNullsIterable_SelectorList)},unifyComplex_closure:function(){},_weaveParents_closure:function(e){this.span=e},_weaveParents_closure0:function(e){this.group=e},_weaveParents_closure1:function(){},_weaveParents_closure2:function(){},_mustUnify_closure:function(e){this.uniqueSelectors=e},_mustUnify__closure:function(e){this.uniqueSelectors=e},paths_closure:function(e){this.T=e},paths__closure:function(e,t){this.paths=e,this.T=t},paths___closure:function(e,t){this.option=e,this.T=t},listIsSuperselector_closure:function(e){this.list1=e},listIsSuperselector__closure:function(e){this.complex1=e},complexIsSuperselector_closure:function(){},complexIsSuperselector_closure0:function(e){this.combinator1=e},_compatibleWithPreviousCombinator_closure:function(){},compoundIsSuperselector_closure:function(e){this.compound2=e},_selectorPseudoIsSuperselector_closure:function(e){this.selector1=e},_selectorPseudoIsSuperselector_closure0:function(e,t){this.parents=e,this.compound2=t},_selectorPseudoIsSuperselector_closure1:function(e){this.selector1=e},_selectorPseudoIsSuperselector_closure2:function(e){this.selector1=e},_selectorPseudoIsSuperselector_closure3:function(e,t){this.compound2=e,this.pseudo1=t},_selectorPseudoIsSuperselector__closure:function(e,t){this.complex=e,this.pseudo1=t},_selectorPseudoIsSuperselector___closure:function(e){this.simple2=e},_selectorPseudoIsSuperselector___closure0:function(e){this.simple2=e},_selectorPseudoIsSuperselector_closure4:function(e){this.selector1=e},_selectorPseudoIsSuperselector_closure5:function(e,t){this.pseudo1=e,this.selector1=t},_selectorPseudoArgs_closure:function(e,t){this.isClass=e,this.name=t},_selectorPseudoArgs_closure0:function(){},MergedExtension_merge(e,t){var r,n,i,o=e.extender.selector;if(!o.$eq(0,t.extender.selector)||!e.target.$eq(0,t.target))throw A.wrapException(A.ArgumentError$(e.toString$0(0)+" and "+t.toString$0(0)+" aren't the same extension.",null));if(i=!(n=null==(r=e.mediaContext))&&(null!=(i=t.mediaContext)&&!C.C_ListEquality.equals$2(0,r,i)))throw A.wrapException(A.SassException$("From "+e.span.message$1(0,"")+P.x0aYou_m,t.span,null));return t.isOptional&&null==t.mediaContext?e:e.isOptional&&n?t:(n&&(r=t.mediaContext),o.get$specificity(),(o=new A.Extender(o,!1))._extension=new A.MergedExtension(e,t,o,e.target,r,!0,e.span))},MergedExtension:function(e,t,r,n,i,o,s){var a=this;a.left=e,a.right=t,a.extender=r,a.target=n,a.mediaContext=i,a.isOptional=o,a.span=s},ExtendMode:function(e,t,r){this.name=e,this.index=t,this._name=r},globalFunctions_closure:function(){},_invert(e,t){var r,n,i,o,s,a,l,c,u,d,h,p,m="weight",_="space",g=w.getInterceptor$asx(e),f=g.$index(e,1).assertNumber$1(m);if(r=g.$index(e,0)instanceof A.SassNumber||t&&g.$index(e,0).get$isSpecialNumber()){if(100!==f._number$_value||!f.hasUnit$1("%"))throw A.wrapException(P.Only_oa);return A._functionString("invert",g.take$1(e,1))}if(n=g.$index(e,0).assertColor$1("color"),g.$index(e,2).$eq(0,C.C__SassNull)){if(!(g=n._space).get$isLegacyInternal())throw A.wrapException(A.SassScriptException$(P.To_usei+n.toString$0(0)+", you must provide a $space.","color"));return A._checkPercent(f,m),i=n.toSpace$1(C.RgbColorSpace_i0P),o=C.LinearChannel_vJ3,A._mixLegacy(A.SassColor_SassColor$rgbInternal(A._invertChannel(i,C.LinearChannel_qXC,i.channel0OrNull),A._invertChannel(i,C.LinearChannel_Z5r,i.channel1OrNull),A._invertChannel(i,o,i.channel2OrNull),n.alphaOrNull,null),n,f).toSpace$1(g)}return(g=g.$index(e,2).assertString$1(_)).assertUnquoted$1(_),s=A.ColorSpace_fromName(g._string$_text,_),a=f.valueInRangeWithUnit$4(0,100,m,"%")/100,A.fuzzyEquals(a,0)?n:(l=n.toSpace$1(s),C.HwbColorSpace_guQ!==s?C.HslColorSpace_JQ2!==s&&C.LchColorSpace_Bpv!==s&&C.OklchColorSpace_9Gj!==s?(d=(u=s._channels)[0],h=u[1],o=u[2],g=A._invertChannel(l,d,l.channel0OrNull),r=A._invertChannel(l,h,l.channel1OrNull),c=A._invertChannel(l,o,l.channel2OrNull),p=l.alphaOrNull,g=A.SassColor_SassColor$forSpaceInternal(s,g,r,c,null==p?0:p)):(g=s._channels,r=A._invertChannel(l,g[0],l.channel0OrNull),g=A._invertChannel(l,g[2],l.channel2OrNull),null==(c=l.alphaOrNull)&&(c=0),g=c=A.SassColor_SassColor$forSpaceInternal(s,r,l.channel1OrNull,g,c)):(g=A._invertChannel(l,s._channels[0],l.channel0OrNull),null==(r=l.alphaOrNull)&&(r=0),g=r=A.SassColor_SassColor$hwb(g,l.channel2OrNull,l.channel1OrNull,r)),A.fuzzyEquals(a,1)?g.toSpace$2$legacyMissing(n._space,!1):n.interpolate$4$legacyMissing$weight(g,A.InterpolationMethod$(s,null),!1,1-a))},_invertChannel(e,t,r){var n,i;return null==r&&A._missingChannelError(e,t.name),i=null,!!(n=t instanceof A.LinearChannel)&&(i=t.min)<0?-r:!!n&&0===i?t.max-r:t.isPolarAngle?C.JSNumber_methods.$mod(r+180,360):A.throwExpression(A.UnsupportedError$("Unknown channel "+t.toString$0(0)+"."))},_grayscale(e){var t,r,n,i=e.assertColor$1("color"),o=i._space;return o.get$isLegacyInternal()?(null==(r=(t=i.toSpace$1(C.HslColorSpace_JQ2)).alphaOrNull)&&(r=0),A.SassColor_SassColor$hsl(t.channel0OrNull,0,t.channel2OrNull,r).toSpace$2$legacyMissing(o,!1)):(null==(r=(n=i.toSpace$1(C.OklchColorSpace_9Gj)).alphaOrNull)&&(r=0),A.SassColor_SassColor$forSpaceInternal(C.OklchColorSpace_9Gj,n.channel0OrNull,0,n.channel2OrNull,r).toSpace$1(o))},_updateComponents(e,t,r,n){var i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b=null,y="space",$=w.getInterceptor$asx(e),x=D.SassArgumentList._as($.$index(e,1));if(0!==x._list$_contents.length)throw A.wrapException(A.SassScriptException$(P.Only_op,b));for(x._wereKeywordsAccessed=!0,i=D.String,o=D.Value,s=A.LinkedHashMap_LinkedHashMap$of(x._keywords,i,o),a=$.$index(e,0).assertColor$1("color"),null==(l=null==($=s.remove$1(0,y))?b:$.assertString$1(y))?l=b:l.assertUnquoted$1(y),c=s.remove$1(0,"alpha"),u=($=null==l)&&a._space.get$isLegacyInternal()&&0!==s.__js_helper$_length?null==($=A.NullableExtension_andThen(A._sniffLegacyColorSpace(s),new A._updateComponents_closure(a)))?a:$:A._colorInSpace(a,$?C.C__SassNull:l,!0),d=A.List_List$filled(u.get$channels().length,b,!1,D.nullable_Value),h=($=u._space)._channels,i=(i=A.MapExtensions_get_pairs(s,i,o)).get$iterator(i);i.moveNext$0();){if(o={},p=i.get$current(i),o.name=null,o.name=p._0,m=p._1,-1===(_=C.JSArray_methods.indexWhere$1(h,new A._updateComponents_closure0(o))))throw A.wrapException(A.SassScriptException$("Color space "+$.toString$0(0)+" doesn't have a channel with this name.",o.name));d[_]=m}if(r)g=A._changeColor(u,d,c);else{for(i=A._setArrayType([],D.JSArray_nullable_SassNumber),f=0;f<3;++f)o=d[f],i.push(null==o?b:o.assertNumber$1(h[f].name));v=null==c?b:c.assertNumber$1("alpha"),g=n?A.SassColor_SassColor$forSpaceInternal($,A._scaleChannel(u,h[0],u.channel0OrNull,i[0]),A._scaleChannel(u,h[1],u.channel1OrNull,i[1]),A._scaleChannel(u,h[2],u.channel2OrNull,i[2]),A._scaleChannel(u,C.LinearChannel_XL8,u.alphaOrNull,v)):A._adjustColor(u,i,v)}return g.toSpace$2$legacyMissing(a._space,!1)},_changeColor(e,t,r){var n,i="alpha",o=A._channelForChange(t[0],e,0),s=A._channelForChange(t[1],e,1),a=A._channelForChange(t[2],e,2);return null!=r?n=(n=A._isNone(r))?null:!(n=r instanceof A.SassNumber)||r.get$hasUnits()?n&&r.hasUnit$1("%")?r.valueInRangeWithUnit$4(0,100,i,"%")/100:n?new A._changeColor_closure(r).call$0():A.throwExpression(A.SassScriptException$(r.toString$0(0)+' is not a number or unquoted "none".',i)):r.valueInRange$3(0,1,i):null==(n=e.alphaOrNull)&&(n=0),A._colorFromChannels(e._space,o,s,a,n,!1,!1)},_channelForChange(e,t,r){var n,i;if(null==e)return null==(n=t.get$channelsOrNull()[r])?i=null:(i=t._space,i=A.SassNumber_SassNumber(n,(i===C.HslColorSpace_JQ2||i===C.HwbColorSpace_guQ)&&r>0?"%":null)),i;if(A._isNone(e))return null;if(e instanceof A.SassNumber)return e;throw A.wrapException(A.SassScriptException$(e.toString$0(0)+' is not a number or unquoted "none".',t._space._channels[r].name))},_scaleChannel(e,t,r,n){var i,o;if(null==n)return r;if(!(t instanceof A.LinearChannel))throw A.wrapException(A.SassScriptException$("Channel isn't scalable.",t.name));return null==r&&A._missingChannelError(e,t.name),i=t.name,n.assertUnit$2("%",i),i=0!==(o=n.valueInRangeWithUnit$4(-100,100,i,"%")/100)?o>0?r>=(i=t.max)?r:r+(i-r)*o:r<=(i=t.min)?r:r+(r-i)*o:r},_adjustColor(e,t,r){var n=e._space,i=n._channels;return A.SassColor_SassColor$forSpaceInternal(n,A._adjustChannel(e,i[0],e.channel0OrNull,t[0]),A._adjustChannel(e,i[1],e.channel1OrNull,t[1]),A._adjustChannel(e,i[2],e.channel2OrNull,t[2]),A.NullableExtension_andThen(A._adjustChannel(e,C.LinearChannel_XL8,e.alphaOrNull,r),new A._adjustColor_closure))},_adjustChannel(e,t,r,n){var i,o,s,a,l,c,u,d,h,p,m,_=null;return null==n?r:(null==r&&A._missingChannelError(e,t.name),i=e._space,(a=!!(s=o=C.HslColorSpace_JQ2===i)||C.HwbColorSpace_guQ===i)?(s=t.isPolarAngle,l=t):(l=_,s=!1),s?n=A.SassNumber_SassNumber(A._angleValue(n,"hue"),_):(s=!1,o&&(c=!0,a?u=l:(a=c,l=u=t),u instanceof A.LinearChannel&&(a?s=l:(a=c,l=s=t),s="saturation"===(s=d=D.LinearChannel._as(s).name)||"lightness"===d)),s?(A._checkPercent(n,t.name),n=A.SassNumber_SassNumber(n._number$_value,"%")):C.LinearChannel_XL8===(a?l:t)&&n.get$hasUnits()&&(A.warnForDeprecation("$alpha: Passing a number with unit "+n.get$unitString()+P.x20is_de+n.unitSuggestion$1("alpha")+P.x0a_Morex3af,C.Deprecation_7TE),n=A.SassNumber_SassNumber(n._number$_value,_))),(s=A._channelFromValue(t,n,!1)).toString,h=r+s,p=_,u=!1,(s=t instanceof A.LinearChannel)&&t.lowerClamped&&(u=h<(p=t.min)),u?s=r<p?Math.max(r,h):p:(m=_,u=!1,s=(s=s&&t.upperClamped?h>(m=t.max):u)?r>m?Math.min(r,h):m:h),s)},_sniffLegacyColorSpace(e){var t,r;for(t=new A.LinkedHashMapKeyIterator(e,e._modifications,e._first);t.moveNext$0();){if("red"===(r=t.__js_helper$_current)||"green"===r||"blue"===r)return C.RgbColorSpace_i0P;if("saturation"===r||"lightness"===r)return C.HslColorSpace_JQ2;if("whiteness"===r||"blackness"===r)return C.HwbColorSpace_guQ}return e.containsKey$1("hue")?C.HslColorSpace_JQ2:null},_functionString:(e,t)=>new A.SassString(e+"("+w.map$1$1$ax(t,new A._functionString_closure,D.String).join$1(0,", ")+")",!1),_removedColorFunction:(e,t,r)=>A.BuiltInCallable$function(e,"$color, $amount",new A._removedColorFunction_closure(e,t,r),"sass:color"),_rgb(e,t){var r,n,i=w.getInterceptor$asx(t),o=i.get$length(t)>3?i.$index(t,3):null,s=!0;return i.$index(t,0).get$isSpecialNumber()||i.$index(t,1).get$isSpecialNumber()||i.$index(t,2).get$isSpecialNumber()||(s=!0===(s=null==o?null:o.get$isSpecialNumber())),s?A._functionString(e,t):(s=i.$index(t,0).assertNumber$1("red"),r=i.$index(t,1).assertNumber$1("green"),i=i.$index(t,2).assertNumber$1("blue"),n=A.NullableExtension_andThen(o,new A._rgb_closure),A._colorFromChannels(C.RgbColorSpace_i0P,s,r,i,null==n?1:n,!0,!0))},_rgbTwoArg(e,t){var r,n=w.getInterceptor$asx(t),i=n.$index(t,0),o=n.$index(t,1);if(!!i.get$isSpecialVariable()||!(i instanceof A.SassColor)&&o.get$isSpecialVariable())return A._functionString(e,t);if(!(r=i.assertColor$1("color"))._space.get$isLegacyInternal())throw A.wrapException(A.SassScriptException$("Expected "+r.toString$0(0)+P.x20to_be_+r.toString$0(0)+", $alpha: "+o.toString$0(0)+")",e));return r.assertLegacy$1("color"),r=r.toSpace$1(C.RgbColorSpace_i0P),o.get$isSpecialNumber()?A._functionString(e,A._setArrayType([A.SassNumber_SassNumber(r.channel$1(0,"red"),null),A.SassNumber_SassNumber(r.channel$1(0,"green"),null),A.SassNumber_SassNumber(r.channel$1(0,"blue"),null),n.$index(t,1)],D.JSArray_Value)):(n=A._percentageOrUnitless(n.$index(t,1).assertNumber$1("alpha"),1,"alpha"),r.changeAlpha$1(isNaN(n)?0:C.JSNumber_methods.clamp$2(n,0,1)))},_hsl(e,t){var r,n,i=w.getInterceptor$asx(t),o=i.get$length(t)>3?i.$index(t,3):null,s=!0;return i.$index(t,0).get$isSpecialNumber()||i.$index(t,1).get$isSpecialNumber()||i.$index(t,2).get$isSpecialNumber()||(s=!0===(s=null==o?null:o.get$isSpecialNumber())),s?A._functionString(e,t):(s=i.$index(t,0).assertNumber$1("hue"),r=i.$index(t,1).assertNumber$1("saturation"),i=i.$index(t,2).assertNumber$1("lightness"),n=A.NullableExtension_andThen(o,new A._hsl_closure),A._colorFromChannels(C.HslColorSpace_JQ2,s,r,i,null==n?1:n,!0,!1))},_angleValue(e,t){var r=e.assertNumber$1(t);return r.compatibleWithUnit$1("deg")?r.coerceValueToUnit$1("deg"):(A.warnForDeprecation("$"+t+": Passing a unit other than deg ("+r.toString$0(0)+P.x29x20is_d_+r.unitSuggestion$1(t)+P.x0a_See_,C.Deprecation_7TE),r._number$_value)},_checkPercent(e,t){e.hasUnit$1("%")||A.warnForDeprecation("$"+t+": Passing a number without unit % ("+e.toString$0(0)+P.x29x20is_d_+e.unitSuggestion$2(t,"%")+P.x0a_Morex3af,C.Deprecation_7TE)},_percentageOrUnitless(e,t,r){var n;if(e.get$hasUnits()){if(!e.hasUnit$1("%"))throw A.wrapException(A.SassScriptException$("Expected "+e.toString$0(0)+' to have unit "%" or no units.',r));n=t*e._number$_value/100}else n=e._number$_value;return n},_mixLegacy(e,t,r){var n,i,o,s,a,l,c,u,d,h,p=e.toSpace$1(C.RgbColorSpace_i0P),m=t.toSpace$1(C.RgbColorSpace_i0P),_=r.valueInRange$3(0,100,"weight")/100,g=2*_-1,f=e.alphaOrNull;return null==f&&(f=0),s=1-(o=((-1===(f=g*(i=f-(null==(n=t.alphaOrNull)?0:n)))?g:(g+i)/(1+f))+1)/2),null==(f=p.channel0OrNull)&&(f=0),null==(n=m.channel0OrNull)&&(n=0),null==(a=p.channel1OrNull)&&(a=0),null==(l=m.channel1OrNull)&&(l=0),null==(c=p.channel2OrNull)&&(c=0),null==(u=m.channel2OrNull)&&(u=0),null==(d=p.alphaOrNull)&&(d=0),null==(h=m.alphaOrNull)&&(h=0),A.SassColor_SassColor$rgbInternal(f*o+n*s,a*o+l*s,c*o+u*s,d*_+h*(1-_),null)},_opacify(e,t){var r,n=w.getInterceptor$asx(t),i=n.$index(t,0).assertColor$1("color"),o=n.$index(t,1).assertNumber$1("amount");if(!i._space.get$isLegacyInternal())throw A.wrapException(A.SassScriptException$(e+P.x28__is_oa,null));return null==(n=i.alphaOrNull)&&(n=0),n+=o.valueInRangeWithUnit$4(0,1,"amount",""),r=i.changeAlpha$1(isNaN(n)?0:C.JSNumber_methods.clamp$2(n,0,1)),A.warnForDeprecation(e+"() is deprecated. "+A._suggestScaleAndAdjust(i,o._number$_value,"alpha")+P.x0a_Morex3ac,C.Deprecation_zUK),r},_transparentize(e,t){var r,n=w.getInterceptor$asx(t),i=n.$index(t,0).assertColor$1("color"),o=n.$index(t,1).assertNumber$1("amount");if(!i._space.get$isLegacyInternal())throw A.wrapException(A.SassScriptException$(e+P.x28__is_oa,null));return null==(n=i.alphaOrNull)&&(n=0),n-=o.valueInRangeWithUnit$4(0,1,"amount",""),r=i.changeAlpha$1(isNaN(n)?0:C.JSNumber_methods.clamp$2(n,0,1)),A.warnForDeprecation(e+"() is deprecated. "+A._suggestScaleAndAdjust(i,-o._number$_value,"alpha")+P.x0a_Morex3ac,C.Deprecation_zUK),r},_colorInSpace(e,t,r){var n,i="space",o=e.assertColor$1("color");return t.$eq(0,C.C__SassNull)?o:((n=t.assertString$1(i)).assertUnquoted$1(i),o.toSpace$2$legacyMissing(A.ColorSpace_fromName(n._string$_text,i),r))},_parseChannels(e,t,r,n){var i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y,$,x,S,w=null;if(t.get$isSpecialVariable())return A._functionString(e,A._setArrayType([t],D.JSArray_Value));if(null==(i=A._parseSlashChannels(t,r)))return A._functionString(e,A._setArrayType([t],D.JSArray_Value));if(o=i._0,s=i._1,(l=(a=o.assertCommonListStyle$2$allowSlash(r,!1)).length)<=0)throw A.wrapException(A.SassScriptException$("Color component list may not be empty.",r));if(d=!1,(u=c=l>=1)?((h=a[0])instanceof A.SassString?(D.SassString._as(h),u=!h._hasQuotes&&"from"===h._string$_text.toLowerCase()):u=d,p=!0):(u=d,h=w,p=!1),u)return A._functionString(e,A._setArrayType([t],D.JSArray_Value));if(u=o.get$isSpecialVariable())m=A._setArrayType([o],D.JSArray_Value);else{if(m=w,c?(_=p?h:a[0],g=C.JSArray_methods.sublist$1(a,1),f=a,u=!0):(g=f=m,_=w,u=!1),!u)throw A.wrapException("unreachable");if(null==n){if((v=_.assertString$1(r)).assertUnquoted$1(r),n=v.get$isSpecialVariable()?w:A.ColorSpace_fromName(v._string$_text,r),C.RgbColorSpace_i0P===n||C.HslColorSpace_JQ2===n||C.HwbColorSpace_guQ===n||C.LabColorSpace_2nT===n||C.LchColorSpace_Bpv===n||C.OklabColorSpace_540===n||C.OklchColorSpace_9Gj===n)throw A.wrapException(A.SassScriptException$(P.The_co+A.S(n)+". Use the "+A.S(n)+"() function instead.",r));m=g}else m=f;for(b=0;b<m.length;++b)if(u=!1,(y=m[b]).get$isSpecialNumber()||y instanceof A.SassNumber||(u=!(y instanceof A.SassString&&!y._hasQuotes&&"none"===y._string$_text.toLowerCase())),u)throw u=w,null==n||(d=n._channels,null!=(d=b<3?d[b]:w)&&(u=(new A._parseChannels_closure).call$1(d.name))),null==($=u)&&($="channel "+(b+1)),A.wrapException(A.SassScriptException$("Expected "+$+" to be a number, was "+y.toString$0(0)+".",r))}if(!0===(d=(u=null==s)?w:s.get$isSpecialNumber()))return 3===m.length&&C.Set_9FDyj.contains$1(0,n)?(u=A.List_List$_of(m,D.Value),s.toString,u.push(s),u=A._functionString(e,u)):u=A._functionString(e,A._setArrayType([t],D.JSArray_Value)),u;if(u?d=1:s instanceof A.SassString&&!s._hasQuotes&&"none"===s._string$_text?d=w:(d=A._percentageOrUnitless(s.assertNumber$1(r),1,"alpha"),d=isNaN(d)?0:C.JSNumber_methods.clamp$2(d,0,1)),null==n)return A._functionString(e,A._setArrayType([t],D.JSArray_Value));if(C.JSArray_methods.any$1(m,new A._parseChannels_closure0))return 3===m.length&&C.Set_9FDyj.contains$1(0,n)?(d=A.List_List$_of(m,D.Value),u||d.push(s),u=A._functionString(e,d)):u=A._functionString(e,A._setArrayType([t],D.JSArray_Value)),u;if(3!==m.length)throw A.wrapException(A.SassScriptException$("The "+n.toString$0(0)+" color space has 3 channels but "+t.toString$0(0)+" has "+m.length+".",r));return u=(u=m[0])instanceof A.SassNumber?u:w,x=(x=m[1])instanceof A.SassNumber?x:w,S=(S=m[2])instanceof A.SassNumber?S:w,A._colorFromChannels(n,u,x,S,d,!0,n===C.RgbColorSpace_i0P)},_parseSlashChannels(e,t){var r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y,$=null,x=e.assertCommonListStyle$2$allowSlash(t,!0);return n=$,i=!1,2===(r=x.length)?(o=x[0],n=x[1],i=e.get$separator(e)===C.ListSeparator_Lul):o=$,i?i=new A._Record_2(o,n):((i=e.get$separator(e))===C.ListSeparator_Lul&&(i=x.length,A.throwExpression(A.SassScriptException$(P.Only_2+i+" "+A.pluralize("was",i,"were")+" passed.",t))),a=$,l=$,c=$,u=!1,(i=s=r>=1)?(c=a=C.JSArray_methods.sublist$2(x,0,r-1),(i=l=x[r-1])instanceof A.SassString?(D.SassString._as(l),i=!l._hasQuotes):i=u,d=!0,h=!0):(i=u,d=!1,h=!1),i?(i=h?l:l=x[r-1],1!==(m=(p=D.SassString._as(i)._string$_text.split("/")).length)?2!==m?i=$:(_=p[0],g=p[1],(i=A.List_List$_of(c,D.Value)).push(A._parseNumberOrString(_)),i=new A._Record_2(A.SassList$(i,C.ListSeparator_SrV,!1),A._parseNumberOrString(g))):i=new A._Record_2(e,$)):(f=$,v=!1,i=!1,s?(b=!0,c=d?a:a=C.JSArray_methods.sublist$2(x,0,r-1),h?u=l:(u=l=x[r-1],h=b),(v=u instanceof A.SassNumber)&&(h?i=l:(i=l=x[r-1],h=b),i=f=D.SassNumber._as(i).asSlash,i=D.Record_2_nullable_Object_and_nullable_Object._is(i))):c=$,i?(v?i=f:(h?i=l:(i=l=x[r-1],h=!0),i=f=D.SassNumber._as(i).asSlash,v=!0),null==i&&(i=D.Record_2_nullable_Object_and_nullable_Object._as(i)),v?u=f:(u=h?l:l=x[r-1],u=f=D.SassNumber._as(u).asSlash),null==u&&(u=D.Record_2_nullable_Object_and_nullable_Object._as(u)),(y=A.List_List$_of(c,D.Value)).push(i._0),i=new A._Record_2(A.SassList$(y,C.ListSeparator_SrV,!1),u._1)):i=new A._Record_2(e,$))),i},_parseNumberOrString(e){var t,r;try{return r=(t=A.ScssParser$(e,!1,null))._parseSingleProduction$1$1(t.get$_number(),D.NumberExpression),t=A.SassNumber_SassNumber(r.value,r.unit)}catch(t){if(D.SassFormatException._is(A.unwrapException(t)))return new A.SassString(e,!1);throw t}},_colorFromChannels(e,t,r,n,i,o,s){var a,l,c,u,d;switch(e){case C.HslColorSpace_JQ2:return null!=r&&A._checkPercent(r,"saturation"),null!=n&&A._checkPercent(n,"lightness"),a=e._channels,A.SassColor_SassColor$hsl(A.NullableExtension_andThen(t,new A._colorFromChannels_closure),A._channelFromValue(a[1],A._forcePercent(r),o),A._channelFromValue(a[2],A._forcePercent(n),o),i);case C.HwbColorSpace_guQ:return(a=null==r)||r.assertUnit$2("%","whiteness"),(l=null==n)||n.assertUnit$2("%","blackness"),c=a?null:r._number$_value,u=l?null:n._number$_value,null!=c&&null!=u&&c+u>100&&(c=c/(a=c+u)*100,u=u/a*100),A.SassColor_SassColor$hwb(A.NullableExtension_andThen(t,new A._colorFromChannels_closure0),c,u,i);case C.RgbColorSpace_i0P:return a=e._channels,l=A._channelFromValue(a[0],t,o),d=A._channelFromValue(a[1],r,o),a=A._channelFromValue(a[2],n,o),A.SassColor_SassColor$rgbInternal(l,d,a,i,s?C.C__ColorFormatEnum:null);default:return a=e._channels,A.SassColor_SassColor$forSpaceInternal(e,A._channelFromValue(a[0],t,o),A._channelFromValue(a[1],r,o),A._channelFromValue(a[2],n,o),i)}},_forcePercent(e){var t;return null!=e?1===(t=e.get$numeratorUnits(e)).length&&("%"===t[0]&&e.get$denominatorUnits(e).length<=0)?e:A.SassNumber_SassNumber(e._number$_value,"%"):null},_channelFromValue:(e,t,r)=>A.NullableExtension_andThen(t,new A._channelFromValue_closure(e,r)),_isNone:e=>e instanceof A.SassString&&!e._hasQuotes&&"none"===e._string$_text.toLowerCase(),_channelFunction:(e,t,r,n,i)=>A.BuiltInCallable$function(e,"$color",new A._channelFunction_closure(r,i,n,e,t),"sass:color"),_suggestScaleAndAdjust(e,t,r){var n,i,o,s,a,l,c="alpha"===r?C.LinearChannel_XL8:D.LinearChannel._as(C.JSArray_methods.firstWhere$1(C.List_oAL,new A._suggestScaleAndAdjust_closure(r))),u=c===C.LinearChannel_XL8;return o=(i=u?null==(n=e.alphaOrNull)?0:n:e.toSpace$1(C.HslColorSpace_JQ2).channel$1(0,r))+t,0!==t?(s=A._Cell$(),o>(n=c.max)?s.__late_helper$_value=1:(a=c.min,s.__late_helper$_value=o<a?-1:t>0?t/(n-i):(o-i)/(i-a)),l="Suggestions:\n\ncolor.scale($color, $"+r+": "+A.serializeValue(A.SassNumber_SassNumber(100*s._readLocal$0(),"%"),!1,!0)+")\n"):l="Suggestion:\n\n",l+"color.adjust($color, $"+r+": "+A.serializeValue(A.SassNumber_SassNumber(t,u?null:"%"),!1,!0)+")"},_missingChannelError:(e,t)=>A.throwExpression(A.SassScriptException$(P.Becaus+e.toCssString$0()+").",t)),_channelName(e){var t=e.assertString$1("channel");return t.assertQuoted$1("channel"),t._string$_text},_function5:(e,t,r)=>A.BuiltInCallable$function(e,t,r,"sass:color"),global_closure0:function(){},global_closure1:function(){},global_closure2:function(){},global_closure3:function(){},global_closure4:function(){},global_closure5:function(){},global_closure6:function(){},global_closure7:function(){},global_closure8:function(){},global_closure9:function(){},global_closure10:function(){},global_closure11:function(){},global_closure12:function(){},global_closure13:function(){},global_closure14:function(){},global_closure15:function(){},global_closure16:function(){},global_closure17:function(){},global_closure18:function(){},global_closure19:function(){},global_closure20:function(){},global_closure21:function(){},global_closure22:function(){},global_closure23:function(){},global_closure24:function(){},global_closure25:function(){},global_closure26:function(){},global_closure27:function(){},global_closure28:function(){},global_closure29:function(){},global_closure30:function(){},global_closure31:function(){},global_closure32:function(){},global_closure33:function(){},global_closure34:function(){},global_closure35:function(){},global__closure:function(){},global_closure36:function(){},global_closure37:function(){},global_closure38:function(){},global_closure39:function(){},global_closure40:function(){},global_closure41:function(){},global_closure42:function(){},module_closure1:function(){},module_closure2:function(){},module_closure3:function(){},module_closure4:function(){},module_closure5:function(){},module_closure6:function(){},module_closure7:function(){},module_closure8:function(){},module_closure9:function(){},module_closure10:function(){},module_closure11:function(){},module_closure12:function(){},module_closure13:function(){},module_closure14:function(){},module__closure2:function(){},module_closure15:function(){},module_closure16:function(){},module_closure17:function(){},module_closure18:function(){},module_closure19:function(){},module_closure20:function(){},module_closure21:function(){},module_closure22:function(){},module__closure1:function(e){this.channelName=e},module_closure23:function(){},module_closure_toXyzNoMissing:function(){},module_closure24:function(){},_mix_closure:function(){},_complement_closure:function(){},_adjust_closure:function(){},_scale_closure:function(){},_change_closure:function(){},_ieHexStr_closure:function(){},_ieHexStr_closure_hexString:function(){},_updateComponents_closure:function(e){this.originalColor=e},_updateComponents_closure0:function(e){this._box_0=e},_changeColor_closure:function(e){this.alphaArg=e},_adjustColor_closure:function(){},_functionString_closure:function(){},_removedColorFunction_closure:function(e,t,r){this.name=e,this.argument=t,this.negative=r},_rgb_closure:function(){},_hsl_closure:function(){},_parseChannels_closure:function(){},_parseChannels_closure0:function(){},_colorFromChannels_closure:function(){},_colorFromChannels_closure0:function(){},_channelFromValue_closure:function(e,t){this.channel=e,this.clamp=t},_channelFunction_closure:function(e,t,r,n,i){var o=this;o.getter=e,o.unit=t,o.global=r,o.name=n,o.space=i},_suggestScaleAndAdjust_closure:function(e){this.channelName=e},_function4:(e,t,r)=>A.BuiltInCallable$function(e,t,r,"sass:list"),_length_closure0:function(){},_nth_closure:function(){},_setNth_closure:function(){},_join_closure:function(){},_append_closure0:function(){},_zip_closure:function(){},_zip__closure:function(){},_zip__closure0:function(e){this._box_0=e},_zip__closure1:function(e){this._box_0=e},_index_closure0:function(){},_separator_closure:function(){},_isBracketed_closure:function(){},_slash_closure:function(){},_modify(e,t,r,n){var i=w.get$iterator$ax(t);return i.moveNext$0()?new A._modify_modifyNestedMap(i,r,n).call$1(e):r.call$1(e)},_deepMergeImpl(e,t){var r,n,i,o,s,a,l,c,u,d,h,p,m,_=e._map$_contents;if(_.get$isEmpty(_))return t;if((r=t._map$_contents).get$isEmpty(r))return e;for(n=D.Value,i=A.LinkedHashMap_LinkedHashMap$of(_,n,n),_=(_=A.MapExtensions_get_pairs(r,n,n)).get$iterator(_),r=D.SassMap;_.moveNext$0();)if(s=(o=_.get$current(_))._0,a=o._1,l=null==(o=i.$index(0,s))?null:o.tryMap$0(),c=a.tryMap$0(),o=!1,(u=null!=l)?(o=null!=c,d=l,h=c):(h=null,d=null),o){if(p=u?h:c,(m=A._deepMergeImpl(d,null==p?r._as(p):p))===d)continue;i.$indexSet(0,s,m)}else i.$indexSet(0,s,a);return new A.SassMap(A.ConstantMap_ConstantMap$from(i,n,n))},_function3:(e,t,r)=>A.BuiltInCallable$function(e,t,r,"sass:map"),_get_closure:function(){},_set_closure:function(){},_set__closure0:function(e){this.$arguments=e},_set_closure0:function(){},_set__closure:function(e){this._box_0=e},_merge_closure:function(){},_merge_closure0:function(){},_merge__closure:function(e){this.map2=e},_deepMerge_closure:function(){},_deepRemove_closure:function(){},_deepRemove__closure:function(e){this.keys=e},_remove_closure:function(){},_remove_closure0:function(){},_keys_closure:function(){},_values_closure:function(){},_hasKey_closure:function(){},_modify_modifyNestedMap:function(e,t,r){this.keyIterator=e,this.modify=t,this.addNesting=r},_singleArgumentMathFunc:(e,t)=>A.BuiltInCallable$function(e,"$number",new A._singleArgumentMathFunc_closure(t),"sass:math"),_numberFunction:(e,t)=>A.BuiltInCallable$function(e,"$number",new A._numberFunction_closure(t),"sass:math"),_function2:(e,t,r)=>A.BuiltInCallable$function(e,t,r,"sass:math"),global_closure:function(){},module_closure0:function(){},_ceil_closure:function(){},_clamp_closure:function(){},_floor_closure:function(){},_max_closure:function(){},_min_closure:function(){},_round_closure:function(){},_hypot_closure:function(){},_hypot__closure:function(){},_log_closure:function(){},_pow_closure:function(){},_atan2_closure:function(){},_compatible_closure:function(){},_isUnitless_closure:function(){},_unit_closure:function(){},_percentage_closure:function(){},_randomFunction_closure:function(){},_div_closure:function(){},_singleArgumentMathFunc_closure:function(e){this.mathFunc=e},_numberFunction_closure:function(e){this.transform=e},_function:(e,t,r)=>A.BuiltInCallable$function(e,t,r,"sass:meta"),_shared_closure:function(){},_shared_closure0:function(){},_shared_closure1:function(){},_shared_closure2:function(){},moduleFunctions_closure:function(){},moduleFunctions_closure0:function(){},moduleFunctions__closure:function(){},moduleFunctions_closure1:function(){},_prependParent(e){var t,r,n,i=A.EvaluationContext_currentOrNull(),o=(null==i?A.throwExpression(A.StateError$(P.No_Sass)):i).get$currentCallableSpan(),s=e.components;return(t=s.length>=1)?i=(r=s[0])instanceof A.UniversalSelector:(r=null,i=!1),i?i=null:(i=!1,t&&r instanceof A.TypeSelector&&(i=r,i=null!=D.TypeSelector._as(i).name.namespace),i?i=null:(i=!!t&&(i=r)instanceof A.TypeSelector)?(i=t?r:s[0],D.TypeSelector._as(i),n=C.JSArray_methods.sublist$1(s,1),i=A._setArrayType([new A.ParentSelector(i.name.name,o)],D.JSArray_SimpleSelector),C.JSArray_methods.addAll$1(i,n),i=A.CompoundSelector$(i,o)):(i=A._setArrayType([new A.ParentSelector(null,o)],D.JSArray_SimpleSelector),C.JSArray_methods.addAll$1(i,s),i=A.CompoundSelector$(i,o))),i},_function1:(e,t,r)=>A.BuiltInCallable$function(e,t,r,"sass:selector"),_nest_closure:function(){},_nest__closure:function(){},_nest__closure0:function(){},_append_closure:function(){},_append__closure:function(){},_append__closure0:function(e){this.span=e},_append___closure:function(e,t){this.parent=e,this.span=t},_extend_closure:function(){},_replace_closure:function(){},_unify_closure:function(){},_isSuperselector_closure:function(){},_simpleSelectors_closure:function(){},_simpleSelectors__closure:function(){},_parse_closure:function(){},_codepointForIndex(e,t,r){var n;return 0===e?0:e>0?Math.min(e-1,t):(n=t+e)<0&&!r?0:n},_function0:(e,t,r)=>A.BuiltInCallable$function(e,t,r,"sass:string"),module_closure:function(){},module__closure:function(e){this.string=e},module__closure0:function(e){this.string=e},_unquote_closure:function(){},_quote_closure:function(){},_length_closure:function(){},_insert_closure:function(){},_index_closure:function(){},_slice_closure:function(){},_toUpperCase_closure:function(){},_toLowerCase_closure:function(){},_uniqueId_closure:function(){},ImportCache$(e,t){var r=D.nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl,n=D.Record_3_Importer_and_Uri_and_bool_forImport,i=D.Uri;return new A.ImportCache(A.ImportCache__toImporters(e,t,null),A.LinkedHashMap_LinkedHashMap$_empty(D.Record_2_Uri_and_bool_forImport,r),A.LinkedHashMap_LinkedHashMap$_empty(n,r),A.LinkedHashMap_LinkedHashMap$_empty(n,i),A.LinkedHashMap_LinkedHashMap$_empty(i,D.nullable_Stylesheet),A.LinkedHashMap_LinkedHashMap$_empty(i,D.ImporterResult),A.LinkedHashMap_LinkedHashMap$_empty(i,D.DateTime))},ImportCache__toImporters(e,t,r){var i,o,s,a,l,c,u=null,d=A.getEnvironmentVariable("SASS_PATH");if(A.isBrowser())return i=A._setArrayType([],D.JSArray_Importer),C.JSArray_methods.addAll$1(i,e),i;for(i=A._setArrayType([],D.JSArray_Importer),C.JSArray_methods.addAll$1(i,e),o=w.get$iterator$ax(t);o.moveNext$0();)s=o.get$current(o),i.push(new A.FilesystemImporter(I.$get$context().absolute$15(s,u,u,u,u,u,u,u,u,u,u,u,u,u,u),!1));if(null!=d)for(o=A.isNodeJs()?n.process:u,a=(s=d.split(w.$eq$(null==o?u:w.get$platform$x(o),"win32")?";":":")).length,l=0;l<a;++l)c=s[l],i.push(new A.FilesystemImporter(I.$get$context().absolute$15(c,u,u,u,u,u,u,u,u,u,u,u,u,u,u),!1));return i},ImportCache:function(e,t,r,n,i,o,s){var a=this;a._importers=e,a._canonicalizeCache=t,a._perImporterCanonicalizeCache=r,a._nonCanonicalRelativeUrls=n,a._importCache=i,a._resultsCache=o,a._loadTimes=s},ImportCache_canonicalize_closure:function(e,t,r,n,i,o,s){var a=this;a.$this=e,a.baseImporter=t,a.resolvedUrl=r,a.baseUrl=n,a.forImport=i,a.key=o,a.url=s},ImportCache__canonicalize_closure:function(e,t){this.importer=e,this.url=t},ImportCache_importCanonical_closure:function(e,t,r,n){var i=this;i.$this=e,i.importer=t,i.canonicalUrl=r,i.originalUrl=n},ImportCache_humanize_closure:function(e){this.canonicalUrl=e},ImportCache_humanize_closure0:function(){},ImportCache_humanize_closure1:function(){},ImportCache_humanize_closure2:function(e){this.canonicalUrl=e},Importer:function(){},AsyncImporter:function(){},CanonicalizeContext:function(e,t){this._fromImport=e,this._containingUrl=t,this._wasContainingUrlAccessed=!1},FilesystemImporter:function(e,t){this._loadPath=e,this._loadPathDeprecated=t},FilesystemImporter_canonicalize_closure:function(){},NoOpImporter:function(){},NodePackageImporter:function(){this.__NodePackageImporter__entryPointDirectory_F=I},NodePackageImporter__nodePackageExportsResolve_closure:function(){},NodePackageImporter__nodePackageExportsResolve_closure0:function(){},NodePackageImporter__nodePackageExportsResolve_closure1:function(){},NodePackageImporter__nodePackageExportsResolve_closure2:function(e,t,r){this.$this=e,this.exports=t,this.packageRoot=r},NodePackageImporter__nodePackageExportsResolve__closure:function(e,t,r){this.$this=e,this.variant=t,this.packageRoot=r},NodePackageImporter__nodePackageExportsResolve__closure0:function(){},NodePackageImporter__getMainExport_closure:function(){},ImporterResult:function(e,t,r){this.contents=e,this._sourceMapUrl=t,this.syntax=r},fromImport(){var e=D.nullable_CanonicalizeContext._as(I.Zone__current.$index(0,C.Symbol__canonicalizeContext));return!0===(e=null==e?null:e._fromImport)},canonicalizeContext(){var e=I.Zone__current.$index(0,C.Symbol__canonicalizeContext);return null==e&&A.throwExpression(A.StateError$(P.canoni)),e instanceof A.CanonicalizeContext?e:A.throwExpression(A.StateError$(P.Unexpe+A.S(e)+"."))},resolveImportPath(e){var t,r=A.ParsedPath_ParsedPath$parse(e,I.$get$context().style)._splitExtension$1(1)[1];return".sass"===r||".scss"===r||".css"===r?null==(t=A.fromImport()?new A.resolveImportPath_closure(e,r).call$0():null)?A._exactlyOne(A._tryPath(e)):t:(null==(t=A.fromImport()?new A.resolveImportPath_closure0(e).call$0():null)&&(t=A._exactlyOne(A._tryPathWithExtensions(e))),null==t?A._tryPathAsDirectory(e):t)},_tryPathWithExtensions(e){var t=A._tryPath(e+".sass");return C.JSArray_methods.addAll$1(t,A._tryPath(e+".scss")),0!==t.length?t:A._tryPath(e+".css")},_tryPath(e){var t=I.$get$context(),r=A.join(t.dirname$1(e),"_"+A.ParsedPath_ParsedPath$parse(e,t.style).get$basename(),null);return t=A._setArrayType([],D.JSArray_String),A.fileExists(r)&&t.push(r),A.fileExists(e)&&t.push(e),t},_tryPathAsDirectory(e){var t;return A.dirExists(e)?null==(t=A.fromImport()?new A._tryPathAsDirectory_closure(e).call$0():null)?A._exactlyOne(A._tryPathWithExtensions(A.join(e,"index",null))):t:null},_exactlyOne(e){var t;return(t=e.length)<=0?null:1!==t?A.throwExpression(P.It_s_n+C.JSArray_methods.map$1$1(e,new A._exactlyOne_closure,D.String).join$1(0,"\n")):e[0]},resolveImportPath_closure:function(e,t){this.path=e,this.extension=t},resolveImportPath_closure0:function(e){this.path=e},_tryPathAsDirectory_closure:function(e){this.path=e},_exactlyOne_closure:function(){},InterpolationBuffer:function(e,t,r){this._interpolation_buffer$_text=e,this._interpolation_buffer$_contents=t,this._spans=r},InterpolationMap$(e,t){var r=A.List_List$unmodifiable(t,D.int),n=e.contents.length,i=Math.max(0,n-1);return r.length!==i&&A.throwExpression(A.ArgumentError$("InterpolationMap must have "+A.S(i)+" targetOffsets if the interpolation has "+n+" components.",null)),new A.InterpolationMap(e,r)},InterpolationMap:function(e,t){this._interpolation=e,this._targetOffsets=t},InterpolationMap_mapException_closure:function(){},_realCasePath(e){var t,r=null,i=A.isNodeJs()?n.process:r;return w.$eq$(null==i?r:w.get$platform$x(i),"win32")?i=!0:(i=A.isNodeJs()?n.process:r,i=w.$eq$(null==i?r:w.get$platform$x(i),"darwin")),i?(i=A.isNodeJs()?n.process:r,w.$eq$(null==i?r:w.get$platform$x(i),"win32")&&0!==(i=(t=C.JSString_methods.substring$2(e,0,I.$get$context().style.rootLength$1(e))).length)&&A.CharacterExtension_get_isAlphabetic(t.charCodeAt(0))&&(e=t.toUpperCase()+C.JSString_methods.substring$1(e,i)),(new A._realCasePath_helper).call$1(e)):e},_realCasePath_helper:function(){},_realCasePath_helper_closure:function(e,t,r,n){var i=this;i.path=e,i.realPath=t,i.helper=r,i.dirname=n},_realCasePath_helper__closure:function(e){this.basename=e},printError(e){var t,r=A.isNodeJs()?n.process:null;null!=r?(r=w.get$stderr$x(r),w.write$1$x(r,A.S(null==e?"":e)+"\n")):(r=n.console,t=null==e?null:w.toString$0$(e),w.error$1$x(r,null==t?"":t))},readFile(e){var t,r,n,i;if(!A.isNodeJs())throw A.wrapException(A.UnsupportedError$("readFile() is only supported on Node.js"));if(t=A._asString(A._readFile(e,"utf8")),!C.JSString_methods.contains$1(t,"�"))return t;for(r=A.SourceFile$fromString(t,I.$get$context().toUri$1(e)),n=t.length,i=0;i<n;++i)if(65533===t.charCodeAt(i))throw A.wrapException(A.SassException$("Invalid UTF-8.",A.FileLocation$_(r,i).pointSpan$0(),null));return t},_readFile:(e,t)=>A._systemErrorToFileSystemException(new A._readFile_closure(e,t)),writeFile(e,t){if(!A.isNodeJs())throw A.wrapException(A.UnsupportedError$("writeFile() is only supported on Node.js"));return A._systemErrorToFileSystemException(new A.writeFile_closure(e,t))},deleteFile(e){if(!A.isNodeJs())throw A.wrapException(A.UnsupportedError$("deleteFile() is only supported on Node.js"));return A._systemErrorToFileSystemException(new A.deleteFile_closure(e))},readStdin:()=>A.readStdin$body(),readStdin$body(){var e,t,r,i,o,s,a=0,l=A._makeAsyncAwaitCompleter(D.String),c=A._wrapJsFunctionForAsync(function(c,u){if(1===c)return A._asyncRethrow(u,l);for(;;)switch(a){case 0:if(o={},null==(s=A.isNodeJs()?n.process:null))throw A.wrapException(A.UnsupportedError$("readStdin() is only supported on Node.js"));t=new A._Future(I.Zone__current,D._Future_String),r=new A._AsyncCompleter(t,D._AsyncCompleter_String),o.contents=null,i=new A._StringCallbackSink(new A.readStdin_closure(o,r),new A.StringBuffer("")).asUtf8Sink$1(!1),o=w.getInterceptor$x(s),w.on$2$x(o.get$stdin(s),"data",A.allowInterop(new A.readStdin_closure0(i))),w.on$2$x(o.get$stdin(s),"end",A.allowInterop(new A.readStdin_closure1(i))),w.on$2$x(o.get$stdin(s),"error",A.allowInterop(new A.readStdin_closure2(r))),e=t,a=1;break;case 1:return A._asyncReturn(e,l)}});return A._asyncStartSync(c,l)},fileExists(e){if(!A.isNodeJs())throw A.wrapException(A.UnsupportedError$(P.fileEx));return A._systemErrorToFileSystemException(new A.fileExists_closure(e))},dirExists(e){if(!A.isNodeJs())throw A.wrapException(A.UnsupportedError$("dirExists() is only supported on Node.js"));return A._systemErrorToFileSystemException(new A.dirExists_closure(e))},linkExists(e){if(!A.isNodeJs())throw A.wrapException(A.UnsupportedError$(P.linkEx));return A._systemErrorToFileSystemException(new A.linkExists_closure(e))},ensureDir(e){if(!A.isNodeJs())throw A.wrapException(A.UnsupportedError$("ensureDir() is only supported on Node.js"));return A._systemErrorToFileSystemException(new A.ensureDir_closure(e))},listDir(e,t){if(!A.isNodeJs())throw A.wrapException(A.UnsupportedError$("listDir() is only supported on Node.js"));return A._systemErrorToFileSystemException(new A.listDir_closure(t,e))},realpath(e){if(!A.isNodeJs())throw A.wrapException(A.UnsupportedError$("listDir() is only supported on Node.js"));return A._systemErrorToFileSystemException(new A.realpath_closure(e))},modificationTime(e){if(!A.isNodeJs())throw A.wrapException(A.UnsupportedError$("modificationTime() is only supported on Node.js"));return A._systemErrorToFileSystemException(new A.modificationTime_closure(e))},getEnvironmentVariable(e){var t=A.isNodeJs()?n.process:null,r=null==t?null:w.get$env$x(t);return t=null==r?null:A._asStringQ(r[e])},_systemErrorToFileSystemException(e){var t,r,n;try{return r=e.call$0()}catch(e){if(t=A.unwrapException(e),!D.JsSystemError._is(t))throw e;throw r=t,n=w.getInterceptor$x(r),A.wrapException(new A.FileSystemException(w.substring$2$s(n.get$message(r),(A.S(n.get$code(r))+": ").length,w.get$length$asx(n.get$message(r))-(", "+A.S(n.get$syscall(r))+" '"+A.S(n.get$path(r))+"'").length),w.get$path$x(t)))}},hasTerminal(){var e=A.isNodeJs()?n.process:null;return w.$eq$(null==e?null:w.get$isTTY$x(w.get$stdout$x(e)),!0)},isWindows(){var e=A.isNodeJs()?n.process:null;return w.$eq$(null==e?null:w.get$platform$x(e),"win32")},watchDir:(e,t)=>A.watchDir$body(e,t),watchDir$body(e,t){var r,i,o,s,a,l,c,u,d,h,p,m=0,_=A._makeAsyncAwaitCompleter(D.Stream_WatchEvent),g=A._wrapJsFunctionForAsync(function(f,v){if(1===f)return A._asyncRethrow(v,_);for(;;)switch(m){case 0:if(u={},!A.isNodeJs())throw A.wrapException(A.UnsupportedError$("watchDir() is only supported on Node.js"));u.controller=null,null!=(i=M.G.parcel_watcher)?(o=!t,s=i):(s=null,o=!1),m=o?3:5;break;case 3:return d=u,h=A,p=A,m=6,A._asyncAwait(A.ParcelWatcher_subscribe(s,e,new A.watchDir_closure0(u)),g);case 6:a=d.controller=h.StreamController_StreamController(new p.watchDir_closure(v),null,null,null,!1,D.WatchEvent),r=new A._ControllerStream(a,A._instanceType(a)._eval$1("_ControllerStream<1>")),m=1;break;case 5:l=w.watch$2$x(n.chokidar,e,{usePolling:t}),(o=w.getInterceptor$x(l)).on$2(l,"add",A.allowInterop(new A.watchDir_closure1(u))),o.on$2(l,"change",A.allowInterop(new A.watchDir_closure2(u))),o.on$2(l,"unlink",A.allowInterop(new A.watchDir_closure3(u))),o.on$2(l,"error",A.allowInterop(new A.watchDir_closure4(u))),c=new A._Future(I.Zone__current,D._Future_Stream_WatchEvent),o.on$2(l,"ready",A.allowInterop(new A.watchDir_closure5(u,l,new A._AsyncCompleter(c,D._AsyncCompleter_Stream_WatchEvent)))),r=c,m=1;break;case 4:case 1:return A._asyncReturn(r,_)}});return A._asyncStartSync(g,_)},FileSystemException:function(e,t){this.message=e,this.path=t},_readFile_closure:function(e,t){this.path=e,this.encoding=t},writeFile_closure:function(e,t){this.path=e,this.contents=t},deleteFile_closure:function(e){this.path=e},readStdin_closure:function(e,t){this._box_0=e,this.completer=t},readStdin_closure0:function(e){this.sink=e},readStdin_closure1:function(e){this.sink=e},readStdin_closure2:function(e){this.completer=e},fileExists_closure:function(e){this.path=e},dirExists_closure:function(e){this.path=e},linkExists_closure:function(e){this.path=e},ensureDir_closure:function(e){this.path=e},listDir_closure:function(e,t){this.recursive=e,this.path=t},listDir__closure:function(e){this.path=e},listDir__closure0:function(){},listDir_closure_list:function(){},listDir__list_closure:function(e,t){this.parent=e,this.list=t},realpath_closure:function(e){this.path=e},modificationTime_closure:function(e){this.path=e},watchDir_closure0:function(e){this._box_0=e},watchDir_closure:function(e){this.subscription=e},watchDir_closure1:function(e){this._box_0=e},watchDir_closure2:function(e){this._box_0=e},watchDir_closure3:function(e){this._box_0=e},watchDir_closure4:function(e){this._box_0=e},watchDir_closure5:function(e,t,r){this._box_0=e,this.watcher=t,this.completer=r},watchDir__closure:function(e){this.watcher=e},JSArray0:function(){},Chokidar:function(){},ChokidarOptions:function(){},ChokidarWatcher:function(){},JSFunction:function(){},ImmutableList:function(){},ImmutableMap:function(){},NodeImporterResult:function(){},RenderContext:function(){},RenderContextOptions:function(){},RenderContextResult:function(){},RenderContextResultStats:function(){},JSModule:function(){},JSModuleRequire:function(){},ParcelWatcher_subscribe(e,t,r){var n,i=new A.ParcelWatcher_subscribe_closure(r);return"function"==typeof i&&A.throwExpression(A.ArgumentError$("Attempting to rewrap a JS function.",null)),n=function(e,t){return function(r,n){return e(t,r,n,arguments.length)}}(A._callDartFunctionFast2,i),n[I.$get$DART_CLOSURE_PROPERTY_NAME()]=i,A.promiseToFuture(e.subscribe(t,n),D.JSObject)},ParcelWatcher_subscribe_closure:function(e){this.callback=e},JSClass:function(){},JSUrl:function(){},jsThrow0:e=>D.Never._as(I.$get$_jsThrow0().call$1(e)),_PropertyDescriptor:function(){},_RequireMain:function(){},WarnForDeprecation_warnForDeprecation(e,t,r,n,i){e.internalWarn$4$deprecation$span$trace(r,t,n,i)},LoggerWithDeprecationType:function(){},_QuietLogger:function(){},DefaultLogger:function(){},DeprecationProcessingLogger:function(e,t,r,n,i,o){var s=this;s._warningCounts=e,s._inner=t,s.silenceDeprecations=r,s.fatalDeprecations=n,s.futureDeprecations=i,s.limitRepetition=o},DeprecationProcessingLogger_summarize_closure:function(){},DeprecationProcessingLogger_summarize_closure0:function(){},StderrLogger:function(e){this.color=e},TrackingLogger:function(e){this._tracking$_logger=e,this._emittedDebug=this._emittedWarning=!1},BuiltInModule$(e,t,r,n,i){var o=A._Uri__Uri(null,e,null,"sass"),s=A.BuiltInModule__callableMap(t,i),a=A.BuiltInModule__callableMap(r,i),l=null==n?C.Map_empty6:new A.UnmodifiableMapView(n,D.UnmodifiableMapView_String_Value);return new A.BuiltInModule(o,s,a,l,i._eval$1("BuiltInModule<0>"))},BuiltInModule__callableMap(e,t){var r,n,i,o=D.String;if(null==e)o=A.LinkedHashMap_LinkedHashMap$_empty(o,t);else{for(o=A.LinkedHashMap_LinkedHashMap$_empty(o,t),r=e.length,n=0;n<e.length;e.length===r||(0,A.throwConcurrentModificationError)(e),++n)i=e[n],o.$indexSet(0,i.get$name(i),i);o=new A.UnmodifiableMapView(o,D.$env_1_1_String._bind$1(t)._eval$1("UnmodifiableMapView<1,2>"))}return new A.UnmodifiableMapView(o,D.$env_1_1_String._bind$1(t)._eval$1("UnmodifiableMapView<1,2>"))},BuiltInModule:function(e,t,r,n,i){var o=this;o.url=e,o.functions=t,o.mixins=r,o.variables=n,o.$ti=i},ForwardedModuleView_ifNecessary(e,t,r){var n,i=!1;return null==t.prefix&&null==t.shownMixinsAndFunctions&&null==t.shownVariables&&!0===(n=null==(n=t.hiddenMixinsAndFunctions)?null:n._base.get$isEmpty(0))&&(i=!0===(i=null==(i=t.hiddenVariables)?null:i._base.get$isEmpty(0))),i?e:A.ForwardedModuleView$(e,t,r)},ForwardedModuleView$(e,t,r){var n=t.prefix,i=t.shownVariables,o=t.hiddenVariables,s=t.shownMixinsAndFunctions,a=t.hiddenMixinsAndFunctions;return new A.ForwardedModuleView(e,t,A.ForwardedModuleView__forwardedMap(e.get$variables(),n,i,o,D.Value),A.ForwardedModuleView__forwardedMap(e.get$variableNodes(),n,i,o,D.AstNode),A.ForwardedModuleView__forwardedMap(e.get$functions(e),n,s,a,r),A.ForwardedModuleView__forwardedMap(e.get$mixins(),n,s,a,r),r._eval$1("ForwardedModuleView<0>"))},ForwardedModuleView__forwardedMap(e,t,r,n,i){var o=null==t,s=!1;return o&&null==r&&(s=null==n||n._base.get$isEmpty(0)),s||(o||(e=new A.PrefixedMapView(e,t,i._eval$1("PrefixedMapView<0>"))),null!=r?e=new A.LimitedMapView(e,r._base.intersection$1(new A.MapKeySet(e,D.MapKeySet_nullable_Object)),D.$env_1_1_String._bind$1(i)._eval$1("LimitedMapView<1,2>")):null!=n&&n._base.get$isNotEmpty(0)&&(e=A.LimitedMapView$blocklist(e,n,D.String,i))),e},ForwardedModuleView:function(e,t,r,n,i,o,s){var a=this;a._forwarded_view$_inner=e,a._rule=t,a.variables=r,a.variableNodes=n,a.functions=i,a.mixins=o,a.$ti=s},ShadowedModuleView_ifNecessary:(e,t,r,n,i)=>A.ShadowedModuleView__needsBlocklist(e.get$variables(),n)||A.ShadowedModuleView__needsBlocklist(e.get$functions(e),t)||A.ShadowedModuleView__needsBlocklist(e.get$mixins(),r)?new A.ShadowedModuleView(e,A.ShadowedModuleView__shadowedMap(e.get$variables(),n,D.Value),A.ShadowedModuleView__shadowedMap(e.get$variableNodes(),n,D.AstNode),A.ShadowedModuleView__shadowedMap(e.get$functions(e),t,i),A.ShadowedModuleView__shadowedMap(e.get$mixins(),r,i),i._eval$1("ShadowedModuleView<0>")):null,ShadowedModuleView__shadowedMap:(e,t,r)=>A.ShadowedModuleView__needsBlocklist(e,t)?A.LimitedMapView$blocklist(e,t,D.String,r):e,ShadowedModuleView__needsBlocklist:(e,t)=>e.get$isNotEmpty(e)&&t.any$1(0,e.get$containsKey()),ShadowedModuleView:function(e,t,r,n,i,o){var s=this;s._shadowed_view$_inner=e,s.variables=t,s.variableNodes=r,s.functions=n,s.mixins=i,s.$ti=o},AtRootQueryParser:function(e,t){this.scanner=e,this._interpolationMap=t},AtRootQueryParser_parse_closure:function(e){this.$this=e},_disallowedFunctionNames_closure:function(){},CssParser:function(e,t,r,n,i){var o=this;o._stylesheet$_parseSelectors=e,o._isUseAllowed=!0,o._inExpression=o._inParentheses=o._inStyleRule=o._inPlainCssFunction=o._stylesheet$_inUnknownAtRule=o._inControlDirective=o._inContentBlock=o._stylesheet$_inMixin=!1,o._globalVariables=t,o.warnings=r,o.lastSilentComment=null,o.scanner=n,o._interpolationMap=i},KeyframeSelectorParser:function(e,t){this.scanner=e,this._interpolationMap=t},KeyframeSelectorParser_parse_closure:function(e){this.$this=e},MediaQueryParser:function(e,t){this.scanner=e,this._interpolationMap=t},MediaQueryParser_parse_closure:function(e){this.$this=e},Parser_isIdentifier(e){try{return new A.Parser(A.SpanScanner$(e,null),null)._parseIdentifier$0(),!0}catch(e){if(D.SassFormatException._is(A.unwrapException(e)))return!1;throw e}},Parser:function(e,t){this.scanner=e,this._interpolationMap=t},Parser__parseIdentifier_closure:function(e){this.$this=e},Parser_escape_closure:function(){},Parser_scanIdentChar_matches:function(e,t){this.caseSensitive=e,this.char=t},Parser_spanFrom_closure:function(e,t){this.$this=e,this.span=t},Parser_spanFromPosition_closure:function(e,t){this.$this=e,this.span=t},SassParser:function(e,t,r,n,i){var o=this;o._currentIndentation=0,o._spaces=o._nextIndentationEnd=o._nextIndentation=null,o._stylesheet$_parseSelectors=e,o._isUseAllowed=!0,o._inExpression=o._inParentheses=o._inStyleRule=o._inPlainCssFunction=o._stylesheet$_inUnknownAtRule=o._inControlDirective=o._inContentBlock=o._stylesheet$_inMixin=!1,o._globalVariables=t,o.warnings=r,o.lastSilentComment=null,o.scanner=n,o._interpolationMap=i},SassParser_styleRuleSelector_closure:function(){},SassParser_children_closure:function(e,t,r){this.$this=e,this.child=t,this.children=r},SassParser__peekIndentation_closure:function(){},SassParser__peekIndentation_closure0:function(){},SassParser__tryTrailingSemicolon_closure:function(){},ScssParser$:(e,t,r)=>new A.ScssParser(!1,A.LinkedHashMap_LinkedHashMap$_empty(D.String,D.FileSpan),A._setArrayType([],D.JSArray_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span),A.SpanScanner$(e,r),null),ScssParser:function(e,t,r,n,i){var o=this;o._stylesheet$_parseSelectors=e,o._isUseAllowed=!0,o._inExpression=o._inParentheses=o._inStyleRule=o._inPlainCssFunction=o._stylesheet$_inUnknownAtRule=o._inControlDirective=o._inContentBlock=o._stylesheet$_inMixin=!1,o._globalVariables=t,o.warnings=r,o.lastSilentComment=null,o.scanner=n,o._interpolationMap=i},SelectorParser:function(e,t,r,n){var i=this;i._allowParent=e,i._plainCss=t,i.scanner=r,i._interpolationMap=n},SelectorParser_parse_closure:function(e){this.$this=e},SelectorParser_parseCompoundSelector_closure:function(e){this.$this=e},StylesheetParser:function(){},StylesheetParser_parse_closure:function(e){this.$this=e},StylesheetParser_parse__closure:function(e){this.$this=e},StylesheetParser_parseParameterList_closure:function(e){this.$this=e},StylesheetParser_parseVariableDeclaration_closure:function(e){this.$this=e},StylesheetParser_parseUseRule_closure:function(e){this.$this=e},StylesheetParser__parseSingleProduction_closure:function(e,t,r){this.$this=e,this.production=t,this.T=r},StylesheetParser__statement_closure:function(e){this.$this=e},StylesheetParser_variableDeclarationWithoutNamespace_closure:function(e,t){this.$this=e,this.start=t},StylesheetParser_variableDeclarationWithoutNamespace_closure0:function(e){this.declaration=e},StylesheetParser__declarationOrBuffer_closure:function(e){this.$this=e},StylesheetParser__declarationOrBuffer_closure0:function(e){this.$this=e},StylesheetParser__declarationOrBuffer_closure1:function(){},StylesheetParser__declarationOrBuffer_closure2:function(e){this.$this=e},StylesheetParser__styleRule_closure:function(e,t,r){this._box_0=e,this.$this=t,this.start=r},StylesheetParser__withStyleRuleChildren_closure:function(e,t,r,n,i){var o=this;o.$this=e,o.nodeWithSpan=t,o.wasInStyleRule=r,o.create=n,o.T=i},StylesheetParser__propertyOrVariableDeclaration_closure:function(e){this.$this=e},StylesheetParser__tryDeclarationChildren_closure:function(e,t){this.name=e,this.value=t},StylesheetParser__atRootRule_closure:function(e){this.query=e},StylesheetParser__atRootRule_closure0:function(){},StylesheetParser__eachRule_closure:function(e,t,r,n){var i=this;i.$this=e,i.wasInControlDirective=t,i.variables=r,i.list=n},StylesheetParser__functionRule_closure:function(e,t,r){this.name=e,this.parameters=t,this.precedingComment=r},StylesheetParser__forRule_closure:function(e,t){this._box_0=e,this.$this=t},StylesheetParser__forRule_closure0:function(e,t,r,n,i,o){var s=this;s._box_0=e,s.$this=t,s.wasInControlDirective=r,s.variable=n,s.from=i,s.to=o},StylesheetParser__memberList_closure:function(e,t,r){this.$this=e,this.variables=t,this.identifiers=r},StylesheetParser__includeRule_closure:function(e){this.contentParameters_=e},StylesheetParser_mediaRule_closure:function(e){this.query=e},StylesheetParser__mixinRule_closure:function(e,t,r,n){var i=this;i.$this=e,i.name=t,i.parameters=r,i.precedingComment=n},StylesheetParser_mozDocumentRule_closure:function(e){this.$this=e},StylesheetParser_mozDocumentRule_closure0:function(e,t,r,n){var i=this;i._box_0=e,i.$this=t,i.name=r,i.value=n},StylesheetParser_supportsRule_closure:function(e){this.condition=e},StylesheetParser__whileRule_closure:function(e,t,r){this.$this=e,this.wasInControlDirective=t,this.condition=r},StylesheetParser_unknownAtRule_closure:function(e,t){this._box_0=e,this.name=t},StylesheetParser__expression_resetState:function(e,t,r){this._box_0=e,this.$this=t,this.start=r},StylesheetParser__expression_resolveOneOperation:function(e,t){this._box_0=e,this.$this=t},StylesheetParser__expression_resolveOperations:function(e,t){this._box_0=e,this.resolveOneOperation=t},StylesheetParser__expression_addSingleExpression:function(e,t,r,n){var i=this;i._box_0=e,i.$this=t,i.resetState=r,i.resolveOperations=n},StylesheetParser__expression_addOperator:function(e,t,r,n){var i=this;i._box_0=e,i.$this=t,i.resolveOneOperation=r,i.addSingleExpression=n},StylesheetParser__expression_resolveSpaceExpressions:function(e,t,r){this._box_0=e,this.$this=t,this.resolveOperations=r},StylesheetParser_expressionUntilComma_closure:function(e){this.$this=e},StylesheetParser__isHexColor_closure:function(){},StylesheetParser__unicodeRange_closure:function(){},StylesheetParser__unicodeRange_closure0:function(){},StylesheetParser_interpolatedStringToken_closure:function(e){this.$this=e},StylesheetParser_namespacedExpression_closure:function(e,t){this.$this=e,this.start=t},StylesheetParser_trySpecialFunction_closure:function(){},StylesheetParser__interpolatedDeclarationValue_closure:function(e){this.$this=e},StylesheetParser__expressionUntilComparison_closure:function(e){this.$this=e},StylesheetParser__publicIdentifier_closure:function(e,t){this.$this=e,this.start=t},StylesheetNode$_(e,t,r,n){var i=new A.StylesheetNode(e,t,r,n._1,n._0,A.LinkedHashSet_LinkedHashSet$_empty(D.StylesheetNode));return i.StylesheetNode$_$4(e,t,r,n),i},StylesheetGraph:function(e,t,r){this._nodes=e,this.importCache=t,this._transitiveModificationTimes=r},StylesheetGraph_modifiedSince_transitiveModificationTime:function(e,t){this.$this=e,this.seenNodes=t},StylesheetGraph_modifiedSince_transitiveModificationTime_closure:function(e,t,r){this.node=e,this.seenNodes=t,this.transitiveModificationTime=r},StylesheetGraph__add_closure:function(e,t,r,n){var i=this;i.$this=e,i.url=t,i.baseImporter=r,i.baseUrl=n},StylesheetGraph_addCanonical_closure:function(e,t,r,n){var i=this;i.$this=e,i.importer=t,i.canonicalUrl=r,i.originalUrl=n},StylesheetGraph_reload_closure:function(e,t,r){this.$this=e,this.node=t,this.canonicalUrl=r},StylesheetGraph__nodeFor_closure:function(e,t,r,n,i){var o=this;o.$this=e,o.url=t,o.baseImporter=r,o.baseUrl=n,o.forImport=i},StylesheetGraph__nodeFor_closure0:function(e,t){this._box_0=e,this.$this=t},StylesheetNode:function(e,t,r,n,i,o){var s=this;s._stylesheet=e,s.importer=t,s.canonicalUrl=r,s._upstream=n,s._upstreamImports=i,s._downstream=o},Syntax_forPath(e){var t=A.ParsedPath_ParsedPath$parse(e,I.$get$context().style)._splitExtension$1(1)[1];return".sass"!==t?".css"!==t?C.Syntax_SCSS_0_scss:C.Syntax_CSS_2_css:C.Syntax_Sass_1_sass},Syntax:function(e,t,r){this._syntax$_name=e,this.index=t,this._name=r},Box:function(e,t){this._box$_inner=e,this.$ti=t},ModifiableBox:function(e,t){this.value=e,this.$ti=t},LazyFileSpan:function(e){this._builder=e,this._lazy_file_span$_span=null},LimitedMapView$blocklist(e,t,r,n){var i,o,s=A.LinkedHashSet_LinkedHashSet$_empty(r);for(i=(i=e.get$keys(e)).get$iterator(i);i.moveNext$0();)o=i.get$current(i),t.contains$1(0,o)||s.add$1(0,o);return new A.LimitedMapView(e,s,r._eval$1("@<0>")._bind$1(n)._eval$1("LimitedMapView<1,2>"))},LimitedMapView:function(e,t,r){this._limited_map_view$_map=e,this._limited_map_view$_keys=t,this.$ti=r},MapExtensions_get_pairs(e,t,r){var n=e.get$entries(e);return n.map$1$1(n,new A.MapExtensions_get_pairs_closure(t,r),t._eval$1("@<0>")._bind$1(r)._eval$1("+(1,2)"))},MapExtensions_get_pairs_closure:function(e,t){this.K=e,this.V=t},MergedMapView$(e,t,r){var n=t._eval$1("@<0>")._bind$1(r);return(n=new A.MergedMapView(A.LinkedHashMap_LinkedHashMap$_empty(t,n._eval$1("Map<1,2>")),n._eval$1("MergedMapView<1,2>"))).MergedMapView$1(e,t,r),n},MergedMapView:function(e,t){this._mapsByKey=e,this.$ti=t},MultiDirWatcher:function(e,t,r){this._watchers=e,this._group=t,this._poll=r},MultiSpan:function(e,t,r){this._multi_span$_primary=e,this.primaryLabel=t,this.secondarySpans=r},NoSourceMapBuffer:function(e){this._no_source_map_buffer$_buffer=e},PrefixedMapView:function(e,t,r){this._prefixed_map_view$_map=e,this._prefix=t,this.$ti=r},_PrefixedKeys:function(e){this._view=e},_PrefixedKeys_iterator_closure:function(e){this.$this=e},PublicMemberMapView:function(e,t){this._public_member_map_view$_inner=e,this.$ti=t},SourceMapBuffer:function(e,t){var r=this;r._source_map_buffer$_buffer=e,r._entries=t,r._column=r._line=0,r._inSpan=!1},SourceMapBuffer_buildSourceMap_closure:function(e,t){this._box_0=e,this.prefixLength=t},UnprefixedMapView:function(e,t,r){this._unprefixed_map_view$_map=e,this._unprefixed_map_view$_prefix=t,this.$ti=r},_UnprefixedKeys:function(e){this._unprefixed_map_view$_view=e},_UnprefixedKeys_iterator_closure:function(e){this.$this=e},_UnprefixedKeys_iterator_closure0:function(e){this.$this=e},toSentence:(e,t)=>1===e.get$length(e)?w.toString$0$(e.get$first(e)):A.IterableExtension_get_exceptLast(e).join$1(0,", ")+" "+t+" "+A.S(e.get$last(e)),indent:(e,t)=>new A.MappedListIterable(A._setArrayType(e.split("\n"),D.JSArray_String),new A.indent_closure(t),D.MappedListIterable_String_String).join$1(0,"\n"),pluralize:(e,t,r)=>1===t?e:null!=r?r:e+"s",trimAscii(e,t){var r,n=A._firstNonWhitespace(e);return null==n?r="":((r=A._lastNonWhitespace(e,!0)).toString,r=C.JSString_methods.substring$2(e,n,r+1)),r},trimAsciiRight(e,t){var r=A._lastNonWhitespace(e,t);return null==r?"":C.JSString_methods.substring$2(e,0,r+1)},_firstNonWhitespace(e){var t,r,n;for(t=e.length,r=0;r<t;++r)if(32!==(n=e.charCodeAt(r))&&9!==n&&10!==n&&13!==n&&12!==n)return r;return null},_lastNonWhitespace(e,t){var r,n,i;for(n=r=e.length-1;n>=0;--n)if(32!==(i=e.charCodeAt(n))&&9!==i&&10!==i&&13!==i&&12!==i)return t&&0!==n&&n!==r&&92===i?n+1:n;return null},isPublic(e){var t=e.charCodeAt(0);return 45!==t&&95!==t},flattenVertically(e,t){var r,n=e.$ti._eval$1("@<ListIterable.E>")._bind$1(t._eval$1("QueueList<0>"))._eval$1("MappedListIterable<1,2>"),i=A.List_List$_of(new A.MappedListIterable(e,new A.flattenVertically_closure(t),n),n._eval$1("ListIterable.E"));if(1===i.length)return C.JSArray_methods.get$first(i);for(r=A._setArrayType([],t._eval$1("JSArray<0>"));0!==i.length;)1&i.$flags&&A.throwUnsupportedOperation(i,16),C.JSArray_methods._removeWhere$2(i,new A.flattenVertically_closure0(r,t),!0);return r},codepointIndexToCodeUnitIndex(e,t){var r,n,i;for(r=0,n=0;n<t;++n)i=r+1,r=e.charCodeAt(r)>>>10==54?i+1:i;return r},codeUnitIndexToCodepointIndex(e,t){var r,n;for(r=0,n=0;n<t;n=(e.charCodeAt(n)>>>10==54?n+1:n)+1)++r;return r},frameForSpan(e,t,r){var n,i,o=null==r?e.get$sourceUrl(e):r;return null==o&&(o=I.$get$_noSourceUrl()),n=(n=e.get$start(e)).file.getLine$1(n.offset),i=e.get$start(e),new A.Frame(o,n+1,i.file.getColumn$1(i.offset)+1,t)},declarationName(e){var t=e.get$text();return A.trimAsciiRight(C.JSString_methods.substring$2(t,0,C.JSString_methods.indexOf$1(t,":")),!1)},unvendor(e){var t,r=e.length;if(r<2)return e;if(45!==e.charCodeAt(0))return e;if(45===e.charCodeAt(1))return e;for(t=2;t<r;++t)if(45===e.charCodeAt(t))return C.JSString_methods.substring$1(e,t+1);return e},equalsIgnoreCase(e,t){var r,n;if(e===t)return!0;if(null==e)return!1;if((r=e.length)!==t.length)return!1;for(n=0;n<r;++n)if(!A.characterEqualsIgnoreCase(e.charCodeAt(n),t.charCodeAt(n)))return!1;return!0},startsWithIgnoreCase(e,t){var r,n=t.length;if(e.length<n)return!1;for(r=0;r<n;++r)if(!A.characterEqualsIgnoreCase(e.charCodeAt(r),t.charCodeAt(r)))return!1;return!0},mapInPlace(e,t){var r;for(r=0;r<e.length;++r)e[r]=t.call$1(e[r])},longestCommonSubsequence(e,t,r,n){var i,o,s,a,l,c,u,d,h=e.get$length(0)+1,p=w.JSArray_JSArray$allocateFixed(h,D.List_int);for(i=D.int,o=0;o<h;++o)p[o]=A.List_List$filled(((t._queue_list$_tail-t._queue_list$_head&w.get$length$asx(t._queue_list$_table)-1)>>>0)+1,0,!1,i);for(h=e.get$length(0),s=w.JSArray_JSArray$allocateFixed(h,n._eval$1("List<0?>")),i=n._eval$1("0?"),o=0;o<h;++o)s[o]=A.List_List$filled((t._queue_list$_tail-t._queue_list$_head&w.get$length$asx(t._queue_list$_table)-1)>>>0,null,!1,i);for(a=0;a<(e._queue_list$_tail-e._queue_list$_head&w.get$length$asx(e._queue_list$_table)-1)>>>0;a=l)for(l=a+1,c=0;c<(t._queue_list$_tail-t._queue_list$_head&w.get$length$asx(t._queue_list$_table)-1)>>>0;c=d)u=r.call$2(e.$index(0,a),t.$index(0,c)),s[a][c]=u,(i=p[l])[d=c+1]=null==u?Math.max(i[c],p[a][d]):p[a][c]+1;return new A.longestCommonSubsequence_backtrack(s,p,n).call$2(e.get$length(0)-1,t.get$length(0)-1)},removeFirstWhere(e,t,r){var n;for(n=0;n<e.length;++n)if(t.call$1(e[n]))return void C.JSArray_methods.removeAt$1(e,n);r.call$0()},mapAddAll2(e,t,r,n,i){t.forEach$1(0,new A.mapAddAll2_closure(e,r,n,i))},setAll(e,t,r){var n;for(n=t.get$iterator(t);n.moveNext$0();)e.$indexSet(0,n.get$current(n),r)},rotateSlice(e,t,r){var n,i,o=e.$index(0,r-1);for(n=t;n<r;++n,o=i)i=e.$index(0,n),e.$indexSet(0,n,o)},mapAsync:(e,t,r,n)=>A.mapAsync$body(e,t,r,n,n._eval$1("Iterable<0>")),mapAsync$body(e,t,r,n,i){var o,s,a,l,c,u=0,d=A._makeAsyncAwaitCompleter(i),h=A._wrapJsFunctionForAsync(function(r,i){if(1===r)return A._asyncRethrow(i,d);for(;;)switch(u){case 0:l=A._setArrayType([],n._eval$1("JSArray<0>")),s=e.length,a=0;case 3:if(!(a<s)){u=5;break}return c=l,u=6,A._asyncAwait(t.call$1(e[a]),h);case 6:c.push(i);case 4:++a,u=3;break;case 5:o=l,u=1;break;case 1:return A._asyncReturn(o,d)}});return A._asyncStartSync(h,d)},putIfAbsentAsync:(e,t,r,n,i)=>A.putIfAbsentAsync$body(e,t,r,n,i,i),putIfAbsentAsync$body(e,t,r,n,i,o){var s,a,l,c=0,u=A._makeAsyncAwaitCompleter(o),d=A._wrapJsFunctionForAsync(function(n,o){if(1===n)return A._asyncRethrow(o,u);for(;;)switch(c){case 0:if(e.containsKey$1(t)){a=e.$index(0,t),s=null==a?i._as(a):a,c=1;break}return c=3,A._asyncAwait(r.call$0(),d);case 3:l=o,e.$indexSet(0,t,l),s=l,c=1;break;case 1:return A._asyncReturn(s,u)}});return A._asyncStartSync(d,u)},copyMapOfMap(e,t,r,n){var i,o,s,a=r._eval$1("@<0>")._bind$1(n)._eval$1("Map<1,2>"),l=A.LinkedHashMap_LinkedHashMap$_empty(t,a);for(a=(a=A.MapExtensions_get_pairs(e,t,a)).get$iterator(a);a.moveNext$0();)o=(i=a.get$current(a))._0,s=i._1,(i=A.LinkedHashMap_LinkedHashMap(null,null,null,r,n)).addAll$1(0,s),l.$indexSet(0,o,i);return l},copyMapOfList(e,t,r){var n,i=r._eval$1("List<0>"),o=A.LinkedHashMap_LinkedHashMap$_empty(t,i);for(i=(i=A.MapExtensions_get_pairs(e,t,i)).get$iterator(i);i.moveNext$0();)n=i.get$current(i),o.$indexSet(0,n._0,w.toList$0$ax(n._1));return o},consumeEscapedCharacter(e){var t,r,n,i,o;if(e.expectChar$1(92),null==(t=e.peekChar$0()))return 65533;if(10!==t&&13!==t&&12!==t||e.error$1(0,"Expected escape sequence."),A.CharacterExtension_get_isHex(t)){for(r=0,n=0;n<6&&(null!=(i=e.peekChar$0())?(o=!0,i>=48&&i<=57||i>=97&&i<=102||(o=i>=65&&i<=70),o=!o):o=!0,!o);++n)r=(r<<4>>>0)+A.asHex(e.readChar$0());return 32!==(o=e.peekChar$0())&&9!==o&&10!==o&&13!==o&&12!==o||e.readChar$0(),o=(o=0===r||(r>=55296&&r<=57343||r>=1114111))?65533:r}return e.readChar$0()},throwWithTrace(e,t,r){var n=A.getTrace(t);throw A.attachTrace(e,null==n?r:n),A.wrapException(e)},attachTrace(e,t){var r;0!==t.toString$0(0).length&&(r=I.$get$_traces(),A.Expando__checkType(e),null==r._jsWeakMap.get(e)&&r.$indexSet(0,e,t))},getTrace(e){var t;return"string"==typeof e||"number"==typeof e||A._isBool(e)?t=null:(t=I.$get$_traces(),A.Expando__checkType(e),t=t._jsWeakMap.get(e)),t},indent_closure:function(e){this.indentation=e},flattenVertically_closure:function(e){this.T=e},flattenVertically_closure0:function(e,t){this.result=e,this.T=t},longestCommonSubsequence_backtrack:function(e,t,r){this.selections=e,this.lengths=t,this.T=r},mapAddAll2_closure:function(e,t,r,n){var i=this;i.destination=e,i.K1=t,i.K2=r,i.V=n},SassApiValue_assertSelector(e,t,r){var n,i,o,s=e._selectorString$1(r);try{return o=A.SelectorList_SelectorList$parse(s,t,null,!1)}catch(e){if(o=A.unwrapException(e),!D.SassFormatException._is(o))throw e;n=o,i=A.getTraceFromException(e),o=C.JSString_methods.replaceFirst$2(w.toString$0$(n),"Error: ",""),A.throwWithTrace(new A.SassScriptException(null==r?o:"$"+r+": "+o),n,i)}},SassApiValue_assertCompoundSelector(e,t){var r,n,i,o=e._selectorString$1(t);try{return i=new A.SelectorParser(!1,!1,A.SpanScanner$(o,null),null).parseCompoundSelector$0()}catch(e){if(i=A.unwrapException(e),!D.SassFormatException._is(i))throw e;r=i,n=A.getTraceFromException(e),i=C.JSString_methods.replaceFirst$2(w.toString$0$(r),"Error: ",""),A.throwWithTrace(new A.SassScriptException("$"+t+": "+i),r,n)}},Value:function(){},SassArgumentList$(e,t,r){var n=D.Value;return(n=new A.SassArgumentList(A.ConstantMap_ConstantMap$from(t,D.String,n),A.List_List$unmodifiable(e,n),r,!1)).SassList$3$brackets(e,r,!1),n},SassArgumentList:function(e,t,r,n){var i=this;i._keywords=e,i._wereKeywordsAccessed=!1,i._list$_contents=t,i._separator=r,i._hasBrackets=n},SassBoolean:function(e){this.value=e},SassCalculation_calc(e){var t=A.SassCalculation__simplify(e);return t instanceof A.SassNumber||t instanceof A.SassCalculation?t:new A.SassCalculation("calc",A.List_List$unmodifiable([t],D.Object))},SassCalculation_min(e){var t,r,n,i=A.List_List$unmodifiable(new A.MappedListIterable(e,A.calculation_SassCalculation__simplify$closure(),A._arrayInstanceType(e)._eval$1("MappedListIterable<1,@>")),D.Object),o=i.length;if(0===o)throw A.wrapException(A.ArgumentError$("min() must have at least one argument.",null));for(t=null,r=0;r<o;++r){if(!((n=i[r])instanceof A.SassNumber)||null!=t&&!t.isComparableTo$1(n)){t=null;break}(null==t||t.greaterThan$1(n).value)&&(t=n)}return null!=t?t:(A.SassCalculation__verifyCompatibleNumbers(i),new A.SassCalculation("min",i))},SassCalculation_max(e){var t,r,n,i=A.List_List$unmodifiable(new A.MappedListIterable(e,A.calculation_SassCalculation__simplify$closure(),A._arrayInstanceType(e)._eval$1("MappedListIterable<1,@>")),D.Object),o=i.length;if(0===o)throw A.wrapException(A.ArgumentError$("max() must have at least one argument.",null));for(t=null,r=0;r<o;++r){if(!((n=i[r])instanceof A.SassNumber)||null!=t&&!t.isComparableTo$1(n)){t=null;break}(null==t||t.lessThan$1(n).value)&&(t=n)}return null!=t?t:(A.SassCalculation__verifyCompatibleNumbers(i),new A.SassCalculation("max",i))},SassCalculation_hypot(e){var t,r,n,i,o,s,a=A.List_List$unmodifiable(new A.MappedListIterable(e,A.calculation_SassCalculation__simplify$closure(),A._arrayInstanceType(e)._eval$1("MappedListIterable<1,@>")),D.Object),l=a.length;if(0===l)throw A.wrapException(A.ArgumentError$("hypot() must have at least one argument.",null));if(A.SassCalculation__verifyCompatibleNumbers(a),!((t=C.JSArray_methods.get$first(a))instanceof A.SassNumber)||t.hasUnit$1("%"))return new A.SassCalculation("hypot",a);for(r=0,n=0;n<l;){if(!((i=a[n])instanceof A.SassNumber&&i.hasCompatibleUnits$1(t)))return new A.SassCalculation("hypot",a);++n,r+=(o=i.convertValueToMatch$3(t,"numbers["+n+"]","numbers[1]"))*o}return l=Math.sqrt(r),s=t.get$numeratorUnits(t),A.SassNumber_SassNumber$withUnits(l,t.get$denominatorUnits(t),s)},SassCalculation_abs:e=>(e=A.SassCalculation__simplify(e))instanceof A.SassNumber?(e.hasUnit$1("%")&&A.warnForDeprecation(P.Passinp+e.toString$0(0)+")\nTo emit a CSS abs() now: abs(#{"+e.toString$0(0)+P.x7dx29_Mor,C.Deprecation_Usi),A.SassNumber_SassNumber(Math.abs(e._number$_value),null).coerceToMatch$1(e)):new A.SassCalculation("abs",A._setArrayType([e],D.JSArray_Object)),SassCalculation_exp:e=>(e=A.SassCalculation__simplify(e))instanceof A.SassNumber?(e.assertNoUnits$0(),A.pow0(A.SassNumber_SassNumber(2.718281828459045,null),e)):new A.SassCalculation("exp",A._setArrayType([e],D.JSArray_Object)),SassCalculation_sign(e){var t,r,n,i;return(t=(e=A.SassCalculation__simplify(e))instanceof A.SassNumber)?(r=e._number$_value,n=!!isNaN(r)||0===r):n=!1,n?t=e:(t?(t=!e.hasUnit$1("%"),i=e):(i=null,t=!1),t=t?A.SassNumber_SassNumber(w.get$sign$in(i._number$_value),null).coerceToMatch$1(e):new A.SassCalculation("sign",A._setArrayType([e],D.JSArray_Object))),t},SassCalculation_clamp(e,t,r){var n,i;if(null==t&&null!=r)throw A.wrapException(A.ArgumentError$("If value is null, max must also be null.",null));return e=A.SassCalculation__simplify(e),t=A.NullableExtension_andThen(t,A.calculation_SassCalculation__simplify$closure()),r=A.NullableExtension_andThen(r,A.calculation_SassCalculation__simplify$closure()),e instanceof A.SassNumber&&t instanceof A.SassNumber&&r instanceof A.SassNumber&&e.hasCompatibleUnits$1(t)&&e.hasCompatibleUnits$1(r)?t.lessThanOrEquals$1(e).value?e:t.greaterThanOrEquals$1(r).value?r:t:(n=[e],null!=t&&n.push(t),null!=r&&n.push(r),i=A.List_List$unmodifiable(n,D.Object),A.SassCalculation__verifyCompatibleNumbers(i),A.SassCalculation__verifyLength(i,3),new A.SassCalculation("clamp",i))},SassCalculation_pow(e,t){var r=A._setArrayType([e],D.JSArray_Object);return null!=t&&r.push(t),A.SassCalculation__verifyLength(r,2),e=A.SassCalculation__simplify(e),t=A.NullableExtension_andThen(t,A.calculation_SassCalculation__simplify$closure()),e instanceof A.SassNumber&&t instanceof A.SassNumber?(e.assertNoUnits$0(),t.assertNoUnits$0(),A.pow0(e,t)):new A.SassCalculation("pow",r)},SassCalculation_log(e,t){var r,n;return e=A.SassCalculation__simplify(e),t=A.NullableExtension_andThen(t,A.calculation_SassCalculation__simplify$closure()),r=A._setArrayType([e],D.JSArray_Object),(n=null!=t)&&r.push(t),(n=!(e instanceof A.SassNumber)||n&&!(t instanceof A.SassNumber))?new A.SassCalculation("log",r):(e.assertNoUnits$0(),t instanceof A.SassNumber?(t.assertNoUnits$0(),A.log(e,t)):A.log(e,null))},SassCalculation_atan2(e,t){var r;return e=A.SassCalculation__simplify(e),t=A.NullableExtension_andThen(t,A.calculation_SassCalculation__simplify$closure()),r=A._setArrayType([e],D.JSArray_Object),null!=t&&r.push(t),A.SassCalculation__verifyLength(r,2),A.SassCalculation__verifyCompatibleNumbers(r),e instanceof A.SassNumber&&t instanceof A.SassNumber&&!e.hasUnit$1("%")&&!t.hasUnit$1("%")&&e.hasCompatibleUnits$1(t)?A.SassNumber_SassNumber$withUnits(57.29577951308232*Math.atan2(e._number$_value,t.convertValueToMatch$3(e,"x","y")),null,A._setArrayType(["deg"],D.JSArray_String)):new A.SassCalculation("atan2",r)},SassCalculation_rem(e,t){var r,n;return e=A.SassCalculation__simplify(e),t=A.NullableExtension_andThen(t,A.calculation_SassCalculation__simplify$closure()),r=A._setArrayType([e],D.JSArray_Object),null!=t&&r.push(t),A.SassCalculation__verifyLength(r,2),A.SassCalculation__verifyCompatibleNumbers(r),e instanceof A.SassNumber&&t instanceof A.SassNumber&&e.hasCompatibleUnits$1(t)?(n=e.modulo$1(t),r=t._number$_value,A.DoubleWithSignedZero_get_signIncludingZero(r)!==A.DoubleWithSignedZero_get_signIncludingZero(e._number$_value)?r==1/0||r==-1/0?e:0===n._number$_value?n.unaryMinus$0():n.minus$1(t):n):new A.SassCalculation("rem",r)},SassCalculation_mod(e,t){var r;return e=A.SassCalculation__simplify(e),t=A.NullableExtension_andThen(t,A.calculation_SassCalculation__simplify$closure()),r=A._setArrayType([e],D.JSArray_Object),null!=t&&r.push(t),A.SassCalculation__verifyLength(r,2),A.SassCalculation__verifyCompatibleNumbers(r),e instanceof A.SassNumber&&t instanceof A.SassNumber&&e.hasCompatibleUnits$1(t)?e.modulo$1(t):new A.SassCalculation("mod",r)},SassCalculation_roundInternal(e,t,r,n,i,o){var s,a,l,c,u,d,h,p,m,_,g,f,v,b,y,$,x,S,w,E,I=null,M="round",k=A.SassCalculation__simplify(e),T=A.NullableExtension_andThen(t,A.calculation_SassCalculation__simplify$closure()),R=A.NullableExtension_andThen(r,A.calculation_SassCalculation__simplify$closure()),L=I,N=I,F=I,O=!1,B=I,U=!1,V=I,z=!1;if(k instanceof A.SassNumber?((s=!k.get$hasUnits())&&((a=L=null==T)&&(z=F=null==R,B=R,O=!0,U=!0),N=T,V=k),l=s):(s=!1,l=!1),z)return A.SassNumber_SassNumber(C.JSNumber_methods.round$0(V._number$_value),I);if(z=!1,k instanceof A.SassNumber?(s?a=L:(l?a=N:(N=a=T,l=!0),a=L=null==a,s=!0),a&&(O?z=F:(U?z=B:(B=z=R,U=!0),z=F=null==z,O=!0),z=z&&null!=n),V=k):V=I,z)return o.call$2(P.In_fut,C.Deprecation_WW3),z=C.JSNumber_methods.round$0(V._number$_value),a=V.get$numeratorUnits(V),A.SassNumber_SassNumber$withUnits(z,V.get$denominatorUnits(V),a);if(r=I,z=!1,k instanceof A.SassNumber?(c=!0,l?a=N:(l=c,N=a=T),a instanceof A.SassNumber&&(l?a=N:(l=c,N=a=T),D.SassNumber._as(a),O?z=F:(U?z=B:(B=z=R,U=!0),z=F=null==z,O=!0),z=z&&!k.hasCompatibleUnits$1(a),r=a),V=k):V=I,z)return z=D.JSArray_Object,A.SassCalculation__verifyCompatibleNumbers(A._setArrayType([V,r],z)),new A.SassCalculation(M,A._setArrayType([V,r],z));if(r=I,z=!1,k instanceof A.SassNumber?(c=!0,l?a=N:(l=c,N=a=T),a instanceof A.SassNumber&&(l?a=N:(l=c,N=a=T),D.SassNumber._as(a),O?z=F:(U?z=B:(B=z=R,U=!0),z=F=null==z,O=!0),r=a),V=k):V=I,z)return A.SassCalculation__verifyCompatibleNumbers(A._setArrayType([V,r],D.JSArray_Object)),A.SassCalculation__roundWithStep("nearest",V,r);if(d=I,h=I,p=I,m=I,_=!1,g=I,f=!1,v=I,V=I,r=I,z=!1,(u=k instanceof A.SassString)?(c=!0,b=!0,y=!(a=d="nearest"===(a=h=k._string$_text)),a=!0,y&&(_=!($=p="up"===h))&&(f=!($=m="down"===h))&&(a=g="to-zero"===h),a&&(l?a=N:(l=c,N=a=T),a instanceof A.SassNumber&&(l?a=N:(l=c,N=a=T),($=D.SassNumber)._as(a),U?x=B:(U=b,B=x=R),x instanceof A.SassNumber&&(U?z=B:(U=b,B=z=R),$._as(z),r=z,z=$=!a.hasCompatibleUnits$1(z)),V=a),v=k)):y=!1,z)return z=D.JSArray_Object,A.SassCalculation__verifyCompatibleNumbers(A._setArrayType([V,r],z)),new A.SassCalculation(M,A._setArrayType([v,V,r],z));if(v=I,V=I,r=I,z=!1,k instanceof A.SassString?(c=!0,b=!0,S=!0,u?(a=d,w=u):(a=d="nearest"===(a=h=k._string$_text),w=S,u=!0),$=!0,a?(a=$,S=w):(y?a=p:(w?a=h:(a=h=k._string$_text,w=S),a=p="up"===a,y=!0),a?(a=$,S=w):(_?a=m:(w?a=h:(a=h=k._string$_text,w=S),a=m="down"===a,_=!0),a?(a=$,S=w):f?(a=g,S=w):(w?(a=h,S=w):a=h=k._string$_text,a=g="to-zero"===a,f=!0))),a&&(l?a=N:(l=c,N=a=T),a instanceof A.SassNumber&&(l?a=N:(l=c,N=a=T),($=D.SassNumber)._as(a),U?z=B:(U=b,B=z=R),(z=z instanceof A.SassNumber)&&(U?x=B:(U=b,B=x=R),$._as(x),r=x),V=a),v=k)):S=u,z)return A.SassCalculation__verifyCompatibleNumbers(A._setArrayType([V,r],D.JSArray_Object)),A.SassCalculation__roundWithStep(v._string$_text,V,r);if(v=I,E=I,z=!1,k instanceof A.SassString&&(c=!0,w=!0,u?a=d:(S?a=h:(a=h=k._string$_text,S=w),a=d="nearest"===a,u=!0),$=!0,a?a=$:(y?a=p:(S?a=h:(a=h=k._string$_text,S=w),a=p="up"===a,y=!0),a?a=$:(_?a=m:(S?a=h:(a=h=k._string$_text,S=w),a=m="down"===a,_=!0),a?a=$:f?a=g:(S?a=h:(a=h=k._string$_text,S=w),a=g="to-zero"===a,f=!0))),a&&(l?a=N:(l=c,N=a=T),a instanceof A.SassString&&(l?a=N:(l=c,N=a=T),D.SassString._as(a),O?z=F:(U?z=B:(B=z=R,U=!0),z=F=null==z,O=!0),E=a),v=k)),z)return new A.SassCalculation(M,A._setArrayType([v,E],D.JSArray_Object));if(z=!1,k instanceof A.SassString&&(w=!0,u?a=d:(S?a=h:(a=h=k._string$_text,S=w),a=d="nearest"===a,u=!0),$=!0,a?a=$:(y?a=p:(S?a=h:(a=h=k._string$_text,S=w),a=p="up"===a,y=!0),a?a=$:(_?a=m:(S?a=h:(a=h=k._string$_text,S=w),a=m="down"===a,_=!0),a?a=$:f?a=g:(S?a=h:(a=h=k._string$_text,S=w),a=g="to-zero"===a,f=!0))),a&&(l?a=N:(N=a=T,l=!0),null!=a&&(O?z=F:(U?z=B:(B=z=R,U=!0),z=F=null==z,O=!0)))),z)throw A.wrapException(A.SassScriptException$(P.If_str,I));if(z=!1,k instanceof A.SassString&&(w=!0,u?a=d:(S?a=h:(a=h=k._string$_text,S=w),a=d="nearest"===a,u=!0),$=!0,a?a=$:(y?a=p:(S?a=h:(a=h=k._string$_text,S=w),a=p="up"===a,y=!0),a?a=$:(_?a=m:(S?a=h:(a=h=k._string$_text,S=w),a=m="down"===a,_=!0),a?a=$:f?a=g:(S?a=h:(a=h=k._string$_text,S=w),a=g="to-zero"===a,f=!0))),a&&(s?a=L:(l?a=N:(N=a=T,l=!0),a=L=null==a,s=!0),a&&(O?z=F:(U?z=B:(B=z=R,U=!0),z=F=null==z,O=!0)))),z)throw A.wrapException(A.SassScriptException$(P.Number,I));if(z=!1,s?a=L:(l?a=N:(N=a=T,l=!0),a=L=null==a),a&&(O?z=F:(U?z=B:(B=z=R,U=!0),z=F=null==z,O=!0)),z)return new A.SassCalculation(M,A._setArrayType([k],D.JSArray_Object));if(r=I,z=!1,c=!0,l?a=N:(l=c,N=a=T),null!=a&&(l?r=N:(l=c,N=r=T),null==r&&(r=A._asObject(r)),O?z=F:(U?z=B:(B=z=R,U=!0),z=F=null==z)),z)return new A.SassCalculation(M,A._setArrayType([k,r],D.JSArray_Object));if(k instanceof A.SassString?(z=!0,u?a=d:(S?a=h:(a=h=k._string$_text,S=!0),a=d="nearest"===a),a||(y?a=p:(S?a=h:(a=h=k._string$_text,S=!0),a=p="up"===a),a||(_?a=m:(S?a=h:(a=h=k._string$_text,S=!0),a=m="down"===a),a||(z=f?g:g="to-zero"===(z=S?h:h=k._string$_text))))):z=!1,V=I,r=I,a=!1,(z=!!z||k instanceof A.SassString&&k.get$isSpecialVariable())?(c=!0,b=!0,D.SassString._as(k),l?z=N:(l=c,N=z=T),null!=z?(l?V=N:(l=c,N=V=T),null==V&&(V=A._asObject(V)),U?z=B:(U=b,B=z=R),(z=null!=z)&&(U?r=B:(U=b,B=r=R),null==r&&(r=A._asObject(r)))):z=a,v=k):(z=a,v=I),z)return new A.SassCalculation(M,A._setArrayType([v,V,r],D.JSArray_Object));if(z=!1,null!=(l?N:T)&&(z=null!=(U?B:R)),z)throw A.wrapException(A.SassScriptException$(A.S(e)+P.x20must_b,I));throw z=A.SassScriptException$("Invalid parameters.",I),A.wrapException(z)},SassCalculation_calcSize(e,t){var r=D.JSArray_Object,n=A._setArrayType([e],r);return null!=t&&n.push(t),A.SassCalculation__verifyLength(n,2),e=A.SassCalculation__simplify(e),t=A.NullableExtension_andThen(t,A.calculation_SassCalculation__simplify$closure()),r=A._setArrayType([e],r),null!=t&&r.push(t),new A.SassCalculation("calc-size",r)},SassCalculation_operateInternal(e,t,r,n,i,o){var s,a;return i?(t=A.SassCalculation__simplify(t),r=A.SassCalculation__simplify(r),C.CalculationOperator_dpX===e||C.CalculationOperator_KrC===e?t instanceof A.SassNumber&&r instanceof A.SassNumber&&(!(s=t.hasCompatibleUnits$1(r))&&null!=n&&t.isComparableTo$1(r)&&(o.call$2("In future versions of Sass, "+n+"() will be interpreted as the CSS "+n+P.x28__cal+n+P.x28__ins,C.Deprecation_WW3),s=!0),s)?e===C.CalculationOperator_dpX?t.plus$1(r):t.minus$1(r):(A.SassCalculation__verifyCompatibleNumbers(A._setArrayType([t,r],D.JSArray_Object)),(a=r instanceof A.SassNumber&&((a=r._number$_value)<0&&!A.fuzzyEquals(a,0)))&&(r=r.times$1(A.SassNumber_SassNumber(-1,null)),e=e===C.CalculationOperator_dpX?C.CalculationOperator_KrC:C.CalculationOperator_dpX),new A.CalculationOperation(e,t,r)):t instanceof A.SassNumber&&r instanceof A.SassNumber?e===C.CalculationOperator_LPB?t.times$1(r):t.dividedBy$1(r):new A.CalculationOperation(e,t,r)):new A.CalculationOperation(e,t,r)},SassCalculation__roundWithStep(e,t,r){var n,i,o,s,a,l,c,u,d,h,p,m=null;if(!A.LinkedHashSet_LinkedHashSet$_literal(["nearest","up","down","to-zero"],D.String).contains$1(0,e))throw A.wrapException(A.ArgumentError$(e+P.x20must_b,m));return(i=!!(i=((n=t._number$_value)==1/0||n==-1/0)&&((i=r._number$_value)==1/0||i==-1/0))||(0===(i=r._number$_value)||isNaN(n)||isNaN(i)))?(i=t.get$numeratorUnits(t),A.SassNumber_SassNumber$withUnits(NaN,t.get$denominatorUnits(t),i)):n==1/0||n==-1/0?t:(i=r._number$_value)==1/0||i==-1/0?(0!==n?(a=m,l=m,(i=!(s=!(i=o="nearest"===e))||(a="to-zero"===e))?(i=l=n>0,c=!0):(c=!1,i=!1),i?(i=t.get$numeratorUnits(t),i=A.SassNumber_SassNumber$withUnits(0,t.get$denominatorUnits(t),i)):(i=!!o||(s?a:a="to-zero"===e))?(i=t.get$numeratorUnits(t),i=A.SassNumber_SassNumber$withUnits(-0,t.get$denominatorUnits(t),i)):(i=!!(i=u="up"===e)&&(c?l:l=n>0))?(i=t.get$numeratorUnits(t),i=A.SassNumber_SassNumber$withUnits(1/0,t.get$denominatorUnits(t),i)):u?(i=t.get$numeratorUnits(t),i=A.SassNumber_SassNumber$withUnits(-0,t.get$denominatorUnits(t),i)):(i=!!(i=d="down"===e)&&n<0)?(i=t.get$numeratorUnits(t),i=A.SassNumber_SassNumber$withUnits(-1/0,t.get$denominatorUnits(t),i)):d?(i=t.get$numeratorUnits(t),i=A.SassNumber_SassNumber$withUnits(0,t.get$denominatorUnits(t),i)):i=A.throwExpression(A.UnsupportedError$("Invalid argument: "+e+"."))):i=t,i):(h=r.convertValueToMatch$1(t),"nearest"!==e?"up"!==e?"down"!==e?"to-zero"!==e?(i=t.get$numeratorUnits(t),i=A.SassNumber_SassNumber$withUnits(NaN,t.get$denominatorUnits(t),i)):(i=n/h,n<0?(i=C.JSNumber_methods.ceil$0(i),p=t.get$numeratorUnits(t),i=p=A.SassNumber_SassNumber$withUnits(i*h,t.get$denominatorUnits(t),p)):(i=C.JSNumber_methods.floor$0(i),p=t.get$numeratorUnits(t),i=p=A.SassNumber_SassNumber$withUnits(i*h,t.get$denominatorUnits(t),p))):(p=n/h,i=i<0?C.JSNumber_methods.ceil$0(p):C.JSNumber_methods.floor$0(p),p=t.get$numeratorUnits(t),i=p=A.SassNumber_SassNumber$withUnits(i*h,t.get$denominatorUnits(t),p)):(p=n/h,i=i<0?C.JSNumber_methods.floor$0(p):C.JSNumber_methods.ceil$0(p),p=t.get$numeratorUnits(t),i=p=A.SassNumber_SassNumber$withUnits(i*h,t.get$denominatorUnits(t),p)):(i=C.JSNumber_methods.round$0(n/h),p=t.get$numeratorUnits(t),i=p=A.SassNumber_SassNumber$withUnits(i*h,t.get$denominatorUnits(t),p)),i)},SassCalculation__simplify(e){var t,r,n,i,o,s,a,l,c,u,d,h=null,p=" can't be used in a calculation.";return e instanceof A.SassNumber||e instanceof A.CalculationOperation?t=e:(r=h,!(t=e instanceof A.SassString)||e._hasQuotes?(t&&A.throwExpression(A.SassScriptException$("Quoted string "+e.toString$0(0)+p,h)),i=h,o=h,s=!1,a=h,t=!1,(n=e instanceof A.SassCalculation)?((l="calc"===e.name)&&(i=1===(o=e.$arguments).length)?((r=c=o[0])instanceof A.SassString&&(D.SassString._as(c),c._hasQuotes||(a=c._string$_text,t=A.SassCalculation__needsParentheses(a))),s=!0):c=r,d=u=l):(c=r,l=h,d=!1,u=!1),t?t=new A.SassString("("+A.S(a)+")",!1):(t=!1,n&&l&&(d?t=i:(u?t=o:(t=o=e.$arguments,u=!0),t=i=1===t.length)),t?t=s?c:c=(u?o:e.$arguments)[0]:n?t=e:(e instanceof A.Value&&A.throwExpression(A.SassScriptException$("Value "+e.toString$0(0)+p,h)),t=A.throwExpression(A.ArgumentError$("Unexpected calculation argument "+A.S(e)+".",h))))):t=e),t},SassCalculation__needsParentheses(e){var t,r,n,i,o,s,a,l=e.charCodeAt(0);if(32===l||9===l||10===l||13===l||12===l||47===l||42===l)return!0;if(r=(t=e.length)>=4&&A.characterEqualsIgnoreCase(l,118),t<2)return!1;if(32===(n=e.charCodeAt(1))||9===n||10===n||13===n||12===n||47===n||42===n)return!0;if(r=r&&A.characterEqualsIgnoreCase(n,97),t<3)return!1;if(32===(i=e.charCodeAt(2))||9===i||10===i||13===i||12===i||47===i||42===i)return!0;if(r=r&&A.characterEqualsIgnoreCase(i,114),t<4)return!1;if(o=e.charCodeAt(3),r&&40===o)return!0;if(32===o||9===o||10===o||13===o||12===o||47===o||42===o)return!0;for(s=4;s<t;++s)if(32===(a=e.charCodeAt(s))||9===a||10===a||13===a||12===a||47===a||42===a)return!0;return!1},SassCalculation__verifyCompatibleNumbers(e){var t,r,n,i,o,s,a,l;for(t=e.length,r=0;r<(n=e.length);e.length===t||(0,A.throwConcurrentModificationError)(e),++r)if((i=e[r])instanceof A.SassNumber&&i.get$hasComplexUnits())throw A.wrapException(A.SassScriptException$("Number "+i.toString$0(0)+" isn't compatible with CSS calculations.",null));for(t=n,o=0;o<t-1;++o)if((s=e[o])instanceof A.SassNumber)for(a=o+1;a<(t=e.length);++a)if((l=e[a])instanceof A.SassNumber&&!s.hasPossiblyCompatibleUnits$1(l))throw A.wrapException(A.SassScriptException$(s.toString$0(0)+" and "+l.toString$0(0)+" are incompatible.",null))},SassCalculation__verifyLength(e,t){var r;if(e.length!==t&&!C.JSArray_methods.any$1(e,new A.SassCalculation__verifyLength_closure))throw r=e.length,A.wrapException(A.SassScriptException$(t+" arguments required, but only "+r+" "+A.pluralize("was",r,"were")+" passed.",null))},SassCalculation__singleArgument:(e,t,r,n)=>(t=A.SassCalculation__simplify(t))instanceof A.SassNumber?(n&&t.assertNoUnits$0(),r.call$1(t)):new A.SassCalculation(e,A._setArrayType([t],D.JSArray_Object)),SassCalculation:function(e,t){this.name=e,this.$arguments=t},SassCalculation__verifyLength_closure:function(){},CalculationOperation:function(e,t,r){this._operator=e,this._left=t,this._right=r},CalculationOperator:function(e,t,r,n,i){var o=this;o.name=e,o.operator=t,o.precedence=r,o.index=n,o._name=i},SassColor_SassColor$rgb:(e,t,r,n)=>A.SassColor_SassColor$rgbInternal(e,t,r,n,null),SassColor_SassColor$rgbInternal(e,t,r,n,i){var o=null,s=null==e?o:e,a=null==t?o:t,l=null==r?o:r;return A.SassColor$_forSpace(C.RgbColorSpace_i0P,s,a,l,null==n?o:n,i)},SassColor_SassColor$hsl(e,t,r,n){var i=null,o=null==e?i:e,s=null==t?i:t,a=null==r?i:r;return A.SassColor_SassColor$forSpaceInternal(C.HslColorSpace_JQ2,o,s,a,null==n?i:n)},SassColor_SassColor$hwb(e,t,r,n){var i=null,o=null==e?i:e,s=null==t?i:t,a=null==r?i:r;return A.SassColor_SassColor$forSpaceInternal(C.HwbColorSpace_guQ,o,s,a,null==n?i:n)},SassColor_SassColor$forSpaceInternal(e,t,r,n,i){var o,s,a=null;return C.HslColorSpace_JQ2!==e?C.HwbColorSpace_guQ!==e?C.LchColorSpace_Bpv!==e&&C.OklchColorSpace_9Gj!==e?o=A.SassColor$_forSpace(e,t,r,n,i,a):(s=(o=null==r)?a:Math.abs(r),o=s=A.SassColor$_forSpace(e,t,s,A.SassColor__normalizeHue(n,!o&&r<0&&!A.fuzzyEquals(r,0)),i,a)):o=A.SassColor$_forSpace(e,A.SassColor__normalizeHue(t,!1),r,n,i,a):(o=null==r,s=A.SassColor__normalizeHue(t,!o&&r<0&&!A.fuzzyEquals(r,0)),o=s=A.SassColor$_forSpace(e,s,o?a:Math.abs(r),n,i,a)),o},SassColor$_forSpace:(e,t,r,n,i,o)=>new A.SassColor(e,t,r,n,o,A.NullableExtension_andThen(i,new A.SassColor$_forSpace_closure)),SassColor__normalizeHue(e,t){var r,n;return null==e?e:(r=C.JSNumber_methods.$mod(e,360),n=t?180:0,C.JSNumber_methods.$mod(r+360+n,360))},SassColor:function(e,t,r,n,i,o){var s=this;s._space=e,s.channel0OrNull=t,s.channel1OrNull=r,s.channel2OrNull=n,s.format=i,s.alphaOrNull=o},SassColor$_forSpace_closure:function(){},_ColorFormatEnum:function(){},SpanColorFormat:function(e){this._color$_span=e},ColorChannel:function(e,t,r){this.name=e,this.isPolarAngle=t,this.associatedUnit=r},LinearChannel:function(e,t,r,n,i,o,s,a){var l=this;l.min=e,l.max=t,l.requiresPercent=r,l.lowerClamped=n,l.upperClamped=i,l.name=o,l.isPolarAngle=s,l.associatedUnit=a},GamutMapMethod_GamutMapMethod$fromName:e=>"clip"!==e?"local-minde"!==e?A.throwExpression(A.SassScriptException$('Unknown gamut map method "'+e+'".',null)):C.LocalMindeGamutMap_A2x:C.ClipGamutMap_clip,GamutMapMethod:function(){},ClipGamutMap:function(e){this.name=e},LocalMindeGamutMap:function(e){this.name=e},InterpolationMethod$(e,t){var r;return r=e.get$isPolarInternal()?null==t?C.HueInterpolationMethod_0:t:null,e.get$isPolarInternal()||null==t||A.throwExpression(A.ArgumentError$(P.Hue_in+e.toString$0(0)+".",null)),new A.InterpolationMethod(e,r)},InterpolationMethod_InterpolationMethod$fromValue(e,t){var r,n,i,o=e.assertCommonListStyle$2$allowSlash(t,!1);if(0===o.length)throw A.wrapException(A.SassScriptException$(P.Expecta,t));if((r=C.JSArray_methods.get$first(o).assertString$1(t)).assertUnquoted$1(t),n=A.ColorSpace_fromName(r._string$_text,t),1===o.length)return A.InterpolationMethod$(n,null);if(i=A.HueInterpolationMethod_HueInterpolationMethod$_fromValue(o[1],t),2===o.length)throw A.wrapException(A.SassScriptException$('Expected unquoted string "hue" after '+e.toString$0(0)+".",t));if((r=o[2].assertString$1(t)).assertUnquoted$1(t),"hue"!==r._string$_text.toLowerCase())throw A.wrapException(A.SassScriptException$(P.Expectu+e.toString$0(0)+", was "+o[2].toString$0(0)+".",t));if(o.length>3)throw A.wrapException(A.SassScriptException$('Expected nothing after "hue" in '+e.toString$0(0)+".",t));if(!n.get$isPolarInternal())throw A.wrapException(A.SassScriptException$('Hue interpolation method "'+i.toString$0(0)+P.x20hue__+n.toString$0(0)+".",t));return A.InterpolationMethod$(n,i)},HueInterpolationMethod_HueInterpolationMethod$_fromValue(e,t){var r,n=e.assertString$1(t);return n.assertUnquoted$0(),r=n._string$_text.toLowerCase(),n="shorter"!==r?"longer"!==r?"increasing"!==r?"decreasing"!==r?A.throwExpression(A.SassScriptException$("Unknown hue interpolation method "+e.toString$0(0)+".",t)):C.HueInterpolationMethod_3:C.HueInterpolationMethod_2:C.HueInterpolationMethod_1:C.HueInterpolationMethod_0},InterpolationMethod:function(e,t){this.space=e,this.hue=t},HueInterpolationMethod:function(e,t){this.index=e,this._name=t},ColorSpace_fromName(e,t){var r=e.toLowerCase();return"rgb"!==r?"hwb"!==r?"hsl"!==r?"srgb"!==r?"srgb-linear"!==r?"display-p3"!==r?"display-p3-linear"!==r?"a98-rgb"!==r?"prophoto-rgb"!==r?"rec2020"!==r?"xyz"!==r&&"xyz-d65"!==r?"xyz-d50"!==r?"lab"!==r?"lch"!==r?"oklab"!==r?"oklch"!==r?A.throwExpression(A.SassScriptException$('Unknown color space "'+e+'".',t)):C.OklchColorSpace_9Gj:C.OklabColorSpace_540:C.LchColorSpace_Bpv:C.LabColorSpace_2nT:C.XyzD50ColorSpace_2OB:C.XyzD65ColorSpace_WiJ:C.Rec2020ColorSpace_6oo:C.ProphotoRgbColorSpace_BDz:C.A98RgbColorSpace_lf2:C.DisplayP3LinearColorSpace_PrP:C.DisplayP3ColorSpace_MmT:C.SrgbLinearColorSpace_kUj:C.SrgbColorSpace_thf:C.HslColorSpace_JQ2:C.HwbColorSpace_guQ:C.RgbColorSpace_i0P},ColorSpace:function(){},A98RgbColorSpace:function(e,t){this.name=e,this._channels=t},DisplayP3ColorSpace:function(e,t){this.name=e,this._channels=t},DisplayP3LinearColorSpace:function(e,t){this.name=e,this._channels=t},HslColorSpace:function(e,t){this.name=e,this._channels=t},HwbColorSpace:function(e,t){this.name=e,this._channels=t},HwbColorSpace_convert_toRgb:function(e,t){this._box_0=e,this.factor=t},LabColorSpace:function(e,t){this.name=e,this._channels=t},LchColorSpace:function(e,t){this.name=e,this._channels=t},LmsColorSpace:function(e,t){this.name=e,this._channels=t},OklabColorSpace:function(e,t){this.name=e,this._channels=t},OklchColorSpace:function(e,t){this.name=e,this._channels=t},ProphotoRgbColorSpace:function(e,t){this.name=e,this._channels=t},Rec2020ColorSpace:function(e,t){this.name=e,this._channels=t},RgbColorSpace:function(e,t){this.name=e,this._channels=t},SrgbColorSpace:function(e,t){this.name=e,this._channels=t},SrgbLinearColorSpace:function(e,t){this.name=e,this._channels=t},XyzD50ColorSpace:function(e,t){this.name=e,this._channels=t},XyzD65ColorSpace:function(e,t){this.name=e,this._channels=t},SassFunction:function(e,t){this.callable=e,this._function$_compileContext=t},SassList$(e,t,r){var n=new A.SassList(A.List_List$unmodifiable(e,D.Value),t,r);return n.SassList$3$brackets(e,t,r),n},SassList:function(e,t,r){this._list$_contents=e,this._separator=t,this._hasBrackets=r},SassList_isBlank_closure:function(){},ListSeparator:function(e,t,r,n){var i=this;i._list$_name=e,i.separator=t,i.index=r,i._name=n},SassMap:function(e){this._map$_contents=e},SassMixin:function(e,t){this.callable=e,this._mixin$_compileContext=t},_SassNull:function(){},conversionFactor(e,t){var r;return e===t?1:null!=(r=C.Map_NtHoP.$index(0,e))?r.$index(0,t):null},SassNumber_SassNumber:(e,t)=>null==t?new A.UnitlessSassNumber(e,null):new A.SingleUnitSassNumber(t,e,null),SassNumber_SassNumber$withUnits(e,t,r){var n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y,$,x,S,w,E,I=null;if(i=I,o=I,(n=w=(n=E=r.length)<=0)?(n=!(s=!(n=i=null==t))||(o=(null==t?D.List_String._as(t):t).length<=0),a=t,l=!0,c=!0):(a=I,l=!1,c=!1,s=!1,n=!1),n)return new A.UnitlessSassNumber(e,I);if(u=I,n=!1,d=!0,1===E&&(u=r[0],l?n=i:(c?n=a:(c=d,a=n=t),n=i=null==n,l=!0),n?n=!0:s?n=o:(c?n=a:(c=d,a=n=t),n=o=(null==n?D.List_String._as(n):n).length<=0,s=!0)),n)return new A.SingleUnitSassNumber(u,e,I);if(n=!1,d=!0,l?n=i:(c?n=a:(c=d,a=n=t),n=i=null==n),n?n=!0:s?n=o:(c?n=a:(c=d,a=n=t),n=o=(null==n?D.List_String._as(n):n).length<=0),h=r,n)return new A.ComplexSassNumber(A.List_List$unmodifiable(h,D.String),C.List_empty,e,I);if(p=I,(n=w)?(c?n=a:(a=n=t,c=!0),(n=null!=n)&&null==(p=c?a:t)&&(p=D.List_String._as(p))):n=!1,n)return new A.ComplexSassNumber(C.List_empty,A.List_List$unmodifiable(p,D.String),e,I);for(h=A._setArrayType(r.slice(0),A._arrayInstanceType(r)),m=A._setArrayType(t.slice(0),A.instanceType(t)),p=A._setArrayType([],D.JSArray_String),n=m.length,_=e,g=0;g<m.length;m.length===n||(0,A.throwConcurrentModificationError)(m),++g){for(f=m[g],b=0;;){if(!(b<h.length)){v=!1;break}if(null!=(y=A.conversionFactor(f,h[b]))){_*=y,C.JSArray_methods.removeAt$1(h,b),v=!0;break}++b}v||p.push(f)}return(x=(n=$=h.length)<=0)?n=S=p.length<=0:(S=I,n=!1),n?n=new A.UnitlessSassNumber(_,I):(n=!1,1===$?(u=h[0],n=x?S:p.length<=0):u=I,n?n=new A.SingleUnitSassNumber(u,_,I):(n=D.String,n=new A.ComplexSassNumber(A.List_List$unmodifiable(h,n),A.List_List$unmodifiable(p,n),_,I))),n},SassNumber:function(){},SassNumber__coerceOrConvertValue_compatibilityException:function(e,t,r,n,i,o,s){var a=this;a.$this=e,a.other=t,a.otherName=r,a.otherHasUnits=n,a.name=i,a.newNumerators=o,a.newDenominators=s},SassNumber__coerceOrConvertValue_closure:function(e,t){this._box_0=e,this.newNumerator=t},SassNumber__coerceOrConvertValue_closure0:function(e){this.compatibilityException=e},SassNumber__coerceOrConvertValue_closure1:function(e,t){this._box_0=e,this.newDenominator=t},SassNumber__coerceOrConvertValue_closure2:function(e){this.compatibilityException=e},SassNumber_plus_closure:function(){},SassNumber_minus_closure:function(){},SassNumber_multiplyUnits_closure:function(e,t){this._box_0=e,this.numerator=t},SassNumber_multiplyUnits_closure0:function(e,t){this.newNumerators=e,this.numerator=t},SassNumber_multiplyUnits_closure1:function(e,t){this._box_0=e,this.numerator=t},SassNumber_multiplyUnits_closure2:function(e,t){this.newNumerators=e,this.numerator=t},SassNumber__areAnyConvertible_closure:function(e){this.units2=e},SassNumber__canonicalizeUnitList_closure:function(){},SassNumber__canonicalMultiplier_closure:function(e){this.$this=e},SassNumber_unitSuggestion_closure:function(){},SassNumber_unitSuggestion_closure0:function(){},ComplexSassNumber:function(e,t,r,n){var i=this;i._numeratorUnits=e,i._denominatorUnits=t,i._number$_value=r,i.hashCache=null,i.asSlash=n},SingleUnitSassNumber:function(e,t,r){var n=this;n._unit=e,n._number$_value=t,n.hashCache=null,n.asSlash=r},SingleUnitSassNumber__coerceToUnit_closure:function(e,t){this.$this=e,this.unit=t},SingleUnitSassNumber__coerceValueToUnit_closure:function(e){this.$this=e},SingleUnitSassNumber_multiplyUnits_closure:function(e,t){this._box_0=e,this.$this=t},SingleUnitSassNumber_multiplyUnits_closure0:function(e,t){this._box_0=e,this.$this=t},UnitlessSassNumber:function(e,t){this._number$_value=e,this.hashCache=null,this.asSlash=t},SassString$:(e,t)=>new A.SassString(e,t),SassString:function(e,t){var r=this;r._string$_text=e,r._hasQuotes=t,r.__SassString__sassLength_FI=I,r._hashCache=null},AnySelectorVisitor:function(){},AnySelectorVisitor_visitComplexSelector_closure:function(e){this.$this=e},AnySelectorVisitor_visitCompoundSelector_closure:function(e){this.$this=e},_EvaluateVisitor$0(e,t,r,n,i,o){var s=D.Uri,a=D.Module_AsyncCallable,l=A._setArrayType([],D.JSArray_Record_2_String_and_AstNode);return(s=new A._EvaluateVisitor0(t,n,A.LinkedHashMap_LinkedHashMap$_empty(D.String,D.AsyncCallable),A.LinkedHashMap_LinkedHashMap$_empty(s,a),A.LinkedHashMap_LinkedHashMap$_empty(s,a),A.LinkedHashMap_LinkedHashMap$_empty(s,D.Configuration),A.LinkedHashMap_LinkedHashMap$_empty(s,D.AstNode),r,A.LinkedHashSet_LinkedHashSet$_empty(D.Record_2_String_and_SourceSpan),i,o,new A.Object,A.AsyncEnvironment$(),A.LinkedHashSet_LinkedHashSet$_empty(s),A.LinkedHashMap_LinkedHashMap$_empty(s,D.nullable_AstNode),l,C.Configuration_Map_empty_null))._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap0(e,t,r,n,i,o),s},_EvaluateVisitor0:function(e,t,r,n,i,o,s,a,l,c,u,d,h,p,m,_,g){var f=this;f._async_evaluate$_importCache=e,f._async_evaluate$_nodeImporter=t,f._async_evaluate$_builtInFunctions=r,f._async_evaluate$_builtInModules=n,f._async_evaluate$_modules=i,f._async_evaluate$_moduleConfigurations=o,f._async_evaluate$_moduleNodes=s,f._async_evaluate$_logger=a,f._async_evaluate$_warningsEmitted=l,f._async_evaluate$_quietDeps=c,f._async_evaluate$_sourceMap=u,f._async_evaluate$_compileContext=d,f._async_evaluate$_environment=h,f._async_evaluate$_declarationName=f._async_evaluate$__parent=f._async_evaluate$_mediaQuerySources=f._async_evaluate$_mediaQueries=f._async_evaluate$_styleRuleIgnoringAtRoot=null,f._async_evaluate$_member="root stylesheet",f._async_evaluate$_importSpan=f._async_evaluate$_callableNode=null,f._async_evaluate$_inSupportsDeclaration=f._async_evaluate$_inKeyframes=f._async_evaluate$_atRootExcludingStyleRule=f._async_evaluate$_inUnknownAtRule=f._async_evaluate$_inFunction=!1,f._async_evaluate$_loadedUrls=p,f._async_evaluate$_activeModules=m,f._async_evaluate$_stack=_,f._async_evaluate$_importer=null,f._async_evaluate$_inDependency=!1,f._async_evaluate$__extensionStore=f._async_evaluate$_preModuleComments=f._async_evaluate$_outOfOrderImports=f._async_evaluate$__endOfImports=f._async_evaluate$__root=f._async_evaluate$__stylesheet=null,f._async_evaluate$_configuration=g},_EvaluateVisitor_closure12:function(e){this.$this=e},_EvaluateVisitor_closure13:function(e){this.$this=e},_EvaluateVisitor_closure14:function(e){this.$this=e},_EvaluateVisitor_closure15:function(e){this.$this=e},_EvaluateVisitor_closure16:function(e){this.$this=e},_EvaluateVisitor_closure17:function(e){this.$this=e},_EvaluateVisitor_closure18:function(e){this.$this=e},_EvaluateVisitor_closure19:function(e){this.$this=e},_EvaluateVisitor_closure20:function(e){this.$this=e},_EvaluateVisitor__closure6:function(e,t,r){this.$this=e,this.name=t,this.module=r},_EvaluateVisitor_closure21:function(e){this.$this=e},_EvaluateVisitor__closure5:function(e,t,r){this.$this=e,this.name=t,this.module=r},_EvaluateVisitor_closure22:function(e){this.$this=e},_EvaluateVisitor_closure23:function(e){this.$this=e},_EvaluateVisitor__closure3:function(e,t,r,n){var i=this;i._box_0=e,i.values=t,i.span=r,i.callableNode=n},_EvaluateVisitor__closure4:function(e){this.$this=e},_EvaluateVisitor_closure24:function(e){this.$this=e},_EvaluateVisitor_run_closure0:function(e,t,r){this.$this=e,this.node=t,this.importer=r},_EvaluateVisitor_run__closure0:function(e,t,r){this.$this=e,this.importer=t,this.node=r},_EvaluateVisitor__loadModule_closure1:function(e,t){this._box_0=e,this.callback=t},_EvaluateVisitor__loadModule_closure2:function(e,t,r,n,i,o,s){var a=this;a.$this=e,a.url=t,a.nodeWithSpan=r,a.baseUrl=n,a.namesInErrors=i,a.configuration=o,a.callback=s},_EvaluateVisitor__loadModule__closure1:function(e,t){this.$this=e,this.message=t},_EvaluateVisitor__loadModule__closure2:function(e,t,r){this._box_1=e,this.callback=t,this.firstLoad=r},_EvaluateVisitor__execute_closure0:function(e,t,r,n,i,o,s){var a=this;a.$this=e,a.importer=t,a.stylesheet=r,a.extensionStore=n,a.configuration=i,a.css=o,a.preModuleComments=s},_EvaluateVisitor__combineCss_closure1:function(){},_EvaluateVisitor__combineCss_closure2:function(e){this.selectors=e},_EvaluateVisitor__combineCss_visitModule0:function(e,t,r,n,i,o){var s=this;s.$this=e,s.seen=t,s.clone=r,s.css=n,s.imports=i,s.sorted=o},_EvaluateVisitor__extendModules_closure1:function(e){this.originalSelectors=e},_EvaluateVisitor__extendModules_closure2:function(){},_EvaluateVisitor_visitAtRootRule_closure1:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitAtRootRule_closure2:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor__scopeForAtRoot_closure5:function(e,t,r){this.$this=e,this.newParent=t,this.node=r},_EvaluateVisitor__scopeForAtRoot_closure6:function(e,t){this.$this=e,this.innerScope=t},_EvaluateVisitor__scopeForAtRoot_closure7:function(e,t){this.$this=e,this.innerScope=t},_EvaluateVisitor__scopeForAtRoot__closure0:function(e,t){this.innerScope=e,this.callback=t},_EvaluateVisitor__scopeForAtRoot_closure8:function(e,t){this.$this=e,this.innerScope=t},_EvaluateVisitor__scopeForAtRoot_closure9:function(){},_EvaluateVisitor__scopeForAtRoot_closure10:function(e,t){this.$this=e,this.innerScope=t},_EvaluateVisitor_visitContentRule_closure0:function(e,t){this.$this=e,this.content=t},_EvaluateVisitor_visitDeclaration_closure0:function(e,t){this._box_0=e,this.$this=t},_EvaluateVisitor_visitEachRule_closure2:function(e,t,r){this._box_0=e,this.$this=t,this.nodeWithSpan=r},_EvaluateVisitor_visitEachRule_closure3:function(e,t,r){this._box_1=e,this.$this=t,this.nodeWithSpan=r},_EvaluateVisitor_visitEachRule_closure4:function(e,t,r,n){var i=this;i.$this=e,i.list=t,i.setVariables=r,i.node=n},_EvaluateVisitor_visitEachRule__closure0:function(e,t,r){this.$this=e,this.setVariables=t,this.node=r},_EvaluateVisitor_visitEachRule___closure0:function(e){this.$this=e},_EvaluateVisitor_visitAtRule_closure3:function(e){this.$this=e},_EvaluateVisitor_visitAtRule_closure4:function(e,t){this.$this=e,this.children=t},_EvaluateVisitor_visitAtRule_closure5:function(e,t,r){this.$this=e,this.name=t,this.children=r},_EvaluateVisitor_visitAtRule__closure0:function(e,t){this.$this=e,this.children=t},_EvaluateVisitor_visitAtRule_closure6:function(){},_EvaluateVisitor_visitForRule_closure4:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitForRule_closure5:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitForRule_closure6:function(e){this.fromNumber=e},_EvaluateVisitor_visitForRule_closure7:function(e,t){this.toNumber=e,this.fromNumber=t},_EvaluateVisitor_visitForRule_closure8:function(e,t,r,n,i,o){var s=this;s._box_0=e,s.$this=t,s.node=r,s.from=n,s.direction=i,s.fromNumber=o},_EvaluateVisitor_visitForRule__closure0:function(e){this.$this=e},_EvaluateVisitor_visitForwardRule_closure1:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitForwardRule_closure2:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor__registerCommentsForModule_closure0:function(){},_EvaluateVisitor_visitIfRule_closure0:function(e){this.$this=e},_EvaluateVisitor_visitIfRule__closure0:function(e,t){this.$this=e,this.clause=t},_EvaluateVisitor_visitIfRule___closure0:function(e){this.$this=e},_EvaluateVisitor__visitDynamicImport_closure0:function(e,t){this.$this=e,this.$import=t},_EvaluateVisitor__visitDynamicImport__closure3:function(e){this.$this=e},_EvaluateVisitor__visitDynamicImport__closure4:function(){},_EvaluateVisitor__visitDynamicImport__closure5:function(){},_EvaluateVisitor__visitDynamicImport__closure6:function(e,t,r,n,i){var o=this;o._box_0=e,o.$this=t,o.loadsUserDefinedModules=r,o.environment=n,o.children=i},_EvaluateVisitor__applyMixin_closure1:function(e,t,r,n){var i=this;i.$this=e,i.$arguments=t,i.mixin=r,i.nodeWithSpanWithoutContent=n},_EvaluateVisitor__applyMixin__closure2:function(e,t,r,n){var i=this;i.$this=e,i.$arguments=t,i.mixin=r,i.nodeWithSpanWithoutContent=n},_EvaluateVisitor__applyMixin_closure2:function(e,t,r,n){var i=this;i.$this=e,i.contentCallable=t,i.mixin=r,i.nodeWithSpanWithoutContent=n},_EvaluateVisitor__applyMixin__closure1:function(e,t,r){this.$this=e,this.mixin=t,this.nodeWithSpanWithoutContent=r},_EvaluateVisitor__applyMixin___closure0:function(e,t,r){this.$this=e,this.mixin=t,this.nodeWithSpanWithoutContent=r},_EvaluateVisitor__applyMixin____closure0:function(e,t){this.$this=e,this.statement=t},_EvaluateVisitor_visitIncludeRule_closure2:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitIncludeRule_closure3:function(e){this.$this=e},_EvaluateVisitor_visitIncludeRule_closure4:function(e){this.node=e},_EvaluateVisitor_visitMediaRule_closure3:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitMediaRule_closure4:function(e,t){this.$this=e,this.queries=t},_EvaluateVisitor_visitMediaRule_closure5:function(e,t,r,n,i){var o=this;o.$this=e,o.mergedQueries=t,o.queries=r,o.mergedSources=n,o.node=i},_EvaluateVisitor_visitMediaRule__closure0:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitMediaRule___closure0:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitMediaRule_closure6:function(e){this.mergedSources=e},_EvaluateVisitor_visitStyleRule_closure3:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitStyleRule_closure4:function(){},_EvaluateVisitor_visitStyleRule_closure6:function(e,t,r){this.$this=e,this.rule=t,this.node=r},_EvaluateVisitor_visitStyleRule__closure0:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitStyleRule_closure5:function(){},_EvaluateVisitor__warnForBogusCombinators_closure0:function(){},_EvaluateVisitor_visitSupportsRule_closure2:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitSupportsRule_closure3:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitSupportsRule__closure0:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitSupportsRule_closure4:function(){},_EvaluateVisitor__visitSupportsCondition_closure0:function(e,t){this._box_0=e,this.$this=t},_EvaluateVisitor_visitVariableDeclaration_closure2:function(e,t,r){this._box_0=e,this.$this=t,this.node=r},_EvaluateVisitor_visitVariableDeclaration_closure3:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitVariableDeclaration_closure4:function(e,t,r){this.$this=e,this.node=t,this.value=r},_EvaluateVisitor_visitUseRule_closure0:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitWarnRule_closure0:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitWhileRule_closure0:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitWhileRule__closure0:function(e){this.$this=e},_EvaluateVisitor_visitBinaryOperationExpression_closure0:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor__slash_recommendation0:function(){},_EvaluateVisitor_visitVariableExpression_closure0:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitUnaryOperationExpression_closure0:function(e,t){this.node=e,this.operand=t},_EvaluateVisitor_visitIfExpression_closure0:function(){},_EvaluateVisitor_visitIfConditionOperation_closure0:function(){},_EvaluateVisitor_visitListExpression_closure0:function(e){this.$this=e},_EvaluateVisitor_visitFunctionExpression_closure2:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitFunctionExpression_closure3:function(){},_EvaluateVisitor_visitFunctionExpression_closure4:function(e,t,r){this._box_0=e,this.$this=t,this.node=r},_EvaluateVisitor__visitCalculation_closure0:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor__checkCalculationArguments_check0:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor__visitCalculationExpression_closure0:function(e,t,r,n){var i=this;i._box_0=e,i.$this=t,i.node=r,i.inLegacySassFunction=n},_EvaluateVisitor__visitCalculationExpression__closure0:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitInterpolatedFunctionExpression_closure0:function(e,t,r){this.$this=e,this.node=t,this.$function=r},_EvaluateVisitor__runUserDefinedCallable_closure0:function(e,t,r,n,i,o){var s=this;s.$this=e,s.callable=t,s.evaluated=r,s.nodeWithSpan=n,s.run=i,s.V=o},_EvaluateVisitor__runUserDefinedCallable__closure0:function(e,t,r,n,i,o){var s=this;s.$this=e,s.evaluated=t,s.callable=r,s.nodeWithSpan=n,s.run=i,s.V=o},_EvaluateVisitor__runUserDefinedCallable___closure0:function(e,t,r,n,i,o){var s=this;s.$this=e,s.evaluated=t,s.callable=r,s.nodeWithSpan=n,s.run=i,s.V=o},_EvaluateVisitor__runUserDefinedCallable____closure0:function(){},_EvaluateVisitor__runFunctionCallable_closure0:function(e,t){this.$this=e,this.callable=t},_EvaluateVisitor__runBuiltInCallable_closure2:function(e,t,r){this._box_0=e,this.evaluated=t,this.namedSet=r},_EvaluateVisitor__runBuiltInCallable_closure3:function(e,t){this._box_0=e,this.evaluated=t},_EvaluateVisitor__runBuiltInCallable_closure4:function(){},_EvaluateVisitor__evaluateArguments_closure3:function(){},_EvaluateVisitor__evaluateArguments_closure4:function(e,t){this.$this=e,this.restNodeForSpan=t},_EvaluateVisitor__evaluateArguments_closure5:function(e,t,r,n){var i=this;i.$this=e,i.named=t,i.restNodeForSpan=r,i.namedNodes=n},_EvaluateVisitor__evaluateArguments_closure6:function(){},_EvaluateVisitor__evaluateMacroArguments_closure3:function(e){this.restArgs=e},_EvaluateVisitor__evaluateMacroArguments_closure4:function(e,t,r){this.$this=e,this.restNodeForSpan=t,this.restArgs=r},_EvaluateVisitor__evaluateMacroArguments_closure5:function(e,t,r,n){var i=this;i.$this=e,i.named=t,i.restNodeForSpan=r,i.restArgs=n},_EvaluateVisitor__evaluateMacroArguments_closure6:function(e,t,r){this.$this=e,this.keywordRestNodeForSpan=t,this.keywordRestArgs=r},_EvaluateVisitor__addRestMap_closure0:function(e,t,r,n,i,o){var s=this;s.$this=e,s.values=t,s.convert=r,s.expressionNode=n,s.map=i,s.nodeWithSpan=o},_EvaluateVisitor__verifyArguments_closure0:function(e,t,r){this.parameters=e,this.positional=t,this.named=r},_EvaluateVisitor_visitCssAtRule_closure2:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitCssAtRule_closure3:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitCssAtRule_closure4:function(){},_EvaluateVisitor_visitCssKeyframeBlock_closure1:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitCssKeyframeBlock_closure2:function(){},_EvaluateVisitor_visitCssMediaRule_closure3:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitCssMediaRule_closure4:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitCssMediaRule_closure5:function(e,t,r,n){var i=this;i.$this=e,i.mergedQueries=t,i.node=r,i.mergedSources=n},_EvaluateVisitor_visitCssMediaRule__closure0:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitCssMediaRule___closure0:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitCssMediaRule_closure6:function(e){this.mergedSources=e},_EvaluateVisitor_visitCssStyleRule_closure2:function(e,t,r){this.$this=e,this.rule=t,this.node=r},_EvaluateVisitor_visitCssStyleRule__closure0:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitCssStyleRule_closure1:function(){},_EvaluateVisitor_visitCssSupportsRule_closure2:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitCssSupportsRule_closure3:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitCssSupportsRule__closure0:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitCssSupportsRule_closure4:function(){},_EvaluateVisitor__performInterpolationHelper_closure0:function(e){this.interpolation=e},_EvaluateVisitor__serialize_closure0:function(e,t){this.value=e,this.quote=t},_EvaluateVisitor__expressionNode_closure0:function(e,t){this.$this=e,this.expression=t},_EvaluateVisitor__withoutSlash_recommendation0:function(){},_EvaluateVisitor__stackFrame_closure0:function(e){this.$this=e},_ImportedCssVisitor0:function(e){this._async_evaluate$_visitor=e},_ImportedCssVisitor_visitCssAtRule_closure0:function(){},_ImportedCssVisitor_visitCssMediaRule_closure0:function(e){this.hasBeenMerged=e},_ImportedCssVisitor_visitCssStyleRule_closure0:function(){},_ImportedCssVisitor_visitCssSupportsRule_closure0:function(){},_EvaluationContext0:function(e,t){this._async_evaluate$_visitor=e,this._async_evaluate$_defaultWarnNodeWithSpan=t},cloneCssStylesheet(e,t){var r=t.clone$0();return new A._Record_2(new A._CloneCssVisitor(r._1)._visitChildren$2(A.ModifiableCssStylesheet$(e.get$span(e)),e),r._0)},_CloneCssVisitor:function(e){this._oldToNewSelectors=e},_EvaluateVisitor$(e,t,r,n,i,o){var s=D.Uri,a=D.Module_Callable,l=A._setArrayType([],D.JSArray_Record_2_String_and_AstNode);return(s=new A._EvaluateVisitor(t,n,A.LinkedHashMap_LinkedHashMap$_empty(D.String,D.Callable),A.LinkedHashMap_LinkedHashMap$_empty(s,a),A.LinkedHashMap_LinkedHashMap$_empty(s,a),A.LinkedHashMap_LinkedHashMap$_empty(s,D.Configuration),A.LinkedHashMap_LinkedHashMap$_empty(s,D.AstNode),r,A.LinkedHashSet_LinkedHashSet$_empty(D.Record_2_String_and_SourceSpan),i,o,new A.Object,A.Environment$(),A.LinkedHashSet_LinkedHashSet$_empty(s),A.LinkedHashMap_LinkedHashMap$_empty(s,D.nullable_AstNode),l,C.Configuration_Map_empty_null))._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap(e,t,r,n,i,o),s},Evaluator:function(e,t){this._visitor=e,this._importer=t},_EvaluateVisitor:function(e,t,r,n,i,o,s,a,l,c,u,d,h,p,m,_,g){var f=this;f._evaluate$_importCache=e,f._evaluate$_nodeImporter=t,f._builtInFunctions=r,f._builtInModules=n,f._modules=i,f._moduleConfigurations=o,f._moduleNodes=s,f._logger=a,f._warningsEmitted=l,f._quietDeps=c,f._sourceMap=u,f._compileContext=d,f._environment=h,f._declarationName=f.__parent=f._mediaQuerySources=f._mediaQueries=f._styleRuleIgnoringAtRoot=null,f._member="root stylesheet",f._importSpan=f._callableNode=null,f._inSupportsDeclaration=f._inKeyframes=f._atRootExcludingStyleRule=f._inUnknownAtRule=f._inFunction=!1,f._loadedUrls=p,f._activeModules=m,f._stack=_,f._importer=null,f._inDependency=!1,f.__extensionStore=f._preModuleComments=f._outOfOrderImports=f.__endOfImports=f.__root=f.__stylesheet=null,f._configuration=g},_EvaluateVisitor_closure:function(e){this.$this=e},_EvaluateVisitor_closure0:function(e){this.$this=e},_EvaluateVisitor_closure1:function(e){this.$this=e},_EvaluateVisitor_closure2:function(e){this.$this=e},_EvaluateVisitor_closure3:function(e){this.$this=e},_EvaluateVisitor_closure4:function(e){this.$this=e},_EvaluateVisitor_closure5:function(e){this.$this=e},_EvaluateVisitor_closure6:function(e){this.$this=e},_EvaluateVisitor_closure7:function(e){this.$this=e},_EvaluateVisitor__closure2:function(e,t,r){this.$this=e,this.name=t,this.module=r},_EvaluateVisitor_closure8:function(e){this.$this=e},_EvaluateVisitor__closure1:function(e,t,r){this.$this=e,this.name=t,this.module=r},_EvaluateVisitor_closure9:function(e){this.$this=e},_EvaluateVisitor_closure10:function(e){this.$this=e},_EvaluateVisitor__closure:function(e,t,r,n){var i=this;i._box_0=e,i.values=t,i.span=r,i.callableNode=n},_EvaluateVisitor__closure0:function(e){this.$this=e},_EvaluateVisitor_closure11:function(e){this.$this=e},_EvaluateVisitor_run_closure:function(e,t,r){this.$this=e,this.node=t,this.importer=r},_EvaluateVisitor_run__closure:function(e,t,r){this.$this=e,this.importer=t,this.node=r},_EvaluateVisitor_runExpression_closure:function(e,t,r){this.$this=e,this.importer=t,this.expression=r},_EvaluateVisitor_runExpression__closure:function(e,t){this.$this=e,this.expression=t},_EvaluateVisitor_runExpression___closure:function(e,t){this.$this=e,this.expression=t},_EvaluateVisitor_runStatement_closure:function(e,t,r){this.$this=e,this.importer=t,this.statement=r},_EvaluateVisitor_runStatement__closure:function(e,t){this.$this=e,this.statement=t},_EvaluateVisitor_runStatement___closure:function(e,t){this.$this=e,this.statement=t},_EvaluateVisitor__loadModule_closure:function(e,t){this._box_0=e,this.callback=t},_EvaluateVisitor__loadModule_closure0:function(e,t,r,n,i,o,s){var a=this;a.$this=e,a.url=t,a.nodeWithSpan=r,a.baseUrl=n,a.namesInErrors=i,a.configuration=o,a.callback=s},_EvaluateVisitor__loadModule__closure:function(e,t){this.$this=e,this.message=t},_EvaluateVisitor__loadModule__closure0:function(e,t,r){this._box_1=e,this.callback=t,this.firstLoad=r},_EvaluateVisitor__execute_closure:function(e,t,r,n,i,o,s){var a=this;a.$this=e,a.importer=t,a.stylesheet=r,a.extensionStore=n,a.configuration=i,a.css=o,a.preModuleComments=s},_EvaluateVisitor__combineCss_closure:function(){},_EvaluateVisitor__combineCss_closure0:function(e){this.selectors=e},_EvaluateVisitor__combineCss_visitModule:function(e,t,r,n,i,o){var s=this;s.$this=e,s.seen=t,s.clone=r,s.css=n,s.imports=i,s.sorted=o},_EvaluateVisitor__extendModules_closure:function(e){this.originalSelectors=e},_EvaluateVisitor__extendModules_closure0:function(){},_EvaluateVisitor_visitAtRootRule_closure:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitAtRootRule_closure0:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor__scopeForAtRoot_closure:function(e,t,r){this.$this=e,this.newParent=t,this.node=r},_EvaluateVisitor__scopeForAtRoot_closure0:function(e,t){this.$this=e,this.innerScope=t},_EvaluateVisitor__scopeForAtRoot_closure1:function(e,t){this.$this=e,this.innerScope=t},_EvaluateVisitor__scopeForAtRoot__closure:function(e,t){this.innerScope=e,this.callback=t},_EvaluateVisitor__scopeForAtRoot_closure2:function(e,t){this.$this=e,this.innerScope=t},_EvaluateVisitor__scopeForAtRoot_closure3:function(){},_EvaluateVisitor__scopeForAtRoot_closure4:function(e,t){this.$this=e,this.innerScope=t},_EvaluateVisitor_visitContentRule_closure:function(e,t){this.$this=e,this.content=t},_EvaluateVisitor_visitDeclaration_closure:function(e,t){this._box_0=e,this.$this=t},_EvaluateVisitor_visitEachRule_closure:function(e,t,r){this._box_0=e,this.$this=t,this.nodeWithSpan=r},_EvaluateVisitor_visitEachRule_closure0:function(e,t,r){this._box_1=e,this.$this=t,this.nodeWithSpan=r},_EvaluateVisitor_visitEachRule_closure1:function(e,t,r,n){var i=this;i.$this=e,i.list=t,i.setVariables=r,i.node=n},_EvaluateVisitor_visitEachRule__closure:function(e,t,r){this.$this=e,this.setVariables=t,this.node=r},_EvaluateVisitor_visitEachRule___closure:function(e){this.$this=e},_EvaluateVisitor_visitAtRule_closure:function(e){this.$this=e},_EvaluateVisitor_visitAtRule_closure0:function(e,t){this.$this=e,this.children=t},_EvaluateVisitor_visitAtRule_closure1:function(e,t,r){this.$this=e,this.name=t,this.children=r},_EvaluateVisitor_visitAtRule__closure:function(e,t){this.$this=e,this.children=t},_EvaluateVisitor_visitAtRule_closure2:function(){},_EvaluateVisitor_visitForRule_closure:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitForRule_closure0:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitForRule_closure1:function(e){this.fromNumber=e},_EvaluateVisitor_visitForRule_closure2:function(e,t){this.toNumber=e,this.fromNumber=t},_EvaluateVisitor_visitForRule_closure3:function(e,t,r,n,i,o){var s=this;s._box_0=e,s.$this=t,s.node=r,s.from=n,s.direction=i,s.fromNumber=o},_EvaluateVisitor_visitForRule__closure:function(e){this.$this=e},_EvaluateVisitor_visitForwardRule_closure:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitForwardRule_closure0:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor__registerCommentsForModule_closure:function(){},_EvaluateVisitor_visitIfRule_closure:function(e){this.$this=e},_EvaluateVisitor_visitIfRule__closure:function(e,t){this.$this=e,this.clause=t},_EvaluateVisitor_visitIfRule___closure:function(e){this.$this=e},_EvaluateVisitor__visitDynamicImport_closure:function(e,t){this.$this=e,this.$import=t},_EvaluateVisitor__visitDynamicImport__closure:function(e){this.$this=e},_EvaluateVisitor__visitDynamicImport__closure0:function(){},_EvaluateVisitor__visitDynamicImport__closure1:function(){},_EvaluateVisitor__visitDynamicImport__closure2:function(e,t,r,n,i){var o=this;o._box_0=e,o.$this=t,o.loadsUserDefinedModules=r,o.environment=n,o.children=i},_EvaluateVisitor__applyMixin_closure:function(e,t,r,n){var i=this;i.$this=e,i.$arguments=t,i.mixin=r,i.nodeWithSpanWithoutContent=n},_EvaluateVisitor__applyMixin__closure0:function(e,t,r,n){var i=this;i.$this=e,i.$arguments=t,i.mixin=r,i.nodeWithSpanWithoutContent=n},_EvaluateVisitor__applyMixin_closure0:function(e,t,r,n){var i=this;i.$this=e,i.contentCallable=t,i.mixin=r,i.nodeWithSpanWithoutContent=n},_EvaluateVisitor__applyMixin__closure:function(e,t,r){this.$this=e,this.mixin=t,this.nodeWithSpanWithoutContent=r},_EvaluateVisitor__applyMixin___closure:function(e,t,r){this.$this=e,this.mixin=t,this.nodeWithSpanWithoutContent=r},_EvaluateVisitor__applyMixin____closure:function(e,t){this.$this=e,this.statement=t},_EvaluateVisitor_visitIncludeRule_closure:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitIncludeRule_closure0:function(e){this.$this=e},_EvaluateVisitor_visitIncludeRule_closure1:function(e){this.node=e},_EvaluateVisitor_visitMediaRule_closure:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitMediaRule_closure0:function(e,t){this.$this=e,this.queries=t},_EvaluateVisitor_visitMediaRule_closure1:function(e,t,r,n,i){var o=this;o.$this=e,o.mergedQueries=t,o.queries=r,o.mergedSources=n,o.node=i},_EvaluateVisitor_visitMediaRule__closure:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitMediaRule___closure:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitMediaRule_closure2:function(e){this.mergedSources=e},_EvaluateVisitor_visitStyleRule_closure:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitStyleRule_closure0:function(){},_EvaluateVisitor_visitStyleRule_closure2:function(e,t,r){this.$this=e,this.rule=t,this.node=r},_EvaluateVisitor_visitStyleRule__closure:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitStyleRule_closure1:function(){},_EvaluateVisitor__warnForBogusCombinators_closure:function(){},_EvaluateVisitor_visitSupportsRule_closure:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitSupportsRule_closure0:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitSupportsRule__closure:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitSupportsRule_closure1:function(){},_EvaluateVisitor__visitSupportsCondition_closure:function(e,t){this._box_0=e,this.$this=t},_EvaluateVisitor_visitVariableDeclaration_closure:function(e,t,r){this._box_0=e,this.$this=t,this.node=r},_EvaluateVisitor_visitVariableDeclaration_closure0:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitVariableDeclaration_closure1:function(e,t,r){this.$this=e,this.node=t,this.value=r},_EvaluateVisitor_visitUseRule_closure:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitWarnRule_closure:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitWhileRule_closure:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitWhileRule__closure:function(e){this.$this=e},_EvaluateVisitor_visitBinaryOperationExpression_closure:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor__slash_recommendation:function(){},_EvaluateVisitor_visitVariableExpression_closure:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitUnaryOperationExpression_closure:function(e,t){this.node=e,this.operand=t},_EvaluateVisitor_visitIfExpression_closure:function(){},_EvaluateVisitor_visitIfConditionOperation_closure:function(){},_EvaluateVisitor_visitListExpression_closure:function(e){this.$this=e},_EvaluateVisitor_visitFunctionExpression_closure:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitFunctionExpression_closure0:function(){},_EvaluateVisitor_visitFunctionExpression_closure1:function(e,t,r){this._box_0=e,this.$this=t,this.node=r},_EvaluateVisitor__visitCalculation_closure:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor__checkCalculationArguments_check:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor__visitCalculationExpression_closure:function(e,t,r,n){var i=this;i._box_0=e,i.$this=t,i.node=r,i.inLegacySassFunction=n},_EvaluateVisitor__visitCalculationExpression__closure:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitInterpolatedFunctionExpression_closure:function(e,t,r){this.$this=e,this.node=t,this.$function=r},_EvaluateVisitor__runUserDefinedCallable_closure:function(e,t,r,n,i,o){var s=this;s.$this=e,s.callable=t,s.evaluated=r,s.nodeWithSpan=n,s.run=i,s.V=o},_EvaluateVisitor__runUserDefinedCallable__closure:function(e,t,r,n,i,o){var s=this;s.$this=e,s.evaluated=t,s.callable=r,s.nodeWithSpan=n,s.run=i,s.V=o},_EvaluateVisitor__runUserDefinedCallable___closure:function(e,t,r,n,i,o){var s=this;s.$this=e,s.evaluated=t,s.callable=r,s.nodeWithSpan=n,s.run=i,s.V=o},_EvaluateVisitor__runUserDefinedCallable____closure:function(){},_EvaluateVisitor__runFunctionCallable_closure:function(e,t){this.$this=e,this.callable=t},_EvaluateVisitor__runBuiltInCallable_closure:function(e,t,r){this._box_0=e,this.evaluated=t,this.namedSet=r},_EvaluateVisitor__runBuiltInCallable_closure0:function(e,t){this._box_0=e,this.evaluated=t},_EvaluateVisitor__runBuiltInCallable_closure1:function(){},_EvaluateVisitor__evaluateArguments_closure:function(){},_EvaluateVisitor__evaluateArguments_closure0:function(e,t){this.$this=e,this.restNodeForSpan=t},_EvaluateVisitor__evaluateArguments_closure1:function(e,t,r,n){var i=this;i.$this=e,i.named=t,i.restNodeForSpan=r,i.namedNodes=n},_EvaluateVisitor__evaluateArguments_closure2:function(){},_EvaluateVisitor__evaluateMacroArguments_closure:function(e){this.restArgs=e},_EvaluateVisitor__evaluateMacroArguments_closure0:function(e,t,r){this.$this=e,this.restNodeForSpan=t,this.restArgs=r},_EvaluateVisitor__evaluateMacroArguments_closure1:function(e,t,r,n){var i=this;i.$this=e,i.named=t,i.restNodeForSpan=r,i.restArgs=n},_EvaluateVisitor__evaluateMacroArguments_closure2:function(e,t,r){this.$this=e,this.keywordRestNodeForSpan=t,this.keywordRestArgs=r},_EvaluateVisitor__addRestMap_closure:function(e,t,r,n,i,o){var s=this;s.$this=e,s.values=t,s.convert=r,s.expressionNode=n,s.map=i,s.nodeWithSpan=o},_EvaluateVisitor__verifyArguments_closure:function(e,t,r){this.parameters=e,this.positional=t,this.named=r},_EvaluateVisitor_visitCssAtRule_closure:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitCssAtRule_closure0:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitCssAtRule_closure1:function(){},_EvaluateVisitor_visitCssKeyframeBlock_closure:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitCssKeyframeBlock_closure0:function(){},_EvaluateVisitor_visitCssMediaRule_closure:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitCssMediaRule_closure0:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitCssMediaRule_closure1:function(e,t,r,n){var i=this;i.$this=e,i.mergedQueries=t,i.node=r,i.mergedSources=n},_EvaluateVisitor_visitCssMediaRule__closure:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitCssMediaRule___closure:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitCssMediaRule_closure2:function(e){this.mergedSources=e},_EvaluateVisitor_visitCssStyleRule_closure0:function(e,t,r){this.$this=e,this.rule=t,this.node=r},_EvaluateVisitor_visitCssStyleRule__closure:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitCssStyleRule_closure:function(){},_EvaluateVisitor_visitCssSupportsRule_closure:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitCssSupportsRule_closure0:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitCssSupportsRule__closure:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitCssSupportsRule_closure1:function(){},_EvaluateVisitor__performInterpolationHelper_closure:function(e){this.interpolation=e},_EvaluateVisitor__serialize_closure:function(e,t){this.value=e,this.quote=t},_EvaluateVisitor__expressionNode_closure:function(e,t){this.$this=e,this.expression=t},_EvaluateVisitor__withoutSlash_recommendation:function(){},_EvaluateVisitor__stackFrame_closure:function(e){this.$this=e},_ImportedCssVisitor:function(e){this._visitor=e},_ImportedCssVisitor_visitCssAtRule_closure:function(){},_ImportedCssVisitor_visitCssMediaRule_closure:function(e){this.hasBeenMerged=e},_ImportedCssVisitor_visitCssStyleRule_closure:function(){},_ImportedCssVisitor_visitCssSupportsRule_closure:function(){},_EvaluationContext:function(e,t){this._visitor=e,this._defaultWarnNodeWithSpan=t},EveryCssVisitor:function(){},EveryCssVisitor_visitCssAtRule_closure:function(e){this.$this=e},EveryCssVisitor_visitCssKeyframeBlock_closure:function(e){this.$this=e},EveryCssVisitor_visitCssMediaRule_closure:function(e){this.$this=e},EveryCssVisitor_visitCssStyleRule_closure:function(e){this.$this=e},EveryCssVisitor_visitCssStylesheet_closure:function(e){this.$this=e},EveryCssVisitor_visitCssSupportsRule_closure:function(e){this.$this=e},expressionToCalc(e){var t=A.ArgumentList$(A._setArrayType([C.C__MakeExpressionCalculationSafe.visitBinaryOperationExpression$1(0,e)],D.JSArray_Expression),C.Map_empty4,C.Map_empty5,e.get$span(0),null,null),r=e.get$span(0);return new A.FunctionExpression(null,A.stringReplaceAllUnchecked("calc","_","-"),"calc",t,r)},_MakeExpressionCalculationSafe:function(){},__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor:function(){},_FindDependenciesVisitor:function(e,t,r,n,i){var o=this;o._find_dependencies$_uses=e,o._find_dependencies$_forwards=t,o._metaLoadCss=r,o._imports=n,o._metaNamespaces=i},__FindDependenciesVisitor_Object_RecursiveStatementVisitor:function(){},IsCalculationSafeVisitor:function(){},IsCalculationSafeVisitor_visitListExpression_closure:function(e){this.$this=e},IsPlainCssVisitor:function(e){this._allowInterpolation=e},IsPlainCssVisitor_visitIfExpression_closure:function(e){this.$this=e},IsPlainCssVisitor_visitListExpression_closure:function(e){this.$this=e},IsPlainCssVisitor_visitIfConditionOperation_closure:function(e){this.$this=e},IsPlainCssVisitor__visitArgumentList_closure:function(e){this.$this=e},RecursiveStatementVisitor:function(){},ReplaceExpressionVisitor:function(){},ReplaceExpressionVisitor_visitListExpression_closure:function(e){this.$this=e},ReplaceExpressionVisitor_visitIfConditionOperation_closure:function(e){this.$this=e},ReplaceExpressionVisitor_visitArgumentList_closure:function(e){this.$this=e},ReplaceExpressionVisitor_visitInterpolation_closure:function(e){this.$this=e},SelectorSearchVisitor:function(){},SelectorSearchVisitor_visitComplexSelector_closure:function(e){this.$this=e},SelectorSearchVisitor_visitCompoundSelector_closure:function(e){this.$this=e},serialize(e,t,r,n,i,o,s,a,l){var c,u,d,h,p=A._SerializeVisitor$(2,n,i,o,!0,s,a,!0);return e.accept$1(p),u=(c=p._serialize$_buffer).toString$0(0),h=(d=!!t&&(d=new A.CodeUnits(u)).any$1(d,new A.serialize_closure))?a===C.OutputStyle_1?"\ufeff":'@charset "UTF-8";\n':"",c=s?c.buildSourceMap$1$prefix(h):null,new A._Record_2_sourceMap(h+u,c)},serializeValue(e,t,r){var n=null,i=A._SerializeVisitor$(n,t,n,n,r,!1,n,!0);return e.accept$1(i),i._serialize$_buffer.toString$0(0)},serializeSelector(e,t){var r=null,n=A._SerializeVisitor$(r,!0,r,r,!0,!1,r,!0);return e.accept$1(n),n._serialize$_buffer.toString$0(0)},_SerializeVisitor$(e,t,r,n,i,o,s,a){var l=o?new A.SourceMapBuffer(new A.StringBuffer(""),A._setArrayType([],D.JSArray_Entry)):new A.NoSourceMapBuffer(new A.StringBuffer("")),c=null==s?C.OutputStyle_0:s,u=null==e?2:e;return A.RangeError_checkValueInInterval(u,0,10,"indentWidth"),new A._SerializeVisitor(l,c,t,i,32,u,C.LineFeed_2_lf)},serialize_closure:function(){},_SerializeVisitor:function(e,t,r,n,i,o,s){var a=this;a._serialize$_buffer=e,a._indentation=0,a._style=t,a._inspect=r,a._quote=n,a._indentCharacter=i,a._indentWidth=o,a._serialize$_lineFeed=s},_SerializeVisitor_visitCssComment_closure:function(e,t){this.$this=e,this.node=t},_SerializeVisitor_visitCssAtRule_closure:function(e,t){this.$this=e,this.node=t},_SerializeVisitor_visitCssMediaRule_closure:function(e,t){this.$this=e,this.node=t},_SerializeVisitor_visitCssImport_closure:function(e,t){this.$this=e,this.node=t},_SerializeVisitor_visitCssImport__closure:function(e,t){this.$this=e,this.node=t},_SerializeVisitor_visitCssKeyframeBlock_closure:function(e,t){this.$this=e,this.node=t},_SerializeVisitor_visitCssStyleRule_closure:function(e,t){this.$this=e,this.node=t},_SerializeVisitor_visitCssSupportsRule_closure:function(e,t){this.$this=e,this.node=t},_SerializeVisitor_visitCssDeclaration_closure:function(e,t){this.$this=e,this.node=t},_SerializeVisitor_visitCssDeclaration_closure0:function(e,t){this.$this=e,this.node=t},_SerializeVisitor_visitList_closure:function(){},_SerializeVisitor_visitList_closure0:function(e,t){this.$this=e,this.value=t},_SerializeVisitor_visitList_closure1:function(e){this.$this=e},_SerializeVisitor_visitMap_closure:function(e){this.$this=e},_SerializeVisitor_visitSelectorList_closure:function(){},_SerializeVisitor__write_closure:function(e,t){this.$this=e,this.value=t},_SerializeVisitor__visitChildren_closure:function(e,t){this.$this=e,this.child=t},_SerializeVisitor__visitChildren_closure0:function(e,t){this.$this=e,this.child=t},OutputStyle:function(e,t){this.index=e,this._name=t},LineFeed:function(e,t){this.index=e,this._name=t},StatementSearchVisitor:function(){},StatementSearchVisitor_visitIfRule_closure:function(e){this.$this=e},StatementSearchVisitor_visitIfRule__closure0:function(e){this.$this=e},StatementSearchVisitor_visitIfRule_closure0:function(e){this.$this=e},StatementSearchVisitor_visitIfRule__closure:function(e){this.$this=e},StatementSearchVisitor_visitChildren_closure:function(e){this.$this=e},Entry:function(e,t,r){this.source=e,this.target=t,this.identifierName=r},SingleMapping_SingleMapping$fromEntries(e){var t,r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f=w.toList$0$ax(e);for(C.JSArray_methods.sort$0(f),t=A._setArrayType([],D.JSArray_TargetLineEntry),r=D.String,n=D.int,i=A.LinkedHashMap_LinkedHashMap$_empty(r,n),o=A.LinkedHashMap_LinkedHashMap$_empty(r,n),s=A.LinkedHashMap_LinkedHashMap$_empty(n,D.SourceFile),a=A._Cell$(),n=f.length,l=D.JSArray_TargetEntry,c=null,u=0;u<f.length;f.length===n||(0,A.throwConcurrentModificationError)(f),++u)d=f[u],(null==c||d.target.line>c)&&(c=d.target.line,h=A._setArrayType([],l),a.__late_helper$_value=h,t.push(new A.TargetLineEntry(c,h))),_=null==(m=(p=(h=d.source).file).url)?"":m.toString$0(0),g=i.putIfAbsent$2(_,new A.SingleMapping_SingleMapping$fromEntries_closure(i)),s.putIfAbsent$2(g,new A.SingleMapping_SingleMapping$fromEntries_closure0(d)),(_=a.__late_helper$_value)===a&&A.throwExpression(A.LateError$localNI("")),h=h.offset,w.add$1$ax(_,new A.TargetEntry(d.target.column,g,p.getLine$1(h),p.getColumn$1(h),null));return l=(n=i.$ti)._eval$1("LinkedHashMapValuesIterable<2>"),l=A.MappedIterable_MappedIterable(new A.LinkedHashMapValuesIterable(i,l),new A.SingleMapping_SingleMapping$fromEntries_closure1(s),l._eval$1("Iterable.E"),D.nullable_SourceFile),l=A.List_List$_of(l,A._instanceType(l)._eval$1("Iterable.E")),n=n._eval$1("LinkedHashMapKeysIterable<1>"),n=A.List_List$_of(new A.LinkedHashMapKeysIterable(i,n),n._eval$1("Iterable.E")),h=o.$ti._eval$1("LinkedHashMapKeysIterable<1>"),h=A.List_List$_of(new A.LinkedHashMapKeysIterable(o,h),h._eval$1("Iterable.E")),new A.SingleMapping(n,h,l,t,null,A.LinkedHashMap_LinkedHashMap$_empty(r,D.dynamic))},Mapping:function(){},SingleMapping:function(e,t,r,n,i,o){var s=this;s.urls=e,s.names=t,s.files=r,s.lines=n,s.targetUrl=i,s.sourceRoot=null,s.extensions=o},SingleMapping_SingleMapping$fromEntries_closure:function(e){this.urls=e},SingleMapping_SingleMapping$fromEntries_closure0:function(e){this.sourceEntry=e},SingleMapping_SingleMapping$fromEntries_closure1:function(e){this.files=e},SingleMapping_toJson_closure:function(){},SingleMapping_toJson_closure0:function(e){this.result=e},TargetLineEntry:function(e,t){this.line=e,this.entries=t},TargetEntry:function(e,t,r,n,i){var o=this;o.column=e,o.sourceUrlId=t,o.sourceLine=r,o.sourceColumn=n,o.sourceNameId=i},SourceFile$fromString(e,t){var r=new A.CodeUnits(e),n=A._setArrayType([0],D.JSArray_int),i="string"==typeof t?A.Uri_parse(t):D.nullable_Uri._as(t),o=r.get$length(0);return(n=new A.SourceFile(i,n,new Uint32Array(o))).SourceFile$_fromList$2$url(r,t),n},SourceFile$decoded(e,t){var r=A._setArrayType(e.slice(0),A._arrayInstanceType(e)),n=A._setArrayType([0],D.JSArray_int),i="string"==typeof t?A.Uri_parse(t):D.nullable_Uri._as(t),o=r.length;return(n=new A.SourceFile(i,n,new Uint32Array(o))).SourceFile$_fromList$2$url(r,t),n},FileLocation$_:(e,t)=>(t<0?A.throwExpression(A.RangeError$("Offset may not be negative, was "+t+".")):t>e._decodedChars.length&&A.throwExpression(A.RangeError$("Offset "+t+P.x20must_n+e.get$length(0)+".")),new A.FileLocation(e,t)),_FileSpan$:(e,t,r)=>(r<t?A.throwExpression(A.ArgumentError$("End "+r+" must come after start "+t+".",null)):r>e._decodedChars.length?A.throwExpression(A.RangeError$("End "+r+P.x20must_n+e.get$length(0)+".")):t<0&&A.throwExpression(A.RangeError$("Start may not be negative, was "+t+".")),new A._FileSpan(e,t,r)),FileSpanExtension_subspan(e,t,r){var n,i,o;return A.RangeError_checkValidRange(t,r,e.get$length(e)),(n=0===t&&(null==r||r===e.get$length(e)))?e:(i=e.get$start(e).offset,n=e.get$file(e),o=null==r?e.get$end(e).offset:i+r,n.span$2(0,i+t,o))},SourceFile:function(e,t,r){var n=this;n.url=e,n._lineStarts=t,n._decodedChars=r,n._cachedLine=null},FileLocation:function(e,t){this.file=e,this.offset=t},_FileSpan:function(e,t,r){this.file=e,this._file$_start=t,this._end=r},Highlighter$(e,t){var r=A.Highlighter__collateLines(A._setArrayType([A._Highlight$(e,null,!0)],D.JSArray__Highlight)),n=new A.Highlighter_closure(t).call$0(),i=C.JSInt_methods.toString$0(C.JSArray_methods.get$last(r).number+1),o=A.Highlighter__contiguous(r)?0:3,s=A._arrayInstanceType(r);return new A.Highlighter(r,n,null,1+Math.max(i.length,o),new A.MappedListIterable(r,new A.Highlighter$__closure,s._eval$1("MappedListIterable<1,int>")).reduce$1(0,C.CONSTANT),!A.isAllTheSame(new A.MappedListIterable(r,new A.Highlighter$__closure0,s._eval$1("MappedListIterable<1,Object?>"))),new A.StringBuffer(""))},Highlighter$multiple(e,t,r,n,i,o){var s,a,l,c,u,d=A._setArrayType([A._Highlight$(e,t,!0)],D.JSArray__Highlight);for(s=(s=r.get$entries(r)).get$iterator(s);s.moveNext$0();)a=s.get$current(s),d.push(A._Highlight$(a.key,a.value,!1));return d=A.Highlighter__collateLines(d),s=n?null==i?"":i:null,a=n?"":null,l=C.JSInt_methods.toString$0(C.JSArray_methods.get$last(d).number+1),c=A.Highlighter__contiguous(d)?0:3,u=A._arrayInstanceType(d),new A.Highlighter(d,s,a,1+Math.max(l.length,c),new A.MappedListIterable(d,new A.Highlighter$__closure,u._eval$1("MappedListIterable<1,int>")).reduce$1(0,C.CONSTANT),!A.isAllTheSame(new A.MappedListIterable(d,new A.Highlighter$__closure0,u._eval$1("MappedListIterable<1,Object?>"))),new A.StringBuffer(""))},Highlighter__contiguous(e){var t,r,n;for(t=0;t<e.length-1;)if(r=e[t],n=e[++t],r.number+1!==n.number&&w.$eq$(r.url,n.url))return!1;return!0},Highlighter__collateLines(e){var t,r,n=A.groupBy(e,new A.Highlighter__collateLines_closure,D._Highlight,D.Object);for(t=new A.LinkedHashMapValueIterator(n,n._modifications,n._first);t.moveNext$0();)w.sort$1$ax(t.__js_helper$_current,new A.Highlighter__collateLines_closure0);return r=(t=A._instanceType(n)._eval$1("LinkedHashMapEntriesIterable<1,2>"))._eval$1("ExpandIterable<Iterable.E,_Line>"),t=A.List_List$_of(new A.ExpandIterable(new A.LinkedHashMapEntriesIterable(n,t),new A.Highlighter__collateLines_closure1,r),r._eval$1("Iterable.E"))},_Highlight$(e,t,r){var n,i=new A._Highlight_closure(e).call$0();return n=null==t?null:A.stringReplaceAllUnchecked(t,"\r\n","\n"),new A._Highlight(i,r,n)},_Highlight__normalizeNewlines(e){var t,r,n,i,o,s,a=e.get$text();if(!C.JSString_methods.contains$1(a,"\r\n"))return e;for(t=e.get$end(e).get$offset(),r=a.length-1,n=0;n<r;++n)13===a.charCodeAt(n)&&10===a.charCodeAt(n+1)&&--t;return r=e.get$start(e),i=e.get$sourceUrl(e),o=e.get$end(e).get$line(),i=A.SourceLocation$(t,e.get$end(e).get$column(),o,i),o=A.stringReplaceAllUnchecked(a,"\r\n","\n"),s=e.get$context(e),A.SourceSpanWithContext$(r,i,o,A.stringReplaceAllUnchecked(s,"\r\n","\n"))},_Highlight__normalizeTrailingNewline(e){var t,r,n,i,o,s,a;return C.JSString_methods.endsWith$1(e.get$context(e),"\n")?C.JSString_methods.endsWith$1(e.get$text(),"\n\n")?e:(t=C.JSString_methods.substring$2(e.get$context(e),0,e.get$context(e).length-1),r=e.get$text(),n=e.get$start(e),i=e.get$end(e),C.JSString_methods.endsWith$1(e.get$text(),"\n")?((o=A.findLineStart(e.get$context(e),e.get$text(),e.get$start(e).get$column())).toString,o=o+e.get$start(e).get$column()+e.get$length(e)===e.get$context(e).length):o=!1,o&&(0===(r=C.JSString_methods.substring$2(e.get$text(),0,e.get$text().length-1)).length?i=n:(o=e.get$end(e).get$offset(),s=e.get$sourceUrl(e),a=e.get$end(e).get$line(),i=A.SourceLocation$(o-1,A._Highlight__lastLineLength(t),a-1,s),n=e.get$start(e).get$offset()===e.get$end(e).get$offset()?i:e.get$start(e))),A.SourceSpanWithContext$(n,i,r,t)):e},_Highlight__normalizeEndOfLine(e){var t,r,n,i,o;return 0!==e.get$end(e).get$column()||e.get$end(e).get$line()===e.get$start(e).get$line()?e:(t=C.JSString_methods.substring$2(e.get$text(),0,e.get$text().length-1),r=e.get$start(e),n=e.get$end(e).get$offset(),i=e.get$sourceUrl(e),o=e.get$end(e).get$line(),i=A.SourceLocation$(n-1,t.length-C.JSString_methods.lastIndexOf$1(t,"\n")-1,o-1,i),A.SourceSpanWithContext$(r,i,t,C.JSString_methods.endsWith$1(e.get$context(e),"\n")?C.JSString_methods.substring$2(e.get$context(e),0,e.get$context(e).length-1):e.get$context(e)))},_Highlight__lastLineLength(e){var t=e.length;return 0===t?0:10===e.charCodeAt(t-1)?1===t?0:t-C.JSString_methods.lastIndexOf$2(e,"\n",t-2)-1:t-C.JSString_methods.lastIndexOf$1(e,"\n")-1},Highlighter:function(e,t,r,n,i,o,s){var a=this;a._lines=e,a._primaryColor=t,a._secondaryColor=r,a._paddingBeforeSidebar=n,a._maxMultilineSpans=i,a._multipleFiles=o,a._highlighter$_buffer=s},Highlighter_closure:function(e){this.color=e},Highlighter$__closure:function(){},Highlighter$___closure:function(){},Highlighter$__closure0:function(){},Highlighter__collateLines_closure:function(){},Highlighter__collateLines_closure0:function(){},Highlighter__collateLines_closure1:function(){},Highlighter__collateLines__closure:function(e){this.line=e},Highlighter_highlight_closure:function(){},Highlighter__writeFileStart_closure:function(e){this.$this=e},Highlighter__writeMultilineHighlights_closure:function(e,t,r){this.$this=e,this.startLine=t,this.line=r},Highlighter__writeMultilineHighlights_closure0:function(e,t){this.$this=e,this.highlight=t},Highlighter__writeMultilineHighlights_closure1:function(e){this.$this=e},Highlighter__writeMultilineHighlights_closure2:function(e,t,r,n,i,o,s){var a=this;a._box_0=e,a.$this=t,a.current=r,a.startLine=n,a.line=i,a.highlight=o,a.endLine=s},Highlighter__writeMultilineHighlights__closure:function(e,t){this._box_0=e,this.$this=t},Highlighter__writeMultilineHighlights__closure0:function(e,t){this.$this=e,this.vertical=t},Highlighter__writeHighlightedText_closure:function(e,t,r,n){var i=this;i.$this=e,i.text=t,i.startColumn=r,i.endColumn=n},Highlighter__writeIndicator_closure:function(e,t,r){this.$this=e,this.line=t,this.highlight=r},Highlighter__writeIndicator_closure0:function(e,t,r){this.$this=e,this.line=t,this.highlight=r},Highlighter__writeIndicator_closure1:function(e,t,r,n){var i=this;i.$this=e,i.coversWholeLine=t,i.line=r,i.highlight=n},Highlighter__writeLabel_closure:function(e,t){this.$this=e,this.lines=t},Highlighter__writeLabel_closure0:function(e,t){this.$this=e,this.text=t},Highlighter__writeSidebar_closure:function(e,t,r){this._box_0=e,this.$this=t,this.end=r},_Highlight:function(e,t,r){this.span=e,this.isPrimary=t,this.label=r},_Highlight_closure:function(e){this.span=e},_Line:function(e,t,r,n){var i=this;i.text=e,i.number=t,i.url=r,i.highlights=n},SourceLocation$:(e,t,r,n)=>(e<0?A.throwExpression(A.RangeError$("Offset may not be negative, was "+e+".")):r<0?A.throwExpression(A.RangeError$("Line may not be negative, was "+r+".")):t<0&&A.throwExpression(A.RangeError$("Column may not be negative, was "+t+".")),new A.SourceLocation(n,e,r,t)),SourceLocation:function(e,t,r,n){var i=this;i.sourceUrl=e,i.offset=t,i.line=r,i.column=n},SourceLocationMixin:function(){},SourceSpanExtension_messageMultiple(e,t,r,n,i,o,s){var a,l,c=e.get$start(e);return a="line "+((c=c.file.getLine$1(c.offset))+1)+", column "+((a=e.get$start(e)).file.getColumn$1(a.offset)+1),null!=e.get$sourceUrl(e)?(c=e.get$sourceUrl(e),l=I.$get$context(),c.toString,c=a+" of "+l.prettyUri$1(c)):c=a,(c=c+": "+t+"\n"+A.Highlighter$multiple(e,r,n,i,o,s).highlight$0()).charCodeAt(0),c},SourceSpanBase:function(){},MultiSourceSpanFormatException$:(e,t,r,n,i)=>new A.MultiSourceSpanFormatException(i,r,A.ConstantMap_ConstantMap$from(n,D.SourceSpan,D.String),e,t),SourceSpanException:function(){},SourceSpanFormatException:function(e,t,r){this.source=e,this._span_exception$_message=t,this._span=r},MultiSourceSpanException:function(){},MultiSourceSpanFormatException:function(e,t,r,n,i){var o=this;o.source=e,o.primaryLabel=t,o.secondarySpans=r,o._span_exception$_message=n,o._span=i},SourceSpanMixin:function(){},SourceSpanWithContext$(e,t,r,n){var i=new A.SourceSpanWithContext(n,e,t,r);return i.SourceSpanBase$3(e,t,r),C.JSString_methods.contains$1(n,r)||A.throwExpression(A.ArgumentError$('The context line "'+n+'" must contain "'+r+'".',null)),null==A.findLineStart(n,r,e.get$column())&&A.throwExpression(A.ArgumentError$('The span text "'+r+'" must start at column '+(e.get$column()+1)+' in a line within "'+n+'".',null)),i},SourceSpanWithContext:function(e,t,r,n){var i=this;i._context=e,i.start=t,i.end=r,i.text=n},Chain_Chain$parse(e){var t,r,n=P.x3d_____;return 0===e.length?new A.Chain(A.List_List$unmodifiable(A._setArrayType([],D.JSArray_Trace),D.Trace)):(t=I.$get$vmChainGap(),C.JSString_methods.contains$1(e,t)?(t=C.JSString_methods.split$1(e,t),r=A._arrayInstanceType(t),new A.Chain(A.List_List$unmodifiable(new A.MappedIterable(new A.WhereIterable(t,new A.Chain_Chain$parse_closure,r._eval$1("WhereIterable<1>")),A.trace_Trace___parseVM_tearOff$closure(),r._eval$1("MappedIterable<1,Trace>")),D.Trace))):C.JSString_methods.contains$1(e,n)?new A.Chain(A.List_List$unmodifiable(new A.MappedListIterable(A._setArrayType(e.split(n),D.JSArray_String),A.trace_Trace___parseFriendly_tearOff$closure(),D.MappedListIterable_String_Trace),D.Trace)):new A.Chain(A.List_List$unmodifiable(A._setArrayType([A.Trace_Trace$parse(e)],D.JSArray_Trace),D.Trace)))},Chain:function(e){this.traces=e},Chain_Chain$parse_closure:function(){},Chain_toTrace_closure:function(){},Chain_toString_closure0:function(){},Chain_toString__closure0:function(){},Chain_toString_closure:function(e){this.longest=e},Chain_toString__closure:function(e){this.longest=e},Frame___parseVM_tearOff:e=>A.Frame_Frame$parseVM(e),Frame_Frame$parseVM:e=>A.Frame__catchFormatException(e,new A.Frame_Frame$parseVM_closure(e)),Frame___parseV8_tearOff:e=>A.Frame_Frame$parseV8(e),Frame_Frame$parseV8:e=>A.Frame__catchFormatException(e,new A.Frame_Frame$parseV8_closure(e)),Frame_Frame$_parseFirefoxEval:e=>A.Frame__catchFormatException(e,new A.Frame_Frame$_parseFirefoxEval_closure(e)),Frame___parseFirefox_tearOff:e=>A.Frame_Frame$parseFirefox(e),Frame_Frame$parseFirefox:e=>A.Frame__catchFormatException(e,new A.Frame_Frame$parseFirefox_closure(e)),Frame___parseFriendly_tearOff:e=>A.Frame_Frame$parseFriendly(e),Frame_Frame$parseFriendly:e=>A.Frame__catchFormatException(e,new A.Frame_Frame$parseFriendly_closure(e)),Frame__uriOrPathToUri:e=>C.JSString_methods.contains$1(e,I.$get$Frame__uriRegExp())?A.Uri_parse(e):C.JSString_methods.contains$1(e,I.$get$Frame__windowsRegExp())?A._Uri__Uri$file(e,!0):C.JSString_methods.startsWith$1(e,"/")?A._Uri__Uri$file(e,!1):C.JSString_methods.contains$1(e,"\\")?I.$get$windows().toUri$1(e):A.Uri_parse(e),Frame__catchFormatException(e,t){try{return t.call$0()}catch(t){if(D.FormatException._is(A.unwrapException(t)))return new A.UnparsedFrame(A._Uri__Uri(null,"unparsed",null,null),e);throw t}},Frame:function(e,t,r,n){var i=this;i.uri=e,i.line=t,i.column=r,i.member=n},Frame_Frame$parseVM_closure:function(e){this.frame=e},Frame_Frame$parseV8_closure:function(e){this.frame=e},Frame_Frame$parseV8_closure_parseJsLocation:function(e){this.frame=e},Frame_Frame$_parseFirefoxEval_closure:function(e){this.frame=e},Frame_Frame$parseFirefox_closure:function(e){this.frame=e},Frame_Frame$parseFriendly_closure:function(e){this.frame=e},LazyTrace:function(e){this._thunk=e,this.__LazyTrace__trace_FI=I},LazyTrace_terse_closure:function(e){this.$this=e},Trace_Trace$from:e=>D.Trace._is(e)?e:e instanceof A.Chain?e.toTrace$0():new A.LazyTrace(new A.Trace_Trace$from_closure(e)),Trace_Trace$parse(e){var t,r;try{return r=0===e.length?A.Trace$(A._setArrayType([],D.JSArray_Frame),null):C.JSString_methods.contains$1(e,I.$get$_v8Trace())?A.Trace$parseV8(e):C.JSString_methods.contains$1(e,"\tat ")?A.Trace$parseJSCore(e):C.JSString_methods.contains$1(e,I.$get$_firefoxSafariTrace())||C.JSString_methods.contains$1(e,I.$get$_firefoxEvalTrace())?A.Trace$parseFirefox(e):C.JSString_methods.contains$1(e,P.x3d_____)?A.Chain_Chain$parse(e).toTrace$0():C.JSString_methods.contains$1(e,I.$get$_friendlyTrace())?A.Trace$parseFriendly(e):A.Trace$parseVM(e)}catch(n){throw r=A.unwrapException(n),D.FormatException._is(r)?(t=r,A.wrapException(A.FormatException$(w.get$message$x(t)+"\nStack trace:\n"+e,null,null))):n}},Trace___parseVM_tearOff:e=>A.Trace$parseVM(e),Trace$parseVM(e){var t=A.List_List$unmodifiable(A.Trace__parseVM(e),D.Frame);return new A.Trace(t,new A._StringStackTrace(e))},Trace__parseVM(e){var t,r=C.JSString_methods.trim$0(e),n=I.$get$vmChainGap(),i=D.WhereIterable_String,o=new A.WhereIterable(A._setArrayType(A.stringReplaceAllUnchecked(r,n,"").split("\n"),D.JSArray_String),new A.Trace__parseVM_closure,i);return o.get$iterator(0).moveNext$0()?(r=A.TakeIterable_TakeIterable(o,o.get$length(0)-1,i._eval$1("Iterable.E")),r=A.MappedIterable_MappedIterable(r,A.frame_Frame___parseVM_tearOff$closure(),A._instanceType(r)._eval$1("Iterable.E"),D.Frame),t=A.List_List$_of(r,A._instanceType(r)._eval$1("Iterable.E")),C.JSString_methods.endsWith$1(o.get$last(0),".da")||t.push(A.Frame_Frame$parseVM(o.get$last(0))),t):A._setArrayType([],D.JSArray_Frame)},Trace$parseV8(e){var t=A.SubListIterable$(A._setArrayType(e.split("\n"),D.JSArray_String),1,null,D.String).super$Iterable$skipWhile(0,new A.Trace$parseV8_closure),r=D.Frame;return r=A.List_List$unmodifiable(A.MappedIterable_MappedIterable(t,A.frame_Frame___parseV8_tearOff$closure(),t.$ti._eval$1("Iterable.E"),r),r),new A.Trace(r,new A._StringStackTrace(e))},Trace$parseJSCore(e){var t=A.List_List$unmodifiable(new A.MappedIterable(new A.WhereIterable(A._setArrayType(e.split("\n"),D.JSArray_String),new A.Trace$parseJSCore_closure,D.WhereIterable_String),A.frame_Frame___parseV8_tearOff$closure(),D.MappedIterable_String_Frame),D.Frame);return new A.Trace(t,new A._StringStackTrace(e))},Trace$parseFirefox(e){var t=A.List_List$unmodifiable(new A.MappedIterable(new A.WhereIterable(A._setArrayType(C.JSString_methods.trim$0(e).split("\n"),D.JSArray_String),new A.Trace$parseFirefox_closure,D.WhereIterable_String),A.frame_Frame___parseFirefox_tearOff$closure(),D.MappedIterable_String_Frame),D.Frame);return new A.Trace(t,new A._StringStackTrace(e))},Trace___parseFriendly_tearOff:e=>A.Trace$parseFriendly(e),Trace$parseFriendly(e){var t=0===e.length?A._setArrayType([],D.JSArray_Frame):new A.MappedIterable(new A.WhereIterable(A._setArrayType(C.JSString_methods.trim$0(e).split("\n"),D.JSArray_String),new A.Trace$parseFriendly_closure,D.WhereIterable_String),A.frame_Frame___parseFriendly_tearOff$closure(),D.MappedIterable_String_Frame);return t=A.List_List$unmodifiable(t,D.Frame),new A.Trace(t,new A._StringStackTrace(e))},Trace$(e,t){var r=A.List_List$unmodifiable(e,D.Frame);return new A.Trace(r,new A._StringStackTrace(null==t?"":t))},Trace:function(e,t){this.frames=e,this.original=t},Trace_Trace$from_closure:function(e){this.trace=e},Trace__parseVM_closure:function(){},Trace$parseV8_closure:function(){},Trace$parseJSCore_closure:function(){},Trace$parseFirefox_closure:function(){},Trace$parseFriendly_closure:function(){},Trace_terse_closure:function(){},Trace_foldFrames_closure:function(e){this.oldPredicate=e},Trace_foldFrames_closure0:function(e){this._box_0=e},Trace_toString_closure0:function(){},Trace_toString_closure:function(e){this.longest=e},UnparsedFrame:function(e,t){this.uri=e,this.member=t},TransformByHandlers_transformByHandlers(e,t,r,n,i){var o=null,s={},a=A.StreamController_StreamController(o,o,o,o,!0,i);return s.subscription=null,a.onListen=new A.TransformByHandlers_transformByHandlers_closure(s,e,t,a,A.instantiate1(A.from_handlers__TransformByHandlers__defaultHandleError$closure(),i),r,n),a.get$stream()},TransformByHandlers__defaultHandleError(e,t,r){r.addError$2(e,t)},TransformByHandlers_transformByHandlers_closure:function(e,t,r,n,i,o,s){var a=this;a._box_1=e,a._this=t,a.onData=r,a.controller=n,a.handleError=i,a.handleDone=o,a.S=s},TransformByHandlers_transformByHandlers__closure:function(e,t,r){this.onData=e,this.controller=t,this.S=r},TransformByHandlers_transformByHandlers__closure1:function(e,t){this.handleError=e,this.controller=t},TransformByHandlers_transformByHandlers__closure0:function(e,t,r){this._box_0=e,this.handleDone=t,this.controller=r},TransformByHandlers_transformByHandlers__closure2:function(e,t){this._box_1=e,this._box_0=t},RateLimit__debounceAggregate(e,t,r,n,i,o,s){var a={};return a.soFar=a.timer=null,a.emittedLatestAsLeading=a.shouldClose=a.hasPending=!1,A.TransformByHandlers_transformByHandlers(e,new A.RateLimit__debounceAggregate_closure(a,s,r,!1,t,!0,o),new A.RateLimit__debounceAggregate_closure0(a,!0,s),o,s)},_collect(e,t,r){var n=null==t?A._setArrayType([],r._eval$1("JSArray<0>")):t;return w.add$1$ax(n,e),n},RateLimit__debounceAggregate_closure:function(e,t,r,n,i,o,s){var a=this;a._box_0=e,a.S=t,a.collect=r,a.leading=n,a.duration=i,a.trailing=o,a.T=s},RateLimit__debounceAggregate_closure_emit:function(e,t,r){this._box_0=e,this.sink=t,this.S=r},RateLimit__debounceAggregate__closure:function(e,t,r,n){var i=this;i._box_0=e,i.trailing=t,i.emit=r,i.sink=n},RateLimit__debounceAggregate_closure0:function(e,t,r){this._box_0=e,this.trailing=t,this.S=r},StringScannerException$:(e,t,r)=>new A.StringScannerException(r,e,t),StringScannerException:function(e,t,r){this.source=e,this._span_exception$_message=t,this._span=r},LineScanner$:e=>new A.LineScanner(null,e),LineScanner:function(e,t){var r=this;r._line_scanner$_column=r._line_scanner$_line=0,r.sourceUrl=e,r.string=t,r._string_scanner$_position=0,r._lastMatchPosition=r._lastMatch=null},SpanScanner$(e,t){var r,n=A.SourceFile$fromString(e,t);return r=null==t?null:"string"==typeof t?A.Uri_parse(t):D.Uri._as(t),new A.SpanScanner(n,r,e)},SpanScanner:function(e,t,r){var n=this;n._sourceFile=e,n.sourceUrl=t,n.string=r,n._string_scanner$_position=0,n._lastMatchPosition=n._lastMatch=null},_SpanScannerState:function(e,t){this._scanner=e,this.position=t},StringScanner$(e,t,r){var n;return n=null==r?null:"string"==typeof r?A.Uri_parse(r):D.Uri._as(r),new A.StringScanner(n,e)},StringScanner:function(e,t){var r=this;r.sourceUrl=e,r.string=t,r._string_scanner$_position=0,r._lastMatchPosition=r._lastMatch=null},AsciiGlyphSet:function(){},UnicodeGlyphSet:function(){},WatchEvent:function(e,t){this.type=e,this.path=t},ChangeType:function(e){this._watch_event$_name=e},A98RgbColorSpace0:function(e,t){this.name=e,this._space$_channels=t},AnySelectorVisitor0:function(){},AnySelectorVisitor_visitComplexSelector_closure0:function(e){this.$this=e},AnySelectorVisitor_visitCompoundSelector_closure0:function(e){this.$this=e},SupportsAnything0:function(e,t){this.contents=e,this.span=t},ArgumentList$0(e,t,r,n,i,o){var s=D.Expression_2,a=D.String;return new A.ArgumentList0(A.List_List$unmodifiable(e,s),A.ConstantMap_ConstantMap$from(t,a,s),A.ConstantMap_ConstantMap$from(r,a,D.FileSpan),o,i,n)},ArgumentList$empty0:e=>new A.ArgumentList0(C.List_empty24,C.Map_empty14,C.Map_empty5,null,null,e),ArgumentList0:function(e,t,r,n,i,o){var s=this;s.positional=e,s.named=t,s.namedSpans=r,s.rest=n,s.keywordRest=i,s.span=o},argumentListClass_closure:function(){},argumentListClass__closure:function(){},argumentListClass__closure0:function(){},SassArgumentList$0(e,t,r){var n=D.Value_2;return(n=new A.SassArgumentList0(A.ConstantMap_ConstantMap$from(t,D.String,n),A.List_List$unmodifiable(e,n),r,!1)).SassList$3$brackets0(e,r,!1),n},SassArgumentList0:function(e,t,r,n){var i=this;i._argument_list$_keywords=e,i._argument_list$_wereKeywordsAccessed=!1,i._list1$_contents=t,i._list1$_separator=r,i._list1$_hasBrackets=n},JSArray1:function(){},AsyncImporter0:function(){},JSToDartAsyncImporter:function(e,t,r){this._async0$_canonicalize=e,this._load=t,this._nonCanonicalSchemes=r},JSToDartAsyncImporter_canonicalize_closure:function(e,t){this.$this=e,this.url=t},JSToDartAsyncImporter_load_closure:function(e,t){this.$this=e,this.url=t},AsyncBuiltInCallable$mixin0:(e,t,r,n,i)=>new A.AsyncBuiltInCallable0(e,A.ScssParser$0("@mixin "+e+"("+t+") {",!1,i).parseParameterList$0(),new A.AsyncBuiltInCallable$mixin_closure0(r),!1),AsyncBuiltInCallable0:function(e,t,r,n){var i=this;i.name=e,i._async_built_in0$_parameters=t,i._async_built_in0$_callback=r,i.acceptsContent=n},AsyncBuiltInCallable$mixin_closure0:function(e){this.callback=e},AsyncBuiltInCallable_withDeprecationWarning_closure0:function(e,t,r){this.$this=e,this.module=t,this.newName=r},compileAsync0(e,t,r,i,o,s,a,l,c,u,d,h,p,m,_,g,f){var v,b,y,$,x,S,C,E,M=0,k=A._makeAsyncAwaitCompleter(D.CompileResult_2),T=A._wrapJsFunctionForAsync(function(R,L){if(1===R)return A._asyncRethrow(L,k);for(;;)switch(M){case 0:C=D.Deprecation_3,E=A.LinkedHashSet_LinkedHashSet$_empty(C),null!=h&&E.addAll$1(0,h),b=A.LinkedHashSet_LinkedHashSet$_empty(C),null!=r&&b.addAll$1(0,r),y=A.LinkedHashSet_LinkedHashSet$_empty(C),null!=o&&y.addAll$1(0,o),(c=new A.DeprecationProcessingLogger0(A.LinkedHashMap_LinkedHashMap$_empty(C,D.int),c,E,b,y,!f)).validate$0(),E=!!(C=null==u)&&(null==_||_===A.Syntax_forPath0(e)),M=E?3:5;break;case 3:return null==s&&(s=A.AsyncImportCache$none()),E=I.$get$FilesystemImporter_cwd0(),b=A.isNodeJs()?n.process:null,w.$eq$(null==b?null:w.get$platform$x(b),"win32")?b=!0:(b=A.isNodeJs()?n.process:null,b=w.$eq$(null==b?null:w.get$platform$x(b),"darwin")),b?(b=A.absolute(e,null,null,null,null,null,null,null,null,null,null,null,null,null,null),y=I.$get$context(),b=A._realCasePath0(y.normalize$1(b))):(b=I.$get$context(),y=b.canonicalize$1(0,e),$=y,y=b,b=$),M=6,A._asyncAwait(s.importCanonical$3$originalUrl(E,y.toUri$1(b),y.toUri$1(e)),T);case 6:(y=L).toString,x=y,M=4;break;case 5:E=A.readFile0(e),b=null==_?A.Syntax_forPath0(e):_,x=A.Stylesheet_Stylesheet$parse0(E,b,!1,I.$get$context().toUri$1(e));case 4:return M=7,A._asyncAwait(A._compileStylesheet2(x,c,s,u,I.$get$FilesystemImporter_cwd0(),i,m,g,a,l,d,p,t),T);case 7:S=L,c.summarize$1$js(!C),v=S,M=1;break;case 1:return A._asyncReturn(v,k)}});return A._asyncStartSync(T,k)},compileStringAsync0(e,t,r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v){var b,y,$,x,S,w,E,M,k=0,T=A._makeAsyncAwaitCompleter(D.CompileResult_2),R=A._wrapJsFunctionForAsync(function(L,N){if(1===L)return A._asyncRethrow(N,T);for(;;)switch(k){case 0:return E=D.Deprecation_3,M=A.LinkedHashSet_LinkedHashSet$_empty(E),null!=h&&M.addAll$1(0,h),y=A.LinkedHashSet_LinkedHashSet$_empty(E),null!=r&&y.addAll$1(0,r),$=A.LinkedHashSet_LinkedHashSet$_empty(E),null!=i&&$.addAll$1(0,i),(c=new A.DeprecationProcessingLogger0(A.LinkedHashMap_LinkedHashMap$_empty(E,D.int),c,M,y,$,!v)).validate$0(),x=A.Stylesheet_Stylesheet$parse0(e,null==_?C.Syntax_SCSS_0_scss0:_,!1,g),E=x.span,S=E.get$sourceUrl(E),D.Uri._is(S)&&""===S.get$scheme()&&null==u&&A.WarnForDeprecation_warnForDeprecation0(c,C.Deprecation_y9Y,"Passing a relative `url` argument ("+A.S(E.get$sourceUrl(E))+P.x29x20to_cm,null,null),E=null==s?A.isBrowser()?new A.NoOpImporter0:I.$get$FilesystemImporter_cwd0():s,k=3,A._asyncAwait(A._compileStylesheet2(x,c,o,u,E,n,m,f,a,l,d,p,t),R);case 3:w=N,c.summarize$1$js(null!=u),b=w,k=1;break;case 1:return A._asyncReturn(b,T)}});return A._asyncStartSync(R,T)},_compileStylesheet2(e,t,r,n,i,o,s,a,l,c,u,d,h){var p,m,_,g,f=0,v=A._makeAsyncAwaitCompleter(D.CompileResult_2),b=A._wrapJsFunctionForAsync(function(y,$){if(1===y)return A._asyncRethrow($,v);for(;;)switch(f){case 0:return null!=n&&A.WarnForDeprecation_warnForDeprecation0(t,C.Deprecation_PGp,P.The_le,null,null),f=3,A._asyncAwait(A._EvaluateVisitor$2(o,r,t,n,u,d).run$2(0,i,e),b);case 3:m=$,_=A.serialize0(m._1,h,l,!1,c,t,d,s,a),null!=(g=_._1)&&null!=r&&A.mapInPlace0(g.urls,new A._compileStylesheet_closure2(e,r)),p=new A.CompileResult0(m,_),f=1;break;case 1:return A._asyncReturn(p,v)}});return A._asyncStartSync(b,v)},_compileStylesheet_closure2:function(e,t){this.stylesheet=e,this.importCache=t},AsyncEnvironment$0(){var e=D.String,t=D.Module_AsyncCallable_2,r=D.AstNode_2,n=D.int,i=D.AsyncCallable_2,o=D.JSArray_Map_String_AsyncCallable_2;return new A.AsyncEnvironment0(A.LinkedHashMap_LinkedHashMap$_empty(e,t),A.LinkedHashMap_LinkedHashMap$_empty(e,r),A.LinkedHashMap_LinkedHashMap$_empty(t,r),A.LinkedHashMap_LinkedHashMap$_empty(t,r),null,null,A._setArrayType([],D.JSArray_Module_AsyncCallable_2),A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(e,D.Value_2)],D.JSArray_Map_String_Value_2),A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(e,r)],D.JSArray_Map_String_AstNode_2),A.LinkedHashMap_LinkedHashMap$_empty(e,n),A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(e,i)],o),A.LinkedHashMap_LinkedHashMap$_empty(e,n),A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(e,i)],o),A.LinkedHashMap_LinkedHashMap$_empty(e,n),null,A.LinkedHashSet_LinkedHashSet$_empty(e))},AsyncEnvironment$_0(e,t,r,n,i,o,s,a,l,c,u,d,h){var p=D.String,m=D.int;return new A.AsyncEnvironment0(e,t,r,n,i,o,s,a,l,A.LinkedHashMap_LinkedHashMap$_empty(p,m),c,A.LinkedHashMap_LinkedHashMap$_empty(p,m),u,A.LinkedHashMap_LinkedHashMap$_empty(p,m),d,h)},_EnvironmentModule__EnvironmentModule2(e,t,r,n,i){var o,s,a,l,c,u,d,h,p;for(null==i&&(i=C.Set_empty7),o=D.dynamic,o=A.LinkedHashMap_LinkedHashMap$_empty(o,o),s=D.Module_AsyncCallable_2,a=D.List_CssComment_2,l=(l=A.MapExtensions_get_pairs0(r,s,a)).get$iterator(l),c=D.CssComment_2;l.moveNext$0();)d=(u=l.get$current(l))._0,(h=A.List_List$from(u._1,!1,c)).$flags=3,o.$indexSet(0,d,h);return o=A.ConstantMap_ConstantMap$from(o,s,a),s=A._EnvironmentModule__makeModulesByVariable2(i),a=A._EnvironmentModule__memberMap2(C.JSArray_methods.get$first(e._async_environment0$_variables),i.map$1$1(0,new A._EnvironmentModule__EnvironmentModule_closure17,D.Map_String_Value_2),D.Value_2),l=A._EnvironmentModule__memberMap2(C.JSArray_methods.get$first(e._async_environment0$_variableNodes),i.map$1$1(0,new A._EnvironmentModule__EnvironmentModule_closure18,D.Map_String_AstNode_2),D.AstNode_2),c=D.Map_String_AsyncCallable_2,u=D.AsyncCallable_2,p=A._EnvironmentModule__memberMap2(C.JSArray_methods.get$first(e._async_environment0$_functions),i.map$1$1(0,new A._EnvironmentModule__EnvironmentModule_closure19,c),u),u=A._EnvironmentModule__memberMap2(C.JSArray_methods.get$first(e._async_environment0$_mixins),i.map$1$1(0,new A._EnvironmentModule__EnvironmentModule_closure20,c),u),c=w.get$isNotEmpty$asx(t.get$children(t))||r.get$isNotEmpty(r)||C.JSArray_methods.any$1(e._async_environment0$_allModules,new A._EnvironmentModule__EnvironmentModule_closure21),A._EnvironmentModule$_2(e,t,o,n,s,a,l,p,u,c,!n.get$isEmpty(n)||C.JSArray_methods.any$1(e._async_environment0$_allModules,new A._EnvironmentModule__EnvironmentModule_closure22))},_EnvironmentModule__makeModulesByVariable2(e){var t,r,n,i,o,s;if(e.get$isEmpty(e))return C.Map_empty17;for(t=A.LinkedHashMap_LinkedHashMap$_empty(D.String,D.Module_AsyncCallable_2),r=e.get$iterator(e);r.moveNext$0();)if((n=r.get$current(r))instanceof A._EnvironmentModule2){for(i=(i=(i=n._async_environment0$_modulesByVariable).get$values(i)).get$iterator(i);i.moveNext$0();)s=(o=i.get$current(i)).get$variables(),A.setAll0(t,s.get$keys(s),o);i=C.JSArray_methods.get$first(n._async_environment0$_environment._async_environment0$_variables),A.setAll0(t,i.get$keys(i),n)}else i=n.get$variables(),A.setAll0(t,i.get$keys(i),n);return t},_EnvironmentModule__memberMap2(e,t,r){var n,i,o;if(e=new A.PublicMemberMapView0(e,r._eval$1("PublicMemberMapView0<0>")),t.get$isEmpty(t))return e;for(n=A._setArrayType([],r._eval$1("JSArray<Map<String,0>>")),i=t.get$iterator(t);i.moveNext$0();)(o=i.get$current(i)).get$isNotEmpty(o)&&n.push(o);return n.push(e),1===n.length?e:A.MergedMapView$0(n,D.String,r)},_EnvironmentModule$_2:(e,t,r,n,i,o,s,a,l,c,u)=>new A._EnvironmentModule2(e._async_environment0$_allModules,o,s,a,l,n,t,r,c,u,e,i),AsyncEnvironment0:function(e,t,r,n,i,o,s,a,l,c,u,d,h,p,m,_){var g=this;g._async_environment0$_modules=e,g._async_environment0$_namespaceNodes=t,g._async_environment0$_globalModules=r,g._async_environment0$_importedModules=n,g._async_environment0$_forwardedModules=i,g._async_environment0$_nestedForwardedModules=o,g._async_environment0$_allModules=s,g._async_environment0$_variables=a,g._async_environment0$_variableNodes=l,g._async_environment0$_variableIndices=c,g._async_environment0$_functions=u,g._async_environment0$_functionIndices=d,g._async_environment0$_mixins=h,g._async_environment0$_mixinIndices=p,g._async_environment0$_content=m,g._async_environment0$_configurableVariables=_,g._async_environment0$_inMixin=!1,g._async_environment0$_inSemiGlobalScope=!0,g._async_environment0$_lastVariableIndex=g._async_environment0$_lastVariableName=null},AsyncEnvironment__getVariableFromGlobalModule_closure0:function(e){this.name=e},AsyncEnvironment_setVariable_closure2:function(e,t){this.$this=e,this.name=t},AsyncEnvironment_setVariable_closure3:function(e){this.name=e},AsyncEnvironment_setVariable_closure4:function(e,t){this.$this=e,this.name=t},AsyncEnvironment__getFunctionFromGlobalModule_closure0:function(e){this.name=e},AsyncEnvironment__getMixinFromGlobalModule_closure0:function(e){this.name=e},AsyncEnvironment_toModule_closure0:function(){},AsyncEnvironment_toDummyModule_closure0:function(){},_EnvironmentModule2:function(e,t,r,n,i,o,s,a,l,c,u,d){var h=this;h.upstream=e,h.variables=t,h.variableNodes=r,h.functions=n,h.mixins=i,h.extensionStore=o,h.css=s,h.preModuleComments=a,h.transitivelyContainsCss=l,h.transitivelyContainsExtensions=c,h._async_environment0$_environment=u,h._async_environment0$_modulesByVariable=d},_EnvironmentModule__EnvironmentModule_closure17:function(){},_EnvironmentModule__EnvironmentModule_closure18:function(){},_EnvironmentModule__EnvironmentModule_closure19:function(){},_EnvironmentModule__EnvironmentModule_closure20:function(){},_EnvironmentModule__EnvironmentModule_closure21:function(){},_EnvironmentModule__EnvironmentModule_closure22:function(){},_EnvironmentModule_couldHaveBeenConfigured_closure2:function(e){this.variables=e},_EvaluateVisitor$2(e,t,r,n,i,o){var s,a=D.Uri,l=D.Module_AsyncCallable_2,c=A._setArrayType([],D.JSArray_Record_2_String_and_AstNode_2);return s=null==t?null==n?A.AsyncImportCache$none():null:t,(a=new A._EvaluateVisitor2(s,n,A.LinkedHashMap_LinkedHashMap$_empty(D.String,D.AsyncCallable_2),A.LinkedHashMap_LinkedHashMap$_empty(a,l),A.LinkedHashMap_LinkedHashMap$_empty(a,l),A.LinkedHashMap_LinkedHashMap$_empty(a,D.Configuration_2),A.LinkedHashMap_LinkedHashMap$_empty(a,D.AstNode_2),r,A.LinkedHashSet_LinkedHashSet$_empty(D.Record_2_String_and_SourceSpan),i,o,new A.Object,A.AsyncEnvironment$0(),A.LinkedHashSet_LinkedHashSet$_empty(a),A.LinkedHashMap_LinkedHashMap$_empty(a,D.nullable_AstNode_2),c,C.Configuration_Map_empty_null0))._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap2(e,t,r,n,i,o),a},_EvaluateVisitor2:function(e,t,r,n,i,o,s,a,l,c,u,d,h,p,m,_,g){var f=this;f._async_evaluate0$_importCache=e,f._async_evaluate0$_nodeImporter=t,f._async_evaluate0$_builtInFunctions=r,f._async_evaluate0$_builtInModules=n,f._async_evaluate0$_modules=i,f._async_evaluate0$_moduleConfigurations=o,f._async_evaluate0$_moduleNodes=s,f._async_evaluate0$_logger=a,f._async_evaluate0$_warningsEmitted=l,f._async_evaluate0$_quietDeps=c,f._async_evaluate0$_sourceMap=u,f._async_evaluate0$_compileContext=d,f._async_evaluate0$_environment=h,f._async_evaluate0$_declarationName=f._async_evaluate0$__parent=f._async_evaluate0$_mediaQuerySources=f._async_evaluate0$_mediaQueries=f._async_evaluate0$_styleRuleIgnoringAtRoot=null,f._async_evaluate0$_member="root stylesheet",f._async_evaluate0$_importSpan=f._async_evaluate0$_callableNode=null,f._async_evaluate0$_inSupportsDeclaration=f._async_evaluate0$_inKeyframes=f._async_evaluate0$_atRootExcludingStyleRule=f._async_evaluate0$_inUnknownAtRule=f._async_evaluate0$_inFunction=!1,f._async_evaluate0$_loadedUrls=p,f._async_evaluate0$_activeModules=m,f._async_evaluate0$_stack=_,f._async_evaluate0$_importer=null,f._async_evaluate0$_inDependency=!1,f._async_evaluate0$__extensionStore=f._async_evaluate0$_preModuleComments=f._async_evaluate0$_outOfOrderImports=f._async_evaluate0$__endOfImports=f._async_evaluate0$__root=f._async_evaluate0$__stylesheet=null,f._async_evaluate0$_configuration=g},_EvaluateVisitor_closure38:function(e){this.$this=e},_EvaluateVisitor_closure39:function(e){this.$this=e},_EvaluateVisitor_closure40:function(e){this.$this=e},_EvaluateVisitor_closure41:function(e){this.$this=e},_EvaluateVisitor_closure42:function(e){this.$this=e},_EvaluateVisitor_closure43:function(e){this.$this=e},_EvaluateVisitor_closure44:function(e){this.$this=e},_EvaluateVisitor_closure45:function(e){this.$this=e},_EvaluateVisitor_closure46:function(e){this.$this=e},_EvaluateVisitor__closure14:function(e,t,r){this.$this=e,this.name=t,this.module=r},_EvaluateVisitor_closure47:function(e){this.$this=e},_EvaluateVisitor__closure13:function(e,t,r){this.$this=e,this.name=t,this.module=r},_EvaluateVisitor_closure48:function(e){this.$this=e},_EvaluateVisitor_closure49:function(e){this.$this=e},_EvaluateVisitor__closure11:function(e,t,r,n){var i=this;i._box_0=e,i.values=t,i.span=r,i.callableNode=n},_EvaluateVisitor__closure12:function(e){this.$this=e},_EvaluateVisitor_closure50:function(e){this.$this=e},_EvaluateVisitor_run_closure2:function(e,t,r){this.$this=e,this.node=t,this.importer=r},_EvaluateVisitor_run__closure2:function(e,t,r){this.$this=e,this.importer=t,this.node=r},_EvaluateVisitor__loadModule_closure5:function(e,t){this._box_0=e,this.callback=t},_EvaluateVisitor__loadModule_closure6:function(e,t,r,n,i,o,s){var a=this;a.$this=e,a.url=t,a.nodeWithSpan=r,a.baseUrl=n,a.namesInErrors=i,a.configuration=o,a.callback=s},_EvaluateVisitor__loadModule__closure5:function(e,t){this.$this=e,this.message=t},_EvaluateVisitor__loadModule__closure6:function(e,t,r){this._box_1=e,this.callback=t,this.firstLoad=r},_EvaluateVisitor__execute_closure2:function(e,t,r,n,i,o,s){var a=this;a.$this=e,a.importer=t,a.stylesheet=r,a.extensionStore=n,a.configuration=i,a.css=o,a.preModuleComments=s},_EvaluateVisitor__combineCss_closure5:function(){},_EvaluateVisitor__combineCss_closure6:function(e){this.selectors=e},_EvaluateVisitor__combineCss_visitModule2:function(e,t,r,n,i,o){var s=this;s.$this=e,s.seen=t,s.clone=r,s.css=n,s.imports=i,s.sorted=o},_EvaluateVisitor__extendModules_closure5:function(e){this.originalSelectors=e},_EvaluateVisitor__extendModules_closure6:function(){},_EvaluateVisitor_visitAtRootRule_closure5:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitAtRootRule_closure6:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor__scopeForAtRoot_closure17:function(e,t,r){this.$this=e,this.newParent=t,this.node=r},_EvaluateVisitor__scopeForAtRoot_closure18:function(e,t){this.$this=e,this.innerScope=t},_EvaluateVisitor__scopeForAtRoot_closure19:function(e,t){this.$this=e,this.innerScope=t},_EvaluateVisitor__scopeForAtRoot__closure2:function(e,t){this.innerScope=e,this.callback=t},_EvaluateVisitor__scopeForAtRoot_closure20:function(e,t){this.$this=e,this.innerScope=t},_EvaluateVisitor__scopeForAtRoot_closure21:function(){},_EvaluateVisitor__scopeForAtRoot_closure22:function(e,t){this.$this=e,this.innerScope=t},_EvaluateVisitor_visitContentRule_closure2:function(e,t){this.$this=e,this.content=t},_EvaluateVisitor_visitDeclaration_closure2:function(e,t){this._box_0=e,this.$this=t},_EvaluateVisitor_visitEachRule_closure8:function(e,t,r){this._box_0=e,this.$this=t,this.nodeWithSpan=r},_EvaluateVisitor_visitEachRule_closure9:function(e,t,r){this._box_1=e,this.$this=t,this.nodeWithSpan=r},_EvaluateVisitor_visitEachRule_closure10:function(e,t,r,n){var i=this;i.$this=e,i.list=t,i.setVariables=r,i.node=n},_EvaluateVisitor_visitEachRule__closure2:function(e,t,r){this.$this=e,this.setVariables=t,this.node=r},_EvaluateVisitor_visitEachRule___closure2:function(e){this.$this=e},_EvaluateVisitor_visitAtRule_closure11:function(e){this.$this=e},_EvaluateVisitor_visitAtRule_closure12:function(e,t){this.$this=e,this.children=t},_EvaluateVisitor_visitAtRule_closure13:function(e,t,r){this.$this=e,this.name=t,this.children=r},_EvaluateVisitor_visitAtRule__closure2:function(e,t){this.$this=e,this.children=t},_EvaluateVisitor_visitAtRule_closure14:function(){},_EvaluateVisitor_visitForRule_closure14:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitForRule_closure15:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitForRule_closure16:function(e){this.fromNumber=e},_EvaluateVisitor_visitForRule_closure17:function(e,t){this.toNumber=e,this.fromNumber=t},_EvaluateVisitor_visitForRule_closure18:function(e,t,r,n,i,o){var s=this;s._box_0=e,s.$this=t,s.node=r,s.from=n,s.direction=i,s.fromNumber=o},_EvaluateVisitor_visitForRule__closure2:function(e){this.$this=e},_EvaluateVisitor_visitForwardRule_closure5:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitForwardRule_closure6:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor__registerCommentsForModule_closure2:function(){},_EvaluateVisitor_visitIfRule_closure2:function(e){this.$this=e},_EvaluateVisitor_visitIfRule__closure2:function(e,t){this.$this=e,this.clause=t},_EvaluateVisitor_visitIfRule___closure2:function(e){this.$this=e},_EvaluateVisitor__visitDynamicImport_closure2:function(e,t){this.$this=e,this.$import=t},_EvaluateVisitor__visitDynamicImport__closure11:function(e){this.$this=e},_EvaluateVisitor__visitDynamicImport__closure12:function(){},_EvaluateVisitor__visitDynamicImport__closure13:function(){},_EvaluateVisitor__visitDynamicImport__closure14:function(e,t,r,n,i){var o=this;o._box_0=e,o.$this=t,o.loadsUserDefinedModules=r,o.environment=n,o.children=i},_EvaluateVisitor__applyMixin_closure5:function(e,t,r,n){var i=this;i.$this=e,i.$arguments=t,i.mixin=r,i.nodeWithSpanWithoutContent=n},_EvaluateVisitor__applyMixin__closure6:function(e,t,r,n){var i=this;i.$this=e,i.$arguments=t,i.mixin=r,i.nodeWithSpanWithoutContent=n},_EvaluateVisitor__applyMixin_closure6:function(e,t,r,n){var i=this;i.$this=e,i.contentCallable=t,i.mixin=r,i.nodeWithSpanWithoutContent=n},_EvaluateVisitor__applyMixin__closure5:function(e,t,r){this.$this=e,this.mixin=t,this.nodeWithSpanWithoutContent=r},_EvaluateVisitor__applyMixin___closure2:function(e,t,r){this.$this=e,this.mixin=t,this.nodeWithSpanWithoutContent=r},_EvaluateVisitor__applyMixin____closure2:function(e,t){this.$this=e,this.statement=t},_EvaluateVisitor_visitIncludeRule_closure8:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitIncludeRule_closure9:function(e){this.$this=e},_EvaluateVisitor_visitIncludeRule_closure10:function(e){this.node=e},_EvaluateVisitor_visitMediaRule_closure11:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitMediaRule_closure12:function(e,t){this.$this=e,this.queries=t},_EvaluateVisitor_visitMediaRule_closure13:function(e,t,r,n,i){var o=this;o.$this=e,o.mergedQueries=t,o.queries=r,o.mergedSources=n,o.node=i},_EvaluateVisitor_visitMediaRule__closure2:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitMediaRule___closure2:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitMediaRule_closure14:function(e){this.mergedSources=e},_EvaluateVisitor_visitStyleRule_closure11:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitStyleRule_closure12:function(){},_EvaluateVisitor_visitStyleRule_closure14:function(e,t,r){this.$this=e,this.rule=t,this.node=r},_EvaluateVisitor_visitStyleRule__closure2:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitStyleRule_closure13:function(){},_EvaluateVisitor__warnForBogusCombinators_closure2:function(){},_EvaluateVisitor_visitSupportsRule_closure8:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitSupportsRule_closure9:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitSupportsRule__closure2:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitSupportsRule_closure10:function(){},_EvaluateVisitor__visitSupportsCondition_closure2:function(e,t){this._box_0=e,this.$this=t},_EvaluateVisitor_visitVariableDeclaration_closure8:function(e,t,r){this._box_0=e,this.$this=t,this.node=r},_EvaluateVisitor_visitVariableDeclaration_closure9:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitVariableDeclaration_closure10:function(e,t,r){this.$this=e,this.node=t,this.value=r},_EvaluateVisitor_visitUseRule_closure2:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitWarnRule_closure2:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitWhileRule_closure2:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitWhileRule__closure2:function(e){this.$this=e},_EvaluateVisitor_visitBinaryOperationExpression_closure2:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor__slash_recommendation2:function(){},_EvaluateVisitor_visitVariableExpression_closure2:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitUnaryOperationExpression_closure2:function(e,t){this.node=e,this.operand=t},_EvaluateVisitor_visitIfExpression_closure2:function(){},_EvaluateVisitor_visitIfConditionOperation_closure2:function(){},_EvaluateVisitor_visitListExpression_closure2:function(e){this.$this=e},_EvaluateVisitor_visitFunctionExpression_closure8:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitFunctionExpression_closure9:function(){},_EvaluateVisitor_visitFunctionExpression_closure10:function(e,t,r){this._box_0=e,this.$this=t,this.node=r},_EvaluateVisitor__visitCalculation_closure2:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor__checkCalculationArguments_check2:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor__visitCalculationExpression_closure2:function(e,t,r,n){var i=this;i._box_0=e,i.$this=t,i.node=r,i.inLegacySassFunction=n},_EvaluateVisitor__visitCalculationExpression__closure2:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitInterpolatedFunctionExpression_closure2:function(e,t,r){this.$this=e,this.node=t,this.$function=r},_EvaluateVisitor__runUserDefinedCallable_closure2:function(e,t,r,n,i,o){var s=this;s.$this=e,s.callable=t,s.evaluated=r,s.nodeWithSpan=n,s.run=i,s.V=o},_EvaluateVisitor__runUserDefinedCallable__closure2:function(e,t,r,n,i,o){var s=this;s.$this=e,s.evaluated=t,s.callable=r,s.nodeWithSpan=n,s.run=i,s.V=o},_EvaluateVisitor__runUserDefinedCallable___closure2:function(e,t,r,n,i,o){var s=this;s.$this=e,s.evaluated=t,s.callable=r,s.nodeWithSpan=n,s.run=i,s.V=o},_EvaluateVisitor__runUserDefinedCallable____closure2:function(){},_EvaluateVisitor__runFunctionCallable_closure2:function(e,t){this.$this=e,this.callable=t},_EvaluateVisitor__runBuiltInCallable_closure8:function(e,t,r){this._box_0=e,this.evaluated=t,this.namedSet=r},_EvaluateVisitor__runBuiltInCallable_closure9:function(e,t){this._box_0=e,this.evaluated=t},_EvaluateVisitor__runBuiltInCallable_closure10:function(){},_EvaluateVisitor__evaluateArguments_closure11:function(){},_EvaluateVisitor__evaluateArguments_closure12:function(e,t){this.$this=e,this.restNodeForSpan=t},_EvaluateVisitor__evaluateArguments_closure13:function(e,t,r,n){var i=this;i.$this=e,i.named=t,i.restNodeForSpan=r,i.namedNodes=n},_EvaluateVisitor__evaluateArguments_closure14:function(){},_EvaluateVisitor__evaluateMacroArguments_closure11:function(e){this.restArgs=e},_EvaluateVisitor__evaluateMacroArguments_closure12:function(e,t,r){this.$this=e,this.restNodeForSpan=t,this.restArgs=r},_EvaluateVisitor__evaluateMacroArguments_closure13:function(e,t,r,n){var i=this;i.$this=e,i.named=t,i.restNodeForSpan=r,i.restArgs=n},_EvaluateVisitor__evaluateMacroArguments_closure14:function(e,t,r){this.$this=e,this.keywordRestNodeForSpan=t,this.keywordRestArgs=r},_EvaluateVisitor__addRestMap_closure2:function(e,t,r,n,i,o){var s=this;s.$this=e,s.values=t,s.convert=r,s.expressionNode=n,s.map=i,s.nodeWithSpan=o},_EvaluateVisitor__verifyArguments_closure2:function(e,t,r){this.parameters=e,this.positional=t,this.named=r},_EvaluateVisitor_visitCssAtRule_closure8:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitCssAtRule_closure9:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitCssAtRule_closure10:function(){},_EvaluateVisitor_visitCssKeyframeBlock_closure5:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitCssKeyframeBlock_closure6:function(){},_EvaluateVisitor_visitCssMediaRule_closure11:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitCssMediaRule_closure12:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitCssMediaRule_closure13:function(e,t,r,n){var i=this;i.$this=e,i.mergedQueries=t,i.node=r,i.mergedSources=n},_EvaluateVisitor_visitCssMediaRule__closure2:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitCssMediaRule___closure2:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitCssMediaRule_closure14:function(e){this.mergedSources=e},_EvaluateVisitor_visitCssStyleRule_closure6:function(e,t,r){this.$this=e,this.rule=t,this.node=r},_EvaluateVisitor_visitCssStyleRule__closure2:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitCssStyleRule_closure5:function(){},_EvaluateVisitor_visitCssSupportsRule_closure8:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitCssSupportsRule_closure9:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitCssSupportsRule__closure2:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitCssSupportsRule_closure10:function(){},_EvaluateVisitor__performInterpolationHelper_closure2:function(e){this.interpolation=e},_EvaluateVisitor__serialize_closure2:function(e,t){this.value=e,this.quote=t},_EvaluateVisitor__expressionNode_closure2:function(e,t){this.$this=e,this.expression=t},_EvaluateVisitor__withoutSlash_recommendation2:function(){},_EvaluateVisitor__stackFrame_closure2:function(e){this.$this=e},_ImportedCssVisitor2:function(e){this._async_evaluate0$_visitor=e},_ImportedCssVisitor_visitCssAtRule_closure2:function(){},_ImportedCssVisitor_visitCssMediaRule_closure2:function(e){this.hasBeenMerged=e},_ImportedCssVisitor_visitCssStyleRule_closure2:function(){},_ImportedCssVisitor_visitCssSupportsRule_closure2:function(){},_EvaluationContext2:function(e,t){this._async_evaluate0$_visitor=e,this._async_evaluate0$_defaultWarnNodeWithSpan=t},JSToDartAsyncFileImporter:function(e){this._findFileUrl=e},JSToDartAsyncFileImporter_canonicalize_closure:function(e,t){this.$this=e,this.url=t},AsyncImportCache$(e,t,r){var n=D.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2,i=D.Record_3_AsyncImporter_and_Uri_and_bool_forImport_2,o=D.Uri;return new A.AsyncImportCache0(A.AsyncImportCache__toImporters0(e,t,r),A.LinkedHashMap_LinkedHashMap$_empty(D.Record_2_Uri_and_bool_forImport,n),A.LinkedHashMap_LinkedHashMap$_empty(i,n),A.LinkedHashMap_LinkedHashMap$_empty(i,o),A.LinkedHashMap_LinkedHashMap$_empty(o,D.nullable_Stylesheet_2),A.LinkedHashMap_LinkedHashMap$_empty(o,D.ImporterResult_2),A.LinkedHashMap_LinkedHashMap$_empty(o,D.DateTime))},AsyncImportCache$none(){var e=D.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2,t=D.Record_3_AsyncImporter_and_Uri_and_bool_forImport_2,r=D.Uri;return new A.AsyncImportCache0(C.List_empty31,A.LinkedHashMap_LinkedHashMap$_empty(D.Record_2_Uri_and_bool_forImport,e),A.LinkedHashMap_LinkedHashMap$_empty(t,e),A.LinkedHashMap_LinkedHashMap$_empty(t,r),A.LinkedHashMap_LinkedHashMap$_empty(r,D.nullable_Stylesheet_2),A.LinkedHashMap_LinkedHashMap$_empty(r,D.ImporterResult_2),A.LinkedHashMap_LinkedHashMap$_empty(r,D.DateTime))},AsyncImportCache__toImporters0(e,t,r){var i,o,s,a,l,c,u=null,d=A.getEnvironmentVariable0("SASS_PATH");if(A.isBrowser())return i=A._setArrayType([],D.JSArray_AsyncImporter),null!=e&&C.JSArray_methods.addAll$1(i,e),i;if(i=A._setArrayType([],D.JSArray_AsyncImporter),null!=e&&C.JSArray_methods.addAll$1(i,e),null!=t)for(o=w.get$iterator$ax(t);o.moveNext$0();)s=o.get$current(o),i.push(new A.FilesystemImporter0(I.$get$context().absolute$15(s,u,u,u,u,u,u,u,u,u,u,u,u,u,u),!1));if(null!=d)for(o=A.isNodeJs()?n.process:u,a=(s=d.split(w.$eq$(null==o?u:w.get$platform$x(o),"win32")?";":":")).length,l=0;l<a;++l)c=s[l],i.push(new A.FilesystemImporter0(I.$get$context().absolute$15(c,u,u,u,u,u,u,u,u,u,u,u,u,u,u),!1));return i},AsyncImportCache0:function(e,t,r,n,i,o,s){var a=this;a._async_import_cache0$_importers=e,a._async_import_cache0$_canonicalizeCache=t,a._async_import_cache0$_perImporterCanonicalizeCache=r,a._async_import_cache0$_nonCanonicalRelativeUrls=n,a._async_import_cache0$_importCache=i,a._async_import_cache0$_resultsCache=o,a._async_import_cache0$_loadTimes=s},AsyncImportCache_canonicalize_closure0:function(e,t,r,n,i,o,s){var a=this;a.$this=e,a.baseImporter=t,a.resolvedUrl=r,a.baseUrl=n,a.forImport=i,a.key=o,a.url=s},AsyncImportCache__canonicalize_closure0:function(e,t){this.importer=e,this.url=t},AsyncImportCache_importCanonical_closure0:function(e,t,r,n){var i=this;i.$this=e,i.importer=t,i.canonicalUrl=r,i.originalUrl=n},AsyncImportCache_humanize_closure3:function(e){this.canonicalUrl=e},AsyncImportCache_humanize_closure4:function(){},AsyncImportCache_humanize_closure5:function(){},AsyncImportCache_humanize_closure6:function(e){this.canonicalUrl=e},AtRootQueryParser0:function(e,t){this.scanner=e,this._parser1$_interpolationMap=t},AtRootQueryParser_parse_closure0:function(e){this.$this=e},AtRootQuery0:function(e,t,r,n){var i=this;i.include=e,i.names=t,i._at_root_query0$_all=r,i._at_root_query0$_rule=n},AtRootRule$0(e,t,r){var n=A.List_List$unmodifiable(e,D.Statement_2),i=C.JSArray_methods.any$1(n,new A.ParentStatement_closure0);return new A.AtRootRule0(r,t,n,i)},AtRootRule0:function(e,t,r,n){var i=this;i.query=e,i.span=t,i.children=r,i.hasDeclarations=n},ModifiableCssAtRule$0(e,t,r,n){var i=A._setArrayType([],D.JSArray_ModifiableCssNode_2);return new A.ModifiableCssAtRule0(e,n,r,t,new A.UnmodifiableListView(i,D.UnmodifiableListView_ModifiableCssNode_2),i)},ModifiableCssAtRule0:function(e,t,r,n,i,o){var s=this;s.name=e,s.value=t,s.isChildless=r,s.span=n,s.children=i,s._node$_children=o,s._node$_indexInParent=s._node$_parent=null,s.isGroupEnd=!1},AtRule$0(e,t,r,n){var i=null==r?null:A.List_List$unmodifiable(r,D.Statement_2),o=null==i?null:C.JSArray_methods.any$1(i,new A.ParentStatement_closure0);return new A.AtRule0(e,n,t,i,!0===o)},AtRule0:function(e,t,r,n,i){var o=this;o.name=e,o.value=t,o.span=r,o.children=n,o.hasDeclarations=i},InterpolatedAttributeSelector:function(e,t,r,n,i){var o=this;o.name=e,o.op=t,o.value=r,o.modifier=n,o.span=i},AttributeSelector0:function(e,t,r,n,i){var o=this;o.name=e,o.op=t,o.value=r,o.modifier=n,o.span=i},AttributeOperator0:function(e,t,r){this._attribute0$_text=e,this.index=t,this._name=r},BinaryOperationExpression0:function(e,t,r,n){var i=this;i.operator=e,i.left=t,i.right=r,i.allowsSlash=n},BinaryOperator0:function(e,t,r,n,i,o){var s=this;s.name=e,s.operator=t,s.precedence=r,s.isAssociative=n,s.index=i,s._name=o},BooleanExpression0:function(e,t){this.value=e,this.span=t},booleanClass_closure:function(){},booleanClass__closure:function(){},legacyBooleanClass_closure:function(){},legacyBooleanClass__closure:function(){},legacyBooleanClass__closure0:function(){},SassBoolean0:function(e){this.value=e},BooleanOperator0:function(e,t){this.index=e,this._name=t},Box0:function(e,t){this._box0$_inner=e,this.$ti=t},ModifiableBox0:function(e,t){this.value=e,this.$ti=t},BuiltInCallable$function0:(e,t,r,n)=>new A.BuiltInCallable0(e,A._setArrayType([new A._Record_2(A.ScssParser$0("@function "+e+"("+t+") {",!1,n).parseParameterList$0(),r)],D.JSArray_Record_2_ParameterList_and_Value_Function_List_Value_2),!1),BuiltInCallable$mixin0:(e,t,r,n,i)=>new A.BuiltInCallable0(e,A._setArrayType([new A._Record_2(A.ScssParser$0("@mixin "+e+"("+t+") {",!1,i).parseParameterList$0(),new A.BuiltInCallable$mixin_closure0(r))],D.JSArray_Record_2_ParameterList_and_Value_Function_List_Value_2),n),BuiltInCallable$overloadedFunction0(e,t){var r,n,i,o,s,a,l,c,u=A._setArrayType([],D.JSArray_Record_2_ParameterList_and_Value_Function_List_Value_2);for(r=D.String,n=(n=A.MapExtensions_get_pairs0(t,r,D.Value_Function_List_Value_2)).get$iterator(n),i="@function "+e+"(",o=D.FileSpan,s=D.JSArray_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span_2;n.moveNext$0();)l=(a=n.get$current(n))._0,c=a._1,u.push(new A._Record_2(new A.ScssParser0(!1,A.LinkedHashMap_LinkedHashMap$_empty(r,o),A._setArrayType([],s),A.SpanScanner$(i+l+") {",null),null).parseParameterList$0(),c));return new A.BuiltInCallable0(e,u,!1)},BuiltInCallable0:function(e,t,r){this.name=e,this._built_in$_overloads=t,this.acceptsContent=r},BuiltInCallable$mixin_closure0:function(e){this.callback=e},BuiltInCallable_withDeprecationWarning_closure0:function(e,t,r,n){var i=this;i._box_0=e,i.$this=t,i.module=r,i.newName=n},BuiltInModule$0(e,t,r,n,i){var o=A._Uri__Uri(null,e,null,"sass"),s=A.BuiltInModule__callableMap0(t,i),a=A.BuiltInModule__callableMap0(r,i),l=null==n?C.Map_empty15:new A.UnmodifiableMapView(n,D.UnmodifiableMapView_String_Value_2);return new A.BuiltInModule0(o,s,a,l,i._eval$1("BuiltInModule0<0>"))},BuiltInModule__callableMap0(e,t){var r,n,i,o=D.String;if(null==e)o=A.LinkedHashMap_LinkedHashMap$_empty(o,t);else{for(o=A.LinkedHashMap_LinkedHashMap$_empty(o,t),r=e.length,n=0;n<e.length;e.length===r||(0,A.throwConcurrentModificationError)(e),++n)i=e[n],o.$indexSet(0,i.get$name(i),i);o=new A.UnmodifiableMapView(o,D.$env_1_1_String._bind$1(t)._eval$1("UnmodifiableMapView<1,2>"))}return new A.UnmodifiableMapView(o,D.$env_1_1_String._bind$1(t)._eval$1("UnmodifiableMapView<1,2>"))},BuiltInModule0:function(e,t,r,n,i){var o=this;o.url=e,o.functions=t,o.mixins=r,o.variables=n,o.$ti=i},_assertCalculationValue:e=>e instanceof A.SassNumber0||(e instanceof A.SassString0&&!e._string0$_hasQuotes||e instanceof A.SassCalculation0||e instanceof A.CalculationOperation0||e instanceof A.CalculationInterpolation)?null:A.jsThrow0(new n.Error("Argument `"+A.S(e)+"` must be one of SassNumber, unquoted SassString, SassCalculation, CalculationOperation, CalculationInterpolation")),_isValidClampArg:e=>e instanceof A.CalculationInterpolation||e instanceof A.SassString0&&!e._string0$_hasQuotes,calculationClass_closure:function(){},calculationClass__closure:function(){},calculationClass__closure0:function(){},calculationClass__closure1:function(){},calculationClass__closure2:function(){},calculationClass__closure3:function(){},calculationClass__closure4:function(){},calculationClass__closure5:function(){},calculationOperationClass_closure:function(){},calculationOperationClass__closure:function(){},calculationOperationClass___closure:function(e){this.strOperator=e},calculationOperationClass__closure0:function(){},calculationOperationClass__closure1:function(){},calculationOperationClass__closure2:function(){},calculationOperationClass__closure3:function(){},calculationOperationClass__closure4:function(){},calculationInterpolationClass_closure:function(){},calculationInterpolationClass__closure:function(){},calculationInterpolationClass__closure0:function(){},calculationInterpolationClass__closure1:function(){},calculationInterpolationClass__closure2:function(){},SassCalculation_calc0(e){var t=A.SassCalculation__simplify0(e);return t instanceof A.SassNumber0||t instanceof A.SassCalculation0?t:new A.SassCalculation0("calc",A.List_List$unmodifiable([t],D.Object))},SassCalculation_min0(e){var t,r,n,i=A.List_List$unmodifiable(new A.MappedListIterable(e,A.calculation0_SassCalculation__simplify$closure(),A._arrayInstanceType(e)._eval$1("MappedListIterable<1,@>")),D.Object),o=i.length;if(0===o)throw A.wrapException(A.ArgumentError$("min() must have at least one argument.",null));for(t=null,r=0;r<o;++r){if(!((n=i[r])instanceof A.SassNumber0)||null!=t&&!t.isComparableTo$1(n)){t=null;break}(null==t||t.greaterThan$1(n).value)&&(t=n)}return null!=t?t:(A.SassCalculation__verifyCompatibleNumbers0(i),new A.SassCalculation0("min",i))},SassCalculation_max0(e){var t,r,n,i=A.List_List$unmodifiable(new A.MappedListIterable(e,A.calculation0_SassCalculation__simplify$closure(),A._arrayInstanceType(e)._eval$1("MappedListIterable<1,@>")),D.Object),o=i.length;if(0===o)throw A.wrapException(A.ArgumentError$("max() must have at least one argument.",null));for(t=null,r=0;r<o;++r){if(!((n=i[r])instanceof A.SassNumber0)||null!=t&&!t.isComparableTo$1(n)){t=null;break}(null==t||t.lessThan$1(n).value)&&(t=n)}return null!=t?t:(A.SassCalculation__verifyCompatibleNumbers0(i),new A.SassCalculation0("max",i))},SassCalculation_hypot0(e){var t,r,n,i,o,s,a=A.List_List$unmodifiable(new A.MappedListIterable(e,A.calculation0_SassCalculation__simplify$closure(),A._arrayInstanceType(e)._eval$1("MappedListIterable<1,@>")),D.Object),l=a.length;if(0===l)throw A.wrapException(A.ArgumentError$("hypot() must have at least one argument.",null));if(A.SassCalculation__verifyCompatibleNumbers0(a),!((t=C.JSArray_methods.get$first(a))instanceof A.SassNumber0)||t.hasUnit$1("%"))return new A.SassCalculation0("hypot",a);for(r=0,n=0;n<l;){if(!((i=a[n])instanceof A.SassNumber0&&i.hasCompatibleUnits$1(t)))return new A.SassCalculation0("hypot",a);++n,r+=(o=i.convertValueToMatch$3(t,"numbers["+n+"]","numbers[1]"))*o}return l=Math.sqrt(r),s=t.get$numeratorUnits(t),A.SassNumber_SassNumber$withUnits0(l,t.get$denominatorUnits(t),s)},SassCalculation_abs0:e=>(e=A.SassCalculation__simplify0(e))instanceof A.SassNumber0?(e.hasUnit$1("%")&&A.warnForDeprecation0(P.Passinp+e.toString$0(0)+")\nTo emit a CSS abs() now: abs(#{"+e.toString$0(0)+P.x7dx29_Mor,C.Deprecation_w3M),A.SassNumber_SassNumber0(Math.abs(e._number1$_value),null).coerceToMatch$1(e)):new A.SassCalculation0("abs",A._setArrayType([e],D.JSArray_Object)),SassCalculation_exp0:e=>(e=A.SassCalculation__simplify0(e))instanceof A.SassNumber0?(e.assertNoUnits$0(),A.pow1(A.SassNumber_SassNumber0(2.718281828459045,null),e)):new A.SassCalculation0("exp",A._setArrayType([e],D.JSArray_Object)),SassCalculation_sign0(e){var t,r,n,i;return(t=(e=A.SassCalculation__simplify0(e))instanceof A.SassNumber0)?(r=e._number1$_value,n=!!isNaN(r)||0===r):n=!1,n?t=e:(t?(t=!e.hasUnit$1("%"),i=e):(i=null,t=!1),t=t?A.SassNumber_SassNumber0(w.get$sign$in(i._number1$_value),null).coerceToMatch$1(e):new A.SassCalculation0("sign",A._setArrayType([e],D.JSArray_Object))),t},SassCalculation_clamp0(e,t,r){var n,i;if(null==t&&null!=r)throw A.wrapException(A.ArgumentError$("If value is null, max must also be null.",null));return e=A.SassCalculation__simplify0(e),t=A.NullableExtension_andThen0(t,A.calculation0_SassCalculation__simplify$closure()),r=A.NullableExtension_andThen0(r,A.calculation0_SassCalculation__simplify$closure()),e instanceof A.SassNumber0&&t instanceof A.SassNumber0&&r instanceof A.SassNumber0&&e.hasCompatibleUnits$1(t)&&e.hasCompatibleUnits$1(r)?t.lessThanOrEquals$1(e).value?e:t.greaterThanOrEquals$1(r).value?r:t:(n=[e],null!=t&&n.push(t),null!=r&&n.push(r),i=A.List_List$unmodifiable(n,D.Object),A.SassCalculation__verifyCompatibleNumbers0(i),A.SassCalculation__verifyLength0(i,3),new A.SassCalculation0("clamp",i))},SassCalculation_pow0(e,t){var r=A._setArrayType([e],D.JSArray_Object);return null!=t&&r.push(t),A.SassCalculation__verifyLength0(r,2),e=A.SassCalculation__simplify0(e),t=A.NullableExtension_andThen0(t,A.calculation0_SassCalculation__simplify$closure()),e instanceof A.SassNumber0&&t instanceof A.SassNumber0?(e.assertNoUnits$0(),t.assertNoUnits$0(),A.pow1(e,t)):new A.SassCalculation0("pow",r)},SassCalculation_log0(e,t){var r,n;return e=A.SassCalculation__simplify0(e),t=A.NullableExtension_andThen0(t,A.calculation0_SassCalculation__simplify$closure()),r=A._setArrayType([e],D.JSArray_Object),(n=null!=t)&&r.push(t),(n=!(e instanceof A.SassNumber0)||n&&!(t instanceof A.SassNumber0))?new A.SassCalculation0("log",r):(e.assertNoUnits$0(),t instanceof A.SassNumber0?(t.assertNoUnits$0(),A.log0(e,t)):A.log0(e,null))},SassCalculation_atan20(e,t){var r;return e=A.SassCalculation__simplify0(e),t=A.NullableExtension_andThen0(t,A.calculation0_SassCalculation__simplify$closure()),r=A._setArrayType([e],D.JSArray_Object),null!=t&&r.push(t),A.SassCalculation__verifyLength0(r,2),A.SassCalculation__verifyCompatibleNumbers0(r),e instanceof A.SassNumber0&&t instanceof A.SassNumber0&&!e.hasUnit$1("%")&&!t.hasUnit$1("%")&&e.hasCompatibleUnits$1(t)?A.SassNumber_SassNumber$withUnits0(57.29577951308232*Math.atan2(e._number1$_value,t.convertValueToMatch$3(e,"x","y")),null,A._setArrayType(["deg"],D.JSArray_String)):new A.SassCalculation0("atan2",r)},SassCalculation_rem0(e,t){var r,n;return e=A.SassCalculation__simplify0(e),t=A.NullableExtension_andThen0(t,A.calculation0_SassCalculation__simplify$closure()),r=A._setArrayType([e],D.JSArray_Object),null!=t&&r.push(t),A.SassCalculation__verifyLength0(r,2),A.SassCalculation__verifyCompatibleNumbers0(r),e instanceof A.SassNumber0&&t instanceof A.SassNumber0&&e.hasCompatibleUnits$1(t)?(n=e.modulo$1(t),r=t._number1$_value,A.DoubleWithSignedZero_get_signIncludingZero0(r)!==A.DoubleWithSignedZero_get_signIncludingZero0(e._number1$_value)?r==1/0||r==-1/0?e:0===n._number1$_value?n.unaryMinus$0():n.minus$1(t):n):new A.SassCalculation0("rem",r)},SassCalculation_mod0(e,t){var r;return e=A.SassCalculation__simplify0(e),t=A.NullableExtension_andThen0(t,A.calculation0_SassCalculation__simplify$closure()),r=A._setArrayType([e],D.JSArray_Object),null!=t&&r.push(t),A.SassCalculation__verifyLength0(r,2),A.SassCalculation__verifyCompatibleNumbers0(r),e instanceof A.SassNumber0&&t instanceof A.SassNumber0&&e.hasCompatibleUnits$1(t)?e.modulo$1(t):new A.SassCalculation0("mod",r)},SassCalculation_roundInternal0(e,t,r,n,i,o){var s,a,l,c,u,d,h,p,m,_,g,f,v,b,y,$,x,S,w,E,I=null,M="round",k=A.SassCalculation__simplify0(e),T=A.NullableExtension_andThen0(t,A.calculation0_SassCalculation__simplify$closure()),R=A.NullableExtension_andThen0(r,A.calculation0_SassCalculation__simplify$closure()),L=I,N=I,F=I,O=!1,B=I,U=!1,V=I,z=!1;if(k instanceof A.SassNumber0?((s=!k.get$hasUnits())&&((a=L=null==T)&&(z=F=null==R,B=R,O=!0,U=!0),N=T,V=k),l=s):(s=!1,l=!1),z)return A.SassNumber_SassNumber0(C.JSNumber_methods.round$0(V._number1$_value),I);if(z=!1,k instanceof A.SassNumber0?(s?a=L:(l?a=N:(N=a=T,l=!0),a=L=null==a,s=!0),a&&(O?z=F:(U?z=B:(B=z=R,U=!0),z=F=null==z,O=!0),z=z&&null!=n),V=k):V=I,z)return o.call$2(P.In_fut,C.Deprecation_SGB),z=C.JSNumber_methods.round$0(V._number1$_value),a=V.get$numeratorUnits(V),A.SassNumber_SassNumber$withUnits0(z,V.get$denominatorUnits(V),a);if(r=I,z=!1,k instanceof A.SassNumber0?(c=!0,l?a=N:(l=c,N=a=T),a instanceof A.SassNumber0&&(l?a=N:(l=c,N=a=T),D.SassNumber_2._as(a),O?z=F:(U?z=B:(B=z=R,U=!0),z=F=null==z,O=!0),z=z&&!k.hasCompatibleUnits$1(a),r=a),V=k):V=I,z)return z=D.JSArray_Object,A.SassCalculation__verifyCompatibleNumbers0(A._setArrayType([V,r],z)),new A.SassCalculation0(M,A._setArrayType([V,r],z));if(r=I,z=!1,k instanceof A.SassNumber0?(c=!0,l?a=N:(l=c,N=a=T),a instanceof A.SassNumber0&&(l?a=N:(l=c,N=a=T),D.SassNumber_2._as(a),O?z=F:(U?z=B:(B=z=R,U=!0),z=F=null==z,O=!0),r=a),V=k):V=I,z)return A.SassCalculation__verifyCompatibleNumbers0(A._setArrayType([V,r],D.JSArray_Object)),A.SassCalculation__roundWithStep0("nearest",V,r);if(d=I,h=I,p=I,m=I,_=!1,g=I,f=!1,v=I,V=I,r=I,z=!1,(u=k instanceof A.SassString0)?(c=!0,b=!0,y=!(a=d="nearest"===(a=h=k._string0$_text)),a=!0,y&&(_=!($=p="up"===h))&&(f=!($=m="down"===h))&&(a=g="to-zero"===h),a&&(l?a=N:(l=c,N=a=T),a instanceof A.SassNumber0&&(l?a=N:(l=c,N=a=T),($=D.SassNumber_2)._as(a),U?x=B:(U=b,B=x=R),x instanceof A.SassNumber0&&(U?z=B:(U=b,B=z=R),$._as(z),r=z,z=$=!a.hasCompatibleUnits$1(z)),V=a),v=k)):y=!1,z)return z=D.JSArray_Object,A.SassCalculation__verifyCompatibleNumbers0(A._setArrayType([V,r],z)),new A.SassCalculation0(M,A._setArrayType([v,V,r],z));if(v=I,V=I,r=I,z=!1,k instanceof A.SassString0?(c=!0,b=!0,S=!0,u?(a=d,w=u):(a=d="nearest"===(a=h=k._string0$_text),w=S,u=!0),$=!0,a?(a=$,S=w):(y?a=p:(w?a=h:(a=h=k._string0$_text,w=S),a=p="up"===a,y=!0),a?(a=$,S=w):(_?a=m:(w?a=h:(a=h=k._string0$_text,w=S),a=m="down"===a,_=!0),a?(a=$,S=w):f?(a=g,S=w):(w?(a=h,S=w):a=h=k._string0$_text,a=g="to-zero"===a,f=!0))),a&&(l?a=N:(l=c,N=a=T),a instanceof A.SassNumber0&&(l?a=N:(l=c,N=a=T),($=D.SassNumber_2)._as(a),U?z=B:(U=b,B=z=R),(z=z instanceof A.SassNumber0)&&(U?x=B:(U=b,B=x=R),$._as(x),r=x),V=a),v=k)):S=u,z)return A.SassCalculation__verifyCompatibleNumbers0(A._setArrayType([V,r],D.JSArray_Object)),A.SassCalculation__roundWithStep0(v._string0$_text,V,r);if(v=I,E=I,z=!1,k instanceof A.SassString0&&(c=!0,w=!0,u?a=d:(S?a=h:(a=h=k._string0$_text,S=w),a=d="nearest"===a,u=!0),$=!0,a?a=$:(y?a=p:(S?a=h:(a=h=k._string0$_text,S=w),a=p="up"===a,y=!0),a?a=$:(_?a=m:(S?a=h:(a=h=k._string0$_text,S=w),a=m="down"===a,_=!0),a?a=$:f?a=g:(S?a=h:(a=h=k._string0$_text,S=w),a=g="to-zero"===a,f=!0))),a&&(l?a=N:(l=c,N=a=T),a instanceof A.SassString0&&(l?a=N:(l=c,N=a=T),D.SassString_2._as(a),O?z=F:(U?z=B:(B=z=R,U=!0),z=F=null==z,O=!0),E=a),v=k)),z)return new A.SassCalculation0(M,A._setArrayType([v,E],D.JSArray_Object));if(z=!1,k instanceof A.SassString0&&(w=!0,u?a=d:(S?a=h:(a=h=k._string0$_text,S=w),a=d="nearest"===a,u=!0),$=!0,a?a=$:(y?a=p:(S?a=h:(a=h=k._string0$_text,S=w),a=p="up"===a,y=!0),a?a=$:(_?a=m:(S?a=h:(a=h=k._string0$_text,S=w),a=m="down"===a,_=!0),a?a=$:f?a=g:(S?a=h:(a=h=k._string0$_text,S=w),a=g="to-zero"===a,f=!0))),a&&(l?a=N:(N=a=T,l=!0),null!=a&&(O?z=F:(U?z=B:(B=z=R,U=!0),z=F=null==z,O=!0)))),z)throw A.wrapException(A.SassScriptException$0(P.If_str,I));if(z=!1,k instanceof A.SassString0&&(w=!0,u?a=d:(S?a=h:(a=h=k._string0$_text,S=w),a=d="nearest"===a,u=!0),$=!0,a?a=$:(y?a=p:(S?a=h:(a=h=k._string0$_text,S=w),a=p="up"===a,y=!0),a?a=$:(_?a=m:(S?a=h:(a=h=k._string0$_text,S=w),a=m="down"===a,_=!0),a?a=$:f?a=g:(S?a=h:(a=h=k._string0$_text,S=w),a=g="to-zero"===a,f=!0))),a&&(s?a=L:(l?a=N:(N=a=T,l=!0),a=L=null==a,s=!0),a&&(O?z=F:(U?z=B:(B=z=R,U=!0),z=F=null==z,O=!0)))),z)throw A.wrapException(A.SassScriptException$0(P.Number,I));if(z=!1,s?a=L:(l?a=N:(N=a=T,l=!0),a=L=null==a),a&&(O?z=F:(U?z=B:(B=z=R,U=!0),z=F=null==z,O=!0)),z)return new A.SassCalculation0(M,A._setArrayType([k],D.JSArray_Object));if(r=I,z=!1,c=!0,l?a=N:(l=c,N=a=T),null!=a&&(l?r=N:(l=c,N=r=T),null==r&&(r=A._asObject(r)),O?z=F:(U?z=B:(B=z=R,U=!0),z=F=null==z)),z)return new A.SassCalculation0(M,A._setArrayType([k,r],D.JSArray_Object));if(k instanceof A.SassString0?(z=!0,u?a=d:(S?a=h:(a=h=k._string0$_text,S=!0),a=d="nearest"===a),a||(y?a=p:(S?a=h:(a=h=k._string0$_text,S=!0),a=p="up"===a),a||(_?a=m:(S?a=h:(a=h=k._string0$_text,S=!0),a=m="down"===a),a||(z=f?g:g="to-zero"===(z=S?h:h=k._string0$_text))))):z=!1,V=I,r=I,a=!1,(z=!!z||k instanceof A.SassString0&&k.get$isSpecialVariable())?(c=!0,b=!0,D.SassString_2._as(k),l?z=N:(l=c,N=z=T),null!=z?(l?V=N:(l=c,N=V=T),null==V&&(V=A._asObject(V)),U?z=B:(U=b,B=z=R),(z=null!=z)&&(U?r=B:(U=b,B=r=R),null==r&&(r=A._asObject(r)))):z=a,v=k):(z=a,v=I),z)return new A.SassCalculation0(M,A._setArrayType([v,V,r],D.JSArray_Object));if(z=!1,null!=(l?N:T)&&(z=null!=(U?B:R)),z)throw A.wrapException(A.SassScriptException$0(A.S(e)+P.x20must_b,I));throw z=A.SassScriptException$0("Invalid parameters.",I),A.wrapException(z)},SassCalculation_calcSize0(e,t){var r=D.JSArray_Object,n=A._setArrayType([e],r);return null!=t&&n.push(t),A.SassCalculation__verifyLength0(n,2),e=A.SassCalculation__simplify0(e),t=A.NullableExtension_andThen0(t,A.calculation0_SassCalculation__simplify$closure()),r=A._setArrayType([e],r),null!=t&&r.push(t),new A.SassCalculation0("calc-size",r)},SassCalculation_operateInternal0(e,t,r,n,i,o){var s,a;return i?(t=A.SassCalculation__simplify0(t),r=A.SassCalculation__simplify0(r),C.CalculationOperator_dpX0===e||C.CalculationOperator_KrC0===e?t instanceof A.SassNumber0&&r instanceof A.SassNumber0&&(!(s=t.hasCompatibleUnits$1(r))&&null!=n&&t.isComparableTo$1(r)&&(o.call$2("In future versions of Sass, "+n+"() will be interpreted as the CSS "+n+P.x28__cal+n+P.x28__ins,C.Deprecation_SGB),s=!0),s)?e===C.CalculationOperator_dpX0?t.plus$1(r):t.minus$1(r):(A.SassCalculation__verifyCompatibleNumbers0(A._setArrayType([t,r],D.JSArray_Object)),(a=r instanceof A.SassNumber0&&((a=r._number1$_value)<0&&!A.fuzzyEquals0(a,0)))&&(r=r.times$1(A.SassNumber_SassNumber0(-1,null)),e=e===C.CalculationOperator_dpX0?C.CalculationOperator_KrC0:C.CalculationOperator_dpX0),new A.CalculationOperation0(e,t,r)):t instanceof A.SassNumber0&&r instanceof A.SassNumber0?e===C.CalculationOperator_LPB0?t.times$1(r):t.dividedBy$1(r):new A.CalculationOperation0(e,t,r)):new A.CalculationOperation0(e,t,r)},SassCalculation__roundWithStep0(e,t,r){var n,i,o,s,a,l,c,u,d,h,p,m=null;if(!A.LinkedHashSet_LinkedHashSet$_literal(["nearest","up","down","to-zero"],D.String).contains$1(0,e))throw A.wrapException(A.ArgumentError$(e+P.x20must_b,m));return(i=!!(i=((n=t._number1$_value)==1/0||n==-1/0)&&((i=r._number1$_value)==1/0||i==-1/0))||(0===(i=r._number1$_value)||isNaN(n)||isNaN(i)))?(i=t.get$numeratorUnits(t),A.SassNumber_SassNumber$withUnits0(NaN,t.get$denominatorUnits(t),i)):n==1/0||n==-1/0?t:(i=r._number1$_value)==1/0||i==-1/0?(0!==n?(a=m,l=m,(i=!(s=!(i=o="nearest"===e))||(a="to-zero"===e))?(i=l=n>0,c=!0):(c=!1,i=!1),i?(i=t.get$numeratorUnits(t),i=A.SassNumber_SassNumber$withUnits0(0,t.get$denominatorUnits(t),i)):(i=!!o||(s?a:a="to-zero"===e))?(i=t.get$numeratorUnits(t),i=A.SassNumber_SassNumber$withUnits0(-0,t.get$denominatorUnits(t),i)):(i=!!(i=u="up"===e)&&(c?l:l=n>0))?(i=t.get$numeratorUnits(t),i=A.SassNumber_SassNumber$withUnits0(1/0,t.get$denominatorUnits(t),i)):u?(i=t.get$numeratorUnits(t),i=A.SassNumber_SassNumber$withUnits0(-0,t.get$denominatorUnits(t),i)):(i=!!(i=d="down"===e)&&n<0)?(i=t.get$numeratorUnits(t),i=A.SassNumber_SassNumber$withUnits0(-1/0,t.get$denominatorUnits(t),i)):d?(i=t.get$numeratorUnits(t),i=A.SassNumber_SassNumber$withUnits0(0,t.get$denominatorUnits(t),i)):i=A.throwExpression(A.UnsupportedError$("Invalid argument: "+e+"."))):i=t,i):(h=r.convertValueToMatch$1(t),"nearest"!==e?"up"!==e?"down"!==e?"to-zero"!==e?(i=t.get$numeratorUnits(t),i=A.SassNumber_SassNumber$withUnits0(NaN,t.get$denominatorUnits(t),i)):(i=n/h,n<0?(i=C.JSNumber_methods.ceil$0(i),p=t.get$numeratorUnits(t),i=p=A.SassNumber_SassNumber$withUnits0(i*h,t.get$denominatorUnits(t),p)):(i=C.JSNumber_methods.floor$0(i),p=t.get$numeratorUnits(t),i=p=A.SassNumber_SassNumber$withUnits0(i*h,t.get$denominatorUnits(t),p))):(p=n/h,i=i<0?C.JSNumber_methods.ceil$0(p):C.JSNumber_methods.floor$0(p),p=t.get$numeratorUnits(t),i=p=A.SassNumber_SassNumber$withUnits0(i*h,t.get$denominatorUnits(t),p)):(p=n/h,i=i<0?C.JSNumber_methods.floor$0(p):C.JSNumber_methods.ceil$0(p),p=t.get$numeratorUnits(t),i=p=A.SassNumber_SassNumber$withUnits0(i*h,t.get$denominatorUnits(t),p)):(i=C.JSNumber_methods.round$0(n/h),p=t.get$numeratorUnits(t),i=p=A.SassNumber_SassNumber$withUnits0(i*h,t.get$denominatorUnits(t),p)),i)},SassCalculation__simplify0(e){var t,r,n,i,o,s,a,l,c,u,d,h=null,p=" can't be used in a calculation.";return e instanceof A.SassNumber0||e instanceof A.CalculationOperation0?t=e:e instanceof A.CalculationInterpolation?t=new A.SassString0("("+e._calculation0$_value+")",!1):(r=h,!(t=e instanceof A.SassString0)||e._string0$_hasQuotes?(t&&A.throwExpression(A.SassScriptException$0("Quoted string "+e.toString$0(0)+p,h)),i=h,o=h,s=!1,a=h,t=!1,(n=e instanceof A.SassCalculation0)?((l="calc"===e.name)&&(i=1===(o=e.$arguments).length)?((r=c=o[0])instanceof A.SassString0&&(D.SassString_2._as(c),c._string0$_hasQuotes||(a=c._string0$_text,t=A.SassCalculation__needsParentheses0(a))),s=!0):c=r,d=u=l):(c=r,l=h,d=!1,u=!1),t?t=new A.SassString0("("+A.S(a)+")",!1):(t=!1,n&&l&&(d?t=i:(u?t=o:(t=o=e.$arguments,u=!0),t=i=1===t.length)),t?t=s?c:c=(u?o:e.$arguments)[0]:n?t=e:(e instanceof A.Value0&&A.throwExpression(A.SassScriptException$0("Value "+e.toString$0(0)+p,h)),t=A.throwExpression(A.ArgumentError$("Unexpected calculation argument "+A.S(e)+".",h))))):t=e),t},SassCalculation__needsParentheses0(e){var t,r,n,i,o,s,a,l=e.charCodeAt(0);if(32===l||9===l||10===l||13===l||12===l||47===l||42===l)return!0;if(r=(t=e.length)>=4&&A.characterEqualsIgnoreCase0(l,118),t<2)return!1;if(32===(n=e.charCodeAt(1))||9===n||10===n||13===n||12===n||47===n||42===n)return!0;if(r=r&&A.characterEqualsIgnoreCase0(n,97),t<3)return!1;if(32===(i=e.charCodeAt(2))||9===i||10===i||13===i||12===i||47===i||42===i)return!0;if(r=r&&A.characterEqualsIgnoreCase0(i,114),t<4)return!1;if(o=e.charCodeAt(3),r&&40===o)return!0;if(32===o||9===o||10===o||13===o||12===o||47===o||42===o)return!0;for(s=4;s<t;++s)if(32===(a=e.charCodeAt(s))||9===a||10===a||13===a||12===a||47===a||42===a)return!0;return!1},SassCalculation__verifyCompatibleNumbers0(e){var t,r,n,i,o,s,a,l;for(t=e.length,r=0;r<(n=e.length);e.length===t||(0,A.throwConcurrentModificationError)(e),++r)if((i=e[r])instanceof A.SassNumber0&&i.get$hasComplexUnits())throw A.wrapException(A.SassScriptException$0("Number "+i.toString$0(0)+" isn't compatible with CSS calculations.",null));for(t=n,o=0;o<t-1;++o)if((s=e[o])instanceof A.SassNumber0)for(a=o+1;a<(t=e.length);++a)if((l=e[a])instanceof A.SassNumber0&&!s.hasPossiblyCompatibleUnits$1(l))throw A.wrapException(A.SassScriptException$0(s.toString$0(0)+" and "+l.toString$0(0)+" are incompatible.",null))},SassCalculation__verifyLength0(e,t){var r;if(e.length!==t&&!C.JSArray_methods.any$1(e,new A.SassCalculation__verifyLength_closure0))throw r=e.length,A.wrapException(A.SassScriptException$0(t+" arguments required, but only "+r+" "+A.pluralize0("was",r,"were")+" passed.",null))},SassCalculation__singleArgument0:(e,t,r,n)=>(t=A.SassCalculation__simplify0(t))instanceof A.SassNumber0?(n&&t.assertNoUnits$0(),r.call$1(t)):new A.SassCalculation0(e,A._setArrayType([t],D.JSArray_Object)),SassCalculation0:function(e,t){this.name=e,this.$arguments=t},SassCalculation__verifyLength_closure0:function(){},CalculationOperation0:function(e,t,r){this._calculation0$_operator=e,this._calculation0$_left=t,this._calculation0$_right=r},CalculationOperator0:function(e,t,r,n,i){var o=this;o.name=e,o.operator=t,o.precedence=r,o.index=n,o._name=i},CalculationInterpolation:function(e){this._calculation0$_value=e},CallableDeclaration0:function(){},updateCanonicalizeContextPrototype(){var e=D.JSClass._as(new A.CanonicalizeContext0(!1,null).constructor);return A.LinkedHashMap_LinkedHashMap$_literal(["fromImport",new A.updateCanonicalizeContextPrototype_closure,"containingUrl",new A.updateCanonicalizeContextPrototype_closure0],D.String,D.Function).forEach$1(0,A.JSClassExtension_get_defineGetter(e)),null},updateCanonicalizeContextPrototype_closure:function(){},updateCanonicalizeContextPrototype_closure0:function(){},CanonicalizeContext0:function(e,t){this._canonicalize_context$_fromImport=e,this._canonicalize_context$_containingUrl=t,this._canonicalize_context$_wasContainingUrlAccessed=!1},ColorChannel0:function(e,t,r){this.name=e,this.isPolarAngle=t,this.associatedUnit=r},LinearChannel0:function(e,t,r,n,i,o,s,a){var l=this;l.min=e,l.max=t,l.requiresPercent=r,l.lowerClamped=n,l.upperClamped=i,l.name=o,l.isPolarAngle=s,l.associatedUnit=a},Chokidar0:function(){},ChokidarOptions0:function(){},ChokidarWatcher0:function(){},InterpolatedClassSelector:function(e){this.name=e},ClassSelector0:function(e,t){this.name=e,this.span=t},ClipGamutMap0:function(e){this.name=e},cloneCssStylesheet0(e,t){var r=t.clone$0();return new A._Record_2(new A._CloneCssVisitor0(r._1)._clone_css$_visitChildren$2(A.ModifiableCssStylesheet$0(e.get$span(e)),e),r._0)},_CloneCssVisitor0:function(e){this._clone_css$_oldToNewSelectors=e},ColorExpression0:function(e,t){this.value=e,this.span=t},_invert0(e,t){var r,n,i,o,s,a,l,c,u,d,h,p,m="weight",_="space",g=w.getInterceptor$asx(e),f=g.$index(e,1).assertNumber$1(m);if(r=g.$index(e,0)instanceof A.SassNumber0||t&&g.$index(e,0).get$isSpecialNumber()){if(100!==f._number1$_value||!f.hasUnit$1("%"))throw A.wrapException(P.Only_oa);return A._functionString0("invert",g.take$1(e,1))}if(n=g.$index(e,0).assertColor$1("color"),g.$index(e,2).$eq(0,C.C__SassNull0)){if(!(g=n._color0$_space).get$isLegacyInternal())throw A.wrapException(A.SassScriptException$0(P.To_usei+n.toString$0(0)+", you must provide a $space.","color"));return A._checkPercent0(f,m),i=n.toSpace$1(C.RgbColorSpace_i0P0),o=C.LinearChannel_vJ30,A._mixLegacy0(A.SassColor_SassColor$rgbInternal0(A._invertChannel0(i,C.LinearChannel_qXC0,i.channel0OrNull),A._invertChannel0(i,C.LinearChannel_Z5r0,i.channel1OrNull),A._invertChannel0(i,o,i.channel2OrNull),n.alphaOrNull,null),n,f).toSpace$1(g)}return(g=g.$index(e,2).assertString$1(_)).assertUnquoted$1(_),s=A.ColorSpace_fromName0(g._string0$_text,_),a=f.valueInRangeWithUnit$4(0,100,m,"%")/100,A.fuzzyEquals0(a,0)?n:(l=n.toSpace$1(s),C.HwbColorSpace_guQ0!==s?C.HslColorSpace_JQ20!==s&&C.LchColorSpace_Bpv0!==s&&C.OklchColorSpace_9Gj0!==s?(d=(u=s._space$_channels)[0],h=u[1],o=u[2],g=A._invertChannel0(l,d,l.channel0OrNull),r=A._invertChannel0(l,h,l.channel1OrNull),c=A._invertChannel0(l,o,l.channel2OrNull),p=l.alphaOrNull,g=A.SassColor_SassColor$forSpaceInternal0(s,g,r,c,null==p?0:p)):(g=s._space$_channels,r=A._invertChannel0(l,g[0],l.channel0OrNull),g=A._invertChannel0(l,g[2],l.channel2OrNull),null==(c=l.alphaOrNull)&&(c=0),g=c=A.SassColor_SassColor$forSpaceInternal0(s,r,l.channel1OrNull,g,c)):(g=A._invertChannel0(l,s._space$_channels[0],l.channel0OrNull),null==(r=l.alphaOrNull)&&(r=0),g=r=A.SassColor_SassColor$hwb0(g,l.channel2OrNull,l.channel1OrNull,r)),A.fuzzyEquals0(a,1)?g.toSpace$2$legacyMissing(n._color0$_space,!1):n.interpolate$4$legacyMissing$weight(g,A.InterpolationMethod$0(s,null),!1,1-a))},_invertChannel0(e,t,r){var n,i;return null==r&&A._missingChannelError0(e,t.name),i=null,!!(n=t instanceof A.LinearChannel0)&&(i=t.min)<0?-r:!!n&&0===i?t.max-r:t.isPolarAngle?C.JSNumber_methods.$mod(r+180,360):A.throwExpression(A.UnsupportedError$("Unknown channel "+t.toString$0(0)+"."))},_grayscale0(e){var t,r,n,i=e.assertColor$1("color"),o=i._color0$_space;return o.get$isLegacyInternal()?(null==(r=(t=i.toSpace$1(C.HslColorSpace_JQ20)).alphaOrNull)&&(r=0),A.SassColor_SassColor$hsl0(t.channel0OrNull,0,t.channel2OrNull,r).toSpace$2$legacyMissing(o,!1)):(null==(r=(n=i.toSpace$1(C.OklchColorSpace_9Gj0)).alphaOrNull)&&(r=0),A.SassColor_SassColor$forSpaceInternal0(C.OklchColorSpace_9Gj0,n.channel0OrNull,0,n.channel2OrNull,r).toSpace$1(o))},_updateComponents0(e,t,r,n){var i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b=null,y="space",$=w.getInterceptor$asx(e),x=D.SassArgumentList_2._as($.$index(e,1));if(0!==x._list1$_contents.length)throw A.wrapException(A.SassScriptException$0(P.Only_op,b));for(x._argument_list$_wereKeywordsAccessed=!0,i=D.String,o=D.Value_2,s=A.LinkedHashMap_LinkedHashMap$of(x._argument_list$_keywords,i,o),a=$.$index(e,0).assertColor$1("color"),null==(l=null==($=s.remove$1(0,y))?b:$.assertString$1(y))?l=b:l.assertUnquoted$1(y),c=s.remove$1(0,"alpha"),u=($=null==l)&&a._color0$_space.get$isLegacyInternal()&&0!==s.__js_helper$_length?null==($=A.NullableExtension_andThen0(A._sniffLegacyColorSpace0(s),new A._updateComponents_closure1(a)))?a:$:A._colorInSpace0(a,$?C.C__SassNull0:l,!0),d=A.List_List$filled(u.get$channels().length,b,!1,D.nullable_Value_2),h=($=u._color0$_space)._space$_channels,i=(i=A.MapExtensions_get_pairs0(s,i,o)).get$iterator(i);i.moveNext$0();){if(o={},p=i.get$current(i),o.name=null,o.name=p._0,m=p._1,-1===(_=C.JSArray_methods.indexWhere$1(h,new A._updateComponents_closure2(o))))throw A.wrapException(A.SassScriptException$0("Color space "+$.toString$0(0)+" doesn't have a channel with this name.",o.name));d[_]=m}if(r)g=A._changeColor0(u,d,c);else{for(i=A._setArrayType([],D.JSArray_nullable_SassNumber_2),f=0;f<3;++f)o=d[f],i.push(null==o?b:o.assertNumber$1(h[f].name));v=null==c?b:c.assertNumber$1("alpha"),g=n?A.SassColor_SassColor$forSpaceInternal0($,A._scaleChannel0(u,h[0],u.channel0OrNull,i[0]),A._scaleChannel0(u,h[1],u.channel1OrNull,i[1]),A._scaleChannel0(u,h[2],u.channel2OrNull,i[2]),A._scaleChannel0(u,C.LinearChannel_XL80,u.alphaOrNull,v)):A._adjustColor0(u,i,v)}return g.toSpace$2$legacyMissing(a._color0$_space,!1)},_changeColor0(e,t,r){var n,i="alpha",o=A._channelForChange0(t[0],e,0),s=A._channelForChange0(t[1],e,1),a=A._channelForChange0(t[2],e,2);return null!=r?n=(n=A._isNone0(r))?null:!(n=r instanceof A.SassNumber0)||r.get$hasUnits()?n&&r.hasUnit$1("%")?r.valueInRangeWithUnit$4(0,100,i,"%")/100:n?new A._changeColor_closure0(r).call$0():A.throwExpression(A.SassScriptException$0(r.toString$0(0)+' is not a number or unquoted "none".',i)):r.valueInRange$3(0,1,i):null==(n=e.alphaOrNull)&&(n=0),A._colorFromChannels0(e._color0$_space,o,s,a,n,!1,!1)},_channelForChange0(e,t,r){var n,i;if(null==e)return null==(n=t.get$channelsOrNull()[r])?i=null:(i=t._color0$_space,i=A.SassNumber_SassNumber0(n,(i===C.HslColorSpace_JQ20||i===C.HwbColorSpace_guQ0)&&r>0?"%":null)),i;if(A._isNone0(e))return null;if(e instanceof A.SassNumber0)return e;throw A.wrapException(A.SassScriptException$0(e.toString$0(0)+' is not a number or unquoted "none".',t._color0$_space._space$_channels[r].name))},_scaleChannel0(e,t,r,n){var i,o;if(null==n)return r;if(!(t instanceof A.LinearChannel0))throw A.wrapException(A.SassScriptException$0("Channel isn't scalable.",t.name));return null==r&&A._missingChannelError0(e,t.name),i=t.name,n.assertUnit$2("%",i),i=0!==(o=n.valueInRangeWithUnit$4(-100,100,i,"%")/100)?o>0?r>=(i=t.max)?r:r+(i-r)*o:r<=(i=t.min)?r:r+(r-i)*o:r},_adjustColor0(e,t,r){var n=e._color0$_space,i=n._space$_channels;return A.SassColor_SassColor$forSpaceInternal0(n,A._adjustChannel0(e,i[0],e.channel0OrNull,t[0]),A._adjustChannel0(e,i[1],e.channel1OrNull,t[1]),A._adjustChannel0(e,i[2],e.channel2OrNull,t[2]),A.NullableExtension_andThen0(A._adjustChannel0(e,C.LinearChannel_XL80,e.alphaOrNull,r),new A._adjustColor_closure0))},_adjustChannel0(e,t,r,n){var i,o,s,a,l,c,u,d,h,p,m,_=null;return null==n?r:(null==r&&A._missingChannelError0(e,t.name),i=e._color0$_space,(a=!!(s=o=C.HslColorSpace_JQ20===i)||C.HwbColorSpace_guQ0===i)?(s=t.isPolarAngle,l=t):(l=_,s=!1),s?n=A.SassNumber_SassNumber0(A._angleValue0(n,"hue"),_):(s=!1,o&&(c=!0,a?u=l:(a=c,l=u=t),u instanceof A.LinearChannel0&&(a?s=l:(a=c,l=s=t),s="saturation"===(s=d=D.LinearChannel_2._as(s).name)||"lightness"===d)),s?(A._checkPercent0(n,t.name),n=A.SassNumber_SassNumber0(n._number1$_value,"%")):C.LinearChannel_XL80===(a?l:t)&&n.get$hasUnits()&&(A.warnForDeprecation0("$alpha: Passing a number with unit "+n.get$unitString()+P.x20is_de+n.unitSuggestion$1("alpha")+P.x0a_Morex3af,C.Deprecation_PHd),n=A.SassNumber_SassNumber0(n._number1$_value,_))),(s=A._channelFromValue0(t,n,!1)).toString,h=r+s,p=_,u=!1,(s=t instanceof A.LinearChannel0)&&t.lowerClamped&&(u=h<(p=t.min)),u?s=r<p?Math.max(r,h):p:(m=_,u=!1,s=(s=s&&t.upperClamped?h>(m=t.max):u)?r>m?Math.min(r,h):m:h),s)},_sniffLegacyColorSpace0(e){var t,r;for(t=new A.LinkedHashMapKeyIterator(e,e._modifications,e._first);t.moveNext$0();){if("red"===(r=t.__js_helper$_current)||"green"===r||"blue"===r)return C.RgbColorSpace_i0P0;if("saturation"===r||"lightness"===r)return C.HslColorSpace_JQ20;if("whiteness"===r||"blackness"===r)return C.HwbColorSpace_guQ0}return e.containsKey$1("hue")?C.HslColorSpace_JQ20:null},_functionString0:(e,t)=>new A.SassString0(e+"("+w.map$1$1$ax(t,new A._functionString_closure0,D.String).join$1(0,", ")+")",!1),_removedColorFunction0:(e,t,r)=>A.BuiltInCallable$function0(e,"$color, $amount",new A._removedColorFunction_closure0(e,t,r),"sass:color"),_rgb0(e,t){var r,n,i=w.getInterceptor$asx(t),o=i.get$length(t)>3?i.$index(t,3):null,s=!0;return i.$index(t,0).get$isSpecialNumber()||i.$index(t,1).get$isSpecialNumber()||i.$index(t,2).get$isSpecialNumber()||(s=!0===(s=null==o?null:o.get$isSpecialNumber())),s?A._functionString0(e,t):(s=i.$index(t,0).assertNumber$1("red"),r=i.$index(t,1).assertNumber$1("green"),i=i.$index(t,2).assertNumber$1("blue"),n=A.NullableExtension_andThen0(o,new A._rgb_closure0),A._colorFromChannels0(C.RgbColorSpace_i0P0,s,r,i,null==n?1:n,!0,!0))},_rgbTwoArg0(e,t){var r,n=w.getInterceptor$asx(t),i=n.$index(t,0),o=n.$index(t,1);if(!!i.get$isSpecialVariable()||!(i instanceof A.SassColor0)&&o.get$isSpecialVariable())return A._functionString0(e,t);if(!(r=i.assertColor$1("color"))._color0$_space.get$isLegacyInternal())throw A.wrapException(A.SassScriptException$0("Expected "+r.toString$0(0)+P.x20to_be_+r.toString$0(0)+", $alpha: "+o.toString$0(0)+")",e));return r.assertLegacy$1("color"),r=r.toSpace$1(C.RgbColorSpace_i0P0),o.get$isSpecialNumber()?A._functionString0(e,A._setArrayType([A.SassNumber_SassNumber0(r.channel$1(0,"red"),null),A.SassNumber_SassNumber0(r.channel$1(0,"green"),null),A.SassNumber_SassNumber0(r.channel$1(0,"blue"),null),n.$index(t,1)],D.JSArray_Value_2)):(n=A._percentageOrUnitless0(n.$index(t,1).assertNumber$1("alpha"),1,"alpha"),r.changeAlpha$1(isNaN(n)?0:C.JSNumber_methods.clamp$2(n,0,1)))},_hsl0(e,t){var r,n,i=w.getInterceptor$asx(t),o=i.get$length(t)>3?i.$index(t,3):null,s=!0;return i.$index(t,0).get$isSpecialNumber()||i.$index(t,1).get$isSpecialNumber()||i.$index(t,2).get$isSpecialNumber()||(s=!0===(s=null==o?null:o.get$isSpecialNumber())),s?A._functionString0(e,t):(s=i.$index(t,0).assertNumber$1("hue"),r=i.$index(t,1).assertNumber$1("saturation"),i=i.$index(t,2).assertNumber$1("lightness"),n=A.NullableExtension_andThen0(o,new A._hsl_closure0),A._colorFromChannels0(C.HslColorSpace_JQ20,s,r,i,null==n?1:n,!0,!1))},_angleValue0(e,t){var r=e.assertNumber$1(t);return r.compatibleWithUnit$1("deg")?r.coerceValueToUnit$1("deg"):(A.warnForDeprecation0("$"+t+": Passing a unit other than deg ("+r.toString$0(0)+P.x29x20is_d_+r.unitSuggestion$1(t)+P.x0a_See_,C.Deprecation_PHd),r._number1$_value)},_checkPercent0(e,t){e.hasUnit$1("%")||A.warnForDeprecation0("$"+t+": Passing a number without unit % ("+e.toString$0(0)+P.x29x20is_d_+e.unitSuggestion$2(t,"%")+P.x0a_Morex3af,C.Deprecation_PHd)},_percentageOrUnitless0(e,t,r){var n;if(e.get$hasUnits()){if(!e.hasUnit$1("%"))throw A.wrapException(A.SassScriptException$0("Expected "+e.toString$0(0)+' to have unit "%" or no units.',r));n=t*e._number1$_value/100}else n=e._number1$_value;return n},_mixLegacy0(e,t,r){var n,i,o,s,a,l,c,u,d,h,p=e.toSpace$1(C.RgbColorSpace_i0P0),m=t.toSpace$1(C.RgbColorSpace_i0P0),_=r.valueInRange$3(0,100,"weight")/100,g=2*_-1,f=e.alphaOrNull;return null==f&&(f=0),s=1-(o=((-1===(f=g*(i=f-(null==(n=t.alphaOrNull)?0:n)))?g:(g+i)/(1+f))+1)/2),null==(f=p.channel0OrNull)&&(f=0),null==(n=m.channel0OrNull)&&(n=0),null==(a=p.channel1OrNull)&&(a=0),null==(l=m.channel1OrNull)&&(l=0),null==(c=p.channel2OrNull)&&(c=0),null==(u=m.channel2OrNull)&&(u=0),null==(d=p.alphaOrNull)&&(d=0),null==(h=m.alphaOrNull)&&(h=0),A.SassColor_SassColor$rgbInternal0(f*o+n*s,a*o+l*s,c*o+u*s,d*_+h*(1-_),null)},_opacify0(e,t){var r,n=w.getInterceptor$asx(t),i=n.$index(t,0).assertColor$1("color"),o=n.$index(t,1).assertNumber$1("amount");if(!i._color0$_space.get$isLegacyInternal())throw A.wrapException(A.SassScriptException$0(e+P.x28__is_oa,null));return null==(n=i.alphaOrNull)&&(n=0),n+=o.valueInRangeWithUnit$4(0,1,"amount",""),r=i.changeAlpha$1(isNaN(n)?0:C.JSNumber_methods.clamp$2(n,0,1)),A.warnForDeprecation0(e+"() is deprecated. "+A._suggestScaleAndAdjust0(i,o._number1$_value,"alpha")+P.x0a_Morex3ac,C.Deprecation_hJG),r},_transparentize0(e,t){var r,n=w.getInterceptor$asx(t),i=n.$index(t,0).assertColor$1("color"),o=n.$index(t,1).assertNumber$1("amount");if(!i._color0$_space.get$isLegacyInternal())throw A.wrapException(A.SassScriptException$0(e+P.x28__is_oa,null));return null==(n=i.alphaOrNull)&&(n=0),n-=o.valueInRangeWithUnit$4(0,1,"amount",""),r=i.changeAlpha$1(isNaN(n)?0:C.JSNumber_methods.clamp$2(n,0,1)),A.warnForDeprecation0(e+"() is deprecated. "+A._suggestScaleAndAdjust0(i,-o._number1$_value,"alpha")+P.x0a_Morex3ac,C.Deprecation_hJG),r},_colorInSpace0(e,t,r){var n,i="space",o=e.assertColor$1("color");return t.$eq(0,C.C__SassNull0)?o:((n=t.assertString$1(i)).assertUnquoted$1(i),o.toSpace$2$legacyMissing(A.ColorSpace_fromName0(n._string0$_text,i),r))},_parseChannels0(e,t,r,n){var i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y,$,x,S,w=null;if(t.get$isSpecialVariable())return A._functionString0(e,A._setArrayType([t],D.JSArray_Value_2));if(null==(i=A._parseSlashChannels0(t,r)))return A._functionString0(e,A._setArrayType([t],D.JSArray_Value_2));if(o=i._0,s=i._1,(l=(a=o.assertCommonListStyle$2$allowSlash(r,!1)).length)<=0)throw A.wrapException(A.SassScriptException$0("Color component list may not be empty.",r));if(d=!1,(u=c=l>=1)?((h=a[0])instanceof A.SassString0?(D.SassString_2._as(h),u=!h._string0$_hasQuotes&&"from"===h._string0$_text.toLowerCase()):u=d,p=!0):(u=d,h=w,p=!1),u)return A._functionString0(e,A._setArrayType([t],D.JSArray_Value_2));if(u=o.get$isSpecialVariable())m=A._setArrayType([o],D.JSArray_Value_2);else{if(m=w,c?(_=p?h:a[0],g=C.JSArray_methods.sublist$1(a,1),f=a,u=!0):(g=f=m,_=w,u=!1),!u)throw A.wrapException("unreachable");if(null==n){if((v=_.assertString$1(r)).assertUnquoted$1(r),n=v.get$isSpecialVariable()?w:A.ColorSpace_fromName0(v._string0$_text,r),C.RgbColorSpace_i0P0===n||C.HslColorSpace_JQ20===n||C.HwbColorSpace_guQ0===n||C.LabColorSpace_2nT0===n||C.LchColorSpace_Bpv0===n||C.OklabColorSpace_5400===n||C.OklchColorSpace_9Gj0===n)throw A.wrapException(A.SassScriptException$0(P.The_co+A.S(n)+". Use the "+A.S(n)+"() function instead.",r));m=g}else m=f;for(b=0;b<m.length;++b)if(u=!1,(y=m[b]).get$isSpecialNumber()||y instanceof A.SassNumber0||(u=!(y instanceof A.SassString0&&!y._string0$_hasQuotes&&"none"===y._string0$_text.toLowerCase())),u)throw u=w,null==n||(d=n._space$_channels,null!=(d=b<3?d[b]:w)&&(u=(new A._parseChannels_closure1).call$1(d.name))),null==($=u)&&($="channel "+(b+1)),A.wrapException(A.SassScriptException$0("Expected "+$+" to be a number, was "+y.toString$0(0)+".",r))}if(!0===(d=(u=null==s)?w:s.get$isSpecialNumber()))return 3===m.length&&C.Set_9FDyj0.contains$1(0,n)?(u=A.List_List$_of(m,D.Value_2),s.toString,u.push(s),u=A._functionString0(e,u)):u=A._functionString0(e,A._setArrayType([t],D.JSArray_Value_2)),u;if(u?d=1:s instanceof A.SassString0&&!s._string0$_hasQuotes&&"none"===s._string0$_text?d=w:(d=A._percentageOrUnitless0(s.assertNumber$1(r),1,"alpha"),d=isNaN(d)?0:C.JSNumber_methods.clamp$2(d,0,1)),null==n)return A._functionString0(e,A._setArrayType([t],D.JSArray_Value_2));if(C.JSArray_methods.any$1(m,new A._parseChannels_closure2))return 3===m.length&&C.Set_9FDyj0.contains$1(0,n)?(d=A.List_List$_of(m,D.Value_2),u||d.push(s),u=A._functionString0(e,d)):u=A._functionString0(e,A._setArrayType([t],D.JSArray_Value_2)),u;if(3!==m.length)throw A.wrapException(A.SassScriptException$0("The "+n.toString$0(0)+" color space has 3 channels but "+t.toString$0(0)+" has "+m.length+".",r));return u=(u=m[0])instanceof A.SassNumber0?u:w,x=(x=m[1])instanceof A.SassNumber0?x:w,S=(S=m[2])instanceof A.SassNumber0?S:w,A._colorFromChannels0(n,u,x,S,d,!0,n===C.RgbColorSpace_i0P0)},_parseSlashChannels0(e,t){var r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y,$=null,x=e.assertCommonListStyle$2$allowSlash(t,!0);return n=$,i=!1,2===(r=x.length)?(o=x[0],n=x[1],i=e.get$separator(e)===C.ListSeparator_Lul0):o=$,i?i=new A._Record_2(o,n):((i=e.get$separator(e))===C.ListSeparator_Lul0&&(i=x.length,A.throwExpression(A.SassScriptException$0(P.Only_2+i+" "+A.pluralize0("was",i,"were")+" passed.",t))),a=$,l=$,c=$,u=!1,(i=s=r>=1)?(c=a=C.JSArray_methods.sublist$2(x,0,r-1),(i=l=x[r-1])instanceof A.SassString0?(D.SassString_2._as(l),i=!l._string0$_hasQuotes):i=u,d=!0,h=!0):(i=u,d=!1,h=!1),i?(i=h?l:l=x[r-1],1!==(m=(p=D.SassString_2._as(i)._string0$_text.split("/")).length)?2!==m?i=$:(_=p[0],g=p[1],(i=A.List_List$_of(c,D.Value_2)).push(A._parseNumberOrString0(_)),i=new A._Record_2(A.SassList$0(i,C.ListSeparator_SrV0,!1),A._parseNumberOrString0(g))):i=new A._Record_2(e,$)):(f=$,v=!1,i=!1,s?(b=!0,c=d?a:a=C.JSArray_methods.sublist$2(x,0,r-1),h?u=l:(u=l=x[r-1],h=b),(v=u instanceof A.SassNumber0)&&(h?i=l:(i=l=x[r-1],h=b),i=f=D.SassNumber_2._as(i).asSlash,i=D.Record_2_nullable_Object_and_nullable_Object._is(i))):c=$,i?(v?i=f:(h?i=l:(i=l=x[r-1],h=!0),i=f=D.SassNumber_2._as(i).asSlash,v=!0),null==i&&(i=D.Record_2_nullable_Object_and_nullable_Object._as(i)),v?u=f:(u=h?l:l=x[r-1],u=f=D.SassNumber_2._as(u).asSlash),null==u&&(u=D.Record_2_nullable_Object_and_nullable_Object._as(u)),(y=A.List_List$_of(c,D.Value_2)).push(i._0),i=new A._Record_2(A.SassList$0(y,C.ListSeparator_SrV0,!1),u._1)):i=new A._Record_2(e,$))),i},_parseNumberOrString0(e){var t,r;try{return r=(t=A.ScssParser$0(e,!1,null))._stylesheet0$_parseSingleProduction$1$1(t.get$_stylesheet0$_number(),D.NumberExpression_2),t=A.SassNumber_SassNumber0(r.value,r.unit)}catch(t){if(D.SassFormatException_2._is(A.unwrapException(t)))return new A.SassString0(e,!1);throw t}},_colorFromChannels0(e,t,r,n,i,o,s){var a,l,c,u,d;switch(e){case C.HslColorSpace_JQ20:return null!=r&&A._checkPercent0(r,"saturation"),null!=n&&A._checkPercent0(n,"lightness"),a=e._space$_channels,A.SassColor_SassColor$hsl0(A.NullableExtension_andThen0(t,new A._colorFromChannels_closure1),A._channelFromValue0(a[1],A._forcePercent0(r),o),A._channelFromValue0(a[2],A._forcePercent0(n),o),i);case C.HwbColorSpace_guQ0:return(a=null==r)||r.assertUnit$2("%","whiteness"),(l=null==n)||n.assertUnit$2("%","blackness"),c=a?null:r._number1$_value,u=l?null:n._number1$_value,null!=c&&null!=u&&c+u>100&&(c=c/(a=c+u)*100,u=u/a*100),A.SassColor_SassColor$hwb0(A.NullableExtension_andThen0(t,new A._colorFromChannels_closure2),c,u,i);case C.RgbColorSpace_i0P0:return a=e._space$_channels,l=A._channelFromValue0(a[0],t,o),d=A._channelFromValue0(a[1],r,o),a=A._channelFromValue0(a[2],n,o),A.SassColor_SassColor$rgbInternal0(l,d,a,i,s?C.C__ColorFormatEnum0:null);default:return a=e._space$_channels,A.SassColor_SassColor$forSpaceInternal0(e,A._channelFromValue0(a[0],t,o),A._channelFromValue0(a[1],r,o),A._channelFromValue0(a[2],n,o),i)}},_forcePercent0(e){var t;return null!=e?1===(t=e.get$numeratorUnits(e)).length&&("%"===t[0]&&e.get$denominatorUnits(e).length<=0)?e:A.SassNumber_SassNumber0(e._number1$_value,"%"):null},_channelFromValue0:(e,t,r)=>A.NullableExtension_andThen0(t,new A._channelFromValue_closure0(e,r)),_isNone0:e=>e instanceof A.SassString0&&!e._string0$_hasQuotes&&"none"===e._string0$_text.toLowerCase(),_channelFunction0:(e,t,r,n,i)=>A.BuiltInCallable$function0(e,"$color",new A._channelFunction_closure0(r,i,n,e,t),"sass:color"),_suggestScaleAndAdjust0(e,t,r){var n,i,o,s,a,l,c="alpha"===r?C.LinearChannel_XL80:D.LinearChannel_2._as(C.JSArray_methods.firstWhere$1(C.List_oAL0,new A._suggestScaleAndAdjust_closure0(r))),u=c===C.LinearChannel_XL80;return o=(i=u?null==(n=e.alphaOrNull)?0:n:e.toSpace$1(C.HslColorSpace_JQ20).channel$1(0,r))+t,0!==t?(s=A._Cell$(),o>(n=c.max)?s.__late_helper$_value=1:(a=c.min,s.__late_helper$_value=o<a?-1:t>0?t/(n-i):(o-i)/(i-a)),l="Suggestions:\n\ncolor.scale($color, $"+r+": "+A.serializeValue0(A.SassNumber_SassNumber0(100*s._readLocal$0(),"%"),!1,!0)+")\n"):l="Suggestion:\n\n",l+"color.adjust($color, $"+r+": "+A.serializeValue0(A.SassNumber_SassNumber0(t,u?null:"%"),!1,!0)+")"},_missingChannelError0:(e,t)=>A.throwExpression(A.SassScriptException$0(P.Becaus+e.toCssString$0()+").",t)),_channelName0(e){var t=e.assertString$1("channel");return t.assertQuoted$1("channel"),t._string0$_text},_function12:(e,t,r)=>A.BuiltInCallable$function0(e,t,r,"sass:color"),global_closure44:function(){},global_closure45:function(){},global_closure46:function(){},global_closure47:function(){},global_closure48:function(){},global_closure49:function(){},global_closure50:function(){},global_closure51:function(){},global_closure52:function(){},global_closure53:function(){},global_closure54:function(){},global_closure55:function(){},global_closure56:function(){},global_closure57:function(){},global_closure58:function(){},global_closure59:function(){},global_closure60:function(){},global_closure61:function(){},global_closure62:function(){},global_closure63:function(){},global_closure64:function(){},global_closure65:function(){},global_closure66:function(){},global_closure67:function(){},global_closure68:function(){},global_closure69:function(){},global_closure70:function(){},global_closure71:function(){},global_closure72:function(){},global_closure73:function(){},global_closure74:function(){},global_closure75:function(){},global_closure76:function(){},global_closure77:function(){},global_closure78:function(){},global_closure79:function(){},global__closure0:function(){},global_closure80:function(){},global_closure81:function(){},global_closure82:function(){},global_closure83:function(){},global_closure84:function(){},global_closure85:function(){},global_closure86:function(){},module_closure27:function(){},module_closure28:function(){},module_closure29:function(){},module_closure30:function(){},module_closure31:function(){},module_closure32:function(){},module_closure33:function(){},module_closure34:function(){},module_closure35:function(){},module_closure36:function(){},module_closure37:function(){},module_closure38:function(){},module_closure39:function(){},module_closure40:function(){},module__closure6:function(){},module_closure41:function(){},module_closure42:function(){},module_closure43:function(){},module_closure44:function(){},module_closure45:function(){},module_closure46:function(){},module_closure47:function(){},module_closure48:function(){},module__closure5:function(e){this.channelName=e},module_closure49:function(){},module_closure_toXyzNoMissing0:function(){},module_closure50:function(){},_mix_closure0:function(){},_complement_closure0:function(){},_adjust_closure0:function(){},_scale_closure0:function(){},_change_closure0:function(){},_ieHexStr_closure0:function(){},_ieHexStr_closure_hexString0:function(){},_updateComponents_closure1:function(e){this.originalColor=e},_updateComponents_closure2:function(e){this._box_0=e},_changeColor_closure0:function(e){this.alphaArg=e},_adjustColor_closure0:function(){},_functionString_closure0:function(){},_removedColorFunction_closure0:function(e,t,r){this.name=e,this.argument=t,this.negative=r},_rgb_closure0:function(){},_hsl_closure0:function(){},_parseChannels_closure1:function(){},_parseChannels_closure2:function(){},_colorFromChannels_closure1:function(){},_colorFromChannels_closure2:function(){},_channelFromValue_closure0:function(e,t){this.channel=e,this.clamp=t},_channelFunction_closure0:function(e,t,r,n,i){var o=this;o.getter=e,o.unit=t,o.global=r,o.name=n,o.space=i},_suggestScaleAndAdjust_closure0:function(e){this.channelName=e},_constructionSpace(e){var t=w.getInterceptor$x(e);if(null!=t.get$space(e))return(t=t.get$space(e)).toString,A.ColorSpace_fromName0(t,null);if(null!=t.get$red(e))return C.RgbColorSpace_i0P0;if(null!=t.get$saturation(e))return C.HslColorSpace_JQ20;if(null!=t.get$whiteness(e))return C.HwbColorSpace_guQ0;throw A.wrapException("No color space found")},_toSpace:(e,t)=>e.toSpace$1(A.ColorSpace_fromName0(null==t?e._color0$_space.name:t,null)),_checkNullAlphaDeprecation(e){var t=w.getInterceptor$x(e),r=t.get$alpha(e);A._asBool(I.$get$_isUndefined().call$1(r))||null!=t.get$alpha(e)||null!=t.get$space(e)||A.warnForDeprecationFromApi(P.Passin_,C.Deprecation_ox0)},colorClass_closure:function(){},colorClass__closure:function(){},colorClass__closure0:function(){},colorClass__closure1:function(){},colorClass__closure2:function(){},colorClass__closure3:function(){},colorClass__closure4:function(){},colorClass__closure5:function(){},colorClass__closure6:function(){},colorClass__closure7:function(){},colorClass__closure8:function(){},colorClass___closure:function(e){this.key=e},colorClass__closure_changedValue:function(e,t){this.color=e,this.options=t},colorClass__closure9:function(){},colorClass__closure10:function(){},colorClass__closure11:function(){},colorClass__closure12:function(){},colorClass__closure13:function(){},colorClass__closure14:function(){},colorClass__closure15:function(){},colorClass__closure16:function(){},colorClass__closure17:function(){},colorClass__closure18:function(){},colorClass__closure19:function(){},colorClass__closure20:function(){},colorClass__closure21:function(){},colorClass__closure22:function(){},_Channels:function(){},_ConstructionOptions:function(){},_ChannelOptions:function(){},_ToGamutOptions:function(){},_InterpolationOptions:function(){},_NodeSassColor:function(){},legacyColorClass_closure:function(){},legacyColorClass__closure:function(){},legacyColorClass_closure0:function(){},legacyColorClass_closure1:function(){},legacyColorClass_closure2:function(){},legacyColorClass_closure3:function(){},legacyColorClass_closure4:function(){},legacyColorClass_closure5:function(){},legacyColorClass_closure6:function(){},legacyColorClass_closure7:function(){},SassColor_SassColor$rgb0:(e,t,r,n)=>A.SassColor_SassColor$rgbInternal0(e,t,r,n,null),SassColor_SassColor$rgbInternal0(e,t,r,n,i){var o=null,s=null==e?o:e,a=null==t?o:t,l=null==r?o:r;return A.SassColor$_forSpace0(C.RgbColorSpace_i0P0,s,a,l,null==n?o:n,i)},SassColor_SassColor$hsl0(e,t,r,n){var i=null,o=null==e?i:e,s=null==t?i:t,a=null==r?i:r;return A.SassColor_SassColor$forSpaceInternal0(C.HslColorSpace_JQ20,o,s,a,null==n?i:n)},SassColor_SassColor$hwb0(e,t,r,n){var i=null,o=null==e?i:e,s=null==t?i:t,a=null==r?i:r;return A.SassColor_SassColor$forSpaceInternal0(C.HwbColorSpace_guQ0,o,s,a,null==n?i:n)},SassColor_SassColor$forSpaceInternal0(e,t,r,n,i){var o,s,a=null;return C.HslColorSpace_JQ20!==e?C.HwbColorSpace_guQ0!==e?C.LchColorSpace_Bpv0!==e&&C.OklchColorSpace_9Gj0!==e?o=A.SassColor$_forSpace0(e,t,r,n,i,a):(s=(o=null==r)?a:Math.abs(r),o=s=A.SassColor$_forSpace0(e,t,s,A.SassColor__normalizeHue0(n,!o&&r<0&&!A.fuzzyEquals0(r,0)),i,a)):o=A.SassColor$_forSpace0(e,A.SassColor__normalizeHue0(t,!1),r,n,i,a):(o=null==r,s=A.SassColor__normalizeHue0(t,!o&&r<0&&!A.fuzzyEquals0(r,0)),o=s=A.SassColor$_forSpace0(e,s,o?a:Math.abs(r),n,i,a)),o},SassColor$_forSpace0:(e,t,r,n,i,o)=>new A.SassColor0(e,t,r,n,o,A.NullableExtension_andThen0(i,new A.SassColor$_forSpace_closure0)),SassColor__normalizeHue0(e,t){var r,n;return null==e?e:(r=C.JSNumber_methods.$mod(e,360),n=t?180:0,C.JSNumber_methods.$mod(r+360+n,360))},SassColor0:function(e,t,r,n,i,o){var s=this;s._color0$_space=e,s.channel0OrNull=t,s.channel1OrNull=r,s.channel2OrNull=n,s.format=i,s.alphaOrNull=o},SassColor$_forSpace_closure0:function(){},_ColorFormatEnum0:function(){},SpanColorFormat0:function(e){this._color0$_span=e},Combinator0:function(e,t,r){this._combinator0$_text=e,this.index=t,this._name=r},ModifiableCssComment0:function(e,t){var r=this;r.text=e,r.span=t,r._node$_indexInParent=r._node$_parent=null,r.isGroupEnd=!1},compile0(e,t){var r,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y,$,x,S=null;A.isNodeJs()||A.jsThrow(new n.Error("The compile() method is only available in Node.js.")),null==(u=(c=null==t)?S:w.get$alertColor$x(t))&&(u=A.hasTerminal0()||A.isBrowser()),r=u,i=null==(d=c?S:w.get$alertAscii$x(t))?I._glyphs===C.C_AsciiGlyphSet:d,h=c?S:w.get$logger$x(t),null==(p=i)&&(p=I._glyphs===C.C_AsciiGlyphSet),o=new A.JSToDartLogger(h,new A.StderrLogger0(r),p);try{return h=c?S:w.get$loadPaths$x(t),null==(p=c?S:w.get$quietDeps$x(t))&&(p=!1),m=A._parseOutputStyle0(c?S:w.get$style$x(t)),null==(_=c?S:w.get$verbose$x(t))&&(_=!1),null==(g=c?S:w.get$charset$x(t))&&(g=!0),null==(f=c?S:w.get$sourceMap$x(t))&&(f=!1),v=c||null==(v=w.get$importers$x(t))?S:w.map$1$1$ax(v,A.compile___parseImporter$closure(),D.Importer),b=A._parseFunctions0(c?S:w.get$functions$x(t),!1),y=c?S:w.get$fatalDeprecations$x(t),y=A.parseDeprecations(o,y,!0),$=c?S:w.get$silenceDeprecations$x(t),$=A.parseDeprecations(o,$,!1),x=c?S:w.get$futureDeprecations$x(t),s=A.compile(e,g,y,new A.CastList(b,A._arrayInstanceType(b)._eval$1("CastList<1,Callable>")),A.parseDeprecations(o,x,!1),A.ImportCache$0(v,h,S),S,S,o,S,p,$,f,m,S,!0,_),null==(c=c?S:w.get$sourceMapIncludeSources$x(t))&&(c=!1),c=A._convertResult(s,c)}catch(e){if(!((c=A.unwrapException(e))instanceof A.SassException0))throw e;a=c,l=A.getTraceFromException(e),A.throwNodeException(a,i,r,l)}},compileString0(e,t){var r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y,$,x,S=null,E=null==t,M=E?S:w.get$alertColor$x(t);null==M&&(M=A.hasTerminal0()||A.isBrowser()),r=M,n=null==(l=E?S:w.get$alertAscii$x(t))?I._glyphs===C.C_AsciiGlyphSet:l,c=E?S:w.get$logger$x(t),null==(u=n)&&(u=I._glyphs===C.C_AsciiGlyphSet),i=new A.JSToDartLogger(c,new A.StderrLogger0(r),u);try{return c=A.parseSyntax(E?S:w.get$syntax$x(t)),u=E?S:A.NullableExtension_andThen0(w.get$url$x(t),A.utils3__jsToDartUrl$closure()),d=E?S:w.get$loadPaths$x(t),null==(h=E?S:w.get$quietDeps$x(t))&&(h=!1),p=A._parseOutputStyle0(E?S:w.get$style$x(t)),null==(m=E?S:w.get$verbose$x(t))&&(m=!1),null==(_=E?S:w.get$charset$x(t))&&(_=!0),null==(g=E?S:w.get$sourceMap$x(t))&&(g=!1),f=E||null==(f=w.get$importers$x(t))?S:w.map$1$1$ax(f,A.compile___parseImporter$closure(),D.Importer),null==(v=E?S:A.NullableExtension_andThen0(w.get$importer$x(t),A.compile___parseImporter$closure()))&&(v=null==(E?S:w.get$url$x(t))?new A.NoOpImporter0:S),b=A._parseFunctions0(E?S:w.get$functions$x(t),!1),y=E?S:w.get$fatalDeprecations$x(t),y=A.parseDeprecations(i,y,!0),$=E?S:w.get$silenceDeprecations$x(t),$=A.parseDeprecations(i,$,!1),x=E?S:w.get$futureDeprecations$x(t),o=A.compileString(e,_,y,new A.CastList(b,A._arrayInstanceType(b)._eval$1("CastList<1,Callable>")),A.parseDeprecations(i,x,!1),A.ImportCache$0(f,d,S),v,S,S,i,S,h,$,g,p,c,u,!0,m),null==(E=E?S:w.get$sourceMapIncludeSources$x(t))&&(E=!1),E=A._convertResult(o,E)}catch(e){if(!((E=A.unwrapException(e))instanceof A.SassException0))throw e;s=E,a=A.getTraceFromException(e),A.throwNodeException(s,n,r,a)}},compileAsync1(e,t){var r,i,o;return A.isNodeJs()||A.jsThrow(new n.Error("The compileAsync() method is only available in Node.js.")),null==(i=(r=null==t)?null:w.get$alertColor$x(t))&&(i=A.hasTerminal0()||A.isBrowser()),null==(o=r?null:w.get$alertAscii$x(t))&&(o=I._glyphs===C.C_AsciiGlyphSet),r=r?null:w.get$logger$x(t),A._wrapAsyncSassExceptions(A.futureToPromise0(new A.compileAsync_closure(e,i,t,new A.JSToDartLogger(r,new A.StderrLogger0(i),o)).call$0()),o,i)},compileStringAsync1(e,t){var r,n=null==t,i=n?null:w.get$alertColor$x(t);return null==i&&(i=A.hasTerminal0()||A.isBrowser()),null==(r=n?null:w.get$alertAscii$x(t))&&(r=I._glyphs===C.C_AsciiGlyphSet),n=n?null:w.get$logger$x(t),A._wrapAsyncSassExceptions(A.futureToPromise0(new A.compileStringAsync_closure(e,t,i,new A.JSToDartLogger(n,new A.StderrLogger0(i),r)).call$0()),r,i)},_convertResult(e,t){var r,n=e._compile_result$_serialize,i=n._1,o=null==i?null:i.toJson$1$includeSourceContents(t);return D.Map_dynamic_dynamic._is(o)&&!o.containsKey$1("sources")&&o.$indexSet(0,"sources",A._setArrayType([],D.JSArray_String)),r=A.toJSArray(e._evaluate._0.map$1$1(0,A.utils3__dartToJSUrl$closure(),D.nullable_Object)),n=n._0,null==o?{css:n,loadedUrls:r}:{css:n,sourceMap:A.jsify0(o),loadedUrls:r}},_wrapAsyncSassExceptions:(e,t,r)=>w.then$2$x(e,null,A.allowInterop(new A._wrapAsyncSassExceptions_closure(r,t))),_parseOutputStyle0:e=>null!=e&&"expanded"!==e?"compressed"!==e?A.jsThrow(new n.Error('Unknown output style "'+e+'".')):C.OutputStyle_10:C.OutputStyle_00,_parseAsyncImporter(e){var t,r,i,o;if(e instanceof A.NodePackageImporter0)return e;if(null==e&&A.jsThrow(new n.Error("Importers may not be null.")),D.JSImporter._as(e),r=(t=w.getInterceptor$x(e)).get$canonicalize(e),i=t.get$load(e),null!=(o=t.get$findFileUrl(e))){if(null==r&&null==i)return new A.JSToDartAsyncFileImporter(o);A.jsThrow(new n.Error(P.An_impa))}else{if(null!=r&&null!=i)return(t=null==(t=A._normalizeNonCanonicalSchemes(t.get$nonCanonicalScheme(e)))?C.Set_empty1:A.Set_Set$unmodifiable(t,D.String)).forEach$1(0,A.utils4__validateUrlScheme$closure()),new A.JSToDartAsyncImporter(r,i,t);A.jsThrow(new n.Error(P.An_impu))}},_parseImporter0(e){var t,r,i,o;if(e instanceof A.NodePackageImporter0)return e;if(null==e&&A.jsThrow(new n.Error("Importers may not be null.")),D.JSImporter._as(e),r=(t=w.getInterceptor$x(e)).get$canonicalize(e),i=t.get$load(e),null!=(o=t.get$findFileUrl(e))){if(null==r&&null==i)return new A.JSToDartFileImporter(o);A.jsThrow(new n.Error(P.An_impa))}else{if(null!=r&&null!=i)return(t=null==(t=A._normalizeNonCanonicalSchemes(t.get$nonCanonicalScheme(e)))?C.Set_empty1:A.Set_Set$unmodifiable(t,D.String)).forEach$1(0,A.utils4__validateUrlScheme$closure()),new A.JSToDartImporter(r,i,t);A.jsThrow(new n.Error(P.An_impu))}},_normalizeNonCanonicalSchemes:e=>"string"!=typeof e?D.List_dynamic._is(e)?w.cast$1$0$ax(e,D.String):null!=e?A.jsThrow(new n.Error('nonCanonicalScheme must be a string or list of strings, was "'+A.S(e)+'"')):null:A._setArrayType([e],D.JSArray_String),_simplifyValue(e){var t,r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f=null;return e instanceof A.SassCalculation0?(t=e.name,r=e.$arguments,n=A._arrayInstanceType(r)._eval$1("MappedListIterable<1,Object>"),i=A.List_List$_of(new A.MappedListIterable(r,A.compile___simplifyCalcArg$closure(),n),n._eval$1("ListIterable.E")),s=f,a=f,l=f,c=f,u=!1,n=!1,(r=o="calc"===t)?(l=i,(r=s=1===(r=a=i.length))?(r=(r=c=l[0])instanceof A.Value0,u=!0):r=n,d=!0,h=!0,p=!0):(r=n,d=!1,h=!1,p=!1),r?(r=u?c:c=(p?l:i)[0],D.Value_2._as(r)):(o?d?r=s:(h?r=a:(p?r=l:(l=r=i,p=!0),r=a=r.length,h=!0),r=s=1===r):r=!1,r?(m=u?c:c=(p?l:i)[0],r=A.SassCalculation_calc0(m)):(o&&A.throwExpression(A.ArgumentError$("calc() requires exactly one argument.",f)),(r=_="clamp"===t)?(h?r=a:(p?r=l:(l=r=i,p=!0),r=a=r.length),r=3===r):r=!1,r?(u?g=c:(p?r=l:(l=r=i,p=!0),g=c=r[0]),p?r=l:(l=r=i,p=!0),e=r[1],r=A.SassCalculation_clamp0(g,e,(p?l:i)[2])):(_&&A.throwExpression(A.ArgumentError$("clamp() requires exactly 3 arguments.",f)),r="min"!==t?"max"!==t?A.throwExpression(A.ArgumentError$('"'+t+'" is not a recognized calculation type.',f)):A.SassCalculation_max0(p?l:i):A.SassCalculation_min0(p?l:i))))):r=e,r},_simplifyCalcArg:e=>e instanceof A.SassCalculation0?A._simplifyValue(e):e instanceof A.CalculationOperation0?A.SassCalculation_operateInternal0(e._calculation0$_operator,A._simplifyCalcArg(e._calculation0$_left),A._simplifyCalcArg(e._calculation0$_right),null,!0,null):e,_parseFunctions0(e,t){var r;return null==e?C.List_empty29:(r=A._setArrayType([],D.JSArray_AsyncCallable_2),A.jsForEach(e,new A._parseFunctions_closure0(t,r)),r)},compileAsync_closure:function(e,t,r,n){var i=this;i.path=e,i.color=t,i.options=r,i.logger=n},compileAsync__closure:function(){},compileStringAsync_closure:function(e,t,r,n){var i=this;i.text=e,i.options=t,i.color=r,i.logger=n},compileStringAsync__closure:function(){},compileStringAsync__closure0:function(){},_wrapAsyncSassExceptions_closure:function(e,t){this.color=e,this.ascii=t},_parseFunctions_closure0:function(e,t){this.asynch=e,this.result=t},_parseFunctions__closure2:function(e,t){this.callback=e,this.callable=t},_parseFunctions___closure6:function(e,t){this.callback=e,this.$arguments=t},_parseFunctions__closure3:function(e,t){this.callback=e,this.callable=t},_parseFunctions___closure5:function(e,t){this.callback=e,this.$arguments=t},nodePackageImporterClass_closure:function(){},nodePackageImporterClass__closure:function(){},compile(e,t,r,i,o,s,a,l,c,u,d,h,p,m,_,g,f){var v,b,y,$,x,S=null,C=D.Deprecation_3,E=A.LinkedHashSet_LinkedHashSet$_empty(C);return null!=h&&E.addAll$1(0,h),v=A.LinkedHashSet_LinkedHashSet$_empty(C),null!=r&&v.addAll$1(0,r),b=A.LinkedHashSet_LinkedHashSet$_empty(C),null!=o&&b.addAll$1(0,o),(c=new A.DeprecationProcessingLogger0(A.LinkedHashMap_LinkedHashMap$_empty(C,D.int),c,E,v,b,!f)).validate$0(),(E=!!(C=null==u)&&(null==_||_===A.Syntax_forPath0(e)))?(null==s&&(s=A.ImportCache$none()),E=I.$get$FilesystemImporter_cwd0(),v=A.isNodeJs()?n.process:S,w.$eq$(null==v?S:w.get$platform$x(v),"win32")?v=!0:(v=A.isNodeJs()?n.process:S,v=w.$eq$(null==v?S:w.get$platform$x(v),"darwin")),v?(v=A.absolute(e,S,S,S,S,S,S,S,S,S,S,S,S,S,S),b=I.$get$context(),v=A._realCasePath0(b.normalize$1(v))):(y=b=(v=I.$get$context()).canonicalize$1(0,e),b=v,v=y),(b=s.importCanonical$3$originalUrl(E,b.toUri$1(v),b.toUri$1(e))).toString,$=b):(E=A.readFile0(e),v=null==_?A.Syntax_forPath0(e):_,$=A.Stylesheet_Stylesheet$parse0(E,v,!1,I.$get$context().toUri$1(e))),x=A._compileStylesheet1($,c,s,u,I.$get$FilesystemImporter_cwd0(),i,m,g,a,l,d,p,t),c.summarize$1$js(!C),x},compileString(e,t,r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v){var b,y,$,x,S,w=D.Deprecation_3,E=A.LinkedHashSet_LinkedHashSet$_empty(w);return null!=h&&E.addAll$1(0,h),b=A.LinkedHashSet_LinkedHashSet$_empty(w),null!=r&&b.addAll$1(0,r),y=A.LinkedHashSet_LinkedHashSet$_empty(w),null!=i&&y.addAll$1(0,i),(c=new A.DeprecationProcessingLogger0(A.LinkedHashMap_LinkedHashMap$_empty(w,D.int),c,E,b,y,!v)).validate$0(),x=(w=($=A.Stylesheet_Stylesheet$parse0(e,null==_?C.Syntax_SCSS_0_scss0:_,!1,g)).span).get$sourceUrl(w),D.Uri._is(x)&&""===x.get$scheme()&&null==u&&A.WarnForDeprecation_warnForDeprecation0(c,C.Deprecation_y9Y,"Passing a relative `url` argument ("+A.S(w.get$sourceUrl(w))+P.x29x20to_cm,null,null),w=null==s?A.isBrowser()?new A.NoOpImporter0:I.$get$FilesystemImporter_cwd0():s,S=A._compileStylesheet1($,c,o,u,w,n,m,f,a,l,d,p,t),c.summarize$1$js(null!=u),S},_compileStylesheet1(e,t,r,n,i,o,s,a,l,c,u,d,h){var p,m,_;return null!=n&&A.WarnForDeprecation_warnForDeprecation0(t,C.Deprecation_PGp,P.The_le,null,null),p=A._EvaluateVisitor$1(o,r,t,n,u,d).run$2(0,i,e),null!=(_=(m=A.serialize0(p._1,h,l,!1,c,t,d,s,a))._1)&&null!=r&&A.mapInPlace0(_.urls,new A._compileStylesheet_closure1(e,r)),new A.CompileResult0(p,m)},_compileStylesheet_closure1:function(e,t){this.stylesheet=e,this.importCache=t},CompileOptions:function(){},CompileStringOptions:function(){},NodeCompileResult:function(){},CompileResult0:function(e,t){this._evaluate=e,this._compile_result$_serialize=t},initCompiler:()=>new A.Compiler,initAsyncCompiler:()=>A.futureToPromise0((new A.initAsyncCompiler_closure).call$0()),Compiler:function(){this._disposed=!1},AsyncCompiler:function(e){this.compilations=e,this._disposed=!1},AsyncCompiler_addCompilation_closure:function(){},compilerClass_closure:function(){},compilerClass__closure:function(){},compilerClass__closure0:function(){},compilerClass__closure1:function(){},compilerClass__closure2:function(){},asyncCompilerClass_closure:function(){},asyncCompilerClass__closure:function(){},asyncCompilerClass__closure0:function(){},asyncCompilerClass__closure1:function(){},asyncCompilerClass__closure2:function(){},asyncCompilerClass___closure:function(e){this.self=e},initAsyncCompiler_closure:function(){},InterpolatedComplexSelector$(e,t,r){var n=A.List_List$unmodifiable(e,D.InterpolatedComplexSelectorComponent);return null==r&&0===n.length&&A.throwExpression(A.ArgumentError$("components may not be empty if leadingCombinator is null.",null)),new A.InterpolatedComplexSelector(r,n,t)},InterpolatedComplexSelector:function(e,t,r){this.leadingCombinator=e,this.components=t,this.span=r},ComplexSassNumber0:function(e,t,r,n){var i=this;i._complex0$_numeratorUnits=e,i._complex0$_denominatorUnits=t,i._number1$_value=r,i.hashCache=null,i.asSlash=n},ComplexSelector$0(e,t,r,n){var i=A.List_List$unmodifiable(e,D.CssValue_Combinator_2),o=A.List_List$unmodifiable(t,D.ComplexSelectorComponent_2);return 0===i.length&&0===o.length&&A.throwExpression(A.ArgumentError$(P.leadin,null)),new A.ComplexSelector0(i,o,n,r)},ComplexSelector0:function(e,t,r,n){var i=this;i.leadingCombinators=e,i.components=t,i.lineBreak=r,i._complex$__ComplexSelector_specificity_FI=I,i.span=n},ComplexSelector_specificity_closure0:function(){},InterpolatedComplexSelectorComponent:function(e,t,r){this.selector=e,this.combinator=t,this.span=r},ComplexSelectorComponent0:function(e,t,r){this.selector=e,this.combinators=t,this.span=r},ComplexSelectorComponent_toString_closure0:function(){},InterpolatedCompoundSelector$(e){var t=A.List_List$unmodifiable(e,D.InterpolatedSimpleSelector);return 0===t.length&&A.throwExpression(A.ArgumentError$("components may not be empty.",null)),new A.InterpolatedCompoundSelector(t)},InterpolatedCompoundSelector:function(e){this.components=e},CompoundSelector$0(e,t){var r=A.List_List$unmodifiable(e,D.SimpleSelector_2);return 0===r.length&&A.throwExpression(A.ArgumentError$("components may not be empty.",null)),new A.CompoundSelector0(r,t)},CompoundSelector0:function(e,t){var r=this;r.components=e,r._compound$__CompoundSelector_hasComplicatedSuperselectorSemantics_FI=r._compound$__CompoundSelector_specificity_FI=I,r.span=t},CompoundSelector_specificity_closure0:function(){},CompoundSelector_hasComplicatedSuperselectorSemantics_closure0:function(){},Configuration0:function(e,t){this._configuration0$_values=e,this._configuration0$__originalConfiguration=t},ExplicitConfiguration0:function(e,t,r){this.nodeWithSpan=e,this._configuration0$_values=t,this._configuration0$__originalConfiguration=r},ConfiguredValue0:function(e,t,r){this.value=e,this.configurationSpan=t,this.assignmentNode=r},ConfiguredVariable0:function(e,t,r,n){var i=this;i.name=e,i.expression=t,i.isGuarded=r,i.span=n},ContentBlock$0(e,t,r){var n="@content",i=A.stringReplaceAllUnchecked(n,"_","-"),o=A.List_List$unmodifiable(t,D.Statement_2),s=C.JSArray_methods.any$1(o,new A.ParentStatement_closure0);return new A.ContentBlock0(i,n,e,r,o,s)},ContentBlock0:function(e,t,r,n,i,o){var s=this;s.name=e,s.originalName=t,s.parameters=r,s.span=n,s.children=i,s.hasDeclarations=o},ContentRule0:function(e,t){this.$arguments=e,this.span=t},_disallowedFunctionNames_closure0:function(){},CssParser0:function(e,t,r,n,i){var o=this;o._parseSelectors=e,o._stylesheet0$_isUseAllowed=!0,o._stylesheet0$_inExpression=o._stylesheet0$_inParentheses=o._stylesheet0$_inStyleRule=o._stylesheet0$_inPlainCssFunction=o._stylesheet0$_inUnknownAtRule=o._stylesheet0$_inControlDirective=o._stylesheet0$_inContentBlock=o._stylesheet0$_inMixin=!1,o._stylesheet0$_globalVariables=t,o.warnings=r,o.lastSilentComment=null,o.scanner=n,o._parser1$_interpolationMap=i},DebugRule0:function(e,t){this.expression=e,this.span=t},ModifiableCssDeclaration$0(e,t,r,n,i){var o,s=null==i?t.span:i;return n||(o=t.value)instanceof A.SassString0||A.throwExpression(A.ArgumentError$(P.If_par+t.toString$0(0)+"` of type "+A.getRuntimeTypeOfDartObject(o).toString$0(0)+").",null)),new A.ModifiableCssDeclaration0(e,t,n,s,r)},ModifiableCssDeclaration0:function(e,t,r,n,i){var o=this;o.name=e,o.value=t,o.parsedAsSassScript=r,o.valueSpanForMap=n,o.span=i,o._node$_indexInParent=o._node$_parent=null,o.isGroupEnd=!1},Declaration$0:(e,t,r)=>new A.Declaration0(e,t,r,!0,null,!1),Declaration$notSassScript0:(e,t,r)=>new A.Declaration0(e,t,r,!1,null,!1),Declaration$nested0(e,t,r,n){var i=A.List_List$unmodifiable(t,D.Statement_2),o=C.JSArray_methods.any$1(i,new A.ParentStatement_closure0);return new A.Declaration0(e,n,r,!0,i,o)},Declaration0:function(e,t,r,n,i,o){var s=this;s.name=e,s.value=t,s.span=r,s.parsedAsSassScript=n,s.children=i,s.hasDeclarations=o},SupportsDeclaration0:function(e,t,r){this.name=e,this.value=t,this.span=r},DefaultLogger0:function(){},Deprecation_fromId0:e=>A.IterableExtension_firstWhereOrNull(C.List_0vi,new A.Deprecation_fromId_closure0(e)),Deprecation_forVersion0(e){var t,r,n,i,o,s=A.LinkedHashSet_LinkedHashSet$_empty(D.Deprecation_3);for(t=A.VersionRange_VersionRange(!0,e).get$allows(),r=0;r<30;++r)(o=!(null==(o=null==(o=null==(i=(n=C.List_0vi[r])._deprecation$_deprecatedIn)?null:A.Version___parse_tearOff(i))?null:t.call$1(o))||!o)&&null==(o=null==(i=n._deprecation$_obsoleteIn)?null:A.Version___parse_tearOff(i)))&&s.add$1(0,n);return s},Deprecation0:function(e,t,r,n,i,o){var s=this;s.id=e,s._deprecation$_deprecatedIn=t,s.description=r,s._deprecation$_obsoleteIn=n,s.index=i,s._name=o},Deprecation_fromId_closure0:function(e){this.id=e},DeprecationProcessingLogger0:function(e,t,r,n,i,o){var s=this;s._deprecation_processing$_warningCounts=e,s._deprecation_processing$_inner=t,s.silenceDeprecations=r,s.fatalDeprecations=n,s.futureDeprecations=i,s.limitRepetition=o},DeprecationProcessingLogger_summarize_closure1:function(){},DeprecationProcessingLogger_summarize_closure2:function(){},parseDeprecations:(e,t,r)=>null==t?null:new A.parseDeprecations_closure(t,e,r).call$0(),Deprecation1:function(){},deprecations_closure:function(e){this.deprecation=e},parseDeprecations_closure:function(e,t,r){this.deprecations=e,this.logger=t,this.supportVersions=r},versionClass_closure:function(){},versionClass__closure:function(){},versionClass__closure0:function(){},DisplayP3ColorSpace0:function(e,t){this.name=e,this._space$_channels=t},DisplayP3LinearColorSpace0:function(e,t){this.name=e,this._space$_channels=t},DynamicImport0:function(e,t){this.urlString=e,this.span=t},EachRule$0(e,t,r,n){var i=A.List_List$unmodifiable(e,D.String),o=A.List_List$unmodifiable(r,D.Statement_2),s=C.JSArray_methods.any$1(o,new A.ParentStatement_closure0);return new A.EachRule0(i,t,n,o,s)},EachRule0:function(e,t,r,n,i){var o=this;o.variables=e,o.list=t,o.span=r,o.children=n,o.hasDeclarations=i},EachRule_toString_closure0:function(){},EmptyExtensionStore0:function(){},Environment$0(){var e=D.String,t=D.Module_Callable_2,r=D.AstNode_2,n=D.int,i=D.Callable_2,o=D.JSArray_Map_String_Callable_2;return new A.Environment0(A.LinkedHashMap_LinkedHashMap$_empty(e,t),A.LinkedHashMap_LinkedHashMap$_empty(e,r),A.LinkedHashMap_LinkedHashMap$_empty(t,r),A.LinkedHashMap_LinkedHashMap$_empty(t,r),null,null,A._setArrayType([],D.JSArray_Module_Callable_2),A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(e,D.Value_2)],D.JSArray_Map_String_Value_2),A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(e,r)],D.JSArray_Map_String_AstNode_2),A.LinkedHashMap_LinkedHashMap$_empty(e,n),A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(e,i)],o),A.LinkedHashMap_LinkedHashMap$_empty(e,n),A._setArrayType([A.LinkedHashMap_LinkedHashMap$_empty(e,i)],o),A.LinkedHashMap_LinkedHashMap$_empty(e,n),null,A.LinkedHashSet_LinkedHashSet$_empty(e))},Environment$_0(e,t,r,n,i,o,s,a,l,c,u,d,h){var p=D.String,m=D.int;return new A.Environment0(e,t,r,n,i,o,s,a,l,A.LinkedHashMap_LinkedHashMap$_empty(p,m),c,A.LinkedHashMap_LinkedHashMap$_empty(p,m),u,A.LinkedHashMap_LinkedHashMap$_empty(p,m),d,h)},_EnvironmentModule__EnvironmentModule1(e,t,r,n,i){var o,s,a,l,c,u,d,h,p;for(null==i&&(i=C.Set_empty5),o=D.dynamic,o=A.LinkedHashMap_LinkedHashMap$_empty(o,o),s=D.Module_Callable_2,a=D.List_CssComment_2,l=(l=A.MapExtensions_get_pairs0(r,s,a)).get$iterator(l),c=D.CssComment_2;l.moveNext$0();)d=(u=l.get$current(l))._0,(h=A.List_List$from(u._1,!1,c)).$flags=3,o.$indexSet(0,d,h);return o=A.ConstantMap_ConstantMap$from(o,s,a),s=A._EnvironmentModule__makeModulesByVariable1(i),a=A._EnvironmentModule__memberMap1(C.JSArray_methods.get$first(e._environment0$_variables),i.map$1$1(0,new A._EnvironmentModule__EnvironmentModule_closure11,D.Map_String_Value_2),D.Value_2),l=A._EnvironmentModule__memberMap1(C.JSArray_methods.get$first(e._environment0$_variableNodes),i.map$1$1(0,new A._EnvironmentModule__EnvironmentModule_closure12,D.Map_String_AstNode_2),D.AstNode_2),c=D.Map_String_Callable_2,u=D.Callable_2,p=A._EnvironmentModule__memberMap1(C.JSArray_methods.get$first(e._environment0$_functions),i.map$1$1(0,new A._EnvironmentModule__EnvironmentModule_closure13,c),u),u=A._EnvironmentModule__memberMap1(C.JSArray_methods.get$first(e._environment0$_mixins),i.map$1$1(0,new A._EnvironmentModule__EnvironmentModule_closure14,c),u),c=w.get$isNotEmpty$asx(t.get$children(t))||r.get$isNotEmpty(r)||C.JSArray_methods.any$1(e._environment0$_allModules,new A._EnvironmentModule__EnvironmentModule_closure15),A._EnvironmentModule$_1(e,t,o,n,s,a,l,p,u,c,!n.get$isEmpty(n)||C.JSArray_methods.any$1(e._environment0$_allModules,new A._EnvironmentModule__EnvironmentModule_closure16))},_EnvironmentModule__makeModulesByVariable1(e){var t,r,n,i,o,s;if(e.get$isEmpty(e))return C.Map_empty11;for(t=A.LinkedHashMap_LinkedHashMap$_empty(D.String,D.Module_Callable_2),r=e.get$iterator(e);r.moveNext$0();)if((n=r.get$current(r))instanceof A._EnvironmentModule1){for(i=(i=(i=n._environment0$_modulesByVariable).get$values(i)).get$iterator(i);i.moveNext$0();)s=(o=i.get$current(i)).get$variables(),A.setAll0(t,s.get$keys(s),o);i=C.JSArray_methods.get$first(n._environment0$_environment._environment0$_variables),A.setAll0(t,i.get$keys(i),n)}else i=n.get$variables(),A.setAll0(t,i.get$keys(i),n);return t},_EnvironmentModule__memberMap1(e,t,r){var n,i,o;if(e=new A.PublicMemberMapView0(e,r._eval$1("PublicMemberMapView0<0>")),t.get$isEmpty(t))return e;for(n=A._setArrayType([],r._eval$1("JSArray<Map<String,0>>")),i=t.get$iterator(t);i.moveNext$0();)(o=i.get$current(i)).get$isNotEmpty(o)&&n.push(o);return n.push(e),1===n.length?e:A.MergedMapView$0(n,D.String,r)},_EnvironmentModule$_1:(e,t,r,n,i,o,s,a,l,c,u)=>new A._EnvironmentModule1(e._environment0$_allModules,o,s,a,l,n,t,r,c,u,e,i),Environment0:function(e,t,r,n,i,o,s,a,l,c,u,d,h,p,m,_){var g=this;g._environment0$_modules=e,g._environment0$_namespaceNodes=t,g._environment0$_globalModules=r,g._environment0$_importedModules=n,g._environment0$_forwardedModules=i,g._environment0$_nestedForwardedModules=o,g._environment0$_allModules=s,g._environment0$_variables=a,g._environment0$_variableNodes=l,g._environment0$_variableIndices=c,g._environment0$_functions=u,g._environment0$_functionIndices=d,g._environment0$_mixins=h,g._environment0$_mixinIndices=p,g._environment0$_content=m,g._environment0$_configurableVariables=_,g._environment0$_inMixin=!1,g._environment0$_inSemiGlobalScope=!0,g._environment0$_lastVariableIndex=g._environment0$_lastVariableName=null},Environment__getVariableFromGlobalModule_closure0:function(e){this.name=e},Environment_setVariable_closure2:function(e,t){this.$this=e,this.name=t},Environment_setVariable_closure3:function(e){this.name=e},Environment_setVariable_closure4:function(e,t){this.$this=e,this.name=t},Environment__getFunctionFromGlobalModule_closure0:function(e){this.name=e},Environment__getMixinFromGlobalModule_closure0:function(e){this.name=e},Environment_toModule_closure0:function(){},Environment_toDummyModule_closure0:function(){},_EnvironmentModule1:function(e,t,r,n,i,o,s,a,l,c,u,d){var h=this;h.upstream=e,h.variables=t,h.variableNodes=r,h.functions=n,h.mixins=i,h.extensionStore=o,h.css=s,h.preModuleComments=a,h.transitivelyContainsCss=l,h.transitivelyContainsExtensions=c,h._environment0$_environment=u,h._environment0$_modulesByVariable=d},_EnvironmentModule__EnvironmentModule_closure11:function(){},_EnvironmentModule__EnvironmentModule_closure12:function(){},_EnvironmentModule__EnvironmentModule_closure13:function(){},_EnvironmentModule__EnvironmentModule_closure14:function(){},_EnvironmentModule__EnvironmentModule_closure15:function(){},_EnvironmentModule__EnvironmentModule_closure16:function(){},_EnvironmentModule_couldHaveBeenConfigured_closure1:function(e){this.variables=e},ErrorRule0:function(e,t){this.expression=e,this.span=t},_EvaluateVisitor$1(e,t,r,n,i,o){var s,a=D.Uri,l=D.Module_Callable_2,c=A._setArrayType([],D.JSArray_Record_2_String_and_AstNode_2);return s=null==t?null==n?A.ImportCache$none():null:t,(a=new A._EvaluateVisitor1(s,n,A.LinkedHashMap_LinkedHashMap$_empty(D.String,D.Callable_2),A.LinkedHashMap_LinkedHashMap$_empty(a,l),A.LinkedHashMap_LinkedHashMap$_empty(a,l),A.LinkedHashMap_LinkedHashMap$_empty(a,D.Configuration_2),A.LinkedHashMap_LinkedHashMap$_empty(a,D.AstNode_2),r,A.LinkedHashSet_LinkedHashSet$_empty(D.Record_2_String_and_SourceSpan),i,o,new A.Object,A.Environment$0(),A.LinkedHashSet_LinkedHashSet$_empty(a),A.LinkedHashMap_LinkedHashMap$_empty(a,D.nullable_AstNode_2),c,C.Configuration_Map_empty_null0))._EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap1(e,t,r,n,i,o),a},_EvaluateVisitor1:function(e,t,r,n,i,o,s,a,l,c,u,d,h,p,m,_,g){var f=this;f._evaluate0$_importCache=e,f._nodeImporter=t,f._evaluate0$_builtInFunctions=r,f._evaluate0$_builtInModules=n,f._evaluate0$_modules=i,f._evaluate0$_moduleConfigurations=o,f._evaluate0$_moduleNodes=s,f._evaluate0$_logger=a,f._evaluate0$_warningsEmitted=l,f._evaluate0$_quietDeps=c,f._evaluate0$_sourceMap=u,f._evaluate0$_compileContext=d,f._evaluate0$_environment=h,f._evaluate0$_declarationName=f._evaluate0$__parent=f._evaluate0$_mediaQuerySources=f._evaluate0$_mediaQueries=f._evaluate0$_styleRuleIgnoringAtRoot=null,f._evaluate0$_member="root stylesheet",f._evaluate0$_importSpan=f._evaluate0$_callableNode=null,f._evaluate0$_inSupportsDeclaration=f._evaluate0$_inKeyframes=f._evaluate0$_atRootExcludingStyleRule=f._evaluate0$_inUnknownAtRule=f._evaluate0$_inFunction=!1,f._evaluate0$_loadedUrls=p,f._evaluate0$_activeModules=m,f._evaluate0$_stack=_,f._evaluate0$_importer=null,f._evaluate0$_inDependency=!1,f._evaluate0$__extensionStore=f._evaluate0$_preModuleComments=f._evaluate0$_outOfOrderImports=f._evaluate0$__endOfImports=f._evaluate0$__root=f._evaluate0$__stylesheet=null,f._evaluate0$_configuration=g},_EvaluateVisitor_closure25:function(e){this.$this=e},_EvaluateVisitor_closure26:function(e){this.$this=e},_EvaluateVisitor_closure27:function(e){this.$this=e},_EvaluateVisitor_closure28:function(e){this.$this=e},_EvaluateVisitor_closure29:function(e){this.$this=e},_EvaluateVisitor_closure30:function(e){this.$this=e},_EvaluateVisitor_closure31:function(e){this.$this=e},_EvaluateVisitor_closure32:function(e){this.$this=e},_EvaluateVisitor_closure33:function(e){this.$this=e},_EvaluateVisitor__closure10:function(e,t,r){this.$this=e,this.name=t,this.module=r},_EvaluateVisitor_closure34:function(e){this.$this=e},_EvaluateVisitor__closure9:function(e,t,r){this.$this=e,this.name=t,this.module=r},_EvaluateVisitor_closure35:function(e){this.$this=e},_EvaluateVisitor_closure36:function(e){this.$this=e},_EvaluateVisitor__closure7:function(e,t,r,n){var i=this;i._box_0=e,i.values=t,i.span=r,i.callableNode=n},_EvaluateVisitor__closure8:function(e){this.$this=e},_EvaluateVisitor_closure37:function(e){this.$this=e},_EvaluateVisitor_run_closure1:function(e,t,r){this.$this=e,this.node=t,this.importer=r},_EvaluateVisitor_run__closure1:function(e,t,r){this.$this=e,this.importer=t,this.node=r},_EvaluateVisitor__loadModule_closure3:function(e,t){this._box_0=e,this.callback=t},_EvaluateVisitor__loadModule_closure4:function(e,t,r,n,i,o,s){var a=this;a.$this=e,a.url=t,a.nodeWithSpan=r,a.baseUrl=n,a.namesInErrors=i,a.configuration=o,a.callback=s},_EvaluateVisitor__loadModule__closure3:function(e,t){this.$this=e,this.message=t},_EvaluateVisitor__loadModule__closure4:function(e,t,r){this._box_1=e,this.callback=t,this.firstLoad=r},_EvaluateVisitor__execute_closure1:function(e,t,r,n,i,o,s){var a=this;a.$this=e,a.importer=t,a.stylesheet=r,a.extensionStore=n,a.configuration=i,a.css=o,a.preModuleComments=s},_EvaluateVisitor__combineCss_closure3:function(){},_EvaluateVisitor__combineCss_closure4:function(e){this.selectors=e},_EvaluateVisitor__combineCss_visitModule1:function(e,t,r,n,i,o){var s=this;s.$this=e,s.seen=t,s.clone=r,s.css=n,s.imports=i,s.sorted=o},_EvaluateVisitor__extendModules_closure3:function(e){this.originalSelectors=e},_EvaluateVisitor__extendModules_closure4:function(){},_EvaluateVisitor_visitAtRootRule_closure3:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitAtRootRule_closure4:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor__scopeForAtRoot_closure11:function(e,t,r){this.$this=e,this.newParent=t,this.node=r},_EvaluateVisitor__scopeForAtRoot_closure12:function(e,t){this.$this=e,this.innerScope=t},_EvaluateVisitor__scopeForAtRoot_closure13:function(e,t){this.$this=e,this.innerScope=t},_EvaluateVisitor__scopeForAtRoot__closure1:function(e,t){this.innerScope=e,this.callback=t},_EvaluateVisitor__scopeForAtRoot_closure14:function(e,t){this.$this=e,this.innerScope=t},_EvaluateVisitor__scopeForAtRoot_closure15:function(){},_EvaluateVisitor__scopeForAtRoot_closure16:function(e,t){this.$this=e,this.innerScope=t},_EvaluateVisitor_visitContentRule_closure1:function(e,t){this.$this=e,this.content=t},_EvaluateVisitor_visitDeclaration_closure1:function(e,t){this._box_0=e,this.$this=t},_EvaluateVisitor_visitEachRule_closure5:function(e,t,r){this._box_0=e,this.$this=t,this.nodeWithSpan=r},_EvaluateVisitor_visitEachRule_closure6:function(e,t,r){this._box_1=e,this.$this=t,this.nodeWithSpan=r},_EvaluateVisitor_visitEachRule_closure7:function(e,t,r,n){var i=this;i.$this=e,i.list=t,i.setVariables=r,i.node=n},_EvaluateVisitor_visitEachRule__closure1:function(e,t,r){this.$this=e,this.setVariables=t,this.node=r},_EvaluateVisitor_visitEachRule___closure1:function(e){this.$this=e},_EvaluateVisitor_visitAtRule_closure7:function(e){this.$this=e},_EvaluateVisitor_visitAtRule_closure8:function(e,t){this.$this=e,this.children=t},_EvaluateVisitor_visitAtRule_closure9:function(e,t,r){this.$this=e,this.name=t,this.children=r},_EvaluateVisitor_visitAtRule__closure1:function(e,t){this.$this=e,this.children=t},_EvaluateVisitor_visitAtRule_closure10:function(){},_EvaluateVisitor_visitForRule_closure9:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitForRule_closure10:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitForRule_closure11:function(e){this.fromNumber=e},_EvaluateVisitor_visitForRule_closure12:function(e,t){this.toNumber=e,this.fromNumber=t},_EvaluateVisitor_visitForRule_closure13:function(e,t,r,n,i,o){var s=this;s._box_0=e,s.$this=t,s.node=r,s.from=n,s.direction=i,s.fromNumber=o},_EvaluateVisitor_visitForRule__closure1:function(e){this.$this=e},_EvaluateVisitor_visitForwardRule_closure3:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitForwardRule_closure4:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor__registerCommentsForModule_closure1:function(){},_EvaluateVisitor_visitIfRule_closure1:function(e){this.$this=e},_EvaluateVisitor_visitIfRule__closure1:function(e,t){this.$this=e,this.clause=t},_EvaluateVisitor_visitIfRule___closure1:function(e){this.$this=e},_EvaluateVisitor__visitDynamicImport_closure1:function(e,t){this.$this=e,this.$import=t},_EvaluateVisitor__visitDynamicImport__closure7:function(e){this.$this=e},_EvaluateVisitor__visitDynamicImport__closure8:function(){},_EvaluateVisitor__visitDynamicImport__closure9:function(){},_EvaluateVisitor__visitDynamicImport__closure10:function(e,t,r,n,i){var o=this;o._box_0=e,o.$this=t,o.loadsUserDefinedModules=r,o.environment=n,o.children=i},_EvaluateVisitor__applyMixin_closure3:function(e,t,r,n){var i=this;i.$this=e,i.$arguments=t,i.mixin=r,i.nodeWithSpanWithoutContent=n},_EvaluateVisitor__applyMixin__closure4:function(e,t,r,n){var i=this;i.$this=e,i.$arguments=t,i.mixin=r,i.nodeWithSpanWithoutContent=n},_EvaluateVisitor__applyMixin_closure4:function(e,t,r,n){var i=this;i.$this=e,i.contentCallable=t,i.mixin=r,i.nodeWithSpanWithoutContent=n},_EvaluateVisitor__applyMixin__closure3:function(e,t,r){this.$this=e,this.mixin=t,this.nodeWithSpanWithoutContent=r},_EvaluateVisitor__applyMixin___closure1:function(e,t,r){this.$this=e,this.mixin=t,this.nodeWithSpanWithoutContent=r},_EvaluateVisitor__applyMixin____closure1:function(e,t){this.$this=e,this.statement=t},_EvaluateVisitor_visitIncludeRule_closure5:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitIncludeRule_closure6:function(e){this.$this=e},_EvaluateVisitor_visitIncludeRule_closure7:function(e){this.node=e},_EvaluateVisitor_visitMediaRule_closure7:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitMediaRule_closure8:function(e,t){this.$this=e,this.queries=t},_EvaluateVisitor_visitMediaRule_closure9:function(e,t,r,n,i){var o=this;o.$this=e,o.mergedQueries=t,o.queries=r,o.mergedSources=n,o.node=i},_EvaluateVisitor_visitMediaRule__closure1:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitMediaRule___closure1:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitMediaRule_closure10:function(e){this.mergedSources=e},_EvaluateVisitor_visitStyleRule_closure7:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitStyleRule_closure8:function(){},_EvaluateVisitor_visitStyleRule_closure10:function(e,t,r){this.$this=e,this.rule=t,this.node=r},_EvaluateVisitor_visitStyleRule__closure1:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitStyleRule_closure9:function(){},_EvaluateVisitor__warnForBogusCombinators_closure1:function(){},_EvaluateVisitor_visitSupportsRule_closure5:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitSupportsRule_closure6:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitSupportsRule__closure1:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitSupportsRule_closure7:function(){},_EvaluateVisitor__visitSupportsCondition_closure1:function(e,t){this._box_0=e,this.$this=t},_EvaluateVisitor_visitVariableDeclaration_closure5:function(e,t,r){this._box_0=e,this.$this=t,this.node=r},_EvaluateVisitor_visitVariableDeclaration_closure6:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitVariableDeclaration_closure7:function(e,t,r){this.$this=e,this.node=t,this.value=r},_EvaluateVisitor_visitUseRule_closure1:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitWarnRule_closure1:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitWhileRule_closure1:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitWhileRule__closure1:function(e){this.$this=e},_EvaluateVisitor_visitBinaryOperationExpression_closure1:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor__slash_recommendation1:function(){},_EvaluateVisitor_visitVariableExpression_closure1:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitUnaryOperationExpression_closure1:function(e,t){this.node=e,this.operand=t},_EvaluateVisitor_visitIfExpression_closure1:function(){},_EvaluateVisitor_visitIfConditionOperation_closure1:function(){},_EvaluateVisitor_visitListExpression_closure1:function(e){this.$this=e},_EvaluateVisitor_visitFunctionExpression_closure5:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitFunctionExpression_closure6:function(){},_EvaluateVisitor_visitFunctionExpression_closure7:function(e,t,r){this._box_0=e,this.$this=t,this.node=r},_EvaluateVisitor__visitCalculation_closure1:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor__checkCalculationArguments_check1:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor__visitCalculationExpression_closure1:function(e,t,r,n){var i=this;i._box_0=e,i.$this=t,i.node=r,i.inLegacySassFunction=n},_EvaluateVisitor__visitCalculationExpression__closure1:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitInterpolatedFunctionExpression_closure1:function(e,t,r){this.$this=e,this.node=t,this.$function=r},_EvaluateVisitor__runUserDefinedCallable_closure1:function(e,t,r,n,i,o){var s=this;s.$this=e,s.callable=t,s.evaluated=r,s.nodeWithSpan=n,s.run=i,s.V=o},_EvaluateVisitor__runUserDefinedCallable__closure1:function(e,t,r,n,i,o){var s=this;s.$this=e,s.evaluated=t,s.callable=r,s.nodeWithSpan=n,s.run=i,s.V=o},_EvaluateVisitor__runUserDefinedCallable___closure1:function(e,t,r,n,i,o){var s=this;s.$this=e,s.evaluated=t,s.callable=r,s.nodeWithSpan=n,s.run=i,s.V=o},_EvaluateVisitor__runUserDefinedCallable____closure1:function(){},_EvaluateVisitor__runFunctionCallable_closure1:function(e,t){this.$this=e,this.callable=t},_EvaluateVisitor__runBuiltInCallable_closure5:function(e,t,r){this._box_0=e,this.evaluated=t,this.namedSet=r},_EvaluateVisitor__runBuiltInCallable_closure6:function(e,t){this._box_0=e,this.evaluated=t},_EvaluateVisitor__runBuiltInCallable_closure7:function(){},_EvaluateVisitor__evaluateArguments_closure7:function(){},_EvaluateVisitor__evaluateArguments_closure8:function(e,t){this.$this=e,this.restNodeForSpan=t},_EvaluateVisitor__evaluateArguments_closure9:function(e,t,r,n){var i=this;i.$this=e,i.named=t,i.restNodeForSpan=r,i.namedNodes=n},_EvaluateVisitor__evaluateArguments_closure10:function(){},_EvaluateVisitor__evaluateMacroArguments_closure7:function(e){this.restArgs=e},_EvaluateVisitor__evaluateMacroArguments_closure8:function(e,t,r){this.$this=e,this.restNodeForSpan=t,this.restArgs=r},_EvaluateVisitor__evaluateMacroArguments_closure9:function(e,t,r,n){var i=this;i.$this=e,i.named=t,i.restNodeForSpan=r,i.restArgs=n},_EvaluateVisitor__evaluateMacroArguments_closure10:function(e,t,r){this.$this=e,this.keywordRestNodeForSpan=t,this.keywordRestArgs=r},_EvaluateVisitor__addRestMap_closure1:function(e,t,r,n,i,o){var s=this;s.$this=e,s.values=t,s.convert=r,s.expressionNode=n,s.map=i,s.nodeWithSpan=o},_EvaluateVisitor__verifyArguments_closure1:function(e,t,r){this.parameters=e,this.positional=t,this.named=r},_EvaluateVisitor_visitCssAtRule_closure5:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitCssAtRule_closure6:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitCssAtRule_closure7:function(){},_EvaluateVisitor_visitCssKeyframeBlock_closure3:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitCssKeyframeBlock_closure4:function(){},_EvaluateVisitor_visitCssMediaRule_closure7:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitCssMediaRule_closure8:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitCssMediaRule_closure9:function(e,t,r,n){var i=this;i.$this=e,i.mergedQueries=t,i.node=r,i.mergedSources=n},_EvaluateVisitor_visitCssMediaRule__closure1:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitCssMediaRule___closure1:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitCssMediaRule_closure10:function(e){this.mergedSources=e},_EvaluateVisitor_visitCssStyleRule_closure4:function(e,t,r){this.$this=e,this.rule=t,this.node=r},_EvaluateVisitor_visitCssStyleRule__closure1:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitCssStyleRule_closure3:function(){},_EvaluateVisitor_visitCssSupportsRule_closure5:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitCssSupportsRule_closure6:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitCssSupportsRule__closure1:function(e,t){this.$this=e,this.node=t},_EvaluateVisitor_visitCssSupportsRule_closure7:function(){},_EvaluateVisitor__performInterpolationHelper_closure1:function(e){this.interpolation=e},_EvaluateVisitor__serialize_closure1:function(e,t){this.value=e,this.quote=t},_EvaluateVisitor__expressionNode_closure1:function(e,t){this.$this=e,this.expression=t},_EvaluateVisitor__withoutSlash_recommendation1:function(){},_EvaluateVisitor__stackFrame_closure1:function(e){this.$this=e},_ImportedCssVisitor1:function(e){this._evaluate0$_visitor=e},_ImportedCssVisitor_visitCssAtRule_closure1:function(){},_ImportedCssVisitor_visitCssMediaRule_closure1:function(e){this.hasBeenMerged=e},_ImportedCssVisitor_visitCssStyleRule_closure1:function(){},_ImportedCssVisitor_visitCssSupportsRule_closure1:function(){},_EvaluationContext1:function(e,t){this._evaluate0$_visitor=e,this._evaluate0$_defaultWarnNodeWithSpan=t},EveryCssVisitor0:function(){},EveryCssVisitor_visitCssAtRule_closure0:function(e){this.$this=e},EveryCssVisitor_visitCssKeyframeBlock_closure0:function(e){this.$this=e},EveryCssVisitor_visitCssMediaRule_closure0:function(e){this.$this=e},EveryCssVisitor_visitCssStyleRule_closure0:function(e){this.$this=e},EveryCssVisitor_visitCssStylesheet_closure0:function(e){this.$this=e},EveryCssVisitor_visitCssSupportsRule_closure0:function(e){this.$this=e},throwNodeException(e,t,r,n){var i,o,s,a;i=I._glyphs===C.C_AsciiGlyphSet,I._glyphs=t?C.C_AsciiGlyphSet:C.C_UnicodeGlyphSet;try{s=A.callConstructor(I.$get$exceptionClass(),[e,C.JSString_methods.replaceFirst$2(e.toString$1$color(0,r),"Error: ","")]),o=D._NodeException._as(s),null!=(n=null==(a=A.getTrace0(e))?n:a)&&A.attachJsStack(o,n),A.jsThrow(o)}finally{I._glyphs=i?C.C_AsciiGlyphSet:C.C_UnicodeGlyphSet}},_NodeException:function(){},exceptionClass_closure:function(){},exceptionClass__closure:function(){},exceptionClass__closure0:function(){},exceptionClass__closure1:function(){},SassException$0:(e,t,r)=>new A.SassException0(null==r?C.Set_empty:A.Set_Set$unmodifiable(r,D.Uri),e,t),MultiSpanSassException$0(e,t,r,n,i){var o=A.ConstantMap_ConstantMap$from(n,D.FileSpan,D.String);return new A.MultiSpanSassException0(r,o,null==i?C.Set_empty:A.Set_Set$unmodifiable(i,D.Uri),e,t)},SassRuntimeException$0:(e,t,r,n)=>new A.SassRuntimeException0(r,null==n?C.Set_empty:A.Set_Set$unmodifiable(n,D.Uri),e,t),MultiSpanSassRuntimeException$0(e,t,r,n,i,o){var s=A.ConstantMap_ConstantMap$from(n,D.FileSpan,D.String);return new A.MultiSpanSassRuntimeException0(i,r,s,null==o?C.Set_empty:A.Set_Set$unmodifiable(o,D.Uri),e,t)},SassFormatException$0:(e,t,r)=>new A.SassFormatException0(null==r?C.Set_empty:A.Set_Set$unmodifiable(r,D.Uri),e,t),MultiSpanSassFormatException$0(e,t,r,n,i){var o=A.ConstantMap_ConstantMap$from(n,D.FileSpan,D.String);return new A.MultiSpanSassFormatException0(r,o,null==i?C.Set_empty:A.Set_Set$unmodifiable(i,D.Uri),e,t)},SassScriptException$0:(e,t)=>new A.SassScriptException0(null==t?e:"$"+t+": "+e),MultiSpanSassScriptException$0(e,t,r){var n=A.ConstantMap_ConstantMap$from(r,D.FileSpan,D.String);return new A.MultiSpanSassScriptException0(t,n,e)},SassException0:function(e,t,r){this.loadedUrls=e,this._span_exception$_message=t,this._span=r},MultiSpanSassException0:function(e,t,r,n,i){var o=this;o.primaryLabel=e,o.secondarySpans=t,o.loadedUrls=r,o._span_exception$_message=n,o._span=i},SassRuntimeException0:function(e,t,r,n){var i=this;i.trace=e,i.loadedUrls=t,i._span_exception$_message=r,i._span=n},MultiSpanSassRuntimeException0:function(e,t,r,n,i,o){var s=this;s.trace=e,s.primaryLabel=t,s.secondarySpans=r,s.loadedUrls=n,s._span_exception$_message=i,s._span=o},SassFormatException0:function(e,t,r){this.loadedUrls=e,this._span_exception$_message=t,this._span=r},MultiSpanSassFormatException0:function(e,t,r,n,i){var o=this;o.primaryLabel=e,o.secondarySpans=t,o.loadedUrls=r,o._span_exception$_message=n,o._span=i},SassScriptException0:function(e){this.message=e},MultiSpanSassScriptException0:function(e,t,r){this.primaryLabel=e,this.secondarySpans=t,this.message=r},Exports:function(){},LoggerNamespace:function(){},Expression0:function(){},JSExpressionVisitor:function(e){this._expression$_inner=e},JSExpressionVisitorObject:function(){},expressionToCalc0(e){var t=A.ArgumentList$0(A._setArrayType([C.C__MakeExpressionCalculationSafe0.visitBinaryOperationExpression$1(0,e)],D.JSArray_Expression_2),C.Map_empty14,C.Map_empty5,e.get$span(0),null,null),r=e.get$span(0);return new A.FunctionExpression0(null,A.stringReplaceAllUnchecked("calc","_","-"),"calc",t,r)},_MakeExpressionCalculationSafe0:function(){},__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0:function(){},ExtendRule0:function(e,t,r){this.selector=e,this.isOptional=t,this.span=r},Extension0:function(e,t,r,n,i){var o=this;o.extender=e,o.target=t,o.mediaContext=r,o.isOptional=n,o.span=i},Extender0:function(e,t){this.selector=e,this.isOriginal=t,this._extension$_extension=null},ExtensionStore__extendOrReplace0(e,t,r,n,i){var o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y,$,x,S,w,E=A.ExtensionStore$_mode0(n);for(e.accept$1(C._IsInvisibleVisitor_true0)||E._extension_store$_originals.addAll$1(0,e.components),s=(o=r.components).length,l=(a=t.components).length,c=D.ComplexSelector_2,u=D.Extension_2,d=D.SimpleSelector_2,h=D.Map_ComplexSelector_Extension_2,p=0;p<s;++p){if(null==(_=(m=o[p]).get$singleCompound()))throw A.wrapException(A.SassScriptException$0("Can't extend complex selector "+m.toString$0(0)+".",null));for(g=A.LinkedHashMap_LinkedHashMap$_empty(d,h),v=(f=_.components).length,b=0;b<v;++b){for(y=f[b],$=A.LinkedHashMap_LinkedHashMap$_empty(c,u),x=0;x<l;++x)(m=a[x]).get$specificity(),S=new A.Extender0(m,!1),w=new A.Extension0(S,y,null,!0,i),S._extension$_extension=w,$.$indexSet(0,m,w);g.$indexSet(0,y,$)}e=E._extension_store$_extendList$2(e,g)}return e},ExtensionStore$0(){var e=D.SimpleSelector_2;return new A.ExtensionStore0(A.LinkedHashMap_LinkedHashMap$_empty(e,D.Set_ModifiableBox_SelectorList_2),A.LinkedHashMap_LinkedHashMap$_empty(e,D.Map_ComplexSelector_Extension_2),A.LinkedHashMap_LinkedHashMap$_empty(e,D.List_Extension_2),A.LinkedHashMap_LinkedHashMap$_empty(D.ModifiableBox_SelectorList_2,D.List_CssMediaQuery_2),new A.JsIdentityLinkedHashMap(D.JsIdentityLinkedHashMap_SimpleSelector_int_2),new A._LinkedIdentityHashSet(D._LinkedIdentityHashSet_ComplexSelector_2),C.ExtendMode_normal_0_normal0)},ExtensionStore$_mode0(e){var t=D.SimpleSelector_2;return new A.ExtensionStore0(A.LinkedHashMap_LinkedHashMap$_empty(t,D.Set_ModifiableBox_SelectorList_2),A.LinkedHashMap_LinkedHashMap$_empty(t,D.Map_ComplexSelector_Extension_2),A.LinkedHashMap_LinkedHashMap$_empty(t,D.List_Extension_2),A.LinkedHashMap_LinkedHashMap$_empty(D.ModifiableBox_SelectorList_2,D.List_CssMediaQuery_2),new A.JsIdentityLinkedHashMap(D.JsIdentityLinkedHashMap_SimpleSelector_int_2),new A._LinkedIdentityHashSet(D._LinkedIdentityHashSet_ComplexSelector_2),e)},ExtensionStore0:function(e,t,r,n,i,o,s){var a=this;a._extension_store$_selectors=e,a._extension_store$_extensions=t,a._extension_store$_extensionsByExtender=r,a._extension_store$_mediaContexts=n,a._extension_store$_sourceSpecificity=i,a._extension_store$_originals=o,a._extension_store$_mode=s},ExtensionStore_extensionsWhereTarget_closure0:function(){},ExtensionStore__registerSelector_closure0:function(){},ExtensionStore_addExtension_closure2:function(){},ExtensionStore_addExtension_closure3:function(){},ExtensionStore_addExtension_closure4:function(e){this.complex=e},ExtensionStore__extendExistingExtensions_closure1:function(){},ExtensionStore__extendExistingExtensions_closure2:function(){},ExtensionStore_addExtensions_closure0:function(){},ExtensionStore__extendComplex_closure0:function(e,t,r){this._box_0=e,this.$this=t,this.complex=r},ExtensionStore__extendComplex__closure0:function(e,t,r){this._box_0=e,this.$this=t,this.complex=r},ExtensionStore__extendCompound_closure2:function(){},ExtensionStore__extendCompound_closure3:function(){},ExtensionStore__extendCompound_closure4:function(e){this.original=e},ExtensionStore__extendSimple_withoutPseudo0:function(e,t,r){this.$this=e,this.extensions=t,this.targetsUsed=r},ExtensionStore__extendSimple_closure1:function(e,t){this.$this=e,this.withoutPseudo=t},ExtensionStore__extendSimple_closure2:function(){},ExtensionStore__extendPseudo_closure4:function(){},ExtensionStore__extendPseudo_closure5:function(){},ExtensionStore__extendPseudo_closure6:function(){},ExtensionStore__extendPseudo_closure7:function(e){this.pseudo=e},ExtensionStore__extendPseudo_closure8:function(e,t){this.pseudo=e,this.selector=t},ExtensionStore__trim_closure1:function(e,t){this._box_0=e,this.complex1=t},ExtensionStore__trim_closure2:function(e,t){this._box_0=e,this.complex1=t},ExtensionStore_clone_closure0:function(e,t,r,n,i){var o=this;o.$this=e,o.newSelectors=t,o.newBoxes=r,o.oldToNewSelectors=n,o.newMediaContexts=i},ExtensionStore_clone__closure0:function(e){this.selector=e},FiberClass:function(){},Fiber:function(){},JSToDartFileImporter:function(e){this._file0$_findFileUrl=e},JSToDartFileImporter_canonicalize_closure:function(e,t){this.$this=e,this.url=t},FilesystemImporter0:function(e,t){this._filesystem$_loadPath=e,this._filesystem$_loadPathDeprecated=t},FilesystemImporter_canonicalize_closure0:function(){},ForRule$0(e,t,r,n,i,o){var s=A.List_List$unmodifiable(n,D.Statement_2),a=C.JSArray_methods.any$1(s,new A.ParentStatement_closure0);return new A.ForRule0(e,t,r,o,i,s,a)},ForRule0:function(e,t,r,n,i,o,s){var a=this;a.variable=e,a.from=t,a.to=r,a.isExclusive=n,a.span=i,a.children=o,a.hasDeclarations=s},ForwardRule0:function(e,t,r,n,i,o,s,a){var l=this;l.url=e,l.shownMixinsAndFunctions=t,l.shownVariables=r,l.hiddenMixinsAndFunctions=n,l.hiddenVariables=i,l.prefix=o,l.configuration=s,l.span=a},ForwardedModuleView_ifNecessary0(e,t,r){var n,i=!1;return null==t.prefix&&null==t.shownMixinsAndFunctions&&null==t.shownVariables&&!0===(n=null==(n=t.hiddenMixinsAndFunctions)?null:n._base.get$isEmpty(0))&&(i=!0===(i=null==(i=t.hiddenVariables)?null:i._base.get$isEmpty(0))),i?e:A.ForwardedModuleView$0(e,t,r)},ForwardedModuleView$0(e,t,r){var n=t.prefix,i=t.shownVariables,o=t.hiddenVariables,s=t.shownMixinsAndFunctions,a=t.hiddenMixinsAndFunctions;return new A.ForwardedModuleView0(e,t,A.ForwardedModuleView__forwardedMap0(e.get$variables(),n,i,o,D.Value_2),A.ForwardedModuleView__forwardedMap0(e.get$variableNodes(),n,i,o,D.AstNode_2),A.ForwardedModuleView__forwardedMap0(e.get$functions(e),n,s,a,r),A.ForwardedModuleView__forwardedMap0(e.get$mixins(),n,s,a,r),r._eval$1("ForwardedModuleView0<0>"))},ForwardedModuleView__forwardedMap0(e,t,r,n,i){var o=null==t,s=!1;return o&&null==r&&(s=null==n||n._base.get$isEmpty(0)),s||(o||(e=new A.PrefixedMapView0(e,t,i._eval$1("PrefixedMapView0<0>"))),null!=r?e=new A.LimitedMapView0(e,r._base.intersection$1(new A.MapKeySet(e,D.MapKeySet_nullable_Object)),D.$env_1_1_String._bind$1(i)._eval$1("LimitedMapView0<1,2>")):null!=n&&n._base.get$isNotEmpty(0)&&(e=A.LimitedMapView$blocklist0(e,n,D.String,i))),e},ForwardedModuleView0:function(e,t,r,n,i,o,s){var a=this;a._forwarded_view0$_inner=e,a._forwarded_view0$_rule=t,a.variables=r,a.variableNodes=n,a.functions=i,a.mixins=o,a.$ti=s},FunctionExpression0:function(e,t,r,n,i){var o=this;o.namespace=e,o.name=t,o.originalName=r,o.$arguments=n,o.span=i},JSFunction0:function(){},SupportsFunction0:function(e,t,r){this.name=e,this.$arguments=t,this.span=r},functionClass_closure:function(){},functionClass__closure:function(){},functionClass__closure0:function(){},SassFunction0:function(e,t){this.callable=e,this._function0$_compileContext=t},FunctionRule$0(e,t,r,n,i){var o=A.stringReplaceAllUnchecked(e,"_","-"),s=A.List_List$unmodifiable(r,D.Statement_2),a=C.JSArray_methods.any$1(s,new A.ParentStatement_closure0);return new A.FunctionRule0(o,e,t,n,s,a)},FunctionRule0:function(e,t,r,n,i,o){var s=this;s.name=e,s.originalName=t,s.parameters=r,s.span=n,s.children=i,s.hasDeclarations=o},unifyComplex0(e,t){var r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b=null,y=w.getInterceptor$asx(e);if(1===y.get$length(e))return e;for(r=y.get$iterator(e),o=i=n=b;r.moveNext$0();){if((s=r.get$current(r)).accept$1(C.C__IsUselessVisitor0))return b;if((l=1===(a=s.components).length)?u=1===(c=s.leadingCombinators).length:(c=b,u=!1),u)if(d=(l?c:s.leadingCombinators)[0],null==i)i=d;else if(!i.$ti._is(d)||!w.$eq$(d.value,i.value))return b;if(1===(p=(h=C.JSArray_methods.get$last(a)).combinators).length){if(m=p[0],s=null!=n&&!(n.$ti._is(m)&&w.$eq$(m.value,n.value)))return b;n=m}if(_=h.selector,null==o)o=_;else if(null==(o=A.unifyCompound0(o,_)))return b}for(r=D.JSArray_ComplexSelector_2,s=A._setArrayType([],r),a=y.get$iterator(e);a.moveNext$0();)(f=(g=(u=a.get$current(a)).components).length)>1&&(v=u.leadingCombinators,s.push(A.ComplexSelector$0(v,C.JSArray_methods.take$1(g,f-1),u.span,u.lineBreak)));return a=null==i?C.List_empty17:A._setArrayType([i],D.JSArray_CssValue_Combinator_2),o.toString,u=null==n?C.List_empty17:A._setArrayType([n],D.JSArray_CssValue_Combinator_2),h=A.ComplexSelector$0(a,A._setArrayType([new A.ComplexSelectorComponent0(o,A.List_List$unmodifiable(u,D.CssValue_Combinator_2),t)],D.JSArray_ComplexSelectorComponent_2),t,y.any$1(e,new A.unifyComplex_closure0)),0===s.length?y=A._setArrayType([h],r):(y=A.List_List$_of(A.IterableExtension_get_exceptLast0(s),D.ComplexSelector_2)).push(C.JSArray_methods.get$last(s).concatenate$2(h,t)),A.weave0(y,t,!1)},unifyCompound0(e,t){var r,n,i,o,s,a,l=e.components,c=A._setArrayType([],D.JSArray_SimpleSelector_2);for(n=(r=t.components).length,i=!1,o=0;o<n;++o)if(s=r[o],i&&s instanceof A.PseudoSelector0){if(null==(a=s.unify$1(c)))return null;c=a}else{if(i=C.JSBool_methods.$or(i,s instanceof A.PseudoSelector0&&!s.isClass),null==(a=s.unify$1(l)))return null;l=a}return r=A.List_List$_of(l,D.SimpleSelector_2),C.JSArray_methods.addAll$1(r,c),A.CompoundSelector$0(r,e.span)},unifyUniversalAndElement0(e,t){var r,n,i,o=A._namespaceAndName0(e,"selector1"),s=o._0,a=o._1,l=A._namespaceAndName0(t,"selector2"),c=l._0,u=l._1;if(s==c||"*"===c)r=s;else{if("*"!==s)return null;r=c}if(a==u||null==u)n=a;else{if(null!=a&&"*"!==a)return null;n=u}return i=e.span,null==n?new A.UniversalSelector0(r,i):new A.TypeSelector0(new A.QualifiedName0(n,r),i)},_namespaceAndName0(e,t){var r,n;return e instanceof A.UniversalSelector0?r=new A._Record_2(e.namespace,null):e instanceof A.TypeSelector0?(n=e.name,r=new A._Record_2(n.namespace,n.name)):r=A.throwExpression(A.ArgumentError$value(e,t,P.must_b)),r},weave0(e,t,r){var n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y=w.getInterceptor$asx(e);if(1===y.get$length(e))return n=y.$index(e,0),!r||n.lineBreak?e:A._setArrayType([A.ComplexSelector$0(n.leadingCombinators,n.components,n.span,!0)],D.JSArray_ComplexSelector_2);for(i=D.JSArray_ComplexSelector_2,o=A._setArrayType([y.get$first(e)],i),s=(y=y.skip$1(e,1)).$ti,y=new A.ListIterator(y,y.get$length(0),s._eval$1("ListIterator<ListIterable.E>")),a=D.ComplexSelectorComponent_2,s=s._eval$1("ListIterable.E");y.moveNext$0();)if(null==(l=y.__internal$_current)&&(l=s._as(l)),1!==(c=l.components).length){for(d=A._setArrayType([],i),h=o.length,p=0;p<o.length;o.length===h||(0,A.throwConcurrentModificationError)(o),++p)for(null==(m=A._weaveParents0(o[p],l,t))&&(m=C.List_empty18),_=m.length,g=0;g<m.length;m.length===_||(0,A.throwConcurrentModificationError)(m),++g)f=m[g],v=C.JSArray_methods.get$last(c),(b=A.List_List$_of(f.components,a)).push(v),v=f.lineBreak||r,d.push(A.ComplexSelector$0(f.leadingCombinators,b,t,v));o=d}else for(u=0;u<o.length;++u)o[u]=o[u].concatenate$3$forceLineBreak(l,t,r);return o},_weaveParents0(e,t,r){var n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y,$,x,S,E,I,M,k,T,R,L,P,N=null,F=A._mergeLeadingCombinators0(e.leadingCombinators,t.leadingCombinators);if(null==F)return N;if(n=D.ComplexSelectorComponent_2,i=A.QueueList_QueueList$from(e.components,n),o=A.QueueList_QueueList$from(A.IterableExtension_get_exceptLast0(t.components),n),null==(s=A._mergeTrailingCombinators0(i,o,r,N)))return N;if(a=A._firstIfRootish0(i),l=A._firstIfRootish0(o),u=N,d=!1,(c=null!=a)?((d=null!=l)&&(u=l),h=a,p=l):p=h=N,d){if(null==(m=A.unifyCompound0(h.selector,u.selector)))return N;n=h.combinators,d=h.span,_=D.CssValue_Combinator_2,i.addFirst$1(new A.ComplexSelectorComponent0(m,A.List_List$unmodifiable(n,_),d)),o.addFirst$1(new A.ComplexSelectorComponent0(m,A.List_List$unmodifiable(u.combinators,_),d))}else d=N,_=!1,null!=a&&(c?d=p:(p=d=l,c=!0),g=_=(d=null==d)?a:N,_=d,d=g),_?(n=d,d=!0):null==a?(c?_=p:(p=_=l,c=!0),(_=null!=_)?(null==(f=c?p:l)&&(f=n._as(f)),n=f):n=d,d=_):(n=d,d=!1),d&&(i.addFirst$1(n),o.addFirst$1(n));for(v=A._groupSelectors0(i),b=A._groupSelectors0(o),n=D.List_ComplexSelectorComponent_2,y=A.longestCommonSubsequence0(b,v,new A._weaveParents_closure3(r),n),$=A._setArrayType([],D.JSArray_List_Iterable_ComplexSelectorComponent_2),d=y.length,_=D.JSArray_Iterable_ComplexSelectorComponent_2,x=D.JSArray_ComplexSelectorComponent_2,S=0;S<y.length;y.length===d||(0,A.throwConcurrentModificationError)(y),++S){for(E=y[S],I=A._setArrayType([],_),k=(M=A._chunks0(v,b,new A._weaveParents_closure4(E),n)).length,T=0;T<M.length;M.length===k||(0,A.throwConcurrentModificationError)(M),++T){for(R=M[T],L=A._setArrayType([],x),P=C.JSArray_methods.get$iterator(R);P.moveNext$0();)C.JSArray_methods.addAll$1(L,P.get$current(0));I.push(L)}$.push(I),$.push(A._setArrayType([E],_)),v.removeFirst$0(),b.removeFirst$0()}for(d=A._setArrayType([],_),_=(n=A._chunks0(v,b,new A._weaveParents_closure5,n)).length,S=0;S<n.length;n.length===_||(0,A.throwConcurrentModificationError)(n),++S){for(R=n[S],I=A._setArrayType([],x),M=C.JSArray_methods.get$iterator(R);M.moveNext$0();)C.JSArray_methods.addAll$1(I,M.get$current(0));d.push(I)}for($.push(d),C.JSArray_methods.addAll$1($,s),n=A._setArrayType([],D.JSArray_ComplexSelector_2),d=w.get$iterator$ax(A.paths0(new A.WhereIterable($,new A._weaveParents_closure6,D.WhereIterable_List_Iterable_ComplexSelectorComponent_2),D.Iterable_ComplexSelectorComponent_2)),_=!e.lineBreak,I=t.lineBreak;d.moveNext$0();){for(M=d.get$current(d),k=A._setArrayType([],x),M=w.get$iterator$ax(M);M.moveNext$0();)C.JSArray_methods.addAll$1(k,M.get$current(M));n.push(A.ComplexSelector$0(F,k,r,!_||I))}return n},_firstIfRootish0(e){var t,r,n,i,o,s;if(e.get$length(0)>=1)for(n=(r=(t=e.$index(0,0)).selector.components).length,i=0;i<n;++i)if(s=!1,(o=r[i])instanceof A.PseudoSelector0&&o.isClass&&(s=I._rootishPseudoClasses0.contains$1(0,o.normalizedName)),s)return e.removeFirst$0(),t;return null},_mergeLeadingCombinators0(e,t){var r,n,i,o,s,a,l=null;return r=l,l,s=l,(i=!(o=!(i=(i=n=e.length)>1))||(i=s=t.length)>1)||(a=(i=n<=0)?t:r,(r=i)?r=!0:(r=!1,r=(r=o?s:s=t.length)<=0,a=e),r=r?a:C.C_ListEquality.equals$2(0,e,t)?e:l),r},_mergeTrailingCombinators0(e,t,r,n){var i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y,$,x,S,w,E,I,M,k,T,R,L,P,N,F,O,B,U,V,z,H,G,j,J,W,Q,q=null;if(null==n&&(n=A.QueueList$(q,D.List_List_ComplexSelectorComponent_2)),o=(i=e.get$length(0))>=1?e.$index(0,i-1).combinators:C.List_empty17,a=(s=t.get$length(0))>=1?t.$index(0,s-1).combinators:C.List_empty17,0===(l=o.length)&&0===a.length)return n;if(l>1||a.length>1)return q;if(c=(a=[l=null==(l=A.IterableExtension_get_firstOrNull(o))?q:l.value,null==(a=A.IterableExtension_get_firstOrNull(a))?q:a.value,e,t])[0],d=q,h=q,(l=u=C.Combinator_98W0===c)?(h=a[1],l=d=C.Combinator_98W0===h,p=!0,m=!0):(p=!1,m=!1,l=!1),l)_=e.removeLast$0(0),g=t.removeLast$0(0),a=_.selector,l=g.selector,A.compoundIsSuperselector0(a,l,q)?n.addFirst$1(A._setArrayType([A._setArrayType([g],D.JSArray_ComplexSelectorComponent_2)],D.JSArray_List_ComplexSelectorComponent_2)):(f=D.JSArray_ComplexSelectorComponent_2,v=D.JSArray_List_ComplexSelectorComponent_2,A.compoundIsSuperselector0(l,a,q)?n.addFirst$1(A._setArrayType([A._setArrayType([_],f)],v)):(b=A._setArrayType([A._setArrayType([_,g],f),A._setArrayType([g,_],f)],v),null!=(y=A.unifyCompound0(a,l))&&b.push(A._setArrayType([new A.ComplexSelectorComponent0(y,A.List_List$unmodifiable(A._setArrayType([C.JSArray_methods.get$first(o)],D.JSArray_CssValue_Combinator_2),D.CssValue_Combinator_2),r)],f)),n.addFirst$1(b)));else if($=q,x=q,S=!1,w=q,E=!1,I=q,M=q,l=!1,u?(m?f=h:(f=h=a[1],m=!0),(f=$=C.Combinator_sHB0===f)&&(x=a[2],M=w=a[3],I=x,S=!0,E=!0,l=!0),k=!0):k=!1,T=!l,R=q,l=!0,T&&((f=R=C.Combinator_sHB0===c)?(p?f=d:(m?f=h:(f=h=a[1],m=!0),f=d=C.Combinator_98W0===f,p=!0),f?(S?M=x:(M=x=a[2],S=!0),E?I=w:(I=w=a[3],E=!0)):l=!1):l=!1),l)L=M.removeLast$0(0),o=(P=I.removeLast$0(0)).selector,a=L.selector,l=D.JSArray_ComplexSelectorComponent_2,f=D.JSArray_List_ComplexSelectorComponent_2,A.compoundIsSuperselector0(o,a,q)?n.addFirst$1(A._setArrayType([A._setArrayType([L],l)],f)):(f=A._setArrayType([A._setArrayType([P,L],l)],f),null!=(N=A.unifyCompound0(o,a))&&f.push(A._setArrayType([new A.ComplexSelectorComponent0(N,A.List_List$unmodifiable(L.combinators,D.CssValue_Combinator_2),r)],l)),n.addFirst$1(f));else if(l=q,f=!1,C.Combinator_iUF0===c&&(F=!0,k?v=$:(m?v=h:(v=h=a[1],m=F),v=$=C.Combinator_sHB0===v),v?v=!0:p?v=d:(m?v=h:(v=h=a[1],m=F),v=d=C.Combinator_98W0===v),v&&(E?O=w:(O=w=a[3],E=!0),l=O,f=!0)),f?f=!0:(f=!!(f=T?R:R=C.Combinator_sHB0===c)||u)?(m?f=h:(f=h=a[1],m=!0),(f=C.Combinator_iUF0===f)&&(S?B=x:(B=x=a[2],S=!0),l=B)):f=!1,f)n.addFirst$1(A._setArrayType([A._setArrayType([l.removeLast$0(0)],D.JSArray_ComplexSelectorComponent_2)],D.JSArray_List_ComplexSelectorComponent_2));else if(v=!1,(f=!(l=null==c))&&(F=!0,m?U=h:(U=h=a[1],m=F),null!=U&&(m?V=h:(V=h=a[1],m=F),v=c===(null==V?D.Combinator_2._as(V):V))),v){if(null==(z=A.unifyCompound0(e.removeLast$0(0).selector,t.removeLast$0(0).selector)))return q;n.addFirst$1(A._setArrayType([A._setArrayType([new A.ComplexSelectorComponent0(z,A.List_List$unmodifiable(A._setArrayType([C.JSArray_methods.get$first(o)],D.JSArray_CssValue_Combinator_2),D.CssValue_Combinator_2),r)],D.JSArray_ComplexSelectorComponent_2)],D.JSArray_List_ComplexSelectorComponent_2))}else{if(o=q,v=q,U=q,f?(m?f=h:(f=h=a[1],m=!0),(f=null==f)&&(S?H=x:(H=x=a[2],S=!0),E?G=w:(G=w=a[3],E=!0),U=o=G,o=c,v=H),j=U,U=f,f=v,v=j):(f=v,v=U,U=false),U?(l=v,a=f,f=!0):l?(m?l=h:(l=h=a[1],m=!0),(l=null!=l)?(null==(J=m?h:a[1])&&(J=D.Combinator_2._as(J)),W=S?x:a[2],Q=E?w:a[3],f=a=W,a=o=Q,o=J):(a=f,f=v),j=f,f=l,l=j):(l=v,a=f,f=!1),!f)return q;(o=o===C.Combinator_iUF0&&!0===(o=null==(o=A.IterableExtension_get_lastOrNull(l))?q:A.compoundIsSuperselector0(o.selector,a.get$last(a).selector,q)))&&l.removeLast$0(0),n.addFirst$1(A._setArrayType([A._setArrayType([a.removeLast$0(0)],D.JSArray_ComplexSelectorComponent_2)],D.JSArray_List_ComplexSelectorComponent_2))}return A._mergeTrailingCombinators0(e,t,r,n)},_mustUnify0(e,t){var r,n,i,o=A.LinkedHashSet_LinkedHashSet$_empty(D.SimpleSelector_2);for(r=w.get$iterator$ax(e);r.moveNext$0();)for(n=C.JSArray_methods.get$iterator(r.get$current(r).selector.components),i=new A.WhereIterator(n,A.functions0___isUnique$closure());i.moveNext$0();)o.add$1(0,n.get$current(0));return 0!==o._collection$_length&&w.any$1$ax(t,new A._mustUnify_closure0(o))},_isUnique0:e=>e instanceof A.IDSelector0||e instanceof A.PseudoSelector0&&!e.isClass,_chunks0(e,t,r,n){for(var i,o,s,a,l,c,u,d,h=null,p=n._eval$1("JSArray<0>"),m=A._setArrayType([],p);!r.call$1(e);)m.push(e.removeFirst$0());for(i=A._setArrayType([],p);!r.call$1(t);)i.push(t.removeFirst$0());return s=h,(p=o=m.length<=0)?(p=s=i.length<=0,a=i,l=!0,c=!0):(a=h,l=!1,c=!1,p=!1),p?p=A._setArrayType([],n._eval$1("JSArray<List<0>>")):(o?(c?u=a:(a=u=i,c=!0),p=!0):(u=h,p=!1),p?p=!0:(p=l?s:s=(c?a:i).length<=0,u=m),p?p=A._setArrayType([u],n._eval$1("JSArray<List<0>>")):(p=A.List_List$_of(m,n),C.JSArray_methods.addAll$1(p,i),d=A.List_List$_of(i,n),C.JSArray_methods.addAll$1(d,m),p=A._setArrayType([p,d],n._eval$1("JSArray<List<0>>")))),p},paths0:(e,t)=>w.fold$2$ax(e,A._setArrayType([A._setArrayType([],t._eval$1("JSArray<0>"))],t._eval$1("JSArray<List<0>>")),new A.paths_closure0(t)),_groupSelectors0(e){var t,r,n,i=A.QueueList$(null,D.List_ComplexSelectorComponent_2),o=D.JSArray_ComplexSelectorComponent_2,s=A._setArrayType([],o);for(t=e.$ti,r=new A.ListIterator(e,e.get$length(0),t._eval$1("ListIterator<ListBase.E>")),t=t._eval$1("ListBase.E");r.moveNext$0();)null==(n=r.__internal$_current)&&(n=t._as(n)),s.push(n),0===n.combinators.length&&(i._queue_list$_add$1(s),s=A._setArrayType([],o));return 0!==s.length&&i._queue_list$_add$1(s),i},listIsSuperselector0:(e,t)=>C.JSArray_methods.every$1(t,new A.listIsSuperselector_closure0(e)),_complexIsParentSuperselector0(e,t){var r,n,i;return!(w.get$length$asx(e)>w.get$length$asx(t))&&(r=I.$get$bogusSpan0(),n=new A.ComplexSelectorComponent0(A.CompoundSelector$0(A._setArrayType([new A.PlaceholderSelector0("<temp>",r)],D.JSArray_SimpleSelector_2),r),A.List_List$unmodifiable(C.List_empty17,D.CssValue_Combinator_2),r),r=D.ComplexSelectorComponent_2,(i=A.List_List$_of(e,r)).push(n),(r=A.List_List$_of(t,r)).push(n),A.complexIsSuperselector0(i,r))},complexIsSuperselector0(e,t){var r,n,i,o,s,a,l,c,u,d,h,p,m,_,g=null;if(0!==C.JSArray_methods.get$last(e).combinators.length)return!1;if(0!==C.JSArray_methods.get$last(t).combinators.length)return!1;for(n=(r=A._arrayInstanceType(t))._precomputed1,r=r._eval$1("SubListIterable<1>"),i=g,o=0,s=0;;i=_){if(a=e.length-o,l=t.length-s,0===a||0===l)return!1;if(a>l)return!1;if((u=(c=e[o]).combinators).length>1)return!1;if(1===a)return!C.JSArray_methods.any$1(t,new A.complexIsSuperselector_closure1)&&(r=c.selector,n=C.JSArray_methods.get$last(t),u=r.get$hasComplicatedSuperselectorSemantics()?C.JSArray_methods.sublist$2(t,s,t.length-1):g,A.compoundIsSuperselector0(r,n.selector,u));for(d=c.selector,h=s;;){if((p=t[h]).combinators.length>1)return!1;if(m=d.get$hasComplicatedSuperselectorSemantics()?C.JSArray_methods.sublist$2(t,s,h):g,A.compoundIsSuperselector0(d,p.selector,m))break;if(++h===t.length-1)return!1}if((d=new A.SubListIterable(t,0,h,r)).SubListIterable$3(t,0,h,n),!A._compatibleWithPreviousCombinator0(i,d.skip$1(0,s)))return!1;if(p=t[h],_=A.IterableExtension_get_firstOrNull(u),!A._isSupercombinator0(_,A.IterableExtension_get_firstOrNull(p.combinators)))return!1;if(++o,s=h+1,e.length-o===1)if(((u=null==_)?g:_.value)===C.Combinator_98W0){if(u=t.length-1,(d=new A.SubListIterable(t,0,u,r)).SubListIterable$3(t,0,u,n),!d.skip$1(0,s).every$1(0,new A.complexIsSuperselector_closure2(_)))return!1}else if(!u&&t.length-s>1)return!1}},_compatibleWithPreviousCombinator0:(e,t)=>!!t.get$isEmpty(t)||(null==e||e.value===C.Combinator_98W0&&t.every$1(0,new A._compatibleWithPreviousCombinator_closure0)),_isSupercombinator0(e,t){var r,n=!0;return w.$eq$(e,t)||!!(r=null==e)&&(null==t?null:t.value)===C.Combinator_iUF0||(n=(r?null:e.value)===C.Combinator_98W0&&(null==t?null:t.value)===C.Combinator_sHB0),n},compoundIsSuperselector0(e,t,r){var n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v=null;if(!e.get$hasComplicatedSuperselectorSemantics()&&!t.get$hasComplicatedSuperselectorSemantics())return!((n=e.components).length>t.components.length)&&C.JSArray_methods.every$1(n,new A.compoundIsSuperselector_closure0(t));if(i=A._findPseudoElementIndexed0(e),o=A._findPseudoElementIndexed0(t),a=v,l=v,c=v,u=v,d=!1,(s=(n=D.Record_2_nullable_Object_and_nullable_Object)._is(i))?(h=i._0,l=i._1,(n=n._is(o))&&(c=o._0,u=o._1),a=o):(n=d,h=v),n)return h.isSuperselector$1(c)?(n=e.components,d=D.int,p=A._arrayInstanceType(n)._precomputed1,m=t.components,_=A._arrayInstanceType(m)._precomputed1,n=A._compoundComponentsIsSuperselector0(A.SubListIterable$(n,0,A.checkNotNullable(l,"count",d),p),A.SubListIterable$(m,0,A.checkNotNullable(u,"count",d),_),r)&&A._compoundComponentsIsSuperselector0(A.SubListIterable$(n,l+1,v,p),A.SubListIterable$(m,u+1,v,_),r)):n=!1,n;if(n=null!=i||null!=(s?a:o))return!1;for(d=(n=e.components).length,p=t.components,g=0;g<d;++g)if(m=(f=n[g])instanceof A.PseudoSelector0&&null!=f.selector){if(!A._selectorPseudoIsSuperselector0(f,t,r))return!1}else if(!C.JSArray_methods.any$1(p,f.get$isSuperselector()))return!1;return!0},_findPseudoElementIndexed0(e){var t,r,n,i;for(r=(t=e.components).length,n=0;n<r;++n)if((i=t[n])instanceof A.PseudoSelector0&&!i.isClass)return new A._Record_2(i,n);return null},_compoundComponentsIsSuperselector0(e,t,r){var n;return 0===e.get$length(0)||(0===t.get$length(0)&&(t=A._setArrayType([new A.UniversalSelector0("*",I.$get$bogusSpan0())],D.JSArray_SimpleSelector_2)),n=I.$get$bogusSpan0(),A.compoundIsSuperselector0(A.CompoundSelector$0(e,n),A.CompoundSelector$0(t,n),r))},_selectorPseudoIsSuperselector0(e,t,r){var n=e.selector;if(null==n)throw A.wrapException(A.ArgumentError$("Selector "+e.toString$0(0)+" must have a selector argument.",null));switch(e.normalizedName){case"is":case"matches":case"any":case"where":return A._selectorPseudoArgs0(t,e.name,!0).any$1(0,new A._selectorPseudoIsSuperselector_closure6(n))||C.JSArray_methods.any$1(n.components,new A._selectorPseudoIsSuperselector_closure7(r,t));case"has":case"host":case"host-context":return A._selectorPseudoArgs0(t,e.name,!0).any$1(0,new A._selectorPseudoIsSuperselector_closure8(n));case"slotted":return A._selectorPseudoArgs0(t,e.name,!1).any$1(0,new A._selectorPseudoIsSuperselector_closure9(n));case"not":return C.JSArray_methods.every$1(n.components,new A._selectorPseudoIsSuperselector_closure10(t,e));case"current":return A._selectorPseudoArgs0(t,e.name,!0).any$1(0,new A._selectorPseudoIsSuperselector_closure11(n));case"nth-child":case"nth-last-child":return C.JSArray_methods.any$1(t.components,new A._selectorPseudoIsSuperselector_closure12(e,n));default:throw A.wrapException("unreachable")}},_selectorPseudoArgs0(e,t,r){var n=D.WhereTypeIterable_PseudoSelector_2;return new A.NonNullsIterable(new A.MappedIterable(new A.WhereIterable(new A.WhereTypeIterable(e.components,n),new A._selectorPseudoArgs_closure1(r,t),n._eval$1("WhereIterable<Iterable.E>")),new A._selectorPseudoArgs_closure2,n._eval$1("MappedIterable<Iterable.E,SelectorList0?>")),D.NonNullsIterable_SelectorList_2)},unifyComplex_closure0:function(){},_weaveParents_closure3:function(e){this.span=e},_weaveParents_closure4:function(e){this.group=e},_weaveParents_closure5:function(){},_weaveParents_closure6:function(){},_mustUnify_closure0:function(e){this.uniqueSelectors=e},_mustUnify__closure0:function(e){this.uniqueSelectors=e},paths_closure0:function(e){this.T=e},paths__closure0:function(e,t){this.paths=e,this.T=t},paths___closure0:function(e,t){this.option=e,this.T=t},listIsSuperselector_closure0:function(e){this.list1=e},listIsSuperselector__closure0:function(e){this.complex1=e},complexIsSuperselector_closure1:function(){},complexIsSuperselector_closure2:function(e){this.combinator1=e},_compatibleWithPreviousCombinator_closure0:function(){},compoundIsSuperselector_closure0:function(e){this.compound2=e},_selectorPseudoIsSuperselector_closure6:function(e){this.selector1=e},_selectorPseudoIsSuperselector_closure7:function(e,t){this.parents=e,this.compound2=t},_selectorPseudoIsSuperselector_closure8:function(e){this.selector1=e},_selectorPseudoIsSuperselector_closure9:function(e){this.selector1=e},_selectorPseudoIsSuperselector_closure10:function(e,t){this.compound2=e,this.pseudo1=t},_selectorPseudoIsSuperselector__closure0:function(e,t){this.complex=e,this.pseudo1=t},_selectorPseudoIsSuperselector___closure1:function(e){this.simple2=e},_selectorPseudoIsSuperselector___closure2:function(e){this.simple2=e},_selectorPseudoIsSuperselector_closure11:function(e){this.selector1=e},_selectorPseudoIsSuperselector_closure12:function(e,t){this.pseudo1=e,this.selector1=t},_selectorPseudoArgs_closure1:function(e,t){this.isClass=e,this.name=t},_selectorPseudoArgs_closure2:function(){},globalFunctions_closure0:function(){},GamutMapMethod_GamutMapMethod$fromName0:e=>"clip"!==e?"local-minde"!==e?A.throwExpression(A.SassScriptException$0('Unknown gamut map method "'+e+'".',null)):C.LocalMindeGamutMap_A2x0:C.ClipGamutMap_clip0,GamutMapMethod0:function(){},HslColorSpace0:function(e,t){this.name=e,this._space$_channels=t},HwbColorSpace0:function(e,t){this.name=e,this._space$_channels=t},HwbColorSpace_convert_toRgb0:function(e,t){this._box_0=e,this.factor=t},InterpolatedIDSelector:function(e){this.name=e},IDSelector0:function(e,t){this.name=e,this.span=t},IDSelector_unify_closure0:function(e){this.$this=e},IfConditionOperation$0(e,t){var r=A.List_List$unmodifiable(e,D.IfConditionExpression_2);return r.length<2&&A.throwExpression(A.ArgumentError$value(r,"expressions","must have length >= 2")),new A.IfConditionOperation0(r,t)},IfExpression0:function(e,t){this.branches=e,this.span=t},IfConditionExpression0:function(){},IfConditionParenthesized0:function(e,t){this.expression=e,this.span=t},IfConditionNegation0:function(e,t){this.expression=e,this.span=t},IfConditionOperation0:function(e,t){this.expressions=e,this.op=t},IfConditionOperation_toInterpolation_closure0:function(e){this.$this=e},IfConditionFunction0:function(e,t,r){this.name=e,this.$arguments=t,this.span=r},IfConditionSass0:function(e,t){this.expression=e,this.span=t},IfConditionRaw0:function(e){this.text=e},JSIfConditionExpressionVisitor:function(e){this._if_condition_expression$_inner=e},JSIfConditionExpressionVisitorObject:function(){},IfClause$0(e,t){var r=A.List_List$unmodifiable(t,D.Statement_2);return new A.IfClause0(e,r,C.JSArray_methods.any$1(r,new A.IfRuleClause$__closure0))},ElseClause$0(e){var t=A.List_List$unmodifiable(e,D.Statement_2);return new A.ElseClause0(t,C.JSArray_methods.any$1(t,new A.IfRuleClause$__closure0))},IfRule0:function(e,t,r){this.clauses=e,this.lastClause=t,this.span=r},IfRule_toString_closure0:function(){},IfRuleClause0:function(){},IfRuleClause$__closure0:function(){},IfRuleClause$___closure0:function(){},IfClause0:function(e,t,r){this.expression=e,this.children=t,this.hasDeclarations=r},ElseClause0:function(e,t){this.children=e,this.hasDeclarations=t},jsToDartList:e=>n.immutable.isOrderedMap(e)?w.toArray$0$x(D.ImmutableList._as(e)):D.List_dynamic._as(e),dartMapToImmutableMap(e){var t,r,i=w.asMutable$0$x(new n.immutable.OrderedMap);for(t=(t=A.MapExtensions_get_pairs0(e,D.Object,D.nullable_Object)).get$iterator(t);t.moveNext$0();)r=t.get$current(t),i=w.$set$2$x(i,r._0,r._1);return w.asImmutable$0$x(i)},immutableMapToDartMap(e){var t=A.LinkedHashMap_LinkedHashMap$_empty(D.Object,D.nullable_Object);return w.forEach$1$ax(e,A.allowInterop(new A.immutableMapToDartMap_closure(t))),t},ImmutableList0:function(){},ImmutableMap0:function(){},immutableMapToDartMap_closure:function(e){this.dartMap=e},NodeImporter__addSassPath:e=>new A._SyncStarIterable(A.NodeImporter__addSassPath$body(e),D._SyncStarIterable_String),NodeImporter__addSassPath$body:e=>function(){var t,r,i=e,o=0,s=[];return function(e,a,l){for(1===a&&(s.push(l),o=2);;)switch(o){case 0:return o=3,e._yieldStar$1(i);case 3:if(null==(t=A.getEnvironmentVariable0("SASS_PATH"))){o=1;break}return r=A.isNodeJs()?n.process:null,o=4,e._yieldStar$1(A._setArrayType(t.split(w.$eq$(null==r?null:w.get$platform$x(r),"win32")?";":":"),D.JSArray_String));case 4:case 1:return 0;case 2:return e._datum=s.at(-1),3}}},NodeImporter:function(e,t,r){this._implementation$_options=e,this._includePaths=t,this._implementation$_importers=r},NodeImporter_load_closure:function(e,t,r,n,i){var o=this;o.$this=e,o.importer=t,o.forImport=r,o.url=n,o.previousString=i},NodeImporter__tryPath_closure:function(e){this.path=e},NodeImporter__tryPath_closure0:function(){},NodeImporter__callImporterAsync_closure:function(e,t,r,n,i,o){var s=this;s.$this=e,s.importer=t,s.forImport=r,s.url=n,s.previousString=i,s.completer=o},ModifiableCssImport0:function(e,t,r){var n=this;n.url=e,n.modifiers=t,n.span=r,n._node$_indexInParent=n._node$_parent=null,n.isGroupEnd=!1},ImportCache$0(e,t,r){var n=D.nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl_2,i=D.Record_3_Importer_and_Uri_and_bool_forImport_2,o=D.Uri;return new A.ImportCache0(A.ImportCache__toImporters0(e,t,r),A.LinkedHashMap_LinkedHashMap$_empty(D.Record_2_Uri_and_bool_forImport,n),A.LinkedHashMap_LinkedHashMap$_empty(i,n),A.LinkedHashMap_LinkedHashMap$_empty(i,o),A.LinkedHashMap_LinkedHashMap$_empty(o,D.nullable_Stylesheet_2),A.LinkedHashMap_LinkedHashMap$_empty(o,D.ImporterResult_2),A.LinkedHashMap_LinkedHashMap$_empty(o,D.DateTime))},ImportCache$none(){var e=D.nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl_2,t=D.Record_3_Importer_and_Uri_and_bool_forImport_2,r=D.Uri;return new A.ImportCache0(C.List_empty28,A.LinkedHashMap_LinkedHashMap$_empty(D.Record_2_Uri_and_bool_forImport,e),A.LinkedHashMap_LinkedHashMap$_empty(t,e),A.LinkedHashMap_LinkedHashMap$_empty(t,r),A.LinkedHashMap_LinkedHashMap$_empty(r,D.nullable_Stylesheet_2),A.LinkedHashMap_LinkedHashMap$_empty(r,D.ImporterResult_2),A.LinkedHashMap_LinkedHashMap$_empty(r,D.DateTime))},ImportCache__toImporters0(e,t,r){var i,o,s,a,l,c,u=null,d=A.getEnvironmentVariable0("SASS_PATH");if(A.isBrowser())return i=A._setArrayType([],D.JSArray_Importer_2),null!=e&&C.JSArray_methods.addAll$1(i,e),i;if(i=A._setArrayType([],D.JSArray_Importer_2),null!=e&&C.JSArray_methods.addAll$1(i,e),null!=t)for(o=w.get$iterator$ax(t);o.moveNext$0();)s=o.get$current(o),i.push(new A.FilesystemImporter0(I.$get$context().absolute$15(s,u,u,u,u,u,u,u,u,u,u,u,u,u,u),!1));if(null!=d)for(o=A.isNodeJs()?n.process:u,a=(s=d.split(w.$eq$(null==o?u:w.get$platform$x(o),"win32")?";":":")).length,l=0;l<a;++l)c=s[l],i.push(new A.FilesystemImporter0(I.$get$context().absolute$15(c,u,u,u,u,u,u,u,u,u,u,u,u,u,u),!1));return i},ImportCache0:function(e,t,r,n,i,o,s){var a=this;a._import_cache$_importers=e,a._import_cache$_canonicalizeCache=t,a._import_cache$_perImporterCanonicalizeCache=r,a._import_cache$_nonCanonicalRelativeUrls=n,a._import_cache$_importCache=i,a._import_cache$_resultsCache=o,a._import_cache$_loadTimes=s},ImportCache_canonicalize_closure0:function(e,t,r,n,i,o,s){var a=this;a.$this=e,a.baseImporter=t,a.resolvedUrl=r,a.baseUrl=n,a.forImport=i,a.key=o,a.url=s},ImportCache__canonicalize_closure0:function(e,t){this.importer=e,this.url=t},ImportCache_importCanonical_closure0:function(e,t,r,n){var i=this;i.$this=e,i.importer=t,i.canonicalUrl=r,i.originalUrl=n},ImportCache_humanize_closure3:function(e){this.canonicalUrl=e},ImportCache_humanize_closure4:function(){},ImportCache_humanize_closure5:function(){},ImportCache_humanize_closure6:function(e){this.canonicalUrl=e},ImportRule0:function(e,t){this.imports=e,this.span=t},JSImporter:function(){},JSImporterResult:function(){},Importer0:function(){},NodeImporterResult0:function(){},IncludeRule0:function(e,t,r,n,i,o){var s=this;s.namespace=e,s.name=t,s.originalName=r,s.$arguments=n,s.content=i,s.span=o},InterpolatedFunctionExpression0:function(e,t,r){this.name=e,this.$arguments=t,this.span=r},InterpolatedSelector:function(){},Interpolation$0(e,t,r){var n=new A.Interpolation0(A.List_List$unmodifiable(e,D.Object),A.List_List$unmodifiable(t,D.nullable_FileSpan),r);return n.Interpolation$30(e,t,r),n},Interpolation0:function(e,t,r){this.contents=e,this.spans=t,this.span=r},Interpolation_toString_closure0:function(){},SupportsInterpolation0:function(e,t){this.expression=e,this.span=t},InterpolationBuffer0:function(e,t,r){this._interpolation_buffer0$_text=e,this._interpolation_buffer0$_contents=t,this._interpolation_buffer0$_spans=r},InterpolationMap$0(e,t){var r=A.List_List$unmodifiable(t,D.int),n=e.contents.length,i=Math.max(0,n-1);return r.length!==i&&A.throwExpression(A.ArgumentError$("InterpolationMap must have "+A.S(i)+" targetOffsets if the interpolation has "+n+" components.",null)),new A.InterpolationMap0(e,r)},InterpolationMap0:function(e,t){this._interpolation_map$_interpolation=e,this._interpolation_map$_targetOffsets=t},InterpolationMap_mapException_closure0:function(){},InterpolationMethod$0(e,t){var r;return r=e.get$isPolarInternal()?null==t?C.HueInterpolationMethod_00:t:null,e.get$isPolarInternal()||null==t||A.throwExpression(A.ArgumentError$(P.Hue_in+e.toString$0(0)+".",null)),new A.InterpolationMethod0(e,r)},InterpolationMethod_InterpolationMethod$fromValue0(e,t){var r,n,i,o=e.assertCommonListStyle$2$allowSlash(t,!1);if(0===o.length)throw A.wrapException(A.SassScriptException$0(P.Expecta,t));if((r=C.JSArray_methods.get$first(o).assertString$1(t)).assertUnquoted$1(t),n=A.ColorSpace_fromName0(r._string0$_text,t),1===o.length)return A.InterpolationMethod$0(n,null);if(i=A.HueInterpolationMethod_HueInterpolationMethod$_fromValue0(o[1],t),2===o.length)throw A.wrapException(A.SassScriptException$0('Expected unquoted string "hue" after '+e.toString$0(0)+".",t));if((r=o[2].assertString$1(t)).assertUnquoted$1(t),"hue"!==r._string0$_text.toLowerCase())throw A.wrapException(A.SassScriptException$0(P.Expectu+e.toString$0(0)+", was "+o[2].toString$0(0)+".",t));if(o.length>3)throw A.wrapException(A.SassScriptException$0('Expected nothing after "hue" in '+e.toString$0(0)+".",t));if(!n.get$isPolarInternal())throw A.wrapException(A.SassScriptException$0('Hue interpolation method "'+i.toString$0(0)+P.x20hue__+n.toString$0(0)+".",t));return A.InterpolationMethod$0(n,i)},HueInterpolationMethod_HueInterpolationMethod$_fromValue0(e,t){var r,n=e.assertString$1(t);return n.assertUnquoted$0(),r=n._string0$_text.toLowerCase(),n="shorter"!==r?"longer"!==r?"increasing"!==r?"decreasing"!==r?A.throwExpression(A.SassScriptException$0("Unknown hue interpolation method "+e.toString$0(0)+".",t)):C.HueInterpolationMethod_30:C.HueInterpolationMethod_20:C.HueInterpolationMethod_10:C.HueInterpolationMethod_00},InterpolationMethod0:function(e,t){this.space=e,this.hue=t},HueInterpolationMethod0:function(e,t){this.index=e,this._name=t},_realCasePath0(e){var t,r=null,i=A.isNodeJs()?n.process:r;return w.$eq$(null==i?r:w.get$platform$x(i),"win32")?i=!0:(i=A.isNodeJs()?n.process:r,i=w.$eq$(null==i?r:w.get$platform$x(i),"darwin")),i?(i=A.isNodeJs()?n.process:r,w.$eq$(null==i?r:w.get$platform$x(i),"win32")&&0!==(i=(t=C.JSString_methods.substring$2(e,0,I.$get$context().style.rootLength$1(e))).length)&&A.CharacterExtension_get_isAlphabetic0(t.charCodeAt(0))&&(e=t.toUpperCase()+C.JSString_methods.substring$1(e,i)),(new A._realCasePath_helper0).call$1(e)):e},_realCasePath_helper0:function(){},_realCasePath_helper_closure0:function(e,t,r,n){var i=this;i.path=e,i.realPath=t,i.helper=r,i.dirname=n},_realCasePath_helper__closure0:function(e){this.basename=e},IsCalculationSafeVisitor0:function(){},IsCalculationSafeVisitor_visitListExpression_closure0:function(e){this.$this=e},IsPlainCssVisitor0:function(e){this._is_plain_css$_allowInterpolation=e},IsPlainCssVisitor_visitIfExpression_closure0:function(e){this.$this=e},IsPlainCssVisitor_visitListExpression_closure0:function(e){this.$this=e},IsPlainCssVisitor_visitIfConditionOperation_closure0:function(e){this.$this=e},IsPlainCssVisitor__visitArgumentList_closure0:function(e){this.$this=e},printError0(e){var t,r=A.isNodeJs()?n.process:null;null!=r?(r=w.get$stderr$x(r),w.write$1$x(r,A.S(e)+"\n")):(r=n.console,t=w.toString$0$(e),w.error$1$x(r,t))},readFile0(e){var t,r,n,i;if(!A.isNodeJs())throw A.wrapException(A.UnsupportedError$("readFile() is only supported on Node.js"));if(t=A._asString(A._readFile0(e,"utf8")),!C.JSString_methods.contains$1(t,"�"))return t;for(r=A.SourceFile$fromString(t,I.$get$context().toUri$1(e)),n=t.length,i=0;i<n;++i)if(65533===t.charCodeAt(i))throw A.wrapException(A.SassException$0("Invalid UTF-8.",A.FileLocation$_(r,i).pointSpan$0(),null));return t},_readFile0:(e,t)=>A._systemErrorToFileSystemException0(new A._readFile_closure0(e,t)),fileExists0(e){if(!A.isNodeJs())throw A.wrapException(A.UnsupportedError$(P.fileEx));return A._systemErrorToFileSystemException0(new A.fileExists_closure0(e))},dirExists0(e){if(!A.isNodeJs())throw A.wrapException(A.UnsupportedError$("dirExists() is only supported on Node.js"));return A._systemErrorToFileSystemException0(new A.dirExists_closure0(e))},linkExists0(e){if(!A.isNodeJs())throw A.wrapException(A.UnsupportedError$(P.linkEx));return A._systemErrorToFileSystemException0(new A.linkExists_closure0(e))},listDir0(e){if(!A.isNodeJs())throw A.wrapException(A.UnsupportedError$("listDir() is only supported on Node.js"));return A._systemErrorToFileSystemException0(new A.listDir_closure0(!1,e))},realpath0(e){if(!A.isNodeJs())throw A.wrapException(A.UnsupportedError$("listDir() is only supported on Node.js"));return A._systemErrorToFileSystemException0(new A.realpath_closure0(e))},getEnvironmentVariable0(e){var t=A.isNodeJs()?n.process:null,r=null==t?null:w.get$env$x(t);return t=null==r?null:A._asStringQ(r[e])},_systemErrorToFileSystemException0(e){var t,r,n;try{return r=e.call$0()}catch(e){if(t=A.unwrapException(e),!D.JsSystemError._is(t))throw e;throw r=t,n=w.getInterceptor$x(r),A.wrapException(new A.FileSystemException0(w.substring$2$s(n.get$message(r),(A.S(n.get$code(r))+": ").length,w.get$length$asx(n.get$message(r))-(", "+A.S(n.get$syscall(r))+" '"+A.S(n.get$path(r))+"'").length),w.get$path$x(t)))}},hasTerminal0(){var e=A.isNodeJs()?n.process:null;return w.$eq$(null==e?null:w.get$isTTY$x(w.get$stdout$x(e)),!0)},FileSystemException0:function(e,t){this.message=e,this.path=t},_readFile_closure0:function(e,t){this.path=e,this.encoding=t},fileExists_closure0:function(e){this.path=e},dirExists_closure0:function(e){this.path=e},linkExists_closure0:function(e){this.path=e},listDir_closure0:function(e,t){this.recursive=e,this.path=t},listDir__closure1:function(e){this.path=e},listDir__closure2:function(){},listDir_closure_list0:function(){},listDir__list_closure0:function(e,t){this.parent=e,this.list=t},realpath_closure0:function(e){this.path=e},main(){w.set$compile$x(n.exports,A.allowInteropNamed("sass.compile",A.compile__compile$closure())),w.set$compileString$x(n.exports,A.allowInteropNamed("sass.compileString",A.compile__compileString$closure())),w.set$compileAsync$x(n.exports,A.allowInteropNamed("sass.compileAsync",A.compile__compileAsync$closure())),w.set$compileStringAsync$x(n.exports,A.allowInteropNamed("sass.compileStringAsync",A.compile__compileStringAsync$closure())),w.set$initCompiler$x(n.exports,A.allowInteropNamed("sass.initCompiler",A.compiler__initCompiler$closure())),w.set$initAsyncCompiler$x(n.exports,A.allowInteropNamed("sass.initAsyncCompiler",A.compiler__initAsyncCompiler$closure())),w.set$Compiler$x(n.exports,I.$get$compilerClass()),w.set$AsyncCompiler$x(n.exports,I.$get$asyncCompilerClass()),w.set$Value$x(n.exports,I.$get$valueClass()),w.set$SassBoolean$x(n.exports,I.$get$booleanClass()),w.set$SassArgumentList$x(n.exports,I.$get$argumentListClass()),w.set$SassCalculation$x(n.exports,I.$get$calculationClass()),w.set$CalculationOperation$x(n.exports,I.$get$calculationOperationClass()),w.set$CalculationInterpolation$x(n.exports,I.$get$calculationInterpolationClass()),w.set$SassColor$x(n.exports,I.$get$colorClass()),w.set$SassFunction$x(n.exports,I.$get$functionClass()),w.set$SassMixin$x(n.exports,I.$get$mixinClass()),w.set$SassList$x(n.exports,I.$get$listClass()),w.set$SassMap$x(n.exports,I.$get$mapClass()),w.set$SassNumber$x(n.exports,I.$get$numberClass()),w.set$SassString$x(n.exports,I.$get$stringClass()),w.set$sassNull$x(n.exports,C.C__SassNull0),w.set$sassTrue$x(n.exports,C.SassBoolean_true0),w.set$sassFalse$x(n.exports,C.SassBoolean_false0),w.set$Exception$x(n.exports,I.$get$exceptionClass()),w.set$Logger$x(n.exports,{silent:{warn:A.allowInteropNamed("sass.Logger.silent.warn",new A.main_closure),debug:A.allowInteropNamed("sass.Logger.silent.debug",new A.main_closure0)}}),w.set$NodePackageImporter$x(n.exports,I.$get$nodePackageImporterClass()),w.set$deprecations$x(n.exports,A.jsify(I.$get$deprecations())),w.set$Version$x(n.exports,I.$get$versionClass()),w.set$loadParserExports_$x(n.exports,A.allowInterop(A.parser0__loadParserExports$closure())),w.set$info$x(n.exports,"dart-sass\t1.99.0\t(Sass Compiler)\t[Dart]\ndart2js\t3.11.4\t(Dart Compiler)\t[Dart]"),A.updateCanonicalizeContextPrototype(),A.updateSourceSpanPrototype(),w.set$render$x(n.exports,A.allowInteropNamed("sass.render",A.legacy__render$closure())),w.set$renderSync$x(n.exports,A.allowInteropNamed("sass.renderSync",A.legacy__renderSync$closure())),w.set$types$x(n.exports,{Boolean:I.$get$legacyBooleanClass(),Color:I.$get$legacyColorClass(),List:I.$get$legacyListClass(),Map:I.$get$legacyMapClass(),Null:I.$get$legacyNullClass(),Number:I.$get$legacyNumberClass(),String:I.$get$legacyStringClass(),Error:n.Error}),w.set$NULL$x(n.exports,C.C__SassNull0),w.set$TRUE$x(n.exports,C.SassBoolean_true0),w.set$FALSE$x(n.exports,C.SassBoolean_false0)},main_closure:function(){},main_closure0:function(){},JSToDartLogger:function(e,t,r){this._node=e,this._fallback=t,this._ascii=r},JSToDartLogger_internalWarn_closure:function(e,t,r,n,i){var o=this;o.$this=e,o.message=t,o.span=r,o.trace=n,o.deprecation=i},JSToDartLogger_debug_closure:function(e,t,r){this.$this=e,this.message=t,this.span=r},ModifiableCssKeyframeBlock$0(e,t){var r=A._setArrayType([],D.JSArray_ModifiableCssNode_2);return new A.ModifiableCssKeyframeBlock0(e,t,new A.UnmodifiableListView(r,D.UnmodifiableListView_ModifiableCssNode_2),r)},ModifiableCssKeyframeBlock0:function(e,t,r,n){var i=this;i.selector=e,i.span=t,i.children=r,i._node$_children=n,i._node$_indexInParent=i._node$_parent=null,i.isGroupEnd=!1},KeyframeSelectorParser0:function(e,t){this.scanner=e,this._parser1$_interpolationMap=t},KeyframeSelectorParser_parse_closure0:function(e){this.$this=e},LabColorSpace0:function(e,t){this.name=e,this._space$_channels=t},LazyFileSpan0:function(e){this._lazy_file_span0$_builder=e,this._lazy_file_span0$_span=null},LchColorSpace0:function(e,t){this.name=e,this._space$_channels=t},render(e,t){var r;A.isNodeJs()||A.jsThrow(new n.Error("The render() method is only available in Node.js.")),null!=(r=w.get$fiber$x(e))?w.run$0$x(r.call$1(A.allowInterop(new A.render_closure(t,e)))):A._renderAsync(e).then$1$2$onError(0,new A.render_closure0(t),new A.render_closure1(t),D.Null)},_renderAsync(e){var t,r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y,$,x=0,S=A._makeAsyncAwaitCompleter(D.RenderResult),E=A._wrapJsFunctionForAsync(function(M,k){if(1===M)return A._asyncRethrow(k,S);for(;;)switch(x){case 0:_=new A.DateTime(Date.now(),0,!1),g=w.getInterceptor$x(e),f=A.NullableExtension_andThen0(g.get$file(e),A.path__absolute$closure()),v=g.get$logger(e),b=I._glyphs,y=new A.JSToDartLogger(v,C.C_DefaultLogger0,b===C.C_AsciiGlyphSet),$=g.get$data(e),x=null!=$?3:5;break;case 3:return v=A._parseImporter(e,_),b=A._parsePackageImportersAsync(e,_),r=A._parseFunctions(e,_,!0),n=g.get$indentedSyntax(e),n=w.$eq$(n,!1)||null==n?null:C.Syntax_Sass_1_sass0,i=A._parseOutputStyle(g.get$outputStyle(e)),o=w.$eq$(g.get$indentType(e),"tab"),s=A._parseIndentWidth(g.get$indentWidth(e)),a=A._parseLineFeed(g.get$linefeed(e)),l=null==f?"stdin":I.$get$context().toUri$1(f).toString$0(0),null==(c=g.get$quietDeps(e))&&(c=!1),u=A.parseDeprecations(y,g.get$fatalDeprecations(e),!0),d=A.parseDeprecations(y,g.get$futureDeprecations(e),!1),h=A.parseDeprecations(y,g.get$silenceDeprecations(e),!1),null==(p=g.get$verbose(e))&&(p=!1),null==(g=g.get$charset(e))&&(g=!0),x=6,A._asyncAwait(A.compileStringAsync0($,g,u,r,d,b,null,s,a,y,v,c,h,A._enableSourceMaps(e),i,n,l,!o,p),E);case 6:m=k,x=4;break;case 5:x=null!=f?7:9;break;case 7:return v=A._parseImporter(e,_),b=A._parsePackageImportersAsync(e,_),r=A._parseFunctions(e,_,!0),n=g.get$indentedSyntax(e),n=w.$eq$(n,!1)||null==n?null:C.Syntax_Sass_1_sass0,i=A._parseOutputStyle(g.get$outputStyle(e)),o=w.$eq$(g.get$indentType(e),"tab"),s=A._parseIndentWidth(g.get$indentWidth(e)),a=A._parseLineFeed(g.get$linefeed(e)),null==(l=g.get$quietDeps(e))&&(l=!1),c=A.parseDeprecations(y,g.get$fatalDeprecations(e),!0),u=A.parseDeprecations(y,g.get$futureDeprecations(e),!1),d=A.parseDeprecations(y,g.get$silenceDeprecations(e),!1),null==(h=g.get$verbose(e))&&(h=!1),null==(g=g.get$charset(e))&&(g=!0),x=10,A._asyncAwait(A.compileAsync0(f,g,c,r,u,b,s,a,y,v,l,d,A._enableSourceMaps(e),i,n,!o,h),E);case 10:m=k,x=8;break;case 9:throw A.wrapException(A.ArgumentError$(P.Either,null));case 8:case 4:t=A._newRenderResult(e,m,_),x=1;break;case 1:return A._asyncReturn(t,S)}});return A._asyncStartSync(E,S)},renderSync(e){var t,r,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y,$,x,S,E,M,k,T=null;A.isNodeJs()||A.jsThrow(new n.Error("The renderSync() method is only available in Node.js."));try{if(t=new A.DateTime(Date.now(),0,!1),r=null,d=w.getInterceptor$x(e),i=A.NullableExtension_andThen0(d.get$file(e),A.path__absolute$closure()),h=d.get$logger(e),p=I._glyphs,o=new A.JSToDartLogger(h,C.C_DefaultLogger0,p===C.C_AsciiGlyphSet),s=d.get$data(e),null!=s)h=s,p=A._parseImporter(e,t),m=A._parsePackageImporters(e,t),_=A._parseFunctions(e,t,!1),g=d.get$indentedSyntax(e),g=w.$eq$(g,!1)||null==g?T:C.Syntax_Sass_1_sass0,f=A._parseOutputStyle(d.get$outputStyle(e)),v=w.$eq$(d.get$indentType(e),"tab"),b=A._parseIndentWidth(d.get$indentWidth(e)),y=A._parseLineFeed(d.get$linefeed(e)),$=null==i?"stdin":I.$get$context().toUri$1(i).toString$0(0),null==(x=d.get$quietDeps(e))&&(x=!1),S=A.parseDeprecations(o,d.get$fatalDeprecations(e),!0),E=A.parseDeprecations(o,d.get$futureDeprecations(e),!1),M=A.parseDeprecations(o,d.get$silenceDeprecations(e),!1),null==(k=d.get$verbose(e))&&(k=!1),null==(d=d.get$charset(e))&&(d=!0),r=A.compileString(h,d,S,new A.CastList(_,A._arrayInstanceType(_)._eval$1("CastList<1,Callable>")),E,m,T,b,y,o,p,x,M,A._enableSourceMaps(e),f,g,$,!v,k);else{if(null==i)throw d=A.ArgumentError$(P.Either,T),A.wrapException(d);h=A._parseImporter(e,t),p=A._parsePackageImporters(e,t),m=A._parseFunctions(e,t,!1),_=d.get$indentedSyntax(e),_=w.$eq$(_,!1)||null==_?T:C.Syntax_Sass_1_sass0,g=A._parseOutputStyle(d.get$outputStyle(e)),f=w.$eq$(d.get$indentType(e),"tab"),v=A._parseIndentWidth(d.get$indentWidth(e)),b=A._parseLineFeed(d.get$linefeed(e)),null==(y=d.get$quietDeps(e))&&(y=!1),$=A.parseDeprecations(o,d.get$fatalDeprecations(e),!0),x=A.parseDeprecations(o,d.get$futureDeprecations(e),!1),S=A.parseDeprecations(o,d.get$silenceDeprecations(e),!1),null==(E=d.get$verbose(e))&&(E=!1),null==(d=d.get$charset(e))&&(d=!0),r=A.compile(i,d,$,new A.CastList(m,A._arrayInstanceType(m)._eval$1("CastList<1,Callable>")),x,p,v,b,o,h,y,S,A._enableSourceMaps(e),g,_,!f,E)}return d=A._newRenderResult(e,r,t)}catch(e){(d=A.unwrapException(e))instanceof A.SassException0?(a=d,l=A.getTraceFromException(e),A.jsThrow(A._wrapException(a,l))):(c=d,u=A.getTraceFromException(e),d=w.toString$0$(c),h=A.getTrace0(c),A.jsThrow(A._newRenderError(d,null==h?u:h,T,T,T,3)))}},_wrapException(e,t){var r,n,i,o,s=A.SourceSpanException.prototype.get$span.call(e,0),a=s.get$sourceUrl(s);return s=null!=a?"file"!==a.get$scheme()?a.toString$0(0):I.$get$context().style.pathFromUri$1(A._parseUri(a)):"stdin",r=C.JSString_methods.replaceFirst$2(e.toString$0(0),"Error: ",""),null==(n=A.getTrace0(e))&&(n=t),i=(i=(i=A.SourceSpanException.prototype.get$span.call(e,0)).get$start(i)).file.getLine$1(i.offset),o=(o=A.SourceSpanException.prototype.get$span.call(e,0)).get$start(o),A._newRenderError(r,n,o.file.getColumn$1(o.offset)+1,s,i+1,1)},_parseFunctions(e,t,r){var n,i=w.get$functions$x(e);return null==i?C.List_empty29:(n=A._setArrayType([],D.JSArray_AsyncCallable_2),A.jsForEach(i,new A._parseFunctions_closure(e,t,n,r)),n)},_parseImporter(e,t){var r,n,i,o,s,a,l=w.getInterceptor$x(e),c=l.get$importer(e);return r=null!=c?D.List_dynamic._is(c)?w.cast$1$0$ax(c,D.JSFunction):A._setArrayType([D.JSFunction._as(c)],D.JSArray_JSFunction):A._setArrayType([],D.JSArray_JSFunction),i=(n=w.getInterceptor$asx(r)).get$isNotEmpty(r)?A._contextOptions(e,t):new A.Object,o=l.get$fiber(e),(s={}).fiber=null,null!=o?(s.fiber=o,r=n.map$1$1(r,new A._parseImporter_closure(s),D.JSFunction),a=A.List_List$_of(r,r.$ti._eval$1("ListIterable.E"))):a=r,null==(l=l.get$includePaths(e))&&(l=[]),r=D.String,new A.NodeImporter(i,A.List_List$unmodifiable(A.NodeImporter__addSassPath(A.List_List$from(l,!0,r)),r),A.List_List$unmodifiable(w.cast$1$0$ax(a,D.dynamic),D.JSFunction))},_parsePackageImportersAsync(e,t){var r,n,i,o=w.getInterceptor$x(e);return o.get$pkgImporter(e)instanceof A.NodePackageImporter0?((o=o.get$pkgImporter(e)).toString,r=D.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2,n=D.Record_3_AsyncImporter_and_Uri_and_bool_forImport_2,i=D.Uri,new A.AsyncImportCache0(A.List_List$unmodifiable(A._setArrayType([o],D.JSArray_AsyncImporter),D.AsyncImporter),A.LinkedHashMap_LinkedHashMap$_empty(D.Record_2_Uri_and_bool_forImport,r),A.LinkedHashMap_LinkedHashMap$_empty(n,r),A.LinkedHashMap_LinkedHashMap$_empty(n,i),A.LinkedHashMap_LinkedHashMap$_empty(i,D.nullable_Stylesheet_2),A.LinkedHashMap_LinkedHashMap$_empty(i,D.ImporterResult_2),A.LinkedHashMap_LinkedHashMap$_empty(i,D.DateTime))):null},_parsePackageImporters(e,t){var r,n,i,o=w.getInterceptor$x(e);return o.get$pkgImporter(e)instanceof A.NodePackageImporter0?((o=o.get$pkgImporter(e)).toString,r=D.nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl_2,n=D.Record_3_Importer_and_Uri_and_bool_forImport_2,i=D.Uri,new A.ImportCache0(A.List_List$unmodifiable(A._setArrayType([o],D.JSArray_Importer_2),D.Importer),A.LinkedHashMap_LinkedHashMap$_empty(D.Record_2_Uri_and_bool_forImport,r),A.LinkedHashMap_LinkedHashMap$_empty(n,r),A.LinkedHashMap_LinkedHashMap$_empty(n,i),A.LinkedHashMap_LinkedHashMap$_empty(i,D.nullable_Stylesheet_2),A.LinkedHashMap_LinkedHashMap$_empty(i,D.ImporterResult_2),A.LinkedHashMap_LinkedHashMap$_empty(i,D.DateTime))):null},_contextOptions(e,t){var r,i,o,s,a,l,c=w.getInterceptor$x(e),u=c.get$includePaths(e);return null==u&&(u=[]),r=A.List_List$from(u,!0,D.String),u=c.get$file(e),i=c.get$data(e),o=A._setArrayType([A.current()],D.JSArray_String),C.JSArray_methods.addAll$1(o,r),s=A.isNodeJs()?n.process:null,o=C.JSArray_methods.join$1(o,w.$eq$(null==s?null:w.get$platform$x(s),"win32")?";":":"),s=w.$eq$(c.get$indentType(e),"tab")?1:0,null==(a=A._parseIndentWidth(c.get$indentWidth(e)))&&(a=2),l=A._parseLineFeed(c.get$linefeed(e)),null==(c=c.get$file(e))&&(c="data"),{file:u,data:i,includePaths:o,precision:10,style:1,indentType:s,indentWidth:a,linefeed:l.text,result:{stats:{start:t._value,entry:c}}}},_parseOutputStyle:e=>null!=e&&"expanded"!==e?"compressed"!==e?A.jsThrow(new n.Error('Unknown output style "'+e+'".')):C.OutputStyle_10:C.OutputStyle_00,_parseIndentWidth:e=>null!=e?A._isInt(e)?e:A.int_parse(w.toString$0$(e),null):null,_parseLineFeed:e=>"cr"!==e?"crlf"!==e?"lfcr"!==e?C.LineFeed_oJz:C.LineFeed_Kui:C.LineFeed_aqi:C.LineFeed_3HY,_newRenderResult(e,t,r){var i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y,$=null,x=Date.now(),S=t._compile_result$_serialize,E=S._0,M=n.undefined;if(A._enableSourceMaps(e)){for("string"==typeof(o=(i=w.getInterceptor$x(e)).get$sourceMap(e))?s=o:((a=i.get$outFile(e)).toString,s=w.$add$ansx(a,".map")),l=(a=I.$get$context()).dirname$1(s),(S=S._1).toString,S.sourceRoot=i.get$sourceMapRoot(e),(u=null==(c=i.get$outFile(e)))?(h=null==(d=i.get$file(e))?S.targetUrl="stdin.css":a.toUri$1(a.withoutExtension$1(d)+".css").toString$0(0),S.targetUrl=h):S.targetUrl=a.toUri$1(a.relative$2$from(c,l)).toString$0(0),p=a.toUri$1(l).toString$0(0),a=S.urls,m=0;m<a.length;++m)"stdin"!==(_=a[m])&&((g=(h=I.$get$url()).style).rootLength$1(_)<=0||g.isRootRelative$1(_)||(a[m]=h.relative$2$from(_,p)));a=i.get$sourceMapContents(e),M=n.Buffer.from(C.C_JsonCodec.encode$2$toEncodable(S.toJson$1$includeSourceContents(!w.$eq$(a,!1)&&null!=a),$),"utf8"),S=i.get$omitSourceMapUrl(e),(w.$eq$(S,!1)||null==S)&&(S=i.get$sourceMapEmbed(e),w.$eq$(S,!1)||null==S?(S=u?s:(S=I.$get$context()).relative$2$from(s,S.dirname$1(c)),b=I.$get$context().toUri$1(S)):(f=new A.StringBuffer(""),v=A._setArrayType([-1],D.JSArray_int),A.UriData__writeUri("application/json",$,$,f,v),v.push(f._contents.length),v.push((f._contents+=";base64,").length-1),S=C.C_Base64Encoder.startChunkedConversion$1(new A._StringSinkConversionSink(f)),i=M.length,A.RangeError_checkValidRange(0,i,i),S._convert$_add$4(M,0,i,!0),S=f._contents,b=new A.UriData((S.charCodeAt(0),S),v,$).get$uri()),S=b.toString$0(0),E+="\n\n/*# sourceMappingURL="+A.stringReplaceAllUnchecked(S,"*/","%2A/")+" */")}for(S=n.Buffer.from(E,"utf8"),null==(i=w.get$file$x(e))&&(i="data"),a=r._value,u=C.JSInt_methods._tdivFast$1(A.Duration$(0-r._microsecond,x-a)._duration,1e3),h=A._setArrayType([],D.JSArray_String),g=(g=t._evaluate._0).get$iterator(g);g.moveNext$0();)y=g.get$current(g),h.push("file"===y.get$scheme()?I.$get$context().style.pathFromUri$1(A._parseUri(y)):y.toString$0(0));return{css:S,map:M,stats:{entry:i,start:a,end:x,duration:u,includedFiles:h}}},_enableSourceMaps(e){var t,r=w.getInterceptor$x(e);return"string"!=typeof r.get$sourceMap(e)?(t=r.get$sourceMap(e),r=!w.$eq$(t,!1)&&null!=t&&null!=r.get$outFile(e)):r=!0,r},_newRenderError(e,t,r,i,o,s){var a=new n.Error(e);return a.formatted="Error: "+e,null!=o&&(a.line=o),null!=r&&(a.column=r),null!=i&&(a.file=i),a.status=s,A.attachJsStack(a,t),a},render_closure:function(e,t){this.callback=e,this.options=t},render_closure0:function(e){this.callback=e},render_closure1:function(e){this.callback=e},_parseFunctions_closure:function(e,t,r,n){var i=this;i.options=e,i.start=t,i.result=r,i.asynch=n},_parseFunctions__closure:function(e,t,r){this._box_0=e,this.callback=t,this.context=r},_parseFunctions___closure2:function(e){this.currentFiber=e},_parseFunctions____closure:function(e,t){this.currentFiber=e,this.result=t},_parseFunctions___closure3:function(e,t,r){this.callback=e,this.context=t,this.jsArguments=r},_parseFunctions___closure4:function(e){this._box_0=e},_parseFunctions__closure0:function(e,t){this.callback=e,this.context=t},_parseFunctions___closure1:function(e,t,r){this.callback=e,this.context=t,this.$arguments=r},_parseFunctions__closure1:function(e,t){this.callback=e,this.context=t},_parseFunctions___closure:function(e){this.completer=e},_parseFunctions___closure0:function(e,t,r){this.callback=e,this.context=t,this.jsArguments=r},_parseImporter_closure:function(e){this._box_0=e},_parseImporter__closure:function(e,t){this._box_0=e,this.importer=t},_parseImporter___closure:function(e){this.currentFiber=e},_parseImporter____closure:function(e,t){this.currentFiber=e,this.result=t},_parseImporter___closure0:function(e){this._box_0=e},LegacyIfExpression0:function(e,t){this.$arguments=e,this.span=t},LimitedMapView$blocklist0(e,t,r,n){var i,o,s=A.LinkedHashSet_LinkedHashSet$_empty(r);for(i=(i=e.get$keys(e)).get$iterator(i);i.moveNext$0();)o=i.get$current(i),t.contains$1(0,o)||s.add$1(0,o);return new A.LimitedMapView0(e,s,r._eval$1("@<0>")._bind$1(n)._eval$1("LimitedMapView0<1,2>"))},LimitedMapView0:function(e,t,r){this._limited_map_view0$_map=e,this._limited_map_view0$_keys=t,this.$ti=r},ListExpression0:function(e,t,r,n){var i=this;i.contents=e,i.separator=t,i.hasBrackets=r,i.span=n},ListExpression_toString_closure0:function(e){this.$this=e},_function11:(e,t,r)=>A.BuiltInCallable$function0(e,t,r,"sass:list"),_length_closure2:function(){},_nth_closure0:function(){},_setNth_closure0:function(){},_join_closure0:function(){},_append_closure2:function(){},_zip_closure0:function(){},_zip__closure2:function(){},_zip__closure3:function(e){this._box_0=e},_zip__closure4:function(e){this._box_0=e},_index_closure2:function(){},_separator_closure0:function(){},_isBracketed_closure0:function(){},_slash_closure0:function(){},InterpolatedSelectorList$(e){var t=A.List_List$unmodifiable(e,D.InterpolatedComplexSelector);return 0===t.length&&A.throwExpression(A.ArgumentError$("components may not be empty.",null)),new A.InterpolatedSelectorList(t)},InterpolatedSelectorList:function(e){this.components=e},SelectorList$0(e,t){var r=A.List_List$unmodifiable(e,D.ComplexSelector_2);return 0===r.length&&A.throwExpression(A.ArgumentError$("components may not be empty.",null)),new A.SelectorList0(r,t)},SelectorList_SelectorList$parse0:(e,t,r,n)=>new A.SelectorParser0(t,n,A.SpanScanner$(e,null),r).parse$0(0),SelectorList0:function(e,t){this.components=e,this.span=t},SelectorList_asSassList_closure0:function(){},SelectorList_nestWithin_closure0:function(e,t,r,n){var i=this;i.$this=e,i.preserveParentSelectors=t,i.implicitParent=r,i.parent=n},SelectorList_nestWithin__closure1:function(e){this.complex=e},SelectorList_nestWithin__closure2:function(e){this.complex=e},SelectorList__nestWithinCompound_closure2:function(){},SelectorList__nestWithinCompound_closure3:function(e){this.parent=e},SelectorList__nestWithinCompound_closure4:function(e,t,r){this.parentSelector=e,this.resolvedSimples=t,this.component=r},SelectorList_withAdditionalCombinators_closure0:function(e){this.combinators=e},_ParentSelectorVisitor0:function(){},__ParentSelectorVisitor_Object_SelectorSearchVisitor0:function(){},listClass_closure:function(){},listClass__closure:function(){},listClass__closure0:function(){},_ConstructorOptions:function(){},_NodeSassList:function(){},legacyListClass_closure:function(){},legacyListClass__closure:function(){},legacyListClass_closure0:function(){},legacyListClass_closure1:function(){},legacyListClass_closure2:function(){},legacyListClass_closure3:function(){},legacyListClass_closure4:function(){},SassList$0(e,t,r){var n=new A.SassList0(A.List_List$unmodifiable(e,D.Value_2),t,r);return n.SassList$3$brackets0(e,t,r),n},SassList0:function(e,t,r){this._list1$_contents=e,this._list1$_separator=t,this._list1$_hasBrackets=r},SassList_isBlank_closure0:function(){},ListSeparator0:function(e,t,r,n){var i=this;i._list1$_name=e,i.separator=t,i.index=r,i._name=n},LmsColorSpace0:function(e,t){this.name=e,this._space$_channels=t},LocalMindeGamutMap0:function(e){this.name=e},JSLogger:function(){},WarnOptions:function(){},DebugOptions:function(){},WarnForDeprecation_warnForDeprecation0(e,t,r,n,i){e.internalWarn$4$deprecation$span$trace(r,t,n,i)},LoggerWithDeprecationType0:function(){},LoudComment0:function(e){this.text=e},MapExpression0:function(e,t){this.pairs=e,this.span=t},_modify0(e,t,r,n){var i=w.get$iterator$ax(t);return i.moveNext$0()?new A._modify_modifyNestedMap0(i,r,n).call$1(e):r.call$1(e)},_deepMergeImpl0(e,t){var r,n,i,o,s,a,l,c,u,d,h,p,m,_=e._map0$_contents;if(_.get$isEmpty(_))return t;if((r=t._map0$_contents).get$isEmpty(r))return e;for(n=D.Value_2,i=A.LinkedHashMap_LinkedHashMap$of(_,n,n),_=(_=A.MapExtensions_get_pairs0(r,n,n)).get$iterator(_),r=D.SassMap_2;_.moveNext$0();)if(s=(o=_.get$current(_))._0,a=o._1,l=null==(o=i.$index(0,s))?null:o.tryMap$0(),c=a.tryMap$0(),o=!1,(u=null!=l)?(o=null!=c,d=l,h=c):(h=null,d=null),o){if(p=u?h:c,(m=A._deepMergeImpl0(d,null==p?r._as(p):p))===d)continue;i.$indexSet(0,s,m)}else i.$indexSet(0,s,a);return new A.SassMap0(A.ConstantMap_ConstantMap$from(i,n,n))},_function10:(e,t,r)=>A.BuiltInCallable$function0(e,t,r,"sass:map"),_get_closure0:function(){},_set_closure1:function(){},_set__closure2:function(e){this.$arguments=e},_set_closure2:function(){},_set__closure1:function(e){this._box_0=e},_merge_closure1:function(){},_merge_closure2:function(){},_merge__closure0:function(e){this.map2=e},_deepMerge_closure0:function(){},_deepRemove_closure0:function(){},_deepRemove__closure0:function(e){this.keys=e},_remove_closure1:function(){},_remove_closure2:function(){},_keys_closure0:function(){},_values_closure0:function(){},_hasKey_closure0:function(){},_modify_modifyNestedMap0:function(e,t,r){this.keyIterator=e,this.modify=t,this.addNesting=r},MapExtensions_get_pairs0(e,t,r){var n=e.get$entries(e);return n.map$1$1(n,new A.MapExtensions_get_pairs_closure0(t,r),t._eval$1("@<0>")._bind$1(r)._eval$1("+(1,2)"))},MapExtensions_get_pairs_closure0:function(e,t){this.K=e,this.V=t},mapClass_closure:function(){},mapClass__closure:function(){},mapClass__closure0:function(){},mapClass__closure1:function(){},_NodeSassMap:function(){},legacyMapClass_closure:function(){},legacyMapClass__closure:function(){},legacyMapClass__closure0:function(){},legacyMapClass_closure0:function(){},legacyMapClass_closure1:function(){},legacyMapClass_closure2:function(){},legacyMapClass_closure3:function(){},legacyMapClass_closure4:function(){},SassMap0:function(e){this._map0$_contents=e},_singleArgumentMathFunc0:(e,t)=>A.BuiltInCallable$function0(e,"$number",new A._singleArgumentMathFunc_closure0(t),"sass:math"),_numberFunction0:(e,t)=>A.BuiltInCallable$function0(e,"$number",new A._numberFunction_closure0(t),"sass:math"),_function9:(e,t,r)=>A.BuiltInCallable$function0(e,t,r,"sass:math"),global_closure43:function(){},module_closure26:function(){},_ceil_closure0:function(){},_clamp_closure0:function(){},_floor_closure0:function(){},_max_closure0:function(){},_min_closure0:function(){},_round_closure0:function(){},_hypot_closure0:function(){},_hypot__closure0:function(){},_log_closure0:function(){},_pow_closure0:function(){},_atan2_closure0:function(){},_compatible_closure0:function(){},_isUnitless_closure0:function(){},_unit_closure0:function(){},_percentage_closure0:function(){},_randomFunction_closure0:function(){},_div_closure0:function(){},_singleArgumentMathFunc_closure0:function(e){this.mathFunc=e},_numberFunction_closure0:function(e){this.transform=e},CssMediaQuery$type0:(e,t,r)=>new A.CssMediaQuery0(r,e,!0,null==t?C.List_empty:A.List_List$unmodifiable(t,D.String)),CssMediaQuery$condition0(e,t){var r=A.List_List$unmodifiable(e,D.String);return r.length>1&&null==t&&A.throwExpression(A.ArgumentError$(P.If_con,null)),new A.CssMediaQuery0(null,null,!1!==t,r)},CssMediaQuery0:function(e,t,r,n){var i=this;i.modifier=e,i.type=t,i.conjunction=r,i.conditions=n},_SingletonCssMediaQueryMergeResult0:function(e,t){this.index=e,this._name=t},MediaQuerySuccessfulMergeResult0:function(e){this.query=e},MediaQueryParser0:function(e,t){this.scanner=e,this._parser1$_interpolationMap=t},MediaQueryParser_parse_closure0:function(e){this.$this=e},ModifiableCssMediaRule$0(e,t){var r=A.List_List$unmodifiable(e,D.CssMediaQuery_2),n=A._setArrayType([],D.JSArray_ModifiableCssNode_2);return w.get$isEmpty$asx(e)&&A.throwExpression(A.ArgumentError$value(e,"queries","may not be empty.")),new A.ModifiableCssMediaRule0(r,t,new A.UnmodifiableListView(n,D.UnmodifiableListView_ModifiableCssNode_2),n)},ModifiableCssMediaRule0:function(e,t,r,n){var i=this;i.queries=e,i.span=t,i.children=r,i._node$_children=n,i._node$_indexInParent=i._node$_parent=null,i.isGroupEnd=!1},MediaRule$0(e,t,r){var n=A.List_List$unmodifiable(t,D.Statement_2),i=C.JSArray_methods.any$1(n,new A.ParentStatement_closure0);return new A.MediaRule0(e,r,n,i)},MediaRule0:function(e,t,r,n){var i=this;i.query=e,i.span=t,i.children=r,i.hasDeclarations=n},MergedExtension_merge0(e,t){var r,n,i,o=e.extender.selector;if(!o.$eq(0,t.extender.selector)||!e.target.$eq(0,t.target))throw A.wrapException(A.ArgumentError$(e.toString$0(0)+" and "+t.toString$0(0)+" aren't the same extension.",null));if(i=!(n=null==(r=e.mediaContext))&&(null!=(i=t.mediaContext)&&!C.C_ListEquality.equals$2(0,r,i)))throw A.wrapException(A.SassException$0("From "+e.span.message$1(0,"")+P.x0aYou_m,t.span,null));return t.isOptional&&null==t.mediaContext?e:e.isOptional&&n?t:(n&&(r=t.mediaContext),o.get$specificity(),(o=new A.Extender0(o,!1))._extension$_extension=new A.MergedExtension0(e,t,o,e.target,r,!0,e.span))},MergedExtension0:function(e,t,r,n,i,o,s){var a=this;a.left=e,a.right=t,a.extender=r,a.target=n,a.mediaContext=i,a.isOptional=o,a.span=s},MergedMapView$0(e,t,r){var n=t._eval$1("@<0>")._bind$1(r);return(n=new A.MergedMapView0(A.LinkedHashMap_LinkedHashMap$_empty(t,n._eval$1("Map<1,2>")),n._eval$1("MergedMapView0<1,2>"))).MergedMapView$10(e,t,r),n},MergedMapView0:function(e,t){this._merged_map_view$_mapsByKey=e,this.$ti=t},_function6:(e,t,r)=>A.BuiltInCallable$function0(e,t,r,"sass:meta"),_shared_closure3:function(){},_shared_closure4:function(){},_shared_closure5:function(){},_shared_closure6:function(){},moduleFunctions_closure2:function(){},moduleFunctions_closure3:function(){},moduleFunctions__closure0:function(){},moduleFunctions_closure4:function(){},mixinClass_closure:function(){},mixinClass__closure:function(){},mixinClass__closure0:function(){},SassMixin0:function(e,t){this.callable=e,this._mixin0$_compileContext=t},MixinRule$0(e,t,r,n,i){var o=A.stringReplaceAllUnchecked(e,"_","-"),s=A.List_List$unmodifiable(r,D.Statement_2),a=C.JSArray_methods.any$1(s,new A.ParentStatement_closure0);return new A.MixinRule0(o,e,t,n,s,a)},MixinRule0:function(e,t,r,n,i,o){var s=this;s._mixin_rule$__MixinRule_hasContent_FI=I,s.name=e,s.originalName=t,s.parameters=r,s.span=n,s.children=i,s.hasDeclarations=o},_HasContentVisitor0:function(){},__HasContentVisitor_Object_StatementSearchVisitor0:function(){},ExtendMode0:function(e,t,r){this.name=e,this.index=t,this._name=r},JSModule0:function(){},JSModuleRequire0:function(){},MultiSpan0:function(e,t,r){this._multi_span0$_primary=e,this.primaryLabel=t,this.secondarySpans=r},SupportsNegation0:function(e,t){this.condition=e,this.span=t},NoOpImporter0:function(){},NoSourceMapBuffer0:function(e){this._no_source_map_buffer0$_buffer=e},_FakeAstNode0:function(e){this._node0$_callback=e},CssNode0:function(){},CssParentNode0:function(){},_IsInvisibleVisitor1:function(e,t){this.includeBogus=e,this.includeComments=t},__IsInvisibleVisitor_Object_EveryCssVisitor0:function(){},ModifiableCssNode0:function(){},ModifiableCssNode_hasFollowingSibling_closure0:function(){},ModifiableCssParentNode0:function(){},NodePackageImporter0:function(){this._node_package$__NodePackageImporter__entryPointDirectory_F=I},NodePackageImporter__nodePackageExportsResolve_closure3:function(){},NodePackageImporter__nodePackageExportsResolve_closure4:function(){},NodePackageImporter__nodePackageExportsResolve_closure5:function(){},NodePackageImporter__nodePackageExportsResolve_closure6:function(e,t,r){this.$this=e,this.exports=t,this.packageRoot=r},NodePackageImporter__nodePackageExportsResolve__closure1:function(e,t,r){this.$this=e,this.variant=t,this.packageRoot=r},NodePackageImporter__nodePackageExportsResolve__closure2:function(){},NodePackageImporter__getMainExport_closure0:function(){},NullExpression$:e=>new A.NullExpression0(e),NullExpression0:function(e){this.span=e},legacyNullClass_closure:function(){},legacyNullClass__closure:function(){},_SassNull0:function(){},NumberExpression0:function(e,t,r){this.value=e,this.unit=t,this.span=r},numberClass_closure:function(){},numberClass__closure:function(){},numberClass__closure0:function(){},numberClass__closure1:function(){},numberClass__closure2:function(){},numberClass__closure3:function(){},numberClass__closure4:function(){},numberClass__closure5:function(){},numberClass__closure6:function(){},numberClass__closure7:function(){},numberClass__closure8:function(){},numberClass__closure9:function(){},numberClass__closure10:function(){},numberClass__closure11:function(){},numberClass__closure12:function(){},numberClass__closure13:function(){},numberClass__closure14:function(){},numberClass__closure15:function(){},numberClass__closure16:function(){},numberClass__closure17:function(){},numberClass__closure18:function(){},numberClass__closure19:function(){},_ConstructorOptions0:function(){},_parseNumber(e,t){var r,n,i,o,s,a,l;if(null==t||0===t.length)return A.SassNumber_SassNumber0(e,null);if(!C.JSString_methods.contains$1(t,"*")&&!C.JSString_methods.contains$1(t,"/"))return A.SassNumber_SassNumber0(e,t);if(r=new A.ArgumentError(!0,t,"unit","is invalid."),(i=(n=t.split("/")).length)>2)throw A.wrapException(r);if(o=n[0],s=1===i?null:n[1],i=D.JSArray_String,a=0===o.length?A._setArrayType([],i):A._setArrayType(o.split("*"),i),C.JSArray_methods.any$1(a,new A._parseNumber_closure))throw A.wrapException(r);if(l=null==s?A._setArrayType([],i):A._setArrayType(s.split("*"),i),C.JSArray_methods.any$1(l,new A._parseNumber_closure0))throw A.wrapException(r);return A.SassNumber_SassNumber$withUnits0(e,l,a)},_NodeSassNumber:function(){},legacyNumberClass_closure:function(){},legacyNumberClass_closure0:function(){},legacyNumberClass_closure1:function(){},legacyNumberClass_closure2:function(){},legacyNumberClass_closure3:function(){},_parseNumber_closure:function(){},_parseNumber_closure0:function(){},conversionFactor0(e,t){var r;return e===t?1:null!=(r=C.Map_NtHoP.$index(0,e))?r.$index(0,t):null},SassNumber_SassNumber0:(e,t)=>null==t?new A.UnitlessSassNumber0(e,null):new A.SingleUnitSassNumber0(t,e,null),SassNumber_SassNumber$withUnits0(e,t,r){var n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y,$,x,S,E,I=null,M=null==r,k=M,T=!k,R=I,L=I;if(n=I,i=I,(k=!T||(R=(k=L=w.get$length$asx(null==r?D.List_String._as(r):r))<=0))?(k=!(o=!(k=n=null==t))||(i=w.get$length$asx(null==t?D.List_String._as(t):t)<=0),s=t,a=!0,l=!0):(s=I,a=!1,l=!1,o=!1,k=!1),k)return new A.UnitlessSassNumber0(e,I);if(c=I,k=!1,D.List_dynamic._is(r)?(u=!0,T?(d=L,h=T):(d=L=w.get$length$asx(r),h=!0),1===d&&(c=w.$index$asx(r,0),a?k=n:(l?k=s:(l=u,s=k=t),k=n=null==k,a=!0),k?k=!0:o?k=i:(l?k=s:(l=u,s=k=t),k=i=w.get$length$asx(null==k?D.List_String._as(k):k)<=0,o=!0))):h=T,k)return new A.SingleUnitSassNumber0(c,e,I);if(k=!1,null!=r?(u=!0,a?k=n:(l?k=s:(l=u,s=k=t),k=n=null==k),k?k=!0:o?k=i:(l?k=s:(l=u,s=k=t),k=i=w.get$length$asx(null==k?D.List_String._as(k):k)<=0),p=r):p=I,k)return new A.ComplexSassNumber0(A.List_List$unmodifiable(p,D.String),C.List_empty,e,I);if(m=I,(k=!!M||(T?R:R=(k=h?L:L=w.get$length$asx(null==r?D.List_String._as(r):r))<=0))?(l?k=s:(s=k=t,l=!0),(k=null!=k)&&null==(m=l?s:t)&&(m=D.List_String._as(m))):k=!1,k)return new A.ComplexSassNumber0(C.List_empty,A.List_List$unmodifiable(m,D.String),e,I);for(r.toString,p=w.toList$0$ax(r),t.toString,_=w.toList$0$ax(t),m=A._setArrayType([],D.JSArray_String),k=_.length,g=e,f=0;f<_.length;_.length===k||(0,A.throwConcurrentModificationError)(_),++f){for(v=_[f],y=0;;){if(!(y<p.length)){b=!1;break}if(null!=($=A.conversionFactor0(v,p[y]))){g*=$,C.JSArray_methods.removeAt$1(p,y),b=!0;break}++y}b||m.push(v)}return(S=(k=x=p.length)<=0)?k=E=m.length<=0:(E=I,k=!1),k?k=new A.UnitlessSassNumber0(g,I):(k=!1,1===x?(c=p[0],k=S?E:m.length<=0):c=I,k?k=new A.SingleUnitSassNumber0(c,g,I):(k=D.String,k=new A.ComplexSassNumber0(A.List_List$unmodifiable(p,k),A.List_List$unmodifiable(m,k),g,I))),k},SassNumber0:function(){},SassNumber__coerceOrConvertValue_compatibilityException0:function(e,t,r,n,i,o,s){var a=this;a.$this=e,a.other=t,a.otherName=r,a.otherHasUnits=n,a.name=i,a.newNumerators=o,a.newDenominators=s},SassNumber__coerceOrConvertValue_closure3:function(e,t){this._box_0=e,this.newNumerator=t},SassNumber__coerceOrConvertValue_closure4:function(e){this.compatibilityException=e},SassNumber__coerceOrConvertValue_closure5:function(e,t){this._box_0=e,this.newDenominator=t},SassNumber__coerceOrConvertValue_closure6:function(e){this.compatibilityException=e},SassNumber_plus_closure0:function(){},SassNumber_minus_closure0:function(){},SassNumber_multiplyUnits_closure3:function(e,t){this._box_0=e,this.numerator=t},SassNumber_multiplyUnits_closure4:function(e,t){this.newNumerators=e,this.numerator=t},SassNumber_multiplyUnits_closure5:function(e,t){this._box_0=e,this.numerator=t},SassNumber_multiplyUnits_closure6:function(e,t){this.newNumerators=e,this.numerator=t},SassNumber__areAnyConvertible_closure0:function(e){this.units2=e},SassNumber__canonicalizeUnitList_closure0:function(){},SassNumber__canonicalMultiplier_closure0:function(e){this.$this=e},SassNumber_unitSuggestion_closure1:function(){},SassNumber_unitSuggestion_closure2:function(){},OklabColorSpace0:function(e,t){this.name=e,this._space$_channels=t},OklchColorSpace0:function(e,t){this.name=e,this._space$_channels=t},SupportsOperation0:function(e,t,r,n){var i=this;i.left=e,i.right=t,i.operator=r,i.span=n},Parameter0:function(e,t,r){this.name=e,this.defaultValue=t,this.span=r},ParameterList_ParameterList$parse0:(e,t)=>A.ScssParser$0(e,!1,t).parseParameterList$0(),ParameterList0:function(e,t,r){this.parameters=e,this.restParameter=t,this.span=r},ParameterList_verify_closure1:function(){},ParameterList_verify_closure2:function(){},InterpolatedParentSelector:function(e,t){this.suffix=e,this.span=t},ParentSelector0:function(e,t){this.suffix=e,this.span=t},ParentStatement0:function(){},ParentStatement_closure0:function(){},ParentStatement__closure0:function(){},ParenthesizedExpression0:function(e,t){this.expression=e,this.span=t},loadParserExports:()=>(A._updateLazyFileSpanPrototype(),A._updateAstPrototypes(),{parse:A.allowInterop(A.parser0___parse$closure()),parseIdentifier:A.allowInterop(A.parser0___parseIdentifier$closure()),toCssIdentifier:A.allowInterop(A.parser0___toCssIdentifier$closure()),createExpressionVisitor:A.allowInterop(new A.loadParserExports_closure),createIfConditionExpressionVisitor:A.allowInterop(new A.loadParserExports_closure0),createStatementVisitor:A.allowInterop(new A.loadParserExports_closure1),createSimpleSelectorVisitor:A.allowInterop(new A.loadParserExports_closure2),createSourceFile:A.allowInterop(new A.loadParserExports_closure3),setToJS:A.allowInterop(new A.loadParserExports_closure4),mapToRecord:A.allowInterop(A.utils3__mapToObject$closure())}),_updateLazyFileSpanPrototype(){var e=D.JSClass._as(new A.LazyFileSpan0(new A._updateLazyFileSpanPrototype_closure).constructor);A.LinkedHashMap_LinkedHashMap$_literal(["file",new A._updateLazyFileSpanPrototype_closure0,"length",new A._updateLazyFileSpanPrototype_closure1,"sourceUrl",new A._updateLazyFileSpanPrototype_closure2],D.String,D.Function).forEach$1(0,A.JSClassExtension_get_defineGetter(e))},_updateAstPrototypes(){var e,t,r,i,o,s,a,l,c=null,u="accept",d="arguments",h=A.SourceFile$fromString("",c),p=D.JSClass,m=p._as(h.constructor);for(A.LinkedHashMap_LinkedHashMap$_literal(["getText",new A._updateAstPrototypes_closure,"span",new A._updateAstPrototypes_closure0],D.String,D.Function).forEach$1(0,A.JSClassExtension_get_defineMethod(m)),A.defineGetter(w.get$$prototype$x(p._as(h.constructor)),"codeUnits",new A._updateAstPrototypes_closure1,c),m=I.$get$_interpolation(),A.defineGetter(w.get$$prototype$x(p._as(m.constructor)),"asPlain",new A._updateAstPrototypes_closure2,c),e=I.$get$bogusSpan0(),w.get$$prototype$x(p._as(n.Object.getPrototypeOf(w.get$$prototype$x(p._as(new A.ExtendRule0(m,!1,e).constructor))).constructor)).accept=A.allowInteropCaptureThisNamed(u,new A._updateAstPrototypes_closure3),t=new A.StringExpression0(m,!1),w.get$$prototype$x(p._as(n.Object.getPrototypeOf(w.get$$prototype$x(p._as(t.constructor))).constructor)).accept=A.allowInteropCaptureThisNamed(u,new A._updateAstPrototypes_closure4),w.get$$prototype$x(p._as(n.Object.getPrototypeOf(w.get$$prototype$x(p._as(new A.InterpolatedParentSelector(c,e).constructor))).constructor)).accept=A.allowInteropCaptureThisNamed(u,new A._updateAstPrototypes_closure5),w.get$$prototype$x(p._as(n.Object.getPrototypeOf(w.get$$prototype$x(p._as(new A.IfConditionSass0(t,e).constructor))).constructor)).accept=A.allowInteropCaptureThisNamed(u,new A._updateAstPrototypes_closure6),r=A.ArgumentList$0(C.List_empty24,C.Map_empty14,C.Map_empty5,e,c,c),A.defineGetter(w.get$$prototype$x(p._as(new A.IncludeRule0(c,A.stringReplaceAllUnchecked("a","_","-"),"a",r,c,e).constructor)),d,new A._updateAstPrototypes_closure7,c),A.defineGetter(w.get$$prototype$x(p._as(new A.ContentRule0(r,e).constructor)),d,new A._updateAstPrototypes_closure8,c),A.defineGetter(w.get$$prototype$x(p._as(new A.FunctionExpression0(c,A.stringReplaceAllUnchecked("a","_","-"),"a",r,e).constructor)),d,new A._updateAstPrototypes_closure9,c),A.defineGetter(w.get$$prototype$x(p._as(new A.LegacyIfExpression0(r,e).constructor)),d,new A._updateAstPrototypes_closure10,c),A.defineGetter(w.get$$prototype$x(p._as(new A.InterpolatedFunctionExpression0(m,r,e).constructor)),d,new A._updateAstPrototypes_closure11,c),A.defineGetter(w.get$$prototype$x(p._as(new A.IfConditionFunction0(m,m,e).constructor)),d,new A._updateAstPrototypes_closure12,c),A._addSupportsConditionToInterpolation(),i=new A.InterpolatedClassSelector(m),o=A.InterpolatedCompoundSelector$(A._setArrayType([i],D.JSArray_InterpolatedSimpleSelector)),s=new A.IfConditionSass0(t,e),m=[t,new A.BinaryOperationExpression0(C.BinaryOperator_jCK0,t,t,!1),new A.SupportsExpression0(new A.SupportsAnything0(m,e)),new A.LoudComment0(m),i,new A.InterpolatedIDSelector(m),new A.InterpolatedPlaceholderSelector(m),new A.InterpolatedTypeSelector(new A.InterpolatedQualifiedName(m,e,c)),o,A.InterpolatedSelectorList$(A._setArrayType([A.InterpolatedComplexSelector$(A._setArrayType([new A.InterpolatedComplexSelectorComponent(o,c,e)],D.JSArray_InterpolatedComplexSelectorComponent),e,c)],D.JSArray_InterpolatedComplexSelector)),A.IfConditionOperation$0(A._setArrayType([s,s],D.JSArray_IfConditionExpression_2),C.BooleanOperator_00),new A.IfConditionRaw0(m)],a=0;a<12;++a)e=w.get$$prototype$x(p._as(m[a].constructor)),l={get:A.allowInteropCaptureThis(new A._updateAstPrototypes_closure13),enumerable:!1},n.Object.defineProperty(e,"span",l)},_addSupportsConditionToInterpolation(){var e,t,r,i,o=I.$get$_interpolation(),s=I.$get$bogusSpan0(),a=new A.SupportsAnything0(o,s);for(e=I.$get$_expression(),s=[a,new A.SupportsDeclaration0(e,e,s),new A.SupportsFunction0(o,o,s),new A.SupportsInterpolation0(e,s),new A.SupportsNegation0(a,s),new A.SupportsOperation0(a,a,C.BooleanOperator_00,s)],e=D.JSClass,t=0;t<6;++t)o=w.get$$prototype$x(e._as(s[t].constructor)),r=A.allowInteropCaptureThis(new A._addSupportsConditionToInterpolation_closure),i={value:"toInterpolation",enumerable:!1},n.Object.defineProperty(r,"name",i),A._hideDartProperties(r),o.toInterpolation=r},_parse(e,t,r){var n;return n="scss"!==t?"sass"!==t?"css"!==t?A.throwExpression(A.UnsupportedError$('Unknown syntax "'+t+'"')):C.Syntax_CSS_2_css0:C.Syntax_Sass_1_sass0:C.Syntax_SCSS_0_scss0,A.Stylesheet_Stylesheet$parse0(e,n,!0,A.NullableExtension_andThen0(r,A.path__toUri$closure()))},_parseIdentifier(e){try{return new A.Parser1(A.SpanScanner$(e,null),null)._parser1$_parseIdentifier$0()}catch(e){if(D.SassFormatException_2._is(A.unwrapException(e)))return null;throw e}},_toCssIdentifier:e=>A.StringExtension_toCssIdentifier(e),ParserExports:function(){},loadParserExports_closure:function(){},loadParserExports_closure0:function(){},loadParserExports_closure1:function(){},loadParserExports_closure2:function(){},loadParserExports_closure3:function(){},loadParserExports_closure4:function(){},_updateLazyFileSpanPrototype_closure:function(){},_updateLazyFileSpanPrototype_closure0:function(){},_updateLazyFileSpanPrototype_closure1:function(){},_updateLazyFileSpanPrototype_closure2:function(){},_updateAstPrototypes_closure:function(){},_updateAstPrototypes_closure0:function(){},_updateAstPrototypes_closure1:function(){},_updateAstPrototypes_closure2:function(){},_updateAstPrototypes_closure3:function(){},_updateAstPrototypes_closure4:function(){},_updateAstPrototypes_closure5:function(){},_updateAstPrototypes_closure6:function(){},_updateAstPrototypes_closure7:function(){},_updateAstPrototypes_closure8:function(){},_updateAstPrototypes_closure9:function(){},_updateAstPrototypes_closure10:function(){},_updateAstPrototypes_closure11:function(){},_updateAstPrototypes_closure12:function(){},_updateAstPrototypes_closure13:function(){},_addSupportsConditionToInterpolation_closure:function(){},Parser_isIdentifier0(e){try{return new A.Parser1(A.SpanScanner$(e,null),null)._parser1$_parseIdentifier$0(),!0}catch(e){if(D.SassFormatException_2._is(A.unwrapException(e)))return!1;throw e}},Parser1:function(e,t){this.scanner=e,this._parser1$_interpolationMap=t},Parser__parseIdentifier_closure0:function(e){this.$this=e},Parser_escape_closure0:function(){},Parser_scanIdentChar_matches0:function(e,t){this.caseSensitive=e,this.char=t},Parser_spanFrom_closure0:function(e,t){this.$this=e,this.span=t},Parser_spanFromPosition_closure0:function(e,t){this.$this=e,this.span=t},InterpolatedPlaceholderSelector:function(e){this.name=e},PlaceholderSelector0:function(e,t){this.name=e,this.span=t},PlainCssCallable0:function(e){this.name=e},PrefixedMapView0:function(e,t,r){this._prefixed_map_view0$_map=e,this._prefixed_map_view0$_prefix=t,this.$ti=r},_PrefixedKeys0:function(e){this._prefixed_map_view0$_view=e},_PrefixedKeys_iterator_closure0:function(e){this.$this=e},ProphotoRgbColorSpace0:function(e,t){this.name=e,this._space$_channels=t},InterpolatedPseudoSelector:function(e,t,r,n,i){var o=this;o.name=e,o.isSyntacticClass=t,o.argument=r,o.selector=n,o.span=i},PseudoSelector$0(e,t,r,n,i){var o=!n,s=o&&!A.PseudoSelector__isFakePseudoElement0(e);return new A.PseudoSelector0(e,A.unvendor0(e),s,o,r,i,t)},PseudoSelector__isFakePseudoElement0(e){switch(e.charCodeAt(0)){case 97:case 65:return A.equalsIgnoreCase0(e,"after");case 98:case 66:return A.equalsIgnoreCase0(e,"before");case 102:case 70:return A.equalsIgnoreCase0(e,"first-line")||A.equalsIgnoreCase0(e,"first-letter");default:return!1}},PseudoSelector0:function(e,t,r,n,i,o,s){var a=this;a.name=e,a.normalizedName=t,a.isClass=r,a.isSyntacticClass=n,a.argument=i,a.selector=o,a._pseudo$__PseudoSelector_specificity_FI=I,a.span=s},PseudoSelector_specificity_closure0:function(e){this.$this=e},PseudoSelector_specificity__closure1:function(){},PseudoSelector_specificity__closure2:function(){},PseudoSelector_unify_closure0:function(){},PublicMemberMapView0:function(e,t){this._public_member_map_view0$_inner=e,this.$ti=t},InterpolatedQualifiedName:function(e,t,r){this.name=e,this.span=t,this.namespace=r},QualifiedName0:function(e,t){this.name=e,this.namespace=t},Rec2020ColorSpace0:function(e,t){this.name=e,this._space$_channels=t},createJSClass:(e,t)=>D.JSClass._as(A.allowInteropCaptureThisNamed(e,t)),JSClassExtension_injectSuperclass(e,t){var r=w.getInterceptor$x(t),i=w.getInterceptor$x(e);n.Object.setPrototypeOf(r.get$$prototype(t),w.get$$prototype$x(D.JSClass._as(n.Object.getPrototypeOf(i.get$$prototype(e)).constructor))),n.Object.setPrototypeOf(i.get$$prototype(e),n.Object.create(r.get$$prototype(t)))},JSClassExtension_setCustomInspect(e,t){null!=n.util&&(w.get$$prototype$x(e)[n.util.inspect.custom]=A.allowInteropCaptureThis(new A.JSClassExtension_setCustomInspect_closure(t)))},JSClassExtension_get_defineStaticMethod:e=>new A.JSClassExtension_get_defineStaticMethod_closure(e),JSClassExtension_get_defineMethod:e=>new A.JSClassExtension_get_defineMethod_closure(e),JSClassExtension_defineMethods(e,t){t.forEach$1(0,A.JSClassExtension_get_defineMethod(e))},JSClassExtension_get_defineGetter:e=>new A.JSClassExtension_get_defineGetter_closure(e),JSClass0:function(){},JSClassExtension_setCustomInspect_closure:function(e){this.inspect=e},JSClassExtension_get_defineStaticMethod_closure:function(e){this._this=e},JSClassExtension_get_defineMethod_closure:function(e){this._this=e},JSClassExtension_get_defineGetter_closure:function(e){this._this=e},RenderContext0:function(){},RenderContextOptions0:function(){},RenderContextResult0:function(){},RenderContextResultStats0:function(){},RenderOptions:function(){},RenderResult:function(){},RenderResultStats:function(){},ReplaceExpressionVisitor0:function(){},ReplaceExpressionVisitor_visitListExpression_closure0:function(e){this.$this=e},ReplaceExpressionVisitor_visitIfConditionOperation_closure0:function(e){this.$this=e},ReplaceExpressionVisitor_visitArgumentList_closure0:function(e){this.$this=e},ReplaceExpressionVisitor_visitInterpolation_closure0:function(e){this.$this=e},ImporterResult$:(e,t,r)=>(""===(null==t?null:t.get$scheme())&&A.throwExpression(A.ArgumentError$value(t,"sourceMapUrl","must be absolute")),new A.ImporterResult0(e,t,r)),ImporterResult0:function(e,t,r){this.contents=e,this._result$_sourceMapUrl=t,this.syntax=r},ReturnRule0:function(e,t){this.expression=e,this.span=t},RgbColorSpace0:function(e,t){this.name=e,this._space$_channels=t},SassParser0:function(e,t,r,n,i){var o=this;o._sass0$_currentIndentation=0,o._sass0$_spaces=o._sass0$_nextIndentationEnd=o._sass0$_nextIndentation=null,o._parseSelectors=e,o._stylesheet0$_isUseAllowed=!0,o._stylesheet0$_inExpression=o._stylesheet0$_inParentheses=o._stylesheet0$_inStyleRule=o._stylesheet0$_inPlainCssFunction=o._stylesheet0$_inUnknownAtRule=o._stylesheet0$_inControlDirective=o._stylesheet0$_inContentBlock=o._stylesheet0$_inMixin=!1,o._stylesheet0$_globalVariables=t,o.warnings=r,o.lastSilentComment=null,o.scanner=n,o._parser1$_interpolationMap=i},SassParser_styleRuleSelector_closure0:function(){},SassParser_children_closure0:function(e,t,r){this.$this=e,this.child=t,this.children=r},SassParser__peekIndentation_closure1:function(){},SassParser__peekIndentation_closure2:function(){},SassParser__tryTrailingSemicolon_closure0:function(){},_translateReturnValue:e=>e instanceof A._Future?A.futureToPromise(e,D.dynamic):e,main2(){A.main(),w.set$cli_pkg_main_0_$x(n.exports,A._wrapMain(A.sass__main$closure()))},_wrapMain:e=>D.dynamic_Function._is(e)?A.allowInterop(new A._wrapMain_closure(e)):A.allowInterop(new A._wrapMain_closure0(e)),_Exports:function(){},_wrapMain_closure:function(e){this.main=e},_wrapMain_closure0:function(e){this.main=e},ScssParser$0:(e,t,r)=>new A.ScssParser0(t,A.LinkedHashMap_LinkedHashMap$_empty(D.String,D.FileSpan),A._setArrayType([],D.JSArray_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span_2),A.SpanScanner$(e,r),null),ScssParser0:function(e,t,r,n,i){var o=this;o._parseSelectors=e,o._stylesheet0$_isUseAllowed=!0,o._stylesheet0$_inExpression=o._stylesheet0$_inParentheses=o._stylesheet0$_inStyleRule=o._stylesheet0$_inPlainCssFunction=o._stylesheet0$_inUnknownAtRule=o._stylesheet0$_inControlDirective=o._stylesheet0$_inContentBlock=o._stylesheet0$_inMixin=!1,o._stylesheet0$_globalVariables=t,o.warnings=r,o.lastSilentComment=null,o.scanner=n,o._parser1$_interpolationMap=i},Selector0:function(){},_IsInvisibleVisitor2:function(e){this.includeBogus=e},_IsBogusVisitor0:function(e){this.includeLeadingCombinator=e},_IsBogusVisitor_visitComplexSelector_closure0:function(e){this.$this=e},_IsUselessVisitor0:function(){},_IsUselessVisitor_visitComplexSelector_closure0:function(e){this.$this=e},_ContainsParentSelectorVisitor0:function(){},__ContainsParentSelectorVisitor_Object_AnySelectorVisitor0:function(){},__IsBogusVisitor_Object_AnySelectorVisitor0:function(){},__IsInvisibleVisitor_Object_AnySelectorVisitor0:function(){},__IsUselessVisitor_Object_AnySelectorVisitor0:function(){},SelectorExpression0:function(e){this.span=e},_prependParent0(e){var t,r,n,i=A.EvaluationContext_currentOrNull0(),o=(null==i?A.throwExpression(A.StateError$(P.No_Sass)):i).get$currentCallableSpan(),s=e.components;return(t=s.length>=1)?i=(r=s[0])instanceof A.UniversalSelector0:(r=null,i=!1),i?i=null:(i=!1,t&&r instanceof A.TypeSelector0&&(i=r,i=null!=D.TypeSelector_2._as(i).name.namespace),i?i=null:(i=!!t&&(i=r)instanceof A.TypeSelector0)?(i=t?r:s[0],D.TypeSelector_2._as(i),n=C.JSArray_methods.sublist$1(s,1),i=A._setArrayType([new A.ParentSelector0(i.name.name,o)],D.JSArray_SimpleSelector_2),C.JSArray_methods.addAll$1(i,n),i=A.CompoundSelector$0(i,o)):(i=A._setArrayType([new A.ParentSelector0(null,o)],D.JSArray_SimpleSelector_2),C.JSArray_methods.addAll$1(i,s),i=A.CompoundSelector$0(i,o))),i},_function8:(e,t,r)=>A.BuiltInCallable$function0(e,t,r,"sass:selector"),_nest_closure0:function(){},_nest__closure1:function(){},_nest__closure2:function(){},_append_closure1:function(){},_append__closure1:function(){},_append__closure2:function(e){this.span=e},_append___closure0:function(e,t){this.parent=e,this.span=t},_extend_closure0:function(){},_replace_closure0:function(){},_unify_closure0:function(){},_isSuperselector_closure0:function(){},_simpleSelectors_closure0:function(){},_simpleSelectors__closure0:function(){},_parse_closure0:function(){},SelectorParser0:function(e,t,r,n){var i=this;i._selector$_allowParent=e,i._selector$_plainCss=t,i.scanner=r,i._parser1$_interpolationMap=n},SelectorParser_parse_closure0:function(e){this.$this=e},SelectorParser_parseCompoundSelector_closure0:function(e){this.$this=e},SelectorSearchVisitor0:function(){},SelectorSearchVisitor_visitComplexSelector_closure0:function(e){this.$this=e},SelectorSearchVisitor_visitCompoundSelector_closure0:function(e){this.$this=e},serialize0(e,t,r,n,i,o,s,a,l){var c,u,d,h,p=A._SerializeVisitor$0(null==r?2:r,n,i,o,!0,s,a,l);return e.accept$1(p),u=(c=p._serialize0$_buffer).toString$0(0),h=(d=!!t&&(d=new A.CodeUnits(u)).any$1(d,new A.serialize_closure0))?a===C.OutputStyle_10?"\ufeff":'@charset "UTF-8";\n':"",c=s?c.buildSourceMap$1$prefix(h):null,new A._Record_2_sourceMap(h+u,c)},serializeValue0(e,t,r){var n=null,i=A._SerializeVisitor$0(n,t,n,n,r,!1,n,!0);return e.accept$1(i),i._serialize0$_buffer.toString$0(0)},serializeSelector0(e,t){var r=null,n=A._SerializeVisitor$0(r,!0,r,r,!0,!1,r,!0);return e.accept$1(n),n._serialize0$_buffer.toString$0(0)},_SerializeVisitor$0(e,t,r,n,i,o,s,a){var l=o?new A.SourceMapBuffer0(new A.StringBuffer(""),A._setArrayType([],D.JSArray_Entry)):new A.NoSourceMapBuffer0(new A.StringBuffer("")),c=null==s?C.OutputStyle_00:s,u=a?32:9,d=null==e?2:e,h=null==r?C.LineFeed_oJz:r;return A.RangeError_checkValueInInterval(d,0,10,"indentWidth"),new A._SerializeVisitor0(l,c,t,i,u,d,h)},serialize_closure0:function(){},_SerializeVisitor0:function(e,t,r,n,i,o,s){var a=this;a._serialize0$_buffer=e,a._serialize0$_indentation=0,a._serialize0$_style=t,a._serialize0$_inspect=r,a._serialize0$_quote=n,a._serialize0$_indentCharacter=i,a._serialize0$_indentWidth=o,a._lineFeed=s},_SerializeVisitor_visitCssComment_closure0:function(e,t){this.$this=e,this.node=t},_SerializeVisitor_visitCssAtRule_closure0:function(e,t){this.$this=e,this.node=t},_SerializeVisitor_visitCssMediaRule_closure0:function(e,t){this.$this=e,this.node=t},_SerializeVisitor_visitCssImport_closure0:function(e,t){this.$this=e,this.node=t},_SerializeVisitor_visitCssImport__closure0:function(e,t){this.$this=e,this.node=t},_SerializeVisitor_visitCssKeyframeBlock_closure0:function(e,t){this.$this=e,this.node=t},_SerializeVisitor_visitCssStyleRule_closure0:function(e,t){this.$this=e,this.node=t},_SerializeVisitor_visitCssSupportsRule_closure0:function(e,t){this.$this=e,this.node=t},_SerializeVisitor_visitCssDeclaration_closure1:function(e,t){this.$this=e,this.node=t},_SerializeVisitor_visitCssDeclaration_closure2:function(e,t){this.$this=e,this.node=t},_SerializeVisitor_visitList_closure2:function(){},_SerializeVisitor_visitList_closure3:function(e,t){this.$this=e,this.value=t},_SerializeVisitor_visitList_closure4:function(e){this.$this=e},_SerializeVisitor_visitMap_closure0:function(e){this.$this=e},_SerializeVisitor_visitSelectorList_closure0:function(){},_SerializeVisitor__write_closure0:function(e,t){this.$this=e,this.value=t},_SerializeVisitor__visitChildren_closure1:function(e,t){this.$this=e,this.child=t},_SerializeVisitor__visitChildren_closure2:function(e,t){this.$this=e,this.child=t},OutputStyle0:function(e,t){this.index=e,this._name=t},LineFeed0:function(e,t,r,n){var i=this;i.name=e,i.text=t,i.index=r,i._name=n},JSSet:function(){},ShadowedModuleView_ifNecessary0:(e,t,r,n,i)=>A.ShadowedModuleView__needsBlocklist0(e.get$variables(),n)||A.ShadowedModuleView__needsBlocklist0(e.get$functions(e),t)||A.ShadowedModuleView__needsBlocklist0(e.get$mixins(),r)?new A.ShadowedModuleView0(e,A.ShadowedModuleView__shadowedMap0(e.get$variables(),n,D.Value_2),A.ShadowedModuleView__shadowedMap0(e.get$variableNodes(),n,D.AstNode_2),A.ShadowedModuleView__shadowedMap0(e.get$functions(e),t,i),A.ShadowedModuleView__shadowedMap0(e.get$mixins(),r,i),i._eval$1("ShadowedModuleView0<0>")):null,ShadowedModuleView__shadowedMap0:(e,t,r)=>A.ShadowedModuleView__needsBlocklist0(e,t)?A.LimitedMapView$blocklist0(e,t,D.String,r):e,ShadowedModuleView__needsBlocklist0:(e,t)=>e.get$isNotEmpty(e)&&t.any$1(0,e.get$containsKey()),ShadowedModuleView0:function(e,t,r,n,i,o){var s=this;s._shadowed_view0$_inner=e,s.variables=t,s.variableNodes=r,s.functions=n,s.mixins=i,s.$ti=o},SilentComment0:function(e,t){this.text=e,this.span=t},InterpolatedSimpleSelector:function(){},SimpleSelector0:function(){},SimpleSelector_isSuperselector_closure0:function(e){this.$this=e},SimpleSelector_isSuperselector__closure0:function(e){this.$this=e},JSSimpleSelectorVisitor:function(e){this._simple_selector$_inner=e},JSSimpleSelectorVisitorObject:function(){},SingleUnitSassNumber0:function(e,t,r){var n=this;n._single_unit$_unit=e,n._number1$_value=t,n.hashCache=null,n.asSlash=r},SingleUnitSassNumber__coerceToUnit_closure0:function(e,t){this.$this=e,this.unit=t},SingleUnitSassNumber__coerceValueToUnit_closure0:function(e){this.$this=e},SingleUnitSassNumber_multiplyUnits_closure1:function(e,t){this._box_0=e,this.$this=t},SingleUnitSassNumber_multiplyUnits_closure2:function(e,t){this._box_0=e,this.$this=t},SourceInterpolationVisitor:function(e){this.buffer=e},SourceInterpolationVisitor__visitArguments_closure:function(e){this.$this=e},SourceInterpolationVisitor_visitIfConditionOperation_closure:function(e){this.$this=e},SourceInterpolationVisitor_visitListExpression_closure:function(e){this.$this=e},SourceMapBuffer0:function(e,t){var r=this;r._source_map_buffer0$_buffer=e,r._source_map_buffer0$_entries=t,r._source_map_buffer0$_column=r._source_map_buffer0$_line=0,r._source_map_buffer0$_inSpan=!1},SourceMapBuffer_buildSourceMap_closure0:function(e,t){this._box_0=e,this.prefixLength=t},updateSourceSpanPrototype(){var e,t,r,n,i=A.SourceFile$fromString("",null).span$1(0,0),o=D.SourceSpan,s=D.String;for(o=[i,new A.MultiSpan0(i,"",A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_empty(o,s),o,s)),new A.LazyFileSpan0(new A.updateSourceSpanPrototype_closure(i))],e=D.JSClass,t=D.Function,r=0;r<3;++r)n=e._as(o[r].constructor),A.LinkedHashMap_LinkedHashMap$_literal(["start",new A.updateSourceSpanPrototype_closure0,"end",new A.updateSourceSpanPrototype_closure1,"url",new A.updateSourceSpanPrototype_closure2,"text",new A.updateSourceSpanPrototype_closure3,"context",new A.updateSourceSpanPrototype_closure4],s,t).forEach$1(0,A.JSClassExtension_get_defineGetter(n));o=e._as(A.FileLocation$_(i.file,i._file$_start).constructor),A.LinkedHashMap_LinkedHashMap$_literal(["line",new A.updateSourceSpanPrototype_closure5,"column",new A.updateSourceSpanPrototype_closure6],s,t).forEach$1(0,A.JSClassExtension_get_defineGetter(o))},updateSourceSpanPrototype_closure:function(e){this.span=e},updateSourceSpanPrototype_closure0:function(){},updateSourceSpanPrototype_closure1:function(){},updateSourceSpanPrototype_closure2:function(){},updateSourceSpanPrototype__closure:function(){},updateSourceSpanPrototype_closure3:function(){},updateSourceSpanPrototype_closure4:function(){},updateSourceSpanPrototype_closure5:function(){},updateSourceSpanPrototype_closure6:function(){},ColorSpace_fromName0(e,t){var r=e.toLowerCase();return"rgb"!==r?"hwb"!==r?"hsl"!==r?"srgb"!==r?"srgb-linear"!==r?"display-p3"!==r?"display-p3-linear"!==r?"a98-rgb"!==r?"prophoto-rgb"!==r?"rec2020"!==r?"xyz"!==r&&"xyz-d65"!==r?"xyz-d50"!==r?"lab"!==r?"lch"!==r?"oklab"!==r?"oklch"!==r?A.throwExpression(A.SassScriptException$0('Unknown color space "'+e+'".',t)):C.OklchColorSpace_9Gj0:C.OklabColorSpace_5400:C.LchColorSpace_Bpv0:C.LabColorSpace_2nT0:C.XyzD50ColorSpace_2OB0:C.XyzD65ColorSpace_WiJ0:C.Rec2020ColorSpace_6oo0:C.ProphotoRgbColorSpace_BDz0:C.A98RgbColorSpace_lf20:C.DisplayP3LinearColorSpace_PrP0:C.DisplayP3ColorSpace_MmT0:C.SrgbLinearColorSpace_kUj0:C.SrgbColorSpace_thf0:C.HslColorSpace_JQ20:C.HwbColorSpace_guQ0:C.RgbColorSpace_i0P0},ColorSpace0:function(){},SrgbColorSpace0:function(e,t){this.name=e,this._space$_channels=t},SrgbLinearColorSpace0:function(e,t){this.name=e,this._space$_channels=t},Statement0:function(){},JSStatementVisitor:function(e){this._statement$_inner=e},JSStatementVisitorObject:function(){},StatementSearchVisitor0:function(){},StatementSearchVisitor_visitIfRule_closure1:function(e){this.$this=e},StatementSearchVisitor_visitIfRule__closure2:function(e){this.$this=e},StatementSearchVisitor_visitIfRule_closure2:function(e){this.$this=e},StatementSearchVisitor_visitIfRule__closure1:function(e){this.$this=e},StatementSearchVisitor_visitChildren_closure0:function(e){this.$this=e},StaticImport0:function(e,t,r){this.url=e,this.modifiers=t,this.span=r},StderrLogger0:function(e){this.color=e},StringExpression_quoteText0(e){var t=A.StringExpression__bestQuote0(A._setArrayType([e],D.JSArray_String)),r=new A.StringBuffer(""),n=A.Primitives_stringFromCharCode(t);return r._contents=n,A.StringExpression__quoteInnerText0(e,t,r,!0),(n=r._contents+=n).charCodeAt(0),n},StringExpression__quoteInnerText0(e,t,r,n){var i,o,s,a,l,c,u,d,h;for(o=(i=e.length)-1,s=0;s<i;++s)10!==(a=e.charCodeAt(s))&&13!==a&&12!==a?(u=(c=92===a)?a:null,c?(c=u,u=!0):(c=!1,(d=a===t)&&(u=a),d?(c=u,u=!0):35===a&&n&&s<o?((c=123===e.charCodeAt(s+1))&&(u=a),h=u,u=c,c=h):(h=u,u=c,c=h)),u?(r.writeCharCode$1(92),r.writeCharCode$1(c)):r.writeCharCode$1(a)):(r.writeCharCode$1(92),r.writeCharCode$1(97),s!==o&&(c=!0,32!==(l=e.charCodeAt(s+1))&&9!==l&&10!==l&&13!==l&&12!==l&&(l>=48&&l<=57||l>=97&&l<=102||(c=l>=65&&l<=70)),c&&r.writeCharCode$1(32)))},StringExpression__bestQuote0(e){var t,r,n,i,o,s;for(t=w.get$iterator$ax(e),n=(r=D.CodeUnits)._eval$1("ListIterator<ListBase.E>"),r=r._eval$1("ListBase.E"),i=!1;t.moveNext$0();)for(o=new A.CodeUnits(t.get$current(t)),o=new A.ListIterator(o,o.get$length(0),n);o.moveNext$0();){if(null==(s=o.__internal$_current)&&(s=r._as(s)),39===s)return 34;34===s&&(i=!0)}return i?39:34},StringExpression0:function(e,t){this.text=e,this.hasQuotes=t},_codepointForIndex0(e,t,r){var n;return 0===e?0:e>0?Math.min(e-1,t):(n=t+e)<0&&!r?0:n},_function7:(e,t,r)=>A.BuiltInCallable$function0(e,t,r,"sass:string"),module_closure25:function(){},module__closure3:function(e){this.string=e},module__closure4:function(e){this.string=e},_unquote_closure0:function(){},_quote_closure0:function(){},_length_closure1:function(){},_insert_closure0:function(){},_index_closure1:function(){},_slice_closure0:function(){},_toUpperCase_closure0:function(){},_toLowerCase_closure0:function(){},_uniqueId_closure0:function(){},StringExtension_toCssIdentifier(e){var t,r,n,i,o,s="The U+0000 can't be represented as a CSS identifier.",a="An individual surrogate can't be represented as a CSS identifier.",l=new A.StringBuffer(""),c=A.SpanScanner$(e,null),u=new A.StringExtension_toCssIdentifier_writeEscape(l,c),d=new A.StringExtension_toCssIdentifier_consumeSurrogatePair(c,u,l);if(c.scanChar$1(45)){if(c._string_scanner$_position===c.string.length)return"\\2d";t=A.Primitives_stringFromCharCode(45),l._contents+=t,(r=c.scanChar$1(45))&&(l._contents+=t)}else r=!1;for(r||(null==(n=c.peekChar$0())&&c.error$1(0,"The empty string can't be represented as a CSS identifier."),0===n&&c.error$1(0,s),i=n,(t=n>>>10==54)?d.call$1(i):(n>>>10==55&&c.error$2$length(0,a,1),(t=!!(95===n||A.CharacterExtension_get_isAlphabetic0(n)||n>=128)&&!(n>=57344&&n<=63743))?(t=A.Primitives_stringFromCharCode(c.readChar$0()),l._contents+=t):u.call$1(c.readChar$0())));null!=(o=c.peekChar$0());)0===o&&c.error$1(0,s),(t=o>>>10==54)?d.call$1(o):(o>>>10==55&&c.error$2$length(0,a,1),(t=!!(t=!!(t=95===o||((t=o>=97&&o<=122||o>=65&&o<=90)||o>=128))||(o>=48&&o<=57||45===o))&&!(o>=57344&&o<=63743))?(t=A.Primitives_stringFromCharCode(c.readChar$0()),l._contents+=t):u.call$1(c.readChar$0()));return(t=l._contents).charCodeAt(0),t},StringExtension_toCssIdentifier_writeEscape:function(e,t){this.buffer=e,this.scanner=t},StringExtension_toCssIdentifier_consumeSurrogatePair:function(e,t,r){this.scanner=e,this.writeEscape=t,this.buffer=r},stringClass_closure:function(){},stringClass__closure:function(){},stringClass__closure0:function(){},stringClass__closure1:function(){},stringClass__closure2:function(){},stringClass__closure3:function(){},_ConstructorOptions1:function(){},_NodeSassString:function(){},legacyStringClass_closure:function(){},legacyStringClass_closure0:function(){},legacyStringClass_closure1:function(){},SassString$0:(e,t)=>new A.SassString0(e,t),SassString0:function(e,t){var r=this;r._string0$_text=e,r._string0$_hasQuotes=t,r._string0$__SassString__sassLength_FI=I,r._string0$_hashCache=null},ModifiableCssStyleRule$0(e,t,r,n){var i=A._setArrayType([],D.JSArray_ModifiableCssNode_2);return new A.ModifiableCssStyleRule0(e,n,t,r,new A.UnmodifiableListView(i,D.UnmodifiableListView_ModifiableCssNode_2),i)},ModifiableCssStyleRule0:function(e,t,r,n,i,o){var s=this;s._style_rule0$_selector=e,s.originalSelector=t,s.span=r,s.fromPlainCss=n,s.children=i,s._node$_children=o,s._node$_indexInParent=s._node$_parent=null,s.isGroupEnd=!1},StyleRule$0(e,t,r){var n=A.List_List$unmodifiable(t,D.Statement_2),i=C.JSArray_methods.any$1(n,new A.ParentStatement_closure0);return new A.StyleRule0(e,null,r,n,i)},StyleRule$withParsedSelector(e,t,r){var n=A.List_List$unmodifiable(t,D.Statement_2),i=C.JSArray_methods.any$1(n,new A.ParentStatement_closure0);return new A.StyleRule0(null,e,r,n,i)},StyleRule0:function(e,t,r,n,i){var o=this;o.selector=e,o.parsedSelector=t,o.span=r,o.children=n,o.hasDeclarations=i},CssStylesheet0:function(e,t){this.children=e,this.span=t},ModifiableCssStylesheet$0(e){var t=A._setArrayType([],D.JSArray_ModifiableCssNode_2);return new A.ModifiableCssStylesheet0(e,new A.UnmodifiableListView(t,D.UnmodifiableListView_ModifiableCssNode_2),t)},ModifiableCssStylesheet0:function(e,t,r){var n=this;n.span=e,n.children=t,n._node$_children=r,n._node$_indexInParent=n._node$_parent=null,n.isGroupEnd=!1},StylesheetParser0:function(){},StylesheetParser_parse_closure0:function(e){this.$this=e},StylesheetParser_parse__closure0:function(e){this.$this=e},StylesheetParser_parseParameterList_closure0:function(e){this.$this=e},StylesheetParser__parseSingleProduction_closure0:function(e,t,r){this.$this=e,this.production=t,this.T=r},StylesheetParser_parseSignature_closure:function(e,t){this.$this=e,this.requireParens=t},StylesheetParser__statement_closure0:function(e){this.$this=e},StylesheetParser_variableDeclarationWithoutNamespace_closure1:function(e,t){this.$this=e,this.start=t},StylesheetParser_variableDeclarationWithoutNamespace_closure2:function(e){this.declaration=e},StylesheetParser__declarationOrBuffer_closure3:function(e){this.$this=e},StylesheetParser__declarationOrBuffer_closure4:function(e){this.$this=e},StylesheetParser__declarationOrBuffer_closure5:function(){},StylesheetParser__declarationOrBuffer_closure6:function(e){this.$this=e},StylesheetParser__styleRule_closure0:function(e,t,r){this.$this=e,this.selector=t,this.start=r},StylesheetParser__styleRule_closure1:function(e,t,r){this._box_0=e,this.$this=t,this.start=r},StylesheetParser__withStyleRuleChildren_closure0:function(e,t,r,n,i){var o=this;o.$this=e,o.nodeWithSpan=t,o.wasInStyleRule=r,o.create=n,o.T=i},StylesheetParser__propertyOrVariableDeclaration_closure0:function(e){this.$this=e},StylesheetParser__tryDeclarationChildren_closure0:function(e,t){this.name=e,this.value=t},StylesheetParser__atRootRule_closure1:function(e){this.query=e},StylesheetParser__atRootRule_closure2:function(){},StylesheetParser__eachRule_closure0:function(e,t,r,n){var i=this;i.$this=e,i.wasInControlDirective=t,i.variables=r,i.list=n},StylesheetParser__functionRule_closure0:function(e,t,r){this.name=e,this.parameters=t,this.precedingComment=r},StylesheetParser__forRule_closure1:function(e,t){this._box_0=e,this.$this=t},StylesheetParser__forRule_closure2:function(e,t,r,n,i,o){var s=this;s._box_0=e,s.$this=t,s.wasInControlDirective=r,s.variable=n,s.from=i,s.to=o},StylesheetParser__memberList_closure0:function(e,t,r){this.$this=e,this.variables=t,this.identifiers=r},StylesheetParser__includeRule_closure0:function(e){this.contentParameters_=e},StylesheetParser_mediaRule_closure0:function(e){this.query=e},StylesheetParser__mixinRule_closure0:function(e,t,r,n){var i=this;i.$this=e,i.name=t,i.parameters=r,i.precedingComment=n},StylesheetParser_mozDocumentRule_closure1:function(e){this.$this=e},StylesheetParser_mozDocumentRule_closure2:function(e,t,r,n){var i=this;i._box_0=e,i.$this=t,i.name=r,i.value=n},StylesheetParser_supportsRule_closure0:function(e){this.condition=e},StylesheetParser__whileRule_closure0:function(e,t,r){this.$this=e,this.wasInControlDirective=t,this.condition=r},StylesheetParser_unknownAtRule_closure0:function(e,t){this._box_0=e,this.name=t},StylesheetParser__expression_resetState0:function(e,t,r){this._box_0=e,this.$this=t,this.start=r},StylesheetParser__expression_resolveOneOperation0:function(e,t){this._box_0=e,this.$this=t},StylesheetParser__expression_resolveOperations0:function(e,t){this._box_0=e,this.resolveOneOperation=t},StylesheetParser__expression_addSingleExpression0:function(e,t,r,n){var i=this;i._box_0=e,i.$this=t,i.resetState=r,i.resolveOperations=n},StylesheetParser__expression_addOperator0:function(e,t,r,n){var i=this;i._box_0=e,i.$this=t,i.resolveOneOperation=r,i.addSingleExpression=n},StylesheetParser__expression_resolveSpaceExpressions0:function(e,t,r){this._box_0=e,this.$this=t,this.resolveOperations=r},StylesheetParser_expressionUntilComma_closure0:function(e){this.$this=e},StylesheetParser__isHexColor_closure0:function(){},StylesheetParser__unicodeRange_closure1:function(){},StylesheetParser__unicodeRange_closure2:function(){},StylesheetParser_interpolatedStringToken_closure0:function(e){this.$this=e},StylesheetParser_namespacedExpression_closure0:function(e,t){this.$this=e,this.start=t},StylesheetParser_trySpecialFunction_closure0:function(){},StylesheetParser__interpolatedDeclarationValue_closure0:function(e){this.$this=e},StylesheetParser__expressionUntilComparison_closure0:function(e){this.$this=e},StylesheetParser__publicIdentifier_closure0:function(e,t){this.$this=e,this.start=t},Stylesheet$internal0(e,t,r,n,i){var o=A._setArrayType([],D.JSArray_UseRule_2),s=A._setArrayType([],D.JSArray_ForwardRule_2),a=A.ConstantMap_ConstantMap$from(n,D.String,D.FileSpan),l=A.List_List$unmodifiable(e,D.Statement_2),c=C.JSArray_methods.any$1(l,new A.ParentStatement_closure0);return(o=new A.Stylesheet0(t,i,o,s,new A.UnmodifiableListView(r,D.UnmodifiableListView_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span_2),a,l,c)).Stylesheet$internal$5$globalVariables$plainCss0(e,t,r,n,i),o},Stylesheet_Stylesheet$parse0(e,t,r,n){var i,o,s,a,l;try{switch(t.index){case 1:return a=new A.SassParser0(r,A.LinkedHashMap_LinkedHashMap$_empty(D.String,D.FileSpan),A._setArrayType([],D.JSArray_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span_2),A.SpanScanner$(e,n),null).parse$0(0);case 0:return a=A.ScssParser$0(e,r,n).parse$0(0);case 2:return a=new A.CssParser0(r,A.LinkedHashMap_LinkedHashMap$_empty(D.String,D.FileSpan),A._setArrayType([],D.JSArray_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span_2),A.SpanScanner$(e,n),null).parse$0(0)}}catch(e){if((a=A.unwrapException(e))instanceof A.SassException0){if(i=a,o=A.getTraceFromException(e),a=i,l=w.getInterceptor$x(a),null==(s=(a=A.SourceSpanException.prototype.get$span.call(l,a)).get$sourceUrl(a))||"stdin"===s.toString$0(0))throw e;throw a=D.Uri,A.wrapException(A.throwWithTrace0(i.withLoadedUrls$1(A.Set_Set$unmodifiable(A.LinkedHashSet_LinkedHashSet$_literal([s],a),a)),i,o))}throw e}},Stylesheet0:function(e,t,r,n,i,o,s,a){var l=this;l.span=e,l.plainCss=t,l._stylesheet1$_uses=r,l._stylesheet1$_forwards=n,l.parseTimeWarnings=i,l.globalVariables=o,l.children=s,l.hasDeclarations=a},SupportsExpression0:function(e){this.condition=e},ModifiableCssSupportsRule$0(e,t){var r=A._setArrayType([],D.JSArray_ModifiableCssNode_2);return new A.ModifiableCssSupportsRule0(e,t,new A.UnmodifiableListView(r,D.UnmodifiableListView_ModifiableCssNode_2),r)},ModifiableCssSupportsRule0:function(e,t,r,n){var i=this;i.condition=e,i.span=t,i.children=r,i._node$_children=n,i._node$_indexInParent=i._node$_parent=null,i.isGroupEnd=!1},SupportsRule$0(e,t,r){var n=A.List_List$unmodifiable(t,D.Statement_2),i=C.JSArray_methods.any$1(n,new A.ParentStatement_closure0);return new A.SupportsRule0(e,r,n,i)},SupportsRule0:function(e,t,r,n){var i=this;i.condition=e,i.span=t,i.children=r,i.hasDeclarations=n},JSToDartImporter:function(e,t,r){this._sync$_canonicalize=e,this._sync$_load=t,this._sync$_nonCanonicalSchemes=r},JSToDartImporter_canonicalize_closure:function(e,t){this.$this=e,this.url=t},JSToDartImporter_load_closure:function(e,t){this.$this=e,this.url=t},Syntax_forPath0(e){var t=A.ParsedPath_ParsedPath$parse(e,I.$get$context().style)._splitExtension$1(1)[1];return".sass"!==t?".css"!==t?C.Syntax_SCSS_0_scss0:C.Syntax_CSS_2_css0:C.Syntax_Sass_1_sass0},Syntax0:function(e,t,r){this._syntax0$_name=e,this.index=t,this._name=r},InterpolatedTypeSelector:function(e){this.name=e},TypeSelector0:function(e,t){this.name=e,this.span=t},Types:function(){},UnaryOperationExpression0:function(e,t,r){this.operator=e,this.operand=t,this.span=r},UnaryOperator0:function(e,t,r,n){var i=this;i.name=e,i.operator=t,i.index=r,i._name=n},UnitlessSassNumber0:function(e,t){this._number1$_value=e,this.hashCache=null,this.asSlash=t},InterpolatedUniversalSelector:function(e,t){this.namespace=e,this.span=t},UniversalSelector0:function(e,t){this.namespace=e,this.span=t},UnprefixedMapView0:function(e,t,r){this._unprefixed_map_view0$_map=e,this._unprefixed_map_view0$_prefix=t,this.$ti=r},_UnprefixedKeys0:function(e){this._unprefixed_map_view0$_view=e},_UnprefixedKeys_iterator_closure1:function(e){this.$this=e},_UnprefixedKeys_iterator_closure2:function(e){this.$this=e},JSUrl0:function(){},UseRule0:function(e,t,r,n){var i=this;i.url=e,i.namespace=t,i.configuration=r,i.span=n},UserDefinedCallable0:function(e,t,r,n){var i=this;i.declaration=e,i.environment=t,i.inDependency=r,i.$ti=n},fromImport0(){var e=D.nullable_CanonicalizeContext_2._as(I.Zone__current.$index(0,C.Symbol__canonicalizeContext));return!0===(e=null==e?null:e._canonicalize_context$_fromImport)},canonicalizeContext0(){var e=I.Zone__current.$index(0,C.Symbol__canonicalizeContext);return null==e&&A.throwExpression(A.StateError$(P.canoni)),e instanceof A.CanonicalizeContext0?e:A.throwExpression(A.StateError$(P.Unexpe+A.S(e)+"."))},inImportRule(e,t){var r,n=I.Zone__current.$index(0,C.Symbol__canonicalizeContext);return null!=n?r=n instanceof A.CanonicalizeContext0?n.withFromImport$2(!0,e):A.throwExpression(A.StateError$(P.Unexpe+A.S(n)+".")):(r=D.nullable_Object,r=A.runZoned(e,A.LinkedHashMap_LinkedHashMap$_literal([C.Symbol__canonicalizeContext,new A.CanonicalizeContext0(!0,null)],r,r),t)),r},resolveImportPath0(e){var t,r=A.ParsedPath_ParsedPath$parse(e,I.$get$context().style)._splitExtension$1(1)[1];return".sass"===r||".scss"===r||".css"===r?null==(t=A.fromImport0()?new A.resolveImportPath_closure1(e,r).call$0():null)?A._exactlyOne0(A._tryPath0(e)):t:(null==(t=A.fromImport0()?new A.resolveImportPath_closure2(e).call$0():null)&&(t=A._exactlyOne0(A._tryPathWithExtensions0(e))),null==t?A._tryPathAsDirectory0(e):t)},_tryPathWithExtensions0(e){var t=A._tryPath0(e+".sass");return C.JSArray_methods.addAll$1(t,A._tryPath0(e+".scss")),0!==t.length?t:A._tryPath0(e+".css")},_tryPath0(e){var t=I.$get$context(),r=A.join(t.dirname$1(e),"_"+A.ParsedPath_ParsedPath$parse(e,t.style).get$basename(),null);return t=A._setArrayType([],D.JSArray_String),A.fileExists0(r)&&t.push(r),A.fileExists0(e)&&t.push(e),t},_tryPathAsDirectory0(e){var t;return A.dirExists0(e)?null==(t=A.fromImport0()?new A._tryPathAsDirectory_closure0(e).call$0():null)?A._exactlyOne0(A._tryPathWithExtensions0(A.join(e,"index",null))):t:null},_exactlyOne0(e){var t;return(t=e.length)<=0?null:1!==t?A.throwExpression(P.It_s_n+C.JSArray_methods.map$1$1(e,new A._exactlyOne_closure0,D.String).join$1(0,"\n")):e[0]},resolveImportPath_closure1:function(e,t){this.path=e,this.extension=t},resolveImportPath_closure2:function(e){this.path=e},_tryPathAsDirectory_closure0:function(e){this.path=e},_exactlyOne_closure0:function(){},jsThrow:e=>D.Never._as(I.$get$_jsThrow().call$1(e)),attachJsStack(e,t){var r=t.toString$0(0),n=C.JSString_methods.indexOf$1(r,"\n    at");-1!==n&&(r=C.JSString_methods.substring$1(r,n+1)),e.stack="Error: "+A.S(w.get$message$x(e))+"\n"+r},jsForEach(e,t){var r,i;for(r=w.get$iterator$ax(n.Object.keys(e));r.moveNext$0();)i=r.get$current(r),t.call$2(i,e[i])},jsType(e){var t=A._asString(new n.Function("value","return typeof value").call$1(e));return"object"!==t?t:A._asString(new n.Function("value",'    if (value && value.constructor && value.constructor.name) {\n      return value.constructor.name;\n    }\n    return "object";\n  ').call$1(e))},defineGetter(e,t,r,i){n.Object.defineProperty(e,t,null==r?{value:i,enumerable:!1}:{get:A.allowInteropCaptureThis(r),enumerable:!1})},allowInteropNamed:(e,t)=>(t=A.allowInterop(t),A.defineGetter(t,"name",null,e),A._hideDartProperties(t),t),allowInteropCaptureThisNamed:(e,t)=>(t=A.allowInteropCaptureThis(t),A.defineGetter(t,"name",null,e),A._hideDartProperties(t),t),_hideDartProperties(e){var t,r,i,o;for(t=w.cast$1$0$ax(n.Object.getOwnPropertyNames(e),D.String),r=A._instanceType(t),t=new A.ListIterator(t,t.get$length(t),r._eval$1("ListIterator<ListBase.E>")),r=r._eval$1("ListBase.E");t.moveNext$0();)null==(i=t.__internal$_current)&&(i=r._as(i)),C.JSString_methods.startsWith$1(i,"_")&&(o={value:e[i],enumerable:!1},n.Object.defineProperty(e,i,o))},futureToPromise0:e=>new n.Promise(A.allowInterop(new A.futureToPromise_closure0(e))),jsToDartUrl:e=>A.Uri_parse(w.toString$0$(e)),dartToJSUrl:e=>new n.URL(e.toString$0(0)),toJSArray(e){var t,r,i=new n.Array;for(t=w.get$iterator$ax(e),r=w.getInterceptor$x(i);t.moveNext$0();)r.push$1(i,t.get$current(t));return i},objectToMap(e){var t=A.LinkedHashMap_LinkedHashMap$_empty(D.String,D.nullable_Object);return A.jsForEach(e,new A.objectToMap_closure(t)),t},mapToObject(e){var t,r,i=new n.Object;for(t=(t=A.MapExtensions_get_pairs0(e,D.String,D.nullable_Object)).get$iterator(t);t.moveNext$0();)i[(r=t.get$current(t))._0]=r._1;return i},jsToDartSeparator:e=>" "!==e?","!==e?"/"!==e?null!=e?A.jsThrow(new n.Error('Unknown separator "'+e+'".')):C.ListSeparator_undecided_null_3_undecided0:C.ListSeparator_Lul0:C.ListSeparator_z0K0:C.ListSeparator_SrV0,parseSyntax:e=>null!=e&&"scss"!==e?"indented"!==e?"css"!==e?A.jsThrow(new n.Error('Unknown syntax "'+e+'".')):C.Syntax_CSS_2_css0:C.Syntax_Sass_1_sass0:C.Syntax_SCSS_0_scss0,entrypointFilename(){var e,t,r,i,o,s=n.require.main,a=null==s?null:w.get$filename$x(s);return null!=a?a:(e=w.get$argv$x(n.process),(t=(s=w.getInterceptor$asx(e)).get$length(e)>=2)?i="string"==typeof(r=s.$index(e,1)):(r=null,i=!1),i?(o=A._asString(t?r:s.$index(e,1)),w.resolve$1$x(w.createRequire$1$x(n.nodeModule,o),o)):null)},_PropertyDescriptor0:function(){},futureToPromise_closure0:function(e){this.future=e},futureToPromise__closure0:function(e){this.resolve=e},futureToPromise__closure1:function(e){this.reject=e},objectToMap_closure:function(e){this.map=e},_RequireMain0:function(){},toSentence0:(e,t)=>1===e.get$length(e)?w.toString$0$(e.get$first(e)):A.IterableExtension_get_exceptLast0(e).join$1(0,", ")+" "+t+" "+A.S(e.get$last(e)),indent0:(e,t)=>new A.MappedListIterable(A._setArrayType(e.split("\n"),D.JSArray_String),new A.indent_closure0(t),D.MappedListIterable_String_String).join$1(0,"\n"),pluralize0:(e,t,r)=>1===t?e:null!=r?r:e+"s",trimAscii0(e,t){var r,n=A._firstNonWhitespace0(e);return null==n?r="":((r=A._lastNonWhitespace0(e,!0)).toString,r=C.JSString_methods.substring$2(e,n,r+1)),r},trimAsciiRight0(e,t){var r=A._lastNonWhitespace0(e,t);return null==r?"":C.JSString_methods.substring$2(e,0,r+1)},_firstNonWhitespace0(e){var t,r,n;for(t=e.length,r=0;r<t;++r)if(32!==(n=e.charCodeAt(r))&&9!==n&&10!==n&&13!==n&&12!==n)return r;return null},_lastNonWhitespace0(e,t){var r,n,i;for(n=r=e.length-1;n>=0;--n)if(32!==(i=e.charCodeAt(n))&&9!==i&&10!==i&&13!==i&&12!==i)return t&&0!==n&&n!==r&&92===i?n+1:n;return null},isPublic0(e){var t=e.charCodeAt(0);return 45!==t&&95!==t},flattenVertically0(e,t){var r,n=e.$ti._eval$1("@<ListIterable.E>")._bind$1(t._eval$1("QueueList<0>"))._eval$1("MappedListIterable<1,2>"),i=A.List_List$_of(new A.MappedListIterable(e,new A.flattenVertically_closure1(t),n),n._eval$1("ListIterable.E"));if(1===i.length)return C.JSArray_methods.get$first(i);for(r=A._setArrayType([],t._eval$1("JSArray<0>"));0!==i.length;)1&i.$flags&&A.throwUnsupportedOperation(i,16),C.JSArray_methods._removeWhere$2(i,new A.flattenVertically_closure2(r,t),!0);return r},codepointIndexToCodeUnitIndex0(e,t){var r,n,i;for(r=0,n=0;n<t;++n)i=r+1,r=e.charCodeAt(r)>>>10==54?i+1:i;return r},codeUnitIndexToCodepointIndex0(e,t){var r,n;for(r=0,n=0;n<t;n=(e.charCodeAt(n)>>>10==54?n+1:n)+1)++r;return r},frameForSpan0(e,t,r){var n,i,o=null==r?e.get$sourceUrl(e):r;return null==o&&(o=I.$get$_noSourceUrl0()),n=(n=e.get$start(e)).file.getLine$1(n.offset),i=e.get$start(e),new A.Frame(o,n+1,i.file.getColumn$1(i.offset)+1,t)},declarationName0(e){var t=e.get$text();return A.trimAsciiRight0(C.JSString_methods.substring$2(t,0,C.JSString_methods.indexOf$1(t,":")),!1)},unvendor0(e){var t,r=e.length;if(r<2)return e;if(45!==e.charCodeAt(0))return e;if(45===e.charCodeAt(1))return e;for(t=2;t<r;++t)if(45===e.charCodeAt(t))return C.JSString_methods.substring$1(e,t+1);return e},equalsIgnoreCase0(e,t){var r,n;if(e===t)return!0;if(null==e)return!1;if((r=e.length)!==t.length)return!1;for(n=0;n<r;++n)if(!A.characterEqualsIgnoreCase0(e.charCodeAt(n),t.charCodeAt(n)))return!1;return!0},startsWithIgnoreCase0(e,t){var r,n=t.length;if(e.length<n)return!1;for(r=0;r<n;++r)if(!A.characterEqualsIgnoreCase0(e.charCodeAt(r),t.charCodeAt(r)))return!1;return!0},mapInPlace0(e,t){var r;for(r=0;r<e.length;++r)e[r]=t.call$1(e[r])},longestCommonSubsequence0(e,t,r,n){var i,o,s,a,l,c,u,d,h=e.get$length(0)+1,p=w.JSArray_JSArray$allocateFixed(h,D.List_int);for(i=D.int,o=0;o<h;++o)p[o]=A.List_List$filled(((t._queue_list$_tail-t._queue_list$_head&w.get$length$asx(t._queue_list$_table)-1)>>>0)+1,0,!1,i);for(h=e.get$length(0),s=w.JSArray_JSArray$allocateFixed(h,n._eval$1("List<0?>")),i=n._eval$1("0?"),o=0;o<h;++o)s[o]=A.List_List$filled((t._queue_list$_tail-t._queue_list$_head&w.get$length$asx(t._queue_list$_table)-1)>>>0,null,!1,i);for(a=0;a<(e._queue_list$_tail-e._queue_list$_head&w.get$length$asx(e._queue_list$_table)-1)>>>0;a=l)for(l=a+1,c=0;c<(t._queue_list$_tail-t._queue_list$_head&w.get$length$asx(t._queue_list$_table)-1)>>>0;c=d)u=r.call$2(e.$index(0,a),t.$index(0,c)),s[a][c]=u,(i=p[l])[d=c+1]=null==u?Math.max(i[c],p[a][d]):p[a][c]+1;return new A.longestCommonSubsequence_backtrack0(s,p,n).call$2(e.get$length(0)-1,t.get$length(0)-1)},removeFirstWhere0(e,t,r){var n;for(n=0;n<e.length;++n)if(t.call$1(e[n]))return void C.JSArray_methods.removeAt$1(e,n);r.call$0()},mapAddAll20(e,t,r,n,i){t.forEach$1(0,new A.mapAddAll2_closure0(e,r,n,i))},setAll0(e,t,r){var n;for(n=t.get$iterator(t);n.moveNext$0();)e.$indexSet(0,n.get$current(n),r)},rotateSlice0(e,t,r){var n,i,o=e.$index(0,r-1);for(n=t;n<r;++n,o=i)i=e.$index(0,n),e.$indexSet(0,n,o)},mapAsync0:(e,t,r,n)=>A.mapAsync$body0(e,t,r,n,n._eval$1("Iterable<0>")),mapAsync$body0(e,t,r,n,i){var o,s,a,l,c,u=0,d=A._makeAsyncAwaitCompleter(i),h=A._wrapJsFunctionForAsync(function(r,i){if(1===r)return A._asyncRethrow(i,d);for(;;)switch(u){case 0:l=A._setArrayType([],n._eval$1("JSArray<0>")),s=e.length,a=0;case 3:if(!(a<s)){u=5;break}return c=l,u=6,A._asyncAwait(t.call$1(e[a]),h);case 6:c.push(i);case 4:++a,u=3;break;case 5:o=l,u=1;break;case 1:return A._asyncReturn(o,d)}});return A._asyncStartSync(h,d)},putIfAbsentAsync0:(e,t,r,n,i)=>A.putIfAbsentAsync$body0(e,t,r,n,i,i),putIfAbsentAsync$body0(e,t,r,n,i,o){var s,a,l,c=0,u=A._makeAsyncAwaitCompleter(o),d=A._wrapJsFunctionForAsync(function(n,o){if(1===n)return A._asyncRethrow(o,u);for(;;)switch(c){case 0:if(e.containsKey$1(t)){a=e.$index(0,t),s=null==a?i._as(a):a,c=1;break}return c=3,A._asyncAwait(r.call$0(),d);case 3:l=o,e.$indexSet(0,t,l),s=l,c=1;break;case 1:return A._asyncReturn(s,u)}});return A._asyncStartSync(d,u)},copyMapOfMap0(e,t,r,n){var i,o,s,a=r._eval$1("@<0>")._bind$1(n)._eval$1("Map<1,2>"),l=A.LinkedHashMap_LinkedHashMap$_empty(t,a);for(a=(a=A.MapExtensions_get_pairs0(e,t,a)).get$iterator(a);a.moveNext$0();)o=(i=a.get$current(a))._0,s=i._1,(i=A.LinkedHashMap_LinkedHashMap(null,null,null,r,n)).addAll$1(0,s),l.$indexSet(0,o,i);return l},copyMapOfList0(e,t,r){var n,i=r._eval$1("List<0>"),o=A.LinkedHashMap_LinkedHashMap$_empty(t,i);for(i=(i=A.MapExtensions_get_pairs0(e,t,i)).get$iterator(i);i.moveNext$0();)n=i.get$current(i),o.$indexSet(0,n._0,w.toList$0$ax(n._1));return o},consumeEscapedCharacter0(e){var t,r,n,i,o;if(e.expectChar$1(92),null==(t=e.peekChar$0()))return 65533;if(10!==t&&13!==t&&12!==t||e.error$1(0,"Expected escape sequence."),A.CharacterExtension_get_isHex0(t)){for(r=0,n=0;n<6&&(null!=(i=e.peekChar$0())?(o=!0,i>=48&&i<=57||i>=97&&i<=102||(o=i>=65&&i<=70),o=!o):o=!0,!o);++n)r=(r<<4>>>0)+A.asHex0(e.readChar$0());return 32!==(o=e.peekChar$0())&&9!==o&&10!==o&&13!==o&&12!==o||e.readChar$0(),o=(o=0===r||(r>=55296&&r<=57343||r>=1114111))?65533:r}return e.readChar$0()},throwWithTrace0(e,t,r){var n=A.getTrace0(t);throw A.attachTrace0(e,null==n?r:n),A.wrapException(e)},attachTrace0(e,t){var r;"string"==typeof e||"number"==typeof e||A._isBool(e)||0!==t.toString$0(0).length&&(r=I.$get$_traces0(),A.Expando__checkType(e),null==r._jsWeakMap.get(e)&&r.$indexSet(0,e,t))},getTrace0(e){var t;return"string"==typeof e||"number"==typeof e||A._isBool(e)?t=null:(t=I.$get$_traces0(),A.Expando__checkType(e),t=t._jsWeakMap.get(e)),t},parseSignature(e,t){var r,n,i,o;try{return i=A.ScssParser$0(e,!1,null).parseSignature$1$requireParens(t)}catch(t){if(i=A.unwrapException(t),!D.SassFormatException_2._is(i))throw t;r=i,n=A.getTraceFromException(t),i=r._span_exception$_message,o=w.get$span$x(r),A.throwWithTrace0(new A.SassFormatException0(C.Set_empty,'Invalid signature "'+e+'": '+i,o),r,n)}},indent_closure0:function(e){this.indentation=e},flattenVertically_closure1:function(e){this.T=e},flattenVertically_closure2:function(e,t){this.result=e,this.T=t},longestCommonSubsequence_backtrack0:function(e,t,r){this.selections=e,this.lengths=t,this.T=r},mapAddAll2_closure0:function(e,t,r,n){var i=this;i.destination=e,i.K1=t,i.K2=r,i.V=n},CssValue0:function(e,t,r){this.value=e,this.span=t,this.$ti=r},ValueExpression0:function(e,t){this.value=e,this.span=t},valueClass_closure:function(){},valueClass__closure:function(){},valueClass__closure0:function(){},valueClass__closure1:function(){},valueClass__closure2:function(){},valueClass__closure3:function(){},valueClass__closure4:function(){},valueClass__closure5:function(){},valueClass__closure6:function(){},valueClass__closure7:function(){},valueClass__closure8:function(){},valueClass__closure9:function(){},valueClass__closure10:function(){},valueClass__closure11:function(){},valueClass__closure12:function(){},valueClass__closure13:function(){},valueClass__closure14:function(){},valueClass__closure15:function(){},valueClass__closure16:function(){},valueClass__closure17:function(){},valueClass__closure18:function(){},SassApiValue_assertSelector0(e,t,r){var n,i,o,s=e._value$_selectorString$1(r);try{return o=A.SelectorList_SelectorList$parse0(s,t,null,!1)}catch(e){if(o=A.unwrapException(e),!D.SassFormatException_2._is(o))throw e;n=o,i=A.getTraceFromException(e),o=C.JSString_methods.replaceFirst$2(w.toString$0$(n),"Error: ",""),A.throwWithTrace0(new A.SassScriptException0(null==r?o:"$"+r+": "+o),n,i)}},SassApiValue_assertCompoundSelector0(e,t){var r,n,i,o=e._value$_selectorString$1(t);try{return i=new A.SelectorParser0(!1,!1,A.SpanScanner$(o,null),null).parseCompoundSelector$0()}catch(e){if(i=A.unwrapException(e),!D.SassFormatException_2._is(i))throw e;r=i,n=A.getTraceFromException(e),i=C.JSString_methods.replaceFirst$2(w.toString$0$(r),"Error: ",""),A.throwWithTrace0(new A.SassScriptException0("$"+t+": "+i),r,n)}},Value0:function(){},VariableExpression0:function(e,t,r){this.namespace=e,this.name=t,this.span=r},VariableDeclaration$0:(e,t,r,n,i,o,s)=>(null!=s&&i&&A.throwExpression(A.ArgumentError$(P.Other_,null)),new A.VariableDeclaration0(s,e,t,o,i,r)),VariableDeclaration0:function(e,t,r,n,i,o){var s=this;s.namespace=e,s.name=t,s.expression=r,s.isGuarded=n,s.isGlobal=i,s.span=o},WarnRule0:function(e,t){this.expression=e,this.span=t},WhileRule$0(e,t,r){var n=A.List_List$unmodifiable(t,D.Statement_2),i=C.JSArray_methods.any$1(n,new A.ParentStatement_closure0);return new A.WhileRule0(e,r,n,i)},WhileRule0:function(e,t,r,n){var i=this;i.condition=e,i.span=t,i.children=r,i.hasDeclarations=n},XyzD50ColorSpace0:function(e,t){this.name=e,this._space$_channels=t},XyzD65ColorSpace0:function(e,t){this.name=e,this._space$_channels=t},AsyncCallable_AsyncCallable$fromSignature(e,t,r){var n=A.parseSignature(e,r);return new A.AsyncBuiltInCallable0(n._0,n._1,t,!1)},Callable_Callable$fromSignature(e,t,r){var n=A.parseSignature(e,r);return new A.BuiltInCallable0(n._0,A._setArrayType([new A._Record_2(n._1,t)],D.JSArray_Record_2_ParameterList_and_Value_Function_List_Value_2),!1)},printString(e){if("function"!=typeof dartPrint)if("object"!=typeof console||void 0===console.log){if("function"!=typeof print)throw"Unable to print message: "+String(e);print(e)}else console.log(e);else dartPrint(e)},mergeMaps(e,t,r,n){var i=A.LinkedHashMap_LinkedHashMap$of(e,r,n);return i.addAll$1(0,t),i},groupBy(e,t,r,n){var i,o,s,a,l,c,u=A.LinkedHashMap_LinkedHashMap$_empty(n,r._eval$1("List<0>"));for(i=e.length,o=r._eval$1("JSArray<0>"),s=0;s<e.length;e.length===i||(0,A.throwConcurrentModificationError)(e),++s)a=e[s],l=t.call$1(a),null==(c=u.$index(0,l))?(c=A._setArrayType([],o),u.$indexSet(0,l,c),l=c):l=c,w.add$1$ax(l,a);return u},minBy(e,t){var r,n,i,o,s,a;for(r=e.$ti,n=new A.MappedIterator(w.get$iterator$ax(e.__internal$_iterable),e._f,r._eval$1("MappedIterator<1,2>")),r=r._rest[1],i=null,o=null;n.moveNext$0();)null==(s=n.__internal$_current)&&(s=r._as(s)),a=t.call$1(s),(null==o||A.defaultCompare(a,o)<0)&&(o=a,i=s);return i},IterableExtension_firstWhereOrNull(e,t){var r,n;for(r=w.get$iterator$ax(e);r.moveNext$0();)if(n=r.get$current(r),t.call$1(n))return n;return null},IterableExtension_get_firstOrNull(e){var t=w.get$iterator$ax(e);return t.moveNext$0()?t.get$current(t):null},IterableExtension_get_lastOrNull:e=>0===e.get$length(0)?null:e.get$last(e),IterableExtension_get_singleOrNull(e){var t,r=w.get$iterator$ax(e);return r.moveNext$0()&&(t=r.get$current(r),!r.moveNext$0())?t:null},IterableIntegerExtension_get_maxOrNull(e){var t,r,n=e.$ti,i=new A.ListIterator(e,e.get$length(0),n._eval$1("ListIterator<ListIterable.E>"));if(i.moveNext$0()){for(null==(t=i.__internal$_current)&&(t=n._eval$1("ListIterable.E")._as(t)),n=n._eval$1("ListIterable.E");i.moveNext$0();)null==(r=i.__internal$_current)&&(r=n._as(r)),r>t&&(t=r);return t}return null},IterableIntegerExtension_get_max(e){var t=A.IterableIntegerExtension_get_maxOrNull(e);return null==t?A.throwExpression(A.StateError$("No element")):t},IterableIntegerExtension_get_sum(e){var t,r,n,i;for(t=e.$ti,r=new A.MappedIterator(w.get$iterator$ax(e.__internal$_iterable),e._f,t._eval$1("MappedIterator<1,2>")),t=t._rest[1],n=0;r.moveNext$0();)n+=null==(i=r.__internal$_current)?t._as(i):i;return n},ListExtensions_mapIndexed:(e,t,r,n)=>new A._SyncStarIterable(A.ListExtensions_mapIndexed$body(e,t,r,n),n._eval$1("_SyncStarIterable<0>")),ListExtensions_mapIndexed$body:(e,t,r,n)=>function(){var r,n,i=e,o=t,s=0,a=[];return function(e,t,l){for(1===t&&(a.push(l),s=1);;)switch(s){case 0:r=i.length,n=0;case 2:if(!(n<r)){s=4;break}return s=5,e._async$_current=o.call$2(n,i[n]),1;case 5:case 3:++n,s=2;break;case 4:return 0;case 1:return e._datum=a.at(-1),3}}},ListExtensions_elementAtOrNull(e,t){var r=w.getInterceptor$asx(e);return t<r.get$length(e)?r.$index(e,t):null},defaultCompare:(e,t)=>w.compareTo$1$ns(D.Comparable_nullable_Object._as(e),t),current(){var e,t,r,n=null;try{n=A.Uri_base()}catch(t){if(D.Exception._is(A.unwrapException(t))){if(null!=(e=I._current))return e;throw t}throw t}return w.$eq$(n,I._currentUriBase)?((e=I._current).toString,e):(I._currentUriBase=n,I.$get$Style_platform()===I.$get$Style_url()?e=I._current=w.resolve$1$x(n,".").toString$0(0):(r=(t=n.toFilePath$0()).length-1,e=I._current=0===r?t:C.JSString_methods.substring$2(t,0,r)),e)},absolute:(e,t,r,n,i,o,s,a,l,c,u,d,h,p,m)=>I.$get$context().absolute$15(e,t,r,n,i,o,s,a,l,c,u,d,h,p,m),join(e,t,r){var n=null;return I.$get$context().join$16(0,e,t,r,n,n,n,n,n,n,n,n,n,n,n,n,n)},toUri:e=>I.$get$context().toUri$1(e),prettyUri(e){var t=I.$get$context();return e.toString,t.prettyUri$1(e)},isAlphabetic:e=>e>=65&&e<=90||e>=97&&e<=122,driveLetterEnd(e,t){var r,n,i=null,o=e.length,s=t+2;if(o<s)return i;if(!A.isAlphabetic(e.charCodeAt(t)))return i;if(r=t+1,58!==e.charCodeAt(r)){if(o<(n=t+4))return i;if("%3a"!==C.JSString_methods.substring$2(e,r,n).toLowerCase())return i;t=s}return o===(r=t+2)?r:47!==e.charCodeAt(r)?i:t+3},main0(e){var t,r=A._makeAsyncAwaitCompleter(D.void),i=A._wrapJsFunctionForAsync(function(e,i){if(1===e)return A._asyncRethrow(i,r);for(;;)return A.printError("sass --embedded is unavailable in pure JS mode."),null!=(t=A.isNodeJs()?n.process:null)&&w.set$exitCode$x(t,1),A._asyncReturn(null,r)});return A._asyncStartSync(i,r)},EvaluationContext_currentOrNull(){var e=I.Zone__current.$index(0,C.Symbol__evaluationContext);return D.EvaluationContext._is(e)?e:null},warn(e){var t,r=null,n=A.EvaluationContext_currentOrNull();return null==n?(C.C_DefaultLogger.internalWarn$4$deprecation$span$trace(e,r,r,r),t=r):t=n.warn$2(0,e,r),t},warnForDeprecation(e,t){var r=A.EvaluationContext_currentOrNull();return null==r?A.WarnForDeprecation_warnForDeprecation(C.C_DefaultLogger,t,e,null,null):r.warn$2(0,e,t)},compileStylesheets(e,t,r,i){var o,s,a,l,c,u,d,h,p,m,_,g,f,v,b=0,y=A._makeAsyncAwaitCompleter(D.bool),$=A._wrapJsFunctionForAsync(function(x,S){if(1===x)return A._asyncRethrow(S,y);for(;;)switch(b){case 0:f=D.nullable_String,f=A.List_List$_of(A.MapExtensions_get_pairs(r,f,f),D.Record_2_nullable_String_and_nullable_String),b=1===f.length?4:5;break;case 4:return s=f[0],v=A,b=6,A._asyncAwait(A.compileStylesheet(e,t,s._0,s._1,i),$);case 6:f=v._setArrayType([S],D.JSArray_nullable_Record_3_int_and_String_and_nullable_String),b=3;break;case 5:for(a=A._setArrayType([],D.JSArray_Future_nullable_Record_3_int_and_String_and_nullable_String),l=f.length,c=0;c<f.length;f.length===l||(0,A.throwConcurrentModificationError)(f),++c)u=f[c],a.push(A.compileStylesheet(e,t,u._0,u._1,i));return b=7,A._asyncAwait(A.Future_wait(a,A._asBool(e._options.$index(0,"stop-on-error")),D.nullable_Record_3_int_and_String_and_nullable_String),$);case 7:f=S,b=3;break;case 3:for(f=w.get$iterator$ax(f),d=!1;f.moveNext$0();)null!=(h=f.get$current(f))&&(p=h._0,m=h._1,_=h._2,a=null==(a=n.process)||null==(a=w.get$release$x(a))?null:w.get$name$x(a),null==(a=null==(a=w.$eq$(a,"node")?n.process:null)?null:w.get$exitCode$x(a))&&(a=0),a=Math.max(a,p),l=null==(l=n.process)||null==(l=w.get$release$x(l))?null:w.get$name$x(l),null!=(l=w.$eq$(l,"node")?n.process:null)&&w.set$exitCode$x(l,a),g=new A.StringBuffer(""),a=(d?g._contents="\n":"")+m,g._contents=a,null!=_&&(a+="\n",g._contents=a,a+="\n",g._contents=a,g._contents=a+_),A.printError(g),d=!0);o=!d,b=1;break;case 1:return A._asyncReturn(o,y)}});return A._asyncStartSync($,y)},CharacterExtension_get_isAlphabetic:e=>e>=97&&e<=122||e>=65&&e<=90,CharacterExtension_get_isHex(e){var t=!0;return e>=48&&e<=57||e>=97&&e<=102||(t=e>=65&&e<=70),t},asHex:e=>e<=57?e-48:e<=70?10+e-65:10+e-97,hexCharFor:e=>e<10?48+e:87+e,opposite:e=>40!==e?123!==e?91!==e?A.throwExpression(A.ArgumentError$('"'+A.String_String$fromCharCode(e)+"\" isn't a brace-like character.",null)):93:125:41,characterEqualsIgnoreCase(e,t){var r;return e===t||(e^t)>>>0==32&&((r=(4294967263&e)>>>0)>=65&&r<=90)},IterableExtension_search(e,t){var r,n;for(r=w.get$iterator$ax(e);r.moveNext$0();)if(null!=(n=t.call$1(r.get$current(r))))return n;return null},IterableExtension_get_exceptLast(e){var t=w.getInterceptor$asx(e),r=t.get$length(e)-1;if(r<0)throw A.wrapException(A.StateError$("Iterable may not be empty"));return t.take$1(e,r)},NullableExtension_andThen:(e,t)=>null==e?null:t.call$1(e),SetExtension_removeNull:(e,t)=>(e.remove$1(0,null),A.Set_castFrom(e,e.get$_newSimilarSet(),A._instanceType(e)._precomputed1,t)),fuzzyEquals(e,t){var r;return e===t||(Math.abs(e-t)<=I.$get$_epsilon()?(r=I.$get$_inverseEpsilon(),r=C.JSNumber_methods.round$0(e*r)===C.JSNumber_methods.round$0(t*r)):r=!1,r)},fuzzyEqualsNullable(e,t){var r;return e==t||null!=e&&null!=t&&(Math.abs(e-t)<=I.$get$_epsilon()?(r=I.$get$_inverseEpsilon(),r=C.JSNumber_methods.round$0(e*r)===C.JSNumber_methods.round$0(t*r)):r=!1,r)},fuzzyHashCode:e=>isFinite(e)?C.JSInt_methods.get$hashCode(C.JSNumber_methods.round$0(e*I.$get$_inverseEpsilon())):C.JSNumber_methods.get$hashCode(e),fuzzyLessThan:(e,t)=>e<t&&!A.fuzzyEquals(e,t),fuzzyLessThanOrEquals:(e,t)=>e<t||A.fuzzyEquals(e,t),fuzzyGreaterThan:(e,t)=>e>t&&!A.fuzzyEquals(e,t),fuzzyGreaterThanOrEquals:(e,t)=>e>t||A.fuzzyEquals(e,t),fuzzyIsInt:e=>e!=1/0&&e!=-1/0&&!isNaN(e)&&A.fuzzyEquals(e,C.JSNumber_methods.round$0(e)),fuzzyAsInt(e){var t;return e==1/0||e==-1/0||isNaN(e)?null:(t=C.JSNumber_methods.round$0(e),A.fuzzyEquals(e,t)?t:null)},fuzzyRound(e){var t;return e>0?(t=C.JSNumber_methods.$mod(e,1))<.5&&!A.fuzzyEquals(t,.5)?C.JSNumber_methods.floor$0(e):C.JSNumber_methods.ceil$0(e):(t=C.JSNumber_methods.$mod(e,1))<.5||A.fuzzyEquals(t,.5)?C.JSNumber_methods.floor$0(e):C.JSNumber_methods.ceil$0(e)},fuzzyCheckRange:(e,t,r)=>A.fuzzyEquals(e,t)?t:A.fuzzyEquals(e,r)?r:e>t&&e<r?e:null,fuzzyAssertRange(e,t,r,n){var i=A.fuzzyCheckRange(e,t,r);if(null!=i)return i;throw A.wrapException(A.RangeError$range(e,t,r,n,"must be between "+t+" and "+r))},moduloLikeSass(e,t){var r;return e==1/0||e==-1/0?NaN:t==1/0||t==-1/0?A.DoubleWithSignedZero_get_signIncludingZero(e)===w.get$sign$in(t)?e:NaN:t>0?C.JSNumber_methods.$mod(e,t):0===t?NaN:0===(r=C.JSNumber_methods.$mod(e,t))?0:r+t},sqrt:e=>(e.assertNoUnits$1("number"),A.SassNumber_SassNumber(Math.sqrt(e._number$_value),null)),sin:e=>A.SassNumber_SassNumber(Math.sin(e.coerceValueToUnit$2("rad","number")),null),cos:e=>A.SassNumber_SassNumber(Math.cos(e.coerceValueToUnit$2("rad","number")),null),tan:e=>A.SassNumber_SassNumber(Math.tan(e.coerceValueToUnit$2("rad","number")),null),atan:e=>(e.assertNoUnits$1("number"),A.SassNumber_SassNumber$withUnits(57.29577951308232*Math.atan(e._number$_value),null,A._setArrayType(["deg"],D.JSArray_String))),asin:e=>(e.assertNoUnits$1("number"),A.SassNumber_SassNumber$withUnits(57.29577951308232*Math.asin(e._number$_value),null,A._setArrayType(["deg"],D.JSArray_String))),acos:e=>(e.assertNoUnits$1("number"),A.SassNumber_SassNumber$withUnits(57.29577951308232*Math.acos(e._number$_value),null,A._setArrayType(["deg"],D.JSArray_String))),log:(e,t)=>null!=t?A.SassNumber_SassNumber(Math.log(e._number$_value)/Math.log(t._number$_value),null):A.SassNumber_SassNumber(Math.log(e._number$_value),null),pow0:(e,t)=>(e.assertNoUnits$1("base"),t.assertNoUnits$1("exponent"),A.SassNumber_SassNumber(Math.pow(e._number$_value,t._number$_value),null)),DoubleWithSignedZero_get_signIncludingZero:e=>-0===e?-1:0===e?1:w.get$sign$in(e),SpanExtensions_trimLeft(e){for(var t,r=0;32===(t=e.get$text().charCodeAt(r))||9===t||10===t||13===t||12===t;)++r;return A.FileSpanExtension_subspan(e,r,null)},SpanExtensions_trimRight(e){for(var t,r=e.get$text().length-1;32===(t=e.get$text().charCodeAt(r))||9===t||10===t||13===t||12===t;)--r;return A.FileSpanExtension_subspan(e,0,r+1)},SpanExtensions_initialIdentifier(e){var t=A.StringScanner$(e.get$text(),null,null);return A._scanIdentifier(t),A.FileSpanExtension_subspan(e,0,t._string_scanner$_position)},_scanIdentifier(e){var t,r;for(t=e.string.length;e._string_scanner$_position!==t;)if(92!==(r=e.peekChar$0())){if(!(!!A._isInt(r)&&(!!(95===r||(r>=97&&r<=122||r>=65&&r<=90||r>=128))||(r>=48&&r<=57||45===r))))break;e.readChar$0()}else A.consumeEscapedCharacter(e)},hueToRgb:(e,t,r)=>(r<0&&++r,r>1&&--r,r<.16666666666666666?e+(t-e)*r*6:r<.5?t:r<.6666666666666666?e+(t-e)*(.6666666666666666-r)*6:e),srgbAndDisplayP3ToLinear(e){var t=Math.abs(e);return t<=.04045?e/12.92:w.get$sign$in(e)*Math.pow((t+.055)/1.055,2.4)},srgbAndDisplayP3FromLinear(e){var t=Math.abs(e);return t<=.0031308?12.92*e:w.get$sign$in(e)*(1.055*Math.pow(t,.4166666666666667)-.055)},labToLch(e,t,r,n,i,o,s){var a,l,c,u,d=null==r,h=d?0:r;return h=Math.pow(h,2),l=(a=null==n)?0:n,c=Math.sqrt(h+Math.pow(l,2)),s||A.fuzzyEquals(c,0)?u=null:(h=a?0:n,d=d?0:r,u=180*Math.atan2(h,d)/3.141592653589793),d=o?null:c,A.SassColor_SassColor$forSpaceInternal(e,t,d,null==u||u>=0?u:u+360,i)},encodeVlq(e){var t,r,n,i;if(e<I.$get$minInt32()||e>I.$get$maxInt32())throw A.wrapException(A.ArgumentError$("expected 32 bit int, got: "+e,null));t=A._setArrayType([],D.JSArray_String),e<0?(e=-e,r=1):r=0,e=e<<1|r;do{n=31&e,i=(e>>>=5)>0,t.push(P.ABCDEF[i?32|n:n])}while(i);return t},isAllTheSame(e){var t,r,n,i;if(0===e.get$length(0))return!0;for(t=e.get$first(0),n=(r=A.SubListIterable$(e,1,null,e.$ti._eval$1("ListIterable.E"))).$ti,r=new A.ListIterator(r,r.get$length(0),n._eval$1("ListIterator<ListIterable.E>")),n=n._eval$1("ListIterable.E");r.moveNext$0();)if(i=r.__internal$_current,!w.$eq$(null==i?n._as(i):i,t))return!1;return!0},replaceFirstNull(e,t){var r=C.JSArray_methods.indexOf$1(e,null);if(r<0)throw A.wrapException(A.ArgumentError$(A.S(e)+" contains no null elements.",null));e[r]=t},replaceWithNull(e,t){var r=C.JSArray_methods.indexOf$1(e,t);if(r<0)throw A.wrapException(A.ArgumentError$(A.S(e)+" contains no elements matching "+t.toString$0(0)+".",null));e[r]=null},countCodeUnits(e,t){var r,n,i,o;for(r=new A.CodeUnits(e),n=D.CodeUnits,r=new A.ListIterator(r,r.get$length(0),n._eval$1("ListIterator<ListBase.E>")),n=n._eval$1("ListBase.E"),i=0;r.moveNext$0();)(null==(o=r.__internal$_current)?n._as(o):o)===t&&++i;return i},findLineStart(e,t,r){var n,i,o;if(0===t.length)for(n=0;;){if(-1===(i=C.JSString_methods.indexOf$2(e,"\n",n)))return e.length-n>=r?n:null;if(i-n>=r)return n;n=i+1}for(i=C.JSString_methods.indexOf$1(e,t);-1!==i;){if(r===i-(o=0===i?0:C.JSString_methods.lastIndexOf$2(e,"\n",i-1)+1))return o;i=C.JSString_methods.indexOf$2(e,t,i+1)}return null},validateErrorArgs(e,t,r,n){var i,o=null!=r;if(o){if(r<0)throw A.wrapException(A.RangeError$("position must be greater than or equal to 0."));if(r>e.length)throw A.wrapException(A.RangeError$("position must be less than or equal to the string length."))}if((i=null!=n)&&n<0)throw A.wrapException(A.RangeError$("length must be greater than or equal to 0."));if(o&&i&&r+n>e.length)throw A.wrapException(A.RangeError$("position plus length must not go beyond the end of the string."))},CharacterExtension_get_isAlphabetic0:e=>e>=97&&e<=122||e>=65&&e<=90,CharacterExtension_get_isHex0(e){var t=!0;return e>=48&&e<=57||e>=97&&e<=102||(t=e>=65&&e<=70),t},combineSurrogates:(e,t)=>65536+((1023&e)<<10)+(1023&t),asHex0:e=>e<=57?e-48:e<=70?10+e-65:10+e-97,hexCharFor0:e=>e<10?48+e:87+e,opposite0:e=>40!==e?123!==e?91!==e?A.throwExpression(A.ArgumentError$('"'+A.String_String$fromCharCode(e)+"\" isn't a brace-like character.",null)):93:125:41,characterEqualsIgnoreCase0(e,t){var r;return e===t||(e^t)>>>0==32&&((r=(4294967263&e)>>>0)>=65&&r<=90)},EvaluationContext_currentOrNull0(){var e=I.Zone__current.$index(0,C.Symbol__evaluationContext);return D.EvaluationContext_2._is(e)?e:null},EvaluationContext__currentOrNull(){var e=I.Zone__current.$index(0,C.Symbol__evaluationContext);return D.EvaluationContext_2._is(e)?e:null},warn0(e){var t,r=null,n=A.EvaluationContext_currentOrNull0();return null==n?(C.C_DefaultLogger0.internalWarn$4$deprecation$span$trace(e,r,r,r),t=r):t=n.warn$2(0,e,r),t},warnForDeprecation0(e,t){var r=A.EvaluationContext_currentOrNull0();return null==r?A.WarnForDeprecation_warnForDeprecation0(C.C_DefaultLogger0,t,e,null,null):r.warn$2(0,e,t)},warnForDeprecationFromApi(e,t){var r=A.EvaluationContext__currentOrNull();null!=r?r.warn$2(0,e,t):A.WarnForDeprecation_warnForDeprecation0(C.C_DefaultLogger0,t,e,null,null)},IterableExtension_search0(e,t){var r,n;for(r=w.get$iterator$ax(e);r.moveNext$0();)if(null!=(n=t.call$1(r.get$current(r))))return n;return null},IterableExtension_get_exceptLast0(e){var t=w.getInterceptor$asx(e),r=t.get$length(e)-1;if(r<0)throw A.wrapException(A.StateError$("Iterable may not be empty"));return t.take$1(e,r)},NullableExtension_andThen0:(e,t)=>null==e?null:t.call$1(e),fuzzyEquals0(e,t){var r;return e===t||(Math.abs(e-t)<=I.$get$_epsilon0()?(r=I.$get$_inverseEpsilon0(),r=C.JSNumber_methods.round$0(e*r)===C.JSNumber_methods.round$0(t*r)):r=!1,r)},fuzzyEqualsNullable0(e,t){var r;return e==t||null!=e&&null!=t&&(Math.abs(e-t)<=I.$get$_epsilon0()?(r=I.$get$_inverseEpsilon0(),r=C.JSNumber_methods.round$0(e*r)===C.JSNumber_methods.round$0(t*r)):r=!1,r)},fuzzyHashCode0:e=>isFinite(e)?C.JSInt_methods.get$hashCode(C.JSNumber_methods.round$0(e*I.$get$_inverseEpsilon0())):C.JSNumber_methods.get$hashCode(e),fuzzyLessThan0:(e,t)=>e<t&&!A.fuzzyEquals0(e,t),fuzzyLessThanOrEquals0:(e,t)=>e<t||A.fuzzyEquals0(e,t),fuzzyGreaterThan0:(e,t)=>e>t&&!A.fuzzyEquals0(e,t),fuzzyGreaterThanOrEquals0:(e,t)=>e>t||A.fuzzyEquals0(e,t),fuzzyIsInt0:e=>e!=1/0&&e!=-1/0&&!isNaN(e)&&A.fuzzyEquals0(e,C.JSNumber_methods.round$0(e)),fuzzyAsInt0(e){var t;return e==1/0||e==-1/0||isNaN(e)?null:(t=C.JSNumber_methods.round$0(e),A.fuzzyEquals0(e,t)?t:null)},fuzzyRound0(e){var t;return e>0?(t=C.JSNumber_methods.$mod(e,1))<.5&&!A.fuzzyEquals0(t,.5)?C.JSNumber_methods.floor$0(e):C.JSNumber_methods.ceil$0(e):(t=C.JSNumber_methods.$mod(e,1))<.5||A.fuzzyEquals0(t,.5)?C.JSNumber_methods.floor$0(e):C.JSNumber_methods.ceil$0(e)},fuzzyCheckRange0:(e,t,r)=>A.fuzzyEquals0(e,t)?t:A.fuzzyEquals0(e,r)?r:e>t&&e<r?e:null,fuzzyAssertRange0(e,t,r,n){var i=A.fuzzyCheckRange0(e,t,r);if(null!=i)return i;throw A.wrapException(A.RangeError$range(e,t,r,n,"must be between "+t+" and "+r))},moduloLikeSass0(e,t){var r;return e==1/0||e==-1/0?NaN:t==1/0||t==-1/0?A.DoubleWithSignedZero_get_signIncludingZero0(e)===w.get$sign$in(t)?e:NaN:t>0?C.JSNumber_methods.$mod(e,t):0===t?NaN:0===(r=C.JSNumber_methods.$mod(e,t))?0:r+t},sqrt0:e=>(e.assertNoUnits$1("number"),A.SassNumber_SassNumber0(Math.sqrt(e._number1$_value),null)),sin0:e=>A.SassNumber_SassNumber0(Math.sin(e.coerceValueToUnit$2("rad","number")),null),cos0:e=>A.SassNumber_SassNumber0(Math.cos(e.coerceValueToUnit$2("rad","number")),null),tan0:e=>A.SassNumber_SassNumber0(Math.tan(e.coerceValueToUnit$2("rad","number")),null),atan0:e=>(e.assertNoUnits$1("number"),A.SassNumber_SassNumber$withUnits0(57.29577951308232*Math.atan(e._number1$_value),null,A._setArrayType(["deg"],D.JSArray_String))),asin0:e=>(e.assertNoUnits$1("number"),A.SassNumber_SassNumber$withUnits0(57.29577951308232*Math.asin(e._number1$_value),null,A._setArrayType(["deg"],D.JSArray_String))),acos0:e=>(e.assertNoUnits$1("number"),A.SassNumber_SassNumber$withUnits0(57.29577951308232*Math.acos(e._number1$_value),null,A._setArrayType(["deg"],D.JSArray_String))),log0:(e,t)=>null!=t?A.SassNumber_SassNumber0(Math.log(e._number1$_value)/Math.log(t._number1$_value),null):A.SassNumber_SassNumber0(Math.log(e._number1$_value),null),pow1:(e,t)=>(e.assertNoUnits$1("base"),t.assertNoUnits$1("exponent"),A.SassNumber_SassNumber0(Math.pow(e._number1$_value,t._number1$_value),null)),DoubleWithSignedZero_get_signIncludingZero0:e=>-0===e?-1:0===e?1:w.get$sign$in(e),main1:e=>A.main$body(e),main$body(e){var t,r,i,o,s,a,l,c,u,d,h=0,p=A._makeAsyncAwaitCompleter(D.void),m=2,_=[],g=A._wrapJsFunctionForAsync(function(f,v){for(1===f&&(_.push(v),h=m);;)switch(h){case 0:if(e.length>=1&&"--embedded"===e[0]){A.main0(C.JSArray_methods.sublist$1(e,1)),h=1;break}t=null,m=4,t=A.ExecutableOptions_ExecutableOptions$parse(e),c=t._options,I._glyphs=(c.wasParsed$1("unicode")?A._asBool(c.$index(0,"unicode")):I._glyphs!==C.C_AsciiGlyphSet)?C.C_UnicodeGlyphSet:C.C_AsciiGlyphSet,h=A._asBool(t._options.$index(0,"version"))?7:8;break;case 7:return d=A,h=9,A._asyncAwait(A._loadVersion(),g);case 9:d.print(v),null!=(r=A.isNodeJs()?n.process:null)&&w.set$exitCode$x(r,0),h=1;break;case 8:h=t.get$interactive()?10:11;break;case 10:return h=12,A._asyncAwait(A.repl(t),g);case 12:case 15:h=1;break;case 11:t.get$silenceDeprecations(0),t.get$futureDeprecations(0),t.get$fatalDeprecations(0),c=A.List_List$_of(t.get$pkgImporters(),D.Importer_2),r=c,w.add$1$ax(r,I.$get$FilesystemImporter_noLoadPath()),c=D.Uri,i=new A.StylesheetGraph(A.LinkedHashMap_LinkedHashMap$_empty(c,D.StylesheetNode),A.ImportCache$(r,D.List_String._as(t._options.$index(0,"load-path"))),A.LinkedHashMap_LinkedHashMap$_empty(c,D.DateTime)),h=A._asBool(t._options.$index(0,"watch"))?13:14;break;case 13:return h=15,A._asyncAwait(A.watch(t,i),g);case 14:return r=t,(c=t)._ensureSources$0(),(c=c._sourcesToDestinations).toString,h=16,A._asyncAwait(A.compileStylesheets(r,i,c,A._asBool(t._options.$index(0,"update"))),g);case 16:m=2,h=6;break;case 4:m=3,u=_.pop(),(r=A.unwrapException(u))instanceof A.UsageException?(o=r,A.print(o.message+"\n"),A.print("Usage: sass <input.scss> [output.css]\n       sass <input.scss>:<output.css> <input/>:<output/> <dir/>\n"),r=I.$get$ExecutableOptions__parser(),A.print(new A._Usage(r._optionsAndSeparators,new A.StringBuffer(""),r.usageLineLength).generate$0()),null!=(r=A.isNodeJs()?n.process:null)&&w.set$exitCode$x(r,64)):(s=r,a=A.getTraceFromException(u),l=new A.StringBuffer(""),!0===(r=null==(r=t)?null:r.get$color())&&(l._contents+=""),l._contents+="Unexpected exception:",!0===(r=null==(r=t)?null:r.get$color())&&(l._contents+=""),l._contents+="\n",r=l,c=A.S(s)+"\n",r._contents+=c,l._contents+="\n",l._contents+="\n",c=l,r=A.getTrace(s),r=C.JSString_methods.trimRight$0(A.Trace_Trace$from(null==r?a:r).get$terse().toString$0(0)),c._contents+=r,A.printError(l),null!=(r=A.isNodeJs()?n.process:null)&&w.set$exitCode$x(r,255)),h=6;break;case 3:h=2;break;case 6:case 1:return A._asyncReturn(undefined,p);case 2:return A._asyncRethrow(_.at(-1),p)}});return A._asyncStartSync(g,p)},_loadVersion(){var e,t=0,r=A._makeAsyncAwaitCompleter(D.String),n=A._wrapJsFunctionForAsync(function(n,i){if(1===n)return A._asyncRethrow(i,r);for(;;)switch(t){case 0:e="1.99.0 compiled with dart2js 3.11.4",t=1;break;case 1:return A._asyncReturn(e,r)}});return A._asyncStartSync(n,r)},SpanExtensions_trimLeft0(e){for(var t,r=0;32===(t=e.get$text().charCodeAt(r))||9===t||10===t||13===t||12===t;)++r;return A.FileSpanExtension_subspan(e,r,null)},SpanExtensions_trimRight0(e){for(var t,r=e.get$text().length-1;32===(t=e.get$text().charCodeAt(r))||9===t||10===t||13===t||12===t;)--r;return A.FileSpanExtension_subspan(e,0,r+1)},SpanExtensions_initialIdentifier0(e){var t=A.StringScanner$(e.get$text(),null,null);return A._scanIdentifier0(t),A.FileSpanExtension_subspan(e,0,t._string_scanner$_position)},SpanExtensions_between(e,t){if(!w.$eq$(e.get$sourceUrl(e),t.get$sourceUrl(t)))throw A.wrapException(A.ArgumentError$(e.toString$0(0)+" and "+t.toString$0(0)+" are in different files.",null));if(e.get$end(e).offset>t.get$start(t).offset)throw A.wrapException(A.ArgumentError$(e.toString$0(0)+" isn't before "+t.toString$0(0)+".",null));return e.get$file(e).span$2(0,e.get$end(e).offset,t.get$start(t).offset)},SpanExtensions_before(e,t){if(!w.$eq$(e.get$sourceUrl(e),t.get$sourceUrl(t)))throw A.wrapException(A.ArgumentError$(e.toString$0(0)+" and "+t.toString$0(0)+" are in different files.",null));if(t.get$start(t).offset<e.get$start(e).offset||t.get$end(t).offset>e.get$end(e).offset)throw A.wrapException(A.ArgumentError$(t.toString$0(0)+" isn't inside "+e.toString$0(0)+".",null));return e.get$file(e).span$2(0,e.get$start(e).offset,t.get$start(t).offset)},SpanExtensions_after(e,t){if(!w.$eq$(e.get$sourceUrl(e),t.get$sourceUrl(t)))throw A.wrapException(A.ArgumentError$(e.toString$0(0)+" and "+t.toString$0(0)+" are in different files.",null));if(t.get$start(t).offset<e.get$start(e).offset||t.get$end(t).offset>e.get$end(e).offset)throw A.wrapException(A.ArgumentError$(t.toString$0(0)+" isn't inside "+e.toString$0(0)+".",null));return e.get$file(e).span$2(0,t.get$end(t).offset,e.get$end(e).offset)},_scanIdentifier0(e){var t,r;for(t=e.string.length;e._string_scanner$_position!==t;)if(92!==(r=e.peekChar$0())){if(!(!!A._isInt(r)&&(!!(95===r||(r>=97&&r<=122||r>=65&&r<=90||r>=128))||(r>=48&&r<=57||45===r))))break;e.readChar$0()}else A.consumeEscapedCharacter0(e)},validateUrlScheme(e){I.$get$_urlSchemeRegExp()._nativeRegExp.test(e)||A.jsThrow(new n.Error('"'+e+'" isn\'t a valid URL scheme (for example "file").'))},hueToRgb0:(e,t,r)=>(r<0&&++r,r>1&&--r,r<.16666666666666666?e+(t-e)*r*6:r<.5?t:r<.6666666666666666?e+(t-e)*(.6666666666666666-r)*6:e),srgbAndDisplayP3ToLinear0(e){var t=Math.abs(e);return t<=.04045?e/12.92:w.get$sign$in(e)*Math.pow((t+.055)/1.055,2.4)},srgbAndDisplayP3FromLinear0(e){var t=Math.abs(e);return t<=.0031308?12.92*e:w.get$sign$in(e)*(1.055*Math.pow(t,.4166666666666667)-.055)},labToLch0(e,t,r,n,i,o,s){var a,l,c,u,d=null==r,h=d?0:r;return h=Math.pow(h,2),l=(a=null==n)?0:n,c=Math.sqrt(h+Math.pow(l,2)),s||A.fuzzyEquals0(c,0)?u=null:(h=a?0:n,d=d?0:r,u=180*Math.atan2(h,d)/3.141592653589793),d=o?null:c,A.SassColor_SassColor$forSpaceInternal0(e,t,d,null==u||u>=0?u:u+360,i)},unwrapValue(e){var t;if(null!=e){if(e instanceof A.Value0)return e;if(null!=(t=e.dartValue)&&t instanceof A.Value0)return t;if(e instanceof n.Error)throw A.wrapException(e)}throw A.wrapException(A.S(e)+" must be a Sass value type.")},wrapValue:e=>e instanceof A.SassColor0?A.callConstructor(I.$get$legacyColorClass(),[null,null,null,null,e]):e instanceof A.SassList0?A.callConstructor(I.$get$legacyListClass(),[null,null,e]):e instanceof A.SassMap0?A.callConstructor(I.$get$legacyMapClass(),[null,e]):e instanceof A.SassNumber0?A.callConstructor(I.$get$legacyNumberClass(),[null,null,e]):e instanceof A.SassString0?A.callConstructor(I.$get$legacyStringClass(),[null,e]):e},C={},E=[A,w,C],I={};A.JS_CONST.prototype={},w.Interceptor.prototype={$eq:(e,t)=>e===t,get$hashCode:e=>A.Primitives_objectHashCode(e),toString$0:e=>"Instance of '"+A.Primitives_objectTypeName(e)+"'",noSuchMethod$1(e,t){throw A.wrapException(A.NoSuchMethodError_NoSuchMethodError$withInvocation(e,t))},get$runtimeType(e){return A.createRuntimeType(A._instanceTypeFromConstructor(this))}},w.JSBool.prototype={toString$0:e=>String(e),$or:(e,t)=>t||e,get$hashCode:e=>e?519018:218159,get$runtimeType:e=>A.createRuntimeType(D.bool),$isTrustedGetRuntimeType:1,$isbool:1},w.JSNull.prototype={$eq:(e,t)=>null==t,toString$0:e=>"null",get$hashCode:e=>0,get$runtimeType:e=>A.createRuntimeType(D.Null),$isTrustedGetRuntimeType:1,$isNull:1},w.JavaScriptObject.prototype={$isJSObject:1},w.LegacyJavaScriptObject.prototype={get$hashCode:e=>0,toString$0:e=>String(e),$isPromise:1,$isJsSystemError:1,$isImmutableList:1,$is_ConstructionOptions:1,$is_ChannelOptions:1,$is_ToGamutOptions:1,$is_InterpolationOptions:1,$is_NodeSassColor:1,$isCompileOptions:1,$isCompileStringOptions:1,$isNodeCompileResult:1,$isDeprecation1:1,$is_NodeException:1,$isJSExpressionVisitorObject:1,$isFiber:1,$isJSFunction0:1,$isJSIfConditionExpressionVisitorObject:1,$isImmutableList0:1,$isImmutableMap0:1,$isJSImporter:1,$isJSImporterResult:1,$isNodeImporterResult0:1,$is_ConstructorOptions:1,$is_NodeSassList:1,$isWarnOptions:1,$isDebugOptions:1,$is_NodeSassMap:1,$is_ConstructorOptions0:1,$is_NodeSassNumber:1,$isParserExports:1,$isJSClass0:1,$isRenderContextOptions0:1,$isRenderOptions:1,$isRenderResult:1,$isJSSet:1,$isJSSimpleSelectorVisitorObject:1,$isJSStatementVisitorObject:1,$is_ConstructorOptions1:1,$is_NodeSassString:1,$isJSUrl0:1,get$isTTY:e=>e.isTTY,get$write:e=>e.write,write$1:(e,t)=>e.write(t),createInterface$1:(e,t)=>e.createInterface(t),on$2:(e,t,r)=>e.on(t,r),get$close:e=>e.close,close$0:e=>e.close(),setPrompt$1:(e,t)=>e.setPrompt(t),get$length:e=>e.length,toString$0:e=>e.toString(),get$debug:e=>e.debug,debug$2:(e,t,r)=>e.debug(t,r),get$error:e=>e.error,error$1:(e,t)=>e.error(t),error$2:(e,t,r)=>e.error(t,r),log$1:(e,t)=>e.log(t),get$warn:e=>e.warn,warn$1:(e,t)=>e.warn(t),warn$2:(e,t,r)=>e.warn(t,r),existsSync$1:(e,t)=>e.existsSync(t),lstatSync$1:(e,t)=>e.lstatSync(t),mkdirSync$1:(e,t)=>e.mkdirSync(t),readdirSync$1:(e,t)=>e.readdirSync(t),readFileSync$2:(e,t,r)=>e.readFileSync(t,r),get$realpathSync:e=>e.realpathSync,statSync$1:(e,t)=>e.statSync(t),unlinkSync$1:(e,t)=>e.unlinkSync(t),watch$2:(e,t,r)=>e.watch(t,r),writeFileSync$2:(e,t,r)=>e.writeFileSync(t,r),call$1:(e,t)=>e.call(t),call$2:(e,t,r)=>e.call(t,r),call$3$1:(e,t)=>e.call(t),call$2$1:(e,t)=>e.call(t),call$1$1:(e,t)=>e.call(t),call$3:(e,t,r,n)=>e.call(t,r,n),call$3$3:(e,t,r,n)=>e.call(t,r,n),call$2$2:(e,t,r)=>e.call(t,r),call$1$2:(e,t,r)=>e.call(t,r),call$2$3:(e,t,r,n)=>e.call(t,r,n),native$1:(e,t)=>e.native(t),get$path:e=>e.path,isDirectory$0:e=>e.isDirectory(),isFile$0:e=>e.isFile(),isSymbolicLink$0:e=>e.isSymbolicLink(),get$mtime:e=>e.mtime,then$2:(e,t,r)=>e.then(t,r),then$1$1:(e,t)=>e.then(t),getTime$0:e=>e.getTime(),get$message:e=>e.message,message$1:(e,t)=>e.message(t),get$filename:e=>e.filename,get$id:e=>e.id,get$code:e=>e.code,get$syscall:e=>e.syscall,get$argv:e=>e.argv,get$env:e=>e.env,get$exitCode:e=>e.exitCode,set$exitCode:(e,t)=>e.exitCode=t,get$platform:e=>e.platform,get$release:e=>e.release,get$stderr:e=>e.stderr,get$stdin:e=>e.stdin,get$stdout:e=>e.stdout,get$name:e=>e.name,push$1:(e,t)=>e.push(t),call$0:e=>e.call(),call$2$0:e=>e.call(),call$1$0:e=>e.call(),apply$2:(e,t,r)=>e.apply(t,r),toArray$0:e=>e.toArray(),asMutable$0:e=>e.asMutable(),asImmutable$0:e=>e.asImmutable(),$set$2:(e,t,r)=>e.set(t,r),forEach$1:(e,t)=>e.forEach(t),get$file:e=>e.file,get$contents:e=>e.contents,get$options:e=>e.options,get$data:e=>e.data,get$includePaths:e=>e.includePaths,get$style:e=>e.style,get$indentType:e=>e.indentType,get$indentWidth:e=>e.indentWidth,get$linefeed:e=>e.linefeed,set$context:(e,t)=>e.context=t,createRequire$1:(e,t)=>e.createRequire(t),resolve$1:(e,t)=>e.resolve(t),get$$prototype:e=>e.prototype,get$red:e=>e.red,get$green:e=>e.green,get$blue:e=>e.blue,get$hue:e=>e.hue,get$saturation:e=>e.saturation,get$lightness:e=>e.lightness,get$whiteness:e=>e.whiteness,get$blackness:e=>e.blackness,get$alpha:e=>e.alpha,get$a:e=>e.a,get$b:e=>e.b,get$x:e=>e.x,get$y:e=>e.y,get$z:e=>e.z,get$chroma:e=>e.chroma,get$space:e=>e.space,get$method:e=>e.method,get$weight:e=>e.weight,get$dartValue:e=>e.dartValue,set$dartValue:(e,t)=>e.dartValue=t,get$alertAscii:e=>e.alertAscii,get$alertColor:e=>e.alertColor,get$loadPaths:e=>e.loadPaths,get$quietDeps:e=>e.quietDeps,get$verbose:e=>e.verbose,get$charset:e=>e.charset,get$sourceMap:e=>e.sourceMap,get$sourceMapIncludeSources:e=>e.sourceMapIncludeSources,get$logger:e=>e.logger,get$importers:e=>e.importers,get$functions:e=>e.functions,get$fatalDeprecations:e=>e.fatalDeprecations,get$silenceDeprecations:e=>e.silenceDeprecations,get$futureDeprecations:e=>e.futureDeprecations,get$syntax:e=>e.syntax,get$url:e=>e.url,get$importer:e=>e.importer,get$_dartException:e=>e._dartException,set$renderSync:(e,t)=>e.renderSync=t,set$compileString:(e,t)=>e.compileString=t,set$compileStringAsync:(e,t)=>e.compileStringAsync=t,set$compile:(e,t)=>e.compile=t,set$compileAsync:(e,t)=>e.compileAsync=t,set$initCompiler:(e,t)=>e.initCompiler=t,set$initAsyncCompiler:(e,t)=>e.initAsyncCompiler=t,set$Compiler:(e,t)=>e.Compiler=t,set$AsyncCompiler:(e,t)=>e.AsyncCompiler=t,set$info:(e,t)=>e.info=t,set$Exception:(e,t)=>e.Exception=t,set$Logger:(e,t)=>e.Logger=t,set$NodePackageImporter:(e,t)=>e.NodePackageImporter=t,set$deprecations:(e,t)=>e.deprecations=t,set$Version:(e,t)=>e.Version=t,set$Value:(e,t)=>e.Value=t,set$SassArgumentList:(e,t)=>e.SassArgumentList=t,set$SassCalculation:(e,t)=>e.SassCalculation=t,set$CalculationOperation:(e,t)=>e.CalculationOperation=t,set$CalculationInterpolation:(e,t)=>e.CalculationInterpolation=t,set$SassBoolean:(e,t)=>e.SassBoolean=t,set$SassColor:(e,t)=>e.SassColor=t,set$SassFunction:(e,t)=>e.SassFunction=t,set$SassMixin:(e,t)=>e.SassMixin=t,set$SassList:(e,t)=>e.SassList=t,set$SassMap:(e,t)=>e.SassMap=t,set$SassNumber:(e,t)=>e.SassNumber=t,set$SassString:(e,t)=>e.SassString=t,set$sassNull:(e,t)=>e.sassNull=t,set$sassTrue:(e,t)=>e.sassTrue=t,set$sassFalse:(e,t)=>e.sassFalse=t,set$render:(e,t)=>e.render=t,set$types:(e,t)=>e.types=t,set$NULL:(e,t)=>e.NULL=t,set$TRUE:(e,t)=>e.TRUE=t,set$FALSE:(e,t)=>e.FALSE=t,set$loadParserExports_:(e,t)=>e.loadParserExports_=t,visitBinaryOperationExpression$1:(e,t)=>e.visitBinaryOperationExpression(t),visitBooleanExpression$1:(e,t)=>e.visitBooleanExpression(t),visitColorExpression$1:(e,t)=>e.visitColorExpression(t),visitInterpolatedFunctionExpression$1:(e,t)=>e.visitInterpolatedFunctionExpression(t),visitFunctionExpression$1:(e,t)=>e.visitFunctionExpression(t),visitIfExpression$1:(e,t)=>e.visitIfExpression(t),visitLegacyIfExpression$1:(e,t)=>e.visitLegacyIfExpression(t),visitListExpression$1:(e,t)=>e.visitListExpression(t),visitMapExpression$1:(e,t)=>e.visitMapExpression(t),visitNullExpression$1:(e,t)=>e.visitNullExpression(t),visitNumberExpression$1:(e,t)=>e.visitNumberExpression(t),visitParenthesizedExpression$1:(e,t)=>e.visitParenthesizedExpression(t),visitSelectorExpression$1:(e,t)=>e.visitSelectorExpression(t),visitStringExpression$1:(e,t)=>e.visitStringExpression(t),visitSupportsExpression$1:(e,t)=>e.visitSupportsExpression(t),visitUnaryOperationExpression$1:(e,t)=>e.visitUnaryOperationExpression(t),visitValueExpression$1:(e,t)=>e.visitValueExpression(t),visitVariableExpression$1:(e,t)=>e.visitVariableExpression(t),get$current:e=>e.current,yield$0:e=>e.yield(),run$1$1:(e,t)=>e.run(t),run$1:(e,t)=>e.run(t),run$0:e=>e.run(),visitIfConditionParenthesized$1:(e,t)=>e.visitIfConditionParenthesized(t),visitIfConditionNegation$1:(e,t)=>e.visitIfConditionNegation(t),visitIfConditionOperation$1:(e,t)=>e.visitIfConditionOperation(t),visitIfConditionFunction$1:(e,t)=>e.visitIfConditionFunction(t),visitIfConditionSass$1:(e,t)=>e.visitIfConditionSass(t),visitIfConditionRaw$1:(e,t)=>e.visitIfConditionRaw(t),get$canonicalize:e=>e.canonicalize,canonicalize$1:(e,t)=>e.canonicalize(t),get$load:e=>e.load,load$1:(e,t)=>e.load(t),get$findFileUrl:e=>e.findFileUrl,get$nonCanonicalScheme:e=>e.nonCanonicalScheme,get$sourceMapUrl:e=>e.sourceMapUrl,get$separator:e=>e.separator,get$brackets:e=>e.brackets,get$span:e=>e.span,span$1:(e,t)=>e.span(t),get$numeratorUnits:e=>e.numeratorUnits,get$denominatorUnits:e=>e.denominatorUnits,get$pkgImporter:e=>e.pkgImporter,get$indentedSyntax:e=>e.indentedSyntax,get$omitSourceMapUrl:e=>e.omitSourceMapUrl,get$outFile:e=>e.outFile,get$outputStyle:e=>e.outputStyle,get$fiber:e=>e.fiber,get$sourceMapContents:e=>e.sourceMapContents,get$sourceMapEmbed:e=>e.sourceMapEmbed,get$sourceMapRoot:e=>e.sourceMapRoot,set$cli_pkg_main_0_:(e,t)=>e.cli_pkg_main_0_=t,visitAttributeSelector$1:(e,t)=>e.visitAttributeSelector(t),visitClassSelector$1:(e,t)=>e.visitClassSelector(t),visitIDSelector$1:(e,t)=>e.visitIDSelector(t),visitParentSelector$1:(e,t)=>e.visitParentSelector(t),visitPlaceholderSelector$1:(e,t)=>e.visitPlaceholderSelector(t),visitPseudoSelector$1:(e,t)=>e.visitPseudoSelector(t),visitTypeSelector$1:(e,t)=>e.visitTypeSelector(t),visitUniversalSelector$1:(e,t)=>e.visitUniversalSelector(t),visitAtRootRule$1:(e,t)=>e.visitAtRootRule(t),visitAtRule$1:(e,t)=>e.visitAtRule(t),get$visitContentBlock:e=>e.visitContentBlock,visitContentBlock$1:(e,t)=>e.visitContentBlock(t),visitContentRule$1:(e,t)=>e.visitContentRule(t),visitDebugRule$1:(e,t)=>e.visitDebugRule(t),visitDeclaration$1:(e,t)=>e.visitDeclaration(t),visitEachRule$1:(e,t)=>e.visitEachRule(t),visitErrorRule$1:(e,t)=>e.visitErrorRule(t),visitExtendRule$1:(e,t)=>e.visitExtendRule(t),visitForRule$1:(e,t)=>e.visitForRule(t),visitForwardRule$1:(e,t)=>e.visitForwardRule(t),visitFunctionRule$1:(e,t)=>e.visitFunctionRule(t),visitIfRule$1:(e,t)=>e.visitIfRule(t),visitImportRule$1:(e,t)=>e.visitImportRule(t),visitIncludeRule$1:(e,t)=>e.visitIncludeRule(t),visitLoudComment$1:(e,t)=>e.visitLoudComment(t),visitMediaRule$1:(e,t)=>e.visitMediaRule(t),visitMixinRule$1:(e,t)=>e.visitMixinRule(t),visitReturnRule$1:(e,t)=>e.visitReturnRule(t),visitSilentComment$1:(e,t)=>e.visitSilentComment(t),visitStyleRule$1:(e,t)=>e.visitStyleRule(t),visitStylesheet$1:(e,t)=>e.visitStylesheet(t),visitSupportsRule$1:(e,t)=>e.visitSupportsRule(t),visitUseRule$1:(e,t)=>e.visitUseRule(t),visitVariableDeclaration$1:(e,t)=>e.visitVariableDeclaration(t),visitWarnRule$1:(e,t)=>e.visitWarnRule(t),visitWhileRule$1:(e,t)=>e.visitWhileRule(t),get$quotes:e=>e.quotes},w.PlainJavaScriptObject.prototype={},w.UnknownJavaScriptObject.prototype={},w.JavaScriptFunction.prototype={toString$0(e){var t=e[I.$get$DART_CLOSURE_PROPERTY_NAME()];return null==t?this.super$LegacyJavaScriptObject$toString(e):"JavaScript function for "+A.S(w.toString$0$(t))},$isFunction:1},w.JavaScriptBigInt.prototype={get$hashCode:e=>0,toString$0:e=>String(e)},w.JavaScriptSymbol.prototype={get$hashCode:e=>0,toString$0:e=>String(e)},w.JSArray.prototype={cast$1$0:(e,t)=>new A.CastList(e,A._arrayInstanceType(e)._eval$1("@<1>")._bind$1(t)._eval$1("CastList<1,2>")),add$1(e,t){1&e.$flags&&A.throwUnsupportedOperation(e,29),e.push(t)},removeAt$1(e,t){if(1&e.$flags&&A.throwUnsupportedOperation(e,"removeAt",1),t>=e.length)throw A.wrapException(A.RangeError$value(t,null,null));return e.splice(t,1)[0]},insert$2(e,t,r){if(1&e.$flags&&A.throwUnsupportedOperation(e,"insert",2),t>e.length)throw A.wrapException(A.RangeError$value(t,null,null));e.splice(t,0,r)},insertAll$2(e,t,r){var n,i;1&e.$flags&&A.throwUnsupportedOperation(e,"insertAll",2),A.RangeError_checkValueInInterval(t,0,e.length,"index"),D.EfficientLengthIterable_dynamic._is(r)||(r=w.toList$0$ax(r)),n=w.get$length$asx(r),e.length=e.length+n,i=t+n,this.setRange$4(e,i,e.length,e,t),this.setRange$3(e,t,i,r)},removeLast$0(e){if(1&e.$flags&&A.throwUnsupportedOperation(e,"removeLast",1),0===e.length)throw A.wrapException(A.diagnoseIndexError(e,-1));return e.pop()},_removeWhere$2(e,t,r){var n,i,o,s=[],a=e.length;for(n=0;n<a;++n)if(i=e[n],t.call$1(i)||s.push(i),e.length!==a)throw A.wrapException(A.ConcurrentModificationError$(e));if((o=s.length)!==a)for(this.set$length(e,o),n=0;n<s.length;++n)e[n]=s[n]},where$1:(e,t)=>new A.WhereIterable(e,t,A._arrayInstanceType(e)._eval$1("WhereIterable<1>")),expand$1$1:(e,t,r)=>new A.ExpandIterable(e,t,A._arrayInstanceType(e)._eval$1("@<1>")._bind$1(r)._eval$1("ExpandIterable<1,2>")),addAll$1(e,t){var r;if(1&e.$flags&&A.throwUnsupportedOperation(e,"addAll",2),Array.isArray(t))this._addAllFromArray$1(e,t);else for(r=w.get$iterator$ax(t);r.moveNext$0();)e.push(r.get$current(r))},_addAllFromArray$1(e,t){var r,n=t.length;if(0!==n){if(e===t)throw A.wrapException(A.ConcurrentModificationError$(e));for(r=0;r<n;++r)e.push(t[r])}},clear$0(e){1&e.$flags&&A.throwUnsupportedOperation(e,"clear","clear"),e.length=0},forEach$1(e,t){var r,n=e.length;for(r=0;r<n;++r)if(t.call$1(e[r]),e.length!==n)throw A.wrapException(A.ConcurrentModificationError$(e))},map$1$1:(e,t,r)=>new A.MappedListIterable(e,t,A._arrayInstanceType(e)._eval$1("@<1>")._bind$1(r)._eval$1("MappedListIterable<1,2>")),join$1(e,t){var r,n=A.List_List$filled(e.length,"",!1,D.String);for(r=0;r<e.length;++r)n[r]=A.S(e[r]);return n.join(t)},join$0(e){return this.join$1(e,"")},take$1:(e,t)=>A.SubListIterable$(e,0,A.checkNotNullable(t,"count",D.int),A._arrayInstanceType(e)._precomputed1),skip$1:(e,t)=>A.SubListIterable$(e,t,null,A._arrayInstanceType(e)._precomputed1),fold$1$2(e,t,r){var n,i,o=e.length;for(n=t,i=0;i<o;++i)if(n=r.call$2(n,e[i]),e.length!==o)throw A.wrapException(A.ConcurrentModificationError$(e));return n},fold$2(e,t,r){return this.fold$1$2(e,t,r,D.dynamic)},firstWhere$1(e,t){var r,n,i=e.length;for(r=0;r<i;++r){if(n=e[r],t.call$1(n))return n;if(e.length!==i)throw A.wrapException(A.ConcurrentModificationError$(e))}throw A.wrapException(A.IterableElementError_noElement())},elementAt$1:(e,t)=>e[t],sublist$2(e,t,r){var n=e.length;if(t>n)throw A.wrapException(A.RangeError$range(t,0,n,"start",null));if(null==r)r=n;else if(r<t||r>n)throw A.wrapException(A.RangeError$range(r,t,n,"end",null));return t===r?A._setArrayType([],A._arrayInstanceType(e)):A._setArrayType(e.slice(t,r),A._arrayInstanceType(e))},sublist$1(e,t){return this.sublist$2(e,t,null)},getRange$2:(e,t,r)=>(A.RangeError_checkValidRange(t,r,e.length),A.SubListIterable$(e,t,r,A._arrayInstanceType(e)._precomputed1)),get$first(e){if(e.length>0)return e[0];throw A.wrapException(A.IterableElementError_noElement())},get$last(e){var t=e.length;if(t>0)return e[t-1];throw A.wrapException(A.IterableElementError_noElement())},get$single(e){var t=e.length;if(1===t)return e[0];if(0===t)throw A.wrapException(A.IterableElementError_noElement());throw A.wrapException(A.IterableElementError_tooMany())},removeRange$2(e,t,r){1&e.$flags&&A.throwUnsupportedOperation(e,18),A.RangeError_checkValidRange(t,r,e.length),e.splice(t,r-t)},setRange$4(e,t,r,n,i){var o,s,a,l,c;if(2&e.$flags&&A.throwUnsupportedOperation(e,5),A.RangeError_checkValidRange(t,r,e.length),0!==(o=r-t)){if(A.RangeError_checkNotNegative(i,"skipCount"),D.List_dynamic._is(n)?(s=n,a=i):(s=w.skip$1$ax(n,i).toList$1$growable(0,!1),a=0),a+o>(l=w.getInterceptor$asx(s)).get$length(s))throw A.wrapException(A.IterableElementError_tooFew());if(a<t)for(c=o-1;c>=0;--c)e[t+c]=l.$index(s,a+c);else for(c=0;c<o;++c)e[t+c]=l.$index(s,a+c)}},setRange$3(e,t,r,n){return this.setRange$4(e,t,r,n,0)},fillRange$3(e,t,r,n){var i;for(2&e.$flags&&A.throwUnsupportedOperation(e,"fillRange"),A.RangeError_checkValidRange(t,r,e.length),A._arrayInstanceType(e)._precomputed1._as(n),i=t;i<r;++i)e[i]=n},any$1(e,t){var r,n=e.length;for(r=0;r<n;++r){if(t.call$1(e[r]))return!0;if(e.length!==n)throw A.wrapException(A.ConcurrentModificationError$(e))}return!1},every$1(e,t){var r,n=e.length;for(r=0;r<n;++r){if(!t.call$1(e[r]))return!1;if(e.length!==n)throw A.wrapException(A.ConcurrentModificationError$(e))}return!0},get$reversed:e=>new A.ReversedListIterable(e,A._arrayInstanceType(e)._eval$1("ReversedListIterable<1>")),sort$1(e,t){var r,n,i,o,s;if(2&e.$flags&&A.throwUnsupportedOperation(e,"sort"),!((r=e.length)<2)){if(null==t&&(t=w._interceptors_JSArray__compareAny$closure()),2===r)return n=e[0],i=e[1],void(t.call$2(n,i)>0&&(e[0]=i,e[1]=n));if(o=0,A._arrayInstanceType(e)._precomputed1._is(null))for(s=0;s<e.length;++s)void 0===e[s]&&(e[s]=null,++o);e.sort(A.convertDartClosureToJS(t,2)),o>0&&this._replaceSomeNullsWithUndefined$1(e,o)}},sort$0(e){return this.sort$1(e,null)},_replaceSomeNullsWithUndefined$1(e,t){for(var r,n=e.length;(r=n-1,n>0)&&(null!==e[r]||(e[r]=void 0,0!==--t));n=r);},indexOf$1(e,t){var r,n=e.length;if(0>=n)return-1;for(r=0;r<n;++r)if(w.$eq$(e[r],t))return r;return-1},contains$1(e,t){var r;for(r=0;r<e.length;++r)if(w.$eq$(e[r],t))return!0;return!1},get$isEmpty:e=>0===e.length,get$isNotEmpty:e=>0!==e.length,toString$0:e=>A.Iterable_iterableToFullString(e,"[","]"),toList$1$growable:(e,t)=>A._setArrayType(e.slice(0),A._arrayInstanceType(e)),toList$0(e){return this.toList$1$growable(e,!0)},toSet$0:e=>A.LinkedHashSet_LinkedHashSet$from(e,A._arrayInstanceType(e)._precomputed1),get$iterator:e=>new w.ArrayIterator(e,e.length,A._arrayInstanceType(e)._eval$1("ArrayIterator<1>")),get$hashCode:e=>A.Primitives_objectHashCode(e),get$length:e=>e.length,set$length(e,t){if(1&e.$flags&&A.throwUnsupportedOperation(e,"set length","change the length of"),t<0)throw A.wrapException(A.RangeError$range(t,0,null,"newLength",null));t>e.length&&A._arrayInstanceType(e)._precomputed1._as(null),e.length=t},$index(e,t){if(!(t>=0&&t<e.length))throw A.wrapException(A.diagnoseIndexError(e,t));return e[t]},$indexSet(e,t,r){if(2&e.$flags&&A.throwUnsupportedOperation(e),!(t>=0&&t<e.length))throw A.wrapException(A.diagnoseIndexError(e,t));e[t]=r},$add(e,t){var r=A.List_List$_of(e,A._arrayInstanceType(e)._precomputed1);return this.addAll$1(r,t),r},indexWhere$1(e,t){var r;if(0>=e.length)return-1;for(r=0;r<e.length;++r)if(t.call$1(e[r]))return r;return-1},$isEfficientLengthIterable:1,$isIterable:1,$isList:1},w.JSArraySafeToStringHook.prototype={tryFormat$1(e){var t,r,n;return Array.isArray(e)?(r=4&(t=0|e.$flags)?"const, ":2&t?"unmodifiable, ":1&t?"fixed, ":"",n="Instance of '"+A.Primitives_objectTypeName(e)+"'",""===r?n:n+" ("+r+"length: "+e.length+")"):null}},w.JSUnmodifiableArray.prototype={},w.ArrayIterator.prototype={get$current(e){var t=this._current;return null==t?this.$ti._precomputed1._as(t):t},moveNext$0(){var e,t=this,r=t._iterable,n=r.length;if(t._length!==n)throw A.wrapException(A.throwConcurrentModificationError(r));return(e=t._index)>=n?(t._current=null,!1):(t._current=r[e],t._index=e+1,!0)}},w.JSNumber.prototype={compareTo$1(e,t){var r;return e<t?-1:e>t?1:e===t?0===e?(r=this.get$isNegative(t),this.get$isNegative(e)===r?0:this.get$isNegative(e)?-1:1):0:isNaN(e)?isNaN(t)?0:1:-1},get$isNegative:e=>0===e?1/e<0:e<0,get$sign:e=>e>0?1:e<0?-1:e,ceil$0(e){var t,r;if(e>=0){if(e<=2147483647)return e===(t=0|e)?t:t+1}else if(e>=-2147483648)return 0|e;if(r=Math.ceil(e),isFinite(r))return r;throw A.wrapException(A.UnsupportedError$(e+".ceil()"))},floor$0(e){var t,r;if(e>=0){if(e<=2147483647)return 0|e}else if(e>=-2147483648)return e===(t=0|e)?t:t-1;if(r=Math.floor(e),isFinite(r))return r;throw A.wrapException(A.UnsupportedError$(e+".floor()"))},round$0(e){if(e>0){if(e!==1/0)return Math.round(e)}else if(e>-1/0)return 0-Math.round(0-e);throw A.wrapException(A.UnsupportedError$(e+".round()"))},clamp$2(e,t,r){if(this.compareTo$1(t,r)>0)throw A.wrapException(A.argumentErrorValue(t));return this.compareTo$1(e,t)<0?t:this.compareTo$1(e,r)>0?r:e},toRadixString$1(e,t){var r,n,i,o;if(t<2||t>36)throw A.wrapException(A.RangeError$range(t,2,36,"radix",null));return 41!==(r=e.toString(t)).charCodeAt(r.length-1)?r:(null==(n=/^([\da-z]+)(?:\.([\da-z]+))?\(e\+(\d+)\)$/.exec(r))&&A.throwExpression(A.UnsupportedError$("Unexpected toString result: "+r)),r=n[1],i=+n[3],null!=(o=n[2])&&(r+=o,i-=o.length),r+C.JSString_methods.$mul("0",i))},toString$0:e=>0===e&&1/e<0?"-0.0":""+e,get$hashCode(e){var t,r,n,i,o=0|e;return e===o?536870911&o:(t=Math.abs(e),r=Math.log(t)/.6931471805599453|0,n=Math.pow(2,r),599197*((9007199254740992*(i=t<1?t/n:n/t)|0)+(0xc95a6c285a6c9*i|0))+1259*r&536870911)},$mod(e,t){var r=e%t;return 0===r?0:r>0?r:t<0?r-t:r+t},$tdiv(e,t){return(0|e)===e&&(t>=1||t<-1)?e/t|0:this._tdivSlow$1(e,t)},_tdivFast$1(e,t){return(0|e)===e?e/t|0:this._tdivSlow$1(e,t)},_tdivSlow$1(e,t){var r=e/t;if(r>=-2147483648&&r<=2147483647)return 0|r;if(r>0){if(r!==1/0)return Math.floor(r)}else if(r>-1/0)return Math.ceil(r);throw A.wrapException(A.UnsupportedError$("Result of truncating division is "+A.S(r)+": "+A.S(e)+" ~/ "+t))},_shrOtherPositive$1(e,t){return e>0?this._shrBothPositive$1(e,t):e>>(t>31?31:t)>>>0},_shrReceiverPositive$1(e,t){if(0>t)throw A.wrapException(A.argumentErrorValue(t));return this._shrBothPositive$1(e,t)},_shrBothPositive$1:(e,t)=>t>31?0:e>>>t,get$runtimeType:e=>A.createRuntimeType(D.num),$isComparable:1,$isdouble:1,$isnum:1},w.JSInt.prototype={get$sign:e=>e>0?1:e<0?-1:e,get$runtimeType:e=>A.createRuntimeType(D.int),$isTrustedGetRuntimeType:1,$isint:1},w.JSNumNotInt.prototype={get$runtimeType:e=>A.createRuntimeType(D.double),$isTrustedGetRuntimeType:1},w.JSString.prototype={codeUnitAt$1(e,t){if(t<0)throw A.wrapException(A.diagnoseIndexError(e,t));return t>=e.length&&A.throwExpression(A.diagnoseIndexError(e,t)),e.charCodeAt(t)},allMatches$2(e,t,r){var n=t.length;if(r>n)throw A.wrapException(A.RangeError$range(r,0,n,null,null));return new A._StringAllMatchesIterable(t,e,r)},allMatches$1(e,t){return this.allMatches$2(e,t,0)},matchAsPrefix$2(e,t,r){var n,i,o=null;if(r<0||r>t.length)throw A.wrapException(A.RangeError$range(r,0,t.length,o,o));if(r+(n=e.length)>t.length)return o;for(i=0;i<n;++i)if(t.charCodeAt(r+i)!==e.charCodeAt(i))return o;return new A.StringMatch(r,e)},$add:(e,t)=>e+t,endsWith$1(e,t){var r=t.length,n=e.length;return!(r>n)&&t===this.substring$1(e,n-r)},replaceFirst$2:(e,t,r)=>(A.RangeError_checkValueInInterval(0,0,e.length,"startIndex"),A.stringReplaceFirstUnchecked(e,t,r,0)),split$1(e,t){var r;return"string"==typeof t?A._setArrayType(e.split(t),D.JSArray_String):(r=t instanceof A.JSSyntaxRegExp&&!(null==(r=t._hasCapturesCache)?t._hasCapturesCache=t._computeHasCaptures$0():r))?A._setArrayType(e.split(t._nativeRegExp),D.JSArray_String):this._defaultSplit$1(e,t)},replaceRange$3(e,t,r,n){var i=A.RangeError_checkValidRange(t,r,e.length);return A.stringReplaceRangeUnchecked(e,t,i,n)},_defaultSplit$1(e,t){var r,n,i,o,s,a,l=A._setArrayType([],D.JSArray_String);for(r=(r=w.allMatches$1$s(t,e)).get$iterator(r),n=0,i=1;r.moveNext$0();)s=(o=r.get$current(r)).get$start(o),0===(i=(a=o.get$end(o))-s)&&n===s||(l.push(this.substring$2(e,n,s)),n=a);return(n<e.length||i>0)&&l.push(this.substring$1(e,n)),l},startsWith$2(e,t,r){var n;if(r<0||r>e.length)throw A.wrapException(A.RangeError$range(r,0,e.length,null,null));return"string"==typeof t?!((n=r+t.length)>e.length)&&t===e.substring(r,n):null!=w.matchAsPrefix$2$s(t,e,r)},startsWith$1(e,t){return this.startsWith$2(e,t,0)},substring$2:(e,t,r)=>e.substring(t,A.RangeError_checkValidRange(t,r,e.length)),substring$1(e,t){return this.substring$2(e,t,null)},trim$0(e){var t,r,n,i=e.trim(),o=i.length;if(0===o)return i;if(133===i.charCodeAt(0)){if((t=w.JSString__skipLeadingWhitespace(i,1))===o)return""}else t=0;return r=o-1,n=133===i.charCodeAt(r)?w.JSString__skipTrailingWhitespace(i,r):o,0===t&&n===o?i:i.substring(t,n)},trimLeft$0(e){var t=e.trimStart();return 0===t.length||133!==t.charCodeAt(0)?t:t.substring(w.JSString__skipLeadingWhitespace(t,1))},trimRight$0(e){var t,r=e.trimEnd(),n=r.length;return 0===n?r:(t=n-1,133!==r.charCodeAt(t)?r:r.substring(0,w.JSString__skipTrailingWhitespace(r,t)))},$mul(e,t){var r,n;if(0>=t)return"";if(1===t||0===e.length)return e;if(t!==t>>>0)throw A.wrapException(C.C_OutOfMemoryError);for(r=e,n="";1&~t||(n=r+n),0!==(t>>>=1);)r+=r;return n},padLeft$2(e,t,r){var n=t-e.length;return n<=0?e:this.$mul(r,n)+e},padRight$1(e,t){var r=t-e.length;return r<=0?e:e+this.$mul(" ",r)},indexOf$2(e,t,r){if(r<0||r>e.length)throw A.wrapException(A.RangeError$range(r,0,e.length,null,null));return e.indexOf(t,r)},indexOf$1(e,t){return this.indexOf$2(e,t,0)},lastIndexOf$2(e,t,r){var n,i,o;if(null==r)r=e.length;else if(r<0||r>e.length)throw A.wrapException(A.RangeError$range(r,0,e.length,null,null));if("string"==typeof t)return r+(n=t.length)>(i=e.length)&&(r=i-n),e.lastIndexOf(t,r);for(n=w.getInterceptor$s(t),o=r;o>=0;--o)if(null!=n.matchAsPrefix$2(t,e,o))return o;return-1},lastIndexOf$1(e,t){return this.lastIndexOf$2(e,t,null)},contains$2(e,t,r){var n=e.length;if(r>n)throw A.wrapException(A.RangeError$range(r,0,n,null,null));return A.stringContainsUnchecked(e,t,r)},contains$1(e,t){return this.contains$2(e,t,0)},compareTo$1:(e,t)=>e===t?0:e<t?-1:1,toString$0:e=>e,get$hashCode(e){var t,r,n;for(t=e.length,r=0,n=0;n<t;++n)r=(r=r+e.charCodeAt(n)&536870911)+((524287&r)<<10)&536870911,r^=r>>6;return r=r+((67108863&r)<<3)&536870911,(r^=r>>11)+((16383&r)<<15)&536870911},get$runtimeType:e=>A.createRuntimeType(D.String),get$length:e=>e.length,$isTrustedGetRuntimeType:1,$isComparable:1,$isString:1},A._CastIterableBase.prototype={get$iterator(e){return new A.CastIterator(w.get$iterator$ax(this.get$_source()),A._instanceType(this)._eval$1("CastIterator<1,2>"))},get$length(e){return w.get$length$asx(this.get$_source())},get$isEmpty(e){return w.get$isEmpty$asx(this.get$_source())},get$isNotEmpty(e){return w.get$isNotEmpty$asx(this.get$_source())},skip$1(e,t){var r=A._instanceType(this);return A.CastIterable_CastIterable(w.skip$1$ax(this.get$_source(),t),r._precomputed1,r._rest[1])},take$1(e,t){var r=A._instanceType(this);return A.CastIterable_CastIterable(w.take$1$ax(this.get$_source(),t),r._precomputed1,r._rest[1])},elementAt$1(e,t){return A._instanceType(this)._rest[1]._as(w.elementAt$1$ax(this.get$_source(),t))},get$first(e){return A._instanceType(this)._rest[1]._as(w.get$first$ax(this.get$_source()))},get$last(e){return A._instanceType(this)._rest[1]._as(w.get$last$ax(this.get$_source()))},get$single(e){return A._instanceType(this)._rest[1]._as(w.get$single$ax(this.get$_source()))},contains$1(e,t){return w.contains$1$asx(this.get$_source(),t)},toString$0(e){return w.toString$0$(this.get$_source())}},A.CastIterator.prototype={moveNext$0(){return this._source.moveNext$0()},get$current(e){var t=this._source;return this.$ti._rest[1]._as(t.get$current(t))}},A.CastIterable.prototype={get$_source(){return this._source}},A._EfficientLengthCastIterable.prototype={$isEfficientLengthIterable:1},A._CastListBase.prototype={$index(e,t){return this.$ti._rest[1]._as(w.$index$asx(this._source,t))},$indexSet(e,t,r){w.$indexSet$ax(this._source,t,this.$ti._precomputed1._as(r))},set$length(e,t){w.set$length$asx(this._source,t)},add$1(e,t){w.add$1$ax(this._source,this.$ti._precomputed1._as(t))},addAll$1(e,t){var r=this.$ti;w.addAll$1$ax(this._source,A.CastIterable_CastIterable(t,r._rest[1],r._precomputed1))},sort$1(e,t){var r=null==t?null:new A._CastListBase_sort_closure(this,t);w.sort$1$ax(this._source,r)},getRange$2(e,t,r){var n=this.$ti;return A.CastIterable_CastIterable(w.getRange$2$ax(this._source,t,r),n._precomputed1,n._rest[1])},setRange$4(e,t,r,n,i){var o=this.$ti;w.setRange$4$ax(this._source,t,r,A.CastIterable_CastIterable(n,o._rest[1],o._precomputed1),i)},removeRange$2(e,t,r){w.removeRange$2$ax(this._source,t,r)},fillRange$3(e,t,r,n){w.fillRange$3$ax(this._source,t,r,this.$ti._precomputed1._as(n))},$isEfficientLengthIterable:1,$isList:1},A._CastListBase_sort_closure.prototype={call$2(e,t){var r=this.$this.$ti._rest[1];return this.compare.call$2(r._as(e),r._as(t))},$signature(){return this.$this.$ti._eval$1("int(1,1)")}},A.CastList.prototype={cast$1$0(e,t){return new A.CastList(this._source,this.$ti._eval$1("@<1>")._bind$1(t)._eval$1("CastList<1,2>"))},get$_source(){return this._source}},A.CastSet.prototype={add$1(e,t){return this._source.add$1(0,this.$ti._precomputed1._as(t))},addAll$1(e,t){var r=this.$ti;this._source.addAll$1(0,A.CastIterable_CastIterable(t,r._rest[1],r._precomputed1))},difference$1(e){var t=this;return null!=t._emptySet?t._conditionalAdd$2(e,!1):new A.CastSet(t._source.difference$1(e),null,t.$ti)},_conditionalAdd$2(e,t){var r,n,i=this._emptySet,o=this.$ti,s=o._rest[1],a=null==i?A.LinkedHashSet_LinkedHashSet(s):i.call$1$0(s);for(s=(s=this._source).get$iterator(s),r=e._source,o=o._rest[1];s.moveNext$0();)n=o._as(s.get$current(s)),t===r.contains$1(0,n)&&a.add$1(0,n);return a},toSet$0(e){var t=this._emptySet,r=this.$ti._rest[1],n=null==t?A.LinkedHashSet_LinkedHashSet(r):t.call$1$0(r);return n.addAll$1(0,this),n},$isEfficientLengthIterable:1,$isSet:1,get$_source(){return this._source}},A.CastMap.prototype={cast$2$0(e,t,r){return new A.CastMap(this._source,this.$ti._eval$1("@<1,2>")._bind$1(t)._bind$1(r)._eval$1("CastMap<1,2,3,4>"))},containsKey$1(e){return this._source.containsKey$1(e)},$index(e,t){return this.$ti._eval$1("4?")._as(this._source.$index(0,t))},$indexSet(e,t,r){var n=this.$ti;this._source.$indexSet(0,n._precomputed1._as(t),n._rest[1]._as(r))},addAll$1(e,t){this._source.addAll$1(0,new A.CastMap(t,this.$ti._eval$1("CastMap<3,4,1,2>")))},remove$1(e,t){return this.$ti._eval$1("4?")._as(this._source.remove$1(0,t))},forEach$1(e,t){this._source.forEach$1(0,new A.CastMap_forEach_closure(this,t))},get$keys(e){var t=this._source,r=this.$ti;return A.CastIterable_CastIterable(t.get$keys(t),r._precomputed1,r._rest[2])},get$values(e){var t=this._source,r=this.$ti;return A.CastIterable_CastIterable(t.get$values(t),r._rest[1],r._rest[3])},get$length(e){var t=this._source;return t.get$length(t)},get$isEmpty(e){var t=this._source;return t.get$isEmpty(t)},get$isNotEmpty(e){var t=this._source;return t.get$isNotEmpty(t)},get$entries(e){var t=this._source;return(t=t.get$entries(t)).map$1$1(t,new A.CastMap_entries_closure(this),this.$ti._eval$1("MapEntry<3,4>"))}},A.CastMap_forEach_closure.prototype={call$2(e,t){var r=this.$this.$ti;this.f.call$2(r._rest[2]._as(e),r._rest[3]._as(t))},$signature(){return this.$this.$ti._eval$1("~(1,2)")}},A.CastMap_entries_closure.prototype={call$1(e){var t=this.$this.$ti;return new A.MapEntry(t._rest[2]._as(e.key),t._rest[3]._as(e.value),t._eval$1("MapEntry<3,4>"))},$signature(){return this.$this.$ti._eval$1("MapEntry<3,4>(MapEntry<1,2>)")}},A.LateError.prototype={toString$0(e){return"LateInitializationError: "+this._message}},A.CodeUnits.prototype={get$length(e){return this._string.length},$index(e,t){return this._string.charCodeAt(t)}},A.nullFuture_closure.prototype={call$0:()=>A.Future_Future$value(null,D.void),$signature:32},A.SentinelValue.prototype={},A.EfficientLengthIterable.prototype={},A.ListIterable.prototype={get$iterator(e){var t=this;return new A.ListIterator(t,t.get$length(t),A._instanceType(t)._eval$1("ListIterator<ListIterable.E>"))},get$isEmpty(e){return 0===this.get$length(this)},get$first(e){if(0===this.get$length(this))throw A.wrapException(A.IterableElementError_noElement());return this.elementAt$1(0,0)},get$last(e){var t=this;if(0===t.get$length(t))throw A.wrapException(A.IterableElementError_noElement());return t.elementAt$1(0,t.get$length(t)-1)},get$single(e){var t=this;if(0===t.get$length(t))throw A.wrapException(A.IterableElementError_noElement());if(t.get$length(t)>1)throw A.wrapException(A.IterableElementError_tooMany());return t.elementAt$1(0,0)},contains$1(e,t){var r,n=this,i=n.get$length(n);for(r=0;r<i;++r){if(w.$eq$(n.elementAt$1(0,r),t))return!0;if(i!==n.get$length(n))throw A.wrapException(A.ConcurrentModificationError$(n))}return!1},every$1(e,t){var r,n=this,i=n.get$length(n);for(r=0;r<i;++r){if(!t.call$1(n.elementAt$1(0,r)))return!1;if(i!==n.get$length(n))throw A.wrapException(A.ConcurrentModificationError$(n))}return!0},any$1(e,t){var r,n=this,i=n.get$length(n);for(r=0;r<i;++r){if(t.call$1(n.elementAt$1(0,r)))return!0;if(i!==n.get$length(n))throw A.wrapException(A.ConcurrentModificationError$(n))}return!1},join$1(e,t){var r,n,i,o=this,s=o.get$length(o);if(0!==t.length){if(0===s)return"";if(r=A.S(o.elementAt$1(0,0)),s!==o.get$length(o))throw A.wrapException(A.ConcurrentModificationError$(o));for(n=r,i=1;i<s;++i)if(n=n+t+A.S(o.elementAt$1(0,i)),s!==o.get$length(o))throw A.wrapException(A.ConcurrentModificationError$(o));return n.charCodeAt(0),n}for(i=0,n="";i<s;++i)if(n+=A.S(o.elementAt$1(0,i)),s!==o.get$length(o))throw A.wrapException(A.ConcurrentModificationError$(o));return n.charCodeAt(0),n},join$0(e){return this.join$1(0,"")},where$1(e,t){return this.super$Iterable$where(0,t)},map$1$1(e,t,r){return new A.MappedListIterable(this,t,A._instanceType(this)._eval$1("@<ListIterable.E>")._bind$1(r)._eval$1("MappedListIterable<1,2>"))},reduce$1(e,t){var r,n,i=this,o=i.get$length(i);if(0===o)throw A.wrapException(A.IterableElementError_noElement());for(r=i.elementAt$1(0,0),n=1;n<o;++n)if(r=t.call$2(r,i.elementAt$1(0,n)),o!==i.get$length(i))throw A.wrapException(A.ConcurrentModificationError$(i));return r},fold$1$2(e,t,r){var n,i,o=this,s=o.get$length(o);for(n=t,i=0;i<s;++i)if(n=r.call$2(n,o.elementAt$1(0,i)),s!==o.get$length(o))throw A.wrapException(A.ConcurrentModificationError$(o));return n},fold$2(e,t,r){return this.fold$1$2(0,t,r,D.dynamic)},skip$1(e,t){return A.SubListIterable$(this,t,null,A._instanceType(this)._eval$1("ListIterable.E"))},take$1(e,t){return A.SubListIterable$(this,0,A.checkNotNullable(t,"count",D.int),A._instanceType(this)._eval$1("ListIterable.E"))},toList$1$growable(e,t){return A.List_List$_of(this,A._instanceType(this)._eval$1("ListIterable.E"))},toList$0(e){return this.toList$1$growable(0,!0)},toSet$0(e){var t,r=this,n=A.LinkedHashSet_LinkedHashSet(A._instanceType(r)._eval$1("ListIterable.E"));for(t=0;t<r.get$length(r);++t)n.add$1(0,r.elementAt$1(0,t));return n}},A.SubListIterable.prototype={SubListIterable$3(e,t,r,n){var i,o=this._start;if(A.RangeError_checkNotNegative(o,"start"),null!=(i=this._endOrLength)&&(A.RangeError_checkNotNegative(i,"end"),o>i))throw A.wrapException(A.RangeError$range(o,0,i,"start",null))},get$_endIndex(){var e=w.get$length$asx(this.__internal$_iterable),t=this._endOrLength;return null==t||t>e?e:t},get$_startIndex(){var e=w.get$length$asx(this.__internal$_iterable),t=this._start;return t>e?e:t},get$length(e){var t,r=w.get$length$asx(this.__internal$_iterable),n=this._start;return n>=r?0:null==(t=this._endOrLength)||t>=r?r-n:t-n},elementAt$1(e,t){var r=this,n=r.get$_startIndex()+t;if(t<0||n>=r.get$_endIndex())throw A.wrapException(A.IndexError$withLength(t,r.get$length(0),r,null,"index"));return w.elementAt$1$ax(r.__internal$_iterable,n)},skip$1(e,t){var r,n,i=this;return A.RangeError_checkNotNegative(t,"count"),r=i._start+t,null!=(n=i._endOrLength)&&r>=n?new A.EmptyIterable(i.$ti._eval$1("EmptyIterable<1>")):A.SubListIterable$(i.__internal$_iterable,r,n,i.$ti._precomputed1)},take$1(e,t){var r,n,i,o=this;return A.RangeError_checkNotNegative(t,"count"),r=o._endOrLength,i=(n=o._start)+t,null==r?A.SubListIterable$(o.__internal$_iterable,n,i,o.$ti._precomputed1):r<i?o:A.SubListIterable$(o.__internal$_iterable,n,i,o.$ti._precomputed1)},toList$1$growable(e,t){var r,n,i,o=this,s=o._start,a=o.__internal$_iterable,l=w.getInterceptor$asx(a),c=l.get$length(a),u=o._endOrLength;if(null!=u&&u<c&&(c=u),(r=c-s)<=0)return a=o.$ti._precomputed1,t?w.JSArray_JSArray$growable(0,a):w.JSArray_JSArray$fixed(0,a);for(n=A.List_List$filled(r,l.elementAt$1(a,s),t,o.$ti._precomputed1),i=1;i<r;++i)if(n[i]=l.elementAt$1(a,s+i),l.get$length(a)<c)throw A.wrapException(A.ConcurrentModificationError$(o));return n},toList$0(e){return this.toList$1$growable(0,!0)}},A.ListIterator.prototype={get$current(e){var t=this.__internal$_current;return null==t?this.$ti._precomputed1._as(t):t},moveNext$0(){var e,t=this,r=t.__internal$_iterable,n=w.getInterceptor$asx(r),i=n.get$length(r);if(t.__internal$_length!==i)throw A.wrapException(A.ConcurrentModificationError$(r));return(e=t.__internal$_index)>=i?(t.__internal$_current=null,!1):(t.__internal$_current=n.elementAt$1(r,e),++t.__internal$_index,!0)}},A.MappedIterable.prototype={get$iterator(e){return new A.MappedIterator(w.get$iterator$ax(this.__internal$_iterable),this._f,A._instanceType(this)._eval$1("MappedIterator<1,2>"))},get$length(e){return w.get$length$asx(this.__internal$_iterable)},get$isEmpty(e){return w.get$isEmpty$asx(this.__internal$_iterable)},get$first(e){return this._f.call$1(w.get$first$ax(this.__internal$_iterable))},get$last(e){return this._f.call$1(w.get$last$ax(this.__internal$_iterable))},get$single(e){return this._f.call$1(w.get$single$ax(this.__internal$_iterable))},elementAt$1(e,t){return this._f.call$1(w.elementAt$1$ax(this.__internal$_iterable,t))}},A.EfficientLengthMappedIterable.prototype={$isEfficientLengthIterable:1},A.MappedIterator.prototype={moveNext$0(){var e=this,t=e._iterator;return t.moveNext$0()?(e.__internal$_current=e._f.call$1(t.get$current(t)),!0):(e.__internal$_current=null,!1)},get$current(e){var t=this.__internal$_current;return null==t?this.$ti._rest[1]._as(t):t}},A.MappedListIterable.prototype={get$length(e){return w.get$length$asx(this._source)},elementAt$1(e,t){return this._f.call$1(w.elementAt$1$ax(this._source,t))}},A.WhereIterable.prototype={get$iterator(e){return new A.WhereIterator(w.get$iterator$ax(this.__internal$_iterable),this._f)},map$1$1(e,t,r){return new A.MappedIterable(this,t,this.$ti._eval$1("@<1>")._bind$1(r)._eval$1("MappedIterable<1,2>"))}},A.WhereIterator.prototype={moveNext$0(){var e,t;for(e=this._iterator,t=this._f;e.moveNext$0();)if(t.call$1(e.get$current(e)))return!0;return!1},get$current(e){var t=this._iterator;return t.get$current(t)}},A.ExpandIterable.prototype={get$iterator(e){return new A.ExpandIterator(w.get$iterator$ax(this.__internal$_iterable),this._f,C.C_EmptyIterator,this.$ti._eval$1("ExpandIterator<1,2>"))}},A.ExpandIterator.prototype={get$current(e){var t=this.__internal$_current;return null==t?this.$ti._rest[1]._as(t):t},moveNext$0(){var e,t,r=this,n=r._currentExpansion;if(null==n)return!1;for(e=r._iterator,t=r._f;!n.moveNext$0();){if(r.__internal$_current=null,!e.moveNext$0())return!1;r._currentExpansion=null,n=w.get$iterator$ax(t.call$1(e.get$current(e))),r._currentExpansion=n}return n=r._currentExpansion,r.__internal$_current=n.get$current(n),!0}},A.TakeIterable.prototype={get$iterator(e){var t=this.__internal$_iterable;return new A.TakeIterator(t.get$iterator(t),this._takeCount,A._instanceType(this)._eval$1("TakeIterator<1>"))}},A.EfficientLengthTakeIterable.prototype={get$length(e){var t=this.__internal$_iterable,r=t.get$length(t);return r>(t=this._takeCount)?t:r},$isEfficientLengthIterable:1},A.TakeIterator.prototype={moveNext$0(){return--this._remaining>=0?this._iterator.moveNext$0():(this._remaining=-1,!1)},get$current(e){var t;return this._remaining<0?(this.$ti._precomputed1._as(null),null):(t=this._iterator).get$current(t)}},A.SkipIterable.prototype={skip$1(e,t){return A.ArgumentError_checkNotNull(t,"count"),A.RangeError_checkNotNegative(t,"count"),new A.SkipIterable(this.__internal$_iterable,this._skipCount+t,A._instanceType(this)._eval$1("SkipIterable<1>"))},get$iterator(e){var t=this.__internal$_iterable;return new A.SkipIterator(t.get$iterator(t),this._skipCount)}},A.EfficientLengthSkipIterable.prototype={get$length(e){var t=this.__internal$_iterable,r=t.get$length(t)-this._skipCount;return r>=0?r:0},skip$1(e,t){return A.ArgumentError_checkNotNull(t,"count"),A.RangeError_checkNotNegative(t,"count"),new A.EfficientLengthSkipIterable(this.__internal$_iterable,this._skipCount+t,this.$ti)},$isEfficientLengthIterable:1},A.SkipIterator.prototype={moveNext$0(){var e,t;for(e=this._iterator,t=0;t<this._skipCount;++t)e.moveNext$0();return this._skipCount=0,e.moveNext$0()},get$current(e){var t=this._iterator;return t.get$current(t)}},A.SkipWhileIterable.prototype={get$iterator(e){return new A.SkipWhileIterator(w.get$iterator$ax(this.__internal$_iterable),this._f)}},A.SkipWhileIterator.prototype={moveNext$0(){var e,t,r=this;if(!r._hasSkipped)for(r._hasSkipped=!0,e=r._iterator,t=r._f;e.moveNext$0();)if(!t.call$1(e.get$current(e)))return!0;return r._iterator.moveNext$0()},get$current(e){var t=this._iterator;return t.get$current(t)}},A.EmptyIterable.prototype={get$iterator:e=>C.C_EmptyIterator,get$isEmpty:e=>!0,get$length:e=>0,get$first(e){throw A.wrapException(A.IterableElementError_noElement())},get$last(e){throw A.wrapException(A.IterableElementError_noElement())},get$single(e){throw A.wrapException(A.IterableElementError_noElement())},elementAt$1(e,t){throw A.wrapException(A.RangeError$range(t,0,0,"index",null))},contains$1:(e,t)=>!1,every$1:(e,t)=>!0,any$1:(e,t)=>!1,join$1:(e,t)=>"",where$1(e,t){return this},map$1$1:(e,t,r)=>new A.EmptyIterable(r._eval$1("EmptyIterable<0>")),skip$1(e,t){return A.RangeError_checkNotNegative(t,"count"),this},take$1(e,t){return A.RangeError_checkNotNegative(t,"count"),this},toList$1$growable(e,t){return w.JSArray_JSArray$growable(0,this.$ti._precomputed1)},toList$0(e){return this.toList$1$growable(0,!0)},toSet$0(e){return A.LinkedHashSet_LinkedHashSet(this.$ti._precomputed1)}},A.EmptyIterator.prototype={moveNext$0:()=>!1,get$current(e){throw A.wrapException(A.IterableElementError_noElement())}},A.FollowedByIterable.prototype={get$iterator(e){return new A.FollowedByIterator(w.get$iterator$ax(this.__internal$_first),this._second)},get$length(e){var t=this._second;return w.get$length$asx(this.__internal$_first)+t.get$length(t)},get$isEmpty(e){var t;return t=!!w.get$isEmpty$asx(this.__internal$_first)&&(t=this._second).get$isEmpty(t)},get$isNotEmpty(e){var t;return t=!!w.get$isNotEmpty$asx(this.__internal$_first)||(t=this._second).get$isNotEmpty(t)},contains$1(e,t){var r;return r=!!w.contains$1$asx(this.__internal$_first,t)||(r=this._second).contains$1(r,t)},get$first(e){var t,r=w.get$iterator$ax(this.__internal$_first);return r.moveNext$0()?r.get$current(r):(t=this._second).get$first(t)},get$last(e){var t,r=this._second,n=r.get$iterator(r);if(n.moveNext$0()){for(t=n.get$current(n);n.moveNext$0();)t=n.get$current(n);return t}return w.get$last$ax(this.__internal$_first)}},A.EfficientLengthFollowedByIterable.prototype={elementAt$1(e,t){var r=this.__internal$_first,n=w.getInterceptor$asx(r),i=n.get$length(r);return t<i?n.elementAt$1(r,t):(r=this._second).elementAt$1(r,t-i)},get$first(e){var t=this.__internal$_first,r=w.getInterceptor$asx(t);return r.get$isNotEmpty(t)?r.get$first(t):(t=this._second).get$first(t)},get$last(e){var t=this._second;return t.get$isNotEmpty(t)?t.get$last(t):w.get$last$ax(this.__internal$_first)},$isEfficientLengthIterable:1},A.FollowedByIterator.prototype={moveNext$0(){var e,t=this;return!!t._currentIterator.moveNext$0()||null!=(e=t._nextIterable)&&(e=e.get$iterator(e),t._currentIterator=e,t._nextIterable=null,e.moveNext$0())},get$current(e){var t=this._currentIterator;return t.get$current(t)}},A.WhereTypeIterable.prototype={get$iterator(e){return new A.WhereTypeIterator(w.get$iterator$ax(this._source),this.$ti._eval$1("WhereTypeIterator<1>"))}},A.WhereTypeIterator.prototype={moveNext$0(){var e,t;for(e=this._source,t=this.$ti._precomputed1;e.moveNext$0();)if(t._is(e.get$current(e)))return!0;return!1},get$current(e){var t=this._source;return this.$ti._precomputed1._as(t.get$current(t))}},A.NonNullsIterable.prototype={get$_firstNonNull(){var e,t;for(e=w.get$iterator$ax(this._source);e.moveNext$0();)if(null!=(t=e.get$current(e)))return t;return null},get$isEmpty(e){return null==this.get$_firstNonNull()},get$isNotEmpty(e){return null!=this.get$_firstNonNull()},get$first(e){var t=this.get$_firstNonNull();return null==t?A.throwExpression(A.IterableElementError_noElement()):t},get$iterator(e){return new A.NonNullsIterator(w.get$iterator$ax(this._source))}},A.NonNullsIterator.prototype={moveNext$0(){var e,t;for(this.__internal$_current=null,e=this._source;e.moveNext$0();)if(null!=(t=e.get$current(e)))return this.__internal$_current=t,!0;return!1},get$current(e){var t=this.__internal$_current;return null==t?A.throwExpression(A.IterableElementError_noElement()):t}},A.FixedLengthListMixin.prototype={set$length(e,t){throw A.wrapException(A.UnsupportedError$("Cannot change the length of a fixed-length list"))},add$1(e,t){throw A.wrapException(A.UnsupportedError$("Cannot add to a fixed-length list"))},addAll$1(e,t){throw A.wrapException(A.UnsupportedError$("Cannot add to a fixed-length list"))},removeRange$2(e,t,r){throw A.wrapException(A.UnsupportedError$("Cannot remove from a fixed-length list"))}},A.UnmodifiableListMixin.prototype={$indexSet(e,t,r){throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"))},set$length(e,t){throw A.wrapException(A.UnsupportedError$("Cannot change the length of an unmodifiable list"))},add$1(e,t){throw A.wrapException(A.UnsupportedError$("Cannot add to an unmodifiable list"))},addAll$1(e,t){throw A.wrapException(A.UnsupportedError$("Cannot add to an unmodifiable list"))},sort$1(e,t){throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"))},setRange$4(e,t,r,n,i){throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"))},removeRange$2(e,t,r){throw A.wrapException(A.UnsupportedError$("Cannot remove from an unmodifiable list"))},fillRange$3(e,t,r,n){throw A.wrapException(A.UnsupportedError$("Cannot modify an unmodifiable list"))}},A.UnmodifiableListBase.prototype={},A.ReversedListIterable.prototype={get$length(e){return w.get$length$asx(this._source)},elementAt$1(e,t){var r=this._source,n=w.getInterceptor$asx(r);return n.elementAt$1(r,n.get$length(r)-1-t)}},A.Symbol.prototype={get$hashCode(e){var t=this._hashCode;return null!=t||(t=664597*C.JSString_methods.get$hashCode(this.__internal$_name)&536870911,this._hashCode=t),t},toString$0(e){return'Symbol("'+this.__internal$_name+'")'},$eq(e,t){return null!=t&&(t instanceof A.Symbol&&this.__internal$_name===t.__internal$_name)},$isSymbol0:1},A.__CastListBase__CastIterableBase_ListMixin.prototype={},A._Record_1.prototype={$recipe:"+(1)",$shape:1},A._Record_2.prototype={$recipe:"+(1,2)",$shape:2},A._Record_2_forImport.prototype={$recipe:"+forImport(1,2)",$shape:3},A._Record_2_imports_modules.prototype={$recipe:"+imports,modules(1,2)",$shape:5},A._Record_2_loadedUrls_stylesheet.prototype={$recipe:"+loadedUrls,stylesheet(1,2)",$shape:6},A._Record_2_sourceMap.prototype={$recipe:"+sourceMap(1,2)",$shape:4},A._Record_3.prototype={$recipe:"+(1,2,3)",$shape:7},A._Record_3_deprecation_message_span.prototype={get$message(e){return this._1},$recipe:"+deprecation,message,span(1,2,3)",$shape:11},A._Record_3_forImport.prototype={$recipe:"+forImport(1,2,3)",$shape:8},A._Record_3_importer_isDependency.prototype={$recipe:"+importer,isDependency(1,2,3)",$shape:10},A._Record_3_originalUrl.prototype={$recipe:"+originalUrl(1,2,3)",$shape:9},A._Record_5_named_namedNodes_positional_positionalNodes_separator.prototype={$recipe:"+named,namedNodes,positional,positionalNodes,separator(1,2,3,4,5)",$shape:13},A.ConstantMapView.prototype={},A.ConstantMap.prototype={cast$2$0(e,t,r){var n=A._instanceType(this);return A.Map_castFrom(this,n._precomputed1,n._rest[1],t,r)},get$isEmpty(e){return 0===this.get$length(this)},get$isNotEmpty(e){return 0!==this.get$length(this)},toString$0(e){return A.MapBase_mapToString(this)},$indexSet(e,t,r){A.ConstantMap__throwUnmodifiable()},remove$1(e,t){A.ConstantMap__throwUnmodifiable()},addAll$1(e,t){A.ConstantMap__throwUnmodifiable()},get$entries(e){return new A._SyncStarIterable(this.entries$body$ConstantMap(0),A._instanceType(this)._eval$1("_SyncStarIterable<MapEntry<1,2>>"))},entries$body$ConstantMap(e){var t=this;return function(){var e,r,n,i=0,o=[];return function(s,a,l){for(1===a&&(o.push(l),i=1);;)switch(i){case 0:e=(e=t.get$keys(t)).get$iterator(e),r=A._instanceType(t)._eval$1("MapEntry<1,2>");case 2:if(!e.moveNext$0()){i=3;break}return n=e.get$current(e),i=4,s._async$_current=new A.MapEntry(n,t.$index(0,n),r),1;case 4:i=2;break;case 3:return 0;case 1:return s._datum=o.at(-1),3}}}},$isMap:1},A.ConstantStringMap.prototype={get$length(e){return this._values.length},get$_keys(){var e=this.$keys;return null==e&&(e=Object.keys(this._jsIndex),this.$keys=e),e},containsKey$1(e){return"string"==typeof e&&("__proto__"!==e&&this._jsIndex.hasOwnProperty(e))},$index(e,t){return this.containsKey$1(t)?this._values[this._jsIndex[t]]:null},forEach$1(e,t){var r,n,i=this.get$_keys(),o=this._values;for(r=i.length,n=0;n<r;++n)t.call$2(i[n],o[n])},get$keys(e){return new A._KeysOrValues(this.get$_keys(),this.$ti._eval$1("_KeysOrValues<1>"))},get$values(e){return new A._KeysOrValues(this._values,this.$ti._eval$1("_KeysOrValues<2>"))}},A._KeysOrValues.prototype={get$length(e){return this._elements.length},get$isEmpty(e){return 0===this._elements.length},get$isNotEmpty(e){return 0!==this._elements.length},get$iterator(e){var t=this._elements;return new A._KeysOrValuesOrElementsIterator(t,t.length,this.$ti._eval$1("_KeysOrValuesOrElementsIterator<1>"))}},A._KeysOrValuesOrElementsIterator.prototype={get$current(e){var t=this.__js_helper$_current;return null==t?this.$ti._precomputed1._as(t):t},moveNext$0(){var e=this,t=e.__js_helper$_index;return t>=e.__js_helper$_length?(e.__js_helper$_current=null,!1):(e.__js_helper$_current=e._elements[t],e.__js_helper$_index=t+1,!0)}},A.ConstantSet.prototype={add$1(e,t){A.ConstantSet__throwUnmodifiable()},addAll$1(e,t){A.ConstantSet__throwUnmodifiable()},remove$1(e,t){A.ConstantSet__throwUnmodifiable()}},A.ConstantStringSet.prototype={get$length(e){return this.__js_helper$_length},get$isEmpty(e){return 0===this.__js_helper$_length},get$isNotEmpty(e){return 0!==this.__js_helper$_length},get$iterator(e){var t,r=this,n=r.$keys;return null==n&&(n=Object.keys(r._jsIndex),r.$keys=n),t=n,new A._KeysOrValuesOrElementsIterator(t,t.length,r.$ti._eval$1("_KeysOrValuesOrElementsIterator<1>"))},contains$1(e,t){return"string"==typeof t&&("__proto__"!==t&&this._jsIndex.hasOwnProperty(t))},toSet$0(e){return A.LinkedHashSet_LinkedHashSet$of(this,this.$ti._precomputed1)}},A.GeneralConstantSet.prototype={get$length(e){return this._elements.length},get$isEmpty(e){return 0===this._elements.length},get$isNotEmpty(e){return 0!==this._elements.length},get$iterator(e){var t=this._elements;return new A._KeysOrValuesOrElementsIterator(t,t.length,this.$ti._eval$1("_KeysOrValuesOrElementsIterator<1>"))},_getMap$0(){var e,t,r,n,i=this,o=i.$map;if(null==o){for(o=new A.JsConstantLinkedHashMap(i.$ti._eval$1("JsConstantLinkedHashMap<1,1>")),t=(e=i._elements).length,r=0;r<e.length;e.length===t||(0,A.throwConcurrentModificationError)(e),++r)n=e[r],o.$indexSet(0,n,n);i.$map=o}return o},contains$1(e,t){return this._getMap$0().containsKey$1(t)},toSet$0(e){return A.LinkedHashSet_LinkedHashSet$of(this,this.$ti._precomputed1)}},A.Instantiation.prototype={Instantiation$1(e){},$eq(e,t){return null!=t&&(t instanceof A.Instantiation1&&this._genericClosure.$eq(0,t._genericClosure)&&A.getRuntimeTypeOfClosure(this)===A.getRuntimeTypeOfClosure(t))},get$hashCode(e){return A.Object_hash(this._genericClosure,A.getRuntimeTypeOfClosure(this),C.C_SentinelValue,C.C_SentinelValue)},toString$0(e){var t=C.JSArray_methods.join$1([A.createRuntimeType(this.$ti._precomputed1)],", ");return this._genericClosure.toString$0(0)+" with <"+t+">"}},A.Instantiation1.prototype={call$0(){return this._genericClosure.call$1$0(this.$ti._rest[0])},call$2(e,t){return this._genericClosure.call$1$2(e,t,this.$ti._rest[0])},call$3(e,t,r){return this._genericClosure.call$1$3(e,t,r,this.$ti._rest[0])},call$4(e,t,r,n){return this._genericClosure.call$1$4(e,t,r,n,this.$ti._rest[0])},$signature(){return A.instantiatedGenericFunctionType(A.closureFunctionType(this._genericClosure),this.$ti)}},A.JSInvocationMirror.prototype={get$memberName(){var e=this.__js_helper$_memberName;return e instanceof A.Symbol?e:this.__js_helper$_memberName=new A.Symbol(e)},get$positionalArguments(){var e,t,r,n,i,o=this;if(1===o.__js_helper$_kind)return C.List_empty6;if(e=o._arguments,0===(r=(t=w.getInterceptor$asx(e)).get$length(e)-w.get$length$asx(o._namedArgumentNames)-o._typeArgumentCount))return C.List_empty6;for(n=[],i=0;i<r;++i)n.push(t.$index(e,i));return n.$flags=3,n},get$namedArguments(){var e,t,r,n,i,o,s,a,l=this;if(0!==l.__js_helper$_kind)return C.Map_empty2;if(e=l._namedArgumentNames,r=(t=w.getInterceptor$asx(e)).get$length(e),n=l._arguments,o=(i=w.getInterceptor$asx(n)).get$length(n)-r-l._typeArgumentCount,0===r)return C.Map_empty2;for(s=new A.JsLinkedHashMap(D.JsLinkedHashMap_Symbol_dynamic),a=0;a<r;++a)s.$indexSet(0,new A.Symbol(t.$index(e,a)),i.$index(n,o+a));return new A.ConstantMapView(s,D.ConstantMapView_Symbol_dynamic)}},A.Primitives_functionNoSuchMethod_closure.prototype={call$2(e,t){var r=this._box_0;r.names=r.names+"$"+e,this.namedArgumentList.push(e),this.$arguments.push(t),++r.argumentCount},$signature:140},A.SafeToStringHook.prototype={},A.TypeErrorDecoder.prototype={matchTypeError$1(e){var t,r,n=this,i=new RegExp(n._pattern).exec(e);return null==i?null:(t=Object.create(null),-1!==(r=n._arguments)&&(t.arguments=i[r+1]),-1!==(r=n._argumentsExpr)&&(t.argumentsExpr=i[r+1]),-1!==(r=n._expr)&&(t.expr=i[r+1]),-1!==(r=n._method)&&(t.method=i[r+1]),-1!==(r=n._receiver)&&(t.receiver=i[r+1]),t)}},A.NullError.prototype={toString$0:e=>"Null check operator used on a null value"},A.JsNoSuchMethodError.prototype={toString$0(e){var t,r=this,n="NoSuchMethodError: method not found: '",i=r._method;return null==i?"NoSuchMethodError: "+r.__js_helper$_message:null==(t=r._receiver)?n+i+"' ("+r.__js_helper$_message+")":n+i+"' on '"+t+"' ("+r.__js_helper$_message+")"}},A.UnknownJsTypeError.prototype={toString$0(e){var t=this.__js_helper$_message;return 0===t.length?"Error":"Error: "+t}},A.NullThrownFromJavaScriptException.prototype={toString$0(e){return"Throw of null ('"+(null===this._irritant?"null":"undefined")+"' from JavaScript)"},$isException:1},A.ExceptionAndStackTrace.prototype={},A._StackTrace.prototype={toString$0(e){var t,r=this._trace;return null!=r?r:(t=null!==(r=this._exception)&&"object"==typeof r?r.stack:null,this._trace=null==t?"":t)},$isStackTrace:1},A.Closure.prototype={toString$0(e){var t=this.constructor,r=null==t?null:t.name;return"Closure '"+A.unminifyOrTag(null==r?"unknown":r)+"'"},$isFunction:1,get$$call(){return this},"call*":"call$1",$requiredArgCount:1,$defaultValues:null},A.Closure0Args.prototype={"call*":"call$0",$requiredArgCount:0},A.Closure2Args.prototype={"call*":"call$2",$requiredArgCount:2},A.TearOffClosure.prototype={},A.StaticClosure.prototype={toString$0(e){var t=this.$static_name;return null==t?"Closure of unknown static method":"Closure '"+A.unminifyOrTag(t)+"'"}},A.BoundClosure.prototype={$eq(e,t){return null!=t&&(this===t||t instanceof A.BoundClosure&&(this.$_target===t.$_target&&this._receiver===t._receiver))},get$hashCode(e){return(A.objectHashCode(this._receiver)^A.Primitives_objectHashCode(this.$_target))>>>0},toString$0(e){return"Closure '"+this.$_name+"' of Instance of '"+A.Primitives_objectTypeName(this._receiver)+"'"}},A.RuntimeError.prototype={toString$0(e){return"RuntimeError: "+this.message},get$message(e){return this.message}},A._Required.prototype={},A.JsLinkedHashMap.prototype={get$length(e){return this.__js_helper$_length},get$isEmpty(e){return 0===this.__js_helper$_length},get$isNotEmpty(e){return 0!==this.__js_helper$_length},get$keys(e){return new A.LinkedHashMapKeysIterable(this,A._instanceType(this)._eval$1("LinkedHashMapKeysIterable<1>"))},get$values(e){return new A.LinkedHashMapValuesIterable(this,A._instanceType(this)._eval$1("LinkedHashMapValuesIterable<2>"))},get$entries(e){return new A.LinkedHashMapEntriesIterable(this,A._instanceType(this)._eval$1("LinkedHashMapEntriesIterable<1,2>"))},containsKey$1(e){var t,r;return"string"==typeof e?null!=(t=this._strings)&&null!=t[e]:"number"==typeof e&&(1073741823&e)===e?null!=(r=this._nums)&&null!=r[e]:this.internalContainsKey$1(e)},internalContainsKey$1(e){var t=this.__js_helper$_rest;return null!=t&&this.internalFindBucketIndex$2(t[this.internalComputeHashCode$1(e)],e)>=0},addAll$1(e,t){t.forEach$1(0,new A.JsLinkedHashMap_addAll_closure(this))},$index(e,t){var r,n,i,o=null;return"string"==typeof t?null==(r=this._strings)?o:null==(n=r[t])?o:n.hashMapCellValue:"number"==typeof t&&(1073741823&t)===t?null==(i=this._nums)?o:null==(n=i[t])?o:n.hashMapCellValue:this.internalGet$1(t)},internalGet$1(e){var t,r,n=this.__js_helper$_rest;return null==n?null:(t=n[this.internalComputeHashCode$1(e)],(r=this.internalFindBucketIndex$2(t,e))<0?null:t[r].hashMapCellValue)},$indexSet(e,t,r){var n,i,o=this;"string"==typeof t?(n=o._strings,o._addHashTableEntry$3(null==n?o._strings=o._newHashTable$0():n,t,r)):"number"==typeof t&&(1073741823&t)===t?(i=o._nums,o._addHashTableEntry$3(null==i?o._nums=o._newHashTable$0():i,t,r)):o.internalSet$2(t,r)},internalSet$2(e,t){var r,n,i,o=this,s=o.__js_helper$_rest;null==s&&(s=o.__js_helper$_rest=o._newHashTable$0()),null==(n=s[r=o.internalComputeHashCode$1(e)])?s[r]=[o._newLinkedCell$2(e,t)]:(i=o.internalFindBucketIndex$2(n,e))>=0?n[i].hashMapCellValue=t:n.push(o._newLinkedCell$2(e,t))},putIfAbsent$2(e,t){var r,n,i=this;return i.containsKey$1(e)?null==(r=i.$index(0,e))?A._instanceType(i)._rest[1]._as(r):r:(n=t.call$0(),i.$indexSet(0,e,n),n)},remove$1(e,t){var r=this;return"string"==typeof t?r.__js_helper$_removeHashTableEntry$2(r._strings,t):"number"==typeof t&&(1073741823&t)===t?r.__js_helper$_removeHashTableEntry$2(r._nums,t):r.internalRemove$1(t)},internalRemove$1(e){var t,r,n,i,o=this,s=o.__js_helper$_rest;return null==s?null:(r=s[t=o.internalComputeHashCode$1(e)],(n=o.internalFindBucketIndex$2(r,e))<0?null:(i=r.splice(n,1)[0],o.__js_helper$_unlinkCell$1(i),0===r.length&&delete s[t],i.hashMapCellValue))},clear$0(e){var t=this;t.__js_helper$_length>0&&(t._strings=t._nums=t.__js_helper$_rest=t._first=t._last=null,t.__js_helper$_length=0,t._modified$0())},forEach$1(e,t){for(var r=this,n=r._first,i=r._modifications;null!=n;){if(t.call$2(n.hashMapCellKey,n.hashMapCellValue),i!==r._modifications)throw A.wrapException(A.ConcurrentModificationError$(r));n=n._next}},_addHashTableEntry$3(e,t,r){var n=e[t];null==n?e[t]=this._newLinkedCell$2(t,r):n.hashMapCellValue=r},__js_helper$_removeHashTableEntry$2(e,t){var r;return null==e||null==(r=e[t])?null:(this.__js_helper$_unlinkCell$1(r),delete e[t],r.hashMapCellValue)},_modified$0(){this._modifications=this._modifications+1&1073741823},_newLinkedCell$2(e,t){var r,n=this,i=new A.LinkedHashMapCell(e,t);return null==n._first?n._first=n._last=i:((r=n._last).toString,i._previous=r,n._last=r._next=i),++n.__js_helper$_length,n._modified$0(),i},__js_helper$_unlinkCell$1(e){var t=this,r=e._previous,n=e._next;null==r?t._first=n:r._next=n,null==n?t._last=r:n._previous=r,--t.__js_helper$_length,t._modified$0()},internalComputeHashCode$1:e=>1073741823&w.get$hashCode$(e),internalFindBucketIndex$2(e,t){var r,n;if(null==e)return-1;for(r=e.length,n=0;n<r;++n)if(w.$eq$(e[n].hashMapCellKey,t))return n;return-1},toString$0(e){return A.MapBase_mapToString(this)},_newHashTable$0(){var e=Object.create(null);return e["<non-identifier-key>"]=e,delete e["<non-identifier-key>"],e}},A.JsLinkedHashMap_addAll_closure.prototype={call$2(e,t){this.$this.$indexSet(0,e,t)},$signature(){return A._instanceType(this.$this)._eval$1("~(1,2)")}},A.LinkedHashMapCell.prototype={},A.LinkedHashMapKeysIterable.prototype={get$length(e){return this.__js_helper$_map.__js_helper$_length},get$isEmpty(e){return 0===this.__js_helper$_map.__js_helper$_length},get$iterator(e){var t=this.__js_helper$_map;return new A.LinkedHashMapKeyIterator(t,t._modifications,t._first)},contains$1(e,t){return this.__js_helper$_map.containsKey$1(t)}},A.LinkedHashMapKeyIterator.prototype={get$current(e){return this.__js_helper$_current},moveNext$0(){var e,t=this,r=t.__js_helper$_map;if(t._modifications!==r._modifications)throw A.wrapException(A.ConcurrentModificationError$(r));return null==(e=t._cell)?(t.__js_helper$_current=null,!1):(t.__js_helper$_current=e.hashMapCellKey,t._cell=e._next,!0)}},A.LinkedHashMapValuesIterable.prototype={get$length(e){return this.__js_helper$_map.__js_helper$_length},get$isEmpty(e){return 0===this.__js_helper$_map.__js_helper$_length},get$iterator(e){var t=this.__js_helper$_map;return new A.LinkedHashMapValueIterator(t,t._modifications,t._first)}},A.LinkedHashMapValueIterator.prototype={get$current(e){return this.__js_helper$_current},moveNext$0(){var e,t=this,r=t.__js_helper$_map;if(t._modifications!==r._modifications)throw A.wrapException(A.ConcurrentModificationError$(r));return null==(e=t._cell)?(t.__js_helper$_current=null,!1):(t.__js_helper$_current=e.hashMapCellValue,t._cell=e._next,!0)}},A.LinkedHashMapEntriesIterable.prototype={get$length(e){return this.__js_helper$_map.__js_helper$_length},get$isEmpty(e){return 0===this.__js_helper$_map.__js_helper$_length},get$iterator(e){var t=this.__js_helper$_map;return new A.LinkedHashMapEntryIterator(t,t._modifications,t._first,this.$ti._eval$1("LinkedHashMapEntryIterator<1,2>"))}},A.LinkedHashMapEntryIterator.prototype={get$current(e){var t=this.__js_helper$_current;return t.toString,t},moveNext$0(){var e,t=this,r=t.__js_helper$_map;if(t._modifications!==r._modifications)throw A.wrapException(A.ConcurrentModificationError$(r));return null==(e=t._cell)?(t.__js_helper$_current=null,!1):(t.__js_helper$_current=new A.MapEntry(e.hashMapCellKey,e.hashMapCellValue,t.$ti._eval$1("MapEntry<1,2>")),t._cell=e._next,!0)}},A.JsIdentityLinkedHashMap.prototype={internalComputeHashCode$1:e=>1073741823&A.objectHashCode(e),internalFindBucketIndex$2(e,t){var r,n,i;if(null==e)return-1;for(r=e.length,n=0;n<r;++n)if(null==(i=e[n].hashMapCellKey)?null==t:i===t)return n;return-1}},A.JsConstantLinkedHashMap.prototype={internalComputeHashCode$1:e=>1073741823&A.constantHashCode(e),internalFindBucketIndex$2(e,t){var r,n;if(null==e)return-1;for(r=e.length,n=0;n<r;++n)if(w.$eq$(e[n].hashMapCellKey,t))return n;return-1}},A.initHooks_closure.prototype={call$1(e){return this.getTag(e)},$signature:108},A.initHooks_closure0.prototype={call$2(e,t){return this.getUnknownTag(e,t)},$signature:339},A.initHooks_closure1.prototype={call$1(e){return this.prototypeForTag(e)},$signature:186},A._Record.prototype={toString$0(e){return this._toString$1(!1)},_toString$1(e){var t,r,n,i,o,s=this._fieldKeys$0(),a=this._getFieldValues$0(),l=(e?"Record ":"")+"(";for(t=s.length,r="",n=0;n<t;++n,r=", ")l+=r,"string"==typeof(i=s[n])&&(l=l+i+": "),o=a[n],l=e?l+A.Primitives_safeToString(o):l+A.S(o);return(l+=")").charCodeAt(0),l},_fieldKeys$0(){for(var e,t=this.$shape;I._Record__computedFieldKeys.length<=t;)I._Record__computedFieldKeys.push(null);return null==(e=I._Record__computedFieldKeys[t])&&(e=this._computeFieldKeys$0(),I._Record__computedFieldKeys[t]=e),e},_computeFieldKeys$0(){var e,t,r,n=this.$recipe,i=n.indexOf("("),o=n.substring(1,i),s=n.substring(i),a="()"===s?0:s.replace(/[^,]/g,"").length+1,l=D.Object,c=w.JSArray_JSArray$allocateGrowable(a,l);for(e=0;e<a;++e)c[e]=e;if(""!==o)for(e=(t=o.split(",")).length,r=a;e>0;)--e,c[--r]=t[e];return A.List_List$unmodifiable(c,l)}},A._Record2.prototype={_getFieldValues$0(){return[this._0,this._1]},$eq(e,t){return null!=t&&(t instanceof A._Record2&&this.$shape===t.$shape&&w.$eq$(this._0,t._0)&&w.$eq$(this._1,t._1))},get$hashCode(e){return A.Object_hash(this.$shape,this._0,this._1,C.C_SentinelValue)}},A._Record1.prototype={_getFieldValues$0(){return[this._0]},$eq(e,t){return null!=t&&(t instanceof A._Record1&&this.$shape===t.$shape&&w.$eq$(this._0,t._0))},get$hashCode(e){return A.Object_hash(this.$shape,this._0,C.C_SentinelValue,C.C_SentinelValue)}},A._Record3.prototype={_getFieldValues$0(){return[this._0,this._1,this._2]},$eq(e,t){var r=this;return null!=t&&(t instanceof A._Record3&&r.$shape===t.$shape&&w.$eq$(r._0,t._0)&&w.$eq$(r._1,t._1)&&w.$eq$(r._2,t._2))},get$hashCode(e){var t=this;return A.Object_hash(t.$shape,t._0,t._1,t._2)}},A._RecordN.prototype={_getFieldValues$0(){return this._values},$eq(e,t){return null!=t&&(t instanceof A._RecordN&&this.$shape===t.$shape&&A._RecordN__equalValues(this._values,t._values))},get$hashCode(e){return A.Object_hash(this.$shape,A.Object_hashAll(this._values),C.C_SentinelValue,C.C_SentinelValue)}},A.JSSyntaxRegExp.prototype={toString$0(e){return"RegExp/"+this.pattern+"/"+this._nativeRegExp.flags},get$_nativeGlobalVersion(){var e=this,t=e._nativeGlobalRegExp;return null!=t?t:(t=e._nativeRegExp,e._nativeGlobalRegExp=A.JSSyntaxRegExp_makeNative(e.pattern,t.multiline,!t.ignoreCase,t.unicode,t.dotAll,"g"))},get$_nativeAnchoredVersion(){var e=this,t=e._nativeAnchoredRegExp;return null!=t?t:(t=e._nativeRegExp,e._nativeAnchoredRegExp=A.JSSyntaxRegExp_makeNative(e.pattern,t.multiline,!t.ignoreCase,t.unicode,t.dotAll,"y"))},_computeHasCaptures$0(){var e,t=this.pattern;return!!C.JSString_methods.contains$1(t,"(")&&(e=this._nativeRegExp.unicode?"u":"",new RegExp("(?:)|"+t,e).exec("").length>1)},firstMatch$1(e){var t=this._nativeRegExp.exec(e);return null==t?null:new A._MatchImplementation(t)},allMatches$2(e,t,r){var n=t.length;if(r>n)throw A.wrapException(A.RangeError$range(r,0,n,null,null));return new A._AllMatchesIterable(this,t,r)},allMatches$1(e,t){return this.allMatches$2(0,t,0)},_execGlobal$2(e,t){var r,n=this.get$_nativeGlobalVersion();return n.lastIndex=t,null==(r=n.exec(e))?null:new A._MatchImplementation(r)},_execAnchored$2(e,t){var r,n=this.get$_nativeAnchoredVersion();return n.lastIndex=t,null==(r=n.exec(e))?null:new A._MatchImplementation(r)},matchAsPrefix$2(e,t,r){if(r<0||r>t.length)throw A.wrapException(A.RangeError$range(r,0,t.length,null,null));return this._execAnchored$2(t,r)}},A._MatchImplementation.prototype={get$start(e){return this._match.index},get$end(e){var t=this._match;return t.index+t[0].length},namedGroup$1(e){var t,r=this._match.groups;if(null!=r&&(null!=(t=r[e])||e in r))return t;throw A.wrapException(A.ArgumentError$value(e,"name","Not a capture group name"))},$isMatch:1,$isRegExpMatch:1},A._AllMatchesIterable.prototype={get$iterator(e){return new A._AllMatchesIterator(this._re,this.__js_helper$_string,this.__js_helper$_start)}},A._AllMatchesIterator.prototype={get$current(e){var t=this.__js_helper$_current;return null==t?D.RegExpMatch._as(t):t},moveNext$0(){var e,t,r,n,i,o,s=this,a=s.__js_helper$_string;return null!=a&&((e=s._nextIndex)<=(t=a.length)&&null!=(n=(r=s._regExp)._execGlobal$2(a,e))?(s.__js_helper$_current=n,i=n.get$end(0),n._match.index===i&&(e=!1,r._nativeRegExp.unicode&&(o=(r=s._nextIndex)+1)<t&&(t=a.charCodeAt(r))>=55296&&t<=56319&&(e=(e=a.charCodeAt(o))>=56320&&e<=57343),i=(e?i+1:i)+1),s._nextIndex=i,!0):(s.__js_helper$_string=s.__js_helper$_current=null,!1))}},A.StringMatch.prototype={get$end(e){return this.start+this.pattern.length},$isMatch:1,get$start(e){return this.start}},A._StringAllMatchesIterable.prototype={get$iterator(e){return new A._StringAllMatchesIterator(this._input,this._pattern,this.__js_helper$_index)},get$first(e){var t=this._pattern,r=this._input.indexOf(t,this.__js_helper$_index);if(r>=0)return new A.StringMatch(r,t);throw A.wrapException(A.IterableElementError_noElement())}},A._StringAllMatchesIterator.prototype={moveNext$0(){var e,t,r=this,n=r.__js_helper$_index,i=r._pattern,o=i.length,s=r._input,a=s.length;return n+o>a?(r.__js_helper$_current=null,!1):(e=s.indexOf(i,n))<0?(r.__js_helper$_index=a+1,r.__js_helper$_current=null,!1):(t=e+o,r.__js_helper$_current=new A.StringMatch(e,i),r.__js_helper$_index=t===r.__js_helper$_index?t+1:t,!0)},get$current(e){var t=this.__js_helper$_current;return t.toString,t}},A._Cell.prototype={readLocal$1$0(){var e=this.__late_helper$_value;return e===this&&A.throwExpression(new A.LateError("Local '' has not been initialized.")),e},readLocal$0(){return this.readLocal$1$0(D.dynamic)},_readLocal$0(){var e=this.__late_helper$_value;if(e===this)throw A.wrapException(new A.LateError("Local '' has not been initialized."));return e}},A.NativeByteBuffer.prototype={get$runtimeType:e=>C.Type_ByteBuffer_rqD,$isTrustedGetRuntimeType:1,$isByteBuffer:1},A.NativeTypedData.prototype={_invalidPosition$3(e,t,r,n){var i=A.RangeError$range(t,0,r,n,null);throw A.wrapException(i)},_checkPosition$3(e,t,r,n){(t>>>0!==t||t>r)&&this._invalidPosition$3(e,t,r,n)}},A.NativeByteData.prototype={get$runtimeType:e=>C.Type_ByteData_9dB,$isTrustedGetRuntimeType:1,$isByteData:1},A.NativeTypedArray.prototype={get$length:e=>e.length,_setRangeFast$4(e,t,r,n,i){var o,s,a=e.length;if(this._checkPosition$3(e,t,a,"start"),this._checkPosition$3(e,r,a,"end"),t>r)throw A.wrapException(A.RangeError$range(t,0,r,null,null));if(o=r-t,i<0)throw A.wrapException(A.ArgumentError$(i,null));if((s=n.length)-i<o)throw A.wrapException(A.StateError$("Not enough elements"));0===i&&s===o||(n=n.subarray(i,i+o)),e.set(n,t)},$isJavaScriptIndexingBehavior:1},A.NativeTypedArrayOfDouble.prototype={$index:(e,t)=>(A._checkValidIndex(t,e,e.length),e[t]),$indexSet(e,t,r){2&e.$flags&&A.throwUnsupportedOperation(e),A._checkValidIndex(t,e,e.length),e[t]=r},setRange$4(e,t,r,n,i){2&e.$flags&&A.throwUnsupportedOperation(e,5),D.NativeTypedArrayOfDouble._is(n)?this._setRangeFast$4(e,t,r,n,i):this.super$ListBase$setRange(e,t,r,n,i)},$isEfficientLengthIterable:1,$isIterable:1,$isList:1},A.NativeTypedArrayOfInt.prototype={$indexSet(e,t,r){2&e.$flags&&A.throwUnsupportedOperation(e),A._checkValidIndex(t,e,e.length),e[t]=r},setRange$4(e,t,r,n,i){2&e.$flags&&A.throwUnsupportedOperation(e,5),D.NativeTypedArrayOfInt._is(n)?this._setRangeFast$4(e,t,r,n,i):this.super$ListBase$setRange(e,t,r,n,i)},$isEfficientLengthIterable:1,$isIterable:1,$isList:1},A.NativeFloat32List.prototype={get$runtimeType:e=>C.Type_Float32List_9Kz,sublist$2:(e,t,r)=>new Float32Array(e.subarray(t,A._checkValidRange(t,r,e.length))),sublist$1(e,t){return this.sublist$2(e,t,null)},$isTrustedGetRuntimeType:1,$isFloat32List:1},A.NativeFloat64List.prototype={get$runtimeType:e=>C.Type_Float64List_9Kz,sublist$2:(e,t,r)=>new Float64Array(e.subarray(t,A._checkValidRange(t,r,e.length))),sublist$1(e,t){return this.sublist$2(e,t,null)},$isTrustedGetRuntimeType:1,$isFloat64List:1},A.NativeInt16List.prototype={get$runtimeType:e=>C.Type_Int16List_s5h,$index:(e,t)=>(A._checkValidIndex(t,e,e.length),e[t]),sublist$2:(e,t,r)=>new Int16Array(e.subarray(t,A._checkValidRange(t,r,e.length))),sublist$1(e,t){return this.sublist$2(e,t,null)},$isTrustedGetRuntimeType:1,$isInt16List:1},A.NativeInt32List.prototype={get$runtimeType:e=>C.Type_Int32List_O8Z,$index:(e,t)=>(A._checkValidIndex(t,e,e.length),e[t]),sublist$2:(e,t,r)=>new Int32Array(e.subarray(t,A._checkValidRange(t,r,e.length))),sublist$1(e,t){return this.sublist$2(e,t,null)},$isTrustedGetRuntimeType:1,$isInt32List:1},A.NativeInt8List.prototype={get$runtimeType:e=>C.Type_Int8List_rFV,$index:(e,t)=>(A._checkValidIndex(t,e,e.length),e[t]),sublist$2:(e,t,r)=>new Int8Array(e.subarray(t,A._checkValidRange(t,r,e.length))),sublist$1(e,t){return this.sublist$2(e,t,null)},$isTrustedGetRuntimeType:1,$isInt8List:1},A.NativeUint16List.prototype={get$runtimeType:e=>C.Type_Uint16List_kmP,$index:(e,t)=>(A._checkValidIndex(t,e,e.length),e[t]),sublist$2:(e,t,r)=>new Uint16Array(e.subarray(t,A._checkValidRange(t,r,e.length))),sublist$1(e,t){return this.sublist$2(e,t,null)},$isTrustedGetRuntimeType:1,$isUint16List:1},A.NativeUint32List.prototype={get$runtimeType:e=>C.Type_Uint32List_kmP,$index:(e,t)=>(A._checkValidIndex(t,e,e.length),e[t]),sublist$2:(e,t,r)=>new Uint32Array(e.subarray(t,A._checkValidRange(t,r,e.length))),sublist$1(e,t){return this.sublist$2(e,t,null)},$isTrustedGetRuntimeType:1,$isUint32List:1},A.NativeUint8ClampedList.prototype={get$runtimeType:e=>C.Type_Uint8ClampedList_04U,get$length:e=>e.length,$index:(e,t)=>(A._checkValidIndex(t,e,e.length),e[t]),sublist$2:(e,t,r)=>new Uint8ClampedArray(e.subarray(t,A._checkValidRange(t,r,e.length))),sublist$1(e,t){return this.sublist$2(e,t,null)},$isTrustedGetRuntimeType:1,$isUint8ClampedList:1},A.NativeUint8List.prototype={get$runtimeType:e=>C.Type_Uint8List_8Eb,get$length:e=>e.length,$index:(e,t)=>(A._checkValidIndex(t,e,e.length),e[t]),sublist$2:(e,t,r)=>new Uint8Array(e.subarray(t,A._checkValidRange(t,r,e.length))),sublist$1(e,t){return this.sublist$2(e,t,null)},$isTrustedGetRuntimeType:1,$isNativeUint8List:1,$isUint8List:1},A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin.prototype={},A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin.prototype={},A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.prototype={},A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.prototype={},A.Rti.prototype={_eval$1(e){return A._Universe_evalInEnvironment(M.typeUniverse,this,e)},_bind$1(e){return A._Universe_bind(M.typeUniverse,this,e)}},A._FunctionParameters.prototype={},A._Type.prototype={toString$0(e){return A._rtiToString(this._rti,null)}},A._Error.prototype={toString$0(e){return this.__rti$_message}},A._TypeError.prototype={get$message(e){return this.__rti$_message},$isTypeError:1},A._AsyncRun__initializeScheduleImmediate_internalCallback.prototype={call$1(e){var t=this._box_0,r=t.storedCallback;t.storedCallback=null,r.call$0()},$signature:62},A._AsyncRun__initializeScheduleImmediate_closure.prototype={call$1(e){var t,r;this._box_0.storedCallback=e,t=this.div,r=this.span,t.firstChild?t.removeChild(r):t.appendChild(r)},$signature:35},A._AsyncRun__scheduleImmediateJsOverride_internalCallback.prototype={call$0(){this.callback.call$0()},$signature:1},A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback.prototype={call$0(){this.callback.call$0()},$signature:1},A._TimerImpl.prototype={_TimerImpl$2(e,t){if(null==n.setTimeout)throw A.wrapException(A.UnsupportedError$("`setTimeout()` not found."));this._handle=n.setTimeout(A.convertDartClosureToJS(new A._TimerImpl_internalCallback(this,t),0),e)},_TimerImpl$periodic$2(e,t){if(null==n.setTimeout)throw A.wrapException(A.UnsupportedError$("Periodic timer."));this._handle=n.setInterval(A.convertDartClosureToJS(new A._TimerImpl$periodic_closure(this,e,Date.now(),t),0),e)},cancel$0(){if(null==n.setTimeout)throw A.wrapException(A.UnsupportedError$("Canceling a timer."));var e=this._handle;null!=e&&(this._once?n.clearTimeout(e):n.clearInterval(e),this._handle=null)}},A._TimerImpl_internalCallback.prototype={call$0(){var e=this.$this;e._handle=null,e._tick=1,this.callback.call$0()},$signature:0},A._TimerImpl$periodic_closure.prototype={call$0(){var e,t=this,r=t.$this,n=r._tick+1,i=t.milliseconds;i>0&&(e=Date.now()-t.start)>(n+1)*i&&(n=C.JSInt_methods.$tdiv(e,i)),r._tick=n,t.callback.call$1(r)},$signature:1},A._AsyncAwaitCompleter.prototype={complete$1(e){var t,r=this;null==e&&(e=r.$ti._precomputed1._as(e)),r.isSync?(t=r._future,r.$ti._eval$1("Future<1>")._is(e)?t._chainFuture$1(e):t._completeWithValue$1(e)):r._future._asyncComplete$1(e)},completeError$2(e,t){var r=this._future;this.isSync?r._completeErrorObject$1(new A.AsyncError(e,t)):r._asyncCompleteErrorObject$1(new A.AsyncError(e,t))}},A._awaitOnObject_closure.prototype={call$1(e){return this.bodyFunction.call$2(0,e)},$signature:71},A._awaitOnObject_closure0.prototype={call$2(e,t){this.bodyFunction.call$2(1,new A.ExceptionAndStackTrace(e,t))},$signature:394},A._wrapJsFunctionForAsync_closure.prototype={call$2(e,t){this.$protected(e,t)},$signature:357},A._SyncStarIterator.prototype={get$current(e){return this._async$_current},_resumeBody$2(e,t){var r;for(r=this._body;;)try{return r(this,e,t)}catch(r){t=r,e=1}},moveNext$0(){for(var e,t,r,n,i=this,o=null,s=0;;){if(null!=(e=i._nestedIterator))try{if(e.moveNext$0())return t=e,i._async$_current=t.get$current(t),!0;i._nestedIterator=null}catch(e){o=e,s=1,i._nestedIterator=null}if(1===(r=i._resumeBody$2(s,o)))return!0;if(0!==r)if(2!==r){if(3!==r)throw A.wrapException(A.StateError$("sync*"));if(o=i._datum,i._datum=null,null==(n=i._suspendedBodies)||0===n.length)throw i._async$_current=null,i._body=A._SyncStarIterator__terminatedBody,o;i._body=n.pop(),s=1}else s=0,o=null;else{if(i._async$_current=null,null==(n=i._suspendedBodies)||0===n.length)return i._body=A._SyncStarIterator__terminatedBody,!1;i._body=n.pop(),s=0,o=null}}return!1},_yieldStar$1(e){var t,r,n=this;return e instanceof A._SyncStarIterable?(t=e._outerHelper(),null==(r=n._suspendedBodies)&&(r=n._suspendedBodies=[]),r.push(n._body),n._body=t,2):(n._nestedIterator=w.get$iterator$ax(e),2)}},A._SyncStarIterable.prototype={get$iterator(e){return new A._SyncStarIterator(this._outerHelper())}},A.AsyncError.prototype={toString$0(e){return A.S(this.error)},$isError:1,get$stackTrace(){return this.stackTrace}},A.Future_wait_handleError.prototype={call$2(e,t){var r=this,n=r._box_0,i=--n.remaining;null!=n.values?(n.values=null,n.error=e,n.stackTrace=t,(0===i||r.eagerError)&&r._future._completeErrorObject$1(new A.AsyncError(e,t))):0!==i||r.eagerError||((i=n.error).toString,(n=n.stackTrace).toString,r._future._completeErrorObject$1(new A.AsyncError(i,n)))},$signature:70},A.Future_wait_closure.prototype={call$1(e){var t,r,n,i,o,s=this,a=s._box_0,l=--a.remaining,c=a.values;if(null!=c){if(w.$indexSet$ax(c,s.pos,e),w.$eq$(l,0)){for(a=s.T,t=A._setArrayType([],a._eval$1("JSArray<0>")),n=(r=c).length,i=0;i<r.length;r.length===n||(0,A.throwConcurrentModificationError)(r),++i)null==(o=r[i])&&(o=a._as(o)),w.add$1$ax(t,o);s._future._completeWithValue$1(t)}}else w.$eq$(l,0)&&!s.eagerError&&((t=a.error).toString,(a=a.stackTrace).toString,s._future._completeErrorObject$1(new A.AsyncError(t,a)))},$signature(){return this.T._eval$1("Null(0)")}},A._Completer.prototype={completeError$2(e,t){if(30&this.future._state)throw A.wrapException(A.StateError$("Future already completed"));this._completeErrorObject$1(A._interceptUserError(e,t))},completeError$1(e){return this.completeError$2(e,null)}},A._AsyncCompleter.prototype={complete$1(e){var t=this.future;if(30&t._state)throw A.wrapException(A.StateError$("Future already completed"));t._asyncComplete$1(e)},complete$0(){return this.complete$1(null)},_completeErrorObject$1(e){this.future._asyncCompleteErrorObject$1(e)}},A._SyncCompleter.prototype={complete$1(e){var t=this.future;if(30&t._state)throw A.wrapException(A.StateError$("Future already completed"));t._complete$1(e)},_completeErrorObject$1(e){this.future._completeErrorObject$1(e)}},A._FutureListener.prototype={matchesErrorTest$1(e){return 6!=(15&this.state)||this.result._zone.runUnary$2$2(this.callback,e.error,D.bool,D.Object)},handleError$1(e){var t=this.errorCallback,r=null,n=D.dynamic,i=D.Object,o=e.error,s=this.result._zone;r=D.dynamic_Function_Object_StackTrace._is(t)?s.runBinary$3$3(t,o,e.stackTrace,n,i,D.StackTrace):s.runUnary$2$2(t,o,n,i);try{return n=r}catch(e){if(D.TypeError._is(A.unwrapException(e))){if(1&this.state)throw A.wrapException(A.ArgumentError$("The error handler of Future.then must return a value of the returned future's type","onError"));throw A.wrapException(A.ArgumentError$("The error handler of Future.catchError must return a value of the future's type","onError"))}throw e}}},A._Future.prototype={then$1$2$onError(e,t,r,n){var i,o,s=I.Zone__current;if(s===C.C__RootZone){if(null!=r&&!D.dynamic_Function_Object_StackTrace._is(r)&&!D.dynamic_Function_Object._is(r))throw A.wrapException(A.ArgumentError$value(r,"onError",P.Error_))}else t=s.registerUnaryCallback$2$1(t,n._eval$1("0/"),this.$ti._precomputed1),null!=r&&(r=A._registerErrorHandler(r,s));return i=new A._Future(I.Zone__current,n._eval$1("_Future<0>")),o=null==r?1:3,this._addListener$1(new A._FutureListener(i,o,t,r,this.$ti._eval$1("@<1>")._bind$1(n)._eval$1("_FutureListener<1,2>"))),i},then$1$1(e,t,r){return this.then$1$2$onError(0,t,null,r)},_thenAwait$1$2(e,t,r){var n=new A._Future(I.Zone__current,r._eval$1("_Future<0>"));return this._addListener$1(new A._FutureListener(n,19,e,t,this.$ti._eval$1("@<1>")._bind$1(r)._eval$1("_FutureListener<1,2>"))),n},catchError$1(e){var t=this.$ti,r=I.Zone__current,n=new A._Future(r,t);return r!==C.C__RootZone&&(e=A._registerErrorHandler(e,r)),this._addListener$1(new A._FutureListener(n,2,null,e,t._eval$1("_FutureListener<1,1>"))),n},whenComplete$1(e){var t=this.$ti,r=I.Zone__current,n=new A._Future(r,t);return r!==C.C__RootZone&&(e=r.registerCallback$1$1(e,D.dynamic)),this._addListener$1(new A._FutureListener(n,8,e,null,t._eval$1("_FutureListener<1,1>"))),n},_setErrorObject$1(e){this._state=1&this._state|16,this._resultOrListeners=e},_cloneResult$1(e){this._state=30&e._state|1&this._state,this._resultOrListeners=e._resultOrListeners},_addListener$1(e){var t=this,r=t._state;if(r<=3)e._nextListener=t._resultOrListeners,t._resultOrListeners=e;else{if(4&r){if(!(24&(r=t._resultOrListeners)._state))return void r._addListener$1(e);t._cloneResult$1(r)}t._zone.scheduleMicrotask$1(new A._Future__addListener_closure(t,e))}},_prependListeners$1(e){var t,r,n,i,o,s=this,a={};if(a.listeners=e,null!=e)if((t=s._state)<=3){if(r=s._resultOrListeners,s._resultOrListeners=e,null!=r){for(n=e._nextListener,i=e;null!=n;i=n,n=o)o=n._nextListener;i._nextListener=r}}else{if(4&t){if(!(24&(t=s._resultOrListeners)._state))return void t._prependListeners$1(e);s._cloneResult$1(t)}a.listeners=s._reverseListeners$1(e),s._zone.scheduleMicrotask$1(new A._Future__prependListeners_closure(a,s))}},_removeListeners$0(){var e=this._resultOrListeners;return this._resultOrListeners=null,this._reverseListeners$1(e)},_reverseListeners$1(e){var t,r,n;for(t=e,r=null;null!=t;r=t,t=n)n=t._nextListener,t._nextListener=r;return r},_complete$1(e){var t,r=this;r.$ti._eval$1("Future<1>")._is(e)?A._Future__chainCoreFuture(e,r,!0):(t=r._removeListeners$0(),r._state=8,r._resultOrListeners=e,A._Future__propagateToListeners(r,t))},_completeWithValue$1(e){var t=this,r=t._removeListeners$0();t._state=8,t._resultOrListeners=e,A._Future__propagateToListeners(t,r)},_completeWithResultOf$1(e){var t,r,n,i=this;(t=!!(16&e._state)&&!((t=i._zone)===(r=e._zone)||t.get$errorZone()===r.get$errorZone()))||(n=i._removeListeners$0(),i._cloneResult$1(e),A._Future__propagateToListeners(i,n))},_completeErrorObject$1(e){var t=this._removeListeners$0();this._setErrorObject$1(e),A._Future__propagateToListeners(this,t)},_completeError$2(e,t){this._completeErrorObject$1(new A.AsyncError(e,t))},_asyncComplete$1(e){this.$ti._eval$1("Future<1>")._is(e)?this._chainFuture$1(e):this._asyncCompleteWithValue$1(e)},_asyncCompleteWithValue$1(e){this._state^=2,this._zone.scheduleMicrotask$1(new A._Future__asyncCompleteWithValue_closure(this,e))},_chainFuture$1(e){A._Future__chainCoreFuture(e,this,!1)},_asyncCompleteErrorObject$1(e){this._state^=2,this._zone.scheduleMicrotask$1(new A._Future__asyncCompleteErrorObject_closure(this,e))},$isFuture:1},A._Future__addListener_closure.prototype={call$0(){A._Future__propagateToListeners(this.$this,this.listener)},$signature:0},A._Future__prependListeners_closure.prototype={call$0(){A._Future__propagateToListeners(this.$this,this._box_0.listeners)},$signature:0},A._Future__chainCoreFuture_closure.prototype={call$0(){A._Future__chainCoreFuture(this._box_0.source,this.target,!0)},$signature:0},A._Future__asyncCompleteWithValue_closure.prototype={call$0(){this.$this._completeWithValue$1(this.value)},$signature:0},A._Future__asyncCompleteErrorObject_closure.prototype={call$0(){this.$this._completeErrorObject$1(this.error)},$signature:0},A._Future__propagateToListeners_handleWhenCompleteCallback.prototype={call$0(){var e,t,r,n,i,o,s,a=this,l=null;try{l=(r=a._box_0.listener).result._zone.run$1$1(0,r.callback,D.dynamic)}catch(o){return e=A.unwrapException(o),t=A.getTraceFromException(o),a.hasError&&a._box_1.source._resultOrListeners.error===e?(r=a._box_0).listenerValueOrError=a._box_1.source._resultOrListeners:(r=e,null==(n=t)&&(n=A.AsyncError_defaultStackTrace(r)),(i=a._box_0).listenerValueOrError=new A.AsyncError(r,n),r=i),void(r.listenerHasError=!0)}l instanceof A._Future&&24&l._state?16&l._state&&((r=a._box_0).listenerValueOrError=l._resultOrListeners,r.listenerHasError=!0):l instanceof A._Future&&(o=a._box_1.source,s=new A._Future(o._zone,o.$ti),l.then$1$2$onError(0,new A._Future__propagateToListeners_handleWhenCompleteCallback_closure(s,o),new A._Future__propagateToListeners_handleWhenCompleteCallback_closure0(s),D.void),(r=a._box_0).listenerValueOrError=s,r.listenerHasError=!1)},$signature:0},A._Future__propagateToListeners_handleWhenCompleteCallback_closure.prototype={call$1(e){this.joinedResult._completeWithResultOf$1(this.originalSource)},$signature:62},A._Future__propagateToListeners_handleWhenCompleteCallback_closure0.prototype={call$2(e,t){this.joinedResult._completeErrorObject$1(new A.AsyncError(e,t))},$signature:51},A._Future__propagateToListeners_handleValueCallback.prototype={call$0(){var e,t,r;try{r=(t=(e=this._box_0).listener).$ti,e.listenerValueOrError=t.result._zone.runUnary$2$2(t.callback,this.sourceResult,r._eval$1("2/"),r._precomputed1)}catch(n){e=A.unwrapException(n),null==(t=A.getTraceFromException(n))&&(t=A.AsyncError_defaultStackTrace(e)),(r=this._box_0).listenerValueOrError=new A.AsyncError(e,t),r.listenerHasError=!0}},$signature:0},A._Future__propagateToListeners_handleError.prototype={call$0(){var e,t,r,n,i,o,s=this;try{e=s._box_1.source._resultOrListeners,(n=s._box_0).listener.matchesErrorTest$1(e)&&null!=n.listener.errorCallback&&(n.listenerValueOrError=n.listener.handleError$1(e),n.listenerHasError=!1)}catch(e){t=A.unwrapException(e),r=A.getTraceFromException(e),(n=s._box_1.source._resultOrListeners).error===t?((i=s._box_0).listenerValueOrError=n,n=i):(n=t,null==(i=r)&&(i=A.AsyncError_defaultStackTrace(n)),(o=s._box_0).listenerValueOrError=new A.AsyncError(n,i),n=o),n.listenerHasError=!0}},$signature:0},A._AsyncCallbackEntry.prototype={},A.Stream.prototype={get$isBroadcast:()=>!1,get$length(e){var t={},r=new A._Future(I.Zone__current,D._Future_int);return t.count=0,this.listen$4$cancelOnError$onDone$onError(0,new A.Stream_length_closure(t,this),!0,new A.Stream_length_closure0(t,r),r.get$_completeError()),r}},A.Stream_Stream$fromFuture_closure.prototype={call$1(e){var t=this.controller;t._async$_add$1(e),t._closeUnchecked$0()},$signature(){return this.T._eval$1("Null(0)")}},A.Stream_Stream$fromFuture_closure0.prototype={call$2(e,t){var r=this.controller;r._addError$2(e,t),r._closeUnchecked$0()},$signature:392},A.Stream_length_closure.prototype={call$1(e){++this._box_0.count},$signature(){return A._instanceType(this.$this)._eval$1("~(Stream.T)")}},A.Stream_length_closure0.prototype={call$0(){this.future._complete$1(this._box_0.count)},$signature:0},A._StreamController.prototype={get$stream(){return new A._ControllerStream(this,A._instanceType(this)._eval$1("_ControllerStream<1>"))},get$_pendingEvents(){return 8&this._state?this._varData._varData:this._varData},_ensurePendingEvents$0(){var e,t,r=this;return 8&r._state?null==(e=(t=r._varData)._varData)?t._varData=new A._PendingEvents:e:null==(e=r._varData)?r._varData=new A._PendingEvents:e},get$_subscription(){var e=this._varData;return 8&this._state?e._varData:e},_badEventState$0(){return 4&this._state?new A.StateError("Cannot add event after closing"):new A.StateError("Cannot add event while adding a stream")},addStream$2$cancelOnError(e,t){var r,n,i,o=this,s=o._state;if(s>=4)throw A.wrapException(o._badEventState$0());return 2&s?((s=new A._Future(I.Zone__current,D._Future_dynamic))._asyncComplete$1(null),s):(s=o._varData,r=!0===t,n=new A._Future(I.Zone__current,D._Future_dynamic),i=r?A._AddStreamState_makeErrorHandler(o):o.get$_addError(),i=e.listen$4$cancelOnError$onDone$onError(0,o.get$_async$_add(),r,o.get$_close(),i),(1&(r=o._state)?4&o.get$_subscription()._state:!(2&r))&&i.pause$0(0),o._varData=new A._StreamControllerAddStreamState(s,n,i),o._state|=8,n)},_ensureDoneFuture$0(){var e=this._doneFuture;return null==e&&(e=this._doneFuture=2&this._state?I.$get$Future__nullFuture():new A._Future(I.Zone__current,D._Future_void)),e},add$1(e,t){if(this._state>=4)throw A.wrapException(this._badEventState$0());this._async$_add$1(t)},addError$2(e,t){var r;if(this._state>=4)throw A.wrapException(this._badEventState$0());r=A._interceptUserError(e,t),this._addError$2(r.error,r.stackTrace)},addError$1(e){return this.addError$2(e,null)},close$0(e){var t=this,r=t._state;if(4&r)return t._ensureDoneFuture$0();if(r>=4)throw A.wrapException(t._badEventState$0());return t._closeUnchecked$0(),t._ensureDoneFuture$0()},_closeUnchecked$0(){var e=this._state|=4;1&e?this._sendDone$0():3&e||this._ensurePendingEvents$0().add$1(0,C.C__DelayedDone)},_async$_add$1(e){var t=this._state;1&t?this._sendData$1(e):3&t||this._ensurePendingEvents$0().add$1(0,new A._DelayedData(e))},_addError$2(e,t){var r=this._state;1&r?this._sendError$2(e,t):3&r||this._ensurePendingEvents$0().add$1(0,new A._DelayedError(e,t))},_close$0(){var e=this._varData;this._varData=e._varData,this._state&=4294967287,e.addStreamFuture._asyncComplete$1(null)},_subscribe$4(e,t,r,n){var i,o,s,a=this;if(3&a._state)throw A.wrapException(A.StateError$("Stream has already been listened to."));return i=A._ControllerSubscription$(a,e,t,r,n,A._instanceType(a)._precomputed1),o=a.get$_pendingEvents(),8&(a._state|=1)?((s=a._varData)._varData=i,s.addSubscription.resume$0(0)):a._varData=i,i._setPendingEvents$1(o),i._guardCallback$1(new A._StreamController__subscribe_closure(a)),i},_recordCancel$1(e){var t,r,n,i,o,s,a=this,l=null;if(8&a._state&&(l=a._varData.cancel$0()),a._varData=null,a._state=4294967286&a._state|2,null!=(t=a.onCancel))if(null==l)try{(r=t.call$0())instanceof A._Future&&(l=r)}catch(e){n=A.unwrapException(e),i=A.getTraceFromException(e),(o=new A._Future(I.Zone__current,D._Future_void))._asyncCompleteErrorObject$1(new A.AsyncError(n,i)),l=o}else l=l.whenComplete$1(t);return s=new A._StreamController__recordCancel_complete(a),null!=l?l=l.whenComplete$1(s):s.call$0(),l},_recordPause$1(e){8&this._state&&this._varData.addSubscription.pause$0(0),A._runGuarded(this.onPause)},_recordResume$1(e){8&this._state&&this._varData.addSubscription.resume$0(0),A._runGuarded(this.onResume)},$isEventSink:1,set$onPause(e){return this.onPause=e},set$onResume(e){return this.onResume=e},set$onCancel(e){return this.onCancel=e}},A._StreamController__subscribe_closure.prototype={call$0(){A._runGuarded(this.$this.onListen)},$signature:0},A._StreamController__recordCancel_complete.prototype={call$0(){var e=this.$this._doneFuture;null==e||30&e._state||e._asyncComplete$1(null)},$signature:0},A._SyncStreamControllerDispatch.prototype={_sendData$1(e){this.get$_subscription()._async$_add$1(e)},_sendError$2(e,t){this.get$_subscription()._addError$2(e,t)},_sendDone$0(){this.get$_subscription()._close$0()}},A._AsyncStreamControllerDispatch.prototype={_sendData$1(e){this.get$_subscription()._addPending$1(new A._DelayedData(e))},_sendError$2(e,t){this.get$_subscription()._addPending$1(new A._DelayedError(e,t))},_sendDone$0(){this.get$_subscription()._addPending$1(C.C__DelayedDone)}},A._AsyncStreamController.prototype={},A._SyncStreamController.prototype={},A._ControllerStream.prototype={get$hashCode(e){return(892482866^A.Primitives_objectHashCode(this._controller))>>>0},$eq(e,t){return null!=t&&(this===t||t instanceof A._ControllerStream&&t._controller===this._controller)}},A._ControllerSubscription.prototype={_async$_onCancel$0(){return this._controller._recordCancel$1(this)},_async$_onPause$0(){this._controller._recordPause$1(this)},_async$_onResume$0(){this._controller._recordResume$1(this)}},A._AddStreamState.prototype={cancel$0(){return this.addSubscription.cancel$0().whenComplete$1(new A._AddStreamState_cancel_closure(this))}},A._AddStreamState_makeErrorHandler_closure.prototype={call$2(e,t){var r=this.controller;r._addError$2(e,t),r._close$0()},$signature:51},A._AddStreamState_cancel_closure.prototype={call$0(){this.$this.addStreamFuture._asyncComplete$1(null)},$signature:1},A._StreamControllerAddStreamState.prototype={},A._BufferingStreamSubscription.prototype={_setPendingEvents$1(e){var t=this;null!=e&&(t._pending=e,null!=e.lastPendingEvent&&(t._state=(128|t._state)>>>0,e.schedule$1(t)))},pause$1(e,t){var r,n,i=this,o=i._state;8&o||(r=(o+256|4)>>>0,i._state=r,o<256&&null!=(n=i._pending)&&1===n._state&&(n._state=3),4&o||64&r||i._guardCallback$1(i.get$_async$_onPause()))},pause$0(e){return this.pause$1(0,null)},resume$0(e){var t=this,r=t._state;8&r||r>=256&&(r=t._state=r-256)<256&&(128&r&&null!=t._pending.lastPendingEvent?t._pending.schedule$1(t):(r=(4294967291&r)>>>0,t._state=r,64&r||t._guardCallback$1(t.get$_async$_onResume())))},cancel$0(){var e=this,t=(4294967279&e._state)>>>0;return e._state=t,8&t||e._cancel$0(),null==(t=e._cancelFuture)?I.$get$Future__nullFuture():t},_cancel$0(){var e,t=this,r=t._state=(8|t._state)>>>0;128&r&&1===(e=t._pending)._state&&(e._state=3),64&r||(t._pending=null),t._cancelFuture=t._async$_onCancel$0()},_async$_add$1(e){var t=this._state;8&t||(t<64?this._sendData$1(e):this._addPending$1(new A._DelayedData(e)))},_addError$2(e,t){var r;D.Error._is(e)&&A.Primitives_trySetStackTrace(e,t),8&(r=this._state)||(r<64?this._sendError$2(e,t):this._addPending$1(new A._DelayedError(e,t)))},_close$0(){var e=this,t=e._state;8&t||(t=(2|t)>>>0,e._state=t,t<64?e._sendDone$0():e._addPending$1(C.C__DelayedDone))},_async$_onPause$0(){},_async$_onResume$0(){},_async$_onCancel$0:()=>null,_addPending$1(e){var t,r=this,n=r._pending;null==n&&(n=r._pending=new A._PendingEvents),n.add$1(0,e),128&(t=r._state)||(t=(128|t)>>>0,r._state=t,t<256&&n.schedule$1(r))},_sendData$1(e){var t=this,r=t._state;t._state=(64|r)>>>0,t._zone.runUnaryGuarded$1$2(t._onData,e,A._instanceType(t)._eval$1("_BufferingStreamSubscription.T")),t._state=(4294967231&t._state)>>>0,t._checkState$1(!!(4&r))},_sendError$2(e,t){var r,n=this,i=n._state,o=new A._BufferingStreamSubscription__sendError_sendError(n,e,t);1&i?(n._state=(16|i)>>>0,n._cancel$0(),null!=(r=n._cancelFuture)&&r!==I.$get$Future__nullFuture()?r.whenComplete$1(o):o.call$0()):(o.call$0(),n._checkState$1(!!(4&i)))},_sendDone$0(){var e,t=this,r=new A._BufferingStreamSubscription__sendDone_sendDone(t);t._cancel$0(),t._state=(16|t._state)>>>0,null!=(e=t._cancelFuture)&&e!==I.$get$Future__nullFuture()?e.whenComplete$1(r):r.call$0()},_guardCallback$1(e){var t=this,r=t._state;t._state=(64|r)>>>0,e.call$0(),t._state=(4294967231&t._state)>>>0,t._checkState$1(!!(4&r))},_checkState$1(e){var t,r,n=this,i=n._state;for(128&i&&null==n._pending.lastPendingEvent&&(t=!1,4&(i=n._state=(4294967167&i)>>>0)&&i<256&&(t=!1!==(t=null==(t=n._pending)?null:null==t.lastPendingEvent)),t&&(i=(4294967291&i)>>>0,n._state=i));;e=r){if(8&i)return void(n._pending=null);if(e===(r=!!(4&i)))break;n._state=(64^i)>>>0,r?n._async$_onPause$0():n._async$_onResume$0(),i=(4294967231&n._state)>>>0,n._state=i}128&i&&i<256&&n._pending.schedule$1(n)},$isStreamSubscription:1},A._BufferingStreamSubscription__sendError_sendError.prototype={call$0(){var e,t,r,n=this.$this,i=n._state;8&i&&!(16&i)||(n._state=(64|i)>>>0,e=n._onError,i=this.error,t=D.Object,r=n._zone,D.void_Function_Object_StackTrace._is(e)?r.runBinaryGuarded$2$3(e,i,this.stackTrace,t,D.StackTrace):r.runUnaryGuarded$1$2(e,i,t),n._state=(4294967231&n._state)>>>0)},$signature:0},A._BufferingStreamSubscription__sendDone_sendDone.prototype={call$0(){var e=this.$this,t=e._state;16&t&&(e._state=(74|t)>>>0,e._zone.runGuarded$1(e._onDone),e._state=(4294967231&e._state)>>>0)},$signature:0},A._StreamImpl.prototype={listen$4$cancelOnError$onDone$onError(e,t,r,n,i){return this._controller._subscribe$4(t,i,n,!0===r)},listen$1(e,t){return this.listen$4$cancelOnError$onDone$onError(0,t,null,null,null)},listen$3$onDone$onError(e,t,r,n){return this.listen$4$cancelOnError$onDone$onError(0,t,null,r,n)}},A._DelayedEvent.prototype={get$next(){return this.next},set$next(e){return this.next=e}},A._DelayedData.prototype={perform$1(e){e._sendData$1(this.value)}},A._DelayedError.prototype={perform$1(e){e._sendError$2(this.error,this.stackTrace)}},A._DelayedDone.prototype={perform$1(e){e._sendDone$0()},get$next:()=>null,set$next(e){throw A.wrapException(A.StateError$("No events after a done."))}},A._PendingEvents.prototype={schedule$1(e){var t=this,r=t._state;1!==r&&(r>=1||A.scheduleMicrotask(new A._PendingEvents_schedule_closure(t,e)),t._state=1)},add$1(e,t){var r=this,n=r.lastPendingEvent;null==n?r.firstPendingEvent=r.lastPendingEvent=t:(n.set$next(t),r.lastPendingEvent=t)}},A._PendingEvents_schedule_closure.prototype={call$0(){var e,t,r=this.$this,n=r._state;r._state=0,3!==n&&(t=(e=r.firstPendingEvent).get$next(),r.firstPendingEvent=t,null==t&&(r.lastPendingEvent=null),e.perform$1(this.dispatch))},$signature:0},A._StreamIterator.prototype={get$current(e){return this._async$_hasValue?this._stateData:null},moveNext$0(){var e,t=this,r=t._subscription;if(null!=r){if(t._async$_hasValue)return e=new A._Future(I.Zone__current,D._Future_bool),t._stateData=e,t._async$_hasValue=!1,r.resume$0(0),e;throw A.wrapException(A.StateError$("Already waiting for next."))}return t._initializeOrDone$0()},_initializeOrDone$0(){var e,t,r=this,n=r._stateData;return null!=n?(e=new A._Future(I.Zone__current,D._Future_bool),r._stateData=e,t=n.listen$4$cancelOnError$onDone$onError(0,r.get$_onData(),!0,r.get$_onDone(),r.get$_onError()),null!=r._stateData&&(r._subscription=t),e):I.$get$Future__falseFuture()},cancel$0(){var e=this,t=e._subscription,r=e._stateData;return e._stateData=null,null!=t?(e._subscription=null,e._async$_hasValue?e._async$_hasValue=!1:r._asyncComplete$1(!1),t.cancel$0()):I.$get$Future__nullFuture()},_onData$1(e){var t,r,n=this;null!=n._subscription&&(t=n._stateData,n._stateData=e,n._async$_hasValue=!0,t._complete$1(!0),n._async$_hasValue&&null!=(r=n._subscription)&&r.pause$0(0))},_onError$2(e,t){var r=this,n=r._subscription,i=r._stateData;r._stateData=r._subscription=null,null!=n?i._completeErrorObject$1(new A.AsyncError(e,t)):i._asyncCompleteErrorObject$1(new A.AsyncError(e,t))},_onDone$0(){var e=this,t=e._subscription,r=e._stateData;e._stateData=e._subscription=null,null!=t?r._completeWithValue$1(!1):r._asyncCompleteWithValue$1(!1)}},A._ForwardingStream.prototype={get$isBroadcast(){return this._async$_source.get$isBroadcast()},listen$4$cancelOnError$onDone$onError(e,t,r,n,i){var o=this.$ti,s=I.Zone__current,a=!0===r?1:0,l=null!=i?32:0,c=A._BufferingStreamSubscription__registerDataHandler(s,t,o._rest[1]),u=A._BufferingStreamSubscription__registerErrorHandler(s,i),d=null==n?A.async___nullDoneHandler$closure():n;return(o=new A._ForwardingStreamSubscription(this,c,u,s.registerCallback$1$1(d,D.void),s,a|l,o._eval$1("_ForwardingStreamSubscription<1,2>")))._subscription=this._async$_source.listen$3$onDone$onError(0,o.get$_handleData(),o.get$_handleDone(),o.get$_handleError()),o},listen$1(e,t){return this.listen$4$cancelOnError$onDone$onError(0,t,null,null,null)},listen$3$onDone$onError(e,t,r,n){return this.listen$4$cancelOnError$onDone$onError(0,t,null,r,n)}},A._ForwardingStreamSubscription.prototype={_async$_add$1(e){2&this._state||this.super$_BufferingStreamSubscription$_add(e)},_addError$2(e,t){2&this._state||this.super$_BufferingStreamSubscription$_addError(e,t)},_async$_onPause$0(){var e=this._subscription;null!=e&&e.pause$0(0)},_async$_onResume$0(){var e=this._subscription;null!=e&&e.resume$0(0)},_async$_onCancel$0(){var e=this._subscription;return null!=e?(this._subscription=null,e.cancel$0()):null},_handleData$1(e){this._stream._handleData$2(e,this)},_handleError$2(e,t){this._addError$2(e,t)},_handleDone$0(){this._close$0()}},A._MapStream.prototype={_handleData$2(e,t){var r,n,i,o=null;try{o=this._transform.call$1(e)}catch(e){return r=A.unwrapException(e),n=A.getTraceFromException(e),null!=(i=A._interceptError(r,n))&&(r=i.error,n=i.stackTrace),void t._addError$2(r,n)}t._async$_add$1(o)}},A._ZoneFunction.prototype={},A._Zone.prototype={_processUncaughtError$3(e,t,r){var n,i,o,s,a,l,c,u=this.get$_handleUncaughtError(),d=u.zone;if(d!==C.C__RootZone){n=u.$function,i=d.get$_parentDelegate(),(c=w.get$parent$z(d)).toString,o=c,s=I.Zone__current;try{I.Zone__current=o,n.call$5(d,i,e,t,r),I.Zone__current=s}catch(e){a=A.unwrapException(e),l=A.getTraceFromException(e),I.Zone__current=s,c=t===a?r:l,o._processUncaughtError$3(d,a,c)}}else A._rootHandleError(t,r)},$isZone:1},A._CustomZone.prototype={get$_delegate(){var e=this._delegateCache;return null==e?this._delegateCache=new A._ZoneDelegate(this):e},get$_parentDelegate(){return this.parent.get$_delegate()},get$errorZone(){return this._handleUncaughtError.zone},runGuarded$1(e){var t,r;try{this.run$1$1(0,e,D.void)}catch(e){t=A.unwrapException(e),r=A.getTraceFromException(e),this._processUncaughtError$3(this,t,r)}},runUnaryGuarded$1$2(e,t,r){var n,i;try{this.runUnary$2$2(e,t,D.void,r)}catch(e){n=A.unwrapException(e),i=A.getTraceFromException(e),this._processUncaughtError$3(this,n,i)}},runBinaryGuarded$2$3(e,t,r,n,i){var o,s;try{this.runBinary$3$3(e,t,r,D.void,n,i)}catch(e){o=A.unwrapException(e),s=A.getTraceFromException(e),this._processUncaughtError$3(this,o,s)}},bindCallback$1$1(e,t){return new A._CustomZone_bindCallback_closure(this,this.registerCallback$1$1(e,t),t)},bindUnaryCallback$2$1(e,t,r){return new A._CustomZone_bindUnaryCallback_closure(this,this.registerUnaryCallback$2$1(e,t,r),r,t)},bindCallbackGuarded$1(e){return new A._CustomZone_bindCallbackGuarded_closure(this,this.registerCallback$1$1(e,D.void))},$index(e,t){var r,n=this._async$_map,i=n.$index(0,t);return null!=i||n.containsKey$1(t)?i:(null!=(r=this.parent.$index(0,t))&&n.$indexSet(0,t,r),r)},handleUncaughtError$2(e,t){this._processUncaughtError$3(this,e,t)},fork$2$specification$zoneValues(e,t){var r=this._fork,n=r.zone;return r.$function.call$5(n,n.get$_parentDelegate(),this,e,t)},run$1$1(e,t){var r=this._run,n=r.zone;return r.$function.call$4(n,n.get$_parentDelegate(),this,t)},runUnary$2$2(e,t){var r=this._runUnary,n=r.zone;return r.$function.call$5(n,n.get$_parentDelegate(),this,e,t)},runBinary$3$3(e,t,r){var n=this._runBinary,i=n.zone;return n.$function.call$6(i,i.get$_parentDelegate(),this,e,t,r)},registerCallback$1$1(e){var t=this._registerCallback,r=t.zone;return t.$function.call$4(r,r.get$_parentDelegate(),this,e)},registerUnaryCallback$2$1(e){var t=this._registerUnaryCallback,r=t.zone;return t.$function.call$4(r,r.get$_parentDelegate(),this,e)},registerBinaryCallback$3$1(e){var t=this._registerBinaryCallback,r=t.zone;return t.$function.call$4(r,r.get$_parentDelegate(),this,e)},errorCallback$2(e,t){var r=this._errorCallback,n=r.zone;return n===C.C__RootZone?null:r.$function.call$5(n,n.get$_parentDelegate(),this,e,t)},scheduleMicrotask$1(e){var t=this._scheduleMicrotask,r=t.zone;return t.$function.call$4(r,r.get$_parentDelegate(),this,e)},createTimer$2(e,t){var r=this._createTimer,n=r.zone;return r.$function.call$5(n,n.get$_parentDelegate(),this,e,t)},print$1(e){var t=this._print,r=t.zone;return t.$function.call$4(r,r.get$_parentDelegate(),this,e)},get$_run(){return this._run},get$_runUnary(){return this._runUnary},get$_runBinary(){return this._runBinary},get$_registerCallback(){return this._registerCallback},get$_registerUnaryCallback(){return this._registerUnaryCallback},get$_registerBinaryCallback(){return this._registerBinaryCallback},get$_errorCallback(){return this._errorCallback},get$_scheduleMicrotask(){return this._scheduleMicrotask},get$_createTimer(){return this._createTimer},get$_createPeriodicTimer(){return this._createPeriodicTimer},get$_print(){return this._print},get$_fork(){return this._fork},get$_handleUncaughtError(){return this._handleUncaughtError},get$parent(e){return this.parent},get$_async$_map(){return this._async$_map}},A._CustomZone_bindCallback_closure.prototype={call$0(){return this.$this.run$1$1(0,this.registered,this.R)},$signature(){return this.R._eval$1("0()")}},A._CustomZone_bindUnaryCallback_closure.prototype={call$1(e){var t=this;return t.$this.runUnary$2$2(t.registered,e,t.R,t.T)},$signature(){return this.R._eval$1("@<0>")._bind$1(this.T)._eval$1("1(2)")}},A._CustomZone_bindCallbackGuarded_closure.prototype={call$0(){return this.$this.runGuarded$1(this.registered)},$signature:0},A._RootZone.prototype={get$_run:()=>C._ZoneFunction__RootZone__rootRun,get$_runUnary:()=>C._ZoneFunction__RootZone__rootRunUnary,get$_runBinary:()=>C._ZoneFunction__RootZone__rootRunBinary,get$_registerCallback:()=>C._ZoneFunction__RootZone__rootRegisterCallback,get$_registerUnaryCallback:()=>C._ZoneFunction_Xkh,get$_registerBinaryCallback:()=>C._ZoneFunction_e9o,get$_errorCallback:()=>C._ZoneFunction__RootZone__rootErrorCallback,get$_scheduleMicrotask:()=>C._ZoneFunction__RootZone__rootScheduleMicrotask,get$_createTimer:()=>C._ZoneFunction__RootZone__rootCreateTimer,get$_createPeriodicTimer:()=>C._ZoneFunction_PAY,get$_print:()=>C._ZoneFunction__RootZone__rootPrint,get$_fork:()=>C._ZoneFunction__RootZone__rootFork,get$_handleUncaughtError:()=>C._ZoneFunction_KjJ,get$parent:e=>null,get$_async$_map:()=>I.$get$_RootZone__rootMap(),get$_delegate(){var e=I._RootZone__rootDelegate;return null==e?I._RootZone__rootDelegate=new A._ZoneDelegate(this):e},get$_parentDelegate(){var e=I._RootZone__rootDelegate;return null==e?I._RootZone__rootDelegate=new A._ZoneDelegate(this):e},get$errorZone(){return this},runGuarded$1(e){var t,r;try{if(C.C__RootZone===I.Zone__current)return void e.call$0();A._rootRun(null,null,this,e)}catch(e){t=A.unwrapException(e),r=A.getTraceFromException(e),A._rootHandleError(t,r)}},runUnaryGuarded$1$2(e,t){var r,n;try{if(C.C__RootZone===I.Zone__current)return void e.call$1(t);A._rootRunUnary(null,null,this,e,t)}catch(e){r=A.unwrapException(e),n=A.getTraceFromException(e),A._rootHandleError(r,n)}},runBinaryGuarded$2$3(e,t,r){var n,i;try{if(C.C__RootZone===I.Zone__current)return void e.call$2(t,r);A._rootRunBinary(null,null,this,e,t,r)}catch(e){n=A.unwrapException(e),i=A.getTraceFromException(e),A._rootHandleError(n,i)}},bindCallback$1$1(e,t){return new A._RootZone_bindCallback_closure(this,e,t)},bindUnaryCallback$2$1(e,t,r){return new A._RootZone_bindUnaryCallback_closure(this,e,r,t)},bindCallbackGuarded$1(e){return new A._RootZone_bindCallbackGuarded_closure(this,e)},$index:(e,t)=>null,handleUncaughtError$2(e,t){A._rootHandleError(e,t)},fork$2$specification$zoneValues(e,t){return A._rootFork(null,null,this,e,t)},run$1$1(e,t){return I.Zone__current===C.C__RootZone?t.call$0():A._rootRun(null,null,this,t)},runUnary$2$2(e,t){return I.Zone__current===C.C__RootZone?e.call$1(t):A._rootRunUnary(null,null,this,e,t)},runBinary$3$3(e,t,r){return I.Zone__current===C.C__RootZone?e.call$2(t,r):A._rootRunBinary(null,null,this,e,t,r)},registerCallback$1$1:e=>e,registerUnaryCallback$2$1:e=>e,registerBinaryCallback$3$1:e=>e,errorCallback$2:(e,t)=>null,scheduleMicrotask$1(e){A._rootScheduleMicrotask(null,null,this,e)},createTimer$2:(e,t)=>A.Timer__createTimer(e,t),print$1(e){A.printString(e)}},A._RootZone_bindCallback_closure.prototype={call$0(){return this.$this.run$1$1(0,this.f,this.R)},$signature(){return this.R._eval$1("0()")}},A._RootZone_bindUnaryCallback_closure.prototype={call$1(e){var t=this;return t.$this.runUnary$2$2(t.f,e,t.R,t.T)},$signature(){return this.R._eval$1("@<0>")._bind$1(this.T)._eval$1("1(2)")}},A._RootZone_bindCallbackGuarded_closure.prototype={call$0(){return this.$this.runGuarded$1(this.f)},$signature:0},A._ZoneDelegate.prototype={$isZoneDelegate:1},A._rootHandleError_closure.prototype={call$0(){A.Error_throwWithStackTrace(this.error,this.stackTrace)},$signature:0},A._ZoneSpecification.prototype={$isZoneSpecification:1},A._HashMap.prototype={get$length(e){return this._collection$_length},get$isEmpty(e){return 0===this._collection$_length},get$isNotEmpty(e){return 0!==this._collection$_length},get$keys(e){return new A._HashMapKeyIterable(this,A._instanceType(this)._eval$1("_HashMapKeyIterable<1>"))},get$values(e){var t=A._instanceType(this);return A.MappedIterable_MappedIterable(new A._HashMapKeyIterable(this,t._eval$1("_HashMapKeyIterable<1>")),new A._HashMap_values_closure(this),t._precomputed1,t._rest[1])},containsKey$1(e){var t,r;return"string"==typeof e&&"__proto__"!==e?null!=(t=this._collection$_strings)&&null!=t[e]:"number"==typeof e&&(1073741823&e)===e?null!=(r=this._collection$_nums)&&null!=r[e]:this._containsKey$1(e)},_containsKey$1(e){var t=this._collection$_rest;return null!=t&&this._findBucketIndex$2(this._getBucket$2(t,e),e)>=0},addAll$1(e,t){t.forEach$1(0,new A._HashMap_addAll_closure(this))},$index(e,t){var r,n;return"string"==typeof t&&"__proto__"!==t?null==(r=this._collection$_strings)?null:A._HashMap__getTableEntry(r,t):"number"==typeof t&&(1073741823&t)===t?null==(n=this._collection$_nums)?null:A._HashMap__getTableEntry(n,t):this._get$1(t)},_get$1(e){var t,r,n=this._collection$_rest;return null==n?null:(t=this._getBucket$2(n,e),(r=this._findBucketIndex$2(t,e))<0?null:t[r+1])},$indexSet(e,t,r){var n,i,o=this;"string"==typeof t&&"__proto__"!==t?(n=o._collection$_strings,o._collection$_addHashTableEntry$3(null==n?o._collection$_strings=A._HashMap__newHashTable():n,t,r)):"number"==typeof t&&(1073741823&t)===t?(i=o._collection$_nums,o._collection$_addHashTableEntry$3(null==i?o._collection$_nums=A._HashMap__newHashTable():i,t,r)):o._set$2(t,r)},_set$2(e,t){var r,n,i,o=this,s=o._collection$_rest;null==s&&(s=o._collection$_rest=A._HashMap__newHashTable()),null==(n=s[r=o._computeHashCode$1(e)])?(A._HashMap__setTableEntry(s,r,[e,t]),++o._collection$_length,o._collection$_keys=null):(i=o._findBucketIndex$2(n,e))>=0?n[i+1]=t:(n.push(e,t),++o._collection$_length,o._collection$_keys=null)},remove$1(e,t){var r=this;return"string"==typeof t&&"__proto__"!==t?r._removeHashTableEntry$2(r._collection$_strings,t):"number"==typeof t&&(1073741823&t)===t?r._removeHashTableEntry$2(r._collection$_nums,t):r._remove$1(t)},_remove$1(e){var t,r,n,i,o=this,s=o._collection$_rest;return null==s?null:(r=s[t=o._computeHashCode$1(e)],(n=o._findBucketIndex$2(r,e))<0?null:(--o._collection$_length,o._collection$_keys=null,i=r.splice(n,2)[1],0===r.length&&delete s[t],i))},forEach$1(e,t){var r,n,i,o,s,a=this,l=a._computeKeys$0();for(r=l.length,n=A._instanceType(a)._rest[1],i=0;i<r;++i)if(o=l[i],s=a.$index(0,o),t.call$2(o,null==s?n._as(s):s),l!==a._collection$_keys)throw A.wrapException(A.ConcurrentModificationError$(a))},_computeKeys$0(){var e,t,r,n,i,o,s,a,l,c,u=this,d=u._collection$_keys;if(null!=d)return d;if(d=A.List_List$filled(u._collection$_length,null,!1,D.dynamic),t=0,null!=(e=u._collection$_strings))for(n=(r=Object.getOwnPropertyNames(e)).length,i=0;i<n;++i)d[t]=r[i],++t;if(null!=(o=u._collection$_nums))for(n=(r=Object.getOwnPropertyNames(o)).length,i=0;i<n;++i)d[t]=+r[i],++t;if(null!=(s=u._collection$_rest))for(n=(r=Object.getOwnPropertyNames(s)).length,i=0;i<n;++i)for(l=(a=s[r[i]]).length,c=0;c<l;c+=2)d[t]=a[c],++t;return u._collection$_keys=d},_collection$_addHashTableEntry$3(e,t,r){null==e[t]&&(++this._collection$_length,this._collection$_keys=null),A._HashMap__setTableEntry(e,t,r)},_removeHashTableEntry$2(e,t){var r;return null!=e&&null!=e[t]?(r=A._HashMap__getTableEntry(e,t),delete e[t],--this._collection$_length,this._collection$_keys=null,r):null},_computeHashCode$1:e=>1073741823&w.get$hashCode$(e),_getBucket$2(e,t){return e[this._computeHashCode$1(t)]},_findBucketIndex$2(e,t){var r,n;if(null==e)return-1;for(r=e.length,n=0;n<r;n+=2)if(w.$eq$(e[n],t))return n;return-1}},A._HashMap_values_closure.prototype={call$1(e){var t=this.$this,r=t.$index(0,e);return null==r?A._instanceType(t)._rest[1]._as(r):r},$signature(){return A._instanceType(this.$this)._eval$1("2(1)")}},A._HashMap_addAll_closure.prototype={call$2(e,t){this.$this.$indexSet(0,e,t)},$signature(){return A._instanceType(this.$this)._eval$1("~(1,2)")}},A._IdentityHashMap.prototype={_computeHashCode$1:e=>1073741823&A.objectHashCode(e),_findBucketIndex$2(e,t){var r,n,i;if(null==e)return-1;for(r=e.length,n=0;n<r;n+=2)if(null==(i=e[n])?null==t:i===t)return n;return-1}},A._HashMapKeyIterable.prototype={get$length(e){return this._map._collection$_length},get$isEmpty(e){return 0===this._map._collection$_length},get$isNotEmpty(e){return 0!==this._map._collection$_length},get$iterator(e){var t=this._map;return new A._HashMapKeyIterator(t,t._computeKeys$0(),this.$ti._eval$1("_HashMapKeyIterator<1>"))},contains$1(e,t){return this._map.containsKey$1(t)}},A._HashMapKeyIterator.prototype={get$current(e){var t=this._collection$_current;return null==t?this.$ti._precomputed1._as(t):t},moveNext$0(){var e=this,t=e._collection$_keys,r=e._offset,n=e._map;if(t!==n._collection$_keys)throw A.wrapException(A.ConcurrentModificationError$(n));return r>=t.length?(e._collection$_current=null,!1):(e._collection$_current=t[r],e._offset=r+1,!0)}},A._LinkedCustomHashMap.prototype={$index(e,t){return this._validKey.call$1(t)?this.super$JsLinkedHashMap$internalGet(t):null},$indexSet(e,t,r){this.super$JsLinkedHashMap$internalSet(t,r)},containsKey$1(e){return!!this._validKey.call$1(e)&&this.super$JsLinkedHashMap$internalContainsKey(e)},remove$1(e,t){return this._validKey.call$1(t)?this.super$JsLinkedHashMap$internalRemove(t):null},internalComputeHashCode$1(e){return 1073741823&this._hashCode.call$1(e)},internalFindBucketIndex$2(e,t){var r,n,i;if(null==e)return-1;for(r=e.length,n=this._equals,i=0;i<r;++i)if(n.call$2(e[i].hashMapCellKey,t))return i;return-1}},A._LinkedCustomHashMap_closure.prototype={call$1(e){return this.K._is(e)},$signature:9},A._LinkedHashSet.prototype={_newSet$0(){return new A._LinkedHashSet(A._instanceType(this)._eval$1("_LinkedHashSet<1>"))},_newSimilarSet$1$0:e=>new A._LinkedHashSet(e._eval$1("_LinkedHashSet<0>")),_newSimilarSet$0(){return this._newSimilarSet$1$0(D.dynamic)},get$iterator(e){var t=this,r=new A._LinkedHashSetIterator(t,t._collection$_modifications,A._instanceType(t)._eval$1("_LinkedHashSetIterator<1>"));return r._collection$_cell=t._collection$_first,r},get$length(e){return this._collection$_length},get$isEmpty(e){return 0===this._collection$_length},get$isNotEmpty(e){return 0!==this._collection$_length},contains$1(e,t){var r,n;return"string"==typeof t&&"__proto__"!==t?null!=(r=this._collection$_strings)&&null!=r[t]:"number"==typeof t&&(1073741823&t)===t?null!=(n=this._collection$_nums)&&null!=n[t]:this._contains$1(t)},_contains$1(e){var t=this._collection$_rest;return null!=t&&this._findBucketIndex$2(t[this._computeHashCode$1(e)],e)>=0},get$first(e){var t=this._collection$_first;if(null==t)throw A.wrapException(A.StateError$("No elements"));return t._element},get$last(e){var t=this._collection$_last;if(null==t)throw A.wrapException(A.StateError$("No elements"));return t._element},add$1(e,t){var r,n,i=this;return"string"==typeof t&&"__proto__"!==t?(r=i._collection$_strings,i._collection$_addHashTableEntry$2(null==r?i._collection$_strings=A._LinkedHashSet__newHashTable():r,t)):"number"==typeof t&&(1073741823&t)===t?(n=i._collection$_nums,i._collection$_addHashTableEntry$2(null==n?i._collection$_nums=A._LinkedHashSet__newHashTable():n,t)):i._add$1(t)},_add$1(e){var t,r,n=this,i=n._collection$_rest;if(null==i&&(i=n._collection$_rest=A._LinkedHashSet__newHashTable()),null==(r=i[t=n._computeHashCode$1(e)]))i[t]=[n._collection$_newLinkedCell$1(e)];else{if(n._findBucketIndex$2(r,e)>=0)return!1;r.push(n._collection$_newLinkedCell$1(e))}return!0},remove$1(e,t){var r=this;return"string"==typeof t&&"__proto__"!==t?r._removeHashTableEntry$2(r._collection$_strings,t):"number"==typeof t&&(1073741823&t)===t?r._removeHashTableEntry$2(r._collection$_nums,t):r._remove$1(t)},_remove$1(e){var t,r,n,i,o=this,s=o._collection$_rest;return null!=s&&(r=s[t=o._computeHashCode$1(e)],!((n=o._findBucketIndex$2(r,e))<0)&&(i=r.splice(n,1)[0],0===r.length&&delete s[t],o._unlinkCell$1(i),!0))},_collection$_addHashTableEntry$2(e,t){return null==e[t]&&(e[t]=this._collection$_newLinkedCell$1(t),!0)},_removeHashTableEntry$2(e,t){var r;return null!=e&&(null!=(r=e[t])&&(this._unlinkCell$1(r),delete e[t],!0))},_collection$_modified$0(){this._collection$_modifications=this._collection$_modifications+1&1073741823},_collection$_newLinkedCell$1(e){var t,r=this,n=new A._LinkedHashSetCell(e);return null==r._collection$_first?r._collection$_first=r._collection$_last=n:((t=r._collection$_last).toString,n._collection$_previous=t,r._collection$_last=t._collection$_next=n),++r._collection$_length,r._collection$_modified$0(),n},_unlinkCell$1(e){var t=this,r=e._collection$_previous,n=e._collection$_next;null==r?t._collection$_first=n:r._collection$_next=n,null==n?t._collection$_last=r:n._collection$_previous=r,--t._collection$_length,t._collection$_modified$0()},_computeHashCode$1:e=>1073741823&w.get$hashCode$(e),_findBucketIndex$2(e,t){var r,n;if(null==e)return-1;for(r=e.length,n=0;n<r;++n)if(w.$eq$(e[n]._element,t))return n;return-1}},A._LinkedIdentityHashSet.prototype={_newSet$0(){return new A._LinkedIdentityHashSet(this.$ti)},_newSimilarSet$1$0:e=>new A._LinkedIdentityHashSet(e._eval$1("_LinkedIdentityHashSet<0>")),_newSimilarSet$0(){return this._newSimilarSet$1$0(D.dynamic)},_computeHashCode$1:e=>1073741823&A.objectHashCode(e),_findBucketIndex$2(e,t){var r,n,i;if(null==e)return-1;for(r=e.length,n=0;n<r;++n)if(null==(i=e[n]._element)?null==t:i===t)return n;return-1}},A._LinkedHashSetCell.prototype={},A._LinkedHashSetIterator.prototype={get$current(e){var t=this._collection$_current;return null==t?this.$ti._precomputed1._as(t):t},moveNext$0(){var e=this,t=e._collection$_cell,r=e._set;if(e._collection$_modifications!==r._collection$_modifications)throw A.wrapException(A.ConcurrentModificationError$(r));return null==t?(e._collection$_current=null,!1):(e._collection$_current=t._element,e._collection$_cell=t._collection$_next,!0)}},A.UnmodifiableListView.prototype={cast$1$0(e,t){return new A.UnmodifiableListView(w.cast$1$0$ax(this._collection$_source,t),t._eval$1("UnmodifiableListView<0>"))},get$length(e){return w.get$length$asx(this._collection$_source)},$index(e,t){return w.elementAt$1$ax(this._collection$_source,t)}},A.HashMap_HashMap$from_closure.prototype={call$2(e,t){this.result.$indexSet(0,this.K._as(e),this.V._as(t))},$signature:159},A.LinkedHashMap_LinkedHashMap$from_closure.prototype={call$2(e,t){this.result.$indexSet(0,this.K._as(e),this.V._as(t))},$signature:159},A.ListBase.prototype={get$iterator(e){return new A.ListIterator(e,this.get$length(e),A.instanceType(e)._eval$1("ListIterator<ListBase.E>"))},elementAt$1(e,t){return this.$index(e,t)},forEach$1(e,t){var r,n=this.get$length(e);for(r=0;r<n;++r)if(t.call$1(this.$index(e,r)),n!==this.get$length(e))throw A.wrapException(A.ConcurrentModificationError$(e))},get$isEmpty(e){return 0===this.get$length(e)},get$isNotEmpty(e){return!this.get$isEmpty(e)},get$first(e){if(0===this.get$length(e))throw A.wrapException(A.IterableElementError_noElement());return this.$index(e,0)},get$last(e){if(0===this.get$length(e))throw A.wrapException(A.IterableElementError_noElement());return this.$index(e,this.get$length(e)-1)},get$single(e){if(0===this.get$length(e))throw A.wrapException(A.IterableElementError_noElement());if(this.get$length(e)>1)throw A.wrapException(A.IterableElementError_tooMany());return this.$index(e,0)},contains$1(e,t){var r,n=this.get$length(e);for(r=0;r<n;++r){if(w.$eq$(this.$index(e,r),t))return!0;if(n!==this.get$length(e))throw A.wrapException(A.ConcurrentModificationError$(e))}return!1},every$1(e,t){var r,n=this.get$length(e);for(r=0;r<n;++r){if(!t.call$1(this.$index(e,r)))return!1;if(n!==this.get$length(e))throw A.wrapException(A.ConcurrentModificationError$(e))}return!0},any$1(e,t){var r,n=this.get$length(e);for(r=0;r<n;++r){if(t.call$1(this.$index(e,r)))return!0;if(n!==this.get$length(e))throw A.wrapException(A.ConcurrentModificationError$(e))}return!1},lastWhere$2$orElse(e,t,r){var n,i,o=this.get$length(e);for(n=o-1;n>=0;--n){if(i=this.$index(e,n),t.call$1(i))return i;if(o!==this.get$length(e))throw A.wrapException(A.ConcurrentModificationError$(e))}if(null!=r)return r.call$0();throw A.wrapException(A.IterableElementError_noElement())},join$1(e,t){var r;return 0===this.get$length(e)?"":((r=A.StringBuffer__writeAll("",e,t)).charCodeAt(0),r)},where$1:(e,t)=>new A.WhereIterable(e,t,A.instanceType(e)._eval$1("WhereIterable<ListBase.E>")),map$1$1:(e,t,r)=>new A.MappedListIterable(e,t,A.instanceType(e)._eval$1("@<ListBase.E>")._bind$1(r)._eval$1("MappedListIterable<1,2>")),expand$1$1:(e,t,r)=>new A.ExpandIterable(e,t,A.instanceType(e)._eval$1("@<ListBase.E>")._bind$1(r)._eval$1("ExpandIterable<1,2>")),skip$1:(e,t)=>A.SubListIterable$(e,t,null,A.instanceType(e)._eval$1("ListBase.E")),take$1:(e,t)=>A.SubListIterable$(e,0,A.checkNotNullable(t,"count",D.int),A.instanceType(e)._eval$1("ListBase.E")),toList$1$growable(e,t){var r,n,i,o=this;if(o.get$isEmpty(e))return w.JSArray_JSArray$growable(0,A.instanceType(e)._eval$1("ListBase.E"));for(r=o.$index(e,0),n=A.List_List$filled(o.get$length(e),r,!0,A.instanceType(e)._eval$1("ListBase.E")),i=1;i<o.get$length(e);++i)n[i]=o.$index(e,i);return n},toList$0(e){return this.toList$1$growable(e,!0)},toSet$0(e){var t,r=A.LinkedHashSet_LinkedHashSet(A.instanceType(e)._eval$1("ListBase.E"));for(t=0;t<this.get$length(e);++t)r.add$1(0,this.$index(e,t));return r},add$1(e,t){var r=this.get$length(e);this.set$length(e,r+1),this.$indexSet(e,r,t)},addAll$1(e,t){var r;for(this.get$length(e),r=t.get$iterator(t);r.moveNext$0();)this.add$1(e,r.get$current(r))},_closeGap$2(e,t,r){var n,i=this,o=i.get$length(e),s=r-t;for(n=r;n<o;++n)i.$indexSet(e,n-s,i.$index(e,n));i.set$length(e,o-s)},cast$1$0:(e,t)=>new A.CastList(e,A.instanceType(e)._eval$1("@<ListBase.E>")._bind$1(t)._eval$1("CastList<1,2>")),sort$1(e,t){var r=null==t?A.collection_ListBase__compareAny$closure():t;A.Sort__doSort(e,0,this.get$length(e)-1,r)},sublist$2(e,t,r){var n=this.get$length(e);return A.RangeError_checkValidRange(t,n,n),A.List_List$_of(this.getRange$2(e,t,n),A.instanceType(e)._eval$1("ListBase.E"))},sublist$1(e,t){return this.sublist$2(e,t,null)},getRange$2(e,t,r){return A.RangeError_checkValidRange(t,r,this.get$length(e)),A.SubListIterable$(e,t,r,A.instanceType(e)._eval$1("ListBase.E"))},removeRange$2(e,t,r){A.RangeError_checkValidRange(t,r,this.get$length(e)),r>t&&this._closeGap$2(e,t,r)},fillRange$3(e,t,r,n){var i,o=null==n?A.instanceType(e)._eval$1("ListBase.E")._as(n):n;for(A.RangeError_checkValidRange(t,r,this.get$length(e)),i=t;i<r;++i)this.$indexSet(e,i,o)},setRange$4(e,t,r,n,i){var o,s,a,l,c;if(A.RangeError_checkValidRange(t,r,this.get$length(e)),0!==(o=r-t)){if(A.RangeError_checkNotNegative(i,"skipCount"),D.List_dynamic._is(n)?(s=i,a=n):(a=w.skip$1$ax(n,i).toList$1$growable(0,!1),s=0),s+o>(l=w.getInterceptor$asx(a)).get$length(a))throw A.wrapException(A.IterableElementError_tooFew());if(s<t)for(c=o-1;c>=0;--c)this.$indexSet(e,t+c,l.$index(a,s+c));else for(c=0;c<o;++c)this.$indexSet(e,t+c,l.$index(a,s+c))}},get$reversed:e=>new A.ReversedListIterable(e,A.instanceType(e)._eval$1("ReversedListIterable<ListBase.E>")),toString$0:e=>A.Iterable_iterableToFullString(e,"[","]"),$isEfficientLengthIterable:1,$isIterable:1,$isList:1},A.MapBase.prototype={cast$2$0(e,t,r){var n=A._instanceType(this);return A.Map_castFrom(this,n._eval$1("MapBase.K"),n._eval$1("MapBase.V"),t,r)},forEach$1(e,t){var r,n,i,o,s=this;for(r=(r=s.get$keys(s)).get$iterator(r),n=A._instanceType(s)._eval$1("MapBase.V");r.moveNext$0();)i=r.get$current(r),o=s.$index(0,i),t.call$2(i,null==o?n._as(o):o)},addAll$1(e,t){t.forEach$1(0,new A.MapBase_addAll_closure(this))},get$entries(e){var t=this,r=t.get$keys(t);return r.map$1$1(r,new A.MapBase_entries_closure(t),A._instanceType(t)._eval$1("MapEntry<MapBase.K,MapBase.V>"))},containsKey$1(e){var t=this.get$keys(this);return t.contains$1(t,e)},get$length(e){var t=this.get$keys(this);return t.get$length(t)},get$isEmpty(e){var t=this.get$keys(this);return t.get$isEmpty(t)},get$isNotEmpty(e){var t=this.get$keys(this);return t.get$isNotEmpty(t)},get$values(e){return new A._MapBaseValueIterable(this,A._instanceType(this)._eval$1("_MapBaseValueIterable<MapBase.K,MapBase.V>"))},toString$0(e){return A.MapBase_mapToString(this)},$isMap:1},A.MapBase_addAll_closure.prototype={call$2(e,t){this.$this.$indexSet(0,e,t)},$signature(){return A._instanceType(this.$this)._eval$1("~(MapBase.K,MapBase.V)")}},A.MapBase_entries_closure.prototype={call$1(e){var t=this.$this,r=t.$index(0,e);return null==r&&(r=A._instanceType(t)._eval$1("MapBase.V")._as(r)),new A.MapEntry(e,r,A._instanceType(t)._eval$1("MapEntry<MapBase.K,MapBase.V>"))},$signature(){return A._instanceType(this.$this)._eval$1("MapEntry<MapBase.K,MapBase.V>(MapBase.K)")}},A.MapBase_mapToString_closure.prototype={call$2(e,t){var r,n=this._box_0;n.first||(this.result._contents+=", "),n.first=!1,n=this.result,r=A.S(e),n._contents=(n._contents+=r)+": ",r=A.S(t),n._contents+=r},$signature:162},A.UnmodifiableMapBase.prototype={},A._MapBaseValueIterable.prototype={get$length(e){var t=this._map;return t.get$length(t)},get$isEmpty(e){var t=this._map;return t.get$isEmpty(t)},get$isNotEmpty(e){var t=this._map;return t.get$isNotEmpty(t)},get$first(e){var t=this._map,r=t.get$keys(t);return null==(r=t.$index(0,r.get$first(r)))?this.$ti._rest[1]._as(r):r},get$single(e){var t=this._map,r=t.get$keys(t);return null==(r=t.$index(0,r.get$single(r)))?this.$ti._rest[1]._as(r):r},get$last(e){var t=this._map,r=t.get$keys(t);return null==(r=t.$index(0,r.get$last(r)))?this.$ti._rest[1]._as(r):r},get$iterator(e){var t=this._map,r=t.get$keys(t);return new A._MapBaseValueIterator(r.get$iterator(r),t,this.$ti._eval$1("_MapBaseValueIterator<1,2>"))}},A._MapBaseValueIterator.prototype={moveNext$0(){var e=this,t=e._collection$_keys;return t.moveNext$0()?(e._collection$_current=e._map.$index(0,t.get$current(t)),!0):(e._collection$_current=null,!1)},get$current(e){var t=this._collection$_current;return null==t?this.$ti._rest[1]._as(t):t}},A._UnmodifiableMapMixin.prototype={$indexSet(e,t,r){throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"))},addAll$1(e,t){throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"))},remove$1(e,t){throw A.wrapException(A.UnsupportedError$("Cannot modify unmodifiable map"))}},A.MapView.prototype={cast$2$0(e,t,r){return this._map.cast$2$0(0,t,r)},$index(e,t){return this._map.$index(0,t)},$indexSet(e,t,r){this._map.$indexSet(0,t,r)},addAll$1(e,t){this._map.addAll$1(0,t)},containsKey$1(e){return this._map.containsKey$1(e)},forEach$1(e,t){this._map.forEach$1(0,t)},get$isEmpty(e){var t=this._map;return t.get$isEmpty(t)},get$isNotEmpty(e){var t=this._map;return t.get$isNotEmpty(t)},get$length(e){var t=this._map;return t.get$length(t)},get$keys(e){var t=this._map;return t.get$keys(t)},remove$1(e,t){return this._map.remove$1(0,t)},toString$0(e){return this._map.toString$0(0)},get$values(e){var t=this._map;return t.get$values(t)},get$entries(e){var t=this._map;return t.get$entries(t)},$isMap:1},A.UnmodifiableMapView.prototype={cast$2$0(e,t,r){return new A.UnmodifiableMapView(this._map.cast$2$0(0,t,r),t._eval$1("@<0>")._bind$1(r)._eval$1("UnmodifiableMapView<1,2>"))}},A.ListQueue.prototype={get$iterator(e){var t=this;return new A._ListQueueIterator(t,t._tail,t._modificationCount,t._head,t.$ti._eval$1("_ListQueueIterator<1>"))},get$isEmpty(e){return this._head===this._tail},get$length(e){return(this._tail-this._head&this._table.length-1)>>>0},get$first(e){var t=this,r=t._head;if(r===t._tail)throw A.wrapException(A.IterableElementError_noElement());return null==(r=t._table[r])?t.$ti._precomputed1._as(r):r},get$last(e){var t=this,r=t._head,n=t._tail;if(r===n)throw A.wrapException(A.IterableElementError_noElement());return null==(r=(r=t._table)[(n-1&r.length-1)>>>0])?t.$ti._precomputed1._as(r):r},get$single(e){var t,r=this;if(r._head===r._tail)throw A.wrapException(A.IterableElementError_noElement());if(r.get$length(0)>1)throw A.wrapException(A.IterableElementError_tooMany());return null==(t=r._table[r._head])?r.$ti._precomputed1._as(t):t},elementAt$1(e,t){var r,n=this;return A.IndexError_check(t,n.get$length(0),n,null,null),null==(r=(r=n._table)[(n._head+t&r.length-1)>>>0])?n.$ti._precomputed1._as(r):r},toList$1$growable(e,t){var r,n,i,o,s,a,l=this,c=l._table.length-1,u=(l._tail-l._head&c)>>>0;if(0===u)return r=w.JSArray_JSArray$growable(0,l.$ti._precomputed1);for(r=l.$ti._precomputed1,n=A.List_List$filled(u,l.get$first(0),!0,r),i=l._table,o=l._head,s=0;s<u;++s)a=i[(o+s&c)>>>0],n[s]=null==a?r._as(a):a;return n},toList$0(e){return this.toList$1$growable(0,!0)},addAll$1(e,t){var r,n,i,o=this,s=t.length,a=o.get$length(0),l=a+s,c=o._table,u=c.length;l>=u?(r=A.List_List$filled(A.ListQueue__nextPowerOf2(l+(l>>>1)),null,!1,o.$ti._eval$1("1?")),o._tail=o._collection$_writeToList$1(r),o._table=r,o._head=0,C.JSArray_methods.setRange$4(r,a,l,t,0),o._tail+=s):s<(n=u-(l=o._tail))?(C.JSArray_methods.setRange$4(c,l,l+s,t,0),o._tail+=s):(i=s-n,C.JSArray_methods.setRange$4(c,l,l+n,t,0),C.JSArray_methods.setRange$4(o._table,0,i,t,n),o._tail=i),++o._modificationCount},clear$0(e){var t,r,n=this,i=n._head,o=n._tail;if(i!==o){for(r=(t=n._table).length-1;i!==o;i=(i+1&r)>>>0)t[i]=null;n._head=n._tail=0,++n._modificationCount}},toString$0(e){return A.Iterable_iterableToFullString(this,"{","}")},addFirst$1(e){var t=this,r=t._head,n=t._table;n[r=t._head=(r-1&n.length-1)>>>0]=e,r===t._tail&&t._grow$0(),++t._modificationCount},removeFirst$0(){var e,t,r=this,n=r._head;if(n===r._tail)throw A.wrapException(A.IterableElementError_noElement());return++r._modificationCount,null==(t=(e=r._table)[n])&&(t=r.$ti._precomputed1._as(t)),e[n]=null,r._head=(n+1&e.length-1)>>>0,t},_add$1(e){var t=this,r=t._table,n=t._tail;r[n]=e,r=(n+1&r.length-1)>>>0,t._tail=r,t._head===r&&t._grow$0(),++t._modificationCount},_grow$0(){var e=this,t=A.List_List$filled(2*e._table.length,null,!1,e.$ti._eval$1("1?")),r=e._table,n=e._head,i=r.length-n;C.JSArray_methods.setRange$4(t,0,i,r,n),C.JSArray_methods.setRange$4(t,i,i+e._head,e._table,0),e._head=0,e._tail=e._table.length,e._table=t},_collection$_writeToList$1(e){var t,r,n=this,i=n._head,o=n._tail,s=n._table;return i<=o?(t=o-i,C.JSArray_methods.setRange$4(e,0,t,s,i),t):(r=s.length-i,C.JSArray_methods.setRange$4(e,0,r,s,i),C.JSArray_methods.setRange$4(e,r,r+n._tail,n._table,0),n._tail+r)},$isQueue:1},A._ListQueueIterator.prototype={get$current(e){var t=this._collection$_current;return null==t?this.$ti._precomputed1._as(t):t},moveNext$0(){var e,t=this,r=t._queue;return t._modificationCount!==r._modificationCount&&A.throwExpression(A.ConcurrentModificationError$(r)),(e=t._collection$_position)===t._collection$_end?(t._collection$_current=null,!1):(r=r._table,t._collection$_current=r[e],t._collection$_position=(e+1&r.length-1)>>>0,!0)}},A.SetBase.prototype={get$isEmpty(e){return 0===this.get$length(this)},get$isNotEmpty(e){return 0!==this.get$length(this)},addAll$1(e,t){var r;for(r=w.get$iterator$ax(t);r.moveNext$0();)this.add$1(0,r.get$current(r))},removeAll$1(e){var t;for(t=w.get$iterator$ax(e);t.moveNext$0();)this.remove$1(0,t.get$current(t))},difference$1(e){var t,r,n,i=this.toSet$0(0);for(t=this.get$iterator(this),r=e._source;t.moveNext$0();)n=t.get$current(t),r.contains$1(0,n)&&i.remove$1(0,n);return i},toList$1$growable(e,t){return A.List_List$_of(this,A._instanceType(this)._precomputed1)},toList$0(e){return this.toList$1$growable(0,!0)},map$1$1(e,t,r){return new A.EfficientLengthMappedIterable(this,t,A._instanceType(this)._eval$1("@<1>")._bind$1(r)._eval$1("EfficientLengthMappedIterable<1,2>"))},get$single(e){var t,r=this;if(r.get$length(r)>1)throw A.wrapException(A.IterableElementError_tooMany());if(!(t=r.get$iterator(r)).moveNext$0())throw A.wrapException(A.IterableElementError_noElement());return t.get$current(t)},toString$0(e){return A.Iterable_iterableToFullString(this,"{","}")},where$1(e,t){return new A.WhereIterable(this,t,A._instanceType(this)._eval$1("WhereIterable<1>"))},forEach$1(e,t){var r;for(r=this.get$iterator(this);r.moveNext$0();)t.call$1(r.get$current(r))},every$1(e,t){var r;for(r=this.get$iterator(this);r.moveNext$0();)if(!t.call$1(r.get$current(r)))return!1;return!0},any$1(e,t){var r;for(r=this.get$iterator(this);r.moveNext$0();)if(t.call$1(r.get$current(r)))return!0;return!1},take$1(e,t){return A.TakeIterable_TakeIterable(this,t,A._instanceType(this)._precomputed1)},skip$1(e,t){return A.SkipIterable_SkipIterable(this,t,A._instanceType(this)._precomputed1)},get$first(e){var t=this.get$iterator(this);if(!t.moveNext$0())throw A.wrapException(A.IterableElementError_noElement());return t.get$current(t)},get$last(e){var t,r=this.get$iterator(this);if(!r.moveNext$0())throw A.wrapException(A.IterableElementError_noElement());do{t=r.get$current(r)}while(r.moveNext$0());return t},elementAt$1(e,t){var r,n;for(A.RangeError_checkNotNegative(t,"index"),r=this.get$iterator(this),n=t;r.moveNext$0();){if(0===n)return r.get$current(r);--n}throw A.wrapException(A.IndexError$withLength(t,t-n,this,null,"index"))},$isEfficientLengthIterable:1,$isIterable:1,$isSet:1},A._SetBase.prototype={difference$1(e){var t,r,n,i=this,o=i._newSet$0();for(r=(t=A._LinkedHashSetIterator$(i,i._collection$_modifications,A._instanceType(i)._precomputed1)).$ti._precomputed1;t.moveNext$0();)null==(n=t._collection$_current)&&(n=r._as(n)),e.contains$1(0,n)||o.add$1(0,n);return o},intersection$1(e){var t,r,n,i=this,o=i._newSet$0();for(r=(t=A._LinkedHashSetIterator$(i,i._collection$_modifications,A._instanceType(i)._precomputed1)).$ti._precomputed1;t.moveNext$0();)null==(n=t._collection$_current)&&(n=r._as(n)),e.contains$1(0,n)&&o.add$1(0,n);return o},toSet$0(e){var t=this._newSet$0();return t.addAll$1(0,this),t}},A._UnmodifiableSetMixin.prototype={add$1:(e,t)=>A._UnmodifiableSetMixin__throwUnmodifiable(),addAll$1:(e,t)=>A._UnmodifiableSetMixin__throwUnmodifiable(),remove$1:(e,t)=>A._UnmodifiableSetMixin__throwUnmodifiable()},A.UnmodifiableSetView.prototype={contains$1(e,t){return this._collection$_source.contains$1(0,t)},get$length(e){return this._collection$_source._collection$_length},get$iterator(e){var t=this._collection$_source;return A._LinkedHashSetIterator$(t,t._collection$_modifications,A._instanceType(t)._precomputed1)},toSet$0(e){return this._collection$_source.toSet$0(0)}},A._UnmodifiableMapView_MapView__UnmodifiableMapMixin.prototype={},A._UnmodifiableSetView_SetBase__UnmodifiableSetMixin.prototype={},A._JsonMap.prototype={$index(e,t){var r,n=this._processed;return null==n?this._data.$index(0,t):"string"!=typeof t?null:void 0===(r=n[t])?this._process$1(t):r},get$length(e){return null==this._processed?this._data.__js_helper$_length:this._convert$_computeKeys$0().length},get$isEmpty(e){return 0===this.get$length(0)},get$isNotEmpty(e){return this.get$length(0)>0},get$keys(e){var t;return null==this._processed?(t=this._data,new A.LinkedHashMapKeysIterable(t,A._instanceType(t)._eval$1("LinkedHashMapKeysIterable<1>"))):new A._JsonMapKeyIterable(this)},get$values(e){var t,r=this;return null==r._processed?(t=r._data,new A.LinkedHashMapValuesIterable(t,A._instanceType(t)._eval$1("LinkedHashMapValuesIterable<2>"))):A.MappedIterable_MappedIterable(r._convert$_computeKeys$0(),new A._JsonMap_values_closure(r),D.String,D.dynamic)},$indexSet(e,t,r){var n,i,o=this;null==o._processed?o._data.$indexSet(0,t,r):o.containsKey$1(t)?((n=o._processed)[t]=r,(null==(i=o._original)?null!=n:i!==n)&&(i[t]=null)):o._upgrade$0().$indexSet(0,t,r)},addAll$1(e,t){t.forEach$1(0,new A._JsonMap_addAll_closure(this))},containsKey$1(e){return null==this._processed?this._data.containsKey$1(e):"string"==typeof e&&Object.prototype.hasOwnProperty.call(this._original,e)},remove$1(e,t){return null==this._processed||this.containsKey$1(t)?this._upgrade$0().remove$1(0,t):null},forEach$1(e,t){var r,n,i,o,s=this;if(null==s._processed)return s._data.forEach$1(0,t);for(r=s._convert$_computeKeys$0(),n=0;n<r.length;++n)if(i=r[n],void 0===(o=s._processed[i])&&(o=A._convertJsonToDartLazy(s._original[i]),s._processed[i]=o),t.call$2(i,o),r!==s._data)throw A.wrapException(A.ConcurrentModificationError$(s))},_convert$_computeKeys$0(){var e=this._data;return null==e&&(e=this._data=A._setArrayType(Object.keys(this._original),D.JSArray_String)),e},_upgrade$0(){var e,t,r,n,i,o=this;if(null==o._processed)return o._data;for(e=A.LinkedHashMap_LinkedHashMap$_empty(D.String,D.dynamic),t=o._convert$_computeKeys$0(),r=0;r<(n=t.length);++r)i=t[r],e.$indexSet(0,i,o.$index(0,i));return 0===n?t.push(""):C.JSArray_methods.clear$0(t),o._original=o._processed=null,o._data=e},_process$1(e){var t;return Object.prototype.hasOwnProperty.call(this._original,e)?(t=A._convertJsonToDartLazy(this._original[e]),this._processed[e]=t):null}},A._JsonMap_values_closure.prototype={call$1(e){return this.$this.$index(0,e)},$signature:186},A._JsonMap_addAll_closure.prototype={call$2(e,t){this.$this.$indexSet(0,e,t)},$signature:140},A._JsonMapKeyIterable.prototype={get$length(e){return this._convert$_parent.get$length(0)},elementAt$1(e,t){var r=this._convert$_parent;return null==r._processed?r.get$keys(0).elementAt$1(0,t):r._convert$_computeKeys$0()[t]},get$iterator(e){var t=this._convert$_parent;return null==t._processed?t=(t=t.get$keys(0)).get$iterator(t):(t=t._convert$_computeKeys$0(),t=new w.ArrayIterator(t,t.length,A._arrayInstanceType(t)._eval$1("ArrayIterator<1>"))),t},contains$1(e,t){return this._convert$_parent.containsKey$1(t)}},A._Utf8Decoder__decoder_closure.prototype={call$0(){try{return new TextDecoder("utf-8",{fatal:!0})}catch(e){}return null},$signature:64},A._Utf8Decoder__decoderNonfatal_closure.prototype={call$0(){try{return new TextDecoder("utf-8",{fatal:!1})}catch(e){}return null},$signature:64},A.AsciiCodec.prototype={encode$1:e=>C.AsciiEncoder_127.convert$1(e)},A._UnicodeSubsetEncoder.prototype={convert$1(e){var t,r,n,i=A.RangeError_checkValidRange(0,null,e.length),o=new Uint8Array(i);for(t=~this._subsetMask,r=0;r<i;++r){if(0!==((n=e.charCodeAt(r))&t))throw A.wrapException(A.ArgumentError$value(e,"string","Contains invalid characters."));o[r]=n}return o}},A.AsciiEncoder.prototype={},A.Base64Codec.prototype={normalize$3(e,t,r){var n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y="Invalid base64 encoding length ";for(r=A.RangeError_checkValidRange(t,r,e.length),n=I.$get$_Base64Decoder__inverseAlphabet(),o=i=t,s=null,a=-1,l=-1,c=0;i<r;i=u){if(u=i+1,37===(d=e.charCodeAt(i))?(h=u+2)<=r?(37===(m=16*A.hexDigitValue(e.charCodeAt(u))+(p=A.hexDigitValue(e.charCodeAt(u+1)))-(256&p))&&(m=-1),u=h):m=-1:m=d,0<=m&&m<=127){if((_=n[m])>=0){if((m=P.ABCDEF.charCodeAt(_))===d)continue;d=m}else{if(-1===_&&(a<0&&(null==(g=null==s?null:s._contents.length)&&(g=0),a=g+(i-o),l=i),++c,61===d))continue;d=m}if(-2!==_){(g=null==s?s=new A.StringBuffer(""):s)._contents+=C.JSString_methods.substring$2(e,o,i),f=A.Primitives_stringFromCharCode(d),g._contents+=f,o=u;continue}}throw A.wrapException(A.FormatException$("Invalid base64 data",e,i))}if(null!=s){if(g=C.JSString_methods.substring$2(e,o,r),f=(g=s._contents+=g).length,a>=0)A.Base64Codec__checkPadding(e,l,r,a,c,f);else{if(1===(v=C.JSInt_methods.$mod(f-1,4)+1))throw A.wrapException(A.FormatException$(y,e,r));for(;v<4;)g+="=",s._contents=g,++v}return g=s._contents,C.JSString_methods.replaceRange$3(e,t,r,(g.charCodeAt(0),g))}if(b=r-t,a>=0)A.Base64Codec__checkPadding(e,l,r,a,c,b);else{if(1===(v=C.JSInt_methods.$mod(b,4)))throw A.wrapException(A.FormatException$(y,e,r));v>1&&(e=C.JSString_methods.replaceRange$3(e,r,r,2===v?"==":"="))}return e}},A.Base64Encoder.prototype={startChunkedConversion$1:e=>new A._Utf8Base64EncoderSink(new A._Utf8StringSinkAdapter(new A._Utf8Decoder(!1),e,e._stringSink),new A._Base64Encoder(P.ABCDEF))},A._Base64Encoder.prototype={createBuffer$1:e=>new Uint8Array(e),encode$4(e,t,r,n){var i,o=this,s=(3&o._convert$_state)+(r-t),a=C.JSInt_methods._tdivFast$1(s,3),l=4*a;return n&&s-3*a>0&&(l+=4),i=o.createBuffer$1(l),o._convert$_state=A._Base64Encoder_encodeChunk(o._alphabet,e,t,r,n,i,0,o._convert$_state),l>0?i:null}},A._Base64EncoderSink.prototype={},A._Utf8Base64EncoderSink.prototype={_convert$_add$4(e,t,r,n){var i=this._encoder.encode$4(e,t,r,n);null!=i&&this._sink.addSlice$4(i,0,i.length,n)}},A.ByteConversionSink.prototype={},A.Codec.prototype={},A.Converter.prototype={},A.Encoding.prototype={},A.JsonUnsupportedObjectError.prototype={toString$0(e){var t=A.Error_safeToString(this.unsupportedObject);return(null!=this.cause?"Converting object to an encodable object failed:":"Converting object did not return an encodable object:")+" "+t}},A.JsonCyclicError.prototype={toString$0:e=>"Cyclic error in JSON stringify"},A.JsonCodec.prototype={decode$1(e){return A._parseJson(e,this.get$decoder()._reviver)},encode$2$toEncodable(e,t){return A._JsonStringStringifier_stringify(e,this.get$encoder()._toEncodable,null)},get$encoder:()=>C.JsonEncoder_null,get$decoder:()=>C.JsonDecoder_null},A.JsonEncoder.prototype={},A.JsonDecoder.prototype={},A._JsonStringifier.prototype={writeStringContent$1(e){var t,r,n,i,o,s=this,a=e.length;for(t=0,r=0;r<a;++r)if((n=e.charCodeAt(r))>92)n>=55296&&(i=!!(o=55296===(i=64512&n)&&!((o=r+1)<a&&56320==(64512&e.charCodeAt(o))))||56320===i&&!((i=r-1)>=0&&55296==(64512&e.charCodeAt(i))))&&(r>t&&s.writeStringSlice$3(e,t,r),t=r+1,s.writeCharCode$1(92),s.writeCharCode$1(117),s.writeCharCode$1(100),i=n>>>8&15,s.writeCharCode$1(i<10?48+i:87+i),i=n>>>4&15,s.writeCharCode$1(i<10?48+i:87+i),i=15&n,s.writeCharCode$1(i<10?48+i:87+i));else if(n<32)switch(r>t&&s.writeStringSlice$3(e,t,r),t=r+1,s.writeCharCode$1(92),n){case 8:s.writeCharCode$1(98);break;case 9:s.writeCharCode$1(116);break;case 10:s.writeCharCode$1(110);break;case 12:s.writeCharCode$1(102);break;case 13:s.writeCharCode$1(114);break;default:s.writeCharCode$1(117),s.writeCharCode$1(48),s.writeCharCode$1(48),i=n>>>4&15,s.writeCharCode$1(i<10?48+i:87+i),i=15&n,s.writeCharCode$1(i<10?48+i:87+i)}else 34!==n&&92!==n||(r>t&&s.writeStringSlice$3(e,t,r),t=r+1,s.writeCharCode$1(92),s.writeCharCode$1(n));0===t?s.writeString$1(e):t<a&&s.writeStringSlice$3(e,t,a)},_checkCycle$1(e){var t,r,n,i;for(r=(t=this._seen).length,n=0;n<r;++n)if(i=t[n],null==e?null==i:e===i)throw A.wrapException(new A.JsonCyclicError(e,null));t.push(e)},writeObject$1(e){var t,r,n,i=this;if(!i.writeJsonValue$1(e)){i._checkCycle$1(e);try{if(t=i._toEncodable.call$1(e),!i.writeJsonValue$1(t))throw n=A.JsonUnsupportedObjectError$(e,null,i.get$_partialResult()),A.wrapException(n);i._seen.pop()}catch(t){throw r=A.unwrapException(t),n=A.JsonUnsupportedObjectError$(e,r,i.get$_partialResult()),A.wrapException(n)}}},writeJsonValue$1(e){var t,r=this;return"number"==typeof e?!!isFinite(e)&&(r.writeNumber$1(e),!0):!0===e?(r.writeString$1("true"),!0):!1===e?(r.writeString$1("false"),!0):null==e?(r.writeString$1("null"),!0):"string"==typeof e?(r.writeString$1('"'),r.writeStringContent$1(e),r.writeString$1('"'),!0):D.List_dynamic._is(e)?(r._checkCycle$1(e),r.writeList$1(e),r._seen.pop(),!0):!!D.Map_dynamic_dynamic._is(e)&&(r._checkCycle$1(e),t=r.writeMap$1(e),r._seen.pop(),t)},writeList$1(e){var t,r,n=this;if(n.writeString$1("["),(t=w.getInterceptor$asx(e)).get$isNotEmpty(e))for(n.writeObject$1(t.$index(e,0)),r=1;r<t.get$length(e);++r)n.writeString$1(","),n.writeObject$1(t.$index(e,r));n.writeString$1("]")},writeMap$1(e){var t,r,n,i,o=this,s={};if(e.get$isEmpty(e))return o.writeString$1("{}"),!0;if(t=2*e.get$length(e),r=A.List_List$filled(t,null,!1,D.nullable_Object),n=s.i=0,s.allStringKeys=!0,e.forEach$1(0,new A._JsonStringifier_writeMap_closure(s,r)),!s.allStringKeys)return!1;for(o.writeString$1("{"),i='"';n<t;n+=2,i=',"')o.writeString$1(i),o.writeStringContent$1(A._asString(r[n])),o.writeString$1('":'),o.writeObject$1(r[n+1]);return o.writeString$1("}"),!0}},A._JsonStringifier_writeMap_closure.prototype={call$2(e,t){var r,n,i,o;"string"!=typeof e&&(this._box_0.allStringKeys=!1),r=this.keyValueList,i=(n=this._box_0).i,o=n.i=i+1,r[i]=e,n.i=o+1,r[o]=t},$signature:162},A._JsonStringStringifier.prototype={get$_partialResult(){var e=this._sink._contents;return e.charCodeAt(0),e},writeNumber$1(e){this._sink._contents+=C.JSNumber_methods.toString$0(e)},writeString$1(e){this._sink._contents+=e},writeStringSlice$3(e,t,r){this._sink._contents+=C.JSString_methods.substring$2(e,t,r)},writeCharCode$1(e){var t=this._sink,r=A.Primitives_stringFromCharCode(e);t._contents+=r}},A.StringConversionSink.prototype={},A._StringSinkConversionSink.prototype={close$0(e){}},A._StringCallbackSink.prototype={close$0(e){var t=this._stringSink,r=t._contents;t._contents="",this._convert$_callback.call$1((r.charCodeAt(0),r))},asUtf8Sink$1(e){return new A._Utf8StringSinkAdapter(new A._Utf8Decoder(e),this,this._stringSink)}},A._Utf8StringSinkAdapter.prototype={close$0(e){this._decoder.flush$1(this._stringSink),this._sink.close$0(0)},add$1(e,t){this.addSlice$4(t,0,w.get$length$asx(t),!1)},addSlice$4(e,t,r,n){var i=this._stringSink,o=this._decoder._convertGeneral$4(e,t,r,!1);i._contents+=o,n&&this.close$0(0)}},A.Utf8Codec.prototype={encode$1:e=>C.C_Utf8Encoder.convert$1(e)},A.Utf8Encoder.prototype={convert$1(e){var t,r,n=A.RangeError_checkValidRange(0,null,e.length);return 0===n?new Uint8Array(0):(t=new Uint8Array(3*n),(r=new A._Utf8Encoder(t))._fillBuffer$3(e,0,n)!==n&&r._writeReplacementCharacter$0(),C.NativeUint8List_methods.sublist$2(t,0,r._bufferIndex))}},A._Utf8Encoder.prototype={_writeReplacementCharacter$0(){var e=this,t=e._buffer,r=e._bufferIndex,n=e._bufferIndex=r+1;2&t.$flags&&A.throwUnsupportedOperation(t),t[r]=239,r=e._bufferIndex=n+1,t[n]=191,e._bufferIndex=r+1,t[r]=189},_writeSurrogate$2(e,t){var r,n,i,o,s=this;return 56320==(64512&t)?(r=65536+((1023&e)<<10)|1023&t,n=s._buffer,i=s._bufferIndex,o=s._bufferIndex=i+1,2&n.$flags&&A.throwUnsupportedOperation(n),n[i]=r>>>18|240,i=s._bufferIndex=o+1,n[o]=r>>>12&63|128,o=s._bufferIndex=i+1,n[i]=r>>>6&63|128,s._bufferIndex=o+1,n[o]=63&r|128,!0):(s._writeReplacementCharacter$0(),!1)},_fillBuffer$3(e,t,r){var n,i,o,s,a,l,c,u,d=this;for(t!==r&&55296==(64512&e.charCodeAt(r-1))&&--r,i=0|(n=d._buffer).$flags,o=n.length,s=t;s<r;++s)if((a=e.charCodeAt(s))<=127){if((l=d._bufferIndex)>=o)break;d._bufferIndex=l+1,2&i&&A.throwUnsupportedOperation(n),n[l]=a}else if(55296===(l=64512&a)){if(d._bufferIndex+4>o)break;c=s+1,d._writeSurrogate$2(a,e.charCodeAt(c))&&(s=c)}else if(56320===l){if(d._bufferIndex+3>o)break;d._writeReplacementCharacter$0()}else if(a<=2047){if((u=(l=d._bufferIndex)+1)>=o)break;d._bufferIndex=u,2&i&&A.throwUnsupportedOperation(n),n[l]=a>>>6|192,d._bufferIndex=u+1,n[u]=63&a|128}else{if((l=d._bufferIndex)+2>=o)break;u=d._bufferIndex=l+1,2&i&&A.throwUnsupportedOperation(n),n[l]=a>>>12|224,l=d._bufferIndex=u+1,n[u]=a>>>6&63|128,d._bufferIndex=l+1,n[l]=63&a|128}return s}},A.Utf8Decoder.prototype={convert$1(e){return new A._Utf8Decoder(this._allowMalformed)._convertGeneral$4(e,0,null,!0)}},A._Utf8Decoder.prototype={_convertGeneral$4(e,t,r,n){var i,o,s,a,l,c=this,u=A.RangeError_checkValidRange(t,r,w.get$length$asx(e));if(t===u)return"";if(e instanceof Uint8Array?(i=e,o=0):(i=A._Utf8Decoder__makeNativeUint8List(e,t,u),u-=t,o=t,t=0),n&&u-t>=15&&(s=c.allowMalformed,null!=(a=A._Utf8Decoder__convertInterceptedUint8List(s,i,t,u)))){if(!s)return a;if(a.indexOf("�")<0)return a}if(a=c._decodeRecursive$4(i,t,u,n),1&(s=c._convert$_state))throw l=A._Utf8Decoder_errorDescription(s),c._convert$_state=0,A.wrapException(A.FormatException$(l,e,o+c._charOrIndex));return a},_decodeRecursive$4(e,t,r,n){var i,o,s=this;return r-t>1e3?(i=C.JSInt_methods._tdivFast$1(t+r,2),o=s._decodeRecursive$4(e,t,i,!1),1&s._convert$_state?o:o+s._decodeRecursive$4(e,i,r,n)):s.decodeGeneral$4(e,t,r,n)},flush$1(e){var t,r=this._convert$_state;if(this._convert$_state=0,!(r<=32)){if(!this.allowMalformed)throw A.wrapException(A.FormatException$(A._Utf8Decoder_errorDescription(77),null,null));t=A.Primitives_stringFromCharCode(65533),e._contents+=t}},decodeGeneral$4(e,t,r,n){var i,o,s,a,l,c,u,d=this,h=65533,p=d._convert$_state,m=d._charOrIndex,_=new A.StringBuffer(""),g=t+1,f=e[t];e:for(i=d.allowMalformed;;){for(;;g=a){if(o=31&"AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAFFFFFFFFFFFFFFFFGGGGGGGGGGGGGGGGHHHHHHHHHHHHHHHHHHHHHHHHHHHIHHHJEEBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBKCCCCCCCCCCCCDCLONNNMEEEEEEEEEEE".charCodeAt(f),m=p<=32?f&61694>>>o:(63&f|m<<6)>>>0,0===(p=" \x000:XECCCCCN:lDb \x000:XECCCCCNvlDb \x000:XECCCCCN:lDb AAAAA\0\0\0\0\0AAAAA00000AAAAA:::::AAAAAGG000AAAAA00KKKAAAAAG::::AAAAA:IIIIAAAAA000€0AAAAA\0\0\0\0 AAAAA".charCodeAt(p+o))){if(s=A.Primitives_stringFromCharCode(m),_._contents+=s,g===r)break e;break}if(1&p){if(!i)return d._convert$_state=p,d._charOrIndex=g-1,"";switch(p){case 69:case 67:s=A.Primitives_stringFromCharCode(h),_._contents+=s;break;case 65:s=A.Primitives_stringFromCharCode(h),_._contents+=s,--g;break;default:s=A.Primitives_stringFromCharCode(h),_._contents=(_._contents+=s)+s}p=0}if(g===r)break e;a=g+1,f=e[g]}if(a=g+1,(f=e[g])<128){for(;;){if(!(a<r)){l=r;break}if(c=a+1,(f=e[a])>=128){l=c-1,a=c;break}a=c}if(l-g<20)for(u=g;u<l;++u)s=A.Primitives_stringFromCharCode(e[u]),_._contents+=s;else s=A.String_String$fromCharCodes(e,g,l),_._contents+=s;if(l===r)break e;g=a}else g=a}if(n&&p>32){if(!i)return d._convert$_state=77,d._charOrIndex=r,"";i=A.Primitives_stringFromCharCode(h),_._contents+=i}return d._convert$_state=p,d._charOrIndex=m,(i=_._contents).charCodeAt(0),i}},A.NoSuchMethodError_toString_closure.prototype={call$2(e,t){var r=this.sb,n=this._box_0,i=(r._contents+=n.comma)+e.__internal$_name;r._contents=i,r._contents=i+": ",i=A.Error_safeToString(t),r._contents+=i,n.comma=", "},$signature:373},A.DateTime.prototype={$eq(e,t){var r;return null!=t&&(r=!1,t instanceof A.DateTime&&this._value===t._value&&(r=this._microsecond===t._microsecond),r)},get$hashCode(e){return A.Object_hash(this._value,this._microsecond,C.C_SentinelValue,C.C_SentinelValue)},isAfter$1(e){var t=this._value,r=e._value;return t=!(t<=r)||t===r&&this._microsecond>e._microsecond},compareTo$1(e,t){var r=C.JSInt_methods.compareTo$1(this._value,t._value);return 0!==r?r:C.JSInt_methods.compareTo$1(this._microsecond,t._microsecond)},toString$0(e){var t=this,r=A.DateTime__fourDigits(A.Primitives_getYear(t)),n=A.DateTime__twoDigits(A.Primitives_getMonth(t)),i=A.DateTime__twoDigits(A.Primitives_getDay(t)),o=A.DateTime__twoDigits(A.Primitives_getHours(t)),s=A.DateTime__twoDigits(A.Primitives_getMinutes(t)),a=A.DateTime__twoDigits(A.Primitives_getSeconds(t)),l=A.DateTime__threeDigits(A.Primitives_getMilliseconds(t)),c=t._microsecond;return r+"-"+n+"-"+i+" "+o+":"+s+":"+a+"."+l+(0===c?"":A.DateTime__threeDigits(c))},$isComparable:1},A.Duration.prototype={$eq(e,t){return null!=t&&(t instanceof A.Duration&&this._duration===t._duration)},get$hashCode(e){return C.JSInt_methods.get$hashCode(this._duration)},compareTo$1(e,t){return C.JSInt_methods.compareTo$1(this._duration,t._duration)},toString$0(e){var t,r,n,i=this._duration,o=C.JSInt_methods._tdivFast$1(i,36e8),s=i%36e8;return i<0?(o=0-o,i=0-s,t="-"):(i=s,t=""),r=C.JSInt_methods._tdivFast$1(i,6e7),i%=6e7,t+o+":"+(r<10?"0":"")+r+":"+((n=C.JSInt_methods._tdivFast$1(i,1e6))<10?"0":"")+n+"."+C.JSString_methods.padLeft$2(C.JSInt_methods.toString$0(i%1e6),6,"0")},$isComparable:1},A._Enum.prototype={toString$0(e){return this._enumToString$0()}},A.Error.prototype={get$stackTrace(){return A.Primitives_extractStackTrace(this)}},A.AssertionError.prototype={toString$0(e){var t=this.message;return null!=t?"Assertion failed: "+A.Error_safeToString(t):"Assertion failed"},get$message(e){return this.message}},A.TypeError.prototype={},A.ArgumentError.prototype={get$_errorName(){return"Invalid argument"+(this._hasValue?"":"(s)")},get$_errorExplanation:()=>"",toString$0(e){var t=this,r=t.name,n=null==r?"":" ("+r+")",i=t.message,o=null==i?"":": "+A.S(i),s=t.get$_errorName()+n+o;return t._hasValue?s+t.get$_errorExplanation()+": "+A.Error_safeToString(t.get$invalidValue()):s},get$invalidValue(){return this.invalidValue},get$message(e){return this.message}},A.RangeError.prototype={get$invalidValue(){return this.invalidValue},get$_errorName:()=>"RangeError",get$_errorExplanation(){var e=this.start,t=this.end;return null==e?null!=t?": Not less than or equal to "+A.S(t):"":null==t?": Not greater than or equal to "+A.S(e):t>e?": Not in inclusive range "+A.S(e)+".."+A.S(t):t<e?": Valid value range is empty":": Only valid value is "+A.S(e)}},A.IndexError.prototype={get$invalidValue(){return this.invalidValue},get$_errorName:()=>"RangeError",get$_errorExplanation(){if(this.invalidValue<0)return": index must not be negative";var e=this.length;return 0===e?": no indices are valid":": index should be less than "+e},$isRangeError:1,get$length(e){return this.length}},A.NoSuchMethodError.prototype={toString$0(e){var t,r,n,i,o,s,a,l,c=this,u={},d=new A.StringBuffer("");for(u.comma="",r=(t=c._core$_arguments).length,n=0,i="",o="";n<r;++n,o=", ")s=t[n],d._contents=i+o,i=A.Error_safeToString(s),i=d._contents+=i,u.comma=", ";return c._namedArguments.forEach$1(0,new A.NoSuchMethodError_toString_closure(u,d)),a=A.Error_safeToString(c._core$_receiver),l=d.toString$0(0),"NoSuchMethodError: method not found: '"+c._memberName.__internal$_name+"'\nReceiver: "+a+"\nArguments: ["+l+"]"}},A.UnsupportedError.prototype={toString$0(e){return"Unsupported operation: "+this.message},get$message(e){return this.message}},A.UnimplementedError.prototype={toString$0(e){return"UnimplementedError: "+this.message},get$message(e){return this.message}},A.StateError.prototype={toString$0(e){return"Bad state: "+this.message},get$message(e){return this.message}},A.ConcurrentModificationError.prototype={toString$0(e){var t=this.modifiedObject;return null==t?"Concurrent modification during iteration.":"Concurrent modification during iteration: "+A.Error_safeToString(t)+"."}},A.OutOfMemoryError.prototype={toString$0:e=>"Out of Memory",get$stackTrace:()=>null,$isError:1},A.StackOverflowError.prototype={toString$0:e=>"Stack Overflow",get$stackTrace:()=>null,$isError:1},A._Exception.prototype={toString$0(e){return"Exception: "+this.message},$isException:1,get$message(e){return this.message}},A.FormatException.prototype={toString$0(e){var t,r,n,i,o,s,a,l,c,u,d=this.message,h=""!==d?"FormatException: "+d:"FormatException",p=this.offset,m=this.source;if("string"==typeof m){if(null!=p&&(p<0||p>m.length)&&(p=null),null==p)return m.length>78&&(m=C.JSString_methods.substring$2(m,0,75)+"..."),h+"\n"+m;for(t=1,r=0,n=!1,i=0;i<p;++i)10===(o=m.charCodeAt(i))?(r===i&&n||++t,r=i+1,n=!1):13===o&&(++t,r=i+1,n=!0);for(h=t>1?h+" (at line "+t+", character "+(p-r+1)+")\n":h+" (at character "+(p+1)+")\n",s=m.length,i=p;i<s;++i)if(10===(o=m.charCodeAt(i))||13===o){s=i;break}return a="",s-r>78?(l="...",p-r<75?(c=r+75,u=r):(s-p<75?(u=s-75,c=s,l=""):(u=p-36,c=p+36),a="...")):(c=s,u=r,l=""),h+a+C.JSString_methods.substring$2(m,u,c)+l+"\n"+C.JSString_methods.$mul(" ",p-u+a.length)+"^\n"}return null!=p?h+" (at offset "+A.S(p)+")":h},$isException:1,get$message(e){return this.message}},A.Iterable.prototype={cast$1$0(e,t){return A.CastIterable_CastIterable(this,A._instanceType(this)._eval$1("Iterable.E"),t)},followedBy$1(e,t){var r=this;return D.EfficientLengthIterable_dynamic._is(r)?A.FollowedByIterable_FollowedByIterable$firstEfficient(r,t,A._instanceType(r)._eval$1("Iterable.E")):new A.FollowedByIterable(r,t,A._instanceType(r)._eval$1("FollowedByIterable<Iterable.E>"))},map$1$1(e,t,r){return A.MappedIterable_MappedIterable(this,t,A._instanceType(this)._eval$1("Iterable.E"),r)},where$1(e,t){return new A.WhereIterable(this,t,A._instanceType(this)._eval$1("WhereIterable<Iterable.E>"))},expand$1$1(e,t,r){return new A.ExpandIterable(this,t,A._instanceType(this)._eval$1("@<Iterable.E>")._bind$1(r)._eval$1("ExpandIterable<1,2>"))},contains$1(e,t){var r;for(r=this.get$iterator(this);r.moveNext$0();)if(w.$eq$(r.get$current(r),t))return!0;return!1},forEach$1(e,t){var r;for(r=this.get$iterator(this);r.moveNext$0();)t.call$1(r.get$current(r))},fold$1$2(e,t,r){var n,i;for(n=this.get$iterator(this),i=t;n.moveNext$0();)i=r.call$2(i,n.get$current(n));return i},fold$2(e,t,r){return this.fold$1$2(0,t,r,D.dynamic)},every$1(e,t){var r;for(r=this.get$iterator(this);r.moveNext$0();)if(!t.call$1(r.get$current(r)))return!1;return!0},join$1(e,t){var r,n,i=this.get$iterator(this);if(!i.moveNext$0())return"";if(r=w.toString$0$(i.get$current(i)),!i.moveNext$0())return r;if(0===t.length){n=r;do{n+=A.S(w.toString$0$(i.get$current(i)))}while(i.moveNext$0())}else{n=r;do{n=n+t+A.S(w.toString$0$(i.get$current(i)))}while(i.moveNext$0())}return n.charCodeAt(0),n},any$1(e,t){var r;for(r=this.get$iterator(this);r.moveNext$0();)if(t.call$1(r.get$current(r)))return!0;return!1},toList$1$growable(e,t){var r=A._instanceType(this)._eval$1("Iterable.E");return t?r=A.List_List$_of(this,r):(r=A.List_List$_of(this,r)).$flags=1,r},toList$0(e){return this.toList$1$growable(0,!0)},toSet$0(e){return A.LinkedHashSet_LinkedHashSet$of(this,A._instanceType(this)._eval$1("Iterable.E"))},get$length(e){var t,r=this.get$iterator(this);for(t=0;r.moveNext$0();)++t;return t},get$isEmpty(e){return!this.get$iterator(this).moveNext$0()},get$isNotEmpty(e){return!this.get$isEmpty(this)},take$1(e,t){return A.TakeIterable_TakeIterable(this,t,A._instanceType(this)._eval$1("Iterable.E"))},skip$1(e,t){return A.SkipIterable_SkipIterable(this,t,A._instanceType(this)._eval$1("Iterable.E"))},skipWhile$1(e,t){return new A.SkipWhileIterable(this,t,A._instanceType(this)._eval$1("SkipWhileIterable<Iterable.E>"))},get$first(e){var t=this.get$iterator(this);if(!t.moveNext$0())throw A.wrapException(A.IterableElementError_noElement());return t.get$current(t)},get$last(e){var t,r=this.get$iterator(this);if(!r.moveNext$0())throw A.wrapException(A.IterableElementError_noElement());do{t=r.get$current(r)}while(r.moveNext$0());return t},get$single(e){var t,r=this.get$iterator(this);if(!r.moveNext$0())throw A.wrapException(A.IterableElementError_noElement());if(t=r.get$current(r),r.moveNext$0())throw A.wrapException(A.IterableElementError_tooMany());return t},elementAt$1(e,t){var r,n;for(A.RangeError_checkNotNegative(t,"index"),r=this.get$iterator(this),n=t;r.moveNext$0();){if(0===n)return r.get$current(r);--n}throw A.wrapException(A.IndexError$withLength(t,t-n,this,null,"index"))},toString$0(e){return A.Iterable_iterableToShortString(this,"(",")")}},A._GeneratorIterable.prototype={elementAt$1(e,t){return A.IndexError_check(t,this.length,this,null,null),this._generator.call$1(t)},get$length(e){return this.length}},A.MapEntry.prototype={toString$0(e){return"MapEntry("+A.S(this.key)+": "+A.S(this.value)+")"}},A.Null.prototype={get$hashCode(e){return A.Object.prototype.get$hashCode.call(this,0)},toString$0:e=>"null"},A.Object.prototype={$isObject:1,$eq(e,t){return this===t},get$hashCode(e){return A.Primitives_objectHashCode(this)},toString$0(e){return"Instance of '"+A.Primitives_objectTypeName(this)+"'"},noSuchMethod$1(e,t){throw A.wrapException(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this,t))},get$runtimeType(e){return A.getRuntimeTypeOfDartObject(this)},toString(){return this.toString$0(this)}},A._StringStackTrace.prototype={toString$0(e){return this._stackTrace},$isStackTrace:1},A.Runes.prototype={get$iterator(e){return new A.RuneIterator(this.string)},get$last(e){var t,r,n=this.string,i=n.length;if(0===i)throw A.wrapException(A.StateError$("No elements."));return 56320==(64512&(t=n.charCodeAt(i-1)))&&i>1&&55296==(64512&(r=n.charCodeAt(i-2)))?A._combineSurrogatePair(r,t):t}},A.RuneIterator.prototype={get$current(e){return this._currentCodePoint},moveNext$0(){var e,t,r,n=this,i=n._position=n._nextPosition,o=n.string,s=o.length;return i===s?(n._currentCodePoint=-1,!1):(t=i+1,55296==(64512&(e=o.charCodeAt(i)))&&t<s&&56320==(64512&(r=o.charCodeAt(t)))?(n._nextPosition=t+1,n._currentCodePoint=A._combineSurrogatePair(e,r),!0):(n._nextPosition=t,n._currentCodePoint=e,!0))}},A.StringBuffer.prototype={get$length(e){return this._contents.length},write$1(e,t){var r=A.S(t);this._contents+=r},writeCharCode$1(e){var t=A.Primitives_stringFromCharCode(e);this._contents+=t},toString$0(e){var t=this._contents;return t.charCodeAt(0),t}},A.Uri_parseIPv6Address_error.prototype={call$2(e,t){throw A.wrapException(A.FormatException$("Illegal IPv6 address, "+e,this.host,t))},$signature:465},A._Uri.prototype={get$_text(){var e,t,r,n,i=this,o=i.___Uri__text_FI;return o===I&&(t=0!==(e=i.scheme).length?e+":":"",(n=null==(r=i._host))&&"file"!==e?e=t:(e=t+"//",0!==(t=i._userInfo).length&&(e=e+t+"@"),n||(e+=r),null!=(t=i._port)&&(e=e+":"+A.S(t))),e+=i.path,null!=(t=i._query)&&(e=e+"?"+t),null!=(t=i._fragment)&&(e=e+"#"+t),o=i.___Uri__text_FI=(e.charCodeAt(0),e)),o},get$pathSegments(){var e,t,r=this,n=r.___Uri_pathSegments_FI;return n===I&&(0!==(e=r.path).length&&47===e.charCodeAt(0)&&(e=C.JSString_methods.substring$1(e,1)),t=0===e.length?C.List_empty:A.List_List$unmodifiable(new A.MappedListIterable(A._setArrayType(e.split("/"),D.JSArray_String),A.core_Uri_decodeComponent$closure(),D.MappedListIterable_String_dynamic),D.String),r.___Uri_pathSegments_FI!==I&&A.throwUnnamedLateFieldADI(),n=r.___Uri_pathSegments_FI=t),n},get$hashCode(e){var t,r=this,n=r.___Uri_hashCode_FI;return n===I&&(t=C.JSString_methods.get$hashCode(r.get$_text()),r.___Uri_hashCode_FI!==I&&A.throwUnnamedLateFieldADI(),r.___Uri_hashCode_FI=t,n=t),n},get$userInfo(){return this._userInfo},get$host(){var e=this._host;return null==e?"":C.JSString_methods.startsWith$1(e,"[")&&!C.JSString_methods.startsWith$2(e,"v",1)?C.JSString_methods.substring$2(e,1,e.length-1):e},get$port(e){var t=this._port;return null==t?A._Uri__defaultPort(this.scheme):t},get$query(){var e=this._query;return null==e?"":e},get$fragment(){var e=this._fragment;return null==e?"":e},isScheme$1(e){var t=this.scheme;return e.length===t.length&&A._caseInsensitiveCompareStart(e,t,0)>=0},replace$1$scheme(e){var t,r,n,i,o,s,a=this;return t="file"===(e=A._Uri__makeScheme(e,0,e.length)),r=a._userInfo,n=a._port,e!==a.scheme&&(n=A._Uri__makePort(n,e)),null==(i=a._host)&&(i=0!==r.length||null!=n||t?"":null),o=a.path,(!!t||null!=i&&0!==o.length)&&!C.JSString_methods.startsWith$1(o,"/")&&(o="/"+o),s=o,A._Uri$_internal(e,r,i,n,s,a._query,a._fragment)},_mergePaths$2(e,t){var r,n,i,o,s,a,l;for(r=0,n=0;C.JSString_methods.startsWith$2(t,"../",n);)n+=3,++r;for(i=C.JSString_methods.lastIndexOf$1(e,"/");i>0&&r>0&&!((o=C.JSString_methods.lastIndexOf$2(e,"/",i-1))<0)&&(l=!1,!(a=(a=2!==(s=i-o))&&3!==s?l:46===e.charCodeAt(o+1)?!a||46===e.charCodeAt(o+2):l));)--r,i=o;return C.JSString_methods.replaceRange$3(e,i+1,null,C.JSString_methods.substring$1(t,n-3*r))},resolve$1(e,t){return this.resolveUri$1(A.Uri_parse(t))},resolveUri$1(e){var t,r,n,i,o,s,a,l,c,u,d,h,p=this,m=null;if(0!==e.get$scheme().length){if(D._PlatformUri._is(e))return e;t=e.get$scheme(),e.get$hasAuthority()?(r=e.get$userInfo(),n=e.get$host(),i=e.get$hasPort()?e.get$port(e):m):(n=i=m,r=""),o=A._Uri__removeDotSegments(e.get$path(e)),s=e.get$hasQuery()?e.get$query():m,a=0}else if(t=p.scheme,e.get$hasAuthority()){if(D._PlatformUri._is(e))return e.replace$1$scheme(t);r=e.get$userInfo(),n=e.get$host(),i=A._Uri__makePort(e.get$hasPort()?e.get$port(e):m,t),o=A._Uri__removeDotSegments(e.get$path(e)),s=e.get$hasQuery()?e.get$query():m,a=1}else r=p._userInfo,n=p._host,i=p._port,o=p.path,e.get$hasEmptyPath()?e.get$hasQuery()?(s=e.get$query(),a=3):(s=p._query,a=4):((l=A._Uri__packageNameEnd(p,o))>0?(c=C.JSString_methods.substring$2(o,0,l),o=e.get$hasAbsolutePath()?c+A._Uri__removeDotSegments(e.get$path(e)):c+A._Uri__removeDotSegments(p._mergePaths$2(C.JSString_methods.substring$1(o,c.length),e.get$path(e)))):e.get$hasAbsolutePath()?o=A._Uri__removeDotSegments(e.get$path(e)):0===o.length?o=null==n?0===t.length?e.get$path(e):A._Uri__removeDotSegments(e.get$path(e)):A._Uri__removeDotSegments("/"+e.get$path(e)):(u=p._mergePaths$2(o,e.get$path(e)),o=!(d=0===t.length)||null!=n||C.JSString_methods.startsWith$1(o,"/")?A._Uri__removeDotSegments(u):A._Uri__normalizeRelativePath(u,!d||null!=n)),s=e.get$hasQuery()?e.get$query():m,a=2);return h=e.get$hasFragment()?e.get$fragment():m,D._PlatformUri._is(e)||(0===a&&(t=A._Uri__makeScheme(t,0,t.length)),a<=1&&(0!==(d=r.length)&&(r=A._Uri__makeUserInfo(r,0,d)),null!=i&&(i=A._Uri__makePort(i,t)),null!=n&&0!==n.length&&(n=A._Uri__makeHost(n,0,n.length,!1))),(d=a<=3)&&(o=A._Uri__makePath(o,0,o.length,m,t,null!=n)),d&&null!=s&&(s=A._Uri__makeQuery(s,0,s.length,m)),null!=h&&(h=A._Uri__makeFragment(h,0,h.length))),A._Uri$_internal(t,r,n,i,o,s,h)},get$hasAuthority(){return null!=this._host},get$hasPort(){return null!=this._port},get$hasQuery(){return null!=this._query},get$hasFragment(){return null!=this._fragment},get$hasEmptyPath(){return 0===this.path.length},get$hasAbsolutePath(){return C.JSString_methods.startsWith$1(this.path,"/")},toFilePath$0(){var e,t=this,r=t.scheme;if(""!==r&&"file"!==r)throw A.wrapException(A.UnsupportedError$("Cannot extract a file path from a "+r+" URI"));if(""!==(null==(r=t._query)?"":r))throw A.wrapException(A.UnsupportedError$(P.Cannotfq));if(""!==(null==(r=t._fragment)?"":r))throw A.wrapException(A.UnsupportedError$(P.Cannotff));return(r=I.$get$_Uri__isWindowsCached())?r=A._Uri__toWindowsFilePath(t):(null!=t._host&&""!==t.get$host()&&A.throwExpression(A.UnsupportedError$(P.Cannotn)),e=t.get$pathSegments(),A._Uri__checkNonWindowsPathReservedCharacters(e,!1),(r=A.StringBuffer__writeAll(C.JSString_methods.startsWith$1(t.path,"/")?"/":"",e,"/")).charCodeAt(0)),r},toString$0(e){return this.get$_text()},$eq(e,t){var r,n,i,o=this;return null!=t&&(o===t||(r=!1,D.Uri._is(t)&&o.scheme===t.get$scheme()&&null!=o._host===t.get$hasAuthority()&&o._userInfo===t.get$userInfo()&&o.get$host()===t.get$host()&&o.get$port(0)===t.get$port(t)&&o.path===t.get$path(t)&&!(i=null==(n=o._query))===t.get$hasQuery()&&(i&&(n=""),n===t.get$query()&&!(i=null==(n=o._fragment))===t.get$hasFragment()&&(r=(r=i?"":n)===t.get$fragment())),r))},$isUri:1,$is_PlatformUri:1,get$scheme(){return this.scheme},get$path(e){return this.path}},A._Uri__makePath_closure.prototype={call$1:e=>A._Uri__uriEncode(64,e,C.C_Utf8Codec,!1),$signature:6},A.UriData.prototype={get$uri(){var e,t,r,n,i=this,o=null,s=i._uriCache;return null==s&&(s=i._text,e=i._separatorIndices[0]+1,t=C.JSString_methods.indexOf$2(s,"?",e),r=s.length,t>=0?(n=A._Uri__normalizeOrSubstring(s,t+1,r,256,!1,!1),r=t):n=o,s=i._uriCache=new A._DataUri("data","",o,o,A._Uri__normalizeOrSubstring(s,e,r,128,!1,!1),n,o)),s},toString$0(e){var t=this._text;return-1===this._separatorIndices[0]?"data:"+t:t}},A._SimpleUri.prototype={get$hasAuthority(){return this._hostStart>0},get$hasPort(){return this._hostStart>0&&this._portStart+1<this._pathStart},get$hasQuery(){return this._queryStart<this._fragmentStart},get$hasFragment(){return this._fragmentStart<this._uri.length},get$hasAbsolutePath(){return C.JSString_methods.startsWith$2(this._uri,"/",this._pathStart)},get$hasEmptyPath(){return this._pathStart===this._queryStart},get$scheme(){var e=this._schemeCache;return null==e?this._schemeCache=this._computeScheme$0():e},_computeScheme$0(){var e,t=this,r=t._schemeEnd;return r<=0?"":(e=4===r)&&C.JSString_methods.startsWith$1(t._uri,"http")?"http":5===r&&C.JSString_methods.startsWith$1(t._uri,"https")?"https":e&&C.JSString_methods.startsWith$1(t._uri,"file")?"file":7===r&&C.JSString_methods.startsWith$1(t._uri,"package")?"package":C.JSString_methods.substring$2(t._uri,0,r)},get$userInfo(){var e=this._hostStart,t=this._schemeEnd+3;return e>t?C.JSString_methods.substring$2(this._uri,t,e-1):""},get$host(){var e=this._hostStart;return e>0?C.JSString_methods.substring$2(this._uri,e,this._portStart):""},get$port(e){var t,r=this;return r.get$hasPort()?A.int_parse(C.JSString_methods.substring$2(r._uri,r._portStart+1,r._pathStart),null):4===(t=r._schemeEnd)&&C.JSString_methods.startsWith$1(r._uri,"http")?80:5===t&&C.JSString_methods.startsWith$1(r._uri,"https")?443:0},get$path(e){return C.JSString_methods.substring$2(this._uri,this._pathStart,this._queryStart)},get$query(){var e=this._queryStart,t=this._fragmentStart;return e<t?C.JSString_methods.substring$2(this._uri,e+1,t):""},get$fragment(){var e=this._fragmentStart,t=this._uri;return e<t.length?C.JSString_methods.substring$1(t,e+1):""},get$pathSegments(){var e,t,r=this._pathStart,n=this._queryStart,i=this._uri;if(C.JSString_methods.startsWith$2(i,"/",r)&&++r,r===n)return C.List_empty;for(e=A._setArrayType([],D.JSArray_String),t=r;t<n;++t)47===i.charCodeAt(t)&&(e.push(C.JSString_methods.substring$2(i,r,t)),r=t+1);return e.push(C.JSString_methods.substring$2(i,r,n)),A.List_List$unmodifiable(e,D.String)},_isPort$1(e){var t=this._portStart+1;return t+e.length===this._pathStart&&C.JSString_methods.startsWith$2(this._uri,e,t)},removeFragment$0(){var e=this,t=e._fragmentStart,r=e._uri;return t>=r.length?e:new A._SimpleUri(C.JSString_methods.substring$2(r,0,t),e._schemeEnd,e._hostStart,e._portStart,e._pathStart,e._queryStart,t,e._schemeCache)},replace$1$scheme(e){var t,r,n,i,o,s,a,l,c,u,d,h=this,p=null;return e=A._Uri__makeScheme(e,0,e.length),t=!(h._schemeEnd===e.length&&C.JSString_methods.startsWith$1(h._uri,e)),r="file"===e,i=(n=h._hostStart)>0?C.JSString_methods.substring$2(h._uri,h._schemeEnd+3,n):"",o=h.get$hasPort()?h.get$port(0):p,t&&(o=A._Uri__makePort(o,e)),s=(n=h._hostStart)>0?C.JSString_methods.substring$2(h._uri,n,h._portStart):0!==i.length||null!=o||r?"":p,n=h._uri,a=h._queryStart,l=C.JSString_methods.substring$2(n,h._pathStart,a),(c=!!r||null!=s&&0!==l.length)&&!C.JSString_methods.startsWith$1(l,"/")&&(l="/"+l),u=a<(c=h._fragmentStart)?C.JSString_methods.substring$2(n,a+1,c):p,d=(a=h._fragmentStart)<n.length?C.JSString_methods.substring$1(n,a+1):p,A._Uri$_internal(e,i,s,o,l,u,d)},resolve$1(e,t){return this.resolveUri$1(A.Uri_parse(t))},resolveUri$1(e){return e instanceof A._SimpleUri?this._simpleMerge$2(this,e):this._toNonSimple$0().resolveUri$1(e)},_simpleMerge$2(e,t){var r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f=t._schemeEnd;if(f>0)return t;if((r=t._hostStart)>0)return(n=e._schemeEnd)<=0?t:((i=4===n)&&C.JSString_methods.startsWith$1(e._uri,"file")?t._pathStart!==t._queryStart:i&&C.JSString_methods.startsWith$1(e._uri,"http")?!t._isPort$1("80"):!(5===n&&C.JSString_methods.startsWith$1(e._uri,"https")&&t._isPort$1("443")))?(o=n+1,new A._SimpleUri(C.JSString_methods.substring$2(e._uri,0,o)+C.JSString_methods.substring$1(t._uri,f+1),n,r+o,t._portStart+o,t._pathStart+o,t._queryStart+o,t._fragmentStart+o,e._schemeCache)):this._toNonSimple$0().resolveUri$1(t);if((s=t._pathStart)===(f=t._queryStart))return f<(r=t._fragmentStart)?(o=(n=e._queryStart)-f,new A._SimpleUri(C.JSString_methods.substring$2(e._uri,0,n)+C.JSString_methods.substring$1(t._uri,f),e._schemeEnd,e._hostStart,e._portStart,e._pathStart,f+o,r+o,e._schemeCache)):r<(f=t._uri).length?(n=e._fragmentStart,new A._SimpleUri(C.JSString_methods.substring$2(e._uri,0,n)+C.JSString_methods.substring$1(f,r),e._schemeEnd,e._hostStart,e._portStart,e._pathStart,e._queryStart,r+(n-r),e._schemeCache)):e.removeFragment$0();if(r=t._uri,C.JSString_methods.startsWith$2(r,"/",s))return a=e._pathStart,o=(c=(l=A._SimpleUri__packageNameEnd(this))>0?l:a)-s,new A._SimpleUri(C.JSString_methods.substring$2(e._uri,0,c)+C.JSString_methods.substring$1(r,s),e._schemeEnd,e._hostStart,e._portStart,a,f+o,t._fragmentStart+o,e._schemeCache);if((u=e._pathStart)===(d=e._queryStart)&&e._hostStart>0){for(;C.JSString_methods.startsWith$2(r,"../",s);)s+=3;return o=u-s+1,new A._SimpleUri(C.JSString_methods.substring$2(e._uri,0,u)+"/"+C.JSString_methods.substring$1(r,s),e._schemeEnd,e._hostStart,e._portStart,u,f+o,t._fragmentStart+o,e._schemeCache)}if(h=e._uri,(l=A._SimpleUri__packageNameEnd(this))>=0)p=l;else for(p=u;C.JSString_methods.startsWith$2(h,"../",p);)p+=3;for(m=0;(_=s+3)<=f&&C.JSString_methods.startsWith$2(r,"../",s);)++m,s=_;for(g="";d>p;)if(--d,47===h.charCodeAt(d)){if(0===m){g="/";break}--m,g="/"}return d===p&&e._schemeEnd<=0&&!C.JSString_methods.startsWith$2(h,"/",u)&&(s-=3*m,g=""),o=d-s+g.length,new A._SimpleUri(C.JSString_methods.substring$2(h,0,d)+g+C.JSString_methods.substring$1(r,s),e._schemeEnd,e._hostStart,e._portStart,u,f+o,t._fragmentStart+o,e._schemeCache)},toFilePath$0(){var e,t=this,r=t._schemeEnd;if(r=r>=0&&(e=!(4===r&&C.JSString_methods.startsWith$1(t._uri,"file"))))throw A.wrapException(A.UnsupportedError$("Cannot extract a file path from a "+t.get$scheme()+" URI"));if((r=t._queryStart)<(e=t._uri).length){if(r<t._fragmentStart)throw A.wrapException(A.UnsupportedError$(P.Cannotfq));throw A.wrapException(A.UnsupportedError$(P.Cannotff))}return I.$get$_Uri__isWindowsCached()?r=A._Uri__toWindowsFilePath(t):(t._hostStart<t._portStart&&A.throwExpression(A.UnsupportedError$(P.Cannotn)),r=C.JSString_methods.substring$2(e,t._pathStart,r)),r},get$hashCode(e){var t=this._hashCodeCache;return null==t?this._hashCodeCache=C.JSString_methods.get$hashCode(this._uri):t},$eq(e,t){return null!=t&&(this===t||D.Uri._is(t)&&this._uri===t.toString$0(0))},_toNonSimple$0(){var e=this,t=null,r=e.get$scheme(),n=e.get$userInfo(),i=e._hostStart>0?e.get$host():t,o=e.get$hasPort()?e.get$port(0):t,s=e._uri,a=e._queryStart,l=C.JSString_methods.substring$2(s,e._pathStart,a),c=e._fragmentStart;return a=a<c?e.get$query():t,A._Uri$_internal(r,n,i,o,l,a,c<s.length?e.get$fragment():t)},toString$0(e){return this._uri},$isUri:1,$is_PlatformUri:1},A._DataUri.prototype={},A.Expando.prototype={$indexSet(e,t,r){t instanceof A._Record&&A.Expando__badExpandoKey(t),this._jsWeakMap.set(t,r)},toString$0:e=>"Expando:null"},A.NullRejectionException.prototype={toString$0(e){return"Promise was rejected with a value of `"+(this.isUndefined?"undefined":"null")+"`."},$isException:1},A.jsify__convert.prototype={call$1(e){var t,r,n,i;if(A._noJsifyRequired(e))return e;if((t=this._convertedObjects).containsKey$1(e))return t.$index(0,e);if(D.Map_dynamic_dynamic._is(e)){for(r={},t.$indexSet(0,e,r),t=(t=e.get$keys(e)).get$iterator(t);t.moveNext$0();)r[n=t.get$current(t)]=this.call$1(e.$index(0,n));return r}return D.Iterable_dynamic._is(e)?(i=[],t.$indexSet(0,e,i),C.JSArray_methods.addAll$1(i,w.map$1$1$ax(e,this,D.dynamic)),i):e},$signature:542},A.promiseToFuture_closure.prototype={call$1(e){return this.completer.complete$1(e)},$signature:71},A.promiseToFuture_closure0.prototype={call$1(e){return null==e?this.completer.completeError$1(new A.NullRejectionException(void 0===e)):this.completer.completeError$1(e)},$signature:71},A._JSRandom.prototype={nextInt$1(e){if(e<=0||e>4294967296)throw A.wrapException(A.RangeError$("max must be in range 0 < max ≤ 2^32, was "+e));return Math.random()*e>>>0},nextDouble$0:()=>Math.random()},A.ArgParser.prototype={addFlag$6$abbr$defaultsTo$help$hide$negatable(e,t,r,n,i,o){var s=null;this._addOption$13$aliases$hide$hideNegatedUsage$negatable(e,t,n,s,s,s,r,s,C.OptionType_tI9,C.List_empty,i,!1,o)},addFlag$2$hide(e,t){return this.addFlag$6$abbr$defaultsTo$help$hide$negatable(e,null,!1,null,t,!0)},addFlag$2$help(e,t){return this.addFlag$6$abbr$defaultsTo$help$hide$negatable(e,null,!1,t,!1,!0)},addFlag$3$defaultsTo$help(e,t,r){return this.addFlag$6$abbr$defaultsTo$help$hide$negatable(e,null,t,r,!1,!0)},addFlag$3$help$negatable(e,t,r){return this.addFlag$6$abbr$defaultsTo$help$hide$negatable(e,null,!1,t,!1,r)},addFlag$3$abbr$help(e,t,r){return this.addFlag$6$abbr$defaultsTo$help$hide$negatable(e,t,!1,r,!1,!0)},addFlag$4$abbr$help$negatable(e,t,r,n){return this.addFlag$6$abbr$defaultsTo$help$hide$negatable(e,t,!1,r,!1,n)},addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp(e,t,r,n,i,o,s){this._addOption$12$aliases$hide$mandatory(e,t,i,s,r,null,n,null,C.OptionType_zZK,C.List_empty,o,!1)},addOption$2$hide(e,t){var r=null;return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp(e,r,r,r,r,t,r)},addOption$6$abbr$allowed$defaultsTo$help$valueHelp(e,t,r,n,i,o){return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp(e,t,r,n,i,!1,o)},addOption$4$allowed$defaultsTo$help(e,t,r,n){return this.addOption$7$abbr$allowed$defaultsTo$help$hide$valueHelp(e,null,t,r,n,!1,null)},addMultiOption$7$abbr$allowed$allowedHelp$help$splitCommas$valueHelp(e,t,r,n,i,o,s){var a=A._setArrayType([],D.JSArray_String);this._addOption$12$aliases$hide$splitCommas(e,t,i,s,r,n,a,null,C.OptionType_1Ol,C.List_empty,!1,o)},addMultiOption$5$abbr$help$splitCommas$valueHelp(e,t,r,n,i){return this.addMultiOption$7$abbr$allowed$allowedHelp$help$splitCommas$valueHelp(e,t,null,null,r,n,i)},addMultiOption$6$abbr$allowed$allowedHelp$help$valueHelp(e,t,r,n,i,o){return this.addMultiOption$7$abbr$allowed$allowedHelp$help$splitCommas$valueHelp(e,t,r,n,i,!0,o)},addMultiOption$2$help(e,t){var r=null;return this.addMultiOption$7$abbr$allowed$allowedHelp$help$splitCommas$valueHelp(e,r,r,r,t,!0,r)},_addOption$15$aliases$hide$hideNegatedUsage$mandatory$negatable$splitCommas(e,t,r,n,i,o,s,a,l,c,u,d,h,p,m){var _,g,f,v,b=this,y=null,$=A._setArrayType([e],D.JSArray_String);if(C.JSArray_methods.addAll$1($,c),C.JSArray_methods.any$1($,new A.ArgParser__addOption_closure(b)))throw A.wrapException(A.ArgumentError$('Duplicate option or alias "'+e+'".',y));if(($=null!=t)&&null!=(_=b.findByAbbreviation$1(t)))throw A.wrapException(A.ArgumentError$('Abbreviation "'+t+'" is already used by "'+_.name+'".',y));g=null==i?y:A.List_List$unmodifiable(i,D.String),null==o?f=y:(f=D.String,f=A.ConstantMap_ConstantMap$from(o,f,f)),v=new A.Option(e,t,r,n,g,f,s,p,!1,a,l,null==m?l===C.OptionType_1Ol:m,!1,u),0===e.length?A.throwExpression(A.ArgumentError$("Name cannot be empty.",y)):C.JSString_methods.startsWith$1(e,"-")&&A.throwExpression(A.ArgumentError$("Name "+e+' cannot start with "-".',y)),(g=I.$get$Option__invalidChars()._nativeRegExp).test(e)&&A.throwExpression(A.ArgumentError$('Name "'+e+'" contains invalid characters.',y)),$&&(1!==t.length?A.throwExpression(A.ArgumentError$("Abbreviation must be null or have length 1.",y)):"-"===t&&A.throwExpression(A.ArgumentError$('Abbreviation cannot be "-".',y)),g.test(t)&&A.throwExpression(A.ArgumentError$("Abbreviation is an invalid character.",y))),b._arg_parser$_options.$indexSet(0,e,v),b._optionsAndSeparators.push(v),$=b._aliases},_addOption$12$aliases$hide$splitCommas(e,t,r,n,i,o,s,a,l,c,u,d){return this._addOption$15$aliases$hide$hideNegatedUsage$mandatory$negatable$splitCommas(e,t,r,n,i,o,s,a,l,c,u,!1,!1,!1,d)},_addOption$12$aliases$hide$mandatory(e,t,r,n,i,o,s,a,l,c,u,d){return this._addOption$15$aliases$hide$hideNegatedUsage$mandatory$negatable$splitCommas(e,t,r,n,i,o,s,a,l,c,u,!1,d,!1,null)},_addOption$13$aliases$hide$hideNegatedUsage$negatable(e,t,r,n,i,o,s,a,l,c,u,d,h){return this._addOption$15$aliases$hide$hideNegatedUsage$mandatory$negatable$splitCommas(e,t,r,n,i,o,s,a,l,c,u,d,!1,h,null)},findByAbbreviation$1(e){var t,r;for(t=(t=(t=this.options._map).get$values(t)).get$iterator(t);t.moveNext$0();)if((r=t.get$current(t)).abbr===e)return r;return null},findByNameOrAlias$1(e){var t=this._aliases.$index(0,e);return null==t&&(t=e),this.options._map.$index(0,t)}},A.ArgParser__addOption_closure.prototype={call$1(e){return null!=this.$this.findByNameOrAlias$1(e)},$signature:4},A.ArgParserException.prototype={},A.ArgResults.prototype={$index(e,t){var r=this._parser.options._map;if(!r.containsKey$1(t))throw A.wrapException(A.ArgumentError$('Could not find an option named "--'+t+'".',null));return(r=r.$index(0,t)).toString,r.valueOrDefault$1(this._parsed.$index(0,t))},wasParsed$1(e){if(!this._parser.options._map.containsKey$1(e))throw A.wrapException(A.ArgumentError$('Could not find an option named "--'+e+'".',null));return this._parsed.containsKey$1(e)}},A.Option.prototype={valueOrDefault$1(e){var t;return null!=e?e:this.type===C.OptionType_1Ol?null==(t=this.defaultsTo)?A._setArrayType([],D.JSArray_String):t:this.defaultsTo}},A.OptionType.prototype={},A.Parser0.prototype={parse$0(e){var t,r,n,i,o,s,a,l,c,u,d,h=this,p=h._args;for(p.toList$0(0),o=h._parser$_rest,a=(s=h._grammar).commands,l=p.$ti._precomputed1;!p.get$isEmpty(0);){if((c=p._head)===p._tail&&A.throwExpression(A.IterableElementError_noElement()),"--"===((u=null==(c=p._table[c]))?l._as(c):c)){p.removeFirst$0();break}if(u&&(c=l._as(c)),null!=(d=a._map.$index(0,c))){a=o.length,(c=p._head)===p._tail&&A.throwExpression(A.IterableElementError_noElement()),l=null==(c=p._table[c])?l._as(c):c,0!==a&&A.throwExpression(A.ArgParserException$("Cannot specify arguments before a command.",null,l,null,null)),t=p.removeFirst$0(),a=D.JSArray_String,l=A._setArrayType([],a),C.JSArray_methods.addAll$1(l,o),r=new A.Parser0(t,h,d,p,l,A.LinkedHashMap_LinkedHashMap$_empty(D.String,D.dynamic));try{w.parse$0$z(r)}catch(e){throw(p=A.unwrapException(e))instanceof A.ArgParserException?(p=(n=p).message,i=A._setArrayType([t],a),w.addAll$1$ax(i,n.commands),A.wrapException(A.ArgParserException$(p,i,n.argumentName,n.source,n.offset))):e}C.JSArray_methods.clear$0(o);break}h._parseSoloOption$0()||(h._parseAbbreviation$1(h)||h._parseLongOption$0()||o.push(p.removeFirst$0()))}return s.options._map.forEach$1(0,new A.Parser_parse_closure(h)),C.JSArray_methods.addAll$1(o,p),p.clear$0(0),new A.ArgResults(s,h._results,h._commandName,new A.UnmodifiableListView(o,D.UnmodifiableListView_String))},_readNextArgAsValue$2(e,t){var r=this,n=r._args;r._validate$3(!n.get$isEmpty(0),'Missing argument for "'+t+'".',t),r._setOption$4(r._results,e,n.get$first(0),t),n.removeFirst$0()},_parseSoloOption$0(){var e,t=this._args;return 2===t.get$first(0).length&&(!!C.JSString_methods.startsWith$1(t.get$first(0),"-")&&(e=t.get$first(0)[1],!!A._isLetterOrDigit(e.charCodeAt(0))&&(this._handleSoloOption$1(e),!0)))},_handleSoloOption$1(e){var t,r=this,n=r._grammar.findByAbbreviation$1(e);return null==n?(t=r._parser$_parent,r._validate$3(null!=t,'Could not find an option or flag "-'+e+'".',"-"+e),t._handleSoloOption$1(e),!0):(r._args.removeFirst$0(),n.type===C.OptionType_tI9?r._results.$indexSet(0,n.name,!0):r._readNextArgAsValue$2(n,"-"+e),!0)},_parseAbbreviation$1(e){var t,r,n,i,o,s,a,l=this._args;if(l.get$first(0).length<2)return!1;if(!C.JSString_methods.startsWith$1(l.get$first(0),"-"))return!1;for(t=l.$ti._precomputed1,r=1;(n=l._head)===l._tail&&A.throwExpression(A.IterableElementError_noElement()),r<((i=null==(n=l._table[n]))?t._as(n):n).length?(o=!0,n=(n=(i?t._as(n):n).charCodeAt(r))>=65&&n<=90||n>=97&&n<=122?o:n>=48&&n<=57):n=!1,n;)++r;return 1!==r&&(s=C.JSString_methods.substring$2(l.get$first(0),1,r),a=C.JSString_methods.substring$1(l.get$first(0),r),!C.JSString_methods.contains$1(a,"\n")&&!C.JSString_methods.contains$1(a,"\r")&&(this._handleAbbreviation$3(s,a,e),!0))},_handleAbbreviation$3(e,t,r){var n,i,o,s=this,a=C.JSString_methods.substring$2(e,0,1),l=s._grammar.findByAbbreviation$1(a);if(null==l)return n=s._parser$_parent,s._validate$3(null!=n,P.Could_+a+'".',"-"+a),n._handleAbbreviation$3(e,t,r),!0;if(n="-"+a,l.type!==C.OptionType_tI9)s._setOption$4(s._results,l,C.JSString_methods.substring$1(e,1)+t,n);else for(s._validate$3(""===t,'Option "-'+a+'" is a flag and cannot handle value "'+C.JSString_methods.substring$1(e,1)+t+'".',n),n=e.length,i=0;i<n;i=o)o=i+1,r._parseShortFlag$1(C.JSString_methods.substring$2(e,i,o));return s._args.removeFirst$0(),!0},_parseShortFlag$1(e){var t,r=this,n=r._grammar.findByAbbreviation$1(e);if(null==n)return t=r._parser$_parent,r._validate$3(null!=t,P.Could_+e+'".',"-"+e),void t._parseShortFlag$1(e);r._validate$3(n.type===C.OptionType_tI9,'Option "-'+e+'" must be a flag to be in a collapsed "-".',"-"+e),r._results.$indexSet(0,n.name,!0)},_parseLongOption$0(){var e,t,r,n,i,o,s,a,l=this._args;if(!C.JSString_methods.startsWith$1(l.get$first(0),"--"))return!1;for(n=(r=(t=-1===(e=C.JSString_methods.indexOf$1(l.get$first(0),"=")))?C.JSString_methods.substring$1(l.get$first(0),2):C.JSString_methods.substring$2(l.get$first(0),2,e)).length,i=0;i!==n;++i)if(s=!0,(o=r.charCodeAt(i))>=65&&o<=90||o>=97&&o<=122||(s=o>=48&&o<=57),!s&&45!==o&&95!==o)return!1;return a=t?null:C.JSString_methods.substring$1(l.get$first(0),e+1),!(l=null!=a&&(C.JSString_methods.contains$1(a,"\n")||C.JSString_methods.contains$1(a,"\r")))&&(this._handleLongOption$2(r,a),!0)},_handleLongOption$2(e,t){var r=this,n='Could not find an option named "--',i=r._grammar,o=i.findByNameOrAlias$1(e);if(null!=o)r._args.removeFirst$0(),o.type===C.OptionType_tI9?(r._validate$3(null==t,'Flag option "--'+e+'" should not be given a value.',"--"+e),r._results.$indexSet(0,o.name,!0)):(i="--"+e,null!=t?r._setOption$4(r._results,o,t,i):r._readNextArgAsValue$2(o,i));else{if(!C.JSString_methods.startsWith$1(e,"no-"))return i=r._parser$_parent,r._validate$3(null!=i,n+e+'".',"--"+e),i._handleLongOption$2(e,t),!0;if(null==(o=i.findByNameOrAlias$1(C.JSString_methods.substring$1(e,3))))return i=r._parser$_parent,r._validate$3(null!=i,n+e+'".',"--"+e),i._handleLongOption$2(e,t),!0;r._args.removeFirst$0(),i="--"+e,r._validate$3(o.type===C.OptionType_tI9,'Cannot negate non-flag option "--'+e+'".',i),r._validate$3(o.negatable,'Cannot negate option "--'+e+'".',i),r._results.$indexSet(0,o.name,!1)}return!0},_validate$3(e,t,r){if(!e)throw A.wrapException(A.ArgParserException$(t,null,r,null,null))},_setOption$4(e,t,r,n){var i,o,s,a,l,c;if(t.type!==C.OptionType_1Ol)return this._validateAllowed$3(t,r,n),void e.$indexSet(0,t.name,r);if(i=D.List_dynamic._as(e.putIfAbsent$2(t.name,new A.Parser__setOption_closure)),t.splitCommas)for(s=(o=r.split(",")).length,a=w.getInterceptor$ax(i),l=0;l<s;++l)c=o[l],this._validateAllowed$3(t,c,n),a.add$1(i,c);else this._validateAllowed$3(t,r,n),w.add$1$ax(i,r)},_validateAllowed$3(e,t,r){var n=e.allowed;null!=n&&this._validate$3(C.JSArray_methods.contains$1(n,t),'"'+t+'" is not an allowed value for option "'+r+'".',r)}},A.Parser_parse_closure.prototype={call$2(e,t){var r=this.$this._results.$index(0,e),n=t.callback;null!=n&&n.call$1(t.valueOrDefault$1(r))},$signature:311},A.Parser__setOption_closure.prototype={call$0:()=>A._setArrayType([],D.JSArray_String),$signature:139},A._Usage.prototype={get$_columnWidths(){var e,t=this,r=t.___Usage__columnWidths_FI;return r===I&&(e=t._calculateColumnWidths$0(),t.___Usage__columnWidths_FI!==I&&A.throwUnnamedLateFieldADI(),t.___Usage__columnWidths_FI=e,r=e),r},generate$0(){var e,t,r,n,i,o,s,a=this;for(t=(e=a._usage$_optionsAndSeparators).length,r=D.Option,n=a._usage$_buffer,i=0;i<e.length;e.length===t||(0,A.throwConcurrentModificationError)(e),++i)"string"!=typeof(o=e[i])?(r._as(o),o.hide||a._writeOption$1(o)):(s=n._contents,n._contents=(0!==s.length?n._contents=s+"\n\n":s)+o,a._newlinesNeeded=1);return(e=n._contents).charCodeAt(0),e},_writeOption$1(e){var t,r,n,i,o,s,a,l=this,c=e.abbr;if(l._write$2(0,null==c?"":"-"+c+", "),c=l._longOption$1(e),l._write$2(1,c),null!=(t=e.help)&&l._write$2(2,t),null!=(r=e.allowedHelp)){for(l._newline$0(),c=(c=r.get$entries(r)).get$iterator(c),n=e.defaultsTo,i=D.List_dynamic._is(n);c.moveNext$0();)s=(o=c.get$current(c)).key,a=o.value,o=(i?C.JSArray_methods.contains$1(n,s):n===s)?" (default)":"",l._write$2(1,"      ["+s+"]"+o),l._write$2(2,a);l._newline$0()}else null!=e.allowed?l._write$2(2,l._buildAllowedList$1(e)):(c=e.type)===C.OptionType_tI9?!0===e.defaultsTo&&l._write$2(2,"(defaults to on)"):c===C.OptionType_1Ol?null!=(c=e.defaultsTo)&&0!==D.Iterable_dynamic._as(c).length&&(D.List_dynamic._as(c),l._write$2(2,"(defaults to "+new A.MappedListIterable(c,new A._Usage__writeOption_closure,A._arrayInstanceType(c)._eval$1("MappedListIterable<1,String>")).join$1(0,", ")+")")):null!=(c=e.defaultsTo)&&l._write$2(2,'(defaults to "'+A.S(c)+'")')},_longOption$1(e){var t=e.name,r=e.negatable?"--[no-]"+t:"--"+t;return null!=(t=e.valueHelp)?r+"=<"+t+">":r},_calculateColumnWidths$0(){var e,t,r,n,i,o,s,a,l,c,u,d;for(t=(e=this._usage$_optionsAndSeparators).length,r=D.List_dynamic,n=0,i=0,o=0;o<e.length;e.length===t||(0,A.throwConcurrentModificationError)(e),++o)if((s=e[o])instanceof A.Option&&!s.hide&&(a=s.abbr,n=Math.max(n,(null==a?"":"-"+a+", ").length),a=this._longOption$1(s),i=Math.max(i,a.length),null!=(a=s.allowedHelp)))for(a=(a=a.get$keys(a)).get$iterator(a),l=s.defaultsTo,c=r._is(l);a.moveNext$0();)u=a.get$current(a),d=(c?C.JSArray_methods.contains$1(l,u):l===u)?" (default)":"",i=Math.max(i,("      ["+u+"]"+d).length);return A._setArrayType([n,i+4],D.JSArray_int)},_newline$0(){++this._newlinesNeeded,this._currentColumn=0},_write$2(e,t){var r,n,i=A._setArrayType(t.split("\n"),D.JSArray_String);for(this.get$_columnWidths();0!==i.length&&""===C.JSString_methods.trim$0(C.JSArray_methods.get$first(i));)C.JSArray_methods.removeAt$1(i,0);for(;0!==i.length&&""===C.JSString_methods.trim$0(C.JSArray_methods.get$last(i));)i.pop();for(r=i.length,n=0;n<i.length;i.length===r||(0,A.throwConcurrentModificationError)(i),++n)this._writeLine$2(e,i[n])},_writeLine$2(e,t){var r,n,i,o=this;for(r=o._usage$_buffer;(n=o._newlinesNeeded)>0;)r._contents+="\n",o._newlinesNeeded=n-1;for(;(n=o._currentColumn)!==e;)n<2?(n=o.get$_columnWidths(),i=o._currentColumn,n=C.JSString_methods.$mul(" ",n[i]),r._contents+=n,n=i):r._contents+="\n",o._currentColumn=(n+1)%3;n=o.get$_columnWidths(),i=r._contents,r._contents=e<2?i+C.JSString_methods.padRight$1(t,n[e]):i+t,o._currentColumn=(o._currentColumn+1)%3,2===e&&++o._newlinesNeeded},_buildAllowedList$1(e){var t,r,n,i,o,s=e.defaultsTo,a=D.List_dynamic._is(s)?C.JSArray_methods.get$contains(s):new A._Usage__buildAllowedList_closure(e);for(t=(s=e.allowed).length,r=!0,n=0,i="[";n<t;++n,r=!1)i=(r?i:i+", ")+(o=s[n]),a.call$1(o)&&(i+=" (default)");return(s=i+"]").charCodeAt(0),s}},A._Usage__writeOption_closure.prototype={call$1:e=>'"'+A.S(e)+'"',$signature:134},A._Usage__buildAllowedList_closure.prototype={call$1(e){return e===this.option.defaultsTo},$signature:4},A.FutureGroup.prototype={add$1(e,t){var r,n,i=this;if(i._future_group$_closed)throw A.wrapException(A.StateError$("The FutureGroup is closed."));n=(r=i._future_group$_values).length,r.push(null),++i._future_group$_pending,t.then$1$1(0,new A.FutureGroup_add_closure(i,n),D.Null).catchError$1(new A.FutureGroup_add_closure0(i))},close$0(e){var t,r,n=this;n._future_group$_closed=!0,0===n._future_group$_pending&&(30&(t=n._future_group$_completer).future._state||(r=n.$ti._eval$1("WhereTypeIterable<1>"),r=A.List_List$_of(new A.WhereTypeIterable(n._future_group$_values,r),r._eval$1("Iterable.E")),t.complete$1(r)))}},A.FutureGroup_add_closure.prototype={call$1(e){var t,r,n=this.$this,i=n._future_group$_completer;return 30&i.future._state?null:(t=--n._future_group$_pending,(r=n._future_group$_values)[this.index]=e,0!==t?null:n._future_group$_closed?(n=n.$ti._eval$1("WhereTypeIterable<1>"),n=A.List_List$_of(new A.WhereTypeIterable(r,n),n._eval$1("Iterable.E")),void i.complete$1(n)):null)},$signature(){return this.$this.$ti._eval$1("Null(1)")}},A.FutureGroup_add_closure0.prototype={call$2(e,t){var r=this.$this._future_group$_completer;if(30&r.future._state)return null;r.completeError$2(e,t)},$signature:51},A.ErrorResult.prototype={complete$1(e){e.completeError$2(this.error,this.stackTrace)},get$hashCode(e){return(w.get$hashCode$(this.error)^A.Primitives_objectHashCode(this.stackTrace)^492929599)>>>0},$eq(e,t){return null!=t&&(t instanceof A.ErrorResult&&w.$eq$(this.error,t.error)&&this.stackTrace===t.stackTrace)},$isResult:1},A.ValueResult.prototype={complete$1(e){e.complete$1(this.value)},get$hashCode(e){return(842997089^w.get$hashCode$(this.value))>>>0},$eq(e,t){return null!=t&&(t instanceof A.ValueResult&&w.$eq$(this.value,t.value))},$isResult:1},A.StreamCompleter.prototype={setSourceStream$1(e){var t=this._stream_completer$_stream;if(null!=t._sourceStream)throw A.wrapException(A.StateError$("Source stream already set"));t._sourceStream=e,null!=t._stream_completer$_controller&&t._linkStreamToController$0()},setError$2(e,t){var r=this.$ti,n=A._interceptUserError(e,t),i=new A._Future(I.Zone__current,r._eval$1("_Future<1>"));i._asyncCompleteErrorObject$1(n),this.setSourceStream$1(A.Stream_Stream$fromFuture(i,r._precomputed1))},setError$1(e){return this.setError$2(e,null)}},A._CompleterStream.prototype={listen$4$cancelOnError$onDone$onError(e,t,r,n,i){var o,s,a=this,l=null;if(null==a._stream_completer$_controller){if(null!=(o=a._sourceStream)&&!o.get$isBroadcast())return o.listen$4$cancelOnError$onDone$onError(0,t,r,n,i);null==a._stream_completer$_controller&&(a._stream_completer$_controller=A.StreamController_StreamController(l,l,l,l,!0,a.$ti._precomputed1)),null!=a._sourceStream&&a._linkStreamToController$0()}return(s=a._stream_completer$_controller).toString,new A._ControllerStream(s,A._instanceType(s)._eval$1("_ControllerStream<1>")).listen$4$cancelOnError$onDone$onError(0,t,r,n,i)},listen$1(e,t){return this.listen$4$cancelOnError$onDone$onError(0,t,null,null,null)},listen$3$onDone$onError(e,t,r,n){return this.listen$4$cancelOnError$onDone$onError(0,t,null,r,n)},_linkStreamToController$0(){var e,t=this._stream_completer$_controller;t.toString,(e=this._sourceStream).toString,t.addStream$2$cancelOnError(e,!1).whenComplete$1(t.get$close(t))}},A.StreamGroup.prototype={add$1(e,t){var r,n=this;if(n._closed)throw A.wrapException(A.StateError$("Can't add a Stream to a closed StreamGroup."));if((r=n._stream_group$_state)===C._StreamGroupState_dormant)n._subscriptions.putIfAbsent$2(t,new A.StreamGroup_add_closure);else{if(r===C._StreamGroupState_canceled)return t.listen$1(0,null).cancel$0();n._subscriptions.putIfAbsent$2(t,new A.StreamGroup_add_closure0(n,t))}return null},remove$1(e,t){var r=this._subscriptions,n=r.remove$1(0,t),i=null==n?null:n.cancel$0();return 0===r.__js_helper$_length&&this._closed&&((r=this.__StreamGroup__controller_A)===I&&A.throwUnnamedLateFieldNI(),A.scheduleMicrotask(r.get$close(r))),i},_onListen$0(){var e,t,r,n,i,o,s=this;for(s._stream_group$_state=C._StreamGroupState_listening,t=s._subscriptions,n=(r=A.List_List$_of(new A.LinkedHashMapEntriesIterable(t,A._instanceType(t)._eval$1("LinkedHashMapEntriesIterable<1,2>")),s.$ti._eval$1("MapEntry<Stream<1>,StreamSubscription<1>?>"))).length,i=0;i<r.length;r.length===n||(0,A.throwConcurrentModificationError)(r),++i)if(null==(o=r[i]).value){e=o.key;try{t.$indexSet(0,e,s._listenToStream$1(e))}catch(e){throw null!=(t=s._onCancel$0())&&t.catchError$1(new A.StreamGroup__onListen_closure),e}}},_onPause$0(){this._stream_group$_state=C._StreamGroupState_paused;var e=this._subscriptions;for(e=new A.LinkedHashMapValueIterator(e,e._modifications,e._first);e.moveNext$0();)e.__js_helper$_current.pause$0(0)},_onResume$0(){this._stream_group$_state=C._StreamGroupState_listening;var e=this._subscriptions;for(e=new A.LinkedHashMapValueIterator(e,e._modifications,e._first);e.moveNext$0();)e.__js_helper$_current.resume$0(0)},_onCancel$0(){var e,t,r,n;return this._stream_group$_state=C._StreamGroupState_canceled,e=this._subscriptions,t=A._instanceType(e)._eval$1("LinkedHashMapEntriesIterable<1,2>"),r=D.NonNullsIterable_Future_void,n=A.List_List$_of(new A.NonNullsIterable(A.MappedIterable_MappedIterable(new A.LinkedHashMapEntriesIterable(e,t),new A.StreamGroup__onCancel_closure(this),t._eval$1("Iterable.E"),D.nullable_Future_void),r),r._eval$1("Iterable.E")),e.clear$0(0),0===n.length?null:A.Future_wait(n,!1,D.void)},_listenToStream$1(e){var t,r=this.__StreamGroup__controller_A;return r===I&&A.throwUnnamedLateFieldNI(),t=e.listen$3$onDone$onError(0,r.get$add(r),new A.StreamGroup__listenToStream_closure(this,e),r.get$addError()),this._stream_group$_state===C._StreamGroupState_paused&&t.pause$0(0),t}},A.StreamGroup_add_closure.prototype={call$0:()=>null,$signature:1},A.StreamGroup_add_closure0.prototype={call$0(){return this.$this._listenToStream$1(this.stream)},$signature(){return this.$this.$ti._eval$1("StreamSubscription<1>()")}},A.StreamGroup__onListen_closure.prototype={call$1(e){},$signature:62},A.StreamGroup__onCancel_closure.prototype={call$1(e){var t=e.value;try{return null!=t?t.cancel$0():e.key.listen$1(0,null).cancel$0()}catch(e){return null}},$signature(){return this.$this.$ti._eval$1("Future<~>?(MapEntry<Stream<1>,StreamSubscription<1>?>)")}},A.StreamGroup__listenToStream_closure.prototype={call$0(){return this.$this.remove$1(0,this.stream)},$signature:0},A._StreamGroupState.prototype={toString$0(e){return this.name}},A.StreamQueue.prototype={_updateRequests$0(){var e,t,r,n,i=this;for(e=i._requestQueue,t=i._eventQueue,r=e.$ti._precomputed1;!e.get$isEmpty(0);){if((n=e._head)===e._tail&&A.throwExpression(A.IterableElementError_noElement()),null==(n=e._table[n])&&(n=r._as(n)),!n.update$2(t,i._isDone))return;e.removeFirst$0()}i._isDone||i._stream_queue$_subscription.pause$0(0)},_ensureListening$0(){var e,t=this;t._isDone||(null==(e=t._stream_queue$_subscription)?t._stream_queue$_subscription=t._stream_queue$_source.listen$3$onDone$onError(0,new A.StreamQueue__ensureListening_closure(t),new A.StreamQueue__ensureListening_closure0(t),new A.StreamQueue__ensureListening_closure1(t)):e.resume$0(0))},_addResult$1(e){++this._eventsReceived,this._eventQueue._queue_list$_add$1(e),this._updateRequests$0()},_addRequest$1(e){var t=this,r=t._requestQueue;if(r._head===r._tail){if(e.update$2(t._eventQueue,t._isDone))return;t._ensureListening$0()}r._add$1(e)}},A.StreamQueue__ensureListening_closure.prototype={call$1(e){var t=this.$this;t._addResult$1(new A.ValueResult(e,t.$ti._eval$1("ValueResult<1>")))},$signature(){return this.$this.$ti._eval$1("~(1)")}},A.StreamQueue__ensureListening_closure1.prototype={call$2(e,t){this.$this._addResult$1(new A.ErrorResult(e,t))},$signature:51},A.StreamQueue__ensureListening_closure0.prototype={call$0(){var e=this.$this;e._stream_queue$_subscription=null,e._isDone=!0,e._updateRequests$0()},$signature:0},A._NextRequest.prototype={update$2(e,t){return e.get$isEmpty(e)?!!t&&(this._completer.completeError$2(new A.StateError("No elements"),A.StackTrace_current()),!0):(e.removeFirst$0().complete$1(this._completer),!0)},$is_EventRequest:1},A._isStrictMode_closure.prototype={call$0(){try{return"".name=null,!1}catch(e){return!0}},$signature:20},A.Repl.prototype={},A.alwaysValid_closure.prototype={call$1:e=>!0,$signature:4},A.ReplAdapter.prototype={runAsync$0(){var e,t,r=this,i={},o=w.get$isTTY$x(n.process.stdin),s=null!=o&&o?n.process.stdout:null;return o=r.repl.prompt,e=w.createInterface$1$x(I.$get$readline(),{input:n.process.stdin,output:s,prompt:o}),r.rl=e,i.statement="",i.prompt=o,(t=A._Cell$()).__late_helper$_value=A.StreamController_StreamController(r.get$exit(r),new A.ReplAdapter_runAsync_closure(i,r,e,t),null,null,!1,D.String),t._readLocal$0().get$stream()},exit$0(e){var t=this.rl;null!=t&&w.close$0$x(t),this.rl=null}},A.ReplAdapter_runAsync_closure.prototype={call$0(){var e,t,r,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y=0,$=A._makeAsyncAwaitCompleter(D.void),x=1,S=[],E=this,M=A._wrapJsFunctionForAsync(function(k,T){for(1===k&&(S.push(T),y=x);;)switch(y){case 0:x=3,e=A.StreamController_StreamController(null,null,null,null,!1,D.String),s=e,a=A.QueueList$(null,D.Result_String),l=A.ListQueue$(D._EventRequest_dynamic),t=new A.StreamQueue(new A._ControllerStream(s,A._instanceType(s)._eval$1("_ControllerStream<1>")),a,l,D.StreamQueue_String),s=E.rl,(a=w.getInterceptor$x(s)).on$2(s,"line",A.allowInterop(new A.ReplAdapter_runAsync__closure(e))),l=E._box_0,c=E.$this.repl,u=c.continuation,d=c.prompt,h=E.runController;case 6:return null!=(p=w.get$isTTY$x(n.process.stdin))&&p&&w.write$1$x(n.process.stdout,l.prompt),(p=t).toString,m=p.$ti,_=new A._Future(I.Zone__current,m._eval$1("_Future<1>")),p._addRequest$1(new A._NextRequest(new A._AsyncCompleter(_,m._eval$1("_AsyncCompleter<1>")),m._eval$1("_NextRequest<1>"))),y=8,A._asyncAwait(_,M);case 8:r=T,null!=(p=w.get$isTTY$x(n.process.stdin))&&p||(g=l.prompt+A.S(r),null==(f=I.printToZone)?A.printString(g):f.call$1(g)),v=C.JSString_methods.$add(l.statement,r),l.statement=v,c.validator.call$1(v)?((p=h.__late_helper$_value)===h&&A.throwExpression(A.LateError$localNI("")),w.add$1$ax(p,l.statement),l.statement="",l.prompt=d,a.setPrompt$1(s,d)):(l.statement+="\n",l.prompt=u,a.setPrompt$1(s,u)),y=6;break;case 7:x=1,y=5;break;case 3:return x=2,b=S.pop(),i=A.unwrapException(b),o=A.getTraceFromException(b),(s=E.runController)._readLocal$0().addError$2(i,o),a=E.$this.exit$0(0),a=A._Future$value(a,D.void),y=9,A._asyncAwait(a,M);case 9:w.close$0$x(s._readLocal$0()),y=5;break;case 2:y=1;break;case 5:return A._asyncReturn(null,$);case 1:return A._asyncRethrow(S.at(-1),$)}});return A._asyncStartSync(M,$)},$signature:32},A.ReplAdapter_runAsync__closure.prototype={call$1(e){return this.lineController.add$1(0,A._asString(e))},$signature:71},A.Stdin.prototype={},A.Stdout.prototype={},A.ReadlineModule.prototype={},A.ReadlineOptions.prototype={},A.ReadlineInterface.prototype={},A.EmptyUnmodifiableSet.prototype={get$iterator:e=>C.C_EmptyIterator,get$length:e=>0,contains$1:(e,t)=>!1,toSet$0(e){return A.LinkedHashSet_LinkedHashSet$_empty(this.$ti._precomputed1)},$isEfficientLengthIterable:1,$isSet:1},A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin.prototype={},A.DefaultEquality.prototype={},A.IterableEquality.prototype={equals$2(e,t,r){var n,i,o;if(t===r)return!0;for(n=w.get$iterator$ax(t),i=w.get$iterator$ax(r);;){if((o=n.moveNext$0())!==i.moveNext$0())return!1;if(!o)return!0;if(!w.$eq$(n.get$current(n),i.get$current(i)))return!1}},hash$1(e){var t,r,n;for(t=e.length,r=0,n=0;n<e.length;e.length===t||(0,A.throwConcurrentModificationError)(e),++n)r=(r=r+w.get$hashCode$(e[n])&2147483647)+(r<<10>>>0)&2147483647,r^=r>>>6;return r=r+(r<<3>>>0)&2147483647,(r^=r>>>11)+(r<<15>>>0)&2147483647}},A.ListEquality.prototype={equals$2(e,t,r){var n,i,o,s;if(null==t?null==r:t===r)return!0;if(null==t||null==r)return!1;if((i=(n=w.getInterceptor$asx(t)).get$length(t))!==(o=w.getInterceptor$asx(r)).get$length(r))return!1;for(s=0;s<i;++s)if(!w.$eq$(n.$index(t,s),o.$index(r,s)))return!1;return!0},hash$1(e){var t,r;for(t=0,r=0;r<e.length;++r)t=(t=t+w.get$hashCode$(e[r])&2147483647)+(t<<10>>>0)&2147483647,t^=t>>>6;return t=t+(t<<3>>>0)&2147483647,(t^=t>>>11)+(t<<15>>>0)&2147483647}},A._MapEntry.prototype={get$hashCode(e){return 3*w.get$hashCode$(this.key)+7*w.get$hashCode$(this.value)&2147483647},$eq(e,t){return null!=t&&(t instanceof A._MapEntry&&w.$eq$(this.key,t.key)&&w.$eq$(this.value,t.value))}},A.MapEquality.prototype={equals$2(e,t,r){var n,i,o,s,a;if(t===r)return!0;if(t.get$length(t)!==r.get$length(r))return!1;for(n=A.HashMap_HashMap(D._MapEntry,D.int),i=(i=t.get$keys(t)).get$iterator(i);i.moveNext$0();)o=i.get$current(i),s=new A._MapEntry(this,o,t.$index(0,o)),a=n.$index(0,s),n.$indexSet(0,s,(null==a?0:a)+1);for(i=(i=r.get$keys(r)).get$iterator(i);i.moveNext$0();){if(o=i.get$current(i),s=new A._MapEntry(this,o,r.$index(0,o)),null==(a=n.$index(0,s))||0===a)return!1;n.$indexSet(0,s,a-1)}return!0},hash$1(e){var t,r,n,i,o,s;for(t=(t=e.get$keys(e)).get$iterator(t),r=this.$ti._rest[1],n=0;t.moveNext$0();)i=t.get$current(t),o=w.get$hashCode$(i),s=e.$index(0,i),n=n+3*o+7*w.get$hashCode$(null==s?r._as(s):s)&2147483647;return n=n+(n<<3>>>0)&2147483647,(n^=n>>>11)+(n<<15>>>0)&2147483647}},A.QueueList.prototype={add$1(e,t){this._queue_list$_add$1(t)},addAll$1(e,t){var r,n,i,o,s,a,l=this;if(D.List_dynamic._is(t))r=w.get$length$asx(t),(i=(n=l.get$length(0))+r)>=w.get$length$asx(l._queue_list$_table)?(l._preGrow$1(i),w.setRange$4$ax(l._queue_list$_table,n,i,t,0),l.set$_queue_list$_tail(l.get$_queue_list$_tail()+r)):(o=w.get$length$asx(l._queue_list$_table)-l.get$_queue_list$_tail(),i=l._queue_list$_table,s=w.getInterceptor$ax(i),r<o?(s.setRange$4(i,l.get$_queue_list$_tail(),l.get$_queue_list$_tail()+r,t,0),l.set$_queue_list$_tail(l.get$_queue_list$_tail()+r)):(a=r-o,s.setRange$4(i,l.get$_queue_list$_tail(),l.get$_queue_list$_tail()+o,t,0),w.setRange$4$ax(l._queue_list$_table,0,a,t,o),l.set$_queue_list$_tail(a)));else for(i=w.get$iterator$ax(t);i.moveNext$0();)l._queue_list$_add$1(i.get$current(i))},cast$1$0(e,t){return new A._CastQueueList(this,w.cast$1$0$ax(this._queue_list$_table,t),-1,-1,A._instanceType(this)._eval$1("@<QueueList.E>")._bind$1(t)._eval$1("_CastQueueList<1,2>"))},toString$0(e){return A.Iterable_iterableToFullString(this,"{","}")},addFirst$1(e){var t=this;t.set$_queue_list$_head((t.get$_queue_list$_head()-1&w.get$length$asx(t._queue_list$_table)-1)>>>0),w.$indexSet$ax(t._queue_list$_table,t.get$_queue_list$_head(),e),t.get$_queue_list$_head()===t.get$_queue_list$_tail()&&t._queue_list$_grow$0()},removeFirst$0(){var e,t=this;if(t.get$_queue_list$_head()===t.get$_queue_list$_tail())throw A.wrapException(A.StateError$("No element"));return null==(e=w.$index$asx(t._queue_list$_table,t.get$_queue_list$_head()))&&(e=A._instanceType(t)._eval$1("QueueList.E")._as(e)),w.$indexSet$ax(t._queue_list$_table,t.get$_queue_list$_head(),null),t.set$_queue_list$_head((t.get$_queue_list$_head()+1&w.get$length$asx(t._queue_list$_table)-1)>>>0),e},removeLast$0(e){var t,r=this;if(r.get$_queue_list$_head()===r.get$_queue_list$_tail())throw A.wrapException(A.StateError$("No element"));return r.set$_queue_list$_tail((r.get$_queue_list$_tail()-1&w.get$length$asx(r._queue_list$_table)-1)>>>0),null==(t=w.$index$asx(r._queue_list$_table,r.get$_queue_list$_tail()))&&(t=A._instanceType(r)._eval$1("QueueList.E")._as(t)),w.$indexSet$ax(r._queue_list$_table,r.get$_queue_list$_tail(),null),t},get$length(e){return(this.get$_queue_list$_tail()-this.get$_queue_list$_head()&w.get$length$asx(this._queue_list$_table)-1)>>>0},set$length(e,t){var r,n,i,o,s=this;if(t<0)throw A.wrapException(A.RangeError$("Length "+t+" may not be negative."));if(t>s.get$length(0)&&!A._instanceType(s)._eval$1("QueueList.E")._is(null))throw A.wrapException(A.UnsupportedError$("The length can only be increased when the element type is nullable, but the current element type is `"+A.createRuntimeType(A._instanceType(s)._eval$1("QueueList.E")).toString$0(0)+"`."));if((r=t-s.get$length(0))>=0)return w.get$length$asx(s._queue_list$_table)<=t&&s._preGrow$1(t),void s.set$_queue_list$_tail((s.get$_queue_list$_tail()+r&w.get$length$asx(s._queue_list$_table)-1)>>>0);n=s.get$_queue_list$_tail()+r,i=s._queue_list$_table,n>=0?w.fillRange$3$ax(i,n,s.get$_queue_list$_tail(),null):(n+=w.get$length$asx(i),w.fillRange$3$ax(s._queue_list$_table,0,s.get$_queue_list$_tail(),null),i=s._queue_list$_table,(o=w.getInterceptor$asx(i)).fillRange$3(i,n,o.get$length(i),null)),s.set$_queue_list$_tail(n)},$index(e,t){var r,n=this;if(t<0||t>=n.get$length(0))throw A.wrapException(A.RangeError$("Index "+t+" must be in the range [0.."+n.get$length(0)+")."));return null==(r=w.$index$asx(n._queue_list$_table,(n.get$_queue_list$_head()+t&w.get$length$asx(n._queue_list$_table)-1)>>>0))?A._instanceType(n)._eval$1("QueueList.E")._as(r):r},$indexSet(e,t,r){var n=this;if(t<0||t>=n.get$length(0))throw A.wrapException(A.RangeError$("Index "+t+" must be in the range [0.."+n.get$length(0)+")."));w.$indexSet$ax(n._queue_list$_table,(n.get$_queue_list$_head()+t&w.get$length$asx(n._queue_list$_table)-1)>>>0,r)},_queue_list$_add$1(e){var t=this;w.$indexSet$ax(t._queue_list$_table,t.get$_queue_list$_tail(),e),t.set$_queue_list$_tail((t.get$_queue_list$_tail()+1&w.get$length$asx(t._queue_list$_table)-1)>>>0),t.get$_queue_list$_head()===t.get$_queue_list$_tail()&&t._queue_list$_grow$0()},_queue_list$_grow$0(){var e=this,t=A.List_List$filled(2*w.get$length$asx(e._queue_list$_table),null,!1,A._instanceType(e)._eval$1("QueueList.E?")),r=w.get$length$asx(e._queue_list$_table)-e.get$_queue_list$_head();C.JSArray_methods.setRange$4(t,0,r,e._queue_list$_table,e.get$_queue_list$_head()),C.JSArray_methods.setRange$4(t,r,r+e.get$_queue_list$_head(),e._queue_list$_table,0),e.set$_queue_list$_head(0),e.set$_queue_list$_tail(w.get$length$asx(e._queue_list$_table)),e._queue_list$_table=t},_writeToList$1(e){var t,r,n=this;return n.get$_queue_list$_head()<=n.get$_queue_list$_tail()?(t=n.get$_queue_list$_tail()-n.get$_queue_list$_head(),C.JSArray_methods.setRange$4(e,0,t,n._queue_list$_table,n.get$_queue_list$_head()),t):(r=w.get$length$asx(n._queue_list$_table)-n.get$_queue_list$_head(),C.JSArray_methods.setRange$4(e,0,r,n._queue_list$_table,n.get$_queue_list$_head()),C.JSArray_methods.setRange$4(e,r,r+n.get$_queue_list$_tail(),n._queue_list$_table,0),n.get$_queue_list$_tail()+r)},_preGrow$1(e){var t=this,r=A.List_List$filled(A.QueueList__nextPowerOf2(e+C.JSInt_methods._shrOtherPositive$1(e,1)),null,!1,A._instanceType(t)._eval$1("QueueList.E?"));t.set$_queue_list$_tail(t._writeToList$1(r)),t._queue_list$_table=r,t.set$_queue_list$_head(0)},$isEfficientLengthIterable:1,$isQueue:1,$isIterable:1,$isList:1,get$_queue_list$_head(){return this._queue_list$_head},get$_queue_list$_tail(){return this._queue_list$_tail},set$_queue_list$_head(e){return this._queue_list$_head=e},set$_queue_list$_tail(e){return this._queue_list$_tail=e}},A._CastQueueList.prototype={get$_queue_list$_head(){return this._queue_list$_delegate.get$_queue_list$_head()},set$_queue_list$_head(e){this._queue_list$_delegate.set$_queue_list$_head(e)},get$_queue_list$_tail(){return this._queue_list$_delegate.get$_queue_list$_tail()},set$_queue_list$_tail(e){this._queue_list$_delegate.set$_queue_list$_tail(e)}},A._QueueList_Object_ListMixin.prototype={},A.UnionSet.prototype={get$length(e){return this.get$_union_set$_iterable().get$length(0)},get$iterator(e){var t=this.get$_union_set$_iterable();return t.get$iterator(t)},get$_union_set$_iterable(){var e=this._sets,t=this.$ti._precomputed1,r=A._instanceType(e)._eval$1("@<1>")._bind$1(t)._eval$1("ExpandIterable<1,2>");return t=A.LinkedHashSet_LinkedHashSet$_empty(t),new A.WhereIterable(new A.ExpandIterable(e,new A.UnionSet__iterable_closure(this),r),t.get$add(t),r._eval$1("WhereIterable<Iterable.E>"))},contains$1(e,t){return this._sets.any$1(0,new A.UnionSet_contains_closure(this,t))},toSet$0(e){var t,r,n,i=A.LinkedHashSet_LinkedHashSet$_empty(this.$ti._precomputed1);for(t=this._sets,r=(t=A._LinkedHashSetIterator$(t,t._collection$_modifications,A._instanceType(t)._precomputed1)).$ti._precomputed1;t.moveNext$0();)n=t._collection$_current,i.addAll$1(0,null==n?r._as(n):n);return i}},A.UnionSet__iterable_closure.prototype={call$1:e=>e,$signature(){return this.$this.$ti._eval$1("Set<1>(Set<1>)")}},A.UnionSet_contains_closure.prototype={call$1(e){return e.contains$1(0,this.element)},$signature(){return this.$this.$ti._eval$1("bool(Set<1>)")}},A._UnionSet_SetBase_UnmodifiableSetMixin.prototype={},A.UnmodifiableSetView0.prototype={},A.UnmodifiableSetMixin.prototype={add$1:(e,t)=>A.UnmodifiableSetMixin__throw(),addAll$1:(e,t)=>A.UnmodifiableSetMixin__throw(),remove$1:(e,t)=>A.UnmodifiableSetMixin__throw()},A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin.prototype={},A._DelegatingIterableBase.prototype={any$1(e,t){var r=this.get$_base();return r.any$1(r,t)},contains$1(e,t){var r=this.get$_base();return r.contains$1(r,t)},elementAt$1(e,t){var r=this.get$_base();return r.elementAt$1(r,t)},every$1(e,t){var r=this.get$_base();return r.every$1(r,t)},get$first(e){var t=this.get$_base();return t.get$first(t)},get$isEmpty(e){var t=this.get$_base();return t.get$isEmpty(t)},get$isNotEmpty(e){var t=this.get$_base();return t.get$isNotEmpty(t)},get$iterator(e){var t=this.get$_base();return t.get$iterator(t)},get$last(e){var t=this.get$_base();return t.get$last(t)},get$length(e){var t=this.get$_base();return t.get$length(t)},map$1$1(e,t,r){var n=this.get$_base();return n.map$1$1(n,t,r)},get$single(e){var t=this.get$_base();return t.get$single(t)},skip$1(e,t){var r=this.get$_base();return r.skip$1(r,t)},take$1(e,t){var r=this.get$_base();return r.take$1(r,t)},toList$1$growable(e,t){var r=this.get$_base();return r.toList$1$growable(r,!0)},toList$0(e){return this.toList$1$growable(0,!0)},toSet$0(e){var t=this.get$_base();return t.toSet$0(t)},where$1(e,t){var r=this.get$_base();return r.where$1(r,t)},toString$0(e){var t=this.get$_base();return t.toString$0(t)},$isIterable:1},A.DelegatingSet.prototype={add$1(e,t){return this._base.add$1(0,t)},addAll$1(e,t){this._base.addAll$1(0,t)},toSet$0(e){return new A.DelegatingSet(this._base.toSet$0(0),A._instanceType(this)._eval$1("DelegatingSet<1>"))},$isEfficientLengthIterable:1,$isSet:1,get$_base(){return this._base}},A.MapKeySet.prototype={get$_base(){var e=this._baseMap;return e.get$keys(e)},contains$1(e,t){return this._baseMap.containsKey$1(t)},get$isEmpty(e){var t=this._baseMap;return t.get$isEmpty(t)},get$isNotEmpty(e){var t=this._baseMap;return t.get$isNotEmpty(t)},get$length(e){var t=this._baseMap;return t.get$length(t)},toString$0(e){return A.Iterable_iterableToFullString(this,"{","}")},difference$1(e){var t=this.get$_base();return t.where$1(t,new A.MapKeySet_difference_closure(this,e)).toSet$0(0)},intersection$1(e){var t=this.get$_base();return t.where$1(t,e.get$contains(e)).toSet$0(0)},$isEfficientLengthIterable:1,$isSet:1},A.MapKeySet_difference_closure.prototype={call$1(e){return!this.other.contains$1(0,e)},$signature(){return this.$this.$ti._eval$1("bool(1)")}},A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin.prototype={},A.BufferModule.prototype={},A.BufferConstants.prototype={},A.Buffer.prototype={},A.ConsoleModule.prototype={},A.Console.prototype={},A.EventEmitter.prototype={},A.FS.prototype={},A.FSConstants.prototype={},A.Realpath.prototype={},A.RealpathSync.prototype={},A.FSWatcher.prototype={},A.ReadStream.prototype={},A.ReadStreamOptions.prototype={},A.WriteStream.prototype={},A.WriteStreamOptions.prototype={},A.FileOptions.prototype={},A.StatOptions.prototype={},A.MkdirOptions.prototype={},A.RmdirOptions.prototype={},A.WatchOptions.prototype={},A.WatchFileOptions.prototype={},A.Stats.prototype={},A.Promise.prototype={},A.Date.prototype={},A.JsError.prototype={},A.Atomics.prototype={},A.Modules.prototype={},A.Module.prototype={},A.Net.prototype={},A.Socket.prototype={},A.NetAddress.prototype={},A.NetServer.prototype={},A.NodeJsError.prototype={},A.JsAssertionError.prototype={},A.JsRangeError.prototype={},A.JsReferenceError.prototype={},A.JsSyntaxError.prototype={},A.JsTypeError.prototype={},A.JsSystemError.prototype={},A.Process.prototype={},A.CPUUsage.prototype={},A.Release.prototype={},A.StreamModule.prototype={},A.Readable.prototype={},A.Writable.prototype={},A.Duplex.prototype={},A.Transform.prototype={},A.WritableOptions.prototype={},A.ReadableOptions.prototype={},A.Immediate.prototype={},A.Timeout.prototype={},A.TTY.prototype={},A.TTYReadStream.prototype={},A.TTYWriteStream.prototype={},A.Util.prototype={},A.promiseToFuture_closure1.prototype={call$1(e){this.completer.complete$1(e)},$signature:62},A.promiseToFuture_closure2.prototype={call$1(e){this.completer.completeError$1(e)},$signature:62},A.futureToPromise_closure.prototype={call$2(e,t){this.future.then$1$2$onError(0,new A.futureToPromise__closure(e,this.T),t,D.dynamic)},$signature:395},A.futureToPromise__closure.prototype={call$1(e){return this.resolve.call$1(e)},$signature(){return this.T._eval$1("@(0)")}},A.Context.prototype={absolute$15(e,t,r,n,i,o,s,a,l,c,u,d,h,p,m){var _;return A._validateArgList("absolute",A._setArrayType([e,t,r,n,i,o,s,a,l,c,u,d,h,p,m],D.JSArray_nullable_String)),(_=null==t&&((_=this.style).rootLength$1(e)>0&&!_.isRootRelative$1(e)))?e:(_=this._context$_current,this.join$16(0,null==_?A.current():_,e,t,r,n,i,o,s,a,l,c,u,d,h,p,m))},absolute$1(e){var t=null;return this.absolute$15(e,t,t,t,t,t,t,t,t,t,t,t,t,t,t)},dirname$1(e){var t,r,n=A.ParsedPath_ParsedPath$parse(e,this.style);return n.removeTrailingSeparators$0(),0===(r=(t=n.parts).length)||1===r?null==(t=n.root)?".":t:(C.JSArray_methods.removeLast$0(t),n.separators.pop(),n.removeTrailingSeparators$0(),n.toString$0(0))},join$16(e,t,r,n,i,o,s,a,l,c,u,d,h,p,m,_,g){var f=A._setArrayType([t,r,n,i,o,s,a,l,c,u,d,h,p,m,_,g],D.JSArray_nullable_String);return A._validateArgList("join",f),this.joinAll$1(new A.WhereTypeIterable(f,D.WhereTypeIterable_String))},join$2(e,t,r){var n=null;return this.join$16(0,t,r,n,n,n,n,n,n,n,n,n,n,n,n,n,n)},joinAll$1(e){var t,r,n,i,o,s,a,l,c;for(t=w.where$1$ax(e,new A.Context_joinAll_closure),r=w.get$iterator$ax(t.__internal$_iterable),t=new A.WhereIterator(r,t._f),n=this.style,i=!1,o=!1,s="";t.moveNext$0();)a=r.get$current(r),n.isRootRelative$1(a)&&o?(l=A.ParsedPath_ParsedPath$parse(a,n),s.charCodeAt(0),c=s,s=C.JSString_methods.substring$2(c,0,n.rootLength$2$withDrive(c,!0)),l.root=s,n.needsSeparator$1(s)&&(l.separators[0]=n.get$separator(n)),s=l.toString$0(0)):n.rootLength$1(a)>0?(o=!n.isRootRelative$1(a),s=a):(0!==a.length&&n.containsSeparator$1(a[0])||i&&(s+=n.get$separator(n)),s+=a),i=n.needsSeparator$1(a);return s.charCodeAt(0),s},split$1(e,t){var r=A.ParsedPath_ParsedPath$parse(t,this.style),n=r.parts,i=A._arrayInstanceType(n)._eval$1("WhereIterable<1>");return n=A.List_List$_of(new A.WhereIterable(n,new A.Context_split_closure,i),i._eval$1("Iterable.E")),r.parts=n,null!=(i=r.root)&&C.JSArray_methods.insert$2(n,0,i),r.parts},canonicalize$1(e,t){var r,n;return t=this.absolute$1(t),(r=this.style)===I.$get$Style_windows()||this._needsNormalization$1(t)?((n=A.ParsedPath_ParsedPath$parse(t,r)).normalize$1$canonicalize(!0),n.toString$0(0)):t},normalize$1(e){var t;return this._needsNormalization$1(e)?((t=A.ParsedPath_ParsedPath$parse(e,this.style)).normalize$0(),t.toString$0(0)):e},_needsNormalization$1(e){var t,r,n,i,o,s,a=this.style,l=a.rootLength$1(e);if(0!==l){if(a===I.$get$Style_windows())for(t=0;t<l;++t)if(47===e.charCodeAt(t))return!0;r=l,n=47}else r=0,n=null;for(i=e.length,t=r,o=null;t<i;++t,o=n,n=s)if(s=e.charCodeAt(t),a.isSeparator$1(s)){if(a===I.$get$Style_windows()&&47===s)return!0;if(null!=n&&a.isSeparator$1(n))return!0;if(46===n&&(null==o||46===o||a.isSeparator$1(o)))return!0}return null==n||(!!a.isSeparator$1(n)||!!(a=46===n&&(null==o||a.isSeparator$1(o)||46===o)))},relative$2$from(e,t){var r,n,i,o,s=this,a='Unable to find a path to "',l=null==t;if(l&&s.style.rootLength$1(e)<=0)return s.normalize$1(e);if(t=l?null==(l=s._context$_current)?A.current():l:s.absolute$1(t),(l=s.style).rootLength$1(t)<=0&&l.rootLength$1(e)>0)return s.normalize$1(e);if((l.rootLength$1(e)<=0||l.isRootRelative$1(e))&&(e=s.absolute$1(e)),l.rootLength$1(e)<=0&&l.rootLength$1(t)>0)throw A.wrapException(A.PathException$(a+e+'" from "'+t+'".'));if((r=A.ParsedPath_ParsedPath$parse(t,l)).normalize$0(),(n=A.ParsedPath_ParsedPath$parse(e,l)).normalize$0(),0!==(i=r.parts).length&&"."===i[0])return n.toString$0(0);if(i=(i=r.root)!=(o=n.root)&&(null==i||null==o||!l.pathsEqual$2(i,o)))return n.toString$0(0);for(;i=0!==(i=r.parts).length&&(0!==(o=n.parts).length&&l.pathsEqual$2(i[0],o[0]));)C.JSArray_methods.removeAt$1(r.parts,0),C.JSArray_methods.removeAt$1(r.separators,1),C.JSArray_methods.removeAt$1(n.parts,0),C.JSArray_methods.removeAt$1(n.separators,1);if(0!==(o=(i=r.parts).length)&&".."===i[0])throw A.wrapException(A.PathException$(a+e+'" from "'+t+'".'));return i=D.String,C.JSArray_methods.insertAll$2(n.parts,0,A.List_List$filled(o,"..",!1,i)),(o=n.separators)[0]="",C.JSArray_methods.insertAll$2(o,1,A.List_List$filled(r.parts.length,l.get$separator(l),!1,i)),0===(i=(l=n.parts).length)?".":(i>1&&"."===C.JSArray_methods.get$last(l)&&(C.JSArray_methods.removeLast$0(n.parts),(l=n.separators).pop(),l.pop(),l.push("")),n.root="",n.removeTrailingSeparators$0(),n.toString$0(0))},relative$1(e){return this.relative$2$from(e,null)},_isWithinOrEquals$2(e,t){var r,n,i,o,s,a,l,c=this;if(i=(n=c.style).rootLength$1(e)>0,o=n.rootLength$1(t)>0,i&&!o?(t=c.absolute$1(t),n.isRootRelative$1(e)&&(e=c.absolute$1(e))):o&&!i?(e=c.absolute$1(e),n.isRootRelative$1(t)&&(t=c.absolute$1(t))):o&&i&&(s=n.isRootRelative$1(t),a=n.isRootRelative$1(e),s&&!a?t=c.absolute$1(t):a&&!s&&(e=c.absolute$1(e))),(l=c._isWithinOrEqualsFast$2(e,t))!==C._PathRelation_inconclusive)return l;r=null;try{r=c.relative$2$from(t,e)}catch(e){if(A.unwrapException(e)instanceof A.PathException)return C._PathRelation_different;throw e}return n.rootLength$1(r)>0?C._PathRelation_different:w.$eq$(r,".")?C._PathRelation_equal:w.$eq$(r,"..")||w.get$length$asx(r)>=3&&w.startsWith$1$s(r,"..")&&n.isSeparator$1(w.codeUnitAt$1$s(r,2))?C._PathRelation_different:C._PathRelation_within},_isWithinOrEqualsFast$2(e,t){var r,n,i,o,s,a,l,c,u,d,h,p,m,_=this;if("."===e&&(e=""),(n=(r=_.style).rootLength$1(e))!==(i=r.rootLength$1(t)))return C._PathRelation_different;for(o=0;o<n;++o)if(!r.codeUnitsEqual$2(e.charCodeAt(o),t.charCodeAt(o)))return C._PathRelation_different;for(s=t.length,a=e.length,l=i,c=n,u=47,d=null;c<a&&l<s;)e:if(h=e.charCodeAt(c),p=t.charCodeAt(l),r.codeUnitsEqual$2(h,p))r.isSeparator$1(h)&&(d=c),++c,++l,u=h;else if(r.isSeparator$1(h)&&r.isSeparator$1(u))d=c,c=c+1;else{if(!r.isSeparator$1(p)||!r.isSeparator$1(u)){if(46===h&&r.isSeparator$1(u)){if(++c===a)break;if(h=e.charCodeAt(c),r.isSeparator$1(h)){d=c,c=c+1;break e}if(46===h&&(++c===a||r.isSeparator$1(e.charCodeAt(c))))return C._PathRelation_inconclusive}if(46===p&&r.isSeparator$1(u)){if(++l===s)break;if(p=t.charCodeAt(l),r.isSeparator$1(p)){++l;break e}if(46===p&&(++l===s||r.isSeparator$1(t.charCodeAt(l))))return C._PathRelation_inconclusive}return _._pathDirection$2(t,l)!==C._PathDirection_Wme||_._pathDirection$2(e,c)!==C._PathDirection_Wme?C._PathRelation_inconclusive:C._PathRelation_different}++l}return l===s?(c===a||r.isSeparator$1(e.charCodeAt(c))?d=c:null==d&&(d=Math.max(0,n-1)),(m=_._pathDirection$2(e,d))===C._PathDirection_dMN?C._PathRelation_equal:m===C._PathDirection_vgO?C._PathRelation_inconclusive:C._PathRelation_different):(m=_._pathDirection$2(t,l))===C._PathDirection_dMN?C._PathRelation_equal:m===C._PathDirection_vgO?C._PathRelation_inconclusive:r.isSeparator$1(t.charCodeAt(l))||r.isSeparator$1(u)?C._PathRelation_within:C._PathRelation_different},_pathDirection$2(e,t){var r,n,i,o,s,a,l;for(r=e.length,n=this.style,i=t,o=0,s=!1;i<r;){for(;i<r&&n.isSeparator$1(e.charCodeAt(i));)++i;if(i===r)break;for(a=i;a<r&&!n.isSeparator$1(e.charCodeAt(a));)++a;if(1!==(l=a-i)||46!==e.charCodeAt(i))if(2===l&&46===e.charCodeAt(i)&&46===e.charCodeAt(i+1)){if(--o<0)break;0===o&&(s=!0)}else++o;if(a===r)break;i=a+1}return o<0?C._PathDirection_vgO:0===o?C._PathDirection_dMN:s?C._PathDirection_6kc:C._PathDirection_Wme},hash$1(e){var t,r,n,i=this;return e=i.absolute$1(e),null!=(t=i._hashFast$1(e))?t:((r=A.ParsedPath_ParsedPath$parse(e,i.style)).normalize$0(),(n=i._hashFast$1(r.toString$0(0))).toString,n)},_hashFast$1(e){var t,r,n,i,o,s,a,l,c;for(t=e.length,r=this.style,n=4603,i=!0,o=!0,s=0;s<t;++s)if(a=r.canonicalizeCodeUnit$1(e.charCodeAt(s)),r.isSeparator$1(a))o=!0;else{if(46===a&&o){if((l=s+1)===t)break;if(c=e.charCodeAt(l),r.isSeparator$1(c))continue;if(l=!1,i||46===c&&(l=(l=s+2)===t||r.isSeparator$1(e.charCodeAt(l))),l)return null}n=(33*(67108863&n)^a)>>>0,i=!1,o=!1}return n},withoutExtension$1(e){var t,r,n=A.ParsedPath_ParsedPath$parse(e,this.style);for(r=(t=n.parts).length-1;r>=0;--r)if(0!==t[r].length){t[r]=n._splitExtension$0()[0];break}return n.toString$0(0)},toUri$1(e){var t,r=this.style;return r.rootLength$1(e)<=0?r.relativePathToUri$1(e):(t=this._context$_current,r.absolutePathToUri$1(this.join$2(0,null==t?A.current():t,e)))},prettyUri$1(e){var t,r,n=this,i=A._parseUri(e);return"file"===i.get$scheme()&&n.style===I.$get$Style_url()||"file"!==i.get$scheme()&&""!==i.get$scheme()&&n.style!==I.$get$Style_url()?i.toString$0(0):(t=n.normalize$1(n.style.pathFromUri$1(A._parseUri(i))),r=n.relative$1(t),n.split$1(0,r).length>n.split$1(0,t).length?t:r)}},A.Context_joinAll_closure.prototype={call$1:e=>""!==e,$signature:4},A.Context_split_closure.prototype={call$1:e=>0!==e.length,$signature:4},A._validateArgList_closure.prototype={call$1:e=>null==e?"null":'"'+e+'"',$signature:396},A._PathDirection.prototype={toString$0(e){return this.name}},A._PathRelation.prototype={toString$0(e){return this.name}},A.InternalStyle.prototype={getRoot$1(e){var t=this.rootLength$1(e);return t>0?C.JSString_methods.substring$2(e,0,t):this.isRootRelative$1(e)?e[0]:null},relativePathToUri$1(e){var t,r=null,n=e.length;return 0===n?A._Uri__Uri(r,r,r,r):(t=A.Context_Context(this).split$1(0,e),this.isSeparator$1(e.charCodeAt(n-1))&&C.JSArray_methods.add$1(t,""),A._Uri__Uri(r,r,t,r))},codeUnitsEqual$2:(e,t)=>e===t,pathsEqual$2:(e,t)=>e===t,canonicalizeCodeUnit$1:e=>e,canonicalizePart$1:e=>e},A.ParsedPath.prototype={get$basename(){var e=this,t=D.String,r=new A.ParsedPath(e.style,e.root,e.isRootRelative,A.List_List$from(e.parts,!0,t),A.List_List$from(e.separators,!0,t));return r.removeTrailingSeparators$0(),0===(t=r.parts).length?null==(t=e.root)?"":t:C.JSArray_methods.get$last(t)},get$hasTrailingSeparator(){var e=this.parts;return e=0!==e.length&&(""===C.JSArray_methods.get$last(e)||""!==C.JSArray_methods.get$last(this.separators))},removeTrailingSeparators$0(){for(var e,t,r=this;0!==(e=r.parts).length&&""===C.JSArray_methods.get$last(e);)C.JSArray_methods.removeLast$0(r.parts),r.separators.pop();0!==(t=(e=r.separators).length)&&(e[t-1]="")},normalize$1$canonicalize(e){var t,r,n,i,o,s,a=this,l=A._setArrayType([],D.JSArray_String);for(r=(t=a.parts).length,n=a.style,i=0,o=0;o<t.length;t.length===r||(0,A.throwConcurrentModificationError)(t),++o)"."!==(s=t[o])&&""!==s&&(".."===s?0!==l.length?l.pop():++i:l.push(e?n.canonicalizePart$1(s):s));null==a.root&&C.JSArray_methods.insertAll$2(l,0,A.List_List$filled(i,"..",!1,D.String)),0===l.length&&null==a.root&&l.push("."),a.parts=l,a.separators=A.List_List$filled(l.length+1,n.get$separator(n),!0,D.String),null!=(t=a.root)&&0!==l.length&&n.needsSeparator$1(t)||(a.separators[0]=""),null!=(t=a.root)&&n===I.$get$Style_windows()&&(e&&(t=a.root=t.toLowerCase()),a.root=A.stringReplaceAllUnchecked(t,"/","\\")),a.removeTrailingSeparators$0()},normalize$0(){return this.normalize$1$canonicalize(!1)},toString$0(e){var t,r,n,i,o=this.root;for(o=null!=o?o:"",r=(t=this.parts).length,n=this.separators,i=0;i<r;++i)o=o+n[i]+t[i];return(o+=C.JSArray_methods.get$last(n)).charCodeAt(0),o},_kthLastIndexOf$3(e,t,r){var n,i,o;for(n=e.length-1,i=0,o=0;n>=0;--n)if(e[n]===t){if(++i===r)return n;o=n}return o},_splitExtension$1(e){var t,r,n;if(e<=0)throw A.wrapException(A.RangeError$value(e,"level","level's value must be greater than 0"));return t=this.parts,null==(r=(t=new A.CastList(t,A._arrayInstanceType(t)._eval$1("CastList<1,String?>"))).lastWhere$2$orElse(t,new A.ParsedPath__splitExtension_closure,new A.ParsedPath__splitExtension_closure0))?A._setArrayType(["",""],D.JSArray_String):".."===r?A._setArrayType(["..",""],D.JSArray_String):(n=this._kthLastIndexOf$3(r,".",e))<=0?A._setArrayType([r,""],D.JSArray_String):A._setArrayType([C.JSString_methods.substring$2(r,0,n),C.JSString_methods.substring$1(r,n)],D.JSArray_String)},_splitExtension$0(){return this._splitExtension$1(1)}},A.ParsedPath__splitExtension_closure.prototype={call$1:e=>""!==e,$signature:227},A.ParsedPath__splitExtension_closure0.prototype={call$0:()=>null,$signature:1},A.PathException.prototype={toString$0(e){return"PathException: "+this.message},$isException:1,get$message(e){return this.message}},A.PathMap.prototype={},A.PathMap__create_closure.prototype={call$2(e,t){return null==e?null==t:null!=t&&this._box_0.context._isWithinOrEquals$2(e,t)===C._PathRelation_equal},$signature:398},A.PathMap__create_closure0.prototype={call$1(e){return null==e?0:this._box_0.context.hash$1(e)},$signature:404},A.PathMap__create_closure1.prototype={call$1:e=>"string"==typeof e||null==e,$signature:456},A.Style.prototype={toString$0(e){return this.get$name(this)}},A.PosixStyle.prototype={containsSeparator$1:e=>C.JSString_methods.contains$1(e,"/"),isSeparator$1:e=>47===e,needsSeparator$1(e){var t=e.length;return 0!==t&&47!==e.charCodeAt(t-1)},rootLength$2$withDrive:(e,t)=>0!==e.length&&47===e.charCodeAt(0)?1:0,rootLength$1(e){return this.rootLength$2$withDrive(e,!1)},isRootRelative$1:e=>!1,pathFromUri$1(e){var t;if(""===e.get$scheme()||"file"===e.get$scheme())return t=e.get$path(e),A._Uri__uriDecode(t,0,t.length,C.C_Utf8Codec,!1);throw A.wrapException(A.ArgumentError$("Uri "+e.toString$0(0)+" must have scheme 'file:'.",null))},absolutePathToUri$1(e){var t=A.ParsedPath_ParsedPath$parse(e,this),r=t.parts;return 0===r.length?C.JSArray_methods.addAll$1(r,A._setArrayType(["",""],D.JSArray_String)):t.get$hasTrailingSeparator()&&C.JSArray_methods.add$1(t.parts,""),A._Uri__Uri(null,null,t.parts,"file")},get$name:()=>"posix",get$separator:()=>"/"},A.UrlStyle.prototype={containsSeparator$1:e=>C.JSString_methods.contains$1(e,"/"),isSeparator$1:e=>47===e,needsSeparator$1(e){var t=e.length;return 0!==t&&(47!==e.charCodeAt(t-1)||C.JSString_methods.endsWith$1(e,"://")&&this.rootLength$1(e)===t)},rootLength$2$withDrive(e,t){var r,n,i,o=e.length;if(0===o)return 0;if(47===e.charCodeAt(0))return 1;for(r=0;r<o;++r){if(47===(n=e.charCodeAt(r)))return 0;if(58===n)return 0===r?0:(i=C.JSString_methods.indexOf$2(e,"/",C.JSString_methods.startsWith$2(e,"//",r+1)?r+3:r))<=0?o:!t||o<i+3?i:C.JSString_methods.startsWith$1(e,"file://")?null==(o=A.driveLetterEnd(e,i+1))?i:o:i}return 0},rootLength$1(e){return this.rootLength$2$withDrive(e,!1)},isRootRelative$1:e=>0!==e.length&&47===e.charCodeAt(0),pathFromUri$1:e=>e.toString$0(0),relativePathToUri$1:e=>A.Uri_parse(e),absolutePathToUri$1:e=>A.Uri_parse(e),get$name:()=>"url",get$separator:()=>"/"},A.WindowsStyle.prototype={containsSeparator$1:e=>C.JSString_methods.contains$1(e,"/"),isSeparator$1:e=>47===e||92===e,needsSeparator$1(e){var t=e.length;return 0!==t&&!(47===(t=e.charCodeAt(t-1))||92===t)},rootLength$2$withDrive(e,t){var r,n=e.length;return 0===n?0:47===e.charCodeAt(0)?1:92===e.charCodeAt(0)?n<2||92!==e.charCodeAt(1)?1:(r=C.JSString_methods.indexOf$2(e,"\\",2))>0&&(r=C.JSString_methods.indexOf$2(e,"\\",r+1))>0?r:n:n<3?0:A.isAlphabetic(e.charCodeAt(0))?58!==e.charCodeAt(1)||47!==(n=e.charCodeAt(2))&&92!==n?0:3:0},rootLength$1(e){return this.rootLength$2$withDrive(e,!1)},isRootRelative$1(e){return 1===this.rootLength$1(e)},pathFromUri$1(e){var t,r;if(""!==e.get$scheme()&&"file"!==e.get$scheme())throw A.wrapException(A.ArgumentError$("Uri "+e.toString$0(0)+" must have scheme 'file:'.",null));return t=e.get$path(e),""===e.get$host()?t.length>=3&&C.JSString_methods.startsWith$1(t,"/")&&null!=A.driveLetterEnd(t,1)&&(t=C.JSString_methods.replaceFirst$2(t,"/","")):t="\\\\"+e.get$host()+t,r=A.stringReplaceAllUnchecked(t,"/","\\"),A._Uri__uriDecode(r,0,r.length,C.C_Utf8Codec,!1)},absolutePathToUri$1(e){var t,r,n=A.ParsedPath_ParsedPath$parse(e,this),i=n.root;return i.toString,C.JSString_methods.startsWith$1(i,"\\\\")?(t=new A.WhereIterable(A._setArrayType(i.split("\\"),D.JSArray_String),new A.WindowsStyle_absolutePathToUri_closure,D.WhereIterable_String),C.JSArray_methods.insert$2(n.parts,0,t.get$last(0)),n.get$hasTrailingSeparator()&&C.JSArray_methods.add$1(n.parts,""),A._Uri__Uri(t.get$first(0),null,n.parts,"file")):((0===n.parts.length||n.get$hasTrailingSeparator())&&C.JSArray_methods.add$1(n.parts,""),i=n.parts,(r=n.root).toString,r=A.stringReplaceAllUnchecked(r,"/",""),C.JSArray_methods.insert$2(i,0,A.stringReplaceAllUnchecked(r,"\\","")),A._Uri__Uri(null,null,n.parts,"file"))},codeUnitsEqual$2(e,t){var r;return e===t||(47===e?92===t:92===e?47===t:32===(e^t)&&((r=32|e)>=97&&r<=122))},pathsEqual$2(e,t){var r,n;if(e===t)return!0;if((r=e.length)!==t.length)return!1;for(n=0;n<r;++n)if(!this.codeUnitsEqual$2(e.charCodeAt(n),t.charCodeAt(n)))return!1;return!0},canonicalizeCodeUnit$1:e=>47===e?92:e<65||e>90?e:32|e,canonicalizePart$1:e=>e.toLowerCase(),get$name:()=>"windows",get$separator:()=>"\\"},A.WindowsStyle_absolutePathToUri_closure.prototype={call$1:e=>""!==e,$signature:4},A.Version.prototype={get$min(){return this},get$max(){return this},get$includeMin:()=>!0,get$includeMax:()=>!0,$eq(e,t){var r=this;return null!=t&&(t instanceof A.Version&&r.major===t.major&&r.minor===t.minor&&r.patch===t.patch&&C.C_IterableEquality.equals$2(0,r.preRelease,t.preRelease)&&C.C_IterableEquality.equals$2(0,r.build,t.build))},get$hashCode(e){var t=this;return(t.major^t.minor^t.patch^C.C_IterableEquality.hash$1(t.preRelease)^C.C_IterableEquality.hash$1(t.build))>>>0},compareTo$1(e,t){var r,n,i,o,s=this;return t instanceof A.Version?(r=s.major)!==(n=t.major)||(r=s.minor)!==(n=t.minor)||(r=s.patch)!==(n=t.patch)?C.JSInt_methods.compareTo$1(r,n):(n=0===(r=s.preRelease).length)&&0!==t.preRelease.length?1:0!==(i=t.preRelease).length||n?0!==(o=s._compareLists$2(r,i))?o:(n=0===(r=s.build).length)&&0!==t.build.length?-1:0!==(i=t.build).length||n?s._compareLists$2(r,i):1:-1:-t.compareTo$1(0,s)},toString$0(e){return this._version$_text},_compareLists$2(e,t){var r,n,i,o,s;for(r=0;n=e.length,i=t.length,r<Math.max(n,i);++r)if(o=r<n?e[r]:null,s=r<i?t[r]:null,!w.$eq$(o,s))return null==o?-1:null==s?1:"number"==typeof o?"number"==typeof s?C.JSNumber_methods.compareTo$1(o,s):-1:"number"==typeof s?1:(A._asString(o),A._asString(s),n=o===s?0:o<s?-1:1);return 0},$isComparable:1,$isVersionRange:1},A.Version__splitParts_closure.prototype={call$1(e){var t=A.Primitives_parseInt(e,null);return null==t?e:t},$signature:476},A.VersionRange.prototype={$eq(e,t){var r;return null!=t&&(!!D.VersionRange._is(t)&&(r=!1,this.min==t.get$min()&&w.$eq$(this.max,t.get$max())&&(r=!t.get$includeMin())&&t.get$includeMax(),r))},get$hashCode(e){return(2607885^(C.JSNull_methods.get$hashCode(this.min)^3*w.get$hashCode$(this.max)))>>>0},allows$1(e){var t=this.max;return!(null!=t&&e.compareTo$1(0,t)>0)},compareTo$1(e,t){return null==t.get$min()?this._compareMax$1(t):-1},_compareMax$1(e){var t,r,n=this.max;return null==n?null==e.get$max()?0:1:null==e.get$max()?-1:((t=e.get$max()).toString,0!==(r=n.compareTo$1(0,t))?r:(e.get$includeMax(),0))},toString$0(e){var t,r=this.max,n=null==r;return t=n?"":"<="+r.toString$0(0),(n=n?t+"any":t).charCodeAt(0),n},$isComparable:1,get$min(){return this.min},get$max(){return this.max},get$includeMin(){return this.includeMin},get$includeMax(){return this.includeMax}},A.CssMediaQuery.prototype={merge$1(e){var t,r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y=this,$=null,x="all";if(!y.conjunction||!e.conjunction)return C._SingletonCssMediaQueryMergeResult_1;if(r=null==(t=y.modifier)?$:t.toLowerCase(),o=(i=null==(n=y.type))?$:n.toLowerCase(),a=null==(s=e.modifier)?$:s.toLowerCase(),u=(c=null==(l=e.type))?$:l.toLowerCase(),(d=null==o)&&null==u)return t=A.List_List$_of(y.conditions,D.String),C.JSArray_methods.addAll$1(t,e.conditions),new A.MediaQuerySuccessfulMergeResult(A.CssMediaQuery$condition(t,!0));if((h="not"===r)!==("not"===a)){if(o==u)return p=h?y.conditions:e.conditions,C.JSArray_methods.every$1(p,C.JSArray_methods.get$contains(h?e.conditions:y.conditions))?C._SingletonCssMediaQueryMergeResult_0:C._SingletonCssMediaQueryMergeResult_1;if(i||A.equalsIgnoreCase(n,x)||c||A.equalsIgnoreCase(l,x))return C._SingletonCssMediaQueryMergeResult_1;h?(m=e.conditions,_=u,g=a):(m=y.conditions,_=o,g=r)}else if(h){if(o!=u)return C._SingletonCssMediaQueryMergeResult_1;if(f=y.conditions,v=e.conditions,b=(i=f.length>v.length)?f:v,i&&(f=v),!C.JSArray_methods.every$1(f,C.JSArray_methods.get$contains(b)))return C._SingletonCssMediaQueryMergeResult_1;m=b,_=o,g=r}else if(i||A.equalsIgnoreCase(n,x))_=(c||A.equalsIgnoreCase(l,x))&&d?$:u,i=A.List_List$_of(y.conditions,D.String),C.JSArray_methods.addAll$1(i,e.conditions),m=i,g=a;else{if(c||A.equalsIgnoreCase(l,x))i=A.List_List$_of(y.conditions,D.String),C.JSArray_methods.addAll$1(i,e.conditions),m=i,g=r;else{if(o!=u)return C._SingletonCssMediaQueryMergeResult_0;g=null==r?a:r,i=A.List_List$_of(y.conditions,D.String),C.JSArray_methods.addAll$1(i,e.conditions),m=i}_=o}return n=_==o?n:l,new A.MediaQuerySuccessfulMergeResult(A.CssMediaQuery$type(n,m,g==r?t:s))},$eq(e,t){return null!=t&&(t instanceof A.CssMediaQuery&&t.modifier==this.modifier&&t.type==this.type&&C.C_ListEquality.equals$2(0,t.conditions,this.conditions))},get$hashCode(e){return w.get$hashCode$(this.modifier)^w.get$hashCode$(this.type)^C.C_ListEquality0.hash$1(this.conditions)},toString$0(e){var t,r=this,n=r.modifier;return n=null!=n?n+" ":"",null!=(t=r.type)&&(n+=t,0!==r.conditions.length&&(n+=" and ")),t=r.conjunction?" and ":" or ",(t=n+C.JSArray_methods.join$1(r.conditions,t)).charCodeAt(0),t}},A._SingletonCssMediaQueryMergeResult.prototype={_enumToString$0(){return"_SingletonCssMediaQueryMergeResult."+this._name}},A.MediaQuerySuccessfulMergeResult.prototype={toString$0(e){return this.query.toString$0(0)}},A.ModifiableCssAtRule.prototype={accept$1$1(e){return e.visitCssAtRule$1(this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},equalsIgnoringChildren$1(e){var t,r;return e instanceof A.ModifiableCssAtRule?(t=this.name,r=e.name,t=t.$ti._is(r)&&w.$eq$(r.value,t.value)&&w.$eq$(this.value,e.value)&&this.isChildless===e.isChildless):t=!1,t},copyWithoutChildren$0(){var e=this;return A.ModifiableCssAtRule$(e.name,e.span,e.isChildless,e.value)},addChild$1(e){this.super$ModifiableCssParentNode$addChild(e)},get$isChildless(){return this.isChildless},get$span(e){return this.span}},A.ModifiableCssComment.prototype={accept$1$1(e){return e.visitCssComment$1(this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},$isCssComment:1,get$span(e){return this.span}},A.ModifiableCssDeclaration.prototype={accept$1$1(e){return e.visitCssDeclaration$1(this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return this.name.toString$0(0)+": "+this.value.toString$0(0)+";"},get$span(e){return this.span}},A.ModifiableCssImport.prototype={accept$1$1(e){return e.visitCssImport$1(this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},get$span(e){return this.span}},A.ModifiableCssKeyframeBlock.prototype={accept$1$1(e){return e.visitCssKeyframeBlock$1(this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},equalsIgnoringChildren$1(e){return e instanceof A.ModifiableCssKeyframeBlock&&C.C_ListEquality.equals$2(0,this.selector.value,e.selector.value)},copyWithoutChildren$0(){return A.ModifiableCssKeyframeBlock$(this.selector,this.span)},get$span(e){return this.span}},A.ModifiableCssMediaRule.prototype={accept$1$1(e){return e.visitCssMediaRule$1(this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},equalsIgnoringChildren$1(e){return e instanceof A.ModifiableCssMediaRule&&C.C_ListEquality.equals$2(0,this.queries,e.queries)},copyWithoutChildren$0(){return A.ModifiableCssMediaRule$(this.queries,this.span)},get$span(e){return this.span}},A.ModifiableCssNode.prototype={get$hasFollowingSibling(){var e,t=this._parent;return null==t?t=null:(t=t.children,(e=this._indexInParent).toString,t=A.SubListIterable$(t,e+1,null,t.$ti._eval$1("ListBase.E")).any$1(0,new A.ModifiableCssNode_hasFollowingSibling_closure)),!0===t},get$isGroupEnd(){return this.isGroupEnd}},A.ModifiableCssNode_hasFollowingSibling_closure.prototype={call$1:e=>!e.accept$1(C._IsInvisibleVisitor_true_false),$signature:599},A.ModifiableCssParentNode.prototype={get$isChildless:()=>!1,addChild$1(e){var t;e._parent=this,t=this._children,e._indexInParent=t.length,t.push(e)},clearChildren$0(){var e,t,r,n;for(t=(e=this._children).length,r=0;r<t;++r)(n=e[r])._indexInParent=n._parent=null;C.JSArray_methods.clear$0(e)},$isCssParentNode:1,get$children(e){return this.children}},A.ModifiableCssStyleRule.prototype={accept$1$1(e){return e.visitCssStyleRule$1(this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},equalsIgnoringChildren$1(e){return e instanceof A.ModifiableCssStyleRule&&C.C_ListEquality.equals$2(0,e._style_rule$_selector._box$_inner.value.components,this._style_rule$_selector._box$_inner.value.components)},copyWithoutChildren$0(){return A.ModifiableCssStyleRule$(this._style_rule$_selector,this.span,!1,this.originalSelector)},get$span(e){return this.span}},A.ModifiableCssStylesheet.prototype={accept$1$1(e){return e.visitCssStylesheet$1(this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},equalsIgnoringChildren$1:e=>e instanceof A.ModifiableCssStylesheet,copyWithoutChildren$0(){return A.ModifiableCssStylesheet$(this.span)},$isCssStylesheet:1,get$span(e){return this.span}},A.ModifiableCssSupportsRule.prototype={accept$1$1(e){return e.visitCssSupportsRule$1(this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},equalsIgnoringChildren$1(e){var t,r;return e instanceof A.ModifiableCssSupportsRule?(t=this.condition,r=e.condition,t=t.$ti._is(r)&&w.$eq$(r.value,t.value)):t=!1,t},copyWithoutChildren$0(){return A.ModifiableCssSupportsRule$(this.condition,this.span)},get$span(e){return this.span}},A.CssNode.prototype={toString$0(e){var t=null;return A.serialize(this,!0,t,!0,t,t,!1,t,!0)._0},$isAstNode:1},A.CssParentNode.prototype={},A._IsInvisibleVisitor.prototype={visitCssAtRule$1:e=>!1,visitCssComment$1(e){return this.includeComments&&33!==e.text.charCodeAt(2)},visitCssStyleRule$1(e){var t=e._style_rule$_selector._box$_inner;return(this.includeBogus?t.value.accept$1(C._IsInvisibleVisitor_true):t.value.accept$1(C._IsInvisibleVisitor_false))||this.super$EveryCssVisitor$visitCssStyleRule(e)}},A.__IsInvisibleVisitor_Object_EveryCssVisitor.prototype={},A.CssStylesheet.prototype={get$isGroupEnd:()=>!1,get$isChildless:()=>!1,accept$1$1(e){return e.visitCssStylesheet$1(this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},get$children(e){return this.children},get$span(e){return this.span}},A.CssValue.prototype={$eq(e,t){return null!=t&&(this.$ti._is(t)&&w.$eq$(t.value,this.value))},get$hashCode(e){return w.get$hashCode$(this.value)},toString$0(e){return w.toString$0$(this.value)},$isAstNode:1,get$span(e){return this.span}},A._FakeAstNode.prototype={get$span(e){return this._callback.call$0()},$isAstNode:1},A.ArgumentList.prototype={get$isEmpty(e){var t;return t=0===this.positional.length&&((t=this.named).get$isEmpty(t)&&null==this.rest)},toString$0(e){var t,r,n,i,o,s=this,a=A._setArrayType([],D.JSArray_String);for(r=(t=s.positional).length,n=0;n<r;++n)a.push(s._parenthesizeArgument$1(t[n]));for(t=(t=A.MapExtensions_get_pairs(s.named,D.String,D.Expression)).get$iterator(t);t.moveNext$0();)r=t.get$current(t),a.push("$"+r._0+": "+s._parenthesizeArgument$1(r._1));return null!=(i=s.rest)&&a.push(s._parenthesizeArgument$1(i)+"..."),null!=(o=s.keywordRest)&&a.push(s._parenthesizeArgument$1(o)+"..."),"("+C.JSArray_methods.join$1(a,", ")+")"},_parenthesizeArgument$1:e=>e instanceof A.ListExpression&&C.ListSeparator_z0K===e.separator&&!e.hasBrackets&&e.contents.length>=2?"("+e.toString$0(0)+")":e.toString$0(0),$isAstNode:1,get$span(e){return this.span}},A.AtRootQuery.prototype={excludes$1(e){var t=this;return t._all?!t.include:e instanceof A.ModifiableCssStyleRule?t._at_root_query$_rule!==t.include:e instanceof A.ModifiableCssMediaRule?t.excludesName$1("media"):e instanceof A.ModifiableCssSupportsRule?t.excludesName$1("supports"):e instanceof A.ModifiableCssAtRule&&t.excludesName$1(e.name.value.toLowerCase())},excludesName$1(e){return(this._all||this.names.contains$1(0,e))!==this.include}},A.BooleanOperator.prototype={_enumToString$0(){return"BooleanOperator."+this._name},toString$0(e){return this._name}},A.ConfiguredVariable.prototype={toString$0(e){var t=this.expression.toString$0(0),r=this.isGuarded?" !default":"";return"$"+this.name+": "+t+r},$isAstNode:1,get$span(e){return this.span}},A.Expression.prototype={$isAstNode:1},A.BinaryOperationExpression.prototype={get$span(e){for(var t,r=this.left;r instanceof A.BinaryOperationExpression;)r=r.left;for(t=this.right;t instanceof A.BinaryOperationExpression;)t=t.right;return r.get$span(r).expand$1(0,t.get$span(t))},get$operatorSpan(){var e,t,r=this.left,n=r.get$span(r);return(n=n.get$file(n))===(t=(e=this.right).get$span(e)).get$file(t)?(n=(n=r.get$span(r)).get$end(n),t=e.get$span(e),n=t=n.offset<t.get$start(t).offset):n=!1,n?(n=(n=r.get$span(r)).get$file(n),r=(r=r.get$span(r)).get$end(r),e=e.get$span(e),r=e=A.SpanExtensions_trimRight(A.SpanExtensions_trimLeft(n.span$2(0,r.offset,e.get$start(e).offset)))):r=this.get$span(0),r},accept$1$1(e){return e.visitBinaryOperationExpression$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){var t,r,n,i,o,s=this,a=s.left;return r=(t=a instanceof A.BinaryOperationExpression?a.operator.precedence<s.operator.precedence:a instanceof A.ListExpression&&!a.hasBrackets&&a.contents.length>=2)?A.Primitives_stringFromCharCode(40):"",r+=a.toString$0(0),r=(t=t?r+A.Primitives_stringFromCharCode(41):r)+(r=A.Primitives_stringFromCharCode(32))+(n=s.operator).operator+r,t=!1,(i=s.right)instanceof A.BinaryOperationExpression?(o=i.operator).precedence<=n.precedence&&(t=!(o===n&&o.isAssociative)):i instanceof A.ListExpression&&!i.hasBrackets&&i.contents.length>=2&&(t=!0),t&&(r+=A.Primitives_stringFromCharCode(40)),r+=i.toString$0(0),(t=t?r+A.Primitives_stringFromCharCode(41):r).charCodeAt(0),t}},A.BinaryOperator.prototype={_enumToString$0(){return"BinaryOperator."+this._name},toString$0(e){return this.name}},A.BooleanExpression.prototype={accept$1$1(e){return e.visitBooleanExpression$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return String(this.value)},get$span(e){return this.span}},A.ColorExpression.prototype={accept$1$1(e){return e.visitColorExpression$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return A.serializeValue(this.value,!0,!0)},get$span(e){return this.span}},A.FunctionExpression.prototype={accept$1$1(e){return e.visitFunctionExpression$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){var t=this.namespace;return t=null!=t?t+".":"",(t+=this.originalName+this.$arguments.toString$0(0)).charCodeAt(0),t},get$span(e){return this.span}},A.IfExpression.prototype={accept$1$1(e){return e.visitIfExpression$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){var t,r,n,i,o,s,a;for(r=(t=this.branches).length,n=!0,i=0,o="if(";i<r;++i)a=(s=t[i])._0,n?n=!1:o+="; ",o=o+A.S(null==a?"else":a)+": "+s._1.toString$0(0);return(t=o+A.Primitives_stringFromCharCode(41)).charCodeAt(0),t},get$span(e){return this.span}},A.IfConditionExpression.prototype={get$isArbitrarySubstitution:()=>!1,$isAstNode:1},A.IfConditionParenthesized.prototype={toInterpolation$1(e){var t=new A.StringBuffer(""),r=new A.InterpolationBuffer(t,A._setArrayType([],D.JSArray_Object),A._setArrayType([],D.JSArray_nullable_FileSpan)),n=A.Primitives_stringFromCharCode(40);return t._contents+=n,r.addInterpolation$1(this.expression.toInterpolation$1(e)),n=A.Primitives_stringFromCharCode(41),t._contents+=n,r.interpolation$1(this.span)},accept$1$1(e){return e.visitIfConditionParenthesized$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return"("+this.expression.toString$0(0)+")"},get$span(e){return this.span}},A.IfConditionNegation.prototype={toInterpolation$1(e){var t=new A.StringBuffer(""),r=new A.InterpolationBuffer(t,A._setArrayType([],D.JSArray_Object),A._setArrayType([],D.JSArray_nullable_FileSpan));return t._contents="not ",r.addInterpolation$1(this.expression.toInterpolation$1(e)),r.interpolation$1(this.span)},accept$1$1(e){return e.visitIfConditionNegation$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return"not "+this.expression.toString$0(0)},get$span(e){return this.span}},A.IfConditionOperation.prototype={get$span(e){var t=this.expressions,r=C.JSArray_methods.get$first(t);return r=r.get$span(r),t=C.JSArray_methods.get$last(t),r.expand$1(0,t.get$span(t))},toInterpolation$1(e){var t,r,n,i,o,s,a=new A.StringBuffer(""),l=new A.InterpolationBuffer(a,A._setArrayType([],D.JSArray_Object),A._setArrayType([],D.JSArray_nullable_FileSpan));for(r=(t=this.expressions).length,n=this.op,i=!0,o=0;o<r;++o)s=t[o],i?i=!1:a._contents+=" "+n.toString$0(0)+" ",l.addInterpolation$1(s.toInterpolation$1(e));return l.interpolation$1(new A.LazyFileSpan(new A.IfConditionOperation_toInterpolation_closure(this)))},accept$1$1(e){return e.visitIfConditionOperation$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return C.JSArray_methods.join$1(this.expressions," "+this.op.toString$0(0)+" ")}},A.IfConditionOperation_toInterpolation_closure.prototype={call$0(){return this.$this.get$span(0)},$signature:16},A.IfConditionFunction.prototype={get$isArbitrarySubstitution(){var e=this.name.get$asPlain(),t=null==e?null:e.toLowerCase();return e=!0,"if"!==t&&"var"!==t&&"attr"!==t&&(null!=t&&C.JSString_methods.startsWith$1(t,"--")||(e=!1)),e},toInterpolation$1(e){var t,r=new A.StringBuffer(""),n=new A.InterpolationBuffer(r,A._setArrayType([],D.JSArray_Object),A._setArrayType([],D.JSArray_nullable_FileSpan));return n.addInterpolation$1(this.name),t=A.Primitives_stringFromCharCode(40),r._contents+=t,n.addInterpolation$1(this.$arguments),t=A.Primitives_stringFromCharCode(41),r._contents+=t,n.interpolation$1(this.span)},accept$1$1(e){return e.visitIfConditionFunction$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return this.name.toString$0(0)+"("+this.$arguments.toString$0(0)+")"},get$span(e){return this.span}},A.IfConditionSass.prototype={toInterpolation$1(e){return A.throwExpression(A.MultiSourceSpanFormatException$(P.if___c,e.get$span(e),"arbitrary substitution",A.LinkedHashMap_LinkedHashMap$_literal([this.span,"sass() expression"],D.SourceSpan,D.String),null))},accept$1$1(e){return e.visitIfConditionSass$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return"sass("+this.expression.toString$0(0)+")"},get$span(e){return this.span}},A.IfConditionRaw.prototype={get$span(e){return this.text.span},get$isArbitrarySubstitution:()=>!0,toInterpolation$1(e){return this.text},accept$1$1(e){return e.visitIfConditionRaw$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return this.text.toString$0(0)}},A.InterpolatedFunctionExpression.prototype={accept$1$1(e){return e.visitInterpolatedFunctionExpression$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return this.name.toString$0(0)+this.$arguments.toString$0(0)},get$span(e){return this.span}},A.LegacyIfExpression.prototype={get$modernSuggestion(){var e,t,r,n,i,o=null,s=this.$arguments;return t=o,r=o,n=!1,3===(e=s.positional).length?(i=e[0],t=e[1],r=e[2],n=(n=s.named).get$isEmpty(n)&&null==s.rest):i=o,n=n?r instanceof A.NullExpression?"if(sass("+A.S(i)+"): "+A.S(t)+")":t instanceof A.NullExpression?"if(not sass("+A.S(i)+"): "+A.S(r)+")":"if(sass("+A.S(i)+"): "+A.S(t)+"; else: "+A.S(r)+")":o},accept$1$1(e){return e.visitLegacyIfExpression$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return"if"+this.$arguments.toString$0(0)},get$span(e){return this.span}},A.ListExpression.prototype={accept$1$1(e){return e.visitListExpression$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){var t,r,n,i,o=this,s=o.hasBrackets;return t=s?A.Primitives_stringFromCharCode(91):(t=0===(t=o.contents.length)||1===t&&o.separator===C.ListSeparator_z0K)?A.Primitives_stringFromCharCode(40):"",r=o.contents,i=(n=o.separator===C.ListSeparator_z0K)?", ":" ",i=t+new A.MappedListIterable(r,new A.ListExpression_toString_closure(o),A._arrayInstanceType(r)._eval$1("MappedListIterable<1,String>")).join$1(0,i),(s=s?i+A.Primitives_stringFromCharCode(93):0===(s=r.length)?i+A.Primitives_stringFromCharCode(41):1===s&&n?i+",)":i).charCodeAt(0),s},_list0$_elementNeedsParens$1(e){var t,r,n;return e instanceof A.ListExpression&&e.contents.length>=2&&!e.hasBrackets?(t=e.separator,r=this.separator===C.ListSeparator_z0K?t===C.ListSeparator_z0K:t!==C.ListSeparator_undecided_null_3_undecided):(e instanceof A.UnaryOperationExpression?(n=e.operator,r=C.UnaryOperator_n2K===n||C.UnaryOperator_hCO===n):r=!1,r=!!r&&this.separator===C.ListSeparator_SrV),r},get$span(e){return this.span}},A.ListExpression_toString_closure.prototype={call$1(e){return this.$this._list0$_elementNeedsParens$1(e)?"("+e.toString$0(0)+")":e.toString$0(0)},$signature:133},A.MapExpression.prototype={accept$1$1(e){return e.visitMapExpression$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){var t,r,n,i,o=A._setArrayType([],D.JSArray_String);for(r=(t=this.pairs).length,n=0;n<r;++n)i=t[n],o.push(i._0.toString$0(0)+": "+i._1.toString$0(0));return"("+C.JSArray_methods.join$1(o,", ")+")"},get$span(e){return this.span}},A.NullExpression.prototype={accept$1$1(e){return e.visitNullExpression$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0:e=>"null",get$span(e){return this.span}},A.NumberExpression.prototype={accept$1$1(e){return e.visitNumberExpression$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return A.serializeValue(A.SassNumber_SassNumber(this.value,this.unit),!0,!0)},get$span(e){return this.span}},A.ParenthesizedExpression.prototype={accept$1$1(e){return e.visitParenthesizedExpression$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return"("+this.expression.toString$0(0)+")"},get$span(e){return this.span}},A.SelectorExpression.prototype={accept$1$1(e){return e.visitSelectorExpression$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0:e=>"&",get$span(e){return this.span}},A.StringExpression.prototype={get$span(e){return this.text.span},accept$1$1(e){return e.visitStringExpression$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},asInterpolation$1$static(e){var t,r,n,i,o,s,a,l,c,u,d,h;if(!this.hasQuotes)return this.text;for(r=(t=this.text).contents,n=A.StringExpression__bestQuote(new A.WhereTypeIterable(r,D.WhereTypeIterable_String)),i=new A.StringBuffer(""),o=A._setArrayType([],D.JSArray_Object),s=A._setArrayType([],D.JSArray_nullable_FileSpan),a=new A.InterpolationBuffer(i,o,s),l=A.Primitives_stringFromCharCode(n),i._contents+=l,c=r.length,u=0;u<c;++u)(d=r[u])instanceof A.Expression?(h=t.spanForElement$1(u),a._flushText$0(),o.push(d),s.push(h)):"string"==typeof d&&A.StringExpression__quoteInnerText(d,n,a,e);return i._contents+=l,a.interpolation$1(t.span)},asInterpolation$0(){return this.asInterpolation$1$static(!1)},toString$0(e){return this.asInterpolation$0().toString$0(0)}},A.SupportsExpression.prototype={get$span(e){var t=this.condition;return t.get$span(t)},accept$1$1(e){return e.visitSupportsExpression$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return this.condition.toString$0(0)}},A.UnaryOperationExpression.prototype={accept$1$1(e){return e.visitUnaryOperationExpression$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){var t,r=this.operator,n=r.operator;return r=r===C.UnaryOperator_not_not_3_not?n+A.Primitives_stringFromCharCode(32):n,n=!0,(t=this.operand)instanceof A.BinaryOperationExpression||t instanceof A.UnaryOperationExpression||(n=t instanceof A.ListExpression&&!t.hasBrackets&&t.contents.length>=2),n&&(r+="40"),r+=t.toString$0(0),n&&(r+="41"),r.charCodeAt(0),r},get$span(e){return this.span}},A.UnaryOperator.prototype={_enumToString$0(){return"UnaryOperator."+this._name},toString$0(e){return this.name}},A.ValueExpression.prototype={accept$1$1(e){return e.visitValueExpression$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return this.value.toString$0(0)},get$span(e){return this.span}},A.VariableExpression.prototype={accept$1$1(e){return e.visitVariableExpression$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return this.span.get$text()},get$span(e){return this.span}},A.DynamicImport.prototype={toString$0(e){return A.StringExpression_quoteText(this.urlString)},$isAstNode:1,$isImport:1,get$span(e){return this.span}},A.StaticImport.prototype={toString$0(e){var t=this.url.toString$0(0),r=this.modifiers;return t+(null==r?"":" "+r.toString$0(0))},$isAstNode:1,$isImport:1,get$span(e){return this.span}},A.Interpolation.prototype={get$asPlain(){var e,t,r,n,i=this.contents;return(e=i.length)<=0?t="":((r=1===e)?t="string"==typeof(n=i[0]):(n=null,t=!1),t=t?A._asString(r?n:i[0]):null),t},get$initialPlain(){var e,t,r,n=this.contents;return(e=n.length>=1)?r="string"==typeof(t=n[0]):(t=null,r=!1),r=r?A._asString(e?t:n[0]):""},spanForElement$1(e){var t,r,n,i,o,s=this;return"string"!=typeof s.contents[e]?(t=s.spans[e]).toString:(r=(t=s.span).get$file(t),n=0===e?t.get$start(t):(n=s.spans[e-1]).get$end(n),t=(i=e+1)===(o=s.spans).length?t.get$end(t):(t=o[i]).get$start(t),t=r.span$2(0,n.offset,t.offset)),t},Interpolation$3(e,t,r){var n,i,o,s,a,l,c,u="spans",d="contents";if(t.length!==w.get$length$asx(e))throw A.wrapException(A.ArgumentError$value(this.spans,u,"Must be the same length as contents."));for(i=(n=this.contents).length,o=t.length,s=this.spans,a=0;a<i;++a){if(!((c="string"==typeof(l=n[a]))||l instanceof A.Expression))throw A.wrapException(A.ArgumentError$value(n,d,"May only contain Strings or Expressions."));if(c){if(0!==a&&"string"==typeof n[a-1])throw A.wrapException(A.ArgumentError$value(n,d,"May not contain adjacent Strings."));if(a<o&&null!=s[a])throw A.wrapException(A.ArgumentError$value(s,u,P.May_no+a+")."))}else if(a>=o||null==s[a])throw A.wrapException(A.ArgumentError$value(s,u,P.Must_n+a+")."))}},toString$0(e){var t=this.contents;return new A.MappedListIterable(t,new A.Interpolation_toString_closure,A._arrayInstanceType(t)._eval$1("MappedListIterable<1,String>")).join$0(0)},$isAstNode:1,get$span(e){return this.span}},A.Interpolation_toString_closure.prototype={call$1:e=>"string"==typeof e?e:"#{"+A.S(e)+"}",$signature:132},A.Parameter.prototype={toString$0(e){var t=this.defaultValue,r=this.name;return null==t?r:r+": "+t.toString$0(0)},$isAstNode:1,get$span(e){return this.span}},A.ParameterList.prototype={get$spanWithName(){for(var e,t,r=this.span,n=A.String_String$fromCharCodes(C.NativeUint32List_methods.sublist$2(r.get$file(r)._decodedChars,0,null),0,null),i=r.get$start(r).offset-1;e=i>0&&(32===(e=n.charCodeAt(i))||9===e||10===e||13===e||12===e);)--i;if(!(e=!!(95===(e=n.charCodeAt(i))||A.CharacterExtension_get_isAlphabetic(e)||e>=128)||(e>=48&&e<=57||45===e)))return r;for(--i;e=i>=0&&(!!(t=95===(e=n.charCodeAt(i))||((t=e>=97&&e<=122||e>=65&&e<=90)||e>=128))||(e>=48&&e<=57||45===e));)--i;return e=i+1,95===(t=n.charCodeAt(e))||A.CharacterExtension_get_isAlphabetic(t)||t>=128?A.SpanExtensions_trimRight(A.SpanExtensions_trimLeft(r.get$file(r).span$2(0,e,r.get$end(r).offset))):r},verify$2(e,t){var r,n,i,o,s,a,l,c,u=this,d="invocation";for(n=(r=u.parameters).length,i=t._baseMap,o=0,s=0;s<n;++s)if(a=r[s],s<e){if(l=a.name,i.containsKey$1(l))throw A.wrapException(A.SassScriptException$("Argument "+u._originalParameterName$1(l)+P.x20was_p,null))}else if(l=a.name,i.containsKey$1(l))++o;else if(null==a.defaultValue)throw A.wrapException(A.MultiSpanSassScriptException$("Missing argument "+u._originalParameterName$1(l)+".",d,A.LinkedHashMap_LinkedHashMap$_literal([u.get$spanWithName(),"declaration"],D.FileSpan,D.String)));if(null==u.restParameter){if(e>n)throw r=t.get$isEmpty(0)?"":"positional ",A.wrapException(A.MultiSpanSassScriptException$("Only "+n+" "+r+A.pluralize("argument",n,null)+" allowed, but "+e+" "+A.pluralize("was",e,"were")+" passed.",d,A.LinkedHashMap_LinkedHashMap$_literal([u.get$spanWithName(),"declaration"],D.FileSpan,D.String)));if(o<i.get$length(i))throw n=D.String,(c=A.LinkedHashSet_LinkedHashSet$of(t,n)).removeAll$1(new A.MappedListIterable(r,new A.ParameterList_verify_closure,A._arrayInstanceType(r)._eval$1("MappedListIterable<1,Object?>"))),A.wrapException(A.MultiSpanSassScriptException$("No "+A.pluralize("parameter",c._collection$_length,null)+" named "+A.toSentence(c.map$1$1(0,new A.ParameterList_verify_closure0,D.Object),"or")+".",d,A.LinkedHashMap_LinkedHashMap$_literal([u.get$spanWithName(),"declaration"],D.FileSpan,n)))}},_originalParameterName$1(e){var t,r,n,i,o,s;if(e===this.restParameter)return t=this.span.get$text(),C.JSString_methods.substring$2(C.JSString_methods.substring$1(t,C.JSString_methods.lastIndexOf$1(t,"$")),0,C.JSString_methods.indexOf$1(t,"."));for(n=(r=this.parameters).length,i=0;i<n;++i)if((o=r[i]).name===e)return r=o.span,null==o.defaultValue?r=r.get$text():(t=r.get$text(),r=C.JSString_methods.substring$2(t,0,C.JSString_methods.indexOf$1(t,":")),r=null==(s=A._lastNonWhitespace(r,!1))?"":C.JSString_methods.substring$2(r,0,s+1)),r;throw A.wrapException(A.ArgumentError$(P.This_d+e+'".',null))},matches$2(e,t){var r,n,i,o,s,a;for(n=(r=this.parameters).length,i=t._baseMap,o=0,s=0;s<n;++s)if(a=r[s],s<e){if(i.containsKey$1(a.name))return!1}else if(i.containsKey$1(a.name))++o;else if(null==a.defaultValue)return!1;return null!=this.restParameter||!(e>n)&&!(o<i.get$length(i))},toString$0(e){var t,r,n,i=A._setArrayType([],D.JSArray_String);for(r=(t=this.parameters).length,n=0;n<r;++n)i.push("$"+t[n].toString$0(0));return null!=(t=this.restParameter)&&i.push("$"+t+"..."),C.JSArray_methods.join$1(i,", ")},$isAstNode:1,get$span(e){return this.span}},A.ParameterList_verify_closure.prototype={call$1:e=>e.name,$signature:326},A.ParameterList_verify_closure0.prototype={call$1:e=>"$"+e,$signature:6},A.Statement.prototype={$isAstNode:1},A.AtRootRule.prototype={accept$1$1(e){return e.visitAtRootRule$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){var t=new A.StringBuffer("@at-root "),r=this.query;return null!=r&&(t._contents="@at-root "+r.toString$0(0)+" "),t.toString$0(0)+" {"+C.JSArray_methods.join$1(this.children," ")+"}"},get$span(e){return this.span}},A.AtRule.prototype={accept$1$1(e){return e.visitAtRule$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){var t,r="@"+this.name.toString$0(0),n=new A.StringBuffer(r),i=this.value;return null!=i&&(n._contents=r+" "+i.toString$0(0)),null==(t=this.children)?n.toString$0(0)+";":n.toString$0(0)+" {"+C.JSArray_methods.join$1(t," ")+"}"},get$span(e){return this.span}},A.CallableDeclaration.prototype={get$span(e){return this.span}},A.ContentBlock.prototype={accept$1$1(e){return e.visitContentBlock$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){var t=this.parameters;return(t=0===t.parameters.length&&null==t.restParameter?"":" using ("+t.toString$0(0)+")")+" {"+C.JSArray_methods.join$1(this.children," ")+"}"}},A.ContentRule.prototype={accept$1$1(e){return e.visitContentRule$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){var t=this.$arguments;return t.get$isEmpty(0)?"@content;":"@content("+t.toString$0(0)+");"},get$span(e){return this.span}},A.DebugRule.prototype={accept$1$1(e){return e.visitDebugRule$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return"@debug "+this.expression.toString$0(0)+";"},get$span(e){return this.span}},A.Declaration.prototype={accept$1$1(e){return e.visitDeclaration$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){var t,r,n=this,i=new A.StringBuffer(""),o=n.name.toString$0(0);return i._contents=o,o=i._contents=o+A.Primitives_stringFromCharCode(58),null!=(t=n.value)&&(n.parsedAsSassScript&&(o=i._contents=o+A.Primitives_stringFromCharCode(32)),i._contents=o+t.toString$0(0)),null!=(r=n.children)?i.toString$0(0)+" {"+C.JSArray_methods.join$1(r," ")+"}":i.toString$0(0)+";"},get$span(e){return this.span}},A.EachRule.prototype={accept$1$1(e){return e.visitEachRule$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){var t=this.variables;return"@each "+new A.MappedListIterable(t,new A.EachRule_toString_closure,A._arrayInstanceType(t)._eval$1("MappedListIterable<1,String>")).join$1(0,", ")+" in "+this.list.toString$0(0)+" {"+C.JSArray_methods.join$1(this.children," ")+"}"},get$span(e){return this.span}},A.EachRule_toString_closure.prototype={call$1:e=>"$"+e,$signature:6},A.ErrorRule.prototype={accept$1$1(e){return e.visitErrorRule$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return"@error "+this.expression.toString$0(0)+";"},get$span(e){return this.span}},A.ExtendRule.prototype={accept$1$1(e){return e.visitExtendRule$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return"@extend "+this.selector.toString$0(0)+(this.isOptional?" !optional":"")+";"},get$span(e){return this.span}},A.ForRule.prototype={accept$1$1(e){return e.visitForRule$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){var t=this,r=t.from.toString$0(0),n=t.isExclusive?"to":"through";return"@for $"+t.variable+" from "+r+" "+n+" "+t.to.toString$0(0)+" {"+C.JSArray_methods.join$1(t.children," ")+"}"},get$span(e){return this.span}},A.ForwardRule.prototype={accept$1$1(e){return e.visitForwardRule$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){var t,r,n=this,i="@forward "+A.StringExpression_quoteText(n.url.toString$0(0)),o=n.shownMixinsAndFunctions,s=n.hiddenMixinsAndFunctions;return null!=o?((t=n.shownVariables).toString,i=t=i+" show "+n._forward_rule$_memberList$2(o,t)):null!=s&&s._base.get$isNotEmpty(0)&&((t=n.hiddenVariables).toString,i=t=i+" hide "+n._forward_rule$_memberList$2(s,t)),null!=(r=n.prefix)&&(i+=" as "+r+"*"),(i=(0!==(t=n.configuration).length?i+" with ("+C.JSArray_methods.join$1(t,", ")+")":i)+";").charCodeAt(0),i},_forward_rule$_memberList$2(e,t){var r,n=A.List_List$_of(e,D.String);for(r=t._base.get$iterator(0);r.moveNext$0();)n.push("$"+r.get$current(0));return C.JSArray_methods.join$1(n,", ")},get$span(e){return this.span}},A.FunctionRule.prototype={accept$1$1(e){return e.visitFunctionRule$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return"@function "+this.name+"("+this.parameters.toString$0(0)+") {"+C.JSArray_methods.join$1(this.children," ")+"}"}},A.IfRule.prototype={accept$1$1(e){return e.visitIfRule$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){var t=A.ListExtensions_mapIndexed(this.clauses,new A.IfRule_toString_closure,D.IfClause,D.String).join$1(0," "),r=this.lastClause;return null!=r?t+" "+r.toString$0(0):t},get$span(e){return this.span}},A.IfRule_toString_closure.prototype={call$2:(e,t)=>"@"+(0===e?"if":"else if")+" "+t.expression.toString$0(0)+" {"+C.JSArray_methods.join$1(t.children," ")+"}",$signature:397},A.IfRuleClause.prototype={},A.IfRuleClause$__closure.prototype={call$1:e=>e instanceof A.VariableDeclaration||e instanceof A.FunctionRule||e instanceof A.MixinRule||e instanceof A.ImportRule&&C.JSArray_methods.any$1(e.imports,new A.IfRuleClause$___closure),$signature:148},A.IfRuleClause$___closure.prototype={call$1:e=>e instanceof A.DynamicImport,$signature:150},A.IfClause.prototype={toString$0(e){return"@if "+this.expression.toString$0(0)+" {"+C.JSArray_methods.join$1(this.children," ")+"}"}},A.ElseClause.prototype={toString$0(e){return"@else {"+C.JSArray_methods.join$1(this.children," ")+"}"}},A.ImportRule.prototype={accept$1$1(e){return e.visitImportRule$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return"@import "+C.JSArray_methods.join$1(this.imports,", ")+";"},get$span(e){return this.span}},A.IncludeRule.prototype={get$spanWithoutContent(){var e,t=this.span;return null!=this.content&&(e=this.$arguments.span,e=A.SpanExtensions_trimRight(A.SpanExtensions_trimLeft(t.get$file(t).span$2(0,t.get$start(t).offset,e.get$end(e).offset))),t=e),t},get$nameSpan(){var e,t,r=null,n=this.span;return C.JSString_methods.startsWith$1(n.get$text(),"+")?e=A.SpanExtensions_trimLeft(A.FileSpanExtension_subspan(n,1,r)):((t=A.StringScanner$(n.get$text(),r,r)).expectChar$1(64),A._scanIdentifier(t),e=A.SpanExtensions_trimLeft(A.FileSpanExtension_subspan(n,t._string_scanner$_position,r))),null!=this.namespace&&(t=A.StringScanner$(e.get$text(),r,r),A._scanIdentifier(t),e=A.FileSpanExtension_subspan(A.FileSpanExtension_subspan(e,t._string_scanner$_position,r),1,r)),A.SpanExtensions_initialIdentifier(e)},accept$1$1(e){return e.visitIncludeRule$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){var t,r=this,n=r.namespace;return n=null!=n?"@include "+n+".":"@include ",n+=r.name,(t=r.$arguments).get$isEmpty(0)||(n+="("+t.toString$0(0)+")"),(n+=null==(t=r.content)?";":" "+t.toString$0(0)).charCodeAt(0),n},get$span(e){return this.span}},A.LoudComment.prototype={get$span(e){return this.text.span},accept$1$1(e){return e.visitLoudComment$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return this.text.toString$0(0)}},A.MediaRule.prototype={accept$1$1(e){return e.visitMediaRule$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return"@media "+this.query.toString$0(0)+" {"+C.JSArray_methods.join$1(this.children," ")+"}"},get$span(e){return this.span}},A.MixinRule.prototype={get$hasContent(){var e,t=this,r=t.__MixinRule_hasContent_FI;return r===I&&(e=w.$eq$(C.C__HasContentVisitor.visitChildren$1(t.children),!0),t.__MixinRule_hasContent_FI!==I&&A.throwUnnamedLateFieldADI(),t.__MixinRule_hasContent_FI=e,r=e),r},accept$1$1(e){return e.visitMixinRule$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){var t="@mixin "+this.name,r=this.parameters;return 0===r.parameters.length&&null==r.restParameter||(t+="("+r.toString$0(0)+")"),(t+=" {"+C.JSArray_methods.join$1(this.children," ")+"}").charCodeAt(0),t}},A._HasContentVisitor.prototype={visitContentRule$1:(e,t)=>!0},A.__HasContentVisitor_Object_StatementSearchVisitor.prototype={},A.ParentStatement.prototype={},A.ParentStatement_closure.prototype={call$1:e=>e instanceof A.VariableDeclaration||e instanceof A.FunctionRule||e instanceof A.MixinRule||e instanceof A.ImportRule&&C.JSArray_methods.any$1(e.imports,new A.ParentStatement__closure),$signature:148},A.ParentStatement__closure.prototype={call$1:e=>e instanceof A.DynamicImport,$signature:150},A.ReturnRule.prototype={accept$1$1(e){return e.visitReturnRule$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return"@return "+this.expression.toString$0(0)+";"},get$span(e){return this.span}},A.SilentComment.prototype={accept$1$1(e){return e.visitSilentComment$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return this.text},get$span(e){return this.span}},A.StyleRule.prototype={accept$1$1(e){return e.visitStyleRule$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){var t=this.selector;return A.S(null==t?this.parsedSelector:t)+" {"+C.JSArray_methods.join$1(this.children," ")+"}"},get$span(e){return this.span}},A.Stylesheet.prototype={Stylesheet$internal$5$globalVariables$plainCss(e,t,r,n,i){var o,s,a,l,c,u;for(s=(o=this.children).length,a=this._forwards,l=this._uses,c=0;c<s;++c)if((u=o[c])instanceof A.UseRule)l.push(u);else if(u instanceof A.ForwardRule)a.push(u);else if(!(u instanceof A.SilentComment||u instanceof A.LoudComment||u instanceof A.VariableDeclaration))break},accept$1$1(e){return e.visitStylesheet$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return C.JSArray_methods.join$1(this.children," ")},get$span(e){return this.span}},A.SupportsRule.prototype={accept$1$1(e){return e.visitSupportsRule$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return"@supports "+this.condition.toString$0(0)+" {"+C.JSArray_methods.join$1(this.children," ")+"}"},get$span(e){return this.span}},A.UseRule.prototype={UseRule$4$configuration(e,t,r,n){var i,o,s,a;for(o=(i=this.configuration).length,s=0;s<o;++s)if((a=i[s]).isGuarded)throw A.wrapException(A.ArgumentError$value(a,"configured variable","can't be guarded in a @use rule."))},accept$1$1(e){return e.visitUseRule$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){var t=this.url,r="@use "+A.StringExpression_quoteText(t.toString$0(0)),n=0===t.get$pathSegments().length?"":C.JSArray_methods.get$last(t.get$pathSegments()),i=C.JSString_methods.indexOf$1(n,".");return t=(t=this.namespace)!==C.JSString_methods.substring$2(n,0,-1===i?n.length:i)?r+" as "+(null==t?"*":t):r,(t=(0!==(r=this.configuration).length?t+" with ("+C.JSArray_methods.join$1(r,", ")+")":t)+";").charCodeAt(0),t},get$span(e){return this.span}},A.VariableDeclaration.prototype={accept$1$1(e){return e.visitVariableDeclaration$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){var t=this.namespace;return t=null!=t?t+".":"",(t+="$"+this.name+": "+this.expression.toString$0(0)+";").charCodeAt(0),t},get$span(e){return this.span}},A.WarnRule.prototype={accept$1$1(e){return e.visitWarnRule$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return"@warn "+this.expression.toString$0(0)+";"},get$span(e){return this.span}},A.WhileRule.prototype={accept$1$1(e){return e.visitWhileRule$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return"@while "+this.condition.toString$0(0)+" {"+C.JSArray_methods.join$1(this.children," ")+"}"},get$span(e){return this.span}},A.SupportsAnything.prototype={withSpan$1(e){return new A.SupportsAnything(this.contents,e)},toString$0(e){return"("+this.contents.toString$0(0)+")"},$isAstNode:1,get$span(e){return this.span}},A.SupportsDeclaration.prototype={get$isCustomProperty(){var e=this.name;return e instanceof A.StringExpression&&!e.hasQuotes&&C.JSString_methods.startsWith$1(e.text.get$initialPlain(),"--")},withSpan$1(e){return new A.SupportsDeclaration(this.name,this.value,e)},toString$0(e){return"("+this.name.toString$0(0)+": "+this.value.toString$0(0)+")"},$isAstNode:1,get$span(e){return this.span}},A.SupportsFunction.prototype={withSpan$1(e){return new A.SupportsFunction(this.name,this.$arguments,e)},toString$0(e){return this.name.toString$0(0)+"("+this.$arguments.toString$0(0)+")"},$isAstNode:1,get$span(e){return this.span}},A.SupportsInterpolation.prototype={withSpan$1(e){return new A.SupportsInterpolation(this.expression,e)},toString$0(e){return"#{"+this.expression.toString$0(0)+"}"},$isAstNode:1,get$span(e){return this.span}},A.SupportsNegation.prototype={withSpan$1(e){return new A.SupportsNegation(this.condition,e)},toString$0(e){var t=this.condition;return t instanceof A.SupportsNegation||t instanceof A.SupportsOperation?"not ("+t.toString$0(0)+")":"not "+t.toString$0(0)},$isAstNode:1,get$span(e){return this.span}},A.SupportsOperation.prototype={withSpan$1(e){return new A.SupportsOperation(this.left,this.right,this.operator,e)},toString$0(e){var t=this;return t._parenthesize$1(t.left)+" "+t.operator.toString$0(0)+" "+t._parenthesize$1(t.right)},_parenthesize$1(e){return e instanceof A.SupportsNegation||e instanceof A.SupportsOperation&&e.operator===this.operator?"("+e.toString$0(0)+")":e.toString$0(0)},$isAstNode:1,get$span(e){return this.span}},A.Selector.prototype={assertNotBogus$1$name(e){this.accept$1(C._IsBogusVisitor_true)&&A.warnForDeprecation("$"+e+": "+(this.toString$0(0)+P.x20is_nov),C.Deprecation_0rM)},toString$0(e){var t=null,r=A._SerializeVisitor$(t,!0,t,t,!0,!1,t,!0);return this.accept$1(r),r._serialize$_buffer.toString$0(0)},$isAstNode:1,get$span(e){return this.span}},A._IsInvisibleVisitor0.prototype={visitSelectorList$1(e){return C.JSArray_methods.every$1(e.components,this.get$visitComplexSelector())},visitComplexSelector$1(e){return!!this.super$AnySelectorVisitor$visitComplexSelector(e)||this.includeBogus&&e.accept$1(C._IsBogusVisitor_false)},visitPlaceholderSelector$1:(e,t)=>!0,visitPseudoSelector$1(e,t){var r=t.selector;return null!=r&&("not"===t.name?this.includeBogus&&r.accept$1(C._IsBogusVisitor_true):this.visitSelectorList$1(r))}},A._IsBogusVisitor.prototype={visitComplexSelector$1(e){var t,r=e.components;return 0===r.length?0!==e.leadingCombinators.length:(t=this.includeLeadingCombinator?0:1,e.leadingCombinators.length>t||0!==C.JSArray_methods.get$last(r).combinators.length||C.JSArray_methods.any$1(r,new A._IsBogusVisitor_visitComplexSelector_closure(this)))},visitPseudoSelector$1(e,t){var r=t.selector;return null!=r&&("has"===t.name?r.accept$1(C._IsBogusVisitor_false):r.accept$1(C._IsBogusVisitor_true))}},A._IsBogusVisitor_visitComplexSelector_closure.prototype={call$1(e){return e.combinators.length>1||this.$this.visitCompoundSelector$1(e.selector)},$signature:54},A._IsUselessVisitor.prototype={visitComplexSelector$1(e){return e.leadingCombinators.length>1||C.JSArray_methods.any$1(e.components,new A._IsUselessVisitor_visitComplexSelector_closure(this))},visitPseudoSelector$1:(e,t)=>t.accept$1(C._IsBogusVisitor_true)},A._IsUselessVisitor_visitComplexSelector_closure.prototype={call$1(e){return e.combinators.length>1||this.$this.visitCompoundSelector$1(e.selector)},$signature:54},A._ContainsParentSelectorVisitor.prototype={visitParentSelector$1:(e,t)=>!0},A.__ContainsParentSelectorVisitor_Object_AnySelectorVisitor.prototype={},A.__IsBogusVisitor_Object_AnySelectorVisitor.prototype={},A.__IsInvisibleVisitor_Object_AnySelectorVisitor.prototype={},A.__IsUselessVisitor_Object_AnySelectorVisitor.prototype={},A.AttributeSelector.prototype={accept$1$1(e){return e.visitAttributeSelector$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},$eq(e,t){var r=this;return null!=t&&(t instanceof A.AttributeSelector&&t.name.$eq(0,r.name)&&t.op==r.op&&t.value==r.value&&t.modifier==r.modifier)},get$hashCode(e){var t=this,r=t.name;return(C.JSString_methods.get$hashCode(r.name)^w.get$hashCode$(r.namespace)^w.get$hashCode$(t.op)^w.get$hashCode$(t.value)^w.get$hashCode$(t.modifier))>>>0}},A.AttributeOperator.prototype={_enumToString$0(){return"AttributeOperator."+this._name},toString$0(e){return this._attribute$_text}},A.ClassSelector.prototype={$eq(e,t){return null!=t&&(t instanceof A.ClassSelector&&t.name===this.name)},accept$1$1(e){return e.visitClassSelector$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},addSuffix$1(e){return new A.ClassSelector(this.name+e,this.span)},get$hashCode(e){return C.JSString_methods.get$hashCode(this.name)}},A.Combinator.prototype={_enumToString$0(){return"Combinator."+this._name},toString$0(e){return this._combinator$_text}},A.ComplexSelector.prototype={get$specificity(){var e,t=this,r=t.__ComplexSelector_specificity_FI;return r===I&&(e=C.JSArray_methods.fold$2(t.components,0,new A.ComplexSelector_specificity_closure),t.__ComplexSelector_specificity_FI!==I&&A.throwUnnamedLateFieldADI(),t.__ComplexSelector_specificity_FI=e,r=e),r},get$singleCompound(){var e,t,r,n;return 0!==this.leadingCombinators.length?null:(t=!1,1===(e=this.components).length?(n=(r=e[0]).selector,t=r.combinators.length<=0):n=null,t=t?n:null)},accept$1$1(e){return e.visitComplexSelector$1(this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},isSuperselector$1(e){return 0===this.leadingCombinators.length&&0===e.leadingCombinators.length&&A.complexIsSuperselector(this.components,e.components)},withAdditionalCombinators$1(e){var t,r,n,i,o,s=this;return 0===e.length?s:((r=(t=s.components).length)>=1?(n=r-1,i=C.JSArray_methods.sublist$2(t,0,n),o=t[n],(n=A.List_List$_of(i,D.ComplexSelectorComponent)).push(o.withAdditionalCombinators$1(e)),n=A.ComplexSelector$(s.leadingCombinators,n,s.span,s.lineBreak)):r<=0?(n=A.List_List$_of(s.leadingCombinators,D.CssValue_Combinator),C.JSArray_methods.addAll$1(n,e),n=A.ComplexSelector$(n,C.List_empty2,s.span,s.lineBreak)):n=null,n)},concatenate$3$forceLineBreak(e,t,r){var n,i,o,s,a=this,l=e.leadingCombinators,c=a.components;return 0===l.length?(l=A.List_List$_of(c,D.ComplexSelectorComponent),C.JSArray_methods.addAll$1(l,e.components),n=a.lineBreak||e.lineBreak||r,A.ComplexSelector$(a.leadingCombinators,l,t,n)):(i=c.length)>=1?(n=i-1,o=C.JSArray_methods.sublist$2(c,0,n),s=c[n],(n=A.List_List$_of(o,D.ComplexSelectorComponent)).push(s.withAdditionalCombinators$1(l)),C.JSArray_methods.addAll$1(n,e.components),l=a.lineBreak||e.lineBreak||r,A.ComplexSelector$(a.leadingCombinators,n,t,l)):(n=A.List_List$_of(a.leadingCombinators,D.CssValue_Combinator),C.JSArray_methods.addAll$1(n,l),l=a.lineBreak||e.lineBreak||r,A.ComplexSelector$(n,e.components,t,l))},concatenate$2(e,t){return this.concatenate$3$forceLineBreak(e,t,!1)},get$hashCode(e){return C.C_ListEquality0.hash$1(this.leadingCombinators)^C.C_ListEquality0.hash$1(this.components)},$eq(e,t){return null!=t&&(t instanceof A.ComplexSelector&&C.C_ListEquality.equals$2(0,this.leadingCombinators,t.leadingCombinators)&&C.C_ListEquality.equals$2(0,this.components,t.components))}},A.ComplexSelector_specificity_closure.prototype={call$2:(e,t)=>e+t.selector.get$specificity(),$signature:356},A.ComplexSelectorComponent.prototype={withAdditionalCombinators$1(e){var t,r,n=this;return 0===e.length?t=n:(t=D.CssValue_Combinator,r=A.List_List$_of(n.combinators,t),C.JSArray_methods.addAll$1(r,e),t=new A.ComplexSelectorComponent(n.selector,A.List_List$unmodifiable(r,t),n.span)),t},get$hashCode(e){return C.C_ListEquality0.hash$1(this.selector.components)^C.C_ListEquality0.hash$1(this.combinators)},$eq(e,t){return null!=t&&(t instanceof A.ComplexSelectorComponent&&(C.C_ListEquality.equals$2(0,this.selector.components,t.selector.components)&&C.C_ListEquality.equals$2(0,this.combinators,t.combinators)))},toString$0(e){var t=this.combinators;return A.serializeSelector(this.selector,!0)+new A.MappedListIterable(t,new A.ComplexSelectorComponent_toString_closure,A._arrayInstanceType(t)._eval$1("MappedListIterable<1,String>")).join$1(0,"")}},A.ComplexSelectorComponent_toString_closure.prototype={call$1:e=>" "+e.toString$0(0),$signature:393},A.CompoundSelector.prototype={get$specificity(){var e,t=this,r=t.__CompoundSelector_specificity_FI;return r===I&&(e=C.JSArray_methods.fold$2(t.components,0,new A.CompoundSelector_specificity_closure),t.__CompoundSelector_specificity_FI!==I&&A.throwUnnamedLateFieldADI(),t.__CompoundSelector_specificity_FI=e,r=e),r},get$hasComplicatedSuperselectorSemantics(){var e,t=this,r=t.__CompoundSelector_hasComplicatedSuperselectorSemantics_FI;return r===I&&(e=C.JSArray_methods.any$1(t.components,new A.CompoundSelector_hasComplicatedSuperselectorSemantics_closure),t.__CompoundSelector_hasComplicatedSuperselectorSemantics_FI!==I&&A.throwUnnamedLateFieldADI(),t.__CompoundSelector_hasComplicatedSuperselectorSemantics_FI=e,r=e),r},accept$1$1(e){return e.visitCompoundSelector$1(this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},get$hashCode(e){return C.C_ListEquality0.hash$1(this.components)},$eq(e,t){return null!=t&&(t instanceof A.CompoundSelector&&C.C_ListEquality.equals$2(0,this.components,t.components))}},A.CompoundSelector_specificity_closure.prototype={call$2:(e,t)=>e+t.get$specificity(),$signature:446},A.CompoundSelector_hasComplicatedSuperselectorSemantics_closure.prototype={call$1:e=>e.get$hasComplicatedSuperselectorSemantics(),$signature:14},A.IDSelector.prototype={get$specificity(){return A._asInt(Math.pow(A.SimpleSelector.prototype.get$specificity.call(this),2))},accept$1$1(e){return e.visitIDSelector$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},addSuffix$1(e){return new A.IDSelector(this.name+e,this.span)},unify$1(e){return C.JSArray_methods.any$1(e,new A.IDSelector_unify_closure(this))?null:this.super$SimpleSelector$unify(e)},$eq(e,t){return null!=t&&(t instanceof A.IDSelector&&t.name===this.name)},get$hashCode(e){return C.JSString_methods.get$hashCode(this.name)}},A.IDSelector_unify_closure.prototype={call$1(e){return e instanceof A.IDSelector&&this.$this.name!==e.name},$signature:14},A.SelectorList.prototype={get$asSassList(){var e=this.components;return A.SassList$(new A.MappedListIterable(e,new A.SelectorList_asSassList_closure,A._arrayInstanceType(e)._eval$1("MappedListIterable<1,Value>")),C.ListSeparator_z0K,!1)},accept$1$1(e){return e.visitSelectorList$1(this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},unify$1(e){var t,r,n,i,o,s,a,l,c,u=D.JSArray_ComplexSelector,d=A._setArrayType([],u);for(r=(t=this.components).length,i=(n=e.components).length,o=0;o<r;++o)for(a=(s=t[o]).span,l=0;l<i;++l)null!=(c=A.unifyComplex(A._setArrayType([s,n[l]],u),a))&&C.JSArray_methods.addAll$1(d,c);return 0===d.length?null:A.SelectorList$(d,this.span)},nestWithin$3$implicitParent$preserveParentSelectors(e,t,r){var n,i,o=this;if(null==e){if(r)return o;if(i=(n=C.C__ParentSelectorVisitor.visitSelectorList$1(o))instanceof A.ParentSelector&&null!=n.suffix)throw A.wrapException(A.SassException$(P.A_top_,n.span,null));return o}return i=o.components,A.SelectorList$(A.flattenVertically(new A.MappedListIterable(i,new A.SelectorList_nestWithin_closure(o,r,t,e),A._arrayInstanceType(i)._eval$1("MappedListIterable<1,Iterable<ComplexSelector>>")),D.ComplexSelector),o.span)},nestWithin$1(e){return this.nestWithin$3$implicitParent$preserveParentSelectors(e,!0,!1)},nestWithin$2$implicitParent(e,t){return this.nestWithin$3$implicitParent$preserveParentSelectors(e,t,!1)},_nestWithinCompound$2(e,t){var r,n,i,o,s,a,l=e.selector,c=l.components,u=w.any$1$ax(c,new A.SelectorList__nestWithinCompound_closure);if(!(u||w.get$first$ax(c)instanceof A.ParentSelector))return null;u?(s=c,a=new A.MappedListIterable(s,new A.SelectorList__nestWithinCompound_closure0(t),A._arrayInstanceType(s)._eval$1("MappedListIterable<1,SimpleSelector>"))):a=c,r=a,n=w.get$first$ax(c);try{if(!(n instanceof A.ParentSelector))return s=e.span,s=A._setArrayType([A.ComplexSelector$(C.List_empty0,A._setArrayType([new A.ComplexSelectorComponent(A.CompoundSelector$(r,l.span),A.List_List$unmodifiable(e.combinators,D.CssValue_Combinator),s)],D.JSArray_ComplexSelectorComponent),s,!1)],D.JSArray_ComplexSelector);if(1===w.get$length$asx(c)&&null==n.suffix)return(l=t.withAdditionalCombinators$1(e.combinators)).components}catch(e){if(!((l=A.unwrapException(e))instanceof A.SassException))throw e;i=l,o=A.getTraceFromException(e),A.throwWithTrace(i.withAdditionalSpan$2(n.span,"parent selector"),i,o)}return l=t.components,new A.MappedListIterable(l,new A.SelectorList__nestWithinCompound_closure1(n,r,e),A._arrayInstanceType(l)._eval$1("MappedListIterable<1,ComplexSelector>"))},isSuperselector$1(e){return A.listIsSuperselector(this.components,e.components)},withAdditionalCombinators$1(e){var t;return 0===e.length?t=this:(t=this.components,t=A.SelectorList$(new A.MappedListIterable(t,new A.SelectorList_withAdditionalCombinators_closure(e),A._arrayInstanceType(t)._eval$1("MappedListIterable<1,ComplexSelector>")),this.span)),t},get$hashCode(e){return C.C_ListEquality0.hash$1(this.components)},$eq(e,t){return null!=t&&(t instanceof A.SelectorList&&C.C_ListEquality.equals$2(0,this.components,t.components))}},A.SelectorList_asSassList_closure.prototype={call$1(e){var t,r,n,i,o,s,a,l,c,u=null,d=D.JSArray_Value,h=A._setArrayType([],d);for(r=(t=e.leadingCombinators).length,n=0;n<r;++n)h.push(new A.SassString(w.toString$0$(t[n].value),!1));for(r=(t=e.components).length,n=0;n<r;++n){for(i=t[n],o=A._SerializeVisitor$(u,!0,u,u,!0,!1,u,!0),i.selector.accept$1(o),s=A._setArrayType([new A.SassString(o._serialize$_buffer.toString$0(0),!1)],d),l=(a=i.combinators).length,c=0;c<l;++c)s.push(new A.SassString(w.toString$0$(a[c].value),!1));C.JSArray_methods.addAll$1(h,s)}return A.SassList$(h,C.ListSeparator_SrV,!1)},$signature:329},A.SelectorList_nestWithin_closure.prototype={call$1(e){var t,r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y,$,x,S,E=this;if(E.preserveParentSelectors||null==e.accept$1(C.C__ParentSelectorVisitor))return E.implicitParent?(t=E.parent.components,new A.MappedListIterable(t,new A.SelectorList_nestWithin__closure(e),A._arrayInstanceType(t)._eval$1("MappedListIterable<1,ComplexSelector>"))):A._setArrayType([e],D.JSArray_ComplexSelector);for(t=D.JSArray_ComplexSelector,r=A._setArrayType([],t),i=(n=e.components).length,o=E.$this,s=E.parent,a=D.ComplexSelector,c=0===(l=e.leadingCombinators).length,u=e.span,d=D.ComplexSelectorComponent,h=D.JSArray_ComplexSelectorComponent,p=0;p<i;++p)if(m=n[p],null==(_=o._nestWithinCompound$2(m,s)))if(0===r.length)r.push(A.ComplexSelector$(l,A._setArrayType([m],h),u,!1));else for(g=0;g<r.length;++g)f=r[g],(v=A.List_List$_of(f.components,d)).push(m),r[g]=A.ComplexSelector$(f.leadingCombinators,v,u,f.lineBreak);else if(0===r.length)C.JSArray_methods.addAll$1(r,c?_:w.map$1$1$ax(_,new A.SelectorList_nestWithin__closure0(e),a));else{for(f=A._setArrayType([],t),v=r.length,b=w.getInterceptor$ax(_),y=0;y<r.length;r.length===v||(0,A.throwConcurrentModificationError)(r),++y)for($=r[y],x=b.get$iterator(_),S=$.span;x.moveNext$0();)f.push($.concatenate$2(x.get$current(x),S));r=f}return r},$signature:346},A.SelectorList_nestWithin__closure.prototype={call$1(e){var t=this.complex;return e.concatenate$2(t,t.span)},$signature:61},A.SelectorList_nestWithin__closure0.prototype={call$1(e){var t=e.leadingCombinators,r=this.complex,n=r.leadingCombinators;return 0===t.length||(n=A.List_List$_of(n,D.CssValue_Combinator),C.JSArray_methods.addAll$1(n,t)),t=n,A.ComplexSelector$(t,e.components,r.span,e.lineBreak)},$signature:61},A.SelectorList__nestWithinCompound_closure.prototype={call$1(e){var t;return e instanceof A.PseudoSelector&&(null!=(t=e.selector)&&null!=t.accept$1(C.C__ParentSelectorVisitor))},$signature:14},A.SelectorList__nestWithinCompound_closure0.prototype={call$1(e){var t,r,n;return t=null,r=!1,e instanceof A.PseudoSelector&&null!=(n=e.selector)&&(r=null!=(t=null==n?D.SelectorList._as(n):n).accept$1(C.C__ParentSelectorVisitor)),r=r?e.withSelector$1(t.nestWithin$2$implicitParent(this.parent,!1)):e},$signature:367},A.SelectorList__nestWithinCompound_closure1.prototype={call$1(e){var t,r,n,i,o,s,a,l,c,u,d,h=this;try{if(u=e.components,0!==(t=C.JSArray_methods.get$last(u)).combinators.length)throw i=A.MultiSpanSassException$('Selector "'+e.toString$0(0)+P.x22x20can_,A.SpanExtensions_trimRight(t.span),"outer selector",A.LinkedHashMap_LinkedHashMap$_literal([h.parentSelector.span,"parent selector"],D.FileSpan,D.String),null),A.wrapException(i);return r=h.parentSelector.suffix,n=t.selector.components,d=D.SimpleSelector,null==r?(i=o=A.List_List$_of(n,d),w.addAll$1$ax(i,w.skip$1$ax(h.resolvedSimples,1))):(o=i=A.List_List$_of(A.IterableExtension_get_exceptLast(n),d),w.add$1$ax(o,w.get$last$ax(n).addSuffix$1(r)),w.addAll$1$ax(o,w.skip$1$ax(h.resolvedSimples,1)),i=o),o=h.component,s=A.CompoundSelector$(i,o.selector.span),a=i=A.List_List$_of(A.IterableExtension_get_exceptLast(u),D.ComplexSelectorComponent),i=o.span,w.add$1$ax(a,new A.ComplexSelectorComponent(s,A.List_List$unmodifiable(o.combinators,D.CssValue_Combinator),i)),i=A.ComplexSelector$(e.leadingCombinators,a,i,e.lineBreak)}catch(e){if(!((i=A.unwrapException(e))instanceof A.SassException))throw e;l=i,c=A.getTraceFromException(e),A.throwWithTrace(l.withAdditionalSpan$2(h.parentSelector.span,"parent selector"),l,c)}},$signature:61},A.SelectorList_withAdditionalCombinators_closure.prototype={call$1(e){return e.withAdditionalCombinators$1(this.combinators)},$signature:61},A._ParentSelectorVisitor.prototype={visitParentSelector$1:(e,t)=>t},A.__ParentSelectorVisitor_Object_SelectorSearchVisitor.prototype={},A.ParentSelector.prototype={accept$1$1(e){return e.visitParentSelector$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},unify$1:e=>A.throwExpression(A.UnsupportedError$("& doesn't support unification."))},A.PlaceholderSelector.prototype={accept$1$1(e){return e.visitPlaceholderSelector$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},addSuffix$1(e){return new A.PlaceholderSelector(this.name+e,this.span)},$eq(e,t){return null!=t&&(t instanceof A.PlaceholderSelector&&t.name===this.name)},get$hashCode(e){return C.JSString_methods.get$hashCode(this.name)}},A.PseudoSelector.prototype={get$isHostContext(){return this.isClass&&"host-context"===this.name&&null!=this.selector},get$hasComplicatedSuperselectorSemantics(){return!this.isClass||null!=this.selector},get$specificity(){var e,t=this,r=t.__PseudoSelector_specificity_FI;return r===I&&(e=new A.PseudoSelector_specificity_closure(t).call$0(),t.__PseudoSelector_specificity_FI!==I&&A.throwUnnamedLateFieldADI(),t.__PseudoSelector_specificity_FI=e,r=e),r},withSelector$1(e){var t=this;return A.PseudoSelector$(t.name,t.span,t.argument,!t.isClass,e)},addSuffix$1(e){var t=this;return null==t.argument&&null==t.selector||t.super$SimpleSelector$addSuffix(e),A.PseudoSelector$(t.name+e,t.span,null,!t.isClass,null)},unify$1(e){var t,r,n,i,o,s,a=this,l=a.name;if("host"===l||"host-context"===l){if(!C.JSArray_methods.every$1(e,new A.PseudoSelector_unify_closure))return null}else if(l=!1,1===e.length?(t=e[0])instanceof A.UniversalSelector?l=!0:t instanceof A.PseudoSelector&&(l=t.isClass&&"host"===t.name||t.get$isHostContext()):t=null,l)return t.unify$1(A._setArrayType([a],D.JSArray_SimpleSelector));if(C.JSArray_methods.contains$1(e,a))return e;for(r=A._setArrayType([],D.JSArray_SimpleSelector),l=e.length,n=!a.isClass,i=!1,o=0;o<e.length;e.length===l||(0,A.throwConcurrentModificationError)(e),++o){if((s=e[o])instanceof A.PseudoSelector&&!s.isClass){if(n)return null;r.push(a),i=!0}r.push(s)}return i||r.push(a),r},isSuperselector$1(e){var t,r,n,i=this;return!!i.super$SimpleSelector$isSuperselector(e)||(null==(t=i.selector)?i.$eq(0,e):e instanceof A.PseudoSelector&&!i.isClass&&!e.isClass&&"slotted"===i.normalizedName&&e.name===i.name?null!=(r=A.NullableExtension_andThen(e.selector,t.get$isSuperselector()))&&r:(r=D.JSArray_SimpleSelector,n=i.span,A.compoundIsSuperselector(A.CompoundSelector$(A._setArrayType([i],r),n),A.CompoundSelector$(A._setArrayType([e],r),n),null)))},accept$1$1(e){return e.visitPseudoSelector$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},$eq(e,t){var r=this;return null!=t&&(t instanceof A.PseudoSelector&&t.name===r.name&&t.isClass===r.isClass&&t.argument==r.argument&&w.$eq$(t.selector,r.selector))},get$hashCode(e){var t=this;return C.JSString_methods.get$hashCode(t.name)^(t.isClass?218159:519018)^w.get$hashCode$(t.argument)^w.get$hashCode$(t.selector)}},A.PseudoSelector_specificity_closure.prototype={call$0(){var e,t,r=this.$this;if(!r.isClass)return 1;if(null==(e=r.selector))return A.SimpleSelector.prototype.get$specificity.call(r);switch(r.normalizedName){case"where":return 0;case"is":case"not":case"has":case"matches":return r=e.components,A.IterableIntegerExtension_get_max(new A.MappedListIterable(r,new A.PseudoSelector_specificity__closure,A._arrayInstanceType(r)._eval$1("MappedListIterable<1,int>")));case"nth-child":case"nth-last-child":return r=A.SimpleSelector.prototype.get$specificity.call(r),t=e.components,r+A.IterableIntegerExtension_get_max(new A.MappedListIterable(t,new A.PseudoSelector_specificity__closure0,A._arrayInstanceType(t)._eval$1("MappedListIterable<1,int>")));default:return A.SimpleSelector.prototype.get$specificity.call(r)}},$signature:10},A.PseudoSelector_specificity__closure.prototype={call$1:e=>e.get$specificity(),$signature:171},A.PseudoSelector_specificity__closure0.prototype={call$1:e=>e.get$specificity(),$signature:171},A.PseudoSelector_unify_closure.prototype={call$1:e=>e instanceof A.PseudoSelector&&(e.isClass&&"host"===e.name||null!=e.selector),$signature:14},A.QualifiedName.prototype={$eq(e,t){return null!=t&&(t instanceof A.QualifiedName&&t.name===this.name&&t.namespace==this.namespace)},get$hashCode(e){return C.JSString_methods.get$hashCode(this.name)^w.get$hashCode$(this.namespace)},toString$0(e){var t=this.namespace,r=this.name;return null==t?r:t+"|"+r}},A.SimpleSelector.prototype={get$specificity:()=>1e3,get$hasComplicatedSuperselectorSemantics:()=>!1,addSuffix$1(e){return A.throwExpression(A.MultiSpanSassException$('Selector "'+this.toString$0(0)+"\" can't have a suffix",this.span,"outer selector",A.LinkedHashMap_LinkedHashMap$_empty(D.FileSpan,D.String),null))},unify$1(e){var t,r,n,i,o,s=this,a=!1;if(1===e.length?(t=e[0])instanceof A.UniversalSelector?a=!0:t instanceof A.PseudoSelector&&(a=t.isClass&&"host"===t.name||t.get$isHostContext()):t=null,a)return t.unify$1(A._setArrayType([s],D.JSArray_SimpleSelector));if(C.JSArray_methods.contains$1(e,s))return e;for(r=A._setArrayType([],D.JSArray_SimpleSelector),a=e.length,n=!1,i=0;i<e.length;e.length===a||(0,A.throwConcurrentModificationError)(e),++i)o=e[i],!n&&o instanceof A.PseudoSelector&&(r.push(s),n=!0),r.push(o);return n||r.push(s),r},isSuperselector$1(e){var t;return!!this.$eq(0,e)||!!(e instanceof A.PseudoSelector&&e.isClass&&null!=(t=e.selector)&&I._subselectorPseudos.contains$1(0,e.normalizedName))&&C.JSArray_methods.every$1(t.components,new A.SimpleSelector_isSuperselector_closure(this))}},A.SimpleSelector_isSuperselector_closure.prototype={call$1(e){var t=e.components;return 0!==t.length&&C.JSArray_methods.any$1(C.JSArray_methods.get$last(t).selector.components,new A.SimpleSelector_isSuperselector__closure(this.$this))},$signature:21},A.SimpleSelector_isSuperselector__closure.prototype={call$1(e){return this.$this.isSuperselector$1(e)},$signature:14},A.TypeSelector.prototype={get$specificity:()=>1,accept$1$1(e){return e.visitTypeSelector$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},addSuffix$1(e){var t=this.name;return new A.TypeSelector(new A.QualifiedName(t.name+e,t.namespace),this.span)},unify$1(e){var t,r,n=A.IterableExtensions_get_firstOrNull(e);return n instanceof A.UniversalSelector||n instanceof A.TypeSelector?null==(t=A.unifyUniversalAndElement(this,C.JSArray_methods.get$first(e)))?null:(r=A._setArrayType([t],D.JSArray_SimpleSelector),C.JSArray_methods.addAll$1(r,A.SubListIterable$(e,1,null,A._arrayInstanceType(e)._precomputed1)),r):(r=A._setArrayType([this],D.JSArray_SimpleSelector),C.JSArray_methods.addAll$1(r,e),r)},isSuperselector$1(e){var t,r,n;return this.super$SimpleSelector$isSuperselector(e)?t=!0:(t=!1,e instanceof A.TypeSelector&&(r=this.name,n=e.name,r.name===n.name&&(t="*"===(t=r.namespace)||t==n.namespace))),t},$eq(e,t){return null!=t&&(t instanceof A.TypeSelector&&t.name.$eq(0,this.name))},get$hashCode(e){var t=this.name;return C.JSString_methods.get$hashCode(t.name)^w.get$hashCode$(t.namespace)}},A.UniversalSelector.prototype={get$specificity:()=>0,accept$1$1(e){return e.visitUniversalSelector$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},unify$1(e){var t,r,n,i,o,s=this,a=null,l=e.length,c=l>=1;return c?n=(r=(t=e[0])instanceof A.UniversalSelector||t instanceof A.TypeSelector)?C.JSArray_methods.sublist$1(e,1):a:(t=n=a,r=!1),r?null==(i=A.unifyUniversalAndElement(s,C.JSArray_methods.get$first(e)))?a:(r=A._setArrayType([i],D.JSArray_SimpleSelector),C.JSArray_methods.addAll$1(r,n),r):(r=!1,1===l&&(c?o=t:(o=t=e[0],c=!0),o instanceof A.PseudoSelector&&(o=c?t:e[0],D.PseudoSelector._as(o),r=o.isClass&&"host"===o.name||o.get$isHostContext())),r?a:l<=0?A._setArrayType([s],D.JSArray_SimpleSelector):(null==(r=s.namespace)||"*"===r?r=e:(r=A._setArrayType([s],D.JSArray_SimpleSelector),C.JSArray_methods.addAll$1(r,e)),r))},isSuperselector$1(e){var t=this.namespace;return"*"===t||(e instanceof A.TypeSelector?t==e.name.namespace:e instanceof A.UniversalSelector?t==e.namespace:null==t||this.super$SimpleSelector$isSuperselector(e))},$eq(e,t){return null!=t&&(t instanceof A.UniversalSelector&&t.namespace==this.namespace)},get$hashCode(e){return w.get$hashCode$(this.namespace)}},A._compileStylesheet_closure0.prototype={call$1(e){var t;return""===e?(t=this.stylesheet.span,t=A.Uri_Uri$dataFromString(A.String_String$fromCharCodes(C.NativeUint32List_methods.sublist$2(t.get$file(t)._decodedChars,0,null),0,null),C.C_Utf8Codec,null).get$_text()):t=this.importCache.sourceMapUrl$1(0,A.Uri_parse(e)).toString$0(0),t},$signature:6},A.AsyncEnvironment.prototype={closure$0(){var e,t,r,n=this,i=n._async_environment$_forwardedModules,o=n._async_environment$_nestedForwardedModules,s=n._async_environment$_variables;return s=A._setArrayType(s.slice(0),A._arrayInstanceType(s)),e=n._async_environment$_variableNodes,e=A._setArrayType(e.slice(0),A._arrayInstanceType(e)),t=n._async_environment$_functions,t=A._setArrayType(t.slice(0),A._arrayInstanceType(t)),r=n._async_environment$_mixins,r=A._setArrayType(r.slice(0),A._arrayInstanceType(r)),A.AsyncEnvironment$_(n._async_environment$_modules,n._async_environment$_namespaceNodes,n._async_environment$_globalModules,n._async_environment$_importedModules,i,o,n._async_environment$_allModules,s,e,t,r,n._async_environment$_content,C.Set_empty1)},forwardModule$2(e,t){var r,n,i,o=this,s=o._async_environment$_forwardedModules;for(null==s&&(s=o._async_environment$_forwardedModules=A.LinkedHashMap_LinkedHashMap$_empty(D.Module_AsyncCallable,D.AstNode)),r=A.ForwardedModuleView_ifNecessary(e,t,D.AsyncCallable),n=new A.LinkedHashMapKeyIterator(s,s._modifications,s._first);n.moveNext$0();)i=n.__js_helper$_current,o._async_environment$_assertNoConflicts$5(r.get$variables(),i.get$variables(),r,i,"variable"),o._async_environment$_assertNoConflicts$5(r.get$functions(r),i.get$functions(i),r,i,"function"),o._async_environment$_assertNoConflicts$5(r.get$mixins(),i.get$mixins(),r,i,"mixin");o._async_environment$_allModules.push(e),s.$indexSet(0,r,t)},_async_environment$_assertNoConflicts$5(e,t,r,n,i){var o,s,a,l,c,u,d,h,p,m;for(e.get$length(e)<t.get$length(t)?(o=t,s=e):(o=e,s=t),a=D.String,l=(l=A.MapExtensions_get_pairs(s,a,D.Object)).get$iterator(l),c="variable"===i;l.moveNext$0();)if(d=(u=l.get$current(l))._0,h=u._1,null!=(p=o.$index(0,d))&&!(c?r.variableIdentity$1(d)===n.variableIdentity$1(d):w.$eq$(p,h)))throw c&&(d="$"+d),m=null==(l=this._async_environment$_forwardedModules)||null==(l=l.$index(0,n))?null:l.get$span(l),l=A.LinkedHashMap_LinkedHashMap$_empty(D.FileSpan,a),null!=m&&l.$indexSet(0,m,"original @forward"),A.wrapException(A.MultiSpanSassScriptException$("Two forwarded modules both define a "+i+" named "+d+".","new @forward",l))},importForwards$1(e){var t,r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y=this,$=e._async_environment$_environment._async_environment$_forwardedModules;if(null!=$){if(null!=(t=y._async_environment$_forwardedModules)){for(r=D.Module_AsyncCallable,n=D.AstNode,i=A.LinkedHashMap_LinkedHashMap$_empty(r,n),r=(r=A.MapExtensions_get_pairs($,r,n)).get$iterator(r),n=y._async_environment$_globalModules;r.moveNext$0();)e=(o=r.get$current(r))._0,s=o._1,t.containsKey$1(e)&&n.containsKey$1(e)||i.$indexSet(0,e,s);$=i}else t=y._async_environment$_forwardedModules=A.LinkedHashMap_LinkedHashMap$_empty(D.Module_AsyncCallable,D.AstNode);for(r=D.String,n=A.LinkedHashSet_LinkedHashSet$_empty(r),i=new A.LinkedHashMapKeyIterator($,$._modifications,$._first);i.moveNext$0();)for(o=(o=(o=i.__js_helper$_current.get$variables()).get$keys(o)).get$iterator(o);o.moveNext$0();)n.add$1(0,o.get$current(o));for(i=A.LinkedHashSet_LinkedHashSet$_empty(r),o=new A.LinkedHashMapKeyIterator($,$._modifications,$._first);o.moveNext$0();)for(a=(a=(a=(a=o.__js_helper$_current).get$functions(a)).get$keys(a)).get$iterator(a);a.moveNext$0();)i.add$1(0,a.get$current(a));for(r=A.LinkedHashSet_LinkedHashSet$_empty(r),o=new A.LinkedHashMapKeyIterator($,$._modifications,$._first);o.moveNext$0();)for(a=(a=(a=o.__js_helper$_current.get$mixins()).get$keys(a)).get$iterator(a);a.moveNext$0();)r.add$1(0,a.get$current(a));if(1===(a=(o=y._async_environment$_variables).length)){for(a=y._async_environment$_importedModules,l=D.Module_AsyncCallable,c=D.AstNode,d=(u=A.MapExtensions_get_pairs(a,l,c).toList$0(0)).length,h=D.AsyncCallable,p=0;p<u.length;u.length===d||(0,A.throwConcurrentModificationError)(u),++p)e=(m=u[p])._0,null!=(_=A.ShadowedModuleView_ifNecessary(e,i,r,n,h))&&(a.remove$1(0,e),f=!1,(g=_.variables).get$isEmpty(g)&&(g=_.functions).get$isEmpty(g)&&(g=_.mixins).get$isEmpty(g)?(g=(g=_._shadowed_view$_inner).get$css(g),g=w.get$isEmpty$asx(g.get$children(g))):g=f,g||a.$indexSet(0,_,m._1));for(c=(l=A.MapExtensions_get_pairs(t,l,c).toList$0(0)).length,p=0;p<l.length;l.length===c||(0,A.throwConcurrentModificationError)(l),++p)e=(u=l[p])._0,null!=(_=A.ShadowedModuleView_ifNecessary(e,i,r,n,h))&&(t.remove$1(0,e),m=!1,(d=_.variables).get$isEmpty(d)&&(d=_.functions).get$isEmpty(d)&&(d=_.mixins).get$isEmpty(d)?(d=(d=_._shadowed_view$_inner).get$css(d),d=w.get$isEmpty$asx(d.get$children(d))):d=m,d||t.$indexSet(0,_,u._1));a.addAll$1(0,$),t.addAll$1(0,$)}else{if(null==(l=y._async_environment$_nestedForwardedModules)){for(v=a-1,b=w.JSArray_JSArray$allocateGrowable(v,D.List_Module_AsyncCallable),a=D.JSArray_Module_AsyncCallable,p=0;p<v;++p)b[p]=A._setArrayType([],a);y._async_environment$_nestedForwardedModules=b,a=b}else a=l;C.JSArray_methods.addAll$1(C.JSArray_methods.get$last(a),new A.LinkedHashMapKeysIterable($,A._instanceType($)._eval$1("LinkedHashMapKeysIterable<1>")))}for(n=A._LinkedHashSetIterator$(n,n._collection$_modifications,n.$ti._precomputed1),a=y._async_environment$_variableIndices,l=y._async_environment$_variableNodes,c=n.$ti._precomputed1;n.moveNext$0();)null==(u=n._collection$_current)&&(u=c._as(u)),a.remove$1(0,u),C.JSArray_methods.get$last(o).remove$1(0,u),C.JSArray_methods.get$last(l).remove$1(0,u);for(n=A._LinkedHashSetIterator$(i,i._collection$_modifications,i.$ti._precomputed1),i=y._async_environment$_functionIndices,o=y._async_environment$_functions,a=n.$ti._precomputed1;n.moveNext$0();)null==(l=n._collection$_current)&&(l=a._as(l)),i.remove$1(0,l),C.JSArray_methods.get$last(o).remove$1(0,l);for(r=A._LinkedHashSetIterator$(r,r._collection$_modifications,r.$ti._precomputed1),n=y._async_environment$_mixinIndices,i=y._async_environment$_mixins,o=r.$ti._precomputed1;r.moveNext$0();)null==(a=r._collection$_current)&&(a=o._as(a)),n.remove$1(0,a),C.JSArray_methods.get$last(i).remove$1(0,a)}},getVariable$2$namespace(e,t){var r,n,i,o=this;return null!=t?o._async_environment$_getModule$1(t).get$variables().$index(0,e):o._async_environment$_lastVariableName===e?((r=o._async_environment$_lastVariableIndex).toString,null==(r=o._async_environment$_variables[r].$index(0,e))?o._async_environment$_getVariableFromGlobalModule$1(e):r):null!=(n=(r=o._async_environment$_variableIndices).$index(0,e))?(o._async_environment$_lastVariableName=e,o._async_environment$_lastVariableIndex=n,null==(r=o._async_environment$_variables[n].$index(0,e))?o._async_environment$_getVariableFromGlobalModule$1(e):r):null!=(i=o._async_environment$_variableIndex$1(e))?(o._async_environment$_lastVariableName=e,o._async_environment$_lastVariableIndex=i,r.$indexSet(0,e,i),null==(r=o._async_environment$_variables[i].$index(0,e))?o._async_environment$_getVariableFromGlobalModule$1(e):r):o._async_environment$_getVariableFromGlobalModule$1(e)},getVariable$1(e){return this.getVariable$2$namespace(e,null)},_async_environment$_getVariableFromGlobalModule$1(e){return this._async_environment$_fromOneModule$3(e,"variable",new A.AsyncEnvironment__getVariableFromGlobalModule_closure(e))},getVariableNode$2$namespace(e,t){var r,n,i,o=this;return null!=t?o._async_environment$_getModule$1(t).get$variableNodes().$index(0,e):o._async_environment$_lastVariableName===e?((r=o._async_environment$_lastVariableIndex).toString,null==(r=o._async_environment$_variableNodes[r].$index(0,e))?o._async_environment$_getVariableNodeFromGlobalModule$1(e):r):null!=(n=(r=o._async_environment$_variableIndices).$index(0,e))?(o._async_environment$_lastVariableName=e,o._async_environment$_lastVariableIndex=n,null==(r=o._async_environment$_variableNodes[n].$index(0,e))?o._async_environment$_getVariableNodeFromGlobalModule$1(e):r):null!=(i=o._async_environment$_variableIndex$1(e))?(o._async_environment$_lastVariableName=e,o._async_environment$_lastVariableIndex=i,r.$indexSet(0,e,i),null==(r=o._async_environment$_variableNodes[i].$index(0,e))?o._async_environment$_getVariableNodeFromGlobalModule$1(e):r):o._async_environment$_getVariableNodeFromGlobalModule$1(e)},_async_environment$_getVariableNodeFromGlobalModule$1(e){var t,r,n;for(t=this._async_environment$_importedModules,r=this._async_environment$_globalModules,r=new A.LinkedHashMapKeysIterable(t,A._instanceType(t)._eval$1("LinkedHashMapKeysIterable<1>")).followedBy$1(0,new A.LinkedHashMapKeysIterable(r,A._instanceType(r)._eval$1("LinkedHashMapKeysIterable<1>"))),r=new A.FollowedByIterator(w.get$iterator$ax(r.__internal$_first),r._second);r.moveNext$0();)if(null!=(n=(t=r._currentIterator).get$current(t).get$variableNodes().$index(0,e)))return n;return null},globalVariableExists$2$namespace(e,t){return null!=t?this._async_environment$_getModule$1(t).get$variables().containsKey$1(e):!!C.JSArray_methods.get$first(this._async_environment$_variables).containsKey$1(e)||null!=this._async_environment$_getVariableFromGlobalModule$1(e)},globalVariableExists$1(e){return this.globalVariableExists$2$namespace(e,null)},_async_environment$_variableIndex$1(e){var t,r;for(r=(t=this._async_environment$_variables).length-1;r>=0;--r)if(t[r].containsKey$1(e))return r;return null},setVariable$5$global$namespace(e,t,r,n,i){var o,s,a,l,c,u,d,h,p=this;if(null==i){if(n||1===p._async_environment$_variables.length)return p._async_environment$_variableIndices.putIfAbsent$2(e,new A.AsyncEnvironment_setVariable_closure(p,e)),o=p._async_environment$_variables,C.JSArray_methods.get$first(o).containsKey$1(e)||null==(s=p._async_environment$_fromOneModule$3(e,"variable",new A.AsyncEnvironment_setVariable_closure0(e)))?(C.JSArray_methods.get$first(o).$indexSet(0,e,t),void C.JSArray_methods.get$first(p._async_environment$_variableNodes).$indexSet(0,e,r)):void s.setVariable$3(e,t,r);if(null!=(a=p._async_environment$_nestedForwardedModules)&&!p._async_environment$_variableIndices.containsKey$1(e)&&null==p._async_environment$_variableIndex$1(e))for(o=A._arrayInstanceType(a)._eval$1("ReversedListIterable<1>"),l=new A.ReversedListIterable(a,o),l=new A.ListIterator(l,l.get$length(0),o._eval$1("ListIterator<ListIterable.E>")),o=o._eval$1("ListIterable.E");l.moveNext$0();)for(c=l.__internal$_current,u=(c=w.get$reversed$ax(null==c?o._as(c):c)).$ti,c=new A.ListIterator(c,c.get$length(0),u._eval$1("ListIterator<ListIterable.E>")),u=u._eval$1("ListIterable.E");c.moveNext$0();)if(null==(d=c.__internal$_current)&&(d=u._as(d)),d.get$variables().containsKey$1(e))return void d.setVariable$3(e,t,r);p._async_environment$_lastVariableName===e?((o=p._async_environment$_lastVariableIndex).toString,h=o):h=p._async_environment$_variableIndices.putIfAbsent$2(e,new A.AsyncEnvironment_setVariable_closure1(p,e)),p._async_environment$_inSemiGlobalScope||0!==h||(h=p._async_environment$_variables.length-1,p._async_environment$_variableIndices.$indexSet(0,e,h)),p._async_environment$_lastVariableName=e,p._async_environment$_lastVariableIndex=h,p._async_environment$_variables[h].$indexSet(0,e,t),p._async_environment$_variableNodes[h].$indexSet(0,e,r)}else p._async_environment$_getModule$1(i).setVariable$3(e,t,r)},setVariable$4$global(e,t,r,n){return this.setVariable$5$global$namespace(e,t,r,n,null)},setLocalVariable$3(e,t,r){var n,i=this,o=i._async_environment$_variables,s=o.length;i._async_environment$_lastVariableName=e,n=i._async_environment$_lastVariableIndex=s-1,i._async_environment$_variableIndices.$indexSet(0,e,n),o[n].$indexSet(0,e,t),i._async_environment$_variableNodes[n].$indexSet(0,e,r)},getFunction$2$namespace(e,t){var r,n,i,o=this;return null!=t?(r=o._async_environment$_getModule$1(t)).get$functions(r).$index(0,e):null!=(n=(r=o._async_environment$_functionIndices).$index(0,e))?null==(r=o._async_environment$_functions[n].$index(0,e))?o._async_environment$_getFunctionFromGlobalModule$1(e):r:null!=(i=o._async_environment$_functionIndex$1(e))?(r.$indexSet(0,e,i),null==(r=o._async_environment$_functions[i].$index(0,e))?o._async_environment$_getFunctionFromGlobalModule$1(e):r):o._async_environment$_getFunctionFromGlobalModule$1(e)},getFunction$1(e){return this.getFunction$2$namespace(e,null)},_async_environment$_getFunctionFromGlobalModule$1(e){return this._async_environment$_fromOneModule$3(e,"function",new A.AsyncEnvironment__getFunctionFromGlobalModule_closure(e))},_async_environment$_functionIndex$1(e){var t,r;for(r=(t=this._async_environment$_functions).length-1;r>=0;--r)if(t[r].containsKey$1(e))return r;return null},getMixin$2$namespace(e,t){var r,n,i,o=this;return null!=t?o._async_environment$_getModule$1(t).get$mixins().$index(0,e):null!=(n=(r=o._async_environment$_mixinIndices).$index(0,e))?null==(r=o._async_environment$_mixins[n].$index(0,e))?o._async_environment$_getMixinFromGlobalModule$1(e):r:null!=(i=o._async_environment$_mixinIndex$1(e))?(r.$indexSet(0,e,i),null==(r=o._async_environment$_mixins[i].$index(0,e))?o._async_environment$_getMixinFromGlobalModule$1(e):r):o._async_environment$_getMixinFromGlobalModule$1(e)},_async_environment$_getMixinFromGlobalModule$1(e){return this._async_environment$_fromOneModule$3(e,"mixin",new A.AsyncEnvironment__getMixinFromGlobalModule_closure(e))},_async_environment$_mixinIndex$1(e){var t,r;for(r=(t=this._async_environment$_mixins).length-1;r>=0;--r)if(t[r].containsKey$1(e))return r;return null},withContent$2(e,t){return this.withContent$body$AsyncEnvironment(e,t)},withContent$body$AsyncEnvironment(e,t){var r,n=0,i=A._makeAsyncAwaitCompleter(D.void),o=this,s=A._wrapJsFunctionForAsync(function(a,l){if(1===a)return A._asyncRethrow(l,i);for(;;)switch(n){case 0:return r=o._async_environment$_content,o._async_environment$_content=e,n=2,A._asyncAwait(t.call$0(),s);case 2:return o._async_environment$_content=r,A._asyncReturn(null,i)}});return A._asyncStartSync(s,i)},asMixin$1(e){var t,r=0,n=A._makeAsyncAwaitCompleter(D.void),i=this,o=A._wrapJsFunctionForAsync(function(s,a){if(1===s)return A._asyncRethrow(a,n);for(;;)switch(r){case 0:return t=i._async_environment$_inMixin,i._async_environment$_inMixin=!0,r=2,A._asyncAwait(e.call$0(),o);case 2:return i._async_environment$_inMixin=t,A._asyncReturn(null,n)}});return A._asyncStartSync(o,n)},scope$1$3$semiGlobal$when(e,t,r,n){return this.scope$body$AsyncEnvironment(e,t,r,n,n)},scope$1$1(e,t){return this.scope$1$3$semiGlobal$when(e,!1,!0,t)},scope$1$2$when(e,t,r){return this.scope$1$3$semiGlobal$when(e,!1,t,r)},scope$1$2$semiGlobal(e,t,r){return this.scope$1$3$semiGlobal$when(e,t,!0,r)},scope$body$AsyncEnvironment(e,t,r,n,i){var o,s,a,l,c,u,d,h,p,m,_,g=0,f=A._makeAsyncAwaitCompleter(i),v=2,b=[],y=[],$=this,x=A._wrapJsFunctionForAsync(function(n,i){for(1===n&&(b.push(i),g=v);;)switch(g){case 0:t=t&&$._async_environment$_inSemiGlobalScope,s=$._async_environment$_inSemiGlobalScope,$._async_environment$_inSemiGlobalScope=t,g=r?4:3;break;case 3:return v=5,g=8,A._asyncAwait(e.call$0(),x);case 8:o=u=i,y=[1],g=6;break;case 5:y=[2];case 6:v=2,$._async_environment$_inSemiGlobalScope=s,g=y.pop();break;case 7:case 4:return u=$._async_environment$_variables,d=D.String,C.JSArray_methods.add$1(u,A.LinkedHashMap_LinkedHashMap$_empty(d,D.Value)),h=$._async_environment$_variableNodes,C.JSArray_methods.add$1(h,A.LinkedHashMap_LinkedHashMap$_empty(d,D.AstNode)),p=$._async_environment$_functions,m=D.AsyncCallable,C.JSArray_methods.add$1(p,A.LinkedHashMap_LinkedHashMap$_empty(d,m)),_=$._async_environment$_mixins,C.JSArray_methods.add$1(_,A.LinkedHashMap_LinkedHashMap$_empty(d,m)),null!=(m=$._async_environment$_nestedForwardedModules)&&m.push(A._setArrayType([],D.JSArray_Module_AsyncCallable)),v=9,g=12,A._asyncAwait(e.call$0(),x);case 12:o=d=i,y=[1],g=10;break;case 9:y=[2];case 10:for(v=2,$._async_environment$_inSemiGlobalScope=s,$._async_environment$_lastVariableIndex=$._async_environment$_lastVariableName=null,u=(u=(u=C.JSArray_methods.removeLast$0(u)).get$keys(u)).get$iterator(u),d=$._async_environment$_variableIndices;u.moveNext$0();)a=u.get$current(u),d.remove$1(0,a);for(C.JSArray_methods.removeLast$0(h),u=(u=(u=C.JSArray_methods.removeLast$0(p)).get$keys(u)).get$iterator(u),d=$._async_environment$_functionIndices;u.moveNext$0();)l=u.get$current(u),d.remove$1(0,l);for(u=(u=(u=C.JSArray_methods.removeLast$0(_)).get$keys(u)).get$iterator(u),d=$._async_environment$_mixinIndices;u.moveNext$0();)c=u.get$current(u),d.remove$1(0,c);null!=(u=$._async_environment$_nestedForwardedModules)&&u.pop(),g=y.pop();break;case 11:case 1:return A._asyncReturn(o,f);case 2:return A._asyncRethrow(b.at(-1),f)}});return A._asyncStartSync(x,f)},toImplicitConfiguration$0(){var e,t,r,n,i,o,s,a,l,c,u,d,h,p,m,_=this,g=null,f=D.String,v=A.LinkedHashMap_LinkedHashMap$_empty(f,D.ConfiguredValue);for(e=_._async_environment$_variables,t=D.Value,r=_._async_environment$_variableNodes,n=_._async_environment$_importedModules,i=A._instanceType(n)._eval$1("LinkedHashMapKeysIterable<1>"),o=0;o<e.length;++o){for(s=0===o?new A.LinkedHashMapKeysIterable(n,i):null==(a=_._async_environment$_nestedForwardedModules)?g:a[o-1],a=w.get$iterator$ax(null==s?C.List_empty15:s);a.moveNext$0();)for(l=a.get$current(a),c=(c=A.MapExtensions_get_pairs(l.get$variables(),f,t)).get$iterator(c);c.moveNext$0();)d=(u=c.get$current(c))._0,h=u._1,(u=l.get$variableNodes().$index(0,d)).toString,v.$indexSet(0,d,new A.ConfiguredValue(h,g,u));for(p=e[o],m=r[o],a=(a=A.MapExtensions_get_pairs(p,f,t)).get$iterator(a);a.moveNext$0();)d=(l=a.get$current(a))._0,h=l._1,(l=m.$index(0,d)).toString,v.$indexSet(0,d,new A.ConfiguredValue(h,g,l))}return new A.Configuration(v,g)},toModule$3(e,t,r){return A._EnvironmentModule__EnvironmentModule0(this,e,t,r,A.NullableExtension_andThen(this._async_environment$_forwardedModules,new A.AsyncEnvironment_toModule_closure))},toDummyModule$0(){return A._EnvironmentModule__EnvironmentModule0(this,new A.CssStylesheet(new A.UnmodifiableListView(C.List_empty3,D.UnmodifiableListView_CssNode),A.SourceFile$decoded(C.List_empty4,"<dummy module>").span$1(0,0)),C.Map_empty7,C.C_EmptyExtensionStore,A.NullableExtension_andThen(this._async_environment$_forwardedModules,new A.AsyncEnvironment_toDummyModule_closure))},_async_environment$_getModule$1(e){var t=this._async_environment$_modules.$index(0,e);if(null!=t)return t;throw A.wrapException(A.SassScriptException$('There is no module with the namespace "'+e+'".',null))},_async_environment$_fromOneModule$1$3(e,t,r){var n,i,o,s,a,l,c,u,d,h,p,m,_,g=this._async_environment$_nestedForwardedModules;if(null!=g)for(n=A._arrayInstanceType(g)._eval$1("ReversedListIterable<1>"),i=new A.ReversedListIterable(g,n),i=new A.ListIterator(i,i.get$length(0),n._eval$1("ListIterator<ListIterable.E>")),n=n._eval$1("ListIterable.E");i.moveNext$0();)for(o=i.__internal$_current,s=(o=w.get$reversed$ax(null==o?n._as(o):o)).$ti,o=new A.ListIterator(o,o.get$length(0),s._eval$1("ListIterator<ListIterable.E>")),s=s._eval$1("ListIterable.E");o.moveNext$0();)if(a=o.__internal$_current,null!=(l=r.call$1(null==a?s._as(a):a)))return l;for(n=this._async_environment$_importedModules,n=new A.LinkedHashMapKeyIterator(n,n._modifications,n._first);n.moveNext$0();)if(null!=(c=r.call$1(n.__js_helper$_current)))return c;for(n=this._async_environment$_globalModules,i=new A.LinkedHashMapKeyIterator(n,n._modifications,n._first),o=D.AsyncCallable,u=null,d=null;i.moveNext$0();)if(s=i.__js_helper$_current,null!=(h=r.call$1(s))&&!(p=o._is(h)?h:s.variableIdentity$1(e)).$eq(0,d)){if(null!=u){for(i=A.LinkedHashMap_LinkedHashMap$_empty(D.FileSpan,D.String),o=(o=A.MapExtensions_get_pairs(n,D.Module_AsyncCallable,D.AstNode)).get$iterator(o),s="includes "+t;o.moveNext$0();)m=(n=o.get$current(o))._0,_=n._1,null!=r.call$1(m)&&i.$indexSet(0,_.get$span(_),s);throw A.wrapException(A.MultiSpanSassScriptException$("This "+t+P.x20is_av,t+" use",i))}d=p,u=h}return u},_async_environment$_fromOneModule$3(e,t,r){return this._async_environment$_fromOneModule$1$3(e,t,r,D.dynamic)}},A.AsyncEnvironment__getVariableFromGlobalModule_closure.prototype={call$1(e){return e.get$variables().$index(0,this.name)},$signature:401},A.AsyncEnvironment_setVariable_closure.prototype={call$0(){var e=this.$this;return e._async_environment$_lastVariableName=this.name,e._async_environment$_lastVariableIndex=0},$signature:10},A.AsyncEnvironment_setVariable_closure0.prototype={call$1(e){return e.get$variables().containsKey$1(this.name)?e:null},$signature:403},A.AsyncEnvironment_setVariable_closure1.prototype={call$0(){var e=this.$this,t=e._async_environment$_variableIndex$1(this.name);return null==t?e._async_environment$_variables.length-1:t},$signature:10},A.AsyncEnvironment__getFunctionFromGlobalModule_closure.prototype={call$1(e){return e.get$functions(e).$index(0,this.name)},$signature:173},A.AsyncEnvironment__getMixinFromGlobalModule_closure.prototype={call$1(e){return e.get$mixins().$index(0,this.name)},$signature:173},A.AsyncEnvironment_toModule_closure.prototype={call$1:e=>new A.MapKeySet(e,D.MapKeySet_Module_AsyncCallable),$signature:174},A.AsyncEnvironment_toDummyModule_closure.prototype={call$1:e=>new A.MapKeySet(e,D.MapKeySet_Module_AsyncCallable),$signature:174},A._EnvironmentModule0.prototype={get$url(e){var t=this.css;return(t=t.get$span(t)).get$sourceUrl(t)},setVariable$3(e,t,r){var n,i,o=this._async_environment$_modulesByVariable.$index(0,e);if(null==o){if(i=(n=this._async_environment$_environment)._async_environment$_variables,!C.JSArray_methods.get$first(i).containsKey$1(e))throw A.wrapException(A.SassScriptException$("Undefined variable.",null));C.JSArray_methods.get$first(i).$indexSet(0,e,t),C.JSArray_methods.get$first(n._async_environment$_variableNodes).$indexSet(0,e,r)}else o.setVariable$3(e,t,r)},variableIdentity$1(e){var t=this._async_environment$_modulesByVariable.$index(0,e);return null==t?this:t.variableIdentity$1(e)},couldHaveBeenConfigured$1(e){var t,r,n,i,o,s=this._async_environment$_environment._async_environment$_configurableVariables;if(e.get$length(e)<s.get$length(s)?e.any$1(0,s.get$contains(s)):s.any$1(0,e.get$contains(e)))s=!0;else{if(s=this._async_environment$_modulesByVariable,t=D.Module_AsyncCallable,e.get$length(e)<s.get$length(s)){for(t=A.LinkedHashSet_LinkedHashSet$_empty(t),r=e.get$iterator(e);r.moveNext$0();)null!=(n=s.$index(0,r.get$current(r)))&&t.add$1(0,n);s=t}else{for(r=A.LinkedHashSet_LinkedHashSet$_empty(t),s=(s=A.MapExtensions_get_pairs(s,D.String,t)).get$iterator(s);s.moveNext$0();)i=(t=s.get$current(s))._0,o=t._1,e.contains$1(0,i)&&r.add$1(0,o);s=r}s=s.any$1(0,new A._EnvironmentModule_couldHaveBeenConfigured_closure0(e))}return s},cloneCss$0(){var e,t=this;return t.transitivelyContainsCss?(e=A.cloneCssStylesheet(t.css,t.extensionStore),A._EnvironmentModule$_0(t._async_environment$_environment,e._0,t.preModuleComments,e._1,t._async_environment$_modulesByVariable,t.variables,t.variableNodes,t.functions,t.mixins,!0,t.transitivelyContainsExtensions)):t},toString$0(e){var t=this.css,r=t.get$span(t);return null==r.get$sourceUrl(r)?t="<unknown url>":(t=(t=t.get$span(t)).get$sourceUrl(t),r=I.$get$context(),t.toString,t=r.prettyUri$1(t)),t},$isModule0:1,get$upstream(){return this.upstream},get$variables(){return this.variables},get$variableNodes(){return this.variableNodes},get$functions(e){return this.functions},get$mixins(){return this.mixins},get$extensionStore(){return this.extensionStore},get$css(e){return this.css},get$preModuleComments(){return this.preModuleComments},get$transitivelyContainsCss(){return this.transitivelyContainsCss},get$transitivelyContainsExtensions(){return this.transitivelyContainsExtensions}},A._EnvironmentModule__EnvironmentModule_closure5.prototype={call$1:e=>e.get$variables(),$signature:425},A._EnvironmentModule__EnvironmentModule_closure6.prototype={call$1:e=>e.get$variableNodes(),$signature:695},A._EnvironmentModule__EnvironmentModule_closure7.prototype={call$1:e=>e.get$functions(e),$signature:180},A._EnvironmentModule__EnvironmentModule_closure8.prototype={call$1:e=>e.get$mixins(),$signature:180},A._EnvironmentModule__EnvironmentModule_closure9.prototype={call$1:e=>e.get$transitivelyContainsCss(),$signature:102},A._EnvironmentModule__EnvironmentModule_closure10.prototype={call$1:e=>e.get$transitivelyContainsExtensions(),$signature:102},A._EnvironmentModule_couldHaveBeenConfigured_closure0.prototype={call$1(e){return e.couldHaveBeenConfigured$1(this.variables)},$signature:102},A.AsyncImportCache.prototype={canonicalize$4$baseImporter$baseUrl$forImport(e,t,r,n,i){return this.canonicalize$body$AsyncImportCache(0,t,r,n,i)},canonicalize$body$AsyncImportCache(e,t,r,n,i){var o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y,$,x,S,w,C,E,I,M,k,T,R=0,L=A._makeAsyncAwaitCompleter(D.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl),N=this,F=A._wrapJsFunctionForAsync(function(e,O){if(1===e)return A._asyncRethrow(O,L);for(;;)switch(R){case 0:if(s=!!A.isBrowser()&&((null==r||r instanceof A.NoOpImporter)&&0===N._async_import_cache$_importers.length))throw A.wrapException(P.Customi);R=null!=r&&""===t.get$scheme()?3:4;break;case 3:return null==(a=null==n?null:n.resolveUri$1(t))&&(a=t),l=new A._Record_3_forImport(r,a,i),R=5,A._asyncAwait(A.putIfAbsentAsync(N._async_import_cache$_perImporterCanonicalizeCache,l,new A.AsyncImportCache_canonicalize_closure(N,r,a,n,i,l,t),D.Record_3_AsyncImporter_and_Uri_and_bool_forImport,D.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl),F);case 5:if(null!=(c=O)){o=c,R=1;break}case 4:if(l=new A._Record_2_forImport(t,i),(s=N._async_import_cache$_canonicalizeCache).containsKey$1(l)){o=s.$index(0,l),R=1;break}u=N._async_import_cache$_importers,d=D.Record_1_nullable_Object,h=N._async_import_cache$_perImporterCanonicalizeCache,p=D.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl,m=D.Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl,_=!0,g=0;case 6:if(!(g<u.length)){R=8;break}if(f=u[g],v=new A._Record_3_forImport(f,t,i),h.containsKey$1(v)?(b=h.$index(0,v),y=new A._Record_1(null==b?p._as(b):b)):y=null,$=d._is(y),x=null,$?(S=y._0,(b=null!=S)&&(m._as(S),x=S)):(S=null,b=!1),b){o=x,R=1;break}if(b=!!$&&null==S){R=7;break}return R=10,A._asyncAwait(N._async_import_cache$_canonicalize$4(f,t,n,i),F);case 10:if(C=(w=O)._0,I=null,M=null,b=!1,(E=null!=C)?(x=null==C?m._as(C):C,M=w._1,I=b=M,b=b&&_):x=null,b){s.$indexSet(0,l,x),o=x,R=1;break}if(E?(b=I,k=E):(M=w._1,b=M,k=!0),b=b&&!_){if(h.$indexSet(0,v,C),null!=C){o=C,R=1;break}R=9;break}if(b=!1===(k?M:w._1)){if(_){for(T=0;T<g;++T)h.$indexSet(0,new A._Record_3_forImport(u[T],t,i),null);_=!1}if(null!=C){o=C,R=1;break}}case 9:case 7:++g,R=6;break;case 8:_&&s.$indexSet(0,l,null),o=null,R=1;break;case 1:return A._asyncReturn(o,L)}});return A._asyncStartSync(F,L)},_async_import_cache$_canonicalize$4(e,t,r,n){return this._canonicalize$body$AsyncImportCache(e,t,r,n)},_canonicalize$body$AsyncImportCache(e,t,r,n){var i,o,s,a,l,c,u=0,d=A._makeAsyncAwaitCompleter(D.Record_2_nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_and_bool),h=A._wrapJsFunctionForAsync(function(p,m){if(1===p)return A._asyncRethrow(m,d);for(;;)switch(u){case 0:u=null!=r?3:5;break;case 3:u=""!==t.get$scheme()?6:8;break;case 6:return o=A._Future$value(e.isNonCanonicalScheme$1(t.get$scheme()),D.bool),u=9,A._asyncAwait(o,h);case 9:s=o=m,u=7;break;case 8:s=!0;case 7:u=4;break;case 5:s=!1;case 4:return a=new A.CanonicalizeContext(n,s?r:null),o=D.nullable_Object,o=A.runZoned(new A.AsyncImportCache__canonicalize_closure(e,t),A.LinkedHashMap_LinkedHashMap$_literal([C.Symbol__canonicalizeContext,a],o,o),D.FutureOr_nullable_Uri),u=10,A._asyncAwait(D.Future_nullable_Uri._is(o)?o:A._Future$value(o,D.nullable_Uri),h);case 10:if(l=m,c=!s||!a._wasContainingUrlAccessed,null==l){i=new A._Record_2(null,c),u=1;break}u=""!==l.get$scheme()?11:13;break;case 11:return o=A._Future$value(e.isNonCanonicalScheme$1(l.get$scheme()),D.bool),u=14,A._asyncAwait(o,h);case 14:o=m,u=12;break;case 13:o=!1;case 12:if(o)throw A.wrapException("Importer "+e.toString$0(0)+" canonicalized "+t.toString$0(0)+" to "+l.toString$0(0)+P.x2c_whicu);i=new A._Record_2(new A._Record_3_originalUrl(e,l,t),c),u=1;break;case 1:return A._asyncReturn(i,d)}});return A._asyncStartSync(h,d)},importCanonical$3$originalUrl(e,t,r){return this.importCanonical$body$AsyncImportCache(e,t,r)},importCanonical$body$AsyncImportCache(e,t,r){var n,i=0,o=A._makeAsyncAwaitCompleter(D.nullable_Stylesheet),s=this,a=A._wrapJsFunctionForAsync(function(l,c){if(1===l)return A._asyncRethrow(c,o);for(;;)switch(i){case 0:return i=3,A._asyncAwait(A.putIfAbsentAsync(s._async_import_cache$_importCache,t,new A.AsyncImportCache_importCanonical_closure(s,e,t,r),D.Uri,D.nullable_Stylesheet),a);case 3:n=c,i=1;break;case 1:return A._asyncReturn(n,o)}});return A._asyncStartSync(a,o)},humanize$1(e){var t=this._async_import_cache$_canonicalizeCache,r=D.NonNullsIterable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl;return null==(r=A.NullableExtension_andThen(A.minBy(new A.MappedIterable(new A.WhereIterable(new A.NonNullsIterable(new A.LinkedHashMapValuesIterable(t,A._instanceType(t)._eval$1("LinkedHashMapValuesIterable<2>")),r),new A.AsyncImportCache_humanize_closure(e),r._eval$1("WhereIterable<Iterable.E>")),new A.AsyncImportCache_humanize_closure0,r._eval$1("MappedIterable<Iterable.E,Uri>")),new A.AsyncImportCache_humanize_closure1),new A.AsyncImportCache_humanize_closure2(e)))?e:r},sourceMapUrl$1(e,t){var r=this._async_import_cache$_resultsCache.$index(0,t);return null==(r=null==r?null:r.get$sourceMapUrl(0))?t:r}},A.AsyncImportCache_canonicalize_closure.prototype={call$0(){var e,t,r,n,i,o=0,s=A._makeAsyncAwaitCompleter(D.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl),a=this,l=A._wrapJsFunctionForAsync(function(c,u){if(1===c)return A._asyncRethrow(u,s);for(;;)switch(o){case 0:return t=a.$this,r=a.baseUrl,o=3,A._asyncAwait(t._async_import_cache$_canonicalize$4(a.baseImporter,a.resolvedUrl,r,a.forImport),l);case 3:i=(n=u)._0,n._1,null!=r&&t._async_import_cache$_nonCanonicalRelativeUrls.$indexSet(0,a.key,a.url),e=i,o=1;break;case 1:return A._asyncReturn(e,s)}});return A._asyncStartSync(l,s)},$signature:469},A.AsyncImportCache__canonicalize_closure.prototype={call$0(){return this.importer.canonicalize$1(0,this.url)},$signature:182},A.AsyncImportCache_importCanonical_closure.prototype={call$0(){var e,t,r,n,i,o=0,s=A._makeAsyncAwaitCompleter(D.nullable_Stylesheet),a=this,l=A._wrapJsFunctionForAsync(function(c,u){if(1===c)return A._asyncRethrow(u,s);for(;;)switch(o){case 0:return t=Date.now(),r=a.canonicalUrl,n=A._Future$value(a.importer.load$1(0,r),D.nullable_ImporterResult),o=3,A._asyncAwait(n,l);case 3:if(null==(i=u)){e=null,o=1;break}(n=a.$this)._async_import_cache$_loadTimes.$indexSet(0,r,new A.DateTime(t,0,!1)),n._async_import_cache$_resultsCache.$indexSet(0,r,i),n=i.contents,t=i.syntax,r=a.originalUrl.resolveUri$1(r),e=A.Stylesheet_Stylesheet$parse(n,t,!1,r),o=1;break;case 1:return A._asyncReturn(e,s)}});return A._asyncStartSync(l,s)},$signature:494},A.AsyncImportCache_humanize_closure.prototype={call$1(e){return e._1.$eq(0,this.canonicalUrl)},$signature:516},A.AsyncImportCache_humanize_closure0.prototype={call$1:e=>e._2,$signature:518},A.AsyncImportCache_humanize_closure1.prototype={call$1:e=>e.get$path(e).length,$signature:107},A.AsyncImportCache_humanize_closure2.prototype={call$1(e){var t=I.$get$url(),r=this.canonicalUrl;return e.resolve$1(0,A.ParsedPath_ParsedPath$parse(r.get$path(r),t.style).get$basename())},$signature:49},A.AsyncBuiltInCallable.prototype={callbackFor$2(e,t){return new A._Record_2(this._parameters,this._async_built_in$_callback)},withDeprecationWarning$1(e){return new A.AsyncBuiltInCallable(this.name,this._parameters,new A.AsyncBuiltInCallable_withDeprecationWarning_closure(this,e,null),!1)},$isAsyncCallable:1,get$name(e){return this.name},get$acceptsContent(){return this.acceptsContent}},A.AsyncBuiltInCallable$mixin_closure.prototype={call$1(e){return this.$call$body$AsyncBuiltInCallable$mixin_closure(e)},$call$body$AsyncBuiltInCallable$mixin_closure(e){var t,r,n=0,i=A._makeAsyncAwaitCompleter(D.Value),o=this,s=A._wrapJsFunctionForAsync(function(a,l){if(1===a)return A._asyncRethrow(l,i);for(;;)switch(n){case 0:return r=o.callback.call$1(e),n=3,A._asyncAwait(r instanceof A._Future?r:A._Future$value(r,D.void),s);case 3:t=C.C__SassNull,n=1;break;case 1:return A._asyncReturn(t,i)}});return A._asyncStartSync(s,i)},$signature:190},A.AsyncBuiltInCallable_withDeprecationWarning_closure.prototype={call$1(e){var t=this.$this;return A.warnForDeprecation(P.Global+this.module+"."+t.name+P.x20inste,C.Deprecation_WW3),t._async_built_in$_callback.call$1(e)},$signature:587},A.BuiltInCallable.prototype={callbackFor$2(e,t){var r,n,i,o,s,a,l,c,u;for(n=(r=this._overloads).length,i=null,o=null,s=0;s<r.length;r.length===n||(0,A.throwConcurrentModificationError)(r),++s){if((l=(a=r[s])._0).matches$2(e,t))return a;if(c=l.parameters.length-e,null!=o){if((l=Math.abs(c))>(u=Math.abs(o)))continue;if(l===u&&c<0)continue}o=c,i=a}if(null!=i)return i;throw A.wrapException(A.StateError$("BuiltInCallable "+this.name+" may not have empty overloads."))},withName$1(e){return new A.BuiltInCallable(e,this._overloads,this.acceptsContent)},withDeprecationWarning$2(e,t){var r,n,i,o,s,a=this,l=A._setArrayType([],D.JSArray_Record_2_ParameterList_and_Value_Function_List_Value);for(n=(r=a._overloads).length,i=0;i<r.length;r.length===n||(0,A.throwConcurrentModificationError)(r),++i)o={},s=r[i],o.$function=null,o.$function=s._1,l.push(new A._Record_2(s._0,new A.BuiltInCallable_withDeprecationWarning_closure(o,a,e,t)));return new A.BuiltInCallable(a.name,l,a.acceptsContent)},withDeprecationWarning$1(e){return this.withDeprecationWarning$2(e,null)},$isCallable0:1,$isAsyncCallable:1,$isAsyncBuiltInCallable:1,get$name(e){return this.name},get$acceptsContent(){return this.acceptsContent}},A.BuiltInCallable$mixin_closure.prototype={call$1(e){return this.callback.call$1(e),C.C__SassNull},$signature:5},A.BuiltInCallable_withDeprecationWarning_closure.prototype={call$1(e){var t=this,r=t.newName;return null==r&&(r=t.$this.name),A.warnForDeprecation(P.Global+t.module+"."+r+P.x20inste,C.Deprecation_WW3),t._box_0.$function.call$1(e)},$signature:5},A.PlainCssCallable.prototype={$eq(e,t){return null!=t&&(t instanceof A.PlainCssCallable&&this.name===t.name)},get$hashCode(e){return C.JSString_methods.get$hashCode(this.name)},$isCallable0:1,$isAsyncCallable:1,get$name(e){return this.name}},A.UserDefinedCallable.prototype={get$name(e){return this.declaration.name},$isCallable0:1,$isAsyncCallable:1},A._compileStylesheet_closure.prototype={call$1(e){var t;return""===e?(t=this.stylesheet.span,t=A.Uri_Uri$dataFromString(A.String_String$fromCharCodes(C.NativeUint32List_methods.sublist$2(t.get$file(t)._decodedChars,0,null),0,null),C.C_Utf8Codec,null).get$_text()):t=this.importCache.sourceMapUrl$1(0,A.Uri_parse(e)).toString$0(0),t},$signature:6},A.CompileResult.prototype={},A.Configuration.prototype={throughForward$1(e){var t,r,n,i,o,s=this._configuration$_values;return s.get$isEmpty(s)?this:(null!=(t=e.prefix)&&(s=new A.UnprefixedMapView(s,t,D.UnprefixedMapView_ConfiguredValue)),null!=(r=e.shownVariables)?s=new A.LimitedMapView(s,r._base.intersection$1(new A.MapKeySet(s,D.MapKeySet_nullable_Object)),D.LimitedMapView_String_ConfiguredValue):(null!=(n=e.hiddenVariables)?(i=n._base.get$isNotEmpty(0),o=n):(o=null,i=!1),i&&(s=A.LimitedMapView$blocklist(s,o,D.String,D.ConfiguredValue))),this._withValues$1(s))},_withValues$1(e){var t=this.__originalConfiguration;return new A.Configuration(e,null==t?this:t)},toString$0(e){var t,r,n=A._setArrayType([],D.JSArray_String);for(t=(t=A.MapExtensions_get_pairs(new A.UnmodifiableMapView(this._configuration$_values,D.UnmodifiableMapView_String_ConfiguredValue),D.String,D.ConfiguredValue)).get$iterator(t);t.moveNext$0();)r=t.get$current(t),n.push("$"+r._0+": "+r._1.toString$0(0));return"("+C.JSArray_methods.join$1(n,",")+")"}},A.ExplicitConfiguration.prototype={_withValues$1(e){var t=this.__originalConfiguration;return null==t&&(t=this),new A.ExplicitConfiguration(this.nodeWithSpan,e,t)}},A.ConfiguredValue.prototype={toString$0(e){return this.value.toString$0(0)}},A.Deprecation.prototype={_enumToString$0(){return"Deprecation."+this._name},toString$0(e){return this.id}},A.Deprecation_fromId_closure.prototype={call$1(e){return e.id===this.id},$signature:668},A.Environment.prototype={closure$0(){var e,t,r,n=this,i=n._forwardedModules,o=n._nestedForwardedModules,s=n._variables;return s=A._setArrayType(s.slice(0),A._arrayInstanceType(s)),e=n._variableNodes,e=A._setArrayType(e.slice(0),A._arrayInstanceType(e)),t=n._functions,t=A._setArrayType(t.slice(0),A._arrayInstanceType(t)),r=n._mixins,r=A._setArrayType(r.slice(0),A._arrayInstanceType(r)),A.Environment$_(n._environment$_modules,n._namespaceNodes,n._globalModules,n._importedModules,i,o,n._allModules,s,e,t,r,n._content,C.Set_empty1)},forwardModule$2(e,t){var r,n,i,o=this,s=o._forwardedModules;for(null==s&&(s=o._forwardedModules=A.LinkedHashMap_LinkedHashMap$_empty(D.Module_Callable,D.AstNode)),r=A.ForwardedModuleView_ifNecessary(e,t,D.Callable),n=new A.LinkedHashMapKeyIterator(s,s._modifications,s._first);n.moveNext$0();)i=n.__js_helper$_current,o._assertNoConflicts$5(r.get$variables(),i.get$variables(),r,i,"variable"),o._assertNoConflicts$5(r.get$functions(r),i.get$functions(i),r,i,"function"),o._assertNoConflicts$5(r.get$mixins(),i.get$mixins(),r,i,"mixin");o._allModules.push(e),s.$indexSet(0,r,t)},_assertNoConflicts$5(e,t,r,n,i){var o,s,a,l,c,u,d,h,p,m;for(e.get$length(e)<t.get$length(t)?(o=t,s=e):(o=e,s=t),a=D.String,l=(l=A.MapExtensions_get_pairs(s,a,D.Object)).get$iterator(l),c="variable"===i;l.moveNext$0();)if(d=(u=l.get$current(l))._0,h=u._1,null!=(p=o.$index(0,d))&&!(c?r.variableIdentity$1(d)===n.variableIdentity$1(d):w.$eq$(p,h)))throw c&&(d="$"+d),m=null==(l=this._forwardedModules)||null==(l=l.$index(0,n))?null:l.get$span(l),l=A.LinkedHashMap_LinkedHashMap$_empty(D.FileSpan,a),null!=m&&l.$indexSet(0,m,"original @forward"),A.wrapException(A.MultiSpanSassScriptException$("Two forwarded modules both define a "+i+" named "+d+".","new @forward",l))},importForwards$1(e){var t,r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y=this,$=e._environment$_environment._forwardedModules;if(null!=$){if(null!=(t=y._forwardedModules)){for(r=D.Module_Callable,n=D.AstNode,i=A.LinkedHashMap_LinkedHashMap$_empty(r,n),r=(r=A.MapExtensions_get_pairs($,r,n)).get$iterator(r),n=y._globalModules;r.moveNext$0();)e=(o=r.get$current(r))._0,s=o._1,t.containsKey$1(e)&&n.containsKey$1(e)||i.$indexSet(0,e,s);$=i}else t=y._forwardedModules=A.LinkedHashMap_LinkedHashMap$_empty(D.Module_Callable,D.AstNode);for(r=D.String,n=A.LinkedHashSet_LinkedHashSet$_empty(r),i=new A.LinkedHashMapKeyIterator($,$._modifications,$._first);i.moveNext$0();)for(o=(o=(o=i.__js_helper$_current.get$variables()).get$keys(o)).get$iterator(o);o.moveNext$0();)n.add$1(0,o.get$current(o));for(i=A.LinkedHashSet_LinkedHashSet$_empty(r),o=new A.LinkedHashMapKeyIterator($,$._modifications,$._first);o.moveNext$0();)for(a=(a=(a=(a=o.__js_helper$_current).get$functions(a)).get$keys(a)).get$iterator(a);a.moveNext$0();)i.add$1(0,a.get$current(a));for(r=A.LinkedHashSet_LinkedHashSet$_empty(r),o=new A.LinkedHashMapKeyIterator($,$._modifications,$._first);o.moveNext$0();)for(a=(a=(a=o.__js_helper$_current.get$mixins()).get$keys(a)).get$iterator(a);a.moveNext$0();)r.add$1(0,a.get$current(a));if(1===(a=(o=y._variables).length)){for(a=y._importedModules,l=D.Module_Callable,c=D.AstNode,d=(u=A.MapExtensions_get_pairs(a,l,c).toList$0(0)).length,h=D.Callable,p=0;p<u.length;u.length===d||(0,A.throwConcurrentModificationError)(u),++p)e=(m=u[p])._0,null!=(_=A.ShadowedModuleView_ifNecessary(e,i,r,n,h))&&(a.remove$1(0,e),f=!1,(g=_.variables).get$isEmpty(g)&&(g=_.functions).get$isEmpty(g)&&(g=_.mixins).get$isEmpty(g)?(g=(g=_._shadowed_view$_inner).get$css(g),g=w.get$isEmpty$asx(g.get$children(g))):g=f,g||a.$indexSet(0,_,m._1));for(c=(l=A.MapExtensions_get_pairs(t,l,c).toList$0(0)).length,p=0;p<l.length;l.length===c||(0,A.throwConcurrentModificationError)(l),++p)e=(u=l[p])._0,null!=(_=A.ShadowedModuleView_ifNecessary(e,i,r,n,h))&&(t.remove$1(0,e),m=!1,(d=_.variables).get$isEmpty(d)&&(d=_.functions).get$isEmpty(d)&&(d=_.mixins).get$isEmpty(d)?(d=(d=_._shadowed_view$_inner).get$css(d),d=w.get$isEmpty$asx(d.get$children(d))):d=m,d||t.$indexSet(0,_,u._1));a.addAll$1(0,$),t.addAll$1(0,$)}else{if(null==(l=y._nestedForwardedModules)){for(v=a-1,b=w.JSArray_JSArray$allocateGrowable(v,D.List_Module_Callable),a=D.JSArray_Module_Callable,p=0;p<v;++p)b[p]=A._setArrayType([],a);y._nestedForwardedModules=b,a=b}else a=l;C.JSArray_methods.addAll$1(C.JSArray_methods.get$last(a),new A.LinkedHashMapKeysIterable($,A._instanceType($)._eval$1("LinkedHashMapKeysIterable<1>")))}for(n=A._LinkedHashSetIterator$(n,n._collection$_modifications,n.$ti._precomputed1),a=y._variableIndices,l=y._variableNodes,c=n.$ti._precomputed1;n.moveNext$0();)null==(u=n._collection$_current)&&(u=c._as(u)),a.remove$1(0,u),C.JSArray_methods.get$last(o).remove$1(0,u),C.JSArray_methods.get$last(l).remove$1(0,u);for(n=A._LinkedHashSetIterator$(i,i._collection$_modifications,i.$ti._precomputed1),i=y._functionIndices,o=y._functions,a=n.$ti._precomputed1;n.moveNext$0();)null==(l=n._collection$_current)&&(l=a._as(l)),i.remove$1(0,l),C.JSArray_methods.get$last(o).remove$1(0,l);for(r=A._LinkedHashSetIterator$(r,r._collection$_modifications,r.$ti._precomputed1),n=y._mixinIndices,i=y._mixins,o=r.$ti._precomputed1;r.moveNext$0();)null==(a=r._collection$_current)&&(a=o._as(a)),n.remove$1(0,a),C.JSArray_methods.get$last(i).remove$1(0,a)}},getVariable$2$namespace(e,t){var r,n,i,o=this;return null!=t?o._getModule$1(t).get$variables().$index(0,e):o._lastVariableName===e?((r=o._lastVariableIndex).toString,null==(r=o._variables[r].$index(0,e))?o._getVariableFromGlobalModule$1(e):r):null!=(n=(r=o._variableIndices).$index(0,e))?(o._lastVariableName=e,o._lastVariableIndex=n,null==(r=o._variables[n].$index(0,e))?o._getVariableFromGlobalModule$1(e):r):null!=(i=o._variableIndex$1(e))?(o._lastVariableName=e,o._lastVariableIndex=i,r.$indexSet(0,e,i),null==(r=o._variables[i].$index(0,e))?o._getVariableFromGlobalModule$1(e):r):o._getVariableFromGlobalModule$1(e)},getVariable$1(e){return this.getVariable$2$namespace(e,null)},_getVariableFromGlobalModule$1(e){return this._fromOneModule$3(e,"variable",new A.Environment__getVariableFromGlobalModule_closure(e))},getVariableNode$2$namespace(e,t){var r,n,i,o=this;return null!=t?o._getModule$1(t).get$variableNodes().$index(0,e):o._lastVariableName===e?((r=o._lastVariableIndex).toString,null==(r=o._variableNodes[r].$index(0,e))?o._getVariableNodeFromGlobalModule$1(e):r):null!=(n=(r=o._variableIndices).$index(0,e))?(o._lastVariableName=e,o._lastVariableIndex=n,null==(r=o._variableNodes[n].$index(0,e))?o._getVariableNodeFromGlobalModule$1(e):r):null!=(i=o._variableIndex$1(e))?(o._lastVariableName=e,o._lastVariableIndex=i,r.$indexSet(0,e,i),null==(r=o._variableNodes[i].$index(0,e))?o._getVariableNodeFromGlobalModule$1(e):r):o._getVariableNodeFromGlobalModule$1(e)},_getVariableNodeFromGlobalModule$1(e){var t,r,n;for(t=this._importedModules,r=this._globalModules,r=new A.LinkedHashMapKeysIterable(t,A._instanceType(t)._eval$1("LinkedHashMapKeysIterable<1>")).followedBy$1(0,new A.LinkedHashMapKeysIterable(r,A._instanceType(r)._eval$1("LinkedHashMapKeysIterable<1>"))),r=new A.FollowedByIterator(w.get$iterator$ax(r.__internal$_first),r._second);r.moveNext$0();)if(null!=(n=(t=r._currentIterator).get$current(t).get$variableNodes().$index(0,e)))return n;return null},globalVariableExists$2$namespace(e,t){return null!=t?this._getModule$1(t).get$variables().containsKey$1(e):!!C.JSArray_methods.get$first(this._variables).containsKey$1(e)||null!=this._getVariableFromGlobalModule$1(e)},globalVariableExists$1(e){return this.globalVariableExists$2$namespace(e,null)},_variableIndex$1(e){var t,r;for(r=(t=this._variables).length-1;r>=0;--r)if(t[r].containsKey$1(e))return r;return null},setVariable$5$global$namespace(e,t,r,n,i){var o,s,a,l,c,u,d,h,p=this;if(null==i){if(n||1===p._variables.length)return p._variableIndices.putIfAbsent$2(e,new A.Environment_setVariable_closure(p,e)),o=p._variables,C.JSArray_methods.get$first(o).containsKey$1(e)||null==(s=p._fromOneModule$3(e,"variable",new A.Environment_setVariable_closure0(e)))?(C.JSArray_methods.get$first(o).$indexSet(0,e,t),void C.JSArray_methods.get$first(p._variableNodes).$indexSet(0,e,r)):void s.setVariable$3(e,t,r);if(null!=(a=p._nestedForwardedModules)&&!p._variableIndices.containsKey$1(e)&&null==p._variableIndex$1(e))for(o=A._arrayInstanceType(a)._eval$1("ReversedListIterable<1>"),l=new A.ReversedListIterable(a,o),l=new A.ListIterator(l,l.get$length(0),o._eval$1("ListIterator<ListIterable.E>")),o=o._eval$1("ListIterable.E");l.moveNext$0();)for(c=l.__internal$_current,u=(c=w.get$reversed$ax(null==c?o._as(c):c)).$ti,c=new A.ListIterator(c,c.get$length(0),u._eval$1("ListIterator<ListIterable.E>")),u=u._eval$1("ListIterable.E");c.moveNext$0();)if(null==(d=c.__internal$_current)&&(d=u._as(d)),d.get$variables().containsKey$1(e))return void d.setVariable$3(e,t,r);p._lastVariableName===e?((o=p._lastVariableIndex).toString,h=o):h=p._variableIndices.putIfAbsent$2(e,new A.Environment_setVariable_closure1(p,e)),p._inSemiGlobalScope||0!==h||(h=p._variables.length-1,p._variableIndices.$indexSet(0,e,h)),p._lastVariableName=e,p._lastVariableIndex=h,p._variables[h].$indexSet(0,e,t),p._variableNodes[h].$indexSet(0,e,r)}else p._getModule$1(i).setVariable$3(e,t,r)},setVariable$4$global(e,t,r,n){return this.setVariable$5$global$namespace(e,t,r,n,null)},setLocalVariable$3(e,t,r){var n,i=this,o=i._variables,s=o.length;i._lastVariableName=e,n=i._lastVariableIndex=s-1,i._variableIndices.$indexSet(0,e,n),o[n].$indexSet(0,e,t),i._variableNodes[n].$indexSet(0,e,r)},getFunction$2$namespace(e,t){var r,n,i,o=this;return null!=t?(r=o._getModule$1(t)).get$functions(r).$index(0,e):null!=(n=(r=o._functionIndices).$index(0,e))?null==(r=o._functions[n].$index(0,e))?o._getFunctionFromGlobalModule$1(e):r:null!=(i=o._functionIndex$1(e))?(r.$indexSet(0,e,i),null==(r=o._functions[i].$index(0,e))?o._getFunctionFromGlobalModule$1(e):r):o._getFunctionFromGlobalModule$1(e)},getFunction$1(e){return this.getFunction$2$namespace(e,null)},_getFunctionFromGlobalModule$1(e){return this._fromOneModule$3(e,"function",new A.Environment__getFunctionFromGlobalModule_closure(e))},_functionIndex$1(e){var t,r;for(r=(t=this._functions).length-1;r>=0;--r)if(t[r].containsKey$1(e))return r;return null},getMixin$2$namespace(e,t){var r,n,i,o=this;return null!=t?o._getModule$1(t).get$mixins().$index(0,e):null!=(n=(r=o._mixinIndices).$index(0,e))?null==(r=o._mixins[n].$index(0,e))?o._getMixinFromGlobalModule$1(e):r:null!=(i=o._mixinIndex$1(e))?(r.$indexSet(0,e,i),null==(r=o._mixins[i].$index(0,e))?o._getMixinFromGlobalModule$1(e):r):o._getMixinFromGlobalModule$1(e)},_getMixinFromGlobalModule$1(e){return this._fromOneModule$3(e,"mixin",new A.Environment__getMixinFromGlobalModule_closure(e))},_mixinIndex$1(e){var t,r;for(r=(t=this._mixins).length-1;r>=0;--r)if(t[r].containsKey$1(e))return r;return null},withContent$2(e,t){var r=this._content;this._content=e,t.call$0(),this._content=r},asMixin$1(e){var t=this._inMixin;this._inMixin=!0,e.call$0(),this._inMixin=t},scope$1$3$semiGlobal$when(e,t,r){var n,i,o,s,a,l,c,u,d,h,p=this;if(t=t&&p._inSemiGlobalScope,n=p._inSemiGlobalScope,p._inSemiGlobalScope=t,!r)try{return a=e.call$0()}finally{p._inSemiGlobalScope=n}a=p._variables,l=D.String,C.JSArray_methods.add$1(a,A.LinkedHashMap_LinkedHashMap$_empty(l,D.Value)),c=p._variableNodes,C.JSArray_methods.add$1(c,A.LinkedHashMap_LinkedHashMap$_empty(l,D.AstNode)),u=p._functions,d=D.Callable,C.JSArray_methods.add$1(u,A.LinkedHashMap_LinkedHashMap$_empty(l,d)),h=p._mixins,C.JSArray_methods.add$1(h,A.LinkedHashMap_LinkedHashMap$_empty(l,d)),null!=(d=p._nestedForwardedModules)&&d.push(A._setArrayType([],D.JSArray_Module_Callable));try{return l=e.call$0()}finally{for(p._inSemiGlobalScope=n,p._lastVariableIndex=p._lastVariableName=null,a=(a=(a=C.JSArray_methods.removeLast$0(a)).get$keys(a)).get$iterator(a),l=p._variableIndices;a.moveNext$0();)i=a.get$current(a),l.remove$1(0,i);for(C.JSArray_methods.removeLast$0(c),a=(a=(a=C.JSArray_methods.removeLast$0(u)).get$keys(a)).get$iterator(a),l=p._functionIndices;a.moveNext$0();)o=a.get$current(a),l.remove$1(0,o);for(a=(a=(a=C.JSArray_methods.removeLast$0(h)).get$keys(a)).get$iterator(a),l=p._mixinIndices;a.moveNext$0();)s=a.get$current(a),l.remove$1(0,s);null!=(a=p._nestedForwardedModules)&&a.pop()}},scope$1$1(e){return this.scope$1$3$semiGlobal$when(e,!1,!0)},scope$1$2$when(e,t){return this.scope$1$3$semiGlobal$when(e,!1,t)},scope$1$2$semiGlobal(e,t){return this.scope$1$3$semiGlobal$when(e,t,!0)},toImplicitConfiguration$0(){var e,t,r,n,i,o,s,a,l,c,u,d,h,p,m,_=this,g=null,f=D.String,v=A.LinkedHashMap_LinkedHashMap$_empty(f,D.ConfiguredValue);for(e=_._variables,t=D.Value,r=_._variableNodes,n=_._importedModules,i=A._instanceType(n)._eval$1("LinkedHashMapKeysIterable<1>"),o=0;o<e.length;++o){for(s=0===o?new A.LinkedHashMapKeysIterable(n,i):null==(a=_._nestedForwardedModules)?g:a[o-1],a=w.get$iterator$ax(null==s?C.List_empty10:s);a.moveNext$0();)for(l=a.get$current(a),c=(c=A.MapExtensions_get_pairs(l.get$variables(),f,t)).get$iterator(c);c.moveNext$0();)d=(u=c.get$current(c))._0,h=u._1,(u=l.get$variableNodes().$index(0,d)).toString,v.$indexSet(0,d,new A.ConfiguredValue(h,g,u));for(p=e[o],m=r[o],a=(a=A.MapExtensions_get_pairs(p,f,t)).get$iterator(a);a.moveNext$0();)d=(l=a.get$current(a))._0,h=l._1,(l=m.$index(0,d)).toString,v.$indexSet(0,d,new A.ConfiguredValue(h,g,l))}return new A.Configuration(v,g)},toModule$3(e,t,r){return A._EnvironmentModule__EnvironmentModule(this,e,t,r,A.NullableExtension_andThen(this._forwardedModules,new A.Environment_toModule_closure))},toDummyModule$0(){return A._EnvironmentModule__EnvironmentModule(this,new A.CssStylesheet(new A.UnmodifiableListView(C.List_empty3,D.UnmodifiableListView_CssNode),A.SourceFile$decoded(C.List_empty4,"<dummy module>").span$1(0,0)),C.Map_empty,C.C_EmptyExtensionStore,A.NullableExtension_andThen(this._forwardedModules,new A.Environment_toDummyModule_closure))},_getModule$1(e){var t=this._environment$_modules.$index(0,e);if(null!=t)return t;throw A.wrapException(A.SassScriptException$('There is no module with the namespace "'+e+'".',null))},_fromOneModule$1$3(e,t,r){var n,i,o,s,a,l,c,u,d,h,p,m,_,g=this._nestedForwardedModules;if(null!=g)for(n=A._arrayInstanceType(g)._eval$1("ReversedListIterable<1>"),i=new A.ReversedListIterable(g,n),i=new A.ListIterator(i,i.get$length(0),n._eval$1("ListIterator<ListIterable.E>")),n=n._eval$1("ListIterable.E");i.moveNext$0();)for(o=i.__internal$_current,s=(o=w.get$reversed$ax(null==o?n._as(o):o)).$ti,o=new A.ListIterator(o,o.get$length(0),s._eval$1("ListIterator<ListIterable.E>")),s=s._eval$1("ListIterable.E");o.moveNext$0();)if(a=o.__internal$_current,null!=(l=r.call$1(null==a?s._as(a):a)))return l;for(n=this._importedModules,n=new A.LinkedHashMapKeyIterator(n,n._modifications,n._first);n.moveNext$0();)if(null!=(c=r.call$1(n.__js_helper$_current)))return c;for(n=this._globalModules,i=new A.LinkedHashMapKeyIterator(n,n._modifications,n._first),o=D.Callable,u=null,d=null;i.moveNext$0();)if(s=i.__js_helper$_current,null!=(h=r.call$1(s))&&!(p=o._is(h)?h:s.variableIdentity$1(e)).$eq(0,d)){if(null!=u){for(i=A.LinkedHashMap_LinkedHashMap$_empty(D.FileSpan,D.String),o=(o=A.MapExtensions_get_pairs(n,D.Module_Callable,D.AstNode)).get$iterator(o),s="includes "+t;o.moveNext$0();)m=(n=o.get$current(o))._0,_=n._1,null!=r.call$1(m)&&i.$indexSet(0,_.get$span(_),s);throw A.wrapException(A.MultiSpanSassScriptException$("This "+t+P.x20is_av,t+" use",i))}d=p,u=h}return u},_fromOneModule$3(e,t,r){return this._fromOneModule$1$3(e,t,r,D.dynamic)}},A.Environment__getVariableFromGlobalModule_closure.prototype={call$1(e){return e.get$variables().$index(0,this.name)},$signature:280},A.Environment_setVariable_closure.prototype={call$0(){var e=this.$this;return e._lastVariableName=this.name,e._lastVariableIndex=0},$signature:10},A.Environment_setVariable_closure0.prototype={call$1(e){return e.get$variables().containsKey$1(this.name)?e:null},$signature:289},A.Environment_setVariable_closure1.prototype={call$0(){var e=this.$this,t=e._variableIndex$1(this.name);return null==t?e._variables.length-1:t},$signature:10},A.Environment__getFunctionFromGlobalModule_closure.prototype={call$1(e){return e.get$functions(e).$index(0,this.name)},$signature:198},A.Environment__getMixinFromGlobalModule_closure.prototype={call$1(e){return e.get$mixins().$index(0,this.name)},$signature:198},A.Environment_toModule_closure.prototype={call$1:e=>new A.MapKeySet(e,D.MapKeySet_Module_Callable),$signature:201},A.Environment_toDummyModule_closure.prototype={call$1:e=>new A.MapKeySet(e,D.MapKeySet_Module_Callable),$signature:201},A._EnvironmentModule.prototype={get$url(e){var t=this.css;return(t=t.get$span(t)).get$sourceUrl(t)},setVariable$3(e,t,r){var n,i,o=this._modulesByVariable.$index(0,e);if(null==o){if(i=(n=this._environment$_environment)._variables,!C.JSArray_methods.get$first(i).containsKey$1(e))throw A.wrapException(A.SassScriptException$("Undefined variable.",null));C.JSArray_methods.get$first(i).$indexSet(0,e,t),C.JSArray_methods.get$first(n._variableNodes).$indexSet(0,e,r)}else o.setVariable$3(e,t,r)},variableIdentity$1(e){var t=this._modulesByVariable.$index(0,e);return null==t?this:t.variableIdentity$1(e)},couldHaveBeenConfigured$1(e){var t,r,n,i,o,s=this._environment$_environment._configurableVariables;if(e.get$length(e)<s.get$length(s)?e.any$1(0,s.get$contains(s)):s.any$1(0,e.get$contains(e)))s=!0;else{if(s=this._modulesByVariable,t=D.Module_Callable,e.get$length(e)<s.get$length(s)){for(t=A.LinkedHashSet_LinkedHashSet$_empty(t),r=e.get$iterator(e);r.moveNext$0();)null!=(n=s.$index(0,r.get$current(r)))&&t.add$1(0,n);s=t}else{for(r=A.LinkedHashSet_LinkedHashSet$_empty(t),s=(s=A.MapExtensions_get_pairs(s,D.String,t)).get$iterator(s);s.moveNext$0();)i=(t=s.get$current(s))._0,o=t._1,e.contains$1(0,i)&&r.add$1(0,o);s=r}s=s.any$1(0,new A._EnvironmentModule_couldHaveBeenConfigured_closure(e))}return s},cloneCss$0(){var e,t=this;return t.transitivelyContainsCss?(e=A.cloneCssStylesheet(t.css,t.extensionStore),A._EnvironmentModule$_(t._environment$_environment,e._0,t.preModuleComments,e._1,t._modulesByVariable,t.variables,t.variableNodes,t.functions,t.mixins,!0,t.transitivelyContainsExtensions)):t},toString$0(e){var t=this.css,r=t.get$span(t);return null==r.get$sourceUrl(r)?t="<unknown url>":(t=(t=t.get$span(t)).get$sourceUrl(t),r=I.$get$context(),t.toString,t=r.prettyUri$1(t)),t},$isModule0:1,get$upstream(){return this.upstream},get$variables(){return this.variables},get$variableNodes(){return this.variableNodes},get$functions(e){return this.functions},get$mixins(){return this.mixins},get$extensionStore(){return this.extensionStore},get$css(e){return this.css},get$preModuleComments(){return this.preModuleComments},get$transitivelyContainsCss(){return this.transitivelyContainsCss},get$transitivelyContainsExtensions(){return this.transitivelyContainsExtensions}},A._EnvironmentModule__EnvironmentModule_closure.prototype={call$1:e=>e.get$variables(),$signature:306},A._EnvironmentModule__EnvironmentModule_closure0.prototype={call$1:e=>e.get$variableNodes(),$signature:307},A._EnvironmentModule__EnvironmentModule_closure1.prototype={call$1:e=>e.get$functions(e),$signature:202},A._EnvironmentModule__EnvironmentModule_closure2.prototype={call$1:e=>e.get$mixins(),$signature:202},A._EnvironmentModule__EnvironmentModule_closure3.prototype={call$1:e=>e.get$transitivelyContainsCss(),$signature:95},A._EnvironmentModule__EnvironmentModule_closure4.prototype={call$1:e=>e.get$transitivelyContainsExtensions(),$signature:95},A._EnvironmentModule_couldHaveBeenConfigured_closure.prototype={call$1(e){return e.couldHaveBeenConfigured$1(this.variables)},$signature:95},A.SassException.prototype={get$trace(e){return A.Trace$(A._setArrayType([A.frameForSpan(A.SourceSpanException.prototype.get$span.call(this,0),"root stylesheet",null)],D.JSArray_Frame),null)},get$span(e){return A.SourceSpanException.prototype.get$span.call(this,0)},withAdditionalSpan$2(e,t){return A.MultiSpanSassException$(this._span_exception$_message,A.SourceSpanException.prototype.get$span.call(this,0),"",A.LinkedHashMap_LinkedHashMap$_literal([e,t],D.FileSpan,D.String),this.loadedUrls)},withTrace$1(e){var t=A.SourceSpanException.prototype.get$span.call(this,0),r=A.Set_Set$unmodifiable(this.loadedUrls,D.Uri);return new A.SassRuntimeException(e,r,this._span_exception$_message,t)},withLoadedUrls$1(e){var t=A.SourceSpanException.prototype.get$span.call(this,0),r=A.Set_Set$unmodifiable(e,D.Uri);return new A.SassException(r,this._span_exception$_message,t)},toString$1$color(e,t){var r,n,i,o=this,s=new A.StringBuffer(""),a="Error: "+o._span_exception$_message+"\n";for(s._contents=a,s._contents=a+A.SourceSpanException.prototype.get$span.call(o,0).highlight$1$color(t),r=(a=o.get$trace(o).toString$0(0).split("\n")).length,n=0;n<r;++n)0!==(i=a[n]).length&&(s._contents=(s._contents+="\n")+"  "+i);return(a=s._contents).charCodeAt(0),a},toString$0(e){return this.toString$1$color(0,null)},toCssString$0(){var e,t,r,n=I._glyphs,i=I._glyphs=C.C_AsciiGlyphSet,o=this.toString$1$color(0,!1);for(o=A.stringReplaceAllUnchecked(o,"*/","*∕"),e=A.stringReplaceAllUnchecked(o,"\r\n","\n"),I._glyphs=n===C.C_AsciiGlyphSet?i:C.C_UnicodeGlyphSet,t=new A.StringBuffer(""),n=new A.RuneIterator(A.serializeValue(new A.SassString(this.toString$1$color(0,!1),!0),!0,!0));n.moveNext$0();)(r=n._currentCodePoint)>127?(i=A.Primitives_stringFromCharCode(92),t._contents+=i,i=C.JSInt_methods.toRadixString$1(r,16),t._contents+=i,i=A.Primitives_stringFromCharCode(32),t._contents+=i):(i=A.Primitives_stringFromCharCode(r),t._contents+=i);return"/* "+C.JSArray_methods.join$1(A._setArrayType(e.split("\n"),D.JSArray_String),"\n * ")+' */\n\nbody::before {\n  font-family: "Source Code Pro", "SF Mono", Monaco, Inconsolata, "Fira Mono",\n      "Droid Sans Mono", monospace, monospace;\n  white-space: pre;\n  display: block;\n  padding: 1em;\n  margin-bottom: 1em;\n  border-bottom: 2px solid black;\n  content: '+t.toString$0(0)+";\n}"}},A.MultiSpanSassException.prototype={withAdditionalSpan$2(e,t){var r=this,n=A.SourceSpanException.prototype.get$span.call(r,0),i=A.LinkedHashMap_LinkedHashMap$of(r.secondarySpans,D.FileSpan,D.String);return i.$indexSet(0,e,t),A.MultiSpanSassException$(r._span_exception$_message,n,r.primaryLabel,i,r.loadedUrls)},withTrace$1(e){var t=this;return A.MultiSpanSassRuntimeException$(t._span_exception$_message,A.SourceSpanException.prototype.get$span.call(t,0),t.primaryLabel,t.secondarySpans,e,t.loadedUrls)},withLoadedUrls$1(e){var t=this;return A.MultiSpanSassException$(t._span_exception$_message,A.SourceSpanException.prototype.get$span.call(t,0),t.primaryLabel,t.secondarySpans,e)},toString$1$color(e,t){var r,n,i,o,s=this,a=!0===t,l=new A.StringBuffer("Error: "+s._span_exception$_message+"\n");for(A.NullableExtension_andThen(A.Highlighter$multiple(A.SourceSpanException.prototype.get$span.call(s,0),s.primaryLabel,s.secondarySpans,a,null,null).highlight$0(),l.get$write(l)),n=(r=s.get$trace(s).toString$0(0).split("\n")).length,i=0;i<n;++i)0!==(o=r[i]).length&&(l._contents=(l._contents+="\n")+"  "+o);return(r=l._contents).charCodeAt(0),r},toString$0(e){return this.toString$1$color(0,null)},get$primaryLabel(){return this.primaryLabel},get$secondarySpans(){return this.secondarySpans}},A.SassRuntimeException.prototype={withAdditionalSpan$2(e,t){var r=this;return A.MultiSpanSassRuntimeException$(r._span_exception$_message,A.SourceSpanException.prototype.get$span.call(r,0),"",A.LinkedHashMap_LinkedHashMap$_literal([e,t],D.FileSpan,D.String),r.trace,r.loadedUrls)},withLoadedUrls$1(e){var t=A.SourceSpanException.prototype.get$span.call(this,0),r=A.Set_Set$unmodifiable(e,D.Uri);return new A.SassRuntimeException(this.trace,r,this._span_exception$_message,t)},get$trace(e){return this.trace}},A.MultiSpanSassRuntimeException.prototype={withAdditionalSpan$2(e,t){var r=this,n=A.SourceSpanException.prototype.get$span.call(r,0),i=A.LinkedHashMap_LinkedHashMap$of(r.secondarySpans,D.FileSpan,D.String);return i.$indexSet(0,e,t),A.MultiSpanSassRuntimeException$(r._span_exception$_message,n,r.primaryLabel,i,r.trace,r.loadedUrls)},withLoadedUrls$1(e){var t=this;return A.MultiSpanSassRuntimeException$(t._span_exception$_message,A.SourceSpanException.prototype.get$span.call(t,0),t.primaryLabel,t.secondarySpans,t.trace,e)},$isSassRuntimeException:1,get$trace(e){return this.trace}},A.SassFormatException.prototype={get$source(){var e=A.SourceSpanException.prototype.get$span.call(this,0);return A.String_String$fromCharCodes(C.NativeUint32List_methods.sublist$2(e.get$file(e)._decodedChars,0,null),0,null)},withAdditionalSpan$2(e,t){return A.MultiSpanSassFormatException$(this._span_exception$_message,A.SourceSpanException.prototype.get$span.call(this,0),"",A.LinkedHashMap_LinkedHashMap$_literal([e,t],D.FileSpan,D.String),this.loadedUrls)},withLoadedUrls$1(e){var t=A.SourceSpanException.prototype.get$span.call(this,0),r=A.Set_Set$unmodifiable(e,D.Uri);return new A.SassFormatException(r,this._span_exception$_message,t)},$isFormatException:1,$isSourceSpanFormatException:1},A.MultiSpanSassFormatException.prototype={get$source(){var e=A.SourceSpanException.prototype.get$span.call(this,0);return A.String_String$fromCharCodes(C.NativeUint32List_methods.sublist$2(e.get$file(e)._decodedChars,0,null),0,null)},withAdditionalSpan$2(e,t){var r=this,n=A.SourceSpanException.prototype.get$span.call(r,0),i=A.LinkedHashMap_LinkedHashMap$of(r.secondarySpans,D.FileSpan,D.String);return i.$indexSet(0,e,t),A.MultiSpanSassFormatException$(r._span_exception$_message,n,r.primaryLabel,i,r.loadedUrls)},withLoadedUrls$1(e){var t=this;return A.MultiSpanSassFormatException$(t._span_exception$_message,A.SourceSpanException.prototype.get$span.call(t,0),t.primaryLabel,t.secondarySpans,e)},$isFormatException:1,$isSassFormatException:1,$isSourceSpanFormatException:1,$isMultiSourceSpanFormatException:1},A.SassScriptException.prototype={withSpan$1(e){return new A.SassException(C.Set_empty,this.message,e)},toString$0(e){return this.message+P.x0a_BUG_},get$message(e){return this.message}},A.MultiSpanSassScriptException.prototype={withSpan$1(e){return A.MultiSpanSassException$(this.message,e,this.primaryLabel,this.secondarySpans,null)}},A._writeSourceMap_closure.prototype={call$1(e){return this.options.sourceMapUrl$2(0,A.Uri_parse(e),this.destination).toString$0(0)},$signature:6},A.ExecutableOptions.prototype={get$interactive(){var e,t=this,r=t.__ExecutableOptions_interactive_FI;return r===I&&(e=new A.ExecutableOptions_interactive_closure(t).call$0(),t.__ExecutableOptions_interactive_FI!==I&&A.throwUnnamedLateFieldADI(),t.__ExecutableOptions_interactive_FI=e,r=e),r},get$color(){var e=this._options;return e=e.wasParsed$1("color")?A._asBool(e.$index(0,"color")):A.hasTerminal()||A.isBrowser()},get$pkgImporters(){var e,t,r,i=null,o=A._setArrayType([],D.JSArray_Importer);for(e=w.get$iterator$ax(D.List_String._as(this._options.$index(0,"pkg-importer")));e.moveNext$0();)e.get$current(e),t=new A.NodePackageImporter,r=null==(r=n.process)||null==(r=w.get$release$x(r))?i:w.get$name$x(r),w.$eq$(r,"node")||null==n.document||"function"!=typeof n.document.querySelector||A.throwExpression(P.The_No),t.__NodePackageImporter__entryPointDirectory_F=I.$get$context().absolute$15(".",i,i,i,i,i,i,i,i,i,i,i,i,i,i),o.push(t);return o},get$emitErrorCss(){var e=A._asBoolQ(this._options.$index(0,"error-css"));return null==e&&(this._ensureSources$0(),e=(e=(e=this._sourcesToDestinations).get$values(e)).any$1(e,new A.ExecutableOptions_emitErrorCss_closure)),e},_ensureSources$0(){var e,t,r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b=this,y=null,$='Duplicate source "';if(null==b._sourcesToDestinations){for(e=b._options,t=A._asBool(e.$index(0,"stdin")),0!==(r=e.rest).get$length(0)||t||A.ExecutableOptions__fail("Compile Sass to CSS."),n=D.String,i=A.LinkedHashSet_LinkedHashSet$_empty(n),s=(o=r.$ti)._eval$1("ListIterator<ListBase.E>"),a=new A.ListIterator(r,r.get$length(0),s),o=o._eval$1("ListBase.E"),l=!1,c=!1;a.moveNext$0();)null==(u=a.__internal$_current)&&(u=o._as(u)),0===(d=u.length)&&A.ExecutableOptions__fail('Invalid argument "".'),A.stringContainsUnchecked(u,":",0)?(h=d>2&&((h=(h=u.charCodeAt(0))>=97&&h<=122||h>=65&&h<=90)&&58===u.charCodeAt(1)))?(2>d&&A.throwExpression(A.RangeError$range(2,0,d,y,y)),d=A.stringContainsUnchecked(u,":",2)):d=!0:d=!1,d?l=!0:A.dirExists(u)?i.add$1(0,u):c=!0;if(c||0===r.get$length(0))return l?A.ExecutableOptions__fail('Positional and ":" arguments may not both be used.'):t?(w.get$length$asx(r._collection$_source)>1?A.ExecutableOptions__fail("Only one argument is allowed with --stdin."):A._asBool(e.$index(0,"update"))?A.ExecutableOptions__fail("--update is not allowed with --stdin."):A._asBool(e.$index(0,"watch"))&&A.ExecutableOptions__fail("--watch is not allowed with --stdin."),e=0===r.get$length(0)?y:r.get$first(r),r=D.dynamic,n=D.nullable_String,b._sourcesToDestinations=A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([null,e],r,r),n,n)):(n=r._collection$_source,(o=w.getInterceptor$asx(n)).get$length(n)>2?A.ExecutableOptions__fail("Only two positional args may be passed."):0!==i._collection$_length?(p='Directory "'+i.get$first(0)+'" may not be a positional arg.',m=r.get$last(r),A.ExecutableOptions__fail(i.get$first(0)!==r.get$first(r)||A.fileExists(m)?p:p+'\nTo compile all CSS in "'+i.get$first(0)+'" to "'+m+'", use `sass '+i.get$first(0)+":"+m+"`.")):(_="-"===r.get$first(r)?y:r.get$first(r),null==(g=1===o.get$length(n)?y:r.get$last(r))&&(A._asBool(e.$index(0,"update"))?A.ExecutableOptions__fail("--update is not allowed when printing to stdout."):A._asBool(e.$index(0,"watch"))&&A.ExecutableOptions__fail("--watch is not allowed when printing to stdout.")),(e=A.PathMap__create(y,D.nullable_String)).$indexSet(0,_,g),b._sourcesToDestinations=new A.UnmodifiableMapView(new A.PathMap(e,D.PathMap_nullable_String),D.UnmodifiableMapView_of_nullable_String_and_nullable_String))),b.__ExecutableOptions__sourceDirectoriesToDestinations_F!==I&&A.throwUnnamedLateFieldAI(),void(b.__ExecutableOptions__sourceDirectoriesToDestinations_F=C.Map_empty9);for(t&&A.ExecutableOptions__fail('--stdin may not be used with ":" arguments.'),f=A.LinkedHashSet_LinkedHashSet$_empty(n),e=A.PathMap__create(y,n),a=D.PathMap_String,n=A.PathMap__create(y,n),r=new A.ListIterator(r,r.get$length(0),s);r.moveNext$0();)null==(s=r.__internal$_current)&&(s=o._as(s)),i.contains$1(0,s)?(f.add$1(0,s)||A.ExecutableOptions__fail($+s+'".'),n.$indexSet(0,s,s),e.addAll$1(0,b._listSourceDirectory$2(s,s))):(_=(v=b._splitSourceAndDestination$1(s))._0,g=v._1,f.add$1(0,_)||A.ExecutableOptions__fail($+_+'".'),"-"===_?e.$indexSet(0,y,g):A.dirExists(_)?(n.$indexSet(0,_,g),e.addAll$1(0,b._listSourceDirectory$2(_,g))):e.$indexSet(0,_,g));b._sourcesToDestinations=new A.UnmodifiableMapView(new A.PathMap(e,a),D.UnmodifiableMapView_of_nullable_String_and_nullable_String),b.__ExecutableOptions__sourceDirectoriesToDestinations_F!==I&&A.throwUnnamedLateFieldAI(),b.__ExecutableOptions__sourceDirectoriesToDestinations_F=new A.UnmodifiableMapView(new A.PathMap(n,a),D.UnmodifiableMapView_of_nullable_String_and_String)}},_splitSourceAndDestination$1(e){var t,r,n,i,o;for(t=e.length,r=0;r<t;++r)if(n=!1,1===r&&t>(i=r-1)+2&&(n=(n=(n=e.charCodeAt(i))>=97&&n<=122||n>=65&&n<=90)&&58===e.charCodeAt(i+1)),!n&&58===e.charCodeAt(r))return n=r+1,i=!1,-1!==((t=(o=C.JSString_methods.indexOf$2(e,":",n))===r+2&&t>n+2?(t=(t=e.charCodeAt(n))>=97&&t<=122||t>=65&&t<=90)&&58===e.charCodeAt(n+1):i)?C.JSString_methods.indexOf$2(e,":",o+1):o)&&A.ExecutableOptions__fail('"'+e+'" may only contain one ":".'),new A._Record_2(C.JSString_methods.substring$2(e,0,r),C.JSString_methods.substring$1(e,n));throw A.wrapException(A.ArgumentError$('Expected "'+e+'" to contain a colon.',null))},_listSourceDirectory$2(e,t){var r,n,i,o,s=D.String;for(s=A.LinkedHashMap_LinkedHashMap$_empty(s,s),r=w.get$iterator$ax(A.listDir(e,!0)),n=e===t;r.moveNext$0();)i=r.get$current(r),(o=!!this._isEntrypoint$1(i)&&!(n&&".css"===A.ParsedPath_ParsedPath$parse(i,I.$get$context().style)._splitExtension$1(1)[1]))&&(o=I.$get$context(),s.$indexSet(0,i,A.join(t,o.withoutExtension$1(o.relative$2$from(i,e))+".css",null)));return s},_isEntrypoint$1(e){var t,r=I.$get$context().style;return!C.JSString_methods.startsWith$1(A.ParsedPath_ParsedPath$parse(e,r).get$basename(),"_")&&(".scss"===(t=A.ParsedPath_ParsedPath$parse(e,r)._splitExtension$1(1)[1])||".sass"===t||".css"===t)},get$_writeToStdout(){var e,t=this;return t._ensureSources$0(),1===(e=t._sourcesToDestinations).get$length(e)?(t._ensureSources$0(),e=null==(e=(e=t._sourcesToDestinations).get$values(e)).get$single(e)):e=!1,e},get$emitSourceMap(){var e=this,t="source-map",r="source-map-urls",n="embed-sources",i="embed-source-map",o=e._options;if(A._asBool(o.$index(0,t))||(o.wasParsed$1(r)?A.ExecutableOptions__fail("--source-map-urls isn't allowed with --no-source-map."):o.wasParsed$1(n)?A.ExecutableOptions__fail("--embed-sources isn't allowed with --no-source-map."):o.wasParsed$1(i)&&A.ExecutableOptions__fail("--embed-source-map isn't allowed with --no-source-map.")),!e.get$_writeToStdout())return A._asBool(o.$index(0,t));if(w.$eq$(e._ifParsed$1(r),"relative")&&A.ExecutableOptions__fail("--source-map-urls=relative isn't allowed when printing to stdout."),A._asBool(o.$index(0,i)))return A._asBool(o.$index(0,t));if(w.$eq$(e._ifParsed$1(t),!0))A.ExecutableOptions__fail("When printing to stdout, --source-map requires --embed-source-map.");else if(o.wasParsed$1(r))A.ExecutableOptions__fail("When printing to stdout, --source-map-urls requires --embed-source-map.");else{if(!A._asBool(o.$index(0,n)))return!1;A.ExecutableOptions__fail("When printing to stdout, --embed-sources requires --embed-source-map.")}},sourceMapUrl$2(e,t,r){var n,i,o,s=null;return 0!==t.get$scheme().length&&"file"!==t.get$scheme()?t:(i=(n=I.$get$context()).style.pathFromUri$1(A._parseUri(t)),w.$eq$(this._options.$index(0,"source-map-urls"),"relative")&&!this.get$_writeToStdout()?(r.toString,o=n.relative$2$from(i,n.dirname$1(r))):o=A.absolute(i,s,s,s,s,s,s,s,s,s,s,s,s,s,s),n.toUri$1(o))},get$silenceDeprecations(e){var t,r,n,i=A.LinkedHashSet_LinkedHashSet$_empty(D.Deprecation);for(t=w.get$iterator$ax(D.List_String._as(this._options.$index(0,"silence-deprecation")));t.moveNext$0();)r=t.get$current(t),n=A.Deprecation_fromId(r),i.add$1(0,null==n?A.ExecutableOptions__fail('Invalid deprecation "'+r+'".'):n);return i},get$fatalDeprecations(e){var t=this._fatalDeprecations;return null==t?this._fatalDeprecations=new A.ExecutableOptions_fatalDeprecations_closure(this).call$0():t},get$futureDeprecations(e){var t,r,n,i=A.LinkedHashSet_LinkedHashSet$_empty(D.Deprecation);for(t=w.get$iterator$ax(D.List_String._as(this._options.$index(0,"future-deprecation")));t.moveNext$0();)r=t.get$current(t),n=A.Deprecation_fromId(r),i.add$1(0,null==n?A.ExecutableOptions__fail('Invalid deprecation "'+r+'".'):n);return i},_ifParsed$1(e){var t=this._options;return t.wasParsed$1(e)?t.$index(0,e):null}},A.ExecutableOptions__parser_closure.prototype={call$0(){var e=D.String,t=A.LinkedHashMap_LinkedHashMap$_empty(e,D.Option),r=A._setArrayType([],D.JSArray_Object),n=new A.ArgParser(t,A.LinkedHashMap_LinkedHashMap$_empty(e,e),new A.UnmodifiableMapView(t,D.UnmodifiableMapView_String_Option),new A.UnmodifiableMapView(A.LinkedHashMap_LinkedHashMap$_empty(e,D.ArgParser),D.UnmodifiableMapView_String_ArgParser),r,!0,null);return n.addOption$2$hide("precision",!0),n.addFlag$2$hide("async",!0),r.push(A.ExecutableOptions__separator("Input and Output")),n.addFlag$2$help("stdin","Read the stylesheet from stdin."),n.addFlag$2$help("indented","Use the indented syntax for input from stdin."),n.addMultiOption$5$abbr$help$splitCommas$valueHelp("load-path","I","A path to use when resolving imports.\nMay be passed multiple times.",!1,"PATH"),t=D.JSArray_String,n.addMultiOption$6$abbr$allowed$allowedHelp$help$valueHelp("pkg-importer","p",A._setArrayType(["node"],t),A.LinkedHashMap_LinkedHashMap$_literal(["node","Load files like Node.js package resolution."],e,e),"Built-in importer(s) to use for pkg: URLs.","TYPE"),n.addOption$6$abbr$allowed$defaultsTo$help$valueHelp("style","s",A._setArrayType(["expanded","compressed"],t),"expanded","Output style.","NAME"),n.addFlag$3$defaultsTo$help("charset",!0,"Emit a @charset or BOM for CSS with non-ASCII characters."),n.addFlag$3$defaultsTo$help("error-css",null,"When an error occurs, emit a stylesheet describing it.\nDefaults to true when compiling to a file."),n.addFlag$3$help$negatable("update","Only compile out-of-date stylesheets.",!1),r.push(A.ExecutableOptions__separator("Source Maps")),n.addFlag$3$defaultsTo$help("source-map",!0,"Whether to generate source maps."),n.addOption$4$allowed$defaultsTo$help("source-map-urls",A._setArrayType(["relative","absolute"],t),"relative","How to link from source maps to source files."),n.addFlag$3$defaultsTo$help("embed-sources",!1,"Embed source file contents in source maps."),n.addFlag$3$defaultsTo$help("embed-source-map",!1,"Embed source map contents in CSS."),r.push(A.ExecutableOptions__separator("Warnings")),n.addFlag$3$abbr$help("quiet","q","Don't print warnings."),n.addFlag$2$help("quiet-deps","Don't print compiler warnings from dependencies.\nStylesheets imported through load paths count as dependencies."),n.addFlag$2$help("verbose","Print all deprecation warnings even when they're repetitive."),n.addMultiOption$2$help("fatal-deprecation","Deprecations to treat as errors. You may also pass a Sass\nversion to include any behavior deprecated in or before it.\nSee https://sass-lang.com/documentation/breaking-changes for \na complete list."),n.addMultiOption$2$help("silence-deprecation","Deprecations to ignore."),n.addMultiOption$2$help("future-deprecation","Opt in to a deprecation early."),r.push(A.ExecutableOptions__separator("Other")),n.addFlag$4$abbr$help$negatable("watch","w","Watch stylesheets and recompile when they change.",!1),n.addFlag$2$help("poll","Manually check for changes rather than using a native watcher.\nOnly valid with --watch."),n.addFlag$2$help("stop-on-error","Don't compile more files once an error is encountered."),n.addFlag$4$abbr$help$negatable("interactive","i","Run an interactive SassScript shell.",!1),n.addFlag$3$abbr$help("color","c","Whether to use terminal colors for messages."),n.addFlag$2$help("unicode","Whether to use Unicode characters for messages."),n.addFlag$2$help("trace","Print full Dart stack traces for exceptions."),n.addFlag$4$abbr$help$negatable("help","h","Print this usage information.",!1),n.addFlag$3$help$negatable("version","Print the version of Dart Sass.",!1),n},$signature:312},A.ExecutableOptions_interactive_closure.prototype={call$0(){var e,t=this.$this._options;if(!A._asBool(t.$index(0,"interactive")))return!1;if(null!=(e=A.IterableExtension_firstWhereOrNull(A._setArrayType(["stdin","indented","style","source-map","source-map-urls","embed-sources","embed-source-map","update","watch"],D.JSArray_String),t.get$wasParsed())))throw A.wrapException(A.UsageException$("--"+e+" isn't allowed with --interactive."));return!0},$signature:20},A.ExecutableOptions_emitErrorCss_closure.prototype={call$1:e=>null!=e,$signature:227},A.ExecutableOptions_fatalDeprecations_closure.prototype={call$0(){var e,t,r,n,i,o,s=A.LinkedHashSet_LinkedHashSet$_empty(D.Deprecation);for(n=w.get$iterator$ax(D.List_String._as(this.$this._options.$index(0,"fatal-deprecation"))),i=D.FormatException;n.moveNext$0();)if(e=n.get$current(n),null==(o=A.Deprecation_fromId(e)))try{t=A.Version_Version$parse(e),r=A.Version_Version$parse("1.99.0"),w.compareTo$1$ns(t,r)>0&&A.ExecutableOptions__fail("Invalid version "+A.S(t)+". --fatal-deprecation requires a version less than or equal to the current Dart Sass version."),w.addAll$1$ax(s,A.Deprecation_forVersion(t))}catch(t){if(!i._is(A.unwrapException(t)))throw t;A.ExecutableOptions__fail('Invalid deprecation "'+A.S(e)+'".')}else w.add$1$ax(s,o);return s},$signature:321},A.UsageException.prototype={$isException:1,get$message(e){return this.message}},A.repl_warn.prototype={call$1(e){var t,r,n,i,o,s,a=null;t=e._1,n=a,i=!1,o=e._2,(i=null!=(r=e._0))&&(n=null==r?D.Deprecation._as(r):r),s=o,i?A.WarnForDeprecation_warnForDeprecation(this.logger,n,t,s,a):(i=!1,s=o,(i=null==r)&&this.logger.internalWarn$4$deprecation$span$trace(t,a,s,a))},$signature:324},A.watch_closure.prototype={call$1(e){for(;!A.dirExists(e);)e=I.$get$context().dirname$1(e);return this.dirWatcher.watch$1(0,e)},$signature:325},A._Watcher.prototype={_delete$1(e){var t,r;try{A.deleteFile(e),t=new A.StringBuffer(""),(r=this._watch$_options).get$color()&&(t._contents+=""),t._contents+="Deleted "+e+".",r.get$color()&&(t._contents+=""),A.print(t)}catch(e){if(!(A.unwrapException(e)instanceof A.FileSystemException))throw e}},watch$1(e,t){return this.watch$body$_Watcher(0,t)},watch$body$_Watcher(e,t){var r,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y,$=0,x=A._makeAsyncAwaitCompleter(D.void),S=2,E=[],M=[],k=this,T=A._wrapJsFunctionForAsync(function(e,R){for(1===e&&(E.push(R),$=S);;)switch($){case 0:(y=t._group.__StreamGroup__controller_A)===I&&A.throwUnnamedLateFieldNI(),y=new A._StreamIterator(A.checkNotNullable(k._debounceEvents$1(new A._ControllerStream(y,A._instanceType(y)._eval$1("_ControllerStream<1>"))),"stream",D.Object)),S=3,a=k._toRecompile,l=D.String,c=k._watch$_options,u=k._graph,d=u._nodes,h=D.JSArray_StylesheetNode,p=c._options;case 6:return $=8,A._asyncAwait(y.moveNext$0(),T);case 8:if(!R){$=7;break}for(r=y.get$current(0),m=w.get$iterator$ax(r);m.moveNext$0();)if(i=m.get$current(m),_=i.path,g=I.$get$context(),o=A.ParsedPath_ParsedPath$parse(_,g.style)._splitExtension$1(1)[1],w.$eq$(o,".sass")||w.$eq$(o,".scss")||w.$eq$(o,".css"))switch(i.type){case C.ChangeType_modify:_=i.path,f=null==(f=n.process)||null==(f=w.get$release$x(f))?null:w.get$name$x(f),f=w.$eq$(f,"node")?n.process:null,w.$eq$(null==f?null:w.get$platform$x(f),"win32")?f=!0:(f=null==(f=n.process)||null==(f=w.get$release$x(f))?null:w.get$name$x(f),f=w.$eq$(f,"node")?n.process:null,f=w.$eq$(null==f?null:w.get$platform$x(f),"darwin")),v=g.toUri$1(f?A._realCasePath(g.normalize$1(g.absolute$15(_,null,null,null,null,null,null,null,null,null,null,null,null,null,null))):g.canonicalize$1(0,_)),null!=(b=d.$index(0,v))?(u.reload$1(v),k._recompileDownstream$1(A._setArrayType([b],h))):k._handleAdd$1(_);break;case C.ChangeType_add:k._handleAdd$1(i.path);break;case C.ChangeType_remove:k._handleRemove$1(i.path)}return(m=A.LinkedHashMap_LinkedHashMap(null,null,null,l,l)).addAll$1(0,a),s=m,a.clear$0(0),$=9,A._asyncAwait(A.compileStylesheets(c,u,s,!0),T);case 9:if(!R&&A._asBool(p.$index(0,"stop-on-error"))){M=[1],$=4;break}$=6;break;case 7:M.push(5),$=4;break;case 3:M=[2];case 4:return S=2,$=10,A._asyncAwait(y.cancel$0(),T);case 10:$=M.pop();break;case 5:case 1:return A._asyncReturn(undefined,x);case 2:return A._asyncRethrow(E.at(-1),x)}});return A._asyncStartSync(T,x)},_handleAdd$1(e){var t,r,i,o,s=this,a=null,l=s._destinationFor$1(e);null!=l&&s._toRecompile.$indexSet(0,e,l),t=I.$get$FilesystemImporter_cwd(),r=A.isNodeJs()?n.process:a,w.$eq$(null==r?a:w.get$platform$x(r),"win32")?r=!0:(r=A.isNodeJs()?n.process:a,r=w.$eq$(null==r?a:w.get$platform$x(r),"darwin")),r?(r=A.absolute(e,a,a,a,a,a,a,a,a,a,a,a,a,a,a),i=I.$get$context(),r=A._realCasePath(i.normalize$1(r))):(o=i=(r=I.$get$context()).canonicalize$1(0,e),i=r,r=o),s._recompileDownstream$1(s._graph.addCanonical$3(t,i.toUri$1(r),i.toUri$1(e)))},_handleRemove$1(e){return this._handleRemove$body$_Watcher(e)},_handleRemove$body$_Watcher(e){var t,r,i,o,s,a=A._makeAsyncAwaitCompleter(D.void),l=this,c=A._wrapJsFunctionForAsync(function(c,u){if(1===c)return A._asyncRethrow(u,a);for(;;)return s=A.isNodeJs()?n.process:null,w.$eq$(null==s?null:w.get$platform$x(s),"win32")?s=!0:(s=A.isNodeJs()?n.process:null,s=w.$eq$(null==s?null:w.get$platform$x(s),"darwin")),s?(s=A.absolute(e,null,null,null,null,null,null,null,null,null,null,null,null,null,null),t=I.$get$context(),s=A._realCasePath(t.normalize$1(s))):(s=I.$get$context(),t=s.canonicalize$1(0,e),r=t,t=s,s=r),i=t.toUri$1(s),(s=l._graph)._nodes.containsKey$1(i)&&null!=(o=l._destinationFor$1(e))&&(l._delete$1(o),l._delete$1(o+".map")),l._recompileDownstream$1(s.remove$2(0,I.$get$FilesystemImporter_cwd(),i)),A._asyncReturn(null,a)});return A._asyncStartSync(c,a)},_debounceEvents$1(e){var t=D.WatchEvent;return t=A.RateLimit__debounceAggregate(e,A.Duration$(0,25),A.instantiate1(A.rate_limit___collect$closure(),t),!1,!0,t,D.List_WatchEvent),new A._MapStream(new A._Watcher__debounceEvents_closure,t,A._instanceType(t)._eval$1("_MapStream<Stream.T,List<WatchEvent>>"))},_recompileDownstream$1(e){var t,r,n,i,o,s,a,l=A.LinkedHashSet_LinkedHashSet$_empty(D.StylesheetNode);for(t=D.UnmodifiableSetView_StylesheetNode,r=this._toRecompile,n=D.JSArray_StylesheetNode;(i=w.getInterceptor$asx(e)).get$isNotEmpty(e);e=i){for(o=A._setArrayType([],n),i=i.get$iterator(e);i.moveNext$0();)s=i.get$current(i),l.add$1(0,s)&&o.push(s);for(r.addAll$1(0,this._sourceEntrypointsToDestinations$1(o)),i=A._setArrayType([],n),s=o.length,a=0;a<o.length;o.length===s||(0,A.throwConcurrentModificationError)(o),++a)C.JSArray_methods.addAll$1(i,new A.UnmodifiableSetView0(o[a]._downstream,t))}},_sourceEntrypointsToDestinations$1(e){var t,r,n,i,o=D.String,s=A.LinkedHashMap_LinkedHashMap$_empty(o,o);for(o=e.length,t=0;t<e.length;e.length===o||(0,A.throwConcurrentModificationError)(e),++t)"file"===(r=e[t].canonicalUrl).get$scheme()&&(n=I.$get$context().style.pathFromUri$1(A._parseUri(r)),null!=(i=this._destinationFor$1(n))&&s.$indexSet(0,n,i));return s},_destinationFor$1(e){var t,r,n,i,o,s,a=this._watch$_options;if(a._ensureSources$0(),t=D.String,null!=(r=a._sourcesToDestinations.cast$2$0(0,t,t).$index(0,e)))return r;if(n=I.$get$context(),C.JSString_methods.startsWith$1(A.ParsedPath_ParsedPath$parse(e,n.style).get$basename(),"_"))return null;for(a._ensureSources$0(),(a=a.__ExecutableOptions__sourceDirectoriesToDestinations_F)===I&&A.throwUnnamedLateFieldNI(),t=(t=A.MapExtensions_get_pairs(a.cast$2$0(0,t,t),t,t)).get$iterator(t);t.moveNext$0();)if(i=(a=t.get$current(t))._0,o=a._1,n._isWithinOrEquals$2(i,e)===C._PathRelation_within&&(s=A.join(o,n.withoutExtension$1(n.relative$2$from(e,i))+".css",null),n._isWithinOrEquals$2(s,e)!==C._PathRelation_equal))return s;return null}},A._Watcher__debounceEvents_closure.prototype={call$1(e){var t,r,n,i,o,s,a=D.ChangeType,l=A.PathMap__create(null,a);for(t=w.get$iterator$ax(e);t.moveNext$0();)n=(r=t.get$current(t)).path,i=l.$index(0,n),o=r.type,r=null!=i?C.ChangeType_remove!==o?C.ChangeType_add!==i?C.ChangeType_modify:C.ChangeType_add:C.ChangeType_remove:o,l.$indexSet(0,n,r);for(t=A._setArrayType([],D.JSArray_WatchEvent),a=(a=A.MapExtensions_get_pairs(new A.PathMap(l,D.PathMap_ChangeType),D.nullable_String,a)).get$iterator(a);a.moveNext$0();)(s=(l=a.get$current(a))._0).toString,t.push(new A.WatchEvent(l._1,s));return t},$signature:276},A.EmptyExtensionStore.prototype={get$_extensions(){return A.throwExpression(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this,A.JSInvocationMirror$(C.Symbol__extensions,"get$_empty_extension_store$_extensions",1,[],[],0)))},get$_sourceSpecificity(){return A.throwExpression(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this,A.JSInvocationMirror$(C.Symbol__sourceSpecificity,"get$_empty_extension_store$_sourceSpecificity",1,[],[],0)))},get$isEmpty:e=>!0,get$simpleSelectors:()=>C.C_EmptyUnmodifiableSet,extensionsWhereTarget$1:e=>C.List_empty5,addSelector$2(e,t){throw A.wrapException(A.UnsupportedError$(P.addSel))},addExtension$4(e,t,r,n){throw A.wrapException(A.UnsupportedError$(P.addExt_))},addExtensions$1(e){throw A.wrapException(A.UnsupportedError$(P.addExts))},clone$0:()=>C.Record2_EmptyExtensionStore_Map_empty,$isExtensionStore:1},A.Extension.prototype={toString$0(e){return this.extender.toString$0(0)+" {@extend "+this.target.toString$0(0)+(this.isOptional?" !optional":"")+"}"}},A.Extender.prototype={assertCompatibleMediaContext$1(e){var t,r=this._extension;if(null!=r&&null!=(t=r.mediaContext)&&(null==e||!C.C_ListEquality.equals$2(0,t,e)))throw A.wrapException(A.SassException$(P.You_ma,r.span,null))},toString$0(e){return A.serializeSelector(this.selector,!0)}},A.ExtensionStore.prototype={get$isEmpty(e){return 0===this._extensions.__js_helper$_length},get$simpleSelectors(){return new A.MapKeySet(this._selectors,D.MapKeySet_SimpleSelector)},extensionsWhereTarget$1(e){return new A._SyncStarIterable(this.extensionsWhereTarget$body$ExtensionStore(e),D._SyncStarIterable_Extension)},extensionsWhereTarget$body$ExtensionStore(e){var t=this;return function(){var r,n,i,o,s,a=e,l=0,c=[];return function(e,u,d){for(1===u&&(c.push(d),l=1);;)switch(l){case 0:r=(r=A.MapExtensions_get_pairs(t._extensions,D.SimpleSelector,D.Map_ComplexSelector_Extension)).get$iterator(r);case 2:if(!r.moveNext$0()){l=3;break}if(n=r.get$current(r),i=n._0,o=n._1,!a.call$1(i)){l=2;break}n=(n=o.get$values(o)).get$iterator(n);case 4:if(!n.moveNext$0()){l=5;break}s=n.get$current(n),l=s instanceof A.MergedExtension?6:8;break;case 6:return s=s.unmerge$0(),l=9,e._yieldStar$1(new A.WhereIterable(s,new A.ExtensionStore_extensionsWhereTarget_closure,s.$ti._eval$1("WhereIterable<Iterable.E>")));case 9:l=7;break;case 8:l=s.isOptional?11:10;break;case 10:return l=12,e._async$_current=s,1;case 12:case 11:case 7:l=4;break;case 5:l=2;break;case 3:return 0;case 1:return e._datum=c.at(-1),3}}}},addSelector$2(e,t){var r,n,i,o,s,a,l,c,u=this;if((r=e).accept$1(C._IsInvisibleVisitor_true)||u._originals.addAll$1(0,r.components),0!==(o=u._extensions).__js_helper$_length)try{e=u._extendList$3(r,o,t)}catch(e){if(!((o=A.unwrapException(e))instanceof A.SassException))throw e;n=o,i=A.getTraceFromException(e),o=n,s=w.getInterceptor$x(o),o=A.SourceSpanException.prototype.get$span.call(s,o).message$1(0,""),s=n._span_exception$_message,a=n,l=w.getInterceptor$x(a),a=A.SourceSpanException.prototype.get$span.call(l,a),A.throwWithTrace(new A.SassException(C.Set_empty,"From "+o+"\n"+s,a),n,i)}return c=new A.ModifiableBox(e,D.ModifiableBox_SelectorList),null!=t&&u._mediaContexts.$indexSet(0,c,t),u._registerSelector$2(e,c),new A.Box(c,D.Box_SelectorList)},_registerSelector$2(e,t){var r,n,i,o,s,a,l,c,u,d,h,p,m,_,g;for(n=(r=e.components).length,i=this._selectors,o=D.SelectorList,s=0;s<n;++s)for(l=(a=r[s].components).length,c=0;c<l;++c)for(d=(u=a[c].selector.components).length,h=0;h<d;++h)p=u[h],i.putIfAbsent$2(p,new A.ExtensionStore__registerSelector_closure).add$1(0,t),_=null,!!(m=p instanceof A.PseudoSelector)&&null!=(_=p.selector)&&(g=m?_:p.selector,this._registerSelector$2(null==g?o._as(g):g,t))},addExtension$4(e,t,r,n){var i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y,$,x=this,S=x._selectors.$index(0,t),E=x._extensionsByExtender,I=E.$index(0,t),M=x._extensions.putIfAbsent$2(t,new A.ExtensionStore_addExtension_closure);for(o=(i=e.components).length,s=null==S,a=x._sourceSpecificity,l=r.span,c=r.isOptional,u=null!=I,d=D.ComplexSelector,h=D.Extension,p=null,m=0;m<o;++m)if(!(_=i[m]).accept$1(C.C__IsUselessVisitor))if(_.get$specificity(),f=(g=new A.Extender(_,!1))._extension=new A.Extension(g,t,n,c,l),null==(v=M.$index(0,_))){for(M.$indexSet(0,_,f),g=new A._SyncStarIterator(x._simpleSelectors$1(_)._outerHelper());g.moveNext$0();)b=g._async$_current,w.add$1$ax(E.putIfAbsent$2(b,new A.ExtensionStore_addExtension_closure0),f),a.putIfAbsent$2(b,new A.ExtensionStore_addExtension_closure1(_));s&&!u||(null==p&&(p=A.LinkedHashMap_LinkedHashMap$_empty(d,h)),p.$indexSet(0,_,f))}else M.$indexSet(0,_,A.MergedExtension_merge(v,f));null!=p&&(E=D.SimpleSelector,y=A.LinkedHashMap_LinkedHashMap$_literal([t,p],E,D.Map_ComplexSelector_Extension),u&&null!=($=x._extendExistingExtensions$2(I,y))&&A.mapAddAll2(y,$,E,d,h),s||x._extendExistingSelectors$2(S,y))},_simpleSelectors$1(e){return new A._SyncStarIterable(this._simpleSelectors$body$ExtensionStore(e),D._SyncStarIterable_SimpleSelector)},_simpleSelectors$body$ExtensionStore(e){var t=this;return function(){var r,n,i,o,s,a,l,c,u,d,h,p,m,_,g=e,f=0,v=[];return function(e,b,y){for(1===b&&(v.push(y),f=1);;)switch(f){case 0:r=g.components,n=r.length,i=D.SelectorList,o=0;case 2:if(!(o<n)){f=4;break}s=r[o].selector.components,a=s.length,l=0;case 5:if(!(l<a)){f=7;break}return c=s[l],f=8,e._async$_current=c,1;case 8:u=c instanceof A.PseudoSelector,d=null,u?(d=c.selector,h=null!=(h=d)):h=!1,f=h?9:10;break;case 9:p=u?d:c.selector,h=(null==p?i._as(p):p).components,m=h.length,_=0;case 11:if(!(_<m)){f=13;break}return f=14,e._yieldStar$1(t._simpleSelectors$1(h[_]));case 14:case 12:++_,f=11;break;case 13:case 10:case 6:++l,f=5;break;case 7:case 3:++o,f=2;break;case 4:return 0;case 1:return e._datum=v.at(-1),3}}}},_extendExistingExtensions$2(e,t){var r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y,$,x,S,E,I,M;for(a=(s=w.toList$0$ax(e)).length,l=this._extensionsByExtender,c=D.SimpleSelector,u=D.Map_ComplexSelector_Extension,d=this._extensions,h=null,p=0;p<s.length;s.length===a||(0,A.throwConcurrentModificationError)(s),++p){r=s[p],(m=d.$index(0,r.target)).toString,n=null;try{if(null==(n=this._extendComplex$3(r.extender.selector,t,r.mediaContext)))continue}catch(e){if(!((_=A.unwrapException(e))instanceof A.SassException))throw e;i=_,o=A.getTraceFromException(e),A.throwWithTrace(i.withAdditionalSpan$2(r.extender.selector.span,"target selector"),i,o)}for(_=w.get$first$ax(n),g=r.extender.selector,C.C_ListEquality.equals$2(0,_.leadingCombinators,g.leadingCombinators)&&C.C_ListEquality.equals$2(0,_.components,g.components)&&(_=n,g=A._arrayInstanceType(_),(f=new A.SubListIterable(_,1,null,g._eval$1("SubListIterable<1>"))).SubListIterable$3(_,1,null,g._precomputed1),n=f),_=w.get$iterator$ax(n);_.moveNext$0();)if(g=_.get$current(_),b=(v=r).target,y=v.span,$=v.mediaContext,v=v.isOptional,g.get$specificity(),S=(x=new A.Extender(g,!1))._extension=new A.Extension(x,b,$,v,y),null!=(E=m.$index(0,g)))m.$indexSet(0,g,A.MergedExtension_merge(E,S));else{for(m.$indexSet(0,g,S),b=(v=g.components).length,I=0;I<b;++I)for($=(y=v[I].selector.components).length,M=0;M<$;++M)w.add$1$ax(l.putIfAbsent$2(y[M],new A.ExtensionStore__extendExistingExtensions_closure),S);t.containsKey$1(r.target)&&(null==h&&(h=A.LinkedHashMap_LinkedHashMap$_empty(c,u)),h.putIfAbsent$2(r.target,new A.ExtensionStore__extendExistingExtensions_closure0).$indexSet(0,g,S))}}return h},_extendExistingSelectors$2(e,t){var r,n,i,o,s,a,l,c,u,d;for(o=e.get$iterator(e),s=this._mediaContexts;o.moveNext$0();){a=(r=o.get$current(o)).value;try{r.value=this._extendList$3(r.value,t,s.$index(0,r))}catch(e){if(!((l=A.unwrapException(e))instanceof A.SassException))throw e;n=l,i=A.getTraceFromException(e),l=r.value.span.message$1(0,""),c=n._span_exception$_message,u=n,d=w.getInterceptor$x(u),u=A.SourceSpanException.prototype.get$span.call(d,u),A.throwWithTrace(new A.SassException(C.Set_empty,"From "+l+"\n"+c,u),n,i)}a!==r.value&&this._registerSelector$2(r.value,r)}},addExtensions$1(e){var t,r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y,$,x,S,E,I,M,k,T=this,R=null;for(t=w.get$iterator$ax(e),r=D.SimpleSelector,n=D.Map_ComplexSelector_Extension,i=T._extensions,o=D.ComplexSelector,s=D.Extension,a=T._selectors,l=T._extensionsByExtender,c=D.JSArray_Extension,u=D.ModifiableBox_SelectorList,d=T._sourceSpecificity,m=p=h=R;t.moveNext$0();)if(!(_=t.get$current(t)).get$isEmpty(_))for(d.addAll$1(0,_.get$_sourceSpecificity()),_=(_=A.MapExtensions_get_pairs(_.get$_extensions(),r,n)).get$iterator(_);_.moveNext$0();)if(f=(g=_.get$current(_))._0,v=g._1,!(g=f instanceof A.PlaceholderSelector&&(45===(b=f.name.charCodeAt(0))||95===b)))if((g=null==(y=l.$index(0,f)))||($=null==m?m=A._setArrayType([],c):m,C.JSArray_methods.addAll$1($,y)),($=null!=(x=a.$index(0,f)))&&(S=null==p?p=A.LinkedHashSet_LinkedHashSet$_empty(u):p).addAll$1(0,x),null!=(E=i.$index(0,f)))for(S=(S=A.MapExtensions_get_pairs(v,o,s)).get$iterator(S);S.moveNext$0();)M=(I=S.get$current(S))._0,k=I._1,E.containsKey$1(M)?(I=E.$index(0,M),k=A.MergedExtension_merge(null==I?s._as(I):I,k),E.$indexSet(0,M,k)):E.$indexSet(0,M,k),g&&!$||(I=null==h?h=A.LinkedHashMap_LinkedHashMap$_empty(r,n):h).putIfAbsent$2(f,new A.ExtensionStore_addExtensions_closure).$indexSet(0,M,k);else(S=A.LinkedHashMap_LinkedHashMap(R,R,R,o,s)).addAll$1(0,v),i.$indexSet(0,f,S),g&&!$||(g=null==h?h=A.LinkedHashMap_LinkedHashMap$_empty(r,n):h,($=A.LinkedHashMap_LinkedHashMap(R,R,R,o,s)).addAll$1(0,v),g.$indexSet(0,f,$));null!=h&&(null!=m&&T._extendExistingExtensions$2(m,h),null!=p&&T._extendExistingSelectors$2(p,h))},_extendList$3(e,t,r){var n,i,o,s,a,l,c,u;for(i=(n=e.components).length,o=D.JSArray_ComplexSelector,s=null,a=0;a<i;++a)l=n[a],null==(c=this._extendComplex$3(l,t,r))?null!=s&&s.push(l):(null==s&&(0===a?s=A._setArrayType([],o):(u=C.JSArray_methods.sublist$2(n,0,a),s=A._setArrayType(u.slice(0),A._arrayInstanceType(u)))),C.JSArray_methods.addAll$1(s,c));return null==s?e:(n=this._originals,A.SelectorList$(this._trim$2(s,n.get$contains(n)),e.span))},_extendList$2(e,t){return this._extendList$3(e,t,null)},_extendComplex$3(e,t,r){var n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y={},$=e.leadingCombinators,x=$.length;if(x>1)return null;for(n=this._originals.contains$1(0,e),o=(i=e.components).length,s=D.JSArray_List_ComplexSelector,l=!(a=e.lineBreak),c=e.span,u=D.JSArray_ComplexSelector,x=0===x,d=D.JSArray_ComplexSelectorComponent,h=null,p=0;p<o;++p)if(m=i[p],null==(_=this._extendCompound$4$inOriginal(m,t,r,n)))null!=h&&h.push(A._setArrayType([A.ComplexSelector$(C.List_empty0,A._setArrayType([m],d),c,a)],u));else if(null!=h)h.push(_);else if(0!==p)g=A._arrayInstanceType(i),(f=new A.SubListIterable(i,0,p,g._eval$1("SubListIterable<1>"))).SubListIterable$3(i,0,p,g._precomputed1),h=A._setArrayType([A._setArrayType([A.ComplexSelector$($,f,c,a)],u),_],s);else if(x)h=A._setArrayType([_],s);else{for(g=A._setArrayType([],u),f=w.get$iterator$ax(_);f.moveNext$0();)(0===(b=(v=f.get$current(f)).leadingCombinators).length||C.C_ListEquality.equals$2(0,$,b))&&(b=v.components,g.push(A.ComplexSelector$($,b,c,!l||v.lineBreak)));h=A._setArrayType([g],s)}return null==h?null:(y.first=!0,$=D.ComplexSelector,$=w.expand$1$1$ax(A.paths(h,$),new A.ExtensionStore__extendComplex_closure(y,this,e),$),$=A.List_List$_of($,$.$ti._eval$1("Iterable.E")))},_extendCompound$4$inOriginal(e,t,r,n){var i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y,$,x,S,E=this,I=null,M=E._mode,k=M===C.ExtendMode_normal_0_normal||t.__js_helper$_length<2?I:A.LinkedHashSet_LinkedHashSet$_empty(D.SimpleSelector),T=e.selector,R=T.components;for(i=R.length,o=D.JSArray_List_Extender,s=D.JSArray_Extender,a=D.CssValue_Combinator,l=D.JSArray_ComplexSelectorComponent,u=(c=A._arrayInstanceType(R))._precomputed1,c=c._eval$1("SubListIterable<1>"),d=e.span,h=D.SimpleSelector,p=I,m=0;m<i;++m)_=R[m],null==(g=E._extendSimple$4(_,t,r,k))?null!=p&&p.push(A._setArrayType([E._extenderForSimple$1(_)],s)):(null==p&&(p=A._setArrayType([],o),0!==m&&((f=new A.SubListIterable(R,0,m,c)).SubListIterable$3(R,0,m,u),(v=A.List_List$from(f,!1,h)).$flags=3,f=v,b=new A.CompoundSelector(f,d),0===f.length&&A.throwExpression(A.ArgumentError$("components may not be empty.",I)),(v=A.List_List$from(C.List_empty0,!1,a)).$flags=3,f=A.ComplexSelector$(C.List_empty0,A._setArrayType([new A.ComplexSelectorComponent(b,v,d)],l),d,!1),E._sourceSpecificityFor$1(b),p.push(A._setArrayType([new A.Extender(f,!0)],s)))),C.JSArray_methods.addAll$1(p,g));if(null==p)return I;if(null!=k&&k._collection$_length!==t.__js_helper$_length)return I;if(1===p.length){for(M=w.get$iterator$ax(p[0]),T=e.combinators,i=D.JSArray_ComplexSelector,v=I;M.moveNext$0();)(o=M.get$current(M)).assertCompatibleMediaContext$1(r),(y=o.selector.withAdditionalCombinators$1(T)).accept$1(C.C__IsUselessVisitor)||(null==v&&(v=A._setArrayType([],i)),v.push(y));return v}for($=A.paths(p,D.Extender),i=A._setArrayType([],D.JSArray_ComplexSelector),(o=!(M=M===C.ExtendMode_replace_1_replace))&&i.push(A.ComplexSelector$(C.List_empty0,A._setArrayType([new A.ComplexSelectorComponent(A.CompoundSelector$(w.expand$1$1$ax(w.get$first$ax($),new A.ExtensionStore__extendCompound_closure,h),T.span),A.List_List$unmodifiable(e.combinators,a),d)],l),d,!1)),s=(T=w.skip$1$ax($,M?0:1)).$ti,T=new A.ListIterator(T,T.get$length(0),s._eval$1("ListIterator<ListIterable.E>")),a=e.combinators,s=s._eval$1("ListIterable.E");T.moveNext$0();)if(M=T.__internal$_current,null!=(g=E._unifyExtenders$3(null==M?s._as(M):M,r,d)))for(M=w.get$iterator$ax(g);M.moveNext$0();)(x=M.get$current(M).withAdditionalCombinators$1(a)).accept$1(C.C__IsUselessVisitor)||i.push(x);return S=new A.ExtensionStore__extendCompound_closure0,E._trim$2(i,n&&o?new A.ExtensionStore__extendCompound_closure1(C.JSArray_methods.get$first(i)):S)},_unifyExtenders$3(e,t,r){var n,i,o,s,a,l,c,u=null,d=A.QueueList$(u,D.ComplexSelector);for(i=(n=w.getInterceptor$ax(e)).get$iterator(e),o=D.JSArray_SimpleSelector,s=u,a=!1;i.moveNext$0();)if((l=i.get$current(i)).isOriginal)null==s&&(s=A._setArrayType([],o)),l=l.selector,C.JSArray_methods.addAll$1(s,C.JSArray_methods.get$last(l.components).selector.components),a=a||l.lineBreak;else{if((l=l.selector).accept$1(C.C__IsUselessVisitor))return u;d._queue_list$_add$1(l)}if(null!=s&&d.addFirst$1(A.ComplexSelector$(C.List_empty0,A._setArrayType([new A.ComplexSelectorComponent(A.CompoundSelector$(s,r),A.List_List$unmodifiable(C.List_empty0,D.CssValue_Combinator),r)],D.JSArray_ComplexSelectorComponent),r,a)),null==(c=A.unifyComplex(d,r)))return u;for(n=n.get$iterator(e);n.moveNext$0();)n.get$current(n).assertCompatibleMediaContext$1(t);return c},_extendSimple$4(e,t,r,n){var i,o=new A.ExtensionStore__extendSimple_withoutPseudo(this,t,n);return e instanceof A.PseudoSelector&&null!=e.selector&&null!=(i=this._extendPseudo$3(e,t,r))?new A.MappedListIterable(i,new A.ExtensionStore__extendSimple_closure(this,o),A._arrayInstanceType(i)._eval$1("MappedListIterable<1,List<Extender>>")):A.NullableExtension_andThen(o.call$1(e),new A.ExtensionStore__extendSimple_closure0)},_extenderForSimple$1(e){var t=e.span;return t=A.ComplexSelector$(C.List_empty0,A._setArrayType([new A.ComplexSelectorComponent(A.CompoundSelector$(A._setArrayType([e],D.JSArray_SimpleSelector),t),A.List_List$unmodifiable(C.List_empty0,D.CssValue_Combinator),t)],D.JSArray_ComplexSelectorComponent),t,!1),this._sourceSpecificity.$index(0,e),new A.Extender(t,!0)},_extendPseudo$3(e,t,r){var n,i,o,s,a=e.selector;if(null==a)throw A.wrapException(A.ArgumentError$("Selector "+e.toString$0(0)+" must have a selector argument.",null));return(n=this._extendList$3(a,t,r))===a?null:(i=n.components,(o="not"===e.normalizedName)&&!C.JSArray_methods.any$1(a.components,new A.ExtensionStore__extendPseudo_closure)&&C.JSArray_methods.any$1(i,new A.ExtensionStore__extendPseudo_closure0)&&(i=new A.WhereIterable(i,new A.ExtensionStore__extendPseudo_closure1,A._arrayInstanceType(i)._eval$1("WhereIterable<1>"))),i=w.expand$1$1$ax(i,new A.ExtensionStore__extendPseudo_closure2(e),D.ComplexSelector),o&&1===a.components.length?(o=A.MappedIterable_MappedIterable(i,new A.ExtensionStore__extendPseudo_closure3(e,a),i.$ti._eval$1("Iterable.E"),D.PseudoSelector),0===(s=A.List_List$_of(o,A._instanceType(o)._eval$1("Iterable.E"))).length?null:s):A._setArrayType([e.withSelector$1(A.SelectorList$(i,a.span))],D.JSArray_PseudoSelector))},_trim$2(e,t){var r,n,i,o,s,a,l,c,u,d,h,p,m;if(e.length>100)return e;r=A.QueueList$(null,D.ComplexSelector);e:for(n=e.length-1,i=A._arrayInstanceType(e),o=i._precomputed1,i=i._eval$1("SubListIterable<1>"),s=0;n>=0;--n)if(a={},l=e[n],t.call$1(l)){for(c=0;c<s;++c)if(r.$index(0,c).$eq(0,l)){A.rotateSlice(r,0,c+1);continue e}++s,r.addFirst$1(l)}else{for(a.maxSpecificity=0,d=(u=l.components).length,h=0,p=0;h<d;++h,p=m)m=Math.max(p,this._sourceSpecificityFor$1(u[h].selector)),a.maxSpecificity=m;r.any$1(r,new A.ExtensionStore__trim_closure(a,l))||((u=new A.SubListIterable(e,0,n,i)).SubListIterable$3(e,0,n,o),u.any$1(0,new A.ExtensionStore__trim_closure0(a,l))||r.addFirst$1(l))}return r},_sourceSpecificityFor$1(e){var t,r,n,i,o,s;for(r=(t=e.components).length,n=this._sourceSpecificity,i=0,o=0;o<r;++o)null==(s=n.$index(0,t[o]))&&(s=0),i=Math.max(i,s);return i},clone$0(){var e,t,r=this,n=D.SimpleSelector,i=A.LinkedHashMap_LinkedHashMap$_empty(n,D.Set_ModifiableBox_SelectorList),o=D.ModifiableBox_SelectorList,s=A.LinkedHashMap_LinkedHashMap$_empty(o,D.List_CssMediaQuery),a=new A.JsIdentityLinkedHashMap(D.JsIdentityLinkedHashMap_of_SelectorList_and_Box_SelectorList);return r._selectors.forEach$1(0,new A.ExtensionStore_clone_closure(r,i,A.LinkedHashMap_LinkedHashMap$_empty(o,o),a,s)),o=D.Extension,e=A.copyMapOfMap(r._extensions,n,D.ComplexSelector,o),o=A.copyMapOfList(r._extensionsByExtender,n,o),(n=new A.JsIdentityLinkedHashMap(D.JsIdentityLinkedHashMap_SimpleSelector_int)).addAll$1(0,r._sourceSpecificity),(t=new A._LinkedIdentityHashSet(D._LinkedIdentityHashSet_ComplexSelector)).addAll$1(0,r._originals),new A._Record_2(new A.ExtensionStore(i,e,o,s,n,t,C.ExtendMode_normal_0_normal),a)},get$_extensions(){return this._extensions},get$_sourceSpecificity(){return this._sourceSpecificity}},A.ExtensionStore_extensionsWhereTarget_closure.prototype={call$1:e=>!e.isOptional,$signature:334},A.ExtensionStore__registerSelector_closure.prototype={call$0:()=>A.LinkedHashSet_LinkedHashSet$_empty(D.ModifiableBox_SelectorList),$signature:338},A.ExtensionStore_addExtension_closure.prototype={call$0:()=>A.LinkedHashMap_LinkedHashMap$_empty(D.ComplexSelector,D.Extension),$signature:130},A.ExtensionStore_addExtension_closure0.prototype={call$0:()=>A._setArrayType([],D.JSArray_Extension),$signature:213},A.ExtensionStore_addExtension_closure1.prototype={call$0(){return this.complex.get$specificity()},$signature:10},A.ExtensionStore__extendExistingExtensions_closure.prototype={call$0:()=>A._setArrayType([],D.JSArray_Extension),$signature:213},A.ExtensionStore__extendExistingExtensions_closure0.prototype={call$0:()=>A.LinkedHashMap_LinkedHashMap$_empty(D.ComplexSelector,D.Extension),$signature:130},A.ExtensionStore_addExtensions_closure.prototype={call$0:()=>A.LinkedHashMap_LinkedHashMap$_empty(D.ComplexSelector,D.Extension),$signature:130},A.ExtensionStore__extendComplex_closure.prototype={call$1(e){var t=this.complex;return w.map$1$1$ax(A.weave(e,t.span,t.lineBreak),new A.ExtensionStore__extendComplex__closure(this._box_0,this.$this,t),D.ComplexSelector)},$signature:343},A.ExtensionStore__extendComplex__closure.prototype={call$1(e){var t=this,r=t._box_0;return r.first&&t.$this._originals.contains$1(0,t.complex)&&t.$this._originals.add$1(0,e),r.first=!1,e},$signature:61},A.ExtensionStore__extendCompound_closure.prototype={call$1:e=>C.JSArray_methods.get$last(e.selector.components).selector.components,$signature:345},A.ExtensionStore__extendCompound_closure0.prototype={call$1:e=>!1,$signature:21},A.ExtensionStore__extendCompound_closure1.prototype={call$1(e){return e.$eq(0,this.original)},$signature:21},A.ExtensionStore__extendSimple_withoutPseudo.prototype={call$1(e){var t,r,n=this.extensions.$index(0,e);if(null==n)return null;for(null!=(t=this.targetsUsed)&&t.add$1(0,e),t=A._setArrayType([],D.JSArray_Extender),(r=this.$this)._mode!==C.ExtendMode_replace_1_replace&&t.push(r._extenderForSimple$1(e)),r=(r=n.get$values(n)).get$iterator(r);r.moveNext$0();)t.push(r.get$current(r).extender);return t},$signature:351},A.ExtensionStore__extendSimple_closure.prototype={call$1(e){var t=this.withoutPseudo.call$1(e);return null==t?A._setArrayType([this.$this._extenderForSimple$1(e)],D.JSArray_Extender):t},$signature:352},A.ExtensionStore__extendSimple_closure0.prototype={call$1:e=>A._setArrayType([e],D.JSArray_List_Extender),$signature:353},A.ExtensionStore__extendPseudo_closure.prototype={call$1:e=>e.components.length>1,$signature:21},A.ExtensionStore__extendPseudo_closure0.prototype={call$1:e=>1===e.components.length,$signature:21},A.ExtensionStore__extendPseudo_closure1.prototype={call$1:e=>e.components.length<=1,$signature:21},A.ExtensionStore__extendPseudo_closure2.prototype={call$1(e){var t,r,n=e.get$singleCompound();if(!((t=null==n?null:1===(n=n.components).length?C.JSArray_methods.get$first(n):null)instanceof A.PseudoSelector))return A._setArrayType([e],D.JSArray_ComplexSelector);if(null==(r=t.selector))return A._setArrayType([e],D.JSArray_ComplexSelector);switch((n=this.pseudo).normalizedName){case"not":return C.Set_0egh6.contains$1(0,t.normalizedName)?r.components:A._setArrayType([],D.JSArray_ComplexSelector);case"is":case"matches":case"where":case"any":case"current":case"nth-child":case"nth-last-child":return t.name!==n.name||t.argument!=n.argument?A._setArrayType([],D.JSArray_ComplexSelector):r.components;case"has":case"host":case"host-context":case"slotted":return A._setArrayType([e],D.JSArray_ComplexSelector);default:return A._setArrayType([],D.JSArray_ComplexSelector)}},$signature:354},A.ExtensionStore__extendPseudo_closure3.prototype={call$1(e){return this.pseudo.withSelector$1(A.SelectorList$(A._setArrayType([e],D.JSArray_ComplexSelector),this.selector.span))},$signature:355},A.ExtensionStore__trim_closure.prototype={call$1(e){return e.get$specificity()>=this._box_0.maxSpecificity&&e.isSuperselector$1(this.complex1)},$signature:21},A.ExtensionStore__trim_closure0.prototype={call$1(e){return e.get$specificity()>=this._box_0.maxSpecificity&&e.isSuperselector$1(this.complex1)},$signature:21},A.ExtensionStore_clone_closure.prototype={call$2(e,t){var r,n,i,o,s,a,l,c,u=this,d=A.LinkedHashSet_LinkedHashSet$_empty(D.ModifiableBox_SelectorList);for(u.newSelectors.$indexSet(0,e,d),r=t.get$iterator(t),n=u.newBoxes,i=u.oldToNewSelectors,o=u.$this._mediaContexts,s=u.newMediaContexts;r.moveNext$0();)a=r.get$current(r),l=n.putIfAbsent$2(a,new A.ExtensionStore_clone__closure(a)),d.add$1(0,l),i.$indexSet(0,a.value,new A.Box(l,l.$ti._eval$1("Box<1>"))),null!=(c=o.$index(0,a))&&s.$indexSet(0,l,c)},$signature:359},A.ExtensionStore_clone__closure.prototype={call$0(){return new A.ModifiableBox(this.selector.value,D.ModifiableBox_SelectorList)},$signature:360},A.unifyComplex_closure.prototype={call$1:e=>e.lineBreak,$signature:21},A._weaveParents_closure.prototype={call$2(e,t){var r,n;return C.C_ListEquality.equals$2(0,e,t)?e:A._complexIsParentSuperselector(e,t)?t:A._complexIsParentSuperselector(t,e)?e:A._mustUnify(e,t)?(r=this.span,r=null==(n=A.unifyComplex(A._setArrayType([A.ComplexSelector$(C.List_empty0,e,r,!1),A.ComplexSelector$(C.List_empty0,t,r,!1)],D.JSArray_ComplexSelector),r))||null==(r=A.IterableExtension_get_singleOrNull(n))?null:r.components):null},$signature:362},A._weaveParents_closure0.prototype={call$1(e){return A._complexIsParentSuperselector(e.get$first(e),this.group)},$signature:219},A._weaveParents_closure1.prototype={call$1:e=>0===e.get$length(0),$signature:219},A._weaveParents_closure2.prototype={call$1:e=>w.get$isNotEmpty$asx(e),$signature:364},A._mustUnify_closure.prototype={call$1(e){return C.JSArray_methods.any$1(e.selector.components,new A._mustUnify__closure(this.uniqueSelectors))},$signature:54},A._mustUnify__closure.prototype={call$1(e){return(e instanceof A.IDSelector||e instanceof A.PseudoSelector&&!e.isClass)&&this.uniqueSelectors.contains$1(0,e)},$signature:14},A.paths_closure.prototype={call$2(e,t){var r=this.T;return r=w.expand$1$1$ax(t,new A.paths__closure(e,r),r._eval$1("List<0>")),r=A.List_List$_of(r,r.$ti._eval$1("Iterable.E"))},$signature(){return this.T._eval$1("List<List<0>>(List<List<0>>,List<0>)")}},A.paths__closure.prototype={call$1(e){var t=this.T;return w.map$1$1$ax(this.paths,new A.paths___closure(e,t),t._eval$1("List<0>"))},$signature(){return this.T._eval$1("Iterable<List<0>>(0)")}},A.paths___closure.prototype={call$1(e){var t=A.List_List$_of(e,this.T);return t.push(this.option),t},$signature(){return this.T._eval$1("List<0>(List<0>)")}},A.listIsSuperselector_closure.prototype={call$1(e){return C.JSArray_methods.any$1(this.list1,new A.listIsSuperselector__closure(e))},$signature:21},A.listIsSuperselector__closure.prototype={call$1(e){return e.isSuperselector$1(this.complex1)},$signature:21},A.complexIsSuperselector_closure.prototype={call$1:e=>e.combinators.length>1,$signature:54},A.complexIsSuperselector_closure0.prototype={call$1(e){return A._isSupercombinator(this.combinator1,A.IterableExtension_get_firstOrNull(e.combinators))},$signature:54},A._compatibleWithPreviousCombinator_closure.prototype={call$1(e){var t=e.combinators,r=A.IterableExtension_get_firstOrNull(t);return t=(null==r?null:r.value)===C.Combinator_98W||(null==(t=A.IterableExtension_get_firstOrNull(t))?null:t.value)===C.Combinator_sHB},$signature:54},A.compoundIsSuperselector_closure.prototype={call$1(e){return C.JSArray_methods.any$1(this.compound2.components,e.get$isSuperselector())},$signature:14},A._selectorPseudoIsSuperselector_closure.prototype={call$1(e){return A.listIsSuperselector(this.selector1.components,e.components)},$signature:77},A._selectorPseudoIsSuperselector_closure0.prototype={call$1(e){var t,r;return 0===e.leadingCombinators.length?(t=A._setArrayType([],D.JSArray_ComplexSelectorComponent),null!=(r=this.parents)&&C.JSArray_methods.addAll$1(t,r),r=this.compound2,t.push(new A.ComplexSelectorComponent(r,A.List_List$unmodifiable(C.List_empty0,D.CssValue_Combinator),r.span)),t=A.complexIsSuperselector(e.components,t)):t=!1,t},$signature:21},A._selectorPseudoIsSuperselector_closure1.prototype={call$1(e){return A.listIsSuperselector(this.selector1.components,e.components)},$signature:77},A._selectorPseudoIsSuperselector_closure2.prototype={call$1(e){return A.listIsSuperselector(this.selector1.components,e.components)},$signature:77},A._selectorPseudoIsSuperselector_closure3.prototype={call$1(e){return!e.accept$1(C._IsBogusVisitor_true)&&C.JSArray_methods.any$1(this.compound2.components,new A._selectorPseudoIsSuperselector__closure(e,this.pseudo1))},$signature:21},A._selectorPseudoIsSuperselector__closure.prototype={call$1(e){var t,r,n,i=this;return e instanceof A.TypeSelector?t=C.JSArray_methods.any$1(C.JSArray_methods.get$last(i.complex.components).selector.components,new A._selectorPseudoIsSuperselector___closure(e)):e instanceof A.IDSelector?t=C.JSArray_methods.any$1(C.JSArray_methods.get$last(i.complex.components).selector.components,new A._selectorPseudoIsSuperselector___closure0(e)):(r=null,t=!1,e instanceof A.PseudoSelector&&null!=(n=e.selector)&&(r=null==n?D.SelectorList._as(n):n,t=e.name===i.pseudo1.name),t=!!t&&A.listIsSuperselector(r.components,A._setArrayType([i.complex],D.JSArray_ComplexSelector))),t},$signature:14},A._selectorPseudoIsSuperselector___closure.prototype={call$1(e){return e instanceof A.TypeSelector&&!this.simple2.name.$eq(0,e.name)},$signature:14},A._selectorPseudoIsSuperselector___closure0.prototype={call$1(e){return e instanceof A.IDSelector&&this.simple2.name!==e.name},$signature:14},A._selectorPseudoIsSuperselector_closure4.prototype={call$1(e){return C.C_ListEquality.equals$2(0,this.selector1.components,e.components)},$signature:77},A._selectorPseudoIsSuperselector_closure5.prototype={call$1(e){var t,r;return e instanceof A.PseudoSelector&&(t=this.pseudo1,e.name===t.name&&(e.argument==t.argument&&(null!=(r=e.selector)&&A.listIsSuperselector(this.selector1.components,r.components))))},$signature:14},A._selectorPseudoArgs_closure.prototype={call$1(e){return e.isClass===this.isClass&&e.name===this.name},$signature:375},A._selectorPseudoArgs_closure0.prototype={call$1:e=>e.selector,$signature:376},A.MergedExtension.prototype={unmerge$0(){return new A._SyncStarIterable(this.unmerge$body$MergedExtension(),D._SyncStarIterable_Extension)},unmerge$body$MergedExtension(){var e=this;return function(){var t,r,n=0,i=[];return function(o,s,a){for(1===s&&(i.push(a),n=1);;)switch(n){case 0:r=e.left,n=r instanceof A.MergedExtension?2:4;break;case 2:return n=5,o._yieldStar$1(r.unmerge$0());case 5:n=3;break;case 4:return n=6,o._async$_current=r,1;case 6:case 3:t=e.right,n=t instanceof A.MergedExtension?7:9;break;case 7:return n=10,o._yieldStar$1(t.unmerge$0());case 10:n=8;break;case 9:return n=11,o._async$_current=t,1;case 11:case 8:return 0;case 1:return o._datum=i.at(-1),3}}}}},A.ExtendMode.prototype={_enumToString$0(){return"ExtendMode."+this._name},toString$0(e){return this.name}},A.globalFunctions_closure.prototype={call$1(e){var t=w.getInterceptor$asx(e);return t.$index(e,0).get$isTruthy()?t.$index(e,1):t.$index(e,2)},$signature:5},A.global_closure0.prototype={call$1:e=>C.JSNumber_methods.round$0(e._legacyChannel$2(C.RgbColorSpace_i0P,"red")),$signature:66},A.global_closure1.prototype={call$1:e=>C.JSNumber_methods.round$0(e._legacyChannel$2(C.RgbColorSpace_i0P,"green")),$signature:66},A.global_closure2.prototype={call$1:e=>C.JSNumber_methods.round$0(e._legacyChannel$2(C.RgbColorSpace_i0P,"blue")),$signature:66},A.global_closure3.prototype={call$1:e=>A._rgb("rgb",e),$signature:5},A.global_closure4.prototype={call$1:e=>A._rgb("rgb",e),$signature:5},A.global_closure5.prototype={call$1:e=>A._rgbTwoArg("rgb",e),$signature:5},A.global_closure6.prototype={call$1:e=>A._parseChannels("rgb",w.$index$asx(e,0),"channels",C.RgbColorSpace_i0P),$signature:5},A.global_closure7.prototype={call$1:e=>A._rgb("rgba",e),$signature:5},A.global_closure8.prototype={call$1:e=>A._rgb("rgba",e),$signature:5},A.global_closure9.prototype={call$1:e=>A._rgbTwoArg("rgba",e),$signature:5},A.global_closure10.prototype={call$1:e=>A._parseChannels("rgba",w.$index$asx(e,0),"channels",C.RgbColorSpace_i0P),$signature:5},A.global_closure11.prototype={call$1(e){var t=w.getInterceptor$asx(e);return t.$index(e,0)instanceof A.SassNumber||t.$index(e,0).get$isSpecialNumber()||A.warnForDeprecation(P.Globalci,C.Deprecation_WW3),A._invert(e,!0)},$signature:5};A.global_closure12.prototype={call$1:e=>e._legacyChannel$2(C.HslColorSpace_JQ2,"hue"),$signature:45},A.global_closure13.prototype={call$1:e=>e._legacyChannel$2(C.HslColorSpace_JQ2,"saturation"),$signature:45},A.global_closure14.prototype={call$1:e=>e._legacyChannel$2(C.HslColorSpace_JQ2,"lightness"),$signature:45},A.global_closure15.prototype={call$1:e=>A._hsl("hsl",e),$signature:5},A.global_closure16.prototype={call$1:e=>A._hsl("hsl",e),$signature:5},A.global_closure17.prototype={call$1(e){var t=w.getInterceptor$asx(e);if(t.$index(e,0).get$isSpecialVariable()||t.$index(e,1).get$isSpecialVariable())return A._functionString("hsl",e);throw A.wrapException(A.SassScriptException$("Missing argument $lightness.",null))},$signature:19},A.global_closure18.prototype={call$1:e=>A._parseChannels("hsl",w.$index$asx(e,0),"channels",C.HslColorSpace_JQ2),$signature:5},A.global_closure19.prototype={call$1:e=>A._hsl("hsla",e),$signature:5},A.global_closure20.prototype={call$1:e=>A._hsl("hsla",e),$signature:5},A.global_closure21.prototype={call$1(e){var t=w.getInterceptor$asx(e);if(t.$index(e,0).get$isSpecialVariable()||t.$index(e,1).get$isSpecialVariable())return A._functionString("hsla",e);throw A.wrapException(A.SassScriptException$("Missing argument $lightness.",null))},$signature:19},A.global_closure22.prototype={call$1:e=>A._parseChannels("hsla",w.$index$asx(e,0),"channels",C.HslColorSpace_JQ2),$signature:5},A.global_closure23.prototype={call$1(e){var t=w.getInterceptor$asx(e);return t.$index(e,0)instanceof A.SassNumber||t.$index(e,0).get$isSpecialNumber()?A._functionString("grayscale",e):(A.warnForDeprecation(P.Globalcg,C.Deprecation_WW3),A._grayscale(t.$index(e,0)))},$signature:5},A.global_closure24.prototype={call$1(e){var t=w.getInterceptor$asx(e),r=t.$index(e,0).assertColor$1("color"),n=A._angleValue(t.$index(e,1),"degrees");if(!r._space.get$isLegacyInternal())throw A.wrapException(A.SassScriptException$(P.adjusto,null));return A.warnForDeprecation(P.adjustd+A.serializeValue(A.SassNumber_SassNumber(n,"deg"),!1,!0)+P.x29x0a_Mor_,C.Deprecation_zUK),r.changeHsl$1$hue(r._legacyChannel$2(C.HslColorSpace_JQ2,"hue")+n)},$signature:23},A.global_closure25.prototype={call$1(e){var t,r="lightness",n=w.getInterceptor$asx(e),i=n.$index(e,0).assertColor$1("color"),o=n.$index(e,1).assertNumber$1("amount");if(!i._space.get$isLegacyInternal())throw A.wrapException(A.SassScriptException$(P.lighte,null));return n=i._legacyChannel$2(C.HslColorSpace_JQ2,r)+o.valueInRange$3(0,100,"amount"),t=i.changeHsl$1$lightness(isNaN(n)?0:C.JSNumber_methods.clamp$2(n,0,100)),A.warnForDeprecation("lighten() is deprecated. "+A._suggestScaleAndAdjust(i,o._number$_value,r)+P.x0a_Morex3ac,C.Deprecation_zUK),t},$signature:23},A.global_closure26.prototype={call$1(e){var t,r="lightness",n=w.getInterceptor$asx(e),i=n.$index(e,0).assertColor$1("color"),o=n.$index(e,1).assertNumber$1("amount");if(!i._space.get$isLegacyInternal())throw A.wrapException(A.SassScriptException$(P.darken,null));return n=i._legacyChannel$2(C.HslColorSpace_JQ2,r)-o.valueInRange$3(0,100,"amount"),t=i.changeHsl$1$lightness(isNaN(n)?0:C.JSNumber_methods.clamp$2(n,0,100)),A.warnForDeprecation("darken() is deprecated. "+A._suggestScaleAndAdjust(i,-o._number$_value,r)+P.x0a_Morex3ac,C.Deprecation_zUK),t},$signature:23},A.global_closure27.prototype={call$1(e){var t=w.getInterceptor$asx(e);return t.$index(e,0)instanceof A.SassNumber||t.$index(e,0).get$isSpecialNumber()?A._functionString("saturate",e):new A.SassString("saturate("+A.serializeValue(t.$index(e,0).assertNumber$1("amount"),!1,!0)+")",!1)},$signature:19},A.global_closure28.prototype={call$1(e){var t,r,n,i,o="saturation";if(A.warnForDeprecation(P.Globalcad,C.Deprecation_WW3),r=(t=w.getInterceptor$asx(e)).$index(e,0).assertColor$1("color"),n=t.$index(e,1).assertNumber$1("amount"),!r._space.get$isLegacyInternal())throw A.wrapException(A.SassScriptException$(P.satura,null));return t=r._legacyChannel$2(C.HslColorSpace_JQ2,o)+n.valueInRange$3(0,100,"amount"),i=r.changeHsl$1$saturation(isNaN(t)?0:C.JSNumber_methods.clamp$2(t,0,100)),A.warnForDeprecation("saturate() is deprecated. "+A._suggestScaleAndAdjust(r,n._number$_value,o)+P.x0a_Morex3ac,C.Deprecation_zUK),i},$signature:23},A.global_closure29.prototype={call$1(e){var t,r="saturation",n=w.getInterceptor$asx(e),i=n.$index(e,0).assertColor$1("color"),o=n.$index(e,1).assertNumber$1("amount");if(!i._space.get$isLegacyInternal())throw A.wrapException(A.SassScriptException$(P.desatu,null));return n=i._legacyChannel$2(C.HslColorSpace_JQ2,r)-o.valueInRange$3(0,100,"amount"),t=i.changeHsl$1$saturation(isNaN(n)?0:C.JSNumber_methods.clamp$2(n,0,100)),A.warnForDeprecation("desaturate() is deprecated. "+A._suggestScaleAndAdjust(i,-o._number$_value,r)+P.x0a_Morex3ac,C.Deprecation_zUK),t},$signature:23},A.global_closure30.prototype={call$1:e=>A._opacify("opacify",e),$signature:23},A.global_closure31.prototype={call$1:e=>A._opacify("fade-in",e),$signature:23},A.global_closure32.prototype={call$1:e=>A._transparentize("transparentize",e),$signature:23},A.global_closure33.prototype={call$1:e=>A._transparentize("fade-out",e),$signature:23},A.global_closure34.prototype={call$1(e){var t=w.$index$asx(e,0),r=!1;if(t instanceof A.SassString&&(t._hasQuotes||(r=C.JSString_methods.contains$1(t._string$_text,I.$get$_microsoftFilterStart()))),r)return A._functionString("alpha",e);if(t instanceof A.SassColor&&!t._space.get$isLegacyInternal())throw A.wrapException(A.SassScriptException$(P.alpha_,null));return A.warnForDeprecation(P.Globalcal,C.Deprecation_WW3),r=t.assertColor$1("color").alphaOrNull,A.SassNumber_SassNumber(null==r?0:r,null)},$signature:5},A.global_closure35.prototype={call$1(e){var t,r=w.$index$asx(e,0).get$asList();if(0!==r.length&&C.JSArray_methods.every$1(r,new A.global__closure))return A._functionString("alpha",e);throw 0===(t=r.length)?A.wrapException(A.SassScriptException$("Missing argument $color.",null)):A.wrapException(A.SassScriptException$("Only 1 argument allowed, but "+t+" were passed.",null))},$signature:19},A.global__closure.prototype={call$1:e=>e instanceof A.SassString&&!e._hasQuotes&&C.JSString_methods.contains$1(e._string$_text,I.$get$_microsoftFilterStart()),$signature:79},A.global_closure36.prototype={call$1(e){var t=w.getInterceptor$asx(e);return t.$index(e,0)instanceof A.SassNumber||t.$index(e,0).get$isSpecialNumber()?A._functionString("opacity",e):(A.warnForDeprecation(P.Globalco,C.Deprecation_WW3),t=t.$index(e,0).assertColor$1("color").alphaOrNull,A.SassNumber_SassNumber(null==t?0:t,null))},$signature:5},A.global_closure37.prototype={call$1:e=>A._parseChannels("color",w.$index$asx(e,0),"description",null),$signature:5},A.global_closure38.prototype={call$1:e=>A._parseChannels("hwb",w.$index$asx(e,0),"channels",C.HwbColorSpace_guQ),$signature:5},A.global_closure39.prototype={call$1:e=>A._parseChannels("lab",w.$index$asx(e,0),"channels",C.LabColorSpace_2nT),$signature:5},A.global_closure40.prototype={call$1:e=>A._parseChannels("lch",w.$index$asx(e,0),"channels",C.LchColorSpace_Bpv),$signature:5},A.global_closure41.prototype={call$1:e=>A._parseChannels("oklab",w.$index$asx(e,0),"channels",C.OklabColorSpace_540),$signature:5},A.global_closure42.prototype={call$1:e=>A._parseChannels("oklch",w.$index$asx(e,0),"channels",C.OklchColorSpace_9Gj),$signature:5},A.module_closure1.prototype={call$1:e=>C.JSNumber_methods.round$0(e._legacyChannel$2(C.RgbColorSpace_i0P,"red")),$signature:66},A.module_closure2.prototype={call$1:e=>C.JSNumber_methods.round$0(e._legacyChannel$2(C.RgbColorSpace_i0P,"green")),$signature:66},A.module_closure3.prototype={call$1:e=>C.JSNumber_methods.round$0(e._legacyChannel$2(C.RgbColorSpace_i0P,"blue")),$signature:66},A.module_closure4.prototype={call$1(e){var t=A._invert(e,!1);return t instanceof A.SassString&&A.warnForDeprecation("Passing a number ("+w.$index$asx(e,0).toString$0(0)+P.x29x20to_cli+t.toString$0(0),C.Deprecation_7Bn),t},$signature:5},A.module_closure5.prototype={call$1:e=>e._legacyChannel$2(C.HslColorSpace_JQ2,"hue"),$signature:45},A.module_closure6.prototype={call$1:e=>e._legacyChannel$2(C.HslColorSpace_JQ2,"saturation"),$signature:45},A.module_closure7.prototype={call$1:e=>e._legacyChannel$2(C.HslColorSpace_JQ2,"lightness"),$signature:45},A.module_closure8.prototype={call$1(e){var t,r=w.getInterceptor$asx(e);return r.$index(e,0)instanceof A.SassNumber?(t=A._functionString("grayscale",r.take$1(e,1)),A.warnForDeprecation("Passing a number ("+r.$index(e,0).toString$0(0)+P.x29x20to_clg+t.toString$0(0),C.Deprecation_7Bn),t):A._grayscale(r.$index(e,0))},$signature:5},A.module_closure9.prototype={call$1(e){var t=w.getInterceptor$asx(e),r=D.JSArray_Value;return A._parseChannels("hwb",A.SassList$(A._setArrayType([A.SassList$(A._setArrayType([t.$index(e,0),t.$index(e,1),t.$index(e,2)],r),C.ListSeparator_SrV,!1),t.$index(e,3)],r),C.ListSeparator_Lul,!1),null,C.HwbColorSpace_guQ)},$signature:5},A.module_closure10.prototype={call$1:e=>A._parseChannels("hwb",w.$index$asx(e,0),"channels",C.HwbColorSpace_guQ),$signature:5},A.module_closure11.prototype={call$1:e=>e._legacyChannel$2(C.HwbColorSpace_guQ,"whiteness"),$signature:45},A.module_closure12.prototype={call$1:e=>e._legacyChannel$2(C.HwbColorSpace_guQ,"blackness"),$signature:45},A.module_closure13.prototype={call$1(e){var t,r=w.$index$asx(e,0),n=!1;if(r instanceof A.SassString&&(r._hasQuotes||(n=C.JSString_methods.contains$1(r._string$_text,I.$get$_microsoftFilterStart()))),n)return t=A._functionString("alpha",e),A.warnForDeprecation(P.Using_c+t.toString$0(0),C.Deprecation_7Bn),t;if(r instanceof A.SassColor&&!r._space.get$isLegacyInternal())throw A.wrapException(A.SassScriptException$(P.color_a,null));return n=r.assertColor$1("color").alphaOrNull,A.SassNumber_SassNumber(null==n?0:n,null)},$signature:5},A.module_closure14.prototype={call$1(e){var t,r=w.getInterceptor$asx(e);if(C.JSArray_methods.every$1(r.$index(e,0).get$asList(),new A.module__closure2))return t=A._functionString("alpha",e),A.warnForDeprecation(P.Using_c+t.toString$0(0),C.Deprecation_7Bn),t;throw A.wrapException(A.SassScriptException$("Only 1 argument allowed, but "+r.get$length(e)+" were passed.",null))},$signature:19},A.module__closure2.prototype={call$1:e=>e instanceof A.SassString&&!e._hasQuotes&&C.JSString_methods.contains$1(e._string$_text,I.$get$_microsoftFilterStart()),$signature:79},A.module_closure15.prototype={call$1(e){var t,r=w.getInterceptor$asx(e);return r.$index(e,0)instanceof A.SassNumber?(t=A._functionString("opacity",e),A.warnForDeprecation("Passing a number ("+r.$index(e,0).toString$0(0)+P.x20to_co+t.toString$0(0),C.Deprecation_7Bn),t):(r=r.$index(e,0).assertColor$1("color").alphaOrNull,A.SassNumber_SassNumber(null==r?0:r,null))},$signature:5},A.module_closure16.prototype={call$1:e=>new A.SassString(w.get$first$ax(e).assertColor$1("color")._space.name,!1),$signature:19},A.module_closure17.prototype={call$1(e){var t=w.getInterceptor$asx(e);return A._colorInSpace(t.$index(e,0),t.$index(e,1),!1)},$signature:23},A.module_closure18.prototype={call$1:e=>w.$index$asx(e,0).assertColor$1("color")._space.get$isLegacyInternal()?C.SassBoolean_true:C.SassBoolean_false,$signature:11},A.module_closure19.prototype={call$1(e){var t=w.getInterceptor$asx(e);return t.$index(e,0).assertColor$1("color").isChannelMissing$3$channelName$colorName(A._channelName(t.$index(e,1)),"channel","color")?C.SassBoolean_true:C.SassBoolean_false},$signature:11},A.module_closure20.prototype={call$1(e){var t=w.getInterceptor$asx(e);return A._colorInSpace(t.$index(e,0),t.$index(e,1),!0).get$isInGamut()?C.SassBoolean_true:C.SassBoolean_false},$signature:11},A.module_closure21.prototype={call$1(e){var t,r,n="space",i="method",o=w.getInterceptor$asx(e),s=o.$index(e,0).assertColor$1("color"),a=o.$index(e,1);if(a.$eq(0,C.C__SassNull)?t=s._space:((a=a.assertString$1(n)).assertUnquoted$1(n),t=A.ColorSpace_fromName(a._string$_text,n)),o.$index(e,2).$eq(0,C.C__SassNull))throw A.wrapException(A.SassScriptException$(P.color_t,i));return(o=o.$index(e,2).assertString$1(i)).assertUnquoted$1(i),r=A.GamutMapMethod_GamutMapMethod$fromName(o._string$_text),t.get$isBoundedInternal()?(o=(o=s.toSpace$1(t)).get$isInGamut()?o:r.map$1(0,o)).toSpace$2$legacyMissing(s._space,!1):s},$signature:23},A.module_closure22.prototype={call$1(e){var t,r,n,i,o=w.getInterceptor$asx(e),s=A._colorInSpace(o.$index(e,0),o.$index(e,2),!0),a=A._channelName(o.$index(e,1));if("alpha"===a)return o=s.alphaOrNull,A.SassNumber_SassNumber(null==o?0:o,null);if(o=s._space._channels,-1===(t=C.JSArray_methods.indexWhere$1(o,new A.module__closure1(a))))throw A.wrapException(A.SassScriptException$("Color "+s.toString$0(0)+" has no channel named "+a+".","channel"));return r=o[t],n=s.get$channels()[t],i=r.associatedUnit,A.SassNumber_SassNumber("%"===i?100*n/D.LinearChannel._as(r).max:n,i)},$signature:24},A.module__closure1.prototype={call$1(e){return e.name===this.channelName},$signature:93},A.module_closure23.prototype={call$1(e){var t,r,n=w.getInterceptor$asx(e),i=n.$index(e,0).assertColor$1("color1"),o=n.$index(e,1).assertColor$1("color2");return n=new A.module_closure_toXyzNoMissing,i._space===o._space?(t=!1,null==(n=i.channel0OrNull)&&(n=0),r=o.channel0OrNull,A.fuzzyEquals(n,null==r?0:r)?(null==(n=i.channel1OrNull)&&(n=0),r=o.channel1OrNull,A.fuzzyEquals(n,null==r?0:r)?(null==(n=i.channel2OrNull)&&(n=0),r=o.channel2OrNull,A.fuzzyEquals(n,null==r?0:r)?(null==(n=i.alphaOrNull)&&(n=0),t=o.alphaOrNull,n=A.fuzzyEquals(n,null==t?0:t)):n=t):n=t):n=t):n=w.$eq$(n.call$1(i),n.call$1(o)),n?C.SassBoolean_true:C.SassBoolean_false},$signature:11},A.module_closure_toXyzNoMissing.prototype={call$1(e){var t,r,n,i,o,s,a,l,c,u,d;return t=e._space,(n=!!(n=r=C.XyzD65ColorSpace_WiJ===t)&&!(null==e.channel0OrNull||null==e.channel1OrNull||null==e.channel2OrNull||null==e.alphaOrNull))?n=e:r?(null==(i=e.channel0OrNull)&&(i=0),o=i,null==(s=e.channel1OrNull)&&(s=0),a=s,null==(l=e.channel2OrNull)&&(l=0),c=l,null==(u=e.alphaOrNull)&&(u=0),d=u,n=A.SassColor$_forSpace(C.XyzD65ColorSpace_WiJ,o,a,c,d,null)):(null==(i=e.channel0OrNull)&&(i=0),o=i,null==(s=e.channel1OrNull)&&(s=0),a=s,null==(l=e.channel2OrNull)&&(l=0),c=l,null==(u=e.alphaOrNull)&&(u=0),d=u,n=t.convert$5(C.XyzD65ColorSpace_WiJ,o,a,c,d)),n},$signature:421},A.module_closure24.prototype={call$1(e){var t=w.getInterceptor$asx(e);return A._colorInSpace(t.$index(e,0),t.$index(e,2),!0).isChannelPowerless$3$channelName$colorName(A._channelName(t.$index(e,1)),"channel","color")?C.SassBoolean_true:C.SassBoolean_false},$signature:11},A._mix_closure.prototype={call$1(e){var t="weight",r=P.To_usem,n=", you must provide a $method.",i=w.getInterceptor$asx(e),o=i.$index(e,0).assertColor$1("color1"),s=i.$index(e,1).assertColor$1("color2"),a=i.$index(e,2).assertNumber$1(t);if(!i.$index(e,3).$eq(0,C.C__SassNull))return o.interpolate$4$legacyMissing$weight(s,A.InterpolationMethod_InterpolationMethod$fromValue(i.$index(e,3),"method"),!1,a.valueInRangeWithUnit$4(0,100,t,"%")/100);if(A._checkPercent(a,t),!o._space.get$isLegacyInternal())throw A.wrapException(A.SassScriptException$(r+o.toString$0(0)+n,"color1"));if(!s._space.get$isLegacyInternal())throw A.wrapException(A.SassScriptException$(r+s.toString$0(0)+n,"color2"));return A._mixLegacy(o,s,a)},$signature:23},A._complement_closure.prototype={call$1(e){var t,r,n,i,o,s,a="space",l=w.getInterceptor$asx(e),c=l.$index(e,0).assertColor$1("color"),u=c._space;if(u.get$isLegacyInternal()&&l.$index(e,1).$eq(0,C.C__SassNull)?t=C.HslColorSpace_JQ2:((r=l.$index(e,1).assertString$1(a)).assertUnquoted$1(a),t=A.ColorSpace_fromName(r._string$_text,a)),!t.get$isPolarInternal())throw A.wrapException(A.SassScriptException$("Color space "+t.toString$0(0)+" doesn't have a hue channel.",a));return n=c.toSpace$2$legacyMissing(t,!l.$index(e,1).$eq(0,C.C__SassNull)),l=t._channels,r=n.channel0OrNull,i=n.channel1OrNull,o=n.channel2OrNull,s=n.alphaOrNull,(t.get$isLegacyInternal()?A.SassColor_SassColor$forSpaceInternal(t,A._adjustChannel(n,l[0],r,A.SassNumber_SassNumber(180,null)),i,o,s):A.SassColor_SassColor$forSpaceInternal(t,r,i,A._adjustChannel(n,l[2],o,A.SassNumber_SassNumber(180,null)),s)).toSpace$2$legacyMissing(u,!1)},$signature:23},A._adjust_closure.prototype={call$1:e=>A._updateComponents(e,!0,!1,!1),$signature:23},A._scale_closure.prototype={call$1:e=>A._updateComponents(e,!1,!1,!0),$signature:23},A._change_closure.prototype={call$1:e=>A._updateComponents(e,!1,!0,!1),$signature:23},A._ieHexStr_closure.prototype={call$1(e){var t,r,n,i,o,s=w.$index$asx(e,0).assertColor$1("color").toSpace$1(C.RgbColorSpace_i0P);return s=s.get$isInGamut()?s:C.LocalMindeGamutMap_A2x.map$1(0,s),t=new A._ieHexStr_closure_hexString,r=s.alphaOrNull,r=A.S(t.call$1(255*(null==r?0:r))),n=s.channel0OrNull,n=A.S(t.call$1(null==n?0:n)),i=s.channel1OrNull,i=A.S(t.call$1(null==i?0:i)),o=s.channel2OrNull,new A.SassString("#"+r+n+i+A.S(t.call$1(null==o?0:o)),!1)},$signature:19},A._ieHexStr_closure_hexString.prototype={call$1:e=>C.JSString_methods.padLeft$2(C.JSInt_methods.toRadixString$1(A.fuzzyRound(e),16),2,"0").toUpperCase(),$signature:275},A._updateComponents_closure.prototype={call$1(e){return this.originalColor.toSpace$2$legacyMissing(e,!1)},$signature:428},A._updateComponents_closure0.prototype={call$1(e){return this._box_0.name===e.name},$signature:93},A._changeColor_closure.prototype={call$0(){var e=this.alphaArg;return A.warnForDeprecation("$alpha: Passing a unit other than % ("+e.toString$0(0)+P.x29x20is_d_+e.unitSuggestion$1("alpha")+P.x0a_See_,C.Deprecation_7TE),e.valueInRange$3(0,1,"alpha")},$signature:240},A._adjustColor_closure.prototype={call$1:e=>isNaN(e)?0:C.JSNumber_methods.clamp$2(e,0,1),$signature:12},A._functionString_closure.prototype={call$1:e=>A.serializeValue(e,!1,!0),$signature:458},A._removedColorFunction_closure.prototype={call$1(e){var t=this.name,r=w.getInterceptor$asx(e),n=r.$index(e,0).toString$0(0),i=this.negative?"-":"";throw A.wrapException(A.SassScriptException$("The function "+t+P.x28__isn+n+", $"+this.argument+": "+i+r.$index(e,1).toString$0(0)+P.x29x0a_Moro+t,null))},$signature:463},A._rgb_closure.prototype={call$1(e){var t=A._percentageOrUnitless(e.assertNumber$1("alpha"),1,"alpha");return isNaN(t)?0:C.JSNumber_methods.clamp$2(t,0,1)},$signature:245},A._hsl_closure.prototype={call$1(e){var t=A._percentageOrUnitless(e.assertNumber$1("alpha"),1,"alpha");return isNaN(t)?0:C.JSNumber_methods.clamp$2(t,0,1)},$signature:245},A._parseChannels_closure.prototype={call$1:e=>e+" channel",$signature:6},A._parseChannels_closure0.prototype={call$1:e=>e.get$isSpecialNumber(),$signature:79},A._colorFromChannels_closure.prototype={call$1:e=>A._angleValue(e,"hue"),$signature:129},A._colorFromChannels_closure0.prototype={call$1:e=>A._angleValue(e,"hue"),$signature:129},A._channelFromValue_closure.prototype={call$1(e){var t,r,n,i,o,s,a,l=this.channel;return(t=l instanceof A.LinearChannel)&&l.requiresPercent&&!e.hasUnit$1("%")&&A.throwExpression(A.SassScriptException$("Expected "+e.toString$0(0)+' to have unit "%".',l.name)),r=null,n=!1,t?(o=!(i=l.lowerClamped))&&(n=!(r=l.upperClamped)):(i=null,o=!1),n?t=A._percentageOrUnitless(e,l.max,l.name):!t||this.clamp?t?(s=o?r:l.upperClamped,t=l.max,n=A._percentageOrUnitless(e,t,l.name),a=i?l.min:-1/0,t=s?t:1/0,t=isNaN(n)?a:C.JSNumber_methods.clamp$2(n,a,t)):t=C.JSNumber_methods.$mod(e.coerceValueToUnit$2("deg",l.name),360):t=A._percentageOrUnitless(e,l.max,l.name),t},$signature:129},A._channelFunction_closure.prototype={call$1(e){var t=this,r=A.SassNumber_SassNumber(t.getter.call$1(w.get$first$ax(e).assertColor$1("color")),t.unit),n=t.global?"":"color.",i=t.name;return A.warnForDeprecation(n+i+P.x28__is_d+i+'", $space: '+t.space.toString$0(0)+P.x29x0a_Mor_,C.Deprecation_zUK),r},$signature:24},A._suggestScaleAndAdjust_closure.prototype={call$1(e){return e.name===this.channelName},$signature:93},A._length_closure0.prototype={call$1:e=>A.SassNumber_SassNumber(w.$index$asx(e,0).get$asList().length,null),$signature:24},A._nth_closure.prototype={call$1(e){var t=w.getInterceptor$asx(e),r=t.$index(e,0),n=t.$index(e,1);return r.get$asList()[r.sassIndexToListIndex$2(n,"n")]},$signature:5},A._setNth_closure.prototype={call$1(e){var t,r=w.getInterceptor$asx(e),n=r.$index(e,0),i=r.$index(e,1),o=r.$index(e,2);return r=n.get$asList(),(t=A._setArrayType(r.slice(0),A._arrayInstanceType(r)))[n.sassIndexToListIndex$2(i,"n")]=o,n.withListContents$1(t)},$signature:28},A._join_closure.prototype={call$1(e){var t,r,n,i,o,s,a,l,c=null,u=w.getInterceptor$asx(e),d=u.$index(e,0),h=u.$index(e,1),p=u.$index(e,2).assertString$1("separator"),m=u.$index(e,3),_=p._string$_text;return"auto"!==_?u="space"!==_?"comma"!==_?"slash"!==_?A.throwExpression(A.SassScriptException$(P.x24separ,c)):C.ListSeparator_Lul:C.ListSeparator_z0K:C.ListSeparator_SrV:(t=d.get$separator(d),r=h.get$separator(h),u=c,(i=n=C.ListSeparator_undecided_null_3_undecided===t)?(i=C.ListSeparator_undecided_null_3_undecided===r,o=r,s=!0):(o=c,s=!1,i=!1),i?u=C.ListSeparator_SrV:(n?(a=s?o:r,i=!0):(a=u,i=!1),i||(a=t),u=a)),l=m instanceof A.SassString&&"auto"===m._string$_text?d.get$hasBrackets():m.get$isTruthy(),i=A.List_List$_of(d.get$asList(),D.Value),C.JSArray_methods.addAll$1(i,h.get$asList()),A.SassList$(i,u,l)},$signature:28},A._append_closure0.prototype={call$1(e){var t,r=w.getInterceptor$asx(e),n=r.$index(e,0),i=r.$index(e,1),o=r.$index(e,2).assertString$1("separator")._string$_text;return r="auto"!==o?"space"!==o?"comma"!==o?"slash"!==o?A.throwExpression(A.SassScriptException$(P.x24separ,null)):C.ListSeparator_Lul:C.ListSeparator_z0K:C.ListSeparator_SrV:n.get$separator(n)===C.ListSeparator_undecided_null_3_undecided?C.ListSeparator_SrV:n.get$separator(n),(t=A.List_List$_of(n.get$asList(),D.Value)).push(i),n.withListContents$2$separator(t,r)},$signature:28},A._zip_closure.prototype={call$1(e){var t,r,n={},i=w.$index$asx(e,0).get$asList(),o=A._arrayInstanceType(i)._eval$1("MappedListIterable<1,List<Value>>"),s=A.List_List$_of(new A.MappedListIterable(i,new A._zip__closure,o),o._eval$1("ListIterable.E"));if(0===s.length)return C.SassList_oH0;for(n.i=0,t=A._setArrayType([],D.JSArray_SassList),i=A._arrayInstanceType(s)._eval$1("MappedListIterable<1,Value>"),o=D.Value;C.JSArray_methods.every$1(s,new A._zip__closure0(n));)(r=A.List_List$from(new A.MappedListIterable(s,new A._zip__closure1(n),i),!1,o)).$flags=3,t.push(new A.SassList(r,C.ListSeparator_SrV,!1)),++n.i;return A.SassList$(t,C.ListSeparator_z0K,!1)},$signature:28},A._zip__closure.prototype={call$1:e=>e.get$asList(),$signature:509},A._zip__closure0.prototype={call$1(e){return this._box_0.i!==w.get$length$asx(e)},$signature:586},A._zip__closure1.prototype={call$1(e){return w.$index$asx(e,this._box_0.i)},$signature:5},A._index_closure0.prototype={call$1(e){var t=w.getInterceptor$asx(e),r=C.JSArray_methods.indexOf$1(t.$index(e,0).get$asList(),t.$index(e,1));return-1===r?C.C__SassNull:A.SassNumber_SassNumber(r+1,null)},$signature:5},A._separator_closure.prototype={call$1(e){var t=w.$index$asx(e,0),r=t.get$separator(t);return t=C.ListSeparator_z0K!==r?C.ListSeparator_Lul!==r?new A.SassString("space",!1):new A.SassString("slash",!1):new A.SassString("comma",!1)},$signature:19},A._isBracketed_closure.prototype={call$1:e=>w.$index$asx(e,0).get$hasBrackets()?C.SassBoolean_true:C.SassBoolean_false,$signature:11},A._slash_closure.prototype={call$1(e){var t=w.$index$asx(e,0).get$asList();if(t.length<2)throw A.wrapException(A.SassScriptException$("At least two elements are required.",null));return A.SassList$(t,C.ListSeparator_Lul,!1)},$signature:28},A._get_closure.prototype={call$1(e){var t,r=w.getInterceptor$asx(e),n=r.$index(e,0).assertMap$1("map"),i=A._setArrayType([r.$index(e,1)],D.JSArray_Value);for(C.JSArray_methods.addAll$1(i,r.$index(e,2).get$asList()),r=(r=A.IterableExtension_get_exceptLast(i)).get$iterator(r);r.moveNext$0();n=t)if(!((t=n._map$_contents.$index(0,r.get$current(r)))instanceof A.SassMap))return C.C__SassNull;return null==(r=n._map$_contents.$index(0,C.JSArray_methods.get$last(i)))?C.C__SassNull:r},$signature:5},A._set_closure.prototype={call$1(e){var t=w.getInterceptor$asx(e);return A._modify(t.$index(e,0).assertMap$1("map"),A._setArrayType([t.$index(e,1)],D.JSArray_Value),new A._set__closure0(e),!0)},$signature:5},A._set__closure0.prototype={call$1(e){return w.$index$asx(this.$arguments,2)},$signature:43},A._set_closure0.prototype={call$1(e){var t,r,n,i=w.getInterceptor$asx(e),o=i.$index(e,0).assertMap$1("map"),s=i.$index(e,1).get$asList(),a=s.length;if(a<=0)throw A.wrapException(A.SassScriptException$("Expected $args to contain a key.",null));if(1===a)throw A.wrapException(A.SassScriptException$("Expected $args to contain a value.",null));if(t=(i={}).value=null,(r=a>=1)&&(n=a-1,t=C.JSArray_methods.sublist$2(s,0,n),i.value=s[n]),r)return A._modify(o,t,new A._set__closure(i),!0);throw A.wrapException("[BUG] Unreachable code")},$signature:5},A._set__closure.prototype={call$1(e){return this._box_0.value},$signature:43},A._merge_closure.prototype={call$1(e){var t,r=w.getInterceptor$asx(e),n=r.$index(e,0).assertMap$1("map1"),i=r.$index(e,1).assertMap$1("map2");return r=D.Value,(t=A.LinkedHashMap_LinkedHashMap$of(n._map$_contents,r,r)).addAll$1(0,i._map$_contents),new A.SassMap(A.ConstantMap_ConstantMap$from(t,r,r))},$signature:38},A._merge_closure0.prototype={call$1(e){var t,r,n,i=null,o=w.getInterceptor$asx(e),s=o.$index(e,0).assertMap$1("map1"),a=o.$index(e,1).get$asList(),l=a.length;if(l<=0)throw A.wrapException(A.SassScriptException$("Expected $args to contain a key.",i));if(1===l)throw A.wrapException(A.SassScriptException$("Expected $args to contain a map.",i));if(t=i,(o=l>=1)?(r=l-1,n=C.JSArray_methods.sublist$2(a,0,r),t=a[r]):n=i,o)return A._modify(s,n,new A._merge__closure(t.assertMap$1("map2")),!0);throw A.wrapException("[BUG] Unreachable code")},$signature:5},A._merge__closure.prototype={call$1(e){var t,r,n=e.tryMap$0();return null==n?this.map2:(t=D.Value,(r=A.LinkedHashMap_LinkedHashMap$of(n._map$_contents,t,t)).addAll$1(0,this.map2._map$_contents),new A.SassMap(A.ConstantMap_ConstantMap$from(r,t,t)))},$signature:654},A._deepMerge_closure.prototype={call$1(e){var t=w.getInterceptor$asx(e);return A._deepMergeImpl(t.$index(e,0).assertMap$1("map1"),t.$index(e,1).assertMap$1("map2"))},$signature:38},A._deepRemove_closure.prototype={call$1(e){var t=w.getInterceptor$asx(e),r=t.$index(e,0).assertMap$1("map"),n=A._setArrayType([t.$index(e,1)],D.JSArray_Value);return C.JSArray_methods.addAll$1(n,t.$index(e,2).get$asList()),A._modify(r,A.IterableExtension_get_exceptLast(n),new A._deepRemove__closure(n),!1)},$signature:5},A._deepRemove__closure.prototype={call$1(e){var t,r,n,i=e.tryMap$0();return null!=i?(t=i._map$_contents.containsKey$1(C.JSArray_methods.get$last(this.keys)),r=i):(r=null,t=!1),t?(t=D.Value,(n=A.LinkedHashMap_LinkedHashMap$of(r._map$_contents,t,t)).remove$1(0,C.JSArray_methods.get$last(this.keys)),new A.SassMap(A.ConstantMap_ConstantMap$from(n,t,t))):e},$signature:43},A._remove_closure.prototype={call$1:e=>w.$index$asx(e,0).assertMap$1("map"),$signature:38},A._remove_closure0.prototype={call$1(e){var t,r,n,i=w.getInterceptor$asx(e),o=i.$index(e,0).assertMap$1("map"),s=A._setArrayType([i.$index(e,1)],D.JSArray_Value);for(C.JSArray_methods.addAll$1(s,i.$index(e,2).get$asList()),i=D.Value,t=A.LinkedHashMap_LinkedHashMap$of(o._map$_contents,i,i),r=s.length,n=0;n<s.length;s.length===r||(0,A.throwConcurrentModificationError)(s),++n)t.remove$1(0,s[n]);return new A.SassMap(A.ConstantMap_ConstantMap$from(t,i,i))},$signature:38},A._keys_closure.prototype={call$1(e){var t=w.$index$asx(e,0).assertMap$1("map")._map$_contents;return A.SassList$(t.get$keys(t),C.ListSeparator_z0K,!1)},$signature:28},A._values_closure.prototype={call$1(e){var t=w.$index$asx(e,0).assertMap$1("map")._map$_contents;return A.SassList$(t.get$values(t),C.ListSeparator_z0K,!1)},$signature:28},A._hasKey_closure.prototype={call$1(e){var t,r=w.getInterceptor$asx(e),n=r.$index(e,0).assertMap$1("map"),i=A._setArrayType([r.$index(e,1)],D.JSArray_Value);for(C.JSArray_methods.addAll$1(i,r.$index(e,2).get$asList()),r=(r=A.IterableExtension_get_exceptLast(i)).get$iterator(r);r.moveNext$0();n=t)if(!((t=n._map$_contents.$index(0,r.get$current(r)))instanceof A.SassMap))return C.SassBoolean_false;return n._map$_contents.containsKey$1(C.JSArray_methods.get$last(i))?C.SassBoolean_true:C.SassBoolean_false},$signature:11},A._modify_modifyNestedMap.prototype={call$1(e){var t,r=this,n=D.Value,i=A.LinkedHashMap_LinkedHashMap$of(e._map$_contents,n,n),o=r.keyIterator,s=o.get$current(o);return o.moveNext$0()?(t=null==(o=i.$index(0,s))?null:o.tryMap$0(),(o=null==t)&&!r.addNesting||i.$indexSet(0,s,r.call$1(o?C.SassMap_Map_empty:t)),new A.SassMap(A.ConstantMap_ConstantMap$from(i,n,n))):(null==(o=i.$index(0,s))&&(o=C.C__SassNull),i.$indexSet(0,s,r.modify.call$1(o)),new A.SassMap(A.ConstantMap_ConstantMap$from(i,n,n)))},$signature:671},A.global_closure.prototype={call$1(e){var t,r=w.$index$asx(e,0).assertNumber$1("number");return r.hasUnit$1("%")?A.warnForDeprecation(P.Passinp+r.toString$0(0)+")\nTo emit a CSS abs() now: abs(#{"+r.toString$0(0)+P.x7dx29_Mor,C.Deprecation_Usi):A.warnForDeprecation(P.Globalm,C.Deprecation_WW3),t=r.get$numeratorUnits(r),A.SassNumber_SassNumber$withUnits(Math.abs(r._number$_value),r.get$denominatorUnits(r),t)},$signature:24},A.module_closure0.prototype={call$1:e=>Math.abs(e),$signature:12},A._ceil_closure.prototype={call$1:e=>C.JSNumber_methods.ceil$0(e),$signature:12},A._clamp_closure.prototype={call$1(e){var t=w.getInterceptor$asx(e),r=t.$index(e,0).assertNumber$1("min"),n=t.$index(e,1).assertNumber$1("number"),i=t.$index(e,2).assertNumber$1("max");return n.convertValueToMatch$3(r,"number","min"),i.convertValueToMatch$3(r,"max","min"),r.greaterThanOrEquals$1(i).value||r.greaterThanOrEquals$1(n).value?r:n.greaterThanOrEquals$1(i).value?i:n},$signature:24},A._floor_closure.prototype={call$1:e=>C.JSNumber_methods.floor$0(e),$signature:12},A._max_closure.prototype={call$1(e){var t,r,n,i,o;for(r=(t=w.$index$asx(e,0).get$asList()).length,n=null,i=0;i<t.length;t.length===r||(0,A.throwConcurrentModificationError)(t),++i)o=t[i].assertNumber$0(),(null==n||n.lessThan$1(o).value)&&(n=o);if(null!=n)return n;throw A.wrapException(A.SassScriptException$("At least one argument must be passed.",null))},$signature:24},A._min_closure.prototype={call$1(e){var t,r,n,i,o;for(r=(t=w.$index$asx(e,0).get$asList()).length,n=null,i=0;i<t.length;t.length===r||(0,A.throwConcurrentModificationError)(t),++i)o=t[i].assertNumber$0(),(null==n||n.greaterThan$1(o).value)&&(n=o);if(null!=n)return n;throw A.wrapException(A.SassScriptException$("At least one argument must be passed.",null))},$signature:24},A._round_closure.prototype={call$1:e=>C.JSNumber_methods.round$0(e),$signature:12},A._hypot_closure.prototype={call$1(e){var t,r,n,i,o=w.$index$asx(e,0).get$asList(),s=A._arrayInstanceType(o)._eval$1("MappedListIterable<1,SassNumber>"),a=A.List_List$_of(new A.MappedListIterable(o,new A._hypot__closure,s),s._eval$1("ListIterable.E"));if(0===a.length)throw A.wrapException(A.SassScriptException$("At least one argument must be passed.",null));for(t=0,r=0;r<a.length;r=n)n=r+1,t+=Math.pow(a[r].convertValueToMatch$3(a[0],"numbers["+n+"]","numbers[1]"),2);return o=Math.sqrt(t),s=(s=a[0]).get$numeratorUnits(s),i=a[0],A.SassNumber_SassNumber$withUnits(o,i.get$denominatorUnits(i),s)},$signature:24},A._hypot__closure.prototype={call$1:e=>e.assertNumber$0(),$signature:692},A._log_closure.prototype={call$1(e){var t,r=" to have no units.",n=null,i=w.getInterceptor$asx(e),o=i.$index(e,0).assertNumber$1("number");if(o.get$hasUnits())throw A.wrapException(A.SassScriptException$("$number: Expected "+o.toString$0(0)+r,n));if(i.$index(e,1).$eq(0,C.C__SassNull))return A.SassNumber_SassNumber(Math.log(o._number$_value),n);if((t=i.$index(e,1).assertNumber$1("base")).get$hasUnits())throw A.wrapException(A.SassScriptException$("$base: Expected "+t.toString$0(0)+r,n));return A.SassNumber_SassNumber(Math.log(o._number$_value)/Math.log(t._number$_value),n)},$signature:24},A._pow_closure.prototype={call$1(e){var t=w.getInterceptor$asx(e);return A.pow0(t.$index(e,0).assertNumber$1("base"),t.$index(e,1).assertNumber$1("exponent"))},$signature:24},A._atan2_closure.prototype={call$1(e){var t=w.getInterceptor$asx(e),r=t.$index(e,0).assertNumber$1("y");return A.SassNumber_SassNumber$withUnits(57.29577951308232*Math.atan2(r._number$_value,t.$index(e,1).assertNumber$1("x").convertValueToMatch$3(r,"x","y")),null,A._setArrayType(["deg"],D.JSArray_String))},$signature:24},A._compatible_closure.prototype={call$1(e){var t=w.getInterceptor$asx(e);return t.$index(e,0).assertNumber$1("number1").isComparableTo$1(t.$index(e,1).assertNumber$1("number2"))?C.SassBoolean_true:C.SassBoolean_false},$signature:11},A._isUnitless_closure.prototype={call$1:e=>w.$index$asx(e,0).assertNumber$1("number").get$hasUnits()?C.SassBoolean_false:C.SassBoolean_true,$signature:11},A._unit_closure.prototype={call$1:e=>new A.SassString(w.$index$asx(e,0).assertNumber$1("number").get$unitString(),!0),$signature:19},A._percentage_closure.prototype={call$1(e){var t=w.$index$asx(e,0).assertNumber$1("number");return t.assertNoUnits$1("number"),A.SassNumber_SassNumber(100*t._number$_value,"%")},$signature:24},A._randomFunction_closure.prototype={call$1(e){var t,r,n=w.getInterceptor$asx(e);if(n.$index(e,0).$eq(0,C.C__SassNull))return A.SassNumber_SassNumber(I.$get$_random0().nextDouble$0(),null);if((t=n.$index(e,0).assertNumber$1("limit")).get$hasUnits()&&A.warnForDeprecation(P.math_r+t.toString$0(0)+P.x29x20in_a+t.get$unitString()+")) * 1"+t.get$unitString()+P.x0a_To_p+t.get$unitString()+P.x29x29__Mo,C.Deprecation_7TE),(r=t.assertInt$1("limit"))<1)throw A.wrapException(A.SassScriptException$("$limit: Must be greater than 0, was "+t.toString$0(0)+".",null));return A.SassNumber_SassNumber(I.$get$_random0().nextInt$1(r)+1,null)},$signature:24},A._div_closure.prototype={call$1(e){var t=w.getInterceptor$asx(e),r=t.$index(e,0),n=t.$index(e,1);return r instanceof A.SassNumber&&n instanceof A.SassNumber||A.warn(P.math_d),r.dividedBy$1(n)},$signature:5},A._singleArgumentMathFunc_closure.prototype={call$1(e){return this.mathFunc.call$1(w.$index$asx(e,0).assertNumber$1("number"))},$signature:24},A._numberFunction_closure.prototype={call$1(e){var t=w.$index$asx(e,0).assertNumber$1("number"),r=this.transform.call$1(t._number$_value),n=t.get$numeratorUnits(t);return A.SassNumber_SassNumber$withUnits(r,t.get$denominatorUnits(t),n)},$signature:24},A._shared_closure.prototype={call$1:e=>(A.warnForDeprecation(P.The_fe,C.Deprecation_PY0),I._features.contains$1(0,w.$index$asx(e,0).assertString$1("feature")._string$_text)?C.SassBoolean_true:C.SassBoolean_false),$signature:11},A._shared_closure0.prototype={call$1:e=>new A.SassString(A.serializeValue(w.get$first$ax(e),!0,!0),!1),$signature:19},A._shared_closure1.prototype={call$1(e){var t=w.getInterceptor$asx(e),r=t.$index(e,0);return t=r instanceof A.SassArgumentList?"arglist":r instanceof A.SassBoolean?"bool":r instanceof A.SassColor?"color":r instanceof A.SassList?"list":r instanceof A.SassMap?"map":C.C__SassNull!==r?r instanceof A.SassNumber?"number":r instanceof A.SassFunction?"function":r instanceof A.SassMixin?"mixin":r instanceof A.SassCalculation?"calculation":r instanceof A.SassString?"string":A.throwExpression("[BUG] Unknown value type "+t.$index(e,0).toString$0(0)):"null",new A.SassString(t,!1)},$signature:19},A._shared_closure2.prototype={call$1(e){var t,r,n,i=w.getInterceptor$asx(e),o=i.$index(e,0);if(o instanceof A.SassArgumentList){for(o._wereKeywordsAccessed=!0,i=D.Value,t=A.LinkedHashMap_LinkedHashMap$_empty(i,i),r=(r=A.MapExtensions_get_pairs(o._keywords,D.String,i)).get$iterator(r);r.moveNext$0();)n=r.get$current(r),t.$indexSet(0,new A.SassString(n._0,!1),n._1);return new A.SassMap(A.ConstantMap_ConstantMap$from(t,i,i))}throw A.wrapException("$args: "+i.$index(e,0).toString$0(0)+" is not an argument list.")},$signature:38},A.moduleFunctions_closure.prototype={call$1:e=>new A.SassString(w.$index$asx(e,0).assertCalculation$1("calc").name,!0),$signature:19},A.moduleFunctions_closure0.prototype={call$1(e){var t=w.$index$asx(e,0).assertCalculation$1("calc").$arguments;return A.SassList$(new A.MappedListIterable(t,new A.moduleFunctions__closure,A._arrayInstanceType(t)._eval$1("MappedListIterable<1,Value>")),C.ListSeparator_z0K,!1)},$signature:28},A.moduleFunctions__closure.prototype={call$1:e=>e instanceof A.Value?e:new A.SassString(w.toString$0$(e),!1),$signature:693},A.moduleFunctions_closure1.prototype={call$1(e){var t,r,n,i,o,s=null,a=w.$index$asx(e,0).assertMixin$1("mixin"),l=a.callable;return r=s,(t=D.AsyncBuiltInCallable._is(l))&&(r=l.get$acceptsContent()),t?n=!0:((t=l instanceof A.BuiltInCallable)&&(r=l.acceptsContent),n=t),n?n=r:(o=s,(n=!!(i=l instanceof A.UserDefinedCallable)&&(n=o=l.declaration)instanceof A.MixinRule)?(n=i?o:l.declaration,n=D.MixinRule._as(n).get$hasContent()):n=A.throwExpression(A.UnsupportedError$("Unknown callable type "+a.toString$0(0)+"."))),n?C.SassBoolean_true:C.SassBoolean_false},$signature:11},A._nest_closure.prototype={call$1(e){var t=w.$index$asx(e,0).get$asList();return null==(t=null==(t=new A.MappedListIterable(t,new A._nest__closure,A._arrayInstanceType(t)._eval$1("MappedListIterable<1,SelectorList>")).fold$2(0,null,new A._nest__closure0))?null:t.get$asSassList())?A.throwExpression(A.SassScriptException$(P.x24selec,null)):t},$signature:28},A._nest__closure.prototype={call$1:e=>A.SassApiValue_assertSelector(e,!0,null),$signature:187},A._nest__closure0.prototype={call$2:(e,t)=>t.nestWithin$1(e),$signature:327},A._append_closure.prototype={call$1(e){var t,r=w.$index$asx(e,0).get$asList();if(0===r.length)throw A.wrapException(A.SassScriptException$(P.x24selec,null));return t=A.EvaluationContext_currentOrNull(),new A.MappedListIterable(r,new A._append__closure,A._arrayInstanceType(r)._eval$1("MappedListIterable<1,SelectorList>")).reduce$1(0,new A._append__closure0((null==t?A.throwExpression(A.StateError$(P.No_Sass)):t).get$currentCallableSpan())).get$asSassList()},$signature:28},A._append__closure.prototype={call$1:e=>A.SassApiValue_assertSelector(e,!1,null),$signature:187},A._append__closure0.prototype={call$2(e,t){var r=t.components,n=this.span;return A.SelectorList$(new A.MappedListIterable(r,new A._append___closure(e,n),A._arrayInstanceType(r)._eval$1("MappedListIterable<1,ComplexSelector>")),n).nestWithin$1(e)},$signature:462},A._append___closure.prototype={call$1(e){var t,r,n,i,o,s,a=null;if(0!==e.leadingCombinators.length)throw A.wrapException(A.SassScriptException$("Can't append "+e.toString$0(0)+" to "+this.parent.toString$0(0)+".",a));if((r=(t=e.components).length>=1)?(n=t[0],i=C.JSArray_methods.sublist$1(t,1)):n=i=a,!r)throw A.wrapException(A.StateError$("Pattern matching error"));if(null==(o=A._prependParent(n.selector)))throw A.wrapException(A.SassScriptException$("Can't append "+e.toString$0(0)+" to "+this.parent.toString$0(0)+".",a));return r=this.span,s=A._setArrayType([new A.ComplexSelectorComponent(o,A.List_List$unmodifiable(n.combinators,D.CssValue_Combinator),r)],D.JSArray_ComplexSelectorComponent),C.JSArray_methods.addAll$1(s,i),A.ComplexSelector$(C.List_empty0,s,r,!1)},$signature:61},A._extend_closure.prototype={call$1(e){var t,r,n="selector",i="extendee",o="extender",s=w.getInterceptor$asx(e),a=A.SassApiValue_assertSelector(s.$index(e,0),!1,n);return a.assertNotBogus$1$name(n),(t=A.SassApiValue_assertSelector(s.$index(e,1),!1,i)).assertNotBogus$1$name(i),(r=A.SassApiValue_assertSelector(s.$index(e,2),!1,o)).assertNotBogus$1$name(o),s=A.EvaluationContext_currentOrNull(),A.ExtensionStore__extendOrReplace(a,r,t,C.ExtendMode_allTargets_2_allTargets,(null==s?A.throwExpression(A.StateError$(P.No_Sass)):s).get$currentCallableSpan()).get$asSassList()},$signature:28},A._replace_closure.prototype={call$1(e){var t,r,n="selector",i="original",o="replacement",s=w.getInterceptor$asx(e),a=A.SassApiValue_assertSelector(s.$index(e,0),!1,n);return a.assertNotBogus$1$name(n),(t=A.SassApiValue_assertSelector(s.$index(e,1),!1,i)).assertNotBogus$1$name(i),(r=A.SassApiValue_assertSelector(s.$index(e,2),!1,o)).assertNotBogus$1$name(o),s=A.EvaluationContext_currentOrNull(),A.ExtensionStore__extendOrReplace(a,r,t,C.ExtendMode_replace_1_replace,(null==s?A.throwExpression(A.StateError$(P.No_Sass)):s).get$currentCallableSpan()).get$asSassList()},$signature:28},A._unify_closure.prototype={call$1(e){var t,r="selector1",n="selector2",i=w.getInterceptor$asx(e),o=A.SassApiValue_assertSelector(i.$index(e,0),!1,r);return o.assertNotBogus$1$name(r),(t=A.SassApiValue_assertSelector(i.$index(e,1),!1,n)).assertNotBogus$1$name(n),null==(i=null==(i=o.unify$1(t))?null:i.get$asSassList())?C.C__SassNull:i},$signature:5},A._isSuperselector_closure.prototype={call$1(e){var t,r=w.getInterceptor$asx(e),n=A.SassApiValue_assertSelector(r.$index(e,0),!1,"super");return n.assertNotBogus$1$name("super"),(t=A.SassApiValue_assertSelector(r.$index(e,1),!1,"sub")).assertNotBogus$1$name("sub"),A.listIsSuperselector(n.components,t.components)?C.SassBoolean_true:C.SassBoolean_false},$signature:11},A._simpleSelectors_closure.prototype={call$1(e){var t=A.SassApiValue_assertCompoundSelector(w.$index$asx(e,0),"selector").components;return A.SassList$(new A.MappedListIterable(t,new A._simpleSelectors__closure,A._arrayInstanceType(t)._eval$1("MappedListIterable<1,Value>")),C.ListSeparator_z0K,!1)},$signature:28},A._simpleSelectors__closure.prototype={call$1:e=>new A.SassString(A.serializeSelector(e,!0),!1),$signature:330},A._parse_closure.prototype={call$1:e=>A.SassApiValue_assertSelector(w.$index$asx(e,0),!1,"selector").get$asSassList(),$signature:28},A.module_closure.prototype={call$1(e){var t,r,n,i,o,s,a,l=w.getInterceptor$asx(e),c=l.$index(e,0).assertString$1("string"),u=l.$index(e,1).assertString$1("separator");if(null!=(t=null==(l=l.$index(e,2).get$realNull())?null:l.assertNumber$1("limit").assertInt$1("limit"))&&t<1)throw A.wrapException(A.SassScriptException$("$limit: Must be 1 or greater, was "+A.S(t)+".",null));if(0===(l=c._string$_text).length)return C.SassList_oWx;if(0===(r=u._string$_text).length)return A.SassList$(A.MappedIterable_MappedIterable(new A.Runes(l),new A.module__closure(c),D.Runes._eval$1("Iterable.E"),D.Value),C.ListSeparator_z0K,!0);for(n=A._setArrayType([],D.JSArray_String),r=C.JSString_methods.allMatches$1(r,l),r=new A._StringAllMatchesIterator(r._input,r._pattern,r.__js_helper$_index),i=0,o=0;r.moveNext$0()&&(a=(s=r.__js_helper$_current).start,n.push(C.JSString_methods.substring$2(l,o,a)),o=a+s.pattern.length,++i!==t););return n.push(C.JSString_methods.substring$1(l,o)),A.SassList$(new A.MappedListIterable(n,new A.module__closure0(c),D.MappedListIterable_String_Value),C.ListSeparator_z0K,!0)},$signature:28},A.module__closure.prototype={call$1(e){return new A.SassString(A.Primitives_stringFromCharCode(e),this.string._hasQuotes)},$signature:341},A.module__closure0.prototype={call$1(e){return new A.SassString(e,this.string._hasQuotes)},$signature:349},A._unquote_closure.prototype={call$1(e){var t=w.$index$asx(e,0).assertString$1("string");return t._hasQuotes?new A.SassString(t._string$_text,!1):t},$signature:19},A._quote_closure.prototype={call$1(e){var t=w.$index$asx(e,0).assertString$1("string");return t._hasQuotes?t:new A.SassString(t._string$_text,!0)},$signature:19},A._length_closure.prototype={call$1:e=>A.SassNumber_SassNumber(w.$index$asx(e,0).assertString$1("string").get$_sassLength(),null),$signature:24},A._insert_closure.prototype={call$1(e){var t,r,n="index",i=w.getInterceptor$asx(e),o=i.$index(e,0).assertString$1("string"),s=i.$index(e,1).assertString$1("insert"),a=i.$index(e,2).assertNumber$1(n);return a.assertNoUnits$1(n),(t=a.assertInt$1(n))<0&&(t=Math.max(o.get$_sassLength()+t+2,0)),i=o._string$_text,r=A.codepointIndexToCodeUnitIndex(i,A._codepointForIndex(t,o.get$_sassLength(),!1)),new A.SassString(C.JSString_methods.replaceRange$3(i,r,r,s._string$_text),o._hasQuotes)},$signature:19},A._index_closure.prototype={call$1(e){var t=w.getInterceptor$asx(e),r=t.$index(e,0).assertString$1("string")._string$_text,n=C.JSString_methods.indexOf$1(r,t.$index(e,1).assertString$1("substring")._string$_text);return-1===n?C.C__SassNull:A.SassNumber_SassNumber(A.codeUnitIndexToCodepointIndex(r,n)+1,null)},$signature:5},A._slice_closure.prototype={call$1(e){var t,r,n,i,o="start-at",s=w.getInterceptor$asx(e),a=s.$index(e,0).assertString$1("string"),l=s.$index(e,1).assertNumber$1(o),c=s.$index(e,2).assertNumber$1("end-at");return l.assertNoUnits$1(o),c.assertNoUnits$1("end-at"),t=a.get$_sassLength(),0===(r=c.assertInt$0())?a._hasQuotes?I.$get$_emptyQuoted():I.$get$_emptyUnquoted():(n=A._codepointForIndex(l.assertInt$0(),t,!1),(i=A._codepointForIndex(r,t,!0))===t&&--i,i<n?a._hasQuotes?I.$get$_emptyQuoted():I.$get$_emptyUnquoted():(s=a._string$_text,new A.SassString(C.JSString_methods.substring$2(s,A.codepointIndexToCodeUnitIndex(s,n),A.codepointIndexToCodeUnitIndex(s,i+1)),a._hasQuotes)))},$signature:19},A._toUpperCase_closure.prototype={call$1(e){var t,r,n,i,o,s=w.$index$asx(e,0).assertString$1("string");for(r=(t=s._string$_text).length,n=0,i="";n<r;++n)o=t.charCodeAt(n),i+=A.Primitives_stringFromCharCode(o>=97&&o<=122?4294967263&o:o);return new A.SassString((i.charCodeAt(0),i),s._hasQuotes)},$signature:19},A._toLowerCase_closure.prototype={call$1(e){var t,r,n,i,o,s=w.$index$asx(e,0).assertString$1("string");for(r=(t=s._string$_text).length,n=0,i="";n<r;++n)o=t.charCodeAt(n),i+=A.Primitives_stringFromCharCode(o>=65&&o<=90?32|o:o);return new A.SassString((i.charCodeAt(0),i),s._hasQuotes)},$signature:19},A._uniqueId_closure.prototype={call$1(e){var t=I.$get$_previousUniqueId()+(I.$get$_random().nextInt$1(36)+1);return I._previousUniqueId=t,t>Math.pow(36,6)&&(I._previousUniqueId=C.JSInt_methods.$mod(I.$get$_previousUniqueId(),A._asInt(Math.pow(36,6)))),new A.SassString("u"+C.JSString_methods.padLeft$2(C.JSInt_methods.toRadixString$1(I.$get$_previousUniqueId(),36),6,"0"),!1)},$signature:19},A.ImportCache.prototype={canonicalize$4$baseImporter$baseUrl$forImport(e,t,r,n,i){var o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y,$,x,S,w,C,E,I,M,k,T=this,R=null;if(o=!!A.isBrowser()&&((null==r||r instanceof A.NoOpImporter)&&0===T._importers.length))throw A.wrapException(P.Customi);if(null!=r&&""===t.get$scheme()&&(null==(s=null==n?R:n.resolveUri$1(t))&&(s=t),a=new A._Record_3_forImport(r,s,i),null!=(l=T._perImporterCanonicalizeCache.putIfAbsent$2(a,new A.ImportCache_canonicalize_closure(T,r,s,n,i,a,t)))))return l;if(a=new A._Record_2_forImport(t,i),(o=T._canonicalizeCache).containsKey$1(a))return o.$index(0,a);for(c=T._importers,u=D.Record_1_nullable_Object,d=T._perImporterCanonicalizeCache,h=D.nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl,p=D.Record_3_Importer_and_Uri_and_Uri_originalUrl,m=!0,_=0;_<c.length;++_){if(g=c[_],f=new A._Record_3_forImport(g,t,i),d.containsKey$1(f)?(v=d.$index(0,f),b=new A._Record_1(null==v?h._as(v):v)):b=R,$=R,(y=u._is(b))?(v=null!=(x=b._0))&&(p._as(x),$=x):(x=R,v=!1),v)return $;if(!(v=!!y&&null==x)){if(E=R,I=R,v=!1,(C=null!=(w=(S=T._canonicalize$4(g,t,n,i))._0))?($=null==w?p._as(w):w,E=v=I=S._1,v=v&&m):$=R,v)return o.$indexSet(0,a,$),$;if(C?(v=E,M=C):(v=I=S._1,M=!0),v=v&&!m){if(d.$indexSet(0,f,w),null!=w)return w}else if(v=!1===(M?I:S._1)){if(m){for(k=0;k<_;++k)d.$indexSet(0,new A._Record_3_forImport(c[k],t,i),R);m=!1}if(null!=w)return w}}}return m&&o.$indexSet(0,a,R),R},canonicalize$3$baseImporter$baseUrl(e,t,r,n){return this.canonicalize$4$baseImporter$baseUrl$forImport(0,t,r,n,!1)},_canonicalize$4(e,t,r,n){var i,o,s,a,l;if(i=null!=r&&(""===t.get$scheme()||e.isNonCanonicalScheme$1(t.get$scheme())),o=new A.CanonicalizeContext(n,i?r:null),s=D.nullable_Object,a=A.runZoned(new A.ImportCache__canonicalize_closure(e,t),A.LinkedHashMap_LinkedHashMap$_literal([C.Symbol__canonicalizeContext,o],s,s),D.nullable_Uri),l=!i||!o._wasContainingUrlAccessed,null==a)return new A._Record_2(null,l);if(""!==a.get$scheme()&&e.isNonCanonicalScheme$1(a.get$scheme()))throw A.wrapException("Importer "+e.toString$0(0)+" canonicalized "+t.toString$0(0)+" to "+a.toString$0(0)+P.x2c_whicu);return new A._Record_2(new A._Record_3_originalUrl(e,a,t),l)},importCanonical$3$originalUrl(e,t,r){return this._importCache.putIfAbsent$2(t,new A.ImportCache_importCanonical_closure(this,e,t,r))},importCanonical$2(e,t){return this.importCanonical$3$originalUrl(e,t,null)},humanize$1(e){var t=this._canonicalizeCache,r=D.NonNullsIterable_Record_3_Importer_and_Uri_and_Uri_originalUrl;return null==(r=A.NullableExtension_andThen(A.minBy(new A.MappedIterable(new A.WhereIterable(new A.NonNullsIterable(new A.LinkedHashMapValuesIterable(t,A._instanceType(t)._eval$1("LinkedHashMapValuesIterable<2>")),r),new A.ImportCache_humanize_closure(e),r._eval$1("WhereIterable<Iterable.E>")),new A.ImportCache_humanize_closure0,r._eval$1("MappedIterable<Iterable.E,Uri>")),new A.ImportCache_humanize_closure1),new A.ImportCache_humanize_closure2(e)))?e:r},sourceMapUrl$1(e,t){var r=this._resultsCache.$index(0,t);return null==(r=null==r?null:r.get$sourceMapUrl(0))?t:r},clearCanonicalize$1(e){for(var t,r,n,i,o=this._canonicalizeCache,s=A.List_List$_of(new A.LinkedHashMapKeysIterable(o,A._instanceType(o)._eval$1("LinkedHashMapKeysIterable<1>")),D.Record_2_Uri_and_bool_forImport),a=s.length,l=this._importers,c=0;c<s.length;s.length===a||(0,A.throwConcurrentModificationError)(s),++c)for(t=s[c],r=l.length,n=t._0,i=0;i<l.length;l.length===r||(0,A.throwConcurrentModificationError)(l),++i)if(l[i].couldCanonicalize$2(n,e)){o.remove$1(0,t);break}for(o=this._perImporterCanonicalizeCache,a=(s=A.List_List$_of(new A.LinkedHashMapKeysIterable(o,A._instanceType(o)._eval$1("LinkedHashMapKeysIterable<1>")),D.Record_3_Importer_and_Uri_and_bool_forImport)).length,c=0;c<s.length;s.length===a||(0,A.throwConcurrentModificationError)(s),++c)(t=s[c])._0.couldCanonicalize$2(t._1,e)&&o.remove$1(0,t)},clearImport$1(e){this._resultsCache.remove$1(0,e),this._importCache.remove$1(0,e)}},A.ImportCache_canonicalize_closure.prototype={call$0(){var e=this,t=e.$this,r=e.baseUrl,n=t._canonicalize$4(e.baseImporter,e.resolvedUrl,r,e.forImport);return null!=r&&t._nonCanonicalRelativeUrls.$indexSet(0,e.key,e.url),n._0},$signature:128},A.ImportCache__canonicalize_closure.prototype={call$0(){return this.importer.canonicalize$1(0,this.url)},$signature:144},A.ImportCache_importCanonical_closure.prototype={call$0(){var e,t,r=this,n=Date.now(),i=r.canonicalUrl,o=r.importer.load$1(0,i);return null==o?null:((e=r.$this)._loadTimes.$indexSet(0,i,new A.DateTime(n,0,!1)),e._resultsCache.$indexSet(0,i,o),e=o.contents,n=o.syntax,t=r.originalUrl,A.Stylesheet_Stylesheet$parse(e,n,!1,null==t?i:t.resolveUri$1(i)))},$signature:86},A.ImportCache_humanize_closure.prototype={call$1(e){return e._1.$eq(0,this.canonicalUrl)},$signature:320},A.ImportCache_humanize_closure0.prototype={call$1:e=>e._2,$signature:323},A.ImportCache_humanize_closure1.prototype={call$1:e=>e.get$path(e).length,$signature:107},A.ImportCache_humanize_closure2.prototype={call$1(e){var t=I.$get$url(),r=this.canonicalUrl;return e.resolve$1(0,A.ParsedPath_ParsedPath$parse(r.get$path(r),t.style).get$basename())},$signature:49},A.Importer.prototype={modificationTime$1:e=>new A.DateTime(Date.now(),0,!1),couldCanonicalize$2:(e,t)=>!0,isNonCanonicalScheme$1:e=>!1},A.AsyncImporter.prototype={},A.CanonicalizeContext.prototype={},A.FilesystemImporter.prototype={canonicalize$1(e,t){var r,n;if("file"===t.get$scheme())r=A.resolveImportPath(I.$get$context().style.pathFromUri$1(A._parseUri(t)));else{if(""!==t.get$scheme())return null;if(null==(n=this._loadPath))return null;null!=(r=A.resolveImportPath(A.join(n,I.$get$context().style.pathFromUri$1(A._parseUri(t)),null)))&&this._loadPathDeprecated&&A.warnForDeprecation(P.Using_t,C.Deprecation_uJ0)}return A.NullableExtension_andThen(r,new A.FilesystemImporter_canonicalize_closure)},load$1(e,t){var r=I.$get$context().style.pathFromUri$1(A._parseUri(t)),n=A.readFile(r),i=A.Syntax_forPath(r);return""===t.get$scheme()&&A.throwExpression(A.ArgumentError$value(t,"sourceMapUrl","must be absolute")),new A.ImporterResult(n,t,i)},modificationTime$1:e=>A.modificationTime(I.$get$context().style.pathFromUri$1(A._parseUri(e))),couldCanonicalize$2(e,t){var r,n,i,o;return("file"===e.get$scheme()||""===e.get$scheme())&&("file"===t.get$scheme()&&(n=(r=I.$get$url()).style,i=A.ParsedPath_ParsedPath$parse(e.get$path(e),n).get$basename(),o=A.ParsedPath_ParsedPath$parse(t.get$path(t),n).get$basename(),!C.JSString_methods.startsWith$1(i,"_")&&C.JSString_methods.startsWith$1(o,"_")&&(o=C.JSString_methods.substring$1(o,1)),i===o||i===r.withoutExtension$1(o)))},toString$0(e){var t=this._loadPath;return null==t?"<absolute file importer>":t}},A.FilesystemImporter_canonicalize_closure.prototype={call$1(e){var t,r,i=null,o=A.isNodeJs()?n.process:i;return w.$eq$(null==o?i:w.get$platform$x(o),"win32")?o=!0:(o=A.isNodeJs()?n.process:i,o=w.$eq$(null==o?i:w.get$platform$x(o),"darwin")),o?(o=A.absolute(e,i,i,i,i,i,i,i,i,i,i,i,i,i,i),t=I.$get$context(),o=A._realCasePath(t.normalize$1(o))):(r=t=(o=I.$get$context()).canonicalize$1(0,e),t=o,o=r),t.toUri$1(o)},$signature:127},A.NoOpImporter.prototype={},A.NodePackageImporter.prototype={isNonCanonicalScheme$1:e=>"pkg"===e,canonicalize$1(e,t){var r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y=this,$=null;if("file"===t.get$scheme())return I.$get$FilesystemImporter_cwd().canonicalize$1(0,t);if("pkg"!==t.get$scheme())return $;if(t.get$hasAuthority())throw A.wrapException(P.A_pkg_h);if((l=(a=I.$get$url()).style).rootLength$1(t.get$path(t))>0)throw A.wrapException("A pkg: URL's path must not begin with /.");if(0===t.get$path(t).length)throw A.wrapException("A pkg: URL must not have an empty path.");if(t.get$hasQuery()||t.get$hasFragment())throw A.wrapException(P.A_pkg_q);if((c=A.canonicalizeContext())._wasContainingUrlAccessed=!0,"file"===(null==(c=c._containingUrl)?$:c.get$scheme())?((c=A.canonicalizeContext())._wasContainingUrlAccessed=!0,(c=c._containingUrl).toString,d=(u=I.$get$context()).dirname$1(u.style.pathFromUri$1(A._parseUri(c)))):((c=y.__NodePackageImporter__entryPointDirectory_F)===I&&A.throwUnnamedLateFieldNI(),d=c),null,h=a.split$1(0,t.get$path(t)),c=C.JSArray_methods.removeAt$1(h,0),m=(p=(u=I.$get$context()).style).pathFromUri$1(A._parseUri(c)),C.JSString_methods.startsWith$1(m,"@")&&(m=0!==h.length?a.join$2(0,m,C.JSArray_methods.removeAt$1(h,0)):m),_=0!==h.length?p.pathFromUri$1(A._parseUri(a.joinAll$1(h))):$,r=m,a=!0,w.startsWith$1$s(r,".")||w.contains$1$asx(r,"\\")||w.contains$1$asx(r,"%")||(a=w.startsWith$1$s(r,"@")&&!w.contains$1$asx(r,l.get$separator(l))),a)return $;if(null==(g=y._resolvePackageRoot$2(r,d)))return $;n=A.join(g,"package.json",$),i=A.readFile(n),o=null;try{o=D.Map_String_dynamic._as(C.C_JsonCodec.decode$1(i))}catch(e){throw s=A.unwrapException(e),a=A.S(n),l=A.S(r),c=A.S(s),A.wrapException("Failed to parse "+a+' for "pkg:'+l+'": '+c)}if(null!=(f=y._resolvePackageExports$4(g,_,o,r))){if(C.Set_FTDN4.contains$1(0,A.ParsedPath_ParsedPath$parse(f,p)._splitExtension$1(1)[1]))return u.toUri$1(u.canonicalize$1(0,f));throw a=null==_?"root":_,A.wrapException("The export for '"+a+"' in '"+A.S(r)+"' resolved to '"+f+P.x27x2c_whi)}return null==_?null!=(v=y._resolvePackageRootValues$2(g,o))?u.toUri$1(u.canonicalize$1(0,v)):$:(b=A.join(g,_,$),I.$get$FilesystemImporter_cwd().canonicalize$1(0,u.toUri$1(b)))},load$1:(e,t)=>I.$get$FilesystemImporter_cwd().load$1(0,t),_resolvePackageRoot$2(e,t){for(var r,n;;){if(r=A.join(t,"node_modules",e),A.dirExists(r))return r;if(1===(n=I.$get$context()).split$1(0,t).length)return null;t=n.dirname$1(t)}},_resolvePackageRootValues$2(e,t){var r,n,i,o,s=null,a=t.$index(0,"sass");return"string"==typeof a?(r=C.Set_FTDN4.contains$1(0,A.ParsedPath_ParsedPath$parse(a,I.$get$url().style)._splitExtension$1(1)[1]),n=a):(n=s,r=!1),r?A.join(e,n,s):("string"==typeof(i=t.$index(0,"style"))?(r=C.Set_FTDN4.contains$1(0,A.ParsedPath_ParsedPath$parse(i,I.$get$url().style)._splitExtension$1(1)[1]),o=i):(o=s,r=!1),r?A.join(e,o,s):A.resolveImportPath(A.join(e,"index",s)))},_resolvePackageExports$4(e,t,r,n){var i,o,s=this,a=r.$index(0,"exports");return null==a?null:null!=(i=s._nodePackageExportsResolve$5(e,s._exportsToCheck$1(t),a,t,n))?i:null!=t&&0!==A.ParsedPath_ParsedPath$parse(t,I.$get$url().style)._splitExtension$1(1)[1].length?null:null!=(o=s._nodePackageExportsResolve$5(e,s._exportsToCheck$2$addIndex(t,!0),a,t,n))?o:null},_nodePackageExportsResolve$5(e,t,r,n,i){var o,s,a,l=!1;if(D.Map_String_dynamic._is(r)&&(o=r.get$keys(r)).any$1(o,new A.NodePackageImporter__nodePackageExportsResolve_closure)&&(l=(l=r.get$keys(r)).any$1(l,new A.NodePackageImporter__nodePackageExportsResolve_closure0)),l)throw l=r.get$keys(r),A.wrapException("`exports` in "+i+P.x20can_n+l.map$1$1(l,new A.NodePackageImporter__nodePackageExportsResolve_closure1,D.String).join$1(0,",")+" in "+A.join(e,"package.json",null)+".");return l=D.NonNullsIterable_String,l=A.LinkedHashSet_LinkedHashSet$of(new A.NonNullsIterable(new A.MappedListIterable(t,new A.NodePackageImporter__nodePackageExportsResolve_closure2(this,r,e),A._arrayInstanceType(t)._eval$1("MappedListIterable<1,String?>")),l),l._eval$1("Iterable.E")),1!==(a=(s=A.List_List$_of(l,A._instanceType(l)._precomputed1)).length)?a<=0?l=null:(l=null==n?"root":n,l=A.throwExpression(P.Unable+l+" in "+i+" should be used. \n\nFound:\n"+C.JSArray_methods.join$1(s,"\n"))):l=s[0],l},_compareExpansionKeys$2(e,t){var r=C.JSString_methods.contains$1(e,"*"),n=r?C.JSString_methods.indexOf$1(e,"*")+1:e.length,i=C.JSString_methods.contains$1(t,"*"),o=i?C.JSString_methods.indexOf$1(t,"*")+1:t.length;return n>o?-1:o>n?1:r?i?(r=e.length)>(i=t.length)?-1:i>r?1:0:-1:1},_packageTargetResolve$4(e,t,r,n){var i,o,s,a,l,c,u,d,h,p=null,m="string"==typeof t;if(m?(i=!C.JSString_methods.startsWith$1(t,"./"),o=t):(o=p,i=!1),i)throw A.wrapException("Export '"+A.S(o)+P.x27x20must+r+"'.");if(m?(i=null!=n,o=t):(o=p,i=!1),i)return m=w.replaceFirst$2$s(o,"*",n),s=(i=I.$get$context()).normalize$1(A.join(r,i.style.pathFromUri$1(A._parseUri(m)),p)),A.fileExists(s)?s:p;if(o=m?t:p,m)return m=I.$get$context(),o.toString,A.join(r,m.style.pathFromUri$1(A._parseUri(o)),p);if(a=(m=D.Map_String_dynamic._is(t))?t:p,m){for(m=(m=A.MapExtensions_get_pairs(a,D.String,D.dynamic)).get$iterator(m);m.moveNext$0();)if(l=(i=m.get$current(m))._0,c=i._1,C.Set_8229z.contains$1(0,l)&&null!=c&&null!=(u=this._packageTargetResolve$4(e,c,r,n)))return u;return p}if((m=D.List_dynamic._is(t))&&w.get$length$asx(t)<=0)return p;if(d=m?t:p,m){for(m=w.get$iterator$ax(d);m.moveNext$0();)if(null!=(c=m.get$current(m))&&null!=(h=this._packageTargetResolve$4(e,c,r,n)))return h;return p}throw A.wrapException("Invalid 'exports' value "+A.S(t)+" in "+A.join(r,"package.json",p)+".")},_packageTargetResolve$3(e,t,r){return this._packageTargetResolve$4(e,t,r,null)},_getMainExport$1(e){var t,r,n,i,o;return t=null,"string"!=typeof e?D.List_String._is(e)?t=e:((r=D.Map_String_dynamic._is(e))?(n=!(n=e.get$keys(e)).any$1(n,new A.NodePackageImporter__getMainExport_closure),i=e):(i=t,n=!1),n?t=i:(n=!1,r?(null!=(o=e.$index(0,"."))||e.containsKey$1("."))&&(n=null!=o):o=null,n&&(t=r?o:e.$index(0,".")))):t=e,t},_exportsToCheck$2$addIndex(e,t){var r,n,i,o,s,a,l=D.JSArray_String,c=A._setArrayType([],l),u=null==e;if(u&&t?e="index":!u&&t&&(e=A.join(e,"index",null)),null==e)return A._setArrayType([null],D.JSArray_nullable_String);if(C.Set_FTDN4.contains$1(0,A.ParsedPath_ParsedPath$parse(e,I.$get$url().style)._splitExtension$1(1)[1])?c.push(e):C.JSArray_methods.addAll$1(c,A._setArrayType([e,e+".scss",e+".sass",e+".css"],l)),u=(l=I.$get$context()).style,r=A.ParsedPath_ParsedPath$parse(e,u).get$basename(),n=l.dirname$1(e),C.JSString_methods.startsWith$1(r,"_"))return c;for(l=A.List_List$_of(c,D.nullable_String),i=c.length,o="."===n,s=0;s<c.length;c.length===i||(0,A.throwConcurrentModificationError)(c),++s)a=c[s],o?l.push("_"+A.ParsedPath_ParsedPath$parse(a,u).get$basename()):l.push(A.join(n,"_"+A.ParsedPath_ParsedPath$parse(a,u).get$basename(),null));return l},_exportsToCheck$1(e){return this._exportsToCheck$2$addIndex(e,!1)}},A.NodePackageImporter__nodePackageExportsResolve_closure.prototype={call$1:e=>C.JSString_methods.startsWith$1(e,"."),$signature:4},A.NodePackageImporter__nodePackageExportsResolve_closure0.prototype={call$1:e=>!C.JSString_methods.startsWith$1(e,"."),$signature:4},A.NodePackageImporter__nodePackageExportsResolve_closure1.prototype={call$1:e=>'"'+e+'"',$signature:6},A.NodePackageImporter__nodePackageExportsResolve_closure2.prototype={call$1(e){var t,r,n,i,o,s,a,l,c,u,d,h,p,m=this,_=null;if(null==e)return t=m.$this,A.NullableExtension_andThen(t._getMainExport$1(m.exports),new A.NodePackageImporter__nodePackageExportsResolve__closure(t,e,m.packageRoot));if(t=m.exports,r=!D.Map_String_dynamic._is(t)||(r=t.get$keys(t)).every$1(r,new A.NodePackageImporter__nodePackageExportsResolve__closure0))return _;if(n="./"+I.$get$context().toUri$1(e).toString$0(0),t.containsKey$1(n)&&null!=t.$index(0,n)&&!C.JSString_methods.contains$1(n,"*"))return null==(t=t.$index(0,n))&&(t=A._asObject(t)),m.$this._packageTargetResolve$3(n,t,m.packageRoot);for(r=A._setArrayType([],D.JSArray_String),i=(i=t.get$keys(t)).get$iterator(i);i.moveNext$0();)o=i.get$current(i),1===C.JSString_methods.allMatches$1("*",o).get$length(0)&&r.push(o);for(i=m.$this,C.JSArray_methods.sort$1(r,i.get$_compareExpansionKeys()),o=r.length,s=n.length,a=0;a<r.length;r.length===o||(0,A.throwConcurrentModificationError)(r),++a){if((u=2===(c=(l=r[a]).split("*")).length)?(d=c[0],h=c[1]):d=h=_,!u)throw A.wrapException(A.StateError$("Pattern matching error"));if(C.JSString_methods.startsWith$1(n,d)&&(n!==d&&(0===(u=h.length)||C.JSString_methods.endsWith$1(n,h)&&s>=l.length))){if(null==(p=t.$index(0,l)))continue;return i._packageTargetResolve$4(e,p,m.packageRoot,C.JSString_methods.substring$2(n,d.length,s-u))}}return _},$signature:146},A.NodePackageImporter__nodePackageExportsResolve__closure.prototype={call$1(e){return this.$this._packageTargetResolve$3(this.variant,e,this.packageRoot)},$signature:147},A.NodePackageImporter__nodePackageExportsResolve__closure0.prototype={call$1:e=>!C.JSString_methods.startsWith$1(e,"."),$signature:4},A.NodePackageImporter__getMainExport_closure.prototype={call$1:e=>C.JSString_methods.startsWith$1(e,"."),$signature:4},A.ImporterResult.prototype={get$sourceMapUrl(e){return this._sourceMapUrl}},A.resolveImportPath_closure.prototype={call$0(){return A._exactlyOne(A._tryPath(I.$get$context().withoutExtension$1(this.path)+".import"+this.extension))},$signature:47},A.resolveImportPath_closure0.prototype={call$0(){return A._exactlyOne(A._tryPathWithExtensions(this.path+".import"))},$signature:47},A._tryPathAsDirectory_closure.prototype={call$0(){return A._exactlyOne(A._tryPathWithExtensions(A.join(this.path,"index.import",null)))},$signature:47},A._exactlyOne_closure.prototype={call$1(e){var t=I.$get$context();return"  "+t.prettyUri$1(t.toUri$1(e))},$signature:6},A.InterpolationBuffer.prototype={writeCharCode$1(e){var t=this._interpolation_buffer$_text,r=A.Primitives_stringFromCharCode(e);return t._contents+=r,null},add$2(e,t,r){this._flushText$0(),this._interpolation_buffer$_contents.push(t),this._spans.push(r)},addInterpolation$1(e){var t,r,n,i,o,s,a,l=this,c=e.contents,u=c.length;0!==u&&(t=e.spans,(r=u>=1)?u="string"==typeof(n=c[0]):(n=null,u=!1),u&&(i=A._asString(r?n:c[0]),o=C.JSArray_methods.sublist$1(c,1),(u=l._interpolation_buffer$_text)._contents+=i,t=A.SubListIterable$(t,1,null,A._arrayInstanceType(t)._precomputed1),c=o),l._flushText$0(),u=l._interpolation_buffer$_contents,C.JSArray_methods.addAll$1(u,c),s=l._spans,C.JSArray_methods.addAll$1(s,t),"string"==typeof C.JSArray_methods.get$last(u)&&(a=l._interpolation_buffer$_text,u=A.S(u.pop()),a._contents+=u,s.pop()))},_flushText$0(){var e=this._interpolation_buffer$_text,t=e._contents;0!==t.length&&(this._interpolation_buffer$_contents.push((t.charCodeAt(0),t)),this._spans.push(null),e._contents="")},interpolation$1(e){var t=A.List_List$_of(this._interpolation_buffer$_contents,D.Object),r=this._interpolation_buffer$_text,n=r._contents;return 0!==n.length&&t.push((n.charCodeAt(0),n)),n=A.List_List$_of(this._spans,D.nullable_FileSpan),0!==r._contents.length&&n.push(null),A.Interpolation$(t,n,e)},toString$0(e){var t,r,n,i,o;for(r=(t=this._interpolation_buffer$_contents).length,n=0,i="";n<t.length;t.length===r||(0,A.throwConcurrentModificationError)(t),++n)i="string"==typeof(o=t[n])?i+o:i+"#{"+A.S(o)+A.Primitives_stringFromCharCode(125);return(t=i+this._interpolation_buffer$_text.toString$0(0)).charCodeAt(0),t}},A.InterpolationMap.prototype={mapException$1(e){var t,r,n,i,o,s=this,a=e.get$span(e),l=s._interpolation,c=l.contents;return 0===c.length?s._isMapped$1(a)?e:new A.SourceSpanFormatException(e.get$source(),e._span_exception$_message,l.span):(t=s.mapSpan$1(a))===a?e:(r=s._indexInContents$1(a.get$start(a)),n=s._indexInContents$1(a.get$end(a)),l=e._span_exception$_message,A.SubListIterable$(c,r,null,A._arrayInstanceType(c)._precomputed1).take$1(0,n-r+1).any$1(0,new A.InterpolationMap_mapException_closure)?(c=D.SourceSpan,i=D.String,o=A.LinkedHashMap_LinkedHashMap$_literal([a,"error in interpolated output"],c,i),new A.MultiSourceSpanFormatException(e.get$source(),"",A.ConstantMap_ConstantMap$from(o,c,i),l,t)):new A.SourceSpanFormatException(e.get$source(),l,t))},mapSpan$1(e){var t,r,n,i,o,s,a,l,c=this,u=null;return c._isMapped$1(e)?e:(t=c._mapLocation$1(e.get$start(e)),r=c._mapLocation$1(e.get$end(e)),o=!1,(i=(n=D.FileSpan)._is(t))?(o=n._is(r),s=t,a=r):a=s=u,o?n=s.expand$1(0,n._as(i?a:r)):(o=!1,n._is(t)?(i?o=a:(a=o=r,i=!0),o=o instanceof A.FileLocation,s=t):s=u,o?(n=i?a:r,D.FileLocation._as(n),n=(o=c._interpolation.span).get$file(o).span$2(0,c._expandInterpolationSpanLeft$1(s.get$start(s)),n.offset)):(o=!1,t instanceof A.FileLocation?(i?o=a:(a=o=r,i=!0),o=n._is(o),s=t):s=u,o?(l=n._as(i?a:r),n=(n=c._interpolation.span).get$file(n).span$2(0,s.offset,c._expandInterpolationSpanRight$1(l.get$end(l)))):(n=!1,t instanceof A.FileLocation?(i?n=a:(a=n=r,i=!0),n=n instanceof A.FileLocation,s=t):s=u,n?(n=i?a:r,D.FileLocation._as(n),n=(o=c._interpolation.span).get$file(o).span$2(0,s.offset,n.offset)):n=A.throwExpression("[BUG] Unreachable")))),n)},_isMapped$1(e){var t;return e.get$file(e)===(t=(t=this._interpolation.span).get$file(t))},_mapLocation$1(e){var t,r,n,i,o=this,s=o._interpolation,a=s.contents;return 0===a.length?s.span:(r=a[t=o._indexInContents$1(e)])instanceof A.Expression?r.get$span(r):(n=0===t,s=s.span,n?i=s.get$start(s):(s=s.get$file(s),a=(a=D.Expression._as(a[t-1])).get$span(a),i=A.FileLocation$_(s,o._expandInterpolationSpanRight$1(a.get$end(a)))),s=n?0:o._targetOffsets[t-1],A.FileLocation$_(i.file,i.offset+(e.offset-s)))},_indexInContents$1(e){var t,r,n,i;for(r=(t=this._targetOffsets).length,n=e.offset,i=0;i<r;++i)if(n<t[i])return i;return this._interpolation.contents.length-1},_expandInterpolationSpanLeft$1(e){for(var t,r,n,i=e.file._decodedChars,o=e.offset-1;o>=0;)if(t=o-1,123===(r=i[o])){if(35===i[t]){o=t;break}o=t}else if(47===r){if(o=t-1,42===i[t])for(;;)if(t=o-1,42===i[o]){for(o=t;;){if(t=o-1,42!==(n=i[o]))break;o=t}if(47===n){o=t;break}o=t}else o=t}else o=t;return o},_expandInterpolationSpanRight$1(e){var t,r,n,i,o,s,a=e.file._decodedChars,l=e.offset;for(t=a.length;l<t;){if(r=l+1,125===(n=a[l])){l=r;break}if(47===n){if(l=r+1,47===(i=a[r])){for(;r=l+1,10!==(o=a[l])&&13!==o&&12!==o;)l=r;l=r}else if(42===i)for(;;)if(r=l+1,42===a[l]){for(l=r;;){if(r=l+1,42!==(s=a[l]))break;l=r}if(47===s){l=r;break}l=r}else l=r}else l=r}return l}},A.InterpolationMap_mapException_closure.prototype={call$1:e=>e instanceof A.Expression,$signature:73},A._realCasePath_helper.prototype={call$2(e,t){var r=I.$get$context().dirname$1(e);return r===e?e:I._realCaseCache.putIfAbsent$2(e,new A._realCasePath_helper_closure(e,t,this,r))},call$1(e){return this.call$2(e,null)},$signature:149},A._realCasePath_helper_closure.prototype={call$0(){var e,t,r,n,i,o,s,a=this,l=a.path;if(!A.linkExists(l)){e=null;try{e=null==(s=a.realPath)?A.realpath(l):s}catch(e){if(A.unwrapException(e)instanceof A.FileSystemException)return l;throw e}return i=e,l=I.$get$context(),A.join(a.helper.call$2(a.dirname,l.dirname$1(i)),A.ParsedPath_ParsedPath$parse(e,l.style).get$basename(),null)}t=a.helper.call$1(a.dirname),r=A.ParsedPath_ParsedPath$parse(l,I.$get$context().style).get$basename();try{return n=w.where$1$ax(A.listDir(t,!1),new A._realCasePath_helper__closure(r)).toList$0(0),i=null,o=n,i=1!==w.get$length$asx(o)?A.join(t,r,null):w.$index$asx(o,0)}catch(e){if(A.unwrapException(e)instanceof A.FileSystemException)return l;throw e}},$signature:29},A._realCasePath_helper__closure.prototype={call$1(e){return A.equalsIgnoreCase(A.ParsedPath_ParsedPath$parse(e,I.$get$context().style).get$basename(),this.basename)},$signature:4},A.FileSystemException.prototype={toString$0(e){var t=I.$get$context();return t.prettyUri$1(t.toUri$1(this.path))+": "+this.message},get$message(e){return this.message}},A._readFile_closure.prototype={call$0(){return w.readFileSync$2$x(A.fs(),this.path,this.encoding)},$signature:64},A.writeFile_closure.prototype={call$0(){return w.writeFileSync$2$x(A.fs(),this.path,this.contents)},$signature:0},A.deleteFile_closure.prototype={call$0(){return w.unlinkSync$1$x(A.fs(),this.path)},$signature:0},A.readStdin_closure.prototype={call$1(e){this._box_0.contents=e,this.completer.complete$1(e)},$signature:90},A.readStdin_closure0.prototype={call$1(e){this.sink.add$1(0,D.List_int._as(e))},call$0(){return this.call$1(null)},"call*":"call$1",$requiredArgCount:0,$defaultValues:()=>[null],$signature:84},A.readStdin_closure1.prototype={call$1(e){this.sink.close$0(0)},call$0(){return this.call$1(null)},"call*":"call$1",$requiredArgCount:0,$defaultValues:()=>[null],$signature:84},A.readStdin_closure2.prototype={call$1(e){A.printError("Failed to read from stdin"),A.printError(e),e.toString,this.completer.completeError$1(e)},call$0(){return this.call$1(null)},"call*":"call$1",$requiredArgCount:0,$defaultValues:()=>[null],$signature:84},A.fileExists_closure.prototype={call$0(){var e,t,r=this.path;if(!w.existsSync$1$x(A.fs(),r))return!1;try{return r=w.isFile$0$x(w.statSync$1$x(A.fs(),r))}catch(r){if(e=A.unwrapException(r),t=D.JsSystemError._as(e),w.$eq$(w.get$code$x(t),"ENOENT"))return!1;throw r}},$signature:20},A.dirExists_closure.prototype={call$0(){var e,t,r=this.path;if(!w.existsSync$1$x(A.fs(),r))return!1;try{return r=w.isDirectory$0$x(w.statSync$1$x(A.fs(),r))}catch(r){if(e=A.unwrapException(r),t=D.JsSystemError._as(e),w.$eq$(w.get$code$x(t),"ENOENT"))return!1;throw r}},$signature:20},A.linkExists_closure.prototype={call$0(){var e,t;try{return w.isSymbolicLink$0$x(w.lstatSync$1$x(A.fs(),this.path))}catch(r){if(e=A.unwrapException(r),t=D.JsSystemError._as(e),w.$eq$(w.get$code$x(t),"ENOENT"))return!1;throw r}},$signature:20},A.ensureDir_closure.prototype={call$0(){var e,t,r;try{w.mkdirSync$1$x(A.fs(),this.path)}catch(n){if(e=A.unwrapException(n),t=D.JsSystemError._as(e),w.$eq$(w.get$code$x(t),"EEXIST"))return;if(!w.$eq$(w.get$code$x(t),"ENOENT"))throw n;r=this.path,A.ensureDir(I.$get$context().dirname$1(r)),w.mkdirSync$1$x(A.fs(),r)}},$signature:0},A.listDir_closure.prototype={call$0(){var e=this.path;return this.recursive?(new A.listDir_closure_list).call$1(e):w.map$1$1$ax(w.readdirSync$1$x(A.fs(),e),new A.listDir__closure(e),D.String).super$Iterable$where(0,new A.listDir__closure0)},$signature:152},A.listDir__closure.prototype={call$1(e){return A.join(this.path,A._asString(e),null)},$signature:134},A.listDir__closure0.prototype={call$1:e=>!A.dirExists(e),$signature:4},A.listDir_closure_list.prototype={call$1(e){return w.expand$1$1$ax(w.readdirSync$1$x(A.fs(),e),new A.listDir__list_closure(e,this),D.String)},$signature:153},A.listDir__list_closure.prototype={call$1(e){var t=A.join(this.parent,A._asString(e),null);return A.dirExists(t)?this.list.call$1(t):A._setArrayType([t],D.JSArray_String)},$signature:154},A.realpath_closure.prototype={call$0(){return w.native$1$x(w.get$realpathSync$x(A.fs()),this.path)},$signature:29},A.modificationTime_closure.prototype={call$0(){return A.DateTime$fromMillisecondsSinceEpoch(w.getTime$0$x(w.get$mtime$x(w.statSync$1$x(A.fs(),this.path))))},$signature:155},A.watchDir_closure0.prototype={call$2(e,t){var r,n,i,o,s,a;if(null!=e)null!=(r=this._box_0.controller)&&r.addError$1(e);else for(r=w.get$iterator$ax(t),n=this._box_0;r.moveNext$0();)switch((i=r.get$current(r)).type){case"create":null!=(o=n.controller)&&(i=new A.WatchEvent(C.ChangeType_add,i.path),(s=o._state)>=4&&A.throwExpression(o._badEventState$0()),1&s?o._sendData$1(i):3&s||(o=o._ensurePendingEvents$0(),i=new A._DelayedData(i),null==(a=o.lastPendingEvent)?o.firstPendingEvent=o.lastPendingEvent=i:(a.set$next(i),o.lastPendingEvent=i)));break;case"update":null!=(o=n.controller)&&(i=new A.WatchEvent(C.ChangeType_modify,i.path),(s=o._state)>=4&&A.throwExpression(o._badEventState$0()),1&s?o._sendData$1(i):3&s||(o=o._ensurePendingEvents$0(),i=new A._DelayedData(i),null==(a=o.lastPendingEvent)?o.firstPendingEvent=o.lastPendingEvent=i:(a.set$next(i),o.lastPendingEvent=i)));break;case"delete":null!=(o=n.controller)&&(i=new A.WatchEvent(C.ChangeType_remove,i.path),(s=o._state)>=4&&A.throwExpression(o._badEventState$0()),1&s?o._sendData$1(i):3&s||(o=o._ensurePendingEvents$0(),i=new A._DelayedData(i),null==(a=o.lastPendingEvent)?o.firstPendingEvent=o.lastPendingEvent=i:(a.set$next(i),o.lastPendingEvent=i)))}},$signature:344},A.watchDir_closure.prototype={call$0(){this.subscription.unsubscribe()},$signature:1},A.watchDir_closure1.prototype={call$2(e,t){var r=this._box_0.controller;return null==r?null:r.add$1(0,new A.WatchEvent(C.ChangeType_add,e))},call$1(e){return this.call$2(e,null)},"call*":"call$2",$requiredArgCount:1,$defaultValues:()=>[null],$signature:156},A.watchDir_closure2.prototype={call$2(e,t){var r=this._box_0.controller;return null==r?null:r.add$1(0,new A.WatchEvent(C.ChangeType_modify,e))},call$1(e){return this.call$2(e,null)},"call*":"call$2",$requiredArgCount:1,$defaultValues:()=>[null],$signature:156},A.watchDir_closure3.prototype={call$1(e){var t=this._box_0.controller;return null==t?null:t.add$1(0,new A.WatchEvent(C.ChangeType_remove,e))},$signature:90},A.watchDir_closure4.prototype={call$1(e){var t=this._box_0.controller;return null==t?null:t.addError$1(e)},$signature:97},A.watchDir_closure5.prototype={call$0(){var e=A.StreamController_StreamController(new A.watchDir__closure(this.watcher),null,null,null,!1,D.WatchEvent);this._box_0.controller=e,this.completer.complete$1(new A._ControllerStream(e,A._instanceType(e)._eval$1("_ControllerStream<1>")))},$signature:1},A.watchDir__closure.prototype={call$0(){w.close$0$x(this.watcher)},$signature:1},A.JSArray0.prototype={},A.Chokidar.prototype={},A.ChokidarOptions.prototype={},A.ChokidarWatcher.prototype={},A.JSFunction.prototype={},A.ImmutableList.prototype={},A.ImmutableMap.prototype={},A.NodeImporterResult.prototype={},A.RenderContext.prototype={},A.RenderContextOptions.prototype={},A.RenderContextResult.prototype={},A.RenderContextResultStats.prototype={},A.JSModule.prototype={},A.JSModuleRequire.prototype={},A.ParcelWatcher_subscribe_closure.prototype={call$2(e,t){var r=D.List_JSObject._is(t)?t:new A.CastList(t,A._arrayInstanceType(t)._eval$1("CastList<1,JSObject>"));this.callback.call$2(e,r)},$signature:385},A.JSClass.prototype={},A.JSUrl.prototype={},A._PropertyDescriptor.prototype={},A._RequireMain.prototype={},A.LoggerWithDeprecationType.prototype={warn$4$deprecation$span$trace(e,t,r,n,i){this.internalWarn$4$deprecation$span$trace(t,r?C.Deprecation_5Ka:null,n,i)},warn$1(e,t){return this.warn$4$deprecation$span$trace(0,t,!1,null,null)},warn$3$span$trace(e,t,r,n){return this.warn$4$deprecation$span$trace(0,t,!1,r,n)}},A._QuietLogger.prototype={warn$4$deprecation$span$trace(e,t,r,n,i){},warn$1(e,t){return this.warn$4$deprecation$span$trace(0,t,!1,null,null)},warn$3$span$trace(e,t,r,n){return this.warn$4$deprecation$span$trace(0,t,!1,r,n)},debug$2(e,t,r){}},A.DefaultLogger.prototype={get$_default$_inner(){var e=I._default;return null==e&&(e=I._default=new A.StderrLogger(A.hasTerminal()||A.isBrowser())),e},internalWarn$4$deprecation$span$trace(e,t,r,n){return this.get$_default$_inner().internalWarn$4$deprecation$span$trace(e,t,r,n)},debug$2(e,t,r){return this.get$_default$_inner().debug$2(0,t,r)}},A.DeprecationProcessingLogger.prototype={validate$0(){var e,t,r,n,i,o=this,s=null;for(e=(e=o.fatalDeprecations).get$iterator(e),t=o.silenceDeprecations;e.moveNext$0();)(i=null==(n=(r=e.get$current(e))._obsoleteIn)?s:A.Version___parse_tearOff(n))instanceof A.Version?(r=r.toString$0(0),o.internalWarn$4$deprecation$span$trace(r+P.x20deprex20ix2c,s,s,s)):(i=t.contains$1(0,r))&&(r=r.toString$0(0),o.internalWarn$4$deprecation$span$trace("Ignoring setting to silence "+r+P.x20deprex2c,s,s,s));for(t=(e=A._LinkedHashSetIterator$(t,t._collection$_modifications,A._instanceType(t)._precomputed1)).$ti._precomputed1,r=o.futureDeprecations;e.moveNext$0();)null==(i=e._collection$_current)&&(i=t._as(i)),C.Deprecation_5Ka!==i?(null==(n=i._obsoleteIn)?s:A.Version___parse_tearOff(n))instanceof A.Version&&(i=i.toString$0(0),o.internalWarn$4$deprecation$span$trace(i+P.x20deprex20ix2e,s,s,s)):o.internalWarn$4$deprecation$span$trace(P.User_a,s,s,s);for(t=(e=A._LinkedHashSetIterator$(r,r._collection$_modifications,A._instanceType(r)._precomputed1)).$ti._precomputed1;e.moveNext$0();)r=(null==(r=e._collection$_current)?t._as(r):r).toString$0(0),o.internalWarn$4$deprecation$span$trace(r+P.x20is_noaf,s,s,s)},internalWarn$4$deprecation$span$trace(e,t,r,n){null!=t?this._handleDeprecation$4$span$trace(t,e,r,n):this._inner.warn$3$span$trace(0,e,r,n)},_handleDeprecation$4$span$trace(e,t,r,n){var i,o,s,a,l,c,u,d=this,h=null;if(d.fatalDeprecations.contains$1(0,e))throw t+=P.x0a_This+e.toString$0(0)+P.x20deprex20t,o=!1,(i=null!=r)?(o=null!=n,s=r,a=n):a=s=h,o?(i&&(n=a),o=A.SassRuntimeException$(t,s,null==n?D.Trace._as(n):n,h)):(o=!1,null!=r?o=null==(i?a:n):r=h,o=o?A.SassException$(t,r,h):A.SassScriptException$(t,h)),A.wrapException(o);d.silenceDeprecations.contains$1(0,e)||d.limitRepetition&&(c=(null==(l=(o=d._warningCounts).$index(0,e))?0:l)+1,o.$indexSet(0,e,c),c>5)||((u=d._inner)instanceof A.LoggerWithDeprecationType?u.internalWarn$4$deprecation$span$trace(t,e,r,n):u.warn$4$deprecation$span$trace(0,t,!0,r,n))},debug$2(e,t,r){return this._inner.debug$2(0,t,r)},summarize$1$js(e){var t=this._warningCounts,r=A._instanceType(t)._eval$1("LinkedHashMapValuesIterable<2>"),n=A.IterableIntegerExtension_get_sum(new A.MappedIterable(new A.WhereIterable(new A.LinkedHashMapValuesIterable(t,r),new A.DeprecationProcessingLogger_summarize_closure,r._eval$1("WhereIterable<Iterable.E>")),new A.DeprecationProcessingLogger_summarize_closure0,r._eval$1("MappedIterable<Iterable.E,int>")));n>0&&(t=e?"":P.x0aRun_i,this._inner.warn$1(0,""+n+P.x20repet+t))}},A.DeprecationProcessingLogger_summarize_closure.prototype={call$1:e=>e>5,$signature:50},A.DeprecationProcessingLogger_summarize_closure0.prototype={call$1:e=>e-5,$signature:157},A.StderrLogger.prototype={internalWarn$4$deprecation$span$trace(e,t,r,n){var i,o=new A.StringBuffer(""),s=null!=t,a=s&&t!==C.Deprecation_5Ka,l=this.color;l?(i=o._contents="",i=o._contents=(s?o._contents="Deprecation ":i)+"Warning",a?(s=i+" ["+t.toString$0(0)+"]",o._contents=s):s=i):(i=o._contents=(s?o._contents="DEPRECATION ":"")+"WARNING",a?(s=i+" ["+t.toString$0(0)+"]",o._contents=s):s=i),null==r?s=o._contents=s+": "+e+"\n":null!=n?(s+=": "+e+"\n\n"+r.highlight$1$color(l)+"\n",o._contents=s):(s+=" on "+r.message$2$color(0,"\n"+e,l)+"\n",o._contents=s),null!=n&&(o._contents=s+(A.indent(C.JSString_methods.trimRight$0(n.toString$0(0)),4)+"\n")),A.printError(o)},debug$2(e,t,r){var n,i,o;null==r.get$start(r).file.url?n="-":(i=r.get$start(r).file.url,o=I.$get$context(),i.toString,n=o.prettyUri$1(i)),o=n+":"+((i=(i=r.get$start(r)).file.getLine$1(i.offset))+1)+" "+(o=this.color?"Debug":"DEBUG")+": "+t,A.printError((o.charCodeAt(0),o))}},A.TrackingLogger.prototype={warn$4$deprecation$span$trace(e,t,r,n,i){this._emittedWarning=!0,this._tracking$_logger.warn$4$deprecation$span$trace(0,t,r,n,i)},warn$1(e,t){return this.warn$4$deprecation$span$trace(0,t,!1,null,null)},warn$3$span$trace(e,t,r,n){return this.warn$4$deprecation$span$trace(0,t,!1,r,n)},debug$2(e,t,r){this._emittedDebug=!0,this._tracking$_logger.debug$2(0,t,r)}},A.BuiltInModule.prototype={get$upstream:()=>C.List_empty7,get$variableNodes:()=>C.Map_empty3,get$extensionStore:()=>C.C_EmptyExtensionStore,get$css(e){return new A.CssStylesheet(C.List_empty3,A.SourceFile$decoded(C.List_empty4,this.url).span$2(0,0,0))},get$preModuleComments:()=>C.Map_empty1,get$transitivelyContainsCss:()=>!1,get$transitivelyContainsExtensions:()=>!1,setVariable$3(e,t,r){if(!this.variables.containsKey$1(e))throw A.wrapException(A.SassScriptException$("Undefined variable.",null));throw A.wrapException(A.SassScriptException$("Cannot modify built-in variable.",null))},variableIdentity$1(e){return this},couldHaveBeenConfigured$1:e=>!1,cloneCss$0(){return this},$isModule0:1,get$url(e){return this.url},get$functions(e){return this.functions},get$mixins(){return this.mixins},get$variables(){return this.variables}},A.ForwardedModuleView.prototype={get$url(e){var t=this._forwarded_view$_inner;return t.get$url(t)},get$upstream(){return this._forwarded_view$_inner.get$upstream()},get$extensionStore(){return this._forwarded_view$_inner.get$extensionStore()},get$css(e){var t=this._forwarded_view$_inner;return t.get$css(t)},get$preModuleComments(){return this._forwarded_view$_inner.get$preModuleComments()},get$transitivelyContainsCss(){return this._forwarded_view$_inner.get$transitivelyContainsCss()},get$transitivelyContainsExtensions(){return this._forwarded_view$_inner.get$transitivelyContainsExtensions()},setVariable$3(e,t,r){var n,i,o="Undefined variable.",s=this._rule,a=s.shownVariables;if(null!=a&&!a._base.contains$1(0,e))throw A.wrapException(A.SassScriptException$(o,null));if(null!=(n=s.hiddenVariables)&&n._base.contains$1(0,e))throw A.wrapException(A.SassScriptException$(o,null));if(null!=(i=s.prefix)){if(!C.JSString_methods.startsWith$1(e,i))throw A.wrapException(A.SassScriptException$(o,null));e=C.JSString_methods.substring$1(e,i.length)}return this._forwarded_view$_inner.setVariable$3(e,t,r)},variableIdentity$1(e){var t=this._rule.prefix;return null!=t&&(e=C.JSString_methods.substring$1(e,t.length)),this._forwarded_view$_inner.variableIdentity$1(e)},couldHaveBeenConfigured$1(e){var t,r,n,i,o,s=this,a=s._rule,l=a.prefix,c=null==l,u=!1;if(c&&null==a.shownVariables&&(u=!1!==(u=null==(u=a.hiddenVariables)?null:u._base.get$isEmpty(0))),u)return s._forwarded_view$_inner.couldHaveBeenConfigured$1(e);if(!c){for(c=A.LinkedHashSet_LinkedHashSet$_empty(D.String),u=e.get$iterator(e),t=l.length;u.moveNext$0();)r=u.get$current(u),C.JSString_methods.startsWith$1(r,l)&&c.add$1(0,C.JSString_methods.substring$1(r,t));e=c}return null!=(n=a.shownVariables)?s._forwarded_view$_inner.couldHaveBeenConfigured$1(e.intersection$1(n)):(null!=(i=a.hiddenVariables)?(a=i._base.get$isNotEmpty(0),o=i):(o=null,a=!1),l=s._forwarded_view$_inner,a?l.couldHaveBeenConfigured$1(e.difference$1(o)):l.couldHaveBeenConfigured$1(e))},$eq(e,t){return null!=t&&(t instanceof A.ForwardedModuleView&&this._forwarded_view$_inner.$eq(0,t._forwarded_view$_inner)&&this._rule===t._rule)},get$hashCode(e){var t=this._forwarded_view$_inner;return(t.get$hashCode(t)^A.Primitives_objectHashCode(this._rule))>>>0},cloneCss$0(){return A.ForwardedModuleView$(this._forwarded_view$_inner.cloneCss$0(),this._rule,this.$ti._precomputed1)},toString$0(e){return"forwarded "+this._forwarded_view$_inner.toString$0(0)},$isModule0:1,get$variables(){return this.variables},get$variableNodes(){return this.variableNodes},get$functions(e){return this.functions},get$mixins(){return this.mixins}},A.ShadowedModuleView.prototype={get$url(e){var t=this._shadowed_view$_inner;return t.get$url(t)},get$upstream(){return this._shadowed_view$_inner.get$upstream()},get$extensionStore(){return this._shadowed_view$_inner.get$extensionStore()},get$css(e){var t=this._shadowed_view$_inner;return t.get$css(t)},get$preModuleComments(){return this._shadowed_view$_inner.get$preModuleComments()},get$transitivelyContainsCss(){return this._shadowed_view$_inner.get$transitivelyContainsCss()},get$transitivelyContainsExtensions(){return this._shadowed_view$_inner.get$transitivelyContainsExtensions()},setVariable$3(e,t,r){if(!this.variables.containsKey$1(e))throw A.wrapException(A.SassScriptException$("Undefined variable.",null));this._shadowed_view$_inner.setVariable$3(e,t,r)},variableIdentity$1(e){return this._shadowed_view$_inner.variableIdentity$1(e)},couldHaveBeenConfigured$1(e){var t,r,n=this.variables,i=this._shadowed_view$_inner;if(n===i.get$variables())n=i.couldHaveBeenConfigured$1(e);else{for(t=A.LinkedHashSet_LinkedHashSet$_empty(D.String),n=(n=n.get$keys(n)).get$iterator(n);n.moveNext$0();)r=n.get$current(n),e.contains$1(0,r)&&t.add$1(0,r);n=i.couldHaveBeenConfigured$1(t)}return n},$eq(e,t){var r,n,i,o=this;return null!=t&&(r=!1,t instanceof A.ShadowedModuleView&&o._shadowed_view$_inner.$eq(0,t._shadowed_view$_inner)&&(n=(n=o.variables).get$keys(n),i=t.variables,C.C_IterableEquality.equals$2(0,n,i.get$keys(i))&&(n=(n=o.functions).get$keys(n),i=t.functions,C.C_IterableEquality.equals$2(0,n,i.get$keys(i))&&(r=(r=o.mixins).get$keys(r),n=t.mixins,r=n=C.C_IterableEquality.equals$2(0,r,n.get$keys(n))))),r)},get$hashCode(e){var t=this._shadowed_view$_inner;return t.get$hashCode(t)},cloneCss$0(){var e=this;return new A.ShadowedModuleView(e._shadowed_view$_inner.cloneCss$0(),e.variables,e.variableNodes,e.functions,e.mixins,e.$ti)},toString$0(e){return"shadowed "+this._shadowed_view$_inner.toString$0(0)},$isModule0:1,get$variables(){return this.variables},get$variableNodes(){return this.variableNodes},get$functions(e){return this.functions},get$mixins(){return this.mixins}},A.AtRootQueryParser.prototype={parse$0(e){return this.wrapSpanFormatException$1(new A.AtRootQueryParser_parse_closure(this))}},A.AtRootQueryParser_parse_closure.prototype={call$0(){var e,t,r=this.$this,n=r.scanner;n.expectChar$1(40),r.whitespace$1$consumeNewlines(!0),(e=r.scanIdentifier$1("with"))||r.expectIdentifier$2$name("without",'"with" or "without"'),r.whitespace$1$consumeNewlines(!0),n.expectChar$1(58),r.whitespace$1$consumeNewlines(!0),t=A.LinkedHashSet_LinkedHashSet$_empty(D.String);do{t.add$1(0,r.identifier$0().toLowerCase()),r.whitespace$1$consumeNewlines(!0)}while(r.lookingAtIdentifier$0());return n.expectChar$1(41),n.expectDone$0(),new A.AtRootQuery(e,t,t.contains$1(0,"all"),t.contains$1(0,"rule"))},$signature:423},A._disallowedFunctionNames_closure.prototype={call$1:e=>e.name,$signature:424},A.CssParser.prototype={get$plainCss:()=>!0,silentComment$0(){var e,t,r=this;if(r._inExpression)return!1;t=(e=r.scanner)._string_scanner$_position,r.super$Parser$silentComment(),r.error$2(0,P.Silent,r.spanFrom$1(new A._SpanScannerState(e,t)))},atRule$2$root(e,t){var r,n,i,o=this,s=o.scanner,a=new A._SpanScannerState(s,s._string_scanner$_position);return s.expectChar$1(64),r=o.interpolatedIdentifier$0(),o.whitespace$1$consumeNewlines(!0),"at-root"!==(n=r.get$asPlain())&&"content"!==n&&"debug"!==n&&"each"!==n&&"error"!==n&&"extend"!==n&&"for"!==n&&"if"!==n&&"include"!==n&&"mixin"!==n&&"return"!==n&&"warn"!==n&&"while"!==n||o._forbiddenAtRule$1(a),"import"!==n?"function"!==n?s="media"!==n?"-moz-document"!==n?"supports"!==n?o.unknownAtRule$2(a,r):o.supportsRule$1(a):o.mozDocumentRule$2(a,r):o.mediaRule$1(a):(o.whitespace$1$consumeNewlines(!0),s.matches$1("--")?i=o.unknownAtRule$2(a,r):(o.almostAnyValue$0(),o.error$2(0,"This at-rule isn't allowed in plain CSS.",s.spanFrom$1(a)),i=null),s=i):s=o._cssImportRule$1(a),s},_forbiddenAtRule$1(e){this.almostAnyValue$0(),this.error$2(0,"This at-rule isn't allowed in plain CSS.",this.spanFrom$1(e))},_cssImportRule$1(e){var t,r,n,i,o,s,a,l,c,u,d=this,h=d.scanner,p=h._string_scanner$_position,m=h.peekChar$0();return 117!==m&&85!==m?r=d.interpolatedString$0().asInterpolation$1$static(!0):(t=d.dynamicUrl$0())instanceof A.StringExpression?r=t.text:(n=null,r=!1,t instanceof A.InterpolatedFunctionExpression?(i=t.name,1===(a=s=(o=t.$arguments).positional).length&&(a=l=s[0])instanceof A.StringExpression&&(D.StringExpression._as(l),(a=o.named).get$isEmpty(a)&&null==o.rest&&(r=null==o.keywordRest),n=l)):i=null,r?(r=new A.StringBuffer(""),(a=new A.InterpolationBuffer(r,A._setArrayType([],D.JSArray_Object),A._setArrayType([],D.JSArray_nullable_FileSpan))).addInterpolation$1(i),c=A.Primitives_stringFromCharCode(40),r._contents+=c,a.addInterpolation$1(n.asInterpolation$0()),c=A.Primitives_stringFromCharCode(41),r._contents+=c,r=a=a.interpolation$1(t.span)):r=d.error$2(0,"Unsupported plain CSS import.",t.get$span(t))),d.whitespace$1$consumeNewlines(!0),u=d.tryImportModifiers$0(),d.expectStatementSeparator$1("@import rule"),p=A._setArrayType([new A.StaticImport(r,u,d.spanFrom$1(new A._SpanScannerState(h,p)))],D.JSArray_Import),h=d.spanFrom$1(e),new A.ImportRule(A.List_List$unmodifiable(p,D.Import),h)},parentheses$0(){var e,t=this,r=t.scanner,n=r._string_scanner$_position;return r.expectChar$1(40),t.whitespace$1$consumeNewlines(!0),e=t.expressionUntilComma$0(),r.expectChar$1(41),new A.ParenthesizedExpression(e,t.spanFrom$1(new A._SpanScannerState(r,n)))},identifierLike$0(){var e,t,r,n,i,o=this,s=o.scanner,a=new A._SpanScannerState(s,s._string_scanner$_position),l=o.interpolatedIdentifier$0(),c=l.get$asPlain(),u=c.toLowerCase(),d=o.trySpecialFunction$2(u,a);if(null!=d)return d;if(e=s._string_scanner$_position,s.scanChar$1(46))return o.namespacedExpression$2(c,a);if("if"===u&&40===s.peekChar$0())return o.ifExpression$1(a);if(!s.scanChar$1(40))return new A.StringExpression(l,!1);if(t="var"===u,r=A._setArrayType([],D.JSArray_Expression),!s.scanChar$1(41)){do{if(o.whitespace$1$consumeNewlines(!0),t&&1===r.length&&41===s.peekChar$0()){i=(n=A.FileLocation$_(s._sourceFile,s._string_scanner$_position)).offset,i=A._FileSpan$(n.file,i,i),r.push(new A.StringExpression(new A.Interpolation(A.List_List$unmodifiable([""],D.Object),C.List_null,i),!1));break}r.push(o.expressionUntilComma$1$singleEquals(!0)),o.whitespace$1$consumeNewlines(!0)}while(s.scanChar$1(44));s.expectChar$1(41)}return I.$get$_disallowedFunctionNames().contains$1(0,c)&&o.error$2(0,P.This_f,o.spanFrom$1(a)),s=A.ArgumentList$(r,C.Map_empty4,C.Map_empty5,o.spanFrom$1(new A._SpanScannerState(s,e)),null,null),e=o.spanFrom$1(a),new A.FunctionExpression(null,A.stringReplaceAllUnchecked(c,"_","-"),c,s,e)},namespacedExpression$2(e,t){var r=this.super$StylesheetParser$namespacedExpression(e,t);this.error$2(0,P.Modulen,r.get$span(r))}},A.KeyframeSelectorParser.prototype={parse$0(e){return this.wrapSpanFormatException$1(new A.KeyframeSelectorParser_parse_closure(this))},_percentage$0(){var e,t,r=this.scanner,n=r.scanChar$1(43)?A.Primitives_stringFromCharCode(43):"",i=r.peekChar$0();for(null!=i&&i>=48&&i<=57||46===i||r.error$1(0,"Expected number.");null!=(e=r.peekChar$0())&&e>=48&&e<=57;)n+=A.Primitives_stringFromCharCode(r.readChar$0());if(46===r.peekChar$0())for(n+=A.Primitives_stringFromCharCode(r.readChar$0());null!=(e=r.peekChar$0())&&e>=48&&e<=57;)n+=A.Primitives_stringFromCharCode(r.readChar$0());if(this.scanIdentChar$1(101)){n+=A.Primitives_stringFromCharCode(101),43!==(t=r.peekChar$0())&&45!==t||(n+=A.Primitives_stringFromCharCode(r.readChar$0())),null!=(e=r.peekChar$0())&&e>=48&&e<=57||r.error$1(0,"Expected digit.");do{n+=A.Primitives_stringFromCharCode(r.readChar$0()),e=r.peekChar$0()}while(null!=e&&e>=48&&e<=57)}return r.expectChar$1(37),(n+=A.Primitives_stringFromCharCode(37)).charCodeAt(0),n}},A.KeyframeSelectorParser_parse_closure.prototype={call$0(){var e=A._setArrayType([],D.JSArray_String),t=this.$this,r=t.scanner;do{t.whitespace$1$consumeNewlines(!0),t.lookingAtIdentifier$0()?t.scanIdentifier$1("from")?e.push("from"):(t.expectIdentifier$2$name("to",'"to" or "from"'),e.push("to")):e.push(t._percentage$0()),t.whitespace$1$consumeNewlines(!0)}while(r.scanChar$1(44));return r.expectDone$0(),e},$signature:139},A.MediaQueryParser.prototype={parse$0(e){return this.wrapSpanFormatException$1(new A.MediaQueryParser_parse_closure(this))},_mediaQuery$0(){var e,t,r,n,i,o,s,a=this,l=null,c="and";if(40===a.scanner.peekChar$0())return e=A._setArrayType([a._mediaInParens$0()],D.JSArray_String),a.whitespace$1$consumeNewlines(!0),a.scanIdentifier$1(c)?(a.expectWhitespace$0(),C.JSArray_methods.addAll$1(e,a._mediaLogicSequence$1(c)),t=!0):((r=a.scanIdentifier$1("or"))&&(a.expectWhitespace$0(),C.JSArray_methods.addAll$1(e,a._mediaLogicSequence$1("or"))),t=!r),A.CssMediaQuery$condition(e,t);if(n=a.identifier$0(),A.equalsIgnoreCase(n,"not")&&(a.expectWhitespace$0(),!a.lookingAtIdentifier$0()))return A.CssMediaQuery$condition(A._setArrayType(["(not "+a._mediaInParens$0()+")"],D.JSArray_String),l);if(a.whitespace$1$consumeNewlines(!0),!a.lookingAtIdentifier$0())return A.CssMediaQuery$type(n,l,l);if(i=a.identifier$0(),A.equalsIgnoreCase(i,c))a.expectWhitespace$0(),o=n,s=l;else{if(a.whitespace$1$consumeNewlines(!0),!a.scanIdentifier$1(c))return A.CssMediaQuery$type(i,l,n);a.expectWhitespace$0(),o=i,s=n}return a.scanIdentifier$1("not")?(a.expectWhitespace$0(),A.CssMediaQuery$type(o,A._setArrayType(["(not "+a._mediaInParens$0()+")"],D.JSArray_String),s)):A.CssMediaQuery$type(o,a._mediaLogicSequence$1(c),s)},_mediaLogicSequence$1(e){var t,r,n=this,i=A._setArrayType([],D.JSArray_String);for(t=n.scanner;;){if(t.expectChar$2$name(40,"media condition in parentheses"),r=n.declarationValue$0(),t.expectChar$1(41),i.push("("+r+")"),n.whitespace$1$consumeNewlines(!0),!n.scanIdentifier$1(e))return i;n.expectWhitespace$0()}},_mediaInParens$0(){var e,t=this.scanner;return t.expectChar$2$name(40,"media condition in parentheses"),e=this.declarationValue$0(),t.expectChar$1(41),"("+e+")"}},A.MediaQueryParser_parse_closure.prototype={call$0(){var e=A._setArrayType([],D.JSArray_CssMediaQuery),t=this.$this,r=t.scanner;do{t.whitespace$1$consumeNewlines(!0),e.push(t._mediaQuery$0()),t.whitespace$1$consumeNewlines(!0)}while(r.scanChar$1(44));return r.expectDone$0(),e},$signature:430},A.Parser.prototype={_parseIdentifier$0(){return this.wrapSpanFormatException$1(new A.Parser__parseIdentifier_closure(this))},_isVariableDeclarationLike$0(){var e=this,t=e.scanner;return!!t.scanChar$1(36)&&(!!e.lookingAtIdentifier$0()&&(e.identifier$0(),e.whitespace$1$consumeNewlines(!0),t.scanChar$1(58)))},whitespace$1$consumeNewlines(e){do{this.whitespaceWithoutComments$1$consumeNewlines(e)}while(this.scanComment$0())},whitespaceWithoutComments$1$consumeNewlines(e){for(var t,r=this.scanner,n=r.string.length;t=r._string_scanner$_position!==n&&(32===(t=r.peekChar$0())||9===t||10===t||13===t||12===t);)r.readChar$0()},spaces$0(){for(var e,t=this.scanner,r=t.string.length;e=t._string_scanner$_position!==r&&(32===(e=t.peekChar$0())||9===e);)t.readChar$0()},scanComment$0(){var e,t=this.scanner;return 47===t.peekChar$0()&&(47===(e=t.peekChar$1(1))?this.silentComment$0():42===e&&(this.loudComment$0(),!0))},expectWhitespace$1$consumeNewlines(e){var t,r=this.scanner;(t=r._string_scanner$_position===r.string.length||!(32===(t=r.peekChar$0())||9===t||10===t||13===t||12===t||this.scanComment$0()))&&r.error$1(0,"Expected whitespace."),this.whitespace$1$consumeNewlines(e)},expectWhitespace$0(){return this.expectWhitespace$1$consumeNewlines(!1)},silentComment$0(){var e,t,r=this.scanner;for(r.expect$1("//"),e=r.string.length;t=r._string_scanner$_position!==e&&!(10===(t=r.peekChar$0())||13===t||12===t);)r.readChar$0();return!0},loudComment$0(){var e,t=this.scanner;for(t.expect$1("/*");;)if(42===t.readChar$0()){do{e=t.readChar$0()}while(42===e);if(47===e)break}},identifier$2$normalize$unit(e,t){var r,n,i=this,o="Expected identifier.",s=new A.StringBuffer(""),a=i.scanner;if(a.scanChar$1(45)){if(r=s._contents=A.Primitives_stringFromCharCode(45),a.scanChar$1(45))return s._contents=r+r,i._identifierBody$3$normalize$unit(s,e,t),(a=s._contents).charCodeAt(0),a}else r="";return null==(n=a.peekChar$0())&&a.error$1(0,o),95===n&&e?(a.readChar$0(),s._contents=r+A.Primitives_stringFromCharCode(45)):95===n||A.CharacterExtension_get_isAlphabetic(n)||n>=128?s._contents=r+A.Primitives_stringFromCharCode(a.readChar$0()):92!==n?a.error$1(0,o):s._contents=r+i.escape$1$identifierStart(!0),i._identifierBody$3$normalize$unit(s,e,t),(a=s._contents).charCodeAt(0),a},identifier$0(){return this.identifier$2$normalize$unit(!1,!1)},identifier$1$normalize(e){return this.identifier$2$normalize$unit(e,!1)},identifier$1$unit(e){return this.identifier$2$normalize$unit(!1,e)},_identifierBody$3$normalize$unit(e,t,r){var n,i,o,s;for(n=this.scanner;null!=(i=n.peekChar$0());)if(45===i&&r){if(s=46===(o=n.peekChar$1(1))||A._isInt(o)&&o>=48&&o<=57)break;s=A.Primitives_stringFromCharCode(n.readChar$0()),e._contents+=s}else if(95===i&&t)n.readChar$0(),s=A.Primitives_stringFromCharCode(45),e._contents+=s;else if(s=!!(s=95===i||((s=i>=97&&i<=122||i>=65&&i<=90)||i>=128))||(i>=48&&i<=57||45===i))s=A.Primitives_stringFromCharCode(n.readChar$0()),e._contents+=s;else{if(92!==i)break;s=this.escape$0(),e._contents+=s}},_identifierBody$1(e){return this._identifierBody$3$normalize$unit(e,!1,!1)},string$0(){var e,t,r,n=this.scanner,i=n.readChar$0();for(39!==i&&34!==i&&n.error$2$position(0,"Expected string.",n._string_scanner$_position-1),e=new A.StringBuffer("");;){if((t=n.peekChar$0())===i){n.readChar$0();break}null!=t&&10!==t&&13!==t&&12!==t||n.error$1(0,"Expected "+A.Primitives_stringFromCharCode(i)+"."),92!==t?(r=A.Primitives_stringFromCharCode(n.readChar$0()),e._contents+=r):10===(r=n.peekChar$1(1))||13===r||12===r?(n.readChar$0(),n.readChar$0()):(r=A.Primitives_stringFromCharCode(A.consumeEscapedCharacter(n)),e._contents+=r)}return(n=e._contents).charCodeAt(0),n},declarationValue$1$allowEmpty(e){var t,r,n,i,o,s,a,l,c,u,d=this,h=new A.StringBuffer(""),p=A._setArrayType([],D.JSArray_int);for(t=d.scanner,r=d.get$loudComment(),n=d.get$string(),i=!1;null!=(o=t.peekChar$0());)if(s=!1,92!==o)if(34!==o&&39!==o)if(47!==o)if(32!==o&&9!==o)if(10!==o&&13!==o&&12!==o)if(40!==o&&123!==o&&91!==o)if(41!==o&&125!==o&&93!==o)if(59!==o)117!==o&&85!==o?(d.lookingAtIdentifier$0()?(a=d.identifier$0(),h._contents+=a):(a=A.Primitives_stringFromCharCode(t.readChar$0()),h._contents+=a),i=s):(null!=(u=d.tryUrl$0())?h._contents+=u:(a=A.Primitives_stringFromCharCode(t.readChar$0()),h._contents+=a),i=s);else{if(0===p.length)break;a=A.Primitives_stringFromCharCode(t.readChar$0()),h._contents+=a}else{if(0===p.length)break;a=A.Primitives_stringFromCharCode(o),h._contents+=a,t.expectChar$1(p.pop()),i=s}else a=A.Primitives_stringFromCharCode(o),h._contents+=a,p.push(A.opposite(t.readChar$0())),i=s;else 10!==(a=t.peekChar$1(-1))&&13!==a&&12!==a&&(h._contents+="\n"),t.readChar$0(),i=!0;else(a=!!i||!(32===(a=t.peekChar$1(1))||9===a||10===a||13===a||12===a))&&(a=A.Primitives_stringFromCharCode(32),h._contents+=a),t.readChar$0();else 42===t.peekChar$1(1)?(l=t._string_scanner$_position,r.call$0(),c=t._string_scanner$_position,h._contents+=C.JSString_methods.substring$2(t.string,l,c)):(a=A.Primitives_stringFromCharCode(t.readChar$0()),h._contents+=a),i=s;else l=t._string_scanner$_position,n.call$0(),c=t._string_scanner$_position,h._contents+=C.JSString_methods.substring$2(t.string,l,c),i=s;else a=d.escape$1$identifierStart(!0),h._contents+=a,i=s;return 0!==p.length&&t.expectChar$1(C.JSArray_methods.get$last(p)),e||0!==h._contents.length||t.error$1(0,"Expected token."),(t=h._contents).charCodeAt(0),t},declarationValue$0(){return this.declarationValue$1$allowEmpty(!1)},tryUrl$0(){var e,t,r,n=this,i=n.scanner,o=new A._SpanScannerState(i,i._string_scanner$_position);if(!n.scanIdentifier$1("url"))return null;if(!i.scanChar$1(40))return i.set$state(o),null;for(n.whitespace$1$consumeNewlines(!0),(e=new A.StringBuffer(""))._contents="url(";null!=(t=i.peekChar$0());)if(92!==t)if(r=!0,37!==t&&38!==t&&35!==t&&(r=t>=42&&t<=126||t>=128),r)r=A.Primitives_stringFromCharCode(i.readChar$0()),e._contents+=r;else{if(32!==t&&9!==t&&10!==t&&13!==t&&12!==t){if(41===t)return r=A.Primitives_stringFromCharCode(i.readChar$0()),(r=e._contents+=r).charCodeAt(0),r;break}if(n.whitespace$1$consumeNewlines(!0),41!==i.peekChar$0())break}else r=n.escape$0(),e._contents+=r;return i.set$state(o),null},variableName$0(){return this.scanner.expectChar$1(36),this.identifier$1$normalize(!0)},escape$1$identifierStart(e){var t,r,n,i,o,s="Expected escape sequence.",a=this.scanner,l=a._string_scanner$_position;if(a.expectChar$1(92),t=0,null==(r=a.peekChar$0())&&a.error$1(0,s),10!==r&&13!==r&&12!==r||a.error$1(0,s),A.CharacterExtension_get_isHex(r)){for(n=0;n<6&&(null!=(i=a.peekChar$0())?(o=!0,i>=48&&i<=57||i>=97&&i<=102||(o=i>=65&&i<=70),o=!o):o=!0,!o);++n)t*=16,t+=A.asHex(a.readChar$0());this.scanCharIf$1(new A.Parser_escape_closure)}else t=a.readChar$0();if(!(o=e?95===(o=t)||A.CharacterExtension_get_isAlphabetic(o)||o>=128:!!(95===(o=t)||A.CharacterExtension_get_isAlphabetic(o)||o>=128)||(o>=48&&o<=57||45===o)))return a=!0,t<=31||w.$eq$(t,127)||(a=!!e&&((a=t)>=48&&a<=57)),a?(a=A.Primitives_stringFromCharCode(92),t>15&&(a+=A.Primitives_stringFromCharCode(A.hexCharFor(C.JSNumber_methods._shrOtherPositive$1(t,4)))),(a=a+A.Primitives_stringFromCharCode(A.hexCharFor(15&t))+A.Primitives_stringFromCharCode(32)).charCodeAt(0),a):A.String_String$fromCharCodes(A._setArrayType([92,t],D.JSArray_int),0,null);try{return o=A.Primitives_stringFromCharCode(t)}catch(e){if(!D.RangeError._is(A.unwrapException(e)))throw e;a.error$3$length$position(0,"Invalid Unicode code point.",a._string_scanner$_position-l,l)}},escape$0(){return this.escape$1$identifierStart(!1)},scanCharIf$1(e){var t=this.scanner;return!!e.call$1(t.peekChar$0())&&(t.readChar$0(),!0)},scanIdentChar$2$caseSensitive(e,t){var r,n=new A.Parser_scanIdentChar_matches(t,e),i=this.scanner,o=i.peekChar$0();if(r=null!=o&&n.call$1(o))return i.readChar$0(),!0;if(92===o){if(r=i._string_scanner$_position,n.call$1(A.consumeEscapedCharacter(i)))return!0;i.set$state(new A._SpanScannerState(i,r))}return!1},scanIdentChar$1(e){return this.scanIdentChar$2$caseSensitive(e,!1)},expectIdentChar$1(e){var t;this.scanIdentChar$2$caseSensitive(e,!1)||(t=this.scanner).error$2$position(0,'Expected "'+A.Primitives_stringFromCharCode(e)+'".',t._string_scanner$_position)},lookingAtIdentifier$1(e){var t,r,n;return null==e&&(e=0),r=(t=this.scanner).peekChar$1(e),!!A._isInt(r)&&(95===r||A.CharacterExtension_get_isAlphabetic(r)||r>=128)||92===r?t=!0:45!==r?t=!1:(n=t.peekChar$1(e+1),t=(t=!!A._isInt(n)&&(95===n||A.CharacterExtension_get_isAlphabetic(n)||n>=128))||92===n||45===n),t},lookingAtIdentifier$0(){return this.lookingAtIdentifier$1(null)},lookingAtIdentifierBody$0(){var e=this.scanner.peekChar$0();return null!=e&&(!!(95===e||A.CharacterExtension_get_isAlphabetic(e)||e>=128)||(e>=48&&e<=57||45===e)||92===e)},scanIdentifier$2$caseSensitive(e,t){var r,n,i=this;return!!i.lookingAtIdentifier$0()&&(n=(r=i.scanner)._string_scanner$_position,!(!i._consumeIdentifier$2(e,t)||i.lookingAtIdentifierBody$0())||(r.set$state(new A._SpanScannerState(r,n)),!1))},scanIdentifier$1(e){return this.scanIdentifier$2$caseSensitive(e,!1)},_consumeIdentifier$2(e,t){var r,n,i;for(r=new A.CodeUnits(e),n=D.CodeUnits,r=new A.ListIterator(r,r.get$length(0),n._eval$1("ListIterator<ListBase.E>")),n=n._eval$1("ListBase.E");r.moveNext$0();)if(i=r.__internal$_current,!this.scanIdentChar$2$caseSensitive(null==i?n._as(i):i,t))return!1;return!0},expectIdentifier$2$name(e,t){var r,n,i,o,s,a,l;for(null==t&&(t='"'+e+'"'),n=(r=this.scanner)._string_scanner$_position,i=new A.CodeUnits(e),o=D.CodeUnits,i=new A.ListIterator(i,i.get$length(0),o._eval$1("ListIterator<ListBase.E>")),a=(s="Expected "+t)+".",o=o._eval$1("ListBase.E");i.moveNext$0();)l=i.__internal$_current,this.scanIdentChar$2$caseSensitive(null==l?o._as(l):l,!1)||r.error$2$position(0,a,n);this.lookingAtIdentifierBody$0()&&r.error$2$position(0,s,n)},expectIdentifier$1(e){return this.expectIdentifier$2$name(e,null)},rawText$1(e){var t=this.scanner,r=t._string_scanner$_position;return e.call$0(),t.substring$1(0,r)},spanFrom$2(e,t){var r=this.scanner.spanFrom$2(e,t);return null==this._interpolationMap?r:new A.LazyFileSpan(new A.Parser_spanFrom_closure(this,r))},spanFrom$1(e){return this.spanFrom$2(e,null)},spanFromPosition$2(e,t){var r=this.scanner.spanFromPosition$2(e,t);return null==this._interpolationMap?r:new A.LazyFileSpan(new A.Parser_spanFromPosition_closure(this,r))},spanFromPosition$1(e){return this.spanFromPosition$2(e,null)},error$3(e,t,r,n){var i=new A.StringScannerException(this.scanner.string,t,r);if(null==n)throw A.wrapException(i);A.throwWithTrace(i,this.get$error(this),n)},error$2(e,t,r){return this.error$3(0,t,r,null)},withErrorMessage$1$2(e,t){var r,n,i;try{return i=t.call$0()}catch(t){if(i=A.unwrapException(t),!D.SourceSpanFormatException._is(i))throw t;r=i,n=A.getTraceFromException(t),i=w.get$span$x(r),A.throwWithTrace(new A.SourceSpanFormatException(r.get$source(),e,i),r,n)}},withErrorMessage$2(e,t){return this.withErrorMessage$1$2(e,t,D.dynamic)},wrapSpanFormatException$1$1(e){var t,r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b=this,y="expected";try{try{return f=e.call$0()}catch(e){if(f=A.unwrapException(e),!D.SourceSpanFormatException._is(f))throw e;if(t=f,r=A.getTraceFromException(e),null==(n=b._interpolationMap))throw e;if(i=n.mapException$1(t),v=t,null==(f=i)?null==v:f===v)throw e;A.throwWithTrace(i,t,r)}}catch(e){if(f=A.unwrapException(e),D.MultiSourceSpanFormatException._is(f)){if(o=f,s=A.getTraceFromException(e),a=w.get$span$x(o),f=D.FileSpan,v=D.String,l=o.get$secondarySpans().cast$2$0(0,f,v),A.startsWithIgnoreCase(o._span_exception$_message,y)){for(a=b._adjustExceptionSpan$1(a),c=A.LinkedHashMap_LinkedHashMap$_empty(f,v),f=(f=A.MapExtensions_get_pairs(l,f,v)).get$iterator(f);f.moveNext$0();)null,null,d=(p=u=f.get$current(f))._0,h=p._1,w.$indexSet$ax(c,b._adjustExceptionSpan$1(d),h);l=c}A.throwWithTrace(A.MultiSpanSassFormatException$(o._span_exception$_message,a,o.get$primaryLabel(),l,null),o,s)}else{if(!D.SourceSpanFormatException._is(f))throw e;m=f,_=A.getTraceFromException(e),g=w.get$span$x(m),A.startsWithIgnoreCase(m._span_exception$_message,y)&&(g=b._adjustExceptionSpan$1(g)),c=m._span_exception$_message,u=g,A.throwWithTrace(new A.SassFormatException(C.Set_empty,c,u),m,_)}}},wrapSpanFormatException$1(e){return this.wrapSpanFormatException$1$1(e,D.dynamic)},_adjustExceptionSpan$1(e){var t,r;return e.get$length(e)>0?e:((t=this._firstNewlineBefore$1(e.get$start(e))).$eq(0,e.get$start(e))?r=e:(r=t.offset,r=A._FileSpan$(t.file,r,r)),r)},_firstNewlineBefore$1(e){var t,r,n=e.file,i=e.offset,o=A.String_String$fromCharCodes(C.NativeUint32List_methods.sublist$2(n._decodedChars,0,i),0,null),s=i-1;for(t=null;s>=0;){if(32!==(r=o.charCodeAt(s))&&9!==r&&10!==r&&13!==r&&12!==r)return null==t?n=e:((i=new A.FileLocation(n,t)).FileLocation$_$2(n,t),n=i),n;10!==r&&13!==r&&12!==r||(t=s),--s}return e}},A.Parser__parseIdentifier_closure.prototype={call$0(){var e=this.$this,t=e.identifier$0();return e.scanner.expectDone$0(),t},$signature:29},A.Parser_escape_closure.prototype={call$1:e=>32===e||9===e||10===e||13===e||12===e,$signature:31},A.Parser_scanIdentChar_matches.prototype={call$1(e){var t=this.char;return this.caseSensitive?e===t:A.characterEqualsIgnoreCase(t,e)},$signature:50},A.Parser_spanFrom_closure.prototype={call$0(){var e=this.$this._interpolationMap;return null==e&&(e=D.InterpolationMap._as(e)),e.mapSpan$1(this.span)},$signature:16},A.Parser_spanFromPosition_closure.prototype={call$0(){var e=this.$this._interpolationMap;return null==e&&(e=D.InterpolationMap._as(e)),e.mapSpan$1(this.span)},$signature:16},A.SassParser.prototype={get$currentIndentation(){return this._currentIndentation},get$indented:()=>!0,styleRuleSelector$0(){var e,t=this,r=t.scanner,n=r._string_scanner$_position,i=new A.StringBuffer(""),o=new A.InterpolationBuffer(i,A._setArrayType([],D.JSArray_Object),A._setArrayType([],D.JSArray_nullable_FileSpan));do{o.addInterpolation$1(t.almostAnyValue$1$omitComments(!0)),e=A.Primitives_stringFromCharCode(10),e=i._contents+=e}while(C.JSString_methods.endsWith$1(C.JSString_methods.trimRight$0((e.charCodeAt(0),e)),",")&&t.scanCharIf$1(new A.SassParser_styleRuleSelector_closure));return o.interpolation$1(t.spanFrom$1(new A._SpanScannerState(r,n)))},expectStatementSeparator$1(e){var t,r=this,n=r._tryTrailingSemicolon$0();r.atEndOfStatement$0()||r._expectNewline$1$trailingSemicolon(n),r._peekIndentation$0()<=r._currentIndentation||(t=null==e?"here":"beneath a "+e,r.scanner.error$2$position(0,"Nothing may be indented "+t+".",r._nextIndentationEnd.position))},expectStatementSeparator$0(){return this.expectStatementSeparator$1(null)},atEndOfStatement$0(){var e=this.scanner.peekChar$0();return!1!==(e=null==e?null:10===e||13===e||12===e)},lookingAtChildren$0(){return this.atEndOfStatement$0()&&this._peekIndentation$0()>this._currentIndentation},importArgument$0(){var e,t,r,n,i,o,s,a,l,c,u=this;if(117!==(o=(i=u.scanner).peekChar$0())&&85!==o){if(39===o||34===o)return u.super$StylesheetParser$importArgument()}else if(s=new A._SpanScannerState(i,i._string_scanner$_position),u.scanIdentifier$1("url")){if(i.scanChar$1(40))return i.set$state(s),u.super$StylesheetParser$importArgument();i.set$state(s)}for(a=i._string_scanner$_position,l=i.peekChar$0();c=!1,null!=l&&44!==l&&59!==l&&(c=!(10===l||13===l||12===l)),c;)i.readChar$0(),l=i.peekChar$0();if(e=i.substring$1(0,a),t=u.spanFrom$1(new A._SpanScannerState(i,a)),u.isPlainImportUrl$1(e))return new A.StaticImport(new A.Interpolation(A.List_List$unmodifiable([A.serializeValue(new A.SassString(e,!0),!0,!0)],D.Object),C.List_null,t),null,t);try{return i=u.parseImportUrl$1(e),new A.DynamicImport(i,t)}catch(e){if(i=A.unwrapException(e),!D.FormatException._is(i))throw e;r=i,n=A.getTraceFromException(e),u.error$3(0,"Invalid URL: "+w.get$message$x(r),t,n)}},scanElse$1(e){var t,r,n,i,o,s=this;return s._peekIndentation$0()===e&&(r=(t=s.scanner)._string_scanner$_position,n=s._currentIndentation,i=s._nextIndentation,o=s._nextIndentationEnd,s._readIndentation$0(),!(!t.scanChar$1(64)||!s.scanIdentifier$1("else"))||(t.set$state(new A._SpanScannerState(t,r)),s._currentIndentation=n,s._nextIndentation=i,s._nextIndentationEnd=o,!1))},children$1(e,t){var r=A._setArrayType([],D.JSArray_Statement);return this._whileIndentedLower$1(new A.SassParser_children_closure(this,t,r)),r},statements$1(e){var t,r,n,i=this.scanner,o=i.peekChar$0();for(9!==o&&32!==o||i.error$3$length$position(0,P.Indent,i._string_scanner$_position,0),t=A._setArrayType([],D.JSArray_Statement),r=i.string.length;i._string_scanner$_position!==r;)null!=(n=this._child$1(e))&&t.push(n),this._readIndentation$0();return t},_child$1(e){var t,r=this,n=r.scanner,i=n.peekChar$0();return 13!==i&&10!==i&&12!==i?36!==i?47!==i?n=e.call$0():(t=n.peekChar$1(1),n=47!==t?42!==t?e.call$0():r._loudComment$0():r._silentComment$0()):n=r.variableDeclarationWithoutNamespace$0():n=null,n},_silentComment$0(){var e,t,r,n,i,o,s,a,l,c,u=this,d=u.scanner,h=d._string_scanner$_position;d.expect$1("//"),e=new A.StringBuffer(""),t=u._currentIndentation,r=d.string.length,n=1+t,i=2+t;e:do{for(s=(o=d.scanChar$1(47)?"///":"//").length;;){for(a=e._contents+=o,l=s;l<u._currentIndentation-t;++l)a+=A.Primitives_stringFromCharCode(32),e._contents=a;for(;c=d._string_scanner$_position!==r&&!(10===(c=d.peekChar$0())||13===c||12===c);)a+=A.Primitives_stringFromCharCode(d.readChar$0()),e._contents=a;if(e._contents=a+"\n",u._peekIndentation$0()<t)break e;if(u._peekIndentation$0()===t){47===d.peekChar$1(n)&&47===d.peekChar$1(i)&&u._readIndentation$0();break}u._readIndentation$0()}}while(d.scan$1("//"));return r=e._contents,u.lastSilentComment=new A.SilentComment((r.charCodeAt(0),r),u.spanFrom$1(new A._SpanScannerState(d,h)))},_loudComment$0(){var e,t,r,n,i,o,s,a,l,c,u,d,h,p,m,_=this,g=_.scanner,f=new A._SpanScannerState(g,g._string_scanner$_position);for(g.expect$1("/*"),e=new A.StringBuffer(""),t=A._setArrayType([],D.JSArray_Object),r=A._setArrayType([],D.JSArray_nullable_FileSpan),n=new A.InterpolationBuffer(e,t,r),e._contents="/*",i=_._currentIndentation,s=(o=g.string).length,a=!0;;a=!1){for(a?(l=g._string_scanner$_position,_.spaces$0(),10===(c=g.peekChar$0())||13===c||12===c?(_._readIndentation$0(),c=A.Primitives_stringFromCharCode(32),e._contents+=c):(u=g._string_scanner$_position,e._contents+=C.JSString_methods.substring$2(o,l,u))):e._contents=(e._contents+="\n")+" * ",d=3;d<_._currentIndentation-i;++d)c=A.Primitives_stringFromCharCode(32),e._contents+=c;for(;g._string_scanner$_position!==s&&10!==(h=g.peekChar$0())&&13!==h&&12!==h;)if(35!==h)if(42!==h)c=A.Primitives_stringFromCharCode(g.readChar$0()),e._contents+=c;else{if(47===g.peekChar$1(1)){for(t=A.Primitives_stringFromCharCode(g.readChar$0()),e._contents+=t,t=A.Primitives_stringFromCharCode(g.readChar$0()),e._contents+=t,m=_.spanFrom$1(f),_.whitespace$1$consumeNewlines(!1);(10===(e=g.peekChar$0())||13===e||12===e)&&_._peekIndentation$0()>i;){for(;_._lookingAtDoubleNewline$0();)_._expectNewline$0();_._readIndentation$0(),_.whitespace$1$consumeNewlines(!1)}if(e=g._string_scanner$_position!==s&&!(10===(e=g.peekChar$0())||13===e||12===e)){for(e=g._string_scanner$_position;t=g._string_scanner$_position!==s&&!(10===(t=g.peekChar$0())||13===t||12===t);)g.readChar$0();throw A.wrapException(A.MultiSpanSassFormatException$("Unexpected text after end of comment",_.spanFrom$1(new A._SpanScannerState(g,e)),"extra text",A.LinkedHashMap_LinkedHashMap$_literal([m,"comment"],D.FileSpan,D.String),null))}return new A.LoudComment(n.interpolation$1(m))}c=A.Primitives_stringFromCharCode(g.readChar$0()),e._contents+=c}else 123===g.peekChar$1(1)?(p=_.singleInterpolation$0(),n._flushText$0(),t.push(p._0),r.push(p._1)):(c=A.Primitives_stringFromCharCode(g.readChar$0()),e._contents+=c);if(_._peekIndentation$0()<=i)break;for(;_._lookingAtDoubleNewline$0();)_._expectNewline$0(),e._contents=(e._contents+="\n")+" *";_._readIndentation$0()}return new A.LoudComment(n.interpolation$1(_.spanFrom$1(f)))},whitespaceWithoutComments$1$consumeNewlines(e){var t,r,n;for(r=(t=this.scanner).string.length;t._string_scanner$_position!==r&&(n=t.peekChar$0(),!(e?!(32===n||9===n||10===n||13===n||12===n):!(32===n||9===n)));)t.readChar$0()},_expectNewline$1$trailingSemicolon(e){var t=this.scanner,r=t.peekChar$0();if(13===r)return t.readChar$0(),void(10===t.peekChar$0()&&t.readChar$0());10!==r&&12!==r?t.error$1(0,e?P.multip:"expected newline."):t.readChar$0()},_expectNewline$0(){return this._expectNewline$1$trailingSemicolon(!1)},_lookingAtDoubleNewline$0(){var e,t,r=this.scanner,n=r.peekChar$0();return e=!1,13!==n?r=10!==n&&12!==n?e:10===(r=r.peekChar$1(1))||13===r||12===r:(t=r.peekChar$1(1),r=10!==t?13===t||12===t||e:10===(r=r.peekChar$1(2))||13===r||12===r),r},_whileIndentedLower$1(e){var t,r,n,i,o,s,a=this,l=a._currentIndentation;for(r=(t=a.scanner)._sourceFile,n=null;a._peekIndentation$0()>l;)i=a._readIndentation$0(),null==n&&(n=i),n!==i&&(o=t._string_scanner$_position,s=r.getColumn$1(o),t.error$3$length$position(0,"Inconsistent indentation, expected "+n+" spaces.",r.getColumn$1(t._string_scanner$_position),o-s)),e.call$0()},_readIndentation$0(){var e,t=this,r=t._nextIndentation;return null==r&&(r=t._nextIndentation=t._peekIndentation$0()),t._currentIndentation=r,(e=t._nextIndentationEnd).toString,t.scanner.set$state(e),t._nextIndentationEnd=t._nextIndentation=null,r},_peekIndentation$0(){var e,t,r,n,i,o,s,a,l,c=this,u=c._nextIndentation;if(null!=u)return u;if((t=(e=c.scanner)._string_scanner$_position)===(r=e.string.length))return c._nextIndentation=0,c._nextIndentationEnd=new A._SpanScannerState(e,t),0;n=new A._SpanScannerState(e,t),c.scanCharIf$1(new A.SassParser__peekIndentation_closure)||e.error$2$position(0,"Expected newline.",e._string_scanner$_position),i=A._Cell$(),o=A._Cell$(),s=A._Cell$();do{for(o.__late_helper$_value=i.__late_helper$_value=!1,s.__late_helper$_value=0;;){if(32!==(a=e.peekChar$0())){if(9!==a)break;i.__late_helper$_value=!0}else o.__late_helper$_value=!0;(t=s.__late_helper$_value)===s&&A.throwExpression(A.LateError$localNI("")),s.__late_helper$_value=t+1,e.readChar$0()}if((t=e._string_scanner$_position)===r)return c._nextIndentation=0,c._nextIndentationEnd=new A._SpanScannerState(e,t),e.set$state(n),0}while(c.scanCharIf$1(new A.SassParser__peekIndentation_closure0));return t=i._readLocal$0(),r=o._readLocal$0(),t?r?(t=e._string_scanner$_position,l=(r=e._sourceFile).getColumn$1(t),e.error$3$length$position(0,"Tabs and spaces may not be mixed.",r.getColumn$1(e._string_scanner$_position),t-l)):!0===c._spaces&&(t=e._string_scanner$_position,l=(r=e._sourceFile).getColumn$1(t),e.error$3$length$position(0,"Expected spaces, was tabs.",r.getColumn$1(e._string_scanner$_position),t-l)):r&&!1===c._spaces&&(t=e._string_scanner$_position,l=(r=e._sourceFile).getColumn$1(t),e.error$3$length$position(0,"Expected tabs, was spaces.",r.getColumn$1(e._string_scanner$_position),t-l)),c._nextIndentation=s._readLocal$0(),s._readLocal$0()>0&&null==c._spaces&&(c._spaces=o._readLocal$0()),c._nextIndentationEnd=new A._SpanScannerState(e,e._string_scanner$_position),e.set$state(n),s._readLocal$0()},_tryTrailingSemicolon$0(){return!!this.scanCharIf$1(new A.SassParser__tryTrailingSemicolon_closure)&&(this.whitespace$1$consumeNewlines(!1),!0)}},A.SassParser_styleRuleSelector_closure.prototype={call$1:e=>10===e||13===e||12===e,$signature:31},A.SassParser_children_closure.prototype={call$0(){var e=this.$this._child$1(this.child);null!=e&&this.children.push(e)},$signature:0},A.SassParser__peekIndentation_closure.prototype={call$1:e=>10===e||13===e||12===e,$signature:31},A.SassParser__peekIndentation_closure0.prototype={call$1:e=>10===e||13===e||12===e,$signature:31},A.SassParser__tryTrailingSemicolon_closure.prototype={call$1:e=>59===e,$signature:31},A.ScssParser.prototype={get$indented:()=>!1,get$currentIndentation:()=>0,styleRuleSelector$0(){return this.almostAnyValue$0()},expectStatementSeparator$1(e){var t,r;this.whitespaceWithoutComments$1$consumeNewlines(!0),(t=this.scanner)._string_scanner$_position!==t.string.length&&59!==(r=t.peekChar$0())&&125!==r&&t.expectChar$1(59)},expectStatementSeparator$0(){return this.expectStatementSeparator$1(null)},atEndOfStatement$0(){var e=this.scanner.peekChar$0();return null==e||59===e||125===e||123===e},lookingAtChildren$0(){return 123===this.scanner.peekChar$0()},scanElse$1(e){var t,r=this,n=r.scanner,i=n._string_scanner$_position;if(r.whitespace$1$consumeNewlines(!0),t=n._string_scanner$_position,n.scanChar$1(64)){if(r.scanIdentifier$2$caseSensitive("else",!0))return!0;if(r.scanIdentifier$2$caseSensitive("elseif",!0))return r.warnings.push(new A._Record_3_deprecation_message_span(C.Deprecation_HUu,P.x40elsei,r.spanFrom$1(new A._SpanScannerState(n,t)))),n.set$position(n._string_scanner$_position-2),!0}return n.set$state(new A._SpanScannerState(n,i)),!1},children$1(e,t){var r,n=this,i=n.scanner;for(i.expectChar$1(123),n.whitespaceWithoutComments$1$consumeNewlines(!0),r=A._setArrayType([],D.JSArray_Statement);;)switch(i.peekChar$0()){case 36:r.push(n.variableDeclarationWithoutNamespace$0());break;case 47:switch(i.peekChar$1(1)){case 47:r.push(n._scss$_silentComment$0()),n.whitespaceWithoutComments$1$consumeNewlines(!0);break;case 42:r.push(n._scss$_loudComment$0()),n.whitespaceWithoutComments$1$consumeNewlines(!0);break;default:r.push(t.call$0())}break;case 59:i.readChar$0(),n.whitespaceWithoutComments$1$consumeNewlines(!0);break;case 125:return i.expectChar$1(125),r;default:r.push(t.call$0())}},statements$1(e){var t,r,n,i,o=this,s=A._setArrayType([],D.JSArray_Statement);for(o.whitespaceWithoutComments$1$consumeNewlines(!0),r=(t=o.scanner).string.length;t._string_scanner$_position!==r;)switch(t.peekChar$0()){case 36:s.push(o.variableDeclarationWithoutNamespace$0());break;case 47:switch(t.peekChar$1(1)){case 47:s.push(o._scss$_silentComment$0()),o.whitespaceWithoutComments$1$consumeNewlines(!0);break;case 42:s.push(o._scss$_loudComment$0()),o.whitespaceWithoutComments$1$consumeNewlines(!0);break;default:null!=(n=e.call$0())&&s.push(n)}break;case 59:t.readChar$0(),o.whitespaceWithoutComments$1$consumeNewlines(!0);break;default:null!=(i=e.call$0())&&s.push(i)}return s},_scss$_silentComment$0(){var e,t,r=this,n=r.scanner,i=n._string_scanner$_position,o=new A._SpanScannerState(n,i);n.expect$1("//"),e=n.string.length;do{for(;t=n._string_scanner$_position!==e&&!(10===(t=n.readChar$0())||13===t||12===t););if(n._string_scanner$_position===e)break;r.spaces$0()}while(n.scan$1("//"));return r.get$plainCss()&&r.error$2(0,P.Silent,r.spanFrom$1(o)),r.lastSilentComment=new A.SilentComment(n.substring$1(0,i),r.spanFrom$1(o))},_scss$_loudComment$0(){var e,t,r,n,i,o,s=this.scanner,a=s._string_scanner$_position;s.expect$1("/*"),e=new A.StringBuffer(""),t=A._setArrayType([],D.JSArray_Object),r=A._setArrayType([],D.JSArray_nullable_FileSpan),n=new A.InterpolationBuffer(e,t,r),e._contents="/*";e:for(;;)switch(s.peekChar$0()){case 35:123===s.peekChar$1(1)?(i=this.singleInterpolation$0(),n._flushText$0(),t.push(i._0),r.push(i._1)):(o=A.Primitives_stringFromCharCode(s.readChar$0()),e._contents+=o);break;case 42:if(o=A.Primitives_stringFromCharCode(s.readChar$0()),e._contents+=o,47!==s.peekChar$0())continue e;return t=A.Primitives_stringFromCharCode(s.readChar$0()),e._contents+=t,new A.LoudComment(n.interpolation$1(this.spanFrom$1(new A._SpanScannerState(s,a))));case 13:s.readChar$0(),10!==s.peekChar$0()&&(o=A.Primitives_stringFromCharCode(10),e._contents+=o);break;case 12:s.readChar$0(),o=A.Primitives_stringFromCharCode(10),e._contents+=o;break;default:o=A.Primitives_stringFromCharCode(s.readChar$0()),e._contents+=o}}},A.SelectorParser.prototype={parse$0(e){return this.wrapSpanFormatException$1(new A.SelectorParser_parse_closure(this))},parseCompoundSelector$0(){return this.wrapSpanFormatException$1(new A.SelectorParser_parseCompoundSelector_closure(this))},_selectorList$0(){var e,t,r,n=this,i=n.scanner,o=i._string_scanner$_position,s=i._sourceFile,a=s.getLine$1(o),l=A._setArrayType([n._complexSelector$0()],D.JSArray_ComplexSelector);for(n.whitespace$1$consumeNewlines(!0),e=i.string.length;i.scanChar$1(44);)if(n.whitespace$1$consumeNewlines(!0),44!==i.peekChar$0()){if((t=i._string_scanner$_position)===e)break;(r=s.getLine$1(t)!==a)&&(a=s.getLine$1(i._string_scanner$_position)),l.push(n._complexSelector$1$lineBreak(r))}return A.SelectorList$(l,n.spanFrom$1(new A._SpanScannerState(i,o)))},_complexSelector$1$lineBreak(e){var t,r,n,i,o,s,a=this,l="expected selector.",c=a.scanner,u=c._string_scanner$_position,d=new A._SpanScannerState(c,u),h=D.JSArray_CssValue_Combinator,p=A._setArrayType([],h),m=A._setArrayType([],D.JSArray_ComplexSelectorComponent);for(t=D.CssValue_Combinator,r=null,n=null;;)if(a.whitespace$1$consumeNewlines(!0),43!==(i=c.peekChar$0()))if(62!==i)if(126!==i){if(null==i)break;if(o=!0,91!==i&&46!==i&&35!==i&&37!==i&&58!==i&&38!==i&&42!==i&&124!==i&&(o=a.lookingAtIdentifier$0()),!o)break;null!=r?(o=a.spanFrom$1(d),(s=A.List_List$from(p,!1,t)).$flags=3,m.push(new A.ComplexSelectorComponent(r,s,o))):0!==p.length&&(d=new A._SpanScannerState(c,c._string_scanner$_position),n=p),r=a._compoundSelector$0(),p=A._setArrayType([],h),38===c.peekChar$0()&&c.error$1(0,P.x22x26__ma)}else o=c._string_scanner$_position,c.readChar$0(),p.push(new A.CssValue(C.Combinator_98W,a.spanFrom$1(new A._SpanScannerState(c,o)),t));else o=c._string_scanner$_position,c.readChar$0(),p.push(new A.CssValue(C.Combinator_iUF,a.spanFrom$1(new A._SpanScannerState(c,o)),t));else o=c._string_scanner$_position,c.readChar$0(),p.push(new A.CssValue(C.Combinator_sHB,a.spanFrom$1(new A._SpanScannerState(c,o)),t));return(h=0!==p.length)&&a._plainCss?c.error$1(0,l):null!=r?(h=a.spanFrom$1(d),m.push(new A.ComplexSelectorComponent(r,A.List_List$unmodifiable(p,t),h))):h?n=p:c.error$1(0,l),h=null==n?C.List_empty0:n,A.ComplexSelector$(h,m,a.spanFrom$1(new A._SpanScannerState(c,u)),e)},_complexSelector$0(){return this._complexSelector$1$lineBreak(!1)},_compoundSelector$0(){var e,t=this,r=t.scanner,n=r._string_scanner$_position,i=A._setArrayType([t._simpleSelector$0()],D.JSArray_SimpleSelector);for(e=t._plainCss;t._isSimpleSelectorStart$1(r.peekChar$0());)i.push(t._simpleSelector$1$allowParent(e));return A.CompoundSelector$(i,t.spanFrom$1(new A._SpanScannerState(r,n)))},_simpleSelector$1$allowParent(e){var t,r,n,i,o,s=this,a=s.scanner,l=new A._SpanScannerState(a,a._string_scanner$_position);switch(null==e&&(e=s._allowParent),a.peekChar$0()){case 91:return s._attributeSelector$0();case 46:return t=a._string_scanner$_position,a.expectChar$1(46),new A.ClassSelector(s.identifier$0(),s.spanFrom$1(new A._SpanScannerState(a,t)));case 35:return t=a._string_scanner$_position,a.expectChar$1(35),new A.IDSelector(s.identifier$0(),s.spanFrom$1(new A._SpanScannerState(a,t)));case 37:return t=a._string_scanner$_position,a.expectChar$1(37),r=s.identifier$0(),t=s.spanFrom$1(new A._SpanScannerState(a,t)),s._plainCss&&s.error$2(0,P.Placeh,s.spanFrom$1(l)),new A.PlaceholderSelector(r,t);case 58:return s._pseudoSelector$0();case 38:return t=a._string_scanner$_position,a.expectChar$1(38),s.lookingAtIdentifierBody$0()?(n=new A.StringBuffer(""),s._identifierBody$1(n),0===n._contents.length&&a.error$1(0,"Expected identifier body."),(i=n._contents).charCodeAt(0),o=i):o=null,s._plainCss&&null!=o&&a.error$3$length$position(0,P.Parent,a._string_scanner$_position-t,t),a=s.spanFrom$1(new A._SpanScannerState(a,t)),e||s.error$2(0,"Parent selectors aren't allowed here.",s.spanFrom$1(l)),new A.ParentSelector(o,a);default:return s._typeOrUniversalSelector$0()}},_simpleSelector$0(){return this._simpleSelector$1$allowParent(null)},_attributeSelector$0(){var e,t,r,n,i,o=this,s=null,a=o.scanner,l=new A._SpanScannerState(a,a._string_scanner$_position);return a.expectChar$1(91),o.whitespace$1$consumeNewlines(!0),e=o._attributeName$0(),o.whitespace$1$consumeNewlines(!0),a.scanChar$1(93)?new A.AttributeSelector(e,s,s,s,o.spanFrom$1(l)):(t=o._attributeOperator$0(),o.whitespace$1$consumeNewlines(!0),n=39===(r=a.peekChar$0())||34===r?o.string$0():o.identifier$0(),o.whitespace$1$consumeNewlines(!0),i=null!=(r=a.peekChar$0())&&A.CharacterExtension_get_isAlphabetic(r)?A.Primitives_stringFromCharCode(a.readChar$0()):s,a.expectChar$1(93),new A.AttributeSelector(e,t,n,i,o.spanFrom$1(l)))},_attributeName$0(){var e,t=this,r=t.scanner;return r.scanChar$1(42)?(r.expectChar$1(124),new A.QualifiedName(t.identifier$0(),"*")):r.scanChar$1(124)?new A.QualifiedName(t.identifier$0(),""):(e=t.identifier$0(),124!==r.peekChar$0()||61===r.peekChar$1(1)?new A.QualifiedName(e,null):(r.readChar$0(),new A.QualifiedName(t.identifier$0(),e)))},_attributeOperator$0(){var e=this.scanner,t=e._string_scanner$_position;switch(e.readChar$0()){case 61:return C.AttributeOperator_jFZ;case 126:return e.expectChar$1(61),C.AttributeOperator_OrK;case 124:return e.expectChar$1(61),C.AttributeOperator_g5B;case 94:return e.expectChar$1(61),C.AttributeOperator_stc;case 36:return e.expectChar$1(61),C.AttributeOperator_xJ9;case 42:return e.expectChar$1(61),C.AttributeOperator_h20;default:e.error$2$position(0,'Expected "]".',t)}},_pseudoSelector$0(){var e,t,r,n,i,o,s=this,a=null,l=s.scanner,c=new A._SpanScannerState(l,l._string_scanner$_position);return l.expectChar$1(58),e=l.scanChar$1(58),t=s.identifier$0(),l.scanChar$1(40)?(s.whitespace$1$consumeNewlines(!0),r=A.unvendor(t),n=a,i=a,e?I.selectorPseudoElements.contains$1(0,r)?i=s._selectorList$0():n=s.declarationValue$1$allowEmpty(!0):I.selectorPseudoClasses.contains$1(0,r)?i=s._selectorList$0():"nth-child"===r||"nth-last-child"===r?(n=s._aNPlusB$0(),s.whitespace$1$consumeNewlines(!0),32!==(o=l.peekChar$1(-1))&&9!==o&&10!==o&&13!==o&&12!==o||41===l.peekChar$0()||(s.expectIdentifier$1("of"),n+=" of",s.whitespace$1$consumeNewlines(!0),i=s._selectorList$0())):n=C.JSString_methods.trimRight$0(s.declarationValue$1$allowEmpty(!0)),l.expectChar$1(41),A.PseudoSelector$(t,s.spanFrom$1(c),n,e,i)):A.PseudoSelector$(t,s.spanFrom$1(c),a,e,a)},_aNPlusB$0(){var e,t,r,n,i,o=this;if(101===(t=(e=o.scanner).peekChar$0())||69===t)return o.expectIdentifier$1("even"),"even";if(111===t||79===t)return o.expectIdentifier$1("odd"),"odd";if(r=43!==t&&45!==t?"":A.Primitives_stringFromCharCode(e.readChar$0()),null!=(n=e.peekChar$0())&&n>=48&&n<=57){do{r+=A.Primitives_stringFromCharCode(e.readChar$0()),n=e.peekChar$0()}while(null!=n&&n>=48&&n<=57);if(o.whitespace$1$consumeNewlines(!0),!o.scanIdentChar$1(110))return r.charCodeAt(0),r}else o.expectIdentChar$1(110);if(r+=A.Primitives_stringFromCharCode(110),o.whitespace$1$consumeNewlines(!0),43!==(i=e.peekChar$0())&&45!==i)return r.charCodeAt(0),r;r+=A.Primitives_stringFromCharCode(e.readChar$0()),o.whitespace$1$consumeNewlines(!0),null!=(n=e.peekChar$0())&&n>=48&&n<=57||e.error$1(0,"Expected a number.");do{r+=A.Primitives_stringFromCharCode(e.readChar$0()),n=e.peekChar$0()}while(null!=n&&n>=48&&n<=57);return r.charCodeAt(0),r},_typeOrUniversalSelector$0(){var e,t=this,r=t.scanner,n=new A._SpanScannerState(r,r._string_scanner$_position);return r.scanChar$1(42)?r.scanChar$1(124)?r.scanChar$1(42)?new A.UniversalSelector("*",t.spanFrom$1(n)):new A.TypeSelector(new A.QualifiedName(t.identifier$0(),"*"),t.spanFrom$1(n)):new A.UniversalSelector(null,t.spanFrom$1(n)):r.scanChar$1(124)?r.scanChar$1(42)?new A.UniversalSelector("",t.spanFrom$1(n)):new A.TypeSelector(new A.QualifiedName(t.identifier$0(),""),t.spanFrom$1(n)):(e=t.identifier$0(),r.scanChar$1(124)?r.scanChar$1(42)?new A.UniversalSelector(e,t.spanFrom$1(n)):new A.TypeSelector(new A.QualifiedName(t.identifier$0(),e),t.spanFrom$1(n)):new A.TypeSelector(new A.QualifiedName(e,null),t.spanFrom$1(n)))},_isSimpleSelectorStart$1(e){return 42===e||91===e||46===e||35===e||37===e||58===e||38===e&&this._plainCss}},A.SelectorParser_parse_closure.prototype={call$0(){var e=this.$this,t=e._selectorList$0();return(e=e.scanner)._string_scanner$_position!==e.string.length&&e.error$1(0,"expected selector."),t},$signature:450},A.SelectorParser_parseCompoundSelector_closure.prototype={call$0(){var e=this.$this,t=e._compoundSelector$0();return(e=e.scanner)._string_scanner$_position!==e.string.length&&e.error$1(0,"expected selector."),t},$signature:453},A.StylesheetParser.prototype={parse$0(e){return this.wrapSpanFormatException$1(new A.StylesheetParser_parse_closure(this))},parseParameterList$0(){return this._parseSingleProduction$1$1(new A.StylesheetParser_parseParameterList_closure(this),D.ParameterList)},parseVariableDeclaration$0(){return new A._Record_2(this._parseSingleProduction$1$1(new A.StylesheetParser_parseVariableDeclaration_closure(this),D.VariableDeclaration),this.warnings)},parseUseRule$0(){return new A._Record_2(this._parseSingleProduction$1$1(new A.StylesheetParser_parseUseRule_closure(this),D.UseRule),this.warnings)},_parseSingleProduction$1$1(e,t){return this.wrapSpanFormatException$1(new A.StylesheetParser__parseSingleProduction_closure(this,e,t))},_statement$1$root(e){var t,r=this,n=r.scanner,i=n.peekChar$0();return 64===i?r.atRule$2$root(new A.StylesheetParser__statement_closure(r),e):43===i?r.get$indented()&&r.lookingAtIdentifier$1(1)?(r._isUseAllowed=!1,t=n._string_scanner$_position,n.readChar$0(),r._includeRule$1(new A._SpanScannerState(n,t))):r._styleRule$0():61===i?r.get$indented()?(r._isUseAllowed=!1,t=n._string_scanner$_position,n.readChar$0(),r.whitespace$1$consumeNewlines(!0),r._mixinRule$1(new A._SpanScannerState(n,t))):r._styleRule$0():(125===i&&n.error$2$length(0,'unmatched "}".',1),r._inStyleRule||r._stylesheet$_inUnknownAtRule||r._stylesheet$_inMixin||r._inContentBlock?r._declarationOrStyleRule$0():r._variableDeclarationOrStyleRule$0())},_statement$0(){return this._statement$1$root(!1)},_variableDeclarationWithNamespace$0(){var e=this.scanner,t=e._string_scanner$_position,r=this.identifier$0();return e.expectChar$1(46),this.variableDeclarationWithoutNamespace$2(r,new A._SpanScannerState(e,t))},variableDeclarationWithoutNamespace$2(e,t){var r,n,i,o,s,a,l,c,u,d,h,p=this,m=p.lastSilentComment;for(p.lastSilentComment=null,null==t?(r=p.scanner,n=new A._SpanScannerState(r,r._string_scanner$_position)):n=t,i=p.variableName$0(),(r=null!=e)&&p._assertPublic$2(i,new A.StylesheetParser_variableDeclarationWithoutNamespace_closure(p,n)),p.get$plainCss()&&p.error$2(0,P.Sass_v,p.spanFrom$1(n)),p.whitespace$1$consumeNewlines(!0),(o=p.scanner).expectChar$1(58),p.whitespace$1$consumeNewlines(!0),s=p._expression$0(),a=new A._SpanScannerState(o,o._string_scanner$_position),l=p.warnings,c=!1,u=!1;o.scanChar$1(33);)"default"!==(d=p.identifier$0())?"global"!==d?p.error$2(0,"Invalid flag name.",p.spanFrom$1(a)):(r?p.error$2(0,P.x21globai,p.spanFrom$1(a)):u&&l.push(new A._Record_3_deprecation_message_span(C.Deprecation_nRC,P.x21globas,p.spanFrom$1(a))),u=!0):(c&&l.push(new A._Record_3_deprecation_message_span(C.Deprecation_nRC,P.x21defau,p.spanFrom$1(a))),c=!0),p.whitespace$1$consumeNewlines(!1),a=new A._SpanScannerState(o,o._string_scanner$_position);return p.expectStatementSeparator$1("variable declaration"),h=A.VariableDeclaration$(i,s,p.spanFrom$1(n),m,u,c,e),u&&p._globalVariables.putIfAbsent$2(i,new A.StylesheetParser_variableDeclarationWithoutNamespace_closure0(h)),h},variableDeclarationWithoutNamespace$0(){return this.variableDeclarationWithoutNamespace$2(null,null)},_variableDeclarationOrStyleRule$0(){var e,t,r,n,i=this;return i.get$plainCss()||i.get$indented()&&i.scanner.scanChar$1(92)?i._styleRule$0():i.lookingAtIdentifier$0()?(t=(e=i.scanner)._string_scanner$_position,(r=i._variableDeclarationOrInterpolation$0())instanceof A.VariableDeclaration?e=r:((n=new A.InterpolationBuffer(new A.StringBuffer(""),A._setArrayType([],D.JSArray_Object),A._setArrayType([],D.JSArray_nullable_FileSpan))).addInterpolation$1(D.Interpolation._as(r)),e=t=i._styleRule$2(n,new A._SpanScannerState(e,t))),e):i._styleRule$0()},_declarationOrStyleRule$0(){var e,t,r,n=this;return n.get$indented()&&n.scanner.scanChar$1(92)?n._styleRule$0():(t=(e=n.scanner)._string_scanner$_position,(r=n._declarationOrBuffer$0())instanceof A.Statement?r:n._styleRule$2(D.InterpolationBuffer._as(r),new A._SpanScannerState(e,t)))},_declarationOrBuffer$0(){var e,t,r,n,i,o,s,a,l,c,u,d,h,p,m=this,_=m.scanner,g=new A._SpanScannerState(_,_._string_scanner$_position),f=new A.InterpolationBuffer(new A.StringBuffer(""),A._setArrayType([],D.JSArray_Object),A._setArrayType([],D.JSArray_nullable_FileSpan)),v=m._lookingAtPotentialPropertyHack$0();if(v&&(o=_.readChar$0(),s=f._interpolation_buffer$_text,o=A.Primitives_stringFromCharCode(o),s._contents+=o,o=m.rawText$1(new A.StylesheetParser__declarationOrBuffer_closure(m)),(s=f._interpolation_buffer$_text)._contents+=o),!m._lookingAtInterpolatedIdentifier$0())return f;if((a=v?m.interpolatedIdentifier$0():m._variableDeclarationOrInterpolation$0())instanceof A.VariableDeclaration)return a;if(f.addInterpolation$1(D.Interpolation._as(a)),m._isUseAllowed=!1,_.matches$1("/*")&&(o=m.rawText$1(m.get$loudComment()),(s=f._interpolation_buffer$_text)._contents+=o),o=e=new A.StringBuffer(""),s=m.rawText$1(new A.StylesheetParser__declarationOrBuffer_closure0(m)),o._contents+=s,s=_._string_scanner$_position,!_.scanChar$1(58))return 0!==e._contents.length&&(_=f._interpolation_buffer$_text,o=A.Primitives_stringFromCharCode(32),_._contents+=o),f;if(o=A.Primitives_stringFromCharCode(58),e._contents+=o,l=f.interpolation$1(m.spanFrom$2(g,new A._SpanScannerState(_,s))),(c=C.JSString_methods.startsWith$1(l.get$initialPlain(),"--"))?s=!0:m._inPlainCssFunction?null==(s=A.NullableExtension_andThen(l.get$asPlain(),new A.StylesheetParser__declarationOrBuffer_closure1))&&(s=!1):s=!1,s)return m.atEndOfStatement$0()?(o=(_=A.FileLocation$_(_._sourceFile,_._string_scanner$_position)).offset,_=o=A.Interpolation$(C.List_empty12,C.List_empty13,A._FileSpan$(_.file,o,o))):_=m._interpolatedDeclarationValue$1$silentComments(!1),m.expectStatementSeparator$1(c?"custom property":"@function result"),A.Declaration$notSassScript(l,new A.StringExpression(_,!1),m.spanFrom$1(g));if(_.scanChar$1(58))return s=(_=f)._interpolation_buffer$_text,u=A.S(e),s._contents=(s._contents+=u)+o,_;if(m.get$indented()&&m._lookingAtInterpolatedIdentifier$0())return o=(_=f)._interpolation_buffer$_text,s=A.S(e),o._contents+=s,_;if(d=m.rawText$1(new A.StylesheetParser__declarationOrBuffer_closure2(m)),null!=(h=m._tryDeclarationChildren$2(l,g)))return h;e._contents+=d,t=0===d.length&&m._lookingAtInterpolatedIdentifier$0(),r=new A._SpanScannerState(_,_._string_scanner$_position),n=null;try{n=m._expression$0(),m.lookingAtChildren$0()?t&&m.expectStatementSeparator$0():m.atEndOfStatement$0()||m.expectStatementSeparator$0()}catch(n){if(D.FormatException._is(A.unwrapException(n))){if(!t)throw n;if(_.set$state(r),i=m.almostAnyValue$0(),!m.get$indented()&&59===_.peekChar$0())throw n;return _=f._interpolation_buffer$_text,o=A.S(e),_._contents+=o,f.addInterpolation$1(i),f}throw n}return null!=(p=m._tryDeclarationChildren$3$value(l,g,n))?p:(m.expectStatementSeparator$0(),A.Declaration$(l,n,m.spanFrom$1(g)))},_variableDeclarationOrInterpolation$0(){var e,t,r,n,i=this;return i.lookingAtIdentifier$0()?(e=i.scanner,t=new A._SpanScannerState(e,e._string_scanner$_position),r=i.identifier$0(),e.matches$1(".$")?(e.readChar$0(),i.variableDeclarationWithoutNamespace$2(r,t)):(e=new A.StringBuffer(""),n=new A.InterpolationBuffer(e,A._setArrayType([],D.JSArray_Object),A._setArrayType([],D.JSArray_nullable_FileSpan)),e._contents=r,i._lookingAtInterpolatedIdentifierBody$0()&&n.addInterpolation$1(i.interpolatedIdentifier$0()),n.interpolation$1(i.spanFrom$1(t)))):i.interpolatedIdentifier$0()},_styleRule$2(e,t){var r,n,i,o,s=this;return s._isUseAllowed=!1,null==t?(r=s.scanner,n=new A._SpanScannerState(r,r._string_scanner$_position)):n=t,i=(r={}).interpolation=s.styleRuleSelector$0(),null!=e?(e.addInterpolation$1(i),o=r.interpolation=e.interpolation$1(s.spanFrom$1(n))):o=i,0===o.contents.length&&s.scanner.error$1(0,'expected "}".'),s._withStyleRuleChildren$1$3(o,n,new A.StylesheetParser__styleRule_closure(r,s,n),D.StyleRule)},_styleRule$0(){return this._styleRule$2(null,null)},_withStyleRuleChildren$1$3(e,t,r,n){var i=this,o=i._inStyleRule;return i._inStyleRule=!0,i._withChildren$3(i.get$_statement(),t,new A.StylesheetParser__withStyleRuleChildren_closure(i,e,o,r,n))},_propertyOrVariableDeclaration$0(){var e,t,r,n,i,o,s,a,l=this,c=l.scanner,u=new A._SpanScannerState(c,c._string_scanner$_position);if(l._lookingAtPotentialPropertyHack$0())e=new A.StringBuffer(""),t=new A.InterpolationBuffer(e,A._setArrayType([],D.JSArray_Object),A._setArrayType([],D.JSArray_nullable_FileSpan)),r=A.Primitives_stringFromCharCode(c.readChar$0()),e._contents+=r,r=l.rawText$1(new A.StylesheetParser__propertyOrVariableDeclaration_closure(l)),e._contents+=r,t.addInterpolation$1(l.interpolatedIdentifier$0()),n=t.interpolation$1(l.spanFrom$1(u));else if(l.get$plainCss())n=l.interpolatedIdentifier$0();else{if((i=l._variableDeclarationOrInterpolation$0())instanceof A.VariableDeclaration)return i;D.Interpolation._as(i),n=i}return l.whitespace$1$consumeNewlines(!1),c.expectChar$1(58),C.JSString_methods.startsWith$1(n.get$initialPlain(),"--")&&l.error$2(0,P.Declarw,n.span),l.whitespace$1$consumeNewlines(!1),null!=(o=l._tryDeclarationChildren$2(n,u))?o:(s=l._expression$0(),null!=(a=l._tryDeclarationChildren$3$value(n,u,s))?a:(l.expectStatementSeparator$0(),A.Declaration$(n,s,l.spanFrom$1(u))))},_tryDeclarationChildren$3$value(e,t,r){var n=this;return n.lookingAtChildren$0()?(n.get$plainCss()&&n.scanner.error$1(0,P.Nested),n._withChildren$3(n.get$_declarationChild(),t,new A.StylesheetParser__tryDeclarationChildren_closure(e,r))):null},_tryDeclarationChildren$2(e,t){return this._tryDeclarationChildren$3$value(e,t,null)},_declarationChild$0(){return 64===this.scanner.peekChar$0()?this._declarationAtRule$0():this._propertyOrVariableDeclaration$0()},atRule$2$root(e,t){var r,n,i,o,s=this,a=s.scanner,l=new A._SpanScannerState(a,a._string_scanner$_position);switch(a.expectChar$2$name(64,"@-rule"),r=s.interpolatedIdentifier$0(),n=s._isUseAllowed,s._isUseAllowed=!1,r.get$asPlain()){case"at-root":return s._atRootRule$1(l);case"content":return s._contentRule$1(l);case"debug":return s._debugRule$1(l);case"each":return s._eachRule$2(l,e);case"else":case"return":return s._disallowedAtRule$1(l);case"error":return s._errorRule$1(l);case"extend":return s.whitespace$1$consumeNewlines(!0),s._inStyleRule||s._stylesheet$_inMixin||s._inContentBlock||s.error$2(0,P.x40exten,s.spanFrom$1(l)),i=s.almostAnyValue$0(),(o=a.scanChar$1(33))&&(s.expectIdentifier$1("optional"),s.whitespace$1$consumeNewlines(!1)),s.expectStatementSeparator$1("@extend rule"),new A.ExtendRule(i,o,s.spanFrom$1(l));case"for":return s._forRule$2(l,e);case"forward":return s._isUseAllowed=n,t||s._disallowedAtRule$1(l),s._forwardRule$1(l);case"function":return s._functionRule$2(l,r);case"if":return s._ifRule$2(l,e);case"import":return s._importRule$1(l);case"include":return s._includeRule$1(l);case"media":return s.mediaRule$1(l);case"mixin":return s._mixinRule$1(l);case"-moz-document":return s.mozDocumentRule$2(l,r);case"supports":return s.supportsRule$1(l);case"use":return s._isUseAllowed=n,t||s._disallowedAtRule$1(l),s._useRule$1(l);case"warn":return s._warnRule$1(l);case"while":return s._whileRule$2(l,e);default:return s.unknownAtRule$2(l,r)}},_declarationAtRule$0(){var e=this,t=e.scanner,r=new A._SpanScannerState(t,t._string_scanner$_position),n=e._plainAtRuleName$0();return"content"!==n?"debug"!==n?"each"!==n?("else"===n&&e._disallowedAtRule$1(r),t="error"!==n?"for"!==n?"if"!==n?"include"!==n?"warn"!==n?"while"!==n?e._disallowedAtRule$1(r):e._whileRule$2(r,e.get$_declarationChild()):e._warnRule$1(r):e._includeRule$1(r):e._ifRule$2(r,e.get$_declarationChild()):e._forRule$2(r,e.get$_declarationChild()):e._errorRule$1(r)):t=e._eachRule$2(r,e.get$_declarationChild()):t=e._debugRule$1(r):t=e._contentRule$1(r),t},_functionChild$0(){var e,t,r,n,i,o,s,a,l,c=this,u=c.scanner;if(64!==u.peekChar$0()){e=new A._SpanScannerState(u,u._string_scanner$_position);try{return i=c._variableDeclarationWithNamespace$0()}catch(s){if(i=A.unwrapException(s),!(o=D.SourceSpanFormatException)._is(i))throw s;t=i,r=A.getTraceFromException(s),u.set$state(e),n=null;try{n=c._declarationOrStyleRule$0()}catch(e){throw o._is(A.unwrapException(e))?A.wrapException(t):e}i=n instanceof A.StyleRule?"style rules":"declarations",c.error$3(0,"@function rules may not contain "+i+".",w.get$span$x(n),r)}}return s=new A._SpanScannerState(u,u._string_scanner$_position),"debug"!==(a=c._plainAtRuleName$0())?"each"!==a?("else"===a&&c._disallowedAtRule$1(s),"error"!==a?"for"!==a?"if"!==a?"return"!==a?u="warn"!==a?"while"!==a?c._disallowedAtRule$1(s):c._whileRule$2(s,c.get$_functionChild()):c._warnRule$1(s):(c.whitespace$1$consumeNewlines(!0),l=c._expression$0(),c.expectStatementSeparator$1("@return rule"),u=new A.ReturnRule(l,c.spanFrom$1(s))):u=c._ifRule$2(s,c.get$_functionChild()):u=c._forRule$2(s,c.get$_functionChild()):u=c._errorRule$1(s)):u=c._eachRule$2(s,c.get$_functionChild()):u=c._debugRule$1(s),u},_plainAtRuleName$0(){return this.scanner.expectChar$2$name(64,"@-rule"),this.identifier$0()},_atRootRule$1(e){var t,r,n,i,o,s=this;return s.whitespace$1$consumeNewlines(!1),40===(t=s.scanner).peekChar$0()?(r=t._string_scanner$_position,n=new A.StringBuffer(""),i=new A.InterpolationBuffer(n,A._setArrayType([],D.JSArray_Object),A._setArrayType([],D.JSArray_nullable_FileSpan)),t.expectChar$1(40),o=A.Primitives_stringFromCharCode(40),n._contents+=o,s.whitespace$1$consumeNewlines(!0),s._addOrInject$2(i,s._expression$1$consumeNewlines(!0)),t.scanChar$1(58)&&(s.whitespace$1$consumeNewlines(!0),o=A.Primitives_stringFromCharCode(58),n._contents+=o,o=A.Primitives_stringFromCharCode(32),n._contents+=o,s._addOrInject$2(i,s._expression$1$consumeNewlines(!0))),t.expectChar$1(41),s.whitespace$1$consumeNewlines(!1),o=A.Primitives_stringFromCharCode(41),n._contents+=o,s._withChildren$3(s.get$_statement(),e,new A.StylesheetParser__atRootRule_closure(i.interpolation$1(s.spanFrom$1(new A._SpanScannerState(t,r)))))):(t=!!s.lookingAtChildren$0()||s.get$indented()&&s.atEndOfStatement$0())?s._withChildren$3(s.get$_statement(),e,new A.StylesheetParser__atRootRule_closure0):A.AtRootRule$(A._setArrayType([s._styleRule$0()],D.JSArray_Statement),s.spanFrom$1(e),null)},_contentRule$1(e){var t,r,n,i=this;return i._stylesheet$_inMixin||i.error$2(0,P.x40conte,i.spanFrom$1(e)),t=i.scanner,r=A.FileLocation$_(t._sourceFile,t._string_scanner$_position),i.whitespace$1$consumeNewlines(!1),40===t.peekChar$0()?(n=i._argumentInvocation$1$mixin(!0),i.whitespace$1$consumeNewlines(!1)):(t=r.offset,n=A.ArgumentList$empty(A._FileSpan$(r.file,t,t))),i.expectStatementSeparator$1("@content rule"),new A.ContentRule(n,i.spanFrom$1(e))},_debugRule$1(e){var t,r,n,i=this;return i.whitespace$1$consumeNewlines(!0),t=i._expression$0(),n=(r=i.scanner)._string_scanner$_position,i.expectStatementSeparator$1("@debug rule"),new A.DebugRule(t,i.spanFrom$2(e,new A._SpanScannerState(r,n)))},_eachRule$2(e,t){var r,n,i,o=this;for(o.whitespace$1$consumeNewlines(!0),r=o._inControlDirective,o._inControlDirective=!0,n=A._setArrayType([o.variableName$0()],D.JSArray_String),o.whitespace$1$consumeNewlines(!0),i=o.scanner;i.scanChar$1(44);)o.whitespace$1$consumeNewlines(!0),i.expectChar$1(36),n.push(o.identifier$1$normalize(!0)),o.whitespace$1$consumeNewlines(!0);return o.whitespace$1$consumeNewlines(!0),o.expectIdentifier$1("in"),o.whitespace$1$consumeNewlines(!0),o._withChildren$3(t,e,new A.StylesheetParser__eachRule_closure(o,r,n,o._expression$0()))},_errorRule$1(e){var t,r,n,i=this;return i.whitespace$1$consumeNewlines(!0),t=i._expression$0(),n=(r=i.scanner)._string_scanner$_position,i.expectStatementSeparator$1("@error rule"),new A.ErrorRule(t,i.spanFrom$2(e,new A._SpanScannerState(r,n)))},_functionRule$2(e,t){var r,n,i,o,s,a,l=this;return l.whitespace$1$consumeNewlines(!0),r=l.lastSilentComment,l.lastSilentComment=null,n=l.scanner,i=new A._SpanScannerState(n,n._string_scanner$_position),n.matches$1("--")?l.unknownAtRule$2(e,t):(o=l.identifier$0(),A.equalsIgnoreCase(o,"type")&&l.error$2(0,P.This_n,l.spanFrom$1(i)),(n="expression"===o||"url"===o||"and"===o||"or"===o||"not"===o||"element"===A.unvendor(o))?l.error$2(0,"Invalid function name.",l.spanFrom$1(i)):(n="expression"===(s=o.toLowerCase())||"url"===s||"element"===A.unvendor(s))&&l.warnings.push(new A._Record_3_deprecation_message_span(C.Deprecation_H4k,P.Customf,l.spanFrom$1(i))),l.whitespace$1$consumeNewlines(!0),a=l._parameterList$0(),l._stylesheet$_inMixin||l._inContentBlock?l.error$2(0,P.Mixinscf,l.spanFrom$1(e)):l._inControlDirective&&l.error$2(0,P.Functi,l.spanFrom$1(e)),l.whitespace$1$consumeNewlines(!1),l._withChildren$3(l.get$_functionChild(),e,new A.StylesheetParser__functionRule_closure(o,a,r)))},_forRule$2(e,t){var r,n,i,o=this,s={};return o.whitespace$1$consumeNewlines(!0),r=o._inControlDirective,o._inControlDirective=!0,n=o.variableName$0(),o.whitespace$1$consumeNewlines(!0),o.expectIdentifier$1("from"),o.whitespace$1$consumeNewlines(!0),s.exclusive=null,i=o._expression$2$consumeNewlines$until(!0,new A.StylesheetParser__forRule_closure(s,o)),null==s.exclusive&&o.scanner.error$1(0,'Expected "to" or "through".'),o.whitespace$1$consumeNewlines(!0),o._withChildren$3(t,e,new A.StylesheetParser__forRule_closure0(s,o,r,n,i,o._expression$0()))},_forwardRule$1(e){var t,r,n,i,o,s,a,l,c,u,d,h,p,m,_=this,g=null;return _.whitespace$1$consumeNewlines(!0),t=_._urlString$0(),_.whitespace$1$consumeNewlines(!1),_.scanIdentifier$1("as")?(_.whitespace$1$consumeNewlines(!0),r=_.identifier$1$normalize(!0),_.scanner.expectChar$1(42),_.whitespace$1$consumeNewlines(!1)):r=g,n=g,i=g,_.scanIdentifier$1("show")?(_.whitespace$1$consumeNewlines(!0),s=(o=_._memberList$0())._0,a=o._1):(_.scanIdentifier$1("hide")&&(_.whitespace$1$consumeNewlines(!0),n=(l=_._memberList$0())._0,i=l._1),s=a=g),c=_._stylesheet$_configuration$1$allowGuarded(!0),_.whitespace$1$consumeNewlines(!1),_.expectStatementSeparator$1("@forward rule"),u=_.spanFrom$1(e),_._isUseAllowed||_.error$2(0,P.x40forwa,u),null!=s?(a.toString,d=D.String,h=A.LinkedHashSet_LinkedHashSet$of(s,d),p=D.UnmodifiableSetView_String,d=A.LinkedHashSet_LinkedHashSet$of(a,d),m=null==c?C.List_empty11:A.List_List$unmodifiable(c,D.ConfiguredVariable),new A.ForwardRule(t,new A.UnmodifiableSetView0(h,p),new A.UnmodifiableSetView0(d,p),g,g,r,m,u)):null!=n?(i.toString,d=D.String,h=A.LinkedHashSet_LinkedHashSet$of(n,d),p=D.UnmodifiableSetView_String,d=A.LinkedHashSet_LinkedHashSet$of(i,d),m=null==c?C.List_empty11:A.List_List$unmodifiable(c,D.ConfiguredVariable),new A.ForwardRule(t,g,g,new A.UnmodifiableSetView0(h,p),new A.UnmodifiableSetView0(d,p),r,m,u)):new A.ForwardRule(t,g,g,g,g,r,null==c?C.List_empty11:A.List_List$unmodifiable(c,D.ConfiguredVariable),u)},_memberList$0(){var e=this,t=D.String,r=A.LinkedHashSet_LinkedHashSet$_empty(t),n=A.LinkedHashSet_LinkedHashSet$_empty(t);t=e.scanner;do{e.whitespace$1$consumeNewlines(!0),e.withErrorMessage$2(P.Expectv,new A.StylesheetParser__memberList_closure(e,n,r)),e.whitespace$1$consumeNewlines(!1)}while(t.scanChar$1(44));return new A._Record_2(r,n)},_ifRule$2(e,t){var r,n,i,o,s,a,l,c=this;for(c.whitespace$1$consumeNewlines(!0),r=c.get$currentIndentation(),n=c._inControlDirective,c._inControlDirective=!0,i=c._expression$0(),o=c.children$1(0,t),c.whitespaceWithoutComments$1$consumeNewlines(!1),s=A._setArrayType([A.IfClause$(i,o)],D.JSArray_IfClause);;){if(!c.scanElse$1(r)){a=null;break}if(c.whitespace$1$consumeNewlines(!1),!c.scanIdentifier$1("if")){a=A.ElseClause$(c.children$1(0,t));break}c.whitespace$1$consumeNewlines(!0),s.push(A.IfClause$(c._expression$0(),c.children$1(0,t)))}return c._inControlDirective=n,l=c.spanFrom$1(e),c.whitespaceWithoutComments$1$consumeNewlines(!1),new A.IfRule(A.List_List$unmodifiable(s,D.IfClause),a,l)},_importRule$1(e){var t,r,n=this,i=A._setArrayType([],D.JSArray_Import),o=n.scanner,s=n.warnings;do{n.whitespace$1$consumeNewlines(!1),(r=(t=n.importArgument$0())instanceof A.DynamicImport)&&s.push(new A._Record_3_deprecation_message_span(C.Deprecation_6BW,P.Sass__i,t.span)),(n._inControlDirective||n._stylesheet$_inMixin)&&r&&n._disallowedAtRule$1(e),i.push(t),n.whitespace$1$consumeNewlines(!1)}while(o.scanChar$1(44));return n.expectStatementSeparator$1("@import rule"),o=n.spanFrom$1(e),new A.ImportRule(A.List_List$unmodifiable(i,D.Import),o)},importArgument$0(){var e,t,r,n,i,o=this,s=o.scanner,a=new A._SpanScannerState(s,s._string_scanner$_position),l=s.peekChar$0();if(117===l||85===l)return e=o.dynamicUrl$0(),o.whitespace$1$consumeNewlines(!1),i=o.tryImportModifiers$0(),s=e instanceof A.StringExpression?e.text:A.Interpolation$(A._setArrayType([e],D.JSArray_Object),A._setArrayType([e.get$span(e)],D.JSArray_nullable_FileSpan),e.get$span(e)),new A.StaticImport(s,i,o.spanFrom$1(a));if(e=o.string$0(),t=o.spanFrom$1(a),o.whitespace$1$consumeNewlines(!1),i=o.tryImportModifiers$0(),o.isPlainImportUrl$1(e)||null!=i)return new A.StaticImport(new A.Interpolation(A.List_List$unmodifiable([t.get$text()],D.Object),C.List_null,t),i,o.spanFrom$1(a));try{return s=o.parseImportUrl$1(e),new A.DynamicImport(s,t)}catch(e){if(s=A.unwrapException(e),!D.FormatException._is(s))throw e;r=s,n=A.getTraceFromException(e),o.error$3(0,"Invalid URL: "+w.get$message$x(r),t,n)}},parseImportUrl$1(e){var t=I.$get$windows();return t.style.rootLength$1(e)>0&&!I.$get$url().style.isRootRelative$1(e)?t.toUri$1(e).toString$0(0):(A.Uri_parse(e),e)},isPlainImportUrl$1(e){var t;return!(e.length<5)&&(!!C.JSString_methods.endsWith$1(e,".css")||(47!==(t=e.charCodeAt(0))?104===t&&(C.JSString_methods.startsWith$1(e,"http://")||C.JSString_methods.startsWith$1(e,"https://")):47===e.charCodeAt(1)))},tryImportModifiers$0(){var e,t,r,n,i,o,s,a,l,c,u,d=this;if(!d._lookingAtInterpolatedIdentifier$0()&&40!==d.scanner.peekChar$0())return null;for(e=d.scanner,t=new A._SpanScannerState(e,e._string_scanner$_position),r=new A.StringBuffer(""),n=A._setArrayType([],D.JSArray_Object),i=A._setArrayType([],D.JSArray_nullable_FileSpan),o=new A.InterpolationBuffer(r,n,i);;){if(!d._lookingAtInterpolatedIdentifier$0())return 40===e.peekChar$0()?(0===n.length&&0===r._contents.length||(e=A.Primitives_stringFromCharCode(32),r._contents+=e),o.addInterpolation$1(d._mediaQueryList$0()),o.interpolation$1(d.spanFrom$1(t))):o.interpolation$1(d.spanFrom$1(t));if(0===n.length&&0===r._contents.length||(s=A.Primitives_stringFromCharCode(32),r._contents+=s),a=d.interpolatedIdentifier$0(),o.addInterpolation$1(a),"and"!==(l=null==(s=a.get$asPlain())?null:s.toLowerCase())&&e.scanChar$1(40))"supports"===l?((s=!((c=d._importSupportsQuery$0())instanceof A.SupportsDeclaration))&&(u=A.Primitives_stringFromCharCode(40),r._contents+=u),u=c.get$span(c),o._flushText$0(),n.push(new A.SupportsExpression(c)),i.push(u),s&&(s=A.Primitives_stringFromCharCode(41),r._contents+=s)):(s=A.Primitives_stringFromCharCode(40),r._contents+=s,o.addInterpolation$1(d._interpolatedDeclarationValue$3$allowEmpty$allowSemicolon$consumeNewlines(!0,!0,!0)),s=A.Primitives_stringFromCharCode(41),r._contents+=s),e.expectChar$1(41),d.whitespace$1$consumeNewlines(!1);else if(d.whitespace$1$consumeNewlines(!1),e.scanChar$1(44))return r._contents+=", ",o.addInterpolation$1(d._mediaQueryList$0()),o.interpolation$1(d.spanFrom$1(t))}},_importSupportsQuery$0(){var e,t,r,n,i=this;return i.whitespace$1$consumeNewlines(!0),i.scanIdentifier$1("not")?(i.whitespace$1$consumeNewlines(!0),t=(e=i.scanner)._string_scanner$_position,new A.SupportsNegation(i._supportsConditionInParens$0(),i.spanFrom$1(new A._SpanScannerState(e,t)))):40===(e=i.scanner).peekChar$0()?i._supportsCondition$1$inParentheses(!0):null!=(r=i._tryImportSupportsFunction$0())?r:(t=e._string_scanner$_position,n=i._expression$1$consumeNewlines(!0),e.expectChar$1(58),new A.SupportsDeclaration(n,i._supportsDeclarationValue$1(n),i.spanFrom$1(new A._SpanScannerState(e,t))))},_tryImportSupportsFunction$0(){var e,t,r,n,i=this;return i._lookingAtInterpolatedIdentifier$0()?(e=i.scanner,t=new A._SpanScannerState(e,e._string_scanner$_position),r=i.interpolatedIdentifier$0(),e.scanChar$1(40)?(n=i._interpolatedDeclarationValue$3$allowEmpty$allowSemicolon$consumeNewlines(!0,!0,!0),e.expectChar$1(41),new A.SupportsFunction(r,n,i.spanFrom$1(t))):(e.set$state(t),null)):null},_includeRule$1(e){var t,r,n,i,o,s,a,l,c,u,d,h=this,p=null;return h.whitespace$1$consumeNewlines(!0),t=h.identifier$0(),(r=h.scanner).scanChar$1(46)?(n=t,t=h._publicIdentifier$0()):n=p,h.whitespace$1$consumeNewlines(!1),40===r.peekChar$0()?i=h._argumentInvocation$1$mixin(!0):(s=(o=A.FileLocation$_(r._sourceFile,r._string_scanner$_position)).offset,i=A.ArgumentList$empty(A._FileSpan$(o.file,s,s))),h.whitespace$1$consumeNewlines(!1),h.scanIdentifier$1("using")?(h.whitespace$1$consumeNewlines(!0),a=h._parameterList$0(),h.whitespace$1$consumeNewlines(!1)):a=p,!(o=null==a)||h.lookingAtChildren$0()?(o?(o=(r=A.FileLocation$_(r._sourceFile,r._string_scanner$_position)).offset,l=new A.ParameterList(C.List_empty14,p,A._FileSpan$(r.file,o,o))):l=a,c=h._inContentBlock,h._inContentBlock=!0,u=h._withChildren$3(h.get$_statement(),e,new A.StylesheetParser__includeRule_closure(l)),h._inContentBlock=c):(h.expectStatementSeparator$0(),u=p),o=null==u?i:u,d=(r=h.spanFrom$2(e,e)).expand$1(0,o.get$span(o)),new A.IncludeRule(n,A.stringReplaceAllUnchecked(t,"_","-"),t,i,u,d)},mediaRule$1(e){var t=this;return t.whitespace$1$consumeNewlines(!1),t._withChildren$3(t.get$_statement(),e,new A.StylesheetParser_mediaRule_closure(t._mediaQueryList$0()))},_mixinRule$1(e){var t,r,n,i,o,s=this;return s.whitespace$1$consumeNewlines(!0),t=s.lastSilentComment,s.lastSilentComment=null,n=(r=s.scanner)._string_scanner$_position,i=s.identifier$0(),C.JSString_methods.startsWith$1(i,"--")&&s.error$2(0,P.Sass__m,s.spanFrom$1(new A._SpanScannerState(r,n))),s.whitespace$1$consumeNewlines(!1),40===r.peekChar$0()?o=s._parameterList$0():(n=(r=A.FileLocation$_(r._sourceFile,r._string_scanner$_position)).offset,o=new A.ParameterList(C.List_empty14,null,A._FileSpan$(r.file,n,n))),s._stylesheet$_inMixin||s._inContentBlock?s.error$2(0,P.Mixinscm,s.spanFrom$1(e)):s._inControlDirective&&s.error$2(0,P.Mixinsb,s.spanFrom$1(e)),s.whitespace$1$consumeNewlines(!1),s._stylesheet$_inMixin=!0,s._withChildren$3(s.get$_statement(),e,new A.StylesheetParser__mixinRule_closure(s,i,o,t))},mozDocumentRule$2(e,t){var r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f=this,v={};for(f.whitespace$1$consumeNewlines(!1),n=(r=f.scanner)._string_scanner$_position,i=new A.StringBuffer(""),o=A._setArrayType([],D.JSArray_Object),s=A._setArrayType([],D.JSArray_nullable_FileSpan),a=new A.InterpolationBuffer(i,o,s),v.needsDeprecationWarning=!1;35===r.peekChar$0()?(l=f.singleInterpolation$0(),a._flushText$0(),o.push(l._0),s.push(l._1),v.needsDeprecationWarning=!0):(c=new A._SpanScannerState(r,r._string_scanner$_position),"url"!==(u=f.identifier$0())&&"url-prefix"!==u&&"domain"!==u?"regexp"!==u?f.error$2(0,"Invalid function name.",f.spanFrom$1(c)):(i._contents+="regexp(",r.expectChar$1(40),a.addInterpolation$1(f.interpolatedStringToken$0()),r.expectChar$1(41),p=A.Primitives_stringFromCharCode(41),i._contents+=p,v.needsDeprecationWarning=!0):(null!=(d=f._tryUrlContents$2$name(c,u))?a.addInterpolation$1(d):(r.expectChar$1(40),f.whitespace$1$consumeNewlines(!1),h=f.interpolatedStringToken$0(),r.expectChar$1(41),i._contents+=u,p=A.Primitives_stringFromCharCode(40),i._contents+=p,a.addInterpolation$1(h),p=A.Primitives_stringFromCharCode(41),i._contents+=p),(p=i._contents).charCodeAt(0),m=p,C.JSString_methods.endsWith$1(m,"url-prefix()")||C.JSString_methods.endsWith$1(m,"url-prefix('')")||C.JSString_methods.endsWith$1(m,'url-prefix("")')||(v.needsDeprecationWarning=!0))),f.whitespace$1$consumeNewlines(!1),r.scanChar$1(44);)p=A.Primitives_stringFromCharCode(44),i._contents+=p,_=r._string_scanner$_position,new A.StylesheetParser_mozDocumentRule_closure(f).call$0(),g=r._string_scanner$_position,i._contents+=C.JSString_methods.substring$2(r.string,_,g);return f._withChildren$3(f.get$_statement(),e,new A.StylesheetParser_mozDocumentRule_closure0(v,f,t,a.interpolation$1(f.spanFrom$1(new A._SpanScannerState(r,n)))))},supportsRule$1(e){var t,r=this;return r.whitespace$1$consumeNewlines(!1),t=r._supportsCondition$0(),r.whitespace$1$consumeNewlines(!1),r._withChildren$3(r.get$_statement(),e,new A.StylesheetParser_supportsRule_closure(t))},_useRule$1(e){var t,r,n,i,o,s=this;return s.whitespace$1$consumeNewlines(!0),t=s._urlString$0(),s.whitespace$1$consumeNewlines(!1),r=s._useNamespace$2(t,e),s.whitespace$1$consumeNewlines(!1),n=s._stylesheet$_configuration$0(),s.whitespace$1$consumeNewlines(!1),i=s.spanFrom$1(e),s._isUseAllowed||s.error$2(0,P.x40use_r,i),s.expectStatementSeparator$1("@use rule"),(o=new A.UseRule(t,r,null==n?C.List_empty11:A.List_List$unmodifiable(n,D.ConfiguredVariable),i)).UseRule$4$configuration(t,r,i,n),o},_useNamespace$2(e,t){var r,n,i,o,s=this;if(s.scanIdentifier$1("as"))return s.whitespace$1$consumeNewlines(!0),s.scanner.scanChar$1(42)?null:s.identifier$0();n=0===e.get$pathSegments().length?"":C.JSArray_methods.get$last(e.get$pathSegments()),i=C.JSString_methods.indexOf$1(n,"."),o=C.JSString_methods.startsWith$1(n,"_")?1:0,r=C.JSString_methods.substring$2(n,o,-1===i?n.length:i);try{return o=new A.Parser(A.SpanScanner$(r,null),null)._parseIdentifier$0()}catch(e){if(!D.SassFormatException._is(A.unwrapException(e)))throw e;s.error$2(0,'The default namespace "'+A.S(r)+P.x22x20is_n,s.spanFrom$1(t))}},_stylesheet$_configuration$1$allowGuarded(e){var t,r,n,i,o,s,a,l,c,u,d=this;if(!d.scanIdentifier$1("with"))return null;for(t=A.LinkedHashSet_LinkedHashSet$_empty(D.String),r=A._setArrayType([],D.JSArray_ConfiguredVariable),d.whitespace$1$consumeNewlines(!0),(n=d.scanner).expectChar$1(40),i=d.warnings;(d.whitespace$1$consumeNewlines(!0),o=new A._SpanScannerState(n,n._string_scanner$_position),n.expectChar$1(36),s=d.identifier$1$normalize(!0),C.JSString_methods.startsWith$1(s,"-")&&i.push(new A._Record_3_deprecation_message_span(C.Deprecation_mXO,P.Config,d.spanFrom$1(o))),d.whitespace$1$consumeNewlines(!0),n.expectChar$1(58),d.whitespace$1$consumeNewlines(!0),a=d.expressionUntilComma$0(),l=n._string_scanner$_position,e&&n.scanChar$1(33)?(c="default"===d.identifier$0())?d.whitespace$1$consumeNewlines(!0):d.error$2(0,"Invalid flag name.",d.spanFrom$1(new A._SpanScannerState(n,l))):c=!1,u=d.spanFrom$1(o),t.contains$1(0,s)&&d.error$2(0,P.The_sa,u),t.add$1(0,s),r.push(new A.ConfiguredVariable(s,a,c,u)),n.scanChar$1(44))&&(d.whitespace$1$consumeNewlines(!0),d._lookingAtExpression$0()););return n.expectChar$1(41),r},_stylesheet$_configuration$0(){return this._stylesheet$_configuration$1$allowGuarded(!1)},_warnRule$1(e){var t,r,n,i=this;return i.whitespace$1$consumeNewlines(!0),t=i._expression$0(),n=(r=i.scanner)._string_scanner$_position,i.expectStatementSeparator$1("@warn rule"),new A.WarnRule(t,i.spanFrom$2(e,new A._SpanScannerState(r,n)))},_whileRule$2(e,t){var r,n=this;return n.whitespace$1$consumeNewlines(!0),r=n._inControlDirective,n._inControlDirective=!0,n._withChildren$3(t,e,new A.StylesheetParser__whileRule_closure(n,r,n._expression$0()))},unknownAtRule$2(e,t){var r,n,i,o=this,s={},a=o._stylesheet$_inUnknownAtRule;o._stylesheet$_inUnknownAtRule=!0,o.whitespace$1$consumeNewlines(!1),s.value=null,n=33===o.scanner.peekChar$0()||o.atEndOfStatement$0()?null:s.value=o._interpolatedDeclarationValue$1$allowOpenBrace(!1),r=o._inPlainCssFunction,null!=(i=t.get$asPlain())&&A.equalsIgnoreCase(i,"function")&&(o._inPlainCssFunction=!0);try{return o.lookingAtChildren$0()?s=o._withChildren$3(o.get$_statement(),e,new A.StylesheetParser_unknownAtRule_closure(s,t)):(o.expectStatementSeparator$0(),s=A.AtRule$(t,o.spanFrom$1(e),null,n))}finally{o._stylesheet$_inUnknownAtRule=a,o._inPlainCssFunction=r}},_disallowedAtRule$1(e){var t=this;t.whitespace$1$consumeNewlines(!1),t._interpolatedDeclarationValue$2$allowEmpty$allowOpenBrace(!0,!1),t.error$2(0,"This at-rule is not allowed here.",t.spanFrom$1(e))},_parameterList$0(){var e,t,r,n,i,o,s=this,a=s.scanner,l=a._string_scanner$_position;for(a.expectChar$1(40),s.whitespace$1$consumeNewlines(!0),e=A._setArrayType([],D.JSArray_Parameter),t=A.LinkedHashSet_LinkedHashSet$_empty(D.String);r=null,36===a.peekChar$0();){if(n=a._string_scanner$_position,a.expectChar$1(36),i=s.identifier$1$normalize(!0),s.whitespace$1$consumeNewlines(!0),a.scanChar$1(58))s.whitespace$1$consumeNewlines(!0),o=s.expressionUntilComma$0();else{if(a.scanChar$1(46)){a.expectChar$1(46),a.expectChar$1(46),s.whitespace$1$consumeNewlines(!0),a.scanChar$1(44)&&s.whitespace$1$consumeNewlines(!0),r=i;break}o=null}if(e.push(new A.Parameter(i,o,s.spanFrom$1(new A._SpanScannerState(a,n)))),t.add$1(0,i)||s.error$2(0,"Duplicate parameter.",C.JSArray_methods.get$last(e).span),!a.scanChar$1(44))break;s.whitespace$1$consumeNewlines(!0)}return a.expectChar$1(41),a=s.spanFrom$1(new A._SpanScannerState(a,l)),new A.ParameterList(A.List_List$unmodifiable(e,D.Parameter),r,a)},_argumentInvocation$2$allowEmptySecondArg$mixin(e,t){var r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v=this,b=v.scanner,y=b._string_scanner$_position;for(b.expectChar$1(40),v.whitespace$1$consumeNewlines(!0),r=A._setArrayType([],D.JSArray_Expression),n=D.String,i=A.LinkedHashMap_LinkedHashMap$_empty(n,D.Expression),o=A.LinkedHashMap_LinkedHashMap$_empty(n,D.FileSpan),s=!t,a=v.warnings,l=D.SourceSpan,c=null,u=!1;d=null,v._lookingAtExpression$0();){if(h=v.expressionUntilComma$1$singleEquals(s),v.whitespace$1$consumeNewlines(!0),p=!0,h instanceof A.VariableExpression&&b.scanChar$1(58))v.whitespace$1$consumeNewlines(!0),m=h.name,i.containsKey$1(m)&&v.error$2(0,"Duplicate argument.",h.span),_=v.expressionUntilComma$1$singleEquals(s),i.$indexSet(0,m,_),g=h.span,o.$indexSet(0,m,g.expand$1(0,_.get$span(_))),null==c||u||(a.push(new A._Record_3_deprecation_message_span(C.Deprecation_8Zg,P.Named_,new A.MultiSpan(v.spanFromPosition$1(g.get$start(g).offset),"named argument",A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([c.get$span(c),"rest argument"],l,n),l,n)))),u=p);else if(b.scanChar$1(46)){if(b.expectChar$1(46),b.expectChar$1(46),null!=c){v.whitespace$1$consumeNewlines(!0),b.scanChar$1(44)&&v.whitespace$1$consumeNewlines(!0),d=h;break}c=h}else 0!==i.__js_helper$_length?v.error$2(0,P.Positik,h.get$span(h)):(r.push(h),null==c||u||(a.push(new A._Record_3_deprecation_message_span(C.Deprecation_8Zg,P.Positir,new A.MultiSpan(h.get$span(h),"positional argument",A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([c.get$span(c),"rest argument"],l,n),l,n)))),u=p));if(v.whitespace$1$consumeNewlines(!0),!b.scanChar$1(44))break;if(v.whitespace$1$consumeNewlines(!0),e&&1===r.length&&0===i.__js_helper$_length&&null==c&&41===b.peekChar$0()){n=b._sourceFile,s=b._string_scanner$_position,new A.FileLocation(n,s).FileLocation$_$2(n,s),(a=new A._FileSpan(n,s,s))._FileSpan$3(n,s,s),(f=A.List_List$from([""],!1,D.Object)).$flags=3,r.push(new A.StringExpression(new A.Interpolation(f,C.List_null,a),!1));break}}return b.expectChar$1(41),A.ArgumentList$(r,i,o,v.spanFrom$1(new A._SpanScannerState(b,y)),d,c)},_argumentInvocation$0(){return this._argumentInvocation$2$allowEmptySecondArg$mixin(!1,!1)},_argumentInvocation$1$allowEmptySecondArg(e){return this._argumentInvocation$2$allowEmptySecondArg$mixin(e,!1)},_argumentInvocation$1$mixin(e){return this._argumentInvocation$2$allowEmptySecondArg$mixin(!1,e)},_expression$4$bracketList$consumeNewlines$singleEquals$until(e,t,r,n){var i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y,$,x,S,w,E,I,M=this,k="Expected expression.",T={},R=null!=n;if(R&&n.call$0()&&M.scanner.error$1(0,k),e){if(i=M.scanner,o=new A._SpanScannerState(i,i._string_scanner$_position),i.expectChar$1(91),M.whitespace$1$consumeNewlines(!0),i.scanChar$1(93))return R=A._setArrayType([],D.JSArray_Expression),i=M.spanFrom$1(o),new A.ListExpression(A.List_List$unmodifiable(R,D.Expression),C.ListSeparator_undecided_null_3_undecided,!0,i)}else o=null;for(i=M.scanner,s=new A._SpanScannerState(i,i._string_scanner$_position),a=M._inExpression,l=M._inParentheses,M._inExpression=!0,T.operands_=T.operators_=T.spaceExpressions_=T.commaExpressions_=null,T.allowSlash=!0,T.singleExpression_=M._singleExpression$0(),c=new A.StylesheetParser__expression_resetState(T,M,s),u=new A.StylesheetParser__expression_resolveOneOperation(T,M),d=new A.StylesheetParser__expression_resolveOperations(T,u),h=new A.StylesheetParser__expression_addSingleExpression(T,M,c,d),p=new A.StylesheetParser__expression_addOperator(T,M,u,h),m=new A.StylesheetParser__expression_resolveSpaceExpressions(T,M,d),_=!t,g=D.JSArray_Expression;(M.whitespace$1$consumeNewlines(!_||e),!R||!n.call$0())&&null!=(f=i.peekChar$0());)if(40!==f)if(91!==f)if(36!==f)if(38!==f)if(39!==f&&34!==f)if(35!==f)if(61!==f)if(33!==f)if(60!==f)if(62!==f)if(42!==f)if((y=43===f)&&null==T.singleExpression_)h.call$1(M._unaryOperation$0());else if(y)i.readChar$0(),p.call$1(C.BinaryOperator_jCK);else if(45!==f)if((x=47===f)&&null==T.singleExpression_)h.call$1(M._unaryOperation$0());else if(x)i.readChar$0(),p.call$1(C.BinaryOperator_ehp);else if(37!==f)if(f>=48&&f<=57)h.call$1(M._number$0());else{if((S=46===f)&&46===i.peekChar$1(1))break;if(S)h.call$1(M._number$0());else if(97!==f||M.get$plainCss()||!M.scanIdentifier$1("and"))if(111!==f||M.get$plainCss()||!M.scanIdentifier$1("or"))if(117!==f&&85!==f||43!==i.peekChar$1(1))if(b=f>=97&&f<=122||(f>=65&&f<=90||95===f||92===f||f>=128))h.call$1(M.identifierLike$0());else{if(44!==f)break;if(M._inParentheses&&(M._inParentheses=!1,T.allowSlash)){c.call$0();continue}null==(w=T.commaExpressions_)&&(w=T.commaExpressions_=A._setArrayType([],g)),null==T.singleExpression_&&i.error$1(0,k),m.call$0(),(b=T.singleExpression_).toString,w.push(b),i.readChar$0(),T.allowSlash=!0,T.singleExpression_=null}else h.call$1(M._unicodeRange$0());else p.call$1(C.BinaryOperator_OOf);else p.call$1(C.BinaryOperator_5vK)}else i.readChar$0(),p.call$1(C.BinaryOperator_bgA);else $=i.peekChar$1(1),(b=!!(A._isInt($)&&$>=48&&$<=57||46===$)&&(null==T.singleExpression_||(32===(b=i.peekChar$1(-1))||9===b||10===b||13===b||12===b)))?h.call$1(M._number$0()):M._lookingAtInterpolatedIdentifier$0()?h.call$1(M.identifierLike$0()):null==T.singleExpression_?h.call$1(M._unaryOperation$0()):(i.readChar$0(),p.call$1(C.BinaryOperator_tDf));else i.readChar$0(),p.call$1(C.BinaryOperator_wkM);else i.readChar$0(),p.call$1(i.scanChar$1(61)?C.BinaryOperator_YGt:C.BinaryOperator_Tic);else i.readChar$0(),p.call$1(i.scanChar$1(61)?C.BinaryOperator_f2c:C.BinaryOperator_CG2);else if(61!==(v=i.peekChar$1(1))){if(b=!0,null!=v&&105!==v&&73!==v&&(b=32===v||9===v||10===v||13===v||12===v),!b)break;h.call$1(M._importantExpression$0())}else i.readChar$0(),i.readChar$0(),p.call$1(C.BinaryOperator_Fv2);else i.readChar$0(),r&&61!==i.peekChar$0()?p.call$1(C.BinaryOperator_g6F):(i.expectChar$1(61),p.call$1(C.BinaryOperator_K7S));else h.call$1(M._hashExpression$0());else h.call$1(M.interpolatedString$0());else h.call$1(M._selector$0());else h.call$1(M._variable$0());else h.call$1(M._expression$1$bracketList(!0));else h.call$1(M.parentheses$0());return e&&i.expectChar$1(93),w=T.commaExpressions_,E=T.spaceExpressions_,null!=w?(m.call$0(),M._inParentheses=l,null!=(I=T.singleExpression_)&&w.push(I),M._inExpression=a,R=M.spanFrom$1(null==o?s:o),new A.ListExpression(A.List_List$unmodifiable(w,D.Expression),C.ListSeparator_z0K,e,R)):e&&null!=E?(d.call$0(),M._inExpression=a,(R=T.singleExpression_).toString,E.push(R),o.toString,R=M.spanFrom$1(o),new A.ListExpression(A.List_List$unmodifiable(E,D.Expression),C.ListSeparator_SrV,!0,R)):(m.call$0(),e&&((R=T.singleExpression_).toString,g=A._setArrayType([R],g),o.toString,R=M.spanFrom$1(o),T.singleExpression_=new A.ListExpression(A.List_List$unmodifiable(g,D.Expression),C.ListSeparator_undecided_null_3_undecided,!0,R)),M._inExpression=a,(R=T.singleExpression_).toString,R)},_expression$0(){return this._expression$4$bracketList$consumeNewlines$singleEquals$until(!1,!1,!1,null)},_expression$1$consumeNewlines(e){return this._expression$4$bracketList$consumeNewlines$singleEquals$until(!1,e,!1,null)},_expression$3$consumeNewlines$singleEquals$until(e,t,r){return this._expression$4$bracketList$consumeNewlines$singleEquals$until(!1,e,t,r)},_expression$1$bracketList(e){return this._expression$4$bracketList$consumeNewlines$singleEquals$until(e,!1,!1,null)},_expression$2$consumeNewlines$until(e,t){return this._expression$4$bracketList$consumeNewlines$singleEquals$until(!1,e,!1,t)},expressionUntilComma$1$singleEquals(e){return this._expression$3$consumeNewlines$singleEquals$until(!0,e,new A.StylesheetParser_expressionUntilComma_closure(this))},expressionUntilComma$0(){return this.expressionUntilComma$1$singleEquals(!1)},_isSlashOperand$1(e){var t=!0;return e instanceof A.NumberExpression||e instanceof A.FunctionExpression||(t=e instanceof A.BinaryOperationExpression&&e.allowsSlash),t},_singleExpression$0(){var e,t,r=this,n="Expected expression.",i=r.scanner,o=i.peekChar$0();return null==o&&i.error$1(0,n),40!==o?47!==o?46!==o?91!==o?36!==o?38!==o?39!==o&&34!==o?35!==o?43!==o?45!==o?33!==o?37!==o?i=117!==o&&85!==o||43!==i.peekChar$1(1)?o>=48&&o<=57?r._number$0():(t=o>=97&&o<=122||(o>=65&&o<=90||95===o||92===o||o>=128))?r.identifierLike$0():i.error$1(0,n):r._unicodeRange$0():(t=i._string_scanner$_position,i.readChar$0(),t=r.spanFrom$1(new A._SpanScannerState(i,t)),i=t=new A.StringExpression(new A.Interpolation(A.List_List$unmodifiable(["%"],D.Object),C.List_null,t),!1)):i=r._importantExpression$0():i=r._minusExpression$0():(e=i.peekChar$1(1),i=null!=e&&e>=48&&e<=57||46===e?r._number$0():r._unaryOperation$0()):i=r._hashExpression$0():i=r.interpolatedString$0():i=r._selector$0():i=r._variable$0():i=r._expression$1$bracketList(!0):i=r._number$0():i=r._unaryOperation$0():i=r.parentheses$0(),i},parentheses$0(){var e,t,r,n,i,o,s,a=this,l=a._inParentheses;a._inParentheses=!0;try{if(o=a.scanner,e=new A._SpanScannerState(o,o._string_scanner$_position),o.expectChar$1(40),a.whitespace$1$consumeNewlines(!0),t=new A._SpanScannerState(o,o._string_scanner$_position),!a._lookingAtExpression$0())return o.expectChar$1(41),o=A._setArrayType([],D.JSArray_Expression),s=a.spanFrom$1(e),o=A.List_List$unmodifiable(o,D.Expression),new A.ListExpression(o,C.ListSeparator_undecided_null_3_undecided,!1,s);if(r=a.expressionUntilComma$0(),o.scanChar$1(58))return a.whitespace$1$consumeNewlines(!0),o=a._stylesheet$_map$2(r,e);if(!o.scanChar$1(44))return o.expectChar$1(41),o=a.spanFrom$1(e),new A.ParenthesizedExpression(r,o);for(a.whitespace$1$consumeNewlines(!0),n=A._setArrayType([r],D.JSArray_Expression);a._lookingAtExpression$0()&&(w.add$1$ax(n,a.expressionUntilComma$0()),o.scanChar$1(44));)a.whitespace$1$consumeNewlines(!0);return s=a.spanFrom$1(t),i=new A.ListExpression(A.List_List$unmodifiable(n,D.Expression),C.ListSeparator_z0K,!1,s),o.expectChar$1(41),o=a.spanFrom$1(e),new A.ParenthesizedExpression(i,o)}finally{a._inParentheses=l}},_stylesheet$_map$2(e,t){var r,n,i=this,o=A._setArrayType([new A._Record_2(e,i.expressionUntilComma$0())],D.JSArray_Record_2_Expression_and_Expression);for(r=i.scanner;r.scanChar$1(44)&&(i.whitespace$1$consumeNewlines(!0),i._lookingAtExpression$0());)n=i.expressionUntilComma$0(),r.expectChar$1(58),i.whitespace$1$consumeNewlines(!0),o.push(new A._Record_2(n,i.expressionUntilComma$0()));return r.expectChar$1(41),r=i.spanFrom$1(t),new A.MapExpression(A.List_List$unmodifiable(o,D.Record_2_Expression_and_Expression),r)},_hashExpression$0(){var e,t,r,n,i=this,o=i.scanner;return 123===o.peekChar$1(1)?i.identifierLike$0():(e=new A._SpanScannerState(o,o._string_scanner$_position),o.expectChar$1(35),!0===(t=null==(t=o.peekChar$0())?null:t>=48&&t<=57)?new A.ColorExpression(i._hexColorContents$1(e),i.spanFrom$1(e)):(t=o._string_scanner$_position,r=i.interpolatedIdentifier$0(),i._isHexColor$1(r)?(o.set$state(new A._SpanScannerState(o,t)),new A.ColorExpression(i._hexColorContents$1(e),i.spanFrom$1(e))):(o=new A.StringBuffer(""),n=new A.InterpolationBuffer(o,A._setArrayType([],D.JSArray_Object),A._setArrayType([],D.JSArray_nullable_FileSpan)),t=A.Primitives_stringFromCharCode(35),o._contents+=t,n.addInterpolation$1(r),new A.StringExpression(n.interpolation$1(i.spanFrom$1(e)),!1))))},_hexColorContents$1(e){var t,r,n,i,o,s,a,l,c=this,u=c._hexDigit$0(),d=c._hexDigit$0(),h=c._hexDigit$0(),p=c.scanner,m=p.peekChar$0();return null!=m&&A.CharacterExtension_get_isHex(m)?(o=c._hexDigit$0(),a=u<<4>>>0,l=h<<4>>>0,(s=null!=(m=p.peekChar$0())&&A.CharacterExtension_get_isHex(m))?(t=a+d,r=l+o,n=(c._hexDigit$0()<<4>>>0)+c._hexDigit$0(),i=null!=(m=p.peekChar$0())&&A.CharacterExtension_get_isHex(m)?((c._hexDigit$0()<<4>>>0)+c._hexDigit$0())/255:null):(t=a+u,r=(d<<4>>>0)+d,n=l+h,i=((o<<4>>>0)+o)/255)):(t=(u<<4>>>0)+u,r=(d<<4>>>0)+d,n=(h<<4>>>0)+h,i=null),s=(p=null==i)?1:i,A.SassColor_SassColor$rgbInternal(t,r,n,s,p?new A.SpanColorFormat(c.spanFrom$1(e)):null)},_isHexColor$1(e){var t,r,n=e.get$asPlain();return"string"==typeof n?(r=!0,3!==(t=n.length)&&4!==t&&6!==t&&(r=8===t)):r=!1,!!r&&(r=new A.CodeUnits(n)).every$1(r,new A.StylesheetParser__isHexColor_closure)},_hexDigit$0(){var e=this.scanner,t=e.peekChar$0();return!0===(t=null==t?null:A.CharacterExtension_get_isHex(t))?A.asHex(e.readChar$0()):e.error$1(0,"Expected hex digit.")},_minusExpression$0(){var e=this,t=e.scanner.peekChar$1(1);return A._isInt(t)&&t>=48&&t<=57||46===t?e._number$0():e._lookingAtInterpolatedIdentifier$0()?e.identifierLike$0():e._unaryOperation$0()},_importantExpression$0(){var e=this,t=e.scanner,r=t._string_scanner$_position;return t.readChar$0(),e.whitespace$1$consumeNewlines(!0),e.expectIdentifier$1("important"),r=e.spanFrom$1(new A._SpanScannerState(t,r)),new A.StringExpression(new A.Interpolation(A.List_List$unmodifiable(["!important"],D.Object),C.List_null,r),!1)},_unaryOperation$0(){var e=this,t=e.scanner,r=t._string_scanner$_position,n=e._unaryOperatorFor$1(t.readChar$0());return null==n?t.error$2$position(0,"Expected unary operator.",t._string_scanner$_position-1):e.get$plainCss()&&n!==C.UnaryOperator_Y93&&t.error$3$length$position(0,"Operators aren't allowed in plain CSS.",1,t._string_scanner$_position-1),e.whitespace$1$consumeNewlines(!0),new A.UnaryOperationExpression(n,e._singleExpression$0(),e.spanFrom$1(new A._SpanScannerState(t,r)))},_unaryOperatorFor$1:e=>43!==e?45!==e?47!==e?null:C.UnaryOperator_Y93:C.UnaryOperator_hCO:C.UnaryOperator_n2K,_number$0(){var e,t,r=this,n=r.scanner,i=n._string_scanner$_position,o=n.peekChar$0(),s=43!==o;return s&&45!==o||n.readChar$0(),46!==n.peekChar$0()&&r._consumeNaturalNumber$0(),r._tryDecimal$1$allowTrailingDot(n._string_scanner$_position!==i&&s&&45!==o),r._tryExponent$0(),e=A.double_parse(n.substring$1(0,i)),t=n.scanChar$1(37)?"%":(s=!!r.lookingAtIdentifier$0()&&(45!==n.peekChar$0()||45!==n.peekChar$1(1)))?r.identifier$1$unit(!0):null,new A.NumberExpression(e,t,r.spanFrom$1(new A._SpanScannerState(n,i)))},_consumeNaturalNumber$0(){var e,t=this.scanner,r=t.readChar$0();for(r>=48&&r<=57||t.error$2$position(0,"Expected digit.",t._string_scanner$_position-1);null!=(e=t.peekChar$0())&&e>=48&&e<=57;)t.readChar$0()},_tryDecimal$1$allowTrailingDot(e){var t,r=this.scanner;if(46===r.peekChar$0()){if(!(null!=(t=r.peekChar$1(1))&&t>=48&&t<=57)){if(e)return;r.error$2$position(0,"Expected digit.",r._string_scanner$_position+1)}for(r.readChar$0();null!=(t=r.peekChar$0())&&t>=48&&t<=57;)r.readChar$0()}},_tryExponent$0(){var e,t,r=this.scanner,n=r.peekChar$0();if((101===n||69===n)&&(null!=(e=r.peekChar$1(1))&&e>=48&&e<=57||45===e||43===e))for(r.readChar$0(),43!==e&&45!==e||r.readChar$0(),null!=(t=r.peekChar$0())&&t>=48&&t<=57||r.error$1(0,"Expected digit.");null!=(t=r.peekChar$0())&&t>=48&&t<=57;)r.readChar$0()},_unicodeRange$0(){var e,t,r,n,i=this,o="Expected at most 6 digits.",s=i.scanner,a=s._string_scanner$_position,l=new A._SpanScannerState(s,a);for(i.expectIdentChar$1(117),s.expectChar$1(43),e=0;i.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure);)++e;for(t=!1;s.scanChar$1(63);t=!0)++e;if(0===e)s.error$1(0,'Expected hex digit or "?".');else if(e>6)i.error$2(0,o,i.spanFrom$1(l));else if(t)return s=s.substring$1(0,a),a=i.spanFrom$1(l),new A.StringExpression(new A.Interpolation(A.List_List$unmodifiable([s],D.Object),C.List_null,a),!1);if(s.scanChar$1(45)){for(r=s._string_scanner$_position,n=0;i.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure0);)++n;0===n?s.error$1(0,"Expected hex digit."):n>6&&i.error$2(0,o,i.spanFrom$1(new A._SpanScannerState(s,r)))}return i._lookingAtInterpolatedIdentifierBody$0()&&s.error$1(0,"Expected end of identifier."),s=s.substring$1(0,a),a=i.spanFrom$1(l),new A.StringExpression(new A.Interpolation(A.List_List$unmodifiable([s],D.Object),C.List_null,a),!1)},_variable$0(){var e=this,t=e.scanner,r=new A._SpanScannerState(t,t._string_scanner$_position),n=e.variableName$0();return e.get$plainCss()&&e.error$2(0,P.Sass_v,e.spanFrom$1(r)),new A.VariableExpression(null,n,e.spanFrom$1(r))},_selector$0(){var e,t,r=this;return r.get$plainCss()&&r.scanner.error$2$length(0,P.The_pa,1),e=r.scanner,t=new A._SpanScannerState(e,e._string_scanner$_position),e.expectChar$1(38),e.scanChar$1(38)&&(r.warnings.push(new A._Record_3_deprecation_message_span(null,P.In_Sas,r.spanFrom$1(t))),e.set$position(e._string_scanner$_position-1)),new A.SelectorExpression(r.spanFrom$1(t))},interpolatedString$0(){var e,t,r,n,i,o,s,a,l=this.scanner,c=l._string_scanner$_position,u=l.readChar$0();for(39!==u&&34!==u&&l.error$2$position(0,"Expected string.",c),e=new A.StringBuffer(""),t=A._setArrayType([],D.JSArray_Object),r=A._setArrayType([],D.JSArray_nullable_FileSpan),n=new A.InterpolationBuffer(e,t,r);;){if((i=l.peekChar$0())===u){l.readChar$0();break}null!=i&&10!==i&&13!==i&&12!==i||l.error$1(0,"Expected "+A.Primitives_stringFromCharCode(u)+"."),92!==i?35!==i||123!==l.peekChar$1(1)?(s=A.Primitives_stringFromCharCode(l.readChar$0()),e._contents+=s):(a=this.singleInterpolation$0(),n._flushText$0(),t.push(a._0),r.push(a._1)):10===(o=l.peekChar$1(1))||13===o||12===o?(l.readChar$0(),l.readChar$0(),13===o&&l.scanChar$1(10)):(s=A.Primitives_stringFromCharCode(A.consumeEscapedCharacter(l)),e._contents+=s)}return new A.StringExpression(n.interpolation$1(this.spanFrom$1(new A._SpanScannerState(l,c))),!0)},interpolatedStringToken$0(){var e,t,r,n,i,o,s,a,l,c,u,d=this,h=d.scanner,p=h._string_scanner$_position,m=h.readChar$0();for(39!==m&&34!==m&&h.error$2$position(0,"Expected string.",p),e=new A.StringBuffer(""),t=A._setArrayType([],D.JSArray_Object),r=A._setArrayType([],D.JSArray_nullable_FileSpan),n=new A.InterpolationBuffer(e,t,r),i=A.Primitives_stringFromCharCode(m),e._contents+=i;;){if((o=h.peekChar$0())===m){t=A.Primitives_stringFromCharCode(h.readChar$0()),e._contents+=t;break}null!=o&&10!==o&&13!==o&&12!==o||h.error$1(0,"Expected "+i+"."),92!==o?35!==o||123!==h.peekChar$1(1)?(a=A.Primitives_stringFromCharCode(h.readChar$0()),e._contents+=a):(u=d.singleInterpolation$0(),n._flushText$0(),t.push(u._0),r.push(u._1)):10===(s=h.peekChar$1(1))||13===s||12===s?(a=A.Primitives_stringFromCharCode(h.readChar$0()),e._contents+=a,a=A.Primitives_stringFromCharCode(h.readChar$0()),e._contents+=a,13===s&&h.scanChar$1(10)&&(a=A.Primitives_stringFromCharCode(10),e._contents+=a)):(l=h._string_scanner$_position,new A.StylesheetParser_interpolatedStringToken_closure(d).call$0(),c=h._string_scanner$_position,e._contents+=C.JSString_methods.substring$2(h.string,l,c))}return n.interpolation$1(d.spanFrom$1(new A._SpanScannerState(h,p)))},identifierLike$0(){var e,t,r,n,i,o,s,a,l,c,u,d,h=this,p=h.scanner,m=new A._SpanScannerState(p,p._string_scanner$_position),_=h.interpolatedIdentifier$0(),g=_.get$asPlain(),f=A._Cell$(),v=null!=g;if(v){if("if"===g&&40===p.peekChar$0()){e=new A._SpanScannerState(p,p._string_scanner$_position);try{return t=h._argumentInvocation$0(),r=new A.LegacyIfExpression(t,_.span.expand$1(0,t.span)),n=null,i=r.get$modernSuggestion(),o=null,null==i?n="":(o=i,n="Suggestion: "+A.S(o)+"\n\n"),h.warnings.push(new A._Record_3_deprecation_message_span(C.Deprecation_qPD,C.JSString_methods.$add(P.The_Sa,n)+P.More_i,r.span)),r}catch(t){if(D.FormatException._is(A.unwrapException(t)))return p.set$state(e),h.ifExpression$1(m);throw t}}else{if("if"===g.toLowerCase()&&40===p.peekChar$0())return h.ifExpression$1(m);if("not"===g)return h.whitespace$1$consumeNewlines(!0),r=h._singleExpression$0(),new A.UnaryOperationExpression(C.UnaryOperator_not_not_3_not,r,_.span.expand$1(0,r.get$span(r)))}if(f.__late_helper$_value=g.toLowerCase(),40!==p.peekChar$0()){switch(g){case"false":return new A.BooleanExpression(!1,_.span);case"null":return new A.NullExpression(_.span);case"true":return new A.BooleanExpression(!0,_.span)}if(null!=(s=I.$get$colorsByName().$index(0,f._readLocal$0())))return n=C.JSNumber_methods.round$0(s._legacyChannel$2(C.RgbColorSpace_i0P,"red")),p=C.JSNumber_methods.round$0(s._legacyChannel$2(C.RgbColorSpace_i0P,"green")),v=C.JSNumber_methods.round$0(s._legacyChannel$2(C.RgbColorSpace_i0P,"blue")),null==(a=s.alphaOrNull)&&(a=0),new A.ColorExpression(A.SassColor_SassColor$rgbInternal(n,p,v,a,new A.SpanColorFormat(_.span)),_.span)}if(null!=(l=h.trySpecialFunction$2(f._readLocal$0(),m)))return l}if((u=46===(c=p.peekChar$0()))&&46===p.peekChar$1(1))return new A.StringExpression(_,!1);if(u){if(p.readChar$0(),v)return h.namespacedExpression$2(g,m);h.error$2(0,P.Interpn,_.span)}return(d=40===c)&&v?(n=h._argumentInvocation$1$allowEmptySecondArg(w.$eq$(f._readLocal$0(),"var")),p=h.spanFrom$1(m),new A.FunctionExpression(null,A.stringReplaceAllUnchecked(g,"_","-"),g,n,p)):d?new A.InterpolatedFunctionExpression(_,h._argumentInvocation$0(),h.spanFrom$1(m)):new A.StringExpression(_,!1)},ifExpression$1(e){var t,r,n,i=this,o=i.scanner;for(o.expectChar$1(40),i.whitespace$1$consumeNewlines(!0),t=A._setArrayType([],D.JSArray_Record_2_nullable_IfConditionExpression_and_Expression);41!==o.peekChar$0()&&(r=i.scanIdentifier$1("else")?null:i._ifConditionExpression$0(),i.whitespace$1$consumeNewlines(!0),o.expectChar$1(58),i.whitespace$1$consumeNewlines(!0),t.push(new A._Record_2(r,i._expression$1$consumeNewlines(!0))),i.whitespace$1$consumeNewlines(!0),o.scanChar$1(59));)i.whitespace$1$consumeNewlines(!0);return o.expectChar$1(41),o=o.spanFrom$1(e),0===(n=A.List_List$unmodifiable(t,D.Record_2_nullable_IfConditionExpression_and_Expression)).length&&A.throwExpression(A.ArgumentError$value(n,"branches","may not be empty")),new A.IfExpression(n,o)},_ifConditionExpression$0(){var e,t,r,n,i,o=this,s=P.Whitesa,a="expressions",l="must have length >= 2",c=o.scanner,u=c._string_scanner$_position;if(o.scanIdentifier$1("not"))return 40===c.peekChar$0()&&c.error$1(0,P.Whitesn),o.whitespace$1$consumeNewlines(!0),new A.IfConditionNegation(o._ifGroup$0(),c.spanFrom$1(new A._SpanScannerState(c,u)));for(e=A._setArrayType([o._ifGroup$0()],D.JSArray_IfConditionExpression),o.whitespace$1$consumeNewlines(!0),t=null;;){if(t!==C.BooleanOperator_1&&o.scanIdentifier$1("and"))40===c.peekChar$0()&&c.error$1(0,s),o.whitespace$1$consumeNewlines(!0),null==t&&(t=C.BooleanOperator_0),e.push(o._ifGroup$0());else{if(t===C.BooleanOperator_0||!o.scanIdentifier$1("or")){if(null!=(r=c.peekChar$0())&&41!==r&&58!==r&&C.JSArray_methods.get$last(e).get$isArbitrarySubstitution())return 1!==e.length?(t.toString,(n=A.List_List$from(e,!1,D.IfConditionExpression)).$flags=3,c=n,u=new A.IfConditionOperation(c,t),c.length<2&&A.throwExpression(A.ArgumentError$value(c,a,l)),c=u):c=e[0],o._ifConditionRaw$2(c,o._ifGroup$0());if(null!=(i=o._tryArbitrarySubstitution$0()))return 1!==e.length?(t.toString,(n=A.List_List$from(e,!1,D.IfConditionExpression)).$flags=3,c=n,u=new A.IfConditionOperation(c,t),c.length<2&&A.throwExpression(A.ArgumentError$value(c,a,l)),c=u):c=e[0],o._ifConditionRaw$2(c,i);break}40===c.peekChar$0()&&c.error$1(0,s),o.whitespace$1$consumeNewlines(!0),null==t&&(t=C.BooleanOperator_1),e.push(o._ifGroup$0())}o.whitespace$1$consumeNewlines(!0)}return 1!==e.length?(t.toString,c=A.IfConditionOperation$(e,t)):c=e[0],c},_ifConditionRaw$2(e,t){var r,n,i,o,s,a,l,c,u,d,h,p,m,_=this,g=null;for(e.get$isArbitrarySubstitution()?r=e:(r=g,n=!1,e instanceof A.IfConditionOperation&&(s=o=(i=e.expressions).length)>=1?r=(a=i[o-1]).get$isArbitrarySubstitution():(a=r,r=n),r=r?a:(r=t.get$isArbitrarySubstitution())?t:A.throwExpression(A.ArgumentError$("Either "+e.toString$0(0)+P.x20must_e+t.toString$0(0)+" must be one.",g))),n=new A.StringBuffer(""),(l=new A.InterpolationBuffer(n,A._setArrayType([],D.JSArray_Object),A._setArrayType([],D.JSArray_nullable_FileSpan))).addInterpolation$1(e.toInterpolation$1(r)),s=A.Primitives_stringFromCharCode(32),n._contents+=s,l.addInterpolation$1(t.toInterpolation$1(r)),c=e instanceof A.IfConditionOperation?e.op:g,_.whitespace$1$consumeNewlines(!0),u=_.scanner,d=t;;){if(c!==C.BooleanOperator_1&&_.scanIdentifier$1("and"))40===u.peekChar$0()&&u.error$1(0,P.Whitesa),_.whitespace$1$consumeNewlines(!0),null==c&&(c=C.BooleanOperator_0),h=_._ifGroup$0(),n._contents+=" and ",l.addInterpolation$1(h.toInterpolation$1(r));else if(c!==C.BooleanOperator_0&&_.scanIdentifier$1("or"))40===u.peekChar$0()&&u.error$1(0,P.Whiteso),_.whitespace$1$consumeNewlines(!0),null==c&&(c=C.BooleanOperator_1),d=_._ifGroup$0(),_.whitespace$1$consumeNewlines(!0),n._contents+=" or ",l.addInterpolation$1(d.toInterpolation$1(r));else if(null!=(p=u.peekChar$0())&&41!==p&&58!==p&&d.get$isArbitrarySubstitution())d=_._ifGroup$0(),n._contents+=s,l.addInterpolation$1(d.toInterpolation$1(r));else{if(null==(m=_._tryArbitrarySubstitution$0()))break;n._contents+=s,l.addInterpolation$1(m.toInterpolation$1(r)),d=m}_.whitespace$1$consumeNewlines(!0)}return r=e.get$span(e),n=(u=A.FileLocation$_(u._sourceFile,u._string_scanner$_position)).offset,new A.IfConditionRaw(l.interpolation$1(r.expand$1(0,A._FileSpan$(u.file,n,n))))},_ifGroup$0(){var e,t,r,n,i,o,s=this,a=s.scanner,l=new A._SpanScannerState(a,a._string_scanner$_position);if(40===a.peekChar$0())return a.expectChar$1(40),s.whitespace$1$consumeNewlines(!0),e=s._ifConditionExpression$0(),s.whitespace$1$consumeNewlines(!0),a.expectChar$1(41),new A.IfConditionParenthesized(e,a.spanFrom$1(l));if(t=s.scanIdentifier$2$caseSensitive("sass",!0)){if(a.expectChar$1(40),s.whitespace$1$consumeNewlines(!0),e=s._expression$0(),s.whitespace$1$consumeNewlines(!0),a.expectChar$1(41),!s.get$plainCss())return new A.IfConditionSass(e,a.spanFrom$1(l));s.error$2(0,P.sass__,a.spanFrom$1(l))}return(t=1===(n=(r=s.interpolatedIdentifier$0()).contents).length&&(n[0]instanceof A.Expression&&40!==a.peekChar$0()))?new A.IfConditionRaw(r):(null!=(i=r.get$asPlain())?(o=null==i?A._asString(i):i,t=C.Set_6V2Gi.contains$1(0,o.toLowerCase())&&40===a.peekChar$0()):t=!1,t&&a.error$1(0,'Whitespace is required between "'+r.toString$0(0)+'" and "("'),a.expectChar$1(40),s.whitespace$1$consumeNewlines(!0),e=s._interpolatedDeclarationValue$3$allowEmpty$allowSemicolon$consumeNewlines(!0,!0,!0),s.whitespace$1$consumeNewlines(!0),a.expectChar$1(41),new A.IfConditionFunction(r,e,a.spanFrom$1(l)))},_tryArbitrarySubstitution$0(){var e,t,r,n,i,o=this,s=o.scanner;return 35===s.peekChar$0()?(t=(e=o.singleInterpolation$0())._1,(s=new A.InterpolationBuffer(new A.StringBuffer(""),A._setArrayType([],D.JSArray_Object),A._setArrayType([],D.JSArray_nullable_FileSpan))).add$2(0,e._0,t),new A.IfConditionRaw(s.interpolation$1(t))):(r=new A._SpanScannerState(s,s._string_scanner$_position),(n=o.scanIdentifier$1("if"))?(n=s.spanFrom$1(r),n=new A.Interpolation(A.List_List$unmodifiable(["if"],D.Object),C.List_null,n)):(n=o.scanIdentifier$1("var"))?(n=s.spanFrom$1(r),n=new A.Interpolation(A.List_List$unmodifiable(["var"],D.Object),C.List_null,n)):(n=o.scanIdentifier$1("attr"))?(n=s.spanFrom$1(r),n=new A.Interpolation(A.List_List$unmodifiable(["attr"],D.Object),C.List_null,n)):n=(n=s.matches$1("--"))?o.interpolatedIdentifier$0():null,null==n?null:s.scanChar$1(40)?(i=o._interpolatedDeclarationValue$3$allowEmpty$allowSemicolon$consumeNewlines(!0,!0,!0),s.expectChar$1(41),new A.IfConditionFunction(n,i,s.spanFrom$1(r))):(s.set$state(r),null))},namespacedExpression$2(e,t){var r,n,i,o,s=this;return 36===s.scanner.peekChar$0()?(r=s.variableName$0(),s._assertPublic$2(r,new A.StylesheetParser_namespacedExpression_closure(s,t)),new A.VariableExpression(e,r,s.spanFrom$1(t))):(n=s._publicIdentifier$0(),i=s._argumentInvocation$0(),o=s.spanFrom$1(t),new A.FunctionExpression(e,A.stringReplaceAllUnchecked(n,"_","-"),n,i,o))},trySpecialFunction$2(e,t){var r,n,i,o,s,a,l,c,u,d,h,p,m=this;if("type"===e&&m.scanner.scanChar$1(40))i=new A.StringBuffer(""),o=new A.InterpolationBuffer(i,A._setArrayType([],D.JSArray_Object),A._setArrayType([],D.JSArray_nullable_FileSpan)),i._contents=e,s=A.Primitives_stringFromCharCode(40),i._contents+=s;else{if(l=!(i=(a=A.unvendor(e))===e),(c="expression"===a)&&l&&m.scanner.scanChar$1(40)){i=new A.StringBuffer(""),o=new A.InterpolationBuffer(i,A._setArrayType([],D.JSArray_Object),A._setArrayType([],D.JSArray_nullable_FileSpan)),i._contents=e,s=A.Primitives_stringFromCharCode(40),i._contents+=s,u=(s=m.scanner)._string_scanner$_position,r=!1,n=!1;try{n=!m._expression$0().accept$1(new A.IsPlainCssVisitor(!0))}catch(e){if(!(A.unwrapException(e)instanceof A.StringScannerException))throw e;r=!0}return s.set$state(new A._SpanScannerState(s,u)),d=m._interpolatedDeclarationValue$1$allowEmpty(!0),o.addInterpolation$1(d),s.expectChar$1(41),s=A.Primitives_stringFromCharCode(41),i._contents+=s,(r||n)&&(h=new A.StringExpression(d,!0).asInterpolation$0(),i=r?"be parsed as SassScript. ":"no longer be valid syntax. ",m.warnings.push(new A._Record_3_deprecation_message_span(C.Deprecation_H4k,"Vendor-prefixed "+a+P.x28__fun+i+"To preserve current behavior:\n\n"+e+"(#{"+h.toString$0(0)+P.x7dx29__Mo,m.spanFrom$1(t)))),new A.StringExpression(o.interpolation$1(m.spanFrom$1(t)),!1)}if(s=!0,!(i="calc"===a&&l&&m.scanner.scanChar$1(40)||c&&i&&m.scanner.scanChar$1(40)?s:"element"===a&&m.scanner.scanChar$1(40))){if("progid"===a&&m.scanner.scanChar$1(58)){for(i=new A.StringBuffer(""),o=new A.InterpolationBuffer(i,A._setArrayType([],D.JSArray_Object),A._setArrayType([],D.JSArray_nullable_FileSpan)),i._contents=e,s=A.Primitives_stringFromCharCode(58),i._contents+=s,p=(s=m.scanner).peekChar$0();u=null!=p&&((u=p>=97&&p<=122||p>=65&&p<=90)||46===p);)u=A.Primitives_stringFromCharCode(s.readChar$0()),i._contents+=u,p=s.peekChar$0();return s.expectChar$1(40),u=A.Primitives_stringFromCharCode(40),i._contents+=u,o.addInterpolation$1(m._interpolatedDeclarationValue$1$allowEmpty(!0)),s.expectChar$1(41),s=A.Primitives_stringFromCharCode(41),i._contents+=s,l&&m.warnings.push(new A._Record_3_deprecation_message_span(C.Deprecation_H4k,P.Vendorp+new A.StringExpression(o.interpolation$1(m.spanFrom$1(t)),!0).asInterpolation$0().toString$0(0)+P.x7dx0a_Mor,m.spanFrom$1(t))),new A.StringExpression(o.interpolation$1(m.spanFrom$1(t)),!1)}return"url"===a?A.NullableExtension_andThen(m._tryUrlContents$2$vendored(t,l),new A.StylesheetParser_trySpecialFunction_closure):null}i=new A.StringBuffer(""),o=new A.InterpolationBuffer(i,A._setArrayType([],D.JSArray_Object),A._setArrayType([],D.JSArray_nullable_FileSpan)),i._contents=e,s=A.Primitives_stringFromCharCode(40),i._contents+=s}return o.addInterpolation$1(m._interpolatedDeclarationValue$1$allowEmpty(!0)),m.scanner.expectChar$1(41),i=o._interpolation_buffer$_text,s=A.Primitives_stringFromCharCode(41),i._contents+=s,new A.StringExpression(o.interpolation$1(m.spanFrom$1(t)),!1)},_tryUrlContents$3$name$vendored(e,t,r){var n,i,o,s,a,l,c,u,d,h=this,p=h.scanner,m=p._string_scanner$_position;if(!p.scanChar$1(40))return null;if(n=!1,r){i=p._string_scanner$_position;try{h._expression$0()}catch(e){if(!(A.unwrapException(e)instanceof A.StringScannerException))throw e;n=!0}p.set$state(new A._SpanScannerState(p,i))}for(h.whitespaceWithoutComments$1$consumeNewlines(!0),i=new A.StringBuffer(""),o=A._setArrayType([],D.JSArray_Object),s=A._setArrayType([],D.JSArray_nullable_FileSpan),a=new A.InterpolationBuffer(i,o,s),i._contents=null==t?"url":t,l=A.Primitives_stringFromCharCode(40),i._contents+=l;null!=(c=p.peekChar$0());)if(92!==c)if((u=35===c)&&123===p.peekChar$1(1))d=h.singleInterpolation$0(),a._flushText$0(),o.push(d._0),s.push(d._1);else if(l=!0,33!==c&&37!==c&&38!==c&&(u||(l=c>=42&&c<=126||c>=128)),l)l=A.Primitives_stringFromCharCode(p.readChar$0()),i._contents+=l;else{if(32!==c&&9!==c&&10!==c&&13!==c&&12!==c){if(41===c)return m=A.Primitives_stringFromCharCode(p.readChar$0()),i._contents+=m,r&&n&&h.warnings.push(new A._Record_3_deprecation_message_span(C.Deprecation_H4k,P.Vendoru+A.S(t)+"(#{"+new A.StringExpression(a.interpolation$1(h.spanFrom$1(e)),!0).asInterpolation$0().toString$0(0)+P.x7dx29__Mo,h.spanFrom$1(e))),a.interpolation$1(h.spanFrom$1(e));break}if(h.whitespaceWithoutComments$1$consumeNewlines(!0),41!==p.peekChar$0())break}else l=h.escape$0(),i._contents+=l;return p.set$state(new A._SpanScannerState(p,m)),null},_tryUrlContents$2$vendored(e,t){return this._tryUrlContents$3$name$vendored(e,null,t)},_tryUrlContents$2$name(e,t){return this._tryUrlContents$3$name$vendored(e,t,!1)},_tryUrlContents$1(e){return this._tryUrlContents$3$name$vendored(e,null,!1)},dynamicUrl$0(){var e,t=this,r=t.scanner,n=new A._SpanScannerState(r,r._string_scanner$_position);return t.expectIdentifier$1("url"),null!=(e=t._tryUrlContents$1(n))?new A.StringExpression(e,!1):(r=t.spanFrom$1(n),new A.InterpolatedFunctionExpression(new A.Interpolation(A.List_List$unmodifiable(["url"],D.Object),C.List_null,r),t._argumentInvocation$0(),t.spanFrom$1(n)))},almostAnyValue$1$omitComments(e){var t,r,n,i,o,s,a,l,c,u,d,h,p,m,_,g=this,f=g.scanner,v=f._string_scanner$_position,b=new A.StringBuffer(""),y=new A.InterpolationBuffer(b,A._setArrayType([],D.JSArray_Object),A._setArrayType([],D.JSArray_nullable_FileSpan)),$=A._setArrayType([],D.JSArray_int);for(r=(t=f.string).length,n=!e,i=g.get$loudComment();;)if(92!==(o=f.peekChar$0()))if(34!==o&&39!==o)if(47!==o)if(35!==o||123!==f.peekChar$1(1))if(13!==o&&10!==o&&12!==o){if(33===o||59===o||123===o||125===o)break;if(117!==o&&85!==o)if(40!==o&&91!==o)if(41===o||93===o?_=(s=null!=o)?o:null:(_=null,s=!1),s)0===$.length&&f.error$1(0,'Unexpected "'+A.Primitives_stringFromCharCode(_)+'".'),m=$.pop(),f.expectChar$1(m),s=A.Primitives_stringFromCharCode(m),b._contents+=s;else{if(null==o)break;(s=g.lookingAtIdentifier$0())?(s=g.identifier$0(),b._contents+=s):(s=A.Primitives_stringFromCharCode(f.readChar$0()),b._contents+=s)}else m=f.readChar$0(),s=A.Primitives_stringFromCharCode(m),b._contents+=s,$.push(A.opposite(m));else{if(s=f._string_scanner$_position,"url"!==(h=g.identifier$0())&&"url-prefix"!==h){b._contents+=h;continue}null!=(p=g._tryUrlContents$2$name(new A._SpanScannerState(f,s),h))?y.addInterpolation$1(p):(((0===s?1/s<0:s<0)||s>r)&&A.throwExpression(A.ArgumentError$("Invalid position "+s,null)),f._string_scanner$_position=s,f._lastMatch=null,s=A.Primitives_stringFromCharCode(f.readChar$0()),b._contents+=s)}}else{if(g.get$indented()&&0===$.length)break;s=A.Primitives_stringFromCharCode(f.readChar$0()),b._contents+=s}else y.addInterpolation$1(g.interpolatedIdentifier$0());else(l=42===(a=f.peekChar$1(1)))&&n?(c=f._string_scanner$_position,i.call$0(),u=f._string_scanner$_position,b._contents+=C.JSString_methods.substring$2(t,c,u)):l?g.loudComment$0():(d=47===a)&&n?(s=g.get$silentComment(),c=f._string_scanner$_position,s.call$0(),u=f._string_scanner$_position,b._contents+=C.JSString_methods.substring$2(t,c,u)):d?g.silentComment$0():(s=A.Primitives_stringFromCharCode(f.readChar$0()),b._contents+=s);else y.addInterpolation$1(g.interpolatedStringToken$0());else s=A.Primitives_stringFromCharCode(f.readChar$0()),b._contents+=s,s=A.Primitives_stringFromCharCode(f.readChar$0()),b._contents+=s;return y.interpolation$1(g.spanFrom$1(new A._SpanScannerState(f,v)))},almostAnyValue$0(){return this.almostAnyValue$1$omitComments(!1)},_interpolatedDeclarationValue$7$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$endAfterOf$silentComments(e,t,r,n,i,o,s){var a,l,c,u,d,h,p,m,_,g,f,v,b,y,$,x,S,w,E,I,M,k,T,R,L,P,N,F,O=this,B=null,U=O.scanner,V=U._string_scanner$_position,z=new A.StringBuffer(""),H=A._setArrayType([],D.JSArray_Object),G=new A.InterpolationBuffer(z,H,A._setArrayType([],D.JSArray_nullable_FileSpan)),j=A._setArrayType([],D.JSArray_int);for(a=!i,l=!r,u=(c=U.string).length,d=!e,h=!n,p=O.get$loudComment(),m=!1;;)if(g=!1,92!==(_=U.peekChar$0()))if(34!==_&&39!==_)if(47!==_)if(35!==_||123!==U.peekChar$1(1))if((x=!($=32===_))?f=S=9===_:(S=B,f=!0),w=!1,f=f?m?w:32===(f=U.peekChar$1(1))||9===f||10===f||13===f||12===f:w)U.readChar$0();else if(f=!!$||(x?S:9===_))f=A.Primitives_stringFromCharCode(U.readChar$0()),z._contents+=f;else{if(M=B,f=!0,(I=!(E=10===_))?(T=!(k=13===_))&&(f=M=12===_):(k=B,T=!1),f&&O.get$indented()&&a&&0===j.length)break;if(f=!0,E||(I?k:13===_)||(f=T?M:12===_),f)10!==(f=U.peekChar$1(-1))&&13!==f&&12!==f&&(z._contents+="\n"),U.readChar$0(),m=!0;else{if((R=123===_)&&l)break;if(f=40===_||(R||91===_))L=U.readChar$0(),f=A.Primitives_stringFromCharCode(L),z._contents+=f,j.push(A.opposite(L)),m=g;else if(41!==_&&125!==_&&93!==_)if(59!==_)if(58!==_)if(117!==_&&85!==_)if(111!==_&&79!==_){if(null==_)break;(f=O.lookingAtIdentifier$0())?(f=O.identifier$0(),z._contents+=f,m=g):(f=A.Primitives_stringFromCharCode(U.readChar$0()),z._contents+=f,m=g)}else{if(o&&0===j.length&&(b=U._string_scanner$_position,new A.StylesheetParser__interpolatedDeclarationValue_closure(O).call$0(),y=U._string_scanner$_position,""!==(F=C.JSString_methods.substring$2(c,b,y)))){z._contents+=F;break}f=A.Primitives_stringFromCharCode(U.readChar$0()),z._contents+=f,m=g}else{if(f=U._string_scanner$_position,"url"!==(P=O.identifier$0())&&"url-prefix"!==P){z._contents+=P,m=g;continue}null!=(N=O._tryUrlContents$2$name(new A._SpanScannerState(U,f),P))?G.addInterpolation$1(N):(((0===f?1/f<0:f<0)||f>u)&&A.throwExpression(A.ArgumentError$("Invalid position "+f,B)),U._string_scanner$_position=f,U._lastMatch=null,f=A.Primitives_stringFromCharCode(U.readChar$0()),z._contents+=f),m=g}else{if(d&&0===j.length)break;f=A.Primitives_stringFromCharCode(U.readChar$0()),z._contents+=f,m=g}else{if(h&&0===j.length)break;f=A.Primitives_stringFromCharCode(U.readChar$0()),z._contents+=f,m=g}else{if(0===j.length)break;L=j.pop(),U.expectChar$1(L),f=A.Primitives_stringFromCharCode(L),z._contents+=f,m=g}}}else G.addInterpolation$1(O.interpolatedIdentifier$0()),m=g;else 42!==(v=U.peekChar$1(1))?47===v&&s?O.silentComment$0():(f=A.Primitives_stringFromCharCode(U.readChar$0()),z._contents+=f):(b=U._string_scanner$_position,p.call$0(),y=U._string_scanner$_position,z._contents+=C.JSString_methods.substring$2(c,b,y)),m=g;else G.addInterpolation$1(O.interpolatedStringToken$0()),m=g;else f=O.escape$1$identifierStart(!0),z._contents+=f,m=g;return 0!==j.length&&U.expectChar$1(C.JSArray_methods.get$last(j)),t||0!==H.length||0!==z._contents.length||U.error$1(0,"Expected token."),G.interpolation$1(O.spanFrom$1(new A._SpanScannerState(U,V)))},_interpolatedDeclarationValue$1$allowEmpty(e){return this._interpolatedDeclarationValue$7$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$endAfterOf$silentComments(!0,e,!0,!1,!1,!1,!0)},_interpolatedDeclarationValue$3$allowEmpty$allowSemicolon$consumeNewlines(e,t,r){return this._interpolatedDeclarationValue$7$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$endAfterOf$silentComments(!0,e,!0,t,r,!1,!0)},_interpolatedDeclarationValue$4$allowColon$allowEmpty$allowSemicolon$consumeNewlines(e,t,r,n){return this._interpolatedDeclarationValue$7$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$endAfterOf$silentComments(e,t,!0,r,n,!1,!0)},_interpolatedDeclarationValue$0(){return this._interpolatedDeclarationValue$7$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$endAfterOf$silentComments(!0,!1,!0,!1,!1,!1,!0)},_interpolatedDeclarationValue$1$allowOpenBrace(e){return this._interpolatedDeclarationValue$7$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$endAfterOf$silentComments(!0,!1,e,!1,!1,!1,!0)},_interpolatedDeclarationValue$2$allowEmpty$allowOpenBrace(e,t){return this._interpolatedDeclarationValue$7$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$endAfterOf$silentComments(!0,e,t,!1,!1,!1,!0)},_interpolatedDeclarationValue$1$silentComments(e){return this._interpolatedDeclarationValue$7$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$endAfterOf$silentComments(!0,!1,!0,!1,!1,!1,e)},interpolatedIdentifier$0(){var e,t,r,n=this,i="Expected identifier.",o=n.scanner,s=new A._SpanScannerState(o,o._string_scanner$_position),a=new A.StringBuffer(""),l=new A.InterpolationBuffer(a,A._setArrayType([],D.JSArray_Object),A._setArrayType([],D.JSArray_nullable_FileSpan));return o.scanChar$1(45)&&(e=A.Primitives_stringFromCharCode(45),a._contents+=e,o.scanChar$1(45))?(a._contents+=e,n._interpolatedIdentifierBodyHelper$1(l),l.interpolation$1(n.spanFrom$1(s))):(null==(t=o.peekChar$0())&&o.error$1(0,i),95===t||A.CharacterExtension_get_isAlphabetic(t)||t>=128?(o=A.Primitives_stringFromCharCode(o.readChar$0()),a._contents+=o):92!==t?35!==t||123!==o.peekChar$1(1)?o.error$1(0,i):(r=n.singleInterpolation$0(),l.add$2(0,r._0,r._1)):(o=n.escape$1$identifierStart(!0),a._contents+=o),n._interpolatedIdentifierBodyHelper$1(l),l.interpolation$1(n.spanFrom$1(s)))},_interpolatedIdentifierBodyHelper$1(e){var t,r,n,i,o,s,a;for(t=e._interpolation_buffer$_contents,r=e._spans,n=this.scanner,i=e._interpolation_buffer$_text;null!=(o=n.peekChar$0());)if(s=!0,95!==o&&45!==o&&(s=(s=!!(s=o>=97&&o<=122||o>=65&&o<=90)||o>=48&&o<=57)||o>=128),s)s=A.Primitives_stringFromCharCode(n.readChar$0()),i._contents+=s;else if(92!==o){if(35!==o||123!==n.peekChar$1(1))break;a=this.singleInterpolation$0(),e._flushText$0(),t.push(a._0),r.push(a._1)}else s=this.escape$0(),i._contents+=s},singleInterpolation$0(){var e,t,r=this,n=r.scanner,i=n._string_scanner$_position;return n.expect$1("#{"),r.whitespace$1$consumeNewlines(!0),e=r._expression$1$consumeNewlines(!0),n.expectChar$1(125),t=r.spanFrom$1(new A._SpanScannerState(n,i)),r.get$plainCss()&&r.error$2(0,P.Interpp,t),new A._Record_2(e,t)},_mediaQueryList$0(){for(var e,t=this,r=t.scanner,n=r._string_scanner$_position,i=new A.StringBuffer(""),o=new A.InterpolationBuffer(i,A._setArrayType([],D.JSArray_Object),A._setArrayType([],D.JSArray_nullable_FileSpan));t.whitespace$1$consumeNewlines(!1),t._stylesheet$_mediaQuery$1(o),t.whitespace$1$consumeNewlines(!1),r.scanChar$1(44);)e=A.Primitives_stringFromCharCode(44),i._contents+=e,e=A.Primitives_stringFromCharCode(32),i._contents+=e;return o.interpolation$1(t.spanFrom$1(new A._SpanScannerState(r,n)))},_stylesheet$_mediaQuery$1(e){var t,r,n,i,o=this,s="and";if(40===o.scanner.peekChar$0())return o._stylesheet$_mediaInParens$1(e),o.whitespace$1$consumeNewlines(!1),void(o.scanIdentifier$1(s)?(e._interpolation_buffer$_text._contents+=" and ",o.expectWhitespace$0(),o._stylesheet$_mediaLogicSequence$2(e,s)):o.scanIdentifier$1("or")&&(e._interpolation_buffer$_text._contents+=" or ",o.expectWhitespace$0(),o._stylesheet$_mediaLogicSequence$2(e,"or")));if(t=o.interpolatedIdentifier$0(),A.equalsIgnoreCase(t.get$asPlain(),"not")&&(o.expectWhitespace$0(),!o._lookingAtInterpolatedIdentifier$0()))return e._interpolation_buffer$_text._contents+="not ",void o._mediaOrInterp$1(e);if(o.whitespace$1$consumeNewlines(!1),e.addInterpolation$1(t),o._lookingAtInterpolatedIdentifier$0()){if(r=e._interpolation_buffer$_text,n=A.Primitives_stringFromCharCode(32),r._contents+=n,i=o.interpolatedIdentifier$0(),A.equalsIgnoreCase(i.get$asPlain(),s))o.expectWhitespace$0(),r._contents+=" and ";else{if(o.whitespace$1$consumeNewlines(!1),e.addInterpolation$1(i),!o.scanIdentifier$1(s))return;o.expectWhitespace$0(),r._contents+=" and "}if(o.scanIdentifier$1("not"))return o.expectWhitespace$0(),r._contents+="not ",void o._mediaOrInterp$1(e);o._stylesheet$_mediaLogicSequence$2(e,s)}},_stylesheet$_mediaLogicSequence$2(e,t){var r,n,i,o=this;for(r=e._interpolation_buffer$_text;;){if(o._mediaOrInterp$1(e),o.whitespace$1$consumeNewlines(!1),!o.scanIdentifier$1(t))return;o.expectWhitespace$1$consumeNewlines(!1),n=A.Primitives_stringFromCharCode(32),i=(r._contents+=n)+t,r._contents=i,r._contents=i+n}},_mediaOrInterp$1(e){var t;35===this.scanner.peekChar$0()?(t=this.singleInterpolation$0(),e.add$2(0,t._0,t._1)):this._stylesheet$_mediaInParens$1(e)},_stylesheet$_mediaInParens$1(e){var t,r,n,i,o,s,a,l,c=this,u=c.scanner;u.expectChar$2$name(40,"media condition in parentheses"),t=e._interpolation_buffer$_text,r=A.Primitives_stringFromCharCode(40),t._contents+=r,c.whitespace$1$consumeNewlines(!0),40===u.peekChar$0()?(c._stylesheet$_mediaInParens$1(e),c.whitespace$1$consumeNewlines(!0),c.scanIdentifier$1("and")?(t._contents+=" and ",c.expectWhitespace$1$consumeNewlines(!0),c._stylesheet$_mediaLogicSequence$2(e,"and")):c.scanIdentifier$1("or")&&(t._contents+=" or ",c.expectWhitespace$1$consumeNewlines(!0),c._stylesheet$_mediaLogicSequence$2(e,"or"))):c.scanIdentifier$1("not")?(t._contents+="not ",c.expectWhitespace$1$consumeNewlines(!0),c._mediaOrInterp$1(e)):(n=c._expressionUntilComparison$0(),e.add$2(0,n,n.get$span(n)),u.scanChar$1(58)?(c.whitespace$1$consumeNewlines(!0),r=A.Primitives_stringFromCharCode(58),t._contents+=r,r=A.Primitives_stringFromCharCode(32),t._contents+=r,i=c._expression$1$consumeNewlines(!0),e.add$2(0,i,i.get$span(i))):(r=60!==(o=u.peekChar$0()))&&62!==o&&61!==o||(s=A.Primitives_stringFromCharCode(32),t._contents+=s,a=A.Primitives_stringFromCharCode(u.readChar$0()),t._contents+=a,r&&62!==o||!u.scanChar$1(61)||(a=A.Primitives_stringFromCharCode(61),t._contents+=a),t._contents+=s,c.whitespace$1$consumeNewlines(!0),l=c._expressionUntilComparison$0(),e.add$2(0,l,l.get$span(l)),r&&62!==o?r=!1:(o.toString,r=u.scanChar$1(o)),r&&(t._contents+=s,r=A.Primitives_stringFromCharCode(o),t._contents+=r,u.scanChar$1(61)&&(r=A.Primitives_stringFromCharCode(61),t._contents+=r),t._contents+=s,c.whitespace$1$consumeNewlines(!0),i=c._expressionUntilComparison$0(),e.add$2(0,i,i.get$span(i))))),u.expectChar$1(41),c.whitespace$1$consumeNewlines(!1),u=A.Primitives_stringFromCharCode(41),t._contents+=u},_expressionUntilComparison$0(){return this._expression$2$consumeNewlines$until(!0,new A.StylesheetParser__expressionUntilComparison_closure(this))},_supportsCondition$1$inParentheses(e){var t,r,n=this,i=n.scanner,o=new A._SpanScannerState(i,i._string_scanner$_position);if(n.scanIdentifier$1("not"))return n.whitespace$1$consumeNewlines(e),new A.SupportsNegation(n._supportsConditionInParens$0(),n.spanFrom$1(o));for(t=n._supportsConditionInParens$0(),n.whitespace$1$consumeNewlines(e),r=null;n.lookingAtIdentifier$0();)null!=r?n.expectIdentifier$1(r._name):n.scanIdentifier$1("or")?r=C.BooleanOperator_1:(n.expectIdentifier$1("and"),r=C.BooleanOperator_0),n.whitespace$1$consumeNewlines(e),t=new A.SupportsOperation(t,n._supportsConditionInParens$0(),r,n.spanFrom$1(o)),n.whitespace$1$consumeNewlines(e);return t},_supportsCondition$0(){return this._supportsCondition$1$inParentheses(!1)},_supportsConditionInParens$0(){var e,t,r,n,i,o,s,a,l,c,u,d,h,p,m,_=this,g=_.scanner,f=new A._SpanScannerState(g,g._string_scanner$_position);if(_._lookingAtInterpolatedIdentifier$0()){if("not"===(null==(l=(a=_.interpolatedIdentifier$0()).get$asPlain())?null:l.toLowerCase())&&_.error$2(0,'"not" is not a valid identifier here.',a.span),g.scanChar$1(40))return c=_._interpolatedDeclarationValue$3$allowEmpty$allowSemicolon$consumeNewlines(!0,!0,!0),g.expectChar$1(41),new A.SupportsFunction(a,c,_.spanFrom$1(f));if((d=1===(u=a.contents).length)?l=(h=u[0])instanceof A.Expression:(h=null,l=!1),l)return g=d?h:u[0],new A.SupportsInterpolation(D.Expression._as(g),_.spanFrom$1(f));_.error$2(0,"Expected @supports condition.",a.span)}if(g.expectChar$1(40),_.whitespace$1$consumeNewlines(!0),_.scanIdentifier$1("not"))return _.whitespace$1$consumeNewlines(!0),p=_._supportsConditionInParens$0(),g.expectChar$1(41),new A.SupportsNegation(p,_.spanFrom$1(f));if(40===g.peekChar$0())return p=_._supportsCondition$1$inParentheses(!0),g.expectChar$1(41),p.withSpan$1(_.spanFrom$1(f));e=null,t=new A._SpanScannerState(g,g._string_scanner$_position),r=_._inParentheses;try{e=_._expression$1$consumeNewlines(!0),g.expectChar$1(58)}catch(e){if(D.FormatException._is(A.unwrapException(e))){if(g.set$state(t),_._inParentheses=r,n=_.interpolatedIdentifier$0(),o=null,null!=(i=_._trySupportsOperation$2(n,t)))return o=i,g.expectChar$1(41),g=o,l=_.spanFrom$1(f),new A.SupportsOperation(g.left,g.right,g.operator,l);if((l=new A.InterpolationBuffer(new A.StringBuffer(""),A._setArrayType([],D.JSArray_Object),A._setArrayType([],D.JSArray_nullable_FileSpan))).addInterpolation$1(n),l.addInterpolation$1(_._interpolatedDeclarationValue$4$allowColon$allowEmpty$allowSemicolon$consumeNewlines(!1,!0,!0,!0)),s=l.interpolation$1(_.spanFrom$1(t)),58===g.peekChar$0())throw e;return g.expectChar$1(41),new A.SupportsAnything(s,_.spanFrom$1(f))}throw e}return m=_._supportsDeclarationValue$1(e),g.expectChar$1(41),new A.SupportsDeclaration(e,m,_.spanFrom$1(f))},_supportsDeclarationValue$1(e){var t=!1;return e instanceof A.StringExpression&&(e.hasQuotes||(t=C.JSString_methods.startsWith$1(e.text.get$initialPlain(),"--"))),t?new A.StringExpression(this._interpolatedDeclarationValue$0(),!1):(this.whitespace$1$consumeNewlines(!0),this._expression$1$consumeNewlines(!0))},_trySupportsOperation$2(e,t){var r,n,i,o,s,a,l,c=this,u=null,d=e.contents;if(1!==d.length)return u;if(!((r=C.JSArray_methods.get$first(d))instanceof A.Expression))return u;for(n=(d=c.scanner)._string_scanner$_position,c.whitespace$1$consumeNewlines(!0),i=e.span,s=o=u;c.lookingAtIdentifier$0();){if(null!=o)c.expectIdentifier$1(o._name);else if(c.scanIdentifier$1("and"))o=C.BooleanOperator_0;else{if(!c.scanIdentifier$1("or"))return((0===n?1/n<0:n<0)||n>d.string.length)&&A.throwExpression(A.ArgumentError$("Invalid position "+n,u)),d._string_scanner$_position=n,d._lastMatch=null;o=C.BooleanOperator_1}c.whitespace$1$consumeNewlines(!0),a=c._supportsConditionInParens$0(),l=null==s?new A.SupportsInterpolation(r,i):s,s=new A.SupportsOperation(l,a,o,c.spanFrom$1(t)),c.whitespace$1$consumeNewlines(!0)}return s},_lookingAtInterpolatedIdentifier$0(){var e,t,r=this.scanner,n=r.peekChar$0();return e=!1,null!=n?95===n||A.CharacterExtension_get_isAlphabetic(n)||n>=128||92===n?r=!0:35!==n?45!==n?r=e:(t=r.peekChar$1(1),r=null!=t?35!==t?!!(95===t||A.CharacterExtension_get_isAlphabetic(t)||t>=128||92===t||45===t)||e:123===r.peekChar$1(2):e):r=123===r.peekChar$1(1):r=e,r},_lookingAtPotentialPropertyHack$0(){var e=this.scanner,t=e.peekChar$0();return e=58===t||42===t||46===t||35===t&&123!==e.peekChar$1(1)},_lookingAtInterpolatedIdentifierBody$0(){var e,t=this.scanner,r=t.peekChar$0();return e=!1,t=null!=r?!(!(!!(95===r||A.CharacterExtension_get_isAlphabetic(r)||r>=128)||(r>=48&&r<=57||45===r))&&92!==r)||(35!==r?e:123===t.peekChar$1(1)):e},_lookingAtExpression$0(){var e,t,r=this.scanner,n=r.peekChar$0();return e=!0,null!=n?46!==n?33!==n?(r=!0,40!==n&&47!==n&&91!==n&&39!==n&&34!==n&&35!==n&&43!==n&&45!==n&&92!==n&&36!==n&&38!==n&&37!==n&&(95===n||A.CharacterExtension_get_isAlphabetic(n)||n>=128||(r=n>=48&&n<=57)),r=!!r&&e):(t=r.peekChar$1(1),r=null!=t&&105!==t&&73!==t?32===t||9===t||10===t||13===t||12===t:e):r=46!==r.peekChar$1(1):r=!1,r},_withChildren$1$3(e,t,r){var n=r.call$2(this.children$1(0,e),this.spanFrom$1(t));return this.whitespaceWithoutComments$1$consumeNewlines(!1),n},_withChildren$3(e,t,r){return this._withChildren$1$3(e,t,r,D.dynamic)},_urlString$0(){var e,t,r=this,n=r.scanner,i=new A._SpanScannerState(n,n._string_scanner$_position),o=r.string$0();try{return n=A.Uri_parse(o)}catch(o){if(n=A.unwrapException(o),!D.FormatException._is(n))throw o;e=n,t=A.getTraceFromException(o),r.error$3(0,"Invalid URL: "+w.get$message$x(e),r.spanFrom$1(i),t)}},_publicIdentifier$0(){var e=this,t=e.scanner,r=t._string_scanner$_position,n=e.identifier$0();return e._assertPublic$2(n,new A.StylesheetParser__publicIdentifier_closure(e,new A._SpanScannerState(t,r))),n},_assertPublic$2(e,t){var r=e.charCodeAt(0);45!==r&&95!==r||this.error$2(0,P.Privat,t.call$0())},_addOrInject$2(e,t){t instanceof A.StringExpression&&!t.hasQuotes?e.addInterpolation$1(t.text):e.add$2(0,t,t.get$span(t))},get$plainCss:()=>!1},A.StylesheetParser_parse_closure.prototype={call$0(){var e,t=this.$this,r=t.scanner,n=r._string_scanner$_position;return r.scanChar$1(65279),e=t.statements$1(new A.StylesheetParser_parse__closure(t)),r.expectDone$0(),A.Stylesheet$internal(e,t.spanFrom$1(new A._SpanScannerState(r,n)),t.warnings,t._globalVariables,t.get$plainCss())},$signature:487},A.StylesheetParser_parse__closure.prototype={call$0(){var e=this.$this;return e.scanner.scan$1("@charset")?(e.whitespace$1$consumeNewlines(!1),e.string$0(),null):e._statement$1$root(!0)},$signature:531},A.StylesheetParser_parseParameterList_closure.prototype={call$0(){var e,t=this.$this,r=t.scanner;return r.expectChar$2$name(64,"@-rule"),t.identifier$0(),t.whitespace$1$consumeNewlines(!0),t.identifier$0(),e=t._parameterList$0(),t.whitespace$1$consumeNewlines(!0),r.expectChar$1(123),e},$signature:540},A.StylesheetParser_parseVariableDeclaration_closure.prototype={call$0(){var e=this.$this;return e.lookingAtIdentifier$0()?e._variableDeclarationWithNamespace$0():e.variableDeclarationWithoutNamespace$0()},$signature:547},A.StylesheetParser_parseUseRule_closure.prototype={call$0(){var e=this.$this,t=e.scanner,r=t._string_scanner$_position;return t.expectChar$2$name(64,"@-rule"),e.expectIdentifier$1("use"),e.whitespace$1$consumeNewlines(!0),e._useRule$1(new A._SpanScannerState(t,r))},$signature:548},A.StylesheetParser__parseSingleProduction_closure.prototype={call$0(){var e=this.production.call$0();return this.$this.scanner.expectDone$0(),e},$signature(){return this.T._eval$1("0()")}},A.StylesheetParser__statement_closure.prototype={call$0(){return this.$this._statement$0()},$signature:125},A.StylesheetParser_variableDeclarationWithoutNamespace_closure.prototype={call$0(){return this.$this.spanFrom$1(this.start)},$signature:16},A.StylesheetParser_variableDeclarationWithoutNamespace_closure0.prototype={call$0(){return this.declaration.span},$signature:16},A.StylesheetParser__declarationOrBuffer_closure.prototype={call$0(){return this.$this.whitespace$1$consumeNewlines(!1)},$signature:0},A.StylesheetParser__declarationOrBuffer_closure0.prototype={call$0(){return this.$this.whitespace$1$consumeNewlines(!1)},$signature:0},A.StylesheetParser__declarationOrBuffer_closure1.prototype={call$1:e=>A.equalsIgnoreCase(e,"result"),$signature:4},A.StylesheetParser__declarationOrBuffer_closure2.prototype={call$0(){return this.$this.whitespace$1$consumeNewlines(!1)},$signature:0},A.StylesheetParser__styleRule_closure.prototype={call$2(e,t){return A.StyleRule$(this._box_0.interpolation,e,this.$this.spanFrom$1(this.start))},$signature:549},A.StylesheetParser__withStyleRuleChildren_closure.prototype={call$2(e,t){var r,n=this,i=n.$this;return i.get$indented()&&0===e.length&&(r=n.nodeWithSpan,i.warnings.push(new A._Record_3_deprecation_message_span(null,P.This_s,r.get$span(r)))),i._inStyleRule=n.wasInStyleRule,n.create.call$2(e,t)},$signature(){return this.T._eval$1("0(List<Statement>,FileSpan)")}},A.StylesheetParser__propertyOrVariableDeclaration_closure.prototype={call$0(){return this.$this.whitespace$1$consumeNewlines(!1)},$signature:0},A.StylesheetParser__tryDeclarationChildren_closure.prototype={call$2(e,t){return A.Declaration$nested(this.name,e,t,this.value)},$signature:551},A.StylesheetParser__atRootRule_closure.prototype={call$2(e,t){return A.AtRootRule$(e,t,this.query)},$signature:160},A.StylesheetParser__atRootRule_closure0.prototype={call$2:(e,t)=>A.AtRootRule$(e,t,null),$signature:160},A.StylesheetParser__eachRule_closure.prototype={call$2(e,t){var r=this;return r.$this._inControlDirective=r.wasInControlDirective,A.EachRule$(r.variables,r.list,e,t)},$signature:608},A.StylesheetParser__functionRule_closure.prototype={call$2(e,t){return A.FunctionRule$(this.name,this.parameters,e,t,this.precedingComment)},$signature:624},A.StylesheetParser__forRule_closure.prototype={call$0(){var e=this.$this;return!!e.lookingAtIdentifier$0()&&(e.scanIdentifier$1("to")?this._box_0.exclusive=!0:!!e.scanIdentifier$1("through")&&(this._box_0.exclusive=!1,!0))},$signature:20},A.StylesheetParser__forRule_closure0.prototype={call$2(e,t){var r,n=this;return n.$this._inControlDirective=n.wasInControlDirective,(r=n._box_0.exclusive).toString,A.ForRule$(n.variable,n.from,n.to,e,t,r)},$signature:278},A.StylesheetParser__memberList_closure.prototype={call$0(){var e=this.$this;36===e.scanner.peekChar$0()?this.variables.add$1(0,e.variableName$0()):this.identifiers.add$1(0,e.identifier$1$normalize(!0))},$signature:1},A.StylesheetParser__includeRule_closure.prototype={call$2(e,t){return A.ContentBlock$(this.contentParameters_,e,t)},$signature:282},A.StylesheetParser_mediaRule_closure.prototype={call$2(e,t){return A.MediaRule$(this.query,e,t)},$signature:297},A.StylesheetParser__mixinRule_closure.prototype={call$2(e,t){var r=this;return r.$this._stylesheet$_inMixin=!1,A.MixinRule$(r.name,r.parameters,e,t,r.precedingComment)},$signature:299},A.StylesheetParser_mozDocumentRule_closure.prototype={call$0(){return this.$this.whitespace$1$consumeNewlines(!1)},$signature:0},A.StylesheetParser_mozDocumentRule_closure0.prototype={call$2(e,t){var r=this;return r._box_0.needsDeprecationWarning&&r.$this.warnings.push(new A._Record_3_deprecation_message_span(C.Deprecation_PmQ,P.x40_moz_,t)),A.AtRule$(r.name,t,e,r.value)},$signature:161},A.StylesheetParser_supportsRule_closure.prototype={call$2(e,t){return A.SupportsRule$(this.condition,e,t)},$signature:302},A.StylesheetParser__whileRule_closure.prototype={call$2(e,t){return this.$this._inControlDirective=this.wasInControlDirective,A.WhileRule$(this.condition,e,t)},$signature:303},A.StylesheetParser_unknownAtRule_closure.prototype={call$2(e,t){return A.AtRule$(this.name,t,e,this._box_0.value)},$signature:161},A.StylesheetParser__expression_resetState.prototype={call$0(){var e,t=this._box_0;t.operands_=t.operators_=t.spaceExpressions_=t.commaExpressions_=null,(e=this.$this).scanner.set$state(this.start),t.allowSlash=!0,t.singleExpression_=e._singleExpression$0()},$signature:0},A.StylesheetParser__expression_resolveOneOperation.prototype={call$0(){var e,t,r,n,i,o,s=this,a=s._box_0,l=a.operators_.pop(),c=a.operands_.pop(),u=a.singleExpression_;null==u&&(e=s.$this.scanner,t=l.operator.length,e.error$3$length$position(0,"Expected expression.",t,e._string_scanner$_position-t)),(e=!!a.allowSlash&&(!(e=s.$this)._inParentheses&&l===C.BinaryOperator_ehp&&e._isSlashOperand$1(c)&&e._isSlashOperand$1(u)))?a.singleExpression_=new A.BinaryOperationExpression(C.BinaryOperator_ehp,c,u,!0):(a.singleExpression_=new A.BinaryOperationExpression(l,c,u,!1),e=a.allowSlash=!1,C.BinaryOperator_jCK!==l&&C.BinaryOperator_tDf!==l||(r=(t=s.$this).scanner.string,n=(n=u.get$span(u)).get$start(n),i=u.get$span(u),o=l.operator,C.JSString_methods.substring$2(r,n.offset-1,i.get$start(i).offset)===o&&(e=c.get$span(c),e=32===(e=r.charCodeAt(e.get$end(e).offset))||9===e||10===e||13===e||12===e),e&&(e=c.toString$0(0),r=u.toString$0(0),n=c.toString$0(0),i=u.toString$0(0),a=a.singleExpression_,t.warnings.push(new A._Record_3_deprecation_message_span(C.Deprecation_K9u,"This operation is parsed as:\n\n    "+e+" "+o+" "+r+P.x0a_but_+n+" ("+o+i+")\n\nAdd a space after "+o+P.x20to_cl,a.get$span(a))))))},$signature:0},A.StylesheetParser__expression_resolveOperations.prototype={call$0(){var e,t=this._box_0.operators_;if(null!=t)for(e=this.resolveOneOperation;0!==t.length;)e.call$0()},$signature:0},A.StylesheetParser__expression_addSingleExpression.prototype={call$1(e){var t,r,n=this,i=n._box_0;if(null!=i.singleExpression_){if((t=n.$this)._inParentheses&&(t._inParentheses=!1,i.allowSlash))return void n.resetState.call$0();null==(r=i.spaceExpressions_)&&(r=i.spaceExpressions_=A._setArrayType([],D.JSArray_Expression)),n.resolveOperations.call$0(),(t=i.singleExpression_).toString,r.push(t),i.allowSlash=!0}i.singleExpression_=e},$signature:305},A.StylesheetParser__expression_addOperator.prototype={call$1(e){var t,r,n,i,o,s,a,l=this,c=l.$this;for(c.get$plainCss()&&e!==C.BinaryOperator_g6F&&e!==C.BinaryOperator_jCK&&e!==C.BinaryOperator_tDf&&e!==C.BinaryOperator_wkM&&e!==C.BinaryOperator_ehp&&(t=c.scanner,r=e.operator.length,t.error$3$length$position(0,"Operators aren't allowed in plain CSS.",r,t._string_scanner$_position-r)),(t=l._box_0).allowSlash=t.allowSlash&&e===C.BinaryOperator_ehp,null==(n=t.operators_)&&(n=t.operators_=A._setArrayType([],D.JSArray_BinaryOperator)),null==(i=t.operands_)&&(i=t.operands_=A._setArrayType([],D.JSArray_Expression)),r=l.resolveOneOperation,o=e.precedence;0!==n.length&&C.JSArray_methods.get$last(n).precedence>=o;)r.call$0();null==(s=t.singleExpression_)&&(r=c.scanner,o=e.operator.length,r.error$3$length$position(0,"Expected expression.",o,r._string_scanner$_position-o)),a=c.scanner._string_scanner$_position,c.whitespace$1$consumeNewlines(!0),e!==C.BinaryOperator_bgA||c._lookingAtExpression$0()?(n.push(e),i.push(s),t.singleExpression_=c._singleExpression$0()):(c=c.spanFromPosition$2(a-1,a),l.addSingleExpression.call$1(new A.StringExpression(new A.Interpolation(A.List_List$unmodifiable(["%"],D.Object),C.List_null,c),!1)))},$signature:308},A.StylesheetParser__expression_resolveSpaceExpressions.prototype={call$0(){var e,t,r,n;this.resolveOperations.call$0(),null!=(t=(e=this._box_0).spaceExpressions_)&&(null==(r=e.singleExpression_)&&this.$this.scanner.error$1(0,"Expected expression."),t.push(r),n=(n=C.JSArray_methods.get$first(t)).get$span(n).expand$1(0,r.get$span(r)),e.singleExpression_=new A.ListExpression(A.List_List$unmodifiable(t,D.Expression),C.ListSeparator_SrV,!1,n),e.spaceExpressions_=null)},$signature:0},A.StylesheetParser_expressionUntilComma_closure.prototype={call$0(){return 44===this.$this.scanner.peekChar$0()},$signature:20},A.StylesheetParser__isHexColor_closure.prototype={call$1:e=>A.CharacterExtension_get_isHex(e),$signature:50},A.StylesheetParser__unicodeRange_closure.prototype={call$1:e=>null!=e&&A.CharacterExtension_get_isHex(e),$signature:31},A.StylesheetParser__unicodeRange_closure0.prototype={call$1:e=>null!=e&&A.CharacterExtension_get_isHex(e),$signature:31},A.StylesheetParser_interpolatedStringToken_closure.prototype={call$0(){return A.consumeEscapedCharacter(this.$this.scanner)},$signature:0},A.StylesheetParser_namespacedExpression_closure.prototype={call$0(){return this.$this.spanFrom$1(this.start)},$signature:16},A.StylesheetParser_trySpecialFunction_closure.prototype={call$1:e=>new A.StringExpression(e,!1),$signature:316},A.StylesheetParser__interpolatedDeclarationValue_closure.prototype={call$0(){return this.$this.scanIdentifier$2$caseSensitive("of",!1)},$signature:0},A.StylesheetParser__expressionUntilComparison_closure.prototype={call$0(){var e=this.$this.scanner,t=e.peekChar$0();return e=61!==t?60===t||62===t:61!==e.peekChar$1(1)},$signature:20},A.StylesheetParser__publicIdentifier_closure.prototype={call$0(){return this.$this.spanFrom$1(this.start)},$signature:16},A.StylesheetGraph.prototype={modifiedSince$3(e,t,r){var n=this._stylesheet_graph$_add$3(e,r,null);return null==n||new A.StylesheetGraph_modifiedSince_transitiveModificationTime(this,A.LinkedHashSet_LinkedHashSet$_empty(D.StylesheetNode)).call$1(n).isAfter$1(t)},_stylesheet_graph$_add$3(e,t,r){var n,i,o=this,s=o._ignoreErrors$1(new A.StylesheetGraph__add_closure(o,e,t,r));return D.Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl._is(s)?(n=s._0,i=s._1,o.addCanonical$3(n,i,s._2),o._nodes.$index(0,i)):null},addCanonical$4$recanonicalize(e,t,r,n){var i,o=this,s=o._nodes;return null!=s.$index(0,t)||null==(i=o._ignoreErrors$1(new A.StylesheetGraph_addCanonical_closure(o,e,t,r)))?C.Set_empty4:(s.$indexSet(0,t,A.StylesheetNode$_(i,e,t,o._upstreamNodes$3(i,e,t))),n?o._recanonicalizeImports$2(e,t):C.Set_empty4)},addCanonical$3(e,t,r){return this.addCanonical$4$recanonicalize(e,t,r,!0)},_upstreamNodes$4(e,t,r,n){var i,o,s,a,l,c,u,d;for(null==n&&(n=A.LinkedHashSet_LinkedHashSet$_literal([r],D.Uri)),i=D.Uri,o=A.LinkedHashSet_LinkedHashSet$_empty(i),s=A.LinkedHashSet_LinkedHashSet$_empty(i),a=A.LinkedHashSet_LinkedHashSet$_empty(i),l=A.LinkedHashSet_LinkedHashSet$_empty(i),new A._FindDependenciesVisitor(o,s,a,l,A.LinkedHashSet_LinkedHashSet$_empty(D.nullable_String)).visitChildren$1(e.children),c=D.UnmodifiableSetView_Uri,u=D.nullable_StylesheetNode,d=A.LinkedHashMap_LinkedHashMap$_empty(i,u),o=(o=new A.UnionSet(A.LinkedHashSet_LinkedHashSet$_literal([new A.UnmodifiableSetView0(o,c),new A.UnmodifiableSetView0(s,c),new A.UnmodifiableSetView0(a,c)],D.Set_Uri),D.UnionSet_Uri).get$_union_set$_iterable()).get$iterator(o);o.moveNext$0();)s=o.get$current(o),d.$indexSet(0,s,this._nodeFor$4(s,t,r,n));for(i=A.LinkedHashMap_LinkedHashMap$_empty(i,u),o=l.get$iterator(0);o.moveNext$0();)s=o.get$current(0),i.$indexSet(0,s,this._nodeFor$5$forImport(s,t,r,n,!0));return new A._Record_2_imports_modules(i,d)},_upstreamNodes$3(e,t,r){return this._upstreamNodes$4(e,t,r,null)},reload$1(e){var t,r,n=this,i=n._nodes.$index(0,e);if(null==i)throw A.wrapException(A.StateError$(e.toString$0(0)+" is not in the dependency graph."));return n._transitiveModificationTimes.clear$0(0),n.importCache.clearImport$1(e),null!=(t=n._ignoreErrors$1(new A.StylesheetGraph_reload_closure(n,i,e)))&&(i._stylesheet=t,r=n._upstreamNodes$3(t,i.importer,e),i._replaceUpstream$2(r._1,r._0),!0)},reloadAllModified$0(){var e,t,r,n,i,o,s,a,l,c,u,d=this,h=d._nodes;for(n=(h=A.List_List$_of(new A.LinkedHashMapValuesIterable(h,A._instanceType(h)._eval$1("LinkedHashMapValuesIterable<2>")),D.StylesheetNode)).length,i=d.importCache._loadTimes,o=0;o<h.length;h.length===n||(0,A.throwConcurrentModificationError)(h),++o){e=h[o],t=!1;try{null!=(r=i.$index(0,e.canonicalUrl))?(s=e.importer.modificationTime$1(e.canonicalUrl),a=r,u=!((l=s._value)<=(c=a._value))||(s=l===c&&s._microsecond>a._microsecond)):u=!1,t=u}catch(e){if(!(A.unwrapException(e)instanceof A.FileSystemException))throw e;t=!0}t&&(d.reload$1(e.canonicalUrl)||d.remove$2(0,e.importer,e.canonicalUrl))}},remove$2(e,t,r){var n,i=this,o=i._nodes.remove$1(0,r),s=null!=o;return s&&(i._transitiveModificationTimes.clear$0(0),i.importCache.clearImport$1(r),o._stylesheet_graph$_remove$0()),n=i._recanonicalizeImports$2(t,r),s&&n.addAll$1(0,o._downstream),n},_recanonicalizeImports$2(e,t){var r,n,i,o,s,a,l,c,u=this;for(u.importCache.clearCanonicalize$1(t),r=A.LinkedHashSet_LinkedHashSet$_empty(D.StylesheetNode),n=u._nodes.get$values(0).get$iterator(0),i=D.UnmodifiableMapView_of_Uri_and_nullable_StylesheetNode,o=D.Uri,s=D.nullable_StylesheetNode;n.moveNext$0();)a=n.get$current(0),l=u._recanonicalizeImportsForNode$4$forImport(a,e,t,!1),c=u._recanonicalizeImportsForNode$4$forImport(a,e,t,!0),0===l.__js_helper$_length&&0===c.__js_helper$_length||(r.add$1(0,a),a._replaceUpstream$2(A.mergeMaps(new A.UnmodifiableMapView(a._upstream,i),l,o,s),A.mergeMaps(new A.UnmodifiableMapView(a._upstreamImports,i),c,o,s)));return 0!==r._collection$_length&&u._transitiveModificationTimes.clear$0(0),r},_recanonicalizeImportsForNode$4$forImport(e,t,r,n){var i,o,s,a,l,c,u,d,h,p,m=D.UnmodifiableMapView_of_Uri_and_nullable_StylesheetNode,_=n?new A.UnmodifiableMapView(e._upstreamImports,m):new A.UnmodifiableMapView(e._upstream,m);for(m=D.Uri,s=D.nullable_StylesheetNode,a=A.LinkedHashMap_LinkedHashMap$_empty(m,s),m=(m=A.MapExtensions_get_pairs(_,m,s)).get$iterator(m),s=this._nodes,l=this.importCache,c=e.importer,u=e.canonicalUrl;m.moveNext$0();)if(null,i=(d=m.get$current(m))._0,h=d._1,t.couldCanonicalize$2(i,r)){o=null;try{o=l.canonicalize$4$baseImporter$baseUrl$forImport(0,i,c,u,n)}catch(e){}p=null==(d=o)?null:d._1,w.$eq$(p,null==h?null:h.canonicalUrl)||(d=i,a.$indexSet(0,d,null==o?null:s.$index(0,p)))}return a},_nodeFor$5$forImport(e,t,r,n,i){var o,s,a,l,c,u,d,h=this,p={},m=h._ignoreErrors$1(new A.StylesheetGraph__nodeFor_closure(h,e,t,r,i));return null==m?null:(p.originalUrl=p.canonicalUrl=p.importer=null,p.importer=m._0,o=p.canonicalUrl=m._1,p.originalUrl=m._2,null!=(a=(s=h._nodes).$index(0,o))?a:n.contains$1(0,o)||null==(l=h._ignoreErrors$1(new A.StylesheetGraph__nodeFor_closure0(p,h)))?null:(n.add$1(0,p.canonicalUrl),c=p.importer,u=p.canonicalUrl,d=A.StylesheetNode$_(l,c,u,h._upstreamNodes$4(l,c,u,n)),n.remove$1(0,p.canonicalUrl),s.$indexSet(0,p.canonicalUrl,d),d))},_nodeFor$4(e,t,r,n){return this._nodeFor$5$forImport(e,t,r,n,!1)},_ignoreErrors$1$1(e){try{return e.call$0()}catch(e){return null}},_ignoreErrors$1(e){return this._ignoreErrors$1$1(e,D.dynamic)}},A.StylesheetGraph_modifiedSince_transitiveModificationTime.prototype={call$1(e){var t=this.seenNodes;return t.add$1(0,e),this.$this._transitiveModificationTimes.putIfAbsent$2(e.canonicalUrl,new A.StylesheetGraph_modifiedSince_transitiveModificationTime_closure(e,t,this))},$signature:317},A.StylesheetGraph_modifiedSince_transitiveModificationTime_closure.prototype={call$0(){var e,t,r,n,i,o=this.node,s=o.importer.modificationTime$1(o.canonicalUrl);for(o=o._upstream.get$values(0).followedBy$1(0,o._upstreamImports.get$values(0)).get$iterator(0),e=this.transitiveModificationTime,t=this.seenNodes;o.moveNext$0();)r=null!=(r=o.get$current(0))?(n=t.contains$1(0,r))?new A.DateTime(A.DateTime__validate(0,0,!1),0,!1):e.call$1(r):new A.DateTime(Date.now(),0,!1),(n=!((n=r._value)<=(i=s._value))||n===i&&r._microsecond>s._microsecond)&&(s=r);return s},$signature:155},A.StylesheetGraph__add_closure.prototype={call$0(){var e=this;return e.$this.importCache.canonicalize$3$baseImporter$baseUrl(0,e.url,e.baseImporter,e.baseUrl)},$signature:128},A.StylesheetGraph_addCanonical_closure.prototype={call$0(){var e=this;return e.$this.importCache.importCanonical$3$originalUrl(e.importer,e.canonicalUrl,e.originalUrl)},$signature:86},A.StylesheetGraph_reload_closure.prototype={call$0(){return this.$this.importCache.importCanonical$2(this.node.importer,this.canonicalUrl)},$signature:86},A.StylesheetGraph__nodeFor_closure.prototype={call$0(){var e=this;return e.$this.importCache.canonicalize$4$baseImporter$baseUrl$forImport(0,e.url,e.baseImporter,e.baseUrl,e.forImport)},$signature:128},A.StylesheetGraph__nodeFor_closure0.prototype={call$0(){var e=this._box_0;return this.$this.importCache.importCanonical$3$originalUrl(e.importer,e.canonicalUrl,e.originalUrl)},$signature:86},A.StylesheetNode.prototype={StylesheetNode$_$4(e,t,r,n){var i,o;for(i=this._upstream.get$values(0).followedBy$1(0,this._upstreamImports.get$values(0)).get$iterator(0);i.moveNext$0();)null!=(o=i.get$current(0))&&o._downstream.add$1(0,this)},_replaceUpstream$2(e,t){var r,n,i,o=this,s=D.nullable_StylesheetNode,a=A.LinkedHashSet_LinkedHashSet$of(o._upstream.get$values(0),s);for(a.addAll$1(0,o._upstreamImports.get$values(0)),r=D.StylesheetNode,n=A.SetExtension_removeNull(a,r),(s=A.LinkedHashSet_LinkedHashSet$of(new A.LinkedHashMapValuesIterable(e,A._instanceType(e)._eval$1("LinkedHashMapValuesIterable<2>")),s)).addAll$1(0,new A.LinkedHashMapValuesIterable(t,A._instanceType(t)._eval$1("LinkedHashMapValuesIterable<2>"))),i=A.SetExtension_removeNull(s,r),s=(s=n.difference$1(i)).get$iterator(s);s.moveNext$0();)s.get$current(s)._downstream.remove$1(0,o);for(s=(s=i.difference$1(n)).get$iterator(s);s.moveNext$0();)s.get$current(s)._downstream.add$1(0,o);o._upstream=e,o._upstreamImports=t},_stylesheet_graph$_remove$0(){var e,t,r,n,i,o,s=this;for((e=A.LinkedHashSet_LinkedHashSet$of(s._upstream.get$values(0),D.nullable_StylesheetNode)).addAll$1(0,s._upstreamImports.get$values(0)),t=(e=A._LinkedHashSetIterator$(e,e._collection$_modifications,A._instanceType(e)._precomputed1)).$ti._precomputed1;e.moveNext$0();)null==(r=e._collection$_current)&&(r=t._as(r)),null!=r&&r._downstream.remove$1(0,s);for(e=s._downstream.get$iterator(0);e.moveNext$0();){for(r=(t=e.get$current(0))._upstream,n=A._instanceType(r)._eval$1("LinkedHashMapKeysIterable<1>"),r=A.List_List$_of(new A.LinkedHashMapKeysIterable(r,n),n._eval$1("Iterable.E")),n=r.length,i=0;i<r.length;r.length===n||(0,A.throwConcurrentModificationError)(r),++i)if(o=r[i],t._upstream.$index(0,o)===s){t._upstream.$indexSet(0,o,null);break}for(r=t._upstreamImports,n=A._instanceType(r)._eval$1("LinkedHashMapKeysIterable<1>"),r=A.List_List$_of(new A.LinkedHashMapKeysIterable(r,n),n._eval$1("Iterable.E")),n=r.length,i=0;i<r.length;r.length===n||(0,A.throwConcurrentModificationError)(r),++i)if(o=r[i],t._upstreamImports.$index(0,o)===s){t._upstreamImports.$indexSet(0,o,null);break}}},toString$0(e){var t=this._stylesheet.span;return null==(t=A.NullableExtension_andThen(t.get$sourceUrl(t),A.path__prettyUri$closure()))?"<unknown>":t}},A.Syntax.prototype={_enumToString$0(){return"Syntax."+this._name},toString$0(e){return this._syntax$_name}},A.Box.prototype={$eq(e,t){return null!=t&&(this.$ti._is(t)&&t._box$_inner===this._box$_inner)},get$hashCode(e){return A.Primitives_objectHashCode(this._box$_inner)},toString$0(e){return"<box: "+this._box$_inner.value.toString$0(0)+">"}},A.ModifiableBox.prototype={toString$0(e){return"<modifiable box: "+this.value.toString$0(0)+">"}},A.LazyFileSpan.prototype={get$span(e){var t=this._lazy_file_span$_span;return null==t?this._lazy_file_span$_span=this._builder.call$0():t},compareTo$1(e,t){return this.get$span(0).compareTo$1(0,t)},get$context(e){var t=this.get$span(0);return t.get$context(t)},get$end(e){var t=this.get$span(0);return t.get$end(t)},expand$1(e,t){return this.get$span(0).expand$1(0,t)},get$file(e){var t=this.get$span(0);return t.get$file(t)},highlight$1$color(e){return this.get$span(0).highlight$1$color(e)},get$length(e){var t=this.get$span(0);return t.get$length(t)},message$2$color(e,t,r){return this.get$span(0).message$2$color(0,t,r)},message$1(e,t){return this.message$2$color(0,t,null)},get$sourceUrl(e){var t=this.get$span(0);return t.get$sourceUrl(t)},get$start(e){var t=this.get$span(0);return t.get$start(t)},get$text(){return this.get$span(0).get$text()},$isComparable:1,$isFileSpan:1,$isSourceSpan:1,$isSourceSpanWithContext:1},A.LimitedMapView.prototype={get$keys(e){return this._limited_map_view$_keys},get$length(e){return this._limited_map_view$_keys._collection$_length},get$isEmpty(e){return 0===this._limited_map_view$_keys._collection$_length},get$isNotEmpty(e){return 0!==this._limited_map_view$_keys._collection$_length},$index(e,t){return this._limited_map_view$_keys.contains$1(0,t)?this._limited_map_view$_map.$index(0,t):null},containsKey$1(e){return this._limited_map_view$_keys.contains$1(0,e)},remove$1(e,t){return this._limited_map_view$_keys.contains$1(0,t)?this._limited_map_view$_map.remove$1(0,t):null}},A.MapExtensions_get_pairs_closure.prototype={call$1:e=>new A._Record_2(e.key,e.value),$signature(){return this.K._eval$1("@<0>")._bind$1(this.V)._eval$1("+(1,2)(MapEntry<1,2>)")}},A.MergedMapView.prototype={get$keys(e){var t=this._mapsByKey;return new A.LinkedHashMapKeysIterable(t,A._instanceType(t)._eval$1("LinkedHashMapKeysIterable<1>"))},get$length(e){return this._mapsByKey.__js_helper$_length},get$isEmpty(e){return 0===this._mapsByKey.__js_helper$_length},get$isNotEmpty(e){return 0!==this._mapsByKey.__js_helper$_length},MergedMapView$1(e,t,r){var n,i,o,s,a,l;for(n=e.length,i=this._mapsByKey,o=0;o<e.length;e.length===n||(0,A.throwConcurrentModificationError)(e),++o)if((s=e[o])instanceof A.MergedMapView)for(a=s._mapsByKey,a=new A.LinkedHashMapValueIterator(a,a._modifications,a._first);a.moveNext$0();)l=a.__js_helper$_current,A.setAll(i,l.get$keys(l),l);else A.setAll(i,s.get$keys(s),s)},$index(e,t){var r=this._mapsByKey.$index(0,this.$ti._precomputed1._as(t));return null==r?null:r.$index(0,t)},$indexSet(e,t,r){var n=this._mapsByKey.$index(0,t);if(null==n)throw A.wrapException(A.UnsupportedError$(P.New_en));n.$indexSet(0,t,r)},remove$1(e,t){throw A.wrapException(A.UnsupportedError$(P.Entrie))},containsKey$1(e){return this._mapsByKey.containsKey$1(e)}},A.MultiDirWatcher.prototype={watch$1(e,t){var r,n,i,o,s,a,l,c,u,d,h,p;for(r=this._watchers,i=(n=A.MapExtensions_get_pairs(r,D.nullable_String,D.Stream_WatchEvent).toList$0(0)).length,r=r._map,o=this._group,s=!1,a=0;a<n.length;n.length===i||(0,A.throwConcurrentModificationError)(n),++a){if((c=(l=n[a])._0).toString,u=!s&&((u=I.$get$context())._isWithinOrEquals$2(c,t)===C._PathRelation_equal||u._isWithinOrEquals$2(c,t)===C._PathRelation_within))return(r=new A._Future(I.Zone__current,D._Future_void))._asyncComplete$1(null),r;I.$get$context()._isWithinOrEquals$2(t,c)===C._PathRelation_within&&(r.remove$1(0,c),o.remove$1(0,l._1),s=!0)}return d=A.watchDir(t,this._poll),h=new A._CompleterStream(D._CompleterStream_WatchEvent),p=new A.StreamCompleter(h,D.StreamCompleter_WatchEvent),d.then$1$2$onError(0,p.get$setSourceStream(),p.get$setError(),D.void),r.$indexSet(0,t,h),o.add$1(0,h),d}},A.MultiSpan.prototype={get$start(e){var t=this._multi_span$_primary;return t.get$start(t)},get$end(e){var t=this._multi_span$_primary;return t.get$end(t)},get$text(){return this._multi_span$_primary.get$text()},get$context(e){var t=this._multi_span$_primary;return t.get$context(t)},get$file(e){var t=this._multi_span$_primary;return t.get$file(t)},get$length(e){var t=this._multi_span$_primary;return t.get$length(t)},get$sourceUrl(e){var t=this._multi_span$_primary;return t.get$sourceUrl(t)},compareTo$1(e,t){return this._multi_span$_primary.compareTo$1(0,t)},toString$0(e){return this._multi_span$_primary.toString$0(0)},expand$1(e,t){return new A.MultiSpan(this._multi_span$_primary.expand$1(0,t),this.primaryLabel,this.secondarySpans)},highlight$1$color(e){return A.Highlighter$multiple(this._multi_span$_primary,this.primaryLabel,this.secondarySpans,!0===e,null,null).highlight$0()},message$2$color(e,t,r){var n=w.$eq$(r,!0)||"string"==typeof r,i="string"==typeof r?r:null;return A.SourceSpanExtension_messageMultiple(this._multi_span$_primary,t,this.primaryLabel,this.secondarySpans,n,i,null)},message$1(e,t){return this.message$2$color(0,t,null)},$isComparable:1,$isFileSpan:1,$isSourceSpan:1,$isSourceSpanWithContext:1},A.NoSourceMapBuffer.prototype={get$length(e){return this._no_source_map_buffer$_buffer._contents.length},forSpan$1$2:(e,t)=>t.call$0(),forSpan$2(e,t){return this.forSpan$1$2(e,t,D.dynamic)},write$1(e,t){var r=this._no_source_map_buffer$_buffer,n=A.S(t);return r._contents+=n,null},writeCharCode$1(e){var t=this._no_source_map_buffer$_buffer,r=A.Primitives_stringFromCharCode(e);return t._contents+=r,null},toString$0(e){var t=this._no_source_map_buffer$_buffer._contents;return t.charCodeAt(0),t},buildSourceMap$1$prefix:e=>A.throwExpression(A.UnsupportedError$(P.NoSour))},A.PrefixedMapView.prototype={get$keys(e){return new A._PrefixedKeys(this)},get$length(e){var t=this._prefixed_map_view$_map;return t.get$length(t)},get$isEmpty(e){var t=this._prefixed_map_view$_map;return t.get$isEmpty(t)},get$isNotEmpty(e){var t=this._prefixed_map_view$_map;return t.get$isNotEmpty(t)},$index(e,t){return"string"==typeof t&&C.JSString_methods.startsWith$1(t,this._prefix)?this._prefixed_map_view$_map.$index(0,C.JSString_methods.substring$1(t,this._prefix.length)):null},containsKey$1(e){return"string"==typeof e&&C.JSString_methods.startsWith$1(e,this._prefix)&&this._prefixed_map_view$_map.containsKey$1(C.JSString_methods.substring$1(e,this._prefix.length))}},A._PrefixedKeys.prototype={get$length(e){var t=this._view._prefixed_map_view$_map;return t.get$length(t)},get$iterator(e){var t=this._view._prefixed_map_view$_map;return(t=(t=t.get$keys(t)).map$1$1(t,new A._PrefixedKeys_iterator_closure(this),D.String)).get$iterator(t)},contains$1(e,t){return this._view.containsKey$1(t)}},A._PrefixedKeys_iterator_closure.prototype={call$1(e){return this.$this._view._prefix+e},$signature:6},A.PublicMemberMapView.prototype={get$keys(e){var t=this._public_member_map_view$_inner;return(t=t.get$keys(t)).where$1(t,A.utils__isPublic$closure())},containsKey$1(e){return"string"==typeof e&&A.isPublic(e)&&this._public_member_map_view$_inner.containsKey$1(e)},$index(e,t){return"string"==typeof t&&A.isPublic(t)?this._public_member_map_view$_inner.$index(0,t):null}},A.SourceMapBuffer.prototype={get$_targetLocation(){var e=this._source_map_buffer$_buffer._contents,t=this._line;return A.SourceLocation$(e.length,this._column,t,null)},get$length(e){return this._source_map_buffer$_buffer._contents.length},forSpan$1$2(e,t){var r=this,n=r._inSpan;r._inSpan=!0,r._addEntry$2(e.get$start(e),r.get$_targetLocation());try{return t.call$0()}finally{r._inSpan=n}},forSpan$2(e,t){return this.forSpan$1$2(e,t,D.dynamic)},_addEntry$2(e,t){var r,n,i=this._entries;if(0!==i.length){if((n=(r=C.JSArray_methods.get$last(i)).source).file.getLine$1(n.offset)===e.file.getLine$1(e.offset)&&r.target.line===t.line)return;if(r.target.offset===t.offset)return}i.push(new A.Entry(e,t,null))},write$1(e,t){var r,n,i=w.toString$0$(t);for(this._source_map_buffer$_buffer._contents+=i,r=i.length,n=0;n<r;++n)10===i.charCodeAt(n)?this._source_map_buffer$_writeLine$0():++this._column},writeCharCode$1(e){var t=this._source_map_buffer$_buffer,r=A.Primitives_stringFromCharCode(e);t._contents+=r,10===e?this._source_map_buffer$_writeLine$0():++this._column},_source_map_buffer$_writeLine$0(){var e=this,t=e._entries;C.JSArray_methods.get$last(t).target.line===e._line&&C.JSArray_methods.get$last(t).target.column===e._column&&t.pop(),++e._line,e._column=0,e._inSpan&&t.push(new A.Entry(C.JSArray_methods.get$last(t).source,e.get$_targetLocation(),null))},toString$0(e){var t=this._source_map_buffer$_buffer._contents;return t.charCodeAt(0),t},buildSourceMap$1$prefix(e){var t,r,n,i={},o=e.length;if(0===o)return A.SingleMapping_SingleMapping$fromEntries(this._entries);for(i.prefixColumn=i.prefixLines=0,t=0,r=0;t<o;++t)10===e.charCodeAt(t)?(++i.prefixLines,i.prefixColumn=0,r=0):(n=r+1,i.prefixColumn=n,r=n);return r=this._entries,A.SingleMapping_SingleMapping$fromEntries(new A.MappedListIterable(r,new A.SourceMapBuffer_buildSourceMap_closure(i,o),A._arrayInstanceType(r)._eval$1("MappedListIterable<1,Entry>")))}},A.SourceMapBuffer_buildSourceMap_closure.prototype={call$1(e){var t=e.target,r=t.line,n=this._box_0,i=n.prefixLines;return n=0===r?n.prefixColumn:0,new A.Entry(e.source,A.SourceLocation$(t.offset+this.prefixLength,t.column+n,r+i,null),e.identifierName)},$signature:164},A.UnprefixedMapView.prototype={get$keys(e){return new A._UnprefixedKeys(this)},$index(e,t){return"string"==typeof t?this._unprefixed_map_view$_map.$index(0,this._unprefixed_map_view$_prefix+t):null},containsKey$1(e){return"string"==typeof e&&this._unprefixed_map_view$_map.containsKey$1(this._unprefixed_map_view$_prefix+e)},remove$1(e,t){return"string"==typeof t?this._unprefixed_map_view$_map.remove$1(0,this._unprefixed_map_view$_prefix+t):null}},A._UnprefixedKeys.prototype={get$iterator(e){var t=this._unprefixed_map_view$_view._unprefixed_map_view$_map;return(t=(t=t.get$keys(t)).where$1(t,new A._UnprefixedKeys_iterator_closure(this)).map$1$1(0,new A._UnprefixedKeys_iterator_closure0(this),D.String)).get$iterator(t)},contains$1(e,t){return this._unprefixed_map_view$_view.containsKey$1(t)}},A._UnprefixedKeys_iterator_closure.prototype={call$1(e){return C.JSString_methods.startsWith$1(e,this.$this._unprefixed_map_view$_view._unprefixed_map_view$_prefix)},$signature:4},A._UnprefixedKeys_iterator_closure0.prototype={call$1(e){return C.JSString_methods.substring$1(e,this.$this._unprefixed_map_view$_view._unprefixed_map_view$_prefix.length)},$signature:6},A.indent_closure.prototype={call$1(e){return C.JSString_methods.$mul(" ",this.indentation)+e},$signature:6},A.flattenVertically_closure.prototype={call$1(e){return A.QueueList_QueueList$from(e,this.T)},$signature(){return this.T._eval$1("QueueList<0>(Iterable<0>)")}},A.flattenVertically_closure0.prototype={call$1(e){return this.result.push(e.removeFirst$0()),0===e.get$length(0)},$signature(){return this.T._eval$1("bool(QueueList<0>)")}},A.longestCommonSubsequence_backtrack.prototype={call$2(e,t){var r,n,i=this;return-1===e||-1===t?A._setArrayType([],i.T._eval$1("JSArray<0>")):null!=(r=i.selections[e][t])?(n=i.call$2(e-1,t-1),w.add$1$ax(n,r),n):(n=i.lengths)[e+1][t]>n[e][t+1]?i.call$2(e,t-1):i.call$2(e-1,t)},$signature(){return this.T._eval$1("List<0>(int,int)")}},A.mapAddAll2_closure.prototype={call$2(e,t){var r=this.destination,n=r.$index(0,e);null!=n?n.addAll$1(0,t):r.$indexSet(0,e,t)},$signature(){return this.K1._eval$1("@<0>")._bind$1(this.K2)._bind$1(this.V)._eval$1("~(1,Map<2,3>)")}},A.Value.prototype={get$isTruthy:()=>!0,get$separator:e=>C.ListSeparator_undecided_null_3_undecided,get$hasBrackets:()=>!1,get$asList(){return A._setArrayType([this],D.JSArray_Value)},get$lengthAsList:()=>1,get$isBlank:()=>!1,get$isSpecialNumber:()=>!1,get$isSpecialVariable:()=>!1,get$realNull(){return this},sassIndexToListIndex$2(e,t){var r,n,i=e.assertNumber$1(t);if(i.get$hasUnits()&&(r=i.get$unitString(),A.warnForDeprecation("$"+t+": Passing a number with unit "+r+P.x20is_de+i.unitSuggestion$1(t)+P.x0a_Morex3af,C.Deprecation_7TE)),0===(n=i.assertInt$1(t)))throw A.wrapException(A.SassScriptException$("List index may not be 0.",t));if(Math.abs(n)>this.get$lengthAsList())throw A.wrapException(A.SassScriptException$("Invalid index "+e.toString$0(0)+" for a list with "+this.get$lengthAsList()+" elements.",t));return n<0?this.get$lengthAsList()+n:n-1},assertCalculation$1(e){return A.throwExpression(A.SassScriptException$(this.toString$0(0)+" is not a calculation.",e))},assertColor$1(e){return A.throwExpression(A.SassScriptException$(this.toString$0(0)+" is not a color.",e))},assertFunction$1(e){return A.throwExpression(A.SassScriptException$(this.toString$0(0)+" is not a function reference.",e))},assertMixin$1(e){return A.throwExpression(A.SassScriptException$(this.toString$0(0)+" is not a mixin reference.",e))},assertMap$1(e){return A.throwExpression(A.SassScriptException$(this.toString$0(0)+" is not a map.",e))},tryMap$0:()=>null,assertNumber$1(e){return A.throwExpression(A.SassScriptException$(this.toString$0(0)+" is not a number.",e))},assertNumber$0(){return this.assertNumber$1(null)},assertString$1(e){return A.throwExpression(A.SassScriptException$(this.toString$0(0)+" is not a string.",e))},assertCommonListStyle$2$allowSlash(e,t){var r,n,i,o=this,s="Expected",a="Expected an unbracketed";if(!(r=o.get$separator(o)===C.ListSeparator_z0K||!t&&o.get$separator(o)===C.ListSeparator_Lul)&&!o.get$hasBrackets())return o.get$asList();throw n=new A.StringBuffer(s),o.get$hasBrackets()?(n._contents=a,i=a):i=s,r&&(i+=o.get$hasBrackets()?",":" a",n._contents=i,i=n._contents=i+" space-",i=n._contents=(t?n._contents=i+" or slash-":i)+"separated"),n._contents=i+" list, was "+o.toString$0(0),A.wrapException(A.SassScriptException$(n.toString$0(0),e))},_selectorString$1(e){var t=this._selectorStringOrNull$0();if(null!=t)return t;throw A.wrapException(A.SassScriptException$(this.toString$0(0)+P.x20is_noav,e))},_selectorStringOrNull$0(){var e,t,r,n,i,o,s,a,l=this,c=null;if(l instanceof A.SassString)return l._string$_text;if(!(l instanceof A.SassList))return c;if(0===(t=(e=l._list$_contents).length))return c;if(r=A._setArrayType([],D.JSArray_String),n=l._separator,C.ListSeparator_z0K!==n){if(C.ListSeparator_Lul===n)return c;for(i=0;i<t;++i){if(!((a=e[i])instanceof A.SassString))return c;r.push(a._string$_text)}}else for(i=0;i<t;++i)if((o=e[i])instanceof A.SassString)r.push(o._string$_text);else{if(!(o instanceof A.SassList&&C.ListSeparator_SrV===o._separator))return c;if(null==(s=o._selectorStringOrNull$0()))return c;r.push(s)}return C.JSArray_methods.join$1(r,n===C.ListSeparator_z0K?", ":" ")},withListContents$2$separator(e,t){var r=null==t?this.get$separator(this):t,n=this.get$hasBrackets();return A.SassList$(e,r,n)},withListContents$1(e){return this.withListContents$2$separator(e,null)},greaterThan$1(e){return A.throwExpression(A.SassScriptException$('Undefined operation "'+this.toString$0(0)+" > "+e.toString$0(0)+'".',null))},greaterThanOrEquals$1(e){return A.throwExpression(A.SassScriptException$('Undefined operation "'+this.toString$0(0)+" >= "+e.toString$0(0)+'".',null))},lessThan$1(e){return A.throwExpression(A.SassScriptException$('Undefined operation "'+this.toString$0(0)+" < "+e.toString$0(0)+'".',null))},lessThanOrEquals$1(e){return A.throwExpression(A.SassScriptException$('Undefined operation "'+this.toString$0(0)+" <= "+e.toString$0(0)+'".',null))},times$1(e){return A.throwExpression(A.SassScriptException$('Undefined operation "'+this.toString$0(0)+" * "+e.toString$0(0)+'".',null))},modulo$1(e){return A.throwExpression(A.SassScriptException$('Undefined operation "'+this.toString$0(0)+" % "+e.toString$0(0)+'".',null))},plus$1(e){var t;return e instanceof A.SassString?t=new A.SassString(A.serializeValue(this,!1,!0)+e._string$_text,e._hasQuotes):(e instanceof A.SassCalculation&&A.throwExpression(A.SassScriptException$('Undefined operation "'+this.toString$0(0)+" + "+e.toString$0(0)+'".',null)),t=new A.SassString(A.serializeValue(this,!1,!0)+A.serializeValue(e,!1,!0),!1)),t},minus$1(e){return e instanceof A.SassCalculation?A.throwExpression(A.SassScriptException$('Undefined operation "'+this.toString$0(0)+" - "+e.toString$0(0)+'".',null)):new A.SassString(A.serializeValue(this,!1,!0)+"-"+A.serializeValue(e,!1,!0),!1)},dividedBy$1(e){return new A.SassString(A.serializeValue(this,!1,!0)+"/"+A.serializeValue(e,!1,!0),!1)},unaryPlus$0(){return new A.SassString("+"+A.serializeValue(this,!1,!0),!1)},unaryMinus$0(){return new A.SassString("-"+A.serializeValue(this,!1,!0),!1)},unaryNot$0:()=>C.SassBoolean_false,withoutSlash$0(){return this},toCssString$1$quote(e){return A.serializeValue(this,!1,e)},toCssString$0(){return this.toCssString$1$quote(!0)},toString$0(e){return A.serializeValue(this,!0,!0)}},A.SassArgumentList.prototype={},A.SassBoolean.prototype={get$isTruthy(){return this.value},accept$1$1(e){return e._serialize$_buffer.write$1(0,String(this.value))},accept$1(e){return this.accept$1$1(e,D.dynamic)},unaryNot$0(){return this.value?C.SassBoolean_false:C.SassBoolean_true}},A.SassCalculation.prototype={get$isSpecialNumber:()=>!0,accept$1$1(e){return e.visitCalculation$1(this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},assertCalculation$1(e){return this},plus$1(e){if(e instanceof A.SassString)return this.super$Value$plus(e);throw A.wrapException(A.SassScriptException$('Undefined operation "'+this.toString$0(0)+" + "+e.toString$0(0)+'".',null))},minus$1(e){return A.throwExpression(A.SassScriptException$('Undefined operation "'+this.toString$0(0)+" - "+e.toString$0(0)+'".',null))},unaryPlus$0(){return A.throwExpression(A.SassScriptException$('Undefined operation "+'+this.toString$0(0)+'".',null))},unaryMinus$0(){return A.throwExpression(A.SassScriptException$('Undefined operation "-'+this.toString$0(0)+'".',null))},$eq(e,t){return null!=t&&(t instanceof A.SassCalculation&&this.name===t.name&&C.C_ListEquality.equals$2(0,this.$arguments,t.$arguments))},get$hashCode(e){return C.JSString_methods.get$hashCode(this.name)^C.C_ListEquality0.hash$1(this.$arguments)}},A.SassCalculation__verifyLength_closure.prototype={call$1:e=>e instanceof A.SassString,$signature:73},A.CalculationOperation.prototype={$eq(e,t){return null!=t&&(t instanceof A.CalculationOperation&&this._operator===t._operator&&w.$eq$(this._left,t._left)&&w.$eq$(this._right,t._right))},get$hashCode(e){return(A.Primitives_objectHashCode(this._operator)^w.get$hashCode$(this._left)^w.get$hashCode$(this._right))>>>0},toString$0(e){var t=A.serializeValue(new A.SassCalculation("",A._setArrayType([this],D.JSArray_Object)),!0,!0);return C.JSString_methods.substring$2(t,1,t.length-1)}},A.CalculationOperator.prototype={_enumToString$0(){return"CalculationOperator."+this._name},toString$0(e){return this.name}},A.SassColor.prototype={get$channels(){var e,t,r=this.channel0OrNull;return null==r&&(r=0),null==(e=this.channel1OrNull)&&(e=0),t=this.channel2OrNull,A.List_List$unmodifiable([r,e,null==t?0:t],D.double)},get$channelsOrNull(){return A.List_List$unmodifiable([this.channel0OrNull,this.channel1OrNull,this.channel2OrNull],D.nullable_double)},get$isChannel0Powerless(){var e,t,r=this,n=r._space;return C.HslColorSpace_JQ2!==n?C.HwbColorSpace_guQ!==n?e=!1:(null==(e=r.channel1OrNull)&&(e=0),e=(e+=null==(t=r.channel2OrNull)?0:t)>100||A.fuzzyEquals(e,100)):(e=r.channel1OrNull,e=A.fuzzyEquals(null==e?0:e,0)),e},get$isChannel2Powerless(){var e,t=this._space;return C.LchColorSpace_Bpv!==t&&C.OklchColorSpace_9Gj!==t?e=!1:(e=this.channel1OrNull,e=A.fuzzyEquals(null==e?0:e,0)),e},get$isInGamut(){var e,t,r=this,n=r._space;return!n.get$isBoundedInternal()||(null==(e=r.channel0OrNull)&&(e=0),n=n._channels,t=!1,r._isChannelInGamut$2(e,n[0])?(null==(e=r.channel1OrNull)&&(e=0),r._isChannelInGamut$2(e,n[1])?(null==(e=r.channel2OrNull)&&(e=0),n=r._isChannelInGamut$2(e,n[2])):n=t):n=t,n)},_isChannelInGamut$2(e,t){var r,n,i;return t instanceof A.LinearChannel?(r=t.min,i=!!(e<(n=t.max)||A.fuzzyEquals(e,n))&&(e>r||A.fuzzyEquals(e,r))):i=!0,i},accept$1$1(e){return e.visitColor$1(this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},assertColor$1(e){return this},assertLegacy$1(e){if(!this._space.get$isLegacyInternal())throw A.wrapException(A.SassScriptException$("Expected "+this.toString$0(0)+P.x20to_be,e))},channel$1(e,t){var r,n=this,i=n._space._channels;if(t===i[0].name)return null==(r=n.channel0OrNull)?0:r;if(t===i[1].name)return null==(r=n.channel1OrNull)?0:r;if(t===i[2].name)return null==(r=n.channel2OrNull)?0:r;if("alpha"===t)return null==(r=n.alphaOrNull)?0:r;throw A.wrapException(A.SassScriptException$("Color "+n.toString$0(0)+" doesn't have a channel named \""+t+'".',null))},isChannelMissing$3$channelName$colorName(e,t,r){var n=this,i=n._space._channels;if(e===i[0].name)return null==n.channel0OrNull;if(e===i[1].name)return null==n.channel1OrNull;if(e===i[2].name)return null==n.channel2OrNull;if("alpha"===e)return null==n.alphaOrNull;throw A.wrapException(A.SassScriptException$("Color "+n.toString$0(0)+" doesn't have a channel named \""+e+'".',t))},isChannelMissing$1(e){return this.isChannelMissing$3$channelName$colorName(e,null,null)},isChannelPowerless$3$channelName$colorName(e,t,r){var n=this,i=n._space._channels;if(e===i[0].name)return n.get$isChannel0Powerless();if(e===i[1].name)return!1;if(e===i[2].name)return n.get$isChannel2Powerless();if("alpha"===e)return!1;throw A.wrapException(A.SassScriptException$("Color "+n.toString$0(0)+" doesn't have a channel named \""+e+'".',t))},_legacyChannel$2(e,t){if(!this._space.get$isLegacyInternal())throw A.wrapException(A.SassScriptException$("color."+t+P.x28__is_oc,null));return this.toSpace$1(e).channel$1(0,t)},toSpace$2$legacyMissing(e,t){var r,n,i,o,s=this,a=s._space;return a===e?s:(null==(r=s.alphaOrNull)&&(r=0),n=a.convert$5(e,s.channel0OrNull,s.channel1OrNull,s.channel2OrNull,r),a=!1,t||n._space.get$isLegacyInternal()&&(a=null==n.channel0OrNull||null==n.channel1OrNull||null==n.channel2OrNull||null==n.alphaOrNull),a?(null==(a=n.channel0OrNull)&&(a=0),null==(r=n.channel1OrNull)&&(r=0),null==(i=n.channel2OrNull)&&(i=0),null==(o=n.alphaOrNull)&&(o=0),a=o=A.SassColor_SassColor$forSpaceInternal(n._space,a,r,i,o)):a=n,a)},toSpace$1(e){return this.toSpace$2$legacyMissing(e,!0)},changeHsl$3$hue$lightness$saturation(e,t,r){var n,i,o,s,a=this,l=null,c=a._space;if(!c.get$isLegacyInternal())throw A.wrapException(A.SassScriptException$(P.color_c,l));return null==(n=null==e?l:e)&&(n=a._legacyChannel$2(C.HslColorSpace_JQ2,"hue")),null==(i=null==r?l:r)&&(i=a._legacyChannel$2(C.HslColorSpace_JQ2,"saturation")),null==(o=null==t?l:t)&&(o=a._legacyChannel$2(C.HslColorSpace_JQ2,"lightness")),null==(s=a.alphaOrNull)&&(s=0),A.SassColor_SassColor$hsl(n,i,o,s).toSpace$1(c)},changeHsl$1$saturation(e){return this.changeHsl$3$hue$lightness$saturation(null,null,e)},changeHsl$1$lightness(e){return this.changeHsl$3$hue$lightness$saturation(null,e,null)},changeHsl$1$hue(e){return this.changeHsl$3$hue$lightness$saturation(e,null,null)},changeAlpha$1(e){var t,r,n=this,i=n.channel0OrNull;return null==i&&(i=0),null==(t=n.channel1OrNull)&&(t=0),null==(r=n.channel2OrNull)&&(r=0),A.SassColor_SassColor$forSpaceInternal(n._space,i,t,r,e)},interpolate$4$legacyMissing$weight(e,t,r,n){var i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y,$,x,S,w,E,I,M,k,T,R,L,P=this,D=null;if(A.fuzzyEquals(n,0))return e;if(A.fuzzyEquals(n,1))return P;if(i=t.space,o=P.toSpace$1(i),s=e.toSpace$1(i),n<0||n>1)throw A.wrapException(A.RangeError$range(n,0,1,"weight",D));return a=P._isAnalogousChannelMissing$3(P,o,0),l=P._isAnalogousChannelMissing$3(P,o,1),c=P._isAnalogousChannelMissing$3(P,o,2),u=P._isAnalogousChannelMissing$3(e,s,0),d=P._isAnalogousChannelMissing$3(e,s,1),h=P._isAnalogousChannelMissing$3(e,s,2),null==(p=(a?s:o).channel0OrNull)&&(p=0),null==(m=(l?s:o).channel1OrNull)&&(m=0),null==(_=(c?s:o).channel2OrNull)&&(_=0),null==(g=(u?o:s).channel0OrNull)&&(g=0),null==(f=(d?o:s).channel1OrNull)&&(f=0),null==(v=(h?o:s).channel2OrNull)&&(v=0),x=(y=null==(b=P.alphaOrNull))?null==($=e.alphaOrNull)?0:$:b,w=($=null==(S=e.alphaOrNull))?y?0:b:S,E=(y?1:b)*n,M=($?1:S)*(I=1-n),k=y&&$?D:x*n+w*I,T=a&&u?D:(p*E+g*M)/(y=null==k?1:k),R=l&&d?D:(m*E+f*M)/(y=null==k?1:k),L=c&&h?D:(_*E+v*M)/(y=null==k?1:k),C.HslColorSpace_JQ2!==i&&C.HwbColorSpace_guQ!==i?C.LchColorSpace_Bpv!==i&&C.OklchColorSpace_9Gj!==i?i=A.SassColor_SassColor$forSpaceInternal(i,T,R,L,k):(c&&h?y=D:((y=t.hue).toString,y=P._interpolateHues$4(_,v,y,n)),i=y=A.SassColor_SassColor$forSpaceInternal(i,T,R,y,k)):(a&&u?y=D:((y=t.hue).toString,y=P._interpolateHues$4(p,g,y,n)),i=y=A.SassColor_SassColor$forSpaceInternal(i,y,R,L,k)),i.toSpace$2$legacyMissing(P._space,!1)},_isAnalogousChannelMissing$3(e,t,r){var n;return null==t.get$channelsOrNull()[r]||e!==t&&(null!=(n=A.IterableExtension_firstWhereOrNull(e._space._channels,t._space._channels[r].get$isAnalogous()))&&e.isChannelMissing$1(n.name))},_interpolateHues$4(e,t,r,n){var i,o;return C.HueInterpolationMethod_0!==r?C.HueInterpolationMethod_1!==r?C.HueInterpolationMethod_2===r&&t<e?t+=360:C.HueInterpolationMethod_3===r&&e<t&&(e+=360):(o=t-e)>0&&o<180?t+=360:o>-180&&o<=0&&(e+=360):(i=t-e)>180?e+=360:i<-180&&(t+=360),e*n+t*(1-n)},plus$1(e){if(!(e instanceof A.SassNumber||e instanceof A.SassColor))return this.super$Value$plus(e);throw A.wrapException(A.SassScriptException$('Undefined operation "'+this.toString$0(0)+" + "+e.toString$0(0)+'".',null))},minus$1(e){if(!(e instanceof A.SassNumber||e instanceof A.SassColor))return this.super$Value$minus(e);throw A.wrapException(A.SassScriptException$('Undefined operation "'+this.toString$0(0)+" - "+e.toString$0(0)+'".',null))},dividedBy$1(e){if(!(e instanceof A.SassNumber||e instanceof A.SassColor))return this.super$Value$dividedBy(e);throw A.wrapException(A.SassScriptException$('Undefined operation "'+this.toString$0(0)+" / "+e.toString$0(0)+'".',null))},$eq(e,t){var r,n,i=this;return null!=t&&(t instanceof A.SassColor&&((r=i._space).get$isLegacyInternal()?!!(n=t._space).get$isLegacyInternal()&&(!!A.fuzzyEqualsNullable(i.alphaOrNull,t.alphaOrNull)&&(r===n?A.fuzzyEqualsNullable(i.channel0OrNull,t.channel0OrNull)&&A.fuzzyEqualsNullable(i.channel1OrNull,t.channel1OrNull)&&A.fuzzyEqualsNullable(i.channel2OrNull,t.channel2OrNull):i.toSpace$1(C.RgbColorSpace_i0P).$eq(0,t.toSpace$1(C.RgbColorSpace_i0P)))):r===t._space&&A.fuzzyEqualsNullable(i.channel0OrNull,t.channel0OrNull)&&A.fuzzyEqualsNullable(i.channel1OrNull,t.channel1OrNull)&&A.fuzzyEqualsNullable(i.channel2OrNull,t.channel2OrNull)&&A.fuzzyEqualsNullable(i.alphaOrNull,t.alphaOrNull)))},get$hashCode(e){var t,r,n,i,o,s=this,a=s._space;return a.get$isLegacyInternal()?(a=(t=s.toSpace$1(C.RgbColorSpace_i0P)).channel0OrNull,a=A.fuzzyHashCode(null==a?0:a),r=t.channel1OrNull,r=A.fuzzyHashCode(null==r?0:r),n=t.channel2OrNull,n=A.fuzzyHashCode(null==n?0:n),i=s.alphaOrNull,a^r^n^A.fuzzyHashCode(null==i?0:i)):(a=A.Primitives_objectHashCode(a),r=s.channel0OrNull,r=A.fuzzyHashCode(null==r?0:r),n=s.channel1OrNull,n=A.fuzzyHashCode(null==n?0:n),i=s.channel2OrNull,i=A.fuzzyHashCode(null==i?0:i),o=s.alphaOrNull,(a^r^n^i^A.fuzzyHashCode(null==o?0:o))>>>0)}},A.SassColor$_forSpace_closure.prototype={call$1:e=>A.fuzzyAssertRange(e,0,1,"alpha"),$signature:12},A._ColorFormatEnum.prototype={toString$0:e=>"rgbFunction"},A.SpanColorFormat.prototype={},A.ColorChannel.prototype={isAnalogous$1(e){var t,r,n,i,o,s=this.name,a=e.name;return(t="red"===s||"x"===s)?(r="red"===a||"x"===a,n=a):(n=null,r=!1),i=!0,r?r=i:((r="green"===s||"y"===s)?(o=!0,t?r=n:(t=o,n=r=a),"green"!==r?(t?r=n:(t=o,n=r=a),r="y"===r):r=!0):r=!1,r?r=i:((r="blue"===s||"z"===s)?(o=!0,t?r=n:(t=o,n=r=a),"blue"!==r?(t?r=n:(t=o,n=r=a),r="z"===r):r=!0):r=!1,r?r=i:((r="chroma"===s||"saturation"===s)?(o=!0,t?r=n:(t=o,n=r=a),"chroma"!==r?(t?r=n:(t=o,n=r=a),r="saturation"===r):r=!0):r=!1,r?r=i:("lightness"===s?(t?r=n:(n=r=a,t=!0),r="lightness"===r):r=!1,r=r?i:"hue"===s&&"hue"===(t?n:a))))),r}},A.LinearChannel.prototype={},A.GamutMapMethod.prototype={toString$0(e){return this.name}},A.ClipGamutMap.prototype={map$1(e,t){var r=t._space,n=r._channels;return A.SassColor_SassColor$forSpaceInternal(r,this._clampChannel$2(t.channel0OrNull,n[0]),this._clampChannel$2(t.channel1OrNull,n[1]),this._clampChannel$2(t.channel2OrNull,n[2]),t.alphaOrNull)},_clampChannel$2(e,t){var r,n;return null==e?r=null:t instanceof A.LinearChannel?(n=t.min,r=isNaN(e)?n:C.JSNumber_methods.clamp$2(e,n,t.max)):r=e,r}},A.LocalMindeGamutMap.prototype={map$1(e,t){var r,n,i,o,s,a,l,c=t.toSpace$1(C.OklchColorSpace_9Gj),u=c.channel0OrNull,d=c.channel2OrNull,h=c.alphaOrNull,p=null==u,m=p?0:u;if(m>1||A.fuzzyEquals(m,1))return p=t._space,m=t.alphaOrNull,p.get$isLegacyInternal()?A.SassColor_SassColor$rgbInternal(255,255,255,m,null).toSpace$1(p):A.SassColor_SassColor$forSpaceInternal(p,1,1,1,m);if((p=p?0:u)<0||A.fuzzyEquals(p,0))return A.SassColor_SassColor$rgbInternal(0,0,0,t.alphaOrNull,null).toSpace$1(t._space);if(r=t.get$isInGamut()?t:C.ClipGamutMap_clip.map$1(0,t),this._deltaEOK$2(r,t)<.02)return r;for(null==(n=c.channel1OrNull)&&(n=0),p=t._space,i=0,o=!0;n-i>1e-4;)if(s=(i+n)/2,a=C.OklchColorSpace_9Gj.convert$5(p,u,s,d,h),o&&a.get$isInGamut())i=s;else if(r=a.get$isInGamut()?a:C.ClipGamutMap_clip.map$1(0,a),(l=this._deltaEOK$2(r,a))<.02){if(.02-l<1e-4)return r;i=s,o=!1}else n=s;return r},_deltaEOK$2(e,t){var r,n,i,o=e.toSpace$1(C.OklabColorSpace_540),s=t.toSpace$1(C.OklabColorSpace_540),a=o.channel0OrNull;return null==a&&(a=0),r=s.channel0OrNull,a=Math.pow(a-(null==r?0:r),2),null==(r=o.channel1OrNull)&&(r=0),n=s.channel1OrNull,r=Math.pow(r-(null==n?0:n),2),null==(n=o.channel2OrNull)&&(n=0),i=s.channel2OrNull,Math.sqrt(a+r+Math.pow(n-(null==i?0:i),2))}},A.InterpolationMethod.prototype={toString$0(e){var t=this.hue;return t=null==t?"":" "+t.toString$0(0)+" hue",this.space.name+t}},A.HueInterpolationMethod.prototype={_enumToString$0(){return"HueInterpolationMethod."+this._name}},A.ColorSpace.prototype={get$isLegacyInternal:()=>!1,get$isPolarInternal:()=>!1,convert$5(e,t,r,n,i){return this.convertLinear$5(e,t,r,n,i)},convertLinear$10$missingA$missingB$missingChroma$missingHue$missingLightness(e,t,r,n,i,o,s,a,l,c){var u,d,h,p,m,_,g,f,v,b=this;return(d=(u=C.HslColorSpace_JQ2!==e)&&C.HwbColorSpace_guQ!==e?C.LabColorSpace_2nT!==e&&C.LchColorSpace_Bpv!==e?C.OklabColorSpace_540!==e&&C.OklchColorSpace_9Gj!==e?e:C.LmsColorSpace_Os3:C.XyzD50ColorSpace_2OB:C.SrgbColorSpace_thf)===b?(h=n,p=r,m=t):(_=b.toLinear$1(null==t?0:t),g=b.toLinear$1(null==r?0:r),f=b.toLinear$1(null==n?0:n),v=b.transformationMatrix$1(d),m=d.fromLinear$1(v[0]*_+v[1]*g+v[2]*f),p=d.fromLinear$1(v[3]*_+v[4]*g+v[5]*f),h=d.fromLinear$1(v[6]*_+v[7]*g+v[8]*f)),u&&C.HwbColorSpace_guQ!==e?C.LabColorSpace_2nT!==e&&C.LchColorSpace_Bpv!==e?C.OklabColorSpace_540!==e&&C.OklchColorSpace_9Gj!==e?(u=null==t?null:m,d=null==r?null:p,u=A.SassColor_SassColor$forSpaceInternal(e,u,d,null==n?null:h,i)):u=C.LmsColorSpace_Os3.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(e,m,p,h,i,o,s,a,l,c):u=C.XyzD50ColorSpace_2OB.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(e,m,p,h,i,o,s,a,l,c):u=C.SrgbColorSpace_thf.convert$8$missingChroma$missingHue$missingLightness(e,m,p,h,i,a,l,c),u},convertLinear$5(e,t,r,n,i){return this.convertLinear$10$missingA$missingB$missingChroma$missingHue$missingLightness(e,t,r,n,i,!1,!1,!1,!1,!1)},toLinear$1(e){return A.throwExpression(A.UnimplementedError$("[BUG] Color space "+this.toString$0(0)+" doesn't support linear conversions."))},fromLinear$1(e){return A.throwExpression(A.UnimplementedError$("[BUG] Color space "+this.toString$0(0)+" doesn't support linear conversions."))},transformationMatrix$1(e){return A.throwExpression(A.UnimplementedError$("[BUG] Color space conversion from "+this.toString$0(0)+" to "+e.toString$0(0)+" not implemented."))},toString$0(e){return this.name}},A.A98RgbColorSpace.prototype={get$isBoundedInternal:()=>!0,toLinear$1:e=>w.get$sign$in(e)*Math.pow(Math.abs(e),2.19921875),fromLinear$1:e=>w.get$sign$in(e)*Math.pow(Math.abs(e),.4547069271758437),transformationMatrix$1(e){return C.SrgbLinearColorSpace_kUj!==e&&C.SrgbColorSpace_thf!==e&&C.RgbColorSpace_i0P!==e?C.DisplayP3ColorSpace_MmT!==e&&C.DisplayP3LinearColorSpace_PrP!==e?C.ProphotoRgbColorSpace_BDz!==e?C.Rec2020ColorSpace_6oo!==e?C.XyzD65ColorSpace_WiJ!==e?C.XyzD50ColorSpace_2OB!==e?C.LmsColorSpace_Os3!==e?this.super$ColorSpace$transformationMatrix(e):I.$get$linearA98RgbToLms():I.$get$linearA98RgbToXyzD50():I.$get$linearA98RgbToXyzD65():I.$get$linearA98RgbToLinearRec2020():I.$get$linearA98RgbToLinearProphotoRgb():I.$get$linearA98RgbToLinearDisplayP3():I.$get$linearA98RgbToLinearSrgb()}},A.DisplayP3ColorSpace.prototype={get$isBoundedInternal:()=>!0,convert$5(e,t,r,n,i){var o;return e===C.DisplayP3LinearColorSpace_PrP?(o=this.get$toLinear(),o=A.SassColor_SassColor$forSpaceInternal(e,A.NullableExtension_andThen(t,o),A.NullableExtension_andThen(r,o),A.NullableExtension_andThen(n,o),i)):o=this.super$ColorSpace$convertLinear(e,t,r,n,i,!1,!1,!1,!1,!1),o},toLinear$1:e=>A.srgbAndDisplayP3ToLinear(e),fromLinear$1:e=>A.srgbAndDisplayP3FromLinear(e),transformationMatrix$1(e){return C.SrgbLinearColorSpace_kUj!==e&&C.SrgbColorSpace_thf!==e&&C.RgbColorSpace_i0P!==e?C.A98RgbColorSpace_lf2!==e?C.ProphotoRgbColorSpace_BDz!==e?C.Rec2020ColorSpace_6oo!==e?C.XyzD65ColorSpace_WiJ!==e?C.XyzD50ColorSpace_2OB!==e?C.LmsColorSpace_Os3!==e?this.super$ColorSpace$transformationMatrix(e):I.$get$linearDisplayP3ToLms():I.$get$linearDisplayP3ToXyzD50():I.$get$linearDisplayP3ToXyzD65():I.$get$linearDisplayP3ToLinearRec2020():I.$get$linearDisplayP3ToLinearProphotoRgb():I.$get$linearDisplayP3ToLinearA98Rgb():I.$get$linearDisplayP3ToLinearSrgb()}},A.DisplayP3LinearColorSpace.prototype={get$isBoundedInternal:()=>!0,convert$5(e,t,r,n,i){return e===C.DisplayP3ColorSpace_MmT?A.SassColor_SassColor$forSpaceInternal(e,A.NullableExtension_andThen(t,A.utils0__srgbAndDisplayP3FromLinear$closure()),A.NullableExtension_andThen(r,A.utils0__srgbAndDisplayP3FromLinear$closure()),A.NullableExtension_andThen(n,A.utils0__srgbAndDisplayP3FromLinear$closure()),i):this.super$ColorSpace$convert(e,t,r,n,i)},toLinear$1:e=>e,fromLinear$1:e=>e,transformationMatrix$1(e){return C.SrgbLinearColorSpace_kUj!==e&&C.SrgbColorSpace_thf!==e&&C.RgbColorSpace_i0P!==e?C.A98RgbColorSpace_lf2!==e?C.ProphotoRgbColorSpace_BDz!==e?C.Rec2020ColorSpace_6oo!==e?C.XyzD65ColorSpace_WiJ!==e?C.XyzD50ColorSpace_2OB!==e?C.LmsColorSpace_Os3!==e?this.super$ColorSpace$transformationMatrix(e):I.$get$linearDisplayP3ToLms():I.$get$linearDisplayP3ToXyzD50():I.$get$linearDisplayP3ToXyzD65():I.$get$linearDisplayP3ToLinearRec2020():I.$get$linearDisplayP3ToLinearProphotoRgb():I.$get$linearDisplayP3ToLinearA98Rgb():I.$get$linearDisplayP3ToLinearSrgb()}},A.HslColorSpace.prototype={get$isBoundedInternal:()=>!0,get$isLegacyInternal:()=>!0,get$isPolarInternal:()=>!0,convert$5(e,t,r,n,i){var o=null==t,s=C.JSNumber_methods.$mod((o?0:t)/360,1),a=null==r,l=(a?0:r)/100,c=null==n,u=(c?0:n)/100,d=u<=.5?u*(l+1):u+l-u*l,h=2*u-d;return C.SrgbColorSpace_thf.convert$8$missingChroma$missingHue$missingLightness(e,A.hueToRgb(h,d,s+.3333333333333333),A.hueToRgb(h,d,s),A.hueToRgb(h,d,s-.3333333333333333),i,a,o,c)}},A.HwbColorSpace.prototype={get$isBoundedInternal:()=>!0,get$isLegacyInternal:()=>!0,get$isPolarInternal:()=>!0,convert$5(e,t,r,n,i){var o,s={},a=null==t,l=C.JSNumber_methods.$mod(a?0:t,360)/360,c=s.scaledWhiteness=(null==r?0:r)/100,u=(null==n?0:n)/100,d=c+u;return d>1?(o=s.scaledWhiteness=c/d,u/=d):o=c,o=new A.HwbColorSpace_convert_toRgb(s,1-o-u),C.SrgbColorSpace_thf.convert$6$missingHue(e,o.call$1(l+.3333333333333333),o.call$1(l),o.call$1(l-.3333333333333333),i,a)}},A.HwbColorSpace_convert_toRgb.prototype={call$1(e){return A.hueToRgb(0,1,e)*this.factor+this._box_0.scaledWhiteness},$signature:12},A.LabColorSpace.prototype={get$isBoundedInternal:()=>!1,convert$7$missingChroma$missingHue(e,t,r,n,i,o,s){var a,l,c,u,d,h,p;switch(e){case C.LabColorSpace_2nT:return a=null==t||A.fuzzyEquals(t,0),l=null==r||a?null:r,A.SassColor$_forSpace(C.LabColorSpace_2nT,t,l,null==n||a?null:n,i,null);case C.LchColorSpace_Bpv:return A.labToLch(e,t,r,n,i,!1,!1);default:return(c=null==t)&&(t=0),u=(t+16)/116,l=null==r,d=this._convertFToXorZ$1((l?0:r)/500+u),h=t>8?Math.pow(u,3):t/903.2962962962963,p=null==n,C.XyzD50ColorSpace_2OB.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(e,.9642956764295677*d,h,.8251046025104602*this._convertFToXorZ$1(u-(p?0:n)/200),i,l,p,o,s,c)}},convert$5(e,t,r,n,i){return this.convert$7$missingChroma$missingHue(e,t,r,n,i,!1,!1)},_convertFToXorZ$1(e){var t=Math.pow(e,3)+0;return t>.008856451679035631?t:(116*e-16)/903.2962962962963}},A.LchColorSpace.prototype={get$isBoundedInternal:()=>!1,get$isPolarInternal:()=>!0,convert$5(e,t,r,n,i){var o=null==n,s=3.141592653589793*(o?0:n)/180,a=null==r,l=a?0:r,c=Math.cos(s),u=a?0:r;return C.LabColorSpace_2nT.convert$7$missingChroma$missingHue(e,t,l*c,u*Math.sin(s),i,a,o)}},A.LmsColorSpace.prototype={get$isBoundedInternal:()=>!1,convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(e,t,r,n,i,o,s,a,l,c){var u,d,h,p,m,_,g,f=null;switch(e){case C.OklabColorSpace_540:return u=null==t?0:t,d=Math.pow(Math.abs(u),.3333333333333333)*w.get$sign$in(u),u=null==r?0:r,h=Math.pow(Math.abs(u),.3333333333333333)*w.get$sign$in(u),u=null==n?0:n,p=Math.pow(Math.abs(u),.3333333333333333)*w.get$sign$in(u),m=(u=I.$get$lmsToOklab())[0]*d+u[1]*h+u[2]*p,_=c?f:m,g=o?f:u[3]*d+u[4]*h+u[5]*p,A.SassColor$_forSpace(C.OklabColorSpace_540,_,g,s?f:u[6]*d+u[7]*h+u[8]*p,i,f);case C.OklchColorSpace_9Gj:return u=null==t?0:t,d=Math.pow(Math.abs(u),.3333333333333333)*w.get$sign$in(u),u=null==r?0:r,h=Math.pow(Math.abs(u),.3333333333333333)*w.get$sign$in(u),u=null==n?0:n,p=Math.pow(Math.abs(u),.3333333333333333)*w.get$sign$in(u),u=c?f:(u=I.$get$lmsToOklab())[0]*d+u[1]*h+u[2]*p,_=I.$get$lmsToOklab(),A.labToLch(e,u,_[3]*d+_[4]*h+_[5]*p,_[6]*d+_[7]*h+_[8]*p,i,a,l);default:return this.super$ColorSpace$convertLinear(e,t,r,n,i,o,s,a,l,c)}},convert$5(e,t,r,n,i){return this.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(e,t,r,n,i,!1,!1,!1,!1,!1)},toLinear$1:e=>e,fromLinear$1:e=>e,transformationMatrix$1(e){return C.SrgbLinearColorSpace_kUj!==e&&C.SrgbColorSpace_thf!==e&&C.RgbColorSpace_i0P!==e?C.A98RgbColorSpace_lf2!==e?C.ProphotoRgbColorSpace_BDz!==e?C.DisplayP3ColorSpace_MmT!==e&&C.DisplayP3LinearColorSpace_PrP!==e?C.Rec2020ColorSpace_6oo!==e?C.XyzD65ColorSpace_WiJ!==e?C.XyzD50ColorSpace_2OB!==e?this.super$ColorSpace$transformationMatrix(e):I.$get$lmsToXyzD50():I.$get$lmsToXyzD65():I.$get$lmsToLinearRec2020():I.$get$lmsToLinearDisplayP3():I.$get$lmsToLinearProphotoRgb():I.$get$lmsToLinearA98Rgb():I.$get$lmsToLinearSrgb()}},A.OklabColorSpace.prototype={get$isBoundedInternal:()=>!1,convert$7$missingChroma$missingHue(e,t,r,n,i,o,s){var a,l,c,u;return e===C.OklchColorSpace_9Gj?A.labToLch(e,t,r,n,i,o,s):((a=null==t)&&(t=0),(l=null==r)&&(r=0),(c=null==n)&&(n=0),u=I.$get$oklabToLms(),C.LmsColorSpace_Os3.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(e,Math.pow(u[0]*t+u[1]*r+u[2]*n,3)+0,Math.pow(u[3]*t+u[4]*r+u[5]*n,3)+0,Math.pow(u[6]*t+u[7]*r+u[8]*n,3)+0,i,l,c,o,s,a))},convert$5(e,t,r,n,i){return this.convert$7$missingChroma$missingHue(e,t,r,n,i,!1,!1)}},A.OklchColorSpace.prototype={get$isBoundedInternal:()=>!1,get$isPolarInternal:()=>!0,convert$5(e,t,r,n,i){var o=null==n,s=3.141592653589793*(o?0:n)/180,a=null==r,l=a?0:r,c=Math.cos(s),u=a?0:r;return C.OklabColorSpace_540.convert$7$missingChroma$missingHue(e,t,l*c,u*Math.sin(s),i,a,o)}},A.ProphotoRgbColorSpace.prototype={get$isBoundedInternal:()=>!0,toLinear$1(e){var t=Math.abs(e);return t<=.03125?e/16:w.get$sign$in(e)*Math.pow(t,1.8)},fromLinear$1(e){var t=Math.abs(e);return t>=.001953125?w.get$sign$in(e)*Math.pow(t,.5555555555555556):16*e},transformationMatrix$1(e){return C.SrgbLinearColorSpace_kUj!==e&&C.SrgbColorSpace_thf!==e&&C.RgbColorSpace_i0P!==e?C.A98RgbColorSpace_lf2!==e?C.DisplayP3ColorSpace_MmT!==e&&C.DisplayP3LinearColorSpace_PrP!==e?C.Rec2020ColorSpace_6oo!==e?C.XyzD65ColorSpace_WiJ!==e?C.XyzD50ColorSpace_2OB!==e?C.LmsColorSpace_Os3!==e?this.super$ColorSpace$transformationMatrix(e):I.$get$linearProphotoRgbToLms():I.$get$linearProphotoRgbToXyzD50():I.$get$linearProphotoRgbToXyzD65():I.$get$linearProphotoRgbToLinearRec2020():I.$get$linearProphotoRgbToLinearDisplayP3():I.$get$linearProphotoRgbToLinearA98Rgb():I.$get$linearProphotoRgbToLinearSrgb()}},A.Rec2020ColorSpace.prototype={get$isBoundedInternal:()=>!0,toLinear$1(e){var t=Math.abs(e);return t<.08124285829863151?e/4.5:w.get$sign$in(e)*Math.pow((t+1.09929682680944-1)/1.09929682680944,2.2222222222222223)},fromLinear$1(e){var t=Math.abs(e);return t>.018053968510807?w.get$sign$in(e)*(1.09929682680944*Math.pow(t,.45)-.09929682680944008):4.5*e},transformationMatrix$1(e){return C.SrgbLinearColorSpace_kUj!==e&&C.SrgbColorSpace_thf!==e&&C.RgbColorSpace_i0P!==e?C.A98RgbColorSpace_lf2!==e?C.DisplayP3ColorSpace_MmT!==e&&C.DisplayP3LinearColorSpace_PrP!==e?C.ProphotoRgbColorSpace_BDz!==e?C.XyzD65ColorSpace_WiJ!==e?C.XyzD50ColorSpace_2OB!==e?C.LmsColorSpace_Os3!==e?this.super$ColorSpace$transformationMatrix(e):I.$get$linearRec2020ToLms():I.$get$linearRec2020ToXyzD50():I.$get$linearRec2020ToXyzD65():I.$get$linearRec2020ToLinearProphotoRgb():I.$get$linearRec2020ToLinearDisplayP3():I.$get$linearRec2020ToLinearA98Rgb():I.$get$linearRec2020ToLinearSrgb()}},A.RgbColorSpace.prototype={get$isBoundedInternal:()=>!0,get$isLegacyInternal:()=>!0,convert$5(e,t,r,n,i){var o=null==t?null:t/255,s=null==r?null:r/255;return C.SrgbColorSpace_thf.convert$5(e,o,s,null==n?null:n/255,i)},toLinear$1:e=>A.srgbAndDisplayP3ToLinear(e/255),fromLinear$1:e=>255*A.srgbAndDisplayP3FromLinear(e)},A.SrgbColorSpace.prototype={get$isBoundedInternal:()=>!0,convert$8$missingChroma$missingHue$missingLightness(e,t,r,n,i,o,s,a){var l,c,u,d,h,p,m,_,g,f,v=null;return C.HslColorSpace_JQ2===e||C.HwbColorSpace_guQ===e?(null==t&&(t=0),null==r&&(r=0),null==n&&(n=0),u=(l=Math.max(Math.max(t,r),n))-(c=Math.min(Math.min(t,r),n)),d=l===c?0:l===t?60*(r-n)/u+360:l===r?60*(n-t)/u+120:60*(t-r)/u+240,e===C.HslColorSpace_JQ2?((p=0===(h=(c+l)/2)||1===h?0:100*(l-h)/Math.min(h,1-h))<0&&(d+=180,p=Math.abs(p)),m=s||A.fuzzyEquals(p,0)?v:C.JSNumber_methods.$mod(d,360),_=o?v:p,A.SassColor_SassColor$forSpaceInternal(e,m,_,a?v:100*h,i)):(g=100*c,f=100-100*l,m=!!s||((m=g+f)>100||A.fuzzyEquals(m,100)),A.SassColor_SassColor$forSpaceInternal(e,m?v:C.JSNumber_methods.$mod(d,360),g,f,i))):C.RgbColorSpace_i0P===e?(m=null==t?v:255*t,_=null==r?v:255*r,A.SassColor_SassColor$rgbInternal(m,_,null==n?v:255*n,i,v)):C.SrgbLinearColorSpace_kUj===e?(m=this.get$toLinear(),A.SassColor_SassColor$forSpaceInternal(e,A.NullableExtension_andThen(t,m),A.NullableExtension_andThen(r,m),A.NullableExtension_andThen(n,m),i)):this.super$ColorSpace$convertLinear(e,t,r,n,i,!1,!1,o,s,a)},convert$5(e,t,r,n,i){return this.convert$8$missingChroma$missingHue$missingLightness(e,t,r,n,i,!1,!1,!1)},convert$6$missingHue(e,t,r,n,i,o){return this.convert$8$missingChroma$missingHue$missingLightness(e,t,r,n,i,!1,o,!1)},toLinear$1:e=>A.srgbAndDisplayP3ToLinear(e),fromLinear$1:e=>A.srgbAndDisplayP3FromLinear(e),transformationMatrix$1(e){return C.DisplayP3ColorSpace_MmT!==e&&C.DisplayP3LinearColorSpace_PrP!==e?C.A98RgbColorSpace_lf2!==e?C.ProphotoRgbColorSpace_BDz!==e?C.Rec2020ColorSpace_6oo!==e?C.XyzD65ColorSpace_WiJ!==e?C.XyzD50ColorSpace_2OB!==e?C.LmsColorSpace_Os3!==e?this.super$ColorSpace$transformationMatrix(e):I.$get$linearSrgbToLms():I.$get$linearSrgbToXyzD50():I.$get$linearSrgbToXyzD65():I.$get$linearSrgbToLinearRec2020():I.$get$linearSrgbToLinearProphotoRgb():I.$get$linearSrgbToLinearA98Rgb():I.$get$linearSrgbToLinearDisplayP3()}},A.SrgbLinearColorSpace.prototype={get$isBoundedInternal:()=>!0,convert$5(e,t,r,n,i){return C.RgbColorSpace_i0P!==e&&C.HslColorSpace_JQ2!==e&&C.HwbColorSpace_guQ!==e&&C.SrgbColorSpace_thf!==e?this.super$ColorSpace$convert(e,t,r,n,i):C.SrgbColorSpace_thf.convert$5(e,A.NullableExtension_andThen(t,A.utils0__srgbAndDisplayP3FromLinear$closure()),A.NullableExtension_andThen(r,A.utils0__srgbAndDisplayP3FromLinear$closure()),A.NullableExtension_andThen(n,A.utils0__srgbAndDisplayP3FromLinear$closure()),i)},toLinear$1:e=>e,fromLinear$1:e=>e,transformationMatrix$1(e){return C.DisplayP3ColorSpace_MmT!==e&&C.DisplayP3LinearColorSpace_PrP!==e?C.A98RgbColorSpace_lf2!==e?C.ProphotoRgbColorSpace_BDz!==e?C.Rec2020ColorSpace_6oo!==e?C.XyzD65ColorSpace_WiJ!==e?C.XyzD50ColorSpace_2OB!==e?C.LmsColorSpace_Os3!==e?this.super$ColorSpace$transformationMatrix(e):I.$get$linearSrgbToLms():I.$get$linearSrgbToXyzD50():I.$get$linearSrgbToXyzD65():I.$get$linearSrgbToLinearRec2020():I.$get$linearSrgbToLinearProphotoRgb():I.$get$linearSrgbToLinearA98Rgb():I.$get$linearSrgbToLinearDisplayP3()}},A.XyzD50ColorSpace.prototype={get$isBoundedInternal:()=>!1,convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(e,t,r,n,i,o,s,a,l,c){var u,d,h,p,m,_,g=this,f=null;return C.LabColorSpace_2nT===e||C.LchColorSpace_Bpv===e?(u=g._convertComponentToLabF$1((null==t?0:t)/.9642956764295677),d=g._convertComponentToLabF$1((null==r?0:r)/1),h=c?f:116*d-16,p=500*(u-d),m=200*(d-g._convertComponentToLabF$1((null==n?0:n)/.8251046025104602)),e===C.LabColorSpace_2nT?(_=o?f:p,_=A.SassColor$_forSpace(C.LabColorSpace_2nT,h,_,s?f:m,i,f)):_=A.labToLch(C.LchColorSpace_Bpv,h,p,m,i,a,l),_):g.super$ColorSpace$convertLinear(e,t,r,n,i,o,s,a,l,c)},convert$5(e,t,r,n,i){return this.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(e,t,r,n,i,!1,!1,!1,!1,!1)},_convertComponentToLabF$1:e=>e>.008856451679035631?Math.pow(e,.3333333333333333)+0:(903.2962962962963*e+16)/116,toLinear$1:e=>e,fromLinear$1:e=>e,transformationMatrix$1(e){return C.SrgbLinearColorSpace_kUj!==e&&C.SrgbColorSpace_thf!==e&&C.RgbColorSpace_i0P!==e?C.A98RgbColorSpace_lf2!==e?C.ProphotoRgbColorSpace_BDz!==e?C.DisplayP3ColorSpace_MmT!==e&&C.DisplayP3LinearColorSpace_PrP!==e?C.Rec2020ColorSpace_6oo!==e?C.XyzD65ColorSpace_WiJ!==e?C.LmsColorSpace_Os3!==e?this.super$ColorSpace$transformationMatrix(e):I.$get$xyzD50ToLms():I.$get$xyzD50ToXyzD65():I.$get$xyzD50ToLinearRec2020():I.$get$xyzD50ToLinearDisplayP3():I.$get$xyzD50ToLinearProphotoRgb():I.$get$xyzD50ToLinearA98Rgb():I.$get$xyzD50ToLinearSrgb()}},A.XyzD65ColorSpace.prototype={get$isBoundedInternal:()=>!1,toLinear$1:e=>e,fromLinear$1:e=>e,transformationMatrix$1(e){return C.SrgbLinearColorSpace_kUj!==e&&C.SrgbColorSpace_thf!==e&&C.RgbColorSpace_i0P!==e?C.A98RgbColorSpace_lf2!==e?C.ProphotoRgbColorSpace_BDz!==e?C.DisplayP3ColorSpace_MmT!==e&&C.DisplayP3LinearColorSpace_PrP!==e?C.Rec2020ColorSpace_6oo!==e?C.XyzD50ColorSpace_2OB!==e?C.LmsColorSpace_Os3!==e?this.super$ColorSpace$transformationMatrix(e):I.$get$xyzD65ToLms():I.$get$xyzD65ToXyzD50():I.$get$xyzD65ToLinearRec2020():I.$get$xyzD65ToLinearDisplayP3():I.$get$xyzD65ToLinearProphotoRgb():I.$get$xyzD65ToLinearA98Rgb():I.$get$xyzD65ToLinearSrgb()}},A.SassFunction.prototype={accept$1$1(e){var t,r;return e._inspect||A.throwExpression(A.SassScriptException$(this.toString$0(0)+" isn't a valid CSS value.",null)),(t=e._serialize$_buffer).write$1(0,"get-function("),r=this.callable,e._visitQuotedString$1(r.get$name(r)),t.writeCharCode$1(41),null},accept$1(e){return this.accept$1$1(e,D.dynamic)},assertFunction$1(e){return this},assertCompileContext$1(e){if(this._function$_compileContext!==e)throw A.wrapException(A.SassScriptException$(this.toString$0(0)+" does not belong to current compilation.",null));return this},$eq(e,t){return null!=t&&(t instanceof A.SassFunction&&this.callable.$eq(0,t.callable))},get$hashCode(e){var t=this.callable;return t.get$hashCode(t)}},A.SassList.prototype={get$separator(e){return this._separator},get$hasBrackets(){return this._hasBrackets},get$isBlank(){return!this._hasBrackets&&C.JSArray_methods.every$1(this._list$_contents,new A.SassList_isBlank_closure)},get$asList(){return this._list$_contents},get$lengthAsList(){return this._list$_contents.length},SassList$3$brackets(e,t,r){if(this._separator===C.ListSeparator_undecided_null_3_undecided&&this._list$_contents.length>1)throw A.wrapException(A.ArgumentError$(P.A_list,null))},toString$0(e){var t,r=this,n=!0;return r._hasBrackets||0!==(t=r._list$_contents.length)&&(n=1===t&&r._separator===C.ListSeparator_z0K),n?r.super$Value$toString(0):"("+r.super$Value$toString(0)+")"},accept$1$1(e){return e.visitList$1(this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},assertMap$1(e){return 0===this._list$_contents.length?C.SassMap_Map_empty:this.super$Value$assertMap(e)},tryMap$0(){return 0===this._list$_contents.length?C.SassMap_Map_empty:null},$eq(e,t){var r=this;return null!=t&&(!!(t instanceof A.SassList&&t._separator===r._separator&&t._hasBrackets===r._hasBrackets&&C.C_ListEquality.equals$2(0,t._list$_contents,r._list$_contents))||0===r._list$_contents.length&&t instanceof A.SassMap&&0===t.get$asList().length)},get$hashCode(e){return C.C_ListEquality0.hash$1(this._list$_contents)}},A.SassList_isBlank_closure.prototype={call$1:e=>e.get$isBlank(),$signature:79},A.ListSeparator.prototype={_enumToString$0(){return"ListSeparator."+this._name},toString$0(e){return this._list$_name}},A.SassMap.prototype={get$separator(e){var t=this._map$_contents;return t.get$isEmpty(t)?C.ListSeparator_undecided_null_3_undecided:C.ListSeparator_z0K},get$asList(){var e,t,r,n,i=D.JSArray_Value,o=A._setArrayType([],i);for(e=D.Value,t=(t=A.MapExtensions_get_pairs(this._map$_contents,e,e)).get$iterator(t);t.moveNext$0();)r=t.get$current(t),(n=A.List_List$from(A._setArrayType([r._0,r._1],i),!1,e)).$flags=3,o.push(new A.SassList(n,C.ListSeparator_SrV,!1));return o},get$lengthAsList(){var e=this._map$_contents;return e.get$length(e)},accept$1$1(e){return e.visitMap$1(this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},assertMap$1(e){return this},tryMap$0(){return this},$eq(e,t){var r;return null!=t&&(r=!!(t instanceof A.SassMap&&C.C_MapEquality.equals$2(0,t._map$_contents,this._map$_contents))||(r=this._map$_contents).get$isEmpty(r)&&t instanceof A.SassList&&0===t._list$_contents.length)},get$hashCode(e){var t=this._map$_contents;return t.get$isEmpty(t)?C.C_ListEquality0.hash$1(C.List_empty8):C.C_MapEquality.hash$1(t)}},A.SassMixin.prototype={accept$1$1(e){var t,r;return e._inspect||A.throwExpression(A.SassScriptException$(this.toString$0(0)+" isn't a valid CSS value.",null)),(t=e._serialize$_buffer).write$1(0,"get-mixin("),r=this.callable,e._visitQuotedString$1(r.get$name(r)),t.writeCharCode$1(41),null},accept$1(e){return this.accept$1$1(e,D.dynamic)},assertMixin$1(e){return this},assertCompileContext$1(e){if(this._mixin$_compileContext!==e)throw A.wrapException(A.SassScriptException$(this.toString$0(0)+" does not belong to current compilation.",null));return this},$eq(e,t){return null!=t&&(t instanceof A.SassMixin&&this.callable.$eq(0,t.callable))},get$hashCode(e){var t=this.callable;return t.get$hashCode(t)}},A._SassNull.prototype={get$isTruthy:()=>!1,get$isBlank:()=>!0,get$realNull:()=>null,accept$1$1:e=>(e._inspect&&e._serialize$_buffer.write$1(0,"null"),null),accept$1(e){return this.accept$1$1(e,D.dynamic)},unaryNot$0:()=>C.SassBoolean_true},A.SassNumber.prototype={get$unitString(){var e=this;return e.get$hasUnits()?e._unitString$2(e.get$numeratorUnits(e),e.get$denominatorUnits(e)):""},accept$1$1(e){return e.visitNumber$1(this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},withoutSlash$0(){var e=this;return null==e.asSlash?e:e.withValue$1(e._number$_value)},assertNumber$1(e){return this},assertNumber$0(){return this.assertNumber$1(null)},assertInt$1(e){var t=A.fuzzyAsInt(this._number$_value);if(null!=t)return t;throw A.wrapException(A.SassScriptException$(this.toString$0(0)+" is not an int.",e))},assertInt$0(){return this.assertInt$1(null)},valueInRange$3(e,t,r){var n=this,i=A.fuzzyCheckRange(n._number$_value,e,t);if(null!=i)return i;throw A.wrapException(A.SassScriptException$("Expected "+n.toString$0(0)+" to be within "+e+n.get$unitString()+" and "+t+n.get$unitString()+".",r))},valueInRangeWithUnit$4(e,t,r,n){var i=A.fuzzyCheckRange(this._number$_value,e,t);if(null!=i)return i;throw A.wrapException(A.SassScriptException$("Expected "+this.toString$0(0)+" to be within "+e+n+" and "+t+n+".",r))},hasCompatibleUnits$1(e){var t=this;return t.get$numeratorUnits(t).length===e.get$numeratorUnits(e).length&&(t.get$denominatorUnits(t).length===e.get$denominatorUnits(e).length&&t.isComparableTo$1(e))},assertUnit$2(e,t){if(!this.hasUnit$1(e))throw A.wrapException(A.SassScriptException$("Expected "+this.toString$0(0)+' to have unit "'+e+'".',t))},assertNoUnits$1(e){if(this.get$hasUnits())throw A.wrapException(A.SassScriptException$("Expected "+this.toString$0(0)+" to have no units.",e))},assertNoUnits$0(){return this.assertNoUnits$1(null)},convertValueToMatch$3(e,t,r){return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(e.get$numeratorUnits(e),e.get$denominatorUnits(e),!1,t,e,r)},convertValueToMatch$1(e){return this.convertValueToMatch$3(e,null,null)},coerce$3(e,t,r){return A.SassNumber_SassNumber$withUnits(this.coerceValue$3(e,t,r),t,e)},coerce$2(e,t){return this.coerce$3(e,t,null)},coerceValue$3(e,t,r){return this._coerceOrConvertValue$4$coerceUnitless$name(e,t,!0,r)},coerceValueToUnit$2(e,t){var r=D.JSArray_String;return this.coerceValue$3(A._setArrayType([e],r),A._setArrayType([],r),t)},coerceValueToUnit$1(e){return this.coerceValueToUnit$2(e,null)},coerceToMatch$3(e,t,r){var n=this.coerceValueToMatch$3(e,t,r),i=e.get$numeratorUnits(e);return A.SassNumber_SassNumber$withUnits(n,e.get$denominatorUnits(e),i)},coerceValueToMatch$3(e,t,r){return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(e.get$numeratorUnits(e),e.get$denominatorUnits(e),!0,t,e,r)},coerceValueToMatch$1(e){return this.coerceValueToMatch$3(e,null,null)},_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(e,t,r,n,i,o){var s,a,l,c,u,d,h=this,p={};if(C.C_ListEquality.equals$2(0,h.get$numeratorUnits(h),e)&&C.C_ListEquality.equals$2(0,h.get$denominatorUnits(h),t))return h._number$_value;if(s=0!==e.length||0!==t.length,a=!!r&&(!h.get$hasUnits()||!s))return h._number$_value;for(l=new A.SassNumber__coerceOrConvertValue_compatibilityException(h,i,o,s,n,e,t),p.value=h._number$_value,a=h.get$numeratorUnits(h),c=A._setArrayType(a.slice(0),A._arrayInstanceType(a)),a=e.length,u=0;u<e.length;e.length===a||(0,A.throwConcurrentModificationError)(e),++u)A.removeFirstWhere(c,new A.SassNumber__coerceOrConvertValue_closure(p,e[u]),new A.SassNumber__coerceOrConvertValue_closure0(l));for(a=h.get$denominatorUnits(h),d=A._setArrayType(a.slice(0),A._arrayInstanceType(a)),a=t.length,u=0;u<t.length;t.length===a||(0,A.throwConcurrentModificationError)(t),++u)A.removeFirstWhere(d,new A.SassNumber__coerceOrConvertValue_closure1(p,t[u]),new A.SassNumber__coerceOrConvertValue_closure2(l));if(0!==c.length||0!==d.length)throw A.wrapException(l.call$0());return p.value},_coerceOrConvertValue$4$coerceUnitless$name(e,t,r,n){return this._coerceOrConvertValue$6$coerceUnitless$name$other$otherName(e,t,r,n,null,null)},isComparableTo$1(e){if(!this.get$hasUnits()||!e.get$hasUnits())return!0;try{return this.greaterThan$1(e),!0}catch(e){if(A.unwrapException(e)instanceof A.SassScriptException)return!1;throw e}},greaterThan$1(e){if(e instanceof A.SassNumber)return this._coerceUnits$2(e,A.number0__fuzzyGreaterThan$closure())?C.SassBoolean_true:C.SassBoolean_false;throw A.wrapException(A.SassScriptException$('Undefined operation "'+this.toString$0(0)+" > "+e.toString$0(0)+'".',null))},greaterThanOrEquals$1(e){if(e instanceof A.SassNumber)return this._coerceUnits$2(e,A.number0__fuzzyGreaterThanOrEquals$closure())?C.SassBoolean_true:C.SassBoolean_false;throw A.wrapException(A.SassScriptException$('Undefined operation "'+this.toString$0(0)+" >= "+e.toString$0(0)+'".',null))},lessThan$1(e){if(e instanceof A.SassNumber)return this._coerceUnits$2(e,A.number0__fuzzyLessThan$closure())?C.SassBoolean_true:C.SassBoolean_false;throw A.wrapException(A.SassScriptException$('Undefined operation "'+this.toString$0(0)+" < "+e.toString$0(0)+'".',null))},lessThanOrEquals$1(e){if(e instanceof A.SassNumber)return this._coerceUnits$2(e,A.number0__fuzzyLessThanOrEquals$closure())?C.SassBoolean_true:C.SassBoolean_false;throw A.wrapException(A.SassScriptException$('Undefined operation "'+this.toString$0(0)+" <= "+e.toString$0(0)+'".',null))},modulo$1(e){if(e instanceof A.SassNumber)return this.withValue$1(this._coerceUnits$2(e,A.number0__moduloLikeSass$closure()));throw A.wrapException(A.SassScriptException$('Undefined operation "'+this.toString$0(0)+" % "+e.toString$0(0)+'".',null))},plus$1(e){var t=this;if(e instanceof A.SassNumber)return t.withValue$1(t._coerceUnits$2(e,new A.SassNumber_plus_closure));if(!(e instanceof A.SassColor))return t.super$Value$plus(e);throw A.wrapException(A.SassScriptException$('Undefined operation "'+t.toString$0(0)+" + "+e.toString$0(0)+'".',null))},minus$1(e){var t=this;if(e instanceof A.SassNumber)return t.withValue$1(t._coerceUnits$2(e,new A.SassNumber_minus_closure));if(!(e instanceof A.SassColor))return t.super$Value$minus(e);throw A.wrapException(A.SassScriptException$('Undefined operation "'+t.toString$0(0)+" - "+e.toString$0(0)+'".',null))},times$1(e){var t=this;if(e instanceof A.SassNumber)return e.get$hasUnits()?t.multiplyUnits$3(t._number$_value*e._number$_value,e.get$numeratorUnits(e),e.get$denominatorUnits(e)):t.withValue$1(t._number$_value*e._number$_value);throw A.wrapException(A.SassScriptException$('Undefined operation "'+t.toString$0(0)+" * "+e.toString$0(0)+'".',null))},dividedBy$1(e){var t=this;return e instanceof A.SassNumber?e.get$hasUnits()?t.multiplyUnits$3(t._number$_value/e._number$_value,e.get$denominatorUnits(e),e.get$numeratorUnits(e)):t.withValue$1(t._number$_value/e._number$_value):t.super$Value$dividedBy(e)},unaryPlus$0(){return this},_coerceUnits$1$2(e,t){try{return t.call$2(this._number$_value,e.coerceValueToMatch$1(this))}catch(t){throw A.unwrapException(t)instanceof A.SassScriptException?(this.coerceValueToMatch$1(e),t):t}},_coerceUnits$2(e,t){return this._coerceUnits$1$2(e,t,D.dynamic)},multiplyUnits$3(e,t,r){var n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y,$,x,S,w,E,I,M,k,T,R=this,L=null,P={};if(P.value=e,i=(n=[R.get$numeratorUnits(R),R.get$denominatorUnits(R),t,r])[0],L,L,a=L,l=!1,c=L,u=!1,d=!1,h=n[1],(p=o=(s=n[2]).length<=0)&&(d=a=(c=n[3]).length<=0,l=!0,u=!0),m=h,_=!d,g=L,f=L,v=!1,d=!0,_?(p=g=i.length<=0)?((p=f=h.length<=0)?(u?m=c:(m=c=n[3],u=!0),b=s):(b=i,d=!1),v=!0):(b=i,d=!1):b=i,d?(y=m,p=b):p=y=L,d?(d=y,n=p,p=!0):(d=L,$=L,(_?g:g=i.length<=0)?(l?d=a:(u?d=c:(d=c=n[3],u=!0),d=a=d.length<=0),x=s,S=h):(x=d,d=false,S=$),d?n=!0:(d=!1,($=v?f:f=h.length<=0)&&o?(S=u?c:n[3],n=!0):n=d,x=i),n?((n=!R._areAnyConvertible$2(x,S))?(p=S,d=x):(d=p,p=y),w=p,p=n,n=d,d=w):(d=y,n=p,p=!1)),p)return A.SassNumber_SassNumber$withUnits(e,d,n);for(E=A._setArrayType([],D.JSArray_String),I=A._setArrayType(r.slice(0),A._arrayInstanceType(r)),d=(n=R.get$numeratorUnits(R)).length,M=0;M<d;++M)k=n[M],A.removeFirstWhere(I,new A.SassNumber_multiplyUnits_closure(P,k),new A.SassNumber_multiplyUnits_closure0(E,k));for(n=R.get$denominatorUnits(R),T=A._setArrayType(n.slice(0),A._arrayInstanceType(n)),n=t.length,M=0;M<n;++M)k=t[M],A.removeFirstWhere(T,new A.SassNumber_multiplyUnits_closure1(P,k),new A.SassNumber_multiplyUnits_closure2(E,k));return n=P.value,C.JSArray_methods.addAll$1(T,I),A.SassNumber_SassNumber$withUnits(n,T,E)},_areAnyConvertible$2:(e,t)=>C.JSArray_methods.any$1(e,new A.SassNumber__areAnyConvertible_closure(t)),_unitString$2(e,t){var r,n,i,o,s,a=null;return n=a,i=a,(r=e.length<=0)?(o=(o=n=t.length)<=0,i=t):o=!1,o?o="no units":(o=!!r&&1===(o=n))?o=(s=(r?i:t)[0])+"^-1":r?o="("+C.JSArray_methods.join$1(t,"*")+")^-1":(i=o=t,(o=(o=n=o.length)<=0)?o=C.JSArray_methods.join$1(e,"*"):(o=1===(o=n))?(s=i[0],o=C.JSArray_methods.join$1(e,"*")+"/"+s):o=C.JSArray_methods.join$1(e,"*")+"/("+C.JSArray_methods.join$1(t,"*")+")"),o},$eq(e,t){var r=this;return null!=t&&(t instanceof A.SassNumber&&(r.get$numeratorUnits(r).length===t.get$numeratorUnits(t).length&&r.get$denominatorUnits(r).length===t.get$denominatorUnits(t).length&&(r.get$hasUnits()?!(!C.C_ListEquality.equals$2(0,r._canonicalizeUnitList$1(r.get$numeratorUnits(r)),r._canonicalizeUnitList$1(t.get$numeratorUnits(t)))||!C.C_ListEquality.equals$2(0,r._canonicalizeUnitList$1(r.get$denominatorUnits(r)),r._canonicalizeUnitList$1(t.get$denominatorUnits(t))))&&A.fuzzyEquals(r._number$_value*r._canonicalMultiplier$1(r.get$numeratorUnits(r))/r._canonicalMultiplier$1(r.get$denominatorUnits(r)),t._number$_value*r._canonicalMultiplier$1(t.get$numeratorUnits(t))/r._canonicalMultiplier$1(t.get$denominatorUnits(t))):A.fuzzyEquals(r._number$_value,t._number$_value))))},get$hashCode(e){var t=this,r=t.hashCache;return null==r?t.hashCache=A.fuzzyHashCode(t._number$_value*t._canonicalMultiplier$1(t.get$numeratorUnits(t))/t._canonicalMultiplier$1(t.get$denominatorUnits(t))):r},_canonicalizeUnitList$1(e){var t,r=e.length;return 0===r?e:1===r?(null==(t=I.$get$_typesByUnit().$index(0,C.JSArray_methods.get$first(e)))?r=e:((r=C.Map_Sr65K.$index(0,t)).toString,r=A._setArrayType([C.JSArray_methods.get$first(r)],D.JSArray_String)),r):(r=A._arrayInstanceType(e)._eval$1("MappedListIterable<1,String>"),r=A.List_List$_of(new A.MappedListIterable(e,new A.SassNumber__canonicalizeUnitList_closure,r),r._eval$1("ListIterable.E")),C.JSArray_methods.sort$0(r),r)},_canonicalMultiplier$1(e){return C.JSArray_methods.fold$2(e,1,new A.SassNumber__canonicalMultiplier_closure(this))},canonicalMultiplierForUnit$1(e){var t,r=C.Map_NtHoP.$index(0,e);return t=null==r?1:1/(t=r.get$values(r)).get$first(t)},unitSuggestion$2(e,t){var r,n,i=this,o=i.get$denominatorUnits(i);return o=new A.MappedListIterable(o,new A.SassNumber_unitSuggestion_closure,A._arrayInstanceType(o)._eval$1("MappedListIterable<1,String>")).join$0(0),r=i.get$numeratorUnits(i),n="$"+e+o+(r=new A.MappedListIterable(r,new A.SassNumber_unitSuggestion_closure0,A._arrayInstanceType(r)._eval$1("MappedListIterable<1,String>")).join$0(0))+(null==t?"":" * 1"+t),0===i.get$numeratorUnits(i).length?n:"calc("+n+")"},unitSuggestion$1(e){return this.unitSuggestion$2(e,null)}},A.SassNumber__coerceOrConvertValue_compatibilityException.prototype={call$0(){var e,t,r,n,i,o,s=this,a=s.other;return null!=a?(t=(e=s.$this).toString$0(0)+" and",r=new A.StringBuffer(t),null!=(n=s.otherName)&&(t=r._contents=t+" $"+n+":"),a=t+" "+a.toString$0(0)+" have incompatible units",r._contents=a,e.get$hasUnits()&&s.otherHasUnits||(r._contents=a+" (one has units and the other doesn't)"),a=r.toString$0(0)+".",e=s.name,new A.SassScriptException(null==e?a:"$"+e+": "+a)):s.otherHasUnits?1===(a=s.newNumerators).length&&0===s.newDenominators.length&&null!=(i=I.$get$_typesByUnit().$index(0,C.JSArray_methods.get$first(a)))?(a=s.$this.toString$0(0),e=C.JSArray_methods.contains$1(A._setArrayType([97,101,105,111,117],D.JSArray_int),i.charCodeAt(0))?"an "+i:"a "+i,(t=C.Map_Sr65K.$index(0,i)).toString,t="Expected "+a+" to have "+e+" unit ("+C.JSArray_methods.join$1(t,", ")+").",e=s.name,new A.SassScriptException(null==e?t:"$"+e+": "+t)):(e=s.newDenominators,o=A.pluralize("unit",a.length+e.length,null),e="Expected "+(t=s.$this).toString$0(0)+" to have "+o+" "+t._unitString$2(a,e)+".",a=s.name,new A.SassScriptException(null==a?e:"$"+a+": "+e)):(a="Expected "+s.$this.toString$0(0)+" to have no units.",e=s.name,new A.SassScriptException(null==e?a:"$"+e+": "+a))},$signature:328},A.SassNumber__coerceOrConvertValue_closure.prototype={call$1(e){var t=A.conversionFactor(this.newNumerator,e);return null!=t&&(this._box_0.value*=t,!0)},$signature:4},A.SassNumber__coerceOrConvertValue_closure0.prototype={call$0(){return A.throwExpression(this.compatibilityException.call$0())},$signature:0},A.SassNumber__coerceOrConvertValue_closure1.prototype={call$1(e){var t=A.conversionFactor(this.newDenominator,e);return null!=t&&(this._box_0.value/=t,!0)},$signature:4},A.SassNumber__coerceOrConvertValue_closure2.prototype={call$0(){return A.throwExpression(this.compatibilityException.call$0())},$signature:0},A.SassNumber_plus_closure.prototype={call$2:(e,t)=>e+t,$signature:57},A.SassNumber_minus_closure.prototype={call$2:(e,t)=>e-t,$signature:57},A.SassNumber_multiplyUnits_closure.prototype={call$1(e){var t=A.conversionFactor(this.numerator,e);return null!=t&&(this._box_0.value/=t,!0)},$signature:4},A.SassNumber_multiplyUnits_closure0.prototype={call$0(){return this.newNumerators.push(this.numerator)},$signature:0},A.SassNumber_multiplyUnits_closure1.prototype={call$1(e){var t=A.conversionFactor(this.numerator,e);return null!=t&&(this._box_0.value/=t,!0)},$signature:4},A.SassNumber_multiplyUnits_closure2.prototype={call$0(){return this.newNumerators.push(this.numerator)},$signature:0},A.SassNumber__areAnyConvertible_closure.prototype={call$1(e){var t=C.Map_NtHoP.$index(0,e);return null==t?C.JSArray_methods.contains$1(this.units2,e):C.JSArray_methods.any$1(this.units2,t.get$containsKey())},$signature:4},A.SassNumber__canonicalizeUnitList_closure.prototype={call$1(e){var t,r=I.$get$_typesByUnit().$index(0,e);return null==r?t=e:((t=C.Map_Sr65K.$index(0,r)).toString,t=C.JSArray_methods.get$first(t)),t},$signature:6},A.SassNumber__canonicalMultiplier_closure.prototype={call$2(e,t){return e*this.$this.canonicalMultiplierForUnit$1(t)},$signature:165},A.SassNumber_unitSuggestion_closure.prototype={call$1:e=>" * 1"+e,$signature:6},A.SassNumber_unitSuggestion_closure0.prototype={call$1:e=>" / 1"+e,$signature:6},A.ComplexSassNumber.prototype={get$numeratorUnits(e){return this._numeratorUnits},get$denominatorUnits(e){return this._denominatorUnits},get$hasUnits:()=>!0,get$hasComplexUnits:()=>!0,hasUnit$1:e=>!1,compatibleWithUnit$1:e=>!1,hasPossiblyCompatibleUnits$1(e){throw A.wrapException(A.UnimplementedError$(P.Comple))},withValue$1(e){return new A.ComplexSassNumber(this._numeratorUnits,this._denominatorUnits,e,null)},withSlash$2(e,t){return new A.ComplexSassNumber(this._numeratorUnits,this._denominatorUnits,this._number$_value,new A._Record_2(e,t))}},A.SingleUnitSassNumber.prototype={get$numeratorUnits(e){return A.List_List$unmodifiable([this._unit],D.String)},get$denominatorUnits:e=>C.List_empty,get$hasUnits:()=>!0,get$hasComplexUnits:()=>!1,withValue$1(e){return new A.SingleUnitSassNumber(this._unit,e,null)},withSlash$2(e,t){return new A.SingleUnitSassNumber(this._unit,this._number$_value,new A._Record_2(e,t))},hasUnit$1(e){return e===this._unit},hasCompatibleUnits$1(e){return e instanceof A.SingleUnitSassNumber&&null!=A.conversionFactor(this._unit,e._unit)},hasPossiblyCompatibleUnits$1(e){var t,r,n;return e instanceof A.SingleUnitSassNumber&&(null==(r=(t=I.$get$_knownCompatibilitiesByUnit()).$index(0,this._unit.toLowerCase()))||(n=e._unit.toLowerCase(),r.contains$1(0,n)||!t.containsKey$1(n)))},compatibleWithUnit$1(e){return null!=A.conversionFactor(this._unit,e)},coerceToMatch$1(e){var t=e instanceof A.SingleUnitSassNumber?this._coerceToUnit$1(e._unit):null;return null==t?this.super$SassNumber$coerceToMatch(e,null,null):t},coerceValueToMatch$3(e,t,r){var n=e instanceof A.SingleUnitSassNumber?this._coerceValueToUnit$1(e._unit):null;return null==n?this.super$SassNumber$coerceValueToMatch(e,t,r):n},coerceValueToMatch$1(e){return this.coerceValueToMatch$3(e,null,null)},convertValueToMatch$3(e,t,r){var n=e instanceof A.SingleUnitSassNumber?this._coerceValueToUnit$1(e._unit):null;return null==n?this.super$SassNumber$convertValueToMatch(e,t,r):n},convertValueToMatch$1(e){return this.convertValueToMatch$3(e,null,null)},coerce$2(e,t){var r=1===e.length&&0===t.length?this._coerceToUnit$1(e[0]):null;return null==r?this.super$SassNumber$coerce(e,t,null):r},coerceValue$3(e,t,r){var n=1===e.length&&0===t.length?this._coerceValueToUnit$1(e[0]):null;return null==n?this.super$SassNumber$coerceValue(e,t,r):n},coerceValueToUnit$2(e,t){var r=this._coerceValueToUnit$1(e);return null==r?this.super$SassNumber$coerceValueToUnit(e,t):r},coerceValueToUnit$1(e){return this.coerceValueToUnit$2(e,null)},_coerceToUnit$1(e){var t=this._unit;return t===e?this:A.NullableExtension_andThen(A.conversionFactor(e,t),new A.SingleUnitSassNumber__coerceToUnit_closure(this,e))},_coerceValueToUnit$1(e){return A.NullableExtension_andThen(A.conversionFactor(e,this._unit),new A.SingleUnitSassNumber__coerceValueToUnit_closure(this))},multiplyUnits$3(e,t,r){var n,i={};return i.value=e,i.newNumerators=t,n=A._setArrayType(r.slice(0),A._arrayInstanceType(r)),A.removeFirstWhere(n,new A.SingleUnitSassNumber_multiplyUnits_closure(i,this),new A.SingleUnitSassNumber_multiplyUnits_closure0(i,this)),A.SassNumber_SassNumber$withUnits(i.value,n,i.newNumerators)},unaryMinus$0(){return new A.SingleUnitSassNumber(this._unit,-this._number$_value,null)},$eq(e,t){var r;return null!=t&&(t instanceof A.SingleUnitSassNumber&&(null!=(r=A.conversionFactor(t._unit,this._unit))&&A.fuzzyEquals(this._number$_value*r,t._number$_value)))},get$hashCode(e){var t=this,r=t.hashCache;return null==r?t.hashCache=A.fuzzyHashCode(t._number$_value*t.canonicalMultiplierForUnit$1(t._unit)):r}},A.SingleUnitSassNumber__coerceToUnit_closure.prototype={call$1(e){return new A.SingleUnitSassNumber(this.unit,this.$this._number$_value*e,null)},$signature:336},A.SingleUnitSassNumber__coerceValueToUnit_closure.prototype={call$1(e){return this.$this._number$_value*e},$signature:12},A.SingleUnitSassNumber_multiplyUnits_closure.prototype={call$1(e){var t=A.conversionFactor(e,this.$this._unit);return null!=t&&(this._box_0.value*=t,!0)},$signature:4},A.SingleUnitSassNumber_multiplyUnits_closure0.prototype={call$0(){var e=A._setArrayType([this.$this._unit],D.JSArray_String),t=this._box_0;C.JSArray_methods.addAll$1(e,t.newNumerators),t.newNumerators=e},$signature:0},A.UnitlessSassNumber.prototype={get$numeratorUnits:e=>C.List_empty,get$denominatorUnits:e=>C.List_empty,get$hasUnits:()=>!1,get$hasComplexUnits:()=>!1,withValue$1:e=>new A.UnitlessSassNumber(e,null),withSlash$2(e,t){return new A.UnitlessSassNumber(this._number$_value,new A._Record_2(e,t))},hasUnit$1:e=>!1,hasCompatibleUnits$1:e=>e instanceof A.UnitlessSassNumber,hasPossiblyCompatibleUnits$1:e=>e instanceof A.UnitlessSassNumber,compatibleWithUnit$1:e=>!0,coerceToMatch$1(e){return e.withValue$1(this._number$_value)},coerceValueToMatch$3(e,t,r){return this._number$_value},coerceValueToMatch$1(e){return this.coerceValueToMatch$3(e,null,null)},convertValueToMatch$3(e,t,r){return e.get$hasUnits()?this.super$SassNumber$convertValueToMatch(e,t,r):this._number$_value},convertValueToMatch$1(e){return this.convertValueToMatch$3(e,null,null)},coerce$2(e,t){return A.SassNumber_SassNumber$withUnits(this._number$_value,t,e)},coerceValue$3(e,t,r){return this._number$_value},coerceValueToUnit$2(e,t){return this._number$_value},coerceValueToUnit$1(e){return this.coerceValueToUnit$2(e,null)},greaterThan$1(e){var t,r;return e instanceof A.SassNumber?(t=this._number$_value)>(r=e._number$_value)&&!A.fuzzyEquals(t,r)?C.SassBoolean_true:C.SassBoolean_false:this.super$SassNumber$greaterThan(e)},greaterThanOrEquals$1(e){var t,r;return e instanceof A.SassNumber?(t=this._number$_value)>(r=e._number$_value)||A.fuzzyEquals(t,r)?C.SassBoolean_true:C.SassBoolean_false:this.super$SassNumber$greaterThanOrEquals(e)},lessThan$1(e){var t,r;return e instanceof A.SassNumber?(t=this._number$_value)<(r=e._number$_value)&&!A.fuzzyEquals(t,r)?C.SassBoolean_true:C.SassBoolean_false:this.super$SassNumber$lessThan(e)},lessThanOrEquals$1(e){var t,r;return e instanceof A.SassNumber?(t=this._number$_value)<(r=e._number$_value)||A.fuzzyEquals(t,r)?C.SassBoolean_true:C.SassBoolean_false:this.super$SassNumber$lessThanOrEquals(e)},modulo$1(e){return e instanceof A.SassNumber?e.withValue$1(A.moduloLikeSass(this._number$_value,e._number$_value)):this.super$SassNumber$modulo(e)},plus$1(e){return e instanceof A.SassNumber?e.withValue$1(this._number$_value+e._number$_value):this.super$SassNumber$plus(e)},minus$1(e){return e instanceof A.SassNumber?e.withValue$1(this._number$_value-e._number$_value):this.super$SassNumber$minus(e)},times$1(e){return e instanceof A.SassNumber?e.withValue$1(this._number$_value*e._number$_value):this.super$SassNumber$times(e)},dividedBy$1(e){var t,r;return e instanceof A.SassNumber?(t=this._number$_value/e._number$_value,e.get$hasUnits()?(r=e.get$denominatorUnits(e),t=r=A.SassNumber_SassNumber$withUnits(t,e.get$numeratorUnits(e),r)):t=new A.UnitlessSassNumber(t,null),t):this.super$SassNumber$dividedBy(e)},unaryMinus$0(){return new A.UnitlessSassNumber(-this._number$_value,null)},$eq(e,t){return null!=t&&(t instanceof A.UnitlessSassNumber&&A.fuzzyEquals(this._number$_value,t._number$_value))},get$hashCode(e){var t=this.hashCache;return null==t?this.hashCache=A.fuzzyHashCode(this._number$_value):t}},A.SassString.prototype={get$_sassLength(){var e,t=this,r=t.__SassString__sassLength_FI;return r===I&&(e=new A.Runes(t._string$_text).get$length(0),t.__SassString__sassLength_FI!==I&&A.throwUnnamedLateFieldADI(),t.__SassString__sassLength_FI=e,r=e),r},get$isSpecialNumber(){var e,t,r,n,i;return!this._hasQuotes&&(!((e=this._string$_text).length<6)&&(r=!1,97!==(t=e.charCodeAt(0))&&65!==t?99!==t&&67!==t?118!==t&&86!==t?101!==t&&69!==t?109!==t&&77!==t?e=105!==t&&73!==t?r:102==(32|e.charCodeAt(1))&&40===e.charCodeAt(2):(i=e.charCodeAt(1),e=97!==i&&65!==i?105!==i&&73!==i?r:110==(32|e.charCodeAt(2))&&40===e.charCodeAt(3):120==(32|e.charCodeAt(2))&&40===e.charCodeAt(3)):e=110==(32|e.charCodeAt(1))&&118==(32|e.charCodeAt(2))&&40===e.charCodeAt(3):e=97==(32|e.charCodeAt(1))&&114==(32|e.charCodeAt(2))&&40===e.charCodeAt(3):(n=e.charCodeAt(1),e=108!==n&&76!==n?97!==n&&65!==n?r:108==(32|e.charCodeAt(2))&&99==(32|e.charCodeAt(3))&&40===e.charCodeAt(4):97==(32|e.charCodeAt(2))&&109==(32|e.charCodeAt(3))&&112==(32|e.charCodeAt(4))&&40===e.charCodeAt(5)):e=116==(32|e.charCodeAt(1))&&116==(32|e.charCodeAt(2))&&114==(32|e.charCodeAt(3))&&40===e.charCodeAt(4),e))},get$isSpecialVariable(){var e,t;return!this._hasQuotes&&(!((e=this._string$_text).length<6)&&(t=e.charCodeAt(0),e=97!==t&&65!==t?105!==t&&73!==t?(118===t||86===t)&&(97==(32|e.charCodeAt(1))&&114==(32|e.charCodeAt(2))&&40===e.charCodeAt(3)):102==(32|e.charCodeAt(1))&&40===e.charCodeAt(2):116==(32|e.charCodeAt(1))&&116==(32|e.charCodeAt(2))&&114==(32|e.charCodeAt(3))&&40===e.charCodeAt(4)))},get$isBlank(){return!this._hasQuotes&&0===this._string$_text.length},assertQuoted$1(e){if(!this._hasQuotes)throw A.wrapException(A.SassScriptException$("Expected "+this.toString$0(0)+" to be a quoted string.",e))},assertUnquoted$1(e){if(this._hasQuotes)throw A.wrapException(A.SassScriptException$("Expected "+this.toString$0(0)+" to be an unquoted string.",e))},assertUnquoted$0(){return this.assertUnquoted$1(null)},accept$1$1(e){var t=e._quote&&this._hasQuotes,r=this._string$_text;return t?e._visitQuotedString$1(r):e._visitUnquotedString$1(r),null},accept$1(e){return this.accept$1$1(e,D.dynamic)},assertString$1(e){return this},plus$1(e){var t=this._string$_text,r=this._hasQuotes;return e instanceof A.SassString?new A.SassString(t+e._string$_text,r):new A.SassString(t+A.serializeValue(e,!1,!0),r)},$eq(e,t){return null!=t&&(t instanceof A.SassString&&this._string$_text===t._string$_text)},get$hashCode(e){var t=this._hashCache;return null==t?this._hashCache=C.JSString_methods.get$hashCode(this._string$_text):t}},A.AnySelectorVisitor.prototype={visitComplexSelector$1(e){return C.JSArray_methods.any$1(e.components,new A.AnySelectorVisitor_visitComplexSelector_closure(this))},visitCompoundSelector$1(e){return C.JSArray_methods.any$1(e.components,new A.AnySelectorVisitor_visitCompoundSelector_closure(this))},visitPseudoSelector$1(e,t){var r=t.selector;return null!=r&&this.visitSelectorList$1(r)},visitSelectorList$1(e){return C.JSArray_methods.any$1(e.components,this.get$visitComplexSelector())},visitAttributeSelector$1:(e,t)=>!1,visitClassSelector$1:(e,t)=>!1,visitIDSelector$1:(e,t)=>!1,visitParentSelector$1:(e,t)=>!1,visitPlaceholderSelector$1:(e,t)=>!1,visitTypeSelector$1:(e,t)=>!1,visitUniversalSelector$1:(e,t)=>!1},A.AnySelectorVisitor_visitComplexSelector_closure.prototype={call$1(e){return this.$this.visitCompoundSelector$1(e.selector)},$signature:54},A.AnySelectorVisitor_visitCompoundSelector_closure.prototype={call$1(e){return e.accept$1(this.$this)},$signature:14},A._EvaluateVisitor0.prototype={get$_async_evaluate$_hasCssNesting(){for(var e,t,r,n=this._async_evaluate$_atRootExcludingStyleRule?null:this._async_evaluate$_styleRuleIgnoringAtRoot;;n=r){if((e=null==n?null:n._parent)instanceof A.ModifiableCssStyleRule)return!0;if(r=(t=null!=e)?e:null,!t)return!1}},_EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap0(e,t,r,n,i,o){var s,a,l,c,u,d,h,p=this,m="$name, $module: null",_="sass:meta",g="$module",f=D.JSArray_AsyncBuiltInCallable,v=A._setArrayType([A.BuiltInCallable$function("global-variable-exists",m,new A._EvaluateVisitor_closure12(p),_),A.BuiltInCallable$function("variable-exists","$name",new A._EvaluateVisitor_closure13(p),_),A.BuiltInCallable$function("function-exists",m,new A._EvaluateVisitor_closure14(p),_),A.BuiltInCallable$function("mixin-exists",m,new A._EvaluateVisitor_closure15(p),_),A.BuiltInCallable$function("content-exists","",new A._EvaluateVisitor_closure16(p),_),A.BuiltInCallable$function("module-variables",g,new A._EvaluateVisitor_closure17(p),_),A.BuiltInCallable$function("module-functions",g,new A._EvaluateVisitor_closure18(p),_),A.BuiltInCallable$function("module-mixins",g,new A._EvaluateVisitor_closure19(p),_),A.BuiltInCallable$function("get-function","$name, $css: false, $module: null",new A._EvaluateVisitor_closure20(p),_),A.BuiltInCallable$function("get-mixin",m,new A._EvaluateVisitor_closure21(p),_),new A.AsyncBuiltInCallable("call",A.ScssParser$("@function call($function, $args...) {",!1,_).parseParameterList$0(),new A._EvaluateVisitor_closure22(p),!1)],f),b=A._setArrayType([A.AsyncBuiltInCallable$mixin("load-css","$url, $with: null",new A._EvaluateVisitor_closure23(p),!1,_),A.AsyncBuiltInCallable$mixin("apply","$mixin, $args...",new A._EvaluateVisitor_closure24(p),!0,_)],f);for(f=D.AsyncBuiltInCallable,s=A.List_List$_of(I.$get$moduleFunctions(),f),C.JSArray_methods.addAll$1(s,v),a=A.BuiltInModule$("meta",s,b,null,f),(f=A.List_List$_of(I.$get$coreModules(),D.BuiltInModule_AsyncCallable)).push(a),s=f.length,l=p._async_evaluate$_builtInModules,c=0;c<f.length;f.length===s||(0,A.throwConcurrentModificationError)(f),++c)u=f[c],l.$indexSet(0,u.url,u);for(f=D.JSArray_AsyncCallable,s=A._setArrayType([],f),C.JSArray_methods.addAll$1(s,I.$get$globalFunctions()),f=A._setArrayType([],f),c=0;c<11;++c)f.push(v[c].withDeprecationWarning$1("meta"));for(C.JSArray_methods.addAll$1(s,f),f=s.length,l=p._async_evaluate$_builtInFunctions,c=0;c<s.length;s.length===f||(0,A.throwConcurrentModificationError)(s),++c)h=(d=s[c]).get$name(d),l.$indexSet(0,A.stringReplaceAllUnchecked(h,"_","-"),d)},run$2(e,t,r){return this.run$body$_EvaluateVisitor(0,t,r)},run$body$_EvaluateVisitor(e,t,r){var n,i,o,s,a,l=0,c=A._makeAsyncAwaitCompleter(D.Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet),u=2,d=[],h=this,p=A._wrapJsFunctionForAsync(function(e,m){for(1===e&&(d.push(m),l=u);;)switch(l){case 0:return u=4,s=D.nullable_Object,s=A.runZoned(new A._EvaluateVisitor_run_closure0(h,r,t),A.LinkedHashMap_LinkedHashMap$_literal([C.Symbol__evaluationContext,new A._EvaluationContext0(h,r)],s,s),D.FutureOr_Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet),l=7,A._asyncAwait(D.Future_Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet._is(s)?s:A._Future$value(s,D.Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet),p);case 7:n=s=m,l=1;break;case 4:if(u=3,a=d.pop(),!((s=A.unwrapException(a))instanceof A.SassException))throw a;i=s,o=A.getTraceFromException(a),A.throwWithTrace(i.withLoadedUrls$1(h._async_evaluate$_loadedUrls),i,o),l=6;break;case 3:l=2;break;case 6:case 1:return A._asyncReturn(n,c);case 2:return A._asyncRethrow(d.at(-1),c)}});return A._asyncStartSync(p,c)},_async_evaluate$_assertInModule$1$2(e,t){if(null!=e)return e;throw A.wrapException(A.StateError$("Can't access "+t+" outside of a module."))},_async_evaluate$_assertInModule$2(e,t){return this._async_evaluate$_assertInModule$1$2(e,t,D.dynamic)},_async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(e,t,r,n,i,o,s){return this._loadModule$body$_EvaluateVisitor(e,t,r,n,i,o,s)},_async_evaluate$_loadModule$5$configuration(e,t,r,n,i){return this._async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(e,t,r,n,null,i,!1)},_async_evaluate$_loadModule$4(e,t,r,n){return this._async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(e,t,r,n,null,null,!1)},_loadModule$body$_EvaluateVisitor(e,t,r,n,i,o,s){var a,l,c,u=0,d=A._makeAsyncAwaitCompleter(D.void),h=this,p=A._wrapJsFunctionForAsync(function(m,_){if(1===m)return A._asyncRethrow(_,d);for(;;)switch(u){case 0:l=h._async_evaluate$_builtInModules.$index(0,e),(c={}).builtInModule=null,u=null!=l?3:4;break;case 3:if(c.builtInModule=l,o instanceof A.ExplicitConfiguration)throw c=s?"Built-in module "+e.toString$0(0)+" can't be configured.":"Built-in modules can't be configured.",a=o.nodeWithSpan,A.wrapException(h._async_evaluate$_exception$2(c,a.get$span(a)));return u=5,A._asyncAwait(h._addExceptionSpanAsync$1$2(r,new A._EvaluateVisitor__loadModule_closure1(c,n),D.void),p);case 5:u=1;break;case 4:return u=6,A._asyncAwait(h._async_evaluate$_withStackFrame$1$3(t,r,new A._EvaluateVisitor__loadModule_closure2(h,e,r,i,s,o,n),D.Null),p);case 6:case 1:return A._asyncReturn(undefined,d)}});return A._asyncStartSync(p,d)},_async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(e,t,r,n,i){return this._execute$body$_EvaluateVisitor(e,t,r,n,i)},_async_evaluate$_execute$2(e,t){return this._async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(e,t,null,!1,null)},_execute$body$_EvaluateVisitor(e,t,r,n,i){var o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y=0,$=A._makeAsyncAwaitCompleter(D.Module_AsyncCallable),x=this,S=A._wrapJsFunctionForAsync(function(w,E){if(1===w)return A._asyncRethrow(E,$);for(;;)switch(y){case 0:if(v=t.span,b=v.get$sourceUrl(v),s=(v=null==r)?x._async_evaluate$_configuration:r,a=x._async_evaluate$_modules,null!=(l=a.$index(0,b))){if(a=x._async_evaluate$_moduleConfigurations.$index(0,b),c=a.__originalConfiguration,a=null==c?a:c,c=s.__originalConfiguration,a!==(null==c?s:c)&&s instanceof A.ExplicitConfiguration&&l.couldHaveBeenConfigured$1(new A.MapKeySet(new A.UnmodifiableMapView(s._configuration$_values,D.UnmodifiableMapView_String_ConfiguredValue),D.MapKeySet_String)))throw n?(a=I.$get$context(),b.toString,u=a.prettyUri$1(b)+P.x20was_a):u=P.This_mw,a=x._async_evaluate$_moduleNodes.$index(0,b),d=null==a?null:a.get$span(a),v?(v=s.nodeWithSpan,h=v.get$span(v)):h=null,v=A.LinkedHashMap_LinkedHashMap$_empty(D.FileSpan,D.String),null!=d&&v.$indexSet(0,d,"original load"),null!=h&&v.$indexSet(0,h,"configuration"),A.wrapException(v.get$isEmpty(0)?x._async_evaluate$_exception$1(u):x._async_evaluate$_multiSpanException$3(u,"new load",v));o=l,y=1;break}return p=A.AsyncEnvironment$(),m=A._Cell$(),_=A._Cell$(),g=A.ExtensionStore$(),y=3,A._asyncAwait(x._async_evaluate$_withEnvironment$1$2(p,new A._EvaluateVisitor__execute_closure0(x,e,t,g,r,m,_),D.Null),S);case 3:v=m._readLocal$0(),c=_._readLocal$0(),f=p.toModule$3(v,null==c?C.Map_empty7:c,g),null!=b&&(a.$indexSet(0,b,f),x._async_evaluate$_moduleConfigurations.$indexSet(0,b,s),null!=i&&x._async_evaluate$_moduleNodes.$indexSet(0,b,i)),o=f,y=1;break;case 1:return A._asyncReturn(o,$)}});return A._asyncStartSync(S,$)},_async_evaluate$_addOutOfOrderImports$0(){var e,t,r=this,n="_root",i="_endOfImports",o=r._async_evaluate$_outOfOrderImports;return null!=o?(e=r._async_evaluate$_assertInModule$2(r._async_evaluate$__root,n).children,e=A.List_List$_of(A.SubListIterable$(e,0,A.checkNotNullable(r._async_evaluate$_assertInModule$2(r._async_evaluate$__endOfImports,i),"count",D.int),e.$ti._eval$1("ListBase.E")),D.ModifiableCssNode),C.JSArray_methods.addAll$1(e,o),t=r._async_evaluate$_assertInModule$2(r._async_evaluate$__root,n).children,C.JSArray_methods.addAll$1(e,A.SubListIterable$(t,r._async_evaluate$_assertInModule$2(r._async_evaluate$__endOfImports,i),null,t.$ti._eval$1("ListBase.E")))):e=r._async_evaluate$_assertInModule$2(r._async_evaluate$__root,n).children,e},_async_evaluate$_combineCss$2$clone(e,t){var r,n,i,o,s,a,l;return C.JSArray_methods.any$1(e.get$upstream(),new A._EvaluateVisitor__combineCss_closure1)?(i=D.JSArray_CssNode,o=A._setArrayType([],i),s=A._setArrayType([],i),i=D.Module_AsyncCallable,a=A.ListQueue$(i),new A._EvaluateVisitor__combineCss_visitModule0(this,A.LinkedHashSet_LinkedHashSet$_empty(i),t,s,o,a).call$1(e),e.get$transitivelyContainsExtensions()&&this._async_evaluate$_extendModules$1(a),i=C.JSArray_methods.$add(o,s),l=e.get$css(e),new A.CssStylesheet(new A.UnmodifiableListView(i,D.UnmodifiableListView_CssNode),l.get$span(l))):(r=e.get$extensionStore().get$simpleSelectors(),null!=(n=A.IterableExtension_get_firstOrNull(e.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure2(r))))&&this._async_evaluate$_throwForUnsatisfiedExtension$1(n),e.get$css(e))},_async_evaluate$_combineCss$1(e){return this._async_evaluate$_combineCss$2$clone(e,!1)},_async_evaluate$_extendModules$1(e){var t,r,n,i,o,s,a,l,c,u,d=A.LinkedHashMap_LinkedHashMap$_empty(D.Uri,D.List_ExtensionStore),h=new A._LinkedIdentityHashSet(D._LinkedIdentityHashSet_Extension);for(r=(t=A._ListQueueIterator$(e,e.$ti._precomputed1)).$ti._precomputed1;t.moveNext$0();)if(null==(n=t._collection$_current)&&(n=r._as(n)),i=n.get$extensionStore().get$simpleSelectors().toSet$0(0),h.addAll$1(0,n.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure1(i))),o=d.$index(0,n.get$url(n)),s=n.get$extensionStore().get$addExtensions(),null!=o&&s.call$1(o),!(s=n.get$extensionStore()).get$isEmpty(s)){for(a=(s=n.get$upstream()).length,l=0;l<s.length;s.length===a||(0,A.throwConcurrentModificationError)(s),++l)null!=(u=(c=s[l]).get$url(c))&&w.add$1$ax(d.putIfAbsent$2(u,new A._EvaluateVisitor__extendModules_closure2),n.get$extensionStore());h.removeAll$1(n.get$extensionStore().extensionsWhereTarget$1(i.get$contains(i)))}0!==h._collection$_length&&this._async_evaluate$_throwForUnsatisfiedExtension$1(h.get$first(0))},_async_evaluate$_throwForUnsatisfiedExtension$1(e){throw A.wrapException(A.SassException$(P.The_ta+e.target.toString$0(0)+' !optional" to avoid this error.',e.span,null))},_async_evaluate$_indexAfterImports$1(e){var t,r,n,i;for(t=w.getInterceptor$asx(e),r=-1,n=0;n<t.get$length(e);++n){if(!((i=t.$index(e,n))instanceof A.ModifiableCssImport)){if(i instanceof A.ModifiableCssComment)continue;break}r=n}return r+1},visitStylesheet$1(e,t){return this.visitStylesheet$body$_EvaluateVisitor(0,t)},visitStylesheet$body$_EvaluateVisitor(e,t){var r,n,i,o,s,a,l,c=0,u=A._makeAsyncAwaitCompleter(D.nullable_Value),d=this,h=A._wrapJsFunctionForAsync(function(e,p){if(1===e)return A._asyncRethrow(p,u);for(;;)switch(c){case 0:for(n=t.parseTimeWarnings,i=n.$ti,n=new A.ListIterator(n,n.get$length(0),i._eval$1("ListIterator<ListBase.E>")),i=i._eval$1("ListBase.E");n.moveNext$0();)null==(o=n.__internal$_current)&&(o=i._as(o)),d._async_evaluate$_warn$3(o._1,o._2,o._0);n=t.children,i=n.length,s=0;case 3:if(!(s<i)){c=5;break}return c=6,A._asyncAwait(n[s].accept$1(d),h);case 6:case 4:++s,c=3;break;case 5:for(n=(n=A.MapExtensions_get_pairs(t.globalVariables,D.String,D.FileSpan)).get$iterator(n);n.moveNext$0();)i=n.get$current(n),a=i._0,l=i._1,d.visitVariableDeclaration$1(0,new A.VariableDeclaration(null,a,new A.NullExpression(l),!0,!1,l));r=null,c=1;break;case 1:return A._asyncReturn(r,u)}});return A._asyncStartSync(h,u)},visitAtRootRule$1(e,t){return this.visitAtRootRule$body$_EvaluateVisitor(0,t)},visitAtRootRule$body$_EvaluateVisitor(e,t){var r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v=0,b=A._makeAsyncAwaitCompleter(D.nullable_Value),y=this,$=A._wrapJsFunctionForAsync(function(e,x){if(1===e)return A._asyncRethrow(x,b);for(;;)switch(v){case 0:f=t.query,v=null!=f?3:5;break;case 3:return v=6,A._asyncAwait(y._async_evaluate$_performInterpolationWithMap$2$warnForColor(f,!0),$);case 6:i=(n=x)._0,n._1,o=new A.AtRootQueryParser(A.SpanScanner$(i,null),null).parse$0(0),v=4;break;case 5:o=C.AtRootQuery_bfj;case 4:for(s=y._async_evaluate$_assertInModule$2(y._async_evaluate$__parent,"__parent"),a=A._setArrayType([],D.JSArray_ModifiableCssParentNode),l=D.CssStylesheet;!l._is(s);s=c)if(o.excludes$1(s)||a.push(s),null==(c=s._parent))throw A.wrapException(A.StateError$(P.CssNod));u=y._async_evaluate$_trimIncluded$1(a),v=u===y._async_evaluate$_assertInModule$2(y._async_evaluate$__parent,"__parent")?7:8;break;case 7:return v=9,A._asyncAwait(y._async_evaluate$_environment.scope$1$2$when(new A._EvaluateVisitor_visitAtRootRule_closure1(y,t),t.hasDeclarations,D.Null),$);case 9:r=null,v=1;break;case 8:if(a.length>=1){for(d=a[0],h=C.JSArray_methods.sublist$1(a,1),p=d.copyWithoutChildren$0(),l=h.length,m=p,_=0;_<h.length;h.length===l||(0,A.throwConcurrentModificationError)(h),++_,m=g)(g=h[_].copyWithoutChildren$0()).addChild$1(m);u.addChild$1(m)}else p=u;return v=10,A._asyncAwait(y._async_evaluate$_scopeForAtRoot$4(t,p,o,a).call$1(new A._EvaluateVisitor_visitAtRootRule_closure2(y,t)),$);case 10:r=null,v=1;break;case 1:return A._asyncReturn(r,b)}});return A._asyncStartSync($,b)},_async_evaluate$_trimIncluded$1(e){var t,r,n,i,o,s,a,l,c=this,u=null,d="_root",h=" to be an ancestor of ";if(0===e.length)return c._async_evaluate$_assertInModule$2(c._async_evaluate$__root,d);for(t=c._async_evaluate$_assertInModule$2(c._async_evaluate$__parent,"__parent"),r=e.length,n=u,i=0;i<r;++i,t=a){for(;t!==(o=e[i]);n=u,t=s)if(null==(s=t._parent))throw A.wrapException(A.ArgumentError$("Expected "+o.toString$0(0)+h+c.toString$0(0)+".",u));if(null==n&&(n=i),null==(a=t._parent))throw A.wrapException(A.ArgumentError$("Expected "+o.toString$0(0)+h+c.toString$0(0)+".",u))}return t!==c._async_evaluate$_assertInModule$2(c._async_evaluate$__root,d)?c._async_evaluate$_assertInModule$2(c._async_evaluate$__root,d):(n.toString,l=e[n],C.JSArray_methods.removeRange$2(e,n,e.length),l)},_async_evaluate$_scopeForAtRoot$4(e,t,r,n){var i=this,o=new A._EvaluateVisitor__scopeForAtRoot_closure5(i,t,e);return(r._all||r._at_root_query$_rule)!==r.include&&(o=new A._EvaluateVisitor__scopeForAtRoot_closure6(i,o)),null!=i._async_evaluate$_mediaQueries&&r.excludesName$1("media")&&(o=new A._EvaluateVisitor__scopeForAtRoot_closure7(i,o)),i._async_evaluate$_inKeyframes&&r.excludesName$1("keyframes")&&(o=new A._EvaluateVisitor__scopeForAtRoot_closure8(i,o)),i._async_evaluate$_inUnknownAtRule&&!C.JSArray_methods.any$1(n,new A._EvaluateVisitor__scopeForAtRoot_closure9)?new A._EvaluateVisitor__scopeForAtRoot_closure10(i,o):o},visitContentBlock$1:(e,t)=>A.throwExpression(A.UnsupportedError$(P.Evalua)),visitContentRule$1(e,t){return this.visitContentRule$body$_EvaluateVisitor(0,t)},visitContentRule$body$_EvaluateVisitor(e,t){var r,n,i=0,o=A._makeAsyncAwaitCompleter(D.nullable_Value),s=this,a=A._wrapJsFunctionForAsync(function(e,l){if(1===e)return A._asyncRethrow(l,o);for(;;)switch(i){case 0:if(null==(n=s._async_evaluate$_environment._async_environment$_content)){r=null,i=1;break}return i=3,A._asyncAwait(s._async_evaluate$_runUserDefinedCallable$1$4(t.$arguments,n,t,new A._EvaluateVisitor_visitContentRule_closure0(s,n),D.Null),a);case 3:r=null,i=1;break;case 1:return A._asyncReturn(r,o)}});return A._asyncStartSync(a,o)},visitDebugRule$1(e,t){return this.visitDebugRule$body$_EvaluateVisitor(0,t)},visitDebugRule$body$_EvaluateVisitor(e,t){var r,n,i,o=0,s=A._makeAsyncAwaitCompleter(D.nullable_Value),a=this,l=A._wrapJsFunctionForAsync(function(e,c){if(1===e)return A._asyncRethrow(c,s);for(;;)switch(o){case 0:return o=3,A._asyncAwait(t.expression.accept$1(a),l);case 3:i=(n=c)instanceof A.SassString?n._string$_text:A.serializeValue(n,!0,!0),a._async_evaluate$_logger.debug$2(0,i,t.span),r=null,o=1;break;case 1:return A._asyncReturn(r,s)}});return A._asyncStartSync(l,s)},visitDeclaration$1(e,t){return this.visitDeclaration$body$_EvaluateVisitor(0,t)},visitDeclaration$body$_EvaluateVisitor(e,t){var r,n,i,o,s,a,l,c,u,d,h=0,p=A._makeAsyncAwaitCompleter(D.nullable_Value),m=this,_=A._wrapJsFunctionForAsync(function(e,g){if(1===e)return A._asyncRethrow(g,p);for(;;)switch(h){case 0:if(null==(m._async_evaluate$_atRootExcludingStyleRule?null:m._async_evaluate$_styleRuleIgnoringAtRoot)&&!m._async_evaluate$_inUnknownAtRule&&!m._async_evaluate$_inKeyframes)throw A.wrapException(m._async_evaluate$_exception$2(P.Declarm,t.span));if(null!=m._async_evaluate$_declarationName&&!t.parsedAsSassScript)throw n=C.JSString_methods.startsWith$1(t.name.get$initialPlain(),"--")?P.Declarw:P.Declarp,A.wrapException(m._async_evaluate$_exception$2(n,t.span));return h=3,A._asyncAwait(m._async_evaluate$_interpolationToValue$2$warnForColor(t.name,!0),_);case 3:i=g,null!=(o=m._async_evaluate$_declarationName)&&(i=new A.CssValue(o+"-"+i.value,i.span,D.CssValue_String)),s=t.value,h=null!=s?4:5;break;case 4:return h=6,A._asyncAwait(s.accept$1(m),_);case 6:(a=g).get$isBlank()&&0!==a.get$asList().length&&!C.JSString_methods.startsWith$1(i.value,"--")||(m._async_evaluate$_copyParentAfterSibling$0(),n=m._async_evaluate$_assertInModule$2(m._async_evaluate$__parent,"__parent"),l=s.get$span(s),c=m._async_evaluate$_sourceMap?null==(c=A.NullableExtension_andThen(s,m.get$_async_evaluate$_expressionNode()))?null:w.get$span$x(c):null,n.addChild$1(A.ModifiableCssDeclaration$(i,new A.CssValue(a,l,D.CssValue_Value),t.span,t.parsedAsSassScript,c)));case 5:u=t.children,(n={}).children=null,h=null!=u?7:8;break;case 7:return n.children=u,d=m._async_evaluate$_declarationName,m._async_evaluate$_declarationName=i.value,h=9,A._asyncAwait(m._async_evaluate$_environment.scope$1$2$when(new A._EvaluateVisitor_visitDeclaration_closure0(n,m),t.hasDeclarations,D.Null),_);case 9:m._async_evaluate$_declarationName=d;case 8:r=null,h=1;break;case 1:return A._asyncReturn(r,p)}});return A._asyncStartSync(_,p)},visitEachRule$1(e,t){return this.visitEachRule$body$_EvaluateVisitor(0,t)},visitEachRule$body$_EvaluateVisitor(e,t){var r,n,i,o,s,a=0,l=A._makeAsyncAwaitCompleter(D.nullable_Value),c=this,u=A._wrapJsFunctionForAsync(function(e,d){if(1===e)return A._asyncRethrow(d,l);for(;;)switch(a){case 0:return n=t.list,a=3,A._asyncAwait(n.accept$1(c),u);case 3:i=d,o=c._async_evaluate$_expressionNode$1(n),s=t.variables,(n={}).variable=null,1!==s.length?((n={}).variables=null,n.variables=s,n=new A._EvaluateVisitor_visitEachRule_closure3(n,c,o)):(n.variable=s[0],n=new A._EvaluateVisitor_visitEachRule_closure2(n,c,o)),r=c._async_evaluate$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitEachRule_closure4(c,i,n,t),!0,D.nullable_Value),a=1;break;case 1:return A._asyncReturn(r,l)}});return A._asyncStartSync(u,l)},_async_evaluate$_setMultipleVariables$3(e,t,r){var n,i=t.get$asList(),o=e.length,s=Math.min(o,i.length);for(n=0;n<s;++n)this._async_evaluate$_environment.setLocalVariable$3(e[n],this._async_evaluate$_withoutSlash$2(i[n],r),r);for(n=s;n<o;++n)this._async_evaluate$_environment.setLocalVariable$3(e[n],C.C__SassNull,r)},visitErrorRule$1(e,t){return this.visitErrorRule$body$_EvaluateVisitor(0,t)},visitErrorRule$body$_EvaluateVisitor(e,t){var r,n,i=0,o=A._makeAsyncAwaitCompleter(D.Value),s=this,a=A._wrapJsFunctionForAsync(function(e,l){if(1===e)return A._asyncRethrow(l,o);for(;;)switch(i){case 0:return r=A,n=w,i=2,A._asyncAwait(t.expression.accept$1(s),a);case 2:throw r.wrapException(s._async_evaluate$_exception$2(n.toString$0$(l),t.span))}});return A._asyncStartSync(a,o)},visitExtendRule$1(e,t){return this.visitExtendRule$body$_EvaluateVisitor(0,t)},visitExtendRule$body$_EvaluateVisitor(e,t){var r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b=0,y=A._makeAsyncAwaitCompleter(D.nullable_Value),$=this,x=A._wrapJsFunctionForAsync(function(e,S){if(1===e)return A._asyncRethrow(S,y);for(;;)switch(b){case 0:if(null==(v=$._async_evaluate$_atRootExcludingStyleRule?null:$._async_evaluate$_styleRuleIgnoringAtRoot)||null!=$._async_evaluate$_declarationName)throw A.wrapException($._async_evaluate$_exception$2(P.x40exten,t.span));for(n=v.originalSelector.components,i=n.length,o=t.span,s=D.SourceSpan,a=D.String,l=0;l<i;++l)(c=n[l]).accept$1(C._IsBogusVisitor_true)&&(u=A._SerializeVisitor$(null,!0,null,null,!0,!1,null,!0),c.accept$1(u),d=C.JSString_methods.trim$0(u._serialize$_buffer.toString$0(0)),h=c.accept$1(C.C__IsUselessVisitor)?"can't":"shouldn't",$._async_evaluate$_warn$3('The selector "'+d+'" is invalid CSS and '+h+P.x20be_an,new A.MultiSpan(A.SpanExtensions_trimRight(c.span),"invalid selector",A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([o,"@extend rule"],s,a),s,a)),C.Deprecation_0rM));return b=3,A._asyncAwait($._async_evaluate$_performInterpolationWithMap$2$warnForColor(t.selector,!0),x);case 3:for(m=(p=S)._0,_=p._1,n=A.SelectorList_SelectorList$parse(A.trimAscii(m,!0),!1,_,!1).components,i=n.length,o=v._style_rule$_selector._box$_inner,l=0;l<i;++l){if(c=n[l],null==(g=c.get$singleCompound()))throw A.wrapException(A.SassFormatException$("complex selectors may not be extended.",c.span,null));if(s=g.components,null==(f=1===s.length?C.JSArray_methods.get$first(s):null))throw A.wrapException(A.SassFormatException$(P.compou+C.JSArray_methods.join$1(s,", ")+P.x60_inst,g.span,null));$._async_evaluate$_assertInModule$2($._async_evaluate$__extensionStore,"_extensionStore").addExtension$4(o.value,f,t,$._async_evaluate$_mediaQueries)}r=null,b=1;break;case 1:return A._asyncReturn(r,y)}});return A._asyncStartSync(x,y)},visitAtRule$1(e,t){return this.visitAtRule$body$_EvaluateVisitor(0,t)},visitAtRule$body$_EvaluateVisitor(e,t){var r,n,i,o,s,a,l,c,u=0,d=A._makeAsyncAwaitCompleter(D.nullable_Value),h=this,p=A._wrapJsFunctionForAsync(function(e,m){if(1===e)return A._asyncRethrow(m,d);for(;;)switch(u){case 0:if(null!=h._async_evaluate$_declarationName)throw A.wrapException(h._async_evaluate$_exception$2(P.At_rul,t.span));return u=3,A._asyncAwait(h._async_evaluate$_interpolationToValue$1(t.name),p);case 3:return n=m,i=A.NullableExtension_andThen(t.value,new A._EvaluateVisitor_visitAtRule_closure3(h)),u=4,A._asyncAwait(D.Future_nullable_CssValue_String._is(i)?i:A._Future$value(i,D.nullable_CssValue_String),p);case 4:if(o=m,null==(s=t.children)){h._async_evaluate$_copyParentAfterSibling$0(),h._async_evaluate$_assertInModule$2(h._async_evaluate$__parent,"__parent").addChild$1(A.ModifiableCssAtRule$(n,t.span,!0,o)),r=null,u=1;break}a=h._async_evaluate$_inKeyframes,l=h._async_evaluate$_inUnknownAtRule,"keyframes"===A.unvendor(n.value)?h._async_evaluate$_inKeyframes=!0:h._async_evaluate$_inUnknownAtRule=!0,c=A.ModifiableCssAtRule$(n,t.span,!1,o),u=h.get$_async_evaluate$_hasCssNesting()?5:6;break;case 5:return u=7,A._asyncAwait(h._async_evaluate$_withParent$2$3$scopeWhen(c,new A._EvaluateVisitor_visitAtRule_closure4(h,s),t.hasDeclarations,D.ModifiableCssAtRule,D.Null),p);case 7:case 8:h._async_evaluate$_inUnknownAtRule=l,h._async_evaluate$_inKeyframes=a,r=null,u=1;break;case 6:return u=8,A._asyncAwait(h._async_evaluate$_withParent$2$4$scopeWhen$through(c,new A._EvaluateVisitor_visitAtRule_closure5(h,n,s),t.hasDeclarations,new A._EvaluateVisitor_visitAtRule_closure6,D.ModifiableCssAtRule,D.Null),p);case 1:return A._asyncReturn(r,d)}});return A._asyncStartSync(p,d)},visitForRule$1(e,t){return this.visitForRule$body$_EvaluateVisitor(0,t)},visitForRule$body$_EvaluateVisitor(e,t){var r,n,i,o,s,a,l,c,u,d,h=0,p=A._makeAsyncAwaitCompleter(D.nullable_Value),m=this,_=A._wrapJsFunctionForAsync(function(e,g){if(1===e)return A._asyncRethrow(g,p);for(;;)switch(h){case 0:return n={},i=t.from,o=D.SassNumber,h=3,A._asyncAwait(m._addExceptionSpanAsync$1$2(i,new A._EvaluateVisitor_visitForRule_closure4(m,t),o),_);case 3:return s=g,a=t.to,h=4,A._asyncAwait(m._addExceptionSpanAsync$1$2(a,new A._EvaluateVisitor_visitForRule_closure5(m,t),o),_);case 4:if(l=g,c=m._async_evaluate$_addExceptionSpan$2(i,new A._EvaluateVisitor_visitForRule_closure6(s)),u=n.to=m._async_evaluate$_addExceptionSpan$2(a,new A._EvaluateVisitor_visitForRule_closure7(l,s)),d=c>u?-1:1,c===(t.isExclusive?u:n.to=u+d)){r=null,h=1;break}r=m._async_evaluate$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitForRule_closure8(n,m,t,c,d,s),!0,D.nullable_Value),h=1;break;case 1:return A._asyncReturn(r,p)}});return A._asyncStartSync(_,p)},visitForwardRule$1(e,t){return this.visitForwardRule$body$_EvaluateVisitor(0,t)},visitForwardRule$body$_EvaluateVisitor(e,t){var r,n,i,o,s,a,l,c,u,d,h,p=0,m=A._makeAsyncAwaitCompleter(D.nullable_Value),_=this,g=A._wrapJsFunctionForAsync(function(e,f){if(1===e)return A._asyncRethrow(f,m);for(;;)switch(p){case 0:l=_._async_evaluate$_configuration,c=l.throughForward$1(t),u=t.configuration,d=u.length,h=t.url,p=0!==d?3:5;break;case 3:return p=6,A._asyncAwait(_._async_evaluate$_addForwardConfiguration$2(c,t),g);case 6:return n=f,p=7,A._asyncAwait(_._async_evaluate$_loadModule$5$configuration(h,"@forward",t,new A._EvaluateVisitor_visitForwardRule_closure1(_,t),n),g);case 7:for(h=D.String,i=A.LinkedHashSet_LinkedHashSet$_empty(h),o=0;o<d;++o)(s=u[o]).isGuarded||i.add$1(0,s.name);for(_._async_evaluate$_removeUsedConfiguration$3$except(c,n,i),h=A.LinkedHashSet_LinkedHashSet$_empty(h),o=0;o<d;++o)h.add$1(0,u[o].name);for(u=n._configuration$_values,d=(d=u.get$keys(u)).toList$0(d),i=d.length,o=0;o<d.length;d.length===i||(0,A.throwConcurrentModificationError)(d),++o)a=d[o],h.contains$1(0,a)||u.get$isEmpty(u)||u.remove$1(0,a);_._async_evaluate$_assertConfigurationIsEmpty$1(n),p=4;break;case 5:return _._async_evaluate$_configuration=c,p=8,A._asyncAwait(_._async_evaluate$_loadModule$4(h,"@forward",t,new A._EvaluateVisitor_visitForwardRule_closure2(_,t)),g);case 8:_._async_evaluate$_configuration=l;case 4:r=null,p=1;break;case 1:return A._asyncReturn(r,m)}});return A._asyncStartSync(g,m)},_async_evaluate$_addForwardConfiguration$2(e,t){return this._addForwardConfiguration$body$_EvaluateVisitor(e,t)},_addForwardConfiguration$body$_EvaluateVisitor(e,t){var r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b=0,y=A._makeAsyncAwaitCompleter(D.Configuration),$=this,x=A._wrapJsFunctionForAsync(function(S,w){if(1===S)return A._asyncRethrow(w,y);for(;;)switch(b){case 0:m=e._configuration$_values,_=A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(m,D.UnmodifiableMapView_String_ConfiguredValue),D.String,D.ConfiguredValue),n=t.configuration,i=n.length,o=D._Future_Value,s=D.Future_Value,a=0;case 3:if(!(a<i)){b=5;break}if((l=n[a]).isGuarded&&(c=l.name,null!=(u=m.get$isEmpty(m)?null:m.remove$1(0,c))?(d=!u.value.$eq(0,C.C__SassNull),h=u):(h=null,d=!1),d)){_.$indexSet(0,c,h),b=4;break}return c=l.expression,p=$._async_evaluate$_expressionNode$1(c),c=c.accept$1($),s._is(c)||((d=new A._Future(I.Zone__current,o))._state=8,d._resultOrListeners=c,c=d),g=_,f=l.name,v=A,b=6,A._asyncAwait(c,x);case 6:g.$indexSet(0,f,new v.ConfiguredValue($._async_evaluate$_withoutSlash$2(w,p),l.span,p));case 4:++a,b=3;break;case 5:if(e instanceof A.ExplicitConfiguration||m.get$isEmpty(m)){r=new A.ExplicitConfiguration(t,_,null),b=1;break}r=new A.Configuration(_,null),b=1;break;case 1:return A._asyncReturn(r,y)}});return A._asyncStartSync(x,y)},_async_evaluate$_registerCommentsForModule$1(e){var t=this,r="_root",n=t._async_evaluate$__root;null!=n&&0!==t._async_evaluate$_assertInModule$2(n,r).children.get$length(0)&&e.get$transitivelyContainsCss()&&(null==(n=t._async_evaluate$_preModuleComments)&&(n=t._async_evaluate$_preModuleComments=A.LinkedHashMap_LinkedHashMap$_empty(D.Module_AsyncCallable,D.List_CssComment)),w.addAll$1$ax(n.putIfAbsent$2(e,new A._EvaluateVisitor__registerCommentsForModule_closure0),new A.UnmodifiableListView(w.cast$1$0$ax(t._async_evaluate$_assertInModule$2(t._async_evaluate$__root,r).children._collection$_source,D.CssComment),D.UnmodifiableListView_CssComment)),t._async_evaluate$_assertInModule$2(t._async_evaluate$__root,r).clearChildren$0(),t._async_evaluate$__endOfImports=0)},_async_evaluate$_removeUsedConfiguration$3$except(e,t,r){var n,i,o,s,a,l;for(o=(i=(i=(n=e._configuration$_values).get$keys(n)).toList$0(i)).length,s=t._configuration$_values,a=0;a<i.length;i.length===o||(0,A.throwConcurrentModificationError)(i),++a)l=i[a],r.contains$1(0,l)||s.containsKey$1(l)||n.get$isEmpty(n)||n.remove$1(0,l)},_async_evaluate$_assertConfigurationIsEmpty$2$nameInError(e,t){var r,n;if(e instanceof A.ExplicitConfiguration&&!(r=e._configuration$_values).get$isEmpty(r))throw n=(r=A.MapExtensions_get_pairs(new A.UnmodifiableMapView(r,D.UnmodifiableMapView_String_ConfiguredValue),D.String,D.ConfiguredValue)).get$first(r),r=t?"$"+n._0+P.x20was_n:P.This_v,A.wrapException(this._async_evaluate$_exception$2(r,n._1.configurationSpan))},_async_evaluate$_assertConfigurationIsEmpty$1(e){return this._async_evaluate$_assertConfigurationIsEmpty$2$nameInError(e,!1)},visitFunctionRule$1(e,t){return this.visitFunctionRule$body$_EvaluateVisitor(0,t)},visitFunctionRule$body$_EvaluateVisitor(e,t){var r,n,i,o,s,a,l,c=0,u=A._makeAsyncAwaitCompleter(D.nullable_Value),d=this,h=A._wrapJsFunctionForAsync(function(e,h){if(1===e)return A._asyncRethrow(h,u);for(;;)switch(c){case 0:n=d._async_evaluate$_environment,i=n.closure$0(),o=d._async_evaluate$_inDependency,s=n._async_environment$_functions,a=s.length-1,l=t.name,n._async_environment$_functionIndices.$indexSet(0,l,a),s[a].$indexSet(0,l,new A.UserDefinedCallable(t,i,o,D.UserDefinedCallable_AsyncEnvironment)),r=null,c=1;break;case 1:return A._asyncReturn(r,u)}});return A._asyncStartSync(h,u)},visitIfRule$1(e,t){return this.visitIfRule$body$_EvaluateVisitor(0,t)},visitIfRule$body$_EvaluateVisitor(e,t){var r,n,i,o,s,a,l=0,c=A._makeAsyncAwaitCompleter(D.nullable_Value),u=this,d=A._wrapJsFunctionForAsync(function(e,h){if(1===e)return A._asyncRethrow(h,c);for(;;)switch(l){case 0:a=t.lastClause,n=t.clauses,i=n.length,o=0;case 3:if(!(o<i)){l=5;break}return s=n[o],l=6,A._asyncAwait(s.expression.accept$1(u),d);case 6:if(h.get$isTruthy()){a=s,l=5;break}case 4:++o,l=3;break;case 5:return n=A.NullableExtension_andThen(a,new A._EvaluateVisitor_visitIfRule_closure0(u)),l=7,A._asyncAwait(D.Future_nullable_Value._is(n)?n:A._Future$value(n,D.nullable_Value),d);case 7:r=h,l=1;break;case 1:return A._asyncReturn(r,c)}});return A._asyncStartSync(d,c)},visitImportRule$1(e,t){return this.visitImportRule$body$_EvaluateVisitor(0,t)},visitImportRule$body$_EvaluateVisitor(e,t){var r,n,i,o,s,a,l=0,c=A._makeAsyncAwaitCompleter(D.nullable_Value),u=this,d=A._wrapJsFunctionForAsync(function(e,h){if(1===e)return A._asyncRethrow(h,c);for(;;)switch(l){case 0:n=t.imports,i=n.length,o=D.StaticImport,s=0;case 3:if(!(s<i)){l=5;break}a=n[s],l=a instanceof A.DynamicImport?6:8;break;case 6:return l=9,A._asyncAwait(u._async_evaluate$_visitDynamicImport$1(a),d);case 9:l=7;break;case 8:return l=10,A._asyncAwait(u._visitStaticImport$1(o._as(a)),d);case 10:case 7:case 4:++s,l=3;break;case 5:r=null,l=1;break;case 1:return A._asyncReturn(r,c)}});return A._asyncStartSync(d,c)},_async_evaluate$_visitDynamicImport$1(e){return this._async_evaluate$_withStackFrame$1$3("@import",e,new A._EvaluateVisitor__visitDynamicImport_closure0(this,e),D.void)},_async_evaluate$_loadStylesheet$4$baseUrl$forImport(e,t,r,n){return this._loadStylesheet$body$_EvaluateVisitor(e,t,r,n)},_async_evaluate$_loadStylesheet$3$baseUrl(e,t,r){return this._async_evaluate$_loadStylesheet$4$baseUrl$forImport(e,t,r,!1)},_async_evaluate$_loadStylesheet$3$forImport(e,t,r){return this._async_evaluate$_loadStylesheet$4$baseUrl$forImport(e,t,null,r)},_loadStylesheet$body$_EvaluateVisitor(e,t,r,n){var i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y=0,$=A._makeAsyncAwaitCompleter(D.Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency),x=2,S=[],E=[],I=this,M=A._wrapJsFunctionForAsync(function(k,T){for(1===k&&(S.push(T),y=x);;)switch(y){case 0:x=4,I._async_evaluate$_importSpan=t,o=I._async_evaluate$_importCache,s=null,y=null!=o?7:8;break;case 7:return s=o,null==r&&(f=I._async_evaluate$_assertInModule$2(I._async_evaluate$__stylesheet,"_stylesheet").span,r=f.get$sourceUrl(f)),y=9,A._asyncAwait(w.canonicalize$4$baseImporter$baseUrl$forImport$x(s,A.Uri_parse(e),I._async_evaluate$_importer,r,n),M);case 9:a=T,l=null,c=null,u=null,y=D.Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl._is(a)?10:11;break;case 10:return l=a._0,c=a._1,u=a._2,""===c.get$scheme()&&A.WarnForDeprecation_warnForDeprecation(I._async_evaluate$_logger,C.Deprecation_IqB,"Importer "+A.S(l)+" canonicalized "+e+" to "+A.S(c)+P.x2e_Rela,null,null),I._async_evaluate$_loadedUrls.add$1(0,c),d=I._async_evaluate$_inDependency||!w.$eq$(l,I._async_evaluate$_importer),y=12,A._asyncAwait(s.importCanonical$3$originalUrl(l,c,u),M);case 12:if(null!=(h=T)){f=h,v=l,i=new A._Record_3_importer_isDependency(f,v,d),E=[1],y=5;break}case 11:case 8:throw(f=C.JSString_methods.startsWith$1(e,"package:"))?A.wrapException(P.x22packa):A.wrapException("Can't find stylesheet to import.");case 4:if(x=3,b=S.pop(),(f=A.unwrapException(b))instanceof A.SassException)throw b;f instanceof A.ArgumentError?(p=f,m=A.getTraceFromException(b),A.throwWithTrace(I._async_evaluate$_exception$1(w.toString$0$(p)),p,m)):(_=f,g=A.getTraceFromException(b),A.throwWithTrace(I._async_evaluate$_exception$1(I._async_evaluate$_getErrorMessage$1(_)),_,g)),E.push(6),y=5;break;case 3:E=[2];case 5:x=2,I._async_evaluate$_importSpan=null,y=E.pop();break;case 6:case 1:return A._asyncReturn(i,$);case 2:return A._asyncRethrow(S.at(-1),$)}});return A._asyncStartSync(M,$)},_visitStaticImport$1(e){return this._visitStaticImport$body$_EvaluateVisitor(e)},_visitStaticImport$body$_EvaluateVisitor(e){var t,r,n,i,o,s=0,a=A._makeAsyncAwaitCompleter(D.void),l=this,c=A._wrapJsFunctionForAsync(function(u,d){if(1===u)return A._asyncRethrow(d,a);for(;;)switch(s){case 0:return s=2,A._asyncAwait(l._async_evaluate$_interpolationToValue$1(e.url),c);case 2:return t=d,r=A.NullableExtension_andThen(e.modifiers,l.get$_async_evaluate$_interpolationToValue()),i=A,o=t,s=3,A._asyncAwait(D.Future_nullable_CssValue_String._is(r)?r:A._Future$value(r,D.nullable_CssValue_String),c);case 3:return n=new i.ModifiableCssImport(o,d,e.span),l._async_evaluate$_assertInModule$2(l._async_evaluate$__parent,"__parent")!==l._async_evaluate$_assertInModule$2(l._async_evaluate$__root,"_root")?(l._async_evaluate$_copyParentAfterSibling$0(),l._async_evaluate$_assertInModule$2(l._async_evaluate$__parent,"__parent").addChild$1(n)):l._async_evaluate$_assertInModule$2(l._async_evaluate$__endOfImports,"_endOfImports")===w.get$length$asx(l._async_evaluate$_assertInModule$2(l._async_evaluate$__root,"_root").children._collection$_source)?(l._async_evaluate$_assertInModule$2(l._async_evaluate$__root,"_root").addChild$1(n),l._async_evaluate$__endOfImports=l._async_evaluate$_assertInModule$2(l._async_evaluate$__endOfImports,"_endOfImports")+1):(null==(t=l._async_evaluate$_outOfOrderImports)?l._async_evaluate$_outOfOrderImports=A._setArrayType([],D.JSArray_ModifiableCssImport):t).push(n),A._asyncReturn(null,a)}});return A._asyncStartSync(c,a)},_async_evaluate$_applyMixin$5(e,t,r,n,i){return this._applyMixin$body$_EvaluateVisitor(e,t,r,n,i)},_applyMixin$body$_EvaluateVisitor(e,t,r,n,i){var o,s,a,l,c=0,u=A._makeAsyncAwaitCompleter(D.void),d=this,h=A._wrapJsFunctionForAsync(function(p,m){if(1===p)return A._asyncRethrow(m,u);for(;;)switch(c){case 0:if(null==e)throw A.wrapException(d._async_evaluate$_exception$2("Undefined mixin.",n.get$span(n)));o=D.AsyncBuiltInCallable._is(e),c=o&&!e.get$acceptsContent()&&null!=t?3:4;break;case 3:return c=5,A._asyncAwait(d._async_evaluate$_evaluateArguments$1(r),h);case 5:throw o=m._values,s=e.callbackFor$2(w.get$length$asx(o[2]),new A.MapKeySet(o[0],D.MapKeySet_String)),A.wrapException(A.MultiSpanSassRuntimeException$("Mixin doesn't accept a content block.",i.get$span(i),"invocation",A.LinkedHashMap_LinkedHashMap$_literal([s._0.get$spanWithName(),"declaration"],D.FileSpan,D.String),d._async_evaluate$_stackTrace$1(i.get$span(i)),null));case 4:c=o?6:7;break;case 6:return c=8,A._asyncAwait(d._async_evaluate$_environment.withContent$2(t,new A._EvaluateVisitor__applyMixin_closure1(d,r,e,i)),h);case 8:case 11:c=2;break;case 7:if(o=D.UserDefinedCallable_AsyncEnvironment._is(e),a=!1,o&&(l=e.declaration,l instanceof A.MixinRule&&(a=!D.MixinRule._as(l).get$hasContent()&&null!=t)),a)throw A.wrapException(A.MultiSpanSassRuntimeException$("Mixin doesn't accept a content block.",i.get$span(i),"invocation",A.LinkedHashMap_LinkedHashMap$_literal([e.declaration.parameters.get$spanWithName(),"declaration"],D.FileSpan,D.String),d._async_evaluate$_stackTrace$1(i.get$span(i)),null));c=o?9:10;break;case 9:return c=11,A._asyncAwait(d._async_evaluate$_runUserDefinedCallable$1$4(r,e,i,new A._EvaluateVisitor__applyMixin_closure2(d,t,e,i),D.Null),h);case 10:throw A.wrapException(A.UnsupportedError$("Unknown callable type "+e.toString$0(0)+"."));case 2:return A._asyncReturn(null,u)}});return A._asyncStartSync(h,u)},visitIncludeRule$1(e,t){return this.visitIncludeRule$body$_EvaluateVisitor(0,t)},visitIncludeRule$body$_EvaluateVisitor(e,t){var r,n,i=0,o=A._makeAsyncAwaitCompleter(D.nullable_Value),s=this,a=A._wrapJsFunctionForAsync(function(e,l){if(1===e)return A._asyncRethrow(l,o);for(;;)switch(i){case 0:if(n=s._async_evaluate$_addExceptionSpan$2(t,new A._EvaluateVisitor_visitIncludeRule_closure2(s,t)),C.JSString_methods.startsWith$1(t.originalName,"--")&&n instanceof A.UserDefinedCallable&&!C.JSString_methods.startsWith$1(n.declaration.originalName,"--"))throw A.wrapException(s._async_evaluate$_exception$2(P.Sass__m,t.get$nameSpan()));return i=3,A._asyncAwait(s._async_evaluate$_applyMixin$5(n,A.NullableExtension_andThen(t.content,new A._EvaluateVisitor_visitIncludeRule_closure3(s)),t.$arguments,t,new A._FakeAstNode(new A._EvaluateVisitor_visitIncludeRule_closure4(t))),a);case 3:r=null,i=1;break;case 1:return A._asyncReturn(r,o)}});return A._asyncStartSync(a,o)},visitMixinRule$1(e,t){return this.visitMixinRule$body$_EvaluateVisitor(0,t)},visitMixinRule$body$_EvaluateVisitor(e,t){var r,n,i,o,s,a,l,c=0,u=A._makeAsyncAwaitCompleter(D.nullable_Value),d=this,h=A._wrapJsFunctionForAsync(function(e,h){if(1===e)return A._asyncRethrow(h,u);for(;;)switch(c){case 0:n=d._async_evaluate$_environment,i=n.closure$0(),o=d._async_evaluate$_inDependency,s=n._async_environment$_mixins,a=s.length-1,l=t.name,n._async_environment$_mixinIndices.$indexSet(0,l,a),s[a].$indexSet(0,l,new A.UserDefinedCallable(t,i,o,D.UserDefinedCallable_AsyncEnvironment)),r=null,c=1;break;case 1:return A._asyncReturn(r,u)}});return A._asyncStartSync(h,u)},visitLoudComment$1(e,t){return this.visitLoudComment$body$_EvaluateVisitor(0,t)},visitLoudComment$body$_EvaluateVisitor(e,t){var r,n,i,o=0,s=A._makeAsyncAwaitCompleter(D.nullable_Value),a=this,l=A._wrapJsFunctionForAsync(function(e,c){if(1===e)return A._asyncRethrow(c,s);for(;;)switch(o){case 0:if(a._async_evaluate$_inFunction){r=null,o=1;break}return a._async_evaluate$_assertInModule$2(a._async_evaluate$__parent,"__parent")===a._async_evaluate$_assertInModule$2(a._async_evaluate$__root,"_root")&&a._async_evaluate$_assertInModule$2(a._async_evaluate$__endOfImports,"_endOfImports")===w.get$length$asx(a._async_evaluate$_assertInModule$2(a._async_evaluate$__root,"_root").children._collection$_source)&&(a._async_evaluate$__endOfImports=a._async_evaluate$_assertInModule$2(a._async_evaluate$__endOfImports,"_endOfImports")+1),n=t.text,o=3,A._asyncAwait(a._async_evaluate$_performInterpolation$1(n),l);case 3:i=c,C.JSString_methods.endsWith$1(i,"*/")||(i+=" */"),a._async_evaluate$_copyParentAfterSibling$0(),a._async_evaluate$_assertInModule$2(a._async_evaluate$__parent,"__parent").addChild$1(new A.ModifiableCssComment(i,n.span)),r=null,o=1;break;case 1:return A._asyncReturn(r,s)}});return A._asyncStartSync(l,s)},visitMediaRule$1(e,t){return this.visitMediaRule$body$_EvaluateVisitor(0,t)},visitMediaRule$body$_EvaluateVisitor(e,t){var r,n,i,o,s,a,l,c=0,u=A._makeAsyncAwaitCompleter(D.nullable_Value),d=this,h=A._wrapJsFunctionForAsync(function(e,p){if(1===e)return A._asyncRethrow(p,u);for(;;)switch(c){case 0:if(null!=d._async_evaluate$_declarationName)throw A.wrapException(d._async_evaluate$_exception$2(P.Media_,t.span));return c=3,A._asyncAwait(d._visitMediaQueries$1(t.query),h);case 3:n=p,c=d.get$_async_evaluate$_hasCssNesting()?4:5;break;case 4:return c=6,A._asyncAwait(d._async_evaluate$_withParent$2$3$scopeWhen(A.ModifiableCssMediaRule$(n,t.span),new A._EvaluateVisitor_visitMediaRule_closure3(d,t),!1,D.ModifiableCssMediaRule,D.Null),h);case 6:case 7:r=null,c=1;break;case 5:if(i=A.NullableExtension_andThen(d._async_evaluate$_mediaQueries,new A._EvaluateVisitor_visitMediaRule_closure4(d,n)),!(o=null==i)&&w.get$isEmpty$asx(i)){r=null,c=1;break}return o?s=C.Set_empty2:((a=d._async_evaluate$_mediaQuerySources).toString,a=A.LinkedHashSet_LinkedHashSet$of(a,D.CssMediaQuery),(l=d._async_evaluate$_mediaQueries).toString,a.addAll$1(0,l),a.addAll$1(0,n),s=a),o=o?n:i,c=7,A._asyncAwait(d._async_evaluate$_withParent$2$4$scopeWhen$through(A.ModifiableCssMediaRule$(o,t.span),new A._EvaluateVisitor_visitMediaRule_closure5(d,i,n,s,t),t.hasDeclarations,new A._EvaluateVisitor_visitMediaRule_closure6(s),D.ModifiableCssMediaRule,D.Null),h);case 1:return A._asyncReturn(r,u)}});return A._asyncStartSync(h,u)},_visitMediaQueries$1(e){return this._visitMediaQueries$body$_EvaluateVisitor(e)},_visitMediaQueries$body$_EvaluateVisitor(e){var t,r,n,i,o=0,s=A._makeAsyncAwaitCompleter(D.List_CssMediaQuery),a=this,l=A._wrapJsFunctionForAsync(function(c,u){if(1===c)return A._asyncRethrow(u,s);for(;;)switch(o){case 0:return o=3,A._asyncAwait(a._async_evaluate$_performInterpolationWithMap$2$warnForColor(e,!0),l);case 3:n=(r=u)._0,i=r._1,t=new A.MediaQueryParser(A.SpanScanner$(n,null),i).parse$0(0),o=1;break;case 1:return A._asyncReturn(t,s)}});return A._asyncStartSync(l,s)},_async_evaluate$_mergeMediaQueries$2(e,t){var r,n,i,o,s,a,l,c=A._setArrayType([],D.JSArray_CssMediaQuery);for(r=w.get$iterator$ax(e),n=w.getInterceptor$ax(t);r.moveNext$0();)for(i=r.get$current(r),o=n.get$iterator(t);o.moveNext$0();)if(s=i.merge$1(o.get$current(o)),C._SingletonCssMediaQueryMergeResult_0!==s){if(C._SingletonCssMediaQueryMergeResult_1===s)return null;l=(a=s instanceof A.MediaQuerySuccessfulMergeResult)?s:null,a&&c.push(l.query)}return c},visitReturnRule$1(e,t){return this.visitReturnRule$body$_EvaluateVisitor(0,t)},visitReturnRule$body$_EvaluateVisitor(e,t){var r,n,i,o=0,s=A._makeAsyncAwaitCompleter(D.Value),a=this,l=A._wrapJsFunctionForAsync(function(e,c){if(1===e)return A._asyncRethrow(c,s);for(;;)switch(o){case 0:return n=t.expression,i=n.accept$1(a),o=3,A._asyncAwait(D.Future_Value._is(i)?i:A._Future$value(i,D.Value),l);case 3:r=a._async_evaluate$_withoutSlash$2(c,n),o=1;break;case 1:return A._asyncReturn(r,s)}});return A._asyncStartSync(l,s)},visitSilentComment$1(e,t){return this.visitSilentComment$body$_EvaluateVisitor(0,t)},visitSilentComment$body$_EvaluateVisitor(e,t){var r,n=0,i=A._makeAsyncAwaitCompleter(D.nullable_Value),o=A._wrapJsFunctionForAsync(function(e,t){if(1===e)return A._asyncRethrow(t,i);for(;;)switch(n){case 0:r=null,n=1;break;case 1:return A._asyncReturn(r,i)}});return A._asyncStartSync(o,i)},visitStyleRule$1(e,t){return this.visitStyleRule$body$_EvaluateVisitor(0,t)},visitStyleRule$body$_EvaluateVisitor(e,t){var r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f=0,v=A._makeAsyncAwaitCompleter(D.nullable_Value),b=this,y=A._wrapJsFunctionForAsync(function(e,$){if(1===e)return A._asyncRethrow($,v);for(;;)switch(f){case 0:if(null!=b._async_evaluate$_declarationName)throw A.wrapException(b._async_evaluate$_exception$2(P.Style_n,t.span));if(b._async_evaluate$_inKeyframes&&b._async_evaluate$_assertInModule$2(b._async_evaluate$__parent,"__parent")instanceof A.ModifiableCssKeyframeBlock)throw A.wrapException(b._async_evaluate$_exception$2(P.Style_k,t.span));return(n=t.selector).toString,f=3,A._asyncAwait(b._async_evaluate$_performInterpolationWithMap$2$warnForColor(n,!0),y);case 3:o=(i=$)._0,s=i._1,f=b._async_evaluate$_inKeyframes?4:5;break;case 4:return f=6,A._asyncAwait(b._async_evaluate$_withParent$2$4$scopeWhen$through(A.ModifiableCssKeyframeBlock$(new A.CssValue(A.List_List$unmodifiable(new A.KeyframeSelectorParser(A.SpanScanner$(o,null),s).parse$0(0),D.String),n.span,D.CssValue_List_String),t.span),new A._EvaluateVisitor_visitStyleRule_closure3(b,t),t.hasDeclarations,new A._EvaluateVisitor_visitStyleRule_closure4,D.ModifiableCssKeyframeBlock,D.Null),y);case 6:r=null,f=1;break;case 5:if(a=A.SelectorList_SelectorList$parse(o,!0,s,b._async_evaluate$_assertInModule$2(b._async_evaluate$__stylesheet,"_stylesheet").plainCss),l=b._async_evaluate$_atRootExcludingStyleRule?null:b._async_evaluate$_styleRuleIgnoringAtRoot,n=null==l||!l.fromPlainCss&&!(b._async_evaluate$_assertInModule$2(b._async_evaluate$__stylesheet,"_stylesheet").plainCss&&a.accept$1(C.C__ContainsParentSelectorVisitor))){if(b._async_evaluate$_assertInModule$2(b._async_evaluate$__stylesheet,"_stylesheet").plainCss)for(c=a.components,u=c.length,d=0;d<u;++d)if((h=c[d].leadingCombinators).length>=1?(p=h[0],m=b._async_evaluate$_assertInModule$2(b._async_evaluate$__stylesheet,"_stylesheet").plainCss):(p=null,m=!1),m)throw A.wrapException(b._async_evaluate$_exception$2(P.Top_le,p.span));c=null==(c=b._async_evaluate$_styleRuleIgnoringAtRoot)?null:c.originalSelector,a=a.nestWithin$3$implicitParent$preserveParentSelectors(c,!b._async_evaluate$_atRootExcludingStyleRule,b._async_evaluate$_assertInModule$2(b._async_evaluate$__stylesheet,"_stylesheet").plainCss)}return _=A.ModifiableCssStyleRule$(b._async_evaluate$_assertInModule$2(b._async_evaluate$__extensionStore,"_extensionStore").addSelector$2(a,b._async_evaluate$_mediaQueries),t.span,b._async_evaluate$_assertInModule$2(b._async_evaluate$__stylesheet,"_stylesheet").plainCss,a),g=b._async_evaluate$_atRootExcludingStyleRule,c=b._async_evaluate$_atRootExcludingStyleRule=!1,n=n?new A._EvaluateVisitor_visitStyleRule_closure5:null,f=7,A._asyncAwait(b._async_evaluate$_withParent$2$4$scopeWhen$through(_,new A._EvaluateVisitor_visitStyleRule_closure6(b,_,t),t.hasDeclarations,n,D.ModifiableCssStyleRule,D.Null),y);case 7:b._async_evaluate$_atRootExcludingStyleRule=g,b._async_evaluate$_warnForBogusCombinators$1(_),(n=null==(b._async_evaluate$_atRootExcludingStyleRule?null:b._async_evaluate$_styleRuleIgnoringAtRoot)?!(n=b._async_evaluate$_assertInModule$2(b._async_evaluate$__parent,"__parent").children).get$isEmpty(n):c)&&((n=b._async_evaluate$_assertInModule$2(b._async_evaluate$__parent,"__parent").children).get$last(n).isGroupEnd=!0),r=null,f=1;break;case 1:return A._asyncReturn(r,v)}});return A._asyncStartSync(y,v)},_async_evaluate$_warnForBogusCombinators$1(e){var t,r,n,i,o,s,a,l,c,u,d,h,p=this,m=null;if(!e.accept$1(C._IsInvisibleVisitor_false_false))for(r=(t=e._style_rule$_selector._box$_inner.value.components).length,n=D.SourceSpan,i=D.String,o=e.children,s=0;s<r;++s)(a=t[s]).accept$1(C._IsBogusVisitor_true)&&(a.accept$1(C.C__IsUselessVisitor)?(l=A._SerializeVisitor$(m,!0,m,m,!0,!1,m,!0),a.accept$1(l),p._async_evaluate$_warn$3('The selector "'+C.JSString_methods.trim$0(l._serialize$_buffer.toString$0(0))+P.x22x20is_ix20,A.SpanExtensions_trimRight(a.span),C.Deprecation_0rM)):0!==a.leadingCombinators.length?p._async_evaluate$_assertInModule$2(p._async_evaluate$__stylesheet,"_stylesheet").plainCss||(l=A._SerializeVisitor$(m,!0,m,m,!0,!1,m,!0),a.accept$1(l),p._async_evaluate$_warn$3('The selector "'+C.JSString_methods.trim$0(l._serialize$_buffer.toString$0(0))+P.x22x20is_ix0a,A.SpanExtensions_trimRight(a.span),C.Deprecation_0rM)):(l=A._SerializeVisitor$(m,!0,m,m,!0,!1,m,!0),a.accept$1(l),c=C.JSString_methods.trim$0(l._serialize$_buffer.toString$0(0)),u=a.accept$1(C._IsBogusVisitor_false)?P.x20It_wi:"",d=A.SpanExtensions_trimRight(a.span),0===o.get$length(0)&&A.throwExpression(A.IterableElementError_noElement()),h=w.get$span$x(o.$index(0,0)),p._async_evaluate$_warn$3('The selector "'+c+P.x22x20is_o+u+P.x0aThis_,new A.MultiSpan(d,"invalid selector",A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([h,"this is not a style rule"+(o.every$1(o,new A._EvaluateVisitor__warnForBogusCombinators_closure0)?"\n(try converting to a //-style comment)":"")],n,i),n,i)),C.Deprecation_0rM)))},visitSupportsRule$1(e,t){return this.visitSupportsRule$body$_EvaluateVisitor(0,t)},visitSupportsRule$body$_EvaluateVisitor(e,t){var r,n,i,o,s,a=0,l=A._makeAsyncAwaitCompleter(D.nullable_Value),c=this,u=A._wrapJsFunctionForAsync(function(e,d){if(1===e)return A._asyncRethrow(d,l);for(;;)switch(a){case 0:if(null!=c._async_evaluate$_declarationName)throw A.wrapException(c._async_evaluate$_exception$2(P.Suppor,t.span));return n=t.condition,o=A,s=A,a=3,A._asyncAwait(c._async_evaluate$_visitSupportsCondition$1(n),u);case 3:i=o.ModifiableCssSupportsRule$(new s.CssValue(d,n.get$span(n),D.CssValue_String),t.span),a=c.get$_async_evaluate$_hasCssNesting()?4:5;break;case 4:return a=6,A._asyncAwait(c._async_evaluate$_withParent$2$3$scopeWhen(i,new A._EvaluateVisitor_visitSupportsRule_closure2(c,t),t.hasDeclarations,D.ModifiableCssSupportsRule,D.Null),u);case 6:case 7:r=null,a=1;break;case 5:return a=7,A._asyncAwait(c._async_evaluate$_withParent$2$4$scopeWhen$through(i,new A._EvaluateVisitor_visitSupportsRule_closure3(c,t),t.hasDeclarations,new A._EvaluateVisitor_visitSupportsRule_closure4,D.ModifiableCssSupportsRule,D.Null),u);case 1:return A._asyncReturn(r,l)}});return A._asyncStartSync(u,l)},_async_evaluate$_visitSupportsCondition$1(e){return this._visitSupportsCondition$body$_EvaluateVisitor(e)},_visitSupportsCondition$body$_EvaluateVisitor(e){var t,r,n,i,o=0,s=A._makeAsyncAwaitCompleter(D.String),a=this,l=A._wrapJsFunctionForAsync(function(c,u){if(1===c)return A._asyncRethrow(u,s);for(;;)switch(o){case 0:o=e instanceof A.SupportsOperation?4:5;break;case 4:return r=e.operator,n=A,o=6,A._asyncAwait(a._async_evaluate$_parenthesize$2(e.left,r),l);case 6:return n=n.S(u)+" "+r.toString$0(0)+" ",i=A,o=7,A._asyncAwait(a._async_evaluate$_parenthesize$2(e.right,r),l);case 7:r=n+i.S(u),o=3;break;case 5:o=e instanceof A.SupportsNegation?8:9;break;case 8:return n=A,o=10,A._asyncAwait(a._async_evaluate$_parenthesize$1(e.condition),l);case 10:r="not "+n.S(u),o=3;break;case 9:o=e instanceof A.SupportsInterpolation?11:12;break;case 11:return o=13,A._asyncAwait(a._evaluateToCss$2$quote(e.expression,!1),l);case 13:r=u,o=3;break;case 12:(r={}).declaration=null,o=e instanceof A.SupportsDeclaration?14:15;break;case 14:return r.declaration=e,o=16,A._asyncAwait(a._async_evaluate$_withSupportsDeclaration$1$1(new A._EvaluateVisitor__visitSupportsCondition_closure0(r,a),D.String),l);case 16:r=u,o=3;break;case 15:o=e instanceof A.SupportsFunction?17:18;break;case 17:return n=A,o=19,A._asyncAwait(a._async_evaluate$_performInterpolation$1(e.name),l);case 19:return n=n.S(u)+"(",i=A,o=20,A._asyncAwait(a._async_evaluate$_performInterpolation$1(e.$arguments),l);case 20:r=n+i.S(u)+")",o=3;break;case 18:o=e instanceof A.SupportsAnything?21:22;break;case 21:return n=A,o=23,A._asyncAwait(a._async_evaluate$_performInterpolation$1(e.contents),l);case 23:r="("+n.S(u)+")",o=3;break;case 22:r=A.throwExpression(A.ArgumentError$("Unknown supports condition type "+A.getRuntimeTypeOfDartObject(e).toString$0(0)+".",null));case 3:t=r,o=1;break;case 1:return A._asyncReturn(t,s)}});return A._asyncStartSync(l,s)},_async_evaluate$_withSupportsDeclaration$1$1(e,t){return this._withSupportsDeclaration$body$_EvaluateVisitor(e,t,t)},_withSupportsDeclaration$body$_EvaluateVisitor(e,t,r){var n,i,o,s=0,a=A._makeAsyncAwaitCompleter(r),l=2,c=[],u=[],d=this,h=A._wrapJsFunctionForAsync(function(r,p){for(1===r&&(c.push(p),s=l);;)switch(s){case 0:return o=d._async_evaluate$_inSupportsDeclaration,d._async_evaluate$_inSupportsDeclaration=!0,l=3,i=e.call$0(),s=6,A._asyncAwait(t._eval$1("Future<0>")._is(i)?i:A._Future$value(i,t),h);case 6:n=i=p,u=[1],s=4;break;case 3:u=[2];case 4:l=2,d._async_evaluate$_inSupportsDeclaration=o,s=u.pop();break;case 5:case 1:return A._asyncReturn(n,a);case 2:return A._asyncRethrow(c.at(-1),a)}});return A._asyncStartSync(h,a)},_async_evaluate$_parenthesize$2(e,t){return this._parenthesize$body$_EvaluateVisitor(e,t)},_async_evaluate$_parenthesize$1(e){return this._async_evaluate$_parenthesize$2(e,null)},_parenthesize$body$_EvaluateVisitor(e,t){var r,n,i,o=0,s=A._makeAsyncAwaitCompleter(D.String),a=this,l=A._wrapJsFunctionForAsync(function(c,u){if(1===c)return A._asyncRethrow(u,s);for(;;)switch(o){case 0:n=e instanceof A.SupportsNegation||e instanceof A.SupportsOperation&&(null==t||t!==e.operator),o=n?3:4;break;case 3:return i=A,o=5,A._asyncAwait(a._async_evaluate$_visitSupportsCondition$1(e),l);case 5:r="("+i.S(u)+")",o=1;break;case 4:return o=6,A._asyncAwait(a._async_evaluate$_visitSupportsCondition$1(e),l);case 6:r=u,o=1;break;case 1:return A._asyncReturn(r,s)}});return A._asyncStartSync(l,s)},visitVariableDeclaration$1(e,t){return this.visitVariableDeclaration$body$_EvaluateVisitor(0,t)},visitVariableDeclaration$body$_EvaluateVisitor(e,t){var r,n,i,o,s,a,l,c,u=0,d=A._makeAsyncAwaitCompleter(D.nullable_Value),h=this,p=A._wrapJsFunctionForAsync(function(e,m){if(1===e)return A._asyncRethrow(m,d);for(;;)switch(u){case 0:if(t.isGuarded){if(null==t.namespace&&1===h._async_evaluate$_environment._async_environment$_variables.length&&(n=t.name,h._async_evaluate$_environment._async_environment$_configurableVariables.add$1(0,n),i=h._async_evaluate$_configuration._configuration$_values,o=i.get$isEmpty(i)?null:i.remove$1(0,n),(n={}).override=null,null!=o?(n.override=o,i=!o.value.$eq(0,C.C__SassNull)):i=!1,i)){h._async_evaluate$_addExceptionSpan$2(t,new A._EvaluateVisitor_visitVariableDeclaration_closure2(n,h,t)),r=null,u=1;break}if(null!=(s=h._async_evaluate$_addExceptionSpan$2(t,new A._EvaluateVisitor_visitVariableDeclaration_closure3(h,t)))&&!s.$eq(0,C.C__SassNull)){r=null,u=1;break}}return t.isGlobal&&!h._async_evaluate$_environment.globalVariableExists$1(t.name)&&(n=1===h._async_evaluate$_environment._async_environment$_variables.length?P.As_of_S:P.As_of_R+A.declarationName(t.span)+": null` at the stylesheet root.",h._async_evaluate$_warn$3(n,t.span,C.Deprecation_jGw)),n=t.expression,i=n.accept$1(h),a=t,l=A,c=t,u=3,A._asyncAwait(D.Future_Value._is(i)?i:A._Future$value(i,D.Value),p);case 3:h._async_evaluate$_addExceptionSpan$2(a,new l._EvaluateVisitor_visitVariableDeclaration_closure4(h,c,h._async_evaluate$_withoutSlash$2(m,n))),r=null,u=1;break;case 1:return A._asyncReturn(r,d)}});return A._asyncStartSync(p,d)},visitUseRule$1(e,t){return this.visitUseRule$body$_EvaluateVisitor(0,t)},visitUseRule$body$_EvaluateVisitor(e,t){var r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f=0,v=A._makeAsyncAwaitCompleter(D.nullable_Value),b=this,y=A._wrapJsFunctionForAsync(function(e,$){if(1===e)return A._asyncRethrow($,v);for(;;)switch(f){case 0:h=t.configuration,p=h.length,f=0!==p?3:5;break;case 3:n=A.LinkedHashMap_LinkedHashMap$_empty(D.String,D.ConfiguredValue),i=D._Future_Value,o=D.Future_Value,s=0;case 6:if(!(s<p)){f=8;break}return a=h[s],l=a.expression,c=b._async_evaluate$_expressionNode$1(l),l=l.accept$1(b),o._is(l)||((u=new A._Future(I.Zone__current,i))._state=8,u._resultOrListeners=l,l=u),m=n,_=a.name,g=A,f=9,A._asyncAwait(l,y);case 9:m.$indexSet(0,_,new g.ConfiguredValue(b._async_evaluate$_withoutSlash$2($,c),a.span,c));case 7:++s,f=6;break;case 8:d=new A.ExplicitConfiguration(t,n,null),f=4;break;case 5:d=C.Configuration_Map_empty_null;case 4:return f=10,A._asyncAwait(b._async_evaluate$_loadModule$5$configuration(t.url,"@use",t,new A._EvaluateVisitor_visitUseRule_closure0(b,t),d),y);case 10:b._async_evaluate$_assertConfigurationIsEmpty$1(d),r=null,f=1;break;case 1:return A._asyncReturn(r,v)}});return A._asyncStartSync(y,v)},visitWarnRule$1(e,t){return this.visitWarnRule$body$_EvaluateVisitor(0,t)},visitWarnRule$body$_EvaluateVisitor(e,t){var r,n,i,o,s=0,a=A._makeAsyncAwaitCompleter(D.nullable_Value),l=this,c=A._wrapJsFunctionForAsync(function(e,u){if(1===e)return A._asyncRethrow(u,a);for(;;)switch(s){case 0:return s=3,A._asyncAwait(l._addExceptionSpanAsync$1$2(t,new A._EvaluateVisitor_visitWarnRule_closure0(l,t),D.Value),c);case 3:i=(n=u)instanceof A.SassString?n._string$_text:l._async_evaluate$_serialize$2(n,t.expression),o=l._async_evaluate$_stackTrace$1(t.span),l._async_evaluate$_logger.internalWarn$4$deprecation$span$trace(i,null,null,o),r=null,s=1;break;case 1:return A._asyncReturn(r,a)}});return A._asyncStartSync(c,a)},visitWhileRule$1(e,t){return this._async_evaluate$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure0(this,t),!0,t.hasDeclarations,D.nullable_Value)},visitBinaryOperationExpression$1(e,t){var r,n=this;if(r=!!n._async_evaluate$_assertInModule$2(n._async_evaluate$__stylesheet,"_stylesheet").plainCss&&((r=t.operator)!==C.BinaryOperator_g6F&&r!==C.BinaryOperator_ehp))throw A.wrapException(n._async_evaluate$_exception$2("Operators aren't allowed in plain CSS.",t.get$operatorSpan()));return n._addExceptionSpanAsync$1$2(t,new A._EvaluateVisitor_visitBinaryOperationExpression_closure0(n,t),D.Value)},_async_evaluate$_slash$3(e,t,r){var n,i,o=e.dividedBy$1(t),s=e instanceof A.SassNumber,a=null,l=!1;return s?(t instanceof A.SassNumber&&(l=r.allowsSlash&&this._async_evaluate$_operandAllowsSlash$1(r.left)&&this._async_evaluate$_operandAllowsSlash$1(r.right),a=t),n=e,i=t):(i=null,n=null),l?D.SassNumber._as(o).withSlash$2(n,a):(l=e instanceof A.SassNumber&&(s?i:t)instanceof A.SassNumber)?(this._async_evaluate$_warn$3(P.Using__o+A.S((new A._EvaluateVisitor__slash_recommendation0).call$1(r))+" or "+A.expressionToCalc(r).toString$0(0)+P.x0a_Morex20,r.get$span(0),C.Deprecation_qZ1),o):o},_async_evaluate$_operandAllowsSlash$1(e){var t;return e instanceof A.FunctionExpression?null==e.namespace?(t=e.name,t=C.Set_Pr3yj.contains$1(0,t.toLowerCase())&&null==this._async_evaluate$_environment.getFunction$1(t)):t=!1:t=!0,t},visitValueExpression$1(e,t){return this.visitValueExpression$body$_EvaluateVisitor(0,t)},visitValueExpression$body$_EvaluateVisitor(e,t){var r,n=0,i=A._makeAsyncAwaitCompleter(D.Value),o=A._wrapJsFunctionForAsync(function(e,o){if(1===e)return A._asyncRethrow(o,i);for(;;)switch(n){case 0:r=t.value,n=1;break;case 1:return A._asyncReturn(r,i)}});return A._asyncStartSync(o,i)},visitVariableExpression$1(e,t){return this.visitVariableExpression$body$_EvaluateVisitor(0,t)},visitVariableExpression$body$_EvaluateVisitor(e,t){var r,n,i=0,o=A._makeAsyncAwaitCompleter(D.Value),s=this,a=A._wrapJsFunctionForAsync(function(e,a){if(1===e)return A._asyncRethrow(a,o);for(;;)switch(i){case 0:if(null!=(n=s._async_evaluate$_addExceptionSpan$2(t,new A._EvaluateVisitor_visitVariableExpression_closure0(s,t)))){r=n,i=1;break}throw A.wrapException(s._async_evaluate$_exception$2("Undefined variable.",t.span));case 1:return A._asyncReturn(r,o)}});return A._asyncStartSync(a,o)},visitUnaryOperationExpression$1(e,t){return this.visitUnaryOperationExpression$body$_EvaluateVisitor(0,t)},visitUnaryOperationExpression$body$_EvaluateVisitor(e,t){var r,n,i,o,s=0,a=A._makeAsyncAwaitCompleter(D.Value),l=this,c=A._wrapJsFunctionForAsync(function(e,u){if(1===e)return A._asyncRethrow(u,a);for(;;)switch(s){case 0:return n=t,i=A,o=t,s=3,A._asyncAwait(t.operand.accept$1(l),c);case 3:r=l._async_evaluate$_addExceptionSpan$2(n,new i._EvaluateVisitor_visitUnaryOperationExpression_closure0(o,u)),s=1;break;case 1:return A._asyncReturn(r,a)}});return A._asyncStartSync(c,a)},visitBooleanExpression$1(e,t){return this.visitBooleanExpression$body$_EvaluateVisitor(0,t)},visitBooleanExpression$body$_EvaluateVisitor(e,t){var r,n=0,i=A._makeAsyncAwaitCompleter(D.SassBoolean),o=A._wrapJsFunctionForAsync(function(e,o){if(1===e)return A._asyncRethrow(o,i);for(;;)switch(n){case 0:r=t.value?C.SassBoolean_true:C.SassBoolean_false,n=1;break;case 1:return A._asyncReturn(r,i)}});return A._asyncStartSync(o,i)},visitIfExpression$1(e,t){return this.visitIfExpression$body$_EvaluateVisitor(0,t)},visitIfExpression$body$_EvaluateVisitor(e,t){var r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y=0,$=A._makeAsyncAwaitCompleter(D.Value),x=this,S=A._wrapJsFunctionForAsync(function(e,w){if(1===e)return A._asyncRethrow(w,$);for(;;)switch(y){case 0:n=t.branches,i=n.length,o=D._Future_nullable_Object,s=D._Future_Value,a=D.Future_Value,l=D.JSArray_Record_2_String_and_Value,c=null,u=0;case 3:if(!(u<i)){y=5;break}return d=n[u],h=d._0,p=d._1,(d=null==h?null:h.accept$1(x))instanceof A._Future||((m=new A._Future(I.Zone__current,o))._state=8,m._resultOrListeners=d,d=m),y=6,A._asyncAwait(d,S);case 6:null==(_=w)&&(_=!0),h=(d="string"==typeof _)?_:null,y=d?7:8;break;case 7:return null==c&&(c=A._setArrayType([],l)),d=p.accept$1(x),a._is(d)||((m=new A._Future(I.Zone__current,s))._state=8,m._resultOrListeners=d,d=m),f=c,v=A,b=h,y=9,A._asyncAwait(d,S);case 9:f.push(new v._Record_2(b,w)),y=4;break;case 8:y=(g=!0===_)&&null!=c?10:11;break;case 10:return d=p.accept$1(x),a._is(d)||((m=new A._Future(I.Zone__current,s))._state=8,m._resultOrListeners=d,d=m),f=c,v=A,y=12,A._asyncAwait(d,S);case 12:f.push(new v._Record_2("else",w)),y=4;break;case 11:y=g?13:14;break;case 13:return n=p.accept$1(x),a._is(n)||((i=new A._Future(I.Zone__current,s))._state=8,i._resultOrListeners=n,n=i),y=15,A._asyncAwait(n,S);case 15:r=w,y=1;break;case 14:case 4:++u,y=3;break;case 5:if(null==c){r=C.C__SassNull,y=1;break}r=new A.SassString("if("+new A.MappedListIterable(c,new A._EvaluateVisitor_visitIfExpression_closure0,A._arrayInstanceType(c)._eval$1("MappedListIterable<1,String>")).join$1(0,"; ")+")",!1),y=1;break;case 1:return A._asyncReturn(r,$)}});return A._asyncStartSync(S,$)},visitIfConditionParenthesized$1(e,t){return this.visitIfConditionParenthesized$body$_EvaluateVisitor(0,t)},visitIfConditionParenthesized$body$_EvaluateVisitor(e,t){var r,n,i=0,o=A._makeAsyncAwaitCompleter(D.Object),s=this,a=A._wrapJsFunctionForAsync(function(e,l){if(1===e)return A._asyncRethrow(l,o);for(;;)switch(i){case 0:return i=3,A._asyncAwait(t.expression.accept$1(s),a);case 3:r="string"!=typeof(n=l)?n:"("+n+")",i=1;break;case 1:return A._asyncReturn(r,o)}});return A._asyncStartSync(a,o)},visitIfConditionNegation$1(e,t){return this.visitIfConditionNegation$body$_EvaluateVisitor(0,t)},visitIfConditionNegation$body$_EvaluateVisitor(e,t){var r,n,i,o=0,s=A._makeAsyncAwaitCompleter(D.Object),a=this,l=A._wrapJsFunctionForAsync(function(e,c){if(1===e)return A._asyncRethrow(c,s);for(;;)switch(o){case 0:return o=3,A._asyncAwait(t.expression.accept$1(a),l);case 3:n="string"!=typeof(i=c)?A._isBool(i)?!i:A.throwExpression(A.UnsupportedError$("unreachable")):"not "+i,r=n,o=1;break;case 1:return A._asyncReturn(r,s)}});return A._asyncStartSync(l,s)},visitIfConditionOperation$1(e,t){return this.visitIfConditionOperation$body$_EvaluateVisitor(0,t)},visitIfConditionOperation$body$_EvaluateVisitor(e,t){var r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v=0,b=A._makeAsyncAwaitCompleter(D.Object),y=this,$=A._wrapJsFunctionForAsync(function(e,x){if(1===e)return A._asyncRethrow(x,b);for(;;)switch(v){case 0:n=t.expressions,i=n.length,o=t.op,s=o===C.BooleanOperator_0,a=o===C.BooleanOperator_1,l=D.JSArray_Record_2_IfConditionExpression_and_String,c=null,u=0;case 3:if(!(u<i)){v=5;break}return d=n[u],v=6,A._asyncAwait(d.accept$1(y),$);case 6:if(m=(p="string"==typeof(h=x))?h:null,p){null==c&&(c=A._setArrayType([],l)),c.push(new A._Record_2(d,m)),v=4;break}if(!1===h&&s){r=!1,v=1;break}if(!0===h&&a){r=!0,v=1;break}case 4:++u,v=3;break;case 5:null!=c?((_=1===c.length)?(g=c[0],n=g._0 instanceof A.IfConditionParenthesized):(g=null,n=!1),n?(f=(_?g:c[0])._1,n=C.JSString_methods.substring$2(f,1,f.length-1)):n=new A.MappedListIterable(c,new A._EvaluateVisitor_visitIfConditionOperation_closure0,A._arrayInstanceType(c)._eval$1("MappedListIterable<1,String>")).join$1(0," "+o.toString$0(0)+" ")):n=s,r=n,v=1;break;case 1:return A._asyncReturn(r,b)}});return A._asyncStartSync($,b)},visitIfConditionFunction$1(e,t){return this.visitIfConditionFunction$body$_EvaluateVisitor(0,t)},visitIfConditionFunction$body$_EvaluateVisitor(e,t){var r,n,i,o=0,s=A._makeAsyncAwaitCompleter(D.Object),a=this,l=A._wrapJsFunctionForAsync(function(e,c){if(1===e)return A._asyncRethrow(c,s);for(;;)switch(o){case 0:return n=C.JSString_methods,i=w,o=3,A._asyncAwait(a._async_evaluate$_performInterpolation$1(t.name),l);case 3:return i=i.$add$ansx(c,"("),o=4,A._asyncAwait(a._async_evaluate$_performInterpolation$1(t.$arguments),l);case 4:r=n.$add(i,c)+")",o=1;break;case 1:return A._asyncReturn(r,s)}});return A._asyncStartSync(l,s)},visitIfConditionSass$1(e,t){return this.visitIfConditionSass$body$_EvaluateVisitor(0,t)},visitIfConditionSass$body$_EvaluateVisitor(e,t){var r,n=0,i=A._makeAsyncAwaitCompleter(D.Object),o=this,s=A._wrapJsFunctionForAsync(function(e,a){if(1===e)return A._asyncRethrow(a,i);for(;;)switch(n){case 0:return n=3,A._asyncAwait(t.expression.accept$1(o),s);case 3:r=a.get$isTruthy(),n=1;break;case 1:return A._asyncReturn(r,i)}});return A._asyncStartSync(s,i)},visitIfConditionRaw$1(e,t){return this.visitIfConditionRaw$body$_EvaluateVisitor(0,t)},visitIfConditionRaw$body$_EvaluateVisitor(e,t){var r,n=0,i=A._makeAsyncAwaitCompleter(D.Object),o=this,s=A._wrapJsFunctionForAsync(function(e,a){if(1===e)return A._asyncRethrow(a,i);for(;;)switch(n){case 0:return n=3,A._asyncAwait(o._async_evaluate$_performInterpolation$1(t.text),s);case 3:r=a,n=1;break;case 1:return A._asyncReturn(r,i)}});return A._asyncStartSync(s,i)},visitLegacyIfExpression$1(e,t){return this.visitLegacyIfExpression$body$_EvaluateVisitor(0,t)},visitLegacyIfExpression$body$_EvaluateVisitor(e,t){var r,n,i,o,s,a,l,c,u,d=0,h=A._makeAsyncAwaitCompleter(D.Value),p=this,m=A._wrapJsFunctionForAsync(function(e,_){if(1===e)return A._asyncRethrow(_,h);for(;;)switch(d){case 0:return d=3,A._asyncAwait(p._async_evaluate$_evaluateMacroArguments$1(t),m);case 3:return c=(l=_)._0,u=l._1,p._async_evaluate$_verifyArguments$4(w.get$length$asx(c),u,I.$get$LegacyIfExpression_declaration(),t),null==(n=A.ListExtensions_elementAtOrNull(c,0))&&((i=u.$index(0,"condition")).toString,n=i),null==(o=A.ListExtensions_elementAtOrNull(c,1))&&((i=u.$index(0,"if-true")).toString,o=i),null==(s=A.ListExtensions_elementAtOrNull(c,2))&&((i=u.$index(0,"if-false")).toString,s=i),d=4,A._asyncAwait(n.accept$1(p),m);case 4:return a=_.get$isTruthy()?o:s,i=a.accept$1(p),d=5,A._asyncAwait(D.Future_Value._is(i)?i:A._Future$value(i,D.Value),m);case 5:r=p._async_evaluate$_withoutSlash$2(_,p._async_evaluate$_expressionNode$1(a)),d=1;break;case 1:return A._asyncReturn(r,h)}});return A._asyncStartSync(m,h)},visitNullExpression$1(e,t){return this.visitNullExpression$body$_EvaluateVisitor(0,t)},visitNullExpression$body$_EvaluateVisitor(e,t){var r,n=0,i=A._makeAsyncAwaitCompleter(D.Value),o=A._wrapJsFunctionForAsync(function(e,t){if(1===e)return A._asyncRethrow(t,i);for(;;)switch(n){case 0:r=C.C__SassNull,n=1;break;case 1:return A._asyncReturn(r,i)}});return A._asyncStartSync(o,i)},visitNumberExpression$1(e,t){return this.visitNumberExpression$body$_EvaluateVisitor(0,t)},visitNumberExpression$body$_EvaluateVisitor(e,t){var r,n=0,i=A._makeAsyncAwaitCompleter(D.SassNumber),o=A._wrapJsFunctionForAsync(function(e,o){if(1===e)return A._asyncRethrow(o,i);for(;;)switch(n){case 0:r=A.SassNumber_SassNumber(t.value,t.unit),n=1;break;case 1:return A._asyncReturn(r,i)}});return A._asyncStartSync(o,i)},visitParenthesizedExpression$1(e,t){var r=this;return r._async_evaluate$_assertInModule$2(r._async_evaluate$__stylesheet,"_stylesheet").plainCss?A.throwExpression(r._async_evaluate$_exception$2("Parentheses aren't allowed in plain CSS.",t.span)):t.expression.accept$1(r)},visitColorExpression$1(e,t){return this.visitColorExpression$body$_EvaluateVisitor(0,t)},visitColorExpression$body$_EvaluateVisitor(e,t){var r,n=0,i=A._makeAsyncAwaitCompleter(D.SassColor),o=A._wrapJsFunctionForAsync(function(e,o){if(1===e)return A._asyncRethrow(o,i);for(;;)switch(n){case 0:r=t.value,n=1;break;case 1:return A._asyncReturn(r,i)}});return A._asyncStartSync(o,i)},visitListExpression$1(e,t){return this.visitListExpression$body$_EvaluateVisitor(0,t)},visitListExpression$body$_EvaluateVisitor(e,t){var r,n,i=0,o=A._makeAsyncAwaitCompleter(D.SassList),s=this,a=A._wrapJsFunctionForAsync(function(e,l){if(1===e)return A._asyncRethrow(l,o);for(;;)switch(i){case 0:return n=A,i=3,A._asyncAwait(A.mapAsync(t.contents,new A._EvaluateVisitor_visitListExpression_closure0(s),D.Expression,D.Value),a);case 3:r=n.SassList$(l,t.separator,t.hasBrackets),i=1;break;case 1:return A._asyncReturn(r,o)}});return A._asyncStartSync(a,o)},visitMapExpression$1(e,t){return this.visitMapExpression$body$_EvaluateVisitor(0,t)},visitMapExpression$body$_EvaluateVisitor(e,t){var r,n,i,o,s,a,l,c,u,d,h,p,m=0,_=A._makeAsyncAwaitCompleter(D.SassMap),g=this,f=A._wrapJsFunctionForAsync(function(e,v){if(1===e)return A._asyncRethrow(v,_);for(;;)switch(m){case 0:d=D.Value,h=A.LinkedHashMap_LinkedHashMap$_empty(d,d),p=A.LinkedHashMap_LinkedHashMap$_empty(d,D.AstNode),n=t.pairs,i=n.length,o=0;case 3:if(!(o<i)){m=5;break}return s=n[o],a=s._0,m=6,A._asyncAwait(a.accept$1(g),f);case 6:return l=v,m=7,A._asyncAwait(s._1.accept$1(g),f);case 7:if(c=v,h.containsKey$1(l))throw d=p.$index(0,l),u=null==d?null:d.get$span(d),d=a.get$span(a),n=A.LinkedHashMap_LinkedHashMap$_empty(D.FileSpan,D.String),null!=u&&n.$indexSet(0,u,"first key"),A.wrapException(A.MultiSpanSassRuntimeException$("Duplicate key.",d,"second key",n,g._async_evaluate$_stackTrace$1(a.get$span(a)),null));h.$indexSet(0,l,c),p.$indexSet(0,l,a);case 4:++o,m=3;break;case 5:r=new A.SassMap(A.ConstantMap_ConstantMap$from(h,d,d)),m=1;break;case 1:return A._asyncReturn(r,_)}});return A._asyncStartSync(f,_)},visitFunctionExpression$1(e,t){return this.visitFunctionExpression$body$_EvaluateVisitor(0,t)},visitFunctionExpression$body$_EvaluateVisitor(e,t){var r,n,i,o,s,a,l,c,u,d,h=0,p=A._makeAsyncAwaitCompleter(D.Value),m=this,_=A._wrapJsFunctionForAsync(function(e,g){if(1===e)return A._asyncRethrow(g,p);for(;;)switch(h){case 0:u={},d=m._async_evaluate$_assertInModule$2(m._async_evaluate$__stylesheet,"_stylesheet").plainCss?null:m._async_evaluate$_addExceptionSpan$2(t,new A._EvaluateVisitor_visitFunctionExpression_closure2(m,t)),u.$function=d,h=null==d||C.JSString_methods.startsWith$1(t.originalName,"--")?3:4;break;case 3:if(null!=t.namespace)throw A.wrapException(m._async_evaluate$_exception$2("Undefined function.",t.span));n=t.name,i=n.toLowerCase(),o=!1,"min"===i||"max"===i||"round"===i||"abs"===i?(o=t.$arguments,s=o.named,o=s.get$isEmpty(s)&&null==o.rest&&C.JSArray_methods.every$1(o.positional,new A._EvaluateVisitor_visitFunctionExpression_closure3),a=i):a=null,h=o?5:6;break;case 5:return h=7,A._asyncAwait(m._async_evaluate$_visitCalculation$2$inLegacySassFunction(t,a),_);case 7:r=g,h=1;break;case 6:h="calc"===i||"clamp"===i||"hypot"===i||"sin"===i||"cos"===i||"tan"===i||"asin"===i||"acos"===i||"atan"===i||"sqrt"===i||"exp"===i||"sign"===i||"mod"===i||"rem"===i||"atan2"===i||"pow"===i||"log"===i||"calc-size"===i?8:9;break;case 8:return h=10,A._asyncAwait(m._async_evaluate$_visitCalculation$1(t),_);case 10:r=g,h=1;break;case 9:d=m._async_evaluate$_assertInModule$2(m._async_evaluate$__stylesheet,"_stylesheet").plainCss?null:m._async_evaluate$_builtInFunctions.$index(0,n),u.$function=null==d?new A.PlainCssCallable(t.originalName):d;case 4:return l=m._async_evaluate$_inFunction,m._async_evaluate$_inFunction=!0,h=11,A._asyncAwait(m._async_evaluate$_addErrorSpan$1$2(t,new A._EvaluateVisitor_visitFunctionExpression_closure4(u,m,t),D.Value),_);case 11:c=g,m._async_evaluate$_inFunction=l,r=c,h=1;break;case 1:return A._asyncReturn(r,p)}});return A._asyncStartSync(_,p)},_async_evaluate$_visitCalculation$2$inLegacySassFunction(e,t){return this._visitCalculation$body$_EvaluateVisitor(e,t)},_async_evaluate$_visitCalculation$1(e){return this._async_evaluate$_visitCalculation$2$inLegacySassFunction(e,null)},_visitCalculation$body$_EvaluateVisitor(e,t){var r,n,i,o,s,a,l,c,u,d,h,p,m=0,_=A._makeAsyncAwaitCompleter(D.Value),g=this,f=A._wrapJsFunctionForAsync(function(v,b){if(1===v)return A._asyncRethrow(b,_);for(;;)switch(m){case 0:if(d=e.$arguments,(h=d.named).get$isNotEmpty(h))throw A.wrapException(g._async_evaluate$_exception$2(P.Keywor,e.span));if(null!=d.rest)throw A.wrapException(g._async_evaluate$_exception$2(P.Rest_a,e.span));g._async_evaluate$_checkCalculationArguments$1(e),h=A._setArrayType([],D.JSArray_Object),d=d.positional,c=d.length,u=0;case 3:if(!(u<c)){m=5;break}return p=h,m=6,A._asyncAwait(g._async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(d[u],t),f);case 6:p.push(b);case 4:++u,m=3;break;case 5:if(n=h,g._async_evaluate$_inSupportsDeclaration){r=new A.SassCalculation(e.name,A.List_List$unmodifiable(n,D.Object)),m=1;break}i=g._async_evaluate$_callableNode,g._async_evaluate$_callableNode=e;try{o=null,h=e.name,"calc"!==(s=h.toLowerCase())?"sqrt"!==s?"sin"!==s?"cos"!==s?"tan"!==s?"asin"!==s?"acos"!==s?"atan"!==s?"abs"!==s?"exp"!==s?"sign"!==s?"min"!==s?"max"!==s?"hypot"!==s?"pow"!==s?"atan2"!==s?"log"!==s?"mod"!==s?"rem"!==s?"round"!==s?"clamp"!==s?"calc-size"!==s?(h=A.UnsupportedError$('Unknown calculation name "'+h+'".'),o=A.throwExpression(h)):o=A.SassCalculation_calcSize(w.$index$asx(n,0),A.ListExtensions_elementAtOrNull(n,1)):o=A.SassCalculation_clamp(w.$index$asx(n,0),A.ListExtensions_elementAtOrNull(n,1),A.ListExtensions_elementAtOrNull(n,2)):o=A.SassCalculation_roundInternal(w.$index$asx(n,0),A.ListExtensions_elementAtOrNull(n,1),A.ListExtensions_elementAtOrNull(n,2),t,e.span,new A._EvaluateVisitor__visitCalculation_closure0(g,e)):o=A.SassCalculation_rem(w.$index$asx(n,0),A.ListExtensions_elementAtOrNull(n,1)):o=A.SassCalculation_mod(w.$index$asx(n,0),A.ListExtensions_elementAtOrNull(n,1)):o=A.SassCalculation_log(w.$index$asx(n,0),A.ListExtensions_elementAtOrNull(n,1)):o=A.SassCalculation_atan2(w.$index$asx(n,0),A.ListExtensions_elementAtOrNull(n,1)):o=A.SassCalculation_pow(w.$index$asx(n,0),A.ListExtensions_elementAtOrNull(n,1)):o=A.SassCalculation_hypot(n):o=A.SassCalculation_max(n):o=A.SassCalculation_min(n):o=A.SassCalculation_sign(w.$index$asx(n,0)):o=A.SassCalculation_exp(w.$index$asx(n,0)):o=A.SassCalculation_abs(w.$index$asx(n,0)):o=A.SassCalculation__singleArgument("atan",w.$index$asx(n,0),A.number0__atan$closure(),!0):o=A.SassCalculation__singleArgument("acos",w.$index$asx(n,0),A.number0__acos$closure(),!0):o=A.SassCalculation__singleArgument("asin",w.$index$asx(n,0),A.number0__asin$closure(),!0):o=A.SassCalculation__singleArgument("tan",w.$index$asx(n,0),A.number0__tan$closure(),!1):o=A.SassCalculation__singleArgument("cos",w.$index$asx(n,0),A.number0__cos$closure(),!1):o=A.SassCalculation__singleArgument("sin",w.$index$asx(n,0),A.number0__sin$closure(),!1):o=A.SassCalculation__singleArgument("sqrt",w.$index$asx(n,0),A.number0__sqrt$closure(),!0):o=A.SassCalculation_calc(w.$index$asx(n,0)),r=o,m=1;break}catch(t){if(!((o=A.unwrapException(t))instanceof A.SassScriptException))throw t;a=o,l=A.getTraceFromException(t),C.JSString_methods.contains$1(a.message,"compatible")&&g._async_evaluate$_verifyCompatibleNumbers$2(n,d),A.throwWithTrace(g._async_evaluate$_exception$2(a.message,e.span),a,l)}finally{g._async_evaluate$_callableNode=i}case 1:return A._asyncReturn(r,_)}});return A._asyncStartSync(f,_)},_async_evaluate$_checkCalculationArguments$1(e){var t,r,n=new A._EvaluateVisitor__checkCalculationArguments_check0(this,e);if("calc"!==(r=(t=e.name).toLowerCase())&&"sqrt"!==r&&"sin"!==r&&"cos"!==r&&"tan"!==r&&"asin"!==r&&"acos"!==r&&"atan"!==r&&"abs"!==r&&"exp"!==r&&"sign"!==r)if("min"!==r&&"max"!==r&&"hypot"!==r)if("pow"!==r&&"atan2"!==r&&"log"!==r&&"mod"!==r&&"rem"!==r&&"calc-size"!==r){if("round"!==r&&"clamp"!==r)throw A.wrapException(A.UnsupportedError$('Unknown calculation name "'+t+'".'));n.call$1(3)}else n.call$1(2);else n.call$0();else n.call$1(1)},_async_evaluate$_verifyCompatibleNumbers$2(e,t){var r,n,i,o,s,a,l,c,u,d,h,p;for(r=0;r<(n=e.length);++r)if((i=e[r])instanceof A.SassNumber?(n=i.get$hasComplexUnits(),o=i):(o=null,n=!1),n)throw n=A.S(o),s=t[r],A.wrapException(this._async_evaluate$_exception$2("Number "+n+" isn't compatible with CSS calculations.",s.get$span(s)));for(r=0;r<n-1;++r)if((a=e[r])instanceof A.SassNumber)for(l=r+1;l<(n=e.length);++l)if((c=e[l])instanceof A.SassNumber&&!a.hasPossiblyCompatibleUnits$1(c))throw n=a.toString$0(0),s=c.toString$0(0),u=(u=t[r]).get$span(u),d=a.toString$0(0),h=t[l],h=A.LinkedHashMap_LinkedHashMap$_literal([h.get$span(h),c.toString$0(0)],D.FileSpan,D.String),p=t[r],A.wrapException(A.MultiSpanSassRuntimeException$(n+" and "+s+" are incompatible.",u,d,h,this._async_evaluate$_stackTrace$1(p.get$span(p)),null))},_async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(e,t){return this._visitCalculationExpression$body$_EvaluateVisitor(e,t)},_visitCalculationExpression$body$_EvaluateVisitor(e,t){var r,n,i,o,s,a,l,c,u,d,h,p,m=0,_=A._makeAsyncAwaitCompleter(D.Object),g=this,f=A._wrapJsFunctionForAsync(function(v,b){if(1===v)return A._asyncRethrow(b,_);for(;;)switch(m){case 0:d=e instanceof A.ParenthesizedExpression,h=d?e.expression:null,m=d?3:4;break;case 3:return m=5,A._asyncAwait(g._async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(h,t),f);case 5:r=(n=b)instanceof A.SassString?new A.SassString("("+n._string$_text+")",!1):n,m=1;break;case 4:m=e instanceof A.StringExpression&&e.accept$1(C.C_IsCalculationSafeVisitor)?6:7;break;case 6:if(d=e.text,i=d.get$asPlain(),"pi"===(o=null==i?null:i.toLowerCase())){d=A.SassNumber_SassNumber(3.141592653589793,null),m=8;break}if("e"===o){d=A.SassNumber_SassNumber(2.718281828459045,null),m=8;break}if("infinity"===o){d=A.SassNumber_SassNumber(1/0,null),m=8;break}if("-infinity"===o){d=A.SassNumber_SassNumber(-1/0,null),m=8;break}if("nan"===o){d=A.SassNumber_SassNumber(NaN,null),m=8;break}return p=A,m=9,A._asyncAwait(g._async_evaluate$_performInterpolation$1(d),f);case 9:d=new p.SassString(b,!1),m=8;break;case 8:r=d,m=1;break;case 7:(s={}).right=s.left=s.operator=null,(d=e instanceof A.BinaryOperationExpression)&&(s.operator=e.operator,s.left=e.left,s.right=e.right),m=d?10:11;break;case 10:return g._async_evaluate$_checkWhitespaceAroundCalculationOperator$1(e),m=12,A._asyncAwait(g._addExceptionSpanAsync$1$2(e,new A._EvaluateVisitor__visitCalculationExpression_closure0(s,g,e,t),D.Object),f);case 12:r=b,m=1;break;case 11:m=e instanceof A.NumberExpression||e instanceof A.VariableExpression||e instanceof A.FunctionExpression||e instanceof A.LegacyIfExpression?13:14;break;case 13:return m=15,A._asyncAwait(e.accept$1(g),f);case 15:(a=b)instanceof A.SassNumber||a instanceof A.SassCalculation?d=a:(a instanceof A.SassString?(d=!a._hasQuotes,n=a):(n=null,d=!1),d=d?n:A.throwExpression(g._async_evaluate$_exception$2("Value "+a.toString$0(0)+" can't be used in a calculation.",e.get$span(e)))),r=d,m=1;break;case 14:m=e instanceof A.ListExpression&&!e.hasBrackets&&C.ListSeparator_SrV===e.separator&&e.contents.length>=2?16:17;break;case 16:d=A._setArrayType([],D.JSArray_Object),i=e.contents,l=i.length,c=0;case 18:if(!(c<l)){m=20;break}return p=d,m=21,A._asyncAwait(g._async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(i[c],t),f);case 21:p.push(b);case 19:++c,m=18;break;case 20:for(g._async_evaluate$_checkAdjacentCalculationValues$2(d,e),u=0;u<d.length;++u)(l=d[u])instanceof A.CalculationOperation&&i[u]instanceof A.ParenthesizedExpression&&(d[u]=new A.SassString("("+l.toString$0(0)+")",!1));r=new A.SassString(C.JSArray_methods.join$1(d," "),!1),m=1;break;case 17:throw A.wrapException(g._async_evaluate$_exception$2(P.This_e,e.get$span(e)));case 1:return A._asyncReturn(r,_)}});return A._asyncStartSync(f,_)},_async_evaluate$_checkWhitespaceAroundCalculationOperator$1(e){var t,r,n,i,o,s,a=e.operator;if((a===C.BinaryOperator_jCK||a===C.BinaryOperator_tDf)&&(t=(t=(a=e.left).get$span(a)).get$file(t))===(n=(r=e.right).get$span(r)).get$file(n)&&(t=(t=a.get$span(a)).get$end(t),n=r.get$span(r),!(t.offset>=n.get$start(n).offset)&&(t=(t=a.get$span(a)).get$file(t),a=(a=a.get$span(a)).get$end(a),r=r.get$span(r),o=(i=A.String_String$fromCharCodes(C.NativeUint32List_methods.sublist$2(t._decodedChars,a.offset,r.get$start(r).offset),0,null)).charCodeAt(0),s=i.charCodeAt(i.length-1),a=32!==o&&9!==o&&10!==o&&13!==o&&12!==o&&47!==o||!(32===s||9===s||10===s||13===s||12===s||47===s))))throw A.wrapException(this._async_evaluate$_exception$2(P.x22x2b__an,e.get$operatorSpan()))},_async_evaluate$_binaryOperatorToCalculationOperator$2(e,t){return C.BinaryOperator_jCK!==e?C.BinaryOperator_tDf!==e?C.BinaryOperator_wkM!==e?C.BinaryOperator_ehp!==e?A.throwExpression(this._async_evaluate$_exception$2(P.This_o,t.get$operatorSpan())):C.CalculationOperator_wFL:C.CalculationOperator_LPB:C.CalculationOperator_KrC:C.CalculationOperator_dpX},_async_evaluate$_checkAdjacentCalculationValues$2(e,t){var r,n,i,o,s,a,l,c;for(r=e.length,n=1;n<r;++n)if(o=e[i=n-1],s=e[n],!(o instanceof A.SassString||s instanceof A.SassString))throw a=(r=t.contents)[i],(l=r[n])instanceof A.UnaryOperationExpression?(c=l.operator,r=C.UnaryOperator_hCO===c||C.UnaryOperator_n2K===c):r=!1,(r=!!r||l instanceof A.NumberExpression&&l.value<0)?A.wrapException(this._async_evaluate$_exception$2(P.x22x2b__an,A.FileSpanExtension_subspan(l.get$span(l),0,1))):A.wrapException(this._async_evaluate$_exception$2("Missing math operator.",a.get$span(a).expand$1(0,l.get$span(l))))},visitInterpolatedFunctionExpression$1(e,t){return this.visitInterpolatedFunctionExpression$body$_EvaluateVisitor(0,t)},visitInterpolatedFunctionExpression$body$_EvaluateVisitor(e,t){var r,n,i,o,s=0,a=A._makeAsyncAwaitCompleter(D.Value),l=this,c=A._wrapJsFunctionForAsync(function(e,u){if(1===e)return A._asyncRethrow(u,a);for(;;)switch(s){case 0:return s=3,A._asyncAwait(l._async_evaluate$_performInterpolation$1(t.name),c);case 3:return i=u,o=l._async_evaluate$_inFunction,l._async_evaluate$_inFunction=!0,s=4,A._asyncAwait(l._async_evaluate$_addErrorSpan$1$2(t,new A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure0(l,t,new A.PlainCssCallable(i)),D.Value),c);case 4:n=u,l._async_evaluate$_inFunction=o,r=n,s=1;break;case 1:return A._asyncReturn(r,a)}});return A._asyncStartSync(c,a)},_async_evaluate$_runUserDefinedCallable$1$4(e,t,r,n,i){return this._runUserDefinedCallable$body$_EvaluateVisitor(e,t,r,n,i,i)},_runUserDefinedCallable$body$_EvaluateVisitor(e,t,r,n,i,o){var s,a,l,c,u,d=0,h=A._makeAsyncAwaitCompleter(o),p=this,m=A._wrapJsFunctionForAsync(function(o,_){if(1===o)return A._asyncRethrow(_,h);for(;;)switch(d){case 0:return d=3,A._asyncAwait(p._async_evaluate$_evaluateArguments$1(e),m);case 3:return c=_,"@content"!==(u=t.declaration.name)&&(u+="()"),a=p._async_evaluate$_inDependency,p._async_evaluate$_inDependency=t.inDependency,d=4,A._asyncAwait(p._async_evaluate$_withStackFrame$1$3(u,r,new A._EvaluateVisitor__runUserDefinedCallable_closure0(p,t,c,r,n,i),i),m);case 4:l=_,p._async_evaluate$_inDependency=a,s=l,d=1;break;case 1:return A._asyncReturn(s,h)}});return A._asyncStartSync(m,h)},_async_evaluate$_runFunctionCallable$3(e,t,r){return this._runFunctionCallable$body$_EvaluateVisitor(e,t,r)},_runFunctionCallable$body$_EvaluateVisitor(e,t,r){var n,i,o,s,a,l,c,u,d,h,p,m,_,g,f=0,v=A._makeAsyncAwaitCompleter(D.Value),b=2,y=[],$=this,x=A._wrapJsFunctionForAsync(function(S,E){for(1===S&&(y.push(E),f=b);;)switch(f){case 0:f=D.AsyncBuiltInCallable._is(t)?3:5;break;case 3:return f=6,A._asyncAwait($._async_evaluate$_runBuiltInCallable$3(e,t,r),x);case 6:n=$._async_evaluate$_withoutSlash$2(E,r),f=1;break;case 5:f=D.UserDefinedCallable_AsyncEnvironment._is(t)?7:9;break;case 7:return f=10,A._asyncAwait($._async_evaluate$_runUserDefinedCallable$1$4(e,t,r,new A._EvaluateVisitor__runFunctionCallable_closure0($,t),D.Value),x);case 10:n=E,f=1;break;case 9:f=t instanceof A.PlainCssCallable?11:13;break;case 11:if((u=e.named).get$isNotEmpty(u)||null!=e.keywordRest)throw A.wrapException($._async_evaluate$_exception$2(P.Plain_,r.get$span(r)));i=new A.StringBuffer(t.name+"("),b=15,o=!0,u=e.positional,d=u.length,h=0;case 18:if(!(h<d)){f=20;break}return s=u[h],o?o=!1:i._contents+=", ",p=i,g=A,f=21,A._asyncAwait($._evaluateToCss$1(s),x);case 21:m=g.S(E),p._contents+=m;case 19:++h,f=18;break;case 20:a=e.rest,f=null!=a?22:23;break;case 22:return f=24,A._asyncAwait(a.accept$1($),x);case 24:l=E,o||(i._contents+=", "),u=i,d=$._async_evaluate$_serialize$2(l,a),u._contents+=d;case 23:b=2,f=17;break;case 15:if(b=14,_=y.pop(),u=A.unwrapException(_),D.SassRuntimeException._is(u)){if(c=u,!C.JSString_methods.endsWith$1(c._span_exception$_message,"isn't a valid CSS value."))throw _;throw A.wrapException(A.MultiSpanSassRuntimeException$(c._span_exception$_message,w.get$span$x(c),"value",A.LinkedHashMap_LinkedHashMap$_literal([r.get$span(r),"unknown function treated as plain CSS"],D.FileSpan,D.String),w.get$trace$z(c),null))}throw _;case 14:f=2;break;case 17:u=i,d=A.Primitives_stringFromCharCode(41),u._contents+=d,d=i._contents,n=new A.SassString((d.charCodeAt(0),d),!1),f=1;break;case 13:throw A.wrapException(A.ArgumentError$("Unknown callable type "+w.get$runtimeType$(t).toString$0(0)+".",null));case 12:case 8:case 4:case 1:return A._asyncReturn(n,v);case 2:return A._asyncRethrow(y.at(-1),v)}});return A._asyncStartSync(x,v)},_async_evaluate$_runBuiltInCallable$3(e,t,r){return this._runBuiltInCallable$body$_EvaluateVisitor(e,t,r)},_runBuiltInCallable$body$_EvaluateVisitor(e,t,r){var n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y,$,x,S,E,M=0,k=A._makeAsyncAwaitCompleter(D.Value),T=2,R=[],L=this,P=A._wrapJsFunctionForAsync(function(N,F){for(1===N&&(R.push(F),M=T);;)switch(M){case 0:return $={},M=3,A._asyncAwait(L._async_evaluate$_evaluateArguments$1(e),P);case 3:x=F,S=L._async_evaluate$_callableNode,L._async_evaluate$_callableNode=r,a=new A.MapKeySet(x._values[0],D.MapKeySet_String),$.callback=$.overload=null,l=t.callbackFor$2(w.get$length$asx(x._values[2]),a),$.overload=l._0,$.callback=l._1,L._async_evaluate$_addExceptionSpan$2(r,new A._EvaluateVisitor__runBuiltInCallable_closure2($,x,a)),c=$.overload.parameters,u=w.get$length$asx(x._values[2]),d=c.length,h=D._Future_Value,p=D.Future_Value;case 4:if(!(u<d)){M=6;break}m=c[u],_=x._values[2],g=x._values[0].remove$1(0,m.name),M=null==g?7:8;break;case 7:return g=m.defaultValue,f=g.accept$1(L),p._is(f)||((v=new A._Future(I.Zone__current,h))._state=8,v._resultOrListeners=f,f=v),M=9,A._asyncAwait(f,P);case 9:g=L._async_evaluate$_withoutSlash$2(F,g);case 8:w.add$1$ax(_,g);case 5:++u,M=4;break;case 6:return null!=$.overload.restParameter?(w.get$length$asx(x._values[2])>d?(b=w.sublist$1$ax(x._values[2],d),w.removeRange$2$ax(x._values[2],d,w.get$length$asx(x._values[2]))):b=C.List_empty8,d=x._values[0],y=A.SassArgumentList$(b,d,x._values[4]===C.ListSeparator_undecided_null_3_undecided?C.ListSeparator_z0K:x._values[4]),w.add$1$ax(x._values[2],y)):y=null,i=null,T=11,M=14,A._asyncAwait(L._addExceptionSpanAsync$1$2(r,new A._EvaluateVisitor__runBuiltInCallable_closure3($,x),D.Value),P);case 14:i=F,T=2,M=13;break;case 11:if(T=10,E=R.pop(),(d=A.unwrapException(E))instanceof A.SassException)throw E;o=d,s=A.getTraceFromException(E),A.throwWithTrace(L._async_evaluate$_exception$2(L._async_evaluate$_getErrorMessage$1(o),r.get$span(r)),o,s),M=13;break;case 10:M=2;break;case 13:if(L._async_evaluate$_callableNode=S,null==y){n=i,M=1;break}if((d=x._values[0]).get$isEmpty(d)){n=i,M=1;break}if(y._wereKeywordsAccessed){n=i,M=1;break}throw d=(d=x._values[0]).get$keys(d),d=A.pluralize("parameter",d.get$length(d),null),h=(h=x._values[0]).get$keys(h),A.wrapException(A.MultiSpanSassRuntimeException$("No "+d+" named "+A.toSentence(h.map$1$1(h,new A._EvaluateVisitor__runBuiltInCallable_closure4,D.Object),"or")+".",r.get$span(r),"invocation",A.LinkedHashMap_LinkedHashMap$_literal([$.overload.get$spanWithName(),"declaration"],D.FileSpan,D.String),L._async_evaluate$_stackTrace$1(r.get$span(r)),null));case 1:return A._asyncReturn(n,k);case 2:return A._asyncRethrow(R.at(-1),k)}});return A._asyncStartSync(P,k)},_async_evaluate$_evaluateArguments$1(e){return this._evaluateArguments$body$_EvaluateVisitor(e)},_evaluateArguments$body$_EvaluateVisitor(e){var t,r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y,$,x,S,w,E,M,k=0,T=A._makeAsyncAwaitCompleter(D.Record_5_Map_String_Value_named_and_Map_String_AstNode_namedNodes_and_List_Value_positional_and_List_AstNode_positionalNodes_and_ListSeparator_separator),R=this,L=A._wrapJsFunctionForAsync(function(N,F){if(1===N)return A._asyncRethrow(F,T);for(;;)switch(k){case 0:S=A._setArrayType([],D.JSArray_Value),w=A._setArrayType([],D.JSArray_AstNode),r=e.positional,n=r.length,i=D._Future_Value,o=D.Future_Value,s=0;case 3:if(!(s<n)){k=5;break}return a=r[s],l=R._async_evaluate$_expressionNode$1(a),c=a.accept$1(R),o._is(c)||((u=new A._Future(I.Zone__current,i))._state=8,u._resultOrListeners=c,c=u),E=S,k=6,A._asyncAwait(c,L);case 6:E.push(R._async_evaluate$_withoutSlash$2(F,l)),w.push(l);case 4:++s,k=3;break;case 5:r=D.String,d=A.LinkedHashMap_LinkedHashMap$_empty(r,D.Value),n=D.AstNode,h=A.LinkedHashMap_LinkedHashMap$_empty(r,n),c=(c=A.MapExtensions_get_pairs(e.named,r,D.Expression)).get$iterator(c);case 7:if(!c.moveNext$0()){k=8;break}return u=c.get$current(c),p=u._0,m=u._1,l=R._async_evaluate$_expressionNode$1(m),u=m.accept$1(R),o._is(u)||((_=new A._Future(I.Zone__current,i))._state=8,_._resultOrListeners=u,u=_),E=d,M=p,k=9,A._asyncAwait(u,L);case 9:E.$indexSet(0,M,R._async_evaluate$_withoutSlash$2(F,l)),h.$indexSet(0,p,l),k=7;break;case 8:if(null==(g=e.rest)){t=new A._Record_5_named_namedNodes_positional_positionalNodes_separator([d,h,S,w,C.ListSeparator_undecided_null_3_undecided]),k=1;break}return k=10,A._asyncAwait(g.accept$1(R),L);case 10:if(f=F,v=R._async_evaluate$_expressionNode$1(g),f instanceof A.SassMap){for(R._async_evaluate$_addRestMap$4(d,f,g,new A._EvaluateVisitor__evaluateArguments_closure3),i=A.LinkedHashMap_LinkedHashMap$_empty(r,n),o=(o=(o=f._map$_contents).get$keys(o)).get$iterator(o),c=D.SassString;o.moveNext$0();)i.$indexSet(0,c._as(o.get$current(o))._string$_text,v);h.addAll$1(0,i),b=C.ListSeparator_undecided_null_3_undecided}else f instanceof A.SassList?(i=f._list$_contents,C.JSArray_methods.addAll$1(S,new A.MappedListIterable(i,new A._EvaluateVisitor__evaluateArguments_closure4(R,v),A._arrayInstanceType(i)._eval$1("MappedListIterable<1,Value>"))),C.JSArray_methods.addAll$1(w,A.List_List$filled(i.length,v,!1,n)),b=f._separator,f instanceof A.SassArgumentList&&(f._wereKeywordsAccessed=!0,f._keywords.forEach$1(0,new A._EvaluateVisitor__evaluateArguments_closure5(R,d,v,h)))):(S.push(R._async_evaluate$_withoutSlash$2(f,v)),w.push(v),b=C.ListSeparator_undecided_null_3_undecided);if(null==(y=e.keywordRest)){t=new A._Record_5_named_namedNodes_positional_positionalNodes_separator([d,h,S,w,b]),k=1;break}return k=11,A._asyncAwait(y.accept$1(R),L);case 11:if($=F,x=R._async_evaluate$_expressionNode$1(y),$ instanceof A.SassMap){for(R._async_evaluate$_addRestMap$4(d,$,y,new A._EvaluateVisitor__evaluateArguments_closure6),r=A.LinkedHashMap_LinkedHashMap$_empty(r,n),n=(n=(n=$._map$_contents).get$keys(n)).get$iterator(n),i=D.SassString;n.moveNext$0();)r.$indexSet(0,i._as(n.get$current(n))._string$_text,x);h.addAll$1(0,r),t=new A._Record_5_named_namedNodes_positional_positionalNodes_separator([d,h,S,w,b]),k=1;break}throw A.wrapException(R._async_evaluate$_exception$2(P.Variabs+$.toString$0(0)+").",y.get$span(y)));case 1:return A._asyncReturn(t,T)}});return A._asyncStartSync(L,T)},_async_evaluate$_evaluateMacroArguments$1(e){return this._evaluateMacroArguments$body$_EvaluateVisitor(e)},_evaluateMacroArguments$body$_EvaluateVisitor(e){var t,r,n,i,o,s,a,l,c,u,d,h=0,p=A._makeAsyncAwaitCompleter(D.Record_2_List_Expression_and_Map_String_Expression),m=this,_=A._wrapJsFunctionForAsync(function(g,f){if(1===g)return A._asyncRethrow(f,p);for(;;)switch(h){case 0:if(u=e.$arguments,null==(d=u.rest)){t=new A._Record_2(u.positional,u.named),h=1;break}return r=u.positional,n=A._setArrayType(r.slice(0),A._arrayInstanceType(r)),i=A.LinkedHashMap_LinkedHashMap$of(u.named,D.String,D.Expression),h=3,A._asyncAwait(d.accept$1(m),_);case 3:if(o=f,s=m._async_evaluate$_expressionNode$1(d),o instanceof A.SassMap?m._async_evaluate$_addRestMap$4(i,o,e,new A._EvaluateVisitor__evaluateMacroArguments_closure3(d)):o instanceof A.SassList?(r=o._list$_contents,C.JSArray_methods.addAll$1(n,new A.MappedListIterable(r,new A._EvaluateVisitor__evaluateMacroArguments_closure4(m,s,d),A._arrayInstanceType(r)._eval$1("MappedListIterable<1,Expression>"))),o instanceof A.SassArgumentList&&(o._wereKeywordsAccessed=!0,o._keywords.forEach$1(0,new A._EvaluateVisitor__evaluateMacroArguments_closure5(m,i,s,d)))):n.push(new A.ValueExpression(m._async_evaluate$_withoutSlash$2(o,s),d.get$span(d))),null==(a=u.keywordRest)){t=new A._Record_2(n,i),h=1;break}return h=4,A._asyncAwait(a.accept$1(m),_);case 4:if(l=f,c=m._async_evaluate$_expressionNode$1(a),l instanceof A.SassMap){m._async_evaluate$_addRestMap$4(i,l,e,new A._EvaluateVisitor__evaluateMacroArguments_closure6(m,c,a)),t=new A._Record_2(n,i),h=1;break}throw A.wrapException(m._async_evaluate$_exception$2(P.Variabs+l.toString$0(0)+").",a.get$span(a)));case 1:return A._asyncReturn(t,p)}});return A._asyncStartSync(_,p)},_async_evaluate$_addRestMap$1$4(e,t,r,n){t._map$_contents.forEach$1(0,new A._EvaluateVisitor__addRestMap_closure0(this,e,n,this._async_evaluate$_expressionNode$1(r),t,r))},_async_evaluate$_addRestMap$4(e,t,r,n){return this._async_evaluate$_addRestMap$1$4(e,t,r,n,D.dynamic)},_async_evaluate$_verifyArguments$4(e,t,r,n){return this._async_evaluate$_addExceptionSpan$2(n,new A._EvaluateVisitor__verifyArguments_closure0(r,e,t))},visitSelectorExpression$1(e,t){return this.visitSelectorExpression$body$_EvaluateVisitor(0,t)},visitSelectorExpression$body$_EvaluateVisitor(e,t){var r,n,i=0,o=A._makeAsyncAwaitCompleter(D.Value),s=this,a=A._wrapJsFunctionForAsync(function(e,t){if(1===e)return A._asyncRethrow(t,o);for(;;)switch(i){case 0:n=null==(n=s._async_evaluate$_styleRuleIgnoringAtRoot)?null:n.originalSelector.get$asSassList(),r=null==n?C.C__SassNull:n,i=1;break;case 1:return A._asyncReturn(r,o)}});return A._asyncStartSync(a,o)},visitStringExpression$1(e,t){return this.visitStringExpression$body$_EvaluateVisitor(0,t)},visitStringExpression$body$_EvaluateVisitor(e,t){var r,n,i,o,s,a,l,c,u,d,h=0,p=A._makeAsyncAwaitCompleter(D.SassString),m=this,_=A._wrapJsFunctionForAsync(function(e,g){if(1===e)return A._asyncRethrow(g,p);for(;;)switch(h){case 0:d=m._async_evaluate$_inSupportsDeclaration,m._async_evaluate$_inSupportsDeclaration=!1,n=A._setArrayType([],D.JSArray_String),i=t.text.contents,o=i.length,s=0;case 3:if(!(s<o)){h=5;break}if("string"==typeof(a=i[s])){l=a,h=6;break}h=a instanceof A.Expression?7:8;break;case 7:return h=9,A._asyncAwait(a.accept$1(m),_);case 9:(c=g)instanceof A.SassString?(u=c._string$_text,l=u):l=m._async_evaluate$_serialize$3$quote(c,a,!1),h=6;break;case 8:l=A.throwExpression(A.UnsupportedError$("Unknown interpolation value "+A.S(a)));case 6:n.push(l);case 4:++s,h=3;break;case 5:n=C.JSArray_methods.join$0(n),m._async_evaluate$_inSupportsDeclaration=d,r=new A.SassString(n,t.hasQuotes),h=1;break;case 1:return A._asyncReturn(r,p)}});return A._asyncStartSync(_,p)},visitSupportsExpression$1(e,t){return this.visitSupportsExpression$body$_EvaluateVisitor(0,t)},visitSupportsExpression$body$_EvaluateVisitor(e,t){var r,n,i=0,o=A._makeAsyncAwaitCompleter(D.SassString),s=this,a=A._wrapJsFunctionForAsync(function(e,l){if(1===e)return A._asyncRethrow(l,o);for(;;)switch(i){case 0:return n=A,i=3,A._asyncAwait(s._async_evaluate$_visitSupportsCondition$1(t.condition),a);case 3:r=new n.SassString(l,!1),i=1;break;case 1:return A._asyncReturn(r,o)}});return A._asyncStartSync(a,o)},visitCssAtRule$1(e){return this.visitCssAtRule$body$_EvaluateVisitor(e)},visitCssAtRule$body$_EvaluateVisitor(e){var t,r,n,i,o=0,s=A._makeAsyncAwaitCompleter(D.void),a=this,l=A._wrapJsFunctionForAsync(function(c,u){if(1===c)return A._asyncRethrow(u,s);for(;;)switch(o){case 0:if(null!=a._async_evaluate$_declarationName)throw A.wrapException(a._async_evaluate$_exception$2(P.At_rul,e.span));if(e.isChildless){a._async_evaluate$_copyParentAfterSibling$0(),a._async_evaluate$_assertInModule$2(a._async_evaluate$__parent,"__parent").addChild$1(A.ModifiableCssAtRule$(e.name,e.span,!0,e.value)),o=1;break}t=a._async_evaluate$_inKeyframes,r=a._async_evaluate$_inUnknownAtRule,n=e.name,"keyframes"===A.unvendor(n.value)?a._async_evaluate$_inKeyframes=!0:a._async_evaluate$_inUnknownAtRule=!0,i=A.ModifiableCssAtRule$(n,e.span,!1,e.value),o=a.get$_async_evaluate$_hasCssNesting()?3:4;break;case 3:return o=5,A._asyncAwait(a._async_evaluate$_withParent$2$3$scopeWhen(i,new A._EvaluateVisitor_visitCssAtRule_closure2(a,e),!1,D.ModifiableCssAtRule,D.Null),l);case 5:a._async_evaluate$_inUnknownAtRule=r,a._async_evaluate$_inKeyframes=t,o=1;break;case 4:return o=6,A._asyncAwait(a._async_evaluate$_withParent$2$4$scopeWhen$through(i,new A._EvaluateVisitor_visitCssAtRule_closure3(a,e),!1,new A._EvaluateVisitor_visitCssAtRule_closure4,D.ModifiableCssAtRule,D.Null),l);case 6:a._async_evaluate$_inUnknownAtRule=r,a._async_evaluate$_inKeyframes=t;case 1:return A._asyncReturn(undefined,s)}});return A._asyncStartSync(l,s)},visitCssComment$1(e){return this.visitCssComment$body$_EvaluateVisitor(e)},visitCssComment$body$_EvaluateVisitor(e){var t=A._makeAsyncAwaitCompleter(D.void),r=this,n=A._wrapJsFunctionForAsync(function(n,i){if(1===n)return A._asyncRethrow(i,t);for(;;)return r._async_evaluate$_assertInModule$2(r._async_evaluate$__parent,"__parent")===r._async_evaluate$_assertInModule$2(r._async_evaluate$__root,"_root")&&r._async_evaluate$_assertInModule$2(r._async_evaluate$__endOfImports,"_endOfImports")===w.get$length$asx(r._async_evaluate$_assertInModule$2(r._async_evaluate$__root,"_root").children._collection$_source)&&(r._async_evaluate$__endOfImports=r._async_evaluate$_assertInModule$2(r._async_evaluate$__endOfImports,"_endOfImports")+1),r._async_evaluate$_copyParentAfterSibling$0(),r._async_evaluate$_assertInModule$2(r._async_evaluate$__parent,"__parent").addChild$1(new A.ModifiableCssComment(e.text,e.span)),A._asyncReturn(null,t)});return A._asyncStartSync(n,t)},visitCssDeclaration$1(e){return this.visitCssDeclaration$body$_EvaluateVisitor(e)},visitCssDeclaration$body$_EvaluateVisitor(e){var t=A._makeAsyncAwaitCompleter(D.void),r=this,n=A._wrapJsFunctionForAsync(function(n,i){if(1===n)return A._asyncRethrow(i,t);for(;;)return r._async_evaluate$_copyParentAfterSibling$0(),r._async_evaluate$_assertInModule$2(r._async_evaluate$__parent,"__parent").addChild$1(A.ModifiableCssDeclaration$(e.name,e.value,e.span,e.parsedAsSassScript,e.valueSpanForMap)),A._asyncReturn(null,t)});return A._asyncStartSync(n,t)},visitCssImport$1(e){return this.visitCssImport$body$_EvaluateVisitor(e)},visitCssImport$body$_EvaluateVisitor(e){var t,r,n=A._makeAsyncAwaitCompleter(D.void),i=this,o=A._wrapJsFunctionForAsync(function(o,s){if(1===o)return A._asyncRethrow(s,n);for(;;)return r=new A.ModifiableCssImport(e.url,e.modifiers,e.span),i._async_evaluate$_assertInModule$2(i._async_evaluate$__parent,"__parent")!==i._async_evaluate$_assertInModule$2(i._async_evaluate$__root,"_root")?(i._async_evaluate$_copyParentAfterSibling$0(),i._async_evaluate$_assertInModule$2(i._async_evaluate$__parent,"__parent").addChild$1(r)):i._async_evaluate$_assertInModule$2(i._async_evaluate$__endOfImports,"_endOfImports")===w.get$length$asx(i._async_evaluate$_assertInModule$2(i._async_evaluate$__root,"_root").children._collection$_source)?(i._async_evaluate$_assertInModule$2(i._async_evaluate$__root,"_root").addChild$1(r),i._async_evaluate$__endOfImports=i._async_evaluate$_assertInModule$2(i._async_evaluate$__endOfImports,"_endOfImports")+1):(null==(t=i._async_evaluate$_outOfOrderImports)?i._async_evaluate$_outOfOrderImports=A._setArrayType([],D.JSArray_ModifiableCssImport):t).push(r),A._asyncReturn(null,n)});return A._asyncStartSync(o,n)},visitCssKeyframeBlock$1(e){return this.visitCssKeyframeBlock$body$_EvaluateVisitor(e)},visitCssKeyframeBlock$body$_EvaluateVisitor(e){var t=0,r=A._makeAsyncAwaitCompleter(D.void),n=this,i=A._wrapJsFunctionForAsync(function(o,s){if(1===o)return A._asyncRethrow(s,r);for(;;)switch(t){case 0:return t=2,A._asyncAwait(n._async_evaluate$_withParent$2$4$scopeWhen$through(A.ModifiableCssKeyframeBlock$(e.selector,e.span),new A._EvaluateVisitor_visitCssKeyframeBlock_closure1(n,e),!1,new A._EvaluateVisitor_visitCssKeyframeBlock_closure2,D.ModifiableCssKeyframeBlock,D.Null),i);case 2:return A._asyncReturn(null,r)}});return A._asyncStartSync(i,r)},visitCssMediaRule$1(e){return this.visitCssMediaRule$body$_EvaluateVisitor(e)},visitCssMediaRule$body$_EvaluateVisitor(e){var t,r,n,i,o,s=0,a=A._makeAsyncAwaitCompleter(D.void),l=this,c=A._wrapJsFunctionForAsync(function(u,d){if(1===u)return A._asyncRethrow(d,a);for(;;)switch(s){case 0:if(null!=l._async_evaluate$_declarationName)throw A.wrapException(l._async_evaluate$_exception$2(P.Media_,e.span));s=l.get$_async_evaluate$_hasCssNesting()?3:4;break;case 3:return s=5,A._asyncAwait(l._async_evaluate$_withParent$2$3$scopeWhen(A.ModifiableCssMediaRule$(e.queries,e.span),new A._EvaluateVisitor_visitCssMediaRule_closure3(l,e),!1,D.ModifiableCssMediaRule,D.Null),c);case 5:s=1;break;case 4:if(t=A.NullableExtension_andThen(l._async_evaluate$_mediaQueries,new A._EvaluateVisitor_visitCssMediaRule_closure4(l,e)),!(r=null==t)&&w.get$isEmpty$asx(t)){s=1;break}return r?n=C.Set_empty2:((i=l._async_evaluate$_mediaQuerySources).toString,i=A.LinkedHashSet_LinkedHashSet$of(i,D.CssMediaQuery),(o=l._async_evaluate$_mediaQueries).toString,i.addAll$1(0,o),i.addAll$1(0,e.queries),n=i),r=r?e.queries:t,s=6,A._asyncAwait(l._async_evaluate$_withParent$2$4$scopeWhen$through(A.ModifiableCssMediaRule$(r,e.span),new A._EvaluateVisitor_visitCssMediaRule_closure5(l,t,e,n),!1,new A._EvaluateVisitor_visitCssMediaRule_closure6(n),D.ModifiableCssMediaRule,D.Null),c);case 6:case 1:return A._asyncReturn(undefined,a)}});return A._asyncStartSync(c,a)},visitCssStyleRule$1(e){return this.visitCssStyleRule$body$_EvaluateVisitor(e)},visitCssStyleRule$body$_EvaluateVisitor(e){var t,r,n,i,o,s,a,l,c,u,d=0,h=A._makeAsyncAwaitCompleter(D.void),p=this,m=A._wrapJsFunctionForAsync(function(_,g){if(1===_)return A._asyncRethrow(g,h);for(;;)switch(d){case 0:if(null!=p._async_evaluate$_declarationName)throw A.wrapException(p._async_evaluate$_exception$2(P.Style_n,e.span));if(p._async_evaluate$_inKeyframes&&p._async_evaluate$_assertInModule$2(p._async_evaluate$__parent,"__parent")instanceof A.ModifiableCssKeyframeBlock)throw A.wrapException(p._async_evaluate$_exception$2(P.Style_k,e.span));return t=p._async_evaluate$_atRootExcludingStyleRule,r=t?null:p._async_evaluate$_styleRuleIgnoringAtRoot,n=t?null:p._async_evaluate$_styleRuleIgnoringAtRoot,t=null==n||!n.fromPlainCss&&!(e.fromPlainCss&&e._style_rule$_selector._box$_inner.value.accept$1(C.C__ContainsParentSelectorVisitor)),i=e._style_rule$_selector._box$_inner,t?(i=i.value,o=null==r?null:r.originalSelector,s=i.nestWithin$3$implicitParent$preserveParentSelectors(o,!p._async_evaluate$_atRootExcludingStyleRule,e.fromPlainCss)):s=i.value,a=A.ModifiableCssStyleRule$(p._async_evaluate$_assertInModule$2(p._async_evaluate$__extensionStore,"_extensionStore").addSelector$2(s,p._async_evaluate$_mediaQueries),e.span,e.fromPlainCss,s),l=p._async_evaluate$_atRootExcludingStyleRule,p._async_evaluate$_atRootExcludingStyleRule=!1,t=t?new A._EvaluateVisitor_visitCssStyleRule_closure1:null,d=2,A._asyncAwait(p._async_evaluate$_withParent$2$4$scopeWhen$through(a,new A._EvaluateVisitor_visitCssStyleRule_closure2(p,a,e),!1,t,D.ModifiableCssStyleRule,D.Null),m);case 2:return p._async_evaluate$_atRootExcludingStyleRule=l,t=p._async_evaluate$_assertInModule$2(p._async_evaluate$__parent,"__parent").children._collection$_source,i=w.getInterceptor$asx(t),(c=i.get$length(t))>=1?(u=i.elementAt$1(t,c-1),t=null==r):(u=null,t=!1),t&&(u.isGroupEnd=!0),A._asyncReturn(null,h)}});return A._asyncStartSync(m,h)},visitCssStylesheet$1(e){return this.visitCssStylesheet$body$_EvaluateVisitor(e)},visitCssStylesheet$body$_EvaluateVisitor(e){var t,r=0,n=A._makeAsyncAwaitCompleter(D.void),i=this,o=A._wrapJsFunctionForAsync(function(s,a){if(1===s)return A._asyncRethrow(a,n);for(;;)switch(r){case 0:t=w.get$iterator$ax(e.get$children(e));case 2:if(!t.moveNext$0()){r=3;break}return r=4,A._asyncAwait(t.get$current(t).accept$1(i),o);case 4:r=2;break;case 3:return A._asyncReturn(null,n)}});return A._asyncStartSync(o,n)},visitCssSupportsRule$1(e){return this.visitCssSupportsRule$body$_EvaluateVisitor(e)},visitCssSupportsRule$body$_EvaluateVisitor(e){var t,r=0,n=A._makeAsyncAwaitCompleter(D.void),i=this,o=A._wrapJsFunctionForAsync(function(s,a){if(1===s)return A._asyncRethrow(a,n);for(;;)switch(r){case 0:if(null!=i._async_evaluate$_declarationName)throw A.wrapException(i._async_evaluate$_exception$2(P.Suppor,e.span));t=A.ModifiableCssSupportsRule$(e.condition,e.span),r=i.get$_async_evaluate$_hasCssNesting()?3:4;break;case 3:return r=5,A._asyncAwait(i._async_evaluate$_withParent$2$3$scopeWhen(t,new A._EvaluateVisitor_visitCssSupportsRule_closure2(i,e),!1,D.ModifiableCssSupportsRule,D.Null),o);case 5:r=1;break;case 4:return r=6,A._asyncAwait(i._async_evaluate$_withParent$2$4$scopeWhen$through(t,new A._EvaluateVisitor_visitCssSupportsRule_closure3(i,e),!1,new A._EvaluateVisitor_visitCssSupportsRule_closure4,D.ModifiableCssSupportsRule,D.Null),o);case 6:case 1:return A._asyncReturn(undefined,n)}});return A._asyncStartSync(o,n)},_async_evaluate$_handleReturn$1$2(e,t){return this._handleReturn$body$_EvaluateVisitor(e,t)},_async_evaluate$_handleReturn$2(e,t){return this._async_evaluate$_handleReturn$1$2(e,t,D.dynamic)},_handleReturn$body$_EvaluateVisitor(e,t){var r,n,i,o,s=0,a=A._makeAsyncAwaitCompleter(D.nullable_Value),l=A._wrapJsFunctionForAsync(function(c,u){if(1===c)return A._asyncRethrow(u,a);for(;;)switch(s){case 0:n=e.length,i=0;case 3:if(!(i<e.length)){s=5;break}return s=6,A._asyncAwait(t.call$1(e[i]),l);case 6:if(null!=(o=u)){r=o,s=1;break}case 4:e.length===n||(0,A.throwConcurrentModificationError)(e),++i,s=3;break;case 5:r=null,s=1;break;case 1:return A._asyncReturn(r,a)}});return A._asyncStartSync(l,a)},_async_evaluate$_withEnvironment$1$2(e,t,r){return this._withEnvironment$body$_EvaluateVisitor(e,t,r,r)},_withEnvironment$body$_EvaluateVisitor(e,t,r,n){var i,o,s,a=0,l=A._makeAsyncAwaitCompleter(n),c=this,u=A._wrapJsFunctionForAsync(function(r,n){if(1===r)return A._asyncRethrow(n,l);for(;;)switch(a){case 0:return s=c._async_evaluate$_environment,c._async_evaluate$_environment=e,a=3,A._asyncAwait(t.call$0(),u);case 3:o=n,c._async_evaluate$_environment=s,i=o,a=1;break;case 1:return A._asyncReturn(i,l)}});return A._asyncStartSync(u,l)},_async_evaluate$_interpolationToValue$3$trim$warnForColor(e,t,r){return this._interpolationToValue$body$_EvaluateVisitor(e,t,r)},_async_evaluate$_interpolationToValue$1(e){return this._async_evaluate$_interpolationToValue$3$trim$warnForColor(e,!1,!1)},_async_evaluate$_interpolationToValue$2$warnForColor(e,t){return this._async_evaluate$_interpolationToValue$3$trim$warnForColor(e,!1,t)},_interpolationToValue$body$_EvaluateVisitor(e,t,r){var n,i,o,s=0,a=A._makeAsyncAwaitCompleter(D.CssValue_String),l=this,c=A._wrapJsFunctionForAsync(function(u,d){if(1===u)return A._asyncRethrow(d,a);for(;;)switch(s){case 0:return s=3,A._asyncAwait(l._async_evaluate$_performInterpolation$2$warnForColor(e,r),c);case 3:i=d,o=t?A.trimAscii(i,!0):i,n=new A.CssValue(o,e.span,D.CssValue_String),s=1;break;case 1:return A._asyncReturn(n,a)}});return A._asyncStartSync(c,a)},_async_evaluate$_performInterpolation$2$warnForColor(e,t){return this._performInterpolation$body$_EvaluateVisitor(e,t)},_async_evaluate$_performInterpolation$1(e){return this._async_evaluate$_performInterpolation$2$warnForColor(e,!1)},_performInterpolation$body$_EvaluateVisitor(e,t){var r,n=0,i=A._makeAsyncAwaitCompleter(D.String),o=this,s=A._wrapJsFunctionForAsync(function(a,l){if(1===a)return A._asyncRethrow(l,i);for(;;)switch(n){case 0:return n=3,A._asyncAwait(o._async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor(e,!1,t),s);case 3:r=l._0,n=1;break;case 1:return A._asyncReturn(r,i)}});return A._asyncStartSync(s,i)},_async_evaluate$_performInterpolationWithMap$2$warnForColor(e,t){return this._performInterpolationWithMap$body$_EvaluateVisitor(e,!0)},_performInterpolationWithMap$body$_EvaluateVisitor(e,t){var r,n,i,o,s=0,a=A._makeAsyncAwaitCompleter(D.Record_2_String_and_InterpolationMap),l=this,c=A._wrapJsFunctionForAsync(function(t,u){if(1===t)return A._asyncRethrow(u,a);for(;;)switch(s){case 0:return s=3,A._asyncAwait(l._async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor(e,!0,!0),c);case 3:i=(n=u)._0,(o=n._1).toString,r=new A._Record_2(i,o),s=1;break;case 1:return A._asyncReturn(r,a)}});return A._asyncStartSync(c,a)},_async_evaluate$_performInterpolationHelper$3$sourceMap$warnForColor(e,t,r){return this._performInterpolationHelper$body$_EvaluateVisitor(e,t,r)},_performInterpolationHelper$body$_EvaluateVisitor(e,t,r){var n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b=0,y=A._makeAsyncAwaitCompleter(D.Record_2_String_and_nullable_InterpolationMap),$=this,x=A._wrapJsFunctionForAsync(function(S,w){if(1===S)return A._asyncRethrow(w,y);for(;;)switch(b){case 0:f=t?A._setArrayType([],D.JSArray_int):null,v=$._async_evaluate$_inSupportsDeclaration,$._async_evaluate$_inSupportsDeclaration=!1,i=e.contents,o=i.length,s=D.Expression,a=null==f,l=e.span,c=D.Object,u=!0,d=0,h="";case 3:if(!(d<o)){b=5;break}if(p=i[d],u||a||f.push(h.length),"string"==typeof p){h+=p,b=4;break}return s._as(p),b=6,A._asyncAwait(p.accept$1($),x);case 6:m=w,r&&I.$get$namesByColor().containsKey$1(m)&&((_=A.List_List$from([""],!1,c)).$flags=3,g=I.$get$namesByColor(),$._async_evaluate$_warn$2(P.You_pr+A.S(g.$index(0,m))+P.x20in_in+m.toString$0(0)+P.x2c_whicw+A.S(g.$index(0,m))+P.x22x29__If+new A.BinaryOperationExpression(C.BinaryOperator_jCK,new A.StringExpression(new A.Interpolation(_,C.List_null,l),!0),p,!1).toString$0(0)+"'.",p.get$span(p))),h+=$._async_evaluate$_serialize$3$quote(m,p,!1);case 4:++d,u=!1,b=3;break;case 5:$._async_evaluate$_inSupportsDeclaration=v,n=new A._Record_2((h.charCodeAt(0),h),A.NullableExtension_andThen(f,new A._EvaluateVisitor__performInterpolationHelper_closure0(e))),b=1;break;case 1:return A._asyncReturn(n,y)}});return A._asyncStartSync(x,y)},_evaluateToCss$2$quote(e,t){return this._evaluateToCss$body$_EvaluateVisitor(e,t)},_evaluateToCss$1(e){return this._evaluateToCss$2$quote(e,!0)},_evaluateToCss$body$_EvaluateVisitor(e,t){var r,n,i=0,o=A._makeAsyncAwaitCompleter(D.String),s=this,a=A._wrapJsFunctionForAsync(function(l,c){if(1===l)return A._asyncRethrow(c,o);for(;;)switch(i){case 0:return n=e.accept$1(s),i=3,A._asyncAwait(D.Future_Value._is(n)?n:A._Future$value(n,D.Value),a);case 3:r=s._async_evaluate$_serialize$3$quote(c,e,t),i=1;break;case 1:return A._asyncReturn(r,o)}});return A._asyncStartSync(a,o)},_async_evaluate$_serialize$3$quote(e,t,r){return this._async_evaluate$_addExceptionSpan$2(t,new A._EvaluateVisitor__serialize_closure0(e,r))},_async_evaluate$_serialize$2(e,t){return this._async_evaluate$_serialize$3$quote(e,t,!0)},_async_evaluate$_expressionNode$1(e){var t;return e instanceof A.VariableExpression?null==(t=this._async_evaluate$_addExceptionSpan$2(e,new A._EvaluateVisitor__expressionNode_closure0(this,e)))?e:t:e},_async_evaluate$_withParent$2$4$scopeWhen$through(e,t,r,n,i,o){return this._withParent$body$_EvaluateVisitor(e,t,r,n,i,o,o)},_async_evaluate$_withParent$2$3$scopeWhen(e,t,r,n,i){return this._async_evaluate$_withParent$2$4$scopeWhen$through(e,t,r,null,n,i)},_async_evaluate$_withParent$2$2(e,t,r,n){return this._async_evaluate$_withParent$2$4$scopeWhen$through(e,t,!0,null,r,n)},_withParent$body$_EvaluateVisitor(e,t,r,n,i,o,s){var a,l,c,u=0,d=A._makeAsyncAwaitCompleter(s),h=this,p=A._wrapJsFunctionForAsync(function(i,s){if(1===i)return A._asyncRethrow(s,d);for(;;)switch(u){case 0:return h._async_evaluate$_addChild$2$through(e,n),l=h._async_evaluate$_assertInModule$2(h._async_evaluate$__parent,"__parent"),h._async_evaluate$__parent=e,u=3,A._asyncAwait(h._async_evaluate$_environment.scope$1$2$when(t,r,o),p);case 3:c=s,h._async_evaluate$__parent=l,a=c,u=1;break;case 1:return A._asyncReturn(a,d)}});return A._asyncStartSync(p,d)},_async_evaluate$_copyParentAfterSibling$0(){var e,t,r,n=this,i="__parent",o=n._async_evaluate$_assertInModule$2(n._async_evaluate$__parent,i)._parent;null!=o?(e=(e=o.children).get$last(e)!==n._async_evaluate$_assertInModule$2(n._async_evaluate$__parent,i),t=o):(t=null,e=!1),e&&(r=n._async_evaluate$_assertInModule$2(n._async_evaluate$__parent,i).copyWithoutChildren$0(),t.addChild$1(r),n._async_evaluate$__parent=r)},_async_evaluate$_addChild$2$through(e,t){var r,n,i,o=this._async_evaluate$_assertInModule$2(this._async_evaluate$__parent,"__parent");if(null!=t){for(;t.call$1(o);o=r)if(null==(r=o._parent))throw A.wrapException(A.ArgumentError$(P.throug+e.toString$0(0)+".",null));o.get$hasFollowingSibling()&&(i=(n=o._parent).children,o.equalsIgnoringChildren$1(i.get$last(i))?o=D.ModifiableCssParentNode._as(i.get$last(i)):(o=o.copyWithoutChildren$0(),n.addChild$1(o)))}o.addChild$1(e)},_async_evaluate$_addChild$1(e){return this._async_evaluate$_addChild$2$through(e,null)},_async_evaluate$_withStyleRule$1$2(e,t,r){return this._withStyleRule$body$_EvaluateVisitor(e,t,r,r)},_withStyleRule$body$_EvaluateVisitor(e,t,r,n){var i,o,s,a=0,l=A._makeAsyncAwaitCompleter(n),c=this,u=A._wrapJsFunctionForAsync(function(r,n){if(1===r)return A._asyncRethrow(n,l);for(;;)switch(a){case 0:return s=c._async_evaluate$_styleRuleIgnoringAtRoot,c._async_evaluate$_styleRuleIgnoringAtRoot=e,a=3,A._asyncAwait(t.call$0(),u);case 3:o=n,c._async_evaluate$_styleRuleIgnoringAtRoot=s,i=o,a=1;break;case 1:return A._asyncReturn(i,l)}});return A._asyncStartSync(u,l)},_async_evaluate$_withMediaQueries$1$3(e,t,r,n){return this._withMediaQueries$body$_EvaluateVisitor(e,t,r,n,n)},_withMediaQueries$body$_EvaluateVisitor(e,t,r,n,i){var o,s,a,l,c=0,u=A._makeAsyncAwaitCompleter(i),d=this,h=A._wrapJsFunctionForAsync(function(n,i){if(1===n)return A._asyncRethrow(i,u);for(;;)switch(c){case 0:return a=d._async_evaluate$_mediaQueries,l=d._async_evaluate$_mediaQuerySources,d._async_evaluate$_mediaQueries=e,d._async_evaluate$_mediaQuerySources=t,c=3,A._asyncAwait(r.call$0(),h);case 3:s=i,d._async_evaluate$_mediaQueries=a,d._async_evaluate$_mediaQuerySources=l,o=s,c=1;break;case 1:return A._asyncReturn(o,u)}});return A._asyncStartSync(h,u)},_async_evaluate$_withStackFrame$1$3(e,t,r,n){return this._withStackFrame$body$_EvaluateVisitor(e,t,r,n,n)},_withStackFrame$body$_EvaluateVisitor(e,t,r,n,i){var o,s,a,l,c=0,u=A._makeAsyncAwaitCompleter(i),d=this,h=A._wrapJsFunctionForAsync(function(n,i){if(1===n)return A._asyncRethrow(i,u);for(;;)switch(c){case 0:return(l=d._async_evaluate$_stack).push(new A._Record_2(d._async_evaluate$_member,t)),s=d._async_evaluate$_member,d._async_evaluate$_member=e,c=3,A._asyncAwait(r.call$0(),h);case 3:a=i,d._async_evaluate$_member=s,l.pop(),o=a,c=1;break;case 1:return A._asyncReturn(o,u)}});return A._asyncStartSync(h,u)},_async_evaluate$_withoutSlash$2(e,t){return e instanceof A.SassNumber&&null!=e.asSlash&&this._async_evaluate$_warn$3(P.Using__i+A.S((new A._EvaluateVisitor__withoutSlash_recommendation0).call$1(e))+P.x0a_Morex20,t.get$span(t),C.Deprecation_qZ1),e.withoutSlash$0()},_async_evaluate$_stackFrame$2(e,t){return A.frameForSpan(t,e,A.NullableExtension_andThen(t.get$sourceUrl(t),new A._EvaluateVisitor__stackFrame_closure0(this)))},_async_evaluate$_stackTrace$1(e){var t,r,n,i,o,s=this,a=A._setArrayType([],D.JSArray_Frame);for(r=(t=s._async_evaluate$_stack).length,n=0;n<t.length;t.length===r||(0,A.throwConcurrentModificationError)(t),++n)o=(i=t[n])._1,a.push(s._async_evaluate$_stackFrame$2(i._0,o.get$span(o)));return null!=e&&a.push(s._async_evaluate$_stackFrame$2(s._async_evaluate$_member,e)),A.Trace$(new A.ReversedListIterable(a,D.ReversedListIterable_Frame),null)},_async_evaluate$_stackTrace$0(){return this._async_evaluate$_stackTrace$1(null)},_async_evaluate$_warn$3(e,t,r){var n,i,o=this;o._async_evaluate$_quietDeps&&o._async_evaluate$_inDependency||o._async_evaluate$_warningsEmitted.add$1(0,new A._Record_2(e,t))&&(n=o._async_evaluate$_stackTrace$1(t),i=o._async_evaluate$_logger,null==r?i.internalWarn$4$deprecation$span$trace(e,null,t,n):A.WarnForDeprecation_warnForDeprecation(i,r,e,t,n))},_async_evaluate$_warn$2(e,t){return this._async_evaluate$_warn$3(e,t,null)},_async_evaluate$_exception$2(e,t){var r,n;return r=null==t?(r=C.JSArray_methods.get$last(this._async_evaluate$_stack)._1).get$span(r):t,n=this._async_evaluate$_stackTrace$1(t),new A.SassRuntimeException(n,C.Set_empty,e,r)},_async_evaluate$_exception$1(e){return this._async_evaluate$_exception$2(e,null)},_async_evaluate$_multiSpanException$3(e,t,r){var n=C.JSArray_methods.get$last(this._async_evaluate$_stack)._1;return A.MultiSpanSassRuntimeException$(e,n.get$span(n),t,r,this._async_evaluate$_stackTrace$0(),null)},_async_evaluate$_addExceptionSpan$1$2(e,t){var r,n,i;try{return i=t.call$0()}catch(t){if(!((i=A.unwrapException(t))instanceof A.SassScriptException))throw t;r=i,n=A.getTraceFromException(t),i=r.withSpan$1(e.get$span(e)),A.throwWithTrace(i.withTrace$1(this._async_evaluate$_stackTrace$1(e.get$span(e))),r,n)}},_async_evaluate$_addExceptionSpan$2(e,t){return this._async_evaluate$_addExceptionSpan$1$2(e,t,D.dynamic)},_addExceptionSpanAsync$1$3$addStackFrame(e,t,r,n){return this._addExceptionSpanAsync$body$_EvaluateVisitor(e,t,r,n,n)},_addExceptionSpanAsync$1$2(e,t,r){return this._addExceptionSpanAsync$1$3$addStackFrame(e,t,!0,r)},_addExceptionSpanAsync$body$_EvaluateVisitor(e,t,r,n,i){var o,s,a,l,c,u=0,d=A._makeAsyncAwaitCompleter(i),h=2,p=[],m=this,_=A._wrapJsFunctionForAsync(function(i,g){for(1===i&&(p.push(g),u=h);;)switch(u){case 0:return h=4,l=t.call$0(),u=7,A._asyncAwait(n._eval$1("Future<0>")._is(l)?l:A._Future$value(l,n),_);case 7:o=l=g,u=1;break;case 4:if(h=3,c=p.pop(),!((l=A.unwrapException(c))instanceof A.SassScriptException))throw c;s=l,a=A.getTraceFromException(c),l=s.withSpan$1(e.get$span(e)),A.throwWithTrace(l.withTrace$1(m._async_evaluate$_stackTrace$1(r?e.get$span(e):null)),s,a),u=6;break;case 3:u=2;break;case 6:case 1:return A._asyncReturn(o,d);case 2:return A._asyncRethrow(p.at(-1),d)}});return A._asyncStartSync(_,d)},_async_evaluate$_addExceptionTrace$1$1(e,t){return this._addExceptionTrace$body$_EvaluateVisitor(e,t,t)},_addExceptionTrace$body$_EvaluateVisitor(e,t,r){var n,i,o,s,a,l,c=0,u=A._makeAsyncAwaitCompleter(r),d=2,h=[],p=this,m=A._wrapJsFunctionForAsync(function(r,_){for(1===r&&(h.push(_),c=d);;)switch(c){case 0:return d=4,s=e.call$0(),c=7,A._asyncAwait(t._eval$1("Future<0>")._is(s)?s:A._Future$value(s,t),m);case 7:n=s=_,c=1;break;case 4:if(d=3,l=h.pop(),s=A.unwrapException(l),D.SassRuntimeException._is(s))throw l;if(!(s instanceof A.SassException))throw l;i=s,o=A.getTraceFromException(l),s=i,a=w.getInterceptor$x(s),A.throwWithTrace(i.withTrace$1(p._async_evaluate$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(a,s))),i,o),c=6;break;case 3:c=2;break;case 6:case 1:return A._asyncReturn(n,u);case 2:return A._asyncRethrow(h.at(-1),u)}});return A._asyncStartSync(m,u)},_async_evaluate$_addErrorSpan$1$2(e,t,r){return this._addErrorSpan$body$_EvaluateVisitor(e,t,r,r)},_addErrorSpan$body$_EvaluateVisitor(e,t,r,n){var i,o,s,a,l,c,u,d=0,h=A._makeAsyncAwaitCompleter(n),p=2,m=[],_=this,g=A._wrapJsFunctionForAsync(function(r,n){for(1===r&&(m.push(n),d=p);;)switch(d){case 0:return p=4,d=7,A._asyncAwait(t.call$0(),g);case 7:i=a=n,d=1;break;case 4:if(p=3,u=m.pop(),a=A.unwrapException(u),!D.SassRuntimeException._is(a))throw u;if(o=a,s=A.getTraceFromException(u),!C.JSString_methods.startsWith$1(w.get$span$x(o).get$text(),"@error"))throw u;a=o._span_exception$_message,l=e.get$span(e),c=_._async_evaluate$_stackTrace$0(),A.throwWithTrace(new A.SassRuntimeException(c,C.Set_empty,a,l),o,s),d=6;break;case 3:d=2;break;case 6:case 1:return A._asyncReturn(i,h);case 2:return A._asyncRethrow(m.at(-1),h)}});return A._asyncStartSync(g,h)},_async_evaluate$_getErrorMessage$1(e){if(D.Error._is(e))return e.toString$0(0);try{return A._asString(w.get$message$x(e))}catch(t){return w.toString$0$(e)}}},A._EvaluateVisitor_closure12.prototype={call$1(e){var t,r,n=w.getInterceptor$asx(e),i=n.$index(e,0).assertString$1("name");return t=null==(n=n.$index(e,1).get$realNull())?null:n.assertString$1("module"),n=this.$this._async_evaluate$_environment,r=A.stringReplaceAllUnchecked(i._string$_text,"_","-"),n.globalVariableExists$2$namespace(r,null==t?null:t._string$_text)?C.SassBoolean_true:C.SassBoolean_false},$signature:11},A._EvaluateVisitor_closure13.prototype={call$1(e){var t=w.$index$asx(e,0).assertString$1("name");return null!=this.$this._async_evaluate$_environment.getVariable$1(A.stringReplaceAllUnchecked(t._string$_text,"_","-"))?C.SassBoolean_true:C.SassBoolean_false},$signature:11},A._EvaluateVisitor_closure14.prototype={call$1(e){var t,r,n,i,o=w.getInterceptor$asx(e),s=o.$index(e,0).assertString$1("name");return t=null==(o=o.$index(e,1).get$realNull())?null:o.assertString$1("module"),r=(o=this.$this)._async_evaluate$_environment,n=s._string$_text,i=A.stringReplaceAllUnchecked(n,"_","-"),null!=r.getFunction$2$namespace(i,null==t?null:t._string$_text)||o._async_evaluate$_builtInFunctions.containsKey$1(n)?C.SassBoolean_true:C.SassBoolean_false},$signature:11},A._EvaluateVisitor_closure15.prototype={call$1(e){var t,r,n=w.getInterceptor$asx(e),i=n.$index(e,0).assertString$1("name");return t=null==(n=n.$index(e,1).get$realNull())?null:n.assertString$1("module"),n=this.$this._async_evaluate$_environment,r=A.stringReplaceAllUnchecked(i._string$_text,"_","-"),null!=n.getMixin$2$namespace(r,null==t?null:t._string$_text)?C.SassBoolean_true:C.SassBoolean_false},$signature:11},A._EvaluateVisitor_closure16.prototype={call$1(e){var t=this.$this._async_evaluate$_environment;if(!t._async_environment$_inMixin)throw A.wrapException(A.SassScriptException$(P.conten,null));return null!=t._async_environment$_content?C.SassBoolean_true:C.SassBoolean_false},$signature:11},A._EvaluateVisitor_closure17.prototype={call$1(e){var t,r,n,i=w.$index$asx(e,0).assertString$1("module")._string$_text,o=this.$this._async_evaluate$_environment._async_environment$_modules.$index(0,i);if(null==o)throw A.wrapException('There is no module with namespace "'+i+'".');for(i=D.Value,t=A.LinkedHashMap_LinkedHashMap$_empty(i,i),r=(r=A.MapExtensions_get_pairs(o.get$variables(),D.String,i)).get$iterator(r);r.moveNext$0();)n=r.get$current(r),t.$indexSet(0,new A.SassString(n._0,!0),n._1);return new A.SassMap(A.ConstantMap_ConstantMap$from(t,i,i))},$signature:38},A._EvaluateVisitor_closure18.prototype={call$1(e){var t,r,n,i=this.$this,o=w.$index$asx(e,0).assertString$1("module")._string$_text,s=i._async_evaluate$_environment._async_environment$_modules.$index(0,o);if(null==s)throw A.wrapException('There is no module with namespace "'+o+'".');for(o=D.Value,t=A.LinkedHashMap_LinkedHashMap$_empty(o,o),r=(r=A.MapExtensions_get_pairs(s.get$functions(s),D.String,D.AsyncCallable)).get$iterator(r),i=i._async_evaluate$_compileContext;r.moveNext$0();)n=r.get$current(r),t.$indexSet(0,new A.SassString(n._0,!0),new A.SassFunction(n._1,i));return new A.SassMap(A.ConstantMap_ConstantMap$from(t,o,o))},$signature:38},A._EvaluateVisitor_closure19.prototype={call$1(e){var t,r,n,i=this.$this,o=w.$index$asx(e,0).assertString$1("module")._string$_text,s=i._async_evaluate$_environment._async_environment$_modules.$index(0,o);if(null==s)throw A.wrapException('There is no module with namespace "'+o+'".');for(o=D.Value,t=A.LinkedHashMap_LinkedHashMap$_empty(o,o),r=(r=A.MapExtensions_get_pairs(s.get$mixins(),D.String,D.AsyncCallable)).get$iterator(r),i=i._async_evaluate$_compileContext;r.moveNext$0();)n=r.get$current(r),t.$indexSet(0,new A.SassString(n._0,!0),new A.SassMixin(n._1,i));return new A.SassMap(A.ConstantMap_ConstantMap$from(t,o,o))},$signature:38},A._EvaluateVisitor_closure20.prototype={call$1(e){var t,r,n,i=w.getInterceptor$asx(e),o=i.$index(e,0).assertString$1("name"),s=i.$index(e,1).get$isTruthy();if(t=null==(i=i.$index(e,2).get$realNull())?null:i.assertString$1("module"),s){if(null!=t)throw A.wrapException(P.x24css_a);return new A.SassFunction(new A.PlainCssCallable(o._string$_text),this.$this._async_evaluate$_compileContext)}if((r=(i=this.$this)._async_evaluate$_callableNode).toString,null==(n=i._async_evaluate$_addExceptionSpan$2(r,new A._EvaluateVisitor__closure6(i,o,t))))throw A.wrapException("Function not found: "+o.toString$0(0));return new A.SassFunction(n,i._async_evaluate$_compileContext)},$signature:167},A._EvaluateVisitor__closure6.prototype={call$0(){var e,t=A.stringReplaceAllUnchecked(this.name._string$_text,"_","-"),r=this.module,n=null==r?null:r._string$_text;return null!=(e=(r=this.$this)._async_evaluate$_environment.getFunction$2$namespace(t,n))||null!=n?e:r._async_evaluate$_builtInFunctions.$index(0,t)},$signature:103},A._EvaluateVisitor_closure21.prototype={call$1(e){var t,r,n,i=w.getInterceptor$asx(e),o=i.$index(e,0).assertString$1("name");if(t=null==(i=i.$index(e,1).get$realNull())?null:i.assertString$1("module"),(r=(i=this.$this)._async_evaluate$_callableNode).toString,null==(n=i._async_evaluate$_addExceptionSpan$2(r,new A._EvaluateVisitor__closure5(i,o,t))))throw A.wrapException("Mixin not found: "+o.toString$0(0));return new A.SassMixin(n,i._async_evaluate$_compileContext)},$signature:168},A._EvaluateVisitor__closure5.prototype={call$0(){var e=this.$this._async_evaluate$_environment,t=A.stringReplaceAllUnchecked(this.name._string$_text,"_","-"),r=this.module;return e.getMixin$2$namespace(t,null==r?null:r._string$_text)},$signature:103},A._EvaluateVisitor_closure22.prototype={call$1(e){return this.$call$body$_EvaluateVisitor_closure1(e)},$call$body$_EvaluateVisitor_closure1(e){var t,r,n,i,o,s,a,l,c,u,d,h,p=0,m=A._makeAsyncAwaitCompleter(D.Value),_=this,g=A._wrapJsFunctionForAsync(function(f,v){if(1===f)return A._asyncRethrow(v,m);for(;;)switch(p){case 0:if(u=w.getInterceptor$asx(e),d=u.$index(e,0),h=D.SassArgumentList._as(u.$index(e,1)),u=_.$this,r=u._async_evaluate$_callableNode,n=r.get$span(r),i=r.get$span(r),h._wereKeywordsAccessed=!0,(o=h._keywords).get$isEmpty(o))o=null;else{for(s=D.Value,a=A.LinkedHashMap_LinkedHashMap$_empty(s,s),h._wereKeywordsAccessed=!0,o=(o=A.MapExtensions_get_pairs(o,D.String,s)).get$iterator(o);o.moveNext$0();)l=o.get$current(o),a.$indexSet(0,new A.SassString(l._0,!1),l._1);o=new A.ValueExpression(new A.SassMap(A.ConstantMap_ConstantMap$from(a,s,s)),r.get$span(r))}c=A.ArgumentList$(C.List_empty9,C.Map_empty4,C.Map_empty5,n,o,new A.ValueExpression(h,i)),p=d instanceof A.SassString?3:4;break;case 3:return A.warnForDeprecation(P.Passina+d.toString$0(0)+"))",C.Deprecation_c4i),r=u._async_evaluate$_callableNode,n=d._string$_text,i=r.get$span(r),u=u.visitFunctionExpression$1(0,new A.FunctionExpression(null,A.stringReplaceAllUnchecked(n,"_","-"),n,c,i)),p=5,A._asyncAwait(D.Future_Value._is(u)?u:A._Future$value(u,D.Value),g);case 5:t=v,p=1;break;case 4:return n=d.assertFunction$1("function").assertCompileContext$1(u._async_evaluate$_compileContext),(i=u._async_evaluate$_callableNode).toString,p=6,A._asyncAwait(u._async_evaluate$_runFunctionCallable$3(c,n.callable,i),g);case 6:t=i=v,p=1;break;case 1:return A._asyncReturn(t,m)}});return A._asyncStartSync(g,m)},$signature:190},A._EvaluateVisitor_closure23.prototype={call$1(e){return this.$call$body$_EvaluateVisitor_closure0(e)},$call$body$_EvaluateVisitor_closure0(e){var t,r,n,i,o,s,a,l,c=0,u=A._makeAsyncAwaitCompleter(D.void),d=this,h=A._wrapJsFunctionForAsync(function(p,m){if(1===p)return A._asyncRethrow(m,u);for(;;)switch(c){case 0:return a=w.getInterceptor$asx(e),l=A.Uri_parse(a.$index(e,0).assertString$1("url")._string$_text),a=a.$index(e,1).get$realNull(),t=null==a?null:a.assertMap$1("with")._map$_contents,a=d.$this,(r=a._async_evaluate$_callableNode).toString,null!=t?(n={},i=A.LinkedHashMap_LinkedHashMap$_empty(D.String,D.ConfiguredValue),o=r.get$span(r),n.privateDeprecation=!1,t.forEach$1(0,new A._EvaluateVisitor__closure3(n,i,o,r)),s=new A.ExplicitConfiguration(r,i,null)):s=C.Configuration_Map_empty_null,n=r.get$span(r),c=2,A._asyncAwait(a._async_evaluate$_loadModule$7$baseUrl$configuration$namesInErrors(l,"load-css()",r,new A._EvaluateVisitor__closure4(a),n.get$sourceUrl(n),s,!0),h);case 2:return a._async_evaluate$_assertConfigurationIsEmpty$2$nameInError(s,!0),A._asyncReturn(null,u)}});return A._asyncStartSync(h,u)},$signature:169},A._EvaluateVisitor__closure3.prototype={call$2(e,t){var r=this,n=e.assertString$1("with key"),i=A.stringReplaceAllUnchecked(n._string$_text,"_","-");if((n=r.values).containsKey$1(i))throw A.wrapException("The variable $"+i+" was configured twice.");C.JSString_methods.startsWith$1(i,"-")&&!r._box_0.privateDeprecation&&(r._box_0.privateDeprecation=!0,A.warnForDeprecation("Configuring private variables (such as $"+i+P.x29x20is_dT,C.Deprecation_mXO)),n.$indexSet(0,i,new A.ConfiguredValue(t,r.span,r.callableNode))},$signature:99},A._EvaluateVisitor__closure4.prototype={call$2(e,t){var r=this.$this;return r._async_evaluate$_combineCss$2$clone(e,!0).accept$1(r)},$signature:363},A._EvaluateVisitor_closure24.prototype={call$1(e){return this.$call$body$_EvaluateVisitor_closure(e)},$call$body$_EvaluateVisitor_closure(e){var t,r,n,i,o,s=0,a=A._makeAsyncAwaitCompleter(D.void),l=this,c=A._wrapJsFunctionForAsync(function(u,d){if(1===u)return A._asyncRethrow(d,a);for(;;)switch(s){case 0:return n=w.getInterceptor$asx(e),i=n.$index(e,0),o=D.SassArgumentList._as(n.$index(e,1)),n=l.$this,t=n._async_evaluate$_callableNode,r=A.ArgumentList$(C.List_empty9,C.Map_empty4,C.Map_empty5,t.get$span(t),null,new A.ValueExpression(o,t.get$span(t))),s=2,A._asyncAwait(n._async_evaluate$_applyMixin$5(i.assertMixin$1("mixin").assertCompileContext$1(n._async_evaluate$_compileContext).callable,n._async_evaluate$_environment._async_environment$_content,r,t,t),c);case 2:return A._asyncReturn(null,a)}});return A._asyncStartSync(c,a)},$signature:169},A._EvaluateVisitor_run_closure0.prototype={call$0(){var e,t,r,n,i,o,s=0,a=A._makeAsyncAwaitCompleter(D.Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet),l=this,c=A._wrapJsFunctionForAsync(function(u,d){if(1===u)return A._asyncRethrow(d,a);for(;;)switch(s){case 0:return r=l.node,n=r.span,i=n.get$sourceUrl(n),o=null,null!=i&&(o=i,(n=l.$this)._async_evaluate$_activeModules.$indexSet(0,o,null),n._async_evaluate$_loadedUrls.add$1(0,o)),n=l.$this,s=3,A._asyncAwait(n._async_evaluate$_addExceptionTrace$1$1(new A._EvaluateVisitor_run__closure0(n,l.importer,r),D.Module_AsyncCallable),c);case 3:t=d,e=new A._Record_2_loadedUrls_stylesheet(n._async_evaluate$_loadedUrls,n._async_evaluate$_combineCss$1(t)),s=1;break;case 1:return A._asyncReturn(e,a)}});return A._asyncStartSync(c,a)},$signature:365},A._EvaluateVisitor_run__closure0.prototype={call$0(){return this.$this._async_evaluate$_execute$2(this.importer,this.node)},$signature:366},A._EvaluateVisitor__loadModule_closure1.prototype={call$0(){return this.callback.call$2(this._box_0.builtInModule,!1)},$signature:0},A._EvaluateVisitor__loadModule_closure2.prototype={call$0(){return this.$call$body$_EvaluateVisitor__loadModule_closure()},$call$body$_EvaluateVisitor__loadModule_closure(){var e,t,r,n,i,o,s,a,l,c,u,d,h=0,p=A._makeAsyncAwaitCompleter(D.Null),m=1,_=[],g=[],f=this,v=A._wrapJsFunctionForAsync(function(b,y){for(1===b&&(_.push(y),h=m);;)switch(h){case 0:return o={},s=null,a=null,l=f.$this,c=f.nodeWithSpan,h=2,A._asyncAwait(l._async_evaluate$_loadStylesheet$3$baseUrl(f.url.toString$0(0),c.get$span(c),f.baseUrl),v);case 2:if(s=(u=y)._0,a=u._1,r=u._2,n=s.span,null!=(e=n.get$sourceUrl(n))){if((n=l._async_evaluate$_activeModules).containsKey$1(e))throw i=f.namesInErrors?"Module loop: "+I.$get$context().prettyUri$1(e)+" is already being loaded.":P.Modulel,o=A.NullableExtension_andThen(n.$index(0,e),new A._EvaluateVisitor__loadModule__closure1(l,i)),A.wrapException(null==o?l._async_evaluate$_exception$1(i):o);n.$indexSet(0,e,c)}return n=l._async_evaluate$_modules.containsKey$1(e),t=l._async_evaluate$_inDependency,l._async_evaluate$_inDependency=r,o.module=null,m=3,d=o,h=6,A._asyncAwait(l._async_evaluate$_execute$5$configuration$namesInErrors$nodeWithSpan(a,s,f.configuration,f.namesInErrors,c),v);case 6:d.module=y,g.push(5),h=4;break;case 3:g=[1];case 4:m=1,l._async_evaluate$_activeModules.remove$1(0,e),l._async_evaluate$_inDependency=t,h=g.pop();break;case 5:return h=7,A._asyncAwait(l._addExceptionSpanAsync$1$3$addStackFrame(c,new A._EvaluateVisitor__loadModule__closure2(o,f.callback,!n),!1,D.void),v);case 7:return A._asyncReturn(null,p);case 1:return A._asyncRethrow(_.at(-1),p)}});return A._asyncStartSync(v,p)},$signature:2},A._EvaluateVisitor__loadModule__closure1.prototype={call$1(e){return this.$this._async_evaluate$_multiSpanException$3(this.message,"new load",A.LinkedHashMap_LinkedHashMap$_literal([e.get$span(e),"original load"],D.FileSpan,D.String))},$signature:111},A._EvaluateVisitor__loadModule__closure2.prototype={call$0(){return this.callback.call$2(this._box_1.module,this.firstLoad)},$signature:0},A._EvaluateVisitor__execute_closure0.prototype={call$0(){var e,t,r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y=0,$=A._makeAsyncAwaitCompleter(D.Null),x=this,S=A._wrapJsFunctionForAsync(function(w,C){if(1===w)return A._asyncRethrow(C,$);for(;;)switch(y){case 0:return i=x.$this,o=i._async_evaluate$_importer,s=i._async_evaluate$__stylesheet,a=i._async_evaluate$__root,l=i._async_evaluate$_preModuleComments,c=i._async_evaluate$__parent,u=i._async_evaluate$__endOfImports,d=i._async_evaluate$_outOfOrderImports,h=i._async_evaluate$__extensionStore,p=i._async_evaluate$_atRootExcludingStyleRule,m=p?null:i._async_evaluate$_styleRuleIgnoringAtRoot,_=i._async_evaluate$_mediaQueries,g=i._async_evaluate$_declarationName,f=i._async_evaluate$_inUnknownAtRule,v=i._async_evaluate$_inKeyframes,b=i._async_evaluate$_configuration,i._async_evaluate$_importer=x.importer,e=i._async_evaluate$__stylesheet=x.stylesheet,t=e.span,r=i._async_evaluate$__parent=i._async_evaluate$__root=A.ModifiableCssStylesheet$(t),i._async_evaluate$__endOfImports=0,i._async_evaluate$_outOfOrderImports=null,i._async_evaluate$__extensionStore=x.extensionStore,i._async_evaluate$_declarationName=i._async_evaluate$_mediaQueries=i._async_evaluate$_styleRuleIgnoringAtRoot=null,i._async_evaluate$_inKeyframes=i._async_evaluate$_atRootExcludingStyleRule=i._async_evaluate$_inUnknownAtRule=!1,null!=(n=x.configuration)&&(i._async_evaluate$_configuration=n),y=2,A._asyncAwait(i.visitStylesheet$1(0,e),S);case 2:return e=null==i._async_evaluate$_outOfOrderImports?r:new A.CssStylesheet(new A.UnmodifiableListView(i._async_evaluate$_addOutOfOrderImports$0(),D.UnmodifiableListView_CssNode),t),x.css.__late_helper$_value=e,x.preModuleComments.__late_helper$_value=i._async_evaluate$_preModuleComments,i._async_evaluate$_importer=o,i._async_evaluate$__stylesheet=s,i._async_evaluate$__root=a,i._async_evaluate$_preModuleComments=l,i._async_evaluate$__parent=c,i._async_evaluate$__endOfImports=u,i._async_evaluate$_outOfOrderImports=d,i._async_evaluate$__extensionStore=h,i._async_evaluate$_styleRuleIgnoringAtRoot=m,i._async_evaluate$_mediaQueries=_,i._async_evaluate$_declarationName=g,i._async_evaluate$_inUnknownAtRule=f,i._async_evaluate$_atRootExcludingStyleRule=p,i._async_evaluate$_inKeyframes=v,i._async_evaluate$_configuration=b,A._asyncReturn(null,$)}});return A._asyncStartSync(S,$)},$signature:2},A._EvaluateVisitor__combineCss_closure1.prototype={call$1:e=>e.get$transitivelyContainsCss(),$signature:102},A._EvaluateVisitor__combineCss_closure2.prototype={call$1(e){return!this.selectors.contains$1(0,e)},$signature:14},A._EvaluateVisitor__combineCss_visitModule0.prototype={call$1(e){var t,r,n,i,o,s,a,l,c,u=this;if(u.seen.add$1(0,e)){for(u.clone&&(e=e.cloneCss$0()),r=(t=e.get$upstream()).length,n=u.css,i=u.imports,o=0;o<t.length;t.length===r||(0,A.throwConcurrentModificationError)(t),++o)(s=t[o]).get$transitivelyContainsCss()&&(null!=(a=e.get$preModuleComments().$index(0,s))&&C.JSArray_methods.addAll$1(0===n.length?i:n,a),u.call$1(s));u.sorted.addFirst$1(e),l=(t=e.get$css(e)).get$children(t),c=u.$this._async_evaluate$_indexAfterImports$1(l),t=w.getInterceptor$ax(l),C.JSArray_methods.addAll$1(i,t.getRange$2(l,0,c)),C.JSArray_methods.addAll$1(n,t.getRange$2(l,c,t.get$length(l)))}},$signature:374},A._EvaluateVisitor__extendModules_closure1.prototype={call$1(e){return!this.originalSelectors.contains$1(0,e)},$signature:14},A._EvaluateVisitor__extendModules_closure2.prototype={call$0:()=>A._setArrayType([],D.JSArray_ExtensionStore),$signature:170},A._EvaluateVisitor_visitAtRootRule_closure1.prototype={call$0(){var e,t,r,n,i=0,o=A._makeAsyncAwaitCompleter(D.Null),s=this,a=A._wrapJsFunctionForAsync(function(l,c){if(1===l)return A._asyncRethrow(c,o);for(;;)switch(i){case 0:e=s.node.children,t=e.length,r=s.$this,n=0;case 2:if(!(n<t)){i=4;break}return i=5,A._asyncAwait(e[n].accept$1(r),a);case 5:case 3:++n,i=2;break;case 4:return A._asyncReturn(null,o)}});return A._asyncStartSync(a,o)},$signature:2},A._EvaluateVisitor_visitAtRootRule_closure2.prototype={call$0(){var e,t,r,n,i=0,o=A._makeAsyncAwaitCompleter(D.void),s=this,a=A._wrapJsFunctionForAsync(function(l,c){if(1===l)return A._asyncRethrow(c,o);for(;;)switch(i){case 0:e=s.node.children,t=e.length,r=s.$this,n=0;case 2:if(!(n<t)){i=4;break}return i=5,A._asyncAwait(e[n].accept$1(r),a);case 5:case 3:++n,i=2;break;case 4:return A._asyncReturn(null,o)}});return A._asyncStartSync(a,o)},$signature:32},A._EvaluateVisitor__scopeForAtRoot_closure5.prototype={call$1(e){var t,r,n=0,i=A._makeAsyncAwaitCompleter(D.Null),o=this,s=A._wrapJsFunctionForAsync(function(a,l){if(1===a)return A._asyncRethrow(l,i);for(;;)switch(n){case 0:return t=o.$this,r=t._async_evaluate$_assertInModule$2(t._async_evaluate$__parent,"__parent"),t._async_evaluate$__parent=o.newParent,n=2,A._asyncAwait(t._async_evaluate$_environment.scope$1$2$when(e,o.node.hasDeclarations,D.void),s);case 2:return t._async_evaluate$__parent=r,A._asyncReturn(null,i)}});return A._asyncStartSync(s,i)},$signature:40},A._EvaluateVisitor__scopeForAtRoot_closure6.prototype={call$1(e){var t,r,n=0,i=A._makeAsyncAwaitCompleter(D.Null),o=this,s=A._wrapJsFunctionForAsync(function(a,l){if(1===a)return A._asyncRethrow(l,i);for(;;)switch(n){case 0:return t=o.$this,r=t._async_evaluate$_atRootExcludingStyleRule,t._async_evaluate$_atRootExcludingStyleRule=!0,n=2,A._asyncAwait(o.innerScope.call$1(e),s);case 2:return t._async_evaluate$_atRootExcludingStyleRule=r,A._asyncReturn(null,i)}});return A._asyncStartSync(s,i)},$signature:40},A._EvaluateVisitor__scopeForAtRoot_closure7.prototype={call$1(e){return this.$this._async_evaluate$_withMediaQueries$1$3(null,null,new A._EvaluateVisitor__scopeForAtRoot__closure0(this.innerScope,e),D.Null)},$signature:40},A._EvaluateVisitor__scopeForAtRoot__closure0.prototype={call$0(){return this.innerScope.call$1(this.callback)},$signature:2},A._EvaluateVisitor__scopeForAtRoot_closure8.prototype={call$1(e){var t,r,n=0,i=A._makeAsyncAwaitCompleter(D.Null),o=this,s=A._wrapJsFunctionForAsync(function(a,l){if(1===a)return A._asyncRethrow(l,i);for(;;)switch(n){case 0:return t=o.$this,r=t._async_evaluate$_inKeyframes,t._async_evaluate$_inKeyframes=!1,n=2,A._asyncAwait(o.innerScope.call$1(e),s);case 2:return t._async_evaluate$_inKeyframes=r,A._asyncReturn(null,i)}});return A._asyncStartSync(s,i)},$signature:40},A._EvaluateVisitor__scopeForAtRoot_closure9.prototype={call$1:e=>e instanceof A.ModifiableCssAtRule,$signature:172},A._EvaluateVisitor__scopeForAtRoot_closure10.prototype={call$1(e){var t,r,n=0,i=A._makeAsyncAwaitCompleter(D.Null),o=this,s=A._wrapJsFunctionForAsync(function(a,l){if(1===a)return A._asyncRethrow(l,i);for(;;)switch(n){case 0:return t=o.$this,r=t._async_evaluate$_inUnknownAtRule,t._async_evaluate$_inUnknownAtRule=!1,n=2,A._asyncAwait(o.innerScope.call$1(e),s);case 2:return t._async_evaluate$_inUnknownAtRule=r,A._asyncReturn(null,i)}});return A._asyncStartSync(s,i)},$signature:40},A._EvaluateVisitor_visitContentRule_closure0.prototype={call$0(){var e,t,r,n,i,o=0,s=A._makeAsyncAwaitCompleter(D.Null),a=this,l=A._wrapJsFunctionForAsync(function(c,u){if(1===c)return A._asyncRethrow(u,s);for(;;)switch(o){case 0:t=a.content.declaration.children,r=t.length,n=a.$this,i=0;case 3:if(!(i<r)){o=5;break}return o=6,A._asyncAwait(t[i].accept$1(n),l);case 6:case 4:++i,o=3;break;case 5:e=null,o=1;break;case 1:return A._asyncReturn(e,s)}});return A._asyncStartSync(l,s)},$signature:2},A._EvaluateVisitor_visitDeclaration_closure0.prototype={call$0(){var e,t,r,n,i=0,o=A._makeAsyncAwaitCompleter(D.Null),s=this,a=A._wrapJsFunctionForAsync(function(l,c){if(1===l)return A._asyncRethrow(c,o);for(;;)switch(i){case 0:e=s._box_0.children,t=e.length,r=s.$this,n=0;case 2:if(!(n<t)){i=4;break}return i=5,A._asyncAwait(e[n].accept$1(r),a);case 5:case 3:++n,i=2;break;case 4:return A._asyncReturn(null,o)}});return A._asyncStartSync(a,o)},$signature:2},A._EvaluateVisitor_visitEachRule_closure2.prototype={call$1(e){var t=this.$this,r=this.nodeWithSpan;return t._async_evaluate$_environment.setLocalVariable$3(this._box_0.variable,t._async_evaluate$_withoutSlash$2(e,r),r)},$signature:58},A._EvaluateVisitor_visitEachRule_closure3.prototype={call$1(e){return this.$this._async_evaluate$_setMultipleVariables$3(this._box_1.variables,e,this.nodeWithSpan)},$signature:58},A._EvaluateVisitor_visitEachRule_closure4.prototype={call$0(){var e=this,t=e.$this;return t._async_evaluate$_handleReturn$2(e.list.get$asList(),new A._EvaluateVisitor_visitEachRule__closure0(t,e.setVariables,e.node))},$signature:69},A._EvaluateVisitor_visitEachRule__closure0.prototype={call$1(e){var t;return this.setVariables.call$1(e),(t=this.$this)._async_evaluate$_handleReturn$2(this.node.children,new A._EvaluateVisitor_visitEachRule___closure0(t))},$signature:418},A._EvaluateVisitor_visitEachRule___closure0.prototype={call$1(e){return e.accept$1(this.$this)},$signature:87},A._EvaluateVisitor_visitAtRule_closure3.prototype={call$1(e){return this.$this._async_evaluate$_interpolationToValue$3$trim$warnForColor(e,!0,!0)},$signature:348},A._EvaluateVisitor_visitAtRule_closure4.prototype={call$0(){var e,t,r,n,i=0,o=A._makeAsyncAwaitCompleter(D.Null),s=this,a=A._wrapJsFunctionForAsync(function(l,c){if(1===l)return A._asyncRethrow(c,o);for(;;)switch(i){case 0:e=s.children,t=e.length,r=s.$this,n=0;case 2:if(!(n<t)){i=4;break}return i=5,A._asyncAwait(e[n].accept$1(r),a);case 5:case 3:++n,i=2;break;case 4:return A._asyncReturn(null,o)}});return A._asyncStartSync(a,o)},$signature:2},A._EvaluateVisitor_visitAtRule_closure5.prototype={call$0(){var e,t,r,n,i,o=0,s=A._makeAsyncAwaitCompleter(D.Null),a=this,l=A._wrapJsFunctionForAsync(function(c,u){if(1===c)return A._asyncRethrow(u,s);for(;;)switch(o){case 0:n=a.$this,i=n._async_evaluate$_atRootExcludingStyleRule?null:n._async_evaluate$_styleRuleIgnoringAtRoot,o=null==i||n._async_evaluate$_inKeyframes||"font-face"===a.name.value?2:4;break;case 2:e=a.children,t=e.length,r=0;case 5:if(!(r<t)){o=7;break}return o=8,A._asyncAwait(e[r].accept$1(n),l);case 8:case 6:++r,o=5;break;case 7:o=3;break;case 4:return o=9,A._asyncAwait(n._async_evaluate$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(i._style_rule$_selector,i.span,!1,i.originalSelector),new A._EvaluateVisitor_visitAtRule__closure0(n,a.children),!1,D.ModifiableCssStyleRule,D.Null),l);case 9:case 3:return A._asyncReturn(null,s)}});return A._asyncStartSync(l,s)},$signature:2},A._EvaluateVisitor_visitAtRule__closure0.prototype={call$0(){var e,t,r,n,i=0,o=A._makeAsyncAwaitCompleter(D.Null),s=this,a=A._wrapJsFunctionForAsync(function(l,c){if(1===l)return A._asyncRethrow(c,o);for(;;)switch(i){case 0:e=s.children,t=e.length,r=s.$this,n=0;case 2:if(!(n<t)){i=4;break}return i=5,A._asyncAwait(e[n].accept$1(r),a);case 5:case 3:++n,i=2;break;case 4:return A._asyncReturn(null,o)}});return A._asyncStartSync(a,o)},$signature:2},A._EvaluateVisitor_visitAtRule_closure6.prototype={call$1:e=>e instanceof A.ModifiableCssStyleRule,$signature:7},A._EvaluateVisitor_visitForRule_closure4.prototype={call$0(){var e,t=0,r=A._makeAsyncAwaitCompleter(D.SassNumber),n=this,i=A._wrapJsFunctionForAsync(function(o,s){if(1===o)return A._asyncRethrow(s,r);for(;;)switch(t){case 0:return t=3,A._asyncAwait(n.node.from.accept$1(n.$this),i);case 3:e=s.assertNumber$0(),t=1;break;case 1:return A._asyncReturn(e,r)}});return A._asyncStartSync(i,r)},$signature:175},A._EvaluateVisitor_visitForRule_closure5.prototype={call$0(){var e,t=0,r=A._makeAsyncAwaitCompleter(D.SassNumber),n=this,i=A._wrapJsFunctionForAsync(function(o,s){if(1===o)return A._asyncRethrow(s,r);for(;;)switch(t){case 0:return t=3,A._asyncAwait(n.node.to.accept$1(n.$this),i);case 3:e=s.assertNumber$0(),t=1;break;case 1:return A._asyncReturn(e,r)}});return A._asyncStartSync(i,r)},$signature:175},A._EvaluateVisitor_visitForRule_closure6.prototype={call$0(){return this.fromNumber.assertInt$0()},$signature:10},A._EvaluateVisitor_visitForRule_closure7.prototype={call$0(){var e=this.fromNumber;return this.toNumber.coerce$2(e.get$numeratorUnits(e),e.get$denominatorUnits(e)).assertInt$0()},$signature:10},A._EvaluateVisitor_visitForRule_closure8.prototype={call$0(){var e,t,r,n,i,o,s,a,l,c,u,d,h=0,p=A._makeAsyncAwaitCompleter(D.nullable_Value),m=this,_=A._wrapJsFunctionForAsync(function(g,f){if(1===g)return A._asyncRethrow(f,p);for(;;)switch(h){case 0:c=m.$this,u=m.node,d=c._async_evaluate$_expressionNode$1(u.from),t=m.from,r=m._box_0,n=m.direction,i=u.variable,o=m.fromNumber,u=u.children;case 3:if(t===r.to){h=5;break}return s=c._async_evaluate$_environment,a=o.get$numeratorUnits(o),s.setLocalVariable$3(i,A.SassNumber_SassNumber$withUnits(t,o.get$denominatorUnits(o),a),d),h=6,A._asyncAwait(c._async_evaluate$_handleReturn$2(u,new A._EvaluateVisitor_visitForRule__closure0(c)),_);case 6:if(null!=(l=f)){e=l,h=1;break}case 4:t+=n,h=3;break;case 5:e=null,h=1;break;case 1:return A._asyncReturn(e,p)}});return A._asyncStartSync(_,p)},$signature:69},A._EvaluateVisitor_visitForRule__closure0.prototype={call$1(e){return e.accept$1(this.$this)},$signature:87},A._EvaluateVisitor_visitForwardRule_closure1.prototype={call$2(e,t){t&&this.$this._async_evaluate$_registerCommentsForModule$1(e),this.$this._async_evaluate$_environment.forwardModule$2(e,this.node)},$signature:141},A._EvaluateVisitor_visitForwardRule_closure2.prototype={call$2(e,t){t&&this.$this._async_evaluate$_registerCommentsForModule$1(e),this.$this._async_evaluate$_environment.forwardModule$2(e,this.node)},$signature:141},A._EvaluateVisitor__registerCommentsForModule_closure0.prototype={call$0:()=>A._setArrayType([],D.JSArray_CssComment),$signature:177},A._EvaluateVisitor_visitIfRule_closure0.prototype={call$1(e){var t=this.$this;return t._async_evaluate$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule__closure0(t,e),!0,e.hasDeclarations,D.nullable_Value)},$signature:449},A._EvaluateVisitor_visitIfRule__closure0.prototype={call$0(){var e=this.$this;return e._async_evaluate$_handleReturn$2(this.clause.children,new A._EvaluateVisitor_visitIfRule___closure0(e))},$signature:69},A._EvaluateVisitor_visitIfRule___closure0.prototype={call$1(e){return e.accept$1(this.$this)},$signature:87},A._EvaluateVisitor__visitDynamicImport_closure0.prototype={call$0(){return this.$call$body$_EvaluateVisitor__visitDynamicImport_closure()},$call$body$_EvaluateVisitor__visitDynamicImport_closure(){var e,t,r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y,$,x,S,C,E=0,I=A._makeAsyncAwaitCompleter(D.void),M=this,k=A._wrapJsFunctionForAsync(function(T,R){if(1===T)return A._asyncRethrow(R,I);for(;;)switch(E){case 0:return(C={}).isDependency=C.importer=C.stylesheet=null,e=M.$this,t=M.$import,E=3,A._asyncAwait(e._async_evaluate$_loadStylesheet$3$forImport(t.urlString,t.span,!0),k);case 3:if(r=R,n=C.stylesheet=r._0,i=r._1,C.importer=i,o=r._2,C.isDependency=o,s=n.span,null!=(a=s.get$sourceUrl(s))){if((s=e._async_evaluate$_activeModules).containsKey$1(a))throw t=A.NullableExtension_andThen(s.$index(0,a),new A._EvaluateVisitor__visitDynamicImport__closure3(e)),A.wrapException(null==t?e._async_evaluate$_exception$1("This file is already being loaded."):t);s.$indexSet(0,a,t)}t=n._uses,s=D.UnmodifiableListView_UseRule,E=0===new A.UnmodifiableListView(t,s).get$length(0)&&0===new A.UnmodifiableListView(n._forwards,D.UnmodifiableListView_ForwardRule).get$length(0)?4:5;break;case 4:return l=e._async_evaluate$_importer,c=e._async_evaluate$_assertInModule$2(e._async_evaluate$__stylesheet,"_stylesheet"),u=e._async_evaluate$_inDependency,e._async_evaluate$_importer=i,e._async_evaluate$__stylesheet=n,e._async_evaluate$_inDependency=o,E=6,A._asyncAwait(e.visitStylesheet$1(0,n),k);case 6:e._async_evaluate$_importer=l,e._async_evaluate$__stylesheet=c,e._async_evaluate$_inDependency=u,e._async_evaluate$_activeModules.remove$1(0,a),E=1;break;case 5:return(t=new A.UnmodifiableListView(t,s)).any$1(t,new A._EvaluateVisitor__visitDynamicImport__closure4)?d=!0:(t=new A.UnmodifiableListView(n._forwards,D.UnmodifiableListView_ForwardRule),d=t.any$1(t,new A._EvaluateVisitor__visitDynamicImport__closure5)),h=A._Cell$(),t=e._async_evaluate$_environment,s=D.String,p=D.Module_AsyncCallable,m=D.AstNode,_=t._async_environment$_nestedForwardedModules,g=A._setArrayType([],D.JSArray_Module_AsyncCallable),f=t._async_environment$_variables,f=A._setArrayType(f.slice(0),A._arrayInstanceType(f)),v=t._async_environment$_variableNodes,v=A._setArrayType(v.slice(0),A._arrayInstanceType(v)),b=t._async_environment$_functions,b=A._setArrayType(b.slice(0),A._arrayInstanceType(b)),y=t._async_environment$_mixins,y=A._setArrayType(y.slice(0),A._arrayInstanceType(y)),$=A.AsyncEnvironment$_(A.LinkedHashMap_LinkedHashMap$_empty(s,p),A.LinkedHashMap_LinkedHashMap$_empty(s,m),A.LinkedHashMap_LinkedHashMap$_empty(p,m),t._async_environment$_importedModules,null,_,g,f,v,b,y,t._async_environment$_content,t._async_environment$_configurableVariables),E=7,A._asyncAwait(e._async_evaluate$_withEnvironment$1$2($,new A._EvaluateVisitor__visitDynamicImport__closure6(C,e,d,$,h),D.Null),k);case 7:x=$.toDummyModule$0(),e._async_evaluate$_environment.importForwards$1(x),E=d?8:9;break;case 8:E=x.transitivelyContainsCss?10:11;break;case 10:return E=12,A._asyncAwait(e._async_evaluate$_combineCss$2$clone(x,x.transitivelyContainsExtensions).accept$1(e),k);case 12:case 11:for(S=new A._ImportedCssVisitor0(e),t=w.get$iterator$ax(h._readLocal$0());t.moveNext$0();)t.get$current(t).accept$1(S);case 9:e._async_evaluate$_activeModules.remove$1(0,a);case 1:return A._asyncReturn(undefined,I)}});return A._asyncStartSync(k,I)},$signature:32},A._EvaluateVisitor__visitDynamicImport__closure3.prototype={call$1(e){return this.$this._async_evaluate$_multiSpanException$3("This file is already being loaded.","new load",A.LinkedHashMap_LinkedHashMap$_literal([e.get$span(e),"original load"],D.FileSpan,D.String))},$signature:111},A._EvaluateVisitor__visitDynamicImport__closure4.prototype={call$1:e=>"sass"!==e.url.get$scheme(),$signature:178},A._EvaluateVisitor__visitDynamicImport__closure5.prototype={call$1:e=>"sass"!==e.url.get$scheme(),$signature:179},A._EvaluateVisitor__visitDynamicImport__closure6.prototype={call$0(){var e,t,r,n,i,o,s,a,l,c,u,d,h=0,p=A._makeAsyncAwaitCompleter(D.Null),m=this,_=A._wrapJsFunctionForAsync(function(g,f){if(1===g)return A._asyncRethrow(f,p);for(;;)switch(h){case 0:return r=m.$this,n=r._async_evaluate$_importer,i=r._async_evaluate$_assertInModule$2(r._async_evaluate$__stylesheet,"_stylesheet"),o=r._async_evaluate$_assertInModule$2(r._async_evaluate$__root,"_root"),s=r._async_evaluate$_assertInModule$2(r._async_evaluate$__parent,"__parent"),a=r._async_evaluate$_assertInModule$2(r._async_evaluate$__endOfImports,"_endOfImports"),l=r._async_evaluate$_outOfOrderImports,c=r._async_evaluate$_configuration,u=r._async_evaluate$_inDependency,d=m._box_0,r._async_evaluate$_importer=d.importer,e=d.stylesheet,r._async_evaluate$__stylesheet=e,(t=m.loadsUserDefinedModules)&&(e=A.ModifiableCssStylesheet$(e.span),r._async_evaluate$__root=e,r._async_evaluate$__parent=r._async_evaluate$_assertInModule$2(e,"_root"),r._async_evaluate$__endOfImports=0,r._async_evaluate$_outOfOrderImports=null),r._async_evaluate$_inDependency=d.isDependency,(e=new A.UnmodifiableListView(d.stylesheet._forwards,D.UnmodifiableListView_ForwardRule)).get$isEmpty(e)||(r._async_evaluate$_configuration=m.environment.toImplicitConfiguration$0()),h=2,A._asyncAwait(r.visitStylesheet$1(0,d.stylesheet),_);case 2:return d=t?r._async_evaluate$_addOutOfOrderImports$0():A._setArrayType([],D.JSArray_ModifiableCssNode),m.children.__late_helper$_value=d,r._async_evaluate$_importer=n,r._async_evaluate$__stylesheet=i,t&&(r._async_evaluate$__root=o,r._async_evaluate$__parent=s,r._async_evaluate$__endOfImports=a,r._async_evaluate$_outOfOrderImports=l),r._async_evaluate$_configuration=c,r._async_evaluate$_inDependency=u,A._asyncReturn(null,p)}});return A._asyncStartSync(_,p)},$signature:2},A._EvaluateVisitor__applyMixin_closure1.prototype={call$0(){var e,t=0,r=A._makeAsyncAwaitCompleter(D.void),n=this,i=A._wrapJsFunctionForAsync(function(o,s){if(1===o)return A._asyncRethrow(s,r);for(;;)switch(t){case 0:return e=n.$this,t=2,A._asyncAwait(e._async_evaluate$_environment.asMixin$1(new A._EvaluateVisitor__applyMixin__closure2(e,n.$arguments,n.mixin,n.nodeWithSpanWithoutContent)),i);case 2:return A._asyncReturn(null,r)}});return A._asyncStartSync(i,r)},$signature:32},A._EvaluateVisitor__applyMixin__closure2.prototype={call$0(){var e=0,t=A._makeAsyncAwaitCompleter(D.void),r=this,n=A._wrapJsFunctionForAsync(function(i,o){if(1===i)return A._asyncRethrow(o,t);for(;;)switch(e){case 0:return e=2,A._asyncAwait(r.$this._async_evaluate$_runBuiltInCallable$3(r.$arguments,r.mixin,r.nodeWithSpanWithoutContent),n);case 2:return A._asyncReturn(null,t)}});return A._asyncStartSync(n,t)},$signature:32},A._EvaluateVisitor__applyMixin_closure2.prototype={call$0(){var e,t=0,r=A._makeAsyncAwaitCompleter(D.Null),n=this,i=A._wrapJsFunctionForAsync(function(o,s){if(1===o)return A._asyncRethrow(s,r);for(;;)switch(t){case 0:return e=n.$this,t=2,A._asyncAwait(e._async_evaluate$_environment.withContent$2(n.contentCallable,new A._EvaluateVisitor__applyMixin__closure1(e,n.mixin,n.nodeWithSpanWithoutContent)),i);case 2:return A._asyncReturn(null,r)}});return A._asyncStartSync(i,r)},$signature:2},A._EvaluateVisitor__applyMixin__closure1.prototype={call$0(){var e,t=0,r=A._makeAsyncAwaitCompleter(D.void),n=this,i=A._wrapJsFunctionForAsync(function(o,s){if(1===o)return A._asyncRethrow(s,r);for(;;)switch(t){case 0:return e=n.$this,t=2,A._asyncAwait(e._async_evaluate$_environment.asMixin$1(new A._EvaluateVisitor__applyMixin___closure0(e,n.mixin,n.nodeWithSpanWithoutContent)),i);case 2:return A._asyncReturn(null,r)}});return A._asyncStartSync(i,r)},$signature:32},A._EvaluateVisitor__applyMixin___closure0.prototype={call$0(){var e,t,r,n,i,o,s=0,a=A._makeAsyncAwaitCompleter(D.void),l=this,c=A._wrapJsFunctionForAsync(function(u,d){if(1===u)return A._asyncRethrow(d,a);for(;;)switch(s){case 0:e=l.mixin.declaration.children,t=e.length,r=l.$this,n=l.nodeWithSpanWithoutContent,i=D.nullable_Value,o=0;case 2:if(!(o<t)){s=4;break}return s=5,A._asyncAwait(r._async_evaluate$_addErrorSpan$1$2(n,new A._EvaluateVisitor__applyMixin____closure0(r,e[o]),i),c);case 5:case 3:++o,s=2;break;case 4:return A._asyncReturn(null,a)}});return A._asyncStartSync(c,a)},$signature:32},A._EvaluateVisitor__applyMixin____closure0.prototype={call$0(){return this.statement.accept$1(this.$this)},$signature:69},A._EvaluateVisitor_visitIncludeRule_closure2.prototype={call$0(){var e=this.node;return this.$this._async_evaluate$_environment.getMixin$2$namespace(e.name,e.namespace)},$signature:103},A._EvaluateVisitor_visitIncludeRule_closure3.prototype={call$1(e){var t=this.$this;return new A.UserDefinedCallable(e,t._async_evaluate$_environment.closure$0(),t._async_evaluate$_inDependency,D.UserDefinedCallable_AsyncEnvironment)},$signature:454},A._EvaluateVisitor_visitIncludeRule_closure4.prototype={call$0(){return this.node.get$spanWithoutContent()},$signature:16},A._EvaluateVisitor_visitMediaRule_closure3.prototype={call$0(){var e,t,r,n,i=0,o=A._makeAsyncAwaitCompleter(D.Null),s=this,a=A._wrapJsFunctionForAsync(function(l,c){if(1===l)return A._asyncRethrow(c,o);for(;;)switch(i){case 0:e=s.node.children,t=e.length,r=s.$this,n=0;case 2:if(!(n<t)){i=4;break}return i=5,A._asyncAwait(e[n].accept$1(r),a);case 5:case 3:++n,i=2;break;case 4:return A._asyncReturn(null,o)}});return A._asyncStartSync(a,o)},$signature:2},A._EvaluateVisitor_visitMediaRule_closure4.prototype={call$1(e){return this.$this._async_evaluate$_mergeMediaQueries$2(e,this.queries)},$signature:89},A._EvaluateVisitor_visitMediaRule_closure5.prototype={call$0(){var e,t,r=0,n=A._makeAsyncAwaitCompleter(D.Null),i=this,o=A._wrapJsFunctionForAsync(function(s,a){if(1===s)return A._asyncRethrow(a,n);for(;;)switch(r){case 0:return e=i.$this,null==(t=i.mergedQueries)&&(t=i.queries),r=2,A._asyncAwait(e._async_evaluate$_withMediaQueries$1$3(t,i.mergedSources,new A._EvaluateVisitor_visitMediaRule__closure0(e,i.node),D.Null),o);case 2:return A._asyncReturn(null,n)}});return A._asyncStartSync(o,n)},$signature:2},A._EvaluateVisitor_visitMediaRule__closure0.prototype={call$0(){var e,t,r,n,i,o=0,s=A._makeAsyncAwaitCompleter(D.Null),a=this,l=A._wrapJsFunctionForAsync(function(c,u){if(1===c)return A._asyncRethrow(u,s);for(;;)switch(o){case 0:n=a.$this,i=n._async_evaluate$_atRootExcludingStyleRule?null:n._async_evaluate$_styleRuleIgnoringAtRoot,o=null!=i?2:4;break;case 2:return o=5,A._asyncAwait(n._async_evaluate$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(i._style_rule$_selector,i.span,!1,i.originalSelector),new A._EvaluateVisitor_visitMediaRule___closure0(n,a.node),!1,D.ModifiableCssStyleRule,D.Null),l);case 5:o=3;break;case 4:e=a.node.children,t=e.length,r=0;case 6:if(!(r<t)){o=8;break}return o=9,A._asyncAwait(e[r].accept$1(n),l);case 9:case 7:++r,o=6;break;case 8:case 3:return A._asyncReturn(null,s)}});return A._asyncStartSync(l,s)},$signature:2},A._EvaluateVisitor_visitMediaRule___closure0.prototype={call$0(){var e,t,r,n,i=0,o=A._makeAsyncAwaitCompleter(D.Null),s=this,a=A._wrapJsFunctionForAsync(function(l,c){if(1===l)return A._asyncRethrow(c,o);for(;;)switch(i){case 0:e=s.node.children,t=e.length,r=s.$this,n=0;case 2:if(!(n<t)){i=4;break}return i=5,A._asyncAwait(e[n].accept$1(r),a);case 5:case 3:++n,i=2;break;case 4:return A._asyncReturn(null,o)}});return A._asyncStartSync(a,o)},$signature:2},A._EvaluateVisitor_visitMediaRule_closure6.prototype={call$1(e){var t;return t=e instanceof A.ModifiableCssStyleRule||(t=this.mergedSources).get$isNotEmpty(t)&&e instanceof A.ModifiableCssMediaRule&&C.JSArray_methods.every$1(e.queries,t.get$contains(t))},$signature:7},A._EvaluateVisitor_visitStyleRule_closure3.prototype={call$0(){var e,t,r,n,i=0,o=A._makeAsyncAwaitCompleter(D.Null),s=this,a=A._wrapJsFunctionForAsync(function(l,c){if(1===l)return A._asyncRethrow(c,o);for(;;)switch(i){case 0:e=s.node.children,t=e.length,r=s.$this,n=0;case 2:if(!(n<t)){i=4;break}return i=5,A._asyncAwait(e[n].accept$1(r),a);case 5:case 3:++n,i=2;break;case 4:return A._asyncReturn(null,o)}});return A._asyncStartSync(a,o)},$signature:2},A._EvaluateVisitor_visitStyleRule_closure4.prototype={call$1:e=>e instanceof A.ModifiableCssStyleRule,$signature:7},A._EvaluateVisitor_visitStyleRule_closure6.prototype={call$0(){var e,t=0,r=A._makeAsyncAwaitCompleter(D.Null),n=this,i=A._wrapJsFunctionForAsync(function(o,s){if(1===o)return A._asyncRethrow(s,r);for(;;)switch(t){case 0:return e=n.$this,t=2,A._asyncAwait(e._async_evaluate$_withStyleRule$1$2(n.rule,new A._EvaluateVisitor_visitStyleRule__closure0(e,n.node),D.Null),i);case 2:return A._asyncReturn(null,r)}});return A._asyncStartSync(i,r)},$signature:2},A._EvaluateVisitor_visitStyleRule__closure0.prototype={call$0(){var e,t,r,n,i=0,o=A._makeAsyncAwaitCompleter(D.Null),s=this,a=A._wrapJsFunctionForAsync(function(l,c){if(1===l)return A._asyncRethrow(c,o);for(;;)switch(i){case 0:e=s.node.children,t=e.length,r=s.$this,n=0;case 2:if(!(n<t)){i=4;break}return i=5,A._asyncAwait(e[n].accept$1(r),a);case 5:case 3:++n,i=2;break;case 4:return A._asyncReturn(null,o)}});return A._asyncStartSync(a,o)},$signature:2},A._EvaluateVisitor_visitStyleRule_closure5.prototype={call$1:e=>e instanceof A.ModifiableCssStyleRule,$signature:7},A._EvaluateVisitor__warnForBogusCombinators_closure0.prototype={call$1:e=>e instanceof A.ModifiableCssComment,$signature:7},A._EvaluateVisitor_visitSupportsRule_closure2.prototype={call$0(){var e,t,r,n,i=0,o=A._makeAsyncAwaitCompleter(D.Null),s=this,a=A._wrapJsFunctionForAsync(function(l,c){if(1===l)return A._asyncRethrow(c,o);for(;;)switch(i){case 0:e=s.node.children,t=e.length,r=s.$this,n=0;case 2:if(!(n<t)){i=4;break}return i=5,A._asyncAwait(e[n].accept$1(r),a);case 5:case 3:++n,i=2;break;case 4:return A._asyncReturn(null,o)}});return A._asyncStartSync(a,o)},$signature:2},A._EvaluateVisitor_visitSupportsRule_closure3.prototype={call$0(){var e,t,r,n,i,o=0,s=A._makeAsyncAwaitCompleter(D.Null),a=this,l=A._wrapJsFunctionForAsync(function(c,u){if(1===c)return A._asyncRethrow(u,s);for(;;)switch(o){case 0:n=a.$this,i=n._async_evaluate$_atRootExcludingStyleRule?null:n._async_evaluate$_styleRuleIgnoringAtRoot,o=null!=i?2:4;break;case 2:return o=5,A._asyncAwait(n._async_evaluate$_withParent$2$2(A.ModifiableCssStyleRule$(i._style_rule$_selector,i.span,!1,i.originalSelector),new A._EvaluateVisitor_visitSupportsRule__closure0(n,a.node),D.ModifiableCssStyleRule,D.Null),l);case 5:o=3;break;case 4:e=a.node.children,t=e.length,r=0;case 6:if(!(r<t)){o=8;break}return o=9,A._asyncAwait(e[r].accept$1(n),l);case 9:case 7:++r,o=6;break;case 8:case 3:return A._asyncReturn(null,s)}});return A._asyncStartSync(l,s)},$signature:2},A._EvaluateVisitor_visitSupportsRule__closure0.prototype={call$0(){var e,t,r,n,i=0,o=A._makeAsyncAwaitCompleter(D.Null),s=this,a=A._wrapJsFunctionForAsync(function(l,c){if(1===l)return A._asyncRethrow(c,o);for(;;)switch(i){case 0:e=s.node.children,t=e.length,r=s.$this,n=0;case 2:if(!(n<t)){i=4;break}return i=5,A._asyncAwait(e[n].accept$1(r),a);case 5:case 3:++n,i=2;break;case 4:return A._asyncReturn(null,o)}});return A._asyncStartSync(a,o)},$signature:2},A._EvaluateVisitor_visitSupportsRule_closure4.prototype={call$1:e=>e instanceof A.ModifiableCssStyleRule,$signature:7},A._EvaluateVisitor__visitSupportsCondition_closure0.prototype={call$0(){var e,t,r,n,i,o,s,a=0,l=A._makeAsyncAwaitCompleter(D.String),c=this,u=A._wrapJsFunctionForAsync(function(d,h){if(1===d)return A._asyncRethrow(h,l);for(;;)switch(a){case 0:return t=c.$this,r=c._box_0,o=A,a=3,A._asyncAwait(t._evaluateToCss$1(r.declaration.name),u);case 3:return n=o.S(h),i=r.declaration.get$isCustomProperty()?"":" ",o="("+n+":"+i,s=A,a=4,A._asyncAwait(t._evaluateToCss$1(r.declaration.value),u);case 4:e=o+s.S(h)+")",a=1;break;case 1:return A._asyncReturn(e,l)}});return A._asyncStartSync(u,l)},$signature:181},A._EvaluateVisitor_visitVariableDeclaration_closure2.prototype={call$0(){var e=this.$this._async_evaluate$_environment,t=this._box_0.override;e.setVariable$4$global(this.node.name,t.value,t.assignmentNode,!0)},$signature:1},A._EvaluateVisitor_visitVariableDeclaration_closure3.prototype={call$0(){var e=this.node;return this.$this._async_evaluate$_environment.getVariable$2$namespace(e.name,e.namespace)},$signature:44},A._EvaluateVisitor_visitVariableDeclaration_closure4.prototype={call$0(){var e=this.$this,t=this.node;e._async_evaluate$_environment.setVariable$5$global$namespace(t.name,this.value,e._async_evaluate$_expressionNode$1(t.expression),t.isGlobal,t.namespace)},$signature:1},A._EvaluateVisitor_visitUseRule_closure0.prototype={call$2(e,t){var r,n,i,o,s,a,l;t&&this.$this._async_evaluate$_registerCommentsForModule$1(e),r=this.$this._async_evaluate$_environment,null==(i=(n=this.node).namespace)?(r._async_environment$_globalModules.$indexSet(0,e,n),r._async_environment$_allModules.push(e),r=C.JSArray_methods.get$first(r._async_environment$_variables),null!=(o=A.IterableExtension_firstWhereOrNull(r.get$keys(r),e.get$variables().get$containsKey()))&&A.throwExpression(A.SassScriptException$(P.This_ma+o+'".',null))):((s=r._async_environment$_modules).containsKey$1(i)&&(l=null==(a=r._async_environment$_namespaceNodes.$index(0,i))?null:a.span,a=A.LinkedHashMap_LinkedHashMap$_empty(D.FileSpan,D.String),null!=l&&a.$indexSet(0,l,"original @use"),A.throwExpression(A.MultiSpanSassScriptException$(P.There_+i+'".',"new @use",a))),s.$indexSet(0,i,e),r._async_environment$_namespaceNodes.$indexSet(0,i,n),r._async_environment$_allModules.push(e))},$signature:141},A._EvaluateVisitor_visitWarnRule_closure0.prototype={call$0(){return this.node.expression.accept$1(this.$this)},$signature:72},A._EvaluateVisitor_visitWhileRule_closure0.prototype={call$0(){var e,t,r,n,i,o=0,s=A._makeAsyncAwaitCompleter(D.nullable_Value),a=this,l=A._wrapJsFunctionForAsync(function(c,u){if(1===c)return A._asyncRethrow(u,s);for(;;)switch(o){case 0:t=a.node,r=t.condition,n=a.$this,t=t.children;case 3:return o=5,A._asyncAwait(r.accept$1(n),l);case 5:if(!u.get$isTruthy()){o=4;break}return o=6,A._asyncAwait(n._async_evaluate$_handleReturn$2(t,new A._EvaluateVisitor_visitWhileRule__closure0(n)),l);case 6:if(null!=(i=u)){e=i,o=1;break}o=3;break;case 4:e=null,o=1;break;case 1:return A._asyncReturn(e,s)}});return A._asyncStartSync(l,s)},$signature:69},A._EvaluateVisitor_visitWhileRule__closure0.prototype={call$1(e){return e.accept$1(this.$this)},$signature:87},A._EvaluateVisitor_visitBinaryOperationExpression_closure0.prototype={call$0(){var e,t,r,n,i,o,s,a=0,l=A._makeAsyncAwaitCompleter(D.Value),c=this,u=A._wrapJsFunctionForAsync(function(d,h){if(1===d)return A._asyncRethrow(h,l);for(;;)switch(a){case 0:return r=c.node,n=c.$this,a=3,A._asyncAwait(r.left.accept$1(n),u);case 3:i=h;case 4:switch(r.operator.index){case 0:a=6;break;case 1:a=7;break;case 2:a=8;break;case 3:a=9;break;case 4:a=10;break;case 5:a=11;break;case 6:a=12;break;case 7:a=13;break;case 8:a=14;break;case 9:a=15;break;case 10:a=16;break;case 11:a=17;break;case 12:a=18;break;case 13:a=19;break;default:a=20}break;case 6:return r=r.right.accept$1(n),a=21,A._asyncAwait(D.Future_Value._is(r)?r:A._Future$value(r,D.Value),u);case 21:r=h,r=new A.SassString(A.serializeValue(i,!1,!0)+"="+A.serializeValue(r,!1,!0),!1),a=5;break;case 7:a=i.get$isTruthy()?22:24;break;case 22:r=i,a=23;break;case 24:return r=r.right.accept$1(n),a=25,A._asyncAwait(D.Future_Value._is(r)?r:A._Future$value(r,D.Value),u);case 25:r=h;case 23:a=5;break;case 8:a=i.get$isTruthy()?26:28;break;case 26:return r=r.right.accept$1(n),a=29,A._asyncAwait(D.Future_Value._is(r)?r:A._Future$value(r,D.Value),u);case 29:r=h,a=27;break;case 28:r=i;case 27:a=5;break;case 9:return o=i,a=30,A._asyncAwait(r.right.accept$1(n),u);case 30:r=o.$eq(0,h)?C.SassBoolean_true:C.SassBoolean_false,a=5;break;case 10:return o=i,a=31,A._asyncAwait(r.right.accept$1(n),u);case 31:r=o.$eq(0,h)?C.SassBoolean_false:C.SassBoolean_true,a=5;break;case 11:return r=r.right.accept$1(n),o=i,a=32,A._asyncAwait(D.Future_Value._is(r)?r:A._Future$value(r,D.Value),u);case 32:r=o.greaterThan$1(h),a=5;break;case 12:return r=r.right.accept$1(n),o=i,a=33,A._asyncAwait(D.Future_Value._is(r)?r:A._Future$value(r,D.Value),u);case 33:r=o.greaterThanOrEquals$1(h),a=5;break;case 13:return r=r.right.accept$1(n),o=i,a=34,A._asyncAwait(D.Future_Value._is(r)?r:A._Future$value(r,D.Value),u);case 34:r=o.lessThan$1(h),a=5;break;case 14:return r=r.right.accept$1(n),o=i,a=35,A._asyncAwait(D.Future_Value._is(r)?r:A._Future$value(r,D.Value),u);case 35:r=o.lessThanOrEquals$1(h),a=5;break;case 15:return r=r.right.accept$1(n),o=i,a=36,A._asyncAwait(D.Future_Value._is(r)?r:A._Future$value(r,D.Value),u);case 36:r=o.plus$1(h),a=5;break;case 16:return r=r.right.accept$1(n),o=i,a=37,A._asyncAwait(D.Future_Value._is(r)?r:A._Future$value(r,D.Value),u);case 37:r=o.minus$1(h),a=5;break;case 17:return r=r.right.accept$1(n),o=i,a=38,A._asyncAwait(D.Future_Value._is(r)?r:A._Future$value(r,D.Value),u);case 38:r=o.times$1(h),a=5;break;case 18:return t=r.right.accept$1(n),o=n,s=i,a=39,A._asyncAwait(D.Future_Value._is(t)?t:A._Future$value(t,D.Value),u);case 39:r=o._async_evaluate$_slash$3(s,h,r),a=5;break;case 19:return r=r.right.accept$1(n),o=i,a=40,A._asyncAwait(D.Future_Value._is(r)?r:A._Future$value(r,D.Value),u);case 40:r=o.modulo$1(h),a=5;break;case 20:r=null;case 5:e=r,a=1;break;case 1:return A._asyncReturn(e,l)}});return A._asyncStartSync(u,l)},$signature:72},A._EvaluateVisitor__slash_recommendation0.prototype={call$1(e){return e instanceof A.BinaryOperationExpression&&C.BinaryOperator_ehp===e.operator?"math.div("+A.S(this.call$1(e.left))+", "+A.S(this.call$1(e.right))+")":e instanceof A.ParenthesizedExpression?e.expression.toString$0(0):e.toString$0(0)},$signature:133},A._EvaluateVisitor_visitVariableExpression_closure0.prototype={call$0(){var e=this.node;return this.$this._async_evaluate$_environment.getVariable$2$namespace(e.name,e.namespace)},$signature:44},A._EvaluateVisitor_visitUnaryOperationExpression_closure0.prototype={call$0(){var e,t=this;switch(t.node.operator.index){case 0:e=t.operand.unaryPlus$0();break;case 1:e=t.operand.unaryMinus$0();break;case 2:e=new A.SassString("/"+A.serializeValue(t.operand,!1,!0),!1);break;case 3:e=t.operand.unaryNot$0();break;default:e=null}return e},$signature:33},A._EvaluateVisitor_visitIfExpression_closure0.prototype={call$1:e=>e._0+": "+e._1.toString$0(0),$signature:183},A._EvaluateVisitor_visitIfConditionOperation_closure0.prototype={call$1:e=>e._1,$signature:184},A._EvaluateVisitor_visitListExpression_closure0.prototype={call$1(e){return e.accept$1(this.$this)},$signature:493},A._EvaluateVisitor_visitFunctionExpression_closure2.prototype={call$0(){var e=this.node;return this.$this._async_evaluate$_environment.getFunction$2$namespace(e.name,e.namespace)},$signature:103},A._EvaluateVisitor_visitFunctionExpression_closure3.prototype={call$1:e=>e.accept$1(C.C_IsCalculationSafeVisitor),$signature:74},A._EvaluateVisitor_visitFunctionExpression_closure4.prototype={call$0(){var e=this.node;return this.$this._async_evaluate$_runFunctionCallable$3(e.$arguments,this._box_0.$function,e)},$signature:72},A._EvaluateVisitor__visitCalculation_closure0.prototype={call$2(e,t){return this.$this._async_evaluate$_warn$3(e,this.node.span,t)},call$1(e){return this.call$2(e,null)},$signature:105},A._EvaluateVisitor__checkCalculationArguments_check0.prototype={call$1(e){var t=this.node,r=t.$arguments.positional.length;if(0===r)throw A.wrapException(this.$this._async_evaluate$_exception$2("Missing argument.",t.span));if(null!=e&&r>e)throw A.wrapException(this.$this._async_evaluate$_exception$2("Only "+A.S(e)+" "+A.pluralize("argument",e,null)+" allowed, but "+r+" "+A.pluralize("was",r,"were")+" passed.",t.span))},call$0(){return this.call$1(null)},$signature:82},A._EvaluateVisitor__visitCalculationExpression_closure0.prototype={call$0(){var e,t,r,n,i,o,s,a,l=0,c=A._makeAsyncAwaitCompleter(D.Object),u=this,d=A._wrapJsFunctionForAsync(function(h,p){if(1===h)return A._asyncRethrow(p,c);for(;;)switch(l){case 0:return t=u.$this,r=u._box_0,n=u.node,i=u.inLegacySassFunction,o=A,s=t._async_evaluate$_binaryOperatorToCalculationOperator$2(r.operator,n),l=3,A._asyncAwait(t._async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(r.left,i),d);case 3:return a=p,l=4,A._asyncAwait(t._async_evaluate$_visitCalculationExpression$2$inLegacySassFunction(r.right,i),d);case 4:e=o.SassCalculation_operateInternal(s,a,p,i,!t._async_evaluate$_inSupportsDeclaration,new A._EvaluateVisitor__visitCalculationExpression__closure0(t,n)),l=1;break;case 1:return A._asyncReturn(e,c)}});return A._asyncStartSync(d,c)},$signature:185},A._EvaluateVisitor__visitCalculationExpression__closure0.prototype={call$2(e,t){return this.$this._async_evaluate$_warn$3(e,this.node.get$span(0),t)},call$1(e){return this.call$2(e,null)},$signature:105},A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure0.prototype={call$0(){var e=this.node;return this.$this._async_evaluate$_runFunctionCallable$3(e.$arguments,this.$function,e)},$signature:72},A._EvaluateVisitor__runUserDefinedCallable_closure0.prototype={call$0(){var e=this,t=e.$this,r=e.callable,n=e.V;return t._async_evaluate$_withEnvironment$1$2(r.environment.closure$0(),new A._EvaluateVisitor__runUserDefinedCallable__closure0(t,e.evaluated,r,e.nodeWithSpan,e.run,n),n)},$signature(){return this.V._eval$1("Future<0>()")}},A._EvaluateVisitor__runUserDefinedCallable__closure0.prototype={call$0(){var e=this,t=e.$this,r=e.V;return t._async_evaluate$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure0(t,e.evaluated,e.callable,e.nodeWithSpan,e.run,r),r)},$signature(){return this.V._eval$1("Future<0>()")}},A._EvaluateVisitor__runUserDefinedCallable___closure0.prototype={call$0(){return this.$call$body$_EvaluateVisitor__runUserDefinedCallable___closure(this.V)},$call$body$_EvaluateVisitor__runUserDefinedCallable___closure(e){var t,r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y,$=0,x=A._makeAsyncAwaitCompleter(e),S=this,E=A._wrapJsFunctionForAsync(function(e,I){if(1===e)return A._asyncRethrow(I,x);for(;;)switch($){case 0:for(g=S.$this,f=S.evaluated._values,v=S.callable.declaration.parameters,b=S.nodeWithSpan,g._async_evaluate$_verifyArguments$4(w.get$length$asx(f[2]),f[0],v,b),r=v.parameters,n=r.length,i=Math.min(w.get$length$asx(f[2]),n),o=0;o<i;++o)g._async_evaluate$_environment.setLocalVariable$3(r[o].name,w.$index$asx(f[2],o),w.$index$asx(f[3],o));o=w.get$length$asx(f[2]);case 3:if(!(o<n)){$=5;break}s=r[o],a=s.name,l=f[0].remove$1(0,a),$=null==l?6:7;break;case 6:return c=s.defaultValue,y=g,$=8,A._asyncAwait(c.accept$1(g),E);case 8:l=y._async_evaluate$_withoutSlash$2(I,g._async_evaluate$_expressionNode$1(c));case 7:c=g._async_evaluate$_environment,null==(u=f[1].$index(0,a))&&((u=s.defaultValue).toString,u=g._async_evaluate$_expressionNode$1(u)),c.setLocalVariable$3(a,l,u);case 4:++o,$=3;break;case 5:return null!=(d=v.restParameter)?(h=w.get$length$asx(f[2])>n?w.sublist$1$ax(f[2],n):C.List_empty8,n=f[0],a=f[4],p=A.SassArgumentList$(h,n,a===C.ListSeparator_undecided_null_3_undecided?C.ListSeparator_z0K:a),g._async_evaluate$_environment.setLocalVariable$3(d,p,b)):p=null,$=9,A._asyncAwait(S.run.call$0(),E);case 9:if(m=I,null==p){t=m,$=1;break}if((n=f[0]).get$isEmpty(n)){t=m,$=1;break}if(p._wereKeywordsAccessed){t=m,$=1;break}throw n=(n=f[0]).get$keys(n),_=A.pluralize("parameter",n.get$length(n),null),f=(f=f[0]).get$keys(f),A.wrapException(A.MultiSpanSassRuntimeException$("No "+_+" named "+A.toSentence(f.map$1$1(f,new A._EvaluateVisitor__runUserDefinedCallable____closure0,D.Object),"or")+".",b.get$span(b),"invocation",A.LinkedHashMap_LinkedHashMap$_literal([v.get$spanWithName(),"declaration"],D.FileSpan,D.String),g._async_evaluate$_stackTrace$1(b.get$span(b)),null));case 1:return A._asyncReturn(t,x)}});return A._asyncStartSync(E,x)},$signature(){return this.V._eval$1("Future<0>()")}},A._EvaluateVisitor__runUserDefinedCallable____closure0.prototype={call$1:e=>"$"+e,$signature:6},A._EvaluateVisitor__runFunctionCallable_closure0.prototype={call$0(){var e,t,r,n,i,o,s,a=0,l=A._makeAsyncAwaitCompleter(D.Value),c=this,u=A._wrapJsFunctionForAsync(function(d,h){if(1===d)return A._asyncRethrow(h,l);for(;;)switch(a){case 0:t=c.callable.declaration,r=t.children,n=r.length,i=c.$this,o=0;case 3:if(!(o<n)){a=5;break}return a=6,A._asyncAwait(r[o].accept$1(i),u);case 6:if((s=h)instanceof A.Value){e=s,a=1;break}case 4:++o,a=3;break;case 5:throw A.wrapException(i._async_evaluate$_exception$2("Function finished without @return.",t.span));case 1:return A._asyncReturn(e,l)}});return A._asyncStartSync(u,l)},$signature:72},A._EvaluateVisitor__runBuiltInCallable_closure2.prototype={call$0(){return this._box_0.overload.verify$2(w.get$length$asx(this.evaluated._values[2]),this.namedSet)},$signature:0},A._EvaluateVisitor__runBuiltInCallable_closure3.prototype={call$0(){return this._box_0.callback.call$1(this.evaluated._values[2])},$signature:533},A._EvaluateVisitor__runBuiltInCallable_closure4.prototype={call$1:e=>"$"+e,$signature:6},A._EvaluateVisitor__evaluateArguments_closure3.prototype={call$1:e=>e,$signature:43},A._EvaluateVisitor__evaluateArguments_closure4.prototype={call$1(e){return this.$this._async_evaluate$_withoutSlash$2(e,this.restNodeForSpan)},$signature:43},A._EvaluateVisitor__evaluateArguments_closure5.prototype={call$2(e,t){var r=this,n=r.restNodeForSpan;r.named.$indexSet(0,e,r.$this._async_evaluate$_withoutSlash$2(t,n)),r.namedNodes.$indexSet(0,e,n)},$signature:109},A._EvaluateVisitor__evaluateArguments_closure6.prototype={call$1:e=>e,$signature:43},A._EvaluateVisitor__evaluateMacroArguments_closure3.prototype={call$1(e){var t=this.restArgs;return new A.ValueExpression(e,t.get$span(t))},$signature:60},A._EvaluateVisitor__evaluateMacroArguments_closure4.prototype={call$1(e){var t=this.restArgs;return new A.ValueExpression(this.$this._async_evaluate$_withoutSlash$2(e,this.restNodeForSpan),t.get$span(t))},$signature:60},A._EvaluateVisitor__evaluateMacroArguments_closure5.prototype={call$2(e,t){var r=this,n=r.restArgs;r.named.$indexSet(0,e,new A.ValueExpression(r.$this._async_evaluate$_withoutSlash$2(t,r.restNodeForSpan),n.get$span(n)))},$signature:109},A._EvaluateVisitor__evaluateMacroArguments_closure6.prototype={call$1(e){var t=this.keywordRestArgs;return new A.ValueExpression(this.$this._async_evaluate$_withoutSlash$2(e,this.keywordRestNodeForSpan),t.get$span(t))},$signature:60},A._EvaluateVisitor__addRestMap_closure0.prototype={call$2(e,t){var r,n=this,i=n.$this;if(!(e instanceof A.SassString))throw r=n.nodeWithSpan,A.wrapException(i._async_evaluate$_exception$2(P.Variab_+e.toString$0(0)+" is not a string in "+n.map.toString$0(0)+".",r.get$span(r)));n.values.$indexSet(0,e._string$_text,n.convert.call$1(i._async_evaluate$_withoutSlash$2(t,n.expressionNode)))},$signature:99},A._EvaluateVisitor__verifyArguments_closure0.prototype={call$0(){return this.parameters.verify$2(this.positional,new A.MapKeySet(this.named,D.MapKeySet_String))},$signature:0},A._EvaluateVisitor_visitCssAtRule_closure2.prototype={call$0(){var e,t,r,n,i=0,o=A._makeAsyncAwaitCompleter(D.Null),s=this,a=A._wrapJsFunctionForAsync(function(l,c){if(1===l)return A._asyncRethrow(c,o);for(;;)switch(i){case 0:e=s.node.children,t=e.$ti,e=new A.ListIterator(e,e.get$length(0),t._eval$1("ListIterator<ListBase.E>")),r=s.$this,t=t._eval$1("ListBase.E");case 2:if(!e.moveNext$0()){i=3;break}return n=e.__internal$_current,i=4,A._asyncAwait((null==n?t._as(n):n).accept$1(r),a);case 4:i=2;break;case 3:return A._asyncReturn(null,o)}});return A._asyncStartSync(a,o)},$signature:2},A._EvaluateVisitor_visitCssAtRule_closure3.prototype={call$0(){var e,t,r,n,i=0,o=A._makeAsyncAwaitCompleter(D.Null),s=this,a=A._wrapJsFunctionForAsync(function(l,c){if(1===l)return A._asyncRethrow(c,o);for(;;)switch(i){case 0:e=s.node.children,t=e.$ti,e=new A.ListIterator(e,e.get$length(0),t._eval$1("ListIterator<ListBase.E>")),r=s.$this,t=t._eval$1("ListBase.E");case 2:if(!e.moveNext$0()){i=3;break}return n=e.__internal$_current,i=4,A._asyncAwait((null==n?t._as(n):n).accept$1(r),a);case 4:i=2;break;case 3:return A._asyncReturn(null,o)}});return A._asyncStartSync(a,o)},$signature:2},A._EvaluateVisitor_visitCssAtRule_closure4.prototype={call$1:e=>e instanceof A.ModifiableCssStyleRule,$signature:7},A._EvaluateVisitor_visitCssKeyframeBlock_closure1.prototype={call$0(){var e,t,r,n,i=0,o=A._makeAsyncAwaitCompleter(D.Null),s=this,a=A._wrapJsFunctionForAsync(function(l,c){if(1===l)return A._asyncRethrow(c,o);for(;;)switch(i){case 0:e=s.node.children,t=e.$ti,e=new A.ListIterator(e,e.get$length(0),t._eval$1("ListIterator<ListBase.E>")),r=s.$this,t=t._eval$1("ListBase.E");case 2:if(!e.moveNext$0()){i=3;break}return n=e.__internal$_current,i=4,A._asyncAwait((null==n?t._as(n):n).accept$1(r),a);case 4:i=2;break;case 3:return A._asyncReturn(null,o)}});return A._asyncStartSync(a,o)},$signature:2},A._EvaluateVisitor_visitCssKeyframeBlock_closure2.prototype={call$1:e=>e instanceof A.ModifiableCssStyleRule,$signature:7},A._EvaluateVisitor_visitCssMediaRule_closure3.prototype={call$0(){var e,t,r,n,i=0,o=A._makeAsyncAwaitCompleter(D.Null),s=this,a=A._wrapJsFunctionForAsync(function(l,c){if(1===l)return A._asyncRethrow(c,o);for(;;)switch(i){case 0:e=s.node.children,t=e.$ti,e=new A.ListIterator(e,e.get$length(0),t._eval$1("ListIterator<ListBase.E>")),r=s.$this,t=t._eval$1("ListBase.E");case 2:if(!e.moveNext$0()){i=3;break}return n=e.__internal$_current,i=4,A._asyncAwait((null==n?t._as(n):n).accept$1(r),a);case 4:i=2;break;case 3:return A._asyncReturn(null,o)}});return A._asyncStartSync(a,o)},$signature:2},A._EvaluateVisitor_visitCssMediaRule_closure4.prototype={call$1(e){return this.$this._async_evaluate$_mergeMediaQueries$2(e,this.node.queries)},$signature:89},A._EvaluateVisitor_visitCssMediaRule_closure5.prototype={call$0(){var e,t,r=0,n=A._makeAsyncAwaitCompleter(D.Null),i=this,o=A._wrapJsFunctionForAsync(function(s,a){if(1===s)return A._asyncRethrow(a,n);for(;;)switch(r){case 0:return e=i.$this,null==(t=i.mergedQueries)&&(t=i.node.queries),r=2,A._asyncAwait(e._async_evaluate$_withMediaQueries$1$3(t,i.mergedSources,new A._EvaluateVisitor_visitCssMediaRule__closure0(e,i.node),D.Null),o);case 2:return A._asyncReturn(null,n)}});return A._asyncStartSync(o,n)},$signature:2},A._EvaluateVisitor_visitCssMediaRule__closure0.prototype={call$0(){var e,t,r,n,i,o=0,s=A._makeAsyncAwaitCompleter(D.Null),a=this,l=A._wrapJsFunctionForAsync(function(c,u){if(1===c)return A._asyncRethrow(u,s);for(;;)switch(o){case 0:n=a.$this,i=n._async_evaluate$_atRootExcludingStyleRule?null:n._async_evaluate$_styleRuleIgnoringAtRoot,o=null!=i?2:4;break;case 2:return o=5,A._asyncAwait(n._async_evaluate$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(i._style_rule$_selector,i.span,!1,i.originalSelector),new A._EvaluateVisitor_visitCssMediaRule___closure0(n,a.node),!1,D.ModifiableCssStyleRule,D.Null),l);case 5:o=3;break;case 4:e=a.node.children,t=e.$ti,e=new A.ListIterator(e,e.get$length(0),t._eval$1("ListIterator<ListBase.E>")),t=t._eval$1("ListBase.E");case 6:if(!e.moveNext$0()){o=7;break}return r=e.__internal$_current,o=8,A._asyncAwait((null==r?t._as(r):r).accept$1(n),l);case 8:o=6;break;case 7:case 3:return A._asyncReturn(null,s)}});return A._asyncStartSync(l,s)},$signature:2},A._EvaluateVisitor_visitCssMediaRule___closure0.prototype={call$0(){var e,t,r,n,i=0,o=A._makeAsyncAwaitCompleter(D.Null),s=this,a=A._wrapJsFunctionForAsync(function(l,c){if(1===l)return A._asyncRethrow(c,o);for(;;)switch(i){case 0:e=s.node.children,t=e.$ti,e=new A.ListIterator(e,e.get$length(0),t._eval$1("ListIterator<ListBase.E>")),r=s.$this,t=t._eval$1("ListBase.E");case 2:if(!e.moveNext$0()){i=3;break}return n=e.__internal$_current,i=4,A._asyncAwait((null==n?t._as(n):n).accept$1(r),a);case 4:i=2;break;case 3:return A._asyncReturn(null,o)}});return A._asyncStartSync(a,o)},$signature:2},A._EvaluateVisitor_visitCssMediaRule_closure6.prototype={call$1(e){var t;return t=e instanceof A.ModifiableCssStyleRule||(t=this.mergedSources).get$isNotEmpty(t)&&e instanceof A.ModifiableCssMediaRule&&C.JSArray_methods.every$1(e.queries,t.get$contains(t))},$signature:7},A._EvaluateVisitor_visitCssStyleRule_closure2.prototype={call$0(){var e,t=0,r=A._makeAsyncAwaitCompleter(D.Null),n=this,i=A._wrapJsFunctionForAsync(function(o,s){if(1===o)return A._asyncRethrow(s,r);for(;;)switch(t){case 0:return e=n.$this,t=2,A._asyncAwait(e._async_evaluate$_withStyleRule$1$2(n.rule,new A._EvaluateVisitor_visitCssStyleRule__closure0(e,n.node),D.Null),i);case 2:return A._asyncReturn(null,r)}});return A._asyncStartSync(i,r)},$signature:2},A._EvaluateVisitor_visitCssStyleRule__closure0.prototype={call$0(){var e,t,r,n,i=0,o=A._makeAsyncAwaitCompleter(D.Null),s=this,a=A._wrapJsFunctionForAsync(function(l,c){if(1===l)return A._asyncRethrow(c,o);for(;;)switch(i){case 0:e=s.node.children,t=e.$ti,e=new A.ListIterator(e,e.get$length(0),t._eval$1("ListIterator<ListBase.E>")),r=s.$this,t=t._eval$1("ListBase.E");case 2:if(!e.moveNext$0()){i=3;break}return n=e.__internal$_current,i=4,A._asyncAwait((null==n?t._as(n):n).accept$1(r),a);case 4:i=2;break;case 3:return A._asyncReturn(null,o)}});return A._asyncStartSync(a,o)},$signature:2},A._EvaluateVisitor_visitCssStyleRule_closure1.prototype={call$1:e=>e instanceof A.ModifiableCssStyleRule,$signature:7},A._EvaluateVisitor_visitCssSupportsRule_closure2.prototype={call$0(){var e,t,r,n,i=0,o=A._makeAsyncAwaitCompleter(D.Null),s=this,a=A._wrapJsFunctionForAsync(function(l,c){if(1===l)return A._asyncRethrow(c,o);for(;;)switch(i){case 0:e=s.node.children,t=e.$ti,e=new A.ListIterator(e,e.get$length(0),t._eval$1("ListIterator<ListBase.E>")),r=s.$this,t=t._eval$1("ListBase.E");case 2:if(!e.moveNext$0()){i=3;break}return n=e.__internal$_current,i=4,A._asyncAwait((null==n?t._as(n):n).accept$1(r),a);case 4:i=2;break;case 3:return A._asyncReturn(null,o)}});return A._asyncStartSync(a,o)},$signature:2},A._EvaluateVisitor_visitCssSupportsRule_closure3.prototype={call$0(){var e,t,r,n,i,o=0,s=A._makeAsyncAwaitCompleter(D.Null),a=this,l=A._wrapJsFunctionForAsync(function(c,u){if(1===c)return A._asyncRethrow(u,s);for(;;)switch(o){case 0:n=a.$this,i=n._async_evaluate$_atRootExcludingStyleRule?null:n._async_evaluate$_styleRuleIgnoringAtRoot,o=null!=i?2:4;break;case 2:return o=5,A._asyncAwait(n._async_evaluate$_withParent$2$2(A.ModifiableCssStyleRule$(i._style_rule$_selector,i.span,!1,i.originalSelector),new A._EvaluateVisitor_visitCssSupportsRule__closure0(n,a.node),D.ModifiableCssStyleRule,D.Null),l);case 5:o=3;break;case 4:e=a.node.children,t=e.$ti,e=new A.ListIterator(e,e.get$length(0),t._eval$1("ListIterator<ListBase.E>")),t=t._eval$1("ListBase.E");case 6:if(!e.moveNext$0()){o=7;break}return r=e.__internal$_current,o=8,A._asyncAwait((null==r?t._as(r):r).accept$1(n),l);case 8:o=6;break;case 7:case 3:return A._asyncReturn(null,s)}});return A._asyncStartSync(l,s)},$signature:2},A._EvaluateVisitor_visitCssSupportsRule__closure0.prototype={call$0(){var e,t,r,n,i=0,o=A._makeAsyncAwaitCompleter(D.Null),s=this,a=A._wrapJsFunctionForAsync(function(l,c){if(1===l)return A._asyncRethrow(c,o);for(;;)switch(i){case 0:e=s.node.children,t=e.$ti,e=new A.ListIterator(e,e.get$length(0),t._eval$1("ListIterator<ListBase.E>")),r=s.$this,t=t._eval$1("ListBase.E");case 2:if(!e.moveNext$0()){i=3;break}return n=e.__internal$_current,i=4,A._asyncAwait((null==n?t._as(n):n).accept$1(r),a);case 4:i=2;break;case 3:return A._asyncReturn(null,o)}});return A._asyncStartSync(a,o)},$signature:2},A._EvaluateVisitor_visitCssSupportsRule_closure4.prototype={call$1:e=>e instanceof A.ModifiableCssStyleRule,$signature:7},A._EvaluateVisitor__performInterpolationHelper_closure0.prototype={call$1(e){return A.InterpolationMap$(this.interpolation,e)},$signature:143},A._EvaluateVisitor__serialize_closure0.prototype={call$0(){return A.serializeValue(this.value,!1,this.quote)},$signature:29},A._EvaluateVisitor__expressionNode_closure0.prototype={call$0(){var e=this.expression;return this.$this._async_evaluate$_environment.getVariableNode$2$namespace(e.name,e.namespace)},$signature:188},A._EvaluateVisitor__withoutSlash_recommendation0.prototype={call$1(e){var t,r,n,i=e.asSlash;return D.Record_2_nullable_Object_and_nullable_Object._is(i)?(t=i._0,r=i._1,n="math.div("+A.S(this.call$1(t))+", "+A.S(this.call$1(r))+")"):n=A.serializeValue(e,!0,!0),n},$signature:189},A._EvaluateVisitor__stackFrame_closure0.prototype={call$1(e){var t=this.$this._async_evaluate$_importCache;return null==(t=null==t?null:t.humanize$1(e))?e:t},$signature:49},A._ImportedCssVisitor0.prototype={visitCssAtRule$1(e){var t=e.isChildless?null:new A._ImportedCssVisitor_visitCssAtRule_closure0;this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(e,t)},visitCssComment$1(e){return this._async_evaluate$_visitor._async_evaluate$_addChild$1(e)},visitCssDeclaration$1(e){return this._async_evaluate$_visitor._async_evaluate$_addChild$1(e)},visitCssImport$1(e){var t,r="_endOfImports",n=this._async_evaluate$_visitor;n._async_evaluate$_assertInModule$2(n._async_evaluate$__parent,"__parent")!==n._async_evaluate$_assertInModule$2(n._async_evaluate$__root,"_root")?n._async_evaluate$_addChild$1(e):n._async_evaluate$_assertInModule$2(n._async_evaluate$__endOfImports,r)===w.get$length$asx(n._async_evaluate$_assertInModule$2(n._async_evaluate$__root,"_root").children._collection$_source)?(n._async_evaluate$_addChild$1(e),n._async_evaluate$__endOfImports=n._async_evaluate$_assertInModule$2(n._async_evaluate$__endOfImports,r)+1):(null==(t=n._async_evaluate$_outOfOrderImports)?n._async_evaluate$_outOfOrderImports=A._setArrayType([],D.JSArray_ModifiableCssImport):t).push(e)},visitCssKeyframeBlock$1(e){},visitCssMediaRule$1(e){var t=this._async_evaluate$_visitor,r=t._async_evaluate$_mediaQueries;t._async_evaluate$_addChild$2$through(e,new A._ImportedCssVisitor_visitCssMediaRule_closure0(null==r||null!=t._async_evaluate$_mergeMediaQueries$2(r,e.queries)))},visitCssStyleRule$1(e){return this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(e,new A._ImportedCssVisitor_visitCssStyleRule_closure0)},visitCssStylesheet$1(e){var t,r,n;for(r=(t=e.children).$ti,t=new A.ListIterator(t,t.get$length(0),r._eval$1("ListIterator<ListBase.E>")),r=r._eval$1("ListBase.E");t.moveNext$0();)(null==(n=t.__internal$_current)?r._as(n):n).accept$1(this)},visitCssSupportsRule$1(e){return this._async_evaluate$_visitor._async_evaluate$_addChild$2$through(e,new A._ImportedCssVisitor_visitCssSupportsRule_closure0)}},A._ImportedCssVisitor_visitCssAtRule_closure0.prototype={call$1:e=>e instanceof A.ModifiableCssStyleRule,$signature:7},A._ImportedCssVisitor_visitCssMediaRule_closure0.prototype={call$1(e){return e instanceof A.ModifiableCssStyleRule||this.hasBeenMerged&&e instanceof A.ModifiableCssMediaRule},$signature:7},A._ImportedCssVisitor_visitCssStyleRule_closure0.prototype={call$1:e=>e instanceof A.ModifiableCssStyleRule,$signature:7},A._ImportedCssVisitor_visitCssSupportsRule_closure0.prototype={call$1:e=>e instanceof A.ModifiableCssStyleRule,$signature:7},A._EvaluationContext0.prototype={get$currentCallableSpan(){var e=this._async_evaluate$_visitor._async_evaluate$_callableNode;if(null!=e)return e.get$span(e);throw A.wrapException(A.StateError$(P.No_Sasc))},warn$2(e,t,r){var n=this._async_evaluate$_visitor,i=n._async_evaluate$_importSpan;null==i&&(i=null==(i=n._async_evaluate$_callableNode)?null:i.get$span(i)),n._async_evaluate$_warn$3(t,null==i?this._async_evaluate$_defaultWarnNodeWithSpan.span:i,r)},$isEvaluationContext:1},A._CloneCssVisitor.prototype={visitCssAtRule$1(e){var t=e.isChildless,r=A.ModifiableCssAtRule$(e.name,e.span,t,e.value);return t?r:this._visitChildren$2(r,e)},visitCssComment$1:e=>new A.ModifiableCssComment(e.text,e.span),visitCssDeclaration$1:e=>A.ModifiableCssDeclaration$(e.name,e.value,e.span,e.parsedAsSassScript,e.valueSpanForMap),visitCssImport$1:e=>new A.ModifiableCssImport(e.url,e.modifiers,e.span),visitCssKeyframeBlock$1(e){return this._visitChildren$2(A.ModifiableCssKeyframeBlock$(e.selector,e.span),e)},visitCssMediaRule$1(e){return this._visitChildren$2(A.ModifiableCssMediaRule$(e.queries,e.span),e)},visitCssStyleRule$1(e){var t=this._oldToNewSelectors.$index(0,e._style_rule$_selector._box$_inner.value);if(null!=t)return this._visitChildren$2(A.ModifiableCssStyleRule$(t,e.span,!1,e.originalSelector),e);throw A.wrapException(A.StateError$(P.The_Ex))},visitCssStylesheet$1(e){return this._visitChildren$2(A.ModifiableCssStylesheet$(e.get$span(e)),e)},visitCssSupportsRule$1(e){return this._visitChildren$2(A.ModifiableCssSupportsRule$(e.condition,e.span),e)},_visitChildren$1$2(e,t){var r,n,i;for(r=w.get$iterator$ax(t.get$children(t));r.moveNext$0();)(i=(n=r.get$current(r)).accept$1(this)).isGroupEnd=n.get$isGroupEnd(),e.addChild$1(i);return e},_visitChildren$2(e,t){return this._visitChildren$1$2(e,t,D.ModifiableCssParentNode)}},A.Evaluator.prototype={},A._EvaluateVisitor.prototype={get$_hasCssNesting(){for(var e,t,r,n=this._atRootExcludingStyleRule?null:this._styleRuleIgnoringAtRoot;;n=r){if((e=null==n?null:n._parent)instanceof A.ModifiableCssStyleRule)return!0;if(r=(t=null!=e)?e:null,!t)return!1}},_EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap(e,t,r,n,i,o){var s,a,l,c,u,d,h,p=this,m="$name, $module: null",_="sass:meta",g="$module",f=D.JSArray_BuiltInCallable,v=A._setArrayType([A.BuiltInCallable$function("global-variable-exists",m,new A._EvaluateVisitor_closure(p),_),A.BuiltInCallable$function("variable-exists","$name",new A._EvaluateVisitor_closure0(p),_),A.BuiltInCallable$function("function-exists",m,new A._EvaluateVisitor_closure1(p),_),A.BuiltInCallable$function("mixin-exists",m,new A._EvaluateVisitor_closure2(p),_),A.BuiltInCallable$function("content-exists","",new A._EvaluateVisitor_closure3(p),_),A.BuiltInCallable$function("module-variables",g,new A._EvaluateVisitor_closure4(p),_),A.BuiltInCallable$function("module-functions",g,new A._EvaluateVisitor_closure5(p),_),A.BuiltInCallable$function("module-mixins",g,new A._EvaluateVisitor_closure6(p),_),A.BuiltInCallable$function("get-function","$name, $css: false, $module: null",new A._EvaluateVisitor_closure7(p),_),A.BuiltInCallable$function("get-mixin",m,new A._EvaluateVisitor_closure8(p),_),A.BuiltInCallable$function("call","$function, $args...",new A._EvaluateVisitor_closure9(p),_)],f),b=A._setArrayType([A.BuiltInCallable$mixin("load-css","$url, $with: null",new A._EvaluateVisitor_closure10(p),!1,_),A.BuiltInCallable$mixin("apply","$mixin, $args...",new A._EvaluateVisitor_closure11(p),!0,_)],f);for(f=D.BuiltInCallable,s=A.List_List$_of(I.$get$moduleFunctions(),f),C.JSArray_methods.addAll$1(s,v),a=A.BuiltInModule$("meta",s,b,null,f),(f=A.List_List$_of(I.$get$coreModules(),D.BuiltInModule_Callable)).push(a),s=f.length,l=p._builtInModules,c=0;c<f.length;f.length===s||(0,A.throwConcurrentModificationError)(f),++c)u=f[c],l.$indexSet(0,u.url,u);for(f=D.JSArray_Callable,s=A._setArrayType([],f),C.JSArray_methods.addAll$1(s,I.$get$globalFunctions()),f=A._setArrayType([],f),c=0;c<11;++c)f.push(v[c].withDeprecationWarning$1("meta"));for(C.JSArray_methods.addAll$1(s,f),f=s.length,l=p._builtInFunctions,c=0;c<s.length;s.length===f||(0,A.throwConcurrentModificationError)(s),++c)h=(d=s[c]).get$name(d),l.$indexSet(0,A.stringReplaceAllUnchecked(h,"_","-"),d)},run$2(e,t,r){var n,i,o;try{return o=D.nullable_Object,o=A.runZoned(new A._EvaluateVisitor_run_closure(this,r,t),A.LinkedHashMap_LinkedHashMap$_literal([C.Symbol__evaluationContext,new A._EvaluationContext(this,r)],o,o),D.Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet)}catch(e){if(!((o=A.unwrapException(e))instanceof A.SassException))throw e;n=o,i=A.getTraceFromException(e),A.throwWithTrace(n.withLoadedUrls$1(this._loadedUrls),n,i)}},runExpression$2(e,t){var r=D.nullable_Object;return A.runZoned(new A._EvaluateVisitor_runExpression_closure(this,e,t),A.LinkedHashMap_LinkedHashMap$_literal([C.Symbol__evaluationContext,new A._EvaluationContext(this,t)],r,r),D.Value)},runStatement$2(e,t){var r=D.nullable_Object;return A.runZoned(new A._EvaluateVisitor_runStatement_closure(this,e,t),A.LinkedHashMap_LinkedHashMap$_literal([C.Symbol__evaluationContext,new A._EvaluationContext(this,t)],r,r),D.void)},_assertInModule$1$2(e,t){if(null!=e)return e;throw A.wrapException(A.StateError$("Can't access "+t+" outside of a module."))},_assertInModule$2(e,t){return this._assertInModule$1$2(e,t,D.dynamic)},_withFakeStylesheet$1$3(e,t,r){var n=this,i=n._importer;n._importer=e,n.__stylesheet=A.Stylesheet$(C.List_empty16,t.get$span(t));try{return r.call$0()}finally{n._importer=i,n.__stylesheet=null}},_withFakeStylesheet$3(e,t,r){return this._withFakeStylesheet$1$3(e,t,r,D.dynamic)},_loadModule$7$baseUrl$configuration$namesInErrors(e,t,r,n,i,o,s){var a,l=this,c=l._builtInModules.$index(0,e),u={builtInModule:null};if(null==c)l._withStackFrame$3(t,r,new A._EvaluateVisitor__loadModule_closure0(l,e,r,i,s,o,n));else{if(u.builtInModule=c,o instanceof A.ExplicitConfiguration)throw u=s?"Built-in module "+e.toString$0(0)+" can't be configured.":"Built-in modules can't be configured.",a=o.nodeWithSpan,A.wrapException(l._evaluate$_exception$2(u,a.get$span(a)));l._addExceptionSpan$2(r,new A._EvaluateVisitor__loadModule_closure(u,n))}},_loadModule$5$configuration(e,t,r,n,i){return this._loadModule$7$baseUrl$configuration$namesInErrors(e,t,r,n,null,i,!1)},_loadModule$4(e,t,r,n){return this._loadModule$7$baseUrl$configuration$namesInErrors(e,t,r,n,null,null,!1)},_execute$5$configuration$namesInErrors$nodeWithSpan(e,t,r,n,i){var o,s,a,l,c,u,d,h,p,m,_,g,f=this,v=t.span,b=v.get$sourceUrl(v);if(o=(v=null==r)?f._configuration:r,null!=(a=(s=f._modules).$index(0,b))){if((s=null==(l=(s=f._moduleConfigurations.$index(0,b)).__originalConfiguration)?s:l)!==(null==(l=o.__originalConfiguration)?o:l)&&o instanceof A.ExplicitConfiguration&&a.couldHaveBeenConfigured$1(new A.MapKeySet(new A.UnmodifiableMapView(o._configuration$_values,D.UnmodifiableMapView_String_ConfiguredValue),D.MapKeySet_String)))throw n?(s=I.$get$context(),b.toString,c=s.prettyUri$1(b)+P.x20was_a):c=P.This_mw,u=null==(s=f._moduleNodes.$index(0,b))?null:s.get$span(s),d=v?(v=o.nodeWithSpan).get$span(v):null,v=A.LinkedHashMap_LinkedHashMap$_empty(D.FileSpan,D.String),null!=u&&v.$indexSet(0,u,"original load"),null!=d&&v.$indexSet(0,d,"configuration"),A.wrapException(v.get$isEmpty(0)?f._evaluate$_exception$1(c):f._multiSpanException$3(c,"new load",v));return a}return h=A.Environment$(),p=A._Cell$(),m=A._Cell$(),_=A.ExtensionStore$(),f._withEnvironment$2(h,new A._EvaluateVisitor__execute_closure(f,e,t,_,r,p,m)),v=p._readLocal$0(),l=m._readLocal$0(),g=h.toModule$3(v,null==l?C.Map_empty:l,_),null!=b&&(s.$indexSet(0,b,g),f._moduleConfigurations.$indexSet(0,b,o),null!=i&&f._moduleNodes.$indexSet(0,b,i)),g},_execute$2(e,t){return this._execute$5$configuration$namesInErrors$nodeWithSpan(e,t,null,!1,null)},_addOutOfOrderImports$0(){var e,t,r=this,n="_root",i="_endOfImports",o=r._outOfOrderImports;return null!=o?(e=r._assertInModule$2(r.__root,n).children,e=A.List_List$_of(A.SubListIterable$(e,0,A.checkNotNullable(r._assertInModule$2(r.__endOfImports,i),"count",D.int),e.$ti._eval$1("ListBase.E")),D.ModifiableCssNode),C.JSArray_methods.addAll$1(e,o),t=r._assertInModule$2(r.__root,n).children,C.JSArray_methods.addAll$1(e,A.SubListIterable$(t,r._assertInModule$2(r.__endOfImports,i),null,t.$ti._eval$1("ListBase.E")))):e=r._assertInModule$2(r.__root,n).children,e},_combineCss$2$clone(e,t){var r,n,i,o,s,a,l;return C.JSArray_methods.any$1(e.get$upstream(),new A._EvaluateVisitor__combineCss_closure)?(i=D.JSArray_CssNode,o=A._setArrayType([],i),s=A._setArrayType([],i),i=D.Module_Callable,a=A.ListQueue$(i),new A._EvaluateVisitor__combineCss_visitModule(this,A.LinkedHashSet_LinkedHashSet$_empty(i),t,s,o,a).call$1(e),e.get$transitivelyContainsExtensions()&&this._extendModules$1(a),i=C.JSArray_methods.$add(o,s),l=e.get$css(e),new A.CssStylesheet(new A.UnmodifiableListView(i,D.UnmodifiableListView_CssNode),l.get$span(l))):(r=e.get$extensionStore().get$simpleSelectors(),null!=(n=A.IterableExtension_get_firstOrNull(e.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure0(r))))&&this._throwForUnsatisfiedExtension$1(n),e.get$css(e))},_combineCss$1(e){return this._combineCss$2$clone(e,!1)},_extendModules$1(e){var t,r,n,i,o,s,a,l,c,u,d=A.LinkedHashMap_LinkedHashMap$_empty(D.Uri,D.List_ExtensionStore),h=new A._LinkedIdentityHashSet(D._LinkedIdentityHashSet_Extension);for(r=(t=A._ListQueueIterator$(e,e.$ti._precomputed1)).$ti._precomputed1;t.moveNext$0();)if(null==(n=t._collection$_current)&&(n=r._as(n)),i=n.get$extensionStore().get$simpleSelectors().toSet$0(0),h.addAll$1(0,n.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure(i))),o=d.$index(0,n.get$url(n)),s=n.get$extensionStore().get$addExtensions(),null!=o&&s.call$1(o),!(s=n.get$extensionStore()).get$isEmpty(s)){for(a=(s=n.get$upstream()).length,l=0;l<s.length;s.length===a||(0,A.throwConcurrentModificationError)(s),++l)null!=(u=(c=s[l]).get$url(c))&&w.add$1$ax(d.putIfAbsent$2(u,new A._EvaluateVisitor__extendModules_closure0),n.get$extensionStore());h.removeAll$1(n.get$extensionStore().extensionsWhereTarget$1(i.get$contains(i)))}0!==h._collection$_length&&this._throwForUnsatisfiedExtension$1(h.get$first(0))},_throwForUnsatisfiedExtension$1(e){throw A.wrapException(A.SassException$(P.The_ta+e.target.toString$0(0)+' !optional" to avoid this error.',e.span,null))},_indexAfterImports$1(e){var t,r,n,i;for(t=w.getInterceptor$asx(e),r=-1,n=0;n<t.get$length(e);++n){if(!((i=t.$index(e,n))instanceof A.ModifiableCssImport)){if(i instanceof A.ModifiableCssComment)continue;break}r=n}return r+1},visitStylesheet$1(e,t){var r,n,i,o,s,a;for(n=(r=t.parseTimeWarnings).$ti,r=new A.ListIterator(r,r.get$length(0),n._eval$1("ListIterator<ListBase.E>")),n=n._eval$1("ListBase.E");r.moveNext$0();)null==(i=r.__internal$_current)&&(i=n._as(i)),this._warn$3(i._1,i._2,i._0);for(n=(r=t.children).length,o=0;o<n;++o)r[o].accept$1(this);for(r=(r=A.MapExtensions_get_pairs(t.globalVariables,D.String,D.FileSpan)).get$iterator(r);r.moveNext$0();)s=(n=r.get$current(r))._0,a=n._1,this.visitVariableDeclaration$1(0,new A.VariableDeclaration(null,s,new A.NullExpression(a),!0,!1,a));return null},visitAtRootRule$1(e,t){var r,n,i,o,s,a,l,c,u,d=this,h=null,p="__parent",m=t.query,_=null!=m?new A.AtRootQueryParser(A.SpanScanner$(d._performInterpolationWithMap$2$warnForColor(m,!0)._0,h),h).parse$0(0):C.AtRootQuery_bfj,g=d._assertInModule$2(d.__parent,p),f=A._setArrayType([],D.JSArray_ModifiableCssParentNode);for(r=D.CssStylesheet;!r._is(g);g=n)if(_.excludes$1(g)||f.push(g),null==(n=g._parent))throw A.wrapException(A.StateError$(P.CssNod));if((i=d._trimIncluded$1(f))===d._assertInModule$2(d.__parent,p))return d._environment.scope$1$2$when(new A._EvaluateVisitor_visitAtRootRule_closure(d,t),t.hasDeclarations,D.Null),h;if(f.length>=1){for(o=f[0],s=C.JSArray_methods.sublist$1(f,1),a=o.copyWithoutChildren$0(),r=s.length,l=a,c=0;c<s.length;s.length===r||(0,A.throwConcurrentModificationError)(s),++c,l=u)(u=s[c].copyWithoutChildren$0()).addChild$1(l);i.addChild$1(l)}else a=i;return d._scopeForAtRoot$4(t,a,_,f).call$1(new A._EvaluateVisitor_visitAtRootRule_closure0(d,t)),h},_trimIncluded$1(e){var t,r,n,i,o,s,a,l,c=this,u=null,d="_root",h=" to be an ancestor of ";if(0===e.length)return c._assertInModule$2(c.__root,d);for(t=c._assertInModule$2(c.__parent,"__parent"),r=e.length,n=u,i=0;i<r;++i,t=a){for(;t!==(o=e[i]);n=u,t=s)if(null==(s=t._parent))throw A.wrapException(A.ArgumentError$("Expected "+o.toString$0(0)+h+c.toString$0(0)+".",u));if(null==n&&(n=i),null==(a=t._parent))throw A.wrapException(A.ArgumentError$("Expected "+o.toString$0(0)+h+c.toString$0(0)+".",u))}return t!==c._assertInModule$2(c.__root,d)?c._assertInModule$2(c.__root,d):(n.toString,l=e[n],C.JSArray_methods.removeRange$2(e,n,e.length),l)},_scopeForAtRoot$4(e,t,r,n){var i=this,o=new A._EvaluateVisitor__scopeForAtRoot_closure(i,t,e);return(r._all||r._at_root_query$_rule)!==r.include&&(o=new A._EvaluateVisitor__scopeForAtRoot_closure0(i,o)),null!=i._mediaQueries&&r.excludesName$1("media")&&(o=new A._EvaluateVisitor__scopeForAtRoot_closure1(i,o)),i._inKeyframes&&r.excludesName$1("keyframes")&&(o=new A._EvaluateVisitor__scopeForAtRoot_closure2(i,o)),i._inUnknownAtRule&&!C.JSArray_methods.any$1(n,new A._EvaluateVisitor__scopeForAtRoot_closure3)?new A._EvaluateVisitor__scopeForAtRoot_closure4(i,o):o},visitContentBlock$1:(e,t)=>A.throwExpression(A.UnsupportedError$(P.Evalua)),visitContentRule$1(e,t){var r=this._environment._content;return null==r||this._runUserDefinedCallable$1$4(t.$arguments,r,t,new A._EvaluateVisitor_visitContentRule_closure(this,r),D.Null),null},visitDebugRule$1(e,t){var r=t.expression.accept$1(this),n=r instanceof A.SassString?r._string$_text:A.serializeValue(r,!0,!0);return this._logger.debug$2(0,n,t.span),null},visitDeclaration$1(e,t){var r,n,i,o,s,a,l,c,u,d=this,h=null;if(null==(d._atRootExcludingStyleRule?h:d._styleRuleIgnoringAtRoot)&&!d._inUnknownAtRule&&!d._inKeyframes)throw A.wrapException(d._evaluate$_exception$2(P.Declarm,t.span));if(null!=d._declarationName&&!t.parsedAsSassScript)throw r=C.JSString_methods.startsWith$1(t.name.get$initialPlain(),"--")?P.Declarw:P.Declarp,A.wrapException(d._evaluate$_exception$2(r,t.span));return n=d._interpolationToValue$2$warnForColor(t.name,!0),null!=(i=d._declarationName)&&(n=new A.CssValue(i+"-"+n.value,n.span,D.CssValue_String)),null!=(o=t.value)&&((s=o.accept$1(d)).get$isBlank()&&0!==s.get$asList().length&&!C.JSString_methods.startsWith$1(n.value,"--")||(d._copyParentAfterSibling$0(),r=d._assertInModule$2(d.__parent,"__parent"),a=o.get$span(o),l=d._sourceMap?null==(l=A.NullableExtension_andThen(o,d.get$_expressionNode()))?h:w.get$span$x(l):h,r.addChild$1(A.ModifiableCssDeclaration$(n,new A.CssValue(s,a,D.CssValue_Value),t.span,t.parsedAsSassScript,l)))),c=t.children,(r={}).children=null,null!=c&&(r.children=c,u=d._declarationName,d._declarationName=n.value,d._environment.scope$1$2$when(new A._EvaluateVisitor_visitDeclaration_closure(r,d),t.hasDeclarations,D.Null),d._declarationName=u),h},visitEachRule$1(e,t){var r=this,n=t.list,i=n.accept$1(r),o=r._expressionNode$1(n),s=t.variables;return(n={}).variable=null,1!==s.length?((n={}).variables=null,n.variables=s,n=new A._EvaluateVisitor_visitEachRule_closure0(n,r,o)):(n.variable=s[0],n=new A._EvaluateVisitor_visitEachRule_closure(n,r,o)),r._environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitEachRule_closure1(r,i,n,t),!0,D.nullable_Value)},_setMultipleVariables$3(e,t,r){var n,i=t.get$asList(),o=e.length,s=Math.min(o,i.length);for(n=0;n<s;++n)this._environment.setLocalVariable$3(e[n],this._withoutSlash$2(i[n],r),r);for(n=s;n<o;++n)this._environment.setLocalVariable$3(e[n],C.C__SassNull,r)},visitErrorRule$1(e,t){throw A.wrapException(this._evaluate$_exception$2(t.expression.accept$1(this).toString$0(0),t.span))},visitExtendRule$1(e,t){var r,n,i,o,s,a,l,c,u,d,h,p,m,_=this,g=null,f=_._atRootExcludingStyleRule?g:_._styleRuleIgnoringAtRoot;if(null==f||null!=_._declarationName)throw A.wrapException(_._evaluate$_exception$2(P.x40exten,t.span));for(n=(r=f.originalSelector.components).length,i=t.span,o=D.SourceSpan,s=D.String,a=0;a<n;++a)(l=r[a]).accept$1(C._IsBogusVisitor_true)&&(c=A._SerializeVisitor$(g,!0,g,g,!0,!1,g,!0),l.accept$1(c),u=C.JSString_methods.trim$0(c._serialize$_buffer.toString$0(0)),d=l.accept$1(C.C__IsUselessVisitor)?"can't":"shouldn't",_._warn$3('The selector "'+u+'" is invalid CSS and '+d+P.x20be_an,new A.MultiSpan(A.SpanExtensions_trimRight(l.span),"invalid selector",A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([i,"@extend rule"],o,s),o,s)),C.Deprecation_0rM));for(h=_._performInterpolationWithMap$2$warnForColor(t.selector,!0),n=(r=A.SelectorList_SelectorList$parse(A.trimAscii(h._0,!0),!1,h._1,!1).components).length,i=f._style_rule$_selector._box$_inner,a=0;a<n;++a){if(null==(p=(l=r[a]).get$singleCompound()))throw A.wrapException(A.SassFormatException$("complex selectors may not be extended.",l.span,g));if(null==(m=1===(o=p.components).length?C.JSArray_methods.get$first(o):g))throw A.wrapException(A.SassFormatException$(P.compou+C.JSArray_methods.join$1(o,", ")+P.x60_inst,p.span,g));_._assertInModule$2(_.__extensionStore,"_extensionStore").addExtension$4(i.value,m,t,_._mediaQueries)}return g},visitAtRule$1(e,t){var r,n,i,o,s,a,l=this;if(null!=l._declarationName)throw A.wrapException(l._evaluate$_exception$2(P.At_rul,t.span));return r=l._interpolationToValue$1(t.name),n=A.NullableExtension_andThen(t.value,new A._EvaluateVisitor_visitAtRule_closure(l)),null==(i=t.children)?(l._copyParentAfterSibling$0(),l._assertInModule$2(l.__parent,"__parent").addChild$1(A.ModifiableCssAtRule$(r,t.span,!0,n)),null):(o=l._inKeyframes,s=l._inUnknownAtRule,"keyframes"===A.unvendor(r.value)?l._inKeyframes=!0:l._inUnknownAtRule=!0,a=A.ModifiableCssAtRule$(r,t.span,!1,n),l.get$_hasCssNesting()?(l._withParent$2$3$scopeWhen(a,new A._EvaluateVisitor_visitAtRule_closure0(l,i),t.hasDeclarations,D.ModifiableCssAtRule,D.Null),l._inUnknownAtRule=s,l._inKeyframes=o,null):(l._withParent$2$4$scopeWhen$through(a,new A._EvaluateVisitor_visitAtRule_closure1(l,r,i),t.hasDeclarations,new A._EvaluateVisitor_visitAtRule_closure2,D.ModifiableCssAtRule,D.Null),l._inUnknownAtRule=s,l._inKeyframes=o,null))},visitForRule$1(e,t){var r=this,n={},i=t.from,o=r._addExceptionSpan$2(i,new A._EvaluateVisitor_visitForRule_closure(r,t)),s=t.to,a=r._addExceptionSpan$2(s,new A._EvaluateVisitor_visitForRule_closure0(r,t)),l=r._addExceptionSpan$2(i,new A._EvaluateVisitor_visitForRule_closure1(o)),c=n.to=r._addExceptionSpan$2(s,new A._EvaluateVisitor_visitForRule_closure2(a,o)),u=l>c?-1:1;return l===(t.isExclusive?c:n.to=c+u)?null:r._environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitForRule_closure3(n,r,t,l,u,o),!0,D.nullable_Value)},visitForwardRule$1(e,t){var r,n,i,o,s,a=this,l="@forward",c=a._configuration,u=c.throughForward$1(t),d=t.configuration,h=d.length,p=t.url;if(0!==h){for(r=a._addForwardConfiguration$2(u,t),a._loadModule$5$configuration(p,l,t,new A._EvaluateVisitor_visitForwardRule_closure(a,t),r),p=D.String,n=A.LinkedHashSet_LinkedHashSet$_empty(p),i=0;i<h;++i)(o=d[i]).isGuarded||n.add$1(0,o.name);for(a._removeUsedConfiguration$3$except(u,r,n),p=A.LinkedHashSet_LinkedHashSet$_empty(p),i=0;i<h;++i)p.add$1(0,d[i].name);for(n=(h=(h=(d=r._configuration$_values).get$keys(d)).toList$0(h)).length,i=0;i<h.length;h.length===n||(0,A.throwConcurrentModificationError)(h),++i)s=h[i],p.contains$1(0,s)||d.get$isEmpty(d)||d.remove$1(0,s);a._assertConfigurationIsEmpty$1(r)}else a._configuration=u,a._loadModule$4(p,l,t,new A._EvaluateVisitor_visitForwardRule_closure0(a,t)),a._configuration=c;return null},_addForwardConfiguration$2(e,t){var r,n,i,o,s,a,l,c,u,d=null,h=e._configuration$_values,p=A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(h,D.UnmodifiableMapView_String_ConfiguredValue),D.String,D.ConfiguredValue);for(n=(r=t.configuration).length,i=0;i<n;++i)(o=r[i]).isGuarded&&(s=o.name,null!=(a=h.get$isEmpty(h)?d:h.remove$1(0,s))?(l=!a.value.$eq(0,C.C__SassNull),c=a):(c=d,l=!1),l)?p.$indexSet(0,s,c):(s=o.expression,u=this._expressionNode$1(s),p.$indexSet(0,o.name,new A.ConfiguredValue(this._withoutSlash$2(s.accept$1(this),u),o.span,u)));return e instanceof A.ExplicitConfiguration||h.get$isEmpty(h)?new A.ExplicitConfiguration(t,p,d):new A.Configuration(p,d)},_registerCommentsForModule$1(e){var t=this,r="_root",n=t.__root;null!=n&&0!==t._assertInModule$2(n,r).children.get$length(0)&&e.get$transitivelyContainsCss()&&(null==(n=t._preModuleComments)&&(n=t._preModuleComments=A.LinkedHashMap_LinkedHashMap$_empty(D.Module_Callable,D.List_CssComment)),w.addAll$1$ax(n.putIfAbsent$2(e,new A._EvaluateVisitor__registerCommentsForModule_closure),new A.UnmodifiableListView(w.cast$1$0$ax(t._assertInModule$2(t.__root,r).children._collection$_source,D.CssComment),D.UnmodifiableListView_CssComment)),t._assertInModule$2(t.__root,r).clearChildren$0(),t.__endOfImports=0)},_removeUsedConfiguration$3$except(e,t,r){var n,i,o,s,a,l;for(o=(i=(i=(n=e._configuration$_values).get$keys(n)).toList$0(i)).length,s=t._configuration$_values,a=0;a<i.length;i.length===o||(0,A.throwConcurrentModificationError)(i),++a)l=i[a],r.contains$1(0,l)||s.containsKey$1(l)||n.get$isEmpty(n)||n.remove$1(0,l)},_assertConfigurationIsEmpty$2$nameInError(e,t){var r,n;if(e instanceof A.ExplicitConfiguration&&!(r=e._configuration$_values).get$isEmpty(r))throw n=(r=A.MapExtensions_get_pairs(new A.UnmodifiableMapView(r,D.UnmodifiableMapView_String_ConfiguredValue),D.String,D.ConfiguredValue)).get$first(r),r=t?"$"+n._0+P.x20was_n:P.This_v,A.wrapException(this._evaluate$_exception$2(r,n._1.configurationSpan))},_assertConfigurationIsEmpty$1(e){return this._assertConfigurationIsEmpty$2$nameInError(e,!1)},visitFunctionRule$1(e,t){var r=this._environment,n=r.closure$0(),i=this._inDependency,o=r._functions,s=o.length-1,a=t.name;return r._functionIndices.$indexSet(0,a,s),o[s].$indexSet(0,a,new A.UserDefinedCallable(t,n,i,D.UserDefinedCallable_Environment)),null},visitIfRule$1(e,t){var r,n,i,o,s=t.lastClause;for(n=(r=t.clauses).length,i=0;i<n;++i)if((o=r[i]).expression.accept$1(this).get$isTruthy()){s=o;break}return A.NullableExtension_andThen(s,new A._EvaluateVisitor_visitIfRule_closure(this))},visitImportRule$1(e,t){var r,n,i,o,s,a,l,c,u,d,h,p,m=this,_="__parent",g="_root",f="_endOfImports";for(n=(r=t.imports).length,i=D.CssValue_String,o=m.get$_interpolationToValue(),s=D.StaticImport,a=D.JSArray_ModifiableCssImport,l=0;l<n;++l)(c=r[l])instanceof A.DynamicImport?m._visitDynamicImport$1(c):(s._as(c),u=c.url,d=m._performInterpolationHelper$3$sourceMap$warnForColor(u,!1,!1),p=null==(h=c.modifiers)?null:o.call$1(h),t=new A.ModifiableCssImport(new A.CssValue(d._0,u.span,i),p,c.span),m._assertInModule$2(m.__parent,_)!==m._assertInModule$2(m.__root,g)?(m._copyParentAfterSibling$0(),m._assertInModule$2(m.__parent,_).addChild$1(t)):m._assertInModule$2(m.__endOfImports,f)===w.get$length$asx(m._assertInModule$2(m.__root,g).children._collection$_source)?(u=m._assertInModule$2(m.__root,g),t._parent=u,u=u._children,t._indexInParent=u.length,u.push(t),m.__endOfImports=m._assertInModule$2(m.__endOfImports,f)+1):(null==(u=m._outOfOrderImports)?m._outOfOrderImports=A._setArrayType([],a):u).push(t));return null},_visitDynamicImport$1(e){return this._withStackFrame$3("@import",e,new A._EvaluateVisitor__visitDynamicImport_closure(this,e))},_loadStylesheet$4$baseUrl$forImport(e,t,r,n){var i,o,s,a,l,c,u,d,h,p,m,_,g,f,v=this;try{if(v._importSpan=t,i=v._evaluate$_importCache,o=null,null!=i&&(o=i,null==r&&(r=(g=v._assertInModule$2(v.__stylesheet,"_stylesheet").span).get$sourceUrl(g)),s=w.canonicalize$4$baseImporter$baseUrl$forImport$x(o,A.Uri_parse(e),v._importer,r,n),a=null,l=null,c=null,D.Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl._is(s)&&(a=s._0,l=s._1,c=s._2,""===l.get$scheme()&&A.WarnForDeprecation_warnForDeprecation(v._logger,C.Deprecation_IqB,"Importer "+A.S(a)+" canonicalized "+e+" to "+A.S(l)+P.x2e_Rela,null,null),v._loadedUrls.add$1(0,l),u=v._inDependency||!w.$eq$(a,v._importer),d=o.importCanonical$3$originalUrl(a,l,c),null!=d)))return g=d,f=a,new A._Record_3_importer_isDependency(g,f,u);throw(g=C.JSString_methods.startsWith$1(e,"package:"))?A.wrapException(P.x22packa):A.wrapException("Can't find stylesheet to import.")}catch(e){if((g=A.unwrapException(e))instanceof A.SassException)throw e;g instanceof A.ArgumentError?(h=g,p=A.getTraceFromException(e),A.throwWithTrace(v._evaluate$_exception$1(w.toString$0$(h)),h,p)):(m=g,_=A.getTraceFromException(e),A.throwWithTrace(v._evaluate$_exception$1(v._getErrorMessage$1(m)),m,_))}finally{v._importSpan=null}},_loadStylesheet$3$baseUrl(e,t,r){return this._loadStylesheet$4$baseUrl$forImport(e,t,r,!1)},_loadStylesheet$3$forImport(e,t,r){return this._loadStylesheet$4$baseUrl$forImport(e,t,null,r)},_applyMixin$5(e,t,r,n,i){var o,s,a,l,c=this,u="Mixin doesn't accept a content block.",d="invocation";if(null==e)throw A.wrapException(c._evaluate$_exception$2("Undefined mixin.",n.get$span(n)));if((o=e instanceof A.BuiltInCallable)&&!e.acceptsContent&&null!=t)throw o=c._evaluateArguments$1(r)._values,s=e.callbackFor$2(o[2].length,new A.MapKeySet(o[0],D.MapKeySet_String)),A.wrapException(A.MultiSpanSassRuntimeException$(u,i.get$span(i),d,A.LinkedHashMap_LinkedHashMap$_literal([s._0.get$spanWithName(),"declaration"],D.FileSpan,D.String),c._evaluate$_stackTrace$1(i.get$span(i)),null));if(o)c._environment.withContent$2(t,new A._EvaluateVisitor__applyMixin_closure(c,r,e,i));else{if(a=!1,(o=D.UserDefinedCallable_Environment._is(e))&&(l=e.declaration)instanceof A.MixinRule&&(a=!D.MixinRule._as(l).get$hasContent()&&null!=t),a)throw A.wrapException(A.MultiSpanSassRuntimeException$(u,i.get$span(i),d,A.LinkedHashMap_LinkedHashMap$_literal([e.declaration.parameters.get$spanWithName(),"declaration"],D.FileSpan,D.String),c._evaluate$_stackTrace$1(i.get$span(i)),null));if(!o)throw A.wrapException(A.UnsupportedError$("Unknown callable type "+e.toString$0(0)+"."));c._runUserDefinedCallable$1$4(r,e,i,new A._EvaluateVisitor__applyMixin_closure0(c,t,e,i),D.Null)}},visitIncludeRule$1(e,t){var r=this,n=r._addExceptionSpan$2(t,new A._EvaluateVisitor_visitIncludeRule_closure(r,t));if(C.JSString_methods.startsWith$1(t.originalName,"--")&&n instanceof A.UserDefinedCallable&&!C.JSString_methods.startsWith$1(n.declaration.originalName,"--"))throw A.wrapException(r._evaluate$_exception$2(P.Sass__m,t.get$nameSpan()));return r._applyMixin$5(n,A.NullableExtension_andThen(t.content,new A._EvaluateVisitor_visitIncludeRule_closure0(r)),t.$arguments,t,new A._FakeAstNode(new A._EvaluateVisitor_visitIncludeRule_closure1(t))),null},visitMixinRule$1(e,t){var r=this._environment,n=r.closure$0(),i=this._inDependency,o=r._mixins,s=o.length-1,a=t.name;return r._mixinIndices.$indexSet(0,a,s),o[s].$indexSet(0,a,new A.UserDefinedCallable(t,n,i,D.UserDefinedCallable_Environment)),null},visitLoudComment$1(e,t){var r,n,i=this,o="__parent",s="_endOfImports";return i._inFunction||(i._assertInModule$2(i.__parent,o)===i._assertInModule$2(i.__root,"_root")&&i._assertInModule$2(i.__endOfImports,s)===w.get$length$asx(i._assertInModule$2(i.__root,"_root").children._collection$_source)&&(i.__endOfImports=i._assertInModule$2(i.__endOfImports,s)+1),r=t.text,n=i._performInterpolation$1(r),C.JSString_methods.endsWith$1(n,"*/")||(n+=" */"),i._copyParentAfterSibling$0(),i._assertInModule$2(i.__parent,o).addChild$1(new A.ModifiableCssComment(n,r.span))),null},visitMediaRule$1(e,t){var r,n,i,o,s,a,l,c=this,u=null;if(null!=c._declarationName)throw A.wrapException(c._evaluate$_exception$2(P.Media_,t.span));return r=c._performInterpolationWithMap$2$warnForColor(t.query,!0),n=new A.MediaQueryParser(A.SpanScanner$(r._0,u),r._1).parse$0(0),c.get$_hasCssNesting()?(c._withParent$2$3$scopeWhen(A.ModifiableCssMediaRule$(n,t.span),new A._EvaluateVisitor_visitMediaRule_closure(c,t),!1,D.ModifiableCssMediaRule,D.Null),u):(!(o=null==(i=A.NullableExtension_andThen(c._mediaQueries,new A._EvaluateVisitor_visitMediaRule_closure0(c,n))))&&w.get$isEmpty$asx(i)||(o?s=C.Set_empty2:((a=c._mediaQuerySources).toString,a=A.LinkedHashSet_LinkedHashSet$of(a,D.CssMediaQuery),(l=c._mediaQueries).toString,a.addAll$1(0,l),a.addAll$1(0,n),s=a),o=o?n:i,c._withParent$2$4$scopeWhen$through(A.ModifiableCssMediaRule$(o,t.span),new A._EvaluateVisitor_visitMediaRule_closure1(c,i,n,s,t),t.hasDeclarations,new A._EvaluateVisitor_visitMediaRule_closure2(s),D.ModifiableCssMediaRule,D.Null)),u)},_mergeMediaQueries$2(e,t){var r,n,i,o,s,a,l,c=A._setArrayType([],D.JSArray_CssMediaQuery);for(r=w.get$iterator$ax(e),n=w.getInterceptor$ax(t);r.moveNext$0();)for(i=r.get$current(r),o=n.get$iterator(t);o.moveNext$0();)if(s=i.merge$1(o.get$current(o)),C._SingletonCssMediaQueryMergeResult_0!==s){if(C._SingletonCssMediaQueryMergeResult_1===s)return null;l=(a=s instanceof A.MediaQuerySuccessfulMergeResult)?s:null,a&&c.push(l.query)}return c},visitReturnRule$1(e,t){var r=t.expression;return this._withoutSlash$2(r.accept$1(this),r)},visitSilentComment$1:(e,t)=>null,visitStyleRule$1(e,t){var r,n,i,o,s,a,l,c,u,d,h,p,m,_,g=this,f=null,v="__parent",b="_stylesheet";if(null!=g._declarationName)throw A.wrapException(g._evaluate$_exception$2(P.Style_n,t.span));if(g._inKeyframes&&g._assertInModule$2(g.__parent,v)instanceof A.ModifiableCssKeyframeBlock)throw A.wrapException(g._evaluate$_exception$2(P.Style_k,t.span));if((r=t.selector).toString,i=(n=g._performInterpolationWithMap$2$warnForColor(r,!0))._0,o=n._1,g._inKeyframes)return g._withParent$2$4$scopeWhen$through(A.ModifiableCssKeyframeBlock$(new A.CssValue(A.List_List$unmodifiable(new A.KeyframeSelectorParser(A.SpanScanner$(i,f),o).parse$0(0),D.String),r.span,D.CssValue_List_String),t.span),new A._EvaluateVisitor_visitStyleRule_closure(g,t),t.hasDeclarations,new A._EvaluateVisitor_visitStyleRule_closure0,D.ModifiableCssKeyframeBlock,D.Null),f;if(s=A.SelectorList_SelectorList$parse(i,!0,o,g._assertInModule$2(g.__stylesheet,b).plainCss),r=null==(a=g._atRootExcludingStyleRule?f:g._styleRuleIgnoringAtRoot)||!a.fromPlainCss&&!(g._assertInModule$2(g.__stylesheet,b).plainCss&&s.accept$1(C.C__ContainsParentSelectorVisitor))){if(g._assertInModule$2(g.__stylesheet,b).plainCss)for(c=(l=s.components).length,u=0;u<c;++u)if((d=l[u].leadingCombinators).length>=1?(h=d[0],p=g._assertInModule$2(g.__stylesheet,b).plainCss):(h=f,p=!1),p)throw A.wrapException(g._evaluate$_exception$2(P.Top_le,h.span));l=null==(l=g._styleRuleIgnoringAtRoot)?f:l.originalSelector,s=s.nestWithin$3$implicitParent$preserveParentSelectors(l,!g._atRootExcludingStyleRule,g._assertInModule$2(g.__stylesheet,b).plainCss)}return m=A.ModifiableCssStyleRule$(g._assertInModule$2(g.__extensionStore,"_extensionStore").addSelector$2(s,g._mediaQueries),t.span,g._assertInModule$2(g.__stylesheet,b).plainCss,s),_=g._atRootExcludingStyleRule,l=g._atRootExcludingStyleRule=!1,r=r?new A._EvaluateVisitor_visitStyleRule_closure1:f,g._withParent$2$4$scopeWhen$through(m,new A._EvaluateVisitor_visitStyleRule_closure2(g,m,t),t.hasDeclarations,r,D.ModifiableCssStyleRule,D.Null),g._atRootExcludingStyleRule=_,g._warnForBogusCombinators$1(m),(r=null==(g._atRootExcludingStyleRule?f:g._styleRuleIgnoringAtRoot)?!(r=g._assertInModule$2(g.__parent,v).children).get$isEmpty(r):l)&&((r=g._assertInModule$2(g.__parent,v).children).get$last(r).isGroupEnd=!0),f},_warnForBogusCombinators$1(e){var t,r,n,i,o,s,a,l,c,u,d,h,p=this,m=null;if(!e.accept$1(C._IsInvisibleVisitor_false_false))for(r=(t=e._style_rule$_selector._box$_inner.value.components).length,n=D.SourceSpan,i=D.String,o=e.children,s=0;s<r;++s)(a=t[s]).accept$1(C._IsBogusVisitor_true)&&(a.accept$1(C.C__IsUselessVisitor)?(l=A._SerializeVisitor$(m,!0,m,m,!0,!1,m,!0),a.accept$1(l),p._warn$3('The selector "'+C.JSString_methods.trim$0(l._serialize$_buffer.toString$0(0))+P.x22x20is_ix20,A.SpanExtensions_trimRight(a.span),C.Deprecation_0rM)):0!==a.leadingCombinators.length?p._assertInModule$2(p.__stylesheet,"_stylesheet").plainCss||(l=A._SerializeVisitor$(m,!0,m,m,!0,!1,m,!0),a.accept$1(l),p._warn$3('The selector "'+C.JSString_methods.trim$0(l._serialize$_buffer.toString$0(0))+P.x22x20is_ix0a,A.SpanExtensions_trimRight(a.span),C.Deprecation_0rM)):(l=A._SerializeVisitor$(m,!0,m,m,!0,!1,m,!0),a.accept$1(l),c=C.JSString_methods.trim$0(l._serialize$_buffer.toString$0(0)),u=a.accept$1(C._IsBogusVisitor_false)?P.x20It_wi:"",d=A.SpanExtensions_trimRight(a.span),0===o.get$length(0)&&A.throwExpression(A.IterableElementError_noElement()),h=w.get$span$x(o.$index(0,0)),p._warn$3('The selector "'+c+P.x22x20is_o+u+P.x0aThis_,new A.MultiSpan(d,"invalid selector",A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([h,"this is not a style rule"+(o.every$1(o,new A._EvaluateVisitor__warnForBogusCombinators_closure)?"\n(try converting to a //-style comment)":"")],n,i),n,i)),C.Deprecation_0rM)))},visitSupportsRule$1(e,t){var r,n,i=this;if(null!=i._declarationName)throw A.wrapException(i._evaluate$_exception$2(P.Suppor,t.span));return r=t.condition,n=A.ModifiableCssSupportsRule$(new A.CssValue(i._visitSupportsCondition$1(r),r.get$span(r),D.CssValue_String),t.span),i.get$_hasCssNesting()?(i._withParent$2$3$scopeWhen(n,new A._EvaluateVisitor_visitSupportsRule_closure(i,t),t.hasDeclarations,D.ModifiableCssSupportsRule,D.Null),null):(i._withParent$2$4$scopeWhen$through(n,new A._EvaluateVisitor_visitSupportsRule_closure0(i,t),t.hasDeclarations,new A._EvaluateVisitor_visitSupportsRule_closure1,D.ModifiableCssSupportsRule,D.Null),null)},_visitSupportsCondition$1(e){var t,r=this;return e instanceof A.SupportsOperation?(t=e.operator,t=r._evaluate$_parenthesize$2(e.left,t)+" "+t.toString$0(0)+" "+r._evaluate$_parenthesize$2(e.right,t)):e instanceof A.SupportsNegation?t="not "+r._evaluate$_parenthesize$1(e.condition):e instanceof A.SupportsInterpolation?(t=e.expression,t=r._evaluate$_serialize$3$quote(t.accept$1(r),t,!1)):((t={}).declaration=null,e instanceof A.SupportsDeclaration?(t.declaration=e,t=r._withSupportsDeclaration$1(new A._EvaluateVisitor__visitSupportsCondition_closure(t,r))):t=e instanceof A.SupportsFunction?r._performInterpolation$1(e.name)+"("+r._performInterpolation$1(e.$arguments)+")":e instanceof A.SupportsAnything?"("+r._performInterpolation$1(e.contents)+")":A.throwExpression(A.ArgumentError$("Unknown supports condition type "+A.getRuntimeTypeOfDartObject(e).toString$0(0)+".",null))),t},_withSupportsDeclaration$1$1(e){var t=this._inSupportsDeclaration;this._inSupportsDeclaration=!0;try{return e.call$0()}finally{this._inSupportsDeclaration=t}},_withSupportsDeclaration$1(e){return this._withSupportsDeclaration$1$1(e,D.dynamic)},_evaluate$_parenthesize$2(e,t){return e instanceof A.SupportsNegation||e instanceof A.SupportsOperation&&(null==t||t!==e.operator)?"("+this._visitSupportsCondition$1(e)+")":this._visitSupportsCondition$1(e)},_evaluate$_parenthesize$1(e){return this._evaluate$_parenthesize$2(e,null)},visitVariableDeclaration$1(e,t){var r,n,i,o,s=this,a=null;if(t.isGuarded){if(null==t.namespace&&1===s._environment._variables.length&&(r=t.name,s._environment._configurableVariables.add$1(0,r),i=(n=s._configuration._configuration$_values).get$isEmpty(n)?a:n.remove$1(0,r),(r={}).override=null,null!=i?(r.override=i,n=!i.value.$eq(0,C.C__SassNull)):n=!1,n))return s._addExceptionSpan$2(t,new A._EvaluateVisitor_visitVariableDeclaration_closure(r,s,t)),a;if(null!=(o=s._addExceptionSpan$2(t,new A._EvaluateVisitor_visitVariableDeclaration_closure0(s,t)))&&!o.$eq(0,C.C__SassNull))return a}return t.isGlobal&&!s._environment.globalVariableExists$1(t.name)&&(r=1===s._environment._variables.length?P.As_of_S:P.As_of_R+A.declarationName(t.span)+": null` at the stylesheet root.",s._warn$3(r,t.span,C.Deprecation_jGw)),r=t.expression,s._addExceptionSpan$2(t,new A._EvaluateVisitor_visitVariableDeclaration_closure1(s,t,s._withoutSlash$2(r.accept$1(s),r))),a},visitUseRule$1(e,t){var r,n,i,o,s,a,l=this,c=t.configuration,u=c.length;if(0!==u){for(r=A.LinkedHashMap_LinkedHashMap$_empty(D.String,D.ConfiguredValue),n=0;n<u;++n)o=(i=c[n]).expression,s=l._expressionNode$1(o),r.$indexSet(0,i.name,new A.ConfiguredValue(l._withoutSlash$2(o.accept$1(l),s),i.span,s));a=new A.ExplicitConfiguration(t,r,null)}else a=C.Configuration_Map_empty_null;return l._loadModule$5$configuration(t.url,"@use",t,new A._EvaluateVisitor_visitUseRule_closure(l,t),a),l._assertConfigurationIsEmpty$1(a),null},visitWarnRule$1(e,t){var r=this,n=r._addExceptionSpan$2(t,new A._EvaluateVisitor_visitWarnRule_closure(r,t)),i=n instanceof A.SassString?n._string$_text:r._evaluate$_serialize$2(n,t.expression),o=r._evaluate$_stackTrace$1(t.span);return r._logger.internalWarn$4$deprecation$span$trace(i,null,null,o),null},visitWhileRule$1(e,t){return this._environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure(this,t),!0,t.hasDeclarations,D.nullable_Value)},visitBinaryOperationExpression$1(e,t){var r,n=this;if(r=!!n._assertInModule$2(n.__stylesheet,"_stylesheet").plainCss&&((r=t.operator)!==C.BinaryOperator_g6F&&r!==C.BinaryOperator_ehp))throw A.wrapException(n._evaluate$_exception$2("Operators aren't allowed in plain CSS.",t.get$operatorSpan()));return n._addExceptionSpan$2(t,new A._EvaluateVisitor_visitBinaryOperationExpression_closure(n,t))},_slash$3(e,t,r){var n,i,o=e.dividedBy$1(t),s=e instanceof A.SassNumber,a=null,l=!1;return s?(t instanceof A.SassNumber&&(l=r.allowsSlash&&this._operandAllowsSlash$1(r.left)&&this._operandAllowsSlash$1(r.right),a=t),n=e,i=t):(i=null,n=null),l?D.SassNumber._as(o).withSlash$2(n,a):(l=e instanceof A.SassNumber&&(s?i:t)instanceof A.SassNumber)?(this._warn$3(P.Using__o+A.S((new A._EvaluateVisitor__slash_recommendation).call$1(r))+" or "+A.expressionToCalc(r).toString$0(0)+P.x0a_Morex20,r.get$span(0),C.Deprecation_qZ1),o):o},_operandAllowsSlash$1(e){var t;return e instanceof A.FunctionExpression?null==e.namespace?(t=e.name,t=C.Set_Pr3yj.contains$1(0,t.toLowerCase())&&null==this._environment.getFunction$1(t)):t=!1:t=!0,t},visitValueExpression$1:(e,t)=>t.value,visitVariableExpression$1(e,t){var r=this._addExceptionSpan$2(t,new A._EvaluateVisitor_visitVariableExpression_closure(this,t));if(null!=r)return r;throw A.wrapException(this._evaluate$_exception$2("Undefined variable.",t.span))},visitUnaryOperationExpression$1(e,t){return this._addExceptionSpan$2(t,new A._EvaluateVisitor_visitUnaryOperationExpression_closure(t,t.operand.accept$1(this)))},visitBooleanExpression$1:(e,t)=>t.value?C.SassBoolean_true:C.SassBoolean_false,visitIfExpression$1(e,t){var r,n,i,o,s,a,l,c,u,d,h=this;for(n=(r=t.branches).length,i=D.JSArray_Record_2_String_and_Value,o=null,s=0;s<n;++s)if(l=(a=r[s])._0,c=a._1,null==(u=null==l?null:l.accept$1(h))&&(u=!0),l=(a="string"==typeof u)?u:null,a)null==o&&(o=A._setArrayType([],i)),o.push(new A._Record_2(l,c.accept$1(h)));else if((d=!0===u)&&null!=o)o.push(new A._Record_2("else",c.accept$1(h)));else if(d)return c.accept$1(h);return null==o?C.C__SassNull:new A.SassString("if("+new A.MappedListIterable(o,new A._EvaluateVisitor_visitIfExpression_closure,A._arrayInstanceType(o)._eval$1("MappedListIterable<1,String>")).join$1(0,"; ")+")",!1)},visitIfConditionParenthesized$1(e,t){var r=t.expression.accept$1(this);return"string"!=typeof r?r:"("+r+")"},visitIfConditionNegation$1(e,t){var r=t.expression.accept$1(this);return"string"!=typeof r?A._isBool(r)?!r:A.throwExpression(A.UnsupportedError$("unreachable")):"not "+r},visitIfConditionOperation$1(e,t){var r,n,i,o,s,a,l,c,u,d,h,p,m,_,g;for(n=(r=t.expressions).length,o=(i=t.op)===C.BooleanOperator_0,s=i===C.BooleanOperator_1,a=D.JSArray_Record_2_IfConditionExpression_and_String,l=null,c=0;c<n;++c)if(p=(h="string"==typeof(d=(u=r[c]).accept$1(this)))?d:null,h)null==l&&(l=A._setArrayType([],a)),l.push(new A._Record_2(u,p));else{if(!1===d&&o)return!1;if(!0===d&&s)return!0}return null!=l?((m=1===l.length)?r=(_=l[0])._0 instanceof A.IfConditionParenthesized:(_=null,r=!1),r?(g=(m?_:l[0])._1,r=C.JSString_methods.substring$2(g,1,g.length-1)):r=new A.MappedListIterable(l,new A._EvaluateVisitor_visitIfConditionOperation_closure,A._arrayInstanceType(l)._eval$1("MappedListIterable<1,String>")).join$1(0," "+i.toString$0(0)+" ")):r=o,r},visitIfConditionFunction$1(e,t){return this._performInterpolation$1(t.name)+"("+this._performInterpolation$1(t.$arguments)+")"},visitIfConditionSass$1(e,t){return t.expression.accept$1(this).get$isTruthy()},visitIfConditionRaw$1(e,t){return this._performInterpolation$1(t.text)},visitLegacyIfExpression$1(e,t){var r,n,i,o,s,a=this,l=a._evaluateMacroArguments$1(t),c=l._0,u=l._1;return a._verifyArguments$4(c.length,u,I.$get$LegacyIfExpression_declaration(),t),null==(r=A.ListExtensions_elementAtOrNull(c,0))&&((n=u.$index(0,"condition")).toString,r=n),null==(i=A.ListExtensions_elementAtOrNull(c,1))&&((n=u.$index(0,"if-true")).toString,i=n),null==(o=A.ListExtensions_elementAtOrNull(c,2))&&((n=u.$index(0,"if-false")).toString,o=n),s=r.accept$1(a).get$isTruthy()?i:o,a._withoutSlash$2(s.accept$1(a),a._expressionNode$1(s))},visitNullExpression$1:(e,t)=>C.C__SassNull,visitNumberExpression$1:(e,t)=>A.SassNumber_SassNumber(t.value,t.unit),visitParenthesizedExpression$1(e,t){var r=this;return r._assertInModule$2(r.__stylesheet,"_stylesheet").plainCss?A.throwExpression(r._evaluate$_exception$2("Parentheses aren't allowed in plain CSS.",t.span)):t.expression.accept$1(r)},visitColorExpression$1:(e,t)=>t.value,visitListExpression$1(e,t){var r=t.contents;return A.SassList$(new A.MappedListIterable(r,new A._EvaluateVisitor_visitListExpression_closure(this),A._arrayInstanceType(r)._eval$1("MappedListIterable<1,Value>")),t.separator,t.hasBrackets)},visitMapExpression$1(e,t){var r,n,i,o,s,a,l,c,u=D.Value,d=A.LinkedHashMap_LinkedHashMap$_empty(u,u),h=A.LinkedHashMap_LinkedHashMap$_empty(u,D.AstNode);for(n=(r=t.pairs).length,i=0;i<n;++i){if(a=(s=(o=r[i])._0).accept$1(this),l=o._1.accept$1(this),d.containsKey$1(a))throw c=null==(u=h.$index(0,a))?null:u.get$span(u),u=s.get$span(s),r=A.LinkedHashMap_LinkedHashMap$_empty(D.FileSpan,D.String),null!=c&&r.$indexSet(0,c,"first key"),A.wrapException(A.MultiSpanSassRuntimeException$("Duplicate key.",u,"second key",r,this._evaluate$_stackTrace$1(s.get$span(s)),null));d.$indexSet(0,a,l),h.$indexSet(0,a,s)}return new A.SassMap(A.ConstantMap_ConstantMap$from(d,u,u))},visitFunctionExpression$1(e,t){var r,n,i,o,s,a,l,c=this,u="_stylesheet",d={},h=c._assertInModule$2(c.__stylesheet,u).plainCss?null:c._addExceptionSpan$2(t,new A._EvaluateVisitor_visitFunctionExpression_closure(c,t));if(d.$function=h,null==h||C.JSString_methods.startsWith$1(t.originalName,"--")){if(null!=t.namespace)throw A.wrapException(c._evaluate$_exception$2("Undefined function.",t.span));if(i=!1,"min"===(n=(r=t.name).toLowerCase())||"max"===n||"round"===n||"abs"===n?(i=(o=(i=t.$arguments).named).get$isEmpty(o)&&null==i.rest&&C.JSArray_methods.every$1(i.positional,new A._EvaluateVisitor_visitFunctionExpression_closure0),s=n):s=null,i)return c._visitCalculation$2$inLegacySassFunction(t,s);if("calc"===n||"clamp"===n||"hypot"===n||"sin"===n||"cos"===n||"tan"===n||"asin"===n||"acos"===n||"atan"===n||"sqrt"===n||"exp"===n||"sign"===n||"mod"===n||"rem"===n||"atan2"===n||"pow"===n||"log"===n||"calc-size"===n)return c._visitCalculation$1(t);h=c._assertInModule$2(c.__stylesheet,u).plainCss?null:c._builtInFunctions.$index(0,r),d.$function=null==h?new A.PlainCssCallable(t.originalName):h}return a=c._inFunction,c._inFunction=!0,l=c._addErrorSpan$2(t,new A._EvaluateVisitor_visitFunctionExpression_closure1(d,c,t)),c._inFunction=a,l},_visitCalculation$2$inLegacySassFunction(e,t){var r,n,i,o,s,a,l,c,u=this,d=e.$arguments,h=d.named;if(h.get$isNotEmpty(h))throw A.wrapException(u._evaluate$_exception$2(P.Keywor,e.span));if(null!=d.rest)throw A.wrapException(u._evaluate$_exception$2(P.Rest_a,e.span));for(u._checkCalculationArguments$1(e),h=A._setArrayType([],D.JSArray_Object),l=(d=d.positional).length,c=0;c<l;++c)h.push(u._visitCalculationExpression$2$inLegacySassFunction(d[c],t));if(r=h,u._inSupportsDeclaration)return new A.SassCalculation(e.name,A.List_List$unmodifiable(r,D.Object));n=u._callableNode,u._callableNode=e;try{return i=null,"calc"!==(o=(h=e.name).toLowerCase())?"sqrt"!==o?"sin"!==o?"cos"!==o?"tan"!==o?"asin"!==o?"acos"!==o?"atan"!==o?"abs"!==o?"exp"!==o?"sign"!==o?"min"!==o?"max"!==o?"hypot"!==o?"pow"!==o?"atan2"!==o?"log"!==o?"mod"!==o?"rem"!==o?"round"!==o?"clamp"!==o?"calc-size"!==o?(h=A.UnsupportedError$('Unknown calculation name "'+h+'".'),i=A.throwExpression(h)):i=A.SassCalculation_calcSize(w.$index$asx(r,0),A.ListExtensions_elementAtOrNull(r,1)):i=A.SassCalculation_clamp(w.$index$asx(r,0),A.ListExtensions_elementAtOrNull(r,1),A.ListExtensions_elementAtOrNull(r,2)):i=A.SassCalculation_roundInternal(w.$index$asx(r,0),A.ListExtensions_elementAtOrNull(r,1),A.ListExtensions_elementAtOrNull(r,2),t,e.span,new A._EvaluateVisitor__visitCalculation_closure(u,e)):i=A.SassCalculation_rem(w.$index$asx(r,0),A.ListExtensions_elementAtOrNull(r,1)):i=A.SassCalculation_mod(w.$index$asx(r,0),A.ListExtensions_elementAtOrNull(r,1)):i=A.SassCalculation_log(w.$index$asx(r,0),A.ListExtensions_elementAtOrNull(r,1)):i=A.SassCalculation_atan2(w.$index$asx(r,0),A.ListExtensions_elementAtOrNull(r,1)):i=A.SassCalculation_pow(w.$index$asx(r,0),A.ListExtensions_elementAtOrNull(r,1)):i=A.SassCalculation_hypot(r):i=A.SassCalculation_max(r):i=A.SassCalculation_min(r):i=A.SassCalculation_sign(w.$index$asx(r,0)):i=A.SassCalculation_exp(w.$index$asx(r,0)):i=A.SassCalculation_abs(w.$index$asx(r,0)):i=A.SassCalculation__singleArgument("atan",w.$index$asx(r,0),A.number0__atan$closure(),!0):i=A.SassCalculation__singleArgument("acos",w.$index$asx(r,0),A.number0__acos$closure(),!0):i=A.SassCalculation__singleArgument("asin",w.$index$asx(r,0),A.number0__asin$closure(),!0):i=A.SassCalculation__singleArgument("tan",w.$index$asx(r,0),A.number0__tan$closure(),!1):i=A.SassCalculation__singleArgument("cos",w.$index$asx(r,0),A.number0__cos$closure(),!1):i=A.SassCalculation__singleArgument("sin",w.$index$asx(r,0),A.number0__sin$closure(),!1):i=A.SassCalculation__singleArgument("sqrt",w.$index$asx(r,0),A.number0__sqrt$closure(),!0):i=A.SassCalculation_calc(w.$index$asx(r,0)),i}catch(t){if(!((i=A.unwrapException(t))instanceof A.SassScriptException))throw t;s=i,a=A.getTraceFromException(t),C.JSString_methods.contains$1(s.message,"compatible")&&u._verifyCompatibleNumbers$2(r,d),A.throwWithTrace(u._evaluate$_exception$2(s.message,e.span),s,a)}finally{u._callableNode=n}},_visitCalculation$1(e){return this._visitCalculation$2$inLegacySassFunction(e,null)},_checkCalculationArguments$1(e){var t,r,n=new A._EvaluateVisitor__checkCalculationArguments_check(this,e);if("calc"!==(r=(t=e.name).toLowerCase())&&"sqrt"!==r&&"sin"!==r&&"cos"!==r&&"tan"!==r&&"asin"!==r&&"acos"!==r&&"atan"!==r&&"abs"!==r&&"exp"!==r&&"sign"!==r)if("min"!==r&&"max"!==r&&"hypot"!==r)if("pow"!==r&&"atan2"!==r&&"log"!==r&&"mod"!==r&&"rem"!==r&&"calc-size"!==r){if("round"!==r&&"clamp"!==r)throw A.wrapException(A.UnsupportedError$('Unknown calculation name "'+t+'".'));n.call$1(3)}else n.call$1(2);else n.call$0();else n.call$1(1)},_verifyCompatibleNumbers$2(e,t){var r,n,i,o,s,a,l,c,u,d,h,p;for(r=0;r<(n=e.length);++r)if((i=e[r])instanceof A.SassNumber?(n=i.get$hasComplexUnits(),o=i):(o=null,n=!1),n)throw n=A.S(o),s=t[r],A.wrapException(this._evaluate$_exception$2("Number "+n+" isn't compatible with CSS calculations.",s.get$span(s)));for(r=0;r<n-1;++r)if((a=e[r])instanceof A.SassNumber)for(l=r+1;l<(n=e.length);++l)if((c=e[l])instanceof A.SassNumber&&!a.hasPossiblyCompatibleUnits$1(c))throw n=a.toString$0(0),s=c.toString$0(0),u=(u=t[r]).get$span(u),d=a.toString$0(0),h=t[l],h=A.LinkedHashMap_LinkedHashMap$_literal([h.get$span(h),c.toString$0(0)],D.FileSpan,D.String),p=t[r],A.wrapException(A.MultiSpanSassRuntimeException$(n+" and "+s+" are incompatible.",u,d,h,this._evaluate$_stackTrace$1(p.get$span(p)),null))},_visitCalculationExpression$2$inLegacySassFunction(e,t){var r,n,i,o,s,a,l,c,u=this,d=null,h=e instanceof A.ParenthesizedExpression,p=h?e.expression:d;if(h)return(r=u._visitCalculationExpression$2$inLegacySassFunction(p,t))instanceof A.SassString?new A.SassString("("+r._string$_text+")",!1):r;if(e instanceof A.StringExpression&&e.accept$1(C.C_IsCalculationSafeVisitor))return n=(h=e.text).get$asPlain(),h="pi"!==(i=null==n?d:n.toLowerCase())?"e"!==i?"infinity"!==i?"-infinity"!==i?"nan"!==i?new A.SassString(u._performInterpolation$1(h),!1):A.SassNumber_SassNumber(NaN,d):A.SassNumber_SassNumber(-1/0,d):A.SassNumber_SassNumber(1/0,d):A.SassNumber_SassNumber(2.718281828459045,d):A.SassNumber_SassNumber(3.141592653589793,d);if((o={}).right=o.left=o.operator=null,(h=e instanceof A.BinaryOperationExpression)&&(o.operator=e.operator,o.left=e.left,o.right=e.right),h)return u._checkWhitespaceAroundCalculationOperator$1(e),u._addExceptionSpan$2(e,new A._EvaluateVisitor__visitCalculationExpression_closure(o,u,e,t));if(e instanceof A.NumberExpression||e instanceof A.VariableExpression||e instanceof A.FunctionExpression||e instanceof A.LegacyIfExpression)return(s=e.accept$1(u))instanceof A.SassNumber||s instanceof A.SassCalculation?h=s:(s instanceof A.SassString?(h=!s._hasQuotes,r=s):(r=d,h=!1),h=h?r:A.throwExpression(u._evaluate$_exception$2("Value "+s.toString$0(0)+" can't be used in a calculation.",e.get$span(e)))),h;if(e instanceof A.ListExpression&&!e.hasBrackets&&C.ListSeparator_SrV===e.separator&&e.contents.length>=2){for(h=A._setArrayType([],D.JSArray_Object),a=(n=e.contents).length,l=0;l<a;++l)h.push(u._visitCalculationExpression$2$inLegacySassFunction(n[l],t));for(u._checkAdjacentCalculationValues$2(h,e),c=0;c<h.length;++c)(a=h[c])instanceof A.CalculationOperation&&n[c]instanceof A.ParenthesizedExpression&&(h[c]=new A.SassString("("+a.toString$0(0)+")",!1));return new A.SassString(C.JSArray_methods.join$1(h," "),!1)}throw A.wrapException(u._evaluate$_exception$2(P.This_e,e.get$span(e)))},_checkWhitespaceAroundCalculationOperator$1(e){var t,r,n,i,o,s,a=e.operator;if((a===C.BinaryOperator_jCK||a===C.BinaryOperator_tDf)&&(t=(t=(a=e.left).get$span(a)).get$file(t))===(n=(r=e.right).get$span(r)).get$file(n)&&(t=(t=a.get$span(a)).get$end(t),n=r.get$span(r),!(t.offset>=n.get$start(n).offset)&&(t=(t=a.get$span(a)).get$file(t),a=(a=a.get$span(a)).get$end(a),r=r.get$span(r),o=(i=A.String_String$fromCharCodes(C.NativeUint32List_methods.sublist$2(t._decodedChars,a.offset,r.get$start(r).offset),0,null)).charCodeAt(0),s=i.charCodeAt(i.length-1),a=32!==o&&9!==o&&10!==o&&13!==o&&12!==o&&47!==o||!(32===s||9===s||10===s||13===s||12===s||47===s))))throw A.wrapException(this._evaluate$_exception$2(P.x22x2b__an,e.get$operatorSpan()))},_binaryOperatorToCalculationOperator$2(e,t){return C.BinaryOperator_jCK!==e?C.BinaryOperator_tDf!==e?C.BinaryOperator_wkM!==e?C.BinaryOperator_ehp!==e?A.throwExpression(this._evaluate$_exception$2(P.This_o,t.get$operatorSpan())):C.CalculationOperator_wFL:C.CalculationOperator_LPB:C.CalculationOperator_KrC:C.CalculationOperator_dpX},_checkAdjacentCalculationValues$2(e,t){var r,n,i,o,s,a,l,c;for(r=e.length,n=1;n<r;++n)if(o=e[i=n-1],s=e[n],!(o instanceof A.SassString||s instanceof A.SassString))throw a=(r=t.contents)[i],(l=r[n])instanceof A.UnaryOperationExpression?(c=l.operator,r=C.UnaryOperator_hCO===c||C.UnaryOperator_n2K===c):r=!1,(r=!!r||l instanceof A.NumberExpression&&l.value<0)?A.wrapException(this._evaluate$_exception$2(P.x22x2b__an,A.FileSpanExtension_subspan(l.get$span(l),0,1))):A.wrapException(this._evaluate$_exception$2("Missing math operator.",a.get$span(a).expand$1(0,l.get$span(l))))},visitInterpolatedFunctionExpression$1(e,t){var r,n=this,i=n._performInterpolation$1(t.name),o=n._inFunction;return n._inFunction=!0,r=n._addErrorSpan$2(t,new A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure(n,t,new A.PlainCssCallable(i))),n._inFunction=o,r},_runUserDefinedCallable$1$4(e,t,r,n,i){var o,s,a=this,l=a._evaluateArguments$1(e),c=t.declaration.name;return"@content"!==c&&(c+="()"),o=a._inDependency,a._inDependency=t.inDependency,s=a._withStackFrame$3(c,r,new A._EvaluateVisitor__runUserDefinedCallable_closure(a,t,l,r,n,i)),a._inDependency=o,s},_runFunctionCallable$3(e,t,r){var n,i,o,s,a,l,c,u,d,h,p,m=this;if(t instanceof A.BuiltInCallable)return m._withoutSlash$2(m._runBuiltInCallable$3(e,t,r),r);if(D.UserDefinedCallable_Environment._is(t))return m._runUserDefinedCallable$1$4(e,t,r,new A._EvaluateVisitor__runFunctionCallable_closure(m,t),D.Value);if(t instanceof A.PlainCssCallable){if((c=e.named).get$isNotEmpty(c)||null!=e.keywordRest)throw A.wrapException(m._evaluate$_exception$2(P.Plain_,r.get$span(r)));n=new A.StringBuffer(t.name+"(");try{for(i=!0,u=(c=e.positional).length,d=0;d<u;++d)o=c[d],i?i=!1:n._contents+=", ",h=n,p=o,p=m._evaluate$_serialize$3$quote(p.accept$1(m),p,!0),h._contents+=p;null!=(s=e.rest)&&(a=s.accept$1(m),i||(n._contents+=", "),c=n,u=m._evaluate$_serialize$2(a,s),c._contents+=u)}catch(e){if(c=A.unwrapException(e),D.SassRuntimeException._is(c)){if(l=c,!C.JSString_methods.endsWith$1(l._span_exception$_message,"isn't a valid CSS value."))throw e;throw A.wrapException(A.MultiSpanSassRuntimeException$(l._span_exception$_message,w.get$span$x(l),"value",A.LinkedHashMap_LinkedHashMap$_literal([r.get$span(r),"unknown function treated as plain CSS"],D.FileSpan,D.String),w.get$trace$z(l),null))}throw e}return c=n,u=A.Primitives_stringFromCharCode(41),c._contents+=u,u=n._contents,new A.SassString((u.charCodeAt(0),u),!1)}throw A.wrapException(A.ArgumentError$("Unknown callable type "+w.get$runtimeType$(t).toString$0(0)+".",null))},_runBuiltInCallable$3(e,t,r){var n,i,o,s,a,l,c,u,d,h,p,m,_,g=this,f={},v=g._evaluateArguments$1(e),b=g._callableNode;for(g._callableNode=r,s=new A.MapKeySet(v._values[0],D.MapKeySet_String),f.callback=f.overload=null,a=t.callbackFor$2(v._values[2].length,s),f.overload=a._0,f.callback=a._1,g._addExceptionSpan$2(r,new A._EvaluateVisitor__runBuiltInCallable_closure(f,v,s)),l=f.overload.parameters,c=v._values[2].length,u=l.length;c<u;++c)d=l[c],h=v._values[2],null==(p=v._values[0].remove$1(0,d.name))&&(p=d.defaultValue,p=g._withoutSlash$2(p.accept$1(g),p)),h.push(p);null!=f.overload.restParameter?(v._values[2].length>u?(m=C.JSArray_methods.sublist$1(v._values[2],u),C.JSArray_methods.removeRange$2(v._values[2],u,v._values[2].length)):m=C.List_empty8,u=v._values[0],_=A.SassArgumentList$(m,u,v._values[4]===C.ListSeparator_undecided_null_3_undecided?C.ListSeparator_z0K:v._values[4]),v._values[2].push(_)):_=null,n=null;try{n=g._addExceptionSpan$2(r,new A._EvaluateVisitor__runBuiltInCallable_closure0(f,v))}catch(e){if((u=A.unwrapException(e))instanceof A.SassException)throw e;i=u,o=A.getTraceFromException(e),A.throwWithTrace(g._evaluate$_exception$2(g._getErrorMessage$1(i),r.get$span(r)),i,o)}if(g._callableNode=b,null==_)return n;if(0===v._values[0].__js_helper$_length)return n;if(_._wereKeywordsAccessed)return n;throw A.wrapException(A.MultiSpanSassRuntimeException$("No "+A.pluralize("parameter",v._values[0].get$keys(0).get$length(0),null)+" named "+A.toSentence(v._values[0].get$keys(0).map$1$1(0,new A._EvaluateVisitor__runBuiltInCallable_closure1,D.Object),"or")+".",r.get$span(r),"invocation",A.LinkedHashMap_LinkedHashMap$_literal([f.overload.get$spanWithName(),"declaration"],D.FileSpan,D.String),g._evaluate$_stackTrace$1(r.get$span(r)),null))},_evaluateArguments$1(e){var t,r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y=this,$=A._setArrayType([],D.JSArray_Value),x=A._setArrayType([],D.JSArray_AstNode);for(r=(t=e.positional).length,n=0;n<r;++n)i=t[n],o=y._expressionNode$1(i),$.push(y._withoutSlash$2(i.accept$1(y),o)),x.push(o);for(t=D.String,s=A.LinkedHashMap_LinkedHashMap$_empty(t,D.Value),r=D.AstNode,a=A.LinkedHashMap_LinkedHashMap$_empty(t,r),l=(l=A.MapExtensions_get_pairs(e.named,t,D.Expression)).get$iterator(l);l.moveNext$0();)u=(c=l.get$current(l))._0,d=c._1,o=y._expressionNode$1(d),s.$indexSet(0,u,y._withoutSlash$2(d.accept$1(y),o)),a.$indexSet(0,u,o);if(null==(h=e.rest))return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([s,a,$,x,C.ListSeparator_undecided_null_3_undecided]);if(p=h.accept$1(y),m=y._expressionNode$1(h),p instanceof A.SassMap){for(y._addRestMap$4(s,p,h,new A._EvaluateVisitor__evaluateArguments_closure),l=A.LinkedHashMap_LinkedHashMap$_empty(t,r),c=(c=(c=p._map$_contents).get$keys(c)).get$iterator(c),_=D.SassString;c.moveNext$0();)l.$indexSet(0,_._as(c.get$current(c))._string$_text,m);a.addAll$1(0,l),g=C.ListSeparator_undecided_null_3_undecided}else p instanceof A.SassList?(l=p._list$_contents,C.JSArray_methods.addAll$1($,new A.MappedListIterable(l,new A._EvaluateVisitor__evaluateArguments_closure0(y,m),A._arrayInstanceType(l)._eval$1("MappedListIterable<1,Value>"))),C.JSArray_methods.addAll$1(x,A.List_List$filled(l.length,m,!1,r)),g=p._separator,p instanceof A.SassArgumentList&&(p._wereKeywordsAccessed=!0,p._keywords.forEach$1(0,new A._EvaluateVisitor__evaluateArguments_closure1(y,s,m,a)))):($.push(y._withoutSlash$2(p,m)),x.push(m),g=C.ListSeparator_undecided_null_3_undecided);if(null==(f=e.keywordRest))return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([s,a,$,x,g]);if(v=f.accept$1(y),b=y._expressionNode$1(f),v instanceof A.SassMap){for(y._addRestMap$4(s,v,f,new A._EvaluateVisitor__evaluateArguments_closure2),t=A.LinkedHashMap_LinkedHashMap$_empty(t,r),r=(r=(r=v._map$_contents).get$keys(r)).get$iterator(r),l=D.SassString;r.moveNext$0();)t.$indexSet(0,l._as(r.get$current(r))._string$_text,b);return a.addAll$1(0,t),new A._Record_5_named_namedNodes_positional_positionalNodes_separator([s,a,$,x,g])}throw A.wrapException(y._evaluate$_exception$2(P.Variabs+v.toString$0(0)+").",f.get$span(f)))},_evaluateMacroArguments$1(e){var t,r,n,i,o,s,a,l,c=this,u=e.$arguments,d=u.rest;if(null==d)return new A._Record_2(u.positional,u.named);if(t=u.positional,r=A._setArrayType(t.slice(0),A._arrayInstanceType(t)),n=A.LinkedHashMap_LinkedHashMap$of(u.named,D.String,D.Expression),i=d.accept$1(c),o=c._expressionNode$1(d),i instanceof A.SassMap?c._addRestMap$4(n,i,e,new A._EvaluateVisitor__evaluateMacroArguments_closure(d)):i instanceof A.SassList?(t=i._list$_contents,C.JSArray_methods.addAll$1(r,new A.MappedListIterable(t,new A._EvaluateVisitor__evaluateMacroArguments_closure0(c,o,d),A._arrayInstanceType(t)._eval$1("MappedListIterable<1,Expression>"))),i instanceof A.SassArgumentList&&(i._wereKeywordsAccessed=!0,i._keywords.forEach$1(0,new A._EvaluateVisitor__evaluateMacroArguments_closure1(c,n,o,d)))):r.push(new A.ValueExpression(c._withoutSlash$2(i,o),d.get$span(d))),null==(s=u.keywordRest))return new A._Record_2(r,n);if(a=s.accept$1(c),l=c._expressionNode$1(s),a instanceof A.SassMap)return c._addRestMap$4(n,a,e,new A._EvaluateVisitor__evaluateMacroArguments_closure2(c,l,s)),new A._Record_2(r,n);throw A.wrapException(c._evaluate$_exception$2(P.Variabs+a.toString$0(0)+").",s.get$span(s)))},_addRestMap$1$4(e,t,r,n){t._map$_contents.forEach$1(0,new A._EvaluateVisitor__addRestMap_closure(this,e,n,this._expressionNode$1(r),t,r))},_addRestMap$4(e,t,r,n){return this._addRestMap$1$4(e,t,r,n,D.dynamic)},_verifyArguments$4(e,t,r,n){return this._addExceptionSpan$2(n,new A._EvaluateVisitor__verifyArguments_closure(r,e,t))},visitSelectorExpression$1(e,t){var r=this._styleRuleIgnoringAtRoot;return null==(r=null==r?null:r.originalSelector.get$asSassList())?C.C__SassNull:r},visitStringExpression$1(e,t){var r,n,i,o,s,a,l,c=this,u=c._inSupportsDeclaration;for(c._inSupportsDeclaration=!1,r=A._setArrayType([],D.JSArray_String),i=(n=t.text.contents).length,o=0;o<i;++o)a="string"!=typeof(s=n[o])?s instanceof A.Expression?(l=s.accept$1(c))instanceof A.SassString?l._string$_text:c._evaluate$_serialize$3$quote(l,s,!1):A.throwExpression(A.UnsupportedError$("Unknown interpolation value "+A.S(s))):s,r.push(a);return r=C.JSArray_methods.join$0(r),c._inSupportsDeclaration=u,new A.SassString(r,t.hasQuotes)},visitSupportsExpression$1(e,t){return new A.SassString(this._visitSupportsCondition$1(t.condition),!1)},visitCssAtRule$1(e){var t,r,n,i,o=this;if(null!=o._declarationName)throw A.wrapException(o._evaluate$_exception$2(P.At_rul,e.span));return e.isChildless?(o._copyParentAfterSibling$0(),void o._assertInModule$2(o.__parent,"__parent").addChild$1(A.ModifiableCssAtRule$(e.name,e.span,!0,e.value))):(t=o._inKeyframes,r=o._inUnknownAtRule,n=e.name,"keyframes"===A.unvendor(n.value)?o._inKeyframes=!0:o._inUnknownAtRule=!0,i=A.ModifiableCssAtRule$(n,e.span,!1,e.value),o.get$_hasCssNesting()?(o._withParent$2$3$scopeWhen(i,new A._EvaluateVisitor_visitCssAtRule_closure(o,e),!1,D.ModifiableCssAtRule,D.Null),o._inUnknownAtRule=r,void(o._inKeyframes=t)):(o._withParent$2$4$scopeWhen$through(i,new A._EvaluateVisitor_visitCssAtRule_closure0(o,e),!1,new A._EvaluateVisitor_visitCssAtRule_closure1,D.ModifiableCssAtRule,D.Null),o._inUnknownAtRule=r,void(o._inKeyframes=t)))},visitCssComment$1(e){var t=this,r="__parent",n="_endOfImports";t._assertInModule$2(t.__parent,r)===t._assertInModule$2(t.__root,"_root")&&t._assertInModule$2(t.__endOfImports,n)===w.get$length$asx(t._assertInModule$2(t.__root,"_root").children._collection$_source)&&(t.__endOfImports=t._assertInModule$2(t.__endOfImports,n)+1),t._copyParentAfterSibling$0(),t._assertInModule$2(t.__parent,r).addChild$1(new A.ModifiableCssComment(e.text,e.span))},visitCssDeclaration$1(e){this._copyParentAfterSibling$0(),this._assertInModule$2(this.__parent,"__parent").addChild$1(A.ModifiableCssDeclaration$(e.name,e.value,e.span,e.parsedAsSassScript,e.valueSpanForMap))},visitCssImport$1(e){var t,r=this,n="__parent",i="_root",o="_endOfImports",s=new A.ModifiableCssImport(e.url,e.modifiers,e.span);r._assertInModule$2(r.__parent,n)!==r._assertInModule$2(r.__root,i)?(r._copyParentAfterSibling$0(),r._assertInModule$2(r.__parent,n).addChild$1(s)):r._assertInModule$2(r.__endOfImports,o)===w.get$length$asx(r._assertInModule$2(r.__root,i).children._collection$_source)?(r._assertInModule$2(r.__root,i).addChild$1(s),r.__endOfImports=r._assertInModule$2(r.__endOfImports,o)+1):(null==(t=r._outOfOrderImports)?r._outOfOrderImports=A._setArrayType([],D.JSArray_ModifiableCssImport):t).push(s)},visitCssKeyframeBlock$1(e){this._withParent$2$4$scopeWhen$through(A.ModifiableCssKeyframeBlock$(e.selector,e.span),new A._EvaluateVisitor_visitCssKeyframeBlock_closure(this,e),!1,new A._EvaluateVisitor_visitCssKeyframeBlock_closure0,D.ModifiableCssKeyframeBlock,D.Null)},visitCssMediaRule$1(e){var t,r,n,i,o,s=this;if(null!=s._declarationName)throw A.wrapException(s._evaluate$_exception$2(P.Media_,e.span));s.get$_hasCssNesting()?s._withParent$2$3$scopeWhen(A.ModifiableCssMediaRule$(e.queries,e.span),new A._EvaluateVisitor_visitCssMediaRule_closure(s,e),!1,D.ModifiableCssMediaRule,D.Null):!(r=null==(t=A.NullableExtension_andThen(s._mediaQueries,new A._EvaluateVisitor_visitCssMediaRule_closure0(s,e))))&&w.get$isEmpty$asx(t)||(r?n=C.Set_empty2:((i=s._mediaQuerySources).toString,i=A.LinkedHashSet_LinkedHashSet$of(i,D.CssMediaQuery),(o=s._mediaQueries).toString,i.addAll$1(0,o),i.addAll$1(0,e.queries),n=i),r=r?e.queries:t,s._withParent$2$4$scopeWhen$through(A.ModifiableCssMediaRule$(r,e.span),new A._EvaluateVisitor_visitCssMediaRule_closure1(s,t,e,n),!1,new A._EvaluateVisitor_visitCssMediaRule_closure2(n),D.ModifiableCssMediaRule,D.Null))},visitCssStyleRule$1(e){var t,r,n,i,o,s,a,l,c,u,d=this,h=null,p="__parent";if(null!=d._declarationName)throw A.wrapException(d._evaluate$_exception$2(P.Style_n,e.span));if(d._inKeyframes&&d._assertInModule$2(d.__parent,p)instanceof A.ModifiableCssKeyframeBlock)throw A.wrapException(d._evaluate$_exception$2(P.Style_k,e.span));r=(t=d._atRootExcludingStyleRule)?h:d._styleRuleIgnoringAtRoot,t=null==(n=t?h:d._styleRuleIgnoringAtRoot)||!n.fromPlainCss&&!(e.fromPlainCss&&e._style_rule$_selector._box$_inner.value.accept$1(C.C__ContainsParentSelectorVisitor)),i=e._style_rule$_selector._box$_inner,t?(i=i.value,o=null==r?h:r.originalSelector,s=i.nestWithin$3$implicitParent$preserveParentSelectors(o,!d._atRootExcludingStyleRule,e.fromPlainCss)):s=i.value,a=A.ModifiableCssStyleRule$(d._assertInModule$2(d.__extensionStore,"_extensionStore").addSelector$2(s,d._mediaQueries),e.span,e.fromPlainCss,s),l=d._atRootExcludingStyleRule,d._atRootExcludingStyleRule=!1,t=t?new A._EvaluateVisitor_visitCssStyleRule_closure:h,d._withParent$2$4$scopeWhen$through(a,new A._EvaluateVisitor_visitCssStyleRule_closure0(d,a,e),!1,t,D.ModifiableCssStyleRule,D.Null),d._atRootExcludingStyleRule=l,t=d._assertInModule$2(d.__parent,p).children._collection$_source,(c=(i=w.getInterceptor$asx(t)).get$length(t))>=1?(u=i.elementAt$1(t,c-1),t=null==r):(u=h,t=!1),t&&(u.isGroupEnd=!0)},visitCssStylesheet$1(e){var t;for(t=w.get$iterator$ax(e.get$children(e));t.moveNext$0();)t.get$current(t).accept$1(this)},visitCssSupportsRule$1(e){var t,r=this;if(null!=r._declarationName)throw A.wrapException(r._evaluate$_exception$2(P.Suppor,e.span));t=A.ModifiableCssSupportsRule$(e.condition,e.span),r.get$_hasCssNesting()?r._withParent$2$3$scopeWhen(t,new A._EvaluateVisitor_visitCssSupportsRule_closure(r,e),!1,D.ModifiableCssSupportsRule,D.Null):r._withParent$2$4$scopeWhen$through(t,new A._EvaluateVisitor_visitCssSupportsRule_closure0(r,e),!1,new A._EvaluateVisitor_visitCssSupportsRule_closure1,D.ModifiableCssSupportsRule,D.Null)},_handleReturn$1$2(e,t){var r,n,i;for(r=e.length,n=0;n<e.length;e.length===r||(0,A.throwConcurrentModificationError)(e),++n)if(null!=(i=t.call$1(e[n])))return i;return null},_handleReturn$2(e,t){return this._handleReturn$1$2(e,t,D.dynamic)},_withEnvironment$1$2(e,t){var r,n=this._environment;return this._environment=e,r=t.call$0(),this._environment=n,r},_withEnvironment$2(e,t){return this._withEnvironment$1$2(e,t,D.dynamic)},_interpolationToValue$3$trim$warnForColor(e,t,r){var n=this._performInterpolation$2$warnForColor(e,r),i=t?A.trimAscii(n,!0):n;return new A.CssValue(i,e.span,D.CssValue_String)},_interpolationToValue$1(e){return this._interpolationToValue$3$trim$warnForColor(e,!1,!1)},_interpolationToValue$2$warnForColor(e,t){return this._interpolationToValue$3$trim$warnForColor(e,!1,t)},_performInterpolation$2$warnForColor(e,t){return this._performInterpolationHelper$3$sourceMap$warnForColor(e,!1,t)._0},_performInterpolation$1(e){return this._performInterpolation$2$warnForColor(e,!1)},_performInterpolationWithMap$2$warnForColor(e,t){var r=this._performInterpolationHelper$3$sourceMap$warnForColor(e,!0,!0),n=r._1;return n.toString,new A._Record_2(r._0,n)},_performInterpolationHelper$3$sourceMap$warnForColor(e,t,r){var n,i,o,s,a,l,c,u,d,h,p,m,_,g=this,f=t?A._setArrayType([],D.JSArray_int):null,v=g._inSupportsDeclaration;for(g._inSupportsDeclaration=!1,i=(n=e.contents).length,o=D.Expression,s=null==f,a=e.span,l=D.Object,c=!0,u=0,d="";u<i;++u,c=!1)h=n[u],c||s||f.push(d.length),"string"!=typeof h?(o._as(h),p=h.accept$1(g),r&&I.$get$namesByColor().containsKey$1(p)&&((m=A.List_List$from([""],!1,l)).$flags=3,_=I.$get$namesByColor(),g._warn$2(P.You_pr+A.S(_.$index(0,p))+P.x20in_in+p.toString$0(0)+P.x2c_whicw+A.S(_.$index(0,p))+P.x22x29__If+new A.BinaryOperationExpression(C.BinaryOperator_jCK,new A.StringExpression(new A.Interpolation(m,C.List_null,a),!0),h,!1).toString$0(0)+"'.",h.get$span(h))),d+=g._evaluate$_serialize$3$quote(p,h,!1)):d+=h;return g._inSupportsDeclaration=v,new A._Record_2((d.charCodeAt(0),d),A.NullableExtension_andThen(f,new A._EvaluateVisitor__performInterpolationHelper_closure(e)))},_evaluate$_serialize$3$quote(e,t,r){return this._addExceptionSpan$2(t,new A._EvaluateVisitor__serialize_closure(e,r))},_evaluate$_serialize$2(e,t){return this._evaluate$_serialize$3$quote(e,t,!0)},_expressionNode$1(e){var t;return e instanceof A.VariableExpression?null==(t=this._addExceptionSpan$2(e,new A._EvaluateVisitor__expressionNode_closure(this,e)))?e:t:e},_withParent$2$4$scopeWhen$through(e,t,r,n,i,o){var s,a,l=this;return l._addChild$2$through(e,n),s=l._assertInModule$2(l.__parent,"__parent"),l.__parent=e,a=l._environment.scope$1$2$when(t,r,o),l.__parent=s,a},_withParent$2$3$scopeWhen(e,t,r,n,i){return this._withParent$2$4$scopeWhen$through(e,t,r,null,n,i)},_withParent$2$2(e,t,r,n){return this._withParent$2$4$scopeWhen$through(e,t,!0,null,r,n)},_copyParentAfterSibling$0(){var e,t,r,n=this,i="__parent",o=n._assertInModule$2(n.__parent,i)._parent;null!=o?(e=(e=o.children).get$last(e)!==n._assertInModule$2(n.__parent,i),t=o):(t=null,e=!1),e&&(r=n._assertInModule$2(n.__parent,i).copyWithoutChildren$0(),t.addChild$1(r),n.__parent=r)},_addChild$2$through(e,t){var r,n,i,o=this._assertInModule$2(this.__parent,"__parent");if(null!=t){for(;t.call$1(o);o=r)if(null==(r=o._parent))throw A.wrapException(A.ArgumentError$(P.throug+e.toString$0(0)+".",null));o.get$hasFollowingSibling()&&(i=(n=o._parent).children,o.equalsIgnoringChildren$1(i.get$last(i))?o=D.ModifiableCssParentNode._as(i.get$last(i)):(o=o.copyWithoutChildren$0(),n.addChild$1(o)))}o.addChild$1(e)},_addChild$1(e){return this._addChild$2$through(e,null)},_withStyleRule$1$2(e,t){var r,n=this._styleRuleIgnoringAtRoot;return this._styleRuleIgnoringAtRoot=e,r=t.call$0(),this._styleRuleIgnoringAtRoot=n,r},_withStyleRule$2(e,t){return this._withStyleRule$1$2(e,t,D.dynamic)},_withMediaQueries$1$3(e,t,r){var n,i=this,o=i._mediaQueries,s=i._mediaQuerySources;return i._mediaQueries=e,i._mediaQuerySources=t,n=r.call$0(),i._mediaQueries=o,i._mediaQuerySources=s,n},_withMediaQueries$3(e,t,r){return this._withMediaQueries$1$3(e,t,r,D.dynamic)},_withStackFrame$1$3(e,t,r){var n,i,o=this,s=o._stack;return s.push(new A._Record_2(o._member,t)),n=o._member,o._member=e,i=r.call$0(),o._member=n,s.pop(),i},_withStackFrame$3(e,t,r){return this._withStackFrame$1$3(e,t,r,D.dynamic)},_withoutSlash$2(e,t){return e instanceof A.SassNumber&&null!=e.asSlash&&this._warn$3(P.Using__i+A.S((new A._EvaluateVisitor__withoutSlash_recommendation).call$1(e))+P.x0a_Morex20,t.get$span(t),C.Deprecation_qZ1),e.withoutSlash$0()},_stackFrame$2(e,t){return A.frameForSpan(t,e,A.NullableExtension_andThen(t.get$sourceUrl(t),new A._EvaluateVisitor__stackFrame_closure(this)))},_evaluate$_stackTrace$1(e){var t,r,n,i,o,s=this,a=A._setArrayType([],D.JSArray_Frame);for(r=(t=s._stack).length,n=0;n<t.length;t.length===r||(0,A.throwConcurrentModificationError)(t),++n)o=(i=t[n])._1,a.push(s._stackFrame$2(i._0,o.get$span(o)));return null!=e&&a.push(s._stackFrame$2(s._member,e)),A.Trace$(new A.ReversedListIterable(a,D.ReversedListIterable_Frame),null)},_evaluate$_stackTrace$0(){return this._evaluate$_stackTrace$1(null)},_warn$3(e,t,r){var n,i,o=this;o._quietDeps&&o._inDependency||o._warningsEmitted.add$1(0,new A._Record_2(e,t))&&(n=o._evaluate$_stackTrace$1(t),i=o._logger,null==r?i.internalWarn$4$deprecation$span$trace(e,null,t,n):A.WarnForDeprecation_warnForDeprecation(i,r,e,t,n))},_warn$2(e,t){return this._warn$3(e,t,null)},_evaluate$_exception$2(e,t){var r,n;return r=null==t?(r=C.JSArray_methods.get$last(this._stack)._1).get$span(r):t,n=this._evaluate$_stackTrace$1(t),new A.SassRuntimeException(n,C.Set_empty,e,r)},_evaluate$_exception$1(e){return this._evaluate$_exception$2(e,null)},_multiSpanException$3(e,t,r){var n=C.JSArray_methods.get$last(this._stack)._1;return A.MultiSpanSassRuntimeException$(e,n.get$span(n),t,r,this._evaluate$_stackTrace$0(),null)},_addExceptionSpan$1$3$addStackFrame(e,t,r){var n,i,o;try{return o=t.call$0()}catch(t){if(!((o=A.unwrapException(t))instanceof A.SassScriptException))throw t;n=o,i=A.getTraceFromException(t),o=n.withSpan$1(e.get$span(e)),A.throwWithTrace(o.withTrace$1(this._evaluate$_stackTrace$1(r?e.get$span(e):null)),n,i)}},_addExceptionSpan$2(e,t){return this._addExceptionSpan$1$3$addStackFrame(e,t,!0,D.dynamic)},_addExceptionSpan$3$addStackFrame(e,t,r){return this._addExceptionSpan$1$3$addStackFrame(e,t,r,D.dynamic)},_addExceptionTrace$1$1(e){var t,r,n,i;try{return n=e.call$0()}catch(e){if(n=A.unwrapException(e),D.SassRuntimeException._is(n))throw e;if(!(n instanceof A.SassException))throw e;t=n,r=A.getTraceFromException(e),n=t,i=w.getInterceptor$x(n),A.throwWithTrace(t.withTrace$1(this._evaluate$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(i,n))),t,r)}},_addExceptionTrace$1(e){return this._addExceptionTrace$1$1(e,D.dynamic)},_addErrorSpan$1$2(e,t){var r,n,i,o,s;try{return i=t.call$0()}catch(t){if(i=A.unwrapException(t),!D.SassRuntimeException._is(i))throw t;if(r=i,n=A.getTraceFromException(t),!C.JSString_methods.startsWith$1(w.get$span$x(r).get$text(),"@error"))throw t;i=r._span_exception$_message,o=e.get$span(e),s=this._evaluate$_stackTrace$0(),A.throwWithTrace(new A.SassRuntimeException(s,C.Set_empty,i,o),r,n)}},_addErrorSpan$2(e,t){return this._addErrorSpan$1$2(e,t,D.dynamic)},_getErrorMessage$1(e){if(D.Error._is(e))return e.toString$0(0);try{return A._asString(w.get$message$x(e))}catch(t){return w.toString$0$(e)}}},A._EvaluateVisitor_closure.prototype={call$1(e){var t,r,n=w.getInterceptor$asx(e),i=n.$index(e,0).assertString$1("name");return t=null==(n=n.$index(e,1).get$realNull())?null:n.assertString$1("module"),n=this.$this._environment,r=A.stringReplaceAllUnchecked(i._string$_text,"_","-"),n.globalVariableExists$2$namespace(r,null==t?null:t._string$_text)?C.SassBoolean_true:C.SassBoolean_false},$signature:11},A._EvaluateVisitor_closure0.prototype={call$1(e){var t=w.$index$asx(e,0).assertString$1("name");return null!=this.$this._environment.getVariable$1(A.stringReplaceAllUnchecked(t._string$_text,"_","-"))?C.SassBoolean_true:C.SassBoolean_false},$signature:11},A._EvaluateVisitor_closure1.prototype={call$1(e){var t,r,n,i,o=w.getInterceptor$asx(e),s=o.$index(e,0).assertString$1("name");return t=null==(o=o.$index(e,1).get$realNull())?null:o.assertString$1("module"),r=(o=this.$this)._environment,n=s._string$_text,i=A.stringReplaceAllUnchecked(n,"_","-"),null!=r.getFunction$2$namespace(i,null==t?null:t._string$_text)||o._builtInFunctions.containsKey$1(n)?C.SassBoolean_true:C.SassBoolean_false},$signature:11},A._EvaluateVisitor_closure2.prototype={call$1(e){var t,r,n=w.getInterceptor$asx(e),i=n.$index(e,0).assertString$1("name");return t=null==(n=n.$index(e,1).get$realNull())?null:n.assertString$1("module"),n=this.$this._environment,r=A.stringReplaceAllUnchecked(i._string$_text,"_","-"),null!=n.getMixin$2$namespace(r,null==t?null:t._string$_text)?C.SassBoolean_true:C.SassBoolean_false},$signature:11},A._EvaluateVisitor_closure3.prototype={call$1(e){var t=this.$this._environment;if(!t._inMixin)throw A.wrapException(A.SassScriptException$(P.conten,null));return null!=t._content?C.SassBoolean_true:C.SassBoolean_false},$signature:11},A._EvaluateVisitor_closure4.prototype={call$1(e){var t,r,n,i=w.$index$asx(e,0).assertString$1("module")._string$_text,o=this.$this._environment._environment$_modules.$index(0,i);if(null==o)throw A.wrapException('There is no module with namespace "'+i+'".');for(i=D.Value,t=A.LinkedHashMap_LinkedHashMap$_empty(i,i),r=(r=A.MapExtensions_get_pairs(o.get$variables(),D.String,i)).get$iterator(r);r.moveNext$0();)n=r.get$current(r),t.$indexSet(0,new A.SassString(n._0,!0),n._1);return new A.SassMap(A.ConstantMap_ConstantMap$from(t,i,i))},$signature:38},A._EvaluateVisitor_closure5.prototype={call$1(e){var t,r,n,i=this.$this,o=w.$index$asx(e,0).assertString$1("module")._string$_text,s=i._environment._environment$_modules.$index(0,o);if(null==s)throw A.wrapException('There is no module with namespace "'+o+'".');for(o=D.Value,t=A.LinkedHashMap_LinkedHashMap$_empty(o,o),r=(r=A.MapExtensions_get_pairs(s.get$functions(s),D.String,D.Callable)).get$iterator(r),i=i._compileContext;r.moveNext$0();)n=r.get$current(r),t.$indexSet(0,new A.SassString(n._0,!0),new A.SassFunction(n._1,i));return new A.SassMap(A.ConstantMap_ConstantMap$from(t,o,o))},$signature:38},A._EvaluateVisitor_closure6.prototype={call$1(e){var t,r,n,i=this.$this,o=w.$index$asx(e,0).assertString$1("module")._string$_text,s=i._environment._environment$_modules.$index(0,o);if(null==s)throw A.wrapException('There is no module with namespace "'+o+'".');for(o=D.Value,t=A.LinkedHashMap_LinkedHashMap$_empty(o,o),r=(r=A.MapExtensions_get_pairs(s.get$mixins(),D.String,D.Callable)).get$iterator(r),i=i._compileContext;r.moveNext$0();)n=r.get$current(r),t.$indexSet(0,new A.SassString(n._0,!0),new A.SassMixin(n._1,i));return new A.SassMap(A.ConstantMap_ConstantMap$from(t,o,o))},$signature:38},A._EvaluateVisitor_closure7.prototype={call$1(e){var t,r,n,i=w.getInterceptor$asx(e),o=i.$index(e,0).assertString$1("name"),s=i.$index(e,1).get$isTruthy();if(t=null==(i=i.$index(e,2).get$realNull())?null:i.assertString$1("module"),s){if(null!=t)throw A.wrapException(P.x24css_a);return new A.SassFunction(new A.PlainCssCallable(o._string$_text),this.$this._compileContext)}if((r=(i=this.$this)._callableNode).toString,null==(n=i._addExceptionSpan$2(r,new A._EvaluateVisitor__closure2(i,o,t))))throw A.wrapException("Function not found: "+o.toString$0(0));return new A.SassFunction(n,i._compileContext)},$signature:167},A._EvaluateVisitor__closure2.prototype={call$0(){var e,t=A.stringReplaceAllUnchecked(this.name._string$_text,"_","-"),r=this.module,n=null==r?null:r._string$_text;return null!=(e=(r=this.$this)._environment.getFunction$2$namespace(t,n))||null!=n?e:r._builtInFunctions.$index(0,t)},$signature:113},A._EvaluateVisitor_closure8.prototype={call$1(e){var t,r,n,i=w.getInterceptor$asx(e),o=i.$index(e,0).assertString$1("name");if(t=null==(i=i.$index(e,1).get$realNull())?null:i.assertString$1("module"),(r=(i=this.$this)._callableNode).toString,null==(n=i._addExceptionSpan$2(r,new A._EvaluateVisitor__closure1(i,o,t))))throw A.wrapException("Mixin not found: "+o.toString$0(0));return new A.SassMixin(n,i._compileContext)},$signature:168},A._EvaluateVisitor__closure1.prototype={call$0(){var e=this.$this._environment,t=A.stringReplaceAllUnchecked(this.name._string$_text,"_","-"),r=this.module;return e.getMixin$2$namespace(t,null==r?null:r._string$_text)},$signature:113},A._EvaluateVisitor_closure9.prototype={call$1(e){var t,r,n,i,o,s,a,l,c,u=w.getInterceptor$asx(e),d=u.$index(e,0),h=D.SassArgumentList._as(u.$index(e,1));if(r=(t=(u=this.$this)._callableNode).get$span(t),n=t.get$span(t),h._wereKeywordsAccessed=!0,(i=h._keywords).get$isEmpty(i))i=null;else{for(o=D.Value,s=A.LinkedHashMap_LinkedHashMap$_empty(o,o),h._wereKeywordsAccessed=!0,i=(i=A.MapExtensions_get_pairs(i,D.String,o)).get$iterator(i);i.moveNext$0();)a=i.get$current(i),s.$indexSet(0,new A.SassString(a._0,!1),a._1);i=new A.ValueExpression(new A.SassMap(A.ConstantMap_ConstantMap$from(s,o,o)),t.get$span(t))}if(l=A.ArgumentList$(C.List_empty9,C.Map_empty4,C.Map_empty5,r,i,new A.ValueExpression(h,n)),d instanceof A.SassString)return A.warnForDeprecation(P.Passina+d.toString$0(0)+"))",C.Deprecation_c4i),t=u._callableNode,r=d._string$_text,n=t.get$span(t),u.visitFunctionExpression$1(0,new A.FunctionExpression(null,A.stringReplaceAllUnchecked(r,"_","-"),r,l,n));if(c=d.assertFunction$1("function").assertCompileContext$1(u._compileContext).callable,D.Callable._is(c))return(r=u._callableNode).toString,u._runFunctionCallable$3(l,c,r);throw A.wrapException(A.SassScriptException$("The function "+c.get$name(c)+P.x20is_as,null))},$signature:5},A._EvaluateVisitor_closure10.prototype={call$1(e){var t,r,n,i,o,s,a=w.getInterceptor$asx(e),l=A.Uri_parse(a.$index(e,0).assertString$1("url")._string$_text);t=null==(a=a.$index(e,1).get$realNull())?null:a.assertMap$1("with")._map$_contents,(r=(a=this.$this)._callableNode).toString,null!=t?(n={},i=A.LinkedHashMap_LinkedHashMap$_empty(D.String,D.ConfiguredValue),o=r.get$span(r),n.privateDeprecation=!1,t.forEach$1(0,new A._EvaluateVisitor__closure(n,i,o,r)),s=new A.ExplicitConfiguration(r,i,null)):s=C.Configuration_Map_empty_null,n=r.get$span(r),a._loadModule$7$baseUrl$configuration$namesInErrors(l,"load-css()",r,new A._EvaluateVisitor__closure0(a),n.get$sourceUrl(n),s,!0),a._assertConfigurationIsEmpty$2$nameInError(s,!0)},$signature:191},A._EvaluateVisitor__closure.prototype={call$2(e,t){var r=this,n=e.assertString$1("with key"),i=A.stringReplaceAllUnchecked(n._string$_text,"_","-");if((n=r.values).containsKey$1(i))throw A.wrapException("The variable $"+i+" was configured twice.");C.JSString_methods.startsWith$1(i,"-")&&!r._box_0.privateDeprecation&&(r._box_0.privateDeprecation=!0,A.warnForDeprecation("Configuring private variables (such as $"+i+P.x29x20is_dT,C.Deprecation_mXO)),n.$indexSet(0,i,new A.ConfiguredValue(t,r.span,r.callableNode))},$signature:99},A._EvaluateVisitor__closure0.prototype={call$2(e,t){var r=this.$this;return r._combineCss$2$clone(e,!0).accept$1(r)},$signature:114},A._EvaluateVisitor_closure11.prototype={call$1(e){var t,r,n,i,o=w.getInterceptor$asx(e),s=o.$index(e,0),a=D.SassArgumentList._as(o.$index(e,1));if(t=(o=this.$this)._callableNode,r=A.ArgumentList$(C.List_empty9,C.Map_empty4,C.Map_empty5,t.get$span(t),null,new A.ValueExpression(a,t.get$span(t))),n=s.assertMixin$1("mixin").assertCompileContext$1(o._compileContext).callable,i=o._environment._content,!D.Callable._is(n))throw A.wrapException(A.SassScriptException$("The mixin "+n.get$name(n)+P.x20is_as,null));o._applyMixin$5(n,i,r,t,t)},$signature:191},A._EvaluateVisitor_run_closure.prototype={call$0(){var e,t=this,r=t.node,n=r.span,i=n.get$sourceUrl(n),o=null;return null!=i&&(o=i,(n=t.$this)._activeModules.$indexSet(0,o,null),n._loadedUrls.add$1(0,o)),e=(n=t.$this)._addExceptionTrace$1(new A._EvaluateVisitor_run__closure(n,t.importer,r)),new A._Record_2_loadedUrls_stylesheet(n._loadedUrls,n._combineCss$1(e))},$signature:589},A._EvaluateVisitor_run__closure.prototype={call$0(){return this.$this._execute$2(this.importer,this.node)},$signature:601},A._EvaluateVisitor_runExpression_closure.prototype={call$0(){var e=this.$this,t=this.expression;return e._withFakeStylesheet$3(this.importer,t,new A._EvaluateVisitor_runExpression__closure(e,t))},$signature:33},A._EvaluateVisitor_runExpression__closure.prototype={call$0(){var e=this.$this;return e._addExceptionTrace$1(new A._EvaluateVisitor_runExpression___closure(e,this.expression))},$signature:33},A._EvaluateVisitor_runExpression___closure.prototype={call$0(){return this.expression.accept$1(this.$this)},$signature:33},A._EvaluateVisitor_runStatement_closure.prototype={call$0(){var e=this.$this,t=this.statement;return e._withFakeStylesheet$3(this.importer,t,new A._EvaluateVisitor_runStatement__closure(e,t))},$signature:0},A._EvaluateVisitor_runStatement__closure.prototype={call$0(){var e=this.$this;return e._addExceptionTrace$1(new A._EvaluateVisitor_runStatement___closure(e,this.statement))},$signature:0},A._EvaluateVisitor_runStatement___closure.prototype={call$0(){return this.statement.accept$1(this.$this)},$signature:0},A._EvaluateVisitor__loadModule_closure.prototype={call$0(){return this.callback.call$2(this._box_0.builtInModule,!1)},$signature:0},A._EvaluateVisitor__loadModule_closure0.prototype={call$0(){var e,t,r,n,i,o,s=this,a={},l=s.$this,c=s.nodeWithSpan,u=l._loadStylesheet$3$baseUrl(s.url.toString$0(0),c.get$span(c),s.baseUrl);if(i=u._0,o=u._1,null!=(e=(r=i.span).get$sourceUrl(r))){if((r=l._activeModules).containsKey$1(e))throw n=s.namesInErrors?"Module loop: "+I.$get$context().prettyUri$1(e)+" is already being loaded.":P.Modulel,a=A.NullableExtension_andThen(r.$index(0,e),new A._EvaluateVisitor__loadModule__closure(l,n)),A.wrapException(null==a?l._evaluate$_exception$1(n):a);r.$indexSet(0,e,c)}r=l._modules.containsKey$1(e),t=l._inDependency,l._inDependency=u._2,a.module=null;try{a.module=l._execute$5$configuration$namesInErrors$nodeWithSpan(o,i,s.configuration,s.namesInErrors,c)}finally{l._activeModules.remove$1(0,e),l._inDependency=t}l._addExceptionSpan$3$addStackFrame(c,new A._EvaluateVisitor__loadModule__closure0(a,s.callback,!r),!1)},$signature:1},A._EvaluateVisitor__loadModule__closure.prototype={call$1(e){return this.$this._multiSpanException$3(this.message,"new load",A.LinkedHashMap_LinkedHashMap$_literal([e.get$span(e),"original load"],D.FileSpan,D.String))},$signature:111},A._EvaluateVisitor__loadModule__closure0.prototype={call$0(){return this.callback.call$2(this._box_1.module,this.firstLoad)},$signature:0},A._EvaluateVisitor__execute_closure.prototype={call$0(){var e,t,r,n,i=this,o=i.$this,s=o._importer,a=o.__stylesheet,l=o.__root,c=o._preModuleComments,u=o.__parent,d=o.__endOfImports,h=o._outOfOrderImports,p=o.__extensionStore,m=o._atRootExcludingStyleRule,_=m?null:o._styleRuleIgnoringAtRoot,g=o._mediaQueries,f=o._declarationName,v=o._inUnknownAtRule,b=o._inKeyframes,y=o._configuration;o._importer=i.importer,t=(e=o.__stylesheet=i.stylesheet).span,r=o.__parent=o.__root=A.ModifiableCssStylesheet$(t),o.__endOfImports=0,o._outOfOrderImports=null,o.__extensionStore=i.extensionStore,o._declarationName=o._mediaQueries=o._styleRuleIgnoringAtRoot=null,o._inKeyframes=o._atRootExcludingStyleRule=o._inUnknownAtRule=!1,null!=(n=i.configuration)&&(o._configuration=n),o.visitStylesheet$1(0,e),e=null==o._outOfOrderImports?r:new A.CssStylesheet(new A.UnmodifiableListView(o._addOutOfOrderImports$0(),D.UnmodifiableListView_CssNode),t),i.css.__late_helper$_value=e,i.preModuleComments.__late_helper$_value=o._preModuleComments,o._importer=s,o.__stylesheet=a,o.__root=l,o._preModuleComments=c,o.__parent=u,o.__endOfImports=d,o._outOfOrderImports=h,o.__extensionStore=p,o._styleRuleIgnoringAtRoot=_,o._mediaQueries=g,o._declarationName=f,o._inUnknownAtRule=v,o._atRootExcludingStyleRule=m,o._inKeyframes=b,o._configuration=y},$signature:1},A._EvaluateVisitor__combineCss_closure.prototype={call$1:e=>e.get$transitivelyContainsCss(),$signature:95},A._EvaluateVisitor__combineCss_closure0.prototype={call$1(e){return!this.selectors.contains$1(0,e)},$signature:14},A._EvaluateVisitor__combineCss_visitModule.prototype={call$1(e){var t,r,n,i,o,s,a,l,c,u=this;if(u.seen.add$1(0,e)){for(u.clone&&(e=e.cloneCss$0()),r=(t=e.get$upstream()).length,n=u.css,i=u.imports,o=0;o<t.length;t.length===r||(0,A.throwConcurrentModificationError)(t),++o)(s=t[o]).get$transitivelyContainsCss()&&(null!=(a=e.get$preModuleComments().$index(0,s))&&C.JSArray_methods.addAll$1(0===n.length?i:n,a),u.call$1(s));u.sorted.addFirst$1(e),l=(t=e.get$css(e)).get$children(t),c=u.$this._indexAfterImports$1(l),t=w.getInterceptor$ax(l),C.JSArray_methods.addAll$1(i,t.getRange$2(l,0,c)),C.JSArray_methods.addAll$1(n,t.getRange$2(l,c,t.get$length(l)))}},$signature:604},A._EvaluateVisitor__extendModules_closure.prototype={call$1(e){return!this.originalSelectors.contains$1(0,e)},$signature:14},A._EvaluateVisitor__extendModules_closure0.prototype={call$0:()=>A._setArrayType([],D.JSArray_ExtensionStore),$signature:170},A._EvaluateVisitor_visitAtRootRule_closure.prototype={call$0(){var e,t,r,n;for(t=(e=this.node.children).length,r=this.$this,n=0;n<t;++n)e[n].accept$1(r)},$signature:1},A._EvaluateVisitor_visitAtRootRule_closure0.prototype={call$0(){var e,t,r,n;for(t=(e=this.node.children).length,r=this.$this,n=0;n<t;++n)e[n].accept$1(r)},$signature:0},A._EvaluateVisitor__scopeForAtRoot_closure.prototype={call$1(e){var t=this.$this,r=t._assertInModule$2(t.__parent,"__parent");t.__parent=this.newParent,t._environment.scope$1$2$when(e,this.node.hasDeclarations,D.void),t.__parent=r},$signature:35},A._EvaluateVisitor__scopeForAtRoot_closure0.prototype={call$1(e){var t=this.$this,r=t._atRootExcludingStyleRule;t._atRootExcludingStyleRule=!0,this.innerScope.call$1(e),t._atRootExcludingStyleRule=r},$signature:35},A._EvaluateVisitor__scopeForAtRoot_closure1.prototype={call$1(e){return this.$this._withMediaQueries$3(null,null,new A._EvaluateVisitor__scopeForAtRoot__closure(this.innerScope,e))},$signature:35},A._EvaluateVisitor__scopeForAtRoot__closure.prototype={call$0(){return this.innerScope.call$1(this.callback)},$signature:1},A._EvaluateVisitor__scopeForAtRoot_closure2.prototype={call$1(e){var t=this.$this,r=t._inKeyframes;t._inKeyframes=!1,this.innerScope.call$1(e),t._inKeyframes=r},$signature:35},A._EvaluateVisitor__scopeForAtRoot_closure3.prototype={call$1:e=>e instanceof A.ModifiableCssAtRule,$signature:172},A._EvaluateVisitor__scopeForAtRoot_closure4.prototype={call$1(e){var t=this.$this,r=t._inUnknownAtRule;t._inUnknownAtRule=!1,this.innerScope.call$1(e),t._inUnknownAtRule=r},$signature:35},A._EvaluateVisitor_visitContentRule_closure.prototype={call$0(){var e,t,r,n;for(t=(e=this.content.declaration.children).length,r=this.$this,n=0;n<t;++n)e[n].accept$1(r);return null},$signature:1},A._EvaluateVisitor_visitDeclaration_closure.prototype={call$0(){var e,t,r,n;for(t=(e=this._box_0.children).length,r=this.$this,n=0;n<t;++n)e[n].accept$1(r)},$signature:1},A._EvaluateVisitor_visitEachRule_closure.prototype={call$1(e){var t=this.$this,r=this.nodeWithSpan;return t._environment.setLocalVariable$3(this._box_0.variable,t._withoutSlash$2(e,r),r)},$signature:58},A._EvaluateVisitor_visitEachRule_closure0.prototype={call$1(e){return this.$this._setMultipleVariables$3(this._box_1.variables,e,this.nodeWithSpan)},$signature:58},A._EvaluateVisitor_visitEachRule_closure1.prototype={call$0(){var e=this,t=e.$this;return t._handleReturn$2(e.list.get$asList(),new A._EvaluateVisitor_visitEachRule__closure(t,e.setVariables,e.node))},$signature:44},A._EvaluateVisitor_visitEachRule__closure.prototype={call$1(e){var t;return this.setVariables.call$1(e),(t=this.$this)._handleReturn$2(this.node.children,new A._EvaluateVisitor_visitEachRule___closure(t))},$signature:605},A._EvaluateVisitor_visitEachRule___closure.prototype={call$1(e){return e.accept$1(this.$this)},$signature:116},A._EvaluateVisitor_visitAtRule_closure.prototype={call$1(e){return this.$this._interpolationToValue$3$trim$warnForColor(e,!0,!0)},$signature:618},A._EvaluateVisitor_visitAtRule_closure0.prototype={call$0(){var e,t,r,n;for(t=(e=this.children).length,r=this.$this,n=0;n<t;++n)e[n].accept$1(r)},$signature:1},A._EvaluateVisitor_visitAtRule_closure1.prototype={call$0(){var e,t,r,n=this,i=n.$this,o=i._atRootExcludingStyleRule?null:i._styleRuleIgnoringAtRoot;if(null==o||i._inKeyframes||"font-face"===n.name.value)for(t=(e=n.children).length,r=0;r<t;++r)e[r].accept$1(i);else i._withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(o._style_rule$_selector,o.span,!1,o.originalSelector),new A._EvaluateVisitor_visitAtRule__closure(i,n.children),!1,D.ModifiableCssStyleRule,D.Null)},$signature:1},A._EvaluateVisitor_visitAtRule__closure.prototype={call$0(){var e,t,r,n;for(t=(e=this.children).length,r=this.$this,n=0;n<t;++n)e[n].accept$1(r)},$signature:1},A._EvaluateVisitor_visitAtRule_closure2.prototype={call$1:e=>e instanceof A.ModifiableCssStyleRule,$signature:7},A._EvaluateVisitor_visitForRule_closure.prototype={call$0(){return this.node.from.accept$1(this.$this).assertNumber$0()},$signature:193},A._EvaluateVisitor_visitForRule_closure0.prototype={call$0(){return this.node.to.accept$1(this.$this).assertNumber$0()},$signature:193},A._EvaluateVisitor_visitForRule_closure1.prototype={call$0(){return this.fromNumber.assertInt$0()},$signature:10},A._EvaluateVisitor_visitForRule_closure2.prototype={call$0(){var e=this.fromNumber;return this.toNumber.coerce$2(e.get$numeratorUnits(e),e.get$denominatorUnits(e)).assertInt$0()},$signature:10},A._EvaluateVisitor_visitForRule_closure3.prototype={call$0(){var e,t,r,n,i,o,s,a,l=this,c=l.$this,u=l.node,d=c._expressionNode$1(u.from);for(e=l.from,t=l._box_0,r=l.direction,n=u.variable,i=l.fromNumber,u=u.children;e!==t.to;e+=r)if(o=c._environment,s=i.get$numeratorUnits(i),o.setLocalVariable$3(n,A.SassNumber_SassNumber$withUnits(e,i.get$denominatorUnits(i),s),d),null!=(a=c._handleReturn$2(u,new A._EvaluateVisitor_visitForRule__closure(c))))return a;return null},$signature:44},A._EvaluateVisitor_visitForRule__closure.prototype={call$1(e){return e.accept$1(this.$this)},$signature:116},A._EvaluateVisitor_visitForwardRule_closure.prototype={call$2(e,t){t&&this.$this._registerCommentsForModule$1(e),this.$this._environment.forwardModule$2(e,this.node)},$signature:114},A._EvaluateVisitor_visitForwardRule_closure0.prototype={call$2(e,t){t&&this.$this._registerCommentsForModule$1(e),this.$this._environment.forwardModule$2(e,this.node)},$signature:114},A._EvaluateVisitor__registerCommentsForModule_closure.prototype={call$0:()=>A._setArrayType([],D.JSArray_CssComment),$signature:177},A._EvaluateVisitor_visitIfRule_closure.prototype={call$1(e){var t=this.$this;return t._environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule__closure(t,e),!0,e.hasDeclarations,D.nullable_Value)},$signature:626},A._EvaluateVisitor_visitIfRule__closure.prototype={call$0(){var e=this.$this;return e._handleReturn$2(this.clause.children,new A._EvaluateVisitor_visitIfRule___closure(e))},$signature:44},A._EvaluateVisitor_visitIfRule___closure.prototype={call$1(e){return e.accept$1(this.$this)},$signature:116},A._EvaluateVisitor__visitDynamicImport_closure.prototype={call$0(){var e,t,r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y,$,x,S,C={};if(C.isDependency=C.importer=C.stylesheet=null,e=this.$this,t=this.$import,r=e._loadStylesheet$3$forImport(t.urlString,t.span,!0),n=C.stylesheet=r._0,i=r._1,C.importer=i,o=r._2,C.isDependency=o,null!=(a=(s=n.span).get$sourceUrl(s))){if((s=e._activeModules).containsKey$1(a))throw t=A.NullableExtension_andThen(s.$index(0,a),new A._EvaluateVisitor__visitDynamicImport__closure(e)),A.wrapException(null==t?e._evaluate$_exception$1("This file is already being loaded."):t);s.$indexSet(0,a,t)}if(t=n._uses,s=D.UnmodifiableListView_UseRule,0===new A.UnmodifiableListView(t,s).get$length(0)&&0===new A.UnmodifiableListView(n._forwards,D.UnmodifiableListView_ForwardRule).get$length(0))return l=e._importer,c=e._assertInModule$2(e.__stylesheet,"_stylesheet"),u=e._inDependency,e._importer=i,e.__stylesheet=n,e._inDependency=o,e.visitStylesheet$1(0,n),e._importer=l,e.__stylesheet=c,e._inDependency=u,void e._activeModules.remove$1(0,a);if(d=!!(t=new A.UnmodifiableListView(t,s)).any$1(t,new A._EvaluateVisitor__visitDynamicImport__closure0)||(t=new A.UnmodifiableListView(n._forwards,D.UnmodifiableListView_ForwardRule)).any$1(t,new A._EvaluateVisitor__visitDynamicImport__closure1),h=A._Cell$(),t=e._environment,s=D.String,p=D.Module_Callable,m=D.AstNode,_=t._nestedForwardedModules,g=A._setArrayType([],D.JSArray_Module_Callable),f=t._variables,f=A._setArrayType(f.slice(0),A._arrayInstanceType(f)),v=t._variableNodes,v=A._setArrayType(v.slice(0),A._arrayInstanceType(v)),b=t._functions,b=A._setArrayType(b.slice(0),A._arrayInstanceType(b)),y=t._mixins,y=A._setArrayType(y.slice(0),A._arrayInstanceType(y)),$=A.Environment$_(A.LinkedHashMap_LinkedHashMap$_empty(s,p),A.LinkedHashMap_LinkedHashMap$_empty(s,m),A.LinkedHashMap_LinkedHashMap$_empty(p,m),t._importedModules,null,_,g,f,v,b,y,t._content,t._configurableVariables),e._withEnvironment$2($,new A._EvaluateVisitor__visitDynamicImport__closure2(C,e,d,$,h)),x=$.toDummyModule$0(),e._environment.importForwards$1(x),d)for(x.transitivelyContainsCss&&e._combineCss$2$clone(x,x.transitivelyContainsExtensions).accept$1(e),S=new A._ImportedCssVisitor(e),t=w.get$iterator$ax(h._readLocal$0());t.moveNext$0();)t.get$current(t).accept$1(S);e._activeModules.remove$1(0,a)},$signature:0},A._EvaluateVisitor__visitDynamicImport__closure.prototype={call$1(e){return this.$this._multiSpanException$3("This file is already being loaded.","new load",A.LinkedHashMap_LinkedHashMap$_literal([e.get$span(e),"original load"],D.FileSpan,D.String))},$signature:111},A._EvaluateVisitor__visitDynamicImport__closure0.prototype={call$1:e=>"sass"!==e.url.get$scheme(),$signature:178},A._EvaluateVisitor__visitDynamicImport__closure1.prototype={call$1:e=>"sass"!==e.url.get$scheme(),$signature:179},A._EvaluateVisitor__visitDynamicImport__closure2.prototype={call$0(){var e,t,r=this,n=r.$this,i=n._importer,o=n._assertInModule$2(n.__stylesheet,"_stylesheet"),s=n._assertInModule$2(n.__root,"_root"),a=n._assertInModule$2(n.__parent,"__parent"),l=n._assertInModule$2(n.__endOfImports,"_endOfImports"),c=n._outOfOrderImports,u=n._configuration,d=n._inDependency,h=r._box_0;n._importer=h.importer,e=h.stylesheet,n.__stylesheet=e,(t=r.loadsUserDefinedModules)&&(e=A.ModifiableCssStylesheet$(e.span),n.__root=e,n.__parent=n._assertInModule$2(e,"_root"),n.__endOfImports=0,n._outOfOrderImports=null),n._inDependency=h.isDependency,(e=new A.UnmodifiableListView(h.stylesheet._forwards,D.UnmodifiableListView_ForwardRule)).get$isEmpty(e)||(n._configuration=r.environment.toImplicitConfiguration$0()),n.visitStylesheet$1(0,h.stylesheet),h=t?n._addOutOfOrderImports$0():A._setArrayType([],D.JSArray_ModifiableCssNode),r.children.__late_helper$_value=h,n._importer=i,n.__stylesheet=o,t&&(n.__root=s,n.__parent=a,n.__endOfImports=l,n._outOfOrderImports=c),n._configuration=u,n._inDependency=d},$signature:1},A._EvaluateVisitor__applyMixin_closure.prototype={call$0(){var e=this,t=e.$this;t._environment.asMixin$1(new A._EvaluateVisitor__applyMixin__closure0(t,e.$arguments,e.mixin,e.nodeWithSpanWithoutContent))},$signature:0},A._EvaluateVisitor__applyMixin__closure0.prototype={call$0(){var e=this;e.$this._runBuiltInCallable$3(e.$arguments,e.mixin,e.nodeWithSpanWithoutContent)},$signature:0},A._EvaluateVisitor__applyMixin_closure0.prototype={call$0(){var e=this,t=e.$this;t._environment.withContent$2(e.contentCallable,new A._EvaluateVisitor__applyMixin__closure(t,e.mixin,e.nodeWithSpanWithoutContent))},$signature:1},A._EvaluateVisitor__applyMixin__closure.prototype={call$0(){var e=this.$this;e._environment.asMixin$1(new A._EvaluateVisitor__applyMixin___closure(e,this.mixin,this.nodeWithSpanWithoutContent))},$signature:0},A._EvaluateVisitor__applyMixin___closure.prototype={call$0(){var e,t,r,n,i;for(t=(e=this.mixin.declaration.children).length,r=this.$this,n=this.nodeWithSpanWithoutContent,i=0;i<t;++i)r._addErrorSpan$2(n,new A._EvaluateVisitor__applyMixin____closure(r,e[i]))},$signature:0},A._EvaluateVisitor__applyMixin____closure.prototype={call$0(){return this.statement.accept$1(this.$this)},$signature:44},A._EvaluateVisitor_visitIncludeRule_closure.prototype={call$0(){var e=this.node;return this.$this._environment.getMixin$2$namespace(e.name,e.namespace)},$signature:113},A._EvaluateVisitor_visitIncludeRule_closure0.prototype={call$1(e){var t=this.$this;return new A.UserDefinedCallable(e,t._environment.closure$0(),t._inDependency,D.UserDefinedCallable_Environment)},$signature:633},A._EvaluateVisitor_visitIncludeRule_closure1.prototype={call$0(){return this.node.get$spanWithoutContent()},$signature:16},A._EvaluateVisitor_visitMediaRule_closure.prototype={call$0(){var e,t,r,n;for(t=(e=this.node.children).length,r=this.$this,n=0;n<t;++n)e[n].accept$1(r)},$signature:1},A._EvaluateVisitor_visitMediaRule_closure0.prototype={call$1(e){return this.$this._mergeMediaQueries$2(e,this.queries)},$signature:89},A._EvaluateVisitor_visitMediaRule_closure1.prototype={call$0(){var e=this,t=e.$this,r=e.mergedQueries;null==r&&(r=e.queries),t._withMediaQueries$3(r,e.mergedSources,new A._EvaluateVisitor_visitMediaRule__closure(t,e.node))},$signature:1},A._EvaluateVisitor_visitMediaRule__closure.prototype={call$0(){var e,t,r,n=this.$this,i=n._atRootExcludingStyleRule?null:n._styleRuleIgnoringAtRoot;if(null!=i)n._withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(i._style_rule$_selector,i.span,!1,i.originalSelector),new A._EvaluateVisitor_visitMediaRule___closure(n,this.node),!1,D.ModifiableCssStyleRule,D.Null);else for(t=(e=this.node.children).length,r=0;r<t;++r)e[r].accept$1(n)},$signature:1},A._EvaluateVisitor_visitMediaRule___closure.prototype={call$0(){var e,t,r,n;for(t=(e=this.node.children).length,r=this.$this,n=0;n<t;++n)e[n].accept$1(r)},$signature:1},A._EvaluateVisitor_visitMediaRule_closure2.prototype={call$1(e){var t;return t=e instanceof A.ModifiableCssStyleRule||(t=this.mergedSources).get$isNotEmpty(t)&&e instanceof A.ModifiableCssMediaRule&&C.JSArray_methods.every$1(e.queries,t.get$contains(t))},$signature:7},A._EvaluateVisitor_visitStyleRule_closure.prototype={call$0(){var e,t,r,n;for(t=(e=this.node.children).length,r=this.$this,n=0;n<t;++n)e[n].accept$1(r)},$signature:1},A._EvaluateVisitor_visitStyleRule_closure0.prototype={call$1:e=>e instanceof A.ModifiableCssStyleRule,$signature:7},A._EvaluateVisitor_visitStyleRule_closure2.prototype={call$0(){var e=this.$this;e._withStyleRule$2(this.rule,new A._EvaluateVisitor_visitStyleRule__closure(e,this.node))},$signature:1},A._EvaluateVisitor_visitStyleRule__closure.prototype={call$0(){var e,t,r,n;for(t=(e=this.node.children).length,r=this.$this,n=0;n<t;++n)e[n].accept$1(r)},$signature:1},A._EvaluateVisitor_visitStyleRule_closure1.prototype={call$1:e=>e instanceof A.ModifiableCssStyleRule,$signature:7},A._EvaluateVisitor__warnForBogusCombinators_closure.prototype={call$1:e=>e instanceof A.ModifiableCssComment,$signature:7},A._EvaluateVisitor_visitSupportsRule_closure.prototype={call$0(){var e,t,r,n;for(t=(e=this.node.children).length,r=this.$this,n=0;n<t;++n)e[n].accept$1(r)},$signature:1},A._EvaluateVisitor_visitSupportsRule_closure0.prototype={call$0(){var e,t,r,n=this.$this,i=n._atRootExcludingStyleRule?null:n._styleRuleIgnoringAtRoot;if(null!=i)n._withParent$2$2(A.ModifiableCssStyleRule$(i._style_rule$_selector,i.span,!1,i.originalSelector),new A._EvaluateVisitor_visitSupportsRule__closure(n,this.node),D.ModifiableCssStyleRule,D.Null);else for(t=(e=this.node.children).length,r=0;r<t;++r)e[r].accept$1(n)},$signature:1},A._EvaluateVisitor_visitSupportsRule__closure.prototype={call$0(){var e,t,r,n;for(t=(e=this.node.children).length,r=this.$this,n=0;n<t;++n)e[n].accept$1(r)},$signature:1},A._EvaluateVisitor_visitSupportsRule_closure1.prototype={call$1:e=>e instanceof A.ModifiableCssStyleRule,$signature:7},A._EvaluateVisitor__visitSupportsCondition_closure.prototype={call$0(){var e,t=this.$this,r=this._box_0,n=r.declaration.name;return n=t._evaluate$_serialize$3$quote(n.accept$1(t),n,!0),e=r.declaration.get$isCustomProperty()?"":" ",r=r.declaration.value,"("+n+":"+e+t._evaluate$_serialize$3$quote(r.accept$1(t),r,!0)+")"},$signature:29},A._EvaluateVisitor_visitVariableDeclaration_closure.prototype={call$0(){var e=this.$this._environment,t=this._box_0.override;e.setVariable$4$global(this.node.name,t.value,t.assignmentNode,!0)},$signature:1},A._EvaluateVisitor_visitVariableDeclaration_closure0.prototype={call$0(){var e=this.node;return this.$this._environment.getVariable$2$namespace(e.name,e.namespace)},$signature:44},A._EvaluateVisitor_visitVariableDeclaration_closure1.prototype={call$0(){var e=this.$this,t=this.node;e._environment.setVariable$5$global$namespace(t.name,this.value,e._expressionNode$1(t.expression),t.isGlobal,t.namespace)},$signature:1},A._EvaluateVisitor_visitUseRule_closure.prototype={call$2(e,t){var r,n,i,o,s,a,l;t&&this.$this._registerCommentsForModule$1(e),r=this.$this._environment,null==(i=(n=this.node).namespace)?(r._globalModules.$indexSet(0,e,n),r._allModules.push(e),r=C.JSArray_methods.get$first(r._variables),null!=(o=A.IterableExtension_firstWhereOrNull(r.get$keys(r),e.get$variables().get$containsKey()))&&A.throwExpression(A.SassScriptException$(P.This_ma+o+'".',null))):((s=r._environment$_modules).containsKey$1(i)&&(l=null==(a=r._namespaceNodes.$index(0,i))?null:a.span,a=A.LinkedHashMap_LinkedHashMap$_empty(D.FileSpan,D.String),null!=l&&a.$indexSet(0,l,"original @use"),A.throwExpression(A.MultiSpanSassScriptException$(P.There_+i+'".',"new @use",a))),s.$indexSet(0,i,e),r._namespaceNodes.$indexSet(0,i,n),r._allModules.push(e))},$signature:114},A._EvaluateVisitor_visitWarnRule_closure.prototype={call$0(){return this.node.expression.accept$1(this.$this)},$signature:33},A._EvaluateVisitor_visitWhileRule_closure.prototype={call$0(){var e,t,r,n;for(t=(e=this.node).condition,r=this.$this,e=e.children;t.accept$1(r).get$isTruthy();)if(null!=(n=r._handleReturn$2(e,new A._EvaluateVisitor_visitWhileRule__closure(r))))return n;return null},$signature:44},A._EvaluateVisitor_visitWhileRule__closure.prototype={call$1(e){return e.accept$1(this.$this)},$signature:116},A._EvaluateVisitor_visitBinaryOperationExpression_closure.prototype={call$0(){var e=this.node,t=this.$this,r=e.left.accept$1(t);switch(e.operator.index){case 0:e=e.right.accept$1(t),e=new A.SassString(A.serializeValue(r,!1,!0)+"="+A.serializeValue(e,!1,!0),!1);break;case 1:e=r.get$isTruthy()?r:e.right.accept$1(t);break;case 2:e=r.get$isTruthy()?e.right.accept$1(t):r;break;case 3:e=r.$eq(0,e.right.accept$1(t))?C.SassBoolean_true:C.SassBoolean_false;break;case 4:e=r.$eq(0,e.right.accept$1(t))?C.SassBoolean_false:C.SassBoolean_true;break;case 5:e=r.greaterThan$1(e.right.accept$1(t));break;case 6:e=r.greaterThanOrEquals$1(e.right.accept$1(t));break;case 7:e=r.lessThan$1(e.right.accept$1(t));break;case 8:e=r.lessThanOrEquals$1(e.right.accept$1(t));break;case 9:e=r.plus$1(e.right.accept$1(t));break;case 10:e=r.minus$1(e.right.accept$1(t));break;case 11:e=r.times$1(e.right.accept$1(t));break;case 12:e=t._slash$3(r,e.right.accept$1(t),e);break;case 13:e=r.modulo$1(e.right.accept$1(t));break;default:e=null}return e},$signature:33},A._EvaluateVisitor__slash_recommendation.prototype={call$1(e){return e instanceof A.BinaryOperationExpression&&C.BinaryOperator_ehp===e.operator?"math.div("+A.S(this.call$1(e.left))+", "+A.S(this.call$1(e.right))+")":e instanceof A.ParenthesizedExpression?e.expression.toString$0(0):e.toString$0(0)},$signature:133},A._EvaluateVisitor_visitVariableExpression_closure.prototype={call$0(){var e=this.node;return this.$this._environment.getVariable$2$namespace(e.name,e.namespace)},$signature:44},A._EvaluateVisitor_visitUnaryOperationExpression_closure.prototype={call$0(){var e,t=this;switch(t.node.operator.index){case 0:e=t.operand.unaryPlus$0();break;case 1:e=t.operand.unaryMinus$0();break;case 2:e=new A.SassString("/"+A.serializeValue(t.operand,!1,!0),!1);break;case 3:e=t.operand.unaryNot$0();break;default:e=null}return e},$signature:33},A._EvaluateVisitor_visitIfExpression_closure.prototype={call$1:e=>e._0+": "+e._1.toString$0(0),$signature:183},A._EvaluateVisitor_visitIfConditionOperation_closure.prototype={call$1:e=>e._1,$signature:184},A._EvaluateVisitor_visitListExpression_closure.prototype={call$1(e){return e.accept$1(this.$this)},$signature:653},A._EvaluateVisitor_visitFunctionExpression_closure.prototype={call$0(){var e=this.node;return this.$this._environment.getFunction$2$namespace(e.name,e.namespace)},$signature:113},A._EvaluateVisitor_visitFunctionExpression_closure0.prototype={call$1:e=>e.accept$1(C.C_IsCalculationSafeVisitor),$signature:74},A._EvaluateVisitor_visitFunctionExpression_closure1.prototype={call$0(){var e=this.node;return this.$this._runFunctionCallable$3(e.$arguments,this._box_0.$function,e)},$signature:33},A._EvaluateVisitor__visitCalculation_closure.prototype={call$2(e,t){return this.$this._warn$3(e,this.node.span,t)},call$1(e){return this.call$2(e,null)},$signature:105},A._EvaluateVisitor__checkCalculationArguments_check.prototype={call$1(e){var t=this.node,r=t.$arguments.positional.length;if(0===r)throw A.wrapException(this.$this._evaluate$_exception$2("Missing argument.",t.span));if(null!=e&&r>e)throw A.wrapException(this.$this._evaluate$_exception$2("Only "+A.S(e)+" "+A.pluralize("argument",e,null)+" allowed, but "+r+" "+A.pluralize("was",r,"were")+" passed.",t.span))},call$0(){return this.call$1(null)},$signature:82},A._EvaluateVisitor__visitCalculationExpression_closure.prototype={call$0(){var e=this,t=e.$this,r=e._box_0,n=e.node,i=e.inLegacySassFunction;return A.SassCalculation_operateInternal(t._binaryOperatorToCalculationOperator$2(r.operator,n),t._visitCalculationExpression$2$inLegacySassFunction(r.left,i),t._visitCalculationExpression$2$inLegacySassFunction(r.right,i),i,!t._inSupportsDeclaration,new A._EvaluateVisitor__visitCalculationExpression__closure(t,n))},$signature:83},A._EvaluateVisitor__visitCalculationExpression__closure.prototype={call$2(e,t){return this.$this._warn$3(e,this.node.get$span(0),t)},call$1(e){return this.call$2(e,null)},$signature:105},A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure.prototype={call$0(){var e=this.node;return this.$this._runFunctionCallable$3(e.$arguments,this.$function,e)},$signature:33},A._EvaluateVisitor__runUserDefinedCallable_closure.prototype={call$0(){var e=this,t=e.$this,r=e.callable;return t._withEnvironment$2(r.environment.closure$0(),new A._EvaluateVisitor__runUserDefinedCallable__closure(t,e.evaluated,r,e.nodeWithSpan,e.run,e.V))},$signature(){return this.V._eval$1("0()")}},A._EvaluateVisitor__runUserDefinedCallable__closure.prototype={call$0(){var e=this,t=e.$this,r=e.V;return t._environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure(t,e.evaluated,e.callable,e.nodeWithSpan,e.run,r),r)},$signature(){return this.V._eval$1("0()")}},A._EvaluateVisitor__runUserDefinedCallable___closure.prototype={call$0(){var e,t,r,n,i,o,s,a,l,c,u,d,h,p,m=this,_=m.$this,g=m.evaluated._values,f=m.callable.declaration.parameters,v=m.nodeWithSpan;for(_._verifyArguments$4(g[2].length,g[0],f,v),t=(e=f.parameters).length,r=Math.min(g[2].length,t),n=0;n<r;++n)_._environment.setLocalVariable$3(e[n].name,g[2][n],g[3][n]);for(n=g[2].length;n<t;++n)o=(i=e[n]).name,null==(s=g[0].remove$1(0,o))&&(a=i.defaultValue,s=_._withoutSlash$2(a.accept$1(_),_._expressionNode$1(a))),a=_._environment,null==(l=g[1].$index(0,o))&&((l=i.defaultValue).toString,l=_._expressionNode$1(l)),a.setLocalVariable$3(o,s,l);if(null!=(c=f.restParameter)?(u=(o=g[2]).length>t?C.JSArray_methods.sublist$1(o,t):C.List_empty8,t=g[0],o=g[4],d=A.SassArgumentList$(u,t,o===C.ListSeparator_undecided_null_3_undecided?C.ListSeparator_z0K:o),_._environment.setLocalVariable$3(c,d,v)):d=null,h=m.run.call$0(),null==d)return h;if(0===(t=g[0].__js_helper$_length))return h;if(d._wereKeywordsAccessed)return h;throw p=A.pluralize("parameter",t,null),g=g[0],t=A._instanceType(g)._eval$1("LinkedHashMapKeysIterable<1>"),A.wrapException(A.MultiSpanSassRuntimeException$("No "+p+" named "+A.toSentence(A.MappedIterable_MappedIterable(new A.LinkedHashMapKeysIterable(g,t),new A._EvaluateVisitor__runUserDefinedCallable____closure,t._eval$1("Iterable.E"),D.Object),"or")+".",v.get$span(v),"invocation",A.LinkedHashMap_LinkedHashMap$_literal([f.get$spanWithName(),"declaration"],D.FileSpan,D.String),_._evaluate$_stackTrace$1(v.get$span(v)),null))},$signature(){return this.V._eval$1("0()")}},A._EvaluateVisitor__runUserDefinedCallable____closure.prototype={call$1:e=>"$"+e,$signature:6},A._EvaluateVisitor__runFunctionCallable_closure.prototype={call$0(){var e,t,r,n,i,o;for(r=(t=(e=this.callable.declaration).children).length,n=this.$this,i=0;i<r;++i)if((o=t[i].accept$1(n))instanceof A.Value)return o;throw A.wrapException(n._evaluate$_exception$2("Function finished without @return.",e.span))},$signature:33},A._EvaluateVisitor__runBuiltInCallable_closure.prototype={call$0(){return this._box_0.overload.verify$2(this.evaluated._values[2].length,this.namedSet)},$signature:0},A._EvaluateVisitor__runBuiltInCallable_closure0.prototype={call$0(){return this._box_0.callback.call$1(this.evaluated._values[2])},$signature:33},A._EvaluateVisitor__runBuiltInCallable_closure1.prototype={call$1:e=>"$"+e,$signature:6},A._EvaluateVisitor__evaluateArguments_closure.prototype={call$1:e=>e,$signature:43},A._EvaluateVisitor__evaluateArguments_closure0.prototype={call$1(e){return this.$this._withoutSlash$2(e,this.restNodeForSpan)},$signature:43},A._EvaluateVisitor__evaluateArguments_closure1.prototype={call$2(e,t){var r=this,n=r.restNodeForSpan;r.named.$indexSet(0,e,r.$this._withoutSlash$2(t,n)),r.namedNodes.$indexSet(0,e,n)},$signature:109},A._EvaluateVisitor__evaluateArguments_closure2.prototype={call$1:e=>e,$signature:43},A._EvaluateVisitor__evaluateMacroArguments_closure.prototype={call$1(e){var t=this.restArgs;return new A.ValueExpression(e,t.get$span(t))},$signature:60},A._EvaluateVisitor__evaluateMacroArguments_closure0.prototype={call$1(e){var t=this.restArgs;return new A.ValueExpression(this.$this._withoutSlash$2(e,this.restNodeForSpan),t.get$span(t))},$signature:60},A._EvaluateVisitor__evaluateMacroArguments_closure1.prototype={call$2(e,t){var r=this,n=r.restArgs;r.named.$indexSet(0,e,new A.ValueExpression(r.$this._withoutSlash$2(t,r.restNodeForSpan),n.get$span(n)))},$signature:109},A._EvaluateVisitor__evaluateMacroArguments_closure2.prototype={call$1(e){var t=this.keywordRestArgs;return new A.ValueExpression(this.$this._withoutSlash$2(e,this.keywordRestNodeForSpan),t.get$span(t))},$signature:60},A._EvaluateVisitor__addRestMap_closure.prototype={call$2(e,t){var r,n=this,i=n.$this;if(!(e instanceof A.SassString))throw r=n.nodeWithSpan,A.wrapException(i._evaluate$_exception$2(P.Variab_+e.toString$0(0)+" is not a string in "+n.map.toString$0(0)+".",r.get$span(r)));n.values.$indexSet(0,e._string$_text,n.convert.call$1(i._withoutSlash$2(t,n.expressionNode)))},$signature:99},A._EvaluateVisitor__verifyArguments_closure.prototype={call$0(){return this.parameters.verify$2(this.positional,new A.MapKeySet(this.named,D.MapKeySet_String))},$signature:0},A._EvaluateVisitor_visitCssAtRule_closure.prototype={call$0(){var e,t,r,n;for(t=(e=this.node.children).$ti,e=new A.ListIterator(e,e.get$length(0),t._eval$1("ListIterator<ListBase.E>")),r=this.$this,t=t._eval$1("ListBase.E");e.moveNext$0();)(null==(n=e.__internal$_current)?t._as(n):n).accept$1(r)},$signature:1},A._EvaluateVisitor_visitCssAtRule_closure0.prototype={call$0(){var e,t,r,n;for(t=(e=this.node.children).$ti,e=new A.ListIterator(e,e.get$length(0),t._eval$1("ListIterator<ListBase.E>")),r=this.$this,t=t._eval$1("ListBase.E");e.moveNext$0();)(null==(n=e.__internal$_current)?t._as(n):n).accept$1(r)},$signature:1},A._EvaluateVisitor_visitCssAtRule_closure1.prototype={call$1:e=>e instanceof A.ModifiableCssStyleRule,$signature:7},A._EvaluateVisitor_visitCssKeyframeBlock_closure.prototype={call$0(){var e,t,r,n;for(t=(e=this.node.children).$ti,e=new A.ListIterator(e,e.get$length(0),t._eval$1("ListIterator<ListBase.E>")),r=this.$this,t=t._eval$1("ListBase.E");e.moveNext$0();)(null==(n=e.__internal$_current)?t._as(n):n).accept$1(r)},$signature:1},A._EvaluateVisitor_visitCssKeyframeBlock_closure0.prototype={call$1:e=>e instanceof A.ModifiableCssStyleRule,$signature:7},A._EvaluateVisitor_visitCssMediaRule_closure.prototype={call$0(){var e,t,r,n;for(t=(e=this.node.children).$ti,e=new A.ListIterator(e,e.get$length(0),t._eval$1("ListIterator<ListBase.E>")),r=this.$this,t=t._eval$1("ListBase.E");e.moveNext$0();)(null==(n=e.__internal$_current)?t._as(n):n).accept$1(r)},$signature:1},A._EvaluateVisitor_visitCssMediaRule_closure0.prototype={call$1(e){return this.$this._mergeMediaQueries$2(e,this.node.queries)},$signature:89},A._EvaluateVisitor_visitCssMediaRule_closure1.prototype={call$0(){var e=this,t=e.$this,r=e.mergedQueries;null==r&&(r=e.node.queries),t._withMediaQueries$3(r,e.mergedSources,new A._EvaluateVisitor_visitCssMediaRule__closure(t,e.node))},$signature:1},A._EvaluateVisitor_visitCssMediaRule__closure.prototype={call$0(){var e,t,r,n=this.$this,i=n._atRootExcludingStyleRule?null:n._styleRuleIgnoringAtRoot;if(null!=i)n._withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$(i._style_rule$_selector,i.span,!1,i.originalSelector),new A._EvaluateVisitor_visitCssMediaRule___closure(n,this.node),!1,D.ModifiableCssStyleRule,D.Null);else for(t=(e=this.node.children).$ti,e=new A.ListIterator(e,e.get$length(0),t._eval$1("ListIterator<ListBase.E>")),t=t._eval$1("ListBase.E");e.moveNext$0();)(null==(r=e.__internal$_current)?t._as(r):r).accept$1(n)},$signature:1},A._EvaluateVisitor_visitCssMediaRule___closure.prototype={call$0(){var e,t,r,n;for(t=(e=this.node.children).$ti,e=new A.ListIterator(e,e.get$length(0),t._eval$1("ListIterator<ListBase.E>")),r=this.$this,t=t._eval$1("ListBase.E");e.moveNext$0();)(null==(n=e.__internal$_current)?t._as(n):n).accept$1(r)},$signature:1},A._EvaluateVisitor_visitCssMediaRule_closure2.prototype={call$1(e){var t;return t=e instanceof A.ModifiableCssStyleRule||(t=this.mergedSources).get$isNotEmpty(t)&&e instanceof A.ModifiableCssMediaRule&&C.JSArray_methods.every$1(e.queries,t.get$contains(t))},$signature:7},A._EvaluateVisitor_visitCssStyleRule_closure0.prototype={call$0(){var e=this.$this;e._withStyleRule$2(this.rule,new A._EvaluateVisitor_visitCssStyleRule__closure(e,this.node))},$signature:1},A._EvaluateVisitor_visitCssStyleRule__closure.prototype={call$0(){var e,t,r,n;for(t=(e=this.node.children).$ti,e=new A.ListIterator(e,e.get$length(0),t._eval$1("ListIterator<ListBase.E>")),r=this.$this,t=t._eval$1("ListBase.E");e.moveNext$0();)(null==(n=e.__internal$_current)?t._as(n):n).accept$1(r)},$signature:1},A._EvaluateVisitor_visitCssStyleRule_closure.prototype={call$1:e=>e instanceof A.ModifiableCssStyleRule,$signature:7},A._EvaluateVisitor_visitCssSupportsRule_closure.prototype={call$0(){var e,t,r,n;for(t=(e=this.node.children).$ti,e=new A.ListIterator(e,e.get$length(0),t._eval$1("ListIterator<ListBase.E>")),r=this.$this,t=t._eval$1("ListBase.E");e.moveNext$0();)(null==(n=e.__internal$_current)?t._as(n):n).accept$1(r)},$signature:1},A._EvaluateVisitor_visitCssSupportsRule_closure0.prototype={call$0(){var e,t,r,n=this.$this,i=n._atRootExcludingStyleRule?null:n._styleRuleIgnoringAtRoot;if(null!=i)n._withParent$2$2(A.ModifiableCssStyleRule$(i._style_rule$_selector,i.span,!1,i.originalSelector),new A._EvaluateVisitor_visitCssSupportsRule__closure(n,this.node),D.ModifiableCssStyleRule,D.Null);else for(t=(e=this.node.children).$ti,e=new A.ListIterator(e,e.get$length(0),t._eval$1("ListIterator<ListBase.E>")),t=t._eval$1("ListBase.E");e.moveNext$0();)(null==(r=e.__internal$_current)?t._as(r):r).accept$1(n)},$signature:1},A._EvaluateVisitor_visitCssSupportsRule__closure.prototype={call$0(){var e,t,r,n;for(t=(e=this.node.children).$ti,e=new A.ListIterator(e,e.get$length(0),t._eval$1("ListIterator<ListBase.E>")),r=this.$this,t=t._eval$1("ListBase.E");e.moveNext$0();)(null==(n=e.__internal$_current)?t._as(n):n).accept$1(r)},$signature:1},A._EvaluateVisitor_visitCssSupportsRule_closure1.prototype={call$1:e=>e instanceof A.ModifiableCssStyleRule,$signature:7},A._EvaluateVisitor__performInterpolationHelper_closure.prototype={call$1(e){return A.InterpolationMap$(this.interpolation,e)},$signature:143},A._EvaluateVisitor__serialize_closure.prototype={call$0(){return A.serializeValue(this.value,!1,this.quote)},$signature:29},A._EvaluateVisitor__expressionNode_closure.prototype={call$0(){var e=this.expression;return this.$this._environment.getVariableNode$2$namespace(e.name,e.namespace)},$signature:188},A._EvaluateVisitor__withoutSlash_recommendation.prototype={call$1(e){var t,r,n,i=e.asSlash;return D.Record_2_nullable_Object_and_nullable_Object._is(i)?(t=i._0,r=i._1,n="math.div("+A.S(this.call$1(t))+", "+A.S(this.call$1(r))+")"):n=A.serializeValue(e,!0,!0),n},$signature:189},A._EvaluateVisitor__stackFrame_closure.prototype={call$1(e){var t=this.$this._evaluate$_importCache;return null==(t=null==t?null:t.humanize$1(e))?e:t},$signature:49},A._ImportedCssVisitor.prototype={visitCssAtRule$1(e){var t=e.isChildless?null:new A._ImportedCssVisitor_visitCssAtRule_closure;this._visitor._addChild$2$through(e,t)},visitCssComment$1(e){return this._visitor._addChild$1(e)},visitCssDeclaration$1(e){return this._visitor._addChild$1(e)},visitCssImport$1(e){var t,r="_endOfImports",n=this._visitor;n._assertInModule$2(n.__parent,"__parent")!==n._assertInModule$2(n.__root,"_root")?n._addChild$1(e):n._assertInModule$2(n.__endOfImports,r)===w.get$length$asx(n._assertInModule$2(n.__root,"_root").children._collection$_source)?(n._addChild$1(e),n.__endOfImports=n._assertInModule$2(n.__endOfImports,r)+1):(null==(t=n._outOfOrderImports)?n._outOfOrderImports=A._setArrayType([],D.JSArray_ModifiableCssImport):t).push(e)},visitCssKeyframeBlock$1(e){},visitCssMediaRule$1(e){var t=this._visitor,r=t._mediaQueries;t._addChild$2$through(e,new A._ImportedCssVisitor_visitCssMediaRule_closure(null==r||null!=t._mergeMediaQueries$2(r,e.queries)))},visitCssStyleRule$1(e){return this._visitor._addChild$2$through(e,new A._ImportedCssVisitor_visitCssStyleRule_closure)},visitCssStylesheet$1(e){var t,r,n;for(r=(t=e.children).$ti,t=new A.ListIterator(t,t.get$length(0),r._eval$1("ListIterator<ListBase.E>")),r=r._eval$1("ListBase.E");t.moveNext$0();)(null==(n=t.__internal$_current)?r._as(n):n).accept$1(this)},visitCssSupportsRule$1(e){return this._visitor._addChild$2$through(e,new A._ImportedCssVisitor_visitCssSupportsRule_closure)}},A._ImportedCssVisitor_visitCssAtRule_closure.prototype={call$1:e=>e instanceof A.ModifiableCssStyleRule,$signature:7},A._ImportedCssVisitor_visitCssMediaRule_closure.prototype={call$1(e){return e instanceof A.ModifiableCssStyleRule||this.hasBeenMerged&&e instanceof A.ModifiableCssMediaRule},$signature:7},A._ImportedCssVisitor_visitCssStyleRule_closure.prototype={call$1:e=>e instanceof A.ModifiableCssStyleRule,$signature:7},A._ImportedCssVisitor_visitCssSupportsRule_closure.prototype={call$1:e=>e instanceof A.ModifiableCssStyleRule,$signature:7},A._EvaluationContext.prototype={get$currentCallableSpan(){var e=this._visitor._callableNode;if(null!=e)return e.get$span(e);throw A.wrapException(A.StateError$(P.No_Sasc))},warn$2(e,t,r){var n=this._visitor,i=n._importSpan;null==i&&(i=null==(i=n._callableNode)?null:i.get$span(i)),null==i&&(i=(i=this._defaultWarnNodeWithSpan).get$span(i)),n._warn$3(t,i,r)},$isEvaluationContext:1},A.EveryCssVisitor.prototype={visitCssAtRule$1(e){var t=e.children;return t.every$1(t,new A.EveryCssVisitor_visitCssAtRule_closure(this))},visitCssComment$1:e=>!1,visitCssDeclaration$1:e=>!1,visitCssImport$1:e=>!1,visitCssKeyframeBlock$1(e){var t=e.children;return t.every$1(t,new A.EveryCssVisitor_visitCssKeyframeBlock_closure(this))},visitCssMediaRule$1(e){var t=e.children;return t.every$1(t,new A.EveryCssVisitor_visitCssMediaRule_closure(this))},visitCssStyleRule$1(e){var t=e.children;return t.every$1(t,new A.EveryCssVisitor_visitCssStyleRule_closure(this))},visitCssStylesheet$1(e){return w.every$1$ax(e.get$children(e),new A.EveryCssVisitor_visitCssStylesheet_closure(this))},visitCssSupportsRule$1(e){var t=e.children;return t.every$1(t,new A.EveryCssVisitor_visitCssSupportsRule_closure(this))}},A.EveryCssVisitor_visitCssAtRule_closure.prototype={call$1(e){return e.accept$1(this.$this)},$signature:7},A.EveryCssVisitor_visitCssKeyframeBlock_closure.prototype={call$1(e){return e.accept$1(this.$this)},$signature:7},A.EveryCssVisitor_visitCssMediaRule_closure.prototype={call$1(e){return e.accept$1(this.$this)},$signature:7},A.EveryCssVisitor_visitCssStyleRule_closure.prototype={call$1(e){return e.accept$1(this.$this)},$signature:7},A.EveryCssVisitor_visitCssStylesheet_closure.prototype={call$1(e){return e.accept$1(this.$this)},$signature:7},A.EveryCssVisitor_visitCssSupportsRule_closure.prototype={call$1(e){return e.accept$1(this.$this)},$signature:7},A._MakeExpressionCalculationSafe.prototype={visitBinaryOperationExpression$1(e,t){var r,n;return t.operator===C.BinaryOperator_bgA?(r=A.ArgumentList$(A._setArrayType([t],D.JSArray_Expression),C.Map_empty4,C.Map_empty5,t.get$span(0),null,null),n=t.get$span(0),r=new A.FunctionExpression("math",A.stringReplaceAllUnchecked("max","_","-"),"max",r,n)):r=this.super$ReplaceExpressionVisitor$visitBinaryOperationExpression(0,t),r},visitInterpolatedFunctionExpression$1:(e,t)=>t,visitIfExpression$1:(e,t)=>t,visitUnaryOperationExpression$1(e,t){var r=t.operator;return C.UnaryOperator_n2K!==r?C.UnaryOperator_hCO!==r?this.super$ReplaceExpressionVisitor$visitUnaryOperationExpression(0,t):new A.BinaryOperationExpression(C.BinaryOperator_wkM,new A.NumberExpression(-1,null,t.span),t.operand,!1):t.operand}},A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor.prototype={},A._FindDependenciesVisitor.prototype={visitEachRule$1(e,t){},visitForRule$1(e,t){},visitIfRule$1(e,t){},visitWhileRule$1(e,t){},visitUseRule$1(e,t){var r=t.url;"sass"!==r.get$scheme()?this._find_dependencies$_uses.add$1(0,r):"sass:meta"===r.toString$0(0)&&this._metaNamespaces.add$1(0,t.namespace)},visitForwardRule$1(e,t){var r=t.url;"sass"!==r.get$scheme()&&this._find_dependencies$_forwards.add$1(0,r)},visitImportRule$1(e,t){var r,n,i,o,s;for(n=(r=t.imports).length,i=this._imports,o=0;o<n;++o)(s=r[o])instanceof A.DynamicImport&&i.add$1(0,A.Uri_parse(s.urlString))},visitIncludeRule$1(e,t){var r,n,i,o,s,a,l,c;if("load-css"===t.name&&this._metaNamespaces.contains$1(0,t.namespace)&&(r=null,o=null,s=!1,(i=1===(n=t.$arguments.positional).length)?(l=(a=n[0])instanceof A.StringExpression)&&(D.StringExpression._as(a),s=null!=(s=o=a.text.get$asPlain())):(a=null,l=!1),s)){l?c=o:(s=i?a:n[0],c=o=D.StringExpression._as(s).text.get$asPlain()),r=null==c?A._asString(c):c;try{this._metaLoadCss.add$1(0,A.Uri_parse(r))}catch(e){if(!D.FormatException._is(A.unwrapException(e)))throw e}}}},A.__FindDependenciesVisitor_Object_RecursiveStatementVisitor.prototype={},A.IsCalculationSafeVisitor.prototype={visitBinaryOperationExpression$1(e,t){return C.Set_xkEMv.contains$1(0,t.operator)&&t.left.accept$1(this)&&t.right.accept$1(this)},visitBooleanExpression$1:(e,t)=>!1,visitColorExpression$1:(e,t)=>!1,visitFunctionExpression$1:(e,t)=>!0,visitIfExpression$1:(e,t)=>!0,visitInterpolatedFunctionExpression$1:(e,t)=>!0,visitLegacyIfExpression$1:(e,t)=>!0,visitListExpression$1(e,t){var r=!1;return t.separator===C.ListSeparator_SrV&&(t.hasBrackets||(r=(r=t.contents).length>1&&C.JSArray_methods.every$1(r,new A.IsCalculationSafeVisitor_visitListExpression_closure(this)))),r},visitMapExpression$1:(e,t)=>!1,visitNullExpression$1:(e,t)=>!1,visitNumberExpression$1:(e,t)=>!0,visitParenthesizedExpression$1(e,t){return t.expression.accept$1(this)},visitSelectorExpression$1:(e,t)=>!1,visitStringExpression$1(e,t){var r,n,i;return!t.hasQuotes&&(r=t.text.get$initialPlain(),n=!1,C.JSString_methods.startsWith$1(r,"!")||C.JSString_methods.startsWith$1(r,"#")||43!==(1>=(i=r.length)?null:r.charCodeAt(1))&&(n=40!==(3>=i?null:r.charCodeAt(3))),n)},visitSupportsExpression$1:(e,t)=>!1,visitUnaryOperationExpression$1:(e,t)=>!1,visitValueExpression$1:(e,t)=>!1,visitVariableExpression$1:(e,t)=>!0},A.IsCalculationSafeVisitor_visitListExpression_closure.prototype={call$1(e){return e.accept$1(this.$this)},$signature:74},A.IsPlainCssVisitor.prototype={visitBinaryOperationExpression$1:(e,t)=>!1,visitBooleanExpression$1:(e,t)=>!1,visitColorExpression$1:(e,t)=>!0,visitFunctionExpression$1(e,t){return null==t.namespace&&this._visitArgumentList$1(t.$arguments)},visitIfExpression$1(e,t){return C.JSArray_methods.every$1(t.branches,new A.IsPlainCssVisitor_visitIfExpression_closure(this))},visitInterpolatedFunctionExpression$1(e,t){return this._visitArgumentList$1(t.$arguments)},visitLegacyIfExpression$1:(e,t)=>!1,visitListExpression$1(e,t){var r=t.contents;return(0!==r.length||t.hasBrackets)&&C.JSArray_methods.every$1(r,new A.IsPlainCssVisitor_visitListExpression_closure(this))},visitMapExpression$1:(e,t)=>!1,visitNullExpression$1:(e,t)=>!1,visitNumberExpression$1:(e,t)=>!0,visitParenthesizedExpression$1(e,t){return t.expression.accept$1(this)},visitSelectorExpression$1:(e,t)=>!1,visitStringExpression$1:(e,t)=>!0,visitSupportsExpression$1:(e,t)=>!1,visitUnaryOperationExpression$1:(e,t)=>!1,visitValueExpression$1:(e,t)=>!1,visitVariableExpression$1:(e,t)=>!1,visitIfConditionParenthesized$1(e,t){return t.expression.accept$1(this)},visitIfConditionNegation$1(e,t){return t.expression.accept$1(this)},visitIfConditionOperation$1(e,t){return C.JSArray_methods.every$1(t.expressions,new A.IsPlainCssVisitor_visitIfConditionOperation_closure(this))},visitIfConditionFunction$1:(e,t)=>!0,visitIfConditionSass$1:(e,t)=>!1,visitIfConditionRaw$1:(e,t)=>!0,_visitArgumentList$1(e){var t=e.named;return t.get$isEmpty(t)&&null==e.rest&&C.JSArray_methods.every$1(e.positional,new A.IsPlainCssVisitor__visitArgumentList_closure(this))}},A.IsPlainCssVisitor_visitIfExpression_closure.prototype={call$1(e){var t,r,n;return null==(t=e._0)?n=e._1.accept$1(this.$this):(r=null==t?D.IfConditionExpression._as(t):t,n=this.$this,n=r.accept$1(n)&&e._1.accept$1(n)),n},$signature:669},A.IsPlainCssVisitor_visitListExpression_closure.prototype={call$1(e){return e.accept$1(this.$this)},$signature:74},A.IsPlainCssVisitor_visitIfConditionOperation_closure.prototype={call$1(e){return e.accept$1(this.$this)},$signature:672},A.IsPlainCssVisitor__visitArgumentList_closure.prototype={call$1(e){return e.accept$1(this.$this)},$signature:74},A.RecursiveStatementVisitor.prototype={visitAtRootRule$1(e,t){this.visitChildren$1(t.children)},visitAtRule$1(e,t){return A.NullableExtension_andThen(t.children,this.get$visitChildren())},visitContentBlock$1:(e,t)=>null,visitContentRule$1(e,t){},visitDebugRule$1(e,t){},visitDeclaration$1(e,t){return A.NullableExtension_andThen(t.children,this.get$visitChildren())},visitEachRule$1(e,t){return this.visitChildren$1(t.children)},visitErrorRule$1(e,t){},visitExtendRule$1(e,t){},visitForRule$1(e,t){return this.visitChildren$1(t.children)},visitForwardRule$1(e,t){},visitFunctionRule$1:(e,t)=>null,visitIfRule$1(e,t){var r,n,i,o,s,a,l;for(n=(r=t.clauses).length,i=0;i<n;++i)for(s=(o=r[i].children).length,a=0;a<s;++a)o[a].accept$1(this);if(null!=(l=t.lastClause))for(n=(r=l.children).length,i=0;i<n;++i)r[i].accept$1(this)},visitImportRule$1(e,t){},visitIncludeRule$1(e,t){return A.NullableExtension_andThen(t.content,this.get$visitContentBlock(this))},visitLoudComment$1(e,t){},visitMediaRule$1(e,t){return this.visitChildren$1(t.children)},visitMixinRule$1:(e,t)=>null,visitReturnRule$1(e,t){},visitSilentComment$1(e,t){},visitStyleRule$1(e,t){return this.visitChildren$1(t.children)},visitStylesheet$1(e,t){return this.visitChildren$1(t.children)},visitSupportsRule$1(e,t){return this.visitChildren$1(t.children)},visitUseRule$1(e,t){},visitVariableDeclaration$1(e,t){},visitWarnRule$1(e,t){},visitWhileRule$1(e,t){return this.visitChildren$1(t.children)},visitChildren$1(e){var t;for(t=w.get$iterator$ax(e);t.moveNext$0();)t.get$current(t).accept$1(this)}},A.ReplaceExpressionVisitor.prototype={visitBinaryOperationExpression$1(e,t){return new A.BinaryOperationExpression(t.operator,t.left.accept$1(this),t.right.accept$1(this),!1)},visitBooleanExpression$1:(e,t)=>t,visitColorExpression$1:(e,t)=>t,visitFunctionExpression$1(e,t){var r=t.originalName,n=this.visitArgumentList$1(t.$arguments);return new A.FunctionExpression(t.namespace,A.stringReplaceAllUnchecked(r,"_","-"),r,n,t.span)},visitInterpolatedFunctionExpression$1(e,t){return new A.InterpolatedFunctionExpression(this.visitInterpolation$1(t.name),this.visitArgumentList$1(t.$arguments),t.span)},visitLegacyIfExpression$1(e,t){return new A.LegacyIfExpression(this.visitArgumentList$1(t.$arguments),t.span)},visitListExpression$1(e,t){var r=t.contents;return new A.ListExpression(A.List_List$unmodifiable(new A.MappedListIterable(r,new A.ReplaceExpressionVisitor_visitListExpression_closure(this),A._arrayInstanceType(r)._eval$1("MappedListIterable<1,Expression>")),D.Expression),t.separator,t.hasBrackets,t.span)},visitMapExpression$1(e,t){var r,n,i,o,s=A._setArrayType([],D.JSArray_Record_2_Expression_and_Expression);for(n=(r=t.pairs).length,i=0;i<n;++i)o=r[i],s.push(new A._Record_2(o._0.accept$1(this),o._1.accept$1(this)));return new A.MapExpression(A.List_List$unmodifiable(s,D.Record_2_Expression_and_Expression),t.span)},visitNullExpression$1:(e,t)=>t,visitNumberExpression$1:(e,t)=>t,visitParenthesizedExpression$1(e,t){return new A.ParenthesizedExpression(t.expression.accept$1(this),t.span)},visitSelectorExpression$1:(e,t)=>t,visitStringExpression$1(e,t){return new A.StringExpression(this.visitInterpolation$1(t.text),t.hasQuotes)},visitSupportsExpression$1(e,t){return new A.SupportsExpression(this.visitSupportsCondition$1(t.condition))},visitUnaryOperationExpression$1(e,t){return new A.UnaryOperationExpression(t.operator,t.operand.accept$1(this),t.span)},visitValueExpression$1:(e,t)=>t,visitVariableExpression$1:(e,t)=>t,visitIfConditionParenthesized$1(e,t){return new A.IfConditionParenthesized(t.expression.accept$1(this),t.span)},visitIfConditionNegation$1(e,t){return new A.IfConditionNegation(t.expression.accept$1(this),t.span)},visitIfConditionOperation$1(e,t){var r=t.expressions;return A.IfConditionOperation$(new A.MappedListIterable(r,new A.ReplaceExpressionVisitor_visitIfConditionOperation_closure(this),A._arrayInstanceType(r)._eval$1("MappedListIterable<1,IfConditionExpression>")),t.op)},visitIfConditionFunction$1(e,t){return new A.IfConditionFunction(this.visitInterpolation$1(t.name),this.visitInterpolation$1(t.$arguments),t.span)},visitIfConditionSass$1(e,t){return new A.IfConditionSass(t.expression.accept$1(this),t.span)},visitIfConditionRaw$1(e,t){return new A.IfConditionRaw(this.visitInterpolation$1(t.text))},visitArgumentList$1(e){var t=this,r=e.positional,n=D.String,i=D.Expression,o=A.LinkedHashMap_LinkedHashMap$_empty(n,i);for(n=(n=A.MapExtensions_get_pairs(e.named,n,i)).get$iterator(n);n.moveNext$0();)i=n.get$current(n),o.$indexSet(0,i._0,i._1.accept$1(t));return n=null==(n=e.rest)?null:n.accept$1(t),i=null==(i=e.keywordRest)?null:i.accept$1(t),A.ArgumentList$(new A.MappedListIterable(r,new A.ReplaceExpressionVisitor_visitArgumentList_closure(t),A._arrayInstanceType(r)._eval$1("MappedListIterable<1,Expression>")),o,e.namedSpans,e.span,i,n)},visitSupportsCondition$1(e){var t=this;if(e instanceof A.SupportsOperation)return new A.SupportsOperation(t.visitSupportsCondition$1(e.left),t.visitSupportsCondition$1(e.right),e.operator,e.span);if(e instanceof A.SupportsNegation)return new A.SupportsNegation(t.visitSupportsCondition$1(e.condition),e.span);if(e instanceof A.SupportsInterpolation)return new A.SupportsInterpolation(e.expression.accept$1(t),e.span);if(e instanceof A.SupportsDeclaration)return new A.SupportsDeclaration(e.name.accept$1(t),e.value.accept$1(t),e.span);throw A.wrapException(A.SassException$("BUG: Unknown SupportsCondition "+e.toString$0(0)+".",e.get$span(e),null))},visitInterpolation$1(e){var t=e.contents;return A.Interpolation$(new A.MappedListIterable(t,new A.ReplaceExpressionVisitor_visitInterpolation_closure(this),A._arrayInstanceType(t)._eval$1("MappedListIterable<1,Object>")),e.spans,e.span)}},A.ReplaceExpressionVisitor_visitListExpression_closure.prototype={call$1(e){return e.accept$1(this.$this)},$signature:194},A.ReplaceExpressionVisitor_visitIfConditionOperation_closure.prototype={call$1(e){return e.accept$1(this.$this)},$signature:279},A.ReplaceExpressionVisitor_visitArgumentList_closure.prototype={call$1(e){return e.accept$1(this.$this)},$signature:194},A.ReplaceExpressionVisitor_visitInterpolation_closure.prototype={call$1(e){return e instanceof A.Expression?e.accept$1(this.$this):e},$signature:75},A.SelectorSearchVisitor.prototype={visitAttributeSelector$1:(e,t)=>null,visitClassSelector$1:(e,t)=>null,visitIDSelector$1:(e,t)=>null,visitParentSelector$1:(e,t)=>null,visitPlaceholderSelector$1:(e,t)=>null,visitTypeSelector$1:(e,t)=>null,visitUniversalSelector$1:(e,t)=>null,visitComplexSelector$1(e){return A.IterableExtension_search(e.components,new A.SelectorSearchVisitor_visitComplexSelector_closure(this))},visitCompoundSelector$1(e){return A.IterableExtension_search(e.components,new A.SelectorSearchVisitor_visitCompoundSelector_closure(this))},visitPseudoSelector$1(e,t){return A.NullableExtension_andThen(t.selector,this.get$visitSelectorList())},visitSelectorList$1(e){return A.IterableExtension_search(e.components,this.get$visitComplexSelector())}},A.SelectorSearchVisitor_visitComplexSelector_closure.prototype={call$1(e){return this.$this.visitCompoundSelector$1(e.selector)},$signature(){return A._instanceType(this.$this)._eval$1("SelectorSearchVisitor.T?(ComplexSelectorComponent)")}},A.SelectorSearchVisitor_visitCompoundSelector_closure.prototype={call$1(e){return e.accept$1(this.$this)},$signature(){return A._instanceType(this.$this)._eval$1("SelectorSearchVisitor.T?(SimpleSelector)")}},A.serialize_closure.prototype={call$1:e=>e>127,$signature:50},A._SerializeVisitor.prototype={visitCssStylesheet$1(e){var t,r,n,i,o,s,a,l,c=this;for(t=w.get$iterator$ax(e.get$children(e)),r=!c._inspect,i=!(n=c._style===C.OutputStyle_1),o=D.CssParentNode,s=c._serialize$_buffer,a=null;t.moveNext$0();)l=t.get$current(t),!!r&&(n?l.accept$1(C._IsInvisibleVisitor_true_true):l.accept$1(C._IsInvisibleVisitor_true_false))||(null!=a&&((o._is(a)?!a.get$isChildless():a instanceof A.ModifiableCssComment)||s.writeCharCode$1(59),c._isTrailingComment$2(l,a)?i&&s.writeCharCode$1(32):(i&&s.write$1(0,"\n"),a.get$isGroupEnd()&&i&&s.write$1(0,"\n"))),l.accept$1(c),a=l);(t=null!=a&&((o._is(a)?a.get$isChildless():!(a instanceof A.ModifiableCssComment))&&i))&&s.writeCharCode$1(59)},visitCssComment$1(e){this._serialize$_buffer.forSpan$2(e.span,new A._SerializeVisitor_visitCssComment_closure(this,e))},visitCssAtRule$1(e){var t,r=this;r._writeIndentation$0(),(t=r._serialize$_buffer).forSpan$2(e.span,new A._SerializeVisitor_visitCssAtRule_closure(r,e)),e.isChildless||(r._style!==C.OutputStyle_1&&t.writeCharCode$1(32),r._serialize$_visitChildren$1(e))},visitCssMediaRule$1(e){var t,r=this;r._writeIndentation$0(),(t=r._serialize$_buffer).forSpan$2(e.span,new A._SerializeVisitor_visitCssMediaRule_closure(r,e)),r._style!==C.OutputStyle_1&&t.writeCharCode$1(32),r._serialize$_visitChildren$1(e)},visitCssImport$1(e){this._writeIndentation$0(),this._serialize$_buffer.forSpan$2(e.span,new A._SerializeVisitor_visitCssImport_closure(this,e))},_writeImportUrl$1(e){var t,r,n=this;n._style===C.OutputStyle_1&&117===e.charCodeAt(0)?39===(r=(t=C.JSString_methods.substring$2(e,4,e.length-1)).charCodeAt(0))||34===r?n._serialize$_buffer.write$1(0,t):n._visitQuotedString$1(t):n._serialize$_buffer.write$1(0,e)},visitCssKeyframeBlock$1(e){var t,r=this;r._writeIndentation$0(),(t=r._serialize$_buffer).forSpan$2(e.selector.span,new A._SerializeVisitor_visitCssKeyframeBlock_closure(r,e)),r._style!==C.OutputStyle_1&&t.writeCharCode$1(32),r._serialize$_visitChildren$1(e)},_visitMediaQuery$1(e){var t,r,n,i,o,s,a=this,l=e.modifier;null!=l&&((t=a._serialize$_buffer).write$1(0,l),t.writeCharCode$1(32)),null!=(r=e.type)&&((t=a._serialize$_buffer).write$1(0,r),0!==e.conditions.length&&t.write$1(0," and ")),(t=1===(n=e.conditions).length&&C.JSString_methods.startsWith$1(n[0],"(not "))?((t=a._serialize$_buffer).write$1(0,"not "),i=C.JSArray_methods.get$first(n),t.write$1(0,C.JSString_methods.substring$2(i,5,i.length-1))):(o=e.conjunction?"and":"or",t=a._style===C.OutputStyle_1?o+" ":" "+o+" ",s=a._serialize$_buffer,a._writeBetween$3(n,t,s.get$write(s)))},visitCssStyleRule$1(e){var t,r=this;r._writeIndentation$0(),(t=r._serialize$_buffer).forSpan$2(e._style_rule$_selector._box$_inner.value.span,new A._SerializeVisitor_visitCssStyleRule_closure(r,e)),r._style!==C.OutputStyle_1&&t.writeCharCode$1(32),r._serialize$_visitChildren$1(e)},visitCssSupportsRule$1(e){var t,r=this;r._writeIndentation$0(),(t=r._serialize$_buffer).forSpan$2(e.span,new A._SerializeVisitor_visitCssSupportsRule_closure(r,e)),r._style!==C.OutputStyle_1&&t.writeCharCode$1(32),r._serialize$_visitChildren$1(e)},visitCssDeclaration$1(e){var t,r,n,i,o,s=this;if(s._writeIndentation$0(),s._serialize$_write$1(e.name),(o=s._serialize$_buffer).writeCharCode$1(58),e.parsedAsSassScript){s._style!==C.OutputStyle_1&&o.writeCharCode$1(32);try{o.forSpan$2(e.valueSpanForMap,new A._SerializeVisitor_visitCssDeclaration_closure0(s,e))}catch(s){if((o=A.unwrapException(s))instanceof A.MultiSpanSassScriptException)t=o,r=A.getTraceFromException(s),A.throwWithTrace(A.MultiSpanSassException$(t.message,e.value.span,t.primaryLabel,t.secondarySpans,null),t,r);else{if(!(o instanceof A.SassScriptException))throw s;n=o,i=A.getTraceFromException(s),o=n.message,A.throwWithTrace(new A.SassException(C.Set_empty,o,e.value.span),n,i)}}}else o.forSpan$2(e.value.span,new A._SerializeVisitor_visitCssDeclaration_closure(s,e))},_writeFoldedValue$1(e){var t,r,n,i,o=A.StringScanner$(D.SassString._as(e.value.value)._string$_text,null,null);for(t=o.string.length,r=this._serialize$_buffer;o._string_scanner$_position!==t;)if(10===(n=o.readChar$0()))for(r.writeCharCode$1(32);32===(i=o.peekChar$0())||9===i||10===i||13===i||12===i;)o.readChar$0();else r.writeCharCode$1(n)},_writeReindentedValue$1(e){var t,r,n=this,i=D.SassString._as(e.value.value)._string$_text;null!=(t=n._minimumIndentation$1(i))?-1!==t?(r=(r=e.name.span).get$start(r),n._writeWithIndent$2(i,Math.min(t,r.file.getColumn$1(r.offset)))):((r=n._serialize$_buffer).write$1(0,A.trimAsciiRight(i,!0)),r.writeCharCode$1(32)):n._serialize$_buffer.write$1(0,i)},_minimumIndentation$1(e){for(var t,r,n,i,o,s=A.LineScanner$(e),a=s.string.length;s._string_scanner$_position!==a?(t=s.super$StringScanner$readChar(),s._adjustLineAndColumn$1(t),r=10!==t):r=!1,r;);if(s._string_scanner$_position===a)return 10===s.peekChar$1(-1)?-1:null;for(n=null;s._string_scanner$_position!==a;){for(;s._string_scanner$_position!==a&&(32===(i=s.peekChar$0())||9===i);)s._adjustLineAndColumn$1(s.super$StringScanner$readChar());if(s._string_scanner$_position!==a&&!s.scanChar$1(10))for(o=s._line_scanner$_column,n=null==n?o:Math.min(n,o);s._string_scanner$_position!==a?(t=s.super$StringScanner$readChar(),s._adjustLineAndColumn$1(t),r=10!==t):r=!1,r;);}return null==n?-1:n},_writeWithIndent$2(e,t){var r,n,i,o,s,a,l,c=A.LineScanner$(e);for(n=(r=c.string).length,i=this._serialize$_buffer;c._string_scanner$_position!==n&&(o=c.super$StringScanner$readChar(),c._adjustLineAndColumn$1(o),10!==o);)i.writeCharCode$1(o);for(;;){for(s=c._string_scanner$_position,a=1;;){if(c._string_scanner$_position===n)return void i.writeCharCode$1(32);if(o=c.super$StringScanner$readChar(),c._adjustLineAndColumn$1(o),32!==o&&9!==o){if(10!==o)break;s=c._string_scanner$_position,++a}}for(this._writeTimes$2(10,a),this._writeIndentation$0(),l=c._string_scanner$_position,i.write$1(0,C.JSString_methods.substring$2(r,s+t,l));;){if(c._string_scanner$_position===n)return;if(o=c.super$StringScanner$readChar(),c._adjustLineAndColumn$1(o),10===o)break;i.writeCharCode$1(o)}}},visitCalculation$1(e){var t,r=this,n=r._serialize$_buffer;n.write$1(0,e.name),n.writeCharCode$1(40),t=r._style===C.OutputStyle_1?",":", ",r._writeBetween$3(e.$arguments,t,r.get$_writeCalculationValue()),n.writeCharCode$1(41)},_writeCalculationValue$1(e){var t,r,n,i,o,s,a,l,c,u,d,h=this;!(t=e instanceof A.SassNumber)||isFinite(e._number$_value)?t&&e.get$hasComplexUnits()?(h._writeNumber$1(e._number$_value),(n=e.get$numeratorUnits(e)).length>=1?(i=n[0],o=C.JSArray_methods.sublist$1(n,1),h._serialize$_buffer.write$1(0,i),h._writeCalculationUnits$2(o,e.get$denominatorUnits(e))):h._writeCalculationUnits$2(A._setArrayType([],D.JSArray_String),e.get$denominatorUnits(e))):e instanceof A.Value?e.accept$1(h):(s=null,a=null,(t=e instanceof A.CalculationOperation)?(l=e._operator,s=e._left,a=e._right):l=null,t&&((c=s instanceof A.CalculationOperation&&s._operator.precedence<l.precedence)&&h._serialize$_buffer.writeCharCode$1(40),h._writeCalculationValue$1(s),c&&h._serialize$_buffer.writeCharCode$1(41),(u=h._style!==C.OutputStyle_1||1===l.precedence)&&h._serialize$_buffer.writeCharCode$1(32),(t=h._serialize$_buffer).write$1(0,l.operator),u&&t.writeCharCode$1(32),a instanceof A.CalculationOperation&&h._parenthesizeCalculationRhs$2(l,a._operator)?d=!0:(d=!1,l===C.CalculationOperator_wFL&&(d=a instanceof A.SassNumber?isFinite(a._number$_value)?a.get$hasComplexUnits():a.get$hasUnits():d)),d&&t.writeCharCode$1(40),h._writeCalculationValue$1(a),d&&t.writeCharCode$1(41))):(1/0!==(r=e._number$_value)?-1/0!==r?isNaN(r)&&h._serialize$_buffer.write$1(0,"NaN"):h._serialize$_buffer.write$1(0,"-infinity"):h._serialize$_buffer.write$1(0,"infinity"),h._writeCalculationUnits$2(e.get$numeratorUnits(e),e.get$denominatorUnits(e)))},_writeCalculationUnits$2(e,t){var r,n,i,o;for(r=w.get$iterator$ax(e),n=this._serialize$_buffer,i=this._style!==C.OutputStyle_1;r.moveNext$0();)o=r.get$current(r),i&&n.writeCharCode$1(32),n.writeCharCode$1(42),i&&n.writeCharCode$1(32),n.writeCharCode$1(49),n.write$1(0,o);for(r=w.get$iterator$ax(t);r.moveNext$0();)o=r.get$current(r),i&&n.writeCharCode$1(32),n.writeCharCode$1(47),i&&n.writeCharCode$1(32),n.writeCharCode$1(49),n.write$1(0,o)},_parenthesizeCalculationRhs$2:(e,t)=>C.CalculationOperator_wFL===e||C.CalculationOperator_dpX!==e&&(t===C.CalculationOperator_dpX||t===C.CalculationOperator_KrC),visitColor$1(e){var t,r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b=this,y=null;t=e._space,n=y,i=!0,(r=C.RgbColorSpace_i0P===t)?(o=y,s=!1):(s=!(o=C.HslColorSpace_JQ2===t))&&(i=n=C.HwbColorSpace_guQ===t),i&&null!=e.channel0OrNull&&null!=e.channel1OrNull&&null!=e.channel2OrNull&&null!=e.alphaOrNull?b._writeLegacyColor$1(e):r?((i=b._serialize$_buffer).write$1(0,"rgb("),b._writeChannel$1(e.channel0OrNull),i.writeCharCode$1(32),b._writeChannel$1(e.channel1OrNull),i.writeCharCode$1(32),b._writeChannel$1(e.channel2OrNull),b._maybeWriteSlashAlpha$1(e),i.writeCharCode$1(41)):(i=!!o||(s?n:C.HwbColorSpace_guQ===t))?((i=b._serialize$_buffer).write$1(0,t),i.writeCharCode$1(40),a=b._style===C.OutputStyle_1?y:"deg",b._writeChannel$2(e.channel0OrNull,a),i.writeCharCode$1(32),b._writeChannel$2(e.channel1OrNull,"%"),i.writeCharCode$1(32),b._writeChannel$2(e.channel2OrNull,"%"),b._maybeWriteSlashAlpha$1(e),i.writeCharCode$1(41)):((l=C.LabColorSpace_2nT!==t)?i=c=C.LchColorSpace_Bpv===t:(c=y,i=!0),a=!1,i?b._inspect?i=a:(null==(i=e.channel0OrNull)&&(i=0),i=!(i=!!(i>0||A.fuzzyEquals(i,0))&&(i<100||A.fuzzyEquals(i,100)))&&null!=e.channel1OrNull&&null!=e.channel2OrNull):i=a,d=y,(u=!i)?(i=!1,m=!1,(a=!(p=!(h=C.OklabColorSpace_540===t))||(d=C.OklchColorSpace_9Gj===t))?b._inspect?a=m:(null==(a=e.channel0OrNull)&&(a=0),a=!(a=!!(a>0||A.fuzzyEquals(a,0))&&(a<1||A.fuzzyEquals(a,1)))&&null!=e.channel1OrNull&&null!=e.channel2OrNull):a=m,a?(_=l,i=!0):(l?(a=c,_=l):(a=c=C.LchColorSpace_Bpv===t,_=!0),a?a=!0:p?a=d:(a=d=C.OklchColorSpace_9Gj===t,p=!0),a&&(b._inspect||((a=null==(i=e.channel1OrNull))&&(i=0),i=i<0&&!A.fuzzyEquals(i,0)&&null!=e.channel0OrNull&&!a)))):(h=y,_=l,p=!1,i=!0),i?((i=b._serialize$_buffer).write$1(0,"color-mix(in "),i.write$1(0,t),a=b._style===C.OutputStyle_1,i.write$1(0,a?",":", "),b._writeColorFunction$1(e.toSpace$1(C.XyzD65ColorSpace_WiJ)),a||i.writeCharCode$1(32),i.write$1(0,"100%"),i.write$1(0,a?",":", "),i.write$1(0,a?"red":"black"),i.writeCharCode$1(41)):(i=!0,l&&((u?h:C.OklabColorSpace_540===t)||(_?c:C.LchColorSpace_Bpv===t)||(i=p?d:C.OklchColorSpace_9Gj===t)),i?((i=b._serialize$_buffer).write$1(0,t),i.writeCharCode$1(40),g=(a=t._channels)[2].isPolarAngle,m=!1,b._inspect||(null==(f=e.channel0OrNull)&&(f=0),(f=!!(f>0||A.fuzzyEquals(f,0))&&(f<100||A.fuzzyEquals(f,100)))?g&&(null==(m=e.channel1OrNull)&&(m=0),m=m<0&&!A.fuzzyEquals(m,0)):m=!0),m&&(i.write$1(0,"from "),i.write$1(0,b._style===C.OutputStyle_1?"red":"black"),i.writeCharCode$1(32)),f=(m=b._style!==C.OutputStyle_1)&&null!=e.channel0OrNull,v=e.channel0OrNull,f?(a=D.LinearChannel._as(a[0]),b._writeNumber$1(100*(null==v?0:v)/a.max),i.writeCharCode$1(37)):b._writeChannel$1(v),i.writeCharCode$1(32),b._writeChannel$1(e.channel1OrNull),i.writeCharCode$1(32),a=g&&m?"deg":y,b._writeChannel$2(e.channel2OrNull,a),b._maybeWriteSlashAlpha$1(e),i.writeCharCode$1(41)):b._writeColorFunction$1(e)))},_writeChannel$2(e,t){var r=this;null==e?r._serialize$_buffer.write$1(0,"none"):isFinite(e)?(r._writeNumber$1(e),null!=t&&r._serialize$_buffer.write$1(0,t)):r.visitNumber$1(A.SassNumber_SassNumber(e,t))},_writeChannel$1(e){return this._writeChannel$2(e,null)},_writeLegacyColor$1(e){var t,r,n,i,o,s,a,l,c,u,d,h,p,m=this,_=e.alphaOrNull,g=null==_,f=A.fuzzyEquals(g?0:_,1);if(e.get$isInGamut()||m._inspect){if(m._style===C.OutputStyle_1){if(t=e.toSpace$1(C.RgbColorSpace_i0P),f&&m._tryIntegerRgb$1(t))return;return r=t.channel0OrNull,n=m._writeNumberToString$1(null==r?0:r),r=t.channel1OrNull,i=m._writeNumberToString$1(null==r?0:r),r=t.channel2OrNull,o=m._writeNumberToString$1(null==r?0:r),r=(s=e.toSpace$1(C.HslColorSpace_JQ2)).channel0OrNull,a=m._writeNumberToString$1(null==r?0:r),r=s.channel1OrNull,l=m._writeNumberToString$1(null==r?0:r),r=s.channel2OrNull,c=m._writeNumberToString$1(null==r?0:r),r=m._serialize$_buffer,n.length+i.length+o.length<=a.length+l.length+c.length+2?(r.write$1(0,f?"rgb(":"rgba("),r.write$1(0,n),r.writeCharCode$1(44),r.write$1(0,i),r.writeCharCode$1(44),r.write$1(0,o)):(r.write$1(0,f?"hsl(":"hsla("),r.write$1(0,a),r.writeCharCode$1(44),r.write$1(0,l),r.write$1(0,"%,"),r.write$1(0,c),r.writeCharCode$1(37)),f||(r.writeCharCode$1(44),m._writeNumber$1(g?0:_)),void r.writeCharCode$1(41)}if((r=e._space)!==C.HslColorSpace_JQ2){if(m._inspect&&r===C.HwbColorSpace_guQ)return(r=m._serialize$_buffer).write$1(0,"hwb("),u=e.toSpace$1(C.HwbColorSpace_guQ),m._writeNumber$1(u.channel$1(0,"hue")),r.writeCharCode$1(32),m._writeNumber$1(u.channel$1(0,"whiteness")),r.writeCharCode$1(37),r.writeCharCode$1(32),m._writeNumber$1(u.channel$1(0,"blackness")),r.writeCharCode$1(37),A.fuzzyEquals(g?0:_,1)||(r.write$1(0," / "),m._writeNumber$1(g?0:_)),void r.writeCharCode$1(41);if(d=e.format,C.C__ColorFormatEnum!==d)if(h=(_=d instanceof A.SpanColorFormat)?d:null,_)m._serialize$_buffer.write$1(0,h._color$_span.get$text());else{if(f){if(t=e.toSpace$1(C.RgbColorSpace_i0P),null!=(p=I.$get$namesByColor().$index(0,t)))return void m._serialize$_buffer.write$1(0,p);if(m._canUseHex$1(t))return m._serialize$_buffer.writeCharCode$1(35),_=t.channel0OrNull,m._writeHexComponent$1(C.JSNumber_methods.round$0(null==_?0:_)),_=t.channel1OrNull,m._writeHexComponent$1(C.JSNumber_methods.round$0(null==_?0:_)),_=t.channel2OrNull,void m._writeHexComponent$1(C.JSNumber_methods.round$0(null==_?0:_))}r===C.HwbColorSpace_guQ?m._writeHsl$1(e):m._writeRgb$1(e)}else m._writeRgb$1(e)}else m._writeHsl$1(e)}else m._writeHsl$1(e)},_tryIntegerRgb$1(e){var t,r,n,i,o,s,a,l,c=this;return!!c._canUseHex$1(e)&&(t=e.channel0OrNull,r=C.JSNumber_methods.round$0(null==t?0:t),t=e.channel1OrNull,n=C.JSNumber_methods.round$0(null==t?0:t),t=e.channel2OrNull,i=C.JSNumber_methods.round$0(null==t?0:t),o=(t=15&r)===C.JSInt_methods._shrOtherPositive$1(r,4)&&(15&n)===C.JSInt_methods._shrOtherPositive$1(n,4)&&(15&i)===C.JSInt_methods._shrOtherPositive$1(i,4),a=!1,null!=(s=I.$get$namesByColor().$index(0,e))?(a=s.length<=(o?4:7),l=s):l=null,a?c._serialize$_buffer.write$1(0,l):(a=c._serialize$_buffer,o?(a.writeCharCode$1(35),a.writeCharCode$1(A.hexCharFor(t)),a.writeCharCode$1(A.hexCharFor(15&n)),a.writeCharCode$1(A.hexCharFor(15&i))):(a.writeCharCode$1(35),c._writeHexComponent$1(r),c._writeHexComponent$1(n),c._writeHexComponent$1(i))),!0)},_canUseHex$1(e){var t,r=e.channel0OrNull;return null==r&&(r=0),t=!1,(r=!!A.fuzzyIsInt(r)&&((r>0||A.fuzzyEquals(r,0))&&r<256&&!A.fuzzyEquals(r,256)))?(null==(r=e.channel1OrNull)&&(r=0),(r=!!A.fuzzyIsInt(r)&&((r>0||A.fuzzyEquals(r,0))&&r<256&&!A.fuzzyEquals(r,256)))?(null==(r=e.channel2OrNull)&&(r=0),r=A.fuzzyIsInt(r)?(r>0||A.fuzzyEquals(r,0))&&r<256&&!A.fuzzyEquals(r,256):t):r=t):r=t,r},_writeRgb$1(e){var t,r=this,n=e.alphaOrNull,i=null==n,o=A.fuzzyEquals(i?0:n,1),s=e.toSpace$1(C.RgbColorSpace_i0P),a=r._serialize$_buffer;a.write$1(0,o?"rgb(":"rgba("),r._writeNumber$1(s.channel$1(0,"red")),t=r._style===C.OutputStyle_1,a.write$1(0,t?",":", "),r._writeNumber$1(s.channel$1(0,"green")),a.write$1(0,t?",":", "),r._writeNumber$1(s.channel$1(0,"blue")),o||(a.write$1(0,t?",":", "),r._writeNumber$1(i?0:n)),a.writeCharCode$1(41)},_writeHsl$1(e){var t,r=this,n=e.alphaOrNull,i=null==n,o=A.fuzzyEquals(i?0:n,1),s=e.toSpace$1(C.HslColorSpace_JQ2),a=r._serialize$_buffer;a.write$1(0,o?"hsl(":"hsla("),r._writeChannel$1(s.channel$1(0,"hue")),t=r._style===C.OutputStyle_1,a.write$1(0,t?",":", "),r._writeChannel$2(s.channel$1(0,"saturation"),"%"),a.write$1(0,t?",":", "),r._writeChannel$2(s.channel$1(0,"lightness"),"%"),o||(a.write$1(0,t?",":", "),r._writeNumber$1(i?0:n)),a.writeCharCode$1(41)},_writeColorFunction$1(e){var t=this,r=t._serialize$_buffer;r.write$1(0,"color("),r.write$1(0,e._space),r.writeCharCode$1(32),t._writeBetween$3(e.get$channelsOrNull()," ",t.get$_writeChannel()),t._maybeWriteSlashAlpha$1(e),r.writeCharCode$1(41)},_writeHexComponent$1(e){var t=this._serialize$_buffer;t.writeCharCode$1(A.hexCharFor(C.JSInt_methods._shrOtherPositive$1(e,4))),t.writeCharCode$1(A.hexCharFor(15&e))},_maybeWriteSlashAlpha$1(e){var t,r,n=this,i=e.alphaOrNull;A.fuzzyEquals(null==i?0:i,1)||((t=n._style!==C.OutputStyle_1)&&n._serialize$_buffer.writeCharCode$1(32),(r=n._serialize$_buffer).writeCharCode$1(47),t&&r.writeCharCode$1(32),n._writeChannel$1(i))},visitList$1(e){var t,r,n,i,o,s=this,a=e._hasBrackets;if(a)s._serialize$_buffer.writeCharCode$1(91);else if(0===e._list$_contents.length){if(!s._inspect)throw A.wrapException(A.SassScriptException$("() isn't a valid CSS value.",null));return void s._serialize$_buffer.write$1(0,"()")}r=!1,(t=s._inspect)&&1===e._list$_contents.length&&(r=n=(n=e._separator)===C.ListSeparator_z0K||n===C.ListSeparator_Lul),r&&!a&&s._serialize$_buffer.writeCharCode$1(40),n=e._list$_contents,n=t?n:new A.WhereIterable(n,new A._SerializeVisitor_visitList_closure,A._arrayInstanceType(n)._eval$1("WhereIterable<1>")),i=e._separator,o=s._separatorString$1(i),s._writeBetween$3(n,o,t?new A._SerializeVisitor_visitList_closure0(s,e):new A._SerializeVisitor_visitList_closure1(s)),r&&((t=s._serialize$_buffer).write$1(0,i.separator),a||t.writeCharCode$1(41)),a&&s._serialize$_buffer.writeCharCode$1(93)},_separatorString$1(e){return C.ListSeparator_z0K!==e?C.ListSeparator_Lul!==e?C.ListSeparator_SrV!==e?"":" ":this._style===C.OutputStyle_1?"/":" / ":this._style===C.OutputStyle_1?",":", "},_elementNeedsParens$2(e,t){var r;return r=t instanceof A.SassList&&t._list$_contents.length>1&&!t._hasBrackets&&(C.ListSeparator_z0K!==e?C.ListSeparator_Lul!==e?t._separator!==C.ListSeparator_undecided_null_3_undecided:(r=t._separator)===C.ListSeparator_z0K||r===C.ListSeparator_Lul:t._separator===C.ListSeparator_z0K)},visitMap$1(e){var t,r,n=this;if(!n._inspect)throw A.wrapException(A.SassScriptException$(e.toString$0(0)+" isn't a valid CSS value.",null));(t=n._serialize$_buffer).writeCharCode$1(40),r=e._map$_contents,n._writeBetween$3(r.get$entries(r),", ",new A._SerializeVisitor_visitMap_closure(n)),t.writeCharCode$1(41)},_writeMapElement$1(e){var t=e instanceof A.SassList&&e._separator===C.ListSeparator_z0K&&!e._hasBrackets;t&&this._serialize$_buffer.writeCharCode$1(40),e.accept$1(this),t&&this._serialize$_buffer.writeCharCode$1(41)},visitNumber$1(e){var t,r,n,i,o=this,s=e.asSlash;if(D.Record_2_nullable_Object_and_nullable_Object._is(s))return t=s._0,r=s._1,o.visitNumber$1(t),o._serialize$_buffer.writeCharCode$1(47),void o.visitNumber$1(r);n=e._number$_value,isFinite(n)?e.get$hasComplexUnits()?o.visitCalculation$1(new A.SassCalculation("calc",A.List_List$unmodifiable(A._setArrayType([e],D.JSArray_Object),D.Object))):(o._writeNumber$1(n),1===(i=e.get$numeratorUnits(e)).length&&o._serialize$_buffer.write$1(0,i[0])):o.visitCalculation$1(new A.SassCalculation("calc",A.List_List$unmodifiable(A._setArrayType([e],D.JSArray_Object),D.Object)))},_writeNumberToString$1(e){var t=new A.StringBuffer("");return this._writeNumber$2(e,new A.NoSourceMapBuffer(t)),(t=t._contents).charCodeAt(0),t},_writeNumber$2(e,t){var r,n,i,o,s=this;null==t&&(t=s._serialize$_buffer),n=!1,null!=(r=A.fuzzyAsInt(e))?(n=!s._inspect||e===r,i=r):i=null,n?t.write$1(0,s._removeExponent$1(w.toString$0$(i))):(o=s._removeExponent$1(C.JSNumber_methods.toString$0(e)),s._inspect?t.write$1(0,o):o.length<12?t.write$1(0,s._style===C.OutputStyle_1&&48===o.charCodeAt(0)?C.JSString_methods.substring$1(o,1):o):s._writeRounded$2(o,t))},_writeNumber$1(e){return this._writeNumber$2(e,null)},_removeExponent$1(e){for(var t,r,n,i,o=45===e.charCodeAt(0),s=A._Cell$(),a=e.length,l=0;;){if(!(l<a)){t=null;break}if(101===e.charCodeAt(l)){r=(t=new A.StringBuffer(""))._contents=A.Primitives_stringFromCharCode(e.charCodeAt(0)),o?(r+=A.Primitives_stringFromCharCode(e.charCodeAt(1)),t._contents=r,l>3&&(t._contents=r+C.JSString_methods.substring$2(e,3,l))):l>2&&(t._contents=r+C.JSString_methods.substring$2(e,2,l)),s.__late_helper$_value=A.int_parse(C.JSString_methods.substring$2(e,l+1,a),null);break}++l}if(null==t)return e;if(s._readLocal$0()>0){for(n=o?1:0,i=(a=s._readLocal$0())-((r=t._contents).length-1-n),a=r,l=0;l<i;++l)a=A.Primitives_stringFromCharCode(48),a=t._contents+=a;return a.charCodeAt(0),a}for(a=((o=45===e.charCodeAt(0))?A.Primitives_stringFromCharCode(45):"")+"0.",l=-1;(r=s.__late_helper$_value)===s&&A.throwExpression(A.LateError$localNI("")),l>r;)a+=A.Primitives_stringFromCharCode(48),--l;return o?(r=t._contents,r=C.JSString_methods.substring$1((r.charCodeAt(0),r),1)):r=t,(r=a+A.S(r)).charCodeAt(0),r},_writeRounded$2(e,t){var r,n,i,o,s,a,l,c,u,d,h,p;if(C.JSString_methods.endsWith$1(e,".0"))t.write$1(0,C.JSString_methods.substring$2(e,0,e.length-2));else{for(r=e.length,n=new Uint8Array(r+1),o=(i=45===e.charCodeAt(0))?1:0,s=1;;o=a,s=c){if(o===r)return void t.write$1(0,e);if(a=o+1,46===(l=e.charCodeAt(o))){o=a;break}c=s+1,n[s]=l-48}if((u=o+10)>=r)t.write$1(0,e);else{for(c=s;o<u;o=a,c=d)d=c+1,a=o+1,n[c]=e.charCodeAt(o)-48;if(e.charCodeAt(o)-48>=5)for(;h=n[d=c-1]+1,n[d]=h,10===h;c=d);for(;c<s;++c)n[c]=0;for(;(r=c>s)&&0===n[c-1];)--c;if(2!==c||0!==n[0]||0!==n[1]){for(i&&t.writeCharCode$1(45),p=0===n[0]?this._style===C.OutputStyle_1&&0===n[1]?2:1:0;p<s;++p)t.writeCharCode$1(48+n[p]);if(r)for(t.writeCharCode$1(46);p<c;++p)t.writeCharCode$1(48+n[p])}else t.writeCharCode$1(48)}}},_visitQuotedString$2$forceDoubleQuote(e,t){var r,n,i,o,s,a,l,c,u,d=this,h=t?d._serialize$_buffer:new A.StringBuffer("");for(t&&h.writeCharCode$1(34),r=e.length,n=!1,i=!1,o=0;o<r;++o)if((a=39===(s=e.charCodeAt(o)))&&t)h.writeCharCode$1(39);else{if(a&&i)return void d._visitQuotedString$2$forceDoubleQuote(e,!0);if(a)h.writeCharCode$1(39),n=!0;else if((l=34===s)&&t)h.writeCharCode$1(92),h.writeCharCode$1(34);else{if(l&&n)return void d._visitQuotedString$2$forceDoubleQuote(e,!0);l?(h.writeCharCode$1(34),i=!0):0!==s&&1!==s&&2!==s&&3!==s&&4!==s&&5!==s&&6!==s&&7!==s&&8!==s&&10!==s&&11!==s&&12!==s&&13!==s&&14!==s&&15!==s&&16!==s&&17!==s&&18!==s&&19!==s&&20!==s&&21!==s&&22!==s&&23!==s&&24!==s&&25!==s&&26!==s&&27!==s&&28!==s&&29!==s&&30!==s&&31!==s&&127!==s?92!==s?null!=(c=d._tryPrivateUseCharacter$4(h,s,e,o))?o=c:h.writeCharCode$1(s):(h.writeCharCode$1(92),h.writeCharCode$1(92)):d._writeEscape$4(h,s,e,o)}}t?h.writeCharCode$1(34):(u=i?39:34,(r=d._serialize$_buffer).writeCharCode$1(u),r.write$1(0,h),r.writeCharCode$1(u))},_visitQuotedString$1(e){return this._visitQuotedString$2$forceDoubleQuote(e,!1)},_visitUnquotedString$1(e){var t,r,n,i,o,s;for(t=e.length,r=this._serialize$_buffer,n=!1,i=0;i<t;++i)10!==(o=e.charCodeAt(i))?32!==o?(null!=(s=this._tryPrivateUseCharacter$4(r,o,e,i))?i=s:r.writeCharCode$1(o),n=!1):n||r.writeCharCode$1(32):(r.writeCharCode$1(32),n=!0)},_tryPrivateUseCharacter$4(e,t,r,n){var i;return this._style===C.OutputStyle_1?null:t>=57344&&t<=63743?(this._writeEscape$4(e,t,r,n),n):t>>>7==439&&r.length>n+1?(i=n+1,this._writeEscape$4(e,65536+((1023&t)<<10)+(1023&r.charCodeAt(i)),r,i),i):null},_writeEscape$4(e,t,r,n){var i,o;e.writeCharCode$1(92),e.write$1(0,C.JSInt_methods.toRadixString$1(t,16)),i=n+1,r.length!==i&&(o=r.charCodeAt(i),(A.CharacterExtension_get_isHex(o)||32===o||9===o)&&e.writeCharCode$1(32))},visitAttributeSelector$1(e,t){var r,n,i=this._serialize$_buffer;i.writeCharCode$1(91),i.write$1(0,t.name),null!=(r=t.value)&&(i.write$1(0,t.op),A.Parser_isIdentifier(r)&&!C.JSString_methods.startsWith$1(r,"--")?(i.write$1(0,r),null!=(n=t.modifier)&&i.writeCharCode$1(32)):(this._visitQuotedString$1(r),null!=(n=t.modifier)&&this._style!==C.OutputStyle_1&&i.writeCharCode$1(32)),A.NullableExtension_andThen(n,i.get$write(i))),i.writeCharCode$1(93)},visitClassSelector$1(e,t){var r=this._serialize$_buffer;r.writeCharCode$1(46),r.write$1(0,t.name)},visitComplexSelector$1(e){var t,r,n,i,o,s,a,l,c,u,d=this,h=e.leadingCombinators;for(d._writeCombinators$1(h),h.length>=1&&e.components.length>=1&&d._style!==C.OutputStyle_1&&d._serialize$_buffer.writeCharCode$1(32),r=(t=(h=e.components).length)-1,n=d._serialize$_buffer,o=!(i=d._style===C.OutputStyle_1),s=0;s<t;++s)a=h[s],d.visitCompoundSelector$1(a.selector),(c=0===(l=a.combinators).length)||o&&n.writeCharCode$1(32),u=i?"":" ",d._writeBetween$3(l,u,n.get$write(n)),(l=s!==r&&(!i||c))&&n.writeCharCode$1(32)},_writeCombinators$1(e){var t=this._style===C.OutputStyle_1?"":" ",r=this._serialize$_buffer;return this._writeBetween$3(e,t,r.get$write(r))},visitCompoundSelector$1(e){var t,r,n,i=this._serialize$_buffer,o=i.get$length(i);for(r=(t=e.components).length,n=0;n<r;++n)t[n].accept$1(this);i.get$length(i)===o&&i.writeCharCode$1(42)},visitIDSelector$1(e,t){var r=this._serialize$_buffer;r.writeCharCode$1(35),r.write$1(0,t.name)},visitSelectorList$1(e){var t,r,n,i,o,s=this,a=e.components;for(t=w.get$iterator$ax(s._inspect?a:new A.WhereIterable(a,new A._SerializeVisitor_visitSelectorList_closure,A._arrayInstanceType(a)._eval$1("WhereIterable<1>"))),r=s._style!==C.OutputStyle_1,n=s._serialize$_buffer,i=!0;t.moveNext$0();)o=t.get$current(t),i?i=!1:(n.writeCharCode$1(44),o.lineBreak?(r&&n.write$1(0,"\n"),s._writeIndentation$0()):r&&n.writeCharCode$1(32)),s.visitComplexSelector$1(o)},visitParentSelector$1(e,t){var r=this._serialize$_buffer;r.writeCharCode$1(38),A.NullableExtension_andThen(t.suffix,r.get$write(r))},visitPlaceholderSelector$1(e,t){var r=this._serialize$_buffer;r.writeCharCode$1(37),r.write$1(0,t.name)},visitPseudoSelector$1(e,t){var r,n,i=t.name,o=!1;"not"===i&&(r=t.selector)instanceof A.SelectorList&&(o=(null==r?D.SelectorList._as(r):r).accept$1(C._IsInvisibleVisitor_true)),o||((o=this._serialize$_buffer).writeCharCode$1(58),t.isSyntacticClass||o.writeCharCode$1(58),o.write$1(0,i),(n=null==(i=t.argument))&&null==t.selector||(o.writeCharCode$1(40),n||(o.write$1(0,i),null!=t.selector&&o.writeCharCode$1(32)),A.NullableExtension_andThen(t.selector,this.get$visitSelectorList()),o.writeCharCode$1(41)))},visitTypeSelector$1(e,t){this._serialize$_buffer.write$1(0,t.name)},visitUniversalSelector$1(e,t){var r,n=t.namespace;null!=n&&((r=this._serialize$_buffer).write$1(0,n),r.writeCharCode$1(124)),this._serialize$_buffer.writeCharCode$1(42)},_serialize$_write$1(e){return this._serialize$_buffer.forSpan$2(e.span,new A._SerializeVisitor__write_closure(this,e))},_serialize$_visitChildren$1(e){var t,r,n,i,o,s,a,l,c,u,d,h,p=this,m=p._serialize$_buffer;for(m.writeCharCode$1(123),r=(t=e.children).$ti,t=new A.ListIterator(t,t.get$length(0),r._eval$1("ListIterator<ListBase.E>")),i=!(n=p._style===C.OutputStyle_1),o=p.get$_requiresSemicolon(),s=!p._inspect,r=r._eval$1("ListBase.E"),a=null,l=null;t.moveNext$0();)u=null==(c=t.__internal$_current)?r._as(c):c,(c=!!s&&(n?u.accept$1(C._IsInvisibleVisitor_true_true):u.accept$1(C._IsInvisibleVisitor_true_false)))||(null!=(d=(c=null==l)?null:o.call$1(l))&&d&&m.writeCharCode$1(59),p._isTrailingComment$2(u,c?e:l)?(i&&m.writeCharCode$1(32),h=p._indentation,p._indentation=0,new A._SerializeVisitor__visitChildren_closure(p,u).call$0(),p._indentation=h):(i&&m.write$1(0,"\n"),++p._indentation,new A._SerializeVisitor__visitChildren_closure0(p,u).call$0(),--p._indentation),a=l,l=u);null!=l&&((D.CssParentNode._is(l)?!l.get$isChildless():l instanceof A.ModifiableCssComment)||!i||m.writeCharCode$1(59),null==a&&p._isTrailingComment$2(l,e)?i&&m.writeCharCode$1(32):(p._writeLineFeed$0(),p._writeIndentation$0())),m.writeCharCode$1(125)},_requiresSemicolon$1:e=>D.CssParentNode._is(e)?e.get$isChildless():!(e instanceof A.ModifiableCssComment),_isTrailingComment$2(e,t){var r,n,i,o,s,a,l;return this._style!==C.OutputStyle_1&&(e instanceof A.ModifiableCssComment&&(n=(r=e.span).get$sourceUrl(r),i=t.get$span(t),!!w.$eq$(n,i.get$sourceUrl(i))&&(n=t.get$span(t),w.$eq$(n.get$file(n).url,r.get$file(r).url)&&n.get$start(n).offset<=r.get$start(r).offset&&n.get$end(n).offset>=r.get$end(r).offset?(n=r.get$start(r),i=t.get$span(t),!((o=n.offset-i.get$start(i).offset-1)<0)&&(s=Math.max(0,C.JSString_methods.lastIndexOf$2(t.get$span(t).get$text(),"{",o)),n=(n=t.get$span(t)).get$file(n),i=(i=t.get$span(t)).get$start(i),a=t.get$span(t),l=n.span$2(0,i.offset,a.get$start(a).offset+s),(r=(r=r.get$start(r)).file.getLine$1(r.offset))===(a=A.FileLocation$_(l.file,l._end)).file.getLine$1(a.offset))):(r=(r=r.get$start(r)).file.getLine$1(r.offset))===(n=(n=t.get$span(t)).get$end(n)).file.getLine$1(n.offset))))},_writeLineFeed$0(){this._style!==C.OutputStyle_1&&this._serialize$_buffer.write$1(0,"\n")},_writeIndentation$0(){var e=this;e._style!==C.OutputStyle_1&&e._writeTimes$2(e._indentCharacter,e._indentation*e._indentWidth)},_writeTimes$2(e,t){var r,n;for(r=this._serialize$_buffer,n=0;n<t;++n)r.writeCharCode$1(e)},_writeBetween$1$3(e,t,r){var n,i,o,s;for(n=w.get$iterator$ax(e),i=this._serialize$_buffer,o=!0;n.moveNext$0();)s=n.get$current(n),o?o=!1:i.write$1(0,t),r.call$1(s)},_writeBetween$3(e,t,r){return this._writeBetween$1$3(e,t,r,D.dynamic)}},A._SerializeVisitor_visitCssComment_closure.prototype={call$0(){var e,t,r,n,i=this.$this;i._style===C.OutputStyle_1&&33!==this.node.text.charCodeAt(2)||(t=(e=this.node).text,C.JSString_methods.startsWith$1(t,A.RegExp_RegExp("/\\*# source(Mapping)?URL=",!1))||(null!=(r=i._minimumIndentation$1(t))?(e=(e=e.span).get$start(e),n=Math.min(r,e.file.getColumn$1(e.offset)),i._writeIndentation$0(),i._writeWithIndent$2(t,n)):(i._writeIndentation$0(),i._serialize$_buffer.write$1(0,t))))},$signature:1},A._SerializeVisitor_visitCssAtRule_closure.prototype={call$0(){var e,t,r=this.$this,n=r._serialize$_buffer;n.writeCharCode$1(64),e=this.node,r._serialize$_write$1(e.name),null!=(t=e.value)&&(n.writeCharCode$1(32),r._serialize$_write$1(t))},$signature:1};A._SerializeVisitor_visitCssMediaRule_closure.prototype={call$0(){var e,t,r,n,i=this.$this,o=i._serialize$_buffer;o.write$1(0,"@media"),e=this.node.queries,t=C.JSArray_methods.get$first(e),n=!0,(r=i._style===C.OutputStyle_1)&&null==t.modifier&&null==t.type&&(n=1===(n=t.conditions).length&&C.JSString_methods.startsWith$1(C.JSArray_methods.get$first(n),"(not ")),n&&o.writeCharCode$1(32),o=r?",":", ",i._writeBetween$3(e,o,i.get$_visitMediaQuery())},$signature:1},A._SerializeVisitor_visitCssImport_closure.prototype={call$0(){var e,t,r,n=this.$this,i=n._serialize$_buffer;i.write$1(0,"@import"),(e=n._style!==C.OutputStyle_1)&&i.writeCharCode$1(32),t=this.node,i.forSpan$2(t.url.span,new A._SerializeVisitor_visitCssImport__closure(n,t)),null!=(r=t.modifiers)&&(e&&i.writeCharCode$1(32),i.write$1(0,r))},$signature:1},A._SerializeVisitor_visitCssImport__closure.prototype={call$0(){return this.$this._writeImportUrl$1(this.node.url.value)},$signature:0},A._SerializeVisitor_visitCssKeyframeBlock_closure.prototype={call$0(){var e=this.$this,t=e._style===C.OutputStyle_1?",":", ",r=e._serialize$_buffer;return e._writeBetween$3(this.node.selector.value,t,r.get$write(r))},$signature:0},A._SerializeVisitor_visitCssStyleRule_closure.prototype={call$0(){return this.$this.visitSelectorList$1(this.node._style_rule$_selector._box$_inner.value)},$signature:0},A._SerializeVisitor_visitCssSupportsRule_closure.prototype={call$0(){var e=this.$this,t=e._serialize$_buffer;t.write$1(0,"@supports"),e._style===C.OutputStyle_1&&40===this.node.condition.value.charCodeAt(0)||t.writeCharCode$1(32),e._serialize$_write$1(this.node.condition)},$signature:1},A._SerializeVisitor_visitCssDeclaration_closure.prototype={call$0(){var e=this.$this,t=this.node;e._style===C.OutputStyle_1?e._writeFoldedValue$1(t):e._writeReindentedValue$1(t)},$signature:1},A._SerializeVisitor_visitCssDeclaration_closure0.prototype={call$0(){return this.node.value.value.accept$1(this.$this)},$signature:0},A._SerializeVisitor_visitList_closure.prototype={call$1:e=>!e.get$isBlank(),$signature:79},A._SerializeVisitor_visitList_closure0.prototype={call$1(e){var t=this.$this,r=t._elementNeedsParens$2(this.value._separator,e);r&&t._serialize$_buffer.writeCharCode$1(40),e.accept$1(t),r&&t._serialize$_buffer.writeCharCode$1(41)},$signature:58},A._SerializeVisitor_visitList_closure1.prototype={call$1(e){e.accept$1(this.$this)},$signature:58},A._SerializeVisitor_visitMap_closure.prototype={call$1(e){var t=this.$this;t._writeMapElement$1(e.key),t._serialize$_buffer.write$1(0,": "),t._writeMapElement$1(e.value)},$signature:284},A._SerializeVisitor_visitSelectorList_closure.prototype={call$1:e=>!e.accept$1(C._IsInvisibleVisitor_true),$signature:21},A._SerializeVisitor__write_closure.prototype={call$0(){return this.$this._serialize$_buffer.write$1(0,this.value.value)},$signature:0},A._SerializeVisitor__visitChildren_closure.prototype={call$0(){return this.child.accept$1(this.$this)},$signature:0},A._SerializeVisitor__visitChildren_closure0.prototype={call$0(){this.child.accept$1(this.$this)},$signature:0},A.OutputStyle.prototype={_enumToString$0(){return"OutputStyle."+this._name}},A.LineFeed.prototype={_enumToString$0(){return"LineFeed."+this._name},toString$0:e=>"lf"},A.StatementSearchVisitor.prototype={visitAtRootRule$1(e,t){return this.visitChildren$1(t.children)},visitAtRule$1(e,t){return A.NullableExtension_andThen(t.children,this.get$visitChildren())},visitContentBlock$1(e,t){return this.visitChildren$1(t.children)},visitContentRule$1:(e,t)=>null,visitDebugRule$1:(e,t)=>null,visitDeclaration$1(e,t){return A.NullableExtension_andThen(t.children,this.get$visitChildren())},visitEachRule$1(e,t){return this.visitChildren$1(t.children)},visitErrorRule$1:(e,t)=>null,visitExtendRule$1:(e,t)=>null,visitForRule$1(e,t){return this.visitChildren$1(t.children)},visitForwardRule$1:(e,t)=>null,visitFunctionRule$1(e,t){return this.visitChildren$1(t.children)},visitIfRule$1(e,t){var r=A.IterableExtension_search(t.clauses,new A.StatementSearchVisitor_visitIfRule_closure(this));return null==r?A.NullableExtension_andThen(t.lastClause,new A.StatementSearchVisitor_visitIfRule_closure0(this)):r},visitImportRule$1:(e,t)=>null,visitIncludeRule$1(e,t){return A.NullableExtension_andThen(t.content,this.get$visitContentBlock(this))},visitLoudComment$1:(e,t)=>null,visitMediaRule$1(e,t){return this.visitChildren$1(t.children)},visitMixinRule$1(e,t){return this.visitChildren$1(t.children)},visitReturnRule$1:(e,t)=>null,visitSilentComment$1:(e,t)=>null,visitStyleRule$1(e,t){return this.visitChildren$1(t.children)},visitStylesheet$1(e,t){return this.visitChildren$1(t.children)},visitSupportsRule$1(e,t){return this.visitChildren$1(t.children)},visitUseRule$1:(e,t)=>null,visitVariableDeclaration$1:(e,t)=>null,visitWarnRule$1:(e,t)=>null,visitWhileRule$1(e,t){return this.visitChildren$1(t.children)},visitChildren$1(e){return A.IterableExtension_search(e,new A.StatementSearchVisitor_visitChildren_closure(this))}},A.StatementSearchVisitor_visitIfRule_closure.prototype={call$1(e){return A.IterableExtension_search(e.children,new A.StatementSearchVisitor_visitIfRule__closure0(this.$this))},$signature(){return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(IfClause)")}},A.StatementSearchVisitor_visitIfRule__closure0.prototype={call$1(e){return e.accept$1(this.$this)},$signature(){return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)")}},A.StatementSearchVisitor_visitIfRule_closure0.prototype={call$1(e){return A.IterableExtension_search(e.children,new A.StatementSearchVisitor_visitIfRule__closure(this.$this))},$signature(){return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(ElseClause)")}},A.StatementSearchVisitor_visitIfRule__closure.prototype={call$1(e){return e.accept$1(this.$this)},$signature(){return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)")}},A.StatementSearchVisitor_visitChildren_closure.prototype={call$1(e){return e.accept$1(this.$this)},$signature(){return A._instanceType(this.$this)._eval$1("StatementSearchVisitor.T?(Statement)")}},A.Entry.prototype={compareTo$1(e,t){var r,n,i=this.target.compareTo$1(0,t.target);return 0!==i?i:(r=this.source,n=t.source,0!==(i=C.JSString_methods.compareTo$1(w.toString$0$(r.file.url),w.toString$0$(n.file.url)))?i:r.compareTo$1(0,n))},$isComparable:1},A.Mapping.prototype={},A.SingleMapping.prototype={toJson$1$includeSourceContents(e){var t,r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y,$,x,S=this,C=new A.StringBuffer("");for(r=(t=S.lines).length,n=0,i=0,o=0,s=0,a=0,l=0,c=!0,u=0;u<t.length;t.length===r||(0,A.throwConcurrentModificationError)(t),++u){if((h=(d=t[u]).line)>n){for(p=n;p<h;++p)C._contents+=";";n=h,i=0,c=!0}for(m=w.get$iterator$ax(d.entries);m.moveNext$0();i=g,c=!1)_=m.get$current(m),c||(C._contents+=","),g=_.column,f=A.encodeVlq(g-i),f=A.StringBuffer__writeAll(C._contents,f,""),C._contents=f,v=_.sourceUrlId,f=A.StringBuffer__writeAll(f,A.encodeVlq(v-a),""),C._contents=f,b=_.sourceLine,f=A.StringBuffer__writeAll(f,A.encodeVlq(b-o),""),C._contents=f,y=_.sourceColumn,f=A.StringBuffer__writeAll(f,A.encodeVlq(y-s),""),C._contents=f,null!=($=_.sourceNameId)?(C._contents=A.StringBuffer__writeAll(f,A.encodeVlq($-l),""),l=$,a=v,s=y,o=b):(a=v,s=y,o=b)}return null==(t=S.sourceRoot)&&(t=""),r=C._contents,x=A.LinkedHashMap_LinkedHashMap$_literal(["version",3,"sourceRoot",t,"sources",S.urls,"names",S.names,"mappings",(r.charCodeAt(0),r)],D.String,D.dynamic),null!=(t=S.targetUrl)&&x.$indexSet(0,"file",t),e&&(t=S.files,r=A._arrayInstanceType(t)._eval$1("MappedListIterable<1,String?>"),t=A.List_List$_of(new A.MappedListIterable(t,new A.SingleMapping_toJson_closure,r),r._eval$1("ListIterable.E")),x.$indexSet(0,"sourcesContent",t)),S.extensions.forEach$1(0,new A.SingleMapping_toJson_closure0(x)),x},toJson$0(){return this.toJson$1$includeSourceContents(!1)},toString$0(e){var t=this,r=A.getRuntimeTypeOfDartObject(t).toString$0(0)+" : [targetUrl: "+A.S(t.targetUrl)+", sourceRoot: "+A.S(t.sourceRoot)+", urls: "+A.S(t.urls)+", names: "+A.S(t.names)+", lines: "+A.S(t.lines)+"]";return r.charCodeAt(0),r}},A.SingleMapping_SingleMapping$fromEntries_closure.prototype={call$0(){return this.urls.__js_helper$_length},$signature:10},A.SingleMapping_SingleMapping$fromEntries_closure0.prototype={call$0(){return this.sourceEntry.source.file},$signature:285},A.SingleMapping_SingleMapping$fromEntries_closure1.prototype={call$1(e){return this.files.$index(0,e)},$signature:286},A.SingleMapping_toJson_closure.prototype={call$1:e=>null==e?null:A.String_String$fromCharCodes(C.NativeUint32List_methods.sublist$2(e._decodedChars,0,null),0,null),$signature:287},A.SingleMapping_toJson_closure0.prototype={call$2(e,t){return this.result.$indexSet(0,e,t),t},$signature:140},A.TargetLineEntry.prototype={toString$0(e){return A.getRuntimeTypeOfDartObject(this).toString$0(0)+": "+this.line+" "+A.S(this.entries)}},A.TargetEntry.prototype={toString$0(e){var t=this;return A.getRuntimeTypeOfDartObject(t).toString$0(0)+": ("+t.column+", "+t.sourceUrlId+", "+t.sourceLine+", "+t.sourceColumn+", "+A.S(t.sourceNameId)+")"}},A.SourceFile.prototype={get$length(e){return this._decodedChars.length},get$lines(){return this._lineStarts.length},SourceFile$_fromList$2$url(e,t){var r,n,i,o,s,a,l,c;for(n=(r=this._decodedChars).length,i=w.getInterceptor$asx(e),o=0|r.$flags,s=this._lineStarts,a=0;a<n;++a)l=i.$index(e,a),2&o&&A.throwUnsupportedOperation(r),r[a]=l,13===l&&((c=a+1)>=i.get$length(e)||10!==i.$index(e,c))&&(l=10),10===l&&s.push(a+1)},span$2(e,t,r){return A._FileSpan$(this,t,null==r?this._decodedChars.length:r)},span$1(e,t){return this.span$2(0,t,null)},getLine$1(e){var t,r=this;if(e<0)throw A.wrapException(A.RangeError$("Offset may not be negative, was "+e+"."));if(e>r._decodedChars.length)throw A.wrapException(A.RangeError$("Offset "+e+P.x20must_n+r.get$length(0)+"."));return t=r._lineStarts,e<C.JSArray_methods.get$first(t)?-1:e>=C.JSArray_methods.get$last(t)?t.length-1:r._isNearCachedLine$1(e)?((t=r._cachedLine).toString,t):r._cachedLine=r._binarySearch$1(e)-1},_isNearCachedLine$1(e){var t,r,n=this._cachedLine;return null!=n&&(!(e<(t=this._lineStarts)[n])&&(n>=(r=t.length)-1||e<t[n+1]||(n>=r-2||e<t[n+2])&&(this._cachedLine=n+1,!0)))},_binarySearch$1(e){var t,r,n=this._lineStarts,i=n.length-1;for(t=0;t<i;)n[r=t+C.JSInt_methods._tdivFast$1(i-t,2)]>e?i=r:t=r+1;return i},getColumn$1(e){var t,r,n=this;if(e<0)throw A.wrapException(A.RangeError$("Offset may not be negative, was "+e+"."));if(e>n._decodedChars.length)throw A.wrapException(A.RangeError$("Offset "+e+" must be not be greater than the number of characters in the file, "+n.get$length(0)+"."));if(t=n.getLine$1(e),(r=n._lineStarts[t])>e)throw A.wrapException(A.RangeError$("Line "+t+" comes after offset "+e+"."));return e-r},getOffset$1(e){var t,r,n,i;if(e<0)throw A.wrapException(A.RangeError$("Line may not be negative, was "+e+"."));if(e>=(r=(t=this._lineStarts).length))throw A.wrapException(A.RangeError$("Line "+e+" must be less than the number of lines in the file, "+this.get$lines()+"."));if(t=!((n=t[e])<=this._decodedChars.length)||(i=e+1)<r&&n>=t[i])throw A.wrapException(A.RangeError$("Line "+e+" doesn't have 0 columns."));return n}},A.FileLocation.prototype={get$sourceUrl(e){return this.file.url},get$line(){return this.file.getLine$1(this.offset)},get$column(){return this.file.getColumn$1(this.offset)},FileLocation$_$2(e,t){var r,n=this.offset;if(n<0)throw A.wrapException(A.RangeError$("Offset may not be negative, was "+n+"."));if(n>(r=this.file)._decodedChars.length)throw A.wrapException(A.RangeError$("Offset "+n+P.x20must_n+r.get$length(0)+"."))},pointSpan$0(){var e=this.offset;return A._FileSpan$(this.file,e,e)},get$offset(){return this.offset}},A._FileSpan.prototype={get$sourceUrl(e){return this.file.url},get$length(e){return this._end-this._file$_start},get$start(e){return A.FileLocation$_(this.file,this._file$_start)},get$end(e){return A.FileLocation$_(this.file,this._end)},get$text(){return A.String_String$fromCharCodes(C.NativeUint32List_methods.sublist$2(this.file._decodedChars,this._file$_start,this._end),0,null)},get$context(e){var t=this,r=t.file,n=t._end,i=r.getLine$1(n);if(0===r.getColumn$1(n)&&0!==i){if(n-t._file$_start===0)return i===r._lineStarts.length-1?"":A.String_String$fromCharCodes(C.NativeUint32List_methods.sublist$2(r._decodedChars,r.getOffset$1(i),r.getOffset$1(i+1)),0,null)}else n=i===r._lineStarts.length-1?r._decodedChars.length:r.getOffset$1(i+1);return A.String_String$fromCharCodes(C.NativeUint32List_methods.sublist$2(r._decodedChars,r.getOffset$1(r.getLine$1(t._file$_start)),n),0,null)},_FileSpan$3(e,t,r){var n,i=this._end,o=this._file$_start;if(i<o)throw A.wrapException(A.ArgumentError$("End "+i+" must come after start "+o+".",null));if(i>(n=this.file)._decodedChars.length)throw A.wrapException(A.RangeError$("End "+i+P.x20must_n+n.get$length(0)+"."));if(o<0)throw A.wrapException(A.RangeError$("Start may not be negative, was "+o+"."))},compareTo$1(e,t){var r;return t instanceof A._FileSpan?0===(r=C.JSInt_methods.compareTo$1(this._file$_start,t._file$_start))?C.JSInt_methods.compareTo$1(this._end,t._end):r:this.super$SourceSpanMixin$compareTo(0,t)},$eq(e,t){var r=this;return null!=t&&(D.FileSpan._is(t)?t instanceof A._FileSpan?r._file$_start===t._file$_start&&r._end===t._end&&w.$eq$(r.file.url,t.file.url):r.super$SourceSpanMixin$$eq(0,t)&&w.$eq$(r.file.url,t.get$sourceUrl(t)):r.super$SourceSpanMixin$$eq(0,t))},get$hashCode(e){return A.Object_hash(this._file$_start,this._end,this.file.url,C.C_SentinelValue)},expand$1(e,t){var r,n,i=this,o=i.file;if(!w.$eq$(o.url,t.get$sourceUrl(t)))throw A.wrapException(A.ArgumentError$('Source URLs "'+A.S(i.get$sourceUrl(0))+'" and  "'+A.S(t.get$sourceUrl(t))+"\" don't match.",null));return r=i._file$_start,n=i._end,t instanceof A._FileSpan?A._FileSpan$(o,Math.min(r,t._file$_start),Math.max(n,t._end)):A._FileSpan$(o,Math.min(r,t.get$start(t).offset),Math.max(n,t.get$end(t).offset))},$isFileSpan:1,$isSourceSpanWithContext:1,get$file(e){return this.file}},A.Highlighter.prototype={highlight$0(){var e,t,r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b=this,y=null,$=b._lines;for(b._writeFileStart$1(C.JSArray_methods.get$first($).url),e=b._maxMultilineSpans,t=A.List_List$filled(e,y,!1,D.nullable__Highlight),r=b._highlighter$_buffer,e=0!==e,n=b._primaryColor,i=0;i<$.length;++i){for(o=$[i],i>0&&(s=$[i-1],a=o.url,w.$eq$(s.url,a)?s.number+1!==o.number&&(b._writeSidebar$1$text("..."),r._contents+="\n"):(b._writeSidebar$1$end(I._glyphs.get$upEnd()),r._contents+="\n",b._writeFileStart$1(a))),a=o.highlights,l=A._arrayInstanceType(a)._eval$1("ReversedListIterable<1>"),c=new A.ReversedListIterable(a,l),c=new A.ListIterator(c,c.get$length(0),l._eval$1("ListIterator<ListIterable.E>")),l=l._eval$1("ListIterable.E"),u=o.number,d=o.text;c.moveNext$0();)null==(h=c.__internal$_current)&&(h=l._as(h)),(p=h.span).get$start(p).get$line()!==p.get$end(p).get$line()&&p.get$start(p).get$line()===u&&b._isOnlyWhitespace$1(C.JSString_methods.substring$2(d,0,p.get$start(p).get$column()))&&((m=C.JSArray_methods.indexOf$1(t,y))<0&&A.throwExpression(A.ArgumentError$(A.S(t)+" contains no null elements.",y)),t[m]=h);for(b._writeSidebar$1$line(u),r._contents+=" ",b._writeMultilineHighlights$2(o,t),e&&(r._contents+=" "),(l=null!=(g=-1===(_=C.JSArray_methods.indexWhere$1(a,new A.Highlighter_highlight_closure))?y:a[_]))?(h=(c=g.span).get$start(c).get$line()===u?c.get$start(c).get$column():0,b._writeHighlightedText$4$color(d,h,c.get$end(c).get$line()===u?c.get$end(c).get$column():d.length,n)):b._writeText$1(d),r._contents+="\n",l&&b._writeIndicator$3(o,g,t),l=a.length,f=0;f<a.length;a.length===l||(0,A.throwConcurrentModificationError)(a),++f)(v=a[f]).isPrimary||b._writeIndicator$3(o,v,t)}return b._writeSidebar$1$end(I._glyphs.get$upEnd()),($=r._contents).charCodeAt(0),$},_writeFileStart$1(e){var t=this,r=!t._multipleFiles||!D.Uri._is(e),n=I._glyphs;r?t._writeSidebar$1$end(n.get$downEnd()):(t._writeSidebar$1$end(n.get$topLeftCorner()),t._colorize$2$color(new A.Highlighter__writeFileStart_closure(t),""),r=t._highlighter$_buffer,n=" "+I.$get$context().prettyUri$1(e),r._contents+=n),t._highlighter$_buffer._contents+="\n"},_writeMultilineHighlights$3$current(e,t,r){var n,i,o,s,a,l,c,u,d,h,p,m,_,g=this,f={openedOnThisLine:!1,openedOnThisLineColor:null};for(i=(n=null==r)?null:r.isPrimary?g._primaryColor:g._secondaryColor,o=t.length,s=g._secondaryColor,n=!n,a=g._primaryColor,l=g._highlighter$_buffer,c=!1,u=0;u<o;++u)p=(h=null==(d=t[u]))?null:(m=d.span).get$start(m).get$line(),_=h?null:(m=d.span).get$end(m).get$line(),n&&d===r?(g._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure(g,p,e),i),c=!0):c?g._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure0(g,d),i):h?f.openedOnThisLine?g._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure1(g),f.openedOnThisLineColor):l._contents+=" ":(h=d.isPrimary?a:s,g._colorize$2$color(new A.Highlighter__writeMultilineHighlights_closure2(f,g,r,p,e,d,_),h))},_writeMultilineHighlights$2(e,t){return this._writeMultilineHighlights$3$current(e,t,null)},_writeHighlightedText$4$color(e,t,r,n){var i=this;i._writeText$1(C.JSString_methods.substring$2(e,0,t)),i._colorize$2$color(new A.Highlighter__writeHighlightedText_closure(i,e,t,r),n),i._writeText$1(C.JSString_methods.substring$2(e,r,e.length))},_writeIndicator$3(e,t,r){var n,i,o=this,s=t.isPrimary?o._primaryColor:o._secondaryColor,a=t.span;if(a.get$start(a).get$line()===a.get$end(a).get$line())o._writeSidebar$0(),(a=o._highlighter$_buffer)._contents+=" ",o._writeMultilineHighlights$3$current(e,r,t),0!==r.length&&(a._contents+=" "),o._writeLabel$3(t,r,o._colorize$2$color(new A.Highlighter__writeIndicator_closure(o,e,t),s));else if(n=e.number,a.get$start(a).get$line()===n){if(C.JSArray_methods.contains$1(r,t))return;A.replaceFirstNull(r,t),o._writeSidebar$0(),(a=o._highlighter$_buffer)._contents+=" ",o._writeMultilineHighlights$3$current(e,r,t),o._colorize$2$color(new A.Highlighter__writeIndicator_closure0(o,e,t),s),a._contents+="\n"}else if(a.get$end(a).get$line()===n){if((i=a.get$end(a).get$column()===e.text.length)&&null==t.label)return void A.replaceWithNull(r,t);o._writeSidebar$0(),o._highlighter$_buffer._contents+=" ",o._writeMultilineHighlights$3$current(e,r,t),o._writeLabel$3(t,r,o._colorize$2$color(new A.Highlighter__writeIndicator_closure1(o,i,e,t),s)),A.replaceWithNull(r,t)}},_writeArrow$3$beginning(e,t,r){var n,i=r?0:1,o=this._countTabs$1(C.JSString_methods.substring$2(e.text,0,t+i));i=this._highlighter$_buffer,n=C.JSString_methods.$mul(I._glyphs.get$horizontalLine(),1+t+3*o),i._contents=(i._contents+=n)+"^"},_writeArrow$2(e,t){return this._writeArrow$3$beginning(e,t,!0)},_writeLabel$3(e,t,r){var n,i,o,s,a,l,c,u,d,h,p=this,m=e.label;if(null!=m)for(n=A._setArrayType(m.split("\n"),D.JSArray_String),i=e.isPrimary?p._primaryColor:p._secondaryColor,p._colorize$2$color(new A.Highlighter__writeLabel_closure(p,n),i),(o=p._highlighter$_buffer)._contents+="\n",a=(s=A.SubListIterable$(n,1,null,D.String)).$ti,s=new A.ListIterator(s,s.get$length(0),a._eval$1("ListIterator<ListIterable.E>")),l=t.length,a=a._eval$1("ListIterable.E");s.moveNext$0();){for(null==(c=s.__internal$_current)&&(c=a._as(c)),p._writeSidebar$0(),u=o._contents+=" ",d=0;d<l;++d)null==(h=t[d])||h===e?(u+=" ",o._contents=u):(u=I._glyphs.get$verticalLine(),u=o._contents+=u);o._contents=u+C.JSString_methods.$mul(" ",r),p._colorize$2$color(new A.Highlighter__writeLabel_closure0(p,c),i),o._contents+="\n"}else p._highlighter$_buffer._contents+="\n"},_writeText$1(e){var t,r,n,i;for(t=new A.CodeUnits(e),r=D.CodeUnits,t=new A.ListIterator(t,t.get$length(0),r._eval$1("ListIterator<ListBase.E>")),n=this._highlighter$_buffer,r=r._eval$1("ListBase.E");t.moveNext$0();)null==(i=t.__internal$_current)&&(i=r._as(i)),9===i?n._contents+=C.JSString_methods.$mul(" ",4):(i=A.Primitives_stringFromCharCode(i),n._contents+=i)},_writeSidebar$3$end$line$text(e,t,r){var n={};n.text=r,null!=t&&(n.text=C.JSInt_methods.toString$0(t+1)),this._colorize$2$color(new A.Highlighter__writeSidebar_closure(n,this,e),"")},_writeSidebar$1$end(e){return this._writeSidebar$3$end$line$text(e,null,null)},_writeSidebar$1$text(e){return this._writeSidebar$3$end$line$text(null,null,e)},_writeSidebar$1$line(e){return this._writeSidebar$3$end$line$text(null,e,null)},_writeSidebar$0(){return this._writeSidebar$3$end$line$text(null,null,null)},_countTabs$1(e){var t,r,n,i;for(t=new A.CodeUnits(e),r=D.CodeUnits,t=new A.ListIterator(t,t.get$length(0),r._eval$1("ListIterator<ListBase.E>")),r=r._eval$1("ListBase.E"),n=0;t.moveNext$0();)9===(null==(i=t.__internal$_current)?r._as(i):i)&&++n;return n},_isOnlyWhitespace$1(e){var t,r,n;for(t=new A.CodeUnits(e),r=D.CodeUnits,t=new A.ListIterator(t,t.get$length(0),r._eval$1("ListIterator<ListBase.E>")),r=r._eval$1("ListBase.E");t.moveNext$0();)if(null==(n=t.__internal$_current)&&(n=r._as(n)),32!==n&&9!==n)return!1;return!0},_colorize$1$2$color(e,t){var r,n=null!=this._primaryColor;return n&&null!=t&&(this._highlighter$_buffer._contents+=t),r=e.call$0(),n&&null!=t&&(this._highlighter$_buffer._contents+=""),r},_colorize$2$color(e,t){return this._colorize$1$2$color(e,t,D.dynamic)}},A.Highlighter_closure.prototype={call$0(){var e=this.color,t=w.getInterceptor$(e);return t.$eq(e,!0)?"":t.$eq(e,!1)?null:A._asStringQ(e)},$signature:47},A.Highlighter$__closure.prototype={call$1(e){var t=e.highlights;return new A.WhereIterable(t,new A.Highlighter$___closure,A._arrayInstanceType(t)._eval$1("WhereIterable<1>")).get$length(0)},$signature:288},A.Highlighter$___closure.prototype={call$1(e){var t=e.span;return t.get$start(t).get$line()!==t.get$end(t).get$line()},$signature:122},A.Highlighter$__closure0.prototype={call$1:e=>e.url,$signature:290},A.Highlighter__collateLines_closure.prototype={call$1(e){var t=e.span;return null==(t=t.get$sourceUrl(t))?new A.Object:t},$signature:291},A.Highlighter__collateLines_closure0.prototype={call$2:(e,t)=>e.span.compareTo$1(0,t.span),$signature:292},A.Highlighter__collateLines_closure1.prototype={call$1(e){var t,r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f=e.key,v=e.value,b=A._setArrayType([],D.JSArray__Line);for(r=(t=w.getInterceptor$ax(v)).get$iterator(v),n=D.JSArray__Highlight;r.moveNext$0();)for(o=(i=r.get$current(r).span).get$context(i),(s=A.findLineStart(o,i.get$text(),i.get$start(i).get$column())).toString,a=C.JSString_methods.allMatches$1("\n",C.JSString_methods.substring$2(o,0,s)).get$length(0),l=i.get$start(i).get$line()-a,s=(i=o.split("\n")).length,c=0;c<s;++c)u=i[c],(0===b.length||l>C.JSArray_methods.get$last(b).number)&&b.push(new A._Line(u,l,f,A._setArrayType([],n))),++l;for(d=A._setArrayType([],n),r=b.length,h=0|d.$flags,p=0,c=0;c<b.length;b.length===r||(0,A.throwConcurrentModificationError)(b),++c){for(u=b[c],1&h&&A.throwUnsupportedOperation(d,16),C.JSArray_methods._removeWhere$2(d,new A.Highlighter__collateLines__closure(u),!0),m=d.length,i=(n=t.skip$1(v,p)).$ti,n=new A.ListIterator(n,n.get$length(0),i._eval$1("ListIterator<ListIterable.E>")),s=u.number,i=i._eval$1("ListIterable.E");n.moveNext$0()&&(null==(_=n.__internal$_current)&&(_=i._as(_)),!((g=_.span).get$start(g).get$line()>s));)d.push(_);p+=d.length-m,C.JSArray_methods.addAll$1(u.highlights,d)}return b},$signature:293},A.Highlighter__collateLines__closure.prototype={call$1(e){var t=e.span;return t.get$end(t).get$line()<this.line.number},$signature:122},A.Highlighter_highlight_closure.prototype={call$1:e=>e.isPrimary,$signature:122},A.Highlighter__writeFileStart_closure.prototype={call$0(){var e=this.$this._highlighter$_buffer,t=C.JSString_methods.$mul(I._glyphs.get$horizontalLine(),2)+">";return e._contents+=t,null},$signature:0},A.Highlighter__writeMultilineHighlights_closure.prototype={call$0(){var e=this.$this._highlighter$_buffer,t=I._glyphs;t=this.startLine===this.line.number?t.get$topLeftCorner():t.get$bottomLeftCorner(),e._contents+=t},$signature:1},A.Highlighter__writeMultilineHighlights_closure0.prototype={call$0(){var e=this.$this._highlighter$_buffer,t=I._glyphs;t=null==this.highlight?t.get$horizontalLine():t.get$cross(),e._contents+=t},$signature:1},A.Highlighter__writeMultilineHighlights_closure1.prototype={call$0(){var e=this.$this._highlighter$_buffer,t=I._glyphs.get$horizontalLine();return e._contents+=t,null},$signature:0},A.Highlighter__writeMultilineHighlights_closure2.prototype={call$0(){var e=this,t=e._box_0,r=t.openedOnThisLine,n=I._glyphs,i=r?n.get$cross():n.get$verticalLine();null!=e.current?e.$this._highlighter$_buffer._contents+=i:(n=(r=e.line).number,e.startLine===n?((r=e.$this)._colorize$2$color(new A.Highlighter__writeMultilineHighlights__closure(t,r),t.openedOnThisLineColor),t.openedOnThisLine=!0,null==t.openedOnThisLineColor&&(t.openedOnThisLineColor=e.highlight.isPrimary?r._primaryColor:r._secondaryColor)):(r=e.endLine===n&&(n=e.highlight.span).get$end(n).get$column()===r.text.length,n=e.$this,r?(t=n._highlighter$_buffer,r=null==e.highlight.label?I._glyphs.glyphOrAscii$2("└","\\"):i,t._contents+=r):n._colorize$2$color(new A.Highlighter__writeMultilineHighlights__closure0(n,i),t.openedOnThisLineColor)))},$signature:1},A.Highlighter__writeMultilineHighlights__closure.prototype={call$0(){var e=this.$this._highlighter$_buffer,t=this._box_0.openedOnThisLine?"┬":"┌";t=I._glyphs.glyphOrAscii$2(t,"/"),e._contents+=t},$signature:1},A.Highlighter__writeMultilineHighlights__closure0.prototype={call$0(){this.$this._highlighter$_buffer._contents+=this.vertical},$signature:1},A.Highlighter__writeHighlightedText_closure.prototype={call$0(){var e=this;return e.$this._writeText$1(C.JSString_methods.substring$2(e.text,e.startColumn,e.endColumn))},$signature:0},A.Highlighter__writeIndicator_closure.prototype={call$0(){var e,t,r,n,i=this.$this,o=i._highlighter$_buffer,s=o._contents,a=this.highlight,l=a.span;return a=a.isPrimary?"^":I._glyphs.get$horizontalLineBold(),e=l.get$start(l).get$column(),t=l.get$end(l).get$column(),l=this.line.text,r=i._countTabs$1(C.JSString_methods.substring$2(l,0,e)),n=i._countTabs$1(C.JSString_methods.substring$2(l,e,t)),e+=3*r,a=(o._contents+=C.JSString_methods.$mul(" ",e))+C.JSString_methods.$mul(a,Math.max(t+3*(r+n)-e,1)),o._contents=a,a.length-s.length},$signature:10},A.Highlighter__writeIndicator_closure0.prototype={call$0(){var e=this.highlight.span;return this.$this._writeArrow$2(this.line,e.get$start(e).get$column())},$signature:0},A.Highlighter__writeIndicator_closure1.prototype={call$0(){var e,t=this,r=t.$this,n=r._highlighter$_buffer,i=n._contents;return t.coversWholeLine?(r=C.JSString_methods.$mul(I._glyphs.get$horizontalLine(),3),n._contents+=r):(e=t.highlight.span,r._writeArrow$3$beginning(t.line,Math.max(e.get$end(e).get$column()-1,0),!1)),n._contents.length-i.length},$signature:10},A.Highlighter__writeLabel_closure.prototype={call$0(){var e=this.$this._highlighter$_buffer,t=" "+C.JSArray_methods.get$first(this.lines);return e._contents+=t,null},$signature:0},A.Highlighter__writeLabel_closure0.prototype={call$0(){return this.$this._highlighter$_buffer._contents+=" "+this.text,null},$signature:0},A.Highlighter__writeSidebar_closure.prototype={call$0(){var e=this.$this,t=e._highlighter$_buffer,r=this._box_0.text;null==r&&(r=""),e=C.JSString_methods.padRight$1(r,e._paddingBeforeSidebar),t._contents+=e,null==(e=this.end)&&(e=I._glyphs.get$verticalLine()),t._contents+=e},$signature:1},A._Highlight.prototype={toString$0(e){var t=this.isPrimary?"primary ":"",r=this.span;return r=t+(r.get$start(r).get$line()+":")+r.get$start(r).get$column()+"-"+r.get$end(r).get$line()+":"+r.get$end(r).get$column(),(t=null!=(t=this.label)?r+" ("+t+")":r).charCodeAt(0),t}},A._Highlight_closure.prototype={call$0(){var e,t,r,n,i=this.span;return D.SourceSpanWithContext._is(i)&&null!=A.findLineStart(i.get$context(i),i.get$text(),i.get$start(i).get$column())||(e=A.SourceLocation$(i.get$start(i).get$offset(),0,0,i.get$sourceUrl(i)),t=i.get$end(i).get$offset(),r=i.get$sourceUrl(i),n=A.countCodeUnits(i.get$text(),10),i=A.SourceSpanWithContext$(e,A.SourceLocation$(t,A._Highlight__lastLineLength(i.get$text()),n,r),i.get$text(),i.get$text())),A._Highlight__normalizeEndOfLine(A._Highlight__normalizeTrailingNewline(A._Highlight__normalizeNewlines(i)))},$signature:294},A._Line.prototype={toString$0(e){return this.number+': "'+this.text+'" ('+C.JSArray_methods.join$1(this.highlights,", ")+")"}},A.SourceLocation.prototype={distance$1(e){var t=this.sourceUrl;if(!w.$eq$(t,e.get$sourceUrl(e)))throw A.wrapException(A.ArgumentError$('Source URLs "'+A.S(t)+'" and "'+A.S(e.get$sourceUrl(e))+"\" don't match.",null));return Math.abs(this.offset-e.get$offset())},compareTo$1(e,t){var r=this.sourceUrl;if(!w.$eq$(r,t.get$sourceUrl(t)))throw A.wrapException(A.ArgumentError$('Source URLs "'+A.S(r)+'" and "'+A.S(t.get$sourceUrl(t))+"\" don't match.",null));return this.offset-t.get$offset()},$eq(e,t){return null!=t&&(D.SourceLocation._is(t)&&w.$eq$(this.sourceUrl,t.get$sourceUrl(t))&&this.offset===t.get$offset())},get$hashCode(e){var t=this.sourceUrl;return null==(t=null==t?null:t.get$hashCode(t))&&(t=0),t+this.offset},toString$0(e){var t=this,r=A.getRuntimeTypeOfDartObject(t).toString$0(0),n=t.sourceUrl;return"<"+r+": "+t.offset+" "+A.S(null==n?"unknown source":n)+":"+(t.line+1)+":"+(t.column+1)+">"},$isComparable:1,get$sourceUrl(e){return this.sourceUrl},get$offset(){return this.offset},get$line(){return this.line},get$column(){return this.column}},A.SourceLocationMixin.prototype={distance$1(e){if(!w.$eq$(this.file.url,e.get$sourceUrl(e)))throw A.wrapException(A.ArgumentError$('Source URLs "'+A.S(this.get$sourceUrl(0))+'" and "'+A.S(e.get$sourceUrl(e))+"\" don't match.",null));return Math.abs(this.offset-e.get$offset())},compareTo$1(e,t){if(!w.$eq$(this.file.url,t.get$sourceUrl(t)))throw A.wrapException(A.ArgumentError$('Source URLs "'+A.S(this.get$sourceUrl(0))+'" and "'+A.S(t.get$sourceUrl(t))+"\" don't match.",null));return this.offset-t.get$offset()},$eq(e,t){return null!=t&&(D.SourceLocation._is(t)&&w.$eq$(this.file.url,t.get$sourceUrl(t))&&this.offset===t.get$offset())},get$hashCode(e){var t=this.file.url;return null==(t=null==t?null:t.get$hashCode(t))&&(t=0),t+this.offset},toString$0(e){var t=A.getRuntimeTypeOfDartObject(this).toString$0(0),r=this.offset,n=this.file,i=n.url;return"<"+t+": "+r+" "+A.S(null==i?"unknown source":i)+":"+(n.getLine$1(r)+1)+":"+(n.getColumn$1(r)+1)+">"},$isComparable:1,$isSourceLocation:1},A.SourceSpanBase.prototype={SourceSpanBase$3(e,t,r){var n,i=this.end,o=this.start;if(!w.$eq$(i.get$sourceUrl(i),o.get$sourceUrl(o)))throw A.wrapException(A.ArgumentError$('Source URLs "'+A.S(o.get$sourceUrl(o))+'" and  "'+A.S(i.get$sourceUrl(i))+"\" don't match.",null));if(i.get$offset()<o.get$offset())throw A.wrapException(A.ArgumentError$("End "+i.toString$0(0)+" must come after start "+o.toString$0(0)+".",null));if((n=this.text).length!==o.distance$1(i))throw A.wrapException(A.ArgumentError$('Text "'+n+'" must be '+o.distance$1(i)+" characters long.",null))},get$start(e){return this.start},get$end(e){return this.end},get$text(){return this.text}},A.SourceSpanException.prototype={get$message(e){return this._span_exception$_message},get$span(e){return this._span},toString$1$color(e,t){var r=this;return r.get$span(r),"Error on "+r.get$span(r).message$2$color(0,r._span_exception$_message,t)},toString$0(e){return this.toString$1$color(0,null)},$isException:1},A.SourceSpanFormatException.prototype={$isFormatException:1,get$source(){return this.source}},A.MultiSourceSpanException.prototype={toString$0(e){var t=this;return"Error on "+A.SourceSpanExtension_messageMultiple(t._span,t._span_exception$_message,t.primaryLabel,t.secondarySpans,!1,null,null)},get$primaryLabel(){return this.primaryLabel},get$secondarySpans(){return this.secondarySpans}},A.MultiSourceSpanFormatException.prototype={$isFormatException:1},A.SourceSpanMixin.prototype={get$sourceUrl(e){var t=this.get$start(this);return t.get$sourceUrl(t)},get$length(e){var t=this;return t.get$end(t).get$offset()-t.get$start(t).get$offset()},compareTo$1(e,t){var r=this,n=r.get$start(r).compareTo$1(0,t.get$start(t));return 0===n?r.get$end(r).compareTo$1(0,t.get$end(t)):n},message$2$color(e,t,r){var n,i,o,s=this,a="line "+(s.get$start(s).get$line()+1)+", column "+(s.get$start(s).get$column()+1);return null!=s.get$sourceUrl(s)&&(n=s.get$sourceUrl(s),i=I.$get$context(),n.toString,a=n=a+" of "+i.prettyUri$1(n)),a+=": "+t,0!==(o=s.highlight$1$color(r)).length&&(a=a+"\n"+o),a.charCodeAt(0),a},message$1(e,t){return this.message$2$color(0,t,null)},highlight$1$color(e){var t=this;return D.SourceSpanWithContext._is(t)||0!==t.get$length(t)?A.Highlighter$(t,e).highlight$0():""},$eq(e,t){var r=this;return null!=t&&(D.SourceSpan._is(t)&&r.get$start(r).$eq(0,t.get$start(t))&&r.get$end(r).$eq(0,t.get$end(t)))},get$hashCode(e){var t=this;return A.Object_hash(t.get$start(t),t.get$end(t),C.C_SentinelValue,C.C_SentinelValue)},toString$0(e){var t=this;return"<"+A.getRuntimeTypeOfDartObject(t).toString$0(0)+": from "+t.get$start(t).toString$0(0)+" to "+t.get$end(t).toString$0(0)+' "'+t.get$text()+'">'},$isComparable:1,$isSourceSpan:1},A.SourceSpanWithContext.prototype={get$context(e){return this._context}},A.Chain.prototype={toTrace$0(){var e=this.traces;return A.Trace$(new A.ExpandIterable(e,new A.Chain_toTrace_closure,A._arrayInstanceType(e)._eval$1("ExpandIterable<1,Frame>")),null)},toString$0(e){var t=this.traces,r=A._arrayInstanceType(t);return new A.MappedListIterable(t,new A.Chain_toString_closure(new A.MappedListIterable(t,new A.Chain_toString_closure0,r._eval$1("MappedListIterable<1,int>")).fold$2(0,0,C.CONSTANT)),r._eval$1("MappedListIterable<1,String>")).join$1(0,P.x3d_____)},$isStackTrace:1},A.Chain_Chain$parse_closure.prototype={call$1:e=>0!==e.length,$signature:4},A.Chain_toTrace_closure.prototype={call$1:e=>e.get$frames(),$signature:295},A.Chain_toString_closure0.prototype={call$1(e){var t=e.get$frames();return new A.MappedListIterable(t,new A.Chain_toString__closure0,A._arrayInstanceType(t)._eval$1("MappedListIterable<1,int>")).fold$2(0,0,C.CONSTANT)},$signature:296},A.Chain_toString__closure0.prototype={call$1:e=>e.get$location().length,$signature:196},A.Chain_toString_closure.prototype={call$1(e){var t=e.get$frames();return new A.MappedListIterable(t,new A.Chain_toString__closure(this.longest),A._arrayInstanceType(t)._eval$1("MappedListIterable<1,String>")).join$0(0)},$signature:298},A.Chain_toString__closure.prototype={call$1(e){return C.JSString_methods.padRight$1(e.get$location(),this.longest)+"  "+A.S(e.get$member())+"\n"},$signature:197},A.Frame.prototype={get$isCore(){return"dart"===this.uri.get$scheme()},get$library(){var e=this.uri;return"data"===e.get$scheme()?"data:...":I.$get$context().prettyUri$1(e)},get$$package(){var e=this.uri;return"package"!==e.get$scheme()?null:C.JSArray_methods.get$first(e.get$path(e).split("/"))},get$location(){var e,t=this,r=t.line;return null==r?t.get$library():null==(e=t.column)?t.get$library()+" "+A.S(r):t.get$library()+" "+A.S(r)+":"+A.S(e)},toString$0(e){return this.get$location()+" in "+A.S(this.member)},get$uri(){return this.uri},get$line(){return this.line},get$column(){return this.column},get$member(){return this.member}},A.Frame_Frame$parseVM_closure.prototype={call$0(){var e,t,r,n,i,o,s,a=null,l=this.frame;return"..."===l?new A.Frame(A._Uri__Uri(a,a,a,a),a,a,"..."):null==(e=I.$get$_vmFrame().firstMatch$1(l))?new A.UnparsedFrame(A._Uri__Uri(a,"unparsed",a,a),l):((t=(l=e._match)[1]).toString,r=I.$get$_asyncBody(),t=A.stringReplaceAllUnchecked(t,r,"<async>"),n=A.stringReplaceAllUnchecked(t,"<anonymous closure>","<fn>"),(r=t=l[2]).toString,C.JSString_methods.startsWith$1(r,"<data:")?i=A.Uri_Uri$dataFromString("",a,a):(t.toString,i=A.Uri_parse(t)),o=l[3].split(":"),s=(l=o.length)>1?A.int_parse(o[1],a):a,new A.Frame(i,s,l>2?A.int_parse(o[2],a):a,n))},$signature:76},A.Frame_Frame$parseV8_closure.prototype={call$0(){var e,t,r,n,i,o="<fn>",s=this.frame,a=I.$get$_v8WasmFrame().firstMatch$1(s);return null!=a?(e=a.namedGroup$1("member"),(s=a.namedGroup$1("uri")).toString,t=A.Frame__uriOrPathToUri(s),(s=a.namedGroup$1("index")).toString,(r=a.namedGroup$1("offset")).toString,n=A.int_parse(r,16),null!=e&&(s=e),new A.Frame(t,1,n+1,s)):null!=(a=I.$get$_v8JsFrame().firstMatch$1(s))?(s=new A.Frame_Frame$parseV8_closure_parseJsLocation(s),null!=(i=(r=a._match)[2])?(i.toString,(r=r[1]).toString,r=A.stringReplaceAllUnchecked(r,"<anonymous>",o),r=A.stringReplaceAllUnchecked(r,"Anonymous function",o),s.call$2(i,A.stringReplaceAllUnchecked(r,"(anonymous function)",o))):((r=r[3]).toString,s.call$2(r,o))):new A.UnparsedFrame(A._Uri__Uri(null,"unparsed",null,null),s)},$signature:76},A.Frame_Frame$parseV8_closure_parseJsLocation.prototype={call$2(e,t){for(var r,n,i,o,s,a=null,l=I.$get$_v8EvalLocation(),c=l.firstMatch$1(e);null!=c;e=r)(r=c._match[1]).toString,c=l.firstMatch$1(r);return"native"===e?new A.Frame(A.Uri_parse("native"),a,a,t):null==(n=I.$get$_v8JsUrlLocation().firstMatch$1(e))?new A.UnparsedFrame(A._Uri__Uri(a,"unparsed",a,a),this.frame):((r=(l=n._match)[1]).toString,i=A.Frame__uriOrPathToUri(r),(r=l[2]).toString,o=A.int_parse(r,a),s=l[3],new A.Frame(i,o,null!=s?A.int_parse(s,a):a,t))},$signature:301},A.Frame_Frame$_parseFirefoxEval_closure.prototype={call$0(){var e,t,r,n,i=null,o=this.frame,s=I.$get$_firefoxEvalLocation().firstMatch$1(o);return null==s?new A.UnparsedFrame(A._Uri__Uri(i,"unparsed",i,i),o):((e=(o=s._match)[1]).toString,t=A.stringReplaceAllUnchecked(e,"/<",""),(e=o[2]).toString,r=A.Frame__uriOrPathToUri(e),(o=o[3]).toString,n=A.int_parse(o,i),new A.Frame(r,n,i,0===t.length||"anonymous"===t?"<fn>":t))},$signature:76},A.Frame_Frame$parseFirefox_closure.prototype={call$0(){var e,t,r,n,i,o,s,a,l=null,c=this.frame,u=I.$get$_firefoxSafariJSFrame().firstMatch$1(c);return null!=u?((r=t=(e=u._match)[3]).toString,C.JSString_methods.contains$1(r," line ")?A.Frame_Frame$_parseFirefoxEval(c):((c=t).toString,n=A.Frame__uriOrPathToUri(c),null!=(i=e[1])?((c=e[2]).toString,""===(i+=C.JSArray_methods.join$0(A.List_List$filled(C.JSString_methods.allMatches$1("/",c).get$length(0),".<fn>",!1,D.String)))&&(i="<fn>"),i=C.JSString_methods.replaceFirst$2(i,I.$get$_initialDot(),"")):i="<fn>",""===(c=e[4])?o=l:(c.toString,o=A.int_parse(c,l)),null==(c=e[5])||""===c?s=l:(c.toString,s=A.int_parse(c,l)),new A.Frame(n,o,s,i))):null!=(u=I.$get$_firefoxWasmFrame().firstMatch$1(c))?((c=u.namedGroup$1("member")).toString,(e=u.namedGroup$1("uri")).toString,n=A.Frame__uriOrPathToUri(e),(e=u.namedGroup$1("index")).toString,(t=u.namedGroup$1("offset")).toString,a=A.int_parse(t,16),0===c.length&&(c=e),new A.Frame(n,1,a+1,c)):null!=(u=I.$get$_safariWasmFrame().firstMatch$1(c))?((c=u.namedGroup$1("member")).toString,new A.Frame(A._Uri__Uri(l,"wasm code",l,l),l,l,c)):new A.UnparsedFrame(A._Uri__Uri(l,"unparsed",l,l),c)},$signature:76},A.Frame_Frame$parseFriendly_closure.prototype={call$0(){var e,t,r,n,i=null,o=this.frame,s=I.$get$_friendlyFrame().firstMatch$1(o);if(null==s)throw A.wrapException(A.FormatException$("Couldn't parse package:stack_trace stack trace line '"+o+"'.",i,i));return"data:..."===(e=(o=s._match)[1])?t=A.Uri_Uri$dataFromString("",i,i):(e.toString,t=A.Uri_parse(e)),""===t.get$scheme()&&(t=(e=I.$get$context()).toUri$1(A.absolute(e.style.pathFromUri$1(A._parseUri(t)),i,i,i,i,i,i,i,i,i,i,i,i,i,i))),null==(e=o[2])?r=i:(e.toString,r=A.int_parse(e,i)),null==(e=o[3])?n=i:(e.toString,n=A.int_parse(e,i)),new A.Frame(t,r,n,o[4])},$signature:76},A.LazyTrace.prototype={get$_lazy_trace$_trace(){var e,t=this,r=t.__LazyTrace__trace_FI;return r===I&&(e=t._thunk.call$0(),t.__LazyTrace__trace_FI!==I&&A.throwUnnamedLateFieldADI(),t.__LazyTrace__trace_FI=e,r=e),r},get$frames(){return this.get$_lazy_trace$_trace().get$frames()},get$terse(){return new A.LazyTrace(new A.LazyTrace_terse_closure(this))},toString$0(e){return this.get$_lazy_trace$_trace().toString$0(0)},$isStackTrace:1,$isTrace:1},A.LazyTrace_terse_closure.prototype={call$0(){return this.$this.get$_lazy_trace$_trace().get$terse()},$signature:199},A.Trace.prototype={get$terse(){return this.foldFrames$2$terse(new A.Trace_terse_closure,!0)},foldFrames$2$terse(e,t){var r,n,i,o,s={};for(s.predicate=e,s.predicate=new A.Trace_foldFrames_closure(e),r=A._setArrayType([],D.JSArray_Frame),n=this.frames,i=A._arrayInstanceType(n)._eval$1("ReversedListIterable<1>"),n=new A.ReversedListIterable(n,i),n=new A.ListIterator(n,n.get$length(0),i._eval$1("ListIterator<ListIterable.E>")),i=i._eval$1("ListIterable.E");n.moveNext$0();)null==(o=n.__internal$_current)&&(o=i._as(o)),o instanceof A.UnparsedFrame||!s.predicate.call$1(o)?r.push(o):0!==r.length&&s.predicate.call$1(C.JSArray_methods.get$last(r))||r.push(new A.Frame(o.get$uri(),o.get$line(),o.get$column(),o.get$member()));return n=D.MappedListIterable_Frame_Frame,(r=A.List_List$_of(new A.MappedListIterable(r,new A.Trace_foldFrames_closure0(s),n),n._eval$1("ListIterable.E"))).length>1&&s.predicate.call$1(C.JSArray_methods.get$first(r))&&C.JSArray_methods.removeAt$1(r,0),A.Trace$(new A.ReversedListIterable(r,A._arrayInstanceType(r)._eval$1("ReversedListIterable<1>")),this.original._stackTrace)},toString$0(e){var t=this.frames,r=A._arrayInstanceType(t);return new A.MappedListIterable(t,new A.Trace_toString_closure(new A.MappedListIterable(t,new A.Trace_toString_closure0,r._eval$1("MappedListIterable<1,int>")).fold$2(0,0,C.CONSTANT)),r._eval$1("MappedListIterable<1,String>")).join$0(0)},$isStackTrace:1,get$frames(){return this.frames}},A.Trace_Trace$from_closure.prototype={call$0(){return A.Trace_Trace$parse(this.trace.toString$0(0))},$signature:199},A.Trace__parseVM_closure.prototype={call$1:e=>0!==e.length,$signature:4},A.Trace$parseV8_closure.prototype={call$1:e=>!C.JSString_methods.startsWith$1(e,I.$get$_v8TraceLine()),$signature:4},A.Trace$parseJSCore_closure.prototype={call$1:e=>"\tat "!==e,$signature:4},A.Trace$parseFirefox_closure.prototype={call$1:e=>0!==e.length&&"[native code]"!==e,$signature:4},A.Trace$parseFriendly_closure.prototype={call$1:e=>!C.JSString_methods.startsWith$1(e,"====="),$signature:4},A.Trace_terse_closure.prototype={call$1:e=>!1,$signature:200},A.Trace_foldFrames_closure.prototype={call$1(e){var t;return!!this.oldPredicate.call$1(e)||(!!e.get$isCore()||("stack_trace"===e.get$$package()||((t=e.get$member()).toString,!!C.JSString_methods.contains$1(t,"<async>")&&null==e.get$line())))},$signature:200},A.Trace_foldFrames_closure0.prototype={call$1(e){var t,r;return e instanceof A.UnparsedFrame||!this._box_0.predicate.call$1(e)?e:(t=e.get$library(),r=I.$get$_terseRegExp(),new A.Frame(A.Uri_parse(A.stringReplaceAllUnchecked(t,r,"")),null,null,e.get$member()))},$signature:304},A.Trace_toString_closure0.prototype={call$1:e=>e.get$location().length,$signature:196},A.Trace_toString_closure.prototype={call$1(e){return e instanceof A.UnparsedFrame?e.toString$0(0)+"\n":C.JSString_methods.padRight$1(e.get$location(),this.longest)+"  "+A.S(e.get$member())+"\n"},$signature:197},A.UnparsedFrame.prototype={toString$0(e){return this.member},$isFrame:1,get$uri(){return this.uri},get$line:()=>null,get$column:()=>null,get$isCore:()=>!1,get$library:()=>"unparsed",get$$package:()=>null,get$location:()=>"unparsed",get$member(){return this.member}},A.TransformByHandlers_transformByHandlers_closure.prototype={call$0(){var e,t,r,n,i=this,o={valuesDone:!1};e=i.controller,t=i._this.listen$3$onDone$onError(0,new A.TransformByHandlers_transformByHandlers__closure(i.onData,e,i.S),new A.TransformByHandlers_transformByHandlers__closure0(o,i.handleDone,e),new A.TransformByHandlers_transformByHandlers__closure1(i.handleError,e)),(r=i._box_1).subscription=t,e.set$onPause(t.get$pause(t)),n=r.subscription,e.set$onResume(n.get$resume(n)),e.set$onCancel(new A.TransformByHandlers_transformByHandlers__closure2(r,o))},$signature:0},A.TransformByHandlers_transformByHandlers__closure.prototype={call$1(e){return this.onData.call$2(e,this.controller)},$signature(){return this.S._eval$1("~(0)")}},A.TransformByHandlers_transformByHandlers__closure1.prototype={call$2(e,t){this.handleError.call$3(e,t,this.controller)},$signature:51},A.TransformByHandlers_transformByHandlers__closure0.prototype={call$0(){this._box_0.valuesDone=!0,this.handleDone.call$1(this.controller)},$signature:0},A.TransformByHandlers_transformByHandlers__closure2.prototype={call$0(){var e=this._box_1,t=e.subscription;return e.subscription=null,this._box_0.valuesDone?null:t.cancel$0()},$signature:226},A.RateLimit__debounceAggregate_closure.prototype={call$2(e,t){var r=this,n=r._box_0,i=new A.RateLimit__debounceAggregate_closure_emit(n,t,r.S),o=n.timer;null!=o&&o.cancel$0(),n.soFar=r.collect.call$2(e,n.soFar),n.hasPending=!0,null==n.timer&&r.leading?(n.emittedLatestAsLeading=!0,i.call$0()):n.emittedLatestAsLeading=!1,n.timer=A.Timer_Timer(r.duration,new A.RateLimit__debounceAggregate__closure(n,r.trailing,i,t))},$signature(){return this.T._eval$1("@<0>")._bind$1(this.S)._eval$1("~(1,EventSink<2>)")}},A.RateLimit__debounceAggregate_closure_emit.prototype={call$0(){var e=this._box_0,t=e.soFar;null==t&&(t=this.S._as(t)),this.sink.add$1(0,t),e.soFar=null,e.hasPending=!1},$signature:0},A.RateLimit__debounceAggregate__closure.prototype={call$0(){var e=this._box_0;e.emittedLatestAsLeading||this.emit.call$0(),e.shouldClose&&this.sink.close$0(0),e.timer=null},$signature:0},A.RateLimit__debounceAggregate_closure0.prototype={call$1(e){var t=this._box_0;t.hasPending&&this.trailing?t.shouldClose=!0:(null!=(t=t.timer)&&t.cancel$0(),e.close$0(0))},$signature(){return this.S._eval$1("~(EventSink<0>)")}},A.StringScannerException.prototype={get$source(){return A._asString(this.source)}},A.LineScanner.prototype={scanChar$1(e){return!!this.super$StringScanner$scanChar(e)&&(this._adjustLineAndColumn$1(e),!0)},readChar$0(){var e=this.super$StringScanner$readChar();return this._adjustLineAndColumn$1(e),e},_adjustLineAndColumn$1(e){var t,r=this;(t=10===e||13===e&&10!==r.peekChar$0())?(++r._line_scanner$_line,r._line_scanner$_column=0):(t=r._line_scanner$_column,r._line_scanner$_column=t+(e>=65536&&e<=1114111?2:1))},scan$1(e){var t,r,n,i=this;return!!i.super$StringScanner$scan(e)&&(t=i.get$lastMatch(),r=i._newlinesIn$2$endPosition(t.pattern,i._string_scanner$_position),t=i._line_scanner$_line,n=r.length,i._line_scanner$_line=t+n,0===n?(t=i._line_scanner$_column,n=i.get$lastMatch(),i._line_scanner$_column=t+n.pattern.length):(t=(t=i.get$lastMatch()).pattern,n=C.JSArray_methods.get$last(r),i._line_scanner$_column=t.length-n.get$end(n)),!0)},_newlinesIn$2$endPosition(e,t){var r=I.$get$_newlineRegExp().allMatches$1(0,e),n=A.List_List$_of(r,A._instanceType(r)._eval$1("Iterable.E"));return t<(r=this.string).length&&C.JSString_methods.endsWith$1(e,"\r")&&"\n"===r[t]&&n.pop(),n}},A.SpanScanner.prototype={set$state(e){if(e._scanner!==this)throw A.wrapException(A.ArgumentError$("The given LineScannerState was not returned by this LineScanner.",null));this.set$position(e.position)},spanFrom$2(e,t){var r=null==t?this._string_scanner$_position:t.position;return this._sourceFile.span$2(0,e.position,r)},spanFrom$1(e){return this.spanFrom$2(e,null)},spanFromPosition$2(e,t){var r=null==t?this._string_scanner$_position:t;return this._sourceFile.span$2(0,e,r)},matches$1(e){var t,r,n=this;return!!n.super$StringScanner$matches(e)&&(t=n._string_scanner$_position,r=n.get$lastMatch(),n._sourceFile.span$2(0,t,r.start+r.pattern.length),!0)},error$3$length$position(e,t,r,n){var i,o,s=this,a=s.string;throw A.validateErrorArgs(a,null,n,r),i=null==n&&null==r?s.get$lastMatch():null,null==n&&(n=null==i?s._string_scanner$_position:i.start),null==r&&(r=null==i?0:(o=i.start)+i.pattern.length-o),A.wrapException(A.StringScannerException$(t,s._sourceFile.span$2(0,n,n+r),a))},error$1(e,t){return this.error$3$length$position(0,t,null,null)},error$2$position(e,t,r){return this.error$3$length$position(0,t,null,r)},error$2$length(e,t,r){return this.error$3$length$position(0,t,r,null)}},A._SpanScannerState.prototype={},A.StringScanner.prototype={set$position(e){if(C.JSInt_methods.get$isNegative(e)||e>this.string.length)throw A.wrapException(A.ArgumentError$("Invalid position "+e,null));this._string_scanner$_position=e,this._lastMatch=null},get$lastMatch(){var e=this;return e._string_scanner$_position!==e._lastMatchPosition&&(e._lastMatch=null),e._lastMatch},readChar$0(){var e=this,t=e.string;return e._string_scanner$_position===t.length&&e._fail$1("more input"),t.charCodeAt(e._string_scanner$_position++)},peekChar$1(e){var t;return null==e&&(e=0),(t=this._string_scanner$_position+e)<0||t>=this.string.length?null:this.string.charCodeAt(t)},peekChar$0(){return this.peekChar$1(null)},scanChar$1(e){var t,r,n,i,o=this;return e>=65536&&e<=1114111?((r=(t=o._string_scanner$_position)+1)<(n=o.string).length?(i=e-65536,r=n.charCodeAt(t)!==C.JSInt_methods._shrOtherPositive$1(i,10)+55296||n.charCodeAt(r)!==56320+(1023&i)):r=!0,!r&&(o._string_scanner$_position=t+2,!0)):(t=o._string_scanner$_position)!==(r=o.string).length&&(r.charCodeAt(t)===e&&(o._string_scanner$_position=t+1,!0))},expectChar$2$name(e,t){this.scanChar$1(e)||(null==t&&(t=92===e?'"\\"':34===e?'"\\""':'"'+A.Primitives_stringFromCharCode(e)+'"'),this._fail$1(t))},expectChar$1(e){return this.expectChar$2$name(e,null)},scan$1(e){var t,r=this,n=r.matches$1(e);return n&&(t=r._lastMatch,r._lastMatchPosition=r._string_scanner$_position=t.start+t.pattern.length),n},expect$1(e){var t,r;this.scan$1(e)||(t=A.stringReplaceAllUnchecked(e,"\\","\\\\"),r='"'+A.stringReplaceAllUnchecked(t,'"','\\"')+'"',this._fail$1(r))},expectDone$0(){this._string_scanner$_position!==this.string.length&&this._fail$1("no more input")},matches$1(e){var t=this,r=C.JSString_methods.matchAsPrefix$2(e,t.string,t._string_scanner$_position);return t._lastMatch=r,t._lastMatchPosition=t._string_scanner$_position,null!=r},substring$1(e,t){var r=this._string_scanner$_position;return C.JSString_methods.substring$2(this.string,t,r)},error$3$length$position(e,t,r,n){var i,o,s=this,a=s.string;throw A.validateErrorArgs(a,null,n,r),i=null==n&&null==r?s.get$lastMatch():null,null==n&&(n=null==i?s._string_scanner$_position:i.start),null==r&&(r=null==i?0:(o=i.start)+i.pattern.length-o),A.wrapException(A.StringScannerException$(t,A.SourceFile$fromString(a,s.sourceUrl).span$2(0,n,n+r),a))},error$1(e,t){return this.error$3$length$position(0,t,null,null)},_fail$1(e){this.error$3$length$position(0,"expected "+e+".",0,this._string_scanner$_position)}},A.AsciiGlyphSet.prototype={glyphOrAscii$2:(e,t)=>t,get$horizontalLine:()=>"-",get$verticalLine:()=>"|",get$topLeftCorner:()=>",",get$bottomLeftCorner:()=>"'",get$cross:()=>"+",get$upEnd:()=>"'",get$downEnd:()=>",",get$horizontalLineBold:()=>"="},A.UnicodeGlyphSet.prototype={glyphOrAscii$2:(e,t)=>e,get$horizontalLine:()=>"─",get$verticalLine:()=>"│",get$topLeftCorner:()=>"┌",get$bottomLeftCorner:()=>"└",get$cross:()=>"┼",get$upEnd:()=>"╵",get$downEnd:()=>"╷",get$horizontalLineBold:()=>"�"},A.WatchEvent.prototype={toString$0(e){return this.type.toString$0(0)+" "+this.path}},A.ChangeType.prototype={toString$0(e){return this._watch_event$_name}},A.A98RgbColorSpace0.prototype={get$isBoundedInternal:()=>!0,toLinear$1:e=>w.get$sign$in(e)*Math.pow(Math.abs(e),2.19921875),fromLinear$1:e=>w.get$sign$in(e)*Math.pow(Math.abs(e),.4547069271758437),transformationMatrix$1(e){return C.SrgbLinearColorSpace_kUj0!==e&&C.SrgbColorSpace_thf0!==e&&C.RgbColorSpace_i0P0!==e?C.DisplayP3ColorSpace_MmT0!==e&&C.DisplayP3LinearColorSpace_PrP0!==e?C.ProphotoRgbColorSpace_BDz0!==e?C.Rec2020ColorSpace_6oo0!==e?C.XyzD65ColorSpace_WiJ0!==e?C.XyzD50ColorSpace_2OB0!==e?C.LmsColorSpace_Os30!==e?this.super$ColorSpace$transformationMatrix0(e):I.$get$linearA98RgbToLms0():I.$get$linearA98RgbToXyzD500():I.$get$linearA98RgbToXyzD650():I.$get$linearA98RgbToLinearRec20200():I.$get$linearA98RgbToLinearProphotoRgb0():I.$get$linearA98RgbToLinearDisplayP30():I.$get$linearA98RgbToLinearSrgb0()}},A.AnySelectorVisitor0.prototype={visitComplexSelector$1(e){return C.JSArray_methods.any$1(e.components,new A.AnySelectorVisitor_visitComplexSelector_closure0(this))},visitCompoundSelector$1(e){return C.JSArray_methods.any$1(e.components,new A.AnySelectorVisitor_visitCompoundSelector_closure0(this))},visitPseudoSelector$1(e,t){var r=t.selector;return null!=r&&this.visitSelectorList$1(r)},visitSelectorList$1(e){return C.JSArray_methods.any$1(e.components,this.get$visitComplexSelector())},visitAttributeSelector$1:(e,t)=>!1,visitClassSelector$1:(e,t)=>!1,visitIDSelector$1:(e,t)=>!1,visitParentSelector$1:(e,t)=>!1,visitPlaceholderSelector$1:(e,t)=>!1,visitTypeSelector$1:(e,t)=>!1,visitUniversalSelector$1:(e,t)=>!1},A.AnySelectorVisitor_visitComplexSelector_closure0.prototype={call$1(e){return this.$this.visitCompoundSelector$1(e.selector)},$signature:55},A.AnySelectorVisitor_visitCompoundSelector_closure0.prototype={call$1(e){return e.accept$1(this.$this)},$signature:15},A.SupportsAnything0.prototype={toInterpolation$0(){var e=new A.StringBuffer(""),t=new A.InterpolationBuffer0(e,A._setArrayType([],D.JSArray_Object),A._setArrayType([],D.JSArray_nullable_FileSpan)),r=this.span,n=this.contents,i=n.span,o=A.SpanExtensions_before(r,i);return o=A.String_String$fromCharCodes(C.NativeUint32List_methods.sublist$2(o.file._decodedChars,o._file$_start,o._end),0,null),e._contents+=o,t.addInterpolation$1(n),i=A.SpanExtensions_after(r,i),i=A.String_String$fromCharCodes(C.NativeUint32List_methods.sublist$2(i.file._decodedChars,i._file$_start,i._end),0,null),e._contents+=i,t.interpolation$1(r)},withSpan$1(e){return new A.SupportsAnything0(this.contents,e)},toString$0(e){return"("+this.contents.toString$0(0)+")"},$isAstNode0:1,$isSassNode:1,$isSupportsCondition:1,get$span(e){return this.span}},A.ArgumentList0.prototype={get$isEmpty(e){var t;return t=0===this.positional.length&&((t=this.named).get$isEmpty(t)&&null==this.rest)},toString$0(e){var t,r,n,i,o,s=this,a=A._setArrayType([],D.JSArray_String);for(r=(t=s.positional).length,n=0;n<r;++n)a.push(s._argument_list0$_parenthesizeArgument$1(t[n]));for(t=(t=A.MapExtensions_get_pairs0(s.named,D.String,D.Expression_2)).get$iterator(t);t.moveNext$0();)r=t.get$current(t),a.push("$"+r._0+": "+s._argument_list0$_parenthesizeArgument$1(r._1));return null!=(i=s.rest)&&a.push(s._argument_list0$_parenthesizeArgument$1(i)+"..."),null!=(o=s.keywordRest)&&a.push(s._argument_list0$_parenthesizeArgument$1(o)+"..."),"("+C.JSArray_methods.join$1(a,", ")+")"},_argument_list0$_parenthesizeArgument$1:e=>e instanceof A.ListExpression0&&C.ListSeparator_z0K0===e.separator&&!e.hasBrackets&&e.contents.length>=2?"("+e.toString$0(0)+")":e.toString$0(0),$isAstNode0:1,$isSassNode:1,get$span(e){return this.span}},A.argumentListClass_closure.prototype={call$0(){var e=D.JSClass,t=e._as(A.allowInteropCaptureThisNamed("sass.SassArgumentList",new A.argumentListClass__closure));return A.defineGetter(w.get$$prototype$x(t),"keywords",new A.argumentListClass__closure0,null),A.JSClassExtension_injectSuperclass(e._as(A.SassArgumentList$0(A._setArrayType([],D.JSArray_Value_2),A.LinkedHashMap_LinkedHashMap$_empty(D.String,D.Value_2),C.ListSeparator_undecided_null_3_undecided0).constructor),t),t},$signature:17},A.argumentListClass__closure.prototype={call$4(e,t,r,i){var o,s=n.immutable.isOrderedMap(t)?w.toArray$0$x(D.ImmutableList._as(t)):D.List_dynamic._as(t),a=D.Value_2;return s=w.cast$1$0$ax(s,a),o=n.immutable.isOrderedMap(r)?A.immutableMapToDartMap(D.ImmutableMap._as(r)):A.objectToMap(r),A.SassArgumentList$0(s,o.cast$2$0(0,D.String,a),A.jsToDartSeparator(i))},call$3(e,t,r){return this.call$4(e,t,r,",")},"call*":"call$4",$requiredArgCount:3,$defaultValues:()=>[","],$signature:309},A.argumentListClass__closure0.prototype={call$1:e=>(e._argument_list$_wereKeywordsAccessed=!0,A.dartMapToImmutableMap(e._argument_list$_keywords)),$signature:310},A.SassArgumentList0.prototype={},A.JSArray1.prototype={},A.AsyncImporter0.prototype={isNonCanonicalScheme$1:e=>!1},A.JSToDartAsyncImporter.prototype={canonicalize$1(e,t){return this.canonicalize$body$JSToDartAsyncImporter(0,t)},canonicalize$body$JSToDartAsyncImporter(e,t){var r,i,o,s=0,a=A._makeAsyncAwaitCompleter(D.nullable_Uri),l=this,c=A._wrapJsFunctionForAsync(function(e,u){if(1===e)return A._asyncRethrow(u,a);for(;;)switch(s){case 0:o=A.wrapJSExceptions(new A.JSToDartAsyncImporter_canonicalize_closure(l,t)),s=null!=o&&o instanceof n.Promise?3:4;break;case 3:return s=5,A._asyncAwait(A.promiseToFuture0(D.Promise._as(o),D.nullable_Object),c);case 5:o=u;case 4:if(null==o){r=null,s=1;break}if(i=n.URL,o instanceof i){r=A.Uri_parse(w.toString$0$(D.JSUrl._as(o))),s=1;break}A.jsThrow(new n.Error(P.The_ca));case 1:return A._asyncReturn(r,a)}});return A._asyncStartSync(c,a)},load$1(e,t){return this.load$body$JSToDartAsyncImporter(0,t)},load$body$JSToDartAsyncImporter(e,t){var r,i,o,s,a,l,c=0,u=A._makeAsyncAwaitCompleter(D.nullable_ImporterResult_2),d=this,h=A._wrapJsFunctionForAsync(function(e,p){if(1===e)return A._asyncRethrow(p,u);for(;;)switch(c){case 0:l=A.wrapJSExceptions(new A.JSToDartAsyncImporter_load_closure(d,t)),c=null!=l&&l instanceof n.Promise?3:4;break;case 3:return c=5,A._asyncAwait(A.promiseToFuture0(D.Promise._as(l),D.nullable_Object),h);case 5:l=p;case 4:if(null==l){r=null,c=1;break}D.JSImporterResult._as(l),i=w.getInterceptor$x(l),o=i.get$contents(l),"string"!==A._asString(new n.Function("value","return typeof value").call$1(o))&&A.jsThrow(new A.ArgumentError(!0,o,"contents","must be a string but was: "+A.jsType(o))),s=i.get$syntax(l),null!=o&&null!=s||A.jsThrow(new n.Error(P.The_lo)),a=A.parseSyntax(s),r=A.ImporterResult$(o,A.NullableExtension_andThen0(i.get$sourceMapUrl(l),A.utils3__jsToDartUrl$closure()),a),c=1;break;case 1:return A._asyncReturn(r,u)}});return A._asyncStartSync(h,u)},isNonCanonicalScheme$1(e){return this._nonCanonicalSchemes.contains$1(0,e)}},A.JSToDartAsyncImporter_canonicalize_closure.prototype={call$0(){return this.$this._async0$_canonicalize.call$2(this.url.toString$0(0),A.canonicalizeContext0())},$signature:36},A.JSToDartAsyncImporter_load_closure.prototype={call$0(){return this.$this._load.call$1(new n.URL(this.url.toString$0(0)))},$signature:36},A.AsyncBuiltInCallable0.prototype={callbackFor$2(e,t){return new A._Record_2(this._async_built_in0$_parameters,this._async_built_in0$_callback)},withDeprecationWarning$1(e){return new A.AsyncBuiltInCallable0(this.name,this._async_built_in0$_parameters,new A.AsyncBuiltInCallable_withDeprecationWarning_closure0(this,e,null),!1)},$isAsyncCallable0:1,get$name(e){return this.name},get$acceptsContent(){return this.acceptsContent}},A.AsyncBuiltInCallable$mixin_closure0.prototype={call$1(e){return this.$call$body$AsyncBuiltInCallable$mixin_closure0(e)},$call$body$AsyncBuiltInCallable$mixin_closure0(e){var t,r,n=0,i=A._makeAsyncAwaitCompleter(D.Value_2),o=this,s=A._wrapJsFunctionForAsync(function(a,l){if(1===a)return A._asyncRethrow(l,i);for(;;)switch(n){case 0:return r=o.callback.call$1(e),n=3,A._asyncAwait(r instanceof A._Future?r:A._Future$value(r,D.void),s);case 3:t=C.C__SassNull0,n=1;break;case 1:return A._asyncReturn(t,i)}});return A._asyncStartSync(s,i)},$signature:92},A.AsyncBuiltInCallable_withDeprecationWarning_closure0.prototype={call$1(e){var t=this.$this;return A.warnForDeprecation0(P.Global+this.module+"."+t.name+P.x20inste,C.Deprecation_SGB),t._async_built_in0$_callback.call$1(e)},$signature:313},A._compileStylesheet_closure2.prototype={call$1(e){var t;return""===e?(t=this.stylesheet.span,t=A.Uri_Uri$dataFromString(A.String_String$fromCharCodes(C.NativeUint32List_methods.sublist$2(t.get$file(t)._decodedChars,0,null),0,null),C.C_Utf8Codec,null).get$_text()):t=this.importCache.sourceMapUrl$1(0,A.Uri_parse(e)).toString$0(0),t},$signature:6},A.AsyncEnvironment0.prototype={closure$0(){var e,t,r,n=this,i=n._async_environment0$_forwardedModules,o=n._async_environment0$_nestedForwardedModules,s=n._async_environment0$_variables;return s=A._setArrayType(s.slice(0),A._arrayInstanceType(s)),e=n._async_environment0$_variableNodes,e=A._setArrayType(e.slice(0),A._arrayInstanceType(e)),t=n._async_environment0$_functions,t=A._setArrayType(t.slice(0),A._arrayInstanceType(t)),r=n._async_environment0$_mixins,r=A._setArrayType(r.slice(0),A._arrayInstanceType(r)),A.AsyncEnvironment$_0(n._async_environment0$_modules,n._async_environment0$_namespaceNodes,n._async_environment0$_globalModules,n._async_environment0$_importedModules,i,o,n._async_environment0$_allModules,s,e,t,r,n._async_environment0$_content,C.Set_empty1)},forwardModule$2(e,t){var r,n,i,o=this,s=o._async_environment0$_forwardedModules;for(null==s&&(s=o._async_environment0$_forwardedModules=A.LinkedHashMap_LinkedHashMap$_empty(D.Module_AsyncCallable_2,D.AstNode_2)),r=A.ForwardedModuleView_ifNecessary0(e,t,D.AsyncCallable_2),n=new A.LinkedHashMapKeyIterator(s,s._modifications,s._first);n.moveNext$0();)i=n.__js_helper$_current,o._async_environment0$_assertNoConflicts$5(r.get$variables(),i.get$variables(),r,i,"variable"),o._async_environment0$_assertNoConflicts$5(r.get$functions(r),i.get$functions(i),r,i,"function"),o._async_environment0$_assertNoConflicts$5(r.get$mixins(),i.get$mixins(),r,i,"mixin");o._async_environment0$_allModules.push(e),s.$indexSet(0,r,t)},_async_environment0$_assertNoConflicts$5(e,t,r,n,i){var o,s,a,l,c,u,d,h,p,m;for(e.get$length(e)<t.get$length(t)?(o=t,s=e):(o=e,s=t),a=D.String,l=(l=A.MapExtensions_get_pairs0(s,a,D.Object)).get$iterator(l),c="variable"===i;l.moveNext$0();)if(d=(u=l.get$current(l))._0,h=u._1,null!=(p=o.$index(0,d))&&!(c?r.variableIdentity$1(d)===n.variableIdentity$1(d):w.$eq$(p,h)))throw c&&(d="$"+d),m=null==(l=this._async_environment0$_forwardedModules)||null==(l=l.$index(0,n))?null:l.get$span(l),l=A.LinkedHashMap_LinkedHashMap$_empty(D.FileSpan,a),null!=m&&l.$indexSet(0,m,"original @forward"),A.wrapException(A.MultiSpanSassScriptException$0("Two forwarded modules both define a "+i+" named "+d+".","new @forward",l))},importForwards$1(e){var t,r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y=this,$=e._async_environment0$_environment._async_environment0$_forwardedModules;if(null!=$){if(null!=(t=y._async_environment0$_forwardedModules)){for(r=D.Module_AsyncCallable_2,n=D.AstNode_2,i=A.LinkedHashMap_LinkedHashMap$_empty(r,n),r=(r=A.MapExtensions_get_pairs0($,r,n)).get$iterator(r),n=y._async_environment0$_globalModules;r.moveNext$0();)e=(o=r.get$current(r))._0,s=o._1,t.containsKey$1(e)&&n.containsKey$1(e)||i.$indexSet(0,e,s);$=i}else t=y._async_environment0$_forwardedModules=A.LinkedHashMap_LinkedHashMap$_empty(D.Module_AsyncCallable_2,D.AstNode_2);for(r=D.String,n=A.LinkedHashSet_LinkedHashSet$_empty(r),i=new A.LinkedHashMapKeyIterator($,$._modifications,$._first);i.moveNext$0();)for(o=(o=(o=i.__js_helper$_current.get$variables()).get$keys(o)).get$iterator(o);o.moveNext$0();)n.add$1(0,o.get$current(o));for(i=A.LinkedHashSet_LinkedHashSet$_empty(r),o=new A.LinkedHashMapKeyIterator($,$._modifications,$._first);o.moveNext$0();)for(a=(a=(a=(a=o.__js_helper$_current).get$functions(a)).get$keys(a)).get$iterator(a);a.moveNext$0();)i.add$1(0,a.get$current(a));for(r=A.LinkedHashSet_LinkedHashSet$_empty(r),o=new A.LinkedHashMapKeyIterator($,$._modifications,$._first);o.moveNext$0();)for(a=(a=(a=o.__js_helper$_current.get$mixins()).get$keys(a)).get$iterator(a);a.moveNext$0();)r.add$1(0,a.get$current(a));if(1===(a=(o=y._async_environment0$_variables).length)){for(a=y._async_environment0$_importedModules,l=D.Module_AsyncCallable_2,c=D.AstNode_2,d=(u=A.MapExtensions_get_pairs0(a,l,c).toList$0(0)).length,h=D.AsyncCallable_2,p=0;p<u.length;u.length===d||(0,A.throwConcurrentModificationError)(u),++p)e=(m=u[p])._0,null!=(_=A.ShadowedModuleView_ifNecessary0(e,i,r,n,h))&&(a.remove$1(0,e),f=!1,(g=_.variables).get$isEmpty(g)&&(g=_.functions).get$isEmpty(g)&&(g=_.mixins).get$isEmpty(g)?(g=(g=_._shadowed_view0$_inner).get$css(g),g=w.get$isEmpty$asx(g.get$children(g))):g=f,g||a.$indexSet(0,_,m._1));for(c=(l=A.MapExtensions_get_pairs0(t,l,c).toList$0(0)).length,p=0;p<l.length;l.length===c||(0,A.throwConcurrentModificationError)(l),++p)e=(u=l[p])._0,null!=(_=A.ShadowedModuleView_ifNecessary0(e,i,r,n,h))&&(t.remove$1(0,e),m=!1,(d=_.variables).get$isEmpty(d)&&(d=_.functions).get$isEmpty(d)&&(d=_.mixins).get$isEmpty(d)?(d=(d=_._shadowed_view0$_inner).get$css(d),d=w.get$isEmpty$asx(d.get$children(d))):d=m,d||t.$indexSet(0,_,u._1));a.addAll$1(0,$),t.addAll$1(0,$)}else{if(null==(l=y._async_environment0$_nestedForwardedModules)){for(v=a-1,b=w.JSArray_JSArray$allocateGrowable(v,D.List_Module_AsyncCallable_2),a=D.JSArray_Module_AsyncCallable_2,p=0;p<v;++p)b[p]=A._setArrayType([],a);y._async_environment0$_nestedForwardedModules=b,a=b}else a=l;C.JSArray_methods.addAll$1(C.JSArray_methods.get$last(a),new A.LinkedHashMapKeysIterable($,A._instanceType($)._eval$1("LinkedHashMapKeysIterable<1>")))}for(n=A._LinkedHashSetIterator$(n,n._collection$_modifications,n.$ti._precomputed1),a=y._async_environment0$_variableIndices,l=y._async_environment0$_variableNodes,c=n.$ti._precomputed1;n.moveNext$0();)null==(u=n._collection$_current)&&(u=c._as(u)),a.remove$1(0,u),C.JSArray_methods.get$last(o).remove$1(0,u),C.JSArray_methods.get$last(l).remove$1(0,u);for(n=A._LinkedHashSetIterator$(i,i._collection$_modifications,i.$ti._precomputed1),i=y._async_environment0$_functionIndices,o=y._async_environment0$_functions,a=n.$ti._precomputed1;n.moveNext$0();)null==(l=n._collection$_current)&&(l=a._as(l)),i.remove$1(0,l),C.JSArray_methods.get$last(o).remove$1(0,l);for(r=A._LinkedHashSetIterator$(r,r._collection$_modifications,r.$ti._precomputed1),n=y._async_environment0$_mixinIndices,i=y._async_environment0$_mixins,o=r.$ti._precomputed1;r.moveNext$0();)null==(a=r._collection$_current)&&(a=o._as(a)),n.remove$1(0,a),C.JSArray_methods.get$last(i).remove$1(0,a)}},getVariable$2$namespace(e,t){var r,n,i,o=this;return null!=t?o._async_environment0$_getModule$1(t).get$variables().$index(0,e):o._async_environment0$_lastVariableName===e?((r=o._async_environment0$_lastVariableIndex).toString,null==(r=o._async_environment0$_variables[r].$index(0,e))?o._async_environment0$_getVariableFromGlobalModule$1(e):r):null!=(n=(r=o._async_environment0$_variableIndices).$index(0,e))?(o._async_environment0$_lastVariableName=e,o._async_environment0$_lastVariableIndex=n,null==(r=o._async_environment0$_variables[n].$index(0,e))?o._async_environment0$_getVariableFromGlobalModule$1(e):r):null!=(i=o._async_environment0$_variableIndex$1(e))?(o._async_environment0$_lastVariableName=e,o._async_environment0$_lastVariableIndex=i,r.$indexSet(0,e,i),null==(r=o._async_environment0$_variables[i].$index(0,e))?o._async_environment0$_getVariableFromGlobalModule$1(e):r):o._async_environment0$_getVariableFromGlobalModule$1(e)},getVariable$1(e){return this.getVariable$2$namespace(e,null)},_async_environment0$_getVariableFromGlobalModule$1(e){return this._async_environment0$_fromOneModule$3(e,"variable",new A.AsyncEnvironment__getVariableFromGlobalModule_closure0(e))},getVariableNode$2$namespace(e,t){var r,n,i,o=this;return null!=t?o._async_environment0$_getModule$1(t).get$variableNodes().$index(0,e):o._async_environment0$_lastVariableName===e?((r=o._async_environment0$_lastVariableIndex).toString,null==(r=o._async_environment0$_variableNodes[r].$index(0,e))?o._async_environment0$_getVariableNodeFromGlobalModule$1(e):r):null!=(n=(r=o._async_environment0$_variableIndices).$index(0,e))?(o._async_environment0$_lastVariableName=e,o._async_environment0$_lastVariableIndex=n,null==(r=o._async_environment0$_variableNodes[n].$index(0,e))?o._async_environment0$_getVariableNodeFromGlobalModule$1(e):r):null!=(i=o._async_environment0$_variableIndex$1(e))?(o._async_environment0$_lastVariableName=e,o._async_environment0$_lastVariableIndex=i,r.$indexSet(0,e,i),null==(r=o._async_environment0$_variableNodes[i].$index(0,e))?o._async_environment0$_getVariableNodeFromGlobalModule$1(e):r):o._async_environment0$_getVariableNodeFromGlobalModule$1(e)},_async_environment0$_getVariableNodeFromGlobalModule$1(e){var t,r,n;for(t=this._async_environment0$_importedModules,r=this._async_environment0$_globalModules,r=new A.LinkedHashMapKeysIterable(t,A._instanceType(t)._eval$1("LinkedHashMapKeysIterable<1>")).followedBy$1(0,new A.LinkedHashMapKeysIterable(r,A._instanceType(r)._eval$1("LinkedHashMapKeysIterable<1>"))),r=new A.FollowedByIterator(w.get$iterator$ax(r.__internal$_first),r._second);r.moveNext$0();)if(null!=(n=(t=r._currentIterator).get$current(t).get$variableNodes().$index(0,e)))return n;return null},globalVariableExists$2$namespace(e,t){return null!=t?this._async_environment0$_getModule$1(t).get$variables().containsKey$1(e):!!C.JSArray_methods.get$first(this._async_environment0$_variables).containsKey$1(e)||null!=this._async_environment0$_getVariableFromGlobalModule$1(e)},globalVariableExists$1(e){return this.globalVariableExists$2$namespace(e,null)},_async_environment0$_variableIndex$1(e){var t,r;for(r=(t=this._async_environment0$_variables).length-1;r>=0;--r)if(t[r].containsKey$1(e))return r;return null},setVariable$5$global$namespace(e,t,r,n,i){var o,s,a,l,c,u,d,h,p=this;if(null==i){if(n||1===p._async_environment0$_variables.length)return p._async_environment0$_variableIndices.putIfAbsent$2(e,new A.AsyncEnvironment_setVariable_closure2(p,e)),o=p._async_environment0$_variables,C.JSArray_methods.get$first(o).containsKey$1(e)||null==(s=p._async_environment0$_fromOneModule$3(e,"variable",new A.AsyncEnvironment_setVariable_closure3(e)))?(C.JSArray_methods.get$first(o).$indexSet(0,e,t),void C.JSArray_methods.get$first(p._async_environment0$_variableNodes).$indexSet(0,e,r)):void s.setVariable$3(e,t,r);if(null!=(a=p._async_environment0$_nestedForwardedModules)&&!p._async_environment0$_variableIndices.containsKey$1(e)&&null==p._async_environment0$_variableIndex$1(e))for(o=A._arrayInstanceType(a)._eval$1("ReversedListIterable<1>"),l=new A.ReversedListIterable(a,o),l=new A.ListIterator(l,l.get$length(0),o._eval$1("ListIterator<ListIterable.E>")),o=o._eval$1("ListIterable.E");l.moveNext$0();)for(c=l.__internal$_current,u=(c=w.get$reversed$ax(null==c?o._as(c):c)).$ti,c=new A.ListIterator(c,c.get$length(0),u._eval$1("ListIterator<ListIterable.E>")),u=u._eval$1("ListIterable.E");c.moveNext$0();)if(null==(d=c.__internal$_current)&&(d=u._as(d)),d.get$variables().containsKey$1(e))return void d.setVariable$3(e,t,r);p._async_environment0$_lastVariableName===e?((o=p._async_environment0$_lastVariableIndex).toString,h=o):h=p._async_environment0$_variableIndices.putIfAbsent$2(e,new A.AsyncEnvironment_setVariable_closure4(p,e)),p._async_environment0$_inSemiGlobalScope||0!==h||(h=p._async_environment0$_variables.length-1,p._async_environment0$_variableIndices.$indexSet(0,e,h)),p._async_environment0$_lastVariableName=e,p._async_environment0$_lastVariableIndex=h,p._async_environment0$_variables[h].$indexSet(0,e,t),p._async_environment0$_variableNodes[h].$indexSet(0,e,r)}else p._async_environment0$_getModule$1(i).setVariable$3(e,t,r)},setVariable$4$global(e,t,r,n){return this.setVariable$5$global$namespace(e,t,r,n,null)},setLocalVariable$3(e,t,r){var n,i=this,o=i._async_environment0$_variables,s=o.length;i._async_environment0$_lastVariableName=e,n=i._async_environment0$_lastVariableIndex=s-1,i._async_environment0$_variableIndices.$indexSet(0,e,n),o[n].$indexSet(0,e,t),i._async_environment0$_variableNodes[n].$indexSet(0,e,r)},getFunction$2$namespace(e,t){var r,n,i,o=this;return null!=t?(r=o._async_environment0$_getModule$1(t)).get$functions(r).$index(0,e):null!=(n=(r=o._async_environment0$_functionIndices).$index(0,e))?null==(r=o._async_environment0$_functions[n].$index(0,e))?o._async_environment0$_getFunctionFromGlobalModule$1(e):r:null!=(i=o._async_environment0$_functionIndex$1(e))?(r.$indexSet(0,e,i),null==(r=o._async_environment0$_functions[i].$index(0,e))?o._async_environment0$_getFunctionFromGlobalModule$1(e):r):o._async_environment0$_getFunctionFromGlobalModule$1(e)},getFunction$1(e){return this.getFunction$2$namespace(e,null)},_async_environment0$_getFunctionFromGlobalModule$1(e){return this._async_environment0$_fromOneModule$3(e,"function",new A.AsyncEnvironment__getFunctionFromGlobalModule_closure0(e))},_async_environment0$_functionIndex$1(e){var t,r;for(r=(t=this._async_environment0$_functions).length-1;r>=0;--r)if(t[r].containsKey$1(e))return r;return null},getMixin$2$namespace(e,t){var r,n,i,o=this;return null!=t?o._async_environment0$_getModule$1(t).get$mixins().$index(0,e):null!=(n=(r=o._async_environment0$_mixinIndices).$index(0,e))?null==(r=o._async_environment0$_mixins[n].$index(0,e))?o._async_environment0$_getMixinFromGlobalModule$1(e):r:null!=(i=o._async_environment0$_mixinIndex$1(e))?(r.$indexSet(0,e,i),null==(r=o._async_environment0$_mixins[i].$index(0,e))?o._async_environment0$_getMixinFromGlobalModule$1(e):r):o._async_environment0$_getMixinFromGlobalModule$1(e)},_async_environment0$_getMixinFromGlobalModule$1(e){return this._async_environment0$_fromOneModule$3(e,"mixin",new A.AsyncEnvironment__getMixinFromGlobalModule_closure0(e))},_async_environment0$_mixinIndex$1(e){var t,r;for(r=(t=this._async_environment0$_mixins).length-1;r>=0;--r)if(t[r].containsKey$1(e))return r;return null},withContent$2(e,t){return this.withContent$body$AsyncEnvironment0(e,t)},withContent$body$AsyncEnvironment0(e,t){var r,n=0,i=A._makeAsyncAwaitCompleter(D.void),o=this,s=A._wrapJsFunctionForAsync(function(a,l){if(1===a)return A._asyncRethrow(l,i);for(;;)switch(n){case 0:return r=o._async_environment0$_content,o._async_environment0$_content=e,n=2,A._asyncAwait(t.call$0(),s);case 2:return o._async_environment0$_content=r,A._asyncReturn(null,i)}});return A._asyncStartSync(s,i)},asMixin$1(e){var t,r=0,n=A._makeAsyncAwaitCompleter(D.void),i=this,o=A._wrapJsFunctionForAsync(function(s,a){if(1===s)return A._asyncRethrow(a,n);for(;;)switch(r){case 0:return t=i._async_environment0$_inMixin,i._async_environment0$_inMixin=!0,r=2,A._asyncAwait(e.call$0(),o);case 2:return i._async_environment0$_inMixin=t,A._asyncReturn(null,n)}});return A._asyncStartSync(o,n)},scope$1$3$semiGlobal$when(e,t,r,n){return this.scope$body$AsyncEnvironment0(e,t,r,n,n)},scope$1$1(e,t){return this.scope$1$3$semiGlobal$when(e,!1,!0,t)},scope$1$2$when(e,t,r){return this.scope$1$3$semiGlobal$when(e,!1,t,r)},scope$1$2$semiGlobal(e,t,r){return this.scope$1$3$semiGlobal$when(e,t,!0,r)},scope$body$AsyncEnvironment0(e,t,r,n,i){var o,s,a,l,c,u,d,h,p,m,_,g=0,f=A._makeAsyncAwaitCompleter(i),v=2,b=[],y=[],$=this,x=A._wrapJsFunctionForAsync(function(n,i){for(1===n&&(b.push(i),g=v);;)switch(g){case 0:t=t&&$._async_environment0$_inSemiGlobalScope,s=$._async_environment0$_inSemiGlobalScope,$._async_environment0$_inSemiGlobalScope=t,g=r?4:3;break;case 3:return v=5,g=8,A._asyncAwait(e.call$0(),x);case 8:o=u=i,y=[1],g=6;break;case 5:y=[2];case 6:v=2,$._async_environment0$_inSemiGlobalScope=s,g=y.pop();break;case 7:case 4:return u=$._async_environment0$_variables,d=D.String,C.JSArray_methods.add$1(u,A.LinkedHashMap_LinkedHashMap$_empty(d,D.Value_2)),h=$._async_environment0$_variableNodes,C.JSArray_methods.add$1(h,A.LinkedHashMap_LinkedHashMap$_empty(d,D.AstNode_2)),p=$._async_environment0$_functions,m=D.AsyncCallable_2,C.JSArray_methods.add$1(p,A.LinkedHashMap_LinkedHashMap$_empty(d,m)),_=$._async_environment0$_mixins,C.JSArray_methods.add$1(_,A.LinkedHashMap_LinkedHashMap$_empty(d,m)),null!=(m=$._async_environment0$_nestedForwardedModules)&&m.push(A._setArrayType([],D.JSArray_Module_AsyncCallable_2)),v=9,g=12,A._asyncAwait(e.call$0(),x);case 12:o=d=i,y=[1],g=10;break;case 9:y=[2];case 10:for(v=2,$._async_environment0$_inSemiGlobalScope=s,$._async_environment0$_lastVariableIndex=$._async_environment0$_lastVariableName=null,u=(u=(u=C.JSArray_methods.removeLast$0(u)).get$keys(u)).get$iterator(u),d=$._async_environment0$_variableIndices;u.moveNext$0();)a=u.get$current(u),d.remove$1(0,a);for(C.JSArray_methods.removeLast$0(h),u=(u=(u=C.JSArray_methods.removeLast$0(p)).get$keys(u)).get$iterator(u),d=$._async_environment0$_functionIndices;u.moveNext$0();)l=u.get$current(u),d.remove$1(0,l);for(u=(u=(u=C.JSArray_methods.removeLast$0(_)).get$keys(u)).get$iterator(u),d=$._async_environment0$_mixinIndices;u.moveNext$0();)c=u.get$current(u),d.remove$1(0,c);null!=(u=$._async_environment0$_nestedForwardedModules)&&u.pop(),g=y.pop();break;case 11:case 1:return A._asyncReturn(o,f);case 2:return A._asyncRethrow(b.at(-1),f)}});return A._asyncStartSync(x,f)},toImplicitConfiguration$0(){var e,t,r,n,i,o,s,a,l,c,u,d,h,p,m,_=this,g=null,f=D.String,v=A.LinkedHashMap_LinkedHashMap$_empty(f,D.ConfiguredValue_2);for(e=_._async_environment0$_variables,t=D.Value_2,r=_._async_environment0$_variableNodes,n=_._async_environment0$_importedModules,i=A._instanceType(n)._eval$1("LinkedHashMapKeysIterable<1>"),o=0;o<e.length;++o){for(s=0===o?new A.LinkedHashMapKeysIterable(n,i):null==(a=_._async_environment0$_nestedForwardedModules)?g:a[o-1],a=w.get$iterator$ax(null==s?C.List_empty30:s);a.moveNext$0();)for(l=a.get$current(a),c=(c=A.MapExtensions_get_pairs0(l.get$variables(),f,t)).get$iterator(c);c.moveNext$0();)d=(u=c.get$current(c))._0,h=u._1,(u=l.get$variableNodes().$index(0,d)).toString,v.$indexSet(0,d,new A.ConfiguredValue0(h,g,u));for(p=e[o],m=r[o],a=(a=A.MapExtensions_get_pairs0(p,f,t)).get$iterator(a);a.moveNext$0();)d=(l=a.get$current(a))._0,h=l._1,(l=m.$index(0,d)).toString,v.$indexSet(0,d,new A.ConfiguredValue0(h,g,l))}return new A.Configuration0(v,g)},toModule$3(e,t,r){return A._EnvironmentModule__EnvironmentModule2(this,e,t,r,A.NullableExtension_andThen0(this._async_environment0$_forwardedModules,new A.AsyncEnvironment_toModule_closure0))},toDummyModule$0(){return A._EnvironmentModule__EnvironmentModule2(this,new A.CssStylesheet0(new A.UnmodifiableListView(C.List_empty20,D.UnmodifiableListView_CssNode_2),A.SourceFile$decoded(C.List_empty4,"<dummy module>").span$1(0,0)),C.Map_empty16,C.C_EmptyExtensionStore0,A.NullableExtension_andThen0(this._async_environment0$_forwardedModules,new A.AsyncEnvironment_toDummyModule_closure0))},_async_environment0$_getModule$1(e){var t=this._async_environment0$_modules.$index(0,e);if(null!=t)return t;throw A.wrapException(A.SassScriptException$0('There is no module with the namespace "'+e+'".',null))},_async_environment0$_fromOneModule$1$3(e,t,r){var n,i,o,s,a,l,c,u,d,h,p,m,_,g=this._async_environment0$_nestedForwardedModules;if(null!=g)for(n=A._arrayInstanceType(g)._eval$1("ReversedListIterable<1>"),i=new A.ReversedListIterable(g,n),i=new A.ListIterator(i,i.get$length(0),n._eval$1("ListIterator<ListIterable.E>")),n=n._eval$1("ListIterable.E");i.moveNext$0();)for(o=i.__internal$_current,s=(o=w.get$reversed$ax(null==o?n._as(o):o)).$ti,o=new A.ListIterator(o,o.get$length(0),s._eval$1("ListIterator<ListIterable.E>")),s=s._eval$1("ListIterable.E");o.moveNext$0();)if(a=o.__internal$_current,null!=(l=r.call$1(null==a?s._as(a):a)))return l;for(n=this._async_environment0$_importedModules,n=new A.LinkedHashMapKeyIterator(n,n._modifications,n._first);n.moveNext$0();)if(null!=(c=r.call$1(n.__js_helper$_current)))return c;for(n=this._async_environment0$_globalModules,i=new A.LinkedHashMapKeyIterator(n,n._modifications,n._first),o=D.AsyncCallable_2,u=null,d=null;i.moveNext$0();)if(s=i.__js_helper$_current,null!=(h=r.call$1(s))&&!(p=o._is(h)?h:s.variableIdentity$1(e)).$eq(0,d)){if(null!=u){for(i=A.LinkedHashMap_LinkedHashMap$_empty(D.FileSpan,D.String),o=(o=A.MapExtensions_get_pairs0(n,D.Module_AsyncCallable_2,D.AstNode_2)).get$iterator(o),s="includes "+t;o.moveNext$0();)m=(n=o.get$current(o))._0,_=n._1,null!=r.call$1(m)&&i.$indexSet(0,_.get$span(_),s);throw A.wrapException(A.MultiSpanSassScriptException$0("This "+t+P.x20is_av,t+" use",i))}d=p,u=h}return u},_async_environment0$_fromOneModule$3(e,t,r){return this._async_environment0$_fromOneModule$1$3(e,t,r,D.dynamic)}},A.AsyncEnvironment__getVariableFromGlobalModule_closure0.prototype={call$1(e){return e.get$variables().$index(0,this.name)},$signature:314},A.AsyncEnvironment_setVariable_closure2.prototype={call$0(){var e=this.$this;return e._async_environment0$_lastVariableName=this.name,e._async_environment0$_lastVariableIndex=0},$signature:10},A.AsyncEnvironment_setVariable_closure3.prototype={call$1(e){return e.get$variables().containsKey$1(this.name)?e:null},$signature:315},A.AsyncEnvironment_setVariable_closure4.prototype={call$0(){var e=this.$this,t=e._async_environment0$_variableIndex$1(this.name);return null==t?e._async_environment0$_variables.length-1:t},$signature:10},A.AsyncEnvironment__getFunctionFromGlobalModule_closure0.prototype={call$1(e){return e.get$functions(e).$index(0,this.name)},$signature:203},A.AsyncEnvironment__getMixinFromGlobalModule_closure0.prototype={call$1(e){return e.get$mixins().$index(0,this.name)},$signature:203},A.AsyncEnvironment_toModule_closure0.prototype={call$1:e=>new A.MapKeySet(e,D.MapKeySet_Module_AsyncCallable_2),$signature:204},A.AsyncEnvironment_toDummyModule_closure0.prototype={call$1:e=>new A.MapKeySet(e,D.MapKeySet_Module_AsyncCallable_2),$signature:204},A._EnvironmentModule2.prototype={get$url(e){var t=this.css;return(t=t.get$span(t)).get$sourceUrl(t)},setVariable$3(e,t,r){var n,i,o=this._async_environment0$_modulesByVariable.$index(0,e);if(null==o){if(i=(n=this._async_environment0$_environment)._async_environment0$_variables,!C.JSArray_methods.get$first(i).containsKey$1(e))throw A.wrapException(A.SassScriptException$0("Undefined variable.",null));C.JSArray_methods.get$first(i).$indexSet(0,e,t),C.JSArray_methods.get$first(n._async_environment0$_variableNodes).$indexSet(0,e,r)}else o.setVariable$3(e,t,r)},variableIdentity$1(e){var t=this._async_environment0$_modulesByVariable.$index(0,e);return null==t?this:t.variableIdentity$1(e)},couldHaveBeenConfigured$1(e){var t,r,n,i,o,s=this._async_environment0$_environment._async_environment0$_configurableVariables;if(e.get$length(e)<s.get$length(s)?e.any$1(0,s.get$contains(s)):s.any$1(0,e.get$contains(e)))s=!0;else{if(s=this._async_environment0$_modulesByVariable,t=D.Module_AsyncCallable_2,e.get$length(e)<s.get$length(s)){for(t=A.LinkedHashSet_LinkedHashSet$_empty(t),r=e.get$iterator(e);r.moveNext$0();)null!=(n=s.$index(0,r.get$current(r)))&&t.add$1(0,n);s=t}else{for(r=A.LinkedHashSet_LinkedHashSet$_empty(t),s=(s=A.MapExtensions_get_pairs0(s,D.String,t)).get$iterator(s);s.moveNext$0();)i=(t=s.get$current(s))._0,o=t._1,e.contains$1(0,i)&&r.add$1(0,o);s=r}s=s.any$1(0,new A._EnvironmentModule_couldHaveBeenConfigured_closure2(e))}return s},cloneCss$0(){var e,t=this;return t.transitivelyContainsCss?(e=A.cloneCssStylesheet0(t.css,t.extensionStore),A._EnvironmentModule$_2(t._async_environment0$_environment,e._0,t.preModuleComments,e._1,t._async_environment0$_modulesByVariable,t.variables,t.variableNodes,t.functions,t.mixins,!0,t.transitivelyContainsExtensions)):t},toString$0(e){var t=this.css,r=t.get$span(t);return null==r.get$sourceUrl(r)?t="<unknown url>":(t=(t=t.get$span(t)).get$sourceUrl(t),r=I.$get$context(),t.toString,t=r.prettyUri$1(t)),t},$isModule1:1,get$upstream(){return this.upstream},get$variables(){return this.variables},get$variableNodes(){return this.variableNodes},get$functions(e){return this.functions},get$mixins(){return this.mixins},get$extensionStore(){return this.extensionStore},get$css(e){return this.css},get$preModuleComments(){return this.preModuleComments},get$transitivelyContainsCss(){return this.transitivelyContainsCss},get$transitivelyContainsExtensions(){return this.transitivelyContainsExtensions}},A._EnvironmentModule__EnvironmentModule_closure17.prototype={call$1:e=>e.get$variables(),$signature:318},A._EnvironmentModule__EnvironmentModule_closure18.prototype={call$1:e=>e.get$variableNodes(),$signature:319},A._EnvironmentModule__EnvironmentModule_closure19.prototype={call$1:e=>e.get$functions(e),$signature:205},A._EnvironmentModule__EnvironmentModule_closure20.prototype={call$1:e=>e.get$mixins(),$signature:205},A._EnvironmentModule__EnvironmentModule_closure21.prototype={call$1:e=>e.get$transitivelyContainsCss(),$signature:118},A._EnvironmentModule__EnvironmentModule_closure22.prototype={call$1:e=>e.get$transitivelyContainsExtensions(),$signature:118},A._EnvironmentModule_couldHaveBeenConfigured_closure2.prototype={call$1(e){return e.couldHaveBeenConfigured$1(this.variables)},$signature:118},A._EvaluateVisitor2.prototype={get$_async_evaluate0$_hasCssNesting(){for(var e,t,r,n=this._async_evaluate0$_atRootExcludingStyleRule?null:this._async_evaluate0$_styleRuleIgnoringAtRoot;;n=r){if((e=null==n?null:n._node$_parent)instanceof A.ModifiableCssStyleRule0)return!0;if(r=(t=null!=e)?e:null,!t)return!1}},_EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap2(e,t,r,n,i,o){var s,a,l,c,u,d,h,p=this,m="$name, $module: null",_="sass:meta",g="$module",f=D.JSArray_AsyncBuiltInCallable_2,v=A._setArrayType([A.BuiltInCallable$function0("global-variable-exists",m,new A._EvaluateVisitor_closure38(p),_),A.BuiltInCallable$function0("variable-exists","$name",new A._EvaluateVisitor_closure39(p),_),A.BuiltInCallable$function0("function-exists",m,new A._EvaluateVisitor_closure40(p),_),A.BuiltInCallable$function0("mixin-exists",m,new A._EvaluateVisitor_closure41(p),_),A.BuiltInCallable$function0("content-exists","",new A._EvaluateVisitor_closure42(p),_),A.BuiltInCallable$function0("module-variables",g,new A._EvaluateVisitor_closure43(p),_),A.BuiltInCallable$function0("module-functions",g,new A._EvaluateVisitor_closure44(p),_),A.BuiltInCallable$function0("module-mixins",g,new A._EvaluateVisitor_closure45(p),_),A.BuiltInCallable$function0("get-function","$name, $css: false, $module: null",new A._EvaluateVisitor_closure46(p),_),A.BuiltInCallable$function0("get-mixin",m,new A._EvaluateVisitor_closure47(p),_),new A.AsyncBuiltInCallable0("call",A.ScssParser$0("@function call($function, $args...) {",!1,_).parseParameterList$0(),new A._EvaluateVisitor_closure48(p),!1)],f),b=A._setArrayType([A.AsyncBuiltInCallable$mixin0("load-css","$url, $with: null",new A._EvaluateVisitor_closure49(p),!1,_),A.AsyncBuiltInCallable$mixin0("apply","$mixin, $args...",new A._EvaluateVisitor_closure50(p),!0,_)],f);for(f=D.AsyncBuiltInCallable_2,s=A.List_List$_of(I.$get$moduleFunctions0(),f),C.JSArray_methods.addAll$1(s,v),a=A.BuiltInModule$0("meta",s,b,null,f),(f=A.List_List$_of(I.$get$coreModules0(),D.BuiltInModule_AsyncCallable_2)).push(a),s=f.length,l=p._async_evaluate0$_builtInModules,c=0;c<f.length;f.length===s||(0,A.throwConcurrentModificationError)(f),++c)u=f[c],l.$indexSet(0,u.url,u);for(f=D.JSArray_AsyncCallable_2,s=A._setArrayType([],f),C.JSArray_methods.addAll$1(s,e),C.JSArray_methods.addAll$1(s,I.$get$globalFunctions0()),f=A._setArrayType([],f),c=0;c<11;++c)f.push(v[c].withDeprecationWarning$1("meta"));for(C.JSArray_methods.addAll$1(s,f),f=s.length,l=p._async_evaluate0$_builtInFunctions,c=0;c<s.length;s.length===f||(0,A.throwConcurrentModificationError)(s),++c)h=(d=s[c]).get$name(d),l.$indexSet(0,A.stringReplaceAllUnchecked(h,"_","-"),d)},run$2(e,t,r){return this.run$body$_EvaluateVisitor0(0,t,r)},run$body$_EvaluateVisitor0(e,t,r){var n,i,o,s,a,l=0,c=A._makeAsyncAwaitCompleter(D.Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2),u=2,d=[],h=this,p=A._wrapJsFunctionForAsync(function(e,m){for(1===e&&(d.push(m),l=u);;)switch(l){case 0:return u=4,s=D.nullable_Object,s=A.runZoned(new A._EvaluateVisitor_run_closure2(h,r,t),A.LinkedHashMap_LinkedHashMap$_literal([C.Symbol__evaluationContext,new A._EvaluationContext2(h,r)],s,s),D.FutureOr_Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2),l=7,A._asyncAwait(D.Future_Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2._is(s)?s:A._Future$value(s,D.Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2),p);case 7:n=s=m,l=1;break;case 4:if(u=3,a=d.pop(),!((s=A.unwrapException(a))instanceof A.SassException0))throw a;i=s,o=A.getTraceFromException(a),A.throwWithTrace0(i.withLoadedUrls$1(h._async_evaluate0$_loadedUrls),i,o),l=6;break;case 3:l=2;break;case 6:case 1:return A._asyncReturn(n,c);case 2:return A._asyncRethrow(d.at(-1),c)}});return A._asyncStartSync(p,c)},_async_evaluate0$_assertInModule$1$2(e,t){if(null!=e)return e;throw A.wrapException(A.StateError$("Can't access "+t+" outside of a module."))},_async_evaluate0$_assertInModule$2(e,t){return this._async_evaluate0$_assertInModule$1$2(e,t,D.dynamic)},_async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(e,t,r,n,i,o,s){return this._loadModule$body$_EvaluateVisitor0(e,t,r,n,i,o,s)},_async_evaluate0$_loadModule$5$configuration(e,t,r,n,i){return this._async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(e,t,r,n,null,i,!1)},_async_evaluate0$_loadModule$4(e,t,r,n){return this._async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(e,t,r,n,null,null,!1)},_loadModule$body$_EvaluateVisitor0(e,t,r,n,i,o,s){var a,l,c,u=0,d=A._makeAsyncAwaitCompleter(D.void),h=this,p=A._wrapJsFunctionForAsync(function(m,_){if(1===m)return A._asyncRethrow(_,d);for(;;)switch(u){case 0:l=h._async_evaluate0$_builtInModules.$index(0,e),(c={}).builtInModule=null,u=null!=l?3:4;break;case 3:if(c.builtInModule=l,o instanceof A.ExplicitConfiguration0)throw c=s?"Built-in module "+e.toString$0(0)+" can't be configured.":"Built-in modules can't be configured.",a=o.nodeWithSpan,A.wrapException(h._async_evaluate0$_exception$2(c,a.get$span(a)));return u=5,A._asyncAwait(h._async_evaluate0$_addExceptionSpanAsync$1$2(r,new A._EvaluateVisitor__loadModule_closure5(c,n),D.void),p);case 5:u=1;break;case 4:return u=6,A._asyncAwait(h._async_evaluate0$_withStackFrame$1$3(t,r,new A._EvaluateVisitor__loadModule_closure6(h,e,r,i,s,o,n),D.Null),p);case 6:case 1:return A._asyncReturn(undefined,d)}});return A._asyncStartSync(p,d)},_async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(e,t,r,n,i){return this._execute$body$_EvaluateVisitor0(e,t,r,n,i)},_async_evaluate0$_execute$2(e,t){return this._async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(e,t,null,!1,null)},_execute$body$_EvaluateVisitor0(e,t,r,n,i){var o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y=0,$=A._makeAsyncAwaitCompleter(D.Module_AsyncCallable_2),x=this,S=A._wrapJsFunctionForAsync(function(w,E){if(1===w)return A._asyncRethrow(E,$);for(;;)switch(y){case 0:if(v=t.span,b=v.get$sourceUrl(v),s=(v=null==r)?x._async_evaluate0$_configuration:r,a=x._async_evaluate0$_modules,null!=(l=a.$index(0,b))){if(a=x._async_evaluate0$_moduleConfigurations.$index(0,b),c=a._configuration0$__originalConfiguration,a=null==c?a:c,c=s._configuration0$__originalConfiguration,a!==(null==c?s:c)&&s instanceof A.ExplicitConfiguration0&&l.couldHaveBeenConfigured$1(new A.MapKeySet(new A.UnmodifiableMapView(s._configuration0$_values,D.UnmodifiableMapView_String_ConfiguredValue_2),D.MapKeySet_String)))throw n?(a=I.$get$context(),b.toString,u=a.prettyUri$1(b)+P.x20was_a):u=P.This_mw,a=x._async_evaluate0$_moduleNodes.$index(0,b),d=null==a?null:a.get$span(a),v?(v=s.nodeWithSpan,h=v.get$span(v)):h=null,v=A.LinkedHashMap_LinkedHashMap$_empty(D.FileSpan,D.String),null!=d&&v.$indexSet(0,d,"original load"),null!=h&&v.$indexSet(0,h,"configuration"),A.wrapException(v.get$isEmpty(0)?x._async_evaluate0$_exception$1(u):x._async_evaluate0$_multiSpanException$3(u,"new load",v));o=l,y=1;break}return p=A.AsyncEnvironment$0(),m=A._Cell$(),_=A._Cell$(),g=A.ExtensionStore$0(),y=3,A._asyncAwait(x._async_evaluate0$_withEnvironment$1$2(p,new A._EvaluateVisitor__execute_closure2(x,e,t,g,r,m,_),D.Null),S);case 3:v=m._readLocal$0(),c=_._readLocal$0(),f=p.toModule$3(v,null==c?C.Map_empty16:c,g),null!=b&&(a.$indexSet(0,b,f),x._async_evaluate0$_moduleConfigurations.$indexSet(0,b,s),null!=i&&x._async_evaluate0$_moduleNodes.$indexSet(0,b,i)),o=f,y=1;break;case 1:return A._asyncReturn(o,$)}});return A._asyncStartSync(S,$)},_async_evaluate0$_addOutOfOrderImports$0(){var e,t,r=this,n="_root",i="_endOfImports",o=r._async_evaluate0$_outOfOrderImports;return null!=o?(e=r._async_evaluate0$_assertInModule$2(r._async_evaluate0$__root,n).children,e=A.List_List$_of(A.SubListIterable$(e,0,A.checkNotNullable(r._async_evaluate0$_assertInModule$2(r._async_evaluate0$__endOfImports,i),"count",D.int),e.$ti._eval$1("ListBase.E")),D.ModifiableCssNode_2),C.JSArray_methods.addAll$1(e,o),t=r._async_evaluate0$_assertInModule$2(r._async_evaluate0$__root,n).children,C.JSArray_methods.addAll$1(e,A.SubListIterable$(t,r._async_evaluate0$_assertInModule$2(r._async_evaluate0$__endOfImports,i),null,t.$ti._eval$1("ListBase.E")))):e=r._async_evaluate0$_assertInModule$2(r._async_evaluate0$__root,n).children,e},_async_evaluate0$_combineCss$2$clone(e,t){var r,n,i,o,s,a,l;return C.JSArray_methods.any$1(e.get$upstream(),new A._EvaluateVisitor__combineCss_closure5)?(i=D.JSArray_CssNode_2,o=A._setArrayType([],i),s=A._setArrayType([],i),i=D.Module_AsyncCallable_2,a=A.ListQueue$(i),new A._EvaluateVisitor__combineCss_visitModule2(this,A.LinkedHashSet_LinkedHashSet$_empty(i),t,s,o,a).call$1(e),e.get$transitivelyContainsExtensions()&&this._async_evaluate0$_extendModules$1(a),i=C.JSArray_methods.$add(o,s),l=e.get$css(e),new A.CssStylesheet0(new A.UnmodifiableListView(i,D.UnmodifiableListView_CssNode_2),l.get$span(l))):(r=e.get$extensionStore().get$simpleSelectors(),null!=(n=A.IterableExtension_get_firstOrNull(e.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure6(r))))&&this._async_evaluate0$_throwForUnsatisfiedExtension$1(n),e.get$css(e))},_async_evaluate0$_combineCss$1(e){return this._async_evaluate0$_combineCss$2$clone(e,!1)},_async_evaluate0$_extendModules$1(e){var t,r,n,i,o,s,a,l,c,u,d=A.LinkedHashMap_LinkedHashMap$_empty(D.Uri,D.List_ExtensionStore_2),h=new A._LinkedIdentityHashSet(D._LinkedIdentityHashSet_Extension_2);for(r=(t=A._ListQueueIterator$(e,e.$ti._precomputed1)).$ti._precomputed1;t.moveNext$0();)if(null==(n=t._collection$_current)&&(n=r._as(n)),i=n.get$extensionStore().get$simpleSelectors().toSet$0(0),h.addAll$1(0,n.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure5(i))),o=d.$index(0,n.get$url(n)),s=n.get$extensionStore().get$addExtensions(),null!=o&&s.call$1(o),!(s=n.get$extensionStore()).get$isEmpty(s)){for(a=(s=n.get$upstream()).length,l=0;l<s.length;s.length===a||(0,A.throwConcurrentModificationError)(s),++l)null!=(u=(c=s[l]).get$url(c))&&w.add$1$ax(d.putIfAbsent$2(u,new A._EvaluateVisitor__extendModules_closure6),n.get$extensionStore());h.removeAll$1(n.get$extensionStore().extensionsWhereTarget$1(i.get$contains(i)))}0!==h._collection$_length&&this._async_evaluate0$_throwForUnsatisfiedExtension$1(h.get$first(0))},_async_evaluate0$_throwForUnsatisfiedExtension$1(e){throw A.wrapException(A.SassException$0(P.The_ta+e.target.toString$0(0)+' !optional" to avoid this error.',e.span,null))},_async_evaluate0$_indexAfterImports$1(e){var t,r,n,i;for(t=w.getInterceptor$asx(e),r=-1,n=0;n<t.get$length(e);++n){if(!((i=t.$index(e,n))instanceof A.ModifiableCssImport0)){if(i instanceof A.ModifiableCssComment0)continue;break}r=n}return r+1},visitStylesheet$1(e,t){return this.visitStylesheet$body$_EvaluateVisitor0(0,t)},visitStylesheet$body$_EvaluateVisitor0(e,t){var r,n,i,o,s,a,l,c=0,u=A._makeAsyncAwaitCompleter(D.nullable_Value_2),d=this,h=A._wrapJsFunctionForAsync(function(e,p){if(1===e)return A._asyncRethrow(p,u);for(;;)switch(c){case 0:for(n=t.parseTimeWarnings,i=n.$ti,n=new A.ListIterator(n,n.get$length(0),i._eval$1("ListIterator<ListBase.E>")),i=i._eval$1("ListBase.E");n.moveNext$0();)null==(o=n.__internal$_current)&&(o=i._as(o)),d._async_evaluate0$_warn$3(o._1,o._2,o._0);n=t.children,i=n.length,s=0;case 3:if(!(s<i)){c=5;break}return c=6,A._asyncAwait(n[s].accept$1(d),h);case 6:case 4:++s,c=3;break;case 5:for(n=(n=A.MapExtensions_get_pairs0(t.globalVariables,D.String,D.FileSpan)).get$iterator(n);n.moveNext$0();)i=n.get$current(n),a=i._0,l=i._1,d.visitVariableDeclaration$1(0,new A.VariableDeclaration0(null,a,new A.NullExpression0(l),!0,!1,l));r=null,c=1;break;case 1:return A._asyncReturn(r,u)}});return A._asyncStartSync(h,u)},visitAtRootRule$1(e,t){return this.visitAtRootRule$body$_EvaluateVisitor0(0,t)},visitAtRootRule$body$_EvaluateVisitor0(e,t){var r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v=0,b=A._makeAsyncAwaitCompleter(D.nullable_Value_2),y=this,$=A._wrapJsFunctionForAsync(function(e,x){if(1===e)return A._asyncRethrow(x,b);for(;;)switch(v){case 0:f=t.query,v=null!=f?3:5;break;case 3:return v=6,A._asyncAwait(y._async_evaluate0$_performInterpolationWithMap$2$warnForColor(f,!0),$);case 6:i=(n=x)._0,n._1,o=new A.AtRootQueryParser0(A.SpanScanner$(i,null),null).parse$0(0),v=4;break;case 5:o=C.AtRootQuery_bfj0;case 4:for(s=y._async_evaluate0$_assertInModule$2(y._async_evaluate0$__parent,"__parent"),a=A._setArrayType([],D.JSArray_ModifiableCssParentNode_2),l=D.CssStylesheet_2;!l._is(s);s=c)if(o.excludes$1(s)||a.push(s),null==(c=s._node$_parent))throw A.wrapException(A.StateError$(P.CssNod));u=y._async_evaluate0$_trimIncluded$1(a),v=u===y._async_evaluate0$_assertInModule$2(y._async_evaluate0$__parent,"__parent")?7:8;break;case 7:return v=9,A._asyncAwait(y._async_evaluate0$_environment.scope$1$2$when(new A._EvaluateVisitor_visitAtRootRule_closure5(y,t),t.hasDeclarations,D.Null),$);case 9:r=null,v=1;break;case 8:if(a.length>=1){for(d=a[0],h=C.JSArray_methods.sublist$1(a,1),p=d.copyWithoutChildren$0(),l=h.length,m=p,_=0;_<h.length;h.length===l||(0,A.throwConcurrentModificationError)(h),++_,m=g)(g=h[_].copyWithoutChildren$0()).addChild$1(m);u.addChild$1(m)}else p=u;return v=10,A._asyncAwait(y._async_evaluate0$_scopeForAtRoot$4(t,p,o,a).call$1(new A._EvaluateVisitor_visitAtRootRule_closure6(y,t)),$);case 10:r=null,v=1;break;case 1:return A._asyncReturn(r,b)}});return A._asyncStartSync($,b)},_async_evaluate0$_trimIncluded$1(e){var t,r,n,i,o,s,a,l,c=this,u=null,d="_root",h=" to be an ancestor of ";if(0===e.length)return c._async_evaluate0$_assertInModule$2(c._async_evaluate0$__root,d);for(t=c._async_evaluate0$_assertInModule$2(c._async_evaluate0$__parent,"__parent"),r=e.length,n=u,i=0;i<r;++i,t=a){for(;t!==(o=e[i]);n=u,t=s)if(null==(s=t._node$_parent))throw A.wrapException(A.ArgumentError$("Expected "+o.toString$0(0)+h+c.toString$0(0)+".",u));if(null==n&&(n=i),null==(a=t._node$_parent))throw A.wrapException(A.ArgumentError$("Expected "+o.toString$0(0)+h+c.toString$0(0)+".",u))}return t!==c._async_evaluate0$_assertInModule$2(c._async_evaluate0$__root,d)?c._async_evaluate0$_assertInModule$2(c._async_evaluate0$__root,d):(n.toString,l=e[n],C.JSArray_methods.removeRange$2(e,n,e.length),l)},_async_evaluate0$_scopeForAtRoot$4(e,t,r,n){var i=this,o=new A._EvaluateVisitor__scopeForAtRoot_closure17(i,t,e);return(r._at_root_query0$_all||r._at_root_query0$_rule)!==r.include&&(o=new A._EvaluateVisitor__scopeForAtRoot_closure18(i,o)),null!=i._async_evaluate0$_mediaQueries&&r.excludesName$1("media")&&(o=new A._EvaluateVisitor__scopeForAtRoot_closure19(i,o)),i._async_evaluate0$_inKeyframes&&r.excludesName$1("keyframes")&&(o=new A._EvaluateVisitor__scopeForAtRoot_closure20(i,o)),i._async_evaluate0$_inUnknownAtRule&&!C.JSArray_methods.any$1(n,new A._EvaluateVisitor__scopeForAtRoot_closure21)?new A._EvaluateVisitor__scopeForAtRoot_closure22(i,o):o},visitContentBlock$1:(e,t)=>A.throwExpression(A.UnsupportedError$(P.Evalua)),visitContentRule$1(e,t){return this.visitContentRule$body$_EvaluateVisitor0(0,t)},visitContentRule$body$_EvaluateVisitor0(e,t){var r,n,i=0,o=A._makeAsyncAwaitCompleter(D.nullable_Value_2),s=this,a=A._wrapJsFunctionForAsync(function(e,l){if(1===e)return A._asyncRethrow(l,o);for(;;)switch(i){case 0:if(null==(n=s._async_evaluate0$_environment._async_environment0$_content)){r=null,i=1;break}return i=3,A._asyncAwait(s._async_evaluate0$_runUserDefinedCallable$1$4(t.$arguments,n,t,new A._EvaluateVisitor_visitContentRule_closure2(s,n),D.Null),a);case 3:r=null,i=1;break;case 1:return A._asyncReturn(r,o)}});return A._asyncStartSync(a,o)},visitDebugRule$1(e,t){return this.visitDebugRule$body$_EvaluateVisitor0(0,t)},visitDebugRule$body$_EvaluateVisitor0(e,t){var r,n,i,o=0,s=A._makeAsyncAwaitCompleter(D.nullable_Value_2),a=this,l=A._wrapJsFunctionForAsync(function(e,c){if(1===e)return A._asyncRethrow(c,s);for(;;)switch(o){case 0:return o=3,A._asyncAwait(t.expression.accept$1(a),l);case 3:i=(n=c)instanceof A.SassString0?n._string0$_text:A.serializeValue0(n,!0,!0),a._async_evaluate0$_logger.debug$2(0,i,t.span),r=null,o=1;break;case 1:return A._asyncReturn(r,s)}});return A._asyncStartSync(l,s)},visitDeclaration$1(e,t){return this.visitDeclaration$body$_EvaluateVisitor0(0,t)},visitDeclaration$body$_EvaluateVisitor0(e,t){var r,n,i,o,s,a,l,c,u,d,h=0,p=A._makeAsyncAwaitCompleter(D.nullable_Value_2),m=this,_=A._wrapJsFunctionForAsync(function(e,g){if(1===e)return A._asyncRethrow(g,p);for(;;)switch(h){case 0:if(null==(m._async_evaluate0$_atRootExcludingStyleRule?null:m._async_evaluate0$_styleRuleIgnoringAtRoot)&&!m._async_evaluate0$_inUnknownAtRule&&!m._async_evaluate0$_inKeyframes)throw A.wrapException(m._async_evaluate0$_exception$2(P.Declarm,t.span));if(null!=m._async_evaluate0$_declarationName&&!t.parsedAsSassScript)throw n=C.JSString_methods.startsWith$1(t.name.get$initialPlain(),"--")?P.Declarw:P.Declarp,A.wrapException(m._async_evaluate0$_exception$2(n,t.span));return h=3,A._asyncAwait(m._async_evaluate0$_interpolationToValue$2$warnForColor(t.name,!0),_);case 3:i=g,null!=(o=m._async_evaluate0$_declarationName)&&(i=new A.CssValue0(o+"-"+i.value,i.span,D.CssValue_String_2)),s=t.value,h=null!=s?4:5;break;case 4:return h=6,A._asyncAwait(s.accept$1(m),_);case 6:(a=g).get$isBlank()&&0!==a.get$asList().length&&!C.JSString_methods.startsWith$1(i.value,"--")||(m._async_evaluate0$_copyParentAfterSibling$0(),n=m._async_evaluate0$_assertInModule$2(m._async_evaluate0$__parent,"__parent"),l=s.get$span(s),c=m._async_evaluate0$_sourceMap?null==(c=A.NullableExtension_andThen0(s,m.get$_async_evaluate0$_expressionNode()))?null:w.get$span$x(c):null,n.addChild$1(A.ModifiableCssDeclaration$0(i,new A.CssValue0(a,l,D.CssValue_Value_2),t.span,t.parsedAsSassScript,c)));case 5:u=t.children,(n={}).children=null,h=null!=u?7:8;break;case 7:return n.children=u,d=m._async_evaluate0$_declarationName,m._async_evaluate0$_declarationName=i.value,h=9,A._asyncAwait(m._async_evaluate0$_environment.scope$1$2$when(new A._EvaluateVisitor_visitDeclaration_closure2(n,m),t.hasDeclarations,D.Null),_);case 9:m._async_evaluate0$_declarationName=d;case 8:r=null,h=1;break;case 1:return A._asyncReturn(r,p)}});return A._asyncStartSync(_,p)},visitEachRule$1(e,t){return this.visitEachRule$body$_EvaluateVisitor0(0,t)},visitEachRule$body$_EvaluateVisitor0(e,t){var r,n,i,o,s,a=0,l=A._makeAsyncAwaitCompleter(D.nullable_Value_2),c=this,u=A._wrapJsFunctionForAsync(function(e,d){if(1===e)return A._asyncRethrow(d,l);for(;;)switch(a){case 0:return n=t.list,a=3,A._asyncAwait(n.accept$1(c),u);case 3:i=d,o=c._async_evaluate0$_expressionNode$1(n),s=t.variables,(n={}).variable=null,1!==s.length?((n={}).variables=null,n.variables=s,n=new A._EvaluateVisitor_visitEachRule_closure9(n,c,o)):(n.variable=s[0],n=new A._EvaluateVisitor_visitEachRule_closure8(n,c,o)),r=c._async_evaluate0$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitEachRule_closure10(c,i,n,t),!0,D.nullable_Value_2),a=1;break;case 1:return A._asyncReturn(r,l)}});return A._asyncStartSync(u,l)},_async_evaluate0$_setMultipleVariables$3(e,t,r){var n,i=t.get$asList(),o=e.length,s=Math.min(o,i.length);for(n=0;n<s;++n)this._async_evaluate0$_environment.setLocalVariable$3(e[n],this._async_evaluate0$_withoutSlash$2(i[n],r),r);for(n=s;n<o;++n)this._async_evaluate0$_environment.setLocalVariable$3(e[n],C.C__SassNull0,r)},visitErrorRule$1(e,t){return this.visitErrorRule$body$_EvaluateVisitor0(0,t)},visitErrorRule$body$_EvaluateVisitor0(e,t){var r,n,i=0,o=A._makeAsyncAwaitCompleter(D.Value_2),s=this,a=A._wrapJsFunctionForAsync(function(e,l){if(1===e)return A._asyncRethrow(l,o);for(;;)switch(i){case 0:return r=A,n=w,i=2,A._asyncAwait(t.expression.accept$1(s),a);case 2:throw r.wrapException(s._async_evaluate0$_exception$2(n.toString$0$(l),t.span))}});return A._asyncStartSync(a,o)},visitExtendRule$1(e,t){return this.visitExtendRule$body$_EvaluateVisitor0(0,t)},visitExtendRule$body$_EvaluateVisitor0(e,t){var r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b=0,y=A._makeAsyncAwaitCompleter(D.nullable_Value_2),$=this,x=A._wrapJsFunctionForAsync(function(e,S){if(1===e)return A._asyncRethrow(S,y);for(;;)switch(b){case 0:if(null==(v=$._async_evaluate0$_atRootExcludingStyleRule?null:$._async_evaluate0$_styleRuleIgnoringAtRoot)||null!=$._async_evaluate0$_declarationName)throw A.wrapException($._async_evaluate0$_exception$2(P.x40exten,t.span));for(n=v.originalSelector.components,i=n.length,o=t.span,s=D.SourceSpan,a=D.String,l=0;l<i;++l)(c=n[l]).accept$1(C._IsBogusVisitor_true0)&&(u=A._SerializeVisitor$0(null,!0,null,null,!0,!1,null,!0),c.accept$1(u),d=C.JSString_methods.trim$0(u._serialize0$_buffer.toString$0(0)),h=c.accept$1(C.C__IsUselessVisitor0)?"can't":"shouldn't",$._async_evaluate0$_warn$3('The selector "'+d+'" is invalid CSS and '+h+P.x20be_an,new A.MultiSpan0(A.SpanExtensions_trimRight0(c.span),"invalid selector",A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([o,"@extend rule"],s,a),s,a)),C.Deprecation_2PR));return b=3,A._asyncAwait($._async_evaluate0$_performInterpolationWithMap$2$warnForColor(t.selector,!0),x);case 3:for(m=(p=S)._0,_=p._1,n=A.SelectorList_SelectorList$parse0(A.trimAscii0(m,!0),!1,_,!1).components,i=n.length,o=v._style_rule0$_selector._box0$_inner,l=0;l<i;++l){if(c=n[l],null==(g=c.get$singleCompound()))throw A.wrapException(A.SassFormatException$0("complex selectors may not be extended.",c.span,null));if(s=g.components,null==(f=1===s.length?C.JSArray_methods.get$first(s):null))throw A.wrapException(A.SassFormatException$0(P.compou+C.JSArray_methods.join$1(s,", ")+P.x60_inst,g.span,null));$._async_evaluate0$_assertInModule$2($._async_evaluate0$__extensionStore,"_extensionStore").addExtension$4(o.value,f,t,$._async_evaluate0$_mediaQueries)}r=null,b=1;break;case 1:return A._asyncReturn(r,y)}});return A._asyncStartSync(x,y)},visitAtRule$1(e,t){return this.visitAtRule$body$_EvaluateVisitor0(0,t)},visitAtRule$body$_EvaluateVisitor0(e,t){var r,n,i,o,s,a,l,c,u=0,d=A._makeAsyncAwaitCompleter(D.nullable_Value_2),h=this,p=A._wrapJsFunctionForAsync(function(e,m){if(1===e)return A._asyncRethrow(m,d);for(;;)switch(u){case 0:if(null!=h._async_evaluate0$_declarationName)throw A.wrapException(h._async_evaluate0$_exception$2(P.At_rul,t.span));return u=3,A._asyncAwait(h._async_evaluate0$_interpolationToValue$1(t.name),p);case 3:return n=m,i=A.NullableExtension_andThen0(t.value,new A._EvaluateVisitor_visitAtRule_closure11(h)),u=4,A._asyncAwait(D.Future_nullable_CssValue_String_2._is(i)?i:A._Future$value(i,D.nullable_CssValue_String_2),p);case 4:if(o=m,null==(s=t.children)){h._async_evaluate0$_copyParentAfterSibling$0(),h._async_evaluate0$_assertInModule$2(h._async_evaluate0$__parent,"__parent").addChild$1(A.ModifiableCssAtRule$0(n,t.span,!0,o)),r=null,u=1;break}a=h._async_evaluate0$_inKeyframes,l=h._async_evaluate0$_inUnknownAtRule,"keyframes"===A.unvendor0(n.value)?h._async_evaluate0$_inKeyframes=!0:h._async_evaluate0$_inUnknownAtRule=!0,c=A.ModifiableCssAtRule$0(n,t.span,!1,o),u=h.get$_async_evaluate0$_hasCssNesting()?5:6;break;case 5:return u=7,A._asyncAwait(h._async_evaluate0$_withParent$2$3$scopeWhen(c,new A._EvaluateVisitor_visitAtRule_closure12(h,s),t.hasDeclarations,D.ModifiableCssAtRule_2,D.Null),p);case 7:case 8:h._async_evaluate0$_inUnknownAtRule=l,h._async_evaluate0$_inKeyframes=a,r=null,u=1;break;case 6:return u=8,A._asyncAwait(h._async_evaluate0$_withParent$2$4$scopeWhen$through(c,new A._EvaluateVisitor_visitAtRule_closure13(h,n,s),t.hasDeclarations,new A._EvaluateVisitor_visitAtRule_closure14,D.ModifiableCssAtRule_2,D.Null),p);case 1:return A._asyncReturn(r,d)}});return A._asyncStartSync(p,d)},visitForRule$1(e,t){return this.visitForRule$body$_EvaluateVisitor0(0,t)},visitForRule$body$_EvaluateVisitor0(e,t){var r,n,i,o,s,a,l,c,u,d,h=0,p=A._makeAsyncAwaitCompleter(D.nullable_Value_2),m=this,_=A._wrapJsFunctionForAsync(function(e,g){if(1===e)return A._asyncRethrow(g,p);for(;;)switch(h){case 0:return n={},i=t.from,o=D.SassNumber_2,h=3,A._asyncAwait(m._async_evaluate0$_addExceptionSpanAsync$1$2(i,new A._EvaluateVisitor_visitForRule_closure14(m,t),o),_);case 3:return s=g,a=t.to,h=4,A._asyncAwait(m._async_evaluate0$_addExceptionSpanAsync$1$2(a,new A._EvaluateVisitor_visitForRule_closure15(m,t),o),_);case 4:if(l=g,c=m._async_evaluate0$_addExceptionSpan$2(i,new A._EvaluateVisitor_visitForRule_closure16(s)),u=n.to=m._async_evaluate0$_addExceptionSpan$2(a,new A._EvaluateVisitor_visitForRule_closure17(l,s)),d=c>u?-1:1,c===(t.isExclusive?u:n.to=u+d)){r=null,h=1;break}r=m._async_evaluate0$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitForRule_closure18(n,m,t,c,d,s),!0,D.nullable_Value_2),h=1;break;case 1:return A._asyncReturn(r,p)}});return A._asyncStartSync(_,p)},visitForwardRule$1(e,t){return this.visitForwardRule$body$_EvaluateVisitor0(0,t)},visitForwardRule$body$_EvaluateVisitor0(e,t){var r,n,i,o,s,a,l,c,u,d,h,p=0,m=A._makeAsyncAwaitCompleter(D.nullable_Value_2),_=this,g=A._wrapJsFunctionForAsync(function(e,f){if(1===e)return A._asyncRethrow(f,m);for(;;)switch(p){case 0:l=_._async_evaluate0$_configuration,c=l.throughForward$1(t),u=t.configuration,d=u.length,h=t.url,p=0!==d?3:5;break;case 3:return p=6,A._asyncAwait(_._async_evaluate0$_addForwardConfiguration$2(c,t),g);case 6:return n=f,p=7,A._asyncAwait(_._async_evaluate0$_loadModule$5$configuration(h,"@forward",t,new A._EvaluateVisitor_visitForwardRule_closure5(_,t),n),g);case 7:for(h=D.String,i=A.LinkedHashSet_LinkedHashSet$_empty(h),o=0;o<d;++o)(s=u[o]).isGuarded||i.add$1(0,s.name);for(_._async_evaluate0$_removeUsedConfiguration$3$except(c,n,i),h=A.LinkedHashSet_LinkedHashSet$_empty(h),o=0;o<d;++o)h.add$1(0,u[o].name);for(u=n._configuration0$_values,d=(d=u.get$keys(u)).toList$0(d),i=d.length,o=0;o<d.length;d.length===i||(0,A.throwConcurrentModificationError)(d),++o)a=d[o],h.contains$1(0,a)||u.get$isEmpty(u)||u.remove$1(0,a);_._async_evaluate0$_assertConfigurationIsEmpty$1(n),p=4;break;case 5:return _._async_evaluate0$_configuration=c,p=8,A._asyncAwait(_._async_evaluate0$_loadModule$4(h,"@forward",t,new A._EvaluateVisitor_visitForwardRule_closure6(_,t)),g);case 8:_._async_evaluate0$_configuration=l;case 4:r=null,p=1;break;case 1:return A._asyncReturn(r,m)}});return A._asyncStartSync(g,m)},_async_evaluate0$_addForwardConfiguration$2(e,t){return this._addForwardConfiguration$body$_EvaluateVisitor0(e,t)},_addForwardConfiguration$body$_EvaluateVisitor0(e,t){var r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b=0,y=A._makeAsyncAwaitCompleter(D.Configuration_2),$=this,x=A._wrapJsFunctionForAsync(function(S,w){if(1===S)return A._asyncRethrow(w,y);for(;;)switch(b){case 0:m=e._configuration0$_values,_=A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(m,D.UnmodifiableMapView_String_ConfiguredValue_2),D.String,D.ConfiguredValue_2),n=t.configuration,i=n.length,o=D._Future_Value_2,s=D.Future_Value_2,a=0;case 3:if(!(a<i)){b=5;break}if((l=n[a]).isGuarded&&(c=l.name,null!=(u=m.get$isEmpty(m)?null:m.remove$1(0,c))?(d=!u.value.$eq(0,C.C__SassNull0),h=u):(h=null,d=!1),d)){_.$indexSet(0,c,h),b=4;break}return c=l.expression,p=$._async_evaluate0$_expressionNode$1(c),c=c.accept$1($),s._is(c)||((d=new A._Future(I.Zone__current,o))._state=8,d._resultOrListeners=c,c=d),g=_,f=l.name,v=A,b=6,A._asyncAwait(c,x);case 6:g.$indexSet(0,f,new v.ConfiguredValue0($._async_evaluate0$_withoutSlash$2(w,p),l.span,p));case 4:++a,b=3;break;case 5:if(e instanceof A.ExplicitConfiguration0||m.get$isEmpty(m)){r=new A.ExplicitConfiguration0(t,_,null),b=1;break}r=new A.Configuration0(_,null),b=1;break;case 1:return A._asyncReturn(r,y)}});return A._asyncStartSync(x,y)},_async_evaluate0$_registerCommentsForModule$1(e){var t=this,r="_root",n=t._async_evaluate0$__root;null!=n&&0!==t._async_evaluate0$_assertInModule$2(n,r).children.get$length(0)&&e.get$transitivelyContainsCss()&&(null==(n=t._async_evaluate0$_preModuleComments)&&(n=t._async_evaluate0$_preModuleComments=A.LinkedHashMap_LinkedHashMap$_empty(D.Module_AsyncCallable_2,D.List_CssComment_2)),w.addAll$1$ax(n.putIfAbsent$2(e,new A._EvaluateVisitor__registerCommentsForModule_closure2),new A.UnmodifiableListView(w.cast$1$0$ax(t._async_evaluate0$_assertInModule$2(t._async_evaluate0$__root,r).children._collection$_source,D.CssComment_2),D.UnmodifiableListView_CssComment_2)),t._async_evaluate0$_assertInModule$2(t._async_evaluate0$__root,r).clearChildren$0(),t._async_evaluate0$__endOfImports=0)},_async_evaluate0$_removeUsedConfiguration$3$except(e,t,r){var n,i,o,s,a,l;for(o=(i=(i=(n=e._configuration0$_values).get$keys(n)).toList$0(i)).length,s=t._configuration0$_values,a=0;a<i.length;i.length===o||(0,A.throwConcurrentModificationError)(i),++a)l=i[a],r.contains$1(0,l)||s.containsKey$1(l)||n.get$isEmpty(n)||n.remove$1(0,l)},_async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(e,t){var r,n;if(e instanceof A.ExplicitConfiguration0&&!(r=e._configuration0$_values).get$isEmpty(r))throw n=(r=A.MapExtensions_get_pairs0(new A.UnmodifiableMapView(r,D.UnmodifiableMapView_String_ConfiguredValue_2),D.String,D.ConfiguredValue_2)).get$first(r),r=t?"$"+n._0+P.x20was_n:P.This_v,A.wrapException(this._async_evaluate0$_exception$2(r,n._1.configurationSpan))},_async_evaluate0$_assertConfigurationIsEmpty$1(e){return this._async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(e,!1)},visitFunctionRule$1(e,t){return this.visitFunctionRule$body$_EvaluateVisitor0(0,t)},visitFunctionRule$body$_EvaluateVisitor0(e,t){var r,n,i,o,s,a,l,c=0,u=A._makeAsyncAwaitCompleter(D.nullable_Value_2),d=this,h=A._wrapJsFunctionForAsync(function(e,h){if(1===e)return A._asyncRethrow(h,u);for(;;)switch(c){case 0:n=d._async_evaluate0$_environment,i=n.closure$0(),o=d._async_evaluate0$_inDependency,s=n._async_environment0$_functions,a=s.length-1,l=t.name,n._async_environment0$_functionIndices.$indexSet(0,l,a),s[a].$indexSet(0,l,new A.UserDefinedCallable0(t,i,o,D.UserDefinedCallable_AsyncEnvironment_2)),r=null,c=1;break;case 1:return A._asyncReturn(r,u)}});return A._asyncStartSync(h,u)},visitIfRule$1(e,t){return this.visitIfRule$body$_EvaluateVisitor0(0,t)},visitIfRule$body$_EvaluateVisitor0(e,t){var r,n,i,o,s,a,l=0,c=A._makeAsyncAwaitCompleter(D.nullable_Value_2),u=this,d=A._wrapJsFunctionForAsync(function(e,h){if(1===e)return A._asyncRethrow(h,c);for(;;)switch(l){case 0:a=t.lastClause,n=t.clauses,i=n.length,o=0;case 3:if(!(o<i)){l=5;break}return s=n[o],l=6,A._asyncAwait(s.expression.accept$1(u),d);case 6:if(h.get$isTruthy()){a=s,l=5;break}case 4:++o,l=3;break;case 5:return n=A.NullableExtension_andThen0(a,new A._EvaluateVisitor_visitIfRule_closure2(u)),l=7,A._asyncAwait(D.Future_nullable_Value_2._is(n)?n:A._Future$value(n,D.nullable_Value_2),d);case 7:r=h,l=1;break;case 1:return A._asyncReturn(r,c)}});return A._asyncStartSync(d,c)},visitImportRule$1(e,t){return this.visitImportRule$body$_EvaluateVisitor0(0,t)},visitImportRule$body$_EvaluateVisitor0(e,t){var r,n,i,o,s,a,l=0,c=A._makeAsyncAwaitCompleter(D.nullable_Value_2),u=this,d=A._wrapJsFunctionForAsync(function(e,h){if(1===e)return A._asyncRethrow(h,c);for(;;)switch(l){case 0:n=t.imports,i=n.length,o=D.StaticImport_2,s=0;case 3:if(!(s<i)){l=5;break}a=n[s],l=a instanceof A.DynamicImport0?6:8;break;case 6:return l=9,A._asyncAwait(u._async_evaluate0$_visitDynamicImport$1(a),d);case 9:l=7;break;case 8:return l=10,A._asyncAwait(u._async_evaluate0$_visitStaticImport$1(o._as(a)),d);case 10:case 7:case 4:++s,l=3;break;case 5:r=null,l=1;break;case 1:return A._asyncReturn(r,c)}});return A._asyncStartSync(d,c)},_async_evaluate0$_visitDynamicImport$1(e){return this._async_evaluate0$_withStackFrame$1$3("@import",e,new A._EvaluateVisitor__visitDynamicImport_closure2(this,e),D.void)},_async_evaluate0$_loadStylesheet$4$baseUrl$forImport(e,t,r,n){return this._loadStylesheet$body$_EvaluateVisitor0(e,t,r,n)},_async_evaluate0$_loadStylesheet$3$baseUrl(e,t,r){return this._async_evaluate0$_loadStylesheet$4$baseUrl$forImport(e,t,r,!1)},_async_evaluate0$_loadStylesheet$3$forImport(e,t,r){return this._async_evaluate0$_loadStylesheet$4$baseUrl$forImport(e,t,null,r)},_loadStylesheet$body$_EvaluateVisitor0(e,t,r,n){var i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y,$,x=0,S=A._makeAsyncAwaitCompleter(D.Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency_2),E=2,I=[],M=[],k=this,T=A._wrapJsFunctionForAsync(function(R,L){for(1===R&&(I.push(L),x=E);;)switch(x){case 0:E=4,k._async_evaluate0$_importSpan=t,o=k._async_evaluate0$_importCache,s=null,x=null!=o?7:8;break;case 7:return s=o,null==r&&(b=k._async_evaluate0$_assertInModule$2(k._async_evaluate0$__stylesheet,"_stylesheet").span,r=b.get$sourceUrl(b)),x=9,A._asyncAwait(w.canonicalize$4$baseImporter$baseUrl$forImport$x(s,A.Uri_parse(e),k._async_evaluate0$_importer,r,n),T);case 9:a=L,l=null,c=null,u=null,x=D.Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl._is(a)?10:11;break;case 10:return l=a._0,c=a._1,u=a._2,""===c.get$scheme()&&A.WarnForDeprecation_warnForDeprecation0(k._async_evaluate0$_logger,C.Deprecation_Vc9,"Importer "+A.S(l)+" canonicalized "+e+" to "+A.S(c)+P.x2e_Rela,null,null),k._async_evaluate0$_loadedUrls.add$1(0,c),d=k._async_evaluate0$_inDependency||!w.$eq$(l,k._async_evaluate0$_importer),x=12,A._asyncAwait(s.importCanonical$3$originalUrl(l,c,u),T);case 12:if(null!=(h=L)){b=h,y=l,i=new A._Record_3_importer_isDependency(b,y,d),M=[1],x=5;break}case 11:case 8:x=null!=k._async_evaluate0$_nodeImporter?13:14;break;case 13:return null==(b=r)&&(b=(b=k._async_evaluate0$_assertInModule$2(k._async_evaluate0$__stylesheet,"_stylesheet").span).get$sourceUrl(b)),x=15,A._asyncAwait(k._async_evaluate0$_importLikeNode$3(e,b,n),T);case 15:if(m=null,null!=(p=L)){b=(m=p)._0.span,y=k._async_evaluate0$_loadedUrls,A.NullableExtension_andThen0(b.get$sourceUrl(b),y.get$add(y)),i=y=m,M=[1],x=5;break}case 14:throw(b=C.JSString_methods.startsWith$1(e,"package:"))?A.wrapException(P.x22packa):A.wrapException("Can't find stylesheet to import.");case 4:if(E=3,$=I.pop(),(b=A.unwrapException($))instanceof A.SassException0)throw $;b instanceof A.ArgumentError?(_=b,g=A.getTraceFromException($),A.throwWithTrace0(k._async_evaluate0$_exception$1(w.toString$0$(_)),_,g)):(f=b,v=A.getTraceFromException($),A.throwWithTrace0(k._async_evaluate0$_exception$1(k._async_evaluate0$_getErrorMessage$1(f)),f,v)),M.push(6),x=5;break;case 3:M=[2];case 5:E=2,k._async_evaluate0$_importSpan=null,x=M.pop();break;case 6:case 1:return A._asyncReturn(i,S);case 2:return A._asyncRethrow(I.at(-1),S)}});return A._asyncStartSync(T,S)},_async_evaluate0$_importLikeNode$3(e,t,r){return this._importLikeNode$body$_EvaluateVisitor(e,t,r)},_importLikeNode$body$_EvaluateVisitor(e,t,r){var n,i,o,s,a,l=0,c=A._makeAsyncAwaitCompleter(D.nullable_Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency),u=this,d=A._wrapJsFunctionForAsync(function(h,p){if(1===h)return A._asyncRethrow(p,c);for(;;)switch(l){case 0:s=u._async_evaluate0$_nodeImporter,a=s.loadRelative$3(e,t,r),l=null!=a?3:5;break;case 3:i=u._async_evaluate0$_inDependency,l=4;break;case 5:return l=6,A._asyncAwait(s.loadAsync$3(e,t,r),d);case 6:if(null==(a=p)){n=null,l=1;break}i=!0;case 4:o=a._1,s=C.JSString_methods.startsWith$1(o,"file")?A.Syntax_forPath0(o):C.Syntax_SCSS_0_scss0,n=new A._Record_3_importer_isDependency(A.Stylesheet_Stylesheet$parse0(a._0,s,!1,o),null,i),l=1;break;case 1:return A._asyncReturn(n,c)}});return A._asyncStartSync(d,c)},_async_evaluate0$_visitStaticImport$1(e){return this._visitStaticImport$body$_EvaluateVisitor0(e)},_visitStaticImport$body$_EvaluateVisitor0(e){var t,r,n,i,o,s=0,a=A._makeAsyncAwaitCompleter(D.void),l=this,c=A._wrapJsFunctionForAsync(function(u,d){if(1===u)return A._asyncRethrow(d,a);for(;;)switch(s){case 0:return s=2,A._asyncAwait(l._async_evaluate0$_interpolationToValue$1(e.url),c);case 2:return t=d,r=A.NullableExtension_andThen0(e.modifiers,l.get$_async_evaluate0$_interpolationToValue()),i=A,o=t,s=3,A._asyncAwait(D.Future_nullable_CssValue_String_2._is(r)?r:A._Future$value(r,D.nullable_CssValue_String_2),c);case 3:return n=new i.ModifiableCssImport0(o,d,e.span),l._async_evaluate0$_assertInModule$2(l._async_evaluate0$__parent,"__parent")!==l._async_evaluate0$_assertInModule$2(l._async_evaluate0$__root,"_root")?(l._async_evaluate0$_copyParentAfterSibling$0(),l._async_evaluate0$_assertInModule$2(l._async_evaluate0$__parent,"__parent").addChild$1(n)):l._async_evaluate0$_assertInModule$2(l._async_evaluate0$__endOfImports,"_endOfImports")===w.get$length$asx(l._async_evaluate0$_assertInModule$2(l._async_evaluate0$__root,"_root").children._collection$_source)?(l._async_evaluate0$_assertInModule$2(l._async_evaluate0$__root,"_root").addChild$1(n),l._async_evaluate0$__endOfImports=l._async_evaluate0$_assertInModule$2(l._async_evaluate0$__endOfImports,"_endOfImports")+1):(null==(t=l._async_evaluate0$_outOfOrderImports)?l._async_evaluate0$_outOfOrderImports=A._setArrayType([],D.JSArray_ModifiableCssImport_2):t).push(n),A._asyncReturn(null,a)}});return A._asyncStartSync(c,a)},_async_evaluate0$_applyMixin$5(e,t,r,n,i){return this._applyMixin$body$_EvaluateVisitor0(e,t,r,n,i)},_applyMixin$body$_EvaluateVisitor0(e,t,r,n,i){var o,s,a,l,c=0,u=A._makeAsyncAwaitCompleter(D.void),d=this,h=A._wrapJsFunctionForAsync(function(p,m){if(1===p)return A._asyncRethrow(m,u);for(;;)switch(c){case 0:if(null==e)throw A.wrapException(d._async_evaluate0$_exception$2("Undefined mixin.",n.get$span(n)));o=D.AsyncBuiltInCallable_2._is(e),c=o&&!e.get$acceptsContent()&&null!=t?3:4;break;case 3:return c=5,A._asyncAwait(d._async_evaluate0$_evaluateArguments$1(r),h);case 5:throw o=m._values,s=e.callbackFor$2(w.get$length$asx(o[2]),new A.MapKeySet(o[0],D.MapKeySet_String)),A.wrapException(A.MultiSpanSassRuntimeException$0("Mixin doesn't accept a content block.",i.get$span(i),"invocation",A.LinkedHashMap_LinkedHashMap$_literal([s._0.get$spanWithName(),"declaration"],D.FileSpan,D.String),d._async_evaluate0$_stackTrace$1(i.get$span(i)),null));case 4:c=o?6:7;break;case 6:return c=8,A._asyncAwait(d._async_evaluate0$_environment.withContent$2(t,new A._EvaluateVisitor__applyMixin_closure5(d,r,e,i)),h);case 8:case 11:c=2;break;case 7:if(o=D.UserDefinedCallable_AsyncEnvironment_2._is(e),a=!1,o&&(l=e.declaration,l instanceof A.MixinRule0&&(a=!D.MixinRule_2._as(l).get$hasContent()&&null!=t)),a)throw A.wrapException(A.MultiSpanSassRuntimeException$0("Mixin doesn't accept a content block.",i.get$span(i),"invocation",A.LinkedHashMap_LinkedHashMap$_literal([e.declaration.parameters.get$spanWithName(),"declaration"],D.FileSpan,D.String),d._async_evaluate0$_stackTrace$1(i.get$span(i)),null));c=o?9:10;break;case 9:return c=11,A._asyncAwait(d._async_evaluate0$_runUserDefinedCallable$1$4(r,e,i,new A._EvaluateVisitor__applyMixin_closure6(d,t,e,i),D.Null),h);case 10:throw A.wrapException(A.UnsupportedError$("Unknown callable type "+e.toString$0(0)+"."));case 2:return A._asyncReturn(null,u)}});return A._asyncStartSync(h,u)},visitIncludeRule$1(e,t){return this.visitIncludeRule$body$_EvaluateVisitor0(0,t)},visitIncludeRule$body$_EvaluateVisitor0(e,t){var r,n,i=0,o=A._makeAsyncAwaitCompleter(D.nullable_Value_2),s=this,a=A._wrapJsFunctionForAsync(function(e,l){if(1===e)return A._asyncRethrow(l,o);for(;;)switch(i){case 0:if(n=s._async_evaluate0$_addExceptionSpan$2(t,new A._EvaluateVisitor_visitIncludeRule_closure8(s,t)),C.JSString_methods.startsWith$1(t.originalName,"--")&&n instanceof A.UserDefinedCallable0&&!C.JSString_methods.startsWith$1(n.declaration.originalName,"--"))throw A.wrapException(s._async_evaluate0$_exception$2(P.Sass__m,t.get$nameSpan()));return i=3,A._asyncAwait(s._async_evaluate0$_applyMixin$5(n,A.NullableExtension_andThen0(t.content,new A._EvaluateVisitor_visitIncludeRule_closure9(s)),t.$arguments,t,new A._FakeAstNode0(new A._EvaluateVisitor_visitIncludeRule_closure10(t))),a);case 3:r=null,i=1;break;case 1:return A._asyncReturn(r,o)}});return A._asyncStartSync(a,o)},visitMixinRule$1(e,t){return this.visitMixinRule$body$_EvaluateVisitor0(0,t)},visitMixinRule$body$_EvaluateVisitor0(e,t){var r,n,i,o,s,a,l,c=0,u=A._makeAsyncAwaitCompleter(D.nullable_Value_2),d=this,h=A._wrapJsFunctionForAsync(function(e,h){if(1===e)return A._asyncRethrow(h,u);for(;;)switch(c){case 0:n=d._async_evaluate0$_environment,i=n.closure$0(),o=d._async_evaluate0$_inDependency,s=n._async_environment0$_mixins,a=s.length-1,l=t.name,n._async_environment0$_mixinIndices.$indexSet(0,l,a),s[a].$indexSet(0,l,new A.UserDefinedCallable0(t,i,o,D.UserDefinedCallable_AsyncEnvironment_2)),r=null,c=1;break;case 1:return A._asyncReturn(r,u)}});return A._asyncStartSync(h,u)},visitLoudComment$1(e,t){return this.visitLoudComment$body$_EvaluateVisitor0(0,t)},visitLoudComment$body$_EvaluateVisitor0(e,t){var r,n,i,o=0,s=A._makeAsyncAwaitCompleter(D.nullable_Value_2),a=this,l=A._wrapJsFunctionForAsync(function(e,c){if(1===e)return A._asyncRethrow(c,s);for(;;)switch(o){case 0:if(a._async_evaluate0$_inFunction){r=null,o=1;break}return a._async_evaluate0$_assertInModule$2(a._async_evaluate0$__parent,"__parent")===a._async_evaluate0$_assertInModule$2(a._async_evaluate0$__root,"_root")&&a._async_evaluate0$_assertInModule$2(a._async_evaluate0$__endOfImports,"_endOfImports")===w.get$length$asx(a._async_evaluate0$_assertInModule$2(a._async_evaluate0$__root,"_root").children._collection$_source)&&(a._async_evaluate0$__endOfImports=a._async_evaluate0$_assertInModule$2(a._async_evaluate0$__endOfImports,"_endOfImports")+1),n=t.text,o=3,A._asyncAwait(a._async_evaluate0$_performInterpolation$1(n),l);case 3:i=c,C.JSString_methods.endsWith$1(i,"*/")||(i+=" */"),a._async_evaluate0$_copyParentAfterSibling$0(),a._async_evaluate0$_assertInModule$2(a._async_evaluate0$__parent,"__parent").addChild$1(new A.ModifiableCssComment0(i,n.span)),r=null,o=1;break;case 1:return A._asyncReturn(r,s)}});return A._asyncStartSync(l,s)},visitMediaRule$1(e,t){return this.visitMediaRule$body$_EvaluateVisitor0(0,t)},visitMediaRule$body$_EvaluateVisitor0(e,t){var r,n,i,o,s,a,l,c=0,u=A._makeAsyncAwaitCompleter(D.nullable_Value_2),d=this,h=A._wrapJsFunctionForAsync(function(e,p){if(1===e)return A._asyncRethrow(p,u);for(;;)switch(c){case 0:if(null!=d._async_evaluate0$_declarationName)throw A.wrapException(d._async_evaluate0$_exception$2(P.Media_,t.span));return c=3,A._asyncAwait(d._async_evaluate0$_visitMediaQueries$1(t.query),h);case 3:n=p,c=d.get$_async_evaluate0$_hasCssNesting()?4:5;break;case 4:return c=6,A._asyncAwait(d._async_evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssMediaRule$0(n,t.span),new A._EvaluateVisitor_visitMediaRule_closure11(d,t),!1,D.ModifiableCssMediaRule_2,D.Null),h);case 6:case 7:r=null,c=1;break;case 5:if(i=A.NullableExtension_andThen0(d._async_evaluate0$_mediaQueries,new A._EvaluateVisitor_visitMediaRule_closure12(d,n)),!(o=null==i)&&w.get$isEmpty$asx(i)){r=null,c=1;break}return o?s=C.Set_empty6:((a=d._async_evaluate0$_mediaQuerySources).toString,a=A.LinkedHashSet_LinkedHashSet$of(a,D.CssMediaQuery_2),(l=d._async_evaluate0$_mediaQueries).toString,a.addAll$1(0,l),a.addAll$1(0,n),s=a),o=o?n:i,c=7,A._asyncAwait(d._async_evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssMediaRule$0(o,t.span),new A._EvaluateVisitor_visitMediaRule_closure13(d,i,n,s,t),t.hasDeclarations,new A._EvaluateVisitor_visitMediaRule_closure14(s),D.ModifiableCssMediaRule_2,D.Null),h);case 1:return A._asyncReturn(r,u)}});return A._asyncStartSync(h,u)},_async_evaluate0$_visitMediaQueries$1(e){return this._visitMediaQueries$body$_EvaluateVisitor0(e)},_visitMediaQueries$body$_EvaluateVisitor0(e){var t,r,n,i,o=0,s=A._makeAsyncAwaitCompleter(D.List_CssMediaQuery_2),a=this,l=A._wrapJsFunctionForAsync(function(c,u){if(1===c)return A._asyncRethrow(u,s);for(;;)switch(o){case 0:return o=3,A._asyncAwait(a._async_evaluate0$_performInterpolationWithMap$2$warnForColor(e,!0),l);case 3:n=(r=u)._0,i=r._1,t=new A.MediaQueryParser0(A.SpanScanner$(n,null),i).parse$0(0),o=1;break;case 1:return A._asyncReturn(t,s)}});return A._asyncStartSync(l,s)},_async_evaluate0$_mergeMediaQueries$2(e,t){var r,n,i,o,s,a,l,c=A._setArrayType([],D.JSArray_CssMediaQuery_2);for(r=w.get$iterator$ax(e),n=w.getInterceptor$ax(t);r.moveNext$0();)for(i=r.get$current(r),o=n.get$iterator(t);o.moveNext$0();)if(s=i.merge$1(o.get$current(o)),C._SingletonCssMediaQueryMergeResult_00!==s){if(C._SingletonCssMediaQueryMergeResult_10===s)return null;l=(a=s instanceof A.MediaQuerySuccessfulMergeResult0)?s:null,a&&c.push(l.query)}return c},visitReturnRule$1(e,t){return this.visitReturnRule$body$_EvaluateVisitor0(0,t)},visitReturnRule$body$_EvaluateVisitor0(e,t){var r,n,i,o=0,s=A._makeAsyncAwaitCompleter(D.Value_2),a=this,l=A._wrapJsFunctionForAsync(function(e,c){if(1===e)return A._asyncRethrow(c,s);for(;;)switch(o){case 0:return n=t.expression,i=n.accept$1(a),o=3,A._asyncAwait(D.Future_Value_2._is(i)?i:A._Future$value(i,D.Value_2),l);case 3:r=a._async_evaluate0$_withoutSlash$2(c,n),o=1;break;case 1:return A._asyncReturn(r,s)}});return A._asyncStartSync(l,s)},visitSilentComment$1(e,t){return this.visitSilentComment$body$_EvaluateVisitor0(0,t)},visitSilentComment$body$_EvaluateVisitor0(e,t){var r,n=0,i=A._makeAsyncAwaitCompleter(D.nullable_Value_2),o=A._wrapJsFunctionForAsync(function(e,t){if(1===e)return A._asyncRethrow(t,i);for(;;)switch(n){case 0:r=null,n=1;break;case 1:return A._asyncReturn(r,i)}});return A._asyncStartSync(o,i)},visitStyleRule$1(e,t){return this.visitStyleRule$body$_EvaluateVisitor0(0,t)},visitStyleRule$body$_EvaluateVisitor0(e,t){var r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f=0,v=A._makeAsyncAwaitCompleter(D.nullable_Value_2),b=this,y=A._wrapJsFunctionForAsync(function(e,$){if(1===e)return A._asyncRethrow($,v);for(;;)switch(f){case 0:if(null!=b._async_evaluate0$_declarationName)throw A.wrapException(b._async_evaluate0$_exception$2(P.Style_n,t.span));if(b._async_evaluate0$_inKeyframes&&b._async_evaluate0$_assertInModule$2(b._async_evaluate0$__parent,"__parent")instanceof A.ModifiableCssKeyframeBlock0)throw A.wrapException(b._async_evaluate0$_exception$2(P.Style_k,t.span));return(n=t.selector).toString,f=3,A._asyncAwait(b._async_evaluate0$_performInterpolationWithMap$2$warnForColor(n,!0),y);case 3:o=(i=$)._0,s=i._1,f=b._async_evaluate0$_inKeyframes?4:5;break;case 4:return f=6,A._asyncAwait(b._async_evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssKeyframeBlock$0(new A.CssValue0(A.List_List$unmodifiable(new A.KeyframeSelectorParser0(A.SpanScanner$(o,null),s).parse$0(0),D.String),n.span,D.CssValue_List_String_2),t.span),new A._EvaluateVisitor_visitStyleRule_closure11(b,t),t.hasDeclarations,new A._EvaluateVisitor_visitStyleRule_closure12,D.ModifiableCssKeyframeBlock_2,D.Null),y);case 6:r=null,f=1;break;case 5:if(a=A.SelectorList_SelectorList$parse0(o,!0,s,b._async_evaluate0$_assertInModule$2(b._async_evaluate0$__stylesheet,"_stylesheet").plainCss),l=b._async_evaluate0$_atRootExcludingStyleRule?null:b._async_evaluate0$_styleRuleIgnoringAtRoot,n=null==l||!l.fromPlainCss&&!(b._async_evaluate0$_assertInModule$2(b._async_evaluate0$__stylesheet,"_stylesheet").plainCss&&a.accept$1(C.C__ContainsParentSelectorVisitor0))){if(b._async_evaluate0$_assertInModule$2(b._async_evaluate0$__stylesheet,"_stylesheet").plainCss)for(c=a.components,u=c.length,d=0;d<u;++d)if((h=c[d].leadingCombinators).length>=1?(p=h[0],m=b._async_evaluate0$_assertInModule$2(b._async_evaluate0$__stylesheet,"_stylesheet").plainCss):(p=null,m=!1),m)throw A.wrapException(b._async_evaluate0$_exception$2(P.Top_le,p.span));c=null==(c=b._async_evaluate0$_styleRuleIgnoringAtRoot)?null:c.originalSelector,a=a.nestWithin$3$implicitParent$preserveParentSelectors(c,!b._async_evaluate0$_atRootExcludingStyleRule,b._async_evaluate0$_assertInModule$2(b._async_evaluate0$__stylesheet,"_stylesheet").plainCss)}return _=A.ModifiableCssStyleRule$0(b._async_evaluate0$_assertInModule$2(b._async_evaluate0$__extensionStore,"_extensionStore").addSelector$2(a,b._async_evaluate0$_mediaQueries),t.span,b._async_evaluate0$_assertInModule$2(b._async_evaluate0$__stylesheet,"_stylesheet").plainCss,a),g=b._async_evaluate0$_atRootExcludingStyleRule,c=b._async_evaluate0$_atRootExcludingStyleRule=!1,n=n?new A._EvaluateVisitor_visitStyleRule_closure13:null,f=7,A._asyncAwait(b._async_evaluate0$_withParent$2$4$scopeWhen$through(_,new A._EvaluateVisitor_visitStyleRule_closure14(b,_,t),t.hasDeclarations,n,D.ModifiableCssStyleRule_2,D.Null),y);case 7:b._async_evaluate0$_atRootExcludingStyleRule=g,b._async_evaluate0$_warnForBogusCombinators$1(_),(n=null==(b._async_evaluate0$_atRootExcludingStyleRule?null:b._async_evaluate0$_styleRuleIgnoringAtRoot)?!(n=b._async_evaluate0$_assertInModule$2(b._async_evaluate0$__parent,"__parent").children).get$isEmpty(n):c)&&((n=b._async_evaluate0$_assertInModule$2(b._async_evaluate0$__parent,"__parent").children).get$last(n).isGroupEnd=!0),r=null,f=1;break;case 1:return A._asyncReturn(r,v)}});return A._asyncStartSync(y,v)},_async_evaluate0$_warnForBogusCombinators$1(e){var t,r,n,i,o,s,a,l,c,u,d,h,p=this,m=null;if(!e.accept$1(C._IsInvisibleVisitor_false_false0))for(r=(t=e._style_rule0$_selector._box0$_inner.value.components).length,n=D.SourceSpan,i=D.String,o=e.children,s=0;s<r;++s)(a=t[s]).accept$1(C._IsBogusVisitor_true0)&&(a.accept$1(C.C__IsUselessVisitor0)?(l=A._SerializeVisitor$0(m,!0,m,m,!0,!1,m,!0),a.accept$1(l),p._async_evaluate0$_warn$3('The selector "'+C.JSString_methods.trim$0(l._serialize0$_buffer.toString$0(0))+P.x22x20is_ix20,A.SpanExtensions_trimRight0(a.span),C.Deprecation_2PR)):0!==a.leadingCombinators.length?p._async_evaluate0$_assertInModule$2(p._async_evaluate0$__stylesheet,"_stylesheet").plainCss||(l=A._SerializeVisitor$0(m,!0,m,m,!0,!1,m,!0),a.accept$1(l),p._async_evaluate0$_warn$3('The selector "'+C.JSString_methods.trim$0(l._serialize0$_buffer.toString$0(0))+P.x22x20is_ix0a,A.SpanExtensions_trimRight0(a.span),C.Deprecation_2PR)):(l=A._SerializeVisitor$0(m,!0,m,m,!0,!1,m,!0),a.accept$1(l),c=C.JSString_methods.trim$0(l._serialize0$_buffer.toString$0(0)),u=a.accept$1(C._IsBogusVisitor_false0)?P.x20It_wi:"",d=A.SpanExtensions_trimRight0(a.span),0===o.get$length(0)&&A.throwExpression(A.IterableElementError_noElement()),h=w.get$span$x(o.$index(0,0)),p._async_evaluate0$_warn$3('The selector "'+c+P.x22x20is_o+u+P.x0aThis_,new A.MultiSpan0(d,"invalid selector",A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([h,"this is not a style rule"+(o.every$1(o,new A._EvaluateVisitor__warnForBogusCombinators_closure2)?"\n(try converting to a //-style comment)":"")],n,i),n,i)),C.Deprecation_2PR)))},visitSupportsRule$1(e,t){return this.visitSupportsRule$body$_EvaluateVisitor0(0,t)},visitSupportsRule$body$_EvaluateVisitor0(e,t){var r,n,i,o,s,a=0,l=A._makeAsyncAwaitCompleter(D.nullable_Value_2),c=this,u=A._wrapJsFunctionForAsync(function(e,d){if(1===e)return A._asyncRethrow(d,l);for(;;)switch(a){case 0:if(null!=c._async_evaluate0$_declarationName)throw A.wrapException(c._async_evaluate0$_exception$2(P.Suppor,t.span));return n=t.condition,o=A,s=A,a=3,A._asyncAwait(c._async_evaluate0$_visitSupportsCondition$1(n),u);case 3:i=o.ModifiableCssSupportsRule$0(new s.CssValue0(d,n.get$span(n),D.CssValue_String_2),t.span),a=c.get$_async_evaluate0$_hasCssNesting()?4:5;break;case 4:return a=6,A._asyncAwait(c._async_evaluate0$_withParent$2$3$scopeWhen(i,new A._EvaluateVisitor_visitSupportsRule_closure8(c,t),t.hasDeclarations,D.ModifiableCssSupportsRule_2,D.Null),u);case 6:case 7:r=null,a=1;break;case 5:return a=7,A._asyncAwait(c._async_evaluate0$_withParent$2$4$scopeWhen$through(i,new A._EvaluateVisitor_visitSupportsRule_closure9(c,t),t.hasDeclarations,new A._EvaluateVisitor_visitSupportsRule_closure10,D.ModifiableCssSupportsRule_2,D.Null),u);case 1:return A._asyncReturn(r,l)}});return A._asyncStartSync(u,l)},_async_evaluate0$_visitSupportsCondition$1(e){return this._visitSupportsCondition$body$_EvaluateVisitor0(e)},_visitSupportsCondition$body$_EvaluateVisitor0(e){var t,r,n,i,o=0,s=A._makeAsyncAwaitCompleter(D.String),a=this,l=A._wrapJsFunctionForAsync(function(c,u){if(1===c)return A._asyncRethrow(u,s);for(;;)switch(o){case 0:o=e instanceof A.SupportsOperation0?4:5;break;case 4:return r=e.operator,n=A,o=6,A._asyncAwait(a._async_evaluate0$_parenthesize$2(e.left,r),l);case 6:return n=n.S(u)+" "+r.toString$0(0)+" ",i=A,o=7,A._asyncAwait(a._async_evaluate0$_parenthesize$2(e.right,r),l);case 7:r=n+i.S(u),o=3;break;case 5:o=e instanceof A.SupportsNegation0?8:9;break;case 8:return n=A,o=10,A._asyncAwait(a._async_evaluate0$_parenthesize$1(e.condition),l);case 10:r="not "+n.S(u),o=3;break;case 9:o=e instanceof A.SupportsInterpolation0?11:12;break;case 11:return o=13,A._asyncAwait(a._async_evaluate0$_evaluateToCss$2$quote(e.expression,!1),l);case 13:r=u,o=3;break;case 12:(r={}).declaration=null,o=e instanceof A.SupportsDeclaration0?14:15;break;case 14:return r.declaration=e,o=16,A._asyncAwait(a._async_evaluate0$_withSupportsDeclaration$1$1(new A._EvaluateVisitor__visitSupportsCondition_closure2(r,a),D.String),l);case 16:r=u,o=3;break;case 15:o=e instanceof A.SupportsFunction0?17:18;break;case 17:return n=A,o=19,A._asyncAwait(a._async_evaluate0$_performInterpolation$1(e.name),l);case 19:return n=n.S(u)+"(",i=A,o=20,A._asyncAwait(a._async_evaluate0$_performInterpolation$1(e.$arguments),l);case 20:r=n+i.S(u)+")",o=3;break;case 18:o=e instanceof A.SupportsAnything0?21:22;break;case 21:return n=A,o=23,A._asyncAwait(a._async_evaluate0$_performInterpolation$1(e.contents),l);case 23:r="("+n.S(u)+")",o=3;break;case 22:r=A.throwExpression(A.ArgumentError$("Unknown supports condition type "+A.getRuntimeTypeOfDartObject(e).toString$0(0)+".",null));case 3:t=r,o=1;break;case 1:return A._asyncReturn(t,s)}});return A._asyncStartSync(l,s)},_async_evaluate0$_withSupportsDeclaration$1$1(e,t){return this._withSupportsDeclaration$body$_EvaluateVisitor0(e,t,t)},_withSupportsDeclaration$body$_EvaluateVisitor0(e,t,r){var n,i,o,s=0,a=A._makeAsyncAwaitCompleter(r),l=2,c=[],u=[],d=this,h=A._wrapJsFunctionForAsync(function(r,p){for(1===r&&(c.push(p),s=l);;)switch(s){case 0:return o=d._async_evaluate0$_inSupportsDeclaration,d._async_evaluate0$_inSupportsDeclaration=!0,l=3,i=e.call$0(),s=6,A._asyncAwait(t._eval$1("Future<0>")._is(i)?i:A._Future$value(i,t),h);case 6:n=i=p,u=[1],s=4;break;case 3:u=[2];case 4:l=2,d._async_evaluate0$_inSupportsDeclaration=o,s=u.pop();break;case 5:case 1:return A._asyncReturn(n,a);case 2:return A._asyncRethrow(c.at(-1),a)}});return A._asyncStartSync(h,a)},_async_evaluate0$_parenthesize$2(e,t){return this._parenthesize$body$_EvaluateVisitor0(e,t)},_async_evaluate0$_parenthesize$1(e){return this._async_evaluate0$_parenthesize$2(e,null)},_parenthesize$body$_EvaluateVisitor0(e,t){var r,n,i,o=0,s=A._makeAsyncAwaitCompleter(D.String),a=this,l=A._wrapJsFunctionForAsync(function(c,u){if(1===c)return A._asyncRethrow(u,s);for(;;)switch(o){case 0:n=e instanceof A.SupportsNegation0||e instanceof A.SupportsOperation0&&(null==t||t!==e.operator),o=n?3:4;break;case 3:return i=A,o=5,A._asyncAwait(a._async_evaluate0$_visitSupportsCondition$1(e),l);case 5:r="("+i.S(u)+")",o=1;break;case 4:return o=6,A._asyncAwait(a._async_evaluate0$_visitSupportsCondition$1(e),l);case 6:r=u,o=1;break;case 1:return A._asyncReturn(r,s)}});return A._asyncStartSync(l,s)},visitVariableDeclaration$1(e,t){return this.visitVariableDeclaration$body$_EvaluateVisitor0(0,t)},visitVariableDeclaration$body$_EvaluateVisitor0(e,t){var r,n,i,o,s,a,l,c,u=0,d=A._makeAsyncAwaitCompleter(D.nullable_Value_2),h=this,p=A._wrapJsFunctionForAsync(function(e,m){if(1===e)return A._asyncRethrow(m,d);for(;;)switch(u){case 0:if(t.isGuarded){if(null==t.namespace&&1===h._async_evaluate0$_environment._async_environment0$_variables.length&&(n=t.name,h._async_evaluate0$_environment._async_environment0$_configurableVariables.add$1(0,n),i=h._async_evaluate0$_configuration._configuration0$_values,o=i.get$isEmpty(i)?null:i.remove$1(0,n),(n={}).override=null,null!=o?(n.override=o,i=!o.value.$eq(0,C.C__SassNull0)):i=!1,i)){h._async_evaluate0$_addExceptionSpan$2(t,new A._EvaluateVisitor_visitVariableDeclaration_closure8(n,h,t)),r=null,u=1;break}if(null!=(s=h._async_evaluate0$_addExceptionSpan$2(t,new A._EvaluateVisitor_visitVariableDeclaration_closure9(h,t)))&&!s.$eq(0,C.C__SassNull0)){r=null,u=1;break}}return t.isGlobal&&!h._async_evaluate0$_environment.globalVariableExists$1(t.name)&&(n=1===h._async_evaluate0$_environment._async_environment0$_variables.length?P.As_of_S:P.As_of_R+A.declarationName0(t.span)+": null` at the stylesheet root.",h._async_evaluate0$_warn$3(n,t.span,C.Deprecation_pwd)),n=t.expression,i=n.accept$1(h),a=t,l=A,c=t,u=3,A._asyncAwait(D.Future_Value_2._is(i)?i:A._Future$value(i,D.Value_2),p);case 3:h._async_evaluate0$_addExceptionSpan$2(a,new l._EvaluateVisitor_visitVariableDeclaration_closure10(h,c,h._async_evaluate0$_withoutSlash$2(m,n))),r=null,u=1;break;case 1:return A._asyncReturn(r,d)}});return A._asyncStartSync(p,d)},visitUseRule$1(e,t){return this.visitUseRule$body$_EvaluateVisitor0(0,t)},visitUseRule$body$_EvaluateVisitor0(e,t){var r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f=0,v=A._makeAsyncAwaitCompleter(D.nullable_Value_2),b=this,y=A._wrapJsFunctionForAsync(function(e,$){if(1===e)return A._asyncRethrow($,v);for(;;)switch(f){case 0:h=t.configuration,p=h.length,f=0!==p?3:5;break;case 3:n=A.LinkedHashMap_LinkedHashMap$_empty(D.String,D.ConfiguredValue_2),i=D._Future_Value_2,o=D.Future_Value_2,s=0;case 6:if(!(s<p)){f=8;break}return a=h[s],l=a.expression,c=b._async_evaluate0$_expressionNode$1(l),l=l.accept$1(b),o._is(l)||((u=new A._Future(I.Zone__current,i))._state=8,u._resultOrListeners=l,l=u),m=n,_=a.name,g=A,f=9,A._asyncAwait(l,y);case 9:m.$indexSet(0,_,new g.ConfiguredValue0(b._async_evaluate0$_withoutSlash$2($,c),a.span,c));case 7:++s,f=6;break;case 8:d=new A.ExplicitConfiguration0(t,n,null),f=4;break;case 5:d=C.Configuration_Map_empty_null0;case 4:return f=10,A._asyncAwait(b._async_evaluate0$_loadModule$5$configuration(t.url,"@use",t,new A._EvaluateVisitor_visitUseRule_closure2(b,t),d),y);case 10:b._async_evaluate0$_assertConfigurationIsEmpty$1(d),r=null,f=1;break;case 1:return A._asyncReturn(r,v)}});return A._asyncStartSync(y,v)},visitWarnRule$1(e,t){return this.visitWarnRule$body$_EvaluateVisitor0(0,t)},visitWarnRule$body$_EvaluateVisitor0(e,t){var r,n,i,o,s=0,a=A._makeAsyncAwaitCompleter(D.nullable_Value_2),l=this,c=A._wrapJsFunctionForAsync(function(e,u){if(1===e)return A._asyncRethrow(u,a);for(;;)switch(s){case 0:return s=3,A._asyncAwait(l._async_evaluate0$_addExceptionSpanAsync$1$2(t,new A._EvaluateVisitor_visitWarnRule_closure2(l,t),D.Value_2),c);case 3:i=(n=u)instanceof A.SassString0?n._string0$_text:l._async_evaluate0$_serialize$2(n,t.expression),o=l._async_evaluate0$_stackTrace$1(t.span),l._async_evaluate0$_logger.internalWarn$4$deprecation$span$trace(i,null,null,o),r=null,s=1;break;case 1:return A._asyncReturn(r,a)}});return A._asyncStartSync(c,a)},visitWhileRule$1(e,t){return this._async_evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure2(this,t),!0,t.hasDeclarations,D.nullable_Value_2)},visitBinaryOperationExpression$1(e,t){var r,n=this;if(r=!!n._async_evaluate0$_assertInModule$2(n._async_evaluate0$__stylesheet,"_stylesheet").plainCss&&((r=t.operator)!==C.BinaryOperator_g6F0&&r!==C.BinaryOperator_ehp0))throw A.wrapException(n._async_evaluate0$_exception$2("Operators aren't allowed in plain CSS.",t.get$operatorSpan()));return n._async_evaluate0$_addExceptionSpanAsync$1$2(t,new A._EvaluateVisitor_visitBinaryOperationExpression_closure2(n,t),D.Value_2)},_async_evaluate0$_slash$3(e,t,r){var n,i,o=e.dividedBy$1(t),s=e instanceof A.SassNumber0,a=null,l=!1;return s?(t instanceof A.SassNumber0&&(l=r.allowsSlash&&this._async_evaluate0$_operandAllowsSlash$1(r.left)&&this._async_evaluate0$_operandAllowsSlash$1(r.right),a=t),n=e,i=t):(i=null,n=null),l?D.SassNumber_2._as(o).withSlash$2(n,a):(l=e instanceof A.SassNumber0&&(s?i:t)instanceof A.SassNumber0)?(this._async_evaluate0$_warn$3(P.Using__o+A.S((new A._EvaluateVisitor__slash_recommendation2).call$1(r))+" or "+A.expressionToCalc0(r).toString$0(0)+P.x0a_Morex20,r.get$span(0),C.Deprecation_v81),o):o},_async_evaluate0$_operandAllowsSlash$1(e){var t;return e instanceof A.FunctionExpression0?null==e.namespace?(t=e.name,t=C.Set_Pr3yj.contains$1(0,t.toLowerCase())&&null==this._async_evaluate0$_environment.getFunction$1(t)):t=!1:t=!0,t},visitValueExpression$1(e,t){return this.visitValueExpression$body$_EvaluateVisitor0(0,t)},visitValueExpression$body$_EvaluateVisitor0(e,t){var r,n=0,i=A._makeAsyncAwaitCompleter(D.Value_2),o=A._wrapJsFunctionForAsync(function(e,o){if(1===e)return A._asyncRethrow(o,i);for(;;)switch(n){case 0:r=t.value,n=1;break;case 1:return A._asyncReturn(r,i)}});return A._asyncStartSync(o,i)},visitVariableExpression$1(e,t){return this.visitVariableExpression$body$_EvaluateVisitor0(0,t)},visitVariableExpression$body$_EvaluateVisitor0(e,t){var r,n,i=0,o=A._makeAsyncAwaitCompleter(D.Value_2),s=this,a=A._wrapJsFunctionForAsync(function(e,a){if(1===e)return A._asyncRethrow(a,o);for(;;)switch(i){case 0:if(null!=(n=s._async_evaluate0$_addExceptionSpan$2(t,new A._EvaluateVisitor_visitVariableExpression_closure2(s,t)))){r=n,i=1;break}throw A.wrapException(s._async_evaluate0$_exception$2("Undefined variable.",t.span));case 1:return A._asyncReturn(r,o)}});return A._asyncStartSync(a,o)},visitUnaryOperationExpression$1(e,t){return this.visitUnaryOperationExpression$body$_EvaluateVisitor0(0,t)},visitUnaryOperationExpression$body$_EvaluateVisitor0(e,t){var r,n,i,o,s=0,a=A._makeAsyncAwaitCompleter(D.Value_2),l=this,c=A._wrapJsFunctionForAsync(function(e,u){if(1===e)return A._asyncRethrow(u,a);for(;;)switch(s){case 0:return n=t,i=A,o=t,s=3,A._asyncAwait(t.operand.accept$1(l),c);case 3:r=l._async_evaluate0$_addExceptionSpan$2(n,new i._EvaluateVisitor_visitUnaryOperationExpression_closure2(o,u)),s=1;break;case 1:return A._asyncReturn(r,a)}});return A._asyncStartSync(c,a)},visitBooleanExpression$1(e,t){return this.visitBooleanExpression$body$_EvaluateVisitor0(0,t)},visitBooleanExpression$body$_EvaluateVisitor0(e,t){var r,n=0,i=A._makeAsyncAwaitCompleter(D.SassBoolean_2),o=A._wrapJsFunctionForAsync(function(e,o){if(1===e)return A._asyncRethrow(o,i);for(;;)switch(n){case 0:r=t.value?C.SassBoolean_true0:C.SassBoolean_false0,n=1;break;case 1:return A._asyncReturn(r,i)}});return A._asyncStartSync(o,i)},visitIfExpression$1(e,t){return this.visitIfExpression$body$_EvaluateVisitor0(0,t)},visitIfExpression$body$_EvaluateVisitor0(e,t){var r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y=0,$=A._makeAsyncAwaitCompleter(D.Value_2),x=this,S=A._wrapJsFunctionForAsync(function(e,w){if(1===e)return A._asyncRethrow(w,$);for(;;)switch(y){case 0:n=t.branches,i=n.length,o=D._Future_nullable_Object,s=D._Future_Value_2,a=D.Future_Value_2,l=D.JSArray_Record_2_String_and_Value_2,c=null,u=0;case 3:if(!(u<i)){y=5;break}return d=n[u],h=d._0,p=d._1,(d=null==h?null:h.accept$1(x))instanceof A._Future||((m=new A._Future(I.Zone__current,o))._state=8,m._resultOrListeners=d,d=m),y=6,A._asyncAwait(d,S);case 6:null==(_=w)&&(_=!0),h=(d="string"==typeof _)?_:null,y=d?7:8;break;case 7:return null==c&&(c=A._setArrayType([],l)),d=p.accept$1(x),a._is(d)||((m=new A._Future(I.Zone__current,s))._state=8,m._resultOrListeners=d,d=m),f=c,v=A,b=h,y=9,A._asyncAwait(d,S);case 9:f.push(new v._Record_2(b,w)),y=4;break;case 8:y=(g=!0===_)&&null!=c?10:11;break;case 10:return d=p.accept$1(x),a._is(d)||((m=new A._Future(I.Zone__current,s))._state=8,m._resultOrListeners=d,d=m),f=c,v=A,y=12,A._asyncAwait(d,S);case 12:f.push(new v._Record_2("else",w)),y=4;break;case 11:y=g?13:14;break;case 13:return n=p.accept$1(x),a._is(n)||((i=new A._Future(I.Zone__current,s))._state=8,i._resultOrListeners=n,n=i),y=15,A._asyncAwait(n,S);case 15:r=w,y=1;break;case 14:case 4:++u,y=3;break;case 5:if(null==c){r=C.C__SassNull0,y=1;break}r=new A.SassString0("if("+new A.MappedListIterable(c,new A._EvaluateVisitor_visitIfExpression_closure2,A._arrayInstanceType(c)._eval$1("MappedListIterable<1,String>")).join$1(0,"; ")+")",!1),y=1;break;case 1:return A._asyncReturn(r,$)}});return A._asyncStartSync(S,$)},visitIfConditionParenthesized$1(e,t){return this.visitIfConditionParenthesized$body$_EvaluateVisitor0(0,t)},visitIfConditionParenthesized$body$_EvaluateVisitor0(e,t){var r,n,i=0,o=A._makeAsyncAwaitCompleter(D.Object),s=this,a=A._wrapJsFunctionForAsync(function(e,l){if(1===e)return A._asyncRethrow(l,o);for(;;)switch(i){case 0:return i=3,A._asyncAwait(t.expression.accept$1(s),a);case 3:r="string"!=typeof(n=l)?n:"("+n+")",i=1;break;case 1:return A._asyncReturn(r,o)}});return A._asyncStartSync(a,o)},visitIfConditionNegation$1(e,t){return this.visitIfConditionNegation$body$_EvaluateVisitor0(0,t)},visitIfConditionNegation$body$_EvaluateVisitor0(e,t){var r,n,i,o=0,s=A._makeAsyncAwaitCompleter(D.Object),a=this,l=A._wrapJsFunctionForAsync(function(e,c){if(1===e)return A._asyncRethrow(c,s);for(;;)switch(o){case 0:return o=3,A._asyncAwait(t.expression.accept$1(a),l);case 3:n="string"!=typeof(i=c)?A._isBool(i)?!i:A.throwExpression(A.UnsupportedError$("unreachable")):"not "+i,r=n,o=1;break;case 1:return A._asyncReturn(r,s)}});return A._asyncStartSync(l,s)},visitIfConditionOperation$1(e,t){return this.visitIfConditionOperation$body$_EvaluateVisitor0(0,t)},visitIfConditionOperation$body$_EvaluateVisitor0(e,t){var r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v=0,b=A._makeAsyncAwaitCompleter(D.Object),y=this,$=A._wrapJsFunctionForAsync(function(e,x){if(1===e)return A._asyncRethrow(x,b);for(;;)switch(v){case 0:n=t.expressions,i=n.length,o=t.op,s=o===C.BooleanOperator_00,a=o===C.BooleanOperator_10,l=D.JSArray_Record_2_IfConditionExpression_and_String_2,c=null,u=0;case 3:if(!(u<i)){v=5;break}return d=n[u],v=6,A._asyncAwait(d.accept$1(y),$);case 6:if(m=(p="string"==typeof(h=x))?h:null,p){null==c&&(c=A._setArrayType([],l)),c.push(new A._Record_2(d,m)),v=4;break}if(!1===h&&s){r=!1,v=1;break}if(!0===h&&a){r=!0,v=1;break}case 4:++u,v=3;break;case 5:null!=c?((_=1===c.length)?(g=c[0],n=g._0 instanceof A.IfConditionParenthesized0):(g=null,n=!1),n?(f=(_?g:c[0])._1,n=C.JSString_methods.substring$2(f,1,f.length-1)):n=new A.MappedListIterable(c,new A._EvaluateVisitor_visitIfConditionOperation_closure2,A._arrayInstanceType(c)._eval$1("MappedListIterable<1,String>")).join$1(0," "+o.toString$0(0)+" ")):n=s,r=n,v=1;break;case 1:return A._asyncReturn(r,b)}});return A._asyncStartSync($,b)},visitIfConditionFunction$1(e,t){return this.visitIfConditionFunction$body$_EvaluateVisitor0(0,t)},visitIfConditionFunction$body$_EvaluateVisitor0(e,t){var r,n,i,o=0,s=A._makeAsyncAwaitCompleter(D.Object),a=this,l=A._wrapJsFunctionForAsync(function(e,c){if(1===e)return A._asyncRethrow(c,s);for(;;)switch(o){case 0:return n=C.JSString_methods,i=w,o=3,A._asyncAwait(a._async_evaluate0$_performInterpolation$1(t.name),l);case 3:return i=i.$add$ansx(c,"("),o=4,A._asyncAwait(a._async_evaluate0$_performInterpolation$1(t.$arguments),l);case 4:r=n.$add(i,c)+")",o=1;break;case 1:return A._asyncReturn(r,s)}});return A._asyncStartSync(l,s)},visitIfConditionSass$1(e,t){return this.visitIfConditionSass$body$_EvaluateVisitor0(0,t)},visitIfConditionSass$body$_EvaluateVisitor0(e,t){var r,n=0,i=A._makeAsyncAwaitCompleter(D.Object),o=this,s=A._wrapJsFunctionForAsync(function(e,a){if(1===e)return A._asyncRethrow(a,i);for(;;)switch(n){case 0:return n=3,A._asyncAwait(t.expression.accept$1(o),s);case 3:r=a.get$isTruthy(),n=1;break;case 1:return A._asyncReturn(r,i)}});return A._asyncStartSync(s,i)},visitIfConditionRaw$1(e,t){return this.visitIfConditionRaw$body$_EvaluateVisitor0(0,t)},visitIfConditionRaw$body$_EvaluateVisitor0(e,t){var r,n=0,i=A._makeAsyncAwaitCompleter(D.Object),o=this,s=A._wrapJsFunctionForAsync(function(e,a){if(1===e)return A._asyncRethrow(a,i);for(;;)switch(n){case 0:return n=3,A._asyncAwait(o._async_evaluate0$_performInterpolation$1(t.text),s);case 3:r=a,n=1;break;case 1:return A._asyncReturn(r,i)}});return A._asyncStartSync(s,i)},visitLegacyIfExpression$1(e,t){return this.visitLegacyIfExpression$body$_EvaluateVisitor0(0,t)},visitLegacyIfExpression$body$_EvaluateVisitor0(e,t){var r,n,i,o,s,a,l,c,u,d=0,h=A._makeAsyncAwaitCompleter(D.Value_2),p=this,m=A._wrapJsFunctionForAsync(function(e,_){if(1===e)return A._asyncRethrow(_,h);for(;;)switch(d){case 0:return d=3,A._asyncAwait(p._async_evaluate0$_evaluateMacroArguments$1(t),m);case 3:return c=(l=_)._0,u=l._1,p._async_evaluate0$_verifyArguments$4(w.get$length$asx(c),u,I.$get$LegacyIfExpression_declaration0(),t),null==(n=A.ListExtensions_elementAtOrNull(c,0))&&((i=u.$index(0,"condition")).toString,n=i),null==(o=A.ListExtensions_elementAtOrNull(c,1))&&((i=u.$index(0,"if-true")).toString,o=i),null==(s=A.ListExtensions_elementAtOrNull(c,2))&&((i=u.$index(0,"if-false")).toString,s=i),d=4,A._asyncAwait(n.accept$1(p),m);case 4:return a=_.get$isTruthy()?o:s,i=a.accept$1(p),d=5,A._asyncAwait(D.Future_Value_2._is(i)?i:A._Future$value(i,D.Value_2),m);case 5:r=p._async_evaluate0$_withoutSlash$2(_,p._async_evaluate0$_expressionNode$1(a)),d=1;break;case 1:return A._asyncReturn(r,h)}});return A._asyncStartSync(m,h)},visitNullExpression$1(e,t){return this.visitNullExpression$body$_EvaluateVisitor0(0,t)},visitNullExpression$body$_EvaluateVisitor0(e,t){var r,n=0,i=A._makeAsyncAwaitCompleter(D.Value_2),o=A._wrapJsFunctionForAsync(function(e,t){if(1===e)return A._asyncRethrow(t,i);for(;;)switch(n){case 0:r=C.C__SassNull0,n=1;break;case 1:return A._asyncReturn(r,i)}});return A._asyncStartSync(o,i)},visitNumberExpression$1(e,t){return this.visitNumberExpression$body$_EvaluateVisitor0(0,t)},visitNumberExpression$body$_EvaluateVisitor0(e,t){var r,n=0,i=A._makeAsyncAwaitCompleter(D.SassNumber_2),o=A._wrapJsFunctionForAsync(function(e,o){if(1===e)return A._asyncRethrow(o,i);for(;;)switch(n){case 0:r=A.SassNumber_SassNumber0(t.value,t.unit),n=1;break;case 1:return A._asyncReturn(r,i)}});return A._asyncStartSync(o,i)},visitParenthesizedExpression$1(e,t){var r=this;return r._async_evaluate0$_assertInModule$2(r._async_evaluate0$__stylesheet,"_stylesheet").plainCss?A.throwExpression(r._async_evaluate0$_exception$2("Parentheses aren't allowed in plain CSS.",t.span)):t.expression.accept$1(r)},visitColorExpression$1(e,t){return this.visitColorExpression$body$_EvaluateVisitor0(0,t)},visitColorExpression$body$_EvaluateVisitor0(e,t){var r,n=0,i=A._makeAsyncAwaitCompleter(D.SassColor_2),o=A._wrapJsFunctionForAsync(function(e,o){if(1===e)return A._asyncRethrow(o,i);for(;;)switch(n){case 0:r=t.value,n=1;break;case 1:return A._asyncReturn(r,i)}});return A._asyncStartSync(o,i)},visitListExpression$1(e,t){return this.visitListExpression$body$_EvaluateVisitor0(0,t)},visitListExpression$body$_EvaluateVisitor0(e,t){var r,n,i=0,o=A._makeAsyncAwaitCompleter(D.SassList_2),s=this,a=A._wrapJsFunctionForAsync(function(e,l){if(1===e)return A._asyncRethrow(l,o);for(;;)switch(i){case 0:return n=A,i=3,A._asyncAwait(A.mapAsync0(t.contents,new A._EvaluateVisitor_visitListExpression_closure2(s),D.Expression_2,D.Value_2),a);case 3:r=n.SassList$0(l,t.separator,t.hasBrackets),i=1;break;case 1:return A._asyncReturn(r,o)}});return A._asyncStartSync(a,o)},visitMapExpression$1(e,t){return this.visitMapExpression$body$_EvaluateVisitor0(0,t)},visitMapExpression$body$_EvaluateVisitor0(e,t){var r,n,i,o,s,a,l,c,u,d,h,p,m=0,_=A._makeAsyncAwaitCompleter(D.SassMap_2),g=this,f=A._wrapJsFunctionForAsync(function(e,v){if(1===e)return A._asyncRethrow(v,_);for(;;)switch(m){case 0:d=D.Value_2,h=A.LinkedHashMap_LinkedHashMap$_empty(d,d),p=A.LinkedHashMap_LinkedHashMap$_empty(d,D.AstNode_2),n=t.pairs,i=n.length,o=0;case 3:if(!(o<i)){m=5;break}return s=n[o],a=s._0,m=6,A._asyncAwait(a.accept$1(g),f);case 6:return l=v,m=7,A._asyncAwait(s._1.accept$1(g),f);case 7:if(c=v,h.containsKey$1(l))throw d=p.$index(0,l),u=null==d?null:d.get$span(d),d=a.get$span(a),n=A.LinkedHashMap_LinkedHashMap$_empty(D.FileSpan,D.String),null!=u&&n.$indexSet(0,u,"first key"),A.wrapException(A.MultiSpanSassRuntimeException$0("Duplicate key.",d,"second key",n,g._async_evaluate0$_stackTrace$1(a.get$span(a)),null));h.$indexSet(0,l,c),p.$indexSet(0,l,a);case 4:++o,m=3;break;case 5:r=new A.SassMap0(A.ConstantMap_ConstantMap$from(h,d,d)),m=1;break;case 1:return A._asyncReturn(r,_)}});return A._asyncStartSync(f,_)},visitFunctionExpression$1(e,t){return this.visitFunctionExpression$body$_EvaluateVisitor0(0,t)},visitFunctionExpression$body$_EvaluateVisitor0(e,t){var r,n,i,o,s,a,l,c,u,d,h=0,p=A._makeAsyncAwaitCompleter(D.Value_2),m=this,_=A._wrapJsFunctionForAsync(function(e,g){if(1===e)return A._asyncRethrow(g,p);for(;;)switch(h){case 0:u={},d=m._async_evaluate0$_assertInModule$2(m._async_evaluate0$__stylesheet,"_stylesheet").plainCss?null:m._async_evaluate0$_addExceptionSpan$2(t,new A._EvaluateVisitor_visitFunctionExpression_closure8(m,t)),u.$function=d,h=null==d||C.JSString_methods.startsWith$1(t.originalName,"--")?3:4;break;case 3:if(null!=t.namespace)throw A.wrapException(m._async_evaluate0$_exception$2("Undefined function.",t.span));n=t.name,i=n.toLowerCase(),o=!1,"min"===i||"max"===i||"round"===i||"abs"===i?(o=t.$arguments,s=o.named,o=s.get$isEmpty(s)&&null==o.rest&&C.JSArray_methods.every$1(o.positional,new A._EvaluateVisitor_visitFunctionExpression_closure9),a=i):a=null,h=o?5:6;break;case 5:return h=7,A._asyncAwait(m._async_evaluate0$_visitCalculation$2$inLegacySassFunction(t,a),_);case 7:r=g,h=1;break;case 6:h="calc"===i||"clamp"===i||"hypot"===i||"sin"===i||"cos"===i||"tan"===i||"asin"===i||"acos"===i||"atan"===i||"sqrt"===i||"exp"===i||"sign"===i||"mod"===i||"rem"===i||"atan2"===i||"pow"===i||"log"===i||"calc-size"===i?8:9;break;case 8:return h=10,A._asyncAwait(m._async_evaluate0$_visitCalculation$1(t),_);case 10:r=g,h=1;break;case 9:d=m._async_evaluate0$_assertInModule$2(m._async_evaluate0$__stylesheet,"_stylesheet").plainCss?null:m._async_evaluate0$_builtInFunctions.$index(0,n),u.$function=null==d?new A.PlainCssCallable0(t.originalName):d;case 4:return l=m._async_evaluate0$_inFunction,m._async_evaluate0$_inFunction=!0,h=11,A._asyncAwait(m._async_evaluate0$_addErrorSpan$1$2(t,new A._EvaluateVisitor_visitFunctionExpression_closure10(u,m,t),D.Value_2),_);case 11:c=g,m._async_evaluate0$_inFunction=l,r=c,h=1;break;case 1:return A._asyncReturn(r,p)}});return A._asyncStartSync(_,p)},_async_evaluate0$_visitCalculation$2$inLegacySassFunction(e,t){return this._visitCalculation$body$_EvaluateVisitor0(e,t)},_async_evaluate0$_visitCalculation$1(e){return this._async_evaluate0$_visitCalculation$2$inLegacySassFunction(e,null)},_visitCalculation$body$_EvaluateVisitor0(e,t){var r,n,i,o,s,a,l,c,u,d,h,p,m=0,_=A._makeAsyncAwaitCompleter(D.Value_2),g=this,f=A._wrapJsFunctionForAsync(function(v,b){if(1===v)return A._asyncRethrow(b,_);for(;;)switch(m){case 0:if(d=e.$arguments,(h=d.named).get$isNotEmpty(h))throw A.wrapException(g._async_evaluate0$_exception$2(P.Keywor,e.span));if(null!=d.rest)throw A.wrapException(g._async_evaluate0$_exception$2(P.Rest_a,e.span));g._async_evaluate0$_checkCalculationArguments$1(e),h=A._setArrayType([],D.JSArray_Object),d=d.positional,c=d.length,u=0;case 3:if(!(u<c)){m=5;break}return p=h,m=6,A._asyncAwait(g._async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(d[u],t),f);case 6:p.push(b);case 4:++u,m=3;break;case 5:if(n=h,g._async_evaluate0$_inSupportsDeclaration){r=new A.SassCalculation0(e.name,A.List_List$unmodifiable(n,D.Object)),m=1;break}i=g._async_evaluate0$_callableNode,g._async_evaluate0$_callableNode=e;try{o=null,h=e.name,"calc"!==(s=h.toLowerCase())?"sqrt"!==s?"sin"!==s?"cos"!==s?"tan"!==s?"asin"!==s?"acos"!==s?"atan"!==s?"abs"!==s?"exp"!==s?"sign"!==s?"min"!==s?"max"!==s?"hypot"!==s?"pow"!==s?"atan2"!==s?"log"!==s?"mod"!==s?"rem"!==s?"round"!==s?"clamp"!==s?"calc-size"!==s?(h=A.UnsupportedError$('Unknown calculation name "'+h+'".'),o=A.throwExpression(h)):o=A.SassCalculation_calcSize0(w.$index$asx(n,0),A.ListExtensions_elementAtOrNull(n,1)):o=A.SassCalculation_clamp0(w.$index$asx(n,0),A.ListExtensions_elementAtOrNull(n,1),A.ListExtensions_elementAtOrNull(n,2)):o=A.SassCalculation_roundInternal0(w.$index$asx(n,0),A.ListExtensions_elementAtOrNull(n,1),A.ListExtensions_elementAtOrNull(n,2),t,e.span,new A._EvaluateVisitor__visitCalculation_closure2(g,e)):o=A.SassCalculation_rem0(w.$index$asx(n,0),A.ListExtensions_elementAtOrNull(n,1)):o=A.SassCalculation_mod0(w.$index$asx(n,0),A.ListExtensions_elementAtOrNull(n,1)):o=A.SassCalculation_log0(w.$index$asx(n,0),A.ListExtensions_elementAtOrNull(n,1)):o=A.SassCalculation_atan20(w.$index$asx(n,0),A.ListExtensions_elementAtOrNull(n,1)):o=A.SassCalculation_pow0(w.$index$asx(n,0),A.ListExtensions_elementAtOrNull(n,1)):o=A.SassCalculation_hypot0(n):o=A.SassCalculation_max0(n):o=A.SassCalculation_min0(n):o=A.SassCalculation_sign0(w.$index$asx(n,0)):o=A.SassCalculation_exp0(w.$index$asx(n,0)):o=A.SassCalculation_abs0(w.$index$asx(n,0)):o=A.SassCalculation__singleArgument0("atan",w.$index$asx(n,0),A.number2__atan$closure(),!0):o=A.SassCalculation__singleArgument0("acos",w.$index$asx(n,0),A.number2__acos$closure(),!0):o=A.SassCalculation__singleArgument0("asin",w.$index$asx(n,0),A.number2__asin$closure(),!0):o=A.SassCalculation__singleArgument0("tan",w.$index$asx(n,0),A.number2__tan$closure(),!1):o=A.SassCalculation__singleArgument0("cos",w.$index$asx(n,0),A.number2__cos$closure(),!1):o=A.SassCalculation__singleArgument0("sin",w.$index$asx(n,0),A.number2__sin$closure(),!1):o=A.SassCalculation__singleArgument0("sqrt",w.$index$asx(n,0),A.number2__sqrt$closure(),!0):o=A.SassCalculation_calc0(w.$index$asx(n,0)),r=o,m=1;break}catch(t){if(!((o=A.unwrapException(t))instanceof A.SassScriptException0))throw t;a=o,l=A.getTraceFromException(t),C.JSString_methods.contains$1(a.message,"compatible")&&g._async_evaluate0$_verifyCompatibleNumbers$2(n,d),A.throwWithTrace0(g._async_evaluate0$_exception$2(a.message,e.span),a,l)}finally{g._async_evaluate0$_callableNode=i}case 1:return A._asyncReturn(r,_)}});return A._asyncStartSync(f,_)},_async_evaluate0$_checkCalculationArguments$1(e){var t,r,n=new A._EvaluateVisitor__checkCalculationArguments_check2(this,e);if("calc"!==(r=(t=e.name).toLowerCase())&&"sqrt"!==r&&"sin"!==r&&"cos"!==r&&"tan"!==r&&"asin"!==r&&"acos"!==r&&"atan"!==r&&"abs"!==r&&"exp"!==r&&"sign"!==r)if("min"!==r&&"max"!==r&&"hypot"!==r)if("pow"!==r&&"atan2"!==r&&"log"!==r&&"mod"!==r&&"rem"!==r&&"calc-size"!==r){if("round"!==r&&"clamp"!==r)throw A.wrapException(A.UnsupportedError$('Unknown calculation name "'+t+'".'));n.call$1(3)}else n.call$1(2);else n.call$0();else n.call$1(1)},_async_evaluate0$_verifyCompatibleNumbers$2(e,t){var r,n,i,o,s,a,l,c,u,d,h,p;for(r=0;r<(n=e.length);++r)if((i=e[r])instanceof A.SassNumber0?(n=i.get$hasComplexUnits(),o=i):(o=null,n=!1),n)throw n=A.S(o),s=t[r],A.wrapException(this._async_evaluate0$_exception$2("Number "+n+" isn't compatible with CSS calculations.",s.get$span(s)));for(r=0;r<n-1;++r)if((a=e[r])instanceof A.SassNumber0)for(l=r+1;l<(n=e.length);++l)if((c=e[l])instanceof A.SassNumber0&&!a.hasPossiblyCompatibleUnits$1(c))throw n=a.toString$0(0),s=c.toString$0(0),u=(u=t[r]).get$span(u),d=a.toString$0(0),h=t[l],h=A.LinkedHashMap_LinkedHashMap$_literal([h.get$span(h),c.toString$0(0)],D.FileSpan,D.String),p=t[r],A.wrapException(A.MultiSpanSassRuntimeException$0(n+" and "+s+" are incompatible.",u,d,h,this._async_evaluate0$_stackTrace$1(p.get$span(p)),null))},_async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(e,t){return this._visitCalculationExpression$body$_EvaluateVisitor0(e,t)},_visitCalculationExpression$body$_EvaluateVisitor0(e,t){var r,n,i,o,s,a,l,c,u,d,h,p,m=0,_=A._makeAsyncAwaitCompleter(D.Object),g=this,f=A._wrapJsFunctionForAsync(function(v,b){if(1===v)return A._asyncRethrow(b,_);for(;;)switch(m){case 0:d=e instanceof A.ParenthesizedExpression0,h=d?e.expression:null,m=d?3:4;break;case 3:return m=5,A._asyncAwait(g._async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(h,t),f);case 5:r=(n=b)instanceof A.SassString0?new A.SassString0("("+n._string0$_text+")",!1):n,m=1;break;case 4:m=e instanceof A.StringExpression0&&e.accept$1(C.C_IsCalculationSafeVisitor0)?6:7;break;case 6:if(d=e.text,i=d.get$asPlain(),"pi"===(o=null==i?null:i.toLowerCase())){d=A.SassNumber_SassNumber0(3.141592653589793,null),m=8;break}if("e"===o){d=A.SassNumber_SassNumber0(2.718281828459045,null),m=8;break}if("infinity"===o){d=A.SassNumber_SassNumber0(1/0,null),m=8;break}if("-infinity"===o){d=A.SassNumber_SassNumber0(-1/0,null),m=8;break}if("nan"===o){d=A.SassNumber_SassNumber0(NaN,null),m=8;break}return p=A,m=9,A._asyncAwait(g._async_evaluate0$_performInterpolation$1(d),f);case 9:d=new p.SassString0(b,!1),m=8;break;case 8:r=d,m=1;break;case 7:(s={}).right=s.left=s.operator=null,(d=e instanceof A.BinaryOperationExpression0)&&(s.operator=e.operator,s.left=e.left,s.right=e.right),m=d?10:11;break;case 10:return g._async_evaluate0$_checkWhitespaceAroundCalculationOperator$1(e),m=12,A._asyncAwait(g._async_evaluate0$_addExceptionSpanAsync$1$2(e,new A._EvaluateVisitor__visitCalculationExpression_closure2(s,g,e,t),D.Object),f);case 12:r=b,m=1;break;case 11:m=e instanceof A.NumberExpression0||e instanceof A.VariableExpression0||e instanceof A.FunctionExpression0||e instanceof A.LegacyIfExpression0?13:14;break;case 13:return m=15,A._asyncAwait(e.accept$1(g),f);case 15:(a=b)instanceof A.SassNumber0||a instanceof A.SassCalculation0?d=a:(a instanceof A.SassString0?(d=!a._string0$_hasQuotes,n=a):(n=null,d=!1),d=d?n:A.throwExpression(g._async_evaluate0$_exception$2("Value "+a.toString$0(0)+" can't be used in a calculation.",e.get$span(e)))),r=d,m=1;break;case 14:m=e instanceof A.ListExpression0&&!e.hasBrackets&&C.ListSeparator_SrV0===e.separator&&e.contents.length>=2?16:17;break;case 16:d=A._setArrayType([],D.JSArray_Object),i=e.contents,l=i.length,c=0;case 18:if(!(c<l)){m=20;break}return p=d,m=21,A._asyncAwait(g._async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(i[c],t),f);case 21:p.push(b);case 19:++c,m=18;break;case 20:for(g._async_evaluate0$_checkAdjacentCalculationValues$2(d,e),u=0;u<d.length;++u)(l=d[u])instanceof A.CalculationOperation0&&i[u]instanceof A.ParenthesizedExpression0&&(d[u]=new A.SassString0("("+l.toString$0(0)+")",!1));r=new A.SassString0(C.JSArray_methods.join$1(d," "),!1),m=1;break;case 17:throw A.wrapException(g._async_evaluate0$_exception$2(P.This_e,e.get$span(e)));case 1:return A._asyncReturn(r,_)}});return A._asyncStartSync(f,_)},_async_evaluate0$_checkWhitespaceAroundCalculationOperator$1(e){var t,r,n,i,o,s,a=e.operator;if((a===C.BinaryOperator_jCK0||a===C.BinaryOperator_tDf0)&&(t=(t=(a=e.left).get$span(a)).get$file(t))===(n=(r=e.right).get$span(r)).get$file(n)&&(t=(t=a.get$span(a)).get$end(t),n=r.get$span(r),!(t.offset>=n.get$start(n).offset)&&(t=(t=a.get$span(a)).get$file(t),a=(a=a.get$span(a)).get$end(a),r=r.get$span(r),o=(i=A.String_String$fromCharCodes(C.NativeUint32List_methods.sublist$2(t._decodedChars,a.offset,r.get$start(r).offset),0,null)).charCodeAt(0),s=i.charCodeAt(i.length-1),a=32!==o&&9!==o&&10!==o&&13!==o&&12!==o&&47!==o||!(32===s||9===s||10===s||13===s||12===s||47===s))))throw A.wrapException(this._async_evaluate0$_exception$2(P.x22x2b__an,e.get$operatorSpan()))},_async_evaluate0$_binaryOperatorToCalculationOperator$2(e,t){return C.BinaryOperator_jCK0!==e?C.BinaryOperator_tDf0!==e?C.BinaryOperator_wkM0!==e?C.BinaryOperator_ehp0!==e?A.throwExpression(this._async_evaluate0$_exception$2(P.This_o,t.get$operatorSpan())):C.CalculationOperator_wFL0:C.CalculationOperator_LPB0:C.CalculationOperator_KrC0:C.CalculationOperator_dpX0},_async_evaluate0$_checkAdjacentCalculationValues$2(e,t){var r,n,i,o,s,a,l,c;for(r=e.length,n=1;n<r;++n)if(o=e[i=n-1],s=e[n],!(o instanceof A.SassString0||s instanceof A.SassString0))throw a=(r=t.contents)[i],(l=r[n])instanceof A.UnaryOperationExpression0?(c=l.operator,r=C.UnaryOperator_hCO0===c||C.UnaryOperator_n2K0===c):r=!1,(r=!!r||l instanceof A.NumberExpression0&&l.value<0)?A.wrapException(this._async_evaluate0$_exception$2(P.x22x2b__an,A.FileSpanExtension_subspan(l.get$span(l),0,1))):A.wrapException(this._async_evaluate0$_exception$2("Missing math operator.",a.get$span(a).expand$1(0,l.get$span(l))))},visitInterpolatedFunctionExpression$1(e,t){return this.visitInterpolatedFunctionExpression$body$_EvaluateVisitor0(0,t)},visitInterpolatedFunctionExpression$body$_EvaluateVisitor0(e,t){var r,n,i,o,s=0,a=A._makeAsyncAwaitCompleter(D.Value_2),l=this,c=A._wrapJsFunctionForAsync(function(e,u){if(1===e)return A._asyncRethrow(u,a);for(;;)switch(s){case 0:return s=3,A._asyncAwait(l._async_evaluate0$_performInterpolation$1(t.name),c);case 3:return i=u,o=l._async_evaluate0$_inFunction,l._async_evaluate0$_inFunction=!0,s=4,A._asyncAwait(l._async_evaluate0$_addErrorSpan$1$2(t,new A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure2(l,t,new A.PlainCssCallable0(i)),D.Value_2),c);case 4:n=u,l._async_evaluate0$_inFunction=o,r=n,s=1;break;case 1:return A._asyncReturn(r,a)}});return A._asyncStartSync(c,a)},_async_evaluate0$_runUserDefinedCallable$1$4(e,t,r,n,i){return this._runUserDefinedCallable$body$_EvaluateVisitor0(e,t,r,n,i,i)},_runUserDefinedCallable$body$_EvaluateVisitor0(e,t,r,n,i,o){var s,a,l,c,u,d=0,h=A._makeAsyncAwaitCompleter(o),p=this,m=A._wrapJsFunctionForAsync(function(o,_){if(1===o)return A._asyncRethrow(_,h);for(;;)switch(d){case 0:return d=3,A._asyncAwait(p._async_evaluate0$_evaluateArguments$1(e),m);case 3:return c=_,"@content"!==(u=t.declaration.name)&&(u+="()"),a=p._async_evaluate0$_inDependency,p._async_evaluate0$_inDependency=t.inDependency,d=4,A._asyncAwait(p._async_evaluate0$_withStackFrame$1$3(u,r,new A._EvaluateVisitor__runUserDefinedCallable_closure2(p,t,c,r,n,i),i),m);case 4:l=_,p._async_evaluate0$_inDependency=a,s=l,d=1;break;case 1:return A._asyncReturn(s,h)}});return A._asyncStartSync(m,h)},_async_evaluate0$_runFunctionCallable$3(e,t,r){return this._runFunctionCallable$body$_EvaluateVisitor0(e,t,r)},_runFunctionCallable$body$_EvaluateVisitor0(e,t,r){var n,i,o,s,a,l,c,u,d,h,p,m,_,g,f=0,v=A._makeAsyncAwaitCompleter(D.Value_2),b=2,y=[],$=this,x=A._wrapJsFunctionForAsync(function(S,E){for(1===S&&(y.push(E),f=b);;)switch(f){case 0:f=D.AsyncBuiltInCallable_2._is(t)?3:5;break;case 3:return f=6,A._asyncAwait($._async_evaluate0$_runBuiltInCallable$3(e,t,r),x);case 6:n=$._async_evaluate0$_withoutSlash$2(E,r),f=1;break;case 5:f=D.UserDefinedCallable_AsyncEnvironment_2._is(t)?7:9;break;case 7:return f=10,A._asyncAwait($._async_evaluate0$_runUserDefinedCallable$1$4(e,t,r,new A._EvaluateVisitor__runFunctionCallable_closure2($,t),D.Value_2),x);case 10:n=E,f=1;break;case 9:f=t instanceof A.PlainCssCallable0?11:13;break;case 11:if((u=e.named).get$isNotEmpty(u)||null!=e.keywordRest)throw A.wrapException($._async_evaluate0$_exception$2(P.Plain_,r.get$span(r)));i=new A.StringBuffer(t.name+"("),b=15,o=!0,u=e.positional,d=u.length,h=0;case 18:if(!(h<d)){f=20;break}return s=u[h],o?o=!1:i._contents+=", ",p=i,g=A,f=21,A._asyncAwait($._async_evaluate0$_evaluateToCss$1(s),x);case 21:m=g.S(E),p._contents+=m;case 19:++h,f=18;break;case 20:a=e.rest,f=null!=a?22:23;break;case 22:return f=24,A._asyncAwait(a.accept$1($),x);case 24:l=E,o||(i._contents+=", "),u=i,d=$._async_evaluate0$_serialize$2(l,a),u._contents+=d;case 23:b=2,f=17;break;case 15:if(b=14,_=y.pop(),u=A.unwrapException(_),D.SassRuntimeException_2._is(u)){if(c=u,!C.JSString_methods.endsWith$1(c._span_exception$_message,"isn't a valid CSS value."))throw _;throw A.wrapException(A.MultiSpanSassRuntimeException$0(c._span_exception$_message,w.get$span$x(c),"value",A.LinkedHashMap_LinkedHashMap$_literal([r.get$span(r),"unknown function treated as plain CSS"],D.FileSpan,D.String),w.get$trace$z(c),null))}throw _;case 14:f=2;break;case 17:u=i,d=A.Primitives_stringFromCharCode(41),u._contents+=d,d=i._contents,n=new A.SassString0((d.charCodeAt(0),d),!1),f=1;break;case 13:throw A.wrapException(A.ArgumentError$("Unknown callable type "+w.get$runtimeType$(t).toString$0(0)+".",null));case 12:case 8:case 4:case 1:return A._asyncReturn(n,v);case 2:return A._asyncRethrow(y.at(-1),v)}});return A._asyncStartSync(x,v)},_async_evaluate0$_runBuiltInCallable$3(e,t,r){return this._runBuiltInCallable$body$_EvaluateVisitor0(e,t,r)},_runBuiltInCallable$body$_EvaluateVisitor0(e,t,r){var n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y,$,x,S,E,M=0,k=A._makeAsyncAwaitCompleter(D.Value_2),T=2,R=[],L=this,P=A._wrapJsFunctionForAsync(function(N,F){for(1===N&&(R.push(F),M=T);;)switch(M){case 0:return $={},M=3,A._asyncAwait(L._async_evaluate0$_evaluateArguments$1(e),P);case 3:x=F,S=L._async_evaluate0$_callableNode,L._async_evaluate0$_callableNode=r,a=new A.MapKeySet(x._values[0],D.MapKeySet_String),$.callback=$.overload=null,l=t.callbackFor$2(w.get$length$asx(x._values[2]),a),$.overload=l._0,$.callback=l._1,L._async_evaluate0$_addExceptionSpan$2(r,new A._EvaluateVisitor__runBuiltInCallable_closure8($,x,a)),c=$.overload.parameters,u=w.get$length$asx(x._values[2]),d=c.length,h=D._Future_Value_2,p=D.Future_Value_2;case 4:if(!(u<d)){M=6;break}m=c[u],_=x._values[2],g=x._values[0].remove$1(0,m.name),M=null==g?7:8;break;case 7:return g=m.defaultValue,f=g.accept$1(L),p._is(f)||((v=new A._Future(I.Zone__current,h))._state=8,v._resultOrListeners=f,f=v),M=9,A._asyncAwait(f,P);case 9:g=L._async_evaluate0$_withoutSlash$2(F,g);case 8:w.add$1$ax(_,g);case 5:++u,M=4;break;case 6:return null!=$.overload.restParameter?(w.get$length$asx(x._values[2])>d?(b=w.sublist$1$ax(x._values[2],d),w.removeRange$2$ax(x._values[2],d,w.get$length$asx(x._values[2]))):b=C.List_empty23,d=x._values[0],y=A.SassArgumentList$0(b,d,x._values[4]===C.ListSeparator_undecided_null_3_undecided0?C.ListSeparator_z0K0:x._values[4]),w.add$1$ax(x._values[2],y)):y=null,i=null,T=11,M=14,A._asyncAwait(L._async_evaluate0$_addExceptionSpanAsync$1$2(r,new A._EvaluateVisitor__runBuiltInCallable_closure9($,x),D.Value_2),P);case 14:i=F,T=2,M=13;break;case 11:if(T=10,E=R.pop(),(d=A.unwrapException(E))instanceof A.SassException0)throw E;o=d,s=A.getTraceFromException(E),A.throwWithTrace0(L._async_evaluate0$_exception$2(L._async_evaluate0$_getErrorMessage$1(o),r.get$span(r)),o,s),M=13;break;case 10:M=2;break;case 13:if(L._async_evaluate0$_callableNode=S,null==y){n=i,M=1;break}if((d=x._values[0]).get$isEmpty(d)){n=i,M=1;break}if(y._argument_list$_wereKeywordsAccessed){n=i,M=1;break}throw d=(d=x._values[0]).get$keys(d),d=A.pluralize0("parameter",d.get$length(d),null),h=(h=x._values[0]).get$keys(h),A.wrapException(A.MultiSpanSassRuntimeException$0("No "+d+" named "+A.toSentence0(h.map$1$1(h,new A._EvaluateVisitor__runBuiltInCallable_closure10,D.Object),"or")+".",r.get$span(r),"invocation",A.LinkedHashMap_LinkedHashMap$_literal([$.overload.get$spanWithName(),"declaration"],D.FileSpan,D.String),L._async_evaluate0$_stackTrace$1(r.get$span(r)),null));case 1:return A._asyncReturn(n,k);case 2:return A._asyncRethrow(R.at(-1),k)}});return A._asyncStartSync(P,k)},_async_evaluate0$_evaluateArguments$1(e){return this._evaluateArguments$body$_EvaluateVisitor0(e)},_evaluateArguments$body$_EvaluateVisitor0(e){var t,r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y,$,x,S,w,E,M,k=0,T=A._makeAsyncAwaitCompleter(D.Record_5_Map_String_Value_named_and_Map_String_AstNode_namedNodes_and_List_Value_positional_and_List_AstNode_positionalNodes_and_ListSeparator_separator_2),R=this,L=A._wrapJsFunctionForAsync(function(N,F){if(1===N)return A._asyncRethrow(F,T);for(;;)switch(k){case 0:S=A._setArrayType([],D.JSArray_Value_2),w=A._setArrayType([],D.JSArray_AstNode_2),r=e.positional,n=r.length,i=D._Future_Value_2,o=D.Future_Value_2,s=0;case 3:if(!(s<n)){k=5;break}return a=r[s],l=R._async_evaluate0$_expressionNode$1(a),c=a.accept$1(R),o._is(c)||((u=new A._Future(I.Zone__current,i))._state=8,u._resultOrListeners=c,c=u),E=S,k=6,A._asyncAwait(c,L);case 6:E.push(R._async_evaluate0$_withoutSlash$2(F,l)),w.push(l);case 4:++s,k=3;break;case 5:r=D.String,d=A.LinkedHashMap_LinkedHashMap$_empty(r,D.Value_2),n=D.AstNode_2,h=A.LinkedHashMap_LinkedHashMap$_empty(r,n),c=(c=A.MapExtensions_get_pairs0(e.named,r,D.Expression_2)).get$iterator(c);case 7:if(!c.moveNext$0()){k=8;break}return u=c.get$current(c),p=u._0,m=u._1,l=R._async_evaluate0$_expressionNode$1(m),u=m.accept$1(R),o._is(u)||((_=new A._Future(I.Zone__current,i))._state=8,_._resultOrListeners=u,u=_),E=d,M=p,k=9,A._asyncAwait(u,L);case 9:E.$indexSet(0,M,R._async_evaluate0$_withoutSlash$2(F,l)),h.$indexSet(0,p,l),k=7;break;case 8:if(null==(g=e.rest)){t=new A._Record_5_named_namedNodes_positional_positionalNodes_separator([d,h,S,w,C.ListSeparator_undecided_null_3_undecided0]),k=1;break}return k=10,A._asyncAwait(g.accept$1(R),L);case 10:if(f=F,v=R._async_evaluate0$_expressionNode$1(g),f instanceof A.SassMap0){for(R._async_evaluate0$_addRestMap$4(d,f,g,new A._EvaluateVisitor__evaluateArguments_closure11),i=A.LinkedHashMap_LinkedHashMap$_empty(r,n),o=(o=(o=f._map0$_contents).get$keys(o)).get$iterator(o),c=D.SassString_2;o.moveNext$0();)i.$indexSet(0,c._as(o.get$current(o))._string0$_text,v);h.addAll$1(0,i),b=C.ListSeparator_undecided_null_3_undecided0}else f instanceof A.SassList0?(i=f._list1$_contents,C.JSArray_methods.addAll$1(S,new A.MappedListIterable(i,new A._EvaluateVisitor__evaluateArguments_closure12(R,v),A._arrayInstanceType(i)._eval$1("MappedListIterable<1,Value0>"))),C.JSArray_methods.addAll$1(w,A.List_List$filled(i.length,v,!1,n)),b=f._list1$_separator,f instanceof A.SassArgumentList0&&(f._argument_list$_wereKeywordsAccessed=!0,f._argument_list$_keywords.forEach$1(0,new A._EvaluateVisitor__evaluateArguments_closure13(R,d,v,h)))):(S.push(R._async_evaluate0$_withoutSlash$2(f,v)),w.push(v),b=C.ListSeparator_undecided_null_3_undecided0);if(null==(y=e.keywordRest)){t=new A._Record_5_named_namedNodes_positional_positionalNodes_separator([d,h,S,w,b]),k=1;break}return k=11,A._asyncAwait(y.accept$1(R),L);case 11:if($=F,x=R._async_evaluate0$_expressionNode$1(y),$ instanceof A.SassMap0){for(R._async_evaluate0$_addRestMap$4(d,$,y,new A._EvaluateVisitor__evaluateArguments_closure14),r=A.LinkedHashMap_LinkedHashMap$_empty(r,n),n=(n=(n=$._map0$_contents).get$keys(n)).get$iterator(n),i=D.SassString_2;n.moveNext$0();)r.$indexSet(0,i._as(n.get$current(n))._string0$_text,x);h.addAll$1(0,r),t=new A._Record_5_named_namedNodes_positional_positionalNodes_separator([d,h,S,w,b]),k=1;break}throw A.wrapException(R._async_evaluate0$_exception$2(P.Variabs+$.toString$0(0)+").",y.get$span(y)));case 1:return A._asyncReturn(t,T)}});return A._asyncStartSync(L,T)},_async_evaluate0$_evaluateMacroArguments$1(e){return this._evaluateMacroArguments$body$_EvaluateVisitor0(e)},_evaluateMacroArguments$body$_EvaluateVisitor0(e){var t,r,n,i,o,s,a,l,c,u,d,h=0,p=A._makeAsyncAwaitCompleter(D.Record_2_List_Expression_and_Map_String_Expression_2),m=this,_=A._wrapJsFunctionForAsync(function(g,f){if(1===g)return A._asyncRethrow(f,p);for(;;)switch(h){case 0:if(u=e.$arguments,null==(d=u.rest)){t=new A._Record_2(u.positional,u.named),h=1;break}return r=u.positional,n=A._setArrayType(r.slice(0),A._arrayInstanceType(r)),i=A.LinkedHashMap_LinkedHashMap$of(u.named,D.String,D.Expression_2),h=3,A._asyncAwait(d.accept$1(m),_);case 3:if(o=f,s=m._async_evaluate0$_expressionNode$1(d),o instanceof A.SassMap0?m._async_evaluate0$_addRestMap$4(i,o,e,new A._EvaluateVisitor__evaluateMacroArguments_closure11(d)):o instanceof A.SassList0?(r=o._list1$_contents,C.JSArray_methods.addAll$1(n,new A.MappedListIterable(r,new A._EvaluateVisitor__evaluateMacroArguments_closure12(m,s,d),A._arrayInstanceType(r)._eval$1("MappedListIterable<1,Expression0>"))),o instanceof A.SassArgumentList0&&(o._argument_list$_wereKeywordsAccessed=!0,o._argument_list$_keywords.forEach$1(0,new A._EvaluateVisitor__evaluateMacroArguments_closure13(m,i,s,d)))):n.push(new A.ValueExpression0(m._async_evaluate0$_withoutSlash$2(o,s),d.get$span(d))),null==(a=u.keywordRest)){t=new A._Record_2(n,i),h=1;break}return h=4,A._asyncAwait(a.accept$1(m),_);case 4:if(l=f,c=m._async_evaluate0$_expressionNode$1(a),l instanceof A.SassMap0){m._async_evaluate0$_addRestMap$4(i,l,e,new A._EvaluateVisitor__evaluateMacroArguments_closure14(m,c,a)),t=new A._Record_2(n,i),h=1;break}throw A.wrapException(m._async_evaluate0$_exception$2(P.Variabs+l.toString$0(0)+").",a.get$span(a)));case 1:return A._asyncReturn(t,p)}});return A._asyncStartSync(_,p)},_async_evaluate0$_addRestMap$1$4(e,t,r,n){t._map0$_contents.forEach$1(0,new A._EvaluateVisitor__addRestMap_closure2(this,e,n,this._async_evaluate0$_expressionNode$1(r),t,r))},_async_evaluate0$_addRestMap$4(e,t,r,n){return this._async_evaluate0$_addRestMap$1$4(e,t,r,n,D.dynamic)},_async_evaluate0$_verifyArguments$4(e,t,r,n){return this._async_evaluate0$_addExceptionSpan$2(n,new A._EvaluateVisitor__verifyArguments_closure2(r,e,t))},visitSelectorExpression$1(e,t){return this.visitSelectorExpression$body$_EvaluateVisitor0(0,t)},visitSelectorExpression$body$_EvaluateVisitor0(e,t){var r,n,i=0,o=A._makeAsyncAwaitCompleter(D.Value_2),s=this,a=A._wrapJsFunctionForAsync(function(e,t){if(1===e)return A._asyncRethrow(t,o);for(;;)switch(i){case 0:n=null==(n=s._async_evaluate0$_styleRuleIgnoringAtRoot)?null:n.originalSelector.get$asSassList(),r=null==n?C.C__SassNull0:n,i=1;break;case 1:return A._asyncReturn(r,o)}});return A._asyncStartSync(a,o)},visitStringExpression$1(e,t){return this.visitStringExpression$body$_EvaluateVisitor0(0,t)},visitStringExpression$body$_EvaluateVisitor0(e,t){var r,n,i,o,s,a,l,c,u,d,h=0,p=A._makeAsyncAwaitCompleter(D.SassString_2),m=this,_=A._wrapJsFunctionForAsync(function(e,g){if(1===e)return A._asyncRethrow(g,p);for(;;)switch(h){case 0:d=m._async_evaluate0$_inSupportsDeclaration,m._async_evaluate0$_inSupportsDeclaration=!1,n=A._setArrayType([],D.JSArray_String),i=t.text.contents,o=i.length,s=0;case 3:if(!(s<o)){h=5;break}if("string"==typeof(a=i[s])){l=a,h=6;break}h=a instanceof A.Expression0?7:8;break;case 7:return h=9,A._asyncAwait(a.accept$1(m),_);case 9:(c=g)instanceof A.SassString0?(u=c._string0$_text,l=u):l=m._async_evaluate0$_serialize$3$quote(c,a,!1),h=6;break;case 8:l=A.throwExpression(A.UnsupportedError$("Unknown interpolation value "+A.S(a)));case 6:n.push(l);case 4:++s,h=3;break;case 5:n=C.JSArray_methods.join$0(n),m._async_evaluate0$_inSupportsDeclaration=d,r=new A.SassString0(n,t.hasQuotes),h=1;break;case 1:return A._asyncReturn(r,p)}});return A._asyncStartSync(_,p)},visitSupportsExpression$1(e,t){return this.visitSupportsExpression$body$_EvaluateVisitor0(0,t)},visitSupportsExpression$body$_EvaluateVisitor0(e,t){var r,n,i=0,o=A._makeAsyncAwaitCompleter(D.SassString_2),s=this,a=A._wrapJsFunctionForAsync(function(e,l){if(1===e)return A._asyncRethrow(l,o);for(;;)switch(i){case 0:return n=A,i=3,A._asyncAwait(s._async_evaluate0$_visitSupportsCondition$1(t.condition),a);case 3:r=new n.SassString0(l,!1),i=1;break;case 1:return A._asyncReturn(r,o)}});return A._asyncStartSync(a,o)},visitCssAtRule$1(e){return this.visitCssAtRule$body$_EvaluateVisitor0(e)},visitCssAtRule$body$_EvaluateVisitor0(e){var t,r,n,i,o=0,s=A._makeAsyncAwaitCompleter(D.void),a=this,l=A._wrapJsFunctionForAsync(function(c,u){if(1===c)return A._asyncRethrow(u,s);for(;;)switch(o){case 0:if(null!=a._async_evaluate0$_declarationName)throw A.wrapException(a._async_evaluate0$_exception$2(P.At_rul,e.span));if(e.isChildless){a._async_evaluate0$_copyParentAfterSibling$0(),a._async_evaluate0$_assertInModule$2(a._async_evaluate0$__parent,"__parent").addChild$1(A.ModifiableCssAtRule$0(e.name,e.span,!0,e.value)),o=1;break}t=a._async_evaluate0$_inKeyframes,r=a._async_evaluate0$_inUnknownAtRule,n=e.name,"keyframes"===A.unvendor0(n.value)?a._async_evaluate0$_inKeyframes=!0:a._async_evaluate0$_inUnknownAtRule=!0,i=A.ModifiableCssAtRule$0(n,e.span,!1,e.value),o=a.get$_async_evaluate0$_hasCssNesting()?3:4;break;case 3:return o=5,A._asyncAwait(a._async_evaluate0$_withParent$2$3$scopeWhen(i,new A._EvaluateVisitor_visitCssAtRule_closure8(a,e),!1,D.ModifiableCssAtRule_2,D.Null),l);case 5:a._async_evaluate0$_inUnknownAtRule=r,a._async_evaluate0$_inKeyframes=t,o=1;break;case 4:return o=6,A._asyncAwait(a._async_evaluate0$_withParent$2$4$scopeWhen$through(i,new A._EvaluateVisitor_visitCssAtRule_closure9(a,e),!1,new A._EvaluateVisitor_visitCssAtRule_closure10,D.ModifiableCssAtRule_2,D.Null),l);case 6:a._async_evaluate0$_inUnknownAtRule=r,a._async_evaluate0$_inKeyframes=t;case 1:return A._asyncReturn(undefined,s)}});return A._asyncStartSync(l,s)},visitCssComment$1(e){return this.visitCssComment$body$_EvaluateVisitor0(e)},visitCssComment$body$_EvaluateVisitor0(e){var t=A._makeAsyncAwaitCompleter(D.void),r=this,n=A._wrapJsFunctionForAsync(function(n,i){if(1===n)return A._asyncRethrow(i,t);for(;;)return r._async_evaluate0$_assertInModule$2(r._async_evaluate0$__parent,"__parent")===r._async_evaluate0$_assertInModule$2(r._async_evaluate0$__root,"_root")&&r._async_evaluate0$_assertInModule$2(r._async_evaluate0$__endOfImports,"_endOfImports")===w.get$length$asx(r._async_evaluate0$_assertInModule$2(r._async_evaluate0$__root,"_root").children._collection$_source)&&(r._async_evaluate0$__endOfImports=r._async_evaluate0$_assertInModule$2(r._async_evaluate0$__endOfImports,"_endOfImports")+1),r._async_evaluate0$_copyParentAfterSibling$0(),r._async_evaluate0$_assertInModule$2(r._async_evaluate0$__parent,"__parent").addChild$1(new A.ModifiableCssComment0(e.text,e.span)),A._asyncReturn(null,t)});return A._asyncStartSync(n,t)},visitCssDeclaration$1(e){return this.visitCssDeclaration$body$_EvaluateVisitor0(e)},visitCssDeclaration$body$_EvaluateVisitor0(e){var t=A._makeAsyncAwaitCompleter(D.void),r=this,n=A._wrapJsFunctionForAsync(function(n,i){if(1===n)return A._asyncRethrow(i,t);for(;;)return r._async_evaluate0$_copyParentAfterSibling$0(),r._async_evaluate0$_assertInModule$2(r._async_evaluate0$__parent,"__parent").addChild$1(A.ModifiableCssDeclaration$0(e.name,e.value,e.span,e.parsedAsSassScript,e.valueSpanForMap)),A._asyncReturn(null,t)});return A._asyncStartSync(n,t)},visitCssImport$1(e){return this.visitCssImport$body$_EvaluateVisitor0(e)},visitCssImport$body$_EvaluateVisitor0(e){var t,r,n=A._makeAsyncAwaitCompleter(D.void),i=this,o=A._wrapJsFunctionForAsync(function(o,s){if(1===o)return A._asyncRethrow(s,n);for(;;)return r=new A.ModifiableCssImport0(e.url,e.modifiers,e.span),i._async_evaluate0$_assertInModule$2(i._async_evaluate0$__parent,"__parent")!==i._async_evaluate0$_assertInModule$2(i._async_evaluate0$__root,"_root")?(i._async_evaluate0$_copyParentAfterSibling$0(),i._async_evaluate0$_assertInModule$2(i._async_evaluate0$__parent,"__parent").addChild$1(r)):i._async_evaluate0$_assertInModule$2(i._async_evaluate0$__endOfImports,"_endOfImports")===w.get$length$asx(i._async_evaluate0$_assertInModule$2(i._async_evaluate0$__root,"_root").children._collection$_source)?(i._async_evaluate0$_assertInModule$2(i._async_evaluate0$__root,"_root").addChild$1(r),i._async_evaluate0$__endOfImports=i._async_evaluate0$_assertInModule$2(i._async_evaluate0$__endOfImports,"_endOfImports")+1):(null==(t=i._async_evaluate0$_outOfOrderImports)?i._async_evaluate0$_outOfOrderImports=A._setArrayType([],D.JSArray_ModifiableCssImport_2):t).push(r),A._asyncReturn(null,n)});return A._asyncStartSync(o,n)},visitCssKeyframeBlock$1(e){return this.visitCssKeyframeBlock$body$_EvaluateVisitor0(e)},visitCssKeyframeBlock$body$_EvaluateVisitor0(e){var t=0,r=A._makeAsyncAwaitCompleter(D.void),n=this,i=A._wrapJsFunctionForAsync(function(o,s){if(1===o)return A._asyncRethrow(s,r);for(;;)switch(t){case 0:return t=2,A._asyncAwait(n._async_evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssKeyframeBlock$0(e.selector,e.span),new A._EvaluateVisitor_visitCssKeyframeBlock_closure5(n,e),!1,new A._EvaluateVisitor_visitCssKeyframeBlock_closure6,D.ModifiableCssKeyframeBlock_2,D.Null),i);case 2:return A._asyncReturn(null,r)}});return A._asyncStartSync(i,r)},visitCssMediaRule$1(e){return this.visitCssMediaRule$body$_EvaluateVisitor0(e)},visitCssMediaRule$body$_EvaluateVisitor0(e){var t,r,n,i,o,s=0,a=A._makeAsyncAwaitCompleter(D.void),l=this,c=A._wrapJsFunctionForAsync(function(u,d){if(1===u)return A._asyncRethrow(d,a);for(;;)switch(s){case 0:if(null!=l._async_evaluate0$_declarationName)throw A.wrapException(l._async_evaluate0$_exception$2(P.Media_,e.span));s=l.get$_async_evaluate0$_hasCssNesting()?3:4;break;case 3:return s=5,A._asyncAwait(l._async_evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssMediaRule$0(e.queries,e.span),new A._EvaluateVisitor_visitCssMediaRule_closure11(l,e),!1,D.ModifiableCssMediaRule_2,D.Null),c);case 5:s=1;break;case 4:if(t=A.NullableExtension_andThen0(l._async_evaluate0$_mediaQueries,new A._EvaluateVisitor_visitCssMediaRule_closure12(l,e)),!(r=null==t)&&w.get$isEmpty$asx(t)){s=1;break}return r?n=C.Set_empty6:((i=l._async_evaluate0$_mediaQuerySources).toString,i=A.LinkedHashSet_LinkedHashSet$of(i,D.CssMediaQuery_2),(o=l._async_evaluate0$_mediaQueries).toString,i.addAll$1(0,o),i.addAll$1(0,e.queries),n=i),r=r?e.queries:t,s=6,A._asyncAwait(l._async_evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssMediaRule$0(r,e.span),new A._EvaluateVisitor_visitCssMediaRule_closure13(l,t,e,n),!1,new A._EvaluateVisitor_visitCssMediaRule_closure14(n),D.ModifiableCssMediaRule_2,D.Null),c);case 6:case 1:return A._asyncReturn(undefined,a)}});return A._asyncStartSync(c,a)},visitCssStyleRule$1(e){return this.visitCssStyleRule$body$_EvaluateVisitor0(e)},visitCssStyleRule$body$_EvaluateVisitor0(e){var t,r,n,i,o,s,a,l,c,u,d=0,h=A._makeAsyncAwaitCompleter(D.void),p=this,m=A._wrapJsFunctionForAsync(function(_,g){if(1===_)return A._asyncRethrow(g,h);for(;;)switch(d){case 0:if(null!=p._async_evaluate0$_declarationName)throw A.wrapException(p._async_evaluate0$_exception$2(P.Style_n,e.span));if(p._async_evaluate0$_inKeyframes&&p._async_evaluate0$_assertInModule$2(p._async_evaluate0$__parent,"__parent")instanceof A.ModifiableCssKeyframeBlock0)throw A.wrapException(p._async_evaluate0$_exception$2(P.Style_k,e.span));return t=p._async_evaluate0$_atRootExcludingStyleRule,r=t?null:p._async_evaluate0$_styleRuleIgnoringAtRoot,n=t?null:p._async_evaluate0$_styleRuleIgnoringAtRoot,t=null==n||!n.fromPlainCss&&!(e.fromPlainCss&&e._style_rule0$_selector._box0$_inner.value.accept$1(C.C__ContainsParentSelectorVisitor0)),i=e._style_rule0$_selector._box0$_inner,t?(i=i.value,o=null==r?null:r.originalSelector,s=i.nestWithin$3$implicitParent$preserveParentSelectors(o,!p._async_evaluate0$_atRootExcludingStyleRule,e.fromPlainCss)):s=i.value,a=A.ModifiableCssStyleRule$0(p._async_evaluate0$_assertInModule$2(p._async_evaluate0$__extensionStore,"_extensionStore").addSelector$2(s,p._async_evaluate0$_mediaQueries),e.span,e.fromPlainCss,s),l=p._async_evaluate0$_atRootExcludingStyleRule,p._async_evaluate0$_atRootExcludingStyleRule=!1,t=t?new A._EvaluateVisitor_visitCssStyleRule_closure5:null,d=2,A._asyncAwait(p._async_evaluate0$_withParent$2$4$scopeWhen$through(a,new A._EvaluateVisitor_visitCssStyleRule_closure6(p,a,e),!1,t,D.ModifiableCssStyleRule_2,D.Null),m);case 2:return p._async_evaluate0$_atRootExcludingStyleRule=l,t=p._async_evaluate0$_assertInModule$2(p._async_evaluate0$__parent,"__parent").children._collection$_source,i=w.getInterceptor$asx(t),(c=i.get$length(t))>=1?(u=i.elementAt$1(t,c-1),t=null==r):(u=null,t=!1),t&&(u.isGroupEnd=!0),A._asyncReturn(null,h)}});return A._asyncStartSync(m,h)},visitCssStylesheet$1(e){return this.visitCssStylesheet$body$_EvaluateVisitor0(e)},visitCssStylesheet$body$_EvaluateVisitor0(e){var t,r=0,n=A._makeAsyncAwaitCompleter(D.void),i=this,o=A._wrapJsFunctionForAsync(function(s,a){if(1===s)return A._asyncRethrow(a,n);for(;;)switch(r){case 0:t=w.get$iterator$ax(e.get$children(e));case 2:if(!t.moveNext$0()){r=3;break}return r=4,A._asyncAwait(t.get$current(t).accept$1(i),o);case 4:r=2;break;case 3:return A._asyncReturn(null,n)}});return A._asyncStartSync(o,n)},visitCssSupportsRule$1(e){return this.visitCssSupportsRule$body$_EvaluateVisitor0(e)},visitCssSupportsRule$body$_EvaluateVisitor0(e){var t,r=0,n=A._makeAsyncAwaitCompleter(D.void),i=this,o=A._wrapJsFunctionForAsync(function(s,a){if(1===s)return A._asyncRethrow(a,n);for(;;)switch(r){case 0:if(null!=i._async_evaluate0$_declarationName)throw A.wrapException(i._async_evaluate0$_exception$2(P.Suppor,e.span));t=A.ModifiableCssSupportsRule$0(e.condition,e.span),r=i.get$_async_evaluate0$_hasCssNesting()?3:4;break;case 3:return r=5,A._asyncAwait(i._async_evaluate0$_withParent$2$3$scopeWhen(t,new A._EvaluateVisitor_visitCssSupportsRule_closure8(i,e),!1,D.ModifiableCssSupportsRule_2,D.Null),o);case 5:r=1;break;case 4:return r=6,A._asyncAwait(i._async_evaluate0$_withParent$2$4$scopeWhen$through(t,new A._EvaluateVisitor_visitCssSupportsRule_closure9(i,e),!1,new A._EvaluateVisitor_visitCssSupportsRule_closure10,D.ModifiableCssSupportsRule_2,D.Null),o);case 6:case 1:return A._asyncReturn(undefined,n)}});return A._asyncStartSync(o,n)},_async_evaluate0$_handleReturn$1$2(e,t){return this._handleReturn$body$_EvaluateVisitor0(e,t)},_async_evaluate0$_handleReturn$2(e,t){return this._async_evaluate0$_handleReturn$1$2(e,t,D.dynamic)},_handleReturn$body$_EvaluateVisitor0(e,t){var r,n,i,o,s=0,a=A._makeAsyncAwaitCompleter(D.nullable_Value_2),l=A._wrapJsFunctionForAsync(function(c,u){if(1===c)return A._asyncRethrow(u,a);for(;;)switch(s){case 0:n=e.length,i=0;case 3:if(!(i<e.length)){s=5;break}return s=6,A._asyncAwait(t.call$1(e[i]),l);case 6:if(null!=(o=u)){r=o,s=1;break}case 4:e.length===n||(0,A.throwConcurrentModificationError)(e),++i,s=3;break;case 5:r=null,s=1;break;case 1:return A._asyncReturn(r,a)}});return A._asyncStartSync(l,a)},_async_evaluate0$_withEnvironment$1$2(e,t,r){return this._withEnvironment$body$_EvaluateVisitor0(e,t,r,r)},_withEnvironment$body$_EvaluateVisitor0(e,t,r,n){var i,o,s,a=0,l=A._makeAsyncAwaitCompleter(n),c=this,u=A._wrapJsFunctionForAsync(function(r,n){if(1===r)return A._asyncRethrow(n,l);for(;;)switch(a){case 0:return s=c._async_evaluate0$_environment,c._async_evaluate0$_environment=e,a=3,A._asyncAwait(t.call$0(),u);case 3:o=n,c._async_evaluate0$_environment=s,i=o,a=1;break;case 1:return A._asyncReturn(i,l)}});return A._asyncStartSync(u,l)},_async_evaluate0$_interpolationToValue$3$trim$warnForColor(e,t,r){return this._interpolationToValue$body$_EvaluateVisitor0(e,t,r)},_async_evaluate0$_interpolationToValue$1(e){return this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(e,!1,!1)},_async_evaluate0$_interpolationToValue$2$warnForColor(e,t){return this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(e,!1,t)},_interpolationToValue$body$_EvaluateVisitor0(e,t,r){var n,i,o,s=0,a=A._makeAsyncAwaitCompleter(D.CssValue_String_2),l=this,c=A._wrapJsFunctionForAsync(function(u,d){if(1===u)return A._asyncRethrow(d,a);for(;;)switch(s){case 0:return s=3,A._asyncAwait(l._async_evaluate0$_performInterpolation$2$warnForColor(e,r),c);case 3:i=d,o=t?A.trimAscii0(i,!0):i,n=new A.CssValue0(o,e.span,D.CssValue_String_2),s=1;break;case 1:return A._asyncReturn(n,a)}});return A._asyncStartSync(c,a)},_async_evaluate0$_performInterpolation$2$warnForColor(e,t){return this._performInterpolation$body$_EvaluateVisitor0(e,t)},_async_evaluate0$_performInterpolation$1(e){return this._async_evaluate0$_performInterpolation$2$warnForColor(e,!1)},_performInterpolation$body$_EvaluateVisitor0(e,t){var r,n=0,i=A._makeAsyncAwaitCompleter(D.String),o=this,s=A._wrapJsFunctionForAsync(function(a,l){if(1===a)return A._asyncRethrow(l,i);for(;;)switch(n){case 0:return n=3,A._asyncAwait(o._async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(e,!1,t),s);case 3:r=l._0,n=1;break;case 1:return A._asyncReturn(r,i)}});return A._asyncStartSync(s,i)},_async_evaluate0$_performInterpolationWithMap$2$warnForColor(e,t){return this._performInterpolationWithMap$body$_EvaluateVisitor0(e,!0)},_performInterpolationWithMap$body$_EvaluateVisitor0(e,t){var r,n,i,o,s=0,a=A._makeAsyncAwaitCompleter(D.Record_2_String_and_InterpolationMap_2),l=this,c=A._wrapJsFunctionForAsync(function(t,u){if(1===t)return A._asyncRethrow(u,a);for(;;)switch(s){case 0:return s=3,A._asyncAwait(l._async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(e,!0,!0),c);case 3:i=(n=u)._0,(o=n._1).toString,r=new A._Record_2(i,o),s=1;break;case 1:return A._asyncReturn(r,a)}});return A._asyncStartSync(c,a)},_async_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(e,t,r){return this._performInterpolationHelper$body$_EvaluateVisitor0(e,t,r)},_performInterpolationHelper$body$_EvaluateVisitor0(e,t,r){var n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b=0,y=A._makeAsyncAwaitCompleter(D.Record_2_String_and_nullable_InterpolationMap_2),$=this,x=A._wrapJsFunctionForAsync(function(S,w){if(1===S)return A._asyncRethrow(w,y);for(;;)switch(b){case 0:f=t?A._setArrayType([],D.JSArray_int):null,v=$._async_evaluate0$_inSupportsDeclaration,$._async_evaluate0$_inSupportsDeclaration=!1,i=e.contents,o=i.length,s=D.Expression_2,a=null==f,l=e.span,c=D.Object,u=!0,d=0,h="";case 3:if(!(d<o)){b=5;break}if(p=i[d],u||a||f.push(h.length),"string"==typeof p){h+=p,b=4;break}return s._as(p),b=6,A._asyncAwait(p.accept$1($),x);case 6:m=w,r&&I.$get$namesByColor0().containsKey$1(m)&&((_=A.List_List$from([""],!1,c)).$flags=3,g=I.$get$namesByColor0(),$._async_evaluate0$_warn$2(P.You_pr+A.S(g.$index(0,m))+P.x20in_in+m.toString$0(0)+P.x2c_whicw+A.S(g.$index(0,m))+P.x22x29__If+new A.BinaryOperationExpression0(C.BinaryOperator_jCK0,new A.StringExpression0(new A.Interpolation0(_,C.List_null,l),!0),p,!1).toString$0(0)+"'.",p.get$span(p))),h+=$._async_evaluate0$_serialize$3$quote(m,p,!1);case 4:++d,u=!1,b=3;break;case 5:$._async_evaluate0$_inSupportsDeclaration=v,n=new A._Record_2((h.charCodeAt(0),h),A.NullableExtension_andThen0(f,new A._EvaluateVisitor__performInterpolationHelper_closure2(e))),b=1;break;case 1:return A._asyncReturn(n,y)}});return A._asyncStartSync(x,y)},_async_evaluate0$_evaluateToCss$2$quote(e,t){return this._evaluateToCss$body$_EvaluateVisitor0(e,t)},_async_evaluate0$_evaluateToCss$1(e){return this._async_evaluate0$_evaluateToCss$2$quote(e,!0)},_evaluateToCss$body$_EvaluateVisitor0(e,t){var r,n,i=0,o=A._makeAsyncAwaitCompleter(D.String),s=this,a=A._wrapJsFunctionForAsync(function(l,c){if(1===l)return A._asyncRethrow(c,o);for(;;)switch(i){case 0:return n=e.accept$1(s),i=3,A._asyncAwait(D.Future_Value_2._is(n)?n:A._Future$value(n,D.Value_2),a);case 3:r=s._async_evaluate0$_serialize$3$quote(c,e,t),i=1;break;case 1:return A._asyncReturn(r,o)}});return A._asyncStartSync(a,o)},_async_evaluate0$_serialize$3$quote(e,t,r){return this._async_evaluate0$_addExceptionSpan$2(t,new A._EvaluateVisitor__serialize_closure2(e,r))},_async_evaluate0$_serialize$2(e,t){return this._async_evaluate0$_serialize$3$quote(e,t,!0)},_async_evaluate0$_expressionNode$1(e){var t;return e instanceof A.VariableExpression0?null==(t=this._async_evaluate0$_addExceptionSpan$2(e,new A._EvaluateVisitor__expressionNode_closure2(this,e)))?e:t:e},_async_evaluate0$_withParent$2$4$scopeWhen$through(e,t,r,n,i,o){return this._withParent$body$_EvaluateVisitor0(e,t,r,n,i,o,o)},_async_evaluate0$_withParent$2$3$scopeWhen(e,t,r,n,i){return this._async_evaluate0$_withParent$2$4$scopeWhen$through(e,t,r,null,n,i)},_async_evaluate0$_withParent$2$2(e,t,r,n){return this._async_evaluate0$_withParent$2$4$scopeWhen$through(e,t,!0,null,r,n)},_withParent$body$_EvaluateVisitor0(e,t,r,n,i,o,s){var a,l,c,u=0,d=A._makeAsyncAwaitCompleter(s),h=this,p=A._wrapJsFunctionForAsync(function(i,s){if(1===i)return A._asyncRethrow(s,d);for(;;)switch(u){case 0:return h._async_evaluate0$_addChild$2$through(e,n),l=h._async_evaluate0$_assertInModule$2(h._async_evaluate0$__parent,"__parent"),h._async_evaluate0$__parent=e,u=3,A._asyncAwait(h._async_evaluate0$_environment.scope$1$2$when(t,r,o),p);case 3:c=s,h._async_evaluate0$__parent=l,a=c,u=1;break;case 1:return A._asyncReturn(a,d)}});return A._asyncStartSync(p,d)},_async_evaluate0$_copyParentAfterSibling$0(){var e,t,r,n=this,i="__parent",o=n._async_evaluate0$_assertInModule$2(n._async_evaluate0$__parent,i)._node$_parent;null!=o?(e=(e=o.children).get$last(e)!==n._async_evaluate0$_assertInModule$2(n._async_evaluate0$__parent,i),t=o):(t=null,e=!1),e&&(r=n._async_evaluate0$_assertInModule$2(n._async_evaluate0$__parent,i).copyWithoutChildren$0(),t.addChild$1(r),n._async_evaluate0$__parent=r)},_async_evaluate0$_addChild$2$through(e,t){var r,n,i,o=this._async_evaluate0$_assertInModule$2(this._async_evaluate0$__parent,"__parent");if(null!=t){for(;t.call$1(o);o=r)if(null==(r=o._node$_parent))throw A.wrapException(A.ArgumentError$(P.throug+e.toString$0(0)+".",null));o.get$hasFollowingSibling()&&(i=(n=o._node$_parent).children,o.equalsIgnoringChildren$1(i.get$last(i))?o=D.ModifiableCssParentNode_2._as(i.get$last(i)):(o=o.copyWithoutChildren$0(),n.addChild$1(o)))}o.addChild$1(e)},_async_evaluate0$_addChild$1(e){return this._async_evaluate0$_addChild$2$through(e,null)},_async_evaluate0$_withStyleRule$1$2(e,t,r){return this._withStyleRule$body$_EvaluateVisitor0(e,t,r,r)},_withStyleRule$body$_EvaluateVisitor0(e,t,r,n){var i,o,s,a=0,l=A._makeAsyncAwaitCompleter(n),c=this,u=A._wrapJsFunctionForAsync(function(r,n){if(1===r)return A._asyncRethrow(n,l);for(;;)switch(a){case 0:return s=c._async_evaluate0$_styleRuleIgnoringAtRoot,c._async_evaluate0$_styleRuleIgnoringAtRoot=e,a=3,A._asyncAwait(t.call$0(),u);case 3:o=n,c._async_evaluate0$_styleRuleIgnoringAtRoot=s,i=o,a=1;break;case 1:return A._asyncReturn(i,l)}});return A._asyncStartSync(u,l)},_async_evaluate0$_withMediaQueries$1$3(e,t,r,n){return this._withMediaQueries$body$_EvaluateVisitor0(e,t,r,n,n)},_withMediaQueries$body$_EvaluateVisitor0(e,t,r,n,i){var o,s,a,l,c=0,u=A._makeAsyncAwaitCompleter(i),d=this,h=A._wrapJsFunctionForAsync(function(n,i){if(1===n)return A._asyncRethrow(i,u);for(;;)switch(c){case 0:return a=d._async_evaluate0$_mediaQueries,l=d._async_evaluate0$_mediaQuerySources,d._async_evaluate0$_mediaQueries=e,d._async_evaluate0$_mediaQuerySources=t,c=3,A._asyncAwait(r.call$0(),h);case 3:s=i,d._async_evaluate0$_mediaQueries=a,d._async_evaluate0$_mediaQuerySources=l,o=s,c=1;break;case 1:return A._asyncReturn(o,u)}});return A._asyncStartSync(h,u)},_async_evaluate0$_withStackFrame$1$3(e,t,r,n){return this._withStackFrame$body$_EvaluateVisitor0(e,t,r,n,n)},_withStackFrame$body$_EvaluateVisitor0(e,t,r,n,i){var o,s,a,l,c=0,u=A._makeAsyncAwaitCompleter(i),d=this,h=A._wrapJsFunctionForAsync(function(n,i){if(1===n)return A._asyncRethrow(i,u);for(;;)switch(c){case 0:return(l=d._async_evaluate0$_stack).push(new A._Record_2(d._async_evaluate0$_member,t)),s=d._async_evaluate0$_member,d._async_evaluate0$_member=e,c=3,A._asyncAwait(r.call$0(),h);case 3:a=i,d._async_evaluate0$_member=s,l.pop(),o=a,c=1;break;case 1:return A._asyncReturn(o,u)}});return A._asyncStartSync(h,u)},_async_evaluate0$_withoutSlash$2(e,t){return e instanceof A.SassNumber0&&null!=e.asSlash&&this._async_evaluate0$_warn$3(P.Using__i+A.S((new A._EvaluateVisitor__withoutSlash_recommendation2).call$1(e))+P.x0a_Morex20,t.get$span(t),C.Deprecation_v81),e.withoutSlash$0()},_async_evaluate0$_stackFrame$2(e,t){return A.frameForSpan0(t,e,A.NullableExtension_andThen0(t.get$sourceUrl(t),new A._EvaluateVisitor__stackFrame_closure2(this)))},_async_evaluate0$_stackTrace$1(e){var t,r,n,i,o,s=this,a=A._setArrayType([],D.JSArray_Frame);for(r=(t=s._async_evaluate0$_stack).length,n=0;n<t.length;t.length===r||(0,A.throwConcurrentModificationError)(t),++n)o=(i=t[n])._1,a.push(s._async_evaluate0$_stackFrame$2(i._0,o.get$span(o)));return null!=e&&a.push(s._async_evaluate0$_stackFrame$2(s._async_evaluate0$_member,e)),A.Trace$(new A.ReversedListIterable(a,D.ReversedListIterable_Frame),null)},_async_evaluate0$_stackTrace$0(){return this._async_evaluate0$_stackTrace$1(null)},_async_evaluate0$_warn$3(e,t,r){var n,i,o=this;o._async_evaluate0$_quietDeps&&o._async_evaluate0$_inDependency||o._async_evaluate0$_warningsEmitted.add$1(0,new A._Record_2(e,t))&&(n=o._async_evaluate0$_stackTrace$1(t),i=o._async_evaluate0$_logger,null==r?i.internalWarn$4$deprecation$span$trace(e,null,t,n):A.WarnForDeprecation_warnForDeprecation0(i,r,e,t,n))},_async_evaluate0$_warn$2(e,t){return this._async_evaluate0$_warn$3(e,t,null)},_async_evaluate0$_exception$2(e,t){var r,n;return r=null==t?(r=C.JSArray_methods.get$last(this._async_evaluate0$_stack)._1).get$span(r):t,n=this._async_evaluate0$_stackTrace$1(t),new A.SassRuntimeException0(n,C.Set_empty,e,r)},_async_evaluate0$_exception$1(e){return this._async_evaluate0$_exception$2(e,null)},_async_evaluate0$_multiSpanException$3(e,t,r){var n=C.JSArray_methods.get$last(this._async_evaluate0$_stack)._1;return A.MultiSpanSassRuntimeException$0(e,n.get$span(n),t,r,this._async_evaluate0$_stackTrace$0(),null)},_async_evaluate0$_addExceptionSpan$1$2(e,t){var r,n,i;try{return i=t.call$0()}catch(t){if(!((i=A.unwrapException(t))instanceof A.SassScriptException0))throw t;r=i,n=A.getTraceFromException(t),i=r.withSpan$1(e.get$span(e)),A.throwWithTrace0(i.withTrace$1(this._async_evaluate0$_stackTrace$1(e.get$span(e))),r,n)}},_async_evaluate0$_addExceptionSpan$2(e,t){return this._async_evaluate0$_addExceptionSpan$1$2(e,t,D.dynamic)},_async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame(e,t,r,n){return this._addExceptionSpanAsync$body$_EvaluateVisitor0(e,t,r,n,n)},_async_evaluate0$_addExceptionSpanAsync$1$2(e,t,r){return this._async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame(e,t,!0,r)},_addExceptionSpanAsync$body$_EvaluateVisitor0(e,t,r,n,i){var o,s,a,l,c,u=0,d=A._makeAsyncAwaitCompleter(i),h=2,p=[],m=this,_=A._wrapJsFunctionForAsync(function(i,g){for(1===i&&(p.push(g),u=h);;)switch(u){case 0:return h=4,l=t.call$0(),u=7,A._asyncAwait(n._eval$1("Future<0>")._is(l)?l:A._Future$value(l,n),_);case 7:o=l=g,u=1;break;case 4:if(h=3,c=p.pop(),!((l=A.unwrapException(c))instanceof A.SassScriptException0))throw c;s=l,a=A.getTraceFromException(c),l=s.withSpan$1(e.get$span(e)),A.throwWithTrace0(l.withTrace$1(m._async_evaluate0$_stackTrace$1(r?e.get$span(e):null)),s,a),u=6;break;case 3:u=2;break;case 6:case 1:return A._asyncReturn(o,d);case 2:return A._asyncRethrow(p.at(-1),d)}});return A._asyncStartSync(_,d)},_async_evaluate0$_addExceptionTrace$1$1(e,t){return this._addExceptionTrace$body$_EvaluateVisitor0(e,t,t)},_addExceptionTrace$body$_EvaluateVisitor0(e,t,r){var n,i,o,s,a,l,c=0,u=A._makeAsyncAwaitCompleter(r),d=2,h=[],p=this,m=A._wrapJsFunctionForAsync(function(r,_){for(1===r&&(h.push(_),c=d);;)switch(c){case 0:return d=4,s=e.call$0(),c=7,A._asyncAwait(t._eval$1("Future<0>")._is(s)?s:A._Future$value(s,t),m);case 7:n=s=_,c=1;break;case 4:if(d=3,l=h.pop(),s=A.unwrapException(l),D.SassRuntimeException_2._is(s))throw l;if(!(s instanceof A.SassException0))throw l;i=s,o=A.getTraceFromException(l),s=i,a=w.getInterceptor$x(s),A.throwWithTrace0(i.withTrace$1(p._async_evaluate0$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(a,s))),i,o),c=6;break;case 3:c=2;break;case 6:case 1:return A._asyncReturn(n,u);case 2:return A._asyncRethrow(h.at(-1),u)}});return A._asyncStartSync(m,u)},_async_evaluate0$_addErrorSpan$1$2(e,t,r){return this._addErrorSpan$body$_EvaluateVisitor0(e,t,r,r)},_addErrorSpan$body$_EvaluateVisitor0(e,t,r,n){var i,o,s,a,l,c,u,d=0,h=A._makeAsyncAwaitCompleter(n),p=2,m=[],_=this,g=A._wrapJsFunctionForAsync(function(r,n){for(1===r&&(m.push(n),d=p);;)switch(d){case 0:return p=4,d=7,A._asyncAwait(t.call$0(),g);case 7:i=a=n,d=1;break;case 4:if(p=3,u=m.pop(),a=A.unwrapException(u),!D.SassRuntimeException_2._is(a))throw u;if(o=a,s=A.getTraceFromException(u),!C.JSString_methods.startsWith$1(w.get$span$x(o).get$text(),"@error"))throw u;a=o._span_exception$_message,l=e.get$span(e),c=_._async_evaluate0$_stackTrace$0(),A.throwWithTrace0(new A.SassRuntimeException0(c,C.Set_empty,a,l),o,s),d=6;break;case 3:d=2;break;case 6:case 1:return A._asyncReturn(i,h);case 2:return A._asyncRethrow(m.at(-1),h)}});return A._asyncStartSync(g,h)},_async_evaluate0$_getErrorMessage$1(e){if(D.Error._is(e))return e.toString$0(0);try{return A._asString(w.get$message$x(e))}catch(t){return w.toString$0$(e)}},$isExpressionVisitor:1,$isIfConditionExpressionVisitor:1,$isStatementVisitor:1},A._EvaluateVisitor_closure38.prototype={call$1(e){var t,r,n=w.getInterceptor$asx(e),i=n.$index(e,0).assertString$1("name");return t=null==(n=n.$index(e,1).get$realNull())?null:n.assertString$1("module"),n=this.$this._async_evaluate0$_environment,r=A.stringReplaceAllUnchecked(i._string0$_text,"_","-"),n.globalVariableExists$2$namespace(r,null==t?null:t._string0$_text)?C.SassBoolean_true0:C.SassBoolean_false0},$signature:13},A._EvaluateVisitor_closure39.prototype={call$1(e){var t=w.$index$asx(e,0).assertString$1("name");return null!=this.$this._async_evaluate0$_environment.getVariable$1(A.stringReplaceAllUnchecked(t._string0$_text,"_","-"))?C.SassBoolean_true0:C.SassBoolean_false0},$signature:13},A._EvaluateVisitor_closure40.prototype={call$1(e){var t,r,n,i,o=w.getInterceptor$asx(e),s=o.$index(e,0).assertString$1("name");return t=null==(o=o.$index(e,1).get$realNull())?null:o.assertString$1("module"),r=(o=this.$this)._async_evaluate0$_environment,n=s._string0$_text,i=A.stringReplaceAllUnchecked(n,"_","-"),null!=r.getFunction$2$namespace(i,null==t?null:t._string0$_text)||o._async_evaluate0$_builtInFunctions.containsKey$1(n)?C.SassBoolean_true0:C.SassBoolean_false0},$signature:13},A._EvaluateVisitor_closure41.prototype={call$1(e){var t,r,n=w.getInterceptor$asx(e),i=n.$index(e,0).assertString$1("name");return t=null==(n=n.$index(e,1).get$realNull())?null:n.assertString$1("module"),n=this.$this._async_evaluate0$_environment,r=A.stringReplaceAllUnchecked(i._string0$_text,"_","-"),null!=n.getMixin$2$namespace(r,null==t?null:t._string0$_text)?C.SassBoolean_true0:C.SassBoolean_false0},$signature:13},A._EvaluateVisitor_closure42.prototype={call$1(e){var t=this.$this._async_evaluate0$_environment;if(!t._async_environment0$_inMixin)throw A.wrapException(A.SassScriptException$0(P.conten,null));return null!=t._async_environment0$_content?C.SassBoolean_true0:C.SassBoolean_false0},$signature:13},A._EvaluateVisitor_closure43.prototype={call$1(e){var t,r,n,i=w.$index$asx(e,0).assertString$1("module")._string0$_text,o=this.$this._async_evaluate0$_environment._async_environment0$_modules.$index(0,i);if(null==o)throw A.wrapException('There is no module with namespace "'+i+'".');for(i=D.Value_2,t=A.LinkedHashMap_LinkedHashMap$_empty(i,i),r=(r=A.MapExtensions_get_pairs0(o.get$variables(),D.String,i)).get$iterator(r);r.moveNext$0();)n=r.get$current(r),t.$indexSet(0,new A.SassString0(n._0,!0),n._1);return new A.SassMap0(A.ConstantMap_ConstantMap$from(t,i,i))},$signature:34},A._EvaluateVisitor_closure44.prototype={call$1(e){var t,r,n,i=this.$this,o=w.$index$asx(e,0).assertString$1("module")._string0$_text,s=i._async_evaluate0$_environment._async_environment0$_modules.$index(0,o);if(null==s)throw A.wrapException('There is no module with namespace "'+o+'".');for(o=D.Value_2,t=A.LinkedHashMap_LinkedHashMap$_empty(o,o),r=(r=A.MapExtensions_get_pairs0(s.get$functions(s),D.String,D.AsyncCallable_2)).get$iterator(r),i=i._async_evaluate0$_compileContext;r.moveNext$0();)n=r.get$current(r),t.$indexSet(0,new A.SassString0(n._0,!0),new A.SassFunction0(n._1,i));return new A.SassMap0(A.ConstantMap_ConstantMap$from(t,o,o))},$signature:34},A._EvaluateVisitor_closure45.prototype={call$1(e){var t,r,n,i=this.$this,o=w.$index$asx(e,0).assertString$1("module")._string0$_text,s=i._async_evaluate0$_environment._async_environment0$_modules.$index(0,o);if(null==s)throw A.wrapException('There is no module with namespace "'+o+'".');for(o=D.Value_2,t=A.LinkedHashMap_LinkedHashMap$_empty(o,o),r=(r=A.MapExtensions_get_pairs0(s.get$mixins(),D.String,D.AsyncCallable_2)).get$iterator(r),i=i._async_evaluate0$_compileContext;r.moveNext$0();)n=r.get$current(r),t.$indexSet(0,new A.SassString0(n._0,!0),new A.SassMixin0(n._1,i));return new A.SassMap0(A.ConstantMap_ConstantMap$from(t,o,o))},$signature:34},A._EvaluateVisitor_closure46.prototype={call$1(e){var t,r,n,i=w.getInterceptor$asx(e),o=i.$index(e,0).assertString$1("name"),s=i.$index(e,1).get$isTruthy();if(t=null==(i=i.$index(e,2).get$realNull())?null:i.assertString$1("module"),s){if(null!=t)throw A.wrapException(P.x24css_a);return new A.SassFunction0(new A.PlainCssCallable0(o._string0$_text),this.$this._async_evaluate0$_compileContext)}if((r=(i=this.$this)._async_evaluate0$_callableNode).toString,null==(n=i._async_evaluate0$_addExceptionSpan$2(r,new A._EvaluateVisitor__closure14(i,o,t))))throw A.wrapException("Function not found: "+o.toString$0(0));return new A.SassFunction0(n,i._async_evaluate0$_compileContext)},$signature:207},A._EvaluateVisitor__closure14.prototype={call$0(){var e,t=A.stringReplaceAllUnchecked(this.name._string0$_text,"_","-"),r=this.module,n=null==r?null:r._string0$_text;return null!=(e=(r=this.$this)._async_evaluate0$_environment.getFunction$2$namespace(t,n))||null!=n?e:r._async_evaluate0$_builtInFunctions.$index(0,t)},$signature:96},A._EvaluateVisitor_closure47.prototype={call$1(e){var t,r,n,i=w.getInterceptor$asx(e),o=i.$index(e,0).assertString$1("name");if(t=null==(i=i.$index(e,1).get$realNull())?null:i.assertString$1("module"),(r=(i=this.$this)._async_evaluate0$_callableNode).toString,null==(n=i._async_evaluate0$_addExceptionSpan$2(r,new A._EvaluateVisitor__closure13(i,o,t))))throw A.wrapException("Mixin not found: "+o.toString$0(0));return new A.SassMixin0(n,i._async_evaluate0$_compileContext)},$signature:208},A._EvaluateVisitor__closure13.prototype={call$0(){var e=this.$this._async_evaluate0$_environment,t=A.stringReplaceAllUnchecked(this.name._string0$_text,"_","-"),r=this.module;return e.getMixin$2$namespace(t,null==r?null:r._string0$_text)},$signature:96},A._EvaluateVisitor_closure48.prototype={call$1(e){return this.$call$body$_EvaluateVisitor_closure4(e)},$call$body$_EvaluateVisitor_closure4(e){var t,r,n,i,o,s,a,l,c,u,d,h,p=0,m=A._makeAsyncAwaitCompleter(D.Value_2),_=this,g=A._wrapJsFunctionForAsync(function(f,v){if(1===f)return A._asyncRethrow(v,m);for(;;)switch(p){case 0:if(u=w.getInterceptor$asx(e),d=u.$index(e,0),h=D.SassArgumentList_2._as(u.$index(e,1)),u=_.$this,r=u._async_evaluate0$_callableNode,n=r.get$span(r),i=r.get$span(r),h._argument_list$_wereKeywordsAccessed=!0,(o=h._argument_list$_keywords).get$isEmpty(o))o=null;else{for(s=D.Value_2,a=A.LinkedHashMap_LinkedHashMap$_empty(s,s),h._argument_list$_wereKeywordsAccessed=!0,o=(o=A.MapExtensions_get_pairs0(o,D.String,s)).get$iterator(o);o.moveNext$0();)l=o.get$current(o),a.$indexSet(0,new A.SassString0(l._0,!1),l._1);o=new A.ValueExpression0(new A.SassMap0(A.ConstantMap_ConstantMap$from(a,s,s)),r.get$span(r))}c=A.ArgumentList$0(C.List_empty24,C.Map_empty14,C.Map_empty5,n,o,new A.ValueExpression0(h,i)),p=d instanceof A.SassString0?3:4;break;case 3:return A.warnForDeprecation0(P.Passina+d.toString$0(0)+"))",C.Deprecation_LIY),r=u._async_evaluate0$_callableNode,n=d._string0$_text,i=r.get$span(r),u=u.visitFunctionExpression$1(0,new A.FunctionExpression0(null,A.stringReplaceAllUnchecked(n,"_","-"),n,c,i)),p=5,A._asyncAwait(D.Future_Value_2._is(u)?u:A._Future$value(u,D.Value_2),g);case 5:t=v,p=1;break;case 4:return n=d.assertFunction$1("function").assertCompileContext$1(u._async_evaluate0$_compileContext),(i=u._async_evaluate0$_callableNode).toString,p=6,A._asyncAwait(u._async_evaluate0$_runFunctionCallable$3(c,n.callable,i),g);case 6:t=i=v,p=1;break;case 1:return A._asyncReturn(t,m)}});return A._asyncStartSync(g,m)},$signature:92},A._EvaluateVisitor_closure49.prototype={call$1(e){return this.$call$body$_EvaluateVisitor_closure3(e)},$call$body$_EvaluateVisitor_closure3(e){var t,r,n,i,o,s,a,l,c=0,u=A._makeAsyncAwaitCompleter(D.void),d=this,h=A._wrapJsFunctionForAsync(function(p,m){if(1===p)return A._asyncRethrow(m,u);for(;;)switch(c){case 0:return a=w.getInterceptor$asx(e),l=A.Uri_parse(a.$index(e,0).assertString$1("url")._string0$_text),a=a.$index(e,1).get$realNull(),t=null==a?null:a.assertMap$1("with")._map0$_contents,a=d.$this,(r=a._async_evaluate0$_callableNode).toString,null!=t?(n={},i=A.LinkedHashMap_LinkedHashMap$_empty(D.String,D.ConfiguredValue_2),o=r.get$span(r),n.privateDeprecation=!1,t.forEach$1(0,new A._EvaluateVisitor__closure11(n,i,o,r)),s=new A.ExplicitConfiguration0(r,i,null)):s=C.Configuration_Map_empty_null0,n=r.get$span(r),c=2,A._asyncAwait(a._async_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(l,"load-css()",r,new A._EvaluateVisitor__closure12(a),n.get$sourceUrl(n),s,!0),h);case 2:return a._async_evaluate0$_assertConfigurationIsEmpty$2$nameInError(s,!0),A._asyncReturn(null,u)}});return A._asyncStartSync(h,u)},$signature:209},A._EvaluateVisitor__closure11.prototype={call$2(e,t){var r=this,n=e.assertString$1("with key"),i=A.stringReplaceAllUnchecked(n._string0$_text,"_","-");if((n=r.values).containsKey$1(i))throw A.wrapException("The variable $"+i+" was configured twice.");C.JSString_methods.startsWith$1(i,"-")&&!r._box_0.privateDeprecation&&(r._box_0.privateDeprecation=!0,A.warnForDeprecation0("Configuring private variables (such as $"+i+P.x29x20is_dT,C.Deprecation_lkJ)),n.$indexSet(0,i,new A.ConfiguredValue0(t,r.span,r.callableNode))},$signature:117},A._EvaluateVisitor__closure12.prototype={call$2(e,t){var r=this.$this;return r._async_evaluate0$_combineCss$2$clone(e,!0).accept$1(r)},$signature:331},A._EvaluateVisitor_closure50.prototype={call$1(e){return this.$call$body$_EvaluateVisitor_closure2(e)},$call$body$_EvaluateVisitor_closure2(e){var t,r,n,i,o,s=0,a=A._makeAsyncAwaitCompleter(D.void),l=this,c=A._wrapJsFunctionForAsync(function(u,d){if(1===u)return A._asyncRethrow(d,a);for(;;)switch(s){case 0:return n=w.getInterceptor$asx(e),i=n.$index(e,0),o=D.SassArgumentList_2._as(n.$index(e,1)),n=l.$this,t=n._async_evaluate0$_callableNode,r=A.ArgumentList$0(C.List_empty24,C.Map_empty14,C.Map_empty5,t.get$span(t),null,new A.ValueExpression0(o,t.get$span(t))),s=2,A._asyncAwait(n._async_evaluate0$_applyMixin$5(i.assertMixin$1("mixin").assertCompileContext$1(n._async_evaluate0$_compileContext).callable,n._async_evaluate0$_environment._async_environment0$_content,r,t,t),c);case 2:return A._asyncReturn(null,a)}});return A._asyncStartSync(c,a)},$signature:209},A._EvaluateVisitor_run_closure2.prototype={call$0(){var e,t,r,n,i,o,s=0,a=A._makeAsyncAwaitCompleter(D.Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2),l=this,c=A._wrapJsFunctionForAsync(function(u,d){if(1===u)return A._asyncRethrow(d,a);for(;;)switch(s){case 0:return r=l.node,n=r.span,i=n.get$sourceUrl(n),o=null,null!=i&&(o=i,(n=l.$this)._async_evaluate0$_activeModules.$indexSet(0,o,null),null!=n._async_evaluate0$_nodeImporter&&"stdin"===w.toString$0$(o)||n._async_evaluate0$_loadedUrls.add$1(0,o)),n=l.$this,s=3,A._asyncAwait(n._async_evaluate0$_addExceptionTrace$1$1(new A._EvaluateVisitor_run__closure2(n,l.importer,r),D.Module_AsyncCallable_2),c);case 3:t=d,e=new A._Record_2_loadedUrls_stylesheet(n._async_evaluate0$_loadedUrls,n._async_evaluate0$_combineCss$1(t)),s=1;break;case 1:return A._asyncReturn(e,a)}});return A._asyncStartSync(c,a)},$signature:332},A._EvaluateVisitor_run__closure2.prototype={call$0(){return this.$this._async_evaluate0$_execute$2(this.importer,this.node)},$signature:333},A._EvaluateVisitor__loadModule_closure5.prototype={call$0(){return this.callback.call$2(this._box_0.builtInModule,!1)},$signature:0},A._EvaluateVisitor__loadModule_closure6.prototype={call$0(){return this.$call$body$_EvaluateVisitor__loadModule_closure0()},$call$body$_EvaluateVisitor__loadModule_closure0(){var e,t,r,n,i,o,s,a,l,c,u,d,h=0,p=A._makeAsyncAwaitCompleter(D.Null),m=1,_=[],g=[],f=this,v=A._wrapJsFunctionForAsync(function(b,y){for(1===b&&(_.push(y),h=m);;)switch(h){case 0:return o={},s=null,a=null,l=f.$this,c=f.nodeWithSpan,h=2,A._asyncAwait(l._async_evaluate0$_loadStylesheet$3$baseUrl(f.url.toString$0(0),c.get$span(c),f.baseUrl),v);case 2:if(s=(u=y)._0,a=u._1,r=u._2,n=s.span,null!=(e=n.get$sourceUrl(n))){if((n=l._async_evaluate0$_activeModules).containsKey$1(e))throw i=f.namesInErrors?"Module loop: "+I.$get$context().prettyUri$1(e)+" is already being loaded.":P.Modulel,o=A.NullableExtension_andThen0(n.$index(0,e),new A._EvaluateVisitor__loadModule__closure5(l,i)),A.wrapException(null==o?l._async_evaluate0$_exception$1(i):o);n.$indexSet(0,e,c)}return n=l._async_evaluate0$_modules.containsKey$1(e),t=l._async_evaluate0$_inDependency,l._async_evaluate0$_inDependency=r,o.module=null,m=3,d=o,h=6,A._asyncAwait(l._async_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(a,s,f.configuration,f.namesInErrors,c),v);case 6:d.module=y,g.push(5),h=4;break;case 3:g=[1];case 4:m=1,l._async_evaluate0$_activeModules.remove$1(0,e),l._async_evaluate0$_inDependency=t,h=g.pop();break;case 5:return h=7,A._asyncAwait(l._async_evaluate0$_addExceptionSpanAsync$1$3$addStackFrame(c,new A._EvaluateVisitor__loadModule__closure6(o,f.callback,!n),!1,D.void),v);case 7:return A._asyncReturn(null,p);case 1:return A._asyncRethrow(_.at(-1),p)}});return A._asyncStartSync(v,p)},$signature:2},A._EvaluateVisitor__loadModule__closure5.prototype={call$1(e){return this.$this._async_evaluate0$_multiSpanException$3(this.message,"new load",A.LinkedHashMap_LinkedHashMap$_literal([e.get$span(e),"original load"],D.FileSpan,D.String))},$signature:98},A._EvaluateVisitor__loadModule__closure6.prototype={call$0(){return this.callback.call$2(this._box_1.module,this.firstLoad)},$signature:0},A._EvaluateVisitor__execute_closure2.prototype={call$0(){var e,t,r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y=0,$=A._makeAsyncAwaitCompleter(D.Null),x=this,S=A._wrapJsFunctionForAsync(function(w,C){if(1===w)return A._asyncRethrow(C,$);for(;;)switch(y){case 0:return i=x.$this,o=i._async_evaluate0$_importer,s=i._async_evaluate0$__stylesheet,a=i._async_evaluate0$__root,l=i._async_evaluate0$_preModuleComments,c=i._async_evaluate0$__parent,u=i._async_evaluate0$__endOfImports,d=i._async_evaluate0$_outOfOrderImports,h=i._async_evaluate0$__extensionStore,p=i._async_evaluate0$_atRootExcludingStyleRule,m=p?null:i._async_evaluate0$_styleRuleIgnoringAtRoot,_=i._async_evaluate0$_mediaQueries,g=i._async_evaluate0$_declarationName,f=i._async_evaluate0$_inUnknownAtRule,v=i._async_evaluate0$_inKeyframes,b=i._async_evaluate0$_configuration,i._async_evaluate0$_importer=x.importer,e=i._async_evaluate0$__stylesheet=x.stylesheet,t=e.span,r=i._async_evaluate0$__parent=i._async_evaluate0$__root=A.ModifiableCssStylesheet$0(t),i._async_evaluate0$__endOfImports=0,i._async_evaluate0$_outOfOrderImports=null,i._async_evaluate0$__extensionStore=x.extensionStore,i._async_evaluate0$_declarationName=i._async_evaluate0$_mediaQueries=i._async_evaluate0$_styleRuleIgnoringAtRoot=null,i._async_evaluate0$_inKeyframes=i._async_evaluate0$_atRootExcludingStyleRule=i._async_evaluate0$_inUnknownAtRule=!1,null!=(n=x.configuration)&&(i._async_evaluate0$_configuration=n),y=2,A._asyncAwait(i.visitStylesheet$1(0,e),S);case 2:return e=null==i._async_evaluate0$_outOfOrderImports?r:new A.CssStylesheet0(new A.UnmodifiableListView(i._async_evaluate0$_addOutOfOrderImports$0(),D.UnmodifiableListView_CssNode_2),t),x.css.__late_helper$_value=e,x.preModuleComments.__late_helper$_value=i._async_evaluate0$_preModuleComments,i._async_evaluate0$_importer=o,i._async_evaluate0$__stylesheet=s,i._async_evaluate0$__root=a,i._async_evaluate0$_preModuleComments=l,i._async_evaluate0$__parent=c,i._async_evaluate0$__endOfImports=u,i._async_evaluate0$_outOfOrderImports=d,i._async_evaluate0$__extensionStore=h,i._async_evaluate0$_styleRuleIgnoringAtRoot=m,i._async_evaluate0$_mediaQueries=_,i._async_evaluate0$_declarationName=g,i._async_evaluate0$_inUnknownAtRule=f,i._async_evaluate0$_atRootExcludingStyleRule=p,i._async_evaluate0$_inKeyframes=v,i._async_evaluate0$_configuration=b,A._asyncReturn(null,$)}});return A._asyncStartSync(S,$)},$signature:2},A._EvaluateVisitor__combineCss_closure5.prototype={call$1:e=>e.get$transitivelyContainsCss(),$signature:118},A._EvaluateVisitor__combineCss_closure6.prototype={call$1(e){return!this.selectors.contains$1(0,e)},$signature:15},A._EvaluateVisitor__combineCss_visitModule2.prototype={call$1(e){var t,r,n,i,o,s,a,l,c,u=this;if(u.seen.add$1(0,e)){for(u.clone&&(e=e.cloneCss$0()),r=(t=e.get$upstream()).length,n=u.css,i=u.imports,o=0;o<t.length;t.length===r||(0,A.throwConcurrentModificationError)(t),++o)(s=t[o]).get$transitivelyContainsCss()&&(null!=(a=e.get$preModuleComments().$index(0,s))&&C.JSArray_methods.addAll$1(0===n.length?i:n,a),u.call$1(s));u.sorted.addFirst$1(e),l=(t=e.get$css(e)).get$children(t),c=u.$this._async_evaluate0$_indexAfterImports$1(l),t=w.getInterceptor$ax(l),C.JSArray_methods.addAll$1(i,t.getRange$2(l,0,c)),C.JSArray_methods.addAll$1(n,t.getRange$2(l,c,t.get$length(l)))}},$signature:335},A._EvaluateVisitor__extendModules_closure5.prototype={call$1(e){return!this.originalSelectors.contains$1(0,e)},$signature:15},A._EvaluateVisitor__extendModules_closure6.prototype={call$0:()=>A._setArrayType([],D.JSArray_ExtensionStore_2),$signature:211},A._EvaluateVisitor_visitAtRootRule_closure5.prototype={call$0(){var e,t,r,n,i=0,o=A._makeAsyncAwaitCompleter(D.Null),s=this,a=A._wrapJsFunctionForAsync(function(l,c){if(1===l)return A._asyncRethrow(c,o);for(;;)switch(i){case 0:e=s.node.children,t=e.length,r=s.$this,n=0;case 2:if(!(n<t)){i=4;break}return i=5,A._asyncAwait(e[n].accept$1(r),a);case 5:case 3:++n,i=2;break;case 4:return A._asyncReturn(null,o)}});return A._asyncStartSync(a,o)},$signature:2},A._EvaluateVisitor_visitAtRootRule_closure6.prototype={call$0(){var e,t,r,n,i=0,o=A._makeAsyncAwaitCompleter(D.void),s=this,a=A._wrapJsFunctionForAsync(function(l,c){if(1===l)return A._asyncRethrow(c,o);for(;;)switch(i){case 0:e=s.node.children,t=e.length,r=s.$this,n=0;case 2:if(!(n<t)){i=4;break}return i=5,A._asyncAwait(e[n].accept$1(r),a);case 5:case 3:++n,i=2;break;case 4:return A._asyncReturn(null,o)}});return A._asyncStartSync(a,o)},$signature:32},A._EvaluateVisitor__scopeForAtRoot_closure17.prototype={call$1(e){var t,r,n=0,i=A._makeAsyncAwaitCompleter(D.Null),o=this,s=A._wrapJsFunctionForAsync(function(a,l){if(1===a)return A._asyncRethrow(l,i);for(;;)switch(n){case 0:return t=o.$this,r=t._async_evaluate0$_assertInModule$2(t._async_evaluate0$__parent,"__parent"),t._async_evaluate0$__parent=o.newParent,n=2,A._asyncAwait(t._async_evaluate0$_environment.scope$1$2$when(e,o.node.hasDeclarations,D.void),s);case 2:return t._async_evaluate0$__parent=r,A._asyncReturn(null,i)}});return A._asyncStartSync(s,i)},$signature:40},A._EvaluateVisitor__scopeForAtRoot_closure18.prototype={call$1(e){var t,r,n=0,i=A._makeAsyncAwaitCompleter(D.Null),o=this,s=A._wrapJsFunctionForAsync(function(a,l){if(1===a)return A._asyncRethrow(l,i);for(;;)switch(n){case 0:return t=o.$this,r=t._async_evaluate0$_atRootExcludingStyleRule,t._async_evaluate0$_atRootExcludingStyleRule=!0,n=2,A._asyncAwait(o.innerScope.call$1(e),s);case 2:return t._async_evaluate0$_atRootExcludingStyleRule=r,A._asyncReturn(null,i)}});return A._asyncStartSync(s,i)},$signature:40},A._EvaluateVisitor__scopeForAtRoot_closure19.prototype={call$1(e){return this.$this._async_evaluate0$_withMediaQueries$1$3(null,null,new A._EvaluateVisitor__scopeForAtRoot__closure2(this.innerScope,e),D.Null)},$signature:40},A._EvaluateVisitor__scopeForAtRoot__closure2.prototype={call$0(){return this.innerScope.call$1(this.callback)},$signature:2},A._EvaluateVisitor__scopeForAtRoot_closure20.prototype={call$1(e){var t,r,n=0,i=A._makeAsyncAwaitCompleter(D.Null),o=this,s=A._wrapJsFunctionForAsync(function(a,l){if(1===a)return A._asyncRethrow(l,i);for(;;)switch(n){case 0:return t=o.$this,r=t._async_evaluate0$_inKeyframes,t._async_evaluate0$_inKeyframes=!1,n=2,A._asyncAwait(o.innerScope.call$1(e),s);case 2:return t._async_evaluate0$_inKeyframes=r,A._asyncReturn(null,i)}});return A._asyncStartSync(s,i)},$signature:40},A._EvaluateVisitor__scopeForAtRoot_closure21.prototype={call$1:e=>e instanceof A.ModifiableCssAtRule0,$signature:212},A._EvaluateVisitor__scopeForAtRoot_closure22.prototype={call$1(e){var t,r,n=0,i=A._makeAsyncAwaitCompleter(D.Null),o=this,s=A._wrapJsFunctionForAsync(function(a,l){if(1===a)return A._asyncRethrow(l,i);for(;;)switch(n){case 0:return t=o.$this,r=t._async_evaluate0$_inUnknownAtRule,t._async_evaluate0$_inUnknownAtRule=!1,n=2,A._asyncAwait(o.innerScope.call$1(e),s);case 2:return t._async_evaluate0$_inUnknownAtRule=r,A._asyncReturn(null,i)}});return A._asyncStartSync(s,i)},$signature:40},A._EvaluateVisitor_visitContentRule_closure2.prototype={call$0(){var e,t,r,n,i,o=0,s=A._makeAsyncAwaitCompleter(D.Null),a=this,l=A._wrapJsFunctionForAsync(function(c,u){if(1===c)return A._asyncRethrow(u,s);for(;;)switch(o){case 0:t=a.content.declaration.children,r=t.length,n=a.$this,i=0;case 3:if(!(i<r)){o=5;break}return o=6,A._asyncAwait(t[i].accept$1(n),l);case 6:case 4:++i,o=3;break;case 5:e=null,o=1;break;case 1:return A._asyncReturn(e,s)}});return A._asyncStartSync(l,s)},$signature:2},A._EvaluateVisitor_visitDeclaration_closure2.prototype={call$0(){var e,t,r,n,i=0,o=A._makeAsyncAwaitCompleter(D.Null),s=this,a=A._wrapJsFunctionForAsync(function(l,c){if(1===l)return A._asyncRethrow(c,o);for(;;)switch(i){case 0:e=s._box_0.children,t=e.length,r=s.$this,n=0;case 2:if(!(n<t)){i=4;break}return i=5,A._asyncAwait(e[n].accept$1(r),a);case 5:case 3:++n,i=2;break;case 4:return A._asyncReturn(null,o)}});return A._asyncStartSync(a,o)},$signature:2},A._EvaluateVisitor_visitEachRule_closure8.prototype={call$1(e){var t=this.$this,r=this.nodeWithSpan;return t._async_evaluate0$_environment.setLocalVariable$3(this._box_0.variable,t._async_evaluate0$_withoutSlash$2(e,r),r)},$signature:63},A._EvaluateVisitor_visitEachRule_closure9.prototype={call$1(e){return this.$this._async_evaluate0$_setMultipleVariables$3(this._box_1.variables,e,this.nodeWithSpan)},$signature:63},A._EvaluateVisitor_visitEachRule_closure10.prototype={call$0(){var e=this,t=e.$this;return t._async_evaluate0$_handleReturn$2(e.list.get$asList(),new A._EvaluateVisitor_visitEachRule__closure2(t,e.setVariables,e.node))},$signature:78},A._EvaluateVisitor_visitEachRule__closure2.prototype={call$1(e){var t;return this.setVariables.call$1(e),(t=this.$this)._async_evaluate0$_handleReturn$2(this.node.children,new A._EvaluateVisitor_visitEachRule___closure2(t))},$signature:340},A._EvaluateVisitor_visitEachRule___closure2.prototype={call$1(e){return e.accept$1(this.$this)},$signature:101},A._EvaluateVisitor_visitAtRule_closure11.prototype={call$1(e){return this.$this._async_evaluate0$_interpolationToValue$3$trim$warnForColor(e,!0,!0)},$signature:342},A._EvaluateVisitor_visitAtRule_closure12.prototype={call$0(){var e,t,r,n,i=0,o=A._makeAsyncAwaitCompleter(D.Null),s=this,a=A._wrapJsFunctionForAsync(function(l,c){if(1===l)return A._asyncRethrow(c,o);for(;;)switch(i){case 0:e=s.children,t=e.length,r=s.$this,n=0;case 2:if(!(n<t)){i=4;break}return i=5,A._asyncAwait(e[n].accept$1(r),a);case 5:case 3:++n,i=2;break;case 4:return A._asyncReturn(null,o)}});return A._asyncStartSync(a,o)},$signature:2},A._EvaluateVisitor_visitAtRule_closure13.prototype={call$0(){var e,t,r,n,i,o=0,s=A._makeAsyncAwaitCompleter(D.Null),a=this,l=A._wrapJsFunctionForAsync(function(c,u){if(1===c)return A._asyncRethrow(u,s);for(;;)switch(o){case 0:n=a.$this,i=n._async_evaluate0$_atRootExcludingStyleRule?null:n._async_evaluate0$_styleRuleIgnoringAtRoot,o=null==i||n._async_evaluate0$_inKeyframes||"font-face"===a.name.value?2:4;break;case 2:e=a.children,t=e.length,r=0;case 5:if(!(r<t)){o=7;break}return o=8,A._asyncAwait(e[r].accept$1(n),l);case 8:case 6:++r,o=5;break;case 7:o=3;break;case 4:return o=9,A._asyncAwait(n._async_evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(i._style_rule0$_selector,i.span,!1,i.originalSelector),new A._EvaluateVisitor_visitAtRule__closure2(n,a.children),!1,D.ModifiableCssStyleRule_2,D.Null),l);case 9:case 3:return A._asyncReturn(null,s)}});return A._asyncStartSync(l,s)},$signature:2},A._EvaluateVisitor_visitAtRule__closure2.prototype={call$0(){var e,t,r,n,i=0,o=A._makeAsyncAwaitCompleter(D.Null),s=this,a=A._wrapJsFunctionForAsync(function(l,c){if(1===l)return A._asyncRethrow(c,o);for(;;)switch(i){case 0:e=s.children,t=e.length,r=s.$this,n=0;case 2:if(!(n<t)){i=4;break}return i=5,A._asyncAwait(e[n].accept$1(r),a);case 5:case 3:++n,i=2;break;case 4:return A._asyncReturn(null,o)}});return A._asyncStartSync(a,o)},$signature:2},A._EvaluateVisitor_visitAtRule_closure14.prototype={call$1:e=>e instanceof A.ModifiableCssStyleRule0,$signature:8},A._EvaluateVisitor_visitForRule_closure14.prototype={call$0(){var e,t=0,r=A._makeAsyncAwaitCompleter(D.SassNumber_2),n=this,i=A._wrapJsFunctionForAsync(function(o,s){if(1===o)return A._asyncRethrow(s,r);for(;;)switch(t){case 0:return t=3,A._asyncAwait(n.node.from.accept$1(n.$this),i);case 3:e=s.assertNumber$0(),t=1;break;case 1:return A._asyncReturn(e,r)}});return A._asyncStartSync(i,r)},$signature:214},A._EvaluateVisitor_visitForRule_closure15.prototype={call$0(){var e,t=0,r=A._makeAsyncAwaitCompleter(D.SassNumber_2),n=this,i=A._wrapJsFunctionForAsync(function(o,s){if(1===o)return A._asyncRethrow(s,r);for(;;)switch(t){case 0:return t=3,A._asyncAwait(n.node.to.accept$1(n.$this),i);case 3:e=s.assertNumber$0(),t=1;break;case 1:return A._asyncReturn(e,r)}});return A._asyncStartSync(i,r)},$signature:214},A._EvaluateVisitor_visitForRule_closure16.prototype={call$0(){return this.fromNumber.assertInt$0()},$signature:10},A._EvaluateVisitor_visitForRule_closure17.prototype={call$0(){var e=this.fromNumber;return this.toNumber.coerce$2(e.get$numeratorUnits(e),e.get$denominatorUnits(e)).assertInt$0()},$signature:10},A._EvaluateVisitor_visitForRule_closure18.prototype={call$0(){var e,t,r,n,i,o,s,a,l,c,u,d,h=0,p=A._makeAsyncAwaitCompleter(D.nullable_Value_2),m=this,_=A._wrapJsFunctionForAsync(function(g,f){if(1===g)return A._asyncRethrow(f,p);for(;;)switch(h){case 0:c=m.$this,u=m.node,d=c._async_evaluate0$_expressionNode$1(u.from),t=m.from,r=m._box_0,n=m.direction,i=u.variable,o=m.fromNumber,u=u.children;case 3:if(t===r.to){h=5;break}return s=c._async_evaluate0$_environment,a=o.get$numeratorUnits(o),s.setLocalVariable$3(i,A.SassNumber_SassNumber$withUnits0(t,o.get$denominatorUnits(o),a),d),h=6,A._asyncAwait(c._async_evaluate0$_handleReturn$2(u,new A._EvaluateVisitor_visitForRule__closure2(c)),_);case 6:if(null!=(l=f)){e=l,h=1;break}case 4:t+=n,h=3;break;case 5:e=null,h=1;break;case 1:return A._asyncReturn(e,p)}});return A._asyncStartSync(_,p)},$signature:78},A._EvaluateVisitor_visitForRule__closure2.prototype={call$1(e){return e.accept$1(this.$this)},$signature:101},A._EvaluateVisitor_visitForwardRule_closure5.prototype={call$2(e,t){t&&this.$this._async_evaluate0$_registerCommentsForModule$1(e),this.$this._async_evaluate0$_environment.forwardModule$2(e,this.node)},$signature:121},A._EvaluateVisitor_visitForwardRule_closure6.prototype={call$2(e,t){t&&this.$this._async_evaluate0$_registerCommentsForModule$1(e),this.$this._async_evaluate0$_environment.forwardModule$2(e,this.node)},$signature:121},A._EvaluateVisitor__registerCommentsForModule_closure2.prototype={call$0:()=>A._setArrayType([],D.JSArray_CssComment_2),$signature:215},A._EvaluateVisitor_visitIfRule_closure2.prototype={call$1(e){var t=this.$this;return t._async_evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule__closure2(t,e),!0,e.hasDeclarations,D.nullable_Value_2)},$signature:347},A._EvaluateVisitor_visitIfRule__closure2.prototype={call$0(){var e=this.$this;return e._async_evaluate0$_handleReturn$2(this.clause.children,new A._EvaluateVisitor_visitIfRule___closure2(e))},$signature:78},A._EvaluateVisitor_visitIfRule___closure2.prototype={call$1(e){return e.accept$1(this.$this)},$signature:101},A._EvaluateVisitor__visitDynamicImport_closure2.prototype={call$0(){return this.$call$body$_EvaluateVisitor__visitDynamicImport_closure0()},$call$body$_EvaluateVisitor__visitDynamicImport_closure0(){var e,t,r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y,$,x,S,C,E=0,I=A._makeAsyncAwaitCompleter(D.void),M=this,k=A._wrapJsFunctionForAsync(function(T,R){if(1===T)return A._asyncRethrow(R,I);for(;;)switch(E){case 0:return(C={}).isDependency=C.importer=C.stylesheet=null,e=M.$this,t=M.$import,E=3,A._asyncAwait(e._async_evaluate0$_loadStylesheet$3$forImport(t.urlString,t.span,!0),k);case 3:if(r=R,n=C.stylesheet=r._0,i=r._1,C.importer=i,o=r._2,C.isDependency=o,s=n.span,null!=(a=s.get$sourceUrl(s))){if((s=e._async_evaluate0$_activeModules).containsKey$1(a))throw t=A.NullableExtension_andThen0(s.$index(0,a),new A._EvaluateVisitor__visitDynamicImport__closure11(e)),A.wrapException(null==t?e._async_evaluate0$_exception$1("This file is already being loaded."):t);s.$indexSet(0,a,t)}t=n._stylesheet1$_uses,s=D.UnmodifiableListView_UseRule_2,E=0===new A.UnmodifiableListView(t,s).get$length(0)&&0===new A.UnmodifiableListView(n._stylesheet1$_forwards,D.UnmodifiableListView_ForwardRule_2).get$length(0)?4:5;break;case 4:return l=e._async_evaluate0$_importer,c=e._async_evaluate0$_assertInModule$2(e._async_evaluate0$__stylesheet,"_stylesheet"),u=e._async_evaluate0$_inDependency,e._async_evaluate0$_importer=i,e._async_evaluate0$__stylesheet=n,e._async_evaluate0$_inDependency=o,E=6,A._asyncAwait(e.visitStylesheet$1(0,n),k);case 6:e._async_evaluate0$_importer=l,e._async_evaluate0$__stylesheet=c,e._async_evaluate0$_inDependency=u,e._async_evaluate0$_activeModules.remove$1(0,a),E=1;break;case 5:return(t=new A.UnmodifiableListView(t,s)).any$1(t,new A._EvaluateVisitor__visitDynamicImport__closure12)?d=!0:(t=new A.UnmodifiableListView(n._stylesheet1$_forwards,D.UnmodifiableListView_ForwardRule_2),d=t.any$1(t,new A._EvaluateVisitor__visitDynamicImport__closure13)),h=A._Cell$(),t=e._async_evaluate0$_environment,s=D.String,p=D.Module_AsyncCallable_2,m=D.AstNode_2,_=t._async_environment0$_nestedForwardedModules,g=A._setArrayType([],D.JSArray_Module_AsyncCallable_2),f=t._async_environment0$_variables,f=A._setArrayType(f.slice(0),A._arrayInstanceType(f)),v=t._async_environment0$_variableNodes,v=A._setArrayType(v.slice(0),A._arrayInstanceType(v)),b=t._async_environment0$_functions,b=A._setArrayType(b.slice(0),A._arrayInstanceType(b)),y=t._async_environment0$_mixins,y=A._setArrayType(y.slice(0),A._arrayInstanceType(y)),$=A.AsyncEnvironment$_0(A.LinkedHashMap_LinkedHashMap$_empty(s,p),A.LinkedHashMap_LinkedHashMap$_empty(s,m),A.LinkedHashMap_LinkedHashMap$_empty(p,m),t._async_environment0$_importedModules,null,_,g,f,v,b,y,t._async_environment0$_content,t._async_environment0$_configurableVariables),E=7,A._asyncAwait(e._async_evaluate0$_withEnvironment$1$2($,new A._EvaluateVisitor__visitDynamicImport__closure14(C,e,d,$,h),D.Null),k);case 7:x=$.toDummyModule$0(),e._async_evaluate0$_environment.importForwards$1(x),E=d?8:9;break;case 8:E=x.transitivelyContainsCss?10:11;break;case 10:return E=12,A._asyncAwait(e._async_evaluate0$_combineCss$2$clone(x,x.transitivelyContainsExtensions).accept$1(e),k);case 12:case 11:for(S=new A._ImportedCssVisitor2(e),t=w.get$iterator$ax(h._readLocal$0());t.moveNext$0();)t.get$current(t).accept$1(S);case 9:e._async_evaluate0$_activeModules.remove$1(0,a);case 1:return A._asyncReturn(undefined,I)}});return A._asyncStartSync(k,I)},$signature:32},A._EvaluateVisitor__visitDynamicImport__closure11.prototype={call$1(e){return this.$this._async_evaluate0$_multiSpanException$3("This file is already being loaded.","new load",A.LinkedHashMap_LinkedHashMap$_literal([e.get$span(e),"original load"],D.FileSpan,D.String))},$signature:98},A._EvaluateVisitor__visitDynamicImport__closure12.prototype={call$1:e=>"sass"!==e.url.get$scheme(),$signature:142},A._EvaluateVisitor__visitDynamicImport__closure13.prototype={call$1:e=>"sass"!==e.url.get$scheme(),$signature:216},A._EvaluateVisitor__visitDynamicImport__closure14.prototype={call$0(){var e,t,r,n,i,o,s,a,l,c,u,d,h=0,p=A._makeAsyncAwaitCompleter(D.Null),m=this,_=A._wrapJsFunctionForAsync(function(g,f){if(1===g)return A._asyncRethrow(f,p);for(;;)switch(h){case 0:return r=m.$this,n=r._async_evaluate0$_importer,i=r._async_evaluate0$_assertInModule$2(r._async_evaluate0$__stylesheet,"_stylesheet"),o=r._async_evaluate0$_assertInModule$2(r._async_evaluate0$__root,"_root"),s=r._async_evaluate0$_assertInModule$2(r._async_evaluate0$__parent,"__parent"),a=r._async_evaluate0$_assertInModule$2(r._async_evaluate0$__endOfImports,"_endOfImports"),l=r._async_evaluate0$_outOfOrderImports,c=r._async_evaluate0$_configuration,u=r._async_evaluate0$_inDependency,d=m._box_0,r._async_evaluate0$_importer=d.importer,e=d.stylesheet,r._async_evaluate0$__stylesheet=e,(t=m.loadsUserDefinedModules)&&(e=A.ModifiableCssStylesheet$0(e.span),r._async_evaluate0$__root=e,r._async_evaluate0$__parent=r._async_evaluate0$_assertInModule$2(e,"_root"),r._async_evaluate0$__endOfImports=0,r._async_evaluate0$_outOfOrderImports=null),r._async_evaluate0$_inDependency=d.isDependency,(e=new A.UnmodifiableListView(d.stylesheet._stylesheet1$_forwards,D.UnmodifiableListView_ForwardRule_2)).get$isEmpty(e)||(r._async_evaluate0$_configuration=m.environment.toImplicitConfiguration$0()),h=2,A._asyncAwait(r.visitStylesheet$1(0,d.stylesheet),_);case 2:return d=t?r._async_evaluate0$_addOutOfOrderImports$0():A._setArrayType([],D.JSArray_ModifiableCssNode_2),m.children.__late_helper$_value=d,r._async_evaluate0$_importer=n,r._async_evaluate0$__stylesheet=i,t&&(r._async_evaluate0$__root=o,r._async_evaluate0$__parent=s,r._async_evaluate0$__endOfImports=a,r._async_evaluate0$_outOfOrderImports=l),r._async_evaluate0$_configuration=c,r._async_evaluate0$_inDependency=u,A._asyncReturn(null,p)}});return A._asyncStartSync(_,p)},$signature:2},A._EvaluateVisitor__applyMixin_closure5.prototype={call$0(){var e,t=0,r=A._makeAsyncAwaitCompleter(D.void),n=this,i=A._wrapJsFunctionForAsync(function(o,s){if(1===o)return A._asyncRethrow(s,r);for(;;)switch(t){case 0:return e=n.$this,t=2,A._asyncAwait(e._async_evaluate0$_environment.asMixin$1(new A._EvaluateVisitor__applyMixin__closure6(e,n.$arguments,n.mixin,n.nodeWithSpanWithoutContent)),i);case 2:return A._asyncReturn(null,r)}});return A._asyncStartSync(i,r)},$signature:32},A._EvaluateVisitor__applyMixin__closure6.prototype={call$0(){var e=0,t=A._makeAsyncAwaitCompleter(D.void),r=this,n=A._wrapJsFunctionForAsync(function(i,o){if(1===i)return A._asyncRethrow(o,t);for(;;)switch(e){case 0:return e=2,A._asyncAwait(r.$this._async_evaluate0$_runBuiltInCallable$3(r.$arguments,r.mixin,r.nodeWithSpanWithoutContent),n);case 2:return A._asyncReturn(null,t)}});return A._asyncStartSync(n,t)},$signature:32},A._EvaluateVisitor__applyMixin_closure6.prototype={call$0(){var e,t=0,r=A._makeAsyncAwaitCompleter(D.Null),n=this,i=A._wrapJsFunctionForAsync(function(o,s){if(1===o)return A._asyncRethrow(s,r);for(;;)switch(t){case 0:return e=n.$this,t=2,A._asyncAwait(e._async_evaluate0$_environment.withContent$2(n.contentCallable,new A._EvaluateVisitor__applyMixin__closure5(e,n.mixin,n.nodeWithSpanWithoutContent)),i);case 2:return A._asyncReturn(null,r)}});return A._asyncStartSync(i,r)},$signature:2},A._EvaluateVisitor__applyMixin__closure5.prototype={call$0(){var e,t=0,r=A._makeAsyncAwaitCompleter(D.void),n=this,i=A._wrapJsFunctionForAsync(function(o,s){if(1===o)return A._asyncRethrow(s,r);for(;;)switch(t){case 0:return e=n.$this,t=2,A._asyncAwait(e._async_evaluate0$_environment.asMixin$1(new A._EvaluateVisitor__applyMixin___closure2(e,n.mixin,n.nodeWithSpanWithoutContent)),i);case 2:return A._asyncReturn(null,r)}});return A._asyncStartSync(i,r)},$signature:32},A._EvaluateVisitor__applyMixin___closure2.prototype={call$0(){var e,t,r,n,i,o,s=0,a=A._makeAsyncAwaitCompleter(D.void),l=this,c=A._wrapJsFunctionForAsync(function(u,d){if(1===u)return A._asyncRethrow(d,a);for(;;)switch(s){case 0:e=l.mixin.declaration.children,t=e.length,r=l.$this,n=l.nodeWithSpanWithoutContent,i=D.nullable_Value_2,o=0;case 2:if(!(o<t)){s=4;break}return s=5,A._asyncAwait(r._async_evaluate0$_addErrorSpan$1$2(n,new A._EvaluateVisitor__applyMixin____closure2(r,e[o]),i),c);case 5:case 3:++o,s=2;break;case 4:return A._asyncReturn(null,a)}});return A._asyncStartSync(c,a)},$signature:32},A._EvaluateVisitor__applyMixin____closure2.prototype={call$0(){return this.statement.accept$1(this.$this)},$signature:78},A._EvaluateVisitor_visitIncludeRule_closure8.prototype={call$0(){var e=this.node;return this.$this._async_evaluate0$_environment.getMixin$2$namespace(e.name,e.namespace)},$signature:96},A._EvaluateVisitor_visitIncludeRule_closure9.prototype={call$1(e){var t=this.$this;return new A.UserDefinedCallable0(e,t._async_evaluate0$_environment.closure$0(),t._async_evaluate0$_inDependency,D.UserDefinedCallable_AsyncEnvironment_2)},$signature:350},A._EvaluateVisitor_visitIncludeRule_closure10.prototype={call$0(){return this.node.get$spanWithoutContent()},$signature:16},A._EvaluateVisitor_visitMediaRule_closure11.prototype={call$0(){var e,t,r,n,i=0,o=A._makeAsyncAwaitCompleter(D.Null),s=this,a=A._wrapJsFunctionForAsync(function(l,c){if(1===l)return A._asyncRethrow(c,o);for(;;)switch(i){case 0:e=s.node.children,t=e.length,r=s.$this,n=0;case 2:if(!(n<t)){i=4;break}return i=5,A._asyncAwait(e[n].accept$1(r),a);case 5:case 3:++n,i=2;break;case 4:return A._asyncReturn(null,o)}});return A._asyncStartSync(a,o)},$signature:2},A._EvaluateVisitor_visitMediaRule_closure12.prototype={call$1(e){return this.$this._async_evaluate0$_mergeMediaQueries$2(e,this.queries)},$signature:104},A._EvaluateVisitor_visitMediaRule_closure13.prototype={call$0(){var e,t,r=0,n=A._makeAsyncAwaitCompleter(D.Null),i=this,o=A._wrapJsFunctionForAsync(function(s,a){if(1===s)return A._asyncRethrow(a,n);for(;;)switch(r){case 0:return e=i.$this,null==(t=i.mergedQueries)&&(t=i.queries),r=2,A._asyncAwait(e._async_evaluate0$_withMediaQueries$1$3(t,i.mergedSources,new A._EvaluateVisitor_visitMediaRule__closure2(e,i.node),D.Null),o);case 2:return A._asyncReturn(null,n)}});return A._asyncStartSync(o,n)},$signature:2},A._EvaluateVisitor_visitMediaRule__closure2.prototype={call$0(){var e,t,r,n,i,o=0,s=A._makeAsyncAwaitCompleter(D.Null),a=this,l=A._wrapJsFunctionForAsync(function(c,u){if(1===c)return A._asyncRethrow(u,s);for(;;)switch(o){case 0:n=a.$this,i=n._async_evaluate0$_atRootExcludingStyleRule?null:n._async_evaluate0$_styleRuleIgnoringAtRoot,o=null!=i?2:4;break;case 2:return o=5,A._asyncAwait(n._async_evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(i._style_rule0$_selector,i.span,!1,i.originalSelector),new A._EvaluateVisitor_visitMediaRule___closure2(n,a.node),!1,D.ModifiableCssStyleRule_2,D.Null),l);case 5:o=3;break;case 4:e=a.node.children,t=e.length,r=0;case 6:if(!(r<t)){o=8;break}return o=9,A._asyncAwait(e[r].accept$1(n),l);case 9:case 7:++r,o=6;break;case 8:case 3:return A._asyncReturn(null,s)}});return A._asyncStartSync(l,s)},$signature:2},A._EvaluateVisitor_visitMediaRule___closure2.prototype={call$0(){var e,t,r,n,i=0,o=A._makeAsyncAwaitCompleter(D.Null),s=this,a=A._wrapJsFunctionForAsync(function(l,c){if(1===l)return A._asyncRethrow(c,o);for(;;)switch(i){case 0:e=s.node.children,t=e.length,r=s.$this,n=0;case 2:if(!(n<t)){i=4;break}return i=5,A._asyncAwait(e[n].accept$1(r),a);case 5:case 3:++n,i=2;break;case 4:return A._asyncReturn(null,o)}});return A._asyncStartSync(a,o)},$signature:2},A._EvaluateVisitor_visitMediaRule_closure14.prototype={call$1(e){var t;return t=e instanceof A.ModifiableCssStyleRule0||(t=this.mergedSources).get$isNotEmpty(t)&&e instanceof A.ModifiableCssMediaRule0&&C.JSArray_methods.every$1(e.queries,t.get$contains(t))},$signature:8},A._EvaluateVisitor_visitStyleRule_closure11.prototype={call$0(){var e,t,r,n,i=0,o=A._makeAsyncAwaitCompleter(D.Null),s=this,a=A._wrapJsFunctionForAsync(function(l,c){if(1===l)return A._asyncRethrow(c,o);for(;;)switch(i){case 0:e=s.node.children,t=e.length,r=s.$this,n=0;case 2:if(!(n<t)){i=4;break}return i=5,A._asyncAwait(e[n].accept$1(r),a);case 5:case 3:++n,i=2;break;case 4:return A._asyncReturn(null,o)}});return A._asyncStartSync(a,o)},$signature:2},A._EvaluateVisitor_visitStyleRule_closure12.prototype={call$1:e=>e instanceof A.ModifiableCssStyleRule0,$signature:8},A._EvaluateVisitor_visitStyleRule_closure14.prototype={call$0(){var e,t=0,r=A._makeAsyncAwaitCompleter(D.Null),n=this,i=A._wrapJsFunctionForAsync(function(o,s){if(1===o)return A._asyncRethrow(s,r);for(;;)switch(t){case 0:return e=n.$this,t=2,A._asyncAwait(e._async_evaluate0$_withStyleRule$1$2(n.rule,new A._EvaluateVisitor_visitStyleRule__closure2(e,n.node),D.Null),i);case 2:return A._asyncReturn(null,r)}});return A._asyncStartSync(i,r)},$signature:2},A._EvaluateVisitor_visitStyleRule__closure2.prototype={call$0(){var e,t,r,n,i=0,o=A._makeAsyncAwaitCompleter(D.Null),s=this,a=A._wrapJsFunctionForAsync(function(l,c){if(1===l)return A._asyncRethrow(c,o);for(;;)switch(i){case 0:e=s.node.children,t=e.length,r=s.$this,n=0;case 2:if(!(n<t)){i=4;break}return i=5,A._asyncAwait(e[n].accept$1(r),a);case 5:case 3:++n,i=2;break;case 4:return A._asyncReturn(null,o)}});return A._asyncStartSync(a,o)},$signature:2},A._EvaluateVisitor_visitStyleRule_closure13.prototype={call$1:e=>e instanceof A.ModifiableCssStyleRule0,$signature:8},A._EvaluateVisitor__warnForBogusCombinators_closure2.prototype={call$1:e=>e instanceof A.ModifiableCssComment0,$signature:8},A._EvaluateVisitor_visitSupportsRule_closure8.prototype={call$0(){var e,t,r,n,i=0,o=A._makeAsyncAwaitCompleter(D.Null),s=this,a=A._wrapJsFunctionForAsync(function(l,c){if(1===l)return A._asyncRethrow(c,o);for(;;)switch(i){case 0:e=s.node.children,t=e.length,r=s.$this,n=0;case 2:if(!(n<t)){i=4;break}return i=5,A._asyncAwait(e[n].accept$1(r),a);case 5:case 3:++n,i=2;break;case 4:return A._asyncReturn(null,o)}});return A._asyncStartSync(a,o)},$signature:2},A._EvaluateVisitor_visitSupportsRule_closure9.prototype={call$0(){var e,t,r,n,i,o=0,s=A._makeAsyncAwaitCompleter(D.Null),a=this,l=A._wrapJsFunctionForAsync(function(c,u){if(1===c)return A._asyncRethrow(u,s);for(;;)switch(o){case 0:n=a.$this,i=n._async_evaluate0$_atRootExcludingStyleRule?null:n._async_evaluate0$_styleRuleIgnoringAtRoot,o=null!=i?2:4;break;case 2:return o=5,A._asyncAwait(n._async_evaluate0$_withParent$2$2(A.ModifiableCssStyleRule$0(i._style_rule0$_selector,i.span,!1,i.originalSelector),new A._EvaluateVisitor_visitSupportsRule__closure2(n,a.node),D.ModifiableCssStyleRule_2,D.Null),l);case 5:o=3;break;case 4:e=a.node.children,t=e.length,r=0;case 6:if(!(r<t)){o=8;break}return o=9,A._asyncAwait(e[r].accept$1(n),l);case 9:case 7:++r,o=6;break;case 8:case 3:return A._asyncReturn(null,s)}});return A._asyncStartSync(l,s)},$signature:2},A._EvaluateVisitor_visitSupportsRule__closure2.prototype={call$0(){var e,t,r,n,i=0,o=A._makeAsyncAwaitCompleter(D.Null),s=this,a=A._wrapJsFunctionForAsync(function(l,c){if(1===l)return A._asyncRethrow(c,o);for(;;)switch(i){case 0:e=s.node.children,t=e.length,r=s.$this,n=0;case 2:if(!(n<t)){i=4;break}return i=5,A._asyncAwait(e[n].accept$1(r),a);case 5:case 3:++n,i=2;break;case 4:return A._asyncReturn(null,o)}});return A._asyncStartSync(a,o)},$signature:2},A._EvaluateVisitor_visitSupportsRule_closure10.prototype={call$1:e=>e instanceof A.ModifiableCssStyleRule0,$signature:8},A._EvaluateVisitor__visitSupportsCondition_closure2.prototype={call$0(){var e,t,r,n,i,o,s,a=0,l=A._makeAsyncAwaitCompleter(D.String),c=this,u=A._wrapJsFunctionForAsync(function(d,h){if(1===d)return A._asyncRethrow(h,l);for(;;)switch(a){case 0:return t=c.$this,r=c._box_0,o=A,a=3,A._asyncAwait(t._async_evaluate0$_evaluateToCss$1(r.declaration.name),u);case 3:return n=o.S(h),i=r.declaration.get$isCustomProperty()?"":" ",o="("+n+":"+i,s=A,a=4,A._asyncAwait(t._async_evaluate0$_evaluateToCss$1(r.declaration.value),u);case 4:e=o+s.S(h)+")",a=1;break;case 1:return A._asyncReturn(e,l)}});return A._asyncStartSync(u,l)},$signature:181},A._EvaluateVisitor_visitVariableDeclaration_closure8.prototype={call$0(){var e=this.$this._async_evaluate0$_environment,t=this._box_0.override;e.setVariable$4$global(this.node.name,t.value,t.assignmentNode,!0)},$signature:1},A._EvaluateVisitor_visitVariableDeclaration_closure9.prototype={call$0(){var e=this.node;return this.$this._async_evaluate0$_environment.getVariable$2$namespace(e.name,e.namespace)},$signature:42},A._EvaluateVisitor_visitVariableDeclaration_closure10.prototype={call$0(){var e=this.$this,t=this.node;e._async_evaluate0$_environment.setVariable$5$global$namespace(t.name,this.value,e._async_evaluate0$_expressionNode$1(t.expression),t.isGlobal,t.namespace)},$signature:1},A._EvaluateVisitor_visitUseRule_closure2.prototype={call$2(e,t){var r,n,i,o,s,a,l;t&&this.$this._async_evaluate0$_registerCommentsForModule$1(e),r=this.$this._async_evaluate0$_environment,null==(i=(n=this.node).namespace)?(r._async_environment0$_globalModules.$indexSet(0,e,n),r._async_environment0$_allModules.push(e),r=C.JSArray_methods.get$first(r._async_environment0$_variables),null!=(o=A.IterableExtension_firstWhereOrNull(r.get$keys(r),e.get$variables().get$containsKey()))&&A.throwExpression(A.SassScriptException$0(P.This_ma+o+'".',null))):((s=r._async_environment0$_modules).containsKey$1(i)&&(l=null==(a=r._async_environment0$_namespaceNodes.$index(0,i))?null:a.span,a=A.LinkedHashMap_LinkedHashMap$_empty(D.FileSpan,D.String),null!=l&&a.$indexSet(0,l,"original @use"),A.throwExpression(A.MultiSpanSassScriptException$0(P.There_+i+'".',"new @use",a))),s.$indexSet(0,i,e),r._async_environment0$_namespaceNodes.$indexSet(0,i,n),r._async_environment0$_allModules.push(e))},$signature:121},A._EvaluateVisitor_visitWarnRule_closure2.prototype={call$0(){return this.node.expression.accept$1(this.$this)},$signature:80},A._EvaluateVisitor_visitWhileRule_closure2.prototype={call$0(){var e,t,r,n,i,o=0,s=A._makeAsyncAwaitCompleter(D.nullable_Value_2),a=this,l=A._wrapJsFunctionForAsync(function(c,u){if(1===c)return A._asyncRethrow(u,s);for(;;)switch(o){case 0:t=a.node,r=t.condition,n=a.$this,t=t.children;case 3:return o=5,A._asyncAwait(r.accept$1(n),l);case 5:if(!u.get$isTruthy()){o=4;break}return o=6,A._asyncAwait(n._async_evaluate0$_handleReturn$2(t,new A._EvaluateVisitor_visitWhileRule__closure2(n)),l);case 6:if(null!=(i=u)){e=i,o=1;break}o=3;break;case 4:e=null,o=1;break;case 1:return A._asyncReturn(e,s)}});return A._asyncStartSync(l,s)},$signature:78},A._EvaluateVisitor_visitWhileRule__closure2.prototype={call$1(e){return e.accept$1(this.$this)},$signature:101},A._EvaluateVisitor_visitBinaryOperationExpression_closure2.prototype={call$0(){var e,t,r,n,i,o,s,a=0,l=A._makeAsyncAwaitCompleter(D.Value_2),c=this,u=A._wrapJsFunctionForAsync(function(d,h){if(1===d)return A._asyncRethrow(h,l);for(;;)switch(a){case 0:return r=c.node,n=c.$this,a=3,A._asyncAwait(r.left.accept$1(n),u);case 3:i=h;case 4:switch(r.operator.index){case 0:a=6;break;case 1:a=7;break;case 2:a=8;break;case 3:a=9;break;case 4:a=10;break;case 5:a=11;break;case 6:a=12;break;case 7:a=13;break;case 8:a=14;break;case 9:a=15;break;case 10:a=16;break;case 11:a=17;break;case 12:a=18;break;case 13:a=19;break;default:a=20}break;case 6:return r=r.right.accept$1(n),a=21,A._asyncAwait(D.Future_Value_2._is(r)?r:A._Future$value(r,D.Value_2),u);case 21:r=h,r=new A.SassString0(A.serializeValue0(i,!1,!0)+"="+A.serializeValue0(r,!1,!0),!1),a=5;break;case 7:a=i.get$isTruthy()?22:24;break;case 22:r=i,a=23;break;case 24:return r=r.right.accept$1(n),a=25,A._asyncAwait(D.Future_Value_2._is(r)?r:A._Future$value(r,D.Value_2),u);case 25:r=h;case 23:a=5;break;case 8:a=i.get$isTruthy()?26:28;break;case 26:return r=r.right.accept$1(n),a=29,A._asyncAwait(D.Future_Value_2._is(r)?r:A._Future$value(r,D.Value_2),u);case 29:r=h,a=27;break;case 28:r=i;case 27:a=5;break;case 9:return o=i,a=30,A._asyncAwait(r.right.accept$1(n),u);case 30:r=o.$eq(0,h)?C.SassBoolean_true0:C.SassBoolean_false0,a=5;break;case 10:return o=i,a=31,A._asyncAwait(r.right.accept$1(n),u);case 31:r=o.$eq(0,h)?C.SassBoolean_false0:C.SassBoolean_true0,a=5;break;case 11:return r=r.right.accept$1(n),o=i,a=32,A._asyncAwait(D.Future_Value_2._is(r)?r:A._Future$value(r,D.Value_2),u);case 32:r=o.greaterThan$1(h),a=5;break;case 12:return r=r.right.accept$1(n),o=i,a=33,A._asyncAwait(D.Future_Value_2._is(r)?r:A._Future$value(r,D.Value_2),u);case 33:r=o.greaterThanOrEquals$1(h),a=5;break;case 13:return r=r.right.accept$1(n),o=i,a=34,A._asyncAwait(D.Future_Value_2._is(r)?r:A._Future$value(r,D.Value_2),u);case 34:r=o.lessThan$1(h),a=5;break;case 14:return r=r.right.accept$1(n),o=i,a=35,A._asyncAwait(D.Future_Value_2._is(r)?r:A._Future$value(r,D.Value_2),u);case 35:r=o.lessThanOrEquals$1(h),a=5;break;case 15:return r=r.right.accept$1(n),o=i,a=36,A._asyncAwait(D.Future_Value_2._is(r)?r:A._Future$value(r,D.Value_2),u);case 36:r=o.plus$1(h),a=5;break;case 16:return r=r.right.accept$1(n),o=i,a=37,A._asyncAwait(D.Future_Value_2._is(r)?r:A._Future$value(r,D.Value_2),u);case 37:r=o.minus$1(h),a=5;break;case 17:return r=r.right.accept$1(n),o=i,a=38,A._asyncAwait(D.Future_Value_2._is(r)?r:A._Future$value(r,D.Value_2),u);case 38:r=o.times$1(h),a=5;break;case 18:return t=r.right.accept$1(n),o=n,s=i,a=39,A._asyncAwait(D.Future_Value_2._is(t)?t:A._Future$value(t,D.Value_2),u);case 39:r=o._async_evaluate0$_slash$3(s,h,r),a=5;break;case 19:return r=r.right.accept$1(n),o=i,a=40,A._asyncAwait(D.Future_Value_2._is(r)?r:A._Future$value(r,D.Value_2),u);case 40:r=o.modulo$1(h),a=5;break;case 20:r=null;case 5:e=r,a=1;break;case 1:return A._asyncReturn(e,l)}});return A._asyncStartSync(u,l)},$signature:80},A._EvaluateVisitor__slash_recommendation2.prototype={call$1(e){return e instanceof A.BinaryOperationExpression0&&C.BinaryOperator_ehp0===e.operator?"math.div("+A.S(this.call$1(e.left))+", "+A.S(this.call$1(e.right))+")":e instanceof A.ParenthesizedExpression0?e.expression.toString$0(0):e.toString$0(0)},$signature:120},A._EvaluateVisitor_visitVariableExpression_closure2.prototype={call$0(){var e=this.node;return this.$this._async_evaluate0$_environment.getVariable$2$namespace(e.name,e.namespace)},$signature:42},A._EvaluateVisitor_visitUnaryOperationExpression_closure2.prototype={call$0(){var e,t=this;switch(t.node.operator.index){case 0:e=t.operand.unaryPlus$0();break;case 1:e=t.operand.unaryMinus$0();break;case 2:e=new A.SassString0("/"+A.serializeValue0(t.operand,!1,!0),!1);break;case 3:e=t.operand.unaryNot$0();break;default:e=null}return e},$signature:46},A._EvaluateVisitor_visitIfExpression_closure2.prototype={call$1:e=>e._0+": "+e._1.toString$0(0),$signature:217},A._EvaluateVisitor_visitIfConditionOperation_closure2.prototype={call$1:e=>e._1,$signature:218},A._EvaluateVisitor_visitListExpression_closure2.prototype={call$1(e){return e.accept$1(this.$this)},$signature:358},A._EvaluateVisitor_visitFunctionExpression_closure8.prototype={call$0(){var e=this.node;return this.$this._async_evaluate0$_environment.getFunction$2$namespace(e.name,e.namespace)},$signature:96},A._EvaluateVisitor_visitFunctionExpression_closure9.prototype={call$1:e=>e.accept$1(C.C_IsCalculationSafeVisitor0),$signature:81},A._EvaluateVisitor_visitFunctionExpression_closure10.prototype={call$0(){var e=this.node;return this.$this._async_evaluate0$_runFunctionCallable$3(e.$arguments,this._box_0.$function,e)},$signature:80},A._EvaluateVisitor__visitCalculation_closure2.prototype={call$2(e,t){return this.$this._async_evaluate0$_warn$3(e,this.node.span,t)},call$1(e){return this.call$2(e,null)},$signature:110},A._EvaluateVisitor__checkCalculationArguments_check2.prototype={call$1(e){var t=this.node,r=t.$arguments.positional.length;if(0===r)throw A.wrapException(this.$this._async_evaluate0$_exception$2("Missing argument.",t.span));if(null!=e&&r>e)throw A.wrapException(this.$this._async_evaluate0$_exception$2("Only "+A.S(e)+" "+A.pluralize0("argument",e,null)+" allowed, but "+r+" "+A.pluralize0("was",r,"were")+" passed.",t.span))},call$0(){return this.call$1(null)},$signature:82},A._EvaluateVisitor__visitCalculationExpression_closure2.prototype={call$0(){var e,t,r,n,i,o,s,a,l=0,c=A._makeAsyncAwaitCompleter(D.Object),u=this,d=A._wrapJsFunctionForAsync(function(h,p){if(1===h)return A._asyncRethrow(p,c);for(;;)switch(l){case 0:return t=u.$this,r=u._box_0,n=u.node,i=u.inLegacySassFunction,o=A,s=t._async_evaluate0$_binaryOperatorToCalculationOperator$2(r.operator,n),l=3,A._asyncAwait(t._async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(r.left,i),d);case 3:return a=p,l=4,A._asyncAwait(t._async_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(r.right,i),d);case 4:e=o.SassCalculation_operateInternal0(s,a,p,i,!t._async_evaluate0$_inSupportsDeclaration,new A._EvaluateVisitor__visitCalculationExpression__closure2(t,n)),l=1;break;case 1:return A._asyncReturn(e,c)}});return A._asyncStartSync(d,c)},$signature:185},A._EvaluateVisitor__visitCalculationExpression__closure2.prototype={call$2(e,t){return this.$this._async_evaluate0$_warn$3(e,this.node.get$span(0),t)},call$1(e){return this.call$2(e,null)},$signature:110},A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure2.prototype={call$0(){var e=this.node;return this.$this._async_evaluate0$_runFunctionCallable$3(e.$arguments,this.$function,e)},$signature:80},A._EvaluateVisitor__runUserDefinedCallable_closure2.prototype={call$0(){var e=this,t=e.$this,r=e.callable,n=e.V;return t._async_evaluate0$_withEnvironment$1$2(r.environment.closure$0(),new A._EvaluateVisitor__runUserDefinedCallable__closure2(t,e.evaluated,r,e.nodeWithSpan,e.run,n),n)},$signature(){return this.V._eval$1("Future<0>()")}},A._EvaluateVisitor__runUserDefinedCallable__closure2.prototype={call$0(){var e=this,t=e.$this,r=e.V;return t._async_evaluate0$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure2(t,e.evaluated,e.callable,e.nodeWithSpan,e.run,r),r)},$signature(){return this.V._eval$1("Future<0>()")}},A._EvaluateVisitor__runUserDefinedCallable___closure2.prototype={call$0(){return this.$call$body$_EvaluateVisitor__runUserDefinedCallable___closure0(this.V)},$call$body$_EvaluateVisitor__runUserDefinedCallable___closure0(e){var t,r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y,$=0,x=A._makeAsyncAwaitCompleter(e),S=this,E=A._wrapJsFunctionForAsync(function(e,I){if(1===e)return A._asyncRethrow(I,x);for(;;)switch($){case 0:for(g=S.$this,f=S.evaluated._values,v=S.callable.declaration.parameters,b=S.nodeWithSpan,g._async_evaluate0$_verifyArguments$4(w.get$length$asx(f[2]),f[0],v,b),r=v.parameters,n=r.length,i=Math.min(w.get$length$asx(f[2]),n),o=0;o<i;++o)g._async_evaluate0$_environment.setLocalVariable$3(r[o].name,w.$index$asx(f[2],o),w.$index$asx(f[3],o));o=w.get$length$asx(f[2]);case 3:if(!(o<n)){$=5;break}s=r[o],a=s.name,l=f[0].remove$1(0,a),$=null==l?6:7;break;case 6:return c=s.defaultValue,y=g,$=8,A._asyncAwait(c.accept$1(g),E);case 8:l=y._async_evaluate0$_withoutSlash$2(I,g._async_evaluate0$_expressionNode$1(c));case 7:c=g._async_evaluate0$_environment,null==(u=f[1].$index(0,a))&&((u=s.defaultValue).toString,u=g._async_evaluate0$_expressionNode$1(u)),c.setLocalVariable$3(a,l,u);case 4:++o,$=3;break;case 5:return null!=(d=v.restParameter)?(h=w.get$length$asx(f[2])>n?w.sublist$1$ax(f[2],n):C.List_empty23,n=f[0],a=f[4],p=A.SassArgumentList$0(h,n,a===C.ListSeparator_undecided_null_3_undecided0?C.ListSeparator_z0K0:a),g._async_evaluate0$_environment.setLocalVariable$3(d,p,b)):p=null,$=9,A._asyncAwait(S.run.call$0(),E);case 9:if(m=I,null==p){t=m,$=1;break}if((n=f[0]).get$isEmpty(n)){t=m,$=1;break}if(p._argument_list$_wereKeywordsAccessed){t=m,$=1;break}throw n=(n=f[0]).get$keys(n),_=A.pluralize0("parameter",n.get$length(n),null),f=(f=f[0]).get$keys(f),A.wrapException(A.MultiSpanSassRuntimeException$0("No "+_+" named "+A.toSentence0(f.map$1$1(f,new A._EvaluateVisitor__runUserDefinedCallable____closure2,D.Object),"or")+".",b.get$span(b),"invocation",A.LinkedHashMap_LinkedHashMap$_literal([v.get$spanWithName(),"declaration"],D.FileSpan,D.String),g._async_evaluate0$_stackTrace$1(b.get$span(b)),null));case 1:return A._asyncReturn(t,x)}});return A._asyncStartSync(E,x)},$signature(){return this.V._eval$1("Future<0>()")}},A._EvaluateVisitor__runUserDefinedCallable____closure2.prototype={call$1:e=>"$"+e,$signature:6},A._EvaluateVisitor__runFunctionCallable_closure2.prototype={call$0(){var e,t,r,n,i,o,s,a=0,l=A._makeAsyncAwaitCompleter(D.Value_2),c=this,u=A._wrapJsFunctionForAsync(function(d,h){if(1===d)return A._asyncRethrow(h,l);for(;;)switch(a){case 0:t=c.callable.declaration,r=t.children,n=r.length,i=c.$this,o=0;case 3:if(!(o<n)){a=5;break}return a=6,A._asyncAwait(r[o].accept$1(i),u);case 6:if((s=h)instanceof A.Value0){e=s,a=1;break}case 4:++o,a=3;break;case 5:throw A.wrapException(i._async_evaluate0$_exception$2("Function finished without @return.",t.span));case 1:return A._asyncReturn(e,l)}});return A._asyncStartSync(u,l)},$signature:80},A._EvaluateVisitor__runBuiltInCallable_closure8.prototype={call$0(){return this._box_0.overload.verify$2(w.get$length$asx(this.evaluated._values[2]),this.namedSet)},$signature:0},A._EvaluateVisitor__runBuiltInCallable_closure9.prototype={call$0(){return this._box_0.callback.call$1(this.evaluated._values[2])},$signature:361},A._EvaluateVisitor__runBuiltInCallable_closure10.prototype={call$1:e=>"$"+e,$signature:6},A._EvaluateVisitor__evaluateArguments_closure11.prototype={call$1:e=>e,$signature:41},A._EvaluateVisitor__evaluateArguments_closure12.prototype={call$1(e){return this.$this._async_evaluate0$_withoutSlash$2(e,this.restNodeForSpan)},$signature:41},A._EvaluateVisitor__evaluateArguments_closure13.prototype={call$2(e,t){var r=this,n=r.restNodeForSpan;r.named.$indexSet(0,e,r.$this._async_evaluate0$_withoutSlash$2(t,n)),r.namedNodes.$indexSet(0,e,n)},$signature:112},A._EvaluateVisitor__evaluateArguments_closure14.prototype={call$1:e=>e,$signature:41},A._EvaluateVisitor__evaluateMacroArguments_closure11.prototype={call$1(e){var t=this.restArgs;return new A.ValueExpression0(e,t.get$span(t))},$signature:65},A._EvaluateVisitor__evaluateMacroArguments_closure12.prototype={call$1(e){var t=this.restArgs;return new A.ValueExpression0(this.$this._async_evaluate0$_withoutSlash$2(e,this.restNodeForSpan),t.get$span(t))},$signature:65},A._EvaluateVisitor__evaluateMacroArguments_closure13.prototype={call$2(e,t){var r=this,n=r.restArgs;r.named.$indexSet(0,e,new A.ValueExpression0(r.$this._async_evaluate0$_withoutSlash$2(t,r.restNodeForSpan),n.get$span(n)))},$signature:112},A._EvaluateVisitor__evaluateMacroArguments_closure14.prototype={call$1(e){var t=this.keywordRestArgs;return new A.ValueExpression0(this.$this._async_evaluate0$_withoutSlash$2(e,this.keywordRestNodeForSpan),t.get$span(t))},$signature:65},A._EvaluateVisitor__addRestMap_closure2.prototype={call$2(e,t){var r,n=this,i=n.$this;if(!(e instanceof A.SassString0))throw r=n.nodeWithSpan,A.wrapException(i._async_evaluate0$_exception$2(P.Variab_+e.toString$0(0)+" is not a string in "+n.map.toString$0(0)+".",r.get$span(r)));n.values.$indexSet(0,e._string0$_text,n.convert.call$1(i._async_evaluate0$_withoutSlash$2(t,n.expressionNode)))},$signature:117},A._EvaluateVisitor__verifyArguments_closure2.prototype={call$0(){return this.parameters.verify$2(this.positional,new A.MapKeySet(this.named,D.MapKeySet_String))},$signature:0},A._EvaluateVisitor_visitCssAtRule_closure8.prototype={call$0(){var e,t,r,n,i=0,o=A._makeAsyncAwaitCompleter(D.Null),s=this,a=A._wrapJsFunctionForAsync(function(l,c){if(1===l)return A._asyncRethrow(c,o);for(;;)switch(i){case 0:e=s.node.children,t=e.$ti,e=new A.ListIterator(e,e.get$length(0),t._eval$1("ListIterator<ListBase.E>")),r=s.$this,t=t._eval$1("ListBase.E");case 2:if(!e.moveNext$0()){i=3;break}return n=e.__internal$_current,i=4,A._asyncAwait((null==n?t._as(n):n).accept$1(r),a);case 4:i=2;break;case 3:return A._asyncReturn(null,o)}});return A._asyncStartSync(a,o)},$signature:2},A._EvaluateVisitor_visitCssAtRule_closure9.prototype={call$0(){var e,t,r,n,i=0,o=A._makeAsyncAwaitCompleter(D.Null),s=this,a=A._wrapJsFunctionForAsync(function(l,c){if(1===l)return A._asyncRethrow(c,o);for(;;)switch(i){case 0:e=s.node.children,t=e.$ti,e=new A.ListIterator(e,e.get$length(0),t._eval$1("ListIterator<ListBase.E>")),r=s.$this,t=t._eval$1("ListBase.E");case 2:if(!e.moveNext$0()){i=3;break}return n=e.__internal$_current,i=4,A._asyncAwait((null==n?t._as(n):n).accept$1(r),a);case 4:i=2;break;case 3:return A._asyncReturn(null,o)}});return A._asyncStartSync(a,o)},$signature:2},A._EvaluateVisitor_visitCssAtRule_closure10.prototype={call$1:e=>e instanceof A.ModifiableCssStyleRule0,$signature:8},A._EvaluateVisitor_visitCssKeyframeBlock_closure5.prototype={call$0(){var e,t,r,n,i=0,o=A._makeAsyncAwaitCompleter(D.Null),s=this,a=A._wrapJsFunctionForAsync(function(l,c){if(1===l)return A._asyncRethrow(c,o);for(;;)switch(i){case 0:e=s.node.children,t=e.$ti,e=new A.ListIterator(e,e.get$length(0),t._eval$1("ListIterator<ListBase.E>")),r=s.$this,t=t._eval$1("ListBase.E");case 2:if(!e.moveNext$0()){i=3;break}return n=e.__internal$_current,i=4,A._asyncAwait((null==n?t._as(n):n).accept$1(r),a);case 4:i=2;break;case 3:return A._asyncReturn(null,o)}});return A._asyncStartSync(a,o)},$signature:2},A._EvaluateVisitor_visitCssKeyframeBlock_closure6.prototype={call$1:e=>e instanceof A.ModifiableCssStyleRule0,$signature:8},A._EvaluateVisitor_visitCssMediaRule_closure11.prototype={call$0(){var e,t,r,n,i=0,o=A._makeAsyncAwaitCompleter(D.Null),s=this,a=A._wrapJsFunctionForAsync(function(l,c){if(1===l)return A._asyncRethrow(c,o);for(;;)switch(i){case 0:e=s.node.children,t=e.$ti,e=new A.ListIterator(e,e.get$length(0),t._eval$1("ListIterator<ListBase.E>")),r=s.$this,t=t._eval$1("ListBase.E");case 2:if(!e.moveNext$0()){i=3;break}return n=e.__internal$_current,i=4,A._asyncAwait((null==n?t._as(n):n).accept$1(r),a);case 4:i=2;break;case 3:return A._asyncReturn(null,o)}});return A._asyncStartSync(a,o)},$signature:2},A._EvaluateVisitor_visitCssMediaRule_closure12.prototype={call$1(e){return this.$this._async_evaluate0$_mergeMediaQueries$2(e,this.node.queries)},$signature:104},A._EvaluateVisitor_visitCssMediaRule_closure13.prototype={call$0(){var e,t,r=0,n=A._makeAsyncAwaitCompleter(D.Null),i=this,o=A._wrapJsFunctionForAsync(function(s,a){if(1===s)return A._asyncRethrow(a,n);for(;;)switch(r){case 0:return e=i.$this,null==(t=i.mergedQueries)&&(t=i.node.queries),r=2,A._asyncAwait(e._async_evaluate0$_withMediaQueries$1$3(t,i.mergedSources,new A._EvaluateVisitor_visitCssMediaRule__closure2(e,i.node),D.Null),o);case 2:return A._asyncReturn(null,n)}});return A._asyncStartSync(o,n)},$signature:2},A._EvaluateVisitor_visitCssMediaRule__closure2.prototype={call$0(){var e,t,r,n,i,o=0,s=A._makeAsyncAwaitCompleter(D.Null),a=this,l=A._wrapJsFunctionForAsync(function(c,u){if(1===c)return A._asyncRethrow(u,s);for(;;)switch(o){case 0:n=a.$this,i=n._async_evaluate0$_atRootExcludingStyleRule?null:n._async_evaluate0$_styleRuleIgnoringAtRoot,o=null!=i?2:4;break;case 2:return o=5,A._asyncAwait(n._async_evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(i._style_rule0$_selector,i.span,!1,i.originalSelector),new A._EvaluateVisitor_visitCssMediaRule___closure2(n,a.node),!1,D.ModifiableCssStyleRule_2,D.Null),l);case 5:o=3;break;case 4:e=a.node.children,t=e.$ti,e=new A.ListIterator(e,e.get$length(0),t._eval$1("ListIterator<ListBase.E>")),t=t._eval$1("ListBase.E");case 6:if(!e.moveNext$0()){o=7;break}return r=e.__internal$_current,o=8,A._asyncAwait((null==r?t._as(r):r).accept$1(n),l);case 8:o=6;break;case 7:case 3:return A._asyncReturn(null,s)}});return A._asyncStartSync(l,s)},$signature:2},A._EvaluateVisitor_visitCssMediaRule___closure2.prototype={call$0(){var e,t,r,n,i=0,o=A._makeAsyncAwaitCompleter(D.Null),s=this,a=A._wrapJsFunctionForAsync(function(l,c){if(1===l)return A._asyncRethrow(c,o);for(;;)switch(i){case 0:e=s.node.children,t=e.$ti,e=new A.ListIterator(e,e.get$length(0),t._eval$1("ListIterator<ListBase.E>")),r=s.$this,t=t._eval$1("ListBase.E");case 2:if(!e.moveNext$0()){i=3;break}return n=e.__internal$_current,i=4,A._asyncAwait((null==n?t._as(n):n).accept$1(r),a);case 4:i=2;break;case 3:return A._asyncReturn(null,o)}});return A._asyncStartSync(a,o)},$signature:2},A._EvaluateVisitor_visitCssMediaRule_closure14.prototype={call$1(e){var t;return t=e instanceof A.ModifiableCssStyleRule0||(t=this.mergedSources).get$isNotEmpty(t)&&e instanceof A.ModifiableCssMediaRule0&&C.JSArray_methods.every$1(e.queries,t.get$contains(t))},$signature:8},A._EvaluateVisitor_visitCssStyleRule_closure6.prototype={call$0(){var e,t=0,r=A._makeAsyncAwaitCompleter(D.Null),n=this,i=A._wrapJsFunctionForAsync(function(o,s){if(1===o)return A._asyncRethrow(s,r);for(;;)switch(t){case 0:return e=n.$this,t=2,A._asyncAwait(e._async_evaluate0$_withStyleRule$1$2(n.rule,new A._EvaluateVisitor_visitCssStyleRule__closure2(e,n.node),D.Null),i);case 2:return A._asyncReturn(null,r)}});return A._asyncStartSync(i,r)},$signature:2},A._EvaluateVisitor_visitCssStyleRule__closure2.prototype={call$0(){var e,t,r,n,i=0,o=A._makeAsyncAwaitCompleter(D.Null),s=this,a=A._wrapJsFunctionForAsync(function(l,c){if(1===l)return A._asyncRethrow(c,o);for(;;)switch(i){case 0:e=s.node.children,t=e.$ti,e=new A.ListIterator(e,e.get$length(0),t._eval$1("ListIterator<ListBase.E>")),r=s.$this,t=t._eval$1("ListBase.E");case 2:if(!e.moveNext$0()){i=3;break}return n=e.__internal$_current,i=4,A._asyncAwait((null==n?t._as(n):n).accept$1(r),a);case 4:i=2;break;case 3:return A._asyncReturn(null,o)}});return A._asyncStartSync(a,o)},$signature:2},A._EvaluateVisitor_visitCssStyleRule_closure5.prototype={call$1:e=>e instanceof A.ModifiableCssStyleRule0,$signature:8},A._EvaluateVisitor_visitCssSupportsRule_closure8.prototype={call$0(){var e,t,r,n,i=0,o=A._makeAsyncAwaitCompleter(D.Null),s=this,a=A._wrapJsFunctionForAsync(function(l,c){if(1===l)return A._asyncRethrow(c,o);for(;;)switch(i){case 0:e=s.node.children,t=e.$ti,e=new A.ListIterator(e,e.get$length(0),t._eval$1("ListIterator<ListBase.E>")),r=s.$this,t=t._eval$1("ListBase.E");case 2:if(!e.moveNext$0()){i=3;break}return n=e.__internal$_current,i=4,A._asyncAwait((null==n?t._as(n):n).accept$1(r),a);case 4:i=2;break;case 3:return A._asyncReturn(null,o)}});return A._asyncStartSync(a,o)},$signature:2},A._EvaluateVisitor_visitCssSupportsRule_closure9.prototype={call$0(){var e,t,r,n,i,o=0,s=A._makeAsyncAwaitCompleter(D.Null),a=this,l=A._wrapJsFunctionForAsync(function(c,u){if(1===c)return A._asyncRethrow(u,s);for(;;)switch(o){case 0:n=a.$this,i=n._async_evaluate0$_atRootExcludingStyleRule?null:n._async_evaluate0$_styleRuleIgnoringAtRoot,o=null!=i?2:4;break;case 2:return o=5,A._asyncAwait(n._async_evaluate0$_withParent$2$2(A.ModifiableCssStyleRule$0(i._style_rule0$_selector,i.span,!1,i.originalSelector),new A._EvaluateVisitor_visitCssSupportsRule__closure2(n,a.node),D.ModifiableCssStyleRule_2,D.Null),l);case 5:o=3;break;case 4:e=a.node.children,t=e.$ti,e=new A.ListIterator(e,e.get$length(0),t._eval$1("ListIterator<ListBase.E>")),t=t._eval$1("ListBase.E");case 6:if(!e.moveNext$0()){o=7;break}return r=e.__internal$_current,o=8,A._asyncAwait((null==r?t._as(r):r).accept$1(n),l);case 8:o=6;break;case 7:case 3:return A._asyncReturn(null,s)}});return A._asyncStartSync(l,s)},$signature:2},A._EvaluateVisitor_visitCssSupportsRule__closure2.prototype={call$0(){var e,t,r,n,i=0,o=A._makeAsyncAwaitCompleter(D.Null),s=this,a=A._wrapJsFunctionForAsync(function(l,c){if(1===l)return A._asyncRethrow(c,o);for(;;)switch(i){case 0:e=s.node.children,t=e.$ti,e=new A.ListIterator(e,e.get$length(0),t._eval$1("ListIterator<ListBase.E>")),r=s.$this,t=t._eval$1("ListBase.E");case 2:if(!e.moveNext$0()){i=3;break}return n=e.__internal$_current,i=4,A._asyncAwait((null==n?t._as(n):n).accept$1(r),a);case 4:i=2;break;case 3:return A._asyncReturn(null,o)}});return A._asyncStartSync(a,o)},$signature:2},A._EvaluateVisitor_visitCssSupportsRule_closure10.prototype={call$1:e=>e instanceof A.ModifiableCssStyleRule0,$signature:8},A._EvaluateVisitor__performInterpolationHelper_closure2.prototype={call$1(e){return A.InterpolationMap$0(this.interpolation,e)},$signature:220},A._EvaluateVisitor__serialize_closure2.prototype={call$0(){return A.serializeValue0(this.value,!1,this.quote)},$signature:29},A._EvaluateVisitor__expressionNode_closure2.prototype={call$0(){var e=this.expression;return this.$this._async_evaluate0$_environment.getVariableNode$2$namespace(e.name,e.namespace)},$signature:221},A._EvaluateVisitor__withoutSlash_recommendation2.prototype={call$1(e){var t,r,n,i=e.asSlash;return D.Record_2_nullable_Object_and_nullable_Object._is(i)?(t=i._0,r=i._1,n="math.div("+A.S(this.call$1(t))+", "+A.S(this.call$1(r))+")"):n=A.serializeValue0(e,!0,!0),n},$signature:222},A._EvaluateVisitor__stackFrame_closure2.prototype={call$1(e){var t=this.$this._async_evaluate0$_importCache;return null==(t=null==t?null:t.humanize$1(e))?e:t},$signature:49},A._ImportedCssVisitor2.prototype={visitCssAtRule$1(e){var t=e.isChildless?null:new A._ImportedCssVisitor_visitCssAtRule_closure2;this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(e,t)},visitCssComment$1(e){return this._async_evaluate0$_visitor._async_evaluate0$_addChild$1(e)},visitCssDeclaration$1(e){return this._async_evaluate0$_visitor._async_evaluate0$_addChild$1(e)},visitCssImport$1(e){var t,r="_endOfImports",n=this._async_evaluate0$_visitor;n._async_evaluate0$_assertInModule$2(n._async_evaluate0$__parent,"__parent")!==n._async_evaluate0$_assertInModule$2(n._async_evaluate0$__root,"_root")?n._async_evaluate0$_addChild$1(e):n._async_evaluate0$_assertInModule$2(n._async_evaluate0$__endOfImports,r)===w.get$length$asx(n._async_evaluate0$_assertInModule$2(n._async_evaluate0$__root,"_root").children._collection$_source)?(n._async_evaluate0$_addChild$1(e),n._async_evaluate0$__endOfImports=n._async_evaluate0$_assertInModule$2(n._async_evaluate0$__endOfImports,r)+1):(null==(t=n._async_evaluate0$_outOfOrderImports)?n._async_evaluate0$_outOfOrderImports=A._setArrayType([],D.JSArray_ModifiableCssImport_2):t).push(e)},visitCssKeyframeBlock$1(e){},visitCssMediaRule$1(e){var t=this._async_evaluate0$_visitor,r=t._async_evaluate0$_mediaQueries;t._async_evaluate0$_addChild$2$through(e,new A._ImportedCssVisitor_visitCssMediaRule_closure2(null==r||null!=t._async_evaluate0$_mergeMediaQueries$2(r,e.queries)))},visitCssStyleRule$1(e){return this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(e,new A._ImportedCssVisitor_visitCssStyleRule_closure2)},visitCssStylesheet$1(e){var t,r,n;for(r=(t=e.children).$ti,t=new A.ListIterator(t,t.get$length(0),r._eval$1("ListIterator<ListBase.E>")),r=r._eval$1("ListBase.E");t.moveNext$0();)(null==(n=t.__internal$_current)?r._as(n):n).accept$1(this)},visitCssSupportsRule$1(e){return this._async_evaluate0$_visitor._async_evaluate0$_addChild$2$through(e,new A._ImportedCssVisitor_visitCssSupportsRule_closure2)}},A._ImportedCssVisitor_visitCssAtRule_closure2.prototype={call$1:e=>e instanceof A.ModifiableCssStyleRule0,$signature:8},A._ImportedCssVisitor_visitCssMediaRule_closure2.prototype={call$1(e){return e instanceof A.ModifiableCssStyleRule0||this.hasBeenMerged&&e instanceof A.ModifiableCssMediaRule0},$signature:8},A._ImportedCssVisitor_visitCssStyleRule_closure2.prototype={call$1:e=>e instanceof A.ModifiableCssStyleRule0,$signature:8},A._ImportedCssVisitor_visitCssSupportsRule_closure2.prototype={call$1:e=>e instanceof A.ModifiableCssStyleRule0,$signature:8},A._EvaluationContext2.prototype={get$currentCallableSpan(){var e=this._async_evaluate0$_visitor._async_evaluate0$_callableNode;if(null!=e)return e.get$span(e);throw A.wrapException(A.StateError$(P.No_Sasc))},warn$2(e,t,r){var n=this._async_evaluate0$_visitor,i=n._async_evaluate0$_importSpan;null==i&&(i=null==(i=n._async_evaluate0$_callableNode)?null:i.get$span(i)),n._async_evaluate0$_warn$3(t,null==i?this._async_evaluate0$_defaultWarnNodeWithSpan.span:i,r)},$isEvaluationContext0:1},A.JSToDartAsyncFileImporter.prototype={canonicalize$1(e,t){return this.canonicalize$body$JSToDartAsyncFileImporter(0,t)},canonicalize$body$JSToDartAsyncFileImporter(e,t){var r,i,o,s,a=0,l=A._makeAsyncAwaitCompleter(D.nullable_Uri),c=this,u=A._wrapJsFunctionForAsync(function(e,d){if(1===e)return A._asyncRethrow(d,l);for(;;)switch(a){case 0:if("file"===t.get$scheme()){r=I.$get$FilesystemImporter_cwd0().canonicalize$1(0,t),a=1;break}i=A.wrapJSExceptions(new A.JSToDartAsyncFileImporter_canonicalize_closure(c,t)),a=null!=i&&i instanceof n.Promise?3:4;break;case 3:return a=5,A._asyncAwait(A.promiseToFuture0(D.Promise._as(i),D.nullable_Object),u);case 5:i=d;case 4:if(null==i){r=null,a=1;break}o=n.URL,i instanceof o||A.jsThrow(new n.Error(P.The_fie)),"file"!==(s=A.Uri_parse(w.toString$0$(D.JSUrl._as(i)))).get$scheme()&&A.jsThrow(new n.Error(P.The_fiu+t.toString$0(0)+'".')),r=I.$get$FilesystemImporter_cwd0().canonicalize$1(0,s),a=1;break;case 1:return A._asyncReturn(r,l)}});return A._asyncStartSync(u,l)},load$1:(e,t)=>I.$get$FilesystemImporter_cwd0().load$1(0,t),isNonCanonicalScheme$1:e=>"file"!==e},A.JSToDartAsyncFileImporter_canonicalize_closure.prototype={call$0(){return this.$this._findFileUrl.call$2(this.url.toString$0(0),A.canonicalizeContext0())},$signature:36},A.AsyncImportCache0.prototype={canonicalize$4$baseImporter$baseUrl$forImport(e,t,r,n,i){return this.canonicalize$body$AsyncImportCache0(0,t,r,n,i)},canonicalize$body$AsyncImportCache0(e,t,r,n,i){var o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y,$,x,S,w,C,E,I,M,k,T,R=0,L=A._makeAsyncAwaitCompleter(D.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2),N=this,F=A._wrapJsFunctionForAsync(function(e,O){if(1===e)return A._asyncRethrow(O,L);for(;;)switch(R){case 0:if(s=!!A.isBrowser()&&((null==r||r instanceof A.NoOpImporter0)&&0===N._async_import_cache0$_importers.length))throw A.wrapException(P.Customi);R=null!=r&&""===t.get$scheme()?3:4;break;case 3:return null==(a=null==n?null:n.resolveUri$1(t))&&(a=t),l=new A._Record_3_forImport(r,a,i),R=5,A._asyncAwait(A.putIfAbsentAsync0(N._async_import_cache0$_perImporterCanonicalizeCache,l,new A.AsyncImportCache_canonicalize_closure0(N,r,a,n,i,l,t),D.Record_3_AsyncImporter_and_Uri_and_bool_forImport_2,D.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2),F);case 5:if(null!=(c=O)){o=c,R=1;break}case 4:if(l=new A._Record_2_forImport(t,i),(s=N._async_import_cache0$_canonicalizeCache).containsKey$1(l)){o=s.$index(0,l),R=1;break}u=N._async_import_cache0$_importers,d=D.Record_1_nullable_Object,h=N._async_import_cache0$_perImporterCanonicalizeCache,p=D.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2,m=D.Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2,_=!0,g=0;case 6:if(!(g<u.length)){R=8;break}if(f=u[g],v=new A._Record_3_forImport(f,t,i),h.containsKey$1(v)?(b=h.$index(0,v),y=new A._Record_1(null==b?p._as(b):b)):y=null,$=d._is(y),x=null,$?(S=y._0,(b=null!=S)&&(m._as(S),x=S)):(S=null,b=!1),b){o=x,R=1;break}if(b=!!$&&null==S){R=7;break}return R=10,A._asyncAwait(N._async_import_cache0$_canonicalize$4(f,t,n,i),F);case 10:if(C=(w=O)._0,I=null,M=null,b=!1,(E=null!=C)?(x=null==C?m._as(C):C,M=w._1,I=b=M,b=b&&_):x=null,b){s.$indexSet(0,l,x),o=x,R=1;break}if(E?(b=I,k=E):(M=w._1,b=M,k=!0),b=b&&!_){if(h.$indexSet(0,v,C),null!=C){o=C,R=1;break}R=9;break}if(b=!1===(k?M:w._1)){if(_){for(T=0;T<g;++T)h.$indexSet(0,new A._Record_3_forImport(u[T],t,i),null);_=!1}if(null!=C){o=C,R=1;break}}case 9:case 7:++g,R=6;break;case 8:_&&s.$indexSet(0,l,null),o=null,R=1;break;case 1:return A._asyncReturn(o,L)}});return A._asyncStartSync(F,L)},_async_import_cache0$_canonicalize$4(e,t,r,n){return this._canonicalize$body$AsyncImportCache0(e,t,r,n)},_canonicalize$body$AsyncImportCache0(e,t,r,n){var i,o,s,a,l,c,u=0,d=A._makeAsyncAwaitCompleter(D.Record_2_nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_and_bool_2),h=A._wrapJsFunctionForAsync(function(p,m){if(1===p)return A._asyncRethrow(m,d);for(;;)switch(u){case 0:u=null!=r?3:5;break;case 3:u=""!==t.get$scheme()?6:8;break;case 6:return o=A._Future$value(e.isNonCanonicalScheme$1(t.get$scheme()),D.bool),u=9,A._asyncAwait(o,h);case 9:s=o=m,u=7;break;case 8:s=!0;case 7:u=4;break;case 5:s=!1;case 4:return a=new A.CanonicalizeContext0(n,s?r:null),o=D.nullable_Object,o=A.runZoned(new A.AsyncImportCache__canonicalize_closure0(e,t),A.LinkedHashMap_LinkedHashMap$_literal([C.Symbol__canonicalizeContext,a],o,o),D.FutureOr_nullable_Uri),u=10,A._asyncAwait(D.Future_nullable_Uri._is(o)?o:A._Future$value(o,D.nullable_Uri),h);case 10:if(l=m,c=!s||!a._canonicalize_context$_wasContainingUrlAccessed,null==l){i=new A._Record_2(null,c),u=1;break}u=""!==l.get$scheme()?11:13;break;case 11:return o=A._Future$value(e.isNonCanonicalScheme$1(l.get$scheme()),D.bool),u=14,A._asyncAwait(o,h);case 14:o=m,u=12;break;case 13:o=!1;case 12:if(o)throw A.wrapException("Importer "+e.toString$0(0)+" canonicalized "+t.toString$0(0)+" to "+l.toString$0(0)+P.x2c_whicu);i=new A._Record_2(new A._Record_3_originalUrl(e,l,t),c),u=1;break;case 1:return A._asyncReturn(i,d)}});return A._asyncStartSync(h,d)},importCanonical$3$originalUrl(e,t,r){return this.importCanonical$body$AsyncImportCache0(e,t,r)},importCanonical$body$AsyncImportCache0(e,t,r){var n,i=0,o=A._makeAsyncAwaitCompleter(D.nullable_Stylesheet_2),s=this,a=A._wrapJsFunctionForAsync(function(l,c){if(1===l)return A._asyncRethrow(c,o);for(;;)switch(i){case 0:return i=3,A._asyncAwait(A.putIfAbsentAsync0(s._async_import_cache0$_importCache,t,new A.AsyncImportCache_importCanonical_closure0(s,e,t,r),D.Uri,D.nullable_Stylesheet_2),a);case 3:n=c,i=1;break;case 1:return A._asyncReturn(n,o)}});return A._asyncStartSync(a,o)},humanize$1(e){var t=this._async_import_cache0$_canonicalizeCache,r=D.NonNullsIterable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2;return null==(r=A.NullableExtension_andThen0(A.minBy(new A.MappedIterable(new A.WhereIterable(new A.NonNullsIterable(new A.LinkedHashMapValuesIterable(t,A._instanceType(t)._eval$1("LinkedHashMapValuesIterable<2>")),r),new A.AsyncImportCache_humanize_closure3(e),r._eval$1("WhereIterable<Iterable.E>")),new A.AsyncImportCache_humanize_closure4,r._eval$1("MappedIterable<Iterable.E,Uri>")),new A.AsyncImportCache_humanize_closure5),new A.AsyncImportCache_humanize_closure6(e)))?e:r},sourceMapUrl$1(e,t){var r=this._async_import_cache0$_resultsCache.$index(0,t);return null==(r=null==r?null:r.get$sourceMapUrl(0))?t:r}},A.AsyncImportCache_canonicalize_closure0.prototype={call$0(){var e,t,r,n,i,o=0,s=A._makeAsyncAwaitCompleter(D.nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2),a=this,l=A._wrapJsFunctionForAsync(function(c,u){if(1===c)return A._asyncRethrow(u,s);for(;;)switch(o){case 0:return t=a.$this,r=a.baseUrl,o=3,A._asyncAwait(t._async_import_cache0$_canonicalize$4(a.baseImporter,a.resolvedUrl,r,a.forImport),l);case 3:i=(n=u)._0,n._1,null!=r&&t._async_import_cache0$_nonCanonicalRelativeUrls.$indexSet(0,a.key,a.url),e=i,o=1;break;case 1:return A._asyncReturn(e,s)}});return A._asyncStartSync(l,s)},$signature:368},A.AsyncImportCache__canonicalize_closure0.prototype={call$0(){return this.importer.canonicalize$1(0,this.url)},$signature:182},A.AsyncImportCache_importCanonical_closure0.prototype={call$0(){var e,t,r,n,i,o=0,s=A._makeAsyncAwaitCompleter(D.nullable_Stylesheet_2),a=this,l=A._wrapJsFunctionForAsync(function(c,u){if(1===c)return A._asyncRethrow(u,s);for(;;)switch(o){case 0:return t=Date.now(),r=a.canonicalUrl,n=a.importer.load$1(0,r),o=3,A._asyncAwait(D.Future_nullable_ImporterResult._is(n)?n:A._Future$value(n,D.nullable_ImporterResult_2),l);case 3:if(null==(i=u)){e=null,o=1;break}(n=a.$this)._async_import_cache0$_loadTimes.$indexSet(0,r,new A.DateTime(t,0,!1)),n._async_import_cache0$_resultsCache.$indexSet(0,r,i),n=i.contents,t=i.syntax,r=a.originalUrl.resolveUri$1(r),e=A.Stylesheet_Stylesheet$parse0(n,t,!1,r),o=1;break;case 1:return A._asyncReturn(e,s)}});return A._asyncStartSync(l,s)},$signature:369},A.AsyncImportCache_humanize_closure3.prototype={call$1(e){return e._1.$eq(0,this.canonicalUrl)},$signature:370},A.AsyncImportCache_humanize_closure4.prototype={call$1:e=>e._2,$signature:371},A.AsyncImportCache_humanize_closure5.prototype={call$1:e=>e.get$path(e).length,$signature:107},A.AsyncImportCache_humanize_closure6.prototype={call$1(e){var t=I.$get$url(),r=this.canonicalUrl;return e.resolve$1(0,A.ParsedPath_ParsedPath$parse(r.get$path(r),t.style).get$basename())},$signature:49},A.AtRootQueryParser0.prototype={parse$0(e){return this.wrapSpanFormatException$1(new A.AtRootQueryParser_parse_closure0(this))}},A.AtRootQueryParser_parse_closure0.prototype={call$0(){var e,t,r=this.$this,n=r.scanner;n.expectChar$1(40),r.whitespace$1$consumeNewlines(!0),(e=r.scanIdentifier$1("with"))||r.expectIdentifier$2$name("without",'"with" or "without"'),r.whitespace$1$consumeNewlines(!0),n.expectChar$1(58),r.whitespace$1$consumeNewlines(!0),t=A.LinkedHashSet_LinkedHashSet$_empty(D.String);do{t.add$1(0,r.identifier$0().toLowerCase()),r.whitespace$1$consumeNewlines(!0)}while(r.lookingAtIdentifier$0());return n.expectChar$1(41),n.expectDone$0(),new A.AtRootQuery0(e,t,t.contains$1(0,"all"),t.contains$1(0,"rule"))},$signature:372},A.AtRootQuery0.prototype={excludes$1(e){var t=this;return t._at_root_query0$_all?!t.include:e instanceof A.ModifiableCssStyleRule0?t._at_root_query0$_rule!==t.include:e instanceof A.ModifiableCssMediaRule0?t.excludesName$1("media"):e instanceof A.ModifiableCssSupportsRule0?t.excludesName$1("supports"):e instanceof A.ModifiableCssAtRule0&&t.excludesName$1(e.name.value.toLowerCase())},excludesName$1(e){return(this._at_root_query0$_all||this.names.contains$1(0,e))!==this.include}},A.AtRootRule0.prototype={accept$1$1(e){return e.visitAtRootRule$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){var t=new A.StringBuffer("@at-root "),r=this.query;return null!=r&&(t._contents="@at-root "+r.toString$0(0)+" "),t.toString$0(0)+" {"+C.JSArray_methods.join$1(this.children," ")+"}"},get$span(e){return this.span}},A.ModifiableCssAtRule0.prototype={accept$1$1(e){return e.visitCssAtRule$1(this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},equalsIgnoringChildren$1(e){var t,r;return e instanceof A.ModifiableCssAtRule0?(t=this.name,r=e.name,t=t.$ti._is(r)&&w.$eq$(r.value,t.value)&&w.$eq$(this.value,e.value)&&this.isChildless===e.isChildless):t=!1,t},copyWithoutChildren$0(){var e=this;return A.ModifiableCssAtRule$0(e.name,e.span,e.isChildless,e.value)},addChild$1(e){this.super$ModifiableCssParentNode$addChild0(e)},get$isChildless(){return this.isChildless},get$span(e){return this.span}},A.AtRule0.prototype={accept$1$1(e){return e.visitAtRule$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){var t,r="@"+this.name.toString$0(0),n=new A.StringBuffer(r),i=this.value;return null!=i&&(n._contents=r+" "+i.toString$0(0)),null==(t=this.children)?n.toString$0(0)+";":n.toString$0(0)+" {"+C.JSArray_methods.join$1(t," ")+"}"},get$span(e){return this.span}},A.InterpolatedAttributeSelector.prototype={accept$1$1(e){return w.visitAttributeSelector$1$x(e._simple_selector$_inner,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){var t=this,r="["+t.name.toString$0(0),n=t.op;return null!=n&&(r+=n.toString$0(0)+A.S(t.value),null!=(n=t.modifier)&&(r+=" "+n.toString$0(0))),r},get$span(e){return this.span}},A.AttributeSelector0.prototype={accept$1$1(e){return e.visitAttributeSelector$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},$eq(e,t){var r=this;return null!=t&&(t instanceof A.AttributeSelector0&&t.name.$eq(0,r.name)&&t.op==r.op&&t.value==r.value&&t.modifier==r.modifier)},get$hashCode(e){var t=this,r=t.name;return(C.JSString_methods.get$hashCode(r.name)^w.get$hashCode$(r.namespace)^w.get$hashCode$(t.op)^w.get$hashCode$(t.value)^w.get$hashCode$(t.modifier))>>>0}},A.AttributeOperator0.prototype={_enumToString$0(){return"AttributeOperator."+this._name},toString$0(e){return this._attribute0$_text}},A.BinaryOperationExpression0.prototype={get$span(e){for(var t,r=this.left;r instanceof A.BinaryOperationExpression0;)r=r.left;for(t=this.right;t instanceof A.BinaryOperationExpression0;)t=t.right;return r.get$span(r).expand$1(0,t.get$span(t))},get$operatorSpan(){var e,t,r=this.left,n=r.get$span(r);return(n=n.get$file(n))===(t=(e=this.right).get$span(e)).get$file(t)?(n=(n=r.get$span(r)).get$end(n),t=e.get$span(e),n=t=n.offset<t.get$start(t).offset):n=!1,n?(n=(n=r.get$span(r)).get$file(n),r=(r=r.get$span(r)).get$end(r),e=e.get$span(e),r=e=A.SpanExtensions_trimRight0(A.SpanExtensions_trimLeft0(n.span$2(0,r.offset,e.get$start(e).offset)))):r=this.get$span(0),r},accept$1$1(e){return e.visitBinaryOperationExpression$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){var t,r,n,i,o,s=this,a=s.left;return r=(t=a instanceof A.BinaryOperationExpression0?a.operator.precedence<s.operator.precedence:a instanceof A.ListExpression0&&!a.hasBrackets&&a.contents.length>=2)?A.Primitives_stringFromCharCode(40):"",r+=a.toString$0(0),r=(t=t?r+A.Primitives_stringFromCharCode(41):r)+(r=A.Primitives_stringFromCharCode(32))+(n=s.operator).operator+r,t=!1,(i=s.right)instanceof A.BinaryOperationExpression0?(o=i.operator).precedence<=n.precedence&&(t=!(o===n&&o.isAssociative)):i instanceof A.ListExpression0&&!i.hasBrackets&&i.contents.length>=2&&(t=!0),t&&(r+=A.Primitives_stringFromCharCode(40)),r+=i.toString$0(0),(t=t?r+A.Primitives_stringFromCharCode(41):r).charCodeAt(0),t}},A.BinaryOperator0.prototype={_enumToString$0(){return"BinaryOperator."+this._name},toString$0(e){return this.name}},A.BooleanExpression0.prototype={accept$1$1(e){return e.visitBooleanExpression$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return String(this.value)},get$span(e){return this.span}},A.booleanClass_closure.prototype={call$0(){var e=D.JSClass,t=e._as(A.allowInteropCaptureThisNamed("sass.SassBoolean",new A.booleanClass__closure));return A.JSClassExtension_injectSuperclass(e._as(C.SassBoolean_true0.constructor),t),t},$signature:17},A.booleanClass__closure.prototype={call$2(e,t){A.jsThrow(new n.Error("new sass.SassBoolean() isn't allowed.\nUse sass.sassTrue or sass.sassFalse instead."))},call$1(e){return this.call$2(e,null)},"call*":"call$2",$requiredArgCount:1,$defaultValues:()=>[null],$signature:223},A.legacyBooleanClass_closure.prototype={call$0(){var e=D.JSClass,t=e._as(A.allowInteropCaptureThisNamed("sass.types.Boolean",new A.legacyBooleanClass__closure));return w.get$$prototype$x(t).getValue=A.allowInteropCaptureThisNamed("getValue",new A.legacyBooleanClass__closure0),t.TRUE=C.SassBoolean_true0,t.FALSE=C.SassBoolean_false0,A.JSClassExtension_injectSuperclass(e._as(C.SassBoolean_true0.constructor),t),t},$signature:17},A.legacyBooleanClass__closure.prototype={call$2(e,t){throw A.wrapException("new sass.types.Boolean() isn't allowed.\nUse sass.types.Boolean.TRUE or sass.types.Boolean.FALSE instead.")},call$1(e){return this.call$2(e,null)},"call*":"call$2",$requiredArgCount:1,$defaultValues:()=>[null],$signature:224},A.legacyBooleanClass__closure0.prototype={call$1:e=>e===C.SassBoolean_true0,$signature:73},A.SassBoolean0.prototype={get$isTruthy(){return this.value},accept$1$1(e){return e._serialize0$_buffer.write$1(0,String(this.value))},accept$1(e){return this.accept$1$1(e,D.dynamic)},assertBoolean$1(e){return this},unaryNot$0(){return this.value?C.SassBoolean_false0:C.SassBoolean_true0}},A.BooleanOperator0.prototype={_enumToString$0(){return"BooleanOperator."+this._name},toString$0(e){return this._name}},A.Box0.prototype={$eq(e,t){return null!=t&&(this.$ti._is(t)&&t._box0$_inner===this._box0$_inner)},get$hashCode(e){return A.Primitives_objectHashCode(this._box0$_inner)},toString$0(e){return"<box: "+this._box0$_inner.value.toString$0(0)+">"}},A.ModifiableBox0.prototype={toString$0(e){return"<modifiable box: "+this.value.toString$0(0)+">"}},A.BuiltInCallable0.prototype={callbackFor$2(e,t){var r,n,i,o,s,a,l,c,u;for(n=(r=this._built_in$_overloads).length,i=null,o=null,s=0;s<r.length;r.length===n||(0,A.throwConcurrentModificationError)(r),++s){if((l=(a=r[s])._0).matches$2(e,t))return a;if(c=l.parameters.length-e,null!=o){if((l=Math.abs(c))>(u=Math.abs(o)))continue;if(l===u&&c<0)continue}o=c,i=a}if(null!=i)return i;throw A.wrapException(A.StateError$("BuiltInCallable "+this.name+" may not have empty overloads."))},withName$1(e){return new A.BuiltInCallable0(e,this._built_in$_overloads,this.acceptsContent)},withDeprecationWarning$2(e,t){var r,n,i,o,s,a=this,l=A._setArrayType([],D.JSArray_Record_2_ParameterList_and_Value_Function_List_Value_2);for(n=(r=a._built_in$_overloads).length,i=0;i<r.length;r.length===n||(0,A.throwConcurrentModificationError)(r),++i)o={},s=r[i],o.$function=null,o.$function=s._1,l.push(new A._Record_2(s._0,new A.BuiltInCallable_withDeprecationWarning_closure0(o,a,e,t)));return new A.BuiltInCallable0(a.name,l,a.acceptsContent)},withDeprecationWarning$1(e){return this.withDeprecationWarning$2(e,null)},$isAsyncCallable0:1,$isAsyncBuiltInCallable0:1,$isCallable:1,get$name(e){return this.name},get$acceptsContent(){return this.acceptsContent}},A.BuiltInCallable$mixin_closure0.prototype={call$1(e){return this.callback.call$1(e),C.C__SassNull0},$signature:3},A.BuiltInCallable_withDeprecationWarning_closure0.prototype={call$1(e){var t=this,r=t.newName;return null==r&&(r=t.$this.name),A.warnForDeprecation0(P.Global+t.module+"."+r+P.x20inste,C.Deprecation_SGB),t._box_0.$function.call$1(e)},$signature:3},A.BuiltInModule0.prototype={get$upstream:()=>C.List_empty22,get$variableNodes:()=>C.Map_empty13,get$extensionStore:()=>C.C_EmptyExtensionStore0,get$css(e){return new A.CssStylesheet0(C.List_empty20,A.SourceFile$decoded(C.List_empty4,this.url).span$2(0,0,0))},get$preModuleComments:()=>C.Map_empty12,get$transitivelyContainsCss:()=>!1,get$transitivelyContainsExtensions:()=>!1,setVariable$3(e,t,r){if(!this.variables.containsKey$1(e))throw A.wrapException(A.SassScriptException$0("Undefined variable.",null));throw A.wrapException(A.SassScriptException$0("Cannot modify built-in variable.",null))},variableIdentity$1(e){return this},couldHaveBeenConfigured$1:e=>!1,cloneCss$0(){return this},$isModule1:1,get$url(e){return this.url},get$functions(e){return this.functions},get$mixins(){return this.mixins},get$variables(){return this.variables}},A.calculationClass_closure.prototype={call$0(){var e=D.JSClass,t=e._as(A.allowInteropCaptureThisNamed("sass.SassCalculation",new A.calculationClass__closure)),r=D.String,n=D.Function;return A.LinkedHashMap_LinkedHashMap$_literal(["calc",new A.calculationClass__closure0,"min",new A.calculationClass__closure1,"max",new A.calculationClass__closure2,"clamp",new A.calculationClass__closure3],r,n).forEach$1(0,A.JSClassExtension_get_defineStaticMethod(t)),A.LinkedHashMap_LinkedHashMap$_literal(["assertCalculation",new A.calculationClass__closure4],r,n).forEach$1(0,A.JSClassExtension_get_defineMethod(t)),A.LinkedHashMap_LinkedHashMap$_literal(["arguments",new A.calculationClass__closure5],r,n).forEach$1(0,A.JSClassExtension_get_defineGetter(t)),A.JSClassExtension_injectSuperclass(e._as(new A.SassCalculation0("calc",A.List_List$unmodifiable(A._setArrayType([A.SassNumber_SassNumber0(1,null)],D.JSArray_Object),D.Object)).constructor),t),t},$signature:17},A.calculationClass__closure.prototype={call$2(e,t){A.jsThrow0(new n.Error("new sass.SassCalculation() isn't allowed"))},call$1(e){return this.call$2(e,null)},"call*":"call$2",$requiredArgCount:1,$defaultValues:()=>[null],$signature:223},A.calculationClass__closure0.prototype={call$1:e=>(A._assertCalculationValue(e),new A.SassCalculation0("calc",A.List_List$unmodifiable(A._setArrayType([e],D.JSArray_Object),D.Object))),$signature:119},A.calculationClass__closure1.prototype={call$1(e){var t=n.immutable.isOrderedMap(e)?w.toArray$0$x(D.ImmutableList_2._as(e)):D.List_dynamic._as(e),r=D.Object,i=w.cast$1$0$ax(t,r);return i.forEach$1(i,A.calculation1___assertCalculationValue$closure()),new A.SassCalculation0("min",A.List_List$unmodifiable(i,r))},$signature:119},A.calculationClass__closure2.prototype={call$1(e){var t=n.immutable.isOrderedMap(e)?w.toArray$0$x(D.ImmutableList_2._as(e)):D.List_dynamic._as(e),r=D.Object,i=w.cast$1$0$ax(t,r);return i.forEach$1(i,A.calculation1___assertCalculationValue$closure()),new A.SassCalculation0("max",A.List_List$unmodifiable(i,r))},$signature:119},A.calculationClass__closure3.prototype={call$3(e,t,r){var i;return(i=null==t&&!A._isValidClampArg(e)||null==r&&!C.JSArray_methods.any$1([e,t],A.calculation1___isValidClampArg$closure()))&&A.jsThrow0(new n.Error("Expected at least one SassString or CalculationInterpolation in `"+new A.NonNullsIterable([e,t,r],D.NonNullsIterable_Object).toString$0(0)+"`")),i=D.NonNullsIterable_Object,new A.NonNullsIterable([e,t,r],i).forEach$1(0,A.calculation1___assertCalculationValue$closure()),new A.SassCalculation0("clamp",A.List_List$unmodifiable(new A.NonNullsIterable([e,t,r],i),D.Object))},call$1(e){return this.call$3(e,null,null)},call$2(e,t){return this.call$3(e,t,null)},"call*":"call$3",$requiredArgCount:1,$defaultValues:()=>[null,null],$signature:377},A.calculationClass__closure4.prototype={call$2:(e,t)=>e,call$1(e){return this.call$2(e,null)},"call*":"call$2",$requiredArgCount:1,$defaultValues:()=>[null],$signature:378},A.calculationClass__closure5.prototype={call$1:e=>new n.immutable.List(e.$arguments),$signature:379},A.calculationOperationClass_closure.prototype={call$0(){var e=null,t=D.JSClass,r=t._as(A.allowInteropCaptureThisNamed("sass.CalculationOperation",new A.calculationOperationClass__closure)),n=D.String,i=D.Function;return A.LinkedHashMap_LinkedHashMap$_literal(["equals",new A.calculationOperationClass__closure0,"hashCode",new A.calculationOperationClass__closure1],n,i).forEach$1(0,A.JSClassExtension_get_defineMethod(r)),A.LinkedHashMap_LinkedHashMap$_literal(["operator",new A.calculationOperationClass__closure2,"left",new A.calculationOperationClass__closure3,"right",new A.calculationOperationClass__closure4],n,i).forEach$1(0,A.JSClassExtension_get_defineGetter(r)),A.JSClassExtension_injectSuperclass(t._as(A.SassCalculation_operateInternal0(C.CalculationOperator_dpX0,A.SassNumber_SassNumber0(1,e),A.SassNumber_SassNumber0(1,e),e,!1,e).constructor),r),r},$signature:17},A.calculationOperationClass__closure.prototype={call$4(e,t,r,i){var o=A.IterableExtension_firstWhereOrNull(C.List_UqK,new A.calculationOperationClass___closure(t));return null==o&&A.jsThrow0(new n.Error("Invalid operator: "+t)),A._assertCalculationValue(r),A._assertCalculationValue(i),A.SassCalculation_operateInternal0(o,r,i,null,!1,null)},"call*":"call$4",$requiredArgCount:4,$signature:380},A.calculationOperationClass___closure.prototype={call$1(e){return e.operator===this.strOperator},$signature:381},A.calculationOperationClass__closure0.prototype={call$2:(e,t)=>e.$eq(0,t),$signature:382},A.calculationOperationClass__closure1.prototype={call$1:e=>e.get$hashCode(0),$signature:383},A.calculationOperationClass__closure2.prototype={call$1:e=>e._calculation0$_operator.operator,$signature:384},A.calculationOperationClass__closure3.prototype={call$1:e=>e._calculation0$_left,$signature:225},A.calculationOperationClass__closure4.prototype={call$1:e=>e._calculation0$_right,$signature:225},A.calculationInterpolationClass_closure.prototype={call$0(){var e=D.JSClass,t=e._as(A.allowInteropCaptureThisNamed("sass.CalculationInterpolation",new A.calculationInterpolationClass__closure)),r=D.String,n=D.Function;return A.LinkedHashMap_LinkedHashMap$_literal(["equals",new A.calculationInterpolationClass__closure0,"hashCode",new A.calculationInterpolationClass__closure1],r,n).forEach$1(0,A.JSClassExtension_get_defineMethod(t)),A.LinkedHashMap_LinkedHashMap$_literal(["value",new A.calculationInterpolationClass__closure2],r,n).forEach$1(0,A.JSClassExtension_get_defineGetter(t)),A.JSClassExtension_injectSuperclass(e._as(new A.CalculationInterpolation("").constructor),t),t},$signature:17},A.calculationInterpolationClass__closure.prototype={call$2:(e,t)=>new A.CalculationInterpolation(t),$signature:386},A.calculationInterpolationClass__closure0.prototype={call$2:(e,t)=>t instanceof A.CalculationInterpolation&&e._calculation0$_value===t._calculation0$_value,$signature:387},A.calculationInterpolationClass__closure1.prototype={call$1:e=>C.JSString_methods.get$hashCode(e._calculation0$_value),$signature:388},A.calculationInterpolationClass__closure2.prototype={call$1:e=>e._calculation0$_value,$signature:389},A.SassCalculation0.prototype={get$isSpecialNumber:()=>!0,accept$1$1(e){return e.visitCalculation$1(this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},assertCalculation$1(e){return this},plus$1(e){if(e instanceof A.SassString0)return this.super$Value$plus0(e);throw A.wrapException(A.SassScriptException$0('Undefined operation "'+this.toString$0(0)+" + "+e.toString$0(0)+'".',null))},minus$1(e){return A.throwExpression(A.SassScriptException$0('Undefined operation "'+this.toString$0(0)+" - "+e.toString$0(0)+'".',null))},unaryPlus$0(){return A.throwExpression(A.SassScriptException$0('Undefined operation "+'+this.toString$0(0)+'".',null))},unaryMinus$0(){return A.throwExpression(A.SassScriptException$0('Undefined operation "-'+this.toString$0(0)+'".',null))},$eq(e,t){return null!=t&&(t instanceof A.SassCalculation0&&this.name===t.name&&C.C_ListEquality.equals$2(0,this.$arguments,t.$arguments))},get$hashCode(e){return C.JSString_methods.get$hashCode(this.name)^C.C_ListEquality0.hash$1(this.$arguments)}},A.SassCalculation__verifyLength_closure0.prototype={call$1:e=>e instanceof A.SassString0,$signature:73},A.CalculationOperation0.prototype={$eq(e,t){return null!=t&&(t instanceof A.CalculationOperation0&&this._calculation0$_operator===t._calculation0$_operator&&w.$eq$(this._calculation0$_left,t._calculation0$_left)&&w.$eq$(this._calculation0$_right,t._calculation0$_right))},get$hashCode(e){return(A.Primitives_objectHashCode(this._calculation0$_operator)^w.get$hashCode$(this._calculation0$_left)^w.get$hashCode$(this._calculation0$_right))>>>0},toString$0(e){var t=A.serializeValue0(new A.SassCalculation0("",A._setArrayType([this],D.JSArray_Object)),!0,!0);return C.JSString_methods.substring$2(t,1,t.length-1)}},A.CalculationOperator0.prototype={_enumToString$0(){return"CalculationOperator."+this._name},toString$0(e){return this.name}},A.CalculationInterpolation.prototype={$eq(e,t){return null!=t&&(t instanceof A.CalculationInterpolation&&this._calculation0$_value===t._calculation0$_value)},get$hashCode(e){return C.JSString_methods.get$hashCode(this._calculation0$_value)},toString$0(e){return this._calculation0$_value}},A.CallableDeclaration0.prototype={get$span(e){return this.span}},A.updateCanonicalizeContextPrototype_closure.prototype={call$1:e=>e._canonicalize_context$_fromImport,$signature:390},A.updateCanonicalizeContextPrototype_closure0.prototype={call$1:e=>(e._canonicalize_context$_wasContainingUrlAccessed=!0,A.NullableExtension_andThen0(e._canonicalize_context$_containingUrl,A.utils3__dartToJSUrl$closure())),$signature:391},A.CanonicalizeContext0.prototype={withFromImport$1$2(e,t){var r=this._canonicalize_context$_fromImport;this._canonicalize_context$_fromImport=!0;try{return t.call$0()}finally{this._canonicalize_context$_fromImport=r}},withFromImport$2(e,t){return this.withFromImport$1$2(e,t,D.dynamic)}},A.ColorChannel0.prototype={isAnalogous$1(e){var t,r,n,i,o,s=this.name,a=e.name;return(t="red"===s||"x"===s)?(r="red"===a||"x"===a,n=a):(n=null,r=!1),i=!0,r?r=i:((r="green"===s||"y"===s)?(o=!0,t?r=n:(t=o,n=r=a),"green"!==r?(t?r=n:(t=o,n=r=a),r="y"===r):r=!0):r=!1,r?r=i:((r="blue"===s||"z"===s)?(o=!0,t?r=n:(t=o,n=r=a),"blue"!==r?(t?r=n:(t=o,n=r=a),r="z"===r):r=!0):r=!1,r?r=i:((r="chroma"===s||"saturation"===s)?(o=!0,t?r=n:(t=o,n=r=a),"chroma"!==r?(t?r=n:(t=o,n=r=a),r="saturation"===r):r=!0):r=!1,r?r=i:("lightness"===s?(t?r=n:(n=r=a,t=!0),r="lightness"===r):r=!1,r=r?i:"hue"===s&&"hue"===(t?n:a))))),r}},A.LinearChannel0.prototype={},A.Chokidar0.prototype={},A.ChokidarOptions0.prototype={},A.ChokidarWatcher0.prototype={},A.InterpolatedClassSelector.prototype={get$span(e){var t=this.name.span;return t.get$file(t).span$2(0,t.get$start(t).offset-1,t.get$end(t).offset)},accept$1$1(e){return w.visitClassSelector$1$x(e._simple_selector$_inner,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return"."+this.name.toString$0(0)}},A.ClassSelector0.prototype={$eq(e,t){return null!=t&&(t instanceof A.ClassSelector0&&t.name===this.name)},accept$1$1(e){return e.visitClassSelector$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},addSuffix$1(e){return new A.ClassSelector0(this.name+e,this.span)},get$hashCode(e){return C.JSString_methods.get$hashCode(this.name)}},A.ClipGamutMap0.prototype={map$1(e,t){var r=t._color0$_space,n=r._space$_channels;return A.SassColor_SassColor$forSpaceInternal0(r,this._clip$_clampChannel$2(t.channel0OrNull,n[0]),this._clip$_clampChannel$2(t.channel1OrNull,n[1]),this._clip$_clampChannel$2(t.channel2OrNull,n[2]),t.alphaOrNull)},_clip$_clampChannel$2(e,t){var r,n;return null==e?r=null:t instanceof A.LinearChannel0?(n=t.min,r=isNaN(e)?n:C.JSNumber_methods.clamp$2(e,n,t.max)):r=e,r}},A._CloneCssVisitor0.prototype={visitCssAtRule$1(e){var t=e.isChildless,r=A.ModifiableCssAtRule$0(e.name,e.span,t,e.value);return t?r:this._clone_css$_visitChildren$2(r,e)},visitCssComment$1:e=>new A.ModifiableCssComment0(e.text,e.span),visitCssDeclaration$1:e=>A.ModifiableCssDeclaration$0(e.name,e.value,e.span,e.parsedAsSassScript,e.valueSpanForMap),visitCssImport$1:e=>new A.ModifiableCssImport0(e.url,e.modifiers,e.span),visitCssKeyframeBlock$1(e){return this._clone_css$_visitChildren$2(A.ModifiableCssKeyframeBlock$0(e.selector,e.span),e)},visitCssMediaRule$1(e){return this._clone_css$_visitChildren$2(A.ModifiableCssMediaRule$0(e.queries,e.span),e)},visitCssStyleRule$1(e){var t=this._clone_css$_oldToNewSelectors.$index(0,e._style_rule0$_selector._box0$_inner.value);if(null!=t)return this._clone_css$_visitChildren$2(A.ModifiableCssStyleRule$0(t,e.span,!1,e.originalSelector),e);throw A.wrapException(A.StateError$(P.The_Ex))},visitCssStylesheet$1(e){return this._clone_css$_visitChildren$2(A.ModifiableCssStylesheet$0(e.get$span(e)),e)},visitCssSupportsRule$1(e){return this._clone_css$_visitChildren$2(A.ModifiableCssSupportsRule$0(e.condition,e.span),e)},_clone_css$_visitChildren$1$2(e,t){var r,n,i;for(r=w.get$iterator$ax(t.get$children(t));r.moveNext$0();)(i=(n=r.get$current(r)).accept$1(this)).isGroupEnd=n.get$isGroupEnd(),e.addChild$1(i);return e},_clone_css$_visitChildren$2(e,t){return this._clone_css$_visitChildren$1$2(e,t,D.ModifiableCssParentNode_2)}},A.ColorExpression0.prototype={accept$1$1(e){return e.visitColorExpression$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return A.serializeValue0(this.value,!0,!0)},get$span(e){return this.span}},A.global_closure44.prototype={call$1:e=>C.JSNumber_methods.round$0(e._color0$_legacyChannel$2(C.RgbColorSpace_i0P0,"red")),$signature:39},A.global_closure45.prototype={call$1:e=>C.JSNumber_methods.round$0(e._color0$_legacyChannel$2(C.RgbColorSpace_i0P0,"green")),$signature:39},A.global_closure46.prototype={call$1:e=>C.JSNumber_methods.round$0(e._color0$_legacyChannel$2(C.RgbColorSpace_i0P0,"blue")),$signature:39},A.global_closure47.prototype={call$1:e=>A._rgb0("rgb",e),$signature:3},A.global_closure48.prototype={call$1:e=>A._rgb0("rgb",e),$signature:3},A.global_closure49.prototype={call$1:e=>A._rgbTwoArg0("rgb",e),$signature:3},A.global_closure50.prototype={call$1:e=>A._parseChannels0("rgb",w.$index$asx(e,0),"channels",C.RgbColorSpace_i0P0),$signature:3},A.global_closure51.prototype={call$1:e=>A._rgb0("rgba",e),$signature:3},A.global_closure52.prototype={call$1:e=>A._rgb0("rgba",e),$signature:3},A.global_closure53.prototype={call$1:e=>A._rgbTwoArg0("rgba",e),$signature:3},A.global_closure54.prototype={call$1:e=>A._parseChannels0("rgba",w.$index$asx(e,0),"channels",C.RgbColorSpace_i0P0),$signature:3},A.global_closure55.prototype={call$1(e){var t=w.getInterceptor$asx(e);return t.$index(e,0)instanceof A.SassNumber0||t.$index(e,0).get$isSpecialNumber()||A.warnForDeprecation0(P.Globalci,C.Deprecation_SGB),A._invert0(e,!0)},$signature:3},A.global_closure56.prototype={call$1:e=>e._color0$_legacyChannel$2(C.HslColorSpace_JQ20,"hue"),$signature:30},A.global_closure57.prototype={call$1:e=>e._color0$_legacyChannel$2(C.HslColorSpace_JQ20,"saturation"),$signature:30},A.global_closure58.prototype={call$1:e=>e._color0$_legacyChannel$2(C.HslColorSpace_JQ20,"lightness"),$signature:30},A.global_closure59.prototype={call$1:e=>A._hsl0("hsl",e),$signature:3},A.global_closure60.prototype={call$1:e=>A._hsl0("hsl",e),$signature:3},A.global_closure61.prototype={call$1(e){var t=w.getInterceptor$asx(e);if(t.$index(e,0).get$isSpecialVariable()||t.$index(e,1).get$isSpecialVariable())return A._functionString0("hsl",e);throw A.wrapException(A.SassScriptException$0("Missing argument $lightness.",null))},$signature:18},A.global_closure62.prototype={call$1:e=>A._parseChannels0("hsl",w.$index$asx(e,0),"channels",C.HslColorSpace_JQ20),$signature:3},A.global_closure63.prototype={call$1:e=>A._hsl0("hsla",e),$signature:3},A.global_closure64.prototype={call$1:e=>A._hsl0("hsla",e),$signature:3},A.global_closure65.prototype={call$1(e){var t=w.getInterceptor$asx(e);if(t.$index(e,0).get$isSpecialVariable()||t.$index(e,1).get$isSpecialVariable())return A._functionString0("hsla",e);throw A.wrapException(A.SassScriptException$0("Missing argument $lightness.",null))},$signature:18},A.global_closure66.prototype={call$1:e=>A._parseChannels0("hsla",w.$index$asx(e,0),"channels",C.HslColorSpace_JQ20),$signature:3},A.global_closure67.prototype={call$1(e){var t=w.getInterceptor$asx(e);return t.$index(e,0)instanceof A.SassNumber0||t.$index(e,0).get$isSpecialNumber()?A._functionString0("grayscale",e):(A.warnForDeprecation0(P.Globalcg,C.Deprecation_SGB),A._grayscale0(t.$index(e,0)))},$signature:3},A.global_closure68.prototype={call$1(e){var t=w.getInterceptor$asx(e),r=t.$index(e,0).assertColor$1("color"),n=A._angleValue0(t.$index(e,1),"degrees");if(!r._color0$_space.get$isLegacyInternal())throw A.wrapException(A.SassScriptException$0(P.adjusto,null));return A.warnForDeprecation0(P.adjustd+A.serializeValue0(A.SassNumber_SassNumber0(n,"deg"),!1,!0)+P.x29x0a_Mor_,C.Deprecation_hJG),r.changeHsl$1$hue(r._color0$_legacyChannel$2(C.HslColorSpace_JQ20,"hue")+n)},$signature:26},A.global_closure69.prototype={call$1(e){var t,r="lightness",n=w.getInterceptor$asx(e),i=n.$index(e,0).assertColor$1("color"),o=n.$index(e,1).assertNumber$1("amount");if(!i._color0$_space.get$isLegacyInternal())throw A.wrapException(A.SassScriptException$0(P.lighte,null));return n=i._color0$_legacyChannel$2(C.HslColorSpace_JQ20,r)+o.valueInRange$3(0,100,"amount"),t=i.changeHsl$1$lightness(isNaN(n)?0:C.JSNumber_methods.clamp$2(n,0,100)),A.warnForDeprecation0("lighten() is deprecated. "+A._suggestScaleAndAdjust0(i,o._number1$_value,r)+P.x0a_Morex3ac,C.Deprecation_hJG),t},$signature:26},A.global_closure70.prototype={call$1(e){var t,r="lightness",n=w.getInterceptor$asx(e),i=n.$index(e,0).assertColor$1("color"),o=n.$index(e,1).assertNumber$1("amount");if(!i._color0$_space.get$isLegacyInternal())throw A.wrapException(A.SassScriptException$0(P.darken,null));return n=i._color0$_legacyChannel$2(C.HslColorSpace_JQ20,r)-o.valueInRange$3(0,100,"amount"),t=i.changeHsl$1$lightness(isNaN(n)?0:C.JSNumber_methods.clamp$2(n,0,100)),A.warnForDeprecation0("darken() is deprecated. "+A._suggestScaleAndAdjust0(i,-o._number1$_value,r)+P.x0a_Morex3ac,C.Deprecation_hJG),t},$signature:26},A.global_closure71.prototype={call$1(e){var t=w.getInterceptor$asx(e);return t.$index(e,0)instanceof A.SassNumber0||t.$index(e,0).get$isSpecialNumber()?A._functionString0("saturate",e):new A.SassString0("saturate("+A.serializeValue0(t.$index(e,0).assertNumber$1("amount"),!1,!0)+")",!1)},$signature:18},A.global_closure72.prototype={call$1(e){var t,r,n,i,o="saturation";if(A.warnForDeprecation0(P.Globalcad,C.Deprecation_SGB),r=(t=w.getInterceptor$asx(e)).$index(e,0).assertColor$1("color"),n=t.$index(e,1).assertNumber$1("amount"),!r._color0$_space.get$isLegacyInternal())throw A.wrapException(A.SassScriptException$0(P.satura,null));return t=r._color0$_legacyChannel$2(C.HslColorSpace_JQ20,o)+n.valueInRange$3(0,100,"amount"),i=r.changeHsl$1$saturation(isNaN(t)?0:C.JSNumber_methods.clamp$2(t,0,100)),A.warnForDeprecation0("saturate() is deprecated. "+A._suggestScaleAndAdjust0(r,n._number1$_value,o)+P.x0a_Morex3ac,C.Deprecation_hJG),i},$signature:26},A.global_closure73.prototype={call$1(e){var t,r="saturation",n=w.getInterceptor$asx(e),i=n.$index(e,0).assertColor$1("color"),o=n.$index(e,1).assertNumber$1("amount");if(!i._color0$_space.get$isLegacyInternal())throw A.wrapException(A.SassScriptException$0(P.desatu,null));return n=i._color0$_legacyChannel$2(C.HslColorSpace_JQ20,r)-o.valueInRange$3(0,100,"amount"),t=i.changeHsl$1$saturation(isNaN(n)?0:C.JSNumber_methods.clamp$2(n,0,100)),A.warnForDeprecation0("desaturate() is deprecated. "+A._suggestScaleAndAdjust0(i,-o._number1$_value,r)+P.x0a_Morex3ac,C.Deprecation_hJG),t},$signature:26},A.global_closure74.prototype={call$1:e=>A._opacify0("opacify",e),$signature:26},A.global_closure75.prototype={call$1:e=>A._opacify0("fade-in",e),$signature:26},A.global_closure76.prototype={call$1:e=>A._transparentize0("transparentize",e),$signature:26},A.global_closure77.prototype={call$1:e=>A._transparentize0("fade-out",e),$signature:26},A.global_closure78.prototype={call$1(e){var t=w.$index$asx(e,0),r=!1;if(t instanceof A.SassString0&&(t._string0$_hasQuotes||(r=C.JSString_methods.contains$1(t._string0$_text,I.$get$_microsoftFilterStart0()))),r)return A._functionString0("alpha",e);if(t instanceof A.SassColor0&&!t._color0$_space.get$isLegacyInternal())throw A.wrapException(A.SassScriptException$0(P.alpha_,null));return A.warnForDeprecation0(P.Globalcal,C.Deprecation_SGB),r=t.assertColor$1("color").alphaOrNull,A.SassNumber_SassNumber0(null==r?0:r,null)},$signature:3},A.global_closure79.prototype={call$1(e){var t,r=w.$index$asx(e,0).get$asList();if(0!==r.length&&C.JSArray_methods.every$1(r,new A.global__closure0))return A._functionString0("alpha",e);throw 0===(t=r.length)?A.wrapException(A.SassScriptException$0("Missing argument $color.",null)):A.wrapException(A.SassScriptException$0("Only 1 argument allowed, but "+t+" were passed.",null))},$signature:18},A.global__closure0.prototype={call$1:e=>e instanceof A.SassString0&&!e._string0$_hasQuotes&&C.JSString_methods.contains$1(e._string0$_text,I.$get$_microsoftFilterStart0()),$signature:56},A.global_closure80.prototype={call$1(e){var t=w.getInterceptor$asx(e);return t.$index(e,0)instanceof A.SassNumber0||t.$index(e,0).get$isSpecialNumber()?A._functionString0("opacity",e):(A.warnForDeprecation0(P.Globalco,C.Deprecation_SGB),t=t.$index(e,0).assertColor$1("color").alphaOrNull,A.SassNumber_SassNumber0(null==t?0:t,null))},$signature:3},A.global_closure81.prototype={call$1:e=>A._parseChannels0("color",w.$index$asx(e,0),"description",null),$signature:3},A.global_closure82.prototype={call$1:e=>A._parseChannels0("hwb",w.$index$asx(e,0),"channels",C.HwbColorSpace_guQ0),$signature:3},A.global_closure83.prototype={call$1:e=>A._parseChannels0("lab",w.$index$asx(e,0),"channels",C.LabColorSpace_2nT0),$signature:3},A.global_closure84.prototype={call$1:e=>A._parseChannels0("lch",w.$index$asx(e,0),"channels",C.LchColorSpace_Bpv0),$signature:3},A.global_closure85.prototype={call$1:e=>A._parseChannels0("oklab",w.$index$asx(e,0),"channels",C.OklabColorSpace_5400),$signature:3},A.global_closure86.prototype={call$1:e=>A._parseChannels0("oklch",w.$index$asx(e,0),"channels",C.OklchColorSpace_9Gj0),$signature:3},A.module_closure27.prototype={call$1:e=>C.JSNumber_methods.round$0(e._color0$_legacyChannel$2(C.RgbColorSpace_i0P0,"red")),$signature:39},A.module_closure28.prototype={call$1:e=>C.JSNumber_methods.round$0(e._color0$_legacyChannel$2(C.RgbColorSpace_i0P0,"green")),$signature:39},A.module_closure29.prototype={call$1:e=>C.JSNumber_methods.round$0(e._color0$_legacyChannel$2(C.RgbColorSpace_i0P0,"blue")),$signature:39},A.module_closure30.prototype={call$1(e){var t=A._invert0(e,!1);return t instanceof A.SassString0&&A.warnForDeprecation0("Passing a number ("+w.$index$asx(e,0).toString$0(0)+P.x29x20to_cli+t.toString$0(0),C.Deprecation_mqF),t},$signature:3},A.module_closure31.prototype={call$1:e=>e._color0$_legacyChannel$2(C.HslColorSpace_JQ20,"hue"),$signature:30},A.module_closure32.prototype={call$1:e=>e._color0$_legacyChannel$2(C.HslColorSpace_JQ20,"saturation"),$signature:30},A.module_closure33.prototype={call$1:e=>e._color0$_legacyChannel$2(C.HslColorSpace_JQ20,"lightness"),$signature:30},A.module_closure34.prototype={call$1(e){var t,r=w.getInterceptor$asx(e);return r.$index(e,0)instanceof A.SassNumber0?(t=A._functionString0("grayscale",r.take$1(e,1)),A.warnForDeprecation0("Passing a number ("+r.$index(e,0).toString$0(0)+P.x29x20to_clg+t.toString$0(0),C.Deprecation_mqF),t):A._grayscale0(r.$index(e,0))},$signature:3},A.module_closure35.prototype={call$1(e){var t=w.getInterceptor$asx(e),r=D.JSArray_Value_2;return A._parseChannels0("hwb",A.SassList$0(A._setArrayType([A.SassList$0(A._setArrayType([t.$index(e,0),t.$index(e,1),t.$index(e,2)],r),C.ListSeparator_SrV0,!1),t.$index(e,3)],r),C.ListSeparator_Lul0,!1),null,C.HwbColorSpace_guQ0)},$signature:3},A.module_closure36.prototype={call$1:e=>A._parseChannels0("hwb",w.$index$asx(e,0),"channels",C.HwbColorSpace_guQ0),$signature:3},A.module_closure37.prototype={call$1:e=>e._color0$_legacyChannel$2(C.HwbColorSpace_guQ0,"whiteness"),$signature:30},A.module_closure38.prototype={call$1:e=>e._color0$_legacyChannel$2(C.HwbColorSpace_guQ0,"blackness"),$signature:30},A.module_closure39.prototype={call$1(e){var t,r=w.$index$asx(e,0),n=!1;if(r instanceof A.SassString0&&(r._string0$_hasQuotes||(n=C.JSString_methods.contains$1(r._string0$_text,I.$get$_microsoftFilterStart0()))),n)return t=A._functionString0("alpha",e),A.warnForDeprecation0(P.Using_c+t.toString$0(0),C.Deprecation_mqF),t;if(r instanceof A.SassColor0&&!r._color0$_space.get$isLegacyInternal())throw A.wrapException(A.SassScriptException$0(P.color_a,null));return n=r.assertColor$1("color").alphaOrNull,A.SassNumber_SassNumber0(null==n?0:n,null)},$signature:3},A.module_closure40.prototype={call$1(e){var t,r=w.getInterceptor$asx(e);if(C.JSArray_methods.every$1(r.$index(e,0).get$asList(),new A.module__closure6))return t=A._functionString0("alpha",e),A.warnForDeprecation0(P.Using_c+t.toString$0(0),C.Deprecation_mqF),t;throw A.wrapException(A.SassScriptException$0("Only 1 argument allowed, but "+r.get$length(e)+" were passed.",null))},$signature:18},A.module__closure6.prototype={call$1:e=>e instanceof A.SassString0&&!e._string0$_hasQuotes&&C.JSString_methods.contains$1(e._string0$_text,I.$get$_microsoftFilterStart0()),$signature:56},A.module_closure41.prototype={call$1(e){var t,r=w.getInterceptor$asx(e);return r.$index(e,0)instanceof A.SassNumber0?(t=A._functionString0("opacity",e),A.warnForDeprecation0("Passing a number ("+r.$index(e,0).toString$0(0)+P.x20to_co+t.toString$0(0),C.Deprecation_mqF),t):(r=r.$index(e,0).assertColor$1("color").alphaOrNull,A.SassNumber_SassNumber0(null==r?0:r,null))},$signature:3},A.module_closure42.prototype={call$1:e=>new A.SassString0(w.get$first$ax(e).assertColor$1("color")._color0$_space.name,!1),$signature:18},A.module_closure43.prototype={call$1(e){var t=w.getInterceptor$asx(e);return A._colorInSpace0(t.$index(e,0),t.$index(e,1),!1)},$signature:26},A.module_closure44.prototype={call$1:e=>w.$index$asx(e,0).assertColor$1("color")._color0$_space.get$isLegacyInternal()?C.SassBoolean_true0:C.SassBoolean_false0,$signature:13},A.module_closure45.prototype={call$1(e){var t=w.getInterceptor$asx(e);return t.$index(e,0).assertColor$1("color").isChannelMissing$3$channelName$colorName(A._channelName0(t.$index(e,1)),"channel","color")?C.SassBoolean_true0:C.SassBoolean_false0},$signature:13},A.module_closure46.prototype={call$1(e){var t=w.getInterceptor$asx(e);return A._colorInSpace0(t.$index(e,0),t.$index(e,1),!0).get$isInGamut()?C.SassBoolean_true0:C.SassBoolean_false0},$signature:13},A.module_closure47.prototype={call$1(e){var t,r,n="space",i="method",o=w.getInterceptor$asx(e),s=o.$index(e,0).assertColor$1("color"),a=o.$index(e,1);if(a.$eq(0,C.C__SassNull0)?t=s._color0$_space:((a=a.assertString$1(n)).assertUnquoted$1(n),t=A.ColorSpace_fromName0(a._string0$_text,n)),o.$index(e,2).$eq(0,C.C__SassNull0))throw A.wrapException(A.SassScriptException$0(P.color_t,i));return(o=o.$index(e,2).assertString$1(i)).assertUnquoted$1(i),r=A.GamutMapMethod_GamutMapMethod$fromName0(o._string0$_text),t.get$isBoundedInternal()?(o=(o=s.toSpace$1(t)).get$isInGamut()?o:r.map$1(0,o)).toSpace$2$legacyMissing(s._color0$_space,!1):s},$signature:26},A.module_closure48.prototype={call$1(e){var t,r,n,i,o=w.getInterceptor$asx(e),s=A._colorInSpace0(o.$index(e,0),o.$index(e,2),!0),a=A._channelName0(o.$index(e,1));if("alpha"===a)return o=s.alphaOrNull,A.SassNumber_SassNumber0(null==o?0:o,null);if(o=s._color0$_space._space$_channels,-1===(t=C.JSArray_methods.indexWhere$1(o,new A.module__closure5(a))))throw A.wrapException(A.SassScriptException$0("Color "+s.toString$0(0)+" has no channel named "+a+".","channel"));return r=o[t],n=s.get$channels()[t],i=r.associatedUnit,A.SassNumber_SassNumber0("%"===i?100*n/D.LinearChannel_2._as(r).max:n,i)},$signature:25},A.module__closure5.prototype={call$1(e){return e.name===this.channelName},$signature:67},A.module_closure49.prototype={call$1(e){var t,r,n=w.getInterceptor$asx(e),i=n.$index(e,0).assertColor$1("color1"),o=n.$index(e,1).assertColor$1("color2");return n=new A.module_closure_toXyzNoMissing0,i._color0$_space===o._color0$_space?(t=!1,null==(n=i.channel0OrNull)&&(n=0),r=o.channel0OrNull,A.fuzzyEquals0(n,null==r?0:r)?(null==(n=i.channel1OrNull)&&(n=0),r=o.channel1OrNull,A.fuzzyEquals0(n,null==r?0:r)?(null==(n=i.channel2OrNull)&&(n=0),r=o.channel2OrNull,A.fuzzyEquals0(n,null==r?0:r)?(null==(n=i.alphaOrNull)&&(n=0),t=o.alphaOrNull,n=A.fuzzyEquals0(n,null==t?0:t)):n=t):n=t):n=t):n=w.$eq$(n.call$1(i),n.call$1(o)),n?C.SassBoolean_true0:C.SassBoolean_false0},$signature:13},A.module_closure_toXyzNoMissing0.prototype={call$1(e){var t,r,n,i,o,s,a,l,c,u,d;return t=e._color0$_space,(n=!!(n=r=C.XyzD65ColorSpace_WiJ0===t)&&!(null==e.channel0OrNull||null==e.channel1OrNull||null==e.channel2OrNull||null==e.alphaOrNull))?n=e:r?(null==(i=e.channel0OrNull)&&(i=0),o=i,null==(s=e.channel1OrNull)&&(s=0),a=s,null==(l=e.channel2OrNull)&&(l=0),c=l,null==(u=e.alphaOrNull)&&(u=0),d=u,n=A.SassColor$_forSpace0(C.XyzD65ColorSpace_WiJ0,o,a,c,d,null)):(null==(i=e.channel0OrNull)&&(i=0),o=i,null==(s=e.channel1OrNull)&&(s=0),a=s,null==(l=e.channel2OrNull)&&(l=0),c=l,null==(u=e.alphaOrNull)&&(u=0),d=u,n=t.convert$5(C.XyzD65ColorSpace_WiJ0,o,a,c,d)),n},$signature:399},A.module_closure50.prototype={call$1(e){var t=w.getInterceptor$asx(e);return A._colorInSpace0(t.$index(e,0),t.$index(e,2),!0).isChannelPowerless$3$channelName$colorName(A._channelName0(t.$index(e,1)),"channel","color")?C.SassBoolean_true0:C.SassBoolean_false0},$signature:13},A._mix_closure0.prototype={call$1(e){var t="weight",r=P.To_usem,n=", you must provide a $method.",i=w.getInterceptor$asx(e),o=i.$index(e,0).assertColor$1("color1"),s=i.$index(e,1).assertColor$1("color2"),a=i.$index(e,2).assertNumber$1(t);if(!i.$index(e,3).$eq(0,C.C__SassNull0))return o.interpolate$4$legacyMissing$weight(s,A.InterpolationMethod_InterpolationMethod$fromValue0(i.$index(e,3),"method"),!1,a.valueInRangeWithUnit$4(0,100,t,"%")/100);if(A._checkPercent0(a,t),!o._color0$_space.get$isLegacyInternal())throw A.wrapException(A.SassScriptException$0(r+o.toString$0(0)+n,"color1"));if(!s._color0$_space.get$isLegacyInternal())throw A.wrapException(A.SassScriptException$0(r+s.toString$0(0)+n,"color2"));return A._mixLegacy0(o,s,a)},$signature:26},A._complement_closure0.prototype={call$1(e){var t,r,n,i,o,s,a="space",l=w.getInterceptor$asx(e),c=l.$index(e,0).assertColor$1("color"),u=c._color0$_space;if(u.get$isLegacyInternal()&&l.$index(e,1).$eq(0,C.C__SassNull0)?t=C.HslColorSpace_JQ20:((r=l.$index(e,1).assertString$1(a)).assertUnquoted$1(a),t=A.ColorSpace_fromName0(r._string0$_text,a)),!t.get$isPolarInternal())throw A.wrapException(A.SassScriptException$0("Color space "+t.toString$0(0)+" doesn't have a hue channel.",a));return n=c.toSpace$2$legacyMissing(t,!l.$index(e,1).$eq(0,C.C__SassNull0)),l=t._space$_channels,r=n.channel0OrNull,i=n.channel1OrNull,o=n.channel2OrNull,s=n.alphaOrNull,(t.get$isLegacyInternal()?A.SassColor_SassColor$forSpaceInternal0(t,A._adjustChannel0(n,l[0],r,A.SassNumber_SassNumber0(180,null)),i,o,s):A.SassColor_SassColor$forSpaceInternal0(t,r,i,A._adjustChannel0(n,l[2],o,A.SassNumber_SassNumber0(180,null)),s)).toSpace$2$legacyMissing(u,!1)},$signature:26},A._adjust_closure0.prototype={call$1:e=>A._updateComponents0(e,!0,!1,!1),$signature:26},A._scale_closure0.prototype={call$1:e=>A._updateComponents0(e,!1,!1,!0),$signature:26},A._change_closure0.prototype={call$1:e=>A._updateComponents0(e,!1,!0,!1),$signature:26},A._ieHexStr_closure0.prototype={call$1(e){var t,r,n,i,o,s=w.$index$asx(e,0).assertColor$1("color").toSpace$1(C.RgbColorSpace_i0P0);return s=s.get$isInGamut()?s:C.LocalMindeGamutMap_A2x0.map$1(0,s),t=new A._ieHexStr_closure_hexString0,r=s.alphaOrNull,r=A.S(t.call$1(255*(null==r?0:r))),n=s.channel0OrNull,n=A.S(t.call$1(null==n?0:n)),i=s.channel1OrNull,i=A.S(t.call$1(null==i?0:i)),o=s.channel2OrNull,new A.SassString0("#"+r+n+i+A.S(t.call$1(null==o?0:o)),!1)},$signature:18},A._ieHexStr_closure_hexString0.prototype={call$1:e=>C.JSString_methods.padLeft$2(C.JSInt_methods.toRadixString$1(A.fuzzyRound0(e),16),2,"0").toUpperCase(),$signature:275},A._updateComponents_closure1.prototype={call$1(e){return this.originalColor.toSpace$2$legacyMissing(e,!1)},$signature:400},A._updateComponents_closure2.prototype={call$1(e){return this._box_0.name===e.name},$signature:67},A._changeColor_closure0.prototype={call$0(){var e=this.alphaArg;return A.warnForDeprecation0("$alpha: Passing a unit other than % ("+e.toString$0(0)+P.x29x20is_d_+e.unitSuggestion$1("alpha")+P.x0a_See_,C.Deprecation_PHd),e.valueInRange$3(0,1,"alpha")},$signature:240},A._adjustColor_closure0.prototype={call$1:e=>isNaN(e)?0:C.JSNumber_methods.clamp$2(e,0,1),$signature:12},A._functionString_closure0.prototype={call$1:e=>A.serializeValue0(e,!1,!0),$signature:228},A._removedColorFunction_closure0.prototype={call$1(e){var t=this.name,r=w.getInterceptor$asx(e),n=r.$index(e,0).toString$0(0),i=this.negative?"-":"";throw A.wrapException(A.SassScriptException$0("The function "+t+P.x28__isn+n+", $"+this.argument+": "+i+r.$index(e,1).toString$0(0)+P.x29x0a_Moro+t,null))},$signature:402},A._rgb_closure0.prototype={call$1(e){var t=A._percentageOrUnitless0(e.assertNumber$1("alpha"),1,"alpha");return isNaN(t)?0:C.JSNumber_methods.clamp$2(t,0,1)},$signature:229},A._hsl_closure0.prototype={call$1(e){var t=A._percentageOrUnitless0(e.assertNumber$1("alpha"),1,"alpha");return isNaN(t)?0:C.JSNumber_methods.clamp$2(t,0,1)},$signature:229},A._parseChannels_closure1.prototype={call$1:e=>e+" channel",$signature:6},A._parseChannels_closure2.prototype={call$1:e=>e.get$isSpecialNumber(),$signature:56},A._colorFromChannels_closure1.prototype={call$1:e=>A._angleValue0(e,"hue"),$signature:100},A._colorFromChannels_closure2.prototype={call$1:e=>A._angleValue0(e,"hue"),$signature:100},A._channelFromValue_closure0.prototype={call$1(e){var t,r,n,i,o,s,a,l=this.channel;return(t=l instanceof A.LinearChannel0)&&l.requiresPercent&&!e.hasUnit$1("%")&&A.throwExpression(A.SassScriptException$0("Expected "+e.toString$0(0)+' to have unit "%".',l.name)),r=null,n=!1,t?(o=!(i=l.lowerClamped))&&(n=!(r=l.upperClamped)):(i=null,o=!1),n?t=A._percentageOrUnitless0(e,l.max,l.name):!t||this.clamp?t?(s=o?r:l.upperClamped,t=l.max,n=A._percentageOrUnitless0(e,t,l.name),a=i?l.min:-1/0,t=s?t:1/0,t=isNaN(n)?a:C.JSNumber_methods.clamp$2(n,a,t)):t=C.JSNumber_methods.$mod(e.coerceValueToUnit$2("deg",l.name),360):t=A._percentageOrUnitless0(e,l.max,l.name),t},$signature:100},A._channelFunction_closure0.prototype={call$1(e){var t=this,r=A.SassNumber_SassNumber0(t.getter.call$1(w.get$first$ax(e).assertColor$1("color")),t.unit),n=t.global?"":"color.",i=t.name;return A.warnForDeprecation0(n+i+P.x28__is_d+i+'", $space: '+t.space.toString$0(0)+P.x29x0a_Mor_,C.Deprecation_hJG),r},$signature:25},A._suggestScaleAndAdjust_closure0.prototype={call$1(e){return e.name===this.channelName},$signature:67},A.colorClass_closure.prototype={call$0(){var e=D.JSClass,t=e._as(A.allowInteropCaptureThisNamed("sass.SassColor",new A.colorClass__closure)),r=D.String,n=D.Function;return A.LinkedHashMap_LinkedHashMap$_literal(["equals",new A.colorClass__closure0,"hashCode",new A.colorClass__closure1,"toSpace",new A.colorClass__closure2,"isInGamut",new A.colorClass__closure3,"toGamut",new A.colorClass__closure4,"channel",new A.colorClass__closure5,"isChannelMissing",new A.colorClass__closure6,"isChannelPowerless",new A.colorClass__closure7,"change",new A.colorClass__closure8,"interpolate",new A.colorClass__closure9],r,n).forEach$1(0,A.JSClassExtension_get_defineMethod(t)),A.LinkedHashMap_LinkedHashMap$_literal(["red",new A.colorClass__closure10,"green",new A.colorClass__closure11,"blue",new A.colorClass__closure12,"hue",new A.colorClass__closure13,"saturation",new A.colorClass__closure14,"lightness",new A.colorClass__closure15,"whiteness",new A.colorClass__closure16,"blackness",new A.colorClass__closure17,"alpha",new A.colorClass__closure18,"space",new A.colorClass__closure19,"isLegacy",new A.colorClass__closure20,"channelsOrNull",new A.colorClass__closure21,"channels",new A.colorClass__closure22],r,n).forEach$1(0,A.JSClassExtension_get_defineGetter(t)),A.JSClassExtension_injectSuperclass(e._as(A.SassColor_SassColor$rgbInternal0(0,0,0,1,null).constructor),t),t},$signature:17},A.colorClass__closure.prototype={call$2(e,t){var r,n,i,o,s=null;switch(A._constructionSpace(t)){case C.RgbColorSpace_i0P0:return A._checkNullAlphaDeprecation(t),n=(r=w.getInterceptor$x(t)).get$red(t),i=r.get$green(t),o=r.get$blue(t),r=r.get$alpha(t),A.SassColor_SassColor$rgbInternal0(n,i,o,A._asBool(I.$get$_isUndefined().call$1(r))?1:r,s);case C.HslColorSpace_JQ20:return A._checkNullAlphaDeprecation(t),n=(r=w.getInterceptor$x(t)).get$hue(t),i=r.get$saturation(t),o=r.get$lightness(t),r=r.get$alpha(t),A.SassColor_SassColor$hsl0(n,i,o,A._asBool(I.$get$_isUndefined().call$1(r))?1:r);case C.HwbColorSpace_guQ0:return A._checkNullAlphaDeprecation(t),n=(r=w.getInterceptor$x(t)).get$hue(t),i=r.get$whiteness(t),o=r.get$blackness(t),r=r.get$alpha(t),A.SassColor_SassColor$hwb0(n,i,o,A._asBool(I.$get$_isUndefined().call$1(r))?1:r);case C.LabColorSpace_2nT0:return n=(r=w.getInterceptor$x(t)).get$lightness(t),i=r.get$a(t),o=r.get$b(t),r=r.get$alpha(t),A.SassColor$_forSpace0(C.LabColorSpace_2nT0,n,i,o,A._asBool(I.$get$_isUndefined().call$1(r))?1:r,s);case C.OklabColorSpace_5400:return n=(r=w.getInterceptor$x(t)).get$lightness(t),i=r.get$a(t),o=r.get$b(t),r=r.get$alpha(t),A.SassColor$_forSpace0(C.OklabColorSpace_5400,n,i,o,A._asBool(I.$get$_isUndefined().call$1(r))?1:r,s);case C.LchColorSpace_Bpv0:return n=(r=w.getInterceptor$x(t)).get$lightness(t),i=r.get$chroma(t),o=r.get$hue(t),r=r.get$alpha(t),A.SassColor_SassColor$forSpaceInternal0(C.LchColorSpace_Bpv0,n,i,o,A._asBool(I.$get$_isUndefined().call$1(r))?1:r);case C.OklchColorSpace_9Gj0:return n=(r=w.getInterceptor$x(t)).get$lightness(t),i=r.get$chroma(t),o=r.get$hue(t),r=r.get$alpha(t),A.SassColor_SassColor$forSpaceInternal0(C.OklchColorSpace_9Gj0,n,i,o,A._asBool(I.$get$_isUndefined().call$1(r))?1:r);case C.SrgbColorSpace_thf0:return n=(r=w.getInterceptor$x(t)).get$red(t),i=r.get$green(t),o=r.get$blue(t),r=r.get$alpha(t),A.SassColor$_forSpace0(C.SrgbColorSpace_thf0,n,i,o,A._asBool(I.$get$_isUndefined().call$1(r))?1:r,s);case C.SrgbLinearColorSpace_kUj0:return n=(r=w.getInterceptor$x(t)).get$red(t),i=r.get$green(t),o=r.get$blue(t),r=r.get$alpha(t),A.SassColor$_forSpace0(C.SrgbLinearColorSpace_kUj0,n,i,o,A._asBool(I.$get$_isUndefined().call$1(r))?1:r,s);case C.DisplayP3ColorSpace_MmT0:return n=(r=w.getInterceptor$x(t)).get$red(t),i=r.get$green(t),o=r.get$blue(t),r=r.get$alpha(t),A.SassColor$_forSpace0(C.DisplayP3ColorSpace_MmT0,n,i,o,A._asBool(I.$get$_isUndefined().call$1(r))?1:r,s);case C.DisplayP3LinearColorSpace_PrP0:return n=(r=w.getInterceptor$x(t)).get$red(t),i=r.get$green(t),o=r.get$blue(t),r=r.get$alpha(t),A.SassColor$_forSpace0(C.DisplayP3LinearColorSpace_PrP0,n,i,o,A._asBool(I.$get$_isUndefined().call$1(r))?1:r,s);case C.A98RgbColorSpace_lf20:return n=(r=w.getInterceptor$x(t)).get$red(t),i=r.get$green(t),o=r.get$blue(t),r=r.get$alpha(t),A.SassColor$_forSpace0(C.A98RgbColorSpace_lf20,n,i,o,A._asBool(I.$get$_isUndefined().call$1(r))?1:r,s);case C.ProphotoRgbColorSpace_BDz0:return n=(r=w.getInterceptor$x(t)).get$red(t),i=r.get$green(t),o=r.get$blue(t),r=r.get$alpha(t),A.SassColor$_forSpace0(C.ProphotoRgbColorSpace_BDz0,n,i,o,A._asBool(I.$get$_isUndefined().call$1(r))?1:r,s);case C.Rec2020ColorSpace_6oo0:return n=(r=w.getInterceptor$x(t)).get$red(t),i=r.get$green(t),o=r.get$blue(t),r=r.get$alpha(t),A.SassColor$_forSpace0(C.Rec2020ColorSpace_6oo0,n,i,o,A._asBool(I.$get$_isUndefined().call$1(r))?1:r,s);case C.XyzD50ColorSpace_2OB0:return n=(r=w.getInterceptor$x(t)).get$x(t),i=r.get$y(t),o=r.get$z(t),r=r.get$alpha(t),A.SassColor$_forSpace0(C.XyzD50ColorSpace_2OB0,n,i,o,A._asBool(I.$get$_isUndefined().call$1(r))?1:r,s);case C.XyzD65ColorSpace_WiJ0:return n=(r=w.getInterceptor$x(t)).get$x(t),i=r.get$y(t),o=r.get$z(t),r=r.get$alpha(t),A.SassColor$_forSpace0(C.XyzD65ColorSpace_WiJ0,n,i,o,A._asBool(I.$get$_isUndefined().call$1(r))?1:r,s);default:throw A.wrapException("Unreachable")}},$signature:405},A.colorClass__closure0.prototype={call$2:(e,t)=>e.$eq(0,t),$signature:406},A.colorClass__closure1.prototype={call$1:e=>e.get$hashCode(0),$signature:39},A.colorClass__closure2.prototype={call$2:(e,t)=>A._toSpace(e,t),$signature:407},A.colorClass__closure3.prototype={call$2:(e,t)=>A._toSpace(e,t).get$isInGamut(),call$1(e){return this.call$2(e,null)},"call*":"call$2",$requiredArgCount:1,$defaultValues:()=>[null],$signature:408},A.colorClass__closure4.prototype={call$2(e,t){var r=w.getInterceptor$x(t),n=A._toSpace(e,r.get$space(t));return r=A.GamutMapMethod_GamutMapMethod$fromName0(r.get$method(t)),(r=n.get$isInGamut()?n:r.map$1(0,n)).toSpace$1(e._color0$_space)},$signature:409},A.colorClass__closure5.prototype={call$3:(e,t,r)=>A._toSpace(e,null==r?null:w.get$space$x(r)).channel$1(0,t),call$2(e,t){return this.call$3(e,t,null)},"call*":"call$3",$requiredArgCount:2,$defaultValues:()=>[null],$signature:410},A.colorClass__closure6.prototype={call$2:(e,t)=>e.isChannelMissing$1(t),$signature:411},A.colorClass__closure7.prototype={call$3:(e,t,r)=>A._toSpace(e,null==r?null:w.get$space$x(r)).isChannelPowerless$1(t),call$2(e,t){return this.call$3(e,t,null)},"call*":"call$3",$requiredArgCount:2,$defaultValues:()=>[null],$signature:412},A.colorClass__closure8.prototype={call$2(e,t){var r,i,o,s,a,l,c,u,d,h,p,m=null,_="whiteness",g="blackness",f="hue",v="saturation",b="lightness",y="red",$="green",x="blue",S="alpha",E=P.Passin_,M="Passing `hue: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/color-4-api",k=w.getInterceptor$x(t),T=null==k.get$space(t),R=!T;R?((r=k.get$space(t)).toString,i=A.ColorSpace_fromName0(r,m)):i=e._color0$_space,(r=e._color0$_space).get$isLegacyInternal()&&T&&("whiteness"in t||"blackness"in t||"hue"in t&&r===C.HwbColorSpace_guQ0?i=C.HwbColorSpace_guQ0:"hue"in t||"saturation"in t||"lightness"in t?i=C.HslColorSpace_JQ20:("red"in t||"green"in t||"blue"in t)&&(i=C.RgbColorSpace_i0P0),i!==r&&A.warnForDeprecationFromApi("Changing a channel not in this color's space without explicitly specifying the `space` option is deprecated.\nMore info: https://sass-lang.com/d/color-4-api",C.Deprecation_alT));for(T=w.get$iterator$ax(n.Object.keys(t)),o=i._space$_channels,s=D.JSArray_String;T.moveNext$0();)a=T.get$current(T),C.JSArray_methods.contains$1(A._setArrayType(["alpha","space"],s),a)||C.JSArray_methods.any$1(o,new A.colorClass___closure(a))||A.jsThrow(new n.Error("`"+a+"` is not a valid channel in `"+i.toString$0(0)+"`."));if(l=e.toSpace$1(i),c=new A.colorClass__closure_changedValue(l,t),(u=C.HslColorSpace_JQ20===i)&&R)d=A.SassColor_SassColor$hsl0(c.call$1(f),c.call$1(v),c.call$1(b),c.call$1(S));else if(u)T=k.get$hue(t),o=I.$get$_isNull(),A._asBool(o.call$1(T))?A.warnForDeprecationFromApi(M,C.Deprecation_alT):A._asBool(o.call$1(k.get$saturation(t)))?A.warnForDeprecationFromApi("Passing `saturation: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/color-4-api",C.Deprecation_alT):A._asBool(o.call$1(k.get$lightness(t)))&&A.warnForDeprecationFromApi("Passing `lightness: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/color-4-api",C.Deprecation_alT),A._asBool(o.call$1(k.get$alpha(t)))&&A.warnForDeprecationFromApi(E,C.Deprecation_ox0),null==(T=k.get$hue(t))&&(T=l.channel$1(0,f)),null==(o=k.get$saturation(t))&&(o=l.channel$1(0,v)),null==(s=k.get$lightness(t))&&(s=l.channel$1(0,b)),k=k.get$alpha(t),d=A.SassColor_SassColor$hsl0(T,o,s,null==k?l.channel$1(0,S):k);else if((h=C.HwbColorSpace_guQ0===i)&&R)d=A.SassColor_SassColor$hwb0(c.call$1(f),c.call$1(_),c.call$1(g),c.call$1(S));else if(h)T=k.get$hue(t),o=I.$get$_isNull(),A._asBool(o.call$1(T))?A.warnForDeprecationFromApi(M,C.Deprecation_alT):A._asBool(o.call$1(k.get$whiteness(t)))?A.warnForDeprecationFromApi("Passing `whiteness: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/color-4-api",C.Deprecation_alT):A._asBool(o.call$1(k.get$blackness(t)))&&A.warnForDeprecationFromApi("Passing `blackness: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/color-4-api",C.Deprecation_alT),A._asBool(o.call$1(k.get$alpha(t)))&&A.warnForDeprecationFromApi(E,C.Deprecation_ox0),null==(T=k.get$hue(t))&&(T=l.channel$1(0,f)),null==(o=k.get$whiteness(t))&&(o=l.channel$1(0,_)),null==(s=k.get$blackness(t))&&(s=l.channel$1(0,g)),k=k.get$alpha(t),d=A.SassColor_SassColor$hwb0(T,o,s,null==k?l.channel$1(0,S):k);else if((p=C.RgbColorSpace_i0P0===i)&&R)d=A.SassColor_SassColor$rgbInternal0(c.call$1(y),c.call$1($),c.call$1(x),c.call$1(S),m);else if(p)T=k.get$red(t),o=I.$get$_isNull(),A._asBool(o.call$1(T))?A.warnForDeprecationFromApi("Passing `red: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/color-4-api",C.Deprecation_alT):A._asBool(o.call$1(k.get$green(t)))?A.warnForDeprecationFromApi("Passing `green: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/color-4-api",C.Deprecation_alT):A._asBool(o.call$1(k.get$blue(t)))&&A.warnForDeprecationFromApi("Passing `blue: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/color-4-api",C.Deprecation_alT),A._asBool(o.call$1(k.get$alpha(t)))&&A.warnForDeprecationFromApi(E,C.Deprecation_ox0),null==(T=k.get$red(t))&&(T=l.channel$1(0,y)),null==(o=k.get$green(t))&&(o=l.channel$1(0,$)),null==(s=k.get$blue(t))&&(s=l.channel$1(0,x)),k=k.get$alpha(t),d=A.SassColor_SassColor$rgbInternal0(T,o,s,null==k?l.channel$1(0,S):k,m);else if(C.LabColorSpace_2nT0!==i)if(C.OklabColorSpace_5400!==i)if(C.LchColorSpace_Bpv0!==i)if(C.OklchColorSpace_9Gj0!==i)if(C.A98RgbColorSpace_lf20!==i)if(C.DisplayP3ColorSpace_MmT0!==i)if(C.DisplayP3LinearColorSpace_PrP0!==i)if(C.ProphotoRgbColorSpace_BDz0!==i)if(C.Rec2020ColorSpace_6oo0!==i)if(C.SrgbColorSpace_thf0!==i)if(C.SrgbLinearColorSpace_kUj0!==i)if(C.XyzD50ColorSpace_2OB0!==i){if(C.XyzD65ColorSpace_WiJ0!==i)throw A.wrapException("No space set");d=A.SassColor_SassColor$forSpaceInternal0(i,c.call$1("x"),c.call$1("y"),c.call$1("z"),c.call$1(S))}else d=A.SassColor_SassColor$forSpaceInternal0(i,c.call$1("x"),c.call$1("y"),c.call$1("z"),c.call$1(S));else d=A.SassColor$_forSpace0(C.SrgbLinearColorSpace_kUj0,c.call$1(y),c.call$1($),c.call$1(x),c.call$1(S),m);else d=A.SassColor$_forSpace0(C.SrgbColorSpace_thf0,c.call$1(y),c.call$1($),c.call$1(x),c.call$1(S),m);else d=A.SassColor$_forSpace0(C.Rec2020ColorSpace_6oo0,c.call$1(y),c.call$1($),c.call$1(x),c.call$1(S),m);else d=A.SassColor$_forSpace0(C.ProphotoRgbColorSpace_BDz0,c.call$1(y),c.call$1($),c.call$1(x),c.call$1(S),m);else d=A.SassColor$_forSpace0(C.DisplayP3LinearColorSpace_PrP0,c.call$1(y),c.call$1($),c.call$1(x),c.call$1(S),m);else d=A.SassColor$_forSpace0(C.DisplayP3ColorSpace_MmT0,c.call$1(y),c.call$1($),c.call$1(x),c.call$1(S),m);else d=A.SassColor$_forSpace0(C.A98RgbColorSpace_lf20,c.call$1(y),c.call$1($),c.call$1(x),c.call$1(S),m);else d=A.SassColor_SassColor$forSpaceInternal0(C.OklchColorSpace_9Gj0,c.call$1(b),c.call$1("chroma"),c.call$1(f),c.call$1(S));else d=A.SassColor_SassColor$forSpaceInternal0(C.LchColorSpace_Bpv0,c.call$1(b),c.call$1("chroma"),c.call$1(f),c.call$1(S));else d=A.SassColor$_forSpace0(C.OklabColorSpace_5400,c.call$1(b),c.call$1("a"),c.call$1("b"),c.call$1(S),m);else d=A.SassColor$_forSpace0(C.LabColorSpace_2nT0,c.call$1(b),c.call$1("a"),c.call$1("b"),c.call$1(S),m);return d.toSpace$1(r)},$signature:413},A.colorClass___closure.prototype={call$1(e){return e.name===this.key},$signature:67},A.colorClass__closure_changedValue.prototype={call$1(e){var t,r=this.options;return e in r?(t=r[e],t=!A._asBool(I.$get$_isUndefined().call$1(t))):t=!1,t?r[e]:this.color.channel$1(0,e)},$signature:414},A.colorClass__closure9.prototype={call$3(e,t,r){var n,i,o=null==r,s=o?null:w.get$method$x(r);return n=null!=s?A.InterpolationMethod$0(e._color0$_space,A.EnumByName_byName(C.List_mRc,s)):(i=e._color0$_space).get$isPolarInternal()?A.InterpolationMethod$0(i,C.HueInterpolationMethod_00):A.InterpolationMethod$0(i,null),e.interpolate$3$weight(t,n,o?null:w.get$weight$x(r))},call$2(e,t){return this.call$3(e,t,null)},"call*":"call$3",$requiredArgCount:2,$defaultValues:()=>[null],$signature:415},A.colorClass__closure10.prototype={call$1:e=>(A.warnForDeprecationFromApi("red is deprecated, use `channel` instead.\nMore info: https://sass-lang.com/d/color-4-api",C.Deprecation_alT),C.JSNumber_methods.round$0(e._color0$_legacyChannel$2(C.RgbColorSpace_i0P0,"red"))),$signature:39},A.colorClass__closure11.prototype={call$1:e=>(A.warnForDeprecationFromApi("green is deprecated, use `channel` instead.\nMore info: https://sass-lang.com/d/color-4-api",C.Deprecation_alT),C.JSNumber_methods.round$0(e._color0$_legacyChannel$2(C.RgbColorSpace_i0P0,"green"))),$signature:39},A.colorClass__closure12.prototype={call$1:e=>(A.warnForDeprecationFromApi("blue is deprecated, use `channel` instead.\nMore info: https://sass-lang.com/d/color-4-api",C.Deprecation_alT),C.JSNumber_methods.round$0(e._color0$_legacyChannel$2(C.RgbColorSpace_i0P0,"blue"))),$signature:39},A.colorClass__closure13.prototype={call$1:e=>(A.warnForDeprecationFromApi("hue is deprecated, use `channel` instead.\nMore info: https://sass-lang.com/d/color-4-api",C.Deprecation_alT),e._color0$_legacyChannel$2(C.HslColorSpace_JQ20,"hue")),$signature:30},A.colorClass__closure14.prototype={call$1:e=>(A.warnForDeprecationFromApi("saturation is deprecated, use `channel` instead.\nMore info: https://sass-lang.com/d/color-4-api",C.Deprecation_alT),e._color0$_legacyChannel$2(C.HslColorSpace_JQ20,"saturation")),$signature:30},A.colorClass__closure15.prototype={call$1:e=>(A.warnForDeprecationFromApi("lightness is deprecated, use `channel` instead.\nMore info: https://sass-lang.com/d/color-4-api",C.Deprecation_alT),e._color0$_legacyChannel$2(C.HslColorSpace_JQ20,"lightness")),$signature:30},A.colorClass__closure16.prototype={call$1:e=>(A.warnForDeprecationFromApi("whiteness is deprecated, use `channel` instead.\nMore info: https://sass-lang.com/d/color-4-api",C.Deprecation_alT),e._color0$_legacyChannel$2(C.HwbColorSpace_guQ0,"whiteness")),$signature:30},A.colorClass__closure17.prototype={call$1:e=>(A.warnForDeprecationFromApi("blackness is deprecated, use `channel` instead.\nMore info: https://sass-lang.com/d/color-4-api",C.Deprecation_alT),e._color0$_legacyChannel$2(C.HwbColorSpace_guQ0,"blackness")),$signature:30},A.colorClass__closure18.prototype={call$1(e){var t=e.alphaOrNull;return null==t?0:t},$signature:30},A.colorClass__closure19.prototype={call$1:e=>e._color0$_space.name,$signature:416},A.colorClass__closure20.prototype={call$1:e=>e._color0$_space.get$isLegacyInternal(),$signature:417},A.colorClass__closure21.prototype={call$1:e=>new n.immutable.List(e.get$channelsOrNull()),$signature:230},A.colorClass__closure22.prototype={call$1:e=>new n.immutable.List(e.get$channels()),$signature:230},A._Channels.prototype={},A._ConstructionOptions.prototype={},A._ChannelOptions.prototype={},A._ToGamutOptions.prototype={},A._InterpolationOptions.prototype={},A._NodeSassColor.prototype={},A.legacyColorClass_closure.prototype={call$6(e,t,r,n,i,o){var s,a,l,c,u;null==o?(null==r||null==n?(A._asInt(t),i=C.JSInt_methods._shrOtherPositive$1(t,24)/255,s=C.JSInt_methods.$mod(C.JSInt_methods._shrOtherPositive$1(t,16),256),r=C.JSInt_methods.$mod(C.JSInt_methods._shrOtherPositive$1(t,8),256),n=C.JSInt_methods.$mod(t,256)):(t.toString,s=t),a=A.fuzzyRound0(isNaN(s)?0:C.JSNumber_methods.clamp$2(s,0,255)),l=A.fuzzyRound0(isNaN(r)?0:C.JSNumber_methods.clamp$2(r,0,255)),c=A.fuzzyRound0(isNaN(n)?0:C.JSNumber_methods.clamp$2(n,0,255)),u=A.NullableExtension_andThen0(i,new A.legacyColorClass__closure),w.set$dartValue$x(e,A.SassColor_SassColor$rgbInternal0(a,l,c,null==u?1:u,null))):w.set$dartValue$x(e,o)},call$2(e,t){var r=null;return this.call$6(e,t,r,r,r,r)},call$3(e,t,r){return this.call$6(e,t,r,null,null,null)},call$4(e,t,r,n){return this.call$6(e,t,r,n,null,null)},call$5(e,t,r,n,i){return this.call$6(e,t,r,n,i,null)},"call*":"call$6",$requiredArgCount:2,$defaultValues:()=>[null,null,null,null],$signature:419},A.legacyColorClass__closure.prototype={call$1:e=>isNaN(e)?0:C.JSNumber_methods.clamp$2(e,0,1),$signature:420},A.legacyColorClass_closure0.prototype={call$1:e=>C.JSNumber_methods.round$0(w.get$dartValue$x(e)._color0$_legacyChannel$2(C.RgbColorSpace_i0P0,"red")),$signature:124},A.legacyColorClass_closure1.prototype={call$1:e=>C.JSNumber_methods.round$0(w.get$dartValue$x(e)._color0$_legacyChannel$2(C.RgbColorSpace_i0P0,"green")),$signature:124},A.legacyColorClass_closure2.prototype={call$1:e=>C.JSNumber_methods.round$0(w.get$dartValue$x(e)._color0$_legacyChannel$2(C.RgbColorSpace_i0P0,"blue")),$signature:124},A.legacyColorClass_closure3.prototype={call$1(e){var t=w.get$dartValue$x(e).alphaOrNull;return null==t?0:t},$signature:422},A.legacyColorClass_closure4.prototype={call$2(e,t){var r=w.getInterceptor$x(e),n=r.get$dartValue(e);r.set$dartValue(e,n.changeRgb$1$red(A.fuzzyRound0(isNaN(t)?0:C.JSNumber_methods.clamp$2(t,0,255))))},$signature:106},A.legacyColorClass_closure5.prototype={call$2(e,t){var r=w.getInterceptor$x(e),n=r.get$dartValue(e);r.set$dartValue(e,n.changeRgb$1$green(A.fuzzyRound0(isNaN(t)?0:C.JSNumber_methods.clamp$2(t,0,255))))},$signature:106},A.legacyColorClass_closure6.prototype={call$2(e,t){var r=w.getInterceptor$x(e),n=r.get$dartValue(e);r.set$dartValue(e,n.changeRgb$1$blue(A.fuzzyRound0(isNaN(t)?0:C.JSNumber_methods.clamp$2(t,0,255))))},$signature:106},A.legacyColorClass_closure7.prototype={call$2(e,t){var r=w.getInterceptor$x(e),n=r.get$dartValue(e);r.set$dartValue(e,n.changeRgb$1$alpha(isNaN(t)?0:C.JSNumber_methods.clamp$2(t,0,1)))},$signature:106},A.SassColor0.prototype={get$channels(){var e,t,r=this.channel0OrNull;return null==r&&(r=0),null==(e=this.channel1OrNull)&&(e=0),t=this.channel2OrNull,A.List_List$unmodifiable([r,e,null==t?0:t],D.double)},get$channelsOrNull(){return A.List_List$unmodifiable([this.channel0OrNull,this.channel1OrNull,this.channel2OrNull],D.nullable_double)},get$isChannel0Powerless(){var e,t,r=this,n=r._color0$_space;return C.HslColorSpace_JQ20!==n?C.HwbColorSpace_guQ0!==n?e=!1:(null==(e=r.channel1OrNull)&&(e=0),e=(e+=null==(t=r.channel2OrNull)?0:t)>100||A.fuzzyEquals0(e,100)):(e=r.channel1OrNull,e=A.fuzzyEquals0(null==e?0:e,0)),e},get$isChannel2Powerless(){var e,t=this._color0$_space;return C.LchColorSpace_Bpv0!==t&&C.OklchColorSpace_9Gj0!==t?e=!1:(e=this.channel1OrNull,e=A.fuzzyEquals0(null==e?0:e,0)),e},get$isInGamut(){var e,t,r=this,n=r._color0$_space;return!n.get$isBoundedInternal()||(null==(e=r.channel0OrNull)&&(e=0),n=n._space$_channels,t=!1,r._color0$_isChannelInGamut$2(e,n[0])?(null==(e=r.channel1OrNull)&&(e=0),r._color0$_isChannelInGamut$2(e,n[1])?(null==(e=r.channel2OrNull)&&(e=0),n=r._color0$_isChannelInGamut$2(e,n[2])):n=t):n=t,n)},_color0$_isChannelInGamut$2(e,t){var r,n,i;return t instanceof A.LinearChannel0?(r=t.min,i=!!(e<(n=t.max)||A.fuzzyEquals0(e,n))&&(e>r||A.fuzzyEquals0(e,r))):i=!0,i},accept$1$1(e){return e.visitColor$1(this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},assertColor$1(e){return this},assertLegacy$1(e){if(!this._color0$_space.get$isLegacyInternal())throw A.wrapException(A.SassScriptException$0("Expected "+this.toString$0(0)+P.x20to_be,e))},channel$1(e,t){var r,n=this,i=n._color0$_space._space$_channels;if(t===i[0].name)return null==(r=n.channel0OrNull)?0:r;if(t===i[1].name)return null==(r=n.channel1OrNull)?0:r;if(t===i[2].name)return null==(r=n.channel2OrNull)?0:r;if("alpha"===t)return null==(r=n.alphaOrNull)?0:r;throw A.wrapException(A.SassScriptException$0("Color "+n.toString$0(0)+" doesn't have a channel named \""+t+'".',null))},isChannelMissing$3$channelName$colorName(e,t,r){var n=this,i=n._color0$_space._space$_channels;if(e===i[0].name)return null==n.channel0OrNull;if(e===i[1].name)return null==n.channel1OrNull;if(e===i[2].name)return null==n.channel2OrNull;if("alpha"===e)return null==n.alphaOrNull;throw A.wrapException(A.SassScriptException$0("Color "+n.toString$0(0)+" doesn't have a channel named \""+e+'".',t))},isChannelMissing$1(e){return this.isChannelMissing$3$channelName$colorName(e,null,null)},isChannelPowerless$3$channelName$colorName(e,t,r){var n=this,i=n._color0$_space._space$_channels;if(e===i[0].name)return n.get$isChannel0Powerless();if(e===i[1].name)return!1;if(e===i[2].name)return n.get$isChannel2Powerless();if("alpha"===e)return!1;throw A.wrapException(A.SassScriptException$0("Color "+n.toString$0(0)+" doesn't have a channel named \""+e+'".',t))},isChannelPowerless$1(e){return this.isChannelPowerless$3$channelName$colorName(e,null,null)},_color0$_legacyChannel$2(e,t){if(!this._color0$_space.get$isLegacyInternal())throw A.wrapException(A.SassScriptException$0("color."+t+P.x28__is_oc,null));return this.toSpace$1(e).channel$1(0,t)},toSpace$2$legacyMissing(e,t){var r,n,i,o,s=this,a=s._color0$_space;return a===e?s:(null==(r=s.alphaOrNull)&&(r=0),n=a.convert$5(e,s.channel0OrNull,s.channel1OrNull,s.channel2OrNull,r),a=!1,t||n._color0$_space.get$isLegacyInternal()&&(a=null==n.channel0OrNull||null==n.channel1OrNull||null==n.channel2OrNull||null==n.alphaOrNull),a?(null==(a=n.channel0OrNull)&&(a=0),null==(r=n.channel1OrNull)&&(r=0),null==(i=n.channel2OrNull)&&(i=0),null==(o=n.alphaOrNull)&&(o=0),a=o=A.SassColor_SassColor$forSpaceInternal0(n._color0$_space,a,r,i,o)):a=n,a)},toSpace$1(e){return this.toSpace$2$legacyMissing(e,!0)},changeRgb$4$alpha$blue$green$red(e,t,r,n){var i,o,s,a,l=this,c=null;if(!l._color0$_space.get$isLegacyInternal())throw A.wrapException(A.SassScriptException$0("color.changeRgb() is only supported for legacy colors. Please use color.changeChannels() instead with an explicit $space argument.",c));return null==(i=null==n?c:n)&&(i=l.channel$1(0,"red")),null==(o=null==r?c:r)&&(o=l.channel$1(0,"green")),null==(s=null==t?c:t)&&(s=l.channel$1(0,"blue")),null==(a=null==e?c:e)&&null==(a=l.alphaOrNull)&&(a=0),A.SassColor_SassColor$rgbInternal0(i,o,s,a,c)},changeRgb$1$alpha(e){return this.changeRgb$4$alpha$blue$green$red(e,null,null,null)},changeRgb$1$blue(e){return this.changeRgb$4$alpha$blue$green$red(null,e,null,null)},changeRgb$1$green(e){return this.changeRgb$4$alpha$blue$green$red(null,null,e,null)},changeRgb$1$red(e){return this.changeRgb$4$alpha$blue$green$red(null,null,null,e)},changeHsl$3$hue$lightness$saturation(e,t,r){var n,i,o,s,a=this,l=null,c=a._color0$_space;if(!c.get$isLegacyInternal())throw A.wrapException(A.SassScriptException$0(P.color_c,l));return null==(n=null==e?l:e)&&(n=a._color0$_legacyChannel$2(C.HslColorSpace_JQ20,"hue")),null==(i=null==r?l:r)&&(i=a._color0$_legacyChannel$2(C.HslColorSpace_JQ20,"saturation")),null==(o=null==t?l:t)&&(o=a._color0$_legacyChannel$2(C.HslColorSpace_JQ20,"lightness")),null==(s=a.alphaOrNull)&&(s=0),A.SassColor_SassColor$hsl0(n,i,o,s).toSpace$1(c)},changeHsl$1$saturation(e){return this.changeHsl$3$hue$lightness$saturation(null,null,e)},changeHsl$1$lightness(e){return this.changeHsl$3$hue$lightness$saturation(null,e,null)},changeHsl$1$hue(e){return this.changeHsl$3$hue$lightness$saturation(e,null,null)},changeAlpha$1(e){var t,r,n=this,i=n.channel0OrNull;return null==i&&(i=0),null==(t=n.channel1OrNull)&&(t=0),null==(r=n.channel2OrNull)&&(r=0),A.SassColor_SassColor$forSpaceInternal0(n._color0$_space,i,t,r,e)},interpolate$4$legacyMissing$weight(e,t,r,n){var i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y,$,x,S,w,E,I,M,k,T,R,L,P=this,D=null;if(null==n&&(n=.5),A.fuzzyEquals0(n,0))return e;if(A.fuzzyEquals0(n,1))return P;if(i=t.space,o=P.toSpace$1(i),s=e.toSpace$1(i),n<0||n>1)throw A.wrapException(A.RangeError$range(n,0,1,"weight",D));return a=P._color0$_isAnalogousChannelMissing$3(P,o,0),l=P._color0$_isAnalogousChannelMissing$3(P,o,1),c=P._color0$_isAnalogousChannelMissing$3(P,o,2),u=P._color0$_isAnalogousChannelMissing$3(e,s,0),d=P._color0$_isAnalogousChannelMissing$3(e,s,1),h=P._color0$_isAnalogousChannelMissing$3(e,s,2),null==(p=(a?s:o).channel0OrNull)&&(p=0),null==(m=(l?s:o).channel1OrNull)&&(m=0),null==(_=(c?s:o).channel2OrNull)&&(_=0),null==(g=(u?o:s).channel0OrNull)&&(g=0),null==(f=(d?o:s).channel1OrNull)&&(f=0),null==(v=(h?o:s).channel2OrNull)&&(v=0),x=(y=null==(b=P.alphaOrNull))?null==($=e.alphaOrNull)?0:$:b,w=($=null==(S=e.alphaOrNull))?y?0:b:S,E=(y?1:b)*n,M=($?1:S)*(I=1-n),k=y&&$?D:x*n+w*I,T=a&&u?D:(p*E+g*M)/(y=null==k?1:k),R=l&&d?D:(m*E+f*M)/(y=null==k?1:k),L=c&&h?D:(_*E+v*M)/(y=null==k?1:k),C.HslColorSpace_JQ20!==i&&C.HwbColorSpace_guQ0!==i?C.LchColorSpace_Bpv0!==i&&C.OklchColorSpace_9Gj0!==i?i=A.SassColor_SassColor$forSpaceInternal0(i,T,R,L,k):(c&&h?y=D:((y=t.hue).toString,y=P._color0$_interpolateHues$4(_,v,y,n)),i=y=A.SassColor_SassColor$forSpaceInternal0(i,T,R,y,k)):(a&&u?y=D:((y=t.hue).toString,y=P._color0$_interpolateHues$4(p,g,y,n)),i=y=A.SassColor_SassColor$forSpaceInternal0(i,y,R,L,k)),i.toSpace$2$legacyMissing(P._color0$_space,r)},interpolate$3$weight(e,t,r){return this.interpolate$4$legacyMissing$weight(e,t,!0,r)},_color0$_isAnalogousChannelMissing$3(e,t,r){var n;return null==t.get$channelsOrNull()[r]||e!==t&&(null!=(n=A.IterableExtension_firstWhereOrNull(e._color0$_space._space$_channels,t._color0$_space._space$_channels[r].get$isAnalogous()))&&e.isChannelMissing$1(n.name))},_color0$_interpolateHues$4(e,t,r,n){var i,o;return C.HueInterpolationMethod_00!==r?C.HueInterpolationMethod_10!==r?C.HueInterpolationMethod_20===r&&t<e?t+=360:C.HueInterpolationMethod_30===r&&e<t&&(e+=360):(o=t-e)>0&&o<180?t+=360:o>-180&&o<=0&&(e+=360):(i=t-e)>180?e+=360:i<-180&&(t+=360),e*n+t*(1-n)},plus$1(e){if(!(e instanceof A.SassNumber0||e instanceof A.SassColor0))return this.super$Value$plus0(e);throw A.wrapException(A.SassScriptException$0('Undefined operation "'+this.toString$0(0)+" + "+e.toString$0(0)+'".',null))},minus$1(e){if(!(e instanceof A.SassNumber0||e instanceof A.SassColor0))return this.super$Value$minus0(e);throw A.wrapException(A.SassScriptException$0('Undefined operation "'+this.toString$0(0)+" - "+e.toString$0(0)+'".',null))},dividedBy$1(e){if(!(e instanceof A.SassNumber0||e instanceof A.SassColor0))return this.super$Value$dividedBy0(e);throw A.wrapException(A.SassScriptException$0('Undefined operation "'+this.toString$0(0)+" / "+e.toString$0(0)+'".',null))},$eq(e,t){var r,n,i=this;return null!=t&&(t instanceof A.SassColor0&&((r=i._color0$_space).get$isLegacyInternal()?!!(n=t._color0$_space).get$isLegacyInternal()&&(!!A.fuzzyEqualsNullable0(i.alphaOrNull,t.alphaOrNull)&&(r===n?A.fuzzyEqualsNullable0(i.channel0OrNull,t.channel0OrNull)&&A.fuzzyEqualsNullable0(i.channel1OrNull,t.channel1OrNull)&&A.fuzzyEqualsNullable0(i.channel2OrNull,t.channel2OrNull):i.toSpace$1(C.RgbColorSpace_i0P0).$eq(0,t.toSpace$1(C.RgbColorSpace_i0P0)))):r===t._color0$_space&&A.fuzzyEqualsNullable0(i.channel0OrNull,t.channel0OrNull)&&A.fuzzyEqualsNullable0(i.channel1OrNull,t.channel1OrNull)&&A.fuzzyEqualsNullable0(i.channel2OrNull,t.channel2OrNull)&&A.fuzzyEqualsNullable0(i.alphaOrNull,t.alphaOrNull)))},get$hashCode(e){var t,r,n,i,o,s=this,a=s._color0$_space;return a.get$isLegacyInternal()?(a=(t=s.toSpace$1(C.RgbColorSpace_i0P0)).channel0OrNull,a=A.fuzzyHashCode0(null==a?0:a),r=t.channel1OrNull,r=A.fuzzyHashCode0(null==r?0:r),n=t.channel2OrNull,n=A.fuzzyHashCode0(null==n?0:n),i=s.alphaOrNull,a^r^n^A.fuzzyHashCode0(null==i?0:i)):(a=A.Primitives_objectHashCode(a),r=s.channel0OrNull,r=A.fuzzyHashCode0(null==r?0:r),n=s.channel1OrNull,n=A.fuzzyHashCode0(null==n?0:n),i=s.channel2OrNull,i=A.fuzzyHashCode0(null==i?0:i),o=s.alphaOrNull,(a^r^n^i^A.fuzzyHashCode0(null==o?0:o))>>>0)}},A.SassColor$_forSpace_closure0.prototype={call$1:e=>A.fuzzyAssertRange0(e,0,1,"alpha"),$signature:12},A._ColorFormatEnum0.prototype={toString$0:e=>"rgbFunction"},A.SpanColorFormat0.prototype={},A.Combinator0.prototype={_enumToString$0(){return"Combinator."+this._name},toString$0(e){return this._combinator0$_text}},A.ModifiableCssComment0.prototype={accept$1$1(e){return e.visitCssComment$1(this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},$isCssComment0:1,get$span(e){return this.span}},A.compileAsync_closure.prototype={call$0(){var e,t,r,n,i,o,s,a,l,c,u,d,h,p,m,_=0,g=A._makeAsyncAwaitCompleter(D.NodeCompileResult),f=this,v=A._wrapJsFunctionForAsync(function(b,y){if(1===b)return A._asyncRethrow(y,g);for(;;)switch(_){case 0:return d=f.options,p=(h=null==d)?null:w.get$loadPaths$x(d),null==(m=h?null:w.get$quietDeps$x(d))&&(m=!1),t=A._parseOutputStyle0(h?null:w.get$style$x(d)),null==(r=h?null:w.get$verbose$x(d))&&(r=!1),null==(n=h?null:w.get$charset$x(d))&&(n=!0),null==(i=h?null:w.get$sourceMap$x(d))&&(i=!1),o=f.logger,s=h||null==(s=w.get$importers$x(d))?null:w.map$1$1$ax(s,new A.compileAsync__closure,D.AsyncImporter),a=A._parseFunctions0(h?null:w.get$functions$x(d),!0),l=A.parseDeprecations(o,h?null:w.get$fatalDeprecations$x(d),!0),c=A.parseDeprecations(o,h?null:w.get$silenceDeprecations$x(d),!1),_=3,A._asyncAwait(A.compileAsync0(f.path,n,l,a,A.parseDeprecations(o,h?null:w.get$futureDeprecations$x(d),!1),A.AsyncImportCache$(s,p,null),null,null,o,null,m,c,i,t,null,!0,r),v);case 3:u=y,d=h?null:w.get$sourceMapIncludeSources$x(d),e=A._convertResult(u,null!=d&&d),_=1;break;case 1:return A._asyncReturn(e,g)}});return A._asyncStartSync(v,g)},$signature:232},A.compileAsync__closure.prototype={call$1:e=>A._parseAsyncImporter(e),$signature:233},A.compileStringAsync_closure.prototype={call$0(){var e,t,r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v=0,b=A._makeAsyncAwaitCompleter(D.NodeCompileResult),y=this,$=A._wrapJsFunctionForAsync(function(x,S){if(1===x)return A._asyncRethrow(S,b);for(;;)switch(v){case 0:return h=y.options,p=null==h,m=A.parseSyntax(p?null:w.get$syntax$x(h)),_=p?null:A.NullableExtension_andThen0(w.get$url$x(h),A.utils3__jsToDartUrl$closure()),g=p?null:w.get$loadPaths$x(h),null==(f=p?null:w.get$quietDeps$x(h))&&(f=!1),t=A._parseOutputStyle0(p?null:w.get$style$x(h)),null==(r=p?null:w.get$verbose$x(h))&&(r=!1),null==(n=p?null:w.get$charset$x(h))&&(n=!0),null==(i=p?null:w.get$sourceMap$x(h))&&(i=!1),o=y.logger,s=p||null==(s=w.get$importers$x(h))?null:w.map$1$1$ax(s,new A.compileStringAsync__closure,D.AsyncImporter),null==(a=p?null:A.NullableExtension_andThen0(w.get$importer$x(h),new A.compileStringAsync__closure0))&&(a=null==(p?null:w.get$url$x(h))?new A.NoOpImporter0:null),l=A._parseFunctions0(p?null:w.get$functions$x(h),!0),c=A.parseDeprecations(o,p?null:w.get$fatalDeprecations$x(h),!0),u=A.parseDeprecations(o,p?null:w.get$silenceDeprecations$x(h),!1),v=3,A._asyncAwait(A.compileStringAsync0(y.text,n,c,l,A.parseDeprecations(o,p?null:w.get$futureDeprecations$x(h),!1),A.AsyncImportCache$(s,g,null),a,null,null,o,null,f,u,i,t,m,_,!0,r),$);case 3:d=S,h=p?null:w.get$sourceMapIncludeSources$x(h),e=A._convertResult(d,null!=h&&h),v=1;break;case 1:return A._asyncReturn(e,b)}});return A._asyncStartSync($,b)},$signature:232},A.compileStringAsync__closure.prototype={call$1:e=>A._parseAsyncImporter(e),$signature:233},A.compileStringAsync__closure0.prototype={call$1:e=>A._parseAsyncImporter(e),$signature:426},A._wrapAsyncSassExceptions_closure.prototype={call$1(e){return e instanceof A.SassException0?A.throwNodeException(e,this.ascii,this.color,null):A.jsThrow(null==e?A._asObject(e):e)},$signature:427},A._parseFunctions_closure0.prototype={call$2(e,t){var r,n=this.result;this.asynch?((r=A._Cell$()).__late_helper$_value=A.AsyncCallable_AsyncCallable$fromSignature(e,new A._parseFunctions__closure3(t,r),!0),n.push(r._readLocal$0())):((r=A._Cell$()).__late_helper$_value=A.Callable_Callable$fromSignature(e,new A._parseFunctions__closure2(t,r),!0),n.push(r._readLocal$0()))},$signature:126},A._parseFunctions__closure2.prototype={call$1(e){var t,r,i=P.Invali,o=A.wrapJSExceptions(new A._parseFunctions___closure6(this.callback,e));if(o instanceof A.Value0)return A._simplifyValue(o);throw t=null!=o&&o instanceof n.Promise,r=this.callable,t?(t=r.readLocal$0(),A.wrapException(i+t.get$name(t)+'":\nPromises may only be returned for sass.compileAsync() and sass.compileStringAsync().')):(t=r.readLocal$0(),A.wrapException(i+t.get$name(t)+'": '+A.S(o)+" is not a sass.Value."))},$signature:3},A._parseFunctions___closure6.prototype={call$0(){return D.Function._as(this.callback).call$1(A.toJSArray(this.$arguments))},$signature:64},A._parseFunctions__closure3.prototype={call$1(e){return this.$call$body$_parseFunctions__closure0(e)},$call$body$_parseFunctions__closure0(e){var t,r,i,o=0,s=A._makeAsyncAwaitCompleter(D.Value_2),a=this,l=A._wrapJsFunctionForAsync(function(c,u){if(1===c)return A._asyncRethrow(u,s);for(;;)switch(o){case 0:i=A.wrapJSExceptions(new A._parseFunctions___closure5(a.callback,e)),o=null!=i&&i instanceof n.Promise?3:4;break;case 3:return o=5,A._asyncAwait(A.promiseToFuture0(D.Promise._as(i),D.Object),l);case 5:i=u;case 4:if(i instanceof A.Value0){t=A._simplifyValue(i),o=1;break}throw r=a.callable.readLocal$0(),A.wrapException(P.Invali+r.get$name(r)+'": '+A.S(i)+" is not a sass.Value.");case 1:return A._asyncReturn(t,s)}});return A._asyncStartSync(l,s)},$signature:92},A._parseFunctions___closure5.prototype={call$0(){return D.Function._as(this.callback).call$1(A.toJSArray(this.$arguments))},$signature:64},A.nodePackageImporterClass_closure.prototype={call$0:()=>D.JSClass._as(A.allowInteropCaptureThisNamed("sass.NodePackageImporter",new A.nodePackageImporterClass__closure)),$signature:17},A.nodePackageImporterClass__closure.prototype={call$2(e,t){var r,n,i=null,o=A.entrypointFilename();return r=null==t?null==o?A.throwExpression("The Node package importer cannot determine an entry point because `require.main.filename` is not defined. Please provide an `entryPointDirectory` to the `NodePackageImporter`."):I.$get$context().dirname$1(o):t,n=new A.NodePackageImporter0,A.isBrowser()&&A.throwExpression(P.The_No),n._node_package$__NodePackageImporter__entryPointDirectory_F=A.absolute(r,i,i,i,i,i,i,i,i,i,i,i,i,i,i),n},call$1(e){return this.call$2(e,null)},"call*":"call$2",$requiredArgCount:1,$defaultValues:()=>[null],$signature:429},A._compileStylesheet_closure1.prototype={call$1(e){var t;return""===e?(t=this.stylesheet.span,t=A.Uri_Uri$dataFromString(A.String_String$fromCharCodes(C.NativeUint32List_methods.sublist$2(t.get$file(t)._decodedChars,0,null),0,null),C.C_Utf8Codec,null).get$_text()):t=this.importCache.sourceMapUrl$1(0,A.Uri_parse(e)).toString$0(0),t},$signature:6},A.CompileOptions.prototype={},A.CompileStringOptions.prototype={},A.NodeCompileResult.prototype={},A.CompileResult0.prototype={},A.Compiler.prototype={},A.AsyncCompiler.prototype={addCompilation$1(e){this.compilations.add$1(0,A.promiseToFuture(e,D.dynamic).catchError$1(new A.AsyncCompiler_addCompilation_closure))}},A.AsyncCompiler_addCompilation_closure.prototype={call$1(e){},$signature:62},A.compilerClass_closure.prototype={call$0(){var e=D.JSClass,t=e._as(A.allowInteropCaptureThisNamed("sass.Compiler",new A.compilerClass__closure));return A.LinkedHashMap_LinkedHashMap$_literal(["compile",new A.compilerClass__closure0,"compileString",new A.compilerClass__closure1,"dispose",new A.compilerClass__closure2],D.String,D.Function).forEach$1(0,A.JSClassExtension_get_defineMethod(t)),A.JSClassExtension_injectSuperclass(e._as((new A.Compiler).constructor),t),t},$signature:17},A.compilerClass__closure.prototype={call$1:e=>A.LinkedHashSet_LinkedHashSet$_literal([A.jsThrow(new n.Error("Compiler can not be directly constructed. Please use `sass.initCompiler()` instead."))],D.Never),$signature:234},A.compilerClass__closure0.prototype={call$3:(e,t,r)=>(e._disposed&&A.jsThrow(new n.Error("Compiler has already been disposed.")),A.compile0(t,r)),call$2(e,t){return this.call$3(e,t,null)},"call*":"call$3",$requiredArgCount:2,$defaultValues:()=>[null],$signature:431},A.compilerClass__closure1.prototype={call$3:(e,t,r)=>(e._disposed&&A.jsThrow(new n.Error("Compiler has already been disposed.")),A.compileString0(t,r)),call$2(e,t){return this.call$3(e,t,null)},"call*":"call$3",$requiredArgCount:2,$defaultValues:()=>[null],$signature:432},A.compilerClass__closure2.prototype={call$1(e){e._disposed=!0},$signature:433},A.asyncCompilerClass_closure.prototype={call$0(){var e=D.JSClass,t=e._as(A.allowInteropCaptureThisNamed("sass.AsyncCompiler",new A.asyncCompilerClass__closure));return A.LinkedHashMap_LinkedHashMap$_literal(["compileAsync",new A.asyncCompilerClass__closure0,"compileStringAsync",new A.asyncCompilerClass__closure1,"dispose",new A.asyncCompilerClass__closure2],D.String,D.Function).forEach$1(0,A.JSClassExtension_get_defineMethod(t)),A.JSClassExtension_injectSuperclass(e._as(new A.AsyncCompiler(new A.FutureGroup(new A._AsyncCompleter(new A._Future(I.Zone__current,D._Future_List_void),D._AsyncCompleter_List_void),[],D.FutureGroup_void)).constructor),t),t},$signature:17},A.asyncCompilerClass__closure.prototype={call$1:e=>A.LinkedHashSet_LinkedHashSet$_literal([A.jsThrow(new n.Error("AsyncCompiler can not be directly constructed. Please use `sass.initAsyncCompiler()` instead."))],D.Never),$signature:234},A.asyncCompilerClass__closure0.prototype={call$3(e,t,r){var i;return e._disposed&&A.jsThrow(new n.Error("Compiler has already been disposed.")),i=A.compileAsync1(t,r),e.addCompilation$1(i),i},call$2(e,t){return this.call$3(e,t,null)},"call*":"call$3",$requiredArgCount:2,$defaultValues:()=>[null],$signature:434},A.asyncCompilerClass__closure1.prototype={call$3(e,t,r){var i;return e._disposed&&A.jsThrow(new n.Error("Compiler has already been disposed.")),i=A.compileStringAsync1(t,r),e.addCompilation$1(i),i},call$2(e,t){return this.call$3(e,t,null)},"call*":"call$3",$requiredArgCount:2,$defaultValues:()=>[null],$signature:435},A.asyncCompilerClass__closure2.prototype={call$1:e=>(e._disposed=!0,A.futureToPromise0(new A.asyncCompilerClass___closure(e).call$0())),$signature:436},A.asyncCompilerClass___closure.prototype={call$0(){var e,t=0,r=A._makeAsyncAwaitCompleter(D.Null),n=this,i=A._wrapJsFunctionForAsync(function(o,s){if(1===o)return A._asyncRethrow(s,r);for(;;)switch(t){case 0:return(e=n.self.compilations).close$0(0),t=2,A._asyncAwait(e._future_group$_completer.future,i);case 2:return A._asyncReturn(null,r)}});return A._asyncStartSync(i,r)},$signature:2},A.initAsyncCompiler_closure.prototype={call$0(){var e,t=0,r=A._makeAsyncAwaitCompleter(D.AsyncCompiler),n=A._wrapJsFunctionForAsync(function(n,i){if(1===n)return A._asyncRethrow(i,r);for(;;)switch(t){case 0:e=new A.AsyncCompiler(new A.FutureGroup(new A._AsyncCompleter(new A._Future(I.Zone__current,D._Future_List_void),D._AsyncCompleter_List_void),[],D.FutureGroup_void)),t=1;break;case 1:return A._asyncReturn(e,r)}});return A._asyncStartSync(n,r)},$signature:437},A.InterpolatedComplexSelector.prototype={accept$1$1(e){return e.visitComplexSelector$1(this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return C.JSArray_methods.join$1(this.components," ")},get$span(e){return this.span}},A.ComplexSassNumber0.prototype={get$numeratorUnits(e){return this._complex0$_numeratorUnits},get$denominatorUnits(e){return this._complex0$_denominatorUnits},get$hasUnits:()=>!0,get$hasComplexUnits:()=>!0,hasUnit$1:e=>!1,compatibleWithUnit$1:e=>!1,hasPossiblyCompatibleUnits$1(e){throw A.wrapException(A.UnimplementedError$(P.Comple))},withValue$1(e){return new A.ComplexSassNumber0(this._complex0$_numeratorUnits,this._complex0$_denominatorUnits,e,null)},withSlash$2(e,t){return new A.ComplexSassNumber0(this._complex0$_numeratorUnits,this._complex0$_denominatorUnits,this._number1$_value,new A._Record_2(e,t))}},A.ComplexSelector0.prototype={get$specificity(){var e,t=this,r=t._complex$__ComplexSelector_specificity_FI;return r===I&&(e=C.JSArray_methods.fold$2(t.components,0,new A.ComplexSelector_specificity_closure0),t._complex$__ComplexSelector_specificity_FI!==I&&A.throwUnnamedLateFieldADI(),t._complex$__ComplexSelector_specificity_FI=e,r=e),r},get$singleCompound(){var e,t,r,n;return 0!==this.leadingCombinators.length?null:(t=!1,1===(e=this.components).length?(n=(r=e[0]).selector,t=r.combinators.length<=0):n=null,t=t?n:null)},accept$1$1(e){return e.visitComplexSelector$1(this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},isSuperselector$1(e){return 0===this.leadingCombinators.length&&0===e.leadingCombinators.length&&A.complexIsSuperselector0(this.components,e.components)},withAdditionalCombinators$1(e){var t,r,n,i,o,s=this;return 0===e.length?s:((r=(t=s.components).length)>=1?(n=r-1,i=C.JSArray_methods.sublist$2(t,0,n),o=t[n],(n=A.List_List$_of(i,D.ComplexSelectorComponent_2)).push(o.withAdditionalCombinators$1(e)),n=A.ComplexSelector$0(s.leadingCombinators,n,s.span,s.lineBreak)):r<=0?(n=A.List_List$_of(s.leadingCombinators,D.CssValue_Combinator_2),C.JSArray_methods.addAll$1(n,e),n=A.ComplexSelector$0(n,C.List_empty19,s.span,s.lineBreak)):n=null,n)},concatenate$3$forceLineBreak(e,t,r){var n,i,o,s,a=this,l=e.leadingCombinators,c=a.components;return 0===l.length?(l=A.List_List$_of(c,D.ComplexSelectorComponent_2),C.JSArray_methods.addAll$1(l,e.components),n=a.lineBreak||e.lineBreak||r,A.ComplexSelector$0(a.leadingCombinators,l,t,n)):(i=c.length)>=1?(n=i-1,o=C.JSArray_methods.sublist$2(c,0,n),s=c[n],(n=A.List_List$_of(o,D.ComplexSelectorComponent_2)).push(s.withAdditionalCombinators$1(l)),C.JSArray_methods.addAll$1(n,e.components),l=a.lineBreak||e.lineBreak||r,A.ComplexSelector$0(a.leadingCombinators,n,t,l)):(n=A.List_List$_of(a.leadingCombinators,D.CssValue_Combinator_2),C.JSArray_methods.addAll$1(n,l),l=a.lineBreak||e.lineBreak||r,A.ComplexSelector$0(n,e.components,t,l))},concatenate$2(e,t){return this.concatenate$3$forceLineBreak(e,t,!1)},get$hashCode(e){return C.C_ListEquality0.hash$1(this.leadingCombinators)^C.C_ListEquality0.hash$1(this.components)},$eq(e,t){return null!=t&&(t instanceof A.ComplexSelector0&&C.C_ListEquality.equals$2(0,this.leadingCombinators,t.leadingCombinators)&&C.C_ListEquality.equals$2(0,this.components,t.components))}},A.ComplexSelector_specificity_closure0.prototype={call$2:(e,t)=>e+t.selector.get$specificity(),$signature:438},A.InterpolatedComplexSelectorComponent.prototype={toString$0(e){var t=this.combinator;return null==t?C.JSArray_methods.join$1(this.selector.components,""):this.selector.toString$0(0)+" "+t.toString$0(0)},$isAstNode0:1,$isSassNode:1,get$span(e){return this.span}},A.ComplexSelectorComponent0.prototype={withAdditionalCombinators$1(e){var t,r,n=this;return 0===e.length?t=n:(t=D.CssValue_Combinator_2,r=A.List_List$_of(n.combinators,t),C.JSArray_methods.addAll$1(r,e),t=new A.ComplexSelectorComponent0(n.selector,A.List_List$unmodifiable(r,t),n.span)),t},get$hashCode(e){return C.C_ListEquality0.hash$1(this.selector.components)^C.C_ListEquality0.hash$1(this.combinators)},$eq(e,t){return null!=t&&(t instanceof A.ComplexSelectorComponent0&&(C.C_ListEquality.equals$2(0,this.selector.components,t.selector.components)&&C.C_ListEquality.equals$2(0,this.combinators,t.combinators)))},toString$0(e){var t=this.combinators;return A.serializeSelector0(this.selector,!0)+new A.MappedListIterable(t,new A.ComplexSelectorComponent_toString_closure0,A._arrayInstanceType(t)._eval$1("MappedListIterable<1,String>")).join$1(0,"")}},A.ComplexSelectorComponent_toString_closure0.prototype={call$1:e=>" "+e.toString$0(0),$signature:439},A.InterpolatedCompoundSelector.prototype={get$span(e){var t,r=this.components;return 1===r.length?r=(r=C.JSArray_methods.get$first(r)).get$span(r):(t=(t=C.JSArray_methods.get$first(r)).get$span(t),r=C.JSArray_methods.get$last(r),r=t.expand$1(0,r.get$span(r))),r},accept$1$1(e){return e.visitCompoundSelector$1(this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return C.JSArray_methods.join$1(this.components,"")}},A.CompoundSelector0.prototype={get$specificity(){var e,t=this,r=t._compound$__CompoundSelector_specificity_FI;return r===I&&(e=C.JSArray_methods.fold$2(t.components,0,new A.CompoundSelector_specificity_closure0),t._compound$__CompoundSelector_specificity_FI!==I&&A.throwUnnamedLateFieldADI(),t._compound$__CompoundSelector_specificity_FI=e,r=e),r},get$hasComplicatedSuperselectorSemantics(){var e,t=this,r=t._compound$__CompoundSelector_hasComplicatedSuperselectorSemantics_FI;return r===I&&(e=C.JSArray_methods.any$1(t.components,new A.CompoundSelector_hasComplicatedSuperselectorSemantics_closure0),t._compound$__CompoundSelector_hasComplicatedSuperselectorSemantics_FI!==I&&A.throwUnnamedLateFieldADI(),t._compound$__CompoundSelector_hasComplicatedSuperselectorSemantics_FI=e,r=e),r},accept$1$1(e){return e.visitCompoundSelector$1(this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},get$hashCode(e){return C.C_ListEquality0.hash$1(this.components)},$eq(e,t){return null!=t&&(t instanceof A.CompoundSelector0&&C.C_ListEquality.equals$2(0,this.components,t.components))}},A.CompoundSelector_specificity_closure0.prototype={call$2:(e,t)=>e+t.get$specificity(),$signature:440},A.CompoundSelector_hasComplicatedSuperselectorSemantics_closure0.prototype={call$1:e=>e.get$hasComplicatedSuperselectorSemantics(),$signature:15},A.Configuration0.prototype={throughForward$1(e){var t,r,n,i,o,s=this._configuration0$_values;return s.get$isEmpty(s)?this:(null!=(t=e.prefix)&&(s=new A.UnprefixedMapView0(s,t,D.UnprefixedMapView_ConfiguredValue_2)),null!=(r=e.shownVariables)?s=new A.LimitedMapView0(s,r._base.intersection$1(new A.MapKeySet(s,D.MapKeySet_nullable_Object)),D.LimitedMapView_String_ConfiguredValue_2):(null!=(n=e.hiddenVariables)?(i=n._base.get$isNotEmpty(0),o=n):(o=null,i=!1),i&&(s=A.LimitedMapView$blocklist0(s,o,D.String,D.ConfiguredValue_2))),this._configuration0$_withValues$1(s))},_configuration0$_withValues$1(e){var t=this._configuration0$__originalConfiguration;return new A.Configuration0(e,null==t?this:t)},toString$0(e){var t,r,n=A._setArrayType([],D.JSArray_String);for(t=(t=A.MapExtensions_get_pairs0(new A.UnmodifiableMapView(this._configuration0$_values,D.UnmodifiableMapView_String_ConfiguredValue_2),D.String,D.ConfiguredValue_2)).get$iterator(t);t.moveNext$0();)r=t.get$current(t),n.push("$"+r._0+": "+r._1.toString$0(0));return"("+C.JSArray_methods.join$1(n,",")+")"}},A.ExplicitConfiguration0.prototype={_configuration0$_withValues$1(e){var t=this._configuration0$__originalConfiguration;return null==t&&(t=this),new A.ExplicitConfiguration0(this.nodeWithSpan,e,t)}},A.ConfiguredValue0.prototype={toString$0(e){return this.value.toString$0(0)}},A.ConfiguredVariable0.prototype={toString$0(e){var t=this.expression.toString$0(0),r=this.isGuarded?" !default":"";return"$"+this.name+": "+t+r},$isAstNode0:1,$isSassNode:1,get$span(e){return this.span}},A.ContentBlock0.prototype={accept$1$1(e){return e.visitContentBlock$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){var t=this.parameters;return(t=0===t.parameters.length&&null==t.restParameter?"":" using ("+t.toString$0(0)+")")+" {"+C.JSArray_methods.join$1(this.children," ")+"}"}},A.ContentRule0.prototype={accept$1$1(e){return e.visitContentRule$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){var t=this.$arguments;return t.get$isEmpty(0)?"@content;":"@content("+t.toString$0(0)+");"},get$span(e){return this.span}},A._disallowedFunctionNames_closure0.prototype={call$1:e=>e.name,$signature:441},A.CssParser0.prototype={get$plainCss:()=>!0,silentComment$0(){var e,t,r=this;if(r._stylesheet0$_inExpression)return!1;t=(e=r.scanner)._string_scanner$_position,r.super$Parser$silentComment0(),r.error$2(0,P.Silent,r.spanFrom$1(new A._SpanScannerState(e,t)))},atRule$2$root(e,t){var r,n,i,o=this,s=o.scanner,a=new A._SpanScannerState(s,s._string_scanner$_position);return s.expectChar$1(64),r=o.interpolatedIdentifier$0(),o.whitespace$1$consumeNewlines(!0),"at-root"!==(n=r.get$asPlain())&&"content"!==n&&"debug"!==n&&"each"!==n&&"error"!==n&&"extend"!==n&&"for"!==n&&"if"!==n&&"include"!==n&&"mixin"!==n&&"return"!==n&&"warn"!==n&&"while"!==n||o._css$_forbiddenAtRule$1(a),"import"!==n?"function"!==n?s="media"!==n?"-moz-document"!==n?"supports"!==n?o.unknownAtRule$2(a,r):o.supportsRule$1(a):o.mozDocumentRule$2(a,r):o.mediaRule$1(a):(o.whitespace$1$consumeNewlines(!0),s.matches$1("--")?i=o.unknownAtRule$2(a,r):(o.almostAnyValue$0(),o.error$2(0,"This at-rule isn't allowed in plain CSS.",s.spanFrom$1(a)),i=null),s=i):s=o._css$_cssImportRule$1(a),s},_css$_forbiddenAtRule$1(e){this.almostAnyValue$0(),this.error$2(0,"This at-rule isn't allowed in plain CSS.",this.spanFrom$1(e))},_css$_cssImportRule$1(e){var t,r,n,i,o,s,a,l,c,u,d=this,h=d.scanner,p=h._string_scanner$_position,m=h.peekChar$0();return 117!==m&&85!==m?r=d.interpolatedString$0().asInterpolation$1$static(!0):(t=d.dynamicUrl$0())instanceof A.StringExpression0?r=t.text:(n=null,r=!1,t instanceof A.InterpolatedFunctionExpression0?(i=t.name,1===(a=s=(o=t.$arguments).positional).length&&(a=l=s[0])instanceof A.StringExpression0&&(D.StringExpression_2._as(l),(a=o.named).get$isEmpty(a)&&null==o.rest&&(r=null==o.keywordRest),n=l)):i=null,r?(r=new A.StringBuffer(""),(a=new A.InterpolationBuffer0(r,A._setArrayType([],D.JSArray_Object),A._setArrayType([],D.JSArray_nullable_FileSpan))).addInterpolation$1(i),c=A.Primitives_stringFromCharCode(40),r._contents+=c,a.addInterpolation$1(n.asInterpolation$0()),c=A.Primitives_stringFromCharCode(41),r._contents+=c,r=a=a.interpolation$1(t.span)):r=d.error$2(0,"Unsupported plain CSS import.",t.get$span(t))),d.whitespace$1$consumeNewlines(!0),u=d.tryImportModifiers$0(),d.expectStatementSeparator$1("@import rule"),p=A._setArrayType([new A.StaticImport0(r,u,d.spanFrom$1(new A._SpanScannerState(h,p)))],D.JSArray_Import_2),h=d.spanFrom$1(e),new A.ImportRule0(A.List_List$unmodifiable(p,D.Import_2),h)},parentheses$0(){var e,t=this,r=t.scanner,n=r._string_scanner$_position;return r.expectChar$1(40),t.whitespace$1$consumeNewlines(!0),e=t.expressionUntilComma$0(),r.expectChar$1(41),new A.ParenthesizedExpression0(e,t.spanFrom$1(new A._SpanScannerState(r,n)))},identifierLike$0(){var e,t,r,n,i,o=this,s=o.scanner,a=new A._SpanScannerState(s,s._string_scanner$_position),l=o.interpolatedIdentifier$0(),c=l.get$asPlain(),u=c.toLowerCase(),d=o.trySpecialFunction$2(u,a);if(null!=d)return d;if(e=s._string_scanner$_position,s.scanChar$1(46))return o.namespacedExpression$2(c,a);if("if"===u&&40===s.peekChar$0())return o.ifExpression$1(a);if(!s.scanChar$1(40))return new A.StringExpression0(l,!1);if(t="var"===u,r=A._setArrayType([],D.JSArray_Expression_2),!s.scanChar$1(41)){do{if(o.whitespace$1$consumeNewlines(!0),t&&1===r.length&&41===s.peekChar$0()){i=(n=A.FileLocation$_(s._sourceFile,s._string_scanner$_position)).offset,i=A._FileSpan$(n.file,i,i),r.push(new A.StringExpression0(new A.Interpolation0(A.List_List$unmodifiable([""],D.Object),C.List_null,i),!1));break}r.push(o.expressionUntilComma$1$singleEquals(!0)),o.whitespace$1$consumeNewlines(!0)}while(s.scanChar$1(44));s.expectChar$1(41)}return I.$get$_disallowedFunctionNames0().contains$1(0,c)&&o.error$2(0,P.This_f,o.spanFrom$1(a)),s=A.ArgumentList$0(r,C.Map_empty14,C.Map_empty5,o.spanFrom$1(new A._SpanScannerState(s,e)),null,null),e=o.spanFrom$1(a),new A.FunctionExpression0(null,A.stringReplaceAllUnchecked(c,"_","-"),c,s,e)},namespacedExpression$2(e,t){var r=this.super$StylesheetParser$namespacedExpression0(e,t);this.error$2(0,P.Modulen,r.get$span(r))}},A.DebugRule0.prototype={accept$1$1(e){return e.visitDebugRule$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return"@debug "+this.expression.toString$0(0)+";"},get$span(e){return this.span}},A.ModifiableCssDeclaration0.prototype={accept$1$1(e){return e.visitCssDeclaration$1(this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return this.name.toString$0(0)+": "+this.value.toString$0(0)+";"},get$span(e){return this.span}},A.Declaration0.prototype={accept$1$1(e){return e.visitDeclaration$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){var t,r,n=this,i=new A.StringBuffer(""),o=n.name.toString$0(0);return i._contents=o,o=i._contents=o+A.Primitives_stringFromCharCode(58),null!=(t=n.value)&&(n.parsedAsSassScript&&(o=i._contents=o+A.Primitives_stringFromCharCode(32)),i._contents=o+t.toString$0(0)),null!=(r=n.children)?i.toString$0(0)+" {"+C.JSArray_methods.join$1(r," ")+"}":i.toString$0(0)+";"},get$span(e){return this.span}},A.SupportsDeclaration0.prototype={get$isCustomProperty(){var e=this.name;return e instanceof A.StringExpression0&&!e.hasQuotes&&C.JSString_methods.startsWith$1(e.text.get$initialPlain(),"--")},toInterpolation$0(){var e,t,r=null,n=new A.StringBuffer(""),i=D.JSArray_Object,o=D.JSArray_nullable_FileSpan,s=new A.InterpolationBuffer0(n,A._setArrayType([],i),A._setArrayType([],o)),a=this.span,l=this.name,c=A.SpanExtensions_before(a,l.get$span(l));return c=A.String_String$fromCharCodes(C.NativeUint32List_methods.sublist$2(c.file._decodedChars,c._file$_start,c._end),0,r),n._contents+=c,l instanceof A.StringExpression0&&!l.hasQuotes?s.addInterpolation$1(l.text):s.add$2(0,l,l.get$span(l)),c=this.value,l=A.SpanExtensions_between(l.get$span(l),c.get$span(c)),l=A.String_String$fromCharCodes(C.NativeUint32List_methods.sublist$2(l.file._decodedChars,l._file$_start,l._end),0,r),n._contents+=l,e=new A.SourceInterpolationVisitor(new A.InterpolationBuffer0(new A.StringBuffer(""),A._setArrayType([],i),A._setArrayType([],o))),c.accept$1(e),null!=(t=null==(o=e.buffer)?r:o.interpolation$1(c.get$span(c)))?s.addInterpolation$1(t):s.add$2(0,c,c.get$span(c)),i=A.SpanExtensions_after(a,c.get$span(c)),i=A.String_String$fromCharCodes(C.NativeUint32List_methods.sublist$2(i.file._decodedChars,i._file$_start,i._end),0,r),n._contents+=i,s.interpolation$1(a)},withSpan$1(e){return new A.SupportsDeclaration0(this.name,this.value,e)},toString$0(e){return"("+this.name.toString$0(0)+": "+this.value.toString$0(0)+")"},$isAstNode0:1,$isSassNode:1,$isSupportsCondition:1,get$span(e){return this.span}},A.DefaultLogger0.prototype={get$_default0$_inner(){var e=I._default0;return null==e&&(e=I._default0=new A.StderrLogger0(A.hasTerminal0()||A.isBrowser())),e},internalWarn$4$deprecation$span$trace(e,t,r,n){return this.get$_default0$_inner().internalWarn$4$deprecation$span$trace(e,t,r,n)},debug$2(e,t,r){return this.get$_default0$_inner().debug$2(0,t,r)}},A.Deprecation0.prototype={_enumToString$0(){return"Deprecation."+this._name},get$deprecatedIn(e){return A.NullableExtension_andThen0(this._deprecation$_deprecatedIn,A.version_Version___parse_tearOff$closure())},get$obsoleteIn(e){var t=this._deprecation$_obsoleteIn;return null==t?null:A.NullableExtension_andThen0(t,A.version_Version___parse_tearOff$closure())},toString$0(e){return this.id}},A.Deprecation_fromId_closure0.prototype={call$1(e){return e.id===this.id},$signature:442},A.DeprecationProcessingLogger0.prototype={validate$0(){var e,t,r,n,i,o=this,s=null;for(e=o.fatalDeprecations,e=A._LinkedHashSetIterator$(e,e._collection$_modifications,A._instanceType(e)._precomputed1),t=o.silenceDeprecations,r=e.$ti._precomputed1;e.moveNext$0();)null==(n=e._collection$_current)&&(n=r._as(n)),(null==(i=n._deprecation$_obsoleteIn)?s:A.Version___parse_tearOff(i))instanceof A.Version?(n=n.toString$0(0),o.internalWarn$4$deprecation$span$trace(n+P.x20deprex20ix2c,s,s,s)):t.contains$1(0,n)&&(n=n.toString$0(0),o.internalWarn$4$deprecation$span$trace("Ignoring setting to silence "+n+P.x20deprex2c,s,s,s));for(t=(e=A._LinkedHashSetIterator$(t,t._collection$_modifications,A._instanceType(t)._precomputed1)).$ti._precomputed1,r=o.futureDeprecations;e.moveNext$0();)null==(n=e._collection$_current)&&(n=t._as(n)),C.Deprecation_kGe!==n?(null==(i=n._deprecation$_obsoleteIn)?s:A.Version___parse_tearOff(i))instanceof A.Version&&(n=n.toString$0(0),o.internalWarn$4$deprecation$span$trace(n+P.x20deprex20ix2e,s,s,s)):o.internalWarn$4$deprecation$span$trace(P.User_a,s,s,s);for(t=(e=A._LinkedHashSetIterator$(r,r._collection$_modifications,A._instanceType(r)._precomputed1)).$ti._precomputed1;e.moveNext$0();)r=(null==(r=e._collection$_current)?t._as(r):r).toString$0(0),o.internalWarn$4$deprecation$span$trace(r+P.x20is_noaf,s,s,s)},internalWarn$4$deprecation$span$trace(e,t,r,n){null!=t?this._deprecation_processing$_handleDeprecation$4$span$trace(t,e,r,n):this._deprecation_processing$_inner.internalWarn$4$deprecation$span$trace(e,null,r,n)},_deprecation_processing$_handleDeprecation$4$span$trace(e,t,r,n){var i,o,s,a,l,c,u=this,d=null;if(u.fatalDeprecations.contains$1(0,e))throw t+=P.x0a_This+e.toString$0(0)+P.x20deprex20t,o=!1,(i=null!=r)?(o=null!=n,s=r,a=n):a=s=d,o?(i&&(n=a),o=A.SassRuntimeException$0(t,s,null==n?D.Trace._as(n):n,d)):(o=!1,null!=r?o=null==(i?a:n):r=d,o=o?A.SassException$0(t,r,d):A.SassScriptException$0(t,d)),A.wrapException(o);u.silenceDeprecations.contains$1(0,e)||u.limitRepetition&&(c=(null==(l=(o=u._deprecation_processing$_warningCounts).$index(0,e))?0:l)+1,o.$indexSet(0,e,c),c>5)||u._deprecation_processing$_inner.internalWarn$4$deprecation$span$trace(t,e,r,n)},debug$2(e,t,r){return this._deprecation_processing$_inner.debug$2(0,t,r)},summarize$1$js(e){var t=this._deprecation_processing$_warningCounts,r=A._instanceType(t)._eval$1("LinkedHashMapValuesIterable<2>"),n=A.IterableIntegerExtension_get_sum(new A.MappedIterable(new A.WhereIterable(new A.LinkedHashMapValuesIterable(t,r),new A.DeprecationProcessingLogger_summarize_closure1,r._eval$1("WhereIterable<Iterable.E>")),new A.DeprecationProcessingLogger_summarize_closure2,r._eval$1("MappedIterable<Iterable.E,int>")));n>0&&(t=e?"":P.x0aRun_i,this._deprecation_processing$_inner.internalWarn$4$deprecation$span$trace(""+n+P.x20repet+t,null,null,null))}},A.DeprecationProcessingLogger_summarize_closure1.prototype={call$1:e=>e>5,$signature:50},A.DeprecationProcessingLogger_summarize_closure2.prototype={call$1:e=>e-5,$signature:157},A.Deprecation1.prototype={},A.deprecations_closure.prototype={call$0(){var e,t,r,n=this.deprecation;return(e=null==A.NullableExtension_andThen0(n._deprecation$_deprecatedIn,A.version_Version___parse_tearOff$closure()))?r=t=null==n.get$obsoleteIn(0):(t=null,r=!1),r=r?"user":(e?t:null==n.get$obsoleteIn(0))?"active":"obsolete"},$signature:29},A.parseDeprecations_closure.prototype={call$0(){return new A._SyncStarIterable(this.$call$body$parseDeprecations_closure(),D._SyncStarIterable_Deprecation)},$call$body$parseDeprecations_closure(){var e=this;return function(){var t,r,n,i,o,s,a,l,c,u=0,d=[];return function(h,p,m){for(1===p&&(d.push(m),u=1);;)switch(u){case 0:t=w.get$iterator$ax(e.deprecations),r=D.Deprecation_2,n=e.supportVersions,i=e.logger;case 2:if(!t.moveNext$0()){u=3;break}o=t.get$current(t),a=(s="string"==typeof o)?o:null,u=s?4:5;break;case 4:l=A.Deprecation_fromId0(a),u=null==l?6:8;break;case 6:i.internalWarn$4$deprecation$span$trace('Invalid deprecation "'+A.S(a)+'".',null,null,null),u=7;break;case 8:return u=9,h._async$_current=l,1;case 9:case 7:u=2;break;case 5:s=r._is(o),a=s?w.get$id$x(o):null,u=s?10:11;break;case 10:l=A.Deprecation_fromId0(a),u=null==l?12:14;break;case 12:i.internalWarn$4$deprecation$span$trace('Invalid deprecation "'+A.S(a)+'".',null,null,null),u=13;break;case 14:return u=15,h._async$_current=l,1;case 15:case 13:u=2;break;case 11:o instanceof A.Version?(s=n,c=o):(c=null,s=!1),u=s?16:17;break;case 16:return u=18,h._yieldStar$1(A.Deprecation_forVersion0(c));case 18:case 17:u=2;break;case 3:return 0;case 1:return h._datum=d.at(-1),3}}}},$signature:443},A.versionClass_closure.prototype={call$0(){var e=D.JSClass,t=e._as(A.allowInteropCaptureThisNamed("sass.Version",new A.versionClass__closure));return t.parse=A.allowInteropNamed("parse",new A.versionClass__closure0),A.JSClassExtension_injectSuperclass(e._as(A.Version_Version(0,0,0,null).constructor),t),t},$signature:17},A.versionClass__closure.prototype={call$4:(e,t,r,n)=>A.Version_Version(t,r,n,null),"call*":"call$4",$requiredArgCount:4,$signature:444},A.versionClass__closure0.prototype={call$1(e){var t=A.Version_Version$parse(e);if(0!==t.preRelease.length||0!==t.build.length)throw A.wrapException(A.FormatException$("Build identifiers and prerelease versions not supported.",null,null));return t},$signature:235},A.DisplayP3ColorSpace0.prototype={get$isBoundedInternal:()=>!0,convert$5(e,t,r,n,i){var o;return e===C.DisplayP3LinearColorSpace_PrP0?(o=this.get$toLinear(),o=A.SassColor_SassColor$forSpaceInternal0(e,A.NullableExtension_andThen0(t,o),A.NullableExtension_andThen0(r,o),A.NullableExtension_andThen0(n,o),i)):o=this.super$ColorSpace$convertLinear0(e,t,r,n,i,!1,!1,!1,!1,!1),o},toLinear$1:e=>A.srgbAndDisplayP3ToLinear0(e),fromLinear$1:e=>A.srgbAndDisplayP3FromLinear0(e),transformationMatrix$1(e){return C.SrgbLinearColorSpace_kUj0!==e&&C.SrgbColorSpace_thf0!==e&&C.RgbColorSpace_i0P0!==e?C.A98RgbColorSpace_lf20!==e?C.ProphotoRgbColorSpace_BDz0!==e?C.Rec2020ColorSpace_6oo0!==e?C.XyzD65ColorSpace_WiJ0!==e?C.XyzD50ColorSpace_2OB0!==e?C.LmsColorSpace_Os30!==e?this.super$ColorSpace$transformationMatrix0(e):I.$get$linearDisplayP3ToLms0():I.$get$linearDisplayP3ToXyzD500():I.$get$linearDisplayP3ToXyzD650():I.$get$linearDisplayP3ToLinearRec20200():I.$get$linearDisplayP3ToLinearProphotoRgb0():I.$get$linearDisplayP3ToLinearA98Rgb0():I.$get$linearDisplayP3ToLinearSrgb0()}},A.DisplayP3LinearColorSpace0.prototype={get$isBoundedInternal:()=>!0,convert$5(e,t,r,n,i){return e===C.DisplayP3ColorSpace_MmT0?A.SassColor_SassColor$forSpaceInternal0(e,A.NullableExtension_andThen0(t,A.utils2__srgbAndDisplayP3FromLinear$closure()),A.NullableExtension_andThen0(r,A.utils2__srgbAndDisplayP3FromLinear$closure()),A.NullableExtension_andThen0(n,A.utils2__srgbAndDisplayP3FromLinear$closure()),i):this.super$ColorSpace$convert0(e,t,r,n,i)},toLinear$1:e=>e,fromLinear$1:e=>e,transformationMatrix$1(e){return C.SrgbLinearColorSpace_kUj0!==e&&C.SrgbColorSpace_thf0!==e&&C.RgbColorSpace_i0P0!==e?C.A98RgbColorSpace_lf20!==e?C.ProphotoRgbColorSpace_BDz0!==e?C.Rec2020ColorSpace_6oo0!==e?C.XyzD65ColorSpace_WiJ0!==e?C.XyzD50ColorSpace_2OB0!==e?C.LmsColorSpace_Os30!==e?this.super$ColorSpace$transformationMatrix0(e):I.$get$linearDisplayP3ToLms0():I.$get$linearDisplayP3ToXyzD500():I.$get$linearDisplayP3ToXyzD650():I.$get$linearDisplayP3ToLinearRec20200():I.$get$linearDisplayP3ToLinearProphotoRgb0():I.$get$linearDisplayP3ToLinearA98Rgb0():I.$get$linearDisplayP3ToLinearSrgb0()}},A.DynamicImport0.prototype={toString$0(e){return A.StringExpression_quoteText0(this.urlString)},$isImport0:1,$isAstNode0:1,$isSassNode:1,get$span(e){return this.span}},A.EachRule0.prototype={accept$1$1(e){return e.visitEachRule$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){var t=this.variables;return"@each "+new A.MappedListIterable(t,new A.EachRule_toString_closure0,A._arrayInstanceType(t)._eval$1("MappedListIterable<1,String>")).join$1(0,", ")+" in "+this.list.toString$0(0)+" {"+C.JSArray_methods.join$1(this.children," ")+"}"},get$span(e){return this.span}},A.EachRule_toString_closure0.prototype={call$1:e=>"$"+e,$signature:6},A.EmptyExtensionStore0.prototype={get$_extension_store$_extensions(){return A.throwExpression(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this,A.JSInvocationMirror$(C.Symbol__extensions,"get$_empty_extension_store0$_extensions",1,[],[],0)))},get$_extension_store$_sourceSpecificity(){return A.throwExpression(A.NoSuchMethodError_NoSuchMethodError$withInvocation(this,A.JSInvocationMirror$(C.Symbol__sourceSpecificity,"get$_empty_extension_store0$_sourceSpecificity",1,[],[],0)))},get$isEmpty:e=>!0,get$simpleSelectors:()=>C.C_EmptyUnmodifiableSet0,extensionsWhereTarget$1:e=>C.List_empty21,addSelector$2(e,t){throw A.wrapException(A.UnsupportedError$(P.addSel))},addExtension$4(e,t,r,n){throw A.wrapException(A.UnsupportedError$(P.addExt_))},addExtensions$1(e){throw A.wrapException(A.UnsupportedError$(P.addExts))},clone$0:()=>C.Record2_EmptyExtensionStore_Map_empty0,$isExtensionStore0:1},A.Environment0.prototype={closure$0(){var e,t,r,n=this,i=n._environment0$_forwardedModules,o=n._environment0$_nestedForwardedModules,s=n._environment0$_variables;return s=A._setArrayType(s.slice(0),A._arrayInstanceType(s)),e=n._environment0$_variableNodes,e=A._setArrayType(e.slice(0),A._arrayInstanceType(e)),t=n._environment0$_functions,t=A._setArrayType(t.slice(0),A._arrayInstanceType(t)),r=n._environment0$_mixins,r=A._setArrayType(r.slice(0),A._arrayInstanceType(r)),A.Environment$_0(n._environment0$_modules,n._environment0$_namespaceNodes,n._environment0$_globalModules,n._environment0$_importedModules,i,o,n._environment0$_allModules,s,e,t,r,n._environment0$_content,C.Set_empty1)},forwardModule$2(e,t){var r,n,i,o=this,s=o._environment0$_forwardedModules;for(null==s&&(s=o._environment0$_forwardedModules=A.LinkedHashMap_LinkedHashMap$_empty(D.Module_Callable_2,D.AstNode_2)),r=A.ForwardedModuleView_ifNecessary0(e,t,D.Callable_2),n=new A.LinkedHashMapKeyIterator(s,s._modifications,s._first);n.moveNext$0();)i=n.__js_helper$_current,o._environment0$_assertNoConflicts$5(r.get$variables(),i.get$variables(),r,i,"variable"),o._environment0$_assertNoConflicts$5(r.get$functions(r),i.get$functions(i),r,i,"function"),o._environment0$_assertNoConflicts$5(r.get$mixins(),i.get$mixins(),r,i,"mixin");o._environment0$_allModules.push(e),s.$indexSet(0,r,t)},_environment0$_assertNoConflicts$5(e,t,r,n,i){var o,s,a,l,c,u,d,h,p,m;for(e.get$length(e)<t.get$length(t)?(o=t,s=e):(o=e,s=t),a=D.String,l=(l=A.MapExtensions_get_pairs0(s,a,D.Object)).get$iterator(l),c="variable"===i;l.moveNext$0();)if(d=(u=l.get$current(l))._0,h=u._1,null!=(p=o.$index(0,d))&&!(c?r.variableIdentity$1(d)===n.variableIdentity$1(d):w.$eq$(p,h)))throw c&&(d="$"+d),m=null==(l=this._environment0$_forwardedModules)||null==(l=l.$index(0,n))?null:l.get$span(l),l=A.LinkedHashMap_LinkedHashMap$_empty(D.FileSpan,a),null!=m&&l.$indexSet(0,m,"original @forward"),A.wrapException(A.MultiSpanSassScriptException$0("Two forwarded modules both define a "+i+" named "+d+".","new @forward",l))},importForwards$1(e){var t,r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y=this,$=e._environment0$_environment._environment0$_forwardedModules;if(null!=$){if(null!=(t=y._environment0$_forwardedModules)){for(r=D.Module_Callable_2,n=D.AstNode_2,i=A.LinkedHashMap_LinkedHashMap$_empty(r,n),r=(r=A.MapExtensions_get_pairs0($,r,n)).get$iterator(r),n=y._environment0$_globalModules;r.moveNext$0();)e=(o=r.get$current(r))._0,s=o._1,t.containsKey$1(e)&&n.containsKey$1(e)||i.$indexSet(0,e,s);$=i}else t=y._environment0$_forwardedModules=A.LinkedHashMap_LinkedHashMap$_empty(D.Module_Callable_2,D.AstNode_2);for(r=D.String,n=A.LinkedHashSet_LinkedHashSet$_empty(r),i=new A.LinkedHashMapKeyIterator($,$._modifications,$._first);i.moveNext$0();)for(o=(o=(o=i.__js_helper$_current.get$variables()).get$keys(o)).get$iterator(o);o.moveNext$0();)n.add$1(0,o.get$current(o));for(i=A.LinkedHashSet_LinkedHashSet$_empty(r),o=new A.LinkedHashMapKeyIterator($,$._modifications,$._first);o.moveNext$0();)for(a=(a=(a=(a=o.__js_helper$_current).get$functions(a)).get$keys(a)).get$iterator(a);a.moveNext$0();)i.add$1(0,a.get$current(a));for(r=A.LinkedHashSet_LinkedHashSet$_empty(r),o=new A.LinkedHashMapKeyIterator($,$._modifications,$._first);o.moveNext$0();)for(a=(a=(a=o.__js_helper$_current.get$mixins()).get$keys(a)).get$iterator(a);a.moveNext$0();)r.add$1(0,a.get$current(a));if(1===(a=(o=y._environment0$_variables).length)){for(a=y._environment0$_importedModules,l=D.Module_Callable_2,c=D.AstNode_2,d=(u=A.MapExtensions_get_pairs0(a,l,c).toList$0(0)).length,h=D.Callable_2,p=0;p<u.length;u.length===d||(0,A.throwConcurrentModificationError)(u),++p)e=(m=u[p])._0,null!=(_=A.ShadowedModuleView_ifNecessary0(e,i,r,n,h))&&(a.remove$1(0,e),f=!1,(g=_.variables).get$isEmpty(g)&&(g=_.functions).get$isEmpty(g)&&(g=_.mixins).get$isEmpty(g)?(g=(g=_._shadowed_view0$_inner).get$css(g),g=w.get$isEmpty$asx(g.get$children(g))):g=f,g||a.$indexSet(0,_,m._1));for(c=(l=A.MapExtensions_get_pairs0(t,l,c).toList$0(0)).length,p=0;p<l.length;l.length===c||(0,A.throwConcurrentModificationError)(l),++p)e=(u=l[p])._0,null!=(_=A.ShadowedModuleView_ifNecessary0(e,i,r,n,h))&&(t.remove$1(0,e),m=!1,(d=_.variables).get$isEmpty(d)&&(d=_.functions).get$isEmpty(d)&&(d=_.mixins).get$isEmpty(d)?(d=(d=_._shadowed_view0$_inner).get$css(d),d=w.get$isEmpty$asx(d.get$children(d))):d=m,d||t.$indexSet(0,_,u._1));a.addAll$1(0,$),t.addAll$1(0,$)}else{if(null==(l=y._environment0$_nestedForwardedModules)){for(v=a-1,b=w.JSArray_JSArray$allocateGrowable(v,D.List_Module_Callable_2),a=D.JSArray_Module_Callable_2,p=0;p<v;++p)b[p]=A._setArrayType([],a);y._environment0$_nestedForwardedModules=b,a=b}else a=l;C.JSArray_methods.addAll$1(C.JSArray_methods.get$last(a),new A.LinkedHashMapKeysIterable($,A._instanceType($)._eval$1("LinkedHashMapKeysIterable<1>")))}for(n=A._LinkedHashSetIterator$(n,n._collection$_modifications,n.$ti._precomputed1),a=y._environment0$_variableIndices,l=y._environment0$_variableNodes,c=n.$ti._precomputed1;n.moveNext$0();)null==(u=n._collection$_current)&&(u=c._as(u)),a.remove$1(0,u),C.JSArray_methods.get$last(o).remove$1(0,u),C.JSArray_methods.get$last(l).remove$1(0,u);for(n=A._LinkedHashSetIterator$(i,i._collection$_modifications,i.$ti._precomputed1),i=y._environment0$_functionIndices,o=y._environment0$_functions,a=n.$ti._precomputed1;n.moveNext$0();)null==(l=n._collection$_current)&&(l=a._as(l)),i.remove$1(0,l),C.JSArray_methods.get$last(o).remove$1(0,l);for(r=A._LinkedHashSetIterator$(r,r._collection$_modifications,r.$ti._precomputed1),n=y._environment0$_mixinIndices,i=y._environment0$_mixins,o=r.$ti._precomputed1;r.moveNext$0();)null==(a=r._collection$_current)&&(a=o._as(a)),n.remove$1(0,a),C.JSArray_methods.get$last(i).remove$1(0,a)}},getVariable$2$namespace(e,t){var r,n,i,o=this;return null!=t?o._environment0$_getModule$1(t).get$variables().$index(0,e):o._environment0$_lastVariableName===e?((r=o._environment0$_lastVariableIndex).toString,null==(r=o._environment0$_variables[r].$index(0,e))?o._environment0$_getVariableFromGlobalModule$1(e):r):null!=(n=(r=o._environment0$_variableIndices).$index(0,e))?(o._environment0$_lastVariableName=e,o._environment0$_lastVariableIndex=n,null==(r=o._environment0$_variables[n].$index(0,e))?o._environment0$_getVariableFromGlobalModule$1(e):r):null!=(i=o._environment0$_variableIndex$1(e))?(o._environment0$_lastVariableName=e,o._environment0$_lastVariableIndex=i,r.$indexSet(0,e,i),null==(r=o._environment0$_variables[i].$index(0,e))?o._environment0$_getVariableFromGlobalModule$1(e):r):o._environment0$_getVariableFromGlobalModule$1(e)},getVariable$1(e){return this.getVariable$2$namespace(e,null)},_environment0$_getVariableFromGlobalModule$1(e){return this._environment0$_fromOneModule$3(e,"variable",new A.Environment__getVariableFromGlobalModule_closure0(e))},getVariableNode$2$namespace(e,t){var r,n,i,o=this;return null!=t?o._environment0$_getModule$1(t).get$variableNodes().$index(0,e):o._environment0$_lastVariableName===e?((r=o._environment0$_lastVariableIndex).toString,null==(r=o._environment0$_variableNodes[r].$index(0,e))?o._environment0$_getVariableNodeFromGlobalModule$1(e):r):null!=(n=(r=o._environment0$_variableIndices).$index(0,e))?(o._environment0$_lastVariableName=e,o._environment0$_lastVariableIndex=n,null==(r=o._environment0$_variableNodes[n].$index(0,e))?o._environment0$_getVariableNodeFromGlobalModule$1(e):r):null!=(i=o._environment0$_variableIndex$1(e))?(o._environment0$_lastVariableName=e,o._environment0$_lastVariableIndex=i,r.$indexSet(0,e,i),null==(r=o._environment0$_variableNodes[i].$index(0,e))?o._environment0$_getVariableNodeFromGlobalModule$1(e):r):o._environment0$_getVariableNodeFromGlobalModule$1(e)},_environment0$_getVariableNodeFromGlobalModule$1(e){var t,r,n;for(t=this._environment0$_importedModules,r=this._environment0$_globalModules,r=new A.LinkedHashMapKeysIterable(t,A._instanceType(t)._eval$1("LinkedHashMapKeysIterable<1>")).followedBy$1(0,new A.LinkedHashMapKeysIterable(r,A._instanceType(r)._eval$1("LinkedHashMapKeysIterable<1>"))),r=new A.FollowedByIterator(w.get$iterator$ax(r.__internal$_first),r._second);r.moveNext$0();)if(null!=(n=(t=r._currentIterator).get$current(t).get$variableNodes().$index(0,e)))return n;return null},globalVariableExists$2$namespace(e,t){return null!=t?this._environment0$_getModule$1(t).get$variables().containsKey$1(e):!!C.JSArray_methods.get$first(this._environment0$_variables).containsKey$1(e)||null!=this._environment0$_getVariableFromGlobalModule$1(e)},globalVariableExists$1(e){return this.globalVariableExists$2$namespace(e,null)},_environment0$_variableIndex$1(e){var t,r;for(r=(t=this._environment0$_variables).length-1;r>=0;--r)if(t[r].containsKey$1(e))return r;return null},setVariable$5$global$namespace(e,t,r,n,i){var o,s,a,l,c,u,d,h,p=this;if(null==i){if(n||1===p._environment0$_variables.length)return p._environment0$_variableIndices.putIfAbsent$2(e,new A.Environment_setVariable_closure2(p,e)),o=p._environment0$_variables,C.JSArray_methods.get$first(o).containsKey$1(e)||null==(s=p._environment0$_fromOneModule$3(e,"variable",new A.Environment_setVariable_closure3(e)))?(C.JSArray_methods.get$first(o).$indexSet(0,e,t),void C.JSArray_methods.get$first(p._environment0$_variableNodes).$indexSet(0,e,r)):void s.setVariable$3(e,t,r);if(null!=(a=p._environment0$_nestedForwardedModules)&&!p._environment0$_variableIndices.containsKey$1(e)&&null==p._environment0$_variableIndex$1(e))for(o=A._arrayInstanceType(a)._eval$1("ReversedListIterable<1>"),l=new A.ReversedListIterable(a,o),l=new A.ListIterator(l,l.get$length(0),o._eval$1("ListIterator<ListIterable.E>")),o=o._eval$1("ListIterable.E");l.moveNext$0();)for(c=l.__internal$_current,u=(c=w.get$reversed$ax(null==c?o._as(c):c)).$ti,c=new A.ListIterator(c,c.get$length(0),u._eval$1("ListIterator<ListIterable.E>")),u=u._eval$1("ListIterable.E");c.moveNext$0();)if(null==(d=c.__internal$_current)&&(d=u._as(d)),d.get$variables().containsKey$1(e))return void d.setVariable$3(e,t,r);p._environment0$_lastVariableName===e?((o=p._environment0$_lastVariableIndex).toString,h=o):h=p._environment0$_variableIndices.putIfAbsent$2(e,new A.Environment_setVariable_closure4(p,e)),p._environment0$_inSemiGlobalScope||0!==h||(h=p._environment0$_variables.length-1,p._environment0$_variableIndices.$indexSet(0,e,h)),p._environment0$_lastVariableName=e,p._environment0$_lastVariableIndex=h,p._environment0$_variables[h].$indexSet(0,e,t),p._environment0$_variableNodes[h].$indexSet(0,e,r)}else p._environment0$_getModule$1(i).setVariable$3(e,t,r)},setVariable$4$global(e,t,r,n){return this.setVariable$5$global$namespace(e,t,r,n,null)},setLocalVariable$3(e,t,r){var n,i=this,o=i._environment0$_variables,s=o.length;i._environment0$_lastVariableName=e,n=i._environment0$_lastVariableIndex=s-1,i._environment0$_variableIndices.$indexSet(0,e,n),o[n].$indexSet(0,e,t),i._environment0$_variableNodes[n].$indexSet(0,e,r)},getFunction$2$namespace(e,t){var r,n,i,o=this;return null!=t?(r=o._environment0$_getModule$1(t)).get$functions(r).$index(0,e):null!=(n=(r=o._environment0$_functionIndices).$index(0,e))?null==(r=o._environment0$_functions[n].$index(0,e))?o._environment0$_getFunctionFromGlobalModule$1(e):r:null!=(i=o._environment0$_functionIndex$1(e))?(r.$indexSet(0,e,i),null==(r=o._environment0$_functions[i].$index(0,e))?o._environment0$_getFunctionFromGlobalModule$1(e):r):o._environment0$_getFunctionFromGlobalModule$1(e)},getFunction$1(e){return this.getFunction$2$namespace(e,null)},_environment0$_getFunctionFromGlobalModule$1(e){return this._environment0$_fromOneModule$3(e,"function",new A.Environment__getFunctionFromGlobalModule_closure0(e))},_environment0$_functionIndex$1(e){var t,r;for(r=(t=this._environment0$_functions).length-1;r>=0;--r)if(t[r].containsKey$1(e))return r;return null},getMixin$2$namespace(e,t){var r,n,i,o=this;return null!=t?o._environment0$_getModule$1(t).get$mixins().$index(0,e):null!=(n=(r=o._environment0$_mixinIndices).$index(0,e))?null==(r=o._environment0$_mixins[n].$index(0,e))?o._environment0$_getMixinFromGlobalModule$1(e):r:null!=(i=o._environment0$_mixinIndex$1(e))?(r.$indexSet(0,e,i),null==(r=o._environment0$_mixins[i].$index(0,e))?o._environment0$_getMixinFromGlobalModule$1(e):r):o._environment0$_getMixinFromGlobalModule$1(e)},_environment0$_getMixinFromGlobalModule$1(e){return this._environment0$_fromOneModule$3(e,"mixin",new A.Environment__getMixinFromGlobalModule_closure0(e))},_environment0$_mixinIndex$1(e){var t,r;for(r=(t=this._environment0$_mixins).length-1;r>=0;--r)if(t[r].containsKey$1(e))return r;return null},withContent$2(e,t){var r=this._environment0$_content;this._environment0$_content=e,t.call$0(),this._environment0$_content=r},asMixin$1(e){var t=this._environment0$_inMixin;this._environment0$_inMixin=!0,e.call$0(),this._environment0$_inMixin=t},scope$1$3$semiGlobal$when(e,t,r){var n,i,o,s,a,l,c,u,d,h,p=this;if(t=t&&p._environment0$_inSemiGlobalScope,n=p._environment0$_inSemiGlobalScope,p._environment0$_inSemiGlobalScope=t,!r)try{return a=e.call$0()}finally{p._environment0$_inSemiGlobalScope=n}a=p._environment0$_variables,l=D.String,C.JSArray_methods.add$1(a,A.LinkedHashMap_LinkedHashMap$_empty(l,D.Value_2)),c=p._environment0$_variableNodes,C.JSArray_methods.add$1(c,A.LinkedHashMap_LinkedHashMap$_empty(l,D.AstNode_2)),u=p._environment0$_functions,d=D.Callable_2,C.JSArray_methods.add$1(u,A.LinkedHashMap_LinkedHashMap$_empty(l,d)),h=p._environment0$_mixins,C.JSArray_methods.add$1(h,A.LinkedHashMap_LinkedHashMap$_empty(l,d)),null!=(d=p._environment0$_nestedForwardedModules)&&d.push(A._setArrayType([],D.JSArray_Module_Callable_2));try{return l=e.call$0()}finally{for(p._environment0$_inSemiGlobalScope=n,p._environment0$_lastVariableIndex=p._environment0$_lastVariableName=null,a=(a=(a=C.JSArray_methods.removeLast$0(a)).get$keys(a)).get$iterator(a),l=p._environment0$_variableIndices;a.moveNext$0();)i=a.get$current(a),l.remove$1(0,i);for(C.JSArray_methods.removeLast$0(c),a=(a=(a=C.JSArray_methods.removeLast$0(u)).get$keys(a)).get$iterator(a),l=p._environment0$_functionIndices;a.moveNext$0();)o=a.get$current(a),l.remove$1(0,o);for(a=(a=(a=C.JSArray_methods.removeLast$0(h)).get$keys(a)).get$iterator(a),l=p._environment0$_mixinIndices;a.moveNext$0();)s=a.get$current(a),l.remove$1(0,s);null!=(a=p._environment0$_nestedForwardedModules)&&a.pop()}},scope$1$1(e){return this.scope$1$3$semiGlobal$when(e,!1,!0)},scope$1$2$when(e,t){return this.scope$1$3$semiGlobal$when(e,!1,t)},scope$1$2$semiGlobal(e,t){return this.scope$1$3$semiGlobal$when(e,t,!0)},toImplicitConfiguration$0(){var e,t,r,n,i,o,s,a,l,c,u,d,h,p,m,_=this,g=null,f=D.String,v=A.LinkedHashMap_LinkedHashMap$_empty(f,D.ConfiguredValue_2);for(e=_._environment0$_variables,t=D.Value_2,r=_._environment0$_variableNodes,n=_._environment0$_importedModules,i=A._instanceType(n)._eval$1("LinkedHashMapKeysIterable<1>"),o=0;o<e.length;++o){for(s=0===o?new A.LinkedHashMapKeysIterable(n,i):null==(a=_._environment0$_nestedForwardedModules)?g:a[o-1],a=w.get$iterator$ax(null==s?C.List_empty25:s);a.moveNext$0();)for(l=a.get$current(a),c=(c=A.MapExtensions_get_pairs0(l.get$variables(),f,t)).get$iterator(c);c.moveNext$0();)d=(u=c.get$current(c))._0,h=u._1,(u=l.get$variableNodes().$index(0,d)).toString,v.$indexSet(0,d,new A.ConfiguredValue0(h,g,u));for(p=e[o],m=r[o],a=(a=A.MapExtensions_get_pairs0(p,f,t)).get$iterator(a);a.moveNext$0();)d=(l=a.get$current(a))._0,h=l._1,(l=m.$index(0,d)).toString,v.$indexSet(0,d,new A.ConfiguredValue0(h,g,l))}return new A.Configuration0(v,g)},toModule$3(e,t,r){return A._EnvironmentModule__EnvironmentModule1(this,e,t,r,A.NullableExtension_andThen0(this._environment0$_forwardedModules,new A.Environment_toModule_closure0))},toDummyModule$0(){return A._EnvironmentModule__EnvironmentModule1(this,new A.CssStylesheet0(new A.UnmodifiableListView(C.List_empty20,D.UnmodifiableListView_CssNode_2),A.SourceFile$decoded(C.List_empty4,"<dummy module>").span$1(0,0)),C.Map_empty10,C.C_EmptyExtensionStore0,A.NullableExtension_andThen0(this._environment0$_forwardedModules,new A.Environment_toDummyModule_closure0))},_environment0$_getModule$1(e){var t=this._environment0$_modules.$index(0,e);if(null!=t)return t;throw A.wrapException(A.SassScriptException$0('There is no module with the namespace "'+e+'".',null))},_environment0$_fromOneModule$1$3(e,t,r){var n,i,o,s,a,l,c,u,d,h,p,m,_,g=this._environment0$_nestedForwardedModules;if(null!=g)for(n=A._arrayInstanceType(g)._eval$1("ReversedListIterable<1>"),i=new A.ReversedListIterable(g,n),i=new A.ListIterator(i,i.get$length(0),n._eval$1("ListIterator<ListIterable.E>")),n=n._eval$1("ListIterable.E");i.moveNext$0();)for(o=i.__internal$_current,s=(o=w.get$reversed$ax(null==o?n._as(o):o)).$ti,o=new A.ListIterator(o,o.get$length(0),s._eval$1("ListIterator<ListIterable.E>")),s=s._eval$1("ListIterable.E");o.moveNext$0();)if(a=o.__internal$_current,null!=(l=r.call$1(null==a?s._as(a):a)))return l;for(n=this._environment0$_importedModules,n=new A.LinkedHashMapKeyIterator(n,n._modifications,n._first);n.moveNext$0();)if(null!=(c=r.call$1(n.__js_helper$_current)))return c;for(n=this._environment0$_globalModules,i=new A.LinkedHashMapKeyIterator(n,n._modifications,n._first),o=D.Callable_2,u=null,d=null;i.moveNext$0();)if(s=i.__js_helper$_current,null!=(h=r.call$1(s))&&!(p=o._is(h)?h:s.variableIdentity$1(e)).$eq(0,d)){if(null!=u){for(i=A.LinkedHashMap_LinkedHashMap$_empty(D.FileSpan,D.String),o=(o=A.MapExtensions_get_pairs0(n,D.Module_Callable_2,D.AstNode_2)).get$iterator(o),s="includes "+t;o.moveNext$0();)m=(n=o.get$current(o))._0,_=n._1,null!=r.call$1(m)&&i.$indexSet(0,_.get$span(_),s);throw A.wrapException(A.MultiSpanSassScriptException$0("This "+t+P.x20is_av,t+" use",i))}d=p,u=h}return u},_environment0$_fromOneModule$3(e,t,r){return this._environment0$_fromOneModule$1$3(e,t,r,D.dynamic)}},A.Environment__getVariableFromGlobalModule_closure0.prototype={call$1(e){return e.get$variables().$index(0,this.name)},$signature:447},A.Environment_setVariable_closure2.prototype={call$0(){var e=this.$this;return e._environment0$_lastVariableName=this.name,e._environment0$_lastVariableIndex=0},$signature:10},A.Environment_setVariable_closure3.prototype={call$1(e){return e.get$variables().containsKey$1(this.name)?e:null},$signature:448},A.Environment_setVariable_closure4.prototype={call$0(){var e=this.$this,t=e._environment0$_variableIndex$1(this.name);return null==t?e._environment0$_variables.length-1:t},$signature:10},A.Environment__getFunctionFromGlobalModule_closure0.prototype={call$1(e){return e.get$functions(e).$index(0,this.name)},$signature:237},A.Environment__getMixinFromGlobalModule_closure0.prototype={call$1(e){return e.get$mixins().$index(0,this.name)},$signature:237},A.Environment_toModule_closure0.prototype={call$1:e=>new A.MapKeySet(e,D.MapKeySet_Module_Callable_2),$signature:238},A.Environment_toDummyModule_closure0.prototype={call$1:e=>new A.MapKeySet(e,D.MapKeySet_Module_Callable_2),$signature:238},A._EnvironmentModule1.prototype={get$url(e){var t=this.css;return(t=t.get$span(t)).get$sourceUrl(t)},setVariable$3(e,t,r){var n,i,o=this._environment0$_modulesByVariable.$index(0,e);if(null==o){if(i=(n=this._environment0$_environment)._environment0$_variables,!C.JSArray_methods.get$first(i).containsKey$1(e))throw A.wrapException(A.SassScriptException$0("Undefined variable.",null));C.JSArray_methods.get$first(i).$indexSet(0,e,t),C.JSArray_methods.get$first(n._environment0$_variableNodes).$indexSet(0,e,r)}else o.setVariable$3(e,t,r)},variableIdentity$1(e){var t=this._environment0$_modulesByVariable.$index(0,e);return null==t?this:t.variableIdentity$1(e)},couldHaveBeenConfigured$1(e){var t,r,n,i,o,s=this._environment0$_environment._environment0$_configurableVariables;if(e.get$length(e)<s.get$length(s)?e.any$1(0,s.get$contains(s)):s.any$1(0,e.get$contains(e)))s=!0;else{if(s=this._environment0$_modulesByVariable,t=D.Module_Callable_2,e.get$length(e)<s.get$length(s)){for(t=A.LinkedHashSet_LinkedHashSet$_empty(t),r=e.get$iterator(e);r.moveNext$0();)null!=(n=s.$index(0,r.get$current(r)))&&t.add$1(0,n);s=t}else{for(r=A.LinkedHashSet_LinkedHashSet$_empty(t),s=(s=A.MapExtensions_get_pairs0(s,D.String,t)).get$iterator(s);s.moveNext$0();)i=(t=s.get$current(s))._0,o=t._1,e.contains$1(0,i)&&r.add$1(0,o);s=r}s=s.any$1(0,new A._EnvironmentModule_couldHaveBeenConfigured_closure1(e))}return s},cloneCss$0(){var e,t=this;return t.transitivelyContainsCss?(e=A.cloneCssStylesheet0(t.css,t.extensionStore),A._EnvironmentModule$_1(t._environment0$_environment,e._0,t.preModuleComments,e._1,t._environment0$_modulesByVariable,t.variables,t.variableNodes,t.functions,t.mixins,!0,t.transitivelyContainsExtensions)):t},toString$0(e){var t=this.css,r=t.get$span(t);return null==r.get$sourceUrl(r)?t="<unknown url>":(t=(t=t.get$span(t)).get$sourceUrl(t),r=I.$get$context(),t.toString,t=r.prettyUri$1(t)),t},$isModule1:1,get$upstream(){return this.upstream},get$variables(){return this.variables},get$variableNodes(){return this.variableNodes},get$functions(e){return this.functions},get$mixins(){return this.mixins},get$extensionStore(){return this.extensionStore},get$css(e){return this.css},get$preModuleComments(){return this.preModuleComments},get$transitivelyContainsCss(){return this.transitivelyContainsCss},get$transitivelyContainsExtensions(){return this.transitivelyContainsExtensions}},A._EnvironmentModule__EnvironmentModule_closure11.prototype={call$1:e=>e.get$variables(),$signature:451},A._EnvironmentModule__EnvironmentModule_closure12.prototype={call$1:e=>e.get$variableNodes(),$signature:452},A._EnvironmentModule__EnvironmentModule_closure13.prototype={call$1:e=>e.get$functions(e),$signature:239},A._EnvironmentModule__EnvironmentModule_closure14.prototype={call$1:e=>e.get$mixins(),$signature:239},A._EnvironmentModule__EnvironmentModule_closure15.prototype={call$1:e=>e.get$transitivelyContainsCss(),$signature:85},A._EnvironmentModule__EnvironmentModule_closure16.prototype={call$1:e=>e.get$transitivelyContainsExtensions(),$signature:85},A._EnvironmentModule_couldHaveBeenConfigured_closure1.prototype={call$1(e){return e.couldHaveBeenConfigured$1(this.variables)},$signature:85},A.ErrorRule0.prototype={accept$1$1(e){return e.visitErrorRule$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return"@error "+this.expression.toString$0(0)+";"},get$span(e){return this.span}},A._EvaluateVisitor1.prototype={get$_evaluate0$_hasCssNesting(){for(var e,t,r,n=this._evaluate0$_atRootExcludingStyleRule?null:this._evaluate0$_styleRuleIgnoringAtRoot;;n=r){if((e=null==n?null:n._node$_parent)instanceof A.ModifiableCssStyleRule0)return!0;if(r=(t=null!=e)?e:null,!t)return!1}},_EvaluateVisitor$6$functions$importCache$logger$nodeImporter$quietDeps$sourceMap1(e,t,r,n,i,o){var s,a,l,c,u,d,h,p=this,m="$name, $module: null",_="sass:meta",g="$module",f=D.JSArray_BuiltInCallable_2,v=A._setArrayType([A.BuiltInCallable$function0("global-variable-exists",m,new A._EvaluateVisitor_closure25(p),_),A.BuiltInCallable$function0("variable-exists","$name",new A._EvaluateVisitor_closure26(p),_),A.BuiltInCallable$function0("function-exists",m,new A._EvaluateVisitor_closure27(p),_),A.BuiltInCallable$function0("mixin-exists",m,new A._EvaluateVisitor_closure28(p),_),A.BuiltInCallable$function0("content-exists","",new A._EvaluateVisitor_closure29(p),_),A.BuiltInCallable$function0("module-variables",g,new A._EvaluateVisitor_closure30(p),_),A.BuiltInCallable$function0("module-functions",g,new A._EvaluateVisitor_closure31(p),_),A.BuiltInCallable$function0("module-mixins",g,new A._EvaluateVisitor_closure32(p),_),A.BuiltInCallable$function0("get-function","$name, $css: false, $module: null",new A._EvaluateVisitor_closure33(p),_),A.BuiltInCallable$function0("get-mixin",m,new A._EvaluateVisitor_closure34(p),_),A.BuiltInCallable$function0("call","$function, $args...",new A._EvaluateVisitor_closure35(p),_)],f),b=A._setArrayType([A.BuiltInCallable$mixin0("load-css","$url, $with: null",new A._EvaluateVisitor_closure36(p),!1,_),A.BuiltInCallable$mixin0("apply","$mixin, $args...",new A._EvaluateVisitor_closure37(p),!0,_)],f);for(f=D.BuiltInCallable_2,s=A.List_List$_of(I.$get$moduleFunctions0(),f),C.JSArray_methods.addAll$1(s,v),a=A.BuiltInModule$0("meta",s,b,null,f),(f=A.List_List$_of(I.$get$coreModules0(),D.BuiltInModule_Callable_2)).push(a),s=f.length,l=p._evaluate0$_builtInModules,c=0;c<f.length;f.length===s||(0,A.throwConcurrentModificationError)(f),++c)u=f[c],l.$indexSet(0,u.url,u);for(f=D.JSArray_Callable_2,s=A._setArrayType([],f),C.JSArray_methods.addAll$1(s,e),C.JSArray_methods.addAll$1(s,I.$get$globalFunctions0()),f=A._setArrayType([],f),c=0;c<11;++c)f.push(v[c].withDeprecationWarning$1("meta"));for(C.JSArray_methods.addAll$1(s,f),f=s.length,l=p._evaluate0$_builtInFunctions,c=0;c<s.length;s.length===f||(0,A.throwConcurrentModificationError)(s),++c)h=(d=s[c]).get$name(d),l.$indexSet(0,A.stringReplaceAllUnchecked(h,"_","-"),d)},run$2(e,t,r){var n,i,o;try{return o=D.nullable_Object,o=A.runZoned(new A._EvaluateVisitor_run_closure1(this,r,t),A.LinkedHashMap_LinkedHashMap$_literal([C.Symbol__evaluationContext,new A._EvaluationContext1(this,r)],o,o),D.Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2)}catch(e){if(!((o=A.unwrapException(e))instanceof A.SassException0))throw e;n=o,i=A.getTraceFromException(e),A.throwWithTrace0(n.withLoadedUrls$1(this._evaluate0$_loadedUrls),n,i)}},_evaluate0$_assertInModule$1$2(e,t){if(null!=e)return e;throw A.wrapException(A.StateError$("Can't access "+t+" outside of a module."))},_evaluate0$_assertInModule$2(e,t){return this._evaluate0$_assertInModule$1$2(e,t,D.dynamic)},_evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(e,t,r,n,i,o,s){var a,l=this,c=l._evaluate0$_builtInModules.$index(0,e),u={builtInModule:null};if(null==c)l._evaluate0$_withStackFrame$3(t,r,new A._EvaluateVisitor__loadModule_closure4(l,e,r,i,s,o,n));else{if(u.builtInModule=c,o instanceof A.ExplicitConfiguration0)throw u=s?"Built-in module "+e.toString$0(0)+" can't be configured.":"Built-in modules can't be configured.",a=o.nodeWithSpan,A.wrapException(l._evaluate0$_exception$2(u,a.get$span(a)));l._evaluate0$_addExceptionSpan$2(r,new A._EvaluateVisitor__loadModule_closure3(u,n))}},_evaluate0$_loadModule$5$configuration(e,t,r,n,i){return this._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(e,t,r,n,null,i,!1)},_evaluate0$_loadModule$4(e,t,r,n){return this._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(e,t,r,n,null,null,!1)},_evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(e,t,r,n,i){var o,s,a,l,c,u,d,h,p,m,_,g,f=this,v=t.span,b=v.get$sourceUrl(v);if(o=(v=null==r)?f._evaluate0$_configuration:r,null!=(a=(s=f._evaluate0$_modules).$index(0,b))){if((s=null==(l=(s=f._evaluate0$_moduleConfigurations.$index(0,b))._configuration0$__originalConfiguration)?s:l)!==(null==(l=o._configuration0$__originalConfiguration)?o:l)&&o instanceof A.ExplicitConfiguration0&&a.couldHaveBeenConfigured$1(new A.MapKeySet(new A.UnmodifiableMapView(o._configuration0$_values,D.UnmodifiableMapView_String_ConfiguredValue_2),D.MapKeySet_String)))throw n?(s=I.$get$context(),b.toString,c=s.prettyUri$1(b)+P.x20was_a):c=P.This_mw,u=null==(s=f._evaluate0$_moduleNodes.$index(0,b))?null:s.get$span(s),d=v?(v=o.nodeWithSpan).get$span(v):null,v=A.LinkedHashMap_LinkedHashMap$_empty(D.FileSpan,D.String),null!=u&&v.$indexSet(0,u,"original load"),null!=d&&v.$indexSet(0,d,"configuration"),A.wrapException(v.get$isEmpty(0)?f._evaluate0$_exception$1(c):f._evaluate0$_multiSpanException$3(c,"new load",v));return a}return h=A.Environment$0(),p=A._Cell$(),m=A._Cell$(),_=A.ExtensionStore$0(),f._evaluate0$_withEnvironment$2(h,new A._EvaluateVisitor__execute_closure1(f,e,t,_,r,p,m)),v=p._readLocal$0(),l=m._readLocal$0(),g=h.toModule$3(v,null==l?C.Map_empty10:l,_),null!=b&&(s.$indexSet(0,b,g),f._evaluate0$_moduleConfigurations.$indexSet(0,b,o),null!=i&&f._evaluate0$_moduleNodes.$indexSet(0,b,i)),g},_evaluate0$_execute$2(e,t){return this._evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(e,t,null,!1,null)},_evaluate0$_addOutOfOrderImports$0(){var e,t,r=this,n="_root",i="_endOfImports",o=r._evaluate0$_outOfOrderImports;return null!=o?(e=r._evaluate0$_assertInModule$2(r._evaluate0$__root,n).children,e=A.List_List$_of(A.SubListIterable$(e,0,A.checkNotNullable(r._evaluate0$_assertInModule$2(r._evaluate0$__endOfImports,i),"count",D.int),e.$ti._eval$1("ListBase.E")),D.ModifiableCssNode_2),C.JSArray_methods.addAll$1(e,o),t=r._evaluate0$_assertInModule$2(r._evaluate0$__root,n).children,C.JSArray_methods.addAll$1(e,A.SubListIterable$(t,r._evaluate0$_assertInModule$2(r._evaluate0$__endOfImports,i),null,t.$ti._eval$1("ListBase.E")))):e=r._evaluate0$_assertInModule$2(r._evaluate0$__root,n).children,e},_evaluate0$_combineCss$2$clone(e,t){var r,n,i,o,s,a,l;return C.JSArray_methods.any$1(e.get$upstream(),new A._EvaluateVisitor__combineCss_closure3)?(i=D.JSArray_CssNode_2,o=A._setArrayType([],i),s=A._setArrayType([],i),i=D.Module_Callable_2,a=A.ListQueue$(i),new A._EvaluateVisitor__combineCss_visitModule1(this,A.LinkedHashSet_LinkedHashSet$_empty(i),t,s,o,a).call$1(e),e.get$transitivelyContainsExtensions()&&this._evaluate0$_extendModules$1(a),i=C.JSArray_methods.$add(o,s),l=e.get$css(e),new A.CssStylesheet0(new A.UnmodifiableListView(i,D.UnmodifiableListView_CssNode_2),l.get$span(l))):(r=e.get$extensionStore().get$simpleSelectors(),null!=(n=A.IterableExtension_get_firstOrNull(e.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__combineCss_closure4(r))))&&this._evaluate0$_throwForUnsatisfiedExtension$1(n),e.get$css(e))},_evaluate0$_combineCss$1(e){return this._evaluate0$_combineCss$2$clone(e,!1)},_evaluate0$_extendModules$1(e){var t,r,n,i,o,s,a,l,c,u,d=A.LinkedHashMap_LinkedHashMap$_empty(D.Uri,D.List_ExtensionStore_2),h=new A._LinkedIdentityHashSet(D._LinkedIdentityHashSet_Extension_2);for(r=(t=A._ListQueueIterator$(e,e.$ti._precomputed1)).$ti._precomputed1;t.moveNext$0();)if(null==(n=t._collection$_current)&&(n=r._as(n)),i=n.get$extensionStore().get$simpleSelectors().toSet$0(0),h.addAll$1(0,n.get$extensionStore().extensionsWhereTarget$1(new A._EvaluateVisitor__extendModules_closure3(i))),o=d.$index(0,n.get$url(n)),s=n.get$extensionStore().get$addExtensions(),null!=o&&s.call$1(o),!(s=n.get$extensionStore()).get$isEmpty(s)){for(a=(s=n.get$upstream()).length,l=0;l<s.length;s.length===a||(0,A.throwConcurrentModificationError)(s),++l)null!=(u=(c=s[l]).get$url(c))&&w.add$1$ax(d.putIfAbsent$2(u,new A._EvaluateVisitor__extendModules_closure4),n.get$extensionStore());h.removeAll$1(n.get$extensionStore().extensionsWhereTarget$1(i.get$contains(i)))}0!==h._collection$_length&&this._evaluate0$_throwForUnsatisfiedExtension$1(h.get$first(0))},_evaluate0$_throwForUnsatisfiedExtension$1(e){throw A.wrapException(A.SassException$0(P.The_ta+e.target.toString$0(0)+' !optional" to avoid this error.',e.span,null))},_evaluate0$_indexAfterImports$1(e){var t,r,n,i;for(t=w.getInterceptor$asx(e),r=-1,n=0;n<t.get$length(e);++n){if(!((i=t.$index(e,n))instanceof A.ModifiableCssImport0)){if(i instanceof A.ModifiableCssComment0)continue;break}r=n}return r+1},visitStylesheet$1(e,t){var r,n,i,o,s,a;for(n=(r=t.parseTimeWarnings).$ti,r=new A.ListIterator(r,r.get$length(0),n._eval$1("ListIterator<ListBase.E>")),n=n._eval$1("ListBase.E");r.moveNext$0();)null==(i=r.__internal$_current)&&(i=n._as(i)),this._evaluate0$_warn$3(i._1,i._2,i._0);for(n=(r=t.children).length,o=0;o<n;++o)r[o].accept$1(this);for(r=(r=A.MapExtensions_get_pairs0(t.globalVariables,D.String,D.FileSpan)).get$iterator(r);r.moveNext$0();)s=(n=r.get$current(r))._0,a=n._1,this.visitVariableDeclaration$1(0,new A.VariableDeclaration0(null,s,new A.NullExpression0(a),!0,!1,a));return null},visitAtRootRule$1(e,t){var r,n,i,o,s,a,l,c,u,d=this,h=null,p="__parent",m=t.query,_=null!=m?new A.AtRootQueryParser0(A.SpanScanner$(d._evaluate0$_performInterpolationWithMap$2$warnForColor(m,!0)._0,h),h).parse$0(0):C.AtRootQuery_bfj0,g=d._evaluate0$_assertInModule$2(d._evaluate0$__parent,p),f=A._setArrayType([],D.JSArray_ModifiableCssParentNode_2);for(r=D.CssStylesheet_2;!r._is(g);g=n)if(_.excludes$1(g)||f.push(g),null==(n=g._node$_parent))throw A.wrapException(A.StateError$(P.CssNod));if((i=d._evaluate0$_trimIncluded$1(f))===d._evaluate0$_assertInModule$2(d._evaluate0$__parent,p))return d._evaluate0$_environment.scope$1$2$when(new A._EvaluateVisitor_visitAtRootRule_closure3(d,t),t.hasDeclarations,D.Null),h;if(f.length>=1){for(o=f[0],s=C.JSArray_methods.sublist$1(f,1),a=o.copyWithoutChildren$0(),r=s.length,l=a,c=0;c<s.length;s.length===r||(0,A.throwConcurrentModificationError)(s),++c,l=u)(u=s[c].copyWithoutChildren$0()).addChild$1(l);i.addChild$1(l)}else a=i;return d._evaluate0$_scopeForAtRoot$4(t,a,_,f).call$1(new A._EvaluateVisitor_visitAtRootRule_closure4(d,t)),h},_evaluate0$_trimIncluded$1(e){var t,r,n,i,o,s,a,l,c=this,u=null,d="_root",h=" to be an ancestor of ";if(0===e.length)return c._evaluate0$_assertInModule$2(c._evaluate0$__root,d);for(t=c._evaluate0$_assertInModule$2(c._evaluate0$__parent,"__parent"),r=e.length,n=u,i=0;i<r;++i,t=a){for(;t!==(o=e[i]);n=u,t=s)if(null==(s=t._node$_parent))throw A.wrapException(A.ArgumentError$("Expected "+o.toString$0(0)+h+c.toString$0(0)+".",u));if(null==n&&(n=i),null==(a=t._node$_parent))throw A.wrapException(A.ArgumentError$("Expected "+o.toString$0(0)+h+c.toString$0(0)+".",u))}return t!==c._evaluate0$_assertInModule$2(c._evaluate0$__root,d)?c._evaluate0$_assertInModule$2(c._evaluate0$__root,d):(n.toString,l=e[n],C.JSArray_methods.removeRange$2(e,n,e.length),l)},_evaluate0$_scopeForAtRoot$4(e,t,r,n){var i=this,o=new A._EvaluateVisitor__scopeForAtRoot_closure11(i,t,e);return(r._at_root_query0$_all||r._at_root_query0$_rule)!==r.include&&(o=new A._EvaluateVisitor__scopeForAtRoot_closure12(i,o)),null!=i._evaluate0$_mediaQueries&&r.excludesName$1("media")&&(o=new A._EvaluateVisitor__scopeForAtRoot_closure13(i,o)),i._evaluate0$_inKeyframes&&r.excludesName$1("keyframes")&&(o=new A._EvaluateVisitor__scopeForAtRoot_closure14(i,o)),i._evaluate0$_inUnknownAtRule&&!C.JSArray_methods.any$1(n,new A._EvaluateVisitor__scopeForAtRoot_closure15)?new A._EvaluateVisitor__scopeForAtRoot_closure16(i,o):o},visitContentBlock$1:(e,t)=>A.throwExpression(A.UnsupportedError$(P.Evalua)),visitContentRule$1(e,t){var r=this._evaluate0$_environment._environment0$_content;return null==r||this._evaluate0$_runUserDefinedCallable$1$4(t.$arguments,r,t,new A._EvaluateVisitor_visitContentRule_closure1(this,r),D.Null),null},visitDebugRule$1(e,t){var r=t.expression.accept$1(this),n=r instanceof A.SassString0?r._string0$_text:A.serializeValue0(r,!0,!0);return this._evaluate0$_logger.debug$2(0,n,t.span),null},visitDeclaration$1(e,t){var r,n,i,o,s,a,l,c,u,d=this,h=null;if(null==(d._evaluate0$_atRootExcludingStyleRule?h:d._evaluate0$_styleRuleIgnoringAtRoot)&&!d._evaluate0$_inUnknownAtRule&&!d._evaluate0$_inKeyframes)throw A.wrapException(d._evaluate0$_exception$2(P.Declarm,t.span));if(null!=d._evaluate0$_declarationName&&!t.parsedAsSassScript)throw r=C.JSString_methods.startsWith$1(t.name.get$initialPlain(),"--")?P.Declarw:P.Declarp,A.wrapException(d._evaluate0$_exception$2(r,t.span));return n=d._evaluate0$_interpolationToValue$2$warnForColor(t.name,!0),null!=(i=d._evaluate0$_declarationName)&&(n=new A.CssValue0(i+"-"+n.value,n.span,D.CssValue_String_2)),null!=(o=t.value)&&((s=o.accept$1(d)).get$isBlank()&&0!==s.get$asList().length&&!C.JSString_methods.startsWith$1(n.value,"--")||(d._evaluate0$_copyParentAfterSibling$0(),r=d._evaluate0$_assertInModule$2(d._evaluate0$__parent,"__parent"),a=o.get$span(o),l=d._evaluate0$_sourceMap?null==(l=A.NullableExtension_andThen0(o,d.get$_evaluate0$_expressionNode()))?h:w.get$span$x(l):h,r.addChild$1(A.ModifiableCssDeclaration$0(n,new A.CssValue0(s,a,D.CssValue_Value_2),t.span,t.parsedAsSassScript,l)))),c=t.children,(r={}).children=null,null!=c&&(r.children=c,u=d._evaluate0$_declarationName,d._evaluate0$_declarationName=n.value,d._evaluate0$_environment.scope$1$2$when(new A._EvaluateVisitor_visitDeclaration_closure1(r,d),t.hasDeclarations,D.Null),d._evaluate0$_declarationName=u),h},visitEachRule$1(e,t){var r=this,n=t.list,i=n.accept$1(r),o=r._evaluate0$_expressionNode$1(n),s=t.variables;return(n={}).variable=null,1!==s.length?((n={}).variables=null,n.variables=s,n=new A._EvaluateVisitor_visitEachRule_closure6(n,r,o)):(n.variable=s[0],n=new A._EvaluateVisitor_visitEachRule_closure5(n,r,o)),r._evaluate0$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitEachRule_closure7(r,i,n,t),!0,D.nullable_Value_2)},_evaluate0$_setMultipleVariables$3(e,t,r){var n,i=t.get$asList(),o=e.length,s=Math.min(o,i.length);for(n=0;n<s;++n)this._evaluate0$_environment.setLocalVariable$3(e[n],this._evaluate0$_withoutSlash$2(i[n],r),r);for(n=s;n<o;++n)this._evaluate0$_environment.setLocalVariable$3(e[n],C.C__SassNull0,r)},visitErrorRule$1(e,t){throw A.wrapException(this._evaluate0$_exception$2(t.expression.accept$1(this).toString$0(0),t.span))},visitExtendRule$1(e,t){var r,n,i,o,s,a,l,c,u,d,h,p,m,_=this,g=null,f=_._evaluate0$_atRootExcludingStyleRule?g:_._evaluate0$_styleRuleIgnoringAtRoot;if(null==f||null!=_._evaluate0$_declarationName)throw A.wrapException(_._evaluate0$_exception$2(P.x40exten,t.span));for(n=(r=f.originalSelector.components).length,i=t.span,o=D.SourceSpan,s=D.String,a=0;a<n;++a)(l=r[a]).accept$1(C._IsBogusVisitor_true0)&&(c=A._SerializeVisitor$0(g,!0,g,g,!0,!1,g,!0),l.accept$1(c),u=C.JSString_methods.trim$0(c._serialize0$_buffer.toString$0(0)),d=l.accept$1(C.C__IsUselessVisitor0)?"can't":"shouldn't",_._evaluate0$_warn$3('The selector "'+u+'" is invalid CSS and '+d+P.x20be_an,new A.MultiSpan0(A.SpanExtensions_trimRight0(l.span),"invalid selector",A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([i,"@extend rule"],o,s),o,s)),C.Deprecation_2PR));for(h=_._evaluate0$_performInterpolationWithMap$2$warnForColor(t.selector,!0),n=(r=A.SelectorList_SelectorList$parse0(A.trimAscii0(h._0,!0),!1,h._1,!1).components).length,i=f._style_rule0$_selector._box0$_inner,a=0;a<n;++a){if(null==(p=(l=r[a]).get$singleCompound()))throw A.wrapException(A.SassFormatException$0("complex selectors may not be extended.",l.span,g));if(null==(m=1===(o=p.components).length?C.JSArray_methods.get$first(o):g))throw A.wrapException(A.SassFormatException$0(P.compou+C.JSArray_methods.join$1(o,", ")+P.x60_inst,p.span,g));_._evaluate0$_assertInModule$2(_._evaluate0$__extensionStore,"_extensionStore").addExtension$4(i.value,m,t,_._evaluate0$_mediaQueries)}return g},visitAtRule$1(e,t){var r,n,i,o,s,a,l=this;if(null!=l._evaluate0$_declarationName)throw A.wrapException(l._evaluate0$_exception$2(P.At_rul,t.span));return r=l._evaluate0$_interpolationToValue$1(t.name),n=A.NullableExtension_andThen0(t.value,new A._EvaluateVisitor_visitAtRule_closure7(l)),null==(i=t.children)?(l._evaluate0$_copyParentAfterSibling$0(),l._evaluate0$_assertInModule$2(l._evaluate0$__parent,"__parent").addChild$1(A.ModifiableCssAtRule$0(r,t.span,!0,n)),null):(o=l._evaluate0$_inKeyframes,s=l._evaluate0$_inUnknownAtRule,"keyframes"===A.unvendor0(r.value)?l._evaluate0$_inKeyframes=!0:l._evaluate0$_inUnknownAtRule=!0,a=A.ModifiableCssAtRule$0(r,t.span,!1,n),l.get$_evaluate0$_hasCssNesting()?(l._evaluate0$_withParent$2$3$scopeWhen(a,new A._EvaluateVisitor_visitAtRule_closure8(l,i),t.hasDeclarations,D.ModifiableCssAtRule_2,D.Null),l._evaluate0$_inUnknownAtRule=s,l._evaluate0$_inKeyframes=o,null):(l._evaluate0$_withParent$2$4$scopeWhen$through(a,new A._EvaluateVisitor_visitAtRule_closure9(l,r,i),t.hasDeclarations,new A._EvaluateVisitor_visitAtRule_closure10,D.ModifiableCssAtRule_2,D.Null),l._evaluate0$_inUnknownAtRule=s,l._evaluate0$_inKeyframes=o,null))},visitForRule$1(e,t){var r=this,n={},i=t.from,o=r._evaluate0$_addExceptionSpan$2(i,new A._EvaluateVisitor_visitForRule_closure9(r,t)),s=t.to,a=r._evaluate0$_addExceptionSpan$2(s,new A._EvaluateVisitor_visitForRule_closure10(r,t)),l=r._evaluate0$_addExceptionSpan$2(i,new A._EvaluateVisitor_visitForRule_closure11(o)),c=n.to=r._evaluate0$_addExceptionSpan$2(s,new A._EvaluateVisitor_visitForRule_closure12(a,o)),u=l>c?-1:1;return l===(t.isExclusive?c:n.to=c+u)?null:r._evaluate0$_environment.scope$1$2$semiGlobal(new A._EvaluateVisitor_visitForRule_closure13(n,r,t,l,u,o),!0,D.nullable_Value_2)},visitForwardRule$1(e,t){var r,n,i,o,s,a=this,l="@forward",c=a._evaluate0$_configuration,u=c.throughForward$1(t),d=t.configuration,h=d.length,p=t.url;if(0!==h){for(r=a._evaluate0$_addForwardConfiguration$2(u,t),a._evaluate0$_loadModule$5$configuration(p,l,t,new A._EvaluateVisitor_visitForwardRule_closure3(a,t),r),p=D.String,n=A.LinkedHashSet_LinkedHashSet$_empty(p),i=0;i<h;++i)(o=d[i]).isGuarded||n.add$1(0,o.name);for(a._evaluate0$_removeUsedConfiguration$3$except(u,r,n),p=A.LinkedHashSet_LinkedHashSet$_empty(p),i=0;i<h;++i)p.add$1(0,d[i].name);for(n=(h=(h=(d=r._configuration0$_values).get$keys(d)).toList$0(h)).length,i=0;i<h.length;h.length===n||(0,A.throwConcurrentModificationError)(h),++i)s=h[i],p.contains$1(0,s)||d.get$isEmpty(d)||d.remove$1(0,s);a._evaluate0$_assertConfigurationIsEmpty$1(r)}else a._evaluate0$_configuration=u,a._evaluate0$_loadModule$4(p,l,t,new A._EvaluateVisitor_visitForwardRule_closure4(a,t)),a._evaluate0$_configuration=c;return null},_evaluate0$_addForwardConfiguration$2(e,t){var r,n,i,o,s,a,l,c,u,d=null,h=e._configuration0$_values,p=A.LinkedHashMap_LinkedHashMap$of(new A.UnmodifiableMapView(h,D.UnmodifiableMapView_String_ConfiguredValue_2),D.String,D.ConfiguredValue_2);for(n=(r=t.configuration).length,i=0;i<n;++i)(o=r[i]).isGuarded&&(s=o.name,null!=(a=h.get$isEmpty(h)?d:h.remove$1(0,s))?(l=!a.value.$eq(0,C.C__SassNull0),c=a):(c=d,l=!1),l)?p.$indexSet(0,s,c):(s=o.expression,u=this._evaluate0$_expressionNode$1(s),p.$indexSet(0,o.name,new A.ConfiguredValue0(this._evaluate0$_withoutSlash$2(s.accept$1(this),u),o.span,u)));return e instanceof A.ExplicitConfiguration0||h.get$isEmpty(h)?new A.ExplicitConfiguration0(t,p,d):new A.Configuration0(p,d)},_evaluate0$_registerCommentsForModule$1(e){var t=this,r="_root",n=t._evaluate0$__root;null!=n&&0!==t._evaluate0$_assertInModule$2(n,r).children.get$length(0)&&e.get$transitivelyContainsCss()&&(null==(n=t._evaluate0$_preModuleComments)&&(n=t._evaluate0$_preModuleComments=A.LinkedHashMap_LinkedHashMap$_empty(D.Module_Callable_2,D.List_CssComment_2)),w.addAll$1$ax(n.putIfAbsent$2(e,new A._EvaluateVisitor__registerCommentsForModule_closure1),new A.UnmodifiableListView(w.cast$1$0$ax(t._evaluate0$_assertInModule$2(t._evaluate0$__root,r).children._collection$_source,D.CssComment_2),D.UnmodifiableListView_CssComment_2)),t._evaluate0$_assertInModule$2(t._evaluate0$__root,r).clearChildren$0(),t._evaluate0$__endOfImports=0)},_evaluate0$_removeUsedConfiguration$3$except(e,t,r){var n,i,o,s,a,l;for(o=(i=(i=(n=e._configuration0$_values).get$keys(n)).toList$0(i)).length,s=t._configuration0$_values,a=0;a<i.length;i.length===o||(0,A.throwConcurrentModificationError)(i),++a)l=i[a],r.contains$1(0,l)||s.containsKey$1(l)||n.get$isEmpty(n)||n.remove$1(0,l)},_evaluate0$_assertConfigurationIsEmpty$2$nameInError(e,t){var r,n;if(e instanceof A.ExplicitConfiguration0&&!(r=e._configuration0$_values).get$isEmpty(r))throw n=(r=A.MapExtensions_get_pairs0(new A.UnmodifiableMapView(r,D.UnmodifiableMapView_String_ConfiguredValue_2),D.String,D.ConfiguredValue_2)).get$first(r),r=t?"$"+n._0+P.x20was_n:P.This_v,A.wrapException(this._evaluate0$_exception$2(r,n._1.configurationSpan))},_evaluate0$_assertConfigurationIsEmpty$1(e){return this._evaluate0$_assertConfigurationIsEmpty$2$nameInError(e,!1)},visitFunctionRule$1(e,t){var r=this._evaluate0$_environment,n=r.closure$0(),i=this._evaluate0$_inDependency,o=r._environment0$_functions,s=o.length-1,a=t.name;return r._environment0$_functionIndices.$indexSet(0,a,s),o[s].$indexSet(0,a,new A.UserDefinedCallable0(t,n,i,D.UserDefinedCallable_Environment_2)),null},visitIfRule$1(e,t){var r,n,i,o,s=t.lastClause;for(n=(r=t.clauses).length,i=0;i<n;++i)if((o=r[i]).expression.accept$1(this).get$isTruthy()){s=o;break}return A.NullableExtension_andThen0(s,new A._EvaluateVisitor_visitIfRule_closure1(this))},visitImportRule$1(e,t){var r,n,i,o,s,a,l,c,u,d,h,p,m=this,_="__parent",g="_root",f="_endOfImports";for(n=(r=t.imports).length,i=D.CssValue_String_2,o=m.get$_evaluate0$_interpolationToValue(),s=D.StaticImport_2,a=D.JSArray_ModifiableCssImport_2,l=0;l<n;++l)(c=r[l])instanceof A.DynamicImport0?m._evaluate0$_visitDynamicImport$1(c):(s._as(c),u=c.url,d=m._evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(u,!1,!1),p=null==(h=c.modifiers)?null:o.call$1(h),t=new A.ModifiableCssImport0(new A.CssValue0(d._0,u.span,i),p,c.span),m._evaluate0$_assertInModule$2(m._evaluate0$__parent,_)!==m._evaluate0$_assertInModule$2(m._evaluate0$__root,g)?(m._evaluate0$_copyParentAfterSibling$0(),m._evaluate0$_assertInModule$2(m._evaluate0$__parent,_).addChild$1(t)):m._evaluate0$_assertInModule$2(m._evaluate0$__endOfImports,f)===w.get$length$asx(m._evaluate0$_assertInModule$2(m._evaluate0$__root,g).children._collection$_source)?(u=m._evaluate0$_assertInModule$2(m._evaluate0$__root,g),t._node$_parent=u,u=u._node$_children,t._node$_indexInParent=u.length,u.push(t),m._evaluate0$__endOfImports=m._evaluate0$_assertInModule$2(m._evaluate0$__endOfImports,f)+1):(null==(u=m._evaluate0$_outOfOrderImports)?m._evaluate0$_outOfOrderImports=A._setArrayType([],a):u).push(t));return null},_evaluate0$_visitDynamicImport$1(e){return this._evaluate0$_withStackFrame$3("@import",e,new A._EvaluateVisitor__visitDynamicImport_closure1(this,e))},_evaluate0$_loadStylesheet$4$baseUrl$forImport(e,t,r,n){var i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y=this,$="_stylesheet";try{if(y._evaluate0$_importSpan=t,i=y._evaluate0$_importCache,o=null,null!=i&&(o=i,null==r&&(r=(v=y._evaluate0$_assertInModule$2(y._evaluate0$__stylesheet,$).span).get$sourceUrl(v)),s=w.canonicalize$4$baseImporter$baseUrl$forImport$x(o,A.Uri_parse(e),y._evaluate0$_importer,r,n),a=null,l=null,c=null,D.Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl._is(s)&&(a=s._0,l=s._1,c=s._2,""===l.get$scheme()&&A.WarnForDeprecation_warnForDeprecation0(y._evaluate0$_logger,C.Deprecation_Vc9,"Importer "+A.S(a)+" canonicalized "+e+" to "+A.S(l)+P.x2e_Rela,null,null),y._evaluate0$_loadedUrls.add$1(0,l),u=y._evaluate0$_inDependency||!w.$eq$(a,y._evaluate0$_importer),d=o.importCanonical$3$originalUrl(a,l,c),null!=d)))return v=d,b=a,new A._Record_3_importer_isDependency(v,b,u);if(null!=y._nodeImporter&&(null==(v=r)&&(v=(v=y._evaluate0$_assertInModule$2(y._evaluate0$__stylesheet,$).span).get$sourceUrl(v)),h=y._importLikeNode$3(e,v,n),p=null,null!=h))return v=(p=h)._0.span,b=y._evaluate0$_loadedUrls,A.NullableExtension_andThen0(v.get$sourceUrl(v),b.get$add(b)),b=p;throw(v=C.JSString_methods.startsWith$1(e,"package:"))?A.wrapException(P.x22packa):A.wrapException("Can't find stylesheet to import.")}catch(e){if((v=A.unwrapException(e))instanceof A.SassException0)throw e;v instanceof A.ArgumentError?(m=v,_=A.getTraceFromException(e),A.throwWithTrace0(y._evaluate0$_exception$1(w.toString$0$(m)),m,_)):(g=v,f=A.getTraceFromException(e),A.throwWithTrace0(y._evaluate0$_exception$1(y._evaluate0$_getErrorMessage$1(g)),g,f))}finally{y._evaluate0$_importSpan=null}},_evaluate0$_loadStylesheet$3$baseUrl(e,t,r){return this._evaluate0$_loadStylesheet$4$baseUrl$forImport(e,t,r,!1)},_evaluate0$_loadStylesheet$3$forImport(e,t,r){return this._evaluate0$_loadStylesheet$4$baseUrl$forImport(e,t,null,r)},_importLikeNode$3(e,t,r){var n,i,o=this._nodeImporter,s=o.loadRelative$3(e,t,r);if(null!=s)n=this._evaluate0$_inDependency;else{if(null==(s=o.load$3(0,e,t,r)))return null;n=!0}return i=s._1,o=C.JSString_methods.startsWith$1(i,"file")?A.Syntax_forPath0(i):C.Syntax_SCSS_0_scss0,new A._Record_3_importer_isDependency(A.Stylesheet_Stylesheet$parse0(s._0,o,!1,i),null,n)},_evaluate0$_applyMixin$5(e,t,r,n,i){var o,s,a,l,c=this,u="Mixin doesn't accept a content block.",d="invocation";if(null==e)throw A.wrapException(c._evaluate0$_exception$2("Undefined mixin.",n.get$span(n)));if((o=e instanceof A.BuiltInCallable0)&&!e.acceptsContent&&null!=t)throw o=c._evaluate0$_evaluateArguments$1(r)._values,s=e.callbackFor$2(o[2].length,new A.MapKeySet(o[0],D.MapKeySet_String)),A.wrapException(A.MultiSpanSassRuntimeException$0(u,i.get$span(i),d,A.LinkedHashMap_LinkedHashMap$_literal([s._0.get$spanWithName(),"declaration"],D.FileSpan,D.String),c._evaluate0$_stackTrace$1(i.get$span(i)),null));if(o)c._evaluate0$_environment.withContent$2(t,new A._EvaluateVisitor__applyMixin_closure3(c,r,e,i));else{if(a=!1,(o=D.UserDefinedCallable_Environment_2._is(e))&&(l=e.declaration)instanceof A.MixinRule0&&(a=!D.MixinRule_2._as(l).get$hasContent()&&null!=t),a)throw A.wrapException(A.MultiSpanSassRuntimeException$0(u,i.get$span(i),d,A.LinkedHashMap_LinkedHashMap$_literal([e.declaration.parameters.get$spanWithName(),"declaration"],D.FileSpan,D.String),c._evaluate0$_stackTrace$1(i.get$span(i)),null));if(!o)throw A.wrapException(A.UnsupportedError$("Unknown callable type "+e.toString$0(0)+"."));c._evaluate0$_runUserDefinedCallable$1$4(r,e,i,new A._EvaluateVisitor__applyMixin_closure4(c,t,e,i),D.Null)}},visitIncludeRule$1(e,t){var r=this,n=r._evaluate0$_addExceptionSpan$2(t,new A._EvaluateVisitor_visitIncludeRule_closure5(r,t));if(C.JSString_methods.startsWith$1(t.originalName,"--")&&n instanceof A.UserDefinedCallable0&&!C.JSString_methods.startsWith$1(n.declaration.originalName,"--"))throw A.wrapException(r._evaluate0$_exception$2(P.Sass__m,t.get$nameSpan()));return r._evaluate0$_applyMixin$5(n,A.NullableExtension_andThen0(t.content,new A._EvaluateVisitor_visitIncludeRule_closure6(r)),t.$arguments,t,new A._FakeAstNode0(new A._EvaluateVisitor_visitIncludeRule_closure7(t))),null},visitMixinRule$1(e,t){var r=this._evaluate0$_environment,n=r.closure$0(),i=this._evaluate0$_inDependency,o=r._environment0$_mixins,s=o.length-1,a=t.name;return r._environment0$_mixinIndices.$indexSet(0,a,s),o[s].$indexSet(0,a,new A.UserDefinedCallable0(t,n,i,D.UserDefinedCallable_Environment_2)),null},visitLoudComment$1(e,t){var r,n,i=this,o="__parent",s="_endOfImports";return i._evaluate0$_inFunction||(i._evaluate0$_assertInModule$2(i._evaluate0$__parent,o)===i._evaluate0$_assertInModule$2(i._evaluate0$__root,"_root")&&i._evaluate0$_assertInModule$2(i._evaluate0$__endOfImports,s)===w.get$length$asx(i._evaluate0$_assertInModule$2(i._evaluate0$__root,"_root").children._collection$_source)&&(i._evaluate0$__endOfImports=i._evaluate0$_assertInModule$2(i._evaluate0$__endOfImports,s)+1),r=t.text,n=i._evaluate0$_performInterpolation$1(r),C.JSString_methods.endsWith$1(n,"*/")||(n+=" */"),i._evaluate0$_copyParentAfterSibling$0(),i._evaluate0$_assertInModule$2(i._evaluate0$__parent,o).addChild$1(new A.ModifiableCssComment0(n,r.span))),null},visitMediaRule$1(e,t){var r,n,i,o,s,a,l,c=this,u=null;if(null!=c._evaluate0$_declarationName)throw A.wrapException(c._evaluate0$_exception$2(P.Media_,t.span));return r=c._evaluate0$_performInterpolationWithMap$2$warnForColor(t.query,!0),n=new A.MediaQueryParser0(A.SpanScanner$(r._0,u),r._1).parse$0(0),c.get$_evaluate0$_hasCssNesting()?(c._evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssMediaRule$0(n,t.span),new A._EvaluateVisitor_visitMediaRule_closure7(c,t),!1,D.ModifiableCssMediaRule_2,D.Null),u):(!(o=null==(i=A.NullableExtension_andThen0(c._evaluate0$_mediaQueries,new A._EvaluateVisitor_visitMediaRule_closure8(c,n))))&&w.get$isEmpty$asx(i)||(o?s=C.Set_empty6:((a=c._evaluate0$_mediaQuerySources).toString,a=A.LinkedHashSet_LinkedHashSet$of(a,D.CssMediaQuery_2),(l=c._evaluate0$_mediaQueries).toString,a.addAll$1(0,l),a.addAll$1(0,n),s=a),o=o?n:i,c._evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssMediaRule$0(o,t.span),new A._EvaluateVisitor_visitMediaRule_closure9(c,i,n,s,t),t.hasDeclarations,new A._EvaluateVisitor_visitMediaRule_closure10(s),D.ModifiableCssMediaRule_2,D.Null)),u)},_evaluate0$_mergeMediaQueries$2(e,t){var r,n,i,o,s,a,l,c=A._setArrayType([],D.JSArray_CssMediaQuery_2);for(r=w.get$iterator$ax(e),n=w.getInterceptor$ax(t);r.moveNext$0();)for(i=r.get$current(r),o=n.get$iterator(t);o.moveNext$0();)if(s=i.merge$1(o.get$current(o)),C._SingletonCssMediaQueryMergeResult_00!==s){if(C._SingletonCssMediaQueryMergeResult_10===s)return null;l=(a=s instanceof A.MediaQuerySuccessfulMergeResult0)?s:null,a&&c.push(l.query)}return c},visitReturnRule$1(e,t){var r=t.expression;return this._evaluate0$_withoutSlash$2(r.accept$1(this),r)},visitSilentComment$1:(e,t)=>null,visitStyleRule$1(e,t){var r,n,i,o,s,a,l,c,u,d,h,p,m,_,g=this,f=null,v="__parent",b="_stylesheet";if(null!=g._evaluate0$_declarationName)throw A.wrapException(g._evaluate0$_exception$2(P.Style_n,t.span));if(g._evaluate0$_inKeyframes&&g._evaluate0$_assertInModule$2(g._evaluate0$__parent,v)instanceof A.ModifiableCssKeyframeBlock0)throw A.wrapException(g._evaluate0$_exception$2(P.Style_k,t.span));if((r=t.selector).toString,i=(n=g._evaluate0$_performInterpolationWithMap$2$warnForColor(r,!0))._0,o=n._1,g._evaluate0$_inKeyframes)return g._evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssKeyframeBlock$0(new A.CssValue0(A.List_List$unmodifiable(new A.KeyframeSelectorParser0(A.SpanScanner$(i,f),o).parse$0(0),D.String),r.span,D.CssValue_List_String_2),t.span),new A._EvaluateVisitor_visitStyleRule_closure7(g,t),t.hasDeclarations,new A._EvaluateVisitor_visitStyleRule_closure8,D.ModifiableCssKeyframeBlock_2,D.Null),f;if(s=A.SelectorList_SelectorList$parse0(i,!0,o,g._evaluate0$_assertInModule$2(g._evaluate0$__stylesheet,b).plainCss),r=null==(a=g._evaluate0$_atRootExcludingStyleRule?f:g._evaluate0$_styleRuleIgnoringAtRoot)||!a.fromPlainCss&&!(g._evaluate0$_assertInModule$2(g._evaluate0$__stylesheet,b).plainCss&&s.accept$1(C.C__ContainsParentSelectorVisitor0))){if(g._evaluate0$_assertInModule$2(g._evaluate0$__stylesheet,b).plainCss)for(c=(l=s.components).length,u=0;u<c;++u)if((d=l[u].leadingCombinators).length>=1?(h=d[0],p=g._evaluate0$_assertInModule$2(g._evaluate0$__stylesheet,b).plainCss):(h=f,p=!1),p)throw A.wrapException(g._evaluate0$_exception$2(P.Top_le,h.span));l=null==(l=g._evaluate0$_styleRuleIgnoringAtRoot)?f:l.originalSelector,s=s.nestWithin$3$implicitParent$preserveParentSelectors(l,!g._evaluate0$_atRootExcludingStyleRule,g._evaluate0$_assertInModule$2(g._evaluate0$__stylesheet,b).plainCss)}return m=A.ModifiableCssStyleRule$0(g._evaluate0$_assertInModule$2(g._evaluate0$__extensionStore,"_extensionStore").addSelector$2(s,g._evaluate0$_mediaQueries),t.span,g._evaluate0$_assertInModule$2(g._evaluate0$__stylesheet,b).plainCss,s),_=g._evaluate0$_atRootExcludingStyleRule,l=g._evaluate0$_atRootExcludingStyleRule=!1,r=r?new A._EvaluateVisitor_visitStyleRule_closure9:f,g._evaluate0$_withParent$2$4$scopeWhen$through(m,new A._EvaluateVisitor_visitStyleRule_closure10(g,m,t),t.hasDeclarations,r,D.ModifiableCssStyleRule_2,D.Null),g._evaluate0$_atRootExcludingStyleRule=_,g._evaluate0$_warnForBogusCombinators$1(m),(r=null==(g._evaluate0$_atRootExcludingStyleRule?f:g._evaluate0$_styleRuleIgnoringAtRoot)?!(r=g._evaluate0$_assertInModule$2(g._evaluate0$__parent,v).children).get$isEmpty(r):l)&&((r=g._evaluate0$_assertInModule$2(g._evaluate0$__parent,v).children).get$last(r).isGroupEnd=!0),f},_evaluate0$_warnForBogusCombinators$1(e){var t,r,n,i,o,s,a,l,c,u,d,h,p=this,m=null;if(!e.accept$1(C._IsInvisibleVisitor_false_false0))for(r=(t=e._style_rule0$_selector._box0$_inner.value.components).length,n=D.SourceSpan,i=D.String,o=e.children,s=0;s<r;++s)(a=t[s]).accept$1(C._IsBogusVisitor_true0)&&(a.accept$1(C.C__IsUselessVisitor0)?(l=A._SerializeVisitor$0(m,!0,m,m,!0,!1,m,!0),a.accept$1(l),p._evaluate0$_warn$3('The selector "'+C.JSString_methods.trim$0(l._serialize0$_buffer.toString$0(0))+P.x22x20is_ix20,A.SpanExtensions_trimRight0(a.span),C.Deprecation_2PR)):0!==a.leadingCombinators.length?p._evaluate0$_assertInModule$2(p._evaluate0$__stylesheet,"_stylesheet").plainCss||(l=A._SerializeVisitor$0(m,!0,m,m,!0,!1,m,!0),a.accept$1(l),p._evaluate0$_warn$3('The selector "'+C.JSString_methods.trim$0(l._serialize0$_buffer.toString$0(0))+P.x22x20is_ix0a,A.SpanExtensions_trimRight0(a.span),C.Deprecation_2PR)):(l=A._SerializeVisitor$0(m,!0,m,m,!0,!1,m,!0),a.accept$1(l),c=C.JSString_methods.trim$0(l._serialize0$_buffer.toString$0(0)),u=a.accept$1(C._IsBogusVisitor_false0)?P.x20It_wi:"",d=A.SpanExtensions_trimRight0(a.span),0===o.get$length(0)&&A.throwExpression(A.IterableElementError_noElement()),h=w.get$span$x(o.$index(0,0)),p._evaluate0$_warn$3('The selector "'+c+P.x22x20is_o+u+P.x0aThis_,new A.MultiSpan0(d,"invalid selector",A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([h,"this is not a style rule"+(o.every$1(o,new A._EvaluateVisitor__warnForBogusCombinators_closure1)?"\n(try converting to a //-style comment)":"")],n,i),n,i)),C.Deprecation_2PR)))},visitSupportsRule$1(e,t){var r,n,i=this;if(null!=i._evaluate0$_declarationName)throw A.wrapException(i._evaluate0$_exception$2(P.Suppor,t.span));return r=t.condition,n=A.ModifiableCssSupportsRule$0(new A.CssValue0(i._evaluate0$_visitSupportsCondition$1(r),r.get$span(r),D.CssValue_String_2),t.span),i.get$_evaluate0$_hasCssNesting()?(i._evaluate0$_withParent$2$3$scopeWhen(n,new A._EvaluateVisitor_visitSupportsRule_closure5(i,t),t.hasDeclarations,D.ModifiableCssSupportsRule_2,D.Null),null):(i._evaluate0$_withParent$2$4$scopeWhen$through(n,new A._EvaluateVisitor_visitSupportsRule_closure6(i,t),t.hasDeclarations,new A._EvaluateVisitor_visitSupportsRule_closure7,D.ModifiableCssSupportsRule_2,D.Null),null)},_evaluate0$_visitSupportsCondition$1(e){var t,r=this;return e instanceof A.SupportsOperation0?(t=e.operator,t=r._evaluate0$_parenthesize$2(e.left,t)+" "+t.toString$0(0)+" "+r._evaluate0$_parenthesize$2(e.right,t)):e instanceof A.SupportsNegation0?t="not "+r._evaluate0$_parenthesize$1(e.condition):e instanceof A.SupportsInterpolation0?(t=e.expression,t=r._evaluate0$_serialize$3$quote(t.accept$1(r),t,!1)):((t={}).declaration=null,e instanceof A.SupportsDeclaration0?(t.declaration=e,t=r._evaluate0$_withSupportsDeclaration$1(new A._EvaluateVisitor__visitSupportsCondition_closure1(t,r))):t=e instanceof A.SupportsFunction0?r._evaluate0$_performInterpolation$1(e.name)+"("+r._evaluate0$_performInterpolation$1(e.$arguments)+")":e instanceof A.SupportsAnything0?"("+r._evaluate0$_performInterpolation$1(e.contents)+")":A.throwExpression(A.ArgumentError$("Unknown supports condition type "+A.getRuntimeTypeOfDartObject(e).toString$0(0)+".",null))),t},_evaluate0$_withSupportsDeclaration$1$1(e){var t=this._evaluate0$_inSupportsDeclaration;this._evaluate0$_inSupportsDeclaration=!0;try{return e.call$0()}finally{this._evaluate0$_inSupportsDeclaration=t}},_evaluate0$_withSupportsDeclaration$1(e){return this._evaluate0$_withSupportsDeclaration$1$1(e,D.dynamic)},_evaluate0$_parenthesize$2(e,t){return e instanceof A.SupportsNegation0||e instanceof A.SupportsOperation0&&(null==t||t!==e.operator)?"("+this._evaluate0$_visitSupportsCondition$1(e)+")":this._evaluate0$_visitSupportsCondition$1(e)},_evaluate0$_parenthesize$1(e){return this._evaluate0$_parenthesize$2(e,null)},visitVariableDeclaration$1(e,t){var r,n,i,o,s=this,a=null;if(t.isGuarded){if(null==t.namespace&&1===s._evaluate0$_environment._environment0$_variables.length&&(r=t.name,s._evaluate0$_environment._environment0$_configurableVariables.add$1(0,r),i=(n=s._evaluate0$_configuration._configuration0$_values).get$isEmpty(n)?a:n.remove$1(0,r),(r={}).override=null,null!=i?(r.override=i,n=!i.value.$eq(0,C.C__SassNull0)):n=!1,n))return s._evaluate0$_addExceptionSpan$2(t,new A._EvaluateVisitor_visitVariableDeclaration_closure5(r,s,t)),a;if(null!=(o=s._evaluate0$_addExceptionSpan$2(t,new A._EvaluateVisitor_visitVariableDeclaration_closure6(s,t)))&&!o.$eq(0,C.C__SassNull0))return a}return t.isGlobal&&!s._evaluate0$_environment.globalVariableExists$1(t.name)&&(r=1===s._evaluate0$_environment._environment0$_variables.length?P.As_of_S:P.As_of_R+A.declarationName0(t.span)+": null` at the stylesheet root.",s._evaluate0$_warn$3(r,t.span,C.Deprecation_pwd)),r=t.expression,s._evaluate0$_addExceptionSpan$2(t,new A._EvaluateVisitor_visitVariableDeclaration_closure7(s,t,s._evaluate0$_withoutSlash$2(r.accept$1(s),r))),a},visitUseRule$1(e,t){var r,n,i,o,s,a,l=this,c=t.configuration,u=c.length;if(0!==u){for(r=A.LinkedHashMap_LinkedHashMap$_empty(D.String,D.ConfiguredValue_2),n=0;n<u;++n)o=(i=c[n]).expression,s=l._evaluate0$_expressionNode$1(o),r.$indexSet(0,i.name,new A.ConfiguredValue0(l._evaluate0$_withoutSlash$2(o.accept$1(l),s),i.span,s));a=new A.ExplicitConfiguration0(t,r,null)}else a=C.Configuration_Map_empty_null0;return l._evaluate0$_loadModule$5$configuration(t.url,"@use",t,new A._EvaluateVisitor_visitUseRule_closure1(l,t),a),l._evaluate0$_assertConfigurationIsEmpty$1(a),null},visitWarnRule$1(e,t){var r=this,n=r._evaluate0$_addExceptionSpan$2(t,new A._EvaluateVisitor_visitWarnRule_closure1(r,t)),i=n instanceof A.SassString0?n._string0$_text:r._evaluate0$_serialize$2(n,t.expression),o=r._evaluate0$_stackTrace$1(t.span);return r._evaluate0$_logger.internalWarn$4$deprecation$span$trace(i,null,null,o),null},visitWhileRule$1(e,t){return this._evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitWhileRule_closure1(this,t),!0,t.hasDeclarations,D.nullable_Value_2)},visitBinaryOperationExpression$1(e,t){var r,n=this;if(r=!!n._evaluate0$_assertInModule$2(n._evaluate0$__stylesheet,"_stylesheet").plainCss&&((r=t.operator)!==C.BinaryOperator_g6F0&&r!==C.BinaryOperator_ehp0))throw A.wrapException(n._evaluate0$_exception$2("Operators aren't allowed in plain CSS.",t.get$operatorSpan()));return n._evaluate0$_addExceptionSpan$2(t,new A._EvaluateVisitor_visitBinaryOperationExpression_closure1(n,t))},_evaluate0$_slash$3(e,t,r){var n,i,o=e.dividedBy$1(t),s=e instanceof A.SassNumber0,a=null,l=!1;return s?(t instanceof A.SassNumber0&&(l=r.allowsSlash&&this._evaluate0$_operandAllowsSlash$1(r.left)&&this._evaluate0$_operandAllowsSlash$1(r.right),a=t),n=e,i=t):(i=null,n=null),l?D.SassNumber_2._as(o).withSlash$2(n,a):(l=e instanceof A.SassNumber0&&(s?i:t)instanceof A.SassNumber0)?(this._evaluate0$_warn$3(P.Using__o+A.S((new A._EvaluateVisitor__slash_recommendation1).call$1(r))+" or "+A.expressionToCalc0(r).toString$0(0)+P.x0a_Morex20,r.get$span(0),C.Deprecation_v81),o):o},_evaluate0$_operandAllowsSlash$1(e){var t;return e instanceof A.FunctionExpression0?null==e.namespace?(t=e.name,t=C.Set_Pr3yj.contains$1(0,t.toLowerCase())&&null==this._evaluate0$_environment.getFunction$1(t)):t=!1:t=!0,t},visitValueExpression$1:(e,t)=>t.value,visitVariableExpression$1(e,t){var r=this._evaluate0$_addExceptionSpan$2(t,new A._EvaluateVisitor_visitVariableExpression_closure1(this,t));if(null!=r)return r;throw A.wrapException(this._evaluate0$_exception$2("Undefined variable.",t.span))},visitUnaryOperationExpression$1(e,t){return this._evaluate0$_addExceptionSpan$2(t,new A._EvaluateVisitor_visitUnaryOperationExpression_closure1(t,t.operand.accept$1(this)))},visitBooleanExpression$1:(e,t)=>t.value?C.SassBoolean_true0:C.SassBoolean_false0,visitIfExpression$1(e,t){var r,n,i,o,s,a,l,c,u,d,h=this;for(n=(r=t.branches).length,i=D.JSArray_Record_2_String_and_Value_2,o=null,s=0;s<n;++s)if(l=(a=r[s])._0,c=a._1,null==(u=null==l?null:l.accept$1(h))&&(u=!0),l=(a="string"==typeof u)?u:null,a)null==o&&(o=A._setArrayType([],i)),o.push(new A._Record_2(l,c.accept$1(h)));else if((d=!0===u)&&null!=o)o.push(new A._Record_2("else",c.accept$1(h)));else if(d)return c.accept$1(h);return null==o?C.C__SassNull0:new A.SassString0("if("+new A.MappedListIterable(o,new A._EvaluateVisitor_visitIfExpression_closure1,A._arrayInstanceType(o)._eval$1("MappedListIterable<1,String>")).join$1(0,"; ")+")",!1)},visitIfConditionParenthesized$1(e,t){var r=t.expression.accept$1(this);return"string"!=typeof r?r:"("+r+")"},visitIfConditionNegation$1(e,t){var r=t.expression.accept$1(this);return"string"!=typeof r?A._isBool(r)?!r:A.throwExpression(A.UnsupportedError$("unreachable")):"not "+r},visitIfConditionOperation$1(e,t){var r,n,i,o,s,a,l,c,u,d,h,p,m,_,g;for(n=(r=t.expressions).length,o=(i=t.op)===C.BooleanOperator_00,s=i===C.BooleanOperator_10,a=D.JSArray_Record_2_IfConditionExpression_and_String_2,l=null,c=0;c<n;++c)if(p=(h="string"==typeof(d=(u=r[c]).accept$1(this)))?d:null,h)null==l&&(l=A._setArrayType([],a)),l.push(new A._Record_2(u,p));else{if(!1===d&&o)return!1;if(!0===d&&s)return!0}return null!=l?((m=1===l.length)?r=(_=l[0])._0 instanceof A.IfConditionParenthesized0:(_=null,r=!1),r?(g=(m?_:l[0])._1,r=C.JSString_methods.substring$2(g,1,g.length-1)):r=new A.MappedListIterable(l,new A._EvaluateVisitor_visitIfConditionOperation_closure1,A._arrayInstanceType(l)._eval$1("MappedListIterable<1,String>")).join$1(0," "+i.toString$0(0)+" ")):r=o,r},visitIfConditionFunction$1(e,t){return this._evaluate0$_performInterpolation$1(t.name)+"("+this._evaluate0$_performInterpolation$1(t.$arguments)+")"},visitIfConditionSass$1(e,t){return t.expression.accept$1(this).get$isTruthy()},visitIfConditionRaw$1(e,t){return this._evaluate0$_performInterpolation$1(t.text)},visitLegacyIfExpression$1(e,t){var r,n,i,o,s,a=this,l=a._evaluate0$_evaluateMacroArguments$1(t),c=l._0,u=l._1;return a._evaluate0$_verifyArguments$4(c.length,u,I.$get$LegacyIfExpression_declaration0(),t),null==(r=A.ListExtensions_elementAtOrNull(c,0))&&((n=u.$index(0,"condition")).toString,r=n),null==(i=A.ListExtensions_elementAtOrNull(c,1))&&((n=u.$index(0,"if-true")).toString,i=n),null==(o=A.ListExtensions_elementAtOrNull(c,2))&&((n=u.$index(0,"if-false")).toString,o=n),s=r.accept$1(a).get$isTruthy()?i:o,a._evaluate0$_withoutSlash$2(s.accept$1(a),a._evaluate0$_expressionNode$1(s))},visitNullExpression$1:(e,t)=>C.C__SassNull0,visitNumberExpression$1:(e,t)=>A.SassNumber_SassNumber0(t.value,t.unit),visitParenthesizedExpression$1(e,t){var r=this;return r._evaluate0$_assertInModule$2(r._evaluate0$__stylesheet,"_stylesheet").plainCss?A.throwExpression(r._evaluate0$_exception$2("Parentheses aren't allowed in plain CSS.",t.span)):t.expression.accept$1(r)},visitColorExpression$1:(e,t)=>t.value,visitListExpression$1(e,t){var r=t.contents;return A.SassList$0(new A.MappedListIterable(r,new A._EvaluateVisitor_visitListExpression_closure1(this),A._arrayInstanceType(r)._eval$1("MappedListIterable<1,Value0>")),t.separator,t.hasBrackets)},visitMapExpression$1(e,t){var r,n,i,o,s,a,l,c,u=D.Value_2,d=A.LinkedHashMap_LinkedHashMap$_empty(u,u),h=A.LinkedHashMap_LinkedHashMap$_empty(u,D.AstNode_2);for(n=(r=t.pairs).length,i=0;i<n;++i){if(a=(s=(o=r[i])._0).accept$1(this),l=o._1.accept$1(this),d.containsKey$1(a))throw c=null==(u=h.$index(0,a))?null:u.get$span(u),u=s.get$span(s),r=A.LinkedHashMap_LinkedHashMap$_empty(D.FileSpan,D.String),null!=c&&r.$indexSet(0,c,"first key"),A.wrapException(A.MultiSpanSassRuntimeException$0("Duplicate key.",u,"second key",r,this._evaluate0$_stackTrace$1(s.get$span(s)),null));d.$indexSet(0,a,l),h.$indexSet(0,a,s)}return new A.SassMap0(A.ConstantMap_ConstantMap$from(d,u,u))},visitFunctionExpression$1(e,t){var r,n,i,o,s,a,l,c=this,u="_stylesheet",d={},h=c._evaluate0$_assertInModule$2(c._evaluate0$__stylesheet,u).plainCss?null:c._evaluate0$_addExceptionSpan$2(t,new A._EvaluateVisitor_visitFunctionExpression_closure5(c,t));if(d.$function=h,null==h||C.JSString_methods.startsWith$1(t.originalName,"--")){if(null!=t.namespace)throw A.wrapException(c._evaluate0$_exception$2("Undefined function.",t.span));if(i=!1,"min"===(n=(r=t.name).toLowerCase())||"max"===n||"round"===n||"abs"===n?(i=(o=(i=t.$arguments).named).get$isEmpty(o)&&null==i.rest&&C.JSArray_methods.every$1(i.positional,new A._EvaluateVisitor_visitFunctionExpression_closure6),s=n):s=null,i)return c._evaluate0$_visitCalculation$2$inLegacySassFunction(t,s);if("calc"===n||"clamp"===n||"hypot"===n||"sin"===n||"cos"===n||"tan"===n||"asin"===n||"acos"===n||"atan"===n||"sqrt"===n||"exp"===n||"sign"===n||"mod"===n||"rem"===n||"atan2"===n||"pow"===n||"log"===n||"calc-size"===n)return c._evaluate0$_visitCalculation$1(t);h=c._evaluate0$_assertInModule$2(c._evaluate0$__stylesheet,u).plainCss?null:c._evaluate0$_builtInFunctions.$index(0,r),d.$function=null==h?new A.PlainCssCallable0(t.originalName):h}return a=c._evaluate0$_inFunction,c._evaluate0$_inFunction=!0,l=c._evaluate0$_addErrorSpan$2(t,new A._EvaluateVisitor_visitFunctionExpression_closure7(d,c,t)),c._evaluate0$_inFunction=a,l},_evaluate0$_visitCalculation$2$inLegacySassFunction(e,t){var r,n,i,o,s,a,l,c,u=this,d=e.$arguments,h=d.named;if(h.get$isNotEmpty(h))throw A.wrapException(u._evaluate0$_exception$2(P.Keywor,e.span));if(null!=d.rest)throw A.wrapException(u._evaluate0$_exception$2(P.Rest_a,e.span));for(u._evaluate0$_checkCalculationArguments$1(e),h=A._setArrayType([],D.JSArray_Object),l=(d=d.positional).length,c=0;c<l;++c)h.push(u._evaluate0$_visitCalculationExpression$2$inLegacySassFunction(d[c],t));if(r=h,u._evaluate0$_inSupportsDeclaration)return new A.SassCalculation0(e.name,A.List_List$unmodifiable(r,D.Object));n=u._evaluate0$_callableNode,u._evaluate0$_callableNode=e;try{return i=null,"calc"!==(o=(h=e.name).toLowerCase())?"sqrt"!==o?"sin"!==o?"cos"!==o?"tan"!==o?"asin"!==o?"acos"!==o?"atan"!==o?"abs"!==o?"exp"!==o?"sign"!==o?"min"!==o?"max"!==o?"hypot"!==o?"pow"!==o?"atan2"!==o?"log"!==o?"mod"!==o?"rem"!==o?"round"!==o?"clamp"!==o?"calc-size"!==o?(h=A.UnsupportedError$('Unknown calculation name "'+h+'".'),i=A.throwExpression(h)):i=A.SassCalculation_calcSize0(w.$index$asx(r,0),A.ListExtensions_elementAtOrNull(r,1)):i=A.SassCalculation_clamp0(w.$index$asx(r,0),A.ListExtensions_elementAtOrNull(r,1),A.ListExtensions_elementAtOrNull(r,2)):i=A.SassCalculation_roundInternal0(w.$index$asx(r,0),A.ListExtensions_elementAtOrNull(r,1),A.ListExtensions_elementAtOrNull(r,2),t,e.span,new A._EvaluateVisitor__visitCalculation_closure1(u,e)):i=A.SassCalculation_rem0(w.$index$asx(r,0),A.ListExtensions_elementAtOrNull(r,1)):i=A.SassCalculation_mod0(w.$index$asx(r,0),A.ListExtensions_elementAtOrNull(r,1)):i=A.SassCalculation_log0(w.$index$asx(r,0),A.ListExtensions_elementAtOrNull(r,1)):i=A.SassCalculation_atan20(w.$index$asx(r,0),A.ListExtensions_elementAtOrNull(r,1)):i=A.SassCalculation_pow0(w.$index$asx(r,0),A.ListExtensions_elementAtOrNull(r,1)):i=A.SassCalculation_hypot0(r):i=A.SassCalculation_max0(r):i=A.SassCalculation_min0(r):i=A.SassCalculation_sign0(w.$index$asx(r,0)):i=A.SassCalculation_exp0(w.$index$asx(r,0)):i=A.SassCalculation_abs0(w.$index$asx(r,0)):i=A.SassCalculation__singleArgument0("atan",w.$index$asx(r,0),A.number2__atan$closure(),!0):i=A.SassCalculation__singleArgument0("acos",w.$index$asx(r,0),A.number2__acos$closure(),!0):i=A.SassCalculation__singleArgument0("asin",w.$index$asx(r,0),A.number2__asin$closure(),!0):i=A.SassCalculation__singleArgument0("tan",w.$index$asx(r,0),A.number2__tan$closure(),!1):i=A.SassCalculation__singleArgument0("cos",w.$index$asx(r,0),A.number2__cos$closure(),!1):i=A.SassCalculation__singleArgument0("sin",w.$index$asx(r,0),A.number2__sin$closure(),!1):i=A.SassCalculation__singleArgument0("sqrt",w.$index$asx(r,0),A.number2__sqrt$closure(),!0):i=A.SassCalculation_calc0(w.$index$asx(r,0)),i}catch(t){if(!((i=A.unwrapException(t))instanceof A.SassScriptException0))throw t;s=i,a=A.getTraceFromException(t),C.JSString_methods.contains$1(s.message,"compatible")&&u._evaluate0$_verifyCompatibleNumbers$2(r,d),A.throwWithTrace0(u._evaluate0$_exception$2(s.message,e.span),s,a)}finally{u._evaluate0$_callableNode=n}},_evaluate0$_visitCalculation$1(e){return this._evaluate0$_visitCalculation$2$inLegacySassFunction(e,null)},_evaluate0$_checkCalculationArguments$1(e){var t,r,n=new A._EvaluateVisitor__checkCalculationArguments_check1(this,e);if("calc"!==(r=(t=e.name).toLowerCase())&&"sqrt"!==r&&"sin"!==r&&"cos"!==r&&"tan"!==r&&"asin"!==r&&"acos"!==r&&"atan"!==r&&"abs"!==r&&"exp"!==r&&"sign"!==r)if("min"!==r&&"max"!==r&&"hypot"!==r)if("pow"!==r&&"atan2"!==r&&"log"!==r&&"mod"!==r&&"rem"!==r&&"calc-size"!==r){if("round"!==r&&"clamp"!==r)throw A.wrapException(A.UnsupportedError$('Unknown calculation name "'+t+'".'));n.call$1(3)}else n.call$1(2);else n.call$0();else n.call$1(1)},_evaluate0$_verifyCompatibleNumbers$2(e,t){var r,n,i,o,s,a,l,c,u,d,h,p;for(r=0;r<(n=e.length);++r)if((i=e[r])instanceof A.SassNumber0?(n=i.get$hasComplexUnits(),o=i):(o=null,n=!1),n)throw n=A.S(o),s=t[r],A.wrapException(this._evaluate0$_exception$2("Number "+n+" isn't compatible with CSS calculations.",s.get$span(s)));for(r=0;r<n-1;++r)if((a=e[r])instanceof A.SassNumber0)for(l=r+1;l<(n=e.length);++l)if((c=e[l])instanceof A.SassNumber0&&!a.hasPossiblyCompatibleUnits$1(c))throw n=a.toString$0(0),s=c.toString$0(0),u=(u=t[r]).get$span(u),d=a.toString$0(0),h=t[l],h=A.LinkedHashMap_LinkedHashMap$_literal([h.get$span(h),c.toString$0(0)],D.FileSpan,D.String),p=t[r],A.wrapException(A.MultiSpanSassRuntimeException$0(n+" and "+s+" are incompatible.",u,d,h,this._evaluate0$_stackTrace$1(p.get$span(p)),null))},_evaluate0$_visitCalculationExpression$2$inLegacySassFunction(e,t){var r,n,i,o,s,a,l,c,u=this,d=null,h=e instanceof A.ParenthesizedExpression0,p=h?e.expression:d;if(h)return(r=u._evaluate0$_visitCalculationExpression$2$inLegacySassFunction(p,t))instanceof A.SassString0?new A.SassString0("("+r._string0$_text+")",!1):r;if(e instanceof A.StringExpression0&&e.accept$1(C.C_IsCalculationSafeVisitor0))return n=(h=e.text).get$asPlain(),h="pi"!==(i=null==n?d:n.toLowerCase())?"e"!==i?"infinity"!==i?"-infinity"!==i?"nan"!==i?new A.SassString0(u._evaluate0$_performInterpolation$1(h),!1):A.SassNumber_SassNumber0(NaN,d):A.SassNumber_SassNumber0(-1/0,d):A.SassNumber_SassNumber0(1/0,d):A.SassNumber_SassNumber0(2.718281828459045,d):A.SassNumber_SassNumber0(3.141592653589793,d);if((o={}).right=o.left=o.operator=null,(h=e instanceof A.BinaryOperationExpression0)&&(o.operator=e.operator,o.left=e.left,o.right=e.right),h)return u._evaluate0$_checkWhitespaceAroundCalculationOperator$1(e),u._evaluate0$_addExceptionSpan$2(e,new A._EvaluateVisitor__visitCalculationExpression_closure1(o,u,e,t));if(e instanceof A.NumberExpression0||e instanceof A.VariableExpression0||e instanceof A.FunctionExpression0||e instanceof A.LegacyIfExpression0)return(s=e.accept$1(u))instanceof A.SassNumber0||s instanceof A.SassCalculation0?h=s:(s instanceof A.SassString0?(h=!s._string0$_hasQuotes,r=s):(r=d,h=!1),h=h?r:A.throwExpression(u._evaluate0$_exception$2("Value "+s.toString$0(0)+" can't be used in a calculation.",e.get$span(e)))),h;if(e instanceof A.ListExpression0&&!e.hasBrackets&&C.ListSeparator_SrV0===e.separator&&e.contents.length>=2){for(h=A._setArrayType([],D.JSArray_Object),a=(n=e.contents).length,l=0;l<a;++l)h.push(u._evaluate0$_visitCalculationExpression$2$inLegacySassFunction(n[l],t));for(u._evaluate0$_checkAdjacentCalculationValues$2(h,e),c=0;c<h.length;++c)(a=h[c])instanceof A.CalculationOperation0&&n[c]instanceof A.ParenthesizedExpression0&&(h[c]=new A.SassString0("("+a.toString$0(0)+")",!1));return new A.SassString0(C.JSArray_methods.join$1(h," "),!1)}throw A.wrapException(u._evaluate0$_exception$2(P.This_e,e.get$span(e)))},_evaluate0$_checkWhitespaceAroundCalculationOperator$1(e){var t,r,n,i,o,s,a=e.operator;if((a===C.BinaryOperator_jCK0||a===C.BinaryOperator_tDf0)&&(t=(t=(a=e.left).get$span(a)).get$file(t))===(n=(r=e.right).get$span(r)).get$file(n)&&(t=(t=a.get$span(a)).get$end(t),n=r.get$span(r),!(t.offset>=n.get$start(n).offset)&&(t=(t=a.get$span(a)).get$file(t),a=(a=a.get$span(a)).get$end(a),r=r.get$span(r),o=(i=A.String_String$fromCharCodes(C.NativeUint32List_methods.sublist$2(t._decodedChars,a.offset,r.get$start(r).offset),0,null)).charCodeAt(0),s=i.charCodeAt(i.length-1),a=32!==o&&9!==o&&10!==o&&13!==o&&12!==o&&47!==o||!(32===s||9===s||10===s||13===s||12===s||47===s))))throw A.wrapException(this._evaluate0$_exception$2(P.x22x2b__an,e.get$operatorSpan()))},_evaluate0$_binaryOperatorToCalculationOperator$2(e,t){return C.BinaryOperator_jCK0!==e?C.BinaryOperator_tDf0!==e?C.BinaryOperator_wkM0!==e?C.BinaryOperator_ehp0!==e?A.throwExpression(this._evaluate0$_exception$2(P.This_o,t.get$operatorSpan())):C.CalculationOperator_wFL0:C.CalculationOperator_LPB0:C.CalculationOperator_KrC0:C.CalculationOperator_dpX0},_evaluate0$_checkAdjacentCalculationValues$2(e,t){var r,n,i,o,s,a,l,c;for(r=e.length,n=1;n<r;++n)if(o=e[i=n-1],s=e[n],!(o instanceof A.SassString0||s instanceof A.SassString0))throw a=(r=t.contents)[i],(l=r[n])instanceof A.UnaryOperationExpression0?(c=l.operator,r=C.UnaryOperator_hCO0===c||C.UnaryOperator_n2K0===c):r=!1,(r=!!r||l instanceof A.NumberExpression0&&l.value<0)?A.wrapException(this._evaluate0$_exception$2(P.x22x2b__an,A.FileSpanExtension_subspan(l.get$span(l),0,1))):A.wrapException(this._evaluate0$_exception$2("Missing math operator.",a.get$span(a).expand$1(0,l.get$span(l))))},visitInterpolatedFunctionExpression$1(e,t){var r,n=this,i=n._evaluate0$_performInterpolation$1(t.name),o=n._evaluate0$_inFunction;return n._evaluate0$_inFunction=!0,r=n._evaluate0$_addErrorSpan$2(t,new A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure1(n,t,new A.PlainCssCallable0(i))),n._evaluate0$_inFunction=o,r},_evaluate0$_runUserDefinedCallable$1$4(e,t,r,n,i){var o,s,a=this,l=a._evaluate0$_evaluateArguments$1(e),c=t.declaration.name;return"@content"!==c&&(c+="()"),o=a._evaluate0$_inDependency,a._evaluate0$_inDependency=t.inDependency,s=a._evaluate0$_withStackFrame$3(c,r,new A._EvaluateVisitor__runUserDefinedCallable_closure1(a,t,l,r,n,i)),a._evaluate0$_inDependency=o,s},_evaluate0$_runFunctionCallable$3(e,t,r){var n,i,o,s,a,l,c,u,d,h,p,m=this;if(t instanceof A.BuiltInCallable0)return m._evaluate0$_withoutSlash$2(m._evaluate0$_runBuiltInCallable$3(e,t,r),r);if(D.UserDefinedCallable_Environment_2._is(t))return m._evaluate0$_runUserDefinedCallable$1$4(e,t,r,new A._EvaluateVisitor__runFunctionCallable_closure1(m,t),D.Value_2);if(t instanceof A.PlainCssCallable0){if((c=e.named).get$isNotEmpty(c)||null!=e.keywordRest)throw A.wrapException(m._evaluate0$_exception$2(P.Plain_,r.get$span(r)));n=new A.StringBuffer(t.name+"(");try{for(i=!0,u=(c=e.positional).length,d=0;d<u;++d)o=c[d],i?i=!1:n._contents+=", ",h=n,p=o,p=m._evaluate0$_serialize$3$quote(p.accept$1(m),p,!0),h._contents+=p;null!=(s=e.rest)&&(a=s.accept$1(m),i||(n._contents+=", "),c=n,u=m._evaluate0$_serialize$2(a,s),c._contents+=u)}catch(e){if(c=A.unwrapException(e),D.SassRuntimeException_2._is(c)){if(l=c,!C.JSString_methods.endsWith$1(l._span_exception$_message,"isn't a valid CSS value."))throw e;throw A.wrapException(A.MultiSpanSassRuntimeException$0(l._span_exception$_message,w.get$span$x(l),"value",A.LinkedHashMap_LinkedHashMap$_literal([r.get$span(r),"unknown function treated as plain CSS"],D.FileSpan,D.String),w.get$trace$z(l),null))}throw e}return c=n,u=A.Primitives_stringFromCharCode(41),c._contents+=u,u=n._contents,new A.SassString0((u.charCodeAt(0),u),!1)}throw A.wrapException(A.ArgumentError$("Unknown callable type "+w.get$runtimeType$(t).toString$0(0)+".",null))},_evaluate0$_runBuiltInCallable$3(e,t,r){var n,i,o,s,a,l,c,u,d,h,p,m,_,g=this,f={},v=g._evaluate0$_evaluateArguments$1(e),b=g._evaluate0$_callableNode;for(g._evaluate0$_callableNode=r,s=new A.MapKeySet(v._values[0],D.MapKeySet_String),f.callback=f.overload=null,a=t.callbackFor$2(v._values[2].length,s),f.overload=a._0,f.callback=a._1,g._evaluate0$_addExceptionSpan$2(r,new A._EvaluateVisitor__runBuiltInCallable_closure5(f,v,s)),l=f.overload.parameters,c=v._values[2].length,u=l.length;c<u;++c)d=l[c],h=v._values[2],null==(p=v._values[0].remove$1(0,d.name))&&(p=d.defaultValue,p=g._evaluate0$_withoutSlash$2(p.accept$1(g),p)),h.push(p);null!=f.overload.restParameter?(v._values[2].length>u?(m=C.JSArray_methods.sublist$1(v._values[2],u),C.JSArray_methods.removeRange$2(v._values[2],u,v._values[2].length)):m=C.List_empty23,u=v._values[0],_=A.SassArgumentList$0(m,u,v._values[4]===C.ListSeparator_undecided_null_3_undecided0?C.ListSeparator_z0K0:v._values[4]),v._values[2].push(_)):_=null,n=null;try{n=g._evaluate0$_addExceptionSpan$2(r,new A._EvaluateVisitor__runBuiltInCallable_closure6(f,v))}catch(e){if((u=A.unwrapException(e))instanceof A.SassException0)throw e;i=u,o=A.getTraceFromException(e),A.throwWithTrace0(g._evaluate0$_exception$2(g._evaluate0$_getErrorMessage$1(i),r.get$span(r)),i,o)}if(g._evaluate0$_callableNode=b,null==_)return n;if(0===v._values[0].__js_helper$_length)return n;if(_._argument_list$_wereKeywordsAccessed)return n;throw A.wrapException(A.MultiSpanSassRuntimeException$0("No "+A.pluralize0("parameter",v._values[0].get$keys(0).get$length(0),null)+" named "+A.toSentence0(v._values[0].get$keys(0).map$1$1(0,new A._EvaluateVisitor__runBuiltInCallable_closure7,D.Object),"or")+".",r.get$span(r),"invocation",A.LinkedHashMap_LinkedHashMap$_literal([f.overload.get$spanWithName(),"declaration"],D.FileSpan,D.String),g._evaluate0$_stackTrace$1(r.get$span(r)),null))},_evaluate0$_evaluateArguments$1(e){var t,r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y=this,$=A._setArrayType([],D.JSArray_Value_2),x=A._setArrayType([],D.JSArray_AstNode_2);for(r=(t=e.positional).length,n=0;n<r;++n)i=t[n],o=y._evaluate0$_expressionNode$1(i),$.push(y._evaluate0$_withoutSlash$2(i.accept$1(y),o)),x.push(o);for(t=D.String,s=A.LinkedHashMap_LinkedHashMap$_empty(t,D.Value_2),r=D.AstNode_2,a=A.LinkedHashMap_LinkedHashMap$_empty(t,r),l=(l=A.MapExtensions_get_pairs0(e.named,t,D.Expression_2)).get$iterator(l);l.moveNext$0();)u=(c=l.get$current(l))._0,d=c._1,o=y._evaluate0$_expressionNode$1(d),s.$indexSet(0,u,y._evaluate0$_withoutSlash$2(d.accept$1(y),o)),a.$indexSet(0,u,o);if(null==(h=e.rest))return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([s,a,$,x,C.ListSeparator_undecided_null_3_undecided0]);if(p=h.accept$1(y),m=y._evaluate0$_expressionNode$1(h),p instanceof A.SassMap0){for(y._evaluate0$_addRestMap$4(s,p,h,new A._EvaluateVisitor__evaluateArguments_closure7),l=A.LinkedHashMap_LinkedHashMap$_empty(t,r),c=(c=(c=p._map0$_contents).get$keys(c)).get$iterator(c),_=D.SassString_2;c.moveNext$0();)l.$indexSet(0,_._as(c.get$current(c))._string0$_text,m);a.addAll$1(0,l),g=C.ListSeparator_undecided_null_3_undecided0}else p instanceof A.SassList0?(l=p._list1$_contents,C.JSArray_methods.addAll$1($,new A.MappedListIterable(l,new A._EvaluateVisitor__evaluateArguments_closure8(y,m),A._arrayInstanceType(l)._eval$1("MappedListIterable<1,Value0>"))),C.JSArray_methods.addAll$1(x,A.List_List$filled(l.length,m,!1,r)),g=p._list1$_separator,p instanceof A.SassArgumentList0&&(p._argument_list$_wereKeywordsAccessed=!0,p._argument_list$_keywords.forEach$1(0,new A._EvaluateVisitor__evaluateArguments_closure9(y,s,m,a)))):($.push(y._evaluate0$_withoutSlash$2(p,m)),x.push(m),g=C.ListSeparator_undecided_null_3_undecided0);if(null==(f=e.keywordRest))return new A._Record_5_named_namedNodes_positional_positionalNodes_separator([s,a,$,x,g]);if(v=f.accept$1(y),b=y._evaluate0$_expressionNode$1(f),v instanceof A.SassMap0){for(y._evaluate0$_addRestMap$4(s,v,f,new A._EvaluateVisitor__evaluateArguments_closure10),t=A.LinkedHashMap_LinkedHashMap$_empty(t,r),r=(r=(r=v._map0$_contents).get$keys(r)).get$iterator(r),l=D.SassString_2;r.moveNext$0();)t.$indexSet(0,l._as(r.get$current(r))._string0$_text,b);return a.addAll$1(0,t),new A._Record_5_named_namedNodes_positional_positionalNodes_separator([s,a,$,x,g])}throw A.wrapException(y._evaluate0$_exception$2(P.Variabs+v.toString$0(0)+").",f.get$span(f)))},_evaluate0$_evaluateMacroArguments$1(e){var t,r,n,i,o,s,a,l,c=this,u=e.$arguments,d=u.rest;if(null==d)return new A._Record_2(u.positional,u.named);if(t=u.positional,r=A._setArrayType(t.slice(0),A._arrayInstanceType(t)),n=A.LinkedHashMap_LinkedHashMap$of(u.named,D.String,D.Expression_2),i=d.accept$1(c),o=c._evaluate0$_expressionNode$1(d),i instanceof A.SassMap0?c._evaluate0$_addRestMap$4(n,i,e,new A._EvaluateVisitor__evaluateMacroArguments_closure7(d)):i instanceof A.SassList0?(t=i._list1$_contents,C.JSArray_methods.addAll$1(r,new A.MappedListIterable(t,new A._EvaluateVisitor__evaluateMacroArguments_closure8(c,o,d),A._arrayInstanceType(t)._eval$1("MappedListIterable<1,Expression0>"))),i instanceof A.SassArgumentList0&&(i._argument_list$_wereKeywordsAccessed=!0,i._argument_list$_keywords.forEach$1(0,new A._EvaluateVisitor__evaluateMacroArguments_closure9(c,n,o,d)))):r.push(new A.ValueExpression0(c._evaluate0$_withoutSlash$2(i,o),d.get$span(d))),null==(s=u.keywordRest))return new A._Record_2(r,n);if(a=s.accept$1(c),l=c._evaluate0$_expressionNode$1(s),a instanceof A.SassMap0)return c._evaluate0$_addRestMap$4(n,a,e,new A._EvaluateVisitor__evaluateMacroArguments_closure10(c,l,s)),new A._Record_2(r,n);throw A.wrapException(c._evaluate0$_exception$2(P.Variabs+a.toString$0(0)+").",s.get$span(s)))},_evaluate0$_addRestMap$1$4(e,t,r,n){t._map0$_contents.forEach$1(0,new A._EvaluateVisitor__addRestMap_closure1(this,e,n,this._evaluate0$_expressionNode$1(r),t,r))},_evaluate0$_addRestMap$4(e,t,r,n){return this._evaluate0$_addRestMap$1$4(e,t,r,n,D.dynamic)},_evaluate0$_verifyArguments$4(e,t,r,n){return this._evaluate0$_addExceptionSpan$2(n,new A._EvaluateVisitor__verifyArguments_closure1(r,e,t))},visitSelectorExpression$1(e,t){var r=this._evaluate0$_styleRuleIgnoringAtRoot;return null==(r=null==r?null:r.originalSelector.get$asSassList())?C.C__SassNull0:r},visitStringExpression$1(e,t){var r,n,i,o,s,a,l,c=this,u=c._evaluate0$_inSupportsDeclaration;for(c._evaluate0$_inSupportsDeclaration=!1,r=A._setArrayType([],D.JSArray_String),i=(n=t.text.contents).length,o=0;o<i;++o)a="string"!=typeof(s=n[o])?s instanceof A.Expression0?(l=s.accept$1(c))instanceof A.SassString0?l._string0$_text:c._evaluate0$_serialize$3$quote(l,s,!1):A.throwExpression(A.UnsupportedError$("Unknown interpolation value "+A.S(s))):s,r.push(a);return r=C.JSArray_methods.join$0(r),c._evaluate0$_inSupportsDeclaration=u,new A.SassString0(r,t.hasQuotes)},visitSupportsExpression$1(e,t){return new A.SassString0(this._evaluate0$_visitSupportsCondition$1(t.condition),!1)},visitCssAtRule$1(e){var t,r,n,i,o=this;if(null!=o._evaluate0$_declarationName)throw A.wrapException(o._evaluate0$_exception$2(P.At_rul,e.span));return e.isChildless?(o._evaluate0$_copyParentAfterSibling$0(),void o._evaluate0$_assertInModule$2(o._evaluate0$__parent,"__parent").addChild$1(A.ModifiableCssAtRule$0(e.name,e.span,!0,e.value))):(t=o._evaluate0$_inKeyframes,r=o._evaluate0$_inUnknownAtRule,n=e.name,"keyframes"===A.unvendor0(n.value)?o._evaluate0$_inKeyframes=!0:o._evaluate0$_inUnknownAtRule=!0,i=A.ModifiableCssAtRule$0(n,e.span,!1,e.value),o.get$_evaluate0$_hasCssNesting()?(o._evaluate0$_withParent$2$3$scopeWhen(i,new A._EvaluateVisitor_visitCssAtRule_closure5(o,e),!1,D.ModifiableCssAtRule_2,D.Null),o._evaluate0$_inUnknownAtRule=r,void(o._evaluate0$_inKeyframes=t)):(o._evaluate0$_withParent$2$4$scopeWhen$through(i,new A._EvaluateVisitor_visitCssAtRule_closure6(o,e),!1,new A._EvaluateVisitor_visitCssAtRule_closure7,D.ModifiableCssAtRule_2,D.Null),o._evaluate0$_inUnknownAtRule=r,void(o._evaluate0$_inKeyframes=t)))},visitCssComment$1(e){var t=this,r="__parent",n="_endOfImports";t._evaluate0$_assertInModule$2(t._evaluate0$__parent,r)===t._evaluate0$_assertInModule$2(t._evaluate0$__root,"_root")&&t._evaluate0$_assertInModule$2(t._evaluate0$__endOfImports,n)===w.get$length$asx(t._evaluate0$_assertInModule$2(t._evaluate0$__root,"_root").children._collection$_source)&&(t._evaluate0$__endOfImports=t._evaluate0$_assertInModule$2(t._evaluate0$__endOfImports,n)+1),t._evaluate0$_copyParentAfterSibling$0(),t._evaluate0$_assertInModule$2(t._evaluate0$__parent,r).addChild$1(new A.ModifiableCssComment0(e.text,e.span))},visitCssDeclaration$1(e){this._evaluate0$_copyParentAfterSibling$0(),this._evaluate0$_assertInModule$2(this._evaluate0$__parent,"__parent").addChild$1(A.ModifiableCssDeclaration$0(e.name,e.value,e.span,e.parsedAsSassScript,e.valueSpanForMap))},visitCssImport$1(e){var t,r=this,n="__parent",i="_root",o="_endOfImports",s=new A.ModifiableCssImport0(e.url,e.modifiers,e.span);r._evaluate0$_assertInModule$2(r._evaluate0$__parent,n)!==r._evaluate0$_assertInModule$2(r._evaluate0$__root,i)?(r._evaluate0$_copyParentAfterSibling$0(),r._evaluate0$_assertInModule$2(r._evaluate0$__parent,n).addChild$1(s)):r._evaluate0$_assertInModule$2(r._evaluate0$__endOfImports,o)===w.get$length$asx(r._evaluate0$_assertInModule$2(r._evaluate0$__root,i).children._collection$_source)?(r._evaluate0$_assertInModule$2(r._evaluate0$__root,i).addChild$1(s),r._evaluate0$__endOfImports=r._evaluate0$_assertInModule$2(r._evaluate0$__endOfImports,o)+1):(null==(t=r._evaluate0$_outOfOrderImports)?r._evaluate0$_outOfOrderImports=A._setArrayType([],D.JSArray_ModifiableCssImport_2):t).push(s)},visitCssKeyframeBlock$1(e){this._evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssKeyframeBlock$0(e.selector,e.span),new A._EvaluateVisitor_visitCssKeyframeBlock_closure3(this,e),!1,new A._EvaluateVisitor_visitCssKeyframeBlock_closure4,D.ModifiableCssKeyframeBlock_2,D.Null)},visitCssMediaRule$1(e){var t,r,n,i,o,s=this;if(null!=s._evaluate0$_declarationName)throw A.wrapException(s._evaluate0$_exception$2(P.Media_,e.span));s.get$_evaluate0$_hasCssNesting()?s._evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssMediaRule$0(e.queries,e.span),new A._EvaluateVisitor_visitCssMediaRule_closure7(s,e),!1,D.ModifiableCssMediaRule_2,D.Null):!(r=null==(t=A.NullableExtension_andThen0(s._evaluate0$_mediaQueries,new A._EvaluateVisitor_visitCssMediaRule_closure8(s,e))))&&w.get$isEmpty$asx(t)||(r?n=C.Set_empty6:((i=s._evaluate0$_mediaQuerySources).toString,i=A.LinkedHashSet_LinkedHashSet$of(i,D.CssMediaQuery_2),(o=s._evaluate0$_mediaQueries).toString,i.addAll$1(0,o),i.addAll$1(0,e.queries),n=i),r=r?e.queries:t,s._evaluate0$_withParent$2$4$scopeWhen$through(A.ModifiableCssMediaRule$0(r,e.span),new A._EvaluateVisitor_visitCssMediaRule_closure9(s,t,e,n),!1,new A._EvaluateVisitor_visitCssMediaRule_closure10(n),D.ModifiableCssMediaRule_2,D.Null))},visitCssStyleRule$1(e){var t,r,n,i,o,s,a,l,c,u,d=this,h=null,p="__parent";if(null!=d._evaluate0$_declarationName)throw A.wrapException(d._evaluate0$_exception$2(P.Style_n,e.span));if(d._evaluate0$_inKeyframes&&d._evaluate0$_assertInModule$2(d._evaluate0$__parent,p)instanceof A.ModifiableCssKeyframeBlock0)throw A.wrapException(d._evaluate0$_exception$2(P.Style_k,e.span));r=(t=d._evaluate0$_atRootExcludingStyleRule)?h:d._evaluate0$_styleRuleIgnoringAtRoot,t=null==(n=t?h:d._evaluate0$_styleRuleIgnoringAtRoot)||!n.fromPlainCss&&!(e.fromPlainCss&&e._style_rule0$_selector._box0$_inner.value.accept$1(C.C__ContainsParentSelectorVisitor0)),i=e._style_rule0$_selector._box0$_inner,t?(i=i.value,o=null==r?h:r.originalSelector,s=i.nestWithin$3$implicitParent$preserveParentSelectors(o,!d._evaluate0$_atRootExcludingStyleRule,e.fromPlainCss)):s=i.value,a=A.ModifiableCssStyleRule$0(d._evaluate0$_assertInModule$2(d._evaluate0$__extensionStore,"_extensionStore").addSelector$2(s,d._evaluate0$_mediaQueries),e.span,e.fromPlainCss,s),l=d._evaluate0$_atRootExcludingStyleRule,d._evaluate0$_atRootExcludingStyleRule=!1,t=t?new A._EvaluateVisitor_visitCssStyleRule_closure3:h,d._evaluate0$_withParent$2$4$scopeWhen$through(a,new A._EvaluateVisitor_visitCssStyleRule_closure4(d,a,e),!1,t,D.ModifiableCssStyleRule_2,D.Null),d._evaluate0$_atRootExcludingStyleRule=l,t=d._evaluate0$_assertInModule$2(d._evaluate0$__parent,p).children._collection$_source,(c=(i=w.getInterceptor$asx(t)).get$length(t))>=1?(u=i.elementAt$1(t,c-1),t=null==r):(u=h,t=!1),t&&(u.isGroupEnd=!0)},visitCssStylesheet$1(e){var t;for(t=w.get$iterator$ax(e.get$children(e));t.moveNext$0();)t.get$current(t).accept$1(this)},visitCssSupportsRule$1(e){var t,r=this;if(null!=r._evaluate0$_declarationName)throw A.wrapException(r._evaluate0$_exception$2(P.Suppor,e.span));t=A.ModifiableCssSupportsRule$0(e.condition,e.span),r.get$_evaluate0$_hasCssNesting()?r._evaluate0$_withParent$2$3$scopeWhen(t,new A._EvaluateVisitor_visitCssSupportsRule_closure5(r,e),!1,D.ModifiableCssSupportsRule_2,D.Null):r._evaluate0$_withParent$2$4$scopeWhen$through(t,new A._EvaluateVisitor_visitCssSupportsRule_closure6(r,e),!1,new A._EvaluateVisitor_visitCssSupportsRule_closure7,D.ModifiableCssSupportsRule_2,D.Null)},_evaluate0$_handleReturn$1$2(e,t){var r,n,i;for(r=e.length,n=0;n<e.length;e.length===r||(0,A.throwConcurrentModificationError)(e),++n)if(null!=(i=t.call$1(e[n])))return i;return null},_evaluate0$_handleReturn$2(e,t){return this._evaluate0$_handleReturn$1$2(e,t,D.dynamic)},_evaluate0$_withEnvironment$1$2(e,t){var r,n=this._evaluate0$_environment;return this._evaluate0$_environment=e,r=t.call$0(),this._evaluate0$_environment=n,r},_evaluate0$_withEnvironment$2(e,t){return this._evaluate0$_withEnvironment$1$2(e,t,D.dynamic)},_evaluate0$_interpolationToValue$3$trim$warnForColor(e,t,r){var n=this._evaluate0$_performInterpolation$2$warnForColor(e,r),i=t?A.trimAscii0(n,!0):n;return new A.CssValue0(i,e.span,D.CssValue_String_2)},_evaluate0$_interpolationToValue$1(e){return this._evaluate0$_interpolationToValue$3$trim$warnForColor(e,!1,!1)},_evaluate0$_interpolationToValue$2$warnForColor(e,t){return this._evaluate0$_interpolationToValue$3$trim$warnForColor(e,!1,t)},_evaluate0$_performInterpolation$2$warnForColor(e,t){return this._evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(e,!1,t)._0},_evaluate0$_performInterpolation$1(e){return this._evaluate0$_performInterpolation$2$warnForColor(e,!1)},_evaluate0$_performInterpolationWithMap$2$warnForColor(e,t){var r=this._evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(e,!0,!0),n=r._1;return n.toString,new A._Record_2(r._0,n)},_evaluate0$_performInterpolationHelper$3$sourceMap$warnForColor(e,t,r){var n,i,o,s,a,l,c,u,d,h,p,m,_,g=this,f=t?A._setArrayType([],D.JSArray_int):null,v=g._evaluate0$_inSupportsDeclaration;for(g._evaluate0$_inSupportsDeclaration=!1,i=(n=e.contents).length,o=D.Expression_2,s=null==f,a=e.span,l=D.Object,c=!0,u=0,d="";u<i;++u,c=!1)h=n[u],c||s||f.push(d.length),"string"!=typeof h?(o._as(h),p=h.accept$1(g),r&&I.$get$namesByColor0().containsKey$1(p)&&((m=A.List_List$from([""],!1,l)).$flags=3,_=I.$get$namesByColor0(),g._evaluate0$_warn$2(P.You_pr+A.S(_.$index(0,p))+P.x20in_in+p.toString$0(0)+P.x2c_whicw+A.S(_.$index(0,p))+P.x22x29__If+new A.BinaryOperationExpression0(C.BinaryOperator_jCK0,new A.StringExpression0(new A.Interpolation0(m,C.List_null,a),!0),h,!1).toString$0(0)+"'.",h.get$span(h))),d+=g._evaluate0$_serialize$3$quote(p,h,!1)):d+=h;return g._evaluate0$_inSupportsDeclaration=v,new A._Record_2((d.charCodeAt(0),d),A.NullableExtension_andThen0(f,new A._EvaluateVisitor__performInterpolationHelper_closure1(e)))},_evaluate0$_serialize$3$quote(e,t,r){return this._evaluate0$_addExceptionSpan$2(t,new A._EvaluateVisitor__serialize_closure1(e,r))},_evaluate0$_serialize$2(e,t){return this._evaluate0$_serialize$3$quote(e,t,!0)},_evaluate0$_expressionNode$1(e){var t;return e instanceof A.VariableExpression0?null==(t=this._evaluate0$_addExceptionSpan$2(e,new A._EvaluateVisitor__expressionNode_closure1(this,e)))?e:t:e},_evaluate0$_withParent$2$4$scopeWhen$through(e,t,r,n,i,o){var s,a,l=this;return l._evaluate0$_addChild$2$through(e,n),s=l._evaluate0$_assertInModule$2(l._evaluate0$__parent,"__parent"),l._evaluate0$__parent=e,a=l._evaluate0$_environment.scope$1$2$when(t,r,o),l._evaluate0$__parent=s,a},_evaluate0$_withParent$2$3$scopeWhen(e,t,r,n,i){return this._evaluate0$_withParent$2$4$scopeWhen$through(e,t,r,null,n,i)},_evaluate0$_withParent$2$2(e,t,r,n){return this._evaluate0$_withParent$2$4$scopeWhen$through(e,t,!0,null,r,n)},_evaluate0$_copyParentAfterSibling$0(){var e,t,r,n=this,i="__parent",o=n._evaluate0$_assertInModule$2(n._evaluate0$__parent,i)._node$_parent;null!=o?(e=(e=o.children).get$last(e)!==n._evaluate0$_assertInModule$2(n._evaluate0$__parent,i),t=o):(t=null,e=!1),e&&(r=n._evaluate0$_assertInModule$2(n._evaluate0$__parent,i).copyWithoutChildren$0(),t.addChild$1(r),n._evaluate0$__parent=r)},_evaluate0$_addChild$2$through(e,t){var r,n,i,o=this._evaluate0$_assertInModule$2(this._evaluate0$__parent,"__parent");if(null!=t){for(;t.call$1(o);o=r)if(null==(r=o._node$_parent))throw A.wrapException(A.ArgumentError$(P.throug+e.toString$0(0)+".",null));o.get$hasFollowingSibling()&&(i=(n=o._node$_parent).children,o.equalsIgnoringChildren$1(i.get$last(i))?o=D.ModifiableCssParentNode_2._as(i.get$last(i)):(o=o.copyWithoutChildren$0(),n.addChild$1(o)))}o.addChild$1(e)},_evaluate0$_addChild$1(e){return this._evaluate0$_addChild$2$through(e,null)},_evaluate0$_withStyleRule$1$2(e,t){var r,n=this._evaluate0$_styleRuleIgnoringAtRoot;return this._evaluate0$_styleRuleIgnoringAtRoot=e,r=t.call$0(),this._evaluate0$_styleRuleIgnoringAtRoot=n,r},_evaluate0$_withStyleRule$2(e,t){return this._evaluate0$_withStyleRule$1$2(e,t,D.dynamic)},_evaluate0$_withMediaQueries$1$3(e,t,r){var n,i=this,o=i._evaluate0$_mediaQueries,s=i._evaluate0$_mediaQuerySources;return i._evaluate0$_mediaQueries=e,i._evaluate0$_mediaQuerySources=t,n=r.call$0(),i._evaluate0$_mediaQueries=o,i._evaluate0$_mediaQuerySources=s,n},_evaluate0$_withMediaQueries$3(e,t,r){return this._evaluate0$_withMediaQueries$1$3(e,t,r,D.dynamic)},_evaluate0$_withStackFrame$1$3(e,t,r){var n,i,o=this,s=o._evaluate0$_stack;return s.push(new A._Record_2(o._evaluate0$_member,t)),n=o._evaluate0$_member,o._evaluate0$_member=e,i=r.call$0(),o._evaluate0$_member=n,s.pop(),i},_evaluate0$_withStackFrame$3(e,t,r){return this._evaluate0$_withStackFrame$1$3(e,t,r,D.dynamic)},_evaluate0$_withoutSlash$2(e,t){return e instanceof A.SassNumber0&&null!=e.asSlash&&this._evaluate0$_warn$3(P.Using__i+A.S((new A._EvaluateVisitor__withoutSlash_recommendation1).call$1(e))+P.x0a_Morex20,t.get$span(t),C.Deprecation_v81),e.withoutSlash$0()},_evaluate0$_stackFrame$2(e,t){return A.frameForSpan0(t,e,A.NullableExtension_andThen0(t.get$sourceUrl(t),new A._EvaluateVisitor__stackFrame_closure1(this)))},_evaluate0$_stackTrace$1(e){var t,r,n,i,o,s=this,a=A._setArrayType([],D.JSArray_Frame);for(r=(t=s._evaluate0$_stack).length,n=0;n<t.length;t.length===r||(0,A.throwConcurrentModificationError)(t),++n)o=(i=t[n])._1,a.push(s._evaluate0$_stackFrame$2(i._0,o.get$span(o)));return null!=e&&a.push(s._evaluate0$_stackFrame$2(s._evaluate0$_member,e)),A.Trace$(new A.ReversedListIterable(a,D.ReversedListIterable_Frame),null)},_evaluate0$_stackTrace$0(){return this._evaluate0$_stackTrace$1(null)},_evaluate0$_warn$3(e,t,r){var n,i,o=this;o._evaluate0$_quietDeps&&o._evaluate0$_inDependency||o._evaluate0$_warningsEmitted.add$1(0,new A._Record_2(e,t))&&(n=o._evaluate0$_stackTrace$1(t),i=o._evaluate0$_logger,null==r?i.internalWarn$4$deprecation$span$trace(e,null,t,n):A.WarnForDeprecation_warnForDeprecation0(i,r,e,t,n))},_evaluate0$_warn$2(e,t){return this._evaluate0$_warn$3(e,t,null)},_evaluate0$_exception$2(e,t){var r,n;return r=null==t?(r=C.JSArray_methods.get$last(this._evaluate0$_stack)._1).get$span(r):t,n=this._evaluate0$_stackTrace$1(t),new A.SassRuntimeException0(n,C.Set_empty,e,r)},_evaluate0$_exception$1(e){return this._evaluate0$_exception$2(e,null)},_evaluate0$_multiSpanException$3(e,t,r){var n=C.JSArray_methods.get$last(this._evaluate0$_stack)._1;return A.MultiSpanSassRuntimeException$0(e,n.get$span(n),t,r,this._evaluate0$_stackTrace$0(),null)},_evaluate0$_addExceptionSpan$1$3$addStackFrame(e,t,r){var n,i,o;try{return o=t.call$0()}catch(t){if(!((o=A.unwrapException(t))instanceof A.SassScriptException0))throw t;n=o,i=A.getTraceFromException(t),o=n.withSpan$1(e.get$span(e)),A.throwWithTrace0(o.withTrace$1(this._evaluate0$_stackTrace$1(r?e.get$span(e):null)),n,i)}},_evaluate0$_addExceptionSpan$2(e,t){return this._evaluate0$_addExceptionSpan$1$3$addStackFrame(e,t,!0,D.dynamic)},_evaluate0$_addExceptionSpan$3$addStackFrame(e,t,r){return this._evaluate0$_addExceptionSpan$1$3$addStackFrame(e,t,r,D.dynamic)},_evaluate0$_addExceptionTrace$1$1(e){var t,r,n,i;try{return n=e.call$0()}catch(e){if(n=A.unwrapException(e),D.SassRuntimeException_2._is(n))throw e;if(!(n instanceof A.SassException0))throw e;t=n,r=A.getTraceFromException(e),n=t,i=w.getInterceptor$x(n),A.throwWithTrace0(t.withTrace$1(this._evaluate0$_stackTrace$1(A.SourceSpanException.prototype.get$span.call(i,n))),t,r)}},_evaluate0$_addExceptionTrace$1(e){return this._evaluate0$_addExceptionTrace$1$1(e,D.dynamic)},_evaluate0$_addErrorSpan$1$2(e,t){var r,n,i,o,s;try{return i=t.call$0()}catch(t){if(i=A.unwrapException(t),!D.SassRuntimeException_2._is(i))throw t;if(r=i,n=A.getTraceFromException(t),!C.JSString_methods.startsWith$1(w.get$span$x(r).get$text(),"@error"))throw t;i=r._span_exception$_message,o=e.get$span(e),s=this._evaluate0$_stackTrace$0(),A.throwWithTrace0(new A.SassRuntimeException0(s,C.Set_empty,i,o),r,n)}},_evaluate0$_addErrorSpan$2(e,t){return this._evaluate0$_addErrorSpan$1$2(e,t,D.dynamic)},_evaluate0$_getErrorMessage$1(e){if(D.Error._is(e))return e.toString$0(0);try{return A._asString(w.get$message$x(e))}catch(t){return w.toString$0$(e)}},$isExpressionVisitor:1,$isIfConditionExpressionVisitor:1,$isStatementVisitor:1},A._EvaluateVisitor_closure25.prototype={call$1(e){var t,r,n=w.getInterceptor$asx(e),i=n.$index(e,0).assertString$1("name");return t=null==(n=n.$index(e,1).get$realNull())?null:n.assertString$1("module"),n=this.$this._evaluate0$_environment,r=A.stringReplaceAllUnchecked(i._string0$_text,"_","-"),n.globalVariableExists$2$namespace(r,null==t?null:t._string0$_text)?C.SassBoolean_true0:C.SassBoolean_false0},$signature:13},A._EvaluateVisitor_closure26.prototype={call$1(e){var t=w.$index$asx(e,0).assertString$1("name");return null!=this.$this._evaluate0$_environment.getVariable$1(A.stringReplaceAllUnchecked(t._string0$_text,"_","-"))?C.SassBoolean_true0:C.SassBoolean_false0},$signature:13},A._EvaluateVisitor_closure27.prototype={call$1(e){var t,r,n,i,o=w.getInterceptor$asx(e),s=o.$index(e,0).assertString$1("name");return t=null==(o=o.$index(e,1).get$realNull())?null:o.assertString$1("module"),r=(o=this.$this)._evaluate0$_environment,n=s._string0$_text,i=A.stringReplaceAllUnchecked(n,"_","-"),null!=r.getFunction$2$namespace(i,null==t?null:t._string0$_text)||o._evaluate0$_builtInFunctions.containsKey$1(n)?C.SassBoolean_true0:C.SassBoolean_false0},$signature:13},A._EvaluateVisitor_closure28.prototype={call$1(e){var t,r,n=w.getInterceptor$asx(e),i=n.$index(e,0).assertString$1("name");return t=null==(n=n.$index(e,1).get$realNull())?null:n.assertString$1("module"),n=this.$this._evaluate0$_environment,r=A.stringReplaceAllUnchecked(i._string0$_text,"_","-"),null!=n.getMixin$2$namespace(r,null==t?null:t._string0$_text)?C.SassBoolean_true0:C.SassBoolean_false0},$signature:13},A._EvaluateVisitor_closure29.prototype={call$1(e){var t=this.$this._evaluate0$_environment;if(!t._environment0$_inMixin)throw A.wrapException(A.SassScriptException$0(P.conten,null));return null!=t._environment0$_content?C.SassBoolean_true0:C.SassBoolean_false0},$signature:13},A._EvaluateVisitor_closure30.prototype={call$1(e){var t,r,n,i=w.$index$asx(e,0).assertString$1("module")._string0$_text,o=this.$this._evaluate0$_environment._environment0$_modules.$index(0,i);if(null==o)throw A.wrapException('There is no module with namespace "'+i+'".');for(i=D.Value_2,t=A.LinkedHashMap_LinkedHashMap$_empty(i,i),r=(r=A.MapExtensions_get_pairs0(o.get$variables(),D.String,i)).get$iterator(r);r.moveNext$0();)n=r.get$current(r),t.$indexSet(0,new A.SassString0(n._0,!0),n._1);return new A.SassMap0(A.ConstantMap_ConstantMap$from(t,i,i))},$signature:34},A._EvaluateVisitor_closure31.prototype={call$1(e){var t,r,n,i=this.$this,o=w.$index$asx(e,0).assertString$1("module")._string0$_text,s=i._evaluate0$_environment._environment0$_modules.$index(0,o);if(null==s)throw A.wrapException('There is no module with namespace "'+o+'".');for(o=D.Value_2,t=A.LinkedHashMap_LinkedHashMap$_empty(o,o),r=(r=A.MapExtensions_get_pairs0(s.get$functions(s),D.String,D.Callable_2)).get$iterator(r),i=i._evaluate0$_compileContext;r.moveNext$0();)n=r.get$current(r),t.$indexSet(0,new A.SassString0(n._0,!0),new A.SassFunction0(n._1,i));return new A.SassMap0(A.ConstantMap_ConstantMap$from(t,o,o))},$signature:34},A._EvaluateVisitor_closure32.prototype={call$1(e){var t,r,n,i=this.$this,o=w.$index$asx(e,0).assertString$1("module")._string0$_text,s=i._evaluate0$_environment._environment0$_modules.$index(0,o);if(null==s)throw A.wrapException('There is no module with namespace "'+o+'".');for(o=D.Value_2,t=A.LinkedHashMap_LinkedHashMap$_empty(o,o),r=(r=A.MapExtensions_get_pairs0(s.get$mixins(),D.String,D.Callable_2)).get$iterator(r),i=i._evaluate0$_compileContext;r.moveNext$0();)n=r.get$current(r),t.$indexSet(0,new A.SassString0(n._0,!0),new A.SassMixin0(n._1,i));return new A.SassMap0(A.ConstantMap_ConstantMap$from(t,o,o))},$signature:34},A._EvaluateVisitor_closure33.prototype={call$1(e){var t,r,n,i=w.getInterceptor$asx(e),o=i.$index(e,0).assertString$1("name"),s=i.$index(e,1).get$isTruthy();if(t=null==(i=i.$index(e,2).get$realNull())?null:i.assertString$1("module"),s){if(null!=t)throw A.wrapException(P.x24css_a);return new A.SassFunction0(new A.PlainCssCallable0(o._string0$_text),this.$this._evaluate0$_compileContext)}if((r=(i=this.$this)._evaluate0$_callableNode).toString,null==(n=i._evaluate0$_addExceptionSpan$2(r,new A._EvaluateVisitor__closure10(i,o,t))))throw A.wrapException("Function not found: "+o.toString$0(0));return new A.SassFunction0(n,i._evaluate0$_compileContext)},$signature:207},A._EvaluateVisitor__closure10.prototype={call$0(){var e,t=A.stringReplaceAllUnchecked(this.name._string0$_text,"_","-"),r=this.module,n=null==r?null:r._string0$_text;return null!=(e=(r=this.$this)._evaluate0$_environment.getFunction$2$namespace(t,n))||null!=n?e:r._evaluate0$_builtInFunctions.$index(0,t)},$signature:88},A._EvaluateVisitor_closure34.prototype={call$1(e){var t,r,n,i=w.getInterceptor$asx(e),o=i.$index(e,0).assertString$1("name");if(t=null==(i=i.$index(e,1).get$realNull())?null:i.assertString$1("module"),(r=(i=this.$this)._evaluate0$_callableNode).toString,null==(n=i._evaluate0$_addExceptionSpan$2(r,new A._EvaluateVisitor__closure9(i,o,t))))throw A.wrapException("Mixin not found: "+o.toString$0(0));return new A.SassMixin0(n,i._evaluate0$_compileContext)},$signature:208},A._EvaluateVisitor__closure9.prototype={call$0(){var e=this.$this._evaluate0$_environment,t=A.stringReplaceAllUnchecked(this.name._string0$_text,"_","-"),r=this.module;return e.getMixin$2$namespace(t,null==r?null:r._string0$_text)},$signature:88},A._EvaluateVisitor_closure35.prototype={call$1(e){var t,r,n,i,o,s,a,l,c,u=w.getInterceptor$asx(e),d=u.$index(e,0),h=D.SassArgumentList_2._as(u.$index(e,1));if(r=(t=(u=this.$this)._evaluate0$_callableNode).get$span(t),n=t.get$span(t),h._argument_list$_wereKeywordsAccessed=!0,(i=h._argument_list$_keywords).get$isEmpty(i))i=null;else{for(o=D.Value_2,s=A.LinkedHashMap_LinkedHashMap$_empty(o,o),h._argument_list$_wereKeywordsAccessed=!0,i=(i=A.MapExtensions_get_pairs0(i,D.String,o)).get$iterator(i);i.moveNext$0();)a=i.get$current(i),s.$indexSet(0,new A.SassString0(a._0,!1),a._1);i=new A.ValueExpression0(new A.SassMap0(A.ConstantMap_ConstantMap$from(s,o,o)),t.get$span(t))}if(l=A.ArgumentList$0(C.List_empty24,C.Map_empty14,C.Map_empty5,r,i,new A.ValueExpression0(h,n)),d instanceof A.SassString0)return A.warnForDeprecation0(P.Passina+d.toString$0(0)+"))",C.Deprecation_LIY),t=u._evaluate0$_callableNode,r=d._string0$_text,n=t.get$span(t),u.visitFunctionExpression$1(0,new A.FunctionExpression0(null,A.stringReplaceAllUnchecked(r,"_","-"),r,l,n));if(c=d.assertFunction$1("function").assertCompileContext$1(u._evaluate0$_compileContext).callable,D.Callable_2._is(c))return(r=u._evaluate0$_callableNode).toString,u._evaluate0$_runFunctionCallable$3(l,c,r);throw A.wrapException(A.SassScriptException$0("The function "+c.get$name(c)+P.x20is_as,null))},$signature:3},A._EvaluateVisitor_closure36.prototype={call$1(e){var t,r,n,i,o,s,a=w.getInterceptor$asx(e),l=A.Uri_parse(a.$index(e,0).assertString$1("url")._string0$_text);t=null==(a=a.$index(e,1).get$realNull())?null:a.assertMap$1("with")._map0$_contents,(r=(a=this.$this)._evaluate0$_callableNode).toString,null!=t?(n={},i=A.LinkedHashMap_LinkedHashMap$_empty(D.String,D.ConfiguredValue_2),o=r.get$span(r),n.privateDeprecation=!1,t.forEach$1(0,new A._EvaluateVisitor__closure7(n,i,o,r)),s=new A.ExplicitConfiguration0(r,i,null)):s=C.Configuration_Map_empty_null0,n=r.get$span(r),a._evaluate0$_loadModule$7$baseUrl$configuration$namesInErrors(l,"load-css()",r,new A._EvaluateVisitor__closure8(a),n.get$sourceUrl(n),s,!0),a._evaluate0$_assertConfigurationIsEmpty$2$nameInError(s,!0)},$signature:241},A._EvaluateVisitor__closure7.prototype={call$2(e,t){var r=this,n=e.assertString$1("with key"),i=A.stringReplaceAllUnchecked(n._string0$_text,"_","-");if((n=r.values).containsKey$1(i))throw A.wrapException("The variable $"+i+" was configured twice.");C.JSString_methods.startsWith$1(i,"-")&&!r._box_0.privateDeprecation&&(r._box_0.privateDeprecation=!0,A.warnForDeprecation0("Configuring private variables (such as $"+i+P.x29x20is_dT,C.Deprecation_lkJ)),n.$indexSet(0,i,new A.ConfiguredValue0(t,r.span,r.callableNode))},$signature:117},A._EvaluateVisitor__closure8.prototype={call$2(e,t){var r=this.$this;return r._evaluate0$_combineCss$2$clone(e,!0).accept$1(r)},$signature:91},A._EvaluateVisitor_closure37.prototype={call$1(e){var t,r,n,i,o=w.getInterceptor$asx(e),s=o.$index(e,0),a=D.SassArgumentList_2._as(o.$index(e,1));if(t=(o=this.$this)._evaluate0$_callableNode,r=A.ArgumentList$0(C.List_empty24,C.Map_empty14,C.Map_empty5,t.get$span(t),null,new A.ValueExpression0(a,t.get$span(t))),n=s.assertMixin$1("mixin").assertCompileContext$1(o._evaluate0$_compileContext).callable,i=o._evaluate0$_environment._environment0$_content,!D.Callable_2._is(n))throw A.wrapException(A.SassScriptException$0("The mixin "+n.get$name(n)+P.x20is_as,null));o._evaluate0$_applyMixin$5(n,i,r,t,t)},$signature:241},A._EvaluateVisitor_run_closure1.prototype={call$0(){var e,t=this,r=t.node,n=r.span,i=n.get$sourceUrl(n),o=null;return null!=i&&(o=i,(n=t.$this)._evaluate0$_activeModules.$indexSet(0,o,null),null!=n._nodeImporter&&"stdin"===w.toString$0$(o)||n._evaluate0$_loadedUrls.add$1(0,o)),e=(n=t.$this)._evaluate0$_addExceptionTrace$1(new A._EvaluateVisitor_run__closure1(n,t.importer,r)),new A._Record_2_loadedUrls_stylesheet(n._evaluate0$_loadedUrls,n._evaluate0$_combineCss$1(e))},$signature:459},A._EvaluateVisitor_run__closure1.prototype={call$0(){return this.$this._evaluate0$_execute$2(this.importer,this.node)},$signature:460},A._EvaluateVisitor__loadModule_closure3.prototype={call$0(){return this.callback.call$2(this._box_0.builtInModule,!1)},$signature:0},A._EvaluateVisitor__loadModule_closure4.prototype={call$0(){var e,t,r,n,i,o,s=this,a={},l=s.$this,c=s.nodeWithSpan,u=l._evaluate0$_loadStylesheet$3$baseUrl(s.url.toString$0(0),c.get$span(c),s.baseUrl);if(i=u._0,o=u._1,null!=(e=(r=i.span).get$sourceUrl(r))){if((r=l._evaluate0$_activeModules).containsKey$1(e))throw n=s.namesInErrors?"Module loop: "+I.$get$context().prettyUri$1(e)+" is already being loaded.":P.Modulel,a=A.NullableExtension_andThen0(r.$index(0,e),new A._EvaluateVisitor__loadModule__closure3(l,n)),A.wrapException(null==a?l._evaluate0$_exception$1(n):a);r.$indexSet(0,e,c)}r=l._evaluate0$_modules.containsKey$1(e),t=l._evaluate0$_inDependency,l._evaluate0$_inDependency=u._2,a.module=null;try{a.module=l._evaluate0$_execute$5$configuration$namesInErrors$nodeWithSpan(o,i,s.configuration,s.namesInErrors,c)}finally{l._evaluate0$_activeModules.remove$1(0,e),l._evaluate0$_inDependency=t}l._evaluate0$_addExceptionSpan$3$addStackFrame(c,new A._EvaluateVisitor__loadModule__closure4(a,s.callback,!r),!1)},$signature:1},A._EvaluateVisitor__loadModule__closure3.prototype={call$1(e){return this.$this._evaluate0$_multiSpanException$3(this.message,"new load",A.LinkedHashMap_LinkedHashMap$_literal([e.get$span(e),"original load"],D.FileSpan,D.String))},$signature:98},A._EvaluateVisitor__loadModule__closure4.prototype={call$0(){return this.callback.call$2(this._box_1.module,this.firstLoad)},$signature:0},A._EvaluateVisitor__execute_closure1.prototype={call$0(){var e,t,r,n,i=this,o=i.$this,s=o._evaluate0$_importer,a=o._evaluate0$__stylesheet,l=o._evaluate0$__root,c=o._evaluate0$_preModuleComments,u=o._evaluate0$__parent,d=o._evaluate0$__endOfImports,h=o._evaluate0$_outOfOrderImports,p=o._evaluate0$__extensionStore,m=o._evaluate0$_atRootExcludingStyleRule,_=m?null:o._evaluate0$_styleRuleIgnoringAtRoot,g=o._evaluate0$_mediaQueries,f=o._evaluate0$_declarationName,v=o._evaluate0$_inUnknownAtRule,b=o._evaluate0$_inKeyframes,y=o._evaluate0$_configuration;o._evaluate0$_importer=i.importer,t=(e=o._evaluate0$__stylesheet=i.stylesheet).span,r=o._evaluate0$__parent=o._evaluate0$__root=A.ModifiableCssStylesheet$0(t),o._evaluate0$__endOfImports=0,o._evaluate0$_outOfOrderImports=null,o._evaluate0$__extensionStore=i.extensionStore,o._evaluate0$_declarationName=o._evaluate0$_mediaQueries=o._evaluate0$_styleRuleIgnoringAtRoot=null,o._evaluate0$_inKeyframes=o._evaluate0$_atRootExcludingStyleRule=o._evaluate0$_inUnknownAtRule=!1,null!=(n=i.configuration)&&(o._evaluate0$_configuration=n),o.visitStylesheet$1(0,e),e=null==o._evaluate0$_outOfOrderImports?r:new A.CssStylesheet0(new A.UnmodifiableListView(o._evaluate0$_addOutOfOrderImports$0(),D.UnmodifiableListView_CssNode_2),t),i.css.__late_helper$_value=e,i.preModuleComments.__late_helper$_value=o._evaluate0$_preModuleComments,o._evaluate0$_importer=s,o._evaluate0$__stylesheet=a,o._evaluate0$__root=l,o._evaluate0$_preModuleComments=c,o._evaluate0$__parent=u,o._evaluate0$__endOfImports=d,o._evaluate0$_outOfOrderImports=h,o._evaluate0$__extensionStore=p,o._evaluate0$_styleRuleIgnoringAtRoot=_,o._evaluate0$_mediaQueries=g,o._evaluate0$_declarationName=f,o._evaluate0$_inUnknownAtRule=v,o._evaluate0$_atRootExcludingStyleRule=m,o._evaluate0$_inKeyframes=b,o._evaluate0$_configuration=y},$signature:1},A._EvaluateVisitor__combineCss_closure3.prototype={call$1:e=>e.get$transitivelyContainsCss(),$signature:85},A._EvaluateVisitor__combineCss_closure4.prototype={call$1(e){return!this.selectors.contains$1(0,e)},$signature:15},A._EvaluateVisitor__combineCss_visitModule1.prototype={call$1(e){var t,r,n,i,o,s,a,l,c,u=this;if(u.seen.add$1(0,e)){for(u.clone&&(e=e.cloneCss$0()),r=(t=e.get$upstream()).length,n=u.css,i=u.imports,o=0;o<t.length;t.length===r||(0,A.throwConcurrentModificationError)(t),++o)(s=t[o]).get$transitivelyContainsCss()&&(null!=(a=e.get$preModuleComments().$index(0,s))&&C.JSArray_methods.addAll$1(0===n.length?i:n,a),u.call$1(s));u.sorted.addFirst$1(e),l=(t=e.get$css(e)).get$children(t),c=u.$this._evaluate0$_indexAfterImports$1(l),t=w.getInterceptor$ax(l),C.JSArray_methods.addAll$1(i,t.getRange$2(l,0,c)),C.JSArray_methods.addAll$1(n,t.getRange$2(l,c,t.get$length(l)))}},$signature:461},A._EvaluateVisitor__extendModules_closure3.prototype={call$1(e){return!this.originalSelectors.contains$1(0,e)},$signature:15},A._EvaluateVisitor__extendModules_closure4.prototype={call$0:()=>A._setArrayType([],D.JSArray_ExtensionStore_2),$signature:211},A._EvaluateVisitor_visitAtRootRule_closure3.prototype={call$0(){var e,t,r,n;for(t=(e=this.node.children).length,r=this.$this,n=0;n<t;++n)e[n].accept$1(r)},$signature:1},A._EvaluateVisitor_visitAtRootRule_closure4.prototype={call$0(){var e,t,r,n;for(t=(e=this.node.children).length,r=this.$this,n=0;n<t;++n)e[n].accept$1(r)},$signature:0},A._EvaluateVisitor__scopeForAtRoot_closure11.prototype={call$1(e){var t=this.$this,r=t._evaluate0$_assertInModule$2(t._evaluate0$__parent,"__parent");t._evaluate0$__parent=this.newParent,t._evaluate0$_environment.scope$1$2$when(e,this.node.hasDeclarations,D.void),t._evaluate0$__parent=r},$signature:35},A._EvaluateVisitor__scopeForAtRoot_closure12.prototype={call$1(e){var t=this.$this,r=t._evaluate0$_atRootExcludingStyleRule;t._evaluate0$_atRootExcludingStyleRule=!0,this.innerScope.call$1(e),t._evaluate0$_atRootExcludingStyleRule=r},$signature:35},A._EvaluateVisitor__scopeForAtRoot_closure13.prototype={call$1(e){return this.$this._evaluate0$_withMediaQueries$3(null,null,new A._EvaluateVisitor__scopeForAtRoot__closure1(this.innerScope,e))},$signature:35},A._EvaluateVisitor__scopeForAtRoot__closure1.prototype={call$0(){return this.innerScope.call$1(this.callback)},$signature:1},A._EvaluateVisitor__scopeForAtRoot_closure14.prototype={call$1(e){var t=this.$this,r=t._evaluate0$_inKeyframes;t._evaluate0$_inKeyframes=!1,this.innerScope.call$1(e),t._evaluate0$_inKeyframes=r},$signature:35},A._EvaluateVisitor__scopeForAtRoot_closure15.prototype={call$1:e=>e instanceof A.ModifiableCssAtRule0,$signature:212},A._EvaluateVisitor__scopeForAtRoot_closure16.prototype={call$1(e){var t=this.$this,r=t._evaluate0$_inUnknownAtRule;t._evaluate0$_inUnknownAtRule=!1,this.innerScope.call$1(e),t._evaluate0$_inUnknownAtRule=r},$signature:35},A._EvaluateVisitor_visitContentRule_closure1.prototype={call$0(){var e,t,r,n;for(t=(e=this.content.declaration.children).length,r=this.$this,n=0;n<t;++n)e[n].accept$1(r);return null},$signature:1},A._EvaluateVisitor_visitDeclaration_closure1.prototype={call$0(){var e,t,r,n;for(t=(e=this._box_0.children).length,r=this.$this,n=0;n<t;++n)e[n].accept$1(r)},$signature:1},A._EvaluateVisitor_visitEachRule_closure5.prototype={call$1(e){var t=this.$this,r=this.nodeWithSpan;return t._evaluate0$_environment.setLocalVariable$3(this._box_0.variable,t._evaluate0$_withoutSlash$2(e,r),r)},$signature:63},A._EvaluateVisitor_visitEachRule_closure6.prototype={call$1(e){return this.$this._evaluate0$_setMultipleVariables$3(this._box_1.variables,e,this.nodeWithSpan)},$signature:63},A._EvaluateVisitor_visitEachRule_closure7.prototype={call$0(){var e=this,t=e.$this;return t._evaluate0$_handleReturn$2(e.list.get$asList(),new A._EvaluateVisitor_visitEachRule__closure1(t,e.setVariables,e.node))},$signature:42},A._EvaluateVisitor_visitEachRule__closure1.prototype={call$1(e){var t;return this.setVariables.call$1(e),(t=this.$this)._evaluate0$_handleReturn$2(this.node.children,new A._EvaluateVisitor_visitEachRule___closure1(t))},$signature:242},A._EvaluateVisitor_visitEachRule___closure1.prototype={call$1(e){return e.accept$1(this.$this)},$signature:115},A._EvaluateVisitor_visitAtRule_closure7.prototype={call$1(e){return this.$this._evaluate0$_interpolationToValue$3$trim$warnForColor(e,!0,!0)},$signature:696},A._EvaluateVisitor_visitAtRule_closure8.prototype={call$0(){var e,t,r,n;for(t=(e=this.children).length,r=this.$this,n=0;n<t;++n)e[n].accept$1(r)},$signature:1},A._EvaluateVisitor_visitAtRule_closure9.prototype={call$0(){var e,t,r,n=this,i=n.$this,o=i._evaluate0$_atRootExcludingStyleRule?null:i._evaluate0$_styleRuleIgnoringAtRoot;if(null==o||i._evaluate0$_inKeyframes||"font-face"===n.name.value)for(t=(e=n.children).length,r=0;r<t;++r)e[r].accept$1(i);else i._evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(o._style_rule0$_selector,o.span,!1,o.originalSelector),new A._EvaluateVisitor_visitAtRule__closure1(i,n.children),!1,D.ModifiableCssStyleRule_2,D.Null)},$signature:1},A._EvaluateVisitor_visitAtRule__closure1.prototype={call$0(){var e,t,r,n;for(t=(e=this.children).length,r=this.$this,n=0;n<t;++n)e[n].accept$1(r)},$signature:1},A._EvaluateVisitor_visitAtRule_closure10.prototype={call$1:e=>e instanceof A.ModifiableCssStyleRule0,$signature:8},A._EvaluateVisitor_visitForRule_closure9.prototype={call$0(){return this.node.from.accept$1(this.$this).assertNumber$0()},$signature:243},A._EvaluateVisitor_visitForRule_closure10.prototype={call$0(){return this.node.to.accept$1(this.$this).assertNumber$0()},$signature:243},A._EvaluateVisitor_visitForRule_closure11.prototype={call$0(){return this.fromNumber.assertInt$0()},$signature:10},A._EvaluateVisitor_visitForRule_closure12.prototype={call$0(){var e=this.fromNumber;return this.toNumber.coerce$2(e.get$numeratorUnits(e),e.get$denominatorUnits(e)).assertInt$0()},$signature:10},A._EvaluateVisitor_visitForRule_closure13.prototype={call$0(){var e,t,r,n,i,o,s,a,l=this,c=l.$this,u=l.node,d=c._evaluate0$_expressionNode$1(u.from);for(e=l.from,t=l._box_0,r=l.direction,n=u.variable,i=l.fromNumber,u=u.children;e!==t.to;e+=r)if(o=c._evaluate0$_environment,s=i.get$numeratorUnits(i),o.setLocalVariable$3(n,A.SassNumber_SassNumber$withUnits0(e,i.get$denominatorUnits(i),s),d),null!=(a=c._evaluate0$_handleReturn$2(u,new A._EvaluateVisitor_visitForRule__closure1(c))))return a;return null},$signature:42},A._EvaluateVisitor_visitForRule__closure1.prototype={call$1(e){return e.accept$1(this.$this)},$signature:115},A._EvaluateVisitor_visitForwardRule_closure3.prototype={call$2(e,t){t&&this.$this._evaluate0$_registerCommentsForModule$1(e),this.$this._evaluate0$_environment.forwardModule$2(e,this.node)},$signature:91},A._EvaluateVisitor_visitForwardRule_closure4.prototype={call$2(e,t){t&&this.$this._evaluate0$_registerCommentsForModule$1(e),this.$this._evaluate0$_environment.forwardModule$2(e,this.node)},$signature:91},A._EvaluateVisitor__registerCommentsForModule_closure1.prototype={call$0:()=>A._setArrayType([],D.JSArray_CssComment_2),$signature:215},A._EvaluateVisitor_visitIfRule_closure1.prototype={call$1(e){var t=this.$this;return t._evaluate0$_environment.scope$1$3$semiGlobal$when(new A._EvaluateVisitor_visitIfRule__closure1(t,e),!0,e.hasDeclarations,D.nullable_Value_2)},$signature:466},A._EvaluateVisitor_visitIfRule__closure1.prototype={call$0(){var e=this.$this;return e._evaluate0$_handleReturn$2(this.clause.children,new A._EvaluateVisitor_visitIfRule___closure1(e))},$signature:42},A._EvaluateVisitor_visitIfRule___closure1.prototype={call$1(e){return e.accept$1(this.$this)},$signature:115},A._EvaluateVisitor__visitDynamicImport_closure1.prototype={call$0(){var e,t,r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y,$,x,S,C={};if(C.isDependency=C.importer=C.stylesheet=null,e=this.$this,t=this.$import,r=e._evaluate0$_loadStylesheet$3$forImport(t.urlString,t.span,!0),n=C.stylesheet=r._0,i=r._1,C.importer=i,o=r._2,C.isDependency=o,null!=(a=(s=n.span).get$sourceUrl(s))){if((s=e._evaluate0$_activeModules).containsKey$1(a))throw t=A.NullableExtension_andThen0(s.$index(0,a),new A._EvaluateVisitor__visitDynamicImport__closure7(e)),A.wrapException(null==t?e._evaluate0$_exception$1("This file is already being loaded."):t);s.$indexSet(0,a,t)}if(t=n._stylesheet1$_uses,s=D.UnmodifiableListView_UseRule_2,0===new A.UnmodifiableListView(t,s).get$length(0)&&0===new A.UnmodifiableListView(n._stylesheet1$_forwards,D.UnmodifiableListView_ForwardRule_2).get$length(0))return l=e._evaluate0$_importer,c=e._evaluate0$_assertInModule$2(e._evaluate0$__stylesheet,"_stylesheet"),u=e._evaluate0$_inDependency,e._evaluate0$_importer=i,e._evaluate0$__stylesheet=n,e._evaluate0$_inDependency=o,e.visitStylesheet$1(0,n),e._evaluate0$_importer=l,e._evaluate0$__stylesheet=c,e._evaluate0$_inDependency=u,void e._evaluate0$_activeModules.remove$1(0,a);if(d=!!(t=new A.UnmodifiableListView(t,s)).any$1(t,new A._EvaluateVisitor__visitDynamicImport__closure8)||(t=new A.UnmodifiableListView(n._stylesheet1$_forwards,D.UnmodifiableListView_ForwardRule_2)).any$1(t,new A._EvaluateVisitor__visitDynamicImport__closure9),h=A._Cell$(),t=e._evaluate0$_environment,s=D.String,p=D.Module_Callable_2,m=D.AstNode_2,_=t._environment0$_nestedForwardedModules,g=A._setArrayType([],D.JSArray_Module_Callable_2),f=t._environment0$_variables,f=A._setArrayType(f.slice(0),A._arrayInstanceType(f)),v=t._environment0$_variableNodes,v=A._setArrayType(v.slice(0),A._arrayInstanceType(v)),b=t._environment0$_functions,b=A._setArrayType(b.slice(0),A._arrayInstanceType(b)),y=t._environment0$_mixins,y=A._setArrayType(y.slice(0),A._arrayInstanceType(y)),$=A.Environment$_0(A.LinkedHashMap_LinkedHashMap$_empty(s,p),A.LinkedHashMap_LinkedHashMap$_empty(s,m),A.LinkedHashMap_LinkedHashMap$_empty(p,m),t._environment0$_importedModules,null,_,g,f,v,b,y,t._environment0$_content,t._environment0$_configurableVariables),e._evaluate0$_withEnvironment$2($,new A._EvaluateVisitor__visitDynamicImport__closure10(C,e,d,$,h)),x=$.toDummyModule$0(),e._evaluate0$_environment.importForwards$1(x),d)for(x.transitivelyContainsCss&&e._evaluate0$_combineCss$2$clone(x,x.transitivelyContainsExtensions).accept$1(e),S=new A._ImportedCssVisitor1(e),t=w.get$iterator$ax(h._readLocal$0());t.moveNext$0();)t.get$current(t).accept$1(S);e._evaluate0$_activeModules.remove$1(0,a)},$signature:0},A._EvaluateVisitor__visitDynamicImport__closure7.prototype={call$1(e){return this.$this._evaluate0$_multiSpanException$3("This file is already being loaded.","new load",A.LinkedHashMap_LinkedHashMap$_literal([e.get$span(e),"original load"],D.FileSpan,D.String))},$signature:98},A._EvaluateVisitor__visitDynamicImport__closure8.prototype={call$1:e=>"sass"!==e.url.get$scheme(),$signature:142},A._EvaluateVisitor__visitDynamicImport__closure9.prototype={call$1:e=>"sass"!==e.url.get$scheme(),$signature:216},A._EvaluateVisitor__visitDynamicImport__closure10.prototype={call$0(){var e,t,r=this,n=r.$this,i=n._evaluate0$_importer,o=n._evaluate0$_assertInModule$2(n._evaluate0$__stylesheet,"_stylesheet"),s=n._evaluate0$_assertInModule$2(n._evaluate0$__root,"_root"),a=n._evaluate0$_assertInModule$2(n._evaluate0$__parent,"__parent"),l=n._evaluate0$_assertInModule$2(n._evaluate0$__endOfImports,"_endOfImports"),c=n._evaluate0$_outOfOrderImports,u=n._evaluate0$_configuration,d=n._evaluate0$_inDependency,h=r._box_0;n._evaluate0$_importer=h.importer,e=h.stylesheet,n._evaluate0$__stylesheet=e,(t=r.loadsUserDefinedModules)&&(e=A.ModifiableCssStylesheet$0(e.span),n._evaluate0$__root=e,n._evaluate0$__parent=n._evaluate0$_assertInModule$2(e,"_root"),n._evaluate0$__endOfImports=0,n._evaluate0$_outOfOrderImports=null),n._evaluate0$_inDependency=h.isDependency,(e=new A.UnmodifiableListView(h.stylesheet._stylesheet1$_forwards,D.UnmodifiableListView_ForwardRule_2)).get$isEmpty(e)||(n._evaluate0$_configuration=r.environment.toImplicitConfiguration$0()),n.visitStylesheet$1(0,h.stylesheet),h=t?n._evaluate0$_addOutOfOrderImports$0():A._setArrayType([],D.JSArray_ModifiableCssNode_2),r.children.__late_helper$_value=h,n._evaluate0$_importer=i,n._evaluate0$__stylesheet=o,t&&(n._evaluate0$__root=s,n._evaluate0$__parent=a,n._evaluate0$__endOfImports=l,n._evaluate0$_outOfOrderImports=c),n._evaluate0$_configuration=u,n._evaluate0$_inDependency=d},$signature:1},A._EvaluateVisitor__applyMixin_closure3.prototype={call$0(){var e=this,t=e.$this;t._evaluate0$_environment.asMixin$1(new A._EvaluateVisitor__applyMixin__closure4(t,e.$arguments,e.mixin,e.nodeWithSpanWithoutContent))},$signature:0},A._EvaluateVisitor__applyMixin__closure4.prototype={call$0(){var e=this;e.$this._evaluate0$_runBuiltInCallable$3(e.$arguments,e.mixin,e.nodeWithSpanWithoutContent)},$signature:0},A._EvaluateVisitor__applyMixin_closure4.prototype={call$0(){var e=this,t=e.$this;t._evaluate0$_environment.withContent$2(e.contentCallable,new A._EvaluateVisitor__applyMixin__closure3(t,e.mixin,e.nodeWithSpanWithoutContent))},$signature:1},A._EvaluateVisitor__applyMixin__closure3.prototype={call$0(){var e=this.$this;e._evaluate0$_environment.asMixin$1(new A._EvaluateVisitor__applyMixin___closure1(e,this.mixin,this.nodeWithSpanWithoutContent))},$signature:0},A._EvaluateVisitor__applyMixin___closure1.prototype={call$0(){var e,t,r,n,i;for(t=(e=this.mixin.declaration.children).length,r=this.$this,n=this.nodeWithSpanWithoutContent,i=0;i<t;++i)r._evaluate0$_addErrorSpan$2(n,new A._EvaluateVisitor__applyMixin____closure1(r,e[i]))},$signature:0},A._EvaluateVisitor__applyMixin____closure1.prototype={call$0(){return this.statement.accept$1(this.$this)},$signature:42},A._EvaluateVisitor_visitIncludeRule_closure5.prototype={call$0(){var e=this.node;return this.$this._evaluate0$_environment.getMixin$2$namespace(e.name,e.namespace)},$signature:88},A._EvaluateVisitor_visitIncludeRule_closure6.prototype={call$1(e){var t=this.$this;return new A.UserDefinedCallable0(e,t._evaluate0$_environment.closure$0(),t._evaluate0$_inDependency,D.UserDefinedCallable_Environment_2)},$signature:467},A._EvaluateVisitor_visitIncludeRule_closure7.prototype={call$0(){return this.node.get$spanWithoutContent()},$signature:16},A._EvaluateVisitor_visitMediaRule_closure7.prototype={call$0(){var e,t,r,n;for(t=(e=this.node.children).length,r=this.$this,n=0;n<t;++n)e[n].accept$1(r)},$signature:1},A._EvaluateVisitor_visitMediaRule_closure8.prototype={call$1(e){return this.$this._evaluate0$_mergeMediaQueries$2(e,this.queries)},$signature:104},A._EvaluateVisitor_visitMediaRule_closure9.prototype={call$0(){var e=this,t=e.$this,r=e.mergedQueries;null==r&&(r=e.queries),t._evaluate0$_withMediaQueries$3(r,e.mergedSources,new A._EvaluateVisitor_visitMediaRule__closure1(t,e.node))},$signature:1},A._EvaluateVisitor_visitMediaRule__closure1.prototype={call$0(){var e,t,r,n=this.$this,i=n._evaluate0$_atRootExcludingStyleRule?null:n._evaluate0$_styleRuleIgnoringAtRoot;if(null!=i)n._evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(i._style_rule0$_selector,i.span,!1,i.originalSelector),new A._EvaluateVisitor_visitMediaRule___closure1(n,this.node),!1,D.ModifiableCssStyleRule_2,D.Null);else for(t=(e=this.node.children).length,r=0;r<t;++r)e[r].accept$1(n)},$signature:1},A._EvaluateVisitor_visitMediaRule___closure1.prototype={call$0(){var e,t,r,n;for(t=(e=this.node.children).length,r=this.$this,n=0;n<t;++n)e[n].accept$1(r)},$signature:1},A._EvaluateVisitor_visitMediaRule_closure10.prototype={call$1(e){var t;return t=e instanceof A.ModifiableCssStyleRule0||(t=this.mergedSources).get$isNotEmpty(t)&&e instanceof A.ModifiableCssMediaRule0&&C.JSArray_methods.every$1(e.queries,t.get$contains(t))},$signature:8},A._EvaluateVisitor_visitStyleRule_closure7.prototype={call$0(){var e,t,r,n;for(t=(e=this.node.children).length,r=this.$this,n=0;n<t;++n)e[n].accept$1(r)},$signature:1},A._EvaluateVisitor_visitStyleRule_closure8.prototype={call$1:e=>e instanceof A.ModifiableCssStyleRule0,$signature:8},A._EvaluateVisitor_visitStyleRule_closure10.prototype={call$0(){var e=this.$this;e._evaluate0$_withStyleRule$2(this.rule,new A._EvaluateVisitor_visitStyleRule__closure1(e,this.node))},$signature:1},A._EvaluateVisitor_visitStyleRule__closure1.prototype={call$0(){var e,t,r,n;for(t=(e=this.node.children).length,r=this.$this,n=0;n<t;++n)e[n].accept$1(r)},$signature:1},A._EvaluateVisitor_visitStyleRule_closure9.prototype={call$1:e=>e instanceof A.ModifiableCssStyleRule0,$signature:8},A._EvaluateVisitor__warnForBogusCombinators_closure1.prototype={call$1:e=>e instanceof A.ModifiableCssComment0,$signature:8},A._EvaluateVisitor_visitSupportsRule_closure5.prototype={call$0(){var e,t,r,n;for(t=(e=this.node.children).length,r=this.$this,n=0;n<t;++n)e[n].accept$1(r)},$signature:1},A._EvaluateVisitor_visitSupportsRule_closure6.prototype={call$0(){var e,t,r,n=this.$this,i=n._evaluate0$_atRootExcludingStyleRule?null:n._evaluate0$_styleRuleIgnoringAtRoot;if(null!=i)n._evaluate0$_withParent$2$2(A.ModifiableCssStyleRule$0(i._style_rule0$_selector,i.span,!1,i.originalSelector),new A._EvaluateVisitor_visitSupportsRule__closure1(n,this.node),D.ModifiableCssStyleRule_2,D.Null);else for(t=(e=this.node.children).length,r=0;r<t;++r)e[r].accept$1(n)},$signature:1},A._EvaluateVisitor_visitSupportsRule__closure1.prototype={call$0(){var e,t,r,n;for(t=(e=this.node.children).length,r=this.$this,n=0;n<t;++n)e[n].accept$1(r)},$signature:1},A._EvaluateVisitor_visitSupportsRule_closure7.prototype={call$1:e=>e instanceof A.ModifiableCssStyleRule0,$signature:8},A._EvaluateVisitor__visitSupportsCondition_closure1.prototype={call$0(){var e,t=this.$this,r=this._box_0,n=r.declaration.name;return n=t._evaluate0$_serialize$3$quote(n.accept$1(t),n,!0),e=r.declaration.get$isCustomProperty()?"":" ",r=r.declaration.value,"("+n+":"+e+t._evaluate0$_serialize$3$quote(r.accept$1(t),r,!0)+")"},$signature:29},A._EvaluateVisitor_visitVariableDeclaration_closure5.prototype={call$0(){var e=this.$this._evaluate0$_environment,t=this._box_0.override;e.setVariable$4$global(this.node.name,t.value,t.assignmentNode,!0)},$signature:1},A._EvaluateVisitor_visitVariableDeclaration_closure6.prototype={call$0(){var e=this.node;return this.$this._evaluate0$_environment.getVariable$2$namespace(e.name,e.namespace)},$signature:42},A._EvaluateVisitor_visitVariableDeclaration_closure7.prototype={call$0(){var e=this.$this,t=this.node;e._evaluate0$_environment.setVariable$5$global$namespace(t.name,this.value,e._evaluate0$_expressionNode$1(t.expression),t.isGlobal,t.namespace)},$signature:1},A._EvaluateVisitor_visitUseRule_closure1.prototype={call$2(e,t){var r,n,i,o,s,a,l;t&&this.$this._evaluate0$_registerCommentsForModule$1(e),r=this.$this._evaluate0$_environment,null==(i=(n=this.node).namespace)?(r._environment0$_globalModules.$indexSet(0,e,n),r._environment0$_allModules.push(e),r=C.JSArray_methods.get$first(r._environment0$_variables),null!=(o=A.IterableExtension_firstWhereOrNull(r.get$keys(r),e.get$variables().get$containsKey()))&&A.throwExpression(A.SassScriptException$0(P.This_ma+o+'".',null))):((s=r._environment0$_modules).containsKey$1(i)&&(l=null==(a=r._environment0$_namespaceNodes.$index(0,i))?null:a.span,a=A.LinkedHashMap_LinkedHashMap$_empty(D.FileSpan,D.String),null!=l&&a.$indexSet(0,l,"original @use"),A.throwExpression(A.MultiSpanSassScriptException$0(P.There_+i+'".',"new @use",a))),s.$indexSet(0,i,e),r._environment0$_namespaceNodes.$indexSet(0,i,n),r._environment0$_allModules.push(e))},$signature:91},A._EvaluateVisitor_visitWarnRule_closure1.prototype={call$0(){return this.node.expression.accept$1(this.$this)},$signature:46},A._EvaluateVisitor_visitWhileRule_closure1.prototype={call$0(){var e,t,r,n;for(t=(e=this.node).condition,r=this.$this,e=e.children;t.accept$1(r).get$isTruthy();)if(null!=(n=r._evaluate0$_handleReturn$2(e,new A._EvaluateVisitor_visitWhileRule__closure1(r))))return n;return null},$signature:42},A._EvaluateVisitor_visitWhileRule__closure1.prototype={call$1(e){return e.accept$1(this.$this)},$signature:115},A._EvaluateVisitor_visitBinaryOperationExpression_closure1.prototype={call$0(){var e=this.node,t=this.$this,r=e.left.accept$1(t);switch(e.operator.index){case 0:e=e.right.accept$1(t),e=new A.SassString0(A.serializeValue0(r,!1,!0)+"="+A.serializeValue0(e,!1,!0),!1);break;case 1:e=r.get$isTruthy()?r:e.right.accept$1(t);break;case 2:e=r.get$isTruthy()?e.right.accept$1(t):r;break;case 3:e=r.$eq(0,e.right.accept$1(t))?C.SassBoolean_true0:C.SassBoolean_false0;break;case 4:e=r.$eq(0,e.right.accept$1(t))?C.SassBoolean_false0:C.SassBoolean_true0;break;case 5:e=r.greaterThan$1(e.right.accept$1(t));break;case 6:e=r.greaterThanOrEquals$1(e.right.accept$1(t));break;case 7:e=r.lessThan$1(e.right.accept$1(t));break;case 8:e=r.lessThanOrEquals$1(e.right.accept$1(t));break;case 9:e=r.plus$1(e.right.accept$1(t));break;case 10:e=r.minus$1(e.right.accept$1(t));break;case 11:e=r.times$1(e.right.accept$1(t));break;case 12:e=t._evaluate0$_slash$3(r,e.right.accept$1(t),e);break;case 13:e=r.modulo$1(e.right.accept$1(t));break;default:e=null}return e},$signature:46},A._EvaluateVisitor__slash_recommendation1.prototype={call$1(e){return e instanceof A.BinaryOperationExpression0&&C.BinaryOperator_ehp0===e.operator?"math.div("+A.S(this.call$1(e.left))+", "+A.S(this.call$1(e.right))+")":e instanceof A.ParenthesizedExpression0?e.expression.toString$0(0):e.toString$0(0)},$signature:120},A._EvaluateVisitor_visitVariableExpression_closure1.prototype={call$0(){var e=this.node;return this.$this._evaluate0$_environment.getVariable$2$namespace(e.name,e.namespace)},$signature:42},A._EvaluateVisitor_visitUnaryOperationExpression_closure1.prototype={call$0(){var e,t=this;switch(t.node.operator.index){case 0:e=t.operand.unaryPlus$0();break;case 1:e=t.operand.unaryMinus$0();break;case 2:e=new A.SassString0("/"+A.serializeValue0(t.operand,!1,!0),!1);break;case 3:e=t.operand.unaryNot$0();break;default:e=null}return e},$signature:46},A._EvaluateVisitor_visitIfExpression_closure1.prototype={call$1:e=>e._0+": "+e._1.toString$0(0),$signature:217},A._EvaluateVisitor_visitIfConditionOperation_closure1.prototype={call$1:e=>e._1,$signature:218},A._EvaluateVisitor_visitListExpression_closure1.prototype={call$1(e){return e.accept$1(this.$this)},$signature:468},A._EvaluateVisitor_visitFunctionExpression_closure5.prototype={call$0(){var e=this.node;return this.$this._evaluate0$_environment.getFunction$2$namespace(e.name,e.namespace)},$signature:88},A._EvaluateVisitor_visitFunctionExpression_closure6.prototype={call$1:e=>e.accept$1(C.C_IsCalculationSafeVisitor0),$signature:81},A._EvaluateVisitor_visitFunctionExpression_closure7.prototype={call$0(){var e=this.node;return this.$this._evaluate0$_runFunctionCallable$3(e.$arguments,this._box_0.$function,e)},$signature:46},A._EvaluateVisitor__visitCalculation_closure1.prototype={call$2(e,t){return this.$this._evaluate0$_warn$3(e,this.node.span,t)},call$1(e){return this.call$2(e,null)},$signature:110},A._EvaluateVisitor__checkCalculationArguments_check1.prototype={call$1(e){var t=this.node,r=t.$arguments.positional.length;if(0===r)throw A.wrapException(this.$this._evaluate0$_exception$2("Missing argument.",t.span));if(null!=e&&r>e)throw A.wrapException(this.$this._evaluate0$_exception$2("Only "+A.S(e)+" "+A.pluralize0("argument",e,null)+" allowed, but "+r+" "+A.pluralize0("was",r,"were")+" passed.",t.span))},call$0(){return this.call$1(null)},$signature:82},A._EvaluateVisitor__visitCalculationExpression_closure1.prototype={call$0(){var e=this,t=e.$this,r=e._box_0,n=e.node,i=e.inLegacySassFunction;return A.SassCalculation_operateInternal0(t._evaluate0$_binaryOperatorToCalculationOperator$2(r.operator,n),t._evaluate0$_visitCalculationExpression$2$inLegacySassFunction(r.left,i),t._evaluate0$_visitCalculationExpression$2$inLegacySassFunction(r.right,i),i,!t._evaluate0$_inSupportsDeclaration,new A._EvaluateVisitor__visitCalculationExpression__closure1(t,n))},$signature:83},A._EvaluateVisitor__visitCalculationExpression__closure1.prototype={call$2(e,t){return this.$this._evaluate0$_warn$3(e,this.node.get$span(0),t)},call$1(e){return this.call$2(e,null)},$signature:110},A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure1.prototype={call$0(){var e=this.node;return this.$this._evaluate0$_runFunctionCallable$3(e.$arguments,this.$function,e)},$signature:46},A._EvaluateVisitor__runUserDefinedCallable_closure1.prototype={call$0(){var e=this,t=e.$this,r=e.callable;return t._evaluate0$_withEnvironment$2(r.environment.closure$0(),new A._EvaluateVisitor__runUserDefinedCallable__closure1(t,e.evaluated,r,e.nodeWithSpan,e.run,e.V))},$signature(){return this.V._eval$1("0()")}},A._EvaluateVisitor__runUserDefinedCallable__closure1.prototype={call$0(){var e=this,t=e.$this,r=e.V;return t._evaluate0$_environment.scope$1$1(new A._EvaluateVisitor__runUserDefinedCallable___closure1(t,e.evaluated,e.callable,e.nodeWithSpan,e.run,r),r)},$signature(){return this.V._eval$1("0()")}},A._EvaluateVisitor__runUserDefinedCallable___closure1.prototype={call$0(){var e,t,r,n,i,o,s,a,l,c,u,d,h,p,m=this,_=m.$this,g=m.evaluated._values,f=m.callable.declaration.parameters,v=m.nodeWithSpan;for(_._evaluate0$_verifyArguments$4(g[2].length,g[0],f,v),t=(e=f.parameters).length,r=Math.min(g[2].length,t),n=0;n<r;++n)_._evaluate0$_environment.setLocalVariable$3(e[n].name,g[2][n],g[3][n]);for(n=g[2].length;n<t;++n)o=(i=e[n]).name,null==(s=g[0].remove$1(0,o))&&(a=i.defaultValue,s=_._evaluate0$_withoutSlash$2(a.accept$1(_),_._evaluate0$_expressionNode$1(a))),a=_._evaluate0$_environment,null==(l=g[1].$index(0,o))&&((l=i.defaultValue).toString,l=_._evaluate0$_expressionNode$1(l)),a.setLocalVariable$3(o,s,l);if(null!=(c=f.restParameter)?(u=(o=g[2]).length>t?C.JSArray_methods.sublist$1(o,t):C.List_empty23,t=g[0],o=g[4],d=A.SassArgumentList$0(u,t,o===C.ListSeparator_undecided_null_3_undecided0?C.ListSeparator_z0K0:o),_._evaluate0$_environment.setLocalVariable$3(c,d,v)):d=null,h=m.run.call$0(),null==d)return h;if(0===(t=g[0].__js_helper$_length))return h;if(d._argument_list$_wereKeywordsAccessed)return h;throw p=A.pluralize0("parameter",t,null),g=g[0],t=A._instanceType(g)._eval$1("LinkedHashMapKeysIterable<1>"),A.wrapException(A.MultiSpanSassRuntimeException$0("No "+p+" named "+A.toSentence0(A.MappedIterable_MappedIterable(new A.LinkedHashMapKeysIterable(g,t),new A._EvaluateVisitor__runUserDefinedCallable____closure1,t._eval$1("Iterable.E"),D.Object),"or")+".",v.get$span(v),"invocation",A.LinkedHashMap_LinkedHashMap$_literal([f.get$spanWithName(),"declaration"],D.FileSpan,D.String),_._evaluate0$_stackTrace$1(v.get$span(v)),null))},$signature(){return this.V._eval$1("0()")}},A._EvaluateVisitor__runUserDefinedCallable____closure1.prototype={call$1:e=>"$"+e,$signature:6},A._EvaluateVisitor__runFunctionCallable_closure1.prototype={call$0(){var e,t,r,n,i,o;for(r=(t=(e=this.callable.declaration).children).length,n=this.$this,i=0;i<r;++i)if((o=t[i].accept$1(n))instanceof A.Value0)return o;throw A.wrapException(n._evaluate0$_exception$2("Function finished without @return.",e.span))},$signature:46},A._EvaluateVisitor__runBuiltInCallable_closure5.prototype={call$0(){return this._box_0.overload.verify$2(this.evaluated._values[2].length,this.namedSet)},$signature:0},A._EvaluateVisitor__runBuiltInCallable_closure6.prototype={call$0(){return this._box_0.callback.call$1(this.evaluated._values[2])},$signature:46},A._EvaluateVisitor__runBuiltInCallable_closure7.prototype={call$1:e=>"$"+e,$signature:6},A._EvaluateVisitor__evaluateArguments_closure7.prototype={call$1:e=>e,$signature:41},A._EvaluateVisitor__evaluateArguments_closure8.prototype={call$1(e){return this.$this._evaluate0$_withoutSlash$2(e,this.restNodeForSpan)},$signature:41},A._EvaluateVisitor__evaluateArguments_closure9.prototype={call$2(e,t){var r=this,n=r.restNodeForSpan;r.named.$indexSet(0,e,r.$this._evaluate0$_withoutSlash$2(t,n)),r.namedNodes.$indexSet(0,e,n)},$signature:112},A._EvaluateVisitor__evaluateArguments_closure10.prototype={call$1:e=>e,$signature:41},A._EvaluateVisitor__evaluateMacroArguments_closure7.prototype={call$1(e){var t=this.restArgs;return new A.ValueExpression0(e,t.get$span(t))},$signature:65},A._EvaluateVisitor__evaluateMacroArguments_closure8.prototype={call$1(e){var t=this.restArgs;return new A.ValueExpression0(this.$this._evaluate0$_withoutSlash$2(e,this.restNodeForSpan),t.get$span(t))},$signature:65},A._EvaluateVisitor__evaluateMacroArguments_closure9.prototype={call$2(e,t){var r=this,n=r.restArgs;r.named.$indexSet(0,e,new A.ValueExpression0(r.$this._evaluate0$_withoutSlash$2(t,r.restNodeForSpan),n.get$span(n)))},$signature:112},A._EvaluateVisitor__evaluateMacroArguments_closure10.prototype={call$1(e){var t=this.keywordRestArgs;return new A.ValueExpression0(this.$this._evaluate0$_withoutSlash$2(e,this.keywordRestNodeForSpan),t.get$span(t))},$signature:65},A._EvaluateVisitor__addRestMap_closure1.prototype={call$2(e,t){var r,n=this,i=n.$this;if(!(e instanceof A.SassString0))throw r=n.nodeWithSpan,A.wrapException(i._evaluate0$_exception$2(P.Variab_+e.toString$0(0)+" is not a string in "+n.map.toString$0(0)+".",r.get$span(r)));n.values.$indexSet(0,e._string0$_text,n.convert.call$1(i._evaluate0$_withoutSlash$2(t,n.expressionNode)))},$signature:117},A._EvaluateVisitor__verifyArguments_closure1.prototype={call$0(){return this.parameters.verify$2(this.positional,new A.MapKeySet(this.named,D.MapKeySet_String))},$signature:0},A._EvaluateVisitor_visitCssAtRule_closure5.prototype={call$0(){var e,t,r,n;for(t=(e=this.node.children).$ti,e=new A.ListIterator(e,e.get$length(0),t._eval$1("ListIterator<ListBase.E>")),r=this.$this,t=t._eval$1("ListBase.E");e.moveNext$0();)(null==(n=e.__internal$_current)?t._as(n):n).accept$1(r)},$signature:1},A._EvaluateVisitor_visitCssAtRule_closure6.prototype={call$0(){var e,t,r,n;for(t=(e=this.node.children).$ti,e=new A.ListIterator(e,e.get$length(0),t._eval$1("ListIterator<ListBase.E>")),r=this.$this,t=t._eval$1("ListBase.E");e.moveNext$0();)(null==(n=e.__internal$_current)?t._as(n):n).accept$1(r)},$signature:1},A._EvaluateVisitor_visitCssAtRule_closure7.prototype={call$1:e=>e instanceof A.ModifiableCssStyleRule0,$signature:8},A._EvaluateVisitor_visitCssKeyframeBlock_closure3.prototype={call$0(){var e,t,r,n;for(t=(e=this.node.children).$ti,e=new A.ListIterator(e,e.get$length(0),t._eval$1("ListIterator<ListBase.E>")),r=this.$this,t=t._eval$1("ListBase.E");e.moveNext$0();)(null==(n=e.__internal$_current)?t._as(n):n).accept$1(r)},$signature:1},A._EvaluateVisitor_visitCssKeyframeBlock_closure4.prototype={call$1:e=>e instanceof A.ModifiableCssStyleRule0,$signature:8},A._EvaluateVisitor_visitCssMediaRule_closure7.prototype={call$0(){var e,t,r,n;for(t=(e=this.node.children).$ti,e=new A.ListIterator(e,e.get$length(0),t._eval$1("ListIterator<ListBase.E>")),r=this.$this,t=t._eval$1("ListBase.E");e.moveNext$0();)(null==(n=e.__internal$_current)?t._as(n):n).accept$1(r)},$signature:1},A._EvaluateVisitor_visitCssMediaRule_closure8.prototype={call$1(e){return this.$this._evaluate0$_mergeMediaQueries$2(e,this.node.queries)},$signature:104},A._EvaluateVisitor_visitCssMediaRule_closure9.prototype={call$0(){var e=this,t=e.$this,r=e.mergedQueries;null==r&&(r=e.node.queries),t._evaluate0$_withMediaQueries$3(r,e.mergedSources,new A._EvaluateVisitor_visitCssMediaRule__closure1(t,e.node))},$signature:1},A._EvaluateVisitor_visitCssMediaRule__closure1.prototype={call$0(){var e,t,r,n=this.$this,i=n._evaluate0$_atRootExcludingStyleRule?null:n._evaluate0$_styleRuleIgnoringAtRoot;if(null!=i)n._evaluate0$_withParent$2$3$scopeWhen(A.ModifiableCssStyleRule$0(i._style_rule0$_selector,i.span,!1,i.originalSelector),new A._EvaluateVisitor_visitCssMediaRule___closure1(n,this.node),!1,D.ModifiableCssStyleRule_2,D.Null);else for(t=(e=this.node.children).$ti,e=new A.ListIterator(e,e.get$length(0),t._eval$1("ListIterator<ListBase.E>")),t=t._eval$1("ListBase.E");e.moveNext$0();)(null==(r=e.__internal$_current)?t._as(r):r).accept$1(n)},$signature:1},A._EvaluateVisitor_visitCssMediaRule___closure1.prototype={call$0(){var e,t,r,n;for(t=(e=this.node.children).$ti,e=new A.ListIterator(e,e.get$length(0),t._eval$1("ListIterator<ListBase.E>")),r=this.$this,t=t._eval$1("ListBase.E");e.moveNext$0();)(null==(n=e.__internal$_current)?t._as(n):n).accept$1(r)},$signature:1},A._EvaluateVisitor_visitCssMediaRule_closure10.prototype={call$1(e){var t;return t=e instanceof A.ModifiableCssStyleRule0||(t=this.mergedSources).get$isNotEmpty(t)&&e instanceof A.ModifiableCssMediaRule0&&C.JSArray_methods.every$1(e.queries,t.get$contains(t))},$signature:8},A._EvaluateVisitor_visitCssStyleRule_closure4.prototype={call$0(){var e=this.$this;e._evaluate0$_withStyleRule$2(this.rule,new A._EvaluateVisitor_visitCssStyleRule__closure1(e,this.node))},$signature:1},A._EvaluateVisitor_visitCssStyleRule__closure1.prototype={call$0(){var e,t,r,n;for(t=(e=this.node.children).$ti,e=new A.ListIterator(e,e.get$length(0),t._eval$1("ListIterator<ListBase.E>")),r=this.$this,t=t._eval$1("ListBase.E");e.moveNext$0();)(null==(n=e.__internal$_current)?t._as(n):n).accept$1(r)},$signature:1},A._EvaluateVisitor_visitCssStyleRule_closure3.prototype={call$1:e=>e instanceof A.ModifiableCssStyleRule0,$signature:8},A._EvaluateVisitor_visitCssSupportsRule_closure5.prototype={call$0(){var e,t,r,n;for(t=(e=this.node.children).$ti,e=new A.ListIterator(e,e.get$length(0),t._eval$1("ListIterator<ListBase.E>")),r=this.$this,t=t._eval$1("ListBase.E");e.moveNext$0();)(null==(n=e.__internal$_current)?t._as(n):n).accept$1(r)},$signature:1},A._EvaluateVisitor_visitCssSupportsRule_closure6.prototype={call$0(){var e,t,r,n=this.$this,i=n._evaluate0$_atRootExcludingStyleRule?null:n._evaluate0$_styleRuleIgnoringAtRoot;if(null!=i)n._evaluate0$_withParent$2$2(A.ModifiableCssStyleRule$0(i._style_rule0$_selector,i.span,!1,i.originalSelector),new A._EvaluateVisitor_visitCssSupportsRule__closure1(n,this.node),D.ModifiableCssStyleRule_2,D.Null);else for(t=(e=this.node.children).$ti,e=new A.ListIterator(e,e.get$length(0),t._eval$1("ListIterator<ListBase.E>")),t=t._eval$1("ListBase.E");e.moveNext$0();)(null==(r=e.__internal$_current)?t._as(r):r).accept$1(n)},$signature:1},A._EvaluateVisitor_visitCssSupportsRule__closure1.prototype={call$0(){var e,t,r,n;for(t=(e=this.node.children).$ti,e=new A.ListIterator(e,e.get$length(0),t._eval$1("ListIterator<ListBase.E>")),r=this.$this,t=t._eval$1("ListBase.E");e.moveNext$0();)(null==(n=e.__internal$_current)?t._as(n):n).accept$1(r)},$signature:1},A._EvaluateVisitor_visitCssSupportsRule_closure7.prototype={call$1:e=>e instanceof A.ModifiableCssStyleRule0,$signature:8},A._EvaluateVisitor__performInterpolationHelper_closure1.prototype={call$1(e){return A.InterpolationMap$0(this.interpolation,e)},$signature:220},A._EvaluateVisitor__serialize_closure1.prototype={call$0(){return A.serializeValue0(this.value,!1,this.quote)},$signature:29},A._EvaluateVisitor__expressionNode_closure1.prototype={call$0(){var e=this.expression;return this.$this._evaluate0$_environment.getVariableNode$2$namespace(e.name,e.namespace)},$signature:221},A._EvaluateVisitor__withoutSlash_recommendation1.prototype={call$1(e){var t,r,n,i=e.asSlash;return D.Record_2_nullable_Object_and_nullable_Object._is(i)?(t=i._0,r=i._1,n="math.div("+A.S(this.call$1(t))+", "+A.S(this.call$1(r))+")"):n=A.serializeValue0(e,!0,!0),n},$signature:222},A._EvaluateVisitor__stackFrame_closure1.prototype={call$1(e){var t=this.$this._evaluate0$_importCache;return null==(t=null==t?null:t.humanize$1(e))?e:t},$signature:49},A._ImportedCssVisitor1.prototype={visitCssAtRule$1(e){var t=e.isChildless?null:new A._ImportedCssVisitor_visitCssAtRule_closure1;this._evaluate0$_visitor._evaluate0$_addChild$2$through(e,t)},visitCssComment$1(e){return this._evaluate0$_visitor._evaluate0$_addChild$1(e)},visitCssDeclaration$1(e){return this._evaluate0$_visitor._evaluate0$_addChild$1(e)},visitCssImport$1(e){var t,r="_endOfImports",n=this._evaluate0$_visitor;n._evaluate0$_assertInModule$2(n._evaluate0$__parent,"__parent")!==n._evaluate0$_assertInModule$2(n._evaluate0$__root,"_root")?n._evaluate0$_addChild$1(e):n._evaluate0$_assertInModule$2(n._evaluate0$__endOfImports,r)===w.get$length$asx(n._evaluate0$_assertInModule$2(n._evaluate0$__root,"_root").children._collection$_source)?(n._evaluate0$_addChild$1(e),n._evaluate0$__endOfImports=n._evaluate0$_assertInModule$2(n._evaluate0$__endOfImports,r)+1):(null==(t=n._evaluate0$_outOfOrderImports)?n._evaluate0$_outOfOrderImports=A._setArrayType([],D.JSArray_ModifiableCssImport_2):t).push(e)},visitCssKeyframeBlock$1(e){},visitCssMediaRule$1(e){var t=this._evaluate0$_visitor,r=t._evaluate0$_mediaQueries;t._evaluate0$_addChild$2$through(e,new A._ImportedCssVisitor_visitCssMediaRule_closure1(null==r||null!=t._evaluate0$_mergeMediaQueries$2(r,e.queries)))},visitCssStyleRule$1(e){return this._evaluate0$_visitor._evaluate0$_addChild$2$through(e,new A._ImportedCssVisitor_visitCssStyleRule_closure1)},visitCssStylesheet$1(e){var t,r,n;for(r=(t=e.children).$ti,t=new A.ListIterator(t,t.get$length(0),r._eval$1("ListIterator<ListBase.E>")),r=r._eval$1("ListBase.E");t.moveNext$0();)(null==(n=t.__internal$_current)?r._as(n):n).accept$1(this)},visitCssSupportsRule$1(e){return this._evaluate0$_visitor._evaluate0$_addChild$2$through(e,new A._ImportedCssVisitor_visitCssSupportsRule_closure1)}},A._ImportedCssVisitor_visitCssAtRule_closure1.prototype={call$1:e=>e instanceof A.ModifiableCssStyleRule0,$signature:8},A._ImportedCssVisitor_visitCssMediaRule_closure1.prototype={call$1(e){return e instanceof A.ModifiableCssStyleRule0||this.hasBeenMerged&&e instanceof A.ModifiableCssMediaRule0},$signature:8},A._ImportedCssVisitor_visitCssStyleRule_closure1.prototype={call$1:e=>e instanceof A.ModifiableCssStyleRule0,$signature:8},A._ImportedCssVisitor_visitCssSupportsRule_closure1.prototype={call$1:e=>e instanceof A.ModifiableCssStyleRule0,$signature:8},A._EvaluationContext1.prototype={get$currentCallableSpan(){var e=this._evaluate0$_visitor._evaluate0$_callableNode;if(null!=e)return e.get$span(e);throw A.wrapException(A.StateError$(P.No_Sasc))},warn$2(e,t,r){var n=this._evaluate0$_visitor,i=n._evaluate0$_importSpan;null==i&&(i=null==(i=n._evaluate0$_callableNode)?null:i.get$span(i)),n._evaluate0$_warn$3(t,null==i?this._evaluate0$_defaultWarnNodeWithSpan.span:i,r)},$isEvaluationContext0:1},A.EveryCssVisitor0.prototype={visitCssAtRule$1(e){var t=e.children;return t.every$1(t,new A.EveryCssVisitor_visitCssAtRule_closure0(this))},visitCssComment$1:e=>!1,visitCssDeclaration$1:e=>!1,visitCssImport$1:e=>!1,visitCssKeyframeBlock$1(e){var t=e.children;return t.every$1(t,new A.EveryCssVisitor_visitCssKeyframeBlock_closure0(this))},visitCssMediaRule$1(e){var t=e.children;return t.every$1(t,new A.EveryCssVisitor_visitCssMediaRule_closure0(this))},visitCssStyleRule$1(e){var t=e.children;return t.every$1(t,new A.EveryCssVisitor_visitCssStyleRule_closure0(this))},visitCssStylesheet$1(e){return w.every$1$ax(e.get$children(e),new A.EveryCssVisitor_visitCssStylesheet_closure0(this))},visitCssSupportsRule$1(e){var t=e.children;return t.every$1(t,new A.EveryCssVisitor_visitCssSupportsRule_closure0(this))}},A.EveryCssVisitor_visitCssAtRule_closure0.prototype={call$1(e){return e.accept$1(this.$this)},$signature:8},A.EveryCssVisitor_visitCssKeyframeBlock_closure0.prototype={call$1(e){return e.accept$1(this.$this)},$signature:8},A.EveryCssVisitor_visitCssMediaRule_closure0.prototype={call$1(e){return e.accept$1(this.$this)},$signature:8},A.EveryCssVisitor_visitCssStyleRule_closure0.prototype={call$1(e){return e.accept$1(this.$this)},$signature:8},A.EveryCssVisitor_visitCssStylesheet_closure0.prototype={call$1(e){return e.accept$1(this.$this)},$signature:8},A.EveryCssVisitor_visitCssSupportsRule_closure0.prototype={call$1(e){return e.accept$1(this.$this)},$signature:8},A._NodeException.prototype={},A.exceptionClass_closure.prototype={call$0(){var e=D.JSClass._as(new n.Function("","    return class Exception extends Error {\n      constructor(dartException, message) {\n        super(message);\n\n        // Define this as non-enumerable so that it doesn't show up when the\n        // exception hits the top level.\n        Object.defineProperty(this, '_dartException', {\n          value: dartException,\n          enumerable: false\n        });\n      }\n\n      toString() {\n        return this.message;\n      }\n    }\n  ").call$0());return A.defineGetter(e,"name",null,"sass.Exception"),A.LinkedHashMap_LinkedHashMap$_literal(["sassMessage",new A.exceptionClass__closure,"sassStack",new A.exceptionClass__closure0,"span",new A.exceptionClass__closure1],D.String,D.Function).forEach$1(0,A.JSClassExtension_get_defineGetter(e)),e},$signature:17};A.exceptionClass__closure.prototype={call$1:e=>w.get$_dartException$x(e)._span_exception$_message,$signature:244},A.exceptionClass__closure0.prototype={call$1:e=>w.get$trace$z(w.get$_dartException$x(e)).toString$0(0),$signature:244},A.exceptionClass__closure1.prototype={call$1(e){var t=w.get$_dartException$x(e),r=w.getInterceptor$x(t);return A.SourceSpanException.prototype.get$span.call(r,t)},$signature:470},A.SassException0.prototype={get$trace(e){return A.Trace$(A._setArrayType([A.frameForSpan0(A.SourceSpanException.prototype.get$span.call(this,0),"root stylesheet",null)],D.JSArray_Frame),null)},get$span(e){return A.SourceSpanException.prototype.get$span.call(this,0)},withAdditionalSpan$2(e,t){return A.MultiSpanSassException$0(this._span_exception$_message,A.SourceSpanException.prototype.get$span.call(this,0),"",A.LinkedHashMap_LinkedHashMap$_literal([e,t],D.FileSpan,D.String),this.loadedUrls)},withTrace$1(e){var t=A.SourceSpanException.prototype.get$span.call(this,0),r=A.Set_Set$unmodifiable(this.loadedUrls,D.Uri);return new A.SassRuntimeException0(e,r,this._span_exception$_message,t)},withLoadedUrls$1(e){var t=A.SourceSpanException.prototype.get$span.call(this,0),r=A.Set_Set$unmodifiable(e,D.Uri);return new A.SassException0(r,this._span_exception$_message,t)},toString$1$color(e,t){var r,n,i,o=this,s=new A.StringBuffer(""),a="Error: "+o._span_exception$_message+"\n";for(s._contents=a,s._contents=a+A.SourceSpanException.prototype.get$span.call(o,0).highlight$1$color(t),r=(a=o.get$trace(o).toString$0(0).split("\n")).length,n=0;n<r;++n)0!==(i=a[n]).length&&(s._contents=(s._contents+="\n")+"  "+i);return(a=s._contents).charCodeAt(0),a},toString$0(e){return this.toString$1$color(0,null)}},A.MultiSpanSassException0.prototype={withAdditionalSpan$2(e,t){var r=this,n=A.SourceSpanException.prototype.get$span.call(r,0),i=A.LinkedHashMap_LinkedHashMap$of(r.secondarySpans,D.FileSpan,D.String);return i.$indexSet(0,e,t),A.MultiSpanSassException$0(r._span_exception$_message,n,r.primaryLabel,i,r.loadedUrls)},withTrace$1(e){var t=this;return A.MultiSpanSassRuntimeException$0(t._span_exception$_message,A.SourceSpanException.prototype.get$span.call(t,0),t.primaryLabel,t.secondarySpans,e,t.loadedUrls)},withLoadedUrls$1(e){var t=this;return A.MultiSpanSassException$0(t._span_exception$_message,A.SourceSpanException.prototype.get$span.call(t,0),t.primaryLabel,t.secondarySpans,e)},toString$1$color(e,t){var r,n,i,o,s=this,a=!0===t,l=new A.StringBuffer("Error: "+s._span_exception$_message+"\n");for(A.NullableExtension_andThen0(A.Highlighter$multiple(A.SourceSpanException.prototype.get$span.call(s,0),s.primaryLabel,s.secondarySpans,a,null,null).highlight$0(),l.get$write(l)),n=(r=s.get$trace(s).toString$0(0).split("\n")).length,i=0;i<n;++i)0!==(o=r[i]).length&&(l._contents=(l._contents+="\n")+"  "+o);return(r=l._contents).charCodeAt(0),r},toString$0(e){return this.toString$1$color(0,null)},get$primaryLabel(){return this.primaryLabel},get$secondarySpans(){return this.secondarySpans}},A.SassRuntimeException0.prototype={withAdditionalSpan$2(e,t){var r=this;return A.MultiSpanSassRuntimeException$0(r._span_exception$_message,A.SourceSpanException.prototype.get$span.call(r,0),"",A.LinkedHashMap_LinkedHashMap$_literal([e,t],D.FileSpan,D.String),r.trace,r.loadedUrls)},withLoadedUrls$1(e){var t=A.SourceSpanException.prototype.get$span.call(this,0),r=A.Set_Set$unmodifiable(e,D.Uri);return new A.SassRuntimeException0(this.trace,r,this._span_exception$_message,t)},get$trace(e){return this.trace}},A.MultiSpanSassRuntimeException0.prototype={withAdditionalSpan$2(e,t){var r=this,n=A.SourceSpanException.prototype.get$span.call(r,0),i=A.LinkedHashMap_LinkedHashMap$of(r.secondarySpans,D.FileSpan,D.String);return i.$indexSet(0,e,t),A.MultiSpanSassRuntimeException$0(r._span_exception$_message,n,r.primaryLabel,i,r.trace,r.loadedUrls)},withLoadedUrls$1(e){var t=this;return A.MultiSpanSassRuntimeException$0(t._span_exception$_message,A.SourceSpanException.prototype.get$span.call(t,0),t.primaryLabel,t.secondarySpans,t.trace,e)},$isSassRuntimeException0:1,get$trace(e){return this.trace}},A.SassFormatException0.prototype={get$source(){var e=A.SourceSpanException.prototype.get$span.call(this,0);return A.String_String$fromCharCodes(C.NativeUint32List_methods.sublist$2(e.get$file(e)._decodedChars,0,null),0,null)},withAdditionalSpan$2(e,t){return A.MultiSpanSassFormatException$0(this._span_exception$_message,A.SourceSpanException.prototype.get$span.call(this,0),"",A.LinkedHashMap_LinkedHashMap$_literal([e,t],D.FileSpan,D.String),this.loadedUrls)},withLoadedUrls$1(e){var t=A.SourceSpanException.prototype.get$span.call(this,0),r=A.Set_Set$unmodifiable(e,D.Uri);return new A.SassFormatException0(r,this._span_exception$_message,t)},$isFormatException:1,$isSourceSpanFormatException:1},A.MultiSpanSassFormatException0.prototype={get$source(){var e=A.SourceSpanException.prototype.get$span.call(this,0);return A.String_String$fromCharCodes(C.NativeUint32List_methods.sublist$2(e.get$file(e)._decodedChars,0,null),0,null)},withAdditionalSpan$2(e,t){var r=this,n=A.SourceSpanException.prototype.get$span.call(r,0),i=A.LinkedHashMap_LinkedHashMap$of(r.secondarySpans,D.FileSpan,D.String);return i.$indexSet(0,e,t),A.MultiSpanSassFormatException$0(r._span_exception$_message,n,r.primaryLabel,i,r.loadedUrls)},withLoadedUrls$1(e){var t=this;return A.MultiSpanSassFormatException$0(t._span_exception$_message,A.SourceSpanException.prototype.get$span.call(t,0),t.primaryLabel,t.secondarySpans,e)},$isFormatException:1,$isSourceSpanFormatException:1,$isMultiSourceSpanFormatException:1,$isSassFormatException0:1},A.SassScriptException0.prototype={withSpan$1(e){return new A.SassException0(C.Set_empty,this.message,e)},toString$0(e){return this.message+P.x0a_BUG_},get$message(e){return this.message}},A.MultiSpanSassScriptException0.prototype={withSpan$1(e){return A.MultiSpanSassException$0(this.message,e,this.primaryLabel,this.secondarySpans,null)}},A.Exports.prototype={},A.LoggerNamespace.prototype={},A.Expression0.prototype={$isAstNode0:1,$isSassNode:1},A.JSExpressionVisitor.prototype={visitBinaryOperationExpression$1(e,t){return w.visitBinaryOperationExpression$1$x(this._expression$_inner,t)},visitBooleanExpression$1(e,t){return w.visitBooleanExpression$1$x(this._expression$_inner,t)},visitColorExpression$1(e,t){return w.visitColorExpression$1$x(this._expression$_inner,t)},visitInterpolatedFunctionExpression$1(e,t){return w.visitInterpolatedFunctionExpression$1$x(this._expression$_inner,t)},visitFunctionExpression$1(e,t){return w.visitFunctionExpression$1$x(this._expression$_inner,t)},visitIfExpression$1(e,t){return w.visitIfExpression$1$x(this._expression$_inner,t)},visitLegacyIfExpression$1(e,t){return w.visitLegacyIfExpression$1$x(this._expression$_inner,t)},visitListExpression$1(e,t){return w.visitListExpression$1$x(this._expression$_inner,t)},visitMapExpression$1(e,t){return w.visitMapExpression$1$x(this._expression$_inner,t)},visitNullExpression$1(e,t){return w.visitNullExpression$1$x(this._expression$_inner,t)},visitNumberExpression$1(e,t){return w.visitNumberExpression$1$x(this._expression$_inner,t)},visitParenthesizedExpression$1(e,t){return w.visitParenthesizedExpression$1$x(this._expression$_inner,t)},visitSelectorExpression$1(e,t){return w.visitSelectorExpression$1$x(this._expression$_inner,t)},visitStringExpression$1(e,t){return w.visitStringExpression$1$x(this._expression$_inner,t)},visitSupportsExpression$1(e,t){return w.visitSupportsExpression$1$x(this._expression$_inner,t)},visitUnaryOperationExpression$1(e,t){return w.visitUnaryOperationExpression$1$x(this._expression$_inner,t)},visitValueExpression$1(e,t){return w.visitValueExpression$1$x(this._expression$_inner,t)},visitVariableExpression$1(e,t){return w.visitVariableExpression$1$x(this._expression$_inner,t)},$isExpressionVisitor:1},A.JSExpressionVisitorObject.prototype={},A._MakeExpressionCalculationSafe0.prototype={visitBinaryOperationExpression$1(e,t){var r,n;return t.operator===C.BinaryOperator_bgA0?(r=A.ArgumentList$0(A._setArrayType([t],D.JSArray_Expression_2),C.Map_empty14,C.Map_empty5,t.get$span(0),null,null),n=t.get$span(0),r=new A.FunctionExpression0("math",A.stringReplaceAllUnchecked("max","_","-"),"max",r,n)):r=this.super$ReplaceExpressionVisitor$visitBinaryOperationExpression0(0,t),r},visitInterpolatedFunctionExpression$1:(e,t)=>t,visitIfExpression$1:(e,t)=>t,visitUnaryOperationExpression$1(e,t){var r=t.operator;return C.UnaryOperator_n2K0!==r?C.UnaryOperator_hCO0!==r?this.super$ReplaceExpressionVisitor$visitUnaryOperationExpression0(0,t):new A.BinaryOperationExpression0(C.BinaryOperator_wkM0,new A.NumberExpression0(-1,null,t.span),t.operand,!1):t.operand},$isExpressionVisitor:1,$isIfConditionExpressionVisitor:1},A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0.prototype={},A.ExtendRule0.prototype={accept$1$1(e){return e.visitExtendRule$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return"@extend "+this.selector.toString$0(0)+(this.isOptional?" !optional":"")+";"},get$span(e){return this.span}},A.Extension0.prototype={toString$0(e){return this.extender.toString$0(0)+" {@extend "+this.target.toString$0(0)+(this.isOptional?" !optional":"")+"}"}},A.Extender0.prototype={assertCompatibleMediaContext$1(e){var t,r=this._extension$_extension;if(null!=r&&null!=(t=r.mediaContext)&&(null==e||!C.C_ListEquality.equals$2(0,t,e)))throw A.wrapException(A.SassException$0(P.You_ma,r.span,null))},toString$0(e){return A.serializeSelector0(this.selector,!0)}},A.ExtensionStore0.prototype={get$isEmpty(e){return 0===this._extension_store$_extensions.__js_helper$_length},get$simpleSelectors(){return new A.MapKeySet(this._extension_store$_selectors,D.MapKeySet_SimpleSelector_2)},extensionsWhereTarget$1(e){return new A._SyncStarIterable(this.extensionsWhereTarget$body$ExtensionStore0(e),D._SyncStarIterable_Extension_2)},extensionsWhereTarget$body$ExtensionStore0(e){var t=this;return function(){var r,n,i,o,s,a=e,l=0,c=[];return function(e,u,d){for(1===u&&(c.push(d),l=1);;)switch(l){case 0:r=(r=A.MapExtensions_get_pairs0(t._extension_store$_extensions,D.SimpleSelector_2,D.Map_ComplexSelector_Extension_2)).get$iterator(r);case 2:if(!r.moveNext$0()){l=3;break}if(n=r.get$current(r),i=n._0,o=n._1,!a.call$1(i)){l=2;break}n=(n=o.get$values(o)).get$iterator(n);case 4:if(!n.moveNext$0()){l=5;break}s=n.get$current(n),l=s instanceof A.MergedExtension0?6:8;break;case 6:return s=s.unmerge$0(),l=9,e._yieldStar$1(new A.WhereIterable(s,new A.ExtensionStore_extensionsWhereTarget_closure0,s.$ti._eval$1("WhereIterable<Iterable.E>")));case 9:l=7;break;case 8:l=s.isOptional?11:10;break;case 10:return l=12,e._async$_current=s,1;case 12:case 11:case 7:l=4;break;case 5:l=2;break;case 3:return 0;case 1:return e._datum=c.at(-1),3}}}},addSelector$2(e,t){var r,n,i,o,s,a,l,c,u=this;if((r=e).accept$1(C._IsInvisibleVisitor_true0)||u._extension_store$_originals.addAll$1(0,r.components),0!==(o=u._extension_store$_extensions).__js_helper$_length)try{e=u._extension_store$_extendList$3(r,o,t)}catch(e){if(!((o=A.unwrapException(e))instanceof A.SassException0))throw e;n=o,i=A.getTraceFromException(e),o=n,s=w.getInterceptor$x(o),o=A.SourceSpanException.prototype.get$span.call(s,o).message$1(0,""),s=n._span_exception$_message,a=n,l=w.getInterceptor$x(a),a=A.SourceSpanException.prototype.get$span.call(l,a),A.throwWithTrace0(new A.SassException0(C.Set_empty,"From "+o+"\n"+s,a),n,i)}return c=new A.ModifiableBox0(e,D.ModifiableBox_SelectorList_2),null!=t&&u._extension_store$_mediaContexts.$indexSet(0,c,t),u._extension_store$_registerSelector$2(e,c),new A.Box0(c,D.Box_SelectorList_2)},_extension_store$_registerSelector$2(e,t){var r,n,i,o,s,a,l,c,u,d,h,p,m,_,g;for(n=(r=e.components).length,i=this._extension_store$_selectors,o=D.SelectorList_2,s=0;s<n;++s)for(l=(a=r[s].components).length,c=0;c<l;++c)for(d=(u=a[c].selector.components).length,h=0;h<d;++h)p=u[h],i.putIfAbsent$2(p,new A.ExtensionStore__registerSelector_closure0).add$1(0,t),_=null,!!(m=p instanceof A.PseudoSelector0)&&null!=(_=p.selector)&&(g=m?_:p.selector,this._extension_store$_registerSelector$2(null==g?o._as(g):g,t))},addExtension$4(e,t,r,n){var i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y,$,x=this,S=x._extension_store$_selectors.$index(0,t),E=x._extension_store$_extensionsByExtender,I=E.$index(0,t),M=x._extension_store$_extensions.putIfAbsent$2(t,new A.ExtensionStore_addExtension_closure2);for(o=(i=e.components).length,s=null==S,a=x._extension_store$_sourceSpecificity,l=r.span,c=r.isOptional,u=null!=I,d=D.ComplexSelector_2,h=D.Extension_2,p=null,m=0;m<o;++m)if(!(_=i[m]).accept$1(C.C__IsUselessVisitor0))if(_.get$specificity(),f=(g=new A.Extender0(_,!1))._extension$_extension=new A.Extension0(g,t,n,c,l),null==(v=M.$index(0,_))){for(M.$indexSet(0,_,f),g=new A._SyncStarIterator(x._extension_store$_simpleSelectors$1(_)._outerHelper());g.moveNext$0();)b=g._async$_current,w.add$1$ax(E.putIfAbsent$2(b,new A.ExtensionStore_addExtension_closure3),f),a.putIfAbsent$2(b,new A.ExtensionStore_addExtension_closure4(_));s&&!u||(null==p&&(p=A.LinkedHashMap_LinkedHashMap$_empty(d,h)),p.$indexSet(0,_,f))}else M.$indexSet(0,_,A.MergedExtension_merge0(v,f));null!=p&&(E=D.SimpleSelector_2,y=A.LinkedHashMap_LinkedHashMap$_literal([t,p],E,D.Map_ComplexSelector_Extension_2),u&&null!=($=x._extension_store$_extendExistingExtensions$2(I,y))&&A.mapAddAll20(y,$,E,d,h),s||x._extension_store$_extendExistingSelectors$2(S,y))},_extension_store$_simpleSelectors$1(e){return new A._SyncStarIterable(this._simpleSelectors$body$ExtensionStore0(e),D._SyncStarIterable_SimpleSelector_2)},_simpleSelectors$body$ExtensionStore0(e){var t=this;return function(){var r,n,i,o,s,a,l,c,u,d,h,p,m,_,g=e,f=0,v=[];return function(e,b,y){for(1===b&&(v.push(y),f=1);;)switch(f){case 0:r=g.components,n=r.length,i=D.SelectorList_2,o=0;case 2:if(!(o<n)){f=4;break}s=r[o].selector.components,a=s.length,l=0;case 5:if(!(l<a)){f=7;break}return c=s[l],f=8,e._async$_current=c,1;case 8:u=c instanceof A.PseudoSelector0,d=null,u?(d=c.selector,h=null!=(h=d)):h=!1,f=h?9:10;break;case 9:p=u?d:c.selector,h=(null==p?i._as(p):p).components,m=h.length,_=0;case 11:if(!(_<m)){f=13;break}return f=14,e._yieldStar$1(t._extension_store$_simpleSelectors$1(h[_]));case 14:case 12:++_,f=11;break;case 13:case 10:case 6:++l,f=5;break;case 7:case 3:++o,f=2;break;case 4:return 0;case 1:return e._datum=v.at(-1),3}}}},_extension_store$_extendExistingExtensions$2(e,t){var r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y,$,x,S,E,I,M;for(a=(s=w.toList$0$ax(e)).length,l=this._extension_store$_extensionsByExtender,c=D.SimpleSelector_2,u=D.Map_ComplexSelector_Extension_2,d=this._extension_store$_extensions,h=null,p=0;p<s.length;s.length===a||(0,A.throwConcurrentModificationError)(s),++p){r=s[p],(m=d.$index(0,r.target)).toString,n=null;try{if(null==(n=this._extension_store$_extendComplex$3(r.extender.selector,t,r.mediaContext)))continue}catch(e){if(!((_=A.unwrapException(e))instanceof A.SassException0))throw e;i=_,o=A.getTraceFromException(e),A.throwWithTrace0(i.withAdditionalSpan$2(r.extender.selector.span,"target selector"),i,o)}for(_=w.get$first$ax(n),g=r.extender.selector,C.C_ListEquality.equals$2(0,_.leadingCombinators,g.leadingCombinators)&&C.C_ListEquality.equals$2(0,_.components,g.components)&&(_=n,g=A._arrayInstanceType(_),(f=new A.SubListIterable(_,1,null,g._eval$1("SubListIterable<1>"))).SubListIterable$3(_,1,null,g._precomputed1),n=f),_=w.get$iterator$ax(n);_.moveNext$0();)if(g=_.get$current(_),b=(v=r).target,y=v.span,$=v.mediaContext,v=v.isOptional,g.get$specificity(),S=(x=new A.Extender0(g,!1))._extension$_extension=new A.Extension0(x,b,$,v,y),null!=(E=m.$index(0,g)))m.$indexSet(0,g,A.MergedExtension_merge0(E,S));else{for(m.$indexSet(0,g,S),b=(v=g.components).length,I=0;I<b;++I)for($=(y=v[I].selector.components).length,M=0;M<$;++M)w.add$1$ax(l.putIfAbsent$2(y[M],new A.ExtensionStore__extendExistingExtensions_closure1),S);t.containsKey$1(r.target)&&(null==h&&(h=A.LinkedHashMap_LinkedHashMap$_empty(c,u)),h.putIfAbsent$2(r.target,new A.ExtensionStore__extendExistingExtensions_closure2).$indexSet(0,g,S))}}return h},_extension_store$_extendExistingSelectors$2(e,t){var r,n,i,o,s,a,l,c,u,d;for(o=e.get$iterator(e),s=this._extension_store$_mediaContexts;o.moveNext$0();){a=(r=o.get$current(o)).value;try{r.value=this._extension_store$_extendList$3(r.value,t,s.$index(0,r))}catch(e){if(!((l=A.unwrapException(e))instanceof A.SassException0))throw e;n=l,i=A.getTraceFromException(e),l=r.value.span.message$1(0,""),c=n._span_exception$_message,u=n,d=w.getInterceptor$x(u),u=A.SourceSpanException.prototype.get$span.call(d,u),A.throwWithTrace0(new A.SassException0(C.Set_empty,"From "+l+"\n"+c,u),n,i)}a!==r.value&&this._extension_store$_registerSelector$2(r.value,r)}},addExtensions$1(e){var t,r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y,$,x,S,E,I,M,k,T=this,R=null;for(t=w.get$iterator$ax(e),r=D.SimpleSelector_2,n=D.Map_ComplexSelector_Extension_2,i=T._extension_store$_extensions,o=D.ComplexSelector_2,s=D.Extension_2,a=T._extension_store$_selectors,l=T._extension_store$_extensionsByExtender,c=D.JSArray_Extension_2,u=D.ModifiableBox_SelectorList_2,d=T._extension_store$_sourceSpecificity,m=p=h=R;t.moveNext$0();)if(!(_=t.get$current(t)).get$isEmpty(_))for(d.addAll$1(0,_.get$_extension_store$_sourceSpecificity()),_=(_=A.MapExtensions_get_pairs0(_.get$_extension_store$_extensions(),r,n)).get$iterator(_);_.moveNext$0();)if(f=(g=_.get$current(_))._0,v=g._1,!(g=f instanceof A.PlaceholderSelector0&&(45===(b=f.name.charCodeAt(0))||95===b)))if((g=null==(y=l.$index(0,f)))||($=null==m?m=A._setArrayType([],c):m,C.JSArray_methods.addAll$1($,y)),($=null!=(x=a.$index(0,f)))&&(S=null==p?p=A.LinkedHashSet_LinkedHashSet$_empty(u):p).addAll$1(0,x),null!=(E=i.$index(0,f)))for(S=(S=A.MapExtensions_get_pairs0(v,o,s)).get$iterator(S);S.moveNext$0();)M=(I=S.get$current(S))._0,k=I._1,E.containsKey$1(M)?(I=E.$index(0,M),k=A.MergedExtension_merge0(null==I?s._as(I):I,k),E.$indexSet(0,M,k)):E.$indexSet(0,M,k),g&&!$||(I=null==h?h=A.LinkedHashMap_LinkedHashMap$_empty(r,n):h).putIfAbsent$2(f,new A.ExtensionStore_addExtensions_closure0).$indexSet(0,M,k);else(S=A.LinkedHashMap_LinkedHashMap(R,R,R,o,s)).addAll$1(0,v),i.$indexSet(0,f,S),g&&!$||(g=null==h?h=A.LinkedHashMap_LinkedHashMap$_empty(r,n):h,($=A.LinkedHashMap_LinkedHashMap(R,R,R,o,s)).addAll$1(0,v),g.$indexSet(0,f,$));null!=h&&(null!=m&&T._extension_store$_extendExistingExtensions$2(m,h),null!=p&&T._extension_store$_extendExistingSelectors$2(p,h))},_extension_store$_extendList$3(e,t,r){var n,i,o,s,a,l,c,u;for(i=(n=e.components).length,o=D.JSArray_ComplexSelector_2,s=null,a=0;a<i;++a)l=n[a],null==(c=this._extension_store$_extendComplex$3(l,t,r))?null!=s&&s.push(l):(null==s&&(0===a?s=A._setArrayType([],o):(u=C.JSArray_methods.sublist$2(n,0,a),s=A._setArrayType(u.slice(0),A._arrayInstanceType(u)))),C.JSArray_methods.addAll$1(s,c));return null==s?e:(n=this._extension_store$_originals,A.SelectorList$0(this._extension_store$_trim$2(s,n.get$contains(n)),e.span))},_extension_store$_extendList$2(e,t){return this._extension_store$_extendList$3(e,t,null)},_extension_store$_extendComplex$3(e,t,r){var n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y={},$=e.leadingCombinators,x=$.length;if(x>1)return null;for(n=this._extension_store$_originals.contains$1(0,e),o=(i=e.components).length,s=D.JSArray_List_ComplexSelector_2,l=!(a=e.lineBreak),c=e.span,u=D.JSArray_ComplexSelector_2,x=0===x,d=D.JSArray_ComplexSelectorComponent_2,h=null,p=0;p<o;++p)if(m=i[p],null==(_=this._extension_store$_extendCompound$4$inOriginal(m,t,r,n)))null!=h&&h.push(A._setArrayType([A.ComplexSelector$0(C.List_empty17,A._setArrayType([m],d),c,a)],u));else if(null!=h)h.push(_);else if(0!==p)g=A._arrayInstanceType(i),(f=new A.SubListIterable(i,0,p,g._eval$1("SubListIterable<1>"))).SubListIterable$3(i,0,p,g._precomputed1),h=A._setArrayType([A._setArrayType([A.ComplexSelector$0($,f,c,a)],u),_],s);else if(x)h=A._setArrayType([_],s);else{for(g=A._setArrayType([],u),f=w.get$iterator$ax(_);f.moveNext$0();)(0===(b=(v=f.get$current(f)).leadingCombinators).length||C.C_ListEquality.equals$2(0,$,b))&&(b=v.components,g.push(A.ComplexSelector$0($,b,c,!l||v.lineBreak)));h=A._setArrayType([g],s)}return null==h?null:(y.first=!0,$=D.ComplexSelector_2,$=w.expand$1$1$ax(A.paths0(h,$),new A.ExtensionStore__extendComplex_closure0(y,this,e),$),$=A.List_List$_of($,$.$ti._eval$1("Iterable.E")))},_extension_store$_extendCompound$4$inOriginal(e,t,r,n){var i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y,$,x,S,E=this,I=null,M=E._extension_store$_mode,k=M===C.ExtendMode_normal_0_normal0||t.__js_helper$_length<2?I:A.LinkedHashSet_LinkedHashSet$_empty(D.SimpleSelector_2),T=e.selector,R=T.components;for(i=R.length,o=D.JSArray_List_Extender_2,s=D.JSArray_Extender_2,a=D.CssValue_Combinator_2,l=D.JSArray_ComplexSelectorComponent_2,u=(c=A._arrayInstanceType(R))._precomputed1,c=c._eval$1("SubListIterable<1>"),d=e.span,h=D.SimpleSelector_2,p=I,m=0;m<i;++m)_=R[m],null==(g=E._extension_store$_extendSimple$4(_,t,r,k))?null!=p&&p.push(A._setArrayType([E._extension_store$_extenderForSimple$1(_)],s)):(null==p&&(p=A._setArrayType([],o),0!==m&&((f=new A.SubListIterable(R,0,m,c)).SubListIterable$3(R,0,m,u),(v=A.List_List$from(f,!1,h)).$flags=3,f=v,b=new A.CompoundSelector0(f,d),0===f.length&&A.throwExpression(A.ArgumentError$("components may not be empty.",I)),(v=A.List_List$from(C.List_empty17,!1,a)).$flags=3,f=A.ComplexSelector$0(C.List_empty17,A._setArrayType([new A.ComplexSelectorComponent0(b,v,d)],l),d,!1),E._extension_store$_sourceSpecificityFor$1(b),p.push(A._setArrayType([new A.Extender0(f,!0)],s)))),C.JSArray_methods.addAll$1(p,g));if(null==p)return I;if(null!=k&&k._collection$_length!==t.__js_helper$_length)return I;if(1===p.length){for(M=w.get$iterator$ax(p[0]),T=e.combinators,i=D.JSArray_ComplexSelector_2,v=I;M.moveNext$0();)(o=M.get$current(M)).assertCompatibleMediaContext$1(r),(y=o.selector.withAdditionalCombinators$1(T)).accept$1(C.C__IsUselessVisitor0)||(null==v&&(v=A._setArrayType([],i)),v.push(y));return v}for($=A.paths0(p,D.Extender_2),i=A._setArrayType([],D.JSArray_ComplexSelector_2),(o=!(M=M===C.ExtendMode_replace_1_replace0))&&i.push(A.ComplexSelector$0(C.List_empty17,A._setArrayType([new A.ComplexSelectorComponent0(A.CompoundSelector$0(w.expand$1$1$ax(w.get$first$ax($),new A.ExtensionStore__extendCompound_closure2,h),T.span),A.List_List$unmodifiable(e.combinators,a),d)],l),d,!1)),s=(T=w.skip$1$ax($,M?0:1)).$ti,T=new A.ListIterator(T,T.get$length(0),s._eval$1("ListIterator<ListIterable.E>")),a=e.combinators,s=s._eval$1("ListIterable.E");T.moveNext$0();)if(M=T.__internal$_current,null!=(g=E._extension_store$_unifyExtenders$3(null==M?s._as(M):M,r,d)))for(M=w.get$iterator$ax(g);M.moveNext$0();)(x=M.get$current(M).withAdditionalCombinators$1(a)).accept$1(C.C__IsUselessVisitor0)||i.push(x);return S=new A.ExtensionStore__extendCompound_closure3,E._extension_store$_trim$2(i,n&&o?new A.ExtensionStore__extendCompound_closure4(C.JSArray_methods.get$first(i)):S)},_extension_store$_unifyExtenders$3(e,t,r){var n,i,o,s,a,l,c,u=null,d=A.QueueList$(u,D.ComplexSelector_2);for(i=(n=w.getInterceptor$ax(e)).get$iterator(e),o=D.JSArray_SimpleSelector_2,s=u,a=!1;i.moveNext$0();)if((l=i.get$current(i)).isOriginal)null==s&&(s=A._setArrayType([],o)),l=l.selector,C.JSArray_methods.addAll$1(s,C.JSArray_methods.get$last(l.components).selector.components),a=a||l.lineBreak;else{if((l=l.selector).accept$1(C.C__IsUselessVisitor0))return u;d._queue_list$_add$1(l)}if(null!=s&&d.addFirst$1(A.ComplexSelector$0(C.List_empty17,A._setArrayType([new A.ComplexSelectorComponent0(A.CompoundSelector$0(s,r),A.List_List$unmodifiable(C.List_empty17,D.CssValue_Combinator_2),r)],D.JSArray_ComplexSelectorComponent_2),r,a)),null==(c=A.unifyComplex0(d,r)))return u;for(n=n.get$iterator(e);n.moveNext$0();)n.get$current(n).assertCompatibleMediaContext$1(t);return c},_extension_store$_extendSimple$4(e,t,r,n){var i,o=new A.ExtensionStore__extendSimple_withoutPseudo0(this,t,n);return e instanceof A.PseudoSelector0&&null!=e.selector&&null!=(i=this._extension_store$_extendPseudo$3(e,t,r))?new A.MappedListIterable(i,new A.ExtensionStore__extendSimple_closure1(this,o),A._arrayInstanceType(i)._eval$1("MappedListIterable<1,List<Extender0>>")):A.NullableExtension_andThen0(o.call$1(e),new A.ExtensionStore__extendSimple_closure2)},_extension_store$_extenderForSimple$1(e){var t=e.span;return t=A.ComplexSelector$0(C.List_empty17,A._setArrayType([new A.ComplexSelectorComponent0(A.CompoundSelector$0(A._setArrayType([e],D.JSArray_SimpleSelector_2),t),A.List_List$unmodifiable(C.List_empty17,D.CssValue_Combinator_2),t)],D.JSArray_ComplexSelectorComponent_2),t,!1),this._extension_store$_sourceSpecificity.$index(0,e),new A.Extender0(t,!0)},_extension_store$_extendPseudo$3(e,t,r){var n,i,o,s,a=e.selector;if(null==a)throw A.wrapException(A.ArgumentError$("Selector "+e.toString$0(0)+" must have a selector argument.",null));return(n=this._extension_store$_extendList$3(a,t,r))===a?null:(i=n.components,(o="not"===e.normalizedName)&&!C.JSArray_methods.any$1(a.components,new A.ExtensionStore__extendPseudo_closure4)&&C.JSArray_methods.any$1(i,new A.ExtensionStore__extendPseudo_closure5)&&(i=new A.WhereIterable(i,new A.ExtensionStore__extendPseudo_closure6,A._arrayInstanceType(i)._eval$1("WhereIterable<1>"))),i=w.expand$1$1$ax(i,new A.ExtensionStore__extendPseudo_closure7(e),D.ComplexSelector_2),o&&1===a.components.length?(o=A.MappedIterable_MappedIterable(i,new A.ExtensionStore__extendPseudo_closure8(e,a),i.$ti._eval$1("Iterable.E"),D.PseudoSelector_2),0===(s=A.List_List$_of(o,A._instanceType(o)._eval$1("Iterable.E"))).length?null:s):A._setArrayType([e.withSelector$1(A.SelectorList$0(i,a.span))],D.JSArray_PseudoSelector_2))},_extension_store$_trim$2(e,t){var r,n,i,o,s,a,l,c,u,d,h,p,m;if(e.length>100)return e;r=A.QueueList$(null,D.ComplexSelector_2);e:for(n=e.length-1,i=A._arrayInstanceType(e),o=i._precomputed1,i=i._eval$1("SubListIterable<1>"),s=0;n>=0;--n)if(a={},l=e[n],t.call$1(l)){for(c=0;c<s;++c)if(r.$index(0,c).$eq(0,l)){A.rotateSlice0(r,0,c+1);continue e}++s,r.addFirst$1(l)}else{for(a.maxSpecificity=0,d=(u=l.components).length,h=0,p=0;h<d;++h,p=m)m=Math.max(p,this._extension_store$_sourceSpecificityFor$1(u[h].selector)),a.maxSpecificity=m;r.any$1(r,new A.ExtensionStore__trim_closure1(a,l))||((u=new A.SubListIterable(e,0,n,i)).SubListIterable$3(e,0,n,o),u.any$1(0,new A.ExtensionStore__trim_closure2(a,l))||r.addFirst$1(l))}return r},_extension_store$_sourceSpecificityFor$1(e){var t,r,n,i,o,s;for(r=(t=e.components).length,n=this._extension_store$_sourceSpecificity,i=0,o=0;o<r;++o)null==(s=n.$index(0,t[o]))&&(s=0),i=Math.max(i,s);return i},clone$0(){var e,t,r=this,n=D.SimpleSelector_2,i=A.LinkedHashMap_LinkedHashMap$_empty(n,D.Set_ModifiableBox_SelectorList_2),o=D.ModifiableBox_SelectorList_2,s=A.LinkedHashMap_LinkedHashMap$_empty(o,D.List_CssMediaQuery_2),a=new A.JsIdentityLinkedHashMap(D.JsIdentityLinkedHashMap_of_SelectorList_and_Box_SelectorList_2);return r._extension_store$_selectors.forEach$1(0,new A.ExtensionStore_clone_closure0(r,i,A.LinkedHashMap_LinkedHashMap$_empty(o,o),a,s)),o=D.Extension_2,e=A.copyMapOfMap0(r._extension_store$_extensions,n,D.ComplexSelector_2,o),o=A.copyMapOfList0(r._extension_store$_extensionsByExtender,n,o),(n=new A.JsIdentityLinkedHashMap(D.JsIdentityLinkedHashMap_SimpleSelector_int_2)).addAll$1(0,r._extension_store$_sourceSpecificity),(t=new A._LinkedIdentityHashSet(D._LinkedIdentityHashSet_ComplexSelector_2)).addAll$1(0,r._extension_store$_originals),new A._Record_2(new A.ExtensionStore0(i,e,o,s,n,t,C.ExtendMode_normal_0_normal0),a)},get$_extension_store$_extensions(){return this._extension_store$_extensions},get$_extension_store$_sourceSpecificity(){return this._extension_store$_sourceSpecificity}},A.ExtensionStore_extensionsWhereTarget_closure0.prototype={call$1:e=>!e.isOptional,$signature:471},A.ExtensionStore__registerSelector_closure0.prototype={call$0:()=>A.LinkedHashSet_LinkedHashSet$_empty(D.ModifiableBox_SelectorList_2),$signature:472},A.ExtensionStore_addExtension_closure2.prototype={call$0:()=>A.LinkedHashMap_LinkedHashMap$_empty(D.ComplexSelector_2,D.Extension_2),$signature:131},A.ExtensionStore_addExtension_closure3.prototype={call$0:()=>A._setArrayType([],D.JSArray_Extension_2),$signature:246},A.ExtensionStore_addExtension_closure4.prototype={call$0(){return this.complex.get$specificity()},$signature:10},A.ExtensionStore__extendExistingExtensions_closure1.prototype={call$0:()=>A._setArrayType([],D.JSArray_Extension_2),$signature:246},A.ExtensionStore__extendExistingExtensions_closure2.prototype={call$0:()=>A.LinkedHashMap_LinkedHashMap$_empty(D.ComplexSelector_2,D.Extension_2),$signature:131},A.ExtensionStore_addExtensions_closure0.prototype={call$0:()=>A.LinkedHashMap_LinkedHashMap$_empty(D.ComplexSelector_2,D.Extension_2),$signature:131},A.ExtensionStore__extendComplex_closure0.prototype={call$1(e){var t=this.complex;return w.map$1$1$ax(A.weave0(e,t.span,t.lineBreak),new A.ExtensionStore__extendComplex__closure0(this._box_0,this.$this,t),D.ComplexSelector_2)},$signature:475},A.ExtensionStore__extendComplex__closure0.prototype={call$1(e){var t=this,r=t._box_0;return r.first&&t.$this._extension_store$_originals.contains$1(0,t.complex)&&t.$this._extension_store$_originals.add$1(0,e),r.first=!1,e},$signature:59},A.ExtensionStore__extendCompound_closure2.prototype={call$1:e=>C.JSArray_methods.get$last(e.selector.components).selector.components,$signature:477},A.ExtensionStore__extendCompound_closure3.prototype={call$1:e=>!1,$signature:22},A.ExtensionStore__extendCompound_closure4.prototype={call$1(e){return e.$eq(0,this.original)},$signature:22},A.ExtensionStore__extendSimple_withoutPseudo0.prototype={call$1(e){var t,r,n=this.extensions.$index(0,e);if(null==n)return null;for(null!=(t=this.targetsUsed)&&t.add$1(0,e),t=A._setArrayType([],D.JSArray_Extender_2),(r=this.$this)._extension_store$_mode!==C.ExtendMode_replace_1_replace0&&t.push(r._extension_store$_extenderForSimple$1(e)),r=(r=n.get$values(n)).get$iterator(r);r.moveNext$0();)t.push(r.get$current(r).extender);return t},$signature:478},A.ExtensionStore__extendSimple_closure1.prototype={call$1(e){var t=this.withoutPseudo.call$1(e);return null==t?A._setArrayType([this.$this._extension_store$_extenderForSimple$1(e)],D.JSArray_Extender_2):t},$signature:479},A.ExtensionStore__extendSimple_closure2.prototype={call$1:e=>A._setArrayType([e],D.JSArray_List_Extender_2),$signature:480},A.ExtensionStore__extendPseudo_closure4.prototype={call$1:e=>e.components.length>1,$signature:22},A.ExtensionStore__extendPseudo_closure5.prototype={call$1:e=>1===e.components.length,$signature:22},A.ExtensionStore__extendPseudo_closure6.prototype={call$1:e=>e.components.length<=1,$signature:22},A.ExtensionStore__extendPseudo_closure7.prototype={call$1(e){var t,r,n=e.get$singleCompound();if(!((t=null==n?null:1===(n=n.components).length?C.JSArray_methods.get$first(n):null)instanceof A.PseudoSelector0))return A._setArrayType([e],D.JSArray_ComplexSelector_2);if(null==(r=t.selector))return A._setArrayType([e],D.JSArray_ComplexSelector_2);switch((n=this.pseudo).normalizedName){case"not":return C.Set_0egh6.contains$1(0,t.normalizedName)?r.components:A._setArrayType([],D.JSArray_ComplexSelector_2);case"is":case"matches":case"where":case"any":case"current":case"nth-child":case"nth-last-child":return t.name!==n.name||t.argument!=n.argument?A._setArrayType([],D.JSArray_ComplexSelector_2):r.components;case"has":case"host":case"host-context":case"slotted":return A._setArrayType([e],D.JSArray_ComplexSelector_2);default:return A._setArrayType([],D.JSArray_ComplexSelector_2)}},$signature:481},A.ExtensionStore__extendPseudo_closure8.prototype={call$1(e){return this.pseudo.withSelector$1(A.SelectorList$0(A._setArrayType([e],D.JSArray_ComplexSelector_2),this.selector.span))},$signature:482},A.ExtensionStore__trim_closure1.prototype={call$1(e){return e.get$specificity()>=this._box_0.maxSpecificity&&e.isSuperselector$1(this.complex1)},$signature:22},A.ExtensionStore__trim_closure2.prototype={call$1(e){return e.get$specificity()>=this._box_0.maxSpecificity&&e.isSuperselector$1(this.complex1)},$signature:22},A.ExtensionStore_clone_closure0.prototype={call$2(e,t){var r,n,i,o,s,a,l,c,u=this,d=A.LinkedHashSet_LinkedHashSet$_empty(D.ModifiableBox_SelectorList_2);for(u.newSelectors.$indexSet(0,e,d),r=t.get$iterator(t),n=u.newBoxes,i=u.oldToNewSelectors,o=u.$this._extension_store$_mediaContexts,s=u.newMediaContexts;r.moveNext$0();)a=r.get$current(r),l=n.putIfAbsent$2(a,new A.ExtensionStore_clone__closure0(a)),d.add$1(0,l),i.$indexSet(0,a.value,new A.Box0(l,l.$ti._eval$1("Box0<1>"))),null!=(c=o.$index(0,a))&&s.$indexSet(0,l,c)},$signature:483},A.ExtensionStore_clone__closure0.prototype={call$0(){return new A.ModifiableBox0(this.selector.value,D.ModifiableBox_SelectorList_2)},$signature:484},A.FiberClass.prototype={},A.Fiber.prototype={},A.JSToDartFileImporter.prototype={canonicalize$1(e,t){var r,i;return"file"===t.get$scheme()?I.$get$FilesystemImporter_cwd0().canonicalize$1(0,t):null==(r=A.wrapJSExceptions(new A.JSToDartFileImporter_canonicalize_closure(this,t)))?null:(r instanceof n.Promise?A.jsThrow(new n.Error("The findFileUrl() function can't return a Promise for synchron compile functions.")):r instanceof n.URL||A.jsThrow(new n.Error(P.The_fie)),"file"!==(i=A.Uri_parse(w.toString$0$(D.JSUrl._as(r)))).get$scheme()&&A.jsThrow(new n.Error(P.The_fiu+t.toString$0(0)+'".')),I.$get$FilesystemImporter_cwd0().canonicalize$1(0,i))},load$1:(e,t)=>I.$get$FilesystemImporter_cwd0().load$1(0,t),isNonCanonicalScheme$1:e=>"file"!==e},A.JSToDartFileImporter_canonicalize_closure.prototype={call$0(){return this.$this._file0$_findFileUrl.call$2(this.url.toString$0(0),A.canonicalizeContext0())},$signature:36},A.FilesystemImporter0.prototype={canonicalize$1(e,t){var r;if("file"===t.get$scheme())r=A.resolveImportPath0(I.$get$context().style.pathFromUri$1(A._parseUri(t)));else{if(""!==t.get$scheme())return null;null!=(r=A.resolveImportPath0(A.join(this._filesystem$_loadPath,I.$get$context().style.pathFromUri$1(A._parseUri(t)),null)))&&this._filesystem$_loadPathDeprecated&&A.warnForDeprecation0(P.Using_t,C.Deprecation_LUk)}return A.NullableExtension_andThen0(r,new A.FilesystemImporter_canonicalize_closure0)},load$1(e,t){var r=I.$get$context().style.pathFromUri$1(A._parseUri(t));return A.ImporterResult$(A.readFile0(r),t,A.Syntax_forPath0(r))},toString$0(e){return this._filesystem$_loadPath}},A.FilesystemImporter_canonicalize_closure0.prototype={call$1(e){var t,r,i=null,o=A.isNodeJs()?n.process:i;return w.$eq$(null==o?i:w.get$platform$x(o),"win32")?o=!0:(o=A.isNodeJs()?n.process:i,o=w.$eq$(null==o?i:w.get$platform$x(o),"darwin")),o?(o=A.absolute(e,i,i,i,i,i,i,i,i,i,i,i,i,i,i),t=I.$get$context(),o=A._realCasePath0(t.normalize$1(o))):(r=t=(o=I.$get$context()).canonicalize$1(0,e),t=o,o=r),t.toUri$1(o)},$signature:127},A.ForRule0.prototype={accept$1$1(e){return e.visitForRule$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){var t=this,r=t.from.toString$0(0),n=t.isExclusive?"to":"through";return"@for $"+t.variable+" from "+r+" "+n+" "+t.to.toString$0(0)+" {"+C.JSArray_methods.join$1(t.children," ")+"}"},get$span(e){return this.span}},A.ForwardRule0.prototype={accept$1$1(e){return e.visitForwardRule$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){var t,r,n=this,i="@forward "+A.StringExpression_quoteText0(n.url.toString$0(0)),o=n.shownMixinsAndFunctions,s=n.hiddenMixinsAndFunctions;return null!=o?((t=n.shownVariables).toString,i=t=i+" show "+n._forward_rule0$_memberList$2(o,t)):null!=s&&s._base.get$isNotEmpty(0)&&((t=n.hiddenVariables).toString,i=t=i+" hide "+n._forward_rule0$_memberList$2(s,t)),null!=(r=n.prefix)&&(i+=" as "+r+"*"),(i=(0!==(t=n.configuration).length?i+" with ("+C.JSArray_methods.join$1(t,", ")+")":i)+";").charCodeAt(0),i},_forward_rule0$_memberList$2(e,t){var r,n=A.List_List$_of(e,D.String);for(r=t._base.get$iterator(0);r.moveNext$0();)n.push("$"+r.get$current(0));return C.JSArray_methods.join$1(n,", ")},get$span(e){return this.span}},A.ForwardedModuleView0.prototype={get$url(e){var t=this._forwarded_view0$_inner;return t.get$url(t)},get$upstream(){return this._forwarded_view0$_inner.get$upstream()},get$extensionStore(){return this._forwarded_view0$_inner.get$extensionStore()},get$css(e){var t=this._forwarded_view0$_inner;return t.get$css(t)},get$preModuleComments(){return this._forwarded_view0$_inner.get$preModuleComments()},get$transitivelyContainsCss(){return this._forwarded_view0$_inner.get$transitivelyContainsCss()},get$transitivelyContainsExtensions(){return this._forwarded_view0$_inner.get$transitivelyContainsExtensions()},setVariable$3(e,t,r){var n,i,o="Undefined variable.",s=this._forwarded_view0$_rule,a=s.shownVariables;if(null!=a&&!a._base.contains$1(0,e))throw A.wrapException(A.SassScriptException$0(o,null));if(null!=(n=s.hiddenVariables)&&n._base.contains$1(0,e))throw A.wrapException(A.SassScriptException$0(o,null));if(null!=(i=s.prefix)){if(!C.JSString_methods.startsWith$1(e,i))throw A.wrapException(A.SassScriptException$0(o,null));e=C.JSString_methods.substring$1(e,i.length)}return this._forwarded_view0$_inner.setVariable$3(e,t,r)},variableIdentity$1(e){var t=this._forwarded_view0$_rule.prefix;return null!=t&&(e=C.JSString_methods.substring$1(e,t.length)),this._forwarded_view0$_inner.variableIdentity$1(e)},couldHaveBeenConfigured$1(e){var t,r,n,i,o,s=this,a=s._forwarded_view0$_rule,l=a.prefix,c=null==l,u=!1;if(c&&null==a.shownVariables&&(u=!1!==(u=null==(u=a.hiddenVariables)?null:u._base.get$isEmpty(0))),u)return s._forwarded_view0$_inner.couldHaveBeenConfigured$1(e);if(!c){for(c=A.LinkedHashSet_LinkedHashSet$_empty(D.String),u=e.get$iterator(e),t=l.length;u.moveNext$0();)r=u.get$current(u),C.JSString_methods.startsWith$1(r,l)&&c.add$1(0,C.JSString_methods.substring$1(r,t));e=c}return null!=(n=a.shownVariables)?s._forwarded_view0$_inner.couldHaveBeenConfigured$1(e.intersection$1(n)):(null!=(i=a.hiddenVariables)?(a=i._base.get$isNotEmpty(0),o=i):(o=null,a=!1),l=s._forwarded_view0$_inner,a?l.couldHaveBeenConfigured$1(e.difference$1(o)):l.couldHaveBeenConfigured$1(e))},$eq(e,t){return null!=t&&(t instanceof A.ForwardedModuleView0&&this._forwarded_view0$_inner.$eq(0,t._forwarded_view0$_inner)&&this._forwarded_view0$_rule===t._forwarded_view0$_rule)},get$hashCode(e){var t=this._forwarded_view0$_inner;return(t.get$hashCode(t)^A.Primitives_objectHashCode(this._forwarded_view0$_rule))>>>0},cloneCss$0(){return A.ForwardedModuleView$0(this._forwarded_view0$_inner.cloneCss$0(),this._forwarded_view0$_rule,this.$ti._precomputed1)},toString$0(e){return"forwarded "+this._forwarded_view0$_inner.toString$0(0)},$isModule1:1,get$variables(){return this.variables},get$variableNodes(){return this.variableNodes},get$functions(e){return this.functions},get$mixins(){return this.mixins}},A.FunctionExpression0.prototype={accept$1$1(e){return e.visitFunctionExpression$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){var t=this.namespace;return t=null!=t?t+".":"",(t+=this.originalName+this.$arguments.toString$0(0)).charCodeAt(0),t},get$span(e){return this.span}},A.JSFunction0.prototype={},A.SupportsFunction0.prototype={toInterpolation$0(){var e,t,r=new A.StringBuffer(""),n=new A.InterpolationBuffer0(r,A._setArrayType([],D.JSArray_Object),A._setArrayType([],D.JSArray_nullable_FileSpan)),i=this.name;return n.addInterpolation$1(i),t=(e=this.$arguments).span,i=A.SpanExtensions_between(i.span,t),i=A.String_String$fromCharCodes(C.NativeUint32List_methods.sublist$2(i.file._decodedChars,i._file$_start,i._end),0,null),r._contents+=i,n.addInterpolation$1(e),e=this.span,t=A.SpanExtensions_after(e,t),t=A.String_String$fromCharCodes(C.NativeUint32List_methods.sublist$2(t.file._decodedChars,t._file$_start,t._end),0,null),r._contents+=t,n.interpolation$1(e)},withSpan$1(e){return new A.SupportsFunction0(this.name,this.$arguments,e)},toString$0(e){return this.name.toString$0(0)+"("+this.$arguments.toString$0(0)+")"},$isAstNode0:1,$isSassNode:1,$isSupportsCondition:1,get$span(e){return this.span}},A.functionClass_closure.prototype={call$0(){var e=D.JSClass,t=e._as(A.allowInteropCaptureThisNamed("sass.SassFunction",new A.functionClass__closure));return A.JSClassExtension_injectSuperclass(e._as(new A.SassFunction0(A.BuiltInCallable$function0("f","",new A.functionClass__closure0,null),null).constructor),t),t},$signature:17},A.functionClass__closure.prototype={call$3(e,t,r){var i=C.JSString_methods.indexOf$1(t,"(");return-1!==i&&C.JSString_methods.endsWith$1(t,")")||A.jsThrow(new n.Error('Invalid signature for new sass.SassFunction(): "'+t+'"')),new A.SassFunction0(A.BuiltInCallable$function0(C.JSString_methods.substring$2(t,0,i),C.JSString_methods.substring$2(t,i+1,t.length-1),r,null),null)},"call*":"call$3",$requiredArgCount:3,$signature:485},A.functionClass__closure0.prototype={call$1:e=>C.C__SassNull0,$signature:3},A.SassFunction0.prototype={accept$1$1(e){var t,r;return e._serialize0$_inspect||A.throwExpression(A.SassScriptException$0(this.toString$0(0)+" isn't a valid CSS value.",null)),(t=e._serialize0$_buffer).write$1(0,"get-function("),r=this.callable,e._serialize0$_visitQuotedString$1(r.get$name(r)),t.writeCharCode$1(41),null},accept$1(e){return this.accept$1$1(e,D.dynamic)},assertFunction$1(e){return this},assertCompileContext$1(e){var t=this._function0$_compileContext;if(t=null!=t&&t!==e)throw A.wrapException(A.SassScriptException$0(this.toString$0(0)+" does not belong to current compilation.",null));return this},$eq(e,t){return null!=t&&(t instanceof A.SassFunction0&&this.callable.$eq(0,t.callable))},get$hashCode(e){var t=this.callable;return t.get$hashCode(t)}},A.FunctionRule0.prototype={accept$1$1(e){return e.visitFunctionRule$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return"@function "+this.name+"("+this.parameters.toString$0(0)+") {"+C.JSArray_methods.join$1(this.children," ")+"}"}},A.unifyComplex_closure0.prototype={call$1:e=>e.lineBreak,$signature:22},A._weaveParents_closure3.prototype={call$2(e,t){var r,n;return C.C_ListEquality.equals$2(0,e,t)?e:A._complexIsParentSuperselector0(e,t)?t:A._complexIsParentSuperselector0(t,e)?e:A._mustUnify0(e,t)?(r=this.span,r=null==(n=A.unifyComplex0(A._setArrayType([A.ComplexSelector$0(C.List_empty17,e,r,!1),A.ComplexSelector$0(C.List_empty17,t,r,!1)],D.JSArray_ComplexSelector_2),r))||null==(r=A.IterableExtension_get_singleOrNull(n))?null:r.components):null},$signature:486},A._weaveParents_closure4.prototype={call$1(e){return A._complexIsParentSuperselector0(e.get$first(e),this.group)},$signature:247},A._weaveParents_closure5.prototype={call$1:e=>0===e.get$length(0),$signature:247},A._weaveParents_closure6.prototype={call$1:e=>w.get$isNotEmpty$asx(e),$signature:488},A._mustUnify_closure0.prototype={call$1(e){return C.JSArray_methods.any$1(e.selector.components,new A._mustUnify__closure0(this.uniqueSelectors))},$signature:55},A._mustUnify__closure0.prototype={call$1(e){return(e instanceof A.IDSelector0||e instanceof A.PseudoSelector0&&!e.isClass)&&this.uniqueSelectors.contains$1(0,e)},$signature:15},A.paths_closure0.prototype={call$2(e,t){var r=this.T;return r=w.expand$1$1$ax(t,new A.paths__closure0(e,r),r._eval$1("List<0>")),r=A.List_List$_of(r,r.$ti._eval$1("Iterable.E"))},$signature(){return this.T._eval$1("List<List<0>>(List<List<0>>,List<0>)")}},A.paths__closure0.prototype={call$1(e){var t=this.T;return w.map$1$1$ax(this.paths,new A.paths___closure0(e,t),t._eval$1("List<0>"))},$signature(){return this.T._eval$1("Iterable<List<0>>(0)")}},A.paths___closure0.prototype={call$1(e){var t=A.List_List$_of(e,this.T);return t.push(this.option),t},$signature(){return this.T._eval$1("List<0>(List<0>)")}},A.listIsSuperselector_closure0.prototype={call$1(e){return C.JSArray_methods.any$1(this.list1,new A.listIsSuperselector__closure0(e))},$signature:22},A.listIsSuperselector__closure0.prototype={call$1(e){return e.isSuperselector$1(this.complex1)},$signature:22},A.complexIsSuperselector_closure1.prototype={call$1:e=>e.combinators.length>1,$signature:55},A.complexIsSuperselector_closure2.prototype={call$1(e){return A._isSupercombinator0(this.combinator1,A.IterableExtension_get_firstOrNull(e.combinators))},$signature:55},A._compatibleWithPreviousCombinator_closure0.prototype={call$1(e){var t=e.combinators,r=A.IterableExtension_get_firstOrNull(t);return t=(null==r?null:r.value)===C.Combinator_98W0||(null==(t=A.IterableExtension_get_firstOrNull(t))?null:t.value)===C.Combinator_sHB0},$signature:55},A.compoundIsSuperselector_closure0.prototype={call$1(e){return C.JSArray_methods.any$1(this.compound2.components,e.get$isSuperselector())},$signature:15},A._selectorPseudoIsSuperselector_closure6.prototype={call$1(e){return A.listIsSuperselector0(this.selector1.components,e.components)},$signature:68},A._selectorPseudoIsSuperselector_closure7.prototype={call$1(e){var t,r;return 0===e.leadingCombinators.length?(t=A._setArrayType([],D.JSArray_ComplexSelectorComponent_2),null!=(r=this.parents)&&C.JSArray_methods.addAll$1(t,r),r=this.compound2,t.push(new A.ComplexSelectorComponent0(r,A.List_List$unmodifiable(C.List_empty17,D.CssValue_Combinator_2),r.span)),t=A.complexIsSuperselector0(e.components,t)):t=!1,t},$signature:22},A._selectorPseudoIsSuperselector_closure8.prototype={call$1(e){return A.listIsSuperselector0(this.selector1.components,e.components)},$signature:68},A._selectorPseudoIsSuperselector_closure9.prototype={call$1(e){return A.listIsSuperselector0(this.selector1.components,e.components)},$signature:68},A._selectorPseudoIsSuperselector_closure10.prototype={call$1(e){return!e.accept$1(C._IsBogusVisitor_true0)&&C.JSArray_methods.any$1(this.compound2.components,new A._selectorPseudoIsSuperselector__closure0(e,this.pseudo1))},$signature:22},A._selectorPseudoIsSuperselector__closure0.prototype={call$1(e){var t,r,n,i=this;return e instanceof A.TypeSelector0?t=C.JSArray_methods.any$1(C.JSArray_methods.get$last(i.complex.components).selector.components,new A._selectorPseudoIsSuperselector___closure1(e)):e instanceof A.IDSelector0?t=C.JSArray_methods.any$1(C.JSArray_methods.get$last(i.complex.components).selector.components,new A._selectorPseudoIsSuperselector___closure2(e)):(r=null,t=!1,e instanceof A.PseudoSelector0&&null!=(n=e.selector)&&(r=null==n?D.SelectorList_2._as(n):n,t=e.name===i.pseudo1.name),t=!!t&&A.listIsSuperselector0(r.components,A._setArrayType([i.complex],D.JSArray_ComplexSelector_2))),t},$signature:15},A._selectorPseudoIsSuperselector___closure1.prototype={call$1(e){return e instanceof A.TypeSelector0&&!this.simple2.name.$eq(0,e.name)},$signature:15},A._selectorPseudoIsSuperselector___closure2.prototype={call$1(e){return e instanceof A.IDSelector0&&this.simple2.name!==e.name},$signature:15},A._selectorPseudoIsSuperselector_closure11.prototype={call$1(e){return C.C_ListEquality.equals$2(0,this.selector1.components,e.components)},$signature:68},A._selectorPseudoIsSuperselector_closure12.prototype={call$1(e){var t,r;return e instanceof A.PseudoSelector0&&(t=this.pseudo1,e.name===t.name&&(e.argument==t.argument&&(null!=(r=e.selector)&&A.listIsSuperselector0(this.selector1.components,r.components))))},$signature:15},A._selectorPseudoArgs_closure1.prototype={call$1(e){return e.isClass===this.isClass&&e.name===this.name},$signature:490},A._selectorPseudoArgs_closure2.prototype={call$1:e=>e.selector,$signature:491},A.globalFunctions_closure0.prototype={call$1(e){var t=w.getInterceptor$asx(e);return t.$index(e,0).get$isTruthy()?t.$index(e,1):t.$index(e,2)},$signature:3},A.GamutMapMethod0.prototype={toString$0(e){return this.name}},A.HslColorSpace0.prototype={get$isBoundedInternal:()=>!0,get$isLegacyInternal:()=>!0,get$isPolarInternal:()=>!0,convert$5(e,t,r,n,i){var o=null==t,s=C.JSNumber_methods.$mod((o?0:t)/360,1),a=null==r,l=(a?0:r)/100,c=null==n,u=(c?0:n)/100,d=u<=.5?u*(l+1):u+l-u*l,h=2*u-d;return C.SrgbColorSpace_thf0.convert$8$missingChroma$missingHue$missingLightness(e,A.hueToRgb0(h,d,s+.3333333333333333),A.hueToRgb0(h,d,s),A.hueToRgb0(h,d,s-.3333333333333333),i,a,o,c)}},A.HwbColorSpace0.prototype={get$isBoundedInternal:()=>!0,get$isLegacyInternal:()=>!0,get$isPolarInternal:()=>!0,convert$5(e,t,r,n,i){var o,s={},a=null==t,l=C.JSNumber_methods.$mod(a?0:t,360)/360,c=s.scaledWhiteness=(null==r?0:r)/100,u=(null==n?0:n)/100,d=c+u;return d>1?(o=s.scaledWhiteness=c/d,u/=d):o=c,o=new A.HwbColorSpace_convert_toRgb0(s,1-o-u),C.SrgbColorSpace_thf0.convert$6$missingHue(e,o.call$1(l+.3333333333333333),o.call$1(l),o.call$1(l-.3333333333333333),i,a)}},A.HwbColorSpace_convert_toRgb0.prototype={call$1(e){return A.hueToRgb0(0,1,e)*this.factor+this._box_0.scaledWhiteness},$signature:12},A.InterpolatedIDSelector.prototype={get$span(e){var t=this.name.span;return t.get$file(t).span$2(0,t.get$start(t).offset-1,t.get$end(t).offset)},accept$1$1(e){return w.visitIDSelector$1$x(e._simple_selector$_inner,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return"#"+this.name.toString$0(0)}},A.IDSelector0.prototype={get$specificity(){return A._asInt(Math.pow(A.SimpleSelector0.prototype.get$specificity.call(this),2))},accept$1$1(e){return e.visitIDSelector$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},addSuffix$1(e){return new A.IDSelector0(this.name+e,this.span)},unify$1(e){return C.JSArray_methods.any$1(e,new A.IDSelector_unify_closure0(this))?null:this.super$SimpleSelector$unify0(e)},$eq(e,t){return null!=t&&(t instanceof A.IDSelector0&&t.name===this.name)},get$hashCode(e){return C.JSString_methods.get$hashCode(this.name)}},A.IDSelector_unify_closure0.prototype={call$1(e){return e instanceof A.IDSelector0&&this.$this.name!==e.name},$signature:15},A.IfExpression0.prototype={accept$1$1(e){return e.visitIfExpression$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){var t,r,n,i,o,s,a;for(r=(t=this.branches).length,n=!0,i=0,o="if(";i<r;++i)a=(s=t[i])._0,n?n=!1:o+="; ",o=o+A.S(null==a?"else":a)+": "+s._1.toString$0(0);return(t=o+A.Primitives_stringFromCharCode(41)).charCodeAt(0),t},get$span(e){return this.span}},A.IfConditionExpression0.prototype={get$isArbitrarySubstitution:()=>!1,$isAstNode0:1,$isSassNode:1},A.IfConditionParenthesized0.prototype={toInterpolation$1(e){var t=new A.StringBuffer(""),r=new A.InterpolationBuffer0(t,A._setArrayType([],D.JSArray_Object),A._setArrayType([],D.JSArray_nullable_FileSpan)),n=A.Primitives_stringFromCharCode(40);return t._contents+=n,r.addInterpolation$1(this.expression.toInterpolation$1(e)),n=A.Primitives_stringFromCharCode(41),t._contents+=n,r.interpolation$1(this.span)},accept$1$1(e){return e.visitIfConditionParenthesized$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return"("+this.expression.toString$0(0)+")"},get$span(e){return this.span}},A.IfConditionNegation0.prototype={toInterpolation$1(e){var t=new A.StringBuffer(""),r=new A.InterpolationBuffer0(t,A._setArrayType([],D.JSArray_Object),A._setArrayType([],D.JSArray_nullable_FileSpan));return t._contents="not ",r.addInterpolation$1(this.expression.toInterpolation$1(e)),r.interpolation$1(this.span)},accept$1$1(e){return e.visitIfConditionNegation$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return"not "+this.expression.toString$0(0)},get$span(e){return this.span}},A.IfConditionOperation0.prototype={get$span(e){var t=this.expressions,r=C.JSArray_methods.get$first(t);return r=r.get$span(r),t=C.JSArray_methods.get$last(t),r.expand$1(0,t.get$span(t))},toInterpolation$1(e){var t,r,n,i,o,s,a=new A.StringBuffer(""),l=new A.InterpolationBuffer0(a,A._setArrayType([],D.JSArray_Object),A._setArrayType([],D.JSArray_nullable_FileSpan));for(r=(t=this.expressions).length,n=this.op,i=!0,o=0;o<r;++o)s=t[o],i?i=!1:a._contents+=" "+n.toString$0(0)+" ",l.addInterpolation$1(s.toInterpolation$1(e));return l.interpolation$1(new A.LazyFileSpan0(new A.IfConditionOperation_toInterpolation_closure0(this)))},accept$1$1(e){return e.visitIfConditionOperation$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return C.JSArray_methods.join$1(this.expressions," "+this.op.toString$0(0)+" ")}},A.IfConditionOperation_toInterpolation_closure0.prototype={call$0(){return this.$this.get$span(0)},$signature:16},A.IfConditionFunction0.prototype={get$isArbitrarySubstitution(){var e=this.name.get$asPlain(),t=null==e?null:e.toLowerCase();return e=!0,"if"!==t&&"var"!==t&&"attr"!==t&&(null!=t&&C.JSString_methods.startsWith$1(t,"--")||(e=!1)),e},toInterpolation$1(e){var t,r=new A.StringBuffer(""),n=new A.InterpolationBuffer0(r,A._setArrayType([],D.JSArray_Object),A._setArrayType([],D.JSArray_nullable_FileSpan));return n.addInterpolation$1(this.name),t=A.Primitives_stringFromCharCode(40),r._contents+=t,n.addInterpolation$1(this.$arguments),t=A.Primitives_stringFromCharCode(41),r._contents+=t,n.interpolation$1(this.span)},accept$1$1(e){return e.visitIfConditionFunction$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return this.name.toString$0(0)+"("+this.$arguments.toString$0(0)+")"},get$span(e){return this.span}},A.IfConditionSass0.prototype={toInterpolation$1(e){return A.throwExpression(A.MultiSourceSpanFormatException$(P.if___c,e.get$span(e),"arbitrary substitution",A.LinkedHashMap_LinkedHashMap$_literal([this.span,"sass() expression"],D.SourceSpan,D.String),null))},accept$1$1(e){return e.visitIfConditionSass$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return"sass("+this.expression.toString$0(0)+")"},get$span(e){return this.span}},A.IfConditionRaw0.prototype={get$span(e){return this.text.span},get$isArbitrarySubstitution:()=>!0,toInterpolation$1(e){return this.text},accept$1$1(e){return e.visitIfConditionRaw$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return this.text.toString$0(0)}},A.JSIfConditionExpressionVisitor.prototype={visitIfConditionParenthesized$1(e,t){return w.visitIfConditionParenthesized$1$x(this._if_condition_expression$_inner,t)},visitIfConditionNegation$1(e,t){return w.visitIfConditionNegation$1$x(this._if_condition_expression$_inner,t)},visitIfConditionOperation$1(e,t){return w.visitIfConditionOperation$1$x(this._if_condition_expression$_inner,t)},visitIfConditionFunction$1(e,t){return w.visitIfConditionFunction$1$x(this._if_condition_expression$_inner,t)},visitIfConditionSass$1(e,t){return w.visitIfConditionSass$1$x(this._if_condition_expression$_inner,t)},visitIfConditionRaw$1(e,t){return w.visitIfConditionRaw$1$x(this._if_condition_expression$_inner,t)},$isIfConditionExpressionVisitor:1},A.JSIfConditionExpressionVisitorObject.prototype={},A.IfRule0.prototype={accept$1$1(e){return e.visitIfRule$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){var t=A.ListExtensions_mapIndexed(this.clauses,new A.IfRule_toString_closure0,D.IfClause_2,D.String).join$1(0," "),r=this.lastClause;return null!=r?t+" "+r.toString$0(0):t},get$span(e){return this.span}},A.IfRule_toString_closure0.prototype={call$2:(e,t)=>"@"+(0===e?"if":"else if")+" "+t.expression.toString$0(0)+" {"+C.JSArray_methods.join$1(t.children," ")+"}",$signature:492},A.IfRuleClause0.prototype={},A.IfRuleClause$__closure0.prototype={call$1:e=>e instanceof A.VariableDeclaration0||e instanceof A.FunctionRule0||e instanceof A.MixinRule0||e instanceof A.ImportRule0&&C.JSArray_methods.any$1(e.imports,new A.IfRuleClause$___closure0),$signature:248},A.IfRuleClause$___closure0.prototype={call$1:e=>e instanceof A.DynamicImport0,$signature:249},A.IfClause0.prototype={toString$0(e){return"@if "+this.expression.toString$0(0)+" {"+C.JSArray_methods.join$1(this.children," ")+"}"}},A.ElseClause0.prototype={toString$0(e){return"@else {"+C.JSArray_methods.join$1(this.children," ")+"}"}},A.ImmutableList0.prototype={},A.ImmutableMap0.prototype={},A.immutableMapToDartMap_closure.prototype={call$3(e,t,r){this.dartMap.$indexSet(0,t,e)},"call*":"call$3",$requiredArgCount:3,$signature:495},A.NodeImporter.prototype={loadRelative$3(e,t,r){var n,i,o=null;return I.$get$url().style.rootLength$1(e)>0?C.JSString_methods.startsWith$1(e,"/")||C.JSString_methods.startsWith$1(e,"file:")?this._tryPath$2(I.$get$context().style.pathFromUri$1(A._parseUri(e)),r):o:"file"!==(null==t?o:t.get$scheme())?o:(n=I.$get$context(),t.toString,i=n.style,this._tryPath$2(A.join(n.dirname$1(i.pathFromUri$1(A._parseUri(t))),i.pathFromUri$1(A._parseUri(e)),o),r))},load$3(e,t,r,n){var i,o,s,a,l=this,c=l._previousToString$1(r);for(o=(i=l._implementation$_importers).length,s=0;s<o;++s)if(null!=(a=A.wrapJSExceptions(new A.NodeImporter_load_closure(l,i[s],n,t,c))))return l._handleImportResult$4(t,r,a,n);return l._resolveLoadPathFromUrl$2(A.Uri_parse(t),n)},loadAsync$3(e,t,r){return this.loadAsync$body$NodeImporter(e,t,r)},loadAsync$body$NodeImporter(e,t,r){var n,i,o,s,a,l,c=0,u=A._makeAsyncAwaitCompleter(D.nullable_Record_2_String_and_String),d=this,h=A._wrapJsFunctionForAsync(function(p,m){if(1===p)return A._asyncRethrow(m,u);for(;;)switch(c){case 0:l=d._previousToString$1(t),i=d._implementation$_importers,o=i.length,s=0;case 3:if(!(s<o)){c=5;break}return c=6,A._asyncAwait(d._callImporterAsync$4(i[s],e,l,r),h);case 6:if(null!=(a=m)){n=d._handleImportResult$4(e,t,a,r),c=1;break}case 4:++s,c=3;break;case 5:n=d._resolveLoadPathFromUrl$2(A.Uri_parse(e),r),c=1;break;case 1:return A._asyncReturn(n,u)}});return A._asyncStartSync(h,u)},_previousToString$1:e=>null!=e?"file"!==e.get$scheme()?e.toString$0(0):I.$get$context().style.pathFromUri$1(A._parseUri(e)):"stdin",_resolveLoadPathFromUrl$2(e,t){return""===e.get$scheme()||"file"===e.get$scheme()?this._resolveLoadPath$2(I.$get$context().style.pathFromUri$1(A._parseUri(e)),t):null},_resolveLoadPath$2(e,t){var r,n,i,o,s,a=null,l=this._tryPath$2(A.absolute(e,a,a,a,a,a,a,a,a,a,a,a,a,a,a),t);if(null!=l)return l;for(n=(r=this._includePaths).length,i=0;i<n;++i)if(o=A.join(r[i],e,a),null!=(s=this._tryPath$2(I.$get$context().absolute$15(o,a,a,a,a,a,a,a,a,a,a,a,a,a,a),t)))return s;return a},_tryPath$2(e,t){var r=t?A.inImportRule(new A.NodeImporter__tryPath_closure(e),D.nullable_String):A.resolveImportPath0(e);return A.NullableExtension_andThen0(r,new A.NodeImporter__tryPath_closure0)},_handleImportResult$4(e,t,r,i){var o,s,a,l,c;if(r instanceof n.Error)throw A.wrapException(r);if(!D.NodeImporterResult._is(r))return null;if(s=(o=w.getInterceptor$x(r)).get$file(r),a=o.get$contents(r),(l=!(o=null==a))&&"string"!==A._asString(new n.Function("value","return typeof value").call$1(a))&&A.jsThrow(new A.ArgumentError(!0,a,"contents","must be a string but was: "+A.jsType(a))),null==s)return new A._Record_2(o?"":a,e);if(l)return new A._Record_2(a,I.$get$context().toUri$1(s).toString$0(0));if(null==(c=this.loadRelative$3(I.$get$context().toUri$1(s).toString$0(0),t,i))&&(c=this._resolveLoadPath$2(s,i)),null!=c)return c;throw A.wrapException("Can't find stylesheet to import.")},_callImporterAsync$4(e,t,r,n){return this._callImporterAsync$body$NodeImporter(e,t,r,n)},_callImporterAsync$body$NodeImporter(e,t,r,n){var i,o,s,a=0,l=A._makeAsyncAwaitCompleter(D.nullable_Object),c=this,u=A._wrapJsFunctionForAsync(function(d,h){if(1===d)return A._asyncRethrow(h,l);for(;;)switch(a){case 0:o=new A._Future(I.Zone__current,D._Future_Object),s=A.wrapJSExceptions(new A.NodeImporter__callImporterAsync_closure(c,e,n,t,r,new A._AsyncCompleter(o,D._AsyncCompleter_Object))),a=A._asBool(I.$get$_isUndefined().call$1(s))?3:4;break;case 3:return a=5,A._asyncAwait(o,u);case 5:i=h,a=1;break;case 4:i=s,a=1;break;case 1:return A._asyncReturn(i,l)}});return A._asyncStartSync(u,l)},_renderContext$1(e){var t={options:D.RenderContextOptions._as(this._implementation$_options),fromImport:e};return w.set$context$x(w.get$options$x(t),t),t}},A.NodeImporter_load_closure.prototype={call$0(){var e=this;return w.apply$2$x(e.importer,e.$this._renderContext$1(e.forImport),A._setArrayType([e.url,e.previousString],D.JSArray_Object))},$signature:36},A.NodeImporter__tryPath_closure.prototype={call$0(){return A.resolveImportPath0(this.path)},$signature:47},A.NodeImporter__tryPath_closure0.prototype={call$1:e=>new A._Record_2(A.readFile0(e),I.$get$context().toUri$1(e).toString$0(0)),$signature:496},A.NodeImporter__callImporterAsync_closure.prototype={call$0(){var e=this;return w.apply$2$x(e.importer,e.$this._renderContext$1(e.forImport),A._setArrayType([e.url,e.previousString,A.allowInterop(e.completer.get$complete())],D.JSArray_Object))},$signature:36},A.ModifiableCssImport0.prototype={accept$1$1(e){return e.visitCssImport$1(this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},get$span(e){return this.span}},A.ImportCache0.prototype={canonicalize$4$baseImporter$baseUrl$forImport(e,t,r,n,i){var o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y,$,x,S,w,C,E,I,M,k,T=this,R=null;if(o=!!A.isBrowser()&&((null==r||r instanceof A.NoOpImporter0)&&0===T._import_cache$_importers.length))throw A.wrapException(P.Customi);if(null!=r&&""===t.get$scheme()&&(null==(s=null==n?R:n.resolveUri$1(t))&&(s=t),a=new A._Record_3_forImport(r,s,i),null!=(l=T._import_cache$_perImporterCanonicalizeCache.putIfAbsent$2(a,new A.ImportCache_canonicalize_closure0(T,r,s,n,i,a,t)))))return l;if(a=new A._Record_2_forImport(t,i),(o=T._import_cache$_canonicalizeCache).containsKey$1(a))return o.$index(0,a);for(c=T._import_cache$_importers,u=D.Record_1_nullable_Object,d=T._import_cache$_perImporterCanonicalizeCache,h=D.nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl_2,p=D.Record_3_Importer_and_Uri_and_Uri_originalUrl_2,m=!0,_=0;_<c.length;++_){if(g=c[_],f=new A._Record_3_forImport(g,t,i),d.containsKey$1(f)?(v=d.$index(0,f),b=new A._Record_1(null==v?h._as(v):v)):b=R,$=R,(y=u._is(b))?(v=null!=(x=b._0))&&(p._as(x),$=x):(x=R,v=!1),v)return $;if(!(v=!!y&&null==x)){if(E=R,I=R,v=!1,(C=null!=(w=(S=T._import_cache$_canonicalize$4(g,t,n,i))._0))?($=null==w?p._as(w):w,E=v=I=S._1,v=v&&m):$=R,v)return o.$indexSet(0,a,$),$;if(C?(v=E,M=C):(v=I=S._1,M=!0),v=v&&!m){if(d.$indexSet(0,f,w),null!=w)return w}else if(v=!1===(M?I:S._1)){if(m){for(k=0;k<_;++k)d.$indexSet(0,new A._Record_3_forImport(c[k],t,i),R);m=!1}if(null!=w)return w}}}return m&&o.$indexSet(0,a,R),R},_import_cache$_canonicalize$4(e,t,r,n){var i,o,s,a,l;if(i=null!=r&&(""===t.get$scheme()||e.isNonCanonicalScheme$1(t.get$scheme())),o=new A.CanonicalizeContext0(n,i?r:null),s=D.nullable_Object,a=A.runZoned(new A.ImportCache__canonicalize_closure0(e,t),A.LinkedHashMap_LinkedHashMap$_literal([C.Symbol__canonicalizeContext,o],s,s),D.nullable_Uri),l=!i||!o._canonicalize_context$_wasContainingUrlAccessed,null==a)return new A._Record_2(null,l);if(""!==a.get$scheme()&&e.isNonCanonicalScheme$1(a.get$scheme()))throw A.wrapException("Importer "+e.toString$0(0)+" canonicalized "+t.toString$0(0)+" to "+a.toString$0(0)+P.x2c_whicu);return new A._Record_2(new A._Record_3_originalUrl(e,a,t),l)},importCanonical$3$originalUrl(e,t,r){return this._import_cache$_importCache.putIfAbsent$2(t,new A.ImportCache_importCanonical_closure0(this,e,t,r))},humanize$1(e){var t=this._import_cache$_canonicalizeCache,r=D.NonNullsIterable_Record_3_Importer_and_Uri_and_Uri_originalUrl_2;return null==(r=A.NullableExtension_andThen0(A.minBy(new A.MappedIterable(new A.WhereIterable(new A.NonNullsIterable(new A.LinkedHashMapValuesIterable(t,A._instanceType(t)._eval$1("LinkedHashMapValuesIterable<2>")),r),new A.ImportCache_humanize_closure3(e),r._eval$1("WhereIterable<Iterable.E>")),new A.ImportCache_humanize_closure4,r._eval$1("MappedIterable<Iterable.E,Uri>")),new A.ImportCache_humanize_closure5),new A.ImportCache_humanize_closure6(e)))?e:r},sourceMapUrl$1(e,t){var r=this._import_cache$_resultsCache.$index(0,t);return null==(r=null==r?null:r.get$sourceMapUrl(0))?t:r}},A.ImportCache_canonicalize_closure0.prototype={call$0(){var e=this,t=e.$this,r=e.baseUrl,n=t._import_cache$_canonicalize$4(e.baseImporter,e.resolvedUrl,r,e.forImport);return null!=r&&t._import_cache$_nonCanonicalRelativeUrls.$indexSet(0,e.key,e.url),n._0},$signature:497},A.ImportCache__canonicalize_closure0.prototype={call$0(){return this.importer.canonicalize$1(0,this.url)},$signature:144},A.ImportCache_importCanonical_closure0.prototype={call$0(){var e,t=this,r=Date.now(),n=t.canonicalUrl,i=t.importer.load$1(0,n);return null==i?null:((e=t.$this)._import_cache$_loadTimes.$indexSet(0,n,new A.DateTime(r,0,!1)),e._import_cache$_resultsCache.$indexSet(0,n,i),e=i.contents,r=i.syntax,n=t.originalUrl.resolveUri$1(n),A.Stylesheet_Stylesheet$parse0(e,r,!1,n))},$signature:498},A.ImportCache_humanize_closure3.prototype={call$1(e){return e._1.$eq(0,this.canonicalUrl)},$signature:499},A.ImportCache_humanize_closure4.prototype={call$1:e=>e._2,$signature:500},A.ImportCache_humanize_closure5.prototype={call$1:e=>e.get$path(e).length,$signature:107},A.ImportCache_humanize_closure6.prototype={call$1(e){var t=I.$get$url(),r=this.canonicalUrl;return e.resolve$1(0,A.ParsedPath_ParsedPath$parse(r.get$path(r),t.style).get$basename())},$signature:49},A.ImportRule0.prototype={accept$1$1(e){return e.visitImportRule$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return"@import "+C.JSArray_methods.join$1(this.imports,", ")+";"},get$span(e){return this.span}},A.JSImporter.prototype={},A.JSImporterResult.prototype={},A.Importer0.prototype={isNonCanonicalScheme$1:e=>!1},A.NodeImporterResult0.prototype={},A.IncludeRule0.prototype={get$spanWithoutContent(){var e,t=this.span;return null!=this.content&&(e=this.$arguments.span,e=A.SpanExtensions_trimRight0(A.SpanExtensions_trimLeft0(t.get$file(t).span$2(0,t.get$start(t).offset,e.get$end(e).offset))),t=e),t},get$nameSpan(){var e,t,r=null,n=this.span;return C.JSString_methods.startsWith$1(n.get$text(),"+")?e=A.SpanExtensions_trimLeft0(A.FileSpanExtension_subspan(n,1,r)):((t=A.StringScanner$(n.get$text(),r,r)).expectChar$1(64),A._scanIdentifier0(t),e=A.SpanExtensions_trimLeft0(A.FileSpanExtension_subspan(n,t._string_scanner$_position,r))),null!=this.namespace&&(t=A.StringScanner$(e.get$text(),r,r),A._scanIdentifier0(t),e=A.FileSpanExtension_subspan(A.FileSpanExtension_subspan(e,t._string_scanner$_position,r),1,r)),A.SpanExtensions_initialIdentifier0(e)},accept$1$1(e){return e.visitIncludeRule$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){var t,r=this,n=r.namespace;return n=null!=n?"@include "+n+".":"@include ",n+=r.name,(t=r.$arguments).get$isEmpty(0)||(n+="("+t.toString$0(0)+")"),(n+=null==(t=r.content)?";":" "+t.toString$0(0)).charCodeAt(0),n},get$span(e){return this.span}},A.InterpolatedFunctionExpression0.prototype={accept$1$1(e){return e.visitInterpolatedFunctionExpression$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return this.name.toString$0(0)+this.$arguments.toString$0(0)},get$span(e){return this.span}},A.InterpolatedSelector.prototype={$isAstNode0:1,$isSassNode:1},A.Interpolation0.prototype={get$asPlain(){var e,t,r,n,i=this.contents;return(e=i.length)<=0?t="":((r=1===e)?t="string"==typeof(n=i[0]):(n=null,t=!1),t=t?A._asString(r?n:i[0]):null),t},get$initialPlain(){var e,t,r,n=this.contents;return(e=n.length>=1)?r="string"==typeof(t=n[0]):(t=null,r=!1),r=r?A._asString(e?t:n[0]):""},spanForElement$1(e){var t,r,n,i,o,s=this;return"string"!=typeof s.contents[e]?(t=s.spans[e]).toString:(r=(t=s.span).get$file(t),n=0===e?t.get$start(t):(n=s.spans[e-1]).get$end(n),t=(i=e+1)===(o=s.spans).length?t.get$end(t):(t=o[i]).get$start(t),t=r.span$2(0,n.offset,t.offset)),t},Interpolation$30(e,t,r){var n,i,o,s,a,l,c,u="spans",d="contents";if(t.length!==w.get$length$asx(e))throw A.wrapException(A.ArgumentError$value(this.spans,u,"Must be the same length as contents."));for(i=(n=this.contents).length,o=t.length,s=this.spans,a=0;a<i;++a){if(!((c="string"==typeof(l=n[a]))||l instanceof A.Expression0))throw A.wrapException(A.ArgumentError$value(n,d,"May only contain Strings or Expressions."));if(c){if(0!==a&&"string"==typeof n[a-1])throw A.wrapException(A.ArgumentError$value(n,d,"May not contain adjacent Strings."));if(a<o&&null!=s[a])throw A.wrapException(A.ArgumentError$value(s,u,P.May_no+a+")."))}else if(a>=o||null==s[a])throw A.wrapException(A.ArgumentError$value(s,u,P.Must_n+a+")."))}},toString$0(e){var t=this.contents;return new A.MappedListIterable(t,new A.Interpolation_toString_closure0,A._arrayInstanceType(t)._eval$1("MappedListIterable<1,String>")).join$0(0)},$isAstNode0:1,$isSassNode:1,get$span(e){return this.span}},A.Interpolation_toString_closure0.prototype={call$1:e=>"string"==typeof e?e:"#{"+A.S(e)+"}",$signature:132},A.SupportsInterpolation0.prototype={toInterpolation$0(){var e=this.span;return A.Interpolation$0(A._setArrayType([this.expression],D.JSArray_Object),A._setArrayType([e],D.JSArray_nullable_FileSpan),e)},withSpan$1(e){return new A.SupportsInterpolation0(this.expression,e)},toString$0(e){return"#{"+this.expression.toString$0(0)+"}"},$isAstNode0:1,$isSassNode:1,$isSupportsCondition:1,get$span(e){return this.span}},A.InterpolationBuffer0.prototype={writeCharCode$1(e){var t=this._interpolation_buffer0$_text,r=A.Primitives_stringFromCharCode(e);return t._contents+=r,null},add$2(e,t,r){this._interpolation_buffer0$_flushText$0(),this._interpolation_buffer0$_contents.push(t),this._interpolation_buffer0$_spans.push(r)},addInterpolation$1(e){var t,r,n,i,o,s,a,l=this,c=e.contents,u=c.length;0!==u&&(t=e.spans,(r=u>=1)?u="string"==typeof(n=c[0]):(n=null,u=!1),u&&(i=A._asString(r?n:c[0]),o=C.JSArray_methods.sublist$1(c,1),(u=l._interpolation_buffer0$_text)._contents+=i,t=A.SubListIterable$(t,1,null,A._arrayInstanceType(t)._precomputed1),c=o),l._interpolation_buffer0$_flushText$0(),u=l._interpolation_buffer0$_contents,C.JSArray_methods.addAll$1(u,c),s=l._interpolation_buffer0$_spans,C.JSArray_methods.addAll$1(s,t),"string"==typeof C.JSArray_methods.get$last(u)&&(a=l._interpolation_buffer0$_text,u=A.S(u.pop()),a._contents+=u,s.pop()))},_interpolation_buffer0$_flushText$0(){var e=this._interpolation_buffer0$_text,t=e._contents;0!==t.length&&(this._interpolation_buffer0$_contents.push((t.charCodeAt(0),t)),this._interpolation_buffer0$_spans.push(null),e._contents="")},interpolation$1(e){var t=A.List_List$_of(this._interpolation_buffer0$_contents,D.Object),r=this._interpolation_buffer0$_text,n=r._contents;return 0!==n.length&&t.push((n.charCodeAt(0),n)),n=A.List_List$_of(this._interpolation_buffer0$_spans,D.nullable_FileSpan),0!==r._contents.length&&n.push(null),A.Interpolation$0(t,n,e)},toString$0(e){var t,r,n,i,o;for(r=(t=this._interpolation_buffer0$_contents).length,n=0,i="";n<t.length;t.length===r||(0,A.throwConcurrentModificationError)(t),++n)i="string"==typeof(o=t[n])?i+o:i+"#{"+A.S(o)+A.Primitives_stringFromCharCode(125);return(t=i+this._interpolation_buffer0$_text.toString$0(0)).charCodeAt(0),t}},A.InterpolationMap0.prototype={mapException$1(e){var t,r,n,i,o,s=this,a=e.get$span(e),l=s._interpolation_map$_interpolation,c=l.contents;return 0===c.length?s._interpolation_map$_isMapped$1(a)?e:new A.SourceSpanFormatException(e.get$source(),e._span_exception$_message,l.span):(t=s.mapSpan$1(a))===a?e:(r=s._interpolation_map$_indexInContents$1(a.get$start(a)),n=s._interpolation_map$_indexInContents$1(a.get$end(a)),l=e._span_exception$_message,A.SubListIterable$(c,r,null,A._arrayInstanceType(c)._precomputed1).take$1(0,n-r+1).any$1(0,new A.InterpolationMap_mapException_closure0)?(c=D.SourceSpan,i=D.String,o=A.LinkedHashMap_LinkedHashMap$_literal([a,"error in interpolated output"],c,i),new A.MultiSourceSpanFormatException(e.get$source(),"",A.ConstantMap_ConstantMap$from(o,c,i),l,t)):new A.SourceSpanFormatException(e.get$source(),l,t))},mapSpan$1(e){var t,r,n,i,o,s,a,l,c=this,u=null;return c._interpolation_map$_isMapped$1(e)?e:(t=c._interpolation_map$_mapLocation$1(e.get$start(e)),r=c._interpolation_map$_mapLocation$1(e.get$end(e)),o=!1,(i=(n=D.FileSpan)._is(t))?(o=n._is(r),s=t,a=r):a=s=u,o?n=s.expand$1(0,n._as(i?a:r)):(o=!1,n._is(t)?(i?o=a:(a=o=r,i=!0),o=o instanceof A.FileLocation,s=t):s=u,o?(n=i?a:r,D.FileLocation._as(n),n=(o=c._interpolation_map$_interpolation.span).get$file(o).span$2(0,c._interpolation_map$_expandInterpolationSpanLeft$1(s.get$start(s)),n.offset)):(o=!1,t instanceof A.FileLocation?(i?o=a:(a=o=r,i=!0),o=n._is(o),s=t):s=u,o?(l=n._as(i?a:r),n=(n=c._interpolation_map$_interpolation.span).get$file(n).span$2(0,s.offset,c._interpolation_map$_expandInterpolationSpanRight$1(l.get$end(l)))):(n=!1,t instanceof A.FileLocation?(i?n=a:(a=n=r,i=!0),n=n instanceof A.FileLocation,s=t):s=u,n?(n=i?a:r,D.FileLocation._as(n),n=(o=c._interpolation_map$_interpolation.span).get$file(o).span$2(0,s.offset,n.offset)):n=A.throwExpression("[BUG] Unreachable")))),n)},_interpolation_map$_isMapped$1(e){var t;return e.get$file(e)===(t=(t=this._interpolation_map$_interpolation.span).get$file(t))},_interpolation_map$_mapLocation$1(e){var t,r,n,i,o=this,s=o._interpolation_map$_interpolation,a=s.contents;return 0===a.length?s.span:(r=a[t=o._interpolation_map$_indexInContents$1(e)])instanceof A.Expression0?r.get$span(r):(n=0===t,s=s.span,n?i=s.get$start(s):(s=s.get$file(s),a=(a=D.Expression_2._as(a[t-1])).get$span(a),i=A.FileLocation$_(s,o._interpolation_map$_expandInterpolationSpanRight$1(a.get$end(a)))),s=n?0:o._interpolation_map$_targetOffsets[t-1],A.FileLocation$_(i.file,i.offset+(e.offset-s)))},_interpolation_map$_indexInContents$1(e){var t,r,n,i;for(r=(t=this._interpolation_map$_targetOffsets).length,n=e.offset,i=0;i<r;++i)if(n<t[i])return i;return this._interpolation_map$_interpolation.contents.length-1},_interpolation_map$_expandInterpolationSpanLeft$1(e){for(var t,r,n,i=e.file._decodedChars,o=e.offset-1;o>=0;)if(t=o-1,123===(r=i[o])){if(35===i[t]){o=t;break}o=t}else if(47===r){if(o=t-1,42===i[t])for(;;)if(t=o-1,42===i[o]){for(o=t;;){if(t=o-1,42!==(n=i[o]))break;o=t}if(47===n){o=t;break}o=t}else o=t}else o=t;return o},_interpolation_map$_expandInterpolationSpanRight$1(e){var t,r,n,i,o,s,a=e.file._decodedChars,l=e.offset;for(t=a.length;l<t;){if(r=l+1,125===(n=a[l])){l=r;break}if(47===n){if(l=r+1,47===(i=a[r])){for(;r=l+1,10!==(o=a[l])&&13!==o&&12!==o;)l=r;l=r}else if(42===i)for(;;)if(r=l+1,42===a[l]){for(l=r;;){if(r=l+1,42!==(s=a[l]))break;l=r}if(47===s){l=r;break}l=r}else l=r}else l=r}return l}},A.InterpolationMap_mapException_closure0.prototype={call$1:e=>e instanceof A.Expression0,$signature:73},A.InterpolationMethod0.prototype={toString$0(e){var t=this.hue;return t=null==t?"":" "+t.toString$0(0)+" hue",this.space.name+t}},A.HueInterpolationMethod0.prototype={_enumToString$0(){return"HueInterpolationMethod."+this._name}},A._realCasePath_helper0.prototype={call$2(e,t){var r=I.$get$context().dirname$1(e);return r===e?e:I._realCaseCache0.putIfAbsent$2(e,new A._realCasePath_helper_closure0(e,t,this,r))},call$1(e){return this.call$2(e,null)},$signature:149},A._realCasePath_helper_closure0.prototype={call$0(){var e,t,r,n,i,o,s,a=this,l=a.path;if(!A.linkExists0(l)){e=null;try{e=null==(s=a.realPath)?A.realpath0(l):s}catch(e){if(A.unwrapException(e)instanceof A.FileSystemException0)return l;throw e}return i=e,l=I.$get$context(),A.join(a.helper.call$2(a.dirname,l.dirname$1(i)),A.ParsedPath_ParsedPath$parse(e,l.style).get$basename(),null)}t=a.helper.call$1(a.dirname),r=A.ParsedPath_ParsedPath$parse(l,I.$get$context().style).get$basename();try{return n=w.where$1$ax(A.listDir0(t),new A._realCasePath_helper__closure0(r)).toList$0(0),i=null,o=n,i=1!==w.get$length$asx(o)?A.join(t,r,null):w.$index$asx(o,0)}catch(e){if(A.unwrapException(e)instanceof A.FileSystemException0)return l;throw e}},$signature:29},A._realCasePath_helper__closure0.prototype={call$1(e){return A.equalsIgnoreCase0(A.ParsedPath_ParsedPath$parse(e,I.$get$context().style).get$basename(),this.basename)},$signature:4},A.IsCalculationSafeVisitor0.prototype={visitBinaryOperationExpression$1(e,t){return C.Set_xkEMv0.contains$1(0,t.operator)&&t.left.accept$1(this)&&t.right.accept$1(this)},visitBooleanExpression$1:(e,t)=>!1,visitColorExpression$1:(e,t)=>!1,visitFunctionExpression$1:(e,t)=>!0,visitIfExpression$1:(e,t)=>!0,visitInterpolatedFunctionExpression$1:(e,t)=>!0,visitLegacyIfExpression$1:(e,t)=>!0,visitListExpression$1(e,t){var r=!1;return t.separator===C.ListSeparator_SrV0&&(t.hasBrackets||(r=(r=t.contents).length>1&&C.JSArray_methods.every$1(r,new A.IsCalculationSafeVisitor_visitListExpression_closure0(this)))),r},visitMapExpression$1:(e,t)=>!1,visitNullExpression$1:(e,t)=>!1,visitNumberExpression$1:(e,t)=>!0,visitParenthesizedExpression$1(e,t){return t.expression.accept$1(this)},visitSelectorExpression$1:(e,t)=>!1,visitStringExpression$1(e,t){var r,n,i;return!t.hasQuotes&&(r=t.text.get$initialPlain(),n=!1,C.JSString_methods.startsWith$1(r,"!")||C.JSString_methods.startsWith$1(r,"#")||43!==(1>=(i=r.length)?null:r.charCodeAt(1))&&(n=40!==(3>=i?null:r.charCodeAt(3))),n)},visitSupportsExpression$1:(e,t)=>!1,visitUnaryOperationExpression$1:(e,t)=>!1,visitValueExpression$1:(e,t)=>!1,visitVariableExpression$1:(e,t)=>!0,$isExpressionVisitor:1},A.IsCalculationSafeVisitor_visitListExpression_closure0.prototype={call$1(e){return e.accept$1(this.$this)},$signature:81},A.IsPlainCssVisitor0.prototype={visitBinaryOperationExpression$1:(e,t)=>!1,visitBooleanExpression$1:(e,t)=>!1,visitColorExpression$1:(e,t)=>!0,visitFunctionExpression$1(e,t){return null==t.namespace&&this._is_plain_css$_visitArgumentList$1(t.$arguments)},visitIfExpression$1(e,t){return C.JSArray_methods.every$1(t.branches,new A.IsPlainCssVisitor_visitIfExpression_closure0(this))},visitInterpolatedFunctionExpression$1(e,t){return this._is_plain_css$_visitArgumentList$1(t.$arguments)},visitLegacyIfExpression$1:(e,t)=>!1,visitListExpression$1(e,t){var r=t.contents;return(0!==r.length||t.hasBrackets)&&C.JSArray_methods.every$1(r,new A.IsPlainCssVisitor_visitListExpression_closure0(this))},visitMapExpression$1:(e,t)=>!1,visitNullExpression$1:(e,t)=>!1,visitNumberExpression$1:(e,t)=>!0,visitParenthesizedExpression$1(e,t){return t.expression.accept$1(this)},visitSelectorExpression$1:(e,t)=>!1,visitStringExpression$1:(e,t)=>!0,visitSupportsExpression$1:(e,t)=>!1,visitUnaryOperationExpression$1:(e,t)=>!1,visitValueExpression$1:(e,t)=>!1,visitVariableExpression$1:(e,t)=>!1,visitIfConditionParenthesized$1(e,t){return t.expression.accept$1(this)},visitIfConditionNegation$1(e,t){return t.expression.accept$1(this)},visitIfConditionOperation$1(e,t){return C.JSArray_methods.every$1(t.expressions,new A.IsPlainCssVisitor_visitIfConditionOperation_closure0(this))},visitIfConditionFunction$1:(e,t)=>!0,visitIfConditionSass$1:(e,t)=>!1,visitIfConditionRaw$1:(e,t)=>!0,_is_plain_css$_visitArgumentList$1(e){var t=e.named;return t.get$isEmpty(t)&&null==e.rest&&C.JSArray_methods.every$1(e.positional,new A.IsPlainCssVisitor__visitArgumentList_closure0(this))},$isExpressionVisitor:1,$isIfConditionExpressionVisitor:1},A.IsPlainCssVisitor_visitIfExpression_closure0.prototype={call$1(e){var t,r,n;return null==(t=e._0)?n=e._1.accept$1(this.$this):(r=null==t?D.IfConditionExpression_2._as(t):t,n=this.$this,n=r.accept$1(n)&&e._1.accept$1(n)),n},$signature:501},A.IsPlainCssVisitor_visitListExpression_closure0.prototype={call$1(e){return e.accept$1(this.$this)},$signature:81},A.IsPlainCssVisitor_visitIfConditionOperation_closure0.prototype={call$1(e){return e.accept$1(this.$this)},$signature:502},A.IsPlainCssVisitor__visitArgumentList_closure0.prototype={call$1(e){return e.accept$1(this.$this)},$signature:81},A.FileSystemException0.prototype={toString$0(e){var t=I.$get$context();return t.prettyUri$1(t.toUri$1(this.path))+": "+this.message},get$message(e){return this.message}},A._readFile_closure0.prototype={call$0(){return w.readFileSync$2$x(A.fs(),this.path,this.encoding)},$signature:64},A.fileExists_closure0.prototype={call$0(){var e,t,r=this.path;if(!w.existsSync$1$x(A.fs(),r))return!1;try{return r=w.isFile$0$x(w.statSync$1$x(A.fs(),r))}catch(r){if(e=A.unwrapException(r),t=D.JsSystemError._as(e),w.$eq$(w.get$code$x(t),"ENOENT"))return!1;throw r}},$signature:20},A.dirExists_closure0.prototype={call$0(){var e,t,r=this.path;if(!w.existsSync$1$x(A.fs(),r))return!1;try{return r=w.isDirectory$0$x(w.statSync$1$x(A.fs(),r))}catch(r){if(e=A.unwrapException(r),t=D.JsSystemError._as(e),w.$eq$(w.get$code$x(t),"ENOENT"))return!1;throw r}},$signature:20},A.linkExists_closure0.prototype={call$0(){var e,t;try{return w.isSymbolicLink$0$x(w.lstatSync$1$x(A.fs(),this.path))}catch(r){if(e=A.unwrapException(r),t=D.JsSystemError._as(e),w.$eq$(w.get$code$x(t),"ENOENT"))return!1;throw r}},$signature:20},A.listDir_closure0.prototype={call$0(){var e=this.path;return this.recursive?(new A.listDir_closure_list0).call$1(e):w.map$1$1$ax(w.readdirSync$1$x(A.fs(),e),new A.listDir__closure1(e),D.String).super$Iterable$where(0,new A.listDir__closure2)},$signature:152},A.listDir__closure1.prototype={call$1(e){return A.join(this.path,A._asString(e),null)},$signature:134},A.listDir__closure2.prototype={call$1:e=>!A.dirExists0(e),$signature:4},A.listDir_closure_list0.prototype={call$1(e){return w.expand$1$1$ax(w.readdirSync$1$x(A.fs(),e),new A.listDir__list_closure0(e,this),D.String)},$signature:153},A.listDir__list_closure0.prototype={call$1(e){var t=A.join(this.parent,A._asString(e),null);return A.dirExists0(t)?this.list.call$1(t):A._setArrayType([t],D.JSArray_String)},$signature:154},A.realpath_closure0.prototype={call$0(){return w.native$1$x(w.get$realpathSync$x(A.fs()),this.path)},$signature:29},A.main_closure.prototype={call$2(e,t){},$signature:503},A.main_closure0.prototype={call$2(e,t){},$signature:504},A.JSToDartLogger.prototype={internalWarn$4$deprecation$span$trace(e,t,r,i){var o,s,a,l=this._node,c=null==l?null:w.get$warn$x(l);null!=c?(l=null==r?n.undefined:r,o=w.toString$0$(i),s=null==t,a=I.$get$deprecations(),c.call$2(e,{deprecation:!s,deprecationType:a.$index(0,s?null:t.id),span:l,stack:o})):this._withAscii$1(new A.JSToDartLogger_internalWarn_closure(this,e,r,i,t))},debug$2(e,t,r){var n=this._node,i=null==n?null:w.get$debug$x(n);null!=i?i.call$2(t,{span:r}):this._withAscii$1(new A.JSToDartLogger_debug_closure(this,t,r))},_withAscii$1$1(e){var t=I._glyphs===C.C_AsciiGlyphSet;I._glyphs=this._ascii?C.C_AsciiGlyphSet:C.C_UnicodeGlyphSet;try{return e.call$0()}finally{I._glyphs=t?C.C_AsciiGlyphSet:C.C_UnicodeGlyphSet}},_withAscii$1(e){return this._withAscii$1$1(e,D.dynamic)}},A.JSToDartLogger_internalWarn_closure.prototype={call$0(){var e=this;e.$this._fallback.internalWarn$4$deprecation$span$trace(e.message,e.deprecation,e.span,e.trace)},$signature:1},A.JSToDartLogger_debug_closure.prototype={call$0(){return this.$this._fallback.debug$2(0,this.message,this.span)},$signature:0},A.ModifiableCssKeyframeBlock0.prototype={accept$1$1(e){return e.visitCssKeyframeBlock$1(this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},equalsIgnoringChildren$1(e){return e instanceof A.ModifiableCssKeyframeBlock0&&C.C_ListEquality.equals$2(0,this.selector.value,e.selector.value)},copyWithoutChildren$0(){return A.ModifiableCssKeyframeBlock$0(this.selector,this.span)},get$span(e){return this.span}},A.KeyframeSelectorParser0.prototype={parse$0(e){return this.wrapSpanFormatException$1(new A.KeyframeSelectorParser_parse_closure0(this))},_keyframe_selector$_percentage$0(){var e,t,r=this.scanner,n=r.scanChar$1(43)?A.Primitives_stringFromCharCode(43):"",i=r.peekChar$0();for(null!=i&&i>=48&&i<=57||46===i||r.error$1(0,"Expected number.");null!=(e=r.peekChar$0())&&e>=48&&e<=57;)n+=A.Primitives_stringFromCharCode(r.readChar$0());if(46===r.peekChar$0())for(n+=A.Primitives_stringFromCharCode(r.readChar$0());null!=(e=r.peekChar$0())&&e>=48&&e<=57;)n+=A.Primitives_stringFromCharCode(r.readChar$0());if(this.scanIdentChar$1(101)){n+=A.Primitives_stringFromCharCode(101),43!==(t=r.peekChar$0())&&45!==t||(n+=A.Primitives_stringFromCharCode(r.readChar$0())),null!=(e=r.peekChar$0())&&e>=48&&e<=57||r.error$1(0,"Expected digit.");do{n+=A.Primitives_stringFromCharCode(r.readChar$0()),e=r.peekChar$0()}while(null!=e&&e>=48&&e<=57)}return r.expectChar$1(37),(n+=A.Primitives_stringFromCharCode(37)).charCodeAt(0),n}},A.KeyframeSelectorParser_parse_closure0.prototype={call$0(){var e=A._setArrayType([],D.JSArray_String),t=this.$this,r=t.scanner;do{t.whitespace$1$consumeNewlines(!0),t.lookingAtIdentifier$0()?t.scanIdentifier$1("from")?e.push("from"):(t.expectIdentifier$2$name("to",'"to" or "from"'),e.push("to")):e.push(t._keyframe_selector$_percentage$0()),t.whitespace$1$consumeNewlines(!0)}while(r.scanChar$1(44));return r.expectDone$0(),e},$signature:139},A.LabColorSpace0.prototype={get$isBoundedInternal:()=>!1,convert$7$missingChroma$missingHue(e,t,r,n,i,o,s){var a,l,c,u,d,h,p;switch(e){case C.LabColorSpace_2nT0:return a=null==t||A.fuzzyEquals0(t,0),l=null==r||a?null:r,A.SassColor$_forSpace0(C.LabColorSpace_2nT0,t,l,null==n||a?null:n,i,null);case C.LchColorSpace_Bpv0:return A.labToLch0(e,t,r,n,i,!1,!1);default:return(c=null==t)&&(t=0),u=(t+16)/116,l=null==r,d=this._lab$_convertFToXorZ$1((l?0:r)/500+u),h=t>8?Math.pow(u,3):t/903.2962962962963,p=null==n,C.XyzD50ColorSpace_2OB0.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(e,.9642956764295677*d,h,.8251046025104602*this._lab$_convertFToXorZ$1(u-(p?0:n)/200),i,l,p,o,s,c)}},convert$5(e,t,r,n,i){return this.convert$7$missingChroma$missingHue(e,t,r,n,i,!1,!1)},_lab$_convertFToXorZ$1(e){var t=Math.pow(e,3)+0;return t>.008856451679035631?t:(116*e-16)/903.2962962962963}},A.LazyFileSpan0.prototype={get$span(e){var t=this._lazy_file_span0$_span;return null==t?this._lazy_file_span0$_span=this._lazy_file_span0$_builder.call$0():t},compareTo$1(e,t){return this.get$span(0).compareTo$1(0,t)},get$context(e){var t=this.get$span(0);return t.get$context(t)},get$end(e){var t=this.get$span(0);return t.get$end(t)},expand$1(e,t){return this.get$span(0).expand$1(0,t)},get$file(e){var t=this.get$span(0);return t.get$file(t)},highlight$1$color(e){return this.get$span(0).highlight$1$color(e)},get$length(e){var t=this.get$span(0);return t.get$length(t)},message$2$color(e,t,r){return this.get$span(0).message$2$color(0,t,r)},message$1(e,t){return this.message$2$color(0,t,null)},get$sourceUrl(e){var t=this.get$span(0);return t.get$sourceUrl(t)},get$start(e){var t=this.get$span(0);return t.get$start(t)},get$text(){return this.get$span(0).get$text()},$isComparable:1,$isFileSpan:1,$isSourceSpan:1,$isSourceSpanWithContext:1},A.LchColorSpace0.prototype={get$isBoundedInternal:()=>!1,get$isPolarInternal:()=>!0,convert$5(e,t,r,n,i){var o=null==n,s=3.141592653589793*(o?0:n)/180,a=null==r,l=a?0:r,c=Math.cos(s),u=a?0:r;return C.LabColorSpace_2nT0.convert$7$missingChroma$missingHue(e,t,l*c,u*Math.sin(s),i,a,o)}},A.render_closure.prototype={call$0(){var e;try{this.callback.call$2(null,A.renderSync(this.options))}catch(t){e=A.unwrapException(t),this.callback.call$2(e,null)}return null},$signature:1},A.render_closure0.prototype={call$1(e){this.callback.call$2(null,e)},$signature:505},A.render_closure1.prototype={call$2(e,t){var r,n,i=null,o=this.callback;e instanceof A.SassException0?o.call$2(A._wrapException(e,t),i):(r=w.toString$0$(e),n=A.getTrace0(e),o.call$2(A._newRenderError(r,null==n?t:n,i,i,i,3),i))},$signature:51},A._parseFunctions_closure.prototype={call$2(e,t){var r,n=this,i=n.options,o={options:A._contextOptions(i,n.start)};w.set$context$x(w.get$options$x(o),o),r=w.get$fiber$x(i),(i={}).fiber=null,null!=r?(i.fiber=r,n.result.push(A.Callable_Callable$fromSignature(C.JSString_methods.trimLeft$0(e),new A._parseFunctions__closure(i,t,o),!1))):(i=n.result,n.asynch?i.push(A.AsyncCallable_AsyncCallable$fromSignature(C.JSString_methods.trimLeft$0(e),new A._parseFunctions__closure1(t,o),!1)):i.push(A.Callable_Callable$fromSignature(C.JSString_methods.trimLeft$0(e),new A._parseFunctions__closure0(t,o),!1)))},$signature:126},A._parseFunctions__closure.prototype={call$1(e){var t,r=this._box_0,n=w.get$current$x(r.fiber),i=D.Object;return(i=A.List_List$_of(w.map$1$1$ax(e,A.value0__wrapValue$closure(),i),i)).push(A.allowInterop(new A._parseFunctions___closure2(n))),t=A.wrapJSExceptions(new A._parseFunctions___closure3(this.callback,this.context,i)),A.unwrapValue(A._asBool(I.$get$_isUndefined().call$1(t))?A.runZoned(new A._parseFunctions___closure4(r),null,D.nullable_Object):t)},$signature:3},A._parseFunctions___closure2.prototype={call$1(e){A.scheduleMicrotask(new A._parseFunctions____closure(this.currentFiber,e))},call$0(){return this.call$1(null)},"call*":"call$1",$requiredArgCount:0,$defaultValues:()=>[null],$signature:84},A._parseFunctions____closure.prototype={call$0(){return w.run$1$x(this.currentFiber,this.result)},$signature:0},A._parseFunctions___closure3.prototype={call$0(){return w.apply$2$x(D.JSFunction._as(this.callback),this.context,this.jsArguments)},$signature:36},A._parseFunctions___closure4.prototype={call$0(){return w.yield$0$x(this._box_0.fiber)},$signature:83},A._parseFunctions__closure0.prototype={call$1(e){return A.unwrapValue(A.wrapJSExceptions(new A._parseFunctions___closure1(this.callback,this.context,e)))},$signature:3},A._parseFunctions___closure1.prototype={call$0(){var e=D.JSFunction._as(this.callback),t=w.map$1$1$ax(this.$arguments,A.value0__wrapValue$closure(),D.Object);return t=A.List_List$_of(t,t.$ti._eval$1("ListIterable.E")),w.apply$2$x(e,this.context,t)},$signature:36},A._parseFunctions__closure1.prototype={call$1(e){return this.$call$body$_parseFunctions__closure(e)},$call$body$_parseFunctions__closure(e){var t,r,n,i,o,s=0,a=A._makeAsyncAwaitCompleter(D.Value_2),l=this,c=A._wrapJsFunctionForAsync(function(u,d){if(1===u)return A._asyncRethrow(d,a);for(;;)switch(s){case 0:n=new A._Future(I.Zone__current,D._Future_nullable_Object),i=D.Object,(i=A.List_List$_of(w.map$1$1$ax(e,A.value0__wrapValue$closure(),i),i)).push(A.allowInterop(new A._parseFunctions___closure(new A._AsyncCompleter(n,D._AsyncCompleter_nullable_Object)))),r=A.wrapJSExceptions(new A._parseFunctions___closure0(l.callback,l.context,i)),o=A,s=A._asBool(I.$get$_isUndefined().call$1(r))?3:5;break;case 3:return s=6,A._asyncAwait(n,c);case 6:s=4;break;case 5:d=r;case 4:t=o.unwrapValue(d),s=1;break;case 1:return A._asyncReturn(t,a)}});return A._asyncStartSync(c,a)},$signature:92},A._parseFunctions___closure.prototype={call$1(e){return this.completer.complete$1(e)},call$0(){return this.call$1(null)},"call*":"call$1",$requiredArgCount:0,$defaultValues:()=>[null],$signature:192},A._parseFunctions___closure0.prototype={call$0(){return w.apply$2$x(D.JSFunction._as(this.callback),this.context,this.jsArguments)},$signature:36},A._parseImporter_closure.prototype={call$1(e){return D.JSFunction._as(A.allowInteropCaptureThis(new A._parseImporter__closure(this._box_0,e)))},$signature:506},A._parseImporter__closure.prototype={call$4(e,t,r,n){var i=this._box_0,o=w.apply$2$x(this.importer,e,A._setArrayType([t,r,A.allowInterop(new A._parseImporter___closure(w.get$current$x(i.fiber)))],D.JSArray_Object));return A._asBool(I.$get$_isUndefined().call$1(o))?A.runZoned(new A._parseImporter___closure0(i),null,D.Object):o},call$3(e,t,r){return this.call$4(e,t,r,null)},"call*":"call$4",$requiredArgCount:3,$defaultValues:()=>[null],$signature:507},A._parseImporter___closure.prototype={call$1(e){A.scheduleMicrotask(new A._parseImporter____closure(this.currentFiber,e))},$signature:508},A._parseImporter____closure.prototype={call$0(){return w.run$1$x(this.currentFiber,this.result)},$signature:0},A._parseImporter___closure0.prototype={call$0(){return w.yield$0$x(this._box_0.fiber)},$signature:83},A.LegacyIfExpression0.prototype={get$modernSuggestion(){var e,t,r,n,i,o=null,s=this.$arguments;return t=o,r=o,n=!1,3===(e=s.positional).length?(i=e[0],t=e[1],r=e[2],n=(n=s.named).get$isEmpty(n)&&null==s.rest):i=o,n=n?r instanceof A.NullExpression0?"if(sass("+A.S(i)+"): "+A.S(t)+")":t instanceof A.NullExpression0?"if(not sass("+A.S(i)+"): "+A.S(r)+")":"if(sass("+A.S(i)+"): "+A.S(t)+"; else: "+A.S(r)+")":o},accept$1$1(e){return e.visitLegacyIfExpression$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return"if"+this.$arguments.toString$0(0)},get$span(e){return this.span}},A.LimitedMapView0.prototype={get$keys(e){return this._limited_map_view0$_keys},get$length(e){return this._limited_map_view0$_keys._collection$_length},get$isEmpty(e){return 0===this._limited_map_view0$_keys._collection$_length},get$isNotEmpty(e){return 0!==this._limited_map_view0$_keys._collection$_length},$index(e,t){return this._limited_map_view0$_keys.contains$1(0,t)?this._limited_map_view0$_map.$index(0,t):null},containsKey$1(e){return this._limited_map_view0$_keys.contains$1(0,e)},remove$1(e,t){return this._limited_map_view0$_keys.contains$1(0,t)?this._limited_map_view0$_map.remove$1(0,t):null}},A.ListExpression0.prototype={accept$1$1(e){return e.visitListExpression$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){var t,r,n,i,o=this,s=o.hasBrackets;return t=s?A.Primitives_stringFromCharCode(91):(t=0===(t=o.contents.length)||1===t&&o.separator===C.ListSeparator_z0K0)?A.Primitives_stringFromCharCode(40):"",r=o.contents,i=(n=o.separator===C.ListSeparator_z0K0)?", ":" ",i=t+new A.MappedListIterable(r,new A.ListExpression_toString_closure0(o),A._arrayInstanceType(r)._eval$1("MappedListIterable<1,String>")).join$1(0,i),(s=s?i+A.Primitives_stringFromCharCode(93):0===(s=r.length)?i+A.Primitives_stringFromCharCode(41):1===s&&n?i+",)":i).charCodeAt(0),s},_list3$_elementNeedsParens$1(e){var t,r,n;return e instanceof A.ListExpression0&&e.contents.length>=2&&!e.hasBrackets?(t=e.separator,r=this.separator===C.ListSeparator_z0K0?t===C.ListSeparator_z0K0:t!==C.ListSeparator_undecided_null_3_undecided0):(e instanceof A.UnaryOperationExpression0?(n=e.operator,r=C.UnaryOperator_n2K0===n||C.UnaryOperator_hCO0===n):r=!1,r=!!r&&this.separator===C.ListSeparator_SrV0),r},get$span(e){return this.span}},A.ListExpression_toString_closure0.prototype={call$1(e){return this.$this._list3$_elementNeedsParens$1(e)?"("+e.toString$0(0)+")":e.toString$0(0)},$signature:120},A._length_closure2.prototype={call$1:e=>A.SassNumber_SassNumber0(w.$index$asx(e,0).get$asList().length,null),$signature:25},A._nth_closure0.prototype={call$1(e){var t=w.getInterceptor$asx(e),r=t.$index(e,0),n=t.$index(e,1);return r.get$asList()[r.sassIndexToListIndex$2(n,"n")]},$signature:3},A._setNth_closure0.prototype={call$1(e){var t,r=w.getInterceptor$asx(e),n=r.$index(e,0),i=r.$index(e,1),o=r.$index(e,2);return r=n.get$asList(),(t=A._setArrayType(r.slice(0),A._arrayInstanceType(r)))[n.sassIndexToListIndex$2(i,"n")]=o,n.withListContents$1(t)},$signature:27},A._join_closure0.prototype={call$1(e){var t,r,n,i,o,s,a,l,c=null,u=w.getInterceptor$asx(e),d=u.$index(e,0),h=u.$index(e,1),p=u.$index(e,2).assertString$1("separator"),m=u.$index(e,3),_=p._string0$_text;return"auto"!==_?u="space"!==_?"comma"!==_?"slash"!==_?A.throwExpression(A.SassScriptException$0(P.x24separ,c)):C.ListSeparator_Lul0:C.ListSeparator_z0K0:C.ListSeparator_SrV0:(t=d.get$separator(d),r=h.get$separator(h),u=c,(i=n=C.ListSeparator_undecided_null_3_undecided0===t)?(i=C.ListSeparator_undecided_null_3_undecided0===r,o=r,s=!0):(o=c,s=!1,i=!1),i?u=C.ListSeparator_SrV0:(n?(a=s?o:r,i=!0):(a=u,i=!1),i||(a=t),u=a)),l=m instanceof A.SassString0&&"auto"===m._string0$_text?d.get$hasBrackets():m.get$isTruthy(),i=A.List_List$_of(d.get$asList(),D.Value_2),C.JSArray_methods.addAll$1(i,h.get$asList()),A.SassList$0(i,u,l)},$signature:27},A._append_closure2.prototype={call$1(e){var t,r=w.getInterceptor$asx(e),n=r.$index(e,0),i=r.$index(e,1),o=r.$index(e,2).assertString$1("separator")._string0$_text;return r="auto"!==o?"space"!==o?"comma"!==o?"slash"!==o?A.throwExpression(A.SassScriptException$0(P.x24separ,null)):C.ListSeparator_Lul0:C.ListSeparator_z0K0:C.ListSeparator_SrV0:n.get$separator(n)===C.ListSeparator_undecided_null_3_undecided0?C.ListSeparator_SrV0:n.get$separator(n),(t=A.List_List$_of(n.get$asList(),D.Value_2)).push(i),n.withListContents$2$separator(t,r)},$signature:27},A._zip_closure0.prototype={call$1(e){var t,r,n={},i=w.$index$asx(e,0).get$asList(),o=A._arrayInstanceType(i)._eval$1("MappedListIterable<1,List<Value0>>"),s=A.List_List$_of(new A.MappedListIterable(i,new A._zip__closure2,o),o._eval$1("ListIterable.E"));if(0===s.length)return C.SassList_oH00;for(n.i=0,t=A._setArrayType([],D.JSArray_SassList_2),i=A._arrayInstanceType(s)._eval$1("MappedListIterable<1,Value0>"),o=D.Value_2;C.JSArray_methods.every$1(s,new A._zip__closure3(n));)(r=A.List_List$from(new A.MappedListIterable(s,new A._zip__closure4(n),i),!1,o)).$flags=3,t.push(new A.SassList0(r,C.ListSeparator_SrV0,!1)),++n.i;return A.SassList$0(t,C.ListSeparator_z0K0,!1)},$signature:27},A._zip__closure2.prototype={call$1:e=>e.get$asList(),$signature:510},A._zip__closure3.prototype={call$1(e){return this._box_0.i!==w.get$length$asx(e)},$signature:603},A._zip__closure4.prototype={call$1(e){return w.$index$asx(e,this._box_0.i)},$signature:3},A._index_closure2.prototype={call$1(e){var t=w.getInterceptor$asx(e),r=C.JSArray_methods.indexOf$1(t.$index(e,0).get$asList(),t.$index(e,1));return-1===r?C.C__SassNull0:A.SassNumber_SassNumber0(r+1,null)},$signature:3},A._separator_closure0.prototype={call$1(e){var t=w.$index$asx(e,0),r=t.get$separator(t);return t=C.ListSeparator_z0K0!==r?C.ListSeparator_Lul0!==r?new A.SassString0("space",!1):new A.SassString0("slash",!1):new A.SassString0("comma",!1)},$signature:18},A._isBracketed_closure0.prototype={call$1:e=>w.$index$asx(e,0).get$hasBrackets()?C.SassBoolean_true0:C.SassBoolean_false0,$signature:13},A._slash_closure0.prototype={call$1(e){var t=w.$index$asx(e,0).get$asList();if(t.length<2)throw A.wrapException(A.SassScriptException$0("At least two elements are required.",null));return A.SassList$0(t,C.ListSeparator_Lul0,!1)},$signature:27},A.InterpolatedSelectorList.prototype={get$span(e){var t=this.components;return 1===t.length?C.JSArray_methods.get$first(t).span:C.JSArray_methods.get$first(t).span.expand$1(0,C.JSArray_methods.get$last(t).span)},accept$1$1(e){return e.visitSelectorList$1(this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return C.JSArray_methods.join$1(this.components,", ")}},A.SelectorList0.prototype={get$asSassList(){var e=this.components;return A.SassList$0(new A.MappedListIterable(e,new A.SelectorList_asSassList_closure0,A._arrayInstanceType(e)._eval$1("MappedListIterable<1,Value0>")),C.ListSeparator_z0K0,!1)},accept$1$1(e){return e.visitSelectorList$1(this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},unify$1(e){var t,r,n,i,o,s,a,l,c,u=D.JSArray_ComplexSelector_2,d=A._setArrayType([],u);for(r=(t=this.components).length,i=(n=e.components).length,o=0;o<r;++o)for(a=(s=t[o]).span,l=0;l<i;++l)null!=(c=A.unifyComplex0(A._setArrayType([s,n[l]],u),a))&&C.JSArray_methods.addAll$1(d,c);return 0===d.length?null:A.SelectorList$0(d,this.span)},nestWithin$3$implicitParent$preserveParentSelectors(e,t,r){var n,i,o=this;if(null==e){if(r)return o;if(i=(n=C.C__ParentSelectorVisitor0.visitSelectorList$1(o))instanceof A.ParentSelector0&&null!=n.suffix)throw A.wrapException(A.SassException$0(P.A_top_,n.span,null));return o}return i=o.components,A.SelectorList$0(A.flattenVertically0(new A.MappedListIterable(i,new A.SelectorList_nestWithin_closure0(o,r,t,e),A._arrayInstanceType(i)._eval$1("MappedListIterable<1,Iterable<ComplexSelector0>>")),D.ComplexSelector_2),o.span)},nestWithin$1(e){return this.nestWithin$3$implicitParent$preserveParentSelectors(e,!0,!1)},nestWithin$2$implicitParent(e,t){return this.nestWithin$3$implicitParent$preserveParentSelectors(e,t,!1)},_list2$_nestWithinCompound$2(e,t){var r,n,i,o,s,a,l=e.selector,c=l.components,u=w.any$1$ax(c,new A.SelectorList__nestWithinCompound_closure2);if(!(u||w.get$first$ax(c)instanceof A.ParentSelector0))return null;u?(s=c,a=new A.MappedListIterable(s,new A.SelectorList__nestWithinCompound_closure3(t),A._arrayInstanceType(s)._eval$1("MappedListIterable<1,SimpleSelector0>"))):a=c,r=a,n=w.get$first$ax(c);try{if(!(n instanceof A.ParentSelector0))return s=e.span,s=A._setArrayType([A.ComplexSelector$0(C.List_empty17,A._setArrayType([new A.ComplexSelectorComponent0(A.CompoundSelector$0(r,l.span),A.List_List$unmodifiable(e.combinators,D.CssValue_Combinator_2),s)],D.JSArray_ComplexSelectorComponent_2),s,!1)],D.JSArray_ComplexSelector_2);if(1===w.get$length$asx(c)&&null==n.suffix)return(l=t.withAdditionalCombinators$1(e.combinators)).components}catch(e){if(!((l=A.unwrapException(e))instanceof A.SassException0))throw e;i=l,o=A.getTraceFromException(e),A.throwWithTrace0(i.withAdditionalSpan$2(n.span,"parent selector"),i,o)}return l=t.components,new A.MappedListIterable(l,new A.SelectorList__nestWithinCompound_closure4(n,r,e),A._arrayInstanceType(l)._eval$1("MappedListIterable<1,ComplexSelector0>"))},isSuperselector$1(e){return A.listIsSuperselector0(this.components,e.components)},withAdditionalCombinators$1(e){var t;return 0===e.length?t=this:(t=this.components,t=A.SelectorList$0(new A.MappedListIterable(t,new A.SelectorList_withAdditionalCombinators_closure0(e),A._arrayInstanceType(t)._eval$1("MappedListIterable<1,ComplexSelector0>")),this.span)),t},get$hashCode(e){return C.C_ListEquality0.hash$1(this.components)},$eq(e,t){return null!=t&&(t instanceof A.SelectorList0&&C.C_ListEquality.equals$2(0,this.components,t.components))}},A.SelectorList_asSassList_closure0.prototype={call$1(e){var t,r,n,i,o,s,a,l,c,u=null,d=D.JSArray_Value_2,h=A._setArrayType([],d);for(r=(t=e.leadingCombinators).length,n=0;n<r;++n)h.push(new A.SassString0(w.toString$0$(t[n].value),!1));for(r=(t=e.components).length,n=0;n<r;++n){for(i=t[n],o=A._SerializeVisitor$0(u,!0,u,u,!0,!1,u,!0),i.selector.accept$1(o),s=A._setArrayType([new A.SassString0(o._serialize0$_buffer.toString$0(0),!1)],d),l=(a=i.combinators).length,c=0;c<l;++c)s.push(new A.SassString0(w.toString$0$(a[c].value),!1));C.JSArray_methods.addAll$1(h,s)}return A.SassList$0(h,C.ListSeparator_SrV0,!1)},$signature:512},A.SelectorList_nestWithin_closure0.prototype={call$1(e){var t,r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y,$,x,S,E=this;if(E.preserveParentSelectors||null==e.accept$1(C.C__ParentSelectorVisitor0))return E.implicitParent?(t=E.parent.components,new A.MappedListIterable(t,new A.SelectorList_nestWithin__closure1(e),A._arrayInstanceType(t)._eval$1("MappedListIterable<1,ComplexSelector0>"))):A._setArrayType([e],D.JSArray_ComplexSelector_2);for(t=D.JSArray_ComplexSelector_2,r=A._setArrayType([],t),i=(n=e.components).length,o=E.$this,s=E.parent,a=D.ComplexSelector_2,c=0===(l=e.leadingCombinators).length,u=e.span,d=D.ComplexSelectorComponent_2,h=D.JSArray_ComplexSelectorComponent_2,p=0;p<i;++p)if(m=n[p],null==(_=o._list2$_nestWithinCompound$2(m,s)))if(0===r.length)r.push(A.ComplexSelector$0(l,A._setArrayType([m],h),u,!1));else for(g=0;g<r.length;++g)f=r[g],(v=A.List_List$_of(f.components,d)).push(m),r[g]=A.ComplexSelector$0(f.leadingCombinators,v,u,f.lineBreak);else if(0===r.length)C.JSArray_methods.addAll$1(r,c?_:w.map$1$1$ax(_,new A.SelectorList_nestWithin__closure2(e),a));else{for(f=A._setArrayType([],t),v=r.length,b=w.getInterceptor$ax(_),y=0;y<r.length;r.length===v||(0,A.throwConcurrentModificationError)(r),++y)for($=r[y],x=b.get$iterator(_),S=$.span;x.moveNext$0();)f.push($.concatenate$2(x.get$current(x),S));r=f}return r},$signature:513},A.SelectorList_nestWithin__closure1.prototype={call$1(e){var t=this.complex;return e.concatenate$2(t,t.span)},$signature:59},A.SelectorList_nestWithin__closure2.prototype={call$1(e){var t=e.leadingCombinators,r=this.complex,n=r.leadingCombinators;return 0===t.length||(n=A.List_List$_of(n,D.CssValue_Combinator_2),C.JSArray_methods.addAll$1(n,t)),t=n,A.ComplexSelector$0(t,e.components,r.span,e.lineBreak)},$signature:59},A.SelectorList__nestWithinCompound_closure2.prototype={call$1(e){var t;return e instanceof A.PseudoSelector0&&(null!=(t=e.selector)&&null!=t.accept$1(C.C__ParentSelectorVisitor0))},$signature:15},A.SelectorList__nestWithinCompound_closure3.prototype={call$1(e){var t,r,n;return t=null,r=!1,e instanceof A.PseudoSelector0&&null!=(n=e.selector)&&(r=null!=(t=null==n?D.SelectorList_2._as(n):n).accept$1(C.C__ParentSelectorVisitor0)),r=r?e.withSelector$1(t.nestWithin$2$implicitParent(this.parent,!1)):e},$signature:514},A.SelectorList__nestWithinCompound_closure4.prototype={call$1(e){var t,r,n,i,o,s,a,l,c,u,d,h=this;try{if(u=e.components,0!==(t=C.JSArray_methods.get$last(u)).combinators.length)throw i=A.MultiSpanSassException$0('Selector "'+e.toString$0(0)+P.x22x20can_,A.SpanExtensions_trimRight0(t.span),"outer selector",A.LinkedHashMap_LinkedHashMap$_literal([h.parentSelector.span,"parent selector"],D.FileSpan,D.String),null),A.wrapException(i);return r=h.parentSelector.suffix,n=t.selector.components,d=D.SimpleSelector_2,null==r?(i=o=A.List_List$_of(n,d),w.addAll$1$ax(i,w.skip$1$ax(h.resolvedSimples,1))):(o=i=A.List_List$_of(A.IterableExtension_get_exceptLast0(n),d),w.add$1$ax(o,w.get$last$ax(n).addSuffix$1(r)),w.addAll$1$ax(o,w.skip$1$ax(h.resolvedSimples,1)),i=o),o=h.component,s=A.CompoundSelector$0(i,o.selector.span),a=i=A.List_List$_of(A.IterableExtension_get_exceptLast0(u),D.ComplexSelectorComponent_2),i=o.span,w.add$1$ax(a,new A.ComplexSelectorComponent0(s,A.List_List$unmodifiable(o.combinators,D.CssValue_Combinator_2),i)),i=A.ComplexSelector$0(e.leadingCombinators,a,i,e.lineBreak)}catch(e){if(!((i=A.unwrapException(e))instanceof A.SassException0))throw e;l=i,c=A.getTraceFromException(e),A.throwWithTrace0(l.withAdditionalSpan$2(h.parentSelector.span,"parent selector"),l,c)}},$signature:59},A.SelectorList_withAdditionalCombinators_closure0.prototype={call$1(e){return e.withAdditionalCombinators$1(this.combinators)},$signature:59},A._ParentSelectorVisitor0.prototype={visitParentSelector$1:(e,t)=>t},A.__ParentSelectorVisitor_Object_SelectorSearchVisitor0.prototype={},A.listClass_closure.prototype={call$0(){var e=D.JSClass,t=e._as(A.allowInteropCaptureThisNamed("sass.SassList",new A.listClass__closure));return w.get$$prototype$x(t).get=A.allowInteropCaptureThisNamed("get",new A.listClass__closure0),A.JSClassExtension_injectSuperclass(e._as(C.SassList_9ua.constructor),t),t},$signature:17},A.listClass__closure.prototype={call$3(e,t,r){var i,o,s;return n.immutable.isList(t)?i=w.cast$1$0$ax(w.toArray$0$x(D.ImmutableList._as(t)),D.Value_2):D.List_dynamic._is(t)?i=w.cast$1$0$ax(t,D.Value_2):(i=A._setArrayType([],D.JSArray_Value_2),D.nullable__ConstructorOptions._as(t),r=t),(o=null==r)?s=!0:(s=w.get$separator$x(r),s=A._asBool(I.$get$_isUndefined().call$1(s))),s=s?C.ListSeparator_z0K0:A.jsToDartSeparator(w.get$separator$x(r)),o=o?null:w.get$brackets$x(r),A.SassList$0(i,s,null!=o&&o)},call$1(e){return this.call$3(e,null,null)},call$2(e,t){return this.call$3(e,t,null)},"call*":"call$3",$requiredArgCount:1,$defaultValues:()=>[null,null],$signature:515},A.listClass__closure0.prototype={call$2(e,t){var r=C.JSNumber_methods.floor$0(t);return r<0&&(r=e.get$asList().length+r),r<0||r>=e.get$asList().length?n.undefined:e.get$asList()[r]},$signature:250},A._ConstructorOptions.prototype={},A._NodeSassList.prototype={},A.legacyListClass_closure.prototype={call$4(e,t,r,n){var i;null==n?(t.toString,i=A.Iterable_Iterable$generate(t,new A.legacyListClass__closure,D.Value_2),i=A.SassList$0(i,!1!==r?C.ListSeparator_z0K0:C.ListSeparator_SrV0,!1)):i=n,w.set$dartValue$x(e,i)},call$2(e,t){return this.call$4(e,t,null,null)},call$3(e,t,r){return this.call$4(e,t,r,null)},"call*":"call$4",$requiredArgCount:2,$defaultValues:()=>[null,null],$signature:517},A.legacyListClass__closure.prototype={call$1:e=>C.C__SassNull0,$signature:251},A.legacyListClass_closure0.prototype={call$2:(e,t)=>A.wrapValue(w.get$dartValue$x(e)._list1$_contents[t]),$signature:519},A.legacyListClass_closure1.prototype={call$3(e,t,r){var n=w.getInterceptor$x(e),i=n.get$dartValue(e)._list1$_contents,o=A._setArrayType(i.slice(0),A._arrayInstanceType(i));o[t]=A.unwrapValue(r),n.set$dartValue(e,n.get$dartValue(e).withListContents$1(o))},"call*":"call$3",$requiredArgCount:3,$signature:520},A.legacyListClass_closure2.prototype={call$1:e=>w.get$dartValue$x(e)._list1$_separator===C.ListSeparator_z0K0,$signature:521},A.legacyListClass_closure3.prototype={call$2(e,t){var r=w.getInterceptor$x(e),n=r.get$dartValue(e)._list1$_contents,i=t?C.ListSeparator_z0K0:C.ListSeparator_SrV0;r.set$dartValue(e,A.SassList$0(n,i,r.get$dartValue(e)._list1$_hasBrackets))},$signature:522},A.legacyListClass_closure4.prototype={call$1:e=>w.get$dartValue$x(e)._list1$_contents.length,$signature:523},A.SassList0.prototype={get$separator(e){return this._list1$_separator},get$hasBrackets(){return this._list1$_hasBrackets},get$isBlank(){return!this._list1$_hasBrackets&&C.JSArray_methods.every$1(this._list1$_contents,new A.SassList_isBlank_closure0)},get$asList(){return this._list1$_contents},get$lengthAsList(){return this._list1$_contents.length},SassList$3$brackets0(e,t,r){if(this._list1$_separator===C.ListSeparator_undecided_null_3_undecided0&&this._list1$_contents.length>1)throw A.wrapException(A.ArgumentError$(P.A_list,null))},toString$0(e){var t,r=this,n=!0;return r._list1$_hasBrackets||0!==(t=r._list1$_contents.length)&&(n=1===t&&r._list1$_separator===C.ListSeparator_z0K0),n?r.super$Value$toString0(0):"("+r.super$Value$toString0(0)+")"},accept$1$1(e){return e.visitList$1(this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},assertMap$1(e){return 0===this._list1$_contents.length?C.SassMap_Map_empty0:this.super$Value$assertMap0(e)},tryMap$0(){return 0===this._list1$_contents.length?C.SassMap_Map_empty0:null},$eq(e,t){var r=this;return null!=t&&(!!(t instanceof A.SassList0&&t._list1$_separator===r._list1$_separator&&t._list1$_hasBrackets===r._list1$_hasBrackets&&C.C_ListEquality.equals$2(0,t._list1$_contents,r._list1$_contents))||0===r._list1$_contents.length&&t instanceof A.SassMap0&&0===t.get$asList().length)},get$hashCode(e){return C.C_ListEquality0.hash$1(this._list1$_contents)}},A.SassList_isBlank_closure0.prototype={call$1:e=>e.get$isBlank(),$signature:56},A.ListSeparator0.prototype={_enumToString$0(){return"ListSeparator."+this._name},toString$0(e){return this._list1$_name}},A.LmsColorSpace0.prototype={get$isBoundedInternal:()=>!1,convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(e,t,r,n,i,o,s,a,l,c){var u,d,h,p,m,_,g,f=null;switch(e){case C.OklabColorSpace_5400:return u=null==t?0:t,d=Math.pow(Math.abs(u),.3333333333333333)*w.get$sign$in(u),u=null==r?0:r,h=Math.pow(Math.abs(u),.3333333333333333)*w.get$sign$in(u),u=null==n?0:n,p=Math.pow(Math.abs(u),.3333333333333333)*w.get$sign$in(u),m=(u=I.$get$lmsToOklab0())[0]*d+u[1]*h+u[2]*p,_=c?f:m,g=o?f:u[3]*d+u[4]*h+u[5]*p,A.SassColor$_forSpace0(C.OklabColorSpace_5400,_,g,s?f:u[6]*d+u[7]*h+u[8]*p,i,f);case C.OklchColorSpace_9Gj0:return u=null==t?0:t,d=Math.pow(Math.abs(u),.3333333333333333)*w.get$sign$in(u),u=null==r?0:r,h=Math.pow(Math.abs(u),.3333333333333333)*w.get$sign$in(u),u=null==n?0:n,p=Math.pow(Math.abs(u),.3333333333333333)*w.get$sign$in(u),u=c?f:(u=I.$get$lmsToOklab0())[0]*d+u[1]*h+u[2]*p,_=I.$get$lmsToOklab0(),A.labToLch0(e,u,_[3]*d+_[4]*h+_[5]*p,_[6]*d+_[7]*h+_[8]*p,i,a,l);default:return this.super$ColorSpace$convertLinear0(e,t,r,n,i,o,s,a,l,c)}},convert$5(e,t,r,n,i){return this.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(e,t,r,n,i,!1,!1,!1,!1,!1)},toLinear$1:e=>e,fromLinear$1:e=>e,transformationMatrix$1(e){return C.SrgbLinearColorSpace_kUj0!==e&&C.SrgbColorSpace_thf0!==e&&C.RgbColorSpace_i0P0!==e?C.A98RgbColorSpace_lf20!==e?C.ProphotoRgbColorSpace_BDz0!==e?C.DisplayP3ColorSpace_MmT0!==e&&C.DisplayP3LinearColorSpace_PrP0!==e?C.Rec2020ColorSpace_6oo0!==e?C.XyzD65ColorSpace_WiJ0!==e?C.XyzD50ColorSpace_2OB0!==e?this.super$ColorSpace$transformationMatrix0(e):I.$get$lmsToXyzD500():I.$get$lmsToXyzD650():I.$get$lmsToLinearRec20200():I.$get$lmsToLinearDisplayP30():I.$get$lmsToLinearProphotoRgb0():I.$get$lmsToLinearA98Rgb0():I.$get$lmsToLinearSrgb0()}},A.LocalMindeGamutMap0.prototype={map$1(e,t){var r,n,i,o,s,a,l,c=t.toSpace$1(C.OklchColorSpace_9Gj0),u=c.channel0OrNull,d=c.channel2OrNull,h=c.alphaOrNull,p=null==u,m=p?0:u;if(m>1||A.fuzzyEquals0(m,1))return p=t._color0$_space,m=t.alphaOrNull,p.get$isLegacyInternal()?A.SassColor_SassColor$rgbInternal0(255,255,255,m,null).toSpace$1(p):A.SassColor_SassColor$forSpaceInternal0(p,1,1,1,m);if((p=p?0:u)<0||A.fuzzyEquals0(p,0))return A.SassColor_SassColor$rgbInternal0(0,0,0,t.alphaOrNull,null).toSpace$1(t._color0$_space);if(r=t.get$isInGamut()?t:C.ClipGamutMap_clip0.map$1(0,t),this._local_minde$_deltaEOK$2(r,t)<.02)return r;for(null==(n=c.channel1OrNull)&&(n=0),p=t._color0$_space,i=0,o=!0;n-i>1e-4;)if(s=(i+n)/2,a=C.OklchColorSpace_9Gj0.convert$5(p,u,s,d,h),o&&a.get$isInGamut())i=s;else if(r=a.get$isInGamut()?a:C.ClipGamutMap_clip0.map$1(0,a),(l=this._local_minde$_deltaEOK$2(r,a))<.02){if(.02-l<1e-4)return r;i=s,o=!1}else n=s;return r},_local_minde$_deltaEOK$2(e,t){var r,n,i,o=e.toSpace$1(C.OklabColorSpace_5400),s=t.toSpace$1(C.OklabColorSpace_5400),a=o.channel0OrNull;return null==a&&(a=0),r=s.channel0OrNull,a=Math.pow(a-(null==r?0:r),2),null==(r=o.channel1OrNull)&&(r=0),n=s.channel1OrNull,r=Math.pow(r-(null==n?0:n),2),null==(n=o.channel2OrNull)&&(n=0),i=s.channel2OrNull,Math.sqrt(a+r+Math.pow(n-(null==i?0:i),2))}},A.JSLogger.prototype={},A.WarnOptions.prototype={},A.DebugOptions.prototype={},A.LoggerWithDeprecationType0.prototype={},A.LoudComment0.prototype={get$span(e){return this.text.span},accept$1$1(e){return e.visitLoudComment$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return this.text.toString$0(0)}},A.MapExpression0.prototype={accept$1$1(e){return e.visitMapExpression$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){var t,r,n,i,o=A._setArrayType([],D.JSArray_String);for(r=(t=this.pairs).length,n=0;n<r;++n)i=t[n],o.push(i._0.toString$0(0)+": "+i._1.toString$0(0));return"("+C.JSArray_methods.join$1(o,", ")+")"},get$span(e){return this.span}},A._get_closure0.prototype={call$1(e){var t,r=w.getInterceptor$asx(e),n=r.$index(e,0).assertMap$1("map"),i=A._setArrayType([r.$index(e,1)],D.JSArray_Value_2);for(C.JSArray_methods.addAll$1(i,r.$index(e,2).get$asList()),r=(r=A.IterableExtension_get_exceptLast0(i)).get$iterator(r);r.moveNext$0();n=t)if(!((t=n._map0$_contents.$index(0,r.get$current(r)))instanceof A.SassMap0))return C.C__SassNull0;return null==(r=n._map0$_contents.$index(0,C.JSArray_methods.get$last(i)))?C.C__SassNull0:r},$signature:3},A._set_closure1.prototype={call$1(e){var t=w.getInterceptor$asx(e);return A._modify0(t.$index(e,0).assertMap$1("map"),A._setArrayType([t.$index(e,1)],D.JSArray_Value_2),new A._set__closure2(e),!0)},$signature:3},A._set__closure2.prototype={call$1(e){return w.$index$asx(this.$arguments,2)},$signature:41},A._set_closure2.prototype={call$1(e){var t,r,n,i=w.getInterceptor$asx(e),o=i.$index(e,0).assertMap$1("map"),s=i.$index(e,1).get$asList(),a=s.length;if(a<=0)throw A.wrapException(A.SassScriptException$0("Expected $args to contain a key.",null));if(1===a)throw A.wrapException(A.SassScriptException$0("Expected $args to contain a value.",null));if(t=(i={}).value=null,(r=a>=1)&&(n=a-1,t=C.JSArray_methods.sublist$2(s,0,n),i.value=s[n]),r)return A._modify0(o,t,new A._set__closure1(i),!0);throw A.wrapException("[BUG] Unreachable code")},$signature:3},A._set__closure1.prototype={call$1(e){return this._box_0.value},$signature:41},A._merge_closure1.prototype={call$1(e){var t,r=w.getInterceptor$asx(e),n=r.$index(e,0).assertMap$1("map1"),i=r.$index(e,1).assertMap$1("map2");return r=D.Value_2,(t=A.LinkedHashMap_LinkedHashMap$of(n._map0$_contents,r,r)).addAll$1(0,i._map0$_contents),new A.SassMap0(A.ConstantMap_ConstantMap$from(t,r,r))},$signature:34},A._merge_closure2.prototype={call$1(e){var t,r,n,i=null,o=w.getInterceptor$asx(e),s=o.$index(e,0).assertMap$1("map1"),a=o.$index(e,1).get$asList(),l=a.length;if(l<=0)throw A.wrapException(A.SassScriptException$0("Expected $args to contain a key.",i));if(1===l)throw A.wrapException(A.SassScriptException$0("Expected $args to contain a map.",i));if(t=i,(o=l>=1)?(r=l-1,n=C.JSArray_methods.sublist$2(a,0,r),t=a[r]):n=i,o)return A._modify0(s,n,new A._merge__closure0(t.assertMap$1("map2")),!0);throw A.wrapException("[BUG] Unreachable code")},$signature:3},A._merge__closure0.prototype={call$1(e){var t,r,n=e.tryMap$0();return null==n?this.map2:(t=D.Value_2,(r=A.LinkedHashMap_LinkedHashMap$of(n._map0$_contents,t,t)).addAll$1(0,this.map2._map0$_contents),new A.SassMap0(A.ConstantMap_ConstantMap$from(r,t,t)))},$signature:524},A._deepMerge_closure0.prototype={call$1(e){var t=w.getInterceptor$asx(e);return A._deepMergeImpl0(t.$index(e,0).assertMap$1("map1"),t.$index(e,1).assertMap$1("map2"))},$signature:34},A._deepRemove_closure0.prototype={call$1(e){var t=w.getInterceptor$asx(e),r=t.$index(e,0).assertMap$1("map"),n=A._setArrayType([t.$index(e,1)],D.JSArray_Value_2);return C.JSArray_methods.addAll$1(n,t.$index(e,2).get$asList()),A._modify0(r,A.IterableExtension_get_exceptLast0(n),new A._deepRemove__closure0(n),!1)},$signature:3},A._deepRemove__closure0.prototype={call$1(e){var t,r,n,i=e.tryMap$0();return null!=i?(t=i._map0$_contents.containsKey$1(C.JSArray_methods.get$last(this.keys)),r=i):(r=null,t=!1),t?(t=D.Value_2,(n=A.LinkedHashMap_LinkedHashMap$of(r._map0$_contents,t,t)).remove$1(0,C.JSArray_methods.get$last(this.keys)),new A.SassMap0(A.ConstantMap_ConstantMap$from(n,t,t))):e},$signature:41},A._remove_closure1.prototype={call$1:e=>w.$index$asx(e,0).assertMap$1("map"),$signature:34},A._remove_closure2.prototype={call$1(e){var t,r,n,i=w.getInterceptor$asx(e),o=i.$index(e,0).assertMap$1("map"),s=A._setArrayType([i.$index(e,1)],D.JSArray_Value_2);for(C.JSArray_methods.addAll$1(s,i.$index(e,2).get$asList()),i=D.Value_2,t=A.LinkedHashMap_LinkedHashMap$of(o._map0$_contents,i,i),r=s.length,n=0;n<s.length;s.length===r||(0,A.throwConcurrentModificationError)(s),++n)t.remove$1(0,s[n]);return new A.SassMap0(A.ConstantMap_ConstantMap$from(t,i,i))},$signature:34},A._keys_closure0.prototype={call$1(e){var t=w.$index$asx(e,0).assertMap$1("map")._map0$_contents;return A.SassList$0(t.get$keys(t),C.ListSeparator_z0K0,!1)},$signature:27},A._values_closure0.prototype={call$1(e){var t=w.$index$asx(e,0).assertMap$1("map")._map0$_contents;return A.SassList$0(t.get$values(t),C.ListSeparator_z0K0,!1)},$signature:27},A._hasKey_closure0.prototype={call$1(e){var t,r=w.getInterceptor$asx(e),n=r.$index(e,0).assertMap$1("map"),i=A._setArrayType([r.$index(e,1)],D.JSArray_Value_2);for(C.JSArray_methods.addAll$1(i,r.$index(e,2).get$asList()),r=(r=A.IterableExtension_get_exceptLast0(i)).get$iterator(r);r.moveNext$0();n=t)if(!((t=n._map0$_contents.$index(0,r.get$current(r)))instanceof A.SassMap0))return C.SassBoolean_false0;return n._map0$_contents.containsKey$1(C.JSArray_methods.get$last(i))?C.SassBoolean_true0:C.SassBoolean_false0},$signature:13},A._modify_modifyNestedMap0.prototype={call$1(e){var t,r=this,n=D.Value_2,i=A.LinkedHashMap_LinkedHashMap$of(e._map0$_contents,n,n),o=r.keyIterator,s=o.get$current(o);return o.moveNext$0()?(t=null==(o=i.$index(0,s))?null:o.tryMap$0(),(o=null==t)&&!r.addNesting||i.$indexSet(0,s,r.call$1(o?C.SassMap_Map_empty0:t)),new A.SassMap0(A.ConstantMap_ConstantMap$from(i,n,n))):(null==(o=i.$index(0,s))&&(o=C.C__SassNull0),i.$indexSet(0,s,r.modify.call$1(o)),new A.SassMap0(A.ConstantMap_ConstantMap$from(i,n,n)))},$signature:525},A.MapExtensions_get_pairs_closure0.prototype={call$1:e=>new A._Record_2(e.key,e.value),$signature(){return this.K._eval$1("@<0>")._bind$1(this.V)._eval$1("+(1,2)(MapEntry<1,2>)")}},A.mapClass_closure.prototype={call$0(){var e=D.JSClass,t=e._as(A.allowInteropCaptureThisNamed("sass.SassMap",new A.mapClass__closure)),r=w.getInterceptor$x(t);return A.defineGetter(r.get$$prototype(t),"contents",new A.mapClass__closure0,null),r.get$$prototype(t).get=A.allowInteropCaptureThisNamed("get",new A.mapClass__closure1),A.JSClassExtension_injectSuperclass(e._as(C.SassMap_Map_empty0.constructor),t),t},$signature:17},A.mapClass__closure.prototype={call$2(e,t){var r;return null==t?r=C.SassMap_Map_empty0:(r=D.Value_2,r=new A.SassMap0(A.ConstantMap_ConstantMap$from(A.immutableMapToDartMap(t).cast$2$0(0,r,r),r,r))),r},call$1(e){return this.call$2(e,null)},"call*":"call$2",$requiredArgCount:1,$defaultValues:()=>[null],$signature:526},A.mapClass__closure0.prototype={call$1:e=>A.dartMapToImmutableMap(e._map0$_contents),$signature:527},A.mapClass__closure1.prototype={call$2(e,t){var r,i,o;return"number"==typeof t?((r=C.JSNumber_methods.floor$0(t))<0&&(r=(i=e._map0$_contents).get$length(i)+r),(i=!(r>=0)||r>=(i=e._map0$_contents).get$length(i))?n.undefined:(i=D.Value_2,o=A.MapExtensions_get_pairs0(e._map0$_contents,i,i).elementAt$1(0,r),A.SassList$0(A._setArrayType([o._0,o._1],D.JSArray_Value_2),C.ListSeparator_SrV0,!1))):null==(i=e._map0$_contents.$index(0,t))?n.undefined:i},$signature:528},A._NodeSassMap.prototype={},A.legacyMapClass_closure.prototype={call$3(e,t,r){var n,i,o,s;null==r?(t.toString,n=D.Value_2,i=A.Iterable_Iterable$generate(t,new A.legacyMapClass__closure,n),o=A.Iterable_Iterable$generate(t,new A.legacyMapClass__closure0,n),s=A.LinkedHashMap_LinkedHashMap(null,null,null,n,n),A.MapBase__fillMapWithIterables(s,i,o),n=new A.SassMap0(A.ConstantMap_ConstantMap$from(s,n,n))):n=r,w.set$dartValue$x(e,n)},call$2(e,t){return this.call$3(e,t,null)},"call*":"call$3",$requiredArgCount:2,$defaultValues:()=>[null],$signature:529},A.legacyMapClass__closure.prototype={call$1:e=>A.SassNumber_SassNumber0(e,null),$signature:530},A.legacyMapClass__closure0.prototype={call$1:e=>C.C__SassNull0,$signature:251},A.legacyMapClass_closure0.prototype={call$2(e,t){var r=w.get$dartValue$x(e)._map0$_contents;return r=r.get$keys(r),A.wrapValue(r.elementAt$1(r,t))},$signature:252},A.legacyMapClass_closure1.prototype={call$2(e,t){var r=w.get$dartValue$x(e)._map0$_contents;return r=r.get$values(r),A.wrapValue(r.elementAt$1(r,t))},$signature:252},A.legacyMapClass_closure2.prototype={call$1(e){var t=w.get$dartValue$x(e)._map0$_contents;return t.get$length(t)},$signature:532},A.legacyMapClass_closure3.prototype={call$3(e,t,r){var n,i,o,s,a,l,c,u,d=w.getInterceptor$x(e),h=d.get$dartValue(e)._map0$_contents,p=h.get$length(h);for(A.IndexError_check(t,p,h,null,"index"),n=A.unwrapValue(r),i=D.Value_2,o=A.LinkedHashMap_LinkedHashMap$_empty(i,i),s=(s=A.MapExtensions_get_pairs0(d.get$dartValue(e)._map0$_contents,i,i)).get$iterator(s),a=0;s.moveNext$0();){if(c=(l=s.get$current(s))._0,u=l._1,a===t)o.$indexSet(0,n,u);else{if(n.$eq(0,c))throw A.wrapException(A.ArgumentError$value(r,"key","is already in the map"));o.$indexSet(0,c,u)}++a}d.set$dartValue(e,new A.SassMap0(A.ConstantMap_ConstantMap$from(o,i,i)))},"call*":"call$3",$requiredArgCount:3,$signature:253},A.legacyMapClass_closure4.prototype={call$3(e,t,r){var n,i,o=w.getInterceptor$x(e),s=o.get$dartValue(e)._map0$_contents;n=(s=s.get$keys(s)).elementAt$1(s,t),s=D.Value_2,(i=A.LinkedHashMap_LinkedHashMap$of(o.get$dartValue(e)._map0$_contents,s,s)).$indexSet(0,n,A.unwrapValue(r)),o.set$dartValue(e,new A.SassMap0(A.ConstantMap_ConstantMap$from(i,s,s)))},"call*":"call$3",$requiredArgCount:3,$signature:253},A.SassMap0.prototype={get$separator(e){var t=this._map0$_contents;return t.get$isEmpty(t)?C.ListSeparator_undecided_null_3_undecided0:C.ListSeparator_z0K0},get$asList(){var e,t,r,n,i=D.JSArray_Value_2,o=A._setArrayType([],i);for(e=D.Value_2,t=(t=A.MapExtensions_get_pairs0(this._map0$_contents,e,e)).get$iterator(t);t.moveNext$0();)r=t.get$current(t),(n=A.List_List$from(A._setArrayType([r._0,r._1],i),!1,e)).$flags=3,o.push(new A.SassList0(n,C.ListSeparator_SrV0,!1));return o},get$lengthAsList(){var e=this._map0$_contents;return e.get$length(e)},accept$1$1(e){return e.visitMap$1(this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},assertMap$1(e){return this},tryMap$0(){return this},$eq(e,t){var r;return null!=t&&(r=!!(t instanceof A.SassMap0&&C.C_MapEquality.equals$2(0,t._map0$_contents,this._map0$_contents))||(r=this._map0$_contents).get$isEmpty(r)&&t instanceof A.SassList0&&0===t._list1$_contents.length)},get$hashCode(e){var t=this._map0$_contents;return t.get$isEmpty(t)?C.C_ListEquality0.hash$1(C.List_empty23):C.C_MapEquality.hash$1(t)}},A.global_closure43.prototype={call$1(e){var t,r=w.$index$asx(e,0).assertNumber$1("number");return r.hasUnit$1("%")?A.warnForDeprecation0(P.Passinp+r.toString$0(0)+")\nTo emit a CSS abs() now: abs(#{"+r.toString$0(0)+P.x7dx29_Mor,C.Deprecation_w3M):A.warnForDeprecation0(P.Globalm,C.Deprecation_SGB),t=r.get$numeratorUnits(r),A.SassNumber_SassNumber$withUnits0(Math.abs(r._number1$_value),r.get$denominatorUnits(r),t)},$signature:25},A.module_closure26.prototype={call$1:e=>Math.abs(e),$signature:12},A._ceil_closure0.prototype={call$1:e=>C.JSNumber_methods.ceil$0(e),$signature:12},A._clamp_closure0.prototype={call$1(e){var t=w.getInterceptor$asx(e),r=t.$index(e,0).assertNumber$1("min"),n=t.$index(e,1).assertNumber$1("number"),i=t.$index(e,2).assertNumber$1("max");return n.convertValueToMatch$3(r,"number","min"),i.convertValueToMatch$3(r,"max","min"),r.greaterThanOrEquals$1(i).value||r.greaterThanOrEquals$1(n).value?r:n.greaterThanOrEquals$1(i).value?i:n},$signature:25},A._floor_closure0.prototype={call$1:e=>C.JSNumber_methods.floor$0(e),$signature:12},A._max_closure0.prototype={call$1(e){var t,r,n,i,o;for(r=(t=w.$index$asx(e,0).get$asList()).length,n=null,i=0;i<t.length;t.length===r||(0,A.throwConcurrentModificationError)(t),++i)o=t[i].assertNumber$0(),(null==n||n.lessThan$1(o).value)&&(n=o);if(null!=n)return n;throw A.wrapException(A.SassScriptException$0("At least one argument must be passed.",null))},$signature:25},A._min_closure0.prototype={call$1(e){var t,r,n,i,o;for(r=(t=w.$index$asx(e,0).get$asList()).length,n=null,i=0;i<t.length;t.length===r||(0,A.throwConcurrentModificationError)(t),++i)o=t[i].assertNumber$0(),(null==n||n.greaterThan$1(o).value)&&(n=o);if(null!=n)return n;throw A.wrapException(A.SassScriptException$0("At least one argument must be passed.",null))},$signature:25},A._round_closure0.prototype={call$1:e=>C.JSNumber_methods.round$0(e),$signature:12},A._hypot_closure0.prototype={call$1(e){var t,r,n,i,o=w.$index$asx(e,0).get$asList(),s=A._arrayInstanceType(o)._eval$1("MappedListIterable<1,SassNumber0>"),a=A.List_List$_of(new A.MappedListIterable(o,new A._hypot__closure0,s),s._eval$1("ListIterable.E"));if(0===a.length)throw A.wrapException(A.SassScriptException$0("At least one argument must be passed.",null));for(t=0,r=0;r<a.length;r=n)n=r+1,t+=Math.pow(a[r].convertValueToMatch$3(a[0],"numbers["+n+"]","numbers[1]"),2);return o=Math.sqrt(t),s=(s=a[0]).get$numeratorUnits(s),i=a[0],A.SassNumber_SassNumber$withUnits0(o,i.get$denominatorUnits(i),s)},$signature:25},A._hypot__closure0.prototype={call$1:e=>e.assertNumber$0(),$signature:534},A._log_closure0.prototype={call$1(e){var t,r=" to have no units.",n=null,i=w.getInterceptor$asx(e),o=i.$index(e,0).assertNumber$1("number");if(o.get$hasUnits())throw A.wrapException(A.SassScriptException$0("$number: Expected "+o.toString$0(0)+r,n));if(i.$index(e,1).$eq(0,C.C__SassNull0))return A.SassNumber_SassNumber0(Math.log(o._number1$_value),n);if((t=i.$index(e,1).assertNumber$1("base")).get$hasUnits())throw A.wrapException(A.SassScriptException$0("$base: Expected "+t.toString$0(0)+r,n));return A.SassNumber_SassNumber0(Math.log(o._number1$_value)/Math.log(t._number1$_value),n)},$signature:25},A._pow_closure0.prototype={call$1(e){var t=w.getInterceptor$asx(e);return A.pow1(t.$index(e,0).assertNumber$1("base"),t.$index(e,1).assertNumber$1("exponent"))},$signature:25},A._atan2_closure0.prototype={call$1(e){var t=w.getInterceptor$asx(e),r=t.$index(e,0).assertNumber$1("y");return A.SassNumber_SassNumber$withUnits0(57.29577951308232*Math.atan2(r._number1$_value,t.$index(e,1).assertNumber$1("x").convertValueToMatch$3(r,"x","y")),null,A._setArrayType(["deg"],D.JSArray_String))},$signature:25},A._compatible_closure0.prototype={call$1(e){var t=w.getInterceptor$asx(e);return t.$index(e,0).assertNumber$1("number1").isComparableTo$1(t.$index(e,1).assertNumber$1("number2"))?C.SassBoolean_true0:C.SassBoolean_false0},$signature:13},A._isUnitless_closure0.prototype={call$1:e=>w.$index$asx(e,0).assertNumber$1("number").get$hasUnits()?C.SassBoolean_false0:C.SassBoolean_true0,$signature:13},A._unit_closure0.prototype={call$1:e=>new A.SassString0(w.$index$asx(e,0).assertNumber$1("number").get$unitString(),!0),$signature:18},A._percentage_closure0.prototype={call$1(e){var t=w.$index$asx(e,0).assertNumber$1("number");return t.assertNoUnits$1("number"),A.SassNumber_SassNumber0(100*t._number1$_value,"%")},$signature:25},A._randomFunction_closure0.prototype={call$1(e){var t,r,n=w.getInterceptor$asx(e);if(n.$index(e,0).$eq(0,C.C__SassNull0))return A.SassNumber_SassNumber0(I.$get$_random2().nextDouble$0(),null);if((t=n.$index(e,0).assertNumber$1("limit")).get$hasUnits()&&A.warnForDeprecation0(P.math_r+t.toString$0(0)+P.x29x20in_a+t.get$unitString()+")) * 1"+t.get$unitString()+P.x0a_To_p+t.get$unitString()+P.x29x29__Mo,C.Deprecation_PHd),(r=t.assertInt$1("limit"))<1)throw A.wrapException(A.SassScriptException$0("$limit: Must be greater than 0, was "+t.toString$0(0)+".",null));return A.SassNumber_SassNumber0(I.$get$_random2().nextInt$1(r)+1,null)},$signature:25},A._div_closure0.prototype={call$1(e){var t=w.getInterceptor$asx(e),r=t.$index(e,0),n=t.$index(e,1);return r instanceof A.SassNumber0&&n instanceof A.SassNumber0||A.warn0(P.math_d),r.dividedBy$1(n)},$signature:3},A._singleArgumentMathFunc_closure0.prototype={call$1(e){return this.mathFunc.call$1(w.$index$asx(e,0).assertNumber$1("number"))},$signature:25},A._numberFunction_closure0.prototype={call$1(e){var t=w.$index$asx(e,0).assertNumber$1("number"),r=this.transform.call$1(t._number1$_value),n=t.get$numeratorUnits(t);return A.SassNumber_SassNumber$withUnits0(r,t.get$denominatorUnits(t),n)},$signature:25},A.CssMediaQuery0.prototype={merge$1(e){var t,r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y=this,$=null,x="all";if(!y.conjunction||!e.conjunction)return C._SingletonCssMediaQueryMergeResult_10;if(r=null==(t=y.modifier)?$:t.toLowerCase(),o=(i=null==(n=y.type))?$:n.toLowerCase(),a=null==(s=e.modifier)?$:s.toLowerCase(),u=(c=null==(l=e.type))?$:l.toLowerCase(),(d=null==o)&&null==u)return t=A.List_List$_of(y.conditions,D.String),C.JSArray_methods.addAll$1(t,e.conditions),new A.MediaQuerySuccessfulMergeResult0(A.CssMediaQuery$condition0(t,!0));if((h="not"===r)!==("not"===a)){if(o==u)return p=h?y.conditions:e.conditions,C.JSArray_methods.every$1(p,C.JSArray_methods.get$contains(h?e.conditions:y.conditions))?C._SingletonCssMediaQueryMergeResult_00:C._SingletonCssMediaQueryMergeResult_10;if(i||A.equalsIgnoreCase0(n,x)||c||A.equalsIgnoreCase0(l,x))return C._SingletonCssMediaQueryMergeResult_10;h?(m=e.conditions,_=u,g=a):(m=y.conditions,_=o,g=r)}else if(h){if(o!=u)return C._SingletonCssMediaQueryMergeResult_10;if(f=y.conditions,v=e.conditions,b=(i=f.length>v.length)?f:v,i&&(f=v),!C.JSArray_methods.every$1(f,C.JSArray_methods.get$contains(b)))return C._SingletonCssMediaQueryMergeResult_10;m=b,_=o,g=r}else if(i||A.equalsIgnoreCase0(n,x))_=(c||A.equalsIgnoreCase0(l,x))&&d?$:u,i=A.List_List$_of(y.conditions,D.String),C.JSArray_methods.addAll$1(i,e.conditions),m=i,g=a;else{if(c||A.equalsIgnoreCase0(l,x))i=A.List_List$_of(y.conditions,D.String),C.JSArray_methods.addAll$1(i,e.conditions),m=i,g=r;else{if(o!=u)return C._SingletonCssMediaQueryMergeResult_00;g=null==r?a:r,i=A.List_List$_of(y.conditions,D.String),C.JSArray_methods.addAll$1(i,e.conditions),m=i}_=o}return n=_==o?n:l,new A.MediaQuerySuccessfulMergeResult0(A.CssMediaQuery$type0(n,m,g==r?t:s))},$eq(e,t){return null!=t&&(t instanceof A.CssMediaQuery0&&t.modifier==this.modifier&&t.type==this.type&&C.C_ListEquality.equals$2(0,t.conditions,this.conditions))},get$hashCode(e){return w.get$hashCode$(this.modifier)^w.get$hashCode$(this.type)^C.C_ListEquality0.hash$1(this.conditions)},toString$0(e){var t,r=this,n=r.modifier;return n=null!=n?n+" ":"",null!=(t=r.type)&&(n+=t,0!==r.conditions.length&&(n+=" and ")),t=r.conjunction?" and ":" or ",(t=n+C.JSArray_methods.join$1(r.conditions,t)).charCodeAt(0),t}},A._SingletonCssMediaQueryMergeResult0.prototype={_enumToString$0(){return"_SingletonCssMediaQueryMergeResult."+this._name}},A.MediaQuerySuccessfulMergeResult0.prototype={toString$0(e){return this.query.toString$0(0)}},A.MediaQueryParser0.prototype={parse$0(e){return this.wrapSpanFormatException$1(new A.MediaQueryParser_parse_closure0(this))},_media_query$_mediaQuery$0(){var e,t,r,n,i,o,s,a=this,l=null,c="and";if(40===a.scanner.peekChar$0())return e=A._setArrayType([a._media_query$_mediaInParens$0()],D.JSArray_String),a.whitespace$1$consumeNewlines(!0),a.scanIdentifier$1(c)?(a.expectWhitespace$0(),C.JSArray_methods.addAll$1(e,a._media_query$_mediaLogicSequence$1(c)),t=!0):((r=a.scanIdentifier$1("or"))&&(a.expectWhitespace$0(),C.JSArray_methods.addAll$1(e,a._media_query$_mediaLogicSequence$1("or"))),t=!r),A.CssMediaQuery$condition0(e,t);if(n=a.identifier$0(),A.equalsIgnoreCase0(n,"not")&&(a.expectWhitespace$0(),!a.lookingAtIdentifier$0()))return A.CssMediaQuery$condition0(A._setArrayType(["(not "+a._media_query$_mediaInParens$0()+")"],D.JSArray_String),l);if(a.whitespace$1$consumeNewlines(!0),!a.lookingAtIdentifier$0())return A.CssMediaQuery$type0(n,l,l);if(i=a.identifier$0(),A.equalsIgnoreCase0(i,c))a.expectWhitespace$0(),o=n,s=l;else{if(a.whitespace$1$consumeNewlines(!0),!a.scanIdentifier$1(c))return A.CssMediaQuery$type0(i,l,n);a.expectWhitespace$0(),o=i,s=n}return a.scanIdentifier$1("not")?(a.expectWhitespace$0(),A.CssMediaQuery$type0(o,A._setArrayType(["(not "+a._media_query$_mediaInParens$0()+")"],D.JSArray_String),s)):A.CssMediaQuery$type0(o,a._media_query$_mediaLogicSequence$1(c),s)},_media_query$_mediaLogicSequence$1(e){var t,r,n=this,i=A._setArrayType([],D.JSArray_String);for(t=n.scanner;;){if(t.expectChar$2$name(40,"media condition in parentheses"),r=n.declarationValue$0(),t.expectChar$1(41),i.push("("+r+")"),n.whitespace$1$consumeNewlines(!0),!n.scanIdentifier$1(e))return i;n.expectWhitespace$0()}},_media_query$_mediaInParens$0(){var e,t=this.scanner;return t.expectChar$2$name(40,"media condition in parentheses"),e=this.declarationValue$0(),t.expectChar$1(41),"("+e+")"}},A.MediaQueryParser_parse_closure0.prototype={call$0(){var e=A._setArrayType([],D.JSArray_CssMediaQuery_2),t=this.$this,r=t.scanner;do{t.whitespace$1$consumeNewlines(!0),e.push(t._media_query$_mediaQuery$0()),t.whitespace$1$consumeNewlines(!0)}while(r.scanChar$1(44));return r.expectDone$0(),e},$signature:535},A.ModifiableCssMediaRule0.prototype={accept$1$1(e){return e.visitCssMediaRule$1(this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},equalsIgnoringChildren$1(e){return e instanceof A.ModifiableCssMediaRule0&&C.C_ListEquality.equals$2(0,this.queries,e.queries)},copyWithoutChildren$0(){return A.ModifiableCssMediaRule$0(this.queries,this.span)},get$span(e){return this.span}},A.MediaRule0.prototype={accept$1$1(e){return e.visitMediaRule$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return"@media "+this.query.toString$0(0)+" {"+C.JSArray_methods.join$1(this.children," ")+"}"},get$span(e){return this.span}},A.MergedExtension0.prototype={unmerge$0(){return new A._SyncStarIterable(this.unmerge$body$MergedExtension0(),D._SyncStarIterable_Extension_2)},unmerge$body$MergedExtension0(){var e=this;return function(){var t,r,n=0,i=[];return function(o,s,a){for(1===s&&(i.push(a),n=1);;)switch(n){case 0:r=e.left,n=r instanceof A.MergedExtension0?2:4;break;case 2:return n=5,o._yieldStar$1(r.unmerge$0());case 5:n=3;break;case 4:return n=6,o._async$_current=r,1;case 6:case 3:t=e.right,n=t instanceof A.MergedExtension0?7:9;break;case 7:return n=10,o._yieldStar$1(t.unmerge$0());case 10:n=8;break;case 9:return n=11,o._async$_current=t,1;case 11:case 8:return 0;case 1:return o._datum=i.at(-1),3}}}}},A.MergedMapView0.prototype={get$keys(e){var t=this._merged_map_view$_mapsByKey;return new A.LinkedHashMapKeysIterable(t,A._instanceType(t)._eval$1("LinkedHashMapKeysIterable<1>"))},get$length(e){return this._merged_map_view$_mapsByKey.__js_helper$_length},get$isEmpty(e){return 0===this._merged_map_view$_mapsByKey.__js_helper$_length},get$isNotEmpty(e){return 0!==this._merged_map_view$_mapsByKey.__js_helper$_length},MergedMapView$10(e,t,r){var n,i,o,s,a,l;for(n=e.length,i=this._merged_map_view$_mapsByKey,o=0;o<e.length;e.length===n||(0,A.throwConcurrentModificationError)(e),++o)if((s=e[o])instanceof A.MergedMapView0)for(a=s._merged_map_view$_mapsByKey,a=new A.LinkedHashMapValueIterator(a,a._modifications,a._first);a.moveNext$0();)l=a.__js_helper$_current,A.setAll0(i,l.get$keys(l),l);else A.setAll0(i,s.get$keys(s),s)},$index(e,t){var r=this._merged_map_view$_mapsByKey.$index(0,this.$ti._precomputed1._as(t));return null==r?null:r.$index(0,t)},$indexSet(e,t,r){var n=this._merged_map_view$_mapsByKey.$index(0,t);if(null==n)throw A.wrapException(A.UnsupportedError$(P.New_en));n.$indexSet(0,t,r)},remove$1(e,t){throw A.wrapException(A.UnsupportedError$(P.Entrie))},containsKey$1(e){return this._merged_map_view$_mapsByKey.containsKey$1(e)}},A._shared_closure3.prototype={call$1:e=>(A.warnForDeprecation0(P.The_fe,C.Deprecation_p2t),I._features0.contains$1(0,w.$index$asx(e,0).assertString$1("feature")._string0$_text)?C.SassBoolean_true0:C.SassBoolean_false0),$signature:13},A._shared_closure4.prototype={call$1:e=>new A.SassString0(A.serializeValue0(w.get$first$ax(e),!0,!0),!1),$signature:18},A._shared_closure5.prototype={call$1(e){var t=w.getInterceptor$asx(e),r=t.$index(e,0);return t=r instanceof A.SassArgumentList0?"arglist":r instanceof A.SassBoolean0?"bool":r instanceof A.SassColor0?"color":r instanceof A.SassList0?"list":r instanceof A.SassMap0?"map":C.C__SassNull0!==r?r instanceof A.SassNumber0?"number":r instanceof A.SassFunction0?"function":r instanceof A.SassMixin0?"mixin":r instanceof A.SassCalculation0?"calculation":r instanceof A.SassString0?"string":A.throwExpression("[BUG] Unknown value type "+t.$index(e,0).toString$0(0)):"null",new A.SassString0(t,!1)},$signature:18},A._shared_closure6.prototype={call$1(e){var t,r,n,i=w.getInterceptor$asx(e),o=i.$index(e,0);if(o instanceof A.SassArgumentList0){for(o._argument_list$_wereKeywordsAccessed=!0,i=D.Value_2,t=A.LinkedHashMap_LinkedHashMap$_empty(i,i),r=(r=A.MapExtensions_get_pairs0(o._argument_list$_keywords,D.String,i)).get$iterator(r);r.moveNext$0();)n=r.get$current(r),t.$indexSet(0,new A.SassString0(n._0,!1),n._1);return new A.SassMap0(A.ConstantMap_ConstantMap$from(t,i,i))}throw A.wrapException("$args: "+i.$index(e,0).toString$0(0)+" is not an argument list.")},$signature:34},A.moduleFunctions_closure2.prototype={call$1:e=>new A.SassString0(w.$index$asx(e,0).assertCalculation$1("calc").name,!0),$signature:18},A.moduleFunctions_closure3.prototype={call$1(e){var t=w.$index$asx(e,0).assertCalculation$1("calc").$arguments;return A.SassList$0(new A.MappedListIterable(t,new A.moduleFunctions__closure0,A._arrayInstanceType(t)._eval$1("MappedListIterable<1,Value0>")),C.ListSeparator_z0K0,!1)},$signature:27},A.moduleFunctions__closure0.prototype={call$1:e=>e instanceof A.Value0?e:new A.SassString0(w.toString$0$(e),!1),$signature:536},A.moduleFunctions_closure4.prototype={call$1(e){var t,r,n,i,o,s=null,a=w.$index$asx(e,0).assertMixin$1("mixin"),l=a.callable;return r=s,(t=D.AsyncBuiltInCallable_2._is(l))&&(r=l.get$acceptsContent()),t?n=!0:((t=l instanceof A.BuiltInCallable0)&&(r=l.acceptsContent),n=t),n?n=r:(o=s,(n=!!(i=l instanceof A.UserDefinedCallable0)&&(n=o=l.declaration)instanceof A.MixinRule0)?(n=i?o:l.declaration,n=D.MixinRule_2._as(n).get$hasContent()):n=A.throwExpression(A.UnsupportedError$("Unknown callable type "+a.toString$0(0)+"."))),n?C.SassBoolean_true0:C.SassBoolean_false0},$signature:13},A.mixinClass_closure.prototype={call$0(){var e=D.JSClass,t=e._as(A.allowInteropCaptureThisNamed("sass.SassMixin",new A.mixinClass__closure));return A.JSClassExtension_injectSuperclass(e._as(new A.SassMixin0(A.BuiltInCallable$function0("f","",new A.mixinClass__closure0,null),null).constructor),t),t},$signature:17},A.mixinClass__closure.prototype={call$1(e){A.jsThrow(new n.Error("It is not possible to construct a SassMixin through the JavaScript API"))},$signature:537},A.mixinClass__closure0.prototype={call$1:e=>C.C__SassNull0,$signature:3},A.SassMixin0.prototype={accept$1$1(e){var t,r;return e._serialize0$_inspect||A.throwExpression(A.SassScriptException$0(this.toString$0(0)+" isn't a valid CSS value.",null)),(t=e._serialize0$_buffer).write$1(0,"get-mixin("),r=this.callable,e._serialize0$_visitQuotedString$1(r.get$name(r)),t.writeCharCode$1(41),null},accept$1(e){return this.accept$1$1(e,D.dynamic)},assertMixin$1(e){return this},assertCompileContext$1(e){var t=this._mixin0$_compileContext;if(t=null!=t&&t!==e)throw A.wrapException(A.SassScriptException$0(this.toString$0(0)+" does not belong to current compilation.",null));return this},$eq(e,t){return null!=t&&(t instanceof A.SassMixin0&&this.callable.$eq(0,t.callable))},get$hashCode(e){var t=this.callable;return t.get$hashCode(t)}},A.MixinRule0.prototype={get$hasContent(){var e,t=this,r=t._mixin_rule$__MixinRule_hasContent_FI;return r===I&&(e=w.$eq$(C.C__HasContentVisitor0.visitChildren$1(t.children),!0),t._mixin_rule$__MixinRule_hasContent_FI!==I&&A.throwUnnamedLateFieldADI(),t._mixin_rule$__MixinRule_hasContent_FI=e,r=e),r},accept$1$1(e){return e.visitMixinRule$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){var t="@mixin "+this.name,r=this.parameters;return 0===r.parameters.length&&null==r.restParameter||(t+="("+r.toString$0(0)+")"),(t+=" {"+C.JSArray_methods.join$1(this.children," ")+"}").charCodeAt(0),t}},A._HasContentVisitor0.prototype={visitContentRule$1:(e,t)=>!0,$isStatementVisitor:1},A.__HasContentVisitor_Object_StatementSearchVisitor0.prototype={},A.ExtendMode0.prototype={_enumToString$0(){return"ExtendMode."+this._name},toString$0(e){return this.name}},A.JSModule0.prototype={},A.JSModuleRequire0.prototype={},A.MultiSpan0.prototype={get$start(e){var t=this._multi_span0$_primary;return t.get$start(t)},get$end(e){var t=this._multi_span0$_primary;return t.get$end(t)},get$text(){return this._multi_span0$_primary.get$text()},get$context(e){var t=this._multi_span0$_primary;return t.get$context(t)},get$file(e){var t=this._multi_span0$_primary;return t.get$file(t)},get$length(e){var t=this._multi_span0$_primary;return t.get$length(t)},get$sourceUrl(e){var t=this._multi_span0$_primary;return t.get$sourceUrl(t)},compareTo$1(e,t){return this._multi_span0$_primary.compareTo$1(0,t)},toString$0(e){return this._multi_span0$_primary.toString$0(0)},expand$1(e,t){return new A.MultiSpan0(this._multi_span0$_primary.expand$1(0,t),this.primaryLabel,this.secondarySpans)},highlight$1$color(e){return A.Highlighter$multiple(this._multi_span0$_primary,this.primaryLabel,this.secondarySpans,!0===e,null,null).highlight$0()},message$2$color(e,t,r){var n=w.$eq$(r,!0)||"string"==typeof r,i="string"==typeof r?r:null;return A.SourceSpanExtension_messageMultiple(this._multi_span0$_primary,t,this.primaryLabel,this.secondarySpans,n,i,null)},message$1(e,t){return this.message$2$color(0,t,null)},$isComparable:1,$isFileSpan:1,$isSourceSpan:1,$isSourceSpanWithContext:1},A.SupportsNegation0.prototype={toInterpolation$0(){var e=new A.StringBuffer(""),t=new A.InterpolationBuffer0(e,A._setArrayType([],D.JSArray_Object),A._setArrayType([],D.JSArray_nullable_FileSpan)),r=this.span,n=this.condition,i=A.SpanExtensions_before(r,n.get$span(n));return i=A.String_String$fromCharCodes(C.NativeUint32List_methods.sublist$2(i.file._decodedChars,i._file$_start,i._end),0,null),e._contents+=i,t.addInterpolation$1(n.toInterpolation$0()),n=A.SpanExtensions_after(r,n.get$span(n)),n=A.String_String$fromCharCodes(C.NativeUint32List_methods.sublist$2(n.file._decodedChars,n._file$_start,n._end),0,null),e._contents+=n,t.interpolation$1(r)},withSpan$1(e){return new A.SupportsNegation0(this.condition,e)},toString$0(e){var t=this.condition;return t instanceof A.SupportsNegation0||t instanceof A.SupportsOperation0?"not ("+t.toString$0(0)+")":"not "+t.toString$0(0)},$isAstNode0:1,$isSassNode:1,$isSupportsCondition:1,get$span(e){return this.span}},A.NoOpImporter0.prototype={canonicalize$1:(e,t)=>null,load$1:(e,t)=>null,toString$0:e=>"(unknown)"},A.NoSourceMapBuffer0.prototype={get$length(e){return this._no_source_map_buffer0$_buffer._contents.length},forSpan$1$2:(e,t)=>t.call$0(),forSpan$2(e,t){return this.forSpan$1$2(e,t,D.dynamic)},write$1(e,t){var r=this._no_source_map_buffer0$_buffer,n=A.S(t);return r._contents+=n,null},writeCharCode$1(e){var t=this._no_source_map_buffer0$_buffer,r=A.Primitives_stringFromCharCode(e);return t._contents+=r,null},toString$0(e){var t=this._no_source_map_buffer0$_buffer._contents;return t.charCodeAt(0),t},buildSourceMap$1$prefix:e=>A.throwExpression(A.UnsupportedError$(P.NoSour))},A._FakeAstNode0.prototype={get$span(e){return this._node0$_callback.call$0()},$isAstNode0:1},A.CssNode0.prototype={toString$0(e){var t=null;return A.serialize0(this,!0,t,!0,t,t,!1,t,!0)._0},$isAstNode0:1},A.CssParentNode0.prototype={},A._IsInvisibleVisitor1.prototype={visitCssAtRule$1:e=>!1,visitCssComment$1(e){return this.includeComments&&33!==e.text.charCodeAt(2)},visitCssStyleRule$1(e){var t=e._style_rule0$_selector._box0$_inner;return(this.includeBogus?t.value.accept$1(C._IsInvisibleVisitor_true0):t.value.accept$1(C._IsInvisibleVisitor_false0))||this.super$EveryCssVisitor$visitCssStyleRule0(e)}},A.__IsInvisibleVisitor_Object_EveryCssVisitor0.prototype={},A.ModifiableCssNode0.prototype={get$hasFollowingSibling(){var e,t=this._node$_parent;return null==t?t=null:(t=t.children,(e=this._node$_indexInParent).toString,t=A.SubListIterable$(t,e+1,null,t.$ti._eval$1("ListBase.E")).any$1(0,new A.ModifiableCssNode_hasFollowingSibling_closure0)),!0===t},get$isGroupEnd(){return this.isGroupEnd}},A.ModifiableCssNode_hasFollowingSibling_closure0.prototype={call$1:e=>!e.accept$1(C._IsInvisibleVisitor_true_false0),$signature:538},A.ModifiableCssParentNode0.prototype={get$isChildless:()=>!1,addChild$1(e){var t;e._node$_parent=this,t=this._node$_children,e._node$_indexInParent=t.length,t.push(e)},clearChildren$0(){var e,t,r,n;for(t=(e=this._node$_children).length,r=0;r<t;++r)(n=e[r])._node$_indexInParent=n._node$_parent=null;C.JSArray_methods.clear$0(e)},$isCssParentNode0:1,get$children(e){return this.children}},A.NodePackageImporter0.prototype={isNonCanonicalScheme$1:e=>"pkg"===e,canonicalize$1(e,t){var r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y=this,$=null;if("file"===t.get$scheme())return I.$get$FilesystemImporter_cwd0().canonicalize$1(0,t);if("pkg"!==t.get$scheme())return $;if(t.get$hasAuthority())throw A.wrapException(P.A_pkg_h);if((l=(a=I.$get$url()).style).rootLength$1(t.get$path(t))>0)throw A.wrapException("A pkg: URL's path must not begin with /.");if(0===t.get$path(t).length)throw A.wrapException("A pkg: URL must not have an empty path.");if(t.get$hasQuery()||t.get$hasFragment())throw A.wrapException(P.A_pkg_q);if((c=A.canonicalizeContext0())._canonicalize_context$_wasContainingUrlAccessed=!0,"file"===(null==(c=c._canonicalize_context$_containingUrl)?$:c.get$scheme())?((c=A.canonicalizeContext0())._canonicalize_context$_wasContainingUrlAccessed=!0,(c=c._canonicalize_context$_containingUrl).toString,d=(u=I.$get$context()).dirname$1(u.style.pathFromUri$1(A._parseUri(c)))):((c=y._node_package$__NodePackageImporter__entryPointDirectory_F)===I&&A.throwUnnamedLateFieldNI(),d=c),null,h=a.split$1(0,t.get$path(t)),c=C.JSArray_methods.removeAt$1(h,0),m=(p=(u=I.$get$context()).style).pathFromUri$1(A._parseUri(c)),C.JSString_methods.startsWith$1(m,"@")&&(m=0!==h.length?a.join$2(0,m,C.JSArray_methods.removeAt$1(h,0)):m),_=0!==h.length?p.pathFromUri$1(A._parseUri(a.joinAll$1(h))):$,r=m,a=!0,w.startsWith$1$s(r,".")||w.contains$1$asx(r,"\\")||w.contains$1$asx(r,"%")||(a=w.startsWith$1$s(r,"@")&&!w.contains$1$asx(r,l.get$separator(l))),a)return $;if(null==(g=y._node_package$_resolvePackageRoot$2(r,d)))return $;n=A.join(g,"package.json",$),i=A.readFile0(n),o=null;try{o=D.Map_String_dynamic._as(C.C_JsonCodec.decode$1(i))}catch(e){throw s=A.unwrapException(e),a=A.S(n),l=A.S(r),c=A.S(s),A.wrapException("Failed to parse "+a+' for "pkg:'+l+'": '+c)}if(null!=(f=y._node_package$_resolvePackageExports$4(g,_,o,r))){if(C.Set_FTDN4.contains$1(0,A.ParsedPath_ParsedPath$parse(f,p)._splitExtension$1(1)[1]))return u.toUri$1(u.canonicalize$1(0,f));throw a=null==_?"root":_,A.wrapException("The export for '"+a+"' in '"+A.S(r)+"' resolved to '"+f+P.x27x2c_whi)}return null==_?null!=(v=y._node_package$_resolvePackageRootValues$2(g,o))?u.toUri$1(u.canonicalize$1(0,v)):$:(b=A.join(g,_,$),I.$get$FilesystemImporter_cwd0().canonicalize$1(0,u.toUri$1(b)))},load$1:(e,t)=>I.$get$FilesystemImporter_cwd0().load$1(0,t),_node_package$_resolvePackageRoot$2(e,t){for(var r,n;;){if(r=A.join(t,"node_modules",e),A.dirExists0(r))return r;if(1===(n=I.$get$context()).split$1(0,t).length)return null;t=n.dirname$1(t)}},_node_package$_resolvePackageRootValues$2(e,t){var r,n,i,o,s=null,a=t.$index(0,"sass");return"string"==typeof a?(r=C.Set_FTDN4.contains$1(0,A.ParsedPath_ParsedPath$parse(a,I.$get$url().style)._splitExtension$1(1)[1]),n=a):(n=s,r=!1),r?A.join(e,n,s):("string"==typeof(i=t.$index(0,"style"))?(r=C.Set_FTDN4.contains$1(0,A.ParsedPath_ParsedPath$parse(i,I.$get$url().style)._splitExtension$1(1)[1]),o=i):(o=s,r=!1),r?A.join(e,o,s):A.resolveImportPath0(A.join(e,"index",s)))},_node_package$_resolvePackageExports$4(e,t,r,n){var i,o,s=this,a=r.$index(0,"exports");return null==a?null:null!=(i=s._node_package$_nodePackageExportsResolve$5(e,s._node_package$_exportsToCheck$1(t),a,t,n))?i:null!=t&&0!==A.ParsedPath_ParsedPath$parse(t,I.$get$url().style)._splitExtension$1(1)[1].length?null:null!=(o=s._node_package$_nodePackageExportsResolve$5(e,s._node_package$_exportsToCheck$2$addIndex(t,!0),a,t,n))?o:null},_node_package$_nodePackageExportsResolve$5(e,t,r,n,i){var o,s,a,l=!1;if(D.Map_String_dynamic._is(r)&&(o=r.get$keys(r)).any$1(o,new A.NodePackageImporter__nodePackageExportsResolve_closure3)&&(l=(l=r.get$keys(r)).any$1(l,new A.NodePackageImporter__nodePackageExportsResolve_closure4)),l)throw l=r.get$keys(r),A.wrapException("`exports` in "+i+P.x20can_n+l.map$1$1(l,new A.NodePackageImporter__nodePackageExportsResolve_closure5,D.String).join$1(0,",")+" in "+A.join(e,"package.json",null)+".");return l=D.NonNullsIterable_String,l=A.LinkedHashSet_LinkedHashSet$of(new A.NonNullsIterable(new A.MappedListIterable(t,new A.NodePackageImporter__nodePackageExportsResolve_closure6(this,r,e),A._arrayInstanceType(t)._eval$1("MappedListIterable<1,String?>")),l),l._eval$1("Iterable.E")),1!==(a=(s=A.List_List$_of(l,A._instanceType(l)._precomputed1)).length)?a<=0?l=null:(l=null==n?"root":n,l=A.throwExpression(P.Unable+l+" in "+i+" should be used. \n\nFound:\n"+C.JSArray_methods.join$1(s,"\n"))):l=s[0],l},_node_package$_compareExpansionKeys$2(e,t){var r=C.JSString_methods.contains$1(e,"*"),n=r?C.JSString_methods.indexOf$1(e,"*")+1:e.length,i=C.JSString_methods.contains$1(t,"*"),o=i?C.JSString_methods.indexOf$1(t,"*")+1:t.length;return n>o?-1:o>n?1:r?i?(r=e.length)>(i=t.length)?-1:i>r?1:0:-1:1},_node_package$_packageTargetResolve$4(e,t,r,n){var i,o,s,a,l,c,u,d,h,p=null,m="string"==typeof t;if(m?(i=!C.JSString_methods.startsWith$1(t,"./"),o=t):(o=p,i=!1),i)throw A.wrapException("Export '"+A.S(o)+P.x27x20must+r+"'.");if(m?(i=null!=n,o=t):(o=p,i=!1),i)return m=w.replaceFirst$2$s(o,"*",n),s=(i=I.$get$context()).normalize$1(A.join(r,i.style.pathFromUri$1(A._parseUri(m)),p)),A.fileExists0(s)?s:p;if(o=m?t:p,m)return m=I.$get$context(),o.toString,A.join(r,m.style.pathFromUri$1(A._parseUri(o)),p);if(a=(m=D.Map_String_dynamic._is(t))?t:p,m){for(m=(m=A.MapExtensions_get_pairs(a,D.String,D.dynamic)).get$iterator(m);m.moveNext$0();)if(l=(i=m.get$current(m))._0,c=i._1,C.Set_8229z.contains$1(0,l)&&null!=c&&null!=(u=this._node_package$_packageTargetResolve$4(e,c,r,n)))return u;return p}if((m=D.List_dynamic._is(t))&&w.get$length$asx(t)<=0)return p;if(d=m?t:p,m){for(m=w.get$iterator$ax(d);m.moveNext$0();)if(null!=(c=m.get$current(m))&&null!=(h=this._node_package$_packageTargetResolve$4(e,c,r,n)))return h;return p}throw A.wrapException("Invalid 'exports' value "+A.S(t)+" in "+A.join(r,"package.json",p)+".")},_node_package$_packageTargetResolve$3(e,t,r){return this._node_package$_packageTargetResolve$4(e,t,r,null)},_node_package$_getMainExport$1(e){var t,r,n,i,o;return t=null,"string"!=typeof e?D.List_String._is(e)?t=e:((r=D.Map_String_dynamic._is(e))?(n=!(n=e.get$keys(e)).any$1(n,new A.NodePackageImporter__getMainExport_closure0),i=e):(i=t,n=!1),n?t=i:(n=!1,r?(null!=(o=e.$index(0,"."))||e.containsKey$1("."))&&(n=null!=o):o=null,n&&(t=r?o:e.$index(0,".")))):t=e,t},_node_package$_exportsToCheck$2$addIndex(e,t){var r,n,i,o,s,a,l=D.JSArray_String,c=A._setArrayType([],l),u=null==e;if(u&&t?e="index":!u&&t&&(e=A.join(e,"index",null)),null==e)return A._setArrayType([null],D.JSArray_nullable_String);if(C.Set_FTDN4.contains$1(0,A.ParsedPath_ParsedPath$parse(e,I.$get$url().style)._splitExtension$1(1)[1])?c.push(e):C.JSArray_methods.addAll$1(c,A._setArrayType([e,e+".scss",e+".sass",e+".css"],l)),u=(l=I.$get$context()).style,r=A.ParsedPath_ParsedPath$parse(e,u).get$basename(),n=l.dirname$1(e),C.JSString_methods.startsWith$1(r,"_"))return c;for(l=A.List_List$_of(c,D.nullable_String),i=c.length,o="."===n,s=0;s<c.length;c.length===i||(0,A.throwConcurrentModificationError)(c),++s)a=c[s],o?l.push("_"+A.ParsedPath_ParsedPath$parse(a,u).get$basename()):l.push(A.join(n,"_"+A.ParsedPath_ParsedPath$parse(a,u).get$basename(),null));return l},_node_package$_exportsToCheck$1(e){return this._node_package$_exportsToCheck$2$addIndex(e,!1)}},A.NodePackageImporter__nodePackageExportsResolve_closure3.prototype={call$1:e=>C.JSString_methods.startsWith$1(e,"."),$signature:4},A.NodePackageImporter__nodePackageExportsResolve_closure4.prototype={call$1:e=>!C.JSString_methods.startsWith$1(e,"."),$signature:4},A.NodePackageImporter__nodePackageExportsResolve_closure5.prototype={call$1:e=>'"'+e+'"',$signature:6},A.NodePackageImporter__nodePackageExportsResolve_closure6.prototype={call$1(e){var t,r,n,i,o,s,a,l,c,u,d,h,p,m=this,_=null;if(null==e)return t=m.$this,A.NullableExtension_andThen(t._node_package$_getMainExport$1(m.exports),new A.NodePackageImporter__nodePackageExportsResolve__closure1(t,e,m.packageRoot));if(t=m.exports,r=!D.Map_String_dynamic._is(t)||(r=t.get$keys(t)).every$1(r,new A.NodePackageImporter__nodePackageExportsResolve__closure2))return _;if(n="./"+I.$get$context().toUri$1(e).toString$0(0),t.containsKey$1(n)&&null!=t.$index(0,n)&&!C.JSString_methods.contains$1(n,"*"))return null==(t=t.$index(0,n))&&(t=A._asObject(t)),m.$this._node_package$_packageTargetResolve$3(n,t,m.packageRoot);for(r=A._setArrayType([],D.JSArray_String),i=(i=t.get$keys(t)).get$iterator(i);i.moveNext$0();)o=i.get$current(i),1===C.JSString_methods.allMatches$1("*",o).get$length(0)&&r.push(o);for(i=m.$this,C.JSArray_methods.sort$1(r,i.get$_node_package$_compareExpansionKeys()),o=r.length,s=n.length,a=0;a<r.length;r.length===o||(0,A.throwConcurrentModificationError)(r),++a){if((u=2===(c=(l=r[a]).split("*")).length)?(d=c[0],h=c[1]):d=h=_,!u)throw A.wrapException(A.StateError$("Pattern matching error"));if(C.JSString_methods.startsWith$1(n,d)&&(n!==d&&(0===(u=h.length)||C.JSString_methods.endsWith$1(n,h)&&s>=l.length))){if(null==(p=t.$index(0,l)))continue;return i._node_package$_packageTargetResolve$4(e,p,m.packageRoot,C.JSString_methods.substring$2(n,d.length,s-u))}}return _},$signature:146},A.NodePackageImporter__nodePackageExportsResolve__closure1.prototype={call$1(e){return this.$this._node_package$_packageTargetResolve$3(this.variant,e,this.packageRoot)},$signature:147},A.NodePackageImporter__nodePackageExportsResolve__closure2.prototype={call$1:e=>!C.JSString_methods.startsWith$1(e,"."),$signature:4},A.NodePackageImporter__getMainExport_closure0.prototype={call$1:e=>C.JSString_methods.startsWith$1(e,"."),$signature:4},A.NullExpression0.prototype={accept$1$1(e){return e.visitNullExpression$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0:e=>"null",get$span(e){return this.span}},A.legacyNullClass_closure.prototype={call$0(){var e=D.JSClass,t=e._as(A.allowInteropCaptureThisNamed("sass.types.Null",new A.legacyNullClass__closure));return t.NULL=C.C__SassNull0,A.JSClassExtension_injectSuperclass(e._as(C.C__SassNull0.constructor),t),t},$signature:17},A.legacyNullClass__closure.prototype={call$2(e,t){throw A.wrapException("new sass.types.Null() isn't allowed. Use sass.types.Null.NULL instead.")},call$1(e){return this.call$2(e,null)},"call*":"call$2",$requiredArgCount:1,$defaultValues:()=>[null],$signature:224},A._SassNull0.prototype={get$isTruthy:()=>!1,get$isBlank:()=>!0,get$realNull:()=>null,accept$1$1:e=>(e._serialize0$_inspect&&e._serialize0$_buffer.write$1(0,"null"),null),accept$1(e){return this.accept$1$1(e,D.dynamic)},unaryNot$0:()=>C.SassBoolean_true0},A.NumberExpression0.prototype={accept$1$1(e){return e.visitNumberExpression$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return A.serializeValue0(A.SassNumber_SassNumber0(this.value,this.unit),!0,!0)},get$span(e){return this.span}},A.numberClass_closure.prototype={call$0(){var e=D.JSClass,t=e._as(A.allowInteropCaptureThisNamed("sass.SassNumber",new A.numberClass__closure)),r=D.String,i=D.Function;return A.LinkedHashMap_LinkedHashMap$_literal(["value",new A.numberClass__closure0,"isInt",new A.numberClass__closure1,"asInt",new A.numberClass__closure2,"numeratorUnits",new A.numberClass__closure3,"denominatorUnits",new A.numberClass__closure4,"hasUnits",new A.numberClass__closure5],r,i).forEach$1(0,A.JSClassExtension_get_defineGetter(t)),A.LinkedHashMap_LinkedHashMap$_literal(["assertInt",new A.numberClass__closure6,"assertInRange",new A.numberClass__closure7,"assertNoUnits",new A.numberClass__closure8,"assertUnit",new A.numberClass__closure9,"hasUnit",new A.numberClass__closure10,"compatibleWithUnit",new A.numberClass__closure11,"convert",new A.numberClass__closure12,"convertToMatch",new A.numberClass__closure13,"convertValue",new A.numberClass__closure14,"convertValueToMatch",new A.numberClass__closure15,"coerce",new A.numberClass__closure16,"coerceToMatch",new A.numberClass__closure17,"coerceValue",new A.numberClass__closure18,"coerceValueToMatch",new A.numberClass__closure19],r,i).forEach$1(0,A.JSClassExtension_get_defineMethod(t)),A.JSClassExtension_injectSuperclass(e._as(n.Object.getPrototypeOf(w.get$$prototype$x(e._as(A.SassNumber_SassNumber0(0,null).constructor))).constructor),t),t},$signature:17},A.numberClass__closure.prototype={call$3(e,t,r){var n,i,o=null;return"string"==typeof r?A.SassNumber_SassNumber0(t,r):(D.nullable__ConstructorOptions_2._as(r),i=(n=null==r)||null==(i=A.NullableExtension_andThen0(w.get$numeratorUnits$x(r),A.immutable__jsToDartList$closure()))?o:w.cast$1$0$ax(i,D.String),n=n||null==(n=A.NullableExtension_andThen0(w.get$denominatorUnits$x(r),A.immutable__jsToDartList$closure()))?o:w.cast$1$0$ax(n,D.String),A.SassNumber_SassNumber$withUnits0(t,n,i))},call$2(e,t){return this.call$3(e,t,null)},"call*":"call$3",$requiredArgCount:2,$defaultValues:()=>[null],$signature:539},A.numberClass__closure0.prototype={call$1:e=>e._number1$_value,$signature:100},A.numberClass__closure1.prototype={call$1:e=>A.fuzzyIsInt0(e._number1$_value),$signature:254},A.numberClass__closure2.prototype={call$1:e=>A.fuzzyAsInt0(e._number1$_value),$signature:541},A.numberClass__closure3.prototype={call$1:e=>new n.immutable.List(e.get$numeratorUnits(e)),$signature:255},A.numberClass__closure4.prototype={call$1:e=>new n.immutable.List(e.get$denominatorUnits(e)),$signature:255},A.numberClass__closure5.prototype={call$1:e=>e.get$hasUnits(),$signature:254},A.numberClass__closure6.prototype={call$2:(e,t)=>e.assertInt$1(t),call$1(e){return this.call$2(e,null)},"call*":"call$2",$requiredArgCount:1,$defaultValues:()=>[null],$signature:543},A.numberClass__closure7.prototype={call$4:(e,t,r,n)=>e.valueInRange$3(t,r,n),call$3(e,t,r){return this.call$4(e,t,r,null)},"call*":"call$4",$requiredArgCount:3,$defaultValues:()=>[null],$signature:544},A.numberClass__closure8.prototype={call$2:(e,t)=>(e.assertNoUnits$1(t),e),call$1(e){return this.call$2(e,null)},"call*":"call$2",$requiredArgCount:1,$defaultValues:()=>[null],$signature:545},A.numberClass__closure9.prototype={call$3:(e,t,r)=>(e.assertUnit$2(t,r),e),call$2(e,t){return this.call$3(e,t,null)},"call*":"call$3",$requiredArgCount:2,$defaultValues:()=>[null],$signature:546},A.numberClass__closure10.prototype={call$2:(e,t)=>e.hasUnit$1(t),$signature:256},A.numberClass__closure11.prototype={call$2:(e,t)=>e.get$hasUnits()&&e.compatibleWithUnit$1(t),$signature:256},A.numberClass__closure12.prototype={call$4(e,t,r,i){var o=n.immutable.isOrderedMap(t)?w.toArray$0$x(D.ImmutableList._as(t)):D.List_dynamic._as(t),s=D.String;return o=w.cast$1$0$ax(o,s),s=w.cast$1$0$ax(n.immutable.isOrderedMap(r)?w.toArray$0$x(D.ImmutableList._as(r)):D.List_dynamic._as(r),s),A.SassNumber_SassNumber$withUnits0(e._number1$_coerceOrConvertValue$4$coerceUnitless$name(o,s,!1,i),s,o)},call$3(e,t,r){return this.call$4(e,t,r,null)},"call*":"call$4",$requiredArgCount:3,$defaultValues:()=>[null],$signature:257},A.numberClass__closure13.prototype={call$4:(e,t,r,n)=>e.convertToMatch$3(t,r,n),call$2(e,t){return this.call$4(e,t,null,null)},call$3(e,t,r){return this.call$4(e,t,r,null)},"call*":"call$4",$requiredArgCount:2,$defaultValues:()=>[null,null],$signature:258},A.numberClass__closure14.prototype={call$4(e,t,r,i){var o=n.immutable.isOrderedMap(t)?w.toArray$0$x(D.ImmutableList._as(t)):D.List_dynamic._as(t),s=D.String;return o=w.cast$1$0$ax(o,s),e._number1$_coerceOrConvertValue$4$coerceUnitless$name(o,w.cast$1$0$ax(n.immutable.isOrderedMap(r)?w.toArray$0$x(D.ImmutableList._as(r)):D.List_dynamic._as(r),s),!1,i)},call$3(e,t,r){return this.call$4(e,t,r,null)},"call*":"call$4",$requiredArgCount:3,$defaultValues:()=>[null],$signature:259},A.numberClass__closure15.prototype={call$4:(e,t,r,n)=>e.convertValueToMatch$3(t,r,n),call$2(e,t){return this.call$4(e,t,null,null)},call$3(e,t,r){return this.call$4(e,t,r,null)},"call*":"call$4",$requiredArgCount:2,$defaultValues:()=>[null,null],$signature:260},A.numberClass__closure16.prototype={call$4(e,t,r,i){var o=n.immutable.isOrderedMap(t)?w.toArray$0$x(D.ImmutableList._as(t)):D.List_dynamic._as(t),s=D.String;return o=w.cast$1$0$ax(o,s),e.coerce$3(o,w.cast$1$0$ax(n.immutable.isOrderedMap(r)?w.toArray$0$x(D.ImmutableList._as(r)):D.List_dynamic._as(r),s),i)},call$3(e,t,r){return this.call$4(e,t,r,null)},"call*":"call$4",$requiredArgCount:3,$defaultValues:()=>[null],$signature:257},A.numberClass__closure17.prototype={call$4:(e,t,r,n)=>e.coerceToMatch$3(t,r,n),call$2(e,t){return this.call$4(e,t,null,null)},call$3(e,t,r){return this.call$4(e,t,r,null)},"call*":"call$4",$requiredArgCount:2,$defaultValues:()=>[null,null],$signature:258},A.numberClass__closure18.prototype={call$4(e,t,r,i){var o=n.immutable.isOrderedMap(t)?w.toArray$0$x(D.ImmutableList._as(t)):D.List_dynamic._as(t),s=D.String;return o=w.cast$1$0$ax(o,s),e.coerceValue$3(o,w.cast$1$0$ax(n.immutable.isOrderedMap(r)?w.toArray$0$x(D.ImmutableList._as(r)):D.List_dynamic._as(r),s),i)},call$3(e,t,r){return this.call$4(e,t,r,null)},"call*":"call$4",$requiredArgCount:3,$defaultValues:()=>[null],$signature:259},A.numberClass__closure19.prototype={call$4:(e,t,r,n)=>e.coerceValueToMatch$3(t,r,n),call$2(e,t){return this.call$4(e,t,null,null)},call$3(e,t,r){return this.call$4(e,t,r,null)},"call*":"call$4",$requiredArgCount:2,$defaultValues:()=>[null,null],$signature:260},A._ConstructorOptions0.prototype={},A._NodeSassNumber.prototype={},A.legacyNumberClass_closure.prototype={call$4(e,t,r,n){var i;null==n?(t.toString,i=A._parseNumber(t,r)):i=n,w.set$dartValue$x(e,i)},call$2(e,t){return this.call$4(e,t,null,null)},call$3(e,t,r){return this.call$4(e,t,r,null)},"call*":"call$4",$requiredArgCount:2,$defaultValues:()=>[null,null],$signature:552},A.legacyNumberClass_closure0.prototype={call$1:e=>w.get$dartValue$x(e)._number1$_value,$signature:553},A.legacyNumberClass_closure1.prototype={call$2(e,t){var r=w.getInterceptor$x(e),n=w.get$numeratorUnits$x(r.get$dartValue(e));r.set$dartValue(e,A.SassNumber_SassNumber$withUnits0(t,w.get$denominatorUnits$x(r.get$dartValue(e)),n))},$signature:554},A.legacyNumberClass_closure2.prototype={call$1(e){var t=w.getInterceptor$x(e);return C.JSArray_methods.join$1(w.get$numeratorUnits$x(t.get$dartValue(e)),"*")+(0===w.get$denominatorUnits$x(t.get$dartValue(e)).length?"":"/")+C.JSArray_methods.join$1(w.get$denominatorUnits$x(t.get$dartValue(e)),"*")},$signature:555},A.legacyNumberClass_closure3.prototype={call$2(e,t){var r=w.getInterceptor$x(e);r.set$dartValue(e,A._parseNumber(r.get$dartValue(e)._number1$_value,t))},$signature:556},A._parseNumber_closure.prototype={call$1:e=>0===e.length,$signature:4},A._parseNumber_closure0.prototype={call$1:e=>0===e.length,$signature:4},A.SassNumber0.prototype={get$unitString(){var e=this;return e.get$hasUnits()?e._number1$_unitString$2(e.get$numeratorUnits(e),e.get$denominatorUnits(e)):""},accept$1$1(e){return e.visitNumber$1(this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},withoutSlash$0(){var e=this;return null==e.asSlash?e:e.withValue$1(e._number1$_value)},assertNumber$1(e){return this},assertNumber$0(){return this.assertNumber$1(null)},assertInt$1(e){var t=A.fuzzyAsInt0(this._number1$_value);if(null!=t)return t;throw A.wrapException(A.SassScriptException$0(this.toString$0(0)+" is not an int.",e))},assertInt$0(){return this.assertInt$1(null)},valueInRange$3(e,t,r){var n=this,i=A.fuzzyCheckRange0(n._number1$_value,e,t);if(null!=i)return i;throw A.wrapException(A.SassScriptException$0("Expected "+n.toString$0(0)+" to be within "+A.S(e)+n.get$unitString()+" and "+A.S(t)+n.get$unitString()+".",r))},valueInRangeWithUnit$4(e,t,r,n){var i=A.fuzzyCheckRange0(this._number1$_value,e,t);if(null!=i)return i;throw A.wrapException(A.SassScriptException$0("Expected "+this.toString$0(0)+" to be within "+e+n+" and "+t+n+".",r))},hasCompatibleUnits$1(e){var t=this;return t.get$numeratorUnits(t).length===e.get$numeratorUnits(e).length&&(t.get$denominatorUnits(t).length===e.get$denominatorUnits(e).length&&t.isComparableTo$1(e))},assertUnit$2(e,t){if(!this.hasUnit$1(e))throw A.wrapException(A.SassScriptException$0("Expected "+this.toString$0(0)+' to have unit "'+e+'".',t))},assertNoUnits$1(e){if(this.get$hasUnits())throw A.wrapException(A.SassScriptException$0("Expected "+this.toString$0(0)+" to have no units.",e))},assertNoUnits$0(){return this.assertNoUnits$1(null)},convertToMatch$3(e,t,r){var n=this.convertValueToMatch$3(e,t,r),i=e.get$numeratorUnits(e);return A.SassNumber_SassNumber$withUnits0(n,e.get$denominatorUnits(e),i)},convertValueToMatch$3(e,t,r){return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(e.get$numeratorUnits(e),e.get$denominatorUnits(e),!1,t,e,r)},convertValueToMatch$1(e){return this.convertValueToMatch$3(e,null,null)},coerce$3(e,t,r){return A.SassNumber_SassNumber$withUnits0(this.coerceValue$3(e,t,r),t,e)},coerce$2(e,t){return this.coerce$3(e,t,null)},coerceValue$3(e,t,r){return this._number1$_coerceOrConvertValue$4$coerceUnitless$name(e,t,!0,r)},coerceValueToUnit$2(e,t){var r=D.JSArray_String;return this.coerceValue$3(A._setArrayType([e],r),A._setArrayType([],r),t)},coerceValueToUnit$1(e){return this.coerceValueToUnit$2(e,null)},coerceToMatch$3(e,t,r){var n=this.coerceValueToMatch$3(e,t,r),i=e.get$numeratorUnits(e);return A.SassNumber_SassNumber$withUnits0(n,e.get$denominatorUnits(e),i)},coerceValueToMatch$3(e,t,r){return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(e.get$numeratorUnits(e),e.get$denominatorUnits(e),!0,t,e,r)},coerceValueToMatch$1(e){return this.coerceValueToMatch$3(e,null,null)},_number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(e,t,r,n,i,o){var s,a,l,c,u,d,h=this,p={};if(C.C_ListEquality.equals$2(0,h.get$numeratorUnits(h),e)&&C.C_ListEquality.equals$2(0,h.get$denominatorUnits(h),t))return h._number1$_value;if(a=(s=w.getInterceptor$asx(e)).get$isNotEmpty(e)||w.get$isNotEmpty$asx(t),l=!!r&&(!h.get$hasUnits()||!a))return h._number1$_value;for(c=new A.SassNumber__coerceOrConvertValue_compatibilityException0(h,i,o,a,n,e,t),p.value=h._number1$_value,l=h.get$numeratorUnits(h),u=A._setArrayType(l.slice(0),A._arrayInstanceType(l)),s=s.get$iterator(e);s.moveNext$0();)A.removeFirstWhere0(u,new A.SassNumber__coerceOrConvertValue_closure3(p,s.get$current(s)),new A.SassNumber__coerceOrConvertValue_closure4(c));for(s=h.get$denominatorUnits(h),d=A._setArrayType(s.slice(0),A._arrayInstanceType(s)),s=w.get$iterator$ax(t);s.moveNext$0();)A.removeFirstWhere0(d,new A.SassNumber__coerceOrConvertValue_closure5(p,s.get$current(s)),new A.SassNumber__coerceOrConvertValue_closure6(c));if(0!==u.length||0!==d.length)throw A.wrapException(c.call$0());return p.value},_number1$_coerceOrConvertValue$4$coerceUnitless$name(e,t,r,n){return this._number1$_coerceOrConvertValue$6$coerceUnitless$name$other$otherName(e,t,r,n,null,null)},isComparableTo$1(e){if(!this.get$hasUnits()||!e.get$hasUnits())return!0;try{return this.greaterThan$1(e),!0}catch(e){if(A.unwrapException(e)instanceof A.SassScriptException0)return!1;throw e}},greaterThan$1(e){if(e instanceof A.SassNumber0)return this._number1$_coerceUnits$2(e,A.number2__fuzzyGreaterThan$closure())?C.SassBoolean_true0:C.SassBoolean_false0;throw A.wrapException(A.SassScriptException$0('Undefined operation "'+this.toString$0(0)+" > "+e.toString$0(0)+'".',null))},greaterThanOrEquals$1(e){if(e instanceof A.SassNumber0)return this._number1$_coerceUnits$2(e,A.number2__fuzzyGreaterThanOrEquals$closure())?C.SassBoolean_true0:C.SassBoolean_false0;throw A.wrapException(A.SassScriptException$0('Undefined operation "'+this.toString$0(0)+" >= "+e.toString$0(0)+'".',null))},lessThan$1(e){if(e instanceof A.SassNumber0)return this._number1$_coerceUnits$2(e,A.number2__fuzzyLessThan$closure())?C.SassBoolean_true0:C.SassBoolean_false0;throw A.wrapException(A.SassScriptException$0('Undefined operation "'+this.toString$0(0)+" < "+e.toString$0(0)+'".',null))},lessThanOrEquals$1(e){if(e instanceof A.SassNumber0)return this._number1$_coerceUnits$2(e,A.number2__fuzzyLessThanOrEquals$closure())?C.SassBoolean_true0:C.SassBoolean_false0;throw A.wrapException(A.SassScriptException$0('Undefined operation "'+this.toString$0(0)+" <= "+e.toString$0(0)+'".',null))},modulo$1(e){if(e instanceof A.SassNumber0)return this.withValue$1(this._number1$_coerceUnits$2(e,A.number2__moduloLikeSass$closure()));throw A.wrapException(A.SassScriptException$0('Undefined operation "'+this.toString$0(0)+" % "+e.toString$0(0)+'".',null))},plus$1(e){var t=this;if(e instanceof A.SassNumber0)return t.withValue$1(t._number1$_coerceUnits$2(e,new A.SassNumber_plus_closure0));if(!(e instanceof A.SassColor0))return t.super$Value$plus0(e);throw A.wrapException(A.SassScriptException$0('Undefined operation "'+t.toString$0(0)+" + "+e.toString$0(0)+'".',null))},minus$1(e){var t=this;if(e instanceof A.SassNumber0)return t.withValue$1(t._number1$_coerceUnits$2(e,new A.SassNumber_minus_closure0));if(!(e instanceof A.SassColor0))return t.super$Value$minus0(e);throw A.wrapException(A.SassScriptException$0('Undefined operation "'+t.toString$0(0)+" - "+e.toString$0(0)+'".',null))},times$1(e){var t=this;if(e instanceof A.SassNumber0)return e.get$hasUnits()?t.multiplyUnits$3(t._number1$_value*e._number1$_value,e.get$numeratorUnits(e),e.get$denominatorUnits(e)):t.withValue$1(t._number1$_value*e._number1$_value);throw A.wrapException(A.SassScriptException$0('Undefined operation "'+t.toString$0(0)+" * "+e.toString$0(0)+'".',null))},dividedBy$1(e){var t=this;return e instanceof A.SassNumber0?e.get$hasUnits()?t.multiplyUnits$3(t._number1$_value/e._number1$_value,e.get$denominatorUnits(e),e.get$numeratorUnits(e)):t.withValue$1(t._number1$_value/e._number1$_value):t.super$Value$dividedBy0(e)},unaryPlus$0(){return this},_number1$_coerceUnits$1$2(e,t){try{return t.call$2(this._number1$_value,e.coerceValueToMatch$1(this))}catch(t){throw A.unwrapException(t)instanceof A.SassScriptException0?(this.coerceValueToMatch$1(e),t):t}},_number1$_coerceUnits$2(e,t){return this._number1$_coerceUnits$1$2(e,t,D.dynamic)},multiplyUnits$3(e,t,r){var n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y,$,x,S,w,E,I,M,k,T,R=this,L=null,P={};if(P.value=e,i=(n=[R.get$numeratorUnits(R),R.get$denominatorUnits(R),t,r])[0],L,L,a=L,l=!1,c=L,u=!1,d=!1,h=n[1],(p=o=(s=n[2]).length<=0)&&(d=a=(c=n[3]).length<=0,l=!0,u=!0),m=h,_=!d,g=L,f=L,v=!1,d=!0,_?(p=g=i.length<=0)?((p=f=h.length<=0)?(u?m=c:(m=c=n[3],u=!0),b=s):(b=i,d=!1),v=!0):(b=i,d=!1):b=i,d?(y=m,p=b):p=y=L,d?(d=y,n=p,p=!0):(d=L,$=L,(_?g:g=i.length<=0)?(l?d=a:(u?d=c:(d=c=n[3],u=!0),d=a=d.length<=0),x=s,S=h):(x=d,d=false,S=$),d?n=!0:(d=!1,($=v?f:f=h.length<=0)&&o?(S=u?c:n[3],n=!0):n=d,x=i),n?((n=!R._number1$_areAnyConvertible$2(x,S))?(p=S,d=x):(d=p,p=y),w=p,p=n,n=d,d=w):(d=y,n=p,p=!1)),p)return A.SassNumber_SassNumber$withUnits0(e,d,n);for(E=A._setArrayType([],D.JSArray_String),I=A._setArrayType(r.slice(0),A._arrayInstanceType(r)),d=(n=R.get$numeratorUnits(R)).length,M=0;M<d;++M)k=n[M],A.removeFirstWhere0(I,new A.SassNumber_multiplyUnits_closure3(P,k),new A.SassNumber_multiplyUnits_closure4(E,k));for(n=R.get$denominatorUnits(R),T=A._setArrayType(n.slice(0),A._arrayInstanceType(n)),n=t.length,M=0;M<n;++M)k=t[M],A.removeFirstWhere0(T,new A.SassNumber_multiplyUnits_closure5(P,k),new A.SassNumber_multiplyUnits_closure6(E,k));return n=P.value,C.JSArray_methods.addAll$1(T,I),A.SassNumber_SassNumber$withUnits0(n,T,E)},_number1$_areAnyConvertible$2:(e,t)=>C.JSArray_methods.any$1(e,new A.SassNumber__areAnyConvertible_closure0(t)),_number1$_unitString$2(e,t){var r,n,i,o,s,a,l=null;return i=l,o=l,(n=(r=w.getInterceptor$asx(e)).get$length(e)<=0)?(s=(s=i=w.get$length$asx(t))<=0,o=t):s=!1,s?r="no units":(s=!!n&&1===(s=i))?r=(a=w.$index$asx(n?o:t,0))+"^-1":n?r="("+w.join$1$ax(t,"*")+")^-1":(o=s=t,(s=(s=i=w.get$length$asx(s))<=0)?r=r.join$1(e,"*"):(s=1===(s=i))?(a=w.$index$asx(o,0),r=r.join$1(e,"*")+"/"+a):r=r.join$1(e,"*")+"/("+w.join$1$ax(t,"*")+")"),r},$eq(e,t){var r=this;return null!=t&&(t instanceof A.SassNumber0&&(r.get$numeratorUnits(r).length===t.get$numeratorUnits(t).length&&r.get$denominatorUnits(r).length===t.get$denominatorUnits(t).length&&(r.get$hasUnits()?!(!C.C_ListEquality.equals$2(0,r._number1$_canonicalizeUnitList$1(r.get$numeratorUnits(r)),r._number1$_canonicalizeUnitList$1(t.get$numeratorUnits(t)))||!C.C_ListEquality.equals$2(0,r._number1$_canonicalizeUnitList$1(r.get$denominatorUnits(r)),r._number1$_canonicalizeUnitList$1(t.get$denominatorUnits(t))))&&A.fuzzyEquals0(r._number1$_value*r._number1$_canonicalMultiplier$1(r.get$numeratorUnits(r))/r._number1$_canonicalMultiplier$1(r.get$denominatorUnits(r)),t._number1$_value*r._number1$_canonicalMultiplier$1(t.get$numeratorUnits(t))/r._number1$_canonicalMultiplier$1(t.get$denominatorUnits(t))):A.fuzzyEquals0(r._number1$_value,t._number1$_value))))},get$hashCode(e){var t=this,r=t.hashCache;return null==r?t.hashCache=A.fuzzyHashCode0(t._number1$_value*t._number1$_canonicalMultiplier$1(t.get$numeratorUnits(t))/t._number1$_canonicalMultiplier$1(t.get$denominatorUnits(t))):r},_number1$_canonicalizeUnitList$1(e){var t,r=e.length;return 0===r?e:1===r?(null==(t=I.$get$_typesByUnit0().$index(0,C.JSArray_methods.get$first(e)))?r=e:((r=C.Map_Sr65K.$index(0,t)).toString,r=A._setArrayType([C.JSArray_methods.get$first(r)],D.JSArray_String)),r):(r=A._arrayInstanceType(e)._eval$1("MappedListIterable<1,String>"),r=A.List_List$_of(new A.MappedListIterable(e,new A.SassNumber__canonicalizeUnitList_closure0,r),r._eval$1("ListIterable.E")),C.JSArray_methods.sort$0(r),r)},_number1$_canonicalMultiplier$1(e){return C.JSArray_methods.fold$2(e,1,new A.SassNumber__canonicalMultiplier_closure0(this))},canonicalMultiplierForUnit$1(e){var t,r=C.Map_NtHoP.$index(0,e);return t=null==r?1:1/(t=r.get$values(r)).get$first(t)},unitSuggestion$2(e,t){var r,n,i=this,o=i.get$denominatorUnits(i);return o=new A.MappedListIterable(o,new A.SassNumber_unitSuggestion_closure1,A._arrayInstanceType(o)._eval$1("MappedListIterable<1,String>")).join$0(0),r=i.get$numeratorUnits(i),n="$"+e+o+(r=new A.MappedListIterable(r,new A.SassNumber_unitSuggestion_closure2,A._arrayInstanceType(r)._eval$1("MappedListIterable<1,String>")).join$0(0))+(null==t?"":" * 1"+t),0===i.get$numeratorUnits(i).length?n:"calc("+n+")"},unitSuggestion$1(e){return this.unitSuggestion$2(e,null)}},A.SassNumber__coerceOrConvertValue_compatibilityException0.prototype={call$0(){var e,t,r,n,i,o,s=this,a=s.other;return null!=a?(t=(e=s.$this).toString$0(0)+" and",r=new A.StringBuffer(t),null!=(n=s.otherName)&&(t=r._contents=t+" $"+n+":"),a=t+" "+a.toString$0(0)+" have incompatible units",r._contents=a,e.get$hasUnits()&&s.otherHasUnits||(r._contents=a+" (one has units and the other doesn't)"),a=r.toString$0(0)+".",e=s.name,new A.SassScriptException0(null==e?a:"$"+e+": "+a)):s.otherHasUnits?(a=s.newNumerators,1===(e=w.getInterceptor$asx(a)).get$length(a)&&w.get$isEmpty$asx(s.newDenominators)&&null!=(i=I.$get$_typesByUnit0().$index(0,e.get$first(a)))?(a=s.$this.toString$0(0),e=C.JSArray_methods.contains$1(A._setArrayType([97,101,105,111,117],D.JSArray_int),i.charCodeAt(0))?"an "+i:"a "+i,(t=C.Map_Sr65K.$index(0,i)).toString,t="Expected "+a+" to have "+e+" unit ("+C.JSArray_methods.join$1(t,", ")+").",e=s.name,new A.SassScriptException0(null==e?t:"$"+e+": "+t)):(t=s.newDenominators,o=A.pluralize0("unit",e.get$length(a)+w.get$length$asx(t),null),t="Expected "+(e=s.$this).toString$0(0)+" to have "+o+" "+e._number1$_unitString$2(a,t)+".",a=s.name,new A.SassScriptException0(null==a?t:"$"+a+": "+t))):(a="Expected "+s.$this.toString$0(0)+" to have no units.",e=s.name,new A.SassScriptException0(null==e?a:"$"+e+": "+a))},$signature:557},A.SassNumber__coerceOrConvertValue_closure3.prototype={call$1(e){var t=A.conversionFactor0(this.newNumerator,e);return null!=t&&(this._box_0.value*=t,!0)},$signature:4},A.SassNumber__coerceOrConvertValue_closure4.prototype={call$0(){return A.throwExpression(this.compatibilityException.call$0())},$signature:0},A.SassNumber__coerceOrConvertValue_closure5.prototype={call$1(e){var t=A.conversionFactor0(this.newDenominator,e);return null!=t&&(this._box_0.value/=t,!0)},$signature:4},A.SassNumber__coerceOrConvertValue_closure6.prototype={call$0(){return A.throwExpression(this.compatibilityException.call$0())},$signature:0},A.SassNumber_plus_closure0.prototype={call$2:(e,t)=>e+t,$signature:57},A.SassNumber_minus_closure0.prototype={call$2:(e,t)=>e-t,$signature:57},A.SassNumber_multiplyUnits_closure3.prototype={call$1(e){var t=A.conversionFactor0(this.numerator,e);return null!=t&&(this._box_0.value/=t,!0)},$signature:4},A.SassNumber_multiplyUnits_closure4.prototype={call$0(){return this.newNumerators.push(this.numerator)},$signature:0},A.SassNumber_multiplyUnits_closure5.prototype={call$1(e){var t=A.conversionFactor0(this.numerator,e);return null!=t&&(this._box_0.value/=t,!0)},$signature:4},A.SassNumber_multiplyUnits_closure6.prototype={call$0(){return this.newNumerators.push(this.numerator)},$signature:0},A.SassNumber__areAnyConvertible_closure0.prototype={call$1(e){var t=C.Map_NtHoP.$index(0,e);return null==t?C.JSArray_methods.contains$1(this.units2,e):C.JSArray_methods.any$1(this.units2,t.get$containsKey())},$signature:4},A.SassNumber__canonicalizeUnitList_closure0.prototype={call$1(e){var t,r=I.$get$_typesByUnit0().$index(0,e);return null==r?t=e:((t=C.Map_Sr65K.$index(0,r)).toString,t=C.JSArray_methods.get$first(t)),t},$signature:6},A.SassNumber__canonicalMultiplier_closure0.prototype={call$2(e,t){return e*this.$this.canonicalMultiplierForUnit$1(t)},$signature:165},A.SassNumber_unitSuggestion_closure1.prototype={call$1:e=>" * 1"+e,$signature:6},A.SassNumber_unitSuggestion_closure2.prototype={call$1:e=>" / 1"+e,$signature:6},A.OklabColorSpace0.prototype={get$isBoundedInternal:()=>!1,convert$7$missingChroma$missingHue(e,t,r,n,i,o,s){var a,l,c,u;return e===C.OklchColorSpace_9Gj0?A.labToLch0(e,t,r,n,i,o,s):((a=null==t)&&(t=0),(l=null==r)&&(r=0),(c=null==n)&&(n=0),u=I.$get$oklabToLms0(),C.LmsColorSpace_Os30.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(e,Math.pow(u[0]*t+u[1]*r+u[2]*n,3)+0,Math.pow(u[3]*t+u[4]*r+u[5]*n,3)+0,Math.pow(u[6]*t+u[7]*r+u[8]*n,3)+0,i,l,c,o,s,a))},convert$5(e,t,r,n,i){return this.convert$7$missingChroma$missingHue(e,t,r,n,i,!1,!1)}},A.OklchColorSpace0.prototype={get$isBoundedInternal:()=>!1,get$isPolarInternal:()=>!0,convert$5(e,t,r,n,i){var o=null==n,s=3.141592653589793*(o?0:n)/180,a=null==r,l=a?0:r,c=Math.cos(s),u=a?0:r;return C.OklabColorSpace_5400.convert$7$missingChroma$missingHue(e,t,l*c,u*Math.sin(s),i,a,o)}},A.SupportsOperation0.prototype={toInterpolation$0(){var e=new A.StringBuffer(""),t=new A.InterpolationBuffer0(e,A._setArrayType([],D.JSArray_Object),A._setArrayType([],D.JSArray_nullable_FileSpan)),r=this.span,n=this.left,i=A.SpanExtensions_before(r,n.get$span(n));return i=A.String_String$fromCharCodes(C.NativeUint32List_methods.sublist$2(i.file._decodedChars,i._file$_start,i._end),0,null),e._contents+=i,t.addInterpolation$1(n.toInterpolation$0()),i=this.right,n=A.SpanExtensions_between(n.get$span(n),i.get$span(i)),n=A.String_String$fromCharCodes(C.NativeUint32List_methods.sublist$2(n.file._decodedChars,n._file$_start,n._end),0,null),e._contents+=n,t.addInterpolation$1(i.toInterpolation$0()),i=A.SpanExtensions_after(r,i.get$span(i)),i=A.String_String$fromCharCodes(C.NativeUint32List_methods.sublist$2(i.file._decodedChars,i._file$_start,i._end),0,null),e._contents+=i,t.interpolation$1(r)},withSpan$1(e){return new A.SupportsOperation0(this.left,this.right,this.operator,e)},toString$0(e){var t=this;return t._operation$_parenthesize$1(t.left)+" "+t.operator.toString$0(0)+" "+t._operation$_parenthesize$1(t.right)},_operation$_parenthesize$1(e){return e instanceof A.SupportsNegation0||e instanceof A.SupportsOperation0&&e.operator===this.operator?"("+e.toString$0(0)+")":e.toString$0(0)},$isAstNode0:1,$isSassNode:1,$isSupportsCondition:1,get$span(e){return this.span}},A.Parameter0.prototype={toString$0(e){var t=this.defaultValue,r=this.name;return null==t?r:r+": "+t.toString$0(0)},$isAstNode0:1,$isSassNode:1,get$span(e){return this.span}},A.ParameterList0.prototype={get$spanWithName(){for(var e,t,r=this.span,n=A.String_String$fromCharCodes(C.NativeUint32List_methods.sublist$2(r.get$file(r)._decodedChars,0,null),0,null),i=r.get$start(r).offset-1;e=i>0&&(32===(e=n.charCodeAt(i))||9===e||10===e||13===e||12===e);)--i;if(!(e=!!(95===(e=n.charCodeAt(i))||A.CharacterExtension_get_isAlphabetic0(e)||e>=128)||(e>=48&&e<=57||45===e)))return r;for(--i;e=i>=0&&(!!(t=95===(e=n.charCodeAt(i))||((t=e>=97&&e<=122||e>=65&&e<=90)||e>=128))||(e>=48&&e<=57||45===e));)--i;return e=i+1,95===(t=n.charCodeAt(e))||A.CharacterExtension_get_isAlphabetic0(t)||t>=128?A.SpanExtensions_trimRight0(A.SpanExtensions_trimLeft0(r.get$file(r).span$2(0,e,r.get$end(r).offset))):r},verify$2(e,t){var r,n,i,o,s,a,l,c,u=this,d="invocation";for(n=(r=u.parameters).length,i=t._baseMap,o=0,s=0;s<n;++s)if(a=r[s],s<e){if(l=a.name,i.containsKey$1(l))throw A.wrapException(A.SassScriptException$0("Argument "+u._parameter_list$_originalParameterName$1(l)+P.x20was_p,null))}else if(l=a.name,i.containsKey$1(l))++o;else if(null==a.defaultValue)throw A.wrapException(A.MultiSpanSassScriptException$0("Missing argument "+u._parameter_list$_originalParameterName$1(l)+".",d,A.LinkedHashMap_LinkedHashMap$_literal([u.get$spanWithName(),"declaration"],D.FileSpan,D.String)));if(null==u.restParameter){if(e>n)throw r=t.get$isEmpty(0)?"":"positional ",A.wrapException(A.MultiSpanSassScriptException$0("Only "+n+" "+r+A.pluralize0("argument",n,null)+" allowed, but "+e+" "+A.pluralize0("was",e,"were")+" passed.",d,A.LinkedHashMap_LinkedHashMap$_literal([u.get$spanWithName(),"declaration"],D.FileSpan,D.String)));if(o<i.get$length(i))throw n=D.String,(c=A.LinkedHashSet_LinkedHashSet$of(t,n)).removeAll$1(new A.MappedListIterable(r,new A.ParameterList_verify_closure1,A._arrayInstanceType(r)._eval$1("MappedListIterable<1,Object?>"))),A.wrapException(A.MultiSpanSassScriptException$0("No "+A.pluralize0("parameter",c._collection$_length,null)+" named "+A.toSentence0(c.map$1$1(0,new A.ParameterList_verify_closure2,D.Object),"or")+".",d,A.LinkedHashMap_LinkedHashMap$_literal([u.get$spanWithName(),"declaration"],D.FileSpan,n)))}},_parameter_list$_originalParameterName$1(e){var t,r,n,i,o,s;if(e===this.restParameter)return t=this.span.get$text(),C.JSString_methods.substring$2(C.JSString_methods.substring$1(t,C.JSString_methods.lastIndexOf$1(t,"$")),0,C.JSString_methods.indexOf$1(t,"."));for(n=(r=this.parameters).length,i=0;i<n;++i)if((o=r[i]).name===e)return r=o.span,null==o.defaultValue?r=r.get$text():(t=r.get$text(),r=C.JSString_methods.substring$2(t,0,C.JSString_methods.indexOf$1(t,":")),r=null==(s=A._lastNonWhitespace0(r,!1))?"":C.JSString_methods.substring$2(r,0,s+1)),r;throw A.wrapException(A.ArgumentError$(P.This_d+e+'".',null))},matches$2(e,t){var r,n,i,o,s,a;for(n=(r=this.parameters).length,i=t._baseMap,o=0,s=0;s<n;++s)if(a=r[s],s<e){if(i.containsKey$1(a.name))return!1}else if(i.containsKey$1(a.name))++o;else if(null==a.defaultValue)return!1;return null!=this.restParameter||!(e>n)&&!(o<i.get$length(i))},toString$0(e){var t,r,n,i=A._setArrayType([],D.JSArray_String);for(r=(t=this.parameters).length,n=0;n<r;++n)i.push("$"+t[n].toString$0(0));return null!=(t=this.restParameter)&&i.push("$"+t+"..."),C.JSArray_methods.join$1(i,", ")},$isAstNode0:1,$isSassNode:1,get$span(e){return this.span}},A.ParameterList_verify_closure1.prototype={call$1:e=>e.name,$signature:558},A.ParameterList_verify_closure2.prototype={call$1:e=>"$"+e,$signature:6},A.InterpolatedParentSelector.prototype={accept$1$1(e){return w.visitParentSelector$1$x(e._simple_selector$_inner,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){var t=this.suffix;return null==t?"&":"&"+t.toString$0(0)},get$span(e){return this.span}},A.ParentSelector0.prototype={accept$1$1(e){return e.visitParentSelector$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},unify$1:e=>A.throwExpression(A.UnsupportedError$("& doesn't support unification."))},A.ParentStatement0.prototype={},A.ParentStatement_closure0.prototype={call$1:e=>e instanceof A.VariableDeclaration0||e instanceof A.FunctionRule0||e instanceof A.MixinRule0||e instanceof A.ImportRule0&&C.JSArray_methods.any$1(e.imports,new A.ParentStatement__closure0),$signature:248},A.ParentStatement__closure0.prototype={call$1:e=>e instanceof A.DynamicImport0,$signature:249},A.ParenthesizedExpression0.prototype={accept$1$1(e){return e.visitParenthesizedExpression$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return"("+this.expression.toString$0(0)+")"},get$span(e){return this.span}},A.ParserExports.prototype={},A.loadParserExports_closure.prototype={call$1:e=>new A.JSExpressionVisitor(e),$signature:559},A.loadParserExports_closure0.prototype={call$1:e=>new A.JSIfConditionExpressionVisitor(e),$signature:560},A.loadParserExports_closure1.prototype={call$1:e=>new A.JSStatementVisitor(e),$signature:561},A.loadParserExports_closure2.prototype={call$1:e=>new A.JSSimpleSelectorVisitor(e),$signature:562},A.loadParserExports_closure3.prototype={call$1:e=>A.SourceFile$fromString(e,null),$signature:563},A.loadParserExports_closure4.prototype={call$1(e){var t=A.List_List$_of(e,D.nullable_Object);return new n.Set(t)},$signature:564},A._updateLazyFileSpanPrototype_closure.prototype={call$0:()=>I.$get$bogusSpan0(),$signature:16},A._updateLazyFileSpanPrototype_closure0.prototype={call$1(e){var t=e.get$span(0);return t.get$file(t)},$signature:565},A._updateLazyFileSpanPrototype_closure1.prototype={call$1(e){var t=e.get$span(0);return t.get$length(t)},$signature:566},A._updateLazyFileSpanPrototype_closure2.prototype={call$1(e){var t=e.get$span(0);return t.get$sourceUrl(t)},$signature:567},A._updateAstPrototypes_closure.prototype={call$3:(e,t,r)=>A.String_String$fromCharCodes(C.NativeUint32List_methods.sublist$2(e._decodedChars,t,r),0,null),call$2(e,t){return this.call$3(e,t,null)},"call*":"call$3",$requiredArgCount:2,$defaultValues:()=>[null],$signature:568},A._updateAstPrototypes_closure0.prototype={call$3:(e,t,r)=>e.span$2(0,t,r),call$2(e,t){return this.call$3(e,t,null)},"call*":"call$3",$requiredArgCount:2,$defaultValues:()=>[null],$signature:569},A._updateAstPrototypes_closure1.prototype={call$1:e=>e._decodedChars,$signature:570},A._updateAstPrototypes_closure2.prototype={call$1:e=>e.get$asPlain(),$signature:571},A._updateAstPrototypes_closure3.prototype={call$2:(e,t)=>e.accept$1(t),$signature:572},A._updateAstPrototypes_closure4.prototype={call$2:(e,t)=>e.accept$1(t),$signature:573},A._updateAstPrototypes_closure5.prototype={call$2:(e,t)=>e.accept$1(t),$signature:574},A._updateAstPrototypes_closure6.prototype={call$2:(e,t)=>e.accept$1(t),$signature:575},A._updateAstPrototypes_closure7.prototype={call$1:e=>e.$arguments,$signature:576},A._updateAstPrototypes_closure8.prototype={call$1:e=>e.$arguments,$signature:577},A._updateAstPrototypes_closure9.prototype={call$1:e=>e.$arguments,$signature:578},A._updateAstPrototypes_closure10.prototype={call$1:e=>e.$arguments,$signature:579},A._updateAstPrototypes_closure11.prototype={call$1:e=>e.$arguments,$signature:580},A._updateAstPrototypes_closure12.prototype={call$1:e=>e.$arguments,$signature:581},A._updateAstPrototypes_closure13.prototype={call$1:e=>e.get$span(e),$signature:582},A._addSupportsConditionToInterpolation_closure.prototype={call$1:e=>e.toInterpolation$0(),$signature:583},A.Parser1.prototype={_parser1$_parseIdentifier$0(){return this.wrapSpanFormatException$1(new A.Parser__parseIdentifier_closure0(this))},whitespace$1$consumeNewlines(e){do{this.whitespaceWithoutComments$1$consumeNewlines(e)}while(this.scanComment$0())},whitespaceWithoutComments$1$consumeNewlines(e){for(var t,r=this.scanner,n=r.string.length;t=r._string_scanner$_position!==n&&(32===(t=r.peekChar$0())||9===t||10===t||13===t||12===t);)r.readChar$0()},spaces$0(){for(var e,t=this.scanner,r=t.string.length;e=t._string_scanner$_position!==r&&(32===(e=t.peekChar$0())||9===e);)t.readChar$0()},scanComment$0(){var e,t=this.scanner;return 47===t.peekChar$0()&&(47===(e=t.peekChar$1(1))?this.silentComment$0():42===e&&(this.loudComment$0(),!0))},expectWhitespace$1$consumeNewlines(e){var t,r=this.scanner;(t=r._string_scanner$_position===r.string.length||!(32===(t=r.peekChar$0())||9===t||10===t||13===t||12===t||this.scanComment$0()))&&r.error$1(0,"Expected whitespace."),this.whitespace$1$consumeNewlines(e)},expectWhitespace$0(){return this.expectWhitespace$1$consumeNewlines(!1)},silentComment$0(){var e,t,r=this.scanner;for(r.expect$1("//"),e=r.string.length;t=r._string_scanner$_position!==e&&!(10===(t=r.peekChar$0())||13===t||12===t);)r.readChar$0();return!0},loudComment$0(){var e,t=this.scanner;for(t.expect$1("/*");;)if(42===t.readChar$0()){do{e=t.readChar$0()}while(42===e);if(47===e)break}},identifier$2$normalize$unit(e,t){var r,n,i=this,o="Expected identifier.",s=new A.StringBuffer(""),a=i.scanner;if(a.scanChar$1(45)){if(r=s._contents=A.Primitives_stringFromCharCode(45),a.scanChar$1(45))return s._contents=r+r,i._parser1$_identifierBody$3$normalize$unit(s,e,t),(a=s._contents).charCodeAt(0),a}else r="";return null==(n=a.peekChar$0())&&a.error$1(0,o),95===n&&e?(a.readChar$0(),s._contents=r+A.Primitives_stringFromCharCode(45)):95===n||A.CharacterExtension_get_isAlphabetic0(n)||n>=128?s._contents=r+A.Primitives_stringFromCharCode(a.readChar$0()):92!==n?a.error$1(0,o):s._contents=r+i.escape$1$identifierStart(!0),i._parser1$_identifierBody$3$normalize$unit(s,e,t),(a=s._contents).charCodeAt(0),a},identifier$0(){return this.identifier$2$normalize$unit(!1,!1)},identifier$1$normalize(e){return this.identifier$2$normalize$unit(e,!1)},identifier$1$unit(e){return this.identifier$2$normalize$unit(!1,e)},_parser1$_identifierBody$3$normalize$unit(e,t,r){var n,i,o,s;for(n=this.scanner;null!=(i=n.peekChar$0());)if(45===i&&r){if(s=46===(o=n.peekChar$1(1))||A._isInt(o)&&o>=48&&o<=57)break;s=A.Primitives_stringFromCharCode(n.readChar$0()),e._contents+=s}else if(95===i&&t)n.readChar$0(),s=A.Primitives_stringFromCharCode(45),e._contents+=s;else if(s=!!(s=95===i||((s=i>=97&&i<=122||i>=65&&i<=90)||i>=128))||(i>=48&&i<=57||45===i))s=A.Primitives_stringFromCharCode(n.readChar$0()),e._contents+=s;else{if(92!==i)break;s=this.escape$0(),e._contents+=s}},_parser1$_identifierBody$1(e){return this._parser1$_identifierBody$3$normalize$unit(e,!1,!1)},string$0(){var e,t,r,n=this.scanner,i=n.readChar$0();for(39!==i&&34!==i&&n.error$2$position(0,"Expected string.",n._string_scanner$_position-1),e=new A.StringBuffer("");;){if((t=n.peekChar$0())===i){n.readChar$0();break}null!=t&&10!==t&&13!==t&&12!==t||n.error$1(0,"Expected "+A.Primitives_stringFromCharCode(i)+"."),92!==t?(r=A.Primitives_stringFromCharCode(n.readChar$0()),e._contents+=r):10===(r=n.peekChar$1(1))||13===r||12===r?(n.readChar$0(),n.readChar$0()):(r=A.Primitives_stringFromCharCode(A.consumeEscapedCharacter0(n)),e._contents+=r)}return(n=e._contents).charCodeAt(0),n},declarationValue$1$allowEmpty(e){var t,r,n,i,o,s,a,l,c,u,d=this,h=new A.StringBuffer(""),p=A._setArrayType([],D.JSArray_int);for(t=d.scanner,r=d.get$loudComment(),n=d.get$string(),i=!1;null!=(o=t.peekChar$0());)if(s=!1,92!==o)if(34!==o&&39!==o)if(47!==o)if(32!==o&&9!==o)if(10!==o&&13!==o&&12!==o)if(40!==o&&123!==o&&91!==o)if(41!==o&&125!==o&&93!==o)if(59!==o)117!==o&&85!==o?(d.lookingAtIdentifier$0()?(a=d.identifier$0(),h._contents+=a):(a=A.Primitives_stringFromCharCode(t.readChar$0()),h._contents+=a),i=s):(null!=(u=d.tryUrl$0())?h._contents+=u:(a=A.Primitives_stringFromCharCode(t.readChar$0()),h._contents+=a),i=s);else{if(0===p.length)break;a=A.Primitives_stringFromCharCode(t.readChar$0()),h._contents+=a}else{if(0===p.length)break;a=A.Primitives_stringFromCharCode(o),h._contents+=a,t.expectChar$1(p.pop()),i=s}else a=A.Primitives_stringFromCharCode(o),h._contents+=a,p.push(A.opposite0(t.readChar$0())),i=s;else 10!==(a=t.peekChar$1(-1))&&13!==a&&12!==a&&(h._contents+="\n"),t.readChar$0(),i=!0;else(a=!!i||!(32===(a=t.peekChar$1(1))||9===a||10===a||13===a||12===a))&&(a=A.Primitives_stringFromCharCode(32),h._contents+=a),t.readChar$0();else 42===t.peekChar$1(1)?(l=t._string_scanner$_position,r.call$0(),c=t._string_scanner$_position,h._contents+=C.JSString_methods.substring$2(t.string,l,c)):(a=A.Primitives_stringFromCharCode(t.readChar$0()),h._contents+=a),i=s;else l=t._string_scanner$_position,n.call$0(),c=t._string_scanner$_position,h._contents+=C.JSString_methods.substring$2(t.string,l,c),i=s;else a=d.escape$1$identifierStart(!0),h._contents+=a,i=s;return 0!==p.length&&t.expectChar$1(C.JSArray_methods.get$last(p)),e||0!==h._contents.length||t.error$1(0,"Expected token."),(t=h._contents).charCodeAt(0),t},declarationValue$0(){return this.declarationValue$1$allowEmpty(!1)},tryUrl$0(){var e,t,r,n=this,i=n.scanner,o=new A._SpanScannerState(i,i._string_scanner$_position);if(!n.scanIdentifier$1("url"))return null;if(!i.scanChar$1(40))return i.set$state(o),null;for(n.whitespace$1$consumeNewlines(!0),(e=new A.StringBuffer(""))._contents="url(";null!=(t=i.peekChar$0());)if(92!==t)if(r=!0,37!==t&&38!==t&&35!==t&&(r=t>=42&&t<=126||t>=128),r)r=A.Primitives_stringFromCharCode(i.readChar$0()),e._contents+=r;else{if(32!==t&&9!==t&&10!==t&&13!==t&&12!==t){if(41===t)return r=A.Primitives_stringFromCharCode(i.readChar$0()),(r=e._contents+=r).charCodeAt(0),r;break}if(n.whitespace$1$consumeNewlines(!0),41!==i.peekChar$0())break}else r=n.escape$0(),e._contents+=r;return i.set$state(o),null},variableName$0(){return this.scanner.expectChar$1(36),this.identifier$1$normalize(!0)},escape$1$identifierStart(e){var t,r,n,i,o,s="Expected escape sequence.",a=this.scanner,l=a._string_scanner$_position;if(a.expectChar$1(92),t=0,null==(r=a.peekChar$0())&&a.error$1(0,s),10!==r&&13!==r&&12!==r||a.error$1(0,s),A.CharacterExtension_get_isHex0(r)){for(n=0;n<6&&(null!=(i=a.peekChar$0())?(o=!0,i>=48&&i<=57||i>=97&&i<=102||(o=i>=65&&i<=70),o=!o):o=!0,!o);++n)t*=16,t+=A.asHex0(a.readChar$0());this.scanCharIf$1(new A.Parser_escape_closure0)}else t=a.readChar$0();if(!(o=e?95===(o=t)||A.CharacterExtension_get_isAlphabetic0(o)||o>=128:!!(95===(o=t)||A.CharacterExtension_get_isAlphabetic0(o)||o>=128)||(o>=48&&o<=57||45===o)))return a=!0,t<=31||w.$eq$(t,127)||(a=!!e&&((a=t)>=48&&a<=57)),a?(a=A.Primitives_stringFromCharCode(92),t>15&&(a+=A.Primitives_stringFromCharCode(A.hexCharFor0(C.JSNumber_methods._shrOtherPositive$1(t,4)))),(a=a+A.Primitives_stringFromCharCode(A.hexCharFor0(15&t))+A.Primitives_stringFromCharCode(32)).charCodeAt(0),a):A.String_String$fromCharCodes(A._setArrayType([92,t],D.JSArray_int),0,null);try{return o=A.Primitives_stringFromCharCode(t)}catch(e){if(!D.RangeError._is(A.unwrapException(e)))throw e;a.error$3$length$position(0,"Invalid Unicode code point.",a._string_scanner$_position-l,l)}},escape$0(){return this.escape$1$identifierStart(!1)},scanCharIf$1(e){var t=this.scanner;return!!e.call$1(t.peekChar$0())&&(t.readChar$0(),!0)},scanIdentChar$2$caseSensitive(e,t){var r,n=new A.Parser_scanIdentChar_matches0(t,e),i=this.scanner,o=i.peekChar$0();if(r=null!=o&&n.call$1(o))return i.readChar$0(),!0;if(92===o){if(r=i._string_scanner$_position,n.call$1(A.consumeEscapedCharacter0(i)))return!0;i.set$state(new A._SpanScannerState(i,r))}return!1},scanIdentChar$1(e){return this.scanIdentChar$2$caseSensitive(e,!1)},expectIdentChar$1(e){var t;this.scanIdentChar$2$caseSensitive(e,!1)||(t=this.scanner).error$2$position(0,'Expected "'+A.Primitives_stringFromCharCode(e)+'".',t._string_scanner$_position)},lookingAtIdentifier$1(e){var t,r,n;return null==e&&(e=0),r=(t=this.scanner).peekChar$1(e),!!A._isInt(r)&&(95===r||A.CharacterExtension_get_isAlphabetic0(r)||r>=128)||92===r?t=!0:45!==r?t=!1:(n=t.peekChar$1(e+1),t=(t=!!A._isInt(n)&&(95===n||A.CharacterExtension_get_isAlphabetic0(n)||n>=128))||92===n||45===n),t},lookingAtIdentifier$0(){return this.lookingAtIdentifier$1(null)},lookingAtIdentifierBody$0(){var e=this.scanner.peekChar$0();return null!=e&&(!!(95===e||A.CharacterExtension_get_isAlphabetic0(e)||e>=128)||(e>=48&&e<=57||45===e)||92===e)},scanIdentifier$2$caseSensitive(e,t){var r,n,i=this;return!!i.lookingAtIdentifier$0()&&(n=(r=i.scanner)._string_scanner$_position,!(!i._parser1$_consumeIdentifier$2(e,t)||i.lookingAtIdentifierBody$0())||(r.set$state(new A._SpanScannerState(r,n)),!1))},scanIdentifier$1(e){return this.scanIdentifier$2$caseSensitive(e,!1)},_parser1$_consumeIdentifier$2(e,t){var r,n,i;for(r=new A.CodeUnits(e),n=D.CodeUnits,r=new A.ListIterator(r,r.get$length(0),n._eval$1("ListIterator<ListBase.E>")),n=n._eval$1("ListBase.E");r.moveNext$0();)if(i=r.__internal$_current,!this.scanIdentChar$2$caseSensitive(null==i?n._as(i):i,t))return!1;return!0},expectIdentifier$2$name(e,t){var r,n,i,o,s,a,l;for(null==t&&(t='"'+e+'"'),n=(r=this.scanner)._string_scanner$_position,i=new A.CodeUnits(e),o=D.CodeUnits,i=new A.ListIterator(i,i.get$length(0),o._eval$1("ListIterator<ListBase.E>")),a=(s="Expected "+t)+".",o=o._eval$1("ListBase.E");i.moveNext$0();)l=i.__internal$_current,this.scanIdentChar$2$caseSensitive(null==l?o._as(l):l,!1)||r.error$2$position(0,a,n);this.lookingAtIdentifierBody$0()&&r.error$2$position(0,s,n)},expectIdentifier$1(e){return this.expectIdentifier$2$name(e,null)},rawText$1(e){var t=this.scanner,r=t._string_scanner$_position;return e.call$0(),t.substring$1(0,r)},spanFrom$2(e,t){var r=this.scanner.spanFrom$2(e,t);return null==this._parser1$_interpolationMap?r:new A.LazyFileSpan0(new A.Parser_spanFrom_closure0(this,r))},spanFrom$1(e){return this.spanFrom$2(e,null)},spanFromPosition$2(e,t){var r=this.scanner.spanFromPosition$2(e,t);return null==this._parser1$_interpolationMap?r:new A.LazyFileSpan0(new A.Parser_spanFromPosition_closure0(this,r))},spanFromPosition$1(e){return this.spanFromPosition$2(e,null)},error$3(e,t,r,n){var i=new A.StringScannerException(this.scanner.string,t,r);if(null==n)throw A.wrapException(i);A.throwWithTrace0(i,this.get$error(this),n)},error$2(e,t,r){return this.error$3(0,t,r,null)},withErrorMessage$1$2(e,t){var r,n,i;try{return i=t.call$0()}catch(t){if(i=A.unwrapException(t),!D.SourceSpanFormatException._is(i))throw t;r=i,n=A.getTraceFromException(t),i=w.get$span$x(r),A.throwWithTrace0(new A.SourceSpanFormatException(r.get$source(),e,i),r,n)}},withErrorMessage$2(e,t){return this.withErrorMessage$1$2(e,t,D.dynamic)},wrapSpanFormatException$1$1(e){var t,r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b=this,y="expected";try{try{return f=e.call$0()}catch(e){if(f=A.unwrapException(e),!D.SourceSpanFormatException._is(f))throw e;if(t=f,r=A.getTraceFromException(e),null==(n=b._parser1$_interpolationMap))throw e;if(i=n.mapException$1(t),v=t,null==(f=i)?null==v:f===v)throw e;A.throwWithTrace0(i,t,r)}}catch(e){if(f=A.unwrapException(e),D.MultiSourceSpanFormatException._is(f)){if(o=f,s=A.getTraceFromException(e),a=w.get$span$x(o),f=D.FileSpan,v=D.String,l=o.get$secondarySpans().cast$2$0(0,f,v),A.startsWithIgnoreCase0(o._span_exception$_message,y)){for(a=b._parser1$_adjustExceptionSpan$1(a),c=A.LinkedHashMap_LinkedHashMap$_empty(f,v),f=(f=A.MapExtensions_get_pairs0(l,f,v)).get$iterator(f);f.moveNext$0();)null,null,d=(p=u=f.get$current(f))._0,h=p._1,w.$indexSet$ax(c,b._parser1$_adjustExceptionSpan$1(d),h);l=c}A.throwWithTrace0(A.MultiSpanSassFormatException$0(o._span_exception$_message,a,o.get$primaryLabel(),l,null),o,s)}else{if(!D.SourceSpanFormatException._is(f))throw e;m=f,_=A.getTraceFromException(e),g=w.get$span$x(m),A.startsWithIgnoreCase0(m._span_exception$_message,y)&&(g=b._parser1$_adjustExceptionSpan$1(g)),c=m._span_exception$_message,u=g,A.throwWithTrace0(new A.SassFormatException0(C.Set_empty,c,u),m,_)}}},wrapSpanFormatException$1(e){return this.wrapSpanFormatException$1$1(e,D.dynamic)},_parser1$_adjustExceptionSpan$1(e){var t,r;return e.get$length(e)>0?e:((t=this._parser1$_firstNewlineBefore$1(e.get$start(e))).$eq(0,e.get$start(e))?r=e:(r=t.offset,r=A._FileSpan$(t.file,r,r)),r)},_parser1$_firstNewlineBefore$1(e){var t,r,n=e.file,i=e.offset,o=A.String_String$fromCharCodes(C.NativeUint32List_methods.sublist$2(n._decodedChars,0,i),0,null),s=i-1;for(t=null;s>=0;){if(32!==(r=o.charCodeAt(s))&&9!==r&&10!==r&&13!==r&&12!==r)return null==t?n=e:((i=new A.FileLocation(n,t)).FileLocation$_$2(n,t),n=i),n;10!==r&&13!==r&&12!==r||(t=s),--s}return e}},A.Parser__parseIdentifier_closure0.prototype={call$0(){var e=this.$this,t=e.identifier$0();return e.scanner.expectDone$0(),t},$signature:29},A.Parser_escape_closure0.prototype={call$1:e=>32===e||9===e||10===e||13===e||12===e,$signature:31},A.Parser_scanIdentChar_matches0.prototype={call$1(e){var t=this.char;return this.caseSensitive?e===t:A.characterEqualsIgnoreCase0(t,e)},$signature:50},A.Parser_spanFrom_closure0.prototype={call$0(){var e=this.$this._parser1$_interpolationMap;return null==e&&(e=D.InterpolationMap_2._as(e)),e.mapSpan$1(this.span)},$signature:16},A.Parser_spanFromPosition_closure0.prototype={call$0(){var e=this.$this._parser1$_interpolationMap;return null==e&&(e=D.InterpolationMap_2._as(e)),e.mapSpan$1(this.span)},$signature:16},A.InterpolatedPlaceholderSelector.prototype={get$span(e){var t=this.name.span;return t.get$file(t).span$2(0,t.get$start(t).offset-1,t.get$end(t).offset)},accept$1$1(e){return w.visitPlaceholderSelector$1$x(e._simple_selector$_inner,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return"%"+this.name.toString$0(0)}},A.PlaceholderSelector0.prototype={accept$1$1(e){return e.visitPlaceholderSelector$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},addSuffix$1(e){return new A.PlaceholderSelector0(this.name+e,this.span)},$eq(e,t){return null!=t&&(t instanceof A.PlaceholderSelector0&&t.name===this.name)},get$hashCode(e){return C.JSString_methods.get$hashCode(this.name)}},A.PlainCssCallable0.prototype={$eq(e,t){return null!=t&&(t instanceof A.PlainCssCallable0&&this.name===t.name)},get$hashCode(e){return C.JSString_methods.get$hashCode(this.name)},$isAsyncCallable0:1,$isCallable:1,get$name(e){return this.name}},A.PrefixedMapView0.prototype={get$keys(e){return new A._PrefixedKeys0(this)},get$length(e){var t=this._prefixed_map_view0$_map;return t.get$length(t)},get$isEmpty(e){var t=this._prefixed_map_view0$_map;return t.get$isEmpty(t)},get$isNotEmpty(e){var t=this._prefixed_map_view0$_map;return t.get$isNotEmpty(t)},$index(e,t){return"string"==typeof t&&C.JSString_methods.startsWith$1(t,this._prefixed_map_view0$_prefix)?this._prefixed_map_view0$_map.$index(0,C.JSString_methods.substring$1(t,this._prefixed_map_view0$_prefix.length)):null},containsKey$1(e){return"string"==typeof e&&C.JSString_methods.startsWith$1(e,this._prefixed_map_view0$_prefix)&&this._prefixed_map_view0$_map.containsKey$1(C.JSString_methods.substring$1(e,this._prefixed_map_view0$_prefix.length))}},A._PrefixedKeys0.prototype={get$length(e){var t=this._prefixed_map_view0$_view._prefixed_map_view0$_map;return t.get$length(t)},get$iterator(e){var t=this._prefixed_map_view0$_view._prefixed_map_view0$_map;return(t=(t=t.get$keys(t)).map$1$1(t,new A._PrefixedKeys_iterator_closure0(this),D.String)).get$iterator(t)},contains$1(e,t){return this._prefixed_map_view0$_view.containsKey$1(t)}},A._PrefixedKeys_iterator_closure0.prototype={call$1(e){return this.$this._prefixed_map_view0$_view._prefixed_map_view0$_prefix+e},$signature:6},A.ProphotoRgbColorSpace0.prototype={get$isBoundedInternal:()=>!0,toLinear$1(e){var t=Math.abs(e);return t<=.03125?e/16:w.get$sign$in(e)*Math.pow(t,1.8)},fromLinear$1(e){var t=Math.abs(e);return t>=.001953125?w.get$sign$in(e)*Math.pow(t,.5555555555555556):16*e},transformationMatrix$1(e){return C.SrgbLinearColorSpace_kUj0!==e&&C.SrgbColorSpace_thf0!==e&&C.RgbColorSpace_i0P0!==e?C.A98RgbColorSpace_lf20!==e?C.DisplayP3ColorSpace_MmT0!==e&&C.DisplayP3LinearColorSpace_PrP0!==e?C.Rec2020ColorSpace_6oo0!==e?C.XyzD65ColorSpace_WiJ0!==e?C.XyzD50ColorSpace_2OB0!==e?C.LmsColorSpace_Os30!==e?this.super$ColorSpace$transformationMatrix0(e):I.$get$linearProphotoRgbToLms0():I.$get$linearProphotoRgbToXyzD500():I.$get$linearProphotoRgbToXyzD650():I.$get$linearProphotoRgbToLinearRec20200():I.$get$linearProphotoRgbToLinearDisplayP30():I.$get$linearProphotoRgbToLinearA98Rgb0():I.$get$linearProphotoRgbToLinearSrgb0()}},A.InterpolatedPseudoSelector.prototype={accept$1$1(e){return w.visitPseudoSelector$1$x(e._simple_selector$_inner,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){var t,r,n=this,i=n.isSyntacticClass?":":"::",o=i+n.name.toString$0(0);return(t=null==(i=n.argument))&&null==n.selector||(o+="(",t||(o+=i.toString$0(0),null!=n.selector&&(o+=" ")),o=(null!=(r=n.selector)?o+C.JSArray_methods.join$1(r.components,", "):o)+")"),o},get$span(e){return this.span}},A.PseudoSelector0.prototype={get$isHostContext(){return this.isClass&&"host-context"===this.name&&null!=this.selector},get$hasComplicatedSuperselectorSemantics(){return!this.isClass||null!=this.selector},get$specificity(){var e,t=this,r=t._pseudo$__PseudoSelector_specificity_FI;return r===I&&(e=new A.PseudoSelector_specificity_closure0(t).call$0(),t._pseudo$__PseudoSelector_specificity_FI!==I&&A.throwUnnamedLateFieldADI(),t._pseudo$__PseudoSelector_specificity_FI=e,r=e),r},withSelector$1(e){var t=this;return A.PseudoSelector$0(t.name,t.span,t.argument,!t.isClass,e)},addSuffix$1(e){var t=this;return null==t.argument&&null==t.selector||t.super$SimpleSelector$addSuffix0(e),A.PseudoSelector$0(t.name+e,t.span,null,!t.isClass,null)},unify$1(e){var t,r,n,i,o,s,a=this,l=a.name;if("host"===l||"host-context"===l){if(!C.JSArray_methods.every$1(e,new A.PseudoSelector_unify_closure0))return null}else if(l=!1,1===e.length?(t=e[0])instanceof A.UniversalSelector0?l=!0:t instanceof A.PseudoSelector0&&(l=t.isClass&&"host"===t.name||t.get$isHostContext()):t=null,l)return t.unify$1(A._setArrayType([a],D.JSArray_SimpleSelector_2));if(C.JSArray_methods.contains$1(e,a))return e;for(r=A._setArrayType([],D.JSArray_SimpleSelector_2),l=e.length,n=!a.isClass,i=!1,o=0;o<e.length;e.length===l||(0,A.throwConcurrentModificationError)(e),++o){if((s=e[o])instanceof A.PseudoSelector0&&!s.isClass){if(n)return null;r.push(a),i=!0}r.push(s)}return i||r.push(a),r},isSuperselector$1(e){var t,r,n,i=this;return!!i.super$SimpleSelector$isSuperselector0(e)||(null==(t=i.selector)?i.$eq(0,e):e instanceof A.PseudoSelector0&&!i.isClass&&!e.isClass&&"slotted"===i.normalizedName&&e.name===i.name?null!=(r=A.NullableExtension_andThen0(e.selector,t.get$isSuperselector()))&&r:(r=D.JSArray_SimpleSelector_2,n=i.span,A.compoundIsSuperselector0(A.CompoundSelector$0(A._setArrayType([i],r),n),A.CompoundSelector$0(A._setArrayType([e],r),n),null)))},accept$1$1(e){return e.visitPseudoSelector$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},$eq(e,t){var r=this;return null!=t&&(t instanceof A.PseudoSelector0&&t.name===r.name&&t.isClass===r.isClass&&t.argument==r.argument&&w.$eq$(t.selector,r.selector))},get$hashCode(e){var t=this;return C.JSString_methods.get$hashCode(t.name)^(t.isClass?218159:519018)^w.get$hashCode$(t.argument)^w.get$hashCode$(t.selector)}},A.PseudoSelector_specificity_closure0.prototype={call$0(){var e,t,r=this.$this;if(!r.isClass)return 1;if(null==(e=r.selector))return A.SimpleSelector0.prototype.get$specificity.call(r);switch(r.normalizedName){case"where":return 0;case"is":case"not":case"has":case"matches":return r=e.components,A.IterableIntegerExtension_get_max(new A.MappedListIterable(r,new A.PseudoSelector_specificity__closure1,A._arrayInstanceType(r)._eval$1("MappedListIterable<1,int>")));case"nth-child":case"nth-last-child":return r=A.SimpleSelector0.prototype.get$specificity.call(r),t=e.components,r+A.IterableIntegerExtension_get_max(new A.MappedListIterable(t,new A.PseudoSelector_specificity__closure2,A._arrayInstanceType(t)._eval$1("MappedListIterable<1,int>")));default:return A.SimpleSelector0.prototype.get$specificity.call(r)}},$signature:10},A.PseudoSelector_specificity__closure1.prototype={call$1:e=>e.get$specificity(),$signature:261},A.PseudoSelector_specificity__closure2.prototype={call$1:e=>e.get$specificity(),$signature:261},A.PseudoSelector_unify_closure0.prototype={call$1:e=>e instanceof A.PseudoSelector0&&(e.isClass&&"host"===e.name||null!=e.selector),$signature:15},A.PublicMemberMapView0.prototype={get$keys(e){var t=this._public_member_map_view0$_inner;return(t=t.get$keys(t)).where$1(t,A.utils1__isPublic$closure())},containsKey$1(e){return"string"==typeof e&&A.isPublic0(e)&&this._public_member_map_view0$_inner.containsKey$1(e)},$index(e,t){return"string"==typeof t&&A.isPublic0(t)?this._public_member_map_view0$_inner.$index(0,t):null}},A.InterpolatedQualifiedName.prototype={toString$0(e){var t=this.namespace;return null==t?this.name.toString$0(0):t.toString$0(0)+"|"+this.name.toString$0(0)},$isAstNode0:1,$isSassNode:1,get$span(e){return this.span}},A.QualifiedName0.prototype={$eq(e,t){return null!=t&&(t instanceof A.QualifiedName0&&t.name===this.name&&t.namespace==this.namespace)},get$hashCode(e){return C.JSString_methods.get$hashCode(this.name)^w.get$hashCode$(this.namespace)},toString$0(e){var t=this.namespace,r=this.name;return null==t?r:t+"|"+r}},A.Rec2020ColorSpace0.prototype={get$isBoundedInternal:()=>!0,toLinear$1(e){var t=Math.abs(e);return t<.08124285829863151?e/4.5:w.get$sign$in(e)*Math.pow((t+1.09929682680944-1)/1.09929682680944,2.2222222222222223)},fromLinear$1(e){var t=Math.abs(e);return t>.018053968510807?w.get$sign$in(e)*(1.09929682680944*Math.pow(t,.45)-.09929682680944008):4.5*e},transformationMatrix$1(e){return C.SrgbLinearColorSpace_kUj0!==e&&C.SrgbColorSpace_thf0!==e&&C.RgbColorSpace_i0P0!==e?C.A98RgbColorSpace_lf20!==e?C.DisplayP3ColorSpace_MmT0!==e&&C.DisplayP3LinearColorSpace_PrP0!==e?C.ProphotoRgbColorSpace_BDz0!==e?C.XyzD65ColorSpace_WiJ0!==e?C.XyzD50ColorSpace_2OB0!==e?C.LmsColorSpace_Os30!==e?this.super$ColorSpace$transformationMatrix0(e):I.$get$linearRec2020ToLms0():I.$get$linearRec2020ToXyzD500():I.$get$linearRec2020ToXyzD650():I.$get$linearRec2020ToLinearProphotoRgb0():I.$get$linearRec2020ToLinearDisplayP30():I.$get$linearRec2020ToLinearA98Rgb0():I.$get$linearRec2020ToLinearSrgb0()}},A.JSClass0.prototype={},A.JSClassExtension_setCustomInspect_closure.prototype={call$4(e,t,r,n){return this.inspect.call$1(e)},call$3(e,t,r){return this.call$4(e,t,r,null)},"call*":"call$4",$requiredArgCount:3,$defaultValues:()=>[null],$signature:585},A.JSClassExtension_get_defineStaticMethod_closure.prototype={call$2(e,t){return this._this[e]=A.allowInteropNamed(e,t),null},$signature:135},A.JSClassExtension_get_defineMethod_closure.prototype={call$2(e,t){return w.get$$prototype$x(this._this)[e]=A.allowInteropCaptureThisNamed(e,t),null},$signature:135},A.JSClassExtension_get_defineGetter_closure.prototype={call$2(e,t){return A.defineGetter(w.get$$prototype$x(this._this),e,t,null),null},$signature:135},A.RenderContext0.prototype={},A.RenderContextOptions0.prototype={},A.RenderContextResult0.prototype={},A.RenderContextResultStats0.prototype={},A.RenderOptions.prototype={},A.RenderResult.prototype={},A.RenderResultStats.prototype={},A.ReplaceExpressionVisitor0.prototype={visitBinaryOperationExpression$1(e,t){return new A.BinaryOperationExpression0(t.operator,t.left.accept$1(this),t.right.accept$1(this),!1)},visitBooleanExpression$1:(e,t)=>t,visitColorExpression$1:(e,t)=>t,visitFunctionExpression$1(e,t){var r=t.originalName,n=this.visitArgumentList$1(t.$arguments);return new A.FunctionExpression0(t.namespace,A.stringReplaceAllUnchecked(r,"_","-"),r,n,t.span)},visitInterpolatedFunctionExpression$1(e,t){return new A.InterpolatedFunctionExpression0(this.visitInterpolation$1(t.name),this.visitArgumentList$1(t.$arguments),t.span)},visitLegacyIfExpression$1(e,t){return new A.LegacyIfExpression0(this.visitArgumentList$1(t.$arguments),t.span)},visitListExpression$1(e,t){var r=t.contents;return new A.ListExpression0(A.List_List$unmodifiable(new A.MappedListIterable(r,new A.ReplaceExpressionVisitor_visitListExpression_closure0(this),A._arrayInstanceType(r)._eval$1("MappedListIterable<1,Expression0>")),D.Expression_2),t.separator,t.hasBrackets,t.span)},visitMapExpression$1(e,t){var r,n,i,o,s=A._setArrayType([],D.JSArray_Record_2_Expression_and_Expression_2);for(n=(r=t.pairs).length,i=0;i<n;++i)o=r[i],s.push(new A._Record_2(o._0.accept$1(this),o._1.accept$1(this)));return new A.MapExpression0(A.List_List$unmodifiable(s,D.Record_2_Expression_and_Expression_2),t.span)},visitNullExpression$1:(e,t)=>t,visitNumberExpression$1:(e,t)=>t,visitParenthesizedExpression$1(e,t){return new A.ParenthesizedExpression0(t.expression.accept$1(this),t.span)},visitSelectorExpression$1:(e,t)=>t,visitStringExpression$1(e,t){return new A.StringExpression0(this.visitInterpolation$1(t.text),t.hasQuotes)},visitSupportsExpression$1(e,t){return new A.SupportsExpression0(this.visitSupportsCondition$1(t.condition))},visitUnaryOperationExpression$1(e,t){return new A.UnaryOperationExpression0(t.operator,t.operand.accept$1(this),t.span)},visitValueExpression$1:(e,t)=>t,visitVariableExpression$1:(e,t)=>t,visitIfConditionParenthesized$1(e,t){return new A.IfConditionParenthesized0(t.expression.accept$1(this),t.span)},visitIfConditionNegation$1(e,t){return new A.IfConditionNegation0(t.expression.accept$1(this),t.span)},visitIfConditionOperation$1(e,t){var r=t.expressions;return A.IfConditionOperation$0(new A.MappedListIterable(r,new A.ReplaceExpressionVisitor_visitIfConditionOperation_closure0(this),A._arrayInstanceType(r)._eval$1("MappedListIterable<1,IfConditionExpression0>")),t.op)},visitIfConditionFunction$1(e,t){return new A.IfConditionFunction0(this.visitInterpolation$1(t.name),this.visitInterpolation$1(t.$arguments),t.span)},visitIfConditionSass$1(e,t){return new A.IfConditionSass0(t.expression.accept$1(this),t.span)},visitIfConditionRaw$1(e,t){return new A.IfConditionRaw0(this.visitInterpolation$1(t.text))},visitArgumentList$1(e){var t=this,r=e.positional,n=D.String,i=D.Expression_2,o=A.LinkedHashMap_LinkedHashMap$_empty(n,i);for(n=(n=A.MapExtensions_get_pairs0(e.named,n,i)).get$iterator(n);n.moveNext$0();)i=n.get$current(n),o.$indexSet(0,i._0,i._1.accept$1(t));return n=null==(n=e.rest)?null:n.accept$1(t),i=null==(i=e.keywordRest)?null:i.accept$1(t),A.ArgumentList$0(new A.MappedListIterable(r,new A.ReplaceExpressionVisitor_visitArgumentList_closure0(t),A._arrayInstanceType(r)._eval$1("MappedListIterable<1,Expression0>")),o,e.namedSpans,e.span,i,n)},visitSupportsCondition$1(e){var t=this;if(e instanceof A.SupportsOperation0)return new A.SupportsOperation0(t.visitSupportsCondition$1(e.left),t.visitSupportsCondition$1(e.right),e.operator,e.span);if(e instanceof A.SupportsNegation0)return new A.SupportsNegation0(t.visitSupportsCondition$1(e.condition),e.span);if(e instanceof A.SupportsInterpolation0)return new A.SupportsInterpolation0(e.expression.accept$1(t),e.span);if(e instanceof A.SupportsDeclaration0)return new A.SupportsDeclaration0(e.name.accept$1(t),e.value.accept$1(t),e.span);throw A.wrapException(A.SassException$0("BUG: Unknown SupportsCondition "+e.toString$0(0)+".",e.get$span(e),null))},visitInterpolation$1(e){var t=e.contents;return A.Interpolation$0(new A.MappedListIterable(t,new A.ReplaceExpressionVisitor_visitInterpolation_closure0(this),A._arrayInstanceType(t)._eval$1("MappedListIterable<1,Object>")),e.spans,e.span)}},A.ReplaceExpressionVisitor_visitListExpression_closure0.prototype={call$1(e){return e.accept$1(this.$this)},$signature:262},A.ReplaceExpressionVisitor_visitIfConditionOperation_closure0.prototype={call$1(e){return e.accept$1(this.$this)},$signature:588},A.ReplaceExpressionVisitor_visitArgumentList_closure0.prototype={call$1(e){return e.accept$1(this.$this)},$signature:262},A.ReplaceExpressionVisitor_visitInterpolation_closure0.prototype={call$1(e){return e instanceof A.Expression0?e.accept$1(this.$this):e},$signature:75},A.ImporterResult0.prototype={get$sourceMapUrl(e){var t=this._result$_sourceMapUrl;return null==t?A.Uri_Uri$dataFromString(this.contents,C.C_Utf8Codec,null):t}},A.ReturnRule0.prototype={accept$1$1(e){return e.visitReturnRule$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return"@return "+this.expression.toString$0(0)+";"},get$span(e){return this.span}},A.RgbColorSpace0.prototype={get$isBoundedInternal:()=>!0,get$isLegacyInternal:()=>!0,convert$5(e,t,r,n,i){var o=null==t?null:t/255,s=null==r?null:r/255;return C.SrgbColorSpace_thf0.convert$5(e,o,s,null==n?null:n/255,i)},toLinear$1:e=>A.srgbAndDisplayP3ToLinear0(e/255),fromLinear$1:e=>255*A.srgbAndDisplayP3FromLinear0(e)},A.SassParser0.prototype={get$currentIndentation(){return this._sass0$_currentIndentation},get$indented:()=>!0,styleRuleSelector$0(){var e,t=this,r=t.scanner,n=r._string_scanner$_position,i=new A.StringBuffer(""),o=new A.InterpolationBuffer0(i,A._setArrayType([],D.JSArray_Object),A._setArrayType([],D.JSArray_nullable_FileSpan));do{o.addInterpolation$1(t.almostAnyValue$1$omitComments(!0)),e=A.Primitives_stringFromCharCode(10),e=i._contents+=e}while(C.JSString_methods.endsWith$1(C.JSString_methods.trimRight$0((e.charCodeAt(0),e)),",")&&t.scanCharIf$1(new A.SassParser_styleRuleSelector_closure0));return o.interpolation$1(t.spanFrom$1(new A._SpanScannerState(r,n)))},expectStatementSeparator$1(e){var t,r=this,n=r._sass0$_tryTrailingSemicolon$0();r.atEndOfStatement$0()||r._sass0$_expectNewline$1$trailingSemicolon(n),r._sass0$_peekIndentation$0()<=r._sass0$_currentIndentation||(t=null==e?"here":"beneath a "+e,r.scanner.error$2$position(0,"Nothing may be indented "+t+".",r._sass0$_nextIndentationEnd.position))},expectStatementSeparator$0(){return this.expectStatementSeparator$1(null)},atEndOfStatement$0(){var e=this.scanner.peekChar$0();return!1!==(e=null==e?null:10===e||13===e||12===e)},lookingAtChildren$0(){return this.atEndOfStatement$0()&&this._sass0$_peekIndentation$0()>this._sass0$_currentIndentation},importArgument$0(){var e,t,r,n,i,o,s,a,l,c,u=this;if(117!==(o=(i=u.scanner).peekChar$0())&&85!==o){if(39===o||34===o)return u.super$StylesheetParser$importArgument0()}else if(s=new A._SpanScannerState(i,i._string_scanner$_position),u.scanIdentifier$1("url")){if(i.scanChar$1(40))return i.set$state(s),u.super$StylesheetParser$importArgument0();i.set$state(s)}for(a=i._string_scanner$_position,l=i.peekChar$0();c=!1,null!=l&&44!==l&&59!==l&&(c=!(10===l||13===l||12===l)),c;)i.readChar$0(),l=i.peekChar$0();if(e=i.substring$1(0,a),t=u.spanFrom$1(new A._SpanScannerState(i,a)),u.isPlainImportUrl$1(e))return new A.StaticImport0(new A.Interpolation0(A.List_List$unmodifiable([A.serializeValue0(new A.SassString0(e,!0),!0,!0)],D.Object),C.List_null,t),null,t);try{return i=u.parseImportUrl$1(e),new A.DynamicImport0(i,t)}catch(e){if(i=A.unwrapException(e),!D.FormatException._is(i))throw e;r=i,n=A.getTraceFromException(e),u.error$3(0,"Invalid URL: "+w.get$message$x(r),t,n)}},scanElse$1(e){var t,r,n,i,o,s=this;return s._sass0$_peekIndentation$0()===e&&(r=(t=s.scanner)._string_scanner$_position,n=s._sass0$_currentIndentation,i=s._sass0$_nextIndentation,o=s._sass0$_nextIndentationEnd,s._sass0$_readIndentation$0(),!(!t.scanChar$1(64)||!s.scanIdentifier$1("else"))||(t.set$state(new A._SpanScannerState(t,r)),s._sass0$_currentIndentation=n,s._sass0$_nextIndentation=i,s._sass0$_nextIndentationEnd=o,!1))},children$1(e,t){var r=A._setArrayType([],D.JSArray_Statement_2);return this._sass0$_whileIndentedLower$1(new A.SassParser_children_closure0(this,t,r)),r},statements$1(e){var t,r,n,i=this.scanner,o=i.peekChar$0();for(9!==o&&32!==o||i.error$3$length$position(0,P.Indent,i._string_scanner$_position,0),t=A._setArrayType([],D.JSArray_Statement_2),r=i.string.length;i._string_scanner$_position!==r;)null!=(n=this._sass0$_child$1(e))&&t.push(n),this._sass0$_readIndentation$0();return t},_sass0$_child$1(e){var t,r=this,n=r.scanner,i=n.peekChar$0();return 13!==i&&10!==i&&12!==i?36!==i?47!==i?n=e.call$0():(t=n.peekChar$1(1),n=47!==t?42!==t?e.call$0():r._sass0$_loudComment$0():r._sass0$_silentComment$0()):n=r.variableDeclarationWithoutNamespace$0():n=null,n},_sass0$_silentComment$0(){var e,t,r,n,i,o,s,a,l,c,u=this,d=u.scanner,h=d._string_scanner$_position;d.expect$1("//"),e=new A.StringBuffer(""),t=u._sass0$_currentIndentation,r=d.string.length,n=1+t,i=2+t;e:do{for(s=(o=d.scanChar$1(47)?"///":"//").length;;){for(a=e._contents+=o,l=s;l<u._sass0$_currentIndentation-t;++l)a+=A.Primitives_stringFromCharCode(32),e._contents=a;for(;c=d._string_scanner$_position!==r&&!(10===(c=d.peekChar$0())||13===c||12===c);)a+=A.Primitives_stringFromCharCode(d.readChar$0()),e._contents=a;if(e._contents=a+"\n",u._sass0$_peekIndentation$0()<t)break e;if(u._sass0$_peekIndentation$0()===t){47===d.peekChar$1(n)&&47===d.peekChar$1(i)&&u._sass0$_readIndentation$0();break}u._sass0$_readIndentation$0()}}while(d.scan$1("//"));return r=e._contents,u.lastSilentComment=new A.SilentComment0((r.charCodeAt(0),r),u.spanFrom$1(new A._SpanScannerState(d,h)))},_sass0$_loudComment$0(){var e,t,r,n,i,o,s,a,l,c,u,d,h,p,m,_=this,g=_.scanner,f=new A._SpanScannerState(g,g._string_scanner$_position);for(g.expect$1("/*"),e=new A.StringBuffer(""),t=A._setArrayType([],D.JSArray_Object),r=A._setArrayType([],D.JSArray_nullable_FileSpan),n=new A.InterpolationBuffer0(e,t,r),e._contents="/*",i=_._sass0$_currentIndentation,s=(o=g.string).length,a=!0;;a=!1){for(a?(l=g._string_scanner$_position,_.spaces$0(),10===(c=g.peekChar$0())||13===c||12===c?(_._sass0$_readIndentation$0(),c=A.Primitives_stringFromCharCode(32),e._contents+=c):(u=g._string_scanner$_position,e._contents+=C.JSString_methods.substring$2(o,l,u))):e._contents=(e._contents+="\n")+" * ",d=3;d<_._sass0$_currentIndentation-i;++d)c=A.Primitives_stringFromCharCode(32),e._contents+=c;for(;g._string_scanner$_position!==s&&10!==(h=g.peekChar$0())&&13!==h&&12!==h;)if(35!==h)if(42!==h)c=A.Primitives_stringFromCharCode(g.readChar$0()),e._contents+=c;else{if(47===g.peekChar$1(1)){for(t=A.Primitives_stringFromCharCode(g.readChar$0()),e._contents+=t,t=A.Primitives_stringFromCharCode(g.readChar$0()),e._contents+=t,m=_.spanFrom$1(f),_.whitespace$1$consumeNewlines(!1);(10===(e=g.peekChar$0())||13===e||12===e)&&_._sass0$_peekIndentation$0()>i;){for(;_._sass0$_lookingAtDoubleNewline$0();)_._sass0$_expectNewline$0();_._sass0$_readIndentation$0(),_.whitespace$1$consumeNewlines(!1)}if(e=g._string_scanner$_position!==s&&!(10===(e=g.peekChar$0())||13===e||12===e)){for(e=g._string_scanner$_position;t=g._string_scanner$_position!==s&&!(10===(t=g.peekChar$0())||13===t||12===t);)g.readChar$0();throw A.wrapException(A.MultiSpanSassFormatException$0("Unexpected text after end of comment",_.spanFrom$1(new A._SpanScannerState(g,e)),"extra text",A.LinkedHashMap_LinkedHashMap$_literal([m,"comment"],D.FileSpan,D.String),null))}return new A.LoudComment0(n.interpolation$1(m))}c=A.Primitives_stringFromCharCode(g.readChar$0()),e._contents+=c}else 123===g.peekChar$1(1)?(p=_.singleInterpolation$0(),n._interpolation_buffer0$_flushText$0(),t.push(p._0),r.push(p._1)):(c=A.Primitives_stringFromCharCode(g.readChar$0()),e._contents+=c);if(_._sass0$_peekIndentation$0()<=i)break;for(;_._sass0$_lookingAtDoubleNewline$0();)_._sass0$_expectNewline$0(),e._contents=(e._contents+="\n")+" *";_._sass0$_readIndentation$0()}return new A.LoudComment0(n.interpolation$1(_.spanFrom$1(f)))},whitespaceWithoutComments$1$consumeNewlines(e){var t,r,n;for(r=(t=this.scanner).string.length;t._string_scanner$_position!==r&&(n=t.peekChar$0(),!(e?!(32===n||9===n||10===n||13===n||12===n):!(32===n||9===n)));)t.readChar$0()},_sass0$_expectNewline$1$trailingSemicolon(e){var t=this.scanner,r=t.peekChar$0();if(13===r)return t.readChar$0(),void(10===t.peekChar$0()&&t.readChar$0());10!==r&&12!==r?t.error$1(0,e?P.multip:"expected newline."):t.readChar$0()},_sass0$_expectNewline$0(){return this._sass0$_expectNewline$1$trailingSemicolon(!1)},_sass0$_lookingAtDoubleNewline$0(){var e,t,r=this.scanner,n=r.peekChar$0();return e=!1,13!==n?r=10!==n&&12!==n?e:10===(r=r.peekChar$1(1))||13===r||12===r:(t=r.peekChar$1(1),r=10!==t?13===t||12===t||e:10===(r=r.peekChar$1(2))||13===r||12===r),r},_sass0$_whileIndentedLower$1(e){var t,r,n,i,o,s,a=this,l=a._sass0$_currentIndentation;for(r=(t=a.scanner)._sourceFile,n=null;a._sass0$_peekIndentation$0()>l;)i=a._sass0$_readIndentation$0(),null==n&&(n=i),n!==i&&(o=t._string_scanner$_position,s=r.getColumn$1(o),t.error$3$length$position(0,"Inconsistent indentation, expected "+n+" spaces.",r.getColumn$1(t._string_scanner$_position),o-s)),e.call$0()},_sass0$_readIndentation$0(){var e,t=this,r=t._sass0$_nextIndentation;return null==r&&(r=t._sass0$_nextIndentation=t._sass0$_peekIndentation$0()),t._sass0$_currentIndentation=r,(e=t._sass0$_nextIndentationEnd).toString,t.scanner.set$state(e),t._sass0$_nextIndentationEnd=t._sass0$_nextIndentation=null,r},_sass0$_peekIndentation$0(){var e,t,r,n,i,o,s,a,l,c=this,u=c._sass0$_nextIndentation;if(null!=u)return u;if((t=(e=c.scanner)._string_scanner$_position)===(r=e.string.length))return c._sass0$_nextIndentation=0,c._sass0$_nextIndentationEnd=new A._SpanScannerState(e,t),0;n=new A._SpanScannerState(e,t),c.scanCharIf$1(new A.SassParser__peekIndentation_closure1)||e.error$2$position(0,"Expected newline.",e._string_scanner$_position),i=A._Cell$(),o=A._Cell$(),s=A._Cell$();do{for(o.__late_helper$_value=i.__late_helper$_value=!1,s.__late_helper$_value=0;;){if(32!==(a=e.peekChar$0())){if(9!==a)break;i.__late_helper$_value=!0}else o.__late_helper$_value=!0;(t=s.__late_helper$_value)===s&&A.throwExpression(A.LateError$localNI("")),s.__late_helper$_value=t+1,e.readChar$0()}if((t=e._string_scanner$_position)===r)return c._sass0$_nextIndentation=0,c._sass0$_nextIndentationEnd=new A._SpanScannerState(e,t),e.set$state(n),0}while(c.scanCharIf$1(new A.SassParser__peekIndentation_closure2));return t=i._readLocal$0(),r=o._readLocal$0(),t?r?(t=e._string_scanner$_position,l=(r=e._sourceFile).getColumn$1(t),e.error$3$length$position(0,"Tabs and spaces may not be mixed.",r.getColumn$1(e._string_scanner$_position),t-l)):!0===c._sass0$_spaces&&(t=e._string_scanner$_position,l=(r=e._sourceFile).getColumn$1(t),e.error$3$length$position(0,"Expected spaces, was tabs.",r.getColumn$1(e._string_scanner$_position),t-l)):r&&!1===c._sass0$_spaces&&(t=e._string_scanner$_position,l=(r=e._sourceFile).getColumn$1(t),e.error$3$length$position(0,"Expected tabs, was spaces.",r.getColumn$1(e._string_scanner$_position),t-l)),c._sass0$_nextIndentation=s._readLocal$0(),s._readLocal$0()>0&&null==c._sass0$_spaces&&(c._sass0$_spaces=o._readLocal$0()),c._sass0$_nextIndentationEnd=new A._SpanScannerState(e,e._string_scanner$_position),e.set$state(n),s._readLocal$0()},_sass0$_tryTrailingSemicolon$0(){return!!this.scanCharIf$1(new A.SassParser__tryTrailingSemicolon_closure0)&&(this.whitespace$1$consumeNewlines(!1),!0)}},A.SassParser_styleRuleSelector_closure0.prototype={call$1:e=>10===e||13===e||12===e,$signature:31},A.SassParser_children_closure0.prototype={call$0(){var e=this.$this._sass0$_child$1(this.child);null!=e&&this.children.push(e)},$signature:0},A.SassParser__peekIndentation_closure1.prototype={call$1:e=>10===e||13===e||12===e,$signature:31},A.SassParser__peekIndentation_closure2.prototype={call$1:e=>10===e||13===e||12===e,$signature:31},A.SassParser__tryTrailingSemicolon_closure0.prototype={call$1:e=>59===e,$signature:31},A._Exports.prototype={},A._wrapMain_closure.prototype={call$1(e){return A._translateReturnValue(this.main.call$0())},$signature:108},A._wrapMain_closure0.prototype={call$1(e){return A._translateReturnValue(this.main.call$1(A.List_List$from(D.List_dynamic._as(e),!0,D.String)))},$signature:108},A.ScssParser0.prototype={get$indented:()=>!1,get$currentIndentation:()=>0,styleRuleSelector$0(){return this.almostAnyValue$0()},expectStatementSeparator$1(e){var t,r;this.whitespaceWithoutComments$1$consumeNewlines(!0),(t=this.scanner)._string_scanner$_position!==t.string.length&&59!==(r=t.peekChar$0())&&125!==r&&t.expectChar$1(59)},expectStatementSeparator$0(){return this.expectStatementSeparator$1(null)},atEndOfStatement$0(){var e=this.scanner.peekChar$0();return null==e||59===e||125===e||123===e},lookingAtChildren$0(){return 123===this.scanner.peekChar$0()},scanElse$1(e){var t,r=this,n=r.scanner,i=n._string_scanner$_position;if(r.whitespace$1$consumeNewlines(!0),t=n._string_scanner$_position,n.scanChar$1(64)){if(r.scanIdentifier$2$caseSensitive("else",!0))return!0;if(r.scanIdentifier$2$caseSensitive("elseif",!0))return r.warnings.push(new A._Record_3_deprecation_message_span(C.Deprecation_VUl,P.x40elsei,r.spanFrom$1(new A._SpanScannerState(n,t)))),n.set$position(n._string_scanner$_position-2),!0}return n.set$state(new A._SpanScannerState(n,i)),!1},children$1(e,t){var r,n=this,i=n.scanner;for(i.expectChar$1(123),n.whitespaceWithoutComments$1$consumeNewlines(!0),r=A._setArrayType([],D.JSArray_Statement_2);;)switch(i.peekChar$0()){case 36:r.push(n.variableDeclarationWithoutNamespace$0());break;case 47:switch(i.peekChar$1(1)){case 47:r.push(n._scss0$_silentComment$0()),n.whitespaceWithoutComments$1$consumeNewlines(!0);break;case 42:r.push(n._scss0$_loudComment$0()),n.whitespaceWithoutComments$1$consumeNewlines(!0);break;default:r.push(t.call$0())}break;case 59:i.readChar$0(),n.whitespaceWithoutComments$1$consumeNewlines(!0);break;case 125:return i.expectChar$1(125),r;default:r.push(t.call$0())}},statements$1(e){var t,r,n,i,o=this,s=A._setArrayType([],D.JSArray_Statement_2);for(o.whitespaceWithoutComments$1$consumeNewlines(!0),r=(t=o.scanner).string.length;t._string_scanner$_position!==r;)switch(t.peekChar$0()){case 36:s.push(o.variableDeclarationWithoutNamespace$0());break;case 47:switch(t.peekChar$1(1)){case 47:s.push(o._scss0$_silentComment$0()),o.whitespaceWithoutComments$1$consumeNewlines(!0);break;case 42:s.push(o._scss0$_loudComment$0()),o.whitespaceWithoutComments$1$consumeNewlines(!0);break;default:null!=(n=e.call$0())&&s.push(n)}break;case 59:t.readChar$0(),o.whitespaceWithoutComments$1$consumeNewlines(!0);break;default:null!=(i=e.call$0())&&s.push(i)}return s},_scss0$_silentComment$0(){var e,t,r=this,n=r.scanner,i=n._string_scanner$_position,o=new A._SpanScannerState(n,i);n.expect$1("//"),e=n.string.length;do{for(;t=n._string_scanner$_position!==e&&!(10===(t=n.readChar$0())||13===t||12===t););if(n._string_scanner$_position===e)break;r.spaces$0()}while(n.scan$1("//"));return r.get$plainCss()&&r.error$2(0,P.Silent,r.spanFrom$1(o)),r.lastSilentComment=new A.SilentComment0(n.substring$1(0,i),r.spanFrom$1(o))},_scss0$_loudComment$0(){var e,t,r,n,i,o,s=this.scanner,a=s._string_scanner$_position;s.expect$1("/*"),e=new A.StringBuffer(""),t=A._setArrayType([],D.JSArray_Object),r=A._setArrayType([],D.JSArray_nullable_FileSpan),n=new A.InterpolationBuffer0(e,t,r),e._contents="/*";e:for(;;)switch(s.peekChar$0()){case 35:123===s.peekChar$1(1)?(i=this.singleInterpolation$0(),n._interpolation_buffer0$_flushText$0(),t.push(i._0),r.push(i._1)):(o=A.Primitives_stringFromCharCode(s.readChar$0()),e._contents+=o);break;case 42:if(o=A.Primitives_stringFromCharCode(s.readChar$0()),e._contents+=o,47!==s.peekChar$0())continue e;return t=A.Primitives_stringFromCharCode(s.readChar$0()),e._contents+=t,new A.LoudComment0(n.interpolation$1(this.spanFrom$1(new A._SpanScannerState(s,a))));case 13:s.readChar$0(),10!==s.peekChar$0()&&(o=A.Primitives_stringFromCharCode(10),e._contents+=o);break;case 12:s.readChar$0(),o=A.Primitives_stringFromCharCode(10),e._contents+=o;break;default:o=A.Primitives_stringFromCharCode(s.readChar$0()),e._contents+=o}}},A.Selector0.prototype={assertNotBogus$1$name(e){this.accept$1(C._IsBogusVisitor_true0)&&A.warnForDeprecation0("$"+e+": "+(this.toString$0(0)+P.x20is_nov),C.Deprecation_2PR)},toString$0(e){var t=null,r=A._SerializeVisitor$0(t,!0,t,t,!0,!1,t,!0);return this.accept$1(r),r._serialize0$_buffer.toString$0(0)},$isAstNode0:1,get$span(e){return this.span}},A._IsInvisibleVisitor2.prototype={visitSelectorList$1(e){return C.JSArray_methods.every$1(e.components,this.get$visitComplexSelector())},visitComplexSelector$1(e){return!!this.super$AnySelectorVisitor$visitComplexSelector0(e)||this.includeBogus&&e.accept$1(C._IsBogusVisitor_false0)},visitPlaceholderSelector$1:(e,t)=>!0,visitPseudoSelector$1(e,t){var r=t.selector;return null!=r&&("not"===t.name?this.includeBogus&&r.accept$1(C._IsBogusVisitor_true0):this.visitSelectorList$1(r))}},A._IsBogusVisitor0.prototype={visitComplexSelector$1(e){var t,r=e.components;return 0===r.length?0!==e.leadingCombinators.length:(t=this.includeLeadingCombinator?0:1,e.leadingCombinators.length>t||0!==C.JSArray_methods.get$last(r).combinators.length||C.JSArray_methods.any$1(r,new A._IsBogusVisitor_visitComplexSelector_closure0(this)))},visitPseudoSelector$1(e,t){var r=t.selector;return null!=r&&("has"===t.name?r.accept$1(C._IsBogusVisitor_false0):r.accept$1(C._IsBogusVisitor_true0))}},A._IsBogusVisitor_visitComplexSelector_closure0.prototype={call$1(e){return e.combinators.length>1||this.$this.visitCompoundSelector$1(e.selector)},$signature:55},A._IsUselessVisitor0.prototype={visitComplexSelector$1(e){return e.leadingCombinators.length>1||C.JSArray_methods.any$1(e.components,new A._IsUselessVisitor_visitComplexSelector_closure0(this))},visitPseudoSelector$1:(e,t)=>t.accept$1(C._IsBogusVisitor_true0)},A._IsUselessVisitor_visitComplexSelector_closure0.prototype={call$1(e){return e.combinators.length>1||this.$this.visitCompoundSelector$1(e.selector)},$signature:55},A._ContainsParentSelectorVisitor0.prototype={visitParentSelector$1:(e,t)=>!0},A.__ContainsParentSelectorVisitor_Object_AnySelectorVisitor0.prototype={},A.__IsBogusVisitor_Object_AnySelectorVisitor0.prototype={},A.__IsInvisibleVisitor_Object_AnySelectorVisitor0.prototype={},A.__IsUselessVisitor_Object_AnySelectorVisitor0.prototype={},A.SelectorExpression0.prototype={accept$1$1(e){return e.visitSelectorExpression$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0:e=>"&",get$span(e){return this.span}},A._nest_closure0.prototype={call$1(e){var t=w.$index$asx(e,0).get$asList();return null==(t=null==(t=new A.MappedListIterable(t,new A._nest__closure1,A._arrayInstanceType(t)._eval$1("MappedListIterable<1,SelectorList0>")).fold$2(0,null,new A._nest__closure2))?null:t.get$asSassList())?A.throwExpression(A.SassScriptException$0(P.x24selec,null)):t},$signature:27},A._nest__closure1.prototype={call$1:e=>A.SassApiValue_assertSelector0(e,!0,null),$signature:263},A._nest__closure2.prototype={call$2:(e,t)=>t.nestWithin$1(e),$signature:590},A._append_closure1.prototype={call$1(e){var t,r=w.$index$asx(e,0).get$asList();if(0===r.length)throw A.wrapException(A.SassScriptException$0(P.x24selec,null));return t=A.EvaluationContext_currentOrNull0(),new A.MappedListIterable(r,new A._append__closure1,A._arrayInstanceType(r)._eval$1("MappedListIterable<1,SelectorList0>")).reduce$1(0,new A._append__closure2((null==t?A.throwExpression(A.StateError$(P.No_Sass)):t).get$currentCallableSpan())).get$asSassList()},$signature:27},A._append__closure1.prototype={call$1:e=>A.SassApiValue_assertSelector0(e,!1,null),$signature:263},A._append__closure2.prototype={call$2(e,t){var r=t.components,n=this.span;return A.SelectorList$0(new A.MappedListIterable(r,new A._append___closure0(e,n),A._arrayInstanceType(r)._eval$1("MappedListIterable<1,ComplexSelector0>")),n).nestWithin$1(e)},$signature:591},A._append___closure0.prototype={call$1(e){var t,r,n,i,o,s,a=null;if(0!==e.leadingCombinators.length)throw A.wrapException(A.SassScriptException$0("Can't append "+e.toString$0(0)+" to "+this.parent.toString$0(0)+".",a));if((r=(t=e.components).length>=1)?(n=t[0],i=C.JSArray_methods.sublist$1(t,1)):n=i=a,!r)throw A.wrapException(A.StateError$("Pattern matching error"));if(null==(o=A._prependParent0(n.selector)))throw A.wrapException(A.SassScriptException$0("Can't append "+e.toString$0(0)+" to "+this.parent.toString$0(0)+".",a));return r=this.span,s=A._setArrayType([new A.ComplexSelectorComponent0(o,A.List_List$unmodifiable(n.combinators,D.CssValue_Combinator_2),r)],D.JSArray_ComplexSelectorComponent_2),C.JSArray_methods.addAll$1(s,i),A.ComplexSelector$0(C.List_empty17,s,r,!1)},$signature:59},A._extend_closure0.prototype={call$1(e){var t,r,n="selector",i="extendee",o="extender",s=w.getInterceptor$asx(e),a=A.SassApiValue_assertSelector0(s.$index(e,0),!1,n);return a.assertNotBogus$1$name(n),(t=A.SassApiValue_assertSelector0(s.$index(e,1),!1,i)).assertNotBogus$1$name(i),(r=A.SassApiValue_assertSelector0(s.$index(e,2),!1,o)).assertNotBogus$1$name(o),s=A.EvaluationContext_currentOrNull0(),A.ExtensionStore__extendOrReplace0(a,r,t,C.ExtendMode_allTargets_2_allTargets0,(null==s?A.throwExpression(A.StateError$(P.No_Sass)):s).get$currentCallableSpan()).get$asSassList()},$signature:27},A._replace_closure0.prototype={call$1(e){var t,r,n="selector",i="original",o="replacement",s=w.getInterceptor$asx(e),a=A.SassApiValue_assertSelector0(s.$index(e,0),!1,n);return a.assertNotBogus$1$name(n),(t=A.SassApiValue_assertSelector0(s.$index(e,1),!1,i)).assertNotBogus$1$name(i),(r=A.SassApiValue_assertSelector0(s.$index(e,2),!1,o)).assertNotBogus$1$name(o),s=A.EvaluationContext_currentOrNull0(),A.ExtensionStore__extendOrReplace0(a,r,t,C.ExtendMode_replace_1_replace0,(null==s?A.throwExpression(A.StateError$(P.No_Sass)):s).get$currentCallableSpan()).get$asSassList()},$signature:27},A._unify_closure0.prototype={call$1(e){var t,r="selector1",n="selector2",i=w.getInterceptor$asx(e),o=A.SassApiValue_assertSelector0(i.$index(e,0),!1,r);return o.assertNotBogus$1$name(r),(t=A.SassApiValue_assertSelector0(i.$index(e,1),!1,n)).assertNotBogus$1$name(n),null==(i=null==(i=o.unify$1(t))?null:i.get$asSassList())?C.C__SassNull0:i},$signature:3},A._isSuperselector_closure0.prototype={call$1(e){var t,r=w.getInterceptor$asx(e),n=A.SassApiValue_assertSelector0(r.$index(e,0),!1,"super");return n.assertNotBogus$1$name("super"),(t=A.SassApiValue_assertSelector0(r.$index(e,1),!1,"sub")).assertNotBogus$1$name("sub"),A.listIsSuperselector0(n.components,t.components)?C.SassBoolean_true0:C.SassBoolean_false0},$signature:13},A._simpleSelectors_closure0.prototype={call$1(e){var t=A.SassApiValue_assertCompoundSelector0(w.$index$asx(e,0),"selector").components;return A.SassList$0(new A.MappedListIterable(t,new A._simpleSelectors__closure0,A._arrayInstanceType(t)._eval$1("MappedListIterable<1,Value0>")),C.ListSeparator_z0K0,!1)},$signature:27},A._simpleSelectors__closure0.prototype={call$1:e=>new A.SassString0(A.serializeSelector0(e,!0),!1),$signature:592},A._parse_closure0.prototype={call$1:e=>A.SassApiValue_assertSelector0(w.$index$asx(e,0),!1,"selector").get$asSassList(),$signature:27},A.SelectorParser0.prototype={parse$0(e){return this.wrapSpanFormatException$1(new A.SelectorParser_parse_closure0(this))},parseCompoundSelector$0(){return this.wrapSpanFormatException$1(new A.SelectorParser_parseCompoundSelector_closure0(this))},_selector$_selectorList$0(){var e,t,r,n=this,i=n.scanner,o=i._string_scanner$_position,s=i._sourceFile,a=s.getLine$1(o),l=A._setArrayType([n._selector$_complexSelector$0()],D.JSArray_ComplexSelector_2);for(n.whitespace$1$consumeNewlines(!0),e=i.string.length;i.scanChar$1(44);)if(n.whitespace$1$consumeNewlines(!0),44!==i.peekChar$0()){if((t=i._string_scanner$_position)===e)break;(r=s.getLine$1(t)!==a)&&(a=s.getLine$1(i._string_scanner$_position)),l.push(n._selector$_complexSelector$1$lineBreak(r))}return A.SelectorList$0(l,n.spanFrom$1(new A._SpanScannerState(i,o)))},_selector$_complexSelector$1$lineBreak(e){var t,r,n,i,o,s,a=this,l="expected selector.",c=a.scanner,u=c._string_scanner$_position,d=new A._SpanScannerState(c,u),h=D.JSArray_CssValue_Combinator_2,p=A._setArrayType([],h),m=A._setArrayType([],D.JSArray_ComplexSelectorComponent_2);for(t=D.CssValue_Combinator_2,r=null,n=null;;)if(a.whitespace$1$consumeNewlines(!0),43!==(i=c.peekChar$0()))if(62!==i)if(126!==i){if(null==i)break;if(o=!0,91!==i&&46!==i&&35!==i&&37!==i&&58!==i&&38!==i&&42!==i&&124!==i&&(o=a.lookingAtIdentifier$0()),!o)break;null!=r?(o=a.spanFrom$1(d),(s=A.List_List$from(p,!1,t)).$flags=3,m.push(new A.ComplexSelectorComponent0(r,s,o))):0!==p.length&&(d=new A._SpanScannerState(c,c._string_scanner$_position),n=p),r=a._selector$_compoundSelector$0(),p=A._setArrayType([],h),38===c.peekChar$0()&&c.error$1(0,P.x22x26__ma)}else o=c._string_scanner$_position,c.readChar$0(),p.push(new A.CssValue0(C.Combinator_98W0,a.spanFrom$1(new A._SpanScannerState(c,o)),t));else o=c._string_scanner$_position,c.readChar$0(),p.push(new A.CssValue0(C.Combinator_iUF0,a.spanFrom$1(new A._SpanScannerState(c,o)),t));else o=c._string_scanner$_position,c.readChar$0(),p.push(new A.CssValue0(C.Combinator_sHB0,a.spanFrom$1(new A._SpanScannerState(c,o)),t));return(h=0!==p.length)&&a._selector$_plainCss?c.error$1(0,l):null!=r?(h=a.spanFrom$1(d),m.push(new A.ComplexSelectorComponent0(r,A.List_List$unmodifiable(p,t),h))):h?n=p:c.error$1(0,l),h=null==n?C.List_empty17:n,A.ComplexSelector$0(h,m,a.spanFrom$1(new A._SpanScannerState(c,u)),e)},_selector$_complexSelector$0(){return this._selector$_complexSelector$1$lineBreak(!1)},_selector$_compoundSelector$0(){var e,t=this,r=t.scanner,n=r._string_scanner$_position,i=A._setArrayType([t._selector$_simpleSelector$0()],D.JSArray_SimpleSelector_2);for(e=t._selector$_plainCss;t._selector$_isSimpleSelectorStart$1(r.peekChar$0());)i.push(t._selector$_simpleSelector$1$allowParent(e));return A.CompoundSelector$0(i,t.spanFrom$1(new A._SpanScannerState(r,n)))},_selector$_simpleSelector$1$allowParent(e){var t,r,n,i,o,s=this,a=s.scanner,l=new A._SpanScannerState(a,a._string_scanner$_position);switch(null==e&&(e=s._selector$_allowParent),a.peekChar$0()){case 91:return s._selector$_attributeSelector$0();case 46:return t=a._string_scanner$_position,a.expectChar$1(46),new A.ClassSelector0(s.identifier$0(),s.spanFrom$1(new A._SpanScannerState(a,t)));case 35:return t=a._string_scanner$_position,a.expectChar$1(35),new A.IDSelector0(s.identifier$0(),s.spanFrom$1(new A._SpanScannerState(a,t)));case 37:return t=a._string_scanner$_position,a.expectChar$1(37),r=s.identifier$0(),t=s.spanFrom$1(new A._SpanScannerState(a,t)),s._selector$_plainCss&&s.error$2(0,P.Placeh,s.spanFrom$1(l)),new A.PlaceholderSelector0(r,t);case 58:return s._selector$_pseudoSelector$0();case 38:return t=a._string_scanner$_position,a.expectChar$1(38),s.lookingAtIdentifierBody$0()?(n=new A.StringBuffer(""),s._parser1$_identifierBody$1(n),0===n._contents.length&&a.error$1(0,"Expected identifier body."),(i=n._contents).charCodeAt(0),o=i):o=null,s._selector$_plainCss&&null!=o&&a.error$3$length$position(0,P.Parent,a._string_scanner$_position-t,t),a=s.spanFrom$1(new A._SpanScannerState(a,t)),e||s.error$2(0,"Parent selectors aren't allowed here.",s.spanFrom$1(l)),new A.ParentSelector0(o,a);default:return s._selector$_typeOrUniversalSelector$0()}},_selector$_simpleSelector$0(){return this._selector$_simpleSelector$1$allowParent(null)},_selector$_attributeSelector$0(){var e,t,r,n,i,o=this,s=null,a=o.scanner,l=new A._SpanScannerState(a,a._string_scanner$_position);return a.expectChar$1(91),o.whitespace$1$consumeNewlines(!0),e=o._selector$_attributeName$0(),o.whitespace$1$consumeNewlines(!0),a.scanChar$1(93)?new A.AttributeSelector0(e,s,s,s,o.spanFrom$1(l)):(t=o._selector$_attributeOperator$0(),o.whitespace$1$consumeNewlines(!0),n=39===(r=a.peekChar$0())||34===r?o.string$0():o.identifier$0(),o.whitespace$1$consumeNewlines(!0),i=null!=(r=a.peekChar$0())&&A.CharacterExtension_get_isAlphabetic0(r)?A.Primitives_stringFromCharCode(a.readChar$0()):s,a.expectChar$1(93),new A.AttributeSelector0(e,t,n,i,o.spanFrom$1(l)))},_selector$_attributeName$0(){var e,t=this,r=t.scanner;return r.scanChar$1(42)?(r.expectChar$1(124),new A.QualifiedName0(t.identifier$0(),"*")):r.scanChar$1(124)?new A.QualifiedName0(t.identifier$0(),""):(e=t.identifier$0(),124!==r.peekChar$0()||61===r.peekChar$1(1)?new A.QualifiedName0(e,null):(r.readChar$0(),new A.QualifiedName0(t.identifier$0(),e)))},_selector$_attributeOperator$0(){var e=this.scanner,t=e._string_scanner$_position;switch(e.readChar$0()){case 61:return C.AttributeOperator_jFZ0;case 126:return e.expectChar$1(61),C.AttributeOperator_OrK0;case 124:return e.expectChar$1(61),C.AttributeOperator_g5B0;case 94:return e.expectChar$1(61),C.AttributeOperator_stc0;case 36:return e.expectChar$1(61),C.AttributeOperator_xJ90;case 42:return e.expectChar$1(61),C.AttributeOperator_h200;default:e.error$2$position(0,'Expected "]".',t)}},_selector$_pseudoSelector$0(){var e,t,r,n,i,o,s=this,a=null,l=s.scanner,c=new A._SpanScannerState(l,l._string_scanner$_position);return l.expectChar$1(58),e=l.scanChar$1(58),t=s.identifier$0(),l.scanChar$1(40)?(s.whitespace$1$consumeNewlines(!0),r=A.unvendor0(t),n=a,i=a,e?I.selectorPseudoElements0.contains$1(0,r)?i=s._selector$_selectorList$0():n=s.declarationValue$1$allowEmpty(!0):I.selectorPseudoClasses0.contains$1(0,r)?i=s._selector$_selectorList$0():"nth-child"===r||"nth-last-child"===r?(n=s._selector$_aNPlusB$0(),s.whitespace$1$consumeNewlines(!0),32!==(o=l.peekChar$1(-1))&&9!==o&&10!==o&&13!==o&&12!==o||41===l.peekChar$0()||(s.expectIdentifier$1("of"),n+=" of",s.whitespace$1$consumeNewlines(!0),i=s._selector$_selectorList$0())):n=C.JSString_methods.trimRight$0(s.declarationValue$1$allowEmpty(!0)),l.expectChar$1(41),A.PseudoSelector$0(t,s.spanFrom$1(c),n,e,i)):A.PseudoSelector$0(t,s.spanFrom$1(c),a,e,a)},_selector$_aNPlusB$0(){var e,t,r,n,i,o=this;if(101===(t=(e=o.scanner).peekChar$0())||69===t)return o.expectIdentifier$1("even"),"even";if(111===t||79===t)return o.expectIdentifier$1("odd"),"odd";if(r=43!==t&&45!==t?"":A.Primitives_stringFromCharCode(e.readChar$0()),null!=(n=e.peekChar$0())&&n>=48&&n<=57){do{r+=A.Primitives_stringFromCharCode(e.readChar$0()),n=e.peekChar$0()}while(null!=n&&n>=48&&n<=57);if(o.whitespace$1$consumeNewlines(!0),!o.scanIdentChar$1(110))return r.charCodeAt(0),r}else o.expectIdentChar$1(110);if(r+=A.Primitives_stringFromCharCode(110),o.whitespace$1$consumeNewlines(!0),43!==(i=e.peekChar$0())&&45!==i)return r.charCodeAt(0),r;r+=A.Primitives_stringFromCharCode(e.readChar$0()),o.whitespace$1$consumeNewlines(!0),null!=(n=e.peekChar$0())&&n>=48&&n<=57||e.error$1(0,"Expected a number.");do{r+=A.Primitives_stringFromCharCode(e.readChar$0()),n=e.peekChar$0()}while(null!=n&&n>=48&&n<=57);return r.charCodeAt(0),r},_selector$_typeOrUniversalSelector$0(){var e,t=this,r=t.scanner,n=new A._SpanScannerState(r,r._string_scanner$_position);return r.scanChar$1(42)?r.scanChar$1(124)?r.scanChar$1(42)?new A.UniversalSelector0("*",t.spanFrom$1(n)):new A.TypeSelector0(new A.QualifiedName0(t.identifier$0(),"*"),t.spanFrom$1(n)):new A.UniversalSelector0(null,t.spanFrom$1(n)):r.scanChar$1(124)?r.scanChar$1(42)?new A.UniversalSelector0("",t.spanFrom$1(n)):new A.TypeSelector0(new A.QualifiedName0(t.identifier$0(),""),t.spanFrom$1(n)):(e=t.identifier$0(),r.scanChar$1(124)?r.scanChar$1(42)?new A.UniversalSelector0(e,t.spanFrom$1(n)):new A.TypeSelector0(new A.QualifiedName0(t.identifier$0(),e),t.spanFrom$1(n)):new A.TypeSelector0(new A.QualifiedName0(e,null),t.spanFrom$1(n)))},_selector$_isSimpleSelectorStart$1(e){return 42===e||91===e||46===e||35===e||37===e||58===e||38===e&&this._selector$_plainCss}},A.SelectorParser_parse_closure0.prototype={call$0(){var e=this.$this,t=e._selector$_selectorList$0();return(e=e.scanner)._string_scanner$_position!==e.string.length&&e.error$1(0,"expected selector."),t},$signature:593},A.SelectorParser_parseCompoundSelector_closure0.prototype={call$0(){var e=this.$this,t=e._selector$_compoundSelector$0();return(e=e.scanner)._string_scanner$_position!==e.string.length&&e.error$1(0,"expected selector."),t},$signature:594},A.SelectorSearchVisitor0.prototype={visitAttributeSelector$1:(e,t)=>null,visitClassSelector$1:(e,t)=>null,visitIDSelector$1:(e,t)=>null,visitParentSelector$1:(e,t)=>null,visitPlaceholderSelector$1:(e,t)=>null,visitTypeSelector$1:(e,t)=>null,visitUniversalSelector$1:(e,t)=>null,visitComplexSelector$1(e){return A.IterableExtension_search0(e.components,new A.SelectorSearchVisitor_visitComplexSelector_closure0(this))},visitCompoundSelector$1(e){return A.IterableExtension_search0(e.components,new A.SelectorSearchVisitor_visitCompoundSelector_closure0(this))},visitPseudoSelector$1(e,t){return A.NullableExtension_andThen0(t.selector,this.get$visitSelectorList())},visitSelectorList$1(e){return A.IterableExtension_search0(e.components,this.get$visitComplexSelector())}},A.SelectorSearchVisitor_visitComplexSelector_closure0.prototype={call$1(e){return this.$this.visitCompoundSelector$1(e.selector)},$signature(){return A._instanceType(this.$this)._eval$1("SelectorSearchVisitor0.T?(ComplexSelectorComponent0)")}},A.SelectorSearchVisitor_visitCompoundSelector_closure0.prototype={call$1(e){return e.accept$1(this.$this)},$signature(){return A._instanceType(this.$this)._eval$1("SelectorSearchVisitor0.T?(SimpleSelector0)")}},A.serialize_closure0.prototype={call$1:e=>e>127,$signature:50},A._SerializeVisitor0.prototype={visitCssStylesheet$1(e){var t,r,n,i,o,s,a,l,c,u=this;for(t=w.get$iterator$ax(e.get$children(e)),r=!u._serialize0$_inspect,i=!(n=u._serialize0$_style===C.OutputStyle_10),o=D.CssParentNode_2,s=u._serialize0$_buffer,a=u._lineFeed.text,l=null;t.moveNext$0();)c=t.get$current(t),!!r&&(n?c.accept$1(C._IsInvisibleVisitor_true_true0):c.accept$1(C._IsInvisibleVisitor_true_false0))||(null!=l&&((o._is(l)?!l.get$isChildless():l instanceof A.ModifiableCssComment0)||s.writeCharCode$1(59),u._serialize0$_isTrailingComment$2(c,l)?i&&s.writeCharCode$1(32):(i&&s.write$1(0,a),l.get$isGroupEnd()&&i&&s.write$1(0,a))),c.accept$1(u),l=c);(t=null!=l&&((o._is(l)?l.get$isChildless():!(l instanceof A.ModifiableCssComment0))&&i))&&s.writeCharCode$1(59)},visitCssComment$1(e){this._serialize0$_buffer.forSpan$2(e.span,new A._SerializeVisitor_visitCssComment_closure0(this,e))},visitCssAtRule$1(e){var t,r=this;r._serialize0$_writeIndentation$0(),(t=r._serialize0$_buffer).forSpan$2(e.span,new A._SerializeVisitor_visitCssAtRule_closure0(r,e)),e.isChildless||(r._serialize0$_style!==C.OutputStyle_10&&t.writeCharCode$1(32),r._serialize0$_visitChildren$1(e))},visitCssMediaRule$1(e){var t,r=this;r._serialize0$_writeIndentation$0(),(t=r._serialize0$_buffer).forSpan$2(e.span,new A._SerializeVisitor_visitCssMediaRule_closure0(r,e)),r._serialize0$_style!==C.OutputStyle_10&&t.writeCharCode$1(32),r._serialize0$_visitChildren$1(e)},visitCssImport$1(e){this._serialize0$_writeIndentation$0(),this._serialize0$_buffer.forSpan$2(e.span,new A._SerializeVisitor_visitCssImport_closure0(this,e))},_serialize0$_writeImportUrl$1(e){var t,r,n=this;n._serialize0$_style===C.OutputStyle_10&&117===e.charCodeAt(0)?39===(r=(t=C.JSString_methods.substring$2(e,4,e.length-1)).charCodeAt(0))||34===r?n._serialize0$_buffer.write$1(0,t):n._serialize0$_visitQuotedString$1(t):n._serialize0$_buffer.write$1(0,e)},visitCssKeyframeBlock$1(e){var t,r=this;r._serialize0$_writeIndentation$0(),(t=r._serialize0$_buffer).forSpan$2(e.selector.span,new A._SerializeVisitor_visitCssKeyframeBlock_closure0(r,e)),r._serialize0$_style!==C.OutputStyle_10&&t.writeCharCode$1(32),r._serialize0$_visitChildren$1(e)},_serialize0$_visitMediaQuery$1(e){var t,r,n,i,o,s,a=this,l=e.modifier;null!=l&&((t=a._serialize0$_buffer).write$1(0,l),t.writeCharCode$1(32)),null!=(r=e.type)&&((t=a._serialize0$_buffer).write$1(0,r),0!==e.conditions.length&&t.write$1(0," and ")),(t=1===(n=e.conditions).length&&C.JSString_methods.startsWith$1(n[0],"(not "))?((t=a._serialize0$_buffer).write$1(0,"not "),i=C.JSArray_methods.get$first(n),t.write$1(0,C.JSString_methods.substring$2(i,5,i.length-1))):(o=e.conjunction?"and":"or",t=a._serialize0$_style===C.OutputStyle_10?o+" ":" "+o+" ",s=a._serialize0$_buffer,a._serialize0$_writeBetween$3(n,t,s.get$write(s)))},visitCssStyleRule$1(e){var t,r=this;r._serialize0$_writeIndentation$0(),(t=r._serialize0$_buffer).forSpan$2(e._style_rule0$_selector._box0$_inner.value.span,new A._SerializeVisitor_visitCssStyleRule_closure0(r,e)),r._serialize0$_style!==C.OutputStyle_10&&t.writeCharCode$1(32),r._serialize0$_visitChildren$1(e)},visitCssSupportsRule$1(e){var t,r=this;r._serialize0$_writeIndentation$0(),(t=r._serialize0$_buffer).forSpan$2(e.span,new A._SerializeVisitor_visitCssSupportsRule_closure0(r,e)),r._serialize0$_style!==C.OutputStyle_10&&t.writeCharCode$1(32),r._serialize0$_visitChildren$1(e)},visitCssDeclaration$1(e){var t,r,n,i,o,s=this;if(s._serialize0$_writeIndentation$0(),s._serialize0$_write$1(e.name),(o=s._serialize0$_buffer).writeCharCode$1(58),e.parsedAsSassScript){s._serialize0$_style!==C.OutputStyle_10&&o.writeCharCode$1(32);try{o.forSpan$2(e.valueSpanForMap,new A._SerializeVisitor_visitCssDeclaration_closure2(s,e))}catch(s){if((o=A.unwrapException(s))instanceof A.MultiSpanSassScriptException0)t=o,r=A.getTraceFromException(s),A.throwWithTrace0(A.MultiSpanSassException$0(t.message,e.value.span,t.primaryLabel,t.secondarySpans,null),t,r);else{if(!(o instanceof A.SassScriptException0))throw s;n=o,i=A.getTraceFromException(s),o=n.message,A.throwWithTrace0(new A.SassException0(C.Set_empty,o,e.value.span),n,i)}}}else o.forSpan$2(e.value.span,new A._SerializeVisitor_visitCssDeclaration_closure1(s,e))},_serialize0$_writeFoldedValue$1(e){var t,r,n,i,o=A.StringScanner$(D.SassString_2._as(e.value.value)._string0$_text,null,null);for(t=o.string.length,r=this._serialize0$_buffer;o._string_scanner$_position!==t;)if(10===(n=o.readChar$0()))for(r.writeCharCode$1(32);32===(i=o.peekChar$0())||9===i||10===i||13===i||12===i;)o.readChar$0();else r.writeCharCode$1(n)},_serialize0$_writeReindentedValue$1(e){var t,r,n=this,i=D.SassString_2._as(e.value.value)._string0$_text;null!=(t=n._serialize0$_minimumIndentation$1(i))?-1!==t?(r=(r=e.name.span).get$start(r),n._serialize0$_writeWithIndent$2(i,Math.min(t,r.file.getColumn$1(r.offset)))):((r=n._serialize0$_buffer).write$1(0,A.trimAsciiRight0(i,!0)),r.writeCharCode$1(32)):n._serialize0$_buffer.write$1(0,i)},_serialize0$_minimumIndentation$1(e){for(var t,r,n,i,o,s=A.LineScanner$(e),a=s.string.length;s._string_scanner$_position!==a?(t=s.super$StringScanner$readChar(),s._adjustLineAndColumn$1(t),r=10!==t):r=!1,r;);if(s._string_scanner$_position===a)return 10===s.peekChar$1(-1)?-1:null;for(n=null;s._string_scanner$_position!==a;){for(;s._string_scanner$_position!==a&&(32===(i=s.peekChar$0())||9===i);)s._adjustLineAndColumn$1(s.super$StringScanner$readChar());if(s._string_scanner$_position!==a&&!s.scanChar$1(10))for(o=s._line_scanner$_column,n=null==n?o:Math.min(n,o);s._string_scanner$_position!==a?(t=s.super$StringScanner$readChar(),s._adjustLineAndColumn$1(t),r=10!==t):r=!1,r;);}return null==n?-1:n},_serialize0$_writeWithIndent$2(e,t){var r,n,i,o,s,a,l,c=A.LineScanner$(e);for(n=(r=c.string).length,i=this._serialize0$_buffer;c._string_scanner$_position!==n&&(o=c.super$StringScanner$readChar(),c._adjustLineAndColumn$1(o),10!==o);)i.writeCharCode$1(o);for(;;){for(s=c._string_scanner$_position,a=1;;){if(c._string_scanner$_position===n)return void i.writeCharCode$1(32);if(o=c.super$StringScanner$readChar(),c._adjustLineAndColumn$1(o),32!==o&&9!==o){if(10!==o)break;s=c._string_scanner$_position,++a}}for(this._serialize0$_writeTimes$2(10,a),this._serialize0$_writeIndentation$0(),l=c._string_scanner$_position,i.write$1(0,C.JSString_methods.substring$2(r,s+t,l));;){if(c._string_scanner$_position===n)return;if(o=c.super$StringScanner$readChar(),c._adjustLineAndColumn$1(o),10===o)break;i.writeCharCode$1(o)}}},visitCalculation$1(e){var t,r=this,n=r._serialize0$_buffer;n.write$1(0,e.name),n.writeCharCode$1(40),t=r._serialize0$_style===C.OutputStyle_10?",":", ",r._serialize0$_writeBetween$3(e.$arguments,t,r.get$_serialize0$_writeCalculationValue()),n.writeCharCode$1(41)},_serialize0$_writeCalculationValue$1(e){var t,r,n,i,o,s,a,l,c,u,d,h=this;!(t=e instanceof A.SassNumber0)||isFinite(e._number1$_value)?t&&e.get$hasComplexUnits()?(h._serialize0$_writeNumber$1(e._number1$_value),(n=e.get$numeratorUnits(e)).length>=1?(i=n[0],o=C.JSArray_methods.sublist$1(n,1),h._serialize0$_buffer.write$1(0,i),h._serialize0$_writeCalculationUnits$2(o,e.get$denominatorUnits(e))):h._serialize0$_writeCalculationUnits$2(A._setArrayType([],D.JSArray_String),e.get$denominatorUnits(e))):e instanceof A.Value0?e.accept$1(h):(s=null,a=null,(t=e instanceof A.CalculationOperation0)?(l=e._calculation0$_operator,s=e._calculation0$_left,a=e._calculation0$_right):l=null,t&&((c=s instanceof A.CalculationOperation0&&s._calculation0$_operator.precedence<l.precedence)&&h._serialize0$_buffer.writeCharCode$1(40),h._serialize0$_writeCalculationValue$1(s),c&&h._serialize0$_buffer.writeCharCode$1(41),(u=h._serialize0$_style!==C.OutputStyle_10||1===l.precedence)&&h._serialize0$_buffer.writeCharCode$1(32),(t=h._serialize0$_buffer).write$1(0,l.operator),u&&t.writeCharCode$1(32),a instanceof A.CalculationOperation0&&h._serialize0$_parenthesizeCalculationRhs$2(l,a._calculation0$_operator)?d=!0:(d=!1,l===C.CalculationOperator_wFL0&&(d=a instanceof A.SassNumber0?isFinite(a._number1$_value)?a.get$hasComplexUnits():a.get$hasUnits():d)),d&&t.writeCharCode$1(40),h._serialize0$_writeCalculationValue$1(a),d&&t.writeCharCode$1(41))):(1/0!==(r=e._number1$_value)?-1/0!==r?isNaN(r)&&h._serialize0$_buffer.write$1(0,"NaN"):h._serialize0$_buffer.write$1(0,"-infinity"):h._serialize0$_buffer.write$1(0,"infinity"),h._serialize0$_writeCalculationUnits$2(e.get$numeratorUnits(e),e.get$denominatorUnits(e)))},_serialize0$_writeCalculationUnits$2(e,t){var r,n,i,o;for(r=w.get$iterator$ax(e),n=this._serialize0$_buffer,i=this._serialize0$_style!==C.OutputStyle_10;r.moveNext$0();)o=r.get$current(r),i&&n.writeCharCode$1(32),n.writeCharCode$1(42),i&&n.writeCharCode$1(32),n.writeCharCode$1(49),n.write$1(0,o);for(r=w.get$iterator$ax(t);r.moveNext$0();)o=r.get$current(r),i&&n.writeCharCode$1(32),n.writeCharCode$1(47),i&&n.writeCharCode$1(32),n.writeCharCode$1(49),n.write$1(0,o)},_serialize0$_parenthesizeCalculationRhs$2:(e,t)=>C.CalculationOperator_wFL0===e||C.CalculationOperator_dpX0!==e&&(t===C.CalculationOperator_dpX0||t===C.CalculationOperator_KrC0),visitColor$1(e){var t,r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b=this,y=null;t=e._color0$_space,n=y,i=!0,(r=C.RgbColorSpace_i0P0===t)?(o=y,s=!1):(s=!(o=C.HslColorSpace_JQ20===t))&&(i=n=C.HwbColorSpace_guQ0===t),i&&null!=e.channel0OrNull&&null!=e.channel1OrNull&&null!=e.channel2OrNull&&null!=e.alphaOrNull?b._serialize0$_writeLegacyColor$1(e):r?((i=b._serialize0$_buffer).write$1(0,"rgb("),b._serialize0$_writeChannel$1(e.channel0OrNull),i.writeCharCode$1(32),b._serialize0$_writeChannel$1(e.channel1OrNull),i.writeCharCode$1(32),b._serialize0$_writeChannel$1(e.channel2OrNull),b._serialize0$_maybeWriteSlashAlpha$1(e),i.writeCharCode$1(41)):(i=!!o||(s?n:C.HwbColorSpace_guQ0===t))?((i=b._serialize0$_buffer).write$1(0,t),i.writeCharCode$1(40),a=b._serialize0$_style===C.OutputStyle_10?y:"deg",b._serialize0$_writeChannel$2(e.channel0OrNull,a),i.writeCharCode$1(32),b._serialize0$_writeChannel$2(e.channel1OrNull,"%"),i.writeCharCode$1(32),b._serialize0$_writeChannel$2(e.channel2OrNull,"%"),b._serialize0$_maybeWriteSlashAlpha$1(e),i.writeCharCode$1(41)):((l=C.LabColorSpace_2nT0!==t)?i=c=C.LchColorSpace_Bpv0===t:(c=y,i=!0),a=!1,i?b._serialize0$_inspect?i=a:(null==(i=e.channel0OrNull)&&(i=0),i=!(i=!!(i>0||A.fuzzyEquals0(i,0))&&(i<100||A.fuzzyEquals0(i,100)))&&null!=e.channel1OrNull&&null!=e.channel2OrNull):i=a,d=y,(u=!i)?(i=!1,m=!1,(a=!(p=!(h=C.OklabColorSpace_5400===t))||(d=C.OklchColorSpace_9Gj0===t))?b._serialize0$_inspect?a=m:(null==(a=e.channel0OrNull)&&(a=0),a=!(a=!!(a>0||A.fuzzyEquals0(a,0))&&(a<1||A.fuzzyEquals0(a,1)))&&null!=e.channel1OrNull&&null!=e.channel2OrNull):a=m,a?(_=l,i=!0):(l?(a=c,_=l):(a=c=C.LchColorSpace_Bpv0===t,_=!0),a?a=!0:p?a=d:(a=d=C.OklchColorSpace_9Gj0===t,p=!0),a&&(b._serialize0$_inspect||((a=null==(i=e.channel1OrNull))&&(i=0),i=i<0&&!A.fuzzyEquals0(i,0)&&null!=e.channel0OrNull&&!a)))):(h=y,_=l,p=!1,i=!0),i?((i=b._serialize0$_buffer).write$1(0,"color-mix(in "),i.write$1(0,t),a=b._serialize0$_style===C.OutputStyle_10,i.write$1(0,a?",":", "),b._serialize0$_writeColorFunction$1(e.toSpace$1(C.XyzD65ColorSpace_WiJ0)),a||i.writeCharCode$1(32),i.write$1(0,"100%"),i.write$1(0,a?",":", "),i.write$1(0,a?"red":"black"),i.writeCharCode$1(41)):(i=!0,l&&((u?h:C.OklabColorSpace_5400===t)||(_?c:C.LchColorSpace_Bpv0===t)||(i=p?d:C.OklchColorSpace_9Gj0===t)),i?((i=b._serialize0$_buffer).write$1(0,t),i.writeCharCode$1(40),g=(a=t._space$_channels)[2].isPolarAngle,m=!1,b._serialize0$_inspect||(null==(f=e.channel0OrNull)&&(f=0),(f=!!(f>0||A.fuzzyEquals0(f,0))&&(f<100||A.fuzzyEquals0(f,100)))?g&&(null==(m=e.channel1OrNull)&&(m=0),m=m<0&&!A.fuzzyEquals0(m,0)):m=!0),m&&(i.write$1(0,"from "),i.write$1(0,b._serialize0$_style===C.OutputStyle_10?"red":"black"),i.writeCharCode$1(32)),f=(m=b._serialize0$_style!==C.OutputStyle_10)&&null!=e.channel0OrNull,v=e.channel0OrNull,f?(a=D.LinearChannel_2._as(a[0]),b._serialize0$_writeNumber$1(100*(null==v?0:v)/a.max),i.writeCharCode$1(37)):b._serialize0$_writeChannel$1(v),i.writeCharCode$1(32),b._serialize0$_writeChannel$1(e.channel1OrNull),i.writeCharCode$1(32),a=g&&m?"deg":y,b._serialize0$_writeChannel$2(e.channel2OrNull,a),b._serialize0$_maybeWriteSlashAlpha$1(e),i.writeCharCode$1(41)):b._serialize0$_writeColorFunction$1(e)))},_serialize0$_writeChannel$2(e,t){var r=this;null==e?r._serialize0$_buffer.write$1(0,"none"):isFinite(e)?(r._serialize0$_writeNumber$1(e),null!=t&&r._serialize0$_buffer.write$1(0,t)):r.visitNumber$1(A.SassNumber_SassNumber0(e,t))},_serialize0$_writeChannel$1(e){return this._serialize0$_writeChannel$2(e,null)},_serialize0$_writeLegacyColor$1(e){var t,r,n,i,o,s,a,l,c,u,d,h,p,m=this,_=e.alphaOrNull,g=null==_,f=A.fuzzyEquals0(g?0:_,1);if(e.get$isInGamut()||m._serialize0$_inspect){if(m._serialize0$_style===C.OutputStyle_10){if(t=e.toSpace$1(C.RgbColorSpace_i0P0),f&&m._serialize0$_tryIntegerRgb$1(t))return;return r=t.channel0OrNull,n=m._serialize0$_writeNumberToString$1(null==r?0:r),r=t.channel1OrNull,i=m._serialize0$_writeNumberToString$1(null==r?0:r),r=t.channel2OrNull,o=m._serialize0$_writeNumberToString$1(null==r?0:r),r=(s=e.toSpace$1(C.HslColorSpace_JQ20)).channel0OrNull,a=m._serialize0$_writeNumberToString$1(null==r?0:r),r=s.channel1OrNull,l=m._serialize0$_writeNumberToString$1(null==r?0:r),r=s.channel2OrNull,c=m._serialize0$_writeNumberToString$1(null==r?0:r),r=m._serialize0$_buffer,n.length+i.length+o.length<=a.length+l.length+c.length+2?(r.write$1(0,f?"rgb(":"rgba("),r.write$1(0,n),r.writeCharCode$1(44),r.write$1(0,i),r.writeCharCode$1(44),r.write$1(0,o)):(r.write$1(0,f?"hsl(":"hsla("),r.write$1(0,a),r.writeCharCode$1(44),r.write$1(0,l),r.write$1(0,"%,"),r.write$1(0,c),r.writeCharCode$1(37)),f||(r.writeCharCode$1(44),m._serialize0$_writeNumber$1(g?0:_)),void r.writeCharCode$1(41)}if((r=e._color0$_space)!==C.HslColorSpace_JQ20){if(m._serialize0$_inspect&&r===C.HwbColorSpace_guQ0)return(r=m._serialize0$_buffer).write$1(0,"hwb("),u=e.toSpace$1(C.HwbColorSpace_guQ0),m._serialize0$_writeNumber$1(u.channel$1(0,"hue")),r.writeCharCode$1(32),m._serialize0$_writeNumber$1(u.channel$1(0,"whiteness")),r.writeCharCode$1(37),r.writeCharCode$1(32),m._serialize0$_writeNumber$1(u.channel$1(0,"blackness")),r.writeCharCode$1(37),A.fuzzyEquals0(g?0:_,1)||(r.write$1(0," / "),m._serialize0$_writeNumber$1(g?0:_)),void r.writeCharCode$1(41);if(d=e.format,C.C__ColorFormatEnum0!==d)if(h=(_=d instanceof A.SpanColorFormat0)?d:null,_)m._serialize0$_buffer.write$1(0,h._color0$_span.get$text());else{if(f){if(t=e.toSpace$1(C.RgbColorSpace_i0P0),null!=(p=I.$get$namesByColor0().$index(0,t)))return void m._serialize0$_buffer.write$1(0,p);if(m._serialize0$_canUseHex$1(t))return m._serialize0$_buffer.writeCharCode$1(35),_=t.channel0OrNull,m._serialize0$_writeHexComponent$1(C.JSNumber_methods.round$0(null==_?0:_)),_=t.channel1OrNull,m._serialize0$_writeHexComponent$1(C.JSNumber_methods.round$0(null==_?0:_)),_=t.channel2OrNull,void m._serialize0$_writeHexComponent$1(C.JSNumber_methods.round$0(null==_?0:_))}r===C.HwbColorSpace_guQ0?m._serialize0$_writeHsl$1(e):m._serialize0$_writeRgb$1(e)}else m._serialize0$_writeRgb$1(e)}else m._serialize0$_writeHsl$1(e)}else m._serialize0$_writeHsl$1(e)},_serialize0$_tryIntegerRgb$1(e){var t,r,n,i,o,s,a,l,c=this;return!!c._serialize0$_canUseHex$1(e)&&(t=e.channel0OrNull,r=C.JSNumber_methods.round$0(null==t?0:t),t=e.channel1OrNull,n=C.JSNumber_methods.round$0(null==t?0:t),t=e.channel2OrNull,i=C.JSNumber_methods.round$0(null==t?0:t),o=(t=15&r)===C.JSInt_methods._shrOtherPositive$1(r,4)&&(15&n)===C.JSInt_methods._shrOtherPositive$1(n,4)&&(15&i)===C.JSInt_methods._shrOtherPositive$1(i,4),a=!1,null!=(s=I.$get$namesByColor0().$index(0,e))?(a=s.length<=(o?4:7),l=s):l=null,a?c._serialize0$_buffer.write$1(0,l):(a=c._serialize0$_buffer,o?(a.writeCharCode$1(35),a.writeCharCode$1(A.hexCharFor0(t)),a.writeCharCode$1(A.hexCharFor0(15&n)),a.writeCharCode$1(A.hexCharFor0(15&i))):(a.writeCharCode$1(35),c._serialize0$_writeHexComponent$1(r),c._serialize0$_writeHexComponent$1(n),c._serialize0$_writeHexComponent$1(i))),!0)},_serialize0$_canUseHex$1(e){var t,r=e.channel0OrNull;return null==r&&(r=0),t=!1,(r=!!A.fuzzyIsInt0(r)&&((r>0||A.fuzzyEquals0(r,0))&&r<256&&!A.fuzzyEquals0(r,256)))?(null==(r=e.channel1OrNull)&&(r=0),(r=!!A.fuzzyIsInt0(r)&&((r>0||A.fuzzyEquals0(r,0))&&r<256&&!A.fuzzyEquals0(r,256)))?(null==(r=e.channel2OrNull)&&(r=0),r=A.fuzzyIsInt0(r)?(r>0||A.fuzzyEquals0(r,0))&&r<256&&!A.fuzzyEquals0(r,256):t):r=t):r=t,r},_serialize0$_writeRgb$1(e){var t,r=this,n=e.alphaOrNull,i=null==n,o=A.fuzzyEquals0(i?0:n,1),s=e.toSpace$1(C.RgbColorSpace_i0P0),a=r._serialize0$_buffer;a.write$1(0,o?"rgb(":"rgba("),r._serialize0$_writeNumber$1(s.channel$1(0,"red")),t=r._serialize0$_style===C.OutputStyle_10,a.write$1(0,t?",":", "),r._serialize0$_writeNumber$1(s.channel$1(0,"green")),a.write$1(0,t?",":", "),r._serialize0$_writeNumber$1(s.channel$1(0,"blue")),o||(a.write$1(0,t?",":", "),r._serialize0$_writeNumber$1(i?0:n)),a.writeCharCode$1(41)},_serialize0$_writeHsl$1(e){var t,r=this,n=e.alphaOrNull,i=null==n,o=A.fuzzyEquals0(i?0:n,1),s=e.toSpace$1(C.HslColorSpace_JQ20),a=r._serialize0$_buffer;a.write$1(0,o?"hsl(":"hsla("),r._serialize0$_writeChannel$1(s.channel$1(0,"hue")),t=r._serialize0$_style===C.OutputStyle_10,a.write$1(0,t?",":", "),r._serialize0$_writeChannel$2(s.channel$1(0,"saturation"),"%"),a.write$1(0,t?",":", "),r._serialize0$_writeChannel$2(s.channel$1(0,"lightness"),"%"),o||(a.write$1(0,t?",":", "),r._serialize0$_writeNumber$1(i?0:n)),a.writeCharCode$1(41)},_serialize0$_writeColorFunction$1(e){var t=this,r=t._serialize0$_buffer;r.write$1(0,"color("),r.write$1(0,e._color0$_space),r.writeCharCode$1(32),t._serialize0$_writeBetween$3(e.get$channelsOrNull()," ",t.get$_serialize0$_writeChannel()),t._serialize0$_maybeWriteSlashAlpha$1(e),r.writeCharCode$1(41)},_serialize0$_writeHexComponent$1(e){var t=this._serialize0$_buffer;t.writeCharCode$1(A.hexCharFor0(C.JSInt_methods._shrOtherPositive$1(e,4))),t.writeCharCode$1(A.hexCharFor0(15&e))},_serialize0$_maybeWriteSlashAlpha$1(e){var t,r,n=this,i=e.alphaOrNull;A.fuzzyEquals0(null==i?0:i,1)||((t=n._serialize0$_style!==C.OutputStyle_10)&&n._serialize0$_buffer.writeCharCode$1(32),(r=n._serialize0$_buffer).writeCharCode$1(47),t&&r.writeCharCode$1(32),n._serialize0$_writeChannel$1(i))},visitList$1(e){var t,r,n,i,o,s=this,a=e._list1$_hasBrackets;if(a)s._serialize0$_buffer.writeCharCode$1(91);else if(0===e._list1$_contents.length){if(!s._serialize0$_inspect)throw A.wrapException(A.SassScriptException$0("() isn't a valid CSS value.",null));return void s._serialize0$_buffer.write$1(0,"()")}r=!1,(t=s._serialize0$_inspect)&&1===e._list1$_contents.length&&(r=n=(n=e._list1$_separator)===C.ListSeparator_z0K0||n===C.ListSeparator_Lul0),r&&!a&&s._serialize0$_buffer.writeCharCode$1(40),n=e._list1$_contents,n=t?n:new A.WhereIterable(n,new A._SerializeVisitor_visitList_closure2,A._arrayInstanceType(n)._eval$1("WhereIterable<1>")),i=e._list1$_separator,o=s._serialize0$_separatorString$1(i),s._serialize0$_writeBetween$3(n,o,t?new A._SerializeVisitor_visitList_closure3(s,e):new A._SerializeVisitor_visitList_closure4(s)),r&&((t=s._serialize0$_buffer).write$1(0,i.separator),a||t.writeCharCode$1(41)),a&&s._serialize0$_buffer.writeCharCode$1(93)},_serialize0$_separatorString$1(e){return C.ListSeparator_z0K0!==e?C.ListSeparator_Lul0!==e?C.ListSeparator_SrV0!==e?"":" ":this._serialize0$_style===C.OutputStyle_10?"/":" / ":this._serialize0$_style===C.OutputStyle_10?",":", "},_serialize0$_elementNeedsParens$2(e,t){var r;return r=t instanceof A.SassList0&&t._list1$_contents.length>1&&!t._list1$_hasBrackets&&(C.ListSeparator_z0K0!==e?C.ListSeparator_Lul0!==e?t._list1$_separator!==C.ListSeparator_undecided_null_3_undecided0:(r=t._list1$_separator)===C.ListSeparator_z0K0||r===C.ListSeparator_Lul0:t._list1$_separator===C.ListSeparator_z0K0)},visitMap$1(e){var t,r,n=this;if(!n._serialize0$_inspect)throw A.wrapException(A.SassScriptException$0(e.toString$0(0)+" isn't a valid CSS value.",null));(t=n._serialize0$_buffer).writeCharCode$1(40),r=e._map0$_contents,n._serialize0$_writeBetween$3(r.get$entries(r),", ",new A._SerializeVisitor_visitMap_closure0(n)),t.writeCharCode$1(41)},_serialize0$_writeMapElement$1(e){var t=e instanceof A.SassList0&&e._list1$_separator===C.ListSeparator_z0K0&&!e._list1$_hasBrackets;t&&this._serialize0$_buffer.writeCharCode$1(40),e.accept$1(this),t&&this._serialize0$_buffer.writeCharCode$1(41)},visitNumber$1(e){var t,r,n,i,o=this,s=e.asSlash;if(D.Record_2_nullable_Object_and_nullable_Object._is(s))return t=s._0,r=s._1,o.visitNumber$1(t),o._serialize0$_buffer.writeCharCode$1(47),void o.visitNumber$1(r);n=e._number1$_value,isFinite(n)?e.get$hasComplexUnits()?o.visitCalculation$1(new A.SassCalculation0("calc",A.List_List$unmodifiable(A._setArrayType([e],D.JSArray_Object),D.Object))):(o._serialize0$_writeNumber$1(n),1===(i=e.get$numeratorUnits(e)).length&&o._serialize0$_buffer.write$1(0,i[0])):o.visitCalculation$1(new A.SassCalculation0("calc",A.List_List$unmodifiable(A._setArrayType([e],D.JSArray_Object),D.Object)))},_serialize0$_writeNumberToString$1(e){var t=new A.StringBuffer("");return this._serialize0$_writeNumber$2(e,new A.NoSourceMapBuffer0(t)),(t=t._contents).charCodeAt(0),t},_serialize0$_writeNumber$2(e,t){var r,n,i,o,s=this;null==t&&(t=s._serialize0$_buffer),n=!1,null!=(r=A.fuzzyAsInt0(e))?(n=!s._serialize0$_inspect||e===r,i=r):i=null,n?t.write$1(0,s._serialize0$_removeExponent$1(w.toString$0$(i))):(o=s._serialize0$_removeExponent$1(C.JSNumber_methods.toString$0(e)),s._serialize0$_inspect?t.write$1(0,o):o.length<12?t.write$1(0,s._serialize0$_style===C.OutputStyle_10&&48===o.charCodeAt(0)?C.JSString_methods.substring$1(o,1):o):s._serialize0$_writeRounded$2(o,t))},_serialize0$_writeNumber$1(e){return this._serialize0$_writeNumber$2(e,null)},_serialize0$_removeExponent$1(e){for(var t,r,n,i,o=45===e.charCodeAt(0),s=A._Cell$(),a=e.length,l=0;;){if(!(l<a)){t=null;break}if(101===e.charCodeAt(l)){r=(t=new A.StringBuffer(""))._contents=A.Primitives_stringFromCharCode(e.charCodeAt(0)),o?(r+=A.Primitives_stringFromCharCode(e.charCodeAt(1)),t._contents=r,l>3&&(t._contents=r+C.JSString_methods.substring$2(e,3,l))):l>2&&(t._contents=r+C.JSString_methods.substring$2(e,2,l)),s.__late_helper$_value=A.int_parse(C.JSString_methods.substring$2(e,l+1,a),null);break}++l}if(null==t)return e;if(s._readLocal$0()>0){for(n=o?1:0,i=(a=s._readLocal$0())-((r=t._contents).length-1-n),a=r,l=0;l<i;++l)a=A.Primitives_stringFromCharCode(48),a=t._contents+=a;return a.charCodeAt(0),a}for(a=((o=45===e.charCodeAt(0))?A.Primitives_stringFromCharCode(45):"")+"0.",l=-1;(r=s.__late_helper$_value)===s&&A.throwExpression(A.LateError$localNI("")),l>r;)a+=A.Primitives_stringFromCharCode(48),--l;return o?(r=t._contents,r=C.JSString_methods.substring$1((r.charCodeAt(0),r),1)):r=t,(r=a+A.S(r)).charCodeAt(0),r},_serialize0$_writeRounded$2(e,t){var r,n,i,o,s,a,l,c,u,d,h,p;if(C.JSString_methods.endsWith$1(e,".0"))t.write$1(0,C.JSString_methods.substring$2(e,0,e.length-2));else{for(r=e.length,n=new Uint8Array(r+1),o=(i=45===e.charCodeAt(0))?1:0,s=1;;o=a,s=c){if(o===r)return void t.write$1(0,e);if(a=o+1,46===(l=e.charCodeAt(o))){o=a;break}c=s+1,n[s]=l-48}if((u=o+10)>=r)t.write$1(0,e);else{for(c=s;o<u;o=a,c=d)d=c+1,a=o+1,n[c]=e.charCodeAt(o)-48;if(e.charCodeAt(o)-48>=5)for(;h=n[d=c-1]+1,n[d]=h,10===h;c=d);for(;c<s;++c)n[c]=0;for(;(r=c>s)&&0===n[c-1];)--c;if(2!==c||0!==n[0]||0!==n[1]){for(i&&t.writeCharCode$1(45),p=0===n[0]?this._serialize0$_style===C.OutputStyle_10&&0===n[1]?2:1:0;p<s;++p)t.writeCharCode$1(48+n[p]);if(r)for(t.writeCharCode$1(46);p<c;++p)t.writeCharCode$1(48+n[p])}else t.writeCharCode$1(48)}}},_serialize0$_visitQuotedString$2$forceDoubleQuote(e,t){var r,n,i,o,s,a,l,c,u,d=this,h=t?d._serialize0$_buffer:new A.StringBuffer("");for(t&&h.writeCharCode$1(34),r=e.length,n=!1,i=!1,o=0;o<r;++o)if((a=39===(s=e.charCodeAt(o)))&&t)h.writeCharCode$1(39);else{if(a&&i)return void d._serialize0$_visitQuotedString$2$forceDoubleQuote(e,!0);if(a)h.writeCharCode$1(39),n=!0;else if((l=34===s)&&t)h.writeCharCode$1(92),h.writeCharCode$1(34);else{if(l&&n)return void d._serialize0$_visitQuotedString$2$forceDoubleQuote(e,!0);l?(h.writeCharCode$1(34),i=!0):0!==s&&1!==s&&2!==s&&3!==s&&4!==s&&5!==s&&6!==s&&7!==s&&8!==s&&10!==s&&11!==s&&12!==s&&13!==s&&14!==s&&15!==s&&16!==s&&17!==s&&18!==s&&19!==s&&20!==s&&21!==s&&22!==s&&23!==s&&24!==s&&25!==s&&26!==s&&27!==s&&28!==s&&29!==s&&30!==s&&31!==s&&127!==s?92!==s?null!=(c=d._serialize0$_tryPrivateUseCharacter$4(h,s,e,o))?o=c:h.writeCharCode$1(s):(h.writeCharCode$1(92),h.writeCharCode$1(92)):d._serialize0$_writeEscape$4(h,s,e,o)}}t?h.writeCharCode$1(34):(u=i?39:34,(r=d._serialize0$_buffer).writeCharCode$1(u),r.write$1(0,h),r.writeCharCode$1(u))},_serialize0$_visitQuotedString$1(e){return this._serialize0$_visitQuotedString$2$forceDoubleQuote(e,!1)},_serialize0$_visitUnquotedString$1(e){var t,r,n,i,o,s;for(t=e.length,r=this._serialize0$_buffer,n=!1,i=0;i<t;++i)10!==(o=e.charCodeAt(i))?32!==o?(null!=(s=this._serialize0$_tryPrivateUseCharacter$4(r,o,e,i))?i=s:r.writeCharCode$1(o),n=!1):n||r.writeCharCode$1(32):(r.writeCharCode$1(32),n=!0)},_serialize0$_tryPrivateUseCharacter$4(e,t,r,n){var i;return this._serialize0$_style===C.OutputStyle_10?null:t>=57344&&t<=63743?(this._serialize0$_writeEscape$4(e,t,r,n),n):t>>>7==439&&r.length>n+1?(i=n+1,this._serialize0$_writeEscape$4(e,A.combineSurrogates(t,r.charCodeAt(i)),r,i),i):null},_serialize0$_writeEscape$4(e,t,r,n){var i,o;e.writeCharCode$1(92),e.write$1(0,C.JSInt_methods.toRadixString$1(t,16)),i=n+1,r.length!==i&&(o=r.charCodeAt(i),(A.CharacterExtension_get_isHex0(o)||32===o||9===o)&&e.writeCharCode$1(32))},visitAttributeSelector$1(e,t){var r,n,i=this._serialize0$_buffer;i.writeCharCode$1(91),i.write$1(0,t.name),null!=(r=t.value)&&(i.write$1(0,t.op),A.Parser_isIdentifier0(r)&&!C.JSString_methods.startsWith$1(r,"--")?(i.write$1(0,r),null!=(n=t.modifier)&&i.writeCharCode$1(32)):(this._serialize0$_visitQuotedString$1(r),null!=(n=t.modifier)&&this._serialize0$_style!==C.OutputStyle_10&&i.writeCharCode$1(32)),A.NullableExtension_andThen0(n,i.get$write(i))),i.writeCharCode$1(93)},visitClassSelector$1(e,t){var r=this._serialize0$_buffer;r.writeCharCode$1(46),r.write$1(0,t.name)},visitComplexSelector$1(e){var t,r,n,i,o,s,a,l,c,u,d=this,h=e.leadingCombinators;for(d._serialize0$_writeCombinators$1(h),h.length>=1&&e.components.length>=1&&d._serialize0$_style!==C.OutputStyle_10&&d._serialize0$_buffer.writeCharCode$1(32),r=(t=(h=e.components).length)-1,n=d._serialize0$_buffer,o=!(i=d._serialize0$_style===C.OutputStyle_10),s=0;s<t;++s)a=h[s],d.visitCompoundSelector$1(a.selector),(c=0===(l=a.combinators).length)||o&&n.writeCharCode$1(32),u=i?"":" ",d._serialize0$_writeBetween$3(l,u,n.get$write(n)),(l=s!==r&&(!i||c))&&n.writeCharCode$1(32)},_serialize0$_writeCombinators$1(e){var t=this._serialize0$_style===C.OutputStyle_10?"":" ",r=this._serialize0$_buffer;return this._serialize0$_writeBetween$3(e,t,r.get$write(r))},visitCompoundSelector$1(e){var t,r,n,i=this._serialize0$_buffer,o=i.get$length(i);for(r=(t=e.components).length,n=0;n<r;++n)t[n].accept$1(this);i.get$length(i)===o&&i.writeCharCode$1(42)},visitIDSelector$1(e,t){var r=this._serialize0$_buffer;r.writeCharCode$1(35),r.write$1(0,t.name)},visitSelectorList$1(e){var t,r,n,i,o,s,a=this,l=e.components;for(t=w.get$iterator$ax(a._serialize0$_inspect?l:new A.WhereIterable(l,new A._SerializeVisitor_visitSelectorList_closure0,A._arrayInstanceType(l)._eval$1("WhereIterable<1>"))),r=a._serialize0$_style!==C.OutputStyle_10,n=a._serialize0$_buffer,i=a._lineFeed.text,o=!0;t.moveNext$0();)s=t.get$current(t),o?o=!1:(n.writeCharCode$1(44),s.lineBreak?(r&&n.write$1(0,i),a._serialize0$_writeIndentation$0()):r&&n.writeCharCode$1(32)),a.visitComplexSelector$1(s)},visitParentSelector$1(e,t){var r=this._serialize0$_buffer;r.writeCharCode$1(38),A.NullableExtension_andThen0(t.suffix,r.get$write(r))},visitPlaceholderSelector$1(e,t){var r=this._serialize0$_buffer;r.writeCharCode$1(37),r.write$1(0,t.name)},visitPseudoSelector$1(e,t){var r,n,i=t.name,o=!1;"not"===i&&(r=t.selector)instanceof A.SelectorList0&&(o=(null==r?D.SelectorList_2._as(r):r).accept$1(C._IsInvisibleVisitor_true0)),o||((o=this._serialize0$_buffer).writeCharCode$1(58),t.isSyntacticClass||o.writeCharCode$1(58),o.write$1(0,i),(n=null==(i=t.argument))&&null==t.selector||(o.writeCharCode$1(40),n||(o.write$1(0,i),null!=t.selector&&o.writeCharCode$1(32)),A.NullableExtension_andThen0(t.selector,this.get$visitSelectorList()),o.writeCharCode$1(41)))},visitTypeSelector$1(e,t){this._serialize0$_buffer.write$1(0,t.name)},visitUniversalSelector$1(e,t){var r,n=t.namespace;null!=n&&((r=this._serialize0$_buffer).write$1(0,n),r.writeCharCode$1(124)),this._serialize0$_buffer.writeCharCode$1(42)},_serialize0$_write$1(e){return this._serialize0$_buffer.forSpan$2(e.span,new A._SerializeVisitor__write_closure0(this,e))},_serialize0$_visitChildren$1(e){var t,r,n,i,o,s,a,l,c,u,d,h,p,m=this,_=m._serialize0$_buffer;for(_.writeCharCode$1(123),r=(t=e.children).$ti,t=new A.ListIterator(t,t.get$length(0),r._eval$1("ListIterator<ListBase.E>")),i=!(n=m._serialize0$_style===C.OutputStyle_10),o=m.get$_serialize0$_requiresSemicolon(),s=!m._serialize0$_inspect,r=r._eval$1("ListBase.E"),a=m._lineFeed.text,l=null,c=null;t.moveNext$0();)d=null==(u=t.__internal$_current)?r._as(u):u,(u=!!s&&(n?d.accept$1(C._IsInvisibleVisitor_true_true0):d.accept$1(C._IsInvisibleVisitor_true_false0)))||(null!=(h=(u=null==c)?null:o.call$1(c))&&h&&_.writeCharCode$1(59),m._serialize0$_isTrailingComment$2(d,u?e:c)?(i&&_.writeCharCode$1(32),p=m._serialize0$_indentation,m._serialize0$_indentation=0,new A._SerializeVisitor__visitChildren_closure1(m,d).call$0(),m._serialize0$_indentation=p):(i&&_.write$1(0,a),++m._serialize0$_indentation,new A._SerializeVisitor__visitChildren_closure2(m,d).call$0(),--m._serialize0$_indentation),l=c,c=d);null!=c&&((D.CssParentNode_2._is(c)?!c.get$isChildless():c instanceof A.ModifiableCssComment0)||!i||_.writeCharCode$1(59),null==l&&m._serialize0$_isTrailingComment$2(c,e)?i&&_.writeCharCode$1(32):(m._serialize0$_writeLineFeed$0(),m._serialize0$_writeIndentation$0())),_.writeCharCode$1(125)},_serialize0$_requiresSemicolon$1:e=>D.CssParentNode_2._is(e)?e.get$isChildless():!(e instanceof A.ModifiableCssComment0),_serialize0$_isTrailingComment$2(e,t){var r,n,i,o,s,a,l;return this._serialize0$_style!==C.OutputStyle_10&&(e instanceof A.ModifiableCssComment0&&(n=(r=e.span).get$sourceUrl(r),i=t.get$span(t),!!w.$eq$(n,i.get$sourceUrl(i))&&(n=t.get$span(t),w.$eq$(n.get$file(n).url,r.get$file(r).url)&&n.get$start(n).offset<=r.get$start(r).offset&&n.get$end(n).offset>=r.get$end(r).offset?(n=r.get$start(r),i=t.get$span(t),!((o=n.offset-i.get$start(i).offset-1)<0)&&(s=Math.max(0,C.JSString_methods.lastIndexOf$2(t.get$span(t).get$text(),"{",o)),n=(n=t.get$span(t)).get$file(n),i=(i=t.get$span(t)).get$start(i),a=t.get$span(t),l=n.span$2(0,i.offset,a.get$start(a).offset+s),(r=(r=r.get$start(r)).file.getLine$1(r.offset))===(a=A.FileLocation$_(l.file,l._end)).file.getLine$1(a.offset))):(r=(r=r.get$start(r)).file.getLine$1(r.offset))===(n=(n=t.get$span(t)).get$end(n)).file.getLine$1(n.offset))))},_serialize0$_writeLineFeed$0(){this._serialize0$_style!==C.OutputStyle_10&&this._serialize0$_buffer.write$1(0,this._lineFeed.text)},_serialize0$_writeIndentation$0(){var e=this;e._serialize0$_style!==C.OutputStyle_10&&e._serialize0$_writeTimes$2(e._serialize0$_indentCharacter,e._serialize0$_indentation*e._serialize0$_indentWidth)},_serialize0$_writeTimes$2(e,t){var r,n;for(r=this._serialize0$_buffer,n=0;n<t;++n)r.writeCharCode$1(e)},_serialize0$_writeBetween$1$3(e,t,r){var n,i,o,s;for(n=w.get$iterator$ax(e),i=this._serialize0$_buffer,o=!0;n.moveNext$0();)s=n.get$current(n),o?o=!1:i.write$1(0,t),r.call$1(s)},_serialize0$_writeBetween$3(e,t,r){return this._serialize0$_writeBetween$1$3(e,t,r,D.dynamic)}},A._SerializeVisitor_visitCssComment_closure0.prototype={call$0(){var e,t,r,n,i=this.$this;i._serialize0$_style===C.OutputStyle_10&&33!==this.node.text.charCodeAt(2)||(t=(e=this.node).text,C.JSString_methods.startsWith$1(t,A.RegExp_RegExp("/\\*# source(Mapping)?URL=",!1))||(null!=(r=i._serialize0$_minimumIndentation$1(t))?(e=(e=e.span).get$start(e),n=Math.min(r,e.file.getColumn$1(e.offset)),i._serialize0$_writeIndentation$0(),i._serialize0$_writeWithIndent$2(t,n)):(i._serialize0$_writeIndentation$0(),i._serialize0$_buffer.write$1(0,t))))},$signature:1},A._SerializeVisitor_visitCssAtRule_closure0.prototype={call$0(){var e,t,r=this.$this,n=r._serialize0$_buffer;n.writeCharCode$1(64),e=this.node,r._serialize0$_write$1(e.name),null!=(t=e.value)&&(n.writeCharCode$1(32),r._serialize0$_write$1(t))},$signature:1},A._SerializeVisitor_visitCssMediaRule_closure0.prototype={call$0(){var e,t,r,n,i=this.$this,o=i._serialize0$_buffer;o.write$1(0,"@media"),e=this.node.queries,t=C.JSArray_methods.get$first(e),n=!0,(r=i._serialize0$_style===C.OutputStyle_10)&&null==t.modifier&&null==t.type&&(n=1===(n=t.conditions).length&&C.JSString_methods.startsWith$1(C.JSArray_methods.get$first(n),"(not ")),n&&o.writeCharCode$1(32),o=r?",":", ",i._serialize0$_writeBetween$3(e,o,i.get$_serialize0$_visitMediaQuery())},$signature:1},A._SerializeVisitor_visitCssImport_closure0.prototype={call$0(){var e,t,r,n=this.$this,i=n._serialize0$_buffer;i.write$1(0,"@import"),(e=n._serialize0$_style!==C.OutputStyle_10)&&i.writeCharCode$1(32),t=this.node,i.forSpan$2(t.url.span,new A._SerializeVisitor_visitCssImport__closure0(n,t)),null!=(r=t.modifiers)&&(e&&i.writeCharCode$1(32),i.write$1(0,r))},$signature:1},A._SerializeVisitor_visitCssImport__closure0.prototype={call$0(){return this.$this._serialize0$_writeImportUrl$1(this.node.url.value)},$signature:0},A._SerializeVisitor_visitCssKeyframeBlock_closure0.prototype={call$0(){var e=this.$this,t=e._serialize0$_style===C.OutputStyle_10?",":", ",r=e._serialize0$_buffer;return e._serialize0$_writeBetween$3(this.node.selector.value,t,r.get$write(r))},$signature:0},A._SerializeVisitor_visitCssStyleRule_closure0.prototype={call$0(){return this.$this.visitSelectorList$1(this.node._style_rule0$_selector._box0$_inner.value)},$signature:0},A._SerializeVisitor_visitCssSupportsRule_closure0.prototype={call$0(){var e=this.$this,t=e._serialize0$_buffer;t.write$1(0,"@supports"),e._serialize0$_style===C.OutputStyle_10&&40===this.node.condition.value.charCodeAt(0)||t.writeCharCode$1(32),e._serialize0$_write$1(this.node.condition)},$signature:1},A._SerializeVisitor_visitCssDeclaration_closure1.prototype={call$0(){var e=this.$this,t=this.node;e._serialize0$_style===C.OutputStyle_10?e._serialize0$_writeFoldedValue$1(t):e._serialize0$_writeReindentedValue$1(t)},$signature:1},A._SerializeVisitor_visitCssDeclaration_closure2.prototype={call$0(){return this.node.value.value.accept$1(this.$this)},$signature:0},A._SerializeVisitor_visitList_closure2.prototype={call$1:e=>!e.get$isBlank(),$signature:56},A._SerializeVisitor_visitList_closure3.prototype={call$1(e){var t=this.$this,r=t._serialize0$_elementNeedsParens$2(this.value._list1$_separator,e);r&&t._serialize0$_buffer.writeCharCode$1(40),e.accept$1(t),r&&t._serialize0$_buffer.writeCharCode$1(41)},$signature:63},A._SerializeVisitor_visitList_closure4.prototype={call$1(e){e.accept$1(this.$this)},$signature:63},A._SerializeVisitor_visitMap_closure0.prototype={call$1(e){var t=this.$this;t._serialize0$_writeMapElement$1(e.key),t._serialize0$_buffer.write$1(0,": "),t._serialize0$_writeMapElement$1(e.value)},$signature:597},A._SerializeVisitor_visitSelectorList_closure0.prototype={call$1:e=>!e.accept$1(C._IsInvisibleVisitor_true0),$signature:22},A._SerializeVisitor__write_closure0.prototype={call$0(){return this.$this._serialize0$_buffer.write$1(0,this.value.value)},$signature:0},A._SerializeVisitor__visitChildren_closure1.prototype={call$0(){return this.child.accept$1(this.$this)},$signature:0},A._SerializeVisitor__visitChildren_closure2.prototype={call$0(){this.child.accept$1(this.$this)},$signature:0},A.OutputStyle0.prototype={_enumToString$0(){return"OutputStyle."+this._name}},A.LineFeed0.prototype={_enumToString$0(){return"LineFeed."+this._name},toString$0(e){return this.name}},A.JSSet.prototype={},A.ShadowedModuleView0.prototype={get$url(e){var t=this._shadowed_view0$_inner;return t.get$url(t)},get$upstream(){return this._shadowed_view0$_inner.get$upstream()},get$extensionStore(){return this._shadowed_view0$_inner.get$extensionStore()},get$css(e){var t=this._shadowed_view0$_inner;return t.get$css(t)},get$preModuleComments(){return this._shadowed_view0$_inner.get$preModuleComments()},get$transitivelyContainsCss(){return this._shadowed_view0$_inner.get$transitivelyContainsCss()},get$transitivelyContainsExtensions(){return this._shadowed_view0$_inner.get$transitivelyContainsExtensions()},setVariable$3(e,t,r){if(!this.variables.containsKey$1(e))throw A.wrapException(A.SassScriptException$0("Undefined variable.",null));this._shadowed_view0$_inner.setVariable$3(e,t,r)},variableIdentity$1(e){return this._shadowed_view0$_inner.variableIdentity$1(e)},couldHaveBeenConfigured$1(e){var t,r,n=this.variables,i=this._shadowed_view0$_inner;if(n===i.get$variables())n=i.couldHaveBeenConfigured$1(e);else{for(t=A.LinkedHashSet_LinkedHashSet$_empty(D.String),n=(n=n.get$keys(n)).get$iterator(n);n.moveNext$0();)r=n.get$current(n),e.contains$1(0,r)&&t.add$1(0,r);n=i.couldHaveBeenConfigured$1(t)}return n},$eq(e,t){var r,n,i,o=this;return null!=t&&(r=!1,t instanceof A.ShadowedModuleView0&&o._shadowed_view0$_inner.$eq(0,t._shadowed_view0$_inner)&&(n=(n=o.variables).get$keys(n),i=t.variables,C.C_IterableEquality.equals$2(0,n,i.get$keys(i))&&(n=(n=o.functions).get$keys(n),i=t.functions,C.C_IterableEquality.equals$2(0,n,i.get$keys(i))&&(r=(r=o.mixins).get$keys(r),n=t.mixins,r=n=C.C_IterableEquality.equals$2(0,r,n.get$keys(n))))),r)},get$hashCode(e){var t=this._shadowed_view0$_inner;return t.get$hashCode(t)},cloneCss$0(){var e=this;return new A.ShadowedModuleView0(e._shadowed_view0$_inner.cloneCss$0(),e.variables,e.variableNodes,e.functions,e.mixins,e.$ti)},toString$0(e){return"shadowed "+this._shadowed_view0$_inner.toString$0(0)},$isModule1:1,get$variables(){return this.variables},get$variableNodes(){return this.variableNodes},get$functions(e){return this.functions},get$mixins(){return this.mixins}},A.SilentComment0.prototype={accept$1$1(e){return e.visitSilentComment$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return this.text},get$span(e){return this.span}},A.InterpolatedSimpleSelector.prototype={},A.SimpleSelector0.prototype={get$specificity:()=>1e3,get$hasComplicatedSuperselectorSemantics:()=>!1,addSuffix$1(e){return A.throwExpression(A.MultiSpanSassException$0('Selector "'+this.toString$0(0)+"\" can't have a suffix",this.span,"outer selector",A.LinkedHashMap_LinkedHashMap$_empty(D.FileSpan,D.String),null))},unify$1(e){var t,r,n,i,o,s=this,a=!1;if(1===e.length?(t=e[0])instanceof A.UniversalSelector0?a=!0:t instanceof A.PseudoSelector0&&(a=t.isClass&&"host"===t.name||t.get$isHostContext()):t=null,a)return t.unify$1(A._setArrayType([s],D.JSArray_SimpleSelector_2));if(C.JSArray_methods.contains$1(e,s))return e;for(r=A._setArrayType([],D.JSArray_SimpleSelector_2),a=e.length,n=!1,i=0;i<e.length;e.length===a||(0,A.throwConcurrentModificationError)(e),++i)o=e[i],!n&&o instanceof A.PseudoSelector0&&(r.push(s),n=!0),r.push(o);return n||r.push(s),r},isSuperselector$1(e){var t;return!!this.$eq(0,e)||!!(e instanceof A.PseudoSelector0&&e.isClass&&null!=(t=e.selector)&&I._subselectorPseudos0.contains$1(0,e.normalizedName))&&C.JSArray_methods.every$1(t.components,new A.SimpleSelector_isSuperselector_closure0(this))}},A.SimpleSelector_isSuperselector_closure0.prototype={call$1(e){var t=e.components;return 0!==t.length&&C.JSArray_methods.any$1(C.JSArray_methods.get$last(t).selector.components,new A.SimpleSelector_isSuperselector__closure0(this.$this))},$signature:22},A.SimpleSelector_isSuperselector__closure0.prototype={call$1(e){return this.$this.isSuperselector$1(e)},$signature:15},A.JSSimpleSelectorVisitor.prototype={visitSelectorList$1(e){return this._simpleSelectorError$0()},visitComplexSelector$1(e){return this._simpleSelectorError$0()},visitCompoundSelector$1(e){return this._simpleSelectorError$0()},_simpleSelectorError$0:()=>A.throwExpression(A.UnsupportedError$("SimpleSelectorVisitor only supports SimpleSelectors")),$isInterpolatedSelectorVisitor:1},A.JSSimpleSelectorVisitorObject.prototype={},A.SingleUnitSassNumber0.prototype={get$numeratorUnits(e){return A.List_List$unmodifiable([this._single_unit$_unit],D.String)},get$denominatorUnits:e=>C.List_empty,get$hasUnits:()=>!0,get$hasComplexUnits:()=>!1,withValue$1(e){return new A.SingleUnitSassNumber0(this._single_unit$_unit,e,null)},withSlash$2(e,t){return new A.SingleUnitSassNumber0(this._single_unit$_unit,this._number1$_value,new A._Record_2(e,t))},hasUnit$1(e){return e===this._single_unit$_unit},hasCompatibleUnits$1(e){return e instanceof A.SingleUnitSassNumber0&&null!=A.conversionFactor0(this._single_unit$_unit,e._single_unit$_unit)},hasPossiblyCompatibleUnits$1(e){var t,r,n;return e instanceof A.SingleUnitSassNumber0&&(null==(r=(t=I.$get$_knownCompatibilitiesByUnit0()).$index(0,this._single_unit$_unit.toLowerCase()))||(n=e._single_unit$_unit.toLowerCase(),r.contains$1(0,n)||!t.containsKey$1(n)))},compatibleWithUnit$1(e){return null!=A.conversionFactor0(this._single_unit$_unit,e)},coerceToMatch$3(e,t,r){var n=e instanceof A.SingleUnitSassNumber0?this._single_unit$_coerceToUnit$1(e._single_unit$_unit):null;return null==n?this.super$SassNumber$coerceToMatch0(e,t,r):n},coerceToMatch$1(e){return this.coerceToMatch$3(e,null,null)},coerceValueToMatch$3(e,t,r){var n=e instanceof A.SingleUnitSassNumber0?this._single_unit$_coerceValueToUnit$1(e._single_unit$_unit):null;return null==n?this.super$SassNumber$coerceValueToMatch0(e,t,r):n},coerceValueToMatch$1(e){return this.coerceValueToMatch$3(e,null,null)},convertToMatch$3(e,t,r){var n=e instanceof A.SingleUnitSassNumber0?this._single_unit$_coerceToUnit$1(e._single_unit$_unit):null;return null==n?this.super$SassNumber$convertToMatch(e,t,r):n},convertValueToMatch$3(e,t,r){var n=e instanceof A.SingleUnitSassNumber0?this._single_unit$_coerceValueToUnit$1(e._single_unit$_unit):null;return null==n?this.super$SassNumber$convertValueToMatch0(e,t,r):n},convertValueToMatch$1(e){return this.convertValueToMatch$3(e,null,null)},coerce$3(e,t,r){var n=w.getInterceptor$asx(e);return null==(n=1===n.get$length(e)&&w.get$isEmpty$asx(t)?this._single_unit$_coerceToUnit$1(n.$index(e,0)):null)?this.super$SassNumber$coerce0(e,t,r):n},coerce$2(e,t){return this.coerce$3(e,t,null)},coerceValue$3(e,t,r){var n=w.getInterceptor$asx(e);return null==(n=1===n.get$length(e)&&w.get$isEmpty$asx(t)?this._single_unit$_coerceValueToUnit$1(n.$index(e,0)):null)?this.super$SassNumber$coerceValue0(e,t,r):n},coerceValueToUnit$2(e,t){var r=this._single_unit$_coerceValueToUnit$1(e);return null==r?this.super$SassNumber$coerceValueToUnit0(e,t):r},coerceValueToUnit$1(e){return this.coerceValueToUnit$2(e,null)},_single_unit$_coerceToUnit$1(e){var t=this._single_unit$_unit;return t===e?this:A.NullableExtension_andThen0(A.conversionFactor0(e,t),new A.SingleUnitSassNumber__coerceToUnit_closure0(this,e))},_single_unit$_coerceValueToUnit$1(e){return A.NullableExtension_andThen0(A.conversionFactor0(e,this._single_unit$_unit),new A.SingleUnitSassNumber__coerceValueToUnit_closure0(this))},multiplyUnits$3(e,t,r){var n,i={};return i.value=e,i.newNumerators=t,n=A._setArrayType(r.slice(0),A._arrayInstanceType(r)),A.removeFirstWhere0(n,new A.SingleUnitSassNumber_multiplyUnits_closure1(i,this),new A.SingleUnitSassNumber_multiplyUnits_closure2(i,this)),A.SassNumber_SassNumber$withUnits0(i.value,n,i.newNumerators)},unaryMinus$0(){return new A.SingleUnitSassNumber0(this._single_unit$_unit,-this._number1$_value,null)},$eq(e,t){var r;return null!=t&&(t instanceof A.SingleUnitSassNumber0&&(null!=(r=A.conversionFactor0(t._single_unit$_unit,this._single_unit$_unit))&&A.fuzzyEquals0(this._number1$_value*r,t._number1$_value)))},get$hashCode(e){var t=this,r=t.hashCache;return null==r?t.hashCache=A.fuzzyHashCode0(t._number1$_value*t.canonicalMultiplierForUnit$1(t._single_unit$_unit)):r}},A.SingleUnitSassNumber__coerceToUnit_closure0.prototype={call$1(e){return new A.SingleUnitSassNumber0(this.unit,this.$this._number1$_value*e,null)},$signature:598},A.SingleUnitSassNumber__coerceValueToUnit_closure0.prototype={call$1(e){return this.$this._number1$_value*e},$signature:12},A.SingleUnitSassNumber_multiplyUnits_closure1.prototype={call$1(e){var t=A.conversionFactor0(e,this.$this._single_unit$_unit);return null!=t&&(this._box_0.value*=t,!0)},$signature:4},A.SingleUnitSassNumber_multiplyUnits_closure2.prototype={call$0(){var e=A._setArrayType([this.$this._single_unit$_unit],D.JSArray_String),t=this._box_0;C.JSArray_methods.addAll$1(e,t.newNumerators),t.newNumerators=e},$signature:0},A.SourceInterpolationVisitor.prototype={visitBinaryOperationExpression$1(e,t){return this.buffer=null},visitBooleanExpression$1(e,t){return this.buffer=null},visitColorExpression$1(e,t){var r,n=this.buffer;return null!=n&&(r=t.span.get$text(),(n=n._interpolation_buffer0$_text)._contents+=r),null},visitFunctionExpression$1(e,t){return this.buffer=null},visitInterpolatedFunctionExpression$1(e,t){var r=this.buffer;null!=r&&r.addInterpolation$1(t.name),this._visitArguments$1(t.$arguments)},_visitArguments$1(e){var t,r,n=this,i=e.named;i.get$isNotEmpty(i)||null!=e.rest||(0!==(i=e.positional).length?(null!=(t=n.buffer)&&(r=C.JSArray_methods.get$first(i),r=A.SpanExtensions_before(e.span,r.get$span(r)),r=A.String_String$fromCharCodes(C.NativeUint32List_methods.sublist$2(r.file._decodedChars,r._file$_start,r._end),0,null),(t=t._interpolation_buffer0$_text)._contents+=r),n._writeListAndBetween$2(i,new A.SourceInterpolationVisitor__visitArguments_closure(n)),null!=(t=n.buffer)&&(i=C.JSArray_methods.get$last(i),i=A.SpanExtensions_after(e.span,i.get$span(i)),i=A.String_String$fromCharCodes(C.NativeUint32List_methods.sublist$2(i.file._decodedChars,i._file$_start,i._end),0,null),(t=t._interpolation_buffer0$_text)._contents+=i)):null!=(i=n.buffer)&&(t=e.span.get$text(),(i=i._interpolation_buffer0$_text)._contents+=t))},visitIfExpression$1(e,t){var r,n,i,o,s,a,l,c,u,d,h,p,m,_=this,g=null;for(n=(r=t.branches).length,i=t.span,o=g,s=0;s<n;++s)l=(a=r[s])._0,c=a._1,null==(u=(a=null==l)?g:l.get$span(l))&&(u=c.get$span(c)),null!=(d=_.buffer)&&(null==(h=null==o?g:A.SpanExtensions_between(o,u))&&(h=A.SpanExtensions_before(i,u)),p=h._file$_start,m=h.file._decodedChars,m=A.String_String$fromCharCodes(new Uint32Array(m.subarray(p,A._checkValidRange(p,h._end,m.length))),0,g),(d=d._interpolation_buffer0$_text)._contents+=m),a||(l.accept$1(_),null!=(a=_.buffer)&&(h=(d=A.SpanExtensions_between(l.get$span(l),c.get$span(c)))._file$_start,p=d.file._decodedChars,p=A.String_String$fromCharCodes(new Uint32Array(p.subarray(h,A._checkValidRange(h,d._end,p.length))),0,g),(a=a._interpolation_buffer0$_text)._contents+=p)),c.accept$1(_),o=c.get$span(c)},visitIfConditionParenthesized$1(e,t){var r,n=this.buffer;null!=n&&(r=t.expression,r=A.SpanExtensions_before(t.span,r.get$span(r)),r=A.String_String$fromCharCodes(C.NativeUint32List_methods.sublist$2(r.file._decodedChars,r._file$_start,r._end),0,null),(n=n._interpolation_buffer0$_text)._contents+=r),(n=t.expression).accept$1(this),null!=(r=this.buffer)&&(n=A.SpanExtensions_after(t.span,n.get$span(n)),n=A.String_String$fromCharCodes(C.NativeUint32List_methods.sublist$2(n.file._decodedChars,n._file$_start,n._end),0,null),(r=r._interpolation_buffer0$_text)._contents+=n)},visitIfConditionNegation$1(e,t){var r,n=this.buffer;null!=n&&(r=t.expression,r=A.SpanExtensions_before(t.span,r.get$span(r)),r=A.String_String$fromCharCodes(C.NativeUint32List_methods.sublist$2(r.file._decodedChars,r._file$_start,r._end),0,null),(n=n._interpolation_buffer0$_text)._contents+=r),t.expression.accept$1(this)},visitIfConditionOperation$1(e,t){this._writeListAndBetween$2(t.expressions,new A.SourceInterpolationVisitor_visitIfConditionOperation_closure(this))},visitIfConditionFunction$1(e,t){var r,n=this,i=n.buffer;null!=i&&i.addInterpolation$1(t.name),null!=(i=n.buffer)&&(r=A.SpanExtensions_between(t.name.span,t.$arguments.span),r=A.String_String$fromCharCodes(C.NativeUint32List_methods.sublist$2(r.file._decodedChars,r._file$_start,r._end),0,null),(i=i._interpolation_buffer0$_text)._contents+=r),null!=(i=n.buffer)&&i.addInterpolation$1(t.$arguments),null!=(i=n.buffer)&&(r=A.SpanExtensions_after(t.span,t.$arguments.span),r=A.String_String$fromCharCodes(C.NativeUint32List_methods.sublist$2(r.file._decodedChars,r._file$_start,r._end),0,null),(i=i._interpolation_buffer0$_text)._contents+=r)},visitIfConditionSass$1(e,t){this.buffer=null},visitIfConditionRaw$1(e,t){var r=this.buffer;null!=r&&r.addInterpolation$1(t.text)},visitLegacyIfExpression$1(e,t){return this.buffer=null},visitListExpression$1(e,t){var r,n,i=this,o=t.contents,s=o.length;s<=1&&!t.hasBrackets?i.buffer=null:(r=t.hasBrackets)&&0===s?null!=(o=i.buffer)&&(s=t.span.get$text(),(o=o._interpolation_buffer0$_text)._contents+=s):(r&&null!=(s=i.buffer)&&(n=C.JSArray_methods.get$first(o),n=A.SpanExtensions_before(t.span,n.get$span(n)),n=A.String_String$fromCharCodes(C.NativeUint32List_methods.sublist$2(n.file._decodedChars,n._file$_start,n._end),0,null),(s=s._interpolation_buffer0$_text)._contents+=n),i._writeListAndBetween$2(o,new A.SourceInterpolationVisitor_visitListExpression_closure(i)),r&&null!=(s=i.buffer)&&(o=C.JSArray_methods.get$last(o),o=A.SpanExtensions_after(t.span,o.get$span(o)),o=A.String_String$fromCharCodes(C.NativeUint32List_methods.sublist$2(o.file._decodedChars,o._file$_start,o._end),0,null),(s=s._interpolation_buffer0$_text)._contents+=o))},visitMapExpression$1(e,t){return this.buffer=null},visitNullExpression$1(e,t){return this.buffer=null},visitNumberExpression$1(e,t){var r,n=this.buffer;return null!=n&&(r=t.span.get$text(),(n=n._interpolation_buffer0$_text)._contents+=r),null},visitParenthesizedExpression$1(e,t){return this.buffer=null},visitSelectorExpression$1(e,t){return this.buffer=null},visitStringExpression$1(e,t){var r,n,i,o,s,a,l,c,u,d,h,p,m=this,_=t.text;if(null==_.get$asPlain())for(i=(n=(r=_.contents).length)-1,o=_.span,s=0;s<n;++s)a=_.spanForElement$1(s),u=(c=(l=r[s])instanceof A.Expression0)?l:null,c?(0===s&&null!=(c=m.buffer)&&(h=(d=A.SpanExtensions_before(o,a))._file$_start,p=d.file._decodedChars,p=A.String_String$fromCharCodes(new Uint32Array(p.subarray(h,A._checkValidRange(h,d._end,p.length))),0,null),(c=c._interpolation_buffer0$_text)._contents+=p),null!=(c=m.buffer)&&(c._interpolation_buffer0$_flushText$0(),c._interpolation_buffer0$_contents.push(u),c._interpolation_buffer0$_spans.push(a)),s===i&&null!=(c=m.buffer)&&(h=(d=A.SpanExtensions_after(o,a))._file$_start,p=d.file._decodedChars,p=A.String_String$fromCharCodes(new Uint32Array(p.subarray(h,A._checkValidRange(h,d._end,p.length))),0,null),(c=c._interpolation_buffer0$_text)._contents+=p)):null!=(c=m.buffer)&&(c=c._interpolation_buffer0$_text,d=a.toString$0(0),c._contents+=d);else null!=(r=m.buffer)&&(_=_.span.get$text(),(r=r._interpolation_buffer0$_text)._contents+=_)},visitSupportsExpression$1(e,t){return this.buffer=null},visitUnaryOperationExpression$1(e,t){return this.buffer=null},visitValueExpression$1(e,t){return this.buffer=null},visitVariableExpression$1(e,t){return this.buffer=null},_writeListAndBetween$1$2(e,t){var r,n,i,o,s,a,l,c;for(r=e.length,n=null,i=0;i<r;++i){if(o=e[i],null!=n&&null!=(s=this.buffer)&&(l=(a=A.SpanExtensions_between(n,o.get$span(o)))._file$_start,c=a.file._decodedChars,c=A.String_String$fromCharCodes(new Uint32Array(c.subarray(l,A._checkValidRange(l,a._end,c.length))),0,null),(s=s._interpolation_buffer0$_text)._contents+=c),t.call$1(o),null==this.buffer)return;n=o.get$span(o)}},_writeListAndBetween$2(e,t){return this._writeListAndBetween$1$2(e,t,D.AstNode_2)},$isExpressionVisitor:1,$isIfConditionExpressionVisitor:1},A.SourceInterpolationVisitor__visitArguments_closure.prototype={call$1(e){return e.accept$1(this.$this)},$signature:136},A.SourceInterpolationVisitor_visitIfConditionOperation_closure.prototype={call$1(e){return e.accept$1(this.$this)},$signature:600},A.SourceInterpolationVisitor_visitListExpression_closure.prototype={call$1(e){return e.accept$1(this.$this)},$signature:136},A.SourceMapBuffer0.prototype={get$_source_map_buffer0$_targetLocation(){var e=this._source_map_buffer0$_buffer._contents,t=this._source_map_buffer0$_line;return A.SourceLocation$(e.length,this._source_map_buffer0$_column,t,null)},get$length(e){return this._source_map_buffer0$_buffer._contents.length},forSpan$1$2(e,t){var r=this,n=r._source_map_buffer0$_inSpan;r._source_map_buffer0$_inSpan=!0,r._source_map_buffer0$_addEntry$2(e.get$start(e),r.get$_source_map_buffer0$_targetLocation());try{return t.call$0()}finally{r._source_map_buffer0$_inSpan=n}},forSpan$2(e,t){return this.forSpan$1$2(e,t,D.dynamic)},_source_map_buffer0$_addEntry$2(e,t){var r,n,i=this._source_map_buffer0$_entries;if(0!==i.length){if((n=(r=C.JSArray_methods.get$last(i)).source).file.getLine$1(n.offset)===e.file.getLine$1(e.offset)&&r.target.line===t.line)return;if(r.target.offset===t.offset)return}i.push(new A.Entry(e,t,null))},write$1(e,t){var r,n,i=w.toString$0$(t);for(this._source_map_buffer0$_buffer._contents+=i,r=i.length,n=0;n<r;++n)10===i.charCodeAt(n)?this._source_map_buffer0$_writeLine$0():++this._source_map_buffer0$_column},writeCharCode$1(e){var t=this._source_map_buffer0$_buffer,r=A.Primitives_stringFromCharCode(e);t._contents+=r,10===e?this._source_map_buffer0$_writeLine$0():++this._source_map_buffer0$_column},_source_map_buffer0$_writeLine$0(){var e=this,t=e._source_map_buffer0$_entries;C.JSArray_methods.get$last(t).target.line===e._source_map_buffer0$_line&&C.JSArray_methods.get$last(t).target.column===e._source_map_buffer0$_column&&t.pop(),++e._source_map_buffer0$_line,e._source_map_buffer0$_column=0,e._source_map_buffer0$_inSpan&&t.push(new A.Entry(C.JSArray_methods.get$last(t).source,e.get$_source_map_buffer0$_targetLocation(),null))},toString$0(e){var t=this._source_map_buffer0$_buffer._contents;return t.charCodeAt(0),t},buildSourceMap$1$prefix(e){var t,r,n,i={},o=e.length;if(0===o)return A.SingleMapping_SingleMapping$fromEntries(this._source_map_buffer0$_entries);for(i.prefixColumn=i.prefixLines=0,t=0,r=0;t<o;++t)10===e.charCodeAt(t)?(++i.prefixLines,i.prefixColumn=0,r=0):(n=r+1,i.prefixColumn=n,r=n);return r=this._source_map_buffer0$_entries,A.SingleMapping_SingleMapping$fromEntries(new A.MappedListIterable(r,new A.SourceMapBuffer_buildSourceMap_closure0(i,o),A._arrayInstanceType(r)._eval$1("MappedListIterable<1,Entry>")))}},A.SourceMapBuffer_buildSourceMap_closure0.prototype={call$1(e){var t=e.target,r=t.line,n=this._box_0,i=n.prefixLines;return n=0===r?n.prefixColumn:0,new A.Entry(e.source,A.SourceLocation$(t.offset+this.prefixLength,t.column+n,r+i,null),e.identifierName)},$signature:164},A.updateSourceSpanPrototype_closure.prototype={call$0(){return this.span},$signature:16},A.updateSourceSpanPrototype_closure0.prototype={call$1:e=>e.get$start(e),$signature:264},A.updateSourceSpanPrototype_closure1.prototype={call$1:e=>e.get$end(e),$signature:264},A.updateSourceSpanPrototype_closure2.prototype={call$1:e=>A.NullableExtension_andThen0(e.get$sourceUrl(e),new A.updateSourceSpanPrototype__closure),$signature:602},A.updateSourceSpanPrototype__closure.prototype={call$1(e){var t,r=null;return t=""===e.get$scheme()?(t=I.$get$context()).toUri$1(A.absolute(t.style.pathFromUri$1(A._parseUri(e)),r,r,r,r,r,r,r,r,r,r,r,r,r,r)):e,new n.URL(t.toString$0(0))},$signature:176},A.updateSourceSpanPrototype_closure3.prototype={call$1:e=>e.get$text(),$signature:265},A.updateSourceSpanPrototype_closure4.prototype={call$1:e=>e.get$context(e),$signature:265},A.updateSourceSpanPrototype_closure5.prototype={call$1:e=>e.get$line(),$signature:266},A.updateSourceSpanPrototype_closure6.prototype={call$1:e=>e.get$column(),$signature:266},A.ColorSpace0.prototype={get$isLegacyInternal:()=>!1,get$isPolarInternal:()=>!1,convert$5(e,t,r,n,i){return this.convertLinear$5(e,t,r,n,i)},convertLinear$10$missingA$missingB$missingChroma$missingHue$missingLightness(e,t,r,n,i,o,s,a,l,c){var u,d,h,p,m,_,g,f,v,b=this;return(d=(u=C.HslColorSpace_JQ20!==e)&&C.HwbColorSpace_guQ0!==e?C.LabColorSpace_2nT0!==e&&C.LchColorSpace_Bpv0!==e?C.OklabColorSpace_5400!==e&&C.OklchColorSpace_9Gj0!==e?e:C.LmsColorSpace_Os30:C.XyzD50ColorSpace_2OB0:C.SrgbColorSpace_thf0)===b?(h=n,p=r,m=t):(_=b.toLinear$1(null==t?0:t),g=b.toLinear$1(null==r?0:r),f=b.toLinear$1(null==n?0:n),v=b.transformationMatrix$1(d),m=d.fromLinear$1(v[0]*_+v[1]*g+v[2]*f),p=d.fromLinear$1(v[3]*_+v[4]*g+v[5]*f),h=d.fromLinear$1(v[6]*_+v[7]*g+v[8]*f)),u&&C.HwbColorSpace_guQ0!==e?C.LabColorSpace_2nT0!==e&&C.LchColorSpace_Bpv0!==e?C.OklabColorSpace_5400!==e&&C.OklchColorSpace_9Gj0!==e?(u=null==t?null:m,d=null==r?null:p,u=A.SassColor_SassColor$forSpaceInternal0(e,u,d,null==n?null:h,i)):u=C.LmsColorSpace_Os30.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(e,m,p,h,i,o,s,a,l,c):u=C.XyzD50ColorSpace_2OB0.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(e,m,p,h,i,o,s,a,l,c):u=C.SrgbColorSpace_thf0.convert$8$missingChroma$missingHue$missingLightness(e,m,p,h,i,a,l,c),u},convertLinear$5(e,t,r,n,i){return this.convertLinear$10$missingA$missingB$missingChroma$missingHue$missingLightness(e,t,r,n,i,!1,!1,!1,!1,!1)},toLinear$1(e){return A.throwExpression(A.UnimplementedError$("[BUG] Color space "+this.toString$0(0)+" doesn't support linear conversions."))},fromLinear$1(e){return A.throwExpression(A.UnimplementedError$("[BUG] Color space "+this.toString$0(0)+" doesn't support linear conversions."))},transformationMatrix$1(e){return A.throwExpression(A.UnimplementedError$("[BUG] Color space conversion from "+this.toString$0(0)+" to "+e.toString$0(0)+" not implemented."))},toString$0(e){return this.name}},A.SrgbColorSpace0.prototype={get$isBoundedInternal:()=>!0,convert$8$missingChroma$missingHue$missingLightness(e,t,r,n,i,o,s,a){var l,c,u,d,h,p,m,_,g,f,v=null;return C.HslColorSpace_JQ20===e||C.HwbColorSpace_guQ0===e?(null==t&&(t=0),null==r&&(r=0),null==n&&(n=0),u=(l=Math.max(Math.max(t,r),n))-(c=Math.min(Math.min(t,r),n)),d=l===c?0:l===t?60*(r-n)/u+360:l===r?60*(n-t)/u+120:60*(t-r)/u+240,e===C.HslColorSpace_JQ20?((p=0===(h=(c+l)/2)||1===h?0:100*(l-h)/Math.min(h,1-h))<0&&(d+=180,p=Math.abs(p)),m=s||A.fuzzyEquals0(p,0)?v:C.JSNumber_methods.$mod(d,360),_=o?v:p,A.SassColor_SassColor$forSpaceInternal0(e,m,_,a?v:100*h,i)):(g=100*c,f=100-100*l,m=!!s||((m=g+f)>100||A.fuzzyEquals0(m,100)),A.SassColor_SassColor$forSpaceInternal0(e,m?v:C.JSNumber_methods.$mod(d,360),g,f,i))):C.RgbColorSpace_i0P0===e?(m=null==t?v:255*t,_=null==r?v:255*r,A.SassColor_SassColor$rgbInternal0(m,_,null==n?v:255*n,i,v)):C.SrgbLinearColorSpace_kUj0===e?(m=this.get$toLinear(),A.SassColor_SassColor$forSpaceInternal0(e,A.NullableExtension_andThen0(t,m),A.NullableExtension_andThen0(r,m),A.NullableExtension_andThen0(n,m),i)):this.super$ColorSpace$convertLinear0(e,t,r,n,i,!1,!1,o,s,a)},convert$5(e,t,r,n,i){return this.convert$8$missingChroma$missingHue$missingLightness(e,t,r,n,i,!1,!1,!1)},convert$6$missingHue(e,t,r,n,i,o){return this.convert$8$missingChroma$missingHue$missingLightness(e,t,r,n,i,!1,o,!1)},toLinear$1:e=>A.srgbAndDisplayP3ToLinear0(e),fromLinear$1:e=>A.srgbAndDisplayP3FromLinear0(e),transformationMatrix$1(e){return C.DisplayP3ColorSpace_MmT0!==e&&C.DisplayP3LinearColorSpace_PrP0!==e?C.A98RgbColorSpace_lf20!==e?C.ProphotoRgbColorSpace_BDz0!==e?C.Rec2020ColorSpace_6oo0!==e?C.XyzD65ColorSpace_WiJ0!==e?C.XyzD50ColorSpace_2OB0!==e?C.LmsColorSpace_Os30!==e?this.super$ColorSpace$transformationMatrix0(e):I.$get$linearSrgbToLms0():I.$get$linearSrgbToXyzD500():I.$get$linearSrgbToXyzD650():I.$get$linearSrgbToLinearRec20200():I.$get$linearSrgbToLinearProphotoRgb0():I.$get$linearSrgbToLinearA98Rgb0():I.$get$linearSrgbToLinearDisplayP30()}},A.SrgbLinearColorSpace0.prototype={get$isBoundedInternal:()=>!0,convert$5(e,t,r,n,i){return C.RgbColorSpace_i0P0!==e&&C.HslColorSpace_JQ20!==e&&C.HwbColorSpace_guQ0!==e&&C.SrgbColorSpace_thf0!==e?this.super$ColorSpace$convert0(e,t,r,n,i):C.SrgbColorSpace_thf0.convert$5(e,A.NullableExtension_andThen0(t,A.utils2__srgbAndDisplayP3FromLinear$closure()),A.NullableExtension_andThen0(r,A.utils2__srgbAndDisplayP3FromLinear$closure()),A.NullableExtension_andThen0(n,A.utils2__srgbAndDisplayP3FromLinear$closure()),i)},toLinear$1:e=>e,fromLinear$1:e=>e,transformationMatrix$1(e){return C.DisplayP3ColorSpace_MmT0!==e&&C.DisplayP3LinearColorSpace_PrP0!==e?C.A98RgbColorSpace_lf20!==e?C.ProphotoRgbColorSpace_BDz0!==e?C.Rec2020ColorSpace_6oo0!==e?C.XyzD65ColorSpace_WiJ0!==e?C.XyzD50ColorSpace_2OB0!==e?C.LmsColorSpace_Os30!==e?this.super$ColorSpace$transformationMatrix0(e):I.$get$linearSrgbToLms0():I.$get$linearSrgbToXyzD500():I.$get$linearSrgbToXyzD650():I.$get$linearSrgbToLinearRec20200():I.$get$linearSrgbToLinearProphotoRgb0():I.$get$linearSrgbToLinearA98Rgb0():I.$get$linearSrgbToLinearDisplayP30()}},A.Statement0.prototype={$isAstNode0:1,$isSassNode:1},A.JSStatementVisitor.prototype={visitAtRootRule$1(e,t){return w.visitAtRootRule$1$x(this._statement$_inner,t)},visitAtRule$1(e,t){return w.visitAtRule$1$x(this._statement$_inner,t)},visitContentBlock$1(e,t){return w.visitContentBlock$1$x(this._statement$_inner,t)},visitContentRule$1(e,t){return w.visitContentRule$1$x(this._statement$_inner,t)},visitDebugRule$1(e,t){return w.visitDebugRule$1$x(this._statement$_inner,t)},visitDeclaration$1(e,t){return w.visitDeclaration$1$x(this._statement$_inner,t)},visitEachRule$1(e,t){return w.visitEachRule$1$x(this._statement$_inner,t)},visitErrorRule$1(e,t){return w.visitErrorRule$1$x(this._statement$_inner,t)},visitExtendRule$1(e,t){return w.visitExtendRule$1$x(this._statement$_inner,t)},visitForRule$1(e,t){return w.visitForRule$1$x(this._statement$_inner,t)},visitForwardRule$1(e,t){return w.visitForwardRule$1$x(this._statement$_inner,t)},visitFunctionRule$1(e,t){return w.visitFunctionRule$1$x(this._statement$_inner,t)},visitIfRule$1(e,t){return w.visitIfRule$1$x(this._statement$_inner,t)},visitImportRule$1(e,t){return w.visitImportRule$1$x(this._statement$_inner,t)},visitIncludeRule$1(e,t){return w.visitIncludeRule$1$x(this._statement$_inner,t)},visitLoudComment$1(e,t){return w.visitLoudComment$1$x(this._statement$_inner,t)},visitMediaRule$1(e,t){return w.visitMediaRule$1$x(this._statement$_inner,t)},visitMixinRule$1(e,t){return w.visitMixinRule$1$x(this._statement$_inner,t)},visitReturnRule$1(e,t){return w.visitReturnRule$1$x(this._statement$_inner,t)},visitSilentComment$1(e,t){return w.visitSilentComment$1$x(this._statement$_inner,t)},visitStyleRule$1(e,t){return w.visitStyleRule$1$x(this._statement$_inner,t)},visitStylesheet$1(e,t){return w.visitStylesheet$1$x(this._statement$_inner,t)},visitSupportsRule$1(e,t){return w.visitSupportsRule$1$x(this._statement$_inner,t)},visitUseRule$1(e,t){return w.visitUseRule$1$x(this._statement$_inner,t)},visitVariableDeclaration$1(e,t){return w.visitVariableDeclaration$1$x(this._statement$_inner,t)},visitWarnRule$1(e,t){return w.visitWarnRule$1$x(this._statement$_inner,t)},visitWhileRule$1(e,t){return w.visitWhileRule$1$x(this._statement$_inner,t)},$isStatementVisitor:1},A.JSStatementVisitorObject.prototype={},A.StatementSearchVisitor0.prototype={visitAtRootRule$1(e,t){return this.visitChildren$1(t.children)},visitAtRule$1(e,t){return A.NullableExtension_andThen0(t.children,this.get$visitChildren())},visitContentBlock$1(e,t){return this.visitChildren$1(t.children)},visitContentRule$1:(e,t)=>null,visitDebugRule$1:(e,t)=>null,visitDeclaration$1(e,t){return A.NullableExtension_andThen0(t.children,this.get$visitChildren())},visitEachRule$1(e,t){return this.visitChildren$1(t.children)},visitErrorRule$1:(e,t)=>null,visitExtendRule$1:(e,t)=>null,visitForRule$1(e,t){return this.visitChildren$1(t.children)},visitForwardRule$1:(e,t)=>null,visitFunctionRule$1(e,t){return this.visitChildren$1(t.children)},visitIfRule$1(e,t){var r=A.IterableExtension_search0(t.clauses,new A.StatementSearchVisitor_visitIfRule_closure1(this));return null==r?A.NullableExtension_andThen0(t.lastClause,new A.StatementSearchVisitor_visitIfRule_closure2(this)):r},visitImportRule$1:(e,t)=>null,visitIncludeRule$1(e,t){return A.NullableExtension_andThen0(t.content,this.get$visitContentBlock(this))},visitLoudComment$1:(e,t)=>null,visitMediaRule$1(e,t){return this.visitChildren$1(t.children)},visitMixinRule$1(e,t){return this.visitChildren$1(t.children)},visitReturnRule$1:(e,t)=>null,visitSilentComment$1:(e,t)=>null,visitStyleRule$1(e,t){return this.visitChildren$1(t.children)},visitStylesheet$1(e,t){return this.visitChildren$1(t.children)},visitSupportsRule$1(e,t){return this.visitChildren$1(t.children)},visitUseRule$1:(e,t)=>null,visitVariableDeclaration$1:(e,t)=>null,visitWarnRule$1:(e,t)=>null,visitWhileRule$1(e,t){return this.visitChildren$1(t.children)},visitChildren$1(e){return A.IterableExtension_search0(e,new A.StatementSearchVisitor_visitChildren_closure0(this))}},A.StatementSearchVisitor_visitIfRule_closure1.prototype={call$1(e){return A.IterableExtension_search0(e.children,new A.StatementSearchVisitor_visitIfRule__closure2(this.$this))},$signature(){return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(IfClause0)")}},A.StatementSearchVisitor_visitIfRule__closure2.prototype={call$1(e){return e.accept$1(this.$this)},$signature(){return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)")}},A.StatementSearchVisitor_visitIfRule_closure2.prototype={call$1(e){return A.IterableExtension_search0(e.children,new A.StatementSearchVisitor_visitIfRule__closure1(this.$this))},$signature(){return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(ElseClause0)")}},A.StatementSearchVisitor_visitIfRule__closure1.prototype={call$1(e){return e.accept$1(this.$this)},$signature(){return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)")}},A.StatementSearchVisitor_visitChildren_closure0.prototype={call$1(e){return e.accept$1(this.$this)},$signature(){return A._instanceType(this.$this)._eval$1("StatementSearchVisitor0.T?(Statement0)")}},A.StaticImport0.prototype={toString$0(e){var t=this.url.toString$0(0),r=this.modifiers;return t+(null==r?"":" "+r.toString$0(0))},$isImport0:1,$isAstNode0:1,$isSassNode:1,get$span(e){return this.span}},A.StderrLogger0.prototype={internalWarn$4$deprecation$span$trace(e,t,r,n){var i,o=new A.StringBuffer(""),s=null!=t,a=s&&t!==C.Deprecation_kGe,l=this.color;l?(i=o._contents="",i=o._contents=(s?o._contents="Deprecation ":i)+"Warning",a?(s=i+" ["+t.toString$0(0)+"]",o._contents=s):s=i):(i=o._contents=(s?o._contents="DEPRECATION ":"")+"WARNING",a?(s=i+" ["+t.toString$0(0)+"]",o._contents=s):s=i),null==r?s=o._contents=s+": "+e+"\n":null!=n?(s+=": "+e+"\n\n"+r.highlight$1$color(l)+"\n",o._contents=s):(s+=" on "+r.message$2$color(0,"\n"+e,l)+"\n",o._contents=s),null!=n&&(o._contents=s+(A.indent0(C.JSString_methods.trimRight$0(n.toString$0(0)),4)+"\n")),A.printError0(o)},debug$2(e,t,r){var n,i,o;null==r.get$start(r).file.url?n="-":(i=r.get$start(r).file.url,o=I.$get$context(),i.toString,n=o.prettyUri$1(i)),o=n+":"+((i=(i=r.get$start(r)).file.getLine$1(i.offset))+1)+" "+(o=this.color?"Debug":"DEBUG")+": "+t,A.printError0((o.charCodeAt(0),o))}},A.StringExpression0.prototype={get$span(e){return this.text.span},accept$1$1(e){return e.visitStringExpression$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},asInterpolation$1$static(e){var t,r,n,i,o,s,a,l,c,u,d,h;if(!this.hasQuotes)return this.text;for(r=(t=this.text).contents,n=A.StringExpression__bestQuote0(new A.WhereTypeIterable(r,D.WhereTypeIterable_String)),i=new A.StringBuffer(""),o=A._setArrayType([],D.JSArray_Object),s=A._setArrayType([],D.JSArray_nullable_FileSpan),a=new A.InterpolationBuffer0(i,o,s),l=A.Primitives_stringFromCharCode(n),i._contents+=l,c=r.length,u=0;u<c;++u)(d=r[u])instanceof A.Expression0?(h=t.spanForElement$1(u),a._interpolation_buffer0$_flushText$0(),o.push(d),s.push(h)):"string"==typeof d&&A.StringExpression__quoteInnerText0(d,n,a,e);return i._contents+=l,a.interpolation$1(t.span)},asInterpolation$0(){return this.asInterpolation$1$static(!1)},toString$0(e){return this.asInterpolation$0().toString$0(0)}},A.module_closure25.prototype={call$1(e){var t,r,n,i,o,s,a,l=w.getInterceptor$asx(e),c=l.$index(e,0).assertString$1("string"),u=l.$index(e,1).assertString$1("separator");if(null!=(t=null==(l=l.$index(e,2).get$realNull())?null:l.assertNumber$1("limit").assertInt$1("limit"))&&t<1)throw A.wrapException(A.SassScriptException$0("$limit: Must be 1 or greater, was "+A.S(t)+".",null));if(0===(l=c._string0$_text).length)return C.SassList_oWx0;if(0===(r=u._string0$_text).length)return A.SassList$0(A.MappedIterable_MappedIterable(new A.Runes(l),new A.module__closure3(c),D.Runes._eval$1("Iterable.E"),D.Value_2),C.ListSeparator_z0K0,!0);for(n=A._setArrayType([],D.JSArray_String),r=C.JSString_methods.allMatches$1(r,l),r=new A._StringAllMatchesIterator(r._input,r._pattern,r.__js_helper$_index),i=0,o=0;r.moveNext$0()&&(a=(s=r.__js_helper$_current).start,n.push(C.JSString_methods.substring$2(l,o,a)),o=a+s.pattern.length,++i!==t););return n.push(C.JSString_methods.substring$1(l,o)),A.SassList$0(new A.MappedListIterable(n,new A.module__closure4(c),D.MappedListIterable_String_Value_2),C.ListSeparator_z0K0,!0)},$signature:27},A.module__closure3.prototype={call$1(e){return new A.SassString0(A.Primitives_stringFromCharCode(e),this.string._string0$_hasQuotes)},$signature:606},A.module__closure4.prototype={call$1(e){return new A.SassString0(e,this.string._string0$_hasQuotes)},$signature:607},A._unquote_closure0.prototype={call$1(e){var t=w.$index$asx(e,0).assertString$1("string");return t._string0$_hasQuotes?new A.SassString0(t._string0$_text,!1):t},$signature:18},A._quote_closure0.prototype={call$1(e){var t=w.$index$asx(e,0).assertString$1("string");return t._string0$_hasQuotes?t:new A.SassString0(t._string0$_text,!0)},$signature:18},A._length_closure1.prototype={call$1:e=>A.SassNumber_SassNumber0(w.$index$asx(e,0).assertString$1("string").get$_string0$_sassLength(),null),$signature:25},A._insert_closure0.prototype={call$1(e){var t,r,n="index",i=w.getInterceptor$asx(e),o=i.$index(e,0).assertString$1("string"),s=i.$index(e,1).assertString$1("insert"),a=i.$index(e,2).assertNumber$1(n);return a.assertNoUnits$1(n),(t=a.assertInt$1(n))<0&&(t=Math.max(o.get$_string0$_sassLength()+t+2,0)),i=o._string0$_text,r=A.codepointIndexToCodeUnitIndex0(i,A._codepointForIndex0(t,o.get$_string0$_sassLength(),!1)),new A.SassString0(C.JSString_methods.replaceRange$3(i,r,r,s._string0$_text),o._string0$_hasQuotes)},$signature:18},A._index_closure1.prototype={call$1(e){var t=w.getInterceptor$asx(e),r=t.$index(e,0).assertString$1("string")._string0$_text,n=C.JSString_methods.indexOf$1(r,t.$index(e,1).assertString$1("substring")._string0$_text);return-1===n?C.C__SassNull0:A.SassNumber_SassNumber0(A.codeUnitIndexToCodepointIndex0(r,n)+1,null)},$signature:3},A._slice_closure0.prototype={call$1(e){var t,r,n,i,o="start-at",s=w.getInterceptor$asx(e),a=s.$index(e,0).assertString$1("string"),l=s.$index(e,1).assertNumber$1(o),c=s.$index(e,2).assertNumber$1("end-at");return l.assertNoUnits$1(o),c.assertNoUnits$1("end-at"),t=a.get$_string0$_sassLength(),0===(r=c.assertInt$0())?a._string0$_hasQuotes?I.$get$_emptyQuoted0():I.$get$_emptyUnquoted0():(n=A._codepointForIndex0(l.assertInt$0(),t,!1),(i=A._codepointForIndex0(r,t,!0))===t&&--i,i<n?a._string0$_hasQuotes?I.$get$_emptyQuoted0():I.$get$_emptyUnquoted0():(s=a._string0$_text,new A.SassString0(C.JSString_methods.substring$2(s,A.codepointIndexToCodeUnitIndex0(s,n),A.codepointIndexToCodeUnitIndex0(s,i+1)),a._string0$_hasQuotes)))},$signature:18},A._toUpperCase_closure0.prototype={call$1(e){var t,r,n,i,o,s=w.$index$asx(e,0).assertString$1("string");for(r=(t=s._string0$_text).length,n=0,i="";n<r;++n)o=t.charCodeAt(n),i+=A.Primitives_stringFromCharCode(o>=97&&o<=122?4294967263&o:o);return new A.SassString0((i.charCodeAt(0),i),s._string0$_hasQuotes)},$signature:18},A._toLowerCase_closure0.prototype={call$1(e){var t,r,n,i,o,s=w.$index$asx(e,0).assertString$1("string");for(r=(t=s._string0$_text).length,n=0,i="";n<r;++n)o=t.charCodeAt(n),i+=A.Primitives_stringFromCharCode(o>=65&&o<=90?32|o:o);return new A.SassString0((i.charCodeAt(0),i),s._string0$_hasQuotes)},$signature:18},A._uniqueId_closure0.prototype={call$1(e){var t=I.$get$_previousUniqueId0()+(I.$get$_random1().nextInt$1(36)+1);return I._previousUniqueId0=t,t>Math.pow(36,6)&&(I._previousUniqueId0=C.JSInt_methods.$mod(I.$get$_previousUniqueId0(),A._asInt(Math.pow(36,6)))),new A.SassString0("u"+C.JSString_methods.padLeft$2(C.JSInt_methods.toRadixString$1(I.$get$_previousUniqueId0(),36),6,"0"),!1)},$signature:18},A.StringExtension_toCssIdentifier_writeEscape.prototype={call$1(e){var t,r=this.buffer,n=A.Primitives_stringFromCharCode(92);r._contents+=n,n=C.JSInt_methods.toRadixString$1(e,16),r._contents+=n,t=this.scanner.peekChar$0(),A._isInt(t)&&A.CharacterExtension_get_isHex0(t)&&(n=A.Primitives_stringFromCharCode(32),r._contents+=n)},$signature:267},A.StringExtension_toCssIdentifier_consumeSurrogatePair.prototype={call$1(e){var t,r,n=this.scanner,i=n.peekChar$1(1);null==i||i>>>10!=55?n.error$2$length(0,"An individual surrogates can't be represented as a CSS identifier.",1):e>>>7==439?this.writeEscape.call$1(A.combineSurrogates(n.readChar$0(),n.readChar$0())):(t=this.buffer,r=A.Primitives_stringFromCharCode(n.readChar$0()),t._contents+=r,n=A.Primitives_stringFromCharCode(n.readChar$0()),t._contents+=n)},$signature:267},A.stringClass_closure.prototype={call$0(){var e,t=D.JSClass,r=t._as(A.allowInteropCaptureThisNamed("sass.SassString",new A.stringClass__closure));return A.LinkedHashMap_LinkedHashMap$_literal(["text",new A.stringClass__closure0,"hasQuotes",new A.stringClass__closure1,"sassLength",new A.stringClass__closure2],D.String,D.Function).forEach$1(0,A.JSClassExtension_get_defineGetter(r)),w.get$$prototype$x(r).sassIndexToStringIndex=A.allowInteropCaptureThisNamed("sassIndexToStringIndex",new A.stringClass__closure3),e=I.$get$_emptyQuoted0(),A.JSClassExtension_injectSuperclass(t._as(e.constructor),r),r},$signature:17},A.stringClass__closure.prototype={call$3(e,t,r){var n;return"string"==typeof t?(n=null==r?null:w.get$quotes$x(r),n=new A.SassString0(t,null==n||n)):(D.nullable__ConstructorOptions_3._as(t),n=null==(n=null==t?null:w.get$quotes$x(t))||n?I.$get$_emptyQuoted0():I.$get$_emptyUnquoted0()),n},call$1(e){return this.call$3(e,null,null)},call$2(e,t){return this.call$3(e,t,null)},"call*":"call$3",$requiredArgCount:1,$defaultValues:()=>[null,null],$signature:609},A.stringClass__closure0.prototype={call$1:e=>e._string0$_text,$signature:610},A.stringClass__closure1.prototype={call$1:e=>e._string0$_hasQuotes,$signature:611},A.stringClass__closure2.prototype={call$1:e=>e.get$_string0$_sassLength(),$signature:612},A.stringClass__closure3.prototype={call$3(e,t,r){var n,i=t.assertNumber$1(r).assertInt$1(r);return 0===i?A.throwExpression(A.SassScriptException$0("String index may not be 0.",r)):(n=e.get$_string0$_sassLength(),Math.abs(i)>n&&A.throwExpression(A.SassScriptException$0("Invalid index "+t.toString$0(0)+" for a string with "+n+" characters.",r))),n=i<0?e.get$_string0$_sassLength()+i:i-1,A.codepointIndexToCodeUnitIndex0(e._string0$_text,n)},call$2(e,t){return this.call$3(e,t,null)},"call*":"call$3",$requiredArgCount:2,$defaultValues:()=>[null],$signature:613},A._ConstructorOptions1.prototype={},A._NodeSassString.prototype={},A.legacyStringClass_closure.prototype={call$3(e,t,r){var n;null==r?(t.toString,n=new A.SassString0(t,!1)):n=r,w.set$dartValue$x(e,n)},call$2(e,t){return this.call$3(e,t,null)},"call*":"call$3",$requiredArgCount:2,$defaultValues:()=>[null],$signature:614},A.legacyStringClass_closure0.prototype={call$1:e=>w.get$dartValue$x(e)._string0$_text,$signature:615},A.legacyStringClass_closure1.prototype={call$2(e,t){w.set$dartValue$x(e,new A.SassString0(t,!1))},$signature:616},A.SassString0.prototype={get$_string0$_sassLength(){var e,t=this,r=t._string0$__SassString__sassLength_FI;return r===I&&(e=new A.Runes(t._string0$_text).get$length(0),t._string0$__SassString__sassLength_FI!==I&&A.throwUnnamedLateFieldADI(),t._string0$__SassString__sassLength_FI=e,r=e),r},get$isSpecialNumber(){var e,t,r,n,i;return!this._string0$_hasQuotes&&(!((e=this._string0$_text).length<6)&&(r=!1,97!==(t=e.charCodeAt(0))&&65!==t?99!==t&&67!==t?118!==t&&86!==t?101!==t&&69!==t?109!==t&&77!==t?e=105!==t&&73!==t?r:102==(32|e.charCodeAt(1))&&40===e.charCodeAt(2):(i=e.charCodeAt(1),e=97!==i&&65!==i?105!==i&&73!==i?r:110==(32|e.charCodeAt(2))&&40===e.charCodeAt(3):120==(32|e.charCodeAt(2))&&40===e.charCodeAt(3)):e=110==(32|e.charCodeAt(1))&&118==(32|e.charCodeAt(2))&&40===e.charCodeAt(3):e=97==(32|e.charCodeAt(1))&&114==(32|e.charCodeAt(2))&&40===e.charCodeAt(3):(n=e.charCodeAt(1),e=108!==n&&76!==n?97!==n&&65!==n?r:108==(32|e.charCodeAt(2))&&99==(32|e.charCodeAt(3))&&40===e.charCodeAt(4):97==(32|e.charCodeAt(2))&&109==(32|e.charCodeAt(3))&&112==(32|e.charCodeAt(4))&&40===e.charCodeAt(5)):e=116==(32|e.charCodeAt(1))&&116==(32|e.charCodeAt(2))&&114==(32|e.charCodeAt(3))&&40===e.charCodeAt(4),e))},get$isSpecialVariable(){var e,t;return!this._string0$_hasQuotes&&(!((e=this._string0$_text).length<6)&&(t=e.charCodeAt(0),e=97!==t&&65!==t?105!==t&&73!==t?(118===t||86===t)&&(97==(32|e.charCodeAt(1))&&114==(32|e.charCodeAt(2))&&40===e.charCodeAt(3)):102==(32|e.charCodeAt(1))&&40===e.charCodeAt(2):116==(32|e.charCodeAt(1))&&116==(32|e.charCodeAt(2))&&114==(32|e.charCodeAt(3))&&40===e.charCodeAt(4)))},get$isBlank(){return!this._string0$_hasQuotes&&0===this._string0$_text.length},assertQuoted$1(e){if(!this._string0$_hasQuotes)throw A.wrapException(A.SassScriptException$0("Expected "+this.toString$0(0)+" to be a quoted string.",e))},assertUnquoted$1(e){if(this._string0$_hasQuotes)throw A.wrapException(A.SassScriptException$0("Expected "+this.toString$0(0)+" to be an unquoted string.",e))},assertUnquoted$0(){return this.assertUnquoted$1(null)},accept$1$1(e){var t=e._serialize0$_quote&&this._string0$_hasQuotes,r=this._string0$_text;return t?e._serialize0$_visitQuotedString$1(r):e._serialize0$_visitUnquotedString$1(r),null},accept$1(e){return this.accept$1$1(e,D.dynamic)},assertString$1(e){return this},plus$1(e){var t=this._string0$_text,r=this._string0$_hasQuotes;return e instanceof A.SassString0?new A.SassString0(t+e._string0$_text,r):new A.SassString0(t+A.serializeValue0(e,!1,!0),r)},$eq(e,t){return null!=t&&(t instanceof A.SassString0&&this._string0$_text===t._string0$_text)},get$hashCode(e){var t=this._string0$_hashCache;return null==t?this._string0$_hashCache=C.JSString_methods.get$hashCode(this._string0$_text):t}},A.ModifiableCssStyleRule0.prototype={accept$1$1(e){return e.visitCssStyleRule$1(this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},equalsIgnoringChildren$1(e){return e instanceof A.ModifiableCssStyleRule0&&C.C_ListEquality.equals$2(0,e._style_rule0$_selector._box0$_inner.value.components,this._style_rule0$_selector._box0$_inner.value.components)},copyWithoutChildren$0(){return A.ModifiableCssStyleRule$0(this._style_rule0$_selector,this.span,!1,this.originalSelector)},get$span(e){return this.span}},A.StyleRule0.prototype={accept$1$1(e){return e.visitStyleRule$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){var t=this.selector;return A.S(null==t?this.parsedSelector:t)+" {"+C.JSArray_methods.join$1(this.children," ")+"}"},get$span(e){return this.span}},A.CssStylesheet0.prototype={get$isGroupEnd:()=>!1,get$isChildless:()=>!1,accept$1$1(e){return e.visitCssStylesheet$1(this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},get$children(e){return this.children},get$span(e){return this.span}},A.ModifiableCssStylesheet0.prototype={accept$1$1(e){return e.visitCssStylesheet$1(this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},equalsIgnoringChildren$1:e=>e instanceof A.ModifiableCssStylesheet0,copyWithoutChildren$0(){return A.ModifiableCssStylesheet$0(this.span)},$isCssStylesheet0:1,get$span(e){return this.span}},A.StylesheetParser0.prototype={parse$0(e){return this.wrapSpanFormatException$1(new A.StylesheetParser_parse_closure0(this))},parseParameterList$0(){return this._stylesheet0$_parseSingleProduction$1$1(new A.StylesheetParser_parseParameterList_closure0(this),D.ParameterList_2)},_stylesheet0$_parseSingleProduction$1$1(e,t){return this.wrapSpanFormatException$1(new A.StylesheetParser__parseSingleProduction_closure0(this,e,t))},parseSignature$1$requireParens(e){return this.wrapSpanFormatException$1(new A.StylesheetParser_parseSignature_closure(this,e))},_stylesheet0$_statement$1$root(e){var t,r=this,n=r.scanner,i=n.peekChar$0();return 64===i?r.atRule$2$root(new A.StylesheetParser__statement_closure0(r),e):43===i?r.get$indented()&&r.lookingAtIdentifier$1(1)?(r._stylesheet0$_isUseAllowed=!1,t=n._string_scanner$_position,n.readChar$0(),r._stylesheet0$_includeRule$1(new A._SpanScannerState(n,t))):r._stylesheet0$_styleRule$0():61===i?r.get$indented()?(r._stylesheet0$_isUseAllowed=!1,t=n._string_scanner$_position,n.readChar$0(),r.whitespace$1$consumeNewlines(!0),r._stylesheet0$_mixinRule$1(new A._SpanScannerState(n,t))):r._stylesheet0$_styleRule$0():(125===i&&n.error$2$length(0,'unmatched "}".',1),r._stylesheet0$_inStyleRule||r._stylesheet0$_inUnknownAtRule||r._stylesheet0$_inMixin||r._stylesheet0$_inContentBlock?r._stylesheet0$_declarationOrStyleRule$0():r._stylesheet0$_variableDeclarationOrStyleRule$0())},_stylesheet0$_statement$0(){return this._stylesheet0$_statement$1$root(!1)},variableDeclarationWithoutNamespace$2(e,t){var r,n,i,o,s,a,l,c,u,d,h,p=this,m=p.lastSilentComment;for(p.lastSilentComment=null,null==t?(r=p.scanner,n=new A._SpanScannerState(r,r._string_scanner$_position)):n=t,i=p.variableName$0(),(r=null!=e)&&p._stylesheet0$_assertPublic$2(i,new A.StylesheetParser_variableDeclarationWithoutNamespace_closure1(p,n)),p.get$plainCss()&&p.error$2(0,P.Sass_v,p.spanFrom$1(n)),p.whitespace$1$consumeNewlines(!0),(o=p.scanner).expectChar$1(58),p.whitespace$1$consumeNewlines(!0),s=p._stylesheet0$_expression$0(),a=new A._SpanScannerState(o,o._string_scanner$_position),l=p.warnings,c=!1,u=!1;o.scanChar$1(33);)"default"!==(d=p.identifier$0())?"global"!==d?p.error$2(0,"Invalid flag name.",p.spanFrom$1(a)):(r?p.error$2(0,P.x21globai,p.spanFrom$1(a)):u&&l.push(new A._Record_3_deprecation_message_span(C.Deprecation_DVV,P.x21globas,p.spanFrom$1(a))),u=!0):(c&&l.push(new A._Record_3_deprecation_message_span(C.Deprecation_DVV,P.x21defau,p.spanFrom$1(a))),c=!0),p.whitespace$1$consumeNewlines(!1),a=new A._SpanScannerState(o,o._string_scanner$_position);return p.expectStatementSeparator$1("variable declaration"),h=A.VariableDeclaration$0(i,s,p.spanFrom$1(n),m,u,c,e),u&&p._stylesheet0$_globalVariables.putIfAbsent$2(i,new A.StylesheetParser_variableDeclarationWithoutNamespace_closure2(h)),h},variableDeclarationWithoutNamespace$0(){return this.variableDeclarationWithoutNamespace$2(null,null)},_stylesheet0$_variableDeclarationOrStyleRule$0(){var e,t,r,n,i=this;return i.get$plainCss()||i.get$indented()&&i.scanner.scanChar$1(92)?i._stylesheet0$_styleRule$0():i.lookingAtIdentifier$0()?(t=(e=i.scanner)._string_scanner$_position,(r=i._stylesheet0$_variableDeclarationOrInterpolation$0())instanceof A.VariableDeclaration0?e=r:((n=new A.InterpolationBuffer0(new A.StringBuffer(""),A._setArrayType([],D.JSArray_Object),A._setArrayType([],D.JSArray_nullable_FileSpan))).addInterpolation$1(D.Interpolation_2._as(r)),e=t=i._stylesheet0$_styleRule$2(n,new A._SpanScannerState(e,t))),e):i._stylesheet0$_styleRule$0()},_stylesheet0$_declarationOrStyleRule$0(){var e,t,r,n=this;return n.get$indented()&&n.scanner.scanChar$1(92)?n._stylesheet0$_styleRule$0():(t=(e=n.scanner)._string_scanner$_position,(r=n._stylesheet0$_declarationOrBuffer$0())instanceof A.Statement0?r:n._stylesheet0$_styleRule$2(D.InterpolationBuffer_2._as(r),new A._SpanScannerState(e,t)))},_stylesheet0$_declarationOrBuffer$0(){var e,t,r,n,i,o,s,a,l,c,u,d,h,p,m=this,_=m.scanner,g=new A._SpanScannerState(_,_._string_scanner$_position),f=new A.InterpolationBuffer0(new A.StringBuffer(""),A._setArrayType([],D.JSArray_Object),A._setArrayType([],D.JSArray_nullable_FileSpan)),v=m._stylesheet0$_lookingAtPotentialPropertyHack$0();if(v&&(o=_.readChar$0(),s=f._interpolation_buffer0$_text,o=A.Primitives_stringFromCharCode(o),s._contents+=o,o=m.rawText$1(new A.StylesheetParser__declarationOrBuffer_closure3(m)),(s=f._interpolation_buffer0$_text)._contents+=o),!m._stylesheet0$_lookingAtInterpolatedIdentifier$0())return f;if((a=v?m.interpolatedIdentifier$0():m._stylesheet0$_variableDeclarationOrInterpolation$0())instanceof A.VariableDeclaration0)return a;if(f.addInterpolation$1(D.Interpolation_2._as(a)),m._stylesheet0$_isUseAllowed=!1,_.matches$1("/*")&&(o=m.rawText$1(m.get$loudComment()),(s=f._interpolation_buffer0$_text)._contents+=o),o=e=new A.StringBuffer(""),s=m.rawText$1(new A.StylesheetParser__declarationOrBuffer_closure4(m)),o._contents+=s,s=_._string_scanner$_position,!_.scanChar$1(58))return 0!==e._contents.length&&(_=f._interpolation_buffer0$_text,o=A.Primitives_stringFromCharCode(32),_._contents+=o),f;if(o=A.Primitives_stringFromCharCode(58),e._contents+=o,l=f.interpolation$1(m.spanFrom$2(g,new A._SpanScannerState(_,s))),(c=C.JSString_methods.startsWith$1(l.get$initialPlain(),"--"))?s=!0:m._stylesheet0$_inPlainCssFunction?null==(s=A.NullableExtension_andThen0(l.get$asPlain(),new A.StylesheetParser__declarationOrBuffer_closure5))&&(s=!1):s=!1,s)return m.atEndOfStatement$0()?(o=(_=A.FileLocation$_(_._sourceFile,_._string_scanner$_position)).offset,_=o=A.Interpolation$0(C.List_empty12,C.List_empty13,A._FileSpan$(_.file,o,o))):_=m._stylesheet0$_interpolatedDeclarationValue$1$silentComments(!1),m.expectStatementSeparator$1(c?"custom property":"@function result"),A.Declaration$notSassScript0(l,new A.StringExpression0(_,!1),m.spanFrom$1(g));if(_.scanChar$1(58))return s=(_=f)._interpolation_buffer0$_text,u=A.S(e),s._contents=(s._contents+=u)+o,_;if(m.get$indented()&&m._stylesheet0$_lookingAtInterpolatedIdentifier$0())return o=(_=f)._interpolation_buffer0$_text,s=A.S(e),o._contents+=s,_;if(d=m.rawText$1(new A.StylesheetParser__declarationOrBuffer_closure6(m)),null!=(h=m._stylesheet0$_tryDeclarationChildren$2(l,g)))return h;e._contents+=d,t=0===d.length&&m._stylesheet0$_lookingAtInterpolatedIdentifier$0(),r=new A._SpanScannerState(_,_._string_scanner$_position),n=null;try{n=m._stylesheet0$_expression$0(),m.lookingAtChildren$0()?t&&m.expectStatementSeparator$0():m.atEndOfStatement$0()||m.expectStatementSeparator$0()}catch(n){if(D.FormatException._is(A.unwrapException(n))){if(!t)throw n;if(_.set$state(r),i=m.almostAnyValue$0(),!m.get$indented()&&59===_.peekChar$0())throw n;return _=f._interpolation_buffer0$_text,o=A.S(e),_._contents+=o,f.addInterpolation$1(i),f}throw n}return null!=(p=m._stylesheet0$_tryDeclarationChildren$3$value(l,g,n))?p:(m.expectStatementSeparator$0(),A.Declaration$0(l,n,m.spanFrom$1(g)))},_stylesheet0$_variableDeclarationOrInterpolation$0(){var e,t,r,n,i=this;return i.lookingAtIdentifier$0()?(e=i.scanner,t=new A._SpanScannerState(e,e._string_scanner$_position),r=i.identifier$0(),e.matches$1(".$")?(e.readChar$0(),i.variableDeclarationWithoutNamespace$2(r,t)):(e=new A.StringBuffer(""),n=new A.InterpolationBuffer0(e,A._setArrayType([],D.JSArray_Object),A._setArrayType([],D.JSArray_nullable_FileSpan)),e._contents=r,i._stylesheet0$_lookingAtInterpolatedIdentifierBody$0()&&n.addInterpolation$1(i.interpolatedIdentifier$0()),n.interpolation$1(i.spanFrom$1(t)))):i.interpolatedIdentifier$0()},_stylesheet0$_styleRule$2(e,t){var r,n,i,o,s,a=this;return a._stylesheet0$_isUseAllowed=!1,(r=null==t)?(n=a.scanner,i=new A._SpanScannerState(n,n._string_scanner$_position)):i=t,a._parseSelectors?(r||a.scanner.set$state(i),o=a._stylesheet0$_selectorList$0(),a._stylesheet0$_withStyleRuleChildren$1$3(o,i,new A.StylesheetParser__styleRule_closure0(a,o,i),D.StyleRule_2)):(s=(r={}).interpolation=a.styleRuleSelector$0(),null!=e?(e.addInterpolation$1(s),n=r.interpolation=e.interpolation$1(a.spanFrom$1(i))):n=s,0===n.contents.length&&a.scanner.error$1(0,'expected "}".'),a._stylesheet0$_withStyleRuleChildren$1$3(n,i,new A.StylesheetParser__styleRule_closure1(r,a,i),D.StyleRule_2))},_stylesheet0$_styleRule$0(){return this._stylesheet0$_styleRule$2(null,null)},_stylesheet0$_withStyleRuleChildren$1$3(e,t,r,n){var i=this,o=i._stylesheet0$_inStyleRule;return i._stylesheet0$_inStyleRule=!0,i._stylesheet0$_withChildren$3(i.get$_stylesheet0$_statement(),t,new A.StylesheetParser__withStyleRuleChildren_closure0(i,e,o,r,n))},_stylesheet0$_propertyOrVariableDeclaration$0(){var e,t,r,n,i,o,s,a,l=this,c=l.scanner,u=new A._SpanScannerState(c,c._string_scanner$_position);if(l._stylesheet0$_lookingAtPotentialPropertyHack$0())e=new A.StringBuffer(""),t=new A.InterpolationBuffer0(e,A._setArrayType([],D.JSArray_Object),A._setArrayType([],D.JSArray_nullable_FileSpan)),r=A.Primitives_stringFromCharCode(c.readChar$0()),e._contents+=r,r=l.rawText$1(new A.StylesheetParser__propertyOrVariableDeclaration_closure0(l)),e._contents+=r,t.addInterpolation$1(l.interpolatedIdentifier$0()),n=t.interpolation$1(l.spanFrom$1(u));else if(l.get$plainCss())n=l.interpolatedIdentifier$0();else{if((i=l._stylesheet0$_variableDeclarationOrInterpolation$0())instanceof A.VariableDeclaration0)return i;D.Interpolation_2._as(i),n=i}return l.whitespace$1$consumeNewlines(!1),c.expectChar$1(58),C.JSString_methods.startsWith$1(n.get$initialPlain(),"--")&&l.error$2(0,P.Declarw,n.span),l.whitespace$1$consumeNewlines(!1),null!=(o=l._stylesheet0$_tryDeclarationChildren$2(n,u))?o:(s=l._stylesheet0$_expression$0(),null!=(a=l._stylesheet0$_tryDeclarationChildren$3$value(n,u,s))?a:(l.expectStatementSeparator$0(),A.Declaration$0(n,s,l.spanFrom$1(u))))},_stylesheet0$_tryDeclarationChildren$3$value(e,t,r){var n=this;return n.lookingAtChildren$0()?(n.get$plainCss()&&n.scanner.error$1(0,P.Nested),n._stylesheet0$_withChildren$3(n.get$_stylesheet0$_declarationChild(),t,new A.StylesheetParser__tryDeclarationChildren_closure0(e,r))):null},_stylesheet0$_tryDeclarationChildren$2(e,t){return this._stylesheet0$_tryDeclarationChildren$3$value(e,t,null)},_stylesheet0$_declarationChild$0(){return 64===this.scanner.peekChar$0()?this._stylesheet0$_declarationAtRule$0():this._stylesheet0$_propertyOrVariableDeclaration$0()},atRule$2$root(e,t){var r,n,i,o,s,a,l,c,u=this,d=u.scanner,h=new A._SpanScannerState(d,d._string_scanner$_position);switch(d.expectChar$2$name(64,"@-rule"),r=u.interpolatedIdentifier$0(),n=u._stylesheet0$_isUseAllowed,u._stylesheet0$_isUseAllowed=!1,r.get$asPlain()){case"at-root":return u._stylesheet0$_atRootRule$1(h);case"content":return u._stylesheet0$_contentRule$1(h);case"debug":return u._stylesheet0$_debugRule$1(h);case"each":return u._stylesheet0$_eachRule$2(h,e);case"else":case"return":return u._stylesheet0$_disallowedAtRule$1(h);case"error":return u._stylesheet0$_errorRule$1(h);case"extend":return u.whitespace$1$consumeNewlines(!0),u._stylesheet0$_inStyleRule||u._stylesheet0$_inMixin||u._stylesheet0$_inContentBlock||u.error$2(0,P.x40exten,u.spanFrom$1(h)),i=u.almostAnyValue$0(),(o=d.scanChar$1(33))&&(u.expectIdentifier$1("optional"),u.whitespace$1$consumeNewlines(!1)),u.expectStatementSeparator$1("@extend rule"),new A.ExtendRule0(i,o,u.spanFrom$1(h));case"for":return u._stylesheet0$_forRule$2(h,e);case"forward":return u._stylesheet0$_isUseAllowed=n,t||u._stylesheet0$_disallowedAtRule$1(h),u._stylesheet0$_forwardRule$1(h);case"function":return u._stylesheet0$_functionRule$2(h,r);case"if":return u._stylesheet0$_ifRule$2(h,e);case"import":return u._stylesheet0$_importRule$1(h);case"include":return u._stylesheet0$_includeRule$1(h);case"media":return u.mediaRule$1(h);case"mixin":return u._stylesheet0$_mixinRule$1(h);case"-moz-document":return u.mozDocumentRule$2(h,r);case"supports":return u.supportsRule$1(h);case"use":return u._stylesheet0$_isUseAllowed=n,t||u._stylesheet0$_disallowedAtRule$1(h),u.whitespace$1$consumeNewlines(!0),s=u._stylesheet0$_urlString$0(),u.whitespace$1$consumeNewlines(!1),a=u._stylesheet0$_useNamespace$2(s,h),u.whitespace$1$consumeNewlines(!1),l=u._stylesheet0$_configuration$0(),u.whitespace$1$consumeNewlines(!1),c=u.spanFrom$1(h),u._stylesheet0$_isUseAllowed||u.error$2(0,P.x40use_r,c),u.expectStatementSeparator$1("@use rule"),(d=new A.UseRule0(s,a,null==l?C.List_empty26:A.List_List$unmodifiable(l,D.ConfiguredVariable_2),c)).UseRule$4$configuration0(s,a,c,l),d;case"warn":return u._stylesheet0$_warnRule$1(h);case"while":return u._stylesheet0$_whileRule$2(h,e);default:return u.unknownAtRule$2(h,r)}},_stylesheet0$_declarationAtRule$0(){var e=this,t=e.scanner,r=new A._SpanScannerState(t,t._string_scanner$_position),n=e._stylesheet0$_plainAtRuleName$0();return"content"!==n?"debug"!==n?"each"!==n?("else"===n&&e._stylesheet0$_disallowedAtRule$1(r),t="error"!==n?"for"!==n?"if"!==n?"include"!==n?"warn"!==n?"while"!==n?e._stylesheet0$_disallowedAtRule$1(r):e._stylesheet0$_whileRule$2(r,e.get$_stylesheet0$_declarationChild()):e._stylesheet0$_warnRule$1(r):e._stylesheet0$_includeRule$1(r):e._stylesheet0$_ifRule$2(r,e.get$_stylesheet0$_declarationChild()):e._stylesheet0$_forRule$2(r,e.get$_stylesheet0$_declarationChild()):e._stylesheet0$_errorRule$1(r)):t=e._stylesheet0$_eachRule$2(r,e.get$_stylesheet0$_declarationChild()):t=e._stylesheet0$_debugRule$1(r):t=e._stylesheet0$_contentRule$1(r),t},_stylesheet0$_functionChild$0(){var e,t,r,n,i,o,s,a,l,c,u=this,d=u.scanner;if(64!==d.peekChar$0()){i=d._string_scanner$_position,e=new A._SpanScannerState(d,i);try{return o=u.identifier$0(),d.expectChar$1(46),i=u.variableDeclarationWithoutNamespace$2(o,new A._SpanScannerState(d,i))}catch(o){if(i=A.unwrapException(o),!(s=D.SourceSpanFormatException)._is(i))throw o;t=i,r=A.getTraceFromException(o),d.set$state(e),n=null;try{n=u._stylesheet0$_declarationOrStyleRule$0()}catch(e){throw s._is(A.unwrapException(e))?A.wrapException(t):e}i=n instanceof A.StyleRule0?"style rules":"declarations",u.error$3(0,"@function rules may not contain "+i+".",w.get$span$x(n),r)}}return a=new A._SpanScannerState(d,d._string_scanner$_position),"debug"!==(l=u._stylesheet0$_plainAtRuleName$0())?"each"!==l?("else"===l&&u._stylesheet0$_disallowedAtRule$1(a),"error"!==l?"for"!==l?"if"!==l?"return"!==l?d="warn"!==l?"while"!==l?u._stylesheet0$_disallowedAtRule$1(a):u._stylesheet0$_whileRule$2(a,u.get$_stylesheet0$_functionChild()):u._stylesheet0$_warnRule$1(a):(u.whitespace$1$consumeNewlines(!0),c=u._stylesheet0$_expression$0(),u.expectStatementSeparator$1("@return rule"),d=new A.ReturnRule0(c,u.spanFrom$1(a))):d=u._stylesheet0$_ifRule$2(a,u.get$_stylesheet0$_functionChild()):d=u._stylesheet0$_forRule$2(a,u.get$_stylesheet0$_functionChild()):d=u._stylesheet0$_errorRule$1(a)):d=u._stylesheet0$_eachRule$2(a,u.get$_stylesheet0$_functionChild()):d=u._stylesheet0$_debugRule$1(a),d},_stylesheet0$_plainAtRuleName$0(){return this.scanner.expectChar$2$name(64,"@-rule"),this.identifier$0()},_stylesheet0$_atRootRule$1(e){var t,r,n,i,o,s=this;return s.whitespace$1$consumeNewlines(!1),40===(t=s.scanner).peekChar$0()?(r=t._string_scanner$_position,n=new A.StringBuffer(""),i=new A.InterpolationBuffer0(n,A._setArrayType([],D.JSArray_Object),A._setArrayType([],D.JSArray_nullable_FileSpan)),t.expectChar$1(40),o=A.Primitives_stringFromCharCode(40),n._contents+=o,s.whitespace$1$consumeNewlines(!0),s._stylesheet0$_addOrInject$2(i,s._stylesheet0$_expression$1$consumeNewlines(!0)),t.scanChar$1(58)&&(s.whitespace$1$consumeNewlines(!0),o=A.Primitives_stringFromCharCode(58),n._contents+=o,o=A.Primitives_stringFromCharCode(32),n._contents+=o,s._stylesheet0$_addOrInject$2(i,s._stylesheet0$_expression$1$consumeNewlines(!0))),t.expectChar$1(41),s.whitespace$1$consumeNewlines(!1),o=A.Primitives_stringFromCharCode(41),n._contents+=o,s._stylesheet0$_withChildren$3(s.get$_stylesheet0$_statement(),e,new A.StylesheetParser__atRootRule_closure1(i.interpolation$1(s.spanFrom$1(new A._SpanScannerState(t,r)))))):(t=!!s.lookingAtChildren$0()||s.get$indented()&&s.atEndOfStatement$0())?s._stylesheet0$_withChildren$3(s.get$_stylesheet0$_statement(),e,new A.StylesheetParser__atRootRule_closure2):A.AtRootRule$0(A._setArrayType([s._stylesheet0$_styleRule$0()],D.JSArray_Statement_2),s.spanFrom$1(e),null)},_stylesheet0$_contentRule$1(e){var t,r,n,i=this;return i._stylesheet0$_inMixin||i.error$2(0,P.x40conte,i.spanFrom$1(e)),t=i.scanner,r=A.FileLocation$_(t._sourceFile,t._string_scanner$_position),i.whitespace$1$consumeNewlines(!1),40===t.peekChar$0()?(n=i._stylesheet0$_argumentInvocation$1$mixin(!0),i.whitespace$1$consumeNewlines(!1)):(t=r.offset,n=A.ArgumentList$empty0(A._FileSpan$(r.file,t,t))),i.expectStatementSeparator$1("@content rule"),new A.ContentRule0(n,i.spanFrom$1(e))},_stylesheet0$_debugRule$1(e){var t,r,n,i=this;return i.whitespace$1$consumeNewlines(!0),t=i._stylesheet0$_expression$0(),n=(r=i.scanner)._string_scanner$_position,i.expectStatementSeparator$1("@debug rule"),new A.DebugRule0(t,i.spanFrom$2(e,new A._SpanScannerState(r,n)))},_stylesheet0$_eachRule$2(e,t){var r,n,i,o=this;for(o.whitespace$1$consumeNewlines(!0),r=o._stylesheet0$_inControlDirective,o._stylesheet0$_inControlDirective=!0,n=A._setArrayType([o.variableName$0()],D.JSArray_String),o.whitespace$1$consumeNewlines(!0),i=o.scanner;i.scanChar$1(44);)o.whitespace$1$consumeNewlines(!0),i.expectChar$1(36),n.push(o.identifier$1$normalize(!0)),o.whitespace$1$consumeNewlines(!0);return o.whitespace$1$consumeNewlines(!0),o.expectIdentifier$1("in"),o.whitespace$1$consumeNewlines(!0),o._stylesheet0$_withChildren$3(t,e,new A.StylesheetParser__eachRule_closure0(o,r,n,o._stylesheet0$_expression$0()))},_stylesheet0$_errorRule$1(e){var t,r,n,i=this;return i.whitespace$1$consumeNewlines(!0),t=i._stylesheet0$_expression$0(),n=(r=i.scanner)._string_scanner$_position,i.expectStatementSeparator$1("@error rule"),new A.ErrorRule0(t,i.spanFrom$2(e,new A._SpanScannerState(r,n)))},_stylesheet0$_functionRule$2(e,t){var r,n,i,o,s,a,l=this;return l.whitespace$1$consumeNewlines(!0),r=l.lastSilentComment,l.lastSilentComment=null,n=l.scanner,i=new A._SpanScannerState(n,n._string_scanner$_position),n.matches$1("--")?l.unknownAtRule$2(e,t):(o=l.identifier$0(),A.equalsIgnoreCase0(o,"type")&&l.error$2(0,P.This_n,l.spanFrom$1(i)),(n="expression"===o||"url"===o||"and"===o||"or"===o||"not"===o||"element"===A.unvendor0(o))?l.error$2(0,"Invalid function name.",l.spanFrom$1(i)):(n="expression"===(s=o.toLowerCase())||"url"===s||"element"===A.unvendor0(s))&&l.warnings.push(new A._Record_3_deprecation_message_span(C.Deprecation_2Ja,P.Customf,l.spanFrom$1(i))),l.whitespace$1$consumeNewlines(!0),a=l._stylesheet0$_parameterList$0(),l._stylesheet0$_inMixin||l._stylesheet0$_inContentBlock?l.error$2(0,P.Mixinscf,l.spanFrom$1(e)):l._stylesheet0$_inControlDirective&&l.error$2(0,P.Functi,l.spanFrom$1(e)),l.whitespace$1$consumeNewlines(!1),l._stylesheet0$_withChildren$3(l.get$_stylesheet0$_functionChild(),e,new A.StylesheetParser__functionRule_closure0(o,a,r)))},_stylesheet0$_forRule$2(e,t){var r,n,i,o=this,s={};return o.whitespace$1$consumeNewlines(!0),r=o._stylesheet0$_inControlDirective,o._stylesheet0$_inControlDirective=!0,n=o.variableName$0(),o.whitespace$1$consumeNewlines(!0),o.expectIdentifier$1("from"),o.whitespace$1$consumeNewlines(!0),s.exclusive=null,i=o._stylesheet0$_expression$2$consumeNewlines$until(!0,new A.StylesheetParser__forRule_closure1(s,o)),null==s.exclusive&&o.scanner.error$1(0,'Expected "to" or "through".'),o.whitespace$1$consumeNewlines(!0),o._stylesheet0$_withChildren$3(t,e,new A.StylesheetParser__forRule_closure2(s,o,r,n,i,o._stylesheet0$_expression$0()))},_stylesheet0$_forwardRule$1(e){var t,r,n,i,o,s,a,l,c,u,d,h,p,m,_=this,g=null;return _.whitespace$1$consumeNewlines(!0),t=_._stylesheet0$_urlString$0(),_.whitespace$1$consumeNewlines(!1),_.scanIdentifier$1("as")?(_.whitespace$1$consumeNewlines(!0),r=_.identifier$1$normalize(!0),_.scanner.expectChar$1(42),_.whitespace$1$consumeNewlines(!1)):r=g,n=g,i=g,_.scanIdentifier$1("show")?(_.whitespace$1$consumeNewlines(!0),s=(o=_._stylesheet0$_memberList$0())._0,a=o._1):(_.scanIdentifier$1("hide")&&(_.whitespace$1$consumeNewlines(!0),n=(l=_._stylesheet0$_memberList$0())._0,i=l._1),s=a=g),c=_._stylesheet0$_configuration$1$allowGuarded(!0),_.whitespace$1$consumeNewlines(!1),_.expectStatementSeparator$1("@forward rule"),u=_.spanFrom$1(e),_._stylesheet0$_isUseAllowed||_.error$2(0,P.x40forwa,u),null!=s?(a.toString,d=D.String,h=A.LinkedHashSet_LinkedHashSet$of(s,d),p=D.UnmodifiableSetView_String,d=A.LinkedHashSet_LinkedHashSet$of(a,d),m=null==c?C.List_empty26:A.List_List$unmodifiable(c,D.ConfiguredVariable_2),new A.ForwardRule0(t,new A.UnmodifiableSetView0(h,p),new A.UnmodifiableSetView0(d,p),g,g,r,m,u)):null!=n?(i.toString,d=D.String,h=A.LinkedHashSet_LinkedHashSet$of(n,d),p=D.UnmodifiableSetView_String,d=A.LinkedHashSet_LinkedHashSet$of(i,d),m=null==c?C.List_empty26:A.List_List$unmodifiable(c,D.ConfiguredVariable_2),new A.ForwardRule0(t,g,g,new A.UnmodifiableSetView0(h,p),new A.UnmodifiableSetView0(d,p),r,m,u)):new A.ForwardRule0(t,g,g,g,g,r,null==c?C.List_empty26:A.List_List$unmodifiable(c,D.ConfiguredVariable_2),u)},_stylesheet0$_memberList$0(){var e=this,t=D.String,r=A.LinkedHashSet_LinkedHashSet$_empty(t),n=A.LinkedHashSet_LinkedHashSet$_empty(t);t=e.scanner;do{e.whitespace$1$consumeNewlines(!0),e.withErrorMessage$2(P.Expectv,new A.StylesheetParser__memberList_closure0(e,n,r)),e.whitespace$1$consumeNewlines(!1)}while(t.scanChar$1(44));return new A._Record_2(r,n)},_stylesheet0$_ifRule$2(e,t){var r,n,i,o,s,a,l,c=this;for(c.whitespace$1$consumeNewlines(!0),r=c.get$currentIndentation(),n=c._stylesheet0$_inControlDirective,c._stylesheet0$_inControlDirective=!0,i=c._stylesheet0$_expression$0(),o=c.children$1(0,t),c.whitespaceWithoutComments$1$consumeNewlines(!1),s=A._setArrayType([A.IfClause$0(i,o)],D.JSArray_IfClause_2);;){if(!c.scanElse$1(r)){a=null;break}if(c.whitespace$1$consumeNewlines(!1),!c.scanIdentifier$1("if")){a=A.ElseClause$0(c.children$1(0,t));break}c.whitespace$1$consumeNewlines(!0),s.push(A.IfClause$0(c._stylesheet0$_expression$0(),c.children$1(0,t)))}return c._stylesheet0$_inControlDirective=n,l=c.spanFrom$1(e),c.whitespaceWithoutComments$1$consumeNewlines(!1),new A.IfRule0(A.List_List$unmodifiable(s,D.IfClause_2),a,l)},_stylesheet0$_importRule$1(e){var t,r,n=this,i=A._setArrayType([],D.JSArray_Import_2),o=n.scanner,s=n.warnings;do{n.whitespace$1$consumeNewlines(!1),(r=(t=n.importArgument$0())instanceof A.DynamicImport0)&&s.push(new A._Record_3_deprecation_message_span(C.Deprecation_L3L,P.Sass__i,t.span)),(n._stylesheet0$_inControlDirective||n._stylesheet0$_inMixin)&&r&&n._stylesheet0$_disallowedAtRule$1(e),i.push(t),n.whitespace$1$consumeNewlines(!1)}while(o.scanChar$1(44));return n.expectStatementSeparator$1("@import rule"),o=n.spanFrom$1(e),new A.ImportRule0(A.List_List$unmodifiable(i,D.Import_2),o)},importArgument$0(){var e,t,r,n,i,o=this,s=o.scanner,a=new A._SpanScannerState(s,s._string_scanner$_position),l=s.peekChar$0();if(117===l||85===l)return e=o.dynamicUrl$0(),o.whitespace$1$consumeNewlines(!1),i=o.tryImportModifiers$0(),s=e instanceof A.StringExpression0?e.text:A.Interpolation$0(A._setArrayType([e],D.JSArray_Object),A._setArrayType([e.get$span(e)],D.JSArray_nullable_FileSpan),e.get$span(e)),new A.StaticImport0(s,i,o.spanFrom$1(a));if(e=o.string$0(),t=o.spanFrom$1(a),o.whitespace$1$consumeNewlines(!1),i=o.tryImportModifiers$0(),o.isPlainImportUrl$1(e)||null!=i)return new A.StaticImport0(new A.Interpolation0(A.List_List$unmodifiable([t.get$text()],D.Object),C.List_null,t),i,o.spanFrom$1(a));try{return s=o.parseImportUrl$1(e),new A.DynamicImport0(s,t)}catch(e){if(s=A.unwrapException(e),!D.FormatException._is(s))throw e;r=s,n=A.getTraceFromException(e),o.error$3(0,"Invalid URL: "+w.get$message$x(r),t,n)}},parseImportUrl$1(e){var t=I.$get$windows();return t.style.rootLength$1(e)>0&&!I.$get$url().style.isRootRelative$1(e)?t.toUri$1(e).toString$0(0):(A.Uri_parse(e),e)},isPlainImportUrl$1(e){var t;return!(e.length<5)&&(!!C.JSString_methods.endsWith$1(e,".css")||(47!==(t=e.charCodeAt(0))?104===t&&(C.JSString_methods.startsWith$1(e,"http://")||C.JSString_methods.startsWith$1(e,"https://")):47===e.charCodeAt(1)))},tryImportModifiers$0(){var e,t,r,n,i,o,s,a,l,c,u,d=this;if(!d._stylesheet0$_lookingAtInterpolatedIdentifier$0()&&40!==d.scanner.peekChar$0())return null;for(e=d.scanner,t=new A._SpanScannerState(e,e._string_scanner$_position),r=new A.StringBuffer(""),n=A._setArrayType([],D.JSArray_Object),i=A._setArrayType([],D.JSArray_nullable_FileSpan),o=new A.InterpolationBuffer0(r,n,i);;){if(!d._stylesheet0$_lookingAtInterpolatedIdentifier$0())return 40===e.peekChar$0()?(0===n.length&&0===r._contents.length||(e=A.Primitives_stringFromCharCode(32),r._contents+=e),o.addInterpolation$1(d._stylesheet0$_mediaQueryList$0()),o.interpolation$1(d.spanFrom$1(t))):o.interpolation$1(d.spanFrom$1(t));if(0===n.length&&0===r._contents.length||(s=A.Primitives_stringFromCharCode(32),r._contents+=s),a=d.interpolatedIdentifier$0(),o.addInterpolation$1(a),"and"!==(l=null==(s=a.get$asPlain())?null:s.toLowerCase())&&e.scanChar$1(40))"supports"===l?((s=!((c=d._stylesheet0$_importSupportsQuery$0())instanceof A.SupportsDeclaration0))&&(u=A.Primitives_stringFromCharCode(40),r._contents+=u),u=c.get$span(c),o._interpolation_buffer0$_flushText$0(),n.push(new A.SupportsExpression0(c)),i.push(u),s&&(s=A.Primitives_stringFromCharCode(41),r._contents+=s)):(s=A.Primitives_stringFromCharCode(40),r._contents+=s,o.addInterpolation$1(d._stylesheet0$_interpolatedDeclarationValue$3$allowEmpty$allowSemicolon$consumeNewlines(!0,!0,!0)),s=A.Primitives_stringFromCharCode(41),r._contents+=s),e.expectChar$1(41),d.whitespace$1$consumeNewlines(!1);else if(d.whitespace$1$consumeNewlines(!1),e.scanChar$1(44))return r._contents+=", ",o.addInterpolation$1(d._stylesheet0$_mediaQueryList$0()),o.interpolation$1(d.spanFrom$1(t))}},_stylesheet0$_importSupportsQuery$0(){var e,t,r,n,i=this;return i.whitespace$1$consumeNewlines(!0),i.scanIdentifier$1("not")?(i.whitespace$1$consumeNewlines(!0),t=(e=i.scanner)._string_scanner$_position,new A.SupportsNegation0(i._stylesheet0$_supportsConditionInParens$0(),i.spanFrom$1(new A._SpanScannerState(e,t)))):40===(e=i.scanner).peekChar$0()?i._stylesheet0$_supportsCondition$1$inParentheses(!0):null!=(r=i._stylesheet0$_tryImportSupportsFunction$0())?r:(t=e._string_scanner$_position,n=i._stylesheet0$_expression$1$consumeNewlines(!0),e.expectChar$1(58),new A.SupportsDeclaration0(n,i._stylesheet0$_supportsDeclarationValue$1(n),i.spanFrom$1(new A._SpanScannerState(e,t))))},_stylesheet0$_tryImportSupportsFunction$0(){var e,t,r,n,i=this;return i._stylesheet0$_lookingAtInterpolatedIdentifier$0()?(e=i.scanner,t=new A._SpanScannerState(e,e._string_scanner$_position),r=i.interpolatedIdentifier$0(),e.scanChar$1(40)?(n=i._stylesheet0$_interpolatedDeclarationValue$3$allowEmpty$allowSemicolon$consumeNewlines(!0,!0,!0),e.expectChar$1(41),new A.SupportsFunction0(r,n,i.spanFrom$1(t))):(e.set$state(t),null)):null},_stylesheet0$_includeRule$1(e){var t,r,n,i,o,s,a,l,c,u,d,h=this,p=null;return h.whitespace$1$consumeNewlines(!0),t=h.identifier$0(),(r=h.scanner).scanChar$1(46)?(n=t,t=h._stylesheet0$_publicIdentifier$0()):n=p,h.whitespace$1$consumeNewlines(!1),40===r.peekChar$0()?i=h._stylesheet0$_argumentInvocation$1$mixin(!0):(s=(o=A.FileLocation$_(r._sourceFile,r._string_scanner$_position)).offset,i=A.ArgumentList$empty0(A._FileSpan$(o.file,s,s))),h.whitespace$1$consumeNewlines(!1),h.scanIdentifier$1("using")?(h.whitespace$1$consumeNewlines(!0),a=h._stylesheet0$_parameterList$0(),h.whitespace$1$consumeNewlines(!1)):a=p,!(o=null==a)||h.lookingAtChildren$0()?(o?(o=(r=A.FileLocation$_(r._sourceFile,r._string_scanner$_position)).offset,l=new A.ParameterList0(C.List_empty27,p,A._FileSpan$(r.file,o,o))):l=a,c=h._stylesheet0$_inContentBlock,h._stylesheet0$_inContentBlock=!0,u=h._stylesheet0$_withChildren$3(h.get$_stylesheet0$_statement(),e,new A.StylesheetParser__includeRule_closure0(l)),h._stylesheet0$_inContentBlock=c):(h.expectStatementSeparator$0(),u=p),o=null==u?i:u,d=(r=h.spanFrom$2(e,e)).expand$1(0,o.get$span(o)),new A.IncludeRule0(n,A.stringReplaceAllUnchecked(t,"_","-"),t,i,u,d)},mediaRule$1(e){var t=this;return t.whitespace$1$consumeNewlines(!1),t._stylesheet0$_withChildren$3(t.get$_stylesheet0$_statement(),e,new A.StylesheetParser_mediaRule_closure0(t._stylesheet0$_mediaQueryList$0()))},_stylesheet0$_mixinRule$1(e){var t,r,n,i,o,s=this;return s.whitespace$1$consumeNewlines(!0),t=s.lastSilentComment,s.lastSilentComment=null,n=(r=s.scanner)._string_scanner$_position,i=s.identifier$0(),C.JSString_methods.startsWith$1(i,"--")&&s.error$2(0,P.Sass__m,s.spanFrom$1(new A._SpanScannerState(r,n))),s.whitespace$1$consumeNewlines(!1),40===r.peekChar$0()?o=s._stylesheet0$_parameterList$0():(n=(r=A.FileLocation$_(r._sourceFile,r._string_scanner$_position)).offset,o=new A.ParameterList0(C.List_empty27,null,A._FileSpan$(r.file,n,n))),s._stylesheet0$_inMixin||s._stylesheet0$_inContentBlock?s.error$2(0,P.Mixinscm,s.spanFrom$1(e)):s._stylesheet0$_inControlDirective&&s.error$2(0,P.Mixinsb,s.spanFrom$1(e)),s.whitespace$1$consumeNewlines(!1),s._stylesheet0$_inMixin=!0,s._stylesheet0$_withChildren$3(s.get$_stylesheet0$_statement(),e,new A.StylesheetParser__mixinRule_closure0(s,i,o,t))},mozDocumentRule$2(e,t){var r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f=this,v={};for(f.whitespace$1$consumeNewlines(!1),n=(r=f.scanner)._string_scanner$_position,i=new A.StringBuffer(""),o=A._setArrayType([],D.JSArray_Object),s=A._setArrayType([],D.JSArray_nullable_FileSpan),a=new A.InterpolationBuffer0(i,o,s),v.needsDeprecationWarning=!1;35===r.peekChar$0()?(l=f.singleInterpolation$0(),a._interpolation_buffer0$_flushText$0(),o.push(l._0),s.push(l._1),v.needsDeprecationWarning=!0):(c=new A._SpanScannerState(r,r._string_scanner$_position),"url"!==(u=f.identifier$0())&&"url-prefix"!==u&&"domain"!==u?"regexp"!==u?f.error$2(0,"Invalid function name.",f.spanFrom$1(c)):(i._contents+="regexp(",r.expectChar$1(40),a.addInterpolation$1(f.interpolatedStringToken$0()),r.expectChar$1(41),p=A.Primitives_stringFromCharCode(41),i._contents+=p,v.needsDeprecationWarning=!0):(null!=(d=f._stylesheet0$_tryUrlContents$2$name(c,u))?a.addInterpolation$1(d):(r.expectChar$1(40),f.whitespace$1$consumeNewlines(!1),h=f.interpolatedStringToken$0(),r.expectChar$1(41),i._contents+=u,p=A.Primitives_stringFromCharCode(40),i._contents+=p,a.addInterpolation$1(h),p=A.Primitives_stringFromCharCode(41),i._contents+=p),(p=i._contents).charCodeAt(0),m=p,C.JSString_methods.endsWith$1(m,"url-prefix()")||C.JSString_methods.endsWith$1(m,"url-prefix('')")||C.JSString_methods.endsWith$1(m,'url-prefix("")')||(v.needsDeprecationWarning=!0))),f.whitespace$1$consumeNewlines(!1),r.scanChar$1(44);)p=A.Primitives_stringFromCharCode(44),i._contents+=p,_=r._string_scanner$_position,new A.StylesheetParser_mozDocumentRule_closure1(f).call$0(),g=r._string_scanner$_position,i._contents+=C.JSString_methods.substring$2(r.string,_,g);return f._stylesheet0$_withChildren$3(f.get$_stylesheet0$_statement(),e,new A.StylesheetParser_mozDocumentRule_closure2(v,f,t,a.interpolation$1(f.spanFrom$1(new A._SpanScannerState(r,n)))))},supportsRule$1(e){var t,r=this;return r.whitespace$1$consumeNewlines(!1),t=r._stylesheet0$_supportsCondition$0(),r.whitespace$1$consumeNewlines(!1),r._stylesheet0$_withChildren$3(r.get$_stylesheet0$_statement(),e,new A.StylesheetParser_supportsRule_closure0(t))},_stylesheet0$_useNamespace$2(e,t){var r,n,i,o,s=this;if(s.scanIdentifier$1("as"))return s.whitespace$1$consumeNewlines(!0),s.scanner.scanChar$1(42)?null:s.identifier$0();n=0===e.get$pathSegments().length?"":C.JSArray_methods.get$last(e.get$pathSegments()),i=C.JSString_methods.indexOf$1(n,"."),o=C.JSString_methods.startsWith$1(n,"_")?1:0,r=C.JSString_methods.substring$2(n,o,-1===i?n.length:i);try{return o=new A.Parser1(A.SpanScanner$(r,null),null)._parser1$_parseIdentifier$0()}catch(e){if(!D.SassFormatException_2._is(A.unwrapException(e)))throw e;s.error$2(0,'The default namespace "'+A.S(r)+P.x22x20is_n,s.spanFrom$1(t))}},_stylesheet0$_configuration$1$allowGuarded(e){var t,r,n,i,o,s,a,l,c,u,d=this;if(!d.scanIdentifier$1("with"))return null;for(t=A.LinkedHashSet_LinkedHashSet$_empty(D.String),r=A._setArrayType([],D.JSArray_ConfiguredVariable_2),d.whitespace$1$consumeNewlines(!0),(n=d.scanner).expectChar$1(40),i=d.warnings;(d.whitespace$1$consumeNewlines(!0),o=new A._SpanScannerState(n,n._string_scanner$_position),n.expectChar$1(36),s=d.identifier$1$normalize(!0),C.JSString_methods.startsWith$1(s,"-")&&i.push(new A._Record_3_deprecation_message_span(C.Deprecation_lkJ,P.Config,d.spanFrom$1(o))),d.whitespace$1$consumeNewlines(!0),n.expectChar$1(58),d.whitespace$1$consumeNewlines(!0),a=d.expressionUntilComma$0(),l=n._string_scanner$_position,e&&n.scanChar$1(33)?(c="default"===d.identifier$0())?d.whitespace$1$consumeNewlines(!0):d.error$2(0,"Invalid flag name.",d.spanFrom$1(new A._SpanScannerState(n,l))):c=!1,u=d.spanFrom$1(o),t.contains$1(0,s)&&d.error$2(0,P.The_sa,u),t.add$1(0,s),r.push(new A.ConfiguredVariable0(s,a,c,u)),n.scanChar$1(44))&&(d.whitespace$1$consumeNewlines(!0),d._stylesheet0$_lookingAtExpression$0()););return n.expectChar$1(41),r},_stylesheet0$_configuration$0(){return this._stylesheet0$_configuration$1$allowGuarded(!1)},_stylesheet0$_warnRule$1(e){var t,r,n,i=this;return i.whitespace$1$consumeNewlines(!0),t=i._stylesheet0$_expression$0(),n=(r=i.scanner)._string_scanner$_position,i.expectStatementSeparator$1("@warn rule"),new A.WarnRule0(t,i.spanFrom$2(e,new A._SpanScannerState(r,n)))},_stylesheet0$_whileRule$2(e,t){var r,n=this;return n.whitespace$1$consumeNewlines(!0),r=n._stylesheet0$_inControlDirective,n._stylesheet0$_inControlDirective=!0,n._stylesheet0$_withChildren$3(t,e,new A.StylesheetParser__whileRule_closure0(n,r,n._stylesheet0$_expression$0()))},unknownAtRule$2(e,t){var r,n,i,o=this,s={},a=o._stylesheet0$_inUnknownAtRule;o._stylesheet0$_inUnknownAtRule=!0,o.whitespace$1$consumeNewlines(!1),s.value=null,n=33===o.scanner.peekChar$0()||o.atEndOfStatement$0()?null:s.value=o._stylesheet0$_interpolatedDeclarationValue$1$allowOpenBrace(!1),r=o._stylesheet0$_inPlainCssFunction,null!=(i=t.get$asPlain())&&A.equalsIgnoreCase0(i,"function")&&(o._stylesheet0$_inPlainCssFunction=!0);try{return o.lookingAtChildren$0()?s=o._stylesheet0$_withChildren$3(o.get$_stylesheet0$_statement(),e,new A.StylesheetParser_unknownAtRule_closure0(s,t)):(o.expectStatementSeparator$0(),s=A.AtRule$0(t,o.spanFrom$1(e),null,n))}finally{o._stylesheet0$_inUnknownAtRule=a,o._stylesheet0$_inPlainCssFunction=r}},_stylesheet0$_disallowedAtRule$1(e){var t=this;t.whitespace$1$consumeNewlines(!1),t._stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowOpenBrace(!0,!1),t.error$2(0,"This at-rule is not allowed here.",t.spanFrom$1(e))},_stylesheet0$_parameterList$0(){var e,t,r,n,i,o,s=this,a=s.scanner,l=a._string_scanner$_position;for(a.expectChar$1(40),s.whitespace$1$consumeNewlines(!0),e=A._setArrayType([],D.JSArray_Parameter_2),t=A.LinkedHashSet_LinkedHashSet$_empty(D.String);r=null,36===a.peekChar$0();){if(n=a._string_scanner$_position,a.expectChar$1(36),i=s.identifier$1$normalize(!0),s.whitespace$1$consumeNewlines(!0),a.scanChar$1(58))s.whitespace$1$consumeNewlines(!0),o=s.expressionUntilComma$0();else{if(a.scanChar$1(46)){a.expectChar$1(46),a.expectChar$1(46),s.whitespace$1$consumeNewlines(!0),a.scanChar$1(44)&&s.whitespace$1$consumeNewlines(!0),r=i;break}o=null}if(e.push(new A.Parameter0(i,o,s.spanFrom$1(new A._SpanScannerState(a,n)))),t.add$1(0,i)||s.error$2(0,"Duplicate parameter.",C.JSArray_methods.get$last(e).span),!a.scanChar$1(44))break;s.whitespace$1$consumeNewlines(!0)}return a.expectChar$1(41),a=s.spanFrom$1(new A._SpanScannerState(a,l)),new A.ParameterList0(A.List_List$unmodifiable(e,D.Parameter_2),r,a)},_stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(e,t){var r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v=this,b=v.scanner,y=b._string_scanner$_position;for(b.expectChar$1(40),v.whitespace$1$consumeNewlines(!0),r=A._setArrayType([],D.JSArray_Expression_2),n=D.String,i=A.LinkedHashMap_LinkedHashMap$_empty(n,D.Expression_2),o=A.LinkedHashMap_LinkedHashMap$_empty(n,D.FileSpan),s=!t,a=v.warnings,l=D.SourceSpan,c=null,u=!1;d=null,v._stylesheet0$_lookingAtExpression$0();){if(h=v.expressionUntilComma$1$singleEquals(s),v.whitespace$1$consumeNewlines(!0),p=!0,h instanceof A.VariableExpression0&&b.scanChar$1(58))v.whitespace$1$consumeNewlines(!0),m=h.name,i.containsKey$1(m)&&v.error$2(0,"Duplicate argument.",h.span),_=v.expressionUntilComma$1$singleEquals(s),i.$indexSet(0,m,_),g=h.span,o.$indexSet(0,m,g.expand$1(0,_.get$span(_))),null==c||u||(a.push(new A._Record_3_deprecation_message_span(C.Deprecation_Jgi,P.Named_,new A.MultiSpan0(v.spanFromPosition$1(g.get$start(g).offset),"named argument",A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([c.get$span(c),"rest argument"],l,n),l,n)))),u=p);else if(b.scanChar$1(46)){if(b.expectChar$1(46),b.expectChar$1(46),null!=c){v.whitespace$1$consumeNewlines(!0),b.scanChar$1(44)&&v.whitespace$1$consumeNewlines(!0),d=h;break}c=h}else 0!==i.__js_helper$_length?v.error$2(0,P.Positik,h.get$span(h)):(r.push(h),null==c||u||(a.push(new A._Record_3_deprecation_message_span(C.Deprecation_Jgi,P.Positir,new A.MultiSpan0(h.get$span(h),"positional argument",A.ConstantMap_ConstantMap$from(A.LinkedHashMap_LinkedHashMap$_literal([c.get$span(c),"rest argument"],l,n),l,n)))),u=p));if(v.whitespace$1$consumeNewlines(!0),!b.scanChar$1(44))break;if(v.whitespace$1$consumeNewlines(!0),e&&1===r.length&&0===i.__js_helper$_length&&null==c&&41===b.peekChar$0()){n=b._sourceFile,s=b._string_scanner$_position,new A.FileLocation(n,s).FileLocation$_$2(n,s),(a=new A._FileSpan(n,s,s))._FileSpan$3(n,s,s),(f=A.List_List$from([""],!1,D.Object)).$flags=3,r.push(new A.StringExpression0(new A.Interpolation0(f,C.List_null,a),!1));break}}return b.expectChar$1(41),A.ArgumentList$0(r,i,o,v.spanFrom$1(new A._SpanScannerState(b,y)),d,c)},_stylesheet0$_argumentInvocation$0(){return this._stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(!1,!1)},_stylesheet0$_argumentInvocation$1$allowEmptySecondArg(e){return this._stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(e,!1)},_stylesheet0$_argumentInvocation$1$mixin(e){return this._stylesheet0$_argumentInvocation$2$allowEmptySecondArg$mixin(!1,e)},_stylesheet0$_expression$4$bracketList$consumeNewlines$singleEquals$until(e,t,r,n){var i,o,s,a,l,c,u,d,h,p,m,_,g,f,v,b,y,$,x,S,w,E,I,M=this,k="Expected expression.",T={},R=null!=n;if(R&&n.call$0()&&M.scanner.error$1(0,k),e){if(i=M.scanner,o=new A._SpanScannerState(i,i._string_scanner$_position),i.expectChar$1(91),M.whitespace$1$consumeNewlines(!0),i.scanChar$1(93))return R=A._setArrayType([],D.JSArray_Expression_2),i=M.spanFrom$1(o),new A.ListExpression0(A.List_List$unmodifiable(R,D.Expression_2),C.ListSeparator_undecided_null_3_undecided0,!0,i)}else o=null;for(i=M.scanner,s=new A._SpanScannerState(i,i._string_scanner$_position),a=M._stylesheet0$_inExpression,l=M._stylesheet0$_inParentheses,M._stylesheet0$_inExpression=!0,T.operands_=T.operators_=T.spaceExpressions_=T.commaExpressions_=null,T.allowSlash=!0,T.singleExpression_=M._stylesheet0$_singleExpression$0(),c=new A.StylesheetParser__expression_resetState0(T,M,s),u=new A.StylesheetParser__expression_resolveOneOperation0(T,M),d=new A.StylesheetParser__expression_resolveOperations0(T,u),h=new A.StylesheetParser__expression_addSingleExpression0(T,M,c,d),p=new A.StylesheetParser__expression_addOperator0(T,M,u,h),m=new A.StylesheetParser__expression_resolveSpaceExpressions0(T,M,d),_=!t,g=D.JSArray_Expression_2;(M.whitespace$1$consumeNewlines(!_||e),!R||!n.call$0())&&null!=(f=i.peekChar$0());)if(40!==f)if(91!==f)if(36!==f)if(38!==f)if(39!==f&&34!==f)if(35!==f)if(61!==f)if(33!==f)if(60!==f)if(62!==f)if(42!==f)if((y=43===f)&&null==T.singleExpression_)h.call$1(M._stylesheet0$_unaryOperation$0());else if(y)i.readChar$0(),p.call$1(C.BinaryOperator_jCK0);else if(45!==f)if((x=47===f)&&null==T.singleExpression_)h.call$1(M._stylesheet0$_unaryOperation$0());else if(x)i.readChar$0(),p.call$1(C.BinaryOperator_ehp0);else if(37!==f)if(f>=48&&f<=57)h.call$1(M._stylesheet0$_number$0());else{if((S=46===f)&&46===i.peekChar$1(1))break;if(S)h.call$1(M._stylesheet0$_number$0());else if(97!==f||M.get$plainCss()||!M.scanIdentifier$1("and"))if(111!==f||M.get$plainCss()||!M.scanIdentifier$1("or"))if(117!==f&&85!==f||43!==i.peekChar$1(1))if(b=f>=97&&f<=122||(f>=65&&f<=90||95===f||92===f||f>=128))h.call$1(M.identifierLike$0());else{if(44!==f)break;if(M._stylesheet0$_inParentheses&&(M._stylesheet0$_inParentheses=!1,T.allowSlash)){c.call$0();continue}null==(w=T.commaExpressions_)&&(w=T.commaExpressions_=A._setArrayType([],g)),null==T.singleExpression_&&i.error$1(0,k),m.call$0(),(b=T.singleExpression_).toString,w.push(b),i.readChar$0(),T.allowSlash=!0,T.singleExpression_=null}else h.call$1(M._stylesheet0$_unicodeRange$0());else p.call$1(C.BinaryOperator_OOf0);else p.call$1(C.BinaryOperator_5vK0)}else i.readChar$0(),p.call$1(C.BinaryOperator_bgA0);else $=i.peekChar$1(1),(b=!!(A._isInt($)&&$>=48&&$<=57||46===$)&&(null==T.singleExpression_||(32===(b=i.peekChar$1(-1))||9===b||10===b||13===b||12===b)))?h.call$1(M._stylesheet0$_number$0()):M._stylesheet0$_lookingAtInterpolatedIdentifier$0()?h.call$1(M.identifierLike$0()):null==T.singleExpression_?h.call$1(M._stylesheet0$_unaryOperation$0()):(i.readChar$0(),p.call$1(C.BinaryOperator_tDf0));else i.readChar$0(),p.call$1(C.BinaryOperator_wkM0);else i.readChar$0(),p.call$1(i.scanChar$1(61)?C.BinaryOperator_YGt0:C.BinaryOperator_Tic0);else i.readChar$0(),p.call$1(i.scanChar$1(61)?C.BinaryOperator_f2c0:C.BinaryOperator_CG20);else if(61!==(v=i.peekChar$1(1))){if(b=!0,null!=v&&105!==v&&73!==v&&(b=32===v||9===v||10===v||13===v||12===v),!b)break;h.call$1(M._stylesheet0$_importantExpression$0())}else i.readChar$0(),i.readChar$0(),p.call$1(C.BinaryOperator_Fv20);else i.readChar$0(),r&&61!==i.peekChar$0()?p.call$1(C.BinaryOperator_g6F0):(i.expectChar$1(61),p.call$1(C.BinaryOperator_K7S0));else h.call$1(M._stylesheet0$_hashExpression$0());else h.call$1(M.interpolatedString$0());else h.call$1(M._stylesheet0$_selector$0());else h.call$1(M._stylesheet0$_variable$0());else h.call$1(M._stylesheet0$_expression$1$bracketList(!0));else h.call$1(M.parentheses$0());return e&&i.expectChar$1(93),w=T.commaExpressions_,E=T.spaceExpressions_,null!=w?(m.call$0(),M._stylesheet0$_inParentheses=l,null!=(I=T.singleExpression_)&&w.push(I),M._stylesheet0$_inExpression=a,R=M.spanFrom$1(null==o?s:o),new A.ListExpression0(A.List_List$unmodifiable(w,D.Expression_2),C.ListSeparator_z0K0,e,R)):e&&null!=E?(d.call$0(),M._stylesheet0$_inExpression=a,(R=T.singleExpression_).toString,E.push(R),o.toString,R=M.spanFrom$1(o),new A.ListExpression0(A.List_List$unmodifiable(E,D.Expression_2),C.ListSeparator_SrV0,!0,R)):(m.call$0(),e&&((R=T.singleExpression_).toString,g=A._setArrayType([R],g),o.toString,R=M.spanFrom$1(o),T.singleExpression_=new A.ListExpression0(A.List_List$unmodifiable(g,D.Expression_2),C.ListSeparator_undecided_null_3_undecided0,!0,R)),M._stylesheet0$_inExpression=a,(R=T.singleExpression_).toString,R)},_stylesheet0$_expression$3$consumeNewlines$singleEquals$until(e,t,r){return this._stylesheet0$_expression$4$bracketList$consumeNewlines$singleEquals$until(!1,e,t,r)},_stylesheet0$_expression$1$bracketList(e){return this._stylesheet0$_expression$4$bracketList$consumeNewlines$singleEquals$until(e,!1,!1,null)},_stylesheet0$_expression$0(){return this._stylesheet0$_expression$4$bracketList$consumeNewlines$singleEquals$until(!1,!1,!1,null)},_stylesheet0$_expression$1$consumeNewlines(e){return this._stylesheet0$_expression$4$bracketList$consumeNewlines$singleEquals$until(!1,e,!1,null)},_stylesheet0$_expression$2$consumeNewlines$until(e,t){return this._stylesheet0$_expression$4$bracketList$consumeNewlines$singleEquals$until(!1,e,!1,t)},expressionUntilComma$1$singleEquals(e){return this._stylesheet0$_expression$3$consumeNewlines$singleEquals$until(!0,e,new A.StylesheetParser_expressionUntilComma_closure0(this))},expressionUntilComma$0(){return this.expressionUntilComma$1$singleEquals(!1)},_stylesheet0$_isSlashOperand$1(e){var t=!0;return e instanceof A.NumberExpression0||e instanceof A.FunctionExpression0||(t=e instanceof A.BinaryOperationExpression0&&e.allowsSlash),t},_stylesheet0$_singleExpression$0(){var e,t,r=this,n="Expected expression.",i=r.scanner,o=i.peekChar$0();return null==o&&i.error$1(0,n),40!==o?47!==o?46!==o?91!==o?36!==o?38!==o?39!==o&&34!==o?35!==o?43!==o?45!==o?33!==o?37!==o?i=117!==o&&85!==o||43!==i.peekChar$1(1)?o>=48&&o<=57?r._stylesheet0$_number$0():(t=o>=97&&o<=122||(o>=65&&o<=90||95===o||92===o||o>=128))?r.identifierLike$0():i.error$1(0,n):r._stylesheet0$_unicodeRange$0():(t=i._string_scanner$_position,i.readChar$0(),t=r.spanFrom$1(new A._SpanScannerState(i,t)),i=t=new A.StringExpression0(new A.Interpolation0(A.List_List$unmodifiable(["%"],D.Object),C.List_null,t),!1)):i=r._stylesheet0$_importantExpression$0():i=r._stylesheet0$_minusExpression$0():(e=i.peekChar$1(1),i=null!=e&&e>=48&&e<=57||46===e?r._stylesheet0$_number$0():r._stylesheet0$_unaryOperation$0()):i=r._stylesheet0$_hashExpression$0():i=r.interpolatedString$0():i=r._stylesheet0$_selector$0():i=r._stylesheet0$_variable$0():i=r._stylesheet0$_expression$1$bracketList(!0):i=r._stylesheet0$_number$0():i=r._stylesheet0$_unaryOperation$0():i=r.parentheses$0(),i},parentheses$0(){var e,t,r,n,i,o,s,a=this,l=a._stylesheet0$_inParentheses;a._stylesheet0$_inParentheses=!0;try{if(o=a.scanner,e=new A._SpanScannerState(o,o._string_scanner$_position),o.expectChar$1(40),a.whitespace$1$consumeNewlines(!0),t=new A._SpanScannerState(o,o._string_scanner$_position),!a._stylesheet0$_lookingAtExpression$0())return o.expectChar$1(41),o=A._setArrayType([],D.JSArray_Expression_2),s=a.spanFrom$1(e),o=A.List_List$unmodifiable(o,D.Expression_2),new A.ListExpression0(o,C.ListSeparator_undecided_null_3_undecided0,!1,s);if(r=a.expressionUntilComma$0(),o.scanChar$1(58))return a.whitespace$1$consumeNewlines(!0),o=a._stylesheet0$_map$2(r,e);if(!o.scanChar$1(44))return o.expectChar$1(41),o=a.spanFrom$1(e),new A.ParenthesizedExpression0(r,o);for(a.whitespace$1$consumeNewlines(!0),n=A._setArrayType([r],D.JSArray_Expression_2);a._stylesheet0$_lookingAtExpression$0()&&(w.add$1$ax(n,a.expressionUntilComma$0()),o.scanChar$1(44));)a.whitespace$1$consumeNewlines(!0);return s=a.spanFrom$1(t),i=new A.ListExpression0(A.List_List$unmodifiable(n,D.Expression_2),C.ListSeparator_z0K0,!1,s),o.expectChar$1(41),o=a.spanFrom$1(e),new A.ParenthesizedExpression0(i,o)}finally{a._stylesheet0$_inParentheses=l}},_stylesheet0$_map$2(e,t){var r,n,i=this,o=A._setArrayType([new A._Record_2(e,i.expressionUntilComma$0())],D.JSArray_Record_2_Expression_and_Expression_2);for(r=i.scanner;r.scanChar$1(44)&&(i.whitespace$1$consumeNewlines(!0),i._stylesheet0$_lookingAtExpression$0());)n=i.expressionUntilComma$0(),r.expectChar$1(58),i.whitespace$1$consumeNewlines(!0),o.push(new A._Record_2(n,i.expressionUntilComma$0()));return r.expectChar$1(41),r=i.spanFrom$1(t),new A.MapExpression0(A.List_List$unmodifiable(o,D.Record_2_Expression_and_Expression_2),r)},_stylesheet0$_hashExpression$0(){var e,t,r,n,i=this,o=i.scanner;return 123===o.peekChar$1(1)?i.identifierLike$0():(e=new A._SpanScannerState(o,o._string_scanner$_position),o.expectChar$1(35),!0===(t=null==(t=o.peekChar$0())?null:t>=48&&t<=57)?new A.ColorExpression0(i._stylesheet0$_hexColorContents$1(e),i.spanFrom$1(e)):(t=o._string_scanner$_position,r=i.interpolatedIdentifier$0(),i._stylesheet0$_isHexColor$1(r)?(o.set$state(new A._SpanScannerState(o,t)),new A.ColorExpression0(i._stylesheet0$_hexColorContents$1(e),i.spanFrom$1(e))):(o=new A.StringBuffer(""),n=new A.InterpolationBuffer0(o,A._setArrayType([],D.JSArray_Object),A._setArrayType([],D.JSArray_nullable_FileSpan)),t=A.Primitives_stringFromCharCode(35),o._contents+=t,n.addInterpolation$1(r),new A.StringExpression0(n.interpolation$1(i.spanFrom$1(e)),!1))))},_stylesheet0$_hexColorContents$1(e){var t,r,n,i,o,s,a,l,c=this,u=c._stylesheet0$_hexDigit$0(),d=c._stylesheet0$_hexDigit$0(),h=c._stylesheet0$_hexDigit$0(),p=c.scanner,m=p.peekChar$0();return null!=m&&A.CharacterExtension_get_isHex0(m)?(o=c._stylesheet0$_hexDigit$0(),a=u<<4>>>0,l=h<<4>>>0,(s=null!=(m=p.peekChar$0())&&A.CharacterExtension_get_isHex0(m))?(t=a+d,r=l+o,n=(c._stylesheet0$_hexDigit$0()<<4>>>0)+c._stylesheet0$_hexDigit$0(),i=null!=(m=p.peekChar$0())&&A.CharacterExtension_get_isHex0(m)?((c._stylesheet0$_hexDigit$0()<<4>>>0)+c._stylesheet0$_hexDigit$0())/255:null):(t=a+u,r=(d<<4>>>0)+d,n=l+h,i=((o<<4>>>0)+o)/255)):(t=(u<<4>>>0)+u,r=(d<<4>>>0)+d,n=(h<<4>>>0)+h,i=null),s=(p=null==i)?1:i,A.SassColor_SassColor$rgbInternal0(t,r,n,s,p?new A.SpanColorFormat0(c.spanFrom$1(e)):null)},_stylesheet0$_isHexColor$1(e){var t,r,n=e.get$asPlain();return"string"==typeof n?(r=!0,3!==(t=n.length)&&4!==t&&6!==t&&(r=8===t)):r=!1,!!r&&(r=new A.CodeUnits(n)).every$1(r,new A.StylesheetParser__isHexColor_closure0)},_stylesheet0$_hexDigit$0(){var e=this.scanner,t=e.peekChar$0();return!0===(t=null==t?null:A.CharacterExtension_get_isHex0(t))?A.asHex0(e.readChar$0()):e.error$1(0,"Expected hex digit.")},_stylesheet0$_minusExpression$0(){var e=this,t=e.scanner.peekChar$1(1);return A._isInt(t)&&t>=48&&t<=57||46===t?e._stylesheet0$_number$0():e._stylesheet0$_lookingAtInterpolatedIdentifier$0()?e.identifierLike$0():e._stylesheet0$_unaryOperation$0()},_stylesheet0$_importantExpression$0(){var e=this,t=e.scanner,r=t._string_scanner$_position;return t.readChar$0(),e.whitespace$1$consumeNewlines(!0),e.expectIdentifier$1("important"),r=e.spanFrom$1(new A._SpanScannerState(t,r)),new A.StringExpression0(new A.Interpolation0(A.List_List$unmodifiable(["!important"],D.Object),C.List_null,r),!1)},_stylesheet0$_unaryOperation$0(){var e=this,t=e.scanner,r=t._string_scanner$_position,n=e._stylesheet0$_unaryOperatorFor$1(t.readChar$0());return null==n?t.error$2$position(0,"Expected unary operator.",t._string_scanner$_position-1):e.get$plainCss()&&n!==C.UnaryOperator_Y930&&t.error$3$length$position(0,"Operators aren't allowed in plain CSS.",1,t._string_scanner$_position-1),e.whitespace$1$consumeNewlines(!0),new A.UnaryOperationExpression0(n,e._stylesheet0$_singleExpression$0(),e.spanFrom$1(new A._SpanScannerState(t,r)))},_stylesheet0$_unaryOperatorFor$1:e=>43!==e?45!==e?47!==e?null:C.UnaryOperator_Y930:C.UnaryOperator_hCO0:C.UnaryOperator_n2K0,_stylesheet0$_number$0(){var e,t,r=this,n=r.scanner,i=n._string_scanner$_position,o=n.peekChar$0(),s=43!==o;return s&&45!==o||n.readChar$0(),46!==n.peekChar$0()&&r._stylesheet0$_consumeNaturalNumber$0(),r._stylesheet0$_tryDecimal$1$allowTrailingDot(n._string_scanner$_position!==i&&s&&45!==o),r._stylesheet0$_tryExponent$0(),e=A.double_parse(n.substring$1(0,i)),t=n.scanChar$1(37)?"%":(s=!!r.lookingAtIdentifier$0()&&(45!==n.peekChar$0()||45!==n.peekChar$1(1)))?r.identifier$1$unit(!0):null,new A.NumberExpression0(e,t,r.spanFrom$1(new A._SpanScannerState(n,i)))},_stylesheet0$_consumeNaturalNumber$0(){var e,t=this.scanner,r=t.readChar$0();for(r>=48&&r<=57||t.error$2$position(0,"Expected digit.",t._string_scanner$_position-1);null!=(e=t.peekChar$0())&&e>=48&&e<=57;)t.readChar$0()},_stylesheet0$_tryDecimal$1$allowTrailingDot(e){var t,r=this.scanner;if(46===r.peekChar$0()){if(!(null!=(t=r.peekChar$1(1))&&t>=48&&t<=57)){if(e)return;r.error$2$position(0,"Expected digit.",r._string_scanner$_position+1)}for(r.readChar$0();null!=(t=r.peekChar$0())&&t>=48&&t<=57;)r.readChar$0()}},_stylesheet0$_tryExponent$0(){var e,t,r=this.scanner,n=r.peekChar$0();if((101===n||69===n)&&(null!=(e=r.peekChar$1(1))&&e>=48&&e<=57||45===e||43===e))for(r.readChar$0(),43!==e&&45!==e||r.readChar$0(),null!=(t=r.peekChar$0())&&t>=48&&t<=57||r.error$1(0,"Expected digit.");null!=(t=r.peekChar$0())&&t>=48&&t<=57;)r.readChar$0()},_stylesheet0$_unicodeRange$0(){var e,t,r,n,i=this,o="Expected at most 6 digits.",s=i.scanner,a=s._string_scanner$_position,l=new A._SpanScannerState(s,a);for(i.expectIdentChar$1(117),s.expectChar$1(43),e=0;i.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure1);)++e;for(t=!1;s.scanChar$1(63);t=!0)++e;if(0===e)s.error$1(0,'Expected hex digit or "?".');else if(e>6)i.error$2(0,o,i.spanFrom$1(l));else if(t)return s=s.substring$1(0,a),a=i.spanFrom$1(l),new A.StringExpression0(new A.Interpolation0(A.List_List$unmodifiable([s],D.Object),C.List_null,a),!1);if(s.scanChar$1(45)){for(r=s._string_scanner$_position,n=0;i.scanCharIf$1(new A.StylesheetParser__unicodeRange_closure2);)++n;0===n?s.error$1(0,"Expected hex digit."):n>6&&i.error$2(0,o,i.spanFrom$1(new A._SpanScannerState(s,r)))}return i._stylesheet0$_lookingAtInterpolatedIdentifierBody$0()&&s.error$1(0,"Expected end of identifier."),s=s.substring$1(0,a),a=i.spanFrom$1(l),new A.StringExpression0(new A.Interpolation0(A.List_List$unmodifiable([s],D.Object),C.List_null,a),!1)},_stylesheet0$_variable$0(){var e=this,t=e.scanner,r=new A._SpanScannerState(t,t._string_scanner$_position),n=e.variableName$0();return e.get$plainCss()&&e.error$2(0,P.Sass_v,e.spanFrom$1(r)),new A.VariableExpression0(null,n,e.spanFrom$1(r))},_stylesheet0$_selector$0(){var e,t,r=this;return r.get$plainCss()&&r.scanner.error$2$length(0,P.The_pa,1),e=r.scanner,t=new A._SpanScannerState(e,e._string_scanner$_position),e.expectChar$1(38),e.scanChar$1(38)&&(r.warnings.push(new A._Record_3_deprecation_message_span(null,P.In_Sas,r.spanFrom$1(t))),e.set$position(e._string_scanner$_position-1)),new A.SelectorExpression0(r.spanFrom$1(t))},interpolatedString$0(){var e,t,r,n,i,o,s,a,l=this.scanner,c=l._string_scanner$_position,u=l.readChar$0();for(39!==u&&34!==u&&l.error$2$position(0,"Expected string.",c),e=new A.StringBuffer(""),t=A._setArrayType([],D.JSArray_Object),r=A._setArrayType([],D.JSArray_nullable_FileSpan),n=new A.InterpolationBuffer0(e,t,r);;){if((i=l.peekChar$0())===u){l.readChar$0();break}null!=i&&10!==i&&13!==i&&12!==i||l.error$1(0,"Expected "+A.Primitives_stringFromCharCode(u)+"."),92!==i?35!==i||123!==l.peekChar$1(1)?(s=A.Primitives_stringFromCharCode(l.readChar$0()),e._contents+=s):(a=this.singleInterpolation$0(),n._interpolation_buffer0$_flushText$0(),t.push(a._0),r.push(a._1)):10===(o=l.peekChar$1(1))||13===o||12===o?(l.readChar$0(),l.readChar$0(),13===o&&l.scanChar$1(10)):(s=A.Primitives_stringFromCharCode(A.consumeEscapedCharacter0(l)),e._contents+=s)}return new A.StringExpression0(n.interpolation$1(this.spanFrom$1(new A._SpanScannerState(l,c))),!0)},interpolatedStringToken$0(){var e,t,r,n,i,o,s,a,l,c,u,d=this,h=d.scanner,p=h._string_scanner$_position,m=h.readChar$0();for(39!==m&&34!==m&&h.error$2$position(0,"Expected string.",p),e=new A.StringBuffer(""),t=A._setArrayType([],D.JSArray_Object),r=A._setArrayType([],D.JSArray_nullable_FileSpan),n=new A.InterpolationBuffer0(e,t,r),i=A.Primitives_stringFromCharCode(m),e._contents+=i;;){if((o=h.peekChar$0())===m){t=A.Primitives_stringFromCharCode(h.readChar$0()),e._contents+=t;break}null!=o&&10!==o&&13!==o&&12!==o||h.error$1(0,"Expected "+i+"."),92!==o?35!==o||123!==h.peekChar$1(1)?(a=A.Primitives_stringFromCharCode(h.readChar$0()),e._contents+=a):(u=d.singleInterpolation$0(),n._interpolation_buffer0$_flushText$0(),t.push(u._0),r.push(u._1)):10===(s=h.peekChar$1(1))||13===s||12===s?(a=A.Primitives_stringFromCharCode(h.readChar$0()),e._contents+=a,a=A.Primitives_stringFromCharCode(h.readChar$0()),e._contents+=a,13===s&&h.scanChar$1(10)&&(a=A.Primitives_stringFromCharCode(10),e._contents+=a)):(l=h._string_scanner$_position,new A.StylesheetParser_interpolatedStringToken_closure0(d).call$0(),c=h._string_scanner$_position,e._contents+=C.JSString_methods.substring$2(h.string,l,c))}return n.interpolation$1(d.spanFrom$1(new A._SpanScannerState(h,p)))},identifierLike$0(){var e,t,r,n,i,o,s,a,l,c,u,d,h=this,p=h.scanner,m=new A._SpanScannerState(p,p._string_scanner$_position),_=h.interpolatedIdentifier$0(),g=_.get$asPlain(),f=A._Cell$(),v=null!=g;if(v){if("if"===g&&40===p.peekChar$0()){e=new A._SpanScannerState(p,p._string_scanner$_position);try{return t=h._stylesheet0$_argumentInvocation$0(),r=new A.LegacyIfExpression0(t,_.span.expand$1(0,t.span)),n=null,i=r.get$modernSuggestion(),o=null,null==i?n="":(o=i,n="Suggestion: "+A.S(o)+"\n\n"),h.warnings.push(new A._Record_3_deprecation_message_span(C.Deprecation_qka,C.JSString_methods.$add(P.The_Sa,n)+P.More_i,r.span)),r}catch(t){if(D.FormatException._is(A.unwrapException(t)))return p.set$state(e),h.ifExpression$1(m);throw t}}else{if("if"===g.toLowerCase()&&40===p.peekChar$0())return h.ifExpression$1(m);if("not"===g)return h.whitespace$1$consumeNewlines(!0),r=h._stylesheet0$_singleExpression$0(),new A.UnaryOperationExpression0(C.UnaryOperator_not_not_3_not0,r,_.span.expand$1(0,r.get$span(r)))}if(f.__late_helper$_value=g.toLowerCase(),40!==p.peekChar$0()){switch(g){case"false":return new A.BooleanExpression0(!1,_.span);case"null":return new A.NullExpression0(_.span);case"true":return new A.BooleanExpression0(!0,_.span)}if(null!=(s=I.$get$colorsByName0().$index(0,f._readLocal$0())))return n=C.JSNumber_methods.round$0(s._color0$_legacyChannel$2(C.RgbColorSpace_i0P0,"red")),p=C.JSNumber_methods.round$0(s._color0$_legacyChannel$2(C.RgbColorSpace_i0P0,"green")),v=C.JSNumber_methods.round$0(s._color0$_legacyChannel$2(C.RgbColorSpace_i0P0,"blue")),null==(a=s.alphaOrNull)&&(a=0),new A.ColorExpression0(A.SassColor_SassColor$rgbInternal0(n,p,v,a,new A.SpanColorFormat0(_.span)),_.span)}if(null!=(l=h.trySpecialFunction$2(f._readLocal$0(),m)))return l}if((u=46===(c=p.peekChar$0()))&&46===p.peekChar$1(1))return new A.StringExpression0(_,!1);if(u){if(p.readChar$0(),v)return h.namespacedExpression$2(g,m);h.error$2(0,P.Interpn,_.span)}return(d=40===c)&&v?(n=h._stylesheet0$_argumentInvocation$1$allowEmptySecondArg(w.$eq$(f._readLocal$0(),"var")),p=h.spanFrom$1(m),new A.FunctionExpression0(null,A.stringReplaceAllUnchecked(g,"_","-"),g,n,p)):d?new A.InterpolatedFunctionExpression0(_,h._stylesheet0$_argumentInvocation$0(),h.spanFrom$1(m)):new A.StringExpression0(_,!1)},ifExpression$1(e){var t,r,n,i=this,o=i.scanner;for(o.expectChar$1(40),i.whitespace$1$consumeNewlines(!0),t=A._setArrayType([],D.JSArray_Record_2_nullable_IfConditionExpression_and_Expression_2);41!==o.peekChar$0()&&(r=i.scanIdentifier$1("else")?null:i._stylesheet0$_ifConditionExpression$0(),i.whitespace$1$consumeNewlines(!0),o.expectChar$1(58),i.whitespace$1$consumeNewlines(!0),t.push(new A._Record_2(r,i._stylesheet0$_expression$1$consumeNewlines(!0))),i.whitespace$1$consumeNewlines(!0),o.scanChar$1(59));)i.whitespace$1$consumeNewlines(!0);return o.expectChar$1(41),o=o.spanFrom$1(e),0===(n=A.List_List$unmodifiable(t,D.Record_2_nullable_IfConditionExpression_and_Expression_2)).length&&A.throwExpression(A.ArgumentError$value(n,"branches","may not be empty")),new A.IfExpression0(n,o)},_stylesheet0$_ifConditionExpression$0(){var e,t,r,n,i,o=this,s=P.Whitesa,a="expressions",l="must have length >= 2",c=o.scanner,u=c._string_scanner$_position;if(o.scanIdentifier$1("not"))return 40===c.peekChar$0()&&c.error$1(0,P.Whitesn),o.whitespace$1$consumeNewlines(!0),new A.IfConditionNegation0(o._stylesheet0$_ifGroup$0(),c.spanFrom$1(new A._SpanScannerState(c,u)));for(e=A._setArrayType([o._stylesheet0$_ifGroup$0()],D.JSArray_IfConditionExpression_2),o.whitespace$1$consumeNewlines(!0),t=null;;){if(t!==C.BooleanOperator_10&&o.scanIdentifier$1("and"))40===c.peekChar$0()&&c.error$1(0,s),o.whitespace$1$consumeNewlines(!0),null==t&&(t=C.BooleanOperator_00),e.push(o._stylesheet0$_ifGroup$0());else{if(t===C.BooleanOperator_00||!o.scanIdentifier$1("or")){if(null!=(r=c.peekChar$0())&&41!==r&&58!==r&&C.JSArray_methods.get$last(e).get$isArbitrarySubstitution())return 1!==e.length?(t.toString,(n=A.List_List$from(e,!1,D.IfConditionExpression_2)).$flags=3,c=n,u=new A.IfConditionOperation0(c,t),c.length<2&&A.throwExpression(A.ArgumentError$value(c,a,l)),c=u):c=e[0],o._stylesheet0$_ifConditionRaw$2(c,o._stylesheet0$_ifGroup$0());if(null!=(i=o._stylesheet0$_tryArbitrarySubstitution$0()))return 1!==e.length?(t.toString,(n=A.List_List$from(e,!1,D.IfConditionExpression_2)).$flags=3,c=n,u=new A.IfConditionOperation0(c,t),c.length<2&&A.throwExpression(A.ArgumentError$value(c,a,l)),c=u):c=e[0],o._stylesheet0$_ifConditionRaw$2(c,i);break}40===c.peekChar$0()&&c.error$1(0,s),o.whitespace$1$consumeNewlines(!0),null==t&&(t=C.BooleanOperator_10),e.push(o._stylesheet0$_ifGroup$0())}o.whitespace$1$consumeNewlines(!0)}return 1!==e.length?(t.toString,c=A.IfConditionOperation$0(e,t)):c=e[0],c},_stylesheet0$_ifConditionRaw$2(e,t){var r,n,i,o,s,a,l,c,u,d,h,p,m,_=this,g=null;for(e.get$isArbitrarySubstitution()?r=e:(r=g,n=!1,e instanceof A.IfConditionOperation0&&(s=o=(i=e.expressions).length)>=1?r=(a=i[o-1]).get$isArbitrarySubstitution():(a=r,r=n),r=r?a:(r=t.get$isArbitrarySubstitution())?t:A.throwExpression(A.ArgumentError$("Either "+e.toString$0(0)+P.x20must_e+t.toString$0(0)+" must be one.",g))),n=new A.StringBuffer(""),(l=new A.InterpolationBuffer0(n,A._setArrayType([],D.JSArray_Object),A._setArrayType([],D.JSArray_nullable_FileSpan))).addInterpolation$1(e.toInterpolation$1(r)),s=A.Primitives_stringFromCharCode(32),n._contents+=s,l.addInterpolation$1(t.toInterpolation$1(r)),c=e instanceof A.IfConditionOperation0?e.op:g,_.whitespace$1$consumeNewlines(!0),u=_.scanner,d=t;;){if(c!==C.BooleanOperator_10&&_.scanIdentifier$1("and"))40===u.peekChar$0()&&u.error$1(0,P.Whitesa),_.whitespace$1$consumeNewlines(!0),null==c&&(c=C.BooleanOperator_00),h=_._stylesheet0$_ifGroup$0(),n._contents+=" and ",l.addInterpolation$1(h.toInterpolation$1(r));else if(c!==C.BooleanOperator_00&&_.scanIdentifier$1("or"))40===u.peekChar$0()&&u.error$1(0,P.Whiteso),_.whitespace$1$consumeNewlines(!0),null==c&&(c=C.BooleanOperator_10),d=_._stylesheet0$_ifGroup$0(),_.whitespace$1$consumeNewlines(!0),n._contents+=" or ",l.addInterpolation$1(d.toInterpolation$1(r));else if(null!=(p=u.peekChar$0())&&41!==p&&58!==p&&d.get$isArbitrarySubstitution())d=_._stylesheet0$_ifGroup$0(),n._contents+=s,l.addInterpolation$1(d.toInterpolation$1(r));else{if(null==(m=_._stylesheet0$_tryArbitrarySubstitution$0()))break;n._contents+=s,l.addInterpolation$1(m.toInterpolation$1(r)),d=m}_.whitespace$1$consumeNewlines(!0)}return r=e.get$span(e),n=(u=A.FileLocation$_(u._sourceFile,u._string_scanner$_position)).offset,new A.IfConditionRaw0(l.interpolation$1(r.expand$1(0,A._FileSpan$(u.file,n,n))))},_stylesheet0$_ifGroup$0(){var e,t,r,n,i,o,s=this,a=s.scanner,l=new A._SpanScannerState(a,a._string_scanner$_position);if(40===a.peekChar$0())return a.expectChar$1(40),s.whitespace$1$consumeNewlines(!0),e=s._stylesheet0$_ifConditionExpression$0(),s.whitespace$1$consumeNewlines(!0),a.expectChar$1(41),new A.IfConditionParenthesized0(e,a.spanFrom$1(l));if(t=s.scanIdentifier$2$caseSensitive("sass",!0)){if(a.expectChar$1(40),s.whitespace$1$consumeNewlines(!0),e=s._stylesheet0$_expression$0(),s.whitespace$1$consumeNewlines(!0),a.expectChar$1(41),!s.get$plainCss())return new A.IfConditionSass0(e,a.spanFrom$1(l));s.error$2(0,P.sass__,a.spanFrom$1(l))}return(t=1===(n=(r=s.interpolatedIdentifier$0()).contents).length&&(n[0]instanceof A.Expression0&&40!==a.peekChar$0()))?new A.IfConditionRaw0(r):(null!=(i=r.get$asPlain())?(o=null==i?A._asString(i):i,t=C.Set_6V2Gi.contains$1(0,o.toLowerCase())&&40===a.peekChar$0()):t=!1,t&&a.error$1(0,'Whitespace is required between "'+r.toString$0(0)+'" and "("'),a.expectChar$1(40),s.whitespace$1$consumeNewlines(!0),e=s._stylesheet0$_interpolatedDeclarationValue$3$allowEmpty$allowSemicolon$consumeNewlines(!0,!0,!0),s.whitespace$1$consumeNewlines(!0),a.expectChar$1(41),new A.IfConditionFunction0(r,e,a.spanFrom$1(l)))},_stylesheet0$_tryArbitrarySubstitution$0(){var e,t,r,n,i,o=this,s=o.scanner;return 35===s.peekChar$0()?(t=(e=o.singleInterpolation$0())._1,(s=new A.InterpolationBuffer0(new A.StringBuffer(""),A._setArrayType([],D.JSArray_Object),A._setArrayType([],D.JSArray_nullable_FileSpan))).add$2(0,e._0,t),new A.IfConditionRaw0(s.interpolation$1(t))):(r=new A._SpanScannerState(s,s._string_scanner$_position),(n=o.scanIdentifier$1("if"))?(n=s.spanFrom$1(r),n=new A.Interpolation0(A.List_List$unmodifiable(["if"],D.Object),C.List_null,n)):(n=o.scanIdentifier$1("var"))?(n=s.spanFrom$1(r),n=new A.Interpolation0(A.List_List$unmodifiable(["var"],D.Object),C.List_null,n)):(n=o.scanIdentifier$1("attr"))?(n=s.spanFrom$1(r),n=new A.Interpolation0(A.List_List$unmodifiable(["attr"],D.Object),C.List_null,n)):n=(n=s.matches$1("--"))?o.interpolatedIdentifier$0():null,null==n?null:s.scanChar$1(40)?(i=o._stylesheet0$_interpolatedDeclarationValue$3$allowEmpty$allowSemicolon$consumeNewlines(!0,!0,!0),s.expectChar$1(41),new A.IfConditionFunction0(n,i,s.spanFrom$1(r))):(s.set$state(r),null))},namespacedExpression$2(e,t){var r,n,i,o,s=this;return 36===s.scanner.peekChar$0()?(r=s.variableName$0(),s._stylesheet0$_assertPublic$2(r,new A.StylesheetParser_namespacedExpression_closure0(s,t)),new A.VariableExpression0(e,r,s.spanFrom$1(t))):(n=s._stylesheet0$_publicIdentifier$0(),i=s._stylesheet0$_argumentInvocation$0(),o=s.spanFrom$1(t),new A.FunctionExpression0(e,A.stringReplaceAllUnchecked(n,"_","-"),n,i,o))},trySpecialFunction$2(e,t){var r,n,i,o,s,a,l,c,u,d,h,p,m=this;if("type"===e&&m.scanner.scanChar$1(40))i=new A.StringBuffer(""),o=new A.InterpolationBuffer0(i,A._setArrayType([],D.JSArray_Object),A._setArrayType([],D.JSArray_nullable_FileSpan)),i._contents=e,s=A.Primitives_stringFromCharCode(40),i._contents+=s;else{if(l=!(i=(a=A.unvendor0(e))===e),(c="expression"===a)&&l&&m.scanner.scanChar$1(40)){i=new A.StringBuffer(""),o=new A.InterpolationBuffer0(i,A._setArrayType([],D.JSArray_Object),A._setArrayType([],D.JSArray_nullable_FileSpan)),i._contents=e,s=A.Primitives_stringFromCharCode(40),i._contents+=s,u=(s=m.scanner)._string_scanner$_position,r=!1,n=!1;try{n=!m._stylesheet0$_expression$0().accept$1(new A.IsPlainCssVisitor0(!0))}catch(e){if(!(A.unwrapException(e)instanceof A.StringScannerException))throw e;r=!0}return s.set$state(new A._SpanScannerState(s,u)),d=m._stylesheet0$_interpolatedDeclarationValue$1$allowEmpty(!0),o.addInterpolation$1(d),s.expectChar$1(41),s=A.Primitives_stringFromCharCode(41),i._contents+=s,(r||n)&&(h=new A.StringExpression0(d,!0).asInterpolation$0(),i=r?"be parsed as SassScript. ":"no longer be valid syntax. ",m.warnings.push(new A._Record_3_deprecation_message_span(C.Deprecation_2Ja,"Vendor-prefixed "+a+P.x28__fun+i+"To preserve current behavior:\n\n"+e+"(#{"+h.toString$0(0)+P.x7dx29__Mo,m.spanFrom$1(t)))),new A.StringExpression0(o.interpolation$1(m.spanFrom$1(t)),!1)}if(s=!0,!(i="calc"===a&&l&&m.scanner.scanChar$1(40)||c&&i&&m.scanner.scanChar$1(40)?s:"element"===a&&m.scanner.scanChar$1(40))){if("progid"===a&&m.scanner.scanChar$1(58)){for(i=new A.StringBuffer(""),o=new A.InterpolationBuffer0(i,A._setArrayType([],D.JSArray_Object),A._setArrayType([],D.JSArray_nullable_FileSpan)),i._contents=e,s=A.Primitives_stringFromCharCode(58),i._contents+=s,p=(s=m.scanner).peekChar$0();u=null!=p&&((u=p>=97&&p<=122||p>=65&&p<=90)||46===p);)u=A.Primitives_stringFromCharCode(s.readChar$0()),i._contents+=u,p=s.peekChar$0();return s.expectChar$1(40),u=A.Primitives_stringFromCharCode(40),i._contents+=u,o.addInterpolation$1(m._stylesheet0$_interpolatedDeclarationValue$1$allowEmpty(!0)),s.expectChar$1(41),s=A.Primitives_stringFromCharCode(41),i._contents+=s,l&&m.warnings.push(new A._Record_3_deprecation_message_span(C.Deprecation_2Ja,P.Vendorp+new A.StringExpression0(o.interpolation$1(m.spanFrom$1(t)),!0).asInterpolation$0().toString$0(0)+P.x7dx0a_Mor,m.spanFrom$1(t))),new A.StringExpression0(o.interpolation$1(m.spanFrom$1(t)),!1)}return"url"===a?A.NullableExtension_andThen0(m._stylesheet0$_tryUrlContents$2$vendored(t,l),new A.StylesheetParser_trySpecialFunction_closure0):null}i=new A.StringBuffer(""),o=new A.InterpolationBuffer0(i,A._setArrayType([],D.JSArray_Object),A._setArrayType([],D.JSArray_nullable_FileSpan)),i._contents=e,s=A.Primitives_stringFromCharCode(40),i._contents+=s}return o.addInterpolation$1(m._stylesheet0$_interpolatedDeclarationValue$1$allowEmpty(!0)),m.scanner.expectChar$1(41),i=o._interpolation_buffer0$_text,s=A.Primitives_stringFromCharCode(41),i._contents+=s,new A.StringExpression0(o.interpolation$1(m.spanFrom$1(t)),!1)},_stylesheet0$_tryUrlContents$3$name$vendored(e,t,r){var n,i,o,s,a,l,c,u,d,h=this,p=h.scanner,m=p._string_scanner$_position;if(!p.scanChar$1(40))return null;if(n=!1,r){i=p._string_scanner$_position;try{h._stylesheet0$_expression$0()}catch(e){if(!(A.unwrapException(e)instanceof A.StringScannerException))throw e;n=!0}p.set$state(new A._SpanScannerState(p,i))}for(h.whitespaceWithoutComments$1$consumeNewlines(!0),i=new A.StringBuffer(""),o=A._setArrayType([],D.JSArray_Object),s=A._setArrayType([],D.JSArray_nullable_FileSpan),a=new A.InterpolationBuffer0(i,o,s),i._contents=null==t?"url":t,l=A.Primitives_stringFromCharCode(40),i._contents+=l;null!=(c=p.peekChar$0());)if(92!==c)if((u=35===c)&&123===p.peekChar$1(1))d=h.singleInterpolation$0(),a._interpolation_buffer0$_flushText$0(),o.push(d._0),s.push(d._1);else if(l=!0,33!==c&&37!==c&&38!==c&&(u||(l=c>=42&&c<=126||c>=128)),l)l=A.Primitives_stringFromCharCode(p.readChar$0()),i._contents+=l;else{if(32!==c&&9!==c&&10!==c&&13!==c&&12!==c){if(41===c)return m=A.Primitives_stringFromCharCode(p.readChar$0()),i._contents+=m,r&&n&&h.warnings.push(new A._Record_3_deprecation_message_span(C.Deprecation_2Ja,P.Vendoru+A.S(t)+"(#{"+new A.StringExpression0(a.interpolation$1(h.spanFrom$1(e)),!0).asInterpolation$0().toString$0(0)+P.x7dx29__Mo,h.spanFrom$1(e))),a.interpolation$1(h.spanFrom$1(e));break}if(h.whitespaceWithoutComments$1$consumeNewlines(!0),41!==p.peekChar$0())break}else l=h.escape$0(),i._contents+=l;return p.set$state(new A._SpanScannerState(p,m)),null},_stylesheet0$_tryUrlContents$2$vendored(e,t){return this._stylesheet0$_tryUrlContents$3$name$vendored(e,null,t)},_stylesheet0$_tryUrlContents$2$name(e,t){return this._stylesheet0$_tryUrlContents$3$name$vendored(e,t,!1)},_stylesheet0$_tryUrlContents$1(e){return this._stylesheet0$_tryUrlContents$3$name$vendored(e,null,!1)},dynamicUrl$0(){var e,t=this,r=t.scanner,n=new A._SpanScannerState(r,r._string_scanner$_position);return t.expectIdentifier$1("url"),null!=(e=t._stylesheet0$_tryUrlContents$1(n))?new A.StringExpression0(e,!1):(r=t.spanFrom$1(n),new A.InterpolatedFunctionExpression0(new A.Interpolation0(A.List_List$unmodifiable(["url"],D.Object),C.List_null,r),t._stylesheet0$_argumentInvocation$0(),t.spanFrom$1(n)))},almostAnyValue$1$omitComments(e){var t,r,n,i,o,s,a,l,c,u,d,h,p,m,_,g=this,f=g.scanner,v=f._string_scanner$_position,b=new A.StringBuffer(""),y=new A.InterpolationBuffer0(b,A._setArrayType([],D.JSArray_Object),A._setArrayType([],D.JSArray_nullable_FileSpan)),$=A._setArrayType([],D.JSArray_int);for(r=(t=f.string).length,n=!e,i=g.get$loudComment();;)if(92!==(o=f.peekChar$0()))if(34!==o&&39!==o)if(47!==o)if(35!==o||123!==f.peekChar$1(1))if(13!==o&&10!==o&&12!==o){if(33===o||59===o||123===o||125===o)break;if(117!==o&&85!==o)if(40!==o&&91!==o)if(41===o||93===o?_=(s=null!=o)?o:null:(_=null,s=!1),s)0===$.length&&f.error$1(0,'Unexpected "'+A.Primitives_stringFromCharCode(_)+'".'),m=$.pop(),f.expectChar$1(m),s=A.Primitives_stringFromCharCode(m),b._contents+=s;else{if(null==o)break;(s=g.lookingAtIdentifier$0())?(s=g.identifier$0(),b._contents+=s):(s=A.Primitives_stringFromCharCode(f.readChar$0()),b._contents+=s)}else m=f.readChar$0(),s=A.Primitives_stringFromCharCode(m),b._contents+=s,$.push(A.opposite0(m));else{if(s=f._string_scanner$_position,"url"!==(h=g.identifier$0())&&"url-prefix"!==h){b._contents+=h;continue}null!=(p=g._stylesheet0$_tryUrlContents$2$name(new A._SpanScannerState(f,s),h))?y.addInterpolation$1(p):(((0===s?1/s<0:s<0)||s>r)&&A.throwExpression(A.ArgumentError$("Invalid position "+s,null)),f._string_scanner$_position=s,f._lastMatch=null,s=A.Primitives_stringFromCharCode(f.readChar$0()),b._contents+=s)}}else{if(g.get$indented()&&0===$.length)break;s=A.Primitives_stringFromCharCode(f.readChar$0()),b._contents+=s}else y.addInterpolation$1(g.interpolatedIdentifier$0());else(l=42===(a=f.peekChar$1(1)))&&n?(c=f._string_scanner$_position,i.call$0(),u=f._string_scanner$_position,b._contents+=C.JSString_methods.substring$2(t,c,u)):l?g.loudComment$0():(d=47===a)&&n?(s=g.get$silentComment(),c=f._string_scanner$_position,s.call$0(),u=f._string_scanner$_position,b._contents+=C.JSString_methods.substring$2(t,c,u)):d?g.silentComment$0():(s=A.Primitives_stringFromCharCode(f.readChar$0()),b._contents+=s);else y.addInterpolation$1(g.interpolatedStringToken$0());else s=A.Primitives_stringFromCharCode(f.readChar$0()),b._contents+=s,s=A.Primitives_stringFromCharCode(f.readChar$0()),b._contents+=s;return y.interpolation$1(g.spanFrom$1(new A._SpanScannerState(f,v)))},almostAnyValue$0(){return this.almostAnyValue$1$omitComments(!1)},_stylesheet0$_interpolatedDeclarationValue$7$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$endAfterOf$silentComments(e,t,r,n,i,o,s){var a,l,c,u,d,h,p,m,_,g,f,v,b,y,$,x,S,w,E,I,M,k,T,R,L,P,N,F,O=this,B=null,U=O.scanner,V=U._string_scanner$_position,z=new A.StringBuffer(""),H=A._setArrayType([],D.JSArray_Object),G=new A.InterpolationBuffer0(z,H,A._setArrayType([],D.JSArray_nullable_FileSpan)),j=A._setArrayType([],D.JSArray_int);for(a=!i,l=!r,u=(c=U.string).length,d=!e,h=!n,p=O.get$loudComment(),m=!1;;)if(g=!1,92!==(_=U.peekChar$0()))if(34!==_&&39!==_)if(47!==_)if(35!==_||123!==U.peekChar$1(1))if((x=!($=32===_))?f=S=9===_:(S=B,f=!0),w=!1,f=f?m?w:32===(f=U.peekChar$1(1))||9===f||10===f||13===f||12===f:w)U.readChar$0();else if(f=!!$||(x?S:9===_))f=A.Primitives_stringFromCharCode(U.readChar$0()),z._contents+=f;else{if(M=B,f=!0,(I=!(E=10===_))?(T=!(k=13===_))&&(f=M=12===_):(k=B,T=!1),f&&O.get$indented()&&a&&0===j.length)break;if(f=!0,E||(I?k:13===_)||(f=T?M:12===_),f)10!==(f=U.peekChar$1(-1))&&13!==f&&12!==f&&(z._contents+="\n"),U.readChar$0(),m=!0;else{if((R=123===_)&&l)break;if(f=40===_||(R||91===_))L=U.readChar$0(),f=A.Primitives_stringFromCharCode(L),z._contents+=f,j.push(A.opposite0(L)),m=g;else if(41!==_&&125!==_&&93!==_)if(59!==_)if(58!==_)if(117!==_&&85!==_)if(111!==_&&79!==_){if(null==_)break;(f=O.lookingAtIdentifier$0())?(f=O.identifier$0(),z._contents+=f,m=g):(f=A.Primitives_stringFromCharCode(U.readChar$0()),z._contents+=f,m=g)}else{if(o&&0===j.length&&(b=U._string_scanner$_position,new A.StylesheetParser__interpolatedDeclarationValue_closure0(O).call$0(),y=U._string_scanner$_position,""!==(F=C.JSString_methods.substring$2(c,b,y)))){z._contents+=F;break}f=A.Primitives_stringFromCharCode(U.readChar$0()),z._contents+=f,m=g}else{if(f=U._string_scanner$_position,"url"!==(P=O.identifier$0())&&"url-prefix"!==P){z._contents+=P,m=g;continue}null!=(N=O._stylesheet0$_tryUrlContents$2$name(new A._SpanScannerState(U,f),P))?G.addInterpolation$1(N):(((0===f?1/f<0:f<0)||f>u)&&A.throwExpression(A.ArgumentError$("Invalid position "+f,B)),U._string_scanner$_position=f,U._lastMatch=null,f=A.Primitives_stringFromCharCode(U.readChar$0()),z._contents+=f),m=g}else{if(d&&0===j.length)break;f=A.Primitives_stringFromCharCode(U.readChar$0()),z._contents+=f,m=g}else{if(h&&0===j.length)break;f=A.Primitives_stringFromCharCode(U.readChar$0()),z._contents+=f,m=g}else{if(0===j.length)break;L=j.pop(),U.expectChar$1(L),f=A.Primitives_stringFromCharCode(L),z._contents+=f,m=g}}}else G.addInterpolation$1(O.interpolatedIdentifier$0()),m=g;else 42!==(v=U.peekChar$1(1))?47===v&&s?O.silentComment$0():(f=A.Primitives_stringFromCharCode(U.readChar$0()),z._contents+=f):(b=U._string_scanner$_position,p.call$0(),y=U._string_scanner$_position,z._contents+=C.JSString_methods.substring$2(c,b,y)),m=g;else G.addInterpolation$1(O.interpolatedStringToken$0()),m=g;else f=O.escape$1$identifierStart(!0),z._contents+=f,m=g;return 0!==j.length&&U.expectChar$1(C.JSArray_methods.get$last(j)),t||0!==H.length||0!==z._contents.length||U.error$1(0,"Expected token."),G.interpolation$1(O.spanFrom$1(new A._SpanScannerState(U,V)))},_stylesheet0$_interpolatedDeclarationValue$1$allowEmpty(e){return this._stylesheet0$_interpolatedDeclarationValue$7$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$endAfterOf$silentComments(!0,e,!0,!1,!1,!1,!0)},_stylesheet0$_interpolatedDeclarationValue$3$allowEmpty$allowSemicolon$consumeNewlines(e,t,r){return this._stylesheet0$_interpolatedDeclarationValue$7$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$endAfterOf$silentComments(!0,e,!0,t,r,!1,!0)},_stylesheet0$_interpolatedDeclarationValue$2$consumeNewlines$endAfterOf(e,t){return this._stylesheet0$_interpolatedDeclarationValue$7$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$endAfterOf$silentComments(!0,!1,!0,!1,e,t,!0)},_stylesheet0$_interpolatedDeclarationValue$4$allowColon$allowEmpty$allowSemicolon$consumeNewlines(e,t,r,n){return this._stylesheet0$_interpolatedDeclarationValue$7$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$endAfterOf$silentComments(e,t,!0,r,n,!1,!0)},_stylesheet0$_interpolatedDeclarationValue$0(){return this._stylesheet0$_interpolatedDeclarationValue$7$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$endAfterOf$silentComments(!0,!1,!0,!1,!1,!1,!0)},_stylesheet0$_interpolatedDeclarationValue$1$allowOpenBrace(e){return this._stylesheet0$_interpolatedDeclarationValue$7$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$endAfterOf$silentComments(!0,!1,e,!1,!1,!1,!0)},_stylesheet0$_interpolatedDeclarationValue$2$allowEmpty$allowOpenBrace(e,t){return this._stylesheet0$_interpolatedDeclarationValue$7$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$endAfterOf$silentComments(!0,e,t,!1,!1,!1,!0)},_stylesheet0$_interpolatedDeclarationValue$1$silentComments(e){return this._stylesheet0$_interpolatedDeclarationValue$7$allowColon$allowEmpty$allowOpenBrace$allowSemicolon$consumeNewlines$endAfterOf$silentComments(!0,!1,!0,!1,!1,!1,e)},interpolatedIdentifier$0(){var e,t,r,n=this,i="Expected identifier.",o=n.scanner,s=new A._SpanScannerState(o,o._string_scanner$_position),a=new A.StringBuffer(""),l=new A.InterpolationBuffer0(a,A._setArrayType([],D.JSArray_Object),A._setArrayType([],D.JSArray_nullable_FileSpan));return o.scanChar$1(45)&&(e=A.Primitives_stringFromCharCode(45),a._contents+=e,o.scanChar$1(45))?(a._contents+=e,n._stylesheet0$_interpolatedIdentifierBodyHelper$1(l),l.interpolation$1(n.spanFrom$1(s))):(null==(t=o.peekChar$0())&&o.error$1(0,i),95===t||A.CharacterExtension_get_isAlphabetic0(t)||t>=128?(o=A.Primitives_stringFromCharCode(o.readChar$0()),a._contents+=o):92!==t?35!==t||123!==o.peekChar$1(1)?o.error$1(0,i):(r=n.singleInterpolation$0(),l.add$2(0,r._0,r._1)):(o=n.escape$1$identifierStart(!0),a._contents+=o),n._stylesheet0$_interpolatedIdentifierBodyHelper$1(l),l.interpolation$1(n.spanFrom$1(s)))},_stylesheet0$_interpolatedIdentifierBodyHelper$1(e){var t,r,n,i,o,s,a;for(t=e._interpolation_buffer0$_contents,r=e._interpolation_buffer0$_spans,n=this.scanner,i=e._interpolation_buffer0$_text;null!=(o=n.peekChar$0());)if(s=!0,95!==o&&45!==o&&(s=(s=!!(s=o>=97&&o<=122||o>=65&&o<=90)||o>=48&&o<=57)||o>=128),s)s=A.Primitives_stringFromCharCode(n.readChar$0()),i._contents+=s;else if(92!==o){if(35!==o||123!==n.peekChar$1(1))break;a=this.singleInterpolation$0(),e._interpolation_buffer0$_flushText$0(),t.push(a._0),r.push(a._1)}else s=this.escape$0(),i._contents+=s},singleInterpolation$0(){var e,t,r=this,n=r.scanner,i=n._string_scanner$_position;return n.expect$1("#{"),r.whitespace$1$consumeNewlines(!0),e=r._stylesheet0$_expression$1$consumeNewlines(!0),n.expectChar$1(125),t=r.spanFrom$1(new A._SpanScannerState(n,i)),r.get$plainCss()&&r.error$2(0,P.Interpp,t),new A._Record_2(e,t)},_stylesheet0$_selectorList$0(){var e,t,r,n=this,i=n.scanner,o=i._sourceFile,s=o.getLine$1(i._string_scanner$_position),a=A._setArrayType([n._stylesheet0$_complexSelector$0()],D.JSArray_InterpolatedComplexSelector);for(n.whitespace$1$consumeNewlines(!1),e=i.string.length;i.scanChar$1(44);)if(n.whitespace$1$consumeNewlines(!0),44!==i.peekChar$0()){if((t=i._string_scanner$_position)===e)break;(r=o.getLine$1(t)!==s)&&(s=o.getLine$1(i._string_scanner$_position)),a.push(n._stylesheet0$_complexSelector$1$lineBreak(r))}return A.InterpolatedSelectorList$(a)},_stylesheet0$_complexSelector$1$lineBreak(e){var t,r,n,i,o,s,a,l=this,c="expected selector.",u=l.scanner,d=u._string_scanner$_position,h=new A._SpanScannerState(u,d),p=A._setArrayType([],D.JSArray_InterpolatedComplexSelectorComponent);for(t=D.CssValue_Combinator_2,i=n=r=null;;)if(l.whitespace$1$consumeNewlines(!1),o=null==n,43===(s=u.peekChar$0())&&o)a=u._string_scanner$_position,u.readChar$0(),n=new A.CssValue0(C.Combinator_sHB0,l.spanFrom$1(new A._SpanScannerState(u,a)),t);else if(62===s&&o)a=u._string_scanner$_position,u.readChar$0(),n=new A.CssValue0(C.Combinator_iUF0,l.spanFrom$1(new A._SpanScannerState(u,a)),t);else if(126===s&&o)a=u._string_scanner$_position,u.readChar$0(),n=new A.CssValue0(C.Combinator_98W0,l.spanFrom$1(new A._SpanScannerState(u,a)),t);else{if(null==s)break;if(a=!0,91!==s&&46!==s&&35!==s&&37!==s&&58!==s&&38!==s&&42!==s&&124!==s&&(a=l._stylesheet0$_lookingAtInterpolatedIdentifier$0()),!a)break;null!=i?p.push(new A.InterpolatedComplexSelectorComponent(i,n,l.spanFrom$1(h))):o||(h=new A._SpanScannerState(u,u._string_scanner$_position),r=n),i=l._stylesheet0$_compoundSelector$0(),38===u.peekChar$0()&&u.error$1(0,P.x22x26__ma),n=null}return(a=!!(t=null!=n)&&l.get$plainCss())?u.error$1(0,c):null!=i?p.push(new A.InterpolatedComplexSelectorComponent(i,n,l.spanFrom$1(h))):t?r=n:u.error$1(0,c),A.InterpolatedComplexSelector$(p,l.spanFrom$1(new A._SpanScannerState(u,d)),r)},_stylesheet0$_complexSelector$0(){return this._stylesheet0$_complexSelector$1$lineBreak(!1)},_stylesheet0$_compoundSelector$0(){var e,t=this,r=A._setArrayType([t._stylesheet0$_simpleSelector$0()],D.JSArray_InterpolatedSimpleSelector);for(e=t.scanner;t._stylesheet0$_isSimpleSelectorStart$1(e.peekChar$0());)r.push(t._stylesheet0$_simpleSelector$1$allowParent(t.get$plainCss()));return A.InterpolatedCompoundSelector$(r)},_stylesheet0$_simpleSelector$1$allowParent(e){var t,r,n,i,o,s,a,l=this,c=l.scanner,u=new A._SpanScannerState(c,c._string_scanner$_position),d=c.peekChar$0();return 91===d?l._stylesheet0$_attributeSelector$0():46===d?(c.expectChar$1(46),new A.InterpolatedClassSelector(l.interpolatedIdentifier$0())):35===d&&123!==c.peekChar$1(1)?(c.expectChar$1(35),new A.InterpolatedIDSelector(l.interpolatedIdentifier$0())):37===d?(c.expectChar$1(37),t=l.interpolatedIdentifier$0(),l.get$plainCss()&&l.error$2(0,P.Placeh,l.spanFrom$1(u)),new A.InterpolatedPlaceholderSelector(t)):58===d?l._stylesheet0$_pseudoSelector$0():38===d?(r=c._string_scanner$_position,c.expectChar$1(38),l._stylesheet0$_lookingAtInterpolatedIdentifierBody$0()?(n=c._string_scanner$_position,i=new A.StringBuffer(""),o=A._setArrayType([],D.JSArray_Object),s=new A.InterpolationBuffer0(i,o,A._setArrayType([],D.JSArray_nullable_FileSpan)),l._stylesheet0$_interpolatedIdentifierBodyHelper$1(s),0===o.length&&0===i._contents.length&&c.error$1(0,"Expected identifier body."),a=s.interpolation$1(l.spanFrom$1(new A._SpanScannerState(c,n)))):a=null,l.get$plainCss()&&null!=a&&c.error$3$length$position(0,P.Parent,c._string_scanner$_position-r,r),c=l.spanFrom$1(new A._SpanScannerState(c,r)),e||l.error$2(0,"Parent selectors aren't allowed here.",l.spanFrom$1(u)),new A.InterpolatedParentSelector(a,c)):l._stylesheet0$_typeOrUniversalSelector$0()},_stylesheet0$_simpleSelector$0(){return this._stylesheet0$_simpleSelector$1$allowParent(!0)},_stylesheet0$_attributeSelector$0(){var e,t,r,n,i,o=this,s=null,a=o.scanner,l=new A._SpanScannerState(a,a._string_scanner$_position);return a.expectChar$1(91),o.whitespace$1$consumeNewlines(!0),e=o._stylesheet0$_attributeName$0(),o.whitespace$1$consumeNewlines(!0),a.scanChar$1(93)?new A.InterpolatedAttributeSelector(e,s,s,s,o.spanFrom$1(l)):(t=o._stylesheet0$_attributeOperator$0(),o.whitespace$1$consumeNewlines(!0),n=39===(r=a.peekChar$0())||34===r?o.interpolatedStringToken$0():o.interpolatedIdentifier$0(),o.whitespace$1$consumeNewlines(!0),i=o._stylesheet0$_lookingAtInterpolatedIdentifier$0()?o.interpolatedIdentifier$0():s,o.whitespace$1$consumeNewlines(!0),a.expectChar$1(93),new A.InterpolatedAttributeSelector(e,t,n,i,o.spanFrom$1(l)))},_stylesheet0$_attributeName$0(){var e,t,r,n=this,i=n.scanner,o=new A._SpanScannerState(i,i._string_scanner$_position);return i.scanChar$1(42)?(e=n.spanFrom$1(o),t=A.List_List$unmodifiable(["*"],D.Object),i.expectChar$1(124),new A.InterpolatedQualifiedName(n.interpolatedIdentifier$0(),n.spanFrom$1(o),new A.Interpolation0(t,C.List_null,e))):i.scanChar$1(124)?(i=n.spanFrom$2(o,o),e=A.List_List$unmodifiable([""],D.Object),new A.InterpolatedQualifiedName(n.interpolatedIdentifier$0(),n.spanFrom$1(o),new A.Interpolation0(e,C.List_null,i))):(r=n.interpolatedIdentifier$0(),124!==i.peekChar$0()||61===i.peekChar$1(1)?new A.InterpolatedQualifiedName(r,n.spanFrom$1(o),null):(i.readChar$0(),new A.InterpolatedQualifiedName(n.interpolatedIdentifier$0(),n.spanFrom$1(o),r)))},_stylesheet0$_attributeOperator$0(){var e,t=this.scanner,r=t._string_scanner$_position;switch(t.readChar$0()){case 61:e=C.AttributeOperator_jFZ0;break;case 126:t.expectChar$1(61),e=C.AttributeOperator_OrK0;break;case 124:t.expectChar$1(61),e=C.AttributeOperator_g5B0;break;case 94:t.expectChar$1(61),e=C.AttributeOperator_stc0;break;case 36:t.expectChar$1(61),e=C.AttributeOperator_xJ90;break;case 42:t.expectChar$1(61),e=C.AttributeOperator_h200;break;default:t.error$2$position(0,'Expected "]".',r),e=null}return new A.CssValue0(e,this.spanFrom$1(new A._SpanScannerState(t,r)),D.CssValue_AttributeOperator)},_stylesheet0$_pseudoSelector$0(){var e,t,r,n,i,o=this,s=null,a=o.scanner,l=new A._SpanScannerState(a,a._string_scanner$_position);return a.expectChar$1(58),e=a.scanChar$1(58),t=o.interpolatedIdentifier$0(),a.scanChar$1(40)?(o.whitespace$1$consumeNewlines(!0),r=A.NullableExtension_andThen0(t.get$asPlain(),A.utils1__unvendor$closure()),n=s,i=s,e?I.selectorPseudoElements0.contains$1(0,r)?i=o._stylesheet0$_selectorList$0():n=o._stylesheet0$_interpolatedDeclarationValue$1$allowEmpty(!0):I.selectorPseudoClasses0.contains$1(0,r)?i=o._stylesheet0$_selectorList$0():"nth-child"===r||"nth-last-child"===r?(n=o._stylesheet0$_interpolatedDeclarationValue$2$consumeNewlines$endAfterOf(!0,!0),i=41!==a.peekChar$0()?o._stylesheet0$_selectorList$0():s):n=o._stylesheet0$_interpolatedDeclarationValue$1$allowEmpty(!0),a.expectChar$1(41),new A.InterpolatedPseudoSelector(t,!e,n,i,o.spanFrom$1(l))):new A.InterpolatedPseudoSelector(t,!e,s,s,o.spanFrom$1(l))},_stylesheet0$_typeOrUniversalSelector$0(){var e,t,r,n=this,i=n.scanner,o=new A._SpanScannerState(i,i._string_scanner$_position);return i.scanChar$1(42)?(e=i._string_scanner$_position,i.scanChar$1(124)?(e=n.spanFrom$2(o,new A._SpanScannerState(i,e)),t=new A.Interpolation0(A.List_List$unmodifiable(["*"],D.Object),C.List_null,e),i.scanChar$1(42)?new A.InterpolatedUniversalSelector(t,n.spanFrom$1(o)):new A.InterpolatedTypeSelector(new A.InterpolatedQualifiedName(n.interpolatedIdentifier$0(),n.spanFrom$1(o),t))):new A.InterpolatedUniversalSelector(null,n.spanFrom$1(o))):i.scanChar$1(124)?(e=n.spanFrom$2(o,o),t=new A.Interpolation0(A.List_List$unmodifiable([""],D.Object),C.List_null,e),i.scanChar$1(42)?new A.InterpolatedUniversalSelector(t,n.spanFrom$1(o)):new A.InterpolatedTypeSelector(new A.InterpolatedQualifiedName(n.interpolatedIdentifier$0(),n.spanFrom$1(o),t))):(r=n.interpolatedIdentifier$0(),i.scanChar$1(124)?i.scanChar$1(42)?new A.InterpolatedUniversalSelector(r,n.spanFrom$1(o)):new A.InterpolatedTypeSelector(new A.InterpolatedQualifiedName(n.interpolatedIdentifier$0(),n.spanFrom$1(o),r)):new A.InterpolatedTypeSelector(new A.InterpolatedQualifiedName(r,n.spanFrom$1(o),null)))},_stylesheet0$_isSimpleSelectorStart$1(e){var t;return t=!0,42!==e&&91!==e&&46!==e&&35!==e&&37!==e&&(t=58===e),t=!!t||38===e&&this.get$plainCss()},_stylesheet0$_mediaQueryList$0(){for(var e,t=this,r=t.scanner,n=r._string_scanner$_position,i=new A.StringBuffer(""),o=new A.InterpolationBuffer0(i,A._setArrayType([],D.JSArray_Object),A._setArrayType([],D.JSArray_nullable_FileSpan));t.whitespace$1$consumeNewlines(!1),t._stylesheet0$_mediaQuery$1(o),t.whitespace$1$consumeNewlines(!1),r.scanChar$1(44);)e=A.Primitives_stringFromCharCode(44),i._contents+=e,e=A.Primitives_stringFromCharCode(32),i._contents+=e;return o.interpolation$1(t.spanFrom$1(new A._SpanScannerState(r,n)))},_stylesheet0$_mediaQuery$1(e){var t,r,n,i,o=this,s="and";if(40===o.scanner.peekChar$0())return o._stylesheet0$_mediaInParens$1(e),o.whitespace$1$consumeNewlines(!1),void(o.scanIdentifier$1(s)?(e._interpolation_buffer0$_text._contents+=" and ",o.expectWhitespace$0(),o._stylesheet0$_mediaLogicSequence$2(e,s)):o.scanIdentifier$1("or")&&(e._interpolation_buffer0$_text._contents+=" or ",o.expectWhitespace$0(),o._stylesheet0$_mediaLogicSequence$2(e,"or")));if(t=o.interpolatedIdentifier$0(),A.equalsIgnoreCase0(t.get$asPlain(),"not")&&(o.expectWhitespace$0(),!o._stylesheet0$_lookingAtInterpolatedIdentifier$0()))return e._interpolation_buffer0$_text._contents+="not ",void o._stylesheet0$_mediaOrInterp$1(e);if(o.whitespace$1$consumeNewlines(!1),e.addInterpolation$1(t),o._stylesheet0$_lookingAtInterpolatedIdentifier$0()){if(r=e._interpolation_buffer0$_text,n=A.Primitives_stringFromCharCode(32),r._contents+=n,i=o.interpolatedIdentifier$0(),A.equalsIgnoreCase0(i.get$asPlain(),s))o.expectWhitespace$0(),r._contents+=" and ";else{if(o.whitespace$1$consumeNewlines(!1),e.addInterpolation$1(i),!o.scanIdentifier$1(s))return;o.expectWhitespace$0(),r._contents+=" and "}if(o.scanIdentifier$1("not"))return o.expectWhitespace$0(),r._contents+="not ",void o._stylesheet0$_mediaOrInterp$1(e);o._stylesheet0$_mediaLogicSequence$2(e,s)}},_stylesheet0$_mediaLogicSequence$2(e,t){var r,n,i,o=this;for(r=e._interpolation_buffer0$_text;;){if(o._stylesheet0$_mediaOrInterp$1(e),o.whitespace$1$consumeNewlines(!1),!o.scanIdentifier$1(t))return;o.expectWhitespace$1$consumeNewlines(!1),n=A.Primitives_stringFromCharCode(32),i=(r._contents+=n)+t,r._contents=i,r._contents=i+n}},_stylesheet0$_mediaOrInterp$1(e){var t;35===this.scanner.peekChar$0()?(t=this.singleInterpolation$0(),e.add$2(0,t._0,t._1)):this._stylesheet0$_mediaInParens$1(e)},_stylesheet0$_mediaInParens$1(e){var t,r,n,i,o,s,a,l,c=this,u=c.scanner;u.expectChar$2$name(40,"media condition in parentheses"),t=e._interpolation_buffer0$_text,r=A.Primitives_stringFromCharCode(40),t._contents+=r,c.whitespace$1$consumeNewlines(!0),40===u.peekChar$0()?(c._stylesheet0$_mediaInParens$1(e),c.whitespace$1$consumeNewlines(!0),c.scanIdentifier$1("and")?(t._contents+=" and ",c.expectWhitespace$1$consumeNewlines(!0),c._stylesheet0$_mediaLogicSequence$2(e,"and")):c.scanIdentifier$1("or")&&(t._contents+=" or ",c.expectWhitespace$1$consumeNewlines(!0),c._stylesheet0$_mediaLogicSequence$2(e,"or"))):c.scanIdentifier$1("not")?(t._contents+="not ",c.expectWhitespace$1$consumeNewlines(!0),c._stylesheet0$_mediaOrInterp$1(e)):(n=c._stylesheet0$_expressionUntilComparison$0(),e.add$2(0,n,n.get$span(n)),u.scanChar$1(58)?(c.whitespace$1$consumeNewlines(!0),r=A.Primitives_stringFromCharCode(58),t._contents+=r,r=A.Primitives_stringFromCharCode(32),t._contents+=r,i=c._stylesheet0$_expression$1$consumeNewlines(!0),e.add$2(0,i,i.get$span(i))):(r=60!==(o=u.peekChar$0()))&&62!==o&&61!==o||(s=A.Primitives_stringFromCharCode(32),t._contents+=s,a=A.Primitives_stringFromCharCode(u.readChar$0()),t._contents+=a,r&&62!==o||!u.scanChar$1(61)||(a=A.Primitives_stringFromCharCode(61),t._contents+=a),t._contents+=s,c.whitespace$1$consumeNewlines(!0),l=c._stylesheet0$_expressionUntilComparison$0(),e.add$2(0,l,l.get$span(l)),r&&62!==o?r=!1:(o.toString,r=u.scanChar$1(o)),r&&(t._contents+=s,r=A.Primitives_stringFromCharCode(o),t._contents+=r,u.scanChar$1(61)&&(r=A.Primitives_stringFromCharCode(61),t._contents+=r),t._contents+=s,c.whitespace$1$consumeNewlines(!0),i=c._stylesheet0$_expressionUntilComparison$0(),e.add$2(0,i,i.get$span(i))))),u.expectChar$1(41),c.whitespace$1$consumeNewlines(!1),u=A.Primitives_stringFromCharCode(41),t._contents+=u},_stylesheet0$_expressionUntilComparison$0(){return this._stylesheet0$_expression$2$consumeNewlines$until(!0,new A.StylesheetParser__expressionUntilComparison_closure0(this))},_stylesheet0$_supportsCondition$1$inParentheses(e){var t,r,n=this,i=n.scanner,o=new A._SpanScannerState(i,i._string_scanner$_position);if(n.scanIdentifier$1("not"))return n.whitespace$1$consumeNewlines(e),new A.SupportsNegation0(n._stylesheet0$_supportsConditionInParens$0(),n.spanFrom$1(o));for(t=n._stylesheet0$_supportsConditionInParens$0(),n.whitespace$1$consumeNewlines(e),r=null;n.lookingAtIdentifier$0();)null!=r?n.expectIdentifier$1(r._name):n.scanIdentifier$1("or")?r=C.BooleanOperator_10:(n.expectIdentifier$1("and"),r=C.BooleanOperator_00),n.whitespace$1$consumeNewlines(e),t=new A.SupportsOperation0(t,n._stylesheet0$_supportsConditionInParens$0(),r,n.spanFrom$1(o)),n.whitespace$1$consumeNewlines(e);return t},_stylesheet0$_supportsCondition$0(){return this._stylesheet0$_supportsCondition$1$inParentheses(!1)},_stylesheet0$_supportsConditionInParens$0(){var e,t,r,n,i,o,s,a,l,c,u,d,h,p,m,_=this,g=_.scanner,f=new A._SpanScannerState(g,g._string_scanner$_position);if(_._stylesheet0$_lookingAtInterpolatedIdentifier$0()){if("not"===(null==(l=(a=_.interpolatedIdentifier$0()).get$asPlain())?null:l.toLowerCase())&&_.error$2(0,'"not" is not a valid identifier here.',a.span),g.scanChar$1(40))return c=_._stylesheet0$_interpolatedDeclarationValue$3$allowEmpty$allowSemicolon$consumeNewlines(!0,!0,!0),g.expectChar$1(41),new A.SupportsFunction0(a,c,_.spanFrom$1(f));if((d=1===(u=a.contents).length)?l=(h=u[0])instanceof A.Expression0:(h=null,l=!1),l)return g=d?h:u[0],new A.SupportsInterpolation0(D.Expression_2._as(g),_.spanFrom$1(f));_.error$2(0,"Expected @supports condition.",a.span)}if(g.expectChar$1(40),_.whitespace$1$consumeNewlines(!0),_.scanIdentifier$1("not"))return _.whitespace$1$consumeNewlines(!0),p=_._stylesheet0$_supportsConditionInParens$0(),g.expectChar$1(41),new A.SupportsNegation0(p,_.spanFrom$1(f));if(40===g.peekChar$0())return p=_._stylesheet0$_supportsCondition$1$inParentheses(!0),g.expectChar$1(41),p.withSpan$1(_.spanFrom$1(f));e=null,t=new A._SpanScannerState(g,g._string_scanner$_position),r=_._stylesheet0$_inParentheses;try{e=_._stylesheet0$_expression$1$consumeNewlines(!0),g.expectChar$1(58)}catch(e){if(D.FormatException._is(A.unwrapException(e))){if(g.set$state(t),_._stylesheet0$_inParentheses=r,n=_.interpolatedIdentifier$0(),o=null,null!=(i=_._stylesheet0$_trySupportsOperation$2(n,t)))return o=i,g.expectChar$1(41),g=o,l=_.spanFrom$1(f),new A.SupportsOperation0(g.left,g.right,g.operator,l);if((l=new A.InterpolationBuffer0(new A.StringBuffer(""),A._setArrayType([],D.JSArray_Object),A._setArrayType([],D.JSArray_nullable_FileSpan))).addInterpolation$1(n),l.addInterpolation$1(_._stylesheet0$_interpolatedDeclarationValue$4$allowColon$allowEmpty$allowSemicolon$consumeNewlines(!1,!0,!0,!0)),s=l.interpolation$1(_.spanFrom$1(t)),58===g.peekChar$0())throw e;return g.expectChar$1(41),new A.SupportsAnything0(s,_.spanFrom$1(f))}throw e}return m=_._stylesheet0$_supportsDeclarationValue$1(e),g.expectChar$1(41),new A.SupportsDeclaration0(e,m,_.spanFrom$1(f))},_stylesheet0$_supportsDeclarationValue$1(e){var t=!1;return e instanceof A.StringExpression0&&(e.hasQuotes||(t=C.JSString_methods.startsWith$1(e.text.get$initialPlain(),"--"))),t?new A.StringExpression0(this._stylesheet0$_interpolatedDeclarationValue$0(),!1):(this.whitespace$1$consumeNewlines(!0),this._stylesheet0$_expression$1$consumeNewlines(!0))},_stylesheet0$_trySupportsOperation$2(e,t){var r,n,i,o,s,a,l,c=this,u=null,d=e.contents;if(1!==d.length)return u;if(!((r=C.JSArray_methods.get$first(d))instanceof A.Expression0))return u;for(n=(d=c.scanner)._string_scanner$_position,c.whitespace$1$consumeNewlines(!0),i=e.span,s=o=u;c.lookingAtIdentifier$0();){if(null!=o)c.expectIdentifier$1(o._name);else if(c.scanIdentifier$1("and"))o=C.BooleanOperator_00;else{if(!c.scanIdentifier$1("or"))return((0===n?1/n<0:n<0)||n>d.string.length)&&A.throwExpression(A.ArgumentError$("Invalid position "+n,u)),d._string_scanner$_position=n,d._lastMatch=null;o=C.BooleanOperator_10}c.whitespace$1$consumeNewlines(!0),a=c._stylesheet0$_supportsConditionInParens$0(),l=null==s?new A.SupportsInterpolation0(r,i):s,s=new A.SupportsOperation0(l,a,o,c.spanFrom$1(t)),c.whitespace$1$consumeNewlines(!0)}return s},_stylesheet0$_lookingAtInterpolatedIdentifier$0(){var e,t,r=this.scanner,n=r.peekChar$0();return e=!1,null!=n?95===n||A.CharacterExtension_get_isAlphabetic0(n)||n>=128||92===n?r=!0:35!==n?45!==n?r=e:(t=r.peekChar$1(1),r=null!=t?35!==t?!!(95===t||A.CharacterExtension_get_isAlphabetic0(t)||t>=128||92===t||45===t)||e:123===r.peekChar$1(2):e):r=123===r.peekChar$1(1):r=e,r},_stylesheet0$_lookingAtPotentialPropertyHack$0(){var e=this.scanner,t=e.peekChar$0();return e=58===t||42===t||46===t||35===t&&123!==e.peekChar$1(1)},_stylesheet0$_lookingAtInterpolatedIdentifierBody$0(){var e,t=this.scanner,r=t.peekChar$0();return e=!1,t=null!=r?!(!(!!(95===r||A.CharacterExtension_get_isAlphabetic0(r)||r>=128)||(r>=48&&r<=57||45===r))&&92!==r)||(35!==r?e:123===t.peekChar$1(1)):e},_stylesheet0$_lookingAtExpression$0(){var e,t,r=this.scanner,n=r.peekChar$0();return e=!0,null!=n?46!==n?33!==n?(r=!0,40!==n&&47!==n&&91!==n&&39!==n&&34!==n&&35!==n&&43!==n&&45!==n&&92!==n&&36!==n&&38!==n&&37!==n&&(95===n||A.CharacterExtension_get_isAlphabetic0(n)||n>=128||(r=n>=48&&n<=57)),r=!!r&&e):(t=r.peekChar$1(1),r=null!=t&&105!==t&&73!==t?32===t||9===t||10===t||13===t||12===t:e):r=46!==r.peekChar$1(1):r=!1,r},_stylesheet0$_withChildren$1$3(e,t,r){var n=r.call$2(this.children$1(0,e),this.spanFrom$1(t));return this.whitespaceWithoutComments$1$consumeNewlines(!1),n},_stylesheet0$_withChildren$3(e,t,r){return this._stylesheet0$_withChildren$1$3(e,t,r,D.dynamic)},_stylesheet0$_urlString$0(){var e,t,r=this,n=r.scanner,i=new A._SpanScannerState(n,n._string_scanner$_position),o=r.string$0();try{return n=A.Uri_parse(o)}catch(o){if(n=A.unwrapException(o),!D.FormatException._is(n))throw o;e=n,t=A.getTraceFromException(o),r.error$3(0,"Invalid URL: "+w.get$message$x(e),r.spanFrom$1(i),t)}},_stylesheet0$_publicIdentifier$0(){var e=this,t=e.scanner,r=t._string_scanner$_position,n=e.identifier$0();return e._stylesheet0$_assertPublic$2(n,new A.StylesheetParser__publicIdentifier_closure0(e,new A._SpanScannerState(t,r))),n},_stylesheet0$_assertPublic$2(e,t){var r=e.charCodeAt(0);45!==r&&95!==r||this.error$2(0,P.Privat,t.call$0())},_stylesheet0$_addOrInject$2(e,t){t instanceof A.StringExpression0&&!t.hasQuotes?e.addInterpolation$1(t.text):e.add$2(0,t,t.get$span(t))},get$plainCss:()=>!1},A.StylesheetParser_parse_closure0.prototype={call$0(){var e,t=this.$this,r=t.scanner,n=r._string_scanner$_position;return r.scanChar$1(65279),e=t.statements$1(new A.StylesheetParser_parse__closure0(t)),r.expectDone$0(),A.Stylesheet$internal0(e,t.spanFrom$1(new A._SpanScannerState(r,n)),t.warnings,t._stylesheet0$_globalVariables,t.get$plainCss())},$signature:620},A.StylesheetParser_parse__closure0.prototype={call$0(){var e=this.$this;return e.scanner.scan$1("@charset")?(e.whitespace$1$consumeNewlines(!1),e.string$0(),null):e._stylesheet0$_statement$1$root(!0)},$signature:621},A.StylesheetParser_parseParameterList_closure0.prototype={call$0(){var e,t=this.$this,r=t.scanner;return r.expectChar$2$name(64,"@-rule"),t.identifier$0(),t.whitespace$1$consumeNewlines(!0),t.identifier$0(),e=t._stylesheet0$_parameterList$0(),t.whitespace$1$consumeNewlines(!0),r.expectChar$1(123),e},$signature:622},A.StylesheetParser__parseSingleProduction_closure0.prototype={call$0(){var e=this.production.call$0();return this.$this.scanner.expectDone$0(),e},$signature(){return this.T._eval$1("0()")}},A.StylesheetParser_parseSignature_closure.prototype={call$0(){var e,t,r,n=this.$this,i=n.identifier$0();return this.requireParens||40===n.scanner.peekChar$0()?e=n._stylesheet0$_parameterList$0():(t=n.scanner,r=(t=A.FileLocation$_(t._sourceFile,t._string_scanner$_position)).offset,e=new A.ParameterList0(C.List_empty27,null,A._FileSpan$(t.file,r,r))),n.scanner.expectDone$0(),new A._Record_2(i,e)},$signature:623},A.StylesheetParser__statement_closure0.prototype={call$0(){return this.$this._stylesheet0$_statement$0()},$signature:137},A.StylesheetParser_variableDeclarationWithoutNamespace_closure1.prototype={call$0(){return this.$this.spanFrom$1(this.start)},$signature:16},A.StylesheetParser_variableDeclarationWithoutNamespace_closure2.prototype={call$0(){return this.declaration.span},$signature:16},A.StylesheetParser__declarationOrBuffer_closure3.prototype={call$0(){return this.$this.whitespace$1$consumeNewlines(!1)},$signature:0},A.StylesheetParser__declarationOrBuffer_closure4.prototype={call$0(){return this.$this.whitespace$1$consumeNewlines(!1)},$signature:0},A.StylesheetParser__declarationOrBuffer_closure5.prototype={call$1:e=>A.equalsIgnoreCase0(e,"result"),$signature:4},A.StylesheetParser__declarationOrBuffer_closure6.prototype={call$0(){return this.$this.whitespace$1$consumeNewlines(!1)},$signature:0},A.StylesheetParser__styleRule_closure0.prototype={call$2(e,t){return A.StyleRule$withParsedSelector(this.selector,e,this.$this.spanFrom$1(this.start))},$signature:269},A.StylesheetParser__styleRule_closure1.prototype={call$2(e,t){return A.StyleRule$0(this._box_0.interpolation,e,this.$this.spanFrom$1(this.start))},$signature:269},A.StylesheetParser__withStyleRuleChildren_closure0.prototype={call$2(e,t){var r,n=this,i=n.$this;return i.get$indented()&&0===e.length&&(r=n.nodeWithSpan,i.warnings.push(new A._Record_3_deprecation_message_span(null,P.This_s,r.get$span(r)))),i._stylesheet0$_inStyleRule=n.wasInStyleRule,n.create.call$2(e,t)},$signature(){return this.T._eval$1("0(List<Statement0>,FileSpan)")}},A.StylesheetParser__propertyOrVariableDeclaration_closure0.prototype={call$0(){return this.$this.whitespace$1$consumeNewlines(!1)},$signature:0},A.StylesheetParser__tryDeclarationChildren_closure0.prototype={call$2(e,t){return A.Declaration$nested0(this.name,e,t,this.value)},$signature:625},A.StylesheetParser__atRootRule_closure1.prototype={call$2(e,t){return A.AtRootRule$0(e,t,this.query)},$signature:270},A.StylesheetParser__atRootRule_closure2.prototype={call$2:(e,t)=>A.AtRootRule$0(e,t,null),$signature:270},A.StylesheetParser__eachRule_closure0.prototype={call$2(e,t){var r=this;return r.$this._stylesheet0$_inControlDirective=r.wasInControlDirective,A.EachRule$0(r.variables,r.list,e,t)},$signature:627},A.StylesheetParser__functionRule_closure0.prototype={call$2(e,t){return A.FunctionRule$0(this.name,this.parameters,e,t,this.precedingComment)},$signature:628},A.StylesheetParser__forRule_closure1.prototype={call$0(){var e=this.$this;return!!e.lookingAtIdentifier$0()&&(e.scanIdentifier$1("to")?this._box_0.exclusive=!0:!!e.scanIdentifier$1("through")&&(this._box_0.exclusive=!1,!0))},$signature:20},A.StylesheetParser__forRule_closure2.prototype={call$2(e,t){var r,n=this;return n.$this._stylesheet0$_inControlDirective=n.wasInControlDirective,(r=n._box_0.exclusive).toString,A.ForRule$0(n.variable,n.from,n.to,e,t,r)},$signature:629},A.StylesheetParser__memberList_closure0.prototype={call$0(){var e=this.$this;36===e.scanner.peekChar$0()?this.variables.add$1(0,e.variableName$0()):this.identifiers.add$1(0,e.identifier$1$normalize(!0))},$signature:1},A.StylesheetParser__includeRule_closure0.prototype={call$2(e,t){return A.ContentBlock$0(this.contentParameters_,e,t)},$signature:630},A.StylesheetParser_mediaRule_closure0.prototype={call$2(e,t){return A.MediaRule$0(this.query,e,t)},$signature:631},A.StylesheetParser__mixinRule_closure0.prototype={call$2(e,t){var r=this;return r.$this._stylesheet0$_inMixin=!1,A.MixinRule$0(r.name,r.parameters,e,t,r.precedingComment)},$signature:632},A.StylesheetParser_mozDocumentRule_closure1.prototype={call$0(){return this.$this.whitespace$1$consumeNewlines(!1)},$signature:0},A.StylesheetParser_mozDocumentRule_closure2.prototype={call$2(e,t){var r=this;return r._box_0.needsDeprecationWarning&&r.$this.warnings.push(new A._Record_3_deprecation_message_span(C.Deprecation_Gmv,P.x40_moz_,t)),A.AtRule$0(r.name,t,e,r.value)},$signature:271},A.StylesheetParser_supportsRule_closure0.prototype={call$2(e,t){return A.SupportsRule$0(this.condition,e,t)},$signature:634},A.StylesheetParser__whileRule_closure0.prototype={call$2(e,t){return this.$this._stylesheet0$_inControlDirective=this.wasInControlDirective,A.WhileRule$0(this.condition,e,t)},$signature:635},A.StylesheetParser_unknownAtRule_closure0.prototype={call$2(e,t){return A.AtRule$0(this.name,t,e,this._box_0.value)},$signature:271},A.StylesheetParser__expression_resetState0.prototype={call$0(){var e,t=this._box_0;t.operands_=t.operators_=t.spaceExpressions_=t.commaExpressions_=null,(e=this.$this).scanner.set$state(this.start),t.allowSlash=!0,t.singleExpression_=e._stylesheet0$_singleExpression$0()},$signature:0},A.StylesheetParser__expression_resolveOneOperation0.prototype={call$0(){var e,t,r,n,i,o,s=this,a=s._box_0,l=a.operators_.pop(),c=a.operands_.pop(),u=a.singleExpression_;null==u&&(e=s.$this.scanner,t=l.operator.length,e.error$3$length$position(0,"Expected expression.",t,e._string_scanner$_position-t)),(e=!!a.allowSlash&&(!(e=s.$this)._stylesheet0$_inParentheses&&l===C.BinaryOperator_ehp0&&e._stylesheet0$_isSlashOperand$1(c)&&e._stylesheet0$_isSlashOperand$1(u)))?a.singleExpression_=new A.BinaryOperationExpression0(C.BinaryOperator_ehp0,c,u,!0):(a.singleExpression_=new A.BinaryOperationExpression0(l,c,u,!1),e=a.allowSlash=!1,C.BinaryOperator_jCK0!==l&&C.BinaryOperator_tDf0!==l||(r=(t=s.$this).scanner.string,n=(n=u.get$span(u)).get$start(n),i=u.get$span(u),o=l.operator,C.JSString_methods.substring$2(r,n.offset-1,i.get$start(i).offset)===o&&(e=c.get$span(c),e=32===(e=r.charCodeAt(e.get$end(e).offset))||9===e||10===e||13===e||12===e),e&&(e=c.toString$0(0),r=u.toString$0(0),n=c.toString$0(0),i=u.toString$0(0),a=a.singleExpression_,t.warnings.push(new A._Record_3_deprecation_message_span(C.Deprecation_Kh7,"This operation is parsed as:\n\n    "+e+" "+o+" "+r+P.x0a_but_+n+" ("+o+i+")\n\nAdd a space after "+o+P.x20to_cl,a.get$span(a))))))},$signature:0},A.StylesheetParser__expression_resolveOperations0.prototype={call$0(){var e,t=this._box_0.operators_;if(null!=t)for(e=this.resolveOneOperation;0!==t.length;)e.call$0()},$signature:0},A.StylesheetParser__expression_addSingleExpression0.prototype={call$1(e){var t,r,n=this,i=n._box_0;if(null!=i.singleExpression_){if((t=n.$this)._stylesheet0$_inParentheses&&(t._stylesheet0$_inParentheses=!1,i.allowSlash))return void n.resetState.call$0();null==(r=i.spaceExpressions_)&&(r=i.spaceExpressions_=A._setArrayType([],D.JSArray_Expression_2)),n.resolveOperations.call$0(),(t=i.singleExpression_).toString,r.push(t),i.allowSlash=!0}i.singleExpression_=e},$signature:136},A.StylesheetParser__expression_addOperator0.prototype={call$1(e){var t,r,n,i,o,s,a,l=this,c=l.$this;for(c.get$plainCss()&&e!==C.BinaryOperator_g6F0&&e!==C.BinaryOperator_jCK0&&e!==C.BinaryOperator_tDf0&&e!==C.BinaryOperator_wkM0&&e!==C.BinaryOperator_ehp0&&(t=c.scanner,r=e.operator.length,t.error$3$length$position(0,"Operators aren't allowed in plain CSS.",r,t._string_scanner$_position-r)),(t=l._box_0).allowSlash=t.allowSlash&&e===C.BinaryOperator_ehp0,null==(n=t.operators_)&&(n=t.operators_=A._setArrayType([],D.JSArray_BinaryOperator_2)),null==(i=t.operands_)&&(i=t.operands_=A._setArrayType([],D.JSArray_Expression_2)),r=l.resolveOneOperation,o=e.precedence;0!==n.length&&C.JSArray_methods.get$last(n).precedence>=o;)r.call$0();null==(s=t.singleExpression_)&&(r=c.scanner,o=e.operator.length,r.error$3$length$position(0,"Expected expression.",o,r._string_scanner$_position-o)),a=c.scanner._string_scanner$_position,c.whitespace$1$consumeNewlines(!0),e!==C.BinaryOperator_bgA0||c._stylesheet0$_lookingAtExpression$0()?(n.push(e),i.push(s),t.singleExpression_=c._stylesheet0$_singleExpression$0()):(c=c.spanFromPosition$2(a-1,a),l.addSingleExpression.call$1(new A.StringExpression0(new A.Interpolation0(A.List_List$unmodifiable(["%"],D.Object),C.List_null,c),!1)))},$signature:636},A.StylesheetParser__expression_resolveSpaceExpressions0.prototype={call$0(){var e,t,r,n;this.resolveOperations.call$0(),null!=(t=(e=this._box_0).spaceExpressions_)&&(null==(r=e.singleExpression_)&&this.$this.scanner.error$1(0,"Expected expression."),t.push(r),n=(n=C.JSArray_methods.get$first(t)).get$span(n).expand$1(0,r.get$span(r)),e.singleExpression_=new A.ListExpression0(A.List_List$unmodifiable(t,D.Expression_2),C.ListSeparator_SrV0,!1,n),e.spaceExpressions_=null)},$signature:0},A.StylesheetParser_expressionUntilComma_closure0.prototype={call$0(){return 44===this.$this.scanner.peekChar$0()},$signature:20},A.StylesheetParser__isHexColor_closure0.prototype={call$1:e=>A.CharacterExtension_get_isHex0(e),$signature:50},A.StylesheetParser__unicodeRange_closure1.prototype={call$1:e=>null!=e&&A.CharacterExtension_get_isHex0(e),$signature:31},A.StylesheetParser__unicodeRange_closure2.prototype={call$1:e=>null!=e&&A.CharacterExtension_get_isHex0(e),$signature:31},A.StylesheetParser_interpolatedStringToken_closure0.prototype={call$0(){return A.consumeEscapedCharacter0(this.$this.scanner)},$signature:0},A.StylesheetParser_namespacedExpression_closure0.prototype={call$0(){return this.$this.spanFrom$1(this.start)},$signature:16},A.StylesheetParser_trySpecialFunction_closure0.prototype={call$1:e=>new A.StringExpression0(e,!1),$signature:637},A.StylesheetParser__interpolatedDeclarationValue_closure0.prototype={call$0(){return this.$this.scanIdentifier$2$caseSensitive("of",!1)},$signature:0},A.StylesheetParser__expressionUntilComparison_closure0.prototype={call$0(){var e=this.$this.scanner,t=e.peekChar$0();return e=61!==t?60===t||62===t:61!==e.peekChar$1(1)},$signature:20},A.StylesheetParser__publicIdentifier_closure0.prototype={call$0(){return this.$this.spanFrom$1(this.start)},$signature:16},A.Stylesheet0.prototype={Stylesheet$internal$5$globalVariables$plainCss0(e,t,r,n,i){var o,s,a,l,c,u;for(s=(o=this.children).length,a=this._stylesheet1$_forwards,l=this._stylesheet1$_uses,c=0;c<s;++c)if((u=o[c])instanceof A.UseRule0)l.push(u);else if(u instanceof A.ForwardRule0)a.push(u);else if(!(u instanceof A.SilentComment0||u instanceof A.LoudComment0||u instanceof A.VariableDeclaration0))break},accept$1$1(e){return e.visitStylesheet$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return C.JSArray_methods.join$1(this.children," ")},get$span(e){return this.span}},A.SupportsExpression0.prototype={get$span(e){var t=this.condition;return t.get$span(t)},accept$1$1(e){return e.visitSupportsExpression$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return this.condition.toString$0(0)}},A.ModifiableCssSupportsRule0.prototype={accept$1$1(e){return e.visitCssSupportsRule$1(this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},equalsIgnoringChildren$1(e){var t,r;return e instanceof A.ModifiableCssSupportsRule0?(t=this.condition,r=e.condition,t=t.$ti._is(r)&&w.$eq$(r.value,t.value)):t=!1,t},copyWithoutChildren$0(){return A.ModifiableCssSupportsRule$0(this.condition,this.span)},get$span(e){return this.span}},A.SupportsRule0.prototype={accept$1$1(e){return e.visitSupportsRule$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return"@supports "+this.condition.toString$0(0)+" {"+C.JSArray_methods.join$1(this.children," ")+"}"},get$span(e){return this.span}},A.JSToDartImporter.prototype={canonicalize$1(e,t){var r=A.wrapJSExceptions(new A.JSToDartImporter_canonicalize_closure(this,t));return null==r?null:r instanceof n.URL?A.Uri_parse(w.toString$0$(D.JSUrl._as(r))):void(r instanceof n.Promise?A.jsThrow(new n.Error("The canonicalize() function can't return a Promise for synchronous compile functions.")):A.jsThrow(new n.Error(P.The_ca)))},load$1(e,t){var r,i,o,s,a=A.wrapJSExceptions(new A.JSToDartImporter_load_closure(this,t));return null==a?null:(a instanceof(r=n.Promise)&&A.jsThrow(new n.Error("The load() function can't return a Promise for synchronous compile functions.")),D.JSImporterResult._as(a),i=(r=w.getInterceptor$x(a)).get$contents(a),"string"!==A._asString(new n.Function("value","return typeof value").call$1(i))&&A.jsThrow(new A.ArgumentError(!0,i,"contents","must be a string but was: "+A.jsType(i))),o=r.get$syntax(a),null!=i&&null!=o||A.jsThrow(new n.Error(P.The_lo)),s=A.parseSyntax(o),A.ImporterResult$(i,A.NullableExtension_andThen0(r.get$sourceMapUrl(a),A.utils3__jsToDartUrl$closure()),s))},isNonCanonicalScheme$1(e){return this._sync$_nonCanonicalSchemes.contains$1(0,e)}},A.JSToDartImporter_canonicalize_closure.prototype={call$0(){return this.$this._sync$_canonicalize.call$2(this.url.toString$0(0),A.canonicalizeContext0())},$signature:36},A.JSToDartImporter_load_closure.prototype={call$0(){return this.$this._sync$_load.call$1(new n.URL(this.url.toString$0(0)))},$signature:36},A.Syntax0.prototype={_enumToString$0(){return"Syntax."+this._name},toString$0(e){return this._syntax0$_name}},A.InterpolatedTypeSelector.prototype={get$span(e){return this.name.span},accept$1$1(e){return w.visitTypeSelector$1$x(e._simple_selector$_inner,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return this.name.toString$0(0)}},A.TypeSelector0.prototype={get$specificity:()=>1,accept$1$1(e){return e.visitTypeSelector$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},addSuffix$1(e){var t=this.name;return new A.TypeSelector0(new A.QualifiedName0(t.name+e,t.namespace),this.span)},unify$1(e){var t,r,n=A.IterableExtensions_get_firstOrNull(e);return n instanceof A.UniversalSelector0||n instanceof A.TypeSelector0?null==(t=A.unifyUniversalAndElement0(this,C.JSArray_methods.get$first(e)))?null:(r=A._setArrayType([t],D.JSArray_SimpleSelector_2),C.JSArray_methods.addAll$1(r,A.SubListIterable$(e,1,null,A._arrayInstanceType(e)._precomputed1)),r):(r=A._setArrayType([this],D.JSArray_SimpleSelector_2),C.JSArray_methods.addAll$1(r,e),r)},isSuperselector$1(e){var t,r,n;return this.super$SimpleSelector$isSuperselector0(e)?t=!0:(t=!1,e instanceof A.TypeSelector0&&(r=this.name,n=e.name,r.name===n.name&&(t="*"===(t=r.namespace)||t==n.namespace))),t},$eq(e,t){return null!=t&&(t instanceof A.TypeSelector0&&t.name.$eq(0,this.name))},get$hashCode(e){var t=this.name;return C.JSString_methods.get$hashCode(t.name)^w.get$hashCode$(t.namespace)}},A.Types.prototype={},A.UnaryOperationExpression0.prototype={accept$1$1(e){return e.visitUnaryOperationExpression$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){var t,r=this.operator,n=r.operator;return r=r===C.UnaryOperator_not_not_3_not0?n+A.Primitives_stringFromCharCode(32):n,n=!0,(t=this.operand)instanceof A.BinaryOperationExpression0||t instanceof A.UnaryOperationExpression0||(n=t instanceof A.ListExpression0&&!t.hasBrackets&&t.contents.length>=2),n&&(r+="40"),r+=t.toString$0(0),n&&(r+="41"),r.charCodeAt(0),r},get$span(e){return this.span}},A.UnaryOperator0.prototype={_enumToString$0(){return"UnaryOperator."+this._name},toString$0(e){return this.name}},A.UnitlessSassNumber0.prototype={get$numeratorUnits:e=>C.List_empty,get$denominatorUnits:e=>C.List_empty,get$hasUnits:()=>!1,get$hasComplexUnits:()=>!1,withValue$1:e=>new A.UnitlessSassNumber0(e,null),withSlash$2(e,t){return new A.UnitlessSassNumber0(this._number1$_value,new A._Record_2(e,t))},hasUnit$1:e=>!1,hasCompatibleUnits$1:e=>e instanceof A.UnitlessSassNumber0,hasPossiblyCompatibleUnits$1:e=>e instanceof A.UnitlessSassNumber0,compatibleWithUnit$1:e=>!0,coerceToMatch$3(e,t,r){return e.withValue$1(this._number1$_value)},coerceToMatch$1(e){return this.coerceToMatch$3(e,null,null)},coerceValueToMatch$3(e,t,r){return this._number1$_value},coerceValueToMatch$1(e){return this.coerceValueToMatch$3(e,null,null)},convertToMatch$3(e,t,r){return e.get$hasUnits()?this.super$SassNumber$convertToMatch(e,t,r):this},convertValueToMatch$3(e,t,r){return e.get$hasUnits()?this.super$SassNumber$convertValueToMatch0(e,t,r):this._number1$_value},convertValueToMatch$1(e){return this.convertValueToMatch$3(e,null,null)},coerce$3(e,t,r){return A.SassNumber_SassNumber$withUnits0(this._number1$_value,t,e)},coerce$2(e,t){return this.coerce$3(e,t,null)},coerceValue$3(e,t,r){return this._number1$_value},coerceValueToUnit$2(e,t){return this._number1$_value},coerceValueToUnit$1(e){return this.coerceValueToUnit$2(e,null)},greaterThan$1(e){var t,r;return e instanceof A.SassNumber0?(t=this._number1$_value)>(r=e._number1$_value)&&!A.fuzzyEquals0(t,r)?C.SassBoolean_true0:C.SassBoolean_false0:this.super$SassNumber$greaterThan0(e)},greaterThanOrEquals$1(e){var t,r;return e instanceof A.SassNumber0?(t=this._number1$_value)>(r=e._number1$_value)||A.fuzzyEquals0(t,r)?C.SassBoolean_true0:C.SassBoolean_false0:this.super$SassNumber$greaterThanOrEquals0(e)},lessThan$1(e){var t,r;return e instanceof A.SassNumber0?(t=this._number1$_value)<(r=e._number1$_value)&&!A.fuzzyEquals0(t,r)?C.SassBoolean_true0:C.SassBoolean_false0:this.super$SassNumber$lessThan0(e)},lessThanOrEquals$1(e){var t,r;return e instanceof A.SassNumber0?(t=this._number1$_value)<(r=e._number1$_value)||A.fuzzyEquals0(t,r)?C.SassBoolean_true0:C.SassBoolean_false0:this.super$SassNumber$lessThanOrEquals0(e)},modulo$1(e){return e instanceof A.SassNumber0?e.withValue$1(A.moduloLikeSass0(this._number1$_value,e._number1$_value)):this.super$SassNumber$modulo0(e)},plus$1(e){return e instanceof A.SassNumber0?e.withValue$1(this._number1$_value+e._number1$_value):this.super$SassNumber$plus0(e)},minus$1(e){return e instanceof A.SassNumber0?e.withValue$1(this._number1$_value-e._number1$_value):this.super$SassNumber$minus0(e)},times$1(e){return e instanceof A.SassNumber0?e.withValue$1(this._number1$_value*e._number1$_value):this.super$SassNumber$times0(e)},dividedBy$1(e){var t,r;return e instanceof A.SassNumber0?(t=this._number1$_value/e._number1$_value,e.get$hasUnits()?(r=e.get$denominatorUnits(e),t=r=A.SassNumber_SassNumber$withUnits0(t,e.get$numeratorUnits(e),r)):t=new A.UnitlessSassNumber0(t,null),t):this.super$SassNumber$dividedBy0(e)},unaryMinus$0(){return new A.UnitlessSassNumber0(-this._number1$_value,null)},$eq(e,t){return null!=t&&(t instanceof A.UnitlessSassNumber0&&A.fuzzyEquals0(this._number1$_value,t._number1$_value))},get$hashCode(e){var t=this.hashCache;return null==t?this.hashCache=A.fuzzyHashCode0(this._number1$_value):t}},A.InterpolatedUniversalSelector.prototype={accept$1$1(e){return w.visitUniversalSelector$1$x(e._simple_selector$_inner,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){var t=this.namespace;return null==t?"*":t.toString$0(0)+"|*"},get$span(e){return this.span}},A.UniversalSelector0.prototype={get$specificity:()=>0,accept$1$1(e){return e.visitUniversalSelector$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},unify$1(e){var t,r,n,i,o,s=this,a=null,l=e.length,c=l>=1;return c?n=(r=(t=e[0])instanceof A.UniversalSelector0||t instanceof A.TypeSelector0)?C.JSArray_methods.sublist$1(e,1):a:(t=n=a,r=!1),r?null==(i=A.unifyUniversalAndElement0(s,C.JSArray_methods.get$first(e)))?a:(r=A._setArrayType([i],D.JSArray_SimpleSelector_2),C.JSArray_methods.addAll$1(r,n),r):(r=!1,1===l&&(c?o=t:(o=t=e[0],c=!0),o instanceof A.PseudoSelector0&&(o=c?t:e[0],D.PseudoSelector_2._as(o),r=o.isClass&&"host"===o.name||o.get$isHostContext())),r?a:l<=0?A._setArrayType([s],D.JSArray_SimpleSelector_2):(null==(r=s.namespace)||"*"===r?r=e:(r=A._setArrayType([s],D.JSArray_SimpleSelector_2),C.JSArray_methods.addAll$1(r,e)),r))},isSuperselector$1(e){var t=this.namespace;return"*"===t||(e instanceof A.TypeSelector0?t==e.name.namespace:e instanceof A.UniversalSelector0?t==e.namespace:null==t||this.super$SimpleSelector$isSuperselector0(e))},$eq(e,t){return null!=t&&(t instanceof A.UniversalSelector0&&t.namespace==this.namespace)},get$hashCode(e){return w.get$hashCode$(this.namespace)}},A.UnprefixedMapView0.prototype={get$keys(e){return new A._UnprefixedKeys0(this)},$index(e,t){return"string"==typeof t?this._unprefixed_map_view0$_map.$index(0,this._unprefixed_map_view0$_prefix+t):null},containsKey$1(e){return"string"==typeof e&&this._unprefixed_map_view0$_map.containsKey$1(this._unprefixed_map_view0$_prefix+e)},remove$1(e,t){return"string"==typeof t?this._unprefixed_map_view0$_map.remove$1(0,this._unprefixed_map_view0$_prefix+t):null}},A._UnprefixedKeys0.prototype={get$iterator(e){var t=this._unprefixed_map_view0$_view._unprefixed_map_view0$_map;return(t=(t=t.get$keys(t)).where$1(t,new A._UnprefixedKeys_iterator_closure1(this)).map$1$1(0,new A._UnprefixedKeys_iterator_closure2(this),D.String)).get$iterator(t)},contains$1(e,t){return this._unprefixed_map_view0$_view.containsKey$1(t)}},A._UnprefixedKeys_iterator_closure1.prototype={call$1(e){return C.JSString_methods.startsWith$1(e,this.$this._unprefixed_map_view0$_view._unprefixed_map_view0$_prefix)},$signature:4},A._UnprefixedKeys_iterator_closure2.prototype={call$1(e){return C.JSString_methods.substring$1(e,this.$this._unprefixed_map_view0$_view._unprefixed_map_view0$_prefix.length)},$signature:6},A.JSUrl0.prototype={},A.UseRule0.prototype={UseRule$4$configuration0(e,t,r,n){var i,o,s,a;for(o=(i=this.configuration).length,s=0;s<o;++s)if((a=i[s]).isGuarded)throw A.wrapException(A.ArgumentError$value(a,"configured variable","can't be guarded in a @use rule."))},accept$1$1(e){return e.visitUseRule$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){var t=this.url,r="@use "+A.StringExpression_quoteText0(t.toString$0(0)),n=0===t.get$pathSegments().length?"":C.JSArray_methods.get$last(t.get$pathSegments()),i=C.JSString_methods.indexOf$1(n,".");return t=(t=this.namespace)!==C.JSString_methods.substring$2(n,0,-1===i?n.length:i)?r+" as "+(null==t?"*":t):r,(t=(0!==(r=this.configuration).length?t+" with ("+C.JSArray_methods.join$1(r,", ")+")":t)+";").charCodeAt(0),t},get$span(e){return this.span}},A.UserDefinedCallable0.prototype={get$name(e){return this.declaration.name},$isAsyncCallable0:1,$isCallable:1},A.resolveImportPath_closure1.prototype={call$0(){return A._exactlyOne0(A._tryPath0(I.$get$context().withoutExtension$1(this.path)+".import"+this.extension))},$signature:47},A.resolveImportPath_closure2.prototype={call$0(){return A._exactlyOne0(A._tryPathWithExtensions0(this.path+".import"))},$signature:47},A._tryPathAsDirectory_closure0.prototype={call$0(){return A._exactlyOne0(A._tryPathWithExtensions0(A.join(this.path,"index.import",null)))},$signature:47},A._exactlyOne_closure0.prototype={call$1(e){var t=I.$get$context();return"  "+t.prettyUri$1(t.toUri$1(e))},$signature:6},A._PropertyDescriptor0.prototype={},A.futureToPromise_closure0.prototype={call$2(e,t){this.future.then$1$2$onError(0,new A.futureToPromise__closure0(e),new A.futureToPromise__closure1(t),D.void)},$signature:638},A.futureToPromise__closure0.prototype={call$1(e){return this.resolve.call$1(e)},$signature:37},A.futureToPromise__closure1.prototype={call$2(e,t){A.attachTrace0(e,t),this.reject.call$1(e)},$signature:51},A.objectToMap_closure.prototype={call$2(e,t){return this.map.$indexSet(0,e,t),t},$signature:126},A._RequireMain0.prototype={},A.indent_closure0.prototype={call$1(e){return C.JSString_methods.$mul(" ",this.indentation)+e},$signature:6},A.flattenVertically_closure1.prototype={call$1(e){return A.QueueList_QueueList$from(e,this.T)},$signature(){return this.T._eval$1("QueueList<0>(Iterable<0>)")}},A.flattenVertically_closure2.prototype={call$1(e){return this.result.push(e.removeFirst$0()),0===e.get$length(0)},$signature(){return this.T._eval$1("bool(QueueList<0>)")}},A.longestCommonSubsequence_backtrack0.prototype={call$2(e,t){var r,n,i=this;return-1===e||-1===t?A._setArrayType([],i.T._eval$1("JSArray<0>")):null!=(r=i.selections[e][t])?(n=i.call$2(e-1,t-1),w.add$1$ax(n,r),n):(n=i.lengths)[e+1][t]>n[e][t+1]?i.call$2(e,t-1):i.call$2(e-1,t)},$signature(){return this.T._eval$1("List<0>(int,int)")}},A.mapAddAll2_closure0.prototype={call$2(e,t){var r=this.destination,n=r.$index(0,e);null!=n?n.addAll$1(0,t):r.$indexSet(0,e,t)},$signature(){return this.K1._eval$1("@<0>")._bind$1(this.K2)._bind$1(this.V)._eval$1("~(1,Map<2,3>)")}},A.CssValue0.prototype={$eq(e,t){return null!=t&&(this.$ti._is(t)&&w.$eq$(t.value,this.value))},get$hashCode(e){return w.get$hashCode$(this.value)},toString$0(e){return w.toString$0$(this.value)},$isAstNode0:1,get$span(e){return this.span}},A.ValueExpression0.prototype={accept$1$1(e){return e.visitValueExpression$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return this.value.toString$0(0)},get$span(e){return this.span}},A.valueClass_closure.prototype={call$0(){var e,t=D.JSClass,r=t._as(n.Object.getPrototypeOf(w.get$$prototype$x(t._as(C.C__SassNull0.constructor))).constructor);return A.JSClassExtension_setCustomInspect(r,new A.valueClass__closure),t=D.String,e=D.Function,A.LinkedHashMap_LinkedHashMap$_literal(["asList",new A.valueClass__closure0,"hasBrackets",new A.valueClass__closure1,"isTruthy",new A.valueClass__closure2,"realNull",new A.valueClass__closure3,"separator",new A.valueClass__closure4],t,e).forEach$1(0,A.JSClassExtension_get_defineGetter(r)),A.LinkedHashMap_LinkedHashMap$_literal(["sassIndexToListIndex",new A.valueClass__closure5,"get",new A.valueClass__closure6,"assertBoolean",new A.valueClass__closure7,"assertCalculation",new A.valueClass__closure8,"assertColor",new A.valueClass__closure9,"assertFunction",new A.valueClass__closure10,"assertMap",new A.valueClass__closure11,"assertMixin",new A.valueClass__closure12,"assertNumber",new A.valueClass__closure13,"assertString",new A.valueClass__closure14,"tryMap",new A.valueClass__closure15,"equals",new A.valueClass__closure16,"hashCode",new A.valueClass__closure17,"toString",new A.valueClass__closure18],t,e).forEach$1(0,A.JSClassExtension_get_defineMethod(r)),r},$signature:17},A.valueClass__closure.prototype={call$1:e=>w.toString$0$(e),$signature:132},A.valueClass__closure0.prototype={call$1:e=>new n.immutable.List(e.get$asList()),$signature:639},A.valueClass__closure1.prototype={call$1:e=>e.get$hasBrackets(),$signature:56},A.valueClass__closure2.prototype={call$1:e=>e.get$isTruthy(),$signature:56},A.valueClass__closure3.prototype={call$1:e=>e.get$realNull(),$signature:242},A.valueClass__closure4.prototype={call$1:e=>e.get$separator(e).separator,$signature:640},A.valueClass__closure5.prototype={call$3:(e,t,r)=>e.sassIndexToListIndex$2(t,r),call$2(e,t){return this.call$3(e,t,null)},"call*":"call$3",$requiredArgCount:2,$defaultValues:()=>[null],$signature:641},A.valueClass__closure6.prototype={call$2:(e,t)=>t<1&&t>=-1?e:n.undefined,$signature:250},A.valueClass__closure7.prototype={call$2:(e,t)=>e.assertBoolean$1(t),call$1(e){return this.call$2(e,null)},"call*":"call$2",$requiredArgCount:1,$defaultValues:()=>[null],$signature:642},A.valueClass__closure8.prototype={call$2:(e,t)=>e.assertCalculation$1(t),call$1(e){return this.call$2(e,null)},"call*":"call$2",$requiredArgCount:1,$defaultValues:()=>[null],$signature:643},A.valueClass__closure9.prototype={call$2:(e,t)=>e.assertColor$1(t),call$1(e){return this.call$2(e,null)},"call*":"call$2",$requiredArgCount:1,$defaultValues:()=>[null],$signature:644},A.valueClass__closure10.prototype={call$2:(e,t)=>e.assertFunction$1(t),call$1(e){return this.call$2(e,null)},"call*":"call$2",$requiredArgCount:1,$defaultValues:()=>[null],$signature:645},A.valueClass__closure11.prototype={call$2:(e,t)=>e.assertMap$1(t),call$1(e){return this.call$2(e,null)},"call*":"call$2",$requiredArgCount:1,$defaultValues:()=>[null],$signature:646},A.valueClass__closure12.prototype={call$2:(e,t)=>e.assertMixin$1(t),call$1(e){return this.call$2(e,null)},"call*":"call$2",$requiredArgCount:1,$defaultValues:()=>[null],$signature:647},A.valueClass__closure13.prototype={call$2:(e,t)=>e.assertNumber$1(t),call$1(e){return this.call$2(e,null)},"call*":"call$2",$requiredArgCount:1,$defaultValues:()=>[null],$signature:648},A.valueClass__closure14.prototype={call$2:(e,t)=>e.assertString$1(t),call$1(e){return this.call$2(e,null)},"call*":"call$2",$requiredArgCount:1,$defaultValues:()=>[null],$signature:649},A.valueClass__closure15.prototype={call$1:e=>e.tryMap$0(),$signature:650},A.valueClass__closure16.prototype={call$2:(e,t)=>e.$eq(0,t),$signature:651},A.valueClass__closure17.prototype={call$2:(e,t)=>e.get$hashCode(e),call$1(e){return this.call$2(e,null)},"call*":"call$2",$requiredArgCount:1,$defaultValues:()=>[null],$signature:652},A.valueClass__closure18.prototype={call$1:e=>e.toString$0(0),$signature:228},A.Value0.prototype={get$isTruthy:()=>!0,get$separator:e=>C.ListSeparator_undecided_null_3_undecided0,get$hasBrackets:()=>!1,get$asList(){return A._setArrayType([this],D.JSArray_Value_2)},get$lengthAsList:()=>1,get$isBlank:()=>!1,get$isSpecialNumber:()=>!1,get$isSpecialVariable:()=>!1,get$realNull(){return this},sassIndexToListIndex$2(e,t){var r,n,i=e.assertNumber$1(t);if(i.get$hasUnits()&&(r=i.get$unitString(),A.warnForDeprecation0("$"+A.S(t)+": Passing a number with unit "+r+P.x20is_de+i.unitSuggestion$1(null==t?"index":t)+P.x0a_Morex3af,C.Deprecation_PHd)),0===(n=i.assertInt$1(t)))throw A.wrapException(A.SassScriptException$0("List index may not be 0.",t));if(Math.abs(n)>this.get$lengthAsList())throw A.wrapException(A.SassScriptException$0("Invalid index "+e.toString$0(0)+" for a list with "+this.get$lengthAsList()+" elements.",t));return n<0?this.get$lengthAsList()+n:n-1},assertBoolean$1(e){return A.throwExpression(A.SassScriptException$0(this.toString$0(0)+" is not a boolean.",e))},assertCalculation$1(e){return A.throwExpression(A.SassScriptException$0(this.toString$0(0)+" is not a calculation.",e))},assertColor$1(e){return A.throwExpression(A.SassScriptException$0(this.toString$0(0)+" is not a color.",e))},assertFunction$1(e){return A.throwExpression(A.SassScriptException$0(this.toString$0(0)+" is not a function reference.",e))},assertMixin$1(e){return A.throwExpression(A.SassScriptException$0(this.toString$0(0)+" is not a mixin reference.",e))},assertMap$1(e){return A.throwExpression(A.SassScriptException$0(this.toString$0(0)+" is not a map.",e))},tryMap$0:()=>null,assertNumber$1(e){return A.throwExpression(A.SassScriptException$0(this.toString$0(0)+" is not a number.",e))},assertNumber$0(){return this.assertNumber$1(null)},assertString$1(e){return A.throwExpression(A.SassScriptException$0(this.toString$0(0)+" is not a string.",e))},assertCommonListStyle$2$allowSlash(e,t){var r,n,i,o=this,s="Expected",a="Expected an unbracketed";if(!(r=o.get$separator(o)===C.ListSeparator_z0K0||!t&&o.get$separator(o)===C.ListSeparator_Lul0)&&!o.get$hasBrackets())return o.get$asList();throw n=new A.StringBuffer(s),o.get$hasBrackets()?(n._contents=a,i=a):i=s,r&&(i+=o.get$hasBrackets()?",":" a",n._contents=i,i=n._contents=i+" space-",i=n._contents=(t?n._contents=i+" or slash-":i)+"separated"),n._contents=i+" list, was "+o.toString$0(0),A.wrapException(A.SassScriptException$0(n.toString$0(0),e))},_value$_selectorString$1(e){var t=this._value$_selectorStringOrNull$0();if(null!=t)return t;throw A.wrapException(A.SassScriptException$0(this.toString$0(0)+P.x20is_noav,e))},_value$_selectorStringOrNull$0(){var e,t,r,n,i,o,s,a,l=this,c=null;if(l instanceof A.SassString0)return l._string0$_text;if(!(l instanceof A.SassList0))return c;if(0===(t=(e=l._list1$_contents).length))return c;if(r=A._setArrayType([],D.JSArray_String),n=l._list1$_separator,C.ListSeparator_z0K0!==n){if(C.ListSeparator_Lul0===n)return c;for(i=0;i<t;++i){if(!((a=e[i])instanceof A.SassString0))return c;r.push(a._string0$_text)}}else for(i=0;i<t;++i)if((o=e[i])instanceof A.SassString0)r.push(o._string0$_text);else{if(!(o instanceof A.SassList0&&C.ListSeparator_SrV0===o._list1$_separator))return c;if(null==(s=o._value$_selectorStringOrNull$0()))return c;r.push(s)}return C.JSArray_methods.join$1(r,n===C.ListSeparator_z0K0?", ":" ")},withListContents$2$separator(e,t){var r=null==t?this.get$separator(this):t,n=this.get$hasBrackets();return A.SassList$0(e,r,n)},withListContents$1(e){return this.withListContents$2$separator(e,null)},greaterThan$1(e){return A.throwExpression(A.SassScriptException$0('Undefined operation "'+this.toString$0(0)+" > "+e.toString$0(0)+'".',null))},greaterThanOrEquals$1(e){return A.throwExpression(A.SassScriptException$0('Undefined operation "'+this.toString$0(0)+" >= "+e.toString$0(0)+'".',null))},lessThan$1(e){return A.throwExpression(A.SassScriptException$0('Undefined operation "'+this.toString$0(0)+" < "+e.toString$0(0)+'".',null))},lessThanOrEquals$1(e){return A.throwExpression(A.SassScriptException$0('Undefined operation "'+this.toString$0(0)+" <= "+e.toString$0(0)+'".',null))},times$1(e){return A.throwExpression(A.SassScriptException$0('Undefined operation "'+this.toString$0(0)+" * "+e.toString$0(0)+'".',null))},modulo$1(e){return A.throwExpression(A.SassScriptException$0('Undefined operation "'+this.toString$0(0)+" % "+e.toString$0(0)+'".',null))},plus$1(e){var t;return e instanceof A.SassString0?t=new A.SassString0(A.serializeValue0(this,!1,!0)+e._string0$_text,e._string0$_hasQuotes):(e instanceof A.SassCalculation0&&A.throwExpression(A.SassScriptException$0('Undefined operation "'+this.toString$0(0)+" + "+e.toString$0(0)+'".',null)),t=new A.SassString0(A.serializeValue0(this,!1,!0)+A.serializeValue0(e,!1,!0),!1)),t},minus$1(e){return e instanceof A.SassCalculation0?A.throwExpression(A.SassScriptException$0('Undefined operation "'+this.toString$0(0)+" - "+e.toString$0(0)+'".',null)):new A.SassString0(A.serializeValue0(this,!1,!0)+"-"+A.serializeValue0(e,!1,!0),!1)},dividedBy$1(e){return new A.SassString0(A.serializeValue0(this,!1,!0)+"/"+A.serializeValue0(e,!1,!0),!1)},unaryPlus$0(){return new A.SassString0("+"+A.serializeValue0(this,!1,!0),!1)},unaryMinus$0(){return new A.SassString0("-"+A.serializeValue0(this,!1,!0),!1)},unaryNot$0:()=>C.SassBoolean_false0,withoutSlash$0(){return this},toCssString$1$quote(e){return A.serializeValue0(this,!1,e)},toCssString$0(){return this.toCssString$1$quote(!0)},toString$0(e){return A.serializeValue0(this,!0,!0)}},A.VariableExpression0.prototype={accept$1$1(e){return e.visitVariableExpression$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return this.span.get$text()},get$span(e){return this.span}},A.VariableDeclaration0.prototype={accept$1$1(e){return e.visitVariableDeclaration$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){var t=this.namespace;return t=null!=t?t+".":"",(t+="$"+this.name+": "+this.expression.toString$0(0)+";").charCodeAt(0),t},get$span(e){return this.span}},A.WarnRule0.prototype={accept$1$1(e){return e.visitWarnRule$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return"@warn "+this.expression.toString$0(0)+";"},get$span(e){return this.span}},A.WhileRule0.prototype={accept$1$1(e){return e.visitWhileRule$1(0,this)},accept$1(e){return this.accept$1$1(e,D.dynamic)},toString$0(e){return"@while "+this.condition.toString$0(0)+" {"+C.JSArray_methods.join$1(this.children," ")+"}"},get$span(e){return this.span}},A.XyzD50ColorSpace0.prototype={get$isBoundedInternal:()=>!1,convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(e,t,r,n,i,o,s,a,l,c){var u,d,h,p,m,_,g=this,f=null;return C.LabColorSpace_2nT0===e||C.LchColorSpace_Bpv0===e?(u=g._xyz_d50$_convertComponentToLabF$1((null==t?0:t)/.9642956764295677),d=g._xyz_d50$_convertComponentToLabF$1((null==r?0:r)/1),h=c?f:116*d-16,p=500*(u-d),m=200*(d-g._xyz_d50$_convertComponentToLabF$1((null==n?0:n)/.8251046025104602)),e===C.LabColorSpace_2nT0?(_=o?f:p,_=A.SassColor$_forSpace0(C.LabColorSpace_2nT0,h,_,s?f:m,i,f)):_=A.labToLch0(C.LchColorSpace_Bpv0,h,p,m,i,a,l),_):g.super$ColorSpace$convertLinear0(e,t,r,n,i,o,s,a,l,c)},convert$5(e,t,r,n,i){return this.convert$10$missingA$missingB$missingChroma$missingHue$missingLightness(e,t,r,n,i,!1,!1,!1,!1,!1)},_xyz_d50$_convertComponentToLabF$1:e=>e>.008856451679035631?Math.pow(e,.3333333333333333)+0:(903.2962962962963*e+16)/116,toLinear$1:e=>e,fromLinear$1:e=>e,transformationMatrix$1(e){return C.SrgbLinearColorSpace_kUj0!==e&&C.SrgbColorSpace_thf0!==e&&C.RgbColorSpace_i0P0!==e?C.A98RgbColorSpace_lf20!==e?C.ProphotoRgbColorSpace_BDz0!==e?C.DisplayP3ColorSpace_MmT0!==e&&C.DisplayP3LinearColorSpace_PrP0!==e?C.Rec2020ColorSpace_6oo0!==e?C.XyzD65ColorSpace_WiJ0!==e?C.LmsColorSpace_Os30!==e?this.super$ColorSpace$transformationMatrix0(e):I.$get$xyzD50ToLms0():I.$get$xyzD50ToXyzD650():I.$get$xyzD50ToLinearRec20200():I.$get$xyzD50ToLinearDisplayP30():I.$get$xyzD50ToLinearProphotoRgb0():I.$get$xyzD50ToLinearA98Rgb0():I.$get$xyzD50ToLinearSrgb0()}},A.XyzD65ColorSpace0.prototype={get$isBoundedInternal:()=>!1,toLinear$1:e=>e,fromLinear$1:e=>e,transformationMatrix$1(e){return C.SrgbLinearColorSpace_kUj0!==e&&C.SrgbColorSpace_thf0!==e&&C.RgbColorSpace_i0P0!==e?C.A98RgbColorSpace_lf20!==e?C.ProphotoRgbColorSpace_BDz0!==e?C.DisplayP3ColorSpace_MmT0!==e&&C.DisplayP3LinearColorSpace_PrP0!==e?C.Rec2020ColorSpace_6oo0!==e?C.XyzD50ColorSpace_2OB0!==e?C.LmsColorSpace_Os30!==e?this.super$ColorSpace$transformationMatrix0(e):I.$get$xyzD65ToLms0():I.$get$xyzD65ToXyzD500():I.$get$xyzD65ToLinearRec20200():I.$get$xyzD65ToLinearDisplayP30():I.$get$xyzD65ToLinearProphotoRgb0():I.$get$xyzD65ToLinearA98Rgb0():I.$get$xyzD65ToLinearSrgb0()}},function(){var e=w.LegacyJavaScriptObject.prototype;e.super$LegacyJavaScriptObject$toString=e.toString$0,(e=A.JsLinkedHashMap.prototype).super$JsLinkedHashMap$internalContainsKey=e.internalContainsKey$1,e.super$JsLinkedHashMap$internalGet=e.internalGet$1,e.super$JsLinkedHashMap$internalSet=e.internalSet$2,e.super$JsLinkedHashMap$internalRemove=e.internalRemove$1,(e=A._BufferingStreamSubscription.prototype).super$_BufferingStreamSubscription$_add=e._async$_add$1,e.super$_BufferingStreamSubscription$_addError=e._addError$2,(e=A.ListBase.prototype).super$ListBase$setRange=e.setRange$4,(e=A.Iterable.prototype).super$Iterable$where=e.where$1,e.super$Iterable$skipWhile=e.skipWhile$1,(e=A.ModifiableCssParentNode.prototype).super$ModifiableCssParentNode$addChild=e.addChild$1,(e=A.SimpleSelector.prototype).super$SimpleSelector$addSuffix=e.addSuffix$1,e.super$SimpleSelector$unify=e.unify$1,e.super$SimpleSelector$isSuperselector=e.isSuperselector$1,(e=A.Parser.prototype).super$Parser$silentComment=e.silentComment$0,(e=A.StylesheetParser.prototype).super$StylesheetParser$importArgument=e.importArgument$0,e.super$StylesheetParser$namespacedExpression=e.namespacedExpression$2,(e=A.Value.prototype).super$Value$assertMap=e.assertMap$1,e.super$Value$plus=e.plus$1,e.super$Value$minus=e.minus$1,e.super$Value$dividedBy=e.dividedBy$1,e.super$Value$toString=e.toString$0,(e=A.ColorSpace.prototype).super$ColorSpace$convert=e.convert$5,e.super$ColorSpace$convertLinear=e.convertLinear$10$missingA$missingB$missingChroma$missingHue$missingLightness,e.super$ColorSpace$transformationMatrix=e.transformationMatrix$1,(e=A.SassNumber.prototype).super$SassNumber$convertValueToMatch=e.convertValueToMatch$3,e.super$SassNumber$coerce=e.coerce$3,e.super$SassNumber$coerceValue=e.coerceValue$3,e.super$SassNumber$coerceValueToUnit=e.coerceValueToUnit$2,e.super$SassNumber$coerceToMatch=e.coerceToMatch$3,e.super$SassNumber$coerceValueToMatch=e.coerceValueToMatch$3,e.super$SassNumber$greaterThan=e.greaterThan$1,e.super$SassNumber$greaterThanOrEquals=e.greaterThanOrEquals$1,e.super$SassNumber$lessThan=e.lessThan$1,e.super$SassNumber$lessThanOrEquals=e.lessThanOrEquals$1,e.super$SassNumber$modulo=e.modulo$1,e.super$SassNumber$plus=e.plus$1,e.super$SassNumber$minus=e.minus$1,e.super$SassNumber$times=e.times$1,e.super$SassNumber$dividedBy=e.dividedBy$1,(e=A.AnySelectorVisitor.prototype).super$AnySelectorVisitor$visitComplexSelector=e.visitComplexSelector$1,(e=A.EveryCssVisitor.prototype).super$EveryCssVisitor$visitCssStyleRule=e.visitCssStyleRule$1,(e=A.ReplaceExpressionVisitor.prototype).super$ReplaceExpressionVisitor$visitBinaryOperationExpression=e.visitBinaryOperationExpression$1,e.super$ReplaceExpressionVisitor$visitUnaryOperationExpression=e.visitUnaryOperationExpression$1,(e=A.SourceSpanMixin.prototype).super$SourceSpanMixin$compareTo=e.compareTo$1,e.super$SourceSpanMixin$$eq=e.$eq,(e=A.StringScanner.prototype).super$StringScanner$readChar=e.readChar$0,e.super$StringScanner$scanChar=e.scanChar$1,e.super$StringScanner$scan=e.scan$1,e.super$StringScanner$matches=e.matches$1,(e=A.AnySelectorVisitor0.prototype).super$AnySelectorVisitor$visitComplexSelector0=e.visitComplexSelector$1,(e=A.EveryCssVisitor0.prototype).super$EveryCssVisitor$visitCssStyleRule0=e.visitCssStyleRule$1,(e=A.ModifiableCssParentNode0.prototype).super$ModifiableCssParentNode$addChild0=e.addChild$1,(e=A.SassNumber0.prototype).super$SassNumber$convertToMatch=e.convertToMatch$3,e.super$SassNumber$convertValueToMatch0=e.convertValueToMatch$3,e.super$SassNumber$coerce0=e.coerce$3,e.super$SassNumber$coerceValue0=e.coerceValue$3,e.super$SassNumber$coerceValueToUnit0=e.coerceValueToUnit$2,e.super$SassNumber$coerceToMatch0=e.coerceToMatch$3,e.super$SassNumber$coerceValueToMatch0=e.coerceValueToMatch$3,e.super$SassNumber$greaterThan0=e.greaterThan$1,e.super$SassNumber$greaterThanOrEquals0=e.greaterThanOrEquals$1,e.super$SassNumber$lessThan0=e.lessThan$1,e.super$SassNumber$lessThanOrEquals0=e.lessThanOrEquals$1,e.super$SassNumber$modulo0=e.modulo$1,e.super$SassNumber$plus0=e.plus$1,e.super$SassNumber$minus0=e.minus$1,e.super$SassNumber$times0=e.times$1,e.super$SassNumber$dividedBy0=e.dividedBy$1,(e=A.Parser1.prototype).super$Parser$silentComment0=e.silentComment$0,(e=A.ReplaceExpressionVisitor0.prototype).super$ReplaceExpressionVisitor$visitBinaryOperationExpression0=e.visitBinaryOperationExpression$1,e.super$ReplaceExpressionVisitor$visitUnaryOperationExpression0=e.visitUnaryOperationExpression$1,(e=A.SimpleSelector0.prototype).super$SimpleSelector$addSuffix0=e.addSuffix$1,e.super$SimpleSelector$unify0=e.unify$1,e.super$SimpleSelector$isSuperselector0=e.isSuperselector$1,(e=A.ColorSpace0.prototype).super$ColorSpace$convert0=e.convert$5,e.super$ColorSpace$convertLinear0=e.convertLinear$10$missingA$missingB$missingChroma$missingHue$missingLightness,e.super$ColorSpace$transformationMatrix0=e.transformationMatrix$1,(e=A.StylesheetParser0.prototype).super$StylesheetParser$importArgument0=e.importArgument$0,e.super$StylesheetParser$namespacedExpression0=e.namespacedExpression$2,(e=A.Value0.prototype).super$Value$assertMap0=e.assertMap$1,e.super$Value$plus0=e.plus$1,e.super$Value$minus0=e.minus$1,e.super$Value$dividedBy0=e.dividedBy$1,e.super$Value$toString0=e.toString$0}(),function(){var e,t=S._static_2,r=S._instance_1i,n=S._instance_1u,i=S._static_1,o=S._static_0,s=S.installStaticTearOff,a=S.installInstanceTearOff,l=S._instance_2u,c=S._instance_0i,u=S._instance_0u;t(w,"_interceptors_JSArray__compareAny$closure","JSArray__compareAny",272),r(w.JSArray.prototype,"get$contains","contains$1",9),r(A._CastIterableBase.prototype,"get$contains","contains$1",9),n(A.CastMap.prototype,"get$containsKey","containsKey$1",9),n(A.ConstantStringMap.prototype,"get$containsKey","containsKey$1",9),r(A.ConstantStringSet.prototype,"get$contains","contains$1",9),r(A.GeneralConstantSet.prototype,"get$contains","contains$1",9),n(A.JsLinkedHashMap.prototype,"get$containsKey","containsKey$1",9),i(A,"async__AsyncRun__scheduleImmediateJsOverride$closure","_AsyncRun__scheduleImmediateJsOverride",138),i(A,"async__AsyncRun__scheduleImmediateWithSetImmediate$closure","_AsyncRun__scheduleImmediateWithSetImmediate",138),i(A,"async__AsyncRun__scheduleImmediateWithTimer$closure","_AsyncRun__scheduleImmediateWithTimer",138),o(A,"async___startMicrotaskLoop$closure","_startMicrotaskLoop",0),i(A,"async___nullDataHandler$closure","_nullDataHandler",71),t(A,"async___nullErrorHandler$closure","_nullErrorHandler",70),o(A,"async___nullDoneHandler$closure","_nullDoneHandler",0),s(A,"async___rootHandleUncaughtError$closure",5,null,["call$5"],["_rootHandleUncaughtError"],655,0),s(A,"async___rootRun$closure",4,null,["call$1$4","call$4"],["_rootRun",function(e,t,r,n){return A._rootRun(e,t,r,n,D.dynamic)}],656,1),s(A,"async___rootRunUnary$closure",5,null,["call$2$5","call$5"],["_rootRunUnary",function(e,t,r,n,i){var o=D.dynamic;return A._rootRunUnary(e,t,r,n,i,o,o)}],657,1),s(A,"async___rootRunBinary$closure",6,null,["call$3$6","call$6"],["_rootRunBinary",function(e,t,r,n,i,o){var s=D.dynamic;return A._rootRunBinary(e,t,r,n,i,o,s,s,s)}],658,1),s(A,"async___rootRegisterCallback$closure",4,null,["call$1$4","call$4"],["_rootRegisterCallback",function(e,t,r,n){return A._rootRegisterCallback(e,t,r,n,D.dynamic)}],659,0),s(A,"async___rootRegisterUnaryCallback$closure",4,null,["call$2$4","call$4"],["_rootRegisterUnaryCallback",function(e,t,r,n){var i=D.dynamic;return A._rootRegisterUnaryCallback(e,t,r,n,i,i)}],660,0),s(A,"async___rootRegisterBinaryCallback$closure",4,null,["call$3$4","call$4"],["_rootRegisterBinaryCallback",function(e,t,r,n){var i=D.dynamic;return A._rootRegisterBinaryCallback(e,t,r,n,i,i,i)}],661,0),s(A,"async___rootErrorCallback$closure",5,null,["call$5"],["_rootErrorCallback"],662,0),s(A,"async___rootScheduleMicrotask$closure",4,null,["call$4"],["_rootScheduleMicrotask"],663,0),s(A,"async___rootCreateTimer$closure",5,null,["call$5"],["_rootCreateTimer"],664,0),s(A,"async___rootCreatePeriodicTimer$closure",5,null,["call$5"],["_rootCreatePeriodicTimer"],665,0),s(A,"async___rootPrint$closure",4,null,["call$4"],["_rootPrint"],666,0),i(A,"async___printToZone$closure","_printToZone",90),s(A,"async___rootFork$closure",5,null,["call$5"],["_rootFork"],667,0),a(A._AsyncCompleter.prototype,"get$complete",0,0,function(){return[null]},["call$1","call$0"],["complete$1","complete$0"],192,0,0),l(A._Future.prototype,"get$_completeError","_completeError$2",70),r(e=A._StreamController.prototype,"get$add","add$1",37),a(e,"get$addError",0,1,function(){return[null]},["call$2","call$1"],["addError$2","addError$1"],268,0,0),c(e,"get$close","close$0",445),n(e,"get$_async$_add","_async$_add$1",37),l(e,"get$_addError","_addError$2",70),u(e,"get$_close","_close$0",0),u(e=A._ControllerSubscription.prototype,"get$_async$_onPause","_async$_onPause$0",0),u(e,"get$_async$_onResume","_async$_onResume$0",0),a(e=A._BufferingStreamSubscription.prototype,"get$pause",1,0,null,["call$1","call$0"],["pause$1","pause$0"],584,0,0),c(e,"get$resume","resume$0",0),u(e,"get$_async$_onPause","_async$_onPause$0",0),u(e,"get$_async$_onResume","_async$_onResume$0",0),n(e=A._StreamIterator.prototype,"get$_onData","_onData$1",37),l(e,"get$_onError","_onError$2",70),u(e,"get$_onDone","_onDone$0",0),u(e=A._ForwardingStreamSubscription.prototype,"get$_async$_onPause","_async$_onPause$0",0),u(e,"get$_async$_onResume","_async$_onResume$0",0),n(e,"get$_handleData","_handleData$1",37),l(e,"get$_handleError","_handleError$2",300),u(e,"get$_handleDone","_handleDone$0",0),t(A,"collection___defaultEquals$closure","_defaultEquals",273),i(A,"collection___defaultHashCode$closure","_defaultHashCode",274),t(A,"collection_ListBase__compareAny$closure","ListBase__compareAny",272),n(A._HashMap.prototype,"get$containsKey","containsKey$1",9),n(A._LinkedCustomHashMap.prototype,"get$containsKey","containsKey$1",9),a(e=A._LinkedHashSet.prototype,"get$_newSimilarSet",0,0,null,["call$1$0","call$0"],["_newSimilarSet$1$0","_newSimilarSet$0"],151,0,0),r(e,"get$contains","contains$1",9),r(e,"get$add","add$1",9),a(A._LinkedIdentityHashSet.prototype,"get$_newSimilarSet",0,0,null,["call$1$0","call$0"],["_newSimilarSet$1$0","_newSimilarSet$0"],151,0,0),n(A.MapBase.prototype,"get$containsKey","containsKey$1",9),n(A.MapView.prototype,"get$containsKey","containsKey$1",9),r(A.UnmodifiableSetView.prototype,"get$contains","contains$1",9),i(A,"convert___defaultToEncodable$closure","_defaultToEncodable",108),n(A._JsonMap.prototype,"get$containsKey","containsKey$1",9),i(A,"core__identityHashCode$closure","identityHashCode",274),t(A,"core__identical$closure","identical",273),i(A,"core_Uri_decodeComponent$closure","Uri_decodeComponent",6),r(A.Iterable.prototype,"get$contains","contains$1",9),r(A.StringBuffer.prototype,"get$write","write$1",37),s(A,"math0__max$closure",2,null,["call$1$2","call$2"],["max",function(e,t){return A.max(e,t,D.num)}],670,1),n(A.ArgResults.prototype,"get$wasParsed","wasParsed$1",4),n(e=A.StreamCompleter.prototype,"get$setSourceStream","setSourceStream$1",37),a(e,"get$setError",0,1,function(){return[null]},["call$2","call$1"],["setError$2","setError$1"],268,0,0),u(e=A.StreamGroup.prototype,"get$_onListen","_onListen$0",0),u(e,"get$_onPause","_onPause$0",0),u(e,"get$_onResume","_onResume$0",0),u(e,"get$_onCancel","_onCancel$0",226),c(A.ReplAdapter.prototype,"get$exit","exit$0",0),r(A.EmptyUnmodifiableSet.prototype,"get$contains","contains$1",9),r(A.UnionSet.prototype,"get$contains","contains$1",9),r(A._DelegatingIterableBase.prototype,"get$contains","contains$1",9),r(A.MapKeySet.prototype,"get$contains","contains$1",9),i(A,"version_Version___parse_tearOff$closure","Version___parse_tearOff",235),n(A.VersionRange.prototype,"get$allows","allows$1",489),n(A._IsInvisibleVisitor0.prototype,"get$visitComplexSelector","visitComplexSelector$1",21),n(A._IsBogusVisitor.prototype,"get$visitComplexSelector","visitComplexSelector$1",21),n(A._IsUselessVisitor.prototype,"get$visitComplexSelector","visitComplexSelector$1",21),n(A.SelectorList.prototype,"get$isSuperselector","isSuperselector$1",77),n(A.PseudoSelector.prototype,"get$isSuperselector","isSuperselector$1",14),n(A.SimpleSelector.prototype,"get$isSuperselector","isSuperselector$1",14),n(A.TypeSelector.prototype,"get$isSuperselector","isSuperselector$1",14),n(A.UniversalSelector.prototype,"get$isSuperselector","isSuperselector$1",14),n(A.EmptyExtensionStore.prototype,"get$addExtensions","addExtensions$1",210),n(A.ExtensionStore.prototype,"get$addExtensions","addExtensions$1",210),i(A,"functions___isUnique$closure","_isUnique",14),l(A.NodePackageImporter.prototype,"get$_compareExpansionKeys","_compareExpansionKeys$2",145),u(A.CssParser.prototype,"get$silentComment","silentComment$0",20),u(e=A.Parser.prototype,"get$silentComment","silentComment$0",20),u(e,"get$loudComment","loudComment$0",0),u(e,"get$string","string$0",29),a(e,"get$error",1,2,function(){return[null]},["call$3","call$2"],["error$3","error$2"],158,0,0),a(e=A.StylesheetParser.prototype,"get$_statement",0,0,null,["call$1$root","call$0"],["_statement$1$root","_statement$0"],457,0,0),u(e,"get$_declarationChild","_declarationChild$0",125),u(e,"get$_functionChild","_functionChild$0",125),a(e,"get$_expression",0,0,null,["call$4$bracketList$consumeNewlines$singleEquals$until","call$0","call$1$consumeNewlines","call$3$consumeNewlines$singleEquals$until","call$1$bracketList","call$2$consumeNewlines$until"],["_expression$4$bracketList$consumeNewlines$singleEquals$until","_expression$0","_expression$1$consumeNewlines","_expression$3$consumeNewlines$singleEquals$until","_expression$1$bracketList","_expression$2$consumeNewlines$until"],473,0,0),u(e,"get$_number","_number$0",474),a(A.LazyFileSpan.prototype,"get$message",1,1,function(){return{color:null}},["call$2$color","call$1"],["message$2$color","message$1"],123,0,0),n(A.LimitedMapView.prototype,"get$containsKey","containsKey$1",9),n(A.MergedMapView.prototype,"get$containsKey","containsKey$1",9),a(A.MultiSpan.prototype,"get$message",1,1,function(){return{color:null}},["call$2$color","call$1"],["message$2$color","message$1"],163,0,0),r(A.NoSourceMapBuffer.prototype,"get$write","write$1",37),n(A.PrefixedMapView.prototype,"get$containsKey","containsKey$1",9),n(A.PublicMemberMapView.prototype,"get$containsKey","containsKey$1",9),r(A.SourceMapBuffer.prototype,"get$write","write$1",37),n(A.UnprefixedMapView.prototype,"get$containsKey","containsKey$1",9),i(A,"utils__isPublic$closure","isPublic",4),i(A,"calculation_SassCalculation__simplify$closure","SassCalculation__simplify",75),n(A.ColorChannel.prototype,"get$isAnalogous","isAnalogous$1",93),n(A.DisplayP3ColorSpace.prototype,"get$toLinear","toLinear$1",12),n(A.SrgbColorSpace.prototype,"get$toLinear","toLinear$1",12),n(A.AnySelectorVisitor.prototype,"get$visitComplexSelector","visitComplexSelector$1",21),a(e=A._EvaluateVisitor0.prototype,"get$_async_evaluate$_interpolationToValue",0,1,null,["call$3$trim$warnForColor","call$1","call$2$warnForColor"],["_async_evaluate$_interpolationToValue$3$trim$warnForColor","_async_evaluate$_interpolationToValue$1","_async_evaluate$_interpolationToValue$2$warnForColor"],337,0,0),n(e,"get$_async_evaluate$_expressionNode","_async_evaluate$_expressionNode$1",166),a(e=A._EvaluateVisitor.prototype,"get$_interpolationToValue",0,1,null,["call$3$trim$warnForColor","call$1","call$2$warnForColor"],["_interpolationToValue$3$trim$warnForColor","_interpolationToValue$1","_interpolationToValue$2$warnForColor"],550,0,0),n(e,"get$_expressionNode","_expressionNode$1",166),r(e=A.RecursiveStatementVisitor.prototype,"get$visitContentBlock","visitContentBlock$1",694),n(e,"get$visitChildren","visitChildren$1",277),n(e=A.SelectorSearchVisitor.prototype,"get$visitComplexSelector","visitComplexSelector$1","SelectorSearchVisitor.T?(ComplexSelector)"),n(e,"get$visitSelectorList","visitSelectorList$1","SelectorSearchVisitor.T?(SelectorList)"),n(e=A._SerializeVisitor.prototype,"get$_visitMediaQuery","_visitMediaQuery$1",281),n(e,"get$_writeCalculationValue","_writeCalculationValue$1",97),a(e,"get$_writeChannel",0,1,null,["call$2","call$1"],["_writeChannel$2","_writeChannel$1"],195,0,0),n(e,"get$visitSelectorList","visitSelectorList$1",283),n(e,"get$_requiresSemicolon","_requiresSemicolon$1",7),r(e=A.StatementSearchVisitor.prototype,"get$visitContentBlock","visitContentBlock$1","StatementSearchVisitor.T?(ContentBlock)"),n(e,"get$visitChildren","visitChildren$1","StatementSearchVisitor.T?(List<Statement>)"),a(A.SourceSpanMixin.prototype,"get$message",1,1,function(){return{color:null}},["call$2$color","call$1"],["message$2$color","message$1"],123,0,0),i(A,"frame_Frame___parseVM_tearOff$closure","Frame___parseVM_tearOff",94),i(A,"frame_Frame___parseV8_tearOff$closure","Frame___parseV8_tearOff",94),i(A,"frame_Frame___parseFirefox_tearOff$closure","Frame___parseFirefox_tearOff",94),i(A,"frame_Frame___parseFriendly_tearOff$closure","Frame___parseFriendly_tearOff",94),i(A,"trace_Trace___parseVM_tearOff$closure","Trace___parseVM_tearOff",231),i(A,"trace_Trace___parseFriendly_tearOff$closure","Trace___parseFriendly_tearOff",231),s(A,"from_handlers__TransformByHandlers__defaultHandleError$closure",3,null,["call$1$3","call$3"],["TransformByHandlers__defaultHandleError",function(e,t,r){return A.TransformByHandlers__defaultHandleError(e,t,r,D.dynamic)}],673,0),s(A,"rate_limit___collect$closure",2,null,["call$1$2","call$2"],["_collect",function(e,t){return A._collect(e,t,D.dynamic)}],674,0),n(A.AnySelectorVisitor0.prototype,"get$visitComplexSelector","visitComplexSelector$1",22),a(e=A._EvaluateVisitor2.prototype,"get$_async_evaluate0$_interpolationToValue",0,1,null,["call$3$trim$warnForColor","call$1","call$2$warnForColor"],["_async_evaluate0$_interpolationToValue$3$trim$warnForColor","_async_evaluate0$_interpolationToValue$1","_async_evaluate0$_interpolationToValue$2$warnForColor"],322,0,0),n(e,"get$_async_evaluate0$_expressionNode","_async_evaluate0$_expressionNode$1",206),i(A,"calculation1___assertCalculationValue$closure","_assertCalculationValue",97),i(A,"calculation1___isValidClampArg$closure","_isValidClampArg",9),i(A,"calculation0_SassCalculation__simplify$closure","SassCalculation__simplify0",75),n(A.ColorChannel0.prototype,"get$isAnalogous","isAnalogous$1",67),s(A,"compile__compile$closure",1,function(){return[null]},["call$2","call$1"],["compile0",function(e){return A.compile0(e,null)}],675,0),s(A,"compile__compileString$closure",1,function(){return[null]},["call$2","call$1"],["compileString0",function(e){return A.compileString0(e,null)}],676,0),s(A,"compile__compileAsync$closure",1,function(){return[null]},["call$2","call$1"],["compileAsync1",function(e){return A.compileAsync1(e,null)}],677,0),s(A,"compile__compileStringAsync$closure",1,function(){return[null]},["call$2","call$1"],["compileStringAsync1",function(e){return A.compileStringAsync1(e,null)}],678,0),i(A,"compile___parseImporter$closure","_parseImporter0",679),i(A,"compile___simplifyCalcArg$closure","_simplifyCalcArg",75),o(A,"compiler__initCompiler$closure","initCompiler",680),o(A,"compiler__initAsyncCompiler$closure","initAsyncCompiler",681),u(A.CssParser0.prototype,"get$silentComment","silentComment$0",20),n(A.DisplayP3ColorSpace0.prototype,"get$toLinear","toLinear$1",12),n(A.EmptyExtensionStore0.prototype,"get$addExtensions","addExtensions$1",236),a(e=A._EvaluateVisitor1.prototype,"get$_evaluate0$_interpolationToValue",0,1,null,["call$3$trim$warnForColor","call$1","call$2$warnForColor"],["_evaluate0$_interpolationToValue$3$trim$warnForColor","_evaluate0$_interpolationToValue$1","_evaluate0$_interpolationToValue$2$warnForColor"],455,0,0),n(e,"get$_evaluate0$_expressionNode","_evaluate0$_expressionNode$1",206),n(A.ExtensionStore0.prototype,"get$addExtensions","addExtensions$1",236),i(A,"functions0___isUnique$closure","_isUnique0",15),i(A,"immutable__jsToDartList$closure","jsToDartList",682),a(A.LazyFileSpan0.prototype,"get$message",1,1,function(){return{color:null}},["call$2$color","call$1"],["message$2$color","message$1"],123,0,0),t(A,"legacy__render$closure","render",683),i(A,"legacy__renderSync$closure","renderSync",684),n(A.LimitedMapView0.prototype,"get$containsKey","containsKey$1",9),n(A.SelectorList0.prototype,"get$isSuperselector","isSuperselector$1",68),n(A.MergedMapView0.prototype,"get$containsKey","containsKey$1",9),a(A.MultiSpan0.prototype,"get$message",1,1,function(){return{color:null}},["call$2$color","call$1"],["message$2$color","message$1"],163,0,0),r(A.NoSourceMapBuffer0.prototype,"get$write","write$1",37),l(A.NodePackageImporter0.prototype,"get$_node_package$_compareExpansionKeys","_node_package$_compareExpansionKeys$2",145),o(A,"parser0__loadParserExports$closure","loadParserExports",685),s(A,"parser0___parse$closure",3,null,["call$3"],["_parse"],686,0),i(A,"parser0___parseIdentifier$closure","_parseIdentifier",687),i(A,"parser0___toCssIdentifier$closure","_toCssIdentifier",6),u(e=A.Parser1.prototype,"get$silentComment","silentComment$0",20),u(e,"get$loudComment","loudComment$0",0),u(e,"get$string","string$0",29),a(e,"get$error",1,2,function(){return[null]},["call$3","call$2"],["error$3","error$2"],158,0,0),n(A.PrefixedMapView0.prototype,"get$containsKey","containsKey$1",9),n(A.PseudoSelector0.prototype,"get$isSuperselector","isSuperselector$1",15),n(A.PublicMemberMapView0.prototype,"get$containsKey","containsKey$1",9),n(A._IsInvisibleVisitor2.prototype,"get$visitComplexSelector","visitComplexSelector$1",22),n(A._IsBogusVisitor0.prototype,"get$visitComplexSelector","visitComplexSelector$1",22),n(A._IsUselessVisitor0.prototype,"get$visitComplexSelector","visitComplexSelector$1",22),n(e=A.SelectorSearchVisitor0.prototype,"get$visitComplexSelector","visitComplexSelector$1","SelectorSearchVisitor0.T?(ComplexSelector0)"),n(e,"get$visitSelectorList","visitSelectorList$1","SelectorSearchVisitor0.T?(SelectorList0)"),n(e=A._SerializeVisitor0.prototype,"get$_serialize0$_visitMediaQuery","_serialize0$_visitMediaQuery$1",595),n(e,"get$_serialize0$_writeCalculationValue","_serialize0$_writeCalculationValue$1",97),a(e,"get$_serialize0$_writeChannel",0,1,null,["call$2","call$1"],["_serialize0$_writeChannel$2","_serialize0$_writeChannel$1"],195,0,0),n(e,"get$visitSelectorList","visitSelectorList$1",596),n(e,"get$_serialize0$_requiresSemicolon","_serialize0$_requiresSemicolon$1",8),n(A.SimpleSelector0.prototype,"get$isSuperselector","isSuperselector$1",15),r(A.SourceMapBuffer0.prototype,"get$write","write$1",37),n(A.SrgbColorSpace0.prototype,"get$toLinear","toLinear$1",12),r(e=A.StatementSearchVisitor0.prototype,"get$visitContentBlock","visitContentBlock$1","StatementSearchVisitor0.T?(ContentBlock0)"),n(e,"get$visitChildren","visitChildren$1","StatementSearchVisitor0.T?(List<Statement0>)"),a(e=A.StylesheetParser0.prototype,"get$_stylesheet0$_statement",0,0,null,["call$1$root","call$0"],["_stylesheet0$_statement$1$root","_stylesheet0$_statement$0"],617,0,0),u(e,"get$_stylesheet0$_declarationChild","_stylesheet0$_declarationChild$0",137),u(e,"get$_stylesheet0$_functionChild","_stylesheet0$_functionChild$0",137),u(e,"get$_stylesheet0$_number","_stylesheet0$_number$0",619),n(A.TypeSelector0.prototype,"get$isSuperselector","isSuperselector$1",15),n(A.UniversalSelector0.prototype,"get$isSuperselector","isSuperselector$1",15),n(A.UnprefixedMapView0.prototype,"get$containsKey","containsKey$1",9),i(A,"utils3__jsToDartUrl$closure","jsToDartUrl",688),i(A,"utils3__dartToJSUrl$closure","dartToJSUrl",176),i(A,"utils3__mapToObject$closure","mapToObject",689),i(A,"utils1__isPublic$closure","isPublic0",4),i(A,"utils1__unvendor$closure","unvendor0",6),s(A,"path__absolute$closure",1,function(){return[null,null,null,null,null,null,null,null,null,null,null,null,null,null]},["call$15","call$1","call$2","call$3","call$4","call$5","call$6"],["absolute",function(e){var t=null;return A.absolute(e,t,t,t,t,t,t,t,t,t,t,t,t,t,t)},function(e,t){var r=null;return A.absolute(e,t,r,r,r,r,r,r,r,r,r,r,r,r,r)},function(e,t,r){var n=null;return A.absolute(e,t,r,n,n,n,n,n,n,n,n,n,n,n,n)},function(e,t,r,n){var i=null;return A.absolute(e,t,r,n,i,i,i,i,i,i,i,i,i,i,i)},function(e,t,r,n,i){var o=null;return A.absolute(e,t,r,n,i,o,o,o,o,o,o,o,o,o,o)},function(e,t,r,n,i,o){var s=null;return A.absolute(e,t,r,n,i,o,s,s,s,s,s,s,s,s,s)}],690,0),i(A,"path__toUri$closure","toUri",127),i(A,"path__prettyUri$closure","prettyUri",691),t(A,"number0__fuzzyLessThan$closure","fuzzyLessThan",48),t(A,"number0__fuzzyLessThanOrEquals$closure","fuzzyLessThanOrEquals",48),t(A,"number0__fuzzyGreaterThan$closure","fuzzyGreaterThan",48),t(A,"number0__fuzzyGreaterThanOrEquals$closure","fuzzyGreaterThanOrEquals",48),t(A,"number0__moduloLikeSass$closure","moduloLikeSass",57),i(A,"number0__sqrt$closure","sqrt",52),i(A,"number0__sin$closure","sin",52),i(A,"number0__cos$closure","cos",52),i(A,"number0__tan$closure","tan",52),i(A,"number0__atan$closure","atan",52),i(A,"number0__asin$closure","asin",52),i(A,"number0__acos$closure","acos",52),i(A,"utils0__srgbAndDisplayP3FromLinear$closure","srgbAndDisplayP3FromLinear",12),t(A,"number2__fuzzyLessThan$closure","fuzzyLessThan0",48),t(A,"number2__fuzzyLessThanOrEquals$closure","fuzzyLessThanOrEquals0",48),t(A,"number2__fuzzyGreaterThan$closure","fuzzyGreaterThan0",48),t(A,"number2__fuzzyGreaterThanOrEquals$closure","fuzzyGreaterThanOrEquals0",48),t(A,"number2__moduloLikeSass$closure","moduloLikeSass0",57),i(A,"number2__sqrt$closure","sqrt0",53),i(A,"number2__sin$closure","sin0",53),i(A,"number2__cos$closure","cos0",53),i(A,"number2__tan$closure","tan0",53),i(A,"number2__atan$closure","atan0",53),i(A,"number2__asin$closure","asin0",53),i(A,"number2__acos$closure","acos0",53),i(A,"sass__main$closure","main1",511),i(A,"utils4__validateUrlScheme$closure","validateUrlScheme",90),i(A,"utils2__srgbAndDisplayP3FromLinear$closure","srgbAndDisplayP3FromLinear0",12),i(A,"value0__wrapValue$closure","wrapValue",464)}(),y=S.mixin,$=S.inherit,x=S.inheritMany,$(A.Object,null),x(A.Object,[A.JS_CONST,w.Interceptor,A.SafeToStringHook,w.ArrayIterator,A.Iterable,A.CastIterator,A.Closure,A.MapBase,A.Error,A.ListBase,A.SentinelValue,A.ListIterator,A.MappedIterator,A.WhereIterator,A.ExpandIterator,A.TakeIterator,A.SkipIterator,A.SkipWhileIterator,A.EmptyIterator,A.FollowedByIterator,A.WhereTypeIterator,A.NonNullsIterator,A.FixedLengthListMixin,A.UnmodifiableListMixin,A.Symbol,A._Record,A.MapView,A.ConstantMap,A._KeysOrValuesOrElementsIterator,A.SetBase,A.JSInvocationMirror,A.TypeErrorDecoder,A.NullThrownFromJavaScriptException,A.ExceptionAndStackTrace,A._StackTrace,A._Required,A.LinkedHashMapCell,A.LinkedHashMapKeyIterator,A.LinkedHashMapValueIterator,A.LinkedHashMapEntryIterator,A.JSSyntaxRegExp,A._MatchImplementation,A._AllMatchesIterator,A.StringMatch,A._StringAllMatchesIterator,A._Cell,A.Rti,A._FunctionParameters,A._Type,A._TimerImpl,A._AsyncAwaitCompleter,A._SyncStarIterator,A.AsyncError,A._Completer,A._FutureListener,A._Future,A._AsyncCallbackEntry,A.Stream,A._StreamController,A._SyncStreamControllerDispatch,A._AsyncStreamControllerDispatch,A._BufferingStreamSubscription,A._AddStreamState,A._DelayedEvent,A._DelayedDone,A._PendingEvents,A._StreamIterator,A._ZoneFunction,A._Zone,A._ZoneDelegate,A._ZoneSpecification,A._HashMapKeyIterator,A._LinkedHashSetCell,A._LinkedHashSetIterator,A._MapBaseValueIterator,A._UnmodifiableMapMixin,A._ListQueueIterator,A._UnmodifiableSetMixin,A.Codec,A.Converter,A._Base64Encoder,A.ByteConversionSink,A._JsonStringifier,A.StringConversionSink,A._Utf8Encoder,A._Utf8Decoder,A.DateTime,A.Duration,A._Enum,A.OutOfMemoryError,A.StackOverflowError,A._Exception,A.FormatException,A.MapEntry,A.Null,A._StringStackTrace,A.RuneIterator,A.StringBuffer,A._Uri,A.UriData,A._SimpleUri,A.Expando,A.NullRejectionException,A._JSRandom,A.ArgParser,A.ArgResults,A.Option,A.OptionType,A.Parser0,A._Usage,A.FutureGroup,A.ErrorResult,A.ValueResult,A.StreamCompleter,A.StreamGroup,A._StreamGroupState,A.StreamQueue,A._NextRequest,A.Repl,A.ReplAdapter,A.DefaultEquality,A.IterableEquality,A.ListEquality,A._MapEntry,A.MapEquality,A._QueueList_Object_ListMixin,A._DelegatingIterableBase,A.UnmodifiableSetMixin,A.Context,A._PathDirection,A._PathRelation,A.Style,A.ParsedPath,A.PathException,A.Version,A.VersionRange,A.CssMediaQuery,A.MediaQuerySuccessfulMergeResult,A.CssNode,A.__IsInvisibleVisitor_Object_EveryCssVisitor,A.CssValue,A._FakeAstNode,A.ArgumentList,A.AtRootQuery,A.ConfiguredVariable,A.Expression,A.IfConditionExpression,A.DynamicImport,A.StaticImport,A.Interpolation,A.Parameter,A.ParameterList,A.Statement,A.IfRuleClause,A.__HasContentVisitor_Object_StatementSearchVisitor,A.SupportsAnything,A.SupportsDeclaration,A.SupportsFunction,A.SupportsInterpolation,A.SupportsNegation,A.SupportsOperation,A.Selector,A.__IsInvisibleVisitor_Object_AnySelectorVisitor,A.__IsBogusVisitor_Object_AnySelectorVisitor,A.__IsUselessVisitor_Object_AnySelectorVisitor,A.__ContainsParentSelectorVisitor_Object_AnySelectorVisitor,A.ComplexSelectorComponent,A.__ParentSelectorVisitor_Object_SelectorSearchVisitor,A.QualifiedName,A.AsyncEnvironment,A._EnvironmentModule0,A.AsyncImportCache,A.AsyncBuiltInCallable,A.BuiltInCallable,A.PlainCssCallable,A.UserDefinedCallable,A.CompileResult,A.Configuration,A.ConfiguredValue,A.Environment,A._EnvironmentModule,A.SourceSpanException,A.SassScriptException,A.ExecutableOptions,A.UsageException,A._Watcher,A.EmptyExtensionStore,A.Extension,A.Extender,A.ExtensionStore,A.ImportCache,A.AsyncImporter,A.CanonicalizeContext,A.ImporterResult,A.InterpolationBuffer,A.InterpolationMap,A.FileSystemException,A.LoggerWithDeprecationType,A._QuietLogger,A.TrackingLogger,A.BuiltInModule,A.ForwardedModuleView,A.ShadowedModuleView,A.Parser,A.StylesheetGraph,A.StylesheetNode,A.Box,A.ModifiableBox,A.LazyFileSpan,A.MultiDirWatcher,A.MultiSpan,A.NoSourceMapBuffer,A.SourceMapBuffer,A.Value,A.CalculationOperation,A._ColorFormatEnum,A.SpanColorFormat,A.ColorChannel,A.GamutMapMethod,A.InterpolationMethod,A.ColorSpace,A.AnySelectorVisitor,A._EvaluateVisitor0,A._ImportedCssVisitor0,A._EvaluationContext0,A._CloneCssVisitor,A.Evaluator,A._EvaluateVisitor,A._ImportedCssVisitor,A._EvaluationContext,A.EveryCssVisitor,A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor,A.__FindDependenciesVisitor_Object_RecursiveStatementVisitor,A.IsCalculationSafeVisitor,A.IsPlainCssVisitor,A.RecursiveStatementVisitor,A.ReplaceExpressionVisitor,A.SelectorSearchVisitor,A._SerializeVisitor,A.StatementSearchVisitor,A.Entry,A.Mapping,A.TargetLineEntry,A.TargetEntry,A.SourceFile,A.SourceLocationMixin,A.SourceSpanMixin,A.Highlighter,A._Highlight,A._Line,A.SourceLocation,A.Chain,A.Frame,A.LazyTrace,A.Trace,A.UnparsedFrame,A.StringScanner,A._SpanScannerState,A.AsciiGlyphSet,A.UnicodeGlyphSet,A.WatchEvent,A.ChangeType,A.ColorSpace0,A.AnySelectorVisitor0,A.SupportsAnything0,A.ArgumentList0,A.Value0,A.AsyncImporter0,A.AsyncBuiltInCallable0,A.AsyncEnvironment0,A._EnvironmentModule2,A._EvaluateVisitor2,A._ImportedCssVisitor2,A._EvaluationContext2,A.AsyncImportCache0,A.Parser1,A.AtRootQuery0,A.Statement0,A.CssNode0,A.InterpolatedSelector,A.Selector0,A.Expression0,A.Box0,A.ModifiableBox0,A.BuiltInCallable0,A.BuiltInModule0,A.CalculationOperation0,A.CalculationInterpolation,A.CanonicalizeContext0,A.ColorChannel0,A.GamutMapMethod0,A._CloneCssVisitor0,A._ColorFormatEnum0,A.SpanColorFormat0,A.CompileResult0,A.Compiler,A.InterpolatedComplexSelectorComponent,A.ComplexSelectorComponent0,A.Configuration0,A.ConfiguredValue0,A.ConfiguredVariable0,A.SupportsDeclaration0,A.LoggerWithDeprecationType0,A.DynamicImport0,A.EmptyExtensionStore0,A.Environment0,A._EnvironmentModule1,A._EvaluateVisitor1,A._ImportedCssVisitor1,A._EvaluationContext1,A.EveryCssVisitor0,A.SassScriptException0,A.JSExpressionVisitor,A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0,A.Extension0,A.Extender0,A.ExtensionStore0,A.ForwardedModuleView0,A.SupportsFunction0,A.IfConditionExpression0,A.JSIfConditionExpressionVisitor,A.IfRuleClause0,A.NodeImporter,A.ImportCache0,A.Interpolation0,A.SupportsInterpolation0,A.InterpolationBuffer0,A.InterpolationMap0,A.InterpolationMethod0,A.IsCalculationSafeVisitor0,A.IsPlainCssVisitor0,A.FileSystemException0,A.LazyFileSpan0,A.__ParentSelectorVisitor_Object_SelectorSearchVisitor0,A.CssMediaQuery0,A.MediaQuerySuccessfulMergeResult0,A.__HasContentVisitor_Object_StatementSearchVisitor0,A.MultiSpan0,A.SupportsNegation0,A.NoSourceMapBuffer0,A._FakeAstNode0,A.__IsInvisibleVisitor_Object_EveryCssVisitor0,A.SupportsOperation0,A.Parameter0,A.ParameterList0,A.PlainCssCallable0,A.InterpolatedQualifiedName,A.QualifiedName0,A.ReplaceExpressionVisitor0,A.ImporterResult0,A.__IsInvisibleVisitor_Object_AnySelectorVisitor0,A.__IsBogusVisitor_Object_AnySelectorVisitor0,A.__IsUselessVisitor_Object_AnySelectorVisitor0,A.__ContainsParentSelectorVisitor_Object_AnySelectorVisitor0,A.SelectorSearchVisitor0,A._SerializeVisitor0,A.ShadowedModuleView0,A.JSSimpleSelectorVisitor,A.SourceInterpolationVisitor,A.SourceMapBuffer0,A.JSStatementVisitor,A.StatementSearchVisitor0,A.StaticImport0,A.UserDefinedCallable0,A.CssValue0]),x(w.Interceptor,[w.JSBool,w.JSNull,w.JavaScriptObject,w.JavaScriptBigInt,w.JavaScriptSymbol,w.JSNumber,w.JSString]),x(w.JavaScriptObject,[w.LegacyJavaScriptObject,w.JSArray,A.NativeByteBuffer,A.NativeTypedData]),x(w.LegacyJavaScriptObject,[w.PlainJavaScriptObject,w.UnknownJavaScriptObject,w.JavaScriptFunction,A.Stdin,A.Stdout,A.ReadlineModule,A.ReadlineOptions,A.ReadlineInterface,A.BufferModule,A.BufferConstants,A.Buffer,A.ConsoleModule,A.Console,A.EventEmitter,A.FS,A.FSConstants,A.Realpath,A.RealpathSync,A.FSWatcher,A.ReadStream,A.ReadStreamOptions,A.WriteStream,A.WriteStreamOptions,A.FileOptions,A.StatOptions,A.MkdirOptions,A.RmdirOptions,A.WatchOptions,A.WatchFileOptions,A.Stats,A.Promise,A.Date,A.JsError,A.Atomics,A.Modules,A.Module,A.Net,A.Socket,A.NetAddress,A.NetServer,A.NodeJsError,A.Process,A.CPUUsage,A.Release,A.StreamModule,A.Readable,A.Writable,A.Duplex,A.Transform,A.WritableOptions,A.ReadableOptions,A.Immediate,A.Timeout,A.TTY,A.Util,A.JSArray0,A.Chokidar,A.ChokidarOptions,A.ChokidarWatcher,A.JSFunction,A.ImmutableList,A.ImmutableMap,A.NodeImporterResult,A.RenderContext,A.RenderContextOptions,A.RenderContextResult,A.RenderContextResultStats,A.JSModule,A.JSModuleRequire,A.JSClass,A.JSUrl,A._PropertyDescriptor,A._RequireMain,A.JSArray1,A.Chokidar0,A.ChokidarOptions0,A.ChokidarWatcher0,A._Channels,A._ChannelOptions,A._ToGamutOptions,A._InterpolationOptions,A._NodeSassColor,A.CompileOptions,A.NodeCompileResult,A.Deprecation1,A.Exports,A.LoggerNamespace,A.JSExpressionVisitorObject,A.FiberClass,A.Fiber,A.JSFunction0,A.JSIfConditionExpressionVisitorObject,A.ImmutableList0,A.ImmutableMap0,A.JSImporter,A.JSImporterResult,A.NodeImporterResult0,A._ConstructorOptions,A._NodeSassList,A.JSLogger,A.WarnOptions,A.DebugOptions,A._NodeSassMap,A.JSModule0,A.JSModuleRequire0,A._ConstructorOptions0,A._NodeSassNumber,A.ParserExports,A.JSClass0,A.RenderContext0,A.RenderContextOptions0,A.RenderContextResult0,A.RenderContextResultStats0,A.RenderOptions,A.RenderResult,A.RenderResultStats,A._Exports,A.JSSet,A.JSSimpleSelectorVisitorObject,A.JSStatementVisitorObject,A._ConstructorOptions1,A._NodeSassString,A.Types,A.JSUrl0,A._PropertyDescriptor0,A._RequireMain0]),$(w.JSArraySafeToStringHook,A.SafeToStringHook),$(w.JSUnmodifiableArray,w.JSArray),x(w.JSNumber,[w.JSInt,w.JSNumNotInt]),x(A.Iterable,[A._CastIterableBase,A.EfficientLengthIterable,A.MappedIterable,A.WhereIterable,A.ExpandIterable,A.TakeIterable,A.SkipIterable,A.SkipWhileIterable,A.FollowedByIterable,A.WhereTypeIterable,A.NonNullsIterable,A._KeysOrValues,A._AllMatchesIterable,A._StringAllMatchesIterable,A._SyncStarIterable,A.Runes,A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin,A._PrefixedKeys,A._UnprefixedKeys,A._PrefixedKeys0,A._UnprefixedKeys0]),x(A._CastIterableBase,[A.CastIterable,A.__CastListBase__CastIterableBase_ListMixin,A.CastSet]),$(A._EfficientLengthCastIterable,A.CastIterable),$(A._CastListBase,A.__CastListBase__CastIterableBase_ListMixin),x(A.Closure,[A.Closure2Args,A.CastMap_entries_closure,A.Closure0Args,A.Instantiation,A.TearOffClosure,A.initHooks_closure,A.initHooks_closure1,A._AsyncRun__initializeScheduleImmediate_internalCallback,A._AsyncRun__initializeScheduleImmediate_closure,A._awaitOnObject_closure,A.Future_wait_closure,A._Future__propagateToListeners_handleWhenCompleteCallback_closure,A.Stream_Stream$fromFuture_closure,A.Stream_length_closure,A._CustomZone_bindUnaryCallback_closure,A._RootZone_bindUnaryCallback_closure,A._HashMap_values_closure,A._LinkedCustomHashMap_closure,A.MapBase_entries_closure,A._JsonMap_values_closure,A._Uri__makePath_closure,A.jsify__convert,A.promiseToFuture_closure,A.promiseToFuture_closure0,A.ArgParser__addOption_closure,A._Usage__writeOption_closure,A._Usage__buildAllowedList_closure,A.FutureGroup_add_closure,A.StreamGroup__onListen_closure,A.StreamGroup__onCancel_closure,A.StreamQueue__ensureListening_closure,A.alwaysValid_closure,A.ReplAdapter_runAsync__closure,A.UnionSet__iterable_closure,A.UnionSet_contains_closure,A.MapKeySet_difference_closure,A.promiseToFuture_closure1,A.promiseToFuture_closure2,A.futureToPromise__closure,A.Context_joinAll_closure,A.Context_split_closure,A._validateArgList_closure,A.ParsedPath__splitExtension_closure,A.PathMap__create_closure0,A.PathMap__create_closure1,A.WindowsStyle_absolutePathToUri_closure,A.Version__splitParts_closure,A.ModifiableCssNode_hasFollowingSibling_closure,A.ListExpression_toString_closure,A.Interpolation_toString_closure,A.ParameterList_verify_closure,A.ParameterList_verify_closure0,A.EachRule_toString_closure,A.IfRuleClause$__closure,A.IfRuleClause$___closure,A.ParentStatement_closure,A.ParentStatement__closure,A._IsBogusVisitor_visitComplexSelector_closure,A._IsUselessVisitor_visitComplexSelector_closure,A.ComplexSelectorComponent_toString_closure,A.CompoundSelector_hasComplicatedSuperselectorSemantics_closure,A.IDSelector_unify_closure,A.SelectorList_asSassList_closure,A.SelectorList_nestWithin_closure,A.SelectorList_nestWithin__closure,A.SelectorList_nestWithin__closure0,A.SelectorList__nestWithinCompound_closure,A.SelectorList__nestWithinCompound_closure0,A.SelectorList__nestWithinCompound_closure1,A.SelectorList_withAdditionalCombinators_closure,A.PseudoSelector_specificity__closure,A.PseudoSelector_specificity__closure0,A.PseudoSelector_unify_closure,A.SimpleSelector_isSuperselector_closure,A.SimpleSelector_isSuperselector__closure,A._compileStylesheet_closure0,A.AsyncEnvironment__getVariableFromGlobalModule_closure,A.AsyncEnvironment_setVariable_closure0,A.AsyncEnvironment__getFunctionFromGlobalModule_closure,A.AsyncEnvironment__getMixinFromGlobalModule_closure,A.AsyncEnvironment_toModule_closure,A.AsyncEnvironment_toDummyModule_closure,A._EnvironmentModule__EnvironmentModule_closure5,A._EnvironmentModule__EnvironmentModule_closure6,A._EnvironmentModule__EnvironmentModule_closure7,A._EnvironmentModule__EnvironmentModule_closure8,A._EnvironmentModule__EnvironmentModule_closure9,A._EnvironmentModule__EnvironmentModule_closure10,A._EnvironmentModule_couldHaveBeenConfigured_closure0,A.AsyncImportCache_humanize_closure,A.AsyncImportCache_humanize_closure0,A.AsyncImportCache_humanize_closure1,A.AsyncImportCache_humanize_closure2,A.AsyncBuiltInCallable$mixin_closure,A.AsyncBuiltInCallable_withDeprecationWarning_closure,A.BuiltInCallable$mixin_closure,A.BuiltInCallable_withDeprecationWarning_closure,A._compileStylesheet_closure,A.Deprecation_fromId_closure,A.Environment__getVariableFromGlobalModule_closure,A.Environment_setVariable_closure0,A.Environment__getFunctionFromGlobalModule_closure,A.Environment__getMixinFromGlobalModule_closure,A.Environment_toModule_closure,A.Environment_toDummyModule_closure,A._EnvironmentModule__EnvironmentModule_closure,A._EnvironmentModule__EnvironmentModule_closure0,A._EnvironmentModule__EnvironmentModule_closure1,A._EnvironmentModule__EnvironmentModule_closure2,A._EnvironmentModule__EnvironmentModule_closure3,A._EnvironmentModule__EnvironmentModule_closure4,A._EnvironmentModule_couldHaveBeenConfigured_closure,A._writeSourceMap_closure,A.ExecutableOptions_emitErrorCss_closure,A.repl_warn,A.watch_closure,A._Watcher__debounceEvents_closure,A.ExtensionStore_extensionsWhereTarget_closure,A.ExtensionStore__extendComplex_closure,A.ExtensionStore__extendComplex__closure,A.ExtensionStore__extendCompound_closure,A.ExtensionStore__extendCompound_closure0,A.ExtensionStore__extendCompound_closure1,A.ExtensionStore__extendSimple_withoutPseudo,A.ExtensionStore__extendSimple_closure,A.ExtensionStore__extendSimple_closure0,A.ExtensionStore__extendPseudo_closure,A.ExtensionStore__extendPseudo_closure0,A.ExtensionStore__extendPseudo_closure1,A.ExtensionStore__extendPseudo_closure2,A.ExtensionStore__extendPseudo_closure3,A.ExtensionStore__trim_closure,A.ExtensionStore__trim_closure0,A.unifyComplex_closure,A._weaveParents_closure0,A._weaveParents_closure1,A._weaveParents_closure2,A._mustUnify_closure,A._mustUnify__closure,A.paths__closure,A.paths___closure,A.listIsSuperselector_closure,A.listIsSuperselector__closure,A.complexIsSuperselector_closure,A.complexIsSuperselector_closure0,A._compatibleWithPreviousCombinator_closure,A.compoundIsSuperselector_closure,A._selectorPseudoIsSuperselector_closure,A._selectorPseudoIsSuperselector_closure0,A._selectorPseudoIsSuperselector_closure1,A._selectorPseudoIsSuperselector_closure2,A._selectorPseudoIsSuperselector_closure3,A._selectorPseudoIsSuperselector__closure,A._selectorPseudoIsSuperselector___closure,A._selectorPseudoIsSuperselector___closure0,A._selectorPseudoIsSuperselector_closure4,A._selectorPseudoIsSuperselector_closure5,A._selectorPseudoArgs_closure,A._selectorPseudoArgs_closure0,A.globalFunctions_closure,A.global_closure0,A.global_closure1,A.global_closure2,A.global_closure3,A.global_closure4,A.global_closure5,A.global_closure6,A.global_closure7,A.global_closure8,A.global_closure9,A.global_closure10,A.global_closure11,A.global_closure12,A.global_closure13,A.global_closure14,A.global_closure15,A.global_closure16,A.global_closure17,A.global_closure18,A.global_closure19,A.global_closure20,A.global_closure21,A.global_closure22,A.global_closure23,A.global_closure24,A.global_closure25,A.global_closure26,A.global_closure27,A.global_closure28,A.global_closure29,A.global_closure30,A.global_closure31,A.global_closure32,A.global_closure33,A.global_closure34,A.global_closure35,A.global__closure,A.global_closure36,A.global_closure37,A.global_closure38,A.global_closure39,A.global_closure40,A.global_closure41,A.global_closure42,A.module_closure1,A.module_closure2,A.module_closure3,A.module_closure4,A.module_closure5,A.module_closure6,A.module_closure7,A.module_closure8,A.module_closure9,A.module_closure10,A.module_closure11,A.module_closure12,A.module_closure13,A.module_closure14,A.module__closure2,A.module_closure15,A.module_closure16,A.module_closure17,A.module_closure18,A.module_closure19,A.module_closure20,A.module_closure21,A.module_closure22,A.module__closure1,A.module_closure23,A.module_closure_toXyzNoMissing,A.module_closure24,A._mix_closure,A._complement_closure,A._adjust_closure,A._scale_closure,A._change_closure,A._ieHexStr_closure,A._ieHexStr_closure_hexString,A._updateComponents_closure,A._updateComponents_closure0,A._adjustColor_closure,A._functionString_closure,A._removedColorFunction_closure,A._rgb_closure,A._hsl_closure,A._parseChannels_closure,A._parseChannels_closure0,A._colorFromChannels_closure,A._colorFromChannels_closure0,A._channelFromValue_closure,A._channelFunction_closure,A._suggestScaleAndAdjust_closure,A._length_closure0,A._nth_closure,A._setNth_closure,A._join_closure,A._append_closure0,A._zip_closure,A._zip__closure,A._zip__closure0,A._zip__closure1,A._index_closure0,A._separator_closure,A._isBracketed_closure,A._slash_closure,A._get_closure,A._set_closure,A._set__closure0,A._set_closure0,A._set__closure,A._merge_closure,A._merge_closure0,A._merge__closure,A._deepMerge_closure,A._deepRemove_closure,A._deepRemove__closure,A._remove_closure,A._remove_closure0,A._keys_closure,A._values_closure,A._hasKey_closure,A._modify_modifyNestedMap,A.global_closure,A.module_closure0,A._ceil_closure,A._clamp_closure,A._floor_closure,A._max_closure,A._min_closure,A._round_closure,A._hypot_closure,A._hypot__closure,A._log_closure,A._pow_closure,A._atan2_closure,A._compatible_closure,A._isUnitless_closure,A._unit_closure,A._percentage_closure,A._randomFunction_closure,A._div_closure,A._singleArgumentMathFunc_closure,A._numberFunction_closure,A._shared_closure,A._shared_closure0,A._shared_closure1,A._shared_closure2,A.moduleFunctions_closure,A.moduleFunctions_closure0,A.moduleFunctions__closure,A.moduleFunctions_closure1,A._nest_closure,A._nest__closure,A._append_closure,A._append__closure,A._append___closure,A._extend_closure,A._replace_closure,A._unify_closure,A._isSuperselector_closure,A._simpleSelectors_closure,A._simpleSelectors__closure,A._parse_closure,A.module_closure,A.module__closure,A.module__closure0,A._unquote_closure,A._quote_closure,A._length_closure,A._insert_closure,A._index_closure,A._slice_closure,A._toUpperCase_closure,A._toLowerCase_closure,A._uniqueId_closure,A.ImportCache_humanize_closure,A.ImportCache_humanize_closure0,A.ImportCache_humanize_closure1,A.ImportCache_humanize_closure2,A.FilesystemImporter_canonicalize_closure,A.NodePackageImporter__nodePackageExportsResolve_closure,A.NodePackageImporter__nodePackageExportsResolve_closure0,A.NodePackageImporter__nodePackageExportsResolve_closure1,A.NodePackageImporter__nodePackageExportsResolve_closure2,A.NodePackageImporter__nodePackageExportsResolve__closure,A.NodePackageImporter__nodePackageExportsResolve__closure0,A.NodePackageImporter__getMainExport_closure,A._exactlyOne_closure,A.InterpolationMap_mapException_closure,A._realCasePath_helper,A._realCasePath_helper__closure,A.readStdin_closure,A.readStdin_closure0,A.readStdin_closure1,A.readStdin_closure2,A.listDir__closure,A.listDir__closure0,A.listDir_closure_list,A.listDir__list_closure,A.watchDir_closure1,A.watchDir_closure2,A.watchDir_closure3,A.watchDir_closure4,A.DeprecationProcessingLogger_summarize_closure,A.DeprecationProcessingLogger_summarize_closure0,A._disallowedFunctionNames_closure,A.Parser_escape_closure,A.Parser_scanIdentChar_matches,A.SassParser_styleRuleSelector_closure,A.SassParser__peekIndentation_closure,A.SassParser__peekIndentation_closure0,A.SassParser__tryTrailingSemicolon_closure,A.StylesheetParser__declarationOrBuffer_closure1,A.StylesheetParser__expression_addSingleExpression,A.StylesheetParser__expression_addOperator,A.StylesheetParser__isHexColor_closure,A.StylesheetParser__unicodeRange_closure,A.StylesheetParser__unicodeRange_closure0,A.StylesheetParser_trySpecialFunction_closure,A.StylesheetGraph_modifiedSince_transitiveModificationTime,A.MapExtensions_get_pairs_closure,A._PrefixedKeys_iterator_closure,A.SourceMapBuffer_buildSourceMap_closure,A._UnprefixedKeys_iterator_closure,A._UnprefixedKeys_iterator_closure0,A.indent_closure,A.flattenVertically_closure,A.flattenVertically_closure0,A.SassCalculation__verifyLength_closure,A.SassColor$_forSpace_closure,A.HwbColorSpace_convert_toRgb,A.SassList_isBlank_closure,A.SassNumber__coerceOrConvertValue_closure,A.SassNumber__coerceOrConvertValue_closure1,A.SassNumber_multiplyUnits_closure,A.SassNumber_multiplyUnits_closure1,A.SassNumber__areAnyConvertible_closure,A.SassNumber__canonicalizeUnitList_closure,A.SassNumber_unitSuggestion_closure,A.SassNumber_unitSuggestion_closure0,A.SingleUnitSassNumber__coerceToUnit_closure,A.SingleUnitSassNumber__coerceValueToUnit_closure,A.SingleUnitSassNumber_multiplyUnits_closure,A.AnySelectorVisitor_visitComplexSelector_closure,A.AnySelectorVisitor_visitCompoundSelector_closure,A._EvaluateVisitor_closure12,A._EvaluateVisitor_closure13,A._EvaluateVisitor_closure14,A._EvaluateVisitor_closure15,A._EvaluateVisitor_closure16,A._EvaluateVisitor_closure17,A._EvaluateVisitor_closure18,A._EvaluateVisitor_closure19,A._EvaluateVisitor_closure20,A._EvaluateVisitor_closure21,A._EvaluateVisitor_closure22,A._EvaluateVisitor_closure23,A._EvaluateVisitor_closure24,A._EvaluateVisitor__loadModule__closure1,A._EvaluateVisitor__combineCss_closure1,A._EvaluateVisitor__combineCss_closure2,A._EvaluateVisitor__combineCss_visitModule0,A._EvaluateVisitor__extendModules_closure1,A._EvaluateVisitor__scopeForAtRoot_closure5,A._EvaluateVisitor__scopeForAtRoot_closure6,A._EvaluateVisitor__scopeForAtRoot_closure7,A._EvaluateVisitor__scopeForAtRoot_closure8,A._EvaluateVisitor__scopeForAtRoot_closure9,A._EvaluateVisitor__scopeForAtRoot_closure10,A._EvaluateVisitor_visitEachRule_closure2,A._EvaluateVisitor_visitEachRule_closure3,A._EvaluateVisitor_visitEachRule__closure0,A._EvaluateVisitor_visitEachRule___closure0,A._EvaluateVisitor_visitAtRule_closure3,A._EvaluateVisitor_visitAtRule_closure6,A._EvaluateVisitor_visitForRule__closure0,A._EvaluateVisitor_visitIfRule_closure0,A._EvaluateVisitor_visitIfRule___closure0,A._EvaluateVisitor__visitDynamicImport__closure3,A._EvaluateVisitor__visitDynamicImport__closure4,A._EvaluateVisitor__visitDynamicImport__closure5,A._EvaluateVisitor_visitIncludeRule_closure3,A._EvaluateVisitor_visitMediaRule_closure4,A._EvaluateVisitor_visitMediaRule_closure6,A._EvaluateVisitor_visitStyleRule_closure4,A._EvaluateVisitor_visitStyleRule_closure5,A._EvaluateVisitor__warnForBogusCombinators_closure0,A._EvaluateVisitor_visitSupportsRule_closure4,A._EvaluateVisitor_visitWhileRule__closure0,A._EvaluateVisitor__slash_recommendation0,A._EvaluateVisitor_visitIfExpression_closure0,A._EvaluateVisitor_visitIfConditionOperation_closure0,A._EvaluateVisitor_visitListExpression_closure0,A._EvaluateVisitor_visitFunctionExpression_closure3,A._EvaluateVisitor__visitCalculation_closure0,A._EvaluateVisitor__checkCalculationArguments_check0,A._EvaluateVisitor__visitCalculationExpression__closure0,A._EvaluateVisitor__runUserDefinedCallable____closure0,A._EvaluateVisitor__runBuiltInCallable_closure4,A._EvaluateVisitor__evaluateArguments_closure3,A._EvaluateVisitor__evaluateArguments_closure4,A._EvaluateVisitor__evaluateArguments_closure6,A._EvaluateVisitor__evaluateMacroArguments_closure3,A._EvaluateVisitor__evaluateMacroArguments_closure4,A._EvaluateVisitor__evaluateMacroArguments_closure6,A._EvaluateVisitor_visitCssAtRule_closure4,A._EvaluateVisitor_visitCssKeyframeBlock_closure2,A._EvaluateVisitor_visitCssMediaRule_closure4,A._EvaluateVisitor_visitCssMediaRule_closure6,A._EvaluateVisitor_visitCssStyleRule_closure1,A._EvaluateVisitor_visitCssSupportsRule_closure4,A._EvaluateVisitor__performInterpolationHelper_closure0,A._EvaluateVisitor__withoutSlash_recommendation0,A._EvaluateVisitor__stackFrame_closure0,A._ImportedCssVisitor_visitCssAtRule_closure0,A._ImportedCssVisitor_visitCssMediaRule_closure0,A._ImportedCssVisitor_visitCssStyleRule_closure0,A._ImportedCssVisitor_visitCssSupportsRule_closure0,A._EvaluateVisitor_closure,A._EvaluateVisitor_closure0,A._EvaluateVisitor_closure1,A._EvaluateVisitor_closure2,A._EvaluateVisitor_closure3,A._EvaluateVisitor_closure4,A._EvaluateVisitor_closure5,A._EvaluateVisitor_closure6,A._EvaluateVisitor_closure7,A._EvaluateVisitor_closure8,A._EvaluateVisitor_closure9,A._EvaluateVisitor_closure10,A._EvaluateVisitor_closure11,A._EvaluateVisitor__loadModule__closure,A._EvaluateVisitor__combineCss_closure,A._EvaluateVisitor__combineCss_closure0,A._EvaluateVisitor__combineCss_visitModule,A._EvaluateVisitor__extendModules_closure,A._EvaluateVisitor__scopeForAtRoot_closure,A._EvaluateVisitor__scopeForAtRoot_closure0,A._EvaluateVisitor__scopeForAtRoot_closure1,A._EvaluateVisitor__scopeForAtRoot_closure2,A._EvaluateVisitor__scopeForAtRoot_closure3,A._EvaluateVisitor__scopeForAtRoot_closure4,A._EvaluateVisitor_visitEachRule_closure,A._EvaluateVisitor_visitEachRule_closure0,A._EvaluateVisitor_visitEachRule__closure,A._EvaluateVisitor_visitEachRule___closure,A._EvaluateVisitor_visitAtRule_closure,A._EvaluateVisitor_visitAtRule_closure2,A._EvaluateVisitor_visitForRule__closure,A._EvaluateVisitor_visitIfRule_closure,A._EvaluateVisitor_visitIfRule___closure,A._EvaluateVisitor__visitDynamicImport__closure,A._EvaluateVisitor__visitDynamicImport__closure0,A._EvaluateVisitor__visitDynamicImport__closure1,A._EvaluateVisitor_visitIncludeRule_closure0,A._EvaluateVisitor_visitMediaRule_closure0,A._EvaluateVisitor_visitMediaRule_closure2,A._EvaluateVisitor_visitStyleRule_closure0,A._EvaluateVisitor_visitStyleRule_closure1,A._EvaluateVisitor__warnForBogusCombinators_closure,A._EvaluateVisitor_visitSupportsRule_closure1,A._EvaluateVisitor_visitWhileRule__closure,A._EvaluateVisitor__slash_recommendation,A._EvaluateVisitor_visitIfExpression_closure,A._EvaluateVisitor_visitIfConditionOperation_closure,A._EvaluateVisitor_visitListExpression_closure,A._EvaluateVisitor_visitFunctionExpression_closure0,A._EvaluateVisitor__visitCalculation_closure,A._EvaluateVisitor__checkCalculationArguments_check,A._EvaluateVisitor__visitCalculationExpression__closure,A._EvaluateVisitor__runUserDefinedCallable____closure,A._EvaluateVisitor__runBuiltInCallable_closure1,A._EvaluateVisitor__evaluateArguments_closure,A._EvaluateVisitor__evaluateArguments_closure0,A._EvaluateVisitor__evaluateArguments_closure2,A._EvaluateVisitor__evaluateMacroArguments_closure,A._EvaluateVisitor__evaluateMacroArguments_closure0,A._EvaluateVisitor__evaluateMacroArguments_closure2,A._EvaluateVisitor_visitCssAtRule_closure1,A._EvaluateVisitor_visitCssKeyframeBlock_closure0,A._EvaluateVisitor_visitCssMediaRule_closure0,A._EvaluateVisitor_visitCssMediaRule_closure2,A._EvaluateVisitor_visitCssStyleRule_closure,A._EvaluateVisitor_visitCssSupportsRule_closure1,A._EvaluateVisitor__performInterpolationHelper_closure,A._EvaluateVisitor__withoutSlash_recommendation,A._EvaluateVisitor__stackFrame_closure,A._ImportedCssVisitor_visitCssAtRule_closure,A._ImportedCssVisitor_visitCssMediaRule_closure,A._ImportedCssVisitor_visitCssStyleRule_closure,A._ImportedCssVisitor_visitCssSupportsRule_closure,A.EveryCssVisitor_visitCssAtRule_closure,A.EveryCssVisitor_visitCssKeyframeBlock_closure,A.EveryCssVisitor_visitCssMediaRule_closure,A.EveryCssVisitor_visitCssStyleRule_closure,A.EveryCssVisitor_visitCssStylesheet_closure,A.EveryCssVisitor_visitCssSupportsRule_closure,A.IsCalculationSafeVisitor_visitListExpression_closure,A.IsPlainCssVisitor_visitIfExpression_closure,A.IsPlainCssVisitor_visitListExpression_closure,A.IsPlainCssVisitor_visitIfConditionOperation_closure,A.IsPlainCssVisitor__visitArgumentList_closure,A.ReplaceExpressionVisitor_visitListExpression_closure,A.ReplaceExpressionVisitor_visitIfConditionOperation_closure,A.ReplaceExpressionVisitor_visitArgumentList_closure,A.ReplaceExpressionVisitor_visitInterpolation_closure,A.SelectorSearchVisitor_visitComplexSelector_closure,A.SelectorSearchVisitor_visitCompoundSelector_closure,A.serialize_closure,A._SerializeVisitor_visitList_closure,A._SerializeVisitor_visitList_closure0,A._SerializeVisitor_visitList_closure1,A._SerializeVisitor_visitMap_closure,A._SerializeVisitor_visitSelectorList_closure,A.StatementSearchVisitor_visitIfRule_closure,A.StatementSearchVisitor_visitIfRule__closure0,A.StatementSearchVisitor_visitIfRule_closure0,A.StatementSearchVisitor_visitIfRule__closure,A.StatementSearchVisitor_visitChildren_closure,A.SingleMapping_SingleMapping$fromEntries_closure1,A.SingleMapping_toJson_closure,A.Highlighter$__closure,A.Highlighter$___closure,A.Highlighter$__closure0,A.Highlighter__collateLines_closure,A.Highlighter__collateLines_closure1,A.Highlighter__collateLines__closure,A.Highlighter_highlight_closure,A.Chain_Chain$parse_closure,A.Chain_toTrace_closure,A.Chain_toString_closure0,A.Chain_toString__closure0,A.Chain_toString_closure,A.Chain_toString__closure,A.Trace__parseVM_closure,A.Trace$parseV8_closure,A.Trace$parseJSCore_closure,A.Trace$parseFirefox_closure,A.Trace$parseFriendly_closure,A.Trace_terse_closure,A.Trace_foldFrames_closure,A.Trace_foldFrames_closure0,A.Trace_toString_closure0,A.Trace_toString_closure,A.TransformByHandlers_transformByHandlers__closure,A.RateLimit__debounceAggregate_closure0,A.AnySelectorVisitor_visitComplexSelector_closure0,A.AnySelectorVisitor_visitCompoundSelector_closure0,A.argumentListClass__closure,A.argumentListClass__closure0,A.AsyncBuiltInCallable$mixin_closure0,A.AsyncBuiltInCallable_withDeprecationWarning_closure0,A._compileStylesheet_closure2,A.AsyncEnvironment__getVariableFromGlobalModule_closure0,A.AsyncEnvironment_setVariable_closure3,A.AsyncEnvironment__getFunctionFromGlobalModule_closure0,A.AsyncEnvironment__getMixinFromGlobalModule_closure0,A.AsyncEnvironment_toModule_closure0,A.AsyncEnvironment_toDummyModule_closure0,A._EnvironmentModule__EnvironmentModule_closure17,A._EnvironmentModule__EnvironmentModule_closure18,A._EnvironmentModule__EnvironmentModule_closure19,A._EnvironmentModule__EnvironmentModule_closure20,A._EnvironmentModule__EnvironmentModule_closure21,A._EnvironmentModule__EnvironmentModule_closure22,A._EnvironmentModule_couldHaveBeenConfigured_closure2,A._EvaluateVisitor_closure38,A._EvaluateVisitor_closure39,A._EvaluateVisitor_closure40,A._EvaluateVisitor_closure41,A._EvaluateVisitor_closure42,A._EvaluateVisitor_closure43,A._EvaluateVisitor_closure44,A._EvaluateVisitor_closure45,A._EvaluateVisitor_closure46,A._EvaluateVisitor_closure47,A._EvaluateVisitor_closure48,A._EvaluateVisitor_closure49,A._EvaluateVisitor_closure50,A._EvaluateVisitor__loadModule__closure5,A._EvaluateVisitor__combineCss_closure5,A._EvaluateVisitor__combineCss_closure6,A._EvaluateVisitor__combineCss_visitModule2,A._EvaluateVisitor__extendModules_closure5,A._EvaluateVisitor__scopeForAtRoot_closure17,A._EvaluateVisitor__scopeForAtRoot_closure18,A._EvaluateVisitor__scopeForAtRoot_closure19,A._EvaluateVisitor__scopeForAtRoot_closure20,A._EvaluateVisitor__scopeForAtRoot_closure21,A._EvaluateVisitor__scopeForAtRoot_closure22,A._EvaluateVisitor_visitEachRule_closure8,A._EvaluateVisitor_visitEachRule_closure9,A._EvaluateVisitor_visitEachRule__closure2,A._EvaluateVisitor_visitEachRule___closure2,A._EvaluateVisitor_visitAtRule_closure11,A._EvaluateVisitor_visitAtRule_closure14,A._EvaluateVisitor_visitForRule__closure2,A._EvaluateVisitor_visitIfRule_closure2,A._EvaluateVisitor_visitIfRule___closure2,A._EvaluateVisitor__visitDynamicImport__closure11,A._EvaluateVisitor__visitDynamicImport__closure12,A._EvaluateVisitor__visitDynamicImport__closure13,A._EvaluateVisitor_visitIncludeRule_closure9,A._EvaluateVisitor_visitMediaRule_closure12,A._EvaluateVisitor_visitMediaRule_closure14,A._EvaluateVisitor_visitStyleRule_closure12,A._EvaluateVisitor_visitStyleRule_closure13,A._EvaluateVisitor__warnForBogusCombinators_closure2,A._EvaluateVisitor_visitSupportsRule_closure10,A._EvaluateVisitor_visitWhileRule__closure2,A._EvaluateVisitor__slash_recommendation2,A._EvaluateVisitor_visitIfExpression_closure2,A._EvaluateVisitor_visitIfConditionOperation_closure2,A._EvaluateVisitor_visitListExpression_closure2,A._EvaluateVisitor_visitFunctionExpression_closure9,A._EvaluateVisitor__visitCalculation_closure2,A._EvaluateVisitor__checkCalculationArguments_check2,A._EvaluateVisitor__visitCalculationExpression__closure2,A._EvaluateVisitor__runUserDefinedCallable____closure2,A._EvaluateVisitor__runBuiltInCallable_closure10,A._EvaluateVisitor__evaluateArguments_closure11,A._EvaluateVisitor__evaluateArguments_closure12,A._EvaluateVisitor__evaluateArguments_closure14,A._EvaluateVisitor__evaluateMacroArguments_closure11,A._EvaluateVisitor__evaluateMacroArguments_closure12,A._EvaluateVisitor__evaluateMacroArguments_closure14,A._EvaluateVisitor_visitCssAtRule_closure10,A._EvaluateVisitor_visitCssKeyframeBlock_closure6,A._EvaluateVisitor_visitCssMediaRule_closure12,A._EvaluateVisitor_visitCssMediaRule_closure14,A._EvaluateVisitor_visitCssStyleRule_closure5,A._EvaluateVisitor_visitCssSupportsRule_closure10,A._EvaluateVisitor__performInterpolationHelper_closure2,A._EvaluateVisitor__withoutSlash_recommendation2,A._EvaluateVisitor__stackFrame_closure2,A._ImportedCssVisitor_visitCssAtRule_closure2,A._ImportedCssVisitor_visitCssMediaRule_closure2,A._ImportedCssVisitor_visitCssStyleRule_closure2,A._ImportedCssVisitor_visitCssSupportsRule_closure2,A.AsyncImportCache_humanize_closure3,A.AsyncImportCache_humanize_closure4,A.AsyncImportCache_humanize_closure5,A.AsyncImportCache_humanize_closure6,A.booleanClass__closure,A.legacyBooleanClass__closure,A.legacyBooleanClass__closure0,A.BuiltInCallable$mixin_closure0,A.BuiltInCallable_withDeprecationWarning_closure0,A.calculationClass__closure,A.calculationClass__closure0,A.calculationClass__closure1,A.calculationClass__closure2,A.calculationClass__closure3,A.calculationClass__closure4,A.calculationClass__closure5,A.calculationOperationClass__closure,A.calculationOperationClass___closure,A.calculationOperationClass__closure1,A.calculationOperationClass__closure2,A.calculationOperationClass__closure3,A.calculationOperationClass__closure4,A.calculationInterpolationClass__closure1,A.calculationInterpolationClass__closure2,A.SassCalculation__verifyLength_closure0,A.updateCanonicalizeContextPrototype_closure,A.updateCanonicalizeContextPrototype_closure0,A.global_closure44,A.global_closure45,A.global_closure46,A.global_closure47,A.global_closure48,A.global_closure49,A.global_closure50,A.global_closure51,A.global_closure52,A.global_closure53,A.global_closure54,A.global_closure55,A.global_closure56,A.global_closure57,A.global_closure58,A.global_closure59,A.global_closure60,A.global_closure61,A.global_closure62,A.global_closure63,A.global_closure64,A.global_closure65,A.global_closure66,A.global_closure67,A.global_closure68,A.global_closure69,A.global_closure70,A.global_closure71,A.global_closure72,A.global_closure73,A.global_closure74,A.global_closure75,A.global_closure76,A.global_closure77,A.global_closure78,A.global_closure79,A.global__closure0,A.global_closure80,A.global_closure81,A.global_closure82,A.global_closure83,A.global_closure84,A.global_closure85,A.global_closure86,A.module_closure27,A.module_closure28,A.module_closure29,A.module_closure30,A.module_closure31,A.module_closure32,A.module_closure33,A.module_closure34,A.module_closure35,A.module_closure36,A.module_closure37,A.module_closure38,A.module_closure39,A.module_closure40,A.module__closure6,A.module_closure41,A.module_closure42,A.module_closure43,A.module_closure44,A.module_closure45,A.module_closure46,A.module_closure47,A.module_closure48,A.module__closure5,A.module_closure49,A.module_closure_toXyzNoMissing0,A.module_closure50,A._mix_closure0,A._complement_closure0,A._adjust_closure0,A._scale_closure0,A._change_closure0,A._ieHexStr_closure0,A._ieHexStr_closure_hexString0,A._updateComponents_closure1,A._updateComponents_closure2,A._adjustColor_closure0,A._functionString_closure0,A._removedColorFunction_closure0,A._rgb_closure0,A._hsl_closure0,A._parseChannels_closure1,A._parseChannels_closure2,A._colorFromChannels_closure1,A._colorFromChannels_closure2,A._channelFromValue_closure0,A._channelFunction_closure0,A._suggestScaleAndAdjust_closure0,A.colorClass__closure1,A.colorClass__closure3,A.colorClass__closure5,A.colorClass__closure7,A.colorClass___closure,A.colorClass__closure_changedValue,A.colorClass__closure9,A.colorClass__closure10,A.colorClass__closure11,A.colorClass__closure12,A.colorClass__closure13,A.colorClass__closure14,A.colorClass__closure15,A.colorClass__closure16,A.colorClass__closure17,A.colorClass__closure18,A.colorClass__closure19,A.colorClass__closure20,A.colorClass__closure21,A.colorClass__closure22,A.legacyColorClass_closure,A.legacyColorClass__closure,A.legacyColorClass_closure0,A.legacyColorClass_closure1,A.legacyColorClass_closure2,A.legacyColorClass_closure3,A.SassColor$_forSpace_closure0,A.compileAsync__closure,A.compileStringAsync__closure,A.compileStringAsync__closure0,A._wrapAsyncSassExceptions_closure,A._parseFunctions__closure2,A._parseFunctions__closure3,A.nodePackageImporterClass__closure,A._compileStylesheet_closure1,A.AsyncCompiler_addCompilation_closure,A.compilerClass__closure,A.compilerClass__closure0,A.compilerClass__closure1,A.compilerClass__closure2,A.asyncCompilerClass__closure,A.asyncCompilerClass__closure0,A.asyncCompilerClass__closure1,A.asyncCompilerClass__closure2,A.ComplexSelectorComponent_toString_closure0,A.CompoundSelector_hasComplicatedSuperselectorSemantics_closure0,A._disallowedFunctionNames_closure0,A.Deprecation_fromId_closure0,A.DeprecationProcessingLogger_summarize_closure1,A.DeprecationProcessingLogger_summarize_closure2,A.versionClass__closure,A.versionClass__closure0,A.EachRule_toString_closure0,A.Environment__getVariableFromGlobalModule_closure0,A.Environment_setVariable_closure3,A.Environment__getFunctionFromGlobalModule_closure0,A.Environment__getMixinFromGlobalModule_closure0,A.Environment_toModule_closure0,A.Environment_toDummyModule_closure0,A._EnvironmentModule__EnvironmentModule_closure11,A._EnvironmentModule__EnvironmentModule_closure12,A._EnvironmentModule__EnvironmentModule_closure13,A._EnvironmentModule__EnvironmentModule_closure14,A._EnvironmentModule__EnvironmentModule_closure15,A._EnvironmentModule__EnvironmentModule_closure16,A._EnvironmentModule_couldHaveBeenConfigured_closure1,A._EvaluateVisitor_closure25,A._EvaluateVisitor_closure26,A._EvaluateVisitor_closure27,A._EvaluateVisitor_closure28,A._EvaluateVisitor_closure29,A._EvaluateVisitor_closure30,A._EvaluateVisitor_closure31,A._EvaluateVisitor_closure32,A._EvaluateVisitor_closure33,A._EvaluateVisitor_closure34,A._EvaluateVisitor_closure35,A._EvaluateVisitor_closure36,A._EvaluateVisitor_closure37,A._EvaluateVisitor__loadModule__closure3,A._EvaluateVisitor__combineCss_closure3,A._EvaluateVisitor__combineCss_closure4,A._EvaluateVisitor__combineCss_visitModule1,A._EvaluateVisitor__extendModules_closure3,A._EvaluateVisitor__scopeForAtRoot_closure11,A._EvaluateVisitor__scopeForAtRoot_closure12,A._EvaluateVisitor__scopeForAtRoot_closure13,A._EvaluateVisitor__scopeForAtRoot_closure14,A._EvaluateVisitor__scopeForAtRoot_closure15,A._EvaluateVisitor__scopeForAtRoot_closure16,A._EvaluateVisitor_visitEachRule_closure5,A._EvaluateVisitor_visitEachRule_closure6,A._EvaluateVisitor_visitEachRule__closure1,A._EvaluateVisitor_visitEachRule___closure1,A._EvaluateVisitor_visitAtRule_closure7,A._EvaluateVisitor_visitAtRule_closure10,A._EvaluateVisitor_visitForRule__closure1,A._EvaluateVisitor_visitIfRule_closure1,A._EvaluateVisitor_visitIfRule___closure1,A._EvaluateVisitor__visitDynamicImport__closure7,A._EvaluateVisitor__visitDynamicImport__closure8,A._EvaluateVisitor__visitDynamicImport__closure9,A._EvaluateVisitor_visitIncludeRule_closure6,A._EvaluateVisitor_visitMediaRule_closure8,A._EvaluateVisitor_visitMediaRule_closure10,A._EvaluateVisitor_visitStyleRule_closure8,A._EvaluateVisitor_visitStyleRule_closure9,A._EvaluateVisitor__warnForBogusCombinators_closure1,A._EvaluateVisitor_visitSupportsRule_closure7,A._EvaluateVisitor_visitWhileRule__closure1,A._EvaluateVisitor__slash_recommendation1,A._EvaluateVisitor_visitIfExpression_closure1,A._EvaluateVisitor_visitIfConditionOperation_closure1,A._EvaluateVisitor_visitListExpression_closure1,A._EvaluateVisitor_visitFunctionExpression_closure6,A._EvaluateVisitor__visitCalculation_closure1,A._EvaluateVisitor__checkCalculationArguments_check1,A._EvaluateVisitor__visitCalculationExpression__closure1,A._EvaluateVisitor__runUserDefinedCallable____closure1,A._EvaluateVisitor__runBuiltInCallable_closure7,A._EvaluateVisitor__evaluateArguments_closure7,A._EvaluateVisitor__evaluateArguments_closure8,A._EvaluateVisitor__evaluateArguments_closure10,A._EvaluateVisitor__evaluateMacroArguments_closure7,A._EvaluateVisitor__evaluateMacroArguments_closure8,A._EvaluateVisitor__evaluateMacroArguments_closure10,A._EvaluateVisitor_visitCssAtRule_closure7,A._EvaluateVisitor_visitCssKeyframeBlock_closure4,A._EvaluateVisitor_visitCssMediaRule_closure8,A._EvaluateVisitor_visitCssMediaRule_closure10,A._EvaluateVisitor_visitCssStyleRule_closure3,A._EvaluateVisitor_visitCssSupportsRule_closure7,A._EvaluateVisitor__performInterpolationHelper_closure1,A._EvaluateVisitor__withoutSlash_recommendation1,A._EvaluateVisitor__stackFrame_closure1,A._ImportedCssVisitor_visitCssAtRule_closure1,A._ImportedCssVisitor_visitCssMediaRule_closure1,A._ImportedCssVisitor_visitCssStyleRule_closure1,A._ImportedCssVisitor_visitCssSupportsRule_closure1,A.EveryCssVisitor_visitCssAtRule_closure0,A.EveryCssVisitor_visitCssKeyframeBlock_closure0,A.EveryCssVisitor_visitCssMediaRule_closure0,A.EveryCssVisitor_visitCssStyleRule_closure0,A.EveryCssVisitor_visitCssStylesheet_closure0,A.EveryCssVisitor_visitCssSupportsRule_closure0,A.exceptionClass__closure,A.exceptionClass__closure0,A.exceptionClass__closure1,A.ExtensionStore_extensionsWhereTarget_closure0,A.ExtensionStore__extendComplex_closure0,A.ExtensionStore__extendComplex__closure0,A.ExtensionStore__extendCompound_closure2,A.ExtensionStore__extendCompound_closure3,A.ExtensionStore__extendCompound_closure4,A.ExtensionStore__extendSimple_withoutPseudo0,A.ExtensionStore__extendSimple_closure1,A.ExtensionStore__extendSimple_closure2,A.ExtensionStore__extendPseudo_closure4,A.ExtensionStore__extendPseudo_closure5,A.ExtensionStore__extendPseudo_closure6,A.ExtensionStore__extendPseudo_closure7,A.ExtensionStore__extendPseudo_closure8,A.ExtensionStore__trim_closure1,A.ExtensionStore__trim_closure2,A.FilesystemImporter_canonicalize_closure0,A.functionClass__closure,A.functionClass__closure0,A.unifyComplex_closure0,A._weaveParents_closure4,A._weaveParents_closure5,A._weaveParents_closure6,A._mustUnify_closure0,A._mustUnify__closure0,A.paths__closure0,A.paths___closure0,A.listIsSuperselector_closure0,A.listIsSuperselector__closure0,A.complexIsSuperselector_closure1,A.complexIsSuperselector_closure2,A._compatibleWithPreviousCombinator_closure0,A.compoundIsSuperselector_closure0,A._selectorPseudoIsSuperselector_closure6,A._selectorPseudoIsSuperselector_closure7,A._selectorPseudoIsSuperselector_closure8,A._selectorPseudoIsSuperselector_closure9,A._selectorPseudoIsSuperselector_closure10,A._selectorPseudoIsSuperselector__closure0,A._selectorPseudoIsSuperselector___closure1,A._selectorPseudoIsSuperselector___closure2,A._selectorPseudoIsSuperselector_closure11,A._selectorPseudoIsSuperselector_closure12,A._selectorPseudoArgs_closure1,A._selectorPseudoArgs_closure2,A.globalFunctions_closure0,A.HwbColorSpace_convert_toRgb0,A.IDSelector_unify_closure0,A.IfRuleClause$__closure0,A.IfRuleClause$___closure0,A.immutableMapToDartMap_closure,A.NodeImporter__tryPath_closure0,A.ImportCache_humanize_closure3,A.ImportCache_humanize_closure4,A.ImportCache_humanize_closure5,A.ImportCache_humanize_closure6,A.Interpolation_toString_closure0,A.InterpolationMap_mapException_closure0,A._realCasePath_helper0,A._realCasePath_helper__closure0,A.IsCalculationSafeVisitor_visitListExpression_closure0,A.IsPlainCssVisitor_visitIfExpression_closure0,A.IsPlainCssVisitor_visitListExpression_closure0,A.IsPlainCssVisitor_visitIfConditionOperation_closure0,A.IsPlainCssVisitor__visitArgumentList_closure0,A.listDir__closure1,A.listDir__closure2,A.listDir_closure_list0,A.listDir__list_closure0,A.render_closure0,A._parseFunctions__closure,A._parseFunctions___closure2,A._parseFunctions__closure0,A._parseFunctions__closure1,A._parseFunctions___closure,A._parseImporter_closure,A._parseImporter__closure,A._parseImporter___closure,A.ListExpression_toString_closure0,A._length_closure2,A._nth_closure0,A._setNth_closure0,A._join_closure0,A._append_closure2,A._zip_closure0,A._zip__closure2,A._zip__closure3,A._zip__closure4,A._index_closure2,A._separator_closure0,A._isBracketed_closure0,A._slash_closure0,A.SelectorList_asSassList_closure0,A.SelectorList_nestWithin_closure0,A.SelectorList_nestWithin__closure1,A.SelectorList_nestWithin__closure2,A.SelectorList__nestWithinCompound_closure2,A.SelectorList__nestWithinCompound_closure3,A.SelectorList__nestWithinCompound_closure4,A.SelectorList_withAdditionalCombinators_closure0,A.listClass__closure,A.legacyListClass_closure,A.legacyListClass__closure,A.legacyListClass_closure1,A.legacyListClass_closure2,A.legacyListClass_closure4,A.SassList_isBlank_closure0,A._get_closure0,A._set_closure1,A._set__closure2,A._set_closure2,A._set__closure1,A._merge_closure1,A._merge_closure2,A._merge__closure0,A._deepMerge_closure0,A._deepRemove_closure0,A._deepRemove__closure0,A._remove_closure1,A._remove_closure2,A._keys_closure0,A._values_closure0,A._hasKey_closure0,A._modify_modifyNestedMap0,A.MapExtensions_get_pairs_closure0,A.mapClass__closure,A.mapClass__closure0,A.legacyMapClass_closure,A.legacyMapClass__closure,A.legacyMapClass__closure0,A.legacyMapClass_closure2,A.legacyMapClass_closure3,A.legacyMapClass_closure4,A.global_closure43,A.module_closure26,A._ceil_closure0,A._clamp_closure0,A._floor_closure0,A._max_closure0,A._min_closure0,A._round_closure0,A._hypot_closure0,A._hypot__closure0,A._log_closure0,A._pow_closure0,A._atan2_closure0,A._compatible_closure0,A._isUnitless_closure0,A._unit_closure0,A._percentage_closure0,A._randomFunction_closure0,A._div_closure0,A._singleArgumentMathFunc_closure0,A._numberFunction_closure0,A._shared_closure3,A._shared_closure4,A._shared_closure5,A._shared_closure6,A.moduleFunctions_closure2,A.moduleFunctions_closure3,A.moduleFunctions__closure0,A.moduleFunctions_closure4,A.mixinClass__closure,A.mixinClass__closure0,A.ModifiableCssNode_hasFollowingSibling_closure0,A.NodePackageImporter__nodePackageExportsResolve_closure3,A.NodePackageImporter__nodePackageExportsResolve_closure4,A.NodePackageImporter__nodePackageExportsResolve_closure5,A.NodePackageImporter__nodePackageExportsResolve_closure6,A.NodePackageImporter__nodePackageExportsResolve__closure1,A.NodePackageImporter__nodePackageExportsResolve__closure2,A.NodePackageImporter__getMainExport_closure0,A.legacyNullClass__closure,A.numberClass__closure,A.numberClass__closure0,A.numberClass__closure1,A.numberClass__closure2,A.numberClass__closure3,A.numberClass__closure4,A.numberClass__closure5,A.numberClass__closure6,A.numberClass__closure7,A.numberClass__closure8,A.numberClass__closure9,A.numberClass__closure12,A.numberClass__closure13,A.numberClass__closure14,A.numberClass__closure15,A.numberClass__closure16,A.numberClass__closure17,A.numberClass__closure18,A.numberClass__closure19,A.legacyNumberClass_closure,A.legacyNumberClass_closure0,A.legacyNumberClass_closure2,A._parseNumber_closure,A._parseNumber_closure0,A.SassNumber__coerceOrConvertValue_closure3,A.SassNumber__coerceOrConvertValue_closure5,A.SassNumber_multiplyUnits_closure3,A.SassNumber_multiplyUnits_closure5,A.SassNumber__areAnyConvertible_closure0,A.SassNumber__canonicalizeUnitList_closure0,A.SassNumber_unitSuggestion_closure1,A.SassNumber_unitSuggestion_closure2,A.ParameterList_verify_closure1,A.ParameterList_verify_closure2,A.ParentStatement_closure0,A.ParentStatement__closure0,A.loadParserExports_closure,A.loadParserExports_closure0,A.loadParserExports_closure1,A.loadParserExports_closure2,A.loadParserExports_closure3,A.loadParserExports_closure4,A._updateLazyFileSpanPrototype_closure0,A._updateLazyFileSpanPrototype_closure1,A._updateLazyFileSpanPrototype_closure2,A._updateAstPrototypes_closure,A._updateAstPrototypes_closure0,A._updateAstPrototypes_closure1,A._updateAstPrototypes_closure2,A._updateAstPrototypes_closure7,A._updateAstPrototypes_closure8,A._updateAstPrototypes_closure9,A._updateAstPrototypes_closure10,A._updateAstPrototypes_closure11,A._updateAstPrototypes_closure12,A._updateAstPrototypes_closure13,A._addSupportsConditionToInterpolation_closure,A.Parser_escape_closure0,A.Parser_scanIdentChar_matches0,A._PrefixedKeys_iterator_closure0,A.PseudoSelector_specificity__closure1,A.PseudoSelector_specificity__closure2,A.PseudoSelector_unify_closure0,A.JSClassExtension_setCustomInspect_closure,A.ReplaceExpressionVisitor_visitListExpression_closure0,A.ReplaceExpressionVisitor_visitIfConditionOperation_closure0,A.ReplaceExpressionVisitor_visitArgumentList_closure0,A.ReplaceExpressionVisitor_visitInterpolation_closure0,A.SassParser_styleRuleSelector_closure0,A.SassParser__peekIndentation_closure1,A.SassParser__peekIndentation_closure2,A.SassParser__tryTrailingSemicolon_closure0,A._wrapMain_closure,A._wrapMain_closure0,A._IsBogusVisitor_visitComplexSelector_closure0,A._IsUselessVisitor_visitComplexSelector_closure0,A._nest_closure0,A._nest__closure1,A._append_closure1,A._append__closure1,A._append___closure0,A._extend_closure0,A._replace_closure0,A._unify_closure0,A._isSuperselector_closure0,A._simpleSelectors_closure0,A._simpleSelectors__closure0,A._parse_closure0,A.SelectorSearchVisitor_visitComplexSelector_closure0,A.SelectorSearchVisitor_visitCompoundSelector_closure0,A.serialize_closure0,A._SerializeVisitor_visitList_closure2,A._SerializeVisitor_visitList_closure3,A._SerializeVisitor_visitList_closure4,A._SerializeVisitor_visitMap_closure0,A._SerializeVisitor_visitSelectorList_closure0,A.SimpleSelector_isSuperselector_closure0,A.SimpleSelector_isSuperselector__closure0,A.SingleUnitSassNumber__coerceToUnit_closure0,A.SingleUnitSassNumber__coerceValueToUnit_closure0,A.SingleUnitSassNumber_multiplyUnits_closure1,A.SourceInterpolationVisitor__visitArguments_closure,A.SourceInterpolationVisitor_visitIfConditionOperation_closure,A.SourceInterpolationVisitor_visitListExpression_closure,A.SourceMapBuffer_buildSourceMap_closure0,A.updateSourceSpanPrototype_closure0,A.updateSourceSpanPrototype_closure1,A.updateSourceSpanPrototype_closure2,A.updateSourceSpanPrototype__closure,A.updateSourceSpanPrototype_closure3,A.updateSourceSpanPrototype_closure4,A.updateSourceSpanPrototype_closure5,A.updateSourceSpanPrototype_closure6,A.StatementSearchVisitor_visitIfRule_closure1,A.StatementSearchVisitor_visitIfRule__closure2,A.StatementSearchVisitor_visitIfRule_closure2,A.StatementSearchVisitor_visitIfRule__closure1,A.StatementSearchVisitor_visitChildren_closure0,A.module_closure25,A.module__closure3,A.module__closure4,A._unquote_closure0,A._quote_closure0,A._length_closure1,A._insert_closure0,A._index_closure1,A._slice_closure0,A._toUpperCase_closure0,A._toLowerCase_closure0,A._uniqueId_closure0,A.StringExtension_toCssIdentifier_writeEscape,A.StringExtension_toCssIdentifier_consumeSurrogatePair,A.stringClass__closure,A.stringClass__closure0,A.stringClass__closure1,A.stringClass__closure2,A.stringClass__closure3,A.legacyStringClass_closure,A.legacyStringClass_closure0,A.StylesheetParser__declarationOrBuffer_closure5,A.StylesheetParser__expression_addSingleExpression0,A.StylesheetParser__expression_addOperator0,A.StylesheetParser__isHexColor_closure0,A.StylesheetParser__unicodeRange_closure1,A.StylesheetParser__unicodeRange_closure2,A.StylesheetParser_trySpecialFunction_closure0,A._UnprefixedKeys_iterator_closure1,A._UnprefixedKeys_iterator_closure2,A._exactlyOne_closure0,A.futureToPromise__closure0,A.indent_closure0,A.flattenVertically_closure1,A.flattenVertically_closure2,A.valueClass__closure,A.valueClass__closure0,A.valueClass__closure1,A.valueClass__closure2,A.valueClass__closure3,A.valueClass__closure4,A.valueClass__closure5,A.valueClass__closure7,A.valueClass__closure8,A.valueClass__closure9,A.valueClass__closure10,A.valueClass__closure11,A.valueClass__closure12,A.valueClass__closure13,A.valueClass__closure14,A.valueClass__closure15,A.valueClass__closure17,A.valueClass__closure18]),x(A.Closure2Args,[A._CastListBase_sort_closure,A.CastMap_forEach_closure,A.Primitives_functionNoSuchMethod_closure,A.JsLinkedHashMap_addAll_closure,A.initHooks_closure0,A._awaitOnObject_closure0,A._wrapJsFunctionForAsync_closure,A.Future_wait_handleError,A._Future__propagateToListeners_handleWhenCompleteCallback_closure0,A.Stream_Stream$fromFuture_closure0,A._AddStreamState_makeErrorHandler_closure,A._HashMap_addAll_closure,A.HashMap_HashMap$from_closure,A.LinkedHashMap_LinkedHashMap$from_closure,A.MapBase_addAll_closure,A.MapBase_mapToString_closure,A._JsonMap_addAll_closure,A._JsonStringifier_writeMap_closure,A.NoSuchMethodError_toString_closure,A.Uri_parseIPv6Address_error,A.Parser_parse_closure,A.FutureGroup_add_closure0,A.StreamQueue__ensureListening_closure1,A.futureToPromise_closure,A.PathMap__create_closure,A.IfRule_toString_closure,A.ComplexSelector_specificity_closure,A.CompoundSelector_specificity_closure,A.ExtensionStore_clone_closure,A._weaveParents_closure,A.paths_closure,A._nest__closure0,A._append__closure0,A.watchDir_closure0,A.ParcelWatcher_subscribe_closure,A.StylesheetParser__styleRule_closure,A.StylesheetParser__withStyleRuleChildren_closure,A.StylesheetParser__tryDeclarationChildren_closure,A.StylesheetParser__atRootRule_closure,A.StylesheetParser__atRootRule_closure0,A.StylesheetParser__eachRule_closure,A.StylesheetParser__functionRule_closure,A.StylesheetParser__forRule_closure0,A.StylesheetParser__includeRule_closure,A.StylesheetParser_mediaRule_closure,A.StylesheetParser__mixinRule_closure,A.StylesheetParser_mozDocumentRule_closure0,A.StylesheetParser_supportsRule_closure,A.StylesheetParser__whileRule_closure,A.StylesheetParser_unknownAtRule_closure,A.longestCommonSubsequence_backtrack,A.mapAddAll2_closure,A.SassNumber_plus_closure,A.SassNumber_minus_closure,A.SassNumber__canonicalMultiplier_closure,A._EvaluateVisitor__closure3,A._EvaluateVisitor__closure4,A._EvaluateVisitor_visitForwardRule_closure1,A._EvaluateVisitor_visitForwardRule_closure2,A._EvaluateVisitor_visitUseRule_closure0,A._EvaluateVisitor__evaluateArguments_closure5,A._EvaluateVisitor__evaluateMacroArguments_closure5,A._EvaluateVisitor__addRestMap_closure0,A._EvaluateVisitor__closure,A._EvaluateVisitor__closure0,A._EvaluateVisitor_visitForwardRule_closure,A._EvaluateVisitor_visitForwardRule_closure0,A._EvaluateVisitor_visitUseRule_closure,A._EvaluateVisitor__evaluateArguments_closure1,A._EvaluateVisitor__evaluateMacroArguments_closure1,A._EvaluateVisitor__addRestMap_closure,A.SingleMapping_toJson_closure0,A.Highlighter__collateLines_closure0,A.Frame_Frame$parseV8_closure_parseJsLocation,A.TransformByHandlers_transformByHandlers__closure1,A.RateLimit__debounceAggregate_closure,A._EvaluateVisitor__closure11,A._EvaluateVisitor__closure12,A._EvaluateVisitor_visitForwardRule_closure5,A._EvaluateVisitor_visitForwardRule_closure6,A._EvaluateVisitor_visitUseRule_closure2,A._EvaluateVisitor__evaluateArguments_closure13,A._EvaluateVisitor__evaluateMacroArguments_closure13,A._EvaluateVisitor__addRestMap_closure2,A.calculationOperationClass__closure0,A.calculationInterpolationClass__closure,A.calculationInterpolationClass__closure0,A.colorClass__closure,A.colorClass__closure0,A.colorClass__closure2,A.colorClass__closure4,A.colorClass__closure6,A.colorClass__closure8,A.legacyColorClass_closure4,A.legacyColorClass_closure5,A.legacyColorClass_closure6,A.legacyColorClass_closure7,A._parseFunctions_closure0,A.ComplexSelector_specificity_closure0,A.CompoundSelector_specificity_closure0,A._EvaluateVisitor__closure7,A._EvaluateVisitor__closure8,A._EvaluateVisitor_visitForwardRule_closure3,A._EvaluateVisitor_visitForwardRule_closure4,A._EvaluateVisitor_visitUseRule_closure1,A._EvaluateVisitor__evaluateArguments_closure9,A._EvaluateVisitor__evaluateMacroArguments_closure9,A._EvaluateVisitor__addRestMap_closure1,A.ExtensionStore_clone_closure0,A._weaveParents_closure3,A.paths_closure0,A.IfRule_toString_closure0,A.main_closure,A.main_closure0,A.render_closure1,A._parseFunctions_closure,A.listClass__closure0,A.legacyListClass_closure0,A.legacyListClass_closure3,A.mapClass__closure1,A.legacyMapClass_closure0,A.legacyMapClass_closure1,A.numberClass__closure10,A.numberClass__closure11,A.legacyNumberClass_closure1,A.legacyNumberClass_closure3,A.SassNumber_plus_closure0,A.SassNumber_minus_closure0,A.SassNumber__canonicalMultiplier_closure0,A._updateAstPrototypes_closure3,A._updateAstPrototypes_closure4,A._updateAstPrototypes_closure5,A._updateAstPrototypes_closure6,A.JSClassExtension_get_defineStaticMethod_closure,A.JSClassExtension_get_defineMethod_closure,A.JSClassExtension_get_defineGetter_closure,A._nest__closure2,A._append__closure2,A.legacyStringClass_closure1,A.StylesheetParser__styleRule_closure0,A.StylesheetParser__styleRule_closure1,A.StylesheetParser__withStyleRuleChildren_closure0,A.StylesheetParser__tryDeclarationChildren_closure0,A.StylesheetParser__atRootRule_closure1,A.StylesheetParser__atRootRule_closure2,A.StylesheetParser__eachRule_closure0,A.StylesheetParser__functionRule_closure0,A.StylesheetParser__forRule_closure2,A.StylesheetParser__includeRule_closure0,A.StylesheetParser_mediaRule_closure0,A.StylesheetParser__mixinRule_closure0,A.StylesheetParser_mozDocumentRule_closure2,A.StylesheetParser_supportsRule_closure0,A.StylesheetParser__whileRule_closure0,A.StylesheetParser_unknownAtRule_closure0,A.futureToPromise_closure0,A.futureToPromise__closure1,A.objectToMap_closure,A.longestCommonSubsequence_backtrack0,A.mapAddAll2_closure0,A.valueClass__closure6,A.valueClass__closure16]),$(A.CastList,A._CastListBase),x(A.MapBase,[A.CastMap,A.JsLinkedHashMap,A._HashMap,A.UnmodifiableMapBase,A._JsonMap,A.MergedMapView,A.MergedMapView0]),x(A.Error,[A.LateError,A.TypeError,A.JsNoSuchMethodError,A.UnknownJsTypeError,A.RuntimeError,A._Error,A.JsonUnsupportedObjectError,A.AssertionError,A.ArgumentError,A.NoSuchMethodError,A.UnsupportedError,A.UnimplementedError,A.StateError,A.ConcurrentModificationError]),$(A.UnmodifiableListBase,A.ListBase),x(A.UnmodifiableListBase,[A.CodeUnits,A.UnmodifiableListView]),x(A.Closure0Args,[A.nullFuture_closure,A._AsyncRun__scheduleImmediateJsOverride_internalCallback,A._AsyncRun__scheduleImmediateWithSetImmediate_internalCallback,A._TimerImpl_internalCallback,A._TimerImpl$periodic_closure,A._Future__addListener_closure,A._Future__prependListeners_closure,A._Future__chainCoreFuture_closure,A._Future__asyncCompleteWithValue_closure,A._Future__asyncCompleteErrorObject_closure,A._Future__propagateToListeners_handleWhenCompleteCallback,A._Future__propagateToListeners_handleValueCallback,A._Future__propagateToListeners_handleError,A.Stream_length_closure0,A._StreamController__subscribe_closure,A._StreamController__recordCancel_complete,A._AddStreamState_cancel_closure,A._BufferingStreamSubscription__sendError_sendError,A._BufferingStreamSubscription__sendDone_sendDone,A._PendingEvents_schedule_closure,A._CustomZone_bindCallback_closure,A._CustomZone_bindCallbackGuarded_closure,A._RootZone_bindCallback_closure,A._RootZone_bindCallbackGuarded_closure,A._rootHandleError_closure,A._Utf8Decoder__decoder_closure,A._Utf8Decoder__decoderNonfatal_closure,A.Parser__setOption_closure,A.StreamGroup_add_closure,A.StreamGroup_add_closure0,A.StreamGroup__listenToStream_closure,A.StreamQueue__ensureListening_closure0,A._isStrictMode_closure,A.ReplAdapter_runAsync_closure,A.ParsedPath__splitExtension_closure0,A.IfConditionOperation_toInterpolation_closure,A.PseudoSelector_specificity_closure,A.AsyncEnvironment_setVariable_closure,A.AsyncEnvironment_setVariable_closure1,A.AsyncImportCache_canonicalize_closure,A.AsyncImportCache__canonicalize_closure,A.AsyncImportCache_importCanonical_closure,A.Environment_setVariable_closure,A.Environment_setVariable_closure1,A.ExecutableOptions__parser_closure,A.ExecutableOptions_interactive_closure,A.ExecutableOptions_fatalDeprecations_closure,A.ExtensionStore__registerSelector_closure,A.ExtensionStore_addExtension_closure,A.ExtensionStore_addExtension_closure0,A.ExtensionStore_addExtension_closure1,A.ExtensionStore__extendExistingExtensions_closure,A.ExtensionStore__extendExistingExtensions_closure0,A.ExtensionStore_addExtensions_closure,A.ExtensionStore_clone__closure,A._changeColor_closure,A.ImportCache_canonicalize_closure,A.ImportCache__canonicalize_closure,A.ImportCache_importCanonical_closure,A.resolveImportPath_closure,A.resolveImportPath_closure0,A._tryPathAsDirectory_closure,A._realCasePath_helper_closure,A._readFile_closure,A.writeFile_closure,A.deleteFile_closure,A.fileExists_closure,A.dirExists_closure,A.linkExists_closure,A.ensureDir_closure,A.listDir_closure,A.realpath_closure,A.modificationTime_closure,A.watchDir_closure,A.watchDir_closure5,A.watchDir__closure,A.AtRootQueryParser_parse_closure,A.KeyframeSelectorParser_parse_closure,A.MediaQueryParser_parse_closure,A.Parser__parseIdentifier_closure,A.Parser_spanFrom_closure,A.Parser_spanFromPosition_closure,A.SassParser_children_closure,A.SelectorParser_parse_closure,A.SelectorParser_parseCompoundSelector_closure,A.StylesheetParser_parse_closure,A.StylesheetParser_parse__closure,A.StylesheetParser_parseParameterList_closure,A.StylesheetParser_parseVariableDeclaration_closure,A.StylesheetParser_parseUseRule_closure,A.StylesheetParser__parseSingleProduction_closure,A.StylesheetParser__statement_closure,A.StylesheetParser_variableDeclarationWithoutNamespace_closure,A.StylesheetParser_variableDeclarationWithoutNamespace_closure0,A.StylesheetParser__declarationOrBuffer_closure,A.StylesheetParser__declarationOrBuffer_closure0,A.StylesheetParser__declarationOrBuffer_closure2,A.StylesheetParser__propertyOrVariableDeclaration_closure,A.StylesheetParser__forRule_closure,A.StylesheetParser__memberList_closure,A.StylesheetParser_mozDocumentRule_closure,A.StylesheetParser__expression_resetState,A.StylesheetParser__expression_resolveOneOperation,A.StylesheetParser__expression_resolveOperations,A.StylesheetParser__expression_resolveSpaceExpressions,A.StylesheetParser_expressionUntilComma_closure,A.StylesheetParser_interpolatedStringToken_closure,A.StylesheetParser_namespacedExpression_closure,A.StylesheetParser__interpolatedDeclarationValue_closure,A.StylesheetParser__expressionUntilComparison_closure,A.StylesheetParser__publicIdentifier_closure,A.StylesheetGraph_modifiedSince_transitiveModificationTime_closure,A.StylesheetGraph__add_closure,A.StylesheetGraph_addCanonical_closure,A.StylesheetGraph_reload_closure,A.StylesheetGraph__nodeFor_closure,A.StylesheetGraph__nodeFor_closure0,A.SassNumber__coerceOrConvertValue_compatibilityException,A.SassNumber__coerceOrConvertValue_closure0,A.SassNumber__coerceOrConvertValue_closure2,A.SassNumber_multiplyUnits_closure0,A.SassNumber_multiplyUnits_closure2,A.SingleUnitSassNumber_multiplyUnits_closure0,A._EvaluateVisitor__closure6,A._EvaluateVisitor__closure5,A._EvaluateVisitor_run_closure0,A._EvaluateVisitor_run__closure0,A._EvaluateVisitor__loadModule_closure1,A._EvaluateVisitor__loadModule_closure2,A._EvaluateVisitor__loadModule__closure2,A._EvaluateVisitor__execute_closure0,A._EvaluateVisitor__extendModules_closure2,A._EvaluateVisitor_visitAtRootRule_closure1,A._EvaluateVisitor_visitAtRootRule_closure2,A._EvaluateVisitor__scopeForAtRoot__closure0,A._EvaluateVisitor_visitContentRule_closure0,A._EvaluateVisitor_visitDeclaration_closure0,A._EvaluateVisitor_visitEachRule_closure4,A._EvaluateVisitor_visitAtRule_closure4,A._EvaluateVisitor_visitAtRule_closure5,A._EvaluateVisitor_visitAtRule__closure0,A._EvaluateVisitor_visitForRule_closure4,A._EvaluateVisitor_visitForRule_closure5,A._EvaluateVisitor_visitForRule_closure6,A._EvaluateVisitor_visitForRule_closure7,A._EvaluateVisitor_visitForRule_closure8,A._EvaluateVisitor__registerCommentsForModule_closure0,A._EvaluateVisitor_visitIfRule__closure0,A._EvaluateVisitor__visitDynamicImport_closure0,A._EvaluateVisitor__visitDynamicImport__closure6,A._EvaluateVisitor__applyMixin_closure1,A._EvaluateVisitor__applyMixin__closure2,A._EvaluateVisitor__applyMixin_closure2,A._EvaluateVisitor__applyMixin__closure1,A._EvaluateVisitor__applyMixin___closure0,A._EvaluateVisitor__applyMixin____closure0,A._EvaluateVisitor_visitIncludeRule_closure2,A._EvaluateVisitor_visitIncludeRule_closure4,A._EvaluateVisitor_visitMediaRule_closure3,A._EvaluateVisitor_visitMediaRule_closure5,A._EvaluateVisitor_visitMediaRule__closure0,A._EvaluateVisitor_visitMediaRule___closure0,A._EvaluateVisitor_visitStyleRule_closure3,A._EvaluateVisitor_visitStyleRule_closure6,A._EvaluateVisitor_visitStyleRule__closure0,A._EvaluateVisitor_visitSupportsRule_closure2,A._EvaluateVisitor_visitSupportsRule_closure3,A._EvaluateVisitor_visitSupportsRule__closure0,A._EvaluateVisitor__visitSupportsCondition_closure0,A._EvaluateVisitor_visitVariableDeclaration_closure2,A._EvaluateVisitor_visitVariableDeclaration_closure3,A._EvaluateVisitor_visitVariableDeclaration_closure4,A._EvaluateVisitor_visitWarnRule_closure0,A._EvaluateVisitor_visitWhileRule_closure0,A._EvaluateVisitor_visitBinaryOperationExpression_closure0,A._EvaluateVisitor_visitVariableExpression_closure0,A._EvaluateVisitor_visitUnaryOperationExpression_closure0,A._EvaluateVisitor_visitFunctionExpression_closure2,A._EvaluateVisitor_visitFunctionExpression_closure4,A._EvaluateVisitor__visitCalculationExpression_closure0,A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure0,A._EvaluateVisitor__runUserDefinedCallable_closure0,A._EvaluateVisitor__runUserDefinedCallable__closure0,A._EvaluateVisitor__runUserDefinedCallable___closure0,A._EvaluateVisitor__runFunctionCallable_closure0,A._EvaluateVisitor__runBuiltInCallable_closure2,A._EvaluateVisitor__runBuiltInCallable_closure3,A._EvaluateVisitor__verifyArguments_closure0,A._EvaluateVisitor_visitCssAtRule_closure2,A._EvaluateVisitor_visitCssAtRule_closure3,A._EvaluateVisitor_visitCssKeyframeBlock_closure1,A._EvaluateVisitor_visitCssMediaRule_closure3,A._EvaluateVisitor_visitCssMediaRule_closure5,A._EvaluateVisitor_visitCssMediaRule__closure0,A._EvaluateVisitor_visitCssMediaRule___closure0,A._EvaluateVisitor_visitCssStyleRule_closure2,A._EvaluateVisitor_visitCssStyleRule__closure0,A._EvaluateVisitor_visitCssSupportsRule_closure2,A._EvaluateVisitor_visitCssSupportsRule_closure3,A._EvaluateVisitor_visitCssSupportsRule__closure0,A._EvaluateVisitor__serialize_closure0,A._EvaluateVisitor__expressionNode_closure0,A._EvaluateVisitor__closure2,A._EvaluateVisitor__closure1,A._EvaluateVisitor_run_closure,A._EvaluateVisitor_run__closure,A._EvaluateVisitor_runExpression_closure,A._EvaluateVisitor_runExpression__closure,A._EvaluateVisitor_runExpression___closure,A._EvaluateVisitor_runStatement_closure,A._EvaluateVisitor_runStatement__closure,A._EvaluateVisitor_runStatement___closure,A._EvaluateVisitor__loadModule_closure,A._EvaluateVisitor__loadModule_closure0,A._EvaluateVisitor__loadModule__closure0,A._EvaluateVisitor__execute_closure,A._EvaluateVisitor__extendModules_closure0,A._EvaluateVisitor_visitAtRootRule_closure,A._EvaluateVisitor_visitAtRootRule_closure0,A._EvaluateVisitor__scopeForAtRoot__closure,A._EvaluateVisitor_visitContentRule_closure,A._EvaluateVisitor_visitDeclaration_closure,A._EvaluateVisitor_visitEachRule_closure1,A._EvaluateVisitor_visitAtRule_closure0,A._EvaluateVisitor_visitAtRule_closure1,A._EvaluateVisitor_visitAtRule__closure,A._EvaluateVisitor_visitForRule_closure,A._EvaluateVisitor_visitForRule_closure0,A._EvaluateVisitor_visitForRule_closure1,A._EvaluateVisitor_visitForRule_closure2,A._EvaluateVisitor_visitForRule_closure3,A._EvaluateVisitor__registerCommentsForModule_closure,A._EvaluateVisitor_visitIfRule__closure,A._EvaluateVisitor__visitDynamicImport_closure,A._EvaluateVisitor__visitDynamicImport__closure2,A._EvaluateVisitor__applyMixin_closure,A._EvaluateVisitor__applyMixin__closure0,A._EvaluateVisitor__applyMixin_closure0,A._EvaluateVisitor__applyMixin__closure,A._EvaluateVisitor__applyMixin___closure,A._EvaluateVisitor__applyMixin____closure,A._EvaluateVisitor_visitIncludeRule_closure,A._EvaluateVisitor_visitIncludeRule_closure1,A._EvaluateVisitor_visitMediaRule_closure,A._EvaluateVisitor_visitMediaRule_closure1,A._EvaluateVisitor_visitMediaRule__closure,A._EvaluateVisitor_visitMediaRule___closure,A._EvaluateVisitor_visitStyleRule_closure,A._EvaluateVisitor_visitStyleRule_closure2,A._EvaluateVisitor_visitStyleRule__closure,A._EvaluateVisitor_visitSupportsRule_closure,A._EvaluateVisitor_visitSupportsRule_closure0,A._EvaluateVisitor_visitSupportsRule__closure,A._EvaluateVisitor__visitSupportsCondition_closure,A._EvaluateVisitor_visitVariableDeclaration_closure,A._EvaluateVisitor_visitVariableDeclaration_closure0,A._EvaluateVisitor_visitVariableDeclaration_closure1,A._EvaluateVisitor_visitWarnRule_closure,A._EvaluateVisitor_visitWhileRule_closure,A._EvaluateVisitor_visitBinaryOperationExpression_closure,A._EvaluateVisitor_visitVariableExpression_closure,A._EvaluateVisitor_visitUnaryOperationExpression_closure,A._EvaluateVisitor_visitFunctionExpression_closure,A._EvaluateVisitor_visitFunctionExpression_closure1,A._EvaluateVisitor__visitCalculationExpression_closure,A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure,A._EvaluateVisitor__runUserDefinedCallable_closure,A._EvaluateVisitor__runUserDefinedCallable__closure,A._EvaluateVisitor__runUserDefinedCallable___closure,A._EvaluateVisitor__runFunctionCallable_closure,A._EvaluateVisitor__runBuiltInCallable_closure,A._EvaluateVisitor__runBuiltInCallable_closure0,A._EvaluateVisitor__verifyArguments_closure,A._EvaluateVisitor_visitCssAtRule_closure,A._EvaluateVisitor_visitCssAtRule_closure0,A._EvaluateVisitor_visitCssKeyframeBlock_closure,A._EvaluateVisitor_visitCssMediaRule_closure,A._EvaluateVisitor_visitCssMediaRule_closure1,A._EvaluateVisitor_visitCssMediaRule__closure,A._EvaluateVisitor_visitCssMediaRule___closure,A._EvaluateVisitor_visitCssStyleRule_closure0,A._EvaluateVisitor_visitCssStyleRule__closure,A._EvaluateVisitor_visitCssSupportsRule_closure,A._EvaluateVisitor_visitCssSupportsRule_closure0,A._EvaluateVisitor_visitCssSupportsRule__closure,A._EvaluateVisitor__serialize_closure,A._EvaluateVisitor__expressionNode_closure,A._SerializeVisitor_visitCssComment_closure,A._SerializeVisitor_visitCssAtRule_closure,A._SerializeVisitor_visitCssMediaRule_closure,A._SerializeVisitor_visitCssImport_closure,A._SerializeVisitor_visitCssImport__closure,A._SerializeVisitor_visitCssKeyframeBlock_closure,A._SerializeVisitor_visitCssStyleRule_closure,A._SerializeVisitor_visitCssSupportsRule_closure,A._SerializeVisitor_visitCssDeclaration_closure,A._SerializeVisitor_visitCssDeclaration_closure0,A._SerializeVisitor__write_closure,A._SerializeVisitor__visitChildren_closure,A._SerializeVisitor__visitChildren_closure0,A.SingleMapping_SingleMapping$fromEntries_closure,A.SingleMapping_SingleMapping$fromEntries_closure0,A.Highlighter_closure,A.Highlighter__writeFileStart_closure,A.Highlighter__writeMultilineHighlights_closure,A.Highlighter__writeMultilineHighlights_closure0,A.Highlighter__writeMultilineHighlights_closure1,A.Highlighter__writeMultilineHighlights_closure2,A.Highlighter__writeMultilineHighlights__closure,A.Highlighter__writeMultilineHighlights__closure0,A.Highlighter__writeHighlightedText_closure,A.Highlighter__writeIndicator_closure,A.Highlighter__writeIndicator_closure0,A.Highlighter__writeIndicator_closure1,A.Highlighter__writeLabel_closure,A.Highlighter__writeLabel_closure0,A.Highlighter__writeSidebar_closure,A._Highlight_closure,A.Frame_Frame$parseVM_closure,A.Frame_Frame$parseV8_closure,A.Frame_Frame$_parseFirefoxEval_closure,A.Frame_Frame$parseFirefox_closure,A.Frame_Frame$parseFriendly_closure,A.LazyTrace_terse_closure,A.Trace_Trace$from_closure,A.TransformByHandlers_transformByHandlers_closure,A.TransformByHandlers_transformByHandlers__closure0,A.TransformByHandlers_transformByHandlers__closure2,A.RateLimit__debounceAggregate_closure_emit,A.RateLimit__debounceAggregate__closure,A.argumentListClass_closure,A.JSToDartAsyncImporter_canonicalize_closure,A.JSToDartAsyncImporter_load_closure,A.AsyncEnvironment_setVariable_closure2,A.AsyncEnvironment_setVariable_closure4,A._EvaluateVisitor__closure14,A._EvaluateVisitor__closure13,A._EvaluateVisitor_run_closure2,A._EvaluateVisitor_run__closure2,A._EvaluateVisitor__loadModule_closure5,A._EvaluateVisitor__loadModule_closure6,A._EvaluateVisitor__loadModule__closure6,A._EvaluateVisitor__execute_closure2,A._EvaluateVisitor__extendModules_closure6,A._EvaluateVisitor_visitAtRootRule_closure5,A._EvaluateVisitor_visitAtRootRule_closure6,A._EvaluateVisitor__scopeForAtRoot__closure2,A._EvaluateVisitor_visitContentRule_closure2,A._EvaluateVisitor_visitDeclaration_closure2,A._EvaluateVisitor_visitEachRule_closure10,A._EvaluateVisitor_visitAtRule_closure12,A._EvaluateVisitor_visitAtRule_closure13,A._EvaluateVisitor_visitAtRule__closure2,A._EvaluateVisitor_visitForRule_closure14,A._EvaluateVisitor_visitForRule_closure15,A._EvaluateVisitor_visitForRule_closure16,A._EvaluateVisitor_visitForRule_closure17,A._EvaluateVisitor_visitForRule_closure18,A._EvaluateVisitor__registerCommentsForModule_closure2,A._EvaluateVisitor_visitIfRule__closure2,A._EvaluateVisitor__visitDynamicImport_closure2,A._EvaluateVisitor__visitDynamicImport__closure14,A._EvaluateVisitor__applyMixin_closure5,A._EvaluateVisitor__applyMixin__closure6,A._EvaluateVisitor__applyMixin_closure6,A._EvaluateVisitor__applyMixin__closure5,A._EvaluateVisitor__applyMixin___closure2,A._EvaluateVisitor__applyMixin____closure2,A._EvaluateVisitor_visitIncludeRule_closure8,A._EvaluateVisitor_visitIncludeRule_closure10,A._EvaluateVisitor_visitMediaRule_closure11,A._EvaluateVisitor_visitMediaRule_closure13,A._EvaluateVisitor_visitMediaRule__closure2,A._EvaluateVisitor_visitMediaRule___closure2,A._EvaluateVisitor_visitStyleRule_closure11,A._EvaluateVisitor_visitStyleRule_closure14,A._EvaluateVisitor_visitStyleRule__closure2,A._EvaluateVisitor_visitSupportsRule_closure8,A._EvaluateVisitor_visitSupportsRule_closure9,A._EvaluateVisitor_visitSupportsRule__closure2,A._EvaluateVisitor__visitSupportsCondition_closure2,A._EvaluateVisitor_visitVariableDeclaration_closure8,A._EvaluateVisitor_visitVariableDeclaration_closure9,A._EvaluateVisitor_visitVariableDeclaration_closure10,A._EvaluateVisitor_visitWarnRule_closure2,A._EvaluateVisitor_visitWhileRule_closure2,A._EvaluateVisitor_visitBinaryOperationExpression_closure2,A._EvaluateVisitor_visitVariableExpression_closure2,A._EvaluateVisitor_visitUnaryOperationExpression_closure2,A._EvaluateVisitor_visitFunctionExpression_closure8,A._EvaluateVisitor_visitFunctionExpression_closure10,A._EvaluateVisitor__visitCalculationExpression_closure2,A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure2,A._EvaluateVisitor__runUserDefinedCallable_closure2,A._EvaluateVisitor__runUserDefinedCallable__closure2,A._EvaluateVisitor__runUserDefinedCallable___closure2,A._EvaluateVisitor__runFunctionCallable_closure2,A._EvaluateVisitor__runBuiltInCallable_closure8,A._EvaluateVisitor__runBuiltInCallable_closure9,A._EvaluateVisitor__verifyArguments_closure2,A._EvaluateVisitor_visitCssAtRule_closure8,A._EvaluateVisitor_visitCssAtRule_closure9,A._EvaluateVisitor_visitCssKeyframeBlock_closure5,A._EvaluateVisitor_visitCssMediaRule_closure11,A._EvaluateVisitor_visitCssMediaRule_closure13,A._EvaluateVisitor_visitCssMediaRule__closure2,A._EvaluateVisitor_visitCssMediaRule___closure2,A._EvaluateVisitor_visitCssStyleRule_closure6,A._EvaluateVisitor_visitCssStyleRule__closure2,A._EvaluateVisitor_visitCssSupportsRule_closure8,A._EvaluateVisitor_visitCssSupportsRule_closure9,A._EvaluateVisitor_visitCssSupportsRule__closure2,A._EvaluateVisitor__serialize_closure2,A._EvaluateVisitor__expressionNode_closure2,A.JSToDartAsyncFileImporter_canonicalize_closure,A.AsyncImportCache_canonicalize_closure0,A.AsyncImportCache__canonicalize_closure0,A.AsyncImportCache_importCanonical_closure0,A.AtRootQueryParser_parse_closure0,A.booleanClass_closure,A.legacyBooleanClass_closure,A.calculationClass_closure,A.calculationOperationClass_closure,A.calculationInterpolationClass_closure,A._changeColor_closure0,A.colorClass_closure,A.compileAsync_closure,A.compileStringAsync_closure,A._parseFunctions___closure6,A._parseFunctions___closure5,A.nodePackageImporterClass_closure,A.compilerClass_closure,A.asyncCompilerClass_closure,A.asyncCompilerClass___closure,A.initAsyncCompiler_closure,A.deprecations_closure,A.parseDeprecations_closure,A.versionClass_closure,A.Environment_setVariable_closure2,A.Environment_setVariable_closure4,A._EvaluateVisitor__closure10,A._EvaluateVisitor__closure9,A._EvaluateVisitor_run_closure1,A._EvaluateVisitor_run__closure1,A._EvaluateVisitor__loadModule_closure3,A._EvaluateVisitor__loadModule_closure4,A._EvaluateVisitor__loadModule__closure4,A._EvaluateVisitor__execute_closure1,A._EvaluateVisitor__extendModules_closure4,A._EvaluateVisitor_visitAtRootRule_closure3,A._EvaluateVisitor_visitAtRootRule_closure4,A._EvaluateVisitor__scopeForAtRoot__closure1,A._EvaluateVisitor_visitContentRule_closure1,A._EvaluateVisitor_visitDeclaration_closure1,A._EvaluateVisitor_visitEachRule_closure7,A._EvaluateVisitor_visitAtRule_closure8,A._EvaluateVisitor_visitAtRule_closure9,A._EvaluateVisitor_visitAtRule__closure1,A._EvaluateVisitor_visitForRule_closure9,A._EvaluateVisitor_visitForRule_closure10,A._EvaluateVisitor_visitForRule_closure11,A._EvaluateVisitor_visitForRule_closure12,A._EvaluateVisitor_visitForRule_closure13,A._EvaluateVisitor__registerCommentsForModule_closure1,A._EvaluateVisitor_visitIfRule__closure1,A._EvaluateVisitor__visitDynamicImport_closure1,A._EvaluateVisitor__visitDynamicImport__closure10,A._EvaluateVisitor__applyMixin_closure3,A._EvaluateVisitor__applyMixin__closure4,A._EvaluateVisitor__applyMixin_closure4,A._EvaluateVisitor__applyMixin__closure3,A._EvaluateVisitor__applyMixin___closure1,A._EvaluateVisitor__applyMixin____closure1,A._EvaluateVisitor_visitIncludeRule_closure5,A._EvaluateVisitor_visitIncludeRule_closure7,A._EvaluateVisitor_visitMediaRule_closure7,A._EvaluateVisitor_visitMediaRule_closure9,A._EvaluateVisitor_visitMediaRule__closure1,A._EvaluateVisitor_visitMediaRule___closure1,A._EvaluateVisitor_visitStyleRule_closure7,A._EvaluateVisitor_visitStyleRule_closure10,A._EvaluateVisitor_visitStyleRule__closure1,A._EvaluateVisitor_visitSupportsRule_closure5,A._EvaluateVisitor_visitSupportsRule_closure6,A._EvaluateVisitor_visitSupportsRule__closure1,A._EvaluateVisitor__visitSupportsCondition_closure1,A._EvaluateVisitor_visitVariableDeclaration_closure5,A._EvaluateVisitor_visitVariableDeclaration_closure6,A._EvaluateVisitor_visitVariableDeclaration_closure7,A._EvaluateVisitor_visitWarnRule_closure1,A._EvaluateVisitor_visitWhileRule_closure1,A._EvaluateVisitor_visitBinaryOperationExpression_closure1,A._EvaluateVisitor_visitVariableExpression_closure1,A._EvaluateVisitor_visitUnaryOperationExpression_closure1,A._EvaluateVisitor_visitFunctionExpression_closure5,A._EvaluateVisitor_visitFunctionExpression_closure7,A._EvaluateVisitor__visitCalculationExpression_closure1,A._EvaluateVisitor_visitInterpolatedFunctionExpression_closure1,A._EvaluateVisitor__runUserDefinedCallable_closure1,A._EvaluateVisitor__runUserDefinedCallable__closure1,A._EvaluateVisitor__runUserDefinedCallable___closure1,A._EvaluateVisitor__runFunctionCallable_closure1,A._EvaluateVisitor__runBuiltInCallable_closure5,A._EvaluateVisitor__runBuiltInCallable_closure6,A._EvaluateVisitor__verifyArguments_closure1,A._EvaluateVisitor_visitCssAtRule_closure5,A._EvaluateVisitor_visitCssAtRule_closure6,A._EvaluateVisitor_visitCssKeyframeBlock_closure3,A._EvaluateVisitor_visitCssMediaRule_closure7,A._EvaluateVisitor_visitCssMediaRule_closure9,A._EvaluateVisitor_visitCssMediaRule__closure1,A._EvaluateVisitor_visitCssMediaRule___closure1,A._EvaluateVisitor_visitCssStyleRule_closure4,A._EvaluateVisitor_visitCssStyleRule__closure1,A._EvaluateVisitor_visitCssSupportsRule_closure5,A._EvaluateVisitor_visitCssSupportsRule_closure6,A._EvaluateVisitor_visitCssSupportsRule__closure1,A._EvaluateVisitor__serialize_closure1,A._EvaluateVisitor__expressionNode_closure1,A.exceptionClass_closure,A.ExtensionStore__registerSelector_closure0,A.ExtensionStore_addExtension_closure2,A.ExtensionStore_addExtension_closure3,A.ExtensionStore_addExtension_closure4,A.ExtensionStore__extendExistingExtensions_closure1,A.ExtensionStore__extendExistingExtensions_closure2,A.ExtensionStore_addExtensions_closure0,A.ExtensionStore_clone__closure0,A.JSToDartFileImporter_canonicalize_closure,A.functionClass_closure,A.IfConditionOperation_toInterpolation_closure0,A.NodeImporter_load_closure,A.NodeImporter__tryPath_closure,A.NodeImporter__callImporterAsync_closure,A.ImportCache_canonicalize_closure0,A.ImportCache__canonicalize_closure0,A.ImportCache_importCanonical_closure0,A._realCasePath_helper_closure0,A._readFile_closure0,A.fileExists_closure0,A.dirExists_closure0,A.linkExists_closure0,A.listDir_closure0,A.realpath_closure0,A.JSToDartLogger_internalWarn_closure,A.JSToDartLogger_debug_closure,A.KeyframeSelectorParser_parse_closure0,A.render_closure,A._parseFunctions____closure,A._parseFunctions___closure3,A._parseFunctions___closure4,A._parseFunctions___closure1,A._parseFunctions___closure0,A._parseImporter____closure,A._parseImporter___closure0,A.listClass_closure,A.mapClass_closure,A.MediaQueryParser_parse_closure0,A.mixinClass_closure,A.legacyNullClass_closure,A.numberClass_closure,A.SassNumber__coerceOrConvertValue_compatibilityException0,A.SassNumber__coerceOrConvertValue_closure4,A.SassNumber__coerceOrConvertValue_closure6,A.SassNumber_multiplyUnits_closure4,A.SassNumber_multiplyUnits_closure6,A._updateLazyFileSpanPrototype_closure,A.Parser__parseIdentifier_closure0,A.Parser_spanFrom_closure0,A.Parser_spanFromPosition_closure0,A.PseudoSelector_specificity_closure0,A.SassParser_children_closure0,A.SelectorParser_parse_closure0,A.SelectorParser_parseCompoundSelector_closure0,A._SerializeVisitor_visitCssComment_closure0,A._SerializeVisitor_visitCssAtRule_closure0,A._SerializeVisitor_visitCssMediaRule_closure0,A._SerializeVisitor_visitCssImport_closure0,A._SerializeVisitor_visitCssImport__closure0,A._SerializeVisitor_visitCssKeyframeBlock_closure0,A._SerializeVisitor_visitCssStyleRule_closure0,A._SerializeVisitor_visitCssSupportsRule_closure0,A._SerializeVisitor_visitCssDeclaration_closure1,A._SerializeVisitor_visitCssDeclaration_closure2,A._SerializeVisitor__write_closure0,A._SerializeVisitor__visitChildren_closure1,A._SerializeVisitor__visitChildren_closure2,A.SingleUnitSassNumber_multiplyUnits_closure2,A.updateSourceSpanPrototype_closure,A.stringClass_closure,A.StylesheetParser_parse_closure0,A.StylesheetParser_parse__closure0,A.StylesheetParser_parseParameterList_closure0,A.StylesheetParser__parseSingleProduction_closure0,A.StylesheetParser_parseSignature_closure,A.StylesheetParser__statement_closure0,A.StylesheetParser_variableDeclarationWithoutNamespace_closure1,A.StylesheetParser_variableDeclarationWithoutNamespace_closure2,A.StylesheetParser__declarationOrBuffer_closure3,A.StylesheetParser__declarationOrBuffer_closure4,A.StylesheetParser__declarationOrBuffer_closure6,A.StylesheetParser__propertyOrVariableDeclaration_closure0,A.StylesheetParser__forRule_closure1,A.StylesheetParser__memberList_closure0,A.StylesheetParser_mozDocumentRule_closure1,A.StylesheetParser__expression_resetState0,A.StylesheetParser__expression_resolveOneOperation0,A.StylesheetParser__expression_resolveOperations0,A.StylesheetParser__expression_resolveSpaceExpressions0,A.StylesheetParser_expressionUntilComma_closure0,A.StylesheetParser_interpolatedStringToken_closure0,A.StylesheetParser_namespacedExpression_closure0,A.StylesheetParser__interpolatedDeclarationValue_closure0,A.StylesheetParser__expressionUntilComparison_closure0,A.StylesheetParser__publicIdentifier_closure0,A.JSToDartImporter_canonicalize_closure,A.JSToDartImporter_load_closure,A.resolveImportPath_closure1,A.resolveImportPath_closure2,A._tryPathAsDirectory_closure0,A.valueClass_closure]),x(A.EfficientLengthIterable,[A.ListIterable,A.EmptyIterable,A.LinkedHashMapKeysIterable,A.LinkedHashMapValuesIterable,A.LinkedHashMapEntriesIterable,A._HashMapKeyIterable,A._MapBaseValueIterable]),x(A.ListIterable,[A.SubListIterable,A.MappedListIterable,A.ReversedListIterable,A.ListQueue,A._JsonMapKeyIterable,A._GeneratorIterable]),$(A.EfficientLengthMappedIterable,A.MappedIterable),$(A.EfficientLengthTakeIterable,A.TakeIterable),$(A.EfficientLengthSkipIterable,A.SkipIterable),$(A.EfficientLengthFollowedByIterable,A.FollowedByIterable),x(A._Record,[A._Record1,A._Record2,A._Record3,A._RecordN]),$(A._Record_1,A._Record1),x(A._Record2,[A._Record_2,A._Record_2_forImport,A._Record_2_imports_modules,A._Record_2_loadedUrls_stylesheet,A._Record_2_sourceMap]),x(A._Record3,[A._Record_3,A._Record_3_deprecation_message_span,A._Record_3_forImport,A._Record_3_importer_isDependency,A._Record_3_originalUrl]),$(A._Record_5_named_namedNodes_positional_positionalNodes_separator,A._RecordN),x(A.MapView,[A._UnmodifiableMapView_MapView__UnmodifiableMapMixin,A.PathMap]),$(A.UnmodifiableMapView,A._UnmodifiableMapView_MapView__UnmodifiableMapMixin),$(A.ConstantMapView,A.UnmodifiableMapView),$(A.ConstantStringMap,A.ConstantMap),x(A.SetBase,[A.ConstantSet,A._SetBase,A._UnmodifiableSetView_SetBase__UnmodifiableSetMixin,A._UnionSet_SetBase_UnmodifiableSetMixin]),x(A.ConstantSet,[A.ConstantStringSet,A.GeneralConstantSet]),$(A.Instantiation1,A.Instantiation),$(A.NullError,A.TypeError),x(A.TearOffClosure,[A.StaticClosure,A.BoundClosure]),x(A.JsLinkedHashMap,[A.JsIdentityLinkedHashMap,A.JsConstantLinkedHashMap,A._LinkedCustomHashMap]),x(A.NativeTypedData,[A.NativeByteData,A.NativeTypedArray]),x(A.NativeTypedArray,[A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin,A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin]),$(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin,A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin),$(A.NativeTypedArrayOfDouble,A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin),$(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin,A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin),$(A.NativeTypedArrayOfInt,A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin),x(A.NativeTypedArrayOfDouble,[A.NativeFloat32List,A.NativeFloat64List]),x(A.NativeTypedArrayOfInt,[A.NativeInt16List,A.NativeInt32List,A.NativeInt8List,A.NativeUint16List,A.NativeUint32List,A.NativeUint8ClampedList,A.NativeUint8List]),$(A._TypeError,A._Error),x(A._Completer,[A._AsyncCompleter,A._SyncCompleter]),x(A._StreamController,[A._AsyncStreamController,A._SyncStreamController]),x(A.Stream,[A._StreamImpl,A._ForwardingStream,A._CompleterStream]),$(A._ControllerStream,A._StreamImpl),x(A._BufferingStreamSubscription,[A._ControllerSubscription,A._ForwardingStreamSubscription]),$(A._StreamControllerAddStreamState,A._AddStreamState),x(A._DelayedEvent,[A._DelayedData,A._DelayedError]),$(A._MapStream,A._ForwardingStream),x(A._Zone,[A._CustomZone,A._RootZone]),$(A._IdentityHashMap,A._HashMap),$(A._LinkedHashSet,A._SetBase),$(A._LinkedIdentityHashSet,A._LinkedHashSet),$(A.UnmodifiableSetView,A._UnmodifiableSetView_SetBase__UnmodifiableSetMixin),x(A.Codec,[A.Encoding,A.Base64Codec,A.JsonCodec]),x(A.Encoding,[A.AsciiCodec,A.Utf8Codec]),x(A.Converter,[A._UnicodeSubsetEncoder,A.Base64Encoder,A.JsonEncoder,A.JsonDecoder,A.Utf8Encoder,A.Utf8Decoder]),$(A.AsciiEncoder,A._UnicodeSubsetEncoder),x(A.ByteConversionSink,[A._Base64EncoderSink,A._Utf8StringSinkAdapter]),$(A._Utf8Base64EncoderSink,A._Base64EncoderSink),$(A.JsonCyclicError,A.JsonUnsupportedObjectError),$(A._JsonStringStringifier,A._JsonStringifier),$(A._StringSinkConversionSink,A.StringConversionSink),$(A._StringCallbackSink,A._StringSinkConversionSink),x(A.ArgumentError,[A.RangeError,A.IndexError]),$(A._DataUri,A._Uri),$(A.ArgParserException,A.FormatException),$(A.EmptyUnmodifiableSet,A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin),$(A.QueueList,A._QueueList_Object_ListMixin),$(A._CastQueueList,A.QueueList),$(A.UnionSet,A._UnionSet_SetBase_UnmodifiableSetMixin),x(A._DelegatingIterableBase,[A.DelegatingSet,A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin]),$(A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin,A.DelegatingSet),$(A.UnmodifiableSetView0,A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin),$(A.MapKeySet,A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin),x(A.NodeJsError,[A.JsAssertionError,A.JsRangeError,A.JsReferenceError,A.JsSyntaxError,A.JsTypeError,A.JsSystemError]),x(A.Socket,[A.TTYReadStream,A.TTYWriteStream]),$(A.InternalStyle,A.Style),x(A.InternalStyle,[A.PosixStyle,A.UrlStyle,A.WindowsStyle]),x(A._Enum,[A._SingletonCssMediaQueryMergeResult,A.BooleanOperator,A.BinaryOperator,A.UnaryOperator,A.AttributeOperator,A.Combinator,A.Deprecation,A.ExtendMode,A.Syntax,A.CalculationOperator,A.HueInterpolationMethod,A.ListSeparator,A.OutputStyle,A.LineFeed,A.AttributeOperator0,A.BinaryOperator0,A.BooleanOperator0,A.CalculationOperator0,A.Combinator0,A.Deprecation0,A.HueInterpolationMethod0,A.ListSeparator0,A._SingletonCssMediaQueryMergeResult0,A.ExtendMode0,A.OutputStyle0,A.LineFeed0,A.Syntax0,A.UnaryOperator0]),x(A.CssNode,[A.ModifiableCssNode,A.CssParentNode]),x(A.ModifiableCssNode,[A.ModifiableCssParentNode,A.ModifiableCssComment,A.ModifiableCssDeclaration,A.ModifiableCssImport]),x(A.ModifiableCssParentNode,[A.ModifiableCssAtRule,A.ModifiableCssKeyframeBlock,A.ModifiableCssMediaRule,A.ModifiableCssStyleRule,A.ModifiableCssStylesheet,A.ModifiableCssSupportsRule]),$(A._IsInvisibleVisitor,A.__IsInvisibleVisitor_Object_EveryCssVisitor),$(A.CssStylesheet,A.CssParentNode),x(A.Expression,[A.BinaryOperationExpression,A.BooleanExpression,A.ColorExpression,A.FunctionExpression,A.IfExpression,A.InterpolatedFunctionExpression,A.LegacyIfExpression,A.ListExpression,A.MapExpression,A.NullExpression,A.NumberExpression,A.ParenthesizedExpression,A.SelectorExpression,A.StringExpression,A.SupportsExpression,A.UnaryOperationExpression,A.ValueExpression,A.VariableExpression]),x(A.IfConditionExpression,[A.IfConditionParenthesized,A.IfConditionNegation,A.IfConditionOperation,A.IfConditionFunction,A.IfConditionSass,A.IfConditionRaw]),x(A.Statement,[A.ParentStatement,A.ContentRule,A.DebugRule,A.ErrorRule,A.ExtendRule,A.ForwardRule,A.IfRule,A.ImportRule,A.IncludeRule,A.LoudComment,A.ReturnRule,A.SilentComment,A.UseRule,A.VariableDeclaration,A.WarnRule]),x(A.ParentStatement,[A.AtRootRule,A.AtRule,A.CallableDeclaration,A.Declaration,A.EachRule,A.ForRule,A.MediaRule,A.StyleRule,A.Stylesheet,A.SupportsRule,A.WhileRule]),x(A.CallableDeclaration,[A.ContentBlock,A.FunctionRule,A.MixinRule]),x(A.IfRuleClause,[A.IfClause,A.ElseClause]),$(A._HasContentVisitor,A.__HasContentVisitor_Object_StatementSearchVisitor),$(A._IsInvisibleVisitor0,A.__IsInvisibleVisitor_Object_AnySelectorVisitor),$(A._IsBogusVisitor,A.__IsBogusVisitor_Object_AnySelectorVisitor),$(A._IsUselessVisitor,A.__IsUselessVisitor_Object_AnySelectorVisitor),$(A._ContainsParentSelectorVisitor,A.__ContainsParentSelectorVisitor_Object_AnySelectorVisitor),x(A.Selector,[A.SimpleSelector,A.ComplexSelector,A.CompoundSelector,A.SelectorList]),x(A.SimpleSelector,[A.AttributeSelector,A.ClassSelector,A.IDSelector,A.ParentSelector,A.PlaceholderSelector,A.PseudoSelector,A.TypeSelector,A.UniversalSelector]),$(A._ParentSelectorVisitor,A.__ParentSelectorVisitor_Object_SelectorSearchVisitor),$(A.ExplicitConfiguration,A.Configuration),x(A.SourceSpanException,[A.SassException,A.SourceSpanFormatException,A.MultiSourceSpanException,A.SassException0]),x(A.SassException,[A.MultiSpanSassException,A.SassRuntimeException,A.SassFormatException]),x(A.MultiSpanSassException,[A.MultiSpanSassRuntimeException,A.MultiSpanSassFormatException]),$(A.MultiSpanSassScriptException,A.SassScriptException),$(A.MergedExtension,A.Extension),$(A.Importer,A.AsyncImporter),x(A.Importer,[A.FilesystemImporter,A.NoOpImporter,A.NodePackageImporter]),x(A.LoggerWithDeprecationType,[A.DefaultLogger,A.DeprecationProcessingLogger,A.StderrLogger]),x(A.Parser,[A.AtRootQueryParser,A.StylesheetParser,A.KeyframeSelectorParser,A.MediaQueryParser,A.SelectorParser]),x(A.StylesheetParser,[A.ScssParser,A.SassParser]),$(A.CssParser,A.ScssParser),x(A.UnmodifiableMapBase,[A.LimitedMapView,A.PrefixedMapView,A.PublicMemberMapView,A.UnprefixedMapView,A.LimitedMapView0,A.PrefixedMapView0,A.PublicMemberMapView0,A.UnprefixedMapView0]),x(A.Value,[A.SassList,A.SassBoolean,A.SassCalculation,A.SassColor,A.SassFunction,A.SassMap,A.SassMixin,A._SassNull,A.SassNumber,A.SassString]),$(A.SassArgumentList,A.SassList),$(A.LinearChannel,A.ColorChannel),x(A.GamutMapMethod,[A.ClipGamutMap,A.LocalMindeGamutMap]),x(A.ColorSpace,[A.A98RgbColorSpace,A.DisplayP3ColorSpace,A.DisplayP3LinearColorSpace,A.HslColorSpace,A.HwbColorSpace,A.LabColorSpace,A.LchColorSpace,A.LmsColorSpace,A.OklabColorSpace,A.OklchColorSpace,A.ProphotoRgbColorSpace,A.Rec2020ColorSpace,A.RgbColorSpace,A.SrgbColorSpace,A.SrgbLinearColorSpace,A.XyzD50ColorSpace,A.XyzD65ColorSpace]),x(A.SassNumber,[A.ComplexSassNumber,A.SingleUnitSassNumber,A.UnitlessSassNumber]),$(A._MakeExpressionCalculationSafe,A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor),$(A._FindDependenciesVisitor,A.__FindDependenciesVisitor_Object_RecursiveStatementVisitor),$(A.SingleMapping,A.Mapping),$(A.FileLocation,A.SourceLocationMixin),x(A.SourceSpanMixin,[A._FileSpan,A.SourceSpanBase]),$(A.MultiSourceSpanFormatException,A.MultiSourceSpanException),$(A.SourceSpanWithContext,A.SourceSpanBase),$(A.StringScannerException,A.SourceSpanFormatException),x(A.StringScanner,[A.LineScanner,A.SpanScanner]),x(A.ColorSpace0,[A.A98RgbColorSpace0,A.DisplayP3ColorSpace0,A.DisplayP3LinearColorSpace0,A.HslColorSpace0,A.HwbColorSpace0,A.LabColorSpace0,A.LchColorSpace0,A.LmsColorSpace0,A.OklabColorSpace0,A.OklchColorSpace0,A.ProphotoRgbColorSpace0,A.Rec2020ColorSpace0,A.RgbColorSpace0,A.SrgbColorSpace0,A.SrgbLinearColorSpace0,A.XyzD50ColorSpace0,A.XyzD65ColorSpace0]),x(A.Value0,[A.SassList0,A.SassBoolean0,A.SassCalculation0,A.SassColor0,A.SassNumber0,A.SassFunction0,A.SassMap0,A.SassMixin0,A._SassNull0,A.SassString0]),$(A.SassArgumentList0,A.SassList0),x(A.AsyncImporter0,[A.JSToDartAsyncImporter,A.JSToDartAsyncFileImporter,A.Importer0]),x(A.Parser1,[A.AtRootQueryParser0,A.StylesheetParser0,A.KeyframeSelectorParser0,A.MediaQueryParser0,A.SelectorParser0]),x(A.Statement0,[A.ParentStatement0,A.ContentRule0,A.DebugRule0,A.ErrorRule0,A.ExtendRule0,A.ForwardRule0,A.IfRule0,A.ImportRule0,A.IncludeRule0,A.LoudComment0,A.ReturnRule0,A.SilentComment0,A.UseRule0,A.VariableDeclaration0,A.WarnRule0]),x(A.ParentStatement0,[A.AtRootRule0,A.AtRule0,A.CallableDeclaration0,A.Declaration0,A.EachRule0,A.ForRule0,A.MediaRule0,A.StyleRule0,A.Stylesheet0,A.SupportsRule0,A.WhileRule0]),x(A.CssNode0,[A.ModifiableCssNode0,A.CssParentNode0]),x(A.ModifiableCssNode0,[A.ModifiableCssParentNode0,A.ModifiableCssComment0,A.ModifiableCssDeclaration0,A.ModifiableCssImport0]),x(A.ModifiableCssParentNode0,[A.ModifiableCssAtRule0,A.ModifiableCssKeyframeBlock0,A.ModifiableCssMediaRule0,A.ModifiableCssStyleRule0,A.ModifiableCssStylesheet0,A.ModifiableCssSupportsRule0]),x(A.InterpolatedSelector,[A.InterpolatedSimpleSelector,A.InterpolatedComplexSelector,A.InterpolatedCompoundSelector,A.InterpolatedSelectorList]),x(A.InterpolatedSimpleSelector,[A.InterpolatedAttributeSelector,A.InterpolatedClassSelector,A.InterpolatedIDSelector,A.InterpolatedParentSelector,A.InterpolatedPlaceholderSelector,A.InterpolatedPseudoSelector,A.InterpolatedTypeSelector,A.InterpolatedUniversalSelector]),x(A.Selector0,[A.SimpleSelector0,A.ComplexSelector0,A.CompoundSelector0,A.SelectorList0]),x(A.SimpleSelector0,[A.AttributeSelector0,A.ClassSelector0,A.IDSelector0,A.ParentSelector0,A.PlaceholderSelector0,A.PseudoSelector0,A.TypeSelector0,A.UniversalSelector0]),x(A.Expression0,[A.BinaryOperationExpression0,A.BooleanExpression0,A.ColorExpression0,A.FunctionExpression0,A.IfExpression0,A.InterpolatedFunctionExpression0,A.LegacyIfExpression0,A.ListExpression0,A.MapExpression0,A.NullExpression0,A.NumberExpression0,A.ParenthesizedExpression0,A.SelectorExpression0,A.StringExpression0,A.SupportsExpression0,A.UnaryOperationExpression0,A.ValueExpression0,A.VariableExpression0]),$(A.LinearChannel0,A.ColorChannel0),x(A.GamutMapMethod0,[A.ClipGamutMap0,A.LocalMindeGamutMap0]),$(A._ConstructionOptions,A._Channels),$(A.CompileStringOptions,A.CompileOptions),$(A.AsyncCompiler,A.Compiler),x(A.SassNumber0,[A.ComplexSassNumber0,A.SingleUnitSassNumber0,A.UnitlessSassNumber0]),$(A.ExplicitConfiguration0,A.Configuration0),x(A.CallableDeclaration0,[A.ContentBlock0,A.FunctionRule0,A.MixinRule0]),x(A.StylesheetParser0,[A.ScssParser0,A.SassParser0]),$(A.CssParser0,A.ScssParser0),x(A.LoggerWithDeprecationType0,[A.DefaultLogger0,A.DeprecationProcessingLogger0,A.JSToDartLogger,A.StderrLogger0]),$(A._NodeException,A.JsError),x(A.SassException0,[A.MultiSpanSassException0,A.SassRuntimeException0,A.SassFormatException0]),x(A.MultiSpanSassException0,[A.MultiSpanSassRuntimeException0,A.MultiSpanSassFormatException0]),$(A.MultiSpanSassScriptException0,A.SassScriptException0),$(A._MakeExpressionCalculationSafe0,A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0),x(A.Importer0,[A.JSToDartFileImporter,A.FilesystemImporter0,A.NoOpImporter0,A.NodePackageImporter0,A.JSToDartImporter]),x(A.IfConditionExpression0,[A.IfConditionParenthesized0,A.IfConditionNegation0,A.IfConditionOperation0,A.IfConditionFunction0,A.IfConditionSass0,A.IfConditionRaw0]),x(A.IfRuleClause0,[A.IfClause0,A.ElseClause0]),$(A._ParentSelectorVisitor0,A.__ParentSelectorVisitor_Object_SelectorSearchVisitor0),$(A.MergedExtension0,A.Extension0),$(A._HasContentVisitor0,A.__HasContentVisitor_Object_StatementSearchVisitor0),$(A._IsInvisibleVisitor1,A.__IsInvisibleVisitor_Object_EveryCssVisitor0),$(A._IsInvisibleVisitor2,A.__IsInvisibleVisitor_Object_AnySelectorVisitor0),$(A._IsBogusVisitor0,A.__IsBogusVisitor_Object_AnySelectorVisitor0),$(A._IsUselessVisitor0,A.__IsUselessVisitor_Object_AnySelectorVisitor0),$(A._ContainsParentSelectorVisitor0,A.__ContainsParentSelectorVisitor_Object_AnySelectorVisitor0),$(A.CssStylesheet0,A.CssParentNode0),y(A.UnmodifiableListBase,A.UnmodifiableListMixin),y(A.__CastListBase__CastIterableBase_ListMixin,A.ListBase),y(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin,A.ListBase),y(A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin,A.FixedLengthListMixin),y(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin,A.ListBase),y(A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin,A.FixedLengthListMixin),y(A._AsyncStreamController,A._AsyncStreamControllerDispatch),y(A._SyncStreamController,A._SyncStreamControllerDispatch),y(A.UnmodifiableMapBase,A._UnmodifiableMapMixin),y(A._UnmodifiableMapView_MapView__UnmodifiableMapMixin,A._UnmodifiableMapMixin),y(A._UnmodifiableSetView_SetBase__UnmodifiableSetMixin,A._UnmodifiableSetMixin),y(A._EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin,A.UnmodifiableSetMixin),y(A._QueueList_Object_ListMixin,A.ListBase),y(A._UnionSet_SetBase_UnmodifiableSetMixin,A.UnmodifiableSetMixin),y(A._UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin,A.UnmodifiableSetMixin),y(A._MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin,A.UnmodifiableSetMixin),y(A.__IsInvisibleVisitor_Object_EveryCssVisitor,A.EveryCssVisitor),y(A.__HasContentVisitor_Object_StatementSearchVisitor,A.StatementSearchVisitor),y(A.__ContainsParentSelectorVisitor_Object_AnySelectorVisitor,A.AnySelectorVisitor),y(A.__IsBogusVisitor_Object_AnySelectorVisitor,A.AnySelectorVisitor),y(A.__IsInvisibleVisitor_Object_AnySelectorVisitor,A.AnySelectorVisitor),y(A.__IsUselessVisitor_Object_AnySelectorVisitor,A.AnySelectorVisitor),y(A.__ParentSelectorVisitor_Object_SelectorSearchVisitor,A.SelectorSearchVisitor),y(A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor,A.ReplaceExpressionVisitor),y(A.__FindDependenciesVisitor_Object_RecursiveStatementVisitor,A.RecursiveStatementVisitor),y(A.__MakeExpressionCalculationSafe_Object_ReplaceExpressionVisitor0,A.ReplaceExpressionVisitor0),y(A.__ParentSelectorVisitor_Object_SelectorSearchVisitor0,A.SelectorSearchVisitor0),y(A.__HasContentVisitor_Object_StatementSearchVisitor0,A.StatementSearchVisitor0),y(A.__IsInvisibleVisitor_Object_EveryCssVisitor0,A.EveryCssVisitor0),y(A.__ContainsParentSelectorVisitor_Object_AnySelectorVisitor0,A.AnySelectorVisitor0),y(A.__IsBogusVisitor_Object_AnySelectorVisitor0,A.AnySelectorVisitor0),y(A.__IsInvisibleVisitor_Object_AnySelectorVisitor0,A.AnySelectorVisitor0),y(A.__IsUselessVisitor_Object_AnySelectorVisitor0,A.AnySelectorVisitor0);var M={G:void 0!==n?n:globalThis,typeUniverse:{eC:new Map,tR:{},eT:{},tPV:{},sEA:[]},mangledGlobalNames:{int:"int",double:"double",num:"num",String:"String",bool:"bool",Null:"Null",List:"List",Object:"Object",Map:"Map",JSObject:"JSObject"},mangledNames:{},types:["~()","Null()","Future<Null>()","Value0(List<Value0>)","bool(String)","Value(List<Value>)","String(String)","bool(CssNode)","bool(CssNode0)","bool(Object?)","int()","SassBoolean(List<Value>)","double(double)","SassBoolean0(List<Value0>)","bool(SimpleSelector)","bool(SimpleSelector0)","FileSpan()","JSClass0()","SassString0(List<Value0>)","SassString(List<Value>)","bool()","bool(ComplexSelector)","bool(ComplexSelector0)","SassColor(List<Value>)","SassNumber(List<Value>)","SassNumber0(List<Value0>)","SassColor0(List<Value0>)","SassList0(List<Value0>)","SassList(List<Value>)","String()","double(SassColor0)","bool(int?)","Future<~>()","Value()","SassMap0(List<Value0>)","Null(~())","Object?()","~(Object?)","SassMap(List<Value>)","int(SassColor0)","Future<Null>(Future<~>())","Value0(Value0)","Value0?()","Value(Value)","Value?()","double(SassColor)","Value0()","String?()","bool(num,num)","Uri(Uri)","bool(int)","Null(Object,StackTrace)","SassNumber(SassNumber)","SassNumber0(SassNumber0)","bool(ComplexSelectorComponent)","bool(ComplexSelectorComponent0)","bool(Value0)","double(double,double)","~(Value)","ComplexSelector0(ComplexSelector0)","ValueExpression(Value)","ComplexSelector(ComplexSelector)","Null(@)","~(Value0)","@()","ValueExpression0(Value0)","int(SassColor)","bool(ColorChannel0)","bool(SelectorList0)","Future<Value?>()","~(Object,StackTrace)","~(@)","Future<Value>()","bool(Object)","bool(Expression)","Object(Object)","Frame()","bool(SelectorList)","Future<Value0?>()","bool(Value)","Future<Value0>()","bool(Expression0)","~([int?])","Object()","Null([Object?])","bool(Module1<Callable>)","Stylesheet?()","Future<Value?>(Statement)","Callable?()","List<CssMediaQuery>?(List<CssMediaQuery>)","~(String)","~(Module1<Callable>,bool)","Future<Value0>(List<Value0>)","bool(ColorChannel)","Frame(String)","bool(Module0<Callable0>)","AsyncCallable0?()","~(Object)","SassRuntimeException0(AstNode0)","~(Value,Value)","double(SassNumber0)","Future<Value0?>(Statement0)","bool(Module0<AsyncCallable>)","AsyncCallable?()","List<CssMediaQuery0>?(List<CssMediaQuery0>)","~(String[Deprecation?])","Null(_NodeSassColor,num)","int(Uri)","@(@)","~(String,Value)","~(String[Deprecation0?])","SassRuntimeException(AstNode)","~(String,Value0)","Callable0?()","~(Module0<Callable0>,bool)","Value0?(Statement0)","Value?(Statement)","~(Value0,Value0)","bool(Module1<AsyncCallable0>)","SassCalculation0(Object)","String(Expression0)","Null(Module1<AsyncCallable0>,bool)","bool(_Highlight)","String(String{color:Object?})","int(_NodeSassColor)","Statement()","~(String,Object?)","Uri(String)","+originalUrl(Importer,Uri,Uri)?()","double(SassNumber)","Map<ComplexSelector,Extension>()","Map<ComplexSelector0,Extension0>()","String(Object)","String(Expression)","String(@)","~(String,Function)","~(Expression0)","Statement0()","~(~())","List<String>()","~(String,@)","Null(Module0<AsyncCallable>,bool)","bool(UseRule0)","InterpolationMap(List<int>)","Uri?()","int(String,String)","String?(String?)","String?(Object)","bool(Statement)","String(String[String?])","bool(Import)","Set<0^>()<Object?>","Iterable<String>()","Iterable<String>(String)","Iterable<String>(@)","DateTime()","~(String[~])","int(int)","0&(String,FileSpan[StackTrace?])","~(@,@)","AtRootRule(List<Statement>,FileSpan)","AtRule(List<Statement>,FileSpan)","~(Object?,Object?)","String(String{color:@})","Entry(Entry)","double(double,String)","AstNode(AstNode)","SassFunction(List<Value>)","SassMixin(List<Value>)","Future<~>(List<Value>)","List<ExtensionStore>()","int(ComplexSelector)","bool(ModifiableCssParentNode)","AsyncCallable?(Module0<AsyncCallable>)","MapKeySet<Module0<AsyncCallable>>(Map<Module0<AsyncCallable>,AstNode>)","Future<SassNumber>()","JSUrl0(Uri)","List<CssComment>()","bool(UseRule)","bool(ForwardRule)","Map<String,AsyncCallable>(Module0<AsyncCallable>)","Future<String>()","Uri?/()","String(+(String,Value))","String(+(IfConditionExpression,String))","Future<Object>()","@(String)","SelectorList(Value)","AstNode?()","String(SassNumber)","Future<Value>(List<Value>)","~(List<Value>)","~([Object?])","SassNumber()","Expression(Expression)","~(double?[String?])","int(Frame)","String(Frame)","Callable0?(Module0<Callable0>)","Trace()","bool(Frame)","MapKeySet<Module0<Callable0>>(Map<Module0<Callable0>,AstNode>)","Map<String,Callable0>(Module0<Callable0>)","AsyncCallable0?(Module1<AsyncCallable0>)","MapKeySet<Module1<AsyncCallable0>>(Map<Module1<AsyncCallable0>,AstNode0>)","Map<String,AsyncCallable0>(Module1<AsyncCallable0>)","AstNode0(AstNode0)","SassFunction0(List<Value0>)","SassMixin0(List<Value0>)","Future<~>(List<Value0>)","~(Iterable<ExtensionStore>)","List<ExtensionStore0>()","bool(ModifiableCssParentNode0)","List<Extension>()","Future<SassNumber0>()","List<CssComment0>()","bool(ForwardRule0)","String(+(String,Value0))","String(+(IfConditionExpression0,String))","bool(Queue<List<ComplexSelectorComponent>>)","InterpolationMap0(List<int>)","AstNode0?()","String(SassNumber0)","0&(Object[Object?])","0&(@[@])","Object(CalculationOperation0)","Future<~>?()","bool(String?)","String(Value0)","double(Value0)","ImmutableList0(SassColor0)","Trace(String)","Future<NodeCompileResult>()","AsyncImporter0(Object?)","Set<0&>(Object)","Version(String)","~(Iterable<ExtensionStore0>)","Callable?(Module1<Callable>)","MapKeySet<Module1<Callable>>(Map<Module1<Callable>,AstNode0>)","Map<String,Callable>(Module1<Callable>)","double()","~(List<Value0>)","Value0?(Value0)","SassNumber0()","String(_NodeException)","double(Value)","List<Extension0>()","bool(Queue<List<ComplexSelectorComponent0>>)","bool(Statement0)","bool(Import0)","Value0?(Value0,num)","Value0(int)","Object(_NodeSassMap,int)","Null(_NodeSassMap,int,Object)","bool(SassNumber0)","ImmutableList0(SassNumber0)","bool(SassNumber0,String)","SassNumber0(SassNumber0,Object,Object[String?])","SassNumber0(SassNumber0,SassNumber0[String?,String?])","double(SassNumber0,Object,Object[String?])","double(SassNumber0,SassNumber0[String?,String?])","int(ComplexSelector0)","Expression0(Expression0)","SelectorList0(Value0)","FileLocation(FileSpan)","String(FileSpan)","int(SourceLocation)","~(int)","~(Object[StackTrace?])","StyleRule0(List<Statement0>,FileSpan)","AtRootRule0(List<Statement0>,FileSpan)","AtRule0(List<Statement0>,FileSpan)","int(@,@)","bool(Object?,Object?)","int(Object?)","String(double)","List<WatchEvent>(List<WatchEvent>)","~(List<Statement>)","ForRule(List<Statement>,FileSpan)","IfConditionExpression(IfConditionExpression)","Value?(Module0<Callable0>)","~(CssMediaQuery)","ContentBlock(List<Statement>,FileSpan)","~(SelectorList)","~(MapEntry<Value,Value>)","SourceFile()","SourceFile?(int)","String?(SourceFile?)","int(_Line)","Module0<Callable0>?(Module0<Callable0>)","Object(_Line)","Object(_Highlight)","int(_Highlight,_Highlight)","List<_Line>(MapEntry<Object,List<_Highlight>>)","SourceSpanWithContext()","List<Frame>(Trace)","int(Trace)","MediaRule(List<Statement>,FileSpan)","String(Trace)","MixinRule(List<Statement>,FileSpan)","~(@,StackTrace)","Frame(String,String)","SupportsRule(List<Statement>,FileSpan)","WhileRule(List<Statement>,FileSpan)","Frame(Frame)","~(Expression)","Map<String,Value>(Module0<Callable0>)","Map<String,AstNode>(Module0<Callable0>)","~(BinaryOperator)","SassArgumentList0(Object,Object,Object[String?])","ImmutableMap0(SassArgumentList0)","~(String,Option)","ArgParser()","Value0/(List<Value0>)","Value0?(Module1<AsyncCallable0>)","Module1<AsyncCallable0>?(Module1<AsyncCallable0>)","StringExpression(Interpolation)","DateTime(StylesheetNode)","Map<String,Value0>(Module1<AsyncCallable0>)","Map<String,AstNode0>(Module1<AsyncCallable0>)","bool(+originalUrl(Importer,Uri,Uri))","Set<Deprecation>()","Future<CssValue0<String>>(Interpolation0{trim:bool,warnForColor:bool})","Uri(+originalUrl(Importer,Uri,Uri))","~(+deprecation,message,span(Deprecation?,String,FileSpan))","Future<~>(String)","String(Parameter)","SelectorList(SelectorList?,SelectorList)","SassScriptException()","SassList(ComplexSelector)","SassString(SimpleSelector)","~(Module1<AsyncCallable0>,bool)","Future<+loadedUrls,stylesheet(Set<Uri>,CssStylesheet0)>()","Future<Module1<AsyncCallable0>>()","bool(Extension)","~(Module1<AsyncCallable0>)","SingleUnitSassNumber(double)","Future<CssValue<String>>(Interpolation{trim:bool,warnForColor:bool})","Set<ModifiableBox<SelectorList>>()","@(@,String)","Future<Value0?>(Value0)","SassString(int)","Future<CssValue0<String>>(Interpolation0)","Iterable<ComplexSelector>(List<ComplexSelector>)","~(Object?,List<JSObject>)","List<SimpleSelector>(Extender)","Iterable<ComplexSelector>(ComplexSelector)","Future<Value0?>(IfRuleClause0)","Future<CssValue<String>>(Interpolation)","SassString(String)","UserDefinedCallable0<AsyncEnvironment0>(ContentBlock0)","List<Extender>?(SimpleSelector)","List<Extender>(PseudoSelector)","List<List<Extender>>(List<Extender>)","List<ComplexSelector>(ComplexSelector)","PseudoSelector(ComplexSelector)","int(int,ComplexSelectorComponent)","~(int,@)","Future<Value0>(Expression0)","~(SimpleSelector,Set<ModifiableBox<SelectorList>>)","ModifiableBox<SelectorList>()","Value0/()","List<ComplexSelectorComponent>?(List<ComplexSelectorComponent>,List<ComplexSelectorComponent>)","~(Module0<AsyncCallable>,bool)","bool(List<Iterable<ComplexSelectorComponent>>)","Future<+loadedUrls,stylesheet(Set<Uri>,CssStylesheet)>()","Future<Module0<AsyncCallable>>()","SimpleSelector(SimpleSelector)","Future<+originalUrl(AsyncImporter0,Uri,Uri)?>()","Future<Stylesheet0?>()","bool(+originalUrl(AsyncImporter0,Uri,Uri))","Uri(+originalUrl(AsyncImporter0,Uri,Uri))","AtRootQuery0()","~(Symbol0,@)","~(Module0<AsyncCallable>)","bool(PseudoSelector)","SelectorList?(PseudoSelector)","SassCalculation0(Object[Object?,Object?])","SassCalculation0(SassCalculation0[String?])","ImmutableList(SassCalculation0)","Object(Object,String,Object,Object)","bool(CalculationOperator0)","bool(CalculationOperation0,Object)","int(CalculationOperation0)","String(CalculationOperation0)","Null(JSObject?,JSArray<Object?>)","CalculationInterpolation(Object,String)","bool(CalculationInterpolation,Object)","int(CalculationInterpolation)","String(CalculationInterpolation)","bool(CanonicalizeContext0)","JSUrl0?(CanonicalizeContext0)","Null(@,@)","String(CssValue<Combinator>)","Null(@,StackTrace)","Null(Function,Function)","String(String?)","String(int,IfClause)","bool(String?,String?)","SassColor0(SassColor0)","SassColor0(ColorSpace0)","Value?(Module0<AsyncCallable>)","0&(List<Value0>)","Module0<AsyncCallable>?(Module0<AsyncCallable>)","int(String?)","SassColor0(Object,_ConstructionOptions)","bool(SassColor0,Object)","SassColor0(SassColor0,String)","bool(SassColor0[String?])","SassColor0(SassColor0,_ToGamutOptions)","double(SassColor0,String[_ChannelOptions?])","bool(SassColor0,String)","bool(SassColor0,String[_ChannelOptions?])","SassColor0(SassColor0,_ConstructionOptions)","double?(String)","SassColor0(SassColor0,SassColor0[_InterpolationOptions?])","String(SassColor0)","bool(SassColor0)","Future<Value?>(Value)","Null(_NodeSassColor,num?[num?,num?,num?,SassColor0?])","double(num)","SassColor(SassColor)","double(_NodeSassColor)","AtRootQuery()","String(BuiltInCallable)","Map<String,Value>(Module0<AsyncCallable>)","AsyncImporter0(JSImporter)","0&(@)","SassColor(ColorSpace)","NodePackageImporter0(Object[String?])","List<CssMediaQuery>()","NodeCompileResult(Compiler,String[CompileOptions?])","NodeCompileResult(Compiler,String[CompileStringOptions?])","Null(Compiler)","Promise(AsyncCompiler,String[CompileOptions?])","Promise(AsyncCompiler,String[CompileStringOptions?])","Promise(AsyncCompiler)","Future<AsyncCompiler>()","int(int,ComplexSelectorComponent0)","String(CssValue0<Combinator0>)","int(int,SimpleSelector0)","String(BuiltInCallable0)","bool(Deprecation0)","Iterable<Deprecation0>()","Version(Object,int,int,int)","Future<@>()","int(int,SimpleSelector)","Value0?(Module1<Callable>)","Module1<Callable>?(Module1<Callable>)","Future<Value?>(IfRuleClause)","SelectorList()","Map<String,Value0>(Module1<Callable>)","Map<String,AstNode0>(Module1<Callable>)","CompoundSelector()","UserDefinedCallable<AsyncEnvironment>(ContentBlock)","CssValue0<String>(Interpolation0{trim:bool,warnForColor:bool})","bool(@)","Statement({root:bool})","String(Value)","+loadedUrls,stylesheet(Set<Uri>,CssStylesheet0)()","Module1<Callable>()","~(Module1<Callable>)","SelectorList(SelectorList,SelectorList)","0&(List<Value>)","Object(Value0)","0&(String,int?)","Value0?(IfRuleClause0)","UserDefinedCallable0<Environment0>(ContentBlock0)","Value0(Expression0)","Future<+originalUrl(AsyncImporter,Uri,Uri)?>()","FileSpan(_NodeException)","bool(Extension0)","Set<ModifiableBox0<SelectorList0>>()","Expression({bracketList:bool,consumeNewlines:bool,singleEquals:bool,until:bool()?})","NumberExpression()","Iterable<ComplexSelector0>(List<ComplexSelector0>)","Object(String)","List<SimpleSelector0>(Extender0)","List<Extender0>?(SimpleSelector0)","List<Extender0>(PseudoSelector0)","List<List<Extender0>>(List<Extender0>)","List<ComplexSelector0>(ComplexSelector0)","PseudoSelector0(ComplexSelector0)","~(SimpleSelector0,Set<ModifiableBox0<SelectorList0>>)","ModifiableBox0<SelectorList0>()","SassFunction0(Object,String,Value0(List<Value0>))","List<ComplexSelectorComponent0>?(List<ComplexSelectorComponent0>,List<ComplexSelectorComponent0>)","Stylesheet()","bool(List<Iterable<ComplexSelectorComponent0>>)","bool(Version)","bool(PseudoSelector0)","SelectorList0?(PseudoSelector0)","String(int,IfClause0)","Future<Value>(Expression)","Future<Stylesheet?>()","~(Object?,Object,Object?)","+(String,String)(String)","+originalUrl(Importer0,Uri,Uri)?()","Stylesheet0?()","bool(+originalUrl(Importer0,Uri,Uri))","Uri(+originalUrl(Importer0,Uri,Uri))","bool(+(IfConditionExpression0?,Expression0))","bool(IfConditionExpression0)","~(String,WarnOptions)","~(String,DebugOptions)","Null(RenderResult)","JSFunction0(JSFunction0)","Object?(Object,String,String[Object?])","Null(Object)","List<Value>(Value)","List<Value0>(Value0)","Future<~>(List<String>)","SassList0(ComplexSelector0)","Iterable<ComplexSelector0>(ComplexSelector0)","SimpleSelector0(SimpleSelector0)","SassList0(Object[Object?,_ConstructorOptions?])","bool(+originalUrl(AsyncImporter,Uri,Uri))","Null(_NodeSassList,int?[bool?,SassList0?])","Uri(+originalUrl(AsyncImporter,Uri,Uri))","Object(_NodeSassList,int)","Null(_NodeSassList,int,Object)","bool(_NodeSassList)","Null(_NodeSassList,bool)","int(_NodeSassList)","SassMap0(Value0)","SassMap0(SassMap0)","SassMap0(Object[ImmutableMap0?])","ImmutableMap0(SassMap0)","Value0?(SassMap0,Object)","Null(_NodeSassMap,int?[SassMap0?])","SassNumber0(int)","Statement?()","int(_NodeSassMap)","Value/()","SassNumber0(Value0)","List<CssMediaQuery0>()","Value0(Object)","0&(Object)","bool(ModifiableCssNode0)","SassNumber0(Object,num[Object?])","ParameterList()","int?(SassNumber0)","Object?(Object?)","int(SassNumber0[String?])","double(SassNumber0,num,num[String?])","SassNumber0(SassNumber0[String?])","SassNumber0(SassNumber0,String[String?])","VariableDeclaration()","UseRule()","StyleRule(List<Statement>,FileSpan)","CssValue<String>(Interpolation{trim:bool,warnForColor:bool})","Declaration(List<Statement>,FileSpan)","Null(_NodeSassNumber,num?[String?,SassNumber0?])","double(_NodeSassNumber)","Null(_NodeSassNumber,num)","String(_NodeSassNumber)","Null(_NodeSassNumber,String)","SassScriptException0()","String(Parameter0)","JSExpressionVisitor(JSExpressionVisitorObject)","JSIfConditionExpressionVisitor(JSIfConditionExpressionVisitorObject)","JSStatementVisitor(JSStatementVisitorObject)","JSSimpleSelectorVisitor(JSSimpleSelectorVisitorObject)","SourceFile(String)","JSSet(Set<Object?>)","SourceFile(LazyFileSpan0)","int(LazyFileSpan0)","Uri?(LazyFileSpan0)","String(SourceFile,int[int?])","FileSpan(SourceFile,int[int?])","List<int>(SourceFile)","String?(Interpolation0)","Object?(Statement0,StatementVisitor<Object?>)","Object?(Expression0,ExpressionVisitor<Object?>)","Object?(InterpolatedSelector,InterpolatedSelectorVisitor<Object?>)","Object?(IfConditionExpression0,IfConditionExpressionVisitor<Object?>)","ArgumentList0(IncludeRule0)","ArgumentList0(ContentRule0)","ArgumentList0(FunctionExpression0)","ArgumentList0(LegacyIfExpression0)","ArgumentList0(InterpolatedFunctionExpression0)","Interpolation0(IfConditionFunction0)","FileSpan(AstNode0)","Interpolation0(SupportsCondition)","~([Future<~>?])","String(Object,@,@[@])","bool(List<Value>)","Value/(List<Value>)","IfConditionExpression0(IfConditionExpression0)","+loadedUrls,stylesheet(Set<Uri>,CssStylesheet)()","SelectorList0(SelectorList0?,SelectorList0)","SelectorList0(SelectorList0,SelectorList0)","SassString0(SimpleSelector0)","SelectorList0()","CompoundSelector0()","~(CssMediaQuery0)","~(SelectorList0)","~(MapEntry<Value0,Value0>)","SingleUnitSassNumber0(double)","bool(ModifiableCssNode)","~(IfConditionExpression0)","Module0<Callable0>()","JSUrl0?(FileSpan)","bool(List<Value0>)","~(Module0<Callable0>)","Value?(Value)","SassString0(int)","SassString0(String)","EachRule(List<Statement>,FileSpan)","SassString0(Object[Object?,_ConstructorOptions1?])","String(SassString0)","bool(SassString0)","int(SassString0)","int(SassString0,Value0[String?])","Null(_NodeSassString,String?[SassString0?])","String(_NodeSassString)","Null(_NodeSassString,String)","Statement0({root:bool})","CssValue<String>(Interpolation)","NumberExpression0()","Stylesheet0()","Statement0?()","ParameterList0()","+(String,ParameterList0)()","FunctionRule(List<Statement>,FileSpan)","Declaration0(List<Statement0>,FileSpan)","Value?(IfRuleClause)","EachRule0(List<Statement0>,FileSpan)","FunctionRule0(List<Statement0>,FileSpan)","ForRule0(List<Statement0>,FileSpan)","ContentBlock0(List<Statement0>,FileSpan)","MediaRule0(List<Statement0>,FileSpan)","MixinRule0(List<Statement0>,FileSpan)","UserDefinedCallable<Environment>(ContentBlock)","SupportsRule0(List<Statement0>,FileSpan)","WhileRule0(List<Statement0>,FileSpan)","~(BinaryOperator0)","StringExpression0(Interpolation0)","Null(~(Object?),~(Object?))","ImmutableList0(Value0)","String?(Value0)","int(Value0,Value0[String?])","SassBoolean0(Value0[String?])","SassCalculation0(Value0[String?])","SassColor0(Value0[String?])","SassFunction0(Value0[String?])","SassMap0(Value0[String?])","SassMixin0(Value0[String?])","SassNumber0(Value0[String?])","SassString0(Value0[String?])","SassMap0?(Value0)","bool(Value0,Object?)","int(Value0[Object?])","Value(Expression)","SassMap(Value)","~(Zone?,ZoneDelegate?,Zone,Object,StackTrace)","0^(Zone?,ZoneDelegate?,Zone,0^())<Object?>","0^(Zone?,ZoneDelegate?,Zone,0^(1^),1^)<Object?,Object?>","0^(Zone?,ZoneDelegate?,Zone,0^(1^,2^),1^,2^)<Object?,Object?,Object?>","0^()(Zone,ZoneDelegate,Zone,0^())<Object?>","0^(1^)(Zone,ZoneDelegate,Zone,0^(1^))<Object?,Object?>","0^(1^,2^)(Zone,ZoneDelegate,Zone,0^(1^,2^))<Object?,Object?,Object?>","AsyncError?(Zone,ZoneDelegate,Zone,Object,StackTrace?)","~(Zone?,ZoneDelegate?,Zone,~())","Timer(Zone,ZoneDelegate,Zone,Duration,~())","Timer(Zone,ZoneDelegate,Zone,Duration,~(Timer))","~(Zone,ZoneDelegate,Zone,String)","Zone(Zone?,ZoneDelegate?,Zone,ZoneSpecification?,Map<Object?,Object?>?)","bool(Deprecation)","bool(+(IfConditionExpression?,Expression))","0^(0^,0^)<num>","SassMap(SassMap)","bool(IfConditionExpression)","~(Object,StackTrace,EventSink<0^>)<Object?>","List<0^>(0^,List<0^>?)<Object?>","NodeCompileResult(String[CompileOptions?])","NodeCompileResult(String[CompileStringOptions?])","Promise(String[CompileOptions?])","Promise(String[CompileStringOptions?])","Importer0(Object?)","Compiler()","Promise()","List<Object?>(Object?)","~(RenderOptions,~(Object?,RenderResult?))","RenderResult(RenderOptions)","ParserExports()","Stylesheet0(String,String,String?)","String?(String)","Uri(JSUrl0)","Object(Map<String,Object?>)","String(String[String?,String?,String?,String?,String?,String?,String?,String?,String?,String?,String?,String?,String?,String?])","String(Object?)","SassNumber(Value)","Value(Object)","~(ContentBlock)","Map<String,AstNode>(Module0<AsyncCallable>)","CssValue0<String>(Interpolation0)"],interceptorsByTag:null,leafTags:null,arrayRti:Symbol("$ti"),rttc:{"1;":e=>t=>t instanceof A._Record_1&&e._is(t._0),"2;":(e,t)=>r=>r instanceof A._Record_2&&e._is(r._0)&&t._is(r._1),"2;forImport":(e,t)=>r=>r instanceof A._Record_2_forImport&&e._is(r._0)&&t._is(r._1),"2;sourceMap":(e,t)=>r=>r instanceof A._Record_2_sourceMap&&e._is(r._0)&&t._is(r._1),"2;imports,modules":(e,t)=>r=>r instanceof A._Record_2_imports_modules&&e._is(r._0)&&t._is(r._1),"2;loadedUrls,stylesheet":(e,t)=>r=>r instanceof A._Record_2_loadedUrls_stylesheet&&e._is(r._0)&&t._is(r._1),"3;":(e,t,r)=>n=>n instanceof A._Record_3&&e._is(n._0)&&t._is(n._1)&&r._is(n._2),"3;forImport":(e,t,r)=>n=>n instanceof A._Record_3_forImport&&e._is(n._0)&&t._is(n._1)&&r._is(n._2),"3;originalUrl":(e,t,r)=>n=>n instanceof A._Record_3_originalUrl&&e._is(n._0)&&t._is(n._1)&&r._is(n._2),"3;importer,isDependency":(e,t,r)=>n=>n instanceof A._Record_3_importer_isDependency&&e._is(n._0)&&t._is(n._1)&&r._is(n._2),"3;deprecation,message,span":(e,t,r)=>n=>n instanceof A._Record_3_deprecation_message_span&&e._is(n._0)&&t._is(n._1)&&r._is(n._2),"5;named,namedNodes,positional,positionalNodes,separator":e=>t=>t instanceof A._Record_5_named_namedNodes_positional_positionalNodes_separator&&A.pairwiseIsTest(e,t._values)}};A._Universe_addRules(M.typeUniverse,JSON.parse('{"PlainJavaScriptObject":"LegacyJavaScriptObject","UnknownJavaScriptObject":"LegacyJavaScriptObject","JavaScriptFunction":"LegacyJavaScriptObject","Stdin":"LegacyJavaScriptObject","Stdout":"LegacyJavaScriptObject","ReadlineModule":"LegacyJavaScriptObject","ReadlineOptions":"LegacyJavaScriptObject","ReadlineInterface":"LegacyJavaScriptObject","BufferModule":"LegacyJavaScriptObject","BufferConstants":"LegacyJavaScriptObject","Buffer":"LegacyJavaScriptObject","ConsoleModule":"LegacyJavaScriptObject","Console":"LegacyJavaScriptObject","EventEmitter":"LegacyJavaScriptObject","FS":"LegacyJavaScriptObject","FSConstants":"LegacyJavaScriptObject","Realpath":"LegacyJavaScriptObject","RealpathSync":"LegacyJavaScriptObject","FSWatcher":"LegacyJavaScriptObject","ReadStream":"LegacyJavaScriptObject","ReadStreamOptions":"LegacyJavaScriptObject","WriteStream":"LegacyJavaScriptObject","WriteStreamOptions":"LegacyJavaScriptObject","FileOptions":"LegacyJavaScriptObject","StatOptions":"LegacyJavaScriptObject","MkdirOptions":"LegacyJavaScriptObject","RmdirOptions":"LegacyJavaScriptObject","WatchOptions":"LegacyJavaScriptObject","WatchFileOptions":"LegacyJavaScriptObject","Stats":"LegacyJavaScriptObject","Promise":"LegacyJavaScriptObject","Date":"LegacyJavaScriptObject","JsError":"LegacyJavaScriptObject","Atomics":"LegacyJavaScriptObject","Modules":"LegacyJavaScriptObject","Module":"LegacyJavaScriptObject","Net":"LegacyJavaScriptObject","Socket":"LegacyJavaScriptObject","NetAddress":"LegacyJavaScriptObject","NetServer":"LegacyJavaScriptObject","NodeJsError":"LegacyJavaScriptObject","JsAssertionError":"LegacyJavaScriptObject","JsRangeError":"LegacyJavaScriptObject","JsReferenceError":"LegacyJavaScriptObject","JsSyntaxError":"LegacyJavaScriptObject","JsTypeError":"LegacyJavaScriptObject","JsSystemError":"LegacyJavaScriptObject","Process":"LegacyJavaScriptObject","CPUUsage":"LegacyJavaScriptObject","Release":"LegacyJavaScriptObject","StreamModule":"LegacyJavaScriptObject","Readable":"LegacyJavaScriptObject","Writable":"LegacyJavaScriptObject","Duplex":"LegacyJavaScriptObject","Transform":"LegacyJavaScriptObject","WritableOptions":"LegacyJavaScriptObject","ReadableOptions":"LegacyJavaScriptObject","Immediate":"LegacyJavaScriptObject","Timeout":"LegacyJavaScriptObject","TTY":"LegacyJavaScriptObject","TTYReadStream":"LegacyJavaScriptObject","TTYWriteStream":"LegacyJavaScriptObject","Util":"LegacyJavaScriptObject","JSArray0":"LegacyJavaScriptObject","Chokidar":"LegacyJavaScriptObject","ChokidarOptions":"LegacyJavaScriptObject","ChokidarWatcher":"LegacyJavaScriptObject","JSFunction":"LegacyJavaScriptObject","ImmutableList":"LegacyJavaScriptObject","ImmutableMap":"LegacyJavaScriptObject","NodeImporterResult":"LegacyJavaScriptObject","RenderContext":"LegacyJavaScriptObject","RenderContextOptions":"LegacyJavaScriptObject","RenderContextResult":"LegacyJavaScriptObject","RenderContextResultStats":"LegacyJavaScriptObject","JSModule":"LegacyJavaScriptObject","JSModuleRequire":"LegacyJavaScriptObject","JSClass":"LegacyJavaScriptObject","JSUrl":"LegacyJavaScriptObject","_PropertyDescriptor":"LegacyJavaScriptObject","_RequireMain":"LegacyJavaScriptObject","JSArray1":"LegacyJavaScriptObject","Chokidar0":"LegacyJavaScriptObject","ChokidarOptions0":"LegacyJavaScriptObject","ChokidarWatcher0":"LegacyJavaScriptObject","_ConstructionOptions":"LegacyJavaScriptObject","_ChannelOptions":"LegacyJavaScriptObject","_ToGamutOptions":"LegacyJavaScriptObject","_InterpolationOptions":"LegacyJavaScriptObject","_Channels":"LegacyJavaScriptObject","_NodeSassColor":"LegacyJavaScriptObject","CompileOptions":"LegacyJavaScriptObject","CompileStringOptions":"LegacyJavaScriptObject","NodeCompileResult":"LegacyJavaScriptObject","Deprecation1":"LegacyJavaScriptObject","_NodeException":"LegacyJavaScriptObject","Exports":"LegacyJavaScriptObject","LoggerNamespace":"LegacyJavaScriptObject","JSExpressionVisitorObject":"LegacyJavaScriptObject","Fiber":"LegacyJavaScriptObject","FiberClass":"LegacyJavaScriptObject","JSFunction0":"LegacyJavaScriptObject","JSIfConditionExpressionVisitorObject":"LegacyJavaScriptObject","ImmutableList0":"LegacyJavaScriptObject","ImmutableMap0":"LegacyJavaScriptObject","JSImporter":"LegacyJavaScriptObject","JSImporterResult":"LegacyJavaScriptObject","NodeImporterResult0":"LegacyJavaScriptObject","_ConstructorOptions":"LegacyJavaScriptObject","_NodeSassList":"LegacyJavaScriptObject","WarnOptions":"LegacyJavaScriptObject","DebugOptions":"LegacyJavaScriptObject","JSLogger":"LegacyJavaScriptObject","_NodeSassMap":"LegacyJavaScriptObject","JSModule0":"LegacyJavaScriptObject","JSModuleRequire0":"LegacyJavaScriptObject","_ConstructorOptions0":"LegacyJavaScriptObject","_NodeSassNumber":"LegacyJavaScriptObject","ParserExports":"LegacyJavaScriptObject","JSClass0":"LegacyJavaScriptObject","RenderContext0":"LegacyJavaScriptObject","RenderContextOptions0":"LegacyJavaScriptObject","RenderContextResult0":"LegacyJavaScriptObject","RenderContextResultStats0":"LegacyJavaScriptObject","RenderOptions":"LegacyJavaScriptObject","RenderResult":"LegacyJavaScriptObject","RenderResultStats":"LegacyJavaScriptObject","_Exports":"LegacyJavaScriptObject","JSSet":"LegacyJavaScriptObject","JSSimpleSelectorVisitorObject":"LegacyJavaScriptObject","JSStatementVisitorObject":"LegacyJavaScriptObject","_ConstructorOptions1":"LegacyJavaScriptObject","_NodeSassString":"LegacyJavaScriptObject","Types":"LegacyJavaScriptObject","JSUrl0":"LegacyJavaScriptObject","_PropertyDescriptor0":"LegacyJavaScriptObject","_RequireMain0":"LegacyJavaScriptObject","NativeArrayBuffer":"NativeByteBuffer","JSArray":{"List":["1"],"EfficientLengthIterable":["1"],"JSObject":[],"Iterable":["1"]},"JSBool":{"bool":[],"TrustedGetRuntimeType":[]},"JSNull":{"Null":[],"TrustedGetRuntimeType":[]},"JavaScriptObject":{"JSObject":[]},"LegacyJavaScriptObject":{"JSObject":[],"Promise":[],"JsSystemError":[],"ImmutableList":[],"_ConstructionOptions":[],"_ChannelOptions":[],"_ToGamutOptions":[],"_InterpolationOptions":[],"_NodeSassColor":[],"CompileOptions":[],"CompileStringOptions":[],"NodeCompileResult":[],"Deprecation1":[],"_NodeException":[],"JSExpressionVisitorObject":[],"Fiber":[],"JSFunction0":[],"JSIfConditionExpressionVisitorObject":[],"ImmutableList0":[],"ImmutableMap0":[],"JSImporter":[],"JSImporterResult":[],"NodeImporterResult0":[],"_ConstructorOptions":[],"_NodeSassList":[],"WarnOptions":[],"DebugOptions":[],"_NodeSassMap":[],"_ConstructorOptions0":[],"_NodeSassNumber":[],"ParserExports":[],"JSClass0":[],"RenderContextOptions0":[],"RenderOptions":[],"RenderResult":[],"JSSet":[],"JSSimpleSelectorVisitorObject":[],"JSStatementVisitorObject":[],"_ConstructorOptions1":[],"_NodeSassString":[],"JSUrl0":[]},"JSArraySafeToStringHook":{"SafeToStringHook":[]},"JSUnmodifiableArray":{"JSArray":["1"],"List":["1"],"EfficientLengthIterable":["1"],"JSObject":[],"Iterable":["1"]},"JSNumber":{"double":[],"num":[],"Comparable":["num"]},"JSInt":{"double":[],"int":[],"num":[],"Comparable":["num"],"TrustedGetRuntimeType":[]},"JSNumNotInt":{"double":[],"num":[],"Comparable":["num"],"TrustedGetRuntimeType":[]},"JSString":{"String":[],"Comparable":["String"],"TrustedGetRuntimeType":[]},"_CastIterableBase":{"Iterable":["2"]},"CastIterable":{"_CastIterableBase":["1","2"],"Iterable":["2"],"Iterable.E":"2"},"_EfficientLengthCastIterable":{"CastIterable":["1","2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"_CastListBase":{"ListBase":["2"],"List":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"]},"CastList":{"_CastListBase":["1","2"],"ListBase":["2"],"List":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"ListBase.E":"2","Iterable.E":"2"},"CastSet":{"Set":["2"],"_CastIterableBase":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"CastMap":{"MapBase":["3","4"],"Map":["3","4"],"MapBase.K":"3","MapBase.V":"4"},"LateError":{"Error":[]},"CodeUnits":{"ListBase":["int"],"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"],"ListBase.E":"int"},"EfficientLengthIterable":{"Iterable":["1"]},"ListIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"SubListIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListIterable.E":"1","Iterable.E":"1"},"MappedIterable":{"Iterable":["2"],"Iterable.E":"2"},"EfficientLengthMappedIterable":{"MappedIterable":["1","2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"MappedListIterable":{"ListIterable":["2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"ListIterable.E":"2","Iterable.E":"2"},"WhereIterable":{"Iterable":["1"],"Iterable.E":"1"},"ExpandIterable":{"Iterable":["2"],"Iterable.E":"2"},"TakeIterable":{"Iterable":["1"],"Iterable.E":"1"},"EfficientLengthTakeIterable":{"TakeIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"SkipIterable":{"Iterable":["1"],"Iterable.E":"1"},"EfficientLengthSkipIterable":{"SkipIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"SkipWhileIterable":{"Iterable":["1"],"Iterable.E":"1"},"EmptyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"FollowedByIterable":{"Iterable":["1"],"Iterable.E":"1"},"EfficientLengthFollowedByIterable":{"FollowedByIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"WhereTypeIterable":{"Iterable":["1"],"Iterable.E":"1"},"NonNullsIterable":{"Iterable":["1"],"Iterable.E":"1"},"UnmodifiableListBase":{"ListBase":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"ReversedListIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListIterable.E":"1","Iterable.E":"1"},"Symbol":{"Symbol0":[]},"ConstantMapView":{"UnmodifiableMapView":["1","2"],"MapView":["1","2"],"_UnmodifiableMapMixin":["1","2"],"Map":["1","2"]},"ConstantMap":{"Map":["1","2"]},"ConstantStringMap":{"ConstantMap":["1","2"],"Map":["1","2"]},"_KeysOrValues":{"Iterable":["1"],"Iterable.E":"1"},"ConstantSet":{"SetBase":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"ConstantStringSet":{"SetBase":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"GeneralConstantSet":{"SetBase":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"Instantiation":{"Function":[]},"Instantiation1":{"Function":[]},"NullError":{"TypeError":[],"Error":[]},"JsNoSuchMethodError":{"Error":[]},"UnknownJsTypeError":{"Error":[]},"NullThrownFromJavaScriptException":{"Exception":[]},"_StackTrace":{"StackTrace":[]},"Closure":{"Function":[]},"Closure0Args":{"Function":[]},"Closure2Args":{"Function":[]},"TearOffClosure":{"Function":[]},"StaticClosure":{"Function":[]},"BoundClosure":{"Function":[]},"RuntimeError":{"Error":[]},"JsLinkedHashMap":{"MapBase":["1","2"],"Map":["1","2"],"MapBase.K":"1","MapBase.V":"2"},"LinkedHashMapKeysIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"LinkedHashMapValuesIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"LinkedHashMapEntriesIterable":{"EfficientLengthIterable":["MapEntry<1,2>"],"Iterable":["MapEntry<1,2>"],"Iterable.E":"MapEntry<1,2>"},"JsIdentityLinkedHashMap":{"JsLinkedHashMap":["1","2"],"MapBase":["1","2"],"Map":["1","2"],"MapBase.K":"1","MapBase.V":"2"},"JsConstantLinkedHashMap":{"JsLinkedHashMap":["1","2"],"MapBase":["1","2"],"Map":["1","2"],"MapBase.K":"1","MapBase.V":"2"},"_MatchImplementation":{"RegExpMatch":[],"Match":[]},"_AllMatchesIterable":{"Iterable":["RegExpMatch"],"Iterable.E":"RegExpMatch"},"StringMatch":{"Match":[]},"_StringAllMatchesIterable":{"Iterable":["Match"],"Iterable.E":"Match"},"NativeByteBuffer":{"JSObject":[],"ByteBuffer":[],"TrustedGetRuntimeType":[]},"NativeTypedData":{"JSObject":[]},"NativeByteData":{"ByteData":[],"JSObject":[],"TrustedGetRuntimeType":[]},"NativeTypedArray":{"JavaScriptIndexingBehavior":["1"],"JSObject":[]},"NativeTypedArrayOfDouble":{"ListBase":["double"],"List":["double"],"JavaScriptIndexingBehavior":["double"],"EfficientLengthIterable":["double"],"JSObject":[],"Iterable":["double"]},"NativeTypedArrayOfInt":{"ListBase":["int"],"List":["int"],"JavaScriptIndexingBehavior":["int"],"EfficientLengthIterable":["int"],"JSObject":[],"Iterable":["int"]},"NativeFloat32List":{"NativeTypedArrayOfDouble":[],"Float32List":[],"ListBase":["double"],"List":["double"],"JavaScriptIndexingBehavior":["double"],"EfficientLengthIterable":["double"],"JSObject":[],"Iterable":["double"],"TrustedGetRuntimeType":[],"ListBase.E":"double"},"NativeFloat64List":{"NativeTypedArrayOfDouble":[],"Float64List":[],"ListBase":["double"],"List":["double"],"JavaScriptIndexingBehavior":["double"],"EfficientLengthIterable":["double"],"JSObject":[],"Iterable":["double"],"TrustedGetRuntimeType":[],"ListBase.E":"double"},"NativeInt16List":{"NativeTypedArrayOfInt":[],"Int16List":[],"ListBase":["int"],"List":["int"],"JavaScriptIndexingBehavior":["int"],"EfficientLengthIterable":["int"],"JSObject":[],"Iterable":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int"},"NativeInt32List":{"NativeTypedArrayOfInt":[],"Int32List":[],"ListBase":["int"],"List":["int"],"JavaScriptIndexingBehavior":["int"],"EfficientLengthIterable":["int"],"JSObject":[],"Iterable":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int"},"NativeInt8List":{"NativeTypedArrayOfInt":[],"Int8List":[],"ListBase":["int"],"List":["int"],"JavaScriptIndexingBehavior":["int"],"EfficientLengthIterable":["int"],"JSObject":[],"Iterable":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int"},"NativeUint16List":{"NativeTypedArrayOfInt":[],"Uint16List":[],"ListBase":["int"],"List":["int"],"JavaScriptIndexingBehavior":["int"],"EfficientLengthIterable":["int"],"JSObject":[],"Iterable":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int"},"NativeUint32List":{"NativeTypedArrayOfInt":[],"Uint32List":[],"ListBase":["int"],"List":["int"],"JavaScriptIndexingBehavior":["int"],"EfficientLengthIterable":["int"],"JSObject":[],"Iterable":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int"},"NativeUint8ClampedList":{"NativeTypedArrayOfInt":[],"Uint8ClampedList":[],"ListBase":["int"],"List":["int"],"JavaScriptIndexingBehavior":["int"],"EfficientLengthIterable":["int"],"JSObject":[],"Iterable":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int"},"NativeUint8List":{"NativeTypedArrayOfInt":[],"Uint8List":[],"ListBase":["int"],"List":["int"],"JavaScriptIndexingBehavior":["int"],"EfficientLengthIterable":["int"],"JSObject":[],"Iterable":["int"],"TrustedGetRuntimeType":[],"ListBase.E":"int"},"_Error":{"Error":[]},"_TypeError":{"TypeError":[],"Error":[]},"AsyncError":{"Error":[]},"_SyncStarIterable":{"Iterable":["1"],"Iterable.E":"1"},"_AsyncCompleter":{"_Completer":["1"]},"_SyncCompleter":{"_Completer":["1"]},"_Future":{"Future":["1"]},"_StreamController":{"EventSink":["1"]},"_AsyncStreamController":{"_StreamController":["1"],"EventSink":["1"]},"_SyncStreamController":{"_StreamController":["1"],"EventSink":["1"]},"_ControllerStream":{"_StreamImpl":["1"],"Stream":["1"],"Stream.T":"1"},"_ControllerSubscription":{"_BufferingStreamSubscription":["1"],"StreamSubscription":["1"],"_BufferingStreamSubscription.T":"1"},"_BufferingStreamSubscription":{"StreamSubscription":["1"],"_BufferingStreamSubscription.T":"1"},"_StreamImpl":{"Stream":["1"]},"_ForwardingStream":{"Stream":["2"]},"_ForwardingStreamSubscription":{"_BufferingStreamSubscription":["2"],"StreamSubscription":["2"],"_BufferingStreamSubscription.T":"2"},"_MapStream":{"_ForwardingStream":["1","2"],"Stream":["2"],"Stream.T":"2"},"_Zone":{"Zone":[]},"_CustomZone":{"Zone":[]},"_RootZone":{"Zone":[]},"_ZoneDelegate":{"ZoneDelegate":[]},"_ZoneSpecification":{"ZoneSpecification":[]},"Queue":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"_HashMap":{"MapBase":["1","2"],"Map":["1","2"],"MapBase.K":"1","MapBase.V":"2"},"_IdentityHashMap":{"_HashMap":["1","2"],"MapBase":["1","2"],"Map":["1","2"],"MapBase.K":"1","MapBase.V":"2"},"_HashMapKeyIterable":{"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"_LinkedCustomHashMap":{"JsLinkedHashMap":["1","2"],"MapBase":["1","2"],"Map":["1","2"],"MapBase.K":"1","MapBase.V":"2"},"_LinkedHashSet":{"_SetBase":["1"],"SetBase":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_LinkedIdentityHashSet":{"_LinkedHashSet":["1"],"_SetBase":["1"],"SetBase":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"UnmodifiableListView":{"ListBase":["1"],"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListBase.E":"1"},"ListBase":{"List":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"MapBase":{"Map":["1","2"]},"UnmodifiableMapBase":{"MapBase":["1","2"],"_UnmodifiableMapMixin":["1","2"],"Map":["1","2"]},"_MapBaseValueIterable":{"EfficientLengthIterable":["2"],"Iterable":["2"],"Iterable.E":"2"},"MapView":{"Map":["1","2"]},"UnmodifiableMapView":{"MapView":["1","2"],"_UnmodifiableMapMixin":["1","2"],"Map":["1","2"]},"ListQueue":{"Queue":["1"],"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListIterable.E":"1","Iterable.E":"1"},"SetBase":{"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_SetBase":{"SetBase":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"UnmodifiableSetView":{"SetBase":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_JsonMap":{"MapBase":["String","@"],"Map":["String","@"],"MapBase.K":"String","MapBase.V":"@"},"_JsonMapKeyIterable":{"ListIterable":["String"],"EfficientLengthIterable":["String"],"Iterable":["String"],"ListIterable.E":"String","Iterable.E":"String"},"AsciiCodec":{"Codec":["String","List<int>"]},"_UnicodeSubsetEncoder":{"Converter":["String","List<int>"]},"AsciiEncoder":{"Converter":["String","List<int>"]},"Base64Codec":{"Codec":["List<int>","String"]},"Base64Encoder":{"Converter":["List<int>","String"]},"Encoding":{"Codec":["String","List<int>"]},"JsonUnsupportedObjectError":{"Error":[]},"JsonCyclicError":{"Error":[]},"JsonCodec":{"Codec":["Object?","String"]},"JsonEncoder":{"Converter":["Object?","String"]},"JsonDecoder":{"Converter":["String","Object?"]},"Utf8Codec":{"Codec":["String","List<int>"]},"Utf8Encoder":{"Converter":["String","List<int>"]},"Utf8Decoder":{"Converter":["List<int>","String"]},"DateTime":{"Comparable":["DateTime"]},"double":{"num":[],"Comparable":["num"]},"Duration":{"Comparable":["Duration"]},"int":{"num":[],"Comparable":["num"]},"List":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"num":{"Comparable":["num"]},"RegExpMatch":{"Match":[]},"Set":{"EfficientLengthIterable":["1"],"Iterable":["1"]},"String":{"Comparable":["String"]},"AssertionError":{"Error":[]},"TypeError":{"Error":[]},"ArgumentError":{"Error":[]},"RangeError":{"Error":[]},"IndexError":{"RangeError":[],"Error":[]},"NoSuchMethodError":{"Error":[]},"UnsupportedError":{"Error":[]},"UnimplementedError":{"Error":[]},"StateError":{"Error":[]},"ConcurrentModificationError":{"Error":[]},"OutOfMemoryError":{"Error":[]},"StackOverflowError":{"Error":[]},"_Exception":{"Exception":[]},"FormatException":{"Exception":[]},"_GeneratorIterable":{"ListIterable":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListIterable.E":"1","Iterable.E":"1"},"_StringStackTrace":{"StackTrace":[]},"Runes":{"Iterable":["int"],"Iterable.E":"int"},"_Uri":{"_PlatformUri":[],"Uri":[]},"_SimpleUri":{"_PlatformUri":[],"Uri":[]},"_DataUri":{"_PlatformUri":[],"Uri":[]},"NullRejectionException":{"Exception":[]},"ArgParserException":{"FormatException":[],"Exception":[]},"ErrorResult":{"Result":["0&"]},"ValueResult":{"Result":["1"]},"_CompleterStream":{"Stream":["1"],"Stream.T":"1"},"_NextRequest":{"_EventRequest":["1"]},"EmptyUnmodifiableSet":{"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"Iterable.E":"1"},"QueueList":{"ListBase":["1"],"List":["1"],"Queue":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"],"ListBase.E":"1","QueueList.E":"1"},"_CastQueueList":{"QueueList":["2"],"ListBase":["2"],"List":["2"],"Queue":["2"],"EfficientLengthIterable":["2"],"Iterable":["2"],"ListBase.E":"2","QueueList.E":"2"},"UnionSet":{"SetBase":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"UnmodifiableSetView0":{"DelegatingSet":["1"],"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"MapKeySet":{"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"_DelegatingIterableBase":{"Iterable":["1"]},"DelegatingSet":{"Set":["1"],"EfficientLengthIterable":["1"],"Iterable":["1"]},"PathException":{"Exception":[]},"PathMap":{"MapView":["String?","1"],"Map":["String?","1"]},"Version":{"VersionRange":[],"Comparable":["VersionRange"]},"VersionRange":{"Comparable":["VersionRange"]},"ModifiableCssAtRule":{"ModifiableCssParentNode":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssComment":{"ModifiableCssNode":[],"CssComment":[],"CssNode":[],"AstNode":[]},"ModifiableCssDeclaration":{"ModifiableCssNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssImport":{"ModifiableCssNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssKeyframeBlock":{"ModifiableCssParentNode":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssMediaRule":{"ModifiableCssParentNode":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssNode":{"CssNode":[],"AstNode":[]},"ModifiableCssParentNode":{"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssStyleRule":{"ModifiableCssParentNode":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssStylesheet":{"ModifiableCssParentNode":[],"CssStylesheet":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"ModifiableCssSupportsRule":{"ModifiableCssParentNode":[],"ModifiableCssNode":[],"CssParentNode":[],"CssNode":[],"AstNode":[]},"CssNode":{"AstNode":[]},"CssParentNode":{"CssNode":[],"AstNode":[]},"CssStylesheet":{"CssParentNode":[],"CssNode":[],"AstNode":[]},"CssValue":{"AstNode":[]},"_FakeAstNode":{"AstNode":[]},"ArgumentList":{"AstNode":[]},"ConfiguredVariable":{"AstNode":[]},"Expression":{"AstNode":[]},"BinaryOperationExpression":{"Expression":[],"AstNode":[]},"BooleanExpression":{"Expression":[],"AstNode":[]},"ColorExpression":{"Expression":[],"AstNode":[]},"FunctionExpression":{"Expression":[],"AstNode":[]},"IfConditionExpression":{"AstNode":[]},"IfExpression":{"Expression":[],"AstNode":[]},"IfConditionParenthesized":{"IfConditionExpression":[],"AstNode":[]},"IfConditionNegation":{"IfConditionExpression":[],"AstNode":[]},"IfConditionOperation":{"IfConditionExpression":[],"AstNode":[]},"IfConditionFunction":{"IfConditionExpression":[],"AstNode":[]},"IfConditionSass":{"IfConditionExpression":[],"AstNode":[]},"IfConditionRaw":{"IfConditionExpression":[],"AstNode":[]},"InterpolatedFunctionExpression":{"Expression":[],"AstNode":[]},"LegacyIfExpression":{"Expression":[],"AstNode":[]},"ListExpression":{"Expression":[],"AstNode":[]},"MapExpression":{"Expression":[],"AstNode":[]},"NullExpression":{"Expression":[],"AstNode":[]},"NumberExpression":{"Expression":[],"AstNode":[]},"ParenthesizedExpression":{"Expression":[],"AstNode":[]},"SelectorExpression":{"Expression":[],"AstNode":[]},"StringExpression":{"Expression":[],"AstNode":[]},"SupportsExpression":{"Expression":[],"AstNode":[]},"UnaryOperationExpression":{"Expression":[],"AstNode":[]},"ValueExpression":{"Expression":[],"AstNode":[]},"VariableExpression":{"Expression":[],"AstNode":[]},"DynamicImport":{"Import":[],"AstNode":[]},"StaticImport":{"Import":[],"AstNode":[]},"Interpolation":{"AstNode":[]},"Parameter":{"AstNode":[]},"ParameterList":{"AstNode":[]},"Statement":{"AstNode":[]},"AtRootRule":{"Statement":[],"AstNode":[]},"AtRule":{"Statement":[],"AstNode":[]},"CallableDeclaration":{"Statement":[],"AstNode":[]},"ContentBlock":{"Statement":[],"AstNode":[]},"ContentRule":{"Statement":[],"AstNode":[]},"DebugRule":{"Statement":[],"AstNode":[]},"Declaration":{"Statement":[],"AstNode":[]},"EachRule":{"Statement":[],"AstNode":[]},"ErrorRule":{"Statement":[],"AstNode":[]},"ExtendRule":{"Statement":[],"AstNode":[]},"ForRule":{"Statement":[],"AstNode":[]},"ForwardRule":{"Statement":[],"AstNode":[]},"FunctionRule":{"Statement":[],"AstNode":[]},"IfClause":{"IfRuleClause":[]},"ElseClause":{"IfRuleClause":[]},"IfRule":{"Statement":[],"AstNode":[]},"ImportRule":{"Statement":[],"AstNode":[]},"IncludeRule":{"Statement":[],"AstNode":[]},"LoudComment":{"Statement":[],"AstNode":[]},"MediaRule":{"Statement":[],"AstNode":[]},"MixinRule":{"Statement":[],"AstNode":[]},"_HasContentVisitor":{"StatementSearchVisitor":["bool"],"StatementSearchVisitor.T":"bool"},"ParentStatement":{"Statement":[],"AstNode":[]},"ReturnRule":{"Statement":[],"AstNode":[]},"SilentComment":{"Statement":[],"AstNode":[]},"StyleRule":{"Statement":[],"AstNode":[]},"Stylesheet":{"Statement":[],"AstNode":[]},"SupportsRule":{"Statement":[],"AstNode":[]},"UseRule":{"Statement":[],"AstNode":[]},"VariableDeclaration":{"Statement":[],"AstNode":[]},"WarnRule":{"Statement":[],"AstNode":[]},"WhileRule":{"Statement":[],"AstNode":[]},"SupportsAnything":{"AstNode":[]},"SupportsDeclaration":{"AstNode":[]},"SupportsFunction":{"AstNode":[]},"SupportsInterpolation":{"AstNode":[]},"SupportsNegation":{"AstNode":[]},"SupportsOperation":{"AstNode":[]},"Selector":{"AstNode":[]},"AttributeSelector":{"SimpleSelector":[],"AstNode":[]},"ClassSelector":{"SimpleSelector":[],"AstNode":[]},"ComplexSelector":{"AstNode":[]},"CompoundSelector":{"AstNode":[]},"IDSelector":{"SimpleSelector":[],"AstNode":[]},"SelectorList":{"AstNode":[]},"_ParentSelectorVisitor":{"SelectorSearchVisitor":["ParentSelector"],"SelectorSearchVisitor.T":"ParentSelector"},"ParentSelector":{"SimpleSelector":[],"AstNode":[]},"PlaceholderSelector":{"SimpleSelector":[],"AstNode":[]},"PseudoSelector":{"SimpleSelector":[],"AstNode":[]},"SimpleSelector":{"AstNode":[]},"TypeSelector":{"SimpleSelector":[],"AstNode":[]},"UniversalSelector":{"SimpleSelector":[],"AstNode":[]},"_EnvironmentModule0":{"Module0":["AsyncCallable"]},"AsyncBuiltInCallable":{"AsyncCallable":[]},"BuiltInCallable":{"Callable0":[],"AsyncBuiltInCallable":[],"AsyncCallable":[]},"PlainCssCallable":{"Callable0":[],"AsyncCallable":[]},"UserDefinedCallable":{"Callable0":[],"AsyncCallable":[]},"ExplicitConfiguration":{"Configuration":[]},"_EnvironmentModule":{"Module0":["Callable0"]},"SassRuntimeException":{"Exception":[]},"SassException":{"Exception":[]},"MultiSpanSassException":{"Exception":[]},"MultiSpanSassRuntimeException":{"SassRuntimeException":[],"Exception":[]},"SassFormatException":{"SourceSpanFormatException":[],"FormatException":[],"Exception":[]},"MultiSpanSassFormatException":{"MultiSourceSpanFormatException":[],"SassFormatException":[],"SourceSpanFormatException":[],"FormatException":[],"Exception":[]},"UsageException":{"Exception":[]},"EmptyExtensionStore":{"ExtensionStore":[]},"MergedExtension":{"Extension":[]},"Importer":{"AsyncImporter":[]},"FilesystemImporter":{"Importer":[],"AsyncImporter":[]},"NodePackageImporter":{"Importer":[],"AsyncImporter":[]},"BuiltInModule":{"Module0":["1"]},"ForwardedModuleView":{"Module0":["1"]},"ShadowedModuleView":{"Module0":["1"]},"LazyFileSpan":{"FileSpan":[],"SourceSpanWithContext":[],"SourceSpan":[],"Comparable":["SourceSpan"]},"LimitedMapView":{"MapBase":["1","2"],"_UnmodifiableMapMixin":["1","2"],"Map":["1","2"],"MapBase.K":"1","MapBase.V":"2"},"MergedMapView":{"MapBase":["1","2"],"Map":["1","2"],"MapBase.K":"1","MapBase.V":"2"},"MultiSpan":{"FileSpan":[],"SourceSpanWithContext":[],"SourceSpan":[],"Comparable":["SourceSpan"]},"PrefixedMapView":{"MapBase":["String","1"],"_UnmodifiableMapMixin":["String","1"],"Map":["String","1"],"MapBase.K":"String","MapBase.V":"1"},"_PrefixedKeys":{"Iterable":["String"],"Iterable.E":"String"},"PublicMemberMapView":{"MapBase":["String","1"],"_UnmodifiableMapMixin":["String","1"],"Map":["String","1"],"MapBase.K":"String","MapBase.V":"1"},"UnprefixedMapView":{"MapBase":["String","1"],"_UnmodifiableMapMixin":["String","1"],"Map":["String","1"],"MapBase.K":"String","MapBase.V":"1"},"_UnprefixedKeys":{"Iterable":["String"],"Iterable.E":"String"},"SassArgumentList":{"SassList":[],"Value":[]},"SassBoolean":{"Value":[]},"SassCalculation":{"Value":[]},"SassColor":{"Value":[]},"LinearChannel":{"ColorChannel":[]},"A98RgbColorSpace":{"ColorSpace":[]},"DisplayP3ColorSpace":{"ColorSpace":[]},"DisplayP3LinearColorSpace":{"ColorSpace":[]},"HslColorSpace":{"ColorSpace":[]},"HwbColorSpace":{"ColorSpace":[]},"LabColorSpace":{"ColorSpace":[]},"LchColorSpace":{"ColorSpace":[]},"LmsColorSpace":{"ColorSpace":[]},"OklabColorSpace":{"ColorSpace":[]},"OklchColorSpace":{"ColorSpace":[]},"ProphotoRgbColorSpace":{"ColorSpace":[]},"Rec2020ColorSpace":{"ColorSpace":[]},"RgbColorSpace":{"ColorSpace":[]},"SrgbColorSpace":{"ColorSpace":[]},"SrgbLinearColorSpace":{"ColorSpace":[]},"XyzD50ColorSpace":{"ColorSpace":[]},"XyzD65ColorSpace":{"ColorSpace":[]},"SassFunction":{"Value":[]},"SassList":{"Value":[]},"SassMap":{"Value":[]},"SassMixin":{"Value":[]},"_SassNull":{"Value":[]},"SassNumber":{"Value":[]},"ComplexSassNumber":{"SassNumber":[],"Value":[]},"SingleUnitSassNumber":{"SassNumber":[],"Value":[]},"UnitlessSassNumber":{"SassNumber":[],"Value":[]},"SassString":{"Value":[]},"_EvaluationContext0":{"EvaluationContext":[]},"_EvaluationContext":{"EvaluationContext":[]},"Entry":{"Comparable":["Entry"]},"FileLocation":{"SourceLocation":[],"Comparable":["SourceLocation"]},"FileSpan":{"SourceSpanWithContext":[],"SourceSpan":[],"Comparable":["SourceSpan"]},"_FileSpan":{"FileSpan":[],"SourceSpanWithContext":[],"SourceSpan":[],"Comparable":["SourceSpan"]},"SourceLocation":{"Comparable":["SourceLocation"]},"SourceLocationMixin":{"SourceLocation":[],"Comparable":["SourceLocation"]},"SourceSpan":{"Comparable":["SourceSpan"]},"SourceSpanBase":{"SourceSpan":[],"Comparable":["SourceSpan"]},"SourceSpanException":{"Exception":[]},"SourceSpanFormatException":{"FormatException":[],"Exception":[]},"MultiSourceSpanException":{"Exception":[]},"MultiSourceSpanFormatException":{"FormatException":[],"Exception":[]},"SourceSpanMixin":{"SourceSpan":[],"Comparable":["SourceSpan"]},"SourceSpanWithContext":{"SourceSpan":[],"Comparable":["SourceSpan"]},"Chain":{"StackTrace":[]},"LazyTrace":{"Trace":[],"StackTrace":[]},"Trace":{"StackTrace":[]},"UnparsedFrame":{"Frame":[]},"StringScannerException":{"SourceSpanFormatException":[],"FormatException":[],"Exception":[]},"A98RgbColorSpace0":{"ColorSpace0":[]},"SupportsAnything0":{"SupportsCondition":[],"SassNode":[],"AstNode0":[]},"ArgumentList0":{"SassNode":[],"AstNode0":[]},"SassArgumentList0":{"SassList0":[],"Value0":[]},"JSToDartAsyncImporter":{"AsyncImporter0":[]},"AsyncBuiltInCallable0":{"AsyncCallable0":[]},"_EnvironmentModule2":{"Module1":["AsyncCallable0"]},"_EvaluateVisitor2":{"StatementVisitor":["Future<Value0?>"],"ExpressionVisitor":["Future<Value0>"],"IfConditionExpressionVisitor":["Future<Object>"]},"_EvaluationContext2":{"EvaluationContext0":[]},"JSToDartAsyncFileImporter":{"AsyncImporter0":[]},"AtRootRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"ModifiableCssAtRule0":{"ModifiableCssParentNode0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"AtRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"InterpolatedAttributeSelector":{"InterpolatedSimpleSelector":[],"InterpolatedSelector":[],"SassNode":[],"AstNode0":[]},"AttributeSelector0":{"SimpleSelector0":[],"AstNode0":[]},"BinaryOperationExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"BooleanExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"SassBoolean0":{"Value0":[]},"BuiltInCallable0":{"Callable":[],"AsyncBuiltInCallable0":[],"AsyncCallable0":[]},"BuiltInModule0":{"Module1":["1"]},"SassCalculation0":{"Value0":[]},"CallableDeclaration0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"LinearChannel0":{"ColorChannel0":[]},"InterpolatedClassSelector":{"InterpolatedSimpleSelector":[],"InterpolatedSelector":[],"SassNode":[],"AstNode0":[]},"ClassSelector0":{"SimpleSelector0":[],"AstNode0":[]},"ColorExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"SassColor0":{"Value0":[]},"ModifiableCssComment0":{"ModifiableCssNode0":[],"CssComment0":[],"CssNode0":[],"AstNode0":[]},"AsyncCompiler":{"Compiler":[]},"InterpolatedComplexSelector":{"InterpolatedSelector":[],"SassNode":[],"AstNode0":[]},"ComplexSassNumber0":{"SassNumber0":[],"Value0":[]},"ComplexSelector0":{"AstNode0":[]},"InterpolatedComplexSelectorComponent":{"SassNode":[],"AstNode0":[]},"InterpolatedCompoundSelector":{"InterpolatedSelector":[],"SassNode":[],"AstNode0":[]},"CompoundSelector0":{"AstNode0":[]},"ExplicitConfiguration0":{"Configuration0":[]},"ConfiguredVariable0":{"SassNode":[],"AstNode0":[]},"ContentBlock0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"ContentRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"DebugRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"ModifiableCssDeclaration0":{"ModifiableCssNode0":[],"CssNode0":[],"AstNode0":[]},"Declaration0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"SupportsDeclaration0":{"SupportsCondition":[],"SassNode":[],"AstNode0":[]},"DisplayP3ColorSpace0":{"ColorSpace0":[]},"DisplayP3LinearColorSpace0":{"ColorSpace0":[]},"DynamicImport0":{"Import0":[],"SassNode":[],"AstNode0":[]},"EachRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"EmptyExtensionStore0":{"ExtensionStore0":[]},"_EnvironmentModule1":{"Module1":["Callable"]},"ErrorRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"_EvaluateVisitor1":{"StatementVisitor":["Value0?"],"ExpressionVisitor":["Value0"],"IfConditionExpressionVisitor":["Object"]},"_EvaluationContext1":{"EvaluationContext0":[]},"SassRuntimeException0":{"Exception":[]},"SassException0":{"Exception":[]},"MultiSpanSassException0":{"Exception":[]},"MultiSpanSassRuntimeException0":{"SassRuntimeException0":[],"Exception":[]},"SassFormatException0":{"SourceSpanFormatException":[],"FormatException":[],"Exception":[]},"MultiSpanSassFormatException0":{"MultiSourceSpanFormatException":[],"SassFormatException0":[],"SourceSpanFormatException":[],"FormatException":[],"Exception":[]},"Expression0":{"SassNode":[],"AstNode0":[]},"JSExpressionVisitor":{"ExpressionVisitor":["Object?"]},"_MakeExpressionCalculationSafe0":{"ExpressionVisitor":["Expression0"],"IfConditionExpressionVisitor":["IfConditionExpression0"]},"ExtendRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"JSToDartFileImporter":{"Importer0":[],"AsyncImporter0":[]},"FilesystemImporter0":{"Importer0":[],"AsyncImporter0":[]},"ForRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"ForwardRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"ForwardedModuleView0":{"Module1":["1"]},"FunctionExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"SupportsFunction0":{"SupportsCondition":[],"SassNode":[],"AstNode0":[]},"SassFunction0":{"Value0":[]},"FunctionRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"HslColorSpace0":{"ColorSpace0":[]},"HwbColorSpace0":{"ColorSpace0":[]},"InterpolatedIDSelector":{"InterpolatedSimpleSelector":[],"InterpolatedSelector":[],"SassNode":[],"AstNode0":[]},"IDSelector0":{"SimpleSelector0":[],"AstNode0":[]},"IfConditionExpression0":{"SassNode":[],"AstNode0":[]},"IfConditionFunction0":{"IfConditionExpression0":[],"SassNode":[],"AstNode0":[]},"IfExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"IfConditionParenthesized0":{"IfConditionExpression0":[],"SassNode":[],"AstNode0":[]},"IfConditionNegation0":{"IfConditionExpression0":[],"SassNode":[],"AstNode0":[]},"IfConditionOperation0":{"IfConditionExpression0":[],"SassNode":[],"AstNode0":[]},"IfConditionSass0":{"IfConditionExpression0":[],"SassNode":[],"AstNode0":[]},"IfConditionRaw0":{"IfConditionExpression0":[],"SassNode":[],"AstNode0":[]},"JSIfConditionExpressionVisitor":{"IfConditionExpressionVisitor":["Object?"]},"IfClause0":{"IfRuleClause0":[]},"ElseClause0":{"IfRuleClause0":[]},"IfRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"ModifiableCssImport0":{"ModifiableCssNode0":[],"CssNode0":[],"AstNode0":[]},"ImportRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"Importer0":{"AsyncImporter0":[]},"IncludeRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"InterpolatedFunctionExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"InterpolatedSelector":{"SassNode":[],"AstNode0":[]},"Interpolation0":{"SassNode":[],"AstNode0":[]},"SupportsInterpolation0":{"SupportsCondition":[],"SassNode":[],"AstNode0":[]},"IsCalculationSafeVisitor0":{"ExpressionVisitor":["bool"]},"IsPlainCssVisitor0":{"ExpressionVisitor":["bool"],"IfConditionExpressionVisitor":["bool"]},"ModifiableCssKeyframeBlock0":{"ModifiableCssParentNode0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"LabColorSpace0":{"ColorSpace0":[]},"LazyFileSpan0":{"FileSpan":[],"SourceSpanWithContext":[],"SourceSpan":[],"Comparable":["SourceSpan"]},"LchColorSpace0":{"ColorSpace0":[]},"LegacyIfExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"LimitedMapView0":{"MapBase":["1","2"],"_UnmodifiableMapMixin":["1","2"],"Map":["1","2"],"MapBase.K":"1","MapBase.V":"2"},"ListExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"InterpolatedSelectorList":{"InterpolatedSelector":[],"SassNode":[],"AstNode0":[]},"SelectorList0":{"AstNode0":[]},"_ParentSelectorVisitor0":{"SelectorSearchVisitor0":["ParentSelector0"],"SelectorSearchVisitor0.T":"ParentSelector0"},"SassList0":{"Value0":[]},"LmsColorSpace0":{"ColorSpace0":[]},"LoudComment0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"MapExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"SassMap0":{"Value0":[]},"ModifiableCssMediaRule0":{"ModifiableCssParentNode0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"MediaRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"MergedExtension0":{"Extension0":[]},"MergedMapView0":{"MapBase":["1","2"],"Map":["1","2"],"MapBase.K":"1","MapBase.V":"2"},"SassMixin0":{"Value0":[]},"MixinRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"_HasContentVisitor0":{"StatementSearchVisitor0":["bool"],"StatementVisitor":["bool?"],"StatementSearchVisitor0.T":"bool"},"MultiSpan0":{"FileSpan":[],"SourceSpanWithContext":[],"SourceSpan":[],"Comparable":["SourceSpan"]},"SupportsNegation0":{"SupportsCondition":[],"SassNode":[],"AstNode0":[]},"NoOpImporter0":{"Importer0":[],"AsyncImporter0":[]},"_FakeAstNode0":{"AstNode0":[]},"CssNode0":{"AstNode0":[]},"CssParentNode0":{"CssNode0":[],"AstNode0":[]},"ModifiableCssNode0":{"CssNode0":[],"AstNode0":[]},"ModifiableCssParentNode0":{"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"NodePackageImporter0":{"Importer0":[],"AsyncImporter0":[]},"NullExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"_SassNull0":{"Value0":[]},"NumberExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"SassNumber0":{"Value0":[]},"OklabColorSpace0":{"ColorSpace0":[]},"OklchColorSpace0":{"ColorSpace0":[]},"SupportsOperation0":{"SupportsCondition":[],"SassNode":[],"AstNode0":[]},"Parameter0":{"SassNode":[],"AstNode0":[]},"ParameterList0":{"SassNode":[],"AstNode0":[]},"InterpolatedParentSelector":{"InterpolatedSimpleSelector":[],"InterpolatedSelector":[],"SassNode":[],"AstNode0":[]},"ParentSelector0":{"SimpleSelector0":[],"AstNode0":[]},"ParentStatement0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"ParenthesizedExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"InterpolatedPlaceholderSelector":{"InterpolatedSimpleSelector":[],"InterpolatedSelector":[],"SassNode":[],"AstNode0":[]},"PlaceholderSelector0":{"SimpleSelector0":[],"AstNode0":[]},"PlainCssCallable0":{"Callable":[],"AsyncCallable0":[]},"PrefixedMapView0":{"MapBase":["String","1"],"_UnmodifiableMapMixin":["String","1"],"Map":["String","1"],"MapBase.K":"String","MapBase.V":"1"},"_PrefixedKeys0":{"Iterable":["String"],"Iterable.E":"String"},"ProphotoRgbColorSpace0":{"ColorSpace0":[]},"InterpolatedPseudoSelector":{"InterpolatedSimpleSelector":[],"InterpolatedSelector":[],"SassNode":[],"AstNode0":[]},"PseudoSelector0":{"SimpleSelector0":[],"AstNode0":[]},"PublicMemberMapView0":{"MapBase":["String","1"],"_UnmodifiableMapMixin":["String","1"],"Map":["String","1"],"MapBase.K":"String","MapBase.V":"1"},"InterpolatedQualifiedName":{"SassNode":[],"AstNode0":[]},"Rec2020ColorSpace0":{"ColorSpace0":[]},"ReturnRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"RgbColorSpace0":{"ColorSpace0":[]},"Selector0":{"AstNode0":[]},"SelectorExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"ShadowedModuleView0":{"Module1":["1"]},"SilentComment0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"InterpolatedSimpleSelector":{"InterpolatedSelector":[],"SassNode":[],"AstNode0":[]},"SimpleSelector0":{"AstNode0":[]},"JSSimpleSelectorVisitor":{"InterpolatedSelectorVisitor":["Object?"]},"SingleUnitSassNumber0":{"SassNumber0":[],"Value0":[]},"SourceInterpolationVisitor":{"ExpressionVisitor":["~"],"IfConditionExpressionVisitor":["~"]},"SrgbColorSpace0":{"ColorSpace0":[]},"SrgbLinearColorSpace0":{"ColorSpace0":[]},"Statement0":{"SassNode":[],"AstNode0":[]},"JSStatementVisitor":{"StatementVisitor":["Object?"]},"StaticImport0":{"Import0":[],"SassNode":[],"AstNode0":[]},"StringExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"SassString0":{"Value0":[]},"ModifiableCssStyleRule0":{"ModifiableCssParentNode0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"StyleRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"CssStylesheet0":{"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"ModifiableCssStylesheet0":{"ModifiableCssParentNode0":[],"CssStylesheet0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"Stylesheet0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"SupportsExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"ModifiableCssSupportsRule0":{"ModifiableCssParentNode0":[],"ModifiableCssNode0":[],"CssParentNode0":[],"CssNode0":[],"AstNode0":[]},"SupportsRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"JSToDartImporter":{"Importer0":[],"AsyncImporter0":[]},"InterpolatedTypeSelector":{"InterpolatedSimpleSelector":[],"InterpolatedSelector":[],"SassNode":[],"AstNode0":[]},"TypeSelector0":{"SimpleSelector0":[],"AstNode0":[]},"UnaryOperationExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"UnitlessSassNumber0":{"SassNumber0":[],"Value0":[]},"InterpolatedUniversalSelector":{"InterpolatedSimpleSelector":[],"InterpolatedSelector":[],"SassNode":[],"AstNode0":[]},"UniversalSelector0":{"SimpleSelector0":[],"AstNode0":[]},"UnprefixedMapView0":{"MapBase":["String","1"],"_UnmodifiableMapMixin":["String","1"],"Map":["String","1"],"MapBase.K":"String","MapBase.V":"1"},"_UnprefixedKeys0":{"Iterable":["String"],"Iterable.E":"String"},"UseRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"UserDefinedCallable0":{"Callable":[],"AsyncCallable0":[]},"CssValue0":{"AstNode0":[]},"ValueExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"VariableExpression0":{"Expression0":[],"SassNode":[],"AstNode0":[]},"VariableDeclaration0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"WarnRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"WhileRule0":{"Statement0":[],"SassNode":[],"AstNode0":[]},"XyzD50ColorSpace0":{"ColorSpace0":[]},"XyzD65ColorSpace0":{"ColorSpace0":[]},"Int8List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Uint8List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Uint8ClampedList":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Int16List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Uint16List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Int32List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Uint32List":{"List":["int"],"EfficientLengthIterable":["int"],"Iterable":["int"]},"Float32List":{"List":["double"],"EfficientLengthIterable":["double"],"Iterable":["double"]},"Float64List":{"List":["double"],"EfficientLengthIterable":["double"],"Iterable":["double"]},"CssComment":{"CssNode":[],"AstNode":[]},"Import":{"AstNode":[]},"Callable0":{"AsyncCallable":[]},"Callable":{"AsyncCallable0":[]},"CssComment0":{"CssNode0":[],"AstNode0":[]},"Import0":{"SassNode":[],"AstNode0":[]},"SassNode":{"AstNode0":[]},"SupportsCondition":{"SassNode":[],"AstNode0":[]}}')),A._Universe_addErasedTypes(M.typeUniverse,JSON.parse('{"WhereIterator":1,"SkipIterator":1,"SkipWhileIterator":1,"EmptyIterator":1,"FollowedByIterator":1,"NonNullsIterator":1,"FixedLengthListMixin":1,"UnmodifiableListMixin":1,"UnmodifiableListBase":1,"__CastListBase__CastIterableBase_ListMixin":2,"ConstantSet":1,"LinkedHashMapKeyIterator":1,"LinkedHashMapValueIterator":1,"NativeTypedArray":1,"EventSink":1,"_SyncStarIterator":1,"_SyncStreamControllerDispatch":1,"_AsyncStreamControllerDispatch":1,"_AddStreamState":1,"_StreamControllerAddStreamState":1,"_DelayedEvent":1,"_DelayedData":1,"_PendingEvents":1,"_StreamIterator":1,"_ZoneFunction":1,"Queue":1,"UnmodifiableMapBase":2,"_UnmodifiableSetMixin":1,"_UnmodifiableMapView_MapView__UnmodifiableMapMixin":2,"_UnmodifiableSetView_SetBase__UnmodifiableSetMixin":1,"_StringSinkConversionSink":1,"Expando":1,"_EventRequest":1,"_EmptyUnmodifiableSet_IterableBase_UnmodifiableSetMixin":1,"DefaultEquality":1,"IterableEquality":1,"ListEquality":1,"_QueueList_Object_ListMixin":1,"_UnionSet_SetBase_UnmodifiableSetMixin":1,"UnmodifiableSetMixin":1,"_UnmodifiableSetView_DelegatingSet_UnmodifiableSetMixin":1,"_DelegatingIterableBase":1,"_MapKeySet__DelegatingIterableBase_UnmodifiableSetMixin":1,"ParentStatement":1,"ParentStatement0":1,"ExpressionVisitor":1,"IfConditionExpressionVisitor":1,"InterpolatedSelectorVisitor":1}'));var k,T,R,L,P={x00_____:"\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0\0϶\0Єϴ ϴ϶ǶǶ϶ϼǴϿϿքϿϿϿϿϿϿϿϿϿϿהǴ\0Ǵ\0ԄׄϿϿϿϿϿϿϿϿϿϿϿϿϿϿϿϿϿϿϿϿϿϿϿϿϿϿЀ\0ЀȀϷȀϿϿϿϿϿϿϿϿϿϿϿϿϿϿϿϿϿϿϿϿϿϿϿϿϿϿȀȀȀϷ\0",x0a_BUG_:"\n\nBUG: This should include a source span!",x0a_Morex20:"\n\nMore info and automated migrator: https://sass-lang.com/d/slash-div",x0a_Morex3ac:"\n\nMore info: https://sass-lang.com/d/color-functions",x0a_Morex3af:"\n\nMore info: https://sass-lang.com/d/function-units",x0a_See_:"\n\nSee https://sass-lang.com/d/function-units",x0a_This:"\n\nThis is only an error because you've set the ",x0a_To_p:"\n\nTo preserve current behavior: math.random(math.div($limit, 1",x0a_but_:"\n\nbut you may have intended it to mean:\n\n    ",x0aRun_i:"\nRun in verbose mode to see all warnings.",x0aThis_:"\nThis will be an error in Dart Sass 2.0.0.\n\nMore info: https://sass-lang.com/d/bogus-combinators",x0aYou_m:"\nYou may not @extend the same selector from within different media queries.",x20It_wi:" It will be omitted from the generated CSS.",x20be_an:" be an extender.\nThis will be an error in Dart Sass 2.0.0.\n\nMore info: https://sass-lang.com/d/bogus-combinators",x20can_n:" can not have both conditions and paths at the same level.\nFound ",x20deprex20ix2c:" deprecation is obsolete, so does not need to be made fatal.",x20deprex20ix2e:" deprecation is obsolete. If you were previously silencing it, your code may now behave in unexpected ways.",x20deprex20t:" deprecation to be fatal.\nRemove this setting if you need to keep using this feature.",x20deprex2c:" deprecation, since it has also been made fatal.",x20hue__:' hue" may not be set for rectangular color space ',x20in_in:" in interpolation here.\nIt may end up represented as ",x20inste:" instead.\n\nMore info and automated migrator: https://sass-lang.com/d/import",x20is_as:" is asynchronous.\nThis is probably caused by a bug in a Sass plugin.",x20is_av:" is available from multiple global modules.",x20is_de:" is deprecated.\n\nTo preserve current behavior: ",x20is_noaf:" is not a future deprecation, so it does not need to be explicitly enabled.",x20is_noav:" is not a valid selector: it must be a string,\na list of strings, or a list of lists of strings.",x20is_nov:" is not valid CSS.\nThis will be an error in Dart Sass 2.0.0.\n\nMore info: https://sass-lang.com/d/bogus-combinators",x20must_b:" must be either nearest, up, down or to-zero.",x20must_e:" must end with an arbitrary substitution or ",x20must_n:" must not be greater than the number of characters in the file, ",x20repet:" repetitive deprecation warnings omitted.",x20to_be:" to be in the legacy RGB, HSL, or HWB color space.",x20to_be_:" to be in the legacy RGB, HSL, or HWB color space.\n\nRecommendation: color.change(",x20to_cl:" to clarify that it's meant to be a binary operation, or wrap\nit in parentheses to make it a unary operation. This will be an error in future\nversions of Sass.\n\nMore info and automated migrator: https://sass-lang.com/d/strict-unary",x20to_co:" to color.opacity() is deprecated.\n\nRecommendation: ",x20was_a:' was already loaded, so it can\'t be configured using "with".',x20was_n:" was not declared with !default in the @used module.",x20was_p:" was passed both by position and by name.",x21defau:"!default should only be written once for each variable.\nThis will be an error in Dart Sass 2.0.0.",x21globai:"!global isn't allowed for variables in other modules.",x21globas:"!global should only be written once for each variable.\nThis will be an error in Dart Sass 2.0.0.",x22x20can_:"\" can't be used as a parent in a compound selector.",x22x20is_ix0a:'" is invalid CSS.\nThis will be an error in Dart Sass 2.0.0.\n\nMore info: https://sass-lang.com/d/bogus-combinators',x22x20is_ix20:'" is invalid CSS. It will be omitted from the generated CSS.\nThis will be an error in Dart Sass 2.0.0.\n\nMore info: https://sass-lang.com/d/bogus-combinators',x22x20is_n:'" is not a valid Sass identifier.\n\nRecommendation: add an "as" clause to define an explicit namespace.',x22x20is_o:"\" is only valid for nesting and shouldn't\nhave children other than style rules.",x22x26__ma:'"&" may only used at the beginning of a compound selector.',x22x29__If:"\").\nIf you really want to use the color value here, use '",x22x2b__an:'"+" and "-" must be surrounded by whitespace in calculations.',x22packa:'"package:" URLs aren\'t supported on this platform.',x24color:"$color1, $color2, $weight: 50%, $method: null",x24css_a:"$css and $module may not both be passed at once.",x24list1:"$list1, $list2, $separator: auto, $bracketed: auto",x24selec:"$selectors: At least one selector must be passed.",x24separ:'$separator: Must be "space", "comma", "slash", or "auto".',x27x20must:"' must be a path relative to the package root at '",x27x2c_whi:"', which is not a '.scss', '.sass', or '.css' file.",x28__cal:"() calculation. This doesn't allow unitless numbers to be mixed with numbers with units. If you want to use the Sass function, call math.",x28__fun:"() functions will no longer have special parsing in a future release of Dart Sass. Once that happens, this argument will ",x28__ins:"() instead.\n\nSee https://sass-lang.com/d/import",x28__is_d:'() is deprecated. Suggestion:\n\ncolor.channel($color, "',x28__is_oa:"() is only supported for legacy colors. Please use color.adjust() instead with an explicit $space argument.",x28__is_oc:"() is only supported for legacy colors. Please use color.channel() instead with an explicit $space argument.",x28__isn:"() isn't in the sass:color module.\n\nRecommendation: color.adjust(",x29x0a_Mor_:")\n\nMore info: https://sass-lang.com/d/color-functions",x29x0a_Moro:")\n\nMore info: https://sass-lang.com/documentation/functions/color#",x29x20in_a:") in a future release.\n\nRecommendation: math.random(math.div($limit, 1",x29x20is_d_:") is deprecated.\n\nTo preserve current behavior: ",x29x20is_dT:") is deprecated.\nThis will be an error in Dart Sass 2.0.0.",x29x20to_clg:") to color.grayscale() is deprecated.\n\nRecommendation: ",x29x20to_cli:") to color.invert() is deprecated.\n\nRecommendation: ",x29x20to_cm:") to compileString() or related functions is deprecated and will be an error in Dart Sass 2.0.0.",x29x29__Mo:"))\n\nMore info: https://sass-lang.com/d/function-units",x2c_whicu:", which uses a scheme declared as non-canonical.",x2c_whicw:', which will likely produce invalid CSS.\nAlways quote color names when using them as strings or map keys (for example, "',x2e_Rela:".\nRelative canonical URLs are deprecated and will eventually be disallowed.",x3d_____:"===== asynchronous gap ===========================\n",x40_moz_:"@-moz-document is deprecated and support will be removed in Dart Sass 2.0.0.\n\nFor details, see https://sass-lang.com/d/moz-document.",x40conte:"@content is only allowed within mixin declarations.",x40elsei:"@elseif is deprecated and will not be supported in future Sass versions.\n\nRecommendation: @else if",x40exten:"@extend may only be used within style rules.",x40forwa:"@forward rules must be written before any other rules.",x40funct:"@function if($condition, $if-true, $if-false) {",x40use_r:"@use rules must be written before any other rules.",A_list:"A list with more than one element must have an explicit separator.",A_pkg_h:"A pkg: URL must not have a host, port, username or password.",A_pkg_q:"A pkg: URL must not have a query or fragment.",A_top_:"A top-level selector may not contain a parent selector with a suffix.",ABCDEF:"ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/",An_impa:"An importer may not have a findFileUrl method as well as canonicalize and load methods.",An_impu:"An importer must have either canonicalize and load methods, or a findFileUrl method.",As_of_R:"As of Dart Sass 2.0.0, !global assignments won't be able to declare new variables.\n\nRecommendation: add `",As_of_S:"As of Dart Sass 2.0.0, !global assignments won't be able to declare new variables.\n\nSince this assignment is at the root of the stylesheet, the !global flag is\nunnecessary and can safely be removed.",At_rul:"At-rules may not be used within nested declarations.",Becaus:"Because the CSS working group is still deciding on the best behavior, Sass doesn't currently support modifying missing channels (color: ",Cannotff:"Cannot extract a file path from a URI with a fragment component",Cannotfq:"Cannot extract a file path from a URI with a query component",Cannotn:"Cannot extract a non-Windows file path from a file URI with an authority",Comple:"ComplexSassNumber.hasPossiblyCompatibleUnits is not implemented.",Config:"Configuring private variables is deprecated.\nThis will be an error in Dart Sass 2.0.0.",Could_:'Could not find an option with short name "-',CssNod:"CssNodes must have a CssStylesheet transitive parent node.",Customf:"Custom functions with this name are deprecated and will be removed in a future\nrelease. Please choose a different name.\nMore info: https://sass-lang.com/d/function-name",Customi:"Custom importers are required to load stylesheets when compiling in the browser.",Declarm:"Declarations may only be used within style rules.",Declarp:"Declarations parsed as raw CSS may not be nested.",Declarw:'Declarations whose names begin with "--" may not be nested.',Either:"Either options.data or options.file must be set.",Entrie:"Entries may not be removed from MergedMapView.",Error_:"Error handler must accept one Object or one Object and a StackTrace as arguments, and return a value of the returned future's type",Evalua:"Evaluation handles @include and its content block together.",Expecta:"Expected a color interpolation method, got an empty list.",Expectu:'Expected unquoted string "hue" at the end of ',Expectv:"Expected variable, mixin, or function name",Functi:"Functions may not be declared in control directives.",Global:"Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\nUse ",Globalcad:"Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\nUse color.adjust instead.\n\nMore info and automated migrator: https://sass-lang.com/d/import",Globalcal:"Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\nUse color.alpha instead.\n\nMore info and automated migrator: https://sass-lang.com/d/import",Globalcg:"Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\nUse color.grayscale instead.\n\nMore info and automated migrator: https://sass-lang.com/d/import",Globalci:"Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\nUse color.invert instead.\n\nMore info and automated migrator: https://sass-lang.com/d/import",Globalco:"Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\nUse color.opacity instead.\n\nMore info and automated migrator: https://sass-lang.com/d/import",Globalm:"Global built-in functions are deprecated and will be removed in Dart Sass 3.0.0.\nUse math.abs instead.\n\nMore info and automated migrator: https://sass-lang.com/d/import",Hue_in:"Hue interpolation method may not be set for rectangular color space ",If_con:"If conditions is longer than one element, conjunction may not be null.",If_par:"If parsedAsSassScript is false, value must contain a SassString (was `",If_str:"If strategy is not null, step is required.",In_Sas:'In Sass, "&&" means two copies of the parent selector. You probably want to use "and" instead.',In_fut:"In future versions of Sass, round() will be interpreted as a CSS round() calculation. This requires an explicit modulus when rounding numbers with units. If you want to use the Sass function, call math.round() instead.\n\nSee https://sass-lang.com/d/import",Indent:"Indenting at the beginning of the document is illegal.",Interpn:"Interpolation isn't allowed in namespaces.",Interpp:"Interpolation isn't allowed in plain CSS.",Invali:'Invalid return value for custom function "',It_s_n:"It's not clear which file to import. Found:\n",Keywor:"Keyword arguments can't be used with calculations.",May_no:"May not have a value for string elements (at index ",Media_:"Media rules may not be used within nested declarations.",Mixinsb:"Mixins may not be declared in control directives.",Mixinscf:"Mixins may not contain function declarations.",Mixinscm:"Mixins may not contain mixin declarations.",Modulel:"Module loop: this module is already being loaded.",Modulen:"Module namespaces aren't allowed in plain CSS.",More_i:"More info: https://sass-lang.com/d/if-function",Must_n:"Must not have a value for expression elements (at index ",Named_:"Named arguments must come before rest arguments.\nThis will be an error in Dart Sass 2.0.0.",Nested:"Nested declarations aren't allowed in plain CSS.",New_en:"New entries may not be added to MergedMapView.",No_Sasc:"No Sass callable is currently being evaluated.",No_Sass:"No Sass stylesheet is currently being evaluated.",NoSour:"NoSourceMapBuffer.buildSourceMap() is not supported.",Number:"Number to round and step arguments are required.",Only_2:"Only 2 slash-separated elements allowed, but ",Only_oa:"Only one argument may be passed to the plain-CSS invert() function.",Only_op:"Only one positional argument is allowed. All other arguments must be passed by name.",Other_:"Other modules' members can't be defined with !global.",Parent:"Parent selectors can't have suffixes in plain CSS.",Passin_:"Passing `alpha: null` without setting `space` is deprecated.\nMore info: https://sass-lang.com/d/null-alpha",Passina:"Passing a string to call() is deprecated and will be illegal in Dart Sass 2.0.0.\n\nRecommendation: call(get-function(",Passinp:"Passing percentage units to the global abs() function is deprecated.\nIn the future, this will emit a CSS abs() function to be resolved by the browser.\nTo preserve current behavior: math.abs(",Placeh:"Placeholder selectors aren't allowed in plain CSS.",Plain_:"Plain CSS functions don't support keyword arguments.",Positik:"Positional arguments must come before keyword arguments.",Positir:"Positional arguments must come before rest arguments.\nThis will be an error in Dart Sass 2.0.0.",Privat:"Private members can't be accessed from outside their modules.",Rest_a:"Rest arguments can't be used with calculations.",Sass__i:"Sass @import rules are deprecated and will be removed in Dart Sass 3.0.0.\n\nMore info and automated migrator: https://sass-lang.com/d/import",Sass__m:"Sass @mixin names beginning with -- are forbidden for forward-compatibility with plain CSS mixins.\n\nFor details, see https://sass-lang.com/d/css-function-mixin",Sass_v:"Sass variables aren't allowed in plain CSS.",Silent:"Silent comments aren't allowed in plain CSS.",Style_k:"Style rules may not be used within keyframe blocks.",Style_n:"Style rules may not be used within nested declarations.",Suppor:"Supports rules may not be used within nested declarations.",The_Ex:"The ExtensionStore and CssStylesheet passed to cloneCssStylesheet() must come from the same compilation.",The_No:"The Node package importer cannot be used without a filesystem.",The_Sa:"The Sass if() syntax is deprecated in favor of the modern CSS syntax.\n\n",The_ca:"The canonicalize() method must return a URL.",The_co:"The color() function doesn't support the color space ",The_fe:"The feature-exists() function is deprecated.\n\nMore info: https://sass-lang.com/d/feature-exists",The_fie:"The findFileUrl() method must return a URL.",The_fiu:'The findFileUrl() must return a URL with scheme file://, was "',The_le:"The legacy JS API is deprecated and will be removed in Dart Sass 2.0.0.\n\nMore info: https://sass-lang.com/d/legacy-js-api",The_lo:"The load() function must return an object with contents and syntax fields.",The_pa:"The parent selector isn't allowed in plain CSS.",The_sa:"The same variable may only be configured once.",The_ta:'The target selector was not found.\nUse "@extend ',There_:"There's already a module with namespace \"",This_d:'This declaration has no parameter named "$',This_e:"This expression can't be used in a calculation.",This_f:"This function isn't allowed in plain CSS.",This_ma:'This module and the new module both define a variable named "$',This_mw:'This module was already loaded, so it can\'t be configured using "with".',This_n:"This name is reserved for the plain-CSS function.",This_o:"This operation can't be used in a calculation.",This_s:"This selector doesn't have any properties and won't be rendered.",This_v:"This variable was not declared with !default in the @used module.",To_usei:"To use color.invert() with non-legacy color ",To_usem:"To use color.mix() with non-legacy color ",Top_le:"Top-level leading combinators aren't allowed in plain CSS.",Unable:"Unable to determine which of multiple potential resolutions found for ",Unexpe:"Unexpected Zone.current[#_canonicalizeContext] value ",User_a:"User-authored deprecations should not be silenced.",Using__i:"Using / for division is deprecated and will be removed in Dart Sass 2.0.0.\n\nRecommendation: ",Using__o:"Using / for division outside of calc() is deprecated and will be removed in Dart Sass 2.0.0.\n\nRecommendation: ",Using_c:"Using color.alpha() for a Microsoft filter is deprecated.\n\nRecommendation: ",Using_t:"Using the current working directory as an implicit load path is deprecated. Either add it as an explicit load path or importer, or load this stylesheet from a different URL.",Variab_:"Variable keyword argument map must have string keys.\n",Variabs:"Variable keyword arguments must be a map (was ",Vendorp:"Vendor-prefixed progid:...() functions will no longer be supported in a future release of Dart Sass. To preserve current behavior:\n\n#{",Vendoru:"Vendor-prefixed url() functions will no longer have special parsing in a future release of Dart Sass. Once that happens, this argument will be parsed as SassScript. To preserve current behavior:\n\n",Whitesa:'Whitespace is required between "and" and "("',Whitesn:'Whitespace is required between "not" and "("',Whiteso:'Whitespace is required between "or" and "("',You_ma:"You may not @extend selectors across media queries.",You_pr:"You probably don't mean to use the color value ",x60_inst:"` instead.\nSee https://sass-lang.com/d/extend-compound for details.\n",addExt_:"addExtension() can't be called for a const ExtensionStore.",addExts:"addExtensions() can't be called for a const ExtensionStore.",addSel:"addSelector() can't be called for a const ExtensionStore.",adjustd:"adjust-hue() is deprecated. Suggestion:\n\ncolor.adjust($color, $hue: ",adjusto:"adjust-hue() is only supported for legacy colors. Please use color.adjust() instead with an explicit $space argument.",alpha_:"alpha() is only supported for legacy colors. Please use color.channel() instead.",canoni:"canonicalizeContext may only be accessed within a call to canonicalize().",color_a:"color.alpha() is only supported for legacy colors. Please use color.channel() instead.",color_c:"color.changeHsl() is only supported for legacy colors. Please use color.changeChannels() instead with an explicit $space argument.",color_t:"color.to-gamut() requires a $method argument for forwards-compatibility with changes in the CSS spec. Suggestion:\n\n$method: local-minde",compou:"compound selectors may no longer be extended.\nConsider `@extend ",conten:"content-exists() may only be called within a mixin.",darken:"darken() is only supported for legacy colors. Please use color.adjust() instead with an explicit $space argument.",desatu:"desaturate() is only supported for legacy colors. Please use color.adjust() instead with an explicit $space argument.",fileEx:"fileExists() is only supported on Node.js",if___c:"if() conditions with arbitrary substitutions may not contain sass() expressions.",leadin:"leadingCombinators and components may not both be empty.",lighte:"lighten() is only supported for legacy colors. Please use color.adjust() instead with an explicit $space argument.",linkEx:"linkExists() is only supported on Node.js",math_d:"math.div() will only support number arguments in a future release.\nUse list.slash() instead for a slash separator.",math_r:"math.random() will no longer ignore $limit units (",multip:"multiple statements on one line are not supported in the indented syntax.",must_b:"must be a UniversalSelector or a TypeSelector",sass__:"sass() conditions aren't allowed in plain CSS",satura:"saturate() is only supported for legacy colors. Please use color.adjust() instead with an explicit $space argument.",throug:"through() must return false for at least one parent of ",x7dx0a_Mor:"}\n\nMore info: https://sass-lang.com/d/function-name",x7dx29__Mo:"})\n\nMore info: https://sass-lang.com/d/function-name",x7dx29_Mor:"})\nMore info: https://sass-lang.com/d/abs-percent"},D={$env_1_1_String:(k=A.findType)("@<String>"),ArgParser:k("ArgParser"),AstNode:k("AstNode"),AstNode_2:k("AstNode0"),AsyncBuiltInCallable:k("AsyncBuiltInCallable"),AsyncBuiltInCallable_2:k("AsyncBuiltInCallable0"),AsyncCallable:k("AsyncCallable"),AsyncCallable_2:k("AsyncCallable0"),AsyncCompiler:k("AsyncCompiler"),AsyncImporter:k("AsyncImporter0"),Box_SelectorList:k("Box<SelectorList>"),Box_SelectorList_2:k("Box0<SelectorList0>"),BuiltInCallable:k("BuiltInCallable"),BuiltInCallable_2:k("BuiltInCallable0"),BuiltInModule_AsyncCallable:k("BuiltInModule<AsyncCallable>"),BuiltInModule_AsyncCallable_2:k("BuiltInModule0<AsyncCallable0>"),BuiltInModule_Callable:k("BuiltInModule<Callable0>"),BuiltInModule_Callable_2:k("BuiltInModule0<Callable>"),ByteBuffer:k("ByteBuffer"),ByteData:k("ByteData"),Callable:k("Callable0"),Callable_2:k("Callable"),ChangeType:k("ChangeType"),CodeUnits:k("CodeUnits"),Combinator:k("Combinator"),Combinator_2:k("Combinator0"),Comparable_dynamic:k("Comparable<@>"),Comparable_nullable_Object:k("Comparable<Object?>"),CompileResult:k("CompileResult"),CompileResult_2:k("CompileResult0"),ComplexSelector:k("ComplexSelector"),ComplexSelectorComponent:k("ComplexSelectorComponent"),ComplexSelectorComponent_2:k("ComplexSelectorComponent0"),ComplexSelector_2:k("ComplexSelector0"),Configuration:k("Configuration"),Configuration_2:k("Configuration0"),ConfiguredValue:k("ConfiguredValue"),ConfiguredValue_2:k("ConfiguredValue0"),ConfiguredVariable:k("ConfiguredVariable"),ConfiguredVariable_2:k("ConfiguredVariable0"),ConstantMapView_Symbol_dynamic:k("ConstantMapView<Symbol0,@>"),ConstantStringMap_String_double:k("ConstantStringMap<String,double>"),ConstantStringSet_String:k("ConstantStringSet<String>"),CssComment:k("CssComment"),CssComment_2:k("CssComment0"),CssMediaQuery:k("CssMediaQuery"),CssMediaQuery_2:k("CssMediaQuery0"),CssParentNode:k("CssParentNode"),CssParentNode_2:k("CssParentNode0"),CssStylesheet:k("CssStylesheet"),CssStylesheet_2:k("CssStylesheet0"),CssValue_AttributeOperator:k("CssValue0<AttributeOperator0>"),CssValue_Combinator:k("CssValue<Combinator>"),CssValue_Combinator_2:k("CssValue0<Combinator0>"),CssValue_List_String:k("CssValue<List<String>>"),CssValue_List_String_2:k("CssValue0<List<String>>"),CssValue_String:k("CssValue<String>"),CssValue_String_2:k("CssValue0<String>"),CssValue_Value:k("CssValue<Value>"),CssValue_Value_2:k("CssValue0<Value0>"),DateTime:k("DateTime"),Deprecation:k("Deprecation"),Deprecation_2:k("Deprecation1"),Deprecation_3:k("Deprecation0"),EfficientLengthIterable_dynamic:k("EfficientLengthIterable<@>"),Error:k("Error"),EvaluationContext:k("EvaluationContext"),EvaluationContext_2:k("EvaluationContext0"),Exception:k("Exception"),Expression:k("Expression"),Expression_2:k("Expression0"),Extender:k("Extender"),Extender_2:k("Extender0"),Extension:k("Extension"),Extension_2:k("Extension0"),FileLocation:k("FileLocation"),FileSpan:k("FileSpan"),Float32List:k("Float32List"),Float64List:k("Float64List"),FormatException:k("FormatException"),Frame:k("Frame"),Function:k("Function"),FutureGroup_void:k("FutureGroup<~>"),FutureOr_Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet:k("+loadedUrls,stylesheet(Set<Uri>,CssStylesheet)/"),FutureOr_Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2:k("+loadedUrls,stylesheet(Set<Uri>,CssStylesheet0)/"),FutureOr_nullable_Uri:k("Uri?/"),Future_Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet:k("Future<+loadedUrls,stylesheet(Set<Uri>,CssStylesheet)>"),Future_Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2:k("Future<+loadedUrls,stylesheet(Set<Uri>,CssStylesheet0)>"),Future_Value:k("Future<Value>"),Future_Value_2:k("Future<Value0>"),Future_nullable_CssValue_String:k("Future<CssValue<String>?>"),Future_nullable_CssValue_String_2:k("Future<CssValue0<String>?>"),Future_nullable_ImporterResult:k("Future<ImporterResult0?>"),Future_nullable_Uri:k("Future<Uri?>"),Future_nullable_Value:k("Future<Value?>"),Future_nullable_Value_2:k("Future<Value0?>"),IfClause:k("IfClause"),IfClause_2:k("IfClause0"),IfConditionExpression:k("IfConditionExpression"),IfConditionExpression_2:k("IfConditionExpression0"),ImmutableList:k("ImmutableList0"),ImmutableList_2:k("ImmutableList"),ImmutableMap:k("ImmutableMap0"),Import:k("Import"),Import_2:k("Import0"),Importer:k("Importer0"),ImporterResult:k("ImporterResult"),ImporterResult_2:k("ImporterResult0"),Importer_2:k("Importer"),Int16List:k("Int16List"),Int32List:k("Int32List"),Int8List:k("Int8List"),InterpolatedComplexSelector:k("InterpolatedComplexSelector"),InterpolatedComplexSelectorComponent:k("InterpolatedComplexSelectorComponent"),InterpolatedSimpleSelector:k("InterpolatedSimpleSelector"),Interpolation:k("Interpolation"),InterpolationBuffer:k("InterpolationBuffer"),InterpolationBuffer_2:k("InterpolationBuffer0"),InterpolationMap:k("InterpolationMap"),InterpolationMap_2:k("InterpolationMap0"),Interpolation_2:k("Interpolation0"),Iterable_ComplexSelectorComponent:k("Iterable<ComplexSelectorComponent>"),Iterable_ComplexSelectorComponent_2:k("Iterable<ComplexSelectorComponent0>"),Iterable_dynamic:k("Iterable<@>"),JSArray_AstNode:k("JSArray<AstNode>"),JSArray_AstNode_2:k("JSArray<AstNode0>"),JSArray_AsyncBuiltInCallable:k("JSArray<AsyncBuiltInCallable>"),JSArray_AsyncBuiltInCallable_2:k("JSArray<AsyncBuiltInCallable0>"),JSArray_AsyncCallable:k("JSArray<AsyncCallable>"),JSArray_AsyncCallable_2:k("JSArray<AsyncCallable0>"),JSArray_AsyncImporter:k("JSArray<AsyncImporter0>"),JSArray_AsyncImporter_2:k("JSArray<AsyncImporter>"),JSArray_BinaryOperator:k("JSArray<BinaryOperator>"),JSArray_BinaryOperator_2:k("JSArray<BinaryOperator0>"),JSArray_BuiltInCallable:k("JSArray<BuiltInCallable>"),JSArray_BuiltInCallable_2:k("JSArray<BuiltInCallable0>"),JSArray_Callable:k("JSArray<Callable0>"),JSArray_Callable_2:k("JSArray<Callable>"),JSArray_ColorChannel:k("JSArray<ColorChannel>"),JSArray_ColorChannel_2:k("JSArray<ColorChannel0>"),JSArray_ComplexSelector:k("JSArray<ComplexSelector>"),JSArray_ComplexSelectorComponent:k("JSArray<ComplexSelectorComponent>"),JSArray_ComplexSelectorComponent_2:k("JSArray<ComplexSelectorComponent0>"),JSArray_ComplexSelector_2:k("JSArray<ComplexSelector0>"),JSArray_ConfiguredVariable:k("JSArray<ConfiguredVariable>"),JSArray_ConfiguredVariable_2:k("JSArray<ConfiguredVariable0>"),JSArray_CssComment:k("JSArray<CssComment>"),JSArray_CssComment_2:k("JSArray<CssComment0>"),JSArray_CssMediaQuery:k("JSArray<CssMediaQuery>"),JSArray_CssMediaQuery_2:k("JSArray<CssMediaQuery0>"),JSArray_CssNode:k("JSArray<CssNode>"),JSArray_CssNode_2:k("JSArray<CssNode0>"),JSArray_CssValue_Combinator:k("JSArray<CssValue<Combinator>>"),JSArray_CssValue_Combinator_2:k("JSArray<CssValue0<Combinator0>>"),JSArray_Entry:k("JSArray<Entry>"),JSArray_Expression:k("JSArray<Expression>"),JSArray_Expression_2:k("JSArray<Expression0>"),JSArray_Extender:k("JSArray<Extender>"),JSArray_Extender_2:k("JSArray<Extender0>"),JSArray_Extension:k("JSArray<Extension>"),JSArray_ExtensionStore:k("JSArray<ExtensionStore>"),JSArray_ExtensionStore_2:k("JSArray<ExtensionStore0>"),JSArray_Extension_2:k("JSArray<Extension0>"),JSArray_ForwardRule:k("JSArray<ForwardRule>"),JSArray_ForwardRule_2:k("JSArray<ForwardRule0>"),JSArray_Frame:k("JSArray<Frame>"),JSArray_Future_nullable_Record_3_int_and_String_and_nullable_String:k("JSArray<Future<+(int,String,String?)?>>"),JSArray_IfClause:k("JSArray<IfClause>"),JSArray_IfClause_2:k("JSArray<IfClause0>"),JSArray_IfConditionExpression:k("JSArray<IfConditionExpression>"),JSArray_IfConditionExpression_2:k("JSArray<IfConditionExpression0>"),JSArray_Import:k("JSArray<Import>"),JSArray_Import_2:k("JSArray<Import0>"),JSArray_Importer:k("JSArray<Importer>"),JSArray_Importer_2:k("JSArray<Importer0>"),JSArray_InterpolatedComplexSelector:k("JSArray<InterpolatedComplexSelector>"),JSArray_InterpolatedComplexSelectorComponent:k("JSArray<InterpolatedComplexSelectorComponent>"),JSArray_InterpolatedSimpleSelector:k("JSArray<InterpolatedSimpleSelector>"),JSArray_Iterable_ComplexSelectorComponent:k("JSArray<Iterable<ComplexSelectorComponent>>"),JSArray_Iterable_ComplexSelectorComponent_2:k("JSArray<Iterable<ComplexSelectorComponent0>>"),JSArray_JSFunction:k("JSArray<JSFunction0>"),JSArray_LinearChannel:k("JSArray<LinearChannel>"),JSArray_LinearChannel_2:k("JSArray<LinearChannel0>"),JSArray_List_ComplexSelector:k("JSArray<List<ComplexSelector>>"),JSArray_List_ComplexSelectorComponent:k("JSArray<List<ComplexSelectorComponent>>"),JSArray_List_ComplexSelectorComponent_2:k("JSArray<List<ComplexSelectorComponent0>>"),JSArray_List_ComplexSelector_2:k("JSArray<List<ComplexSelector0>>"),JSArray_List_Extender:k("JSArray<List<Extender>>"),JSArray_List_Extender_2:k("JSArray<List<Extender0>>"),JSArray_List_Iterable_ComplexSelectorComponent:k("JSArray<List<Iterable<ComplexSelectorComponent>>>"),JSArray_List_Iterable_ComplexSelectorComponent_2:k("JSArray<List<Iterable<ComplexSelectorComponent0>>>"),JSArray_Map_String_AstNode:k("JSArray<Map<String,AstNode>>"),JSArray_Map_String_AstNode_2:k("JSArray<Map<String,AstNode0>>"),JSArray_Map_String_AsyncCallable:k("JSArray<Map<String,AsyncCallable>>"),JSArray_Map_String_AsyncCallable_2:k("JSArray<Map<String,AsyncCallable0>>"),JSArray_Map_String_Callable:k("JSArray<Map<String,Callable0>>"),JSArray_Map_String_Callable_2:k("JSArray<Map<String,Callable>>"),JSArray_Map_String_Value:k("JSArray<Map<String,Value>>"),JSArray_Map_String_Value_2:k("JSArray<Map<String,Value0>>"),JSArray_ModifiableCssImport:k("JSArray<ModifiableCssImport>"),JSArray_ModifiableCssImport_2:k("JSArray<ModifiableCssImport0>"),JSArray_ModifiableCssNode:k("JSArray<ModifiableCssNode>"),JSArray_ModifiableCssNode_2:k("JSArray<ModifiableCssNode0>"),JSArray_ModifiableCssParentNode:k("JSArray<ModifiableCssParentNode>"),JSArray_ModifiableCssParentNode_2:k("JSArray<ModifiableCssParentNode0>"),JSArray_Module_AsyncCallable:k("JSArray<Module0<AsyncCallable>>"),JSArray_Module_AsyncCallable_2:k("JSArray<Module1<AsyncCallable0>>"),JSArray_Module_Callable:k("JSArray<Module0<Callable0>>"),JSArray_Module_Callable_2:k("JSArray<Module1<Callable>>"),JSArray_Object:k("JSArray<Object>"),JSArray_Parameter:k("JSArray<Parameter>"),JSArray_Parameter_2:k("JSArray<Parameter0>"),JSArray_PseudoSelector:k("JSArray<PseudoSelector>"),JSArray_PseudoSelector_2:k("JSArray<PseudoSelector0>"),JSArray_Record_2_Expression_and_Expression:k("JSArray<+(Expression,Expression)>"),JSArray_Record_2_Expression_and_Expression_2:k("JSArray<+(Expression0,Expression0)>"),JSArray_Record_2_IfConditionExpression_and_String:k("JSArray<+(IfConditionExpression,String)>"),JSArray_Record_2_IfConditionExpression_and_String_2:k("JSArray<+(IfConditionExpression0,String)>"),JSArray_Record_2_ParameterList_and_Value_Function_List_Value:k("JSArray<+(ParameterList,Value(List<Value>))>"),JSArray_Record_2_ParameterList_and_Value_Function_List_Value_2:k("JSArray<+(ParameterList0,Value0(List<Value0>))>"),JSArray_Record_2_String_and_AstNode:k("JSArray<+(String,AstNode)>"),JSArray_Record_2_String_and_AstNode_2:k("JSArray<+(String,AstNode0)>"),JSArray_Record_2_String_and_Value:k("JSArray<+(String,Value)>"),JSArray_Record_2_String_and_Value_2:k("JSArray<+(String,Value0)>"),JSArray_Record_2_nullable_IfConditionExpression_and_Expression:k("JSArray<+(IfConditionExpression?,Expression)>"),JSArray_Record_2_nullable_IfConditionExpression_and_Expression_2:k("JSArray<+(IfConditionExpression0?,Expression0)>"),JSArray_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span:k("JSArray<+deprecation,message,span(Deprecation?,String,FileSpan)>"),JSArray_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span_2:k("JSArray<+deprecation,message,span(Deprecation0?,String,FileSpan)>"),JSArray_SassList:k("JSArray<SassList>"),JSArray_SassList_2:k("JSArray<SassList0>"),JSArray_SimpleSelector:k("JSArray<SimpleSelector>"),JSArray_SimpleSelector_2:k("JSArray<SimpleSelector0>"),JSArray_Statement:k("JSArray<Statement>"),JSArray_Statement_2:k("JSArray<Statement0>"),JSArray_String:k("JSArray<String>"),JSArray_StylesheetNode:k("JSArray<StylesheetNode>"),JSArray_TargetEntry:k("JSArray<TargetEntry>"),JSArray_TargetLineEntry:k("JSArray<TargetLineEntry>"),JSArray_Trace:k("JSArray<Trace>"),JSArray_UseRule:k("JSArray<UseRule>"),JSArray_UseRule_2:k("JSArray<UseRule0>"),JSArray_Value:k("JSArray<Value>"),JSArray_Value_2:k("JSArray<Value0>"),JSArray_WatchEvent:k("JSArray<WatchEvent>"),JSArray__Highlight:k("JSArray<_Highlight>"),JSArray__Line:k("JSArray<_Line>"),JSArray_double:k("JSArray<double>"),JSArray_dynamic:k("JSArray<@>"),JSArray_int:k("JSArray<int>"),JSArray_nullable_FileSpan:k("JSArray<FileSpan?>"),JSArray_nullable_Record_3_int_and_String_and_nullable_String:k("JSArray<+(int,String,String?)?>"),JSArray_nullable_SassNumber:k("JSArray<SassNumber?>"),JSArray_nullable_SassNumber_2:k("JSArray<SassNumber0?>"),JSArray_nullable_String:k("JSArray<String?>"),JSClass:k("JSClass0"),JSFunction:k("JSFunction0"),JSImporter:k("JSImporter"),JSImporterResult:k("JSImporterResult"),JSNull:k("JSNull"),JSObject:k("JSObject"),JSUrl:k("JSUrl0"),JavaScriptFunction:k("JavaScriptFunction"),JavaScriptIndexingBehavior_dynamic:k("JavaScriptIndexingBehavior<@>"),JsIdentityLinkedHashMap_SimpleSelector_int:k("JsIdentityLinkedHashMap<SimpleSelector,int>"),JsIdentityLinkedHashMap_SimpleSelector_int_2:k("JsIdentityLinkedHashMap<SimpleSelector0,int>"),JsIdentityLinkedHashMap_of_SelectorList_and_Box_SelectorList:k("JsIdentityLinkedHashMap<SelectorList,Box<SelectorList>>"),JsIdentityLinkedHashMap_of_SelectorList_and_Box_SelectorList_2:k("JsIdentityLinkedHashMap<SelectorList0,Box0<SelectorList0>>"),JsLinkedHashMap_Symbol_dynamic:k("JsLinkedHashMap<Symbol0,@>"),JsSystemError:k("JsSystemError"),LimitedMapView_String_ConfiguredValue:k("LimitedMapView<String,ConfiguredValue>"),LimitedMapView_String_ConfiguredValue_2:k("LimitedMapView0<String,ConfiguredValue0>"),LinearChannel:k("LinearChannel"),LinearChannel_2:k("LinearChannel0"),List_ComplexSelectorComponent:k("List<ComplexSelectorComponent>"),List_ComplexSelectorComponent_2:k("List<ComplexSelectorComponent0>"),List_CssComment:k("List<CssComment>"),List_CssComment_2:k("List<CssComment0>"),List_CssMediaQuery:k("List<CssMediaQuery>"),List_CssMediaQuery_2:k("List<CssMediaQuery0>"),List_Extension:k("List<Extension>"),List_ExtensionStore:k("List<ExtensionStore>"),List_ExtensionStore_2:k("List<ExtensionStore0>"),List_Extension_2:k("List<Extension0>"),List_JSObject:k("List<JSObject>"),List_List_ComplexSelectorComponent:k("List<List<ComplexSelectorComponent>>"),List_List_ComplexSelectorComponent_2:k("List<List<ComplexSelectorComponent0>>"),List_Module_AsyncCallable:k("List<Module0<AsyncCallable>>"),List_Module_AsyncCallable_2:k("List<Module1<AsyncCallable0>>"),List_Module_Callable:k("List<Module0<Callable0>>"),List_Module_Callable_2:k("List<Module1<Callable>>"),List_String:k("List<String>"),List_WatchEvent:k("List<WatchEvent>"),List_dynamic:k("List<@>"),List_int:k("List<int>"),MapKeySet_Module_AsyncCallable:k("MapKeySet<Module0<AsyncCallable>>"),MapKeySet_Module_AsyncCallable_2:k("MapKeySet<Module1<AsyncCallable0>>"),MapKeySet_Module_Callable:k("MapKeySet<Module0<Callable0>>"),MapKeySet_Module_Callable_2:k("MapKeySet<Module1<Callable>>"),MapKeySet_SimpleSelector:k("MapKeySet<SimpleSelector>"),MapKeySet_SimpleSelector_2:k("MapKeySet<SimpleSelector0>"),MapKeySet_String:k("MapKeySet<String>"),MapKeySet_nullable_Object:k("MapKeySet<Object?>"),Map_ComplexSelector_Extension:k("Map<ComplexSelector,Extension>"),Map_ComplexSelector_Extension_2:k("Map<ComplexSelector0,Extension0>"),Map_String_AstNode:k("Map<String,AstNode>"),Map_String_AstNode_2:k("Map<String,AstNode0>"),Map_String_AsyncCallable:k("Map<String,AsyncCallable>"),Map_String_AsyncCallable_2:k("Map<String,AsyncCallable0>"),Map_String_Callable:k("Map<String,Callable0>"),Map_String_Callable_2:k("Map<String,Callable>"),Map_String_Value:k("Map<String,Value>"),Map_String_Value_2:k("Map<String,Value0>"),Map_String_dynamic:k("Map<String,@>"),Map_dynamic_dynamic:k("Map<@,@>"),MappedIterable_String_Frame:k("MappedIterable<String,Frame>"),MappedListIterable_Frame_Frame:k("MappedListIterable<Frame,Frame>"),MappedListIterable_String_Object:k("MappedListIterable<String,Object>"),MappedListIterable_String_String:k("MappedListIterable<String,String>"),MappedListIterable_String_Trace:k("MappedListIterable<String,Trace>"),MappedListIterable_String_Value:k("MappedListIterable<String,Value>"),MappedListIterable_String_Value_2:k("MappedListIterable<String,Value0>"),MappedListIterable_String_dynamic:k("MappedListIterable<String,@>"),MixinRule:k("MixinRule"),MixinRule_2:k("MixinRule0"),ModifiableBox_SelectorList:k("ModifiableBox<SelectorList>"),ModifiableBox_SelectorList_2:k("ModifiableBox0<SelectorList0>"),ModifiableCssAtRule:k("ModifiableCssAtRule"),ModifiableCssAtRule_2:k("ModifiableCssAtRule0"),ModifiableCssKeyframeBlock:k("ModifiableCssKeyframeBlock"),ModifiableCssKeyframeBlock_2:k("ModifiableCssKeyframeBlock0"),ModifiableCssMediaRule:k("ModifiableCssMediaRule"),ModifiableCssMediaRule_2:k("ModifiableCssMediaRule0"),ModifiableCssNode:k("ModifiableCssNode"),ModifiableCssNode_2:k("ModifiableCssNode0"),ModifiableCssParentNode:k("ModifiableCssParentNode"),ModifiableCssParentNode_2:k("ModifiableCssParentNode0"),ModifiableCssStyleRule:k("ModifiableCssStyleRule"),ModifiableCssStyleRule_2:k("ModifiableCssStyleRule0"),ModifiableCssSupportsRule:k("ModifiableCssSupportsRule"),ModifiableCssSupportsRule_2:k("ModifiableCssSupportsRule0"),Module_AsyncCallable:k("Module0<AsyncCallable>"),Module_AsyncCallable_2:k("Module1<AsyncCallable0>"),Module_Callable:k("Module0<Callable0>"),Module_Callable_2:k("Module1<Callable>"),MultiSourceSpanFormatException:k("MultiSourceSpanFormatException"),NativeTypedArrayOfDouble:k("NativeTypedArrayOfDouble"),NativeTypedArrayOfInt:k("NativeTypedArrayOfInt"),NativeUint8List:k("NativeUint8List"),Never:k("0&"),NodeCompileResult:k("NodeCompileResult"),NodeImporterResult:k("NodeImporterResult0"),NonNullsIterable_Future_void:k("NonNullsIterable<Future<~>>"),NonNullsIterable_Object:k("NonNullsIterable<Object>"),NonNullsIterable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl:k("NonNullsIterable<+originalUrl(AsyncImporter,Uri,Uri)>"),NonNullsIterable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2:k("NonNullsIterable<+originalUrl(AsyncImporter0,Uri,Uri)>"),NonNullsIterable_Record_3_Importer_and_Uri_and_Uri_originalUrl:k("NonNullsIterable<+originalUrl(Importer,Uri,Uri)>"),NonNullsIterable_Record_3_Importer_and_Uri_and_Uri_originalUrl_2:k("NonNullsIterable<+originalUrl(Importer0,Uri,Uri)>"),NonNullsIterable_SelectorList:k("NonNullsIterable<SelectorList>"),NonNullsIterable_SelectorList_2:k("NonNullsIterable<SelectorList0>"),NonNullsIterable_String:k("NonNullsIterable<String>"),Null:k("Null"),NumberExpression:k("NumberExpression"),NumberExpression_2:k("NumberExpression0"),Object:k("Object"),Option:k("Option"),Parameter:k("Parameter"),ParameterList:k("ParameterList"),ParameterList_2:k("ParameterList0"),Parameter_2:k("Parameter0"),PathMap_ChangeType:k("PathMap<ChangeType>"),PathMap_Stream_WatchEvent:k("PathMap<Stream<WatchEvent>>"),PathMap_String:k("PathMap<String>"),PathMap_nullable_String:k("PathMap<String?>"),Promise:k("Promise"),PseudoSelector:k("PseudoSelector"),PseudoSelector_2:k("PseudoSelector0"),RangeError:k("RangeError"),Record:k("Record"),Record_0:k("+()"),Record_1_nullable_Object:k("+(Object?)"),Record_2_Expression_and_Expression:k("+(Expression,Expression)"),Record_2_Expression_and_Expression_2:k("+(Expression0,Expression0)"),Record_2_List_Expression_and_Map_String_Expression:k("+(List<Expression>,Map<String,Expression>)"),Record_2_List_Expression_and_Map_String_Expression_2:k("+(List<Expression0>,Map<String,Expression0>)"),Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet:k("+loadedUrls,stylesheet(Set<Uri>,CssStylesheet)"),Record_2_Set_Uri_loadedUrls_and_CssStylesheet_stylesheet_2:k("+loadedUrls,stylesheet(Set<Uri>,CssStylesheet0)"),Record_2_String_and_InterpolationMap:k("+(String,InterpolationMap)"),Record_2_String_and_InterpolationMap_2:k("+(String,InterpolationMap0)"),Record_2_String_and_SourceSpan:k("+(String,SourceSpan)"),Record_2_String_and_nullable_InterpolationMap:k("+(String,InterpolationMap?)"),Record_2_String_and_nullable_InterpolationMap_2:k("+(String,InterpolationMap0?)"),Record_2_Uri_and_bool_forImport:k("+forImport(Uri,bool)"),Record_2_nullable_IfConditionExpression_and_Expression:k("+(IfConditionExpression?,Expression)"),Record_2_nullable_IfConditionExpression_and_Expression_2:k("+(IfConditionExpression0?,Expression0)"),Record_2_nullable_Object_and_nullable_Object:k("+(Object?,Object?)"),Record_2_nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_and_bool:k("+(+originalUrl(AsyncImporter,Uri,Uri)?,bool)"),Record_2_nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_and_bool_2:k("+(+originalUrl(AsyncImporter0,Uri,Uri)?,bool)"),Record_2_nullable_String_and_nullable_String:k("+(String?,String?)"),Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl:k("+originalUrl(AsyncImporter,Uri,Uri)"),Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2:k("+originalUrl(AsyncImporter0,Uri,Uri)"),Record_3_AsyncImporter_and_Uri_and_bool_forImport:k("+forImport(AsyncImporter,Uri,bool)"),Record_3_AsyncImporter_and_Uri_and_bool_forImport_2:k("+forImport(AsyncImporter0,Uri,bool)"),Record_3_Importer_and_Uri_and_Uri_originalUrl:k("+originalUrl(Importer,Uri,Uri)"),Record_3_Importer_and_Uri_and_Uri_originalUrl_2:k("+originalUrl(Importer0,Uri,Uri)"),Record_3_Importer_and_Uri_and_bool_forImport:k("+forImport(Importer,Uri,bool)"),Record_3_Importer_and_Uri_and_bool_forImport_2:k("+forImport(Importer0,Uri,bool)"),Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency:k("+importer,isDependency(Stylesheet,AsyncImporter?,bool)"),Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency_2:k("+importer,isDependency(Stylesheet0,AsyncImporter0?,bool)"),Record_3_nullable_Object_and_nullable_Object_and_nullable_Object_originalUrl:k("+originalUrl(Object?,Object?,Object?)"),Record_5_Map_String_Value_named_and_Map_String_AstNode_namedNodes_and_List_Value_positional_and_List_AstNode_positionalNodes_and_ListSeparator_separator:k("+named,namedNodes,positional,positionalNodes,separator(Map<String,Value>,Map<String,AstNode>,List<Value>,List<AstNode>,ListSeparator)"),Record_5_Map_String_Value_named_and_Map_String_AstNode_namedNodes_and_List_Value_positional_and_List_AstNode_positionalNodes_and_ListSeparator_separator_2:k("+named,namedNodes,positional,positionalNodes,separator(Map<String,Value0>,Map<String,AstNode0>,List<Value0>,List<AstNode0>,ListSeparator0)"),RegExpMatch:k("RegExpMatch"),RenderContextOptions:k("RenderContextOptions0"),RenderResult:k("RenderResult"),Result_String:k("Result<String>"),ReversedListIterable_Frame:k("ReversedListIterable<Frame>"),Runes:k("Runes"),SassArgumentList:k("SassArgumentList"),SassArgumentList_2:k("SassArgumentList0"),SassBoolean:k("SassBoolean"),SassBoolean_2:k("SassBoolean0"),SassColor:k("SassColor"),SassColor_2:k("SassColor0"),SassFormatException:k("SassFormatException"),SassFormatException_2:k("SassFormatException0"),SassList:k("SassList"),SassList_2:k("SassList0"),SassMap:k("SassMap"),SassMap_2:k("SassMap0"),SassNumber:k("SassNumber"),SassNumber_2:k("SassNumber0"),SassRuntimeException:k("SassRuntimeException"),SassRuntimeException_2:k("SassRuntimeException0"),SassString:k("SassString"),SassString_2:k("SassString0"),SelectorList:k("SelectorList"),SelectorList_2:k("SelectorList0"),Set_ModifiableBox_SelectorList:k("Set<ModifiableBox<SelectorList>>"),Set_ModifiableBox_SelectorList_2:k("Set<ModifiableBox0<SelectorList0>>"),Set_Uri:k("Set<Uri>"),SimpleSelector:k("SimpleSelector"),SimpleSelector_2:k("SimpleSelector0"),SourceFile:k("SourceFile"),SourceLocation:k("SourceLocation"),SourceSpan:k("SourceSpan"),SourceSpanFormatException:k("SourceSpanFormatException"),SourceSpanWithContext:k("SourceSpanWithContext"),StackTrace:k("StackTrace"),Statement:k("Statement"),Statement_2:k("Statement0"),StaticImport:k("StaticImport"),StaticImport_2:k("StaticImport0"),StreamCompleter_WatchEvent:k("StreamCompleter<WatchEvent>"),StreamGroup_WatchEvent:k("StreamGroup<WatchEvent>"),StreamQueue_String:k("StreamQueue<String>"),Stream_WatchEvent:k("Stream<WatchEvent>"),String:k("String"),StringExpression:k("StringExpression"),StringExpression_2:k("StringExpression0"),StyleRule:k("StyleRule"),StyleRule_2:k("StyleRule0"),StylesheetNode:k("StylesheetNode"),Timer:k("Timer"),Trace:k("Trace"),TrustedGetRuntimeType:k("TrustedGetRuntimeType"),TypeError:k("TypeError"),TypeSelector:k("TypeSelector"),TypeSelector_2:k("TypeSelector0"),Uint16List:k("Uint16List"),Uint32List:k("Uint32List"),Uint8ClampedList:k("Uint8ClampedList"),Uint8List:k("Uint8List"),UnionSet_Uri:k("UnionSet<Uri>"),UnknownJavaScriptObject:k("UnknownJavaScriptObject"),UnmodifiableListView_CssComment:k("UnmodifiableListView<CssComment>"),UnmodifiableListView_CssComment_2:k("UnmodifiableListView<CssComment0>"),UnmodifiableListView_CssNode:k("UnmodifiableListView<CssNode>"),UnmodifiableListView_CssNode_2:k("UnmodifiableListView<CssNode0>"),UnmodifiableListView_ForwardRule:k("UnmodifiableListView<ForwardRule>"),UnmodifiableListView_ForwardRule_2:k("UnmodifiableListView<ForwardRule0>"),UnmodifiableListView_ModifiableCssNode:k("UnmodifiableListView<ModifiableCssNode>"),UnmodifiableListView_ModifiableCssNode_2:k("UnmodifiableListView<ModifiableCssNode0>"),UnmodifiableListView_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span:k("UnmodifiableListView<+deprecation,message,span(Deprecation?,String,FileSpan)>"),UnmodifiableListView_Record_3_nullable_Deprecation_deprecation_and_String_message_and_FileSpan_span_2:k("UnmodifiableListView<+deprecation,message,span(Deprecation0?,String,FileSpan)>"),UnmodifiableListView_String:k("UnmodifiableListView<String>"),UnmodifiableListView_UseRule:k("UnmodifiableListView<UseRule>"),UnmodifiableListView_UseRule_2:k("UnmodifiableListView<UseRule0>"),UnmodifiableMapView_String_ArgParser:k("UnmodifiableMapView<String,ArgParser>"),UnmodifiableMapView_String_ConfiguredValue:k("UnmodifiableMapView<String,ConfiguredValue>"),UnmodifiableMapView_String_ConfiguredValue_2:k("UnmodifiableMapView<String,ConfiguredValue0>"),UnmodifiableMapView_String_Option:k("UnmodifiableMapView<String,Option>"),UnmodifiableMapView_String_Value:k("UnmodifiableMapView<String,Value>"),UnmodifiableMapView_String_Value_2:k("UnmodifiableMapView<String,Value0>"),UnmodifiableMapView_of_Uri_and_nullable_StylesheetNode:k("UnmodifiableMapView<Uri,StylesheetNode?>"),UnmodifiableMapView_of_nullable_String_and_String:k("UnmodifiableMapView<String?,String>"),UnmodifiableMapView_of_nullable_String_and_nullable_String:k("UnmodifiableMapView<String?,String?>"),UnmodifiableSetView_String:k("UnmodifiableSetView0<String>"),UnmodifiableSetView_StylesheetNode:k("UnmodifiableSetView0<StylesheetNode>"),UnmodifiableSetView_Uri:k("UnmodifiableSetView0<Uri>"),UnprefixedMapView_ConfiguredValue:k("UnprefixedMapView<ConfiguredValue>"),UnprefixedMapView_ConfiguredValue_2:k("UnprefixedMapView0<ConfiguredValue0>"),Uri:k("Uri"),UseRule:k("UseRule"),UserDefinedCallable_AsyncEnvironment:k("UserDefinedCallable<AsyncEnvironment>"),UserDefinedCallable_AsyncEnvironment_2:k("UserDefinedCallable0<AsyncEnvironment0>"),UserDefinedCallable_Environment:k("UserDefinedCallable<Environment>"),UserDefinedCallable_Environment_2:k("UserDefinedCallable0<Environment0>"),Value:k("Value"),Value_2:k("Value0"),Value_Function_List_Value:k("Value(List<Value>)"),Value_Function_List_Value_2:k("Value0(List<Value0>)"),VariableDeclaration:k("VariableDeclaration"),VersionRange:k("VersionRange"),WatchEvent:k("WatchEvent"),WhereIterable_List_Iterable_ComplexSelectorComponent:k("WhereIterable<List<Iterable<ComplexSelectorComponent>>>"),WhereIterable_List_Iterable_ComplexSelectorComponent_2:k("WhereIterable<List<Iterable<ComplexSelectorComponent0>>>"),WhereIterable_String:k("WhereIterable<String>"),WhereTypeIterable_PseudoSelector:k("WhereTypeIterable<PseudoSelector>"),WhereTypeIterable_PseudoSelector_2:k("WhereTypeIterable<PseudoSelector0>"),WhereTypeIterable_String:k("WhereTypeIterable<String>"),_AsyncCompleter_List_void:k("_AsyncCompleter<List<~>>"),_AsyncCompleter_Object:k("_AsyncCompleter<Object>"),_AsyncCompleter_Stream_WatchEvent:k("_AsyncCompleter<Stream<WatchEvent>>"),_AsyncCompleter_String:k("_AsyncCompleter<String>"),_AsyncCompleter_nullable_Object:k("_AsyncCompleter<Object?>"),_CompleterStream_WatchEvent:k("_CompleterStream<WatchEvent>"),_EventRequest_dynamic:k("_EventRequest<@>"),_Future_List_void:k("_Future<List<~>>"),_Future_Object:k("_Future<Object>"),_Future_Stream_WatchEvent:k("_Future<Stream<WatchEvent>>"),_Future_String:k("_Future<String>"),_Future_Value:k("_Future<Value>"),_Future_Value_2:k("_Future<Value0>"),_Future_bool:k("_Future<bool>"),_Future_dynamic:k("_Future<@>"),_Future_int:k("_Future<int>"),_Future_nullable_Object:k("_Future<Object?>"),_Future_void:k("_Future<~>"),_Highlight:k("_Highlight"),_IdentityHashMap_of_nullable_Object_and_nullable_Object:k("_IdentityHashMap<Object?,Object?>"),_LinkedIdentityHashSet_ComplexSelector:k("_LinkedIdentityHashSet<ComplexSelector>"),_LinkedIdentityHashSet_ComplexSelector_2:k("_LinkedIdentityHashSet<ComplexSelector0>"),_LinkedIdentityHashSet_Extension:k("_LinkedIdentityHashSet<Extension>"),_LinkedIdentityHashSet_Extension_2:k("_LinkedIdentityHashSet<Extension0>"),_MapEntry:k("_MapEntry"),_NodeException:k("_NodeException"),_PlatformUri:k("_PlatformUri"),_SyncStarIterable_Deprecation:k("_SyncStarIterable<Deprecation0>"),_SyncStarIterable_Extension:k("_SyncStarIterable<Extension>"),_SyncStarIterable_Extension_2:k("_SyncStarIterable<Extension0>"),_SyncStarIterable_SimpleSelector:k("_SyncStarIterable<SimpleSelector>"),_SyncStarIterable_SimpleSelector_2:k("_SyncStarIterable<SimpleSelector0>"),_SyncStarIterable_String:k("_SyncStarIterable<String>"),bool:k("bool"),double:k("double"),dynamic:k("@"),dynamic_Function:k("@()"),dynamic_Function_Object:k("@(Object)"),dynamic_Function_Object_StackTrace:k("@(Object,StackTrace)"),int:k("int"),nullable_AstNode:k("AstNode?"),nullable_AstNode_2:k("AstNode0?"),nullable_CanonicalizeContext:k("CanonicalizeContext?"),nullable_CanonicalizeContext_2:k("CanonicalizeContext0?"),nullable_CssValue_String:k("CssValue<String>?"),nullable_CssValue_String_2:k("CssValue0<String>?"),nullable_FileSpan:k("FileSpan?"),nullable_Future_Null:k("Future<Null>?"),nullable_Future_void:k("Future<~>?"),nullable_ImporterResult:k("ImporterResult?"),nullable_ImporterResult_2:k("ImporterResult0?"),nullable_JSObject:k("JSObject?"),nullable_Object:k("Object?"),nullable_Record_2_String_and_String:k("+(String,String)?"),nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl:k("+originalUrl(AsyncImporter,Uri,Uri)?"),nullable_Record_3_AsyncImporter_and_Uri_and_Uri_originalUrl_2:k("+originalUrl(AsyncImporter0,Uri,Uri)?"),nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl:k("+originalUrl(Importer,Uri,Uri)?"),nullable_Record_3_Importer_and_Uri_and_Uri_originalUrl_2:k("+originalUrl(Importer0,Uri,Uri)?"),nullable_Record_3_Stylesheet_and_nullable_AsyncImporter_importer_and_bool_isDependency:k("+importer,isDependency(Stylesheet0,AsyncImporter0?,bool)?"),nullable_Record_3_int_and_String_and_nullable_String:k("+(int,String,String?)?"),nullable_SourceFile:k("SourceFile?"),nullable_StreamSubscription_WatchEvent:k("StreamSubscription<WatchEvent>?"),nullable_String:k("String?"),nullable_Stylesheet:k("Stylesheet?"),nullable_StylesheetNode:k("StylesheetNode?"),nullable_Stylesheet_2:k("Stylesheet0?"),nullable_Uri:k("Uri?"),nullable_Value:k("Value?"),nullable_Value_2:k("Value0?"),nullable__ConstructorOptions:k("_ConstructorOptions?"),nullable__ConstructorOptions_2:k("_ConstructorOptions0?"),nullable__ConstructorOptions_3:k("_ConstructorOptions1?"),nullable__Highlight:k("_Highlight?"),nullable_bool:k("bool?"),nullable_double:k("double?"),nullable_int:k("int?"),nullable_num:k("num?"),num:k("num"),void:k("~"),void_Function_Object:k("~(Object)"),void_Function_Object_StackTrace:k("~(Object,StackTrace)")};!function(){var e=S.makeConstList;C.Interceptor_methods=w.Interceptor.prototype,C.JSArray_methods=w.JSArray.prototype,C.JSBool_methods=w.JSBool.prototype,C.JSInt_methods=w.JSInt.prototype,C.JSNull_methods=w.JSNull.prototype,C.JSNumber_methods=w.JSNumber.prototype,C.JSString_methods=w.JSString.prototype,C.JavaScriptFunction_methods=w.JavaScriptFunction.prototype,C.JavaScriptObject_methods=w.JavaScriptObject.prototype,C.NativeUint32List_methods=A.NativeUint32List.prototype,C.NativeUint8List_methods=A.NativeUint8List.prototype,C.PlainJavaScriptObject_methods=w.PlainJavaScriptObject.prototype,C.UnknownJavaScriptObject_methods=w.UnknownJavaScriptObject.prototype,C.LinearChannel_Y0V=new A.LinearChannel(0,1,!1,!1,!1,"red",!1,null),C.LinearChannel_cPl=new A.LinearChannel(0,1,!1,!1,!1,"green",!1,null),C.LinearChannel_ABN=new A.LinearChannel(0,1,!1,!1,!1,"blue",!1,null),C.List_U47=e([C.LinearChannel_Y0V,C.LinearChannel_cPl,C.LinearChannel_ABN],D.JSArray_LinearChannel),C.A98RgbColorSpace_lf2=new A.A98RgbColorSpace("a98-rgb",C.List_U47),C.LinearChannel_Y0V0=new A.LinearChannel0(0,1,!1,!1,!1,"red",!1,null),C.LinearChannel_cPl0=new A.LinearChannel0(0,1,!1,!1,!1,"green",!1,null),C.LinearChannel_ABN0=new A.LinearChannel0(0,1,!1,!1,!1,"blue",!1,null),C.List_U470=e([C.LinearChannel_Y0V0,C.LinearChannel_cPl0,C.LinearChannel_ABN0],D.JSArray_LinearChannel_2),C.A98RgbColorSpace_lf20=new A.A98RgbColorSpace0("a98-rgb",C.List_U470),C.AsciiEncoder_127=new A.AsciiEncoder(127),C.C_EmptyUnmodifiableSet1=new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<String>")),C.AtRootQuery_bfj=new A.AtRootQuery(!1,C.C_EmptyUnmodifiableSet1,!1,!0),C.AtRootQuery_bfj0=new A.AtRootQuery0(!1,C.C_EmptyUnmodifiableSet1,!1,!0),C.AttributeOperator_OrK=new A.AttributeOperator("~=",1,"include"),C.AttributeOperator_OrK0=new A.AttributeOperator0("~=",1,"include"),C.AttributeOperator_g5B=new A.AttributeOperator("|=",2,"dash"),C.AttributeOperator_g5B0=new A.AttributeOperator0("|=",2,"dash"),C.AttributeOperator_h20=new A.AttributeOperator("*=",5,"substring"),C.AttributeOperator_h200=new A.AttributeOperator0("*=",5,"substring"),C.AttributeOperator_jFZ=new A.AttributeOperator("=",0,"equal"),C.AttributeOperator_jFZ0=new A.AttributeOperator0("=",0,"equal"),C.AttributeOperator_stc=new A.AttributeOperator("^=",3,"prefix"),C.AttributeOperator_stc0=new A.AttributeOperator0("^=",3,"prefix"),C.AttributeOperator_xJ9=new A.AttributeOperator("$=",4,"suffix"),C.AttributeOperator_xJ90=new A.AttributeOperator0("$=",4,"suffix"),C.BinaryOperator_5vK=new A.BinaryOperator("and","and",2,!0,2,"and"),C.BinaryOperator_5vK0=new A.BinaryOperator0("and","and",2,!0,2,"and"),C.BinaryOperator_CG2=new A.BinaryOperator("less than","<",4,!1,7,"lessThan"),C.BinaryOperator_CG20=new A.BinaryOperator0("less than","<",4,!1,7,"lessThan"),C.BinaryOperator_Fv2=new A.BinaryOperator("not equals","!=",3,!1,4,"notEquals"),C.BinaryOperator_Fv20=new A.BinaryOperator0("not equals","!=",3,!1,4,"notEquals"),C.BinaryOperator_K7S=new A.BinaryOperator("equals","==",3,!1,3,"equals"),C.BinaryOperator_K7S0=new A.BinaryOperator0("equals","==",3,!1,3,"equals"),C.BinaryOperator_OOf=new A.BinaryOperator("or","or",1,!0,1,"or"),C.BinaryOperator_OOf0=new A.BinaryOperator0("or","or",1,!0,1,"or"),C.BinaryOperator_Tic=new A.BinaryOperator("greater than",">",4,!1,5,"greaterThan"),C.BinaryOperator_Tic0=new A.BinaryOperator0("greater than",">",4,!1,5,"greaterThan"),C.BinaryOperator_YGt=new A.BinaryOperator("greater than or equals",">=",4,!1,6,"greaterThanOrEquals"),C.BinaryOperator_YGt0=new A.BinaryOperator0("greater than or equals",">=",4,!1,6,"greaterThanOrEquals"),C.BinaryOperator_bgA=new A.BinaryOperator("modulo","%",6,!1,13,"modulo"),C.BinaryOperator_bgA0=new A.BinaryOperator0("modulo","%",6,!1,13,"modulo"),C.BinaryOperator_ehp=new A.BinaryOperator("divided by","/",6,!1,12,"dividedBy"),C.BinaryOperator_ehp0=new A.BinaryOperator0("divided by","/",6,!1,12,"dividedBy"),C.BinaryOperator_f2c=new A.BinaryOperator("less than or equals","<=",4,!1,8,"lessThanOrEquals"),C.BinaryOperator_f2c0=new A.BinaryOperator0("less than or equals","<=",4,!1,8,"lessThanOrEquals"),C.BinaryOperator_g6F=new A.BinaryOperator("single equals","=",0,!1,0,"singleEquals"),C.BinaryOperator_g6F0=new A.BinaryOperator0("single equals","=",0,!1,0,"singleEquals"),C.BinaryOperator_jCK=new A.BinaryOperator("plus","+",5,!0,9,"plus"),C.BinaryOperator_jCK0=new A.BinaryOperator0("plus","+",5,!0,9,"plus"),C.BinaryOperator_tDf=new A.BinaryOperator("minus","-",5,!1,10,"minus"),C.BinaryOperator_tDf0=new A.BinaryOperator0("minus","-",5,!1,10,"minus"),C.BinaryOperator_wkM=new A.BinaryOperator("times","*",6,!0,11,"times"),C.BinaryOperator_wkM0=new A.BinaryOperator0("times","*",6,!0,11,"times"),C.BooleanOperator_0=new A.BooleanOperator(0,"and"),C.BooleanOperator_00=new A.BooleanOperator0(0,"and"),C.BooleanOperator_1=new A.BooleanOperator(1,"or"),C.BooleanOperator_10=new A.BooleanOperator0(1,"or"),C.CONSTANT=new A.Instantiation1(A.math0__max$closure(),A.findType("Instantiation1<int>")),C.C_AsciiCodec=new A.AsciiCodec,C.C_AsciiGlyphSet=new A.AsciiGlyphSet,C.C_Base64Encoder=new A.Base64Encoder,C.C_Base64Codec=new A.Base64Codec,C.C_DefaultEquality=new A.DefaultEquality,C.C_DefaultLogger=new A.DefaultLogger,C.C_DefaultLogger0=new A.DefaultLogger0,C.C_EmptyExtensionStore=new A.EmptyExtensionStore,C.C_EmptyExtensionStore0=new A.EmptyExtensionStore0,C.C_EmptyIterator=new A.EmptyIterator,C.C_EmptyUnmodifiableSet=new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<SimpleSelector>")),C.C_EmptyUnmodifiableSet0=new A.EmptyUnmodifiableSet(A.findType("EmptyUnmodifiableSet<SimpleSelector0>")),C.C_IsCalculationSafeVisitor=new A.IsCalculationSafeVisitor,C.C_IsCalculationSafeVisitor0=new A.IsCalculationSafeVisitor0,C.C_IterableEquality=new A.IterableEquality,C.C_JS_CONST=function(e){var t=Object.prototype.toString.call(e);return t.substring(8,t.length-1)},C.C_JS_CONST0=function(){var e=Object.prototype.toString;function t(t,r){if(/^HTML[A-Z].*Element$/.test(r))return"[object Object]"==e.call(t)?null:"HTMLElement"}return{getTag:function(t){var r=e.call(t);return r.substring(8,r.length-1)},getUnknownTag:"function"==typeof HTMLElement?function(e,r){return e instanceof HTMLElement?"HTMLElement":t(e,r)}:t,prototypeForTag:function(e){if("undefined"==typeof window)return null;if(void 0===window[e])return null;var t=window[e];return"function"!=typeof t?null:t.prototype},discriminator:function(e){return null}}},C.C_JS_CONST6=function(e){return function(t){if("object"!=typeof navigator)return t;var r=navigator.userAgent;if("string"!=typeof r)return t;if(r.indexOf("DumpRenderTree")>=0)return t;if(r.indexOf("Chrome")>=0){function n(e){return"object"==typeof window&&window[e]&&window[e].name==e}if(n("Window")&&n("HTMLElement"))return t}t.getTag=e}},C.C_JS_CONST1=function(e){if("function"!=typeof dartExperimentalFixupGetTag)return e;e.getTag=dartExperimentalFixupGetTag(e.getTag)},C.C_JS_CONST5=function(e){if("object"!=typeof navigator)return e;var t=navigator.userAgent;if("string"!=typeof t)return e;if(-1==t.indexOf("Firefox"))return e;var r=e.getTag,n={BeforeUnloadEvent:"Event",DataTransfer:"Clipboard",GeoGeolocation:"Geolocation",Location:"!Location",WorkerMessageEvent:"MessageEvent",XMLDocument:"!Document"};e.getTag=function(e){var t=r(e);return n[t]||t}},C.C_JS_CONST4=function(e){if("object"!=typeof navigator)return e;var t=navigator.userAgent;if("string"!=typeof t)return e;if(-1==t.indexOf("Trident/"))return e;var r=e.getTag,n={BeforeUnloadEvent:"Event",DataTransfer:"Clipboard",HTMLDDElement:"HTMLElement",HTMLDTElement:"HTMLElement",HTMLPhraseElement:"HTMLElement",Position:"Geoposition"};e.getTag=function(e){var t=r(e),i=n[t];return i||("Object"==t&&window.DataView&&e instanceof window.DataView?"DataView":t)},e.prototypeForTag=function(e){var t=window[e];return null==t?null:t.prototype}},C.C_JS_CONST2=function(e){var t=e.getTag,r=e.prototypeForTag;e.getTag=function(e){var r=t(e);return"Document"==r?e.xmlVersion?"!Document":"!HTMLDocument":r},e.prototypeForTag=function(e){return"Document"==e?null:r(e)}},C.C_JS_CONST3=function(e){return e},C.C_JsonCodec=new A.JsonCodec,C.C_ListEquality0=new A.ListEquality,C.C_ListEquality=new A.ListEquality,C.C_MapEquality=new A.MapEquality(A.findType("MapEquality<Object,Object>")),C.C_OutOfMemoryError=new A.OutOfMemoryError,C.C_SentinelValue=new A.SentinelValue,C.C_UnicodeGlyphSet=new A.UnicodeGlyphSet,C.C_Utf8Codec=new A.Utf8Codec,C.C_Utf8Encoder=new A.Utf8Encoder,C.C__ColorFormatEnum=new A._ColorFormatEnum,C.C__ColorFormatEnum0=new A._ColorFormatEnum0,C.C__ContainsParentSelectorVisitor=new A._ContainsParentSelectorVisitor,C.C__ContainsParentSelectorVisitor0=new A._ContainsParentSelectorVisitor0,C.C__DelayedDone=new A._DelayedDone,C.C__HasContentVisitor=new A._HasContentVisitor,C.C__HasContentVisitor0=new A._HasContentVisitor0,C.C__IsUselessVisitor=new A._IsUselessVisitor,C.C__IsUselessVisitor0=new A._IsUselessVisitor0,C.C__JSRandom=new A._JSRandom,C.C__MakeExpressionCalculationSafe=new A._MakeExpressionCalculationSafe,C.C__MakeExpressionCalculationSafe0=new A._MakeExpressionCalculationSafe0,C.C__ParentSelectorVisitor=new A._ParentSelectorVisitor,C.C__ParentSelectorVisitor0=new A._ParentSelectorVisitor0,C.C__Required=new A._Required,C.C__RootZone=new A._RootZone,C.C__SassNull=new A._SassNull,C.C__SassNull0=new A._SassNull0,C.CalculationOperator_KrC=new A.CalculationOperator("minus","-",1,1,"minus"),C.CalculationOperator_KrC0=new A.CalculationOperator0("minus","-",1,1,"minus"),C.CalculationOperator_LPB=new A.CalculationOperator("times","*",2,2,"times"),C.CalculationOperator_LPB0=new A.CalculationOperator0("times","*",2,2,"times"),C.CalculationOperator_dpX=new A.CalculationOperator("plus","+",1,0,"plus"),C.CalculationOperator_dpX0=new A.CalculationOperator0("plus","+",1,0,"plus"),C.CalculationOperator_wFL=new A.CalculationOperator("divided by","/",2,3,"dividedBy"),C.CalculationOperator_wFL0=new A.CalculationOperator0("divided by","/",2,3,"dividedBy"),C.ChangeType_add=new A.ChangeType("add"),C.ChangeType_modify=new A.ChangeType("modify"),C.ChangeType_remove=new A.ChangeType("remove"),C.ClipGamutMap_clip=new A.ClipGamutMap("clip"),C.ClipGamutMap_clip0=new A.ClipGamutMap0("clip"),C.Combinator_98W=new A.Combinator("~",2,"followingSibling"),C.Combinator_98W0=new A.Combinator0("~",2,"followingSibling"),C.Combinator_iUF=new A.Combinator(">",1,"child"),C.Combinator_iUF0=new A.Combinator0(">",1,"child"),C.Combinator_sHB=new A.Combinator("+",0,"nextSibling"),C.Combinator_sHB0=new A.Combinator0("+",0,"nextSibling"),C.Object_empty={},C.Map_empty18=new A.ConstantStringMap(C.Object_empty,[],A.findType("ConstantStringMap<String,ConfiguredValue>")),C.Configuration_Map_empty_null=new A.Configuration(C.Map_empty18,null),C.Map_empty19=new A.ConstantStringMap(C.Object_empty,[],A.findType("ConstantStringMap<String,ConfiguredValue0>")),C.Configuration_Map_empty_null0=new A.Configuration0(C.Map_empty19,null),C.Deprecation_0rM=new A.Deprecation("bogus-combinators","1.54.0",null,7,"bogusCombinators"),C.Deprecation_2Ja=new A.Deprecation0("function-name","1.98.0","Uppercase reserved function names.",null,27,"functionName"),C.Deprecation_2PR=new A.Deprecation0("bogus-combinators","1.54.0","Leading, trailing, and repeated combinators.",null,7,"bogusCombinators"),C.Deprecation_5Ka=new A.Deprecation("user-authored",null,null,28,"userAuthored"),C.Deprecation_6BW=new A.Deprecation("import","1.80.0",null,20,"import"),C.Deprecation_7Bn=new A.Deprecation("color-module-compat","1.23.0",null,5,"colorModuleCompat"),C.Deprecation_7TE=new A.Deprecation("function-units","1.56.0",null,9,"functionUnits"),C.Deprecation_8Zg=new A.Deprecation("misplaced-rest","1.91.0",null,24,"misplacedRest"),C.Deprecation_DVV=new A.Deprecation0("duplicate-var-flags","1.62.0","Using !default or !global multiple times for one variable.",null,10,"duplicateVarFlags"),C.Deprecation_Gmv=new A.Deprecation0("moz-document","1.7.2","@-moz-document.",null,2,"mozDocument"),C.Deprecation_H4k=new A.Deprecation("function-name","1.98.0",null,27,"functionName"),C.Deprecation_HUu=new A.Deprecation("elseif","1.3.2",null,1,"elseif"),C.Deprecation_IqB=new A.Deprecation("relative-canonical","1.14.2",null,3,"relativeCanonical"),C.Deprecation_Jgi=new A.Deprecation0("misplaced-rest","1.91.0","A rest parameter before a positional or named parameter.",null,24,"misplacedRest"),C.Deprecation_K9u=new A.Deprecation("strict-unary","1.55.0",null,8,"strictUnary"),C.Deprecation_Kh7=new A.Deprecation0("strict-unary","1.55.0","Ambiguous + and - operators.",null,8,"strictUnary"),C.Deprecation_L3L=new A.Deprecation0("import","1.80.0","@import rules.",null,20,"import"),C.Deprecation_LIY=new A.Deprecation0("call-string","0.0.0","Passing a string directly to meta.call().",null,0,"callString"),C.Deprecation_LUk=new A.Deprecation0("fs-importer-cwd","1.73.0","Using the current working directory as an implicit load path.",null,13,"fsImporterCwd"),C.Deprecation_PGp=new A.Deprecation0("legacy-js-api","1.79.0","Legacy JS API.",null,19,"legacyJsApi"),C.Deprecation_PHd=new A.Deprecation0("function-units","1.56.0","Passing invalid units to built-in functions.",null,9,"functionUnits"),C.Deprecation_PY0=new A.Deprecation("feature-exists","1.78.0",null,16,"featureExists"),C.Deprecation_PmQ=new A.Deprecation("moz-document","1.7.2",null,2,"mozDocument"),C.Deprecation_SGB=new A.Deprecation0("global-builtin","1.80.0","Global built-in functions that are available in sass: modules.",null,21,"globalBuiltin"),C.Deprecation_Usi=new A.Deprecation("abs-percent","1.65.0",null,12,"absPercent"),C.Deprecation_VUl=new A.Deprecation0("elseif","1.3.2","@elseif.",null,1,"elseif"),C.Deprecation_Vc9=new A.Deprecation0("relative-canonical","1.14.2","Imports using relative canonical URLs.",null,3,"relativeCanonical"),C.Deprecation_WW3=new A.Deprecation("global-builtin","1.80.0",null,21,"globalBuiltin"),C.Deprecation_alT=new A.Deprecation0("color-4-api","1.79.0","Certain uses of built-in sass:color functions.",null,17,"color4Api"),C.Deprecation_c4i=new A.Deprecation("call-string","0.0.0",null,0,"callString"),C.Deprecation_hJG=new A.Deprecation0("color-functions","1.79.0","Using global color functions instead of sass:color.",null,18,"colorFunctions"),C.Deprecation_jGw=new A.Deprecation("new-global","1.17.2",null,4,"newGlobal"),C.Deprecation_kGe=new A.Deprecation0("user-authored",null,null,null,28,"userAuthored"),C.Deprecation_lkJ=new A.Deprecation0("with-private","1.92.0","Configuring private variables in @use, @forward, or load-css().",null,25,"withPrivate"),C.Deprecation_mXO=new A.Deprecation("with-private","1.92.0",null,25,"withPrivate"),C.Deprecation_mqF=new A.Deprecation0("color-module-compat","1.23.0","Using color module functions in place of plain CSS functions.",null,5,"colorModuleCompat"),C.Deprecation_nRC=new A.Deprecation("duplicate-var-flags","1.62.0",null,10,"duplicateVarFlags"),C.Deprecation_ox0=new A.Deprecation0("null-alpha","1.62.3","Passing null as alpha in the JS API.",null,11,"nullAlpha"),C.Deprecation_p2t=new A.Deprecation0("feature-exists","1.78.0","meta.feature-exists",null,16,"featureExists"),C.Deprecation_pwd=new A.Deprecation0("new-global","1.17.2","Declaring new variables with !global.",null,4,"newGlobal"),C.Deprecation_qPD=new A.Deprecation("if-function","1.95.0",null,26,"ifFunction"),C.Deprecation_qZ1=new A.Deprecation("slash-div","1.33.0",null,6,"slashDiv"),C.Deprecation_qka=new A.Deprecation0("if-function","1.95.0","The Sass if($condition, $if-true, $if-false) function.",null,26,"ifFunction"),C.Deprecation_r8S=new A.Deprecation("compile-string-relative-url","1.88.0",null,23,"compileStringRelativeUrl"),C.Deprecation_uJ0=new A.Deprecation("fs-importer-cwd","1.73.0",null,13,"fsImporterCwd"),C.Deprecation_uZO=new A.Deprecation0("calc-interp",null,null,null,29,"calcInterp"),C.Deprecation_v81=new A.Deprecation0("slash-div","1.33.0","/ operator for division.",null,6,"slashDiv"),C.Deprecation_w3M=new A.Deprecation0("abs-percent","1.65.0","Passing percentages to the Sass abs() function.",null,12,"absPercent"),C.Deprecation_y9Y=new A.Deprecation0("compile-string-relative-url","1.88.0","Passing a relative url to compileString().",null,23,"compileStringRelativeUrl"),C.Deprecation_zUK=new A.Deprecation("color-functions","1.79.0",null,18,"colorFunctions"),C.DisplayP3ColorSpace_MmT=new A.DisplayP3ColorSpace("display-p3",C.List_U47),C.DisplayP3ColorSpace_MmT0=new A.DisplayP3ColorSpace0("display-p3",C.List_U470),C.DisplayP3LinearColorSpace_PrP=new A.DisplayP3LinearColorSpace("display-p3-linear",C.List_U47),C.DisplayP3LinearColorSpace_PrP0=new A.DisplayP3LinearColorSpace0("display-p3-linear",C.List_U470),C.Duration_0=new A.Duration(0),C.ExtendMode_allTargets_2_allTargets=new A.ExtendMode("allTargets",2,"allTargets"),C.ExtendMode_allTargets_2_allTargets0=new A.ExtendMode0("allTargets",2,"allTargets"),C.ExtendMode_normal_0_normal=new A.ExtendMode("normal",0,"normal"),C.ExtendMode_normal_0_normal0=new A.ExtendMode0("normal",0,"normal"),C.ExtendMode_replace_1_replace=new A.ExtendMode("replace",1,"replace"),C.ExtendMode_replace_1_replace0=new A.ExtendMode0("replace",1,"replace"),C.ColorChannel_hue_true_deg=new A.ColorChannel("hue",!0,"deg"),C.LinearChannel_Cal=new A.LinearChannel(0,100,!0,!0,!1,"saturation",!1,"%"),C.LinearChannel_w1m=new A.LinearChannel(0,100,!0,!1,!1,"lightness",!1,"%"),C.List_oAL=e([C.ColorChannel_hue_true_deg,C.LinearChannel_Cal,C.LinearChannel_w1m],D.JSArray_ColorChannel),C.HslColorSpace_JQ2=new A.HslColorSpace("hsl",C.List_oAL),C.ColorChannel_hue_true_deg0=new A.ColorChannel0("hue",!0,"deg"),C.LinearChannel_Cal0=new A.LinearChannel0(0,100,!0,!0,!1,"saturation",!1,"%"),C.LinearChannel_w1m0=new A.LinearChannel0(0,100,!0,!1,!1,"lightness",!1,"%"),C.List_oAL0=e([C.ColorChannel_hue_true_deg0,C.LinearChannel_Cal0,C.LinearChannel_w1m0],D.JSArray_ColorChannel_2),C.HslColorSpace_JQ20=new A.HslColorSpace0("hsl",C.List_oAL0),C.HueInterpolationMethod_0=new A.HueInterpolationMethod(0,"shorter"),C.HueInterpolationMethod_00=new A.HueInterpolationMethod0(0,"shorter"),C.HueInterpolationMethod_1=new A.HueInterpolationMethod(1,"longer"),C.HueInterpolationMethod_10=new A.HueInterpolationMethod0(1,"longer"),C.HueInterpolationMethod_2=new A.HueInterpolationMethod(2,"increasing"),C.HueInterpolationMethod_20=new A.HueInterpolationMethod0(2,"increasing"),C.HueInterpolationMethod_3=new A.HueInterpolationMethod(3,"decreasing"),C.HueInterpolationMethod_30=new A.HueInterpolationMethod0(3,"decreasing"),C.LinearChannel_mPM=new A.LinearChannel(0,100,!0,!1,!1,"whiteness",!1,"%"),C.LinearChannel_NBP=new A.LinearChannel(0,100,!0,!1,!1,"blackness",!1,"%"),C.List_Ar1=e([C.ColorChannel_hue_true_deg,C.LinearChannel_mPM,C.LinearChannel_NBP],D.JSArray_ColorChannel),C.HwbColorSpace_guQ=new A.HwbColorSpace("hwb",C.List_Ar1),C.LinearChannel_mPM0=new A.LinearChannel0(0,100,!0,!1,!1,"whiteness",!1,"%"),C.LinearChannel_NBP0=new A.LinearChannel0(0,100,!0,!1,!1,"blackness",!1,"%"),C.List_Ar10=e([C.ColorChannel_hue_true_deg0,C.LinearChannel_mPM0,C.LinearChannel_NBP0],D.JSArray_ColorChannel_2),C.HwbColorSpace_guQ0=new A.HwbColorSpace0("hwb",C.List_Ar10),C.JsonDecoder_null=new A.JsonDecoder(null),C.JsonEncoder_null=new A.JsonEncoder(null),C.LinearChannel_rY5=new A.LinearChannel(0,100,!1,!0,!0,"lightness",!1,"%"),C.LinearChannel_vtc=new A.LinearChannel(-125,125,!1,!1,!1,"a",!1,null),C.LinearChannel_r83=new A.LinearChannel(-125,125,!1,!1,!1,"b",!1,null),C.List_KEo=e([C.LinearChannel_rY5,C.LinearChannel_vtc,C.LinearChannel_r83],D.JSArray_ColorChannel),C.LabColorSpace_2nT=new A.LabColorSpace("lab",C.List_KEo),C.LinearChannel_rY50=new A.LinearChannel0(0,100,!1,!0,!0,"lightness",!1,"%"),C.LinearChannel_vtc0=new A.LinearChannel0(-125,125,!1,!1,!1,"a",!1,null),C.LinearChannel_r830=new A.LinearChannel0(-125,125,!1,!1,!1,"b",!1,null),C.List_KEo0=e([C.LinearChannel_rY50,C.LinearChannel_vtc0,C.LinearChannel_r830],D.JSArray_ColorChannel_2),C.LabColorSpace_2nT0=new A.LabColorSpace0("lab",C.List_KEo0),C.LinearChannel_JUs=new A.LinearChannel(0,150,!1,!0,!1,"chroma",!1,null),C.List_grF=e([C.LinearChannel_rY5,C.LinearChannel_JUs,C.ColorChannel_hue_true_deg],D.JSArray_ColorChannel),C.LchColorSpace_Bpv=new A.LchColorSpace("lch",C.List_grF),C.LinearChannel_JUs0=new A.LinearChannel0(0,150,!1,!0,!1,"chroma",!1,null),C.List_grF0=e([C.LinearChannel_rY50,C.LinearChannel_JUs0,C.ColorChannel_hue_true_deg0],D.JSArray_ColorChannel_2),C.LchColorSpace_Bpv0=new A.LchColorSpace0("lch",C.List_grF0),C.LineFeed_2_lf=new A.LineFeed(2,"lf"),C.LineFeed_3HY=new A.LineFeed0("cr","\r",0,"cr"),C.LineFeed_Kui=new A.LineFeed0("lfcr","\n\r",3,"lfcr"),C.LineFeed_aqi=new A.LineFeed0("crlf","\r\n",1,"crlf"),C.LineFeed_oJz=new A.LineFeed0("lf","\n",2,"lf"),C.LinearChannel_XL8=new A.LinearChannel(0,1,!1,!1,!1,"alpha",!1,null),C.LinearChannel_XL80=new A.LinearChannel0(0,1,!1,!1,!1,"alpha",!1,null),C.LinearChannel_Z5r=new A.LinearChannel(0,255,!1,!0,!0,"green",!1,null),C.LinearChannel_Z5r0=new A.LinearChannel0(0,255,!1,!0,!0,"green",!1,null),C.LinearChannel_qXC=new A.LinearChannel(0,255,!1,!0,!0,"red",!1,null),C.LinearChannel_qXC0=new A.LinearChannel0(0,255,!1,!0,!0,"red",!1,null),C.LinearChannel_vJ3=new A.LinearChannel(0,255,!1,!0,!0,"blue",!1,null),C.LinearChannel_vJ30=new A.LinearChannel0(0,255,!1,!0,!0,"blue",!1,null),C.ListSeparator_Lul=new A.ListSeparator("slash","/",2,"slash"),C.ListSeparator_Lul0=new A.ListSeparator0("slash","/",2,"slash"),C.ListSeparator_SrV=new A.ListSeparator("space"," ",0,"space"),C.ListSeparator_SrV0=new A.ListSeparator0("space"," ",0,"space"),C.ListSeparator_undecided_null_3_undecided=new A.ListSeparator("undecided",null,3,"undecided"),C.ListSeparator_undecided_null_3_undecided0=new A.ListSeparator0("undecided",null,3,"undecided"),C.ListSeparator_z0K=new A.ListSeparator("comma",",",1,"comma"),C.ListSeparator_z0K0=new A.ListSeparator0("comma",",",1,"comma"),C.Deprecation_uqF=new A.Deprecation0("css-function-mixin","1.76.0","Function and mixin names beginning with --.","1.94.0",14,"cssFunctionMixin"),C.Deprecation_Fpx=new A.Deprecation0("mixed-decls","1.77.7","Declarations after or between nested rules.","1.92.0",15,"mixedDecls"),C.Deprecation_Byo=new A.Deprecation0("type-function","1.86.0",'Functions named "type".',"1.92.0",22,"typeFunction"),C.List_0vi=e([C.Deprecation_LIY,C.Deprecation_VUl,C.Deprecation_Gmv,C.Deprecation_Vc9,C.Deprecation_pwd,C.Deprecation_mqF,C.Deprecation_v81,C.Deprecation_2PR,C.Deprecation_Kh7,C.Deprecation_PHd,C.Deprecation_DVV,C.Deprecation_ox0,C.Deprecation_w3M,C.Deprecation_LUk,C.Deprecation_uqF,C.Deprecation_Fpx,C.Deprecation_p2t,C.Deprecation_alT,C.Deprecation_hJG,C.Deprecation_PGp,C.Deprecation_L3L,C.Deprecation_SGB,C.Deprecation_Byo,C.Deprecation_y9Y,C.Deprecation_Jgi,C.Deprecation_lkJ,C.Deprecation_qka,C.Deprecation_2Ja,C.Deprecation_kGe,C.Deprecation_uZO],A.findType("JSArray<Deprecation0>")),C.Object_84Z={em:0,rem:1,ex:2,rex:3,cap:4,rcap:5,ch:6,rch:7,ic:8,ric:9,lh:10,rlh:11,vw:12,lvw:13,svw:14,dvw:15,vh:16,lvh:17,svh:18,dvh:19,vi:20,lvi:21,svi:22,dvi:23,vb:24,lvb:25,svb:26,dvb:27,vmin:28,lvmin:29,svmin:30,dvmin:31,vmax:32,lvmax:33,svmax:34,dvmax:35,cqw:36,cqh:37,cqi:38,cqb:39,cqmin:40,cqmax:41,cm:42,mm:43,q:44,in:45,pt:46,pc:47,px:48},C.Set_V30th=new A.ConstantStringSet(C.Object_84Z,49,D.ConstantStringSet_String),C.Object_a6W={deg:0,grad:1,rad:2,turn:3},C.Set_5FBBb=new A.ConstantStringSet(C.Object_a6W,4,D.ConstantStringSet_String),C.Object_s_0_ms_1={s:0,ms:1},C.Set_cXesm=new A.ConstantStringSet(C.Object_s_0_ms_1,2,D.ConstantStringSet_String),C.Object_hz_0_khz_1={hz:0,khz:1},C.Set_1Tayw=new A.ConstantStringSet(C.Object_hz_0_khz_1,2,D.ConstantStringSet_String),C.Object_CHz={dpi:0,dpcm:1,dppx:2},C.Set_w2NC6=new A.ConstantStringSet(C.Object_CHz,3,D.ConstantStringSet_String),C.List_BFg=e([C.Set_V30th,C.Set_5FBBb,C.Set_cXesm,C.Set_1Tayw,C.Set_w2NC6],A.findType("JSArray<Set<String>>")),C.List_UqK=e([C.CalculationOperator_dpX0,C.CalculationOperator_KrC0,C.CalculationOperator_LPB0,C.CalculationOperator_wFL0],A.findType("JSArray<CalculationOperator0>")),C.List_empty29=e([],D.JSArray_AsyncCallable_2),C.List_empty31=e([],D.JSArray_AsyncImporter),C.List_empty1=e([],D.JSArray_ComplexSelector),C.List_empty18=e([],D.JSArray_ComplexSelector_2),C.List_empty2=e([],D.JSArray_ComplexSelectorComponent),C.List_empty19=e([],D.JSArray_ComplexSelectorComponent_2),C.List_empty11=e([],D.JSArray_ConfiguredVariable),C.List_empty26=e([],D.JSArray_ConfiguredVariable_2),C.List_empty3=e([],D.JSArray_CssNode),C.List_empty20=e([],D.JSArray_CssNode_2),C.List_empty0=e([],D.JSArray_CssValue_Combinator),C.List_empty17=e([],D.JSArray_CssValue_Combinator_2),C.List_empty9=e([],D.JSArray_Expression),C.List_empty24=e([],D.JSArray_Expression_2),C.List_empty5=e([],D.JSArray_Extension),C.List_empty21=e([],D.JSArray_Extension_2),C.List_empty28=e([],D.JSArray_Importer_2),C.List_empty15=e([],D.JSArray_Module_AsyncCallable),C.List_empty10=e([],D.JSArray_Module_Callable),C.List_empty7=e([],A.findType("JSArray<Module0<0&>>")),C.List_empty30=e([],D.JSArray_Module_AsyncCallable_2),C.List_empty25=e([],D.JSArray_Module_Callable_2),C.List_empty22=e([],A.findType("JSArray<Module1<0&>>")),C.List_empty12=e([],D.JSArray_Object),C.List_empty14=e([],D.JSArray_Parameter),C.List_empty27=e([],D.JSArray_Parameter_2),C.List_empty16=e([],D.JSArray_Statement),C.List_empty=e([],D.JSArray_String),C.List_empty8=e([],D.JSArray_Value),C.List_empty23=e([],D.JSArray_Value_2),C.List_empty4=e([],D.JSArray_int),C.List_empty6=e([],D.JSArray_dynamic),C.List_empty13=e([],D.JSArray_nullable_FileSpan),C.List_mRc=e([C.HueInterpolationMethod_00,C.HueInterpolationMethod_10,C.HueInterpolationMethod_20,C.HueInterpolationMethod_30],A.findType("JSArray<HueInterpolationMethod0>")),C.List_null=e([null],D.JSArray_nullable_FileSpan),C.Deprecation_NNd=new A.Deprecation("null-alpha","1.62.3",null,11,"nullAlpha"),C.Deprecation_ov6=new A.Deprecation("css-function-mixin","1.76.0","1.94.0",14,"cssFunctionMixin"),C.Deprecation_Uqa=new A.Deprecation("mixed-decls","1.77.7","1.92.0",15,"mixedDecls"),C.Deprecation_mme=new A.Deprecation("color-4-api","1.79.0",null,17,"color4Api"),C.Deprecation_cfK=new A.Deprecation("legacy-js-api","1.79.0",null,19,"legacyJsApi"),C.Deprecation_ST9=new A.Deprecation("type-function","1.86.0","1.92.0",22,"typeFunction"),C.Deprecation_wGX=new A.Deprecation("calc-interp",null,null,29,"calcInterp"),C.List_u1I=e([C.Deprecation_c4i,C.Deprecation_HUu,C.Deprecation_PmQ,C.Deprecation_IqB,C.Deprecation_jGw,C.Deprecation_7Bn,C.Deprecation_qZ1,C.Deprecation_0rM,C.Deprecation_K9u,C.Deprecation_7TE,C.Deprecation_nRC,C.Deprecation_NNd,C.Deprecation_Usi,C.Deprecation_uJ0,C.Deprecation_ov6,C.Deprecation_Uqa,C.Deprecation_PY0,C.Deprecation_mme,C.Deprecation_zUK,C.Deprecation_cfK,C.Deprecation_6BW,C.Deprecation_WW3,C.Deprecation_ST9,C.Deprecation_r8S,C.Deprecation_8Zg,C.Deprecation_mXO,C.Deprecation_qPD,C.Deprecation_H4k,C.Deprecation_5Ka,C.Deprecation_wGX],A.findType("JSArray<Deprecation>")),C.LinearChannel_n2W=new A.LinearChannel(0,1,!1,!1,!1,"long",!1,null),C.LinearChannel_ZmQ=new A.LinearChannel(0,1,!1,!1,!1,"medium",!1,null),C.LinearChannel_yJH=new A.LinearChannel(0,1,!1,!1,!1,"short",!1,null),C.List_wOx=e([C.LinearChannel_n2W,C.LinearChannel_ZmQ,C.LinearChannel_yJH],D.JSArray_ColorChannel),C.LmsColorSpace_Os3=new A.LmsColorSpace("lms",C.List_wOx),C.LinearChannel_n2W0=new A.LinearChannel0(0,1,!1,!1,!1,"long",!1,null),C.LinearChannel_ZmQ0=new A.LinearChannel0(0,1,!1,!1,!1,"medium",!1,null),C.LinearChannel_yJH0=new A.LinearChannel0(0,1,!1,!1,!1,"short",!1,null),C.List_wOx0=e([C.LinearChannel_n2W0,C.LinearChannel_ZmQ0,C.LinearChannel_yJH0],D.JSArray_ColorChannel_2),C.LmsColorSpace_Os30=new A.LmsColorSpace0("lms",C.List_wOx0),C.LocalMindeGamutMap_A2x=new A.LocalMindeGamutMap("local-minde"),C.LocalMindeGamutMap_A2x0=new A.LocalMindeGamutMap0("local-minde"),C.Object_CSf={in:0,cm:1,pc:2,mm:3,q:4,pt:5,px:6,deg:7,grad:8,rad:9,turn:10,s:11,ms:12,Hz:13,kHz:14,dpi:15,dpcm:16,dppx:17},C.Object_R4j={in:0,cm:1,pc:2,mm:3,q:4,pt:5,px:6},C.Map_LdTcR=new A.ConstantStringMap(C.Object_R4j,[1,.39370078740157477,.16666666666666666,.03937007874015748,.00984251968503937,.013888888888888888,.010416666666666666],D.ConstantStringMap_String_double),C.Map_LdCjQ=new A.ConstantStringMap(C.Object_R4j,[2.54,1,.42333333333333334,.1,.025,.035277777777777776,.026458333333333334],D.ConstantStringMap_String_double),C.Map_Ldr6M=new A.ConstantStringMap(C.Object_R4j,[6,2.3622047244094486,1,.2362204724409449,.05905511811023623,.08333333333333333,.0625],D.ConstantStringMap_String_double),C.Map_LdTyG=new A.ConstantStringMap(C.Object_R4j,[25.4,10,4.233333333333333,1,.25,.35277777777777775,.26458333333333334],D.ConstantStringMap_String_double),C.Map_Ld577=new A.ConstantStringMap(C.Object_R4j,[101.6,40,16.933333333333334,4,1,1.411111111111111,1.0583333333333333],D.ConstantStringMap_String_double),C.Map_LdIVT=new A.ConstantStringMap(C.Object_R4j,[72,28.346456692913385,12,2.834645669291339,.7086614173228347,1,.75],D.ConstantStringMap_String_double),C.Map_Ld6L5=new A.ConstantStringMap(C.Object_R4j,[96,37.79527559055118,16,3.7795275590551185,.9448818897637796,1.3333333333333333,1],D.ConstantStringMap_String_double),C.Map_LjNxM=new A.ConstantStringMap(C.Object_a6W,[1,.9,57.29577951308232,360],D.ConstantStringMap_String_double),C.Map_Lj8V1=new A.ConstantStringMap(C.Object_a6W,[1.1111111111111112,1,63.66197723675813,400],D.ConstantStringMap_String_double),C.Map_LjePw=new A.ConstantStringMap(C.Object_a6W,[.017453292519943295,.015707963267948967,1,6.283185307179586],D.ConstantStringMap_String_double),C.Map_LjtMd=new A.ConstantStringMap(C.Object_a6W,[.002777777777777778,.0025,.15915494309189535,1],D.ConstantStringMap_String_double),C.Map_Aezv1=new A.ConstantStringMap(C.Object_s_0_ms_1,[1,.001],D.ConstantStringMap_String_double),C.Map_AeI7g=new A.ConstantStringMap(C.Object_s_0_ms_1,[1e3,1],D.ConstantStringMap_String_double),C.Object_Hz_0_kHz_1={Hz:0,kHz:1},C.Map_kdDCg=new A.ConstantStringMap(C.Object_Hz_0_kHz_1,[1,1e3],D.ConstantStringMap_String_double),C.Map_kdBEM=new A.ConstantStringMap(C.Object_Hz_0_kHz_1,[.001,1],D.ConstantStringMap_String_double),C.Map_vIkFS=new A.ConstantStringMap(C.Object_CHz,[1,2.54,96],D.ConstantStringMap_String_double),C.Map_vIY7E=new A.ConstantStringMap(C.Object_CHz,[.39370078740157477,1,37.79527559055118],D.ConstantStringMap_String_double),C.Map_vIcSC=new A.ConstantStringMap(C.Object_CHz,[.010416666666666666,.026458333333333334,1],D.ConstantStringMap_String_double),C.Map_NtHoP=new A.ConstantStringMap(C.Object_CSf,[C.Map_LdTcR,C.Map_LdCjQ,C.Map_Ldr6M,C.Map_LdTyG,C.Map_Ld577,C.Map_LdIVT,C.Map_Ld6L5,C.Map_LjNxM,C.Map_Lj8V1,C.Map_LjePw,C.Map_LjtMd,C.Map_Aezv1,C.Map_AeI7g,C.Map_kdDCg,C.Map_kdBEM,C.Map_vIkFS,C.Map_vIY7E,C.Map_vIcSC],A.findType("ConstantStringMap<String,Map<String,double>>")),C.Object_J3y={length:0,angle:1,time:2,frequency:3,"pixel density":4},C.List_Ldp=e(["in","cm","pc","mm","q","pt","px"],D.JSArray_String),C.List_deg_grad_rad_turn=e(["deg","grad","rad","turn"],D.JSArray_String),C.List_s_ms=e(["s","ms"],D.JSArray_String),C.List_Hz_kHz=e(["Hz","kHz"],D.JSArray_String),C.List_dpi_dpcm_dppx=e(["dpi","dpcm","dppx"],D.JSArray_String),C.Map_Sr65K=new A.ConstantStringMap(C.Object_J3y,[C.List_Ldp,C.List_deg_grad_rad_turn,C.List_s_ms,C.List_Hz_kHz,C.List_dpi_dpcm_dppx],A.findType("ConstantStringMap<String,List<String>>")),C.Map_empty7=new A.ConstantStringMap(C.Object_empty,[],A.findType("ConstantStringMap<Module0<AsyncCallable>,List<CssComment>>")),C.Map_empty=new A.ConstantStringMap(C.Object_empty,[],A.findType("ConstantStringMap<Module0<Callable0>,List<CssComment>>")),C.Map_empty1=new A.ConstantStringMap(C.Object_empty,[],A.findType("ConstantStringMap<Module0<0&>,List<CssComment>>")),C.Map_empty16=new A.ConstantStringMap(C.Object_empty,[],A.findType("ConstantStringMap<Module1<AsyncCallable0>,List<CssComment0>>")),C.Map_empty10=new A.ConstantStringMap(C.Object_empty,[],A.findType("ConstantStringMap<Module1<Callable>,List<CssComment0>>")),C.Map_empty12=new A.ConstantStringMap(C.Object_empty,[],A.findType("ConstantStringMap<Module1<0&>,List<CssComment0>>")),C.Map_empty3=new A.ConstantStringMap(C.Object_empty,[],A.findType("ConstantStringMap<String,AstNode>")),C.Map_empty13=new A.ConstantStringMap(C.Object_empty,[],A.findType("ConstantStringMap<String,AstNode0>")),C.Map_empty4=new A.ConstantStringMap(C.Object_empty,[],A.findType("ConstantStringMap<String,Expression>")),C.Map_empty14=new A.ConstantStringMap(C.Object_empty,[],A.findType("ConstantStringMap<String,Expression0>")),C.Map_empty5=new A.ConstantStringMap(C.Object_empty,[],A.findType("ConstantStringMap<String,FileSpan>")),C.Map_empty8=new A.ConstantStringMap(C.Object_empty,[],A.findType("ConstantStringMap<String,Module0<AsyncCallable>>")),C.Map_empty0=new A.ConstantStringMap(C.Object_empty,[],A.findType("ConstantStringMap<String,Module0<Callable0>>")),C.Map_empty17=new A.ConstantStringMap(C.Object_empty,[],A.findType("ConstantStringMap<String,Module1<AsyncCallable0>>")),C.Map_empty11=new A.ConstantStringMap(C.Object_empty,[],A.findType("ConstantStringMap<String,Module1<Callable>>")),C.Map_empty6=new A.ConstantStringMap(C.Object_empty,[],A.findType("ConstantStringMap<String,Value>")),C.Map_empty15=new A.ConstantStringMap(C.Object_empty,[],A.findType("ConstantStringMap<String,Value0>")),C.Map_empty2=new A.ConstantStringMap(C.Object_empty,[],A.findType("ConstantStringMap<Symbol0,@>")),C.Map_empty9=new A.ConstantStringMap(C.Object_empty,[],A.findType("ConstantStringMap<String?,String>")),C.LinearChannel_fS8=new A.LinearChannel(0,1,!1,!0,!0,"lightness",!1,"%"),C.LinearChannel_ffI=new A.LinearChannel(-.4,.4,!1,!1,!1,"a",!1,null),C.LinearChannel_Y6D=new A.LinearChannel(-.4,.4,!1,!1,!1,"b",!1,null),C.List_ZWr=e([C.LinearChannel_fS8,C.LinearChannel_ffI,C.LinearChannel_Y6D],D.JSArray_ColorChannel),C.OklabColorSpace_540=new A.OklabColorSpace("oklab",C.List_ZWr),C.LinearChannel_fS80=new A.LinearChannel0(0,1,!1,!0,!0,"lightness",!1,"%"),C.LinearChannel_ffI0=new A.LinearChannel0(-.4,.4,!1,!1,!1,"a",!1,null),C.LinearChannel_Y6D0=new A.LinearChannel0(-.4,.4,!1,!1,!1,"b",!1,null),C.List_ZWr0=e([C.LinearChannel_fS80,C.LinearChannel_ffI0,C.LinearChannel_Y6D0],D.JSArray_ColorChannel_2),C.OklabColorSpace_5400=new A.OklabColorSpace0("oklab",C.List_ZWr0),C.LinearChannel_HTj=new A.LinearChannel(0,.4,!1,!0,!1,"chroma",!1,null),C.List_g5j=e([C.LinearChannel_fS8,C.LinearChannel_HTj,C.ColorChannel_hue_true_deg],D.JSArray_ColorChannel),C.OklchColorSpace_9Gj=new A.OklchColorSpace("oklch",C.List_g5j),C.LinearChannel_HTj0=new A.LinearChannel0(0,.4,!1,!0,!1,"chroma",!1,null),C.List_g5j0=e([C.LinearChannel_fS80,C.LinearChannel_HTj0,C.ColorChannel_hue_true_deg0],D.JSArray_ColorChannel_2),C.OklchColorSpace_9Gj0=new A.OklchColorSpace0("oklch",C.List_g5j0),C.OptionType_1Ol=new A.OptionType("OptionType.multiple"),C.OptionType_tI9=new A.OptionType("OptionType.flag"),C.OptionType_zZK=new A.OptionType("OptionType.single"),C.OutputStyle_0=new A.OutputStyle(0,"expanded"),C.OutputStyle_00=new A.OutputStyle0(0,"expanded"),C.OutputStyle_1=new A.OutputStyle(1,"compressed"),C.OutputStyle_10=new A.OutputStyle0(1,"compressed"),C.ProphotoRgbColorSpace_BDz=new A.ProphotoRgbColorSpace("prophoto-rgb",C.List_U47),C.ProphotoRgbColorSpace_BDz0=new A.ProphotoRgbColorSpace0("prophoto-rgb",C.List_U470),C.Rec2020ColorSpace_6oo=new A.Rec2020ColorSpace("rec2020",C.List_U47),C.Rec2020ColorSpace_6oo0=new A.Rec2020ColorSpace0("rec2020",C.List_U470),C.Map_empty20=new A.ConstantStringMap(C.Object_empty,[],A.findType("ConstantStringMap<SelectorList,Box<SelectorList>>")),C.Record2_EmptyExtensionStore_Map_empty=new A._Record_2(C.C_EmptyExtensionStore,C.Map_empty20),C.Map_empty21=new A.ConstantStringMap(C.Object_empty,[],A.findType("ConstantStringMap<SelectorList0,Box0<SelectorList0>>")),C.Record2_EmptyExtensionStore_Map_empty0=new A._Record_2(C.C_EmptyExtensionStore0,C.Map_empty21),C.List_Ds2=e([C.LinearChannel_qXC,C.LinearChannel_Z5r,C.LinearChannel_vJ3],D.JSArray_ColorChannel),C.RgbColorSpace_i0P=new A.RgbColorSpace("rgb",C.List_Ds2),C.List_Ds20=e([C.LinearChannel_qXC0,C.LinearChannel_Z5r0,C.LinearChannel_vJ30],D.JSArray_ColorChannel_2),C.RgbColorSpace_i0P0=new A.RgbColorSpace0("rgb",C.List_Ds20),C.SassBoolean_false=new A.SassBoolean(!1),C.SassBoolean_false0=new A.SassBoolean0(!1),C.SassBoolean_true=new A.SassBoolean(!0),C.SassBoolean_true0=new A.SassBoolean0(!0),C.SassList_9ua=new A.SassList0(C.List_empty23,C.ListSeparator_undecided_null_3_undecided0,!1),C.SassList_oH0=new A.SassList(C.List_empty8,C.ListSeparator_z0K,!1),C.SassList_oH00=new A.SassList0(C.List_empty23,C.ListSeparator_z0K0,!1),C.SassList_oWx=new A.SassList(C.List_empty8,C.ListSeparator_z0K,!0),C.SassList_oWx0=new A.SassList0(C.List_empty23,C.ListSeparator_z0K0,!0),C.Map_empty22=new A.ConstantStringMap(C.Object_empty,[],A.findType("ConstantStringMap<Value,Value>")),C.SassMap_Map_empty=new A.SassMap(C.Map_empty22),C.Map_empty23=new A.ConstantStringMap(C.Object_empty,[],A.findType("ConstantStringMap<Value0,Value0>")),C.SassMap_Map_empty0=new A.SassMap0(C.Map_empty23),C.Object_Tro={is:0,matches:1,where:2},C.Set_0egh6=new A.ConstantStringSet(C.Object_Tro,3,D.ConstantStringSet_String),C.Object_SWZ={and:0,or:1,not:2},C.Set_6V2Gi=new A.ConstantStringSet(C.Object_SWZ,3,D.ConstantStringSet_String),C.Object_ssn={sass:0,style:1,default:2},C.Set_8229z=new A.ConstantStringSet(C.Object_ssn,3,D.ConstantStringSet_String),C.Set_9FDyj=new A.GeneralConstantSet([C.RgbColorSpace_i0P,C.HslColorSpace_JQ2],A.findType("GeneralConstantSet<ColorSpace>")),C.Set_9FDyj0=new A.GeneralConstantSet([C.RgbColorSpace_i0P0,C.HslColorSpace_JQ20],A.findType("GeneralConstantSet<ColorSpace0>")),C.Object_BKa={".scss":0,".sass":1,".css":2},C.Set_FTDN4=new A.ConstantStringSet(C.Object_BKa,3,D.ConstantStringSet_String),C.Object_GR4={calc:0,clamp:1,hypot:2,sin:3,cos:4,tan:5,asin:6,acos:7,atan:8,sqrt:9,exp:10,sign:11,mod:12,rem:13,atan2:14,pow:15,log:16,"calc-size":17},C.Set_Pr3yj=new A.ConstantStringSet(C.Object_GR4,18,D.ConstantStringSet_String),C.Set_empty2=new A.ConstantStringSet(C.Object_empty,0,A.findType("ConstantStringSet<CssMediaQuery>")),C.Set_empty6=new A.ConstantStringSet(C.Object_empty,0,A.findType("ConstantStringSet<CssMediaQuery0>")),C.Set_empty3=new A.ConstantStringSet(C.Object_empty,0,A.findType("ConstantStringSet<Module0<AsyncCallable>>")),C.Set_empty0=new A.ConstantStringSet(C.Object_empty,0,A.findType("ConstantStringSet<Module0<Callable0>>")),C.Set_empty7=new A.ConstantStringSet(C.Object_empty,0,A.findType("ConstantStringSet<Module1<AsyncCallable0>>")),C.Set_empty5=new A.ConstantStringSet(C.Object_empty,0,A.findType("ConstantStringSet<Module1<Callable>>")),C.Set_empty1=new A.ConstantStringSet(C.Object_empty,0,D.ConstantStringSet_String),C.Set_empty4=new A.ConstantStringSet(C.Object_empty,0,A.findType("ConstantStringSet<StylesheetNode>")),C.Set_empty=new A.ConstantStringSet(C.Object_empty,0,A.findType("ConstantStringSet<Uri>")),C.Set_xkEMv=new A.GeneralConstantSet([C.BinaryOperator_wkM,C.BinaryOperator_ehp,C.BinaryOperator_jCK,C.BinaryOperator_tDf],A.findType("GeneralConstantSet<BinaryOperator>")),C.Set_xkEMv0=new A.GeneralConstantSet([C.BinaryOperator_wkM0,C.BinaryOperator_ehp0,C.BinaryOperator_jCK0,C.BinaryOperator_tDf0],A.findType("GeneralConstantSet<BinaryOperator0>")),C.SrgbColorSpace_thf=new A.SrgbColorSpace("srgb",C.List_U47),C.SrgbColorSpace_thf0=new A.SrgbColorSpace0("srgb",C.List_U470),C.SrgbLinearColorSpace_kUj=new A.SrgbLinearColorSpace("srgb-linear",C.List_U47),C.SrgbLinearColorSpace_kUj0=new A.SrgbLinearColorSpace0("srgb-linear",C.List_U470),C.Symbol__canonicalizeContext=new A.Symbol("_canonicalizeContext"),C.Symbol__evaluationContext=new A.Symbol("_evaluationContext"),C.Symbol__extensions=new A.Symbol("_extensions"),C.Symbol__sourceSpecificity=new A.Symbol("_sourceSpecificity"),C.Symbol_call=new A.Symbol("call"),C.Syntax_CSS_2_css=new A.Syntax("CSS",2,"css"),C.Syntax_CSS_2_css0=new A.Syntax0("CSS",2,"css"),C.Syntax_SCSS_0_scss=new A.Syntax("SCSS",0,"scss"),C.Syntax_SCSS_0_scss0=new A.Syntax0("SCSS",0,"scss"),C.Syntax_Sass_1_sass=new A.Syntax("Sass",1,"sass"),C.Syntax_Sass_1_sass0=new A.Syntax0("Sass",1,"sass"),C.Type_ByteBuffer_rqD=A.typeLiteral("ByteBuffer"),C.Type_ByteData_9dB=A.typeLiteral("ByteData"),C.Type_Float32List_9Kz=A.typeLiteral("Float32List"),C.Type_Float64List_9Kz=A.typeLiteral("Float64List"),C.Type_Int16List_s5h=A.typeLiteral("Int16List"),C.Type_Int32List_O8Z=A.typeLiteral("Int32List"),C.Type_Int8List_rFV=A.typeLiteral("Int8List"),C.Type_Object_A4p=A.typeLiteral("Object"),C.Type_Uint16List_kmP=A.typeLiteral("Uint16List"),C.Type_Uint32List_kmP=A.typeLiteral("Uint32List"),C.Type_Uint8ClampedList_04U=A.typeLiteral("Uint8ClampedList"),C.Type_Uint8List_8Eb=A.typeLiteral("Uint8List"),C.UnaryOperator_Y93=new A.UnaryOperator("divide","/",2,"divide"),C.UnaryOperator_Y930=new A.UnaryOperator0("divide","/",2,"divide"),C.UnaryOperator_hCO=new A.UnaryOperator("minus","-",1,"minus"),C.UnaryOperator_hCO0=new A.UnaryOperator0("minus","-",1,"minus"),C.UnaryOperator_n2K=new A.UnaryOperator("plus","+",0,"plus"),C.UnaryOperator_n2K0=new A.UnaryOperator0("plus","+",0,"plus"),C.UnaryOperator_not_not_3_not=new A.UnaryOperator("not","not",3,"not"),C.UnaryOperator_not_not_3_not0=new A.UnaryOperator0("not","not",3,"not"),C.Utf8Decoder_false=new A.Utf8Decoder(!1),C.LinearChannel_LYw=new A.LinearChannel(0,1,!1,!1,!1,"x",!1,null),C.LinearChannel_eR7=new A.LinearChannel(0,1,!1,!1,!1,"y",!1,null),C.LinearChannel_gZl=new A.LinearChannel(0,1,!1,!1,!1,"z",!1,null),C.List_QRs=e([C.LinearChannel_LYw,C.LinearChannel_eR7,C.LinearChannel_gZl],D.JSArray_LinearChannel),C.XyzD50ColorSpace_2OB=new A.XyzD50ColorSpace("xyz-d50",C.List_QRs),C.LinearChannel_LYw0=new A.LinearChannel0(0,1,!1,!1,!1,"x",!1,null),C.LinearChannel_eR70=new A.LinearChannel0(0,1,!1,!1,!1,"y",!1,null),C.LinearChannel_gZl0=new A.LinearChannel0(0,1,!1,!1,!1,"z",!1,null),C.List_QRs0=e([C.LinearChannel_LYw0,C.LinearChannel_eR70,C.LinearChannel_gZl0],D.JSArray_LinearChannel_2),C.XyzD50ColorSpace_2OB0=new A.XyzD50ColorSpace0("xyz-d50",C.List_QRs0),C.XyzD65ColorSpace_WiJ=new A.XyzD65ColorSpace("xyz",C.List_QRs),C.XyzD65ColorSpace_WiJ0=new A.XyzD65ColorSpace0("xyz",C.List_QRs0),C._IsBogusVisitor_false=new A._IsBogusVisitor(!1),C._IsBogusVisitor_false0=new A._IsBogusVisitor0(!1),C._IsBogusVisitor_true=new A._IsBogusVisitor(!0),C._IsBogusVisitor_true0=new A._IsBogusVisitor0(!0),C._IsInvisibleVisitor_false=new A._IsInvisibleVisitor0(!1),C._IsInvisibleVisitor_false0=new A._IsInvisibleVisitor2(!1),C._IsInvisibleVisitor_false_false=new A._IsInvisibleVisitor(!1,!1),C._IsInvisibleVisitor_false_false0=new A._IsInvisibleVisitor1(!1,!1),C._IsInvisibleVisitor_true=new A._IsInvisibleVisitor0(!0),C._IsInvisibleVisitor_true0=new A._IsInvisibleVisitor2(!0),C._IsInvisibleVisitor_true_false=new A._IsInvisibleVisitor(!0,!1),C._IsInvisibleVisitor_true_false0=new A._IsInvisibleVisitor1(!0,!1),C._IsInvisibleVisitor_true_true=new A._IsInvisibleVisitor(!0,!0),C._IsInvisibleVisitor_true_true0=new A._IsInvisibleVisitor1(!0,!0),C._PathDirection_6kc=new A._PathDirection("reaches root"),C._PathDirection_Wme=new A._PathDirection("below root"),C._PathDirection_dMN=new A._PathDirection("at root"),C._PathDirection_vgO=new A._PathDirection("above root"),C._PathRelation_different=new A._PathRelation("different"),C._PathRelation_equal=new A._PathRelation("equal"),C._PathRelation_inconclusive=new A._PathRelation("inconclusive"),C._PathRelation_within=new A._PathRelation("within"),C._SingletonCssMediaQueryMergeResult_0=new A._SingletonCssMediaQueryMergeResult(0,"empty"),C._SingletonCssMediaQueryMergeResult_00=new A._SingletonCssMediaQueryMergeResult0(0,"empty"),C._SingletonCssMediaQueryMergeResult_1=new A._SingletonCssMediaQueryMergeResult(1,"unrepresentable"),C._SingletonCssMediaQueryMergeResult_10=new A._SingletonCssMediaQueryMergeResult0(1,"unrepresentable"),C._StreamGroupState_canceled=new A._StreamGroupState("canceled"),C._StreamGroupState_dormant=new A._StreamGroupState("dormant"),C._StreamGroupState_listening=new A._StreamGroupState("listening"),C._StreamGroupState_paused=new A._StreamGroupState("paused"),C._StringStackTrace_OdL=new A._StringStackTrace(""),C._ZoneFunction_KjJ=new A._ZoneFunction(C.C__RootZone,A.async___rootHandleUncaughtError$closure()),C._ZoneFunction_PAY=new A._ZoneFunction(C.C__RootZone,A.async___rootCreatePeriodicTimer$closure()),C._ZoneFunction_Xkh=new A._ZoneFunction(C.C__RootZone,A.async___rootRegisterUnaryCallback$closure()),C._ZoneFunction__RootZone__rootCreateTimer=new A._ZoneFunction(C.C__RootZone,A.async___rootCreateTimer$closure()),C._ZoneFunction__RootZone__rootErrorCallback=new A._ZoneFunction(C.C__RootZone,A.async___rootErrorCallback$closure()),C._ZoneFunction__RootZone__rootFork=new A._ZoneFunction(C.C__RootZone,A.async___rootFork$closure()),C._ZoneFunction__RootZone__rootPrint=new A._ZoneFunction(C.C__RootZone,A.async___rootPrint$closure()),C._ZoneFunction__RootZone__rootRegisterCallback=new A._ZoneFunction(C.C__RootZone,A.async___rootRegisterCallback$closure()),C._ZoneFunction__RootZone__rootRun=new A._ZoneFunction(C.C__RootZone,A.async___rootRun$closure()),C._ZoneFunction__RootZone__rootRunBinary=new A._ZoneFunction(C.C__RootZone,A.async___rootRunBinary$closure()),C._ZoneFunction__RootZone__rootRunUnary=new A._ZoneFunction(C.C__RootZone,A.async___rootRunUnary$closure()),C._ZoneFunction__RootZone__rootScheduleMicrotask=new A._ZoneFunction(C.C__RootZone,A.async___rootScheduleMicrotask$closure()),C._ZoneFunction_e9o=new A._ZoneFunction(C.C__RootZone,A.async___rootRegisterBinaryCallback$closure()),C._ZoneSpecification_Ipa=new A._ZoneSpecification(null,null,null,null,null,null,null,null,null,null,null,null,null)}(),I._JS_INTEROP_INTERCEPTOR_TAG=null,I._toStringVisiting=A._setArrayType([],D.JSArray_Object),I.printToZone=null,I.Primitives__identityHashCodeProperty=null,I.BoundClosure__receiverFieldNameCache=null,I.BoundClosure__interceptorFieldNameCache=null,I.getTagFunction=null,I.alternateTagFunction=null,I.prototypeForTagFunction=null,I.dispatchRecordsForInstanceTags=null,I.interceptorsForUncacheableTags=null,I.initNativeDispatchFlag=null,I._Record__computedFieldKeys=A._setArrayType([],A.findType("JSArray<List<Object>?>")),I._nextCallback=null,I._lastCallback=null,I._lastPriorityCallback=null,I._isInCallbackLoop=!1,I.Zone__current=C.C__RootZone,I._RootZone__rootDelegate=null,I.Uri__cachedBaseString="",I.Uri__cachedBaseUri=null,I._fs=null,I._currentUriBase=null,I._current=null,I._subselectorPseudos=A.LinkedHashSet_LinkedHashSet$_literal(["is","matches","where","any","nth-child","nth-last-child"],D.String),I._rootishPseudoClasses=A.LinkedHashSet_LinkedHashSet$_literal(["root","scope","host","host-context"],D.String),I._features=A.LinkedHashSet_LinkedHashSet$_literal(["global-variable-shadowing","extend-selector-pseudoclass","units-level-3","at-error","custom-property"],D.String),I._realCaseCache=(T=D.String,A.LinkedHashMap_LinkedHashMap$_empty(T,T)),I._default=null,I.selectorPseudoClasses=A.LinkedHashSet_LinkedHashSet$_literal(["not","is","matches","where","current","any","has","host","host-context"],D.String),I.selectorPseudoElements=A.LinkedHashSet_LinkedHashSet$_literal(["slotted"],D.String),I._glyphs=C.C_UnicodeGlyphSet,I._default0=null,I._rootishPseudoClasses0=A.LinkedHashSet_LinkedHashSet$_literal(["root","scope","host","host-context"],D.String),I._realCaseCache0=function(){var e=D.String;return A.LinkedHashMap_LinkedHashMap$_empty(e,e)}(),I._features0=A.LinkedHashSet_LinkedHashSet$_literal(["global-variable-shadowing","extend-selector-pseudoclass","units-level-3","at-error","custom-property"],D.String),I.selectorPseudoClasses0=A.LinkedHashSet_LinkedHashSet$_literal(["not","is","matches","where","current","any","has","host","host-context"],D.String),I.selectorPseudoElements0=A.LinkedHashSet_LinkedHashSet$_literal(["slotted"],D.String),I._subselectorPseudos0=A.LinkedHashSet_LinkedHashSet$_literal(["is","matches","where","any","nth-child","nth-last-child"],D.String),R=S.lazyFinal,L=S.lazy,R(I,"DART_CLOSURE_PROPERTY_NAME","$get$DART_CLOSURE_PROPERTY_NAME",()=>A.getIsolateAffinityTag("_$dart_dartClosure")),R(I,"nullFuture","$get$nullFuture",()=>C.C__RootZone.run$1$1(0,new A.nullFuture_closure,A.findType("Future<~>"))),R(I,"_safeToStringHooks","$get$_safeToStringHooks",()=>A._setArrayType([new w.JSArraySafeToStringHook],A.findType("JSArray<SafeToStringHook>"))),R(I,"TypeErrorDecoder_noSuchMethodPattern","$get$TypeErrorDecoder_noSuchMethodPattern",()=>A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn({toString:function(){return"$receiver$"}}))),R(I,"TypeErrorDecoder_notClosurePattern","$get$TypeErrorDecoder_notClosurePattern",()=>A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn({$method$:null,toString:function(){return"$receiver$"}}))),R(I,"TypeErrorDecoder_nullCallPattern","$get$TypeErrorDecoder_nullCallPattern",()=>A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn(null))),R(I,"TypeErrorDecoder_nullLiteralCallPattern","$get$TypeErrorDecoder_nullLiteralCallPattern",()=>A.TypeErrorDecoder_extractPattern(function(){try{null.$method$("$arguments$")}catch(e){return e.message}}())),R(I,"TypeErrorDecoder_undefinedCallPattern","$get$TypeErrorDecoder_undefinedCallPattern",()=>A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokeCallErrorOn(void 0))),R(I,"TypeErrorDecoder_undefinedLiteralCallPattern","$get$TypeErrorDecoder_undefinedLiteralCallPattern",()=>A.TypeErrorDecoder_extractPattern(function(){try{(void 0).$method$("$arguments$")}catch(e){return e.message}}())),R(I,"TypeErrorDecoder_nullPropertyPattern","$get$TypeErrorDecoder_nullPropertyPattern",()=>A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokePropertyErrorOn(null))),R(I,"TypeErrorDecoder_nullLiteralPropertyPattern","$get$TypeErrorDecoder_nullLiteralPropertyPattern",()=>A.TypeErrorDecoder_extractPattern(function(){try{null.$method$}catch(e){return e.message}}())),R(I,"TypeErrorDecoder_undefinedPropertyPattern","$get$TypeErrorDecoder_undefinedPropertyPattern",()=>A.TypeErrorDecoder_extractPattern(A.TypeErrorDecoder_provokePropertyErrorOn(void 0))),R(I,"TypeErrorDecoder_undefinedLiteralPropertyPattern","$get$TypeErrorDecoder_undefinedLiteralPropertyPattern",()=>A.TypeErrorDecoder_extractPattern(function(){try{(void 0).$method$}catch(e){return e.message}}())),R(I,"_AsyncRun__scheduleImmediateClosure","$get$_AsyncRun__scheduleImmediateClosure",()=>A._AsyncRun__initializeScheduleImmediate()),R(I,"Future__nullFuture","$get$Future__nullFuture",()=>I.$get$nullFuture()),R(I,"Future__falseFuture","$get$Future__falseFuture",()=>A._Future$zoneValue(!1,C.C__RootZone,D.bool)),R(I,"_RootZone__rootMap","$get$_RootZone__rootMap",()=>{var e=D.dynamic;return A.HashMap_HashMap(e,e)}),R(I,"_Utf8Decoder__reusableBuffer","$get$_Utf8Decoder__reusableBuffer",()=>A.NativeUint8List_NativeUint8List(4096)),R(I,"_Utf8Decoder__decoder","$get$_Utf8Decoder__decoder",()=>(new A._Utf8Decoder__decoder_closure).call$0()),R(I,"_Utf8Decoder__decoderNonfatal","$get$_Utf8Decoder__decoderNonfatal",()=>(new A._Utf8Decoder__decoderNonfatal_closure).call$0()),R(I,"_Base64Decoder__inverseAlphabet","$get$_Base64Decoder__inverseAlphabet",()=>A.NativeInt8List__create1(A._ensureNativeList(A._setArrayType([-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-2,-1,-2,-2,-2,-2,-2,62,-2,62,-2,63,52,53,54,55,56,57,58,59,60,61,-2,-2,-2,-1,-2,-2,-2,0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,-2,-2,-2,-2,63,-2,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,-2,-2,-2,-2,-2],D.JSArray_int)))),R(I,"_Uri__isWindowsCached","$get$_Uri__isWindowsCached",()=>void 0!==tU&&"[object process]"==Object.prototype.toString.call(tU)&&"win32"==tU.platform),R(I,"_Uri__needsNoEncoding","$get$_Uri__needsNoEncoding",()=>A.RegExp_RegExp("^[\\-\\.0-9A-Z_a-z~]*$",!1)),R(I,"_hashSeed","$get$_hashSeed",()=>A.objectHashCode(C.Type_Object_A4p)),R(I,"Option__invalidChars","$get$Option__invalidChars",()=>A.RegExp_RegExp("[ \\t\\r\\n\"'\\\\/]",!1)),R(I,"_isStrictMode","$get$_isStrictMode",()=>(new A._isStrictMode_closure).call$0()),R(I,"alwaysValid","$get$alwaysValid",()=>new A.alwaysValid_closure),R(I,"readline","$get$readline",()=>n.readline),R(I,"windows","$get$windows",()=>A.Context_Context(I.$get$Style_windows())),R(I,"url","$get$url",()=>A.Context_Context(I.$get$Style_url())),R(I,"context","$get$context",()=>new A.Context(I.$get$Style_platform(),null)),R(I,"Style_posix","$get$Style_posix",()=>new A.PosixStyle(A.RegExp_RegExp("/",!1),A.RegExp_RegExp("[^/]$",!1),A.RegExp_RegExp("^/",!1))),R(I,"Style_windows","$get$Style_windows",()=>new A.WindowsStyle(A.RegExp_RegExp("[/\\\\]",!1),A.RegExp_RegExp("[^/\\\\]$",!1),A.RegExp_RegExp("^(\\\\\\\\[^\\\\]+\\\\[^\\\\/]+|[a-zA-Z]:[/\\\\])",!1),A.RegExp_RegExp("^[/\\\\](?![/\\\\])",!1))),R(I,"Style_url","$get$Style_url",()=>new A.UrlStyle(A.RegExp_RegExp("/",!1),A.RegExp_RegExp("(^[a-zA-Z][-+.a-zA-Z\\d]*://|[^/])$",!1),A.RegExp_RegExp("[a-zA-Z][-+.a-zA-Z\\d]*://[^/]*",!1),A.RegExp_RegExp("^/",!1))),R(I,"Style_platform","$get$Style_platform",()=>A.Style__getPlatformStyle()),R(I,"startVersion","$get$startVersion",()=>A.RegExp_RegExp("^(\\d+)\\.(\\d+)\\.(\\d+)(-([0-9A-Za-z-]+(\\.[0-9A-Za-z-]+)*))?(\\+([0-9A-Za-z-]+(\\.[0-9A-Za-z-]+)*))?",!1)),R(I,"completeVersion","$get$completeVersion",()=>A.RegExp_RegExp(I.$get$startVersion().pattern+"$",!1)),R(I,"LegacyIfExpression_declaration","$get$LegacyIfExpression_declaration",()=>A.ParameterList_ParameterList$parse(P.x40funct,null)),R(I,"colorsByName","$get$colorsByName",()=>A.LinkedHashMap_LinkedHashMap$_literal(["yellowgreen",A.SassColor_SassColor$rgb(154,205,50,1),"yellow",A.SassColor_SassColor$rgb(255,255,0,1),"whitesmoke",A.SassColor_SassColor$rgb(245,245,245,1),"white",A.SassColor_SassColor$rgb(255,255,255,1),"wheat",A.SassColor_SassColor$rgb(245,222,179,1),"violet",A.SassColor_SassColor$rgb(238,130,238,1),"turquoise",A.SassColor_SassColor$rgb(64,224,208,1),"transparent",A.SassColor_SassColor$rgb(0,0,0,0),"tomato",A.SassColor_SassColor$rgb(255,99,71,1),"thistle",A.SassColor_SassColor$rgb(216,191,216,1),"teal",A.SassColor_SassColor$rgb(0,128,128,1),"tan",A.SassColor_SassColor$rgb(210,180,140,1),"steelblue",A.SassColor_SassColor$rgb(70,130,180,1),"springgreen",A.SassColor_SassColor$rgb(0,255,127,1),"snow",A.SassColor_SassColor$rgb(255,250,250,1),"slategrey",A.SassColor_SassColor$rgb(112,128,144,1),"slategray",A.SassColor_SassColor$rgb(112,128,144,1),"slateblue",A.SassColor_SassColor$rgb(106,90,205,1),"skyblue",A.SassColor_SassColor$rgb(135,206,235,1),"silver",A.SassColor_SassColor$rgb(192,192,192,1),"sienna",A.SassColor_SassColor$rgb(160,82,45,1),"seashell",A.SassColor_SassColor$rgb(255,245,238,1),"seagreen",A.SassColor_SassColor$rgb(46,139,87,1),"sandybrown",A.SassColor_SassColor$rgb(244,164,96,1),"salmon",A.SassColor_SassColor$rgb(250,128,114,1),"saddlebrown",A.SassColor_SassColor$rgb(139,69,19,1),"royalblue",A.SassColor_SassColor$rgb(65,105,225,1),"rosybrown",A.SassColor_SassColor$rgb(188,143,143,1),"red",A.SassColor_SassColor$rgb(255,0,0,1),"rebeccapurple",A.SassColor_SassColor$rgb(102,51,153,1),"purple",A.SassColor_SassColor$rgb(128,0,128,1),"powderblue",A.SassColor_SassColor$rgb(176,224,230,1),"plum",A.SassColor_SassColor$rgb(221,160,221,1),"pink",A.SassColor_SassColor$rgb(255,192,203,1),"peru",A.SassColor_SassColor$rgb(205,133,63,1),"peachpuff",A.SassColor_SassColor$rgb(255,218,185,1),"papayawhip",A.SassColor_SassColor$rgb(255,239,213,1),"palevioletred",A.SassColor_SassColor$rgb(219,112,147,1),"paleturquoise",A.SassColor_SassColor$rgb(175,238,238,1),"palegreen",A.SassColor_SassColor$rgb(152,251,152,1),"palegoldenrod",A.SassColor_SassColor$rgb(238,232,170,1),"orchid",A.SassColor_SassColor$rgb(218,112,214,1),"orangered",A.SassColor_SassColor$rgb(255,69,0,1),"orange",A.SassColor_SassColor$rgb(255,165,0,1),"olivedrab",A.SassColor_SassColor$rgb(107,142,35,1),"olive",A.SassColor_SassColor$rgb(128,128,0,1),"oldlace",A.SassColor_SassColor$rgb(253,245,230,1),"navy",A.SassColor_SassColor$rgb(0,0,128,1),"navajowhite",A.SassColor_SassColor$rgb(255,222,173,1),"moccasin",A.SassColor_SassColor$rgb(255,228,181,1),"mistyrose",A.SassColor_SassColor$rgb(255,228,225,1),"mintcream",A.SassColor_SassColor$rgb(245,255,250,1),"midnightblue",A.SassColor_SassColor$rgb(25,25,112,1),"mediumvioletred",A.SassColor_SassColor$rgb(199,21,133,1),"mediumturquoise",A.SassColor_SassColor$rgb(72,209,204,1),"mediumspringgreen",A.SassColor_SassColor$rgb(0,250,154,1),"mediumslateblue",A.SassColor_SassColor$rgb(123,104,238,1),"mediumseagreen",A.SassColor_SassColor$rgb(60,179,113,1),"mediumpurple",A.SassColor_SassColor$rgb(147,112,219,1),"mediumorchid",A.SassColor_SassColor$rgb(186,85,211,1),"mediumblue",A.SassColor_SassColor$rgb(0,0,205,1),"mediumaquamarine",A.SassColor_SassColor$rgb(102,205,170,1),"maroon",A.SassColor_SassColor$rgb(128,0,0,1),"magenta",A.SassColor_SassColor$rgb(255,0,255,1),"linen",A.SassColor_SassColor$rgb(250,240,230,1),"limegreen",A.SassColor_SassColor$rgb(50,205,50,1),"lime",A.SassColor_SassColor$rgb(0,255,0,1),"lightyellow",A.SassColor_SassColor$rgb(255,255,224,1),"lightsteelblue",A.SassColor_SassColor$rgb(176,196,222,1),"lightslategrey",A.SassColor_SassColor$rgb(119,136,153,1),"lightslategray",A.SassColor_SassColor$rgb(119,136,153,1),"lightskyblue",A.SassColor_SassColor$rgb(135,206,250,1),"lightseagreen",A.SassColor_SassColor$rgb(32,178,170,1),"lightsalmon",A.SassColor_SassColor$rgb(255,160,122,1),"lightpink",A.SassColor_SassColor$rgb(255,182,193,1),"lightgrey",A.SassColor_SassColor$rgb(211,211,211,1),"lightgreen",A.SassColor_SassColor$rgb(144,238,144,1),"lightgray",A.SassColor_SassColor$rgb(211,211,211,1),"lightgoldenrodyellow",A.SassColor_SassColor$rgb(250,250,210,1),"lightcyan",A.SassColor_SassColor$rgb(224,255,255,1),"lightcoral",A.SassColor_SassColor$rgb(240,128,128,1),"lightblue",A.SassColor_SassColor$rgb(173,216,230,1),"lemonchiffon",A.SassColor_SassColor$rgb(255,250,205,1),"lawngreen",A.SassColor_SassColor$rgb(124,252,0,1),"lavenderblush",A.SassColor_SassColor$rgb(255,240,245,1),"lavender",A.SassColor_SassColor$rgb(230,230,250,1),"khaki",A.SassColor_SassColor$rgb(240,230,140,1),"ivory",A.SassColor_SassColor$rgb(255,255,240,1),"indigo",A.SassColor_SassColor$rgb(75,0,130,1),"indianred",A.SassColor_SassColor$rgb(205,92,92,1),"hotpink",A.SassColor_SassColor$rgb(255,105,180,1),"honeydew",A.SassColor_SassColor$rgb(240,255,240,1),"grey",A.SassColor_SassColor$rgb(128,128,128,1),"greenyellow",A.SassColor_SassColor$rgb(173,255,47,1),"green",A.SassColor_SassColor$rgb(0,128,0,1),"gray",A.SassColor_SassColor$rgb(128,128,128,1),"goldenrod",A.SassColor_SassColor$rgb(218,165,32,1),"gold",A.SassColor_SassColor$rgb(255,215,0,1),"ghostwhite",A.SassColor_SassColor$rgb(248,248,255,1),"gainsboro",A.SassColor_SassColor$rgb(220,220,220,1),"fuchsia",A.SassColor_SassColor$rgb(255,0,255,1),"forestgreen",A.SassColor_SassColor$rgb(34,139,34,1),"floralwhite",A.SassColor_SassColor$rgb(255,250,240,1),"firebrick",A.SassColor_SassColor$rgb(178,34,34,1),"dodgerblue",A.SassColor_SassColor$rgb(30,144,255,1),"dimgrey",A.SassColor_SassColor$rgb(105,105,105,1),"dimgray",A.SassColor_SassColor$rgb(105,105,105,1),"deepskyblue",A.SassColor_SassColor$rgb(0,191,255,1),"deeppink",A.SassColor_SassColor$rgb(255,20,147,1),"darkviolet",A.SassColor_SassColor$rgb(148,0,211,1),"darkturquoise",A.SassColor_SassColor$rgb(0,206,209,1),"darkslategrey",A.SassColor_SassColor$rgb(47,79,79,1),"darkslategray",A.SassColor_SassColor$rgb(47,79,79,1),"darkslateblue",A.SassColor_SassColor$rgb(72,61,139,1),"darkseagreen",A.SassColor_SassColor$rgb(143,188,143,1),"darksalmon",A.SassColor_SassColor$rgb(233,150,122,1),"darkred",A.SassColor_SassColor$rgb(139,0,0,1),"darkorchid",A.SassColor_SassColor$rgb(153,50,204,1),"darkorange",A.SassColor_SassColor$rgb(255,140,0,1),"darkolivegreen",A.SassColor_SassColor$rgb(85,107,47,1),"darkmagenta",A.SassColor_SassColor$rgb(139,0,139,1),"darkkhaki",A.SassColor_SassColor$rgb(189,183,107,1),"darkgrey",A.SassColor_SassColor$rgb(169,169,169,1),"darkgreen",A.SassColor_SassColor$rgb(0,100,0,1),"darkgray",A.SassColor_SassColor$rgb(169,169,169,1),"darkgoldenrod",A.SassColor_SassColor$rgb(184,134,11,1),"darkcyan",A.SassColor_SassColor$rgb(0,139,139,1),"darkblue",A.SassColor_SassColor$rgb(0,0,139,1),"cyan",A.SassColor_SassColor$rgb(0,255,255,1),"crimson",A.SassColor_SassColor$rgb(220,20,60,1),"cornsilk",A.SassColor_SassColor$rgb(255,248,220,1),"cornflowerblue",A.SassColor_SassColor$rgb(100,149,237,1),"coral",A.SassColor_SassColor$rgb(255,127,80,1),"chocolate",A.SassColor_SassColor$rgb(210,105,30,1),"chartreuse",A.SassColor_SassColor$rgb(127,255,0,1),"cadetblue",A.SassColor_SassColor$rgb(95,158,160,1),"burlywood",A.SassColor_SassColor$rgb(222,184,135,1),"brown",A.SassColor_SassColor$rgb(165,42,42,1),"blueviolet",A.SassColor_SassColor$rgb(138,43,226,1),"blue",A.SassColor_SassColor$rgb(0,0,255,1),"blanchedalmond",A.SassColor_SassColor$rgb(255,235,205,1),"black",A.SassColor_SassColor$rgb(0,0,0,1),"bisque",A.SassColor_SassColor$rgb(255,228,196,1),"beige",A.SassColor_SassColor$rgb(245,245,220,1),"azure",A.SassColor_SassColor$rgb(240,255,255,1),"aquamarine",A.SassColor_SassColor$rgb(127,255,212,1),"aqua",A.SassColor_SassColor$rgb(0,255,255,1),"antiquewhite",A.SassColor_SassColor$rgb(250,235,215,1),"aliceblue",A.SassColor_SassColor$rgb(240,248,255,1)],D.String,D.SassColor)),R(I,"namesByColor","$get$namesByColor",()=>{var e,t=D.SassColor,r=D.String,n=A.LinkedHashMap_LinkedHashMap$_empty(t,r);for(t=(t=A.MapExtensions_get_pairs(I.$get$colorsByName(),r,t)).get$iterator(t);t.moveNext$0();)e=(r=t.get$current(t))._0,n.$indexSet(0,r._1,e);return n}),R(I,"ExecutableOptions__separatorBar","$get$ExecutableOptions__separatorBar",()=>A.isWindows()?"=":"�"),R(I,"ExecutableOptions__parser","$get$ExecutableOptions__parser",()=>(new A.ExecutableOptions__parser_closure).call$0()),R(I,"globalFunctions","$get$globalFunctions",()=>{var e=D.BuiltInCallable,t=A.List_List$of(I.$get$global(),!0,e);return C.JSArray_methods.addAll$1(t,I.$get$global0()),C.JSArray_methods.addAll$1(t,I.$get$global1()),C.JSArray_methods.addAll$1(t,I.$get$global2()),C.JSArray_methods.addAll$1(t,I.$get$global3()),C.JSArray_methods.addAll$1(t,I.$get$global4()),C.JSArray_methods.addAll$1(t,I.$get$global5()),t.push(A.BuiltInCallable$function("if","$condition, $if-true, $if-false",new A.globalFunctions_closure,null)),A.UnmodifiableListView$(t,e)}),R(I,"coreModules","$get$coreModules",()=>A.UnmodifiableListView$(A._setArrayType([I.$get$module(),I.$get$module0(),I.$get$module1(),I.$get$module2(),I.$get$module3(),I.$get$module4()],A.findType("JSArray<BuiltInModule<Callable0>>")),D.BuiltInModule_Callable)),R(I,"_microsoftFilterStart","$get$_microsoftFilterStart",()=>A.RegExp_RegExp("^[a-zA-Z]+\\s*=",!1)),R(I,"global","$get$global",()=>{var e="color",t="$red, $green, $blue, $alpha",r="$red, $green, $blue",n="$channels",i="$hue, $saturation, $lightness, $alpha",o="$hue, $saturation, $lightness",s="$hue, $saturation",a="adjust",l="$color, $amount",c=D.String,u=D.Value_Function_List_Value;return A.UnmodifiableListView$(A._setArrayType([A._channelFunction("red",C.RgbColorSpace_i0P,new A.global_closure0,!0,null).withDeprecationWarning$1(e),A._channelFunction("green",C.RgbColorSpace_i0P,new A.global_closure1,!0,null).withDeprecationWarning$1(e),A._channelFunction("blue",C.RgbColorSpace_i0P,new A.global_closure2,!0,null).withDeprecationWarning$1(e),I.$get$_mix().withDeprecationWarning$1(e),A.BuiltInCallable$overloadedFunction("rgb",A.LinkedHashMap_LinkedHashMap$_literal([t,new A.global_closure3,r,new A.global_closure4,"$color, $alpha",new A.global_closure5,"$channels",new A.global_closure6],c,u)),A.BuiltInCallable$overloadedFunction("rgba",A.LinkedHashMap_LinkedHashMap$_literal([t,new A.global_closure7,r,new A.global_closure8,"$color, $alpha",new A.global_closure9,"$channels",new A.global_closure10],c,u)),A._function5("invert","$color, $weight: 100%, $space: null",new A.global_closure11),A._channelFunction("hue",C.HslColorSpace_JQ2,new A.global_closure12,!0,"deg").withDeprecationWarning$1(e),A._channelFunction("saturation",C.HslColorSpace_JQ2,new A.global_closure13,!0,"%").withDeprecationWarning$1(e),A._channelFunction("lightness",C.HslColorSpace_JQ2,new A.global_closure14,!0,"%").withDeprecationWarning$1(e),A.BuiltInCallable$overloadedFunction("hsl",A.LinkedHashMap_LinkedHashMap$_literal([i,new A.global_closure15,o,new A.global_closure16,s,new A.global_closure17,"$channels",new A.global_closure18],c,u)),A.BuiltInCallable$overloadedFunction("hsla",A.LinkedHashMap_LinkedHashMap$_literal([i,new A.global_closure19,o,new A.global_closure20,s,new A.global_closure21,"$channels",new A.global_closure22],c,u)),A._function5("grayscale","$color",new A.global_closure23),A._function5("adjust-hue","$color, $degrees",new A.global_closure24).withDeprecationWarning$2(e,a),A._function5("lighten",l,new A.global_closure25).withDeprecationWarning$2(e,a),A._function5("darken",l,new A.global_closure26).withDeprecationWarning$2(e,a),A.BuiltInCallable$overloadedFunction("saturate",A.LinkedHashMap_LinkedHashMap$_literal(["$amount",new A.global_closure27,"$color, $amount",new A.global_closure28],c,u)),A._function5("desaturate",l,new A.global_closure29).withDeprecationWarning$2(e,a),A._function5("opacify",l,new A.global_closure30).withDeprecationWarning$2(e,a),A._function5("fade-in",l,new A.global_closure31).withDeprecationWarning$2(e,a),A._function5("transparentize",l,new A.global_closure32).withDeprecationWarning$2(e,a),A._function5("fade-out",l,new A.global_closure33).withDeprecationWarning$2(e,a),A.BuiltInCallable$overloadedFunction("alpha",A.LinkedHashMap_LinkedHashMap$_literal(["$color",new A.global_closure34,"$args...",new A.global_closure35],c,u)),A._function5("opacity","$color",new A.global_closure36),A._function5(e,"$description",new A.global_closure37),A._function5("hwb",n,new A.global_closure38),A._function5("lab",n,new A.global_closure39),A._function5("lch",n,new A.global_closure40),A._function5("oklab",n,new A.global_closure41),A._function5("oklch",n,new A.global_closure42),I.$get$_complement().withDeprecationWarning$1(e),I.$get$_ieHexStr(),I.$get$_adjust().withDeprecationWarning$1(e).withName$1("adjust-color"),I.$get$_scale().withDeprecationWarning$1(e).withName$1("scale-color"),I.$get$_change().withDeprecationWarning$1(e).withName$1("change-color")],D.JSArray_BuiltInCallable),D.BuiltInCallable)}),R(I,"module","$get$module",()=>{var e=null,t="saturation",r="lightness",n="$color",i="alpha",o="$color, $channel, $space: null",s=D.String,a=D.Value_Function_List_Value;return A.BuiltInModule$("color",A._setArrayType([A._channelFunction("red",C.RgbColorSpace_i0P,new A.module_closure1,!1,e),A._channelFunction("green",C.RgbColorSpace_i0P,new A.module_closure2,!1,e),A._channelFunction("blue",C.RgbColorSpace_i0P,new A.module_closure3,!1,e),I.$get$_mix(),A._function5("invert","$color, $weight: 100%, $space: null",new A.module_closure4),A._channelFunction("hue",C.HslColorSpace_JQ2,new A.module_closure5,!1,"deg"),A._channelFunction(t,C.HslColorSpace_JQ2,new A.module_closure6,!1,"%"),A._channelFunction(r,C.HslColorSpace_JQ2,new A.module_closure7,!1,"%"),A._removedColorFunction("adjust-hue","hue",!1),A._removedColorFunction("lighten",r,!1),A._removedColorFunction("darken",r,!0),A._removedColorFunction("saturate",t,!1),A._removedColorFunction("desaturate",t,!0),A._function5("grayscale",n,new A.module_closure8),A.BuiltInCallable$overloadedFunction("hwb",A.LinkedHashMap_LinkedHashMap$_literal(["$hue, $whiteness, $blackness, $alpha: 1",new A.module_closure9,"$channels",new A.module_closure10],s,a)),A._channelFunction("whiteness",C.HwbColorSpace_guQ,new A.module_closure11,!1,"%"),A._channelFunction("blackness",C.HwbColorSpace_guQ,new A.module_closure12,!1,"%"),A._removedColorFunction("opacify",i,!1),A._removedColorFunction("fade-in",i,!1),A._removedColorFunction("transparentize",i,!0),A._removedColorFunction("fade-out",i,!0),A.BuiltInCallable$overloadedFunction(i,A.LinkedHashMap_LinkedHashMap$_literal(["$color",new A.module_closure13,"$args...",new A.module_closure14],s,a)),A._function5("opacity",n,new A.module_closure15),A._function5("space",n,new A.module_closure16),A._function5("to-space","$color, $space",new A.module_closure17),A._function5("is-legacy",n,new A.module_closure18),A._function5("is-missing","$color, $channel",new A.module_closure19),A._function5("is-in-gamut","$color, $space: null",new A.module_closure20),A._function5("to-gamut","$color, $space: null, $method: null",new A.module_closure21),A._function5("channel",o,new A.module_closure22),A._function5("same","$color1, $color2",new A.module_closure23),A._function5("is-powerless",o,new A.module_closure24),I.$get$_complement(),I.$get$_adjust(),I.$get$_scale(),I.$get$_change(),I.$get$_ieHexStr()],D.JSArray_Callable),e,e,D.Callable)}),R(I,"_mix","$get$_mix",()=>A._function5("mix",P.x24color,new A._mix_closure)),R(I,"_complement","$get$_complement",()=>A._function5("complement","$color, $space: null",new A._complement_closure)),R(I,"_adjust","$get$_adjust",()=>A._function5("adjust","$color, $kwargs...",new A._adjust_closure)),R(I,"_scale","$get$_scale",()=>A._function5("scale","$color, $kwargs...",new A._scale_closure)),R(I,"_change","$get$_change",()=>A._function5("change","$color, $kwargs...",new A._change_closure)),R(I,"_ieHexStr","$get$_ieHexStr",()=>A._function5("ie-hex-str","$color",new A._ieHexStr_closure)),R(I,"global0","$get$global0",()=>{var e="list";return A.UnmodifiableListView$(A._setArrayType([I.$get$_length0().withDeprecationWarning$1(e),I.$get$_nth().withDeprecationWarning$1(e),I.$get$_setNth().withDeprecationWarning$1(e),I.$get$_join().withDeprecationWarning$1(e),I.$get$_append0().withDeprecationWarning$1(e),I.$get$_zip().withDeprecationWarning$1(e),I.$get$_index0().withDeprecationWarning$1(e),I.$get$_isBracketed().withDeprecationWarning$1(e),I.$get$_separator().withDeprecationWarning$1(e).withName$1("list-separator")],D.JSArray_BuiltInCallable),D.BuiltInCallable)}),R(I,"module0","$get$module0",()=>A.BuiltInModule$("list",A._setArrayType([I.$get$_length0(),I.$get$_nth(),I.$get$_setNth(),I.$get$_join(),I.$get$_append0(),I.$get$_zip(),I.$get$_index0(),I.$get$_isBracketed(),I.$get$_separator(),I.$get$_slash()],D.JSArray_Callable),null,null,D.Callable)),R(I,"_length","$get$_length0",()=>A._function4("length","$list",new A._length_closure0)),R(I,"_nth","$get$_nth",()=>A._function4("nth","$list, $n",new A._nth_closure)),R(I,"_setNth","$get$_setNth",()=>A._function4("set-nth","$list, $n, $value",new A._setNth_closure)),R(I,"_join","$get$_join",()=>A._function4("join",P.x24list1,new A._join_closure)),R(I,"_append","$get$_append0",()=>A._function4("append","$list, $val, $separator: auto",new A._append_closure0)),R(I,"_zip","$get$_zip",()=>A._function4("zip","$lists...",new A._zip_closure)),R(I,"_index","$get$_index0",()=>A._function4("index","$list, $value",new A._index_closure0)),R(I,"_separator","$get$_separator",()=>A._function4("separator","$list",new A._separator_closure)),R(I,"_isBracketed","$get$_isBracketed",()=>A._function4("is-bracketed","$list",new A._isBracketed_closure)),R(I,"_slash","$get$_slash",()=>A._function4("slash","$elements...",new A._slash_closure)),R(I,"global1","$get$global1",()=>{var e="map";return A.UnmodifiableListView$(A._setArrayType([I.$get$_get().withDeprecationWarning$1(e).withName$1("map-get"),I.$get$_merge().withDeprecationWarning$1(e).withName$1("map-merge"),I.$get$_remove().withDeprecationWarning$1(e).withName$1("map-remove"),I.$get$_keys().withDeprecationWarning$1(e).withName$1("map-keys"),I.$get$_values().withDeprecationWarning$1(e).withName$1("map-values"),I.$get$_hasKey().withDeprecationWarning$1(e).withName$1("map-has-key")],D.JSArray_BuiltInCallable),D.BuiltInCallable)}),R(I,"module1","$get$module1",()=>A.BuiltInModule$("map",A._setArrayType([I.$get$_get(),I.$get$_set(),I.$get$_merge(),I.$get$_remove(),I.$get$_keys(),I.$get$_values(),I.$get$_hasKey(),I.$get$_deepMerge(),I.$get$_deepRemove()],D.JSArray_Callable),null,null,D.Callable)),R(I,"_get","$get$_get",()=>A._function3("get","$map, $key, $keys...",new A._get_closure)),R(I,"_set","$get$_set",()=>A.BuiltInCallable$overloadedFunction("set",A.LinkedHashMap_LinkedHashMap$_literal(["$map, $key, $value",new A._set_closure,"$map, $args...",new A._set_closure0],D.String,D.Value_Function_List_Value))),R(I,"_merge","$get$_merge",()=>A.BuiltInCallable$overloadedFunction("merge",A.LinkedHashMap_LinkedHashMap$_literal(["$map1, $map2",new A._merge_closure,"$map1, $args...",new A._merge_closure0],D.String,D.Value_Function_List_Value))),R(I,"_deepMerge","$get$_deepMerge",()=>A._function3("deep-merge","$map1, $map2",new A._deepMerge_closure)),R(I,"_deepRemove","$get$_deepRemove",()=>A._function3("deep-remove","$map, $key, $keys...",new A._deepRemove_closure)),R(I,"_remove","$get$_remove",()=>A.BuiltInCallable$overloadedFunction("remove",A.LinkedHashMap_LinkedHashMap$_literal(["$map",new A._remove_closure,"$map, $key, $keys...",new A._remove_closure0],D.String,D.Value_Function_List_Value))),R(I,"_keys","$get$_keys",()=>A._function3("keys","$map",new A._keys_closure)),R(I,"_values","$get$_values",()=>A._function3("values","$map",new A._values_closure)),R(I,"_hasKey","$get$_hasKey",()=>A._function3("has-key","$map, $key, $keys...",new A._hasKey_closure)),R(I,"global2","$get$global2",()=>{var e="math";return A.UnmodifiableListView$(A._setArrayType([A._function2("abs","$number",new A.global_closure),I.$get$_ceil().withDeprecationWarning$1(e),I.$get$_floor().withDeprecationWarning$1(e),I.$get$_max().withDeprecationWarning$1(e),I.$get$_min().withDeprecationWarning$1(e),I.$get$_percentage().withDeprecationWarning$1(e),I.$get$_randomFunction().withDeprecationWarning$1(e),I.$get$_round().withDeprecationWarning$1(e),I.$get$_unit().withDeprecationWarning$1(e),I.$get$_compatible().withDeprecationWarning$1(e).withName$1("comparable"),I.$get$_isUnitless().withDeprecationWarning$1(e).withName$1("unitless")],D.JSArray_BuiltInCallable),D.BuiltInCallable)}),R(I,"module2","$get$module2",()=>{var e=null;return A.BuiltInModule$("math",A._setArrayType([A._numberFunction("abs",new A.module_closure0),I.$get$_acos(),I.$get$_asin(),I.$get$_atan(),I.$get$_atan2(),I.$get$_ceil(),I.$get$_clamp(),I.$get$_cos(),I.$get$_compatible(),I.$get$_floor(),I.$get$_hypot(),I.$get$_isUnitless(),I.$get$_log(),I.$get$_max(),I.$get$_min(),I.$get$_percentage(),I.$get$_pow(),I.$get$_randomFunction(),I.$get$_round(),I.$get$_sin(),I.$get$_sqrt(),I.$get$_tan(),I.$get$_unit(),I.$get$_div()],D.JSArray_Callable),e,A.LinkedHashMap_LinkedHashMap$_literal(["e",A.SassNumber_SassNumber(2.718281828459045,e),"pi",A.SassNumber_SassNumber(3.141592653589793,e),"epsilon",A.SassNumber_SassNumber(2220446049250313e-31,e),"max-safe-integer",A.SassNumber_SassNumber(9007199254740991,e),"min-safe-integer",A.SassNumber_SassNumber(-9007199254740991,e),"max-number",A.SassNumber_SassNumber(17976931348623157e292,e),"min-number",A.SassNumber_SassNumber(5e-324,e)],D.String,D.Value),D.Callable)}),R(I,"_ceil","$get$_ceil",()=>A._numberFunction("ceil",new A._ceil_closure)),R(I,"_clamp","$get$_clamp",()=>A._function2("clamp","$min, $number, $max",new A._clamp_closure)),R(I,"_floor","$get$_floor",()=>A._numberFunction("floor",new A._floor_closure)),R(I,"_max","$get$_max",()=>A._function2("max","$numbers...",new A._max_closure)),R(I,"_min","$get$_min",()=>A._function2("min","$numbers...",new A._min_closure)),R(I,"_round","$get$_round",()=>A._numberFunction("round",new A._round_closure)),R(I,"_hypot","$get$_hypot",()=>A._function2("hypot","$numbers...",new A._hypot_closure)),R(I,"_log","$get$_log",()=>A._function2("log","$number, $base: null",new A._log_closure)),R(I,"_pow","$get$_pow",()=>A._function2("pow","$base, $exponent",new A._pow_closure)),R(I,"_sqrt","$get$_sqrt",()=>A._singleArgumentMathFunc("sqrt",A.number0__sqrt$closure())),R(I,"_acos","$get$_acos",()=>A._singleArgumentMathFunc("acos",A.number0__acos$closure())),R(I,"_asin","$get$_asin",()=>A._singleArgumentMathFunc("asin",A.number0__asin$closure())),R(I,"_atan","$get$_atan",()=>A._singleArgumentMathFunc("atan",A.number0__atan$closure())),R(I,"_atan2","$get$_atan2",()=>A._function2("atan2","$y, $x",new A._atan2_closure)),R(I,"_cos","$get$_cos",()=>A._singleArgumentMathFunc("cos",A.number0__cos$closure())),R(I,"_sin","$get$_sin",()=>A._singleArgumentMathFunc("sin",A.number0__sin$closure())),R(I,"_tan","$get$_tan",()=>A._singleArgumentMathFunc("tan",A.number0__tan$closure())),R(I,"_compatible","$get$_compatible",()=>A._function2("compatible","$number1, $number2",new A._compatible_closure)),R(I,"_isUnitless","$get$_isUnitless",()=>A._function2("is-unitless","$number",new A._isUnitless_closure)),R(I,"_unit","$get$_unit",()=>A._function2("unit","$number",new A._unit_closure)),R(I,"_percentage","$get$_percentage",()=>A._function2("percentage","$number",new A._percentage_closure)),R(I,"_random","$get$_random0",()=>A.Random_Random()),R(I,"_randomFunction","$get$_randomFunction",()=>A._function2("random","$limit: null",new A._randomFunction_closure)),R(I,"_div","$get$_div",()=>A._function2("div","$number1, $number2",new A._div_closure)),R(I,"_shared","$get$_shared",()=>A.UnmodifiableListView$(A._setArrayType([A._function("feature-exists","$feature",new A._shared_closure),A._function("inspect","$value",new A._shared_closure0),A._function("type-of","$value",new A._shared_closure1),A._function("keywords","$args",new A._shared_closure2)],D.JSArray_BuiltInCallable),D.BuiltInCallable)),R(I,"global3","$get$global5",()=>{var e,t=A._setArrayType([],D.JSArray_BuiltInCallable);for(e=(e=I.$get$_shared()).get$iterator(e);e.moveNext$0();)t.push(e.get$current(0).withDeprecationWarning$1("meta"));return A.UnmodifiableListView$(t,D.BuiltInCallable)}),R(I,"moduleFunctions","$get$moduleFunctions",()=>{var e=D.BuiltInCallable,t=A.List_List$of(I.$get$_shared(),!0,e);return t.push(A._function("calc-name","$calc",new A.moduleFunctions_closure)),t.push(A._function("calc-args","$calc",new A.moduleFunctions_closure0)),t.push(A._function("accepts-content","$mixin",new A.moduleFunctions_closure1)),A.UnmodifiableListView$(t,e)}),R(I,"global4","$get$global3",()=>{var e="selector";return A.UnmodifiableListView$(A._setArrayType([I.$get$_isSuperselector().withDeprecationWarning$1(e),I.$get$_simpleSelectors().withDeprecationWarning$1(e),I.$get$_parse().withDeprecationWarning$1(e).withName$1("selector-parse"),I.$get$_nest().withDeprecationWarning$1(e).withName$1("selector-nest"),I.$get$_append().withDeprecationWarning$1(e).withName$1("selector-append"),I.$get$_extend().withDeprecationWarning$1(e).withName$1("selector-extend"),I.$get$_replace().withDeprecationWarning$1(e).withName$1("selector-replace"),I.$get$_unify().withDeprecationWarning$1(e).withName$1("selector-unify")],D.JSArray_BuiltInCallable),D.BuiltInCallable)}),R(I,"module3","$get$module3",()=>A.BuiltInModule$("selector",A._setArrayType([I.$get$_isSuperselector(),I.$get$_simpleSelectors(),I.$get$_parse(),I.$get$_nest(),I.$get$_append(),I.$get$_extend(),I.$get$_replace(),I.$get$_unify()],D.JSArray_Callable),null,null,D.Callable)),R(I,"_nest","$get$_nest",()=>A._function1("nest","$selectors...",new A._nest_closure)),R(I,"_append0","$get$_append",()=>A._function1("append","$selectors...",new A._append_closure)),R(I,"_extend","$get$_extend",()=>A._function1("extend","$selector, $extendee, $extender",new A._extend_closure)),R(I,"_replace","$get$_replace",()=>A._function1("replace","$selector, $original, $replacement",new A._replace_closure)),R(I,"_unify","$get$_unify",()=>A._function1("unify","$selector1, $selector2",new A._unify_closure)),R(I,"_isSuperselector","$get$_isSuperselector",()=>A._function1("is-superselector","$super, $sub",new A._isSuperselector_closure)),R(I,"_simpleSelectors","$get$_simpleSelectors",()=>A._function1("simple-selectors","$selector",new A._simpleSelectors_closure)),R(I,"_parse0","$get$_parse",()=>A._function1("parse","$selector",new A._parse_closure)),R(I,"_random0","$get$_random",()=>A.Random_Random()),L(I,"_previousUniqueId","$get$_previousUniqueId",()=>I.$get$_random().nextInt$1(A._asInt(A.pow(36,6)))),R(I,"global5","$get$global4",()=>{var e="string";return A.UnmodifiableListView$(A._setArrayType([I.$get$_unquote().withDeprecationWarning$1(e),I.$get$_quote().withDeprecationWarning$1(e),I.$get$_toUpperCase().withDeprecationWarning$1(e),I.$get$_toLowerCase().withDeprecationWarning$1(e),I.$get$_uniqueId().withDeprecationWarning$1(e),I.$get$_length().withDeprecationWarning$1(e).withName$1("str-length"),I.$get$_insert().withDeprecationWarning$1(e).withName$1("str-insert"),I.$get$_index().withDeprecationWarning$1(e).withName$1("str-index"),I.$get$_slice().withDeprecationWarning$1(e).withName$1("str-slice")],D.JSArray_BuiltInCallable),D.BuiltInCallable)}),R(I,"module4","$get$module4",()=>A.BuiltInModule$("string",A._setArrayType([I.$get$_unquote(),I.$get$_quote(),I.$get$_toUpperCase(),I.$get$_toLowerCase(),I.$get$_length(),I.$get$_insert(),I.$get$_index(),I.$get$_slice(),I.$get$_uniqueId(),A._function0("split","$string, $separator, $limit: null",new A.module_closure)],D.JSArray_Callable),null,null,D.Callable)),R(I,"_unquote","$get$_unquote",()=>A._function0("unquote","$string",new A._unquote_closure)),R(I,"_quote","$get$_quote",()=>A._function0("quote","$string",new A._quote_closure)),R(I,"_length0","$get$_length",()=>A._function0("length","$string",new A._length_closure)),R(I,"_insert","$get$_insert",()=>A._function0("insert","$string, $insert, $index",new A._insert_closure)),R(I,"_index0","$get$_index",()=>A._function0("index","$string, $substring",new A._index_closure)),R(I,"_slice","$get$_slice",()=>A._function0("slice","$string, $start-at, $end-at: -1",new A._slice_closure)),R(I,"_toUpperCase","$get$_toUpperCase",()=>A._function0("to-upper-case","$string",new A._toUpperCase_closure)),R(I,"_toLowerCase","$get$_toLowerCase",()=>A._function0("to-lower-case","$string",new A._toLowerCase_closure)),R(I,"_uniqueId","$get$_uniqueId",()=>A._function0("unique-id","",new A._uniqueId_closure)),R(I,"FilesystemImporter_cwd","$get$FilesystemImporter_cwd",()=>{var e=null;return new A.FilesystemImporter(A.absolute(".",e,e,e,e,e,e,e,e,e,e,e,e,e,e),!0)}),R(I,"FilesystemImporter_noLoadPath","$get$FilesystemImporter_noLoadPath",()=>new A.FilesystemImporter(null,!1)),R(I,"_jsThrow","$get$_jsThrow0",()=>new n.Function("error","throw error;")),R(I,"Logger_quiet","$get$Logger_quiet",()=>new A._QuietLogger),R(I,"_disallowedFunctionNames","$get$_disallowedFunctionNames",()=>{var e=I.$get$globalFunctions();return(e=e.map$1$1(e,new A._disallowedFunctionNames_closure,D.String).toSet$0(0)).remove$1(0,"abs"),e.remove$1(0,"alpha"),e.remove$1(0,"color"),e.remove$1(0,"grayscale"),e.remove$1(0,"hsl"),e.remove$1(0,"hsla"),e.remove$1(0,"hwb"),e.remove$1(0,"invert"),e.remove$1(0,"lab"),e.remove$1(0,"lch"),e.remove$1(0,"max"),e.remove$1(0,"min"),e.remove$1(0,"oklab"),e.remove$1(0,"oklch"),e.remove$1(0,"opacity"),e.remove$1(0,"rgb"),e.remove$1(0,"rgba"),e.remove$1(0,"round"),e.remove$1(0,"saturate"),e}),R(I,"_epsilon","$get$_epsilon",()=>A.pow(10,-11)),R(I,"_inverseEpsilon","$get$_inverseEpsilon",()=>A.pow(10,11)),R(I,"bogusSpan","$get$bogusSpan",()=>A.SourceFile$decoded(A._setArrayType([],D.JSArray_int),null).span$1(0,0)),R(I,"_noSourceUrl","$get$_noSourceUrl",()=>A.Uri_parse("-")),R(I,"_traces","$get$_traces",()=>A.Expando$()),R(I,"lmsToOklab","$get$lmsToOklab",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([.210454268309314,.7936177747023054,-.0040720430116193,1.9779985324311684,-2.42859224204858,.450593709617411,.0259040424655478,.7827717124575296,-.8086757549230774],D.JSArray_double))),R(I,"oklabToLms","$get$oklabToLms",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.0000000000000002,.3963377773761749,.2158037573099136,.9999999999999998,-.10556134581565854,-.06385417282581334,.9999999999999999,-.0894841775298118,-1.2914855480194094],D.JSArray_double))),R(I,"linearSrgbToLinearDisplayP3","$get$linearSrgbToLinearDisplayP3",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([.8224619687143623,.17753803128563775,0,.03319419885096161,.9668058011490384,0,.01708263072112003,.07239744066396346,.9105199286149165],D.JSArray_double))),R(I,"linearDisplayP3ToLinearSrgb","$get$linearDisplayP3ToLinearSrgb",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.2249401762805598,-.22494017628055996,0,-.04205695470968816,1.042056954709688,0,-.01963755459033443,-.07863604555063188,1.0982736001409663],D.JSArray_double))),R(I,"linearSrgbToLinearA98Rgb","$get$linearSrgbToLinearA98Rgb",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([.7151256068556247,.28487439314437535,0,0,1,0,0,.04116194845011846,.9588380515498816],D.JSArray_double))),R(I,"linearA98RgbToLinearSrgb","$get$linearA98RgbToLinearSrgb",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.3983557439607783,-.3983557439607783,0,0,1,0,0,-.04292898929447326,1.0429289892944733],D.JSArray_double))),R(I,"linearSrgbToLinearRec2020","$get$linearSrgbToLinearRec2020",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([.627403895934699,.3292830383778837,.04331306568741722,.06909728935823208,.9195403950754587,.01136231556630917,.01639143887515027,.08801330787722575,.895595253247624],D.JSArray_double))),R(I,"linearRec2020ToLinearSrgb","$get$linearRec2020ToLinearSrgb",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.6604910021084345,-.5876411387885495,-.07284986331988487,-.12455047452159074,1.1328998971259603,-.00834942260436947,-.0181507633549053,-.10057889800800737,1.1187296613629127],D.JSArray_double))),R(I,"linearSrgbToXyzD65","$get$linearSrgbToXyzD65",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([.4123907992659595,.35758433938387796,.1804807884018343,.21263900587151036,.7151686787677559,.07219231536073371,.01933081871559185,.11919477979462598,.9505321522496606],D.JSArray_double))),R(I,"xyzD65ToLinearSrgb","$get$xyzD65ToLinearSrgb",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([3.2409699419045213,-1.5373831775700935,-.4986107602930033,-.9692436362808798,1.8759675015077206,.04155505740717561,.0556300796969936,-.20397695888897657,1.0569715142428786],D.JSArray_double))),R(I,"linearSrgbToLms","$get$linearSrgbToLms",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([.412221469470763,.5363325372617348,.0514459932675022,.2119034958178252,.6806995506452342,.1073969535369405,.08830245919005641,.2817188391361215,.6299787016738221],D.JSArray_double))),R(I,"lmsToLinearSrgb","$get$lmsToLinearSrgb",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([4.076741636075958,-3.307711539258062,.23096990318210417,-1.268437973285032,2.609757349287689,-.3413193760026571,-.00419607613867551,-.7034186179359363,1.707614694074612],D.JSArray_double))),R(I,"linearSrgbToLinearProphotoRgb","$get$linearSrgbToLinearProphotoRgb",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([.5292769776226116,.33015450197849283,.14056852039889556,.09836585954044917,.8734707129069618,.028163427552589,.01687534092138684,.11765941425612084,.8654652448224923],D.JSArray_double))),R(I,"linearProphotoRgbToLinearSrgb","$get$linearProphotoRgbToLinearSrgb",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([2.034380849516996,-.7276357899341342,-.3067450595828618,-.22882573163305037,1.2317425411901048,-.00291680955705449,-.00855882878391742,-.1532667021380372,1.1618255309219547],D.JSArray_double))),R(I,"linearSrgbToXyzD50","$get$linearSrgbToXyzD50",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([.43606574687426936,.3851515095901596,.14307841996513868,.22249317711056518,.7168870130944824,.06061980979495235,.01392392146316939,.09708132423141015,.7140993568158807],D.JSArray_double))),R(I,"xyzD50ToLinearSrgb","$get$xyzD50ToLinearSrgb",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([3.1341358529001178,-1.617385998018042,-.49066221791109754,-.9787954765557777,1.9162543773959884,.03344287339036693,.07195539255794733,-.228976759815182,1.4053860351131182],D.JSArray_double))),R(I,"linearDisplayP3ToLinearA98Rgb","$get$linearDisplayP3ToLinearA98Rgb",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([.8640051374740484,.13599486252595164,0,-.04205695470968816,1.042056954709688,0,-.02056038078232985,-.03250613804550798,1.0530665188278379],D.JSArray_double))),R(I,"linearA98RgbToLinearDisplayP3","$get$linearA98RgbToLinearDisplayP3",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.1500944181410184,-.15009441814101834,0,.04641729862941844,.9535827013705815,0,.02388759479083904,.02650477632633013,.9496076288828308],D.JSArray_double))),R(I,"linearDisplayP3ToLinearRec2020","$get$linearDisplayP3ToLinearRec2020",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([.7538330343617218,.1985973690526163,.04756959658566187,.04574384896535833,.9417772198116935,.01247893122294812,-.00121034035451832,.01760171730108989,.9836086230534284],D.JSArray_double))),R(I,"linearRec2020ToLinearDisplayP3","$get$linearRec2020ToLinearDisplayP3",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.343578252584332,-.2821796705261357,-.06139858205819628,-.06529745278911953,1.0757879158485746,-.01049046305945495,.00282178726170095,-.01959849452449406,1.0167767072627931],D.JSArray_double))),R(I,"linearDisplayP3ToXyzD65","$get$linearDisplayP3ToXyzD65",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([.48657094864821626,.26566769316909294,.1982172852343625,.22897456406974884,.6917385218365062,.079286914093745,0,.04511338185890257,1.0439443689009757],D.JSArray_double))),R(I,"xyzD65ToLinearDisplayP3","$get$xyzD65ToLinearDisplayP3",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([2.4934969119414245,-.9313836179191236,-.40271078445071684,-.8294889695615749,1.7626640603183468,.02362468584194359,.03584583024378433,-.0761723892680417,.9568845240076873],D.JSArray_double))),R(I,"linearDisplayP3ToLms","$get$linearDisplayP3ToLms",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([.48137985274995443,.46211837101131803,.05650177623872756,.22883194181124472,.6532168193835676,.11795123880518774,.08394575232299319,.22416527097756642,.6918889766994404],D.JSArray_double))),R(I,"lmsToLinearDisplayP3","$get$lmsToLinearDisplayP3",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([3.1277689713618737,-2.2571357625916386,.12936679122976494,-1.0910090184377979,2.4133317103069225,-.32232269186912466,-.02601080193857045,-.508041331704167,1.5340521336427373],D.JSArray_double))),R(I,"linearDisplayP3ToLinearProphotoRgb","$get$linearDisplayP3ToLinearProphotoRgb",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([.6316869193403589,.21393038569465722,.1543826949649839,.08320371426648458,.8858651367630243,.03093114897049121,-.00127273456473881,.05075510433665735,.9505176302280814],D.JSArray_double))),R(I,"linearProphotoRgbToLinearDisplayP3","$get$linearProphotoRgbToLinearDisplayP3",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.6325756087069179,-.3797716184825984,-.2528039902243195,-.15370040233755072,1.1667025472425014,-.01300214490495082,.01039319529676572,-.0628073126495944,1.0524141173528287],D.JSArray_double))),R(I,"linearDisplayP3ToXyzD50","$get$linearDisplayP3ToXyzD50",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([.515146442968116,.2920099820638577,.15713925139759397,.2412003221252552,.6922225411313818,.06657713674336294,-.00105013914714014,.0418782701890746,.7842764714685257],D.JSArray_double))),R(I,"xyzD50ToLinearDisplayP3","$get$xyzD50ToLinearDisplayP3",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([2.4039341218554973,-.9900304424955931,-.39761363181465614,-.8422700161454688,1.7989580161067082,.01604562477090472,.04819381686413303,-.09738519815446048,1.2736713693321273],D.JSArray_double))),R(I,"linearA98RgbToLinearRec2020","$get$linearA98RgbToLinearRec2020",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([.8773338416636568,.07749370651571998,.04517245182062317,.09662259146620378,.8915273202441805,.01185008828961569,.02292106270284839,.04303668501067932,.9340422522864723],D.JSArray_double))),R(I,"linearRec2020ToLinearA98Rgb","$get$linearRec2020ToLinearA98Rgb",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.1519783947159163,-.0975030553024086,-.05447533941350766,-.12455047452159074,1.1328998971259603,-.00834942260436947,-.0225303827810559,-.04980650742838876,1.0723368902094446],D.JSArray_double))),R(I,"linearA98RgbToXyzD65","$get$linearA98RgbToXyzD65",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([.5766690429101308,.18555823790654627,.18822864623499472,.29734497525053616,.627363566255466,.07529145849399789,.02703136138641237,.07068885253582714,.9913375368376389],D.JSArray_double))),R(I,"xyzD65ToLinearA98Rgb","$get$xyzD65ToLinearA98Rgb",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([2.041587903810746,-.5650069742788596,-.3447313507783295,-.9692436362808798,1.8759675015077206,.04155505740717561,.01344428063203102,-.11836239223101823,1.0151749943912054],D.JSArray_double))),R(I,"linearA98RgbToLms","$get$linearA98RgbToLms",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([.5764322596183941,.36991322261987963,.05365451776172635,.29631647054222465,.5916761332521885,.11200739620558686,.1234782510142776,.21949869837199862,.6570230506137238],D.JSArray_double))),R(I,"lmsToLinearA98Rgb","$get$lmsToLinearA98Rgb",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([2.5540368386115566,-1.6219761806828699,.06793934207131327,-1.268437973285032,2.609757349287689,-.3413193760026571,-.05623473593749381,-.5670418395669061,1.6232765755043999],D.JSArray_double))),R(I,"linearA98RgbToLinearProphotoRgb","$get$linearA98RgbToLinearProphotoRgb",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([.7401175018047792,.11327951328898105,.1466029849062397,.1375504646980262,.833077080269484,.02937245503248977,.02359772990871766,.07378347703906656,.9026187930522158],D.JSArray_double))),R(I,"linearProphotoRgbToLinearA98Rgb","$get$linearProphotoRgbToLinearA98Rgb",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.38965124815152,-.16945907691487766,-.22019217123664242,-.22882573163305037,1.2317425411901048,-.00291680955705449,-.01762544368426068,-.09625702306122665,1.1138824667454874],D.JSArray_double))),R(I,"linearA98RgbToXyzD50","$get$linearA98RgbToXyzD50",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([.6097750418861814,.20530000261929401,.14922063192409227,.31112461220464155,.6256532308346856,.06322215696067286,.01947059555648168,.06087908649415867,.7447549204598198],D.JSArray_double))),R(I,"xyzD50ToLinearA98Rgb","$get$xyzD50ToLinearA98Rgb",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.9624670363768806,-.6107423404815073,-.3413580980827154,-.9787954765557777,1.9162543773959884,.03344287339036693,.02870443944957101,-.1406748663317068,1.3489141814137937],D.JSArray_double))),R(I,"linearRec2020ToXyzD65","$get$linearRec2020ToXyzD65",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([.6369580483012913,.14461690358620838,.16888097516417205,.26270021201126703,.677998071518871,.05930171646986194,0,.0280726930490875,1.0609850577107909],D.JSArray_double))),R(I,"xyzD65ToLinearRec2020","$get$xyzD65ToLinearRec2020",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.7166511879712676,-.3556707837763924,-.2533662813736598,-.666684351832489,1.616481236634939,.01576854581391113,.01763985744531091,-.04277061325780865,.942103121235474],D.JSArray_double))),R(I,"linearRec2020ToLms","$get$linearRec2020ToLms",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([.6167557848654444,.36019840122646335,.02304581390809228,.2651330593926367,.6358393720678491,.09902756853951408,.10010262952034828,.20390652261661452,.6959908478630372],D.JSArray_double))),R(I,"lmsToLinearRec2020","$get$lmsToLinearRec2020",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([2.1399067304346513,-1.246389493760618,.10648276332596668,-.8847358357577674,2.1632309383612007,-.2784951026034334,-.04857374640044396,-.4545031497140964,1.5030768961145404],D.JSArray_double))),R(I,"linearRec2020ToLinearProphotoRgb","$get$linearRec2020ToLinearProphotoRgb",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([.8351873331297235,.04886884858605698,.11594381828421951,.05403324519953363,.9289184085692044,.01704834623126199,-.00234203897072539,.03633215316169465,.9660098858090307],D.JSArray_double))),R(I,"linearProphotoRgbToLinearRec2020","$get$linearProphotoRgbToLinearRec2020",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.200659329517408,-.05756805370122346,-.14309127581618444,-.06994154955888504,1.080617897597214,-.01067634803832895,.00554147334294746,-.04078219298657951,1.035240719643632],D.JSArray_double))),R(I,"linearRec2020ToXyzD50","$get$linearRec2020ToXyzD50",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([.673515463188276,.16569726370390453,.12508294953738705,.2790590051411206,.6753180057491098,.04562298910976962,-.00193242713400438,.02997782679282923,.7970592028516355],D.JSArray_double))),R(I,"xyzD50ToLinearRec2020","$get$xyzD50ToLinearRec2020",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.647184904671766,-.3936818981316471,-.23595963848828266,-.6826641074173818,1.6477146127444076,.01281708338512084,.02966887665275675,-.0629258964297003,1.2535578201865771],D.JSArray_double))),R(I,"xyzD65ToLms","$get$xyzD65ToLms",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([.819022437996703,.36190626005289034,-.12887378152098788,.03298365393238846,.9292868615863433,.03614466635064235,.0481771893596242,.2642395317527308,.6335478284694308],D.JSArray_double))),R(I,"lmsToXyzD65","$get$lmsToXyzD65",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.2268798758459243,-.5578149944602171,.2813910456659646,-.04057574521480084,1.1122868032803173,-.07171105806551635,-.07637293667466007,-.42149333240224324,1.5869240198367818],D.JSArray_double))),R(I,"xyzD65ToLinearProphotoRgb","$get$xyzD65ToLinearProphotoRgb",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.4031904633774979,-.22301514479051668,-.1016066850741379,-.5262384021633072,1.4816319629234644,.01701879027252688,-.0112022652862215,.01824640347962099,.9112472274915048],D.JSArray_double))),R(I,"linearProphotoRgbToXyzD65","$get$linearProphotoRgbToXyzD65",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([.755590742296921,.11271984265940525,.0821453420953454,.2683218435785719,.7151152566617912,.01656289975963685,.0039159727624258,-.01293344283684181,1.0980752208342945],D.JSArray_double))),R(I,"xyzD65ToXyzD50","$get$xyzD65ToXyzD50",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.0479297925449966,.02294687060160952,-.05019226628920519,.02962780877005567,.99043442675388,-.01707379906341879,-.00924304064620452,.01505519149029816,.751874281428137],D.JSArray_double))),R(I,"xyzD50ToXyzD65","$get$xyzD50ToXyzD65",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([.9554734214880752,-.02309845494876452,.06325924320057065,-.02836970933386358,1.0099953980813041,.0210414411919173,.01231401486448199,-.02050764929889898,1.330365926242124],D.JSArray_double))),R(I,"lmsToLinearProphotoRgb","$get$lmsToLinearProphotoRgb",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.7383551481157207,-.9879509427514458,.24959579463572504,-.7070494015329266,1.9343700444401382,-.2273206429072115,-.08407882206239634,-.35754060521141334,1.4416194272738097],D.JSArray_double))),R(I,"linearProphotoRgbToLms","$get$linearProphotoRgbToLms",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([.7154484605655534,.35279155007721186,-.0682400106427653,.2744116490015671,.6677976498412367,.05779070115719616,.10978443261622942,.18619829115002018,.7040172762337504],D.JSArray_double))),R(I,"lmsToXyzD50","$get$lmsToXyzD50",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.288586218172706,-.5378717444973745,.2135812027542364,-.00253387643187372,1.0923167988719165,-.08978292244004273,-.06937382305734124,-.29500839894431263,1.1894868245121142],D.JSArray_double))),R(I,"xyzD50ToLms","$get$xyzD50ToLms",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([.7707000420431172,.34924840261939616,-.11202351884164681,.00559649248368848,.9370723401136769,.06972568836252771,.04633714262191069,.25277531574310524,.851458076746796],D.JSArray_double))),R(I,"linearProphotoRgbToXyzD50","$get$linearProphotoRgbToXyzD50",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([.7977666449006423,.13518129740053308,.0313477341283922,.2880748288194013,.711835234241873,8993693872564e-17,0,0,.8251046025104602],D.JSArray_double))),R(I,"xyzD50ToLinearProphotoRgb","$get$xyzD50ToLinearProphotoRgb",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.3457868816471583,-.25557208737979464,-.05110186497554526,-.5446307051249019,1.5082477428451468,.02052744743642139,0,0,1.2119675456389452],D.JSArray_double))),R(I,"_typesByUnit","$get$_typesByUnit",()=>{var e,t,r=D.String,n=A.LinkedHashMap_LinkedHashMap$_empty(r,r);for(r=(r=A.MapExtensions_get_pairs(C.Map_Sr65K,r,D.List_String)).get$iterator(r);r.moveNext$0();)for(t=(e=r.get$current(r))._0,e=w.get$iterator$ax(e._1);e.moveNext$0();)n.$indexSet(0,e.get$current(e),t);return n}),R(I,"_knownCompatibilitiesByUnit","$get$_knownCompatibilitiesByUnit",()=>{var e,t,r,n=A.LinkedHashMap_LinkedHashMap$_empty(D.String,A.findType("Set<String>"));for(e=0;e<5;++e)for(r=(t=C.List_BFg[e]).get$iterator(t);r.moveNext$0();)n.$indexSet(0,r.get$current(0),t);return n}),R(I,"_emptyQuoted","$get$_emptyQuoted",()=>A.SassString$("",!0)),R(I,"_emptyUnquoted","$get$_emptyUnquoted",()=>A.SassString$("",!1)),R(I,"maxInt32","$get$maxInt32",()=>A._asInt(A.pow(2,31))-1),R(I,"minInt32","$get$minInt32",()=>-A._asInt(A.pow(2,31))),R(I,"_vmFrame","$get$_vmFrame",()=>A.RegExp_RegExp("^#\\d+\\s+(\\S.*) \\((.+?)((?::\\d+){0,2})\\)$",!1)),R(I,"_v8JsFrame","$get$_v8JsFrame",()=>A.RegExp_RegExp("^\\s*at (?:(\\S.*?)(?: \\[as [^\\]]+\\])? \\((.*)\\)|(.*))$",!1)),R(I,"_v8JsUrlLocation","$get$_v8JsUrlLocation",()=>A.RegExp_RegExp("^(.*?):(\\d+)(?::(\\d+))?$|native$",!1)),R(I,"_v8WasmFrame","$get$_v8WasmFrame",()=>A.RegExp_RegExp("^\\s*at (?:(?<member>.+) )?(?:\\(?(?:(?<uri>\\S+):wasm-function\\[(?<index>\\d+)\\]\\:0x(?<offset>[0-9a-fA-F]+))\\)?)$",!1)),R(I,"_v8EvalLocation","$get$_v8EvalLocation",()=>A.RegExp_RegExp("^eval at (?:\\S.*?) \\((.*)\\)(?:, .*?:\\d+:\\d+)?$",!1)),R(I,"_firefoxEvalLocation","$get$_firefoxEvalLocation",()=>A.RegExp_RegExp("(\\S+)@(\\S+) line (\\d+) >.* (Function|eval):\\d+:\\d+",!1)),R(I,"_firefoxSafariJSFrame","$get$_firefoxSafariJSFrame",()=>A.RegExp_RegExp("^(?:([^@(/]*)(?:\\(.*\\))?((?:/[^/]*)*)(?:\\(.*\\))?@)?(.*?):(\\d*)(?::(\\d*))?$",!1)),R(I,"_firefoxWasmFrame","$get$_firefoxWasmFrame",()=>A.RegExp_RegExp("^(?<member>.*?)@(?:(?<uri>\\S+).*?:wasm-function\\[(?<index>\\d+)\\]:0x(?<offset>[0-9a-fA-F]+))$",!1)),R(I,"_safariWasmFrame","$get$_safariWasmFrame",()=>A.RegExp_RegExp("^.*?wasm-function\\[(?<member>.*)\\]@\\[wasm code\\]$",!1)),R(I,"_friendlyFrame","$get$_friendlyFrame",()=>A.RegExp_RegExp("^(\\S+)(?: (\\d+)(?::(\\d+))?)?\\s+([^\\d].*)$",!1)),R(I,"_asyncBody","$get$_asyncBody",()=>A.RegExp_RegExp("<(<anonymous closure>|[^>]+)_async_body>",!1)),R(I,"_initialDot","$get$_initialDot",()=>A.RegExp_RegExp("^\\.",!1)),R(I,"Frame__uriRegExp","$get$Frame__uriRegExp",()=>A.RegExp_RegExp("^[a-zA-Z][-+.a-zA-Z\\d]*://",!1)),R(I,"Frame__windowsRegExp","$get$Frame__windowsRegExp",()=>A.RegExp_RegExp("^([a-zA-Z]:[\\\\/]|\\\\\\\\)",!1)),R(I,"_terseRegExp","$get$_terseRegExp",()=>A.RegExp_RegExp("(-patch)?([/\\\\].*)?$",!1)),R(I,"_v8Trace","$get$_v8Trace",()=>A.RegExp_RegExp("\\n    ?at ",!1)),R(I,"_v8TraceLine","$get$_v8TraceLine",()=>A.RegExp_RegExp("    ?at ",!1)),R(I,"_firefoxEvalTrace","$get$_firefoxEvalTrace",()=>A.RegExp_RegExp("@\\S+ line \\d+ >.* (Function|eval):\\d+:\\d+",!1)),R(I,"_firefoxSafariTrace","$get$_firefoxSafariTrace",()=>A.RegExp_RegExp("^(([.0-9A-Za-z_$/<]|\\(.*\\))*@)?[^\\s]*:\\d*$",!0)),R(I,"_friendlyTrace","$get$_friendlyTrace",()=>A.RegExp_RegExp("^[^\\s<][^\\s]*( \\d+(:\\d+)?)?[ \\t]+[^\\s]+$",!0)),R(I,"vmChainGap","$get$vmChainGap",()=>A.RegExp_RegExp("^<asynchronous suspension>\\n?$",!0)),R(I,"_newlineRegExp","$get$_newlineRegExp",()=>A.RegExp_RegExp("\\n|\\r\\n|\\r(?!\\n)",!1)),R(I,"argumentListClass","$get$argumentListClass",()=>(new A.argumentListClass_closure).call$0()),R(I,"booleanClass","$get$booleanClass",()=>(new A.booleanClass_closure).call$0()),R(I,"legacyBooleanClass","$get$legacyBooleanClass",()=>(new A.legacyBooleanClass_closure).call$0()),R(I,"calculationClass","$get$calculationClass",()=>(new A.calculationClass_closure).call$0()),R(I,"calculationOperationClass","$get$calculationOperationClass",()=>(new A.calculationOperationClass_closure).call$0()),R(I,"calculationInterpolationClass","$get$calculationInterpolationClass",()=>(new A.calculationInterpolationClass_closure).call$0()),R(I,"_microsoftFilterStart0","$get$_microsoftFilterStart0",()=>A.RegExp_RegExp("^[a-zA-Z]+\\s*=",!1)),R(I,"global6","$get$global6",()=>{var e="color",t="$red, $green, $blue, $alpha",r="$red, $green, $blue",n="$channels",i="$hue, $saturation, $lightness, $alpha",o="$hue, $saturation, $lightness",s="$hue, $saturation",a="adjust",l="$color, $amount",c=D.String,u=D.Value_Function_List_Value_2;return A.UnmodifiableListView$(A._setArrayType([A._channelFunction0("red",C.RgbColorSpace_i0P0,new A.global_closure44,!0,null).withDeprecationWarning$1(e),A._channelFunction0("green",C.RgbColorSpace_i0P0,new A.global_closure45,!0,null).withDeprecationWarning$1(e),A._channelFunction0("blue",C.RgbColorSpace_i0P0,new A.global_closure46,!0,null).withDeprecationWarning$1(e),I.$get$_mix0().withDeprecationWarning$1(e),A.BuiltInCallable$overloadedFunction0("rgb",A.LinkedHashMap_LinkedHashMap$_literal([t,new A.global_closure47,r,new A.global_closure48,"$color, $alpha",new A.global_closure49,"$channels",new A.global_closure50],c,u)),A.BuiltInCallable$overloadedFunction0("rgba",A.LinkedHashMap_LinkedHashMap$_literal([t,new A.global_closure51,r,new A.global_closure52,"$color, $alpha",new A.global_closure53,"$channels",new A.global_closure54],c,u)),A._function12("invert","$color, $weight: 100%, $space: null",new A.global_closure55),A._channelFunction0("hue",C.HslColorSpace_JQ20,new A.global_closure56,!0,"deg").withDeprecationWarning$1(e),A._channelFunction0("saturation",C.HslColorSpace_JQ20,new A.global_closure57,!0,"%").withDeprecationWarning$1(e),A._channelFunction0("lightness",C.HslColorSpace_JQ20,new A.global_closure58,!0,"%").withDeprecationWarning$1(e),A.BuiltInCallable$overloadedFunction0("hsl",A.LinkedHashMap_LinkedHashMap$_literal([i,new A.global_closure59,o,new A.global_closure60,s,new A.global_closure61,"$channels",new A.global_closure62],c,u)),A.BuiltInCallable$overloadedFunction0("hsla",A.LinkedHashMap_LinkedHashMap$_literal([i,new A.global_closure63,o,new A.global_closure64,s,new A.global_closure65,"$channels",new A.global_closure66],c,u)),A._function12("grayscale","$color",new A.global_closure67),A._function12("adjust-hue","$color, $degrees",new A.global_closure68).withDeprecationWarning$2(e,a),A._function12("lighten",l,new A.global_closure69).withDeprecationWarning$2(e,a),A._function12("darken",l,new A.global_closure70).withDeprecationWarning$2(e,a),A.BuiltInCallable$overloadedFunction0("saturate",A.LinkedHashMap_LinkedHashMap$_literal(["$amount",new A.global_closure71,"$color, $amount",new A.global_closure72],c,u)),A._function12("desaturate",l,new A.global_closure73).withDeprecationWarning$2(e,a),A._function12("opacify",l,new A.global_closure74).withDeprecationWarning$2(e,a),A._function12("fade-in",l,new A.global_closure75).withDeprecationWarning$2(e,a),A._function12("transparentize",l,new A.global_closure76).withDeprecationWarning$2(e,a),A._function12("fade-out",l,new A.global_closure77).withDeprecationWarning$2(e,a),A.BuiltInCallable$overloadedFunction0("alpha",A.LinkedHashMap_LinkedHashMap$_literal(["$color",new A.global_closure78,"$args...",new A.global_closure79],c,u)),A._function12("opacity","$color",new A.global_closure80),A._function12(e,"$description",new A.global_closure81),A._function12("hwb",n,new A.global_closure82),A._function12("lab",n,new A.global_closure83),A._function12("lch",n,new A.global_closure84),A._function12("oklab",n,new A.global_closure85),A._function12("oklch",n,new A.global_closure86),I.$get$_complement0().withDeprecationWarning$1(e),I.$get$_ieHexStr0(),I.$get$_adjust0().withDeprecationWarning$1(e).withName$1("adjust-color"),I.$get$_scale0().withDeprecationWarning$1(e).withName$1("scale-color"),I.$get$_change0().withDeprecationWarning$1(e).withName$1("change-color")],D.JSArray_BuiltInCallable_2),D.BuiltInCallable_2)}),R(I,"module5","$get$module5",()=>{var e=null,t="saturation",r="lightness",n="$color",i="alpha",o="$color, $channel, $space: null",s=D.String,a=D.Value_Function_List_Value_2;return A.BuiltInModule$0("color",A._setArrayType([A._channelFunction0("red",C.RgbColorSpace_i0P0,new A.module_closure27,!1,e),A._channelFunction0("green",C.RgbColorSpace_i0P0,new A.module_closure28,!1,e),A._channelFunction0("blue",C.RgbColorSpace_i0P0,new A.module_closure29,!1,e),I.$get$_mix0(),A._function12("invert","$color, $weight: 100%, $space: null",new A.module_closure30),A._channelFunction0("hue",C.HslColorSpace_JQ20,new A.module_closure31,!1,"deg"),A._channelFunction0(t,C.HslColorSpace_JQ20,new A.module_closure32,!1,"%"),A._channelFunction0(r,C.HslColorSpace_JQ20,new A.module_closure33,!1,"%"),A._removedColorFunction0("adjust-hue","hue",!1),A._removedColorFunction0("lighten",r,!1),A._removedColorFunction0("darken",r,!0),A._removedColorFunction0("saturate",t,!1),A._removedColorFunction0("desaturate",t,!0),A._function12("grayscale",n,new A.module_closure34),A.BuiltInCallable$overloadedFunction0("hwb",A.LinkedHashMap_LinkedHashMap$_literal(["$hue, $whiteness, $blackness, $alpha: 1",new A.module_closure35,"$channels",new A.module_closure36],s,a)),A._channelFunction0("whiteness",C.HwbColorSpace_guQ0,new A.module_closure37,!1,"%"),A._channelFunction0("blackness",C.HwbColorSpace_guQ0,new A.module_closure38,!1,"%"),A._removedColorFunction0("opacify",i,!1),A._removedColorFunction0("fade-in",i,!1),A._removedColorFunction0("transparentize",i,!0),A._removedColorFunction0("fade-out",i,!0),A.BuiltInCallable$overloadedFunction0(i,A.LinkedHashMap_LinkedHashMap$_literal(["$color",new A.module_closure39,"$args...",new A.module_closure40],s,a)),A._function12("opacity",n,new A.module_closure41),A._function12("space",n,new A.module_closure42),A._function12("to-space","$color, $space",new A.module_closure43),A._function12("is-legacy",n,new A.module_closure44),A._function12("is-missing","$color, $channel",new A.module_closure45),A._function12("is-in-gamut","$color, $space: null",new A.module_closure46),A._function12("to-gamut","$color, $space: null, $method: null",new A.module_closure47),A._function12("channel",o,new A.module_closure48),A._function12("same","$color1, $color2",new A.module_closure49),A._function12("is-powerless",o,new A.module_closure50),I.$get$_complement0(),I.$get$_adjust0(),I.$get$_scale0(),I.$get$_change0(),I.$get$_ieHexStr0()],D.JSArray_Callable_2),e,e,D.Callable_2)}),R(I,"_mix0","$get$_mix0",()=>A._function12("mix",P.x24color,new A._mix_closure0)),R(I,"_complement0","$get$_complement0",()=>A._function12("complement","$color, $space: null",new A._complement_closure0)),R(I,"_adjust0","$get$_adjust0",()=>A._function12("adjust","$color, $kwargs...",new A._adjust_closure0)),R(I,"_scale0","$get$_scale0",()=>A._function12("scale","$color, $kwargs...",new A._scale_closure0)),R(I,"_change0","$get$_change0",()=>A._function12("change","$color, $kwargs...",new A._change_closure0)),R(I,"_ieHexStr0","$get$_ieHexStr0",()=>A._function12("ie-hex-str","$color",new A._ieHexStr_closure0)),R(I,"colorClass","$get$colorClass",()=>(new A.colorClass_closure).call$0()),R(I,"legacyColorClass","$get$legacyColorClass",()=>{var e=A.createJSClass("sass.types.Color",new A.legacyColorClass_closure);return A.JSClassExtension_defineMethods(e,A.LinkedHashMap_LinkedHashMap$_literal(["getR",new A.legacyColorClass_closure0,"getG",new A.legacyColorClass_closure1,"getB",new A.legacyColorClass_closure2,"getA",new A.legacyColorClass_closure3,"setR",new A.legacyColorClass_closure4,"setG",new A.legacyColorClass_closure5,"setB",new A.legacyColorClass_closure6,"setA",new A.legacyColorClass_closure7],D.String,D.Function)),e}),R(I,"colorsByName0","$get$colorsByName0",()=>A.LinkedHashMap_LinkedHashMap$_literal(["yellowgreen",A.SassColor_SassColor$rgb0(154,205,50,1),"yellow",A.SassColor_SassColor$rgb0(255,255,0,1),"whitesmoke",A.SassColor_SassColor$rgb0(245,245,245,1),"white",A.SassColor_SassColor$rgb0(255,255,255,1),"wheat",A.SassColor_SassColor$rgb0(245,222,179,1),"violet",A.SassColor_SassColor$rgb0(238,130,238,1),"turquoise",A.SassColor_SassColor$rgb0(64,224,208,1),"transparent",A.SassColor_SassColor$rgb0(0,0,0,0),"tomato",A.SassColor_SassColor$rgb0(255,99,71,1),"thistle",A.SassColor_SassColor$rgb0(216,191,216,1),"teal",A.SassColor_SassColor$rgb0(0,128,128,1),"tan",A.SassColor_SassColor$rgb0(210,180,140,1),"steelblue",A.SassColor_SassColor$rgb0(70,130,180,1),"springgreen",A.SassColor_SassColor$rgb0(0,255,127,1),"snow",A.SassColor_SassColor$rgb0(255,250,250,1),"slategrey",A.SassColor_SassColor$rgb0(112,128,144,1),"slategray",A.SassColor_SassColor$rgb0(112,128,144,1),"slateblue",A.SassColor_SassColor$rgb0(106,90,205,1),"skyblue",A.SassColor_SassColor$rgb0(135,206,235,1),"silver",A.SassColor_SassColor$rgb0(192,192,192,1),"sienna",A.SassColor_SassColor$rgb0(160,82,45,1),"seashell",A.SassColor_SassColor$rgb0(255,245,238,1),"seagreen",A.SassColor_SassColor$rgb0(46,139,87,1),"sandybrown",A.SassColor_SassColor$rgb0(244,164,96,1),"salmon",A.SassColor_SassColor$rgb0(250,128,114,1),"saddlebrown",A.SassColor_SassColor$rgb0(139,69,19,1),"royalblue",A.SassColor_SassColor$rgb0(65,105,225,1),"rosybrown",A.SassColor_SassColor$rgb0(188,143,143,1),"red",A.SassColor_SassColor$rgb0(255,0,0,1),"rebeccapurple",A.SassColor_SassColor$rgb0(102,51,153,1),"purple",A.SassColor_SassColor$rgb0(128,0,128,1),"powderblue",A.SassColor_SassColor$rgb0(176,224,230,1),"plum",A.SassColor_SassColor$rgb0(221,160,221,1),"pink",A.SassColor_SassColor$rgb0(255,192,203,1),"peru",A.SassColor_SassColor$rgb0(205,133,63,1),"peachpuff",A.SassColor_SassColor$rgb0(255,218,185,1),"papayawhip",A.SassColor_SassColor$rgb0(255,239,213,1),"palevioletred",A.SassColor_SassColor$rgb0(219,112,147,1),"paleturquoise",A.SassColor_SassColor$rgb0(175,238,238,1),"palegreen",A.SassColor_SassColor$rgb0(152,251,152,1),"palegoldenrod",A.SassColor_SassColor$rgb0(238,232,170,1),"orchid",A.SassColor_SassColor$rgb0(218,112,214,1),"orangered",A.SassColor_SassColor$rgb0(255,69,0,1),"orange",A.SassColor_SassColor$rgb0(255,165,0,1),"olivedrab",A.SassColor_SassColor$rgb0(107,142,35,1),"olive",A.SassColor_SassColor$rgb0(128,128,0,1),"oldlace",A.SassColor_SassColor$rgb0(253,245,230,1),"navy",A.SassColor_SassColor$rgb0(0,0,128,1),"navajowhite",A.SassColor_SassColor$rgb0(255,222,173,1),"moccasin",A.SassColor_SassColor$rgb0(255,228,181,1),"mistyrose",A.SassColor_SassColor$rgb0(255,228,225,1),"mintcream",A.SassColor_SassColor$rgb0(245,255,250,1),"midnightblue",A.SassColor_SassColor$rgb0(25,25,112,1),"mediumvioletred",A.SassColor_SassColor$rgb0(199,21,133,1),"mediumturquoise",A.SassColor_SassColor$rgb0(72,209,204,1),"mediumspringgreen",A.SassColor_SassColor$rgb0(0,250,154,1),"mediumslateblue",A.SassColor_SassColor$rgb0(123,104,238,1),"mediumseagreen",A.SassColor_SassColor$rgb0(60,179,113,1),"mediumpurple",A.SassColor_SassColor$rgb0(147,112,219,1),"mediumorchid",A.SassColor_SassColor$rgb0(186,85,211,1),"mediumblue",A.SassColor_SassColor$rgb0(0,0,205,1),"mediumaquamarine",A.SassColor_SassColor$rgb0(102,205,170,1),"maroon",A.SassColor_SassColor$rgb0(128,0,0,1),"magenta",A.SassColor_SassColor$rgb0(255,0,255,1),"linen",A.SassColor_SassColor$rgb0(250,240,230,1),"limegreen",A.SassColor_SassColor$rgb0(50,205,50,1),"lime",A.SassColor_SassColor$rgb0(0,255,0,1),"lightyellow",A.SassColor_SassColor$rgb0(255,255,224,1),"lightsteelblue",A.SassColor_SassColor$rgb0(176,196,222,1),"lightslategrey",A.SassColor_SassColor$rgb0(119,136,153,1),"lightslategray",A.SassColor_SassColor$rgb0(119,136,153,1),"lightskyblue",A.SassColor_SassColor$rgb0(135,206,250,1),"lightseagreen",A.SassColor_SassColor$rgb0(32,178,170,1),"lightsalmon",A.SassColor_SassColor$rgb0(255,160,122,1),"lightpink",A.SassColor_SassColor$rgb0(255,182,193,1),"lightgrey",A.SassColor_SassColor$rgb0(211,211,211,1),"lightgreen",A.SassColor_SassColor$rgb0(144,238,144,1),"lightgray",A.SassColor_SassColor$rgb0(211,211,211,1),"lightgoldenrodyellow",A.SassColor_SassColor$rgb0(250,250,210,1),"lightcyan",A.SassColor_SassColor$rgb0(224,255,255,1),"lightcoral",A.SassColor_SassColor$rgb0(240,128,128,1),"lightblue",A.SassColor_SassColor$rgb0(173,216,230,1),"lemonchiffon",A.SassColor_SassColor$rgb0(255,250,205,1),"lawngreen",A.SassColor_SassColor$rgb0(124,252,0,1),"lavenderblush",A.SassColor_SassColor$rgb0(255,240,245,1),"lavender",A.SassColor_SassColor$rgb0(230,230,250,1),"khaki",A.SassColor_SassColor$rgb0(240,230,140,1),"ivory",A.SassColor_SassColor$rgb0(255,255,240,1),"indigo",A.SassColor_SassColor$rgb0(75,0,130,1),"indianred",A.SassColor_SassColor$rgb0(205,92,92,1),"hotpink",A.SassColor_SassColor$rgb0(255,105,180,1),"honeydew",A.SassColor_SassColor$rgb0(240,255,240,1),"grey",A.SassColor_SassColor$rgb0(128,128,128,1),"greenyellow",A.SassColor_SassColor$rgb0(173,255,47,1),"green",A.SassColor_SassColor$rgb0(0,128,0,1),"gray",A.SassColor_SassColor$rgb0(128,128,128,1),"goldenrod",A.SassColor_SassColor$rgb0(218,165,32,1),"gold",A.SassColor_SassColor$rgb0(255,215,0,1),"ghostwhite",A.SassColor_SassColor$rgb0(248,248,255,1),"gainsboro",A.SassColor_SassColor$rgb0(220,220,220,1),"fuchsia",A.SassColor_SassColor$rgb0(255,0,255,1),"forestgreen",A.SassColor_SassColor$rgb0(34,139,34,1),"floralwhite",A.SassColor_SassColor$rgb0(255,250,240,1),"firebrick",A.SassColor_SassColor$rgb0(178,34,34,1),"dodgerblue",A.SassColor_SassColor$rgb0(30,144,255,1),"dimgrey",A.SassColor_SassColor$rgb0(105,105,105,1),"dimgray",A.SassColor_SassColor$rgb0(105,105,105,1),"deepskyblue",A.SassColor_SassColor$rgb0(0,191,255,1),"deeppink",A.SassColor_SassColor$rgb0(255,20,147,1),"darkviolet",A.SassColor_SassColor$rgb0(148,0,211,1),"darkturquoise",A.SassColor_SassColor$rgb0(0,206,209,1),"darkslategrey",A.SassColor_SassColor$rgb0(47,79,79,1),"darkslategray",A.SassColor_SassColor$rgb0(47,79,79,1),"darkslateblue",A.SassColor_SassColor$rgb0(72,61,139,1),"darkseagreen",A.SassColor_SassColor$rgb0(143,188,143,1),"darksalmon",A.SassColor_SassColor$rgb0(233,150,122,1),"darkred",A.SassColor_SassColor$rgb0(139,0,0,1),"darkorchid",A.SassColor_SassColor$rgb0(153,50,204,1),"darkorange",A.SassColor_SassColor$rgb0(255,140,0,1),"darkolivegreen",A.SassColor_SassColor$rgb0(85,107,47,1),"darkmagenta",A.SassColor_SassColor$rgb0(139,0,139,1),"darkkhaki",A.SassColor_SassColor$rgb0(189,183,107,1),"darkgrey",A.SassColor_SassColor$rgb0(169,169,169,1),"darkgreen",A.SassColor_SassColor$rgb0(0,100,0,1),"darkgray",A.SassColor_SassColor$rgb0(169,169,169,1),"darkgoldenrod",A.SassColor_SassColor$rgb0(184,134,11,1),"darkcyan",A.SassColor_SassColor$rgb0(0,139,139,1),"darkblue",A.SassColor_SassColor$rgb0(0,0,139,1),"cyan",A.SassColor_SassColor$rgb0(0,255,255,1),"crimson",A.SassColor_SassColor$rgb0(220,20,60,1),"cornsilk",A.SassColor_SassColor$rgb0(255,248,220,1),"cornflowerblue",A.SassColor_SassColor$rgb0(100,149,237,1),"coral",A.SassColor_SassColor$rgb0(255,127,80,1),"chocolate",A.SassColor_SassColor$rgb0(210,105,30,1),"chartreuse",A.SassColor_SassColor$rgb0(127,255,0,1),"cadetblue",A.SassColor_SassColor$rgb0(95,158,160,1),"burlywood",A.SassColor_SassColor$rgb0(222,184,135,1),"brown",A.SassColor_SassColor$rgb0(165,42,42,1),"blueviolet",A.SassColor_SassColor$rgb0(138,43,226,1),"blue",A.SassColor_SassColor$rgb0(0,0,255,1),"blanchedalmond",A.SassColor_SassColor$rgb0(255,235,205,1),"black",A.SassColor_SassColor$rgb0(0,0,0,1),"bisque",A.SassColor_SassColor$rgb0(255,228,196,1),"beige",A.SassColor_SassColor$rgb0(245,245,220,1),"azure",A.SassColor_SassColor$rgb0(240,255,255,1),"aquamarine",A.SassColor_SassColor$rgb0(127,255,212,1),"aqua",A.SassColor_SassColor$rgb0(0,255,255,1),"antiquewhite",A.SassColor_SassColor$rgb0(250,235,215,1),"aliceblue",A.SassColor_SassColor$rgb0(240,248,255,1)],D.String,D.SassColor_2)),R(I,"namesByColor0","$get$namesByColor0",()=>{var e,t=D.SassColor_2,r=D.String,n=A.LinkedHashMap_LinkedHashMap$_empty(t,r);for(t=(t=A.MapExtensions_get_pairs0(I.$get$colorsByName0(),r,t)).get$iterator(t);t.moveNext$0();)e=(r=t.get$current(t))._0,n.$indexSet(0,r._1,e);return n}),R(I,"nodePackageImporterClass","$get$nodePackageImporterClass",()=>(new A.nodePackageImporterClass_closure).call$0()),R(I,"compilerClass","$get$compilerClass",()=>(new A.compilerClass_closure).call$0()),R(I,"asyncCompilerClass","$get$asyncCompilerClass",()=>(new A.asyncCompilerClass_closure).call$0()),R(I,"lmsToOklab0","$get$lmsToOklab0",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([.210454268309314,.7936177747023054,-.0040720430116193,1.9779985324311684,-2.42859224204858,.450593709617411,.0259040424655478,.7827717124575296,-.8086757549230774],D.JSArray_double))),R(I,"oklabToLms0","$get$oklabToLms0",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.0000000000000002,.3963377773761749,.2158037573099136,.9999999999999998,-.10556134581565854,-.06385417282581334,.9999999999999999,-.0894841775298118,-1.2914855480194094],D.JSArray_double))),R(I,"linearSrgbToLinearDisplayP30","$get$linearSrgbToLinearDisplayP30",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([.8224619687143623,.17753803128563775,0,.03319419885096161,.9668058011490384,0,.01708263072112003,.07239744066396346,.9105199286149165],D.JSArray_double))),R(I,"linearDisplayP3ToLinearSrgb0","$get$linearDisplayP3ToLinearSrgb0",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.2249401762805598,-.22494017628055996,0,-.04205695470968816,1.042056954709688,0,-.01963755459033443,-.07863604555063188,1.0982736001409663],D.JSArray_double))),R(I,"linearSrgbToLinearA98Rgb0","$get$linearSrgbToLinearA98Rgb0",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([.7151256068556247,.28487439314437535,0,0,1,0,0,.04116194845011846,.9588380515498816],D.JSArray_double))),R(I,"linearA98RgbToLinearSrgb0","$get$linearA98RgbToLinearSrgb0",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.3983557439607783,-.3983557439607783,0,0,1,0,0,-.04292898929447326,1.0429289892944733],D.JSArray_double))),R(I,"linearSrgbToLinearRec20200","$get$linearSrgbToLinearRec20200",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([.627403895934699,.3292830383778837,.04331306568741722,.06909728935823208,.9195403950754587,.01136231556630917,.01639143887515027,.08801330787722575,.895595253247624],D.JSArray_double))),R(I,"linearRec2020ToLinearSrgb0","$get$linearRec2020ToLinearSrgb0",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.6604910021084345,-.5876411387885495,-.07284986331988487,-.12455047452159074,1.1328998971259603,-.00834942260436947,-.0181507633549053,-.10057889800800737,1.1187296613629127],D.JSArray_double))),R(I,"linearSrgbToXyzD650","$get$linearSrgbToXyzD650",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([.4123907992659595,.35758433938387796,.1804807884018343,.21263900587151036,.7151686787677559,.07219231536073371,.01933081871559185,.11919477979462598,.9505321522496606],D.JSArray_double))),R(I,"xyzD65ToLinearSrgb0","$get$xyzD65ToLinearSrgb0",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([3.2409699419045213,-1.5373831775700935,-.4986107602930033,-.9692436362808798,1.8759675015077206,.04155505740717561,.0556300796969936,-.20397695888897657,1.0569715142428786],D.JSArray_double))),R(I,"linearSrgbToLms0","$get$linearSrgbToLms0",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([.412221469470763,.5363325372617348,.0514459932675022,.2119034958178252,.6806995506452342,.1073969535369405,.08830245919005641,.2817188391361215,.6299787016738221],D.JSArray_double))),R(I,"lmsToLinearSrgb0","$get$lmsToLinearSrgb0",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([4.076741636075958,-3.307711539258062,.23096990318210417,-1.268437973285032,2.609757349287689,-.3413193760026571,-.00419607613867551,-.7034186179359363,1.707614694074612],D.JSArray_double))),R(I,"linearSrgbToLinearProphotoRgb0","$get$linearSrgbToLinearProphotoRgb0",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([.5292769776226116,.33015450197849283,.14056852039889556,.09836585954044917,.8734707129069618,.028163427552589,.01687534092138684,.11765941425612084,.8654652448224923],D.JSArray_double))),R(I,"linearProphotoRgbToLinearSrgb0","$get$linearProphotoRgbToLinearSrgb0",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([2.034380849516996,-.7276357899341342,-.3067450595828618,-.22882573163305037,1.2317425411901048,-.00291680955705449,-.00855882878391742,-.1532667021380372,1.1618255309219547],D.JSArray_double))),R(I,"linearSrgbToXyzD500","$get$linearSrgbToXyzD500",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([.43606574687426936,.3851515095901596,.14307841996513868,.22249317711056518,.7168870130944824,.06061980979495235,.01392392146316939,.09708132423141015,.7140993568158807],D.JSArray_double))),R(I,"xyzD50ToLinearSrgb0","$get$xyzD50ToLinearSrgb0",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([3.1341358529001178,-1.617385998018042,-.49066221791109754,-.9787954765557777,1.9162543773959884,.03344287339036693,.07195539255794733,-.228976759815182,1.4053860351131182],D.JSArray_double))),R(I,"linearDisplayP3ToLinearA98Rgb0","$get$linearDisplayP3ToLinearA98Rgb0",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([.8640051374740484,.13599486252595164,0,-.04205695470968816,1.042056954709688,0,-.02056038078232985,-.03250613804550798,1.0530665188278379],D.JSArray_double))),R(I,"linearA98RgbToLinearDisplayP30","$get$linearA98RgbToLinearDisplayP30",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.1500944181410184,-.15009441814101834,0,.04641729862941844,.9535827013705815,0,.02388759479083904,.02650477632633013,.9496076288828308],D.JSArray_double))),R(I,"linearDisplayP3ToLinearRec20200","$get$linearDisplayP3ToLinearRec20200",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([.7538330343617218,.1985973690526163,.04756959658566187,.04574384896535833,.9417772198116935,.01247893122294812,-.00121034035451832,.01760171730108989,.9836086230534284],D.JSArray_double))),R(I,"linearRec2020ToLinearDisplayP30","$get$linearRec2020ToLinearDisplayP30",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.343578252584332,-.2821796705261357,-.06139858205819628,-.06529745278911953,1.0757879158485746,-.01049046305945495,.00282178726170095,-.01959849452449406,1.0167767072627931],D.JSArray_double))),R(I,"linearDisplayP3ToXyzD650","$get$linearDisplayP3ToXyzD650",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([.48657094864821626,.26566769316909294,.1982172852343625,.22897456406974884,.6917385218365062,.079286914093745,0,.04511338185890257,1.0439443689009757],D.JSArray_double))),R(I,"xyzD65ToLinearDisplayP30","$get$xyzD65ToLinearDisplayP30",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([2.4934969119414245,-.9313836179191236,-.40271078445071684,-.8294889695615749,1.7626640603183468,.02362468584194359,.03584583024378433,-.0761723892680417,.9568845240076873],D.JSArray_double))),R(I,"linearDisplayP3ToLms0","$get$linearDisplayP3ToLms0",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([.48137985274995443,.46211837101131803,.05650177623872756,.22883194181124472,.6532168193835676,.11795123880518774,.08394575232299319,.22416527097756642,.6918889766994404],D.JSArray_double))),R(I,"lmsToLinearDisplayP30","$get$lmsToLinearDisplayP30",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([3.1277689713618737,-2.2571357625916386,.12936679122976494,-1.0910090184377979,2.4133317103069225,-.32232269186912466,-.02601080193857045,-.508041331704167,1.5340521336427373],D.JSArray_double))),R(I,"linearDisplayP3ToLinearProphotoRgb0","$get$linearDisplayP3ToLinearProphotoRgb0",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([.6316869193403589,.21393038569465722,.1543826949649839,.08320371426648458,.8858651367630243,.03093114897049121,-.00127273456473881,.05075510433665735,.9505176302280814],D.JSArray_double))),R(I,"linearProphotoRgbToLinearDisplayP30","$get$linearProphotoRgbToLinearDisplayP30",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.6325756087069179,-.3797716184825984,-.2528039902243195,-.15370040233755072,1.1667025472425014,-.01300214490495082,.01039319529676572,-.0628073126495944,1.0524141173528287],D.JSArray_double))),R(I,"linearDisplayP3ToXyzD500","$get$linearDisplayP3ToXyzD500",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([.515146442968116,.2920099820638577,.15713925139759397,.2412003221252552,.6922225411313818,.06657713674336294,-.00105013914714014,.0418782701890746,.7842764714685257],D.JSArray_double))),R(I,"xyzD50ToLinearDisplayP30","$get$xyzD50ToLinearDisplayP30",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([2.4039341218554973,-.9900304424955931,-.39761363181465614,-.8422700161454688,1.7989580161067082,.01604562477090472,.04819381686413303,-.09738519815446048,1.2736713693321273],D.JSArray_double))),R(I,"linearA98RgbToLinearRec20200","$get$linearA98RgbToLinearRec20200",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([.8773338416636568,.07749370651571998,.04517245182062317,.09662259146620378,.8915273202441805,.01185008828961569,.02292106270284839,.04303668501067932,.9340422522864723],D.JSArray_double))),R(I,"linearRec2020ToLinearA98Rgb0","$get$linearRec2020ToLinearA98Rgb0",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.1519783947159163,-.0975030553024086,-.05447533941350766,-.12455047452159074,1.1328998971259603,-.00834942260436947,-.0225303827810559,-.04980650742838876,1.0723368902094446],D.JSArray_double))),R(I,"linearA98RgbToXyzD650","$get$linearA98RgbToXyzD650",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([.5766690429101308,.18555823790654627,.18822864623499472,.29734497525053616,.627363566255466,.07529145849399789,.02703136138641237,.07068885253582714,.9913375368376389],D.JSArray_double))),R(I,"xyzD65ToLinearA98Rgb0","$get$xyzD65ToLinearA98Rgb0",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([2.041587903810746,-.5650069742788596,-.3447313507783295,-.9692436362808798,1.8759675015077206,.04155505740717561,.01344428063203102,-.11836239223101823,1.0151749943912054],D.JSArray_double))),R(I,"linearA98RgbToLms0","$get$linearA98RgbToLms0",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([.5764322596183941,.36991322261987963,.05365451776172635,.29631647054222465,.5916761332521885,.11200739620558686,.1234782510142776,.21949869837199862,.6570230506137238],D.JSArray_double))),R(I,"lmsToLinearA98Rgb0","$get$lmsToLinearA98Rgb0",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([2.5540368386115566,-1.6219761806828699,.06793934207131327,-1.268437973285032,2.609757349287689,-.3413193760026571,-.05623473593749381,-.5670418395669061,1.6232765755043999],D.JSArray_double))),R(I,"linearA98RgbToLinearProphotoRgb0","$get$linearA98RgbToLinearProphotoRgb0",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([.7401175018047792,.11327951328898105,.1466029849062397,.1375504646980262,.833077080269484,.02937245503248977,.02359772990871766,.07378347703906656,.9026187930522158],D.JSArray_double))),R(I,"linearProphotoRgbToLinearA98Rgb0","$get$linearProphotoRgbToLinearA98Rgb0",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.38965124815152,-.16945907691487766,-.22019217123664242,-.22882573163305037,1.2317425411901048,-.00291680955705449,-.01762544368426068,-.09625702306122665,1.1138824667454874],D.JSArray_double))),R(I,"linearA98RgbToXyzD500","$get$linearA98RgbToXyzD500",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([.6097750418861814,.20530000261929401,.14922063192409227,.31112461220464155,.6256532308346856,.06322215696067286,.01947059555648168,.06087908649415867,.7447549204598198],D.JSArray_double))),R(I,"xyzD50ToLinearA98Rgb0","$get$xyzD50ToLinearA98Rgb0",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.9624670363768806,-.6107423404815073,-.3413580980827154,-.9787954765557777,1.9162543773959884,.03344287339036693,.02870443944957101,-.1406748663317068,1.3489141814137937],D.JSArray_double))),R(I,"linearRec2020ToXyzD650","$get$linearRec2020ToXyzD650",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([.6369580483012913,.14461690358620838,.16888097516417205,.26270021201126703,.677998071518871,.05930171646986194,0,.0280726930490875,1.0609850577107909],D.JSArray_double))),R(I,"xyzD65ToLinearRec20200","$get$xyzD65ToLinearRec20200",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.7166511879712676,-.3556707837763924,-.2533662813736598,-.666684351832489,1.616481236634939,.01576854581391113,.01763985744531091,-.04277061325780865,.942103121235474],D.JSArray_double))),R(I,"linearRec2020ToLms0","$get$linearRec2020ToLms0",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([.6167557848654444,.36019840122646335,.02304581390809228,.2651330593926367,.6358393720678491,.09902756853951408,.10010262952034828,.20390652261661452,.6959908478630372],D.JSArray_double))),R(I,"lmsToLinearRec20200","$get$lmsToLinearRec20200",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([2.1399067304346513,-1.246389493760618,.10648276332596668,-.8847358357577674,2.1632309383612007,-.2784951026034334,-.04857374640044396,-.4545031497140964,1.5030768961145404],D.JSArray_double))),R(I,"linearRec2020ToLinearProphotoRgb0","$get$linearRec2020ToLinearProphotoRgb0",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([.8351873331297235,.04886884858605698,.11594381828421951,.05403324519953363,.9289184085692044,.01704834623126199,-.00234203897072539,.03633215316169465,.9660098858090307],D.JSArray_double))),R(I,"linearProphotoRgbToLinearRec20200","$get$linearProphotoRgbToLinearRec20200",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.200659329517408,-.05756805370122346,-.14309127581618444,-.06994154955888504,1.080617897597214,-.01067634803832895,.00554147334294746,-.04078219298657951,1.035240719643632],D.JSArray_double))),R(I,"linearRec2020ToXyzD500","$get$linearRec2020ToXyzD500",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([.673515463188276,.16569726370390453,.12508294953738705,.2790590051411206,.6753180057491098,.04562298910976962,-.00193242713400438,.02997782679282923,.7970592028516355],D.JSArray_double))),R(I,"xyzD50ToLinearRec20200","$get$xyzD50ToLinearRec20200",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.647184904671766,-.3936818981316471,-.23595963848828266,-.6826641074173818,1.6477146127444076,.01281708338512084,.02966887665275675,-.0629258964297003,1.2535578201865771],D.JSArray_double))),R(I,"xyzD65ToLms0","$get$xyzD65ToLms0",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([.819022437996703,.36190626005289034,-.12887378152098788,.03298365393238846,.9292868615863433,.03614466635064235,.0481771893596242,.2642395317527308,.6335478284694308],D.JSArray_double))),R(I,"lmsToXyzD650","$get$lmsToXyzD650",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.2268798758459243,-.5578149944602171,.2813910456659646,-.04057574521480084,1.1122868032803173,-.07171105806551635,-.07637293667466007,-.42149333240224324,1.5869240198367818],D.JSArray_double))),R(I,"xyzD65ToLinearProphotoRgb0","$get$xyzD65ToLinearProphotoRgb0",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.4031904633774979,-.22301514479051668,-.1016066850741379,-.5262384021633072,1.4816319629234644,.01701879027252688,-.0112022652862215,.01824640347962099,.9112472274915048],D.JSArray_double))),R(I,"linearProphotoRgbToXyzD650","$get$linearProphotoRgbToXyzD650",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([.755590742296921,.11271984265940525,.0821453420953454,.2683218435785719,.7151152566617912,.01656289975963685,.0039159727624258,-.01293344283684181,1.0980752208342945],D.JSArray_double))),R(I,"xyzD65ToXyzD500","$get$xyzD65ToXyzD500",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.0479297925449966,.02294687060160952,-.05019226628920519,.02962780877005567,.99043442675388,-.01707379906341879,-.00924304064620452,.01505519149029816,.751874281428137],D.JSArray_double))),R(I,"xyzD50ToXyzD650","$get$xyzD50ToXyzD650",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([.9554734214880752,-.02309845494876452,.06325924320057065,-.02836970933386358,1.0099953980813041,.0210414411919173,.01231401486448199,-.02050764929889898,1.330365926242124],D.JSArray_double))),R(I,"lmsToLinearProphotoRgb0","$get$lmsToLinearProphotoRgb0",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.7383551481157207,-.9879509427514458,.24959579463572504,-.7070494015329266,1.9343700444401382,-.2273206429072115,-.08407882206239634,-.35754060521141334,1.4416194272738097],D.JSArray_double))),R(I,"linearProphotoRgbToLms0","$get$linearProphotoRgbToLms0",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([.7154484605655534,.35279155007721186,-.0682400106427653,.2744116490015671,.6677976498412367,.05779070115719616,.10978443261622942,.18619829115002018,.7040172762337504],D.JSArray_double))),R(I,"lmsToXyzD500","$get$lmsToXyzD500",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.288586218172706,-.5378717444973745,.2135812027542364,-.00253387643187372,1.0923167988719165,-.08978292244004273,-.06937382305734124,-.29500839894431263,1.1894868245121142],D.JSArray_double))),R(I,"xyzD50ToLms0","$get$xyzD50ToLms0",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([.7707000420431172,.34924840261939616,-.11202351884164681,.00559649248368848,.9370723401136769,.06972568836252771,.04633714262191069,.25277531574310524,.851458076746796],D.JSArray_double))),R(I,"linearProphotoRgbToXyzD500","$get$linearProphotoRgbToXyzD500",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([.7977666449006423,.13518129740053308,.0313477341283922,.2880748288194013,.711835234241873,8993693872564e-17,0,0,.8251046025104602],D.JSArray_double))),R(I,"xyzD50ToLinearProphotoRgb0","$get$xyzD50ToLinearProphotoRgb0",()=>A.NativeFloat64List_NativeFloat64List$fromList(A._setArrayType([1.3457868816471583,-.25557208737979464,-.05110186497554526,-.5446307051249019,1.5082477428451468,.02052744743642139,0,0,1.2119675456389452],D.JSArray_double))),R(I,"_disallowedFunctionNames0","$get$_disallowedFunctionNames0",()=>{var e=I.$get$globalFunctions0();return(e=e.map$1$1(e,new A._disallowedFunctionNames_closure0,D.String).toSet$0(0)).remove$1(0,"abs"),e.remove$1(0,"alpha"),e.remove$1(0,"color"),e.remove$1(0,"grayscale"),e.remove$1(0,"hsl"),e.remove$1(0,"hsla"),e.remove$1(0,"hwb"),e.remove$1(0,"invert"),e.remove$1(0,"lab"),e.remove$1(0,"lch"),e.remove$1(0,"max"),e.remove$1(0,"min"),e.remove$1(0,"oklab"),e.remove$1(0,"oklch"),e.remove$1(0,"opacity"),e.remove$1(0,"rgb"),e.remove$1(0,"rgba"),e.remove$1(0,"round"),e.remove$1(0,"saturate"),e}),R(I,"deprecations","$get$deprecations",()=>{var e,t,r,n=A.LinkedHashMap_LinkedHashMap$_empty(D.String,A.findType("Deprecation1?"));for(e=0;e<30;++e)(t=C.List_0vi[e])!==C.Deprecation_uZO&&(r=t.id,n.$indexSet(0,r,{id:r,status:new A.deprecations_closure(t).call$0(),description:t.description,deprecatedIn:t.get$deprecatedIn(0),obsoleteIn:t.get$obsoleteIn(0)}));return n}),R(I,"versionClass","$get$versionClass",()=>(new A.versionClass_closure).call$0()),R(I,"exceptionClass","$get$exceptionClass",()=>(new A.exceptionClass_closure).call$0()),R(I,"FilesystemImporter_cwd0","$get$FilesystemImporter_cwd0",()=>{var e=null;return new A.FilesystemImporter0(A.absolute(".",e,e,e,e,e,e,e,e,e,e,e,e,e,e),!0)}),R(I,"functionClass","$get$functionClass",()=>(new A.functionClass_closure).call$0()),R(I,"globalFunctions0","$get$globalFunctions0",()=>{var e=D.BuiltInCallable_2,t=A.List_List$of(I.$get$global6(),!0,e);return C.JSArray_methods.addAll$1(t,I.$get$global7()),C.JSArray_methods.addAll$1(t,I.$get$global8()),C.JSArray_methods.addAll$1(t,I.$get$global9()),C.JSArray_methods.addAll$1(t,I.$get$global10()),C.JSArray_methods.addAll$1(t,I.$get$global11()),C.JSArray_methods.addAll$1(t,I.$get$global12()),t.push(A.BuiltInCallable$function0("if","$condition, $if-true, $if-false",new A.globalFunctions_closure0,null)),A.UnmodifiableListView$(t,e)}),R(I,"coreModules0","$get$coreModules0",()=>A.UnmodifiableListView$(A._setArrayType([I.$get$module5(),I.$get$module6(),I.$get$module7(),I.$get$module8(),I.$get$module9(),I.$get$module10()],A.findType("JSArray<BuiltInModule0<Callable>>")),D.BuiltInModule_Callable_2)),R(I,"LegacyIfExpression_declaration0","$get$LegacyIfExpression_declaration0",()=>A.ParameterList_ParameterList$parse0(P.x40funct,null)),R(I,"global7","$get$global7",()=>{var e="list";return A.UnmodifiableListView$(A._setArrayType([I.$get$_length2().withDeprecationWarning$1(e),I.$get$_nth0().withDeprecationWarning$1(e),I.$get$_setNth0().withDeprecationWarning$1(e),I.$get$_join0().withDeprecationWarning$1(e),I.$get$_append2().withDeprecationWarning$1(e),I.$get$_zip0().withDeprecationWarning$1(e),I.$get$_index2().withDeprecationWarning$1(e),I.$get$_isBracketed0().withDeprecationWarning$1(e),I.$get$_separator0().withDeprecationWarning$1(e).withName$1("list-separator")],D.JSArray_BuiltInCallable_2),D.BuiltInCallable_2)}),R(I,"module6","$get$module6",()=>A.BuiltInModule$0("list",A._setArrayType([I.$get$_length2(),I.$get$_nth0(),I.$get$_setNth0(),I.$get$_join0(),I.$get$_append2(),I.$get$_zip0(),I.$get$_index2(),I.$get$_isBracketed0(),I.$get$_separator0(),I.$get$_slash0()],D.JSArray_Callable_2),null,null,D.Callable_2)),R(I,"_length1","$get$_length2",()=>A._function11("length","$list",new A._length_closure2)),R(I,"_nth0","$get$_nth0",()=>A._function11("nth","$list, $n",new A._nth_closure0)),R(I,"_setNth0","$get$_setNth0",()=>A._function11("set-nth","$list, $n, $value",new A._setNth_closure0)),R(I,"_join0","$get$_join0",()=>A._function11("join",P.x24list1,new A._join_closure0)),R(I,"_append1","$get$_append2",()=>A._function11("append","$list, $val, $separator: auto",new A._append_closure2)),R(I,"_zip0","$get$_zip0",()=>A._function11("zip","$lists...",new A._zip_closure0)),R(I,"_index1","$get$_index2",()=>A._function11("index","$list, $value",new A._index_closure2)),R(I,"_separator0","$get$_separator0",()=>A._function11("separator","$list",new A._separator_closure0)),R(I,"_isBracketed0","$get$_isBracketed0",()=>A._function11("is-bracketed","$list",new A._isBracketed_closure0)),R(I,"_slash0","$get$_slash0",()=>A._function11("slash","$elements...",new A._slash_closure0)),R(I,"listClass","$get$listClass",()=>(new A.listClass_closure).call$0()),R(I,"legacyListClass","$get$legacyListClass",()=>{var e=A.createJSClass("sass.types.List",new A.legacyListClass_closure);return A.JSClassExtension_defineMethods(e,A.LinkedHashMap_LinkedHashMap$_literal(["getValue",new A.legacyListClass_closure0,"setValue",new A.legacyListClass_closure1,"getSeparator",new A.legacyListClass_closure2,"setSeparator",new A.legacyListClass_closure3,"getLength",new A.legacyListClass_closure4],D.String,D.Function)),e}),R(I,"global8","$get$global8",()=>{var e="map";return A.UnmodifiableListView$(A._setArrayType([I.$get$_get0().withDeprecationWarning$1(e).withName$1("map-get"),I.$get$_merge0().withDeprecationWarning$1(e).withName$1("map-merge"),I.$get$_remove0().withDeprecationWarning$1(e).withName$1("map-remove"),I.$get$_keys0().withDeprecationWarning$1(e).withName$1("map-keys"),I.$get$_values0().withDeprecationWarning$1(e).withName$1("map-values"),I.$get$_hasKey0().withDeprecationWarning$1(e).withName$1("map-has-key")],D.JSArray_BuiltInCallable_2),D.BuiltInCallable_2)}),R(I,"module7","$get$module7",()=>A.BuiltInModule$0("map",A._setArrayType([I.$get$_get0(),I.$get$_set0(),I.$get$_merge0(),I.$get$_remove0(),I.$get$_keys0(),I.$get$_values0(),I.$get$_hasKey0(),I.$get$_deepMerge0(),I.$get$_deepRemove0()],D.JSArray_Callable_2),null,null,D.Callable_2)),R(I,"_get0","$get$_get0",()=>A._function10("get","$map, $key, $keys...",new A._get_closure0)),R(I,"_set0","$get$_set0",()=>A.BuiltInCallable$overloadedFunction0("set",A.LinkedHashMap_LinkedHashMap$_literal(["$map, $key, $value",new A._set_closure1,"$map, $args...",new A._set_closure2],D.String,D.Value_Function_List_Value_2))),R(I,"_merge0","$get$_merge0",()=>A.BuiltInCallable$overloadedFunction0("merge",A.LinkedHashMap_LinkedHashMap$_literal(["$map1, $map2",new A._merge_closure1,"$map1, $args...",new A._merge_closure2],D.String,D.Value_Function_List_Value_2))),R(I,"_deepMerge0","$get$_deepMerge0",()=>A._function10("deep-merge","$map1, $map2",new A._deepMerge_closure0)),R(I,"_deepRemove0","$get$_deepRemove0",()=>A._function10("deep-remove","$map, $key, $keys...",new A._deepRemove_closure0)),R(I,"_remove0","$get$_remove0",()=>A.BuiltInCallable$overloadedFunction0("remove",A.LinkedHashMap_LinkedHashMap$_literal(["$map",new A._remove_closure1,"$map, $key, $keys...",new A._remove_closure2],D.String,D.Value_Function_List_Value_2))),R(I,"_keys0","$get$_keys0",()=>A._function10("keys","$map",new A._keys_closure0)),R(I,"_values0","$get$_values0",()=>A._function10("values","$map",new A._values_closure0)),R(I,"_hasKey0","$get$_hasKey0",()=>A._function10("has-key","$map, $key, $keys...",new A._hasKey_closure0)),R(I,"mapClass","$get$mapClass",()=>(new A.mapClass_closure).call$0()),R(I,"legacyMapClass","$get$legacyMapClass",()=>{var e=A.createJSClass("sass.types.Map",new A.legacyMapClass_closure);return A.JSClassExtension_defineMethods(e,A.LinkedHashMap_LinkedHashMap$_literal(["getKey",new A.legacyMapClass_closure0,"getValue",new A.legacyMapClass_closure1,"getLength",new A.legacyMapClass_closure2,"setKey",new A.legacyMapClass_closure3,"setValue",new A.legacyMapClass_closure4],D.String,D.Function)),e}),R(I,"global9","$get$global9",()=>{var e="math";return A.UnmodifiableListView$(A._setArrayType([A._function9("abs","$number",new A.global_closure43),I.$get$_ceil0().withDeprecationWarning$1(e),I.$get$_floor0().withDeprecationWarning$1(e),I.$get$_max0().withDeprecationWarning$1(e),I.$get$_min0().withDeprecationWarning$1(e),I.$get$_percentage0().withDeprecationWarning$1(e),I.$get$_randomFunction0().withDeprecationWarning$1(e),I.$get$_round0().withDeprecationWarning$1(e),I.$get$_unit0().withDeprecationWarning$1(e),I.$get$_compatible0().withDeprecationWarning$1(e).withName$1("comparable"),I.$get$_isUnitless0().withDeprecationWarning$1(e).withName$1("unitless")],D.JSArray_BuiltInCallable_2),D.BuiltInCallable_2)}),R(I,"module8","$get$module8",()=>{var e=null;return A.BuiltInModule$0("math",A._setArrayType([A._numberFunction0("abs",new A.module_closure26),I.$get$_acos0(),I.$get$_asin0(),I.$get$_atan0(),I.$get$_atan20(),I.$get$_ceil0(),I.$get$_clamp0(),I.$get$_cos0(),I.$get$_compatible0(),I.$get$_floor0(),I.$get$_hypot0(),I.$get$_isUnitless0(),I.$get$_log0(),I.$get$_max0(),I.$get$_min0(),I.$get$_percentage0(),I.$get$_pow0(),I.$get$_randomFunction0(),I.$get$_round0(),I.$get$_sin0(),I.$get$_sqrt0(),I.$get$_tan0(),I.$get$_unit0(),I.$get$_div0()],D.JSArray_Callable_2),e,A.LinkedHashMap_LinkedHashMap$_literal(["e",A.SassNumber_SassNumber0(2.718281828459045,e),"pi",A.SassNumber_SassNumber0(3.141592653589793,e),"epsilon",A.SassNumber_SassNumber0(2220446049250313e-31,e),"max-safe-integer",A.SassNumber_SassNumber0(9007199254740991,e),"min-safe-integer",A.SassNumber_SassNumber0(-9007199254740991,e),"max-number",A.SassNumber_SassNumber0(17976931348623157e292,e),"min-number",A.SassNumber_SassNumber0(5e-324,e)],D.String,D.Value_2),D.Callable_2)}),R(I,"_ceil0","$get$_ceil0",()=>A._numberFunction0("ceil",new A._ceil_closure0)),R(I,"_clamp0","$get$_clamp0",()=>A._function9("clamp","$min, $number, $max",new A._clamp_closure0)),R(I,"_floor0","$get$_floor0",()=>A._numberFunction0("floor",new A._floor_closure0)),R(I,"_max0","$get$_max0",()=>A._function9("max","$numbers...",new A._max_closure0)),R(I,"_min0","$get$_min0",()=>A._function9("min","$numbers...",new A._min_closure0)),R(I,"_round0","$get$_round0",()=>A._numberFunction0("round",new A._round_closure0)),R(I,"_hypot0","$get$_hypot0",()=>A._function9("hypot","$numbers...",new A._hypot_closure0)),R(I,"_log0","$get$_log0",()=>A._function9("log","$number, $base: null",new A._log_closure0)),R(I,"_pow0","$get$_pow0",()=>A._function9("pow","$base, $exponent",new A._pow_closure0)),R(I,"_sqrt0","$get$_sqrt0",()=>A._singleArgumentMathFunc0("sqrt",A.number2__sqrt$closure())),R(I,"_acos0","$get$_acos0",()=>A._singleArgumentMathFunc0("acos",A.number2__acos$closure())),R(I,"_asin0","$get$_asin0",()=>A._singleArgumentMathFunc0("asin",A.number2__asin$closure())),R(I,"_atan0","$get$_atan0",()=>A._singleArgumentMathFunc0("atan",A.number2__atan$closure())),R(I,"_atan20","$get$_atan20",()=>A._function9("atan2","$y, $x",new A._atan2_closure0)),R(I,"_cos0","$get$_cos0",()=>A._singleArgumentMathFunc0("cos",A.number2__cos$closure())),R(I,"_sin0","$get$_sin0",()=>A._singleArgumentMathFunc0("sin",A.number2__sin$closure())),R(I,"_tan0","$get$_tan0",()=>A._singleArgumentMathFunc0("tan",A.number2__tan$closure())),R(I,"_compatible0","$get$_compatible0",()=>A._function9("compatible","$number1, $number2",new A._compatible_closure0)),R(I,"_isUnitless0","$get$_isUnitless0",()=>A._function9("is-unitless","$number",new A._isUnitless_closure0)),R(I,"_unit0","$get$_unit0",()=>A._function9("unit","$number",new A._unit_closure0)),R(I,"_percentage0","$get$_percentage0",()=>A._function9("percentage","$number",new A._percentage_closure0)),R(I,"_random1","$get$_random2",()=>A.Random_Random()),R(I,"_randomFunction0","$get$_randomFunction0",()=>A._function9("random","$limit: null",new A._randomFunction_closure0)),R(I,"_div0","$get$_div0",()=>A._function9("div","$number1, $number2",new A._div_closure0)),R(I,"_shared0","$get$_shared0",()=>A.UnmodifiableListView$(A._setArrayType([A._function6("feature-exists","$feature",new A._shared_closure3),A._function6("inspect","$value",new A._shared_closure4),A._function6("type-of","$value",new A._shared_closure5),A._function6("keywords","$args",new A._shared_closure6)],D.JSArray_BuiltInCallable_2),D.BuiltInCallable_2)),R(I,"global10","$get$global12",()=>{var e,t=A._setArrayType([],D.JSArray_BuiltInCallable_2);for(e=(e=I.$get$_shared0()).get$iterator(e);e.moveNext$0();)t.push(e.get$current(0).withDeprecationWarning$1("meta"));return A.UnmodifiableListView$(t,D.BuiltInCallable_2)}),R(I,"moduleFunctions0","$get$moduleFunctions0",()=>{var e=D.BuiltInCallable_2,t=A.List_List$of(I.$get$_shared0(),!0,e);return t.push(A._function6("calc-name","$calc",new A.moduleFunctions_closure2)),t.push(A._function6("calc-args","$calc",new A.moduleFunctions_closure3)),t.push(A._function6("accepts-content","$mixin",new A.moduleFunctions_closure4)),A.UnmodifiableListView$(t,e)}),R(I,"mixinClass","$get$mixinClass",()=>(new A.mixinClass_closure).call$0()),R(I,"legacyNullClass","$get$legacyNullClass",()=>(new A.legacyNullClass_closure).call$0()),R(I,"_epsilon0","$get$_epsilon0",()=>A.pow(10,-11)),R(I,"_inverseEpsilon0","$get$_inverseEpsilon0",()=>A.pow(10,11)),R(I,"numberClass","$get$numberClass",()=>(new A.numberClass_closure).call$0()),R(I,"legacyNumberClass","$get$legacyNumberClass",()=>{var e=A.createJSClass("sass.types.Number",new A.legacyNumberClass_closure);return A.JSClassExtension_defineMethods(e,A.LinkedHashMap_LinkedHashMap$_literal(["getValue",new A.legacyNumberClass_closure0,"setValue",new A.legacyNumberClass_closure1,"getUnit",new A.legacyNumberClass_closure2,"setUnit",new A.legacyNumberClass_closure3],D.String,D.Function)),e}),R(I,"_typesByUnit0","$get$_typesByUnit0",()=>{var e,t,r=D.String,n=A.LinkedHashMap_LinkedHashMap$_empty(r,r);for(r=(r=A.MapExtensions_get_pairs0(C.Map_Sr65K,r,D.List_String)).get$iterator(r);r.moveNext$0();)for(t=(e=r.get$current(r))._0,e=w.get$iterator$ax(e._1);e.moveNext$0();)n.$indexSet(0,e.get$current(e),t);return n}),R(I,"_interpolation","$get$_interpolation",()=>A.Interpolation$0(C.List_empty12,C.List_empty13,I.$get$bogusSpan0())),R(I,"_expression","$get$_expression",()=>A.NullExpression$(I.$get$bogusSpan0())),R(I,"global11","$get$global10",()=>{var e="selector";return A.UnmodifiableListView$(A._setArrayType([I.$get$_isSuperselector0().withDeprecationWarning$1(e),I.$get$_simpleSelectors0().withDeprecationWarning$1(e),I.$get$_parse0().withDeprecationWarning$1(e).withName$1("selector-parse"),I.$get$_nest0().withDeprecationWarning$1(e).withName$1("selector-nest"),I.$get$_append1().withDeprecationWarning$1(e).withName$1("selector-append"),I.$get$_extend0().withDeprecationWarning$1(e).withName$1("selector-extend"),I.$get$_replace0().withDeprecationWarning$1(e).withName$1("selector-replace"),I.$get$_unify0().withDeprecationWarning$1(e).withName$1("selector-unify")],D.JSArray_BuiltInCallable_2),D.BuiltInCallable_2)}),R(I,"module9","$get$module9",()=>A.BuiltInModule$0("selector",A._setArrayType([I.$get$_isSuperselector0(),I.$get$_simpleSelectors0(),I.$get$_parse0(),I.$get$_nest0(),I.$get$_append1(),I.$get$_extend0(),I.$get$_replace0(),I.$get$_unify0()],D.JSArray_Callable_2),null,null,D.Callable_2)),R(I,"_nest0","$get$_nest0",()=>A._function8("nest","$selectors...",new A._nest_closure0)),R(I,"_append2","$get$_append1",()=>A._function8("append","$selectors...",new A._append_closure1)),R(I,"_extend0","$get$_extend0",()=>A._function8("extend","$selector, $extendee, $extender",new A._extend_closure0)),R(I,"_replace0","$get$_replace0",()=>A._function8("replace","$selector, $original, $replacement",new A._replace_closure0)),R(I,"_unify0","$get$_unify0",()=>A._function8("unify","$selector1, $selector2",new A._unify_closure0)),R(I,"_isSuperselector0","$get$_isSuperselector0",()=>A._function8("is-superselector","$super, $sub",new A._isSuperselector_closure0)),R(I,"_simpleSelectors0","$get$_simpleSelectors0",()=>A._function8("simple-selectors","$selector",new A._simpleSelectors_closure0)),R(I,"_parse1","$get$_parse0",()=>A._function8("parse","$selector",new A._parse_closure0)),R(I,"_knownCompatibilitiesByUnit0","$get$_knownCompatibilitiesByUnit0",()=>{var e,t,r,n=A.LinkedHashMap_LinkedHashMap$_empty(D.String,A.findType("Set<String>"));for(e=0;e<5;++e)for(r=(t=C.List_BFg[e]).get$iterator(t);r.moveNext$0();)n.$indexSet(0,r.get$current(0),t);return n}),R(I,"bogusSpan0","$get$bogusSpan0",()=>A.SourceFile$decoded(A._setArrayType([],D.JSArray_int),null).span$1(0,0)),R(I,"_random2","$get$_random1",()=>A.Random_Random()),L(I,"_previousUniqueId0","$get$_previousUniqueId0",()=>I.$get$_random1().nextInt$1(A._asInt(A.pow(36,6)))),R(I,"global12","$get$global11",()=>{var e="string";return A.UnmodifiableListView$(A._setArrayType([I.$get$_unquote0().withDeprecationWarning$1(e),I.$get$_quote0().withDeprecationWarning$1(e),I.$get$_toUpperCase0().withDeprecationWarning$1(e),I.$get$_toLowerCase0().withDeprecationWarning$1(e),I.$get$_uniqueId0().withDeprecationWarning$1(e),I.$get$_length1().withDeprecationWarning$1(e).withName$1("str-length"),I.$get$_insert0().withDeprecationWarning$1(e).withName$1("str-insert"),I.$get$_index1().withDeprecationWarning$1(e).withName$1("str-index"),I.$get$_slice0().withDeprecationWarning$1(e).withName$1("str-slice")],D.JSArray_BuiltInCallable_2),D.BuiltInCallable_2)}),R(I,"module10","$get$module10",()=>A.BuiltInModule$0("string",A._setArrayType([I.$get$_unquote0(),I.$get$_quote0(),I.$get$_toUpperCase0(),I.$get$_toLowerCase0(),I.$get$_length1(),I.$get$_insert0(),I.$get$_index1(),I.$get$_slice0(),I.$get$_uniqueId0(),A._function7("split","$string, $separator, $limit: null",new A.module_closure25)],D.JSArray_Callable_2),null,null,D.Callable_2)),R(I,"_unquote0","$get$_unquote0",()=>A._function7("unquote","$string",new A._unquote_closure0)),R(I,"_quote0","$get$_quote0",()=>A._function7("quote","$string",new A._quote_closure0)),R(I,"_length2","$get$_length1",()=>A._function7("length","$string",new A._length_closure1)),R(I,"_insert0","$get$_insert0",()=>A._function7("insert","$string, $insert, $index",new A._insert_closure0)),R(I,"_index2","$get$_index1",()=>A._function7("index","$string, $substring",new A._index_closure1)),R(I,"_slice0","$get$_slice0",()=>A._function7("slice","$string, $start-at, $end-at: -1",new A._slice_closure0)),R(I,"_toUpperCase0","$get$_toUpperCase0",()=>A._function7("to-upper-case","$string",new A._toUpperCase_closure0)),R(I,"_toLowerCase0","$get$_toLowerCase0",()=>A._function7("to-lower-case","$string",new A._toLowerCase_closure0)),R(I,"_uniqueId0","$get$_uniqueId0",()=>A._function7("unique-id","",new A._uniqueId_closure0)),R(I,"stringClass","$get$stringClass",()=>(new A.stringClass_closure).call$0()),R(I,"legacyStringClass","$get$legacyStringClass",()=>{var e=A.createJSClass("sass.types.String",new A.legacyStringClass_closure);return A.JSClassExtension_defineMethods(e,A.LinkedHashMap_LinkedHashMap$_literal(["getValue",new A.legacyStringClass_closure0,"setValue",new A.legacyStringClass_closure1],D.String,D.Function)),e}),R(I,"_emptyQuoted0","$get$_emptyQuoted0",()=>A.SassString$0("",!0)),R(I,"_emptyUnquoted0","$get$_emptyUnquoted0",()=>A.SassString$0("",!1)),R(I,"_urlSchemeRegExp","$get$_urlSchemeRegExp",()=>A.RegExp_RegExp("^[a-z0-9+.-]+$",!1)),R(I,"_jsThrow0","$get$_jsThrow",()=>new n.Function("error","throw error;")),R(I,"_isUndefined","$get$_isUndefined",()=>new n.Function("value","return value === undefined;")),R(I,"_isNull","$get$_isNull",()=>new n.Function("value","return value === null;")),R(I,"_noSourceUrl0","$get$_noSourceUrl0",()=>A.Uri_parse("-")),R(I,"_traces0","$get$_traces0",()=>A.Expando$()),R(I,"valueClass","$get$valueClass",()=>(new A.valueClass_closure).call$0()),function(){var e=function(e){var t={};return t[e]=1,Object.keys(S.convertToFastObject(t))[0]};M.getIsolateTag=function(t){return e("___dart_"+t+M.isolateTag)};for(var t="___dart_isolate_tags_",r=Object[t]||(Object[t]=Object.create(null)),n=0;;n++){var i=e("_ZxYxX_"+n+"_");if(!(i in r)){r[i]=1,M.isolateTag=i;break}}M.dispatchPropertyName=M.getIsolateTag("dispatch_record")}(),S.setOrUpdateInterceptorsByTag({ArrayBuffer:A.NativeByteBuffer,SharedArrayBuffer:A.NativeByteBuffer,ArrayBufferView:A.NativeTypedData,DataView:A.NativeByteData,Float32Array:A.NativeFloat32List,Float64Array:A.NativeFloat64List,Int16Array:A.NativeInt16List,Int32Array:A.NativeInt32List,Int8Array:A.NativeInt8List,Uint16Array:A.NativeUint16List,Uint32Array:A.NativeUint32List,Uint8ClampedArray:A.NativeUint8ClampedList,CanvasPixelArray:A.NativeUint8ClampedList,Uint8Array:A.NativeUint8List}),S.setOrUpdateLeafTags({ArrayBuffer:!0,SharedArrayBuffer:!0,ArrayBufferView:!1,DataView:!0,Float32Array:!0,Float64Array:!0,Int16Array:!0,Int32Array:!0,Int8Array:!0,Uint16Array:!0,Uint32Array:!0,Uint8ClampedArray:!0,CanvasPixelArray:!0,Uint8Array:!1}),A.NativeTypedArray.$nativeSuperclassTag="ArrayBufferView",A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin.$nativeSuperclassTag="ArrayBufferView",A._NativeTypedArrayOfDouble_NativeTypedArray_ListMixin_FixedLengthListMixin.$nativeSuperclassTag="ArrayBufferView",A.NativeTypedArrayOfDouble.$nativeSuperclassTag="ArrayBufferView",A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin.$nativeSuperclassTag="ArrayBufferView",A._NativeTypedArrayOfInt_NativeTypedArray_ListMixin_FixedLengthListMixin.$nativeSuperclassTag="ArrayBufferView",A.NativeTypedArrayOfInt.$nativeSuperclassTag="ArrayBufferView",Function.prototype.call$0=function(){return this()},Function.prototype.call$1=function(e){return this(e)},Function.prototype.call$2=function(e,t){return this(e,t)},Function.prototype.call$3$1=function(e){return this(e)},Function.prototype.call$2$1=function(e){return this(e)},Function.prototype.call$1$1=function(e){return this(e)},Function.prototype.call$3=function(e,t,r){return this(e,t,r)},Function.prototype.call$4=function(e,t,r,n){return this(e,t,r,n)},Function.prototype.call$3$3=function(e,t,r){return this(e,t,r)},Function.prototype.call$2$2=function(e,t){return this(e,t)},Function.prototype.call$5=function(e,t,r,n,i){return this(e,t,r,n,i)},Function.prototype.call$6=function(e,t,r,n,i,o){return this(e,t,r,n,i,o)},Function.prototype.call$2$0=function(){return this()},Function.prototype.call$1$0=function(){return this()},Function.prototype.call$1$2=function(e,t){return this(e,t)},Function.prototype.call$2$3=function(e,t,r){return this(e,t,r)},function(e){for(var t=0;t<e.length;++t)u(e[t])}(E),function(e){if("undefined"!=typeof document)if(void 0===document.currentScript)for(var t=document.scripts,r=0;r<t.length;++r)t[r].addEventListener("load",n,!1);else e(document.currentScript);else e(null);function n(r){for(var i=0;i<t.length;++i)t[i].removeEventListener("load",n,!1);e(r.target)}}(function(e){M.currentScript=e;var t=A.main2;"function"==typeof dartMainRunner?dartMainRunner(t,[]):t([])})}()};const tV=globalThis._cliPkgExports.pop();0===globalThis._cliPkgExports.length&&delete globalThis._cliPkgExports;const rV={};tV.load({immutable:MB},rV);const nV=rV.types;var iV=Object.defineProperty,oV=Object.getOwnPropertyDescriptor,sV=Object.getPrototypeOf,aV=Reflect.get,lV=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?oV(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&iV(t,r,o),o};nV.Map;let cV=class extends dD{constructor(){super(),this.data=void 0,this.articlesInSceneCount=void 0,this.useAdditionalEmptyCheck=!1,this.emptySceneDisableAdditionalEmptyCheck=!1,CommunicationInterfaceService.on("furnview.changePrice",e=>{return t=this,r=null,n=function*(){this.data=e;const t=yield CommunicationMessageService.getPlannedArticles();this.emptySceneDisableAdditionalEmptyCheck=window.g_configuration.enable_app_connection_data,this.articlesInSceneCount=t.length,null===this.offsetParent||this.classList.contains("hidden")||this.changePrice()},new Promise((e,i)=>{var o=e=>{try{a(n.next(e))}catch(e){i(e)}},s=e=>{try{a(n.throw(e))}catch(e){i(e)}},a=t=>t.done?e(t.value):Promise.resolve(t.value).then(o,s);a((n=n.apply(t,r)).next())});var t,r,n}),this.addHideStateUpdatedEventListener(e=>{0==e&&this.changePrice()})}isEmpty(){if(this.useAdditionalEmptyCheck){if(this.emptySceneDisableAdditionalEmptyCheck&&(null==this.articlesInSceneCount||this.articlesInSceneCount<1))return super.isEmpty();if(null==this.data)return!0;if(null==this.data.Articles||this.data.Articles.length<1)return!0}return super.isEmpty()}changePrice(){null!=this.data&&this.preparePriceData(this.data)}render(){return Zk`
+            <div class="title-container">
+                <slot name="title"></slot>
+            </div>
+            <div class="overview-container">
+                <slot name="overview"></slot>
+            </div>
+            ${super.render()}
+        `}};cV.styles=[((e,t)=>aV(sV(e),t,e))(cV,"styles")||[],$k`${yk(hD)}`],lV([lk({type:Boolean,reflect:!0,attribute:"use-additional-empty-check"})],cV.prototype,"useAdditionalEmptyCheck",2),cV=lV([sk("fv-price-overview")],cV);var uV=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{align-items:var(--price-display-align-items,center);display:flex;flex-direction:var(--price-display-flex-direction,column);gap:var(--price-display-gap,5px);justify-content:var(--price-display-justify-content,center)}:host .price{font-weight:var(--price-font-weight,inherit);padding-right:var(--price-display-txt-spacer,0)}:host .price.price-cut{color:var(--price-dispaly-cut-color,var(--primary-color,red));font-weight:var(--price-cut-font-weight,var(--price-font-weight,inherit))}:host .uvp-price{font-weight:var(--price-uvp-font-weight,var(--price-font-weight,inherit))}:host .prefix-txt{padding-right:var(--price-display-txt-spacer,0)}:host .currency-before{padding-right:var(--price-display-txt-spacer,0)}:host .currency-after{padding-left:var(--price-display-txt-spacer,0)}`,dV=Object.defineProperty,hV=Object.getOwnPropertyDescriptor,pV=Object.getPrototypeOf,mV=Reflect.get,_V=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?hV(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&dV(t,r,o),o};let gV=class extends FT{constructor(){super(),this.price={value:void 0,uvp:void 0,overrideCurrency:void 0,"whole-suffix":"","currency-before":!1},this.currency="EUR"}updataCurrency(){CommunicationMessageService.getCurrency().then(e=>{this.currency!=e&&(this.currency=e,this.requestUpdate())})}get display_currency(){return this.updataCurrency(),this.price.overrideCurrency?this.price.overrideCurrency:this.currency}get wholeSuffix(){return this.price["whole-suffix"]&&this.price["whole-suffix"].length>0?Zk`${this.price["whole-suffix"]}`:Zk``}buildPriceLine(e,t,r){if(null!=e){const n=Number.isInteger(e);return Zk`
+                <div class="${t}" part="${t}">
+                    ${r&&r.length>0?Zk`<span class="prefix-txt" i18n="${r}">${r}</span>`:Zk``}
+                    ${this.price["currency-before"]?Zk`<span class="currency-before">${this.display_currency}</span>`:Zk``}
+                    <span>${e.toFixed(n?0:2).replace(".",",")}${n?this.wholeSuffix:Zk``}</span>
+                    ${this.price["currency-before"]?Zk``:Zk`<span class="currency-after">${this.display_currency}</span>`}
+                </div>
+            `}return Zk``}render(){return Zk`
+            ${this.buildPriceLine(this.price.value,"price "+(this.price.uvp?"price-cut":""),"")}
+            ${this.buildPriceLine(this.price.uvp,"uvp-price","price-uvp-txt")}
+        `}};gV.styles=[((e,t)=>mV(pV(e),t,e))(gV,"styles")||[],$k`${yk(uV)}`],_V([lk({type:Object,reflect:!0,attribute:"price"})],gV.prototype,"price",2),gV=_V([sk("fv-price-display")],gV);var fV=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{background-color:var(--label-background-color,inherit);color:var(--label-color,unset);cursor:var(--label-cursor,unset);display:block;flex:var(--label-flex,unset);font-weight:var(--label-font-weight,initial);padding-right:var(--label-padding-right,unset);text-align:var(--label-text-align,unset)}:host slot{font-weight:inherit}:host a{color:blue;text-decoration:none}:host(.space.after){margin-bottom:10px}:host(.space.before){margin-top:10px}:host(.header){font-size:26px}:host(.custom-size){font-size:var(--label-custom-font-size, )}:host(.underline){text-decoration:underline}:host(.custom-width){width:var(--label-custom-width,inherit)}:host(.custom-height){height:var(--label-custom-height,inherit)}:host(.custom){font-size:var(--label-custom-font-size, );font-weight:var(--label-custom-font-weight, );margin:var(--label-custom-margin,unset);text-decoration:var(--label-custom-text-decoration,unset)}:host(.underline-on-hover:hover){text-decoration:underline}@media (width <= 520px){:host(.hide-on-mobile){display:none}}@media (width >= 520px) and (width <= 980px){:host(.hide-on-mobile){display:none}}`,vV=Object.defineProperty,bV=Object.getOwnPropertyDescriptor,yV=Object.getPrototypeOf,$V=Reflect.get,xV=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?bV(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&vV(t,r,o),o};nV.Map;let SV=class extends FT{constructor(){super()}render(){return this._textTag?Zk`${Object.assign(document.createElement(this._textTag),{innerHTML:"<slot></slot>"})}`:Zk`
+            <slot></slot>
+        `}updated(e){super.updated(e)}attributeChangedCallback(e,t,r){super.attributeChangedCallback(e,t,r)}computeSize(){this.style.minWidth=`${this.getBoldWidth()}px`}getBoldWidth(e="bold"){var t,r;let n=0;const i=(null==(r=null==(t=this._labelSlot)?void 0:t.assignedNodes())?void 0:r[0])||void 0;if(i){const t=i.textContent||"",r=document.createElement("span");r.style.visibility="hidden",r.style.whiteSpace="nowrap",r.style.fontWeight=e,r.innerHTML=t,this.appendChild(r),n=r.offsetWidth,this.removeChild(r)}return n}};SV.styles=[((e,t)=>$V(yV(e),t,e))(SV,"styles")||[],$k`${yk(fV)}`],xV([lk({type:String,reflect:!0,attribute:"text-tag"})],SV.prototype,"_textTag",2),xV([dk("slot")],SV.prototype,"_labelSlot",2),SV=xV([sk("fv-label")],SV);var wV=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host input{background:var(--input-background,initial);border:none;color:var(--input-text-color,fieldtext);cursor:var(--input-cursor,initial);flex:1;font-size:var(--input-font-size,unset);outline:none;padding:var(--input-padding,4px 15px 0 15px);text-align:var(--input-text-align,initial);width:var(--input-width,unset)}:host([moveable-placeholder]){position:relative}:host([moveable-placeholder]) .placeholder{align-items:center;background:var(--input-placeholder-background-color,#fff);color:var(--input-animation-placeholder-color,#777);display:flex;font-size:var(--input-placeholder-text-overlay-font-size,auto);height:100%;left:var(--input-placeholder-animation-placeholder-left,.55em);line-height:var(--input-placeholder-animation-placeholder-line-height,1em);max-width:var(--input-placeholder-text-overlay-max-width,unset);padding:var(--input-placeholder-animation-placeholder-padding,0 .5em);pointer-events:none;position:absolute;top:var(--input-placeholder-animation-placeholder-top,0);transition:all .3s;z-index:999}:host([moveable-placeholder]) .placeholder[has-value]{background:var(--input-placeholder-background-color-focus,#fff);color:var(--input-placeholder-animation-text-color-focus,#777);font-size:var(--input-placeholder-text-overlay-font-size-focus,13px);height:1em;left:var(--input-placeholder-animation-placeholder-displacement-left,5px);line-height:1em;padding:0 5px;pointer-events:none;top:var(--input-placeholder-animation-placeholder-displacement-top,-1em);z-index:999}:host([moveable-placeholder]:focus) .placeholder{background:var(--input-placeholder-background-color-focus,#fff);color:var(--input-placeholder-animation-text-color-focus,#777);font-size:var(--input-placeholder-text-overlay-font-size-focus,13px);height:1em;left:var(--input-placeholder-animation-placeholder-displacement-left,5px);line-height:1em;padding:0 5px;pointer-events:none;top:var(--input-placeholder-animation-placeholder-displacement-top,-1em);z-index:999}`,AV=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{border-radius:var(--input-outer-border-radius,initial);display:var(--input-display,flex);height:var(--input-outer-height,40px);margin:var(--input-outer-margin,0 0 14px 0);outline:var(--input-outer-outline,1px solid var(--bordered-color,red));overflow:var(--input-outer-overflow,initial);padding:var(--input-outer-padding,0);position:relative;width:var(--input-outer-width,auto)}::slotted(fv-button){padding:var(--input-outer-slotted-padding,0 20px)}`,CV=Object.defineProperty,EV=Object.getOwnPropertyDescriptor,IV=Object.getPrototypeOf,MV=Reflect.get,kV=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?EV(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&CV(t,r,o),o};const TV=class extends FT{constructor(){super(...arguments),this.name="",this.value="",this.readonly=!1,this.placeholder="",this.required=!1,this.onChange=(e,t)=>{},this.onBlurChange=(e,t)=>{}}get Button(){return this.querySelector("fv-button")}OnChange(e){this.value=e.target.value,this.onChange(e,this),this.dispatchEvent(new Event("change"))}OnBlurChange(e){this.onBlurChange(e,this),this.dispatchEvent(new Event("blur"))}focus(e){var t;null==(t=this._inputElement)||t.focus(e)}};let RV=TV;RV.styles=[((e,t)=>MV(IV(e),t,e))(TV,"styles")||[],yk(AV)],kV([lk({reflect:!0,type:String})],RV.prototype,"name",2),kV([lk({reflect:!0,type:String})],RV.prototype,"value",2),kV([lk({reflect:!0,type:Boolean})],RV.prototype,"readonly",2),kV([lk({reflect:!0,type:String})],RV.prototype,"placeholder",2),kV([lk({reflect:!0,type:Boolean})],RV.prototype,"required",2),kV([lk()],RV.prototype,"onChange",2),kV([lk()],RV.prototype,"onBlurChange",2);var LV=Object.defineProperty,PV=Object.getOwnPropertyDescriptor,DV=Object.getPrototypeOf,NV=Reflect.get,FV=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?PV(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&LV(t,r,o),o};let OV=class extends RV{constructor(){super(),this.moveablePlaceholder=!1}OnChange(e){var t,r;e.target.value.length>0?null==(t=this._placeholder)||t.setAttribute("has-value",""):null==(r=this._placeholder)||r.removeAttribute("has-value"),super.OnChange(e)}render(){return Zk`
+            <input id="base-input" @change="${this.OnBlurChange}" @input=${this.OnChange} ?readonly=${this.readonly} ?required=${this.required} .value="${this.value}" placeholder="${this.moveablePlaceholder?"":this.placeholder}"/>
+            ${this.moveablePlaceholder?Zk`<fv-label class="placeholder" ?has-value="${this.value.length>0}" i18n="${this.placeholder}">${this.placeholder}</fv-label>`:Zk``}
+            <slot></slot>
+        `}};OV.styles=[((e,t)=>NV(DV(e),t,e))(OV,"styles")||[],$k`${yk(wV)}`],FV([dk("#base-input")],OV.prototype,"_inputElement",2),FV([dk(".placeholder")],OV.prototype,"_placeholder",2),FV([lk({type:Boolean,reflect:!0,attribute:"moveable-placeholder"})],OV.prototype,"moveablePlaceholder",2),OV=FV([sk("fv-input")],OV);var BV=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host(.focused){outline:var(--constrained-input-focus-outline,#000 auto 1px)}:host([show-increase-decrease]) .input-increase-decrease .input-container{width:calc(100% - var(--constrained-input-indecrease-buttons-width, 40px)*2 - var(--constrained-input-border-size, 2px)*2)}:host{display:block}:host .input-increase-decrease{background-color:var(--constrained-input-border-color,#b4b4b4);border:var(--constrained-input-border-size,2px) solid var(--constrained-input-border-color,#b4b4b4);display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--constrained-input-border-size,2px);height:100%;justify-content:space-between;margin:0;padding:0}:host .input-increase-decrease .button{align-items:center;background:var(--constrained-input-indecrease-buttons-background,#fff);border:none;cursor:pointer;display:flex;justify-content:center;margin:0;padding:0;width:var(--constrained-input-indecrease-buttons-width,40px)}:host .input-increase-decrease .input-container{display:inline-block;display:flex;height:fit-content;position:relative;width:100%}:host .input-increase-decrease .input-container .unit-container{align-items:center;background:var(--constrained-input-background,#fff);border-left:var(--constrained-input-border-size,2px) solid var(--constrained-input-border-color,#b4b4b4);display:flex;flex-direction:row;font-size:var(--constrained-input-font-size,15px);justify-content:center;padding-left:calc(.3em + var(--constrained-input-border-size, 2px));padding-right:calc(.3em + var(--constrained-input-border-size, 2px));width:var(--auto-constrained-input-max-unit-length,fit-content)}:host .input-increase-decrease .input-container .number-unit{border:none;padding-left:calc(.3em + var(--constrained-input-border-size, 2px))}:host .input-increase-decrease .input-container .number-unit fv-label{visibility:hidden}:host .input-increase-decrease .input-container input{-moz-appearance:textfield;-webkit-appearance:none;background:var(--constrained-input-background,#fff);border:none;box-sizing:border-box;font-size:var(--constrained-input-font-size,15px);height:var(--constrained-input-height,40px);margin:0;padding:var(--constrained-input-padding,0 1em 0 0);text-align:right;width:var(--constrained-input-width,100%)}:host .input-increase-decrease .input-container input:focus-visible{outline:0!important}:host .input-increase-decrease .input-container input.no-spinner::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}:host .input-increase-decrease .input-container input.no-spinner::-webkit-inner-spin-button{-webkit-appearance:none;margin:0}:host(.disabled) .input-increase-decrease .button{display:none}:host(.disabled) .input-increase-decrease .input-container{width:100%}`,UV=Object.defineProperty,VV=Object.getOwnPropertyDescriptor,zV=Object.getPrototypeOf,HV=Reflect.get,GV=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?VV(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&UV(t,r,o),o},jV=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});let JV=class extends FT{constructor(){super(),this.min=0,this.max=99999999999,this.value=1,this.step=1,this.noMinMaxCheck=!1,this.decimals=0,this.decimalDivider=".",this.unit="error",this.unitLength=0,this.hideUnusedUnitContainer=!1,this.hideUnusedUnitContainerWhenDisabled=!1,this.showIncreaseDecrease=!1,this.poolRepeatedButtonClicks=!1,this.timeoutms=500,this._finalizeClickPromise=void 0,this.buttonTimeout=void 0,this.timeoutAddClicks=0,this.finalizingClick=!1,this.modificationIntervalTimeout=150,this.modificationInterval=void 0,this.modificationTimeout=void 0}set FinalizeClickPromise(e){this._finalizeClickPromise=e}pooledButtonClick(e){return jV(this,null,function*(){if(this.finalizingClick)return;const t=()=>jV(this,null,function*(){if(this.finalizingClick=!0,0==this.timeoutAddClicks)return;const e=this.timeoutAddClicks*this.step;this.final_value=this.getDisplayValue(this.value+e),null!=this._finalizeClickPromise&&(yield this._finalizeClickPromise),this.finalizingClick=!1,this._finalizeClickPromise=void 0});if(0==this.poolRepeatedButtonClicks)return this.timeoutAddClicks=e,yield t(),void(this.timeoutAddClicks=0);this.display_value=this.constrainValue(this.display_value+e*this.step),this.timeoutAddClicks+=e,this.buttonTimeout&&(clearTimeout(this.buttonTimeout),this.buttonTimeout=void 0),this.buttonTimeout=setTimeout(()=>jV(this,null,function*(){this.buttonTimeout&&(clearTimeout(this.buttonTimeout),this.buttonTimeout=void 0,yield t(),this.timeoutAddClicks=0)}),this.timeoutms)})}constrainValue(e){let t="0";if(this.decimals>0){t+=".";for(let e=0;e<this.decimals;++e)t+=e==this.decimals-1?"1":"0"}const r=parseFloat(t);return e<this.min+r?e=this.min:e>this.max-r&&(e=this.max),e}get display_value(){return null==this.input?this.value:this.getNoUnitValue(this.input.value)}set display_value(e){null!=this.input&&(this.input.value=this.getDisplayValue(e))}set final_value(e){null!=this.input&&("NaN"!=e&&""!=e?(this.value=this.getNoUnitValue(e),0==this.noMinMaxCheck&&(this.value=this.constrainValue(this.value)),this.display_value=this.value,this.dispatchEvent(new CustomEvent("change",{bubbles:!0,detail:{min:this.min,max:this.max,value:this.value}}))):this.display_value=this.value)}change(e){null!=this.input&&(this.final_value=this.input.value)}increase(){null!=this.input&&this.pooledButtonClick(1)}decrease(){null!=this.input&&this.pooledButtonClick(-1)}recursiveInterval(e){clearTimeout(this.modificationInterval),this.modificationInterval=setTimeout(()=>{e(),this.modificationIntervalTimeout>60&&(this.modificationIntervalTimeout-=10),this.recursiveInterval(e)},this.modificationIntervalTimeout)}mousedown(e){null==this.modificationTimeout&&(this.modificationTimeout=setTimeout(()=>{this.recursiveInterval(()=>{e()})},250))}mousedownIncrease(){this.mousedown(()=>{this.display_value=this.constrainValue(this.display_value+1*this.step)})}mousedownDecrease(){this.mousedown(()=>{this.display_value=this.constrainValue(this.display_value+-1*this.step)})}mouseupIncrease(){if(null==this.modificationInterval&&null!=this.modificationTimeout)return clearTimeout(this.modificationTimeout),this.modificationTimeout=void 0,void this.increase();clearInterval(this.modificationInterval),this.modificationInterval=void 0,this.final_value=this.input?this.input.value:this.getDisplayValue(this.value),this.modificationIntervalTimeout=150}mouseupDecrease(){if(null==this.modificationInterval)return clearTimeout(this.modificationTimeout),this.modificationTimeout=void 0,void this.decrease();clearInterval(this.modificationInterval),this.modificationInterval=void 0,this.final_value=this.input?this.input.value:this.getDisplayValue(this.value),this.modificationIntervalTimeout=150}get unitifier(){switch(this.unit){case"cm":return.1;case"m":return.001;default:return 1}}get unitremover(){switch(this.unit){case"cm":return 10;case"m":return 1e3;default:return 1}}getNoUnitValue(e){const t=e.replace(",",".");return this.decimals>0?parseFloat(t)*this.unitremover:parseInt(t)*this.unitremover}getDisplayValue(e){return(e*this.unitifier).toFixed(this.decimals).replace(".",this.decimalDivider)}markFocus(){this.classList.add("focused")}unMarkFocus(){this.classList.remove("focused")}GetInput(){let e=this.unitLength;0==this.unitLength&&(e=this.unit.length);const t=this.min===this.max,r=(this.hideUnusedUnitContainer||this.hideUnusedUnitContainerWhenDisabled&&t)&&"error"==this.unit;return t?this.classList.add("disabled"):this.classList.remove("disabled"),this.style.setProperty("--auto-constrained-input-max-unit-length",e.toFixed(0)+"em"),Zk`
+            <div class="input-container">
+                <input @focus=${this.markFocus}
+                       @blur=${this.unMarkFocus}
+                       @change=${this.change}
+                       value="${this.getDisplayValue(this.value)}"
+                       min="${this.getDisplayValue(this.min)}"
+                       max="${this.getDisplayValue(this.max)}"
+                       step="${this.step}"
+                       placeholder="${this.getDisplayValue(this.min)} - ${this.getDisplayValue(this.max)}"
+                       ?disabled="${t}"
+                />
+                ${r?Zk``:Zk`<span class="unit-container${"error"==this.unit?" number-unit":""}"><fv-label>${this.unit}</fv-label></span>`}
+            </div>
+        `}GetIncreaseDecrease(){return this.showIncreaseDecrease?Zk`
+                <button class="button increase" @mousedown="${this.mousedownIncrease}" @mouseup="${this.mouseupIncrease}">
+                    <slot name="increase"></slot>
+                </button>
+                <button class="button decrease" @mousedown="${this.mousedownDecrease}" @mouseup="${this.mouseupDecrease}">
+                    <slot name="decrease"></slot>
+                </button>
+            `:Zk``}render(){return Zk`
+            <div class="input-increase-decrease">
+                ${this.GetInput()}
+                ${this.GetIncreaseDecrease()}
+            </div>
+        `}};JV.styles=[((e,t)=>HV(zV(e),t,e))(JV,"styles")||[],$k`${yk(BV)}`],GV([lk({type:Number,reflect:!0})],JV.prototype,"min",2),GV([lk({type:Number,reflect:!0})],JV.prototype,"max",2),GV([lk({type:Number,reflect:!0})],JV.prototype,"value",2),GV([lk({type:Number,reflect:!0})],JV.prototype,"step",2),GV([lk({type:Boolean,reflect:!0,attribute:"no-min-max-check"})],JV.prototype,"noMinMaxCheck",2),GV([lk({type:Number,reflect:!0,attribute:"decimals"})],JV.prototype,"decimals",2),GV([lk({type:String,reflect:!0,attribute:"decimal-divider"})],JV.prototype,"decimalDivider",2),GV([lk({type:String,reflect:!0,attribute:"unit"})],JV.prototype,"unit",2),GV([lk({type:Number,reflect:!0,attribute:"unit-length"})],JV.prototype,"unitLength",2),GV([lk({type:Boolean,reflect:!0,attribute:"hide-unused-unit-container"})],JV.prototype,"hideUnusedUnitContainer",2),GV([lk({type:Boolean,reflect:!0,attribute:"hide-unused-unit-container-when-disabled"})],JV.prototype,"hideUnusedUnitContainerWhenDisabled",2),GV([lk({type:Boolean,reflect:!0,attribute:"show-increase-decrease"})],JV.prototype,"showIncreaseDecrease",2),GV([lk({type:Boolean,reflect:!0,attribute:"pool-repeated-button-clicks"})],JV.prototype,"poolRepeatedButtonClicks",2),GV([lk({type:Number,reflect:!0})],JV.prototype,"timeoutms",2),GV([dk("input")],JV.prototype,"input",2),JV=GV([sk("fv-constrained-input")],JV);var WV=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{align-items:center;display:flex;font-size:1em;gap:var(--range-slider-gap-min-max-slider,10px);justify-content:center;line-height:1em;position:relative;width:100%}:host .slider-max-display,:host .slider-min-display{font-size:1em;line-height:1em;white-space:nowrap;width:fit-content}:host .inputs-container{align-items:center;border:var(--range-slider-border,none);display:flex;font-size:1em;justify-content:center;line-height:1em;position:relative;width:100%}:host .inputs-container .slider{-webkit-appearance:none;background:var(--range-slider-color,#d3d3d3);margin:0;opacity:var(--range-slider-unfocused-opacity,1);padding:0;width:100%}:host .inputs-container .slider:focus{outline:none}:host .inputs-container .slider:hover{opacity:1}:host .inputs-container .slider::-webkit-slider-runnable-track{font-size:var(--range-slider-height,1em);height:var(--range-slider-height,1em);line-height:var(--range-slider-height,1em)}:host .inputs-container .slider::-moz-range-track{font-size:var(--range-slider-height,1em);height:var(--range-slider-height,1em);line-height:var(--range-slider-height,1em)}:host .inputs-container .slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;background:var(--range-slider-thumb-color,#000);cursor:pointer;height:var(--range-slider-thumb-height,var(--range-slider-height,1em));width:var(--auto-range-slider-thumb-width,100px)}:host .inputs-container .slider::-moz-range-thumb{background:var(--range-slider-thumb-color,#000);cursor:pointer;height:var(--range-slider-thumb-height,var(--range-slider-height,1em));width:var(--auto-range-slider-thumb-width,100px)}:host .inputs-container .slider-value-display-container{align-items:center;display:flex;justify-content:center;pointer-events:none;position:absolute;transform:translateX(-50%);width:var(--auto-range-slider-thumb-width,100px)}:host .inputs-container .slider-value-display-container .fv-icon-arrow-down{align-items:center;color:var(--range-slider-value-arrow-color,#fff);display:flex;font-size:var(--range-slider-thumb-arrow-width,1em);height:var(--range-slider-thumb-arrow-width,1em);justify-content:center;position:absolute;width:calc(var(--range-slider-thumb-arrow-width, 1em) + var(--range-slider-thumb-arrow-spacing, .5em) + var(--range-slider-thumb-arrow-spacing, .5em))}:host .inputs-container .slider-value-display-container .fv-icon-arrow-down:before{font-size:var(--range-slider-thumb-arrow-width,1em)}:host .inputs-container .slider-value-display-container .fv-icon-arrow-down.left{left:0}:host .inputs-container .slider-value-display-container .fv-icon-arrow-down.left:before{transform:rotate(90deg)}:host .inputs-container .slider-value-display-container .fv-icon-arrow-down.right{right:0}:host .inputs-container .slider-value-display-container .fv-icon-arrow-down.right:before{transform:rotate(-90deg)}:host .inputs-container .slider-value-display-container .slider-value-display-background{align-items:center;background:var(--range-slider-value-display-background,#fff);display:flex;justify-content:center;padding:var(--range-slider-value-display-background--padding-top,2px) var(--range-slider-value-display-background--padding-right,2px) var(--range-slider-value-display-background--padding-bottom,2px) var(--range-slider-value-display-background--padding-left,2px);position:relative}:host .inputs-container .slider-value-display-container .slider-value-display-background .slider-value-display-spacer{visibility:hidden}:host .inputs-container .slider-value-display-container .slider-value-display-background .slider-value-display{background:transparent;border:none;color:var(--range-slider-value-display-color,#000);left:2px;margin:0;padding:0;pointer-events:all;position:absolute;width:100%;z-index:9999}:host .inputs-container .slider-value-display-container .slider-value-display-background .slider-value-display:focus-visible{outline:none}:host .inputs-container .slider-value-display-container .slider-value-display-background .slider-value-display-suffix{color:var(--range-slider-value-display-suffix-color,grey);pointer-events:all;position:absolute;right:2px}`,QV=Object.defineProperty,qV=Object.getOwnPropertyDescriptor,YV=Object.getPrototypeOf,XV=Reflect.get,KV=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?qV(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&QV(t,r,o),o};let ZV=class extends FT{constructor(){super(),this.min=0,this.max=99999999999,this.value=1,this.decimals=0,this.unit="error",this.decimalDivider=".",new ResizeObserver(()=>{this.resize(this)}).observe(this)}resize(e){e.requestUpdate()}get unitifier(){switch(this.unit){case"cm":return.1;case"m":return.001;default:return 1}}get unitremover(){return 1/this.unitifier}getDisplayValue(e){return(e*this.unitifier).toFixed(this.decimals).replace(".",this.decimalDivider)}constrainValue(e){let t="0";if(this.decimals>0){t+=".";for(let e=0;e<this.decimals;++e)t+=e==this.decimals-1?"1":"0"}const r=parseFloat(t);return e<this.min+r?e=this.min:e>this.max-r&&(e=this.max),e}set values(e){if(this.input&&this.valueDisplay&&this.valueDisplaySpacer){const t=e.replace(",",".");this.decimals>0?this.value=parseFloat(t)*this.unitremover:this.value=parseInt(t)*this.unitremover,this.value=this.constrainValue(this.value),this.valueDisplay.innerText=this.getDisplayValue(this.value),this.valueDisplaySpacer.innerText=this.valueDisplay.innerText+("error"==this.unit?"":" "+this.unit)}}valueDisplayInput(){if(null!=this.valueDisplay&&null!=this.valueDisplaySpacer&&""!=this.valueDisplay.innerText){const e=this.decimals>0?parseFloat(this.valueDisplay.innerText):parseInt(this.valueDisplay.innerText);Number.isNaN(e)&&(this.valueDisplay.innerText=this.getDisplayValue(this.value)),this.valueDisplaySpacer.innerText=this.valueDisplay.innerText+("error"==this.unit?"":" "+this.unit)}}valueDisplayBlur(){if(null!=this.input&&null!=this.valueDisplay){if(""==this.valueDisplay.innerText)return this.values=this.input.value,void this.updateThumbPosition();this.values=this.valueDisplay.innerText,this.input.value=this.valueDisplay.innerText,this.updateThumbPosition(),this.release()}}valueDisplayKeyDown(e){"Enter"==e.key&&(e.preventDefault(),this.valueDisplay&&this.valueDisplay.blur())}move(){null!=this.input&&(this.values=this.input.value,this.updateThumbPosition())}change(){null!=this.input&&(this.values=this.input.value,this.release())}release(){this.dispatchEvent(new CustomEvent("slider-release",{bubbles:!0,composed:!0,detail:{min:this.min,max:this.max,value:this.value}})),this.requestUpdate()}render(){const e=this.getDisplayValue(this.min),t=this.getDisplayValue(this.max),r=this.getDisplayValue(this.value),n="error"==this.unit?"":" "+this.unit;return Zk`
+            <div class="slider-min-display">${e+n}</div>
+            <div class="inputs-container">
+                <div class="slider-value-display-container">
+                    <div class="fv-icon-arrow-down left"></div>
+                    <div class="slider-value-display-background">
+                        <div class="slider-value-display-spacer">${r+n}</div>
+                        <div class="slider-value-display" contenteditable @keydown="${this.valueDisplayKeyDown}" @input="${this.valueDisplayInput}" @blur="${this.valueDisplayBlur}">${r}</div>
+                        <div class="slider-value-display-suffix">${n}</div>
+                    </div>
+                    <div class="fv-icon-arrow-down right"></div>
+                </div>
+                <input @change="${this.change}" @input="${this.move}" type="range" min="${e.replace(this.decimalDivider,".")}" max="${t.replace(this.decimalDivider,".")}" value="${r.replace(this.decimalDivider,".")}" class="slider">
+            </div>
+            <div class="slider-max-display">${t+n}</div>
+        `}updated(e){super.updated(e),this.updateThumbPosition()}updateThumbPosition(){this.valueDisplayContainer&&(this.valueDisplayContainer.style.left=this.thumb_pos+"px")}get thumb_pos(){if(this.input&&this.valueDisplayBackground){const e=getComputedStyle(this.input),t=parseFloat(e.getPropertyValue("--range-slider-thumb-arrow-width"));let r=Number.isNaN(t)?2*parseFloat(e.fontSize):2*t;const n=parseFloat(e.getPropertyValue("--range-slider-thumb-arrow-spacing"));r+=Number.isNaN(n)?2*parseFloat(e.fontSize):4*n;const i=getComputedStyle(this.valueDisplayBackground);0==Number.isNaN(i.paddingLeft)&&(r+=parseFloat(i.paddingLeft)),0==Number.isNaN(i.paddingRight)&&(r+=parseFloat(i.paddingRight));const o=this.max_display_width+r;this.style.setProperty("--auto-range-slider-thumb-width",o.toFixed(2)+"px");const s=this.max-this.min;return.5*o+(this.value-this.min)/s*(parseFloat(e.width)-o)}return 0}get max_display_width(){if(this.maxDisplay){const e=getComputedStyle(this.maxDisplay);return Number.isNaN(e.width)?100:parseFloat(e.width)}return 100}};ZV.styles=[((e,t)=>XV(YV(e),t,e))(ZV,"styles")||[],$k`${yk(WV)}`],KV([lk({type:Number,reflect:!0})],ZV.prototype,"min",2),KV([lk({type:Number,reflect:!0})],ZV.prototype,"max",2),KV([lk({type:Number,reflect:!0})],ZV.prototype,"value",2),KV([lk({type:Number,reflect:!0,attribute:"decimals"})],ZV.prototype,"decimals",2),KV([lk({type:String,reflect:!0,attribute:"unit"})],ZV.prototype,"unit",2),KV([dk("input")],ZV.prototype,"input",2),KV([dk(".slider-min-display")],ZV.prototype,"minDisplay",2),KV([dk(".slider-max-display")],ZV.prototype,"maxDisplay",2),KV([dk(".slider-value-display-container")],ZV.prototype,"valueDisplayContainer",2),KV([dk(".slider-value-display")],ZV.prototype,"valueDisplay",2),KV([dk(".slider-value-display-spacer")],ZV.prototype,"valueDisplaySpacer",2),KV([dk(".slider-value-display-background")],ZV.prototype,"valueDisplayBackground",2),KV([lk({type:String,reflect:!0,attribute:"decimal-divider"})],ZV.prototype,"decimalDivider",2),ZV=KV([sk("fv-range-slider-input")],ZV);var ez=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}.slider-container{cursor:pointer;padding:var(--slider-container-padding,30px 0 30px 0);touch-action:none}.slider-line{background:var(--slider-line-color,#ccc);cursor:pointer;height:var(--slider-line-size,4px);position:relative;width:100%}.slider-dot{background:var(--slider-dot-color,var(--primary-color,red));border-radius:50%;height:var(--slider-dot-size,20px);position:absolute;top:calc(var(--slider-dot-size, 20px)*-.5 + var(--slider-line-size, 4px)*.5);width:var(--slider-dot-size,20px);z-index:2}.inputs-container{display:flex;flex-direction:row;justify-content:space-between}.input-container{position:relative}fv-input{--input-padding:0px 1em 0px 1em;--input-outer-margin:0px;--input-outer-outline:2px solid #5c5c5c;background:#fff;margin:2px;width:fit-content}.unit-suffix{align-items:center;border-left:2px solid #5c5c5c;display:flex;justify-content:center;padding-left:calc(.3em + 2px);padding-right:calc(.3em + 2px);width:1em}:host(.flipped){display:flex;flex-direction:column-reverse}`,tz=Object.defineProperty,rz=Object.getOwnPropertyDescriptor,nz=Object.getPrototypeOf,iz=Reflect.get,oz=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?rz(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&tz(t,r,o),o},sz=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});class az extends CustomEvent{constructor(e){super("sharedrangesliderinputchange",{detail:e,bubbles:!0,composed:!0})}}let lz=class extends FT{constructor(){super(),this.leftValue=0,this.leftMin=0,this.leftMax=99999999,this.leftPlaceholder="",this.rightValue=0,this.rightMin=0,this.rightMax=99999999,this.rightPlaceholder="",this.triggerChangeOnMousemove=!1,this.mousemoveChangeTriggerDistance=10,this._finalizeChangePromise=void 0,this._finalizingChange=!1,this.decimalDivider=".",this.lastLeftValue=void 0,this.lastMouseMoveChangeEventFulfilled=!0,this.engageDocument=!1,this.mouseDown=!1,this.dotPosition=0;const e=this;this.documentMouseUp=function(t){return sz(this,null,function*(){e._finalizingChange||(e.mouseDown||e.engageDocument)&&(e.mouseDown=!1,e.EngageDocument=!1,yield e.triggerChangeEvent(),e.requestUpdate())})},this.documentMouseMove=function(t){(e.mouseDown||e.engageDocument)&&(e.updateSliderPosition(t.clientX?t.clientX:0),e.changeOnMousemove())},this.documentMouseLeave=function(t){e._finalizingChange||(e.mouseDown||e.engageDocument)&&e.updateSliderPosition(t.clientX?t.clientX:0)},this.documentPointerMove=function(t){e._finalizingChange||(e.mouseDown||e.engageDocument)&&(e.updateSliderPosition(t.clientX?t.clientX:0),e.changeOnMousemove())},this.sceneMouseUp=function(t){return sz(this,null,function*(){e._finalizingChange||e.mouseDown&&e.engageDocument&&(e.mouseDown=!1,e.EngageDocument=!1,yield e.triggerChangeEvent(),e.requestUpdate())})},document.addEventListener("mouseup",this.documentMouseUp),document.addEventListener("mouseleave",this.documentMouseLeave),document.addEventListener("pointermove",this.documentPointerMove),this.attachSceneEvent()}set FinalizeChangePromise(e){this._finalizeChangePromise=e}changeOnMousemove(){if(this.triggerChangeOnMousemove){if(null==this.lastLeftValue)return void(this.lastLeftValue=this.leftValue);if(Math.abs(this.leftValue-this.lastLeftValue)<this.mousemoveChangeTriggerDistance+.1)return;if(!this.lastMouseMoveChangeEventFulfilled)return void(this.lastLeftValue=this.leftValue);this.lastMouseMoveChangeEventFulfilled=!1;this.triggerChangeEvent(!0).then(()=>{this.lastMouseMoveChangeEventFulfilled=!0}),this.lastLeftValue=this.leftValue}}set EngageDocument(e){this.engageDocument=e}updateSliderPosition(e){this.mouseDown&&(this.updateValuesFromDotPosition(e),this.updateDotPositionFromValues(),this.requestUpdate())}triggerChangeEvent(e=!1){return sz(this,null,function*(){null!=this.leftInput&&null!=this.rightInput&&(this._finalizingChange=!0,this.dispatchEvent(new az({left:this.leftValue,right:this.rightValue,"triggered-from-move":e})),this._finalizeChangePromise&&(yield this._finalizeChangePromise),this._finalizingChange=!1)})}onSliderLinePointerDown(e){this._finalizingChange||(this.mouseDown=!0,this.updateSliderPosition(e.clientX?e.clientX:0))}onSliderLinePointerUp(e){return sz(this,null,function*(){this._finalizingChange?this.triggerChangeOnMousemove&&(this.mouseDown=!1):(this.mouseDown=!1,yield this.triggerChangeEvent(),this.requestUpdate())})}onSliderMouseLeave(e){this._finalizingChange?this.mouseDown&&(this.EngageDocument=!0):this.mouseDown&&(this.updateSliderPosition(e.clientX?e.clientX:0),this.EngageDocument=!0)}onSliderMouseEnter(e){this.EngageDocument=!1}onSliderMouseMove(e){this._finalizingChange||(this.updateSliderPosition(e.clientX?e.clientX:0),this.changeOnMousemove(),this.mouseDown||(this.EngageDocument=!1))}leftBlur(e){this._finalizingChange||null!=this.leftInput&&this.leftInput.value.length>0&&this.makeDisplayValue(this.leftValue)!=this.leftInput.value&&(this.leftValue=this.makeValue(this.leftInput.value),this.leftValue<this.leftMin-1e-6&&(this.leftValue=this.leftMin),this.leftValue>this.leftMax+1e-6&&(this.leftValue=this.leftMax),this.rightValue=this.sliderTotal-this.leftValue,this.dispatchEvent(new az({left:this.leftValue,right:this.rightValue,"triggered-from-move":!1})))}leftChange(e){if(!this._finalizingChange&&null!=this.leftInput)return this.leftInput.value.length>0?(this.leftInput.value=this.leftInput.value.replaceAll(/[^0-9.,]/g,""),this.leftInput.value=this.leftInput.value.replaceAll(",",this.decimalDivider),void(this.leftInput.value=this.leftInput.value.replaceAll(".",this.decimalDivider))):void 0}rightBlur(e){if(!this._finalizingChange&&null!=this.rightInput&&this.rightInput.value.length>0&&this.makeDisplayValue(this.rightValue)!=this.rightInput.value){const e=this.sliderTotal;this.rightValue=this.makeValue(this.rightInput.value),this.rightValue<this.rightMin-1e-6&&(this.rightValue=this.rightMin),this.rightValue>this.rightMax+1e-6&&(this.rightValue=this.rightMax),this.leftValue=e-this.rightValue,this.dispatchEvent(new az({left:this.leftValue,right:this.rightValue,"triggered-from-move":!1}))}}rightChange(e){if(!this._finalizingChange&&null!=this.rightInput)return this.rightInput.value.length>0?(this.rightInput.value=this.rightInput.value.replaceAll(/[^0-9.,]/g,""),this.rightInput.value=this.rightInput.value.replaceAll(",",this.decimalDivider),void(this.rightInput.value=this.rightInput.value.replaceAll(".",this.decimalDivider))):void 0}attachSceneEvent(){return sz(this,null,function*(){var e,t;yield CommunicationInterfaceService.IsAppReady,null==(t=null==(e=CommunicationInterfaceService.FurnviewWebViewer)?void 0:e.contentWindow)||t.addEventListener("mouseup",this.sceneMouseUp)})}makeDisplayValue(e){return(e*this.DimensionScale).toFixed(this.Digits).replace(".",this.decimalDivider)}makeValue(e){return parseFloat(e.replace(this.decimalDivider,"."))*(1/this.DimensionScale)}get sliderTotal(){return this.leftValue+this.rightValue}get positionValue(){return this.leftValue}get dotWidth(){const e=getComputedStyle(this).getPropertyValue("--slider-dot-size");return e.length>0?parseInt(e):20}updateDotPositionFromMousePosition(e,t){const r=this.renderRoot.querySelector(".slider-line");if(!r)return 0;const n=r.getBoundingClientRect(),i=n.left;return this.dotPosition=e-i-.5*t,this.dotPosition<0&&(this.dotPosition=0),this.dotPosition>n.width-t&&(this.dotPosition=n.width-t),n.width}updateValuesFromDotPosition(e){const t=this.dotWidth,r=this.updateDotPositionFromMousePosition(e,t);if(this.leftInput&&this.rightInput){const e=this.dotPosition/(r-t),n=this.sliderTotal,i=n*e,o=n-i;this.leftValue=i,this.rightValue=o,this.leftValue<this.leftMin-1e-6&&(this.leftValue=this.leftMin),this.leftValue>this.leftMax+1e-6&&(this.leftValue=this.leftMax),this.rightValue<this.rightMin-1e-6&&(this.rightValue=this.rightMin),this.rightValue>this.rightMax+1e-6&&(this.rightValue=this.rightMax),this.leftInput.value=this.makeDisplayValue(this.leftValue),this.rightInput.value=this.makeDisplayValue(this.rightValue)}}updateDotPositionFromValues(){const e=this.renderRoot.querySelector(".slider-line");if(e){const t=getComputedStyle(this).getPropertyValue("--slider-dot-size"),r=t.length>0?parseInt(t):20,n=e.getBoundingClientRect();if(0!==n.width&&0!==n.height){const e=this.positionValue/this.sliderTotal;this.dotPosition=e*(n.width-r)}}}render(){return this.updateDotPositionFromValues(),Zk`
+            <div
+                class="slider-container${this.mouseDown?" moving-dot":""}"
+                @mousemove="${this.onSliderMouseMove}"
+                @mouseleave="${this.onSliderMouseLeave}"
+                @mouseenter="${this.onSliderMouseEnter}"
+                @pointerdown="${this.onSliderLinePointerDown}"
+                @pointerup="${this.onSliderLinePointerUp}">
+                <div class="slider-label">
+                    <slot></slot>
+                </div>
+                <div class="slider-line">
+                    <div class="slider-dot" style="left: ${this.dotPosition}px;"></div>
+                </div>
+            </div>
+            <div class="inputs-container">
+                <div class="input-container left">
+                    <div class="label-container left">
+                        <span>${this.leftPlaceholder}</span>
+                    </div>
+                    <fv-input
+                        class="input-left"
+                        placeholder="${this.leftPlaceholder}"
+                        @blur=${this.leftBlur}
+                        @change=${this.leftChange}
+                        value="${this.makeDisplayValue(this.leftValue)}"
+                        min="${this.makeDisplayValue(this.leftMin)}"
+                        max="${this.makeDisplayValue(this.leftMax)}">
+                            <div class="unit-suffix">${this.Unit}</div>
+                    </fv-input>
+                    <slot class="input-overwrite-slot left" name="left-input-overwrite-slot"></slot>
+                </div>
+                <div class="input-container right">
+                    <div class="label-container right">
+                        <span>${this.rightPlaceholder}</span>
+                    </div>
+                    <fv-input
+                        class="input-right"
+                        placeholder="${this.rightPlaceholder}"
+                        @blur=${this.rightBlur}
+                        @change=${this.rightChange}
+                        value="${this.makeDisplayValue(this.rightValue)}"
+                        min="${this.makeDisplayValue(this.rightMin)}"
+                        max="${this.makeDisplayValue(this.rightMax)}">
+                            <div class="unit-suffix">${this.Unit}</div>
+                    </fv-input>
+                    <slot class="input-overwrite-slot right" name="right-input-overwrite-slot"></slot>
+                </div>
+            </div>
+        `}firstUpdated(e){const t=this.renderRoot.querySelector(".slider-dot");t&&(this.updateDotPositionFromValues(),t.style.left=this.dotPosition+"px"),super.firstUpdated(e)}updated(e){var t,r,n,i,o,s,a,l;super.updated(e),null!=this.inputOverwriteSlotLeft&&this.inputOverwriteSlotLeft.assignedNodes().length>0?(null==(t=this.labelContainerLeft)||t.classList.add("hidden"),null==(r=this.leftInput)||r.classList.add("hidden")):(null==(n=this.labelContainerLeft)||n.classList.remove("hidden"),null==(i=this.leftInput)||i.classList.remove("hidden")),this.inputOverwriteSlotRight&&this.inputOverwriteSlotRight.assignedNodes().length>0?(null==(o=this.labelContainerRight)||o.classList.add("hidden"),null==(s=this.rightInput)||s.classList.add("hidden")):(null==(a=this.labelContainerRight)||a.classList.remove("hidden"),null==(l=this.rightInput)||l.classList.remove("hidden"))}disconnectedCallback(){var e,t;super.disconnectedCallback(),document.removeEventListener("mouseup",this.documentMouseUp),document.removeEventListener("mouseleave",this.documentMouseLeave),document.removeEventListener("pointermove",this.documentPointerMove),null==(t=null==(e=CommunicationInterfaceService.FurnviewWebViewer)?void 0:e.contentWindow)||t.removeEventListener("mouseup",this.sceneMouseUp)}};lz.styles=[((e,t)=>iz(nz(e),t,e))(lz,"styles")||[],$k`${yk(ez)}`],oz([lk({type:Number,reflect:!0,attribute:"left-value"})],lz.prototype,"leftValue",2),oz([lk({type:Number,reflect:!0,attribute:"left-min"})],lz.prototype,"leftMin",2),oz([lk({type:Number,reflect:!0,attribute:"left-max"})],lz.prototype,"leftMax",2),oz([lk({type:String,reflect:!0,attribute:"left-placeholder"})],lz.prototype,"leftPlaceholder",2),oz([lk({type:Number,reflect:!0,attribute:"right-value"})],lz.prototype,"rightValue",2),oz([lk({type:Number,reflect:!0,attribute:"right-min"})],lz.prototype,"rightMin",2),oz([lk({type:Number,reflect:!0,attribute:"right-max"})],lz.prototype,"rightMax",2),oz([lk({type:String,reflect:!0,attribute:"right-placeholder"})],lz.prototype,"rightPlaceholder",2),oz([lk({type:Boolean,reflect:!0,attribute:"trigger-change-on-mousemove"})],lz.prototype,"triggerChangeOnMousemove",2),oz([lk({type:Number,reflect:!0,attribute:"mousemove-change-trigger-distance"})],lz.prototype,"mousemoveChangeTriggerDistance",2),oz([lk({type:String,reflect:!0,attribute:"decimal-divider"})],lz.prototype,"decimalDivider",2),oz([dk(".input-left")],lz.prototype,"leftInput",2),oz([dk(".input-right")],lz.prototype,"rightInput",2),oz([dk(".label-container.left")],lz.prototype,"labelContainerLeft",2),oz([dk(".label-container.right")],lz.prototype,"labelContainerRight",2),oz([dk(".input-overwrite-slot.left")],lz.prototype,"inputOverwriteSlotLeft",2),oz([dk(".input-overwrite-slot.right")],lz.prototype,"inputOverwriteSlotRight",2),lz=oz([sk("fv-shared-range-slider-input")],lz);var cz=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{min-width:var(--validating-input-min-width,none)}:host .container{--input-outer-margin:0;margin:0;padding:var(--internal-auto-input-outline-size,2px);position:relative}:host .container .empty-information-container,:host .container .invalid-information-container{color:var(--input-invalid-text-color,red);font-size:var(--validating-input-invalid-information-font-size,9px);overflow:hidden;position:absolute;right:var(--internal-auto-input-outline-size,2px);text-align:right;top:var(--internal-auto-input-outline-size,2px);-webkit-transition:width 1s ease-in-out;-moz-transition:width 1s ease-in-out;-o-transition:width 1s ease-in-out;transition:width 1s ease-in-out;white-space:nowrap;width:0;z-index:999}:host(.invalid) .container .empty-information-container,:host(.invalid) .container .invalid-information-container{width:100%}:host(.invalid) .container .timed-out{width:0}`,uz=Object.defineProperty,dz=Object.getOwnPropertyDescriptor,hz=Object.getPrototypeOf,pz=Reflect.get,mz=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?dz(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&uz(t,r,o),o};let _z=class extends FT{constructor(){super(),this.name="",this.value="",this.placeholder="",this.onChange=(e,t)=>{},this.required=!1,this.emptyInformationText=void 0,this.invalidInformationText=void 0,this.inputValidation=void 0,this.resultValidation=void 0,this.addEventListener("blur",()=>{var e,t,r,n;if(this.resultValidation&&this.resultValidation.length>0){const i=new RegExp(this.resultValidation);i&&(this.value.length<1?(this.required&&(null==(e=this.invalidInformationContainer)||e.classList.add("hidden"),null==(t=this.emptyInformationContainer)||t.classList.remove("hidden")),this.valid=0==this.required):(this.required&&(null==(r=this.invalidInformationContainer)||r.classList.remove("hidden"),null==(n=this.emptyInformationContainer)||n.classList.add("hidden")),this.valid=i.test(this.value)))}else this.valid=this.value.length>0;this.dispatchEvent(new CustomEvent("validating-input-updated",{}))})}set valid(e){e?this.classList.remove("invalid"):this.classList.add("invalid")}get valid(){return this.required?this.value.length>0&&0==this.classList.contains("invalid"):0==this.classList.contains("invalid")}OnChange(e){this.valid=!0;const t=e.target,r=t.value;if(this.inputValidation&&this.inputValidation.length>0){const e=new RegExp(this.inputValidation);if(e){let n=!1;if(n=r.length<1||e.test(r),0==n){t.value=this.value;const e=t._inputElement;return void(null!=e&&(e.value=this.value))}}}this.value=r,this.onChange(e,this),this.dispatchEvent(new Event("change")),this.dispatchEvent(new CustomEvent("validating-input-updated",{}))}render(){return Zk`
+            <div class="container">
+                <fv-input name="${this.name}" .value="${this.value}"
+                          placeholder="${this.placeholder+(this.required?"*":"")}" @change="${this.OnChange}">
+                    <slot></slot>
+                </fv-input>
+                ${this.invalidInformationText&&this.invalidInformationText.length>0?Zk`
+                    <div class="invalid-information-container">${this.invalidInformationText}</div>`:Zk``}
+                ${this.emptyInformationText&&this.emptyInformationText.length>0?Zk`
+                    <div class="empty-information-container">${this.emptyInformationText}</div>`:Zk``}
+            </div>
+        `}updated(e){if(super.updated(e),this.inputElement){const e=window.getComputedStyle(this.inputElement);this.style.setProperty("--internal-auto-input-outline-size",e.outlineWidth)}}focus(e){var t;null==(t=this.inputElement)||t.focus(e)}};_z.styles=[((e,t)=>pz(hz(e),t,e))(_z,"styles")||[],$k`${yk(cz)}`],mz([lk({reflect:!0,type:String})],_z.prototype,"name",2),mz([lk({reflect:!0,type:String})],_z.prototype,"value",2),mz([lk({reflect:!0,type:String})],_z.prototype,"placeholder",2),mz([lk()],_z.prototype,"onChange",2),mz([lk({reflect:!0,type:Boolean,attribute:"required"})],_z.prototype,"required",2),mz([lk({type:String,reflect:!0,attribute:"empty-information-text"})],_z.prototype,"emptyInformationText",2),mz([lk({type:String,reflect:!0,attribute:"invalid-information-text"})],_z.prototype,"invalidInformationText",2),mz([lk({type:String,reflect:!0,attribute:"input-validation"})],_z.prototype,"inputValidation",2),mz([lk({type:String,reflect:!0,attribute:"result-validation"})],_z.prototype,"resultValidation",2),mz([dk("fv-input")],_z.prototype,"inputElement",2),mz([dk(".invalid-information-container")],_z.prototype,"invalidInformationContainer",2),mz([dk(".empty-information-container")],_z.prototype,"emptyInformationContainer",2),_z=mz([sk("fv-validating-input")],_z);var gz=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{display:block;margin:var(--slider-margin,10px);width:var(--slider-dimension,unset)}:host .sliderValues{display:flex;flex-direction:row;justify-content:space-between;margin-top:15px}:host .slider{align-items:center;background:var(--slider-color,#ccc);border-radius:calc(var(--slider-size, 4px)/2);display:flex;height:var(--slider-size,4px);position:relative;width:100%}:host .slider .slider-line{height:var(--slider-size,4px);width:100%}:host .slider .range-between{background:var(--slider-color,#ccc);height:3.5px;left:calc(var(--slider-ellipse-size, 20px)/2*-1);position:absolute;right:calc(var(--slider-ellipse-size, 20px)/2*-1);z-index:1}:host .slider .max-slider,:host .slider .min-slider{border-radius:50%;height:var(--slider-ellipse-size,20px);position:absolute;touch-action:none;transform:translateX(-50%);width:var(--slider-ellipse-size,20px);z-index:2}:host .slider .min-slider{background:var(--slider-ellipse-color,#3bd);left:calc(var(--slider-ellipse-size, 20px)/2*-1)}:host .slider .max-slider{background:var(--slider-ellipse-color,#3bd);left:calc(100% - var(--slider-ellipse-size, 20px)/2)}:host(.vertical){height:var(--slider-dimension,unset)}:host(.vertical) .sliderValues{display:flex;flex-direction:column;justify-content:space-between;margin-top:10px}:host(.vertical) .slider{height:100%;width:var(--slider-size,4px)}:host(.vertical) .slider .range-between{bottom:calc(var(--slider-ellipse-size, 20px)/2*-1);height:unset;left:unset;right:unset;top:calc(var(--slider-ellipse-size, 20px)/2*-1);width:3.5px}:host(.vertical) .slider .min-slider{background:var(--slider-ellipse-color,#3bd);left:unset;top:calc(var(--slider-ellipse-size, 20px)/2*-1)}:host(.vertical) .slider .max-slider{background:var(--slider-ellipse-color,#3bd);left:unset;top:calc(100% - var(--slider-ellipse-size, 20px)/2)}:host(.fixed) .slider .max-slider,:host(.fixed) .slider .min-slider{pointer-events:none}`,fz=Object.defineProperty,vz=Object.getOwnPropertyDescriptor,bz=Object.getPrototypeOf,yz=Reflect.get,$z=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?vz(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&fz(t,r,o),o};let xz=class extends FT{constructor(){super(),this._formatDisplayValueFunction=e=>e.toFixed(2),this._currentActionElement=null,this.handlePointerDown=(e,t)=>{document.body.style.touchAction="none",e.preventDefault(),this._currentActionElement&&(this._startPosition={x:this._currentActionElement.offsetLeft,y:this._currentActionElement.offsetTop},this._currentPosition=t)},this.handlePointerMove=e=>{if(!this._currentActionElement)return;const t=this.getPointerPosition(e);e.preventDefault();const r={x:this._startPosition.x+t.x-this._currentPosition.x,y:this._startPosition.y+t.y-this._currentPosition.y};this._direction&&1===this._direction?this.handleVerticalMovement(r):this.handleHorizontalMovement(r)},this.handlePointerClick=(e,t)=>{if(!this._currentActionElement)return;e.preventDefault();const r={x:t.x-this.getBoundingClientRect().x,y:t.y-this.getBoundingClientRect().y};this._direction&&1===this._direction?this.handleVerticalMovement(r):this.handleHorizontalMovement(r)},this.handlePointerUp=()=>{var e,t;this._currentActionElement&&(this._currentActionElement=null,document.body.style.touchAction="auto",document.removeEventListener("pointermove",this.handlePointerMove,!1),document.removeEventListener("pointerup",this.handlePointerUp,!1),null==(t=null==(e=CommunicationInterfaceService.FurnviewWebViewer)?void 0:e.contentWindow)||t.removeEventListener("pointerup",this.globalPointerUp)),this.dispatchChange(!0)},this.globalPointerUp=e=>{this.handlePointerUp()},this.inputRegex=/[0-9].,+/,this._startPosition={x:0,y:0},this._currentPosition={x:0,y:0},this._minPosition={x:-1,y:-1,height:0,width:0},this._maxPosition={x:-1,y:-1,height:0,width:0}}set FormatDisplayValueFunction(e){this._formatDisplayValueFunction=e}updated(e){this._value||(this._value=this._range),"number"==typeof this._value?this.updateDisplayValues({min:this._value,max:this._value}):this.updateDisplayValues(this._value),super.updated(e)}firstUpdated(e){super.firstUpdated(e),window.addEventListener("resize",this.onWindowResized.bind(this),{passive:!0})}disconnectedCallback(){window.removeEventListener("resize",this.onWindowResized.bind(this)),super.disconnectedCallback()}onWindowResized(){this.requestUpdate()}render(){if(!this._range||!this._value)return Zk``;const e=this._value,t=this.MaxV,r=this.updateDotStyles(e,this._range,t),n=this.updateRangeStyles(e,this._range,t);return Zk`
+            <div class="slider">
+                <div class="min-slider" style="left: ${r.min}px;"
+                     @pointerdown="${this.onMinSliderPointerDown}"></div>
+                <div class="slider-line" @pointerdown="${this.onSliderLinePointerDown}">
+                    <div class="range-between"
+                        style="left: ${n.min}px; right: ${this.MaxV-n.max}px"></div>
+                </div>
+                <div class="max-slider" style="left: ${r.max}px;"
+                     @pointerdown="${this.onMaxSliderPointerDown}"></div>
+            </div>
+            <div class="sliderValues">
+                <slot name="min"></slot>
+                <slot name="max"></slot>
+            </div>
+        `}set Value(e){this._value=e,e||(this._value=this.Range)}get MaxV(){return this._direction&&1==this._direction?parseFloat(window.getComputedStyle(this._slider||this).height):parseFloat(window.getComputedStyle(this._slider||this).width)}get Range(){return this._range}set Range(e){this._range=e}dispatchChange(e=!0){this._range&&e&&this.dispatchEvent(new CustomEvent("change",{detail:{value:this._value,range:this.Range,actionElement:this._currentActionElement},bubbles:!0}))}getPointerPosition(e){let t=0,r=0;return e.clientX&&(t=e.clientX,r=e.clientY),{x:t,y:r}}handleHorizontalMovement(e){const t=this.MaxV,r=this.clamp(e.x,0,t-0),n=this.applyMinMaxXConstraints(r,t),i={min:-1!==this._minPosition.x?this._minPosition.x:n,max:-1!==this._maxPosition.x?this._maxPosition.x+0:n+0};this._range&&(this._value=this.getInterpolatedRange(i,t,this._range))}handleVerticalMovement(e){const t=this.MaxV,r=this.clamp(e.y,-0,t-0),n=this.applyMinMaxYConstraints(r,t);this._currentActionElement.style.top=n+"px";const i={min:-1!==this._minPosition.y?this._minPosition.y:n,max:-1!==this._maxPosition.y?this._maxPosition.y+0:n+0};this._range&&(this._value=this.getInterpolatedRange(i,t,this._range))}clamp(e,t,r){return Math.max(t,Math.min(e,r))}applyMinMaxXConstraints(e,t){return e=-1!==this._minPosition.x?e>this._minPosition.x+this._minPosition.width?e:this._minPosition.x+this._minPosition.width:e,e=-1!==this._maxPosition.x?e<this._maxPosition.x-this._maxPosition.width?e:this._maxPosition.x-this._maxPosition.width:e,this.clamp(e,0,t)}applyMinMaxYConstraints(e,t){return e=-1!==this._minPosition.y?e>this._minPosition.y+this._minPosition.height?e:this._minPosition.y+this._minPosition.height:e,e=-1!==this._maxPosition.y?e<this._maxPosition.y-this._maxPosition.height?e:this._maxPosition.y-this._maxPosition.height:e,this.clamp(e,0,t)}interpolateRangeValue(e,t,r){const n=r.max-r.min;return this.clamp(r.min+n*(e/t),r.min,r.max)}getInterpolatedRange(e,t,r){return{min:this.interpolateRangeValue(e.min,t,r),max:this.interpolateRangeValue(e.max,t,r)}}projectValue(e,t,r){const n=r.max-r.min,i=(e-r.min)/n;return e=i>=1/t?i*t:i}getProjectedValues(e,t,r){return{min:this.projectValue(e.min,t,r),max:this.projectValue(e.max,t,r)}}updateRangeStyles(e,t,r){return"number"==typeof e?{min:this.projectValue(e,r,t),max:this.projectValue(e,r,t)}:{min:this.projectValue(e.min,r,t),max:this.projectValue(e.max,r,t)}}updateDotStyles(e,t,r){let n,i;return"number"==typeof e?(n=i=this.projectValue(e,r-20,t),n>i?n-=20:i+=20):(n=this.projectValue(e.min,r,t),i=this.projectValue(e.max,r,t),n=this.clamp(n,0,i),i=this.clamp(i,n,r)),{min:n,max:i}}updateDisplayValues(e){if(!this._maxValue){const e=this.querySelector("[slot=max].sliderValue")||this.querySelector("[slot=max] .sliderValue");e&&(this._maxValue=e)}if(!this._minValue){const e=this.querySelector("[slot=min].sliderValue")||this.querySelector("[slot=min] .sliderValue");e&&(this._minValue=e)}if(this._maxValue){const t=this._formatDisplayValueFunction(Math.round(e.max));this.setInputValue(this._maxValue,t),this.addChangeListener(this._maxValue,(e,t)=>{if(this._range&&this._value&&t&&!isNaN(parseFloat(t))){const e=1/parseFloat(this._formatDisplayValueFunction(1))*parseFloat(t);"object"==typeof this._value?this._value={min:this._value.min,max:Math.min(Math.max(e,this._value.min),this._range.max)}:"number"==typeof this._value&&this._range&&(this._value={min:this._range.min,max:Math.min(Math.max(e,this._range.min),this._range.max)}),this.dispatchChange(!0),this.requestUpdate()}})}if(this._minValue){const t=this._formatDisplayValueFunction(Math.round(e.min));this.setInputValue(this._minValue,t),this.addChangeListener(this._minValue,(e,t)=>{if(this._range&&this._value&&t&&!isNaN(parseFloat(t))){const e=1/parseFloat(this._formatDisplayValueFunction(1))*parseFloat(t);"object"==typeof this._value?this._value={min:Math.max(Math.min(e,this._value.max),this._range.min),max:this._value.max}:"number"==typeof this._value&&(this._value={min:Math.max(Math.min(e,this._range.max),this._range.min),max:this._range.max}),this.dispatchChange(!0),this.requestUpdate()}})}}checkInputFormat(e){e.data&&!this.inputRegex.test(e.data)&&e.preventDefault()}setInputValue(e,t){e instanceof HTMLInputElement||e instanceof OV?e.value=t:e.textContent=t}addChangeListener(e,t){e instanceof HTMLInputElement?e.addEventListener("change",r=>t(r,e.value)):e instanceof OV&&(e.onBlurChange=(r,n)=>{t(r,e.value)})}onMinSliderPointerDown(e){var t,r;if(this._currentActionElement=this._minSlider,this._maxPosition={x:-1,y:-1,height:0,width:0},this._minPosition={x:-1,y:-1,height:0,width:0},this._maxSlider){const e=window.getComputedStyle(this._maxSlider);this._maxPosition={width:+e.width.replace("px",""),height:+e.height.replace("px",""),x:+e.left.replace("px",""),y:+e.top.replace("px","")},this._maxPosition.x=this._maxPosition.x<0?0:this._maxPosition.x,this._maxPosition.y=this._maxPosition.y<0?0:this._maxPosition.y}const n=this.getPointerPosition(e);this.handlePointerDown(e,n),null==(r=null==(t=CommunicationInterfaceService.FurnviewWebViewer)?void 0:t.contentWindow)||r.addEventListener("pointerup",this.globalPointerUp,{passive:!0,capture:!0}),document.addEventListener("pointerup",this.handlePointerUp,!1),document.addEventListener("pointermove",this.handlePointerMove,!1)}onMaxSliderPointerDown(e){var t,r;if(this._currentActionElement=this._maxSlider,this._maxPosition={x:-1,y:-1,height:0,width:0},this._minPosition={x:-1,y:-1,height:0,width:0},this._minSlider){const e=window.getComputedStyle(this._minSlider);this._minPosition={width:+e.width.replace("px",""),height:+e.height.replace("px",""),x:+e.left.replace("px",""),y:+e.top.replace("px","")},this._minPosition.x<0&&(this._minPosition.width=-1*this._minPosition.x,this._minPosition.x=0),this._minPosition.y<0&&(this._minPosition.height=-1*this._minPosition.y,this._minPosition.y=0)}const n=this.getPointerPosition(e);this.handlePointerDown(e,n),null==(r=null==(t=CommunicationInterfaceService.FurnviewWebViewer)?void 0:t.contentWindow)||r.addEventListener("pointerup",this.globalPointerUp,{passive:!0,capture:!0}),document.addEventListener("pointerup",this.handlePointerUp,!1),document.addEventListener("pointermove",this.handlePointerMove,!1)}onSliderLinePointerDown(e){var t,r;const n=this.getPointerPosition(e),i=this.getBoundingClientRect();let o=!0;if(this._currentActionElement=this._minSlider,this._maxPosition={x:-1,y:-1,height:0,width:0},this._minPosition={x:-1,y:-1,height:0,width:0},this._minSlider&&this._maxSlider){let e=n.x-i.x,t=Math.abs(e-this._minSlider.offsetLeft),r=Math.abs(e-this._maxSlider.offsetLeft);this._direction&&1==this._direction&&(e=n.y-i.y,t=Math.abs(e-this._minSlider.offsetTop),r=Math.abs(e-this._maxSlider.offsetTop)),r>t?(o=!0,this._currentActionElement=this._minSlider):(o=!1,this._currentActionElement=this._maxSlider)}if(o){if(this._maxSlider){const e=window.getComputedStyle(this._maxSlider);this._maxPosition={width:+e.width.replace("px",""),height:+e.height.replace("px",""),x:+e.left.replace("px",""),y:+e.top.replace("px","")},this._maxPosition.x=this._maxPosition.x<0?0:this._maxPosition.x,this._maxPosition.y=this._maxPosition.y<0?0:this._maxPosition.y}}else if(this._minSlider){const e=window.getComputedStyle(this._minSlider);this._minPosition={width:+e.width.replace("px",""),height:+e.height.replace("px",""),x:+e.left.replace("px",""),y:+e.top.replace("px","")},this._minPosition.x<0&&(this._minPosition.width=-1*this._minPosition.x,this._minPosition.x=0),this._minPosition.y<0&&(this._minPosition.height=-1*this._minPosition.y,this._minPosition.y=0)}this.handlePointerClick(e,n),null==(r=null==(t=CommunicationInterfaceService.FurnviewWebViewer)?void 0:t.contentWindow)||r.addEventListener("pointerup",this.globalPointerUp,{passive:!0,capture:!0}),document.addEventListener("pointerup",this.handlePointerUp,!1)}};xz.styles=[((e,t)=>yz(bz(e),t,e))(xz,"styles")||[],$k`${yk(gz)}`],$z([lk({type:Number,reflect:!0,attribute:"direction"})],xz.prototype,"_direction",2),$z([dk(".min-slider")],xz.prototype,"_minSlider",2),$z([dk(".max-slider")],xz.prototype,"_maxSlider",2),$z([dk(".slider")],xz.prototype,"_slider",2),$z([lk({type:Object,reflect:!0,attribute:"range"})],xz.prototype,"_range",2),$z([lk({type:Object,reflect:!0,attribute:"val"})],xz.prototype,"_value",2),$z([lk({type:Function,reflect:!0,attribute:"formatDisplayValue"})],xz.prototype,"_formatDisplayValueFunction",2),xz=$z([sk("fv-slider")],xz);
+/**
+ * @license
+ * Copyright 2020 Google LLC
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+const Sz=Symbol.for(""),wz=e=>{if((null==e?void 0:e.r)===Sz)return null==e?void 0:e._$litStatic$},Az=e=>({_$litStatic$:e,r:Sz}),Cz=new Map,Ez=(e=>(t,...r)=>{const n=r.length;let i,o;const s=[],a=[];let l,c=0,u=!1;for(;c<n;){for(l=t[c];c<n&&void 0!==(o=r[c],i=wz(o));)l+=i+t[++c],u=!0;c!==n&&a.push(o),s.push(l),c++}if(c===n&&s.push(t[n]),u){const e=s.join("$$lit$$");void 0===(t=Cz.get(e))&&(s.raw=s,Cz.set(e,t=s)),r=a}return e(t,...r)})(Zk);var Iz=$k`:host{height:auto}:host .input-field{height:auto;overflow:unset}:host fv-label{background:var(--labeled-input-label-background,#fff);font-size:var(--labeled-input-label-font-size,14px);left:var(--labeled-input-label-offset-left,5px);padding:var(--labeled-input-label-padding,0 5px);position:absolute;top:var(--labeled-input-label-offset-top,-11px)}`,Mz=Object.defineProperty,kz=Object.getOwnPropertyDescriptor,Tz=Object.getPrototypeOf,Rz=Reflect.get,Lz=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?kz(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&Mz(t,r,o),o};let Pz=class extends RV{constructor(){super(),this.inputTag="fv-input",this.moveablePlaceholder=!1}render(){return this.moveablePlaceholder?Ez`
+                <${Az(this.inputTag)}
+                    class="input-field"
+                    @change="${this.OnBlurChange}"
+                    @input=${this.OnChange}
+                    ?readonly=${this.readonly}
+                    ?moveable-placeholder=${this.moveablePlaceholder}
+                    placeholder="${this.placeholder}"
+                    .value="${this.value}">
+                </${Az(this.inputTag)}>
+            `:Ez`
+            <${Az(this.inputTag)} class="input-field" @change="${this.OnBlurChange}" @input=${this.OnChange} ?readonly=${this.readonly} .value="${this.value}">
+                <fv-label i18n="${this.textId}">${this.placeholder}</fv-label>
+            </${Az(this.inputTag)}>
+        `}getInputElement(){var e;const t=null==(e=this.shadowRoot)?void 0:e.querySelector(this.inputTag);if(t&&t instanceof RV)return t._inputElement}};Pz.styles=[((e,t)=>Rz(Tz(e),t,e))(Pz,"styles")||[],yk(Iz)],Lz([lk({type:String,reflect:!0,attribute:!0})],Pz.prototype,"inputTag",2),Lz([lk({type:String,reflect:!0,attribute:!0})],Pz.prototype,"textId",2),Lz([lk({type:Boolean,reflect:!0,attribute:"moveable-placeholder"})],Pz.prototype,"moveablePlaceholder",2),Pz=Lz([sk("fv-labeled-input")],Pz);var Dz=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{--input-outer-height:100px}:host textarea{background:var(--input-background,initial);border:none;color:var(--input-text-color,fieldtext);flex:1;font-size:var(--input-font-size,unset);outline:none;padding:var(--input-padding,4px 15px 0 15px);text-align:var(--input-text-align,initial);width:var(--input-width,unset)}`,Nz=Object.defineProperty,Fz=Object.getOwnPropertyDescriptor,Oz=Object.getPrototypeOf,Bz=Reflect.get,Uz=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?Fz(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&Nz(t,r,o),o};let Vz=class extends RV{constructor(){super()}render(){return Zk`
+            <textarea id="base-input" @change="${this.OnBlurChange}" @input=${this.OnChange} ?readonly=${this.readonly}
+                      .value="${this.value}" placeholder="${this.placeholder}"></textarea>
+            <slot></slot>
+        `}getInputElement(){return this._inputElement}};Vz.styles=[((e,t)=>Bz(Oz(e),t,e))(Vz,"styles")||[],$k`${yk(Dz)}`],Uz([dk("#base-input")],Vz.prototype,"_inputElement",2),Vz=Uz([sk("fv-text-box")],Vz);var zz=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host(.shadow-invisible-scroll){margin-right:-17px}:host(.shadow-invisible-scroll) div{overflow-x:hidden;overflow-y:scroll;padding-right:17px}:host{height:200px;overflow:hidden;width:auto}:host>:last-child{margin-bottom:0}:host div{height:100%;overflow-x:hidden;overflow-y:scroll;width:100%}:host ::slotted(*){border-bottom:2px solid #d3d3d3}:host ::slotted(:last-child){margin-bottom:0}`,Hz=Object.defineProperty,Gz=Object.getOwnPropertyDescriptor,jz=Object.getPrototypeOf,Jz=Reflect.get,Wz=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?Gz(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&Hz(t,r,o),o};let Qz=class extends FT{constructor(){super(),this.list=[],this.OnScroll=e=>{const t=e.currentTarget;this.dispatchEvent(new CustomEvent("scroll",{detail:{distanceToBottom:t.scrollHeight-this.clientHeight-t.scrollTop,clientHeight:this.clientHeight,containerHeight:t.clientHeight,scrollHeight:t.scrollHeight,scrollTop:t.scrollTop}}))}}render(){return Zk`
+            <div @scroll=${this.OnScroll}>
+    ${this.list.map((e,t)=>Zk`
+            ${e}
+        `)}
+            <slot></slot>
+            </div>
+        `}};Qz.styles=[((e,t)=>Jz(jz(e),t,e))(Qz,"styles")||[],$k`${yk(zz)}`],Wz([lk()],Qz.prototype,"list",2),Wz([lk()],Qz.prototype,"OnScroll",2),Qz=Wz([sk("fv-list-box")],Qz);var qz=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{align-items:var(--icon-align-items,initial);background-color:var(--icon-background-color,unset);display:var(--icon-display,inherit);flex-direction:var(--icon-flex-direction,initial);justify-content:var(--icon-justify-content,initial)}:host .icon{font-size:var(--icon-font-size,1em);height:var(--icon-height,unset);width:var(--icon-width,unset)}:host .icon.img{background-position:var(--icon-background-position,center);background-repeat:var(--icon-background-repeat,no-repeat);background-size:var(--icon-background-size,contain);border-radius:var(--icon-img-border-radius,unset)}:host [class*=fv-icon]:before{font-size:var(--icon-font-size,1em)!important}`,Yz=Object.defineProperty,Xz=Object.getOwnPropertyDescriptor,Kz=Object.getPrototypeOf,Zz=Reflect.get,eH=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?Xz(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&Yz(t,r,o),o};let tH=class extends FT{constructor(){super(),this.icon="",this.src=""}get srcUTF8(){return this.src&&this.src.length>0?this.src.replace(/&#([0-9]+);/g,function(e){return String.fromCodePoint(parseInt(e.slice(2,-1)))}):this.src}render(){return this.icon.length>0?Zk`
+                <fv-label class="icon ${this.icon}"></fv-label>
+            `:Zk`
+            <div class="icon img" style="background-image: url('${this.srcUTF8}');"></div>
+        `}};tH.styles=[((e,t)=>Zz(Kz(e),t,e))(tH,"styles")||[],$k`${yk(qz)}`],eH([lk({type:String,reflect:!0,attribute:"icon"})],tH.prototype,"icon",2),eH([lk({type:String,reflect:!0,attribute:"src"})],tH.prototype,"src",2),tH=eH([sk("fv-icon")],tH);var rH=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{display:flex;height:64px;width:100%}:host fv-label.title{color:grey}`,nH=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}`,iH=Object.defineProperty,oH=Object.getOwnPropertyDescriptor,sH=Object.getPrototypeOf,aH=Reflect.get,lH=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?oH(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&iH(t,r,o),o};let cH=class extends FT{constructor(){super(),this.selected="",this.name="",this.address="",this.disabled=!1,this.onClick=(e,t)=>{}}OnClick(e){e.stopPropagation(),e.preventDefault(),this.onClick(e,this)}render(){const e={disabled:this.disabled,bordered:!this.selected};return Zk`
+            <div class="container column fluid">
+                <fv-label class="title space after">${this.name}</fv-label>
+                <fv-label class="space after">${this.address}</fv-label>
+            </div>
+            <div class="container row reverse">
+                <fv-button @click=${this.OnClick} class=${KT(e)}><slot>Anfrage stellen</slot></fv-button>
+            </div>
+        `}};cH.styles=[((e,t)=>aH(sH(e),t,e))(cH,"styles")||[],$k`
+          ${yk(rH)}
+          ${yk(nH)}
+        `],lH([lk({type:Boolean,reflect:!0})],cH.prototype,"selected",2),lH([lk({type:String,reflect:!0})],cH.prototype,"name",2),lH([lk({type:String,reflect:!0})],cH.prototype,"address",2),lH([lk({type:Boolean,reflect:!0})],cH.prototype,"disabled",2),lH([lk()],cH.prototype,"onClick",2),cH=lH([sk("fv-dealer")],cH);var uH=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host([active]){color:var(--primary-color,red)}:host([active]) span{border-color:var(--primary-color,red)}:host{color:#000;flex:1;flex-basis:auto}:host span{border-bottom:1px solid #000;cursor:pointer;padding-bottom:5px}`,dH=Object.defineProperty,hH=Object.getOwnPropertyDescriptor,pH=Object.getPrototypeOf,mH=Reflect.get,_H=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?hH(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&dH(t,r,o),o};let gH=class extends FT{constructor(){super(...arguments),this.active=!1}render(){return Zk`<span @click="${this.changeStep}"><slot></slot></span>`}changeStep(){if(this.id&&this.parentNode){const e=this.parentNode.querySelector("fv-modal-step[active]");e&&(e.active=!1),this.active=!0;const t=this.parentNode.querySelector(".active");t&&t.classList.remove("active");const r=this.parentNode.querySelector("[for="+this.id+"]");r&&r.classList.add("active")}}};gH.styles=[((e,t)=>mH(pH(e),t,e))(gH,"styles")||[],$k`${yk(uH)}`],_H([lk({type:Boolean,reflect:!0})],gH.prototype,"active",2),gH=_H([sk("fv-modal-step")],gH);var fH=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{display:none}:host .container{gap:1rem;margin:25px 0}:host .fluid.space-after{margin-right:unset}:host([active]){display:block}`,vH=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{display:none}:host([active]){display:block}`,bH=Object.defineProperty,yH=Object.getOwnPropertyDescriptor,$H=Object.getPrototypeOf,xH=Reflect.get,SH=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?yH(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&bH(t,r,o),o};let wH=class extends FT{constructor(){super(),this.active=!1,this.message="Ihre Anfrage wurde erfolgreich zum ausgewählten Händler geschickt. Dieser wird sich zeitnah mit Ihnen über die von Ihnen angegebene Kontaktmöglichkeit in Verbindung setzen.",this.title="Vielen Dank",this.buttonTitle="Zur Startseite",this.onClick=e=>{}}OnClick(e){this.onClick(e)}render(){return Zk`
+            <div class="container column">
+                <fv-label class="space after" class="header"><slot name="title">${this.title}</slot></fv-label>
+                <fv-label class="space after"><slot name="message">${this.message}</slot></fv-label>
+            </div>
+            <div class="container row reverse">
+                <fv-button @click=${this.OnClick}><slot name="button-title">${this.buttonTitle}</slot></fv-button>
+            </div>
+        `}};wH.styles=[((e,t)=>xH($H(e),t,e))(wH,"styles")||[],$k`
+            ${yk(vH)}
+            ${yk(nH)}
+        `],SH([lk({type:Boolean,reflect:!0})],wH.prototype,"active",2),SH([lk({type:String})],wH.prototype,"message",2),SH([lk({type:String})],wH.prototype,"title",2),SH([lk({type:String,attribute:"button-title"})],wH.prototype,"buttonTitle",2),SH([lk()],wH.prototype,"onClick",2),wH=SH([sk("fv-message")],wH);var AH=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{display:none;flex-direction:column;margin:0;overflow:hidden;padding:2px;width:100%}:host([active]){display:flex}`,CH=Object.defineProperty,EH=Object.getOwnPropertyDescriptor,IH=Object.getPrototypeOf,MH=Reflect.get,kH=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?EH(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&CH(t,r,o),o};let TH=class extends FT{constructor(){super(),this.active=!0}onClick(e,t){const r=this.parentNode?this.parentNode.querySelector("fv-request"):null;r&&(this.active=!1,r.name=t.name,r.address=t.address,r.active=!0)}render(){return Zk`
+            <div class="container column">
+                <fv-label class="space after">Ihre Postleitzahl</fv-label>
+                <fv-input placeholder="12345">
+                    <fv-button>Suchen</fv-button>
+                </fv-input>
+            </div>
+            <fv-list-box>
+                <fv-dealer name="Händlername 1"
+                                  address="Musterstraße 1, 12345 Musterstadt"></fv-dealer>
+                <fv-dealer name="Händlername 2"
+                                  address="Musterstraße 1, 12345 Musterstadt"></fv-dealer>
+                <fv-dealer name="Händlername 3"
+                                  address="Musterstraße 1, 12345 Musterstadt"></fv-dealer>
+                <fv-dealer name="Händlername 4"
+                                  address="Musterstraße 1, 12345 Musterstadt"></fv-dealer>
+            </fv-list-box>
+        `}firstUpdated(){if(this.shadowRoot){this.shadowRoot.querySelectorAll("fv-dealer").forEach(e=>{e.onClick=(e,t)=>this.onClick(e,t)})}}};TH.styles=[((e,t)=>MH(IH(e),t,e))(TH,"styles")||[],$k`${yk(AH)}`],kH([lk({type:Boolean,reflect:!0})],TH.prototype,"active",2),TH=kH([sk("fv-search-dealer")],TH);var RH=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{align-items:center;display:flex;width:auto}:host input{border:none;outline:none;padding:4px 15px 0}`,LH=Object.defineProperty,PH=Object.getOwnPropertyDescriptor,DH=Object.getPrototypeOf,NH=Reflect.get,FH=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?PH(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&LH(t,r,o),o};let OH=class extends FT{constructor(){super(),this.name="",this.checked=!1,this.onChange=(e,t)=>{}}OnChange(e){this.checked=e.target.checked,this.onChange(e,this),this.dispatchEvent(new Event("change",{bubbles:!1,cancelable:!0}))}render(){return Zk`
+                <input @change=${this.OnChange} type="checkbox" .checked=${this.checked}/>
+                <fv-label><slot></slot></fv-label>
+        `}};OH.styles=[((e,t)=>NH(DH(e),t,e))(OH,"styles")||[],$k`${yk(RH)}`],FH([lk({reflect:!0,type:String})],OH.prototype,"name",2),FH([lk({reflect:!0,type:Boolean})],OH.prototype,"checked",2),FH([lk()],OH.prototype,"onChange",2),OH=FH([sk("fv-checkbox")],OH);var BH=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});const UH=new class{constructor(){this.cloudIdRegex=/^(?:\s*[a-z0-9]\s*){8}$/i,this._pending=!1,this._cloudIdPromise=new Promise((e,t)=>e(""))}getCloudId(){return BH(this,null,function*(){return this._cloudIdPromise})}createCloudId(){return BH(this,null,function*(){return this._pending||(this._pending=!0,this._cloudIdPromise=CommunicationMessageService.createCloudID(),this._cloudIdPromise.then(e=>this._pending=!1)),yield this._cloudIdPromise})}isCloudIdValid(e){return this.cloudIdRegex.test(e)}};var VH=Object.defineProperty,zH=Object.getOwnPropertyDescriptor,HH=Object.getPrototypeOf,GH=Reflect.get,jH=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?zH(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&VH(t,r,o),o},JH=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});let WH=class extends FT{constructor(){super(),this.active=!1,this.name="",this.address="",this.privacyLink="#",this.templateName="request-mail",this.sendCopy=!1,this.onSubmit=(e,t)=>JH(this,null,function*(){const e=t.email||void 0;if(!e)return;const r=yield UH.getCloudId();t.cloudId=r,yield RequestHelperService.fetchConfiguration();const n=window.ConstructionService&&window.ConstructionService.CustomMailService?window.ConstructionService.CustomMailService:void 0;window.dispatchEvent(new CustomEvent("onSendMail",{detail:{name:this.templateName,values:Object.entries(t).map(e=>({key:e[0],value:e[1]})),cloudIds:[r],customMailService:n||void 0,to:this.sendCopy?e:"",buyingGroup:window.g_configuration.furnplan_article_url_configurator_verband}}))})}onMessageClickDefault(){const e=this.renderRoot.querySelector("fv-dealer"),t=this.parentNode?this.parentNode.querySelector("fv-search-dealer"):null,r=this.parentNode?this.parentNode.querySelector("fv-message"):null,n=this.parentNode?this.parentNode.querySelectorAll("div"):null;this.renderRoot.querySelector("fv-button"),r&&(n&&n.forEach(e=>{e.classList.remove("hidden")}),this.reset(),r.active=!1,e&&t?t.active=!0:this.active=!0)}render(){const e=this.name&&this.address;return Zk`
+            <div class="container row">
+                <div class="fluid">
+                    <fv-labeled-input name="surname" i18n-placeholder="20322" placeholder="Vorname">
+                    </fv-labeled-input>
+                </div>
+                <div class="fluid space-after">
+                    <fv-labeled-input name="name" i18n-placeholder="20323" placeholder="Nachname">
+                    </fv-labeled-input>
+                </div>
+            </div>
+            <div class="container row">
+                <div class="fluid">
+                    <fv-labeled-input name="phone" i18n-placeholder="20381" placeholder="Telefon">
+                    </fv-labeled-input>
+                </div>
+                <div class="fluid space-after">
+                    <fv-labeled-input name="email" i18n-placeholder="email_mandatory" placeholder="E-Mail*" required>
+                    </fv-labeled-input>
+                </div>
+            </div>
+            ${e?Zk``:Zk`<div class="container row">
+                        <div class="fluid space-after">
+                            <fv-labeled-input name="postcode" i18n-placeholder="postal_code_mandatory" placeholder="Postleitzahl*" required></fv-labeled-input>
+                        </div>
+                        <div class="fluid"></div>
+                    </div>`}
+            <div class="container column">
+                <fv-labeled-input inputTag="fv-text-box" name="message" i18n-placeholder="your_message" placeholder="Ihre Nachricht"></fv-labeled-input>
+            </div>
+
+            <div class="container column">
+                <fv-checkbox>
+                    <span><span i18n="i_have_read">Ich habe die</span> <a target="_blank" i18n="privacy_policy" .href="${this.privacyLink}"> Datenschutzerklärung</a> <span i18n="and_agree_with_this"> gelesen und stimme dieser zu.</span></span>
+                </fv-checkbox>
+            </div>
+
+            <div>
+            ${e?Zk`<fv-dealer name="${this.name}" address="${this.address}" i18n="send_inquiry" disabled>Anfrage absenden</fv-dealer>`:Zk`<fv-button i18n="send_inquiry" disabled>Anfrage absenden</fv-button>`}
+            </div>
+        `}firstUpdated(){if(this.shadowRoot){const e=this.shadowRoot.querySelector("fv-dealer"),t=this.shadowRoot.querySelector("fv-button"),r=this.shadowRoot.querySelectorAll("fv-labeled-input"),n=this.shadowRoot.querySelectorAll("fv-labeled-input[required]"),i=this.shadowRoot.querySelector("fv-labeled-input[name='message']"),o=this.shadowRoot.querySelector("fv-checkbox"),s=()=>{if(e?e.disabled=!0:t&&(t.disabled=!0),o.checked)for(let r=0;r<n.length;r++){if(0===n[r].value.trim().length)break;r+1===n.length&&(e?e.disabled=!1:t&&(t.disabled=!1))}};o.onChange=(e,t)=>{s()},n.forEach(e=>{e.onChange=(e,t)=>{s()}});const a=e=>JH(this,null,function*(){if(o&&o.checked){this.active=!1;const t=this.parentNode?this.parentNode.querySelector("fv-message"):null,n={};if(r.forEach(e=>{e.name&&(n[e.name]=e.value)}),i.name&&(n[i.name]=i.value),yield this.onSubmit(e,n),t){const e=this.parentNode?this.parentNode.querySelectorAll("div"):null;e&&e.forEach(e=>{e.classList.add("hidden")}),t.active=!0,t.onClick=e=>{const t=this.onmessageclick||this.onMessageClick;this.onMessageClickDefault(),t&&t.call(this,e),this.dispatchEvent(new CustomEvent("messageclick"))}}}});e?e.onClick=a:t&&t.addEventListener("click",a)}}reset(){if(this.shadowRoot){const e=this.shadowRoot.querySelector("fv-dealer"),t=this.shadowRoot.querySelector("fv-button"),r=this.shadowRoot.querySelectorAll("fv-labeled-input");this.shadowRoot.querySelector("fv-checkbox").checked=!1,r.forEach(e=>{e.value=""}),t&&(t.disabled=!0),e&&(e.disabled=!0)}}};WH.styles=[((e,t)=>GH(HH(e),t,e))(WH,"styles")||[],$k`
+            ${yk(fH)}
+        `],jH([lk({type:Boolean,reflect:!0})],WH.prototype,"active",2),jH([lk({type:String})],WH.prototype,"name",2),jH([lk({type:String})],WH.prototype,"address",2),jH([lk({type:String,reflect:!0})],WH.prototype,"privacyLink",2),jH([lk({type:String,reflect:!0})],WH.prototype,"templateName",2),jH([lk({type:Boolean,reflect:!0})],WH.prototype,"sendCopy",2),jH([lk()],WH.prototype,"onSubmit",2),WH=jH([sk("fv-request")],WH);var QH=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{background-color:grey;bottom:0;display:flex;filter:blur(4px) grayscale(.5) brightness(.5);left:0;opacity:.5;position:absolute;right:0;top:0;z-index:10}@supports (-webkit-backdrop-filter:blur(5px)) or (backdrop-filter:blur(5px)){:host{-webkit-backdrop-filter:blur(7px) brightness(.5) grayscale(1);backdrop-filter:blur(7px) brightness(.5) grayscale(1);background-color:initial;filter:none;opacity:1}}`,qH=Object.defineProperty,YH=Object.getOwnPropertyDescriptor,XH=Object.getPrototypeOf,KH=Reflect.get;let ZH=class extends FT{constructor(){super()}render(){return Zk`
+            <slot></slot>
+        `}};ZH.styles=[((e,t)=>KH(XH(e),t,e))(ZH,"styles")||[],$k`${yk(QH)}`],ZH=((e,t,r,n)=>{for(var i,o=n>1?void 0:n?YH(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&qH(t,r,o),o})([sk("fv-dimmer")],ZH);var eG=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}@keyframes loading-animation{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}:host(:not([dimmed]))>div div{border-color:var(--loader-color,#000) transparent transparent transparent}:host([suppress-dimmer])>div div{border-color:var(--loader-color,#000) transparent transparent transparent}:host([active]){display:flex}:host{bottom:0;display:none;left:0;position:absolute;right:0;top:0;z-index:1}:host>div{display:inline-block;height:40px;margin:auto;position:relative;width:40px;z-index:1}:host>div div{animation:loading-animation 1.2s cubic-bezier(.5,0,.5,1) infinite;border:3px solid transparent;border-radius:50%;border-top-color:#fff;box-sizing:border-box;display:block;height:32px;margin:4px;position:absolute;width:32px}:host>div div:first-child{animation-delay:-.45s}:host>div div:nth-child(2){animation-delay:-.3s}:host>div div:nth-child(3){animation-delay:-.15s}:host fv-dimmer{z-index:0}`,tG=Object.defineProperty,rG=Object.getOwnPropertyDescriptor,nG=Object.getPrototypeOf,iG=Reflect.get,oG=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?rG(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&tG(t,r,o),o};let sG=class extends FT{constructor(){super(),this.dimmed=!0,this.active=!1}show(){this.active=!0}hide(){this.active=!1}render(){return Zk`
+            <div>
+                <div></div>
+                <div></div>
+                <div></div>
+                <div></div>
+            </div>
+            ${this.dimmed?Zk`<fv-dimmer></fv-dimmer>`:""}
+        `}};sG.styles=[((e,t)=>iG(nG(e),t,e))(sG,"styles")||[],$k`${yk(eG)}`],oG([lk({type:Boolean,reflect:!0})],sG.prototype,"dimmed",2),oG([lk({type:Boolean,reflect:!0})],sG.prototype,"active",2),sG=oG([sk("fv-loading")],sG);var aG=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}@keyframes fadeIn{0%{opacity:0;visibility:hidden}to{opacity:1;visibility:visible}}@keyframes fadeOut{0%{opacity:1;visibility:visible}to{visibility:hidden}}@media (width >= 980px){:host .content-container>.content>.content{margin:auto auto auto 116px;padding:0 30px 25px}:host .content-container>.content>.content .head-text{font-size:48px}:host .content-container>.content>.content .main-text{font-size:48px}:host .content-container>.content>.footer{font-size:1.3rem}}@media (width <= 980px){:host .content-container>.content>.content{margin:auto auto auto 58px;padding:0 30px 25px}:host .content-container>.content>.content .head-text{font-size:1.5rem}:host .content-container>.content>.content .main-text{font-size:1.5rem}:host .content-container>.content>.footer{font-size:1rem}}:host{height:100%;width:100%;z-index:999}:host .content-container.bg-image:before{background-color:var(--modal-background-color,#fff)}:host .content-container>.content{display:grid;gap:50px;grid-template-areas:"content" "footer";grid-template-columns:1fr;grid-template-rows:1fr 100px;height:100%;padding:initial!important;width:100%}:host .content-container>.content>.content{align-items:center;color:#fff;display:grid;grid-area:content;grid-template-columns:1fr;grid-template-rows:115px 1fr}:host .content-container>.content>.content .head-text{font-weight:var(--global-font-weight-bold,600)}:host .content-container>.content>.content .head-text.fade-in{animation:modalFadeIn .25s ease-in forwards}:host .content-container>.content>.content .head-text.fade-out{animation:modalFadeOut .25s ease-out forwards}:host .content-container>.content>.content .head-text:empty{display:none}:host .content-container>.content>.content .main-text{font-weight:var(--global-font-weight,400)}:host .content-container>.content>.content .main-text.fade-in{animation:modalFadeIn .25s ease-in forwards}:host .content-container>.content>.content .main-text.fade-out{animation:modalFadeOut .25s ease-out forwards}:host .content-container>.content>.content .main-text:empty{display:none}:host .content-container>.content>.footer{color:#fff;display:grid;grid-area:footer;grid-template-columns:1fr;grid-template-rows:repeat(auto-fill,1fr);height:100%;justify-content:center;justify-items:center;text-align:center;width:100%}:host(.hide-loading-content) .content-container>.content>.content{display:none}`,lG=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}@media (width >= 980px){.center-container>.content-container>.modal-header .manufacturer-logo-container .manufacturer-logo{left:50px;position:absolute;top:50px;width:200px}}@media (width <= 980px){.center-container>.content-container>.modal-header .manufacturer-logo-container{margin:15px auto 15px 15px}.center-container>.content-container>.modal-header .manufacturer-logo-container .manufacturer-logo{width:130px}}@keyframes modalFadeIn{0%{opacity:0;visibility:hidden}to{opacity:1;visibility:visible}}@keyframes modalFadeOut{0%{opacity:1;visibility:visible}to{opacity:0;visibility:hidden}}:host([active]:not(.fade-in):not(.fade-out)){opacity:1;visibility:visible}:host(:not(.fade-in):not(.fade-out)){opacity:0;visibility:hidden}:host(.fade-in){animation:modalFadeIn 1s ease-in forwards}:host(.fade-out){animation:modalFadeOut 1s ease-out forwards}:host[fullScreen]{background-color:var(--modal-background-color,#fff)}:host{display:flex;height:100%;margin:var(--modal-margin,unset);opacity:0;padding:var(--modal-padding,unset);position:absolute;width:100%;z-index:99}:host .background-filter{background:#000;height:100%;opacity:.6;position:absolute;width:100%;z-index:-1}:host fv-dimmer{z-index:1}fv-modal-container{display:flex;height:100%;position:absolute;width:100%;z-index:99}fv-modal-container.hidden{display:none}.center-container{display:flex;height:100%;width:100%}.center-container>.content-container.bg-image:before{background-color:var(--modal-background-color,#fff);background-image:var(--image-background);background-size:cover;content:"";filter:brightness(.4);height:100%;left:0;position:absolute;top:0;width:100%}.center-container>.content-container{background:var(--modal-background,#fff);box-shadow:var(--modal-box-shadow,0 0 7px 2px #464646);display:grid;grid-template-areas:"header" "content";grid-template-rows:minmax(0,min-content) 1fr;margin:auto;min-height:var(--modal-content-min-height,100px);min-width:var(--modal-content-min-width,200px);overflow:var(--modal-content-overflow,hidden);position:relative;z-index:1}.center-container>.content-container>.modal-header{position:var(--modal-header-position,unset);z-index:99999}.center-container>.content-container>.modal-header>.cancel-button{bottom:var(--modal-header-cancel-button-bottom,unset);left:var(--modal-header-cancel-button-left,unset);position:var(--modal-header-cancel-button-position,unset);right:var(--modal-header-cancel-button-right,unset);top:var(--modal-header-cancel-button-top,unset)}.center-container>.content-container.fullScreen{height:100%;width:100%}.center-container>.content-container.fullScreen>.modal-header>.cancel-button{margin:15px 25px 15px auto}.center-container>.content-container>.content{grid-area:content;margin:var(--modal-content-margin,unset);overflow:var(--modal-content-overflow,hidden);position:relative}.center-container>.content-container>.modal-header{display:flex;grid-area:header}.center-container>.content-container>.modal-header .manufacturer-logo-container{height:36px;position:relative}.center-container>.content-container>.modal-header>.cancel-button{background-color:var(--modal-cancel-button-background-color,transparent);cursor:pointer;display:flex;height:var(--modal-cancel-button-height,48px);margin:5px 5px 5px auto;width:var(--modal-cancel-button-width,48px)}.center-container>.content-container>.modal-header>.cancel-button:hover{background-color:var(--modal-cancel-button-background-color-hover,hsla(0,0%,94%,.1))}.center-container>.content-container>.modal-header span{font-size:20px;font-weight:var(--global-font-weight-bold,600);margin:auto}:host(.custom-position){bottom:var(--modal-custom-pos-bottom,unset);height:fit-content;left:var(--modal-custom-pos-left,unset);right:var(--modal-custom-pos-right,unset);top:var(--modal-custom-pos-top,unset);width:fit-content}:host(.custom-dimensions){height:var(--modal-custom-height,unset);width:var(--modal-custom-width,unset)}:host(.custom-dimensions) .center-container .content-container{height:100%;width:var(--modal-content-container-width,100%)}:host(.custom-z){z-index:var(--select-article-z-index, )}:host(.speech-bubble){background:var(--modal-speech-bubble-background,transparent);clip-path:polygon(var(--modal-speech-bubble-path,0 0,calc(100% - var(--modal-speech-bubble-default-path-arrow-size, 23px)) 0,100% var(--modal-speech-bubble-default-path-arrow-size,23px),calc(100% - var(--modal-speech-bubble-default-path-arrow-size, 23px)) 46px,calc(100% - var(--modal-speech-bubble-default-path-arrow-size, 23px)) 100%,0 100%))}:host(.speech-bubble) .center-container{padding:var(--modal-speech-bubble-padding,0 0 2em 0)}@media (width <= 520px){:host{margin:var(--modal-margin-mobile,unset);padding:var(--modal-padding-mobile,var(--modal-padding,unset))}:host .center-container .content-container .modal-header .cancel-button{position:var(--modal-mobile-header-cancel-button-position,var(--modal-header-cancel-button-position,unset))}:host(.custom-position){bottom:var(--modal-mobile-custom-pos-bottom,var(--modal-custom-pos-bottom,unset));left:var(--modal-mobile-custom-pos-left,var(--modal-custom-pos-left,unset));right:var(--modal-mobile-custom-pos-right,var(--modal-custom-pos-right,unset));top:var(--modal-mobile-custom-pos-top,var(--modal-custom-pos-top,unset))}:host(.custom-dimensions){height:var(--modal-mobile-custom-height,var(--modal-custom-height,unset));width:var(--modal-mobile-custom-width,var(--modal-custom-width,unset))}}@media (width >= 520px) and (width <= 980px){:host{margin:var(--modal-margin-mobile,unset);padding:var(--modal-padding-mobile,var(--modal-padding,unset))}:host .center-container .content-container .modal-header .cancel-button{position:var(--modal-mobile-header-cancel-button-position,var(--modal-header-cancel-button-position,unset))}:host(.custom-position){bottom:var(--modal-mobile-custom-pos-bottom,var(--modal-custom-pos-bottom,unset));left:var(--modal-mobile-custom-pos-left,var(--modal-custom-pos-left,unset));right:var(--modal-mobile-custom-pos-right,var(--modal-custom-pos-right,unset));top:var(--modal-mobile-custom-pos-top,var(--modal-custom-pos-top,unset))}:host(.custom-dimensions){height:var(--modal-mobile-custom-height,var(--modal-custom-height,unset));width:var(--modal-mobile-custom-width,var(--modal-custom-width,unset))}}`;class cG extends CustomEvent{constructor(e){super("triggereventhandlereventevent",{detail:e,bubbles:!0})}}const uG=new class{constructor(){}addAnimation(e,t,r,n,i,o){const s=r.map(e=>Object.assign(e,{easing:"ease-in",composite:"replace"})),a=new KeyframeEffect(t,s,{duration:1e3,fill:"forwards"}),l=new Animation(a,document.timeline);return l.id=e,l.onfinish=n||null,l.oncancel=i||null,l.onremove=o||null,l}};var dG=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{background-color:var(--steps-background-color,transparent);display:flex;flex:var(--steps-flex,initial);height:var(--steps-height,100%);order:var(--steps-desktop-order,initial);overflow:hidden;position:relative;width:var(--steps-width,100%)}:host .steps{display:inline-block;height:100%;width:100%}:host .steps slot{align-items:stretch;display:flex;flex-direction:row;flex-wrap:nowrap;height:100%;justify-content:var(--steps-justify-content,flex-start);width:100%}:host .previous-button{display:none}:host .next-button{display:none}:host .custom-previous-button{display:none}:host .custom-next-button{display:none}:host(.evenly-spaced){--step-width:auto;--step-margin:auto}:host(.docked){--icon-step-img-justify-content:center;overflow:initial}:host(.show-previous-button) .previous-button{display:block}:host(.show-next-button) .next-button{display:block}:host(.overflowing){overflow-x:auto}:host(.hide-scrollbar){scrollbar-width:none;-ms-scrollbar-width:none}:host(.hide-scrollbar)::-webkit-scrollbar{display:none}@media (width <= 520px){:host(.mobile-show-next-previous-buttons) .previous-button{display:block}:host(.mobile-show-next-previous-buttons) .next-button{display:block}:host(.mobile-show-custom-previous-button) .custom-previous-button{display:block}:host(.mobile-show-custom-next-button) .custom-next-button{display:block}:host{order:var(--steps-mobile-order,initial);padding:var(--steps-mobile-padding,0 0 10px 0)}}@media (width >= 520px) and (width <= 980px){:host(.mobile-show-next-previous-buttons) .previous-button{display:block}:host(.mobile-show-next-previous-buttons) .next-button{display:block}:host(.mobile-show-custom-previous-button) .custom-previous-button{display:block}:host(.mobile-show-custom-next-button) .custom-next-button{display:block}:host{order:var(--steps-mobile-order,initial);padding:var(--steps-mobile-padding,0 0 10px 0)}}`,hG=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{-webkit-tap-highlight-color:rgba(255,255,255,0);border-bottom:var(--step-border-bottom,none);border-left:var(--step-border-left,none);border-right:var(--step-border-right,none);border-top:var(--step-border-top,none);color:var(--step-text-color,var(--primary-text-color,#000));cursor:pointer;display:inline-block;float:left;font-style:var(--step-font-style,unset);font-variant:var(--step-font-variant,unset);height:100%;margin:var(--step-margin,unset);max-width:var(--step-max-width,none);min-width:var(--step-min-width,none);user-select:none;width:var(--step-width,100%)}:host .step-container{align-items:var(--step-container-align-items,unset);background-color:var(--step-background-color,transparent);display:var(--step-container-display,block);height:var(--container-height,inherit);justify-content:var(--step-container-justify-content,unset);width:var(--step-container-width,100%)}:host .step-container .inner-container{align-items:center;border-bottom:var(--step-span-inner-container-border-bottom,unset);display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--step-text-icon-gap,initial);height:var(--inner-container-height,inherit);justify-content:center;position:relative;white-space:nowrap}:host .step-container .inner-container .text .text-span{border-bottom:var(--step-span-border-bottom,unset)}:host .step-container .inner-container .text .mobile-text-span{display:none}:host .step-container .inner-container .img div:not(.icon-image):not(.icon){margin-right:10px}:host .step-container .inner-container .img .icon-image{background-position:var(--step-image-background-position,none);background-repeat:var(--step-image-background-repeat,none);background-size:var(--step-image-background-size,none);filter:var(--step-image-filter,none);height:var(--step-image-height,none);width:var(--step-image-width,none)}:host(.custom) .inner-container{display:none!important}:host(.active.underline) .step-container .inner-container .text .text-span{font-weight:var(--step-active-font-weight,var(--global-font-weight-bold,600))!important;text-decoration:underline}:host(.hide-desktop-text) .step-container .inner-container .text .text-span{display:none}:host(.active:not(.underline)){border-bottom:var(--step-active-border-bottom,none);border-left:var(--step-active-border-left,none);border-right:var(--step-active-border-right,none);border-top:var(--step-active-border-top,none);color:var(--step-active-text-color,var(--primary-color,red))}:host(.active:not(.underline)) .step-container{background-color:var(--step-active-background-color,transparent);height:var(--active-container-height,var(--container-height,inherit));width:var(--active-step-container-width,var(--step-container-width,unset))}:host(.active:not(.underline)) .step-container .inner-container{border-bottom:var(--step-span-active-border-bottom,unset);height:var(--active-inner-container-height,var(--inner-container-height,inherit))}:host(.active:not(.underline)) .step-container .inner-container .img .icon-image{filter:var(--step-active-image-filter,var(--step-image-filter,none))}:host(.notched:not(.underline)){position:relative}:host(.notched:not(.underline)) .step-container{clip-path:polygon(0 0,calc(100% - var(--step-notch-width, 15px)) 0,calc(100% - var(--step-notch-width, 15px)) var(--step-notch-distance-top,30%),100% var(--step-notch-tip-distance-top,50%),calc(100% - var(--step-notch-width, 15px)) calc(100% - var(--step-notch-distance-bottom, 30%)),calc(100% - var(--step-notch-width, 15px)) 100%,0 100%,0 calc(100% - var(--step-notch-distance-bottom, 30%) + 1px),calc(var(--step-notch-width, 15px) + 1px) var(--step-notch-tip-distance-top,50%),0 calc(var(--step-notch-distance-top, 30%) - 1px));width:calc(100% + var(--step-notch-width, 15px) - var(--step-gap, 1px))}:host(.notched:not(.underline)) .step-container .inner-container{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;height:var(--step-notched-container-height,100%);justify-content:center;white-space:nowrap}:host(.notched:not(.underline)) .step-container .inner-container .text{padding-left:calc(var(--step-notch-width, 15px) + var(--step-notch-text-space-left-right, 0px));padding-right:calc(var(--step-notch-width, 15px) + var(--step-notch-text-space-left-right, 0px))}:host(.first.notched) .step-container{clip-path:polygon(0 0,calc(100% - var(--step-notch-width, 15px)) 0,calc(100% - var(--step-notch-width, 15px)) var(--step-notch-distance-top,30%),100% var(--step-notch-tip-distance-top,50%),calc(100% - var(--step-notch-width, 15px)) calc(100% - var(--step-notch-distance-bottom, 30%)),calc(100% - var(--step-notch-width, 15px)) 100%,0 100%)}:host(.first.notched) .step-container .inner-container .text{padding-left:0}:host(.last:not(.notched)){padding:var(--step-last-padding,0 15px 0 0)}:host(.last.notched) .step-container{clip-path:polygon(0 0,100% 0,100% 100%,0 100%,0 calc(100% - var(--step-notch-distance-bottom, 30%) + 1px),calc(var(--step-notch-width, 15px) + 1px) var(--step-notch-tip-distance-top,50%),0 calc(var(--step-notch-distance-top, 30%) - 1px));width:100%}:host(.last.notched) .step-container .inner-container{width:100%}:host(.last.notched) .step-container .inner-container .text{padding-right:0}:host([disabled]){opacity:.5;pointer-events:all!important}:host([disabled]) .step-container{background:transparent!important}:host(.hide-while-empty-content){display:none}@media (width <= 520px){:host(.active) .step-container{background-color:var(--step-active-background-color,transparent);height:inherit;width:100%}:host(.active) .step-container .inner-container .mobile-text-span{border-bottom:var(--step-span-active-border-bottom-mobile,var(--step-span-active-border-bottom,unset))}:host{max-width:var(--step-max-width-mobile,var(--step-max-width,none));min-width:var(--step-min-width-mobile,var(--step-min-width,none))}:host(.mobile-hide-notch.notched){padding-left:var(--step-gap,1px);padding-right:var(--step-gap,1px)}:host(.mobile-hide-notch.notched) .step-container{width:100%!important}:host(.mobile-hide-notch.notched.first){padding-left:0}:host(.mobile-hide-notch.notched.last){padding-right:0}:host(.show-mobile-text) .step-container .inner-container .text .text-span{display:none}:host(.show-mobile-text) .step-container .inner-container .text .mobile-text-span{border-bottom:var(--step-span-border-bottom-mobile,var(--step-span-border-bottom,unset));display:block}:host(.hide-desktop-text) .step-container .inner-container .text .text-span{display:block}:host(.mobile-hide-step-slot) .step-container .inner-container .step-content{display:none}:host(.mobile-hide-inactive){display:none!important}:host(.mobile-hide-inactive.active){display:inline-block!important}:host(.mobile-hide-inactive.active.notched){position:relative}:host(.mobile-hide-inactive.active.notched) .step-container{clip-path:polygon(0 0,100% 0,100% 100%,0 100%)!important;width:100%}:host(.mobile-hide-inactive.active.notched) .step-container .inner-container .text{padding-left:0;padding-right:0}}@media (width >= 520px) and (width <= 980px){:host(.active) .step-container{background-color:var(--step-active-background-color,transparent);height:inherit;width:100%}:host(.active) .step-container .inner-container .mobile-text-span{border-bottom:var(--step-span-active-border-bottom-mobile,var(--step-span-active-border-bottom,unset))}:host{max-width:var(--step-max-width-mobile,var(--step-max-width,none));min-width:var(--step-min-width-mobile,var(--step-min-width,none))}:host(.mobile-hide-notch.notched){padding-left:var(--step-gap,1px);padding-right:var(--step-gap,1px)}:host(.mobile-hide-notch.notched) .step-container{width:100%!important}:host(.mobile-hide-notch.notched.first){padding-left:0}:host(.mobile-hide-notch.notched.last){padding-right:0}:host(.show-mobile-text) .step-container .inner-container .text .text-span{display:none}:host(.show-mobile-text) .step-container .inner-container .text .mobile-text-span{border-bottom:var(--step-span-border-bottom-mobile,var(--step-span-border-bottom,unset));display:block}:host(.hide-desktop-text) .step-container .inner-container .text .text-span{display:block}:host(.mobile-hide-step-slot) .step-container .inner-container .step-content{display:none}:host(.mobile-hide-inactive){display:none!important}:host(.mobile-hide-inactive.active){display:inline-block!important}:host(.mobile-hide-inactive.active.notched){position:relative}:host(.mobile-hide-inactive.active.notched) .step-container{clip-path:polygon(0 0,100% 0,100% 100%,0 100%)!important;width:100%}:host(.mobile-hide-inactive.active.notched) .step-container .inner-container .text{padding-left:0;padding-right:0}}`,pG=Object.defineProperty,mG=Object.getOwnPropertyDescriptor,_G=Object.getPrototypeOf,gG=Reflect.get,fG=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?mG(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&pG(t,r,o),o};let vG=class extends FT{constructor(){super(),this.text="",this.mobileText="",this.icon="",this.index=-1,this._showIndex=!1,this._disabled=!1,this.addEventListener("click",()=>{const e=this.parentElement;if(!this.classList.contains("only-action")){const t=new CustomEvent("fv-step-clicked",{detail:{id:this.id,index:this.index.toString(),currentTarget:this},bubbles:!0,composed:!0});null==e||e.dispatchEvent(t),this.classList.add("active")}})}updateIndex(){const e=this.parentElement;if(this._showIndex){let t=this.index,r=0;const n=Array.from(e.querySelectorAll("fv-step"));for(const e of n)if(e.classList.contains("hide-while-empty-content"))r++;else if(t===e.index){t-=r;break}this._circleNumberSymbol&&(this._circleNumberSymbol.textContent=(t+1).toString())}}checkStepTargetElementVisibility(e){let t=0,r=0;const n=this.parentElement;if(n&&n instanceof XG&&this.index>-1){const i=new Array;e?i.push(e):i.push(...n.getTargetContentsList(this.index)),n.hideEmptyContent&&this.classList.remove("hide-while-empty-content"),n.autoDisableSteps&&(this._disabled=!1);for(const e of i)e&&(n.hideEmptyContent&&e.isEmpty()&&++t,n.autoDisableSteps&&e.classList.contains("step-disabled")&&++r);n.hideEmptyContent&&t==i.length&&this.classList.add("hide-while-empty-content"),n.autoDisableSteps&&0!=i.length&&r==i.length&&(this._disabled=!0),this.updateIndex(),n.dispatchEvent(new CustomEvent("fv-steps-request-step-activated-events",{detail:{"requesting-step-index":this.index}}))}}firstUpdated(e){super.firstUpdated(e),window.addEventListener("onUpdated",e=>{this.checkStepTargetElementVisibility()})}buildIcon(){if(this._showIndex)return Zk`<div class="circle-number-symbol">${this.index+1}</div>`;const e=this.style.getPropertyValue("--icon-image");return e?Zk`<img class="icon-image" src="${e}" part="image"/>`:Zk`<div class="icon ${this.icon}"></div>`}buildText(){return Zk`
+            <span class="text-span" i18n="${this.text}">${this.text}</span>
+            <span class="mobile-text-span" i18n="${this.mobileText}">${this.mobileText}</span>
+        `}build(e){this.classList.remove("show-mobile-text"),this.checkStepTargetElementVisibility(),this.mobileText.length>0&&this.classList.add("show-mobile-text");const t=this.classList.contains("text-above-image");return Zk`
+            <div class="step-container">
+                ${this.classList.contains("prevent-default")?Zk``:Zk`
+                    <div class="inner-container">
+                        <div part="${t?"text":"img"}" class="upper-container ${t?"text":"img"}">
+                            ${t?this.buildText():this.buildIcon()}
+                        </div>
+                        <div part="${t?"img":"text"}" class="lower-container ${t?"img":"text"}">
+                            ${t?this.buildIcon():this.buildText()}
+                        </div>
+                        <slot name=step-content class="step-content"></slot>
+                    </div>
+                `}
+                ${e}
+            </div>
+        `}render(){return this.build(Zk`<slot></slot>`)}};vG.styles=[((e,t)=>gG(_G(e),t,e))(vG,"styles")||[],$k`${yk(hG)}`],fG([dk(".circle-number-symbol")],vG.prototype,"_circleNumberSymbol",2),fG([lk({type:String,reflect:!0})],vG.prototype,"text",2),fG([lk({type:String,reflect:!0,attribute:"mobile-text"})],vG.prototype,"mobileText",2),fG([lk({type:String,reflect:!0})],vG.prototype,"icon",2),fG([lk({type:Number,reflect:!0,attribute:"index"})],vG.prototype,"index",2),fG([lk({type:Boolean,reflect:!0,attribute:"show-index"})],vG.prototype,"_showIndex",2),fG([lk({type:Boolean,reflect:!0,attribute:"disabled"})],vG.prototype,"_disabled",2),vG=fG([sk("fv-step")],vG);var bG=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{-webkit-tap-highlight-color:rgba(255,255,255,0);border-bottom:var(--step-border-bottom,none);border-left:var(--step-border-left,none);border-right:var(--step-border-right,none);border-top:var(--step-border-top,none);color:var(--step-text-color,var(--primary-text-color,#000));cursor:pointer;display:inline-block;float:left;font-style:var(--step-font-style,unset);font-variant:var(--step-font-variant,unset);margin:var(--step-margin,unset);max-width:var(--step-max-width,none);min-width:var(--step-min-width,none);user-select:none;width:var(--step-width,100%)}:host .step-container{align-items:var(--step-container-align-items,unset);background-color:var(--step-background-color,transparent);display:var(--step-container-display,block);height:var(--container-height,inherit);justify-content:var(--step-container-justify-content,unset);width:var(--step-container-width,100%)}:host .step-container .inner-container{align-items:center;border-bottom:var(--step-span-inner-container-border-bottom,unset);display:flex;flex-direction:row;flex-wrap:nowrap;gap:var(--step-text-icon-gap,initial);height:var(--inner-container-height,inherit);justify-content:center;position:relative;white-space:nowrap}:host .step-container .inner-container .text .text-span{border-bottom:var(--step-span-border-bottom,unset)}:host .step-container .inner-container .text .mobile-text-span{display:none}:host .step-container .inner-container .img div:not(.icon-image):not(.icon){margin-right:10px}:host .step-container .inner-container .img .icon-image{background-position:var(--step-image-background-position,none);background-repeat:var(--step-image-background-repeat,none);background-size:var(--step-image-background-size,none);filter:var(--step-image-filter,none);height:var(--step-image-height,none);width:var(--step-image-width,none)}:host(.custom) .inner-container{display:none!important}:host(.active.underline) .step-container .inner-container .text .text-span{font-weight:var(--step-active-font-weight,var(--global-font-weight-bold,600))!important;text-decoration:underline}:host(.hide-desktop-text) .step-container .inner-container .text .text-span{display:none}:host(.active:not(.underline)){border-bottom:var(--step-active-border-bottom,none);border-left:var(--step-active-border-left,none);border-right:var(--step-active-border-right,none);border-top:var(--step-active-border-top,none);color:var(--step-active-text-color,var(--primary-color,red))}:host(.active:not(.underline)) .step-container{background-color:var(--step-active-background-color,transparent);height:var(--active-container-height,var(--container-height,inherit));width:var(--active-step-container-width,var(--step-container-width,unset))}:host(.active:not(.underline)) .step-container .inner-container{border-bottom:var(--step-span-active-border-bottom,unset);height:var(--active-inner-container-height,var(--inner-container-height,inherit))}:host(.active:not(.underline)) .step-container .inner-container .img .icon-image{filter:var(--step-active-image-filter,var(--step-image-filter,none))}:host(.notched:not(.underline)){position:relative}:host(.notched:not(.underline)) .step-container{clip-path:polygon(0 0,calc(100% - var(--step-notch-width, 15px)) 0,calc(100% - var(--step-notch-width, 15px)) var(--step-notch-distance-top,30%),100% var(--step-notch-tip-distance-top,50%),calc(100% - var(--step-notch-width, 15px)) calc(100% - var(--step-notch-distance-bottom, 30%)),calc(100% - var(--step-notch-width, 15px)) 100%,0 100%,0 calc(100% - var(--step-notch-distance-bottom, 30%) + 1px),calc(var(--step-notch-width, 15px) + 1px) var(--step-notch-tip-distance-top,50%),0 calc(var(--step-notch-distance-top, 30%) - 1px));width:calc(100% + var(--step-notch-width, 15px) - var(--step-gap, 1px))}:host(.notched:not(.underline)) .step-container .inner-container{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;height:var(--step-notched-container-height,100%);justify-content:center;white-space:nowrap}:host(.notched:not(.underline)) .step-container .inner-container .text{padding-left:calc(var(--step-notch-width, 15px) + var(--step-notch-text-space-left-right, 0px));padding-right:calc(var(--step-notch-width, 15px) + var(--step-notch-text-space-left-right, 0px))}:host(.first.notched) .step-container{clip-path:polygon(0 0,calc(100% - var(--step-notch-width, 15px)) 0,calc(100% - var(--step-notch-width, 15px)) var(--step-notch-distance-top,30%),100% var(--step-notch-tip-distance-top,50%),calc(100% - var(--step-notch-width, 15px)) calc(100% - var(--step-notch-distance-bottom, 30%)),calc(100% - var(--step-notch-width, 15px)) 100%,0 100%)}:host(.first.notched) .step-container .inner-container .text{padding-left:0}:host(.last:not(.notched)){padding:var(--step-last-padding,0 15px 0 0)}:host(.last.notched) .step-container{clip-path:polygon(0 0,100% 0,100% 100%,0 100%,0 calc(100% - var(--step-notch-distance-bottom, 30%) + 1px),calc(var(--step-notch-width, 15px) + 1px) var(--step-notch-tip-distance-top,50%),0 calc(var(--step-notch-distance-top, 30%) - 1px));width:100%}:host(.last.notched) .step-container .inner-container{width:100%}:host(.last.notched) .step-container .inner-container .text{padding-right:0}:host([disabled]){opacity:.5;pointer-events:all!important}:host([disabled]) .step-container{background:transparent!important}:host(.hide-while-empty-content){display:none}@media (width <= 520px){:host(.active) .step-container{background-color:var(--step-active-background-color,transparent);height:inherit;width:100%}:host(.active) .step-container .inner-container .mobile-text-span{border-bottom:var(--step-span-active-border-bottom-mobile,var(--step-span-active-border-bottom,unset))}:host{max-width:var(--step-max-width-mobile,var(--step-max-width,none));min-width:var(--step-min-width-mobile,var(--step-min-width,none))}:host(.mobile-hide-notch.notched){padding-left:var(--step-gap,1px);padding-right:var(--step-gap,1px)}:host(.mobile-hide-notch.notched) .step-container{width:100%!important}:host(.mobile-hide-notch.notched.first){padding-left:0}:host(.mobile-hide-notch.notched.last){padding-right:0}:host(.show-mobile-text) .step-container .inner-container .text .text-span{display:none}:host(.show-mobile-text) .step-container .inner-container .text .mobile-text-span{border-bottom:var(--step-span-border-bottom-mobile,var(--step-span-border-bottom,unset));display:block}:host(.hide-desktop-text) .step-container .inner-container .text .text-span{display:block}:host(.mobile-hide-step-slot) .step-container .inner-container .step-content{display:none}:host(.mobile-hide-inactive){display:none!important}:host(.mobile-hide-inactive.active){display:inline-block!important}:host(.mobile-hide-inactive.active.notched){position:relative}:host(.mobile-hide-inactive.active.notched) .step-container{clip-path:polygon(0 0,100% 0,100% 100%,0 100%)!important;width:100%}:host(.mobile-hide-inactive.active.notched) .step-container .inner-container .text{padding-left:0;padding-right:0}}@media (width >= 520px) and (width <= 980px){:host(.active) .step-container{background-color:var(--step-active-background-color,transparent);height:inherit;width:100%}:host(.active) .step-container .inner-container .mobile-text-span{border-bottom:var(--step-span-active-border-bottom-mobile,var(--step-span-active-border-bottom,unset))}:host{max-width:var(--step-max-width-mobile,var(--step-max-width,none));min-width:var(--step-min-width-mobile,var(--step-min-width,none))}:host(.mobile-hide-notch.notched){padding-left:var(--step-gap,1px);padding-right:var(--step-gap,1px)}:host(.mobile-hide-notch.notched) .step-container{width:100%!important}:host(.mobile-hide-notch.notched.first){padding-left:0}:host(.mobile-hide-notch.notched.last){padding-right:0}:host(.show-mobile-text) .step-container .inner-container .text .text-span{display:none}:host(.show-mobile-text) .step-container .inner-container .text .mobile-text-span{border-bottom:var(--step-span-border-bottom-mobile,var(--step-span-border-bottom,unset));display:block}:host(.hide-desktop-text) .step-container .inner-container .text .text-span{display:block}:host(.mobile-hide-step-slot) .step-container .inner-container .step-content{display:none}:host(.mobile-hide-inactive){display:none!important}:host(.mobile-hide-inactive.active){display:inline-block!important}:host(.mobile-hide-inactive.active.notched){position:relative}:host(.mobile-hide-inactive.active.notched) .step-container{clip-path:polygon(0 0,100% 0,100% 100%,0 100%)!important;width:100%}:host(.mobile-hide-inactive.active.notched) .step-container .inner-container .text{padding-left:0;padding-right:0}}:host{height:100%}:host(.docked){font-size:smaller}:host(.docked) div[part=text]{display:none!important}:host(.docked) img[part=image]{height:inherit!important}:host(.centered){padding:var(--icon-step-centered-padding,1em)}:host(.centered) .inner-container{display:flex;flex-direction:column;height:inherit;justify-content:center;width:100%}:host(.centered) .inner-container .icon-image{height:auto;margin:auto;max-height:40px;max-width:40px;padding:5px;width:auto}:host(.centered) .inner-container .upper-container{display:flex;flex-direction:column;height:inherit;justify-content:var(--icon-step-img-justify-content,flex-end);text-align:center;width:100%}:host(.centered) .inner-container .lower-container{display:flex;flex-direction:column;font-size:var(--icon-step-text-height,1em);justify-content:flex-start;line-height:var(--icon-step-text-height,1em);text-align:center}:host(.active) .underline-active{text-decoration:underline}`,yG=Object.defineProperty,$G=Object.getOwnPropertyDescriptor,xG=Object.getPrototypeOf,SG=Reflect.get;let wG=class extends vG{constructor(){super()}render(){return super.build(Zk`<slot></slot>`)}updated(e){if(super.updated(e),this.classList.contains("underline")){let e;e=this.classList.contains("text-above-image")?this.renderRoot.querySelector(".upper-container"):this.renderRoot.querySelector(".lower-container"),null==e||e.classList.add("underline-active")}}};var AG,CG,EG,IG,MG,kG,TG,RG,LG,PG;wG.styles=[((e,t)=>SG(xG(e),t,e))(wG,"styles")||[],$k`${yk(bG)}`],wG=((e,t,r,n)=>{for(var i,o=n>1?void 0:n?$G(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&yG(t,r,o),o})([sk("fv-icon-step")],wG),(CG=AG||(AG={})).ArticlesByCategories="articles-by-categories",CG.ArticlesByCategoriesDimensions="articles-by-categories-dimensions",CG.ArticlesByCategoriesDimensionsSlider="articles-by-categories-dimensions-slider",CG.ArticlesByCategoriesCategorySelection="articles-by-categories-category-selection",CG.KataPageSelection="kata-page-selection",CG.PropertySelection="property-selection",CG.PropertyValueSelection="property-value-selection",CG.PropertyContextSelection="property-context-selection",CG.PropertyContextValueSelection="property-context-value-selection",CG.LandingPageView="landing-page-view",CG.CardsFromConfiguration="cards-from-configuration",CG.NONE="",(IG=EG||(EG={})).OR="or",IG.AND="and",IG.NONE="none",(kG=MG||(MG={})).FETCH="fetch",kG.FILTER="filter",kG.NONE="none",(RG=TG||(TG={})).CardContainerPreFill="cardcontainerprefill",RG.CardContainerPostFill="cardcontainerpostfill",RG.Updated="updated",RG.Back="cardcontainerback",RG.TriggerCardClick="cardcontainertriggercardclick",RG.BackToStart="cardcontainerbacktostart",RG.UpdateAdditionalData="updateadditionaldata",RG.ResetFilter="resetfilter";class DG extends CustomEvent{constructor(){super(TG.CardContainerPreFill,{detail:void 0,bubbles:!0})}}class NG extends CustomEvent{constructor(){super(TG.CardContainerPostFill,{detail:void 0,bubbles:!0})}}class FG extends CustomEvent{constructor(e){super(TG.Updated,{detail:e,bubbles:!0})}}class OG extends CustomEvent{constructor(){super(TG.Back,{detail:void 0,bubbles:!0})}}class BG extends CustomEvent{constructor(e){super(TG.BackToStart,{detail:{"post-event":e},bubbles:!0})}}class UG extends CustomEvent{constructor(e){super(TG.TriggerCardClick,{detail:e,bubbles:!0})}}class VG extends CustomEvent{constructor(e){super(TG.UpdateAdditionalData,{detail:e,bubbles:!0})}}class zG extends CustomEvent{constructor(e){super(TG.ResetFilter,{detail:e,bubbles:!0})}}(PG=LG||(LG={})).LastPOLoaded="last-po-loaded",PG.RefreshPropertyPanel="refresh-property-panel",PG.SelectionChanged="selection-changed",PG.DeleteLO_after="delete-lo-after",PG.PropTransfer_afterDelete="prop-transfer-after-delete",PG.PropTransfer_afterSet="prop-transfer-after-set",PG.PropTransfer_beforeDelete="prop-transfer-before-delete",PG.PropTransfer_beforeSet="prop-transfer-before-set",PG.WallFitting_begin="wall-fitting-begin",PG.WallFitting_end="wall-fitting-end",PG.WallFitting_cancel="wall-fitting-cancel",PG.ChangePrice="change-price",PG.DeleteLO_before="delete-lo-before",PG.CameraOnDirty="camera-on-dirty",PG.CameraOnStart="camera-on-start",PG.CameraOnEnd="camera-on-end",PG.SendEvent="send-event",PG.ModalWindowShown="modal-window-shown",PG.ModalWindowHidden="modal-window-hidden",PG.CustomIcon_ExecuteCustomEvent="custom-icon-execute-custom-event",PG.OpenModal="open-modal",PG.CardContainerVisible="card-container-visible";var HG=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});const GG=new class{constructor(){this._Connections=new Map,this._Containers=new Array,this._RegisterUpdateEvents()}_RegisterUpdateEvents(){return HG(this,null,function*(){const e=(e,t)=>HG(this,null,function*(){for(const r of this._Containers){const n=this._Connections.get(r.Settings.Fetch.method);if(null==n)continue;const i=yield n.CheckUpdate(e,t,r.Context);i!=MG.NONE&&(i!=MG.FETCH?i!=MG.FILTER||r.requestUpdate():r.Refetch())}}),t=(t,r,n)=>{t.register(t=>{e(r,t),n&&n(t)})};yield CommunicationInterfaceService.IsAppReady,t(EventFactoryService.LastPOLoaded,LG.LastPOLoaded),t(EventFactoryService.RefreshPropertyPanel,LG.RefreshPropertyPanel),t(EventFactoryService.SelectionChanged,LG.SelectionChanged,e=>{for(const t of this._Containers){if(0==t.Settings.Behaviour["connection-defined-interaction-on-selection-change"])continue;const r=this._Connections.get(t.Settings.Fetch.method);null!=r&&r.InteractionOnSelectionChange(t.Context,e)}}),t(EventFactoryService.DeleteLO_after,LG.DeleteLO_after),t(EventFactoryService.PropTransfer_afterDelete,LG.PropTransfer_afterDelete),t(EventFactoryService.PropTransfer_afterSet,LG.PropTransfer_afterSet),t(EventFactoryService.PropTransfer_beforeDelete,LG.PropTransfer_beforeDelete),t(EventFactoryService.PropTransfer_beforeSet,LG.PropTransfer_beforeSet),t(EventFactoryService.WallFitting_begin,LG.WallFitting_begin),t(EventFactoryService.WallFitting_end,LG.WallFitting_end),t(EventFactoryService.WallFitting_cancel,LG.WallFitting_cancel),t(EventFactoryService.ChangePrice,LG.ChangePrice),t(EventFactoryService.DeleteLO_before,LG.DeleteLO_before),t(EventFactoryService.CameraOnDirty,LG.CameraOnDirty),t(EventFactoryService.CameraOnStart,LG.CameraOnStart),t(EventFactoryService.CameraOnEnd,LG.CameraOnEnd),t(EventFactoryService.SendEvent,LG.SendEvent),t(EventFactoryService.ModalWindowShown,LG.ModalWindowShown),t(EventFactoryService.ModalWindowHidden,LG.ModalWindowHidden),t(EventFactoryService.CustomIcon_ExecuteCustomEvent,LG.CustomIcon_ExecuteCustomEvent),t(EventFactoryService.OpenModal,LG.OpenModal)})}get Containers(){return this._Containers}Register(e){this._Containers.includes(e)||this._Containers.push(e)}Remove(e){const t=this._Containers.indexOf(e);t<0||this._Containers.splice(t,1)}RegisterAppConnection(e){this._Connections.has(e.Method)?console.error("CardDataService> RegisterAppConnection failed! The same AppConnection can not be registered twice!"):this._Connections.set(e.Method,e)}CheckUpdate(e,t,r){return HG(this,null,function*(){const n=this._Connections.get(r.settings.Fetch.method);return null==n?MG.NONE:n.CheckUpdate(e,t,r)})}Fetch(e){return HG(this,null,function*(){const t=this._Connections.get(e.settings.Fetch.method);if(null==t)return console.error("Fetch Method does not exist!: "+e.settings.Fetch.method),{};try{return yield t.Fetch(e)}catch(e){console.warn("Fetch Failed! error: "+e)}return{}})}Filter(e,t,r){const n=this._Connections.get(t.settings.Fetch.method);if(null==n)return{};return n.Filter(e,t,r)}CreateCards(e,t){const r=this._Connections.get(t.settings.Fetch.method);if(null==r)return new Map;return r.CreateCards(e,t)}GetFilterSelectionAdditionalParams(e){const t=this._Connections.get(e.settings.Fetch.method);if(null!=t)return t.GetFilterSelectionAdditionalParams(e)}GetFilterSelectionStrategy(e){const t=this._Connections.get(e.settings.Fetch.method);return null==t?EG.NONE:t.GetFilterSelectionStrategy(e)}InitFilterSelectionParams(e){const t=this._Connections.get(e.settings.Fetch.method);t&&t.InitFilterSelectionParams(e)}WaitForAllCardContainerFetchPromises(){return HG(this,null,function*(){for(const e of this._Containers)yield e.CheckFetchPromise(),yield e.updateComplete})}GetFormattedCardDragData(e,t){if(t.settings.Fetch.method.length<1)return void console.error("FetchCardDragData Error! No method in fetch settings!","settings:",t.settings,"card:",e);const r=this._Connections.get(t.settings.Fetch.method);return r?r.GetFormattedDragData(e,t):void 0}ClickCard(e,t){return HG(this,null,function*(){if(!t.states.PreventAppConnectionClick){const r=this._Connections.get(t.settings.Fetch.method);r&&(yield r.Click(e,t))}})}MakeCardClickString(e){return null==e?"":"object"==typeof e&&null!=e?JSON.stringify(e):"string"!=typeof e?e.toString():e}PrepareClickedCardEventData(e,t,r){if(null==t)return e;const n=t,i=["level-key","next-level-key","previous-level-key","priority","strategy"];if(null!=r)for(const e of r)i.push(e.key),n[e.key]=e.data;let o=JSON.stringify(e);for(const e of i)o=o.replaceAll("|"+e+"|",this.MakeCardClickString(t[e]));return o=o.replaceAll(new RegExp("[|][a-z]+[|]","gi"),""),e=JSON.parse(o)}PrepareClickedCardEventsData(e,t,r){const n=new Array;for(const i of e)i.data&&n.push({id:i.id,data:this.PrepareClickedCardEventData(i.data,t,r)});return n}};var jG=Object.defineProperty,JG=Object.getOwnPropertyDescriptor,WG=Object.getPrototypeOf,QG=Reflect.get,qG=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?JG(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&jG(t,r,o),o},YG=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});let XG=class extends FT{constructor(){super(),this.stepTargetSelectors={},this.stepActivatedEvents={},this.hideEmptyContent=!1,this.autoDisableSteps=!1,this.startIndex=0,this._allowedIndices=this.getAvailableIndices(),this._currentIndex=this.startIndex,this.addEventListener("fv-step-clicked",e=>YG(this,null,function*(){if(!e.detail||!e.detail.index)return!1;this._nextIndex=e.detail.index,this._currentAction&&(yield this._currentAction);const t=()=>YG(this,null,function*(){if(!e.detail||!e.detail.index)return!1;if("string"==typeof e.detail.index?this._currentIndex=parseInt(e.detail.index):this._currentIndex=e.detail.index,yield this.deactivateAll(),this.stepTargetSelectors[this._currentIndex]){const e=this.stepTargetSelectors[this._currentIndex];e.modal&&(yield TY.dispatchAsyncEvent("open-modal",e.modal)),e.element&&(yield TY.dispatchAsyncEvent("set-attribute",{components:[e.element],attribute:"hide-element",value:!1})),e.elements&&(yield TY.dispatchAsyncEvent("set-attribute",{components:e.elements,attribute:"hide-element",value:!1}))}return e.detail.currentTarget&&(e.detail.currentTarget.dispatchEvent(new CustomEvent("step-index-changed",{detail:{}})),e.detail.currentTarget.classList.add("active")),yield this.triggerStepActivatedEvents(!0),!0});e.detail.index&&this._nextIndex===e.detail.index&&(this._currentAction=t())})),window.addEventListener("onUpdated",e=>{e.detail instanceof vG||(this._allowedIndices=this.getAvailableIndices())}),this.addEventListener("fv-steps-request-step-activated-events",e=>YG(this,null,function*(){this._currentIndex==e.detail["requesting-step-index"]&&(yield this.triggerStepActivatedEvents(!1))}))}dispatchEventList(e,t,r){return YG(this,null,function*(){for(const n of e)n["do-not-call-on"]&&n["do-not-call-on"].includes(t)||(null==n?void 0:n.needsInteraction)&&!r||(yield TY.dispatchAsyncEvent(n.id,n.data?n.data:{}))})}triggerStepActivatedEvents(e=!1){return YG(this,null,function*(){const t=this.stepActivatedEvents[this._currentIndex.toFixed(0)];null!=t&&t.length>0&&(yield this.dispatchEventList(t,this._currentIndex.toFixed(0),e));const r=this.getAvailableIndices();null!=this.stepActivatedEvents.any&&this.stepActivatedEvents.any.length>0&&(yield this.dispatchEventList(this.stepActivatedEvents.any,this._currentIndex.toFixed(0),e)),r.at(0)==this._currentIndex&&null!=this.stepActivatedEvents.first&&this.stepActivatedEvents.first.length>0&&(yield this.dispatchEventList(this.stepActivatedEvents.first,this._currentIndex.toFixed(0),e)),r.at(r.length-1)==this._currentIndex&&null!=this.stepActivatedEvents.last&&this.stepActivatedEvents.last.length>0&&(yield this.dispatchEventList(this.stepActivatedEvents.last,this._currentIndex.toFixed(0),e))})}getAvailableIndices(){const e=new Array;return this.querySelectorAll("fv-step").forEach(t=>{if(0==t.classList.contains("hide-while-empty-content")){const r=t.getAttribute("index");null!=r&&e.push(parseInt(r))}}),e.sort((e,t)=>e-t)}UpdateActivation(){return YG(this,null,function*(){yield CommunicationInterfaceService.IsAppReady,yield GG.WaitForAllCardContainerFetchPromises(),this.activate(this._allowedIndices[0])})}updated(e){if(e.has("_allowedIndices")){const t=e.get("_allowedIndices");!(Array.isArray(this._allowedIndices)&&Array.isArray(t)&&this._allowedIndices.length===t.length&&this._allowedIndices.every((e,r)=>e===t[r]))&&this.UpdateActivation()}super.updated(e)}getTargetContentsList(e){if(this.stepTargetSelectors[e]&&this.stepTargetSelectors[e].element){const t=new Array;if(0==this.stepTargetSelectors[e].element["ignore-default-target-content"]||null==this.stepTargetSelectors[e].element["ignore-default-target-content"]){const r=yT.find(this.stepTargetSelectors[e].element.name,this.stepTargetSelectors[e].element.selector);null!=r&&t.push(r)}const r=this.stepTargetSelectors[e].element["additional-target-contents"];if(r)for(const e of r)if(e.name.length>0){const r=yT.find(e.name,e.selector);null!=r&&t.push(r)}return t}return[]}previous(){let e="";this.classList.forEach(t=>{e+=".",e+=t}),XG.previous({"steps-component":"fv-steps",selector:e})}next(){let e="";this.classList.forEach(t=>{e+=".",e+=t}),XG.next({"steps-component":"fv-steps",selector:e})}render(){return Zk`
+            <span class="previous-button" @click="${this.previous}">
+                <slot name="previous-button"></slot>
+            </span>
+            <span class="custom-previous-button">
+                <slot name="custom-previous-button"></slot>
+            </span>
+
+            <span class="steps"><slot></slot></span>
+
+            <span class="next-button" @click="${this.next}">
+                <slot name="next-button"></slot>
+            </span>
+            <span class="custom-next-button">
+                <slot name="custom-next-button"></slot>
+            </span>
+        `}firstUpdated(e){super.firstUpdated(e),this.activateFirst()}activateFirst(){return YG(this,null,function*(){yield CommunicationInterfaceService.IsAppReady,this.activate(this.startIndex)})}deactivateAll(){return YG(this,null,function*(){this.querySelectorAll(".active").forEach(e=>{e.classList.remove("active")});const e=[],t=Object.keys(this.stepTargetSelectors);for(const r of t){const t=this.stepTargetSelectors[r];t.modal&&(yield TY.dispatchAsyncEvent("close-modal",t.modal)),t.element&&e.push(t.element),t.elements&&e.push(...t.elements)}e.length>0&&(yield TY.dispatchAsyncEvent("set-attribute",{components:e,attribute:"hide-element",value:!0}))})}activate(e){const t=this.querySelector("[index='"+e+"']");null==t||t.dispatchEvent(new Event("click"))}get activeIndex(){const e=this.querySelectorAll(".active");for(let t=0;t<e.length;++t){const r=e.item(t);if(r&&r.hasAttribute("index"))return parseInt(r.getAttribute("index"))}return-1}getPreviousStepIndex(){let e=this.activeIndex-1;const t=Math.min(...this._allowedIndices);for(;!this._allowedIndices.includes(e)&&e>t;)e--;return e}getNextStepIndex(){let e=this.activeIndex+1;const t=Math.max(...this._allowedIndices);for(;!this._allowedIndices.includes(e)&&e<t;)e++;return e}static next(e){const t=yT.find(e["steps-component"],e.selector);t&&t.activate(t.getNextStepIndex())}static previous(e){const t=yT.find(e["steps-component"],e.selector);t&&t.activate(t.getPreviousStepIndex())}static activateFirst(e){const t=yT.find(e["steps-component"],e.selector);t&&t.activateFirst()}static activate(e,t){const r=yT.find(e["steps-component"],e.selector);r&&r.activate(t)}};XG.styles=[((e,t)=>QG(WG(e),t,e))(XG,"styles")||[],$k`${yk(dG)}`],qG([lk({type:Object,reflect:!0,attribute:"step-target-selectors"})],XG.prototype,"stepTargetSelectors",2),qG([lk({type:Object,reflect:!0,attribute:"step-activated-events"})],XG.prototype,"stepActivatedEvents",2),qG([lk({type:Boolean,reflect:!0,attribute:"hide-empty-content"})],XG.prototype,"hideEmptyContent",2),qG([lk({type:Boolean,reflect:!0,attribute:"auto-disable-steps"})],XG.prototype,"autoDisableSteps",2),qG([lk({type:Number,reflect:!0,attribute:"start-index"})],XG.prototype,"startIndex",2),qG([lk({type:Number,attribute:!1})],XG.prototype,"_allowedIndices",2),XG=qG([sk("fv-steps")],XG);var KG=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{display:var(--toolbar-display,inline-flex);gap:var(--toolbar-gap,unset);justify-content:var(--toolbar-justify-content,initial);width:var(--toolbar-width,auto)}:host(.wrappable){display:initial;gap:initial;width:auto}:host(.wrappable) .content{display:var(--toolbar-display,inline-flex);flex-wrap:var(--toolbar-flex-wrap,wrap);gap:var(--toolbar-gap,unset);justify-content:var(--toolbar-justify-content,initial);width:var(--toolbar-width,auto)}@media (width <= 520px){:host{gap:var(--toolbar-mobile-gap,var(--toolbar-gap,unset))}:host(.wrappable){gap:initial}:host(.wrappable) .content{gap:var(--toolbar-mobile-gap,var(--toolbar-gap,unset))}}@media (width >= 520px) and (width <= 980px){:host{gap:var(--toolbar-mobile-gap,var(--toolbar-gap,unset))}:host(.wrappable){gap:initial}:host(.wrappable) .content{gap:var(--toolbar-mobile-gap,var(--toolbar-gap,unset))}}`,ZG=Object.defineProperty,ej=Object.getOwnPropertyDescriptor,tj=Object.getPrototypeOf,rj=Reflect.get;let nj=class extends FT{constructor(){super(),this.addEventListener("wheel",e=>{e.preventDefault()},{passive:!1})}render(){return this.classList.contains("wrappable")?Zk`
+                <div class="content">
+                    <slot></slot>
+                </div>
+            `:Zk`<slot></slot>`}};nj.styles=[((e,t)=>rj(tj(e),t,e))(nj,"styles")||[],$k`${yk(KG)}`],nj=((e,t,r,n)=>{for(var i,o=n>1?void 0:n?ej(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&ZG(t,r,o),o})([sk("fv-toolbar")],nj);var ij=Object.defineProperty,oj=Object.getOwnPropertyDescriptor,sj=Object.getPrototypeOf,aj=Reflect.get,lj=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?oj(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&ij(t,r,o),o};let cj=class extends nj{constructor(){super()}static toggle(e){const t=yT.find("fv-toggle-toolbar",e||"");if(t&&t.container){if(t.container.classList.contains("hidden"))return void t.container.classList.remove("hidden");t.container.classList.add("hidden")}}render(){return Zk`
+            <slot name="toggle-button"></slot>
+            <fv-toolbar class="hidden">${super.render()}</fv-toolbar>
+        `}};cj.styles=[((e,t)=>aj(sj(e),t,e))(cj,"styles")||[]],lj([dk("fv-toolbar")],cj.prototype,"container",2),cj=lj([sk("fv-toggle-toolbar")],cj);var uj=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{display:inline-block}:host .button{-webkit-tap-highlight-color:rgba(255,255,255,0);align-items:center;background:var(--toolbar-button-background,transparent);border:var(--toolbar-button-border,none);border-radius:var(--toolbar-button-border-radius,.35em);color:var(--toolbar-button-color,unset);cursor:var(--toolbar-button-cursor,pointer);display:flex;font-size:var(--toolbar-button-font-size,1em);font-weight:var(--toolbar-button-font-weight, );height:var(--toolbar-button-height,3em);justify-content:center;margin:var(--toolbar-button-margin,0);outline:none;padding:var(--toolbar-button-padding,2.5em);pointer-events:auto;width:var(--toolbar-button-width,3em)}:host .button.active{background:var(--toolbar-button-active-background,#d3d3d3);color:var(--toolbar-button-active-color,unset)}:host .button .image{height:var(--toolbar-button-image-height,21px);min-height:var(--toolbar-button-image-min-height,0);min-width:var(--toolbar-button-image-min-width,0);width:var(--toolbar-button-image-width,21px)}:host .button .icon{align-items:center;border-radius:var(--toolbar-button-icon-border-radius,1em);display:flex;flex-direction:column;flex-wrap:nowrap;font-size:var(--toolbar-button-icon-font-size,1.2em);font-weight:var(--toolbar-button-icon-font-weight,var(--global-font-weight-bold,600));height:var(--toolbar-button-icon-height,80%);justify-content:center;width:var(--toolbar-button-icon-width,80%)}:host(.left){float:left}:host(.right){float:right}:host(.disabled-in-config){display:none!important}:host(.invalid-image-src){display:none!important}:host(.docked) .button-container{margin:auto}:host(.docked) button[part=button]{font-size:revert;padding:0}@media (width <= 520px){:host .button{height:var(--toolbar-mobile-button-height,var(--toolbar-button-height,3em));margin:var(--toolbar-mobile-button-margin,var(--toolbar-button-margin,0));padding:var(--toolbar-mobile-button-padding,var(--toolbar-button-padding,2.5em));width:var(--toolbar-mobile-button-width,var(--toolbar-button-width,3em))}:host .button .icon{font-size:var(--toolbar-mobile-button-icon-font-size,var(--toolbar-button-font-size,1em))}}@media (width >= 520px) and (width <= 980px){:host .button{height:var(--toolbar-mobile-button-height,var(--toolbar-button-height,3em));margin:var(--toolbar-mobile-button-margin,var(--toolbar-button-margin,0));padding:var(--toolbar-mobile-button-padding,var(--toolbar-button-padding,2.5em));width:var(--toolbar-mobile-button-width,var(--toolbar-button-width,3em))}:host .button .icon{font-size:var(--toolbar-mobile-button-icon-font-size,var(--toolbar-button-font-size,1em))}}`,dj=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{background-color:var(--svg-icon-color,#fff);display:block;height:inherit;mask-position:center;mask-repeat:no-repeat;mask-size:contain;max-height:unset;max-width:unset;min-height:unset;min-width:unset;width:inherit}:host(.default){background-image:var(--default-image,url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA8AAAAMcAQMAAACl5F6MAAAABlBMVEW8vsDn6OnyCdevAAAACXBIWXMAAAsTAAALEwEAmpwYAAAEbUlEQVR4AezBMQEAAADCoPVP7WsIoAcAAAAAAAAAAAAAAAAAAAAAAIydO0iOk4eCAGyVXNEuukF0FB1NHE1H0RG0ZEHRf5A99WYMk1T+Kvolw+vVjBf+CkMLoRCFWQkuqCquB3QOOQKrCpwBKJ1i6Jxk/EzTubaArgAHQOeyjhu8aMEafUrYolLjLRMfLrpw5cMYadeBnTLcrwN7ZXi+DhyuCi8GG/xy8Gyw3SRe7n7cLzfnajah5z87keFJ//lYf0WAAq+vv+rDX+fir+zpr2Xqr95qrle/ywr9OxX+/nF19fGRmR/yrzCJCudRqNHiNDHhIlquTBgCF2aX3V2BwYT9nUYdNoNojnqjiKJ56q0xiRaok4EsWqQO2EW0RJ3wQbTMvDc6iFaYswEvkx5Hnf8E0Tx1xhcfj3gh1lhOLHVWnx8vLvBq/FAnYpGBhwEElVfjhyETjVjj5bFanATpLrHIcpDkIstpJRdZLmRykaW63CLLMZKLLGeVXGS5jvlFluZKq8k1lnGMXGMZuck1lnsVu8ZydybXWOYj5BrLDIxcY5lz8mrML/JupPIC02osf3tyjeVqY9dYikys8QlTAUIsFovFYrFYLJaIP8hq8D4GG2ywwQYbbLDBBhtssMEGG2ywwQYb3N9+G/ePwQYbbLDBBhtssMEGG5yhA3ugqcARmFXgDKwqcAGgAsu+J1zYy94UXDjIRxosH+crwUm2euHCWX43Fy7YciUYI9N1YIeRavDpsMdIM9jgs+BOh4PBavA3ras6aMFRC06TEpyrLsy/H5emBKOrwvxZpsOsA3ssOk8SQQ9edZ4WI6DzfJwU4Ym/FCE7ofFXfQoJlnUugRsHdl9GTKBzlxRF6vzVW9kngr5eLTB5hT6MUhPgLfdDRhwQCQ79TQXe756tAWcp10XgIuMYF8aWxoedLtz5sB/wzIeDLrzw4QiRqHBSgOvnwLWFCrc7eCLCbnwrXFh2ZMdHKhEOyx3ciHBch8OHE2TtCZ0IZ0wCz1S4jhGTDhc0ecN9IcLja/qEVwIswqwC+/H3zfgMDw7j95cbPBFg+YEKnIaGWyoNzpvmcEujws0rwGX7LnCnwWOgDLhlZsFuaJEP+zFCC7yw4DCAhFtWFhwHl/lwwpeowRMJzlpw+QpXEgwl2O3gxoH9Du4cOOzgmQNHLTjt4OXF4byDVw5csAsHhhLssM/EgD32qQw4aMER+zQtuDPgpAVn7DMz4IJ9FgYMJdgdwSsB9jgKAQ5acDyEJy24ng8nLTgfwu18uBzC/XwYSrA7hmfCeyCHWU6Hw18Gr4R3fY5zOpy04PwEngj/KfYw9WwYSrB7BjfCW4qH6a8Kh2fwTHgF9jDLyXDSgvMzeKW8UX6Uk2Eowe45PL0m7J/D9VQ4aMG/isH/JwYbbLDBBhtssMEGG2ywtz3K/2tvDmQAAAAABvlbn+NbCSQWi8VisVgsFovFYrFYLBYvAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEHVJjR5bJLd8AAAAASUVORK5CYII="))}:host(.active){background-color:var(--svg-icon-active-color,var(--svg-icon-color,#fff))}`,hj=Object.defineProperty,pj=Object.getOwnPropertyDescriptor,mj=Object.getPrototypeOf,_j=Reflect.get,gj=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?pj(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&hj(t,r,o),o};let fj=class extends FT{constructor(){super(),this._src="",this._color="#ffffff"}get Color(){return this._color}set Color(e){this.style.setProperty("background-color",e),this._color=e}updated(e){const t=this.style.getPropertyValue("color");t&&this._color!==t&&(this.Color=t),this.style.removeProperty("color"),this.style.setProperty("background-color",this.style.getPropertyValue("color")),this.style.setProperty("mask-image","url("+this._src+")"),super.updated(e)}};fj.styles=[((e,t)=>_j(mj(e),t,e))(fj,"styles")||[],$k`${yk(dj)}`],gj([lk({type:String,reflect:!0,attribute:"src"})],fj.prototype,"_src",2),fj=gj([sk("svg-icon")],fj);var vj=Object.defineProperty,bj=Object.getOwnPropertyDescriptor,yj=Object.getPrototypeOf,$j=Reflect.get,xj=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?bj(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&vj(t,r,o),o},Sj=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});let wj=class extends FT{constructor(){super(),this.titleText="",this.configId="",this.icon="",this.activeIcon="",this.handleActive=!1,this.preventClickOnActive=!1,this.activeIsLoading=!1,this.eventId="",this.initialActive=!1}set active(e){const t=this.renderRoot.querySelector(".button");if(t){if(e)return t.classList.add("active"),void this.requestUpdate();t.classList.remove("active")}this.requestUpdate()}get active(){const e=this.renderRoot.querySelector(".button");return!!e&&e.classList.contains("active")}clickEvent(e){return Sj(this,null,function*(){if(this.preventClickOnActive&&this.active)return e.stopPropagation(),e.preventDefault(),void e.stopImmediatePropagation();if(this.handleActive&&(this.active=!this.active),this.eventId){let e="[event-id='"+this.eventId+"'][title-text='"+this.titleText+"'] ";if(this.classList.forEach(t=>{e+=".",e+=t}),TY.dispatch(this.eventId,{components:[{name:"fv-toolbar-button",selector:e}]}))return}this.dispatchEvent(new CustomEvent("fv-toolbar-button-clicked",{detail:{"button-type":this.eventId},bubbles:!0,composed:!0}))})}dblclickEvent(e){return Sj(this,null,function*(){})}build(e){return null==window.g_configuration||!1===window.g_configuration[this.configId]?(this.classList.add("disabled-in-config"),Zk``):(this.classList.remove("disabled-in-config"),this.classList.contains("invalid-image-src")?Zk``:Zk`
+            <div class="button-container">
+                <button @click=${this.clickEvent} @dblclick="${this.dblclickEvent}" part="button" class="button" title="${this.titleText}">
+                    ${e}
+                </button>
+            </div>
+        `)}getImageIcon(){if(this.handleActive&&this.active){const e=tL.getVar(this,"--toolbar-icon-active");if(e.length>0)return e}return tL.getVar(this,"--toolbar-icon")}getAttributeIcon(){return this.handleActive&&this.active&&this.activeIcon.length>0?this.activeIcon:this.icon}render(){const e=this.getImageIcon();if(e){if("svg"===aR.getExtension(e)){const t=new fj;return t.classList.add("image"),t.classList[this.active?"add":"remove"]("active"),t._src=e,this.build(Zk`${t}`)}return this.build(Zk`<img class="image" src=${e}/>`)}return this.icon?this.build(Zk`<i class="icon ${this.getAttributeIcon()}" part="icon"></i>`):this.build(Zk`<slot></slot>`)}firstUpdated(e){var t=e=>super[e];return Sj(this,null,function*(){const r=this.getImageIcon();if(r.length>0){(yield this.checkImageSource(r))||this.classList.add("invalid-image-src")}this.initialActive&&(this.active=!0),t("firstUpdated").call(this,e)})}checkImageSource(e){return Sj(this,null,function*(){return new Promise(t=>{const r=new Image;r.onload=()=>{t(!0)},r.onerror=()=>{t(!1)},r.src=e})})}};wj.styles=[((e,t)=>$j(yj(e),t,e))(wj,"styles")||[],$k`${yk(uj)}`],xj([lk({type:String,reflect:!0,attribute:"title-text"})],wj.prototype,"titleText",2),xj([lk({type:String,reflect:!0,attribute:"config-id"})],wj.prototype,"configId",2),xj([lk({type:String,reflect:!0,attribute:"icon"})],wj.prototype,"icon",2),xj([lk({type:String,reflect:!0,attribute:"active-icon"})],wj.prototype,"activeIcon",2),xj([lk({type:Boolean,reflect:!0,attribute:"handle-active"})],wj.prototype,"handleActive",2),xj([lk({type:Boolean,reflect:!0,attribute:"prevent-click-on-active"})],wj.prototype,"preventClickOnActive",2),xj([lk({type:Boolean,reflect:!0,attribute:"active-is-loading"})],wj.prototype,"activeIsLoading",2),xj([lk({type:String,reflect:!0,attribute:"event-id"})],wj.prototype,"eventId",2),xj([lk({type:Boolean,reflect:!0,attribute:"initial-active"})],wj.prototype,"initialActive",2),wj=xj([sk("fv-toolbar-button")],wj);var Aj=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{background-color:#555;border-radius:8px;bottom:100%;box-shadow:0 0 1px 0 #464646;box-sizing:border-box;cursor:pointer;display:none;flex-direction:row;height:200px;left:15%;max-height:150px;padding:5px;position:absolute;right:15%;user-select:none;z-index:3}:host(.active){display:flex}:host(.pointer){left:auto;right:auto;width:70%}:host(.pointer):after{border-color:#555 transparent transparent;border-style:solid;content:"";position:absolute;z-index:2}:host(.pointer.bottom):after{border-width:10px;left:50%;margin-left:-10px;top:100%}:host([transparent]){background:linear-gradient(rgba(2,0,36,0),transparent 56%,rgba(70,70,70,.2));box-shadow:none}:host([transparent].pointer):after{border-color:rgba(70,70,70,.2) transparent transparent}`,Cj=Object.defineProperty,Ej=Object.getOwnPropertyDescriptor,Ij=Object.getPrototypeOf,Mj=Reflect.get,kj=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?Ej(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&Cj(t,r,o),o};let Tj=class extends FT{constructor(e){super(),this.pointer=!0,this.transparent=!1,e&&(this._owner=e),this.addEventListener("click",e=>{e.preventDefault(),e.stopPropagation()}),window.addEventListener("resize",()=>{this.requestUpdate()})}set owner(e){this._owner=e,this.requestUpdate()}get IsActive(){return this.classList.contains("active")}show(){this.classList.add("active"),this.requestUpdate()}hide(){this.classList.remove("active"),this.requestUpdate()}render(){if(this._owner){const e=this._owner.getBoundingClientRect(),t=Number.parseFloat(getComputedStyle(this).height.replace("px",""));if(this.style.setProperty("top",e.top-t+"px"),this.pointer){this.classList.add("pointer","bottom");const t=Number.parseFloat(getComputedStyle(this).width.replace("px",""));this.style.setProperty("left",e.left+(e.width/2-t/2)+"px")}else this.classList.remove("pointer","bottom"),this.style.removeProperty("left")}return Zk`
+            <slot></slot>
+            <div>
+            </div>
+        `}};Tj.styles=[((e,t)=>Mj(Ij(e),t,e))(Tj,"styles")||[],$k`${yk(Aj)}`],kj([lk({type:Boolean,reflect:!0})],Tj.prototype,"pointer",2),kj([lk({type:HTMLElement})],Tj.prototype,"_owner",2),kj([lk({type:Boolean,reflect:!0})],Tj.prototype,"transparent",2),Tj=kj([sk("fv-popup")],Tj);var Rj=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{background-color:transparent;display:none;position:absolute}:host(.active){bottom:0;display:block;left:0;position:absolute;right:0;top:0}`,Lj=Object.defineProperty,Pj=Object.getOwnPropertyDescriptor,Dj=Object.getPrototypeOf,Nj=Reflect.get,Fj=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?Pj(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&Lj(t,r,o),o};let Oj=class extends FT{constructor(){super(),this.popupSelector="",this.addEventListener("mousedown",e=>{const t=yT.find("FV-POPUP",this.popupSelector?this.popupSelector:"");t&&(t.hide(),this.hide())})}render(){return Zk``}show(){this.classList.add("active")}hide(){this.classList.remove("active")}};Oj.styles=[((e,t)=>Nj(Dj(e),t,e))(Oj,"styles")||[],$k`${yk(Rj)}`],Fj([lk({type:String,reflect:!0,attribute:"popup-selector"})],Oj.prototype,"popupSelector",2),Oj=Fj([sk("fv-popup-closer")],Oj);var Bj=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{background-position:50%;background-repeat:no-repeat;background-size:cover;border-radius:9px;display:block;flex:0 0 auto;height:100px;margin:0 8px;width:175px}:host(.return){background-color:#fff;background-image:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAgAAAAIACAYAAAD0eNT6AAAACXBIWXMAAA7DAAAOwwHHb6hkAAAAGXRFWHRTb2Z0d2FyZQB3d3cuaW5rc2NhcGUub3Jnm+48GgAAIABJREFUeJzt3XncHVV9+PFP9kAgYUnCvu+yBIyKQNCyqNUKWhTrUq1Wi0u1ij+tW2uxrRWt+77VCtqqaLWWulSQ2gqCIIuy74QdAmSBhIQsz++P753yGJMnz71zZs7Mnc/79fq+8hDyzP2euXPnfO/MmXNAkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRJkiRpKGzVC0kdNCF3ApIqsScwH9gH2Lv333OBOcDsjfzOol7cD9wC3AzcAFwK3FpxvpJqZgEgtd8EYB5wbC+OALZJ/BoPAhcBPwXOA34DjCR+DUmStAkTgKOBTwC3E51xnbEQ+BiwAL9ISJJUuR2AdwM3Un+nv7G4AXgXsH2F7ZYkqZP2Jr7tP0r+Dn9jsQo4Eziwon0gSVJnHAb8G7CW/B38eGNtL+fDKtgfkiQNtUOBs4B15O/Qy8Q5wFMT7xtJkobOUcDZ5O+4U8f5wHEJ95MkSUNhAcPZ8W+oEDgh0T6TJKm1FhDP1efumOuOXxCFgI8QSpI65Xjgl+TviHPHFcDJWAhIkobYROJb7yXk73ibFlcCrwAmDbx3JUlqmInEt9yryd/RNj1uAk4BJg+0pyVJaoApxLfa68jfsbYtbgHeDEzre69LkpTJVKLjv4H8HWnb4zaiEJjezxsgSVKdNgPeBNxB/o5zPLGO9swweEdv32427ndD0pgceSuVNwN4HfA2mrUgzghwFbF071W9uAl4GFjW+xMi/5m92AM4GDio9+c8YgxDU9wLfBj4PLA8cy6SpI6aSayCdz/5vyEX8QjwXeA1wI4J2jiHuJ3xLWBJA9pXxP3Evp+ZoI2SJI3LlsA7gAfJ3xEWcWMvp60rbPd0ohi4ogHtLWIpcDqwTYXtliR13Gzg/USnk7vjK+I84FnUfzvv6cTUxU1ZrGgp8d7MrrLRkqRumQOcRrMugZ8PHFthm8frEOBMYA3598kIcQvkE6S5/SFJ6qjtiMvLy8nfsY0Q37bPBp5SZaMHdCDNKgRWAl8Adq6y0ZKk4bIr8S3yUfJ3ZCPEo3pnA/OrbHQiexId72ry77cRYBVRmOxdZaMlSe22B9HxryR/x1V0/GcBB1TZ6IrsTrOKqMeIQmC/CtssSWqZvWjWt9ais9q3ykbXpLiasoL8+7XtRZUkKZGDaNZ96+Jy9V5VNjqTuTRrPEWbbqtIkhIpRq43ZRrcYuT6TlU2uiGa9kRFkwdWSpISOYJmPbv+MNHx71BloxtqW6IQeIj870MR5wPHVNhmSVLNFhAdf+4Opghnr3tcE2dVPB84ocpGS5KqtQA4l/wdShGLiG+9W1XY5rbaglj2927yv08WApLUUscDF5K/AyniPuJb7uZVNnpIbE4UAneS/30r4nLgZFw9VZIaaQLxbe1i8ncYRSwkOjPXsO/fVGLhoZvI/z4W8eteTpMqbLckaZwmEh3/peTvIIq4lej4p1fY7q6YQnS6N5D/fS3iKiwEJCmbicRl2WvI3yEUcRNwCjC5wnZ3VfF+X0v+97mIm/H9lqTaFN8Iryd/B1DElfiNsC5NvuIzrcJ2S1JnFfeEbyT/Cb+IK3BwWC7FmI9LyH8cFOGYD0lKaBpxmfUO8p/giygeD7Pjb4bjgYvIf1wU4VMfklTCDOLb1F3kP6Gv3/GrmRYAPyX/cVLE/cS8D7MqbLMkDY3JwOuJk2fuE3gRPwCOrLLRSuoY4DzyHzejC4HX4hgRSdqoo4kBdblP2CPEegHfw9Xi2uwo4EfkP5aKuIJYj0KS1LMZMTd+E1bnK5aJfWKlLVad5gFn0YxFoNYCXyBucUlSpx0MXEf+E/Nq4Axgv2qbq4wOBb5NMwrNK4H9q22uJDXXK4Hl5D0RrwK+COxZbVPVIAcC/wKsIe+xtwx4UcVtlaRGmUCMjs7d8X8B2KXapqrB9iCOgcfIdxyuIz4LkjT0phDfvnKdcB8BPgxsX3VD1RpFIbCKfMflF/EpAUlDbArwXfKcYB8GPoEdvzZuF+IYWUGeY/SbuK6ApCE0mXisru6T6oPAe4Gtqm+ihsQOwEeIq0V1H69nEOsdSNLQ+Az1nkgX4SxsKmc2cQwtpt5j9x9raJsk1eKvqO/keRfwFpyHXelsA7yPeguBN9bSMkmq0B9Qz3PXrsSmqm1JHGP3UP3xvBp4ej3NkqT0dgUeoNoT5S24FrvqVddCVfcCO9bUJklKZiKxel5VJ8ergZfho1PKZ3OiELiT6o7zH+Gy05Ja5q1Uc0K8D3gxjpRWc0wD3kTM7FfFMf+a+poiSeXsSTXPUv8HMLfGdkj92BO4gPTH/VK8FSCpJap63v/deDlUzfY6qll18Iw6GyFJgzieajr/Is4iRmNLTTIN+BzVHffrgMNra40kDeCXVFsAjBCjr0/FZ/2V32Tg5dSzpPU5NbVJkvr2HKo/CY6OYrY/p/lV3aYArwCup95j/ug6GidJ/fo59Z4Mi3C+f9VlGvB64DbyHOs/rLyFktSnQ8lzQhwdy3DFP1VjGnAKcAd5j/F1wL4Vt1WS+vIl8hcARTwMfAjYrtIWqwu2AN5OzMqX+7gu4iOVtliS+jCdeFY594lx/VgJfAHYubqma0jVOe9/v3E/MfhQkrJ7AflPimPFKuBMYO+qdoCGxkzgHcBD5D9ux4pnVrUDJKkf3yD/CXE88RjwT1gI6HfNAT5AddP5po5/qmY3SNL4TSJG4ec+IfYTa4kJhQ6oYH+oXeYSj5I28RbWWHEXzoopKbPDyX8yLFMInA3MT75X1HTbAadTzZoVdcWByfeKJPXhHZQ7ia0kOuKcJ9J1wL8DT0q8b9Q8exADQ1eRvwMvG29KvG8kqS/fodxJ7F+BI4CbSm4nVZwPHJt0D6kJio7/MfIfYyuIJwx+UHI7ZybdQ5LUp1spdxJ7UW87s4gVz6pYSW2Q+Cnwe4n2kfJ5AvAvwBryH1MjwIXAPr3cXlNyW9em2kmS1K8tKHcCW0cMwhrtKOCSkttNGT8HnlVyP6l+84Bvk//2UhH3AH8KTByV4x4lt7mWmKFQkmp3COVOYDdtZLsTqW+FtfHGL4ETcOR10z0Z+D7NuZK0DHg/Mb/Ahtxdcvv7D7ifJKmU51Pu5HX2JrY/EXgxcGXJ10kZlxMTH43+Jqf8jgJ+RP7jo4jFwPuAbTaR909Kvs5z+txPkpTE6yh38vrEOF9nInAScFnJ10sZVwEvJeZBUD7HEOM1ch8PRSwC3kOMaRmPz5d8vVeP83UkKal3U+7k9TcDvObxxECq3Cf6Im4hVombMkBbNLgFwLnkf/+LuJ+YUGi8HX/hb0u+7l/2+XqSlMQHKXfyeluJ134mMUAv94l//UJgaok2aWwTiHEYvyT/+13EncQjfZsP2Ka/LPn6pw/4upJUykcpd/I6NUEOC4ixBLk7giLuJSZH2ixB2xSKjv9i8r+/RSwkOv6y7/OpJfP4aMnXl6SBNKEAKBxJFAJNGf1dXBLe2OhvbdpEouO/lPzvZxG3Eh1/qsfvLAAktVKTCoDCPGKhn6YUAouIQmCrCto6rCYCJxMT3eR+/4q4mbjFMzlxWy0AJLVSEwuAwkHEVKlNmQFuGXG/dlOPhXXZFOAVwPXkf7+KuKqXU1VPe1gASGqlJhcAhScQhcDqkrmmioeJxx+3r7LRLTOV6GSbsh7ECPBrqu34CxYAklqpDQVAYQ+i411ZMudU8Ugvn52qbHTDTSMuq99J/vejiMuJ2w91zfhoASCpldpUABR2IzreRwfIt4pYRaxSt0uVjW6YLYiBdGWnwU0Z5xMDDutmASCpldpYABS2I+7Jr9hAXrkKgTN5fKW4YbQl0fHfS/79nbvjL1gASGqlNhcAhTnEKP2l5O+MRogV3s5iuBZ52ZbYxw+Rf/8WcQ5wRIVtHi8LAEmtNAwFQGE20UktJn/nVBQCZwOHVdjmqhX7dAn59+cI8Wjo2cBTKmxzvywAJLXSMBUAhZnETH4Pkr/DGt1pPanKRic2l7i9spz8+2+Ex4up+VU2ekAWAJJaaRgLgEIxUO0e8ndgRZwDHF5lo0valRhg2ZRxFcXtlAOqbHRJFgDKxjXNpQ0rHtPbG3gLMWI9t+OBi4iBa8dlzmW03Yl9dT3wF+RfB2E18DViDogXETMKSpISGuYrAOsrnlm/g/zfbIvIPYJ9T+IRxqZMslQ8SbF3lY1OzCsAysYrANL4rAK+SHQurwduy5pNOAr4D2J53JeTboGasUwgrkR8D7iRaubH79ejwCeBvXh8RkFJUoW6dAVgfVOAPyU6wdzffIu4D3g/cGgF7d2dGBPRpAV6Hgb+kZjToa28AiCplbpcABQmA38MXEP+DnF03EFcnj+J+Gbc79W+HYFnAR8kFsTJ3Z7RsZQodGb32aYmsgBQNrkv3Ulttwb4OvCvwAuB9wCHZM0o7Excnj+l99/LiSLlZqIDXcLjz+fPIh5/nElMlXwQzVy1cDEx2PCTvZ8llWABIKWxjnjk7NvAc4G/olkTzswAntyLtnkA+AzwcaJokZSAgwCltEaISWcOB54BXJg3nVZbBLyPuIVxGnb+UlIWAFJ1zgWOBI4G/jNzLm1yH/BO4nbEacCyrNlIQ8oCQKpe8by+hcDYFhKTLu1ODD58NGs20pCzAJDqUxQChxFjBUbyptMYtxId/37EIL+VedORusECQKrfFcQUtYcSU9auy5tONtcAfwLsS3T8q/KmI3WLBYCUz2+ImevmEYXA2rzp1OYqouM/hJi6d03edKRusgCQ8ruKKAT2JaYbHtYO8dfElY+i4+9KwSM1kgWA1By3AK8F9iEmuxmWS+K/AE7EsQ9So1gASM1zGzHv/r5EIdDW0fAXEB3/UcTcCHb8UoNYAEjNdTtRCOwDfIiYEa/p1hErFB4NLCA6fkkNZAEgNd9dwDuAXYBXAhfRvG/TDxDP7u8FPI945FFSg7kWgNQeK4EzerE7cDIxqG4+MCFDPkuA7wPfImY9XJ0hB0kDsgCQ2uk24B97sR1wLHAc8DRgb6opCNYAFwPn9eIXDM9ARalzLACk9rsP+EYvIJb1nUdMNPTJktv+HDFx0RXE44orSm5PUkNYAEjDZxnw816ULQDeUD4dSU3kIEBJkjrIAkCSpA6yAJAkqYMsACRJ6iALAEmSOsgCQJKkDrIAkCSpgywAJEnqIAsASZI6yAJAkqQOsgCQJKmDLAAkSeogCwBJkjrIAkCSpA6yAJAkqYMsACRJ6iALAEmSOsgCQJKkDrIAkCSpgywAJEnqIAsASZI6yAJAkqQOsgCQJKmDLAAkSeogCwBJkjrIAkCSpA6yAJAkqYMsACRJ6iALAEmSOsgCQJKkDrIAkCSpgywAJEnqIAsASZI6yAJAkqQOsgCQJKmDLAAkSeogCwBJkjrIAkCSpA6yAJAkqYMsACRJ6iALAEmSOsgCQJKkDrIAkCSpgybnTqAjtgNOAo4C5gDLgeuA7wGXZMxLknI6Evgj4BBgK2AFcBHwXeCCjHlJpU0FPkgc1CMbicuAl9DOYuyjbLxd44lT60+5c8q8PyMZ8u2aUyn3/ny0/pRLm0yc8y5j7LadB+yWKcdO8BZAdbYEfgb8JbDZGP/uMOBfgRuANwEzKs9Mkuo3gzjH3UCc8w7bxL8/higS5lWcV2dZAFTnm8ARffz7PYBPArcB7yNuFUhS280hzmm3Eee4Pfr43W2AHwLbpk9LFgDVOBl4zoC/Oxt4L/Fh+QywZ6KcJKlOexLnsNuIc9rsAbezI1FAKDELgGq8NcE2NgfeANwInA08NcE2U1tV8vdnJclCaq+tSv7+yiRZpHUocCZwPXEO2zzBNl8NzEywHY1iAZDe9sDhCbc3EXgucCHwU+BZwISE2y/j0ZK/72U9dd2g34oLK5JkUd4E4tz0U+By4OWkHdg8HTg+4faEBUAV9qW6DvpY4MfEB+xl5H9y4JGSv28BoK4r+xlYniSLwU0mzkWXE+emYyt8rf0q3HYnWQCkN62G15gHfB24HTiNfJfS7y35+z7io64r+xm4J0kW/ZsBvBm4iTgX1TFSf2oNryGVMo/yz173Gw8CfwfMraF9oz2tZN6P4oe6as4D0FzTiHv4Zd6fo2rOeS5xrnmwZN6DxBtqaJ9UyiRgMfV/OEaI+4Gfovx9xfHaLUHOT64p166yAGiuwyn//uxSU65ziHPLWJOaVR2HVN5KKYFPke9DMkJU58dU3soY67C0ZK5vqSHPLrMAaK63Uu69WUw9A4KPJc83/tFxGc0Z/CyNaWfyXQUoYhX1XB48v2Sev6ghxy6zAGiuiyn33vyshhyPJs4lOc9l64Dfr7qhUkrPA1aT94NzJ9VPLfyJkjmuA/apOMcuswBopgMo/95UvQ7AFsDdCfIsG/9QcTulSjwXeIi8H563V9zGP0yQ499VnGOXWQA00wco/96cWHGO70iQY5lYDby74jZKlZpDzH+9nDwfossqbt82wNqSOT7U247SswBonq0p/8VgTW87Vfp1yRwHjbXAvwMHVtw+qTaziOdm76D+D1PVcxP8IkGeXuarhgVA83yQ8u/LzyvOcTPi9lyd56qVxBTCB1TcNimbacBfEBV8XR+snStuU9nRzCPEFZIdK86ziywAmmUn0jxK9+aK89wtQY79xJeo7/FlKYvJwOuIGfTq/HBVfXl9N9J8W/ghPuqTmgVAc0wgpsst+56spfqifk6CPPuJR4krI2UXR5Ia6XjgN9T7oRohngSowzmJ8nVegLQsAJrj/5HmM/LDmvK9K1G+/cSDxODD6TW0T6rcYcD/Uv8HqYivVt7CcFKifFfi7IApWQA0w+Gke57+eTXl/NVE+Q4SNxFPGEmtNAM4nXrv9W8o6ppAYzJwW6KcF+EI4FQsAPI7GHiANJ+NW4jpxuvw7EQ5l4lzcRVAtcwJxEp9uT88D1LvYjuvT5j7fcD+NeY+rCwA8tqbtJPp/FmNuU8hXeFSJlYQq57WsdKqNLCdSTPIJ1V8sdrm/o5ppH3M8S7giFpbMHwsAPI5krSd/0LqXz3zi4lyTxHXAk+ttrnSYE4m/4IZ68exlbZ4w145YK4bi9XEoCANxgIgj1NIP4f+y2ttQTiuRL5VxBri1qpXA9QIc4B/I/8HY/24h/ruFY42kfKLnGwovkk8Q63+WADUayfgW6Q//i8izyOyE2nGegDrx5XEAGspm+Oo/5n+8canKmz3pjyFagY/PkxcDaj7Mmibld3nGp+pwDuJYzT1cb+avE/G5F7efGOxEnhjhe2WNmgCMRNX7tX+xoo6lgIeS4rFTjYWtwKvxcuA41F2X2tsU4lj8VaqO97fX1trNmwB1bUtRXyXmGpdqtxMmnnJf3TcTly6y2ka1U98dAcxrfJmNbWpjcruY23YZsCbqH5tj8vJf8VrAuke8a0qrgMOqqj9EgB7EQda7oN9U/HhqnZAn/YBllB9e+8nHhPyW8DvKrtv9dtmEFf/6pglbxnNeRT2I+Q/r20qHiaWYJeSO4LoaHIf5OOJJs2kdxL1rSq2iFg/fGYtLWuHsvtUYSbwLuo7B6yjvhn/xuMp5D+vjSfWAH9e0T5QR72UGHCS++AeT9xM8xbUeSf17oNlxKNCVS+C1AZl92XXbUkMPK37Ed+31dG4Pkwgzi25z2/jjX8k/21QDYHXUt832BRFxj9UsxtK+zj1nwQeBj4B7FBD+5qq7D7sqm2J20qLqf+4/Uz1zRvIP9CMc9x448tYBKiE1xJLb1Z9oD5I3Ff8SYJtHVLJnihvAvBp6j+ZjgCPEIVAF+cRKLvvumYO0fHXMXZlQ/FFmttpzaN8+34EvIL6Hp/+BrFOidSXv6D6b/6riY5pa+Jy9WMlt3dtJXsinQlEe3OcWEeImdnOJAZzdkXZfdYV2xG3jZaT7/j8HM27fbe+aynXxseIc91WxFXBOh6l/jrNLarUQC+h+m/+/02sElb40wTb/Ju0u6Eyb6aeKytjnYTOBPatuqENUHZfDbvdiKL0UfIdj+uIqw5N7/wh8izb3leN2t5+wA8TbHNT8fmke0FD6xmkn8N7dCxmw3N6p/gQNOWRofF4EXm/bY0Q3z6+ynAXAmX30bDaG/gK5a+6lY1HgBdU3NaU9qd8m3+4ge2+FHgowbbHincm2gcaUocQI8irOgD/i1gxcH1bUH5wzBWJ9kGd9ifyznkCHiGuRpwNPLHa5mZRdt8Mm72AL9CMWTyv5revArZF2c/sSmI+hfXtSLVXA9YRhYb0O2YBN1LNgfcI8AY2fonvmASv8a4E+yCHzYi5xnPeEihiLTHL4zAtMlJ2nwyLQ4hFeppynH2S9s5g+S7K74Onb2TbE4A/o7ovYstp7kBpZTIB+B7VHHCXEJcbx/Likq+xDtizzA5ogCcCl5L/5FzEOQzH2uNl90PbHUKM92hCxz9CTI99RKUtrt6elB8g/aJNvMYewIUlX2NjcSPOGqpR3kw1B9oZwPRxvP5zS77OxYM3vVGmELN4NWmFxZ8AR1fZ6IqVbX9bHQH8gPzHTxH3ElcBp1TZ6BqVXfL7OeN4jWnEs/xVvB9nDd50DZN9SD8YbTXwlj5zKPN6bx2g3U22BfBX1D/72ljxM+D4CttclbLtbpunA+eS/3gp4kHiWN6iykZn8FbK7Zd+HsX9c6oZrHnyAO3WEJkI/A9pD6oHGKyjuGrA11vN8M50twVxdeZu8p/Ii7iMOHG04ZEtKN/etlhAszr+RcQjc1tV2OactmPwgZS/GeD1FgD3DPh6Y71HcwfIRUMixbP3o+MuBn8U75UDvuYZA75em0wDTgHuJP+JvYhfEzOaNX2CkbLtbLrjqe5e8SBxH7F2wOZVNrohvsZg++hPBny9fUi//PKXBsxFLTeDtEt63kG558knEgPP+nnNe4ipS7tiKtHp3kT+E30RV/ZymlRhu8so274mmgCcQPn70CnjduJqVVtH9g9iLv2P1/kJ5a6e7QUs7PM1x4o1+FRAJ/0N6Q6ihaSZXnYmcNE4X/M+4KAEr9lGU4hO9wbyn/iLuJm4StG0ecfLtqtJJhIdf5OeFrmN6PjHM9h3GB1MnIvGs68uJM1S3bsDt47zNccTP06Qk1pkS9LNOnU38chKKlOBDxBzB2zo9Ypn1bdP+JptNZG4H192fvKUcSvN6hDKtqcJivf5GvK/v0XcQjMLvhy2J85JG3vU8hFiJcGpCV9zV9LeEnxywtzUcKeS5qBZBRxZUY7bEmMUvkQ8snIGsUZ4lxayGa8mfjNcSDMuCbe5ACiu9FxP/veziKt6Odnx/669iXPUGcQ564vEOWzbil7vcNItL/ztinJUw0wkLtulOGheU2/q2oTi3vAl5O8oisg9KKyNBUAx1qOqmTkHid/Q7LEeXZVqIPcaYmEoDbljSXPAfLruxNWX4xn/eIo6ongsrO4ZyNpUABRPe6Qe6V0mLqddj3120WdI816/p+7EVb+vUP5AuYY4Wan5FgA/JX9HUsRSYt35rats9ChtKABmELdLUj6VUzYuIK4m2fE33zTSjA+5ru7EVa9JxEQ9ZQ6SdcBRdSeu0hYQK/7l7liKWEasQ1/1YM4mFwBbEh1/6gleysT5RMevdllA+fUJRoAn1J246nM45Q8Q55ButyOJQiDFySJFPEIUAjtW1N4mFgAziXERVa//3m/Hf2xF7VU9vkP54+DU2rNWbd5NuYNjHVaIw2IeUcw1pRBYSaxTv3PidjapAJhNjINYnCCvVHEO8cVA7fcEyn+e/7P2rFWb71Lu4HDCiOFzMLFc7Bryd0YjxKOlZ7LpJaTHqwkFwFyi41+aIJ8UsY64CvSkRO1Tc/yEcsfGffWnrLrcQrmD44/qT1k1eQLR8Q66wEnqeKyXz34l25WzANiFuL2xIkEeKWIt0fEfVrJdaq6XUP44qep2nDKaysZnqhrvCXlYV/bS4/YgLsVXsfzooJ3WWcABA7YnRwGwG9HxP5rg9VPuw0EX6lJ7zKL8Z/dptWetyu1BuYPikvpTVkZN7MTOBub32Y46C4CmFU/FVZR9+myH2u0yyh03L6s/ZVWt7BMA/1x/ymqA7Yjn9ptyGbu4f/2UceZfRwHQtNsnq4hCZJdx5q/hcgbljp+31p+yqvZ7lDsoPlB7xmqSpg1kGyEeXTtmE3lXWQA0bQBl8UjlTpvIW8Ptg5Q7jv6q/pRVteMpd1CcVnvGaqI5RDG4jPwd3uhC4GVseHbK1AXAFOCFxONzTXmEclnvPZmzgXzVPadR7nj629ozVuXK3gL4ZP0pq8G2Ad5Hs55pXwR8hJjsaGIvzxQFwATilsPpNGvWvsW992Cbjb5L6qJPU+64enf9Katq+1HuoPhm/SmrBWYRi4gsIn+HODruIe6Dl93O52nWHP0jvX39HupfWEntcBbljq+31J+yqrY95Q6Ka+pPWS3SxAVthi3uJ8+KimqX6yl3nL2k/pRVtemUu2e5juoXblH7NXFJ27bHfcTaAZv38T6om3ak/PH29NqzVi3KzgT4ivpTVktNJY6XG8nfgbY1FhJXVTbrc9+ru15J+eNudt1Jqx7fptyBcX79KavlphCFQNnLkl2KW4mOf0NPNUhjuZByx97N9aesuryT8ienJ9aetYbBROBkYixJ7g62qXEzcftk8oD7WN12GOWPQQd7D7FnUP4A+bfas9YwmQicAFxK/g63KXEVcZVkUon9Kn2f8sfi22vPWrXZnJgtrOxB8sy6E9fQmUAUAheTvwPOFb/Gjl9pHEeaY3Je3YmrXt+i/EFyJd6fVDrHU/7eZZvicuJ2yIQUO0+dNw24mvLH5bXxSxRiAAAUZ0lEQVR1J676nUSak9jH605cQ28BMcVu7g66qjifuOohpVR25r8i/rruxFW/6aRZ0GUd8Pyac1c3LCBW/MvdYdvxq+lOIN2aFPvWnLsy+RxpDpjFwEE1567uOIyY1rQpi+70G+cARyTfK1KYBywhzbH63zXnrox2JdYMT3Hg3AXsVm/66pj5xBwWTVl2d6xY08t1fiV7Qgq7ALeT7rg9tt70ldtXSHfwXINLkap6exLr3TdpBcIiHiLGxexZWeulMBe4jnTH7gX1pq8m2AtYTbqD6Fpg51pboK6aDrwU+DHwGPk6/cd6Obykl5NUtR2IeSNSHse/X2sL1BipxgIUcQtRWEh12Rp4OTGD2X1U3+nfC3wD+GNgqxraJxX2AW4j7fF8bp0NULPMIv3yrfcAT62zEVLPBGJQ6muI4vYiyt0ueIiYn+CzvW0ehM/uK48jieIz5bl6OR3/wuaHGV4AfCfxNlcBbyDGGUi5zQb2ALbr/TyHmJJ4Ru//LyeeNFgEPEBcSbgFeLD2TKXf9TLgy6S/zfR24MOJt6kW+h7VXC79OLEanCSpP1OBT1LNuflXuOiUerYlliCt4kC7BCeYkKR+7Ed1C2YtA55QX1PUBocBK6jmgFtBrG8uSRrbK4CHqeZcvI6YDl76Ha+mmoOuiO8BO9bWGklqj52B/6Dac/BpdTVG7ZT60cD1YwnwOhyAKUkQA1LfSFyar/Lc+/3ea0kbNYmYyrTKA3EE+DlwcE1tkqQmmkfMxFf1+fZnwGb1NEltN4V6VmNbC5xJPJ4lSV2xLTGtdR3rW1wEbFlPszQsphOzRFV9cI4Qk7WcSjz2IknDairwNtKt4repuAxnrNSAZhBLmtZxoI4ANxMjYCfV0ThJqslk4FVU97j1huISYuIraWBTga9T30E7Qiws9AocsCKp3SYAJ5N29b7xxDnAzBrapw6YAHyIeg/gEeAK4EV4RUBSu0wCXgz8mvrPm1/BWf5Ugb+gnkEr68eNwCnAtOqbKEkDm0485nwT9Z8n1wF/i49Yq0LHUc+yqxuKu4G/BLapvJWSNH7bAu8i/Yp9440lOMOfarITcD55DvQRYCXx+OAhVTdUksawP/E433LynQ+vAQ6ouqHSaFOAj5HvoC/iPKLy9Z6XpDpMAV4I/A/5z39fwQl+lNGJwD3k/yDcDXwA2Kfa5krqqH2BD5LvMv/oeBB4abXNlcZnW+Ab5P9QjBADYf4b+GOsjCWVsznxSPL/EOeW3Oe3EWLBoB2qbLQ0iD8gvonn/oAUsRw4CzgBbxFIGp+JwALgC8BS8p/HilhCPA0lNdYcYoBeU6rlIu4CPgI8sbqmS2qx+cBHadaXmCK+TQy+llrhycAvyf/B2VDcQozcXYDPzEpddiBwGjH7aO7z0obieuD3q2q8VKWJxP2zReT/IG0sFvJ4MeDUw9Jwm0h80z8NuIH855+NxSO9HF0gTa03B/gs8Bj5P1hjxT3Al4E/BLaoZE9IqtuWxKPC/0QzRvCPFauJc5CD/DR09gL+BVhL/g/apmIl8F/AG4E9qtgZkiqzFzF1+U+AVeQ/n2wq1hH3+fevYmdITXIgMTo/94eun7iZGBV8MrB1+l0iqYQtgOOB04Ffkf980U+cAzwp/S6Rmm0B8S079wew31gNXEDco1uA9+mkuk0DnkYsfnMheRYpKxvnAcem3jFS28wjHh1s44d4BFhBrI1wOvEtxAmIpLQ2I4rtdxDfmFeQ/3M/SKwDzgaOSLt7pPbbj5jbuumDBTcVK4H/Bf6emBxp25Q7SeqA2cBzgfcDP6cd9/HHiseILzkHptxJKsdnwJtpF+D1wJ8RJ4JhcANwUS8uBK4kBkNKXTcZOJj4VvzUXgzLmh4PEk8ffJZ45FgNYgHQbNOBlxAj8YdtBr9HgMuBS0fF9cQlQmlYTSKu9M0fFYcBM3ImVYFfA58mnnp6NHMu2ggLgPY4CngT8Yz+sA66G10UXEZcJbiGuHwotc1U4pL3wUQBPx84lOGdY2M18H3gU8QtQDWcBUD7bE08ivc64pvDsFsD3E4UApcCV/d+vhavFqg5dgSeQHT483s/H0SM1h921wFf7cV9WTNRXywA2m0+MdXwy+jeQLtVxNwERUFwNbHGwTV4yVHVmAzsCuxJdPRFh38wMDNjXjksI77tnwn8lBjop5axABgOmxFTfb4EeCYwJW86Wa0mCoPren+OjoXEFQVpY6YQnfxe68UBRMff9c/WucA3gH8jHkVUi1kADJ9tgRcQxcDTcIGf0dYQRUBRENxG3F64o/fzPXhbYdhNArYHdic6+l17P+9FdPC7Ed/0FdYRc3x8A/gO8EDedJSSBcBw2xF4EfBHwFOwGNiU1cBdRFGwsPfnvb2/uw+4s/fnqlwJakzTiM59J2C73p87EI/V7t77cye6/S1+PEaAS4BvEVOW35k3HVXFAqA7dgROBJ4PHMPwPklQhweIwuDu3p8PEEs+39/7+YFRf7c4U47DYmtgLjEfRhGj/3sH4tjenu6Ng0npMeBnwL8D/0EUvRpyFgDdNAt4DlEMPJtYLlTVWE1MhrKkF0tH/byEKBCKv3uYmEVxCTGQ8dFRP6+sO/GSphNjU7bq/Tn65y16P28sZvX+nI2X46v0MPAjotP/IXEcqkMsADSVmGP893txcN50tBEjRDGwiscHXy3p/f3ov1vK4+MYVhNzK2xMccKfNca/2ZLHO+GJo/7t5sQl9w39natFNteVwI97cT7OsdFpFgBa33bAs4h5yJ9BfBOT1E7Liam3/xP4HjGuRQIsADS2ycTgwWN6cSSu9Cc12aPAL4D/7sXF+OirNsICQP2YTCxdfHwvjqYbM51JTbWGmHf/3F6cT/vGiygTCwCVMQU4hBhDcBRwLI7Elqr0MPBL4AKis78AZ77UgCwAlNJEYmrUBcTtgiOJyVUkDeYW4pJ+0eFfg5NVKRELAFVtFvFkwXziKsHRxDPbkn7bEuBXRGd/KfFN//6sGWmoWQAoh12AJwNPIpZHPZSY0EXqiruJe/dXEJ3+JcSU1FJtLADUFFsRy6fOp3vLqWp4rSWmlS6Ws76U6OzvzZmUBBYAarbpxCpsBxBjCw4gioI9iUVdpKZYQ9yvv4pYifIq4Nrez47KVyNZAKiNpgH783hxsM+oGGtWO6mspcCNvbiB6OCLjt5FotQqFgAaNnOBfXtRFAV79MIpajUeDxHLQ9/Kb3f2N+CgPA0RCwB1ySxiWdgiisJgN2KZ2NmZ8lK9HiBWu1tIdPK3Eh1+ES6Ko06wAJAetxmwM1EM7NL7eUdgV+LRxR2BOTgwsalWEd/Q7yEG2d1OdPR39X6+m1jb3olzJCwApEFsTRQEc4nHF7fr/bwdMRPi+uGStoNZQyylvH7cS3T09xOd+qLe3y3Ok6bUThYAUvVmEVcOtiWW190KmAFs0Yviv2f0/v+sUf89sxczaM9CTI8Sq9At68XyXiwlprJdTixTPPq/lxMT4TxMXKJ/AC/FS5WyAJDaYyJRHGxJXFWYSTwOOan3M0SRML338wxg6hjbK5Z6XjLGv1kFrOj9vJLHL58vI55xX9v7eQ3ReS/FqWolSZIkSZIkSZIkSZIkSZIkSZIkSZIkSZIkSZIkSZIkSZIkSZIkSZIkSZIkSZIkSZIkSZIkSZIkSZIkSZIkSZIkSZIkSZIkSZIkSZIkSZIkSZIkSZIETMidgNRgmwMvA04E9gK2o/rPzFLgOuChXtwDXARcDDxS8WtLktR5zwfuAkYaEquBXwFvBeZU2G5Jkjrrz4F15O/0NxargLOAg6raAZKGn7cApN92PPBjYFLuRMZhLfAl4L3AoppfewfgecCTgO2BaQm2uQpYDiwG7gBuAK4kbolIklSZScBV5P+G3288BJxQwf7YkM2BjxGddV3tuwf4F+K2zNTqmyhJ6prjyN+ZDxrrgNOp9srFHODSzO18APggcdVBkqQkPkT+jrxsfAeYnHrHAFOAnzegfUU8CnwEmFlBWyVJHXMW+Tu2FPE1YGLiffOGBrRrQ3EX8ILEbZUkdcx3yN+hpYpPJ943tzagTWPFZ4HpidssSeqIT5C/I0sZJyfaLwc3oC3jiYuA2YnaLEnqkBPJ34mljMXALgn2y0kNaMt449pEbZaGXur7hFKb/QS4M3cSCW0FfC7BdrZNsI267E+8j14JkDbBAkB63ErgnbmTSOwPgCNKbqNtE4btD5yNYwKkMbVhtjOpTlcS35yfmjuRhHYGvl7i9+dT30RDqewMbA38MHcikqR2eRvxrHnue9qp4kkl9sUpDch/0DipRLuloeYtAGnDPgzs1/vzBmBN3nRKe3HuBDL5DDArdxJSE7Xt3p6UyyTqmXVuCjHN7RHAq4DDE233FmCvAX/3FOALifLI4cPA23MnIUnSeE0A/gRYQZrL4YcOmEebbwGMELdydhiw7dLQ8haA1FwjwBnE/AQpbkGUfRqgraYDb86dhNQ0VSwaIimtc4kV8N5Tcjv7J8hlED8APj6OfzeDmMRnHlH0zE2Yw6uBvwZWJ9ymJEmVmwksp9yl8J8M+NplbwEMMn5gEjEG4s6Srz06ThwgD2loeQtAaodlwE9LbmPXFInUZC3wz8AhlG934YWJtiMNBQsAqT2uL/n7bbzl9xDwbNIUAccl2IY0NCwApPZ4rOTvt/Xzvhp4EXBXye3sCOxbPh1pOLT1hCB10e4lf7/N8348BLw3wXYOSrANaShYAEjtMBl4RsltlP0GndsZwKKS28j1JITUOBYAUju8CphTchs3pUgko7XEKn9ltGkgpFQpCwCp+fYEPpBgO7ck2EZuV5T8/S2TZCENAQsAqdkOJiYC2jbBtn6ZYBu53Vny9+tYz0FqBQsAqZkOBj4GXALskWB7y4GfJdhObo+W/P02PgopVcIPg1TeZOAE4LnEY2ZzKffZmkP6S9XnAqsSb1NSi1kASOU8Hfg8zR9d/q3cCUhqFgsAaXAvBb4KTMmcx6YsBL6dOwlJzeIYAGkwTyXmqm965w8xliDFcsKShogFgNS/CcCngKm5ExmH24Ev505CUvNYAEj9Owp4Uu4kxum1xBMAkvRbLACk/j07dwLjdAbw49xJSGomCwCpf3vmTmAcrgbekjsJSc1lASD1b1ruBDbhTuIqxZLciUhqLgsAqX93505gDKuB5wB35E5EUrNZAEj9+1nuBMYwBTgudxKSms8CQOrfjyi/Ln2VPgQckTsJSc1mASD1bznw3txJjGEKMfXv7NyJSGouCwBpMJ8nHrNrql2IKwGStEEWANLg/hQ4HViXO5GN+BNgXu4kJDWTBYA0uHXAu4BDiasBD+ZN53dMxKsAkjbC1QCl8q4EXtn7eQ6wZR+/OxvYHtiHeHzvaaT9XD4TOBY4L+E2JQ0BCwAprUX094TALaN+/ghRQLwLeAPpJhx6LRYAktbjLQCpWRYBbwUOBH6TaJvPA7ZJtC1JQ8ICQGqmm4lVB/8zwbamAS9JsB1JQ8QCQGquR4A/Ai5LsK0XJtiGpCFiASA12wrg+cDSktt5CjFBkCQBFgBSG9wBfLjkNjbHOQEkjWIBILXDxyg/z4DrA0j6PxYAUjssB35QchsHpEhE0nCwAJDao+wTAS4OJOn/WABI7XFNyd+3AJD0fywApPa4u+TvD0MBMLXk769NkoU0BCwApPZYWfL3h+HzvlPJ31+WJAtpCAzDCUHqirKd3+IkWeR1YMnffzhJFtIQsACQ2mO3kr9fdjKh3CYAJ5bcxh0pEpGGgQWA1B7PLPn7S5Jkkc8fAruU3Mb1KRKRhoEFgNQOKb793pQikUw2A/4hwXauTrANaShYAEjt8IfA/iW3cXGKRDKYAHwZ2K/kdu4Hri2fjjQcLACk5psC/H2C7fwqwTbqNh04A3hpgm2dB4wk2I40FCwApOb7GOWn8V1IfANuk2cRVy1enmh73020HWkoTM6dgKQxvRH48wTb+XGCbQxqDjB/HP9uOrAjcCjwPMo/8jfaEuDshNuTJKkSk4CPEJesU8QzSuRySsI8csUnSrRfkqRaPA24kHSd30KioBhU2wuAxyg/h4I0dLwFIOU3EdgDeDZwEnBM4u1/iW7Pgf8logiSNIoFgLRxk4ETgOcC+wJzSf+ZmQZsV8F2C0uBz1S07TZ4EPib3ElITWQBIG3Y04HPU/7Z+9w+znCsATCoU4EHcichSWqHlxL3jXPfuy4btwMzEuyPto4B+EaCtkuSOuKpwCryd15lYx1x+yKFNhYAvwG2SNR+SdKQm0DMlpe780oRH024X/6sAe3pJxZSfulkSVKHLCB/55UifglMTbhfXtiANo03bqf8mgFSJzgVsPS4Z+dOIIF7gRcTYxhSuTnhtqp0NXAkLvkrSerTN8n/DbZM3Efa6XMLE4A7G9C+seKbwMwK2i5J6oDvkr8jGzTuofyCQWN5WwPauKF4CHhNhe2WJHXAp8nfoQ0SV1P9fe/pwKUNaGsRa4CvEJMzSZJUSpsGuxXxNep73G0X4v56zvauAL4M7F1xWyVJHTIDuJ/8nfp4YjHw6mp2w5i2Ar5KrC1QV1sfAX4EvArv80vJTMidgNQwrwM+lzuJMTxG5Pd3xDz3uexHXDF5MrGWwZQE21wLLCPWL7iduNpwFXAxsDrB9iVJGtNXyf8Nf/1YDvwzsFd1zZYkqdsmAh+g3svcG4sLiJn4vPQtSVJNDiauBjxAPZ39vcDPiOLjRBzhLqlCjgGQxmcOsGVF215BDOpbVdH2JUmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSJEmSht3/BySy9wEFYhmJAAAAAElFTkSuQmCC");background-size:contain}`,Uj=Object.defineProperty,Vj=Object.getOwnPropertyDescriptor,zj=Object.getPrototypeOf,Hj=Reflect.get;let Gj=class extends FT{constructor(e,t){super(),this._hash=e,"none"===e?this.classList.add("return"):this.style.setProperty("background-image",`url(${t.previewImageFile})`),this.addEventListener("click",e=>{return t=this,r=null,n=function*(){e.preventDefault(),e.stopPropagation(),this._hash&&(yield CommunicationMessageService.setHRThemes(this._hash),this.dispatchEvent(new CustomEvent("onChange",{detail:{reset:"none"===this._hash}})))},new Promise((e,i)=>{var o=e=>{try{a(n.next(e))}catch(e){i(e)}},s=e=>{try{a(n.throw(e))}catch(e){i(e)}},a=t=>t.done?e(t.value):Promise.resolve(t.value).then(o,s);a((n=n.apply(t,r)).next())});var t,r,n})}render(){return Zk`
+        `}};Gj.styles=[((e,t)=>Hj(zj(e),t,e))(Gj,"styles")||[],$k`${yk(Bj)}`],Gj=((e,t,r,n)=>{for(var i,o=n>1?void 0:n?Vj(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&Uj(t,r,o),o})([sk("fv-hr-item")],Gj);var jj=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{display:flex;margin-bottom:-17px;overflow:hidden;width:100%}:host .content{align-items:center;box-sizing:content-box;display:flex;flex-direction:row;height:100%;margin:auto;overflow:scroll hidden;padding-bottom:17px}:host .arrow{display:flex;flex:0 0 auto;height:calc(100% - 17px);margin:0 8px;width:50px}:host .arrow .arrow-button{background-color:hsla(0,0%,100%,.761);border-radius:50%;box-shadow:0 0 4px 1px rgba(0,0,0,.5);display:flex;height:50px;margin:auto;width:50px}:host .arrow .arrow-button i.arrow-icon{display:inline-block;height:2.5rem;margin:auto;position:relative;width:2.5rem}:host .arrow .arrow-button i.arrow-icon:after,:host .arrow .arrow-button i.arrow-icon:before{background:#727272;border-radius:.2rem;content:"";display:block;position:absolute}:host .arrow .arrow-button i.arrow-icon:after:hover,:host .arrow .arrow-button i.arrow-icon:before:hover{background:#464646}:host .arrow .arrow-button i.arrow-icon.left,:host .arrow .arrow-button i.arrow-icon.right{width:1.667em}:host .arrow .arrow-button i.arrow-icon.left:before,:host .arrow .arrow-button i.arrow-icon.right:before{top:55%}:host .arrow .arrow-button i.arrow-icon.left:after,:host .arrow .arrow-button i.arrow-icon.right:after{bottom:55%}:host .arrow .arrow-button i.arrow-icon.left:after,:host .arrow .arrow-button i.arrow-icon.left:before,:host .arrow .arrow-button i.arrow-icon.right:after,:host .arrow .arrow-button i.arrow-icon.right:before{height:25%;left:-5%;width:110%}:host .arrow .arrow-button i.arrow-icon.down,:host .arrow .arrow-button i.arrow-icon.up{height:1.667em}:host .arrow .arrow-button i.arrow-icon.down:before,:host .arrow .arrow-button i.arrow-icon.up:before{left:55%}:host .arrow .arrow-button i.arrow-icon.down:after,:host .arrow .arrow-button i.arrow-icon.up:after{right:55%}:host .arrow .arrow-button i.arrow-icon.down:after,:host .arrow .arrow-button i.arrow-icon.down:before,:host .arrow .arrow-button i.arrow-icon.up:after,:host .arrow .arrow-button i.arrow-icon.up:before{height:110%;top:-5%;width:25%}:host .arrow .arrow-button i.arrow-icon.left{margin:auto auto auto 9px}:host .arrow .arrow-button i.arrow-icon.left:after,:host .arrow .arrow-button i.arrow-icon.left:before{transform:rotate(45deg)}:host .arrow .arrow-button i.arrow-icon.left:after{transform:rotate(-45deg)}:host .arrow .arrow-button i.arrow-icon.right{margin:auto 9px auto auto}:host .arrow .arrow-button i.arrow-icon.right:after,:host .arrow .arrow-button i.arrow-icon.right:before{transform:rotate(-45deg)}:host .arrow .arrow-button i.arrow-icon.right:after{transform:rotate(45deg)}:host .arrow .arrow-button i.arrow-icon.up:after,:host .arrow .arrow-button i.arrow-icon.up:before{transform:rotate(-45deg)}:host .arrow .arrow-button i.arrow-icon.up:after{transform:rotate(45deg)}:host .arrow .arrow-button i.arrow-icon.down:after,:host .arrow .arrow-button i.arrow-icon.down:before{transform:rotate(45deg)}:host .arrow .arrow-button i.arrow-icon.down:after{transform:rotate(-45deg)}`;const Jj=new class{get(){return e=this,t=null,r=function*(){return null==CommunicationMessageService?void 0:CommunicationMessageService.getHRThemes()},new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});var e,t,r}};var Wj=Object.defineProperty,Qj=Object.getOwnPropertyDescriptor,qj=Object.getPrototypeOf,Yj=Reflect.get,Xj=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?Qj(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&Wj(t,r,o),o};let Kj=class extends FT{constructor(){super(),this.resetCameraView=!1,this._list={none:{previewImageFile:""}},window.addEventListener("resize",()=>{this.onResize()})}onResize(){var e;null==(e=this._arrows)||e.forEach(e=>{e.classList[this._content&&this._content.scrollWidth>this._content.clientWidth?"remove":"add"]("invisible")})}connectedCallback(){var e,t,r,n=e=>super[e];return e=this,t=null,r=function*(){this._list=Object.assign(this._list,yield Jj.get()),n("connectedCallback").call(this)},new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())})}shouldUpdate(e){return super.shouldUpdate(e)}updated(e){super.updated(e),this.onResize()}onWheel(e){e.preventDefault(),e.currentTarget.scrollLeft+=e.deltaY}onRightArrowClick(){if(this._content)for(let e=this._content.children.length-1;e>=0;e--)if(tL.isElementInView(this._content.children[e],this._content)){tL.isElementInView(this._content.children[e],this._content,!0)?this._content.children[e+1]&&this._content.children[e+1].scrollIntoView({inline:"center",block:"end",behavior:"smooth"}):this._content.children[e]&&this._content.children[e].scrollIntoView({inline:"center",block:"end",behavior:"smooth"});break}}onLeftArrowClick(){if(this._content)for(let e=0;e<this._content.children.length;e++)if(tL.isElementInView(this._content.children[e],this._content)){tL.isElementInView(this._content.children[e],this._content,!0)?this._content.children[e-1]&&this._content.children[e-1].scrollIntoView({inline:"center",block:"end",behavior:"smooth"}):this._content.children[e]&&this._content.children[e].scrollIntoView({inline:"center",block:"end",behavior:"smooth"});break}}render(){const e={arrow:!0,invisible:!0};return Zk`
+            <div class="${KT(e)}">
+                <div class="arrow-button" @click="${this.onLeftArrowClick}">
+                    <i class="arrow-icon left"></i>
+                </div>
+            </div>
+            <div class="content" @wheel="${this.onWheel}">
+            ${Object.keys(this._list).map(e=>(()=>{const t=new Gj(e,this._list[e]);return t.addEventListener("onChange",e=>{const t=e;this.dispatchEvent(new CustomEvent("onChange",{detail:t.detail})),this.resetCameraView&&t.detail&&t.detail.reset&&CommunicationMessageService.resetCameraView(!1)}),t})())}
+            </div>
+            <div class="${KT(e)}">
+                <div class="arrow-button" @click="${this.onRightArrowClick}">
+                    <i class="arrow-icon right"></i>
+                </div>
+            </div>
+        `}};Kj.styles=[((e,t)=>Yj(qj(e),t,e))(Kj,"styles")||[],$k`${yk(jj)}`],Xj([dk(".content")],Kj.prototype,"_content",2),Xj([hk(".arrow")],Kj.prototype,"_arrows",2),Xj([hk(".arrow-button")],Kj.prototype,"_arrowButtons",2),Xj([lk({type:Boolean,reflect:!0,attribute:"reset-camera-view"})],Kj.prototype,"resetCameraView",2),Kj=Xj([sk("fv-hr-list")],Kj);var Zj=Object.defineProperty,eJ=Object.getOwnPropertyDescriptor,tJ=Object.getPrototypeOf,rJ=Reflect.get,nJ=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?eJ(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&Zj(t,r,o),o};let iJ=class extends wj{constructor(){super(),this.popupSelector="",this.listSelector="",this.popupCloserSelector="",this.hrThemeCount=0,this.configId="new_hr_mode",this.addEventListener("connected",()=>{return e=this,t=null,r=function*(){yield RequestHelperService.fetchConfiguration();const e=yield CommunicationMessageService.getHRThemes();this.hrThemeCount=Object.keys(e).length,this.requestUpdate()},new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});var e,t,r}),this.addEventListener("fv-toolbar-button-clicked",()=>{var e,t;let r=yT.find("FV-POPUP",this.popupSelector?this.popupSelector:"");null==r&&(r=new Tj,document.body.append(r));const n=this.renderRoot.querySelector("button");if(null==n)return;r.owner=n,this.classList.contains("prevent-pointer")&&(r.pointer=!1);let i=yT.find("FV-HR-LIST",this.listSelector?this.listSelector:"");null==i&&(i=new Kj,r.append(i));const o=e=>{var t,n;r.hide(),this.active=!1,i.removeEventListener("onChange",o),null==(n=null==(t=CommunicationInterfaceService.FurnviewWebViewer)?void 0:t.contentWindow)||n.removeEventListener("mousedown",o)};i.addEventListener("onChange",o),null==(t=null==(e=CommunicationInterfaceService.FurnviewWebViewer)?void 0:e.contentWindow)||t.addEventListener("mousedown",o,{passive:!0,capture:!0}),r.IsActive?r.hide():(r.show(),i.onResize())})}connectedCallback(){super.connectedCallback(),this.dispatchEvent(new CustomEvent("connected"))}build(e){return this.hrThemeCount<1?(this.classList.add("disabled-in-config"),Zk``):super.build(e)}render(){const e=this.getImageIcon();return e?this.build(Zk`<img class="image" src=${e}/>`):this.icon?this.build(Zk`<i class="icon ${this.icon}" part="icon hr-mode"></i>`):this.build(Zk`<slot></slot>`)}};iJ.styles=((e,t)=>rJ(tJ(e),t,e))(iJ,"styles")||[],nJ([lk({type:String,reflect:!0,attribute:"popup-selector"})],iJ.prototype,"popupSelector",2),nJ([lk({type:String,reflect:!0,attribute:"list-selector"})],iJ.prototype,"listSelector",2),nJ([lk({type:String,reflect:!0,attribute:"popup-closer-selector"})],iJ.prototype,"popupCloserSelector",2),iJ=nJ([sk("fv-hr-mode-toolbar-button")],iJ);var oJ=Object.defineProperty,sJ=Object.getOwnPropertyDescriptor,aJ=Object.getPrototypeOf,lJ=Reflect.get;let cJ=class extends wj{clickEvent(e){var t,r,n,i=e=>super[e];return t=this,r=null,n=function*(){i("clickEvent").call(this,e);const t=yield CommunicationMessageService.getAnimationStatus();if(t.running)return yield CommunicationMessageService.setAnimationMode(t.mode,!0),void(this.handleActive&&(this.active=t.mode));yield CommunicationMessageService.setAnimationMode(!t.mode,!1),this.handleActive&&(this.active=!t.mode)},new Promise((e,i)=>{var o=e=>{try{a(n.next(e))}catch(e){i(e)}},s=e=>{try{a(n.throw(e))}catch(e){i(e)}},a=t=>t.done?e(t.value):Promise.resolve(t.value).then(o,s);a((n=n.apply(t,r)).next())})}constructor(){super(),this.configId="toolbar_button_animation"}connectedCallback(){super.connectedCallback()}render(){return super.render()}};cJ.styles=((e,t)=>lJ(aJ(e),t,e))(cJ,"styles")||[],cJ=((e,t,r,n)=>{for(var i,o=n>1?void 0:n?sJ(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&oJ(t,r,o),o})([sk("fv-animation-toolbar-button")],cJ);var uJ=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{color:var(--configurator-form-txt-color,unset);display:flex;flex-direction:column;gap:var(--configurator-form-element-gap,unset);padding:var(--configurator-form-padding-top,0) var(--configurator-form-padding-right,0) var(--configurator-form-padding-bottom,0) var(--configurator-form-padding-left,0)}:host .input-form-element{display:flex;flex-direction:row;overflow:var(--configurator-form-input-form-element-overflow,hidden)}:host .form-container,:host .wrapper-container{display:flex;flex-direction:column;gap:var(--configurator-form-form-container-element-gap,var(--configurator-form-element-gap,unset));overflow:var(--configurator-form-form-container-overflow,hidden);transition:height var(--configurator-form-form-toggle-animation-duration,.75s)}:host .form-container .form,:host .form-container .wrapper,:host .wrapper-container .form,:host .wrapper-container .wrapper{display:flex;flex-direction:column;gap:var(--configurator-form-form-element-gap,var(--configurator-form-element-gap,unset));height:fit-content;padding:var(--configurator-form-form-padding-top,0) var(--configurator-form-form-padding-right,0) var(--configurator-form-form-padding-bottom,0) var(--configurator-form-form-padding-left,0)}:host .form-container .closed,:host .wrapper-container .closed{overflow:hidden;padding:0}:host .form-container .form-title,:host .form-container .wrapper-title,:host .wrapper-container .form-title,:host .wrapper-container .wrapper-title{cursor:pointer;display:flex;width:fit-content}:host .form-container .toggle-icon,:host .wrapper-container .toggle-icon{font-size:.95em;width:3em}:host(.hide-empty.empty){display:none}`,dJ=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{position:relative;width:100%}:host .info-display-container{bottom:var(--info-display-container-tooltip-bottom,calc(100% - 1em));left:var(--info-display-container-tooltip-left,unset);max-height:200%;position:absolute;right:var(--info-display-container-tooltip-right,0);top:var(--info-display-container-tooltip-top,unset);width:60%}:host .info-display-container .info-display{--label-background-color:transparent;background:var(--info-display-tooltip,grey);clip-path:var(--info-display-speech-bubble-path,polygon(var(--info-display-speech-bubble-default-top-left,0 0),var(--info-display-speech-bubble-default-bottom-left,0 calc(100% - var(--info-display-speech-bubble-default-arrow-size, 23px))),calc(var(--info-display-speech-bubble-default-arrow-position, 58%) - var(--info-display-speech-bubble-default-arrow-size, 23px)) calc(100% - var(--info-display-speech-bubble-default-arrow-size, 23px)),var(--info-display-speech-bubble-default-arrow-position,58%) 100%,calc(var(--info-display-speech-bubble-default-arrow-position, 58%) + var(--info-display-speech-bubble-default-arrow-size, 23px)) calc(100% - var(--info-display-speech-bubble-default-arrow-size, 23px)),var(--info-display-speech-bubble-default-bottom-right,100% calc(100% - var(--info-display-speech-bubble-default-arrow-size, 23px))),var(--info-display-speech-bubble-default-top-right,100% 0)));color:var(--info-display-tooltip-color,#fff);height:100%;left:var(--info-display-speech-bubble-default-arrow-position,58%);max-height:100%;padding:var(--info-display-tooltip-padding,.25em .25em calc(.25em + var(--info-display-speech-bubble-default-arrow-size, 23px)) .25em);position:relative;transform:translateX(calc(var(--info-display-speech-bubble-default-arrow-position, 58%)*-1));transition:all .5s ease-in-out;width:calc(100% - .5em);z-index:999}:host .info-display-container .timed-out{visibility:hidden;white-space:nowrap;width:0}`,hJ=Object.defineProperty,pJ=Object.getOwnPropertyDescriptor,mJ=Object.getPrototypeOf,_J=Reflect.get,gJ=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?pJ(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&hJ(t,r,o),o};const fJ=class extends FT{constructor(){super(),this.group="",this.name="",this.names=new Array,this.index=void 0,this.nameTextOverwrite="",this.hideAlternativeName=!1,this.decimalDivider=".",this.floatDigits=2,this.valueInfos=new Array,this.valueInfoTimeout=3500,this._form=void 0,this.updating=!1,LocalesModel.IsFileRead().then(()=>{this.requestUpdate()})}connectedCallback(){super.connectedCallback(),fJ.AllElements.push(this)}disconnectedCallback(){super.disconnectedCallback();const e=fJ.AllElements.indexOf(this);e>-1&&fJ.AllElements.splice(e,1)}SetApiData(e,t=!1,r=!1){return n=this,i=null,o=function*(){return yield ConfiguratorApi.SetApiData({groups:e,"prevent-regen-all":t},r)},new Promise((e,t)=>{var r=e=>{try{a(o.next(e))}catch(e){t(e)}},s=e=>{try{a(o.throw(e))}catch(e){t(e)}},a=t=>t.done?e(t.value):Promise.resolve(t.value).then(r,s);a((o=o.apply(n,i)).next())});var n,i,o}get SettingApiDataCounter(){return fJ._settingApiDataCounter}IncreaseSettingApiDataCounter(){fJ._settingApiDataCounter+=1}DecreaseSettingApiDataCounter(){fJ._settingApiDataCounter-=1}get Form(){return this._form}RefreshUiData(e,t=!1,r=[]){fJ.Data=e,this._form?this._form.UpdateAll(e,t,r):console.error("Element used outside of form!",this.name)}get Updating(){return this.updating}UpdateHighlight(e){this.dispatchEvent(new CustomEvent("configurator-form-update-highlight",{bubbles:!0,composed:!0,detail:{ii:e}}))}GetTextId(){const e=this.Get();return e.text&&e.text.length>0?e.text:this.name}GetText(){const e=this.GetTextId();return LocalesModel.translate(e,e)}static GetRecursiveFromGroup(e,t){if(e[t])return e[t];const r=Object.keys(e);for(const n of r){const r=e[n].children;if(r){const e=fJ.GetRecursiveFromGroup(r,t);if(""!=e.type)return e}}return{type:""}}GetModificationType(e){return"int"==e?"int":"float"==e?"float":"button"==e?"button":"checkbox"==e?"int":"option-selection"==e?"string":"error"}Get(e){const t=e||this.name;return fJ.Data&&fJ.Data[this.group]&&t?fJ.GetRecursiveFromGroup(fJ.Data[this.group],t):{type:""}}GetValueInfo(){if(null==fJ.Data)return[];if(null==fJ.Data[this.group])return[];const e=fJ.Data[this.group]["info-list"];if(null==e)return[];if(null!=this.name&&null!=e[this.name])return[e[this.name]];const t=new Array;return this.names.forEach(r=>{null!=e[r]&&t.push(e[r])}),t}Refresh(e,t){fJ.Data=e,this.requestUpdate(),0==t&&CommunicationMessageService.resetCameraView(!0)}InitData(e,t){this._form=t,null==fJ.Data&&(fJ.Data=e)}static GetAll(){return fJ.AllElements}attributeChangedCallback(e,t,r){super.attributeChangedCallback(e,t,r),"value-info"===e&&r&&r.length>0&&setTimeout(()=>{var e;null==(e=this.infoDisplay)||e.classList.add("timed-out")},this.valueInfoTimeout)}createTemplate(e){return this.valueInfos=this.GetValueInfo(),this.valueInfos.length<1?Zk`${e}`:Zk`
+            <div class="info-display-container">
+                <div class="info-display">${this.valueInfos.map(e=>Zk`<fv-label>${e}</fv-label>`)}</div>
+            </div>
+            ${e}
+        `}update(e){this.updating=!0,super.update(e)}updated(e){super.updated(e),this.updating=!1}};let vJ=fJ;vJ.styles=[((e,t)=>_J(mJ(e),t,e))(fJ,"styles")||[],$k`${yk(dJ)}`],vJ._settingApiDataCounter=0,vJ.AllElements=[],vJ.Data=void 0,gJ([lk({type:String,reflect:!0})],vJ.prototype,"group",2),gJ([lk({type:String,reflect:!0})],vJ.prototype,"name",2),gJ([lk({type:Array,reflect:!0})],vJ.prototype,"names",2),gJ([lk({type:Number,reflect:!0})],vJ.prototype,"index",2),gJ([lk({type:String,reflect:!0})],vJ.prototype,"nameTextOverwrite",2),gJ([lk({type:Boolean,reflect:!0})],vJ.prototype,"hideAlternativeName",2),gJ([lk({type:String,reflect:!0,attribute:"decimal-divider"})],vJ.prototype,"decimalDivider",2),gJ([lk({type:Number,reflect:!0,attribute:"float-digits"})],vJ.prototype,"floatDigits",2),gJ([lk({type:Array,reflect:!0,attribute:"value-info"})],vJ.prototype,"valueInfos",2),gJ([lk({type:Number,reflect:!0,attribute:"value-info-timeout"})],vJ.prototype,"valueInfoTimeout",2),gJ([dk(".info-display")],vJ.prototype,"infoDisplay",2);var bJ=Object.defineProperty,yJ=Object.getOwnPropertyDescriptor,$J=Object.getPrototypeOf,xJ=Reflect.get,SJ=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?yJ(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&bJ(t,r,o),o},wJ=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});let AJ=class extends FT{constructor(){super(),this.formElements=[],this.refresh=!1,this.decimalDivider=".",this.floatDigits=2,this.valueInfoTimeout=3500,this.preventViewRecenter=!1,this.events={},this.configuratorTitle={},this.numberGroupTitles=!1,this.groupsToSkipNumbering=[],this.groupsToIgnore=new Array,this.groupTitleToggles=!1,this.groupTitleTogglesStartClosed=!1,this.formElementWrapperTogglesStartClosed=!1,this.groupTitleToggleOpenIcon="fv-icon-eye-2",this.groupTitleToggleClosedIcon="fv-icon-eye-closed",this.updateEvents=[],this.forceReadGroupsOnRefresh=!1,this.highlightElementOnGroupFormEdit=!1,this.preventRefresh=!1,this.preventRegenAll=!1,this.refreshOnHideStateChange=!1,this._formIsBeingHidden=!1,this.formContainerClosedStates={},this.formContainerPreviousHeights={},this._groupTitleClickActive=!1,AJ.ReadGroups(this.preventRefresh,this.preventRegenAll),AJ.AllElements.push(this),this.addEventListener("configurator-form-update-highlight",e=>wJ(this,null,function*(){var t;this.highlightElementOnGroupFormEdit&&(null==(t=e.detail)?void 0:t.ii)&&(yield pP.updateHighlightBox(e.detail.ii))})),EventFactoryService.LastPOLoaded.register(()=>{this.UpdateAll()}),EventFactoryService.RefreshPropertyPanel.register(()=>{this.UpdateAll()}),EventFactoryService.SendEvent.register(e=>{55665533==e&&this.UpdateAll()}),this.addEventListener("openscenebuttonpage",e=>wJ(this,null,function*(){e.detail&&window.dispatchEvent(new cG({async:!1,events:[e.detail.value]}))})),this.addEventListener("closescenebuttonpage",e=>wJ(this,null,function*(){if(e.detail){const t=e.detail;for(const e of t.owners)yield ConfiguratorApi.SetApiData({groups:[{name:e,modifications:[t.value]}],"prevent-regen-all":this.preventRegenAll})}})),this.addHideStateUpdatedEventListener(e=>wJ(this,null,function*(){if(e?this.events.hide&&window.dispatchEvent(new cG({async:!1,events:this.events.hide})):this.events.show&&window.dispatchEvent(new cG({async:!1,events:this.events.show})),this.refreshOnHideStateChange)return yield AJ.Refresh("",this,!0,this.preventRefresh,this.preventRegenAll),void(yield this.updateComplete);this.requestUpdate(),yield this.updateComplete}))}getAnimationDurationMs(){let e=getComputedStyle(this).getPropertyValue("--configurator-form-form-toggle-animation-duration");return""==e&&(e="0.75s"),parseFloat(e)*(/\ds$/.test(e)?1e3:1)}static ReadGroups(e,t){return wJ(this,null,function*(){yield CommunicationInterfaceService.IsAppReady,AJ._data=yield ConfiguratorApi.GetApiData(e,t);const r=Object.keys(AJ._data);r&&(AJ._groups=r)})}static get Data(){return AJ._data}static get Groups(){return AJ._groups}getConfiguratorTitle(e){if(null!=this.configuratorTitle.specific){const t=this.configuratorTitle.specific[e];if(null!=t)return t.length>0?t:void 0}return this.configuratorTitle.default}triggerUpdateEvents(){this.updateEvents&&this.updateEvents.length>0&&window.dispatchEvent(new cG({async:!1,events:this.updateEvents}))}UpdateAll(){return wJ(this,arguments,function*(e=void 0,t=!1,r=[]){if(e){if(JSON.stringify(AJ._data)==JSON.stringify(e))return;if(!this.forceReadGroupsOnRefresh){AJ._refreshing=!0,AJ._data=e;const t=Object.keys(AJ._data);t&&(AJ._groups=t)}}const n=null==e||this.forceReadGroupsOnRefresh;yield AJ.Refresh("true",this,n,this.preventRefresh,this.preventRegenAll,t,r),yield this.updateComplete,this.triggerUpdateEvents()})}static CreateFormElement(e,t,r,n){if(e.name){if(""===vJ.GetRecursiveFromGroup(AJ._data[t],e.name).type)return Zk``}if(e.names)for(const r of e.names){if(""===vJ.GetRecursiveFromGroup(AJ._data[t],r).type)return Zk``}const i=document.createElement("div");i.classList.add("input-form-element"),null!=n&&(i.slot=n);let o=e.name?e.name:"";if(null!=e.names){for(const t of e.names)o+=t,o+="-";o=o.substring(0,o.length-1)}const s=document.createElement(e.tag);if(s.id="id-"+o,s.name=e.name?e.name:"",s.names=e.names?e.names:[],s.group=t,s.InitData(AJ._data,r),s.decimalDivider=r.decimalDivider,s.floatDigits=r.floatDigits,s.valueInfoTimeout=r.valueInfoTimeout,e.attributes){const t=Object.keys(e.attributes);for(const r of t){const t=e.attributes[r];"boolean"==typeof t&&t?s.setAttribute(r,""):"boolean"!=typeof t||t?"object"==typeof t?s.setAttribute(r,JSON.stringify(t)):s.setAttribute(r,t):s.removeAttribute(r)}}if(e.styleVars){const t=Object.keys(e.styleVars);for(const r of t)s.style.setProperty(r,e.styleVars[r])}null!=s&&null!=s.Refresh||console.error("configurator.form.component> No component!"),r.refresh&&s.Refresh(AJ._data,r.preventViewRecenter),i.appendChild(s);const a=document.createElement("slot");return a.name="slot-"+o,i.appendChild(a),Zk`${i}`}getGroupNumberingText(e,t){const r=t.indexOf(e);return r<0?Zk``:Zk` ${r+1}`}savePreviousFormHeight(e,t){this.hideElement||this.isPartOfHiddenSubtree()||(this.formContainerPreviousHeights[e]=t)}clearFormHeights(e,t){const r=this.renderRoot.querySelector("."+e+"-container-"+t);r&&(r.style.height="")}updateFormHeights(e,t,r){const n=this.renderRoot.querySelector("."+e+"-container-"+t);if(n&&(null==this.formContainerClosedStates[t]&&(this.formContainerClosedStates[t]=r),this.groupTitleToggles)){let r=0;const i=this.renderRoot.querySelector("."+e+"-title-"+t);i&&(r+=i.offsetHeight);const o=this.renderRoot.querySelector("."+e+"-"+t);if(o&&(r+=o.offsetHeight),i){const e=getComputedStyle(n);r+=parseInt(e.rowGap)}this.formContainerClosedStates[t]&&i&&(r=i.offsetHeight);const s=this.formContainerPreviousHeights[t];this._formIsBeingHidden&&void 0!==s&&(r=s),n.style.height=r+"px",this.savePreviousFormHeight(t,r)}}toggleIcon(e,t){const r=t.split(" ");for(const t of r)e.classList.toggle(t)}get groupTitleClickActive(){return this._groupTitleClickActive}set groupTitleClickActive(e){this._groupTitleClickActive!=e&&(this._groupTitleClickActive=e,this.triggerUpdateEvents())}groupTitleClicked(e,t,r="",n=""){if(!AJ._refreshing&&!this.groupTitleClickActive&&(this.groupTitleClickActive=!0,this.groupTitleToggles)){const i=this.renderRoot.querySelector("."+e+"-title-"+t);if(null==i)return void(this.groupTitleClickActive=!1);const o=i.querySelector(".toggle-icon");if(null==o)return void(this.groupTitleClickActive=!1);const s=this.renderRoot.querySelector("."+e+"-container-"+t);if(null==s)return void(this.groupTitleClickActive=!1);this.toggleIcon(o,this.groupTitleToggleOpenIcon),this.toggleIcon(o,this.groupTitleToggleClosedIcon);let a=!1;const l=this.renderRoot.querySelector("."+e+"-"+t);l&&(l.classList.contains("closed")?l.classList.remove("closed"):a=!0);const c=this.renderRoot.querySelector("."+r+"-container-"+n),u=this.getAnimationDurationMs();if(a)a&&(s.style.height=i.offsetHeight+"px",this.savePreviousFormHeight(t,i.offsetHeight),this.formContainerClosedStates[t]=!0);else{this.formContainerClosedStates[t]=!1,s.style.height="";let e=0;if(c){const t=c.offsetHeight;c.style.height="",e=c.offsetHeight,c.style.height=t+"px",this.savePreviousFormHeight(n,t)}const r=s.offsetHeight;s.style.height=i.offsetHeight+"px",this.savePreviousFormHeight(t,i.offsetHeight),setTimeout(()=>{s.style.height=r+"px",this.savePreviousFormHeight(t,r),c&&(c.style.height=e+"px",this.savePreviousFormHeight(n,e)),setTimeout(()=>{this.groupTitleClickActive=!1},u)},1)}a&&setTimeout(()=>{if(l&&l.classList.add("closed"),c){const e=c.offsetHeight;c.style.height="";const t=c.offsetHeight;c.style.height=e+"px",this.savePreviousFormHeight(n,e),setTimeout(()=>{c.style.height=t+"px",this.groupTitleClickActive=!1,this.savePreviousFormHeight(n,t)},1)}else this.groupTitleClickActive=!1},u)}}createFormWrapperOrElement(e,t){if(e.tag)return AJ.CreateFormElement(e,t,this);const r=e;if(r.elements.length>0){let e=!1;for(const n of r.elements){if(n.name){""!==vJ.GetRecursiveFromGroup(AJ._data[t],n.name).type&&(e=!0);continue}if(n.names)for(const r of n.names){""!==vJ.GetRecursiveFromGroup(AJ._data[t],r).type&&(e=!0)}}if(e)return this.formElementWrapperTogglesStartClosed&&null==this.formContainerClosedStates[t+"-"+r.title]&&(this.formContainerClosedStates[t+"-"+r.title]=!0),Zk`
+                    <div class="wrapper-container wrapper-container-${t}-${r.title}">
+                        <div class="wrapper-title wrapper-title-${t}-${r.title}" @click="${()=>this.groupTitleClicked("wrapper",t+"-"+r.title,"form",t)}">
+                            <fv-label class="custom" i18n="${r.title}">${r.title}</fv-label>
+                            ${this.groupTitleToggles?Zk`<div class="toggle-icon ${this.determineToggleIcon(t+"-"+r.title)}"></div>`:""}
+                        </div>
+                        <div class="wrapper wrapper-${t}-${r.title}">
+                            ${r.elements.map(e=>this.createFormWrapperOrElement(e,t))}
+                        </div>
+                    </div>
+                `}return Zk``}determineToggleIcon(e){return this.formContainerClosedStates[e]?this.groupTitleToggleClosedIcon:this.groupTitleToggleOpenIcon}createFormElements(e,t){if(this.groupsToIgnore.includes(e))return Zk``;this.groupTitleTogglesStartClosed&&null==this.formContainerClosedStates[e]&&(this.formContainerClosedStates[e]=!0);const r=AJ.Data[e];return Zk`
+            <div class="form-container form-container-${e}"
+                @mouseenter="${()=>this.onMouseEnterFromContainer(r)}"
+                @mouseleave="${()=>this.onMouseLeaveFormContainer(r)}">
+                ${this.getConfiguratorTitle(e)?Zk`<fv-label class="custom form-title form-title-${e}" @click="${()=>this.groupTitleClicked("form",e)}">${this.getConfiguratorTitle(e)}${this.getGroupNumberingText(e,t)}${this.groupTitleToggles?Zk`<div class="toggle-icon ${this.determineToggleIcon(e)}"></div>`:""}</fv-label>`:Zk``}
+                <div class="form form-${e}">
+                    ${this.formElements.map(t=>this.createFormWrapperOrElement(t,e))}
+                </div>
+            </div>
+        `}onMouseEnterFromContainer(e){return wJ(this,null,function*(){this.highlightElementOnGroupFormEdit&&(null==e?void 0:e["lo-owned"])&&(null==e?void 0:e["instance-ident"])&&(yield pP.addHighlightBox(null==e?void 0:e["instance-ident"]))})}onMouseLeaveFormContainer(e){return wJ(this,null,function*(){this.highlightElementOnGroupFormEdit&&(null==e?void 0:e["lo-owned"])&&(null==e?void 0:e["instance-ident"])&&(yield pP.removeHighlightBox(null==e?void 0:e["instance-ident"]))})}updated(e){super.updated(e),this.classList.remove("empty"),this.shadowRoot&&0==this.shadowRoot.children.length&&this.classList.add("empty");for(const e of AJ._groups){if(this.groupTitleTogglesStartClosed&&null==this.formContainerClosedStates[e]||this.formContainerClosedStates[e]){this.renderRoot.querySelector(".form-"+e).classList.add("closed")}for(const t of this.formElements)if((this.formElementWrapperTogglesStartClosed&&null==this.formContainerClosedStates[e+"-"+t.title]||this.formContainerClosedStates[e+"-"+t.title])&&t.title){const r=this.renderRoot.querySelector(".wrapper-"+e+"-"+t.title);r&&r.classList.add("closed")}}setTimeout(()=>{for(const e of AJ._groups){for(const t of this.formElements)t.title&&this.updateFormHeights("wrapper",e+"-"+t.title,this.formElementWrapperTogglesStartClosed);this.updateFormHeights("form",e,this.groupTitleTogglesStartClosed)}this._formIsBeingHidden=!1,0==this.hideElement&&0==this.isPartOfHiddenSubtree()&&setTimeout(()=>{this.triggerUpdateEvents()},this.getAnimationDurationMs())},1)}render(){if(this.formElements.length<1)return Zk`no formElements defined!`;if(AJ._groups.length<1)return console.warn("configurator.form> Keine Gruppen definiert!"),Zk``;const e=new Array;if(this.numberGroupTitles)for(const t of AJ._groups)this.groupsToIgnore.includes(t)||this.groupsToSkipNumbering.includes(t)||e.push(t);return Zk`
+            ${AJ._groups.map(t=>this.createFormElements(t,e))}
+        `}static Refresh(e,t){return wJ(this,arguments,function*(e,t,r=!0,n=!1,i=!1,o=!1,s=[]){if(null!=e){if(AJ._refreshing=!0,r){const e=AJ._data;if(yield AJ.ReadGroups(n,i),JSON.stringify(AJ._data)==JSON.stringify(e))return t.refresh=!1,void(AJ._refreshing=!1)}o||AJ.AllElements.forEach(e=>{e.requestUpdate()}),vJ.GetAll().forEach(e=>{s.includes(e)||e.Refresh(AJ._data,t.preventViewRecenter)}),AJ._refreshing=!1}})}static RefreshOld(e,t,r=!0,n=!1,i=!1){return wJ(this,null,function*(){if(null!=e){if(AJ._refreshing=!0,r){const e=AJ._data;if(yield AJ.ReadGroups(n,i),JSON.stringify(AJ._data)==JSON.stringify(e))return t.refresh=!1,void(AJ._refreshing=!1)}AJ.AllElements.forEach(e=>{e.requestUpdate()}),vJ.GetAll().forEach(e=>{e.Refresh(AJ._data,t.preventViewRecenter)}),t.refresh=!1,AJ._refreshing=!1}})}attributeChangedCallback(e,t,r){super.attributeChangedCallback(e,t,r),"refresh"===e&&AJ.Refresh(r,this,!1,this.preventRefresh,this.preventRegenAll)}};AJ.styles=[((e,t)=>xJ($J(e),t,e))(AJ,"styles")||[],$k`${yk(uJ)}`],AJ._groups=[],AJ._data={},AJ.AllElements=[],AJ._refreshing=!1,SJ([lk({type:Array,attribute:"form-elements",reflect:!0})],AJ.prototype,"formElements",2),SJ([lk({type:Boolean,reflect:!0})],AJ.prototype,"refresh",2),SJ([lk({type:String,reflect:!0,attribute:"decimal-divider"})],AJ.prototype,"decimalDivider",2),SJ([lk({type:Number,reflect:!0,attribute:"float-digits"})],AJ.prototype,"floatDigits",2),SJ([lk({type:Number,reflect:!0,attribute:"value-info-timeout"})],AJ.prototype,"valueInfoTimeout",2),SJ([lk({type:Boolean,reflect:!0,attribute:"prevent-view-recenter"})],AJ.prototype,"preventViewRecenter",2),SJ([lk({type:Object,reflect:!0,attribute:"events"})],AJ.prototype,"events",2),SJ([lk({type:Object,reflect:!0,attribute:"configurator-title"})],AJ.prototype,"configuratorTitle",2),SJ([lk({type:Boolean,reflect:!0,attribute:"number-group-titles"})],AJ.prototype,"numberGroupTitles",2),SJ([lk({type:Array,reflect:!0,attribute:"groups-to-skip-numbering"})],AJ.prototype,"groupsToSkipNumbering",2),SJ([lk({type:Array,reflect:!0,attribute:"groups-to-ignore"})],AJ.prototype,"groupsToIgnore",2),SJ([lk({type:Boolean,reflect:!0,attribute:"group-title-toggles"})],AJ.prototype,"groupTitleToggles",2),SJ([lk({type:Boolean,reflect:!0,attribute:"group-title-toggles-start-closed"})],AJ.prototype,"groupTitleTogglesStartClosed",2),SJ([lk({type:Boolean,reflect:!0,attribute:"form-elements-wrapper-toggles-start-closed"})],AJ.prototype,"formElementWrapperTogglesStartClosed",2),SJ([lk({type:String,reflect:!0,attribute:"group-title-toggle-open-icon"})],AJ.prototype,"groupTitleToggleOpenIcon",2),SJ([lk({type:String,reflect:!0,attribute:"group-title-toggle-closed-icon"})],AJ.prototype,"groupTitleToggleClosedIcon",2),SJ([lk({type:Array,reflect:!0,attribute:"update-events"})],AJ.prototype,"updateEvents",2),SJ([lk({type:Boolean,reflect:!0,attribute:"force-read-groups-on-refresh"})],AJ.prototype,"forceReadGroupsOnRefresh",2),SJ([lk({type:Boolean,reflect:!0,attribute:"highlight-element-on-group-form-edit"})],AJ.prototype,"highlightElementOnGroupFormEdit",2),SJ([lk({type:Boolean,reflect:!0,attribute:"prevent-refresh"})],AJ.prototype,"preventRefresh",2),SJ([lk({type:Boolean,reflect:!0,attribute:"prevent-regen-all"})],AJ.prototype,"preventRegenAll",2),SJ([lk({type:Boolean,reflect:!0,attribute:"refresh-on-hide-state-change"})],AJ.prototype,"refreshOnHideStateChange",2),AJ=SJ([sk("fv-configurator-form")],AJ);
+/**
+ * @license
+ * Copyright 2019 Google LLC
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+const CJ=globalThis,EJ=CJ.ShadowRoot&&(void 0===CJ.ShadyCSS||CJ.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,IJ=Symbol(),MJ=new WeakMap;class kJ{constructor(e,t,r){if(this._$cssResult$=!0,r!==IJ)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o;const t=this.t;if(EJ&&void 0===e){const r=void 0!==t&&1===t.length;r&&(e=MJ.get(t)),void 0===e&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),r&&MJ.set(t,e))}return e}toString(){return this.cssText}}const TJ=EJ?e=>e:e=>e instanceof CSSStyleSheet?(e=>{let t="";for(const r of e.cssRules)t+=r.cssText;return(e=>new kJ("string"==typeof e?e:e+"",void 0,IJ))(t)})(e):e,{is:RJ,defineProperty:LJ,getOwnPropertyDescriptor:PJ,getOwnPropertyNames:DJ,getOwnPropertySymbols:NJ,getPrototypeOf:FJ}=Object,OJ=globalThis,BJ=OJ.trustedTypes,UJ=BJ?BJ.emptyScript:"",VJ=OJ.reactiveElementPolyfillSupport,zJ=(e,t)=>e,HJ={toAttribute(e,t){switch(t){case Boolean:e=e?UJ:null;break;case Object:case Array:e=null==e?e:JSON.stringify(e)}return e},fromAttribute(e,t){let r=e;switch(t){case Boolean:r=null!==e;break;case Number:r=null===e?null:Number(e);break;case Object:case Array:try{r=JSON.parse(e)}catch(e){r=null}}return r}},GJ=(e,t)=>!RJ(e,t),jJ={attribute:!0,type:String,converter:HJ,reflect:!1,useDefault:!1,hasChanged:GJ};
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ * SPDX-License-Identifier: BSD-3-Clause
+ */Symbol.metadata??=Symbol("metadata"),OJ.litPropertyMetadata??=new WeakMap;class JJ extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,t=jJ){if(t.state&&(t.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((t=Object.create(t)).wrapped=!0),this.elementProperties.set(e,t),!t.noAccessor){const r=Symbol(),n=this.getPropertyDescriptor(e,r,t);void 0!==n&&LJ(this.prototype,e,n)}}static getPropertyDescriptor(e,t,r){const{get:n,set:i}=PJ(this.prototype,e)??{get(){return this[t]},set(e){this[t]=e}};return{get:n,set(t){const o=n?.call(this);i?.call(this,t),this.requestUpdate(e,o,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??jJ}static _$Ei(){if(this.hasOwnProperty(zJ("elementProperties")))return;const e=FJ(this);e.finalize(),void 0!==e.l&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(zJ("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(zJ("properties"))){const e=this.properties,t=[...DJ(e),...NJ(e)];for(const r of t)this.createProperty(r,e[r])}const e=this[Symbol.metadata];if(null!==e){const t=litPropertyMetadata.get(e);if(void 0!==t)for(const[e,r]of t)this.elementProperties.set(e,r)}this._$Eh=new Map;for(const[e,t]of this.elementProperties){const r=this._$Eu(e,t);void 0!==r&&this._$Eh.set(r,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){const t=[];if(Array.isArray(e)){const r=new Set(e.flat(1/0).reverse());for(const e of r)t.unshift(TJ(e))}else void 0!==e&&t.push(TJ(e));return t}static _$Eu(e,t){const r=t.attribute;return!1===r?void 0:"string"==typeof r?r:"string"==typeof e?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$EO??=new Set).add(e),void 0!==this.renderRoot&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){const e=new Map,t=this.constructor.elementProperties;for(const r of t.keys())this.hasOwnProperty(r)&&(e.set(r,this[r]),delete this[r]);e.size>0&&(this._$Ep=e)}createRenderRoot(){const e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((e,t)=>{if(EJ)e.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(const r of t){const t=document.createElement("style"),n=CJ.litNonce;void 0!==n&&t.setAttribute("nonce",n),t.textContent=r.cssText,e.appendChild(t)}})(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,t,r){this._$AK(e,r)}_$ET(e,t){const r=this.constructor.elementProperties.get(e),n=this.constructor._$Eu(e,r);if(void 0!==n&&!0===r.reflect){const i=(void 0!==r.converter?.toAttribute?r.converter:HJ).toAttribute(t,r.type);this._$Em=e,null==i?this.removeAttribute(n):this.setAttribute(n,i),this._$Em=null}}_$AK(e,t){const r=this.constructor,n=r._$Eh.get(e);if(void 0!==n&&this._$Em!==n){const e=r.getPropertyOptions(n),i="function"==typeof e.converter?{fromAttribute:e.converter}:void 0!==e.converter?.fromAttribute?e.converter:HJ;this._$Em=n;const o=i.fromAttribute(t,e.type);this[n]=o??this._$Ej?.get(n)??o,this._$Em=null}}requestUpdate(e,t,r,n=!1,i){if(void 0!==e){const o=this.constructor;if(!1===n&&(i=this[e]),r??=o.getPropertyOptions(e),!((r.hasChanged??GJ)(i,t)||r.useDefault&&r.reflect&&i===this._$Ej?.get(e)&&!this.hasAttribute(o._$Eu(e,r))))return;this.C(e,t,r)}!1===this.isUpdatePending&&(this._$ES=this._$EP())}C(e,t,{useDefault:r,reflect:n,wrapped:i},o){r&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,o??t??this[e]),!0!==i||void 0!==o)||(this._$AL.has(e)||(this.hasUpdated||r||(t=void 0),this._$AL.set(e,t)),!0===n&&this._$Em!==e&&(this._$Eq??=new Set).add(e))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}const e=this.scheduleUpdate();return null!=e&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[e,t]of this._$Ep)this[e]=t;this._$Ep=void 0}const e=this.constructor.elementProperties;if(e.size>0)for(const[t,r]of e){const{wrapped:e}=r,n=this[t];!0!==e||this._$AL.has(t)||void 0===n||this.C(t,void 0,r,n)}}let e=!1;const t=this._$AL;try{e=this.shouldUpdate(t),e?(this.willUpdate(t),this._$EO?.forEach(e=>e.hostUpdate?.()),this.update(t)):this._$EM()}catch(t){throw e=!1,this._$EM(),t}e&&this._$AE(t)}willUpdate(e){}_$AE(e){this._$EO?.forEach(e=>e.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Eq&&=this._$Eq.forEach(e=>this._$ET(e,this[e])),this._$EM()}updated(e){}firstUpdated(e){}}JJ.elementStyles=[],JJ.shadowRootOptions={mode:"open"},JJ[zJ("elementProperties")]=new Map,JJ[zJ("finalized")]=new Map,VJ?.({ReactiveElement:JJ}),(OJ.reactiveElementVersions??=[]).push("2.1.2");
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+const WJ=Symbol();class QJ{get taskComplete(){return this.t||(1===this.i?this.t=new Promise((e,t)=>{this.o=e,this.h=t}):3===this.i?this.t=Promise.reject(this.l):this.t=Promise.resolve(this.u)),this.t}constructor(e,t,r){this.p=0,this.i=0,(this._=e).addController(this);const n="object"==typeof t?t:{task:t,args:r};this.v=n.task,this.j=n.args,this.m=n.argsEqual??qJ,this.k=n.onComplete,this.A=n.onError,this.autoRun=n.autoRun??!0,"initialValue"in n&&(this.u=n.initialValue,this.i=2,this.O=this.T?.())}hostUpdate(){!0===this.autoRun&&this.S()}hostUpdated(){"afterUpdate"===this.autoRun&&this.S()}T(){if(void 0===this.j)return;const e=this.j();if(!Array.isArray(e))throw Error("The args function must return an array");return e}async S(){const e=this.T(),t=this.O;this.O=e,e===t||void 0===e||void 0!==t&&this.m(t,e)||await this.run(e)}async run(e){let t,r;e??=this.T(),this.O=e,1===this.i?this.q?.abort():(this.t=void 0,this.o=void 0,this.h=void 0),this.i=1,"afterUpdate"===this.autoRun?queueMicrotask(()=>this._.requestUpdate()):this._.requestUpdate();const n=++this.p;this.q=new AbortController;let i=!1;try{t=await this.v(e,{signal:this.q.signal})}catch(e){i=!0,r=e}if(this.p===n){if(t===WJ)this.i=0;else{if(!1===i){try{this.k?.(t)}catch{}this.i=2,this.o?.(t)}else{try{this.A?.(r)}catch{}this.i=3,this.h?.(r)}this.u=t,this.l=r}this._.requestUpdate()}}abort(e){1===this.i&&this.q?.abort(e)}get value(){return this.u}get error(){return this.l}get status(){return this.i}render(e){switch(this.i){case 0:return e.initial?.();case 1:return e.pending?.();case 2:return e.complete?.(this.value);case 3:return e.error?.(this.error);default:throw Error("Unexpected status: "+this.i)}}}const qJ=(e,t)=>e===t||e.length===t.length&&e.every((e,r)=>!GJ(e,t[r]));var YJ=Object.defineProperty,XJ=Object.getOwnPropertyDescriptor,KJ=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});class ZJ extends FT{constructor(e=!0){super(e),this._fetchParameters={},this._fetchPromise=void 0,this._renderTask=new QJ(this,{task:e=>KJ(this,[e],function*([e]){return null==this._fetchPromise&&(this._fetchPromise=e.Fetch(e.FetchParameters)),yield this._fetchPromise}),args:()=>[this]})}set FetchParameters(e){this._fetchParameters=Object.assign(this._fetchParameters,e),JSON.stringify(this._fetchParameters)!=JSON.stringify(e)&&this.Refetch()}get FetchParameters(){return this._fetchParameters}get LastRenderResult(){return this._completedRender}render(){return this._renderTask.render({pending:()=>this.renderPending(),complete:e=>this.renderComplete(e,void 0),error:e=>this.renderError(e),initial:()=>this.renderInitial()})}renderInitial(){return Zk`<slot name="loader"></slot>`}renderPending(){return null!=this.LastRenderResult?this.LastRenderResult:Zk`<slot name="loader"></slot>`}renderComplete(e,t){return null==t?this.renderPending():(this._completedRender=t,t)}renderError(e){return Zk`Error: ${e}`}Fetch(e){return KJ(this,null,function*(){console.error("No Fetch Method defined for",this)})}CheckFetchPromise(){return KJ(this,null,function*(){return null!=this._fetchPromise&&(yield this._fetchPromise,!0)})}Refetch(){return KJ(this,null,function*(){this._fetchPromise=void 0,this._renderTask.run(),yield this.CheckFetchPromise(),yield this.updateComplete})}}((e,t,r,n)=>{for(var i,o=n>1?void 0:n?XJ(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);n&&o&&YJ(t,r,o)})([lk({type:Object,reflect:!0,attribute:"fetch-parameters"})],ZJ.prototype,"_fetchParameters",2);var eW=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{align-items:var(--card-align-items,center);aspect-ratio:var(--card-aspect-ratio,1/1);background:var(--card-background,#fff);border:var(--card-border,unset);border-radius:var(--card-border-radius,unset);box-shadow:var(--card-box-shadow,unset);color:var(--card-text-color,var(--primary-color,red));cursor:var(--card-cursor,pointer);display:flex;flex-direction:var(--card-flex-direction,column);font-size:var(--card-font-size,unset);justify-content:var(--card-justify-content,center);margin:var(--card-margin,unset);max-height:var(--card-max-height,initial);max-width:var(--card-max-width,initial);min-height:var(--card-min-height,initial);min-width:var(--card-min-width,initial);overflow:hidden;padding:var(--card-padding,unset);position:relative;width:var(--card-width,15vw)}:host(:hover){background:var(--card-hover-background,var(--card-background,#fff));border:var(--card-hover-border,var(--card-border,unset));border-radius:var(--card-hover-border-radius,var(--card-border-radius,unset));box-shadow:var(--card-hover-box-shadow,var(--card-box-shadow,unset));color:var(--card-hover-text-color,var(--card-text-color,var(--primary-color,red)));font-size:var(--card-hover-font-size,var(--card-font-size,unset));margin:var(--card-hover-margin,var(--card-margin,unset));padding:var(--card-hover-padding,var(--card-padding,unset))}:host(.active){background:var(--card-active-background,var(--card-background,#fff));border:var(--card-active-border,var(--card-border,unset));border-radius:var(--card-active-border-radius,var(--card-border-radius,unset))}:host(.active:hover){background:var(--card-active-hover-background,var(--card-active-background,var(--card-background,#fff)));border:var(--card-active-hover-border,var(--card-active-border,var(--card-border,unset)));border-radius:var(--card-active-hover-border-radius,var(--card-active-border-radius,var(--card-border-radius,unset)))}:host(.disabled-card){background:var(--card-disabled-background,var(--card-background,#fff));border:var(--card-disabled-border,var(--card-border,unset));border-radius:var(--card-disabled-border-radius,var(--card-border-radius,unset))}:host(.disabled-card:hover){background:var(--card-disabled-hover-background,var(--card-disabled-background,var(--card-background,#fff)));border:var(--card-disabled-hover-border,var(--card-disabled-border,var(--card-border,unset)));border-radius:var(--card-disabled-hover-border-radius,var(--card-disabled-border-radius,var(--card-border-radius,unset)))}:host(.zoom-on-hover){transform:scale(1);transition:transform var(--card-hover-zoom-transition-time,.7s)}:host(.zoom-on-hover:hover){transform:scale(var(--card-hover-zoom,1.3))!important}:host(.grid-card){display:grid;gap:var(--grid-card-gap,0);grid-template-columns:var(--grid-card-columns,repeat(var(--grid-card-auto-column-count,4),calc(100%/var(--grid-card-auto-column-count, 4))));grid-template-rows:var(--grid-card-rows,unset)}@media (width <= 520px){:host(.grid-card){display:grid;gap:var(--grid-card-mobile-gap,var(--grid-card-gap,0));grid-template-columns:var(--grid-card-mobile-columns,repeat(var(--grid-card-mobile-auto-column-count,var(--grid-card-auto-column-count,4)),calc(100%/var(--grid-card-mobile-auto-column-count, var(--grid-card-auto-column-count, 4)))));grid-template-rows:var(--grid-card-mobile-rows,var(--grid-card-rows,unset))}:host{aspect-ratio:var(--card-mobile-aspect-ratio,var(--card-aspect-ratio,1/1));max-height:var(--card-mobile-max-height,var(--card-max-height,initial));max-width:var(--card-mobile-max-width,var(--card-max-width,initial));min-height:var(--card-mobile-min-height,var(--card-min-height,initial));min-width:var(--card-mobile-min-width,var(--card-min-width,initial));padding:var(--card-mobile-padding,var(--card-padding,unset))}:host(:hover){padding:var(--card-mobile-hover-padding,var(--card-mobile-padding,var(--card-padding,unset)))}}@media (width >= 520px) and (width <= 980px){:host(.grid-card){display:grid;gap:var(--grid-card-mobile-gap,var(--grid-card-gap,0));grid-template-columns:var(--grid-card-mobile-columns,repeat(var(--grid-card-mobile-auto-column-count,var(--grid-card-auto-column-count,4)),calc(100%/var(--grid-card-mobile-auto-column-count, var(--grid-card-auto-column-count, 4)))));grid-template-rows:var(--grid-card-mobile-rows,var(--grid-card-rows,unset))}:host{aspect-ratio:var(--card-mobile-aspect-ratio,var(--card-aspect-ratio,1/1));max-height:var(--card-mobile-max-height,var(--card-max-height,initial));max-width:var(--card-mobile-max-width,var(--card-max-width,initial));min-height:var(--card-mobile-min-height,var(--card-min-height,initial));min-width:var(--card-mobile-min-width,var(--card-min-width,initial));padding:var(--card-mobile-padding,var(--card-padding,unset))}:host(:hover){padding:var(--card-mobile-hover-padding,var(--card-mobile-padding,var(--card-padding,unset)))}}`,tW=Object.defineProperty,rW=Object.getOwnPropertyDescriptor,nW=Object.getPrototypeOf,iW=Reflect.get,oW=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});class sW extends CustomEvent{constructor(e){super("cardclick",{detail:e,bubbles:!0})}}class aW extends CustomEvent{constructor(e){super("cardclicked",{detail:e,bubbles:!0})}}const lW=class extends FT{constructor(){super(!1),this.data={},this._cardContainerClickData=void 0,this.UpdatePostLocalesModelRead(),this.addEventListener("click",e=>{this.clicked()})}get imageSrc(){let e="";return null!=this.data.image&&null!=this.data.image&&(null!=this.data.image.prefix&&this.data.image.prefix.length>0&&(e+=this.data.image.prefix),null!=this.data.image.file&&this.data.image.file.length>0&&(e+=this.data.image.file)),e}set cardContainerClickData(e){this._cardContainerClickData=e}UpdatePostLocalesModelRead(){return oW(this,null,function*(){yield LocalesModel.IsFileRead(),this.requestUpdate()})}UpdateDrag(){if(DragDropHelperService.removeElement(this),this.data.dragable&&null!=this._cardContainerClickData&&null!=this.data){const e=GG.GetFormattedCardDragData(this.data,this._cardContainerClickData.context);if(null!=e){let t=this.imageSrc;t.length<1&&(t="nix"),this.setAttribute("drag-image",t),DragDropHelperService.addElement(this,e,yT.findScrollableParent(this))}}}collectAdditionalCardClickEventKeyValuePairs(){if(null==this.data.additional||null==this.data.additional["selected-filters"])return new Array;if(null==this._cardContainerClickData)return new Array;const e=this.data.additional["selected-filters"];if(null==e)return new Array;let t=this._cardContainerClickData.context.settings.Card["card-click-events-relevant-selection-filter-values"];if(null==t&&(t=this._cardContainerClickData.context.settings.Card["card-click-events-relevant-buttons-filter-values"],console.warn("'card-click-events-relevant-buttons-filter-values' was replaced with 'card-click-events-relevant-selection-filter-values'! Still works (fow now), but do not use in new projects!"),null==t))return new Array;const r=new Array;for(const n of e)for(const e of n.filter){const n=t.find(t=>e==t["card-data-level-key"]);null!=n&&r.push({key:n.placeholder,data:n["card-data-level-key"].toString()})}return r}clicked(){return oW(this,null,function*(){if(null!=this._cardContainerClickData&&this._cardContainerClickData["handle-click"]&&this.data.click){const e=this.collectAdditionalCardClickEventKeyValuePairs();for(const t of this._cardContainerClickData.context.settings.Card["pre-click-events"]){const r=t.data?GG.PrepareClickedCardEventData(t.data,this.data.click,e):{};r["clicked-card"]={data:this.data},yield TY.dispatchAsyncEvent(t.id,r)}this._cardContainerClickData.container.dispatchEvent(new sW({data:this.data,settings:this._cardContainerClickData.context.settings})),yield GG.ClickCard(this.data,this._cardContainerClickData.context),this._cardContainerClickData.container.dispatchEvent(new aW({data:this.data,settings:this._cardContainerClickData.context.settings})),this._cardContainerClickData.context.settings.Behaviour["mark-selected"]&&this.classList.add("selected");for(const t of this._cardContainerClickData.context.settings.Card["post-click-events"]){const r=t.data?GG.PrepareClickedCardEventData(t.data,this.data.click,e):{};r["clicked-card"]={data:this.data},yield TY.dispatchAsyncEvent(t.id,r)}}})}render(){return this.UpdateDrag(),Zk``}updated(e){super.updated(e),this.data.active?this.classList.add("active"):this.classList.remove("active"),this.data.disabled?this.classList.add("disabled-card"):this.classList.remove("disabled-card")}};let cW=lW;cW.styles=[((e,t)=>iW(nW(e),t,e))(lW,"styles")||[],$k`${yk(eW)}`],((e,t,r,n)=>{for(var i,o=n>1?void 0:n?rW(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);n&&o&&tW(t,r,o)})([lk({type:Object,reflect:!0,attribute:"data"})],cW.prototype,"data",2);class uW{constructor(){this.filter={filter:[],strategy:EG.AND,priority:0,"additional-params":void 0}}Init(e){this.filter["additional-params"]=GG.GetFilterSelectionAdditionalParams(e),this.filter.strategy=GG.GetFilterSelectionStrategy(e)}Reset(e=!0,t){this.filter.filter=[],e&&(this.filter.priority=0,this.Init(t)),GG.InitFilterSelectionParams(t),t.dispatchEvent(new zG({"restore-defaults":e,context:t}))}Clear(){this.filter.filter=[]}set Strategy(e){this.filter.strategy=e}get Strategy(){return this.filter.strategy}set Prio(e){this.filter.priority=e}get Prio(){return this.filter.priority?this.filter.priority:0}get Filter(){return this.filter.filter}set AdditionalParams(e){this.filter["additional-params"]=e}get AdditionalParams(){return this.filter["additional-params"]}Add(e){return!this.filter.filter.includes(e)&&(this.filter.filter.push(e),!0)}Remove(e){const t=this.filter.filter.indexOf(e);return!(t<0)&&(this.filter.filter.splice(t,1),!0)}Toggle(e){this.Add(e)||this.Remove(e)}Contains(e){return this.filter.filter.includes(e)}Set(e){this.filter=e}PurgeRemovedCards(e){if(null==e)return;const t=new Array;for(const r of this.filter.filter)null==e.has(r)&&t.push(r);for(const e of t){const r=t.indexOf(e);this.filter.filter.splice(r,1)}}}class dW{constructor(){this._initialized=!1,this._settings={fetch:{method:AG.NONE,parameters:{},manufacturer:"",program:"","root-level":"root",filter:{},"suspend-until-triggered":!1},card:{tag:"fv-card",classes:new Array,"mobile-classes":new Array,settings:{},"pre-click-events":new Array,"post-click-events":new Array,dragable:!1,translate:!0,tooltip:!1,"card-click-events-relevant-buttons-filter-values":[],"card-click-events-relevant-selection-filter-values":[]},"fixed-cards":{before:new Array,after:new Array},levels:{tag:"fv-grid-container","style-vars":{},"style-vars-all":{},titled:!1,"single-value-invisible":!1},filter:{"selection-strategy":EG.NONE,"source-elements-selectors":new Array,"determine-priorities-by-suspended-disable-sources":!1,mobile:{"selection-strategy":EG.NONE,"source-elements-selectors":new Array,"determine-priorities-by-suspended-disable-sources":!1}},"automatic-container":{tag:"fv-flex-container",classes:new Array,"style-vars":{},mobile:{tag:"fv-flex-container",classes:new Array,"style-vars":{}}},behaviour:{"single-card-hide":!1,"mark-selected":!1,"connection-defined-interaction-on-selection-change":!1,"placer-once":{all:!1,categories:new Array}}}}_fill(e,t){for(const r in t)null!=e[r]?"object"==typeof e[r]&&"object"==typeof t[r]&&(e[r]=this._fill(e[r],t[r])):e[r]=t[r];return e}Initialize(e){this.Initialized||(this.parameters=e)}set parameters(e){this._settings=this._fill(e,this._settings),this._initialized=!0}set fetchFilter(e){this._settings.fetch.filter=e}get Initialized(){return this._initialized}get Fetch(){return this._settings.fetch}get Card(){return this._settings.card}get FixedCards(){return this._settings["fixed-cards"]}get Levels(){return this._settings.levels}get Filter(){return this._settings.filter}get AutomaticContainer(){return this._settings["automatic-container"]}get Behaviour(){return this._settings.behaviour}set Program(e){this._settings.fetch.program=e}ToJson(){return JSON.parse(JSON.stringify(this._settings))}}class hW{constructor(){this._containers=new Array}Get(e){for(const t of this._containers)if(t.id==e||t.id=="slot-"+e)return t}Remove(e){this._containers.splice(this._containers.indexOf(e),1)}_CreateSlot(e,t,r){const n=document.createElement("slot");return n.id="slot-"+e,r["slot-name"].length>0?n.name=r["slot-name"]:n.name=t.click&&t.click["level-key"]?t.click["level-key"]+"":"",this._containers.push(n),n}_updateElementDetails(e,t,r){if(null!=r.settings){const n=new dW;r["fetch-parameters"]?n.parameters=r["fetch-parameters"]:n.parameters=r.settings,n.fetchFilter={"level-key-filter":n.Fetch.filter["level-key-filter"],"property-keys":{keys:[t.click&&t.click["level-key"]?t.click["level-key"]+"":""]},"suspend-until-triggered":n.Fetch["suspend-until-triggered"]},e.FetchParameters=n.ToJson()}if(null!=r["style-vars"]){Object.keys(r["style-vars"]).forEach(t=>{t.startsWith("--")&&e&&r["style-vars"]&&e.style.setProperty(t,r["style-vars"][t])})}if(r.modules)for(const t of r.modules)ConstructionService.loadModule(t,e);r.classes&&e.classList.add(...r.classes)}_CreateElement(e,t,r){const n=document.createElement(r.tag);return n.id=e,this._updateElementDetails(n,t,r),this._containers.push(n),n}Add(e,t,r){return r.tag.length<1?this._CreateSlot(e,t,r):this._CreateElement(e,t,r)}Update(e,t,r){return e instanceof CW?r.tag.length<1?(this.Remove(e),void(e=this.Add(e.id,t,r))):(this._updateElementDetails(e,t,r),void e.Refetch()):e instanceof HTMLSlotElement?r.tag.length>0?(this.Remove(e),void(e=this.Add(e.id,t,r))):void(r["slot-name"].length>0?e.name=r["slot-name"]:e.name=t.click&&t.click["level-key"]?t.click["level-key"]+"":""):void 0}}var pW=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});class mW{constructor(){this.displayElements=new Array}createUniqueCardIdentifierFromKeys(e,t,r){let n=null!=e?e:"";"number"==typeof e&&(n=e.toFixed(0)),n.length>0&&(n=n.replaceAll(" ",""));let i=null!=t?t:"";return"number"==typeof t&&(i=t.toFixed(0)),i.length>0&&(i=i.replaceAll(" ","")),n.length<1&&i.length<1&&console.error("BaseCardContainer - Error! could not create UniqueCardIdentifier debug-data:",r),n+"-"+i}createCard(e,t,r){if(null==e)return;const n=document.createElement(t.settings.Card.tag);if(n.classList.add(...r.mobile?t.settings.Card["mobile-classes"]:t.settings.Card.classes),n.classList.add(this.createUniqueCardIdentifierFromKeys(e.click?e.click["level-key"]:"",e.click?e.click["next-level-key"]:"",e)),n.cardContainerClickData={"handle-click":!0,context:t,container:r},e.dragable=t.settings.Card.dragable,e.tooltip=t.settings.Card.tooltip,n.data=e,n.data.translate=t.settings.Card.translate,e.modules)for(const t of e.modules)ConstructionService.loadModule(t,n);return n}pushCardElementToInterimArray(e,t,r,n){const i=this.createCard(t,r,n);i&&e.push(i)}createDisplayElements(e,t,r){if(this.displayElements=new Array,1==e.size){const n=e.keys();if(n){const i=n.next();if(i&&i.value){const n=e.get(i.value);n&&(n.cards.forEach(e=>{this.pushCardElementToInterimArray(this.displayElements,e,t,r)}),0===n.cards.length&&this.pushCardElementToInterimArray(this.displayElements,null,t,r))}}}else if(e.size>1){const n=t.settings.Levels["style-vars-all"],i=Object.keys(n);e.forEach((e,o)=>{if(e.title&&e.title.length>0&&t.settings.Levels.titled){const r=document.createElement("fv-label");r.setAttribute("i18n",e.title),r.innerText=e.title,r.classList.add("level-title"),t.settings.Levels["single-value-invisible"]&&1==e.cards.length&&r.classList.add("invisible"),this.displayElements.push(r)}const s=document.createElement(t.settings.Levels.tag);s.classList.add("level"),t.settings.Levels["single-value-invisible"]&&1==e.cards.length&&s.classList.add("invisible"),e.cards.length<1&&s.setAttribute("hide-element","");const a=t.settings.Levels["style-vars"][o];if(a){Object.keys(a).forEach(e=>{e.startsWith("--")&&s.style.setProperty(e,a[e])})}i.forEach(e=>{e.startsWith("--")&&s.style.setProperty(e,n[e])});const l=new Array;e.cards.forEach(e=>{this.pushCardElementToInterimArray(l,e,t,r)}),0===e.cards.length&&this.pushCardElementToInterimArray(this.displayElements,null,t,r),l.forEach(e=>{s.appendChild(e)});let c=o;"number"==typeof c&&(c=c.toString()),s.setAttribute("level",c),this.displayElements.push(s)})}}get Elements(){return this.displayElements}CreateRenderedCards(e,t,r){this.createDisplayElements(e,t,r);const n=this.Elements.length>0,i=n?r.events["fill-state-filled"]:r.events["fill-state-empty"];null!=i&&window.dispatchEvent(new cG({async:!1,events:i})),0==n||r.Settings.Behaviour["single-card-hide"]&&this.Elements.length<2?r.classList.add("empty"):r.classList.remove("empty");const o=r.mobile?t.settings.AutomaticContainer.mobile.tag:t.settings.AutomaticContainer.tag,s=r.mobile?t.settings.AutomaticContainer.mobile.classes:t.settings.AutomaticContainer.classes,a=r.mobile?t.settings.AutomaticContainer.mobile["style-vars"]:t.settings.AutomaticContainer["style-vars"],l=Object.keys(a),c=document.createElement(o);let u;return c.classList.add(...s),c.style.boxSizing="border-box",l.forEach(e=>{e.startsWith("--")&&c.style.setProperty(e,a[e])}),this.Elements.forEach(e=>{c.appendChild(e)}),n&&(u=Zk`${c}`),u}}class _W extends mW{constructor(){super(...arguments),this.dimensions=new Array,this.activeDimensions=new Array}createDisplayElements(e,t,r){var n,i;this.dimensions=new Array,this.activeDimensions=new Array;for(const[t,r]of e)for(const e of r.cards)if(null==(n=e.click)?void 0:n["level-key"]){const t=+(null==(i=e.click)?void 0:i["level-key"]);this.dimensions.push(t),e.disabled||this.activeDimensions.push(t)}if(0!=this.dimensions.length||0!=this.activeDimensions.length){if(void 0!==r.useCards&&!0===r.useCards)return super.createDisplayElements(e,t,r);this.displayElements=new Array,this.displayElements.push(r.getBaseSliderState(this.dimensions,this.activeDimensions))}else this.displayElements=new Array}get Dimensions(){return this.dimensions}get ActiveDimensions(){return this.activeDimensions}}class gW extends mW{constructor(){super(...arguments),this._internalContainers=new hW}pushCardElementToInterimArray(e,t,r,n){if(null==t)return;const i=this.createCard(t,r,n);if(null==i)return;i.slot="header";const o=t.click&&t.click["level-key"]?t.click["level-key"]+"":"",s={tag:n.cardContainersToCreate.tag,settings:n.cardContainersToCreate.settings,"fetch-parameters":null!=n.cardContainersToCreate["fetch-parameters"]?n.cardContainersToCreate["fetch-parameters"]:void 0,"style-vars":null!=n.cardContainersToCreate["style-vars"]?n.cardContainersToCreate["style-vars"]:{},modules:null!=n.cardContainersToCreate.modules?n.cardContainersToCreate.modules:[],classes:null!=n.cardContainersToCreate.classes?n.cardContainersToCreate.classes:[],"slot-name":n.overwriteToggleContainerSlotName};let a=this._internalContainers.Get(o);null==a?a=this._internalContainers.Add(o,t,s):this._internalContainers.Update(a,t,s);const l=t.click&&t.click["level-key"]?t.click["level-key"]+"":"no-level",c=document.createElement("fv-accordion-item");c.allowCloseOfForcedOpen=!0,c.headerAsSlot=!0,c.AddHeaderClickDefer(()=>pW(this,null,function*(){yield GG.WaitForAllCardContainerFetchPromises()})),c.setAttribute("level-identifier",l),t.image&&(c.Image=t.image.prefix+t.image.file),c.appendChild(i),null!=a&&c.appendChild(a),l==n.Open&&c.AddConnectedCallbackAction(()=>pW(this,null,function*(){c.forceOpen()})),e.push(c)}}class fW{constructor(e){this._selectedFilters=new Array,this._suspendingDisableSource=!1,this._preventAppConnectionClick=!1,this._unrenderedFetch=!1,this._container=void 0,this._container=e}set SuspendDisableSource(e){this._suspendingDisableSource=e}get SuspendDisableSource(){return this._suspendingDisableSource}get SelectedFilters(){return this._selectedFilters}set PreventAppConnectionClick(e){this._preventAppConnectionClick=e}get PreventAppConnectionClick(){return this._preventAppConnectionClick}set UnrenderedFetch(e){this._unrenderedFetch=e}get UnrenderedFetch(){return this._unrenderedFetch}get FilterSourceSelectors(){if(null!=this._container)return this._container.mobile&&this._container.Settings.Filter.mobile&&this._container.Settings.Filter.mobile["source-elements-selectors"]&&this._container.Settings.Filter.mobile["source-elements-selectors"].length>0?this._container.Settings.Filter.mobile["source-elements-selectors"]:this._container.Settings.Filter["source-elements-selectors"]}ReadSelectedFiltersFromTargets(){if(null==this._container)return;if(this._selectedFilters=new Array,null==this._container.Settings.Filter||null==this._container.Settings.Filter["source-elements-selectors"])return;const e=this.FilterSourceSelectors;if(null==e)return;let t=0;for(const r of e){const e=yT.findAll(r.tag,r.query);for(const r of e){const e=r;if(null==e||null==e.Filter)continue;this._container.Settings.Filter["determine-priorities-by-suspended-disable-sources"]&&(e.Filter.Prio=e.States.SuspendDisableSource?1:0);const n=e.Filter;null==n||null==n.Filter||n.Filter.length<1||this._selectedFilters.push({filter:n.Filter,strategy:n.Strategy,priority:null!=n.Prio?n.Prio:t++,"additional-params":n.AdditionalParams?n.AdditionalParams:void 0})}}}ResetSelectedFilters(){this._selectedFilters=new Array}}class vW{constructor(e){this._data={},this._keys=new Array,this._container=void 0,this._container=e}Exists(e){return this._keys.includes(e)}Set(e,t){this.Exists(e)||this._keys.push(e),this._data[e]=t}Get(e,t){var r;return null==(r=this._container)||r.dispatchEvent(new VG(e)),this._keys.includes(e)?this._data[e]:t}Remove(e){const t=this._keys.indexOf(e);t>-1&&(this._keys.splice(t,1),delete this._data[e])}Reset(){this._keys=new Array,this._data={}}}var bW=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{align-items:var(--card-container-align-items,unset);display:var(--card-container-display,unset);flex-direction:var(--card-container-flex-direction,unset);gap:var(--card-container-gap,unset);grid-template-columns:var(--card-container-grid-template-columns,unset);grid-template-rows:var(--card-container-grid-template-rows,unset);height:var(--card-container-height,unset);justify-content:var(--card-container-justify-content,unset);overflow:var(--card-container-overflow,unset);position:var(--card-container-position,relative);width:var(--card-container-width,unset);z-index:var(--card-container-z-index,unset)}:host .back-button{left:0;position:absolute;top:0}:host .loader-slot{display:none}:host(.empty){display:none}:host(.empty.show-loader){display:block}:host(.empty.show-loader.not-loading-hide-before) .before-slot{display:none}:host(.empty.show-loader.loading){height:var(--card-container-loading-height,unset)}:host(.empty.show-loader.loading) .loader-slot{display:contents}:host(.empty.empty-show-anyway){display:var(--card-container-display,unset)}@media (width <= 520px){:host{overflow:var(--card-container-mobile-overflow,var(--card-container-overflow,unset))}}@media (width >= 520px) and (width <= 980px){:host{overflow:var(--card-container-mobile-overflow,var(--card-container-overflow,unset))}}`;var yW=Object.defineProperty,$W=Object.getOwnPropertyDescriptor,xW=Object.getPrototypeOf,SW=Reflect.get,wW=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?$W(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&yW(t,r,o),o};const AW=class extends ZJ{constructor(e=!0){super(e),this.events={},this.showBeforeSlot=!0,this.filter=void 0,this.cardCreator=new mW,this.states=new fW(this),this.cardData=void 0,this.filteredFetchResult=void 0,this.additionalData=new vW(this),AW.shared.AddTagName(this.tagName),this.addHideStateUpdatedEventListener((e,t)=>{if(1==this.events["hide-show-ignore-parent-change"]&&t)return;if(this.events["hide-show-only-after-first-fill"]&&null==this.LastRenderResult)return;(this.events.hide||this.events.show)&&(e=>{null!=e&&window.dispatchEvent(new cG({async:!1,events:e}))})(e?this.events.hide:this.events.show),e||GG.CheckUpdate(LG.CardContainerVisible,{},this.Context).then(e=>{e==MG.NONE||e==MG.FILTER?this.requestUpdate():e==MG.FETCH&&this.Refetch()})}),this.settings=new dW,this.addEventListener(TG.BackToStart,e=>{var t,r;null==(t=this.filter)||t.Clear(),this.hideElement=!1,null==(r=e.detail)||r["post-event"](),GG.WaitForAllCardContainerFetchPromises().then(()=>{EW.RefreshAll(!0,!0),EW.RefreshBackButtons()})}),this.addEventListener(TG.TriggerCardClick,e=>{if(null!=e.detail)for(const t of e.detail){this.renderRoot.querySelectorAll(this.Settings.Card.tag).forEach(e=>{if(e instanceof cW){if(null==e.data.click)return;if(e.data.click["level-key"]!=t)return;e.click()}})}})}set _legacysettigns(e){console.warn("BaseCardContainer> settings attribute is deprecated! use fetch-parameters instead!"),this.FetchParameters=e,this.Refetch()}set ShowBeforeSlot(e){null!=e&&(this.showBeforeSlot=e)}get ShowBeforeSlot(){return this.showBeforeSlot}connectedCallback(){var e;super.connectedCallback(),GG.Register(this),this.settings.Initialize(this.FetchParameters),null==(e=this.Filter)||e.Init(this.Context),null!=this.Filter&&GG.InitFilterSelectionParams(this.Context)}disconnectedCallback(){super.disconnectedCallback(),GG.Remove(this)}static get Shared(){return AW.shared}get FilteredFetchResult(){return this.filteredFetchResult}get CardData(){return this.cardData}get Settings(){return this.settings}get Filter(){return this.filter}get States(){return this.states}get AdditionalData(){return this.additionalData}get Context(){return{settings:this.Settings,states:this.States,filter:this.Filter,cards:this.CardData,dispatchEvent:e=>this.dispatchEvent(e)}}Fetch(e){return t=this,r=null,n=function*(){return this.states.UnrenderedFetch=!0,this.Settings.parameters=e,this.States.ReadSelectedFiltersFromTargets(),yield GG.Fetch(this.Context)},new Promise((e,i)=>{var o=e=>{try{a(n.next(e))}catch(e){i(e)}},s=e=>{try{a(n.throw(e))}catch(e){i(e)}},a=t=>t.done?e(t.value):Promise.resolve(t.value).then(o,s);a((n=n.apply(t,r)).next())});var t,r,n}CreateCards(e){return this.states.UnrenderedFetch||this.States.ReadSelectedFiltersFromTargets(),this.states.UnrenderedFetch=!1,this.filteredFetchResult=GG.Filter(e,this.Context,null==this.Filter?new Array:this.Filter.Filter),GG.CreateCards(this.filteredFetchResult,this.Context)}renderComplete(e,t){if(this.dispatchEvent(new DG),null==e)return super.renderComplete(e,t);const r=this.cardData;if(this.cardData=this.CreateCards(e),null!=this.Filter&&this.Filter.PurgeRemovedCards(this.cardData),this.LastRenderResult&&r==this.cardData)return this.LastRenderResult;const n=this.cardCreator.CreateRenderedCards(this.cardData,this.Context,this);return super.renderComplete(e,Zk`
+            <slot class="loader-slot" name="loader"></slot>
+            ${this.ShowBeforeSlot?Zk`<slot class="before-slot" name="before"></slot>`:Zk``}
+            ${n}
+        `)}updated(e){super.updated(e),window.dispatchEvent(new FG(this)),this.dispatchEvent(new NG)}};let CW=AW;CW.styles=[((e,t)=>SW(xW(e),t,e))(AW,"styles")||[],$k`${yk(bW)}`],CW.shared=new class{constructor(){this._CardContainerTagNames=new Array}get CardContainerTagNames(){return this._CardContainerTagNames}AddTagName(e){this._CardContainerTagNames.includes(e)||this._CardContainerTagNames.push(e)}get AllContainers(){const e=new Array;for(const t of this._CardContainerTagNames)e.push(...yT.findAll(t));return e}},wW([lk({type:Object,reflect:!0,attribute:"settings"})],CW.prototype,"_legacysettigns",1),wW([lk({type:Object,reflect:!0,attribute:"events"})],CW.prototype,"events",2);class EW{static RefreshAll(e,t,r=void 0,n=void 0,i=""){let o=CW.Shared.AllContainers;if(r){const e=new Array;for(const t of r)e.push(...yT.findAll(t.tag,t.query));for(const t of e)null!=t.Filter&&t.Filter.Reset(!1,t.Context)}if(n){const e=[];for(const t of n)e.push(...yT.findAll(t.tag,t.query));o=o.filter(t=>!e.includes(t))}if(e)for(const e of o)e.hideElement&&0==t||(void 0!==i&&""!==i&&(e.Settings.Program=i),e.Refetch());else for(const e of o)e.hideElement&&0==t||e.requestUpdate()}static RefreshBackButtons(){const e=yT.findAll("fv-card-container-back-button");for(const t of e)t.requestUpdate()}static ResetSelectionResultFilter(e){const t=e.query?e.query:void 0,r=yT.find(e.tag,t);r&&null!=r.Filter&&r.Filter.Reset(!0,r.Context)}static SetShowBeforeSlot(e){const t=e.query?e.query:void 0,r=yT.find(e.tag,t);r&&(r.ShowBeforeSlot=e.state)}static Clear(e){const t=e.query?e.query:void 0,r=yT.findAll(e.tag,t);if(r)for(const e of r)e.Filter&&e.Filter.Reset(!0,e.Context),e.requestUpdate()}static Refetch(e){const t=e.query?e.query:void 0,r=yT.findAll(e.tag,t);if(r)for(const e of r)e.Refetch()}}var IW=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}@media (width >= 980px){:host{padding:var(--mask-width-smaller-980px-padding,0 20px 20px)}}:host{background:var(--mask-background,transparent);background-size:var(--mask-background-size,unset);display:none;height:100%;width:100%}:host([active]){display:inline-block}:host(.full-width){width:100vw}`,MW=Object.defineProperty,kW=Object.getOwnPropertyDescriptor,TW=Object.getPrototypeOf,RW=Reflect.get,LW=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?kW(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&MW(t,r,o),o};const PW=class extends FT{constructor(){super(),this.active=!1,this.maskData={},this.mask=""}get Modal(){return this._modal}show(e){this._modal=this.parentNode,this.active=!0}hide(e=!1){var t;this.active=!1,null==(t=this._modal)||t.hide()}build(e){return this.active?Zk`${e||Zk``}`:Zk``}firstUpdated(e){this._modal=this.parentNode,super.firstUpdated(e)}requestUpdate(e,t,r){this._modal=this.Modal||this.parentNode,super.requestUpdate(e,t,r)}render(){return this.build(Zk`<slot></slot>`)}};let DW=PW;DW.styles=[((e,t)=>RW(TW(e),t,e))(PW,"styles")||[],$k`${yk(IW)}`],LW([lk({type:Boolean,reflect:!0})],DW.prototype,"active",2),LW([lk({type:String,reflect:!0})],DW.prototype,"mask",2),LW([lk()],DW.prototype,"configMaskData",2),LW([lk({type:Object,reflect:!0,attribute:"mask-data"})],DW.prototype,"maskData",2);var NW=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{height:100%;position:absolute;width:100%}:host .mask-container{align-items:var(--open-cloud-id-mask-align-items,center);background:var(--mask-container-background,transparent);box-shadow:var(--mask-container-box-shadow,none);color:var(--mask-container-text-color,inherit);display:flex;flex-direction:var(--open-cloud-id-mask-flex-direction,column);font-size:var(--mask-font-size,inherit);gap:var(--open-cloud-id-mask-gap,unset);height:var(--open-cloud-id-mask-height,fit-content);justify-content:var(--open-cloud-id-mask-justify-content,center);line-height:var(--mask-font-size,inherit);max-width:var(--mask-container-max-width,none);padding:var(--mask-container-padding-top,none) var(--mask-container-padding-right,none) var(--mask-container-padding-bottom,none) var(--mask-container-padding-left,none);width:var(--open-cloud-id-mask-width,fit-content)}:host .mask-container .text{text-align:var(--mask-text-align,start);width:var(--open-cloud-id-mask-text-width,fit-content)}:host .mask-container .input-container{border:0;height:var(--open-cloud-id-mask-input-height,unset);margin:0;padding:var(--open-cloud-id-mask-input-container-padding,0);width:var(--open-cloud-id-mask-input-width,unset)}:host .mask-container .input-container input{border:var(--open-cloud-id-mask-input-border,unset);font-size:var(--open-cloud-id-mask-input-font-size,unset);height:100%;margin:var(--open-cloud-id-mask-input-margin,unset);padding:0;padding-left:var(--open-cloud-id-mask-input-padding-left,unset);text-align:center;width:calc(100% - var(--open-cloud-id-mask-input-padding-left, unset))}:host .mask-container .input-container input::placeholder{color:var(--open-cloud-id-mask-placeholder-color,unset)}:host .mask-container .button-container{display:flex;justify-content:var(--open-cloud-id-mask-button-justify-content,unset);width:100%}:host .mask-container .button-container .button{background-color:var(--mask-button-color,inherit);box-shadow:var(--mask-button-box-shadow,none);color:var(--mask-button-text-color,inherit);cursor:pointer;font-size:var(--mask-button-font-size,var(--mask-font-size,inherit));font-weight:var(--mask-font-weight,inherit);padding:var(--mask-button-padding,unset);width:fit-content}`,FW=Object.defineProperty,OW=Object.getOwnPropertyDescriptor,BW=Object.getPrototypeOf,UW=Reflect.get,VW=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?OW(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&FW(t,r,o),o};let zW=class extends DW{constructor(){super(),this.inputType="number",this.mask="input-mask",this.active=!0}clickEvent(e){var t;this.dispatchEvent(new CustomEvent("input-submit",{detail:{value:(null==(t=this.input)?void 0:t.value)||""}})),this.hide(!0)}show(e){var t,r,n,i=e=>super[e];return t=this,r=null,n=function*(){i("show").call(this,e)},new Promise((e,i)=>{var o=e=>{try{a(n.next(e))}catch(e){i(e)}},s=e=>{try{a(n.throw(e))}catch(e){i(e)}},a=t=>t.done?e(t.value):Promise.resolve(t.value).then(o,s);a((n=n.apply(t,r)).next())})}render(){return this.build(Zk`
+            <div class="mask-container">
+                <div class="text" i18n="${this.titleI18N?this.titleI18N:""}"></div>
+                <div class="input-container">
+                    <input type="${this.inputType}" i18n-placeholder="${this.placeholderI18N?this.placeholderI18N:""}" placeholder=""/>
+                </div>
+                <div class="button-container">
+                    <div id="submit" @click=${this.clickEvent} class="button" i18n="${this.buttonI18N?this.buttonI18N:""}"></div>
+                </div>
+            </div>
+        `)}};zW.styles=[((e,t)=>UW(BW(e),t,e))(zW,"styles")||[],$k`${yk(NW)}`],VW([dk("input")],zW.prototype,"input",2),VW([lk({reflect:!0,type:String,attribute:"input-type"})],zW.prototype,"inputType",2),VW([lk({reflect:!0,type:String,attribute:"title-i18n"})],zW.prototype,"titleI18N",2),VW([lk({reflect:!0,type:String,attribute:"button-i18n"})],zW.prototype,"buttonI18N",2),VW([lk({reflect:!0,type:String,attribute:"placeholder-i18n"})],zW.prototype,"placeholderI18N",2),zW=VW([sk("fv-input-mask")],zW);var HW=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host([active]){align-items:center;display:flex;flex-direction:column;justify-content:center}:host{height:100%;position:absolute;width:100%}:host .container{align-items:center;background:var(--mask-container-background,transparent);border-radius:var(--mask-container-border-radius,unset);box-shadow:var(--mask-container-box-shadow,none);color:var(--mask-container-text-color,inherit);display:flex;flex-direction:column;font-size:var(--mask-font-size,inherit);height:fit-content;justify-content:center;line-height:var(--mask-font-size,inherit);max-width:var(--mask-container-max-width,none);padding:var(--mask-container-padding-top,none) var(--mask-container-padding-right,none) var(--mask-container-padding-bottom,none) var(--mask-container-padding-left,none);width:fit-content}:host .container .text{text-align:var(--mask-text-align,start)}:host .container .buttons-container{display:flex;flex-direction:row;justify-content:var(--mask-buttons-justify-content,center);padding-top:var(--mask-buttons-padding-top,unset);width:100%}:host .container .buttons-container .button{background-color:var(--mask-button-color,inherit);border-radius:var(--mask-button-border-radius,unset);box-shadow:var(--mask-button-box-shadow,none);color:var(--mask-button-text-color,inherit);cursor:pointer;font-size:var(--mask-button-font-size,var(--mask-font-size,inherit));font-weight:var(--mask-font-weight,inherit);padding:var(--mask-button-padding,unset)}:host .container .buttons-container .button span{border:0;color:var(--mask-button-text-color,inherit);font-size:var(--mask-button-font-size,var(--mask-font-size,inherit));font-weight:var(--mask-font-weight,inherit);margin:0;padding:0}:host .container .buttons-container .button .loader-slot.hidden{display:none}:host(.hover-click) .container .buttons-container .button:hover{background-color:var(--mask-buttons-hover-background-color,unset)}:host(.hover-click) .container .buttons-container .button:active{background-color:var(--mask-buttons-click-background-color,unset);border:var(--mask-buttons-click-border,unset);transition:all .1s ease-in-out}`,GW=Object.defineProperty,jW=Object.getOwnPropertyDescriptor,JW=Object.getPrototypeOf,WW=Reflect.get,QW=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?jW(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&GW(t,r,o),o},qW=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});let YW=class extends DW{constructor(){super(),this.mask="restart-check"}leave(e){TY.dispatchAsyncEvent("reload-window",{}),e.preventDefault(),e.stopImmediatePropagation(),e.stopPropagation()}save(e){return qW(this,null,function*(){e.preventDefault(),e.stopImmediatePropagation(),e.stopPropagation(),this.saveButtonLoader&&this.saveButtonLoader.classList.remove("hidden"),yield TY.dispatchAsyncEvent("save",{}),yield TY.dispatchAsyncEvent("reload-window",{})})}cancel(e){return qW(this,null,function*(){var t;e.preventDefault(),e.stopImmediatePropagation(),e.stopPropagation(),null==(t=this.Modal)||t.hide()})}render(){return this.build(Zk`
+            <div class="container">
+                <div class="text" i18n="fv.modal.reload.text"></div>
+                <div class="buttons-container">
+                    <div class="button save-button" @click="${this.save}"><span i18n="1008"></span><span><slot class="loader-slot hidden" name="loader"></slot></span></div>
+                    <div class="button" @click="${this.leave}" i18n="21016"></div>
+                    <div class="button" @click="${this.cancel}" i18n="1939"></div>
+                </div>
+            </div>
+        `)}updated(e){super.updated(e),this.container&&0==this.container.hasAttribute("listening")&&(this.container.setAttribute("listening","true"),this.container.addEventListener("click",e=>{e.preventDefault(),e.stopImmediatePropagation(),e.stopPropagation()}))}};YW.styles=[((e,t)=>WW(JW(e),t,e))(YW,"styles")||[],$k`${yk(HW)}`],QW([dk(".container")],YW.prototype,"container",2),QW([dk(".loader-slot")],YW.prototype,"saveButtonLoader",2),YW=QW([sk("fv-restart-check-mask")],YW);var XW=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}@media (width >= 980px){:host{padding:0}}:host([active]){align-items:center;display:flex;flex-direction:column;justify-content:center}:host .container{align-items:center;background:var(--mask-container-background,transparent);box-shadow:var(--mask-container-box-shadow,none);color:var(--mask-container-text-color,inherit);display:flex;flex-direction:column;font-size:var(--mask-font-size,inherit);justify-content:center;line-height:var(--mask-font-size,inherit);margin:unset;max-width:var(--mask-container-max-width,none);padding:var(--mask-container-padding-top,none) var(--mask-container-padding-right,none) var(--mask-container-padding-bottom,none) var(--mask-container-padding-left,none)}:host .container .text{padding:var(--mask-text-padding,initial);text-align:var(--mask-text-align,start)}:host .container .list{display:flex;flex-direction:column;gap:var(--mask-text-gap,initial);width:var(--mask-text-width,initial)}:host .container .heading{font-size:var(--mask-font-heading-size,inherit);line-height:var(--mask-font-heading-size,inherit);padding:var(--mask-heading-padding,initial);text-align:var(--mask-heading-text-align,initial);width:var(--mask-heading-width,initial)}:host(.screen-filling){background:var(--mask-background,transparent);height:100%;position:absolute;width:100%}:host(.screen-filling) .container{height:fit-content;width:fit-content}:host(.screen-filling) .container .buttons-container{display:flex;flex-direction:row;justify-content:var(--mask-buttons-justify-content,center);padding-top:var(--mask-buttons-padding-top,unset);width:100%}:host(.screen-filling) .container .buttons-container .button{background-color:var(--mask-button-color,inherit);box-shadow:var(--mask-button-box-shadow,none);color:var(--mask-button-text-color,inherit);cursor:pointer;font-size:var(--mask-button-font-size,var(--mask-font-size,inherit));font-weight:var(--mask-font-weight,inherit);padding:var(--mask-button-padding,unset)}@media (width <= 520px){:host(.screen-filling) .container{min-width:var(--screen-filling-mask-mobile-container-min-width,unset)}}@media (width >= 520px) and (width <= 980px){:host(.screen-filling) .container{min-width:var(--screen-filling-mask-mobile-container-min-width,unset)}}`,KW=Object.defineProperty,ZW=Object.getOwnPropertyDescriptor,eQ=Object.getPrototypeOf,tQ=Reflect.get,rQ=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?ZW(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&KW(t,r,o),o};let nQ=class extends DW{constructor(){super(),this.mask="information",this.acknowledgeButton=!1,this.informationTextDefault="",this.headingTextDefault=""}get informationText(){return this.maskData&&this.maskData["information-text"]?Array.isArray(this.maskData["information-text"])?Zk`<div class="text list">${this.maskData["information-text"].map(e=>Zk`<div i18n="${e}">${e}</div>`)}</div>`:Zk`<div class="text" i18n="${this.maskData["information-text"]}">${this.maskData["information-text"]}</div>`:Zk`<div class="text" i18n="${this.informationTextDefault}">${this.informationTextDefault}</div>`}get headingText(){return this.maskData&&this.maskData["heading-text"]?this.maskData["heading-text"]:this.headingTextDefault}acknowledge(e){const t=this.parentElement;t&&t.hide&&t.hide(),e.preventDefault(),e.stopImmediatePropagation(),e.stopPropagation()}render(){const e=this.acknowledgeButton?Zk`<div @click="${this.acknowledge}" class="button" i18n="information.mask.ok.button"></div>`:Zk``;return this.build(Zk`
+            <div class="container">
+                ${this.headingText.length>0?Zk`<div class="heading" i18n="${this.headingText}">${this.headingText}</div>`:Zk``}
+                ${this.informationText}
+                <div class="buttons-container">
+                    ${e}
+                </div>
+            </div>
+        `)}};nQ.styles=[((e,t)=>tQ(eQ(e),t,e))(nQ,"styles")||[],$k`${yk(XW)}`],rQ([lk({type:Boolean,reflect:!0,attribute:"acknowledge-button"})],nQ.prototype,"acknowledgeButton",2),rQ([lk({type:String,reflect:!0,attribute:"information-text"})],nQ.prototype,"informationTextDefault",2),rQ([lk({type:String,reflect:!0,attribute:"heading-text"})],nQ.prototype,"headingTextDefault",2),nQ=rQ([sk("fv-information-mask")],nQ);var iQ=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{height:100%;position:absolute;width:100%}:host .mask-container{align-items:var(--open-cloud-id-mask-align-items,center);background:var(--mask-container-background,transparent);box-shadow:var(--mask-container-box-shadow,none);color:var(--mask-container-text-color,inherit);display:flex;flex-direction:var(--open-cloud-id-mask-flex-direction,column);font-size:var(--mask-font-size,inherit);gap:var(--open-cloud-id-mask-gap,unset);height:var(--open-cloud-id-mask-height,fit-content);justify-content:var(--open-cloud-id-mask-justify-content,center);line-height:var(--mask-font-size,inherit);max-width:var(--mask-container-max-width,none);padding:var(--mask-container-padding-top,none) var(--mask-container-padding-right,none) var(--mask-container-padding-bottom,none) var(--mask-container-padding-left,none);width:var(--open-cloud-id-mask-width,fit-content)}:host .mask-container .text{text-align:var(--mask-text-align,start);width:var(--open-cloud-id-mask-text-width,fit-content)}:host .mask-container .input-container{border:0;height:var(--open-cloud-id-mask-input-height,unset);margin:0;padding:var(--open-cloud-id-mask-input-container-padding,0);width:var(--open-cloud-id-mask-input-width,unset)}:host .mask-container .input-container input{border:var(--open-cloud-id-mask-input-border,unset);font-size:var(--open-cloud-id-mask-input-font-size,unset);height:100%;margin:var(--open-cloud-id-mask-input-margin,unset);padding:0;padding-left:var(--open-cloud-id-mask-input-padding-left,unset);width:calc(100% - var(--open-cloud-id-mask-input-padding-left, unset))}:host .mask-container .input-container input::placeholder{color:var(--open-cloud-id-mask-placeholder-color,unset)}:host .mask-container .button-container{display:flex;justify-content:var(--open-cloud-id-mask-button-justify-content,unset);width:100%}:host .mask-container .button-container .button{background-color:var(--mask-button-color,inherit);box-shadow:var(--mask-button-box-shadow,none);color:var(--mask-button-text-color,inherit);cursor:pointer;font-size:var(--mask-button-font-size,var(--mask-font-size,inherit));font-weight:var(--mask-font-weight,inherit);padding:var(--mask-button-padding,unset);width:fit-content}`,oQ=Object.defineProperty,sQ=Object.getOwnPropertyDescriptor,aQ=Object.getPrototypeOf,lQ=Reflect.get,cQ=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?sQ(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&oQ(t,r,o),o};let uQ=class extends DW{constructor(){super(),this.events=[],this.mask="open-cloud-id"}clickEvent(e){return t=this,r=null,n=function*(){this.input&&this.input.value.length>0&&(yield CommunicationMessageService.openCloudId(this.input.value),this.events&&window.dispatchEvent(new cG({async:!1,events:this.events}))),this.hide(!0)},new Promise((e,i)=>{var o=e=>{try{a(n.next(e))}catch(e){i(e)}},s=e=>{try{a(n.throw(e))}catch(e){i(e)}},a=t=>t.done?e(t.value):Promise.resolve(t.value).then(o,s);a((n=n.apply(t,r)).next())});var t,r,n}render(){return this.build(Zk`
+            <div class="mask-container">
+                <div class="text" i18n="open.cloud.id.mask.title"></div>
+                <div class="input-container">
+                    <input i18n-placeholder="open.cloud.id.mask.open.input.placeholder" placeholder=""/>
+                </div>
+                <div class="button-container">
+                    <div @click="${this.clickEvent}" class="button" i18n="open.cloud.id.mask.open.button.text"></div>
+                </div>
+            </div>
+        `)}};uQ.styles=[((e,t)=>lQ(aQ(e),t,e))(uQ,"styles")||[],$k`${yk(iQ)}`],cQ([dk("input")],uQ.prototype,"input",2),cQ([lk({type:Array,reflect:!0,attribute:"post-click-events"})],uQ.prototype,"events",2),uQ=cQ([sk("fv-open-cloud-id-mask")],uQ);var dQ=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host([active]){align-items:center;display:flex;flex-direction:column;justify-content:center}:host{height:100%;position:absolute;width:100%}:host .mask-container{align-items:center;background:var(--mask-container-background,transparent);box-shadow:var(--mask-container-box-shadow,none);color:var(--mask-container-text-color,inherit);display:flex;flex-direction:column;font-size:var(--mask-font-size,inherit);height:var(--share-link-per-mail-mask-container-height,fit-content);justify-content:center;line-height:var(--mask-font-size,inherit);max-width:var(--mask-container-max-width,none);padding:var(--mask-container-padding-top,none) var(--mask-container-padding-right,none) var(--mask-container-padding-bottom,none) var(--mask-container-padding-left,none);width:var(--share-link-per-mail-mask-container-width,fit-content)}:host .mask-container .text{padding-bottom:var(--share-link-per-mail-mask-text-container-padding-bottom,0);text-align:var(--mask-text-align,start);width:var(--share-link-per-mail-mask-text-container-width,100%)}:host .mask-container .content-container{align-items:center;display:flex;flex-direction:row;gap:var(--share-link-per-mail-mask-input-button-gap,unset);justify-content:space-between;width:var(--share-link-per-mail-mask-content-container-width,100%)}:host .mask-container .content-container .input-container{height:var(--share-link-per-mail-mask-input-height,unset);width:var(--share-link-per-mail-mask-input-width,unset)}:host .mask-container .content-container .input-container input{border:0;color:var(--share-link-per-mail-mask-input-font-color,unset);font-size:var(--share-link-per-mail-mask-input-font-size,unset);height:100%;line-height:var(--share-link-per-mail-mask-input-line-height,unset);margin:0;padding:0;padding-left:var(--share-link-per-mail-mask-input-space-left,0);width:calc(100% - var(--share-link-per-mail-mask-input-space-left, 0px))}:host .mask-container .content-container .input-container input.error{color:var(--share-link-per-mail-mask-input-font-error-color,red)}:host .mask-container .content-container .input-container input.error::placeholder{color:var(--share-link-per-mail-mask-input-placeholder-error-color,red)}:host .mask-container .content-container .input-container input::placeholder{color:var(--share-link-per-mail-mask-input-placeholder-color,unset)}@media (width <= 520px){:host .mask-container{padding:var(--share-link-per-mail-mask-container-mobile-padding-top,var(--mask-container-padding-top,none)) var(--share-link-per-mail-mask-container-mobile-padding-right,var(--mask-container-padding-right,none)) var(--share-link-per-mail-mask-container-mobile-padding-bottom,var(--mask-container-padding-bottom,none)) var(--share-link-per-mail-mask-container-mobile-padding-left,var(--mask-container-padding-left,none));width:var(--share-link-per-mail-mask-container-mobile-width,var(--share-link-per-mail-mask-container-width,fit-content))}}@media (width >= 520px) and (width <= 980px){:host .mask-container{padding:var(--share-link-per-mail-mask-container-mobile-padding-top,var(--mask-container-padding-top,none)) var(--share-link-per-mail-mask-container-mobile-padding-right,var(--mask-container-padding-right,none)) var(--share-link-per-mail-mask-container-mobile-padding-bottom,var(--mask-container-padding-bottom,none)) var(--share-link-per-mail-mask-container-mobile-padding-left,var(--mask-container-padding-left,none));width:var(--share-link-per-mail-mask-container-mobile-width,var(--share-link-per-mail-mask-container-width,fit-content))}}`,hQ=Object.defineProperty,pQ=Object.getOwnPropertyDescriptor,mQ=Object.getPrototypeOf,_Q=Reflect.get,gQ=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?pQ(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&hQ(t,r,o),o},fQ=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});let vQ=class extends DW{constructor(){super(),this.mask="share-link-per-mail",this.custom=!1,this.loader=!1,this.oldInputValue=""}removeClassEach(e,t){null==t||t.forEach(t=>{t.classList.remove(e)})}addClassEach(e,t){null==t||t.forEach(t=>{t.classList.add(e)})}reset(){var e;null==(e=this.confirmButton)||e.reset()}show(){super.show(),this.reset()}validate(e){return RegExp(/^[\w-\.]+@([\w-]+\.)+[\w-]{2,4}$/).test(e.toLowerCase())}sendMail(e){return fQ(this,null,function*(){if(this.confirmButton&&e.length>0&&this.validate(e)){if(this.loader){this.confirmButton.loaderState=!0;const t=yield CommunicationMessageService.printPDF(),r=yield RequestHelperService.GetFurncloudShortUrl(window.location.href,t.cloudId);yield CommunicationMessageService.sendMail(e,this.custom?"custom":"default",[{key:"url",value:r}]),this.confirmButton.loaderState=!1}else{const t=yield CommunicationMessageService.printPDF(),r=yield RequestHelperService.GetFurncloudShortUrl(window.location.href,t.cloudId);yield CommunicationMessageService.sendMail(e,this.custom?"custom":"default",[{key:"url",value:r}])}return this.confirmButton.triggerAnimation(),this.confirmButton.loaderState=!0,!0}return!1})}send(){return fQ(this,null,function*(){var e;if(this.confirmButton&&0==this.confirmButton.confirmed){if(this.input){if(0==(yield this.sendMail(this.input.value)))return void this.input.classList.add("error");this.input.classList.remove("error")}null==(e=this.confirmButton)||e.confirm(!1)}})}render(){return this.build(Zk`
+            <div class="mask-container">
+                <div class="text" i18n="share.link.per.mail.mask.title"></div>
+                <div class="content-container">
+                    <div class="input-container">
+                        <input i18n-placeholder="share.link.per.mail.mask.send.input.placeholder" placeholder=""/>
+                    </div>
+                    <fv-confirming-button confirm-txt="share.link.per.mail.mask.send.button.text.send" txt="share.link.per.mail.mask.send.button.text" @click="${this.send}"></fv-confirming-button>
+                </div>
+            </div>
+        `)}updated(e){super.updated(e),this.container&&0==this.container.hasAttribute("listening")&&(this.container.setAttribute("listening","true"),this.container.addEventListener("click",e=>{e.preventDefault(),e.stopImmediatePropagation(),e.stopPropagation()})),this.input&&0==this.input.hasAttribute("listening")&&(this.input.setAttribute("listening","true"),this.input.addEventListener("click",e=>{var t;null==(t=this.input)||t.classList.remove("error")}),this.input.addEventListener("input",()=>{var e,t,r;this.oldInputValue!=(null==(e=this.input)?void 0:e.value)&&this.reset(),this.oldInputValue=(null==(t=this.input)?void 0:t.value)?null==(r=this.input)?void 0:r.value:""}),this.input.addEventListener("keypress",e=>{"Enter"===e.key&&this.send()}))}};vQ.styles=[((e,t)=>_Q(mQ(e),t,e))(vQ,"styles")||[],$k`${yk(dQ)}`],gQ([lk({type:Boolean,reflect:!0,attribute:"custom"})],vQ.prototype,"custom",2),gQ([lk({type:Boolean,reflect:!0,attribute:"loader"})],vQ.prototype,"loader",2),gQ([dk(".mask-container")],vQ.prototype,"container",2),gQ([dk("input")],vQ.prototype,"input",2),gQ([dk("fv-confirming-button")],vQ.prototype,"confirmButton",2),vQ=gQ([sk("fv-share-link-per-mail")],vQ);var bQ=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host([active]){align-items:center;display:flex;flex-direction:column;justify-content:center}:host .mask-container{align-items:center;background:var(--mask-container-background,transparent);box-shadow:var(--mask-container-box-shadow,none);color:var(--mask-container-text-color,inherit);display:flex;flex-direction:column;font-size:var(--mask-font-size,inherit);height:var(--request-appointment-mask-container-height,fit-content);justify-content:center;line-height:var(--mask-font-size,inherit);max-width:var(--mask-container-max-width,none);padding:var(--mask-container-padding-top,none) var(--mask-container-padding-right,none) var(--mask-container-padding-bottom,none) var(--mask-container-padding-left,none);width:var(--request-appointment-mask-container-width,fit-content)}:host .mask-container .text{padding-bottom:var(--request-appointment-mask-text-container-padding-bottom,0);text-align:var(--mask-text-align,start);width:var(--request-appointment-mask-text-container-width,100%)}:host .mask-container .content-container{display:grid;gap:2px;grid-template-columns:auto auto;width:var(--request-appointment-mask-content-container-width,100%)}:host .mask-container .content-container .name{grid-column:1}:host .mask-container .content-container .first-name{grid-column:2}:host .mask-container .content-container .email{grid-column:1}:host .mask-container .content-container .phone{grid-column:2}:host .mask-container .content-container .plz{grid-column:1}:host .mask-container .content-container .place{grid-column:2}:host .mask-container .message{margin-top:2px;min-height:100px;min-width:calc(100% - 34px);outline:var(--input-outer-outline,1px solid var(--bordered-color,red));padding:var(--input-padding,4px 15px 0 15px)}:host .mask-container .send-button-container{cursor:pointer;margin-top:20px;position:relative;width:fit-content}:host .mask-container .send-button-container .send-button{background-color:var(--mask-button-color,inherit);box-shadow:var(--mask-button-box-shadow,none);color:var(--mask-button-text-color,inherit);cursor:pointer;display:flex;font-size:var(--mask-button-font-size,var(--mask-font-size,inherit));font-weight:var(--mask-font-weight,inherit);padding:var(--mask-button-padding,unset);position:relative;width:fit-content}:host .mask-container .send-button-container .send-button span{border:0;color:var(--mask-button-text-color,inherit);display:flex;font-size:var(--mask-button-font-size,var(--mask-font-size,inherit));font-weight:var(--mask-font-weight,inherit);margin:0;padding:0;width:fit-content}:host .mask-container .send-button-container .send-button span .loader-slot.hidden{display:none}:host .mask-container .send-button-container .send-button .send-button-text-animation-container{position:relative;width:fit-content}:host .mask-container .send-button-container .send-button .send-button-text-animation-container .send-button-text{justify-content:center;left:0;position:absolute;width:100%!important}:host .mask-container .send-button-container .send-button .send-button-text-animation-container .send-button-text-send-space{color:var(--mask-button-color,inherit)!important}:host .mask-container .send-button-container .send-button-send-text-container{height:100%;left:0;position:absolute;top:0;width:100%;z-index:9}:host .mask-container .send-button-container .send-button-send-text-container .animation-container{height:100%;position:relative;width:100%}:host .mask-container .send-button-container .send-button-send-text-container .animation-container span{border:0;color:var(--mask-button-text-color,inherit);display:flex;font-size:var(--mask-button-font-size,var(--mask-font-size,inherit));font-weight:var(--mask-font-weight,inherit);margin:0;padding:0;width:fit-content}:host .mask-container .send-button-container .send-button-send-text-container .animation-container span.send-button-text-send{align-items:center;animation:text-transition var(--request-appointment-mask-animation-duration,1s);background-color:var(--mask-button-color,inherit);display:flex;height:100%;justify-content:center;overflow:hidden;position:absolute;width:100%;z-index:9}:host .mask-container .send-button-container .checkmark{align-items:center;border:0;color:var(--mask-button-text-color,inherit);display:flex;font-size:var(--mask-button-font-size,var(--mask-font-size,inherit));font-weight:var(--mask-font-weight,inherit);height:100%;justify-content:center;margin:0;padding:0;position:absolute;right:var(--request-appointment-mask-checkmark-space-right,0);top:0;width:fit-content;z-index:9}:host .mask-container .send-button-container .checkmark.hidden{display:none}:host .mask-container .send-button-container .checkmark .checkmark-svg{height:var(--request-appointment-mask-checkmark-size,.75em);padding-left:var(--request-appointment-mask-checkmark-space-left,0);width:var(--request-appointment-mask-checkmark-size,.75em)}:host .mask-container .send-button-container .checkmark .checkmark-svg path{fill:var(--request-appointment-mask-checkmark-fill,none);stroke:var(--request-appointment-mask-checkmark-color,#7ac142);stroke-width:var(--request-appointment-mask-checkmark-stroke-width,4);stroke-dasharray:var(--request-appointment-mask-checkmark-stroke-dasharray,23);stroke-dashoffset:var(--request-appointment-mask-checkmark-stroke-dashoffset,23);stroke-linecap:var(--request-appointment-mask-checkmark-linecap,round);stroke-linejoin:var(--request-appointment-mask-checkmark-linejoin,round);animation:draw-checkmark var(--request-appointment-mask-animation-duration,1s) linear var(--request-appointment-mask-checkmark-direction,forwards)}:host .mask-container .send-button-container.send .send-button-send-text-container .animation-container .send-button-text-send{background-color:var(--request-appointment-mask-send-button-color,var(--mask-button-color,inherit))!important;color:var(--request-appointment-mask-send-text-color,var(--mask-button-color,inherit))!important}@keyframes text-transition{0%{width:0}to{width:100%}}@keyframes draw-checkmark{0%{stroke:var(--request-appointment-mask-checkmark-color,#7ac142);stroke-dashoffset:var(--request-appointment-mask-checkmark-stroke-dashoffset,23)}40%{stroke:var(--request-appointment-mask-checkmark-color,#7ac142)}to{stroke:var(--request-appointment-mask-send-text-color,var(--mask-button-color,inherit));stroke-dashoffset:0}}`,yQ=Object.defineProperty,$Q=Object.getOwnPropertyDescriptor,xQ=Object.getPrototypeOf,SQ=Reflect.get,wQ=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?$Q(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&yQ(t,r,o),o};let AQ=class extends DW{constructor(){super(),this.mask="request-appointment",this.emailRegex="[-A-Za-z0-9!#$%&'*+/=?^_`{|}~]+(?:\\.[-A-Za-z0-9!#$%&'*+/=?^_`{|}~]+)*@(?:[A-Za-z0-9](?:[-A-Za-z0-9]*[A-Za-z0-9])?\\.)+[A-Za-z0-9](?:[-A-Za-z0-9]*[A-Za-z0-9])?",this.phoneInputRegex="^[0-9\\+\\-\\\\(\\(0\\))\\ ]+$",this.zipRegex="^[0-9]{5}$",this.zipInputRegex="^[0-9]{0,5}$",this.addEventListener("validating-input-updated",()=>{this.send=!1}),this.addHideStateUpdatedEventListener(e=>{if(0==e&&this.shadowRoot){this.shadowRoot.querySelector("fv-validating-input").focus()}})}removeClassEach(e,t){null==t||t.forEach(t=>{t.classList.remove(e)})}addClassEach(e,t){null==t||t.forEach(t=>{t.classList.add(e)})}set send(e){var t,r,n,i;e?(null==(t=this.buttonTextSend)||t.classList.remove("hidden"),this.removeClassEach("hidden",this.checkmarks),null==(r=this.buttonContainer)||r.classList.add("send")):(null==(n=this.buttonTextSend)||n.classList.add("hidden"),this.addClassEach("hidden",this.checkmarks),null==(i=this.buttonContainer)||i.classList.remove("send"))}sendMail(){return e=this,t=null,r=function*(){var e,t,r;if(null==(e=this.loaderSlot)||e.classList.remove("hidden"),this.nameInput&&this.firstNameInput&&this.emailInput&&this.phoneInput&&this.zipInput&&this.messageTextArea&&this.nameInput.valid&&this.firstNameInput.valid&&this.emailInput.valid&&this.phoneInput.valid&&this.zipInput.valid){const e=yield CommunicationMessageService.printPDF(),r=[{key:"lastName",value:this.nameInput.value},{key:"firstName",value:this.firstNameInput.value},{key:"email",value:this.emailInput.value},{key:"phone",value:this.phoneInput.value},{key:"zip",value:this.zipInput.value},{key:"cloudId",value:e.cloudId},{key:"message",value:this.messageTextArea.value}],n=new URL(window.location.href),i=n.searchParams.has("lang")?n.searchParams.get("lang"):"de";return window.MailerService.sendConfiguratedMail("anfrage",i,r),null==(t=this.loaderSlot)||t.classList.add("hidden"),void(this.send=!0)}null==(r=this.loaderSlot)||r.classList.add("hidden")},new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});var e,t,r}createInput(e){return Zk`
+            <fv-validating-input
+                ?required=${e.required}
+                class="${e.className?e.className:""}"
+                i18n-placeholder="${e.placeholderI18n}"
+                input-validation="${e.inputValidation}"
+                result-validation="${e.resultValidation}"
+                i18n-empty-information-text="${e.emptyInformationI18n}"
+                i18n-invalid-information-text="${e.invalidInformationI18n}">
+            </fv-validating-input>
+        `}createSendButton(){const e=LocalesModel.translate("share.link.per.mail.mask.send.button.text.send"),t=LocalesModel.translate("send_inquiry");return Zk`
+            <div @click="${this.sendMail}" class="send-button-container">
+                <div class="send-button">
+                    <span class="send-button-text-animation-container">
+                        <span class="send-button-text-send-space">${e.length>t.length?e:t}</span>
+                        <span class="send-button-text" i18n="send_inquiry">${t}</span>
+                    </span>
+                    <span><slot class="loader-slot hidden" name="loader"></slot></span>
+                </div>
+                <div class="send-button-send-text-container">
+                    <div class="animation-container">
+                        <span class="send-button-text-send hidden" i18n="share.link.per.mail.mask.send.button.text.send">${e}</span>
+                    </div>
+                </div>
+                <div class="checkmark hidden">
+                    <svg class="checkmark-svg" viewBox="0 0 24 24">
+                        <path d="M4.1 12.7L9 17.6 20.3 6.3" fill="none"/>
+                    </svg>
+                </div>
+            </div>
+        `}render(){return this.build(Zk`
+            <div class="mask-container">
+                <div class="text" i18n="fv.make.an.appointment"></div>
+                <div class="content-container">
+                    ${this.createInput({className:"name",placeholderI18n:"1528",required:!0,emptyInformationI18n:"1621"})}
+                    ${this.createInput({className:"first-name",placeholderI18n:"20322",required:!0,emptyInformationI18n:"1621"})}
+                    ${this.createInput({className:"email",placeholderI18n:"fv.email.homeviewer.send_request_customer.email",required:!0,resultValidation:this.emailRegex,emptyInformationI18n:"1621",invalidInformationI18n:"fv.invalid.input"})}
+                    ${this.createInput({className:"phone",placeholderI18n:"fv.email.contactPhone",required:!1,resultValidation:void 0,inputValidation:this.phoneInputRegex,invalidInformationI18n:"fv.invalid.input"})}
+                    ${this.createInput({className:"zip",placeholderI18n:"25026",required:!0,resultValidation:this.zipRegex,inputValidation:this.zipInputRegex,invalidInformationI18n:"fv.invalid.input",emptyInformationI18n:"1621"})}
+                    ${this.createInput({className:"place",placeholderI18n:"25027",required:!1})}
+                </div>
+                <textarea class="message" i18n-placeholder="your_message"></textarea>
+                ${this.createSendButton()}
+            </div>
+        `)}show(){super.show(),this.send=!1}};AQ.styles=[((e,t)=>SQ(xQ(e),t,e))(AQ,"styles")||[],$k`${yk(bQ)}`],wQ([dk(".name")],AQ.prototype,"nameInput",2),wQ([dk(".first-name")],AQ.prototype,"firstNameInput",2),wQ([dk(".email")],AQ.prototype,"emailInput",2),wQ([dk(".phone")],AQ.prototype,"phoneInput",2),wQ([dk(".zip")],AQ.prototype,"zipInput",2),wQ([dk(".place")],AQ.prototype,"placeInput",2),wQ([dk(".message")],AQ.prototype,"messageTextArea",2),wQ([dk(".send-button-container")],AQ.prototype,"buttonContainer",2),wQ([dk(".send-button-text-send")],AQ.prototype,"buttonTextSend",2),wQ([hk(".checkmark")],AQ.prototype,"checkmarks",2),wQ([dk(".loader-slot")],AQ.prototype,"loaderSlot",2),AQ=wQ([sk("fv-request-appointment")],AQ);var CQ=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host([active]){align-items:center;display:flex;flex-direction:column;justify-content:center}:host{height:100%;position:absolute;width:100%}:host .properties-container{max-width:var(--select-property-mask-container-max-width,unset)}:host .properties-container .property-values-container{display:grid;gap:var(--select-property-mask-properties-gap,unset);grid-template-columns:repeat(var(--select-property-mask-property-columns,2),auto);justify-content:center}:host .properties-container .property-values-container .property-button{align-items:center;background:var(--select-property-mask-properties-button-background,unset);cursor:pointer;display:flex;flex-direction:row;gap:var(--select-property-mask-properties-button-img-txt-gap,unset);justify-content:flex-start;padding:var(--select-property-mask-properties-button-padding,unset)}:host .properties-container .property-values-container .property-button .img-container img{width:var(--select-property-mask-properties-button-img-width,unset)}@media (width <= 980px){:host .properties-container{max-width:var(--select-property-mask-container-max-width-mobile,var(--select-property-mask-container-max-width,unset))}:host .properties-container .property-values-container{grid-template-columns:repeat(var(--select-property-mask-property-columns-mobile,1),auto)!important}}`,EQ=Object.defineProperty,IQ=Object.getOwnPropertyDescriptor,MQ=Object.getPrototypeOf,kQ=Reflect.get,TQ=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?IQ(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&EQ(t,r,o),o},RQ=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});let LQ=class extends DW{constructor(){super(),this.mask="select-property",this.program="",this.propertyUseRelevant=!1,this.filter=[],this.loading=!0,this.closeEvents=[],this.properties=[],this.FindProperties()}checkFilter(e,t){if(void 0===t)return!1;if(t.length<1)return!0;if(void 0===e)return!1;for(let r=0;r<e.length;++r)if(t.includes(e[r]))return!0;return!1}FindProperties(){return RQ(this,null,function*(){var e;this.program.length<1&&(this.program=window.g_article.prog);const t=yield gL.find(window.g_article.manu,this.program,!1,this.propertyUseRelevant,!1);this.properties=[],null==(e=t.propertyKeyOrder)||e.forEach(e=>{const r=t.children[e];this.checkFilter([r.id],this.filter)&&this.properties.push(r)}),this.loading=!1})}getPropertyButtonClick(e,t,r){return n=>RQ(this,null,function*(){this.loading=!0,yield CommunicationMessageService.modifyProperty(JSON.stringify({manufacturer:window.g_article.manu,program:this.program,key:e,property:t,propertyKey:r}));for(const e of this.closeEvents)yield TY.dispatchAsyncEvent(e.id,e.data?e.data:{});const i=this.parentElement;i&&i.hide&&i.hide(),n.preventDefault(),n.stopImmediatePropagation(),n.stopPropagation(),this.loading=!1})}createPropertyButton(e,t){const r=LocalesModel.exists("property.text.above."+e.key),n=LocalesModel.exists("property.name.prefix."+e.key);return Zk`
+            <div class="property-button" @click="${this.getPropertyButtonClick(t,e.key,e.propertyKey)}">
+                <div class="img-container"><img src="${e.alternativeImageUrl}"/></div>
+                <div class="txt-container">
+                    ${r?Zk`<div class="text-above" i18n="property.text.above.${e.key}"></div>`:Zk``}
+                    <div class="text-inline">
+                        ${n?Zk`<div class="prefix" i18n="property.name.prefix.${e.key}"></div>`:Zk``}
+                        <div class="property-name">${e.name}</div>
+                    </div>
+                </div>
+            </div>
+        `}createPropertyButtons(e){const t=Object.keys(e.children);return Zk`
+            <div class="property-values-container">
+                ${t.map(t=>this.createPropertyButton(e.children[t],e.id))}
+            </div>
+        `}render(){return this.properties.length<1||this.loading?Zk`<slot name="loader"></slot>`:Zk`
+            <div class="properties-container">
+                ${this.properties.map(e=>this.createPropertyButtons(e))}
+            </div>
+        `}};LQ.styles=[((e,t)=>kQ(MQ(e),t,e))(LQ,"styles")||[],$k`${yk(CQ)}`],TQ([lk({type:String,reflect:!0,attribute:"program"})],LQ.prototype,"program",2),TQ([lk({type:Boolean,reflect:!0,attribute:"property-use-relevant"})],LQ.prototype,"propertyUseRelevant",2),TQ([lk({type:Array,reflect:!0,attribute:"filter"})],LQ.prototype,"filter",2),TQ([lk({type:Boolean,reflect:!0})],LQ.prototype,"loading",2),TQ([lk({type:Array,reflect:!0,attribute:"close-events"})],LQ.prototype,"closeEvents",2),LQ=TQ([sk("fv-select-property-mask")],LQ);var PQ=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{padding:0}:host([active]){align-items:center;display:flex;flex-direction:column;justify-content:center}:host([active]) .headline-container{align-items:center;display:flex;flex-direction:column;justify-content:center;position:relative;width:100%}:host([active]) .headline-container .headline-back-button{left:var(--select-article-back-button-corner-distance,0);position:absolute;top:var(--select-article-back-button-corner-distance,0)}:host([active]) .articles-container{background:var(--mask-container-background,transparent);box-shadow:var(--mask-container-box-shadow,none);color:var(--mask-container-text-color,inherit);display:grid;font-size:var(--mask-font-size,inherit);gap:var(--select-article-gap,none);grid-auto-rows:max-content;grid-template-columns:repeat(var(--select-article-columns,2),auto);line-height:var(--mask-font-size,inherit);margin:unset;max-width:var(--mask-container-max-width,none);overflow-x:var(--select-article-overflow-x,unset);overflow-y:var(--select-article-overflow-y,unset);padding:var(--mask-container-padding-top,none) var(--mask-container-padding-right,none) var(--mask-container-padding-bottom,none) var(--mask-container-padding-left,none)}:host([active]) .loading-container{align-items:center;background:var(--mask-container-background,transparent);box-shadow:var(--mask-container-box-shadow,none);display:flex;font-size:var(--mask-font-size,inherit);justify-content:center;line-height:var(--mask-font-size,inherit);max-width:var(--mask-container-max-width,none);padding:var(--mask-container-padding-top,none) var(--mask-container-padding-right,none) var(--mask-container-padding-bottom,none) var(--mask-container-padding-left,none)}:host(.screen-filling){height:100%;position:absolute;width:100%}:host(.screen-filling) .articles-container{height:var(--select-article-screen-filling-articles-container-height,fit-content);width:fit-content}`,DQ=Object.defineProperty,NQ=Object.getOwnPropertyDescriptor,FQ=Object.getPrototypeOf,OQ=Reflect.get,BQ=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?NQ(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&DQ(t,r,o),o},UQ=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});let VQ=class extends DW{constructor(){super(),this.categories=[],this._program="",this.closeWithoutOptions=!1,this.articleDimensions={unit:"cm",digits:1},this.newArticleOptionSettings={show:!1},this.vplacerContext=void 0,this.clearScene=!1,this.newScene=!1,this.preventFurtherPlacements=!1,this.mask="select-article-mask",this.articles=[],this.nodePrefix="",this.closeEvents=[],this.showLoader=!1,this.init()}getValueInArticleDimensionUnit(e){return"cm"===this.articleDimensions.unit?.1*e:e}set program(e){this._program=e}get program(){return this._program.length>0?this._program:window.g_article.prog}init(){return UQ(this,null,function*(){if(yield CommunicationInterfaceService.IsAppReady,this.categories.length>0){const e=yield CommunicationMessageService.getArticleByCategories(window.g_article.manu,this.program,this.categories);this.nodePrefix=yield CommunicationMessageService.getNodePrefix(),e?(this.articles=e,this.newArticleOptionSettings&&this.newArticleOptionSettings.show&&(this.newArticleOptionSettings.last?this.articles.push({i18nDes:this.newArticleOptionSettings.i18nDes?this.newArticleOptionSettings.i18nDes:"fv-select-article-no-article-option-description",img:this.newArticleOptionSettings.img?this.newArticleOptionSettings.img:""}):null!=this.newArticleOptionSettings.index&&this.articles.splice(this.newArticleOptionSettings.index,0,{i18nDes:this.newArticleOptionSettings.i18nDes?this.newArticleOptionSettings.i18nDes:"fv-select-article-no-article-option-description",img:this.newArticleOptionSettings.img?this.newArticleOptionSettings.img:""}))):this.closeWithoutOptions&&(yield this.close()),this.requestUpdate()}})}close(e=!1,t=!1){return UQ(this,null,function*(){t?yield CommunicationMessageService.newPlanning():e&&(yield CommunicationMessageService.clearScene());for(const e of this.closeEvents)yield TY.dispatchAsyncEvent(e.id,e.data?e.data:{});const r=this.parentElement;r&&r.hide&&(r.hide(),this.showLoader=!1),this.preventFurtherPlacements&&(yield CommunicationMessageService.resetSceneAction(),yield CommunicationMessageService.resetCameraView(!1))})}loadArticle(e){return UQ(this,null,function*(){const t=e.target.getAttribute("article");t&&t.length>0&&(this.showLoader=!0,this.vplacerContext&&(yield CommunicationMessageService.setVPlacerContextInfoData(this.vplacerContext)),this.clearScene&&(yield CommunicationMessageService.clearScene()),yield CommunicationMessageService.loadArticle(window.g_article.manu,this.program,t),yield this.close())})}getArticleText(e){return e.Des&&e.Des.length>0?e.Des:e.artText&&e.artText.length>0?e.artText:e.ArtNr&&e.ArtNr.length>0?e.ArtNr:""}getDimensionInformation(e,t){const r=[];if(e&&e.dimension)for(const n of e.dimension)switch(n){case"x":r.push(this.getValueInArticleDimensionUnit(parseFloat(t.kataWidth)));break;case"y":r.push(this.getValueInArticleDimensionUnit(parseFloat(t.kataDepth)));break;case"z":r.push(this.getValueInArticleDimensionUnit(parseFloat(t.kataHeight)))}return{dimension:r,icon:e&&e["icon-class"]?e["icon-class"]:"",src:e&&e["icon-img-src"]?e["icon-img-src"]:"",divider:e&&e["axis-divider"]?e["axis-divider"]:""}}createArticleOption(e){const t=e;if(t&&t.ArtNr){const e=[];if(this.articleDimensions.groups&&this.articleDimensions.groups.length>0)for(const r of this.articleDimensions.groups)e.push(this.getDimensionInformation(r,t));return Zk`
+                <fv-card @click="${this.loadArticle}"
+                        article="${t.ArtNr}"
+                        data="${JSON.stringify({image:{prefix:this.nodePrefix,file:t.imgName},dimensions:e,txt:{txt:this.getArticleText(t)}})}">
+                    <slot name="button" slot="button"></slot>
+                    <slot name="additional" slot="additional"></slot>
+                </fv-card>
+            `}const r=e;if(r&&r.i18nDes){return Zk`
+                <fv-card @click="${()=>{this.close(this.clearScene,this.newScene)}}"
+                    article=""
+                    data="${JSON.stringify({image:{prefix:"",file:r.img},txt:{title:r.i18nDes,subtitle:"",txt:""}})}">
+                </fv-card>
+            `}return Zk``}createArticleOptions(){return Zk`
+    ${this.articles.map(e=>this.createArticleOption(e))}
+        `}createHeadline(){return Zk`
+            <div class="headline-container">
+                <div class="headline-back-button"><slot name="back-button"></slot></div>
+                <div class="headline-logo"><slot name="logo"></slot></div>
+                <div class="headline-title"><slot name="title"></slot></div>
+            </div>
+        `}render(){return null==this.articles||this.articles&&this.articles.length<1||this.showLoader?Zk`<div class="loading-container"><slot name="loader"></slot></div>`:Zk`
+            ${this.createHeadline()}
+            <div class="articles-container">${this.createArticleOptions()}</div>
+        `}};VQ.styles=[((e,t)=>OQ(FQ(e),t,e))(VQ,"styles")||[],$k`${yk(PQ)}`],BQ([lk({type:Array,reflect:!0,attribute:"categories"})],VQ.prototype,"categories",2),BQ([lk({type:String,reflect:!0,attribute:"program"})],VQ.prototype,"_program",2),BQ([lk({type:Boolean,reflect:!0,attribute:"close-without-options"})],VQ.prototype,"closeWithoutOptions",2),BQ([lk({type:Object,reflect:!0,attribute:"article-dimensions"})],VQ.prototype,"articleDimensions",2),BQ([lk({type:Object,reflect:!0,attribute:"new-article-option-settings"})],VQ.prototype,"newArticleOptionSettings",2),BQ([lk({type:Object,reflect:!0,attribute:"vplacer-context"})],VQ.prototype,"vplacerContext",2),BQ([lk({type:Boolean,reflect:!0,attribute:"clear-scene"})],VQ.prototype,"clearScene",2),BQ([lk({type:Boolean,reflect:!0,attribute:"new-scene"})],VQ.prototype,"newScene",2),BQ([lk({type:Boolean,reflect:!0,attribute:"prevent-further-placements"})],VQ.prototype,"preventFurtherPlacements",2),BQ([lk({type:Array,reflect:!0,attribute:"close-events"})],VQ.prototype,"closeEvents",2),BQ([lk({type:Boolean,reflect:!0,attribute:"show-loader"})],VQ.prototype,"showLoader",2),VQ=BQ([sk("fv-select-article-mask")],VQ);var zQ=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}`,HQ=Object.defineProperty,GQ=Object.getOwnPropertyDescriptor,jQ=Object.getPrototypeOf,JQ=Reflect.get,WQ=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?GQ(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&HQ(t,r,o),o};let QQ=class extends DW{constructor(){super(),this.mask="perspective-control",this.perspectives=[],this.settings={animated:!0,"zoom-type":SR.ZOOMAUTO_FRONTCLIP},this.loading=!1,this.closeAfterChoice=!1,this.applyEvents=[],this.resetOnChange=!1,this.activePerspective=AR.Front,EventFactoryService.ChangePrice.register(()=>{this.resetOnChange&&this.ApplyPerspective(this.activePerspective)}),!1===QQ.windowKeyListenerRegistered&&(window.addEventListener("keydown",e=>{if(this.active&&(0==this.perspectives.length||this.perspectives.length==Object.keys(QQ.SearchPerspectives).length)&&e.location==e.DOM_KEY_LOCATION_NUMPAD)switch(e.key){case"5":case"Clear":this.ApplyPerspective(AR.Top);break;case"2":case"ArrowDown":this.ApplyPerspective(AR.Front);break;case"8":case"ArrowUp":this.ApplyPerspective(AR.Back);break;case"6":case"ArrowRight":this.ApplyPerspective(AR.Right);break;case"4":case"ArrowLeft":this.ApplyPerspective(AR.Left);break;case"1":case"End":this.ApplyPerspective(AR.TopLeftFront);break;case"3":case"PageDown":this.ApplyPerspective(AR.TopRightFront);break;case"7":case"Home":this.ApplyPerspective(AR.TopLeftBack);break;case"9":case"PageUp":this.ApplyPerspective(AR.TopRightBack)}}),QQ.windowKeyListenerRegistered=!0)}ApplyPerspective(e){return t=this,r=null,n=function*(){this.loading=!0;const t={Perspective:e,direction:[0,0,0],type:this.settings["zoom-type"],animated:this.settings.animated};if(yield CommunicationMessageService.setCameraZoom(t),this.loading=!1,this.closeAfterChoice){for(const e of this.applyEvents)yield TY.dispatchAsyncEvent(e.id,e.data?e.data:{});const e=this.parentElement;e&&e.hide&&(e.hide(),this.active=!1)}this.activePerspective=e},new Promise((e,i)=>{var o=e=>{try{a(n.next(e))}catch(e){i(e)}},s=e=>{try{a(n.throw(e))}catch(e){i(e)}},a=t=>t.done?e(t.value):Promise.resolve(t.value).then(o,s);a((n=n.apply(t,r)).next())});var t,r,n}PerspectiveButtonClick(e){if(e.target){const t=e.target.getAttribute("perspective");if(t){QQ.SearchPerspectives[t]?this.ApplyPerspective(QQ.SearchPerspectives[t]):console.error("perspective ("+t+") does not exist!")}else console.error("perspective not set on PerspectiveButton")}}createPerspectiveButton(e){return Zk`
+            <fv-button perspective="${e}" @click="${this.PerspectiveButtonClick}" i18n="perspective-${e}">
+                ${e}
+            </fv-button>
+        `}CreateAllPerspectiveButtons(){const e=Object.keys(QQ.SearchPerspectives);return Zk`${e.map(e=>this.createPerspectiveButton(e))}`}build(e){return this.loading&&super.build(Zk`<slot name="loader"></slot>${e||Zk``}`),super.build(e)}render(){return this.perspectives.length<1?this.build(Zk`<div>${this.CreateAllPerspectiveButtons()}</div>`):this.build(Zk`<div>${this.perspectives.map(e=>this.createPerspectiveButton(e))}</div>`)}};QQ.styles=[((e,t)=>JQ(jQ(e),t,e))(QQ,"styles")||[],$k`${yk(zQ)}`],QQ.SearchPerspectives={TopLeftFront:AR.TopLeftFront,TopRightFront:AR.TopRightFront,TopLeftBack:AR.TopLeftBack,TopRightBack:AR.TopRightBack,Left:AR.Left,Right:AR.Right,Front:AR.Front,Back:AR.Back,Top:AR.Top},QQ.windowKeyListenerRegistered=!1,WQ([lk({type:Array,reflect:!0})],QQ.prototype,"perspectives",2),WQ([lk({type:Object,reflect:!0})],QQ.prototype,"settings",2),WQ([lk({type:Boolean,reflect:!0})],QQ.prototype,"loading",2),WQ([lk({type:Boolean,reflect:!0,attribute:"close-after-choice"})],QQ.prototype,"closeAfterChoice",2),WQ([lk({type:Array,reflect:!0,attribute:"apply-events"})],QQ.prototype,"applyEvents",2),WQ([lk({type:Boolean,reflect:!0,attribute:"reset-on-change"})],QQ.prototype,"resetOnChange",2),QQ=WQ([sk("fv-perspective-control-mask")],QQ);var qQ=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{background:var(--mask-background,transparent);display:flex;height:100%;position:absolute;width:100%;z-index:99999}:host.hidden{display:none}:host.hidden.hidden{display:none}:host .modal-center-container{display:flex;height:100%;width:100%;z-index:1}:host .modal-center-container .content-container{display:flex;flex-direction:column;flex-wrap:wrap-reverse;margin:auto}:host .modal-center-container .content-container .message-container{display:inline-flex;height:70px;margin:auto}:host .modal-center-container .content-container .message-container h1{color:#fff;margin:auto;padding-right:8px}:host .modal-center-container .content-container .message-container h1.resetTimeSpan{font-size:48px}:host .modal-center-container .content-container .cancel-button{background-color:#fff;border-radius:6px;box-shadow:0 0 4px 0 #d3d3d3;cursor:pointer;display:flex;flex:none;height:48px;padding:0 8px;width:max-content}:host .modal-center-container .content-container .cancel-button:hover{background-color:#d3d3d3}:host .modal-center-container .content-container .cancel-button span{font-size:20px;font-weight:var(--global-font-weight-bold,600);margin:auto}`,YQ=Object.defineProperty,XQ=Object.getOwnPropertyDescriptor,KQ=Object.getPrototypeOf,ZQ=Reflect.get,eq=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});let tq=class extends DW{constructor(){var e,t;super(),this._isStarted=!1,this._lastInteraction=0,this._resetAfter=0,this._active=!1,this._timerHandle=0,this._isReloading=!1,this._textArray=[],this.mask="reset-mask",null==(e=window.CommunicationInterfaceService)||e.on("furnview.setLastInteraction",()=>eq(this,null,function*(){this.setLastInteraction()})),null==(t=window.CommunicationInterfaceService)||t.on("furnview.startResetTimer",()=>eq(this,null,function*(){this.startTimer(),this.setLastInteraction()}))}get ResetTimeSpan(){var e;return this._resetTimeSpan=null==(e=this.shadowRoot)?void 0:e.querySelector(".resetTimeSpan"),this._resetTimeSpan}setLastInteraction(){this._lastInteraction=Date.now()}startTimer(){return eq(this,null,function*(){if(!this._isStarted){this._isStarted=!0;const e=yield RR.Configuration;(null==e?void 0:e.sessionResetSettings).showModalTime>0&&(null==e?void 0:e.sessionResetSettings)&&(null==e?void 0:e.sessionResetSettings).enabled&&(this._isReloading=!1,this.setLastInteraction(),this._timerHandle=setInterval(()=>eq(this,null,function*(){this.hasToBeShown()}),100))}})}stopTimer(){this._timerHandle&&(this._isReloading=!1,clearInterval(this._timerHandle))}hasToBeReloaded(){this._isReloading||0!==this.getTimeLeft()||(this._isReloading=!0,clearInterval(this._timerHandle),window.onbeforeunload=null,window.location.href=window.location.href.replace(/(&|\?)session=[a-f0-9]{8}-([a-f0-9]{4}-){3}[a-f0-9]{12}/g,""))}hasToBeShown(){return eq(this,null,function*(){var e;const t=yield RR.Configuration;if(this._active)this.hasToBeReloaded();else{(Date.now()-this._lastInteraction)/1e3>=(null==t?void 0:t.sessionResetSettings).showModalTime&&((null==t?void 0:t.sessionResetSettings).resetTime>0?(null==(e=this.Modal)||e.show(!0,!1),this.show()):this.hasToBeReloaded())}})}show(){var e=e=>super[e];return eq(this,null,function*(){var t,r,n,i;const o=yield RR.Configuration;this._isReloading=!1,this._resetAfter=Date.now()+1e3*(null==o?void 0:o.sessionResetSettings).resetTime,this._active=!0,this.classList.remove("hidden"),this.getTimeLeft(),e("show").call(this),null==(t=this.Modal)||t.setAttribute("fullScreen",""),null==(r=this.Modal)||r.setAttribute("dimmed",""),null==(n=this.Modal)||n.style.setProperty("--modal-background","transparent"),null==(i=this.Modal)||i.show(!0,!1)})}hide(e=!0){this._isReloading=!1,this.classList.add("hidden"),this.setLastInteraction(),this._active=!1,e&&this.stopTimer(),super.hide(!0)}getTimeLeft(){let e=Math.floor((this._resetAfter-Date.now())/1e3);return e=e>=0?e:0,this.ResetTimeSpan&&(this.ResetTimeSpan.textContent=e.toString()),e}firstUpdated(e){var t=e=>super[e];return eq(this,null,function*(){t("firstUpdated").call(this,e)})}requestUpdate(e,t,r){var n;null==(n=window.LocalesModel)||n.get("fv.text.resume_planning").then(n=>{var i;this._resumeText=n,null==(i=window.LocalesModel)||i.get("fv.konfigurator.optionen.session.settings.reset-message").then(n=>{this._textArray=n.split("<@TIME@>"),super.requestUpdate(e,t,r)})})}cancelClick(){this.hide(!1)}render(){return this.build(Zk`
+            <div class="modal-center-container">
+                <div class="content-container">
+                    <div class="message-container">
+                        <h1 class="first-text-segment">${this._textArray[0]}</h1>
+                        <h1 class="resetTimeSpan">0</h1>
+                        <h1 class="second-text-segment">${this._textArray[1]}</h1>
+                    </div>
+                    <div class="cancel-button" @click="${this.cancelClick}">
+                        <span i18n="fv.text.resume_planning">${this._resumeText}</span>
+                    </div>
+                </div>
+            </div>
+        `)}updated(e){super.updated(e)}};tq.styles=[((e,t)=>ZQ(KQ(e),t,e))(tq,"styles")||[],$k`${yk(qQ)}`],tq=((e,t,r,n)=>{for(var i,o=n>1?void 0:n?XQ(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&YQ(t,r,o),o})([sk("fv-reset-mask")],tq);var rq=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}@media (width >= 980px){:host{padding:0}}:host{display:flex!important;flex-direction:row;height:100%;max-width:var(--step-based-mask-max-width,915px);width:100%}:host .content-container{display:flex;flex-direction:column;height:100%;width:var(--step-based-mask-width,min-content)}:host .content-container>.text{line-height:2rem}:host .content-container h1{margin-bottom:52px;margin-left:22px}:host .content-container .step-button-container{display:flex;white-space:nowrap}:host .content-container .step-button-container>fv-step{height:20px;margin:20px;text-align:center}:host .content-container .step-content{display:flex}:host .content-container .step-content>fv-flex-container{display:flex;flex-wrap:wrap;margin:27px;width:100%}:host .content-container .step-content>fv-flex-container>div{width:100%}:host .info-container{flex:1;flex-basis:min-content;width:300px}`,nq=Object.defineProperty,iq=Object.getOwnPropertyDescriptor,oq=Object.getPrototypeOf,sq=Reflect.get,aq=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?iq(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&nq(t,r,o),o};let lq=class extends DW{constructor(){super(),this.mask="step-based-mask",this._disableInfoContainer=!1,this._noTitle=!1,this._renderImageBase64="",this.image="",this.onceSuccessful=!1,this.getTemplatePromise=void 0}show(e){super.show(e);const t=this.parentElement;this._cloudIDComponent&&(null==t||t.setLoading(!0),this._cloudIDComponent.updateData().then(()=>{null==t||t.setLoading(!1)})),this._openCloudIDComponent&&this._openCloudIDComponent.removeAttribute("loading");const r=this.maskData["step-id"];r&&this._steps&&this._steps.activate(r)}firstUpdated(e){super.firstUpdated(e)}updated(e){0==this.onceSuccessful&&this._dataProtectionCheckbox&&this._dataProcLink&&(this._dataProtectionCheckbox&&(this._dataProtectionCheckbox.onChange=()=>{this.dataProtectionCheck()}),null==this.getTemplatePromise&&(this.getTemplatePromise=TemplateLoaderService.getTemplateConfig("privacy-link"),this.getTemplatePromise&&this.getTemplatePromise.then(e=>{e&&this._dataProcLink&&(this._dataProcLink.setAttribute("href",e.value),this.onceSuccessful=!0)}))),super.updated(e)}dataProtectionCheck(){this._dataProtectionCheckbox&&this._shareSubmitButton&&(this._dataProtectionCheckbox.checked&&this._shareSubmitButton?this._shareSubmitButton.disabled=!1:this._shareSubmitButton.disabled=!0)}shareByMail(){this._cloudIDComponent&&this._shareMailInput&&this._shareMessageInput&&this._shareSubmitButton&&(this._shareSubmitButton.disabled=!0,this._cloudIDComponent.CloudID.length>0&&this._shareMailInput.value.length>0&&(window.MailerService.shareByMail(this._shareMailInput.value,this._shareMessageInput.value,this._cloudIDComponent.CloudID),this._shareMailInput.value="",this._shareMessageInput.value=""))}renderEmailSubmit(){this._renderImageEmail&&this._renderImageSend&&(/^[\w-.]+@([\w-]+\.)+[\w-]{2,4}$/.test(this._renderImageEmail.value.trim())?this._renderImageSend.removeAttribute("disabled"):this._renderImageSend.setAttribute("disabled",""))}sendRenderingEmail(){this._renderImageEmail&&this._renderImageSend&&(this._renderImageSend.addEventListener("click",()=>{return e=this,t=null,r=function*(){var e;window.MailerService.sendConfiguratedMail("Aus konfig lesen","de",[{key:"to",value:null==(e=this._renderImageEmail)?void 0:e.value}],[{filename:"rendering.jpg",path:this._renderImageBase64,cid:""}])},new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});var e,t,r}),this._renderImageSend.setAttribute("disabled",""))}createStep(e,t,r){return Zk`<fv-step template-id="${e}" ${this.maskData["step-id"]==e?"active":""} text="${t}" index="${r}"></fv-step>`}render(){let e=0;return Zk`
+        <div class="content-container">
+                    
+                ${this._noTitle?"":Zk`<h1><slot name="main-titel" i18n="remember">Merken</slot></h1>`}
+
+                <fv-steps class="step-button-container" step-target-selectors="${JSON.stringify({0:{element:{name:"fv-flex-container",selector:".download"}},1:{element:{name:"fv-flex-container",selector:".link"}},2:{element:{name:"fv-flex-container",selector:".planning"}},3:{element:{name:"fv-flex-container",selector:".dealer"}},4:{element:{name:"fv-flex-container",selector:".rendering"}}})}">
+                    ${this.createStep("download-step","20244",e++)}
+                    ${this.createStep("link-step","send_link",e++)}
+                    ${this.createStep("planning-step","25019",e++)}
+                    ${this.createStep("dealer-step","fv.terms.request",e++)}
+                    ${this.createStep("rendering-step","fv.konfigurator.optionen.toolbar.rendering",e++)}
+                </fv-steps>
+
+                <div class="step-content">
+                    <fv-flex-container class="download" template-id="download-step">
+                        <div class="container column">
+                            <fv-download></fv-download>
+                        </div>
+                    </fv-flex-container>
+
+                    <fv-flex-container class="link" template-id="link-step">
+                        <div class="container column">
+                            <fv-label class="header space after" i18n="send_link">Link senden</fv-label>
+                            <fv-label class="space after" template-id="link-text"></fv-label>
+                        </div>
+                        <div class="container column">
+                            <div class="fluid space-after">
+                                <fv-label class="space after" i18n="25029">E-Mail*</fv-label>
+                                <fv-input id="share-mail-input" @change="${this.dataProtectionCheck}" i18n-placeholder="25029" placeholder="E-Mail*">
+                                </fv-input>
+                            </div>
+                            <div class="fluid">
+                                <fv-label class="space after" i18n="1528">Name*</fv-label>
+                                <fv-input id="share-mail-input" i18n-placeholder="7156" placeholder="Name*">
+                                </fv-input>
+                            </div>
+                        </div>
+                        <div class="container column">
+                            <fv-label class="space after" i18n="your_message">Ihre Nachricht</fv-label>
+                            <fv-text-box id="share-message-text" i18n-placeholder="your_message" placeholder="Ihre Nachricht"></fv-text-box>
+                        </div>
+                        <div class="container column">
+                            <fv-checkbox id="data-protection-checkbox">
+                                <span><span i18n="i_have_read">Ich habe die</span> <a id="data-Proc-Link" target="_blank" href="#" i18n="privacy_policy">Datenschutzerklärung</a> <span i18n="and_agree_with_this">gelesen und stimme dieser zu.</span></span>
+                            </fv-checkbox>
+                        </div>
+                        <div class="container row reverse">
+                            <fv-button id="share-submit" i18n="20116" @click="${this.shareByMail}" disabled>Senden</fv-button>
+                        </div>
+                    </fv-flex-container>
+
+                    <fv-flex-container class="planning" class="active" template-id="planning-step">
+                        <div class="container column">
+                            <fv-label class="header space after" i18n="25019"><!--Planungsnummer--></fv-label>
+                            <fv-label class="space after" i18n="fv.modal.planning_number.text"></fv-label>
+                        </div>
+                        <div class="container column">
+                            <fv-cloud-id readonly></fv-cloud-id>
+                        </div>
+                        <div class="container column">
+                            <fv-cloud-id class="open-cloud-id"></fv-cloud-id>
+                        </div>
+                    </fv-flex-container>
+
+                    <fv-flex-container class="dealer" template-id="dealer-step">
+                        <div class="container column">
+                            <fv-label class="header space after" i18n="fv.terms.request">Anfrage</fv-label>
+                            <fv-label class="space after" template-id="dealer-text"></fv-label>
+                        </div>
+        <!--                <fv-search-dealer></fv-search-dealer>-->
+                        <fv-request active></fv-request>
+                        <fv-message></fv-message>
+                    </fv-flex-container>
+
+                    <fv-flex-container class="rendering" template-id="rendering-step">
+                        <div class="container column">
+                            <fv-label class="header space after" i18n="fv.konfigurator.optionen.toolbar.rendering">Rendering</fv-label>
+                            <fv-input id="send-render-image-input" i18n-placeholder="25029" @change="${this.renderEmailSubmit}" placeholder="E-Mail-Adresse">
+                                <fv-button id="send-render-image" i18n="20116" @click="${this.sendRenderingEmail}" disabled>Senden</fv-button>
+                            </fv-input>
+                            <div id="render-image" class="renderImage"></div>
+                        </div>
+                    </fv-flex-container>
+                </div>
+            </div>
+            ${this._disableInfoContainer?"":Zk`<div class="info-container">
+                <h1><slot name="side-titel" i18n="your_selection">Ihre Auswahl</slot></h1>
+                <div class="text"><slot name="side-text"></slot></div>
+                <div class="current-scene-image" style="background-image: url('${this.image}')"></div>
+            </div>`}
+        `}};lq.styles=[((e,t)=>sq(oq(e),t,e))(lq,"styles")||[],$k`${yk(rq)}`],aq([lk({type:Boolean,reflect:!0,attribute:"disable-info"})],lq.prototype,"_disableInfoContainer",2),aq([lk({type:Boolean,reflect:!0,attribute:"no-title"})],lq.prototype,"_noTitle",2),aq([dk("#share-submit")],lq.prototype,"_shareSubmitButton",2),aq([dk("#data-protection-checkbox")],lq.prototype,"_dataProtectionCheckbox",2),aq([dk("#data-Proc-Link")],lq.prototype,"_dataProcLink",2),aq([dk("#share-mail-input")],lq.prototype,"_shareMailInput",2),aq([dk("#share-message-text")],lq.prototype,"_shareMessageInput",2),aq([dk("#send-render-image")],lq.prototype,"_renderImageSend",2),aq([dk("#send-render-image-input")],lq.prototype,"_renderImageEmail",2),aq([dk("fv-steps")],lq.prototype,"_steps",2),aq([dk("fv-cloud-id[readonly]")],lq.prototype,"_cloudIDComponent",2),aq([dk(".open-cloud-id")],lq.prototype,"_openCloudIDComponent",2),aq([lk()],lq.prototype,"image",2),lq=aq([sk("fv-step-based-mask")],lq);var cq=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host([active]){align-items:center;display:flex;flex-direction:column;justify-content:center;position:fixed;z-index:999999999}:host{height:100%;position:absolute;width:100%}:host .container{align-items:center;background:var(--mask-container-background,transparent);border-radius:var(--mask-container-border-radius,unset);box-shadow:var(--mask-container-box-shadow,none);color:var(--mask-container-text-color,inherit);display:flex;flex-direction:column;font-size:var(--mask-font-size,inherit);height:fit-content;justify-content:center;line-height:var(--mask-font-size,inherit);max-width:fit-content;padding:var(--mask-container-padding-top,none) var(--mask-container-padding-right,none) var(--mask-container-padding-bottom,none) var(--mask-container-padding-left,none);width:fit-content}:host .container .text{text-align:var(--mask-text-align,start)}:host .container .buttons-container{display:flex;flex-direction:row;gap:1rem;justify-content:var(--mask-buttons-justify-content,center);padding-top:var(--mask-buttons-padding-top,unset);width:100%}:host .container .buttons-container .button{background-color:var(--mask-button-color,inherit);border-radius:var(--mask-button-border-radius,unset);box-shadow:var(--mask-button-box-shadow,none);color:var(--mask-button-text-color,inherit);cursor:pointer;font-size:var(--mask-button-font-size,var(--mask-font-size,inherit));font-weight:var(--mask-font-weight,inherit);padding:var(--mask-button-padding,unset)}:host .container .buttons-container .button span{border:0;color:var(--mask-button-text-color,inherit);font-size:var(--mask-button-font-size,var(--mask-font-size,inherit));font-weight:var(--mask-font-weight,inherit);margin:0;padding:0}:host .container .buttons-container .button .loader-slot.hidden{display:none}:host(.hover-click) .container .buttons-container .button:hover{background-color:var(--mask-buttons-hover-background-color,unset)}:host(.hover-click) .container .buttons-container .button:hover:active{background-color:var(--mask-buttons-click-background-color,unset);border:var(--mask-buttons-click-border,unset);transition:all .1s ease-in-out}`,uq=Object.defineProperty,dq=Object.getOwnPropertyDescriptor,hq=Object.getPrototypeOf,pq=Reflect.get,mq=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?dq(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&uq(t,r,o),o},_q=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});let gq=class extends DW{constructor(){super(...arguments),this.mask="program-selection-confirmation"}change(e){var t;this._cancel(e),null==(t=this.responseDefer)||t.resolve([!0])}saveAndChange(e){return _q(this,null,function*(){this._cancel(e),this.saveButtonLoader&&this.saveButtonLoader.classList.remove("hidden"),yield TY.dispatchAsyncEvent("save",{}),this.saveButtonLoader&&this.saveButtonLoader.classList.add("hidden"),this.change(e)})}abort(e){return _q(this,null,function*(){var t;this._cancel(e),null==(t=this.responseDefer)||t.resolve([!1])})}_cancel(e){e.preventDefault(),e.stopImmediatePropagation(),e.stopPropagation()}render(){return this.build(Zk`
+            <div class="container">
+                <div class="text" i18n="fv.modal.programselection.info"></div>
+                <div class="buttons-container">
+                    <div class="button" i18n="fv.modal.programselection.change" @click="${this.change}"></div>
+                    <div class="button save-button" @click="${this.saveAndChange}">
+                        <span i18n="fv.modal.programselection.save"></span>
+                        <span>
+                            <slot class="loader-slot hidden" name="loader"></slot>
+                        </span>
+                    </div>
+                    <div class="button" i18n="fv.modal.programselection.cancel" @click="${this.abort}"></div>
+                </div>
+            </div>
+        `)}updated(e){super.updated(e),this.container&&0==this.container.hasAttribute("listening")&&(this.container.setAttribute("listening","true"),this.container.addEventListener("click",e=>{e.preventDefault(),e.stopImmediatePropagation(),e.stopPropagation()}))}set ResponseDefer(e){this.responseDefer=e}};gq.styles=[((e,t)=>pq(hq(e),t,e))(gq,"styles")||[],$k`${yk(cq)}`],mq([lk({type:Object})],gq.prototype,"responseDefer",2),mq([dk(".container")],gq.prototype,"container",2),mq([dk(".loader-slot")],gq.prototype,"saveButtonLoader",2),gq=mq([sk("fv-program-selection-confirmation")],gq);var fq=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host fv-flex-container{--flex-container-direction:column;--flex-container-justify-content:var(--container-mask-justify-content,center);align-items:center;height:100%}:host[active]{align-items:center;background:var(--mask-background,transparent);display:flex;flex-direction:column;height:100%;justify-content:center;position:absolute;width:100%}:host.screen-filling{background:var(--mask-background,transparent);height:100%;position:absolute;width:100%}:host .text{text-align:var(--mask-text-align,start)}:host .heading{font-size:var(--mask-font-heading-size,inherit);line-height:var(--mask-font-heading-size,inherit);text-align:var(--mask-text-align,start)}:host .title{font-size:var(--container-mask-title-size,24px);font-weight:var(--container-mask-title-weight,var(--global-font-weight,var(--global-font-weight-bold,600)));text-align:var(--mask-text-align,start)}:host .image-container{height:var(--container-mask-image-height,unset);margin:var(--container-mask-image-margin,0);padding:var(--container-mask-image-padding,0);width:var(--container-mask-image-width,unset)}:host .image{filter:var(--container-mask-image-filter,unset);height:auto;width:100%}:host .slot-content::slotted(*){margin:var(--container-mask-cotent-margin,unset);padding:var(--container-mask-content-padding,unset)}`,vq=Object.defineProperty,bq=Object.getOwnPropertyDescriptor,yq=Object.getPrototypeOf,$q=Reflect.get,xq=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?bq(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&vq(t,r,o),o};let Sq=class extends DW{constructor(){super(...arguments),this.mask="container-mask",this.headerImage="",this.titleText=""}render(){return this.build(Zk`
+            <fv-flex-container>
+                <div class="image-container">
+                    <img class="image" src="${this.headerImage}">
+                </div>
+                <span class="title">${this.titleText}</span>
+                <slot class="slot-content"></slot>
+            </fv-flex-container>
+        `)}};Sq.styles=[((e,t)=>$q(yq(e),t,e))(Sq,"styles")||[],$k`${yk(fq)}`],xq([lk({type:String,reflect:!0,attribute:"header-image"})],Sq.prototype,"headerImage",2),xq([lk({type:String,reflect:!0,attribute:"title-text"})],Sq.prototype,"titleText",2),Sq=xq([sk("fv-container-mask")],Sq);var wq=$k`.message-main-container{border:solid;padding:10px;width:475px}.toolbar{display:flex;flex-direction:row-reverse}.button{background-color:#ff8014;margin-left:5px}:host{--mask-width-smaller-980px-padding:0!important}`,Aq=Object.defineProperty,Cq=Object.getOwnPropertyDescriptor,Eq=Object.getPrototypeOf,Iq=Reflect.get,Mq=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?Cq(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&Aq(t,r,o),o};let kq=class extends DW{constructor(){super(),this.mask="noCalculation",this.messageText=""}show(e){var t,r;this.messageText=this.maskData.message?this.maskData.message:"",super.show(e),null==(t=this.Modal)||t.style.setProperty("z-index","1001"),null==(r=this.Modal)||r.style.setProperty("backdrop-filter","blur(10px)")}hide(e){var t,r;super.hide(e),null==(t=this.Modal)||t.style.setProperty("z-index",null),null==(r=this.Modal)||r.style.setProperty("backdrop-filter",null)}cancelMessage(e){this.dispatchEvent(new CustomEvent("cancel-pdf-window",{bubbles:!0,composed:!0})),this.hide(!0)}render(){return this.build(Zk`
+            <div class="message-main-container">
+                <fv-label>D+H Message Error</fv-label>
+                <p>${this.messageText}</p>
+                <div class="toolbar">
+                    <fv-button class="button" @click="${this.cancelMessage}">Abbrechen</fv-button>
+                    <fv-button class="button" @click="${()=>{this.hide(!0)}}">OK</fv-button>
+                </div>
+            </div>
+        `)}};kq.styles=[((e,t)=>Iq(Eq(e),t,e))(kq,"styles")||[],$k`${yk(wq)}`],Mq([lk()],kq.prototype,"messageText",2),kq=Mq([sk("fv-message-no-calc-mask")],kq);var Tq=$k`:host{width:auto}.iwoFurn-main-container{display:flex}.forms-container,.iwoFurn-main-container.reduced{flex-direction:column}.forms-container,.sub-form-container{display:flex}.header{align-self:anchor-center;font-size:large;padding:10px}.iwoheader-container{display:flex;gap:10px}.iwoheader-container.reduced,.iwoheader-container.response{justify-content:center}.iwoheader{display:flex;font-size:x-large}.header-container{margin:0 auto}.iwoFurn-sub-container,.toolbar{display:flex}.toolbar{flex-direction:row-reverse;padding-inline:10px;padding-bottom:10px}.toolbar.reduced{flex-direction:column!important}fv-input{outline-color:#000}.iwofurn-button{--fv-button-html-button-background-color:transparent;background-color:#000;border-radius:10px!important;color:#fff;margin-inline:3px;z-index:auto}.iwofurn-button:hover{background-color:#ff8014}.iwofurn-button.reduced{margin-top:3px}.iwofurn-input{border-radius:10px;margin-inline:5px;margin-top:12px}.required-no-value{--input-animation-placeholder-color:red}.dropdown-button{display:none}.warning-container{color:red;display:flex;font-size:x-large;justify-content:center;margin:5px}.response-container{margin:10px}.reponse-label{border-color:#000;border-style:solid;border-bottom:none;border-inline:none;font-size:x-large;margin:10px;padding:10px;text-align:center}.wawiFlag-container{align-items:stretch;display:flex;gap:10px;margin-bottom:10px;padding:10px}.copyIcon{flex:1;justify-content:center}.wawiFlagIpt{flex:1;margin-bottom:unset}.flip-vertical{transform:rotateX(180deg)}.change-container{display:flex;justify-content:center}.changeState-button{background-color:#fff;border-radius:10px;color:#000;width:100%}@media (max-width:1023px){.iwoFurn-main-container{display:block;padding:10px}.iwoFurn-main-container.reduced{display:flex;flex-direction:column}.center-container{overflow:scroll}.dropdown-button{background-color:#000;display:flex;margin:3px}.dropdown-button.active{background-color:#ff8014}.forms-container{display:flex;max-height:0;overflow:hidden;transition:max-height .2s ease-out}.iwoheader-container{justify-content:center}}`,Rq=Object.defineProperty,Lq=Object.getOwnPropertyDescriptor,Pq=Object.getPrototypeOf,Dq=Reflect.get,Nq=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?Lq(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&Rq(t,r,o),o};let Fq=class extends DW{constructor(){super(),this.mask="iwoFurn",this.reduced=!1,this.customerSalutation="",this.academicTitle="",this.customerFirstName="",this.customerLastName="",this.customerStreet="",this.customerPostalCode="",this.customerLocation="",this.customerCountry="",this.customerTel="",this.customerFax="",this.customerEmail="",this.senderILN="",this.receiverILN="",this.plannigName="",this.plannigNR="",this.commission="False",this.planningID="",this.branchID="1",this.wawiFlag="",this.storeSalutation="",this.sellerID="",this.storeFirstName="",this.storeLastName="",this.storeStreet="",this.storePostalCode="",this.storeLocation="",this.storeCountry="",this.storeTel="",this.storeFax="",this.storeEmail="",this.branchName="",this.projectManagerValue=void 0,this.vendorValue=void 0,this.adminValue=void 0}set projectManagerInfo(e){this.projectManagerValue=e}get projectManagerInfo(){return this.projectManagerValue}set vendorInfo(e){this.vendorValue=e}get vendorInfo(){return this.vendorValue}set adminInfo(e){this.adminValue=e}get adminInfo(){return this.adminValue}returnPlanningDetails(){const e=[];return this._inputList.forEach(t=>{e.push(t)}),e}toogleContainer(e){const t=e.target.getAttribute("container-key"),r=this.renderRoot.querySelectorAll("fv-button:not([container-key="+t+"]"),n=this.renderRoot.querySelector("div[container-key="+t+"]");n.style.maxHeight?(n.removeAttribute("style"),e.target.classList.remove("active"),r[0].disabled=!1,r[1].disabled=!1):(n.style.maxHeight=n.scrollHeight+"px",n.style.display="contents",e.target.classList.add("active"),r[0].disabled=!0,r[1].disabled=!0)}show(e){var t;super.show(e),null==(t=this.Modal)||t.style.setProperty("overflow","auto")}hide(e){var t;super.hide(e),null==(t=this.Modal)||t.style.setProperty("overflow",null)}setLoading(e){var t;null==(t=this.Modal)||t.setLoading(e)}checkValidity(e){for(let t=0;t<e.length;t++){const r=e[t];r.classList.remove("required-no-value"),1==r.required&&""==r.value&&r.classList.add("required-no-value")}return!e.some(e=>e.classList.contains("required-no-value"))}hideAllLabels(e){e.forEach(e=>{var t;null==(t=e._placeholder)||t.classList.add("hidden")})}sendToIwoFurn(){const e=this.returnPlanningDetails();if(this.checkValidity(e)){this._warning.classList.add("hidden");const t=[];e.forEach(e=>{const r={name:e.name,inputValue:e.value};t.push(r)});const r={name:"branchName",inputValue:this.branchName};t.push(r),this.hideAllLabels(e),this.dispatchEvent(new CustomEvent("sendToIwoFurn",{detail:t}))}else this._warning.classList.remove("hidden")}changeMaskState(){this.reduced=!this.reduced,this.requestUpdate()}showResponse(e){"0"==e.ResponseStatus?this._failureLabel.classList.remove("hidden"):"401"==e.ResponseStatus?this._failureLoginLabel.classList.remove("hidden"):e.furncloudWawiID?(this._successLabel.classList.remove("hidden"),this.wawiFlag=e.ResponseStatus,this._wawiFlagContainer.classList.remove("hidden"),this.requestUpdate()):"1"==e.ResponseStatus&&this._successLabel.classList.remove("hidden"),this._main.classList.add("hidden"),this._toolbar.classList.add("hidden"),this._responseContainer.classList.remove("hidden"),this._iwoheaderContainer.classList.add("response")}resetDisplay(){this.hide(!0),this._iwoheaderContainer.classList.remove("response"),this._main.classList.remove("hidden"),this._toolbar.classList.remove("hidden"),this._responseContainer.classList.add("hidden"),this.resetProperties()}resetProperties(){this.customerSalutation="",this.academicTitle="",this.customerFirstName="",this.customerLastName="",this.customerStreet="",this.customerPostalCode="",this.customerLocation="",this.customerCountry="",this.customerTel="",this.customerFax="",this.customerEmail="",this.senderILN="",this.receiverILN="",this.plannigName="",this.plannigNR="",this.commission="False",this.planningID="",this.branchID="1",this.wawiFlag="",this.storeSalutation="",this.sellerID="",this.storeFirstName="",this.storeLastName="",this.storeStreet="",this.storePostalCode="",this.storeLocation="",this.storeCountry="",this.storeTel="",this.storeFax="",this.storeEmail="",this.branchName=""}cancel(){this.hide(!0),this.resetProperties()}copyToClipboard(){navigator.clipboard&&navigator.clipboard.writeText&&navigator.clipboard.writeText(this.wawiFlag)}setValues(){var e,t,r,n,i,o,s,a,l,c,u,d,h;this.projectManagerInfo&&this.setCustomerValues(this.projectManagerInfo),this.senderILN=this.adminValue?this.adminValue.DEALER_ILN:this.senderILN,this.receiverILN=this.adminValue?this.adminValue.DEALER_ILN:this.receiverILN,this.plannigName=(null==(e=this.projectManagerInfo)?void 0:e.projektname)||this.plannigName,this.plannigNR=(null==(t=this.projectManagerInfo)?void 0:t.planungsnummer)||this.plannigNR,this.branchID=(null==(r=this.projectManagerInfo)?void 0:r.branchID)||this.branchID,this.sellerID=(null==(n=this.projectManagerInfo)?void 0:n.sellerID)||this.sellerID,this.commission=(null==(i=this.projectManagerInfo)?void 0:i.kommission)||"False","1"==(null==(o=this.adminValue)?void 0:o.EXPORT_IWOFURN_START_WITHOUT_PM)&&(this.plannigName="0",this.plannigNR="0"),(null==(s=this.adminValue)?void 0:s.EXPORT_IWOFURN_AUTO_SET_PLANNING_ID)&&(this.planningID=this.plannigNR),(null==(a=this.adminValue)?void 0:a.EXPORT_IWOFURN_AUTO_PLANNING_ID_PREFIX)&&(this.planningID=this.adminValue.EXPORT_IWOFURN_AUTO_PLANNING_ID_PREFIX+this.planningID),"1"==(null==(l=this.adminValue)?void 0:l.EXPORT_WAWI_CREATE_WAWI_ID)&&(this.planningID="auto-gen"),(null==(c=this.adminValue)?void 0:c.EXPORT_IWOFURN_EMPTY_FILIALID)&&(this.branchID=""),this.vendorValue&&((null==(u=this.adminValue)?void 0:u.EXPORT_IWOFURN_AUTO_SET_VENDORID)&&""!=this.adminValue.EXPORT_IWOFURN_AUTO_SET_VENDORID&&(this.sellerID=this.adminValue.EXPORT_IWOFURN_AUTO_SET_VENDORID),(null==(d=this.adminValue)?void 0:d.EXPORT_IWOFURN_SET_OTHER_VENDOR_TELEPHONE_NUMBER)&&""!=this.adminValue.EXPORT_IWOFURN_SET_OTHER_VENDOR_TELEPHONE_NUMBER&&(this.vendorValue.telephone=null==(h=this.adminValue)?void 0:h.EXPORT_IWOFURN_SET_OTHER_VENDOR_TELEPHONE_NUMBER),this.setVendorValues(this.vendorValue))}setCustomerValues(e){this.customerSalutation=(null==e?void 0:e.anrede)?e.anrede:"",this.academicTitle=e.zusatz?e.zusatz:"",this.customerFirstName=e.vorname?e.vorname:"",this.customerLastName=e.nachname?e.nachname:"",this.customerStreet=e.strasse?e.strasse:"",this.customerPostalCode=e.postleitzahl?e.postleitzahl:"",this.customerLocation=e.ort?e.ort:"",this.customerCountry=e.land?e.land:"",this.customerTel=e.telefon?e.telefon:"",this.customerFax=e.fax?e.fax:"",this.customerEmail=e.eMail?e.eMail:""}setVendorValues(e){this.branchName=e.branchName?e.branchName:this.branchName,this.storeStreet=e.street?e.street:this.storeStreet,this.storePostalCode=e.postalcode?e.postalcode:this.storePostalCode,this.storeLocation=e.location?e.location:this.storeLocation,this.storeCountry=e.country?e.country:this.storeCountry,this.storeTel=e.telephone?e.telephone:this.storeTel}render(){return this.setValues(),this.build(Zk`
+            <div class="iwoheader-container ${this.reduced?"reduced":""}">
+                <fv-icon icon="fv-icon-iwofurn"></fv-icon>
+                <fv-label class="iwoheader">IWOfurn</fv-label>
+            </div>
+            <div class="iwoFurn-main-container ${this.reduced?"reduced":""}">
+                <fv-button @click="${this.toogleContainer}" container-key="customer" class="dropdown-button" i18n="25003">Kundenanschrift</fv-button>
+                <div container-key="customer" class="forms-container ${this.reduced?"hidden":""}">
+                    <fv-label class="header" i18n="25003">Kundenanschrift</fv-label>
+                    <div class="sub-form-container">
+                        <fv-input class="iwofurn-input" placeholder="Anrede" moveable-placeholder="true" name="customerSalutation" value="${this.customerSalutation}" i18n-placeholder="25020"></fv-input>
+                        <fv-input class="iwofurn-input" placeholder="Akad. Titel" moveable-placeholder="true" name="academicTitle" value="${this.academicTitle}" i18n-placeholder="25021"></fv-input>
+                    </div>
+                    <div class="sub-form-container">
+                        <fv-input class="iwofurn-input" placeholder="Vorname" moveable-placeholder="true" name="customerFirstName" value="${this.customerFirstName}" i18n-placeholder="20322"></fv-input>
+                        <fv-input class="iwofurn-input" placeholder="Nachname" moveable-placeholder="true" name="customerLastName" value="${this.customerLastName}" i18n-placeholder="20323"></fv-input>
+                    </div>
+                    <fv-input class="iwofurn-input" placeholder="Strasse" moveable-placeholder="true" name="customerStreet" value="${this.customerStreet}" i18n-placeholder="25025"></fv-input>
+                    <div class="sub-form-container">
+                        <fv-input class="iwofurn-input" placeholder="Postleitzahl" moveable-placeholder="true" name="customerPostalCode" value="${this.customerPostalCode}" i18n-placeholder="25026"></fv-input>
+                        <fv-input class="iwofurn-input" placeholder="Ort" moveable-placeholder="true" name="customerLocation" value="${this.customerLocation}" i18n-placeholder="25027"></fv-input>
+                    </div>
+                    <fv-input class="iwofurn-input" placeholder="Land" moveable-placeholder="true" name="customerCountry" value="${this.customerCountry}" i18n-placeholder="25028"></fv-input>
+                    <div class="sub-form-container">
+                        <fv-input class="iwofurn-input" placeholder="Telefon" moveable-placeholder="true" name="customerTel" value="${this.customerTel}" i18n-placeholder="20381"></fv-input>
+                        <fv-input class="iwofurn-input" placeholder="Fax" moveable-placeholder="true" name="customerFax" value="${this.customerFax}" i18n-placeholder="25033"></fv-input>
+                    </div>
+                    <fv-input class="iwofurn-input" placeholder="E-Mail" moveable-placeholder="true" name="customerEmail" value="${this.customerEmail}" i18n-placeholder="25029"></fv-input>
+                </div>
+                <fv-button @click="${this.toogleContainer}" container-key="plannings" class="dropdown-button" i18n="25052">Planungsdetails</fv-button>
+                <div container-key="plannings" class="forms-container">
+                    <fv-label class="header" i18n="25052">Planungsdetails</fv-label>
+                    <fv-input class="iwofurn-input" placeholder="Sender ILN*" moveable-placeholder="true" name="senderILN" value="${this.senderILN}" required="true" i18n-placeholder="25054"></fv-input>
+                    <fv-input class="iwofurn-input" placeholder="Empfänger ILN*" moveable-placeholder="true" name="receiverILN" value="${this.receiverILN}" required="true" i18n-placeholder="25053"></fv-input>
+                    <fv-input class="iwofurn-input" placeholder="Planungsname*" moveable-placeholder="true" name="plannigName" value="${this.plannigName}" required="true" i18n-placeholder="fv.iwofurn.planingname"></fv-input>
+                    <fv-input class="iwofurn-input" placeholder="Planungsnummer*" moveable-placeholder="true" name="plannigNR" value="${this.plannigNR}" required="true" i18n-placeholder="25019"></fv-input>
+                    <fv-input class="iwofurn-input" placeholder="Kommission" moveable-placeholder="true" name="commission" value="${this.commission}" i18n-placeholder="25010"></fv-input>
+                    <fv-input class="iwofurn-input" placeholder="Planungs ID*" moveable-placeholder="true" name="planningID" value="${this.planningID}" required="true" i18n-placeholder="fv.iwofurn.planningID"></fv-input>
+                    <fv-input class="iwofurn-input" placeholder="Filial ID*" moveable-placeholder="true" name="branchID" value="${this.branchID}" required="true" i18n-placeholder="fv.iwofurn.branchID"></fv-input>
+                    <button @click="${this.changeMaskState}" class="fv-icon-arrow-down-2 changeState-button flip-vertical ${this.reduced?"hidden":""}"></button>
+                </div>
+                <fv-button @click="${this.toogleContainer}" container-key="vendor" class="dropdown-button" i18n="1401">Möbelhaus Adresse</fv-button>
+                <div container-key="vendor" class="forms-container ${this.reduced?"hidden":""}">
+                    <fv-label class="header" i18n="1401">Möbelhaus Adresse</fv-label>
+                    <div class="sub-form-container">
+                        <fv-input class="iwofurn-input" placeholder="Anrede" moveable-placeholder="true" name="storeSalutation" value="${this.storeSalutation}" i18n-placeholder="25020"></fv-input>
+                        <fv-input class="iwofurn-input" placeholder="Verkäufer ID*" moveable-placeholder="true" name="sellerID" value="${this.sellerID}" required="true" i18n-placeholder="fv.iwofurn.sellerID"></fv-input>
+                    </div>
+                    <div class="sub-form-container">
+                        <fv-input class="iwofurn-input" placeholder="Vorname" moveable-placeholder="true" name="storeFirstName" value="${this.storeFirstName}" i18n-placeholder="20322"></fv-input>
+                        <fv-input class="iwofurn-input" placeholder="Nachname" moveable-placeholder="true" name="storeLastName" value="${this.storeLastName}" i18n-placeholder="20323"></fv-input>
+                    </div>
+                    <fv-input class="iwofurn-input" placeholder="Strasse*" moveable-placeholder="true" name="storeStreet" value="${this.storeStreet}" required="true" i18n-placeholder="25025"></fv-input>
+                    <div class="sub-form-container">
+                        <fv-input class="iwofurn-input" placeholder="Postleitzahl*" moveable-placeholder="true" name="storePostalCode" value="${this.storePostalCode}" required="true" i18n-placeholder="25026"></fv-input>
+                        <fv-input class="iwofurn-input" placeholder="Ort*" moveable-placeholder="true" name="storeLocation" value="${this.storeLocation}" required="true" i18n-placeholder="25027"></fv-input>
+                    </div>
+                    <fv-input class="iwofurn-input" placeholder="Land*" moveable-placeholder="true" name="storeCountry" value="${this.storeCountry}" required="true" i18n-placeholder="25028"></fv-input>
+                    <div class="sub-form-container">
+                        <fv-input class="iwofurn-input" placeholder="Telefon*" moveable-placeholder="true" name="storeTel" value="${this.storeTel}" required="true" i18n-placeholder="20381"></fv-input>
+                        <fv-input class="iwofurn-input" placeholder="Fax" moveable-placeholder="true" name="storeFax" value="${this.storeFax}" i18n-placeholder="25033"></fv-input>
+                    </div>
+                    <fv-input class="iwofurn-input" placeholder="E-Mail" moveable-placeholder="true" name="storeEmail" value="${this.storeEmail}" i18n-placeholder="25029"></fv-input>
+                </div>
+            </div>
+            <div class="response-container hidden">
+                <fv-label class="reponse-label hidden" id="failure" i18n=fv.transfer.failure>Übertragung fehlgeschlagen</fv-label>
+                <fv-label class="reponse-label hidden" id="loginFailure" i18n=fv.transfer.failure>Login fehlgeschlagen</fv-label>
+                <fv-label class="reponse-label hidden" id="success" i18n=fv.transfer.success>Übertragung erfolgreich</fv-label>
+                <div class="wawiFlag-container hidden">
+                    <fv-input class="wawiFlagIpt" value="${this.wawiFlag}"></fv-input>
+                    <fv-icon class="iwofurn-button copyIcon" icon="fv-icon-content-copy" @click="${this.copyToClipboard}"></fv-icon>
+                </div>
+                <fv-button class="iwofurn-button" @click="${this.resetDisplay}" i18n="1938">OK</fv-button>
+            </div>
+            <div class="warning-container hidden">
+                <fv-label i18n=fv.iwofurn.warning>Bitte überprüfen sie ihre Eingaben</fv-label>
+            </div>
+            <div class="toolbar ${this.reduced?"reduced":""}">
+                <button @click="${this.changeMaskState}" class="fv-icon-arrow-down-2 changeState-button ${this.reduced?"":"hidden"}"></button>
+                <fv-button @click="${this.cancel}" class="iwofurn-button ${this.reduced?"reduced":""}" i18n="1939">Abbrechen</fv-button>
+                <fv-button @click="${this.sendToIwoFurn}" class="iwofurn-button ${this.reduced?"reduced":""}" i18n="20116">Senden</fv-button>
+            </div>
+        `)}};Fq.styles=[((e,t)=>Dq(Pq(e),t,e))(Fq,"styles")||[],$k`
+            ${yk(Tq)}
+        `],Nq([lk({type:Boolean,reflect:!0,attribute:"reduced"})],Fq.prototype,"reduced",2),Nq([lk()],Fq.prototype,"customerSalutation",2),Nq([lk()],Fq.prototype,"academicTitle",2),Nq([lk()],Fq.prototype,"customerFirstName",2),Nq([lk()],Fq.prototype,"customerLastName",2),Nq([lk()],Fq.prototype,"customerStreet",2),Nq([lk()],Fq.prototype,"customerPostalCode",2),Nq([lk()],Fq.prototype,"customerLocation",2),Nq([lk()],Fq.prototype,"customerCountry",2),Nq([lk()],Fq.prototype,"customerTel",2),Nq([lk()],Fq.prototype,"customerFax",2),Nq([lk()],Fq.prototype,"customerEmail",2),Nq([lk()],Fq.prototype,"senderILN",2),Nq([lk()],Fq.prototype,"receiverILN",2),Nq([lk()],Fq.prototype,"plannigName",2),Nq([lk()],Fq.prototype,"plannigNR",2),Nq([lk()],Fq.prototype,"commission",2),Nq([lk()],Fq.prototype,"planningID",2),Nq([lk()],Fq.prototype,"branchID",2),Nq([lk({type:String,reflect:!0})],Fq.prototype,"wawiFlag",2),Nq([lk()],Fq.prototype,"storeSalutation",2),Nq([lk()],Fq.prototype,"sellerID",2),Nq([lk()],Fq.prototype,"storeFirstName",2),Nq([lk()],Fq.prototype,"storeLastName",2),Nq([lk()],Fq.prototype,"storeStreet",2),Nq([lk()],Fq.prototype,"storePostalCode",2),Nq([lk()],Fq.prototype,"storeLocation",2),Nq([lk()],Fq.prototype,"storeCountry",2),Nq([lk()],Fq.prototype,"storeTel",2),Nq([lk()],Fq.prototype,"storeFax",2),Nq([lk()],Fq.prototype,"storeEmail",2),Nq([lk()],Fq.prototype,"branchName",2),Nq([hk(".iwofurn-input")],Fq.prototype,"_inputList",2),Nq([dk(".warning-container")],Fq.prototype,"_warning",2),Nq([dk(".iwoFurn-main-container")],Fq.prototype,"_main",2),Nq([dk(".response-container")],Fq.prototype,"_responseContainer",2),Nq([dk(".toolbar")],Fq.prototype,"_toolbar",2),Nq([dk("#failure")],Fq.prototype,"_failureLabel",2),Nq([dk("#loginFailure")],Fq.prototype,"_failureLoginLabel",2),Nq([dk("#success")],Fq.prototype,"_successLabel",2),Nq([dk(".wawiFlag-container")],Fq.prototype,"_wawiFlagContainer",2),Nq([dk(".iwoheader-container")],Fq.prototype,"_iwoheaderContainer",2),Fq=Nq([sk("fv-iwofurn-mask")],Fq);var Oq=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host([active]){display:flex}:host.hidden{display:none}:host.hidden.hidden{display:none}:host{align-items:center;background:#fff;border-radius:.25rem;flex-direction:column;font-family:Futura,sans-serif;font-size:1.125rem;line-height:2rem;margin:auto;opacity:1;padding:2rem;transition:all .5s ease 0s;visibility:visible}:host #close-button{height:2rem;position:absolute;right:-2.5rem;top:-2.5rem;width:2rem}:host #close-button:after,:host #close-button:before{background:#d3d3d3;border-radius:1rem;content:"";display:block;height:4px;position:absolute;width:1.25rem}:host #close-button:before{transform:translateX(.5rem) translateY(.7rem) rotate(45deg)}:host #close-button:after{transform:translateX(.5rem) translateY(.7rem) rotate(-45deg)}:host #close-button:hover:after,:host #close-button:hover:before{background:#fff}:host h1{font-weight:var(--global-font-weight,400)}:host .space{height:1rem}:host .form{display:flex;gap:5rem}:host input{background:#d3d3d3;border:none;border-radius:.25rem;color:#000;font-family:Futura,sans-serif;font-size:1.5rem;height:2rem;outline:none;padding:2rem;text-align:center;width:100%}:host input.cloud{font-family:monospace;letter-spacing:.5rem}:host .consent{display:flex;flex-direction:row;justify-content:center;width:100%}:host a{color:#3367d3}:host .buttons{display:flex;flex-direction:column}:host button{background:#656565;color:#fff}:host button.highlight{background:#903}:host button{border:none;border-radius:.25rem;cursor:pointer;font-weight:var(--global-font-weight-bold,600);margin:.5rem;min-height:2.5rem;min-width:20rem;outline:none}:host(.hidden){opacity:0;transform:translate3d(-50%,-50%,0) scale3d(.75,.75,1);visibility:hidden}`,Bq=Object.defineProperty,Uq=Object.getOwnPropertyDescriptor,Vq=Object.getPrototypeOf,zq=Reflect.get,Hq=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?Uq(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&Bq(t,r,o),o},Gq=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});let jq=class extends DW{constructor(){super(),this._active=!1,this.mask="save-dialog-mask"}getDependentElement(e){const t=this.getAttribute(e)||"dummy",r=document.querySelector(`#${t}`);return!!r?r:null}savePdf(){if(this.pdfInfo){const e=document.createElement("iframe");document.body.appendChild(e),e.style.display="none",e.setAttribute("src",`${this.pdfInfo.server}/downloadPDF/${this.pdfInfo.sessionId}/${this.pdfInfo.pdf.toString()}/${this.pdfInfo.cloudId}`),e.addEventListener("load",()=>e.remove())}}sendMail(e){try{this.pdfInfo&&CommunicationMessageService.sendMail(e,"default",[],this.pdfInfo)}catch(e){}}showSpinner(){var e;null==(e=this.Modal)||e.setLoading(!0)}hideSpinner(){var e;null==(e=this.Modal)||e.setLoading()}setEMail(e){this._email=e;const t=this.emailInput;t&&(t.value=e)}addToCart(e){return Gq(this,null,function*(){this.showSpinner();const t=this.cloudInput;this.pdfExport?(this.pdfInfo=yield CommunicationMessageService.printPDF(),t&&(t.value=this.pdfInfo.cloudId)):t&&(t.value=yield UH.createCloudId()),e||this.show()})}show(){var e=e=>super[e];return Gq(this,null,function*(){var t,r,n,i,o,s;this.classList.remove("hidden"),this._active=!0,e("show").call(this),null==(t=this.Modal)||t.setAttribute("dimmed",""),null==(r=this.Modal)||r.style.setProperty("--modal-background","transparent"),null==(n=this.Modal)||n.style.setProperty("--modal-content-margin","auto"),null==(i=this.Modal)||i.show(!0,!1);const a=()=>{this.hide()};null==(o=this.Modal)||o.removeEventListener("close-modal",a),null==(s=this.Modal)||s.addEventListener("close-modal",a),yield this.hasUpdated,yield this.addToCart(!0),this.hideSpinner()})}hide(){var e,t;this.classList.add("hidden"),null==(e=this.Modal)||e.style.removeProperty("--modal-background"),null==(t=this.Modal)||t.style.removeProperty("--modal-content-margin"),this._active=!1,super.hide(!0)}addToCartClick(){const e=this.emailInput,t=this.checkbox,r=(null==e?void 0:e.value)||"";this.showSpinner(),this.pdfExport&&r.length>0&&t.checked&&this.sendMail(r),CommunicationMessageService.addToCart()}checkboxChanged(e){var t,r,n;e&&(null==(t=e.currentTarget)?void 0:t.checked)?null==(r=this.emailInput)||r.removeAttribute("disabled"):null==(n=this.emailInput)||n.setAttribute("disabled","")}firstUpdated(e){var t=e=>super[e];return Gq(this,null,function*(){if(t("firstUpdated").call(this,e),CommunicationInterfaceService.on("furnview.addToCartClicked",()=>this.addToCart()),this.shadowRoot){const e=`<a href="https://www.dh-software.de/kontakt/datenschutz/" target="_blank">${LocalesModel.translate("ui.step.choose_models.privacy_policy_link_label")}</a>`;this.privacyPolicy&&(this.privacyPolicy.innerHTML=`${LocalesModel.translate("ui.step.choose_models.privacy_policy_label").replace("$1",e)}`)}this.classList.add("hidden")})}requestUpdate(e,t,r){super.requestUpdate(e,t,r)}render(){return this.build(Zk`
+            <h1 i18n="ui.step.choose_models.save_your_draft">ACHTUNG: SPEICHERN SIE IHREN ENTWURF</h1>
+            <div class="text" i18n=${this.pdfExport?"ui.step.choose_models.save_your_draft.description":"ui.step.choose_models.save_your_draft.description_without_pdf"}>
+                ${this.pdfExport?Zk`Speichern Sie Ihren Entwurf bevor Sie den Konfigurator verlassen und in den Warenkorb wechseln. Sie
+                können Ihren Entwurf mit Ihrer Planungs-Nummer jederzeit wieder aufrufen, den Entwurf per PDF drucken
+                oder sich einen Link per Mail senden.`:Zk`Speichern Sie Ihre Planungs-Nummer bevor Sie den Konfigurator verlassen und in den Warenkorb wechseln. Sie
+                können Ihren Entwurf mit Ihrer Planungs-Nummer jederzeit wieder aufrufen.`}
+            </div>
+            <div class="space"></div>
+            <div class="form">
+                <div>
+                    <span i18n="ui.step.choose_models.your_plan_number">Ihre Planungsnummer</span>
+                    <input id="cloud-input" class="cloud" autocomplete="off" autocapitalize="off" spellcheck="false"
+                           type="text" readonly/>
+                </div>
+                ${this.pdfExport?Zk`<div>
+                <span i18n="ui.step.choose_models.your_email">Ihre E-Mail-Adresse</span>
+                
+                <input id="email-input" disabled value="${this._email?this._email:""}" class="email" placeholder="E-Mail" autocapitalize="off" autocomplete="off"
+                                                spellcheck="false" type="email"/> 
+                </div>`:""}
+            </div>
+            <div class="space"></div>
+            <div class="consent">
+                <fv-checkbox @change="${this.checkboxChanged}">
+                    <span class="privacy-policy">Ich akzeptiere die <a
+                            href="https://www.dh-software.de/kontakt/datenschutz/" target="_blank">Datenschutzbestimmungen</a> ${this.pdfExport?Zk`, bitte senden Sie mir Informationen zu meiner Konfiguration.`:""}</span>
+                </fv-checkbox>
+            </div>
+            <div class="space"></div>
+            <div class="buttons">
+                ${this.pdfExport?Zk`
+                <button id="save-pdf-button" class="highlight" i18n="ui.step.choose_models.save_draft" @click="${this.savePdf}">Entwurf
+                    speichern
+                </button>`:""}
+                <button id="back-button" i18n="ui.step.choose_models.back_to_configurator" @click="${this.hide}">Zurück zum Konfigurator
+                </button>
+                <button id="add-to-cart-button" i18n="ui.step.choose_models.continue_to_basket" @click="${this.addToCartClick}">Weiter in den
+                    Warenkorb
+                </button>
+            </div>
+        `)}updated(e){super.updated(e)}};jq.styles=[((e,t)=>zq(Vq(e),t,e))(jq,"styles")||[],$k`${yk(Oq)}`],Hq([dk(".privacy-policy")],jq.prototype,"privacyPolicy",2),Hq([dk("#email-input")],jq.prototype,"emailInput",2),Hq([dk("#cloud-input")],jq.prototype,"cloudInput",2),Hq([dk("fv-checkbox")],jq.prototype,"checkbox",2),Hq([lk({type:Boolean,reflect:!0,attribute:"pdf-export"})],jq.prototype,"pdfExport",2),jq=Hq([sk("fv-save-dialog-mask")],jq);var Jq=$k`:host{--input-outer-width:100%;padding:0 1rem}:host fv-label.text-field-label{background:#fff;font-size:14px;left:5px;padding:0 5px;position:absolute;top:-11px}:host fv-text-area{height:100px}:host fv-input{width:50%}:host fv-flex-container{gap:.5rem;padding:1rem 0}`,Wq=Object.defineProperty,Qq=Object.getOwnPropertyDescriptor,qq=Object.getPrototypeOf,Yq=Reflect.get,Xq=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?Qq(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&Wq(t,r,o),o},Kq=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});let Zq=class extends DW{constructor(){super(...arguments),this.mask="send-offer-request",this.privacyLink="#",this.onSubmit=(e,t)=>Kq(this,null,function*(){})}firstUpdated(e){super.firstUpdated(e),this.privacyLink="https://www.dh-software.de/kontakt/datenschutz/"}render(){return this.build(Zk`
+            <div class="container column">
+                <fv-label class="header space after" i18n="fv.terms.request">Anfrage</fv-label>
+                <fv-label class="space after" template-id="dealer-text"></fv-label>
+            </div>
+            <fv-request name=" " address=" " active></fv-request>
+            <fv-message></fv-message>
+        `)}oldRender(){return Zk`
+            <fv-label>Anfrage</fv-label>
+            <fv-flex-container class="row">
+                ${this.buildTextField("firstName","20322",!1)}
+                ${this.buildTextField("lastName","20323",!1)}
+            </fv-flex-container>
+            <fv-flex-container class="row">
+                ${this.buildTextField("phone","1502",!1)}
+                ${this.buildTextField("email","email_mandatory",!0)}
+            </fv-flex-container>
+            <fv-flex-container class="row">
+                ${this.buildTextField("message","60099",!1,!0)}
+            </fv-flex-container>
+            <fv-checkbox>
+                <span>
+                    <span i18n="i_have_read">Ich habe die</span> 
+                    <a target="_blank" i18n="privacy_policy" .href="${this.privacyLink}"> Datenschutzerklärung</a> 
+                    <span i18n="and_agree_with_this"> gelesen und stimme dieser zu.</span
+                </span>
+            </fv-checkbox>
+            <fv-message></fv-message>
+            <fv-button i18n="send_inquiry"></fv-button>
+        `}sendInquiry(e){return Kq(this,null,function*(){var t;if(this._checkboxComponent&&this._checkboxComponent.checked){this.active=!1;const r={};null==(t=this._inputFields)||t.forEach(e=>{e.name&&(r[e.name]=e.value)}),yield this.onSubmit(e,r)}})}buildTextField(e,t,r,n=!1){return n?Zk`
+                <fv-text-area name="${e}" type='text'>
+                    <fv-label class="text-field-label" i18n="${t}" ?mandatory="${r}"></fv-label>
+                </fv-text-area>
+            `:Zk`
+            <fv-input name="${e}" type='text'>
+                <fv-label class="text-field-label" i18n="${t}" ?mandatory="${r}"></fv-label>
+            </fv-input>
+        `}};Zq.styles=[((e,t)=>Yq(qq(e),t,e))(Zq,"styles")||[],$k`${yk(Jq)}`],Xq([lk({type:String,reflect:!0})],Zq.prototype,"privacyLink",2),Xq([dk("fv-checkbox")],Zq.prototype,"_checkboxComponent",2),Xq([dk("fv-message")],Zq.prototype,"_messageComponent",2),Xq([hk("fv-input, fv-text-area")],Zq.prototype,"_inputFields",2),Xq([hk("fv-input[required]")],Zq.prototype,"_inputFieldsRequired",2),Xq([lk()],Zq.prototype,"onSubmit",2),Zq=Xq([sk("fv-send-offer-mask")],Zq);var eY=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{width:auto}.input-container{display:flex;font-size:larger;gap:5px;margin:15px}.file-container{display:flex;font-size:larger;gap:10px;margin-inline:15px;margin-bottom:25px;margin-top:20px}.submitBtn{background-color:#000;z-index:auto}.submitBtn:hover{background-color:#ff8014}.errorMessage{color:red;font-size:large;margin-bottom:10px;text-align:center}`,tY=Object.defineProperty,rY=Object.getOwnPropertyDescriptor,nY=Object.getPrototypeOf,iY=Reflect.get,oY=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?rY(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&tY(t,r,o),o};let sY=class extends DW{constructor(){super(),this.mask="fileUpload"}uploadImage(){return e=this,t=null,r=function*(){var e;(yield this.errorSpan).classList.add("hidden");let t=null==(e=(yield this.fileInput).files)?void 0:e[0];if(t){if(t.size>5242880)return void(yield this.errorSpan).classList.remove("hidden");let e=[];e.push((yield this.sizeXinput).value),e.push((yield this.sizeYinput).value);const r=new FileReader;r.readAsDataURL(t);const n=yield new Promise((e,t)=>{r.onload=()=>{e(r.result)},r.onerror=()=>{t(new Error("cannot read file"))}}),[i,o]=n.split(",");e.push(i),e.push(o),this.dispatchEvent(new CustomEvent("createOTF_Material",{detail:e}))}},new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});var e,t,r}render(){return Zk`
+			<div>
+				<fv-label class="header" i18n="fv.fileUpload.otfMaterial">Eigene Materialien anlegen</fv-label>
+				<div class="file-container">
+					<fv-label for="fileInput" i18n="fv.fileUpload.selectImageFile">Wählen Sie ihre Bild Datei aus</fv-label>
+					<input type="file" id="fileInput" accept="image/png, image/jpeg" size="" name="fileInput"></input>
+				</div>
+				<div class="input-container">
+					<fv-label for="sizeX">SizeX:</fv-label>
+					<input type="number" min="1" name="sizeX" value="150"></input>
+					<fv-label>cm</fv-label>
+					<fv-label for="sizeY">SizeY:</fv-label>
+					<input type="number" min="1" value="150" name="sizeY"></input>
+					<fv-label>cm</fv-label>
+				</div>
+				<div class="errorMessage hidden" i18n="administrationX.print.large">Datei zu groß</div>
+				<fv-button @click="${this.uploadImage}" i18n="51083" class="submitBtn">Hochladen</fv-button>
+			</div>
+		`}};sY.styles=[((e,t)=>iY(nY(e),t,e))(sY,"styles")||[],$k`${yk(eY)}`],oY([pk("#fileInput")],sY.prototype,"fileInput",2),oY([pk('[name="sizeX"]')],sY.prototype,"sizeXinput",2),oY([pk('[name="sizeY"]')],sY.prototype,"sizeYinput",2),oY([pk(".errorMessage")],sY.prototype,"errorSpan",2),sY=oY([sk("fv-file-upload-mask")],sY);var aY,lY,cY=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{flex:1;width:100%}.content{height:auto;min-height:100px}:host(.make-gaps){display:flex;flex-direction:column;gap:var(--accordion-component-gap,0)}@media (width <= 520px){:host(.make-gaps){gap:var(--accordion-component-mobile-gap,var(--accordion-component-gap,0))}}@media (width >= 520px) and (width <= 980px){:host(.make-gaps){gap:var(--accordion-component-mobile-gap,var(--accordion-component-gap,0))}}`,uY=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}@media (width >= 980px){:host .header{height:var(--accordion-header-height,7rem)}:host .header .image{height:5.5rem;width:5.5rem}}@media (width <= 980px){:host .header{height:var(--accordion-header-height-small,3.5rem)}:host .header .image{height:3.5rem;width:3.5rem}}:host([isactive]) .header .text{font-weight:var(--global-font-weight-bold,600)}:host([header-as-slot]) .header{grid-template-columns:1fr 40px}:host(.forced-open) .content{max-height:fit-content!important;min-height:fit-content!important}:host{width:100%}:host .header{background-color:var(--accordion-header-background-color,#fff);color:var(--accordion-header-color,inherit);cursor:pointer;display:grid;grid-template-columns:6rem 1fr 40px}:host .header .chevron-symbol{margin:auto 0}:host .header .image{margin:var(--accordion-image-margin,auto);padding:var(--accordion-image-padding,unset)}:host .header .image .img-content{--icon-widht:100%;--icon-height:100%;--icon-font-size:2.5rem;background-position:50%;background-repeat:no-repeat;background-size:contain;height:100%}:host .header .image .img-content{--label-color:var(--default-icon-color,#d1d3d4)}:host .header .image .img-content:is(svg-icon){background-color:var(--default-icon-color,#d1d3d4);mask-size:var(--default-icon-size,contain)}:host .header .text{margin:auto 0;max-width:var(--accordion-text-max-width,unset);padding:var(--accordion-text-padding,unset);text-align:var(--accordion-text-align,unset)}:host .content{background-color:var(--accordion-content-background-color,#f5f5f5);border-top:.5px solid var(--accordion-border-color,#e0e0e0);height:auto;max-height:0;overflow:hidden;padding:0 1rem;transition:max-height 1s ease}:host .content ::slotted(label){display:inline-block;padding-left:10px;padding-top:20px}:host .content.active{max-height:var(--max-transition-height,0)}:host .content.noTransition{transition-delay:0s!important;transition-duration:0s!important;transition-property:all!important;transition-timing-function:ease!important}:host(.image-custom-size) .header .image{aspect-ratio:var(--accordion-header-custom-image-aspect-ratio,1/1);height:var(--accordion-header-custom-image-height,85%);width:var(--accordion-header-custom-image-width,auto)}@media (width >= 520px) and (width <= 980px){:host .header .text{max-width:var(--accordion-text-max-width-tablet,var(--accordion-text-max-width,unset))}}`,dY=Object.defineProperty,hY=Object.getOwnPropertyDescriptor,pY=Object.getPrototypeOf,mY=Reflect.get,_Y=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?hY(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&dY(t,r,o),o},gY=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});(lY=aY||(aY={}))[lY.DEFAULT=0]="DEFAULT",lY[lY.ICON=1]="ICON",lY[lY.CHEVRON=2]="CHEVRON",lY[lY.CUSTOM=3]="CUSTOM";let fY=class extends FT{constructor(e){super(),this.allowCloseOfForcedOpen=!1,this.isActive=!1,this.image="",this.iconMode=0,this.headerAsSlot=!1,this.onOpenEvents=new Array,this.onCloseEvents=new Array,this.scrollAnimationStarted=0,this.scrollAnimationEnds=0,this.targetScrollTop=0,this.startScrollAnimation=(e,t)=>{this.scrollAnimationStarted=Date.now(),this.content?this.scrollAnimationEnds=this.scrollAnimationStarted+1e3*parseInt(window.getComputedStyle(this.content).transitionDuration):this.scrollAnimationEnds=this.scrollAnimationStarted+1e3,this.targetScrollTop=this.getScrollOffsetNeeded(this,t),window.requestAnimationFrame(()=>{this.scrollAnimationTick(e,t)})},this.scrollAnimationTick=(e,t)=>{let r,n,i,o;const s=Date.now();s<this.scrollAnimationEnds?(n=s-this.scrollAnimationStarted,i=this.scrollAnimationEnds-this.scrollAnimationStarted,r=this.targetScrollTop-t.scrollTop,o=r*(n/i),t.scrollTop+=o,window.requestAnimationFrame(()=>{this.scrollAnimationTick(e,t),this.targetScrollTop=this.getScrollOffsetNeeded(this,t)})):t.scrollTop=this.targetScrollTop},this._HeaderClickDefers=new Array,this.clickHeader=e=>gY(this,null,function*(){e.preventDefault(),e.stopPropagation(),yield this.WaitForHeaderClickDefers(),this.classList.remove("forced-open");const t=this.parentAccordion;t&&tL.updateMaxTransitionHeight(this.content).then(()=>{if(t.ActiveItem&&(t.ActiveItem.isActive=!1,this.allowCloseOfForcedOpen&&t.ActiveItem.classList.remove("forced-open")),t.ActiveItem!==this?(this.isActive=!0,t.ActiveItem=this):t.ActiveItem=void 0,!this.isActive)return;const e=yT.findScrollableParent(t);e&&this.startScrollAnimation(this,e)})}),e&&(this.header=e.header,this.image=e.image)}get Header(){return this.header}set Header(e){this.header=e,this.requestUpdate("header")}get Image(){return this.image}set Image(e){this.image=e?"background-"+(e.startsWith("#")?`color: ${e}`:e.split(",").length>=2?`color: rgba(${e})`:`image: url(${e})`):e,this.requestUpdate("image")}getDefaultImageIcon(){return getComputedStyle(this).getPropertyValue("--default-image")}requestHeightUpdate(e=!1){tL.updateMaxTransitionHeight(this.content,void 0,e)}get parentAccordion(){let e=this.parentElement||this.parentNode;return e&&e.host&&(e=e.host),e instanceof fY?e.parentAccordion:e}append(...e){super.append(...e),setTimeout(()=>{tL.updateMaxTransitionHeight(this.content)},10)}appendChild(e){return this.append(e),e}getScrollOffsetNeeded(e,t){return t.scrollTop+e.getBoundingClientRect().top-t.offsetTop}open(){if(!this.isActive)return;const e=this.parentAccordion;e&&tL.updateMaxTransitionHeight(this.content).then(()=>{e&&null!=e.ActiveItem&&(e.ActiveItem.isActive=!1),e.ActiveItem=this,this.isActive=!0,this.parentAccordion.requestUpdate()})}forceOpen(){this.classList.add("forced-open");const e=this.parentAccordion;e?(null!=e.ActiveItem&&(e.ActiveItem.isActive=!1),e.ActiveItem=this,this.isActive=!0,this.parentAccordion.requestUpdate()):console.error("accordion-item> cant be forced open! No Parent!")}AddHeaderClickDefer(e){this._HeaderClickDefers.push(e)}WaitForHeaderClickDefers(){return gY(this,null,function*(){for(const e of this._HeaderClickDefers)yield e()})}build(){if(this.image=this.image.replace(/.*url\(([^)]+)\).*/,"$1"),this.headerAsSlot)return Zk`
+                <slot name="header"></slot>`;const e=this.getDefaultImageIcon().replace(/url\('(.+)'\)/,"$1");let t;const r=this.image||e;if(r){t=aR.getExtension(r).endsWith("svg")?Zk`
+                    <svg-icon class="img-content" src="${r}"></svg-icon>`:r.startsWith("fv-icon")?Zk`
+                    <fv-icon class="img-content iconimage" icon="${r}"></fv-icon>`:Zk`
+                    <fv-icon class="img-content" src="${r}"></fv-icon>`}return Zk`
+            <div class="image">
+                ${t}
+            </div>
+            <div class="text">${this.header}</div>
+        `}TriggerOnOpenCloseEvents(e){return gY(this,null,function*(){e?window.dispatchEvent(new cG({async:!1,events:this.onOpenEvents})):window.dispatchEvent(new cG({async:!1,events:this.onCloseEvents}))})}firstUpdated(e){super.firstUpdated(e)}updated(e){super.updated(e),this.isSingular&&this.open()}render(){const e={header:!0,hidden:!!this.isSingular};let t={};switch(this.iconMode){case 1:t={"accordion-symbol":!0,down:!this.isActive,up:this.isActive};break;case 2:t={"chevron-symbol":!0,down:!this.isActive,up:this.isActive};break;case 3:t={"custom-symbol":!0,down:!this.isActive,up:this.isActive};break;default:t={icon:!0,"fv-icon-plus":!this.isActive,"fv-icon-minus":this.isActive}}const r={content:!0,active:this.isActive||!!this.isSingular};return Zk`
+            <div class="${KT(e)}" @click=${this.clickHeader}>
+                ${this.build()}
+                <div class="${KT(t)}"></div>
+            </div>
+            <div class="${KT(r)}">
+                <slot></slot>
+            </div>
+        `}};fY.styles=[((e,t)=>mY(pY(e),t,e))(fY,"styles")||[],$k`${yk(uY)}`],_Y([lk({type:Boolean,reflect:!0,attribute:"singular"})],fY.prototype,"isSingular",2),_Y([lk({type:Boolean,reflect:!0,attribute:"allow-close-of-forced-open"})],fY.prototype,"allowCloseOfForcedOpen",2),_Y([lk({type:Boolean})],fY.prototype,"isActive",2),_Y([lk({type:String})],fY.prototype,"header",2),_Y([lk({type:String})],fY.prototype,"image",2),_Y([lk({type:Number})],fY.prototype,"iconMode",2),_Y([dk(".content")],fY.prototype,"content",2),_Y([lk({type:Boolean,reflect:!0,attribute:"header-as-slot"})],fY.prototype,"headerAsSlot",2),_Y([lk({type:Array,reflect:!0,attribute:"on-open-events"})],fY.prototype,"onOpenEvents",2),_Y([lk({type:Array,reflect:!0,attribute:"on-close-events"})],fY.prototype,"onCloseEvents",2),fY=_Y([sk("fv-accordion-item")],fY);var vY=Object.defineProperty,bY=Object.getOwnPropertyDescriptor,yY=Object.getPrototypeOf,$Y=Reflect.get,xY=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?bY(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&vY(t,r,o),o};let SY=class extends FT{constructor(){super(),this.firstStartsOpen=!1,this.updateCounter=0,this.addHideStateUpdatedEventListener(e=>{var t;e||null==(t=this.ActiveItem)||t.TriggerOnOpenCloseEvents(!0),1==this.updateCounter&&this.firstStartsOpen&&this.firstChild&&this.firstChild instanceof fY&&this.firstChild.open()})}get ActiveItem(){return this._activeItem}set ActiveItem(e){var t,r;null==(t=this._activeItem)||t.TriggerOnOpenCloseEvents(!1),this._activeItem=e,null==(r=this._activeItem)||r.TriggerOnOpenCloseEvents(!0)}updated(e){++this.updateCounter,super.updated(e)}firstUpdated(e){super.firstUpdated(e)}render(){return Zk`
+            <slot></slot>
+        `}};SY.styles=[((e,t)=>$Y(yY(e),t,e))(SY,"styles")||[],$k`${yk(cY)}`],xY([lk({type:Boolean,reflect:!0,attribute:"first-starts-open"})],SY.prototype,"firstStartsOpen",2),SY=xY([sk("fv-accordion")],SY);var wY=$k`:host .header{display:none}:host .content{border:unset;max-height:fit-content!important;min-height:fit-content!important;padding:0}`,AY=Object.getPrototypeOf,CY=Reflect.get;const EY=class extends fY{firstUpdated(e){var t;super.firstUpdated(e),null==(t=this.content)||t.classList.add("active")}open(){var e;null==(e=this.firstChild)||e.open()}forceOpen(){var e;null==(e=this.firstChild)||e.forceOpen()}};let IY=EY;IY.styles=[((e,t)=>CY(AY(e),t,e))(EY,"styles")||[],yk(wY)];var MY=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});class kY{constructor(){this.accessoires=!1,this.front=void 0,window.addEventListener("triggereventhandlereventevent",e=>{e.detail&&e.detail.events&&TY.dispatchEventList(e.detail.events,e.detail.async)}),this._events=new Map,this.register("send-cloud-id-to-owner",()=>MY(this,null,function*(){this.dispatch("send-to-owner",{message:(yield LY.getPDF(!0)).cloudID})})),this.register("send-to-owner",e=>MY(this,null,function*(){let t=window;for(;t.parent&&t!==t.parent;)t=t.parent;t.postMessage(e.message,"*")})),this.register("camera-zoom-in",()=>MY(this,null,function*(){yield CommunicationMessageService.cameraZoom(1)})),this.register("camera-zoom-out",()=>MY(this,null,function*(){yield CommunicationMessageService.cameraZoom(-1)})),this.register("reset-camera",()=>MY(this,null,function*(){yield CommunicationMessageService.resetCameraView(!0)})),this.register("undo",()=>MY(this,null,function*(){yield CommunicationMessageService.undo()})),this.register("redo",()=>MY(this,null,function*(){alert("TODO: implement redo!")})),this.register("save",e=>MY(this,null,function*(){yield CommunicationMessageService.downloadPDF(!(!e||!e.custom)&&e.custom)})),this.register("download-generated-file",e=>MY(this,null,function*(){var t,r;let n;if(e.currentTarget&&e.currentTarget.classList.add("loading"),e.fileType){switch(e.fileType){case"skp":case"obj":case"xml":n=yield LY.generateExport(e.fileType);break;default:n=yield LY.getPDF(!!e.lastCloudID)}const{url:i,cloudID:o}=n,s=null!=(t={skp:"skp",obj:"zip",xml:"xml",pdf:"pdf"}[e.fileType])?t:"pdf";null==(r=window.UtilService)||r.SaveToDisk(i,`planning_${o}.${s}`)}e.currentTarget&&e.currentTarget.classList.remove("loading")})),this.register("trigger-animation",()=>MY(this,null,function*(){yield CommunicationMessageService.triggerAnimation()})),this.register("toggle-front-state",e=>MY(this,null,function*(){this.dispatch("front-state",e)})),this.register("front-state",e=>MY(this,null,function*(){null!=e["default-state"]&&null==this.front&&(this.front=e["default-state"]);let t=void 0!==e.value?e.value:!this.front;e["prioritise-accessoires"]&&(t=!this.accessoires),yield CommunicationMessageService.frontState(t),this.front=e["prioritise-accessoires"]?void 0:t})),this.register("toggle-accessoires",e=>MY(this,null,function*(){let t=this.accessoires;e["prioritise-front-state"]&&null!=this.front&&(t=this.front),yield CommunicationMessageService.frontState(t),this.front=null!=this.front?t:void 0,this.accessoires=!this.accessoires,yield CommunicationMessageService.setAccessories(this.accessoires)})),this.register("show-ar-modal",()=>MY(this,null,function*(){const e=yT.find("FV-AR-MODAL");e&&e.show()})),this.register("toggle-dimensions",()=>MY(this,null,function*(){yield CommunicationMessageService.toggleMeasurement()})),this.register("take-screenshot",e=>MY(this,null,function*(){yield CommunicationMessageService.downloadScreenshot(e.logo?e.logo:void 0)})),this.register("show-share-component",()=>MY(this,null,function*(){yield CommunicationMessageService.showShareComponent()})),this.register("communicator-message",e=>MY(this,null,function*(){const t={command:e.command,args:e.parameters?e.parameters:[]};if(t.command)return yield CommunicationMessageService.CommunicatorMessage(t.command,...t.args)})),this.register("open-modal",e=>MY(this,null,function*(){BY.openModal(e)})),this.register("close-modal",e=>MY(this,null,function*(){BY.closeModal(e)})),this.register("toggle-modal",e=>MY(this,null,function*(){BY.toggleModal(e)})),this.register("toggle-classes",e=>MY(this,null,function*(){yield kY.EachComponentInService(e,t=>MY(this,null,function*(){for(const r of e.classes)t.classList.contains(r)?t.classList.remove(r):t.classList.add(r)}))})),this.register("add-classes",e=>MY(this,null,function*(){yield kY.EachComponentInService(e,t=>MY(this,null,function*(){for(const r of e.classes)t.classList.add(r)}))})),this.register("remove-classes",e=>MY(this,null,function*(){yield kY.EachComponentInService(e,t=>MY(this,null,function*(){for(const r of e.classes)t.classList.remove(r)}))})),this.register("steps-next",e=>MY(this,null,function*(){XG.next(e)})),this.register("steps-previous",e=>MY(this,null,function*(){XG.previous(e)})),this.register("steps-first",e=>MY(this,null,function*(){XG.activateFirst(e)})),this.register("toggle-toolbar",e=>MY(this,null,function*(){yield kY.EachComponent(e,(e,t)=>MY(this,null,function*(){cj.toggle(t)}))})),this.register("toolbar-button-set-active",e=>MY(this,null,function*(){yield kY.EachComponentInService(e,t=>MY(this,null,function*(){null!=e.value&&(t.active=e.value)}))})),this.register("webcab-toggle-dimension-visuals",()=>MY(this,null,function*(){const e=yT.find("fv-webcab-ui");e&&(yield e.SetDisableDimensionVisuals(!(yield e.GetDisableDimensionVisuals())))})),this.register("webcab-refresh-cabinets-toggle-ui",()=>MY(this,null,function*(){const e=yT.findAll("fv-webcab-ui-cabinets-toggle");for(const t of e)yield t.refresh()})),this.register("set-attribute",e=>MY(this,null,function*(){yield kY.EachComponentInService(e,t=>MY(this,null,function*(){"boolean"==typeof e.value&&e.value?t.setAttribute(e.attribute,""):"boolean"!=typeof e.value||e.value?"object"==typeof e.value?t.setAttribute(e.attribute,JSON.stringify(e.value)):t.setAttribute(e.attribute,e.value):t.removeAttribute(e.attribute)}))})),this.register("toggle-attribute",e=>MY(this,null,function*(){yield kY.EachComponentInService(e,t=>MY(this,null,function*(){if("boolean"==typeof e.value&&e.value)t.toggleAttribute(e.attribute);else{let r=e.value;"object"==typeof e.value&&(r=JSON.stringify(r)),t.getAttribute(e.attribute)==r?t.removeAttribute(e.attribute):t.setAttribute(e.attribute,r)}}))})),this.register("delete-fitting",e=>MY(this,null,function*(){null!=e.level&&(yield CommunicationMessageService.dhTodo(["1",{params:[(e.level+1).toString()],manu:window.g_article.manu,kataManu:window.g_article.manu}]))})),this.register("move-fitting",e=>MY(this,null,function*(){null!=e.level&&(yield CommunicationMessageService.dhTodo(["1",{params:[(e.level+2).toString()],manu:window.g_article.manu,kataManu:window.g_article.manu}]))})),this.register("set-selectable",e=>MY(this,null,function*(){e.type&&Array.isArray(e.type)?yield CommunicationMessageService.setSelectableMultiTypes(e.type):e.type&&e.type.length>0?(yield CommunicationMessageService.setSelectable(e.type),e.action&&e.action.length>0&&(yield CommunicationMessageService.setSelectionActionGroup(e.action))):yield CommunicationMessageService.setSelectable()})),this.register("update-filtered-catalogs",e=>MY(this,null,function*(){yield kY.EachComponentInService(e,e=>MY(this,null,function*(){e.Update&&(yield e.Update())}))})),this.register("open-link",e=>MY(this,null,function*(){e["new-tab"]&&e.link?window.open(e.link):e.link&&(window.location=e.link)})),this.register("scroll-to-top",e=>MY(this,null,function*(){const t=t=>{const r={top:0,left:0,behavior:e.behavior?e.behavior:"auto"};t.scrollTo(r)};if(e.tag&&e.tag.length>0){if(e.selector&&e.selector.length>0){const r=yT.findAll(e.tag,e.selector);for(const e of r)t(e)}}else if(e.selector&&e.selector.length>0){const r=document.querySelector(e.selector);r&&t(r)}})),this.register("send-to-cart",e=>MY(this,null,function*(){const t=e["external-parameters"];let r=[];t&&(r=t.map(e=>{const t=yT.find(e.tag);return{parameter:e.name,value:t[e.property]}})),yield CommunicationMessageService.addToCart(r)})),this.register("card-container-set-show-before-slot",e=>MY(this,null,function*(){EW.SetShowBeforeSlot(e)})),this.register("card-containers-reset-selection-result-filter",e=>MY(this,null,function*(){EW.ResetSelectionResultFilter(e)})),this.register("refresh-all-card-containers",e=>MY(this,null,function*(){const t=null!=e.refetch&&e.refetch,r=null!=e["include-hidden"]&&e["include-hidden"],n=e["selection-result-filter-reset-targets"],i=e["selection-result-filter-reset-excludes"];EW.RefreshAll(t,r,n,i)})),this.register("refetch-card-container",e=>MY(this,null,function*(){EW.Refetch(e)})),this.register("clear-card-container",e=>MY(this,null,function*(){EW.Clear(e)})),this.register("refresh-all-configurator-forms",()=>MY(this,null,function*(){const e=yT.findAll("fv-configurator-form");for(const t of e)AJ.Refresh("true",t,!1,t.preventRefresh,t.preventRegenAll)})),this.register("refresh-all-filtered-catalogs",()=>MY(this,null,function*(){const e=yT.findAll("fv-filtered-catalog");for(const t of e)t.Update(!0)})),this.register("toggle-api-state-reset-camera-save",e=>MY(this,null,function*(){if(e.group&&e.target&&AJ.Groups.includes(e.group)){const t=AJ.Data[e.group];if(Object.keys(t).includes(e.target)){const r=t[e.target];null!=r.state&&(yield ConfiguratorApi.SetApiData({groups:[{name:e.group,modifications:[{target:e.target,type:"int",value:1}]}]}),yield CommunicationMessageService.resetCameraView(!1),setTimeout(()=>MY(this,null,function*(){yield CommunicationMessageService.frontState(!0),yield CommunicationMessageService.downloadPDF(!(!e||!e.custom)&&e.custom),yield ConfiguratorApi.SetApiData({groups:[{name:e.group,modifications:[{target:e.target,type:"int",value:r.state?1:0}]}]})}),1e3))}}})),this.register("configurator-set-api-state",e=>MY(this,null,function*(){if(e.group&&e.target&&AJ.Groups.includes(e.group)){const t=AJ.Data[e.group];Object.keys(t).includes(e.target)&&(yield ConfiguratorApi.SetApiData({groups:[{name:e.group,modifications:[{target:e.target,type:"int",value:e.state?1:0}]}]}))}})),this.register("configurator-api-state-toggle",e=>MY(this,null,function*(){if(e.group&&e.target&&AJ.Groups.includes(e.group)){const t=AJ.Data[e.group];if(Object.keys(t).includes(e.target)){const r=t[e.target];null!=r.state&&(yield ConfiguratorApi.SetApiData({groups:[{name:e.group,modifications:[{target:e.target,type:"int",value:r.state?0:1}]}]}),yield this.dispatchAsyncEvent("refresh-all-configurator-forms",{}))}}})),this.register("reload-window",e=>MY(this,null,function*(){window.location.reload()})),this.register("set-fp-variable",e=>MY(this,null,function*(){yield CommunicationInterfaceService.IsAppReady,yield CommunicationMessageService.dhTodo(["3",{params:["-1","0",e.key,e.type,e.value],manu:window.g_article.manu,kataManu:window.g_article.manu}])})),this.register("set-property",e=>MY(this,null,function*(){yield CommunicationMessageService.modifyProperty(JSON.stringify(e.property),e.options)})),this.register("set-attribute-on-url-with-cloud-id",e=>{new URL(window.location.href).searchParams.has("cloudId")&&this.dispatch("set-attribute",e)}),this.register("gtm-push",e=>MY(this,null,function*(){var t;const r={event:e.event};Object.keys(e).forEach(t=>{if("event"!==t){let n=e[t].split("."),i=window.g_dataInterface[n[0]];n=n.slice(1),n.forEach(e=>{i&&(i=i[e])}),r[t]=i||e[t]}}),null==(t=window.gtm_s)||t.push(r)})),this.register("set-camera-zoom",e=>MY(this,null,function*(){const t=e.zoom;if("string"==typeof t.Perspective){const e=QQ.SearchPerspectives[t.Perspective];e&&(t.Perspective=e)}yield CommunicationMessageService.setCameraZoom(t)})),this.register("place-article",e=>MY(this,null,function*(){yield CommunicationMessageService.placePO({manufacturer:window.g_article.manu,program:e.program,extParameter:{},articleNumber:e["article-number"]})})),this.register("update-visibility",e=>MY(this,null,function*(){yield kY.EachComponentInService(e,e=>MY(this,null,function*(){e.updateVisibility()}))})),this.register("update-accordion-heights",e=>MY(this,null,function*(){yield kY.EachComponentInService(e,e=>MY(this,null,function*(){e instanceof fY&&e.requestHeightUpdate()}))})),this.register("update-slider-ranges",e=>MY(this,null,function*(){yield kY.EachComponentInService(e,e=>MY(this,null,function*(){e instanceof xz&&e.requestUpdate()}))})),this.register("execute-custom-event",e=>MY(this,null,function*(){yield CommunicationMessageService.executeCustomEvent(null==e?void 0:e.command,null==e?void 0:e.instanceIdent,null==e?void 0:e.parameters)})),this.register("set-element-selected",e=>MY(this,null,function*(){yield CommunicationMessageService.selectObjectInScene(e.instanceIdent)})),this.register("set-language",e=>MY(this,null,function*(){const t=null==e?void 0:e.langCode;t&&(yield CommunicationMessageService.setLanguage(t),yield LocalesModel.setLanguage(t),EW.RefreshAll(!0,!1),yield GG.WaitForAllCardContainerFetchPromises(),yield UL.Reload(),window.dispatchEvent(new CustomEvent("language-changed",{detail:t,bubbles:!0,composed:!0})))}))}static EachComponent(e,t){return MY(this,null,function*(){const r=e.components?e.components:[];e.component&&r.push({name:e.component,selector:e.selector?e.selector:"",all:!!e.all&&e.all});for(let e=0;e<r.length;++e){const n=r[e];yield t(n.name,n.selector,n.all)}})}static EachComponentInService(e,t){return MY(this,null,function*(){return yield this.EachComponent(e,(e,r,n)=>MY(this,null,function*(){const i=yT.findAll(e,r||"");if(!(i.length<1)){if(!1===n||void 0===n){const e=i[0];return void(e&&(yield t(e)))}for(let e=0;e<i.length;++e)yield t(i[e])}}))})}DispatchPostEvents(e){return MY(this,null,function*(){if(e&&e["post-events"]){const t=e["post-events"];for(let r=0;r<t.length;++r){const n=t[r];if(!e["dispatch-post-events-synchronized-in-order"]&&!e["post-events-sync"])return this.dispatch(n.id,n.data?n.data:{});yield this.dispatchAsyncEvent(n.id,n.data?n.data:{})}}})}getEvent(e){if(e.length>0&&this._events.has(e)){const t=this._events.get(e);if("function"==typeof t)return t}}dispatchAsyncEvent(e,t){return MY(this,null,function*(){const r=this.getEvent(e);return r?(yield r(t),yield this.DispatchPostEvents(t),!0):(console.error("Components-Event does not exist:",e),!1)})}dispatch(e,t){const r=this.getEvent(e);return r?r(t).then(()=>this.DispatchPostEvents(t)):(console.error("Components-Event does not exist:",e),!1)}dispatchEventList(e,t){return MY(this,null,function*(){if(e&&e.length>0){if(t){for(const t of e)this.dispatch(t.id,t.data?t.data:{});return}for(const t of e)yield this.dispatchAsyncEvent(t.id,t.data?t.data:{})}})}register(e,t){this._events.set(e,t)}}const TY=new kY;window.EventHandlerService=TY;var RY=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});const LY=new class{generateExport(e){return RY(this,null,function*(){const t=yield CommunicationMessageService.generateExport(e);return{url:`${t.server}/downloadExport/${t.sessionId}/${t.file}/${e}`,cloudID:t.cloudId}})}getPDF(e=!1){return RY(this,null,function*(){const t=yield CommunicationMessageService.printPDF(e);return{url:`${t.server}/downloadPDF/${t.sessionId}/${t.pdf}`,cloudID:t.cloudId}})}openCloudId(e,t=!1){return RY(this,null,function*(){e&&(t&&(yield CommunicationMessageService.resetCurrentUserinterfaceManuProg()),yield window.CommunicationMessageService.openCloudId(e),TY.dispatch("close-modal",{}))})}delay(e){return RY(this,null,function*(){return new Promise(t=>setTimeout(t,e))})}querySelectorAllWithShadowRoots(e,t=document){const r=Array.from(t.querySelectorAll(e)),n=Array.from(document.querySelectorAll("*")).filter(e=>e.shadowRoot).reduce((t,r)=>{var n;const i=(null==(n=r.shadowRoot)?void 0:n.querySelectorAll(e))||[];return[...t,...Array.from(i)]},new Array);return[...r,...n]}querySelectorWithShadowRoots(e,t=document){return this.querySelectorAllWithShadowRoots(e,t)[0]}replaceValueInObject(e,t,r){const n=Object.keys(e);for(const i of n){const n=e[i];if(n===t)e[i]=r;else if(n&&"object"==typeof n)this.replaceValueInObject(n,t,r);else if(n&&Array.isArray(n))for(const e of n)e&&"object"==typeof e&&this.replaceValueInObject(e,t,r)}}checkCssQuerySyntax(e){return/^(\*|#[\w-]+|\.[\w-]+|[\w-]+|\[\w+(=\w+)?\])(:\w+)?(>\w+)?(\s\w+)?$/.test(e)}ncrToUTF8(e){return e&&e.length>0?e.replace(/&#([0-9]+);/g,function(e){return String.fromCodePoint(parseInt(e.slice(2,-1)))}):e}};var PY=Object.defineProperty,DY=Object.getOwnPropertyDescriptor,NY=Object.getPrototypeOf,FY=Reflect.get,OY=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?DY(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&PY(t,r,o),o};let BY=class extends FT{constructor(){super(),this.hasBackground=!1,this.active=!1,this.cancelable=!1,this.cancelableOverwrite=void 0,this.closeOnVPlacerCancel=!1,this.dimmed=!1,this.fade=!1,this.fullScreen=!1,this.logoUrl="",this.onCloseEvent=void 0,this.showMasksOnce=!1,this.isLoading=!1,this.closedModals=[],this.hiddenClasses=[],this.addEventListener("close-modal",()=>{this.hide()}),this.addEventListener("logo-url-updated",e=>{this.logoUrl=e.detail}),this._fadeIn=uG.addAnimation("fadeIn",this,[{visiblity:"hidden",opacity:"0"},{visiblity:"visible",opacity:"1"}],e=>{this.style.removeProperty("visibility"),this.style.setProperty("visibility","visible")}),this.initEventFactoryEvents()}get Cancelable(){let e=this.cancelable;return null!=this.cancelableOnce?e=this.cancelableOnce:null!=this.cancelableOverwrite&&(e=this.cancelableOverwrite),e}initEventFactoryEvents(){return e=this,t=null,r=function*(){yield CommunicationInterfaceService.IsAppReady,EventFactoryService.VPlacerCancel.register(()=>{this.closeOnVPlacerCancel&&this.hide()})},new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});var e,t,r}cancel(e=!0){if(this.dispatchEvent(new Event("close-modal")),e){const e=this.querySelectorAll("[mask][active]");for(let t=0;t<e.length;++t){const r=e.item(t).getAttribute("class");r&&-1===this.closedModals.indexOf(r)&&this.closedModals.push(r)}}}build(e){const t={cancelable:this.cancelable,content:!0},r={fullScreen:this.fullScreen,"content-container":!0,"bg-image":this.hasBackground};return Zk`
+            ${this.dimmed?Zk`<fv-dimmer></fv-dimmer>`:""}
+            <div class="center-container">
+                <div class="${KT(r)}">
+                    <fv-loading class="loading"></fv-loading>
+                    <div class="modal-header">
+                        ${this.logoUrl.length>0?Zk`
+                            <div class="manufacturer-logo-container">
+                                <img class="manufacturer-logo" src="${this.logoUrl}">
+                            </div>`:Zk``}
+                        ${this.Cancelable?Zk`
+                            <div class="cancel-button" @click="${this.cancel}">
+                                <span class="close-symbol"></span>
+                            </div>`:""}
+                    </div>
+                    <div class="${KT(t)}" part="content">
+                        ${e}
+                    </div>
+                </div>
+            </div>
+            <div class="background-blur hidden"></div>
+        `}attributeChangedCallback(e,t,r){super.attributeChangedCallback(e,t,r),"active"===e&&(this.hideElement=null==r)}firstUpdated(e){var t,r;super.firstUpdated(e),null==(r=null==(t=window.EventFactoryService)?void 0:t.OpenModal)||r.register(e=>{window.dispatchEvent(new cG({async:!1,events:[{id:"open-modal",data:Object.assign({},e)}]}))})}render(){return this.build(Zk`
+            <slot></slot>`)}setContent(e){const t=this.shadowRoot?this.shadowRoot.querySelector(".content"):null;t&&(t.innerHTML="",t.appendChild(e))}setLoading(e){this.isLoading=!!e;let t=this.querySelector(".loading"),r=this.querySelector(".close-symbol");!r&&this.shadowRoot&&(r=this.shadowRoot.querySelector(".close-symbol")),!t&&this.shadowRoot&&(t=this.shadowRoot.querySelector(".loading")),t&&(e?(r&&r.classList.add("loading"),t.show()):(r&&r.classList.remove("loading"),t.hide()))}getMask(e){const t=this.querySelectorAll("[mask]");for(let r=0;r<t.length;++r){const n=t.item(r);if(n.getAttribute("mask")===e)return n}}selectMask(e,t,r){const n=this.querySelectorAll("[mask]");n.forEach(e=>{e.hide()});let i=!1;return n.forEach(n=>{if(n.getAttribute("mask")!==e)return;const o=r||"*";LY.checkCssQuerySyntax(o)&&n.matches(o)&&(n.maskData=t||n.maskData,n.show(),i=!0)}),i}open(e,t,r,n=this.dimmed,i=this.fade,o=void 0,s=void 0){if(this.showMasksOnce&&r&&!s){const e=r.split(".").join("");if(e&&this.closedModals.indexOf(e)>-1)return void this.cancel(!1)}e?this.selectMask(e,t,r)&&(this.cancelableOverwrite=o,this.show(n,i)):(this.cancelableOverwrite=o,this.show(n,i))}toggle(e,t,r,n=this.dimmed,i=this.fade,o=void 0,s=void 0){if(this.active){const t=this.getMask(e);if(t&&t.active)return void this.hide(n,i)}this.open(e,t,r,n,i,o,s)}show(e=this.dimmed,t=this.fade){this.active||(this.classList.remove("fade-out"),t&&this.classList.add("fade-in"),this.dimmed=e,this.active=!0),this.requestUpdate()}hide(e=this.dimmed,t=this.fade){this.active&&(this.onCloseEvent&&window.dispatchEvent(new cG({async:!1,events:[{id:this.onCloseEvent.id,data:this.onCloseEvent.data?this.onCloseEvent.data:{}}]})),this.cancelableOverwrite=void 0,this.cancelableOnce=void 0,this.classList.remove("fade-in"),t&&this.classList.add("fade-out"),this.dimmed=e,this.active=!1,this.dispatchEvent(new CustomEvent("onHide",{})))}static ReadQueryFromContainer(e,t,r){if(null==e||null==t)return r;const n=yT.find(e,t);if(null==n)return r;const i=n.getAttribute("modal-mask-query");return i&&i.length>0?i:r}static openModal(e){if(e){const t=e.query?e.query:void 0,r=yT.find(e.tag||"fv-modal",t);if(r){const t=null!=e.dimmed?e.dimmed:r.dimmed,n=null!=e.fade?e.fade:r.fade,i=BY.ReadQueryFromContainer(e["mask-query-container-tag"],e["mask-query-container-query"],e["mask-query"]);r.open(e.mask,e.data,i,t,n,e.cancelable,e.force)}}}static closeModal(e){if(e){const t=e.query?e.query:void 0,r=yT.find(e.tag||"fv-modal",t);if(r){const t=null!=e.dimmed?e.dimmed:r.dimmed,n=null!=e.fade?e.fade:r.fade;r.hide(t,n)}}}static toggleModal(e){if(e){const t=e.query?e.query:void 0,r=yT.find(e.tag||"fv-modal",t);if(r&&e.mask){const t=null!=e.dimmed?e.dimmed:r.dimmed,n=null!=e.fade?e.fade:r.fade,i=BY.ReadQueryFromContainer(e["mask-query-container-tag"],e["mask-query-container-query"],e["mask-query"]);r.toggle(e.mask,e.data,i,t,n,e.cancelable,e.force)}}}};BY.styles=[((e,t)=>FY(NY(e),t,e))(BY,"styles")||[],$k`${yk(lG)}`],OY([lk({type:Boolean,reflect:!0})],BY.prototype,"active",2),OY([lk({type:Boolean,reflect:!0})],BY.prototype,"cancelable",2),OY([lk({type:Boolean,reflect:!0,attribute:"close-on-vplacer-cancel"})],BY.prototype,"closeOnVPlacerCancel",2),OY([lk({type:Boolean,reflect:!0})],BY.prototype,"dimmed",2),OY([lk({type:Boolean})],BY.prototype,"fade",2),OY([lk({type:Boolean,reflect:!0})],BY.prototype,"fullScreen",2),OY([lk({type:String,reflect:!0,attribute:"logo-url"})],BY.prototype,"logoUrl",2),OY([lk({type:Object,reflect:!0,attribute:"on-close-event"})],BY.prototype,"onCloseEvent",2),OY([lk({type:Boolean,attribute:"show-masks-once"})],BY.prototype,"showMasksOnce",2),BY=OY([sk("fv-modal")],BY);var UY=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{animation:dot-flashing 1s linear infinite alternate;animation-delay:.5s;background-color:#fff;border-radius:5px;color:#fff;display:block;height:10px;position:relative;width:10px}:host:after,:host:before{content:"";display:inline-block;position:absolute;top:0}:host:before{animation:dot-flashing 1s infinite alternate;animation-delay:0s;background-color:#fff;border-radius:5px;color:#fff;height:10px;left:-15px;width:10px}:host:after{animation:dot-flashing 1s infinite alternate;animation-delay:1s;background-color:#fff;border-radius:5px;color:#fff;height:10px;left:15px;width:10px}@keyframes dot-flashing{0%{background-color:#fff}50%,to{background-color:hsla(0,0%,58%,.2)}}`,VY=Object.defineProperty,zY=Object.getOwnPropertyDescriptor,HY=Object.getPrototypeOf,GY=Reflect.get;let jY=class extends vT{constructor(){super(),this.className="dot-flashing"}render(){return Zk``}};jY.styles=[((e,t)=>GY(HY(e),t,e))(jY,"styles")||[],$k`${yk(UY)}`],jY=((e,t,r,n)=>{for(var i,o=n>1?void 0:n?zY(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&VY(t,r,o),o})([sk("fv-dot-flashing-loader")],jY);class JY{constructor(e,t=1e3,r){(this._host=e).addController(this),this._timeout=t,this._callback=r}hostConnected(){this._timerID=+setInterval(()=>{return e=this,t=null,r=function*(){(yield this._callback())&&this._host.requestUpdate()},new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});var e,t,r},this._timeout)}hostDisconnected(){clearInterval(this._timerID),this._timerID=void 0}}var WY=Object.defineProperty,QY=Object.getOwnPropertyDescriptor,qY=Object.getPrototypeOf,YY=Reflect.get,XY=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?QY(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&WY(t,r,o),o},KY=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});let ZY=class extends BY{constructor(){super(),this.clockInterval=5e3,this._textIndex=0,this.fullScreen=!0,this.hasBackground=!0,this.changeText=()=>KY(this,null,function*(){return this.active&&(this._textIndex++,window.LocalesModel.exists("modal.loading.main-text."+this._textIndex)||(this._textIndex=0),this.mainText&&(this.mainText.classList.add("fade-out"),this.mainText.textContent=window.LocalesModel.translate("modal.loading.main-text."+this._textIndex,""),this.mainText.classList.remove("fade-out")),this.headText&&(this.headText.classList.add("fade-out"),this.headText.textContent=window.LocalesModel.translate("modal.loading.head-text."+this._textIndex,""),this.headText.classList.remove("fade-out"))),this.active}),this._clockController=new JY(this,this.clockInterval,this.changeText)}firstUpdated(e){var t=e=>super[e];return KY(this,null,function*(){t("firstUpdated").call(this,e),yield CommunicationInterfaceService.IsAppReady,this.hide(!0,!0)})}render(){return super.build(Zk`
+            <div class="content" part="loadingContent">
+                <slot>
+                    <div part="loadingHeadText" class="head-text" i18n="modal.loading.head-text.0"></div>
+                    <div part="loadingMainText" class="main-text" i18n="modal.loading.main-text.0"></div>
+                </slot>
+            </div>
+            <div class="footer">
+                <div class="text" i18n="modal.loading.footer-text"></div>
+                <fv-dot-flashing-loader></fv-dot-flashing-loader>
+            </div>
+        `)}};ZY.styles=[((e,t)=>YY(qY(e),t,e))(ZY,"styles")||[],$k`${yk(aG)}`],XY([dk(".head-text")],ZY.prototype,"headText",2),XY([dk(".main-text")],ZY.prototype,"mainText",2),ZY=XY([sk("fv-loading-modal")],ZY);var eX=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{display:var(--rotating-dots-loader-display,unset);height:var(--rotating-dots-loader-height,unset);position:relative;width:var(--rotating-dots-loader-width,unset)}:host .loader{-webkit-animation:cloud-id-loader var(--rotating-dots-loader-time,1.3s) infinite linear;animation:cloud-id-loader var(--rotating-dots-loader-time,1.3s) infinite linear;border-radius:var(--rotating-dots-loader-border-radius,50%);color:var(--rotating-dots-color,unset);font-size:var(--rotating-dots-loader-font-size,.3rem);height:var(--rotating-dots-loader-dot-height,1em);left:calc(50% - var(--rotating-dots-loader-dot-width, 1em)*.5 + var(--rotating-dots-loader-horizontal-offset, 0px));position:absolute;text-indent:-9999em;top:calc(50% - var(--rotating-dots-loader-dot-height, 1em)*.5 + var(--rotating-dots-loader-vertical-offset, 0px));-webkit-transform:translateZ(0);-ms-transform:translateZ(0);transform:translateZ(0);width:var(--rotating-dots-loader-dot-width,1em)}@-webkit-keyframes cloud-id-loader{0%,to{box-shadow:0 -3em 0 .2em,2em -2em 0 0,3em 0 0 -1em,2em 2em 0 -1em,0 3em 0 -1em,-2em 2em 0 -1em,-3em 0 0 -1em,-2em -2em 0 0}12.5%{box-shadow:0 -3em 0 0,2em -2em 0 .2em,3em 0 0 0,2em 2em 0 -1em,0 3em 0 -1em,-2em 2em 0 -1em,-3em 0 0 -1em,-2em -2em 0 -1em}25%{box-shadow:0 -3em 0 -.5em,2em -2em 0 0,3em 0 0 .2em,2em 2em 0 0,0 3em 0 -1em,-2em 2em 0 -1em,-3em 0 0 -1em,-2em -2em 0 -1em}37.5%{box-shadow:0 -3em 0 -1em,2em -2em 0 -1em,3em 0 0 0,2em 2em 0 .2em,0 3em 0 0,-2em 2em 0 -1em,-3em 0 0 -1em,-2em -2em 0 -1em}50%{box-shadow:0 -3em 0 -1em,2em -2em 0 -1em,3em 0 0 -1em,2em 2em 0 0,0 3em 0 .2em,-2em 2em 0 0,-3em 0 0 -1em,-2em -2em 0 -1em}62.5%{box-shadow:0 -3em 0 -1em,2em -2em 0 -1em,3em 0 0 -1em,2em 2em 0 -1em,0 3em 0 0,-2em 2em 0 .2em,-3em 0 0 0,-2em -2em 0 -1em}75%{box-shadow:0 -3em 0 -1em,2em -2em 0 -1em,3em 0 0 -1em,2em 2em 0 -1em,0 3em 0 -1em,-2em 2em 0 0,-3em 0 0 .2em,-2em -2em 0 0}87.5%{box-shadow:0 -3em 0 0,2em -2em 0 -1em,3em 0 0 -1em,2em 2em 0 -1em,0 3em 0 -1em,-2em 2em 0 0,-3em 0 0 0,-2em -2em 0 .2em}}@keyframes cloud-id-loader{0%,to{box-shadow:0 -3em 0 .2em,2em -2em 0 0,3em 0 0 -1em,2em 2em 0 -1em,0 3em 0 -1em,-2em 2em 0 -1em,-3em 0 0 -1em,-2em -2em 0 0}12.5%{box-shadow:0 -3em 0 0,2em -2em 0 .2em,3em 0 0 0,2em 2em 0 -1em,0 3em 0 -1em,-2em 2em 0 -1em,-3em 0 0 -1em,-2em -2em 0 -1em}25%{box-shadow:0 -3em 0 -.5em,2em -2em 0 0,3em 0 0 .2em,2em 2em 0 0,0 3em 0 -1em,-2em 2em 0 -1em,-3em 0 0 -1em,-2em -2em 0 -1em}37.5%{box-shadow:0 -3em 0 -1em,2em -2em 0 -1em,3em 0 0 0,2em 2em 0 .2em,0 3em 0 0,-2em 2em 0 -1em,-3em 0 0 -1em,-2em -2em 0 -1em}50%{box-shadow:0 -3em 0 -1em,2em -2em 0 -1em,3em 0 0 -1em,2em 2em 0 0,0 3em 0 .2em,-2em 2em 0 0,-3em 0 0 -1em,-2em -2em 0 -1em}62.5%{box-shadow:0 -3em 0 -1em,2em -2em 0 -1em,3em 0 0 -1em,2em 2em 0 -1em,0 3em 0 0,-2em 2em 0 .2em,-3em 0 0 0,-2em -2em 0 -1em}75%{box-shadow:0 -3em 0 -1em,2em -2em 0 -1em,3em 0 0 -1em,2em 2em 0 -1em,0 3em 0 -1em,-2em 2em 0 0,-3em 0 0 .2em,-2em -2em 0 0}87.5%{box-shadow:0 -3em 0 0,2em -2em 0 -1em,3em 0 0 -1em,2em 2em 0 -1em,0 3em 0 -1em,-2em 2em 0 0,-3em 0 0 0,-2em -2em 0 .2em}}`,tX=Object.defineProperty,rX=Object.getOwnPropertyDescriptor,nX=Object.getPrototypeOf,iX=Reflect.get;let oX=class extends FT{constructor(){super()}render(){return Zk`<div class="loader"></div>`}};oX.styles=[((e,t)=>iX(nX(e),t,e))(oX,"styles")||[],$k`${yk(eX)}`],oX=((e,t,r,n)=>{for(var i,o=n>1?void 0:n?rX(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&tX(t,r,o),o})([sk("fv-rotating-dots-loader")],oX);var sX=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}@keyframes loader-spin{0%{transform:rotate(0deg)}to{transform:rotate(1turn)}}@keyframes checkmark{0%{height:0;opacity:1;width:0}20%{height:0;opacity:1;width:25%}40%{height:50%;opacity:1;width:25%}to{height:50%;opacity:1;width:25%}}:host([active]){display:flex}:host{display:none;height:calc(100% - 6px);margin:auto;width:calc(100% - 6px)}:host .circle{animation:loader-spin 1.2s linear infinite;border:3px solid hsla(0,0%,50%,.6);border-left-color:#36b213;border-radius:50%;display:inline-block;position:relative;vertical-align:top;width:100%}:host .load-complete{-webkit-animation:none;animation:none;border-color:#36b213;transition:border .5s ease-out}:host .load-complete .checkmark{display:initial}:host .checkmark{display:none}:host .checkmark.draw:after{animation-duration:.4s;animation-name:checkmark;animation-timing-function:ease;transform:scaleX(-1) rotate(135deg)}:host .checkmark:after{border-right:3px solid #36b213;border-top:3px solid #36b213;content:"";height:50%;left:25%;opacity:1;position:absolute;top:50%;transform-origin:left top;width:25%}`,aX=Object.defineProperty,lX=Object.getOwnPropertyDescriptor,cX=Object.getPrototypeOf,uX=Reflect.get,dX=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?lX(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&aX(t,r,o),o};let hX=class extends FT{constructor(){super(),this.active=!1,this.finished=!1}show(){this.active=!0,this.finished=!1}hide(){this.active=!1,this.finished=!1}render(){const e={circle:!0,"load-complete":this.finished};return Zk`
+            <div class=${KT(e)}>
+                <div class="checkmark draw"></div>
+            </div>
+        `}};hX.styles=[((e,t)=>uX(cX(e),t,e))(hX,"styles")||[],$k`${yk(sX)}`],dX([lk({type:Boolean,reflect:!0})],hX.prototype,"active",2),dX([lk({type:Boolean,reflect:!0})],hX.prototype,"finished",2),hX=dX([sk("fv-progress")],hX);var pX,mX,_X,gX,fX=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}fv-accordion{flex:1;overflow:hidden var(--pp-component-overflow-y,auto);width:100%}:host{display:flex;flex-direction:column;height:100%;overflow:hidden;position:relative;user-select:none;-moz-user-select:none;-webkit-user-select:none;-ms-user-select:none;width:100%}:host fv-dropdown{--dropdown-border-color:var(--pp-container-border-color,var(--bordered-color,red))}:host ::slotted(*){background-color:#000}`,vX=Object.defineProperty,bX=Object.getOwnPropertyDescriptor,yX=Object.getPrototypeOf,$X=Reflect.get,xX=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?bX(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&vX(t,r,o),o},SX=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});(mX=pX||(pX={}))[mX.WEBUI=0]="WEBUI",mX[mX.FURNVIEW=1]="FURNVIEW",mX[mX.COMBINE=99]="COMBINE",(gX=_X||(_X={})).ALL="0",gX.ELEMENT="1",gX.COMPONENT="2";let wX=class extends FT{constructor(){super(),this.IsBusy=!1,this.theme=-1,this.halfSize=!0,this.grouped=!0,this.draggable=!0,this._ppModeSelection=!1,this.hideSingleValueProperties=!1,this.accordionItemClasses=new Array,this._ppMode=_X.ALL,this.hideItemCount=!1,this.disableNotSettable=!1,this.hideNotSettable=!1}get PPOptions(){const e={};switch(this._ppMode){default:case _X.ALL:break;case _X.ELEMENT:e.modifyElement=!0;break;case _X.COMPONENT:e.modifyComponent=!0}return e}initializeLevelDropdown(){return SX(this,null,function*(){if(this._ppModeSelection&&this._ppModeDropdown){(yield RR.Configuration).disable_properties_on_selection||(this._ppModeDropdown.addEventListener("dropdown-item-changed",e=>{this._ppMode=e.detail.data.value}),this._ppModeDropdown.clearItems(),this._ppModeDropdown.addItems([{text:"1701",value:_X.ALL},{text:"1702",value:_X.ELEMENT},{text:"1703",value:_X.COMPONENT}],!1))}})}firstUpdated(e){var t=e=>super[e];return SX(this,null,function*(){t("firstUpdated").call(this,e),yield RequestHelperService.fetchConfiguration(),yield CommunicationInterfaceService.IsAppReady,yield this.initializeLevelDropdown()})}updated(e){var t;const r=null==(t=this.accordion)?void 0:t.scrollTop;super.updated(e),e.has("_ppModeSelection")&&this.initializeLevelDropdown(),window.dispatchEvent(new CustomEvent("onUpdated",{detail:this})),this.accordion&&"number"==typeof r&&(this.accordion.scrollTop=r)}isEmpty(){var e;return 0===(null==(e=this.accordion)?void 0:e.querySelectorAll("fv-accordion-item").length)}render(){return Zk`
+            ${this._ppModeSelection?Zk`
+                <fv-dropdown class="centered" id="mode-dropdown"></fv-dropdown>
+            `:""}
+            <fv-accordion>
+                ${this.getProgContextAccordionLayer()}
+
+                ${this.getProgPropertyAccordionLayer()}
+            </fv-accordion>
+        `}getProgContextAccordionLayer(){return this.contexts?Zk`
+            <fv-prog-context-accordion-layer .contexts="${this.contexts}"></fv-prog-context-accordion-layer>
+        `:tT}getProgPropertyWebUITheme(){return this.contexts||0!==this.theme?tT:Zk`
+            <fv-prog-property-webui-accordion-layer></fv-prog-property-webui-accordion-layer>
+        `}getProgPropertyCombineAccordionLayer(){if(this.contexts||99!==this.theme)return tT;const e={grouped:this.grouped,useSelection:!0};return Zk`
+            <fv-prog-property-combine-accordion-layer .options="${e}"></fv-prog-property-combine-accordion-layer>
+        `}getProgPropertyAccordionLayer(){return this.contexts||-1!==this.theme?tT:Zk`
+            <fv-prog-property-accordion-layer></fv-prog-property-accordion-layer>
+        `}};wX.styles=[((e,t)=>$X(yX(e),t,e))(wX,"styles")||[],$k`${yk(fX)}`],xX([dk("#mode-dropdown")],wX.prototype,"_ppModeDropdown",2),xX([dk("fv-accordion")],wX.prototype,"accordion",2),xX([lk({type:Boolean,reflect:!0})],wX.prototype,"IsBusy",2),xX([lk({type:Number,reflect:!0})],wX.prototype,"theme",2),xX([lk({type:Boolean,reflect:!0})],wX.prototype,"halfSize",2),xX([lk({type:Boolean,reflect:!0})],wX.prototype,"grouped",2),xX([lk({type:Boolean,reflect:!0})],wX.prototype,"draggable",2),xX([lk({type:Boolean,reflect:!0,attribute:"mode-selection"})],wX.prototype,"_ppModeSelection",2),xX([lk({type:Boolean,reflect:!0,attribute:"hide-single-value-properties"})],wX.prototype,"hideSingleValueProperties",2),xX([lk({type:Array,reflect:!0,attribute:"accordion-item-classes"})],wX.prototype,"accordionItemClasses",2),xX([lk({type:Boolean,reflect:!0})],wX.prototype,"hideItemCount",2),xX([lk({type:Boolean,reflect:!0})],wX.prototype,"disableNotSettable",2),xX([lk({type:Boolean,reflect:!0})],wX.prototype,"hideNotSettable",2),xX([lk({type:Array,reflect:!0})],wX.prototype,"contexts",2),wX=xX([sk("fv-pp-container")],wX);var AX=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}.pt-component{flex:1;margin-bottom:50px;overflow-x:hidden;overflow-y:auto;width:100%}:host([theme="1"]) .pt-component{align-content:flex-start;display:flex;flex-flow:wrap}:host{display:flex;flex-direction:column;width:100%}`,CX=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});class EX{get(e){return CX(this,null,function*(){return null==CommunicationMessageService?void 0:CommunicationMessageService.getPropTransfer({manufacturer:e.manufacturer,program:e.program,useSelection:e.useSelection,grouped:e.grouped})})}getDeletable(){return CX(this,null,function*(){return null==CommunicationMessageService?void 0:CommunicationMessageService.getDeletablePropTransfer()})}static manufacturerCallback(e,t,r){return CX(this,null,function*(){const n=t,i=n?Object.keys(n):[];for(const t of i)e.manufacturerCallback&&(yield e.manufacturerCallback(t,n[t])),yield this.programCallback(e,n[t],Object.assign(r,{manufacturer:t}))})}static programCallback(e,t,r){return CX(this,null,function*(){if(r.manufacturer){const n=t,i=Object.keys(n);for(const t of i)e.programCallback&&r.manufacturer&&(yield e.programCallback(r.manufacturer,t,n[t])),yield this.groupCallback(e,n[t],Object.assign(r,{program:t}))}})}static groupCallback(e,t,r){return CX(this,null,function*(){if(r.manufacturer&&r.program){const n=t,i=Object.keys(n);for(const t of i)e.groupCallback&&r.manufacturer&&r.program&&(yield e.groupCallback(r.manufacturer,r.program,t,n[t])),yield this.itemCallback(e,n[t])}})}static itemCallback(e,t){return CX(this,null,function*(){for(const r of t)e.itemsCallback&&(yield e.itemsCallback(r))})}traverse(e){return CX(this,arguments,function*(e,t={}){const r=yield this.get(t);t.grouped?t.manufacturer?t.manufacturer&&!t.program?yield EX.programCallback(e,r,t):t.manufacturer&&t.program&&(yield EX.groupCallback(e,r,t)):yield EX.manufacturerCallback(e,r,t):yield EX.itemCallback(e,r)})}}const IX=new EX;var MX=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host([active]) .pp-item-content{-webkit-box-shadow:inset 0 0 3px 1px var(--primary-color,red);-moz-box-shadow:inset 0 0 3px 1px var(--primary-color,red);box-shadow:inset 0 0 3px 1px var(--primary-color,red)}:host([active]) .pt-group-title{color:var(--primary-color,red)}:host(.halfSize){border:none!important;border-radius:initial;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;flex-direction:column;height:auto;width:50%}:host(.halfSize) .pp-item-content{flex-direction:column}:host(.halfSize) .pt-current-image{height:9em;margin:auto;width:9em}:host(.halfSize) .pt-current-image .pt-image{border:1px solid grey;border-radius:100%;overflow:hidden}:host(:not(:last-child)){border-bottom:1px solid grey}:host{display:flex;flex-direction:column;width:100%}:host .delete-button{background:#ff3232;border-top:1px solid grey;display:flex;height:34px;width:100%}:host .delete-button:hover{filter:saturate(.8)}:host .delete-button span{margin:auto}:host .pp-item-content{display:flex;flex:1;height:80px;padding:.5em}:host .pp-item-content:hover{-webkit-box-shadow:inset 0 0 3px 1px var(--primary-color,red);-moz-box-shadow:inset 0 0 3px 1px var(--primary-color,red);box-shadow:inset 0 0 3px 1px var(--primary-color,red)}:host .pp-item-content .pt-current-image{height:80px;width:80px}:host .pp-item-content .pt-info{display:flex;flex:1;flex-direction:column}:host .pp-item-content .pt-info .pt-group-title{color:#727272;display:flex;flex:1;height:100%;margin:8px 0}:host .pp-item-content .pt-info .pt-group-title span{font-weight:var(--global-font-weight-bold,600);margin:auto}:host .pp-item-content .pt-image{background-position:50%;background-size:cover;height:100%;width:100%}:host .pp-item-content .pt-image.not-found{background-image:var(--default-image,url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA8AAAAMcAQMAAACl5F6MAAAABlBMVEW8vsDn6OnyCdevAAAACXBIWXMAAAsTAAALEwEAmpwYAAAEbUlEQVR4AezBMQEAAADCoPVP7WsIoAcAAAAAAAAAAAAAAAAAAAAAAIydO0iOk4eCAGyVXNEuukF0FB1NHE1H0RG0ZEHRf5A99WYMk1T+Kvolw+vVjBf+CkMLoRCFWQkuqCquB3QOOQKrCpwBKJ1i6Jxk/EzTubaArgAHQOeyjhu8aMEafUrYolLjLRMfLrpw5cMYadeBnTLcrwN7ZXi+DhyuCi8GG/xy8Gyw3SRe7n7cLzfnajah5z87keFJ//lYf0WAAq+vv+rDX+fir+zpr2Xqr95qrle/ywr9OxX+/nF19fGRmR/yrzCJCudRqNHiNDHhIlquTBgCF2aX3V2BwYT9nUYdNoNojnqjiKJ56q0xiRaok4EsWqQO2EW0RJ3wQbTMvDc6iFaYswEvkx5Hnf8E0Tx1xhcfj3gh1lhOLHVWnx8vLvBq/FAnYpGBhwEElVfjhyETjVjj5bFanATpLrHIcpDkIstpJRdZLmRykaW63CLLMZKLLGeVXGS5jvlFluZKq8k1lnGMXGMZuck1lnsVu8ZydybXWOYj5BrLDIxcY5lz8mrML/JupPIC02osf3tyjeVqY9dYikys8QlTAUIsFovFYrFYLJaIP8hq8D4GG2ywwQYbbLDBBhtssMEGG2ywwQYb3N9+G/ePwQYbbLDBBhtssMEGG5yhA3ugqcARmFXgDKwqcAGgAsu+J1zYy94UXDjIRxosH+crwUm2euHCWX43Fy7YciUYI9N1YIeRavDpsMdIM9jgs+BOh4PBavA3ras6aMFRC06TEpyrLsy/H5emBKOrwvxZpsOsA3ssOk8SQQ9edZ4WI6DzfJwU4Ym/FCE7ofFXfQoJlnUugRsHdl9GTKBzlxRF6vzVW9kngr5eLTB5hT6MUhPgLfdDRhwQCQ79TQXe756tAWcp10XgIuMYF8aWxoedLtz5sB/wzIeDLrzw4QiRqHBSgOvnwLWFCrc7eCLCbnwrXFh2ZMdHKhEOyx3ciHBch8OHE2TtCZ0IZ0wCz1S4jhGTDhc0ecN9IcLja/qEVwIswqwC+/H3zfgMDw7j95cbPBFg+YEKnIaGWyoNzpvmcEujws0rwGX7LnCnwWOgDLhlZsFuaJEP+zFCC7yw4DCAhFtWFhwHl/lwwpeowRMJzlpw+QpXEgwl2O3gxoH9Du4cOOzgmQNHLTjt4OXF4byDVw5csAsHhhLssM/EgD32qQw4aMER+zQtuDPgpAVn7DMz4IJ9FgYMJdgdwSsB9jgKAQ5acDyEJy24ng8nLTgfwu18uBzC/XwYSrA7hmfCeyCHWU6Hw18Gr4R3fY5zOpy04PwEngj/KfYw9WwYSrB7BjfCW4qH6a8Kh2fwTHgF9jDLyXDSgvMzeKW8UX6Uk2Eowe45PL0m7J/D9VQ4aMG/isH/JwYbbLDBBhtssMEGG2ywtz3K/2tvDmQAAAAABvlbn+NbCSQWi8VisVgsFovFYrFYLBYvAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEHVJjR5bJLd8AAAAASUVORK5CYII="))}:host .pp-item-content .pt-image.not-found.transparent{background-color:transparent;background-image:none}:host .pp-item-content .pt-image.bordered{border:1px solid #e5e5e5}`,kX=Object.defineProperty,TX=Object.getOwnPropertyDescriptor,RX=Object.getPrototypeOf,LX=Reflect.get,PX=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?TX(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&kX(t,r,o),o};let DX=class extends FT{constructor(e){super(),this._id="",this._manufacturer="",this._program="",this.currentImage="",this.titleText="",this._deletable=!1,this.titleText=e.text||e.id,this.currentImage=e.image||"",this._deletable=(e.deletable||[]).length>0,this._id=e.id||"",this._manufacturer=e.manufacturer||"",this._program=e.program||"",this.addEventListener("click",this.startPropTransfer)}get Deletable(){return this._deletable}set Deletable(e){this._deletable=e,this.requestUpdate()}startPropTransfer(e){e.stopPropagation(),e.preventDefault(),null==CommunicationMessageService||CommunicationMessageService.startPropTransfer(this._id)}deletePropTransfer(e){e.stopPropagation(),e.preventDefault(),null==CommunicationMessageService||CommunicationMessageService.deletePropTransfer(this._id,this._manufacturer,this._program)}render(){const e={"not-found":!this.currentImage,"pt-image":!0};return Zk`
+        <div class="pp-item-content">
+            <div class="pt-current-image">
+                <div class=${KT(e)} style="${this.currentImage?`background-image: url(${this.currentImage})`:""}"></div>
+            </div>
+            <div class="pt-info">
+                <div class="pt-group-title">
+                    <span>${this.titleText}</span>
+                </div>
+            </div>
+        </div>
+        ${this._deletable?Zk`<div @click=${this.deletePropTransfer} id="deleteButton" class="delete-button"}>
+            <span>Löschen</span>
+        </div>`:""}
+        `}};DX.styles=[((e,t)=>LX(RX(e),t,e))(DX,"styles")||[],$k`${yk(MX)}`],PX([dk("#deleteButton")],DX.prototype,"deleteButton",2),PX([lk({type:String,reflect:!0})],DX.prototype,"currentImage",2),PX([lk({type:String,reflect:!0})],DX.prototype,"titleText",2),PX([lk({type:Boolean,reflect:!0})],DX.prototype,"_deletable",2),DX=PX([sk("fv-pt-property-item")],DX);var NX=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{align-content:flex-start;border:1px solid grey;border-radius:3px;display:flex;flex-wrap:wrap;margin:.1em 0 4px;width:100%}`,FX=Object.defineProperty,OX=Object.getOwnPropertyDescriptor,BX=Object.getPrototypeOf,UX=Reflect.get;let VX=class extends FT{constructor(){super()}render(){return Zk`<slot></slot>`}addItem(e){return new DX(e)}};VX.styles=[((e,t)=>UX(BX(e),t,e))(VX,"styles")||[],$k`${yk(NX)}`],VX=((e,t,r,n)=>{for(var i,o=n>1?void 0:n?OX(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&FX(t,r,o),o})([sk("fv-pt-group")],VX);var zX=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});const HX=new class{build(e,t,r){return zX(this,null,function*(){const t=[];yield IX.traverse({groupCallback:(e,n,i,o)=>zX(this,null,function*(){const e=new VX;o&&r.grouped&&o.forEach(t=>{e.addItem(t)}),t.push(e)}),itemsCallback:e=>zX(this,null,function*(){if(!r.grouped){const r=new VX;e&&r.addItem(e),t.push(r)}})},r),e.innerHTML="",t.forEach(t=>{e.appendChild(t)})})}};var GX=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host(:hover){-webkit-box-shadow:inset 0 0 3px 1px var(--primary-color,red);-moz-box-shadow:inset 0 0 3px 1px var(--primary-color,red);box-shadow:inset 0 0 3px 1px var(--primary-color,red)}:host(.halfSize){border:none;border-radius:initial;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;flex-direction:column;height:auto;max-width:150px;width:calc(50% - 20px)}:host(.halfSize) .color-picker{height:80px}:host(.halfSize) .pp-item-content{flex-direction:column;height:auto;width:auto}:host(.halfSize) .pp-item-content .pp-item-image{aspect-ratio:1/1;flex:none;height:auto;margin:auto;width:100%}:host(.halfSize) .pp-item-content .pp-item-image .pp-image{border:1px solid grey;border-radius:100%;display:flex;height:100%;overflow:hidden;position:relative;width:100%}:host(.halfSize) .pp-item-content .pp-item-image .pp-image:hover{-webkit-box-shadow:inset 0 0 3px 1px var(--primary-color,red);-moz-box-shadow:inset 0 0 3px 1px var(--primary-color,red);box-shadow:inset 0 0 3px 1px var(--primary-color,red)}:host(.halfSize) .pp-item-content .pp-item-image .pp-image fv-progress{height:75%;width:75%}:host(.halfSize) .pp-item-content .pp-item-name span{margin:8px auto}:host(.color-picker.active){border:initial;border-radius:initial;height:100%;width:100%}:host(.color-picker.active) .pp-item-content{display:none}:host{border:1px solid grey;border-radius:3px;display:block;height:80px;margin:.1em auto 4px;padding:.5em;width:calc(100% - 20px)}:host .pp-item-content{display:flex;flex-direction:row;height:100%;width:100%}:host .pp-item-content .pp-item-image{flex:none;height:80px;width:80px}:host .pp-item-content .pp-item-image .pp-image{background-position:50%;background-size:cover;display:flex;height:100%;position:relative;width:100%}:host .pp-item-content .pp-item-image .pp-image.not-found{background-image:var(--default-image,url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA8AAAAMcAQMAAACl5F6MAAAABlBMVEW8vsDn6OnyCdevAAAACXBIWXMAAAsTAAALEwEAmpwYAAAEbUlEQVR4AezBMQEAAADCoPVP7WsIoAcAAAAAAAAAAAAAAAAAAAAAAIydO0iOk4eCAGyVXNEuukF0FB1NHE1H0RG0ZEHRf5A99WYMk1T+Kvolw+vVjBf+CkMLoRCFWQkuqCquB3QOOQKrCpwBKJ1i6Jxk/EzTubaArgAHQOeyjhu8aMEafUrYolLjLRMfLrpw5cMYadeBnTLcrwN7ZXi+DhyuCi8GG/xy8Gyw3SRe7n7cLzfnajah5z87keFJ//lYf0WAAq+vv+rDX+fir+zpr2Xqr95qrle/ywr9OxX+/nF19fGRmR/yrzCJCudRqNHiNDHhIlquTBgCF2aX3V2BwYT9nUYdNoNojnqjiKJ56q0xiRaok4EsWqQO2EW0RJ3wQbTMvDc6iFaYswEvkx5Hnf8E0Tx1xhcfj3gh1lhOLHVWnx8vLvBq/FAnYpGBhwEElVfjhyETjVjj5bFanATpLrHIcpDkIstpJRdZLmRykaW63CLLMZKLLGeVXGS5jvlFluZKq8k1lnGMXGMZuck1lnsVu8ZydybXWOYj5BrLDIxcY5lz8mrML/JupPIC02osf3tyjeVqY9dYikys8QlTAUIsFovFYrFYLJaIP8hq8D4GG2ywwQYbbLDBBhtssMEGG2ywwQYb3N9+G/ePwQYbbLDBBhtssMEGG5yhA3ugqcARmFXgDKwqcAGgAsu+J1zYy94UXDjIRxosH+crwUm2euHCWX43Fy7YciUYI9N1YIeRavDpsMdIM9jgs+BOh4PBavA3ras6aMFRC06TEpyrLsy/H5emBKOrwvxZpsOsA3ssOk8SQQ9edZ4WI6DzfJwU4Ym/FCE7ofFXfQoJlnUugRsHdl9GTKBzlxRF6vzVW9kngr5eLTB5hT6MUhPgLfdDRhwQCQ79TQXe756tAWcp10XgIuMYF8aWxoedLtz5sB/wzIeDLrzw4QiRqHBSgOvnwLWFCrc7eCLCbnwrXFh2ZMdHKhEOyx3ciHBch8OHE2TtCZ0IZ0wCz1S4jhGTDhc0ecN9IcLja/qEVwIswqwC+/H3zfgMDw7j95cbPBFg+YEKnIaGWyoNzpvmcEujws0rwGX7LnCnwWOgDLhlZsFuaJEP+zFCC7yw4DCAhFtWFhwHl/lwwpeowRMJzlpw+QpXEgwl2O3gxoH9Du4cOOzgmQNHLTjt4OXF4byDVw5csAsHhhLssM/EgD32qQw4aMER+zQtuDPgpAVn7DMz4IJ9FgYMJdgdwSsB9jgKAQ5acDyEJy24ng8nLTgfwu18uBzC/XwYSrA7hmfCeyCHWU6Hw18Gr4R3fY5zOpy04PwEngj/KfYw9WwYSrB7BjfCW4qH6a8Kh2fwTHgF9jDLyXDSgvMzeKW8UX6Uk2Eowe45PL0m7J/D9VQ4aMG/isH/JwYbbLDBBhtssMEGG2ywtz3K/2tvDmQAAAAABvlbn+NbCSQWi8VisVgsFovFYrFYLBYvAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEHVJjR5bJLd8AAAAASUVORK5CYII="))}:host .pp-item-content .pp-item-image .pp-image.not-found.transparent{background-color:transparent;background-image:none}:host .pp-item-content .pp-item-image .pp-image.bordered{border:1px solid #e5e5e5}:host .pp-item-content .pp-item-image .pp-image fv-progress{height:75%;width:75%}:host .pp-item-content .pp-item-name{color:#727272;display:flex;flex:1;margin:auto 8px;width:100%}:host .pp-item-content .pp-item-name span{margin:auto}`,jX=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{display:flex;flex-direction:column;font-family:Calibri,Roboto,sans-serif;margin:0;width:100%}:host .colorGrid{border-top:1px solid #000;display:flex;flex-wrap:wrap;height:auto;justify-content:center;margin-top:15px;padding:8px 0;width:auto}:host .colorGrid .colorField{background:#fff;border:1px solid #000;cursor:pointer;height:30px;margin:5px;width:30px}:host .colorGrid .colorField:hover{box-shadow:0 0 6px 2px #bbb}:host .colorGrid .colorField.active{box-shadow:0 0 6px 2px #ff7676}:host .colorGrid .colorField.highlight{box-shadow:0 0 6px 2px #aaa}:host .colorInputWrap{margin:10px auto;text-align:center;width:100%}:host .colorInputWrap .inputContainer{align-content:center;display:flex;justify-content:center;width:100%}:host #colorInput{background-color:#fff;border:1px solid #7d7d7d;font-size:12px;height:20px;margin:auto 0;text-align:center;text-transform:uppercase}:host #colorInput.error{background-color:#e4b1b1;border:1px solid #811f1f}:host #colorInputSubmit{cursor:pointer;display:inline;height:24px;margin:auto 0;width:24px}:host #colorInputSubmit:hover{background-color:grey}:host #colorInputSubmit img{height:inherit;width:inherit}:host .errorMsg{color:#811f1f;font-size:12px;margin:5px}:host #colorCurrent{background:#fff;border:1px solid #000;display:block;height:30px;margin:5px;width:30px}:host .colorGroups{display:flex;flex-wrap:wrap;justify-content:center}:host .colorGroups .colorGroup{border:1px solid #d3d3d3;cursor:pointer;display:flex;height:42px;margin:3px;overflow:hidden;width:130px}:host .colorGroups .colorGroup:hover{background-color:#f0f0f0}:host .colorGroups .colorGroup.active{background-color:#dcdcdc}:host .colorGroups .colorGroup p{flex:1;font-size:13px;margin:auto 5px;overflow:hidden}:host .colorGroups .colorGroup .colorTile{background:#fff;background-size:30px 30px;border:1px solid #000;height:30px;margin:5px;width:30px}`,JX=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});const WX=new class{sortColor(e){const t=e.map(function(e){const t=function(e){const t=e.split(",").map(e=>+e),r=t[0]/255,n=t[1]/255,i=t[2]/255,o=Math.max(r,n,i),s=o-Math.min(r,n,i);let a,l;return a=0===s?0:o===r?(n-i)/s%6*60:o===n?60*((i-r)/s+2):60*((r-n)/s+4),a<0&&(a+=360),l=0===o?0:s/o,[a,l,o]}(e.code);return[t[0],t[1],t[2],e]}),r=[];for(let e=0;e<=360;e++){r.push([]);for(let t=0;t<=100;t++){r[e].push([]);for(let n=0;n<=100;n++)r[e][t].push([])}}t.forEach(e=>{const t=Math.round(e[0]),n=Math.round(100*e[1]),i=Math.round(100*e[2]);r[t][n][i].push(e[3])});const n=[];for(let e=0;e<=360;e++)for(let t=0;t<=100;t++)for(let i=0;i<=100;i++)n.push(r[e][t][i]);return n}getRal(e){return JX(this,null,function*(){return e=e||{},yield(null==CommunicationMessageService?void 0:CommunicationMessageService.getColorPickerInfo({manufacturer:e.manufacturer,type:"ral"})).then(e=>e)})}getNCS(e){return JX(this,null,function*(){return e=e||{},yield(null==CommunicationMessageService?void 0:CommunicationMessageService.getColorPickerInfo({manufacturer:e.manufacturer,type:"ncs"})).then(e=>e)})}getSikkens(e){return JX(this,null,function*(){return e=e||{},yield(null==CommunicationMessageService?void 0:CommunicationMessageService.getColorPickerInfo({manufacturer:e.manufacturer,type:"sikkens"})).then(e=>e)})}};var QX=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});const qX=new class{TransitionWaiter(e,t){return QX(this,null,function*(){return new Promise((r,n)=>{let i=setTimeout(()=>{i&&clearTimeout(i),i=void 0,o()},1e3*t+100);const o=t=>{i&&clearTimeout(i),i=void 0,e.removeEventListener("transitionend",o),e.removeEventListener("transitioncancel",o),r(!0)};e.addEventListener("transitionend",o),e.addEventListener("transitioncancel",o)})})}fadeOut(e,t=.8){return QX(this,null,function*(){e.style.transition=t+"s",e.style.opacity="0",yield this.TransitionWaiter(e,t),e.style.transition="initial"})}fadeIn(e,t=.8){return QX(this,null,function*(){e.style.transition=t+"s",e.style.opacity="1",yield this.TransitionWaiter(e,t),e.style.transition="initial"})}};var YX=Object.defineProperty,XX=Object.getOwnPropertyDescriptor,KX=Object.getPrototypeOf,ZX=Reflect.get,eK=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?XX(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&YX(t,r,o),o},tK=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});let rK=class extends FT{constructor(){super(),this._isSearching=!1,this._preventEvent=!1,this.currentCode="",this.manufacturer="",this._disableFade="",this.onColorFieldClick=e=>{var t,r;e.stopPropagation(),e.preventDefault();const n=e.currentTarget,i=n.getAttribute("data-ralvalue")||"";this._ralCode=i,this.currentCode=this._ralCode,this._ralRGB=(null==(t=this._ralModel)?void 0:t.colors[this._ralCode])?null==(r=this._ralModel)?void 0:r.colors[this._ralCode].RGB:"",this.colorCurrent&&(this.colorCurrent.style.background=`rgb(${this._ralRGB})`);const o=this.shadowRoot?this.shadowRoot.querySelectorAll(".colorField.active"):null;o&&o.forEach(e=>{e.classList.remove("active")}),n.classList.add("active"),this.colorInput&&(this.colorInput.value=""),this.RemoveErrorMessage("all"),this.dispatchColorChange()}}getColorByCode(e){return tK(this,null,function*(){var t,r;return yield this.getRalColors(),null==(r=null==(t=this._ralModel)?void 0:t.colors[e])?void 0:r.RGB})}dispatchColorChange(){var e,t;if(this._preventEvent)this._preventEvent=!1;else if(this._ralCode){const r=null==(e=this._ralModel)?void 0:e.colors[this._ralCode].RGB.split(","),n=null==(t=this._ralModel)?void 0:t.colors[this._ralCode].Bez;if(r){const e=new CustomEvent("colorChange",{detail:{code:this._ralCode,rgba:{r:r[0],g:r[1],b:r[2],a:1},text:n},bubbles:!1});this.dispatchEvent(e)}}}ShowErrorMessage(e){var t,r,n,i,o;if(this.shadowRoot){let s=this.shadowRoot.querySelector("#ralWrongFormat"),a=this.shadowRoot.querySelector("#ralNotFound");switch(e.toUpperCase()){case"RALWRONGFORMAT":s||(s=document.createElement("p"),s.id="ralWrongFormat",s.classList.add("errorMsg"),s.textContent="RAL Code hat ein falsches Format.",null==(t=this.errorMsgWrap)||t.appendChild(s),null==(r=this.colorInput)||r.classList.add("error"));break;case"RALNOTFOUND":a||(a=document.createElement("p"),a.id="ralNotFound",a.classList.add("errorMsg"),a.textContent="RAL Code wurde nicht gefunden.",null==(n=this.errorMsgWrap)||n.appendChild(a),null==(i=this.colorInput)||i.classList.add("error"))}s&&a&&(null==(o=this.colorInput)||o.classList.remove("error"))}}RemoveErrorMessage(e){var t;if(this.shadowRoot){let r=this.shadowRoot.querySelector("#ralWrongFormat"),n=this.shadowRoot.querySelector("#ralNotFound");switch(e.toUpperCase()){case"RALWRONGFORMAT":null==r||r.remove();break;case"RALNOTFOUND":null==n||n.remove();break;default:r=null,n=null,this.errorMsgWrap&&(this.errorMsgWrap.innerHTML="")}r||n||null==(t=this.colorInput)||t.classList.remove("error")}}CheckRALCodeIsValid(e){var t;return e=e.toUpperCase(),/RAL[0-9]{4}/.test(e)?(this.RemoveErrorMessage("ralWrongFormat"),(null==(t=this._ralModel)?void 0:t.colors[e])?(this.RemoveErrorMessage("ralNotFound"),!0):(this.ShowErrorMessage("ralNotFound"),!1)):(this.ShowErrorMessage("ralWrongFormat"),!1)}GenerateColorGrid(e,t=!1){return tK(this,null,function*(){var r,n;if(this.colorGrid){let i;const o=this._currentGroup!==e;if(o||t){this._currentGroup=e,this._disableFade||(yield qX.fadeOut(this.colorGrid,.3)),this.colorGrid.innerHTML="";for(const t in null==(r=this._ralModel)?void 0:r.colors){const r=parseInt(t.substr(3,1));if(!e||r==e){const e=document.createElement("div");e.classList.add("colorField"),e.style.backgroundColor=`rgb(${null==(n=this._ralModel)?void 0:n.colors[t].RGB})`,e.setAttribute("data-ralValue",t),e.addEventListener("click",this.onColorFieldClick),this._isSearching&&this._ralCode===t?i=e:this._isSearching||t!==this.currentCode&&t!==this._ralCode||(i=e),this.colorGrid.appendChild(e)}}}else this._isSearching&&this._ralCode?i=this.colorGrid.querySelector(`.colorField[data-ralValue=${this._ralCode}]`):this._isSearching||!this.currentCode&&!this._ralCode||(i=this.colorGrid.querySelector(`.colorField[data-ralValue=${this.currentCode||this._ralCode}]`));i?(this.colorGrid.querySelectorAll(".colorField.highlight").forEach(e=>{e.classList.remove("highlight")}),this.colorCurrent&&(this.colorCurrent.style.background=`rgb(${this._ralRGB})`),this._isSearching?i.classList.add("highlight"):i.click()):this._preventEvent=!1,(o||t)&&(this._disableFade||(yield qX.fadeIn(this.colorGrid,.3)))}})}updateColorSelection(){var e,t,r;let n=null==(e=this.colorInput)?void 0:e.value.toUpperCase().replace(/\s|RAL/gi,"");this._ralCode="RAL"+n,this._ralRGB=(null==(t=this._ralModel)?void 0:t.colors[this._ralCode])?null==(r=this._ralModel)?void 0:r.colors[this._ralCode].RGB:"",n&&this.CheckRALCodeIsValid(this._ralCode)&&(n=null==n?void 0:n.substr(0,1),this.shadowRoot&&this.shadowRoot.querySelector(".colorGroup[data-ralGroup='"+n+"']").click(),this.dispatchColorChange())}onClickColorGroup(e){e.stopPropagation(),e.preventDefault();const t=e.currentTarget,r=t.getAttribute("data-ralGroup"),n=this.shadowRoot?this.shadowRoot.querySelectorAll(".colorGroup.active"):null;n&&n.forEach(e=>{e.classList.remove("active")}),t.classList.add("active"),this.GenerateColorGrid(r?+r:void 0).then(()=>{this.dispatchEvent(new CustomEvent("onRender",{}))})}onSearchColor(){var e,t;this._isSearching=!0,(null==(e=this.colorInput)?void 0:e.value)&&(null==(t=this.colorInput)?void 0:t.value.length)>0?this.updateColorSelection():this.RemoveErrorMessage("all")}onColorInputChange(e){this.currentCode="",this._isSearching=!1,this.updateColorSelection()}getRalColors(){return tK(this,null,function*(){const e=yield WX.getRal({manufacturer:this.manufacturer}),t={};return e.colors&&(e.blacklist&&e.blacklist.forEach(t=>{e.colors[t]&&delete e.colors[t]}),e.whitelist&&(e.whitelist.forEach(r=>{e.colors[r]&&(t[r]=e.colors[r])}),e.colors=t)),this._ralModel=e,this._ralModel})}render(){return Zk`
+            <div class="colorInputWrap">
+                <div class="inputContainer">
+                    <div id="colorCurrent"></div>
+                    <input type="text" id="colorInput" @input=${this.onSearchColor} @change=${this.onColorInputChange} value="" i18n-placeholder="enter_RAL_code" placeholder="RAL-Code eingeben" onfocus="this.select()"/>
+                    <button id="colorInputSubmit"><span>&sc;</span></button>
+                </div>
+                <div id="errorMsgWrap"><!-- Hier werden Fehlermeldungen reingeschrieben --></div>
+            </div>
+
+            <!-- Farb-Gruppen -->
+            <div class="colorGroups">
+                <div @click=${this.onClickColorGroup} class="colorGroup" data-ralGroup="1">
+                    <div class="colorTile" style="background-color: rgb(255,255,0);">&nbsp;</div>
+                    <p>
+                        Gelb
+                    </p>
+                </div><!-- Gelb-->
+                <div @click=${this.onClickColorGroup} class="colorGroup" data-ralGroup="2">
+                    <div class="colorTile" style="background-color: rgb(255,164,32);">&nbsp;</div>
+                    <p>
+                        Orange
+                    </p>
+                </div><!--Orange-->
+                <div @click=${this.onClickColorGroup} class="colorGroup" data-ralGroup="3">
+                    <div class="colorTile" style="background-color: rgb(248,0,0);">&nbsp;</div>
+                    <p>
+                        Rot
+                    </p>
+                </div><!--Rot-->
+                <div @click=${this.onClickColorGroup} class="colorGroup" data-ralGroup="4">
+                    <div class="colorTile" style="background-color: rgb(125,31,122);">&nbsp;</div>
+                    <p>
+                        Violett
+                    </p>
+                </div><!--Violett-->
+                <div @click=${this.onClickColorGroup} class="colorGroup" data-ralGroup="5">
+                    <div class="colorTile" style="background-color: rgb(59,131,189);">&nbsp;</div>
+                    <p>
+                        Blau
+                    </p>
+                </div><!--Blau-->
+                <div @click=${this.onClickColorGroup} class="colorGroup" data-ralGroup="8">
+                    <div class="colorTile" style="background-color: rgb(91,58,41);">&nbsp;</div>
+                    <p>
+                        Braun
+                    </p>
+                </div><!--Braun-->
+                <div @click=${this.onClickColorGroup} class="colorGroup" data-ralGroup="6">
+                    <div class="colorTile" style="background-color: rgb(0,187,45);">&nbsp;</div>
+                    <p>
+                        Grün
+                    </p>
+                </div><!--Grün-->
+                <div @click=${this.onClickColorGroup} class="colorGroup" data-ralGroup="7">
+                    <div class="colorTile" style="background-color: rgb(71,75,81);">&nbsp;</div>
+                    <p>
+                        Grau
+                    </p>
+                </div><!--Grau-->
+                <div @click=${this.onClickColorGroup} class="colorGroup" data-ralGroup="9">
+                    <div class="colorTile" style="background: linear-gradient(315deg, black, white);">&nbsp;</div>
+                    <p>
+                        Schwarz / Weiß
+                    </p>
+                </div><!--Weiss/Schwarz-->
+                <div @click=${this.onClickColorGroup} class="colorGroup active" data-ralGroup="">
+                    <div class="colorTile" style="background: linear-gradient(135deg, red, yellow, lime, cyan, blue, mediumvioletred);">&nbsp;</div>
+                    <p>
+                        Alle
+                    </p>
+                </div><!--Alle-->
+            </div>
+
+            <!-- Farben -->
+            <div class="colorGrid"></div>
+        `}updated(e){var t=e=>super[e];return tK(this,null,function*(){var r,n,i;t("updated").call(this,e),this._preventEvent=!0,e.has("manufacturer")&&(this._ralModel=yield this.getRalColors(),this._ralCode=void 0,this._ralRGB=void 0,this._currentGroup=void 0,this.currentCode="",yield this.GenerateColorGrid(this._currentGroup,!0)),this._ralRGB=(null==(r=this._ralModel)?void 0:r.colors[this.currentCode])?null==(n=this._ralModel)?void 0:n.colors[this.currentCode].RGB:"";let o=null==(i=this.currentCode)?void 0:i.toUpperCase().replace(/\s|RAL/gi,"");o=null==o?void 0:o.substr(0,1),this.shadowRoot&&this.shadowRoot.querySelector(".colorGroup[data-ralGroup='"+o+"']").click()})}firstUpdated(){return tK(this,null,function*(){yield this.getRalColors()})}};rK.styles=[((e,t)=>ZX(KX(e),t,e))(rK,"styles")||[],$k`${yk(jX)}`],eK([dk(".colorGrid")],rK.prototype,"colorGrid",2),eK([dk("#colorInput")],rK.prototype,"colorInput",2),eK([dk("#errorMsgWrap")],rK.prototype,"errorMsgWrap",2),eK([dk("#colorCurrent")],rK.prototype,"colorCurrent",2),eK([lk({type:String,reflect:!0})],rK.prototype,"currentCode",2),eK([lk({type:String,reflect:!0})],rK.prototype,"manufacturer",2),eK([lk({type:Boolean,reflect:!0,attribute:"disable-fade"})],rK.prototype,"_disableFade",2),rK=eK([sk("fv-ral-picker")],rK);var nK=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{font-family:Calibri,Roboto,sans-serif;margin:0;width:100%}:host .colorWheelWrap{margin:10px auto;position:relative;width:210px}:host .colorWheelWrap .colorWheelclickArea{height:210px;position:absolute;width:210px;z-index:15}:host .colorWheelWrap .colorWheelCursorContainer{height:210px;position:absolute;width:210px}:host .colorWheelWrap .colorWheelCursorContainer #colorWheelCursor{background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANIAAADSCAYAAAA/mZ5CAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoTWFjaW50b3NoKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpDNUU5RUYyMTUzM0QxMUUyQjA0QTkwQTYxQUZDNEQ4OCIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpDNUU5RUYyMjUzM0QxMUUyQjA0QTkwQTYxQUZDNEQ4OCI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOkM1RTlFRjFGNTMzRDExRTJCMDRBOTBBNjFBRkM0RDg4IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOkM1RTlFRjIwNTMzRDExRTJCMDRBOTBBNjFBRkM0RDg4Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+2P30OQAAAhxJREFUeNrs08ENACAQAkHpv2g0tuDnTGZKgGzaLuBNhARCAiGBkAAhgZBASCAkQEggJBASCAkQEggJhARCAoQEQgIhgZCYdVByDzo/xRpCQkhCQkgISUgISUhCEhJCEhJCQkhCQkgISUgISUgICSEJCSEhJCEhJCEhJIQkJISEkISEkBCSkBCSkBASQhISQkJIQkJIQkJICElICAkhCQkhCUlIQkJIQkJICElICAkhCQkhCQkhISQhISSEJCSEJCSEhJCEhJAQkpAQkpCsICSEJCSEhJCEhJAQkpAQkpAQEkISEkJCSEJCSEJCSAhJSAgJIQkJIQlJSEJCSEJCSAhJSAgJIQkJIQkJISEkISEkhCQkhCQkhISQhISQEJKQEJKfhCQkhCQkhISQhISQEJKQEJKQEBJCEhIgJBASCAmEBAgJhARCAiEBQgIhgZBASICQQEggJBASICQQEggJEBIICYQEQgKEBEICIYGQACGBkEBIICRASCAkEBIICRASCAmEBEIChARCAiGBkAAhgZBASICQQEggJBASICQQEggJhAQICYQEQgIhAUICIYGQQEiAkEBIICQQEiAkEBIICYQkJBASCAmEBAgJhARCAiEBQgIhgZBASICQQEggJBASICQQEggJhAQICYQEQgIhAUICIYGQACGBkEBIICRASCAkEBIICRASCAmEBEIChARCAiGBkAAhgZDgM1uAAQCUoKCKoC5l9gAAAABJRU5ErkJggg==") no-repeat}:host .colorWheelWrap .colorWheel{background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANIAAADSCAYAAAA/mZ5CAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoTWFjaW50b3NoKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpDNUU5RUYyNTUzM0QxMUUyQjA0QTkwQTYxQUZDNEQ4OCIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpDNUU5RUYyNjUzM0QxMUUyQjA0QTkwQTYxQUZDNEQ4OCI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOkM1RTlFRjIzNTMzRDExRTJCMDRBOTBBNjFBRkM0RDg4IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOkM1RTlFRjI0NTMzRDExRTJCMDRBOTBBNjFBRkM0RDg4Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+ErkYiAAAID9JREFUeNrsnQuQG0eZx3sk7dPYkhNDxSGwk+OOkOfKMRUSDF45oSAvn7WYgvIBt3KIk6MuKcspHwWXS632UkWA88XaclKQSw7LQGII4aw9Y3BdKKx1EjioBGuBAxwOMhscnPNTWq+93l097vuknvVY1mN6diTNjL5/VZdeMyOpu3/9ff31Y6R8Ps9IJNL85KIssJ4kSQpCCpR5P4CfUQ4RSCT9igM0CUg+DlEc36NssWjjR66dZa2SHx4SkKL8rTCkAJRXknLHevJQFlhTCAzAhBCFIKFVChNEZJFIxqwSAnQS0jiUk0w5Qn0kkjGrlIKHNCSFcoNAIs1PSd5XIhFIJBKBRGq+RSLXzur9WQo2kEhkkUgkAolEIpBIJBKBZBdt3rxZhhSgnCCQSPOTDIlAIpBIJOeLwt9N0uFfLZC5tcFZ3vGl155W2G8Lk1T92uNOn+3yTc10+JYsSikXXOTKfMFSzez3RFhx9oPSvjKjUO4SSE4Exq8BRoWnr+SwfgApDiAlynxWWVfmJYAIr3ug5JMxVhzETfKEgNHM8TqKllGYqFd+8Vbf8uuPpgCeECuuH+rVeWrBKs2jD1WqXp7WqG8AcPgwDikCUMVOPdcpL/zYWbJeBJJl4EH3KshTikOREoCoEgxMAEK96tF8VwRgCnKA4wAVrb4lkBoOT1ADj1dbUeEz+dI24blx8wFJ9NwEf1R/+wAmgCpNUBFIzYSnVEHo70TBvRO5fF8DQUpxS1T6H8pBleBgpagGVBeFv2sDFIaEFWkXr2jeGqcENR1+kaCEUaskBCEPOtTaiUiFajukkwBWlGoCgSSs7/9cDkGKqC24DnjOq9gYdGCs/u7dzH6P6DljJbAL6fhXF4QhhaiGXCgKf5cAhJ1w3ilHXb7UcxpBOil4qfWXtp3BSj4ocM6mpZ4zQRELM3PUvQoe9gl8x8j0EQ/+vwOC/2cZfJfCGwdsVArRv4s/ezpGtYYskhagICSFuzI9mo8iGM7GCih4yWAjLBITi9ih0K0TtSjj0EfC88Iay4x5tB2sk0IWikBCgAKQErz/01PmkAH4XGbiYzxrZvKuY3WGwgh8igG3Lg6w+DhIpSKgWhkkDUD7dLhSEQMgsWOZziUNAEnonOxZyVOhwaimWIk1YgQU9ZEYB0g03Ix9JYxcrRHpj0A/yV+l4mqn8RT6H0uvPZ0oPYgvoQhs2bIlUibYoJ1+pD6vOBAM/aNheNgo4tZB38iv6RvpPg9/D/ShWiZs3hLjSP/20lXomvjuWfEbtcMsChJW4oQgSHjsqAoJT3iNFABjyrw3HspOllpMHs3DFGDn5vf5jLh1OqxRWRcSITo85C3sW750MJ0ikOwPkTqPLQXPA5e2FaAYELzMwKlc+1MLXTN6W2P8vphZwBgATAvuOYv0XKefBxuCely8fJb9CB6+ZeAnRDRuYQCACgFMjp4t4XI4RFigB3ilQZcncucNClawHaLXmsy1bWaVB1kRHnSbli2//qgMKQzJcrOtMfoGKQwJLdQy/psr/af07An3ew1Yo1GwRgmAJ8ytMp6/C147elDXkX0k7srFK7hw/dB3wUr+muh1F7lmHl/gmv37UstTT2iq9ZHMEs4E51YqNNfHyrOdM8fctxsAadXMEU+KlR+rQmjROjluSYfLgRAFa/SDYn+e7WYGrdIl8LDJ6pbHgKVSIEUhoet3Of7HzCnXG0asEUCU5C5dOSGkaK1C1EeyNkToPtSKSnl5QYcE+kqFkfzbbxiPOb1PydcoFdyw419d8D/s/JkeevpGUVZ9CQnm/3aAKcitkyMCES6HAOSHlGT6Q7t9YJVCOqwSArQe+lUyJMdDVCqcAgQJ3b71PC9qWSOfQOOE/ackAOUnkCwCEStGp3oFTx08nunYW6mjDWkIkr8VATICVG5G+loVl66S0NIdAJgCBFKTdc+K36hjKcKazru/lM0XKkApQGiBMMJH63D0ATWaSbk/b6BPpQYgbN/PtG0faWj0vdj6oTUKLPXMTRIVLcieI5mudy5tOzPOW9MowaMPKMwvPh0okjnlUpj42JyqQj9p/L6LCtas57ETIQKpDtq8eXNhdHzLli2pEojUgkscznQH+BKEfaLXzzM2i30gwsM4UPMYI9qEoXAOUaE84fl5MJUrf3LtjAn954SaoSUQMaaGVDPd6B4MC1wX3bj14BoGCYn5CWDAwdd+nqd6NQLnRbUQcQ2o1omXeYLZYKdZy4MELREOemKLlxj68Q3PVHAhVJgiTN8SbzwmABDFCAPTYMJyQss+qrMRC5WBaA6mP9z31mc4RFFeBwgkE2CKLeh7eZK5c+uqHFaAaSrv/tsaLeMwAOTnQQqSuTClIKH1GKpxaHDmqDtarV/lYdl166bjk1j2dvjvtgAJ3TnXoskVOg7tTWU7vpHJS/9YoRXsB4DCVOXrDhR6BjiXr1yofAggCukJTizJn1ihunkEkgkQMbGIUO/RbNc9OSbt1LyH7oYMENF+bY2DCS0+RlW1y/THACJZsDwH7ACTy2EQzcH0f5muawGmP+FlACDsD1FYuzmuHgZzCuNOsydd/2uwPC0Pk8vCEGHLNZ+I2jsAppUAUISqdNOBioElCuQz0ofmcZkgwCQTSAK690cr5cG+lxVWDHumDVwCzwnwa5AsoJ7HTsy7PPEar36isGcggaQDIvSrX4PHCICQNJD5KkQUlbMeTIbLE88FiDBIgTAFCKTqEGFro/rCg/A68efZ7pRA5k8QRLaBaUIvRNNH3QgPBopw30GcBha3mmWymkUqXcuCi/OSAJNcE6aca+rMi9e/eWp3gNw5i2tb513Kd9vvfDPLXFM6IMLnCJ9245kCTARSeWuEgYVyEZ3Cmn9cPzSdd6+uAFOauXLvz55c9AjTTCciWU/qtJ83XW97xM1y769YnkWIsE6oe26Uqg+sUphAKgkusNprWTYez3Rsm8i231uS+XN9Ij4KHiWYrA0RK077iVXoM6XzGWn1dHHmQ62907cCTH4C6ZziTN8SiN7JnOfbRzOdT/LMvyCwQDDZA6IKAYh0ZtI1NHPStZvp33vQEv2lpoOE0TkmuLp1Nu/a/OZs14FKgQWCyR4QlcI0O+H6dnZKepSJrSvr4WXduiABRAEmduuTc7EFJo1Ui84RTPaASAtTblraa/BrBnhovPVAKgl1i2rkiQ/tr9kKEUz2gEjVu79zFF38YYNfFwWY5Fa0SGiNjFTuwloWvQcTTPaASCN09ccMfCW6g/6WAwksSpz/cdFMC8K5QhNQCSbbQIRWKcUbSpHZD7hcYxm3aK0D0l/vvTUJKXI4050CKPwC5nwIjk8Y+U6CyfoQaWBKsnMb8dd087FBxnN+vWppCBI++hwPEgCErU0vDzIo+BrgwIG1VTVaoTE4LjKf7yaYrA+RBqYoq37L0cKeG3BccOaIJwjwKKw4hQjrVtjxIJW0NIXtawEmBawTdhTlCpmHmWbKJiUEk/Uh0ijEyq+yLey5AQAxDUDa2Q/hRlulhoLErVG56R6FWyfiTkCQ0M/dVJqhYI0Us34HwWQLiLT9Ja2GAaAwpGgZgLQNdNixIOnwe1WgwseznYO85dnBAxOmimCyNkQamPDauJlKOndWeggAwj61nnv/NtQqNQykKtaoLFAzedcQADVZz5aFYLI2RBqYIrPHPDszE+6Hmf6pQw21So20SEYCBU+JhroJJmdBpCqfY98xcFrDrFJDQBK0RqrG//PWvbFG/D6CydoQoa7Zdxi/b1TwtIZZpUZZpEiDziGYHAjRPOtEQ6xS3UGyujUimGwDkaWtUiMsUsDq1ohgsj5E86wbQduDBJYFLRLOWhjXeUpTrBHBZAuIRK1S4dalcI7f1iC9d/faECQ/gJGAJDN99yKNWKHyEEzWg0igjqgAyZBiv7jmMhlS2JYgAUBYADjyfACeK5Cif55dkKwBVNOtEcFkeYiqWaXCrUsRoJmj7gTCAwknwL4GaSs899sOpBK/FIMNG1WoACg/pHAZoCJWq0ytCpNVIapQVwoAZdKu1QCQD4BRVHjY+dsYhOwOEisD1S6ACa1UYiLbvg1ej1jJGrUyTDaASLVKO/JZ9sTscfdOvFVMbkbaz+tWT6ODDnUBibt1a3QciqHJgclc2/0AlKVvudIqMNkBIlUAT2z2hPvefI79HdM3xNJTL/euXhbJCPmWv3eR02GyE0So6399KMHEN+UPOhmkkZdXf88W9y9yKkx2g2geDbA9QBJw67RK2KnSOQ0mG0NkBKReDIfbwSI50q1zKkw2hwjdu7gV3DsrgDQGbp1ix0pod5jsDtE8GuKQHUASdevsXIC2hclBEFnCvTMVJJwOZMDM2v5O43aDyWEQGXXv/JYFCVy0JCQspH5IO3T8Odu6dXaFyWkQaZSo8Xma10mcTbOYw2dNkN6+69N+TABHHFKIQ7WMFTeAHHeaW2c3mBwMUSXPRoWnH8DxQQpBik0f8fh++jY5YOaXe0z+Mwc4UIyDA9amGwsOJw7GL3JPZzuk7FoekOhxgltXDiaosIzDFIDXKYKoYSBt5/Dg8zgAg94O9oX8AA4GGDAP5jZPgfcW33RESVkKJICntPPWw9PcDz+R7VBbiWSblPuuEnxacWCBWg6mFoAI+0mpn7/znYPZs66bWXEx6YDOflLCjO8307XTGwXB+XV9s3nXXzEHyypuXitApAogcvGGW+/WBqYFHMwESdTnTDKHq9kwtRJEXKIejmxFkHwEknVgakGIjIBkSYsk+qNSLVK4DYepRSFiNx1RRPs7su1BeqP/mwnWQmoUTK0KkUYiA7M9lgLp7bs+7WNid6Ieb8ECrjtMBJF4l8Gs8SSzLJKoW6e0aCHXDSaCyHDfW7YzSIkWLuiaMN1xxx3Xvu997/v+1VdffWjPnj0/fP311x+85ZZbji5fvvynN9xwwwqCyNRG2hSQzBqQFW1ZUy1e2GUHbRGSiYmJHx48eHChelwgEGDPPvssPl2STqeXxOPxF1euXHmmu7t7YO/evc8RRPO2SKZE7syySDglA28GhfOaRuvwZx1vmQCix3/5y1++qIWoVF6vlw0MDLD9+/d333bbbd+Fc0YIIkMWCW9gN8LrbNSML5Xy+Xxd/g0PQPh5kjWPGClZ/Eb/N1NU5kXdfPPNe/ft2/eRcp+hRYLPyp43OjrKHnzwwZdefPHFD1AunhdAUCv1KAdL4Q2OctMRpS79c1NcO+nZe6MXmsjuSq2Fkv/4EwQRF7pzYIk+YuTcvr4+tmHDhhWgoZdeemmQcrOomaPuYU19lHkKFMiS3nVhPub/EKgLSJIkBTU/pEAzWC6lhp/ZR0UorkOHDj0/PT1t+Hx09aDf9E/wlEAyuT4CB+hVBTUBiSRwEK/ZR8ITIWH/JcZPxguFmMmrCUlF3XrrrR87fPhw13yvEw6HXTfddNO/U47WBcjtGqu2C/iI6LFIUQ6Pv4YFIpkggOhhM66DLl53d/dH4elnKFfNF7AQ4oYmwRmJVASJmzFcw7GeIGqMjh079hdmXevqq69eRDlad/n09JG0fSIEy8/OhQbRNzzv/jKbN2/2qxfuul7yTXn0R/9w3ITKxFxdfPHFLsrXoj7S1e5rn5oxVB+3bNmSKNNXSmgYCdcCSSmhDiNrCR7t8FfwHwudsI6MGEjM2O0wSZSvujTb0SYEUkm+Jcp8nlC7PKzC9gjnjSMBeQq3PkHNe+gPBuC9ioUkPXtvQiRKkv/4ExIVN2OXXXbZ7BtvvFF1CKLaOFJJq5qH1tRFuVoIcQvVx778H8rWR6j7WOf3Qd2X+Os47zNdsAlqacaj2VqDJ2AInF+IInZ1Und394RZ1xofH89SjtZdiUpW31USnUDiVvGXMaSRm7Q45aH5Wrp0acKM66TTafbHP/7xZcrRhoDk5fGDin0kFaYEa/HZ2Q1zQUZH13q93vzExPwM07Zt29gll1xyD+WoueIsSJrXSe3raq4dqcF6z3ves2eeLh17/vnnf79nz55fUW42T6bMtct//IlAtc9dO8PaiavU59LoZz/72Z1XXHFF6tVXX/WKnosuXSgUmgbL9m7KyXM6scincK8KLYjSn36l7qsNTJv9DbCo4UGZnZskiI/l1sUvy62L0lIKdm5R3u7du3sApgsG/CpF7RCiYDCYueqqq37X1dX1Qavs6GoF7fIuL1epcemEOqSjcMBM68K4TIIIAxMneXAC5ybhBMpqG/XJVNznr2w9ePDg4uuuu+53HR0dNc8bHh5mt91222EArA0g+lfWIndb1wlRJe+ol9fJQV5H9yFwkBKWAYk1cT8xJ0CkLsobGxu78pZbbrkOgVqyZEkhnJ1KpdjIyAgbGhpi999/f/7GG2987emnn/7AT37yk0vx81a527qARBtpUzwjs5aaJ5jYNH4/QVR+ZSsPGlypOTbwwgsv4FL0SKXrWXXjfpuApJjxpWZZJNGC8xFE5i4PJ8tkuJFOWgYkA4GDPoLI/D0WCCb7WyQ1KiISoJAJIvNFMBWCCrrVn37FciCJ/iCZICKYzNQu73JRt27UrO82EyRR9y5AEBFMJkv0fypOAMlHEBFMJivgBJBEI3d+gohganKgIWk5kHLrookKH6W5L4q7sA6xvHudlO18WMp2Mfe3vuAjiAgms3R8kdc32dW9ZdbjWcf07fxrSYuEwm1gcXO+Tay4rmkxAOYDaMKQUpCCUq59J2PSQ6wYAg8SRASTGXrqHTejh7Nmuq1t80T3gp0AVQhSClK4P/0KLn1YzOvkJl5HR82czFq3LYvB2uAfC3FYKs2525H91CMhgqjqNdHvrzqzQfB6mN9hfs2Ug0DCRmJjhY/xfly4ODV2959+XJfJ0i6T4fFBikJCk3mA/7Fqd0ULEkRkmUxStbrUw+viAQBOQeggyZYFiRUjcbXg0coL0AUJIoLJBLdOb51TofJbFiRw09ASjZnYkhBEBJMeiXYP0uDixS0LElesVUCy+02+HASTaB0yfTOfeoAk+iNt6d455U55doeJ93V6HAdSK7h3TrvdpM1hEq07prt19bJIjIlv5xUkiAimBvWP6rJHY71AEq1gtnDvnH7jY7vBxN26XseCBO4dDnqN6zW1jEk/kHJt1xBEBJOITnd235hn0s5iHWqeW1dPi1SLfPzjO1he+pSU7YxK2Y4VLO9+2LNjSCaICCY9+spVH/VNt7V/7eRC7+0nFvqiOZfrU6w4ty7daGtUb5BiZeFhrB/gkSEpUq7jcVbcNEXdHDFCEBFMOhXm9QbTYGrBoscBKAUSNsb9FaBK2A4k7t6NqfDAax/AE4aEI8pKCUCqBqxklVoVIqvDhNaIXXjDLy+vUwiTH1IY3Dgfh2qYnZtvVxfVbdJqqQCQEC+UWlvz7sgMDIYIornfEWAmTlo1+BtCzEITXQGkCKu9/Vua17fo537zH3X/za5GAAQJLdB2HRBZwiq1uiWysmWqYI3Kac5CcfDsDRIrLv8VHXmOEEQEU42+kV55WQP2B2kESEagaIpVIoisDZOANWp4w1x3kKC/o/CAg6iiBBHBVAYI0dvfjEIfKeEEi2S0RVgDVilAEBFM3Bqhh7LRitaoYSDNwyqFCSKCaR5ANMQaNdIiGcmIUSnXkWr7+leCBFFrw/T5G9f7T3d1vYWJ74waaVReNAwkAas0Wtyyq8vH8q4BeB0DmGSCqDVhAojwmvHptva1JxZ5fTNtbRt0AtUwa9Roi1SrhcDMWQUARaVc+9fYuVm92LmMEUQtCxNeVx0+6cV96wAo/L5VNYCKNDIPGgoSt0pDJW/j1I3+wp532a4QPN/FLozM9IFVihBErQUTWCOsDwMlb2Pd2A4whSEFKwDVUGvUDIuktjBpDtB6gEsGgBReuQeqnDcIMAUIotaACSCSWfUhkDWQkgBTCqAJlAAVavR/bzhIAA7OewogQJCw/4ORuQNM3wItPN5HELUETHFWe8wIXb4DAF0ELRAH6nJ4VBwPEocpiUBAwszaKnBqj5H+EkFkL5gAjCgTW/k6COckMDDRDIiaBhKXn5tnUa3hVowgciBMAANaFSMDr7iXfKBZ/7dpIM3e9Tms3MMGT48ATH6CyFkwqaFug1838qX/3h5vOZA4TGhZxgyc6q3RESWI7AlTjInPpUONNyPAYBmQuDCEmRY8Z4xlO4+1PbktCclHENkCJqzo8UowbfjwptjJhYvOMGP3dQ2BNUq1NEhglbBzKDKnbohlu5KMSWt5hzShhYkgsixMSV7OF8CEEMHDQE5yrTu+yKewC8caq9YHgCjR7P9nBYuEMGFG1po+hFZrFUAks/PHm+ZgIojsB5MKkeawAYAJy3gZq72l2yhAFLHCf3NZKJ/DVTIO7wQos+LMh3KDtr2uPHvhrNv1AkFkH5juuXXTMxXKE2HCY/y87Cs1rCGr/C/LgARWKcXKb128CT4LAkRRVmXmQ05i13zj8rd7h6/oiVN1tT5Mp36bncjn2LoqhyFMUbA4WCfWl+lHY79IIZDKw4St1aa5gAKYd3gvCm5bjFWfPlTQlNv1jtI+E8l6QncuN8tW6zh0AI8FYLD8A+xchHe4maFuy4PEYYryFiiAYOmFqFyfiaqsNSESLE8VpiQkP29oI1b7Xw3b186IDECk1VgBxg332/qGw1bY166JEGm148n/2hqy6n9zWRgimc3vdi+ylOmMtH/1KZnsQHO19mNDvk/0P/TP8yzPIIAoE0iiLt6G+xXuF6cNnJ6Wsh2PgsHFOVtJgClI1blpEGEZJjNuz0OTXd1PGi1PrAtgkRQCyRhMSQMwpVnO8zcs73qAv8YpJ7sAphgk6jc1FiJ0R/cxvsJ1pq1989n2jnuFy7MIUdLK/9Vl9cLQwDShN9OlXNsXWZkN+jEIATD5qYrXHSAZUoKV2Z/7TGfXlzNu92qdME3YASJbgITaeHBc+cTrb77pzuenakKUKQzaVlrLgu8fAJjCVN3rBhG60Vjx+yoc0jOxYOFnanoaEptc8C7X773XuRU7/G/Lg6RO+7lkavqRrCS9v0LmqxDhsXrWsmwFmOLk6pkbUIAUY+X33CjVwIlFPn8VmNIszz7oWSDdzapMdCWQxCQzPu2nQp9JhQhbLpFBOlxUqABMAcJg3hAhFAkmFtqOAkypSuWJ7pxmOpHly8jS40iV1PbkNrXgUDhWhJG5RBV3oprGpWwXtqSx6fs+aTk3wsrjSKvuiqKlCF00kUZXzcg9gMe+99ygf8OHN51XnnboE9myj1QlAKFCFDYIEZNy7d/mneLXOh57OgKJ3D0dAEFCsLHh2TrZ3f0SMxbW7gVrFuXgBOwKkW0tklZ8wPU1g6cP8b30ekpci8Kd3sBCNX1WhJUsErdAYXbhPYrSi09NfBkq0xeNXhosU8LO9dDFbK6Zz96NreKQgVNH+X56pTdBm7vTG1moshao3L1/vScXLupglZc8VBOuQ0vaPY9cTihogAkLeZWAe6GuZanWyhNQRYhCVQDSKjzV0YER03GBMugHSxSClCKQrAMTugayzlYxBNYowPTdklMD1DNf6Bz+nuOB6t0Y8628e9udABECpPfev96pjs71TN9iO5xQ7AeAHLN2zOOkCgAwFRYH8uBDpY0nh+G4OFgYRfDyXinneRc8ngSYcIMOrATxsxvXKk6BhxUnlWJaM93W/nj39JTovX9xP+7oRRPpIVb5ruNDAFDEaY2PhzlQAEqUh8Nj7PxZDtgSopsWYeI3iB5nefcS/ryPp60A1Rj/HttBVQqP9rOz7R0fAJBGmVg0FC1XGEHhk1X7Sly5oN2DCpVk+6hdNfGZC+oS9eLAbTHAoDDx/dPWS9nOaI3zTIfK7KgdwCNzcEKsxrbAC6cm17VlMjsFvwLzWQar5ONBBC93tx3RF2opi1Ti6oVwOhA8+uB1klsjUYjGAaKUjvN6uUtZsFRScZ8JlDL1wO1NaYkve2gXgoiV2nfxRDrMBPbUPtX1ls6LTqXmY5UQVhmeR5nD5WEtIOwTaf14A5eIMGOL0uZcyK5Hf6C21kmeFPU5QJaaJywIip8nfB7ggZdS93WEiW1OH+T/YZ9oX2nVXdHYPgcFE1ratSsnsEh+7u7pbWXHp+/7pAwWRo9F0moTWCSRO23guFaSwzCnztyMryM/60u7F1zgKl40kUpyF03X7/JNTv6DO5f9F8EsWwxWKS6QX2jBIvu+Hk60Ur1qOZA0QAV4a1urgqznbt0uoYzNtd/B8u49giAxETcKQBJyuzzZ7Grv6cndon1DAEnRYZVaEiBVLtaiAiuTgIQwVbsX6SgcEzPg1o0BRO2C5xgJTghV2ozb/ZdMfPZBkMMxWgWgVXBMoFUhammQdAIV0fQVRCu4vwEgiZ6D/SbRfssaHiaPlLq8BBCBpAcotEYJ6BsFmXiUL2YApEQDQPIb/B6tVSrc+xdeywQQgaQHqKBBazR+duNaDAKITiUSjtwderhftCL7x4ZDChO/J5WaByEOUIxqCoGkFyi1YmO4fL1A30J1nYTWR009cLvRGdAi64C8Goupr69X3Nm0MGQAAClUM8rLQ1lQXWBdUrzixfiE1bJTarRuXdejP5CFgxPGlRSBFgdoLy7CXik0P8IbgwS3XiQCqWFQBXhrX3DrAKRAAwINhkDCgAMAkujdGEN4e0vgicNnKSppAqkpUOFrHpRQFTAAg1GJQihrXFaZ4CGQrAaWNqyMcGEgwM8rqzp9x1sni1St/6ROR1L4byp8F1olKjUCydKaeuB2bcU9T9ztk3nC5z4TQBrXfF+Kv5c89HA/WZoGqWWnCNlFTrqti5NF4W8SiUAikci1I5HIIpFIJAKJRCKQSCSricaRrNyBlSTtHgwJ6M8mKFcsWlYUbLA0SAiOzIqDrQhVEsorQDlDrh1JXDEODwLVx60UiUAiGRTCNAZQJSkrCCSSuAbBCqH/jbsYxSk7CCSSMeGG9MtYcaUqQhWiLLGeKGpnA3F3LgkQBdm59UQkskgkUQFE2EcyugsQqd7lQ+FvS8OD0KjLyHGRHkbwwpQzBBKJ5Ej9vwADADHZsbNIjawEAAAAAElFTkSuQmCC") no-repeat;height:210px;width:210px;z-index:9}:host .colorInputWrap{margin:10px auto;text-align:center;width:100%}:host .colorInputWrap .inputContainer{align-content:center;display:flex;justify-content:center;width:100%}:host .colorInputWrap #colorInput{background-color:#fff;border:1px solid #7d7d7d;font-size:12px;height:20px;margin:auto 0;text-align:center;text-transform:uppercase}:host .colorInputWrap #colorInput.error{background-color:#e4b1b1;border:1px solid #811f1f}:host .colorInputWrap #colorInputSubmit{cursor:pointer;display:inline;height:24px;margin:auto 0;width:24px}:host .colorInputWrap #colorInputSubmit:hover{background-color:grey}:host .colorInputWrap #colorInputSubmit img{height:inherit;width:inherit}:host .colorInputWrap .errorMsg{color:#811f1f;font-size:12px;margin:5px}:host .colorInputWrap #colorCurrent{background:#fff;border:1px solid #000;display:block;height:30px;margin:5px;width:30px}:host .colorGrid{margin:0 auto;padding:0 0 5px;width:auto}:host .colorGrid .colorField{background:#fff;border:1px solid #000;float:left;height:30px;margin:5px;width:30px}:host .colorGrid .colorField:hover{box-shadow:0 0 6px 2px #bbb}:host .colorGrid .colorField.active{box-shadow:0 0 6px 2px #ff7676}:host #colorWheelCursor{height:210px;position:absolute;width:210px;z-index:10}`,iK=Object.defineProperty,oK=Object.getOwnPropertyDescriptor,sK=Object.getPrototypeOf,aK=Reflect.get,lK=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?oK(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&iK(t,r,o),o},cK=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});let uK=class extends FT{constructor(){super(),this._preventEvent=!1,this._ncsMap={},this.currentCode="",this._disableFade="",this.manufacturer="",this.onColorFieldClick=e=>{if(e.stopPropagation(),e.preventDefault(),this.shadowRoot&&this._ncsModel){const t=e.currentTarget;this._ncsCode="NCS_"+t.getAttribute("data-ncsvalue"),this.shadowRoot.querySelectorAll(".colorField.active").forEach(e=>{e.classList.remove("active")}),t.classList.add("active"),this.RemoveErrorMessage("all"),this._ncsRGB=this._ncsMap[this._ncsCode.replace("NCS_","")],this.colorInput&&(this.colorInput.value=this._ncsCode.replace("NCS_","")),this.colorCurrent&&(this.colorCurrent.style.background=`rgb(${this._ncsRGB})`),this.dispatchColorChange()}},this.onWheelAreaClick=e=>{if(e.stopPropagation(),e.preventDefault(),!this.colorWheelCursor)return;const t=e.currentTarget.getBoundingClientRect();e.x,t.top,window.scrollX,e.y,t.left,window.scrollY;const r=t.left+t.width/2,n=t.top+t.height/2,i=e.pageX,o=e.pageY;let s=Math.atan2(i-r,o-n)*(180/Math.PI)*-1+180;s=9*Math.round(s/9);let a="N";if(Math.sqrt(Math.pow(i-r,2)+Math.pow(o-n,2))<=10)this.colorWheelCursor.classList.add("hidden"),a="N";else{let e=!1;this.colorWheelCursor.classList.remove("hidden"),s%90==0&&(e=!0);const t=10*Math.ceil(s/10);s<90||360==s?a=e?"Y":"Y"+t+"R":s<180?a=e?"R":"R"+Math.abs(90-t)+"B":s<270?a=e?"B":"B"+Math.abs(180-t)+"G":s<360&&(a=e?"G":"G"+Math.abs(270-t)+"Y"),this.colorWheelCursor.style.transform=`rotate(${s}deg)`}this.GenerateColorGrid(a).then(()=>{this.dispatchEvent(new CustomEvent("onRender",{}))})},this.onColorInputSubmit=e=>{if(e.stopPropagation(),e.preventDefault(),!this.colorInput)return;const t=this.colorInput.value.toUpperCase().replace(/\s|NCS/gi,"");this.CheckNCSCodeIsValid(t)&&(this._ncsCode="NCS_"+t,this.SetColorWheel(),this._ncsRGB=this._ncsMap[t])},this.onFocusColorInput=e=>{e.stopPropagation(),e.preventDefault(),e.currentTarget.select()},this.onColorInput=e=>cK(this,null,function*(){if(!this.colorInput)return;const e=this.colorInput.value.toUpperCase().replace(/\s|NCS/gi,"");this.CheckNCSCodeIsValid(e,!0)&&(this._ncsCode="NCS_"+e,this.SetColorWheel(),this._ncsRGB=this._ncsMap[e])})}getColorByCode(e){return cK(this,null,function*(){const t=e.replace("NCS_","");return yield this.getNcsColors(),this._ncsMap[t]})}dispatchColorChange(){if(this._preventEvent)this._preventEvent=!1;else if(this._ncsCode){const e=this._ncsCode.replace("NCS_",""),t=this._ncsMap[e].split(",");if(t){const e=new CustomEvent("colorChange",{detail:{code:this._ncsCode,rgba:{r:t[0],g:t[1],b:t[2],a:1}},bubbles:!1});this.dispatchEvent(e)}}}GenerateColorGrid(e){return cK(this,null,function*(){var t;if(this.colorGrid&&this._ncsModel){let r;const n=null==(t=this._ncsCode)?void 0:t.substr(4);if(this._disableFade||(yield qX.fadeOut(this.colorGrid,.3)),this.colorGrid.innerHTML="",e)for(const t in this._ncsModel.colors[e]){const i=document.createElement("div");i.classList.add("colorField"),i.style.backgroundColor=`rgb(${this._ncsModel.colors[e][t]})`,i.setAttribute("data-ncsValue",t),i.innerHTML="&nbsp;",i.addEventListener("click",this.onColorFieldClick),n&&t===n&&(r=i),this.colorGrid.appendChild(i)}r&&r.click(),this._disableFade||(yield qX.fadeIn(this.colorGrid,.3))}})}CheckNCSCodeIsValid(e,t=!0){if(!this._ncsModel)return!1;if(e=e.toUpperCase(),/(S[0-9]{4}-[YRBGN])([0-9]{2}[YRBG])?(\[#TZ#\](.*))?$/.test(e)){this.RemoveErrorMessage("ncsWrongFormat");let r=!1;e=e.split("[#TZ#]")[0],console.log("ncs code check: ",e);for(const t in this._ncsModel.colors)for(const n in this._ncsModel.colors[t])e===n&&(r=!0);return r?(this.RemoveErrorMessage("ncsNotFound"),!0):(t&&this.ShowErrorMessage("ncsNotFound"),!1)}return t&&this.ShowErrorMessage("ncsWrongFormat"),!1}SetColorWheel(){var e,t;if(this.colorWheelCursor&&this._ncsCode){const r=this._ncsCode.split("-")[1],n=r.substr(0,1);if("N"!=n){null==(e=this.colorWheelCursor)||e.classList.remove("hidden");let t=parseInt(r.substr(1,2))/10*9;"R"==n?t+=90:"B"==n?t+=180:"G"==n&&(t+=270),this.colorWheelCursor.style.transform=`rotate(${t}deg)`}else null==(t=this.colorWheelCursor)||t.classList.add("hidden");this.GenerateColorGrid(r)}}ShowErrorMessage(e){var t,r,n,i,o;if(this.shadowRoot){let s=this.shadowRoot.querySelector("#ncsWrongFormat"),a=this.shadowRoot.querySelector("#ncsNotFound");switch(e.toUpperCase()){case"NCSWRONGFORMAT":s||(s=document.createElement("p"),s.id="ncsWrongFormat",s.classList.add("errorMsg"),s.textContent="ncs Code hat ein falsches Format.",null==(t=this.errorMsgWrap)||t.appendChild(s),null==(r=this.colorInput)||r.classList.add("error"));break;case"NCSNOTFOUND":a||(a=document.createElement("p"),a.id="ncsNotFound",a.classList.add("errorMsg"),a.textContent="ncs Code wurde nicht gefunden.",null==(n=this.errorMsgWrap)||n.appendChild(a),null==(i=this.colorInput)||i.classList.add("error"))}s&&a&&(null==(o=this.colorInput)||o.classList.remove("error"))}}RemoveErrorMessage(e){var t;if(this.shadowRoot){let r=this.shadowRoot.querySelector("#ncsWrongFormat"),n=this.shadowRoot.querySelector("#ncsNotFound");switch(e.toUpperCase()){case"NCSWRONGFORMAT":null==r||r.remove();break;case"NCSNOTFOUND":null==n||n.remove();break;default:r=null,n=null,this.errorMsgWrap&&(this.errorMsgWrap.innerHTML="")}r||n||null==(t=this.colorInput)||t.classList.remove("error")}}getNcsColors(){return cK(this,null,function*(){if(this._ncsModel=yield WX.getNCS({manufacturer:this.manufacturer}),this._ncsModel){Object.keys(this._ncsModel.colors).forEach(e=>{this._ncsModel&&Object.keys(this._ncsModel.colors[e]).forEach(t=>{this._ncsModel&&(this._ncsMap[t]=this._ncsModel.colors[e][t])})})}})}render(){return Zk`
+            <!-- NCS Eingabe -->
+            <div class="colorInputWrap">
+                <div class="inputContainer">
+                    <div id="colorCurrent"></div>
+                    <input type="text" id="colorInput" @input=${this.onColorInput} @focus=${this.onFocusColorInput} @change=${this.onColorInput} value="" i18n-placeholder="enter_NCS_code" placeholder="NCS-Code eingeben"/>
+                    <button id="colorInputSubmit" @click=${this.onColorInputSubmit}><span>&sc;</span></button>
+                </div>
+                <div id="errorMsgWrap"><!-- Hier werden Fehlermeldungen reingeschrieben --></div>
+            </div>
+            <!-- Farbton-Kreis -->
+            <div class="colorWheelWrap">
+                <div class="colorWheelclickArea" @click=${this.onWheelAreaClick}></div>
+                <div class="colorWheelCursorContainer">
+                    <div id="colorWheelCursor"></div>
+                </div>
+                <div class="colorWheel"></div>
+            </div>
+             
+            <!-- Farb-Nuancen -->   
+            <div class="colorGrid"><!-- Hier werden Farb-Nuancen reingeschrieben --></div>
+        `}updated(e){var t=e=>super[e];return cK(this,null,function*(){t("updated").call(this,e),this._preventEvent=!0,e.has("manufacturer")&&(yield this.getNcsColors(),this._ncsCode="",this._ncsRGB=void 0,this.currentCode="",yield this.GenerateColorGrid()),this._ncsCode=this.currentCode,yield this.SetColorWheel(),this._preventEvent=!1})}firstUpdated(){return cK(this,null,function*(){yield this.getNcsColors(),this.SetColorWheel()})}};uK.styles=[((e,t)=>aK(sK(e),t,e))(uK,"styles")||[],$k`${yk(nK)}`],lK([lk({type:String,reflect:!0})],uK.prototype,"currentCode",2),lK([lk({type:Boolean,reflect:!0,attribute:"disable-fade"})],uK.prototype,"_disableFade",2),lK([lk({type:String,reflect:!0})],uK.prototype,"manufacturer",2),lK([dk("#colorWheelCursor")],uK.prototype,"colorWheelCursor",2),lK([dk(".colorGrid")],uK.prototype,"colorGrid",2),lK([dk("#colorInput")],uK.prototype,"colorInput",2),lK([dk("#errorMsgWrap")],uK.prototype,"errorMsgWrap",2),lK([dk("#colorCurrent")],uK.prototype,"colorCurrent",2),uK=lK([sk("fv-ncs-picker")],uK);var dK=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{font-family:Calibri,Roboto,sans-serif;margin:0;width:100%}:host .colorWheelWrap{margin:10px auto;position:relative;width:210px}:host .colorWheelWrap .colorWheelclickArea{height:210px;position:absolute;width:210px;z-index:15}:host .colorWheelWrap .colorWheelCursorContainer{height:210px;position:absolute;width:210px}:host .colorWheelWrap .colorWheelCursorContainer #colorWheelCursor{background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANIAAADSCAYAAAA/mZ5CAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyRpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuMy1jMDExIDY2LjE0NTY2MSwgMjAxMi8wMi8wNi0xNDo1NjoyNyAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvIiB4bWxuczp4bXBNTT0iaHR0cDovL25zLmFkb2JlLmNvbS94YXAvMS4wL21tLyIgeG1sbnM6c3RSZWY9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9zVHlwZS9SZXNvdXJjZVJlZiMiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENTNiAoTWFjaW50b3NoKSIgeG1wTU06SW5zdGFuY2VJRD0ieG1wLmlpZDpDNUU5RUYyMTUzM0QxMUUyQjA0QTkwQTYxQUZDNEQ4OCIgeG1wTU06RG9jdW1lbnRJRD0ieG1wLmRpZDpDNUU5RUYyMjUzM0QxMUUyQjA0QTkwQTYxQUZDNEQ4OCI+IDx4bXBNTTpEZXJpdmVkRnJvbSBzdFJlZjppbnN0YW5jZUlEPSJ4bXAuaWlkOkM1RTlFRjFGNTMzRDExRTJCMDRBOTBBNjFBRkM0RDg4IiBzdFJlZjpkb2N1bWVudElEPSJ4bXAuZGlkOkM1RTlFRjIwNTMzRDExRTJCMDRBOTBBNjFBRkM0RDg4Ii8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+2P30OQAAAhxJREFUeNrs08ENACAQAkHpv2g0tuDnTGZKgGzaLuBNhARCAiGBkAAhgZBASCAkQEggJBASCAkQEggJhARCAoQEQgIhgZCYdVByDzo/xRpCQkhCQkgISUgISUhCEhJCEhJCQkhCQkgISUgISUgICSEJCSEhJCEhJCEhJIQkJISEkISEkBCSkBCSkBASQhISQkJIQkJIQkJICElICAkhCQkhCUlIQkJIQkJICElICAkhCQkhCQkhISQhISSEJCSEJCSEhJCEhJAQkpAQkpCsICSEJCSEhJCEhJAQkpAQkpAQEkISEkJCSEJCSEJCSAhJSAgJIQkJIQlJSEJCSEJCSAhJSAgJIQkJIQkJISEkISEkhCQkhCQkhISQhISQEJKQEJKfhCQkhCQkhISQhISQEJKQEJKQEBJCEhIgJBASCAmEBAgJhARCAiEBQgIhgZBASICQQEggJBASICQQEggJEBIICYQEQgKEBEICIYGQACGBkEBIICRASCAkEBIICRASCAmEBEIChARCAiGBkAAhgZBASICQQEggJBASICQQEggJhAQICYQEQgIhAUICIYGQQEiAkEBIICQQEiAkEBIICYQkJBASCAmEBAgJhARCAiEBQgIhgZBASICQQEggJBASICQQEggJhAQICYQEQgIhAUICIYGQACGBkEBIICRASCAkEBIICRASCAmEBEIChARCAiGBkAAhgZDgM1uAAQCUoKCKoC5l9gAAAABJRU5ErkJggg==") no-repeat}:host .colorWheelWrap .colorWheel{background:url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAANIAAADSCAYAAAA/mZ5CAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAAAsTAAALEwEAmpwYAAAAB3RJTUUH4QkMDDA531P40QAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAgAElEQVR42uxdd5wV1dl+3nNmbt3GUleaNAXEgiIqogJqjL13TezGFpOosURj72Jv2Egsn7GLNaYQC4K9oNJEQEBYFth695aZOef9/jhzYYFd2DIXluU+v9+yt7Bz75x5n/OWeQuQRx555JFHHnnkkUceeeSRRxYyvwTtDsUAogDS/vMYgO4AQgAyADi/RHnksX70APACgIf85zaA2wB8AuBTAL/JL1H7hJVfgg3CbkRzZzVDyH/uBPRZYwAMAFAOYDCAIb52Oswn0VBfY9XkL0ueSJsTBIDTAOwJwAUQ8Ul1HoAwgD8BqAZwbwNTrLWIA9gJwAcA5gEYBUAB0AASAKoAFPnECoJIEX+TAICk/1lZU1ICqPc/O49mCkoeTUMDeB3AdQDu9MkU9wXvSQBLAdQC+FsAn7UdgN0BnATgFl/7aF/zdQfQGQAFQNgs7vTNxam+xpP+uf0dwIcARvqfl0cegWI/ADN9Ld7b10QAMAjAygCOfy6Ae/zHIwA8AOAsAFcBmATgPwB+G+D5vA3gfAB7+RowBuAOAJcDOBDAz77WyiNv2gWGwQAmAhgOwPNf4wZava2RtIgfUPjQf/6Frw1cALMBjPMF+/sAzykDYBcA2wJ4CUAKwKE+sVb4P/mobp5IgaErgOd8fwgwkTUHwCxfc0QBfNfGz0gD+Hat1z5fS3sEjZD/mR8DmACgp0/csP9+nkR5HynQ9TkHQJlver0J4BX/9T8DuBLAMAAnb6bnVulrupTvo70P4ABfU1kNAhB55JFHE7jBNyFnAHje16xxAP/1fcFj8sGGPPJYP/IEySOPPPI7Uy4wCCYToM53kAcAWOCbKb0BVABYhnacozab2S6rWClmXfygnbE41KVTKZyFy4UGh6SGYCk0MVzS0E5EeFKzZ3cpUdtN+FN6M7g+2agmryV3nCdS+8LLMNkAD8Kk2FwF4CIAJwA4EcBnfmBg6ab4chVvfmnNu//dQmgdAxCzybVsSlkMkp4lbPTtXBrp071HpCYTqZvxcw/Xop7xaNTzquujTOgjmMMsRIqYl5NGUllURZqrRMiu0UrNFa6qJg2lQa6QVa6QniYpHBGTdYVjRtSUnXOGs4muSxTAjj6RNMyN69kwaU+lMNkZ0zsKoToCkcK+s/x3mNSdiwH0A3AhTH7aMwBeBPAPmHsnOcOKD2aJnx94O+7VpmIyFi60CiOdWfO2mWU1w8E8FMAgm9yiEKULGRRiQSAhIFwFMANC+GLFAG340vCqC0hgIghaWUPCTRNRJSz6XMRiH+pkehZYV5O06mSnaJUsLnSW3fsfZw9My6UA2zDZEjcAeBcm1K5hbjJP9C2Gnv6GNyNPpPaDcTAZ0w/6v6/zSXOnT6wuMGk3dUF/8HfnTIi5lYl+TlWyVMbDW7HrDdaeGiTDoV0gaLBKZQDNvuATbPIQpyRULu48qApAZwD2L6skkCVBUlSDxJcQNAVal5Mtl5BNCwp33WF2z8svzMXm0gPAYwB+B2BJg9cPgYkGngbgDN/0vr4jCKDVQTaDyQDmwNwHAcxd+W38xz19HymwBMyvTn2wv1NR3QUapeml1dsT4WIw91T1q10Wlcw0qlkYgA58/yKAPfObaPVnMsCuAjuqBIR9wdgXzJBFEbCD8rpPf7j5h1+dNgsCNXZpwaJt/u/B8gDlqnQtEpH/etJ/vsw385AnUvtA1kTRWJ3N/DaAgwHsD2BnAH+BuenYug9gpq+OHt9dpZ2tIGhrVZf6PTTvAUZIJTPGLFvbFKPGFT6DoCFAgbsGuml3gxr8JoKqSxutITIPAASSlFa1yRdm/Pr0f4CoQsSsJYNfeawtpErBZHscBeBL/7qEYfITu8OkXI0A8GM+2ND+cD5M5sEi//nBfsDhA99/clt6wK+Pv7fAS2YGsubtofU41nwAtC5jTwOidUsnoBEmB5JUsJeR04CuBtht3WVlBgkCLLmMBL0Ny3oXAgusmPx+m39MSLdCrobDFCV+DRNNrfbNvZv8AIQEcCmCSfjNEynA8wgsvDrp+AcGllTWDI1K2glEp2rHGxjcF2WEyYFNLjiw5SeAk4CuATgAgvpRDArbS6D0PXaxOz3UPTJ764ee+rkVFs9BMPVUU2ByFIsB7AFTvlGb10gdDOXfzrM+vvyl7VirQZDynKJ0Zv9ikZvYbIhchCkTIJEEoGsBXYdAa/F8QslwDUSMXtFp9zFZEl+wzf+9PCcvMXkirYNXD71jF1a8l8q4v9GOGs5aQwpC35DICZFs8hChdIBEkoBaAXB98JeUMoBbDhBBRCMgS/xbFhc9ISL25wOfem5+XnryRMKrh985yktkhpOg81XaHcprbcZllkAsB1opeCJZgFoGcCrgS0oArzRmo+9HAQBFLIhwZBKUfi3av9eXWz/4+Pd5Im2BeP2I8cOdRHp7IrrOSzv9GtzZXFPgQegdos2ASMLcQ+IUgq2MYUCXY51qCv+mMUkBq1PxR6o+eVeoS+Hcgc+9MiNPpC0A75352FaJJZUHaE+fpzLurqx5vStAAHqFROD3CCxSiFIqQCJpQK0EOBPwJa0zkcD1HVNrUDgEYcvJJOgeu1ts8oCJrybzROqAmP2PT6PfPf3+UdD6QC/tnsyebvaZFwtCV4sCrXCTpBCldHCXkFN+6NsL9pLyEoCbEbxgY/aJqO2B+Q67S9G7VRU9po787yN6zglH0Db/eJ3zRNrM8cZR94zyMs4hbtq9Ujtea4wbbB0SgRpMEhphkYEIJMJGDSJ2HKBYZABd0fLFEoCMhmZoTz8T6dvlzQFP/OOHvEbKDUIA9oa5p/CV/3gOzA27/WB6JEwG0KYL8L9Ln+tUNXvx4SqjLlNpd+iGzLj1oZMU6CSDFFNGmFzY5ARg3gmjjXQiQCIJEC8HcyuTQRggiyCi4ckAbhny9j//29GJtCl6NngwPQHOhOmDcAzMXe5fwyQ17uW/1rW1H/DOqQ/tteK7hbe4SWeim8wMZeY2bRl1OljLxKQJBbmHaQQbW3TBnGzLTgFWDFWXGqcd7+mZBx1w8S/XnFYIADMP2o9aKadxmPy9aBPvbVJsik4x7GubnWDSeO6Cycc6CqYd1YMwjRKTMOn2LcJrh95xlFufudutzxzIngZR2wVWAbAJCFNwwk/EsCkgn4ZTfmpQUD5XDVqRUdXYSQJKF0LpA5xl9SUXDR1QPeSt/yxqxZEGAjgSpr5pNExC8i++LB3jy04fmALPxKYg0qZKWk35Jp6AybXKTl9Q/vNamIaFzcIJQ662juwVHSht61g35fxJZbySVRcyIPu3WjEKRYApPYGmB2ULUCmAoxEYwQbdWDOplHu+8MSomQcecPWQd997uxVEGgZgGkwr5SN81yABYDffNTjUl503txTTDjAFd11hmiIe2YBYvWG6fPbEmin46+DGUdevkpohJfafFqfVI5m61A0q7ZMoaHuUzU9QSpl9Ey8YBa8DJHht8yJ1rTFAXb0TODNx7jlj/8xcFQaA8iuOpWae5E8wHWcn+oTqB5Pd/yOAh2G6xRZuKtNuU2ik/gC2hunu+SNMT7jtAfwPwL4+kbJtohrFDaOuo2umXss3jrp+e1+1/6lecUGNECghnbMISq0GOsuAxJYBJmpjOQX5Jp0OjEes63KzeAyQBCiS6arqcMPcs47rs+CPRz3X47aXprVg0xcN/Gzbl1/OkaPY4i1oY6MMpiH8TP/Eh/hq+kffbyqAieYlN6CR9ofpzzAmu2UJImxFjBhxTlZUEKG3RQjCwpPQCFMGgnQbJT/ArG+4fsibcyJpssCFiLtgTYAQkNHIpxSJXj7w0Xc+2MBfHwjgcJiusMr3id7w3YFRMLVPBwF42tdaWwSR2owbR11/KIC7fdt5jdhVGEBPCVg52py6WQIFAeTfBVOXlM36rg1A+CXA2TSjHGxCUQVR5KwTjJCRyCy7tNPVW9/z2ivr+fMdABzv+83ZTXeS7y+d7PtJXwJ4FabyNk+k9flEvjn3a98m7teoLwOgiICtBOek51NUEMqstuffZeuSLPLWe3F4g0Sq8u8htdmD8TMZckAiW0OUOIDktY5vGr7IcHgZRaLXDXj03QlE1Ng3iPiWTAHM/caGkb9CmKrbRchxc5v2GLVrGYn2vIGu+fivWRLd3xSJsieUYKCKCZ0EVmUsB4W0ZiQ1BZAVTmASDUZZkB/U0GAwBAiKNQStrhOXRCAQBFGDYIXyQxfUpu8CJHNj0QmGKHQbIZH/uZqhUunuwlO3z7voMBum09A6yw6gqZKNOuSgqU1H1kjHwdxz6t1sZ8wixHMQgYoKYCur+Qk+BAIRQbOGYg02N2lqbXLTEaRTClRJQKWj1YKkcn6OSrvSFpIdrcgnj04rr5AIEUEUd7TaSkKURaRVanFVV8GZUoCKCVhFNkZL/EQB6CVYPbEmQL+oyAFFvdWdjdb3322rSkSid/U4+tDxhQddnMFmBKudk4eumXot3zz6xlFa65tbQiIGsEIxbLF60GtQcNiXi/X2GjHCTCA42l1R5SY/jsrQ1xaJBZJEjQYy0J4jhOc6GvUA18+qKV9+5tcvrq+HAe3RpXdoXJchnQYVdCnuFSksKJReoQ2OAyjQzGGP9TDFelxEWjuFhZS01po0/m3rc0OimAuKqGaRCADY9TopVX/1slfetJn5ZiLyNhcitVuNdOPo6+maKdfyjaOu3wvAeAC7tsLqR5yArSRAAZp4BKCTJdBJrA48k695mBhpz6vPaHdygRWZ5mivgqEXTF0xd8GXVT8tfvWXL3K6044fNrqwf7TTNj2i0Z4hklsRsH1aq0FhIfcPC7nqgvMa2qgcwc2T9o8a0hAlmVZJGElZJ2Ox8UWjfzW+2+l/TuSJ1ErcOu5munLyX/jGUdfv65tzO7X2WAygWADdKFgHQBLQyxawQHDYAwMrXO19Uuem/lVoxWYuSq2cH4K98MTP7nc35Vr+a48ju6SU26VHJDZQMXYOkTxAEu1mCyEFCBoa0EsRZK8HkgzZKQNY3Gq/i6RIiXBofNGwwTd1v3RCJk+kFuKuX99Bl/7zz3zbuFt6exlvAjMf2NZjMoAeFlDAweQSGJ8H6CoBx0t+KoUYbwm5rDKT+OXoqffOQzvtZ33JgBGRw3v0Gxi3rB5VTnqXAitycVzWlglOIsg7b7JTBhTWbV4FkiIlItEbBk2cfFueSK3A/Ufeu3WiMnGjctXxWN30sU1EsgjoI7hNWboEAghIuim47N3RMxSdVpep/PHETx/a7GpudizoFLlnh/13KrGW9096zklFlnWw9COEbZF/WeSa4EJQAmrJahGy/zzobx88nidSCzD7/ZnRSTdPusVJOhczc2DfjwFECOgpuFUJhpIEkipTo7R6wtXe2z/ULPj6gVkvV6MD4I0Ru/YrtKwdCyzrFEF0dEyIllcEMyAivl8UtJBacokIhX4/6G/vv5InUjNwz2HjZaomdZVW+irWHPhoeg2gRBC6tTAtx9OqfnGq4q/dI6VTfkks//Ga6U9UoQPiv7vv0afIsnonPO8PncPhY2QLtJOwNERpJmcSJUL2dBGPXTBwwr+mzD1jHA18ajLnidQEbt77xgu10neCEcnlCRcT0EXwBv+fZkZaZV60yLrjN9Nu+QGs09gC8H87De81sLBgu5Sn/lQaCv1KbIhQTLA7p8Gh5oe6W37hCMK2XrEK4n/s/+h7i9rbmokW/t8hWD3B+ygAT/mPBwG4xn/8a5iakAuac9CLj3qQAOC20TcczZpvyCWJsiZeNQMZovXsIoR6LzM14aVOTXnOH38z9aYvtxQSAcBJ33y9eORHH71X6TjnpJS6sF6pivUJiix2wLbOHYkAgBnsqaNURp1f/+H3ofa2ZrKFMlgK4AoAr8Dku3WFmcImAYyFqXy9DMCzMOXk3QF8u76DfjrzHVx46hPDKe3cZDveoI2lIusYKKE1VTKBwMyozNRcrZmvf27+mx8/8uObtdhC8cLSJTX7d+4yPWZZb6W1LrSF2NGiNfMMRURBFGykCL9iIumOSC94p+q+Txd+trlqJMDcAo8C2A7AVjCT8o6EKcSbBpON3QsmC/c7mKrFDWw0LLzlNcdUKN6j3LKRIdoo1YaKgUWaVqV2EAh1bvJLxWrUgrol953/2V3zP6qYpbCF47ivv8qMnvrx99Wue1lCqWMTSq3SO8L28+g2AtgFRIwR7uNFwn3FjcseP+TEZv5pCKYXyLkwQ+f28F8fCOBUBNTvoaUym00ePB0m2/YtmGK80TCdf4oa+F21/vP14sJD7jlXeeoyj4GkEFhu2UiSyDmZBIAMA0tZwNMKdV7y1rRyjj3145um3TXrhQTyWAMHf/7ZsleXLHk1odTIpFL/lhIQxRlA5NjnZ9Ouz+7CiA7SsIoBVslinao7v2Likds34wiFvpsxAKaWyfUVwdUAtoWZQdx3YxMpO57jRN98S8KUAO0KYCFMiruCyYnb0ddKTeLc/e/cLZNyz1OetrPsc4iwzLZRLWTOoyEEoNJzF7nMO9a69bdd9Pk9+abw68H4+fP0uGlTv0izOqNc1t3CknMbrdJGQiN9NaIDNUTWe9YMzqRG61T92TXv31nSDBkv8OXza5iS9Mv8x3f5FtZgtLERUEuJlAHwqa8OX/NJ8zVWd275HKZycRpMFex1TR3ojDG3beW66jyteZ1dRQFYaVlYYVlQlJPGEgwAaS/9jKvVuDOm3jT9ki8erM1TpXnY6+Opi8tl4o7KtHtBRuemtJ8VIKJAdKBGqIyBhqFDIjBr6HTd2alvJx3YDDpaMMOhL4KZ4LgdTE+Qaphp91G0Ucxa88cz/ejdSgBVAP4A4OwG5tyjMMORr8H660TGwEzUa1RTAECdkFgqbaQD9psIRCkvdamjnD/d/Nktc/PUaDlO/OfsmiX1macSrjo44QU7WpoVYJUwotsoWMXcZIUje04EMnzlimdP2n0DAbUETEX1GQD+47snxf77Zb65p9smU5sAZ4y57SQAjzTHh8quRKnnoVCr1eqktReJGbVu7T1plbnuwa8fymuhNuL6nbcW+/cuHRaV8o2YLfq2Kcne7ypmd2dE+jZfrkUkdkfhLofeULDnZfWNvN0VprHOMgAVvk/0E8xYTuVbTiei6cLB9kmkM8bcthOACQBGtvRvS5VCsfLaVEJema48vtat++eT3z2VJ1GA+OTwXQYR8FJJxNqxVWTSAIWBcB8NuxM3f3gpMygUcUjap5b9/v0Xm9iHBzbwgSoAVMJEnQsA1CCAqfe0kUnUBcC1AC5s7THCWqO7cmEzt6ztLxOSXvKSZclljzz1w8RUXvSDxweHDO8ftsTE0rC1d0u6PLMCrEIgMkBDhLnlE4CZIaIF78ui0ou6nfbaJhl6trEbRI4AcEpbDpAWAr/YYdQ3KFLb8GanUZ2p+m1VuurRPIlyh33e+nqeo/i3NRnvc9ncto8AQt0Z0W2VIVFrbHcisJMao2qrd9lU577RiPSHwx62iGhnAG3qhEq+YbvECqFaNi9imXASDyS95OuPfjchmRf33GLvN79akPT0icvT3qz19v/zG0ZGemtE+mlQG7vQs1IA1OUVjx+4e4cmUm1t7a+Z+brgvjijUlpYatlQTeTNCQikvNTNjnKufWT6hLxPtPE0009pTx1V46hljZGJFUA2EBuqYXfnYMogiaDTySEqWTeiwxLp7j89H7ZsuRMCKNJbGykhsMSykW7kitU4NRPrnfp77/v6gaq8eG9clLvuLAafmPJ0RqxlytldGLHtFEQ04KwIZpAdOXf5M8eN6JBE+uHrhXsoT/8+F8cmAB4RfrFCqBcC5GuitJf+Vkp5w33fPLAiL9YbHyf96wdeUJOZUu+p0x3mVcMyQt0ZsW01hI3gC/KJoOoqh+lkYhwzhzoUkW485+mSUNg+WGvumsvPIQAVlo0Vlo0aN/G956WPvvXT2xfkRXrT4bjJ37u1nnojlVFXyBAjvr1GuLc2o25zKAk6VX1uxcNjhncoIi1bsnKI1vrYjRVnrxWEJeHw+bd/dc9PeVHe9Pj129/Wr+gderJma5qwKiqXUx4R2HX7Q8Z27DBEevHe/1hgjNRK9904d6wISSdx1sKVcz7Ni3D7wYEPTVsRjzj3pD29cGP4Eqw1dKbm5mUP7zO6QxDp/X9NH+k63hVK6ZySx/wrkHbqXnbc5NsfzvyHkxff9oUh13w9e2m1c1JGbRytpDNOF+Xw4CAb6GwyImVS7rauq3rkWgsBBKWdFZYVuu7Vz+8pz4tt+0Qio36oS3t3iY0h2swQtn3KimeO2WazJtJNZz61dVFR5DDoXO9A/iwHIS9Uun5mXlzbsb9038zqpMtPrUx6syjXZCKCqq/ax6tZOXSzJtJHsaLtZnXtdkRtcTE4p6vG0Np7wvOcyc9NuV3nxbV9Y7dbps+0iM7TOvcmngwB0a3EcanPj++1WRLpzGvfKQsBx9RrjRXdSvBzv15Y0a0ztJQQwS+gC6Knnply7fK8mG4eWLgyPWtlvfd0TvZXBqwioGgoUDKCEOmZPoHUkoGbgki0nufNmmu/rDLZ2/HUIeSvlCZCTVEB5vXvhV9690A6HgELAeKGhyP/67RkdQlpN/lObWrl4rx4bj741X0zy6Nh+WDK1ZlA5rprgCwg3I1RMgIoGQ7Ypca8I+2BhL2H+8PZsY1JJIKZ15mtjpcwZblFMK24RsBMJV8vbEt0V4q7rMFAZgjNSEXCWFzWHfP79cLybiXwbAtM2TrilgymJmjtqrAduvXVz8Yvyovn5oWfKlI/pR39UBvdIFhRoGgI0HkUUDiYICOmWUpWjNg8uVSnFw/dAA+iMDNq4/5z6T+3W0MkCeAIrG6j1QPAB/4BXwXwO5ieduOaOuBZN7zbF8DZjtt0JyvhV37VFBfh575lKC/rAiccAnFzegzSqn8164n1mcSCvFhufjjwvpmVKUc/X53yVlLLjBCAgVApULwjULwLEOpqEmEbH+wuwF6ilL1kt/UcdQSA6TCNUapgejIe7b92q0+yFhHJgxmxfpX/fFufOCUwJbtnwrQxuqypAy4pT/SoSzh7imbEOIkZxEAyFsXi3mVY3KcM9YVxcKN/S2t8XVc70KwmvjjttmV5sdw88fUviemWpOubU1HLChBhIN4P6LwnULQDIAuwqjx9Q7Yf2V36cXpuU/l3BQC+8RXIdjC9R+7yybQjgAM2FE9o7M1lPqF2g2mqd7dv1qUbvF+yniP28phLW6SimQFmZEI2lvboivn9eqOySyc4Ids3+2j1VuSvmqcyf/rulw+/zIvj5ouz/z7PqU15X9VnVNU6e6dPDrIMYQqHAp13B6I9jSiwi5YlvbrlFzjfn9tU0EEB6APTMHJfmMF2L8J0Dn7ct9KslhIpAzNq8i7fH5oF07/O8lXcNgB+buxg9//fl9FY2N6a2xCZk34WRFVJERZu3ROL+pYhURCFFqvNPmadtGX4q2/n/y+TF8fNG8dMmPPl8oR72xrkkUYy7U5AyU5Ap12AcFdAeyaw0ApvClDeEEKkqRnEEqbh6csA/gkzBzTk795hNGPArmiCna/5hPl71jcEMMNn6UW+3bgO/j1twYhE0rkriAUmZgil4VoS5WXdsLDvVqjuVARlSShWV8wpn/5xXgw3fyxYkUl3LQp9lHT1ciLAKgAKtjHap2RHQKwVPGh1ZI89aK92uPPNMfEm/IZamIamC3zfaCxMK+6DAbzn86JFRMr6SgcBeNB/XgfTsmgCgGPRRGP8cEh0czyFIO8PEANCa2ghsLJLJyzo0yP5c/8+306b85KXF8OOgamz6uanI+qNoiFAyc4meAABaBeB1iyRsPdhlencyFt1AH5p8Gk/AXgOwLs+yV5tLZEUgMb8j7d8FbgOTrnqjc6pjDfWy2FSolAaIPEiC/oxL34dB6c982M5+qr3UMJG8nIyuoDAXmIku1WN+fefwTQ0bTiB8TaYRqjHN+cbBZbZUFvvlijNu+Q6h4q1+veHT/1maV78OhaUwzNq6tTHOS63KSW7oE9ONvnA+E4oJGB4Lud5M/PnROK7vNh1PFQk9I9Fcfkm5zIFjzU4s3L/9Ce7l7ZfIgE9HVeFc6yRXnKc9Ky82HU87Hf2TMdxebancjnhgkEisieJeEm7JNJvr36rB0CneirnydcV0549y82LXcfED/OSP66s8T6knNUkEFiltmOvprhdEimVUYVK8/a5LEbUWmnlZSrz4tZxsfc5s34oKbRecr3c2XcERGj1pKX2RiQ35nqqX+7MOoJWzmQ3XZOP1nV8lDPnrik9A4Bd0jXoEvRAiJTOqELHVdHcEYkhSD796Yt/zPtHHRz1aVXjebwil7IEuKO8748qaldEOv7yNywibM25LXhcKK1wvlRiC8BPCzM/Zhz9PnJo3bCbOEgnFpe2KyJlMl6hELQrchu3XKxZ59sObwHY65yZCwrj8pNc+klg3p41ty+NZIFDEijjHBKJtf7USdYsyIvZloFlVd7S+rRGjm+ldGpfGikeYzcccpSQYCEast6vNzI/bdPGNG/aP86v2RKF6pJLLqFLLrmEtqRz9hTXMCOY6SG81o+x7kAC3bzPR8igvrPV1gMsjhYUw47uDSsFqTWEUiDNIDBIa5BmSKUglILQTd9nWk+nIQUzrnCLxIABAwpGjBiRGj9+/BaTpBuPiPKITbPB2HWDJGnqdbG6HGPV72xpm3ncXVgcApBqF0RiKYtdiN5ekWX6LmN16JJhMrdD6QxCmQyk60Gw9heggcbSGkIzhNaGfL4GY3O8coBWbknkOemkk7r89NNPA5RSfSZNmtTrxRdfXNmzZ88VqVTql8rKyu/QxnmnmwGRKm2LFjF8IvFa2kX4ZLD83w2Lp/0aUJKmohYhgEL+/12DfFwGZrvdEEkQipT2p7kyr9NyCAAy0QjS8SgAWlUNK1YRSEN4CtLzID0Fy3ON5vLLJ/obZAkAACAASURBVFi5FfDcui2BQGPHju02Z86c4ZMnTz7AsqzDpJS9dthhh/DQoUOxYsUKJJPJz2bPnv38/Pnzv+nVq9dnkydPTl5wwQUyEonw+PHjOwy5wraohcAy0GqSrKFNpJFcsg1BSAKQDQglGjHr1s7fJrE1iMLtwrS74tUfxbuzKgobaqFGXRxm0FrlFQyAhYCWEmzbRvsQgcCrSCSVB5FOVcn6RH1HJc+ECROE4zihu+++u8+MGTPOqa+vPz2RSJQCQOfOnfUhhxyijjzySADAokWLRr7zzjsjv/vuu6oZM2Y8PHLkyL/16NFDV1ZWroSZzt0hoCpQE94Gy5AliPQ1im3IYzrfrOX3NPzdnDIMCvUDWYFlOLQp2PDBTyul0lzUJk/YN+8McRSE0qt8KWXZcAoK59Z3695hfSTP8yLPPvvsyGXLlv2loqLi3EQi0ckXBU1EyGQy2T1W9O7dW5977rnq8ssv7zRmzJi/lJWVTZwxY0b/Qw89tEMNmI4f9YUnu6NclgKyGBBxgMK+xvEAuNkVQvOanzTmRFGsCKJYtgsigWAJQZ1ztqLMgFIVXvm8Djv/9YEHHugyY8aM3ySTySOYOe6LB61lHTdQ7ix69+6tr7zySrXHHnuMLi8vP/K0004r7GjrojKsodtClg0KVxSsRbsgkuNpyYziXC4okXCkHemQEas999wzvGjRogMTicTBMC2h9Gp3uXFr2e9eS7Zt01lnnaUGDx58fjwe37WjrU19SnuOm6t7kwToRByqsn0QSTEEM0dzSCOwVu7c+05UHZFIc+fO3d513WOYufOaMac14jXUBLmoc+fOtO+++2LIkCHH9ezZs6wjrc2y5W6iLqG8nI15YK8E7FhBEqkIpqFJ9vneMJ1VAWAPmO6qOzcaXbEEpCCVQx4BOZ44uqlw7rnnxjzPG+Y4Tl+sbovbWNCz0VXJPj7ssMNUWVnZ6bFYbLeOtD6Oo2uZOXe+MVkhkE1BEqkHgDv95xLAOTANIfsBuN5//89orCkkQwCUO43EDBJWuiMS6dNPPy1WSg0GUNyIB0DN2WIAwLZt6tu3L8rKyjrUlMKSEqsqGpVLc9a6gE3cuIl3DwdwOYArAezj8yQG04ruj74Zvg6RCGv2Ng77O+ReMI0hr/PjJEeu810IBEI4d8tJyIWb2R5QWVlpe57X1b9AjNaX4FCPHj0wbNiwrhdeeGGko6QTzf85Q3UJRbnLAtcAVGNEOh/Afg3IUuJfn8tgBkwMBnDp2m5R9olqcHTPf70ngI/817+AaeO6JgsJJAK4qbuebSP7nTocunfvXuRvWG0NwXI4HEYkEuljWdZAAF0vueQSubmvT3GhFCGbcihbBEA0tkmfC9P//gmYhvpZ3/QiANf6hPoTVk9sWUWklM+6mK+ZtoXp813u+0gSppH49+tcQc2uZs71zNYOZ9r51ZkapjVuW31MchwHrusuZealvvWw2SMcEkII5HBDYAC6MX2XgGmAGvI5car/OAyT81kLoBBrjXux/Defgumiyr72qYAZ53KM/1622+QacBVsZuR22LIQHc60IyLedtttVwohlvsbWbwN5h1XV1fTwoULl0yaNKnD5CQWxEWRJalrzgx7Ipg+vuvAggm+PQfgbzATKRSASgDDfaItxlo5epa/4/8VwGn+ay/6u9o8ADfA9EB+D8A6Fylskw2PumdUrmrsCey58Y5o2g0ePDi5fPny7Dyermv5ghsi1Rr/d/HixZg1a5bdkdYnEhGQ1iZx924HMBpAX58fz/ruzl8BnOJbEtf41sQaRILPtrsbCy75P43CUTrlKv7ej3LkyCfUxVg906XDYNKkSXWdO3eeLqVcoJTq55vQayfP04ZINGPGDFlZWflNOp3+uSOtj5TEgiiH/nGTPtKrAObCDJGoA/C+v+Z/990dC8A76xhObfkqnoKrGZW5bOgHKeMDLnomgg6IsrKyOZFI5H9YXW/FjWimxkrTVhn5kyZNwvz58yeOHDny2460NvGYKLAtdM7d9ik8kGjKP50OM+LlPZgxR1m8B+Dtxjb1NkVFenaKoKI2o+oyOmdRSiIqkCXdwgiobqQ94fvvv6/q3bv3267rbus4zhEw95T0WttmU6Ydv/zyy9YXX3zx5Oeff/58TU1Nh9LYGZcLQxbZImfNIlWitdOWGqVlW/54p15xL2xTZU7bnjC6ga0Ol5SZxW9/+9u5gwYNejkcDk+GKYUQWLc4wF8Lzmol/dprr8nXX38dmUzmHzU1Ncv333//DlWObktEZU6D+NYKwAoswtkmjbRDz2L175mVtW1iIwPcQF5oVUTFJGgK2+pHYbsrmhgns7njL3/5S7qqqur9RCJRt3LlykR9ff0BzNzFXwotpeQG2hnz5s2Tr732mpg6deoj4XD4+2HDhtUOGzZM3H777R3qfptl2yFBGrnpTsUAiWUgu30Q6YSde+gdbvm4imgD58vZrZVXEYdAEFJAWP5vIUxm86oCguxNbd0H4FJ0UESjUQZQf8MNN0ydMGHCgkgk8gmAUyorK7fxPK/T/Pnz5ZQpUzB//nyUl5dj8eLFk7/66qtXpkyZ8gIzV1122WVxrXWH0kbzvxoRSru6kyDT+wOULY41GQAEQFBbQlAEsFqOAO+5tfnOsSVELQFIu2oN7UJCQBCBhAAJQAgCEYGyv8nUEZtf5vV1gioggHWZdlJ90MHx17/+1QOw8OSTT/77V199NbW6urq4oKCgW0VFxc5TpkxZMXfu3FnffvutmDNnzk+1tbUzsxrKjyx1KIQtL+55olRKWkskGNk4XnbPzYpJ9rnIbsC0oVsytBiwnHZDJKU5yaByK2T1kFJASGHIQ6s1D2jVRV+ldbL6hlerq3XdaaOCwVp3hwkPq45OqOeeey4Jf7To4sWLobX+9Icffqh/9tlnt5gBAnaYOsPcx1k3wtKo97jKGzBka7AZS59VJPwy42z6JoWWQpYGRqQ2x0QoYidk1P4yHAvDjtiwQhYsW0Ja5qeh2ZYlExhgZjBzM1QzAYxw8cDdLWyBEEL80r179+ot6Zxti4qIqFsLg1JgBjQDKvujAVcBrmI4HiPjMdKu+XFUdLmWw7x2QyQ7bNdL25qeNd386FIzSdJs9O5x0FmdtkQijR8/XnekDkHNsnIUemnNOwQUVlilyVaTTENR8TJRcn370UggOwHGNzlbVdYQkVifeL9hWySRtkSEw1QoZe7q3EwXLrWSiLjdEOnz87dTkrA0h4UjIBLDhBUqy4tYx8eUdwdHPY+H5O5GLAMiBuhkoA11Avm6tkUpIXKYC8fcg5Wb10hbAAb0ifZnxh65kyYNoqJPSHataXdE0hppALlziE3K+6DBv3/Szotax0Y0Qt2lxNBcZsuQ1eddu+jsynZHJEfpGqX5q5yusBB7x/ptv3Ve1Do2mLmUKIc1bmSDdeVXVmzPRLsjUnHUrglJ8UkuF5hIjBNSDsmLWsfFT1/t0BWEfYXIZaIGQXuLAm/vHAiR/nPmsLrCiPxG5HQyFIVZqd4AKC9yHRNdSqztpaCTcjezjkGwEwJWbbskEhFxbcqby8w5HE/JAGHoTrd90Dkvch0PP3+7vU2EnYWgotx9igZkpwWwt6pvl0QCgEhI1oRt8UNOzTvLHici4X55set4kEKWKo1tcvspAqDQyyI0dFm7JZItUM2Mz3LsiQ4GY0SPfU6QedHrWCiMiyFS4MRcWjREUUDXvh8pvWrtRN9+AA7B6v6OJzd4vDdMG66ylhIp1MhP1i9pMt/tX2fuUBWS9GmuHRhp2Sf0OfrSQXnR6zi46fI+lvJ4R0tSQU4/iMKLgNDyRt7ZFsBhvqwDwG/9x0NguhDXAfgYpg1Xs4gUBrAEwBwAP/o/XwPYH8BVAJbCNINotLNPxuOZRDQ/F5EWQR4sSkBS7d5ENTvkxa/j4LDjy7ZfkQmdXZuRYKYcTTNnAPgUItzU/c6eAPaFaYRaBtM56CoATwJ4CMDPMKM4qTlEcnwW7gXgO5i2RHvDVKceD2AYgP8CuLGxg3WKWkvClnibAyIPESAoA0m1EKj3z40Brc/b9Z5381qpgyBkUWfNtF1NWmBZQqIqJeEqgiQESyqKfGjFD1vZeBQC3WBazx0MoLPPvL6+7GcALGuJRmIAy/0fBdMMb6V/YO0f7D8AGp18MGrAoErH01Pa7nhpSEpCogYCKRAUGqaSk5RjhLTyWqkD4MtpIwa7rr4xSxjFhKQjUFFvYUmdjaQj16wxaq1/JEoA8Lfh4tMzjfwHC8BsAHcAuBmmpyMAzPTNPgAYCNO2rkXBhmzxYbbJPmN1j+psu9118Je9w6yYl3KrCvAIAi4k1cGiOhAyWF8dBmt98Ig7JvXIi+Lmi5nf7hGJx60DQyGx+zpGGABPA1UpgV/qQqhOS1MmSq0jEkT8FbJ7zWviP9i+T5Rtjx2D6e19BUwv8DkwAyU+b0oorQ0EIrIkmuf7T0cDOB2mG2uj6FMSWVid8v5ZnfYO3vANagJBgSgNggdqQb98YYVOEFZoAkzTvjw2Q6QdNdCWdKa9njFF2ULphCNQ7wrYglEQYsRCZiZm827eSkAnXoh1f3xxE//hfZje9tn7oCfB9Pj2fL+pux8vSLdUI2kA32B1c4gKAGcAOBumJ/gDTR3w1VOHLnCUeiAk1z8ni+BBmuABBJwWkchf4igr77e7jn+7a14kNz98MnWXkACPJsJ2zb7iDDiKsCIpUF4nkXCECU5swE0AhcFkr+/eUY2vLLIVs7MbPF7ic2G9uXlNaaQMzFyk7MEUgKkADkUzxqx4mpdoxvd+cGIt5mYgKIUgymdJyuOkjD7m+3R5bEaIh61+QuBMqxX9vQUBniZUpySqAURtRlFYwxa6UakiWfARydIlG7b/Gn2M5gjr+uICXiMHyw5m30AUxlpERO+sNt80JCVgUQ0EJRFgDXpnMN+6+wP/7ZsXzc0IAsJx1a6WRSOCOFzKJVQkJMoTFhKOBFb5UmwGSrL7eKzH83Nze0o5wIfn7lBdFBGTQ5aGoDpIqgFlQ9eBg37tpeqH5qVz88Hsb3ffKx6zng7ymIyslhJYUmehNi2gNUCgRWDMyP3ekCOEqHaq4LqbBDzkNGGbABmNj9/tgf9umxfR9o8vp43oncnoP1OOehNkm5XWZiSW1glU6d0fivX67+ZLpLfP2KtOb4SdwCyeGOIlqsb2O/nScF5U2y+mfzHSjset/cJhcVCuP4tZIRwdnCDQx0SU2myJBAARW/5kSzE/95eIYRV0Oqd44I47IF+v1G4hJbb3FN+ykTZXMKfvKi494JuN8Xk5JdLgbvFZYUu8wBtl4Wh4pMtW40fe/W6fvMi2P3wxddd+nocHQzZthJvoJtObtfqmoGj/xGZPpIeP2KXW8fS/LUH1G+VqEe2llXvwjlc/FsuLbvvB5P/sHLFDdHAkIvbgjTLFSSEc7T+ha9nvp22scxS5/oCSmD3XluLtjXVC4bh4KN614ILdbnu0IC/C7QNLU9Eda1XoAblRjG6GlCWecpa9Ulg8tqLDEOmN3+65UGt+XVLuV1GIBAgpCMu6g6zIgYPP+XO+AHAT4/HX9h6Qhv3IkmQYS+pDOR8EzKwhZNEr8eLdZ2/M8xQb40M80DQNvJJTR1bUQWTHfRLBisZfLBk0eKe8KG86/P2dMf3CEflCPC6Haw0srrPxY3Ukh0KnYdldQCSe6b7VNQs7HJGmnrfPAlviTRl4myW/4E9U+dnia7wFGYv/a9R9z+XvL20CPPuvsb3tkHjSDoldsn4REVCXkZi+IoZ6TyD4rlsCBHFnvGifjzb2+YqN9UFRaf9bED0TXHCaISgJQTUwWUvUSOxBlJKUD4y6///yKUQbEU+/O6Yba9xBRGPXvSZAWhHmVEVRkQyyca6GlAVpIcPvd+txUW2HJdJ7Z49eojS/GswNbYYUtVgdDGz6mCTk/gR6YdR9z+W7D20Mc+7dsUXSEpdJS5zQpND52QcLakOYWxMJYEwsg8iGEPG/bj3olX9uivMWG/nDPiHwxLbEHYwpl83da96ByLJ2IxLPj7r/ua3yop7DwMLre8cIOJGILm3ONRYE1KQlZldFkfLE6lGWrdFGVul0K9TrfSLSHZ5IUy4YWw7QywDVtmbXMaZcNdZNTG8mmYR11Z4P/qNnXuSDx/iJu8ciEXmyHRKPtmSjJALqXIE51RFUZixwi8nEIIpAUOjePv0f+rxJZ9pUvWajuEX+D22WRAIAIcS/wXx3S87AlGHU+SUYrd+3SMgLQOKZPR98IR+ACBAPvTC6uKDIPt0OicfQihR/6dcXzasJY1EiDMUtucICJMJvMeT6AgwxAKcA6AHT5ORCAFfC9GGgTU0kCdO2qB+AbJWqDaA3gF5Y3SNsTa103j4uQO8A9GXzdiwHUtSCyAngnBlENBZEn4289bHddrj0unxeXhsx4ZW9uhYU2pcXdwo9yNwKhdJAZRCA8nobc6sjyCjagPdrTDohY3VCFDzdf9sX11dvZAHYwZfZOwAshumYdblPrE1KpG0APArT8+t8/7XdAPwdwD0wvfAaxbQLx35uW+JWKahq/TZ0GpISvikXnMwTUZEVL/iksN+QA3a/82/5dKJWBxbGbB0Ki9vDEXFlW0i0pnZi1DgW5lRFUOPI9RyUQRSGELELBwx+/aUN7qCGOBKmxda3MN1TtwVQvCmJFAYwHKYk/QQAzwHoA+AYAP8H4CaY7itN4pOK8GsA7mtqgoWkBAQl/DUIXnEIywaReFeG7PNH33t//zwtWoZH39h/V0uKF6Jx63Q/6hbYRZLESCuBBTVhLEvaxtSjdXWYZXd7pqTr8f9toeLTvtzbwFp93jYBkTIAZvhm3YMAtvaZbQP4m8/8JTD98BqF89fdNQNvAPiQ1tAWyjfl0tgYFRHC5jtJ0Lt73XvvsDw9Nozf/O1XZac/9asDK5WYJiSN5BzFyAQBHhMW1oWxsC4Mdy1TT8rir6UouL9z51N+aZZNb/7UgemY2g/AcTANTwJJqG6LpFowrYvHwXRhfRvAjj6xOvsO3e9h+iY3iTGPfnCgp/W9nuZtiBxISgZuyjV96hlIrgQgwMwr2PNO1JnMlx9ffnlVnjJr4qg795HFPaLbMeN6IegID8DOnRS2iiqoHCfQKU2IhxT6FGRQEFIQFK4XVsl5Awa/8UwzD9EFwF8APOwrjysA9AfwZ5hedW3eDmQb/m4ggFENni/wVeVRfqAhBqNx1osFb/1tbt9DTqsXlN6bqD5KTWQpBE8jBcE1qz6JiGIkxG8gRKjvAQdU182fX5FeuVLnKQSc8th+W0dLwgcQYZKQtAPIaIyVGYGuYY1QjmO/goCMEqh1JGwpEY8U/XXgkDcfbuaflwI41pfRT305neRbTr8EZdpRG/5uRwB3+VrpJQB3+9G6O/0vfSmAZicO7vXIC39kFndho4TkGZKr0NT9KNZaOzU155BlfTztiitmbakEOnnCfluF49YQ5eqrZEiOa8xesgVjr64uQgLQnNtrxiDYVueXCopGXn7g8EubW3m9J4BzANwLMxAiZ/ZNu8C4x17p4im+nZnPyK2lQBCoA3Fyg//TS6dnePX117FSn3x2/fWLthQCdetaQAeN33Nn1nypkOIEWk92KQHoHdcYXOjlvEQiZBdNKyroe/7+O9/7zb++uIh+NeIBboZ8b5RSwnZ1H2X/J17fOeN6j2rmXXN1uoQ0BFc379SJwEpBpVKvC8t6JlVb+80X1103r6MS6MSH95VWWOwoJG0vpLiPJBU3RwwVA0OLNfrHPXg5EFsGw7biC+PRst8dNPKxdx97eyidc/AMbk9r1+5uSI5++KVTANzn27YBn6rnBxdaeA2IQMxwksn3pG3f56bTiz654orvOwqBTnhk32goIoZKS47Qiq+RIdGzpUtkETCys4tCmwM38YjkSktE/3DMmEnPttc1bJd39kc//NJlAG7B+pv8t/A0NQRX+cmurb6iYKWgXfcrlUk/QEh+6dZW/PL5rY9Vbo4EGnPN3rE+/SPDhBTjAD5PSNHqxjEMICKBUZ0d4y8FFmiQTtguueqIvV4c357X0mqn3+tJmPSj82DGawRApUTbSAQAzCAhICORnYVlTWQn+Y0sLfnfqJv/+IWXynxX2LPbnP+ed12mvRNo7N2HDiUSQ6DUMJLe2UJSz7buqQQgo4Af6ywMKfYCck7IESL0eCTU+dn2vqbtNtds9MMvlcBEAk9vu1+UhOC6gBfOBdQK4yM4LrTnfWbFIq+xp773Ms7i5LIVc7659+lke1nPceMP2x0C3djTZWSJkwHsBRDKOnkI28FG+QcVKvQrUG2oM2IQWSnbik8IhYpuPnT3v6+YNOVEOnz085wnUuvINJSAq9mkHtmtI5HjBxeCvAYM0lUA+9kXfv4Kaw0we1rpb8D8DhF9yqwXK9erdxP1FZ/fPKFuY6zbntf/qjhcEi1xqtKlocJwPy/t9rZi9nkgbNuwsJIZiIQY3YrdwMq+sykEwzsp9IioVgYfyImESh45aPenrw7bscSrHx1NR+31CrdnWW3PGommnH8s7/vYaz0cpf7CzGfD5Pi14NSUf79IBfztNEgt27BQKaVA9AlrXgHwj6x5ARg/O3WJRU5tcvHX905cCQD73HlayKmr19NueKnFtue4ew7vCnAf1txNO7ozwKUyJPuSFL1VxusrbDmSJDW5j2gm9OrswJbBymlUMnbq5KGoFcEHKSMTe5XucfmoHa7ebMb1tGuNtM+jr9AHvzuaxz76Somn+WIG/xEtyNYVqAFxDlwWThmN1NISNGaw0kn21NeAmi5k/QKSjgZEHMwZ7enFIBBALpgdZq1NXTbC7Gkpw5ZNQsBoZ4oAniVQM4Tg7cQag8DoRA2bxzXDUWEGOhUoFMeC3WwYQKcQY2Spu+r5hoVRJKQMTZQydP9Re7029+1pp9PBe0zkPJGC11LXwhRkhTd4SVAP4nrk4n4c6WVAW7I1iQB2AV0Dk0eZNQ1XfVcFZgeA8slgMzMLKSIN06AJCoQ6ENpWq0XE6NXZgyAOlEiCgH5xhUEFaoNRPIJI2zJ211H7vH49EXkvf3AoHbPPm7y5yKa1ORFJM+6VhAgDF8GkJjXhF6VzRiJwBmAPbcpkyg5GJV7jKzbIIJBmQtb6dzyGQBDNZDxFSDkCsbAKbGclAEoDP9VJxCSjT1zB1dQEkSkpKXzvwF6H3EpEHgBsTiQCNkGpeQs04zqvTb3g2BorLG8i4BoA1U0HFxLIVWaIIWgQy8a+VqOAl63lkAKoS4nAzRPhl73OrrNQkZawGl02Sglh3VNQ2PvmHQee3VSUswhmIHJ2898aQCGAKICdYLK7tzjTblsAY33zbCWA92BmwI4EMBqmPuR/MCPZ12fmnUrARQzsuvpUNCRXY/UM6aBJpAC9PACSkq/Zqtp4LDJ+INpeu8UM9OrswpLBb0AMoNACRpS6iEj2yy4IROIngO6LRwr/fuiol9fXEGc3AD1h5hjv68vOhzAlPNvB1BhNAvDTpiLSpuiNvS+AA2HGsY+DuQm+CCZDt7O/wxT5i9YkFr790vT+h57wuWYuhKnHh0Bi3Y6rgRIpAVPTSAHsX56/Z7RNIxHctt9o9oVda0IsrBF0m3YC4GrA0YSuYVMmI4Q9zZLhPxw39p0Xnn9yxoYu2jCYiuyBAAbA1L4N9TfedwDs43/MN5uKSJvCtMvAFPvVA6iEGc2+h6+mbwXwlq+qNzhH5/3fHf0NBP6sIS63RaaKOI3cJftqgJMBKvEgqpwJDBnIdxIE1GdyJw6KgfIUYWEq7BaGok8Jsi8+Zp83/tfMP08BGOFvwq8DmOlroh98Ii2BiebKLYlIGkABzE3WvgC+8J+zv007/u8NLsroR16iKb87dsnU84++IyTTl9pSfJkra5XYQ3AZZNr/aXtXJOMyBHcZkzkgE4MhBCFsF6hlTvH9B2+326XHjnnz85feP7i5CyB9q2Wub7GE/M04tpaLojYVkTYFg4f7Nu6dvr8UBfCJr6a7+fZwylffagPm3arHP735xtfbHXHElwx0ZWAIB06kVmSNr5dIaQRTUm8CLEFUFhMBaU+gKBZc9I7BECQQt+M/xyNFV5cUDnh47+2urQKAl/72Y3MPM8w/uTdgCvV2hika3QXAXjA9GKYCmLUlEam7T5D/+ZI5AMA0AEmYwEGN7zi2uJBuzhtvLB1+9NFfOcw/EfMoblEmxPqkwQVxTUA7f9Y/SgMBldUHRSQA8DQQtTmQTAdmRsgKoyRa+l5Ihi+//fCJL05++v10K+3gKpj+Cgt9jfQVgHI/ejcFwEe+DG0xUbsSmIzucl81d4UJZdf6GqoGwNLWHPiQJ56gt846iwFgv4cfPgZEl2jm3T3mtrn0usb3j4JacgfQVQGZisFF7rKI2IyyTm6r64qYGUIIlERLV2rNd27bfdik342+skOX7NMm/uyc3nQ76LHHdgYw1tH6TE/rIdyKdGQCALU02NPmNMCVAS2/aECkgMwxBnp3cSFFy9aLwWBmxEMFsK3Qu51inR+59tcPvoktAFtEy96Dn3hid0/r01zPO0MxtyiLnDjhp/IE6IRzyr+HFIypKFAHQipQIhVGNToXNj+srlkjJEMoCBf9zMD93eJlb155wF0/YgvBFtP7+sRnn+22sr5+D6X16cx8uGqmdjJZ3gF35QqYSIQEBFKBKngC0Lers8EjMjOICMWx0irXzdxQVtR7+pNznnx/3u9rt6hWZltcE/kDH3+8v9Z6rKf1KQDGuEqBmrgD2bB4L1giJQGuDpBIKQjUB0p4BtC1UKEguv4CvagdW2FJ+6XSWNc3rj3wgX9iC8UWO43h1489NkQzH0pEZzueN1CvIy0E4uWADjrdiH0i1Qa0/CZ4Ycy7YDvUWhLoWeqs4wcRBCwh3eJo6QSPvZf7duo/4w9jblyOLRhb9FiTWHxxBgAABt1JREFUgydODNnAzrWpVE8hxH2e1j2ZjcNM0KZcItAl8kPfXLu6ujaQozII1UaDBvh9GcBWnVyELLPJaGjErJgXtuPXpd3kF6P6jf3y1JEXrUAeyM8HymqoCRP2yCg12pJyF1vIIxx3ZdjzanNAJNf4RxzkTXgBgco21yU1FnSIhT30KGEIsuYQ4bmIFZ1y6HYnT9tvyGGpvNTkidQofvXoo+FoKNRNkOjvueX7pd30qUqrvkob34MogGRVdv3Qd5C+uIRAVWD3kjRrCAiE7VB1YST+QVF86dOWiC3oFu8++/pDHq1vgWxFgHXCiQLZPgAbsRNqnkjNw8kAToNJgv0DVt/QvQ8mS/gCbKAsY2385uk7iirqMwM97ZXGQ5GjXOWdXO9kirJbdetIlb2HtBLBpjkKCNS2OgSejbwxGLYMIR6KTrWl/ULaTX3Ws6Tv0odPvO3nVhy2F4BHYHIqMzDNaw4EcDNM5v91AGbnNVL7wWkABsNkBJfApNSfA+AkmG6t9TCJjhf5RGsxfvfio13La6v6ZVx3oBRiJwAnJZxMT6U1soPSqNnLnQLplX7WdnCXUSAJQsuqgrM3UGPhGFjzW2Er9E8hxILCcOGPp+x+/IL9tt3bacOXGgTgY5jE5JT//E4Ar8GUyQwHcEaeSO0Hk2FmMr3qP5/mk+YemBlN3wL4DMDhaGXqUYOdm05/7oHiejfTB0A/pfW4pJMZw1pv42gV0Vr7vQqoafedEwDXBayR/J7mqMf68nw1axAIISsEZp5rSTnTlvY7RDSDgQVjB41edvG43wVV0DUAwPs+gdIweZQTYBJO94GZZLJrRyGS1QHOoRSmwjaLOt+MKIBJdAQCSq8nIobJC6wGMP33rzz+0YKVFQ9qEiWxcHgEQIe7ytsz7boFnlardv1VSoIYlKNRnk0Rk2BMNilkZfd4t3/WO/XPe9or18yJsBVK7DVwVMUf9z3fAYDXEXhDU8bqcuWGsXlG+2lzkCeSj2yl7UcAtoJpdbwcpnZlsL8bRnLxwfcffXZl1ly87t3np89bUfFm0smUEqiLYl0kiIotIYeFLGtcxvN2TjlJpF3PD1dTm6TT5A2a4xgFKBoe9Rdb2h8VRgo/cT1nXiJTX0VE1d0Kuy6/97jH12jI9ypy1g2YYIrt9oTJyu4KM038epias+87EpE6gmnXA8Blvh+0NYBLYKoohwH4K0yt/7MAJvqk2ij4YvGP9MKXU6yViURcEBWvTCa6eMopLY64qE5VD/CU6qe1LvS06mkJK6bBIYCjAhTx8wElEQkwa83s2VJmPK1crXV9LBRJRuxw2tXKyXjuck95P2vtLiL8f3tnD9pUFMXx33tJE2vrZ6UVgigdRNTNWcVBEAfRwY/FUfwAcVFELBSXgqsVRCkOgqh0ciooBd0U6VDspkIpgh8opdbaJnnvXodzYkIQDeZS03J+S/II5HHvfefdc885939npyKK8x7mO3IdMzsL278NHOpb0Jl0sekBhpDdqw54DTwHLiBbZO4iJ+aZIbUQ3cjeo9vIqerDGinagmwcnCLQobshOPtoIP9h5vOKcpJkFpJSLpdpi533Efg4iqI4dS6CSAKDHlKf+nw258pJ2ScudevaV7s1KztdMU3cXGk+KZZLxbJzxdHzt9IWGpOMjkvF6/mBiN1sVHfvK0bL0qORu9i6wjAMY4mRsS5oiBjRB9is15XaoQIiEfVxCbYpXxO7QAMyru46saE3QtIOfAIuIyIb+3T9NYHkq0aWYJtGgIeI9PNWDQAc1N9uApPAGJJGMBp40xp/J0L0Ja5rIOMUcAZJKg4iAhybAt1nsejWF4QH+pHQdAz0IknU3Ugi+6gNvxlSSDqBJ8Bp5GjOikDhNFIxsTbAPTxwEQnfdyEVANf0wd6FyDu/QWrWmiWr/3dSZ6VxJL+zDQlVv0dSBjuw4uaGOtNojO/ACX3YPZKIXY+EcrsIJwWVqgHtUQPN6Wx4DNF1e4toAE6pITezRnqMlFT1IdrrFa2wmGr1gbehtxkppGtXKTmaRiTDBvWNPaz9+C7gmLxSV/EIUvK0Su87iRSCblAXrNmXaAocBx5oG9v0/w8D+4H7VPUHDTOkpikiVea1Lti4PnBDwIGA98oDL9Vw9lKNpukhKb/0jpvlmc6mL/RzAimtmlP39RxwA3hqw99ai9vl4AYnv+m/mLCa01d1vXVJZ4oeZLvBFaSk5gtST3iHf1CjrTPYUs1s06btcNqmvBqYhcAbwPJIjeP+ECAISUFnhTF9sGf1+yiy7aAXuKdBh2bXYvXt8zVtCnlqgGH8F3c7U/c9qpkVs+ZJGIZhGIZhGIZhGIZhLHN+AiB0HO1e0b7KAAAAAElFTkSuQmCC") no-repeat;height:210px;width:210px;z-index:9}:host .colorInputWrap{margin:10px auto;text-align:center;width:100%}:host .colorInputWrap .inputContainer{align-content:center;display:flex;justify-content:center;width:100%}:host .colorInputWrap #colorInput{background-color:#fff;border:1px solid #7d7d7d;font-size:12px;height:20px;margin:auto 0;text-align:center;text-transform:uppercase}:host .colorInputWrap #colorInput.error{background-color:#e4b1b1;border:1px solid #811f1f}:host .colorInputWrap #colorInputSubmit{cursor:pointer;display:inline;height:24px;margin:auto 0;width:24px}:host .colorInputWrap #colorInputSubmit:hover{background-color:grey}:host .colorInputWrap #colorInputSubmit img{height:inherit;width:inherit}:host .colorInputWrap .errorMsg{color:#811f1f;font-size:12px;margin:5px}:host .colorInputWrap #colorCurrent{background:#fff;border:1px solid #000;display:block;height:30px;margin:5px;width:30px}:host .colorGrid{margin:0 auto;padding:0 0 5px;width:auto}:host .colorGrid .colorField{background:#fff;border:1px solid #000;float:left;height:30px;margin:5px;width:30px}:host .colorGrid .colorField:hover{box-shadow:0 0 6px 2px #bbb}:host .colorGrid .colorField.active{box-shadow:0 0 6px 2px #ff7676}:host #colorWheelCursor{height:210px;position:absolute;width:210px;z-index:10}`,hK=Object.defineProperty,pK=Object.getOwnPropertyDescriptor,mK=Object.getPrototypeOf,_K=Reflect.get,gK=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?pK(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&hK(t,r,o),o},fK=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});let vK=class extends FT{constructor(){super(),this._preventEvent=!1,this._sikkensMap={},this.currentCode="",this.manufacturer="",this._disableFade="",this.onColorFieldClick=e=>{if(e.stopPropagation(),e.preventDefault(),this.shadowRoot&&this._sikkensModel){const t=e.currentTarget,r=t.getAttribute("data-SikkensValue")+"";this._sikkensCode="SIKKENS_"+r,this.shadowRoot.querySelectorAll(".colorField.active").forEach(e=>{e.classList.remove("active")}),t.classList.add("active"),this.RemoveErrorMessage("all");const n=r.split(".")[0].substr(0,1),i=this._sikkensModel.colors[n][this._sikkensCode.replace("SIKKENS_","")];this._sikkensRGB=""+(i.R+","+i.G+","+i.B),this.colorCurrent&&(this.colorCurrent.style.background=`rgb(${this._sikkensRGB})`),this.dispatchColorChange()}},this.onWheelAreaClick=e=>{if(e.stopPropagation(),e.preventDefault(),!this.colorWheelCursor)return;const t=e.currentTarget.getBoundingClientRect();e.x,t.top,window.scrollX,e.y,t.left,window.scrollY;const r=t.left+t.width/2,n=t.top+t.height/2,i=e.pageX-r,o=e.pageY-n;let s=Math.atan2(i,o)*(180/Math.PI)*-1+180;s=15*Math.round(s/15);let a="";if(Math.sqrt(Math.pow(i,2)+Math.pow(o,2))<=10)this.colorWheelCursor.classList.add("hidden"),a="O";else{this.colorWheelCursor.classList.remove("hidden");switch(Math.floor(s/360*24)){case 0:case 24:a="A";break;case 1:a="B";break;case 2:a="C";break;case 3:a="D";break;case 4:a="E";break;case 5:a="F";break;case 6:a="G";break;case 7:a="H";break;case 8:a="J";break;case 9:a="K";break;case 10:a="L";break;case 11:a="M";break;case 12:a="N";break;case 13:a="P";break;case 14:a="Q";break;case 15:a="R";break;case 16:a="S";break;case 17:a="T";break;case 18:a="U";break;case 19:a="V";break;case 20:a="W";break;case 21:a="X";break;case 22:a="Y";break;case 23:a="Z"}this.colorWheelCursor.style.transform=`rotate(${s}deg)`}this.GenerateColorGrid(a).then(()=>{this.dispatchEvent(new CustomEvent("onRender",{}))})},this.onColorInputSubmit=e=>{if(e.stopPropagation(),e.preventDefault(),!this.colorInput)return;const t=this.colorInput.value.toUpperCase().replace(/\s|SIKKENS/gi,"");this.CheckSikkensCodeIsValid(t)&&(this._sikkensCode="SIKKENS_"+t,this.SetColorWheel(),this._sikkensRGB=this._sikkensMap[t])},this.onFocusColorInput=e=>{e.currentTarget.select()},this.onColorInput=e=>fK(this,null,function*(){if(!this.colorInput)return;const e=this.colorInput.value.toUpperCase().replace(/\s|SIKKENS/gi,"");this.CheckSikkensCodeIsValid(e,!0)&&(this._sikkensCode="SIKKENS_"+e,this.SetColorWheel(),this._sikkensRGB=this._sikkensMap[e])})}getColorByCode(e){return fK(this,null,function*(){const t=e.replace("SIKKENS_","");return yield this.getSikkensColors(),this._sikkensMap[t]})}dispatchColorChange(){if(this._preventEvent)this._preventEvent=!1;else if(this._sikkensCode){const e=this._sikkensCode.replace("SIKKENS_",""),t=this._sikkensMap[e].split(",");if(t){const e=new CustomEvent("colorChange",{detail:{code:this._sikkensCode,rgba:{r:t[0],g:t[1],b:t[2],a:1}},bubbles:!1});this.dispatchEvent(e)}}}GenerateColorGrid(e){return fK(this,null,function*(){var t;if(this.colorGrid&&this._sikkensModel){let r;const n=null==(t=this._sikkensCode)?void 0:t.replace("SIKKENS_","");if(this._disableFade||(yield qX.fadeOut(this.colorGrid,.3)),this.colorGrid.innerHTML="",e)for(const t in this._sikkensModel.colors[e]){const i=this._sikkensModel.colors[e][t].HEX,o=document.createElement("div");o.classList.add("colorField"),o.style.backgroundColor=i,o.setAttribute("data-SikkensValue",t),o.innerHTML="&nbsp;",o.addEventListener("click",this.onColorFieldClick),n&&t===n&&(r=o),this.colorGrid.appendChild(o)}r&&r.click(),this._disableFade||(yield qX.fadeIn(this.colorGrid,.3))}})}CheckSikkensCodeIsValid(e,t=!0){if(!this._sikkensModel)return!1;if(/^[a-hj-zA-HJ-Z][nN0-9].[0-9]{2}.[0-9]{2}$/.test(e)){this.RemoveErrorMessage("SikkensWRONGFORMAT");let r=!1;const n=e.split(".")[0].substr(0,1);return this._sikkensModel.colors[n][e]&&(r=!0),r?(this.RemoveErrorMessage("SikkensNOTFOUND"),!0):(t&&this.ShowErrorMessage("SIKKENSNOTFOUND"),!1)}return t&&this.ShowErrorMessage("SIKKENSWRONGFORMAT"),!1}SetColorWheel(){var e,t;if(this.colorWheelCursor&&this._sikkensCode){const r=this._sikkensCode.replace("SIKKENS_","").split(".")[0].substr(0,1);let n=0;if("O"===r)null==(e=this.colorWheelCursor)||e.classList.add("hidden");else{switch(null==(t=this.colorWheelCursor)||t.classList.remove("hidden"),r){case"A":n=0;break;case"B":n=1;break;case"C":n=2;break;case"D":n=3;break;case"E":n=4;break;case"F":n=5;break;case"G":n=6;break;case"H":n=7;break;case"J":n=8;break;case"K":n=9;break;case"L":n=10;break;case"M":n=11;break;case"N":n=12;break;case"P":n=13;break;case"Q":n=14;break;case"R":n=15;break;case"S":n=16;break;case"T":n=17;break;case"U":n=18;break;case"V":n=19;break;case"W":n=20;break;case"X":n=21;break;case"Y":n=22;break;case"Z":n=23}this.colorWheelCursor.style.transform=`rotate(${15*n}deg)`}this.GenerateColorGrid(r).then(()=>{this.dispatchEvent(new CustomEvent("onRender",{}))})}}ShowErrorMessage(e){var t,r,n,i,o;if(this.shadowRoot){let s=this.shadowRoot.querySelector("#SikkensWrongFormat"),a=this.shadowRoot.querySelector("#SikkensNotFound");switch(e.toUpperCase()){case"SIKKENSWRONGFORMAT":s||(s=document.createElement("p"),s.id="SikkensWrongFormat",s.classList.add("errorMsg"),s.textContent="sikkens Code hat ein falsches Format.",null==(t=this.errorMsgWrap)||t.appendChild(s),null==(r=this.colorInput)||r.classList.add("error"));break;case"SIKKENSNOTFOUND":a||(a=document.createElement("p"),a.id="SikkensNotFound",a.classList.add("errorMsg"),a.textContent="sikkens Code wurde nicht gefunden.",null==(n=this.errorMsgWrap)||n.appendChild(a),null==(i=this.colorInput)||i.classList.add("error"))}s&&a&&(null==(o=this.colorInput)||o.classList.remove("error"))}}RemoveErrorMessage(e){var t;if(this.shadowRoot){let r=this.shadowRoot.querySelector("#SikkensWrongFormat"),n=this.shadowRoot.querySelector("#SikkensNotFound");switch(e.toUpperCase()){case"SikkensWRONGFORMAT":null==r||r.remove();break;case"SikkensNOTFOUND":null==n||n.remove();break;default:r=null,n=null,this.errorMsgWrap&&(this.errorMsgWrap.innerHTML="")}r||n||null==(t=this.colorInput)||t.classList.remove("error")}}getSikkensColors(){return fK(this,null,function*(){if(this._sikkensModel=yield WX.getSikkens({manufacturer:this.manufacturer}),this._sikkensModel){Object.keys(this._sikkensModel.colors).forEach(e=>{this._sikkensModel&&Object.keys(this._sikkensModel.colors[e]).forEach(t=>{this._sikkensModel&&(this._sikkensMap[t]=`${this._sikkensModel.colors[e][t].R},${this._sikkensModel.colors[e][t].G},${this._sikkensModel.colors[e][t].B}`)})})}})}render(){return Zk`
+            <!-- SIKKES Eingabe -->
+            <div class="colorInputWrap">
+                <div class="inputContainer">
+                    <div id="colorCurrent"></div>
+                    <input type="text" id="colorInput" @input=${this.onColorInput} @focus=${this.onFocusColorInput} @change=${this.onColorInput} value="" placeholder="SIKKENS-Code eingeben"/>
+                    <button id="colorInputSubmit" @click=${this.onColorInputSubmit}><span>&sc;</span></button>
+                </div>
+                <div id="errorMsgWrap"><!-- Hier werden Fehlermeldungen reingeschrieben --></div>
+            </div>
+            <!-- Farbton-Kreis -->
+            <div class="colorWheelWrap">
+                <div class="colorWheelclickArea" @click=${this.onWheelAreaClick}></div>
+                <div class="colorWheelCursorContainer">
+                    <div id="colorWheelCursor"></div>
+                </div>
+                <div class="colorWheel"></div>
+            </div>
+             
+            <!-- Farb-Nuancen -->   
+            <div class="colorGrid"><!-- Hier werden Farb-Nuancen reingeschrieben --></div>
+        `}updated(e){var t=e=>super[e];return fK(this,null,function*(){t("updated").call(this,e),this._preventEvent=!0,e.has("manufacturer")&&(yield this.getSikkensColors(),this._sikkensCode="",this._sikkensRGB=void 0,this.currentCode="",yield this.GenerateColorGrid(),this.dispatchEvent(new CustomEvent("onRender",{}))),this._sikkensCode=this.currentCode,yield this.SetColorWheel(),this._preventEvent=!1})}firstUpdated(){return fK(this,null,function*(){yield this.getSikkensColors(),this.SetColorWheel()})}};vK.styles=[((e,t)=>_K(mK(e),t,e))(vK,"styles")||[],$k`${yk(dK)}`],gK([lk({type:String,reflect:!0})],vK.prototype,"currentCode",2),gK([lk({type:String,reflect:!0})],vK.prototype,"manufacturer",2),gK([lk({type:Boolean,reflect:!0,attribute:"disable-fade"})],vK.prototype,"_disableFade",2),gK([dk("#colorWheelCursor")],vK.prototype,"colorWheelCursor",2),gK([dk(".colorGrid")],vK.prototype,"colorGrid",2),gK([dk("#colorInput")],vK.prototype,"colorInput",2),gK([dk("#errorMsgWrap")],vK.prototype,"errorMsgWrap",2),gK([dk("#colorCurrent")],vK.prototype,"colorCurrent",2),vK=gK([sk("fv-sikkens-picker")],vK);var bK=Object.defineProperty,yK=Object.getOwnPropertyDescriptor,$K=Object.getPrototypeOf,xK=Reflect.get,SK=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?yK(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&bK(t,r,o),o},wK=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});let AK=class extends FT{constructor(e){var t,r,n;if(super(),this.PPContainerComponent=null,this.name="",this.image="",this.draggable=!1,this._halfSize=!1,e=e||{},this._colorPickerData=e.colorPicker,this.name=e.name||"",this._manufacturer=e.manufacturer||"",this._program=e.program||"",this._key=e.key||"",this._property=e.property||"",this._propertyKey=e.propertyKey||"",this._halfSize=e.containerComponent.halfSize,this.PPContainerComponent=e.containerComponent,this.draggable=(null==(t=this.PPContainerComponent)?void 0:t.draggable)||null!==(null==(r=this.PPContainerComponent)?void 0:r.getAttribute("draggable")),this.Image=e.imgUrl,this._imageVisibility=!!this.image||this._halfSize,e.colorPicker){switch(this._imageVisibility=!0,this.classList.add("color-picker"),e.colorPicker.type){case"RAL":this._colorPicker=new rK;break;case"NCS":this._colorPicker=new uK;break;case"SIKKENS":this._colorPicker=new vK;break;default:this._colorPicker=void 0}null==(n=this._colorPicker)||n.getColorByCode(this._property.replace(/\[CP\].*\[CP\]/g,"")).then(t=>{this.Image=e.imgUrl})}}get ColorPicker(){return this._colorPicker}set Image(e){this.image=e?"background-"+(e.startsWith("#")?`color: ${e}`:e.split(",").length>=2?`color: rgba(${e})`:`image: url(${e})`):this.image}firstUpdated(e){var t;super.firstUpdated(e),this.addEventListener("click",e=>{var t,r,n,i,o,s;if(e.stopPropagation(),e.stopPropagation(),this.PPContainerComponent&&!this.PPContainerComponent.IsBusy)if(this._progressTimer&&(clearTimeout(this._progressTimer),this._progressTimer=void 0),(null==(t=this._progress)?void 0:t.show)&&(null==(r=this._progress)||r.show()),this._colorPicker){const e=this.classList.contains("active");if(e)return;this.classList[e?"remove":"add"]("active"),null==(n=this.colorPickerDiv)||n.classList[e?"add":"remove"]("hidden"),null==(i=this.parentNode)||i.childNodes.forEach(t=>{t.classList[t===this||e?"remove":"add"]("hidden")}),null==(o=this.previousElementSibling)||o.scrollIntoView(),null==(s=this.parentNode)||s.classList[e?"remove":"add"]("is-color-picker")}else{this.PPContainerComponent.IsBusy=!0;const e=[{manufacturer:this._manufacturer,program:this._program,key:this._key,property:this._property,propertyKey:this._propertyKey}];CommunicationMessageService.modifyProperty(JSON.stringify(e),this.PPContainerComponent.PPOptions).then(()=>wK(this,null,function*(){var e;this._progress&&(this._progress.finished=!0),null==(e=this.PPContainerComponent)||e.requestUpdate(),this._progressTimer=setTimeout(()=>wK(this,null,function*(){var e,t;(null==(e=this._progress)?void 0:e.hide)&&(null==(t=this._progress)||t.hide())}),1e3)}))}}),this._colorPicker&&(null==(t=this.colorPickerDiv)||t.appendChild(this._colorPicker),this._colorPicker.classList.add("color-picker"),this._colorPicker.addEventListener("colorChange",e=>{var t;this.classList.add("hidden");const r=e.detail,n=[{manufacturer:this._manufacturer,program:this._program,key:this._key,property:this._property,propertyKey:this._propertyKey}];CommunicationMessageService.modifyProperty(JSON.stringify(n),Object.assign({modifyColorPicker:{code:r.code,rgb:`${r.rgba.r},${r.rgba.g},${r.rgba.b}`,key:this._propertyKey,id:this._key}},null==(t=this.PPContainerComponent)?void 0:t.PPOptions)).then(()=>wK(this,null,function*(){var e;this._progress&&(this._progress.finished=!0),null==(e=this.PPContainerComponent)||e.requestUpdate(),setTimeout(()=>wK(this,null,function*(){var e,t;(null==(e=this._progress)?void 0:e.hide)&&(null==(t=this._progress)||t.hide())}),1e3)}))}))}render(){DragDropHelperService.removeElement(this),this.draggable&&DragDropHelperService.addElement(this,{extData:{manufacturer:this._manufacturer,program:this._program,key:this._key,property:this._property,propertyKey:this._propertyKey},id:this._key,type:ER.PROGPROPERTY}),this.classList[this._halfSize?"add":"remove"]("halfSize");const e={"not-found":!this.image,transparent:!this.image&&this._imageVisibility&&!this._colorPicker,"pp-image":!0};return Zk`
+            <div class="pp-item-content">
+                ${this._imageVisibility?Zk`<div class="pp-item-image">
+                    <div class=${KT(e)} style="${this.image?`${this.image}`:""}">
+                        <fv-progress></fv-progress>
+                    </div>
+                </div>`:""}
+                <div class="pp-item-name">
+                    <span>${this.name}</span>
+                </div>
+            </div>
+            <div class="color-picker hidden"></div>
+        `}};AK.styles=[((e,t)=>xK($K(e),t,e))(AK,"styles")||[],$k`${yk(GX)}`],SK([lk()],AK.prototype,"PPContainerComponent",2),SK([lk({type:String,reflect:!0})],AK.prototype,"name",2),SK([lk({type:String,reflect:!0})],AK.prototype,"image",2),SK([dk(".color-picker")],AK.prototype,"colorPickerDiv",2),SK([dk("fv-progress")],AK.prototype,"_progress",2),SK([lk({type:Boolean,reflect:!0})],AK.prototype,"draggable",2),AK=SK([sk("fv-pp-value")],AK);var CK=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{display:none;overflow:hidden}:host([active]){align-content:flex-start;display:flex;flex-wrap:wrap;width:100%}:host(.is-color-picker[active]){height:100%}`,EK=Object.defineProperty,IK=Object.getOwnPropertyDescriptor,MK=Object.getPrototypeOf,kK=Reflect.get,TK=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?IK(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&EK(t,r,o),o};let RK=class extends FT{constructor(){super(),this.active=!1,this.noTransition=!1}render(){return Zk`<slot></slot>`}addItem(e){return new AK(e)}};RK.styles=[((e,t)=>kK(MK(e),t,e))(RK,"styles")||[],$k`${yk(CK)}`],TK([lk({type:Boolean,reflect:!0})],RK.prototype,"active",2),TK([lk({type:Boolean,reflect:!0})],RK.prototype,"noTransition",2),RK=TK([sk("fv-pp-values")],RK);var LK=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host([active]){-webkit-box-shadow:inset 0 0 3px 1px var(--primary-color,red);-moz-box-shadow:inset 0 0 3px 1px var(--primary-color,red);box-shadow:inset 0 0 3px 1px var(--primary-color,red)}:host([active]) .pp-group-title{color:var(--primary-color,red)}:host([active]) .pp-items-counter{display:none}:host(:hover){-webkit-box-shadow:inset 0 0 3px 1px var(--primary-color,red);-moz-box-shadow:inset 0 0 3px 1px var(--primary-color,red);box-shadow:inset 0 0 3px 1px var(--primary-color,red)}:host([disabled]) .pp-image{background-color:#d3d3d3!important}:host(.halfSize){border:none;border-radius:initial;-webkit-box-shadow:none;-moz-box-shadow:none;box-shadow:none;flex-direction:column;height:auto;max-width:150px;width:calc(50% - 20px)}:host(.halfSize) .pp-current-image{aspect-ratio:1/1;height:auto;margin:auto;width:100%}:host(.halfSize) .pp-current-image .pp-image{border:1px solid grey;border-radius:100%;height:100%;overflow:hidden;width:100%}:host(.halfSize) .pp-current-image .pp-image:hover{-webkit-box-shadow:inset 0 0 3px 1px var(--primary-color,red);-moz-box-shadow:inset 0 0 3px 1px var(--primary-color,red);box-shadow:inset 0 0 3px 1px var(--primary-color,red)}:host(.halfSize) .pp-items-counter{flex:0 0 auto;font-weight:var(--global-font-weight-bold,600);padding:0 20px 0 0;text-align:right}:host{border:1px solid grey;border-radius:3px;display:flex;height:80px;margin:.1em auto 4px;padding:.5em;width:calc(100% - 20px)}:host .pp-current-image{height:80px;width:80px}:host .pp-current-image .pp-image{background-position:50%;background-size:cover;height:100%;width:100%}:host .pp-current-image .pp-image.not-found{background-image:var(--default-image,url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA8AAAAMcAQMAAACl5F6MAAAABlBMVEW8vsDn6OnyCdevAAAACXBIWXMAAAsTAAALEwEAmpwYAAAEbUlEQVR4AezBMQEAAADCoPVP7WsIoAcAAAAAAAAAAAAAAAAAAAAAAIydO0iOk4eCAGyVXNEuukF0FB1NHE1H0RG0ZEHRf5A99WYMk1T+Kvolw+vVjBf+CkMLoRCFWQkuqCquB3QOOQKrCpwBKJ1i6Jxk/EzTubaArgAHQOeyjhu8aMEafUrYolLjLRMfLrpw5cMYadeBnTLcrwN7ZXi+DhyuCi8GG/xy8Gyw3SRe7n7cLzfnajah5z87keFJ//lYf0WAAq+vv+rDX+fir+zpr2Xqr95qrle/ywr9OxX+/nF19fGRmR/yrzCJCudRqNHiNDHhIlquTBgCF2aX3V2BwYT9nUYdNoNojnqjiKJ56q0xiRaok4EsWqQO2EW0RJ3wQbTMvDc6iFaYswEvkx5Hnf8E0Tx1xhcfj3gh1lhOLHVWnx8vLvBq/FAnYpGBhwEElVfjhyETjVjj5bFanATpLrHIcpDkIstpJRdZLmRykaW63CLLMZKLLGeVXGS5jvlFluZKq8k1lnGMXGMZuck1lnsVu8ZydybXWOYj5BrLDIxcY5lz8mrML/JupPIC02osf3tyjeVqY9dYikys8QlTAUIsFovFYrFYLJaIP8hq8D4GG2ywwQYbbLDBBhtssMEGG2ywwQYb3N9+G/ePwQYbbLDBBhtssMEGG5yhA3ugqcARmFXgDKwqcAGgAsu+J1zYy94UXDjIRxosH+crwUm2euHCWX43Fy7YciUYI9N1YIeRavDpsMdIM9jgs+BOh4PBavA3ras6aMFRC06TEpyrLsy/H5emBKOrwvxZpsOsA3ssOk8SQQ9edZ4WI6DzfJwU4Ym/FCE7ofFXfQoJlnUugRsHdl9GTKBzlxRF6vzVW9kngr5eLTB5hT6MUhPgLfdDRhwQCQ79TQXe756tAWcp10XgIuMYF8aWxoedLtz5sB/wzIeDLrzw4QiRqHBSgOvnwLWFCrc7eCLCbnwrXFh2ZMdHKhEOyx3ciHBch8OHE2TtCZ0IZ0wCz1S4jhGTDhc0ecN9IcLja/qEVwIswqwC+/H3zfgMDw7j95cbPBFg+YEKnIaGWyoNzpvmcEujws0rwGX7LnCnwWOgDLhlZsFuaJEP+zFCC7yw4DCAhFtWFhwHl/lwwpeowRMJzlpw+QpXEgwl2O3gxoH9Du4cOOzgmQNHLTjt4OXF4byDVw5csAsHhhLssM/EgD32qQw4aMER+zQtuDPgpAVn7DMz4IJ9FgYMJdgdwSsB9jgKAQ5acDyEJy24ng8nLTgfwu18uBzC/XwYSrA7hmfCeyCHWU6Hw18Gr4R3fY5zOpy04PwEngj/KfYw9WwYSrB7BjfCW4qH6a8Kh2fwTHgF9jDLyXDSgvMzeKW8UX6Uk2Eowe45PL0m7J/D9VQ4aMG/isH/JwYbbLDBBhtssMEGG2ywtz3K/2tvDmQAAAAABvlbn+NbCSQWi8VisVgsFovFYrFYLBYvAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEHVJjR5bJLd8AAAAASUVORK5CYII="))}:host .pp-current-image .pp-image.not-found.transparent{background-color:transparent;background-image:none}:host .pp-current-image .pp-image.bordered{border:1px solid #e5e5e5}:host .pp-info{flex:1;flex-direction:column;overflow:hidden;word-break:break-word}:host .pp-info .pp-group-title{color:#727272;display:flex;flex:1;margin:8px 0}:host .pp-info .pp-group-title span{font-weight:var(--global-font-weight-bold,600);margin:auto;text-align:center}:host .pp-info .pp-current-name{display:flex;flex:1}:host .pp-info .pp-current-name span{margin:auto;text-align:center}:host .pp-items-counter{flex:none;font-weight:var(--global-font-weight-bold,600);text-align:center}`,PK=Object.defineProperty,DK=Object.getOwnPropertyDescriptor,NK=Object.getPrototypeOf,FK=Reflect.get,OK=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?DK(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&PK(t,r,o),o};let BK=class extends FT{constructor(e){super(),this._showItemCount=!0,this._halfSize=!1,this.currentImage="",this.currentName="",this.itemCount=0,this.active=!1,this.titleText="",this.transparentPlaceholder=!1,e=e||{},this.titleText=e.title||"",this._showItemCount=!e.hideItemCount,this._halfSize=!!e.halfSize}render(){this.classList[this._halfSize?"add":"remove"]("halfSize");const e=!this.active||this.currentImage||this._halfSize,t={"not-found":!this.currentImage,transparent:this.transparentPlaceholder,"pp-image":!0};return Zk`${e?Zk`<div class="pp-current-image">
+            <div class=${KT(t)} style="${this.currentImage?"background-"+(this.currentImage.startsWith("#")?`color: ${this.currentImage}`:this.currentImage.split(",").length>=2?`color: rgba(${this.currentImage})`:`image: url(${this.currentImage})`):""}"></div>
+            </div>`:""}
+            <div class="pp-info">
+                <div class="pp-group-title">
+                    <span>${this.titleText}</span>
+                </div>
+                <div class="pp-current-name">
+                    <span>${this.currentName}</span>
+                </div>
+                ${this._showItemCount&&this._halfSize?Zk`
+                        <div class="pp-items-counter">
+                            <span>${this.itemCount}</span>
+                        </div>`:""}
+            </div>
+        ${this._showItemCount&&!this._halfSize?Zk`
+                        <div class="pp-items-counter">
+                            <span>${this.itemCount}</span>
+                        </div>`:""}
+            
+        `}};BK.styles=[((e,t)=>FK(NK(e),t,e))(BK,"styles")||[],$k`${yk(LK)}`],OK([lk({type:String,reflect:!0})],BK.prototype,"currentImage",2),OK([lk({type:String,reflect:!0})],BK.prototype,"currentName",2),OK([lk({type:Number,reflect:!0})],BK.prototype,"itemCount",2),OK([lk({type:Boolean,reflect:!0})],BK.prototype,"active",2),OK([lk({type:String,reflect:!0})],BK.prototype,"titleText",2),OK([lk({type:Boolean,reflect:!0})],BK.prototype,"transparentPlaceholder",2),BK=OK([sk("fv-pp-property")],BK);var UK=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});const VK=new class{build(e,t,r){return UK(this,null,function*(){const n=[];yield IX.traverse({groupCallback:(i,o,s,a)=>UK(this,null,function*(){const s=new VX,l=[];a.forEach(e=>{for(let t=0;t<e.progProperties.length;t++)-1===l.indexOf(e.progProperties[t])&&l.push(e.progProperties[t])}),a&&r.grouped&&a.forEach(e=>{s.addItem(e)}),n.push(s);const c=yield gL.findMany(i,o,l);Object.values(c).forEach(r=>{const i=new BK({title:r.name,hideItemCount:t.hideItemCount}),o=Object.values(r.children),s=r.currentValue;s&&(i.currentName=s.name,i.currentImage=s.alternativeImageUrl);const a=new RK;a.id="item_"+r.id,n.push(i),n.push(a),i.addEventListener("click",()=>{i.active||(e.querySelectorAll("fv-pp-property").forEach(e=>{i!==e&&e.classList.add("hidden")}),i.active=!0,a.active=!0)}),i.itemCount=o.length;for(let e=0;e<o.length;e++){const n=o[e];a.addItem({colorPicker:r.colorPicker,imgUrl:n.alternativeImageUrl,name:n.name,manufacturer:r.manufacturerName.toLowerCase(),program:r.programName.toLowerCase(),key:r.id,property:n.key,propertyKey:n.propertyKey,containerComponent:t})}})}),itemsCallback:e=>UK(this,null,function*(){if(!r.grouped){const t=new VX;e&&t.addItem(e),n.push(t)}})},r),e.innerHTML="",n.forEach(t=>{e.appendChild(t)})})}};var zK,HK=Object.defineProperty,GK=Object.getOwnPropertyDescriptor,jK=Object.getPrototypeOf,JK=Reflect.get,WK=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?GK(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&HK(t,r,o),o},QK=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});!function(e){e[e.FURNVIEW=1]="FURNVIEW",e[e.COMBINE=99]="COMBINE"}(zK||(zK={}));let qK=class extends FT{constructor(){super(),this.IsBusy=!1,this.theme=1,this.halfSize=!1,this.grouped=!0,this.hideItemCount=!1,this._ppModeSelection=!1,this._ppMode=_X.ALL}get PPOptions(){const e={};switch(this._ppMode){default:case _X.ALL:break;case _X.COMPONENT:e.modifyComponent=!0;break;case _X.ELEMENT:e.modifyElement=!0}return e}connectedCallback(){var e=e=>super[e];return QK(this,null,function*(){if(e("connectedCallback").call(this),EventFactoryService.RefreshPropertyPanel.register(()=>{this.loadPropertyPanel()}),yield RequestHelperService.fetchConfiguration(),yield CommunicationInterfaceService.IsAppReady,this._ppModeSelection&&this._ppModeDropdown){(yield RR.Configuration).disable_properties_on_selection||(this._ppModeDropdown.parentElement&&this._ppModeDropdown.parentElement.classList.remove("hidden"),this._ppModeDropdown.addEventListener("onChange",e=>{this._ppMode=e.detail.item.value}),this._ppModeDropdown.clearItems(),this._ppModeDropdown.addItems([{text:yield LocalesModel.get("1701"),value:_X.ALL},{text:yield LocalesModel.get("1702"),value:_X.ELEMENT},{text:yield LocalesModel.get("1703"),value:_X.COMPONENT}],!1))}yield this.loadPropertyPanel()})}loadPropertyPanel(){return QK(this,null,function*(){var e;this.IsBusy=!0;const t=null==(e=this._ptComponent)?void 0:e.scrollTop;if(this._ptComponent)switch(+this.theme){case 1:yield HX.build(this._ptComponent,this,{grouped:this.grouped,useSelection:!0});break;case 99:yield VK.build(this._ptComponent,this,{grouped:this.grouped,useSelection:!0})}yield this.updateComplete,this._ptComponent&&"number"==typeof t&&(this._ptComponent.scrollTop=t),this.IsBusy=!1})}render(){return Zk`
+            ${this._ppModeSelection?Zk`
+            <div class="hidden">
+                <fv-dropdown id="mode-dropdown"></fv-dropdown>
+            </div>
+            `:""}
+            <div class="pt-component">
+                <slot></slot>
+            </div>`}};qK.styles=[((e,t)=>JK(jK(e),t,e))(qK,"styles")||[],$k`${yk(AX)}`],WK([dk("#mode-dropdown")],qK.prototype,"_ppModeDropdown",2),WK([dk(".pt-component")],qK.prototype,"_ptComponent",2),WK([lk({type:Boolean,reflect:!0})],qK.prototype,"IsBusy",2),WK([lk({type:zK,reflect:!0})],qK.prototype,"theme",2),WK([lk({type:Boolean,reflect:!0})],qK.prototype,"halfSize",2),WK([lk({type:Boolean,reflect:!0})],qK.prototype,"grouped",2),WK([lk({type:Boolean,reflect:!0})],qK.prototype,"hideItemCount",2),WK([lk({type:Boolean,reflect:!0,attribute:"mode-selection"})],qK.prototype,"_ppModeSelection",2),qK=WK([sk("fv-pt-container")],qK);var YK=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{max-width:var(--language-picker-max-width,unset);min-width:var(--language-picker-min-width,unset);width:var(--language-picker-width,auto)}:host fv-dropdown{width:100%}`,XK=Object.defineProperty,KK=Object.defineProperties,ZK=Object.getOwnPropertyDescriptor,eZ=Object.getOwnPropertyDescriptors,tZ=Object.getOwnPropertySymbols,rZ=Object.getPrototypeOf,nZ=Object.prototype.hasOwnProperty,iZ=Object.prototype.propertyIsEnumerable,oZ=Reflect.get,sZ=(e,t,r)=>t in e?XK(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r,aZ=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?ZK(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&XK(t,r,o),o};nV.Map;let lZ=class extends FT{constructor(){super(),this.templateId="language_picker",this._dropdownOptions={items:[]},this.hiddenByDefault=!0}firstUpdated(e){var t,r,n,i=e=>super[e];return t=this,r=null,n=function*(){i("firstUpdated").call(this,e),yield CommunicationInterfaceService.IsAppReady;const t=yield CommunicationMessageService.getAvailableLanguages();this._dropdownOptions=((e,t)=>KK(e,eZ(t)))(((e,t)=>{for(var r in t||(t={}))nZ.call(t,r)&&sZ(e,r,t[r]);if(tZ)for(var r of tZ(t))iZ.call(t,r)&&sZ(e,r,t[r]);return e})({},this._dropdownOptions),{items:t.map(e=>({value:e.langCode,text:e.name,active:e.langCode===window.LocalesModel.getLanguage()}))})},new Promise((e,i)=>{var o=e=>{try{a(n.next(e))}catch(e){i(e)}},s=e=>{try{a(n.throw(e))}catch(e){i(e)}},a=t=>t.done?e(t.value):Promise.resolve(t.value).then(o,s);a((n=n.apply(t,r)).next())})}getHideState(){var e;const t=(null==(e=this._dropdownOptions)?void 0:e.items)||[];return this.hiddenByDefault&&t.length<=1}onDropdownChanged(e){const t=e.detail.data.value;t&&TY.dispatch("set-language",{langCode:t})}render(){const e=KT({hidden:this.getHideState()});return Zk`
+            <fv-dropdown @dropdown-item-changed="${this.onDropdownChanged}" class="${e}" .options="${this._dropdownOptions}"></fv-dropdown>
+        `}};
+/**
+ * @license
+ * Copyright 2021 Google LLC
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+function*cZ(e,t){if(void 0!==e){let r=0;for(const n of e)yield t(n,r++)}}
+/**
+ * @license
+ * Copyright 2021 Google LLC
+ * SPDX-License-Identifier: BSD-3-Clause
+ */function*uZ(e,t,r=1){const n=void 0===t?0:e;null!=t||(t=e);for(let e=n;r>0?e<t:t<e;e+=r)yield e}lZ.styles=[((e,t)=>oZ(rZ(e),t,e))(lZ,"styles")||[],yk(YK)],aZ([lk({type:String,reflect:!0,attribute:"template-id"})],lZ.prototype,"templateId",2),aZ([lk()],lZ.prototype,"_dropdownOptions",2),aZ([lk({type:Boolean,reflect:!0})],lZ.prototype,"hiddenByDefault",2),lZ=aZ([sk("fv-language-picker")],lZ);var dZ=$k`*{box-sizing:border-box;user-select:none}:host{display:inline}#container{display:inline;position:relative}#input-container{border:1px solid gray;display:inline;padding:1px}#input{border:0;min-width:3rem;outline:none}#calendar{background-color:#fff;border:1px solid #d3d3d3;bottom:calc(100% + 2px);display:flex;flex-direction:column;line-height:1.75rem;position:absolute;right:0;width:15rem}#calendar .header .control{display:flex;flex-direction:row;justify-content:center}#calendar .header .control *{flex:1}#calendar .header .control .display{text-align:center}#calendar .content{align-items:stretch;display:grid;grid-template-columns:repeat(7,1fr);grid-template-rows:repeat(7,1fr);justify-items:stretch}#calendar .content span{text-align:center}#calendar .content [day][disabled]{color:#eee}#calendar .content [day]:not([disabled]):hover{background-color:var(--primary-color,red);color:var(--label-color,#fff)}button{background-color:transparent;border:none}`,hZ=Object.defineProperty,pZ=Object.getOwnPropertyDescriptor,mZ=Object.getPrototypeOf,_Z=Reflect.get,gZ=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?pZ(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&hZ(t,r,o),o};const fZ=new Map([["MONDAY",0],["TUESDAY",1],["WEDNESDAY",2],["THURSDAY",3],["FRIDAY",4],["SATURDAY",5],["SUNDAY",6]]);function vZ(e,t,r){const n=new Intl.NumberFormat(navigator.languages[0],{minimumIntegerDigits:2,useGrouping:!1});return`${n.format(e)}-${n.format(t+1)}-${n.format(r)}`}let bZ=class extends FT{constructor(){super(...arguments),this.date=new Date,this.day=(new Date).getDate(),this.month=(new Date).getMonth(),this.year=(new Date).getFullYear(),this.open=!1,this.parsedValidDates=[],this.parsedRestrictedDates=[],this.validDates="",this.restrictedDates=""}dispatchChange(){this.dispatchEvent(new Event("change",{bubbles:!0,composed:!0,cancelable:!0}))}close(){this.open=!1}clickDay(e){const t=e.target;"SPAN"===t.tagName&&t.hasAttribute("day")&&!t.hasAttribute("disabled")&&(this.day=parseInt(t.innerText),this.date=new Date(this.year,this.month,this.day),this.close(),this.dispatchChange())}getDayOfWeek(e,t,r){let n;return n=void 0!==t&&void 0!==r?new Date(e,t,r).getDay()-1:new Date(e).getDay()-1,n>=0?n:6}getFirstDayOfTheMonth(e,t){return this.getDayOfWeek(e,t,1)}getDayCount(e,t){return new Date(e,t+1,0).getDate()}isValidDate(e){return this.isDateInValidRange(e)&&!this.isDateInInvalidRange(e)}renderCalendar(){return Zk`
+      <div id='calendar'>
+        <div class='header'>
+          <div class='year control'>
+            <button @click='${this.decreaseYear}'>&lt;</button>
+            <span class='year display'>${this.year}</span>
+            <button @click='${this.increaseYear}'>&gt;</button>
+          </div>
+          <div class='month control'>
+            <button @click='${this.decreaseMonth}'>&lt;</button>
+            <span class='month display'>${this.getPrettyMonth()}</span>
+            <button @click='${this.increaseMonth}'>&gt;</button>
+          </div>
+        </div>
+        <div class='content' @click='${this.clickDay}'>
+          ${cZ(uZ(1,8),e=>Zk`<span>${this.getPrettyDay(e)}</span>`)}
+          ${cZ(uZ(this.getFirstDayOfTheMonth(this.year,this.month)),()=>Zk`<span></span>`)}
+          ${cZ(uZ(1,this.getDayCount(this.year,this.month)+1),e=>Zk`<span day part='day' ?disabled='${!this.isValidDate(vZ(this.year,this.month,e))}'>${e}</span>`)}
+        </div>
+      </div>`}click(){this.open=!this.open,this.open&&(this.year=this.date.getFullYear(),this.month=this.date.getMonth(),this.day=this.date.getDate())}decreaseYear(){this.year--}increaseYear(){this.year++}decreaseMonth(){this.month--,this.month<0&&(this.month=11,this.decreaseYear())}increaseMonth(){this.month++,this.month>11&&(this.month=0,this.increaseYear())}getPrettyMonth(){return new Intl.DateTimeFormat(navigator.languages[0],{month:"short"}).format(new Date(this.year,this.month))}getPrettyDay(e){return new Intl.DateTimeFormat(navigator.languages[0],{weekday:"short"}).format(new Date(2024,0,e))}parseDates(e){if(!e)return[];return e.split(",").map(e=>{const t=e.split(":");return 1===t.length?{min:"",max:"",exact:t[0]}:t.length>=2?{min:t[0]||"0_infinity",max:t[1]||"9_infinity",exact:""}:{min:"0_infinity",max:"9_infinity",exact:""}})}isDateInRange(e,t=[]){return!(t.length>0)||(t.some(t=>t.exact===e||fZ.has(t.exact.toUpperCase())&&fZ.get(t.exact.toUpperCase())===this.getDayOfWeek(e))||t.some(t=>t.min<=e&&t.max>=e))}isDateInInvalidRange(e){return this.parsedRestrictedDates.length>0&&this.isDateInRange(e,this.parsedRestrictedDates)}isDateInValidRange(e){return!(this.parsedValidDates.length>0)||this.isDateInRange(e,this.parsedValidDates)}get value(){return vZ(this.date.getFullYear(),this.date.getMonth(),this.date.getDate())}set value(e){this.date=new Date(e),this.dispatchChange()}get valueAsDate(){return this.date}set valueAsDate(e){this.date=e,this.dispatchChange()}connectedCallback(){super.connectedCallback(),this.setAttribute("tabindex","-1"),this.addEventListener("focusout",()=>this.close())}attributeChangedCallback(e,t,r){super.attributeChangedCallback(e,t,r),"valid-dates"===e?this.parsedValidDates=this.parseDates(r):"restricted-dates"===e&&(this.parsedRestrictedDates=this.parseDates(r))}render(){return Zk`
+      <div id="container">
+        <div id='input-container' @click='${this.click}'>
+          <input id='input' readonly .value='${e=this.date.getFullYear(),t=this.date.getMonth(),r=this.date.getDate(),new Intl.DateTimeFormat(navigator.languages[0],{year:"numeric",month:"2-digit",day:"2-digit"}).format(new Date(e,t,r))}'/><button>📆</button>
+        </div>
+        ${this.open?this.renderCalendar():tT}
+      </div>
+    `;var e,t,r}};bZ.styles=[((e,t)=>_Z(mZ(e),t,e))(bZ,"styles")||[],yk(dZ),yk(nH)],gZ([ck()],bZ.prototype,"date",2),gZ([ck()],bZ.prototype,"day",2),gZ([ck()],bZ.prototype,"month",2),gZ([ck()],bZ.prototype,"year",2),gZ([ck()],bZ.prototype,"open",2),gZ([ck()],bZ.prototype,"parsedValidDates",2),gZ([ck()],bZ.prototype,"parsedRestrictedDates",2),gZ([lk({type:String,attribute:"valid-dates"})],bZ.prototype,"validDates",2),gZ([lk({type:String,attribute:"restricted-dates"})],bZ.prototype,"restrictedDates",2),bZ=gZ([sk("fv-datepicker")],bZ);var yZ=$k`:host{display:block}:host(.invisible){visibility:hidden}:host(.hidden){display:none}.container{grid-gap:.5rem;display:grid;grid-template-areas:"title earliest-label earliest-date" ". latest-label latest-date";grid-template-columns:auto auto auto}.lowercase{text-transform:lowercase}#title{grid-area:title}#earliest-label{grid-area:earliest-label}#earliest-date{grid-area:earliest-date}#latest-label{grid-area:latest-label}#latest-date{grid-area:latest-date}`,$Z=Object.defineProperty,xZ=Object.getOwnPropertyDescriptor,SZ=Object.getPrototypeOf,wZ=Reflect.get,AZ=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?xZ(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&$Z(t,r,o),o},CZ=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});let EZ=class extends FT{refreshDeliveryDates(){return CZ(this,null,function*(){let e=yield CommunicationMessageService.executeManufacturerFunction("zeg","ZEG_GetFirstPossibleDeliveryDate",0);e=e.split("T")[0],this.earliestElement.value=e,this.earliestElement.setAttribute("valid-dates",`${e}:`)})}setLatestDate(){return CZ(this,null,function*(){let e=yield CommunicationMessageService.executeManufacturerFunction("zeg","ZEG_GetFirstPossibleLastDeliveryDate",0,(this.earliestElement.valueAsDate||new Date).toISOString()),t=yield CommunicationMessageService.executeManufacturerFunction("zeg","ZEG_GetLastPossibleLastDeliveryDate",0,(this.earliestElement.valueAsDate||new Date).toISOString()),r=e;e=e.split("T")[0],t=t.split("T")[0],r=r.split("T")[0],this.latestElement.value=r,this.latestElement.setAttribute("valid-dates",`${e}:${t}`),this.latestElement.setAttribute("restricted-dates","saturday,sunday")})}get earliestDate(){return this.earliestElement.valueAsDate}get earliestDateAsShortString(){return this.earliestElement.value}get latestDate(){return this.latestElement.valueAsDate}get latestDateAsShortString(){return this.latestElement.value}firstUpdated(e){var t=e=>super[e];return CZ(this,null,function*(){t("firstUpdated").call(this,e),this.refreshDeliveryDates()})}render(){return Zk`
+            <div class="container">
+                <div id="title" i18n="1509"></div>
+                <span id="earliest-label" i18n="20342" class="lowercase"></span>
+                <fv-datepicker id="earliest-date" @change="${this.setLatestDate}" restricted-dates="saturday,sunday"></fv-datepicker>
+                <span id="latest-label" i18n="fv.right.panel.catalogue.dimensions.to" class="lowercase"></span>
+                <fv-datepicker id="latest-date"></fv-datepicker>
+            </div>
+        `}};EZ.styles=[((e,t)=>wZ(SZ(e),t,e))(EZ,"styles")||[],yk(yZ)],AZ([dk("#earliest-date")],EZ.prototype,"earliestElement",2),AZ([dk("#latest-date")],EZ.prototype,"latestElement",2),EZ=AZ([sk("fv-delivery-datepicker")],EZ);var IZ=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}@media (width >= 980px){.ar-qrcode-information{width:50%}}@media (width <= 980px){.ar-qrcode-information{display:flex}.ar-qrcode-information li:empty,.ar-qrcode-information ul:first-child(li:empty){display:none}}:host(.fullscreen){height:100%;width:100%}:host .content-container>.content{display:grid;gap:50px;grid-template-areas:"content";grid-template-columns:1fr;grid-template-rows:1fr;height:100%;overflow-y:auto;padding:initial!important;width:100%}:host .content-container>.content>.content{align-items:center;display:grid;grid-area:content;grid-template-columns:1fr;grid-template-rows:repeat(auto-fill,1fr);position:relative}:host .content-container>.content>.content .ar-header{font-size:35px;text-align:center}:host .content-container>.content>.content .ar-information{line-height:25px;text-align:center}:host .content-container>.content>.content .ar-information span{white-space:break-spaces}:host .content-container>.content>.content .ar-qrcode-information{line-height:25px;margin:auto}:host .content-container>.content>.content .ar-qrcode-information>span{margin:30px;text-align:center}:host .content-container>.content>.content .ar-qrcode-information>ul{list-style-type:decimal}:host .content-container>.content>.content .qrCode-container{display:flex}:host .content-container>.content>.content .qrCode-container #qrCode{height:256px;margin:auto;width:256px}:host .content-container>.content>.content .ar-buttons{margin:auto;text-align:center}:host .content-container>.content>.content .ar-buttons>span{display:block;margin:20px 20px 16px 12px}:host .content-container>.content>.content .ar-buttons #url{margin:auto;text-decoration:none}`;const MZ=new class{create(){return e=this,t=null,r=function*(){return yield null==CommunicationMessageService?void 0:CommunicationMessageService.getARExport()},new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});var e,t,r}};var kZ=Object.defineProperty,TZ=Object.getOwnPropertyDescriptor,RZ=Object.getPrototypeOf,LZ=Reflect.get,PZ=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?TZ(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&kZ(t,r,o),o},DZ=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});let NZ=class extends BY{constructor(){super(),this.modalTexts={heading:"modal.ar.heading",information:"",information1:"modal.ar.qrcode.information.one",information2:"modal.ar.qrcode.information.two",alternative:"modal.ar.alternative",open:"7222"}}show(e=this.dimmed,t=this.fade){super.show(e,t),this.setLoading(!0),MZ.create().then(e=>{this.qrCode&&(this.qrCode.src=e.qr),this.url&&(this.url.href=e.url),this.setLoading()}).catch(()=>{this.setLoading()}),CommunicationMessageService.preloadARModel()}onOpenClick(e){return DZ(this,null,function*(){(yield CommunicationMessageService.startAR())&&(e.preventDefault(),e.stopPropagation())})}firstUpdated(e){var t=e=>super[e];return DZ(this,null,function*(){t("firstUpdated").call(this,e),yield LocalesModel.IsFileRead();for(const[e,t]of Object.entries(this.modalTexts))t&&(this.modalTexts[e]=LocalesModel.translate(t,""));this.requestUpdate("modalTexts")})}render(){var e,t,r,n,i,o;return super.build(Zk`
+            <div class="content">
+                <div class="additional-content">
+                    <slot></slot>
+                </div>
+                <div class="ar-header">
+                    <span>${null==(e=this.modalTexts)?void 0:e.heading}</span>
+                </div>
+                <div class="ar-information">
+                    <span >${null==(t=this.modalTexts)?void 0:t.information}</span>
+                </div>
+                <div class="ar-qrcode-information">
+                    <ul>
+                        <li>${null==(r=this.modalTexts)?void 0:r.information1}</li>
+                        <li>${null==(n=this.modalTexts)?void 0:n.information2}</li>
+                    </ul>
+                </div>
+                <div class="qrCode-container">
+                    <img id="qrCode" src="#"/>
+                </div>
+                <div class="ar-buttons">
+                    <span class="only-desktop">${null==(i=this.modalTexts)?void 0:i.alternative}</span>
+                    <a target="_blank" id="url" href="#" @click=${e=>this.onOpenClick(e)}>
+                        <fv-button class="bordered image-button">${null==(o=this.modalTexts)?void 0:o.open}
+                        </fv-button>
+                    </a>
+                </div>
+            </div>
+        `)}updated(e){var t;super.updated(e),this.shadowRoot&&(null==(t=this.shadowRoot.querySelectorAll(".ar-qrcode-information"))||t.forEach(e=>{e.querySelectorAll("li").forEach(e=>{e&&null!==e.textContent&&(0===e.textContent.length?e.classList.add("hidden"):e.classList.remove("hidden"))})}))}};NZ.styles=[((e,t)=>LZ(RZ(e),t,e))(NZ,"styles")||[],$k`${yk(IZ)}`],PZ([dk("#url")],NZ.prototype,"url",2),PZ([dk("#qrCode")],NZ.prototype,"qrCode",2),PZ([lk({type:Object})],NZ.prototype,"modalTexts",2),NZ=PZ([sk("fv-ar-modal")],NZ);var FZ=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{height:100%;position:absolute;width:100%}.content .container{display:flex}.content .container h1{margin-bottom:52px;margin-left:22px;width:100%}.content .container .text{line-height:2rem}.content .container .step-container{flex:1;flex-basis:40%;width:615px}.content .container .step-container .steps{display:flex}.content .container .step-container .steps ::slotted(*),.content .container .step-container .steps slot>*{text-align:center}.content .container .step-container .step-content{display:flex}.content .container .step-container .step-content ::slotted(div),.content .container .step-container .step-content slot>div{display:none;margin:27px;width:100%}.content .container .step-container .step-content ::slotted(.active),.content .container .step-container .step-content slot>div.active{display:grid}.content .container .info-container{flex:1;flex-basis:min-content;width:300px}.content .container .info-container .current-scene-image{background-position:50%;background-repeat:no-repeat;background-size:contain;height:250px}`,OZ=Object.defineProperty,BZ=Object.getOwnPropertyDescriptor,UZ=Object.getPrototypeOf,VZ=Reflect.get,zZ=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?BZ(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&OZ(t,r,o),o};let HZ=class extends BY{constructor(){super(),this.image=""}changeStep(e){if(e&&this.shadowRoot){const t=this.querySelectorAll("fv-modal-step");if(t&&t.length>0){const r=Array.from(t).some(t=>t.id===e);if(r){const r=this.querySelector(`fv-modal-step#${e}`);t.forEach(e=>e.active=!1),r.changeStep()}}}}render(){return super.build(Zk`
+            <div class="container">
+                <div class="step-container">
+                    <h1><slot name="main-titel" i18n="remember">Merken</slot></h1>
+                    <div class="steps">
+                        <slot name="steps"></slot>
+                    </div>
+                    <div class="step-content">
+                        <slot name="stepContent"></slot>
+                    </div>
+                </div>
+                <div class="info-container">
+                    <h1><slot name="side-titel" i18n="your_selection">Ihre Auswahl</slot></h1>
+                    <div class="text"><slot name="side-text"></slot></div>
+                    <div class="current-scene-image" style="background-image: url('${this.image}')">
+                    </div>
+                </div>
+            </div>
+        `)}};HZ.styles=[((e,t)=>VZ(UZ(e),t,e))(HZ,"styles")||[],$k`${yk(FZ)}`],zZ([lk()],HZ.prototype,"image",2),HZ=zZ([sk("fv-info-modal")],HZ);var GZ=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{height:100%;position:absolute;width:100%}:host .content .options-container{align-content:center;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:center}:host .content .controls-container{align-content:center;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:center}`,jZ=Object.defineProperty,JZ=Object.getOwnPropertyDescriptor,WZ=Object.getPrototypeOf,QZ=Reflect.get,qZ=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?JZ(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&jZ(t,r,o),o};let YZ=class extends BY{constructor(){super(),this.settings={options:{},"template-selector":""}}hide(){this.active=!1,this.dispatchEvent(new XZ)}buildContent(e){const t=this.settings["template-selector"]&&this.settings["template-selector"].length>0?this.settings["template-selector"]:this.getAttribute("option-template-selector"),r=this.querySelector(t||"");if(!r)return super.build(Zk`<div class="options-container" part="options-container"></div>`);const n=r.innerHTML,i=Object.keys(this.settings.options),o=super.build(Zk`
+            <div class="options-container" part="options-container">
+                ${i.map(e=>Zk`
+                    <div class="option" id="${e}" option="${e}" @click="${this.createOptionClick(e)}">
+                        ${this.createOption(e,n)}
+                    </div>
+                `)}
+            </div>
+            ${e}
+        `);return this.dispatchEvent(new KZ),o}render(){return this.buildContent(Zk``)}createOption(e,t){const r=this.settings.options[e];let n=t;const i=Object.keys(r.replacers);for(const e of i){const t=n.split(e);n=t.join(r.replacers[e])}return document.createRange().createContextualFragment(n)}removeIndicationFromAllChildren(e,t){for(let r=0;r<e.children.length;++r){const n=e.children[r];n.classList.remove(t),n.part.remove(t),this.removeIndicationFromAllChildren(n,t)}}addIndicationToAllChildren(e,t){for(let r=0;r<e.children.length;++r){const n=e.children[r];n.classList.add(t),n.part.add(t),this.addIndicationToAllChildren(n,t)}}createOptionClick(e){return()=>{var t;const r=null==(t=this.shadowRoot)?void 0:t.querySelector("#"+e);if(!r)return;this.setAttribute("selected-option",e),this.dispatchEvent(new ZZ({key:e,option:this.settings.options[e],"option-element":r}));const n=this.shadowRoot?this.shadowRoot.querySelector(".options-container"):null;if(n){n.querySelectorAll(".option").forEach(e=>{const t=e;t.classList.remove("active"),t.part.remove("option-active"),this.removeIndicationFromAllChildren(t,"active")})}r.classList.add("active"),r.part.add("option-active"),this.addIndicationToAllChildren(r,"active")}}};YZ.styles=[((e,t)=>QZ(WZ(e),t,e))(YZ,"styles")||[],$k`${yk(GZ)}`],qZ([lk()],YZ.prototype,"settings",2),YZ=qZ([sk("fv-option-selection-modal")],YZ);class XZ extends CustomEvent{constructor(){super("option-selection-options-hidden",{detail:{},bubbles:!0})}}class KZ extends CustomEvent{constructor(){super("option-selection-options-created",{detail:{},bubbles:!0})}}class ZZ extends CustomEvent{constructor(e){super("option-selection-option-clicked",{detail:e,bubbles:!0})}}var e0=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{background:var(--action-button-background,var(--primary-color,red));border-radius:var(--action-button-border-radius,unset);color:var(--action-button-text-color,var(--primary-button-text-color,#fff));font-size:1em;overflow:hidden}:host:hover{background:var(--action-button-hover-background,var(--action-button-background,var(--primary-color,red)));color:var(--action-button-hover-text-color,var(--action-button-text-color,var(--primary-button-text-color,#fff)))}:host [class*=fv-icon]:before{font-size:1em!important}`,t0=Object.getPrototypeOf,r0=Reflect.get;const n0=class extends FT{constructor(){super()}build(e){return Zk`
+            <fv-button class="action-button cover">
+                ${e}
+            </fv-button>
+        `}};let i0=n0;i0.styles=[((e,t)=>r0(t0(e),t,e))(n0,"styles")||[],$k`${yk(e0)}`];var o0=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}`,s0=Object.defineProperty,a0=Object.getOwnPropertyDescriptor,l0=Object.getPrototypeOf,c0=Reflect.get,u0=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?a0(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&s0(t,r,o),o};let d0=class extends i0{constructor(){super(),this.targetInfo={tag:"",query:""},this.scrollTolerance=10}targetScroll(e){e?e.scrollTop<this.scrollTolerance?this.hideElement=!0:this.hideElement=!1:this.hideElement=!0}get ScrollTarget(){return this.targetInfo.tag&&this.targetInfo.tag.length>0?yT.find(this.targetInfo.tag,this.targetInfo.query):this.targetInfo.query&&this.targetInfo.query.length>0?document.querySelector(this.targetInfo.query):void console.error("show-on-target-scrollable-action-button> targetInfo invalid! target-info:",this.targetInfo)}attributeChangedCallback(e,t,r){if(super.attributeChangedCallback(e,t,r),"target-info"===e){const e=this.ScrollTarget;e?e.addEventListener("scroll",e=>{this.targetScroll(e.target)}):console.error("show-on-target-scrollable-action-button> no target found! target-info:",this.targetInfo),this.targetScroll(e)}}render(){return this.build(Zk`<slot></slot>`)}};d0.styles=[((e,t)=>c0(l0(e),t,e))(d0,"styles")||[],$k`${yk(o0)}`],u0([lk({type:Object,reflect:!0,attribute:"target-info"})],d0.prototype,"targetInfo",2),u0([lk({type:Number,reflect:!0,attribute:"scroll-tolerance"})],d0.prototype,"scrollTolerance",2),d0=u0([sk("fv-show-on-target-scrollable-action-button")],d0);var h0=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{position:var(--card-container-position,relative)}:host .back-button{left:0;position:absolute;top:0}`,p0=Object.defineProperty,m0=Object.getOwnPropertyDescriptor,_0=Object.getPrototypeOf,g0=Reflect.get,f0=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?m0(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&p0(t,r,o),o},v0=(e,t)=>g0(_0(e),t,e);let b0=class extends CW{constructor(e=!0){super(e)}};b0.styles=[v0(b0,"styles")||[],$k`${yk(h0)}`],b0=f0([sk("fv-card-container")],b0);let y0=class extends CW{constructor(){super(),this.filter=new uW}};y0.styles=[v0(y0,"styles")||[],$k`${yk(h0)}`],y0=f0([sk("fv-filter-card-container")],y0);var $0=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{position:var(--card-container-position,relative)}:host .back-button{left:0;position:absolute;top:0}`,x0=Object.defineProperty,S0=Object.getOwnPropertyDescriptor,w0=Object.getPrototypeOf,A0=Reflect.get,C0=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?S0(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&x0(t,r,o),o};let E0=class extends CW{constructor(){super(),this.refetchOnClick=!1,this.refreshOnClick=!1,this.doNotFillFilterFromNextLevel=!1,this.activeRootOption="",this.lastClickedCard=void 0,this.filter=new uW,this.States.PreventAppConnectionClick=!0,this.addEventListener("cardclick",e=>{e.detail&&e.detail.data&&e.detail.data.click&&(this.lastClickedCard=e.detail.data,this.Select(e.detail.data))}),this.addEventListener(TG.CardContainerPostFill,()=>{this.renderRoot.querySelectorAll("[level]").forEach(e=>{const t=e.getAttribute("level");t!=this.Settings.Fetch["root-level"]&&(e.hideElement=t!=this.ActiveRootOption)}),this.PurgeDisabledFromSelectionResultFilter()}),this.addEventListener(TG.Back,()=>{var e;this.lastClickedCard&&this.lastClickedCard.click&&(null==(e=this.filter)||e.Remove(this.lastClickedCard.click["level-key"])),this.hideElement=!1}),this.addEventListener(TG.UpdateAdditionalData,e=>{if(null==e.detail)return;if(null==this.lastClickedCard||null==this.lastClickedCard.txt)return;if(this.lastClickedCard.txt.title)return void this.AdditionalData.Set(e.detail,this.lastClickedCard.txt.title);const t=Object.keys(this.lastClickedCard.txt);if(null==t||t.length<1)return;const r=t.at(0);null!=r&&this.AdditionalData.Set(e.detail,this.lastClickedCard.txt[r])})}get ActiveRootOption(){return this.activeRootOption}set ActiveRootOption(e){this.activeRootOption=e,this.requestUpdate()}Select(e){if(e.click&&this.CardData&&this.filter){const t=e.click["level-key"],r=e.click["next-level-key"];if(t==this.Settings.Fetch["root-level"]){if(this.CardData&&this.CardData.size<2)return;const e=this.ActiveRootOption!=r;if(this.filter.Reset(!0,this.Context),this.ActiveRootOption=e?r:"",e&&!this.doNotFillFilterFromNextLevel){const e=this.CardData.get(r);if(e)for(const t of e.cards)t.click&&this.filter.Add(t.click["level-key"])}this.refreshOnClick&&GG.WaitForAllCardContainerFetchPromises().then(()=>{EW.RefreshAll(this.refetchOnClick,!1)})}else 0!=e.disabled&&null!=e.disabled||(this.filter.Toggle(t),this.refreshOnClick&&(EW.RefreshAll(this.refetchOnClick,!1),GG.WaitForAllCardContainerFetchPromises().then(()=>{EW.RefreshAll(this.refetchOnClick,!1)})))}}PurgeDisabledFromSelectionResultFilter(){return e=this,t=null,r=function*(){yield GG.WaitForAllCardContainerFetchPromises(),this.CheckFetchPromise();const e=this.CardData;if(e&&this.filter)for(const t of e)for(const e of t[1].cards)e.disabled&&e.click&&e.click["level-key"]&&this.filter.Remove(e.click["level-key"])},new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});var e,t,r}CreateCards(e){const t=super.CreateCards(e);if(t.size<2)return t;const r=t.get(this.settings.Fetch["root-level"]);if(null==r)return t;for(const e of r.cards)null!=e.click&&e.click["next-level-key"]==this.ActiveRootOption&&(e.active=!0);return t}};E0.styles=[((e,t)=>A0(w0(e),t,e))(E0,"styles")||[],$k`${yk($0)}`],C0([lk({type:Boolean,reflect:!0,attribute:"refetch-on-click"})],E0.prototype,"refetchOnClick",2),C0([lk({type:Boolean,reflect:!0,attribute:"trigger-refresh-on-click"})],E0.prototype,"refreshOnClick",2),C0([lk({type:Boolean,reflect:!0,attribute:"do-not-fill-filter-from-next-level"})],E0.prototype,"doNotFillFilterFromNextLevel",2),E0=C0([sk("fv-root-level-selection-card-container")],E0);var I0=Object.defineProperty,M0=Object.getOwnPropertyDescriptor,k0=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?M0(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&I0(t,r,o),o},T0=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});let R0=class extends CW{constructor(){super(),this.lastClickedIsSelectionFilter=!1,this.overwriteToggleContainerSlotName="",this.refreshTargets=new Array,this.cardContainersToCreate={tag:"",settings:void 0,"fetch-parameters":void 0,"style-vars":{},modules:new Array,classes:new Array},this.cardContainersToCloseOnOpen=new Array,this.cardAccordionEvents={},this.cardToOpenAfterFill="",this.cardToOpenShowedOnce=!1,this.open=void 0,this.cardCreator=new gW,this.addEventListener("cardclicked",e=>T0(this,null,function*(){if(null==e)return;const t=e;if(t.target&&t.target!=this)return;if(t.detail&&t.detail.data&&t.detail.data.click&&t.detail.data.click["level-key"]&&(this.open==t.detail.data.click["level-key"]?(this.open=void 0,this.triggerCloseEvents(t.detail.data.click)):(this.open=e.detail.data.click["level-key"],this.triggerOpenEvents(t.detail.data.click))),!this.lastClickedIsSelectionFilter)return;if(null==e.detail)return;if(null==e.detail.data||null==e.detail.data.click||null==e.detail.data.click["level-key"])return;if(null==this.Filter)return;const r=this.Filter.Filter.includes(e.detail.data.click["level-key"]);this.Filter.Reset(!0,this.Context),0==r&&(this.Filter.Strategy=EG.OR,this.Filter.Add(e.detail.data.click["level-key"])),this.refreshTargets.forEach(e=>{EW.Refetch(e)})})),EventFactoryService.LastPOLoaded.register(()=>{null!=this.cardAccordionEvents["on-last-po-loaded"]&&window.dispatchEvent(new cG({async:!1,events:this.cardAccordionEvents["on-last-po-loaded"]}))}),this.addEventListener(TG.CardContainerPostFill,()=>{this.openItem()})}get Open(){return this.open}triggerCloseEvents(e){null!=this.cardAccordionEvents["on-close"]&&(this.cardAccordionEvents["on-close"]=GG.PrepareClickedCardEventsData(this.cardAccordionEvents["on-close"],e),window.dispatchEvent(new cG({async:!1,events:this.cardAccordionEvents["on-close"]})))}triggerOpenEvents(e){null!=this.cardAccordionEvents["on-open"]&&(this.cardAccordionEvents["on-open"]=GG.PrepareClickedCardEventsData(this.cardAccordionEvents["on-open"],e),window.dispatchEvent(new cG({async:!1,events:this.cardAccordionEvents["on-open"]})))}findContainers(e){const t=new Array;if(this.shadowRoot){this.shadowRoot.querySelectorAll(e).forEach(e=>{e.parentNode==this.shadowRoot&&t.push(e)})}return t}updated(e){super.updated(e)}openItem(){return T0(this,null,function*(){if(!this.cardToOpenShowedOnce&&void 0===this.open&&this.cardToOpenAfterFill&&""!==this.cardToOpenAfterFill&&(this.open=this.cardToOpenAfterFill,this.cardToOpenShowedOnce=!0),this.open&&this.cardContainersToCreate.tag.length>0){const e=this.findContainers("fv-accordion.accordion-container");for(const t of e){const e=t.querySelector('[level-identifier="'+this.open+'"]');if(e){const t=e.querySelector(this.cardContainersToCreate.tag);if(t){yield t.CheckFetchPromise(),yield t.updateComplete,e.open();const r=e.querySelector("fv-card");r&&r.data.click&&this.triggerOpenEvents(r.data.click)}}}}})}};k0([lk({type:Boolean,reflect:!0,attribute:"last-clicked-is-selection-filter"})],R0.prototype,"lastClickedIsSelectionFilter",2),k0([lk({type:String,reflect:!0,attribute:"overwrite-toggle-container-slot-name"})],R0.prototype,"overwriteToggleContainerSlotName",2),k0([lk({type:Array,reflect:!0,attribute:"refresh-targets"})],R0.prototype,"refreshTargets",2),k0([lk({type:Object,reflect:!0,attribute:"card-containers-to-create"})],R0.prototype,"cardContainersToCreate",2),k0([lk({type:Array,reflect:!0,attribute:"card-accordion-container-queries-to-close-on-open"})],R0.prototype,"cardContainersToCloseOnOpen",2),k0([lk({type:Object,reflect:!0,attribute:"card-accordion-events"})],R0.prototype,"cardAccordionEvents",2),k0([lk({type:String,reflect:!0,attribute:"card-to-open-after-fill"})],R0.prototype,"cardToOpenAfterFill",2),R0=k0([sk("fv-card-accordion-container")],R0);var L0=$k`:host{--slider-dimension:100%}`,P0=Object.defineProperty,D0=Object.getOwnPropertyDescriptor,N0=Object.getPrototypeOf,F0=Reflect.get,O0=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?D0(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&P0(t,r,o),o},B0=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});let U0=class extends CW{constructor(){super(),this.useCards=!1,this.maxEntries=void 0,this.checkDimensions="",this.onCardFilterEvents={},this.filter=new uW,this.cardCreator=new _W,this.addEventListener(TG.ResetFilter,e=>{this._state=void 0,this.requestUpdate()}),this.addEventListener(TG.CardContainerPostFill,()=>{this.CardCreator.Dimensions&&0!=this.CardCreator.Dimensions.length?this.classList.remove("empty"):this.classList.add("empty"),this.checkAllDimensionFilters()}),this.addEventListener("cardclicked",()=>{this.CheckFetchPromise().then(()=>{this.updateComplete.then(()=>{GG.Containers.forEach(e=>{e.Refetch()})})})})}get CardCreator(){return this.cardCreator}firstUpdated(e){this.refetch=!0,this.addEventListener("change",this.sliderChanged,!1),super.firstUpdated(e)}sliderChanged(e){return B0(this,null,function*(){if(null==e.detail)return;const{value:t,range:r,actionElement:n}=e.detail;n||(this._state=t,yield this.setFilterValues(t))})}setFilter(e){if(null!=this.Filter){this.Filter.Reset(!1,this.Context);for(const t of e)this.Filter.Add(t);this.Filter.Strategy=EG.OR}}setFilterValues(e){return B0(this,null,function*(){const t=this.Settings.Fetch.parameters.dimension;let r;t&&this.Filter&&(this.Filter.AdditionalParams={"filter-type":"dimension",dimension:t}),r="number"==typeof e?this.CardCreator.ActiveDimensions.filter(t=>t!=e).map(e=>e):this.CardCreator.ActiveDimensions.filter(t=>!(t<e.min||t>e.max)).map(e=>e),this.setFilter(r),window.dispatchEvent(new cG({async:!1,events:[{id:"refresh-all-card-containers",data:{refetch:this.refetch,"include-hidden":this.refreshHidden,"selection-result-filter-reset-targets":this.refreshFilter,"selection-result-filter-reset-excludes":this.refreshExclude}}]})),yield this.CheckFetchPromise(),yield this.updateComplete})}checkAllDimensionFilters(){return B0(this,null,function*(){if(void 0===this.maxEntries)return;if(void 0===this.checkDimensions||""===this.checkDimensions)return;yield GG.WaitForAllCardContainerFetchPromises();const e=yT.findAll("fv-card-slider-filter",this.checkDimensions);let t=!1;for(const r of e)t||(t=r.CardCreator.Dimensions.length>0),this.CardCreator.Dimensions.length>this.maxEntries&&(r.onCardFilterEvents&&void 0!==r.onCardFilterEvents["over-max"]&&window.dispatchEvent(new cG({async:!1,events:r.onCardFilterEvents["over-max"]})),r.classList.add("hidden"));if(!1===t)for(const t of e)t.onCardFilterEvents&&void 0!==t.onCardFilterEvents["on-empty"]&&window.dispatchEvent(new cG({async:!1,events:t.onCardFilterEvents["on-empty"]}))})}getBaseSliderState(e,t){const r=new xz;return r.innerHTML='\n            <div class=\'input-container\' slot=\'min\'>\n                <fv-label style="display: inline" i18n="fv.right.panel.catalogue.dimensions.from"></fv-label>\n                <fv-input style="width: 50%; position: relative" type=\'number\' class=\'sliderValue\'>\n                    <fv-label style="position: absolute; top: -11px; left: 5px; background: white; padding: 0 5px; font-size: 14px" i18n="webcab.Unit"></fv-label>\n                </fv-input>\n            </div>\n            <div class="input-container" slot=\'max\'>\n                <fv-label style="display: inline" i18n="fv.right.panel.catalogue.dimensions.to"></fv-label>\n                <fv-input style="width: 50%; position: relative" type=\'number\' class=\'sliderValue\'>\n                    <fv-label style="position: absolute; top: -11px; left: 5px; background: white; padding: 0 5px; font-size: 14px" i18n="webcab.Unit"></fv-label>\n                </fv-input>\n            </div>\n        ',r.FormatDisplayValueFunction=e=>(e/10).toString(),r.Range={min:Math.min(...e),max:Math.max(...e)},this._state&&(r.Value=this._state),r}};U0.styles=[((e,t)=>F0(N0(e),t,e))(U0,"styles")||[],yk(L0)],O0([lk({type:Array,reflect:!0})],U0.prototype,"refreshFilter",2),O0([lk({type:Array,reflect:!0})],U0.prototype,"refreshExclude",2),O0([lk({type:Boolean,reflect:!0})],U0.prototype,"refreshHidden",2),O0([lk({type:Boolean,reflect:!0})],U0.prototype,"refetch",2),O0([lk({type:Object,reflect:!0,attribute:"state"})],U0.prototype,"_state",2),O0([lk({type:Boolean,reflect:!0,attribute:"use-cards"})],U0.prototype,"useCards",2),O0([lk({type:Number,reflect:!0,attribute:"max-entries"})],U0.prototype,"maxEntries",2),O0([lk({type:String,reflect:!0,attribute:"check-dimensions"})],U0.prototype,"checkDimensions",2),O0([lk({type:Object,reflect:!0,attribute:"on-filter-events"})],U0.prototype,"onCardFilterEvents",2),U0=O0([sk("fv-card-slider-filter")],U0);var V0=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{align-items:var(--card-container-back-button-align-items,center);background:var(--card-container-back-button-background,unset);cursor:var(--card-container-back-button-cursor,pointer);display:flex;gap:var(--card-container-back-button-gap,16px);justify-content:var(--card-container-back-button-justify-content,flex-start)}:host fv-button{aspect-ratio:var(--card-container-back-button-icon-aspect-ratio,1/1);background:var(--card-container-back-button-icon-background,unset);border-radius:var(--card-container-back-button-icon-radius,50%);overflow:hidden}`,z0=Object.defineProperty,H0=Object.getOwnPropertyDescriptor,G0=Object.getPrototypeOf,j0=Reflect.get,J0=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?H0(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&z0(t,r,o),o};let W0=class extends FT{constructor(){super(),this.icon="",this.txt="",this.targets=new Array,this.events={},this.postClickEvents=new Array,this.addEventListener("click",()=>{return e=this,t=null,r=function*(){yield GG.WaitForAllCardContainerFetchPromises(),this.hideElement=!0;let e,t=0;for(const r of this.Targets)r.element.hideElement&&(++t,r["partial-hide-limit-back-to-last"]&&(e=r.element));if(null==e||t==this.Targets.length)for(const e of this.Targets)e["hidden-prevents-back"]&&e.element.hideElement||e.element.dispatchEvent(new OG);else e.dispatchEvent(new OG);window.dispatchEvent(new cG({async:!1,events:this.postClickEvents}))},new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});var e,t,r}),this.addHideStateUpdatedEventListener(e=>{e?this.events.hide&&window.dispatchEvent(new cG({async:!1,events:this.events.hide})):this.events.show&&window.dispatchEvent(new cG({async:!1,events:this.events.show}))})}get Targets(){const e=new Array;for(const t of this.targets){const r=yT.findAll(t.tag,t.query);for(const n of r)e.push({element:n,"hidden-prevents-back":null!=t["hidden-prevents-back"]&&t["hidden-prevents-back"],"partial-hide-limit-back-to-last":null!=t["partial-hide-limit-back-to-last"]&&t["partial-hide-limit-back-to-last"],"txt-src-prio":t["txt-src-prio"]})}return e}get TextSourceTarget(){const e=this.Targets;let t;for(const r of e)if(null!=r["txt-src-prio"]){if(null==t){t=r;continue}t["txt-src-prio"]>r["txt-src-prio"]&&(t=r)}return t?t.element:void 0}get Text(){let e=LY.ncrToUTF8(this.txt);const t=this.TextSourceTarget;return t&&(e=LY.ncrToUTF8(t.AdditionalData.Get("back-button-txt",this.txt))),LocalesModel.translate(e,e)}render(){return Zk`
+            <fv-button icon="${this.icon}"></fv-button>
+            <slot name="before"></slot>
+            <fv-label class="custom-size">${this.Text}</fv-label>
+            <slot></slot>
+        `}static HideStateUpdate(){const e=yT.findAll("fv-card-container-back-button");for(const t of e){const e=t.Targets;if(null==e||e.length<1){t.hideElement=!0,console.error("card-container-back-button unconnected!",t,e);continue}let r=!1;for(const t of e)if(t.element.AdditionalData.Get("show-back-button",!1)){r=!0;break}t.hideElement=!r,t.requestUpdate()}}};W0.styles=[((e,t)=>j0(G0(e),t,e))(W0,"styles")||[],$k`${yk(V0)}`],J0([lk({type:String,reflect:!0})],W0.prototype,"icon",2),J0([lk({type:String,reflect:!0})],W0.prototype,"txt",2),J0([lk({type:Array,reflect:!0,attribute:"targets"})],W0.prototype,"targets",2),J0([lk({type:Object,reflect:!0,attribute:"events"})],W0.prototype,"events",2),J0([lk({type:Array,reflect:!0,attribute:"post-click-events"})],W0.prototype,"postClickEvents",2),W0=J0([sk("fv-card-container-back-button")],W0);var Q0=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{align-items:var(--card-align-items,center);aspect-ratio:var(--card-aspect-ratio,1/1);background:var(--card-background,#fff);border:var(--card-border,unset);border-radius:var(--card-border-radius,unset);box-shadow:var(--card-box-shadow,unset);color:var(--card-text-color,var(--primary-color,red));cursor:var(--card-cursor,pointer);display:flex;flex-direction:var(--card-flex-direction,column);font-size:var(--card-font-size,unset);justify-content:var(--card-justify-content,center);margin:var(--card-margin,unset);max-height:var(--card-max-height,initial);max-width:var(--card-max-width,initial);min-height:var(--card-min-height,initial);min-width:var(--card-min-width,initial);overflow:hidden;padding:var(--card-padding,unset);position:relative;width:var(--card-width,15vw)}:host(:hover){background:var(--card-hover-background,var(--card-background,#fff));border:var(--card-hover-border,var(--card-border,unset));border-radius:var(--card-hover-border-radius,var(--card-border-radius,unset));box-shadow:var(--card-hover-box-shadow,var(--card-box-shadow,unset));color:var(--card-hover-text-color,var(--card-text-color,var(--primary-color,red)));font-size:var(--card-hover-font-size,var(--card-font-size,unset));margin:var(--card-hover-margin,var(--card-margin,unset));padding:var(--card-hover-padding,var(--card-padding,unset))}:host(.active){background:var(--card-active-background,var(--card-background,#fff));border:var(--card-active-border,var(--card-border,unset));border-radius:var(--card-active-border-radius,var(--card-border-radius,unset))}:host(.active:hover){background:var(--card-active-hover-background,var(--card-active-background,var(--card-background,#fff)));border:var(--card-active-hover-border,var(--card-active-border,var(--card-border,unset)));border-radius:var(--card-active-hover-border-radius,var(--card-active-border-radius,var(--card-border-radius,unset)))}:host(.disabled-card){background:var(--card-disabled-background,var(--card-background,#fff));border:var(--card-disabled-border,var(--card-border,unset));border-radius:var(--card-disabled-border-radius,var(--card-border-radius,unset))}:host(.disabled-card:hover){background:var(--card-disabled-hover-background,var(--card-disabled-background,var(--card-background,#fff)));border:var(--card-disabled-hover-border,var(--card-disabled-border,var(--card-border,unset)));border-radius:var(--card-disabled-hover-border-radius,var(--card-disabled-border-radius,var(--card-border-radius,unset)))}:host(.zoom-on-hover){transform:scale(1);transition:transform var(--card-hover-zoom-transition-time,.7s)}:host(.zoom-on-hover:hover){transform:scale(var(--card-hover-zoom,1.3))!important}:host(.grid-card){display:grid;gap:var(--grid-card-gap,0);grid-template-columns:var(--grid-card-columns,repeat(var(--grid-card-auto-column-count,4),calc(100%/var(--grid-card-auto-column-count, 4))));grid-template-rows:var(--grid-card-rows,unset)}@media (width <= 520px){:host(.grid-card){display:grid;gap:var(--grid-card-mobile-gap,var(--grid-card-gap,0));grid-template-columns:var(--grid-card-mobile-columns,repeat(var(--grid-card-mobile-auto-column-count,var(--grid-card-auto-column-count,4)),calc(100%/var(--grid-card-mobile-auto-column-count, var(--grid-card-auto-column-count, 4)))));grid-template-rows:var(--grid-card-mobile-rows,var(--grid-card-rows,unset))}:host{aspect-ratio:var(--card-mobile-aspect-ratio,var(--card-aspect-ratio,1/1));max-height:var(--card-mobile-max-height,var(--card-max-height,initial));max-width:var(--card-mobile-max-width,var(--card-max-width,initial));min-height:var(--card-mobile-min-height,var(--card-min-height,initial));min-width:var(--card-mobile-min-width,var(--card-min-width,initial));padding:var(--card-mobile-padding,var(--card-padding,unset))}:host(:hover){padding:var(--card-mobile-hover-padding,var(--card-mobile-padding,var(--card-padding,unset)))}}@media (width >= 520px) and (width <= 980px){:host(.grid-card){display:grid;gap:var(--grid-card-mobile-gap,var(--grid-card-gap,0));grid-template-columns:var(--grid-card-mobile-columns,repeat(var(--grid-card-mobile-auto-column-count,var(--grid-card-auto-column-count,4)),calc(100%/var(--grid-card-mobile-auto-column-count, var(--grid-card-auto-column-count, 4)))));grid-template-rows:var(--grid-card-mobile-rows,var(--grid-card-rows,unset))}:host{aspect-ratio:var(--card-mobile-aspect-ratio,var(--card-aspect-ratio,1/1));max-height:var(--card-mobile-max-height,var(--card-max-height,initial));max-width:var(--card-mobile-max-width,var(--card-max-width,initial));min-height:var(--card-mobile-min-height,var(--card-min-height,initial));min-width:var(--card-mobile-min-width,var(--card-min-width,initial));padding:var(--card-mobile-padding,var(--card-padding,unset))}:host(:hover){padding:var(--card-mobile-hover-padding,var(--card-mobile-padding,var(--card-padding,unset)))}}:host{--icon-width:var(--card-icon-width,100%);--icon-height:var(--card-icon-height,100%);flex:var(--card-content-flex,initial);overflow:var(--card-content-overflow,hidden)}:host .img-container{aspect-ratio:var(--card-img-aspect-ratio,initial);border:var(--card-img-border,initial);bottom:var(--card-img-bottom,initial);height:var(--card-img-height,70%);left:var(--card-img-left,initial);order:var(--card-order-img,0);position:var(--card-img-position,relative);right:var(--card-img-right,initial);top:var(--card-img-top,initial);width:var(--card-img-width,100%)}:host .img-container .img{aspect-ratio:var(--card-img-aspect-ratio,initial);height:100%;width:100%}:host .img-container .tooltip-button{background:var(--card-tooltip-background,transparent);bottom:var(--card-tooltip-button-bottom,3px);color:var(--card-tooltip-color,var(--card-txt-text-color,var(--card-text-color,var(--card-text-color,var(--primary-color,red)))));height:var(--card-tooltip-button-height,1em);left:var(--card-tooltip-button-left,initial);padding:var(--card-tooltip-button-padding,.25em);position:absolute;right:var(--card-tooltip-button-right,3px);text-align:center;top:var(--card-tooltip-button-top,initial);width:var(--card-tooltip-button-width,1em)}:host .card-content{border-bottom:var(--card-content-border-bottom,unset);display:var(--card-content-display,unset);flex-direction:var(--card-content-flex-direction,unset);height:var(--card-content-height,unset);justify-content:var(--card-content-justify-content,unset);margin:var(--card-content-margin,unset);order:var(--card-order-content,1);padding:var(--card-content-padding,unset);position:relative;width:var(--card-content-width,100%)}:host .card-content>*{margin:var(--card-content-element-margin,unset);padding:var(--card-content-element-padding,unset)}:host .card-content .dimensions{order:var(--card-order-dimensions,0)}:host .card-content .text-container{margin:var(--card-text-container-margin,unset);order:var(--card-text-container-order,1);padding:var(--card-text-container-padding,unset)}:host .card-content .text{display:flex}:host .card-content .text.title{align-items:var(--card-title-align-items,var(--card-text-align-items,var(--card-align-items,center)));color:var(--card-title-text-color,var(--card-text-color,var(--card-text-color,var(--primary-color,red))));font-size:var(--card-title-font-size,var(--card-font-size,unset));font-weight:var(--card-title-font-weight,var(--card-font-weight,unset));justify-content:var(--card-title-justify-content,var(--card-text-justify-content,var(--card-justify-content,center)));order:var(--card-order-title,1);padding:var(--card-title-padding,var(--card-text-padding,unset))}:host .card-content .text.subtitle{align-items:var(--card-subtitle-align-items,var(--card-text-align-items,var(--card-align-items,center)));color:var(--card-subtitle-text-color,var(--card-text-color,var(--card-text-color,var(--primary-color,red))));font-size:var(--card-subtitle-font-size,var(--card-font-size,unset));font-weight:var(--card-subtitle-font-weight,var(--card-font-weight,unset));justify-content:var(--card-subtitle-justify-content,var(--card-text-justify-content,var(--card-justify-content,center)));order:var(--card-order-subtitle,2);padding:var(--card-subtitle-padding,var(--card-text-padding,unset))}:host .card-content .text.txt{align-items:var(--card-txt-align-items,var(--card-text-align-items,var(--card-align-items,center)));color:var(--card-txt-text-color,var(--card-text-color,var(--card-text-color,var(--primary-color,red))));font-size:var(--card-txt-font-size,var(--card-font-size,unset));font-weight:var(--card-txt-font-weight,var(--card-font-weight,unset));justify-content:var(--card-txt-justify-content,var(--card-text-justify-content,var(--card-justify-content,center)));order:var(--card-order-txt,3);padding:var(--card-txt-padding,var(--card-text-padding,unset))}:host .card-content .text.tooltip{padding:var(--card-tooltip-padding,.5em);text-align:var(--card-tooltip-text-align,center)}:host .card-content .tooltip-container{background:var(--card-tooltip-background,transparent);bottom:var(--card-tooltip-speech-bubble-position-bottom,initial);clip-path:var(--card-tooltip-speech-bubble-path,polygon(0 var(--card-tooltip-speech-bubble-default-arrow-size,23px),var(--card-tooltip-speech-bubble-default-arrow-size,23px) 0,calc(var(--card-tooltip-speech-bubble-default-arrow-size, 23px)*2) var(--card-tooltip-speech-bubble-default-arrow-size,23px),100% var(--card-tooltip-speech-bubble-default-arrow-size,23px),100% 0,100% 100%,0 100%));color:var(--card-tooltip-color,var(--card-txt-text-color,var(--card-text-color,var(--card-text-color,var(--primary-color,red)))));display:none;left:var(--card-tooltip-speech-bubble-position-left,calc(50% - var(--card-tooltip-speech-bubble-default-arrow-size, 23px)));position:var(--card-tooltip-position,absolute);right:var(--card-tooltip-speech-bubble-position-right,initial);top:var(--card-tooltip-speech-bubble-position-top,calc(100% + var(--card-tooltip-speech-bubble-default-offset-top, 2px)));width:var(--card-tooltip-speech-bubble-width,125%);z-index:999}:host .card-content .prices{order:var(--card-order-prices,2)}:host .free{position:absolute}:host .free.button-container{bottom:var(--card-button-container-bottom,5px);left:var(--card-button-container-left,unset);right:var(--card-button-container-right,5px);top:var(--card-button-container-top,unset)}:host .free.additional{bottom:var(--card-additional-bottom,unset);left:var(--card-additional-left,5px);right:var(--card-additional-right,unset);top:var(--card-additional-top,5px)}:host(.show-tooltip) .card-content .tooltip-container{display:block}:host(.show-tooltip) .img-container .tooltip-button{border:var(--card-active-img-border,var(--card-img-border,initial))}:host(.show-tooltip-static) .card-content .tooltip-container{display:block}:host(.show-tooltip-static) .img-container .tooltip-button{border:var(--card-active-img-border,var(--card-img-border,initial))}:host(.active){border:var(--card-active-border,unset)}:host(.active) .text.title{color:var(--title-active-text-color,var(--card-title-text-color,var(--card-text-color,var(--card-text-color,var(--primary-color,red)))))}:host(.active) .text{font-weight:var(--tile-active-font-weight,var(--card-active-font-weight,var(--card-font-weight,unset)))}:host(.active) .text.subtitle{color:var(--subtitle-active-text-color,var(--card-subtitle-text-color,var(--card-text-color,var(--card-text-color,var(--primary-color,red)))));font-weight:var(--subtile-active-font-weight,var(--card-active-font-weight,var(--card-font-weight,unset)))}:host(.active) .text.txt{color:var(--txt-active-text-color,var(--card-txt-text-color,var(--card-text-color,var(--card-text-color,var(--primary-color,red)))));font-weight:var(--txt-active-font-weight,var(--card-active-font-weight,var(--card-font-weight,unset)))}:host(.active) .img{border:var(--card-active-img-border,var(--card-img-border,initial))}:host(.disabled-card) .text.title{color:var(--title-disabled-text-color,var(--card-title-text-color,var(--card-text-color,var(--card-text-color,var(--primary-color,red)))))}:host(.disabled-card) .text.subtitle{color:var(--subtitle-disabled-text-color,var(--card-subtitle-text-color,var(--card-text-color,var(--card-text-color,var(--primary-color,red)))))}:host(.disabled-card) .text.txt{color:var(--txt-disabled-text-color,var(--card-txt-text-color,var(--card-text-color,var(--card-text-color,var(--primary-color,red)))))}:host(.no-icon){align-items:var(--no-icon-card-align-items,var(--card-align-items,center));aspect-ratio:var(--no-icon-card-aspect-ratio,var(--card-aspect-ratio,1/1));justify-content:var(--no-icon-card-justify-content,var(--card-justify-content,center))}:host(.grid-card) .img{grid-area:var(--grid-card-img-area,1/1/1/1)}:host(.grid-card) .card-content{grid-area:var(--grid-card-content-area,1/2/1/5)}`
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ * SPDX-License-Identifier: BSD-3-Clause
+ */;class q0 extends XT{constructor(e){if(super(e),this.et=tT,e.type!==qT)throw Error(this.constructor.directiveName+"() can only be used in child bindings")}render(e){if(e===tT||null==e)return this.ft=void 0,this.et=e;if(e===eT)return e;if("string"!=typeof e)throw Error(this.constructor.directiveName+"() called with a non-string value");if(e===this.et)return this.ft;this.et=e;const t=[e];return t.raw=t,this.ft={_$litType$:this.constructor.resultType,strings:t,values:[]}}}q0.directiveName="unsafeHTML",q0.resultType=1;const Y0=YT(q0);var X0=Object.defineProperty,K0=Object.getOwnPropertyDescriptor,Z0=Object.getPrototypeOf,e1=Reflect.get;let t1=class extends cW{makeTxtHtml(e,t){var r;return e&&e.length>0?Zk`<fv-label class="${t&&t.length>0?t:""}">${(null==(r=this.data)?void 0:r.translate)?LocalesModel.translate(e,e):e}</fv-label>`:Zk``}get txtHtml(){return this.data.txt?Zk`
+                ${this.makeTxtHtml(this.data.txt.title,"text title")}
+                ${this.makeTxtHtml(this.data.txt.subtitle,"text subtitle")}
+                ${this.makeTxtHtml(this.data.txt.txt,"text txt")}
+            `:Zk``}get tooltipHtml(){return this.data.tooltip&&this.data.txt&&this.data.txt.tooltip?Zk`${Y0('<div class="tooltip-container"><fv-label class="text tooltip">'+this.data.txt.tooltip+"</fv-label>")}`:Zk``}clickTooltipButton(e){e.stopPropagation(),e.stopImmediatePropagation(),e.preventDefault(),this.classList.toggle("show-tooltip-static")}mouseEnterTooltip(){this.classList.add("show-tooltip")}mouseLeaveTooltip(){this.classList.remove("show-tooltip")}get tooltipButtonHtml(){return this.data.tooltip&&this.data.txt&&this.data.txt.tooltip?Zk`<div class="tooltip-button" @click="${this.clickTooltipButton}" @mouseenter="${this.mouseEnterTooltip}" @mouseleave="${this.mouseLeaveTooltip}">?</div>`:Zk``}get iconHtml(){return(null==this.data.image||null==this.data.image.file||this.data.image.file.length<1)&&null==this.data.icon?(this.classList.add("no-icon"),Zk``):(this.classList.remove("no-icon"),Zk`
+            <div class="img-container">
+                <fv-icon class="img" part="img" src="${this.imageSrc}" icon="${this.data.icon?this.data.icon:""}"></fv-icon>
+                ${this.tooltipButtonHtml}
+            </div>
+        `)}get dimensionsHtml(){return null==this.data.dimensions||this.data.dimensions.length<1?Zk``:Zk` <fv-dimensions-information class="dimensions" part="dimensions" dimensions="${JSON.stringify(this.data.dimensions)}"></fv-dimensions-information>`}get priceHtml(){return null==this.data.price||null==this.data.price.uvp&&null==this.data.price.value?Zk``:Zk`<fv-price-display class="prices" part="prices" price="${JSON.stringify(this.data.price)}"></fv-price-display>`}render(){return this.mobile?(this.classList.add("mobile"),this.classList.remove("desktop")):(this.classList.add("desktop"),this.classList.remove("mobile")),Zk`
+            ${this.iconHtml}
+            <div class="card-content">
+                ${this.dimensionsHtml}
+                <div class="text-container">
+                    ${this.txtHtml}
+                </div>
+                ${this.tooltipHtml}
+                ${this.priceHtml}
+            </div>
+            <div class="free button-container">
+                <slot name="button"></slot>
+            </div>
+            <div class="free additional">
+                <slot name="additional"></slot>
+            </div>
+            ${super.render()}
+        `}};t1.styles=[((e,t)=>e1(Z0(e),t,e))(t1,"styles")||[],$k`${yk(Q0)}`],t1=((e,t,r,n)=>{for(var i,o=n>1?void 0:n?K0(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&X0(t,r,o),o})([sk("fv-card")],t1);var r1=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});class n1{constructor(){this._method=AG.NONE}get Method(){return this._method==AG.NONE&&console.error("BaseCardDataAppConnection> CardFetchMethod not set in impementation! Please use 'this.Method = CardFetchMethod.[?]' in implementation!"),this._method}set Method(e){this._method=e}CheckUpdate(e,t,r){return r1(this,null,function*(){return MG.NONE})}InteractionOnSelectionChange(e,t){}Fetch(e){return r1(this,null,function*(){return{}})}Filter(e,t,r){return e}CreateCards(e,t){return new Map}GetFormattedDragData(e,t){}Click(e,t){return r1(this,null,function*(){})}GetFilterSelectionAdditionalParams(e){}GetFilterSelectionStrategy(e){return EG.NONE}InitFilterSelectionParams(e){}}var i1=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});const o1=class extends n1{FetchArticles(e,t,r){return i1(this,null,function*(){if(e.settings.Fetch.parameters["only-specific-categories"]){const t=e.settings.Fetch.parameters["only-specific-categories"];if(t.length>0){const n=yield CommunicationMessageService.getArticleByCategories(e.settings.Fetch.manufacturer,e.settings.Fetch.program,t);return o1.fetchCache.set(r,{articles:n,"kata-pages":new Map,"kata-tree":{definedEquipmentFilterCategories:[],definedFilterCategories:[],FittingInfo:[],allKataPages:[],kataPages:[],distinctProgCatsFromDb:[]}}),{articles:n,"kata-pages":new Map,"kata-tree":{definedEquipmentFilterCategories:[],definedFilterCategories:[],FittingInfo:[],allKataPages:[],kataPages:[],distinctProgCatsFromDb:[]}}}}const n=yield CommunicationMessageService.getKataTreeJson({manufacturer:e.settings.Fetch.manufacturer,program:e.settings.Fetch.program}),i=new Array,o=e.settings.Fetch.parameters["kata-pages-to-show"];o&&(Array.isArray(o)?i.push(...o):o[e.settings.Fetch.program]&&i.push(...o[e.settings.Fetch.program]));const s=(yield xL.filterKataModules(n.kataPages)).sort((e,t)=>{var r,n;return(null!=(r=e.order)?r:9999)-(null!=(n=t.order)?n:9999)}),a=new Map;for(const e of s)(i.length<1||i.includes(e.id))&&e.id.includes("dhcat_")&&0==a.has(e.id)&&a.set(e.id,yield CommunicationMessageService.getKataPage(e.id.replace("dhcat_",""),""));const l=(e,t)=>{for(const r of t)if(e.includes(r))return!0;return!1},c=new Array;for(const e of a)if(e&&e[1]&&e[1].Modules)for(const r of e[1].Modules)for(let e of r.Articles){e=yield xL.filterArticlesList(e);for(const r of e)0==c.includes(r)&&(0==t.length||l(r.CatString,t))&&c.push(r)}return o1.fetchCache.set(r,{articles:c,"kata-pages":a,"kata-tree":n}),{articles:c,"kata-pages":a,"kata-tree":n}})}_Fetch(e,t,r){var n=e=>super[e];return i1(this,null,function*(){let i=o1.fetchCache.get(t);null==i&&(i=yield this.FetchArticles(e,r,t));const o=yield n("Fetch").call(this,e);return o.articles=i.articles,o["kata-pages"]=i["kata-pages"],o["kata-tree"]=i["kata-tree"],o})}Fetch(e){return i1(this,null,function*(){e.settings.Fetch.manufacturer=e.settings.Fetch.manufacturer&&e.settings.Fetch.manufacturer.length>0?e.settings.Fetch.manufacturer:yield wL.getManufacturer(),e.settings.Fetch.program=e.settings.Fetch.program&&e.settings.Fetch.program.length>0?e.settings.Fetch.program:yield wL.getProgram();const t=new Array,r=e.settings.Fetch.parameters["categories-to-show"],n=e.settings.Fetch.parameters["categories-to-hide"];if(r)if(Array.isArray(r))t.push(...r);else{const e=Object.keys(r);for(const n of e)r[n]&&t.push(...r[n])}const i=e.settings.Fetch.manufacturer+","+e.settings.Fetch.program+","+t.join(",")+","+window.LocalesModel.getLanguage();let o=o1.fetches.get(i);o||(o=this._Fetch(e,i,t),o1.fetches.set(i,o));const s=yield o;if(n&&s&&s.articles){let e=[];if(Array.isArray(n))e=n;else{const t=Object.keys(n);for(const r of t)n[r]&&e.push(...n[r])}s.articles=s.articles.filter(t=>{if(t.CatString)for(const r of e)if(t.CatString.includes(r))return!1;return!0})}return s})}Click(e,t){var r=e=>super[e];return i1(this,null,function*(){t.settings.Fetch.parameters["disabled-reset-selection"]&&e.disabled&&null!=t.filter&&t.filter.Reset(!0,t),yield r("Click").call(this,e,t)})}};let s1=o1;s1.fetchCache=new Map,s1.fetches=new Map;var a1=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});GG.RegisterAppConnection(new class extends s1{constructor(){super(),this.previousLastSelectedElement=void 0,this.lastSelectionChangeTime=void 0,this.selectionChangePromise=void 0,this.CheckPageForCategoryCombnation=(e,t)=>{for(const r of e){let e=!0;for(const n of t)if(0==r.CatString.includes(n)){e=!1;break}if(e)return!0}return!1},this.AppendLevel=(e,t,r,n)=>{if(t.length>0){const i=e.get(r);if(i){for(const e of t)0==i.data.includes(e)&&i.data.push(e);return}e.set(r,{data:t,name:n})}},this.Method=AG.KataPageSelection}CheckUpdate(e,t,r){return a1(this,null,function*(){switch(e){case LG.SelectionChanged:case LG.LastPOLoaded:return MG.FILTER;default:return MG.NONE}})}_InteractionOnSelectionChangeCheckLevel(e,t){if(e.additional&&e.additional["articles-by-level-key"]){const r=Object.keys(e.additional["articles-by-level-key"]);for(const n of r){const r=e.additional["articles-by-level-key"][n];let i=!1;for(const e of r)if(e.ArtNr==t){i=!0;break}if(i)return n}}return""}_InteractionOnSelectionChangePromisified(e,t){return a1(this,null,function*(){const r=Date.now(),n=t.objectInfo[t.objectInfo.length-1];null!=n&&(null!=this.previousLastSelectedElement&&null!=this.lastSelectionChangeTime&&r-this.lastSelectionChangeTime<1e3&&this.previousLastSelectedElement==n.instanceIdent||(this.previousLastSelectedElement=n.instanceIdent,this.lastSelectionChangeTime=r,null!=this.selectionChangePromise&&(yield this.selectionChangePromise),this.selectionChangePromise=new Promise(t=>{CommunicationMessageService.getPlannedArticles([n.instanceIdent]).then(r=>a1(this,null,function*(){if(null==e.cards)return;let n="";const i=e.cards.get(e.settings.Fetch["root-level"]);if(i&&i.additional&&(n=this._InteractionOnSelectionChangeCheckLevel(i,r[0].catalogArticleNumber)),""===n)for(const t of e.cards)t[0]!=e.settings.Fetch["root-level"]&&(n=this._InteractionOnSelectionChangeCheckLevel(t[1],r[0].catalogArticleNumber));n&&e.dispatchEvent(new BG(()=>a1(this,null,function*(){e.dispatchEvent(new UG([n])),yield GG.WaitForAllCardContainerFetchPromises(),t(),this.selectionChangePromise=void 0})))}))})))})}InteractionOnSelectionChange(e,t){this._InteractionOnSelectionChangePromisified(e,t)}Fetch(e){var t=e=>super[e];return a1(this,null,function*(){const r=yield t("Fetch").call(this,e);if(null==r["kata-tree"])return r;if(null==r["kata-tree"].kataPages)return console.error("kata page selection> katatree does not have the kataPages node!",r["kata-tree"]),r;if(r["kata-pages"].size<1)return r;const n=new Map;for(const t of r["kata-tree"].kataPages){if(0==t.id.includes("dhcat_"))continue;if(e.settings.Fetch.parameters&&e.settings.Fetch.parameters["categories-to-hide"]){let r=[];if(Array.isArray(e.settings.Fetch.parameters["categories-to-hide"])?r=e.settings.Fetch.parameters["categories-to-hide"]:Object.keys(e.settings.Fetch.parameters["categories-to-hide"]).forEach(t=>{r.push(...e.settings.Fetch.parameters["categories-to-hide"][t])}),r.includes(t.id))continue}const i=r["kata-pages"].get(t.id);if(null==i)continue;const o=i.Modules[0].Articles[0];if(null==o)continue;if(t.children){const e=new Map;t.children.forEach(t=>{const r=e.get(t.priority);r?0==r.includes(t)&&r.push(t):e.set(t.priority,[t])});const r=new Map([...e].sort()),i=new Array;r.forEach((e,t)=>{i.push(t)});for(let e=0;e<i.length;++e){const s=r.get(i[e]);if(null==s)continue;const a=e<i.length-1?r.get(i[e+1]):void 0,l=e>0?r.get(i[e-1]):void 0,c=new Array;a&&a.forEach(e=>{c.push(e.id)});const u=new Array;if(l&&l.forEach(e=>{u.push({id:e.id,name:e.name})}),u.length>0)for(const e of u){const r=new Array;s.forEach(n=>{const i=[n.id,t.id,e.id],s=new Array;for(const e of c){const t=new Array(...i);t.push(e),this.CheckPageForCategoryCombnation(o,t)&&s.push(e)}if(this.CheckPageForCategoryCombnation(o,i)){const e=n;e["next-level"]=s.length>0?n.id:"",r.push(e)}}),r.length>0&&this.AppendLevel(n,r,e.id,e.name)}else{const e=new Array;s.forEach(r=>{const n=[r.id,t.id],i=new Array;for(const e of c){const t=new Array(...n);t.push(e),this.CheckPageForCategoryCombnation(o,t)&&i.push(e)}if(this.CheckPageForCategoryCombnation(o,n)){const t=r;t["next-level"]=i.length>0?r.id:"",e.push(t)}}),e.length>0&&this.AppendLevel(n,e,t.id,t.name)}}}const s=t;s["next-level"]=t.id;const a=n.get(e.settings.Fetch["root-level"]);a?0==a.data.includes(s)&&a.data.push(s):n.set(e.settings.Fetch["root-level"],{data:[s],name:e.settings.Fetch["root-level"]})}return r["levels-data"]=n,r})}Filter(e,t,r){const n={"kata-tree":e["kata-tree"]||[],"kata-pages":e["kata-pages"]||[],"levels-data":e["levels-data"]||[],"active-keys":new Array,articles:e.articles};n["active-keys"]=r;const i=new Map([...n["levels-data"]].sort());if(n["levels-data"]=new Map,null==t.settings.Fetch.filter["level-key-filter"]||t.settings.Fetch.filter["level-key-filter"].length<1)return n["levels-data"]=i,n;for(const e of i)t.settings.Fetch.filter["level-key-filter"].includes(e[0])&&n["levels-data"].set(e[0],e[1]);return n}GetRelevantArticles(e,t){const r=new Array,n="number"==typeof t?t.toFixed(0):t;for(const t of e)t.CatString.includes(n)&&r.push(t);return r}CreateCards(e,t){const r=new Map;if(null==e["levels-data"])return r;for(const n of e["levels-data"]){const i={title:n[1].name,cards:new Array,additional:{"articles-by-level-key":{}}};for(const r of n[1].data){if(n[0]==r["next-level"])continue;i.additional["articles-by-level-key"]&&(i.additional["articles-by-level-key"][r.id]=this.GetRelevantArticles(e.articles,r.id));const o=t.settings.Fetch.parameters[r.id],s=o&&o.prefix?o.prefix:"",a=o&&o.file?o.file:"";i.cards.push({txt:{title:LY.ncrToUTF8(r.name)},click:{"previous-level-key":n[0],"level-key":r.id,strategy:EG.AND,priority:r.priority,"next-level-key":r["next-level"]},image:{prefix:s,file:a},active:t.settings.Fetch.parameters["selection-result-filter-is-last-clicked"]?e["active-keys"].includes(r.id):void 0})}r.set(n[0],i)}return r}Click(e,t){return a1(this,null,function*(){null!=t.settings.Fetch.parameters["selection-result-filter-is-last-clicked"]&&null!=t.filter&&null!=e.click&&(t.filter.Contains(e.click["level-key"])?t.filter.Remove(e.click["level-key"]):(t.filter.Reset(!1,t),t.filter.Add(e.click["level-key"])))})}});var l1=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});class c1{constructor(e,t){switch(this.dimension="",this.article=void 0,this.value=0,this.order=0,this.others=void 0,this.DetermineValue=(e,t,r,n)=>e&&e.length>0?e:t&&t.length>0?t:r&&r.length>0?r:n&&n.length>0?n:"",this.article=e,this.dimension=t,t){case"width":this.order=KP.DimensionsOrder.indexOf("B"),this.value=parseFloat(this.DetermineValue(e.kataWidth,e.Dispdx,e.MMdx,e.dxma));break;case"depth":this.order=KP.DimensionsOrder.indexOf("T"),this.value=parseFloat(this.DetermineValue(e.kataDepth,e.Dispdy,e.MMdy,e.dyma));break;case"height":this.order=KP.DimensionsOrder.indexOf("H"),this.value=parseFloat(this.DetermineValue(e.kataHeight,e.Dispdz,e.MMdz,e.dzma))}}get Value(){return this.value}get Order(){return this.order}get Article(){return this.article}get Others(){if(null==this.Article)return{};if(null!=this.others)return this.others;switch(this.dimension){case"width":this.others={depth:parseFloat(this.DetermineValue(this.Article.kataDepth,this.Article.Dispdy,this.Article.MMdy,this.Article.dyma)),height:parseFloat(this.DetermineValue(this.Article.kataHeight,this.Article.Dispdz,this.Article.MMdz,this.Article.dzma))};break;case"depth":this.others={width:parseFloat(this.DetermineValue(this.Article.kataWidth,this.Article.Dispdx,this.Article.MMdx,this.Article.dxma)),height:parseFloat(this.DetermineValue(this.Article.kataHeight,this.Article.Dispdz,this.Article.MMdz,this.Article.dzma))};break;case"height":this.others={depth:parseFloat(this.DetermineValue(this.Article.kataDepth,this.Article.Dispdy,this.Article.MMdy,this.Article.dyma)),width:parseFloat(this.DetermineValue(this.Article.kataWidth,this.Article.Dispdx,this.Article.MMdx,this.Article.dxma))}}return this.Others}get OthersKeys(){return Object.keys(this.Others)}get Dimension(){return this.dimension}get All(){const e=this.Others;return e[this.dimension]=this.Value,e}Equal(e){return JSON.stringify(this.All)==JSON.stringify(e.All)}}class u1 extends s1{constructor(){super(),this.Method=AG.ArticlesByCategories}CheckUpdate(e,t,r){return l1(this,null,function*(){switch(e){case LG.LastPOLoaded:return MG.FILTER;case LG.DeleteLO_after:return 1==r.settings.Fetch.parameters["highlight-planned-articles"]?MG.FILTER:MG.NONE;default:return MG.NONE}})}Fetch(e){var t=e=>super[e];return l1(this,null,function*(){const r=yield t("Fetch").call(this,e);r["img-node-prefix"]=yield CommunicationMessageService.getNodePrefix();const n=yield CommunicationMessageService.getDimensionScale();return 1==e.settings.Fetch.parameters["highlight-planned-articles"]&&(r["planned-articles"]=yield CommunicationMessageService.getPlannedArticles()),r["dimension-scale"]=n,r["unit-fallback"]=1==n?"mm":"cm",e.settings.Fetch.manufacturer=e.settings.Fetch.manufacturer&&e.settings.Fetch.manufacturer.length>0?e.settings.Fetch.manufacturer:yield wL.getManufacturer(),e.settings.Fetch.program=e.settings.Fetch.program&&e.settings.Fetch.program.length>0?e.settings.Fetch.program:yield wL.getProgram(),r})}Filter(e,t,r){const n={"img-node-prefix":e["img-node-prefix"],"dimension-scale":e["dimension-scale"],"unit-fallback":e["unit-fallback"],articles:new Array,"kata-pages":e["kata-pages"],"kata-tree":e["kata-tree"],"planned-articles":e["planned-articles"]},i=e.articles;if(null!=i){const e=t.settings.Fetch.filter?t.settings.Fetch.filter:{},r=t.settings.Fetch.parameters&&t.settings.Fetch.parameters["categories-to-hide"]||[];if(e["level-key-filter"]&&e["level-key-filter"].length>0)for(const t of i){let i=!1;for(const r of e["level-key-filter"])if("string"==typeof r&&t.CatString.includes(r)){i=!0;break}for(const e of r)if("string"==typeof e&&t.CatString.includes(e)){i=!1;break}i&&0==n.articles.includes(t)&&n.articles.push(t)}else for(const e of i){let t=!1;for(const n of r)if("string"==typeof n&&e.CatString.includes(n)){t=!0;break}t||n.articles.push(e)}}return null!=t.settings.Fetch.filter&&(n.articles=this.FilterByButtons(t.states.SelectedFilters,n.articles)),n}CreateCards(e,t){const r={"img-node-prefix":e["img-node-prefix"],"dimension-scale":e["dimension-scale"],"unit-fallback":e["unit-fallback"],articles:e.articles,"planned-articles":e["planned-articles"]},n=window.g_configuration.show_article_number,i=t.settings.Fetch.manufacturer,o=t.settings.Fetch.program,s={title:"",cards:[]};s.additional={articles:r.articles};const a=t.states.SelectedFilters;r.articles.forEach(e=>{let l=!1;1==t.settings.Fetch.parameters["highlight-planned-articles"]&&(l=(e=>r["planned-articles"].some(t=>t.articlenumber===e.ArtNr))(e));const c=new c1(e,"width"),u=new c1(e,"depth"),d=new c1(e,"height"),h=[c,u,d];h.sort((e,t)=>{var r,n;return(null!=(r=e.Order)?r:99999)-(null!=(n=t.Order)?n:99999)}),s.cards.push({image:{prefix:r["img-node-prefix"],file:LY.ncrToUTF8(e.imgName)},txt:{title:n&&e.artText&&e.artText!==e.ArtNr?e.ArtNr:"",txt:e.artText?e.artText:e.ArtNr},click:{nr:e.ArtNr,manufacturer:i,program:o,"previous-level-key":"","level-key":t.settings.Fetch["root-level"],"next-level-key":""},active:l,dimensions:t.settings.Fetch.parameters["divided-inline-dimensions"]?[{prefix:t.settings.Card.settings.dimensions&&t.settings.Card.settings.dimensions.prefixes&&t.settings.Card.settings.dimensions.prefixes.width?t.settings.Card.settings.dimensions.prefixes.width:"",dimension:h.map(e=>e.Value),icon:t.settings.Card.settings.dimensions&&t.settings.Card.settings.dimensions.icon?t.settings.Card.settings.dimensions.icon:"",src:t.settings.Card.settings.dimensions&&t.settings.Card.settings.dimensions.src?t.settings.Card.settings.dimensions.src:"",divider:t.settings.Card.settings.dimensions&&t.settings.Card.settings.dimensions.divider?t.settings.Card.settings.dimensions.divider:"",unit:t.settings.Card.settings.dimensions&&t.settings.Card.settings.dimensions.unit?t.settings.Card.settings.dimensions.unit:r["unit-fallback"],decimals:t.settings.Card.settings.dimensions&&t.settings.Card.settings.dimensions.decimals?t.settings.Card.settings.dimensions.decimals:void 0,"decimal-divider":t.settings.Card.settings.dimensions&&t.settings.Card.settings.dimensions["decimal-divider"]?t.settings.Card.settings.dimensions["decimal-divider"]:".","prevent-zero-decimals":!t.settings.Card.settings.dimensions||!t.settings.Card.settings.dimensions["prevent-zero-decimals"]||t.settings.Card.settings.dimensions["prevent-zero-decimals"]}]:[{prefix:t.settings.Card.settings.dimensions&&t.settings.Card.settings.dimensions.prefixes&&t.settings.Card.settings.dimensions.prefixes.width?t.settings.Card.settings.dimensions.prefixes.width:"",dimension:c.Value,order:c.Order,icon:t.settings.Card.settings.dimensions&&t.settings.Card.settings.dimensions.icon?t.settings.Card.settings.dimensions.icon:"",src:t.settings.Card.settings.dimensions&&t.settings.Card.settings.dimensions.src?t.settings.Card.settings.dimensions.src:"",divider:t.settings.Card.settings.dimensions&&t.settings.Card.settings.dimensions.divider?t.settings.Card.settings.dimensions.divider:"",unit:t.settings.Card.settings.dimensions&&t.settings.Card.settings.dimensions.unit?t.settings.Card.settings.dimensions.unit:r["unit-fallback"],decimals:t.settings.Card.settings.dimensions&&t.settings.Card.settings.dimensions.decimals?t.settings.Card.settings.dimensions.decimals:void 0,"decimal-divider":t.settings.Card.settings.dimensions&&t.settings.Card.settings.dimensions["decimal-divider"]?t.settings.Card.settings.dimensions["decimal-divider"]:".","prevent-zero-decimals":!t.settings.Card.settings.dimensions||!t.settings.Card.settings.dimensions["prevent-zero-decimals"]||t.settings.Card.settings.dimensions["prevent-zero-decimals"]},{prefix:t.settings.Card.settings.dimensions&&t.settings.Card.settings.dimensions.prefixes&&t.settings.Card.settings.dimensions.prefixes.depth?t.settings.Card.settings.dimensions.prefixes.depth:"",dimension:u.Value,order:u.Order,icon:t.settings.Card.settings.dimensions&&t.settings.Card.settings.dimensions.icon?t.settings.Card.settings.dimensions.icon:"",src:t.settings.Card.settings.dimensions&&t.settings.Card.settings.dimensions.src?t.settings.Card.settings.dimensions.src:"",divider:t.settings.Card.settings.dimensions&&t.settings.Card.settings.dimensions.divider?t.settings.Card.settings.dimensions.divider:"",unit:t.settings.Card.settings.dimensions&&t.settings.Card.settings.dimensions.unit?t.settings.Card.settings.dimensions.unit:r["unit-fallback"],decimals:t.settings.Card.settings.dimensions&&t.settings.Card.settings.dimensions.decimals?t.settings.Card.settings.dimensions.decimals:void 0,"decimal-divider":t.settings.Card.settings.dimensions&&t.settings.Card.settings.dimensions["decimal-divider"]?t.settings.Card.settings.dimensions["decimal-divider"]:".","prevent-zero-decimals":!t.settings.Card.settings.dimensions||!t.settings.Card.settings.dimensions["prevent-zero-decimals"]||t.settings.Card.settings.dimensions["prevent-zero-decimals"]},{prefix:t.settings.Card.settings.dimensions&&t.settings.Card.settings.dimensions.prefixes&&t.settings.Card.settings.dimensions.prefixes.height?t.settings.Card.settings.dimensions.prefixes.height:"",dimension:d.Value,order:d.Order,icon:t.settings.Card.settings.dimensions&&t.settings.Card.settings.dimensions.icon?t.settings.Card.settings.dimensions.icon:"",src:t.settings.Card.settings.dimensions&&t.settings.Card.settings.dimensions.src?t.settings.Card.settings.dimensions.src:"",divider:t.settings.Card.settings.dimensions&&t.settings.Card.settings.dimensions.divider?t.settings.Card.settings.dimensions.divider:"",unit:t.settings.Card.settings.dimensions&&t.settings.Card.settings.dimensions.unit?t.settings.Card.settings.dimensions.unit:r["unit-fallback"],decimals:t.settings.Card.settings.dimensions&&t.settings.Card.settings.dimensions.decimals?t.settings.Card.settings.dimensions.decimals:void 0,"decimal-divider":t.settings.Card.settings.dimensions&&t.settings.Card.settings.dimensions["decimal-divider"]?t.settings.Card.settings.dimensions["decimal-divider"]:".","prevent-zero-decimals":!t.settings.Card.settings.dimensions||!t.settings.Card.settings.dimensions["prevent-zero-decimals"]||t.settings.Card.settings.dimensions["prevent-zero-decimals"]}],additional:{categories:e.CatString&&e.CatString.length>0?e.CatString.split(","):[],"selected-filters":a}}),s.cards.forEach(e=>{e.dimensions&&e.dimensions.length>1&&e.dimensions.sort((e,t)=>{var r,n;return(null!=(r=e.order)?r:99999)-(null!=(n=t.order)?n:99999)})})});const l=new Map;return l.set(t.settings.Fetch["root-level"],s),l}Click(e,t){var r=e=>super[e];return l1(this,null,function*(){var n,i,o,s,a;if(yield r("Click").call(this,e,t),null==e.click||null==e.click.nr)return;let l=!1;if((null==(n=e.additional)?void 0:n.categories)&&(null==(o=null==(i=t.settings.Behaviour)?void 0:i["placer-once"])?void 0:o.categories)){const r=e.additional.categories;for(const e of r)if(t.settings.Behaviour["placer-once"].categories.includes(e)){l=!0;break}}const c=(null==(a=null==(s=t.settings.Behaviour)?void 0:s["placer-once"])?void 0:a.all)||l||!1;c?yield CommunicationMessageService.placePO({manufacturer:e.click.manufacturer,program:e.click.program,articleNumber:e.click.nr,once:c}):yield CommunicationMessageService.loadArticle(e.click.manufacturer,e.click.program,e.click.nr)})}FilterByButtons(e,t){if(e&&e.length>0){const r=(e,t,r,n,i)=>!!(e&&e.length>0&&parseFloat(e)==i)||(!!(t&&t.length>0&&parseFloat(t)==i)||(!!(r&&r.length>0&&parseFloat(r)==i)||!!(n&&n.length>0&&parseFloat(n)==i))),n=(e,t)=>{if(e.filter.length>0){const n=e["additional-params"];if(n&&"dimension"==n["filter-type"]){let i=!1;for(const o of e.filter)if("number"==typeof o)switch(n.dimension){case"width":0==r(t.kataWidth,t.Dispdx,t.MMdx,t.dxma,o)&&(i=!0);break;case"depth":0==r(t.kataDepth,t.Dispdy,t.MMdy,t.dyma,o)&&(i=!0);break;case"height":0==r(t.kataHeight,t.Dispdz,t.MMdz,t.dzma,o)&&(i=!0)}return!i}let i=!1;for(const r of e.filter)"string"==typeof r&&0==t.CatString.includes(r)&&(i=!0);return!i}return!0},i=(e,t)=>{if(e.filter.length>0){const n=e["additional-params"];if(n&&"dimension"==n["filter-type"]){for(const i of e.filter)if("number"==typeof i)switch(n.dimension){case"width":if(r(t.kataWidth,t.Dispdx,t.MMdx,t.dxma,i))return!0;break;case"depth":if(r(t.kataDepth,t.Dispdy,t.MMdy,t.dyma,i))return!0;break;case"height":if(r(t.kataHeight,t.Dispdz,t.MMdz,t.dzma,i))return!0}return!1}for(const r of e.filter)if("string"==typeof r&&t.CatString.includes(r))return!0;return!1}return!0};let o=new Array,s=t;e.sort((e,t)=>{const r=e.priority?e.priority:0;return(t.priority?t.priority:0)-r});for(const t of e){switch(t.strategy){case EG.OR:s.forEach(e=>{i(t,e)&&o.push(e)});break;case EG.AND:default:s.forEach(e=>{n(t,e)&&o.push(e)})}s=o,o=[]}return o=s,o}return t}}GG.RegisterAppConnection(new u1);var d1=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});GG.RegisterAppConnection(new class extends u1{constructor(){super(),this.clickActive=!1,this.Method=AG.ArticlesByCategoriesDimensions}getFetchDimension(e){const t=e.settings.Fetch.parameters.dimension,r=e.settings.Fetch.parameters["automatic-dimension-order-index"];return t||(void 0!==r?KP.getDimensionNameFromIndex(r):void 0)}CheckUpdate(e,t,r){return d1(this,null,function*(){return e==LG.LastPOLoaded?MG.FILTER:e==LG.CardContainerVisible?MG.FETCH:MG.NONE})}GetDisabledDimensions(e,t){return d1(this,null,function*(){const r=e.parameters?e.parameters["card-container-disable-source-selector"]:void 0;if(null!=r){const e=new Array,n=yT.find(r.tag,r.query);if(null!=n&&(yield n.CheckFetchPromise(),null!=n.FilteredFetchResult)){const t=n.FilteredFetchResult.articles;for(const r of t){const t=new c1(r,"width");e.push([t.All.width,t.All.depth,t.All.height])}}const i=new Array;for(const r of t){let t=!1;for(const n of e)if(n.includes(r.Value)){t=!0;break}0==t&&i.push(r.Value)}return i}const n=e.parameters?e.parameters["disable-precheck-selectors"]:void 0;if(null!=n){const e=new Array;for(const r of n){const n=yT.findAll(r.tag,r.query);for(const r of n)if(yield r.CheckFetchPromise(),r.CardData)for(const n of r.CardData)for(const r of t)if(n[1].additional&&n[1].additional.articles){this.FilterByButtons([{filter:[r.Value],strategy:EG.AND,"additional-params":{"filter-type":"dimension",dimension:r.Dimension}}],n[1].additional.articles).length<1&&0==e.includes(r.Value)&&e.push(r.Value)}}return e}return new Array})}Fetch(e){var t=e=>super[e];return d1(this,null,function*(){const r=this.getFetchDimension(e);if(null==r)return console.error("articles-by-categories-dimension.card.app.connection> Fetch failed! No dimension provided in fetch.parameters.dimension"),{};let n=yield t("Fetch").call(this,e);if(n=t("Filter").call(this,n,e,[]),n.articles){n["article-dimensions"]=new Array;for(const e of n.articles)n["article-dimensions"].push(new c1(e,r));e.states.SuspendDisableSource?n["disabled-dimensions"]=new Array:n["disabled-dimensions"]=yield this.GetDisabledDimensions(e.settings.Fetch,n["article-dimensions"]);const t=new Array;for(const e of n["article-dimensions"])0==t.includes(e.Value)&&t.push(e.Value);n.dimensions=t}return n})}Filter(e,t,r){const n=e,i=r;for(const e of i)if("number"==typeof e&&0==n.dimensions.includes(e)){const t=r.indexOf(e);r=r.splice(t,1)}return n.active=r,n}CreateCards(e,t){const r=e,n={title:"",cards:[]},i=new Map;if(r.dimensions&&r.dimensions.length>0){r.dimensions.sort((e,t)=>e-t);const e=r["dimension-scale"];let o=t.settings.Fetch.parameters["fraction-digits"]?t.settings.Fetch.parameters["fraction-digits"]:1;"number"!=typeof o&&(o=1);const s=t.settings.Fetch.parameters["value-group-range"]?t.settings.Fetch.parameters["value-group-range"]:1e3,a=r["disabled-dimensions"],l=r.active,c=new Array;let u=new Array,d=s;for(const e of r.dimensions)e>d+.001&&(c.push(u),u=new Array,d+=s),u.push(e);0==c.includes(u)&&c.push(u);const h=new Array,p=t.settings.Fetch.parameters["value-group-max-size"];if(null!=p)for(const e of c){if(e.length>p){const t=e.splice(0,Math.ceil(.5*e.length));h.push(t)}h.push(e)}else h.push(...c);const m=new Array,_=t.settings.Fetch.parameters["value-group-min-split-size"];if(null!=_&&_>h.length){let e;for(const t of h)null==e?t.length<_?(e=new Array,e.push(...t)):m.push(t):(e.push(...t),e.length>_&&(m.push(e),e=void 0))}else m.push(...h);if(1==m.length){const r=m.at(0);if(r&&r.length>0)for(const i of r){const r=a.includes(i);let s=!1;l.includes(i)&&(s=!0),n.cards.push({txt:{title:(i*e).toFixed(o)},click:{"previous-level-key":t.settings.Fetch["root-level"],"level-key":i,"next-level-key":""},active:s,disabled:r})}}else for(const r of m)if(r.length>0){const s=r.at(0)*e,c=r.at(r.length-1)*e,u=`${s.toFixed(o)} - ${c.toFixed(o)}`;n.cards.push({txt:{title:u},click:{"previous-level-key":"","level-key":t.settings.Fetch["root-level"],"next-level-key":u}});const d={title:u,cards:[]};for(const t of r){const r=a.includes(t);let n=!1;l.includes(t)&&(n=!0),d.cards.push({txt:{title:(t*e).toFixed(o)},click:{"previous-level-key":u,"level-key":t,"next-level-key":""},active:n,disabled:r})}i.set(u,d)}}if(1==t.settings.Fetch.parameters["force-single-option-as-empty"]&&n.cards.length<2&&i.size<1&&(n.cards=[]),1==i.size){n.cards=[];for(const e of i)n.cards.push(...e[1].cards);i.clear()}const o=new Map;o.set(t.settings.Fetch["root-level"],n);for(const e of i)o.set(e[0],e[1]);return o}Click(e,t){var r=e=>super[e];return d1(this,null,function*(){if(!this.clickActive){if(this.clickActive=!0,yield r("Click").call(this,e,t),null!=t.filter){const r=this.getFetchDimension(t);if(r&&(t.filter.AdditionalParams={"filter-type":"dimension",dimension:r}),t.filter.Strategy=EG.OR,0==e.disabled&&null!=e.click&&"number"==typeof e.click["level-key"]&&t.filter.Toggle(e.click["level-key"]),yield TY.dispatchAsyncEvent("refresh-all-card-containers",{refetch:!0,"include-hidden":!1}),yield GG.WaitForAllCardContainerFetchPromises(),t.settings.Fetch.parameters["disabled-reset-selection"]){if(null!=t.cards&&null!=e.click)for(const r of t.cards)for(const n of r[1].cards)if(null!=n.click&&n.click["level-key"]==e.click["level-key"]&&0==n.disabled&&0==n.active){t.filter.Add(e.click["level-key"]);break}yield TY.dispatchAsyncEvent("refresh-all-card-containers",{refetch:!0,"include-hidden":!1}),yield GG.WaitForAllCardContainerFetchPromises()}}this.clickActive=!1}})}InitFilterSelectionParams(e){if(null!=e.filter){const t=this.getFetchDimension(e);t&&(e.filter.AdditionalParams={"filter-type":"dimension",dimension:t}),e.settings.Filter["selection-strategy"]=EG.OR}}});var h1=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});GG.RegisterAppConnection(new class extends u1{constructor(){super(),this.clickActive=!1,this.Method=AG.ArticlesByCategoriesCategorySelection}CheckUpdate(e,t,r){var n=e=>super[e];return h1(this,null,function*(){return e==LG.SelectionChanged?MG.FILTER:yield n("CheckUpdate").call(this,e,t,r)})}Fetch(e){var t=e=>super[e];return h1(this,null,function*(){return e.settings.Fetch.manufacturer=e.settings.Fetch.manufacturer&&e.settings.Fetch.manufacturer.length>0?e.settings.Fetch.manufacturer:yield wL.getManufacturer(),e.settings.Fetch.program=e.settings.Fetch.program&&e.settings.Fetch.program.length>0?e.settings.Fetch.program:yield wL.getProgram(),yield t("Fetch").call(this,e)})}Filter(e,t,r){const n=super.Filter(e,t,r);if(n.active=r,n.categories=new Map,n["kata-pages"]){const e=new Map;for(const t of n.articles){const r=t.CatString.split(",");for(const t of r){if(t.includes("manucat_"))continue;let r=e.get(t);null==r&&(r=0),r+=1,e.set(t,r)}}const r=new Array;for(const t of e)t[1]==n.articles.length&&r.push(t[0]);if(t.settings.Fetch.parameters["kata-pages-to-show"]){const e=t.settings.Fetch.parameters["kata-pages-to-show"];if(e){const i=Array.isArray(e)?e:e[t.settings.Fetch.program];if(i&&i.length>0)for(const e of n["kata-tree"].kataPages)0==i.includes(e.id)&&0==r.includes(e.id)&&r.push(e.id)}}const i=(t,n)=>{for(const o of t)if(null!=o.priority){if(e.has(o.id)&&0==r.includes(o.id)){let e=n.get(o.priority);if(e){null==e.get(o.id)&&e.set(o.id,{name:LY.ncrToUTF8(o.name),order:o.order?o.order:99999})}else e=new Map,e.set(o.id,{name:LY.ncrToUTF8(o.name),order:o.order?o.order:99999}),n.set(o.priority,e)}o.children&&i(o.children,n)}};i(n["kata-tree"].kataPages,n.categories)}return n}CreateCards(e,t){const r=e,n=new Map([...r.categories].sort((e,t)=>e[0]-t[0])),i=new Map;for(const e of n){const t=new Map([...e[1]].sort((e,t)=>e[1].order-t[1].order));i.set(e[0],t)}const o=new Map;for(const e of i){const n={title:"",cards:[]};n.additional={articles:r.articles};for(const i of e[1])n.cards.push({txt:{txt:i[1].name},click:{"previous-level-key":"","level-key":t.settings.Fetch["root-level"],"next-level-key":i[0]},active:r.active.includes(i[0])});o.set(e[0],n)}return o}Click(e,t){var r=e=>super[e];return h1(this,null,function*(){this.clickActive||(this.clickActive=!0,yield r("Click").call(this,e,t),null!=t.filter&&null!=e.click&&(t.filter.Strategy=EG.AND,t.filter.Toggle(e.click["next-level-key"])),yield TY.dispatchAsyncEvent("refresh-all-card-containers",{refetch:!0,"include-hidden":!1}),yield GG.WaitForAllCardContainerFetchPromises(),this.clickActive=!1)})}});var p1=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});const m1=class extends n1{constructor(){super(),this.Method=AG.PropertyValueSelection}CheckUpdate(e,t,r){return p1(this,null,function*(){return e==LG.RefreshPropertyPanel&&(m1.lastRefreshProperyPanelTimestamp=Date.now()),e==LG.LastPOLoaded||e==LG.RefreshPropertyPanel?MG.FETCH:MG.NONE})}Find(e,t,r,n,i,o){return p1(this,null,function*(){const s=e+t+(r?"Selection":"NoSelection")+(n?"Relevant":"NotRelevant")+(i?"FullHierarchy":"SmallHierarchy")+(null!=o?o.toString():"[]")+(m1.lastRefreshProperyPanelTimestamp?m1.lastRefreshProperyPanelTimestamp.toString():""),a=m1.propertiesCache.get(s);if(null!=a)return null!=a.then?yield a:a;const l=gL.find(e,t,r,n,i,o);m1.propertiesCache.set(s,l);const c=yield l;return m1.propertiesCache.set(s,c),c})}Fetch(e){return p1(this,null,function*(){const t=null!=e.settings.Fetch.parameters["use-selection"]&&e.settings.Fetch.parameters["use-selection"],r=null==e.settings.Fetch.parameters["use-relevant"]||e.settings.Fetch.parameters["use-relevant"],n=null!=e.settings.Fetch.parameters["ignore-single-value-properties"]&&e.settings.Fetch.parameters["ignore-single-value-properties"],i=e.settings.Fetch.manufacturer&&e.settings.Fetch.manufacturer.length>0?e.settings.Fetch.manufacturer:yield wL.getManufacturer(),o=e.settings.Fetch.program?e.settings.Fetch.program:yield wL.getProgram(),s=new Array,a=yield this.Find(i,o,t,r,!1);if(null!=a)if(a.propertyKeyOrder)for(const e of a.propertyKeyOrder)n&&Object.keys(a.children[e].children).length<2||s.push(a.children[e]);else{const e=Object.keys(a.children);for(const t of e)n&&Object.keys(a.children[t].children).length<2||s.push(a.children[t])}else console.error("card.data.service> ReadProperties Failed! ProgPropertyModel.find returned undefined!",{manufacturer:i,program:o});return{manufacturer:i,program:o,properties:s}})}Filter(e,t,r){const n=new Array;if(null==e.properties)return{manufacturer:e.manufacturer,program:e.program,properties:n};const i=new Array,o=t.settings.Fetch.filter["property-keys"];if(o&&o.keys&&o.keys.length>0){const t=null==o["prohibit-listed"]||0==o["prohibit-listed"];for(const r of e.properties)(o.keys.includes(r.id)==t||o.keys.includes(parseInt(r.id))==t)&&i.push(r)}else i.push(...e.properties);if(t.states.SelectedFilters&&t.states.SelectedFilters.length>0){const e=t.states.SelectedFilters.sort((e,t)=>(e.priority?e.priority:0)-(t.priority?t.priority:0));let r=!1;for(const t of e)if(t.strategy==EG.OR){r=!0;for(const e of i)t.filter.includes(e.id)&&n.push(e)}0==r&&n.push(...i)}else n.push(...i);return{manufacturer:e.manufacturer,program:e.program,properties:n}}CreateCards(e,t){const r=new Map;if(null==e.properties||null==e.manufacturer||null==e.program)return r;for(const n of e.properties){const i={title:n.name,cards:[]};if(null==n.children){r.set(n.id,i);continue}const o=Object.keys(n.children);for(const r of o){const o=n.children[r];i.cards.push({txt:{title:LY.ncrToUTF8(o.name),tooltip:"text"==o.toolTipType?o.toolTipData:""},image:{prefix:"",file:o.alternativeImageUrl},click:{"modify-property-request":{manufacturer:e.manufacturer,program:e.program,key:n.id,property:o.key,propertyKey:o.propertyKey},"previous-level-key":t.settings.Fetch["root-level"],"level-key":n.id,"next-level-key":""},active:n.currentValue==r})}r.set(n.id,i)}return r}Click(e,t){return p1(this,null,function*(){e.click&&e.click["modify-property-request"]&&(yield CommunicationMessageService.modifyProperty(JSON.stringify(e.click["modify-property-request"]),e.click["modify-property-options"]))})}GetFormattedDragData(e,t){if(e.click){const t=e.click["modify-property-request"];return{id:t.key,type:ER.PROGPROPERTY,extData:t,options:{modifyElement:!0}}}}};let _1=m1;_1.lastRefreshProperyPanelTimestamp=void 0,_1.propertiesCache=new Map,GG.RegisterAppConnection(new _1);var g1=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});GG.RegisterAppConnection(new class extends _1{constructor(){super(),this.Method=AG.PropertySelection}CheckUpdate(e,t,r){return g1(this,null,function*(){return e==LG.LastPOLoaded||e==LG.RefreshPropertyPanel||e==LG.CardContainerVisible?MG.FETCH:MG.NONE})}Fetch(e){var t=e=>super[e];return g1(this,null,function*(){const r=yield t("Fetch").call(this,e);if(!e.settings.Fetch.parameters["use-category-in-buttons-filter"]&&!e.settings.Fetch.parameters["use-category-in-selection-filter"])return r;const n=new Array,i=e.states.SelectedFilters;for(const e of i)"string"==typeof e.filter[0]&&n.push(...e.filter);const o=yield CommunicationMessageService.getPlannedArticles(),s=yield CommunicationMessageService.getArticleByCategories(r.manufacturer,r.program,n),a=new Array,l=new Array;for(const e of s)0==l.includes(e.ClassID)&&l.push(e.ClassID);for(const e of o)l.includes(e.typeInfo.toFixed(0))&&a.push(...e.keys);return r["allowed-keys"]=[...new Set(a)],r})}Filter(e,t,r){const n=e;if(!t.settings.Fetch.parameters["use-category-in-buttons-filter"]&&!t.settings.Fetch.parameters["use-category-in-selection-filter"])return super.Filter(e,t,r);const i=n.properties;n.properties=new Array;for(const e of i){const t=parseInt(e.id);n["allowed-keys"].includes(t)&&n.properties.push(e)}return super.Filter(e,t,r)}CreateCards(e,t){const r=new Map,n=e.properties;if(null==n||n.length<1)return r;const i={title:"",cards:[]};for(const r of e.properties){const e=r.children[r.currentValue];i.cards.push({txt:{title:LY.ncrToUTF8(r.name)},image:{prefix:"",file:e?e.alternativeImageUrl:""},click:{"previous-level-key":t.settings.Fetch["root-level"],"level-key":r.id,strategy:EG.AND,priority:0,"next-level-key":""}})}return r.set(t.settings.Fetch["root-level"],i),r}});var f1=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});const v1="rootNode";const b1=new class{constructor(){}LandingPageData(e=!1){return f1(this,null,function*(){if(!this._landingPageElements){const t=e?"/webui/readConfig"+(window.g_configuration.webuiProject?"/"+window.g_configuration.webuiProject:""):"webui/modular/config/data/elements.json";this._landingPageElements=yield RequestHelperService.getJson(t)}return this._landingPageElements})}getLandingPageItems(e=!1){return f1(this,null,function*(){const t=yield this.LandingPageData(e);return Object.keys(t).filter(e=>e==v1).map(e=>t[e])})}getLandingPages(e=!1){return f1(this,null,function*(){return(yield this.LandingPageData(e)).rootNode})}getItemById(e,t=!1){return f1(this,null,function*(){if(e===v1)return{};const r=yield this.LandingPageData(t);return Promise.resolve(r[e])})}hasItemWithId(e,t=!1){return f1(this,null,function*(){if(e===v1)return!1;const r=yield this.LandingPageData(t);return e in r})}loadPlanningFile(e,t=!1){return f1(this,null,function*(){var r;const n=yield this.getItemById(e,t);if(n)return yield CommunicationMessageService.loadPlanningFile((null==(r=n.planning)?void 0:r.file)||""),n})}};var y1=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});GG.RegisterAppConnection(new class extends n1{constructor(){super(),this.Method=AG.LandingPageView}Fetch(e){return y1(this,null,function*(){var t;const r={"landing-pages":yield b1.getLandingPages(),entries:new Map};if((null==(t=e.settings.Fetch.parameters)?void 0:t.levels)&&Array.isArray(e.settings.Fetch.parameters.levels)){const t=e.settings.Fetch.parameters.levels;r["landing-pages"]=r["landing-pages"].filter(e=>!!t.includes(e.name))}for(const e of r["landing-pages"]){const t=new Map;for(const r of e.items){if(yield b1.hasItemWithId(r)){const e=yield b1.getItemById(r);t.set(r,e)}}r.entries.set(e.name,t)}return r})}CreateCards(e,t){const r=new Map,n=e;for(const e of n["landing-pages"]){const i=n.entries.get(e.name),o={cards:[],title:e.name};if(i)for(const[r,n]of i){const i=this._buildCardData(r,n,e.name,t.settings);o.cards.push(i)}r.set(e.name,o)}return r}Click(e,t){return y1(this,null,function*(){if(null!=e.click&&"planningId"in e.click){(yield b1.loadPlanningFile(e.click.planningId,!0))&&t.dispatchEvent(new CustomEvent("planningLoaded",{composed:!0,bubbles:!0,detail:{planningId:e.click.planningId}}))}})}_buildCardData(e,t,r,n){var i,o;return{image:{prefix:"",file:(null==(i=t.image)?void 0:i.file)||""},icon:null==(o=null==t?void 0:t.custom)?void 0:o.icon,price:t.price,dimensions:t.dimensions,txt:t.txt,click:{"previous-level-key":n.Fetch["root-level"],"level-key":r,"next-level-key":e,planningId:e},modules:n.Fetch.parameters.modules}}});GG.RegisterAppConnection(new class extends n1{constructor(){super(),this.Method=AG.CardsFromConfiguration}Fetch(e){return t=this,r=null,n=function*(){const t=e.settings.Fetch.parameters.cards,r={cards:new Map},n=Object.keys(t);for(const e of n)r.cards.set(e,t[e]);return r},new Promise((e,i)=>{var o=e=>{try{a(n.next(e))}catch(e){i(e)}},s=e=>{try{a(n.throw(e))}catch(e){i(e)}},a=t=>t.done?e(t.value):Promise.resolve(t.value).then(o,s);a((n=n.apply(t,r)).next())});var t,r,n}Filter(e,t,r){const n={cards:new Map},i=t.settings.Fetch.filter?t.settings.Fetch.filter:{};if(i["level-key-filter"])for(const t of e.cards)i["level-key-filter"].includes(t[0])&&n.cards.set(t[0],t[1]);else if(t.states.SelectedFilters&&t.states.SelectedFilters.length>0)for(const r of t.states.SelectedFilters)for(const t of e.cards)r.filter.includes(t[0])&&n.cards.set(t[0],t[1]);else n.cards=e.cards;return n}CreateCards(e,t){const r=super.CreateCards(e,t);if(r.clear(),e.cards)for(const t of e.cards)r.set(t[0],{title:LocalesModel.translate(t[1].titleTxtId,t[1].titleTxtId),cards:t[1].cards});return r}});var $1=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});const x1=class extends n1{constructor(){super(),this.Method=AG.PropertyContextValueSelection}CheckUpdate(e,t,r){return $1(this,null,function*(){if(e==LG.RefreshPropertyPanel){const e=Date.now();e-(x1.lastRefreshProperyPanelTimestamp||0)>250&&(x1.lastRefreshProperyPanelTimestamp=e)}return e==LG.LastPOLoaded||e==LG.RefreshPropertyPanel||e==LG.CardContainerVisible?MG.FETCH:MG.NONE})}Find(e,t,r,n,i){return $1(this,null,function*(){const o=e+t+(r?"Selection":"NoSelection")+(n?"Relevant":"NotRelevant")+(null!=i?i.toString():"[]")+(x1.lastRefreshProperyPanelTimestamp?x1.lastRefreshProperyPanelTimestamp.toString():""),s=x1.propertiesCache.get(o);if(null!=s)return null!=s.then?yield s:s;const a=yL.findAll(r,n,i,fL.ALL);x1.propertiesCache.set(o,a);const l=yield a;return x1.propertiesCache.set(o,l),l})}Fetch(e){return $1(this,null,function*(){const t=null!=e.settings.Fetch.parameters["use-selection"]&&e.settings.Fetch.parameters["use-selection"],r=null==e.settings.Fetch.parameters["use-relevant"]||e.settings.Fetch.parameters["use-relevant"],n=null!=e.settings.Fetch.parameters["ignore-single-value-properties"]&&e.settings.Fetch.parameters["ignore-single-value-properties"],i=e.settings.Fetch.manufacturer&&e.settings.Fetch.manufacturer.length>0?e.settings.Fetch.manufacturer:yield wL.getManufacturer(),o=e.settings.Fetch.program?e.settings.Fetch.program:yield wL.getProgram(),s=yield this.Find(i,o,t,r),a=Object.values(s.children).flatMap(e=>this.getContextProperties(e,e=>!n||Object.keys(e.children).length>=2));return{manufacturer:i,program:o,contexts:a}})}Filter(e,t,r){const n=[];if(null==e.contexts)return{manufacturer:e.manufacturer,program:e.program,contexts:n};for(const r of e.contexts){const e=new Array,i=t.settings.Fetch.filter["property-keys"];if(i&&i.keys&&i.keys.length>0){const t=null==i["prohibit-listed"]||0==i["prohibit-listed"];for(const n of r.properties)(i.keys.includes(n.id)==t||i.keys.includes(parseInt(n.id))==t)&&e.push(n)}else e.push(...r.properties);if(t.states.SelectedFilters&&t.states.SelectedFilters.length>0){const i=t.states.SelectedFilters.sort((e,t)=>(e.priority?e.priority:0)-(t.priority?t.priority:0));let o=!1;for(const t of i)if(t.strategy==EG.OR){o=!0;for(const i of e)t.filter.includes(i.id)&&n.push({contextId:r.contextId,properties:e})}0==o&&n.push({contextId:r.contextId,properties:e})}else n.push({contextId:r.contextId,properties:e})}return{manufacturer:e.manufacturer,program:e.program,contexts:n}}CreateCards(e,t){const r=new Map;if(null==e.contexts||null==e.manufacturer||null==e.program)return r;for(const n of e.contexts)for(const i of n.properties){const o={title:i.name,cards:[]};if(null==i.children)continue;const s=Object.keys(i.children);for(const r of s){const s=i.children[r];o.cards.push({txt:{title:LY.ncrToUTF8(s.name),tooltip:"text"==s.toolTipType?s.toolTipData:""},image:{prefix:"",file:s.alternativeImageUrl},click:{"modify-property-request":{manufacturer:e.manufacturer,program:e.program,key:i.id,property:s.key,propertyKey:s.propertyKey,contextId:n.contextId},"previous-level-key":t.settings.Fetch["root-level"],"level-key":i.id,"next-level-key":""},active:i.currentValue==r})}r.set(i.id,o)}return r}Click(e,t){return $1(this,null,function*(){e.click&&e.click["modify-property-request"]&&(yield CommunicationMessageService.modifyProperty(JSON.stringify(e.click["modify-property-request"]),e.click["modify-property-options"]))})}getContextProperties(e,t){const r=Object.values(e.children).flatMap(e=>Object.values(e.children).filter(e=>t&&t(e)).flatMap(e=>e));return{contextId:e.contextId,properties:r}}};let S1=x1;S1.lastRefreshProperyPanelTimestamp=void 0,S1.propertiesCache=new Map,GG.RegisterAppConnection(new S1);GG.RegisterAppConnection(new class extends S1{constructor(){super(),this.Method=AG.PropertyContextSelection}Fetch(e){var t,r,n,i=e=>super[e];return t=this,r=null,n=function*(){const t=yield i("Fetch").call(this,e);if(!e.settings.Fetch.parameters["use-category-in-buttons-filter"]&&!e.settings.Fetch.parameters["use-category-in-selection-filter"])return t;const r=new Array,n=e.states.SelectedFilters;for(const e of n)"string"==typeof e.filter[0]&&r.push(...e.filter);const o=yield CommunicationMessageService.getPlannedArticles(),s=yield CommunicationMessageService.getArticleByCategories(t.manufacturer,t.program,r),a=new Array,l=new Array;for(const e of s)0==l.includes(e.ClassID)&&l.push(e.ClassID);for(const e of o)l.includes(e.typeInfo.toFixed(0))&&a.push(...e.keys);return t["allowed-keys"]=[...new Set(a)],t},new Promise((e,i)=>{var o=e=>{try{a(n.next(e))}catch(e){i(e)}},s=e=>{try{a(n.throw(e))}catch(e){i(e)}},a=t=>t.done?e(t.value):Promise.resolve(t.value).then(o,s);a((n=n.apply(t,r)).next())})}Filter(e,t,r){if(!t.settings.Fetch.parameters["use-category-in-buttons-filter"]&&!t.settings.Fetch.parameters["use-category-in-selection-filter"])return super.Filter(e,t,r);const n=e;for(const e of n.contexts){const t=n["allowed-keys"];t&&t.length>0?e.properties=e.properties.filter(e=>t.includes(parseInt(e.id))):e.properties=[]}return super.Filter(e,t,r)}CreateCards(e,t){const r=new Map,n=e;if(n.contexts&&n.contexts.length>0){const e=n.contexts.flatMap(e=>e.properties).filter((e,t,r)=>r.findIndex(t=>t.id==e.id)===t),i={title:"",cards:[]};for(const r of e){const e=r.children[r.currentValue];i.cards.push({txt:{title:LY.ncrToUTF8(r.name)},image:{prefix:"",file:e?e.alternativeImageUrl:""},click:{"previous-level-key":t.settings.Fetch["root-level"],"level-key":r.id,strategy:EG.AND,priority:0,"next-level-key":""}})}r.set(t.settings.Fetch["root-level"],i)}return r}});var w1=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{left:0;position:absolute;top:0}:host slot[name=after],:host slot[name=before]{display:block;width:var(--program-selection-title-slot-width,fit-content)}:host .confirmation-slot{bottom:0;left:0;position:absolute;right:0;top:0}:host .selection-container{display:flex;flex-direction:column;height:100%;justify-content:center;overflow:hidden}:host .selection-header{align-items:center;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:center}:host .selection-title{align-items:var(--program-selection-title-align-items,center);display:flex;flex:var(--program-selection-title-flex,0 0 auto);flex:1;font-size:var(--program-selection-level-title-font-size,1.8em);height:var(--program-selection-title-height,9rem);padding-bottom:var(--program-selection-title-padding-bottom,0);place-content:var(--program-selection-title-place-content,center);text-align:center}:host .selection-title:empty{display:none}:host .level-divider-container{padding-bottom:var(--program-selection-level-divider-distance-bottom,1em);padding-top:var(--program-selection-level-divider-distance-top,1em);width:var(--program-selection-divider-thickness,2px)}:host .level-divider{background-color:var(--program-selection-divider-color,#d3d3d3);height:100%;width:100%}:host .levels-outer-container{display:grid;flex:1;height:100%;overflow:hidden;padding-bottom:var(--program-selection-levels-outer-container,2em)}:host .levels-container{display:flex;height:100%;overflow:hidden;width:100%}:host .levels-container.level-one-selection{flex-wrap:wrap;gap:2em;justify-content:center;overflow:auto}:host .level-title-container{align-items:center;display:flex;flex:1;flex-direction:row;justify-content:center}:host .program-selection-level-container{flex:1;flex-basis:50%;overflow:hidden}:host .program-selection-level-container.program-selection-level-one-container{flex:unset;flex-basis:unset}:host .controls-container{display:grid;font-size:var(--program-selection-button-font-size,1em);gap:var(--program-selection-controls-grid-gap,2.5em);grid-area:controls-container;grid-template-areas:"leer1 overview leer2";grid-template-columns:auto max-content auto;grid-template-rows:auto;height:fit-content}:host .controls-container .button{align-items:center;border:var(--program-selection-button-border,2px solid #d3d3d3);border-radius:var(--program-selection-button-border-radius,unset);cursor:pointer;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:center;line-height:1em}:host .controls-container .button.overview{grid-area:overview}:host .controls-container .button.overview .text{padding:1em 1em 1em 0}:host .controls-container .button.overview i{display:flex;margin-right:16px;padding-left:1em}@media (orientation:portrait){.levels-outer-container{display:block!important;overflow:auto!important}.levels-container{display:flex!important;flex-direction:column;height:auto!important}.level-divider-container{height:var(--program-selection-divider-thickness,2px);width:100%!important}.selection-header{flex-direction:column!important}.selection-title{place-content:center!important}}`,A1=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{-webkit-tap-highlight-color:rgba(255,255,255,0);display:inline-block;height:100%;width:100%}:host .level-container{display:grid;grid-template-rows:min-content auto;height:100%;overflow:hidden;width:100%}:host .level-title{align-items:center;display:flex;font-size:var(--program-selection-level-title-font-size,1.8em);height:var(--program-selection-level-title-font-size,1.8em);justify-content:center;position:relative;text-align:center}:host .programs-outer-container{display:flex;height:100%;overflow:hidden scroll}:host .programs-container{display:flex;flex:1;flex-wrap:wrap;gap:var(--program-selection-img-padding,1em);place-content:baseline;justify-content:center;width:100%}:host .programs-container .program-container{cursor:pointer}:host([level-one-selection]) .programs-outer-container{overflow:hidden}@media (orientation:portrait){:host .programs-outer-container{height:auto;overflow:hidden}:host .programs-container{padding-left:0;padding-right:0}}`,C1=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{box-sizing:border-box;flex:1;flex-grow:0;max-height:var(--program-selection-image-height,unset);min-width:256px;padding:0 6px}:host .program-container{align-items:center;cursor:pointer;display:flex;flex-direction:column;height:100%;justify-content:center;overflow:hidden}:host .program-title-container{display:flex;flex-direction:row;justify-content:center;margin:1rem}:host .program-info-button-container{padding-left:1em;position:relative}:host .program-info-button{display:inline-block;height:16px;position:relative;text-align:center;width:16px}:host .program-img-container{display:flex;flex:1;flex-direction:column;justify-content:center;overflow:hidden;text-align:center;width:100%}:host .program-img-container .program-img{background-position:50%;background-repeat:no-repeat;background-size:contain;flex:1}:host .use-img{--image-container-height:var(--program-selection-image-height,unset)}@media (width >= 2100px){:host(:not(.static-columns)){flex-basis:calc(25% - var(--program-selection-img-padding, 1em))}}@media (width >= 1720px) and (width < 2100px){:host(:not(.static-columns)){flex-basis:calc(33.33333% - var(--program-selection-img-padding, 1em))}}@media (width < 1720px){:host(:not(.static-columns)){flex-basis:calc(50% - var(--program-selection-img-padding, 1em))}}:host(.static-columns){flex-basis:calc(50% - var(--program-selection-img-padding, 1em))}`,E1=Object.defineProperty,I1=Object.getOwnPropertyDescriptor,M1=Object.getPrototypeOf,k1=Reflect.get,T1=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?I1(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&E1(t,r,o),o};let R1=class extends FT{constructor(){super(),this.parentLevel={id:"",index:"",name:"",entries:[],programImageFilter:[],textInfo:{}},this.level={id:"",index:"",name:"",entries:[],programImageFilter:[],textInfo:{}},this.infoButton=!1,this.imageZoomOnHover=!1,this.activeImageIndex=0,this.addEventListener("click",()=>{var e;this.level.entries.length>0||this.level.programImageFilter.length<1||this.dispatchEvent(new CustomEvent("program-selected",{detail:{parentLevel:this.parentLevel.id,level:this.level.index,category:null==(e=this.category)?void 0:e.index},bubbles:!0,composed:!0}))})}infoIconClicked(e){var t;e.stopPropagation(),e.preventDefault(),this.dispatchEvent(new CustomEvent("info-icon-clicked",{detail:{parentLevel:this.parentLevel.id,category:null==(t=this.category)?void 0:t.index,program:this.level.index,image:{programFilter:this.level.programImageFilter,activeImage:this.activeImageIndex},textInfo:this.level.textInfo,name:this.level.name},bubbles:!0,composed:!0}))}render(){return this.staticColumn?this.classList.add("static-columns"):this.classList.remove("static-columns"),Zk`
+            <div class="program-container">
+                <div class="program-img-container">
+                    <fv-image class="use-img ${this.imageZoomOnHover?"zoom-on-hover":""}" .programFilter="${this.level.programImageFilter}" kataId="${this.level.id}"></fv-image>
+                    <div class="program-title-container">
+                        <div class="program-title">${this.level.name}</div>
+                        ${this.infoButton?Zk`
+                            <div class="program-info-button-container">
+                                <fv-info-button @click="${this.infoIconClicked}"
+                                                class="program-info-button"></fv-info-button>
+                            </div>
+                        `:Zk``}
+                    </div>
+                    <slot></slot>
+                </div>
+            </div>
+        `}};R1.styles=[((e,t)=>k1(M1(e),t,e))(R1,"styles")||[],$k`${yk(C1)}`],T1([lk({type:Object,attribute:"parent-level"})],R1.prototype,"parentLevel",2),T1([lk({type:Object,attribute:"level"})],R1.prototype,"level",2),T1([lk({type:Boolean,attribute:"info-button"})],R1.prototype,"infoButton",2),T1([lk({type:Boolean,reflect:!0,attribute:"image-zoom-on-hover"})],R1.prototype,"imageZoomOnHover",2),R1=T1([sk("fv-program-selection-program")],R1);var L1=Object.defineProperty,P1=Object.getOwnPropertyDescriptor,D1=Object.getPrototypeOf,N1=Reflect.get,F1=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?P1(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&L1(t,r,o),o};let O1=class extends FT{constructor(){super(),this.level={id:"",index:"",name:"",entries:[],programImageFilter:[],textInfo:{}},this.gridAreaPrefix="",this.infoButton=!1,this.levelOneSelection=!1,this.imageZoomOnHover=!1}render(){return Zk`
+            <div class="level-container">
+                <div class="level-title" i18n="${this.level.id}">${this.level.name}</div>
+                <div class="programs-outer-container">
+                    <div class="programs-container">
+                        ${this.levelOneSelection&&"onlyLevelOne"!=this.level.id?Zk`
+                            <div class="program-container">
+                                <div class="program-img-container">
+                                    <fv-image class="use-img ${this.imageZoomOnHover?"zoom-on-hover":""}" .programFilter="${this.level.programImageFilter}" kataId="${this.level.id}"></fv-image>
+                                </div>
+                            </div>`:Zk`
+                            ${this.level.entries.map(e=>{const t=new R1;return t.staticColumn=this.staticColumn,t.infoButton=this.infoButton,t.parentLevel=this.level,t.level=e,t.category=this.level,t.imageZoomOnHover=this.imageZoomOnHover,t})}`}
+                    </div>
+                </div>
+                <slot></slot>
+            </div>
+        `}};function B1(){let e,t;const r=new Promise((r,n)=>{e=r,t=n});return r.resolve=function(t){return e.apply(this,t),r},r.reject=function(e){return t.apply(this,e),r},r}O1.styles=[((e,t)=>N1(D1(e),t,e))(O1,"styles")||[],$k`${yk(A1)}`],F1([lk({type:Object,attribute:"level"})],O1.prototype,"level",2),F1([lk({type:String,attribute:"grid-area-prefix"})],O1.prototype,"gridAreaPrefix",2),F1([lk({type:Boolean,attribute:"info-button"})],O1.prototype,"infoButton",2),F1([lk({type:Boolean,reflect:!0,attribute:"level-one-selection"})],O1.prototype,"levelOneSelection",2),F1([lk({type:Boolean,reflect:!0,attribute:"image-zoom-on-hover"})],O1.prototype,"imageZoomOnHover",2),O1=F1([sk("fv-program-selection-level")],O1);var U1=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});const V1=new class{constructor(){this.configuredOnce=!1}resolveProgramSelectionDefer(e=!1){var t;null==(t=this.programSelectionDefer)||t.resolve([e])}get canBeCancelled(){return this.configuredOnce}isSceneEmpty(e){return U1(this,null,function*(){let t=yield CommunicationMessageService.getPlannedArticles();return!Array.isArray(t)||(t=t.filter(e=>!!e.articlenumber),e&&e.length>0&&(t=t.filter(t=>!e.some(e=>e.defaultArt.includes((null==t?void 0:t.catalogArticleNumber)||t.articlenumber)))),0==t.length)})}openConfirmationModal(e){return U1(this,null,function*(){const e=yT.find("fv-program-selection");return this.resolveProgramSelectionDefer(),this.programSelectionDefer=B1(),yield e.openConfirmationModal(this.programSelectionDefer)})}Configure(e){return U1(this,null,function*(){e=Object.assign({overrideInitialArticle:!0,clearScene:!0,confirmModal:!0,activeStepAfterSelection:0,closeModalQuery:""},e);const t=document.querySelector("fv-loading-modal"),r=()=>{null==t||t.hide(!1,!0),EventFactoryService.LastPOLoaded.unregister(r),this.resolveProgramSelectionDefer(),this.configuredOnce=!0};EventFactoryService.LastPOLoaded.register(r);const n=yield wL.getManufacturer(),i=yield wL.getProgram(),o=e.detail.level,s=i!=o||window.g_dataInterface.selected_program!=o,a=yield xL.retrieveCatConfig(n,o);let l=!0,c=e.initialArticle&&""!==e.initialArticle?e.initialArticle:window.g_article.artno;const u=yield this.isSceneEmpty(a);let d=!1;if(e.overrideInitialArticle){const e=yield xL.getInitialArticle(c);!c&&e&&c!=e&&(c=e,d=!0)}const h=s&&c.length>0;e.confirmModal&&s&&!u&&(l=yield this.openConfirmationModal(a)),l&&(h&&(null==t||t.show(!1,!0)),s&&(yield wL.setManuProg(n,n,o),window.selectedProgram=e.detail,window.g_dataInterface.selected_program=o),e.clearScene&&(s||h)&&(yield CommunicationMessageService.clearScene(),yield CommunicationMessageService.loadInitialStateDHP()),EW.RefreshAll(!0,!0,void 0,void 0,o),yield GG.WaitForAllCardContainerFetchPromises(),XG.activate({"steps-component":"fv-steps",selector:"*"},(null==e?void 0:e.activeStepAfterSelection)||0),yield UL.Reload(),h?yield CommunicationMessageService.placePO({manufacturer:n,program:o,extParameter:{},articleNumber:c,preventVPlacer:d}):r(),e.closeModalQuery&&TY.dispatch("close-modal",{query:e.closeModalQuery}))})}};var z1=Object.defineProperty,H1=Object.getOwnPropertyDescriptor,G1=Object.getPrototypeOf,j1=Reflect.get,J1=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?H1(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&z1(t,r,o),o},W1=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});let Q1=class extends DW{constructor(){super(),this.groupColumns=2,this.programColumns=2,this.infoButtons=!1,this.closeModalQuery=".general-modal",this.infoModalQuery=".general-modal",this.infoMask="program-information",this.onSelectionEvents=new Array,this.activeStepAfterSelection=0,this.overrideInitialArticle=!1,this.templateId="program-selection",this.levelOneSelection=!1,this.overviewIcon="",this.imageZoomOnHover=!1,this._levelContainerScrollOffset=0,this.mask="program-selection",this.katalogEnvironment=[],this.selectedLevelOne=void 0,window.addEventListener("onCloudId",this.configureWithUIManuProg.bind(this)),this.addEventListener("program-selected",e=>W1(this,null,function*(){yield V1.Configure({detail:e.detail,closeModalQuery:this.closeModalQuery,initialArticle:this.initialArticle||"",activeStepAfterSelection:this.activeStepAfterSelection,clearScene:!0,confirmModal:!0,overrideInitialArticle:this.overrideInitialArticle}),yield TY.dispatchEventList(this.onSelectionEvents,!1)})),this.addEventListener("info-icon-clicked",e=>W1(this,null,function*(){TY.dispatch("open-modal",{query:this.infoModalQuery,mask:this.infoMask,fade:!1,dimmed:!1,cancelable:V1.canBeCancelled,data:e.detail?e.detail:{program:""}})}))}disconnectedCallback(){this.configureWithUIManuProg(),super.disconnectedCallback()}init(){return W1(this,null,function*(){yield CommunicationInterfaceService.IsAppReady,yield this.fillKatalogEnvironment()})}firstUpdated(e){var t=e=>super[e];return W1(this,null,function*(){this.overrideInitialArticle&&(yield CommunicationInterfaceService.IsAppReady,yield CommunicationMessageService.clearScene()),yield this.init(),window.addEventListener("language-changed",e=>W1(this,null,function*(){yield this.init();const e=this.selectedLevelOne;e&&(this.selectedLevelOne=this.katalogEnvironment.find(t=>t.id===e.id)||this.selectedLevelOne)})),t("firstUpdated").call(this,e)})}configureWithUIManuProg(){return W1(this,null,function*(){const e=yield CommunicationMessageService.getUserinterfaceManuProg();e&&(null==e?void 0:e.uimanu)&&(null==e?void 0:e.uiprog)&&(yield V1.Configure({detail:{level:e.uiprog},closeModalQuery:this.closeModalQuery,initialArticle:this.initialArticle||"",activeStepAfterSelection:this.activeStepAfterSelection,clearScene:!1,confirmModal:!1,overrideInitialArticle:this.overrideInitialArticle}),yield TY.dispatchEventList(this.onSelectionEvents,!1))})}fillKatalogEnvironment(){return W1(this,null,function*(){if(!window)return;if(!window.g_article)return;if(!window.g_article.manu)return;this.katalogEnvironment=[];const e=new Set,t=new Set,r=yield CommunicationMessageService.getProgramLevelTree(window.g_article.manu,!0);r.level1.sort((e,t)=>e.order-t.order);for(const e of r.level1)e.level2&&e.level2.sort((e,t)=>e.order-t.order);for(const n of r.level1)if(n.level2||!n.program)for(const r of n.level2||[])r.program&&(t.add(n.id),e.add({program:r.program,kataId:r.id}));else e.add({program:n.program,kataId:n.id});const n={id:"onlyLevelOne",name:"",level2:[],program:""},i=(e,t)=>{e.level2&&e.level2.length>0?this.katalogEnvironment.push({id:e.id,index:e.program,name:e.name,entries:e.level2.filter(e=>{var r;return t[e.program]&&((null==(r=t[e.program])?void 0:r.images)||[]).length>0}).map(e=>({id:e.id,index:e.program,name:e.name,entries:[],programImageFilter:[e.program],textInfo:{text:t[e.program].text,heading:t[e.program].heading,subheading:t[e.program].subheading}})),programImageFilter:[],textInfo:{text:"",heading:"",subheading:""}}):e.program&&t[e.program]&&n.level2&&n.level2.push({id:e.id,program:e.program,name:e.name})};yield aR.getKataLevelOneMediaImages([...t]);const o=yield aR.getProgramSelectionImages([...e]);if(o){for(const e of r.level1)i(e,o);i(n,o)}if(this.katalogEnvironment.length>1){const e=this.katalogEnvironment.find(e=>"onlyLevelOne"===e.id);e&&""==e.name&&(e.name="collections")}this.requestUpdate()})}openConfirmationModal(e){return W1(this,null,function*(){const t=this.querySelector("fv-program-selection-confirmation");if(t.ResponseDefer=e,!t)return e.resolve([!0]),!0;t.active=!0;const r=yield e;return t.active=!1,r})}enableLevelOneSelection(){return 0==this.katalogEnvironment.some(e=>"onlyLevelOne"===e.id)&&this.levelOneSelection&&this.katalogEnvironment.length>1}isLevelOneLevelContainer(){return this.enableLevelOneSelection()&&void 0===this.selectedLevelOne}levelContainerClicked(e){this.enableLevelOneSelection()&&(this.selectedLevelOne&&this.selectedLevelOne.id==e.id||(this.selectedLevelOne=e,this.requestUpdate()))}overviewClicked(){this.selectedLevelOne=void 0,this.requestUpdate()}getSubLevel(e){const t=new O1;return t.staticColumn=1===this.katalogEnvironment.length||void 0!==this.selectedLevelOne?0:2,t.infoButton=this.infoButtons,t.levelOneSelection=this.enableLevelOneSelection()&&this.selectedLevelOne!=e,t.gridAreaPrefix="level",t.level=e,t.imageZoomOnHover=this.imageZoomOnHover,t}buildLevel(e,t){return Zk`
+            <div class="program-selection-level-container ${this.isLevelOneLevelContainer()?"program-selection-level-one-container":""}" @click="${()=>this.levelContainerClicked(e)}">
+                ${this.getSubLevel(e)}
+            </div>
+            ${void 0!==t&&t!=this.katalogEnvironment.length-1&&0==this.enableLevelOneSelection()?Zk`
+                <div class="level-divider-container" style="grid-area: level-divider-${e.index}">
+                    <div class="level-divider"></div>
+                </div>`:Zk``}
+        `}buildLevels(e,t){if(t)return this.buildLevel(t);return e&&e.length>0?e.map((e,t)=>{if(e.entries&&e.entries.length>0)return this.buildLevel(e,t)}):Zk`
+                <slot name="loader"></slot>`}buildControlsContainer(){return this.selectedLevelOne?Zk`
+            <div class="controls-container">
+                <div class="overview button" @click=${this.overviewClicked}>
+                    <i class="icon ${this.overviewIcon?this.overviewIcon:"fv-icon-arrow"}"></i>
+                    <div class="text" i18n="program.information.overview.button"></div>
+                </div>
+            </div>
+        `:Zk``}build(e=Zk``){return super.build(Zk`
+            <div class="selection-container">
+                <div class="selection-header">
+                    <slot name="before"></slot>
+                    <div class="selection-title" i18n="program.selection.title"></div>
+                    <slot name="after"></slot>
+                </div>
+                <div class="levels-outer-container">
+                    <div class="levels-container ${this.isLevelOneLevelContainer()?"level-one-selection":""}">
+                        ${this.buildLevels(this.katalogEnvironment,this.selectedLevelOne)}
+                    </div>
+                </div>
+                ${this.buildControlsContainer()}
+                ${e}
+            </div>
+        `)}render(){return this.build(Zk`
+            <slot></slot>`)}};Q1.styles=[((e,t)=>j1(G1(e),t,e))(Q1,"styles")||[],$k`${yk(w1)}`],J1([dk(".levels-container")],Q1.prototype,"_levelsContainer",2),J1([lk({type:Number,reflect:!0,attribute:"group-columns"})],Q1.prototype,"groupColumns",2),J1([lk({type:Number,reflect:!0,attribute:"program-columns"})],Q1.prototype,"programColumns",2),J1([lk({type:Boolean,reflect:!0,attribute:"info-buttons"})],Q1.prototype,"infoButtons",2),J1([lk({type:String,reflect:!0,attribute:"close-modal-query"})],Q1.prototype,"closeModalQuery",2),J1([lk({type:String,reflect:!0,attribute:"info-modal-query"})],Q1.prototype,"infoModalQuery",2),J1([lk({type:String,reflect:!0,attribute:"info-mask"})],Q1.prototype,"infoMask",2),J1([lk({type:Array,reflect:!0,attribute:"on-selection-events"})],Q1.prototype,"onSelectionEvents",2),J1([lk({type:Number,reflect:!0,attribute:"active-step-after-selection"})],Q1.prototype,"activeStepAfterSelection",2),J1([lk({type:Boolean,reflect:!0,attribute:"override-initial-article"})],Q1.prototype,"overrideInitialArticle",2),J1([lk({type:String,reflect:!0,attribute:"template-id"})],Q1.prototype,"templateId",2),J1([lk({type:Boolean,reflect:!0,attribute:"level-one-selection"})],Q1.prototype,"levelOneSelection",2),J1([lk({type:String,reflect:!0,attribute:"overview-icon"})],Q1.prototype,"overviewIcon",2),J1([lk({type:Boolean,reflect:!0,attribute:"image-zoom-on-hover"})],Q1.prototype,"imageZoomOnHover",2),Q1=J1([sk("fv-program-selection")],Q1);var q1=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{left:0;padding-bottom:var(--program-information-padding-bottom,1em);padding-top:var(--program-information-padding-top,2em);position:absolute;top:0}:host .information-container{grid-gap:var(--program-information-container-grid-gap,2.5em);display:grid;grid-template-areas:var(--information-container-grid-areas,var(--information-container-grid-auto-areas,"title" "sub-title" "text" "img-container" "controls-container"));grid-template-columns:auto;grid-template-rows:var(--information-container-grid-rows,var(--information-container-grid-auto-rows,auto auto auto 1fr auto));height:100%;overflow:hidden auto;text-align:center;width:80%}:host .information-container .title{font-size:var(--program-information-title-font-size,2em);grid-area:title}:host .information-container .sub-title{font-size:var(--program-information-sub-title-font-size,1em);grid-area:sub-title}:host .information-container .text{font-size:var(--program-information-text-font-size,1em);grid-area:text}:host .information-container .img-container{grid-area:img-container}:host .information-container .controls-container{display:grid;font-size:var(--program-information-button-font-size,1em);gap:var(--program-information-controls-grid-gap,2.5em);grid-area:controls-container;grid-template-areas:"leer1 overview configure leer2";grid-template-columns:auto max-content max-content auto;grid-template-rows:auto;height:fit-content}:host .information-container .controls-container .button{align-items:center;border:var(--program-information-button-border,2px solid #d3d3d3);border-radius:var(--program-information-button-border-radius,unset);cursor:pointer;display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:center;line-height:1em}:host .information-container .controls-container .button.overview{grid-area:overview}:host .information-container .controls-container .button.overview .text{padding:1em 1em 1em 0}:host .information-container .controls-container .button.overview i{display:flex;margin-right:16px;padding-left:1em}:host .information-container .controls-container .button.configure{grid-area:configure}:host .information-container .controls-container .button.configure .text{padding:1em 0 1em 1em}:host .information-container .controls-container .button.configure i{padding-right:1em}:host .information-container .controls-container .button.configure img{padding-right:1em;width:46px}:host .information-container .information-item{align-items:center;display:flex;justify-content:center;overflow:hidden;padding-left:var(--program-information-item-padding-left-right,1em);padding-right:var(--program-information-item-padding-left-right,1em)}:host([active]){display:flex;justify-content:center}`,Y1=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{display:flex;flex:1;flex-direction:column;justify-content:var(--image-justify-content,center);overflow:hidden;text-align:center;width:100%}:host div{background-position:var(--image-background-position,center);background-repeat:var(--image-background-repeat,no-repeat);background-size:var(--image-background-size,contain);height:var(--image-container-height,auto)}:host(.use-img.single) div{display:flex;flex:1;flex-wrap:nowrap;justify-content:center;overflow:hidden}:host(.use-img.single) div img{border-radius:var(--image-border-radius,unset);flex:1;object-fit:scale-down;width:100%}:host(.use-img:not(.single)) div{display:flex;flex-direction:row;justify-content:space-evenly}:host(.use-img:not(.single)) div img{border-radius:var(--image-border-radius,unset);flex:1;height:auto;width:100%}:host(.fill-height){height:100%}:host(.zoom-on-hover) div{border-radius:var(--image-border-radius,unset);overflow:hidden}:host(.zoom-on-hover) div img{transition:transform var(--image-hover-zoom-transition-time,.7s) ease}:host(.zoom-on-hover) div:hover img{transform:scale(var(--image-hover-zoom-scale,1.05))}`,X1=Object.defineProperty,K1=Object.getOwnPropertyDescriptor,Z1=Object.getPrototypeOf,e2=Reflect.get,t2=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?K1(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&X1(t,r,o),o},r2=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});let n2=class extends FT{constructor(){super(),this.programFilter=[],this.imageType="milieu",this.kataId="",this._imagePreloadedSources=[],this.activeIndex=0}preloadedImageCollection(){return r2(this,null,function*(){const e=this.programFilter.map(e=>({program:e,kataId:this.kataId}));this._imagePreloadedSources=yield aR.getProgramMediaImages(e,this.imageType),0===this._imagePreloadedSources.length&&(this._imagePreloadedSources=yield aR.getKataLevelOneMediaImages([this.kataId])),this.dispatchEvent(new CustomEvent("images-loaded",{bubbles:!0,composed:!1,detail:this._imagePreloadedSources}))})}firstUpdated(e){var t=e=>super[e];return r2(this,null,function*(){yield this.preloadedImageCollection(),t("firstUpdated").call(this,e)})}scheduleUpdate(){var e=e=>super[e];return r2(this,null,function*(){return yield this.preloadedImageCollection(),e("scheduleUpdate").call(this)})}render(){var e,t;return this.activeIndex=Math.min(Math.max(this.activeIndex,0),this._imagePreloadedSources.length-1),Zk`
+            <div style="${this.classList.contains("use-img")?"":`background-image: url(${null==(e=this._imagePreloadedSources[this.activeIndex])?void 0:e.url});`}">
+                ${this.classList.contains("use-img")?Zk`<img src="${null==(t=this._imagePreloadedSources[this.activeIndex])?void 0:t.url}"/>`:""}
+            </div>
+        `}getCount(){return this._imagePreloadedSources.length}getIndex(){return this.activeIndex}setIndex(e){this.activeIndex=e}next(){this.activeIndex++}previous(){this.activeIndex--}};n2.styles=[((e,t)=>e2(Z1(e),t,e))(n2,"styles")||[],$k`${yk(Y1)}`],t2([lk({type:Array,reflect:!0})],n2.prototype,"programFilter",2),t2([lk({type:Number,reflect:!0})],n2.prototype,"activeIndex",2),t2([lk({type:String,reflect:!0})],n2.prototype,"imageType",2),t2([lk({type:String,reflect:!0})],n2.prototype,"kataId",2),n2=t2([sk("fv-image")],n2);var i2=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host .logo .logo-image{height:var(--logo-image-height,unset);width:var(--logo-image-width,unset)}`,o2=Object.defineProperty,s2=Object.getOwnPropertyDescriptor,a2=Object.getPrototypeOf,l2=Reflect.get,c2=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?s2(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&o2(t,r,o),o},u2=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});let d2=class extends FT{constructor(){super(),this.fallbackLanguage="de",this.usePriceListLogo=!1,this._priceListImage=""}fetchPriceListImageUrl(){return u2(this,null,function*(){if(this.usePriceListLogo){const e=window.g_article.manu.toLowerCase(),t=window.g_article.prog.toLowerCase();let r=e+"_logo.gif";const n=yield CommunicationMessageService.getManufacturerLogoNameFromPriceReference(e,t);void 0!==n&&(null==n?void 0:n.LogoFileName)&&(r=n.LogoFileName);const i=yield CommunicationMessageService.getMediaUrl(window.g_article.manu.toLowerCase(),"","logo_custom",r,!0,!1);this._priceListImage=i}})}getUserLanguage(){const e=new URL(window.location.href);return e.searchParams.has("lang")?e.searchParams.get("lang"):this.fallbackLanguage}getLogoPath(){var e,t;if(this.usePriceListLogo)return this._priceListImage;const r=this.getUserLanguage(),n=null==(e=this.logos)?void 0:e.find(e=>e.lang===r),i=null==(t=this.logos)?void 0:t.find(e=>e.lang===this.fallbackLanguage);return n?n.srcImg:i?i.srcImg:""}renderLogoImage(){return this.getLogoPath()?Zk`
+            <div class="logo">
+                <img class="logo-image" src="${this.getLogoPath()}"/>
+            </div>
+        `:Zk``}firstUpdated(e){var t=e=>super[e];return u2(this,null,function*(){yield this.fetchPriceListImageUrl(),t("firstUpdated").call(this,e)})}requestUpdate(e,t,r){var n=e=>super[e];return u2(this,null,function*(){yield this.fetchPriceListImageUrl(),n("requestUpdate").call(this,e,t,r)})}render(){return this.renderLogoImage()}};d2.styles=[((e,t)=>l2(a2(e),t,e))(d2,"styles")||[],$k`${yk(i2)}`],c2([lk({type:Array,reflect:!0,attribute:"logos"})],d2.prototype,"logos",2),c2([lk({type:String,reflect:!0,attribute:"fallback-language"})],d2.prototype,"fallbackLanguage",2),c2([lk({type:Boolean,reflect:!0,attribute:"use-pricelist-logo"})],d2.prototype,"usePriceListLogo",2),d2=c2([sk("fv-logo")],d2);var h2=Object.defineProperty,p2=Object.getOwnPropertyDescriptor,m2=Object.getPrototypeOf,_2=Reflect.get,g2=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?p2(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&h2(t,r,o),o},f2=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});let v2=class extends DW{constructor(){super(),this.mask="program-information",this.initialArticle="",this.overviewIcon="",this.configureIcon="",this.parentModalQuery=".general-modal",this.programSelectionModalQuery=".general-modal",this.autoDetectGridRowsAndAreas=!1,this.useImageController=!0,this.AreasData={title:{style:"auto",conditions:{txtInfo:"heading",maskData:"name"}},"sub-title":{style:"auto",conditions:{txtInfo:"subheading"}},text:{style:"auto",conditions:{txtInfo:"text"}},"img-container":{style:"1fr"},"controls-container":{style:"auto"}}}get program(){const e=this.maskData.program;return e&&"string"==typeof e?e:""}get category(){const e=this.maskData.category;return e&&"string"==typeof e?e:""}get parentLevel(){const e=this.maskData.parentLevel;return e&&"string"==typeof e?e:""}get image(){const e=this.maskData.image;return e&&"object"==typeof e?e:{programFilter:[],activeImageIndex:0}}get textInfo(){const e=this.maskData.textInfo;return e||{}}overview(){return f2(this,null,function*(){TY.dispatch("open-modal",{query:this.programSelectionModalQuery,mask:"program-selection",fade:!1,dimmed:!1,cancelable:V1.canBeCancelled})})}configure(){return f2(this,null,function*(){yield V1.Configure({detail:{category:this.category,level:this.program,parentLevel:this.parentLevel},closeModalQuery:this.parentModalQuery,confirmModal:!0,initialArticle:this.initialArticle||"",clearScene:!0,activeStepAfterSelection:0,overrideInitialArticle:!0})})}createProgramInformationImage(e){var t,r;const n=new n2;return n.classList.add("fill-height","use-img","single"),n.programFilter=(null==(t=this.image)?void 0:t.programFilter)||[],n.activeIndex=this.image.activeImageIndex||0,n.imageType=(null==(r=this.image)?void 0:r.imageType)||"milieu",e?Zk`
+                <fv-program-information-controller class="fill-height">
+                    ${n}
+                </fv-program-information-controller>
+            `:n}get HeadingHTML(){return this.textInfo&&this.textInfo.heading&&this.textInfo.heading.length>0?Zk`<div class="title information-item">${this.textInfo.heading}</div>`:this.maskData&&this.maskData.name&&this.maskData.name.length>0?Zk`<div class="title information-item">${this.maskData.name}</div>`:Zk``}CreateTxtHtml(e,t){return null!=e&&e.length>0?Zk`<div class="${null!=t?t:""}">${e}</div>`:Zk``}show(e){super.show(e)}build(e=Zk``){if(this.autoDetectGridRowsAndAreas){const e=e=>{if(null==e)return!1;if(e.txtInfo&&e.txtInfo.length>0){const t=this.textInfo[e.txtInfo];if(null!=t&&t.length>0)return!0}if(e.maskData){const t=this.maskData[e.maskData];if(null!=t&&t.length>0)return!0}return!1},t=new Array,r=new Array,n=Object.keys(this.AreasData);for(let i=0;i<n.length;++i){const o=n[i],s=this.AreasData[o],a=null==s.conditions,l=!a&&e(s.conditions);(a||l)&&(t.push(o),r.push(s.style))}this.style.setProperty("--information-container-grid-auto-areas",'"'+t.join('" "')+'"'),this.style.setProperty("--information-container-grid-auto-rows",r.join(" "))}else this.style.removeProperty("--information-container-grid-auto-areas"),this.style.removeProperty("--information-container-grid-auto-rows");return super.build(Zk`
+            <div class="information-container">
+                ${this.HeadingHTML}
+                ${this.CreateTxtHtml(this.textInfo.subheading,"sub-title information-item")}
+                ${this.CreateTxtHtml(this.textInfo.text,"text information-item")}
+                <div class="img-container information-item">
+                    ${this.createProgramInformationImage(this.useImageController)}
+                </div>
+                <div class="controls-container information-item">
+                    <div class="overview button" @click=${this.overview}>
+                        <i class="icon ${this.overviewIcon?this.overviewIcon:"fv-icon-arrow"}"></i>
+                        <div class="text" i18n="program.information.overview.button"></div>
+                    </div>
+                    <div class="configure button" @click=${this.configure}>
+                        <div class="text" i18n="program.information.configure.button"></div>
+                        ${tL.getVar(this,"--open-planning-image")?Zk`<img src="${tL.getVar(this,"--open-planning-image")}"/>`:Zk`<i class="icon ${this.configureIcon}"></i>`}
+                    </div>
+                </div>
+                ${e}
+            </div>
+        `)}render(){return this.build(Zk`<slot></slot>`)}};v2.styles=[((e,t)=>_2(m2(e),t,e))(v2,"styles")||[],$k`${yk(q1)}`],g2([lk({type:String,reflect:!0,attribute:"overview-icon"})],v2.prototype,"overviewIcon",2),g2([lk({type:String,reflect:!0,attribute:"configure-icon"})],v2.prototype,"configureIcon",2),g2([lk({type:String,reflect:!0,attribute:"parent-modal-query"})],v2.prototype,"parentModalQuery",2),g2([lk({type:String,reflect:!0,attribute:"program-selection-modal-query"})],v2.prototype,"programSelectionModalQuery",2),g2([lk({type:Boolean,reflect:!0,attribute:"auto-detect-grid-rows-and-areas"})],v2.prototype,"autoDetectGridRowsAndAreas",2),g2([lk({type:Boolean,reflect:!0,attribute:"use-image-controller"})],v2.prototype,"useImageController",2),v2=g2([sk("fv-program-information")],v2);var b2=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host(.fill-height){height:100%}:host{align-items:center;display:flex;flex:auto;flex-direction:row;gap:var(--program-information-controls-gap,5rem);justify-content:center}:host .hidden{display:block!important;opacity:0}:host fv-icon{--icon-font-size:var(--program-information-controls-size,3rem)}:host .flip{transform:scaleX(-1)}`,y2=Object.defineProperty,$2=Object.getOwnPropertyDescriptor,x2=Object.getPrototypeOf,S2=Reflect.get,w2=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?$2(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&y2(t,r,o),o};let A2=class extends FT{constructor(){super(),this._controlsIcon="fv-icon-arrow-left"}firstUpdated(e){super.firstUpdated(e),this.addEventListener("images-loaded",()=>{this.requestUpdate()})}render(){const{next:e,previous:t}=this.getIconClasses();return Zk`
+            <fv-icon @click="${this.previous}" icon="${this._controlsIcon}" class="${KT(t)}"></fv-icon>
+            <slot></slot>
+            <fv-icon @click="${this.next}" icon="${this._controlsIcon}" class="${KT(e)}"></fv-icon>
+        `}isControllable(e){const t=e;return void 0!==t.next&&void 0!==t.previous}get ControlledChildren(){var e;return Array.from((null==(e=this._controllerSlot)?void 0:e.assignedElements())||[]).filter(this.isControllable)}next(){this.ControlledChildren.forEach(e=>e.next()),this.requestUpdate()}previous(){this.ControlledChildren.forEach(e=>e.previous()),this.requestUpdate()}getIconClasses(){const e={previous:{hidden:!0},next:{flip:!0,hidden:!0}};if(1==this.ControlledChildren.length){const t=this.ControlledChildren[0];e.previous.hidden=t.getIndex()<=0||0===t.getCount(),e.next.hidden=t.getIndex()>=t.getCount()-1&&0!==t.getCount()}else this.ControlledChildren.length>0?(e.previous.hidden=this.ControlledChildren.every(e=>e.getIndex()<0&&0!=e.getCount()),e.next.hidden=this.ControlledChildren.every(e=>e.getIndex()>e.getCount()-1)):e.next.hidden=!0;return e}};A2.styles=[((e,t)=>S2(x2(e),t,e))(A2,"styles")||[],yk(b2)],w2([dk("slot")],A2.prototype,"_controllerSlot",2),w2([lk({type:String,reflect:!0,attribute:"controls-icon"})],A2.prototype,"_controlsIcon",2),A2=w2([sk("fv-program-information-controller")],A2);var C2=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{display:inline-block;height:100%}:host .img{height:100%;object-fit:contain;width:100%}`,E2=Object.defineProperty,I2=Object.getOwnPropertyDescriptor,M2=Object.getPrototypeOf,k2=Reflect.get;let T2=class extends FT{constructor(){super(),this.url=""}setImage(e){return t=this,r=null,n=function*(){this.url=e,this.requestUpdate()},new Promise((e,i)=>{var o=e=>{try{a(n.next(e))}catch(e){i(e)}},s=e=>{try{a(n.throw(e))}catch(e){i(e)}},a=t=>t.done?e(t.value):Promise.resolve(t.value).then(o,s);a((n=n.apply(t,r)).next())});var t,r,n}render(){return Zk`<img class="img" src="${this.url}">`}};T2.styles=[((e,t)=>k2(M2(e),t,e))(T2,"styles")||[],$k`${yk(C2)}`],T2=((e,t,r,n)=>{for(var i,o=n>1?void 0:n?I2(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&E2(t,r,o),o})([sk("fv-program-information-img")],T2);var R2=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{font-size:16px}`,L2=Object.defineProperty,P2=Object.getOwnPropertyDescriptor,D2=Object.getPrototypeOf,N2=Reflect.get,F2=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?P2(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&L2(t,r,o),o};let O2=class extends vJ{constructor(){super(...arguments),this.bordered=!1,this.events=[]}clicked(){return e=this,t=null,r=function*(){if(this.SettingApiDataCounter>0)return;this.IncreaseSettingApiDataCounter();const e=yield this.SetApiData([{name:this.group,modifications:[{target:this.name,type:"button",value:1}]}]),t=this.Get();(null==t?void 0:t["instance-ident"])&&this.events.forEach(e=>{e.data&&LY.replaceValueInObject(e.data,"##INSTANCE_IDENT##",t["instance-ident"])}),yield TY.dispatchEventList(this.events,!1),this.RefreshUiData(e),this.DecreaseSettingApiDataCounter()},new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});var e,t,r}render(){if(vJ.Data){return this.Get().type.length<1?(this.classList.add("hidden"),this.createTemplate(Zk``)):(this.classList.remove("hidden"),this.createTemplate(Zk`
+                <fv-button @click="${this.clicked}" class="${this.bordered?"bordered":""}" i18n="${this.GetTextId()}">${this.GetText()}</fv-button>
+            `))}return this.createTemplate(Zk`<div>No Data!</div>`)}};O2.styles=[((e,t)=>N2(D2(e),t,e))(O2,"styles")||[],$k`${yk(R2)}`],F2([lk({type:Boolean,reflect:!0,attribute:"bordered"})],O2.prototype,"bordered",2),F2([lk({type:Object,reflect:!0,attribute:"events"})],O2.prototype,"events",2),O2=F2([sk("fv-configurator-form-element-button")],O2);var B2=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{font-size:16px}:host .label-outer-container{display:flex;flex-flow:var(--configurator-form-number-input-label-outer-container-flex-flow,column nowrap)}:host .label-outer-container .label-container{flex:var(--configurator-form-number-input-label-container-flex,unset)}:host .label-outer-container .label-container span{white-space:nowrap}:host .label-outer-container .label-min-max-container{padding-right:118px;text-align:right}:host .input-container{display:flex;flex-flow:row nowrap;position:relative}:host .input-inner-container{position:relative;width:100%}:host .increase-button{height:var(--configurator-form-increase-decrease-button-icon-size,calc(100% - 20px));position:relative;width:var(--configurator-form-increase-decrease-button-icon-size,calc(100% - 20px))}:host .increase-button-horizontal-container{align-items:center;bottom:0;cursor:pointer;display:flex;flex-direction:column;justify-content:center;left:0;position:absolute;right:0;top:0}:host .increase-button-horizontal{background-color:var(--configurator-form-increase-decrease-button-line-color,#000);cursor:pointer;height:var(--configurator-form-increase-decrease-button-line-thickness,2px);width:100%}:host .increase-button-vertical-container{align-items:center;bottom:0;cursor:pointer;display:flex;flex-direction:column;justify-content:center;left:0;position:absolute;right:0;top:0}:host .increase-button-vertical{background-color:var(--configurator-form-increase-decrease-button-line-color,#000);cursor:pointer;height:100%;width:var(--configurator-form-increase-decrease-button-line-thickness,2px)}:host .decrease-button{background-color:var(--configurator-form-increase-decrease-button-line-color,#000);cursor:pointer;height:var(--configurator-form-increase-decrease-button-line-thickness,2px);width:var(--configurator-form-increase-decrease-button-icon-size,calc(100% - 20px))}:host([label-is-overlay]) .label-container{height:var(--input-placeholder-text-overlay-font-size,13px);position:relative}:host([label-is-overlay]) .label-container span{background:#fff;color:var(--input-placeholder-animation-text-color-focus,#777);font-size:var(--input-placeholder-text-overlay-font-size,13px);left:5px;padding:0 5px;position:absolute;top:calc(100% - 1em);z-index:99}`,U2=Object.defineProperty,V2=Object.getOwnPropertyDescriptor,z2=Object.getPrototypeOf,H2=Reflect.get,G2=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?V2(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&U2(t,r,o),o},j2=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});let J2=class extends vJ{constructor(){super(),this.value=0,this.min=0,this.max=99999999,this.step=1,this.noMinMaxCheck=!1,this.showMinMaxTitle=!1,this.floatUnit="cm",this.hideUnusedUnitContainer=!1,this.hideUnusedUnitContainerWhenDisabled=!1,this.hideIncreaseDecreaseButtons=!1,this._type="float",this.addEventListener("click",e=>{e.preventDefault(),e.stopImmediatePropagation(),e.stopPropagation()}),this.addEventListener("mousemove",e=>{e.preventDefault(),e.stopImmediatePropagation(),e.stopPropagation()}),this.addEventListener("mouseleave",e=>{e.preventDefault(),e.stopImmediatePropagation(),e.stopPropagation()})}change(e){return j2(this,null,function*(){if(null!=e.detail.value){if(this.SettingApiDataCounter>0)return;const t=()=>j2(this,null,function*(){var t;const r=this.SetApiData([{name:this.group,modifications:[{target:this.name,type:this._type,value:e.detail.value}]}]),n=yield r;this.RefreshUiData(n),this.UpdateHighlight((null==(t=n[this.group])?void 0:t["instance-ident"])||0)});this.IncreaseSettingApiDataCounter();const r=t();this.constrainedInput&&(this.constrainedInput.FinalizeClickPromise=r),yield r,this.DecreaseSettingApiDataCounter()}})}getDisplayValue(e){return(e*this.Unitifier).toFixed(this.Digits).replace(".",this.decimalDivider)}get Unit(){return"float"==this._type?super.Unit:"error"}get Unitifier(){switch(this.Unit){case"cm":return.1;case"m":return.001;default:return 1}}get UnitLongname(){if("float"==this._type)switch(this.Unit){case"cm":return LocalesModel.translate("unit.name.cm");case"m":return LocalesModel.translate("unit.name.m");case"mm":return LocalesModel.translate("unit.name.mm")}return""}get Digits(){return"float"==this._type?super.Digits:0}render(){if(vJ.Data){const e=this.Get();if(this._type="int"==e.type?"int":"float",e.type.length<1)return this.classList.add("hidden"),this.createTemplate(Zk``);if(this.classList.remove("hidden"),this.min=void 0!==e.min?e.min:this.min,this.max=void 0!==e.max?e.max:this.max,null==e.max||null==e.min||null==e.value)return this.createTemplate(Zk`<div>Data Wrong for this Type of Element! (no min, no max or no value)</div>`);this.value=e.value;const t=this.min===this.max,r=this.nameTextOverwrite.length>0?this.nameTextOverwrite:this.GetTextId(),n=this.getDisplayValue(this.min)+" - "+this.getDisplayValue(this.max)+" "+this.UnitLongname;return this.createTemplate(Zk`
+                <div class="label-outer-container">
+                    <div class="label-container">
+                        <span i18n="${r}">${LocalesModel.translate(r,r)}</span>
+                        ${null==this.index||this.hideAlternativeName?Zk``:Zk`<span i18n="index-alternative-${this.nameTextOverwrite}-${this.index}">${LocalesModel.translate(this.nameTextOverwrite+"-"+this.index,(this.index+1).toString())}</span>`}
+                    </div>
+                    ${this.showMinMaxTitle&&!t?Zk`
+                        <div class="label-min-max-container">
+                            <span>${n}</span>
+                        </div>`:Zk``}
+                </div>
+                <div class="input-container">
+                    <span class="input-inner-container">
+                        <fv-constrained-input
+                            @change="${this.change}"
+                            min="${this.min}"
+                            max="${this.max}"
+                            value="${this.value}"
+                            step="${this.step}"
+                            unit="${this.Unit}"
+                            decimal-divider="${this.decimalDivider}"
+                            decimals="${this.Digits}"
+                            ?no-min-max-check="${this.noMinMaxCheck}"
+                            ?hide-unused-unit-container="${this.hideUnusedUnitContainer}"
+                            ?hide-unused-unit-container-when-disabled="${this.hideUnusedUnitContainerWhenDisabled}"
+                            pool-repeated-button-clicks
+                            ?show-increase-decrease="${!this.hideIncreaseDecreaseButtons}">
+                            <div slot="increase" class="increase-button">
+                                <div class="increase-button-horizontal-container">
+                                    <div class="increase-button-horizontal"></div>
+                                </div>
+                                <div class="increase-button-vertical-container">
+                                    <div class="increase-button-vertical"></div>
+                                </div>
+                            </div>
+                            <div slot="decrease" class="decrease-button"></div>
+                        </fv-constrained-input>
+                    </span>
+                </div>
+            `)}return this.createTemplate(Zk`<div>No Data!</div>`)}};J2.styles=[((e,t)=>H2(z2(e),t,e))(J2,"styles")||[],$k`${yk(B2)}`],G2([lk({type:Number,reflect:!0})],J2.prototype,"value",2),G2([lk({type:Number,reflect:!0})],J2.prototype,"min",2),G2([lk({type:Number,reflect:!0})],J2.prototype,"max",2),G2([lk({type:Number,reflect:!0})],J2.prototype,"step",2),G2([lk({type:Boolean,reflect:!0,attribute:"no-min-max-check"})],J2.prototype,"noMinMaxCheck",2),G2([lk({type:Boolean,reflect:!0,attribute:"show-min-max-title"})],J2.prototype,"showMinMaxTitle",2),G2([lk({type:String,reflect:!0,attribute:"float-unit"})],J2.prototype,"floatUnit",2),G2([lk({type:Boolean,reflect:!0,attribute:"hide-unused-unit-container"})],J2.prototype,"hideUnusedUnitContainer",2),G2([lk({type:Boolean,reflect:!0,attribute:"hide-unused-unit-container-when-disabled"})],J2.prototype,"hideUnusedUnitContainerWhenDisabled",2),G2([lk({type:Boolean,reflect:!0,attribute:"hide-increase-decrease-buttons"})],J2.prototype,"hideIncreaseDecreaseButtons",2),G2([dk("fv-constrained-input")],J2.prototype,"constrainedInput",2),J2=G2([sk("fv-configurator-form-element-number-input")],J2);var W2=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{border:var(--configurator-form-list-element-border,unset);padding:var(--configurator-form-list-element-padding,unset)}:host .child-components-container{border-bottom:var(--child-components-border-bottom,0);border-left:var(--child-components-border-left,0);border-right:var(--child-components-border-right,0);border-top:var(--child-components-border-top,0);overflow:hidden;padding:var(--child-components-padding,0)}`,Q2=Object.defineProperty,q2=Object.getOwnPropertyDescriptor,Y2=Object.getPrototypeOf,X2=Reflect.get,K2=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?q2(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&Q2(t,r,o),o};let Z2=class extends vJ{constructor(){super(...arguments),this.elementsTags={},this.elementsAttributes={},this.toggleButton="",this.hideAlternativeNameOnSingleEntry=!1}createChild(e,t){const r=this.elementsTags[t[e].type];if(r){const n=document.createElement(r);n.id="id-"+e,n.name=e,n.group=this.group,n.index=t[e].index,n.nameTextOverwrite=t[e].name?t[e].name:"",n.hideAlternativeName=!1,n.decimalDivider=this.decimalDivider;const i=this.elementsAttributes[t[e].type];if(i){const e=Object.keys(i);for(const t of e)n.setAttribute(t,i[t])}if(this.hideAlternativeNameOnSingleEntry){const e=this.Get();if(e.children){1===Object.keys(e.children).length&&(n.hideAlternativeName=!0)}}return Zk`${n}`}return Zk`<div>Tag for [${e}] of type [${t[e].type}] not defined in configuration!</div>`}get showToggleButton(){return this.toggleButton.length>0}createToggleButton(){if(this.showToggleButton){return Zk`
+                <fv-button @click="${()=>{this.childComponentsContainer&&this.childComponentsContainer.classList.toggle("hidden")}}" class="drop-down-button" i18n="${this.toggleButton}">${LocalesModel.translate(this.toggleButton,this.toggleButton)}</fv-button>
+            `}return Zk``}render(){if(vJ.Data){const e=this.Get();if("list"==e.type&&e.children){this.classList.remove("hidden");const t=Object.keys(e.children);return t.length<1?(this.classList.add("hidden"),this.createTemplate(Zk`<div>No children in list component!</div>`)):(this.classList.remove("hidden"),this.createTemplate(Zk`
+                    ${this.createToggleButton()}
+                    <div class="child-components-container${this.showToggleButton?" hidden":""}">
+                        ${t.map(t=>this.createChild(t,e.children?e.children:{}))}
+                    </div>
+                `))}return""==e.type?(this.classList.add("hidden"),this.createTemplate(Zk``)):this.createTemplate(Zk`<div>Element Data not intended for list component</div>`)}return this.createTemplate(Zk`<div>No Data!</div>`)}};Z2.styles=[((e,t)=>X2(Y2(e),t,e))(Z2,"styles")||[],$k`${yk(W2)}`],K2([lk({type:Object,reflect:!0,attribute:"elements-tags"})],Z2.prototype,"elementsTags",2),K2([lk({type:Object,reflect:!0,attribute:"elements-attributes"})],Z2.prototype,"elementsAttributes",2),K2([dk(".child-components-container")],Z2.prototype,"childComponentsContainer",2),K2([lk({type:String,reflect:!0,attribute:"toggle-button"})],Z2.prototype,"toggleButton",2),K2([lk({type:Boolean,reflect:!0,attribute:"hide-alternative-name-on-single-entry"})],Z2.prototype,"hideAlternativeNameOnSingleEntry",2),Z2=K2([sk("fv-configurator-form-element-list")],Z2);var e3=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{font-size:16px}:host .outer-container{align-items:center;cursor:pointer;display:flex;flex-flow:row nowrap;flex-wrap:nowrap;gap:10px}:host .label-container span{white-space:nowrap}:host .checkcontainer{background-color:var(--configurator-form-checkbox-color,#eee);height:25px;position:relative;width:25px}:host .checkcontainer:hover{background-color:var(--configurator-form-checkbox-hover-color,#ccc)}:host .checkcontainer.checked{background-color:var(--configurator-form-checkbox-checked-color,#2196f3)}:host .checkcontainer .checkmark{border-width:medium;border-bottom:3px solid var(--configurator-form-checkbox-checkmark-color,#fff);border-left:0 solid var(--configurator-form-checkbox-checkmark-color,#fff);border-right:3px solid var(--configurator-form-checkbox-checkmark-color,#fff);border-top:0 solid var(--configurator-form-checkbox-checkmark-color,#fff);display:none;height:10px;left:9px;position:absolute;top:5px;-webkit-transform:rotate(45deg);-ms-transform:rotate(45deg);transform:rotate(45deg);width:5px}:host .checkcontainer .checkmark.checked{display:block}`,t3=Object.defineProperty,r3=Object.getOwnPropertyDescriptor,n3=Object.getPrototypeOf,i3=Reflect.get,o3=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?r3(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&t3(t,r,o),o};let s3=class extends vJ{constructor(){super(...arguments),this.state=!1,this.changeable=!1,this._clickActive=!1}clicked(){return e=this,t=null,r=function*(){if(this.changeable){if(this.SettingApiDataCounter>0||this._clickActive)return;this.IncreaseSettingApiDataCounter(),this._clickActive=!0;const e=yield this.SetApiData([{name:this.group,modifications:[{target:this.name,type:"checkbox",value:this.state?0:1}]}]);this.RefreshUiData(e),this._clickActive=!1,this.DecreaseSettingApiDataCounter()}},new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});var e,t,r}render(){if(vJ.Data){const e=this.Get();if(this.state=null!=e.state&&e.state,this.changeable=null==e.changeable||e.changeable,e.type.length<1)return this.classList.add("hidden"),this.createTemplate(Zk``);this.classList.remove("hidden");const t=this.nameTextOverwrite.length>0?this.nameTextOverwrite:this.GetTextId();return this.createTemplate(Zk`
+                <div @click="${this.clicked}" class="outer-container">
+                    <div class="label-container">
+                        <span i18n="${t}">${LocalesModel.translate(t,t)}</span>
+                    </div>
+                    <div class="checkcontainer${this.state?" checked":""}">
+                        <div class="checkmark${this.state?" checked":""}"></div>
+                    </div>
+                </div>
+            `)}return this.createTemplate(Zk`<div>No Data!</div>`)}};s3.styles=[((e,t)=>i3(n3(e),t,e))(s3,"styles")||[],$k`${yk(e3)}`],o3([lk({type:Boolean,reflect:!0})],s3.prototype,"state",2),o3([lk({type:Boolean,reflect:!0,attribute:"change-able"})],s3.prototype,"changeable",2),s3=o3([sk("fv-configurator-form-element-checkbox")],s3);var a3=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{font-size:16px}:host .label-container span{white-space:nowrap}:host .options-container{display:flex;flex-flow:row nowrap;gap:10px}:host .options-container .option{white-space:nowrap;width:100%}:host([label-is-overlay]) .label-container{height:var(--input-placeholder-text-overlay-font-size,13px);position:relative}:host([label-is-overlay]) .label-container span{background:#fff;color:var(--input-placeholder-animation-text-color-focus,#777);font-size:var(--input-placeholder-text-overlay-font-size,13px);left:5px;padding:0 5px;position:absolute;top:calc(100% - 1em);z-index:99}`,l3=Object.defineProperty,c3=Object.getOwnPropertyDescriptor,u3=Object.getPrototypeOf,d3=Reflect.get,h3=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?c3(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&l3(t,r,o),o};let p3=class extends vJ{constructor(){super(...arguments),this.txtIdMapping={},this.bordered=!1,this._clickActive=!1}optionClicked(e){return t=this,r=null,n=function*(){if(!(this._clickActive||this.SettingApiDataCounter>0)){if(this.IncreaseSettingApiDataCounter(),this._clickActive=!0,e&&e.target){const t=e.target.getAttribute("option");if(null==t)return;const r=yield this.SetApiData([{name:this.group,modifications:[{target:this.name,type:"string",value:t||""}]}]);this.RefreshUiData(r)}this._clickActive=!1,this.DecreaseSettingApiDataCounter()}},new Promise((e,i)=>{var o=e=>{try{a(n.next(e))}catch(e){i(e)}},s=e=>{try{a(n.throw(e))}catch(e){i(e)}},a=t=>t.done?e(t.value):Promise.resolve(t.value).then(o,s);a((n=n.apply(t,r)).next())});var t,r,n}createOption(e,t,r=!1){const n=this.txtIdMapping[e]?this.txtIdMapping[e]:e;return Zk`<fv-button @click="${this.optionClicked}" class="option ${this.bordered?"bordered":""}${t?" active":""}" option="${e}" ?disabled="${r}" i18n="${n}">${LocalesModel.translate(n,n)}</fv-button>`}render(){if(vJ.Data){const e=this.Get(),t=(null==e?void 0:e["disabled-options"])||[];if(e.type.length<1)return this.classList.add("hidden"),this.createTemplate(Zk``);if(this.classList.remove("hidden"),null==e.options||e.options.length<1)return this.createTemplate(Zk`No Options!`);const r=r=>{const n=t.includes(r),i=e.active===r&&!n;return this.createOption(r,i,n)},n=this.nameTextOverwrite.length>0?this.nameTextOverwrite:this.GetTextId();return this.createTemplate(Zk`
+                <div class="label-container">
+                    <span i18n="${n}">${LocalesModel.translate(n,n)}</span>
+                </div>
+                <div class="options-container">
+                    ${e.options.map(e=>r(e))}
+                </div>
+            `)}return this.createTemplate(Zk`<div>No Data!</div>`)}};p3.styles=[((e,t)=>d3(u3(e),t,e))(p3,"styles")||[],$k`${yk(a3)}`],h3([lk({type:Object,reflect:!0,attribute:"txt-id-mapping"})],p3.prototype,"txtIdMapping",2),h3([lk({type:Boolean,reflect:!0,attribute:"bordered"})],p3.prototype,"bordered",2),p3=h3([sk("fv-configurator-form-element-option-selection")],p3);
+/**
+ * @license
+ * Copyright 2018 Google LLC
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+const m3=e=>null!=e?e:tT;var _3=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host .label-outer-container{display:flex;flex-flow:column nowrap}:host .slider-container{width:100%}`,g3=Object.defineProperty,f3=Object.getOwnPropertyDescriptor,v3=Object.getPrototypeOf,b3=Reflect.get,y3=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?f3(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&g3(t,r,o),o};let $3=class extends vJ{constructor(){super(),this.value=0,this.min=0,this.max=99999999,this._type="float",this.addEventListener("slider-release",e=>{return t=this,r=null,n=function*(){if(this.SettingApiDataCounter>0)return;this.IncreaseSettingApiDataCounter();const t=e.detail;this.value=t.value;const r=[{name:this.group,modifications:[{target:this.name,type:this._type,value:this.value}]}],n=yield this.SetApiData(r);this.RefreshUiData(n),this.DecreaseSettingApiDataCounter()},new Promise((e,i)=>{var o=e=>{try{a(n.next(e))}catch(e){i(e)}},s=e=>{try{a(n.throw(e))}catch(e){i(e)}},a=t=>t.done?e(t.value):Promise.resolve(t.value).then(o,s);a((n=n.apply(t,r)).next())});var t,r,n})}get Unit(){return"float"==this._type?super.Unit:"error"}get Digits(){return"float"==this._type?super.Digits:0}render(){if(vJ.Data){const e=this.Get();if(this._type="int"==e.type?"int":"float",e.type.length<1)return this.classList.add("hidden"),this.createTemplate(Zk``);this.classList.remove("hidden");const t=this.nameTextOverwrite.length>0?this.nameTextOverwrite:this.GetTextId();return this.createTemplate(Zk`
+                <div class="label-outer-container">
+                    <div class="label-container">
+                        <span i18n="${t}">${LocalesModel.translate(t,t)}</span>
+                        ${null==this.index||this.hideAlternativeName?Zk``:Zk`<span i18n="index-alternative-${this.nameTextOverwrite}-${this.index}">${this.index+1}</span>`}
+                    </div>
+                </div>
+                <div class="slider-container">
+                    <fv-range-slider-input min="${m3(e.min)}" max="${m3(e.max)}" value="${m3(e.value)}" decimals="${this.Digits}" decimal-divider="${this.decimalDivider}" unit="${this.Unit}"></fv-range-slider-input>
+                </div>
+            `)}return this.createTemplate(Zk`<div>No Data!</div>`)}};$3.styles=[((e,t)=>b3(v3(e),t,e))($3,"styles")||[],$k`${yk(_3)}`],y3([lk({type:Number,reflect:!0})],$3.prototype,"value",2),y3([lk({type:Number,reflect:!0})],$3.prototype,"min",2),y3([lk({type:Number,reflect:!0})],$3.prototype,"max",2),$3=y3([sk("fv-configurator-form-element-range-slider")],$3);var x3=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{padding:var(--shared-range-slider-padding,unset)}:host .label-container{font-size:var(--shared-range-slider-label-font-size,16px)}:host .info-display-container{--info-display-speech-bubble-default-arrow-position:var(--info-display-speech-bubble-default-arrow-size,23px);--info-display-speech-bubble-path:polygon(0 var(--info-display-speech-bubble-default-arrow-size,23px),0 100%,100% 100%,100% var(--info-display-speech-bubble-default-arrow-size,23px),calc(var(--info-display-speech-bubble-default-arrow-position, 58%) - var(--info-display-speech-bubble-default-arrow-size, 23px)) var(--info-display-speech-bubble-default-arrow-size,23px),calc(var(--info-display-speech-bubble-default-arrow-position, 58%)) 0,calc(var(--info-display-speech-bubble-default-arrow-position, 58%) + var(--info-display-speech-bubble-default-arrow-size, 23px)) var(--info-display-speech-bubble-default-arrow-size,23px));bottom:auto;top:2.5em;z-index:999999}:host .info-display-container .info-display{padding-bottom:.25em;padding-top:calc(.25em + var(--info-display-speech-bubble-default-arrow-size, 23px))}`,S3=Object.defineProperty,w3=Object.getOwnPropertyDescriptor,A3=Object.getPrototypeOf,C3=Reflect.get,E3=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?w3(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&S3(t,r,o),o},I3=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});let M3=class extends vJ{constructor(){super(),this.floatUnit="cm",this.leftInputReplacement=void 0,this.rightInputReplacement=void 0,this.rangeSliderInputClass="",this.triggerChangeOnMousemove=!1,this.mousemoveChangeTriggerDistance=10,this.addEventListener("sharedrangesliderinputchange",e=>I3(this,null,function*(){if(this.SettingApiDataCounter>0)return;this.IncreaseSettingApiDataCounter();const t=(()=>I3(this,null,function*(){if(e.detail){const t=this.names[0],r=this.Get(t);if(null==r.value)return;const n=this.GetModificationType(r.type);if("error"==n)return;const i=this.names[1],o=this.Get(i);if(null==o.value)return;if("error"==this.GetModificationType(o.type))return;const s=yield this.SetApiData([{name:this.group,modifications:[{target:t,type:n,value:e.detail.left}]}],e.detail["triggered-from-move"],e.detail["triggered-from-move"]),a=e.detail["triggered-from-move"],l=a?[this]:[];this.RefreshUiData(s,a,l)}}))();this.sharedRangeSliderInput&&(this.sharedRangeSliderInput.FinalizeChangePromise=t),yield t,this.DecreaseSettingApiDataCounter()}))}getDigits(e){return"float"==e?this.floatDigits:0}getUnit(e){return"float"==e?this.floatUnit:"no"}GetValueInfo(){if(null==vJ.Data)return[];if(null==vJ.Data[this.group])return[];const e=vJ.Data[this.group]["info-list"];return null==e?[]:null!=this.names&&this.names.length>0&&null!=e[this.names[0]]?[e[this.names[0]]]:[]}MakeInputReplacement(e,t){return null==e||null==this.Form?Zk``:AJ.CreateFormElement(e,this.group,this.Form,t+"-input-overwrite-slot")}render(){if(this.names.length<2)return console.error("fv-configurator-form-element-shared-range-slider: too few names in json(should be exactly 2)!",this.names.length),Zk``;if(this.names.length>2)return console.error("fv-configurator-form-element-shared-range-slider: too many names in json(should be exactly 2)!",this.names.length),Zk``;const e=this.names[0],t=this.Get(e);if(""===t.type)return Zk``;const r=this.names[1],n=this.Get(r);if(""===n.type)return Zk``;const i=t.min==t.max,o=e+"-"+r,s=LocalesModel.translate(o,"");return this.createTemplate(Zk`
+            ${s?Zk`
+                <div class="label-container">
+                    <span i18n="${o}">${s}</span>
+                </div>
+            `:""}
+            <fv-shared-range-slider-input
+                class="${this.rangeSliderInputClass}"
+                decimals="${this.getDigits(t.type)}"
+                decimal-divider="${this.decimalDivider}"
+                unit="${this.getUnit(t.type)}"
+                left-value="${t.value?t.value:0}"
+                left-min="${t.min?t.min:0}"
+                left-max="${t.max?t.max:9999999}"
+                left-placeholder="${t.text?t.text:""}"
+                right-value="${n.value?n.value:0}"
+                right-min="${n.min?n.min:0}"
+                right-max="${n.max?n.max:9999999}"
+                right-placeholder="${n.text?n.text:""}"
+                ?disabled="${i}"
+                ?trigger-change-on-mousemove="${this.triggerChangeOnMousemove}"
+                mousemove-change-trigger-distance="${this.mousemoveChangeTriggerDistance}">
+                ${this.MakeInputReplacement(this.leftInputReplacement,"left")}
+                ${this.MakeInputReplacement(this.rightInputReplacement,"right")}
+            </fv-shared-range-slider-input>
+        `)}};M3.styles=[((e,t)=>C3(A3(e),t,e))(M3,"styles")||[],$k`${yk(x3)}`],E3([lk({type:String,reflect:!0,attribute:"float-unit"})],M3.prototype,"floatUnit",2),E3([lk({type:Object,reflect:!0,attribute:"left-input-replacement"})],M3.prototype,"leftInputReplacement",2),E3([lk({type:Object,reflect:!0,attribute:"right-input-replacement"})],M3.prototype,"rightInputReplacement",2),E3([lk({type:String,reflect:!0,attribute:"range-slider-input-class"})],M3.prototype,"rangeSliderInputClass",2),E3([lk({type:Boolean,reflect:!0,attribute:"trigger-change-on-mousemove"})],M3.prototype,"triggerChangeOnMousemove",2),E3([lk({type:Number,reflect:!0,attribute:"mousemove-change-trigger-distance"})],M3.prototype,"mousemoveChangeTriggerDistance",2),E3([dk("fv-shared-range-slider-input")],M3.prototype,"sharedRangeSliderInput",2),M3=E3([sk("fv-configurator-form-element-shared-range-slider")],M3);var k3=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}.button{border:2px solid var(--webcab-enable-disable-button-border-color,#e3e3e3);cursor:pointer;font-size:1em;line-height:1em;margin-left:.25em;padding:.15em;text-align:center;width:1em}.enable:before{content:"+"}.disable:before{content:"-"}`,T3=Object.defineProperty,R3=Object.getOwnPropertyDescriptor,L3=Object.getPrototypeOf,P3=Reflect.get,D3=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?R3(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&T3(t,r,o),o};let N3=class extends FT{constructor(){super(),this.clickDetails=void 0,this.customerType="",this.configSuffix="",this.setAttribute("component-name","EnableDisableWebCabButton"),this.addEventListener("click",()=>{return e=this,t=null,r=function*(){if(this.clickDetails){let e;e=parseInt(this.clickDetails.value)>0?yield WebCabApi.EnableWebCabs(this.customerType,this.configSuffix,this.clickDetails.InstanceIdentFilter):yield WebCabApi.DisableWebCabs(this.customerType,this.configSuffix,this.clickDetails.InstanceIdentFilter),e&&this.dispatchEvent(new F3(e))}},new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});var e,t,r})}render(){if(this.setAttribute("exportparts","enable-button,disable-button"),this.clickDetails){return parseInt(this.clickDetails.value)>0?Zk`<div class="button enable" part="enable-button"></div>`:Zk`<div class="button disable" part="disable-button"></div>`}return Zk``}};N3.styles=[((e,t)=>P3(L3(e),t,e))(N3,"styles")||[],$k`${yk(k3)}`],D3([lk({reflect:!1,attribute:!1})],N3.prototype,"clickDetails",2),D3([lk({type:String,reflect:!0,attribute:"customer-type"})],N3.prototype,"customerType",2),D3([lk({type:String,reflect:!0,attribute:"config-suffix"})],N3.prototype,"configSuffix",2),N3=D3([sk("fv-webcab-enable-disable-button")],N3);class F3 extends CustomEvent{constructor(e){super("webcab-enable-disable-button-toggle",{detail:e,bubbles:!0,composed:!0})}}var O3=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}.disabled{filter:brightness(1) blur(4px);pointer-events:none}`,B3=Object.defineProperty,U3=Object.getOwnPropertyDescriptor,V3=Object.getPrototypeOf,z3=Reflect.get,H3=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?U3(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&B3(t,r,o),o},G3=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});let j3=class extends YZ{constructor(){super(),this.webcabSettings={"close-on-active-option-click":!1,manufacturer:"",program:"","ui-type":""},this.configurationState="",this.planning="",this.configuration=!1,this.activeOption={key:"",option:{replacers:{}},"option-element":void 0},this.addEventListener("option-selection-option-clicked",this.onOptionSelectionClicked),this.addEventListener("option-selection-options-hidden",()=>{this.close(!0)})}onOptionSelectionClicked(e){var t;const r=e.detail,n=r["option-element"];if(this.webcabSettings["close-on-active-option-click"]&&n.classList.contains("active"))return void this.continue();const i=r&&r.option?r.option["additional-data"]:void 0;i&&(this.planning=i&&i["planning-name"]?i["planning-name"]:"",this.configuration=!(!i||!i["show-configuration"])&&i["show-configuration"],this.activeOption.key=r.key,this.activeOption.option=r.option,this.activeOption["option-element"]=r["option-element"]),this.dispatchEvent(new J3(r));const o=this.shadowRoot?null==(t=this.shadowRoot)?void 0:t.querySelector(".controls-container"):null;o&&(o.part.remove("controls-disabled"),o.classList.remove("disabled"))}getControls(){return{"container-class":this.activeOption.key.length>0?"":" disabled","container-part":this.activeOption.key.length>0?"":"controls-disabled"}}basicRender(e,t){return super.buildContent(Zk`
+            <div class="controls-container${e}" part="${t}">
+                <slot name="controls"></slot>
+            </div>
+        `)}configurationRender(e,t){return super.build(Zk`
+            <div class="configuration-container">
+                <slot name="configuration"></slot>
+            </div>
+            <div class="controls-container${e}" part="${t}">
+                <slot name="controls"></slot>
+            </div>
+        `)}render(){const e=this.getControls();let t;return this.configurationState.length>0&&(t=this.configurationRender(e["container-class"],e["container-part"])),t||(t=this.basicRender(e["container-class"],e["container-part"])),this.dispatchEvent(new W3),t}continue(){return G3(this,null,function*(){if(this.planning.length>0){if(this.configuration&&this.configurationState.length<1)return void(this.configurationState="open");this.close(),this.configurationState=""}})}close(e=!1){return G3(this,null,function*(){this.dispatchEvent(new Q3({"active-option":{key:this.activeOption.key,option:this.activeOption.option,"option-element":this.activeOption["option-element"]},planning:this.planning,configuration:this.configuration})),e||this.hide()})}open(){return G3(this,null,function*(){this.configurationState="",this.show()})}SetCornerPlanningValues(e,t,r){return G3(this,null,function*(){const n=new Array;n.push({key:e.left.instanceIdent,modifications:[{target:"ItemManager.OuterFrameWidth",value:e.left.width.toFixed(2)},{target:"OuterFrame.Height",value:e.left.height.toFixed(2)},{target:"ItemManager.Depth",value:e.left.depth.toFixed(2)}]}),n.push({key:e.right.instanceIdent,modifications:[{target:"ItemManager.OuterFrameWidth",value:e.right.width.toFixed(2)},{target:"OuterFrame.Height",value:e.right.height.toFixed(2)},{target:"ItemManager.Depth",value:e.right.depth.toFixed(2)}]}),yield WebCabApi.BulkModifyValues(t,n,r||"")})}GetRelevantArticles(){return G3(this,null,function*(){const e=new Array,t=yield WebCabApi.GetPlanned();for(const r of t)e.push(r.instanceIdent);return e})}GetUiFromPoConfig(e,t,r,n,i,o){return G3(this,null,function*(){return yield WebCabApi.GetUiFromPoConfig(e,t,r,n,i,o)})}};j3.styles=[((e,t)=>z3(V3(e),t,e))(j3,"styles")||[],$k`${yk(O3)}`],H3([lk()],j3.prototype,"webcabSettings",2),H3([lk()],j3.prototype,"configurationState",2),j3=H3([sk("fv-webcab-option-selection")],j3);class J3 extends CustomEvent{constructor(e){super("webcab-option-selection-option-clicked",{detail:e,bubbles:!0})}}class W3 extends CustomEvent{constructor(){super("webcab-option-selection-rendered",{detail:{},bubbles:!0})}}class Q3 extends CustomEvent{constructor(e){super("webcab-option-selection-close-event",{detail:e,bubbles:!0})}}var q3=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{--select-option-background:var(--webcab-display-option-selection-option-background,transparent);--select-option-hover-background:var(--webcab-display-selection-option-hover-background,var(--webcab-ui-cabinets-arrange-button-hover-background,#70707060));--select-option-border:var(--webcab-display-option-selection-option-border,none);--select-option-justify-content:var(--webcab-display-option-selection-option-justify-content,flex-start);--select-option-padding-left:var(--webcab-display-option-selection-option-padding-left,0.6em);--select-option-padding-right:var(--webcab-display-option-selection-option-padding-right,0px);--select-option-selection-button-border:var(--webcab-ui-cabinets-toggle-button-border,none);--select-option-color:var(--webcab-ui-color,#000);--select-option-hover-color:var(--webcab-ui-hover-color,var(--webcab-ui-color,#000));--select-option-selected-color:var(--webcab-ui-selected-color,var(--webcab-ui-color,#000))}:host(.select-by-buttons){--select-option-background:var(--webcab-display-option-selection-option-background,var(--webcab-ui-cabinets-arrange-button-background,unset));--select-option-hover-background:var(--webcab-display-selection-option-hover-background,var(--webcab-ui-cabinets-arrange-button-hover-background,#70707060));--select-option-border:var(--webcab-display-option-selection-option-border,var(--webcab-ui-cabinets-arrange-button-border,none));--select-option-justify-content:var(--webcab-display-option-selection-option-justify-content,var(--webcab-ui-cabinets-arrange-button-justify-content,center));--select-option-padding-left:var(--webcab-display-option-selection-option-padding-left,var(--webcab-ui-cabinets-arrange-button-padding-left,unset));--select-option-padding-right:var(--webcab-display-option-selection-option-padding-right,var(--webcab-ui-cabinets-arrange-button-padding-right,unset));--select-option-selection-button-border:var(--webcab-ui-cabinets-toggle-button-border,none);--select-option-color:var(--webcab-ui-color,#000);--select-option-hover-color:var(--webcab-ui-hover-color,var(--webcab-ui-color,#000));--select-option-selected-color:var(--webcab-ui-selected-color,var(--webcab-ui-color,#000))}`,Y3=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host .element-ui{background:var(--webcab-ui-background,transparent)}:host fv-loading.loader{background-color:var(--webcab-ui-loader-background-color,#fff)}:host .z-splitting-count-input{width:100%}:host .z-splitting-height-input{margin-left:10%;width:90%}:host .z-splitting-content-option-selection{margin-left:20%;width:80%}`,X3=Object.defineProperty,K3=Object.getOwnPropertyDescriptor,Z3=Object.getPrototypeOf,e5=Reflect.get,t5=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?K3(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&X3(t,r,o),o},r5=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});class n5 extends CustomEvent{constructor(e){super("webcabchangeloading",{bubbles:!0,composed:!0,detail:e})}}class i5 extends CustomEvent{constructor(e,t,r){super("webcabtemplatereplace",{bubbles:!0,composed:!0,detail:{template:e,webcabui:t,index:r}})}}let o5=class extends FT{constructor(){super(),this.openedPopups=[],this.showing=!1,this.shown=!1,this.updateEventActive=!1,this._components={},this._elementControlsComponents={},this.webcabuis=new Array,this.settings={"object-ui-settings":{"customer-type":"","config-suffix":"",increment:0,"fraction-digits":0,"input-buttons-timeout-ms":500},"object-heading-template-selector":"","controls-template-selector":"","element-controls-template-selector":"","content-option-selection-template-selector":"",replacers:{"by-object-ui":{},general:{}}},this.objectUiExportparts="",this._loading=!1,this.dimmed=!1,this.TemplateReplaceEventResult=void 0,this.postUpdateEventPromise=void 0,this.updatePromise=void 0,this.addEventListener("webcabstartloading",e=>{this.loading=!!e.detail&&e.detail}),this.addEventListener("webcabselectionchange",e=>{if(null==e.detail)return;const t=Object.keys(e.detail.uidata),r=this.breakDownUiData(e.detail.uidata);for(const e of t){const t=parseInt(e);this.setElementUiComponents(t,r[t],!0)}this.requestUpdate(),this.loading=!1}),this.addEventListener("webcab-value-input-loading",e=>r5(this,null,function*(){if(null!=e.detail){if(e.detail.uiData){const t=Object.keys(e.detail.uiData),r=this.breakDownUiData(e.detail.uiData);for(const e of t){const t=parseInt(e);this.setElementUiComponents(t,r[t],!0)}this.requestUpdate()}this.loading=e.detail.loading}})),this.addEventListener("webcab-enable-disable-button-toggle",e=>r5(this,null,function*(){if(e.detail){const t=Object.keys(e.detail),r=this.breakDownUiData(e.detail);for(const e of t){const t=parseInt(e);this.setElementUiComponents(t,r[t],!0)}this.requestUpdate()}})),this.addEventListener("webcabpopupchange",e=>{if(e.detail&&null!=e.detail.open&&null!=e.detail.element&&null!=e.detail.element.componentData&&null!=e.detail.element.componentData.change){const t=e.detail.element.componentData.change.xGroupId,r=e.detail.element.componentData.change.xInGroupId,n=e.detail.element.componentData.change.zSpaceId;if(null!=t&&null!=r){const i=null!=n?"-"+n.toFixed(0):"",o=t.toFixed(0)+"-"+r.toFixed(0)+i;if(e.detail.open)this.openedPopups.includes(o)||this.openedPopups.push(o);else{const e=this.openedPopups.indexOf(o);-1!=e&&this.openedPopups.splice(e,1)}}}}),EventFactoryService.SendEvent.register(e=>{if(!this.loading&&0!=this.shown)switch(e){case 914472533:case 451786:this.updateArticles()}}),EventFactoryService.LastPOLoaded.register(()=>{this.loading||0!=this.shown&&this.updateArticles()})}setElementUiComponents(e,t,r=!1){this._components[e]=t;for(let r=0;r<this.webcabuis.length;++r)this.webcabuis[r]["instance-ident"]==e&&(this.webcabuis[r].disabled=t.disabled);const n=this.querySelector(this.settings["element-controls-template-selector"]);if(!n)return;const i=n.getAttribute("component-name");if(!i)return;const o=t.data[i].components;if(o){this._elementControlsComponents[e]={};for(const t of o)t.name&&(this._elementControlsComponents[e][t.name]=t);r||this.requestUpdate()}}get components(){return this._components}getTemplate(e){const t=this.querySelector(this.settings["object-heading-template-selector"]),r=t?t.innerHTML:"",n=this.querySelector(this.settings["controls-template-selector"]);if(!n)return"";const i=e.disabled?"":n.innerHTML;return this.applyGeneralReplacers(r+i)}get loading(){return this._loading}set loading(e){this._loading=e}render(){let e="element-ui";for(const t of this.webcabuis)e+=",nr-"+t.index;return this.setAttribute("exportparts",e),this.applyReplacersToSlots(),Zk`
+            <slot name="above"></slot>
+            ${this.webcabuis.map(e=>Zk`
+                <div class="element-ui nr-${e.index}" part="element-ui nr-${e.index}" instance-ident="${e["instance-ident"]}" ui-index="${e.index}">
+                    ${document.createRange().createContextualFragment(this.getObjectUiTemplate(this.getTemplate(e),e.index,this.webcabuis.length,e["instance-ident"]))}
+                </div>
+            `)}
+        `}updated(e){super.updated(e),this.postUpdateEventPromise=this.postUpdateEvent()}postUpdateEvent(){return r5(this,null,function*(){this.loading=!0,yield this.updateElementUIs(),this.updateEventActive||(this.updateEventActive=!0,this.dispatchEvent(new s5),this.updateEventActive=!1),this.loading=!1})}createZSplittingTemplate(e,t){const r=e["z-splitting-ui"];if(null==r||r.length<1)return"";let n="";for(let e=0;e<r.length;++e){const i=r[e];if(null==i)continue;const o=i["data-attributes"];if(null!=o&&("intInput"==o.type?(n+='<fv-webcab-value-input part="webcab-input z-splitting-count-input" class="webcab-input z-splitting-count-input" component-name="'+i.name+'">',n+='<label slot="label" i18n="webcab.item.count.input.label" part="webcab-input-label"></label>',n+='<label slot="increase-button" part="toggle-indecrease-container"><div part="toggle-increase-button"><div part="toggle-increase-button-horizontal-container"><div part="toggle-increase-button-horizontal"></div></div><div part="toggle-increase-button-vertical-container"><div part="toggle-increase-button-vertical"></div></div></div></label>',n+='<label slot="decrease-button" part="toggle-indecrease-container"><div part="toggle-decrease-button"></div></label>',n+="</fv-webcab-value-input>"):"floatInput"==o.type&&(n+='<fv-webcab-value-input part="webcab-input z-splitting-height-input" class="webcab-input z-splitting-height-input" component-name="'+i.name+'">',n+='<label slot="label" part="webcab-input-label"><label i18n="webcab.height.input.label"></label> '+e.toFixed(0)+":</label>",n+='<label slot="increase-button" part="toggle-indecrease-container"><div part="toggle-increase-button"><div part="toggle-increase-button-horizontal-container"><div part="toggle-increase-button-horizontal"></div></div><div part="toggle-increase-button-vertical-container"><div part="toggle-increase-button-vertical"></div></div></div></label>',n+='<label slot="decrease-button" part="toggle-indecrease-container"><div part="toggle-decrease-button"></div></label>',n+="</fv-webcab-value-input>"),null!=i["content-option-selection-ui"])){const e=this.querySelector(this.settings["content-option-selection-template-selector"]),r=i["content-option-selection-ui"];if(r&&e&&e.innerHTML.length>0){let o="";for(const n of r){let r=e.innerHTML,s=r.split("|internal-index|");r=s.join("-"+n.name+t.toFixed(0)),s=r.split("|content-option-selection-component-name|"),r=s.join(i.name+"-"+n.name),s=r.split("|content-option-selection-class|"),r=s.join("z-splitting-content-option-selection"),o+=r}n+=o}}}return n}pushElementControlsToTemplate(e,t){const r=this.querySelector(this.settings["element-controls-template-selector"]);if(!r)return t;if(r.innerHTML.length<1)return t;const n=this.querySelector(this.settings["content-option-selection-template-selector"]),i=t.split("|element-controls|");let o=0,s="";const a=this._elementControlsComponents[e];if(a){const e=Object.keys(a);for(const t of e){const e=a[t];if(e){let i=r.innerHTML,a=i.split("|component-name|");i=a.join(t);const l=o;a=i.split("|index|"),i=a.join((++o).toFixed(0));const c=e["content-option-selection-ui"];if(c&&n&&n.innerHTML.length>0){a=i.split("|content-option-selection|");let t="";for(const r of c){let i=n.innerHTML,o=i.split("|internal-index|");i=o.join("-"+r.name+l.toFixed(0)),o=i.split("|content-option-selection-component-name|"),i=o.join(e.name+"-"+r.name),o=i.split("|content-option-selection-class|"),i=o.join(""),t+=i}i=a.join(t)}else a=i.split("|content-option-selection|"),i=a.join("");a=i.split("|z-splitting-ui|");const u=this.createZSplittingTemplate(e,l);i=a.join(u),s+=i}}t=i.join(s)}return t}applyGeneralReplacers(e){const t=Object.keys(this.settings.replacers.general);for(const r of t){const t=e.split(r);e=t.join(this.settings.replacers.general[r])}return e}applyReplacersToSlots(){this.querySelectorAll("[slot]").forEach(e=>{this.applyReplacersToSlot(e)})}applyReplacersToSlot(e){let t=this.applyGeneralReplacers(e.innerHTML);this.webcabuis.map(e=>{const r=e.index.toFixed(0)+"_"+this.webcabuis.length.toFixed(0),n=this.settings.replacers["by-object-ui"][r];if(n){const e=Object.keys(n);for(const r of e){const e=t.split(r);t=e.join(n[r])}}}),e.innerHTML=t}getObjectUiTemplate(e,t,r,n){if(e.length<1)return console.error("webcab-ui: render failed! template not found!"),"";const i=t.toFixed(0)+"_"+r.toFixed(0),o=this.settings.replacers["by-object-ui"][i];if(o){const t=Object.keys(o);for(const r of t){const t=e.split(r);e=t.join(o[r])}}const s=e.split("|index|");return e=s.join((t+1).toFixed(0)),this.dispatchEvent(new i5(e,this,t)),e=this.TemplateReplaceEventResult?this.TemplateReplaceEventResult:e,this.TemplateReplaceEventResult=void 0,e=this.pushElementControlsToTemplate(n,e)}updateElementUIs(){return r5(this,null,function*(){const e=this.renderRoot.querySelectorAll(".element-ui");if(e)for(let t=0;t<e.length;++t)yield this.updateComponentElements(e.item(t))})}getElementAttribute(e,t){if(e.hasAttribute(t)){const r=e.getAttribute(t);if(r)return r}return""}ArrangeEquallyButtonClick(e,t){return r5(this,null,function*(){if(this.loading=!0,t&&t.GroupID){const r=parseInt(this.getElementAttribute(e,"instance-ident")),n=this.settings["object-ui-settings"]["customer-type"],i=this.breakDownUiData(yield WebCabApi.ArrangeEqually(n,[t.GroupID],this.settings["object-ui-settings"]["config-suffix"],[r]));this._components[r]=i[r]}this.loading=!1,yield this.updateArticles()})}static getComponentFromArray(e,t){let r;for(const n of e){if(n.name===t){r=n;break}if(n.components&&(r=this.getComponentFromArray(n.components,t),r))break}return r}static getComponent(e,t){if(e[t])return e[t];const r=Object.keys(e);for(const n of r){const r=e[n];if(r&&r.components){const e=this.getComponentFromArray(r.components,t);if(e)return e}}}static getComponentFromContentOptionSelection(e,t,r){for(const n of e){if(n.name==t)return n;if(r&&r.name+"-"+n.name==t)return n;if(n.components){const e=this.getComponentFromContentOptionSelection(n.components,t,n);if(null!=e)return e}if(n["content-option-selection-ui"]){const e=this.getComponentFromContentOptionSelection(n["content-option-selection-ui"],t,n);if(null!=e)return e}if(n["z-splitting-ui"]){const e=this.getComponentFromContentOptionSelection(n["z-splitting-ui"],t,n);if(null!=e)return e}}}static getComponentFromZSplitting(e,t,r){for(const n of e){if(n.name==t)return n;if(r&&r.name+"-"+n.name==t)return n;if(n.components){const e=this.getComponentFromZSplitting(n.components,t,n);if(null!=e)return e}if(n["z-splitting-ui"]){const e=this.getComponentFromZSplitting(n["z-splitting-ui"],t,n);if(null!=e)return e}}}static getComponentForElement(e,t){let r=o5.getComponent(e,t);if(null==r){const n=[],i=Object.keys(e);for(const t of i)n.push(e[t]);r=o5.getComponentFromContentOptionSelection(n,t),null==r&&(r=o5.getComponentFromZSplitting(n,t))}return null==r&&console.warn("no component found!",t,e),r}static updateComponentElement(e,t,r,n,i){return r5(this,null,function*(){if(!t)return;const o=t.getAttribute("component-name");if(!o||o.length<1)return;const s=this.getComponentForElement(e,o);if(null==s)return void t.classList.add("hidden");t.classList.remove("hidden"),t.setAttribute("instance-ident",r.toFixed(0));const a=s["data-attributes"];let l=0;if(a&&a.type&&"floatInput"==a.type&&(l=n["object-ui-settings"]["fraction-digits"]),t.setAttribute("name",o),s.attributes&&(s.attributes.value&&s.attributes.value.toFixed&&t.setAttribute("value",s.attributes.value.toFixed(l)),s.attributes.min&&s.attributes.min.toFixed&&t.setAttribute("min-value",s.attributes.min.toFixed(l)),s.attributes.max&&s.attributes.max.toFixed&&t.setAttribute("max-value",s.attributes.max.toFixed(l)),null!=s.attributes["unit-txt"]&&t.setAttribute("unit-txt",""==s.attributes["unit-txt"]?"error":s.attributes["unit-txt"]),s.attributes["dim-scale"]&&t.setAttribute("dim-scale",s.attributes["dim-scale"].toString())),s.change&&(t.setAttribute("modification-targets",JSON.stringify(s.change.ModificationTargets)),s.change.GroupID?t.setAttribute("group-id",s.change.GroupID):s.change.ZSplittingXGroupId&&t.setAttribute("group-id",s.change.ZSplittingXGroupId),s.change.InGroupID?t.setAttribute("in-group-id",s.change.InGroupID):s.change.ZSplittingXInGroupId&&t.setAttribute("in-group-id",s.change.ZSplittingXInGroupId),s.change.ZSplittingZSpaceIndex&&t.setAttribute("z-space-id",s.change.ZSplittingZSpaceIndex)),t&&t instanceof m5&&(t.componentData=s,t.customerType=n["object-ui-settings"]["customer-type"],t.configSuffix=n["object-ui-settings"]["config-suffix"]),a)if("floatInput"==a.type){const e=t;e.addEventListener("webcab-value-input-changed",()=>r5(this,null,function*(){s.change&&s.change.ZSplittingXGroupId&&s.change.ZSplittingXInGroupId?yield e.ModifyZSplitting(!1,null!=s.change.ZSplittingZSpaceIndex):s.change&&s.change.GroupID&&s.change.InGroupID?yield e.ModifySingleSpace():yield e.ModifyFloatValue()})),e.increment=a.step,e.fractionDigits=l,e.timeoutms=n["object-ui-settings"]["input-buttons-timeout-ms"],e.customerType=n["object-ui-settings"]["customer-type"],e.configSuffix=n["object-ui-settings"]["config-suffix"]}else if("intInput"==a.type){const e=t;e.addEventListener("webcab-value-input-changed",()=>{s.change&&s.change.ZSplittingXGroupId&&s.change.ZSplittingXInGroupId?e.ModifyZSplitting(!1,null!=s.change.ZSplittingZSpaceIndex):e.ChangeCount()}),e.increment=a.step,e.timeoutms=n["object-ui-settings"]["input-buttons-timeout-ms"],e.customerType=n["object-ui-settings"]["customer-type"],e.configSuffix=n["object-ui-settings"]["config-suffix"]}else if("command"==a.type&&s.click)if("ArrangeEqually"==s.click.WebCabCommand)t.addEventListener("click",()=>r5(this,null,function*(){yield i(t,s.click)}));else if("EnableWebCabs"==s.click.WebCabCommand||"DisableWebCabs"==s.click.WebCabCommand){t.clickDetails=s.click}})}updateComponentElements(e){return r5(this,null,function*(){const t=parseInt(this.getElementAttribute(e,"instance-ident"));if(this._components[t]){const r=new Array;if(this.getComponentElements(r,e),r.length>0)for(let e=0;e<r.length;++e){const n=r[e];if(n&&(yield o5.updateComponentElement(this._components[t].data,n,t,this.settings,(e,t)=>r5(this,null,function*(){yield this.ArrangeEquallyButtonClick(e,t)})),n&&n instanceof m5&&null!=n.componentData&&null!=n.componentData.change)){const e=n.componentData.change.xGroupId,t=n.componentData.change.xInGroupId,r=n.componentData.change.zSpaceId;if(null!=e&&null!=t){const i=null!=r?"-"+r.toFixed(0):"",o=e.toFixed(0)+"-"+t.toFixed(0)+i;n.open=this.openedPopups.includes(o)}}}}})}updateArticles(){return r5(this,null,function*(){this.loading=!0,null!=this.updatePromise&&(yield this.updatePromise),this.updatePromise=this.ReadUiData();const e=yield this.updatePromise;let t=0;this.webcabuis=[],this._components={},this._elementControlsComponents={};const r=Object.keys(e);for(const n of r){const r=parseInt(n);this.webcabuis.push({index:t++,"instance-ident":r,disabled:e[r].disabled}),this.setElementUiComponents(r,e[r],!0)}this.requestUpdate(),yield this.updateComplete,null!=this.postUpdateEventPromise&&(yield this.postUpdateEventPromise,this.postUpdateEventPromise=void 0),this.updatePromise=void 0})}show(e){return r5(this,null,function*(){this.showing||(this.showing=!0,yield this.updateArticles(),this.shown=!0,this.showing=!1)})}getObjectUiIndex(e){const t=e.getAttribute("ui-index");return t?parseInt(t):-1}EachObjectUi(e){this.renderRoot.querySelectorAll(".element-ui").forEach(t=>{e(t,this.getObjectUiIndex(t))})}getFirstObjectUi(){const e=this.renderRoot.querySelectorAll(".element-ui");if(e.length>0)return e.item(0)}getComponentElements(e,t){t.hasAttribute("component-name")&&e.push(t);for(let r=0;r<t.children.length;++r){const n=t.children.item(r);n&&this.getComponentElements(e,n)}}breakDownUiData(e){const t=Object.keys(e),r={};for(const n of t){const t=parseInt(n),i=e[t];if(null!=i&&null!=i.components){const n=i.components;r[t]={data:{},disabled:e[t].disabled};for(const e of n)e.name&&(r[t].data[e.name]=e)}}return r}ReadUiData(){return r5(this,null,function*(){const e=yield WebCabApi.GetUIs(this.settings["object-ui-settings"]["customer-type"],this.settings["object-ui-settings"]["config-suffix"]);return this.breakDownUiData(e)})}ModifyFloatValueAllInstances(e,t){return r5(this,null,function*(){const r=[];for(const n of e)r.push({target:n,value:(10*t).toFixed(2)});const n=yield WebCabApi.ModifyValues(this.settings["object-ui-settings"]["customer-type"],r,this.settings["object-ui-settings"]["config-suffix"]);return this.breakDownUiData(n)})}SetDisableDimensionVisuals(e,t){return r5(this,null,function*(){yield WebCabApi.SetDisableDimensionVisuals(this.settings["object-ui-settings"]["customer-type"],e?1:0,this.settings["object-ui-settings"]["config-suffix"],t)})}GetDisableDimensionVisuals(e){return r5(this,null,function*(){return yield WebCabApi.GetDisableDimensionVisuals(this.settings["object-ui-settings"]["customer-type"],this.settings["object-ui-settings"]["config-suffix"],e)})}};o5.styles=[((e,t)=>e5(Z3(e),t,e))(o5,"styles")||[],$k`${yk(Y3)}`],t5([lk({attribute:!1})],o5.prototype,"webcabuis",2),t5([lk({type:Object,attribute:!0})],o5.prototype,"settings",2),t5([lk({type:String,reflect:!0,attribute:"object-ui-exportparts"})],o5.prototype,"objectUiExportparts",2),t5([lk({type:Boolean,reflect:!0}),lk({type:Boolean,reflect:!0})],o5.prototype,"dimmed",2),t5([lk({type:String,reflect:!0,attribute:"template-replace-event-result"})],o5.prototype,"TemplateReplaceEventResult",2),o5=t5([sk("fv-webcab-ui")],o5);class s5 extends CustomEvent{constructor(){super("webcab-ui-rendered",{detail:{},bubbles:!0,composed:!0})}}var a5=Object.defineProperty,l5=Object.getOwnPropertyDescriptor,c5=Object.getPrototypeOf,u5=Reflect.get,d5=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?l5(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&a5(t,r,o),o};class h5 extends CustomEvent{constructor(e,t,r){super("webcabselectionchange",{bubbles:!0,composed:!0,detail:{option:e,element:t,uidata:r}})}}class p5 extends CustomEvent{constructor(e,t){super("webcabpopupchange",{bubbles:!0,composed:!0,detail:{open:e,element:t}})}}let m5=class extends FT{constructor(){super(),this.componentData={name:""},this.maxAmountSelectByButtons=3,this.customerType="",this.configSuffix="",this.instanceIdent=-1,this.open=!1,this.selected=void 0,this.addEventListener("selectionchange",e=>{e.detail&&e.detail.option&&(this.dispatchEvent(new n5(!0)),this.selectOption(JSON.parse(e.detail.option.replaceAll('\\"','"'))).then(t=>{null!=t&&null!=e.detail&&null!=e.detail.option&&null!=e.detail.element&&(this.dispatchEvent(new h5(e.detail.option,e.detail.element,t)),this.dispatchEvent(new n5(!1)))}))}),this.addEventListener("popupchange",e=>{e.detail&&null!=e.detail.open&&this.dispatchEvent(new p5(e.detail.open,this))})}selectOption(e){return t=this,r=null,n=function*(){if(null==e.click||null==e.click.xGroupId||null==e.click.xInGroupId)return;this.selected=e;const t=[];for(const r of e.click.ModificationTargets){const n={target:r,value:e.click.value,additional:""},i={xGroupId:e.click.xGroupId,xInGroupId:e.click.xInGroupId,definition:this.componentData.name};null!=e.click.zSpaceId&&(i.zSpaceId=e.click.zSpaceId),n.additional=JSON.stringify(i),t.push(n)}return yield WebCabApi.ModifyValues(this.customerType,t,this.configSuffix,[this.instanceIdent])},new Promise((e,i)=>{var o=e=>{try{a(n.next(e))}catch(e){i(e)}},s=e=>{try{a(n.throw(e))}catch(e){i(e)}},a=t=>t.done?e(t.value):Promise.resolve(t.value).then(o,s);a((n=n.apply(t,r)).next())});var t,r,n}createOption(e){return Zk`<fv-select-option class="option" option="${JSON.stringify(e).replaceAll('"','\\"')}" display-value="${LocalesModel.translate(e.name,e.name)}">${LocalesModel.translate(e.name,e.name)}</fv-select-option>`}createOptions(e){const t=new Array;for(const r of e)t.push(this.createOption(r));return t}render(){if(null==this.componentData.components)return Zk`<div>ERROR!! ${this.componentData.name} - does not define any display options!</div>`;const e=this.componentData.attributes?this.componentData.attributes.value:"",t=this.componentData.components.find(t=>t.name===e);this.selected!=t&&(this.selected=t);const r=null!=t?JSON.stringify(t).replaceAll('"','\\"'):"";return this.componentData.components.length<=this.maxAmountSelectByButtons?this.classList.add("select-by-buttons"):this.classList.remove("select-by-buttons"),Zk`
+            <fv-select class="container" max-amount-select-by-buttons="${this.maxAmountSelectByButtons}" i18n-placeholder="your_selection" selected="${r}" selected-display-value="${t?LocalesModel.translate(t.name,t.name):""}" ?open="${this.open}">
+                ${this.createOptions(this.componentData.components)}
+            </fv-select>
+        `}};m5.styles=[((e,t)=>u5(c5(e),t,e))(m5,"styles")||[],$k`${yk(q3)}`],d5([lk({type:Object,reflect:!0,attribute:"component-data"})],m5.prototype,"componentData",2),d5([lk({type:Number,reflect:!0,attribute:"max-amount-select-by-buttons"})],m5.prototype,"maxAmountSelectByButtons",2),d5([lk({type:String,reflect:!0,attribute:"customer-type"})],m5.prototype,"customerType",2),d5([lk({type:String,reflect:!0,attribute:"config-suffix"})],m5.prototype,"configSuffix",2),d5([lk({type:Number,reflect:!0,attribute:"instance-ident"})],m5.prototype,"instanceIdent",2),d5([lk({type:Boolean,reflect:!0,attribute:"open"})],m5.prototype,"open",2),d5([lk({type:Object,reflect:!0,attribute:"selected"})],m5.prototype,"selected",2),m5=d5([sk("fv-webcab-display-option-selection")],m5);var _5=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{--constrained-input-border-color:var(--webcab-input-border-color,#e3e3e3);--constrained-input-border-size:var(--webcab-input-border-size,2px);--constrained-input-font-size:var(--webcab-inputs-font-size,15px);font-size:var(--webcab-ui-font-size,16px);width:fit-content}:host .indecrease-button{height:100%;width:100%}:host .disabled{--constrained-input-indecrease-buttons-background:var(--webcab-input-button-background,#e3e3e3)}:host .label-outer-container{display:flex;flex-flow:column nowrap;justify-content:var(--webcab-input-label-justify-content,unset)}:host .label-outer-container.inline{flex-flow:row nowrap}:host .label-suffix-container{color:var(--wwebcab-input-min-max-color,#a8a7a7);display:flex;flex-flow:row nowrap}:host .minmax-labels{white-space:nowrap}:host .min-max-label-dash{padding-left:var(--webcab-input-min-max-dash-padding-left-right,unset);padding-right:var(--webcab-input-min-max-dash-padding-left-right,unset)}:host .label-suffixes-container{display:flex;flex-flow:row nowrap;justify-content:var(--webcab-input-label-suffixes-justify-content,unset)}`,g5=Object.defineProperty,f5=Object.getOwnPropertyDescriptor,v5=Object.getPrototypeOf,b5=Reflect.get,y5=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?f5(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&g5(t,r,o),o},$5=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});let x5=class extends FT{constructor(){super(),this.increment=void 0,this.fractionDigits=0,this.timeoutms=500,this.preventInlineLabel=!1,this.customerType="",this.configSuffix="",this.instanceIdent=-1,this.value=0,this.name="",this.GroupID=void 0,this.InGroupID=void 0,this.ZSpaceID=void 0,this.ModificationTargets=void 0,this.minValue=void 0,this.maxValue=void 0,this.unitTxt="error",this.dimScale=void 0,this.oldvalue=0}get min(){return this.minValue?this.minValue:0}get max(){return this.maxValue?this.maxValue:99999999.99}change(e){const t=e.target;if(t){const e={"old-value":this.value,value:0};this.value=t.value,e.value=this.value;const r=new w5(e);this.dispatchEvent(r)}}applyDimScale(e){return this.dimScale?e*(1/this.dimScale):e}render(){const e=this.value!=this.max,t=this.value!=this.min,r=this.querySelector("[slot='additional-suffix']"),n=null!=this.unitTxt&&this.unitTxt.length>0&&"error"!=this.unitTxt?" "+this.unitTxt:"",i=Zk`
+            <div class="label-outer-container${this.preventInlineLabel?"":" inline"}">
+                <div class="label-container">
+                    <span><slot name="label"></slot></span>
+                </div>
+                <div part="label-suffixes-container" class="label-suffixes-container">
+                    <div part="min-max-label" class="label-suffix-container">
+                        <span><label part="min-label" class="minmax-labels">${this.min.toFixed(this.fractionDigits)+n}</label></span>
+                        <span><label part="min-max-label-dash" class="min-max-label-dash"> - </label></span>
+                        <span><label part="max-label" class="minmax-labels">${this.max.toFixed(this.fractionDigits)+n}</label></span>
+                    </div>
+                    ${null!=r?Zk`<div part="additional-suffix-container"><slot name="additional-suffix"></slot></div>`:Zk``}
+                </div>
+            </div>
+            <fv-constrained-input 
+                    @change="${this.change}"
+                    min="${this.minValue?this.applyDimScale(this.minValue):0}"
+                    max="${this.maxValue?this.applyDimScale(this.maxValue):0}"
+                    value="${this.value?this.applyDimScale(this.value):0}"
+                    step="${this.increment?this.increment:1}"
+                    decimals="${this.fractionDigits}"
+                    unit="${this.unitTxt}"
+                    timeoutms="${this.timeoutms}"
+                    show-increase-decrease hide-unused-unit-container pool-repeated-button-clicks>
+
+                <div slot="increase" part="increase-button${e?"":" disabled"}" class="indecrease-button increase-button${e?"":" disabled"}">
+                    <slot name="increase-button"></slot>
+                </div>
+                <div slot="decrease" part="decrease-button${t?"":" disabled"}" class="indecrease-button decrease-button${t?"":" disabled"}">
+                    <slot name="decrease-button"></slot>
+                </div>
+
+            </fv-constrained-input>
+        `;return this.oldvalue=this.value,this.setAttribute("exportparts","label-suffixes-container, additional-suffix-container, min-max-label, min-label, min-max-label-dash, max-label, input, input-suffix-container, input-suffix, increase-button, decrease-button, disabled"),i}updated(e){var t=e=>super[e];return $5(this,null,function*(){t("updated").call(this,e),this.dispatchEvent(new S5)})}refreshComponent(e){return $5(this,null,function*(){if(this.name&&this.name.length>0){let t=e;if(null==e&&(t=yield WebCabApi.GetUIs(this.customerType,this.configSuffix,[this.instanceIdent])),null!=t&&null!=t[this.instanceIdent]&&null!=t[this.instanceIdent].components){const e=t[this.instanceIdent].components;for(const t of e)if(t&&t.name===this.name)return t.change&&(this.GroupID=t.change.GroupID?t.change.GroupID:void 0,this.InGroupID=t.change.InGroupID?t.change.InGroupID:void 0,this.ModificationTargets=t.change.ModificationTargets?JSON.stringify(t.change.ModificationTargets):void 0),void(t.attributes&&(this.maxValue=t.attributes.max,this.minValue=t.attributes.min,this.unitTxt=""==t.attributes["unit-txt"]?"error":t.attributes["unit-txt"]))}}})}dispatchLoadingEvent(e,t){this.dispatchEvent(new CustomEvent("webcab-value-input-loading",{detail:{loading:e,uiData:t},bubbles:!0,composed:!0}))}ChangeCount(e=!1){return $5(this,null,function*(){if(this.oldvalue!=this.value){if(!this.GroupID)return void console.error("groupId invalid:",this.GroupID);if(!this.ModificationTargets)return void console.error("ModificationTargets invalid!");this.dispatchLoadingEvent(!0);const t=JSON.parse(this.ModificationTargets),r=[];for(const e of t)r.push({GroupID:this.GroupID,target:e,value:this.value.toFixed(0)});const n=yield WebCabApi.ModifyGroups(this.customerType,r,this.configSuffix,e?void 0:[this.instanceIdent]);yield this.refreshComponent(n),this.dispatchLoadingEvent(!1,n)}})}ModifyFloatValue(e=!1){return $5(this,null,function*(){if(this.oldvalue!=this.value){if(null==this.ModificationTargets)return void console.error("ModificationTargets are not set!");this.dispatchLoadingEvent(!0);const t=JSON.parse(this.ModificationTargets),r=[];for(const e of t)r.push({target:e,value:this.value.toFixed(2)});const n=yield WebCabApi.ModifyValues(this.customerType,r,this.configSuffix,e?void 0:[this.instanceIdent]);yield this.refreshComponent(n),this.dispatchLoadingEvent(!1,n)}})}ModifyZSplitting(e=!1,t){return $5(this,null,function*(){if(this.oldvalue!=this.value){if(null==this.ModificationTargets)return void console.error("ModificationTargets are not set!");this.dispatchLoadingEvent(!0);const r=JSON.parse(this.ModificationTargets),n=[];for(const e of r)n.push({XGroupID:this.GroupID?this.GroupID:"",XInGroupID:this.InGroupID?this.InGroupID:"",ZSpaceIndex:this.ZSpaceID?this.ZSpaceID:void 0,target:e,value:t?this.value.toFixed(2):this.value.toFixed(0)});yield WebCabApi.ModifyZSplitting(this.customerType,n,this.configSuffix,e?void 0:[this.instanceIdent]);const i=yield WebCabApi.GetUIs(this.customerType,this.configSuffix,e?void 0:[this.instanceIdent]);yield this.refreshComponent(i),this.dispatchLoadingEvent(!1,i)}})}ModifySingleSpace(e=!1){return $5(this,null,function*(){if(this.oldvalue!=this.value){if(!this.GroupID||!this.InGroupID||!this.ModificationTargets)return this.GroupID||console.error("GroupId invalid:",this.GroupID),this.InGroupID||console.error("InGroupId invalid:",this.InGroupID),void(this.ModificationTargets||console.error("modificationTarget invalid!"));this.dispatchLoadingEvent(!0);const t=JSON.parse(this.ModificationTargets),r=[];for(const e of t)r.push({GroupID:this.GroupID,InGroupID:this.InGroupID,target:e,value:this.value.toFixed(2)});yield WebCabApi.ModifySpaces(this.customerType,r,this.configSuffix,e?void 0:[this.instanceIdent]);const n=yield WebCabApi.GetUIs(this.customerType,this.configSuffix,e?void 0:[this.instanceIdent]);yield this.refreshComponent(n),this.dispatchLoadingEvent(!1,n)}})}};x5.styles=[((e,t)=>b5(v5(e),t,e))(x5,"styles")||[],$k`${yk(_5)}`],y5([lk({type:Number,reflect:!0})],x5.prototype,"increment",2),y5([lk({type:Number,reflect:!0,attribute:"fraction-digits"})],x5.prototype,"fractionDigits",2),y5([lk({type:Number,reflect:!0})],x5.prototype,"timeoutms",2),y5([lk({type:Boolean,reflect:!0,attribute:"prevent-inline-label"})],x5.prototype,"preventInlineLabel",2),y5([lk({type:String,reflect:!0,attribute:"customer-type"})],x5.prototype,"customerType",2),y5([lk({type:String,reflect:!0,attribute:"config-suffix"})],x5.prototype,"configSuffix",2),y5([lk({type:Number,reflect:!0,attribute:"instance-ident"})],x5.prototype,"instanceIdent",2),y5([lk({type:Number,reflect:!0})],x5.prototype,"value",2),y5([lk({type:String,reflect:!0})],x5.prototype,"name",2),y5([lk({type:String,reflect:!0,attribute:"group-id"})],x5.prototype,"GroupID",2),y5([lk({type:String,reflect:!0,attribute:"in-group-id"})],x5.prototype,"InGroupID",2),y5([lk({type:String,reflect:!0,attribute:"z-space-id"})],x5.prototype,"ZSpaceID",2),y5([lk({type:String,reflect:!0,attribute:"modification-targets"})],x5.prototype,"ModificationTargets",2),y5([lk({type:Number,reflect:!0,attribute:"min-value"})],x5.prototype,"minValue",2),y5([lk({type:Number,reflect:!0,attribute:"max-value"})],x5.prototype,"maxValue",2),y5([lk({type:String,reflect:!0,attribute:"unit-txt"})],x5.prototype,"unitTxt",2),y5([lk({type:Number,reflect:!0,attribute:"dim-scale"})],x5.prototype,"dimScale",2),x5=y5([sk("fv-webcab-value-input")],x5);class S5 extends CustomEvent{constructor(){super("webcab-value-input-rendered",{detail:{},bubbles:!0,composed:!0})}}class w5 extends CustomEvent{constructor(e){super("webcab-value-input-changed",{detail:e,bubbles:!0,composed:!0})}}var A5=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host(.hidden){display:none}:host{color:var(--webcab-ui-color,#000);font-size:var(--webcab-ui-font-size,16px);height:100%;width:100%}:host .webcab-container{align-items:center;background:var(--webcab-ui-background,transparent);display:flex;flex-direction:column;height:100%;justify-content:flex-start;overflow:var(--webcab-container-overflow,unset);width:100%}:host .webcab-container fv-webcab-ui{width:100%}:host .webcab-container fv-webcab-ui::part(webcab-hidden){display:none}:host .webcab-container fv-webcab-ui::part(webcab-control){margin-top:var(--webcab-ui-cabinets-controls-distance,unset)}:host .webcab-container fv-webcab-ui::part(element-ui){align-items:center;display:flex;flex-direction:column;justify-content:flex-start;padding:var(--webcab-element-ui-padding,19px 29px 19px 33px)}:host .webcab-container fv-webcab-ui::part(count-container),:host .webcab-container fv-webcab-ui::part(depth-container),:host .webcab-container fv-webcab-ui::part(element-controls-outer-container),:host .webcab-container fv-webcab-ui::part(height-container),:host .webcab-container fv-webcab-ui::part(toggle-button),:host .webcab-container fv-webcab-ui::part(webcab subtitle),:host .webcab-container fv-webcab-ui::part(width-container){width:100%}:host .webcab-container fv-webcab-ui::part(element-controls-outer-container){margin-top:var(--webcab-ui-cabinets-single-cabinets-controls-margin-top,unset);overflow:hidden;transition:all .6s ease-in-out;visibility:visible}:host .webcab-container fv-webcab-ui::part(element-controls-outer-container closed){height:0;margin-top:0;visibility:hidden}:host .webcab-container fv-webcab-ui::part(webcab subtitle){display:flex;flex-direction:row;justify-content:space-between}:host .webcab-container fv-webcab-ui::part(toggle-button){cursor:pointer;height:var(--webcab-ui-cabinets-toggle-button-height,40px);margin-top:var(--webcab-ui-cabinets-toggle-button-margin-top,unset)!important}:host .webcab-container fv-webcab-ui::part(toggle-button-inner){align-items:center;background:var(--webcab-ui-cabinets-toggle-button-background,unset);border:var(--webcab-ui-cabinets-toggle-button-border,none);cursor:pointer;display:flex;flex-direction:row;height:100%;justify-content:var(--webcab-ui-cabinets-toggle-button-justify-content,space-between);padding-left:var(--webcab-ui-cabinets-toggle-button-padding-left,unset);padding-right:var(--webcab-ui-cabinets-toggle-button-padding-right,unset)}:host .webcab-container fv-webcab-ui::part(webcab subtitle),:host .webcab-container fv-webcab-ui::part(webcab title){font-size:var(--webcab-implementations-title-font-sizes,unset);font-weight:var(--webcab-implementations-title-font-weight,unset)}:host .webcab-container fv-webcab-ui::part(toggle-text){font-size:var(--webcab-ui-cabinets-toggle-button-font-size,unset);user-select:none}:host .webcab-container fv-webcab-ui::part(webcab-input-label-container){display:flex}:host .webcab-container fv-webcab-ui::part(webcab-input-label){padding-right:var(--webcab-ui-cabinets-toggle-element-input-label-index-space,4px)}:host .webcab-container fv-webcab-ui::part(webcab-input-label-suffix){padding-right:var(--webcab-ui-cabinets-toggle-element-input-suffix-space-right,4px)}:host .webcab-container fv-webcab-ui::part(toggle-indecrease-container){align-items:center;cursor:pointer;display:flex;flex-direction:column;height:100%;justify-content:center;width:100%}:host .webcab-container fv-webcab-ui::part(toggle-increase-button){height:var(--webcab-ui-cabinets-toggle-increase-decrease-button-icon-size,calc(100% - 20px));position:relative;width:var(--webcab-ui-cabinets-toggle-increase-decrease-button-icon-size,calc(100% - 20px))}:host .webcab-container fv-webcab-ui::part(toggle-increase-button-horizontal-container){align-items:center;bottom:0;cursor:pointer;display:flex;flex-direction:column;justify-content:center;left:0;position:absolute;right:0;top:0}:host .webcab-container fv-webcab-ui::part(toggle-increase-button-vertical-container){align-items:center;bottom:0;cursor:pointer;display:flex;flex-direction:column;justify-content:center;left:0;position:absolute;right:0;top:0}:host .webcab-container fv-webcab-ui::part(toggle-increase-button-horizontal){background-color:var(--webcab-ui-cabinets-toggle-increase-decrease-button-line-color,#000);cursor:pointer;height:var(--webcab-ui-cabinets-toggle-increase-decrease-button-line-thickness,1px);width:100%}:host .webcab-container fv-webcab-ui::part(toggle-increase-button-vertical){background-color:var(--webcab-ui-cabinets-toggle-increase-decrease-button-line-color,#000);cursor:pointer;height:100%;width:var(--webcab-ui-cabinets-toggle-increase-decrease-button-line-thickness,1px)}:host .webcab-container fv-webcab-ui::part(toggle-decrease-button){background-color:var(--webcab-ui-cabinets-toggle-increase-decrease-button-line-color,#000);cursor:pointer;height:var(--webcab-ui-cabinets-toggle-increase-decrease-button-line-thickness,1px);width:var(--webcab-ui-cabinets-toggle-increase-decrease-button-icon-size,calc(100% - 20px))}:host .webcab-container fv-webcab-ui::part(element-controls-container){display:flex;flex-direction:column;transition:all .3s ease-in-out}:host .webcab-container fv-webcab-ui::part(element-controls-container closed){margin-top:-100%}:host .webcab-container fv-webcab-ui::part(element-control-input){margin-top:var(--webcab-ui-cabinets-single-cabinet-control-margin-top,unset);width:100%}:host .webcab-container fv-webcab-ui::part(element-control-input part1){margin-top:var(--webcab-ui-cabinets-single-cabinet-control-margin-top-first,unset)}:host .webcab-container fv-webcab-ui::part(arrange-equally){cursor:pointer;height:var(--webcab-ui-cabinets-arrange-button-height,40px);margin-top:var(--webcab-ui-cabinets-arrange-button-margin-top,unset)!important;transition:all .3s ease-in-out}:host .webcab-container fv-webcab-ui::part(arrange-equally closed){margin-top:-100%}:host .webcab-container fv-webcab-ui::part(arrange-equally-button){align-items:center;background:var(--webcab-ui-cabinets-arrange-button-background,unset);border:var(--webcab-ui-cabinets-arrange-button-border,none);color:var(--webcab-ui-color,#000);cursor:pointer;display:flex;flex-direction:row;height:100%;justify-content:var(--webcab-ui-cabinets-arrange-button-justify-content,space-between);padding-left:var(--webcab-ui-cabinets-arrange-button-padding-left,unset);padding-right:var(--webcab-ui-cabinets-arrange-button-padding-right,unset);width:100%}:host .webcab-container fv-webcab-ui::part(arrange-equally-button):hover{background:var(--webcab-ui-cabinets-arrange-button-hover-background,hsla(0,0%,44%,.376));color:var(--webcab-ui-active-color,var(--webcab-ui-color,#000))}:host .webcab-container fv-webcab-ui::part(count-input-additional-suffix){padding-left:var(--webcab-ui-count-input-additional-suffix-padding-left,unset)}:host .webcab-container fv-webcab-ui .webcab.above-slot-content .corner-inputs-container{padding:var(--webcab-element-ui-padding,19px 29px 19px 33px)}:host .webcab-container fv-webcab-ui .webcab.above-slot-content .corner-inputs-container .webcab.title{display:flex;flex-direction:row;font-size:var(--webcab-implementations-title-font-sizes,unset);font-weight:var(--webcab-implementations-title-font-weight,unset);justify-content:space-between;width:100%}.toggle-indecrease-container{align-items:center;cursor:pointer;display:flex;flex-direction:column;height:100%;justify-content:center;width:100%}.toggle-increase-button{height:var(--webcab-ui-cabinets-toggle-increase-decrease-button-icon-size,calc(100% - 20px));position:relative;width:var(--webcab-ui-cabinets-toggle-increase-decrease-button-icon-size,calc(100% - 20px))}.toggle-increase-button-horizontal-container,.toggle-increase-button-vertical-container{align-items:center;bottom:0;cursor:pointer;display:flex;flex-direction:column;justify-content:center;left:0;position:absolute;right:0;top:0}.toggle-increase-button-horizontal{height:var(--webcab-ui-cabinets-toggle-increase-decrease-button-line-thickness,1px);width:100%}.toggle-increase-button-horizontal,.toggle-increase-button-vertical{background-color:var(--webcab-ui-cabinets-toggle-increase-decrease-button-line-color,#000);cursor:pointer}.toggle-increase-button-vertical{height:100%;width:var(--webcab-ui-cabinets-toggle-increase-decrease-button-line-thickness,1px)}.toggle-decrease-button{background-color:var(--webcab-ui-cabinets-toggle-increase-decrease-button-line-color,#000);cursor:pointer;height:var(--webcab-ui-cabinets-toggle-increase-decrease-button-line-thickness,1px);width:var(--webcab-ui-cabinets-toggle-increase-decrease-button-icon-size,calc(100% - 20px))}@media (width <= 520px){:host(.mobile-hide-title) .webcab-container fv-webcab-ui::part(webcab subtitle hideable-on-mobile){display:none}}@media (width >= 520px) and (width <= 980px){:host(.mobile-hide-title) .webcab-container fv-webcab-ui::part(webcab subtitle hideable-on-mobile){display:none}}`,C5=Object.defineProperty,E5=Object.getOwnPropertyDescriptor,I5=Object.getPrototypeOf,M5=Reflect.get,k5=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?E5(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&C5(t,r,o),o},T5=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});let R5=class extends FT{constructor(){super(),this.config={increment:10,timeout:500,fraction:2},this.active=!1,this.cornerHideDepth=!1,this.cornerHideTotal=!1,this.cornerConfigSuffix=void 0,this.configSuffix=void 0,this.maxAmountSelectByButtons=3,this.corner=!1,this.togglesState=new Map,this.addEventListener("webcab-ui-rendered",e=>{const t=this.renderRoot.querySelector("fv-webcab-ui");if(t&&(t.EachObjectUi((e,t)=>{const r=e.querySelector(".toggle-button");r&&0==r.hasAttribute("has-click")&&(r.setAttribute("has-click","true"),r.addEventListener("click",()=>{this.toggle(r,e,t)}));const n=e.querySelector(".element-controls-outer-container");if(r&&this.togglesState.get(t)){const e=r.querySelector(".toggle-arrow");if(null==n||null==e)return;const i=n.querySelector(".element-controls-container"),o=n.querySelector(".arrange-equally");if(null==i||null==o)return;this.open(r,e,n,i,o,t)}}),t.components)){const e=Object.keys(t.components);if(this.corner=2==e.length,2==e.length&&e[0]&&e[1]){const r=t.components[parseInt(e[0])],n=t.components[parseInt(e[1])];if(r&&r.data&&n&&n.data){const i=this.renderRoot.querySelector(".corner-inputs-container");if(i){i.classList.remove("hidden");const o=i.querySelector(".webcab-corner-input.height");if(o){const i=o.getAttribute("component-name");if(i){const s=t.settings["object-ui-settings"]["fraction-digits"];o.classList.remove("hidden"),o.setAttribute("instance-ident",e[1]),o.setAttribute("name",i);const a=r.data[i],l=n.data[i];a&&l&&(a.attributes&&l.attributes&&(o.setAttribute("value",Math.min(a.attributes.value,l.attributes.value).toFixed(s)),o.setAttribute("min-value",Math.min(a.attributes.min,l.attributes.min).toFixed(s)),o.setAttribute("max-value",Math.max(a.attributes.max,l.attributes.max).toFixed(s)),o.setAttribute("unit-txt",""==a.attributes["unit-txt"]?"error":a.attributes["unit-txt"]),o.setAttribute("dim-scale",a.attributes["dim-scale"].toString())),a.change&&l.change&&a["data-attributes"]&&(o.setAttribute("modification-targets",JSON.stringify(a.change.ModificationTargets)),o.addEventListener("webcab-value-input-changed",()=>T5(this,null,function*(){yield o.ModifyFloatValue(!0)})),o.increment=a["data-attributes"].step,o.fractionDigits=s,o.timeoutms=t.settings["object-ui-settings"]["input-buttons-timeout-ms"],o.customerType=t.settings["object-ui-settings"]["customer-type"],o.configSuffix=t.settings["object-ui-settings"]["config-suffix"]))}}const s=i.querySelector(".webcab.corner-only-depth"),a=i.querySelector(".webcab.corner-total");if(s&&a){if(s.classList.add("hidden"),a.classList.add("hidden"),0==this.cornerHideTotal){a.classList.remove("hidden");const i=a.querySelector(".webcab-corner-input.left");i&&o5.updateComponentElement(n.data,i,parseInt(e[1]),t.settings,()=>{console.error("no arrange equally function set.")});const o=a.querySelector(".webcab-corner-input.right");o&&o5.updateComponentElement(r.data,o,parseInt(e[0]),t.settings,()=>{console.error("no arrange equally function set.")})}if(0==this.cornerHideDepth){s.classList.remove("hidden");const i=s.querySelector(".webcab-input.depth-input.left");i&&o5.updateComponentElement(r.data,i,parseInt(e[0]),t.settings,()=>{console.error("no arrange equally function set.")});const o=s.querySelector(".webcab-input.depth-input.right");o&&o5.updateComponentElement(n.data,o,parseInt(e[1]),t.settings,()=>{console.error("no arrange equally function set.")})}}}}}}}),this.addEventListener("webcab-enable-disable-button-toggle",()=>T5(this,null,function*(){})),this.addEventListener("webcabtemplatereplace",e=>{if(e.detail){const t=this.togglesState.get(e.detail.index);e.detail.webcabui.TemplateReplaceEventResult=e.detail.template;let r=e.detail.webcabui.TemplateReplaceEventResult.split("|active|");e.detail.webcabui.TemplateReplaceEventResult=r.join(t?" active":""),r=e.detail.webcabui.TemplateReplaceEventResult.split("|closed|"),e.detail.webcabui.TemplateReplaceEventResult=r.join(t?"":" closed")}}),this.init()}get currentConfigSuffix(){const e=(e,t)=>e||t;return this.corner?e(this.cornerConfigSuffix,e(this.configSuffix,"")):e(this.configSuffix,"")}get settings(){return{"object-ui-settings":{"customer-type":"","config-suffix":this.currentConfigSuffix,increment:this.config.increment,"fraction-digits":this.config.fraction,"input-buttons-timeout-ms":this.config.timeout},"object-heading-template-selector":".title-template","controls-template-selector":".controls-template","element-controls-template-selector":".element-controls-template","content-option-selection-template-selector":".content-option-selection-template",replacers:{"by-object-ui":{"0_2":{"|subtitle|":"webcab.title.corner.left","|height-depth|":"","|DisableEnable|":"","|config-suffix|":this.currentConfigSuffix,"|title|":"webcab.title.corner"},"1_2":{"|subtitle|":"webcab.title.corner.right","|height-depth|":"","|DisableEnable|":"","|config-suffix|":this.currentConfigSuffix,"|title|":"webcab.title.corner"},"0_1":{"|subtitle|":"webcab.title","|height-depth|":'\n                            <div part="webcab-control height-container">\n                                <fv-webcab-value-input part="webcab-input height-input" component-name="CabinetHeight">\n                                    <label slot="label" i18n="webcab.height.input.label" part="webcab-input-label"></label>\n                                    <label slot="increase-button" part="toggle-indecrease-container"><div part="toggle-increase-button"><div part="toggle-increase-button-horizontal-container"><div part="toggle-increase-button-horizontal"></div></div><div part="toggle-increase-button-vertical-container"><div part="toggle-increase-button-vertical"></div></div></div></label>\n                                    <label slot="decrease-button" part="toggle-indecrease-container"><div part="toggle-decrease-button"></div></label>\n                                </fv-webcab-value-input>\n                            </div>\n                            <div part="webcab-control depth-container">\n                                <fv-webcab-value-input part="webcab-input depth-input" component-name="Depth">\n                                    <label slot="label" i18n="webcab.depth.input.label" part="webcab-input-label"></label>\n                                    <label slot="increase-button" part="toggle-indecrease-container"><div part="toggle-increase-button"><div part="toggle-increase-button-horizontal-container"><div part="toggle-increase-button-horizontal"></div></div><div part="toggle-increase-button-vertical-container"><div part="toggle-increase-button-vertical"></div></div></div></label>\n                                    <label slot="decrease-button" part="toggle-indecrease-container"><div part="toggle-decrease-button"></div></label>\n                                </fv-webcab-value-input>\n                            </div>\n                        ',"|DisableEnable|":"webcab-hidden","|config-suffix|":this.currentConfigSuffix}},general:{}}}}init(){return T5(this,null,function*(){yield CommunicationInterfaceService.IsAppReady;const e=this.renderRoot.querySelector("fv-webcab-ui");if(e){const t=(yield CommunicationMessageService.getPlannedArticles()).filter(e=>e.keys.includes(10017)||e.keys.includes(10019));this.corner=2==t.length,e.settings=this.settings;const r=yield e.ReadUiData();Object.keys(r).length>0&&(yield e.show())}})}render(){return Zk`
+            <div class="webcab-container">
+                <fv-webcab-ui .settings="${this.settings}" object-ui-exportparts="webcab-hidden, count-input-additional-suffix, active, element-controls-container, element-control-input, 1, webcab-control toggle-indecrease-container, toggle-decrease-button, toggle-increase-button-horizontal, toggle-increase-button-vertical, toggle-increase-button, webcab-input, depth-container, height-container, width-container, count-container, width-input, height-input, depth-input, count-input, toggle-button, toggle-text, toggle-arrow, element-controls-outer-container, webcab-input-label-container, hidden, arrange-equally, arrange-equally-button, webcab subtitle">
+                    <div slot="above" class="webcab above-slot-content">
+                        <div class="corner-inputs-container hidden">
+                            <div class="webcab title" i18n="|title|"></div>
+
+
+                            <fv-webcab-value-input class="webcab-corner-input height" component-name="CabinetHeight">
+                                <label slot="label" i18n="webcab.height.input.label" class="webcab-input-label"></label>
+                                <label slot="increase-button" class="toggle-indecrease-container"><div class="toggle-increase-button"><div class="toggle-increase-button-horizontal-container"><div class="toggle-increase-button-horizontal"></div></div><div class="toggle-increase-button-vertical-container"><div class="toggle-increase-button-vertical"></div></div></div></label>
+                                <label slot="decrease-button" class="toggle-indecrease-container"><div class="toggle-decrease-button"></div></label>
+                            </fv-webcab-value-input>
+
+
+                            <div class="webcab corner-only-depth hidden">
+                                <fv-webcab-value-input class="webcab-input depth-input left" component-name="Depth">
+                                    <label slot="label" i18n="webcab.depth.input.label.left" class="webcab-input-label"></label>
+                                    <label slot="increase-button" class="toggle-indecrease-container"><div class="toggle-increase-button"><div class="toggle-increase-button-horizontal-container"><div class="toggle-increase-button-horizontal"></div></div><div class="toggle-increase-button-vertical-container"><div class="toggle-increase-button-vertical"></div></div></div></label>
+                                    <label slot="decrease-button" class="toggle-indecrease-container"><div class="toggle-decrease-button"></div></label>
+                                </fv-webcab-value-input>
+                                <fv-webcab-value-input class="webcab-input depth-input right" component-name="Depth">
+                                    <label slot="label" i18n="webcab.depth.input.label.right" class="webcab-input-label"></label>
+                                    <label slot="increase-button" class="toggle-indecrease-container"><div class="toggle-increase-button"><div class="toggle-increase-button-horizontal-container"><div class="toggle-increase-button-horizontal"></div></div><div class="toggle-increase-button-vertical-container"><div class="toggle-increase-button-vertical"></div></div></div></label>
+                                    <label slot="decrease-button" class="toggle-indecrease-container"><div class="toggle-decrease-button"></div></label>
+                                </fv-webcab-value-input>
+                            </div>
+
+
+                            <div class="webcab corner-total hidden">
+                                <fv-webcab-value-input class="webcab-corner-input left" component-name="corner_input#L">
+                                    <label slot="label" i18n="webcab.title.corner.left" class="webcab-input-label"></label>
+                                    <label slot="increase-button" class="toggle-indecrease-container"><div class="toggle-increase-button"><div class="toggle-increase-button-horizontal-container"><div class="toggle-increase-button-horizontal"></div></div><div class="toggle-increase-button-vertical-container"><div class="toggle-increase-button-vertical"></div></div></div></label>
+                                    <label slot="decrease-button" class="toggle-indecrease-container"><div class="toggle-decrease-button"></div></label>
+                                </fv-webcab-value-input>
+                                <fv-webcab-value-input class="webcab-corner-input right" component-name="corner_input#R">
+                                    <label slot="label" i18n="webcab.title.corner.right" class="webcab-input-label"></label>
+                                    <label slot="increase-button" class="toggle-indecrease-container"><div class="toggle-increase-button"><div class="toggle-increase-button-horizontal-container"><div class="toggle-increase-button-horizontal"></div></div><div class="toggle-increase-button-vertical-container"><div class="toggle-increase-button-vertical"></div></div></div></label>
+                                    <label slot="decrease-button" class="toggle-indecrease-container"><div class="toggle-decrease-button"></div></label>
+                                </fv-webcab-value-input>
+                            </div>
+                        </div>
+                    </div>
+
+                    <template class="title-template">
+                        <div part="webcab subtitle hideable-on-mobile"><div i18n="|subtitle|"></div><fv-webcab-enable-disable-button config-suffix="|config-suffix|" class="|DisableEnable|" part="|DisableEnable|"></fv-webcab-enable-disable-button></div>
+                    </template>
+                    <template class="controls-template">
+                        <div part="webcab-control width-container">
+                            <fv-webcab-value-input part="webcab-input width-input" component-name="CabinetWidth">
+                                <label slot="label" i18n="webcab.width.input.label" part="webcab-input-label"></label>
+                                <label slot="increase-button" part="toggle-indecrease-container"><div part="toggle-increase-button"><div part="toggle-increase-button-horizontal-container"><div part="toggle-increase-button-horizontal"></div></div><div part="toggle-increase-button-vertical-container"><div part="toggle-increase-button-vertical"></div></div></div></label>
+                                <label slot="decrease-button" part="toggle-indecrease-container"><div part="toggle-decrease-button"></div></label>
+                            </fv-webcab-value-input>
+                        </div>
+                        |height-depth|
+                        <div part="webcab-control count-container">
+                            <fv-webcab-value-input part="webcab-input count-input" component-name="MiddleOnly_ItemCountInput">
+                                <label slot="label" i18n="webcab.item.count.input.label" part="webcab-input-label"></label>
+                                <label slot="increase-button" part="toggle-indecrease-container"><div part="toggle-increase-button"><div part="toggle-increase-button-horizontal-container"><div part="toggle-increase-button-horizontal"></div></div><div part="toggle-increase-button-vertical-container"><div part="toggle-increase-button-vertical"></div></div></div></label>
+                                <label slot="decrease-button" part="toggle-indecrease-container"><div part="toggle-decrease-button"></div></label>
+                                <label slot="additional-suffix" part="count-input-additional-suffix" i18n="webcab.item.count.input.label.additional.suffix"></label>
+                            </fv-webcab-value-input>
+                        </div>
+                        <div part="webcab-control toggle-button" class="toggle-button">
+                            <div part="toggle-button-inner" class="toggle-button-inner">
+                                <div part="toggle-text" i18n="webcab.define.single.cabinets"></div>
+                                <fv-arrow-component part="toggle-arrow" class="toggle-arrow|active|"></fv-arrow-component>
+                            </div>
+                        </div>
+                        <div part="element-controls-outer-container|closed|" class="element-controls-outer-container">
+                            <div class="element-controls-container" part="element-controls-container|closed|" component-name="MiddleOnly_Components">|element-controls|</div>
+                            <div class="arrange-equally" part="arrange-equally|closed|">
+                                <button part="arrange-equally-button" component-name="MiddleOnly_ArrangeEqually" i18n="webcab.arrange.equally"></button>
+                            </div>
+                        </div>
+                    </template>
+                    <template class="element-controls-template" component-name="MiddleOnly_Components">
+                        <fv-webcab-value-input part="element-control-input part|index|" component-name="|component-name|">
+                            <div slot="label" part="webcab-input-label-container">
+                                <label i18n="webcab.label.single.cabinet" part="webcab-input-label"></label>
+                                <label>|index|</label>
+                                <label part="webcab-input-label-suffix">:</label>
+                            </div>
+                            <label slot="increase-button" part="toggle-indecrease-container"><div part="toggle-increase-button"><div part="toggle-increase-button-horizontal-container"><div part="toggle-increase-button-horizontal"></div></div><div part="toggle-increase-button-vertical-container"><div part="toggle-increase-button-vertical"></div></div></div></label>
+                            <label slot="decrease-button" part="toggle-indecrease-container"><div part="toggle-decrease-button"></div></label>
+                        </fv-webcab-value-input>
+                        |content-option-selection|
+                        |z-splitting-ui|
+                    </template>
+                    <template class="content-option-selection-template">
+                        <fv-webcab-display-option-selection max-amount-select-by-buttons="1" part="element-control-option-selection part-content-option-selection|internal-index|" class="|content-option-selection-class|" component-name="|content-option-selection-component-name|"></fv-webcab-option-selection>
+                    </template>
+                </fv-webcab-ui>
+            </div>
+        `}refresh(){return T5(this,null,function*(){yield this.init()})}close(e,t,r,n,i,o){e.part.remove("active"),t.part.remove("active"),t.classList.remove("active"),r.part.add("closed"),n.part.add("closed"),i.part.add("closed"),this.togglesState.set(o,!1)}open(e,t,r,n,i,o){e.part.add("active"),t.part.add("active"),t.classList.add("active"),r.part.remove("closed"),n.part.remove("closed"),i.part.remove("closed"),this.togglesState.set(o,!0)}toggle(e,t,r){const n=t.querySelector(".element-controls-outer-container"),i=e.querySelector(".toggle-arrow");if(null==n||null==i)return;const o=n.querySelector(".element-controls-container"),s=n.querySelector(".arrange-equally");null!=o&&null!=s&&(e.part.contains("active")?this.close(e,i,n,o,s,r):this.open(e,i,n,o,s,r))}};R5.styles=[((e,t)=>M5(I5(e),t,e))(R5,"styles")||[],$k`${yk(A5)}`],k5([lk({type:Object,reflect:!0})],R5.prototype,"config",2),k5([lk({type:Boolean,reflect:!0})],R5.prototype,"active",2),k5([lk({type:Boolean,reflect:!0,attribute:"corner-hide-depth"})],R5.prototype,"cornerHideDepth",2),k5([lk({type:Boolean,reflect:!0,attribute:"corner-hide-total"})],R5.prototype,"cornerHideTotal",2),k5([lk({type:String,reflect:!0,attribute:"corner-config-suffix"})],R5.prototype,"cornerConfigSuffix",2),k5([lk({type:String,reflect:!0,attribute:"config-suffix"})],R5.prototype,"configSuffix",2),k5([lk({type:Number,reflect:!0,attribute:"max-amount-select-by-buttons"})],R5.prototype,"maxAmountSelectByButtons",2),R5=k5([sk("fv-webcab-ui-cabinets-toggle")],R5);var L5=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}.overview-container{display:flex;height:120px}.overview-container .img{background-position:50%;background-repeat:no-repeat;background-size:contain;display:flex;justify-content:center;overflow:hidden;width:100%}.overview-container .additional-container{display:flex;flex-direction:column;justify-content:center;padding-left:26px;width:100%}.overview-container .additional-container .dimension{display:flex;justify-content:space-between}`,P5=Object.defineProperty,D5=Object.getOwnPropertyDescriptor,N5=Object.getPrototypeOf,F5=Reflect.get,O5=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?D5(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&P5(t,r,o),o};let B5=class extends FT{constructor(){super(),this.customerType="",this.configSuffix="",this.image="",this.width=0,this.height=0,this.depth=0,this.amount=0,this.childCount=0,this.addHideStateUpdatedEventListener(e=>{0==e&&this.change()})}change(){return e=this,t=null,r=function*(){let e=0,t=0,r=0;const n=yield WebCabApi.GetPlanned();n.length>0&&n[0].dimension.length>0&&(e=.1*n[0].dimension[0],t=.1*n[0].dimension[2],r=.1*n[0].dimension[1]);const i=this.renderRoot.querySelector(".img"),o=i?i.clientWidth:e,s=i?i.clientHeight:t,a=yield WebCabApi.GetDisableDimensionVisuals(this.customerType,this.configSuffix);0==a&&(yield WebCabApi.SetDisableDimensionVisuals(this.customerType,1,this.configSuffix)),this.image=URL.createObjectURL(yield CommunicationMessageService.takeCenteredSnap(!1,0,o,s)),0==a&&(yield WebCabApi.SetDisableDimensionVisuals(this.customerType,0,this.configSuffix));let l=0;if(n.forEach(e=>{l+=e.children}),this.width!=e||this.height!=t||this.depth!=r||this.childCount!=l){let n=0;const i=yield WebCabApi.GetUIs(this.customerType,this.configSuffix),o=Object.keys(i);o.length>0&&o.forEach(e=>{i[parseInt(e)].components.forEach(e=>{e.name.includes("_ItemCountInput")&&e.attributes&&e.attributes.value&&(n+=e.attributes.value)})}),this.width=e,this.height=t,this.depth=r,this.amount=n,this.childCount=l}this.requestUpdate()},new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});var e,t,r}getPriceFormatText(e){return e.toFixed(2).replace(".",",")}render(){return Zk`
+            <div class="overview-container">
+                <span class="img" style="background-image: url(${this.image})">
+                </span>
+                <span class="additional-container">
+                    <div>
+                        <span>${this.amount}</span>
+                        <span i18n="webcab.overview.cabinets.amount.text"></span>
+                    </div>
+                    <div class="dimension">
+                        <span i18n="webcab.width.input.label"></span>
+                        <span>
+                            <span>${this.getPriceFormatText(this.width)}</span>
+                            <span i18n="webcab.dimension.input.suffix"></span>
+                        </span>
+                    </div>
+                    <div class="dimension">
+                        <span i18n="webcab.height.input.label"></span>
+                        <span>
+                            <span>${this.getPriceFormatText(this.height)}</span>
+                            <span i18n="webcab.dimension.input.suffix"></span>
+                        </span>
+                    </div>
+                    <div class="dimension">
+                        <span i18n="webcab.depth.input.label"></span>
+                        <span>
+                            <span>${this.getPriceFormatText(this.depth)}</span>
+                            <span i18n="webcab.dimension.input.suffix"></span>
+                        </span>
+                    </div>
+                </span>
+            </div>
+        `}};B5.styles=[((e,t)=>F5(N5(e),t,e))(B5,"styles")||[],$k`${yk(L5)}`],O5([lk({type:String,reflect:!0,attribute:"customer-type"})],B5.prototype,"customerType",2),O5([lk({type:String,reflect:!0,attribute:"config-suffix"})],B5.prototype,"configSuffix",2),B5=O5([sk("fv-webcab-overview")],B5);var U5=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}@keyframes rotate-device{0%{transform:rotate(90deg)}50%{transform:rotate(0deg)}to{transform:rotate(0deg)}}:host{align-items:center;bottom:0;display:none;flex-flow:column nowrap;place-content:center;position:absolute;right:0;width:100%;z-index:var(--landscape-info-z-index,999)}.container{align-items:center;background-color:var(--landscape-info-background-color,rgba(0,0,0,.4));border-radius:var(--landscape-info-container-border-radius,2em);display:flex;flex-flow:column nowrap;padding:var(--landscape-info-container-padding,1em);place-content:center;width:fit-content}.device{animation:rotate-device 1.5s ease-in-out infinite alternate;border:var(--landscape-info-device-border,3px solid #fff);border-radius:var(--landscape-info-device-border-radius,10px);height:var(--landscape-info-device-height,100px);width:var(--landscape-info-device-width,50px)}.message{color:var(--landscape-info-message-color,#fff);line-height:1em;padding-top:var(--landscape-info-message-padding-top,1em);text-align:center}@media only screen and (orientation:portrait) and (pointer:coarse){:host{display:flex}}`,V5=Object.defineProperty,z5=Object.getOwnPropertyDescriptor,H5=Object.getPrototypeOf,G5=Reflect.get,j5=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?z5(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&V5(t,r,o),o};let J5=class extends FT{constructor(){super(),this.text=""}render(){return Zk`
+            <div class="container">
+                <div class="device"></div>
+                <div class="message" i18n="${this.text}"></div>
+            </div>
+        `}};J5.styles=[((e,t)=>G5(H5(e),t,e))(J5,"styles")||[],$k`${yk(U5)}`],j5([lk({reflect:!0,type:String})],J5.prototype,"text",2),J5=j5([sk("fv-landscape-info")],J5);var W5=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{margin:var(--catalog-information-margin,unset);padding:var(--catalog-information-padding,unset)}:host .container{color:var(--catalog-information-font-color,unset);display:flex;margin:0}:host .container .image-container{align-items:flex-start;color:var(--catalog-information-icon-font-color,unset);display:flex;font-size:var(--catalog-information-font-size,unset);justify-content:center;padding:var(--catalog-information-icon-padding,unset);width:var(--catalog-information-icon-container-width,unset)}:host .container .text-container{width:calc(100% - var(--catalog-information-icon-container-width, unset))}:host .container .text-container .title{font-color:var(--catalog-information-font-color,unset);font-size:var(--catalog-information-title-font-size,unset);font-weight:var(--catalog-information-title-font-weight,unset)}:host .container .text-container .text{font-color:var(--catalog-information-font-color,unset);font-size:var(--catalog-information-text-font-size,unset);font-weight:var(--catalog-information-text-font-weight,unset)}:host .container .text-container .button-container{width:100%}`,Q5=Object.defineProperty,q5=Object.getOwnPropertyDescriptor,Y5=Object.getPrototypeOf,X5=Reflect.get,K5=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?q5(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&Q5(t,r,o),o};let Z5=class extends FT{constructor(){super(),this.icon="",this.title="",this.text=""}getImage(){return Zk`<i class="icon ${this.icon}" part="icon"></i>`}render(){return Zk`
+            <div class="container">
+                <div class="image-container">
+                    ${this.getImage()}
+                </div>
+                <div class="text-container">
+                    <div class="title" i18n="${this.title}">${this.title}</div>
+                    <div class="text" i18n="${this.text}">${this.text}</div>
+                    <div class="button-container"><slot name="button"></slot></div>
+                </div>
+            </div>
+        `}};Z5.styles=[((e,t)=>X5(Y5(e),t,e))(Z5,"styles")||[],$k`${yk(W5)}`],K5([lk({type:String,reflect:!0,attribute:"icon"})],Z5.prototype,"icon",2),K5([lk({reflect:!0,type:String})],Z5.prototype,"title",2),K5([lk({reflect:!0,type:String})],Z5.prototype,"text",2),Z5=K5([sk("fv-catalog-information")],Z5);var e4=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{align-items:center;background-color:var(--dimension-information-background-color,unset);border-radius:var(--dimension-information-border-radius,unset);display:flex;justify-content:center;padding:var(--dimension-information-padding,unset)}:host fv-icon{height:1em;width:1em}:host div{align-items:center;display:flex;gap:var(--dimension-information-dim-gap,5px);justify-content:center}`,t4=Object.defineProperty,r4=Object.getOwnPropertyDescriptor,n4=Object.getPrototypeOf,i4=Reflect.get,o4=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?r4(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&t4(t,r,o),o};let s4=class extends FT{constructor(){super(!1),this.icon="",this.src="",this.prefix="",this.dimension=0,this.divider="x",this.unit="cm",this.decimals=1,this.decimalDivider=".",this.preventZeroDecimals=!1,this.UpdatePostLocalesModelRead()}UpdatePostLocalesModelRead(){return e=this,t=null,r=function*(){yield LocalesModel.IsFileRead(),this.requestUpdate()},new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});var e,t,r}get unitifier(){return"cm"===this.unit?.1:1}createDimensionTxt(e){if(this.preventZeroDecimals){const t=e*this.unitifier;if(t-Math.floor(t)<.1)return t.toFixed(0).replace(".",this.decimalDivider)}return(e*this.unitifier).toFixed(this.decimals).replace(".",this.decimalDivider)}get dimtxt(){const e=LocalesModel.translate(this.prefix,this.prefix),t=LocalesModel.translate("dimension-information-unittxt-"+this.unit,this.unit);if("number"==typeof this.dimension)return Zk`
+                ${this.prefix?Zk`<fv-label>${e}</fv-label>`:Zk``}
+                <fv-label>${this.createDimensionTxt(this.dimension)}</fv-label>
+                <fv-label>${t}</fv-label>
+            `;const r=(e,t)=>{const r=LocalesModel.translate("dimension-information-unittxt-"+this.unit,this.unit),n=LocalesModel.translate(this.divider,this.divider);return Zk`
+                <div class="axis">
+                    <fv-label>${this.createDimensionTxt(e)}</fv-label>
+                    <fv-label>${r}</fv-label>
+                    ${t?Zk``:Zk`<fv-label class="divider">${n}</fv-label>`}
+                </div>
+            `},n=this.dimension.filter(e=>e>0);return Zk`${n.map((e,t)=>r(e,t==n.length-1))}`}render(){return this.icon&&this.icon.length>0?Zk`
+                <fv-icon icon="${this.icon}" src="${this.src}"></fv-icon>
+                <div>${this.dimtxt}</div>
+            `:Zk`<div>${this.dimtxt}</div>`}};s4.styles=[((e,t)=>i4(n4(e),t,e))(s4,"styles")||[],$k`${yk(e4)}`],o4([lk({type:String,reflect:!0,attribute:"icon"})],s4.prototype,"icon",2),o4([lk({type:String,reflect:!0,attribute:"src"})],s4.prototype,"src",2),o4([lk({type:String,reflect:!0,attribute:"prefix"})],s4.prototype,"prefix",2),o4([lk({type:Object,reflect:!0,attribute:"dimension"})],s4.prototype,"dimension",2),o4([lk({type:String,reflect:!0,attribute:"divider"})],s4.prototype,"divider",2),o4([lk({type:String,reflect:!0,attribute:"unit"})],s4.prototype,"unit",2),o4([lk({type:Number,reflect:!0,attribute:"decimals"})],s4.prototype,"decimals",2),o4([lk({type:String,reflect:!0,attribute:"decimal-divider"})],s4.prototype,"decimalDivider",2),o4([lk({type:Boolean,reflect:!0,attribute:"prevent-zero-decimals"})],s4.prototype,"preventZeroDecimals",2),s4=o4([sk("fv-dimension-information")],s4);var a4=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}`,l4=Object.defineProperty,c4=Object.getOwnPropertyDescriptor,u4=Object.getPrototypeOf,d4=Reflect.get,h4=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?c4(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&l4(t,r,o),o};let p4=class extends FT{constructor(){super(),this.dimensionIndex=0,this.dimensionTextKeys={H:"fv.heightInCm",B:"fv.widthInCm",T:"fv.depthInCm"},window.addEventListener("country-info",e=>{this.requestUpdate()})}getDimensionTextKeyFromIndex(){const e=KP.getDimensionTypeFromIndex(this.dimensionIndex);return this.dimensionTextKeys[e.toUpperCase()]||""}render(){const e=this.getDimensionTextKeyFromIndex();return Zk`<fv-label class="custom" i18n="${e}">${e}</fv-label>`}};p4.styles=[((e,t)=>d4(u4(e),t,e))(p4,"styles")||[],$k`${yk(a4)}`],h4([lk({type:Number,reflect:!0,attribute:"dimension-index"})],p4.prototype,"dimensionIndex",2),h4([lk({type:Object,reflect:!0,attribute:"dimension-text-keys"})],p4.prototype,"dimensionTextKeys",2),p4=h4([sk("fv-dimension-label")],p4);var m4=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{align-items:var(--dimension-information-align-items,unset);display:var(--dimension-information-display,flex);flex-direction:var(--dimension-information-flex-direction,row);justify-content:var(--dimension-information-justify-content,unset)}`,_4=Object.defineProperty,g4=Object.getOwnPropertyDescriptor,f4=Object.getPrototypeOf,v4=Reflect.get,b4=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?g4(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&_4(t,r,o),o};let y4=class extends FT{constructor(){super(),this.dimensions=[]}createDimensionInformation(e){return Zk`
+            <fv-dimension-information 
+                part="dimension"
+                icon="${e.icon}"
+                src="${e.src}"
+                prefix="${e.prefix?e.prefix:""}"
+                dimension="${JSON.stringify(e.dimension)}"
+                divider="${e.divider?e.divider:"x"}"
+                unit="${e.unit?e.unit:"cm"}"
+                decimals="${e.decimals?e.decimals:1}"
+                decimal-divider="${e["decimal-divider"]?e["decimal-divider"]:"."}"
+                prevent-zero-decimals="${e["prevent-zero-decimals"]}"
+            ></fv-dimension-information>
+        `}render(){return Zk`${this.dimensions.map(this.createDimensionInformation)}`}};y4.styles=[((e,t)=>v4(f4(e),t,e))(y4,"styles")||[],$k`${yk(m4)}`],b4([lk({type:Array,reflect:!0,attribute:"dimensions"})],y4.prototype,"dimensions",2),y4=b4([sk("fv-dimensions-information")],y4);var $4=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host(.selected) .image{border:2px solid #000;box-sizing:var(--titled-image-selected-image-box-sizing,unset)}:host(.selected) .text span{font-weight:var(--global-font-weight-bold,600)}:host fv-info-button{position:absolute;right:0;top:0}:host{height:auto;width:100px}:host .text{display:flex;margin-top:6px;overflow:hidden;place-content:center;position:relative;text-align:center;word-break:break-word}:host .text span{flex:1}:host .image{background-position:100% 0;background-repeat:no-repeat;background-size:cover;border-radius:var(--titled-image-border-radius,unset);box-shadow:var(--titled-image-box-shadow,unset);cursor:pointer;display:block;height:100px;margin:auto;min-height:100px;min-width:100px;overflow:hidden;position:relative;width:100px}:host .image .zoomButton{background-color:#bfbfbf;display:flex;height:25px;justify-content:center;position:absolute;right:-18px;text-align:center;top:-7px;transform:rotate(45deg);width:46px}:host .image .zoomButton i:before{font-size:.5em;transform:rotate(-45deg) translate(-3px,4px)}:host .image .zoomButton i.fv-icon-plus:before{transform:translateY(5px)}:host(.flex){flex:0 0 auto;margin:0 8px;padding:15px 10px}:host(.zoomed){height:auto;width:256px}:host(.zoomed) .image{border:2px solid #000;height:256px;width:256px}:host(.zoomed.flex){height:auto;margin:15px auto;width:240px}`,x4=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{color:var(--info-buton-text-color,#000);position:relative;text-align:center}:host span{border:0 solid #000;border-radius:50%;box-shadow:0 0 0 1px #000;display:inline-block;font-family:Arial,monospace;height:16px;width:16px}`,S4=Object.defineProperty,w4=Object.getOwnPropertyDescriptor,A4=Object.getPrototypeOf,C4=Reflect.get;let E4=class extends FT{constructor(){super()}render(){return Zk`
+            <span>i</span>
+        `}};E4.styles=[((e,t)=>C4(A4(e),t,e))(E4,"styles")||[],$k`${yk(x4)}`],E4=((e,t,r,n)=>{for(var i,o=n>1?void 0:n?w4(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&S4(t,r,o),o})([sk("fv-info-button")],E4);var I4=Object.defineProperty,M4=Object.getOwnPropertyDescriptor,k4=Object.getPrototypeOf,T4=Reflect.get,R4=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?M4(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&I4(t,r,o),o};let L4=class extends FT{constructor(){super(),this.zoomable=!0,this.image="",this.activeIcon="fv-icon-plus",this.inactiveIcon="fv-icon-maximize",this.text="",this.infoData="",this.infoType="",this.manufacturer="",this._isActive=!1,this.className="flex",this.addEventListener("click",()=>{this._isActive=!1,this.requestUpdate()})}set Image(e){this.image=e?"background-"+(e.startsWith("#")?`color: ${e}`:e.split(",").length>=2?`color: rgba(${e})`:`image: url(${e})`):this.image}set IsActive(e){this._isActive=e,this.requestUpdate()}zoom(e){e.preventDefault(),e.stopPropagation(),this._isActive=!this._isActive,this.dispatchEvent(new CustomEvent("zoomClicked",{detail:{zoomable:this.zoomable,active:this._isActive}})),this.requestUpdate()}infoClick(e){e.preventDefault(),e.stopPropagation(),CommunicationMessageService.showToolTipData({manufacturer:this.manufacturer,type:this.infoType,data:this.infoData})}render(){this.classList[this._isActive?"add":"remove"]("zoomed"),this._isActive?this.setAttribute("part","zoomed"):this.removeAttribute("part");const e={};return e[this.activeIcon]=this._isActive,e[this.inactiveIcon]=!this._isActive,Zk`
+            <div part="image" class="image" style="${this.image.startsWith("background-")?this.image:`background-image: url('${this.image}')`}">
+        ${this.zoomable?Zk`<div part="zoomButton" class="zoomButton" @click="${this.zoom}">
+                <i class=${KT(e)}></i>
+            </div>
+        `:""}
+            </div>
+            ${this.text?Zk` <div part="text" class="text">
+                                    <span>${this.text}</span>
+                                    ${this.infoData?Zk`<fv-info-button @click="${this.infoClick}"></fv-info-button>`:""} 
+                                </div>
+        `:""}
+        `}};L4.styles=[((e,t)=>T4(k4(e),t,e))(L4,"styles")||[],$k`${yk($4)}`],R4([lk({type:Boolean,reflect:!0})],L4.prototype,"zoomable",2),R4([lk({type:String,reflect:!0})],L4.prototype,"image",2),R4([lk({type:String,reflect:!0})],L4.prototype,"activeIcon",2),R4([lk({type:String,reflect:!0})],L4.prototype,"inactiveIcon",2),R4([lk({type:String,reflect:!0})],L4.prototype,"text",2),R4([lk({type:String})],L4.prototype,"infoData",2),R4([lk({type:String})],L4.prototype,"infoType",2),R4([lk({type:String})],L4.prototype,"manufacturer",2),R4([dk(".zoomButton")],L4.prototype,"_zoomButton",2),R4([lk({type:Boolean})],L4.prototype,"_isActive",2),L4=R4([sk("fv-titled-image")],L4);var P4,D4,N4=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{width:100%}:host .items{display:flex;flex-wrap:wrap;height:auto;margin:1rem 0;padding-left:20px;padding-right:20px;width:auto}:host .zoomedImage fv-titled-image.zoomed{height:auto;width:230px}:host .zoomedImage fv-titled-image.zoomed::part(image){border:2px solid #000;height:230px;width:230px}:host .zoomedImage fv-titled-image.zoomed.flex{height:auto;margin:15px auto;width:240px}:host ::slotted(.zoomedImage){display:flex;flex-direction:row;flex-wrap:wrap;height:auto;width:100%}:host([zoomstyle="2"]) .overlay{align-items:center;background-color:hsla(0,0%,100%,.9);bottom:0;display:flex;flex-direction:row;height:100%;justify-content:center;left:0;position:absolute;right:0;top:0;z-index:99}:host([zoomstyle="2"]) .overlay fv-titled-image{position:fixed;top:6%}`,F4=Object.defineProperty,O4=Object.getOwnPropertyDescriptor,B4=Object.getPrototypeOf,U4=Reflect.get,V4=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?O4(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&F4(t,r,o),o};(D4=P4||(P4={}))[D4.TOP=0]="TOP",D4[D4.INLINE=1]="INLINE",D4[D4.OVERLAY=2]="OVERLAY";let z4=class extends FT{constructor(){super(),this.zoomStyle=2,this._colorPicker={},this._preventBackButton=!1,this.zoomedImage=Object.assign(document.createElement("div"),{className:"zoomedImage"})}firstUpdated(e){super.firstUpdated(e)}setZoomImage(e,t){var r,n,i;if((null==(r=this.currentImage)?void 0:r.text)==(null==e?void 0:e.text)&&(null==(n=this.currentImage)||n.image,null==e||e.image),!e||!t)return this.currentImage=void 0,this.imageSibling=void 0,void this.requestUpdate();null==(i=this._itemsElement)||i.classList.remove("hidden"),2===this.zoomStyle?(e.IsActive=!1,this.setOverlayZoomImage(e,t)):this._setZoomImage(e,1===this.zoomStyle,t),this.requestUpdate(),this.parentElement instanceof fY&&this.parentElement.requestHeightUpdate()}_setZoomImage(e,t,r,n=!0){this.currentImage&&this.currentImage!=e&&(this.currentImage.IsActive=!1,n&&(this.imageSibling?this.insertBefore(this.currentImage,this.imageSibling):this.append(this.currentImage))),r.active?this.currentImage!==e&&(this.imageSibling=e.nextSibling,t&&this.zoomedImage&&this.zoomedImage.classList.add("hidden"),this.currentImage=n?e:e.cloneNode(!0),this.currentImage.IsActive=!0,n||(this.currentImage.addEventListener("click",t=>{t.preventDefault(),e.click(),this.currentImage=this.imageSibling=void 0,this.requestUpdate()}),this.currentImage.addEventListener("zoomClicked",e=>{this.currentImage=this.imageSibling=void 0,this.requestUpdate()})),t&&this.zoomedImage&&n&&(this.zoomedImage.append(this.currentImage),this.zoomedImage.classList.remove("hidden"),this.zoomedImage&&this.insertBefore(this.zoomedImage,this.imageSibling||null))):(t&&this.zoomedImage&&this.zoomedImage.classList.add("hidden"),e.IsActive=!1,n&&this.insertBefore(e,this.imageSibling||null),this.currentImage=void 0)}setOverlayZoomImage(e,t){this._setZoomImage(e,!1,t,!1)}onColorChange(e){}addColorPicker(e,t){var r,n;if(e&&e.type&&(!this._colorPicker[e.type]||!this._colorPicker[e.type].component)){switch(this._colorPicker[e.type]={},e.type){case"RAL":this._colorPicker[e.type].component=new rK,null==(r=this._colorPicker[e.type].component)||r.setAttribute("disable-fade","");break;case"NCS":this._colorPicker[e.type].component=new uK;break;case"SIKKENS":this._colorPicker[e.type].component=new vK}this._colorPicker&&this._colorPicker[e.type]&&this._colorPicker[e.type].component&&(this._colorPicker[e.type].component.addEventListener("onRender",()=>{var e;null==(e=this.parentElement)||e.requestHeightUpdate()}),this._colorPicker[e.type].component.addEventListener("colorChange",t=>{this._colorPicker[e.type].onColorChangeEvent&&this._colorPicker[e.type].onColorChangeEvent(t)}))}e&&e.type&&(null==(n=this._colorPicker[e.type].component)||n.setAttribute("disable-fade",""),this._colorPicker[e.type].onColorChangeEvent=t),this.requestUpdate()}showColorPicker(e,t=!1){return r=this,n=null,i=function*(){var r,n,i,o,s,a,l,c;if(yield this.updateComplete,this._preventBackButton=t,(null==e?void 0:e.type)&&this._colorPicker[null==e?void 0:e.type]){this._colorPicker&&(null==(r=this._colorPickers)||r.forEach(t=>{var r;t!==(null==(r=this._colorPicker[e.type].component)?void 0:r.parentElement)&&t.classList.add("hidden")}));const t=(null==e?void 0:e.code)||(null==(i=null==(n=this._colorPicker[null==e?void 0:e.type])?void 0:n.component)?void 0:i.getAttribute("currentCode"));t&&(null==(s=null==(o=this._colorPicker[null==e?void 0:e.type])?void 0:o.component)||s.setAttribute("currentCode",t)),null==(a=this._itemsElement)||a.classList.add("hidden"),null==(l=this._colorPickers)||l.forEach(t=>{t.classList.contains(e.type)&&t.classList.remove("hidden")}),null==(c=this.parentElement)||c.requestHeightUpdate(),this.scrollIntoView({behavior:"smooth",block:"start"})}},new Promise((e,t)=>{var o=e=>{try{a(i.next(e))}catch(e){t(e)}},s=e=>{try{a(i.throw(e))}catch(e){t(e)}},a=t=>t.done?e(t.value):Promise.resolve(t.value).then(o,s);a((i=i.apply(r,n)).next())});var r,n,i}hideColorPicker(){var e,t,r;this._colorPicker&&(null==(e=this._colorPickers)||e.forEach(e=>{e.classList.add("hidden")}),null==(t=this._itemsElement)||t.classList.remove("hidden")),null==(r=this.parentElement)||r.requestHeightUpdate(),this.dispatchEvent(new CustomEvent("colorPickerClosed"))}append(...e){super.append(...e),e.forEach(e=>{const t=t=>{this.setZoomImage(e,t.detail)},r=t=>{this.currentImage===e&&this.setZoomImage(e,t.detail)};e.removeEventListener("zoomClicked",t),e.removeEventListener("click",r),e.addEventListener("zoomClicked",t),e.addEventListener("click",r)})}appendChild(e){return this.append(e),e}preventScrolling(e){e.preventDefault(),e.stopPropagation()}render(){return Zk`
+            ${0==this.zoomStyle?Zk`
+                <div class="zoomedImage">
+                    ${this.currentImage}
+                </div>
+            `:""}
+            ${2===this.zoomStyle?Zk`
+                <div class="overlay ${KT({hidden:!this.currentImage})}" @wheel="${this.preventScrolling}">
+                    ${this.currentImage}
+                </div>
+            `:tT}
+            <div class="items">
+                <slot></slot>
+            </div>
+            ${Object.keys(this._colorPicker).map(e=>Zk`
+                    <div class="color-picker hidden ${e}">
+                        ${this._preventBackButton?"":Zk`
+                            <fv-button @click="${this.hideColorPicker}">Zurück</fv-button>`}
+                        ${this._colorPicker[e].component?this._colorPicker[e].component:""}
+                    </div>`)}
+        `}};z4.styles=[((e,t)=>U4(B4(e),t,e))(z4,"styles")||[],$k`${yk(N4)}`],V4([dk(".items")],z4.prototype,"_itemsElement",2),V4([hk(".color-picker")],z4.prototype,"_colorPickers",2),V4([lk({type:P4,reflect:!0})],z4.prototype,"zoomStyle",2),V4([lk()],z4.prototype,"_colorPicker",2),V4([lk()],z4.prototype,"_preventBackButton",2),z4=V4([sk("fv-property-list")],z4);var H4=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host(.top-radio) label{display:flex;flex-direction:column;flex-wrap:nowrap}:host(.top-radio) label input[type=radio]{height:1.5em;margin:auto auto 10px;width:1.5em}:host(.top-radio) label input[type=radio]:before{height:.75em;width:.75em}:host([checked]) label{font-weight:var(--global-font-weight-bold,600)}:host{display:inline-flex;flex:none;margin:0 5px}:host label{color:var(--radio-text-color,#000);display:inline-flex;font-size:small;margin:auto;position:relative;text-align:center}:host label input[type=radio]{appearance:none;background-color:#fff;border:.15em solid var(--radio-color,#000);border-radius:50%;display:grid;height:1em;margin:auto 4px auto auto;opacity:0;place-content:center;width:1em}:host label input[type=radio]:checked+.indicator .position-wrapper .checked{transform:scale(1)}:host label .indicator{border:var(--radio-color,#000);border-radius:50%;display:flex;flex-direction:column;flex-wrap:nowrap;height:1.5rem;position:absolute;width:100%}:host label .indicator .position-wrapper{height:100%;margin:var(--radio-check-margin,0);position:relative}:host label .indicator .position-wrapper div{background-position:50%;background-repeat:no-repeat;background-size:contain;bottom:0;height:100%;left:0;position:absolute;right:0;top:0}:host label .indicator .position-wrapper div.checked{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3C!--! Font Awesome Pro 6.2.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M8.465 8.465A4.984 4.984 0 0 1 12 7c2.76 0 5 2.24 5 5 0 1.38-.56 2.63-1.465 3.535A4.984 4.984 0 0 1 12 17c-2.76 0-5-2.24-5-5 0-1.38.56-2.63 1.465-3.535Z'/%3E%3C/svg%3E");transform:scale(0);transition:transform .12s ease-in-out}:host label .indicator .position-wrapper div.unchecked{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3C!--! Font Awesome Pro 6.2.0 by @fontawesome - https://fontawesome.com License - https://fontawesome.com/license (Commercial License) Copyright 2022 Fonticons, Inc.--%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8z'/%3E%3C/svg%3E")}`,G4=Object.defineProperty,j4=Object.getOwnPropertyDescriptor,J4=Object.getPrototypeOf,W4=Reflect.get,Q4=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?j4(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&G4(t,r,o),o};let q4=class extends FT{constructor(){super(),this.name="",this.checked=!1}firstUpdated(e){super.firstUpdated(e),this.addEventListener("click",e=>{var t,r;e.stopPropagation(),this.input&&(null==(r=null==(t=this.parentElement)?void 0:t.querySelector(`[name="${this.name}"][checked]`))||r.removeAttribute("checked"),this.input.checked=!0,this.checked=!0,this.requestUpdate())})}preventClick(e){return e.stopPropagation(),!1}render(){return Zk`
+            <label>
+                <input type="radio" name="${this.name}" .checked=${this.checked} @click="${this.preventClick}""/>
+                <div class="indicator">
+                    <div class="position-wrapper">
+                        <div class="unchecked"></div>
+                        <div class="checked"></div>
+                    </div>
+                </div>
+                <span>${this.textContent}</span>
+            </label>
+        `}};q4.styles=[((e,t)=>W4(J4(e),t,e))(q4,"styles")||[],$k`${yk(H4)}`],Q4([lk({type:String,reflect:!0})],q4.prototype,"name",2),Q4([lk({type:Boolean,reflect:!0})],q4.prototype,"checked",2),Q4([dk("input")],q4.prototype,"input",2),q4=Q4([sk("fv-radio")],q4);var Y4=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{display:flex;width:100%}:host .filter-lists{flex:1;width:100%}`,X4=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{display:flex;flex-wrap:wrap;margin-bottom:10px;place-content:flex-start}:host fv-label{flex:none;margin:15px 0;width:100%}:host fv-radio{margin:8px 12px;place-self:baseline;width:41px}:host fv-single-color{margin:8px 12px}`,K4=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host(.selected) .color-box{border:var(--color-box-selected-border-style,1px solid #000)}:host .color-box{border:var(--color-box-border-style,"0px solid black");height:var(--color-box-height,41px);width:var(--color-box-width,41px)}:host .color-box.disabled{pointer-events:none;position:relative}:host .color-box.disabled:after,:host .color-box.disabled:before{background-color:var(--color-box-disabled-color,#777);content:" ";height:33px;left:20px;position:absolute;top:4px;width:2px}:host .color-box.disabled:before{transform:rotate(45deg)}:host .color-box.disabled:after{transform:rotate(-45deg)}`,Z4=Object.defineProperty,e9=Object.getOwnPropertyDescriptor,t9=Object.getPrototypeOf,r9=Reflect.get,n9=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?e9(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&Z4(t,r,o),o};let i9=class extends FT{constructor(e){super(),this.colorCode="",this.disabled=!1,this.colorCode=e}colorBoxClick(){this.classList.add("selected"),this.dispatchEvent(new CustomEvent("colorBoxClick",{detail:{colorCode:this.colorCode}}))}render(){const e={"color-box":!0,disabled:this.disabled};let t=tL.hexToRgb(this.colorCode);return t||(t={r:119,g:119,b:119}),Zk`
+            <div class="${KT(e)}" @click="${this.colorBoxClick}" style="background-color: rgba(${null==t?void 0:t.r}, ${null==t?void 0:t.g}, ${null==t?void 0:t.b}, ${this.disabled?"0.2":"1"}">
+                
+            </div>
+        `}};i9.styles=[((e,t)=>r9(t9(e),t,e))(i9,"styles")||[],$k`${yk(K4)}`],n9([lk({type:Boolean})],i9.prototype,"disabled",2),i9=n9([sk("fv-single-color")],i9);var o9=Object.defineProperty,s9=Object.getOwnPropertyDescriptor,a9=Object.getPrototypeOf,l9=Reflect.get;let c9=class extends FT{constructor(e,t,r){super(),this._filterComponents={},this._filter={},this._key=e,this._finishParams=t,this._container=r}get FilterAuspraegungen(){return Object.keys(this._filter)}setVisibilityByAuspraegungen(e){const t=[];Object.keys(this._filter).forEach(r=>{e.includes(r)?this._filter[r].forEach(e=>{t.push(e),0===this._finishParams.visibilityMode||-1===this._finishParams.visibilityMode?e.classList.remove("hidden"):1===this._finishParams.visibilityMode&&(e.disabled=!1)}):this._filter[r].forEach(e=>{t.includes(e)||(e!==this._allRadio&&e instanceof q4&&(e.checked=!1),0===this._finishParams.visibilityMode||-1===this._finishParams.visibilityMode?e.classList.add("hidden"):1===this._finishParams.visibilityMode&&(e.disabled=!0),this._activeFilter===e&&(this._activeFilter=void 0))})}),0===t.length&&(this._allRadio&&(this._allRadio.checked=!0),this._container.setCurrentFilter(this,[]))}firstUpdated(e){super.firstUpdated(e);const t=this.shadowRoot&&this.shadowRoot.querySelector("fv-radio")||this.querySelector("fv-radio");t&&t.click()}get ActiveFilterComponent(){return this._activeFilter}update(e){var t,r,n,i=e=>super[e];return t=this,r=null,n=function*(){i("update").call(this,e)},new Promise((e,i)=>{var o=e=>{try{a(n.next(e))}catch(e){i(e)}},s=e=>{try{a(n.throw(e))}catch(e){i(e)}},a=t=>t.done?e(t.value):Promise.resolve(t.value).then(o,s);a((n=n.apply(t,r)).next())})}renderVisibleFilter(){this._filter={};const e=[];if(this._finishParams.text){const t=new SV;t&&(t.textContent=this._finishParams.text),e.push(t)}this._finishParams.preventAll||(this._allRadio||(this._allRadio=new q4,this._allRadio.addEventListener("click",e=>{e.stopPropagation(),Object.values(this._filterComponents).forEach(e=>{e instanceof q4?e.checked=!1:e instanceof i9&&e.classList.remove("selected")}),this._allRadio&&(this._allRadio.checked=!0),this._activeFilter=void 0,this._container.applyFilter(this,[])})),this._filterComponents.__all__=this._allRadio,this._allRadio.classList.remove("hidden"),this._allRadio.classList.add("top-radio"),this._allRadio.textContent="Alle",this._allRadio.name=""+this._key,e.push(this._allRadio));const t=this._finishParams.values;for(const r in t)if(/[a-fA-F0-9]{6}/.test(r)){let n=this._filterComponents[`${r}`];n||(n=new i9(t[r].id),n.addEventListener("colorBoxClick",e=>{e.stopPropagation(),Object.values(this._filterComponents).forEach(e=>{e instanceof q4?e.checked=!1:e instanceof i9&&n!==e&&e.classList.remove("selected")}),this._activeFilter=n,this._container.applyFilter(this,t[r].auspraegung)}));for(const e of t[r].auspraegung)this._filter[e]||(this._filter[e]=[]),this._filter[e].includes(n)||this._filter[e].push(n),this._allRadio&&!this._filter[e].includes(this._allRadio)&&this._filter[e].push(this._allRadio);e.push(n),this._filterComponents[`${r}`]=n}else{let n=this._filterComponents[`${r}`];n||(n=new q4,n.addEventListener("click",e=>{e.stopPropagation(),Object.values(this._filterComponents).forEach(e=>{e instanceof q4?e.checked=!1:e instanceof i9&&e.classList.remove("selected")}),n.checked=!0,this._activeFilter=n,this._container.applyFilter(this,t[r].auspraegung)})),e.push(n);for(const e of t[r].auspraegung)this._filter[e]||(this._filter[e]=[]),this._filter[e].includes(n)||this._filter[e].push(n),this._allRadio&&!this._filter[e].includes(this._allRadio)&&this._filter[e].push(this._allRadio);this._filterComponents[`${r}`]=n,n.classList.remove("hidden"),n.classList.add("top-radio"),n.textContent=t[r].text,n.name=""+this._key}return e}render(){return Zk`
+            ${this.renderVisibleFilter()}
+        `}};c9.styles=[((e,t)=>l9(a9(e),t,e))(c9,"styles")||[],$k`${yk(X4)}`],c9=((e,t,r,n)=>{for(var i,o=n>1?void 0:n?s9(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&o9(t,r,o),o})([sk("fv-filter-list")],c9);var u9=Object.defineProperty,d9=Object.getOwnPropertyDescriptor,h9=Object.getPrototypeOf,p9=Reflect.get,m9=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?d9(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&u9(t,r,o),o};let _9=class extends FT{constructor(e,t,r,n,i){super(),this.filterLists={},this._parentElement=void 0,this._components={},this._filter=[],this._finishParams={},this._manufacturer=e,this._program=t,this._key=r,this._parentElement=n,this._components=i}setCurrentFilter(e,t){const r=this._filter.find(t=>t.component===e);r?r.currentFilter=t:this._filter.push({component:e,currentFilter:t})}applyFilter(e,t){this.setCurrentFilter(e,t);let r=[...this._filter[0].currentFilter];for(let e=1;e<this._filter.length;e++)this._filter[e].component.setVisibilityByAuspraegungen(r),this._filter[e].currentFilter.length>0&&(r=this._filter[e].currentFilter.filter(e=>r.includes(e)));Object.keys(this._components).forEach(e=>{const t=e.replace(`${this._manufacturer}_${this._program}_`,"").replace(`_${this._key}`,""),n=this._components[e];n&&n.parentElement===this._parentElement&&(r.includes(t)?n.classList.remove("hidden"):n.classList.add("hidden"))}),this.dispatchEvent(new CustomEvent("filterChanged",{}))}performUpdate(){var e,t,r,n=e=>super[e];return e=this,t=null,r=function*(){return this._finishParams=yield gL.getFinishParams(this._manufacturer,this._program),n("performUpdate").call(this)},new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())})}renderFilterLists(){var e;if(this._finishParams[this._key]){const t=[];Object.keys(this._finishParams[this._key]).forEach(e=>{t.push(this._finishParams[this._key][e])}),t.sort((e,t)=>e.prio-t.prio);for(let e=0;e<t.length;e++){const r=this.filterLists[`${this._key}_${e}`]?this.filterLists[`${this._key}_${e}`]:new c9(this._key,t[e],this);this._filter.find(e=>e.component===r)||this._filter.push({component:r,currentFilter:[]}),this.filterLists[`${this._key}_${e}`]=r}null==(e=this._parentElement)||e.prepend(this)}return Object.values(this.filterLists)}render(){return Zk`
+            <div class="filter-lists">
+                ${this.renderFilterLists()}
+            </div>
+        `}};_9.styles=[((e,t)=>p9(h9(e),t,e))(_9,"styles")||[],$k`${yk(Y4)}`],m9([dk(".filter-lists")],_9.prototype,"_listDiv",2),_9=m9([sk("fv-filter-container")],_9);const g9=new class{constructor(){this._filterContainers={}}generateFilter(e,t,r,n,i){return o=this,s=null,a=function*(){let o=this._filterContainers[`${e}_${t}_${r}`];return o||(o=new _9(e,t,r,n,i),this._filterContainers[`${e}_${t}_${r}`]=o),o.requestUpdate(),o},new Promise((e,t)=>{var r=e=>{try{i(a.next(e))}catch(e){t(e)}},n=e=>{try{i(a.throw(e))}catch(e){t(e)}},i=t=>t.done?e(t.value):Promise.resolve(t.value).then(r,n);i((a=a.apply(o,s)).next())});var o,s,a}};var f9=Object.defineProperty,v9=Object.getOwnPropertyDescriptor,b9=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});const y9=class extends IY{constructor(){super(...arguments),this.ignoredAttributes=["image"],this.preventEmpty=!1,this.layerId=-1}get PPContainer(){return this.parentAccordion.parentNode.host}connectedCallback(){this.layerId=y9._globalLayerId++,super.connectedCallback()}disconnectedCallback(){y9._globalLayerId--,this.layerId=-1,super.disconnectedCallback()}firstUpdated(e){var t=e=>super[e];return b9(this,null,function*(){t("firstUpdated").call(this,e),yield this.refreshPropertyPanel(),EventFactoryService.RefreshPropertyPanel.register(()=>b9(this,null,function*(){yield this.refreshPropertyPanel()})),window.addEventListener("onUpdated",e=>{this.refreshPropertyPanel()})})}refreshPropertyPanel(){return b9(this,null,function*(){return this.refreshPromise&&(yield this.refreshPromise),this.refreshPromise=new Promise(e=>b9(this,null,function*(){if(this.parentAccordion){const t=yield this.getAccordionItems();yield tL.requestAnimationFrame();const r=Array.isArray(t)&&0===t.length;if(this.preventEmpty&&r)return e(!1);this.replaceChildren(...t)}return e(!0)})),this.refreshPromise})}requestUpdate(e,t){var r;e&&(null==(r=this.ignoredAttributes)||r.includes(e)),this.requestHeightUpdate(!1),super.requestUpdate(e,t)}getAccordionItems(){return b9(this,null,function*(){return[]})}getCacheKey(e){return`${this.layerId}_${e}`}isEmpty(){return 0===this.children.length}requestHeightUpdate(e=!0){this.childNodes.forEach(t=>{t instanceof fY&&t.requestHeightUpdate(e)})}};let $9=y9;$9._globalLayerId=0,((e,t,r,n)=>{for(var i,o=n>1?void 0:n?v9(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);n&&o&&f9(t,r,o)})([lk({type:Number,state:!1})],$9.prototype,"layerId",2);const x9=new class{constructor(){this._cache=new Map}get(e,t){if(!e)return null;if(!this._cache.has(e))return this._cache.set(e,{}),this._cache.get(e);{const r=this._cache.get(e);if(r){if(void 0===t)return r;if(r[t])return r[t]}}return null}set(e,t,r){if(!e||!t)return!1;this._cache.has(e)||this._cache.set(e,{});const n=this._cache.get(e);return!!n&&(n[t]=r,!0)}delete(e,t){if(!e)return!1;if(this._cache.has(e)){if(void 0===t)return this._cache.delete(e);const r=this._cache.get(e);if(r&&r[t])return delete r[t],!0}return!1}};class S9{static cleanup(e,t,r,...n){if(!e)return;const i=null==n?void 0:n.map(e=>x9.get(e)),o=x9.get(r);t.forEach(t=>{if(o[t]){const r=o[t].parentNode;r&&r.contains(o[t])?(r.removeChild(o[t]),delete o[t]):e.contains(o[t])&&(e.removeChild(o[t]),delete o[t]),i&&i.length>0&&i.forEach(r=>{r[t]&&e.contains(r[t])&&(e.removeChild(r[t]),delete r[t])})}})}static addItems(e){var t,r,n,i;const o=x9.get("progproperty_item");e.menu.itemCount=e.progPropertyValueList.length;const s=null==(t=e.currentPropertyValue)?void 0:t.key.toLowerCase().startsWith("[dh_ausf");let a=null;for(let t=0;t<e.progPropertyValueList.length;t++){const l=e.progPropertyValueList[t];let c=o[l.propertyKey];c||(c=e.items.addItem({colorPicker:{type:null==(r=l.colorPicker)?void 0:r.type,code:null==(n=l.colorPicker)?void 0:n.code,rgb:null==(i=l.colorPicker)?void 0:i.rgb},imgUrl:l.alternativeImageUrl,name:l.name,manufacturer:e.manufacturerModel.manufacturerName.toLowerCase(),program:e.programModel.programName.toLowerCase(),key:e.progPropertyModel.id,property:l.key,propertyKey:l.propertyKey,containerComponent:e.containerComponent}),o[l.propertyKey]=c),a&&a.nextSibling?e.items.insertBefore(c,a.nextSibling):e.items.appendChild(c),a=c;const u=e.itemKeys.indexOf(l.propertyKey);-1!==u&&e.itemKeys.splice(u,1),s&&c.ColorPicker&&e.currentPropertyValue&&e.currentValue&&c.ColorPicker.getColorByCode(e.currentPropertyValue.key.replace(/\[CP\].*\[CP\]/g,"")).then(t=>{e.menu.currentImage=t||e.menu.currentImage})}}}class w9 extends $9{constructor(){super(...arguments),this.caches={}}initCache(e){return this.caches[e]=x9.get(e)}getCache(e){return(e=this.getCacheKey(e))in this.caches?this.caches[e]:this.initCache(e)}getCacheKeys(e){return Object.keys(this.getCache(e))}clear(){Object.keys(this.caches).forEach(e=>{S9.cleanup(this,this.getCacheKeys(e),e)})}getCacheKey(e){return`${this.layerId}_${this.getCacheKeyPrefix()}_${e}`}refreshPropertyPanel(){var e,t,r,n=e=>super[e];return e=this,t=null,r=function*(){const e=yield n("refreshPropertyPanel").call(this);return this.clear(),e},new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())})}}var A9=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});class C9 extends w9{constructor(){super(...arguments),this._blockInstance=0,this._updateInstance=-1e10,this.currentProgram=""}buildAccordionPropertyHeader(e,t,r){return A9(this,null,function*(){const n=this.getCache("menu")[t.key]||new fY({header:(null==t?void 0:t.name)||"Undefined",image:""});r.length>0&&n.classList.add(...r),this.getCache("menu")[t.key]=n;const i=this.getCacheKeys("menu").indexOf(t.key);return-1!==i&&this.getCacheKeys("menu").splice(i,1),this.currentProgram===e.programID?n.isActive&&(this.parentAccordion.ActiveItem=n):(this.currentProgram=e.programID,this.parentAccordion.ActiveItem&&(this.parentAccordion.ActiveItem.isActive=!1),this.parentAccordion.ActiveItem=void 0),n})}buildAccordionFlexContent(e,t,r,n){return A9(this,null,function*(){const i=this.getCache("flex")[n.key]||new z4;i.setZoomImage(),i.setAttribute("id",n.id);const o=i.appendChild(yield g9.generateFilter(t.manufacturerName,r.programName,""+n.key,i,this.getCache("items")));return o.dataset.filterEventAdded||(o.dataset.filterEventAdded="true",o.addEventListener("filterChanged",()=>{e&&e.requestHeightUpdate()})),i})}buildLabel(e){let t=this.getCache("labels")[e.key];return t||(t=document.createElement("label"),this.getCache("labels")[e.key]=t),t.textContent=e.name,t}buildImageProperty(e,t,r,n,i,o,s,a){let l=this.getCache("items")[o.propertyKey];if(!l){l=new L4;const e=this.getModifyParameters(r,n,i,o);DragDropHelperService.addElement(l,{extData:e,id:i.id,type:ER.PROGPROPERTY},void 0,!1),l.addEventListener("click",r=>{const n=t.querySelector(".selected");n&&n.classList.remove("selected"),Object.values(this.getCache("flex")).forEach(e=>{e.hideColorPicker()}),l.classList.add("selected"),r.stopPropagation(),CommunicationMessageService.modifyProperty(JSON.stringify([e]),this.PPContainer.PPOptions)}),this.getCache("items")[o.propertyKey]=l}l.text=o.name,l.image=o.alternativeImageUrl,l.infoData=o.toolTipData,l.infoType=o.toolTipType,l.manufacturer=r.manufacturerName,l.IsActive=!1;return this.setHeaderImage(e,i,o,s,a)?l.classList.add("selected"):l.classList.remove("selected"),l}buildColorPickerProperty(e,t,r,n,i,o,s,a){let l=this.getCache("items")[o.propertyKey];return l||(l=new L4,l.addEventListener("click",e=>{++this._blockInstance;const r=t.querySelector(".selected");r&&r.classList.remove("selected"),l.classList.add("selected"),e.stopPropagation(),t.showColorPicker(o.colorPicker)}),this.getCache("items")[o.propertyKey]=l),l.text=o.name,l.image=o.alternativeImageUrl,l.infoData=o.toolTipData,l.infoType=o.toolTipType,l.manufacturer=r.manufacturerName,o.colorPicker&&t.addColorPicker(o.colorPicker,t=>{const s=t.detail;l.Image=`${s.rgba.r},${s.rgba.g},${s.rgba.b},${s.rgba.a}`,e.Image=`${s.rgba.r},${s.rgba.g},${s.rgba.b},${s.rgba.a}`,CommunicationMessageService.modifyProperty(JSON.stringify([this.getModifyParameters(r,n,i,o)]),Object.assign({modifyColorPicker:{code:s.code,rgb:`${s.rgba.r},${s.rgba.g},${s.rgba.b}`,key:o.propertyKey,id:i.id}},this.PPContainer.PPOptions))}),l.IsActive=this.setHeaderImage(e,i,o,s,a),l.IsActive?(t.showColorPicker(null==s?void 0:s.colorPicker,1===Object.keys(i.children).length),l.classList.add("selected")):l.classList.remove("selected"),l}buildRadioProperty(e,t,r,n,i,o,s,a){t.classList.add("radioList");let l=this.getCache("items")[o.propertyKey];return l||(l=new q4,l.classList.add("top-radio"),l.addEventListener("click",e=>{e.stopPropagation(),CommunicationMessageService.modifyProperty(JSON.stringify([this.getModifyParameters(r,n,i,o)]),this.PPContainer.PPOptions)}),this.getCache("items")[o.propertyKey]=l),l.textContent=o.name,l.name=i.key,l.checked=this.setHeaderImage(e,i,o,s,a),l}getModifyParameters(e,t,r,n){return{manufacturer:e.manufacturerName.toLowerCase(),program:t.programName.toLowerCase(),key:r.id,property:n.key,propertyKey:n.propertyKey,contextId:"contextId"in e?e.contextId:void 0}}setHeaderImage(e,t,r,n,i){var o;return!(!n||n.propertyKey!==r.propertyKey)&&(e.Image=(null==i?void 0:i.image)||(null==n?void 0:n.alternativeImageUrl)||(null==(o=null==n?void 0:n.colorPicker)?void 0:o.rgb)||e.Image,!0)}getCacheKeyPrefix(){return"_"}}var E9=Object.defineProperty,I9=Object.getOwnPropertyDescriptor,M9=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?I9(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&E9(t,r,o),o},k9=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});let T9=class extends C9{getAccordionItems(){return k9(this,null,function*(){var e;const t=[];DragDropHelperService.cleanUp();const r={useRelevant:!0,useSelection:!0,contextInfo:(null==(e=this.contexts)?void 0:e.map(e=>({contextId:e})))||[]};return yield yL.traverse({propertyCallback:(e,r,n,i,o)=>k9(this,null,function*(){var s;if(!this.contexts||!(null==(s=this.contexts)?void 0:s.includes(e.contextId)))return;const a=yield this.buildAccordionPropertyHeader(r,{key:n.id,name:n.name||"Undefined",image:""},this.PPContainer.accordionItemClasses);a.replaceChildren();const l=yield this.buildAccordionFlexContent(a,e,r,n);l.replaceChildren();for(let t=0;t<i.length;t++){const s=i[t];let c;if(c=s.alternativeImageUrl?this.buildImageProperty(a,l,e,r,n,s,o):s.colorPicker&&s.colorPicker.type?this.buildColorPickerProperty(a,l,e,r,n,s,o):this.buildRadioProperty(a,l,e,r,n,s,o),c){const e=this.getCacheKeys("items").indexOf(s.propertyKey);-1!==e&&this.getCacheKeys("items").splice(e,1),l.appendChild(c)}}if(i.length>0){a.append(l),this.getCache("flex")[n.key]=l;const e=this.getCacheKeys("flex").indexOf(n.key);-1!==e&&this.getCacheKeys("flex").splice(e,1)}a.childElementCount>0&&t.push(a)})},r),t})}getCacheKeyPrefix(){return"progcontext"}};M9([lk({type:Object})],T9.prototype,"contexts",2),T9=M9([sk("fv-prog-context-accordion-layer")],T9);var R9=$k`:host{align-content:flex-start;display:flex;flex-flow:wrap}`,L9=Object.defineProperty,P9=Object.getOwnPropertyDescriptor,D9=Object.getPrototypeOf,N9=Reflect.get;let F9=class extends $9{static propertyCallback(e,t,r){const n=x9.get("progproperty_menu"),i=x9.get("progproperty_items");let o=null,s=null;const a=e.PPContainer;return(l,c,u,d,h)=>{if(!u.name)return!1;const p=n[u.key]||new BK({title:u.name,hideItemCount:a.hideItemCount||a.disableNotSettable&&1===d.length,halfSize:a.halfSize});n[u.key]=p;const m=t.menuKeys.indexOf(u.key);-1!==m&&t.menuKeys.splice(m,1);let _=h;if(h||(_=d.find(e=>e.propertyKey===u.currentValue)),1===d.length){if(a.hideNotSettable)return!1;a.disableNotSettable&&p.setAttribute("disabled","true"),_=d[0]}p.transparentPlaceholder=+a.theme===+pX.FURNVIEW,_&&(p.currentName=_.name,p.currentImage=_.alternativeImageUrl);const g=i[u.key]||new RK;i[u.key]=g;const f=t.itemsKeys.indexOf(u.key);-1!==f&&t.itemsKeys.splice(f,1),g.id="item_"+u.id,e.contains(p)||p.addEventListener("click",t=>{t.stopPropagation(),t.preventDefault(),e.querySelectorAll("fv-pp-property").forEach(e=>{p!==e&&e.classList[p.active?"remove":"add"]("hidden")}),p.active=!p.active,g.active=p.active}),s&&s?r.splice(r.indexOf(s)+1,0,p):r.push(p),o=p,o&&o?r.splice(r.indexOf(o)+1,0,g):r.push(g),s=g,S9.addItems({menu:p,items:g,containerComponent:a,itemKeys:t.itemKeys,manufacturerModel:l,programModel:c,progPropertyModel:u,progPropertyValueList:d,currentValue:h,currentPropertyValue:_})}}getAccordionItems(){return e=this,t=null,r=function*(){const e=Object.keys(x9.get("progproperty_menu")),t=Object.keys(x9.get("progproperty_items")),r=Object.keys(x9.get("progproperty_item")),n=[];return yield gL.traverse({propertyCallback:F9.propertyCallback(this,{menuKeys:e,itemsKeys:t,itemKeys:r},n)}),S9.cleanup(this,e,"progproperty_menu"),S9.cleanup(this,t,"progproperty_items","progproperty_menu"),S9.cleanup(this,r,"progproperty_item"),n},new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});var e,t,r}};F9.styles=[((e,t)=>N9(D9(e),t,e))(F9,"styles")||[],yk(R9)],F9=((e,t,r,n)=>{for(var i,o=n>1?void 0:n?P9(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&L9(t,r,o),o})([sk("fv-prog-property-furnview-accordion-layer")],F9),new F9;var O9=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host([active]) .pp-group-title{color:var(--primary-color,red)!important}:host{display:flex;height:100px;width:calc(100% - 15px)}:host .pp-current-image{height:100px;margin-right:40px;width:100px}:host .pp-current-image .pp-image{background-position:50%;background-size:cover;height:100%;width:100%}:host .pp-current-image .pp-image.not-found{background-image:var(--default-image,url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA8AAAAMcAQMAAACl5F6MAAAABlBMVEW8vsDn6OnyCdevAAAACXBIWXMAAAsTAAALEwEAmpwYAAAEbUlEQVR4AezBMQEAAADCoPVP7WsIoAcAAAAAAAAAAAAAAAAAAAAAAIydO0iOk4eCAGyVXNEuukF0FB1NHE1H0RG0ZEHRf5A99WYMk1T+Kvolw+vVjBf+CkMLoRCFWQkuqCquB3QOOQKrCpwBKJ1i6Jxk/EzTubaArgAHQOeyjhu8aMEafUrYolLjLRMfLrpw5cMYadeBnTLcrwN7ZXi+DhyuCi8GG/xy8Gyw3SRe7n7cLzfnajah5z87keFJ//lYf0WAAq+vv+rDX+fir+zpr2Xqr95qrle/ywr9OxX+/nF19fGRmR/yrzCJCudRqNHiNDHhIlquTBgCF2aX3V2BwYT9nUYdNoNojnqjiKJ56q0xiRaok4EsWqQO2EW0RJ3wQbTMvDc6iFaYswEvkx5Hnf8E0Tx1xhcfj3gh1lhOLHVWnx8vLvBq/FAnYpGBhwEElVfjhyETjVjj5bFanATpLrHIcpDkIstpJRdZLmRykaW63CLLMZKLLGeVXGS5jvlFluZKq8k1lnGMXGMZuck1lnsVu8ZydybXWOYj5BrLDIxcY5lz8mrML/JupPIC02osf3tyjeVqY9dYikys8QlTAUIsFovFYrFYLJaIP8hq8D4GG2ywwQYbbLDBBhtssMEGG2ywwQYb3N9+G/ePwQYbbLDBBhtssMEGG5yhA3ugqcARmFXgDKwqcAGgAsu+J1zYy94UXDjIRxosH+crwUm2euHCWX43Fy7YciUYI9N1YIeRavDpsMdIM9jgs+BOh4PBavA3ras6aMFRC06TEpyrLsy/H5emBKOrwvxZpsOsA3ssOk8SQQ9edZ4WI6DzfJwU4Ym/FCE7ofFXfQoJlnUugRsHdl9GTKBzlxRF6vzVW9kngr5eLTB5hT6MUhPgLfdDRhwQCQ79TQXe756tAWcp10XgIuMYF8aWxoedLtz5sB/wzIeDLrzw4QiRqHBSgOvnwLWFCrc7eCLCbnwrXFh2ZMdHKhEOyx3ciHBch8OHE2TtCZ0IZ0wCz1S4jhGTDhc0ecN9IcLja/qEVwIswqwC+/H3zfgMDw7j95cbPBFg+YEKnIaGWyoNzpvmcEujws0rwGX7LnCnwWOgDLhlZsFuaJEP+zFCC7yw4DCAhFtWFhwHl/lwwpeowRMJzlpw+QpXEgwl2O3gxoH9Du4cOOzgmQNHLTjt4OXF4byDVw5csAsHhhLssM/EgD32qQw4aMER+zQtuDPgpAVn7DMz4IJ9FgYMJdgdwSsB9jgKAQ5acDyEJy24ng8nLTgfwu18uBzC/XwYSrA7hmfCeyCHWU6Hw18Gr4R3fY5zOpy04PwEngj/KfYw9WwYSrB7BjfCW4qH6a8Kh2fwTHgF9jDLyXDSgvMzeKW8UX6Uk2Eowe45PL0m7J/D9VQ4aMG/isH/JwYbbLDBBhtssMEGG2ywtz3K/2tvDmQAAAAABvlbn+NbCSQWi8VisVgsFovFYrFYLBYvAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEHVJjR5bJLd8AAAAASUVORK5CYII="))}:host .pp-current-image .pp-image.not-found.transparent{background-color:transparent;background-image:none}:host .pp-current-image .pp-image.bordered{border:1px solid #e5e5e5}:host .pp-info{border-bottom:2px solid #e5e5e5;display:flex;flex:1;flex-direction:column;overflow:hidden;word-break:break-word}:host .pp-info .pp-group-title{color:#727272;padding:6px}:host .pp-info .pp-group-title .pp-chevron{padding-left:23px}:host .pp-info .pp-current-name{padding:6px}:host .pp-items-counter{flex:none;text-align:center}`,B9=Object.defineProperty,U9=Object.getOwnPropertyDescriptor,V9=Object.getPrototypeOf,z9=Reflect.get,H9=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?U9(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&B9(t,r,o),o};let G9=class extends FT{constructor(e){super(),this._showItemCount=!0,this._onlyOneChild=!1,this.currentImage="",this.currentName="",this.itemCount=0,this.active=!1,this.titleText="",e=e||{},this.titleText=e.title||"",this._showItemCount=!e.hideItemCount}render(){this._onlyOneChild=!!this.getAttribute("disabled");const e={"chevron-symbol":!this._onlyOneChild,up:this.active&&!this._onlyOneChild,down:!this.active&&!this._onlyOneChild},t={"not-found":!this.currentImage,"pp-image":!0};return Zk`<div class="pp-current-image">
+            <div class=${KT(t)} style="${this.currentImage?"background-"+(this.currentImage.startsWith("#")?`color: ${this.currentImage}`:this.currentImage.split(",").length>=2?`color: rgba(${this.currentImage})`:`image: url(${this.currentImage})`):""}"></div>
+            </div>
+            <div class="pp-info">
+                <div class="pp-group-title">
+                    <span>${this.titleText}</span>
+                    <span class=${KT(e)}></span>
+                </div>
+                <div class="pp-current-name">
+                    <span>${this.currentName}</span>
+                </div>
+            </div>
+        ${this._showItemCount?Zk`
+                        <div class="pp-items-counter">
+                            <span>${this.itemCount}</span>
+                        </div>`:""}
+        `}};G9.styles=[((e,t)=>z9(V9(e),t,e))(G9,"styles")||[],$k`${yk(O9)}`],H9([lk({type:String,reflect:!0})],G9.prototype,"currentImage",2),H9([lk({type:String,reflect:!0})],G9.prototype,"currentName",2),H9([lk({type:Number,reflect:!0})],G9.prototype,"itemCount",2),H9([lk({type:Boolean,reflect:!0})],G9.prototype,"active",2),H9([lk({type:String,reflect:!0})],G9.prototype,"titleText",2),G9=H9([sk("fv-pp-menu")],G9);var j9=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{border-bottom:2px solid #e5e5e5;display:block;padding:10px 0}:host .color-picker{border:none}:host .pp-item-content{display:flex}:host .pp-item-content .pp-item-image{flex-shrink:0;height:75px;width:75px}:host .pp-item-content .pp-item-image .pp-image{background-position:50%;background-size:cover;display:flex;height:100%;position:relative;width:100%}:host .pp-item-content .pp-item-image .pp-image.not-found{background-image:var(--default-image,url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAA8AAAAMcAQMAAACl5F6MAAAABlBMVEW8vsDn6OnyCdevAAAACXBIWXMAAAsTAAALEwEAmpwYAAAEbUlEQVR4AezBMQEAAADCoPVP7WsIoAcAAAAAAAAAAAAAAAAAAAAAAIydO0iOk4eCAGyVXNEuukF0FB1NHE1H0RG0ZEHRf5A99WYMk1T+Kvolw+vVjBf+CkMLoRCFWQkuqCquB3QOOQKrCpwBKJ1i6Jxk/EzTubaArgAHQOeyjhu8aMEafUrYolLjLRMfLrpw5cMYadeBnTLcrwN7ZXi+DhyuCi8GG/xy8Gyw3SRe7n7cLzfnajah5z87keFJ//lYf0WAAq+vv+rDX+fir+zpr2Xqr95qrle/ywr9OxX+/nF19fGRmR/yrzCJCudRqNHiNDHhIlquTBgCF2aX3V2BwYT9nUYdNoNojnqjiKJ56q0xiRaok4EsWqQO2EW0RJ3wQbTMvDc6iFaYswEvkx5Hnf8E0Tx1xhcfj3gh1lhOLHVWnx8vLvBq/FAnYpGBhwEElVfjhyETjVjj5bFanATpLrHIcpDkIstpJRdZLmRykaW63CLLMZKLLGeVXGS5jvlFluZKq8k1lnGMXGMZuck1lnsVu8ZydybXWOYj5BrLDIxcY5lz8mrML/JupPIC02osf3tyjeVqY9dYikys8QlTAUIsFovFYrFYLJaIP8hq8D4GG2ywwQYbbLDBBhtssMEGG2ywwQYb3N9+G/ePwQYbbLDBBhtssMEGG5yhA3ugqcARmFXgDKwqcAGgAsu+J1zYy94UXDjIRxosH+crwUm2euHCWX43Fy7YciUYI9N1YIeRavDpsMdIM9jgs+BOh4PBavA3ras6aMFRC06TEpyrLsy/H5emBKOrwvxZpsOsA3ssOk8SQQ9edZ4WI6DzfJwU4Ym/FCE7ofFXfQoJlnUugRsHdl9GTKBzlxRF6vzVW9kngr5eLTB5hT6MUhPgLfdDRhwQCQ79TQXe756tAWcp10XgIuMYF8aWxoedLtz5sB/wzIeDLrzw4QiRqHBSgOvnwLWFCrc7eCLCbnwrXFh2ZMdHKhEOyx3ciHBch8OHE2TtCZ0IZ0wCz1S4jhGTDhc0ecN9IcLja/qEVwIswqwC+/H3zfgMDw7j95cbPBFg+YEKnIaGWyoNzpvmcEujws0rwGX7LnCnwWOgDLhlZsFuaJEP+zFCC7yw4DCAhFtWFhwHl/lwwpeowRMJzlpw+QpXEgwl2O3gxoH9Du4cOOzgmQNHLTjt4OXF4byDVw5csAsHhhLssM/EgD32qQw4aMER+zQtuDPgpAVn7DMz4IJ9FgYMJdgdwSsB9jgKAQ5acDyEJy24ng8nLTgfwu18uBzC/XwYSrA7hmfCeyCHWU6Hw18Gr4R3fY5zOpy04PwEngj/KfYw9WwYSrB7BjfCW4qH6a8Kh2fwTHgF9jDLyXDSgvMzeKW8UX6Uk2Eowe45PL0m7J/D9VQ4aMG/isH/JwYbbLDBBhtssMEGG2ywtz3K/2tvDmQAAAAABvlbn+NbCSQWi8VisVgsFovFYrFYLBYvAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEHVJjR5bJLd8AAAAASUVORK5CYII="))}:host .pp-item-content .pp-item-image .pp-image.not-found.transparent{background-color:transparent;background-image:none}:host .pp-item-content .pp-item-image .pp-image.bordered{border:1px solid #e5e5e5}:host .pp-item-content .pp-item-image .pp-image fv-progress{height:75%;width:75%}:host .pp-item-content .pp-item-name{color:#727272;margin:auto 8px}`,J9=Object.defineProperty,W9=Object.getOwnPropertyDescriptor,Q9=Object.getPrototypeOf,q9=Reflect.get,Y9=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?W9(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&J9(t,r,o),o},X9=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});let K9=class extends FT{constructor(e){var t,r,n;if(super(),this.PPContainerComponent=null,this.name="",this.image="",this.draggable=!1,e=e||{},this.name=e.name||"",this._manufacturer=e.manufacturer||"",this._program=e.program||"",this._key=e.key||"",this._property=e.property||"",this._propertyKey=e.propertyKey||"",this.PPContainerComponent=e.containerComponent,this.draggable=(null==(t=this.PPContainerComponent)?void 0:t.draggable)||null!==(null==(r=this.PPContainerComponent)?void 0:r.getAttribute("draggable")),this.Image=e.imgUrl,e.colorPicker){switch(e.colorPicker.type){case"RAL":this._colorPicker=new rK;break;case"NCS":this._colorPicker=new uK;break;case"SIKKENS":this._colorPicker=new vK;break;default:this._colorPicker=void 0}null==(n=this._colorPicker)||n.getColorByCode(this._property.replace(/\[CP\].*\[CP\]/g,"")).then(e=>{e&&(this.Image=e)})}}get ColorPicker(){return this._colorPicker}set Image(e){this.image=e?"background-"+(e.startsWith("#")?`color: ${e}`:e.split(",").length>=2?`color: rgba(${e})`:`image: url(${e})`):this.image}firstUpdated(e){var t;super.firstUpdated(e),this.addEventListener("click",e=>{var t,r,n;if(e.stopPropagation(),e.stopPropagation(),this.PPContainerComponent&&!this.PPContainerComponent.IsBusy)if(this._progressTimer&&(clearTimeout(this._progressTimer),this._progressTimer=void 0),null==(t=this._progress)||t.show(),this._colorPicker){this.classList.add("color-picker");const e=this.classList.contains("active");if(e)return;this.classList[e?"remove":"add"]("active"),null==(r=this.colorPickerDiv)||r.classList[e?"add":"remove"]("hidden"),null==(n=this.parentNode)||n.childNodes.forEach(t=>{t.classList[t===this||e?"remove":"add"]("hidden");const r=t.shadowRoot;if(r)for(let t=0;t<r.children.length;t++)r.children[t].classList[r.children[t]===this.colorPickerDiv||e?"remove":"add"]("hidden")})}else{this.PPContainerComponent.IsBusy=!0;const e=[{manufacturer:this._manufacturer,program:this._program,key:this._key,property:this._property,propertyKey:this._propertyKey}];CommunicationMessageService.modifyProperty(JSON.stringify(e),this.PPContainerComponent.PPOptions).then(()=>X9(this,null,function*(){var e;this._progress&&(this._progress.finished=!0),null==(e=this.PPContainerComponent)||e.requestUpdate(),this._progressTimer=setTimeout(()=>{var e;this._progressTimer=void 0,null==(e=this._progress)||e.hide()},1e3)}))}}),this._colorPicker&&(null==(t=this.colorPickerDiv)||t.appendChild(this._colorPicker),this._colorPicker.classList.add("color-picker"),this._colorPicker.addEventListener("colorChange",e=>{var t;const r=e.detail,n=[{manufacturer:this._manufacturer,program:this._program,key:this._key,property:this._property,propertyKey:this._propertyKey}];CommunicationMessageService.modifyProperty(JSON.stringify(n),Object.assign({modifyColorPicker:{code:r.code,rgb:`${r.rgba.r},${r.rgba.g},${r.rgba.b}`,key:this._propertyKey,id:this._key}},null==(t=this.PPContainerComponent)?void 0:t.PPOptions)).then(()=>X9(this,null,function*(){var e;this._progress&&(this._progress.finished=!0),null==(e=this.PPContainerComponent)||e.requestUpdate(),setTimeout(()=>{var e;null==(e=this._progress)||e.hide()},1e3)}))}))}render(){DragDropHelperService.removeElement(this),this.draggable&&!this._colorPicker&&DragDropHelperService.addElement(this,{extData:{manufacturer:this._manufacturer,program:this._program,key:this._key,property:this._property,propertyKey:this._propertyKey},id:this._key,type:ER.PROGPROPERTY});const e={"not-found":!this.image,"pp-image":!0};return Zk`
+            <div class="pp-item-content"> 
+                <div class="pp-item-image">
+                    <div class=${KT(e)} style="${this.image?`${this.image}`:""}">
+                        <fv-progress></fv-progress>
+                    </div>
+                </div>
+                <div class="pp-item-name">
+                    <span>${this.name}</span>
+                </div>
+            </div>
+            <div class="color-picker hidden"></div>
+        `}};K9.styles=[((e,t)=>q9(Q9(e),t,e))(K9,"styles")||[],$k`${yk(j9)}`],Y9([lk()],K9.prototype,"PPContainerComponent",2),Y9([lk({type:String,reflect:!0})],K9.prototype,"name",2),Y9([lk({type:String,reflect:!0})],K9.prototype,"image",2),Y9([dk(".color-picker")],K9.prototype,"colorPickerDiv",2),Y9([dk("fv-progress")],K9.prototype,"_progress",2),Y9([lk({type:Boolean,reflect:!0})],K9.prototype,"draggable",2),K9=Y9([sk("fv-pp-item")],K9);var Z9=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{display:block;margin-bottom:20px;margin-left:25px;max-height:0;overflow:hidden;transition-delay:0ms;transition-duration:.2s;transition-property:max-height;transition-timing-function:ease-in;width:calc(100% - 40px)}:host([noTransition]){transition-delay:0s!important;transition-duration:0s!important;transition-property:all!important;transition-timing-function:ease!important}:host([active]){margin-top:10px;max-height:var(--max-transition-height,0);transition:max-height 1s ease}`,e8=Object.defineProperty,t8=Object.getOwnPropertyDescriptor,r8=Object.getPrototypeOf,n8=Reflect.get,i8=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?t8(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&e8(t,r,o),o};let o8=class extends FT{constructor(){super(),this.active=!1,this.noTransition=!1,this.updateHeight=()=>{tL.updateMaxTransitionHeight(this)}}requestUpdate(e,t,r){var n,i,o,s=e=>super[e];return n=this,i=null,o=function*(){yield tL.updateMaxTransitionHeight(this),s("requestUpdate").call(this,e,t,r)},new Promise((e,t)=>{var r=e=>{try{a(o.next(e))}catch(e){t(e)}},s=e=>{try{a(o.throw(e))}catch(e){t(e)}},a=t=>t.done?e(t.value):Promise.resolve(t.value).then(r,s);a((o=o.apply(n,i)).next())})}render(){return Zk`<slot></slot>`}addItem(e){return new K9(e)}colorPickerCheck(){const e=this.querySelectorAll("fv-pp-item:not(.hidden)");if(1===e.length){const t=e[0];t.ColorPicker&&(t.ColorPicker.removeEventListener("onRender",this.updateHeight),t.ColorPicker.addEventListener("onRender",this.updateHeight),t.click()),this.updateHeight()}}};o8.styles=[((e,t)=>n8(r8(e),t,e))(o8,"styles")||[],$k`${yk(Z9)}`],i8([lk({type:Boolean,reflect:!0})],o8.prototype,"active",2),i8([lk({type:Boolean,reflect:!0})],o8.prototype,"noTransition",2),o8=i8([sk("fv-pp-items")],o8);var s8=Object.defineProperty,a8=Object.getOwnPropertyDescriptor,l8=Object.getPrototypeOf,c8=Reflect.get,u8=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?a8(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&s8(t,r,o),o},d8=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});let h8=class extends $9{getAccordionItems(){return d8(this,null,function*(){let e=!1;const t=[],r=[],n=x9.get("proptransfer_group"),i=x9.get("proptransfer_item"),o=Object.keys(n),s=Object.keys(i),a=Object.keys(x9.get("progproperty_menu")),l=Object.keys(x9.get("progproperty_items")),c=Object.keys(x9.get("progproperty_item")),u=this;let d=null;return yield IX.traverse({groupCallback:(a,l,c,h)=>d8(this,null,function*(){const p=`${a}_${l}_${c}`,m=n[p]||new VX;n[p]=m;const _=o.indexOf(p);-1!==_&&o.splice(_,1);const g=[];h.forEach(e=>{if(e.progProperties)for(let t=0;t<e.progProperties.length;t++)-1===g.indexOf(e.progProperties[t])&&g.push(e.progProperties[t])});let f=null;h&&u.PPContainer.grouped&&h.forEach(e=>{const t=i[e.id]||m.addItem(e);t.Deletable=e.deletable.length>0,i[e.id]=t;const r=s.indexOf(e.id);-1!==r&&s.splice(r,1),f&&f.nextSibling?m.insertBefore(t,f.nextSibling):m.appendChild(t),f=t}),d?r.splice(r.indexOf(d)+1,0,m):r.push(m),d=m;const v=yield gL.findMany(a,l,g,e);e=!0;let b=null,y=null;Object.values(v).forEach(e=>{-1===t.indexOf(e.key)&&t.push(e.key);const n=new BK({title:e.name,hideItemCount:this.PPContainer.hideItemCount,halfSize:this.PPContainer.halfSize}),i=Object.values(e.children),o=e.currentValue;o&&(n.currentName=o.name,n.currentImage=o.alternativeImageUrl),y?r.splice(r.indexOf(y)+1,0,n):d?r.splice(r.indexOf(d)+1,0,n):r.push(n),b=n;const s=new RK;s.id="item_"+e.id,b?r.splice(r.indexOf(b)+1,0,s):r.push(s),y=s,n.addEventListener("click",()=>{n.active||(u.querySelectorAll("fv-pp-property").forEach(e=>{n!==e&&e.classList.add("hidden")}),n.active=!0,s.active=!0)}),n.itemCount=i.length;let a=null;for(let t=0;t<i.length;t++){const r=i[t],n=new RK;n.id="item_"+e.id;const o=n.addItem({colorPicker:e.colorPicker,imgUrl:r.alternativeImageUrl,name:r.name,manufacturer:e.manufacturerName.toLowerCase(),program:e.programName.toLowerCase(),key:e.id,property:r.key,propertyKey:r.propertyKey,containerComponent:this.PPContainer});a&&a.nextSibling?n.insertBefore(o,a.nextSibling):n.appendChild(o),a=o}})}),itemsCallback:e=>d8(this,null,function*(){if(!this.PPContainer.grouped){const t=n[e.id]||new VX;n[e.id]=t;const r=o.indexOf(e.id);-1!==r&&o.splice(r,1),e&&t.appendChild(t.addItem(e))}})},this.options),yield gL.traverse({propertyCallback:(e,n,i,o,s)=>{if(!i.name)return!1;o.length>1&&-1===t.indexOf(i.key)&&F9.propertyCallback(this,{menuKeys:a,itemsKeys:l,itemKeys:c},r)(e,n,i,o,s)}}),S9.cleanup(this.PPContainer,o,"proptransfer_group"),S9.cleanup(this.PPContainer,s,"proptransfer_item"),S9.cleanup(this.PPContainer,a,"progproperty_menu"),S9.cleanup(this.PPContainer,l,"progproperty_items","progproperty_menu"),S9.cleanup(this.PPContainer,c,"progproperty_item"),r})}};h8.styles=[((e,t)=>c8(l8(e),t,e))(h8,"styles")||[],yk(R9)],u8([lk({type:Object,reflect:!0})],h8.prototype,"options",2),h8=u8([sk("fv-prog-property-combine-accordion-layer")],h8),new h8;var p8=$k`:host{margin-bottom:0}`,m8=Object.defineProperty,_8=Object.getOwnPropertyDescriptor,g8=Object.getPrototypeOf,f8=Reflect.get,v8=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});let b8=class extends C9{constructor(){super(),this.preventEmpty=!0}getAccordionItems(){return v8(this,null,function*(){const e=this.PPContainer.accordionItemClasses,t=[];DragDropHelperService.cleanUp();const r=yield gL.traverse({propertyGroupedCallback:(r,n,i)=>v8(this,null,function*(){var o,s,a;if(this.PPContainer.hideSingleValueProperties){let e=!1,t=0;for(const r of i.keys)r.progPropertyValueList?t+=r.progPropertyValueList.length:e=!0;if(t<2&&!e)return}i.title||(i.title=(null==(o=i.keys[0].progPropertyModel)?void 0:o.name)||"");let l=!0,c="";i.title&&(c+=`${i.title}`),(null==i?void 0:i.id)&&(c+=`_${i.id}`);const u={image:i.imgSrc},d=yield this.buildAccordionPropertyHeader(n,{name:i.title||"Undefined",image:i.imgSrc,key:c},e);d.replaceChildren();for(const e of i.keys){if(!(null==(s=e.progPropertyModel)?void 0:s.name))continue;if(!e.progPropertyValueList||!(e.progPropertyValueList.length>1)&&this.PPContainer.hideNotSettable)continue;const t=yield this.buildAccordionFlexContent(d,r,n,e.progPropertyModel);t.replaceChildren();for(let i=0;i<e.progPropertyValueList.length;i++){const o=e.progPropertyValueList[i];let s;if(s=o.alternativeImageUrl?this.buildImageProperty(d,t,r,n,e.progPropertyModel,o,e.currentValue,u):o.colorPicker&&o.colorPicker.type?this.buildColorPickerProperty(d,t,r,n,e.progPropertyModel,o,e.currentValue,u):this.buildRadioProperty(d,t,r,n,e.progPropertyModel,o,e.currentValue,u),s){const e=this.getCacheKeys("items").indexOf(o.propertyKey);-1!==e&&this.getCacheKeys("items").splice(e,1),t.appendChild(s)}}if(t.children.length>0){l=!1;const r=this.buildLabel(e.progPropertyModel);r.style.fontWeight="bold";const n=this.getCacheKeys("labels").indexOf(null==(a=e.progPropertyModel)?void 0:a.key);-1!==n&&this.getCacheKeys("labels").splice(n,1),d.append(r),d.append(t),this.getCache("flex")[e.progPropertyModel.key]=t;const i=this.getCacheKeys("flex").indexOf(e.progPropertyModel.key);-1!==i&&this.getCacheKeys("flex").splice(i,1)}e.currentValue,e.currentValue||e.progPropertyValueList.find(t=>{var r;return t.propertyKey===(null==(r=e.progPropertyModel)?void 0:r.currentValue)})}!l&&d.childElementCount>0&&t.push(d)})});return r&&(1===t.length?t[0]instanceof fY&&(t[0].isSingular=!0):t.length>1&&t.forEach((e,t)=>{e.isSingular=!1})),t})}getCacheKeyPrefix(){return"progproperty"}};b8.styles=[((e,t)=>f8(g8(e),t,e))(b8,"styles")||[],yk(p8)],b8=((e,t,r,n)=>{for(var i,o=n>1?void 0:n?_8(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&m8(t,r,o),o})([sk("fv-prog-property-accordion-layer")],b8);var y8=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{color:#9e9e9e;user-select:none;-moz-user-select:none;-ms-user-select:none;-webkit-user-select:none}:host span{display:flex}:host span fv-info-button{--info-buton-text-color:#9e9e9e}:host span .property-info-text{font-size:10px;margin:auto 4px;opacity:0;transition:opacity .5s ease-in-out}:host span .property-info-text.active{opacity:1}`;class $8{static getProperties(e){const t={};for(const r in e.properties)for(const n of e.properties[r])n.keys.forEach(e=>{e&&e.value&&(t[e.key]={title:e.title,name:e.value.name})});return t}static getPropertyValues(e,t){const r=Object.keys(t);return e.map(e=>{const n=e.properties.map(e=>{const n=new RegExp(""+e),i=r.find(e=>n.test(e));return t[i||""]});for(let e=n.length-1;e<0;e++)void 0===n[e]&&n.splice(e,1);return{propertyValues:n}})}}$8.selectedNoticeItems=[];var x8=Object.defineProperty,S8=Object.getOwnPropertyDescriptor,w8=Object.getPrototypeOf,A8=Reflect.get,C8=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});let E8=class extends FT{constructor(){super(),this.program="",this.isActive=!0,this.properties=[],this.propertyList=[]}updateProperties(){return C8(this,null,function*(){const e=yield CommunicationMessageService.getProgramsInScene();this.program=e[0]||"";const t=yield CommunicationMessageService.getCurrentProgProperties({manufacturer:window.g_article.manu,useRelevant:!0}),r=$8.getProperties({cloudId:"",properties:t}),n=Object.keys(r);this.propertyList=this.properties.map(e=>{const t=new RegExp(e),i=n.find(e=>t.test(e));if(i)return r[i]});for(let e=this.propertyList.length-1;e<0;e++)void 0===this.propertyList[e]&&this.propertyList.splice(e,1);this.requestUpdate()})}firstUpdated(e){var t=e=>super[e];return C8(this,null,function*(){t("firstUpdated").call(this,e),yield this.updateProperties(),EventFactoryService.RefreshPropertyPanel.register(()=>{this.updateProperties()})})}toggleInfo(){this.isActive=!this.isActive,this.requestUpdate()}render(){const e={"property-info-text":!0,active:this.isActive};return Zk`
+            <span>
+                <fv-info-button @click="${this.toggleInfo}"></fv-info-button>
+                <span class="${KT(e)}">
+                ${this.program?Zk`<span>Modell: <span class="bold">${this.program}</span></span>`:""} 
+                ${this.propertyList.map(e=>{if(e)return Zk`<span>| ${e.title}: <span class="bold">${e.name} </span></span>`})}
+                </span>
+            </span>
+        `}};E8.styles=[((e,t)=>A8(w8(e),t,e))(E8,"styles")||[],$k`${yk(y8)}`],E8=((e,t,r,n)=>{for(var i,o=n>1?void 0:n?S8(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&x8(t,r,o),o})([sk("fv-property-info")],E8);var I8=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{background-color:var(--separator-color,#000);display:block}:host(.vertical){flex:none;height:calc(100% - var(--separator-offset, 10px));margin-top:var(--separator-offset,10px);width:var(--separator-size,1px)}:host(.horizontal){flex:none;height:var(--separator-size,1px);margin-left:var(--separator-offset,10px);width:calc(100% - var(--separator-offset, 10px))}@media not all and (min-resolution:0.001dpcm){@supports (-webkit-appearance:none){:host(.vertical){height:calc(100% - (var(--separator-offset, 10px))*2);margin:auto!important}}}@supports (-webkit-hyphens:none){:host(.vertical){height:calc(100% - (var(--separator-offset, 10px))*2);margin:auto!important}}`,M8=Object.defineProperty,k8=Object.getOwnPropertyDescriptor,T8=Object.getPrototypeOf,R8=Reflect.get;let L8=class extends FT{constructor(){super()}render(){return Zk``}};L8.styles=[((e,t)=>R8(T8(e),t,e))(L8,"styles")||[],$k`${yk(I8)}`],L8=((e,t,r,n)=>{for(var i,o=n>1?void 0:n?k8(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&M8(t,r,o),o})([sk("fv-separator")],L8);var P8=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host(.horizontal.hide){height:0}:host(.horizontal.hide) .menu-toggle i{transform:rotate(180deg) translateY(2px)}:host(.vertical.hide){width:0}:host(.vertical.hide) .menu-toggle i{transform:rotate(270deg) translateX(2px)}:host .menu-content{box-sizing:content-box;display:flex;overflow:hidden}:host .menu-content .scroll-content{box-sizing:content-box;display:flex;height:inherit}:host{background-color:#fff;border-top:1px solid rgba(0,0,0,.25);display:flex;justify-content:center;position:relative;transition:height 1s ease;z-index:1}:host .menu-toggle{background-color:#fff;display:flex;height:40px;position:absolute;width:50px;z-index:1}:host .menu-toggle i{margin:auto}:host(.horizontal){height:var(--menu-size,40px);width:100%}:host(.horizontal) .menu-toggle{border-left:1px solid rgba(0,0,0,.25);border-right:1px solid rgba(0,0,0,.25);border-top:1px solid rgba(0,0,0,.25);border-top-left-radius:8px;border-top-right-radius:8px;right:10px;top:-41px}:host(.vertical){height:100%;width:var(--menu-size,40px)}:host(.vertical) .menu-toggle{border-bottom:1px solid rgba(0,0,0,.25);border-bottom-left-radius:8px;border-left:1px solid rgba(0,0,0,.25);border-top:1px solid rgba(0,0,0,.25);border-top-left-radius:8px;bottom:10px;right:-41px;transform:rotate(90deg)}:host ::slotted(fv-separator){--separator-color:#7f7f7f}:host ::slotted(fv-icon-step){color:#000;display:block;height:21px;width:auto}:host ::slotted(fv-hr-mode-toolbar-button),:host ::slotted(fv-toolbar-button){display:flex;padding:0 .75em;place-items:center;width:auto}`,D8=Object.defineProperty,N8=Object.getOwnPropertyDescriptor,F8=Object.getPrototypeOf,O8=Reflect.get,B8=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?N8(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&D8(t,r,o),o};let U8=class extends FT{constructor(){super(),this.toggleable=!0}menuToggleClick(){this.classList.toggle("hide")}appendChild(e){return this.append(e),e}append(...e){e.forEach(e=>{var t;null==(t=null==e?void 0:e.classList)||t.add("docked")}),super.append(...e)}render(){return Zk`
+            ${this.toggleable?Zk`<div @click="${this.menuToggleClick}" class="menu-toggle"><i class="fv-icon-arrow-down-2"></i></div>`:""}
+            <div class="menu-content invisible-scroll bottom">
+                <div class="scroll-content">
+                    <slot></slot>
+                </div>
+            </div>
+        `}};U8.styles=[((e,t)=>O8(F8(e),t,e))(U8,"styles")||[],$k`${yk(P8)}`],B8([lk({type:Boolean,reflect:!0})],U8.prototype,"toggleable",2),U8=B8([sk("fv-dockable-menu")],U8);var V8=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}@media (width <= 980px){:host .finish-content>.finish-text{padding:10px 15px}:host .finish-content>.finish-header{text-align:center}}:host{display:none;grid-template-columns:1fr;grid-template-rows:auto 1fr auto;line-height:25px;overflow-x:hidden;overflow-y:auto}:host>.finish-header{font-size:35px;line-height:42px;margin:15px;text-align:center}:host .finish-content{display:grid;grid-template-columns:.1fr 1fr .1fr;grid-template-rows:auto auto 1fr}:host .finish-content>.finish-text{grid-column:2/3;padding:15px 0}:host .finish-content .finish-illustration{display:grid;grid-column:1/4;grid-template-columns:minmax(0,200px) 1fr minmax(0,200px);grid-template-rows:1fr;justify-content:center;margin:auto;text-align:center}:host .finish-content .finish-illustration .finish-image{display:flex;height:150px}:host .finish-content .finish-illustration .finish-image img{margin:auto}:host .finish-content>.finish-header{font-size:24px;grid-column:2/3}:host .notice-footer{display:flex}:host .notice-footer fv-button:only-child{margin:auto!important}:host .notice-footer fv-button:first-child{margin:auto 10px auto auto}:host .notice-footer fv-button:last-child{margin:auto auto auto 10px}:host([active]){display:grid;justify-content:center}`,z8=Object.defineProperty,H8=Object.getOwnPropertyDescriptor,G8=Object.getPrototypeOf,j8=Reflect.get,J8=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?H8(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&z8(t,r,o),o};let W8=class extends DW{constructor(){super(),this.mask="finish-modal",this.dealerLink=""}findDealer(){this.dealerLink&&window.open(this.dealerLink,"_blank")}reload(){this.reloadEvent?window.dispatchEvent(new cG({async:!1,events:[{id:this.reloadEvent.command,data:this.reloadEvent.data}]})):window.dispatchEvent(new cG({async:!1,events:[{id:"reload-window",data:{}}]}))}build(e=Zk``){return Zk`
+            <div class="finish-header">
+                <h3>
+                    <span i18n="modal.finish.head-text"></span>
+                </h3>
+            </div>
+            <div class="finish-content">
+                <div class="finish-header" i18n="modal.finish.content.head-text">
+                    <span></span>
+                </div>
+                <div class="finish-text">
+                    <span i18n="modal.finish.content.text"></span>
+                </div>
+                <div class="finish-illustration">
+                    <div>
+                        <div class="finish-image">
+                            <img part="finish-illustration-first"/>
+                        </div>
+                        <div>
+                            <span i18n="modal.finish.content.illustration.left"></span>
+                        </div>
+                    </div>
+                    <div class="finish-image">
+                        <img part="finish-illustration-arrow"/>
+                    </div>
+                    <div>
+                        <div class="finish-image">
+                            <img part="finish-illustration-second"/>
+                        </div>
+                        <div>
+                            <span i18n="modal.finish.content.illustration.right"></span>
+                        </div>
+                    </div>
+                </div>
+            </div>
+            <div class="notice-footer">
+                <fv-button class="bordered" i18n="modal.finish.restart" @click="${this.reload}"></fv-button>
+                ${this.dealerLink?Zk`<fv-button class="bordered" i18n="modal.finish.find_dealer" @click="${this.findDealer}"></fv-button>`:""}
+            </div>
+        `}};W8.styles=[((e,t)=>j8(G8(e),t,e))(W8,"styles")||[],$k`${yk(V8)}`],J8([lk({type:String})],W8.prototype,"dealerLink",2),W8=J8([sk("fv-finish-modal-mask")],W8);var Q8=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{display:flex;flex:1}:host .accordion-content{flex:1}:host .carousel-content{display:flex;flex:1}:host .carousel-content .last-notice,:host .carousel-content .next-notice{align-items:center;display:flex;justify-content:center;width:130px}:host .carousel-content .notice-view{display:flex;flex:1;flex-direction:column}:host .carousel-content .notice-image{align-items:center;background:#f4f4f4;display:flex;flex:none;height:300px;justify-content:center;margin-bottom:8px;width:300px}:host .carousel-content .notice-image img{height:auto;width:100%}:host .carousel-content .notice-content{background:#f4f4f4;box-sizing:border-box;font-size:16px;padding:24px;width:300px}:host .carousel-content .notice-content .notice-title{font-weight:var(--global-font-weight-bold,600)}:host .carousel-content .notice-content .notice-properties{display:block}:host .carousel-content .notice-content .notice-properties .item .content-div{display:grid;grid-template-columns:120px 1fr}:host .carousel-content .notice-content .notice-properties .item .content-div .value-text span{display:block}`,q8=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host(.view-only) .header .header-content{grid-template-columns:130px 1fr 1fr}:host .content{background-color:#fff}:host .header{background-color:#f4f4f4;display:flex;height:7rem}:host .header .chevron-symbol{width:50px}:host .header .header-content{align-content:center;align-items:center;display:grid;flex:1;grid-template-columns:50px 130px 1fr 1fr 50px;justify-content:center;overflow:hidden}:host .header .header-content .checkbox-content{display:flex}:host .header .header-content .checkbox-content fv-checkbox{margin:auto}:host .header .header-content .header-text{display:flex}:host .header .header-content .header-text span{margin:auto}:host .header .header-content .open-planning i,:host .header .header-content .open-planning img{height:auto;width:42px}:host .header .header-content .open-planning i{display:flex;place-content:center;place-items:center;place-self:center}:host .header .header-content .image-content{display:flex}:host .header .header-content .image-content img{height:100px;margin:auto;width:100px}`,Y8=Object.defineProperty,X8=Object.getOwnPropertyDescriptor,K8=Object.getPrototypeOf,Z8=Reflect.get,e6=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?X8(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&Y8(t,r,o),o};let t6=class extends fY{constructor(){super(),this.selected=!1,this.item={properties:[],id:"",manufacturer:"",program:"",selected:!1}}firstUpdated(e){super.firstUpdated(e),this.selectionCheckbox&&(this.selectionCheckbox.onChange=(e,t)=>{this.selected=t.checked,this.requestUpdate(),this.updateComplete.then(()=>{this.dispatchEvent(new CustomEvent("onselectionchange",{}))})})}append(...e){super.append(...e),tL.updateMaxTransitionHeight(this.content)}appendChild(e){return this.append(e),e}openPlanning(e){this.dispatchEvent(new CustomEvent("open-planning",{detail:this.item,bubbles:!0}))}checkboxClicked(e){e.cancelBubble=!0,e.stopPropagation()}build(){return Zk`
+            <div class="header-content">
+                ${this.classList.contains("view-only")?"":Zk`<div class = "checkbox-content" >
+                <fv-checkbox class="checkbox" .checked="${this.selected}" @click="${this.checkboxClicked}"></fv-checkbox>
+             </div>`}
+                <div class="image-content">
+                    <img src="${this.item.image}">
+                </div>
+                <div class="header-text">
+                    <span>${this.item.programName}</span>
+                </div>
+                <div class="header-text">
+                    <span>${this.item.price}</span>
+                </div>
+                ${this.classList.contains("view-only")?"":Zk`<div class="open-planning">
+                ${tL.getVar(this.parentAccordion,"--open-planning-image")?Zk`<img @click=${this.openPlanning} src="${tL.getVar(this.parentAccordion,"--open-planning-image")}">`:Zk`<i class="icon fv-icon-folder" @click=${this.openPlanning}></i>`}
+
+
+             </div>`}
+
+            </div>
+        `}};t6.styles=[((e,t)=>Z8(K8(e),t,e))(t6,"styles")||[],$k`${yk(q8)}`],e6([lk({type:Boolean,reflect:!0})],t6.prototype,"selected",2),e6([dk(".checkbox")],t6.prototype,"selectionCheckbox",2),t6=e6([sk("fv-notice-accordion-item")],t6);var r6=Object.defineProperty,n6=Object.getOwnPropertyDescriptor,i6=Object.getPrototypeOf,o6=Reflect.get,s6=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?n6(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&r6(t,r,o),o};let a6=class extends FT{constructor(){super(),this.hidePrice=!1,this.noticeValues=[],this.onlyCurrent=!1,this.itemIndex=0,this.items=[]}firstUpdated(e){var t;super.firstUpdated(e),(null==(t=this.noticeValues)?void 0:t.length)>0&&this.updateItems()}updateItems(e){this.onlyCurrent=!!e,this.items=[],this.itemIndex=0;const t=[];e?t.push($8.currentNoticeItem):$8.selectedNoticeItems.forEach(e=>{e.listItem.selected&&t.push(e.listItem.item)}),t.forEach(e=>{let t;this.items.push({selected:!1,price:e.price,properties:(()=>e.properties&&Array.isArray(e.properties)?(t=e.properties,e.properties):(t=$8.getProperties(e),$8.getPropertyValues(this.noticeValues,t)))(),image:e.image,programName:e.programName,program:e.program,manufacturer:e.manufacturer,id:e.cloudId||e.id,rawProperties:t})}),this.requestUpdate()}requestResetOfCurrentItem(){this.onlyCurrent&&($8.currentNoticeItem=void 0,this.onlyCurrent=!1)}renderItems(){if(this.items.length>0){const e=this.items[this.itemIndex],t=document.createElement("div");return t.classList.add("item"),this.noticeValues.forEach(r=>{const n=Object.assign(document.createElement("div"),{className:"title-text"}),i=Object.assign(document.createElement("div"),{className:"value-text"});if(e.rawProperties){const t=Object.keys(e.rawProperties);r.properties.forEach(r=>{const n=new RegExp(""+r),o=t.find(e=>n.test(e));o&&e.rawProperties&&i.append(Object.assign(document.createElement("span"),{textContent:`${e.rawProperties[o].title}: ${e.rawProperties[o].name}`}))})}const o=Object.assign(document.createElement("div"),{className:"content-div"});o.append(n,i),t.append(o),n.setAttribute("i18n",r.title)}),Zk`${t}`}return Zk``}renderAccordionItems(){var e;if(!((null==(e=this.noticeValues)?void 0:e.length)>0))return"";const t=[];return this.items.forEach(e=>{const r=new t6;r.classList.add("view-only"),r.item.price=e.price,r.item.properties=e.properties,r.item.image=e.image,r.item.programName=e.programName,r.item.program=e.program,r.item.manufacturer=e.manufacturer,r.item.id=e.id,t.push(r),this.noticeValues.forEach(t=>{const n=Object.assign(document.createElement("div"),{className:"title-text"}),i=Object.assign(document.createElement("div"),{className:"value-text"});if(e.rawProperties){const r=Object.keys(e.rawProperties);t.properties.forEach(t=>{const n=new RegExp(""+t),o=r.find(e=>n.test(e));o&&e.rawProperties&&i.append(Object.assign(document.createElement("span"),{textContent:`${e.rawProperties[o].title}: ${e.rawProperties[o].name}`}))})}const o=Object.assign(document.createElement("div"),{className:"content-div"});o.append(n,i),r.append(o),n.setAttribute("i18n",t.title)})}),this.items.length>0?Zk`${t}
+            `:Zk``}lastNotice(){this.itemIndex--,this.itemIndex<0&&(this.itemIndex=0),this.requestUpdate()}nextNotice(){this.itemIndex++,this.itemIndex>=this.items.length&&(this.itemIndex=this.items.length-1),this.requestUpdate()}render(e=Zk``){var t,r,n;const i={hidden:0===this.itemIndex},o={hidden:this.itemIndex===this.items.length-1};return Zk`
+            <div class="carousel-content only-desktop">
+                <div class="last-notice" @click="${this.lastNotice}" part="last-notice-image">
+                    <svg class="${KT(i)}" width="20" height="65" viewBox="0 0 20 65" fill="none" xmlns="http://www.w3.org/2000/svg">
+                        <path d="M19.2378 1L1.00009 32.5L19.2378 64" stroke="#777777" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round"/>
+                    </svg>
+                </div>
+                <div class="notice-view">
+                    <div class="notice-image">
+                        <img src="${null==(t=this.items[this.itemIndex])?void 0:t.image}"/>
+                    </div>
+                    <div class="notice-content">
+                        <div class="notice-title">
+                            ${null==(r=this.items[this.itemIndex])?void 0:r.programName}
+                        </div>
+                        <div class="notice-properties">
+                            ${this.renderItems()}
+                            ${this.hidePrice?Zk``:Zk`
+                                <div class="item">
+                                    <div class="content-div">
+                                        <div class="title-text">Preis:</div>
+                                        <div class="value-text">${null==(n=this.items[this.itemIndex])?void 0:n.price} (UVP)</div>
+                                    </div>
+                                </div>
+                            `}
+                        </div>
+                    </div>
+                </div>
+                <div class="next-notice" @click="${this.nextNotice}"  part="next-notice-image">
+                    <svg class="${KT(o)}" width="20" height="65" viewBox="0 0 20 65" fill="none" xmlns="http://www.w3.org/2000/svg">
+                        <path d="M1 64L19.2377 32.5L0.999997 1" stroke="#777777" stroke-width="0.5" stroke-linecap="round" stroke-linejoin="round"/>
+                    </svg>
+                </div>
+            </div>
+            <div class="accordion-content only-mobile">
+                <fv-accordion>${this.renderAccordionItems()}</fv-accordion>
+            </div>
+        `}};a6.styles=[((e,t)=>o6(i6(e),t,e))(a6,"styles")||[],$k`${yk(Q8)}`],s6([lk({type:Boolean,attribute:"hide-price",reflect:!0})],a6.prototype,"hidePrice",2),s6([lk()],a6.prototype,"noticeValues",2),a6=s6([sk("fv-notice-carousel")],a6);var l6=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}@media (width >= 980px){:host .notice-header{font-size:35px}:host .notice-list{align-items:center}:host .notice-list fv-accordion{display:none}:host .notice-list .notice-list-header{display:block}:host .notice-list .notice-list-content{display:inline-block}:host .notice-footer fv-separator{margin:5px 0 20px}:host .notice-footer .bottom-line .notice-buttons{justify-content:flex-end}:host .notice-footer .bottom-line .notice-buttons fv-button{margin:0 20px}}@media (width <= 980px){:host .notice-header{font-size:16px}:host .notice-list fv-accordion{display:block;overflow:hidden auto}:host .notice-list fv-accordion fv-notice-accordion-item .content-div{display:flex;justify-content:space-evenly;margin:14px}:host .notice-list fv-accordion fv-notice-accordion-item .content-div .title-text{flex:none;margin:0 20px;text-align:end;width:250px}:host .notice-list fv-accordion fv-notice-accordion-item .content-div .title-text:after{content:":"}:host .notice-list fv-accordion fv-notice-accordion-item .content-div .value-text{flex:1}:host .notice-list fv-accordion fv-notice-accordion-item .content-div .value-text span+span:before{content:" | "}:host .notice-list .notice-list-header{display:none}:host .notice-list .notice-list-content{display:none}:host .notice-footer fv-separator{margin:5px 0 15px}:host .notice-footer .bottom-line .notice-buttons{justify-content:space-between}:host .notice-footer .bottom-line .notice-buttons fv-button{margin:0 5px}:host .notice-footer .bottom-line .notice-buttons fv-button::part(button){--button-span-margin:5px;font-size:10px;line-height:1.75}}:host{display:none;line-height:25px}:host ::slotted(div[slot=header]){display:inline-block;width:200px}:host ::slotted(div[slot=content]){display:inline-block;vertical-align:top;white-space:break-spaces;width:200px}:host([active]){display:grid;grid-template-columns:1fr;grid-template-rows:100px 1fr 130px;justify-content:center;position:relative}:host([active]) .notice-header{display:flex;line-height:42px}:host([active]) .notice-header span{margin:auto}:host([active]) .notice-list{display:flex;flex-direction:column;overflow:hidden;width:100%}:host([active]) .notice-list .notice-list-header{border-bottom:1px solid #bfbfbf;padding-bottom:16px;white-space:nowrap}:host([active]) .notice-list .notice-list-header .fixed-header{display:inline-block;width:200px}:host([active]) .notice-list .notice-list-header .fixed-header.item-checkbox{display:inline-flex;justify-content:center;width:50px}:host([active]) .notice-list .notice-list-header .fixed-header.item-model{width:320px}:host([active]) .notice-list .notice-list-header .fixed-header.openPlanningDummyDiv{width:100px}:host([active]) .notice-list .notice-list-content{overflow-y:auto;white-space:nowrap}:host([active]) .notice-list .notice-empty{align-content:center;align-items:center;display:flex;flex-wrap:nowrap;justify-content:center;left:50%;position:absolute;right:50%;top:50%;width:0}:host([active]) .notice-list .notice-empty span{background:#f4f4f4;display:block;margin:auto;padding:5px;position:absolute;width:max-content}:host([active]) .notice-footer{font-size:14px}:host([active]) .notice-footer .text-line{align-items:center;display:flex;justify-content:space-between}:host([active]) .notice-footer .text-line .left-text{align-items:center;display:flex;flex:none}:host([active]) .notice-footer .text-line .left-text img{height:42px;width:42px}:host([active]) .notice-footer .text-line .right-text{font-size:10px;overflow:hidden;white-space:nowrap}:host([active]) .notice-footer .bottom-line{display:flex}:host([active]) .notice-footer .bottom-line .notice-buttons{display:flex;flex:1;flex-wrap:nowrap}:host([active]) .notice-footer .bottom-line .notice-buttons fv-button{z-index:0}:host([active]) table{display:flex;flex:1;flex-flow:column;height:100%;overflow:hidden;width:100%}:host([active]) table thead{border-bottom:1px solid #bfbfbf;display:table;flex:0 0 auto;padding-bottom:16px;table-layout:fixed;width:calc(100% - .9em)}:host([active]) table tr{width:100%}:host([active]) table th{text-align:start}:host([active]) table th:first-child{width:30px}:host([active]) table th:last-child{width:60px}:host([active]) table td{height:inherit;overflow:hidden;text-align:start}:host([active]) table td:first-child{width:30px}:host([active]) table td:last-child{width:60px}:host([active]) table tbody{flex:1 1 auto;overflow-x:hidden;overflow-y:scroll;table-layout:fixed}:host([active]) table tbody>tr{background-color:#f4f4f4;border-bottom:1px solid #bfbfbf;display:table;height:128px;table-layout:fixed;vertical-align:middle;width:100%}:host([active]) table #model-cell,:host([active]) table .model{width:max-content}:host([active]) table .model{height:inherit;vertical-align:middle;white-space:nowrap}:host([active]) table .model>.model-image{display:inline-block;height:inherit;vertical-align:middle}:host([active]) table .model>.model-image>img{height:inherit}:host([active]) table .model>.model-text{display:inline-block;vertical-align:middle}:host([hide-price]) #price-cell{display:none}`;const c6=new class{constructor(){this._prefix="LSS_"}update(e,t){if(e.length>0){const r=JSON.stringify(t),n=btoa(r);localStorage.setItem(this._prefix+e,n)}return t}get(e){if(e.length>0){const t=localStorage.getItem(this._prefix+e);if(t){const e=atob(t);try{return JSON.parse(e)}catch(e){return null}}}}remove(e){localStorage.removeItem(this._prefix+e)}};class u6 extends HTMLTableRowElement{constructor(){super(),this.hidePrice=!1,this.selected_=!1,this.item={properties:[],id:"",selected:!1,program:"",manufacturer:""}}set selected(e){this.selected_=e,this.selectionCheckbox&&(this.selectionCheckbox.checked=this.selected_)}get selected(){return this.selected_}connectedCallback(){var e,t;this.render(),this.selectionCheckbox=this.querySelector(".checkbox"),this.selectionCheckbox&&(this.selectionCheckbox.checked=this.selected_,this.selectionCheckbox.onChange=(e,t)=>{this.selected_=t.checked,this.dispatchEvent(new CustomEvent("onselectionchange",{}))}),null==(t=null==(e=this.querySelector(".open-planning"))?void 0:e.children[0])||t.addEventListener("click",()=>{this.openPlanning()})}renderItems(){return`${this.item.properties.map(e=>{const t=document.createElement("td");if(t.classList.add("item"),e)for(const r of e.propertyValues)if(r){t.appendChild(Object.assign(document.createElement("div"),{textContent:`${r.title}: ${r.name}`})).classList.add("item-value")}return t.outerHTML}).join("")}\n        `}openPlanning(){this.dispatchEvent(new CustomEvent("open-planning",{detail:this.item,bubbles:!0}))}render(){this.innerHTML=`\n            <td>\n                <fv-checkbox class="checkbox" checked="${this.selected_}"></fv-checkbox>\n            </td>\n            <td class="model">\n                <div class="model-image">\n                    <img src="${this.item.image}">\n                </div>\n                <div class="model-text">${this.item.programName}</div>\n            </td>\n            ${this.renderItems()}\n             ${this.hidePrice?"":`\n                <td class="price">${this.item.price}</td>\n            `}\n            <td class="open-planning">\n                ${tL.getVar(this.parentElement,"--open-planning-image")?`<img src="${tL.getVar(this.parentElement,"--open-planning-image")}">`:'<i class="icon fv-icon-folder"></i>'}\n            </td>\n        `}}customElements.define("table-row",u6,{extends:"tr"});var d6=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});const h6=new class{constructor(){this._prefix="SSS_",this._noticeKey=""}createNoticeKey(){return d6(this,null,function*(){if(this._noticeKey)return;const e=(yield RR.Configuration).query_parameters;if(e){const t=new URL(window.location.href);e.split(",").forEach(e=>{t.searchParams.has(e)&&(this._noticeKey.length>0&&(this._noticeKey+="_"),this._noticeKey+=t.searchParams.get(e))})}})}has(){return!!this._noticeKey}set(e){return d6(this,null,function*(){if(yield this.createNoticeKey(),this._noticeKey.length>0){const t=JSON.stringify(e),r=new URL(window.location.href).searchParams.get("token");if(!r)return null;const n={noticeKey:this._noticeKey,token:r,noticePositionData:btoa(t),cloudId:e.cloudId};yield RequestHelperService.post(RequestHelperService.setQuery("/notice-list")+"&noticeKey="+this._noticeKey,n)}return e})}get(){return d6(this,null,function*(){if(yield this.createNoticeKey(),this._noticeKey.length>0){const e=yield RequestHelperService.getJson(RequestHelperService.setQuery("/notice-list")+"&noticeKey="+this._noticeKey),t=[];return e&&e.forEach(e=>{if(e&&e.noticePositionData){const r=atob(e.noticePositionData);try{const n=JSON.parse(r);n.id=e._id,t.push(n)}catch(e){}}}),t.length>0?t:null}return null})}remove(e){return d6(this,null,function*(){yield this.createNoticeKey(),yield RequestHelperService.fetch(RequestHelperService.setQuery("/notice-list/"+e)+"&noticeKey="+this._noticeKey,{method:"DELETE"})})}};var p6=Object.defineProperty,m6=Object.getOwnPropertyDescriptor,_6=Object.getPrototypeOf,g6=Reflect.get,f6=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?m6(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&p6(t,r,o),o},v6=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});let b6=class extends DW{constructor(){super(),this.noticeDomItems=[],this.mask="notice-list-modal",this.noticeValues=[],this.hidePrice=!1,this.allSelected=!1,this.noticeCount=0,this.maxNoticeCount=10,this.selectAll=(e,t)=>{this.allSelected=t.checked,this.noticeDomItems.forEach(e=>{e.listItem.selected=this.allSelected,e.accordionItem.selected=this.allSelected}),this.requestUpdate()},c6.remove("currentSceneSettings"),TY.register("save-current-scene-settings",e=>v6(this,null,function*(){var t,r,n,i,o,s,a;let l=null;if(null==(t=this.Modal)||t.setLoading(!0),(yield CommunicationMessageService.getPlannedArticles()).length>0){null==(r=this.Modal)||r.setLoading(!0);let t="currentSceneSettings_"+new URL(window.location.href).searchParams.get("a");e.onlyCurrent&&(t="currentSceneSettings",l=document.querySelector("fv-loading-modal"),l&&l.show(!1,!0));const s=yield h6.get(),a=h6.has()?s||[]:c6.get(t)||[];yield CommunicationInterfaceService.IsAppReady;const c=yield CommunicationMessageService.getCurrentProgProperties({manufacturer:window.g_article.manu,useRelevant:!0}),u=yield UH.createCloudId();if(u){const t="image/png",r=yield CommunicationMessageService.takeSnap(300,300,t,.9,!0),s=yield CommunicationMessageService.getAppConnectionData(),l=yield CommunicationMessageService.getPlannedArticles(),d={price:s.totalPrice,image:`data:${t};base64,${r}`,cloudId:u,manufacturer:null==(n=s.Articles[0])?void 0:n.DH_Manu,program:null==(i=s.Articles[0])?void 0:i.DH_Prog,programName:null==(o=l[0])?void 0:o.progName,manufacturerName:s.Articles[0].Manu,properties:c};$8.currentNoticeItem=Object.assign(d),a.push(d),e.onlyCurrent||(h6.has()&&(yield h6.set(d)),this.createItem(d))}if(!h6.has()){for(let e=a.length-1;e>=0;e--)a[e].cloudId||a.splice(e,1);a.length>this.maxNoticeCount&&a.splice(0,1),c6.update(t,a)}this.noticeCount=a.length,l&&l.hide(!1,!0),this.requestUpdate("noticeCount")}null==(s=this.shadowRoot)||s.dispatchEvent(new Event("contentChanged")),null==(a=this.Modal)||a.setLoading()}))}firstUpdated(e){var t=e=>super[e];return v6(this,null,function*(){var r,n,i,o,s;t("firstUpdated").call(this,e),null==(r=this.Modal)||r.setLoading(!0),null==(n=this.shadowRoot)||n.addEventListener("headerChanged",e=>{var t;const r=this.querySelectorAll("[slot='header']"),n=null==(t=this.shadowRoot)?void 0:t.querySelectorAll("[slot='header']");null==n||n.forEach(e=>{e.remove()}),this.priceCell&&r.forEach(e=>{var t;null==(t=this.priceCell.parentElement)||t.insertBefore(e,this.priceCell)})}),null==(i=this.shadowRoot)||i.addEventListener("contentChanged",e=>{const t=this.querySelectorAll("[slot='content']");this.priceCell&&t.forEach(e=>{var t;null==(t=this.tableBody)||t.append(e)})}),this.selectAllCheckboxes&&this.selectAllCheckboxes.forEach(e=>{e.onChange=this.selectAll});const a=new URL(window.location.href).searchParams.get("a"),l=yield h6.get(),c=h6.has()?l||[]:c6.get("currentSceneSettings_"+a)||[];this.noticeDomItems=[],$8.selectedNoticeItems=this.noticeDomItems,c.reverse().forEach(e=>{this.createItem(e)}),null==(o=this.shadowRoot)||o.dispatchEvent(new Event("contentChanged")),this.noticeCount=c.length,this.requestUpdate("noticeCount"),null==(s=this.Modal)||s.setLoading(!1)})}updateSelections(e){for(let t=0;t<this.noticeDomItems.length;t++)e?this.noticeDomItems[t].listItem.selected=this.noticeDomItems[t].accordionItem.selected:this.noticeDomItems[t].accordionItem.selected=this.noticeDomItems[t].listItem.selected}createAccordionItem(e,t){var r;const n=new t6;n.selected=this.allSelected,n.item.selected=this.allSelected,n.item.price=e.price,n.item.properties=$8.getPropertyValues(this.noticeValues,t),n.item.image=e.image,n.item.programName=e.programName,n.item.program=e.program,n.item.manufacturer=e.manufacturer,n.item.id=e.cloudId,n.item.rawProperties=Object.assign(t),n.addEventListener("open-planning",e=>{this.openPlanning(e.detail)}),n.addEventListener("onselectionchange",e=>{this.allSelected=this.noticeDomItems.every(e=>e.accordionItem.selected),this.updateSelections(!0),this.requestUpdate()});const i=Object.keys(t);return this.noticeValues.forEach(e=>{const r=Object.assign(document.createElement("div"),{className:"title-text"}),o=Object.assign(document.createElement("div"),{className:"value-text"});e.properties.forEach(e=>{const r=new RegExp(""+e),n=i.find(e=>r.test(e));n&&o.append(Object.assign(document.createElement("span"),{textContent:`${t[n].title}: ${t[n].name}`}))});const s=Object.assign(document.createElement("div"),{className:"content-div"});s.append(r,o),n.append(s),r.setAttribute("i18n",e.title)}),null==(r=this.accordionComponent)||r.append(n),n}createListItem(e,t){const r=new u6;return r.selected=this.allSelected,r.item.price=e.price,r.hidePrice=this.hidePrice,r.item.properties=$8.getPropertyValues(this.noticeValues,t),r.item.image=e.image,r.item.programName=e.programName,r.item.program=e.program,r.item.manufacturer=e.manufacturer,r.item.id=e.cloudId,r.slot="content",r.addEventListener("open-planning",e=>{this.openPlanning(e.detail)}),r.addEventListener("onselectionchange",e=>{this.allSelected=this.noticeDomItems.every(e=>e.listItem.selected),this.updateSelections(!1),this.requestUpdate()}),this.append(r),r}createItem(e){const t=$8.getProperties(e),r={accordionItem:this.createAccordionItem(e,t),listItem:this.createListItem(e,t)};this.noticeDomItems.push(r)}openPlanning(e){return v6(this,null,function*(){const t=document.querySelector("fv-loading-modal");null==t||t.show(),this.hide(!0),yield wL.setManuProg(e.manufacturer,e.manufacturer,e.program),yield CommunicationMessageService.openCloudId(e.id),null==t||t.hide(!1,!0)})}show(){var e=e=>super[e];return v6(this,null,function*(){var t;this.noticeValues.forEach(e=>{const t=document.createElement("th");t.slot="header",this.append(t),t.setAttribute("i18n",e.title)}),null==(t=this.shadowRoot)||t.dispatchEvent(new Event("headerChanged")),e("show").call(this)})}removeNotice(){return v6(this,null,function*(){var e,t;const r=new URL(window.location.href).searchParams.get("a"),n=yield h6.get(),i=h6.has()?n||[]:c6.get("currentSceneSettings_"+r)||[];for(let r=this.noticeDomItems.length-1;r>=0;r--){const n=this.noticeDomItems[r];if(n.listItem.selected){const o=i.findIndex(e=>e.cloudId===n.listItem.item.id);-1!==o&&(h6.has()&&(yield h6.remove(i[o].id)),i.splice(o,1)),null==(e=n.listItem.parentElement)||e.removeChild(n.listItem),null==(t=this.accordionComponent)||t.removeChild(n.accordionItem),this.noticeDomItems.splice(r,1)}}this.noticeCount=i.length,h6.has()||c6.update("currentSceneSettings_"+r,i),this.requestUpdate("noticeCount")})}build(e=Zk``){const t={"notice-empty":!0,hidden:this.noticeCount>0},r={"mobile-accordion":!0,hidden:0===this.noticeCount};return Zk`
+<!--            <fv-loading class="loading"></fv-loading>-->
+            <div class="notice-header">
+                <span>
+                    <span i18n="modal.notice.head-text"></span>
+                    ${h6.has()?Zk`(<span class="notice-count">${this.noticeCount}</span>)`:Zk`
+(<span class="notice-count">${this.noticeCount}</span>/<span
+                        class="max-notice">${this.maxNoticeCount}</span>)
+`}
+                </span>
+            </div>
+            <div class="notice-list">
+                <fv-checkbox class="select-all only-mobile" i18n="modal.notice.select_all" .checked="${this.allSelected}"></fv-checkbox>
+                <fv-accordion style="--open-planning-image: ${tL.getVar(this,"--open-planning-image")||""}" class="${KT(r)}"></fv-accordion>
+                <table class="only-desktop">
+                    <thead>
+                        <tr>
+                            <th>
+                                <fv-checkbox class="select-all" .checked="${this.allSelected}"></fv-checkbox>
+                            </th>
+                            <th i18n="modal.notice.header.model" id="model-cell"></th>
+                            <th i18n="modal.notice.header.price" id="price-cell"></th>
+                            <th></th>
+                        </tr>
+                    </thead>
+                    <tbody>
+
+                    </tbody>
+                </table>
+                <div class="${KT(t)}">
+                    <span i18n="modal.notice.text.empty"></span>
+                </div>
+            </div>
+            <div class="notice-footer">
+                <div class="text-line">
+                    <div class="left-text">${tL.getVar(this,"--open-planning-image")?Zk`<img src="${tL.getVar(this,"--open-planning-image")}">`:Zk`<i class="icon fv-icon-folder"></i>`}<span i18n="modal.notice.text.left"></span></div>
+                    <div class="right-text only-desktop" i18n="modal.notice.text.right"></div>
+                    <div class="right-text only-mobile" i18n="modal.notice.header.price"></div>
+                </div>
+                <fv-separator class="horizontal"></fv-separator>
+                <div class="bottom-line">
+                    <fv-checkbox class="select-all only-desktop" i18n="modal.notice.select_all" .checked="${this.allSelected}"></fv-checkbox>
+                    <div class="notice-buttons">
+                        <fv-button part="remove_button" @click="${this.removeNotice}" i18n="modal.notice.remove_button" .disabled="${0===this.noticeCount}"></fv-button>
+                        <fv-button part="submit_button" i18n="modal.notice.submit" .disabled="${0===this.noticeCount}"></fv-button>
+                    </div>
+                </div>
+            </div>
+        `}};b6.styles=[((e,t)=>g6(_6(e),t,e))(b6,"styles")||[],$k`${yk(l6)}`],f6([lk()],b6.prototype,"noticeValues",2),f6([lk({type:Boolean,attribute:"hide-price",reflect:!0})],b6.prototype,"hidePrice",2),f6([hk(".select-all")],b6.prototype,"selectAllCheckboxes",2),f6([dk(".mobile-accordion")],b6.prototype,"accordionComponent",2),f6([dk("tbody")],b6.prototype,"tableBody",2),f6([dk("#price-cell")],b6.prototype,"priceCell",2),b6=f6([sk("fv-notice-list-mask")],b6);var y6=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{background-color:#f4f4f4;border-bottom:1px solid #bfbfbf;display:block;height:130px;line-height:25px;overflow:hidden;width:fit-content}:host .item-content{display:inline-flex;height:100%;overflow:hidden;white-space:pre-line}:host .item-checkbox{display:flex;justify-content:center;width:50px}:host .model{align-items:center;display:inline-flex;width:320px}:host .model .model-image{display:flex;margin:0 24px 0 0}:host .model .model-image img{width:128px}:host .items{align-items:center;display:inline-flex}:host .items .item{width:200px}:host .price{align-items:center;display:flex;width:200px}:host .open-planning{align-items:center;display:inline-flex;height:100%;justify-content:center;width:auto}:host .open-planning i,:host .open-planning img{height:42px;margin:0 30px;width:42px}:host .open-planning i{display:flex;place-content:center;place-items:center;place-self:center}`,$6=Object.defineProperty,x6=Object.getOwnPropertyDescriptor,S6=Object.getPrototypeOf,w6=Reflect.get,A6=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?x6(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&$6(t,r,o),o};let C6=class extends FT{constructor(){super(),this.selected=!1,this.item={properties:[],id:"",selected:!1,program:"",manufacturer:""}}firstUpdated(e){super.firstUpdated(e),this.selectionCheckbox&&(this.selectionCheckbox.onChange=(e,t)=>{this.selected=t.checked,this.requestUpdate(),this.updateComplete.then(()=>{this.dispatchEvent(new CustomEvent("onselectionchange",{}))})})}renderItems(){return Zk`${this.item.properties.map(e=>{const t=document.createElement("div");if(t.classList.add("item"),e)for(const r of e.propertyValues)if(r){t.appendChild(Object.assign(document.createElement("div"),{textContent:`${r.title}: ${r.name}`})).classList.add("item-value")}return t})}
+        `}openPlanning(){this.dispatchEvent(new CustomEvent("open-planning",{detail:this.item,bubbles:!0}))}render(e=Zk``){return Zk`
+            <div class="item-content">
+                <div class="item-checkbox">
+                <fv-checkbox class="checkbox" .checked="${this.selected}"></fv-checkbox>
+                </div>
+                <div class="model">
+                <div class="model-image">
+                    <img src="${this.item.image}">
+                </div>
+                <div class="model-text">${this.item.programName}</div>
+                </div>
+                <div class="items">${this.renderItems()}</div>
+                <div class="price">${this.item.price}</div>
+                <div class="open-planning">
+                ${tL.getVar(this.parentElement,"--open-planning-image")?Zk`<img src="${tL.getVar(this.parentElement,"--open-planning-image")}" @click=${this.openPlanning}>`:Zk`<i class="icon fv-icon-folder" @click=${this.openPlanning}></i>`}
+                </div>
+            </div>
+        `}};C6.styles=[((e,t)=>w6(S6(e),t,e))(C6,"styles")||[],$k`${yk(y6)}`],A6([lk({type:Boolean,reflect:!0})],C6.prototype,"selected",2),A6([dk(".checkbox")],C6.prototype,"selectionCheckbox",2),C6=A6([sk("fv-notice-list-item")],C6);var E6=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}@media (width >= 980px){:host>.content>.request-header{font-size:35px;line-height:42px;margin:40px 0;text-align:center}:host>.content .request-content{grid-template-columns:1fr .5fr;grid-template-rows:1fr;margin:0 0 0 130px}:host>.content .request-carousel{display:flex}:host>.content .request-carousel fv-notice-carousel{margin:auto}:host>.content .request-form>label{font-size:20px}:host>.content .request-form .request-form-content{flex:1}:host>.content .request-form .request-form-content .row{flex:1;flex-direction:row;gap:20px}:host>.content .request-form .bottom-row{flex:0.5}}@media (width <= 980px){:host{font-size:14px;line-height:12px}:host>.content>.request-header{font-size:20px;line-height:26px;margin:0 10px;text-align:center}:host>.content .request-content{grid-template-columns:1fr;grid-template-rows:auto auto}:host>.content .request-form{margin:0 10px}:host>.content .request-form>label{font-size:16px}:host>.content .request-form .request-form-content{flex:none}:host>.content .request-form .request-form-content .row{flex:none;flex-direction:column}:host>.content .request-form .request-form-content .row.inline{flex:1;flex-direction:row;gap:20px}:host>.content .request-form .request-form-content .column{margin-bottom:10px}:host>.content .request-form .bottom-row{flex:none}}:host{display:none}:host>.footer{border-top:1px solid #bfbfbf;display:flex;justify-content:end}:host>.footer fv-button{--fv-button-host-margin:11px;--button-margin:auto;--button-span-margin:auto}:host>.footer fv-button::part(button){display:flex;place-items:center}:host>.content{display:grid;grid-template-columns:1fr;grid-template-rows:auto 1fr auto;justify-content:center;line-height:25px;overflow-x:hidden;overflow-y:auto}:host>.content .request-content{display:grid}:host>.content .request-form{display:flex;flex-direction:column}:host>.content .request-form .request-form-content{display:flex;flex-direction:column}:host>.content .request-form .request-form-content .row{display:flex;margin:auto 0}:host>.content .request-form .request-form-content .row .column{display:flex;flex:1;flex-direction:column}:host>.content .request-form .request-form-content .row .column>*{margin:auto 0}:host>.content .request-form>label{margin:15px 0}:host>.content .request-form .bottom-row{display:flex;flex:0.5;flex-direction:column}:host>.content .request-form .bottom-row fv-checkbox{margin:auto 0}:host>.content .request-form .bottom-row fv-button{margin:auto 0;width:min-content}:host>.content .request-form .bottom-row fv-button i{display:flex;margin-right:16px}:host([active]){display:grid;grid-template-rows:1fr 60px}:host([prevent-notice-carousel])>.content .request-content{grid-template-columns:1fr;margin-right:130px}`,I6=Object.defineProperty,M6=Object.getOwnPropertyDescriptor,k6=Object.getPrototypeOf,T6=Reflect.get,R6=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?M6(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&I6(t,r,o),o};let L6=class extends DW{constructor(){super(),this.privacyPolicy="#",this.name="",this.surname="",this.street="",this.town="",this.postCode="",this.email="",this.policySelected=!1,this.preventNoticeCarousel=!1,this.hideNoticeCarouselPrice=!1,this.noticeValues=[],this.mask="customer-request-modal",this.templateName=""}show(){super.show(),this.noticeCarousel&&this.noticeValues&&this.noticeValues.length>0&&(this.noticeCarousel.noticeValues=this.noticeValues,this.noticeCarousel.updateItems(this.maskData.onlyCurrent))}hide(e=!1){var t;super.hide(e),null==(t=this.noticeCarousel)||t.requestResetOfCurrentItem()}onSubmit(){return e=this,t=null,r=function*(){var e,t,r;yield RequestHelperService.fetchConfiguration();const n=null==(t=null==(e=this.noticeCarousel)?void 0:e.items)?void 0:t.map(e=>({id:e.id,image:e.image,price:e.price,programName:e.programName})),i=window.ConstructionService&&window.ConstructionService.CustomMailService?window.ConstructionService.CustomMailService:void 0;null==n||n.forEach(e=>{const t=[{key:"PRICE",value:e.price},{key:"CODE",value:e.id},{key:"name",value:this.name},{key:"surname",value:this.surname},{key:"email",value:this.email},{key:"street",value:this.street},{key:"town",value:this.town},{key:"postCode",value:this.postCode},{key:"PNG_STRING",value:e.image},{key:"category",value:window.selectedProgram?window.selectedProgram.category:window.g_article.level1},{key:"model",value:window.selectedProgram?window.selectedProgram.level:window.g_article.level2?window.g_article.level2:window.g_article.level1}];window.dispatchEvent(new CustomEvent("onSendMail",{detail:{name:this.templateName,values:t,cloudIds:[e.id],customMailService:i||void 0,to:this.email,buyingGroup:window.g_configuration.furnplan_article_url_configurator_verband}}))}),null==(r=this.noticeCarousel)||r.requestResetOfCurrentItem()},new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});var e,t,r}onPolicyCheckboxClicked(e){e.cancelBubble=!0,e.stopPropagation()}valuesChanged(e){var t,r,n,i,o,s;this.name=(null==(t=this.nameInput)?void 0:t.value)||"",this.surname=(null==(r=this.surnameInput)?void 0:r.value)||"",this.email=(null==(n=this.emailInput)?void 0:n.value)||"",this.street=(null==(i=this.streetInput)?void 0:i.value)||"",this.town=(null==(o=this.townInput)?void 0:o.value)||"",this.postCode=(null==(s=this.postCodeInput)?void 0:s.value)||"",this.submitButtons&&this.submitButtons.length>0&&this.submitButtons.forEach(e=>{var t;e.disabled=!this.validate()||!(null==(t=this.policyCheckbox)?void 0:t.checked)}),this.requestUpdate()}validate(){return!!(this.name&&this.surname&&this.email&&/^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/.test(this.email))}firstUpdated(e){super.firstUpdated(e),this.policyCheckbox&&(this.policyCheckbox.onChange=(e,t)=>{this.submitButtons&&this.submitButtons.length>0&&this.submitButtons.forEach(e=>{var t;e.disabled=!this.validate()||!(null==(t=this.policyCheckbox)?void 0:t.checked)}),this.requestUpdate()})}build(e=Zk``){return Zk`
+            <div class="content">
+
+                <div class="request-header">
+                    <span>
+                        <span i18n="fv.modal.finish.header">Ihre Wunschplanung</span>
+                    </span>
+                </div>
+                <div class="request-content">
+                    <div class="request-form">
+                        <label i18n="fv.modal.finish.form.title">Konfiguration und Artikelliste per E-Mail
+                            senden</label>
+                        <div class="request-form-content">
+                            <div class="row">
+                                <div class="column">
+                                    <label>Name*</label>
+                                    <fv-input id="nameInput" @change="${this.valuesChanged}"
+                                              .value="${this.name}"></fv-input>
+                                </div>
+                                <div class="column">
+                                    <label>Vorname*</label>
+                                    <fv-input id="surnameInput" @change="${this.valuesChanged}"
+                                              .value="${this.surname}"></fv-input>
+                                </div>
+                            </div>
+                            <div class="row">
+                                <div class="column">
+                                    <label>E-Mail*</label>
+                                    <fv-input id="emailInput" @change="${this.valuesChanged}"
+                                              .value="${this.email}"></fv-input>
+                                </div>
+                            </div>
+                            <div class="row">
+                                <div class="column">
+                                    <label>Straße</label>
+                                    <fv-input id="streetInput" @change="${this.valuesChanged}"
+                                              .value="${this.street}"></fv-input>
+                                </div>
+                            </div>
+                            <div class="row inline">
+                                <div class="column">
+                                    <label>PLZ</label>
+                                    <fv-input id="postCodeInput" @change="${this.valuesChanged}"
+                                              .value="${this.postCode}"></fv-input>
+                                </div>
+                                <div class="column">
+                                    <label>Ort</label>
+                                    <fv-input id="townInput" @change="${this.valuesChanged}"
+                                              .value="${this.town}"></fv-input>
+                                </div>
+                            </div>
+                        </div>
+                        <div class="bottom-row">
+                            <fv-checkbox id="policyCheckbox" .checked="${this.policySelected}"
+                                         @click="${this.onPolicyCheckboxClicked}">
+                                <span i18n="fv.modal.finish.checkbox.prefix">Ich habe die </span><a
+                                    i18n="fv.modal.finish.checkbox.policy" href="${this.privacyPolicy}" target="_blank">Datenschutzerklärung</a><span
+                                    i18n="fv.modal.finish.checkbox.suffix"> gelesen und stimme dieser zu.</span>
+                            </fv-checkbox>
+                            <fv-button part="submit_button" class="submitButton bordered only-desktop" disabled
+                                       @click="${this.onSubmit}"><i
+                                    class="fv-icon-arrow mirrored"></i><span i18n="fv.modal.finish.button">Senden</span>
+                            </fv-button>
+                        </div>
+
+                    </div>
+                    ${this.preventNoticeCarousel?Zk``:Zk`
+                        <div class="request-carousel">
+                            <fv-notice-carousel ?hide-price="${this.hideNoticeCarouselPrice}"></fv-notice-carousel>
+                        </div>
+                    `}
+                </div>
+            </div>
+            <div class="only-mobile footer">
+                <fv-button part="submit_button" class="submitButton bordered" disabled @click="${this.onSubmit}"><i
+                        class="fv-icon-arrow mirrored"></i><span i18n="fv.modal.finish.button">Senden</span>
+                </fv-button>
+            </div>
+        `}};L6.styles=[((e,t)=>T6(k6(e),t,e))(L6,"styles")||[],$k`${yk(E6)}`],R6([dk("fv-notice-carousel")],L6.prototype,"noticeCarousel",2),R6([dk("#policyCheckbox")],L6.prototype,"policyCheckbox",2),R6([hk(".submitButton")],L6.prototype,"submitButtons",2),R6([dk("#nameInput")],L6.prototype,"nameInput",2),R6([dk("#surnameInput")],L6.prototype,"surnameInput",2),R6([dk("#streetInput")],L6.prototype,"streetInput",2),R6([dk("#townInput")],L6.prototype,"townInput",2),R6([dk("#postCodeInput")],L6.prototype,"postCodeInput",2),R6([dk("#emailInput")],L6.prototype,"emailInput",2),R6([lk({type:String})],L6.prototype,"privacyPolicy",2),R6([lk({type:String})],L6.prototype,"name",2),R6([lk({type:String})],L6.prototype,"surname",2),R6([lk({type:String})],L6.prototype,"street",2),R6([lk({type:String})],L6.prototype,"town",2),R6([lk({type:String})],L6.prototype,"postCode",2),R6([lk({type:String})],L6.prototype,"email",2),R6([lk({type:Boolean})],L6.prototype,"policySelected",2),R6([lk({type:Boolean,attribute:"prevent-notice-carousel",reflect:!0})],L6.prototype,"preventNoticeCarousel",2),R6([lk({type:Boolean,attribute:"hide-notice-carousel-price",reflect:!0})],L6.prototype,"hideNoticeCarouselPrice",2),R6([lk()],L6.prototype,"noticeValues",2),R6([lk()],L6.prototype,"templateName",2),L6=R6([sk("fv-request-modal-mask")],L6);var P6=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{background:var(--cloud-id-display-background,transparent);border:var(--cloud-id-display-border,unset);box-shadow:var(--cloud-id-box-shadow,unset);margin:var(--cloud-id-display-margin,unset)}:host .container{background-color:inherit!important;color:var(--cloud-id-display-color,unset);flex-direction:column;padding:var(--cloud-id-display-padding,unset)}:host .container .message{font-family:var(--cloud-id-display-message-font-family,unset);font-size:var(--cloud-id-display-message-font-size,unset);font-weight:var(--cloud-id-display-message-font-weight,unset);line-height:var(--cloud-id-display-message-line-height,unset);padding:var(--cloud-id-display-message-padding,unset);text-align:var(--cloud-id-display-message-text-align,center);width:100%}:host .container .cloud-id{font-family:var(--cloud-id-display-cloud-id-font-family,unset);font-size:var(--cloud-id-display-cloud-id-font-size,unset);font-weight:var(--cloud-id-display-cloud-id-font-weight,unset);line-height:var(--cloud-id-display-cloud-id-line-height,unset);padding:var(--cloud-id-display-cloud-id-padding,unset);text-align:var(--cloud-id-display-cloud-id-text-align,center);user-select:all;width:100%}:host .container .loader-container{align-items:center;display:flex;height:var(--cloud-id-display-cloud-id-line-height,unset);justify-content:center;line-height:var(--cloud-id-display-cloud-id-line-height,unset);width:100%}`,D6=Object.defineProperty,N6=Object.getOwnPropertyDescriptor,F6=Object.getPrototypeOf,O6=Reflect.get,B6=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?N6(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&D6(t,r,o),o},U6=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});let V6=class extends FT{constructor(){super(),this.cloudid="",this.loading=!0,this.custom=!1,this.printPromise=void 0,console.warn("deprecation warning! Please replace fv-cloud-id-display width fv-cloud-id!!"),this.addHideStateUpdatedEventListener(e=>{0==e&&this.showCloudId()})}showCloudId(){return U6(this,null,function*(){if(null==this.printPromise){this.showLoader(),this.printPromise=this.custom?CommunicationMessageService.printCustomPDF():CommunicationMessageService.printPDF();const e=yield this.printPromise;this.cloudid=e.cloudId?e.cloudId:"",this.loading=!1,this.requestUpdate(),this.printPromise=void 0}})}showLoader(){return U6(this,null,function*(){this.loading=!0,this.cloudid="",this.requestUpdate()})}render(){return Zk`
+            <div class="container">
+                <div class="message" i18n="cloud.id.display.component.text"></div>
+                ${this.cloudid&&this.cloudid.length>0?Zk`<div class="cloud-id">${this.cloudid}</div>`:Zk``}
+                ${this.loading?Zk`<div class="loader-container"><slot name="loader"></slot></div>`:Zk``}
+            </div>
+        `}};V6.styles=[((e,t)=>O6(F6(e),t,e))(V6,"styles")||[],$k`${yk(P6)}`],B6([lk({type:Boolean,reflect:!0,attribute:"custom"})],V6.prototype,"custom",2),V6=B6([sk("fv-cloud-id-display")],V6);var z6=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{align-content:var(--flex-container-align-content,unset);align-items:var(--flex-container-align-items,unset);background:var(--flex-container-background,initial);border:var(--flex-container-border,initial);border-radius:var(--flex-container-border-radius,initial);display:flex;flex:var(--flex-container-flex,initial);flex-direction:var(--flex-container-direction,unset);flex-wrap:var(--flex-container-flex-wrap,unset);gap:var(--flex-container-gap,unset);height:var(--flex-container-height,unset);justify-content:var(--flex-container-justify-content,unset);margin:var(--flex-container-margin,unset);max-height:var(--flex-container-max-height,unset);max-width:var(--flex-container-max-width,unset);overflow:var(--flex-container-overflow,unset);padding:var(--flex-container-padding,unset);width:var(--flex-container-width,unset);z-index:var(--flex-container-z-index,initial)}:host(.hide-scrollbar){scrollbar-width:none;-ms-scrollbar-width:none}:host(.hide-scrollbar)::-webkit-scrollbar{display:none}:host(.hidden){display:none}:host(.relative-position){position:relative}:host(.fixed-position){bottom:var(--flex-container-fixed-position-bottom,unset);left:var(--flex-container-fixed-position-left,unset);position:absolute;right:var(--flex-container-fixed-position-right,unset);top:var(--flex-container-fixed-position-top,unset)}@media (width <= 520px){:host{align-content:var(--flex-container-mobile-align-content,var(--flex-container-align-content,unset));align-items:var(--flex-container-mobile-align-items,var(--flex-container-align-items,unset));flex-direction:var(--flex-container-mobile-direction,var(--flex-container-direction,unset));flex-wrap:var(--flex-container-mobile-flex-wrap,var(--flex-container-flex-wrap,unset));gap:var(--flex-container-mobile-gap,var(--flex-container-gap,unset));height:var(--flex-container-mobile-height,var(--flex-container-height,unset));justify-content:var(--flex-container-mobile-justify-content,var(--flex-container-justify-content,unset));margin:var(--flex-container-mobile-margin,var(--flex-container-margin,unset));max-height:var(--flex-container-mobile-max-height,var(--flex-container-max-height,unset));max-width:var(--flex-container-mobile-max-width,var(--flex-container-max-width,unset));overflow:var(--flex-container-mobile-overflow,var(--flex-container-overflow,unset));padding:var(--flex-container-mobile-padding,var(--flex-container-padding,unset));width:var(--flex-container-mobile-width,var(--flex-container-width,unset))}:host(.fixed-position){bottom:var(--flex-container-mobile-fixed-position-bottom,var(--flex-container-fixed-position-bottom,unset));left:var(--flex-container-mobile-fixed-position-left,var(--flex-container-fixed-position-left,unset));right:var(--flex-container-mobile-fixed-position-right,var(--flex-container-fixed-position-right,unset));top:var(--flex-container-mobile-fixed-position-top,var(--flex-container-fixed-position-top,unset))}}@media (width >= 520px) and (width <= 980px){:host{align-content:var(--flex-container-mobile-align-content,var(--flex-container-align-content,unset));align-items:var(--flex-container-mobile-align-items,var(--flex-container-align-items,unset));flex-direction:var(--flex-container-mobile-direction,var(--flex-container-direction,unset));flex-wrap:var(--flex-container-mobile-flex-wrap,var(--flex-container-flex-wrap,unset));gap:var(--flex-container-mobile-gap,var(--flex-container-gap,unset));height:var(--flex-container-mobile-height,var(--flex-container-height,unset));justify-content:var(--flex-container-mobile-justify-content,var(--flex-container-justify-content,unset));margin:var(--flex-container-mobile-margin,var(--flex-container-margin,unset));max-height:var(--flex-container-mobile-max-height,var(--flex-container-max-height,unset));max-width:var(--flex-container-mobile-max-width,var(--flex-container-max-width,unset));overflow:var(--flex-container-mobile-overflow,var(--flex-container-overflow,unset));padding:var(--flex-container-mobile-padding,var(--flex-container-padding,unset));width:var(--flex-container-mobile-width,var(--flex-container-width,unset))}:host(.fixed-position){bottom:var(--flex-container-mobile-fixed-position-bottom,var(--flex-container-fixed-position-bottom,unset));left:var(--flex-container-mobile-fixed-position-left,var(--flex-container-fixed-position-left,unset));right:var(--flex-container-mobile-fixed-position-right,var(--flex-container-fixed-position-right,unset));top:var(--flex-container-mobile-fixed-position-top,var(--flex-container-fixed-position-top,unset))}}`,H6=Object.defineProperty,G6=Object.getOwnPropertyDescriptor,j6=Object.getPrototypeOf,J6=Reflect.get;let W6=class extends RL{constructor(){super()}render(){return Zk`<slot></slot>`}};W6.styles=[((e,t)=>J6(j6(e),t,e))(W6,"styles")||[],$k`${yk(z6)}`],W6=((e,t,r,n)=>{for(var i,o=n>1?void 0:n?G6(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&H6(t,r,o),o})([sk("fv-flex-container")],W6);var Q6=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{align-items:var(--grid-container-align-items,unset);display:grid;flex:var(--grid-container-flex,initial);gap:var(--grid-container-gap,unset);grid-template-columns:var(--grid-container-template-columns,unset);grid-template-rows:var(--grid-container-template-rows,unset);padding:var(--grid-container-padding,unset)}@media (width <= 520px){:host{gap:var(--grid-container-mobile-gap,var(--grid-container-gap,unset));grid-template-columns:var(--grid-container-mobile-template-columns,var(--grid-container-template-columns,unset));grid-template-rows:var(--grid-container-mobile-template-rows,var(--grid-container-template-rows,unset));padding:var(--grid-container-mobile-padding,var(--grid-container-padding,unset))}}@media (width >= 520px) and (width <= 980px){:host{gap:var(--grid-container-mobile-gap,var(--grid-container-gap,unset));grid-template-columns:var(--grid-container-mobile-template-columns,var(--grid-container-template-columns,unset));grid-template-rows:var(--grid-container-mobile-template-rows,var(--grid-container-template-rows,unset));padding:var(--grid-container-mobile-padding,var(--grid-container-padding,unset))}}`,q6=Object.defineProperty,Y6=Object.getOwnPropertyDescriptor,X6=Object.getPrototypeOf,K6=Reflect.get;let Z6=class extends FT{constructor(){super()}render(){return Zk`<slot></slot>`}};Z6.styles=[((e,t)=>K6(X6(e),t,e))(Z6,"styles")||[],$k`${yk(Q6)}`],Z6=((e,t,r,n)=>{for(var i,o=n>1?void 0:n?Y6(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&q6(t,r,o),o})([sk("fv-grid-container")],Z6);var e7=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{display:var(--container-display,initial);flex:var(--container-flex,initial);height:var(--container-height,initial);overflow:var(--container-overflow,initial)}:host(.hide-scrollbar){scrollbar-width:none;-ms-scrollbar-width:none}:host(.hide-scrollbar)::-webkit-scrollbar{display:none}`,t7=Object.defineProperty,r7=Object.getOwnPropertyDescriptor,n7=Object.getPrototypeOf,i7=Reflect.get;let o7=class extends FT{constructor(){super()}render(){return Zk`<slot></slot>`}};o7.styles=[((e,t)=>i7(n7(e),t,e))(o7,"styles")||[],$k`${yk(e7)}`],o7=((e,t,r,n)=>{for(var i,o=n>1?void 0:n?r7(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&t7(t,r,o),o})([sk("fv-container")],o7);var s7=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{display:var(--container-display,initial);flex:var(--container-flex,initial);height:var(--container-height,initial);overflow:var(--container-overflow,auto)}:host(.hide-scrollbar){scrollbar-width:none;-ms-scrollbar-width:none}:host(.hide-scrollbar)::-webkit-scrollbar{display:none}`,a7=Object.defineProperty,l7=Object.getOwnPropertyDescriptor,c7=Object.getPrototypeOf,u7=Reflect.get;let d7=class extends FT{constructor(){super(),this._scrollableParent=void 0,this._scrollPosition=0,this.addEventListener("willupdate",e=>{null!=e.detail&&this._willupdate()}),this.addEventListener("updated",e=>{null!=e.detail&&this._updated(e.detail)})}_willupdate(){null!=this.ScrollableParent&&(this._scrollPosition=this.ScrollableParent.scrollTop)}_updated(e){return t=this,r=null,n=function*(){null!=this.ScrollableParent&&(e instanceof ZJ&&(yield e.CheckFetchPromise()),e instanceof FT&&(yield e.updateComplete),this.ScrollableParent.scrollTop=this._scrollPosition)},new Promise((e,i)=>{var o=e=>{try{a(n.next(e))}catch(e){i(e)}},s=e=>{try{a(n.throw(e))}catch(e){i(e)}},a=t=>t.done?e(t.value):Promise.resolve(t.value).then(o,s);a((n=n.apply(t,r)).next())});var t,r,n}render(){return Zk`<slot></slot>`}get ScrollableParent(){return null!=this._scrollableParent?this._scrollableParent:(this._scrollableParent=yT.findScrollableParent(this),null!=this._scrollableParent?this._scrollableParent:void 0)}willUpdate(e){super.willUpdate(e),this._willupdate()}updated(e){super.updated(e),null!=this.ScrollableParent&&this._updated(this)}};d7.styles=[((e,t)=>u7(c7(e),t,e))(d7,"styles")||[],$k`${yk(s7)}`],d7=((e,t,r,n)=>{for(var i,o=n>1?void 0:n?l7(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&a7(t,r,o),o})([sk("fv-scroll-aware-container")],d7);var h7,p7,m7,_7,g7=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{height:var(--container-animation-height,var(--container-height,initial));overflow:hidden!important}`;(p7=h7||(h7={})).SINE="SINE",p7.QUAD="QUAD",p7.CUBIC="CUBIC",p7.QUART="QUART",p7.QUINT="QUINT",p7.EXPONENTIAL="EXPO",p7.CIRCULAR="CIRC",p7.BACK="BACK",p7.ELASTIC="ELASTIC",p7.BOUNCE="BOUNCE",(_7=m7||(m7={})).OUT="OUT",_7.IN="IN",_7.INOUT="INOUT";const f7=new class{apply(e,t,r,n,i){switch(e){case m7.IN:return r(t);case m7.OUT:return n(t);case m7.INOUT:return i(t);default:return 0}}Apply(e,t,r){switch(e){case h7.BACK:return this.apply(t,r,this.EaseInBack,this.EaseOutBack,this.EaseInOutBack);case h7.BOUNCE:return this.apply(t,r,this.EaseInBounce,this.EaseOutBounce,this.EaseInOutBounce);case h7.CIRCULAR:return this.apply(t,r,this.EaseInCirc,this.EaseOutCirc,this.EaseInOutCirc);case h7.CUBIC:return this.apply(t,r,this.EaseInCubic,this.EaseOutCubic,this.EaseInOutCubic);case h7.ELASTIC:return this.apply(t,r,this.EaseInElastic,this.EaseOutElastic,this.EaseInOutElastic);case h7.EXPONENTIAL:return this.apply(t,r,this.EaseInExpo,this.EaseOutExpo,this.EaseInOutExpo);case h7.QUAD:return this.apply(t,r,this.EaseInQuad,this.EaseOutQuad,this.EaseInOutQuad);case h7.QUART:return this.apply(t,r,this.EaseInQuart,this.EaseOutQuart,this.EaseInOutQuart);case h7.QUINT:return this.apply(t,r,this.EaseInQuint,this.EaseOutQuint,this.EaseInOutQuint);case h7.SINE:return this.apply(t,r,this.EaseInSine,this.EaseOutSine,this.EaseInOutSine);default:return 0}}EaseInSine(e){return 1-Math.cos(e*Math.PI/2)}EaseOutSine(e){return Math.sin(e*Math.PI/2)}EaseInOutSine(e){return-(Math.cos(Math.PI*e)-1)/2}EaseInQuad(e){return e*e}EaseOutQuad(e){return 1-(1-e)*(1-e)}EaseInOutQuad(e){return e<.5?2*e*e:1-Math.pow(-2*e+2,2)/2}EaseInCubic(e){return e*e*e}EaseOutCubic(e){return 1-Math.pow(1-e,3)}EaseInOutCubic(e){return e<.5?4*e*e*e:1-Math.pow(-2*e+2,3)/2}EaseInQuart(e){return e*e*e*e}EaseOutQuart(e){return 1-Math.pow(1-e,4)}EaseInOutQuart(e){return e<.5?8*e*e*e*e:1-Math.pow(-2*e+2,4)/2}EaseInQuint(e){return e*e*e*e*e}EaseOutQuint(e){return 1-Math.pow(1-e,5)}EaseInOutQuint(e){return e<.5?16*e*e*e*e*e:1-Math.pow(-2*e+2,5)/2}EaseInExpo(e){return 0===e?0:Math.pow(2,10*e-10)}EaseOutExpo(e){return 1===e?1:1-Math.pow(2,-10*e)}EaseInOutExpo(e){return 0===e?0:1===e?1:e<.5?Math.pow(2,20*e-10)/2:(2-Math.pow(2,-20*e+10))/2}EaseInCirc(e){return 1-Math.sqrt(1-Math.pow(e,2))}EaseOutCirc(e){return Math.sqrt(1-Math.pow(e-1,2))}EaseInOutCirc(e){return e<.5?(1-Math.sqrt(1-Math.pow(2*e,2)))/2:(Math.sqrt(1-Math.pow(-2*e+2,2))+1)/2}EaseInBack(e){const t=1.70158;return 2.70158*e*e*e-t*e*e}EaseOutBack(e){const t=1.70158;return 1+2.70158*Math.pow(e-1,3)+t*Math.pow(e-1,2)}EaseInOutBack(e){const t=2.5949095;return e<.5?Math.pow(2*e,2)*(7.189819*e-t)/2:(Math.pow(2*e-2,2)*((t+1)*(2*e-2)+t)+2)/2}EaseInElastic(e){const t=2*Math.PI/3;return 0===e?0:1===e?1:-Math.pow(2,10*e-10)*Math.sin((10*e-10.75)*t)}EaseOutElastic(e){const t=2*Math.PI/3;return 0===e?0:1===e?1:Math.pow(2,-10*e)*Math.sin((10*e-.75)*t)+1}EaseInOutElastic(e){const t=2*Math.PI/4.5;return 0===e?0:1===e?1:e<.5?-Math.pow(2,20*e-10)*Math.sin((20*e-11.125)*t)/2:Math.pow(2,-20*e+10)*Math.sin((20*e-11.125)*t)/2+1}EaseInBounce(e){return 1-this.EaseOutBounce(1-e)}EaseOutBounce(e){const t=7.5625,r=2.75;return e<1/r?t*e*e:e<2/r?t*(e-=1.5/r)*e+.75:e<2.5/r?t*(e-=2.25/r)*e+.9375:t*(e-=2.625/r)*e+.984375}EaseInOutBounce(e){return e<.5?(1-this.EaseOutBounce(1-2*e))/2:(1+this.EaseOutBounce(2*e-1))/2}};var v7=Object.defineProperty,b7=Object.getOwnPropertyDescriptor,y7=Object.getPrototypeOf,$7=Reflect.get;let x7=class extends FT{constructor(){super(),this._heightStyleWhileOpen="",this._heightValueBeforeAnimation=0,this._animationDuration=600,this._isAnimating=!1,this.hiddenClasses=["hidden-by-animation"]}static get observedAttributes(){return["class",...super.observedAttributes]}openCloseAnimation(e,t,r){let n;this._isAnimating=!0;const i=this.offsetHeight,o=e>i,s=a=>{n||(n=a);const l=a-n,c=f7.Apply(h7.CUBIC,m7.INOUT,Math.min(1,l/t)),u=o?i+c*(e-i):i-c*(i-e);this.style.height=u+"px",c<1?requestAnimationFrame(s):(this.style.height=r,this._isAnimating=!1)};requestAnimationFrame(s)}handleHeightChange(e,t){return r=this,n=null,i=function*(){const r=e.split(" "),n=t.split(" "),i=this.anyHiddenClassInArray(n),o=this.anyHiddenClassInArray(r);i!=o&&(i&&!o&&(this._isAnimating||(this._heightValueBeforeAnimation=this.offsetHeight,this._heightStyleWhileOpen=this.style.height),yield yT.waitForAllChildren(this),this.openCloseAnimation(0,this._animationDuration,"0px")),!i&&o&&(yield yT.waitForAllChildren(this),this.openCloseAnimation(this._heightValueBeforeAnimation,this._animationDuration,this._heightStyleWhileOpen),setTimeout(()=>{this.style.height=this._heightStyleWhileOpen},this._animationDuration)))},new Promise((e,t)=>{var o=e=>{try{a(i.next(e))}catch(e){t(e)}},s=e=>{try{a(i.throw(e))}catch(e){t(e)}},a=t=>t.done?e(t.value):Promise.resolve(t.value).then(o,s);a((i=i.apply(r,n)).next())});var r,n,i}updated(e){super.updated(e)}connectedCallback(){super.connectedCallback()}render(){return Zk`<slot></slot>`}attributeChangedCallback(e,t,r){super.attributeChangedCallback(e,t,r),"class"==e&&t&&r&&this.handleHeightChange(t,r)}};x7.styles=[((e,t)=>$7(y7(e),t,e))(x7,"styles")||[],$k`${yk(g7)}`],x7=((e,t,r,n)=>{for(var i,o=n>1?void 0:n?b7(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&v7(t,r,o),o})([sk("fv-animated-container")],x7);var S7=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{background-color:var(--scene-button-page-background-color,#fff);height:100%;position:absolute;width:100%;z-index:9999}:host .page .cancel-button{font-size:20px;height:1.5em;margin:.5em 1em 0 auto;width:1.5em}:host .page .cancel-button .close-symbol{display:block}`,w7=Object.defineProperty,A7=Object.getOwnPropertyDescriptor,C7=Object.getPrototypeOf,E7=Reflect.get,I7=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?A7(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&w7(t,r,o),o},M7=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});let k7=class extends FT{constructor(){super(),this.command="",this.openEvent=[],this.closeEvent=[],this.closeOnSceneClick=!1,this._active=!1,this._previousOwner=new Array,this._currentOwners=new Array,EventFactoryService.CustomIcon_ExecuteCustomEvent.register(e=>{var t;const r=e;r&&r.command===this.command&&this.openPage((null==(t=null==r?void 0:r.parameters)?void 0:t.instanceIdent)?r.parameters.instanceIdent:r.instanceIdent)})}closeOnClickNotOnPage(e){if(e.target!=this){for(const t in this.children)if(Object.prototype.hasOwnProperty.call(this.children,t)){const r=this.children[t];if(e.target==r)return}this.closePage()}}openPage(e){return M7(this,null,function*(){!0===this.hideElement&&(window.addEventListener("click",e=>{this._active&&this.closeOnClickNotOnPage(e)}),EventFactoryService.SelectionChanged.register(e=>M7(this,null,function*(){this._active&&!this.isSameSelection(e)&&this.closePage()})),this.closeOnSceneClick&&EventFactoryService.CameraOnStart.register(e=>{this._active&&this.closePage()}),this.hideElement=!1,this._active&&!this.isSameOwner(e)&&this.closePageAndClearOwners(),this._previousOwner=[],Array.isArray(e)?this._previousOwner.push(...e):this._previousOwner.push(e),yield CommunicationMessageService.getPlannedArticles(this._previousOwner).then(e=>{for(const t of e)this._currentOwners.push(t.guid)}),this.openPageAndNotifyOwners())})}closePage(){return M7(this,null,function*(){!1===this.hideElement&&(window.removeEventListener("click",e=>{this._active&&this.closeOnClickNotOnPage(e)}),EventFactoryService.SelectionChanged.unregister(e=>M7(this,null,function*(){this._active&&!this.isSameSelection(e)&&this.closePage()})),this.closeOnSceneClick&&EventFactoryService.CameraOnStart.unregister(e=>{this._active&&this.closePage()}),this.hideElement=!0,this.closePageAndClearOwners())})}openPageAndNotifyOwners(){this.triggerScenePageEvent("openscenebuttonpage",this.openEvent),this._active=!0}closePageAndClearOwners(){this.triggerScenePageEvent("closescenebuttonpage",this.closeEvent),pP.clearSelection(),this._active=!1,this._currentOwners=[]}triggerScenePageEvent(e,t){if(0!==t.length&&0!==this._currentOwners.length)for(const r of t){this.querySelectorAll(r["target-selector"]).forEach(t=>{const n={page:this,owners:this._currentOwners,value:r.event};t.dispatchEvent(new CustomEvent(e,{detail:n}))})}}isSameOwner(e){return Array.isArray(e)?e.every(e=>this._previousOwner.includes(e)):this._previousOwner.includes(e)}isSameSelection(e){if(0===(null==e?void 0:e.objectInfo.length))return!1;const t=e.objectInfo.map(e=>e.instanceIdent);return this.isSameOwner(t)}render(){return Zk`
+            <div class="page">
+                <div class="cancel-button" @click="${this.closePage}">
+                    <span class="close-symbol"></span>
+                </div>
+                <slot></slot>
+            </div>
+        `}};k7.styles=[((e,t)=>E7(C7(e),t,e))(k7,"styles")||[],$k`${yk(S7)}`],I7([lk({type:String,reflect:!0,attribute:"command"})],k7.prototype,"command",2),I7([lk({type:Object,reflect:!0,attribute:"open-event"})],k7.prototype,"openEvent",2),I7([lk({type:Object,reflect:!0,attribute:"close-event"})],k7.prototype,"closeEvent",2),I7([lk({type:Boolean,reflect:!0,attribute:"close-on-scene-click"})],k7.prototype,"closeOnSceneClick",2),k7=I7([sk("fv-scene-button-page")],k7);var T7=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}`,R7=Object.defineProperty,L7=Object.getOwnPropertyDescriptor,P7=Object.getPrototypeOf,D7=Reflect.get,N7=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?L7(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&R7(t,r,o),o};let F7=class extends FT{constructor(){super(),this.definition={}}static traverseDefinition(e,t,r){if(void 0===e)return;const n=Object.keys(e);for(const i of n){r(e[i],i,t)}}static createNodeElement(e,t,r){if(void 0===e)return;const n=document.createElement("div");n.classList.add("node");const i=document.createElement("slot");i.name=t,n.appendChild(i),F7.traverseDefinition(e.nodes,n,F7.createNodeElement),r.appendChild(n)}render(){const e=document.createElement("div");return e.classList.add("container"),F7.traverseDefinition(this.definition,e,F7.createNodeElement),Zk`${e}`}};F7.styles=[((e,t)=>D7(P7(e),t,e))(F7,"styles")||[],$k`${yk(T7)}`],N7([lk({type:Object,reflect:!0})],F7.prototype,"definition",2),F7=N7([sk("fv-layout")],F7);var O7=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host(.active){transform:rotate(var(--arrow-active-rotation,180deg))}:host{height:var(--arrow-component-height,100%);transform:rotate(var(--arrow-rotation,0deg));transition:var(--arrow-transition,all .4s linear);width:var(--arrow-component-width,100%)}:host .arrow{display:block;height:100%;position:relative;width:100%}:host .arrow svg{position:absolute}`,B7=Object.defineProperty,U7=Object.getOwnPropertyDescriptor,V7=Object.getPrototypeOf,z7=Reflect.get;let H7=class extends FT{constructor(){super()}render(){const e=getComputedStyle(this),t=e.getPropertyValue("--arrow-thickness"),r=e.getPropertyValue("--arrow-width"),n=e.getPropertyValue("--arrow-point-pos-x"),i=e.getPropertyValue("--arrow-point-pos-y"),o=e.getPropertyValue("--arrow-height"),s=e.getPropertyValue("--arrow-color");return Zk`
+            <div class="arrow">
+                <svg width="${r}px" height="${o}px" viewBox="0 0 ${r} ${o}" xml:space="preserve">
+                    <polyline 
+                        fill="none"
+                        stroke="${s}"
+                        stroke-width="${t}"
+                        stroke-linecap="round"
+                        stroke-linejoin="round"
+                        points="0,0 ${n},${i} ${r},0"
+                    />
+                </svg> 
+            </div>
+        `}};H7.styles=[((e,t)=>z7(V7(e),t,e))(H7,"styles")||[],$k`${yk(O7)}`],H7=((e,t,r,n)=>{for(var i,o=n>1?void 0:n?U7(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&B7(t,r,o),o})([sk("fv-arrow-component")],H7);var G7=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{display:block;height:100%}`,j7=Object.defineProperty,J7=Object.getOwnPropertyDescriptor,W7=Object.getPrototypeOf,Q7=Reflect.get,q7=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?J7(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&j7(t,r,o),o},Y7=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});class X7{constructor(){this.data=void 0}}class K7 extends X7{constructor(){super(...arguments),this.readDeferHelpers=new Map,this.ReadEvents=[]}Clear(){this.data=void 0}Read(e,t,r,n=!1){return Y7(this,null,function*(){var i;if(!1===n&&void 0!==this.data){const r=this.readDeferHelpers.get(e);null!=r&&(yield r);const n=this.data.get(e);if(void 0!==n&&t(n))return n}if(void 0===this.data&&(this.data=new Map),null==this.readDeferHelpers.get(e)){this.readDeferHelpers.set(e,B1()),n&&(this.data=new Map);const t=yield r();this.data.set(e,t),null==(i=this.readDeferHelpers.get(e))||i.resolve([!0]),this.readDeferHelpers.set(e,void 0);for(const e of this.ReadEvents)e(t);return t}yield this.readDeferHelpers.get(e);const o=this.data.get(e);if(void 0!==o&&t(o))return o})}RegisterReadEvent(e){this.ReadEvents.push(e)}}let Z7=class extends FT{constructor(){super(),this.optionTag="",this.optionsWrapperTag="",this.mobileOptionsWrapperTag="",this.types=[],this.filter=[],this.propertyFilterButtons=!1,this.propertyFilterButtonsLimitOneActive=!1,this.finishParamsFilterButtons=!1,this.finishParamsFilterLimitToOnePerPara=!1,this.selectedFilter="",this.articlesAreFittings=!1,this.program="",this.propTransfersDeleteable=!1,this.propTransferDeletesAll=!1,this.dimensionsFilterButtons=!1,this.dimensionsFilter={x:[],y:[],z:[]},this.dimensionsFilterUnit="cm",this.dimensionsFilterGroupValueRange=100,this.categoriesFilterButtons=!1,this.showDimensions=!1,this.categoriesButtonsFilter=[],this.removeButtonImg="",this.removeButtonIcon="",this.propertyUseRelevant=!1,this.titled=!1,this.refreshOnOptionClick=!1,this.postOptionClickEvents=[],this.optionsDraggable=!1,this.propertyModifyComponent={click:!1,dragdrop:!1},this.forceRefresh=!1,this.dimensionsFilterGroupOptions={x:[],y:[],z:[]},this.finishParamsData={},this.finishParamsPropertyValueFilter={},this.propertyDataFilter=[],this.once=!1,this.count=0,this.oldDataArray=void 0,this.topScrollDist=0,this.scrollAble=void 0,this.init()}static RegisterPropTransfersReadEvent(e){Z7.propTransfers.RegisterReadEvent(e)}static RegisterPropertiesReadEvent(e){Z7.programProperties.RegisterReadEvent(e)}static RegisterArticlesReadEvent(e){Z7.articles.RegisterReadEvent(e)}ReadPropTransfers(){return Y7(this,null,function*(){return Z7.propTransfers.Read(0,e=>!(null==e||e&&null==e.length)&&e.length>0,()=>Y7(this,null,function*(){return yield CommunicationMessageService.getPropTransfer({})}),this.forceRefresh)})}ReadProperties(){return Y7(this,null,function*(){if(null!=Z7.propertiesDataDeferHelper&&(yield Z7.propertiesDataDeferHelper),null!=Z7.propertiesData&&!this.forceRefresh||null!=Z7.propertiesDataDeferHelper||(Z7.propertiesDataDeferHelper=B1(),Z7.propertiesData=yield gL.findAll(!0,!0),Z7.propertiesDataDeferHelper.resolve([!0]),Z7.propertiesDataDeferHelper=void 0),null!=Z7.propertiesData&&null!=Z7.propertiesData.children)return Z7.programProperties.Read(this.program,()=>!0,()=>Y7(this,null,function*(){if(null!=Z7.propertiesData&&null!=Z7.propertiesData.children){const e=Object.keys(Z7.propertiesData.children);for(let t=0;t<e.length;++t){const r=e[t],n=Z7.propertiesData.children[r];if(Object.keys(n.children).includes(this.program.toUpperCase()))return n.children[this.program.toUpperCase()]}}return{}}),this.forceRefresh)})}ReadArticlesData(){return Y7(this,null,function*(){return Z7.articles.Read(this.filter.length>0?this.filter.toString():"all",e=>!0,()=>Y7(this,null,function*(){let e=this.filter;this.selectedFilter.length>0&&(e=this.filter.includes(this.selectedFilter)?[this.selectedFilter]:[]);const t=yield CommunicationMessageService.getArticleByCategories(window.g_article.manu,this.program,e),r=new Array;for(let e=0;e<t.length;++e){const n=t[e];r.push(n)}return r}),this.forceRefresh)})}GetNodePrefix(){return Y7(this,null,function*(){return void 0===Z7.nodePrefix&&(Z7.nodePrefix=yield CommunicationMessageService.getNodePrefix()),Z7.nodePrefix})}static checkFilter(e,t){if(void 0===t)return!1;if(t.length<1)return!0;if(void 0===e)return!1;for(let r=0;r<e.length;++r)if(t.includes(e[r]))return!0;return!1}GetPropTransferOptions(e){return Y7(this,null,function*(){const t=new Array;let r=this.filter;this.selectedFilter.length>0&&(r=this.filter.includes(this.selectedFilter)?[this.selectedFilter]:[]);for(let n=0;n<e.length;++n){const i=e[n];if(!1===Z7.checkFilter(i.Cat,r))continue;const o=yield CommunicationMessageService.getMediaUrl(window.g_article.manu,this.program,"art",i.image,!0),s={txt:i.text&&i.text.length>0?i.text:i.id,img:o,clickData:{propTransfer:{id:i.id},refresh:this.refreshOnOptionClick,postEvents:this.postOptionClickEvents}};if(this.propTransfersDeleteable){let e=LocalesModel.translate("fitered.catalog.proptrans.delete.text.alternative","");e.length<1&&(e=LocalesModel.translate("156","")),s.remove={txt:e,img:this.removeButtonImg.length>0?this.removeButtonImg:"",icon:this.removeButtonIcon.length>0?this.removeButtonIcon:void 0,clickData:{propTransfer:{id:i.id,manufacturer:i.manufacturer,program:i.program,instanceIdents:this.propTransferDeletesAll?i.instanceIdent:[],delete:!0},refresh:this.refreshOnOptionClick,postEvents:this.postOptionClickEvents}}}t.push(s)}return t})}GetPropTransfersData(){return Y7(this,null,function*(){const e=yield this.ReadPropTransfers();return{type:"prop-transfers",title:this.titled?"filtered.catalog.prop.transfer.heading":"",options:e?yield this.GetPropTransferOptions(e):[]}})}static FilterProgPropertyProgram(e,t){var r;const n=[];return null==(r=e.propertyKeyOrder)||r.forEach(r=>{const i=e.children[r];Z7.checkFilter([i.id],t)&&n.push(i)}),n}GetProperties(e){let t=this.filter;return this.selectedFilter.length>0&&(t=this.filter.includes(this.selectedFilter)?[this.selectedFilter]:[]),Z7.FilterProgPropertyProgram(e,t)}GetPropertyOptions(e){const t=[],r=Object.keys(e.children);for(let n=0;n<r.length;++n){const i=e.children[r[n]];t.push({txt:i.name,img:i.alternativeImageUrl,active:e.currentValue==i.propertyKey,clickData:{property:{manufacturer:window.g_article.manu,program:this.program,key:e.id,property:i.key,propertyKey:i.propertyKey,colorPicker:i.colorPicker},refresh:this.refreshOnOptionClick,postEvents:this.postOptionClickEvents}})}return t}EachProperty(e){return Y7(this,null,function*(){const t=yield this.ReadProperties();if(t){this.GetProperties(t).forEach(t=>{e(t)})}})}GetPropertyData(e){return{type:"properties",title:this.titled||this.propertyFilterButtons?e.name:"",options:this.GetPropertyOptions(e),propertyFilterValue:e.id}}static ncrToUTF8(e){return e&&e.length>0?e.replace(/&#([0-9]+);/g,function(e){return String.fromCodePoint(parseInt(e.slice(2,-1)))}):e}GetArticlesImage(e){return Y7(this,null,function*(){return e&&e.length>0?(yield this.GetNodePrefix())+Z7.ncrToUTF8(e):""})}GetArticlesOptions(e,t){return Y7(this,null,function*(){const r=new Array;for(let n=0;n<e.length;++n){const i=e[n];r.push({txt:i.artText?i.artText:i.ArtNr,img:yield this.GetArticlesImage(i.imgName),dimensions:{x:parseFloat(i.kataWidth),y:parseFloat(i.kataDepth),z:parseFloat(i.kataHeight)},clickData:{article:{nr:i.ArtNr,manufacturer:window.g_article.manu,program:this.program,fitting:this.articlesAreFittings},refresh:this.refreshOnOptionClick,postEvents:this.postOptionClickEvents},"filter-categories":t[i.ArtNr]})}return r})}ReadArticlesAdditonalCategories(){return Y7(this,null,function*(){const e={};if(this.categoriesFilterButtons)for(const t of this.filter){const r=yield null==CommunicationMessageService?void 0:CommunicationMessageService.getKataPage(t.replace("dhcat_",""),"");if(r)for(const t of r.Modules)for(const r of t.Articles)for(const t of r){const r=t.CatString.split(",");void 0===e[t.ArtNr]&&(e[t.ArtNr]=new Array);for(const n of r)this.filter.includes(n)||0==e[t.ArtNr].includes(n)&&e[t.ArtNr].push(n)}}return e})}GetArticlesData(){return Y7(this,null,function*(){const e=yield this.ReadArticlesData(),t=yield this.ReadArticlesAdditonalCategories(),r={},n=(yield null==CommunicationMessageService?void 0:CommunicationMessageService.getKataTreeJson()).definedFilterCategories;for(const e of n)r[e.id]=e.name;return{type:"articles",title:this.titled?"filtered.catalog.articles.heading":"",options:e?yield this.GetArticlesOptions(e,t):[],catgoriesTexts:r}})}GetData(){return Y7(this,null,function*(){this.program.length<1&&(this.program=window.g_article.prog);const e=new Array;for(const t of this.types)"prop-transfers"===t&&e.push(yield this.GetPropTransfersData()),"properties"===t&&(yield this.EachProperty(t=>{e.push(this.GetPropertyData(t))})),"articles"===t&&e.push(yield this.GetArticlesData());return this.forceRefresh=!1,e})}getFilteredOptionsByDimension(e,t,r){const n=[];return t.forEach(t=>{t.dimensions&&e[r].includes(t.dimensions[r])&&n.push(t)}),n}getFilteredOptionsByCategories(e,t){if(this.categoriesButtonsFilter.length>0){const r=[];return t.forEach(t=>{t["filter-categories"]&&function(e,t){for(const r of t)if(e.includes(r))return!0}(e,t["filter-categories"])&&r.push(t)}),r}return t}getFilteredOptions(e,t,r){const n=this.getFilteredOptionsByCategories(e,r),i=this.getFilteredOptionsByDimension(t,r,"x"),o=this.getFilteredOptionsByDimension(t,r,"y"),s=this.getFilteredOptionsByDimension(t,r,"z"),a=function(e,t,r){if(e.length>0)return e.includes(t)?void r():void 0;r()},l=new Array;return n.length>0?(n.forEach(e=>{a(i,e,()=>{a(o,e,()=>{a(s,e,()=>{l.push(e)})})})}),l):i.length>0?(i.forEach(e=>{a(o,e,()=>{a(s,e,()=>{l.push(e)})})}),l):o.length>0?(o.forEach(e=>{a(s,e,()=>{l.push(e)})}),l):s.length>0?s:l}createOption(e){const t=document.createElement(this.optionTag);return t.setAttribute("txt",e.txt),t.setAttribute("img",e.img),e.active&&t.setAttribute("active","true"),e.dimensions&&t.setAttribute("dimensions",JSON.stringify(e.dimensions)),this.showDimensions&&t.setAttribute("show-dimensions",""),t.clickData=e.clickData,t.dragable=this.optionsDraggable,t.propertyModifyComponent=this.propertyModifyComponent,e.remove&&(t.removeClickData=e.remove.clickData,t.removeImg=e.remove.img,t.removeTxt=e.remove.txt,null!=e.remove.icon&&(t.removeIcon=e.remove.icon)),t}createTitle(e){if(0==this.propertyFilterButtons&&e.length>0){const t=document.createElement("fv-label");return t.classList.add("filtered-catalog-data-title"),t.classList.add("custom"),t.setAttribute("i18n",e),t.innerText=e,t.classList.add("custom"),t}}createCategoriesFilterButtons(e,t){const r=new Array;for(const t of e.options)if(t["filter-categories"])for(const e of t["filter-categories"])0==r.includes(e)&&r.push(e);const n=document.createElement("div");n.classList.add("categories-filter-container");let i=this.style.getPropertyValue("--filter-columns-count");i.length<1&&(i="6");if(parseInt(i)>r.length&&(i=r.length.toFixed(0)),n.style.setProperty("--filter-columns-count",i),r.length>1)for(const i of r){const r=document.createElement("fv-button");r.innerHTML=e.catgoriesTexts&&e.catgoriesTexts[i]?e.catgoriesTexts[i]:i,r.classList.add("filter-button"),r.classList.add("bordered");let o=!0;if(this.categoriesButtonsFilter.includes(i))r.classList.add("active");else{const n=[...this.categoriesButtonsFilter,i],s=this.getFilteredOptions(n,this.dimensionsFilter,e.options);(this.categoriesButtonsFilter.length>0&&s.length==t||s.length<1)&&(r.classList.add("disabled"),r.setAttribute("disabled",""),o=!1)}o&&r.addEventListener("click",()=>{if(r.classList.contains("active")){r.classList.remove("active");const e=this.categoriesButtonsFilter.indexOf(i);return e>-1&&this.categoriesButtonsFilter.splice(e,1),this.prepUpdate(),void this.requestUpdate()}r.classList.add("active"),0==this.categoriesButtonsFilter.includes(i)&&this.categoriesButtonsFilter.push(i),this.prepUpdate(),this.requestUpdate()}),n.appendChild(r)}return n}getDimensionFilterUnitifier(){return"cm"===this.dimensionsFilterUnit?.1:1}createSingleDimensionFilterButtons(e,t,r,n){const i=this.getDimensionFilterUnitifier(),o=getComputedStyle(this),s=parseInt(o.getPropertyValue("--dimension-filter-columns-count")),a=e.length>s,l=document.createElement("div");l.classList.add("dimension-filter-container"),l.classList.add(t);let c=this.style.getPropertyValue("--filter-columns-count");c.length<1&&(c="6");parseInt(c)>e.length&&(c=e.length.toFixed(0)),l.style.setProperty("--filter-columns-count",c);let u=!0;return e.forEach(e=>{a&&0==this.dimensionsFilterGroupOptions[t].includes(e)||(u=!1)}),u&&l.classList.add("hidden"),e.forEach(e=>{const o=document.createElement("fv-button");o.innerText=(e*i).toFixed(1).replace(".",","),o.classList.add("filter-button"),o.classList.add("bordered"),o.classList.add(e.toFixed(0)),a&&0==this.dimensionsFilterGroupOptions[t].includes(e)&&o.classList.add("hidden");let s=!0;if(this.dimensionsFilter[t].includes(e))o.classList.add("active");else{const i={x:this.dimensionsFilter.x,y:this.dimensionsFilter.y,z:this.dimensionsFilter.z};i[t]=[...this.dimensionsFilter[t],e];const a=this.getFilteredOptions(this.categoriesButtonsFilter,i,r.options);(this.dimensionsFilter[t].length>0&&a.length==n||a.length<1)&&(o.classList.add("disabled"),o.setAttribute("disabled",""),s=!1)}s&&o.addEventListener("click",()=>{if(o.classList.contains("active")){o.classList.remove("active");const r=this.dimensionsFilter[t].indexOf(e);return r>-1&&this.dimensionsFilter[t].splice(r,1),this.prepUpdate(),void this.requestUpdate()}o.classList.add("active"),0==this.dimensionsFilter[t].includes(e)&&this.dimensionsFilter[t].push(e),this.prepUpdate(),this.requestUpdate()}),l.appendChild(o)}),l}createSingleDimensionFilterButtonsFilterButtons(e,t,r){const n=this.getDimensionFilterUnitifier(),i=getComputedStyle(this),o={},s=parseInt(i.getPropertyValue("--dimension-filter-columns-count"));e.length>s&&e.forEach(e=>{const t=e*n,r=((t-t%this.dimensionsFilterGroupValueRange)/this.dimensionsFilterGroupValueRange).toString();Object.keys(o).includes(r)?o[r].push(e):o[r]=[e]});const a=document.createElement("div");a.classList.add("dimension-filter-filter-container");return Object.keys(o).forEach(e=>{const n=document.createElement("fv-button"),i=parseInt(e);n.innerText=i*this.dimensionsFilterGroupValueRange+" - "+(i+1)*this.dimensionsFilterGroupValueRange,n.classList.add("bordered"),n.classList.add("filter-button");let s=!1;o[e].forEach(e=>{this.dimensionsFilterGroupOptions[t].includes(e)&&(s=!0)}),s&&n.classList.add("active"),n.addEventListener("click",()=>{const i=n.classList.contains("active");a.querySelectorAll("fv-button").forEach(e=>{e.classList.remove("active")}),0==i&&n.classList.add("active");let s=!1;o[e].forEach(e=>{this.dimensionsFilterGroupOptions[t].includes(e)&&(s=!0)}),this.dimensionsFilterGroupOptions[t]=[],0==s&&this.dimensionsFilterGroupOptions[t].push(...o[e]);const l=r.querySelector(".dimension-filter-container."+t);if(l){l.classList.remove("hidden");let e=!0;l.querySelectorAll(".filter-button").forEach(r=>{r.classList.add("hidden"),this.dimensionsFilterGroupOptions[t].forEach(t=>{r.classList.contains(t.toFixed(0))&&(r.classList.remove("hidden"),e=!1)})}),e&&l.classList.add("hidden")}this.prepUpdate(),this.requestUpdate()}),a.appendChild(n)}),a}createSingleDimensionFilterButtonsTitle(e){const t=document.createElement("fv-label");return t.classList.add("title-label"),t.innerText=e,t.setAttribute("i18n",e),t}createDimensionFilterButtons(e,t){let r=new Array,n=new Array,i=new Array;e.options.forEach(e=>{e.dimensions&&(0==r.includes(e.dimensions.x)&&r.push(e.dimensions.x),0==n.includes(e.dimensions.y)&&n.push(e.dimensions.y),0==i.includes(e.dimensions.z)&&i.push(e.dimensions.z))}),r=r.sort((e,t)=>e-t),n=n.sort((e,t)=>e-t),i=i.sort((e,t)=>e-t);const o=document.createElement("div");o.classList.add("dimension-filter-buttons-container");const s={B:{dimData:r,dimension:"x"},T:{dimData:n,dimension:"y"},H:{dimData:i,dimension:"z"}};for(const r of KP.DimensionsOrder){const n=s[r];if(n&&n.dimData.length>1){const r=document.createElement("div");r.classList.add("title-line-container"),r.appendChild(this.createSingleDimensionFilterButtonsTitle(`filtered-catalog-dimension-filters-${n.dimension}`)),r.appendChild(this.createSingleDimensionFilterButtonsFilterButtons(n.dimData,n.dimension,o)),o.appendChild(r),o.appendChild(this.createSingleDimensionFilterButtons(n.dimData,n.dimension,e,t))}}return o}createFilterButtons(e,t){if(this.categoriesFilterButtons||this.dimensionsFilterButtons){const r=document.createElement("fv-filtered-catalog-filter-buttons");return r.Data=e,r.OptionsCount=t,r.addCreateFilterButtonsFunction((e,t)=>this.createCategoriesFilterButtons(e,t)),r.addCreateFilterButtonsFunction((e,t)=>this.createDimensionFilterButtons(e,t)),r}}createOptionsWrapper(){let e;return this.mobile&&this.mobileOptionsWrapperTag.length>0?e=document.createElement(this.mobileOptionsWrapperTag):this.optionsWrapperTag.length>0&&(e=document.createElement(this.optionsWrapperTag)),e&&this.classList.contains("hide-scrollbar")&&e.classList.add("hide-scrollbar"),e}readFinishParamsData(e=!1){return Y7(this,null,function*(){(this.finishParamsFilterButtons||e)&&(this.finishParamsData=yield CommunicationMessageService.getFinishParams({manufacturer:window.g_article.manu,program:this.program,association:""}))})}createFinishParamFilterButton(e,t){const r=t.replaceAll(".","-");return Zk`<fv-button @click="${n=>{const i=n.target;this.finishParamsFilterLimitToOnePerPara?(this.renderRoot.querySelectorAll(".finish-param-filter-button-"+r).forEach(e=>{e.classList.remove("active")}),this.finishParamsPropertyValueFilter[t]&&this.finishParamsPropertyValueFilter[t][e.id]?delete this.finishParamsPropertyValueFilter[t]:(i.classList.add("active"),this.finishParamsPropertyValueFilter[t]={},this.finishParamsPropertyValueFilter[t][e.id]=e.auspraegung)):this.finishParamsPropertyValueFilter[t]&&this.finishParamsPropertyValueFilter[t][e.id]?(delete this.finishParamsPropertyValueFilter[t][e.id],i.classList.remove("active"),Object.keys(this.finishParamsPropertyValueFilter[t]).length<1&&delete this.finishParamsPropertyValueFilter[t]):(this.finishParamsPropertyValueFilter[t]||(this.finishParamsPropertyValueFilter[t]={}),this.finishParamsPropertyValueFilter[t][e.id]=e.auspraegung,i.classList.add("active")),this.prepUpdate(),this.requestUpdate()}}" class="filter-button bordered finish-param-filter-button-${r}">${e.text?e.text:e.id}</fv-button>`}createFinishParamFilterButtonTypes(e,t){const r=Object.keys(e.values);return Zk`
+            <div class="finish-params-filter-type">
+                <fv-label class="custom">${e.text?e.text:t}</fv-label>
+                <div class="finish-params-filter-buttons">${r.map(r=>this.createFinishParamFilterButton(e.values[r],t))}</div>
+            </div>
+        `}createFinishParamsFilterButtons(){const e=Object.keys(this.finishParamsData);if(this.finishParamsFilterButtons&&e.length>0){const t={};for(const r of e){const e=this.finishParamsData[r],n=Object.keys(e);for(const r of n)if(Object.keys(t).includes(r)){const n=e[r],i=Object.keys(n.values);for(const e of i){0==Object.keys(t[r].values).includes(e)&&(t[r].values[e]=n.values[e])}}else t[r]=e[r]}const r=Object.keys(t);return Zk`<div class="finish-params-filter-types">${r.map(e=>this.createFinishParamFilterButtonTypes(t[e],e))}</div>`}return Zk``}filterDataByFinishParamsFilterButtons(e){if(this.finishParamsFilterButtons){const t={},r=Object.keys(this.finishParamsPropertyValueFilter);for(const e of r){const r=this.finishParamsPropertyValueFilter[e];for(const e of Object.keys(r))t[e]=r[e]}let n=[];const i=[],o=Object.keys(t);for(const e of o)i.push(t[e]);if(i.length>0&&(n=i.reduce((e,t)=>e.filter(e=>t.includes(e)))),Object.keys(t).length>0){const t=[];if(n.length>0)for(const r of e){const e=[];for(const t of r.options)t.clickData.property&&n.includes(t.clickData.property.property)&&e.push(t);if(e.length>0){const n=r;n.options=e,t.push(n)}}return t}}return e}filterDataByPropertyFilterButtons(e){if(this.propertyFilterButtons){const t=[];return e.forEach(e=>{e.propertyFilterValue&&this.propertyDataFilter.includes(e.propertyFilterValue)&&t.push(e)}),t}return e}getPropertyDataFilterButtons(e){const t=document.createElement("div");if(t.classList.add("data-filter-buttons-container"),this.finishParamsFilterButtons){const e=document.createElement("fv-label");e.classList.add("custom"),e.setAttribute("i18n","finish-params-filter-properties-title"),e.innerText="finish-params-filter-properties-title",t.appendChild(e)}return e.forEach(e=>{const r=e.propertyFilterValue;if(r){const n=document.createElement("fv-button");n.innerText=e.title,n.classList.add("filter-button"),n.classList.add("bordered"),this.propertyDataFilter.includes(r)&&n.classList.add("active"),n.addEventListener("click",()=>{const e=this.propertyDataFilter.indexOf(r);-1==e?0==this.propertyFilterButtonsLimitOneActive?this.propertyDataFilter.push(r):this.propertyDataFilter=[r]:this.propertyDataFilter.splice(e,1),this.prepUpdate(),this.requestUpdate()}),t.appendChild(n)}}),t}fill(e,t,r){return Y7(this,null,function*(){if(this.optionTag.length>0){const n=new Array;this.propertyFilterButtons&&n.push(this.getPropertyDataFilterButtons(r)),t.forEach(e=>{const t=this.createTitle(e.title);void 0!==t&&n.push(t);const r=e["filtered-options"]?e["filtered-options"]:e.options,i=this.createFilterButtons(e,r.length);i&&n.push(i);const o=this.createOptionsWrapper();r.forEach(e=>{const t=this.createOption(e);t&&(o?o.appendChild(t):n.push(t))}),o&&n.push(o)}),e.innerHTML="";for(const t of n)e.appendChild(t);this.scrollAble&&this.scrollAble.scrollTo(0,this.topScrollDist)}})}init(){return Y7(this,null,function*(){yield CommunicationInterfaceService.IsAppReady,yield this.readFinishParamsData(),EventFactoryService.LastPOLoaded.register(()=>{this.Update()}),this.requestUpdate()})}prepareContainers(e,t){return Y7(this,null,function*(){yield CommunicationInterfaceService.IsAppReady;const r=yield this.GetData(),n=this.filterDataByFinishParamsFilterButtons(r),i=this.filterDataByPropertyFilterButtons(n),o=new Array;i.forEach(e=>{o.push({title:e.title,type:e.type,options:e.options,"filtered-options":this.getFilteredOptions(this.categoriesButtonsFilter,this.dimensionsFilter,e.options),propertyFilterValue:e.propertyFilterValue,catgoriesTexts:e.catgoriesTexts})}),(0==this.once||JSON.stringify(o)!=JSON.stringify(this.oldDataArray)||this.count<3)&&(e.forEach(e=>{this.fill(e,o,n),e.classList.remove("hidden")}),t.forEach(e=>{e.classList.add("hidden")}),this.once=!0,this.oldDataArray=o,++this.count)})}prepUpdate(){this.scrollAble=yT.findScrollableParent(this),this.scrollAble&&(this.topScrollDist=this.scrollAble.scrollTop)}Update(e=!1){return Y7(this,null,function*(){this.forceRefresh=!0,this.prepUpdate(),yield this.readFinishParamsData(e),this.requestUpdate()})}render(){const e=this.querySelectorAll("[slot='mobile-container']"),t=this.querySelectorAll("[slot='container']");return this.mobile?(this.prepareContainers(e,t),Zk`${this.createFinishParamsFilterButtons()}<slot name="before"></slot><slot name="mobile-container"></slot>`):(this.prepareContainers(t,e),Zk`${this.createFinishParamsFilterButtons()}<slot name="before"></slot><slot name="container"></slot>`)}};Z7.styles=[((e,t)=>Q7(W7(e),t,e))(Z7,"styles")||[],$k`${yk(G7)}`],Z7.propTransfers=new K7,Z7.propertiesDataDeferHelper=void 0,Z7.propertiesData=void 0,Z7.programProperties=new K7,Z7.articles=new K7,Z7.nodePrefix=void 0,q7([lk({type:String,reflect:!0,attribute:"option-tag"})],Z7.prototype,"optionTag",2),q7([lk({type:String,reflect:!0,attribute:"options-wrapper-tag"})],Z7.prototype,"optionsWrapperTag",2),q7([lk({type:String,reflect:!0,attribute:"mobile-options-wrapper-tag"})],Z7.prototype,"mobileOptionsWrapperTag",2),q7([lk({type:Array,reflect:!0,attribute:"catalog-types"})],Z7.prototype,"types",2),q7([lk({type:Array,reflect:!0,attribute:"filter"})],Z7.prototype,"filter",2),q7([lk({type:Boolean,reflect:!0,attribute:"property-filter-buttons"})],Z7.prototype,"propertyFilterButtons",2),q7([lk({type:Boolean,reflect:!0,attribute:"property-filter-buttons-limit-one-active"})],Z7.prototype,"propertyFilterButtonsLimitOneActive",2),q7([lk({type:Boolean,reflect:!0,attribute:"finish-params-filter-buttons"})],Z7.prototype,"finishParamsFilterButtons",2),q7([lk({type:Boolean,reflect:!0,attribute:"finish-params-filter-limit-to-one-per-para"})],Z7.prototype,"finishParamsFilterLimitToOnePerPara",2),q7([lk({type:String,reflect:!0,attribute:"selected-filter"})],Z7.prototype,"selectedFilter",2),q7([lk({type:Boolean,reflect:!0,attribute:"articles-are-fittings"})],Z7.prototype,"articlesAreFittings",2),q7([lk({type:String,reflect:!0,attribute:"program"})],Z7.prototype,"program",2),q7([lk({type:Boolean,reflect:!0,attribute:"prop-transfers-deleteable"})],Z7.prototype,"propTransfersDeleteable",2),q7([lk({type:Boolean,reflect:!0,attribute:"prop-transfer-deletes-all"})],Z7.prototype,"propTransferDeletesAll",2),q7([lk({type:Boolean,reflect:!0,attribute:"dimensions-filter-buttons"})],Z7.prototype,"dimensionsFilterButtons",2),q7([lk({type:Object,reflect:!0,attribute:"dimensions-filter"})],Z7.prototype,"dimensionsFilter",2),q7([lk({type:String,reflect:!0,attribute:"dimensions-filter-unit"})],Z7.prototype,"dimensionsFilterUnit",2),q7([lk({type:Number,reflect:!0,attribute:"dimensions-filter-group-value-range"})],Z7.prototype,"dimensionsFilterGroupValueRange",2),q7([lk({type:Boolean,reflect:!0,attribute:"categories-filter-buttons"})],Z7.prototype,"categoriesFilterButtons",2),q7([lk({type:Boolean,reflect:!0,attribute:"show-dimensions"})],Z7.prototype,"showDimensions",2),q7([lk({type:Array,reflect:!0,attribute:"categories-buttons-filter"})],Z7.prototype,"categoriesButtonsFilter",2),q7([lk({type:String,reflect:!0,attribute:"remove-button-img"})],Z7.prototype,"removeButtonImg",2),q7([lk({type:String,reflect:!0,attribute:"remove-button-icon"})],Z7.prototype,"removeButtonIcon",2),q7([lk({type:Boolean,reflect:!0,attribute:"property-use-relevant"})],Z7.prototype,"propertyUseRelevant",2),q7([lk({type:Boolean,reflect:!0,attribute:"titled"})],Z7.prototype,"titled",2),q7([lk({type:Boolean,reflect:!0,attribute:"refresh-on-option-click"})],Z7.prototype,"refreshOnOptionClick",2),q7([lk({type:Array,reflect:!0,attribute:"post-option-click-events"})],Z7.prototype,"postOptionClickEvents",2),q7([lk({type:Boolean,reflect:!0,attribute:"options-draggable"})],Z7.prototype,"optionsDraggable",2),q7([lk({type:Object,reflect:!0,attribute:"property-modify-component"})],Z7.prototype,"propertyModifyComponent",2),Z7=q7([sk("fv-filtered-catalog")],Z7);var eee=Object.defineProperty,tee=Object.getOwnPropertyDescriptor,ree=Object.getPrototypeOf,nee=Reflect.get,iee=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?tee(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&eee(t,r,o),o},oee=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});let see=class extends FT{constructor(){super(),this.buttonClasses=[],this.buttonAttributes=[],this.textOverwrite="",this.selector="",this.noValuesTxtId="",this.anyTargetsHidden=!1,this.propertyNames=[],this.addEventListener("click",e=>{if(this.buttonAttributes.includes("disabled")||this.buttonClasses.includes("disabled"))return e.preventDefault(),void e.stopPropagation();TY.dispatch("toggle-classes",{components:[{name:"fv-filtered-catalog",selector:this.selector}],classes:["hidden"]}),this.readTargetHiddenState()}),this.init()}readTargetHiddenState(){this.anyTargetsHidden=!1;const e=yT.findAll("fv-filtered-catalog",this.selector);for(const t of e)t.classList.contains("hidden")&&(this.anyTargetsHidden=!0);this.requestUpdate()}init(){return oee(this,null,function*(){yield CommunicationInterfaceService.IsAppReady,Z7.RegisterPropertiesReadEvent(e=>oee(this,null,function*(){const t=yT.find("fv-filtered-catalog",this.selector),r=Z7.FilterProgPropertyProgram(e,t.filter);this.propertyNames=[];for(const e of r)this.propertyNames.push(e.name);this.requestUpdate()})),this.readTargetHiddenState()})}makeString(e){let t="";return e.forEach(e=>{t+=" ",t+=e}),t}render(){let e=Zk`NO TARGET FILTERED CATALOG FOUND!`;if(this.textOverwrite.length>0)e=Zk`${this.textOverwrite}`;else{if(this.classList.remove("hidden"),this.propertyNames.length<1){if(this.noValuesTxtId.length>0)return Zk`<fv-label class="no-values-txt" i18n="${this.noValuesTxtId}">${this.noValuesTxtId}</fv-label>`;this.classList.add("hidden")}e=Zk`${this.propertyNames.map((e,t)=>Zk`${t<1?e:", "+e}`)}`}const t=new Array;return t.push(...this.buttonClasses),t.push(...this.buttonAttributes),0==this.anyTargetsHidden&&t.push("active"),Zk`<fv-button class="${this.makeString(t)}">${e}</fv-button>`}};see.styles=[((e,t)=>nee(ree(e),t,e))(see,"styles")||[]],iee([lk({type:Array,reflect:!0,attribute:"fv-button-classes"})],see.prototype,"buttonClasses",2),iee([lk({type:Array,reflect:!0,attribute:"fv-button-toggle-attributes"})],see.prototype,"buttonAttributes",2),iee([lk({type:String,reflect:!0,attribute:"text-overwrite"})],see.prototype,"textOverwrite",2),iee([lk({type:String,reflect:!0,attribute:"selector"})],see.prototype,"selector",2),iee([lk({type:String,reflect:!0,attribute:"no-values-txt-id"})],see.prototype,"noValuesTxtId",2),see=iee([sk("fv-filtered-catalog-toggle-button")],see);var aee=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{-webkit-touch-callout:none;-webkit-tap-highlight-color:rgba(255,255,255,0);position:var(--filtered-catalog-option-position,relative);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;width:var(--filtered-catalog-option-width,unset)}:host .remove-button{background:var(--filtered-catalog-option-remove-button-background,transparent);border:var(--filtered-catalog-option-remove-button-border,1px solid #000);border-radius:var(--filtered-catalog-option-remove-button-border-radius,unset);bottom:var(--filtered-catalog-option-remove-button-pos-bottom,unset);color:var(--filtered-catalog-option-remove-button-font-color,unset);cursor:pointer;font-size:var(--filtered-catalog-option-remove-button-font-size,unset);left:var(--filtered-catalog-option-remove-button-pos-left,unset);padding:var(--filtered-catalog-option-remove-button-padding,unset);position:absolute;right:var(--filtered-catalog-option-remove-button-pos-right,unset);top:var(--filtered-catalog-option-remove-button-pos-top,unset);z-index:2}@media (width >= 980px){:host{width:var(--filtered-catalog-option-mobile-width,var(--filtered-catalog-option-width,unset))}}`,lee=Object.defineProperty,cee=Object.getOwnPropertyDescriptor,uee=Object.getPrototypeOf,dee=Reflect.get,hee=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?cee(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&lee(t,r,o),o},pee=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});const mee=class extends FT{constructor(){super(),this.clickData={},this.img="",this.txt="",this.dimensions={x:0,y:0,z:0},this.dragImage="",this.showDimensions=!1,this.removeClickData=void 0,this.removeIcon="",this.removeImg="",this.removeTxt="",this.propertyModifyComponent={click:!1,dragdrop:!1},this.active=!1,this.dragable=!1,this.scrollableParent=void 0,this.dragElement=this,this.addEventListener("click",()=>{this.clicked()})}static PropTransfer(e){return pee(this,null,function*(){if(e.propTransfer)return e.propTransfer.delete?void(yield CommunicationMessageService.deletePropTransfer({manufacturer:e.propTransfer.manufacturer?e.propTransfer.manufacturer:window.g_article.manu,program:e.propTransfer.program?e.propTransfer.program:window.g_article.prog,instanceIdents:e.propTransfer.instanceIdents?e.propTransfer.instanceIdents:[],id:e.propTransfer.id})):void(yield CommunicationMessageService.startPropTransfer(e.propTransfer.id))})}static Property(e,t){return pee(this,null,function*(){e.property&&(yield CommunicationMessageService.modifyProperty(JSON.stringify(e.property),t?{modifyComponent:!0}:void 0))})}static Article(e){return pee(this,null,function*(){if(e.article){if(e.article.fitting)return void(yield CommunicationMessageService.loadFitting(e.article.manufacturer,e.article.program,e.article.nr));yield CommunicationMessageService.loadArticle(e.article.manufacturer,e.article.program,e.article.nr)}})}static Refresh(e){return pee(this,null,function*(){e.refresh&&window.dispatchEvent(new cG({async:!1,events:[{id:"update-filtered-catalogs",data:{components:[{name:"fv-filtered-catalog",all:!0}]}}]}))})}static CallPostEvents(e){return pee(this,null,function*(){e.postEvents&&window.dispatchEvent(new cG({async:!1,events:e.postEvents}))})}static PerformClick(e,t){return pee(this,null,function*(){yield mee.PropTransfer(e),yield mee.Property(e,t),yield mee.Article(e),yield mee.Refresh(e),yield mee.CallPostEvents(e)})}clicked(){return pee(this,null,function*(){yield mee.PerformClick(this.clickData,this.propertyModifyComponent.click)})}removeClicked(){return pee(this,null,function*(){this.removeClickData&&(yield mee.PerformClick(this.removeClickData,this.propertyModifyComponent.click))})}triggerRemoveClick(e){return pee(this,null,function*(){e.preventDefault(),e.stopPropagation(),e.stopImmediatePropagation(),yield this.removeClicked()})}colorPickerChangeEvent(e){return pee(this,null,function*(){var t;if((null==(t=this.clickData)?void 0:t.property)&&e.detail){const t=e.detail,r={modifyColorPicker:{code:t.code,rgb:`${t.rgba.r},${t.rgba.g},${t.rgba.b}`,key:this.clickData.property.propertyKey,id:this.clickData.property.key},modifyComponent:this.propertyModifyComponent.click};return void(yield CommunicationMessageService.modifyProperty(JSON.stringify(this.clickData.property),r))}})}createColorPicker(){var e,t;if(null==(e=this.clickData.property)?void 0:e.colorPicker){switch(this.clickData.property.colorPicker.type){case"RAL":this._colorPicker=new rK;break;case"NCS":this._colorPicker=new uK;break;case"SIKKENS":this._colorPicker=new vK}null==(t=this._colorPicker)||t.addEventListener("colorChange",e=>pee(this,null,function*(){yield this.colorPickerChangeEvent(e)}))}}buildRemoveButton(){return this.removeIcon&&this.removeIcon.length>0?Zk`
+                <button class="remove-button" @click="${this.triggerRemoveClick}" ${this.removeTxt&&this.removeTxt.length>0?Zk`title="${this.removeTxt}"`:Zk``}>
+                    <i part="icon" class="icon ${this.removeIcon}"></i>
+                </button>
+            `:this.removeImg&&this.removeImg.length>0?Zk`
+                <button class="remove-button" @click="${this.triggerRemoveClick}" ${this.removeTxt&&this.removeTxt.length>0?Zk`title="${this.removeTxt}"`:Zk``}>
+                    <img src="${this.removeImg}">
+                </button>
+            `:Zk`
+            <button class="remove-button" @click="${this.triggerRemoveClick}">
+                ${this.removeTxt}
+            </button>
+        `}render(){if(DragDropHelperService.removeElement(this),this.dragable)if(this.img.length>0&&this.setAttribute("drag-image",this.img),this.scrollableParent=yT.findScrollableParent(this),this.clickData.propTransfer)DragDropHelperService.addElement(this,{id:this.clickData.propTransfer.id,type:ER.PROPTRANSFER},this.scrollableParent);else if(this.clickData.property){const e={id:this.clickData.property.key,extData:this.clickData.property,type:ER.PROGPROPERTY};this.propertyModifyComponent.dragdrop&&(e.options={modifyComponent:!0}),DragDropHelperService.addElement(this,e,this.scrollableParent)}else if(this.clickData.article){let e=ER.ARTICLE;this.clickData.article.fitting&&(e=ER.FITTING),DragDropHelperService.addElement(this,{id:this.clickData.article.nr,type:e},this.scrollableParent)}return this.removeClickData?Zk`${this.buildRemoveButton()}`:Zk``}updated(e){super.updated(e)}};let _ee=mee;_ee.styles=[((e,t)=>dee(uee(e),t,e))(mee,"styles")||[],$k`${yk(aee)}`],hee([lk({type:Object,reflect:!0,attribute:"click-data"})],_ee.prototype,"clickData",2),hee([lk({type:String,reflect:!0})],_ee.prototype,"img",2),hee([lk({type:String,reflect:!0})],_ee.prototype,"txt",2),hee([lk({type:Object,reflect:!0})],_ee.prototype,"dimensions",2),hee([lk({type:String,reflect:!0,attribute:"drag-image"})],_ee.prototype,"dragImage",2),hee([lk({type:Boolean,reflect:!0,attribute:"show-dimensions"})],_ee.prototype,"showDimensions",2),hee([lk({type:Object,reflect:!0,attribute:"remove-click-data"})],_ee.prototype,"removeClickData",2),hee([lk({type:String,reflect:!0,attribute:"remove-icon"})],_ee.prototype,"removeIcon",2),hee([lk({type:String,reflect:!0,attribute:"remove-img"})],_ee.prototype,"removeImg",2),hee([lk({type:String,reflect:!0,attribute:"remove-txt"})],_ee.prototype,"removeTxt",2),hee([lk({type:Object,reflect:!0,attribute:"property-modify-component"})],_ee.prototype,"propertyModifyComponent",2),hee([lk({type:Boolean,reflect:!0})],_ee.prototype,"active",2),hee([lk({type:Boolean,reflect:!0})],_ee.prototype,"dragable",2);var gee=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{cursor:var(--filtered-catalog-labled-img-option-cursor,pointer)}:host .container{align-items:var(--filtered-catalog-labled-img-option-align-items,unset);cursor:var(--filtered-catalog-labled-img-option-cursor,pointer);flex-direction:var(--filtered-catalog-labled-img-option-flex-direction,column);height:var(--filtered-catalog-labled-img-option-container-height,unset);justify-content:var(--filtered-catalog-labled-img-option-justify-content,unset);margin:var(--filtered-catalog-labled-img-option-margin,0)}:host .container .img-container{align-items:var(--filtered-catalog-labled-img-option-img-container-align-items,center);aspect-ratio:var(--filtered-catalog-labled-img-aspect-ratio,1/1);background:var(--filtered-catalog-labled-img-option-img-background,unset);box-shadow:var(--filtered-catalog-labled-img-option-box-shadow,0 1px 3px rgba(0,0,0,.161));cursor:var(--filtered-catalog-labled-img-option-cursor,pointer);display:flex;height:var(--filtered-catalog-labled-img-option-img-container-height,unset);justify-content:var(--filtered-catalog-labled-img-option-img-container-justify-content,center);max-height:var(--filtered-catalog-labled-img-option-img-container-height,unset);padding:var(--filtered-catalog-labled-img-option-img-padding,unset);position:relative;width:var(--filtered-catalog-labled-img-option-img-container-width,unset)}:host .container .img-container:hover{background:var(--filtered-catalog-labled-img-option-img-background-hover,#fff)}:host .container .img-container .img-inner-container{align-items:var(--filtered-catalog-labled-img-option-img-container-align-items,center);cursor:var(--filtered-catalog-labled-img-option-cursor,pointer);display:flex;height:var(--filtered-catalog-labled-img-option-img-height,100%);justify-content:var(--filtered-catalog-labled-img-option-img-container-justify-content,center);position:var(--filtered-inner-img-container-position,absolute);width:var(--filtered-catalog-labled-img-option-img-width,100%)}:host .container .img-container .img-inner-container img{cursor:var(--filtered-catalog-labled-img-option-cursor,pointer);height:var(--filtered-catalog-labled-img-option-img-element-height,100%);max-height:var(--filtered-catalog-labled-img-option-img-element-max-height,100%);max-width:var(--filtered-catalog-labled-img-option-img-element-max-width,100%);pointer-events:none;width:var(--filtered-catalog-labled-img-option-img-element-width,unset)}:host .container .txt-container{cursor:var(--filtered-catalog-labled-img-option-cursor,pointer);overflow:auto;padding-top:var(--filtered-catalog-labled-img-option-padding-top,unset);text-align:var(--filtered-catalog-labled-img-option-text-align,unset)}:host .container .txt-container .txt{color:var(--filtered-catalog-labled-img-option-color,unset);cursor:var(--filtered-catalog-labled-img-option-cursor,pointer);display:block;font-size:var(--filtered-catalog-labled-img-option-font-size,unset);font-weight:var(--global-font-weight-bold,600);height:fit-content;overflow:var(--filtered-catalog-labled-img-option-hidden,hidden);width:100%}:host .container .dimensions-container{cursor:var(--filtered-catalog-labled-img-option-cursor,pointer);flex-wrap:wrap}:host .container .dimensions-container .dimensions{color:var(--filtered-catalog-labled-img-option-color,unset);cursor:var(--filtered-catalog-labled-img-option-cursor,pointer);display:block;font-size:var(--filtered-catalog-labled-img-option-font-size,unset);height:fit-content;width:100%}:host .container .color-picker-icon{font-size:1.5em;padding:10px}:host .container .color-picker-container{background-color:#fff;bottom:var(--filtered-catalog-labled-img-option-color-picker-bottom,unset);left:var(--filtered-catalog-labled-img-option-color-picker-left,unset);overflow:auto;position:absolute;right:var(--filtered-catalog-labled-img-option-color-picker-right,unset);top:var(--filtered-catalog-labled-img-option-color-picker-top,unset);width:var(--filtered-catalog-labled-img-option-color-picker-width,100%);z-index:999}:host .container .color-picker-container .cancel-button{font-size:20px;height:1.5em;position:absolute;right:15px;top:15px;width:1.5em}:host .container .color-picker-container .cancel-button .close-symbol{display:block}:host .container.active{border:var(--filtered-catalog-active-option-border,unset);border-radius:var(--filtered-catalog-active-option-border-radius,unset)}@media (width <= 520px){:host .container .color-picker-container{bottom:var(--filtered-catalog-labled-img-option-color-picker-bottom-mobile,unset);left:var(--filtered-catalog-labled-img-option-color-picker-left-mobile,unset);right:var(--filtered-catalog-labled-img-option-color-picker-right-mobile,unset);top:var(--filtered-catalog-labled-img-option-color-picker-top-mobile,unset);width:var(--filtered-catalog-labled-img-option-color-picker-width-mobile,100%)}}@media (width >= 520px) and (width <= 980px){:host .container .color-picker-container{bottom:var(--filtered-catalog-labled-img-option-color-picker-bottom-mobile,unset);left:var(--filtered-catalog-labled-img-option-color-picker-left-mobile,unset);right:var(--filtered-catalog-labled-img-option-color-picker-right-mobile,unset);top:var(--filtered-catalog-labled-img-option-color-picker-top-mobile,unset);width:var(--filtered-catalog-labled-img-option-color-picker-width-mobile,100%)}}`,fee=Object.defineProperty,vee=Object.getOwnPropertyDescriptor,bee=Object.getPrototypeOf,yee=Reflect.get,$ee=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?vee(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&fee(t,r,o),o};let xee=class extends _ee{clicked(){var e,t,r,n=e=>super[e];return e=this,t=null,r=function*(){yield n("clicked").call(this)},new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())})}constructor(){super()}getDimensionDisplay(){if(this.showDimensions&&this.dimensions.x&&this.dimensions.y&&this.dimensions.z){const e=[{key:"B",value:this.dimensions.x,params:{label:"181"}},{key:"T",value:this.dimensions.y,params:{label:"182"}},{key:"H",value:this.dimensions.z,params:{label:"183"}}];return KP.sortDimensionsByOrder(e),Zk`
+                <div class="dimensions-container">
+                    ${e.map(e=>Zk`
+                        <label class="dimensions">
+                            ${LocalesModel.translate(e.params.label)}: ${(.1*e.value).toFixed(2)} cm
+                        </label>
+                    `)}
+                </div>
+            `}return Zk``}getColorPickerDisplay(){var e;return(null==(e=this.clickData.property)?void 0:e.colorPicker)?(this._colorPicker||this.createColorPicker(),Zk`
+                <div class="color-picker-icon fv-icon-colors" @click="${this.openColorPicker}"></div>
+                ${this.active?Zk`
+                        <div class="color-picker-container">
+                            <div class="cancel-button" @click="${this.closeColorPicker}">
+                                <span class="close-symbol"></span>
+                            </div>
+                            ${this._colorPicker}
+                        </div>`:""}
+                `):Zk``}openColorPicker(){var e;null==(e=this._colorPickerContainer)||e.classList.remove("hidden")}closeColorPicker(){var e;null==(e=this._colorPickerContainer)||e.classList.add("hidden")}render(){return Zk`
+            ${super.render()}
+            <div class="container${this.active?" active":""}">
+                ${this.img.length>0?Zk`<div class="img-container"><div class="img-inner-container"><img src="${this.img}"/></div></div>`:Zk``}
+                ${this.txt.length>0?Zk`<div class="txt-container"><label class="txt">${this.txt}</label></div>`:Zk`${this.clickData.article}`}
+                ${this.getDimensionDisplay()}
+                ${this.getColorPickerDisplay()}
+            </div>
+        `}};xee.styles=[((e,t)=>yee(bee(e),t,e))(xee,"styles")||[],$k`${yk(gee)}`],$ee([dk(".color-picker-container")],xee.prototype,"_colorPickerContainer",2),xee=$ee([sk("fv-filtered-catalog-option-labled-img")],xee);var See=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host .filter-buttons-container{position:relative;transition:width var(--filter-buttons-open-close-animation-duration,1s);width:100%}:host .filter-buttons-container.toggled-off{width:0}:host .filter-buttons-container .hide-button-container{border:2px solid #000;bottom:10px;display:none;height:fit-content;left:calc(100% + 10px);position:absolute;width:fit-content;z-index:99999}:host .filter-buttons-container .hide-button-container .hide-button{height:1.6rem;width:1.6rem}:host .filter-buttons-container .filter-buttons-inner-container.hide-scrollbar{scrollbar-width:none;-ms-scrollbar-width:none}:host .filter-buttons-container .filter-buttons-inner-container.hide-scrollbar::-webkit-scrollbar{display:none}:host .filter-buttons-container .filter-buttons-inner-container .title-line-container{align-items:center;display:flex;flex-direction:row;flex-wrap:wrap;justify-content:left;padding-bottom:5px}:host .filter-buttons-container .filter-buttons-inner-container .title-line-container .title-label{min-width:6rem}:host .filter-buttons-container .filter-buttons-inner-container .title-line-container .dimension-filter-filter-container{display:flex;flex-direction:row;gap:2px;justify-content:left;white-space:nowrap}:host .filter-buttons-container .filter-buttons-inner-container .categories-filter-container,:host .filter-buttons-container .filter-buttons-inner-container .dimension-filter-container{align-items:center;display:flex;flex-direction:row;flex-wrap:wrap;gap:2px;justify-content:left;padding-bottom:5px}:host .filter-buttons-container .filter-buttons-inner-container .categories-filter-container .filter-button,:host .filter-buttons-container .filter-buttons-inner-container .dimension-filter-container .filter-button{filter:none!important}@media (width <= 520px){.filter-buttons-container{max-width:min-content}.filter-buttons-container .hide-button-container{display:block}}@media (width >= 520px) and (width <= 980px){.filter-buttons-container{max-width:min-content}.filter-buttons-container .hide-button-container{display:block}}`,wee=Object.defineProperty,Aee=Object.getOwnPropertyDescriptor,Cee=Object.getPrototypeOf,Eee=Reflect.get;let Iee=class extends FT{constructor(){super(...arguments),this.data={title:"",type:"",options:[]},this.optionsCount=0,this.createFilterButtonsFunctions=[]}set Data(e){this.data=e}set OptionsCount(e){this.optionsCount=e}addCreateFilterButtonsFunction(e){this.createFilterButtonsFunctions.push(e)}createFilterButtons(){return Zk`
+            ${this.createFilterButtonsFunctions.map(e=>e(this.data,this.optionsCount))}
+        `}clickHideButton(){const e=this.querySelector(".filter-buttons-container");null==e||e.classList.toggle("toggled-off");let t=1e3;const r=getComputedStyle(this).getPropertyValue("--filter-buttons-open-close-animation-duration");r.length>0&&(r.includes("ms")&&(t=parseInt(r.replace("ms",""))),r.includes("s")&&(t=parseInt(r.replace("s","")),t*=1e3)),t*=.5;const n=this.querySelector(".hide-button");n&&setTimeout(()=>{n.classList.toggle("fv-icon-eye-closed"),n.classList.toggle("fv-icon-eye")},t)}createHideButton(){return Zk`
+            <fv-button class="hide-button fv-icon-eye-closed" @click="${this.clickHideButton}" style="--fv-button-html-button-min-width:0px;--button-span-margin:0px;"></fv-button>
+        `}render(){return Zk`
+            <div class="filter-buttons-container">
+                <div class="filter-buttons-inner-container ${this.classList.contains("hide-scrollbar")?"hide-scrollbar":""}">
+                    ${this.createFilterButtons()}
+                </div>
+                <div class="hide-button-container">
+                    ${this.createHideButton()}
+                </div>
+            </div>
+        `}};Iee.styles=[((e,t)=>Eee(Cee(e),t,e))(Iee,"styles")||[],$k`${yk(See)}`],Iee=((e,t,r,n)=>{for(var i,o=n>1?void 0:n?Aee(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&wee(t,r,o),o})([sk("fv-filtered-catalog-filter-buttons")],Iee);var Mee=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}.body,:host{background:grey;height:100%;position:absolute;user-select:auto;-moz-user-select:auto;-webkit-user-select:auto;-ms-user-select:auto;width:100%;z-index:1000}:host .loading{height:24px;inset:50%;position:absolute;width:24px;z-index:1001}:host .loading i{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' height='16' width='16' style='animation:spinLoadingIcon 1s steps(12,end) infinite'%3E%3Cstyle%3E%3C/style%3E%3Cpath d='M7 3V1s0-1 1-1 1 1 1 1v2s0 1-1 1-1-1-1-1z'/%3E%3Cpath d='m4.63 4.1-1-1.73S3.13 1.5 4 1c.87-.5 1.37.37 1.37.37l1 1.73s.5.87-.37 1.37c-.87.57-1.37-.37-1.37-.37z' fill-opacity='.93'/%3E%3Cpath d='m3.1 6.37-1.73-1S.5 4.87 1 4c.5-.87 1.37-.37 1.37-.37l1.73 1s.87.5.37 1.37c-.5.87-1.37.37-1.37.37z' fill-opacity='.86'/%3E%3Cpath d='M3 9H1S0 9 0 8s1-1 1-1h2s1 0 1 1-1 1-1 1z' fill-opacity='.79'/%3E%3Cpath d='m4.1 11.37-1.73 1S1.5 12.87 1 12c-.5-.87.37-1.37.37-1.37l1.73-1s.87-.5 1.37.37c.5.87-.37 1.37-.37 1.37z' fill-opacity='.72'/%3E%3Cpath d='m3.63 13.56 1-1.73s.5-.87 1.37-.37c.87.5.37 1.37.37 1.37l-1 1.73s-.5.87-1.37.37c-.87-.5-.37-1.37-.37-1.37z' fill-opacity='.65'/%3E%3Cpath d='M7 15v-2s0-1 1-1 1 1 1 1v2s0 1-1 1-1-1-1-1z' fill-opacity='.58'/%3E%3Cpath d='m10.63 14.56-1-1.73s-.5-.87.37-1.37c.87-.5 1.37.37 1.37.37l1 1.73s.5.87-.37 1.37c-.87.5-1.37-.37-1.37-.37z' fill-opacity='.51'/%3E%3Cpath d='m13.56 12.37-1.73-1s-.87-.5-.37-1.37c.5-.87 1.37-.37 1.37-.37l1.73 1s.87.5.37 1.37c-.5.87-1.37.37-1.37.37z' fill-opacity='.44'/%3E%3Cpath d='M15 9h-2s-1 0-1-1 1-1 1-1h2s1 0 1 1-1 1-1 1z' fill-opacity='.37'/%3E%3Cpath d='m14.56 5.37-1.73 1s-.87.5-1.37-.37c-.5-.87.37-1.37.37-1.37l1.73-1s.87-.5 1.37.37c.5.87-.37 1.37-.37 1.37z' fill-opacity='.3'/%3E%3Cpath d='m9.64 3.1.98-1.66s.5-.874 1.37-.37c.87.5.37 1.37.37 1.37l-1 1.73s-.5.87-1.37.37c-.87-.5-.37-1.37-.37-1.37z' fill-opacity='.23'/%3E%3C/svg%3E");background-position:50%;background-repeat:no-repeat;background-size:contain;display:block;height:24px;width:24px}:host>button{border:none;border-radius:50%;box-shadow:0 0 8px 0 #000;height:48px;margin:0;padding:0;position:absolute;right:20px;text-align:center;width:48px;z-index:1001}:host>button i{background-position:50%;background-repeat:no-repeat;background-size:contain;display:block;height:24px;margin:auto;width:24px}:host .close-symbol{top:10px;z-index:1001}:host .close-symbol:after,:host .close-symbol:before{right:calc(50% - 10px);width:20px}:host .print-symbol{top:64px}:host .print-symbol i{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='16' height='16' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M13 4h-1V2a2 2 0 0 0-2-2H6a2 2 0 0 0-2 2v2H3a2 2 0 0 0-2 2v5a2 2 0 0 0 2 2h1v1a2 2 0 0 0 2 2h4a2 2 0 0 0 2-2v-1h1a2 2 0 0 0 2-2V6a2 2 0 0 0-2-2Zm-2.25 10.15-.6.6h-4.3l-.6-.6V10h5.5v4.15Zm0-10.15h-5.5V1.85l.6-.6h4.3l.6.6V4ZM13 7.6l-.4.4h-1.2l-.4-.4V6.4l.4-.4h1.2l.4.4v1.2Z' fill='%23888'/%3E%3C/svg%3E")}:host .download-symbol{top:118px}:host .download-symbol i{background-image:url("data:image/svg+xml;charset=utf-8,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M16.969 10.059a.75.75 0 1 1 1.061 1.061L12.15 17h-.8l-5.881-5.88a.75.75 0 1 1 1.061-1.061l4.47 4.47V2.75a.75.75 0 0 1 1.499 0v11.779l4.47-4.47ZM4.982 19.7l.8.8h11.935l.8-.8v-1.95a.75.75 0 0 1 1.5 0v1.75a2.5 2.5 0 0 1-2.5 2.5H5.982a2.5 2.5 0 0 1-2.5-2.5v-1.75a.75.75 0 0 1 1.5 0v1.95Z' fill='%23888'/%3E%3C/svg%3E")}@media print{:host>button{display:none}:host .loading{display:none}}`,kee=Object.defineProperty,Tee=Object.getOwnPropertyDescriptor,Ree=Object.getPrototypeOf,Lee=Reflect.get,Pee=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?Tee(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&kee(t,r,o),o},Dee=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});class Nee{constructor(e){for(const t in document)if(e&&e[t])if(e[t]instanceof Function)this[t]=(...r)=>e[t](...r);else try{this[t]=e[t]}catch(e){console.error(e)}else try{document[t]instanceof Function?this[t]=(...e)=>document[t](...e):this[t]=document[t]}catch(e){console.error(e)}}}let Fee=class extends FT{constructor(){super(),this.opened=!1}initialize(){return Dee(this,null,function*(){var e;yield CommunicationInterfaceService.IsAppReady,this.isInitialized?yield this.isInitialized:(window.addEventListener("beforeprint",()=>{this.dispatchEvent(new CustomEvent("onBeforePrint",{}))}),window.addEventListener("afterprint",()=>{this.dispatchEvent(new CustomEvent("onAfterPrint",{}))}),null==(e=this.loadingIcon)||e.classList.remove("hidden"),this.isInitialized=new Promise((e,t)=>{var r;const n=null==(r=this.shadowRoot)?void 0:r.appendChild(Object.assign(document.createElement("script"),{src:window.location.origin+"/pdfjs/build/pdf.js"}));n.onload=()=>{var r,n,i,o;pdfjsLib.GlobalWorkerOptions.workerSrc=window.location.origin+"/pdfjs/build/pdf.worker.js",null==(r=this.shadowRoot)||r.appendChild(Object.assign(document.createElement("link"),{rel:"stylesheet",href:window.location.origin+"/pdfjs/web/viewer.css"})),null==(n=this.shadowRoot)||n.appendChild(Object.assign(document.createElement("link"),{rel:"resource",type:"application/l10n",href:window.location.origin+"/pdfjs/web/locale/locale.properties"})),null==(i=this.shadowRoot)||i.appendChild(Object.assign(document.createElement("script"),{src:window.location.origin+"/pdfjs/web/pdf_extension.js"}));const s=null==(o=this.shadowRoot)?void 0:o.appendChild(Object.assign(document.createElement("script"),{src:window.location.origin+"/pdfjs/web/viewer.js"}));s.onload=()=>{e(!0)},s.onerror=t},n.onerror=t}))})}firstUpdated(e){super.firstUpdated(e),this.shadowRoot&&(window.pdfShadowDocument=new Nee(this.shadowRoot)),this.initialize()}close(){var e,t;window.PDFViewerApplication.close(),this.opened=!1,this.classList.add("hidden"),null==(e=document.querySelector("html"))||e.classList.remove("print"),null==(t=document.querySelector("body"))||t.classList.remove("print"),this.dispatchEvent(new CustomEvent("onClose",{}))}show(){var e;this.classList.remove("hidden"),this.opened||null==(e=this.loadingIcon)||e.classList.remove("hidden"),this.dispatchEvent(new CustomEvent("onShow",{}))}open(e){return Dee(this,null,function*(){var t,r,n;yield this.updateComplete,yield this.initialize(),null==(t=document.querySelector("html"))||t.classList.add("print"),null==(r=document.querySelector("body"))||r.classList.add("print"),null==(n=this.loadingIcon)||n.classList.add("hidden"),window.PDFViewerApplication.open({url:e}),this.opened=!0,this.dispatchEvent(new CustomEvent("onOpen",{}))})}print(){this.opened&&window.print()}download(){this.opened&&window.PDFViewerApplication.download({})}render(e=Zk``){return Zk`
+            <button class="close-symbol" @click=${this.close}></button>
+            <button class="print-symbol" @click=${this.print}><i></i></button>
+            <button class="download-symbol" @click=${this.download}><i></i></button>
+            <div class="loading hidden"><i></i></div>
+            <div class="body">
+                <div id="outerContainer">
+                    <div id="loadingBar">
+                        <div class="progress">
+                            <div class="glimmer">
+                            </div>
+                        </div>
+                    </div>
+                    <div id="mainContainer">
+                        <div id="viewerContainer" tabindex="0">
+                            <div id="viewer" class="pdfViewer"></div>
+                        </div>
+                    </div> <!-- mainContainer -->
+
+                    <div id="dialogContainer">
+                        <dialog id="printServiceDialog" style="min-width: 200px;">
+                            <div class="row">
+                                <span data-l10n-id="print_progress_message">Preparing document for printing…</span>
+                            </div>
+                            <div class="row">
+                                <progress value="0" max="100"></progress>
+                                <span data-l10n-id="print_progress_percent" data-l10n-args='{ "progress": 0 }' class="relative-progress">0%</span>
+                            </div>
+                            <div class="buttonRow">
+                                <button id="printCancel" class="dialogButton"><span data-l10n-id="print_progress_close">Cancel</span></button>
+                            </div>
+                        </dialog>
+                    </div>  <!-- dialogContainer -->
+
+                </div> <!-- outerContainer -->
+                <div id="printContainer"></div>
+            </div>
+        `}};Fee.styles=[((e,t)=>Lee(Ree(e),t,e))(Fee,"styles")||[],$k`${yk(Mee)}`],Pee([dk(".loading")],Fee.prototype,"loadingIcon",2),Fee=Pee([sk("fv-pdf-viewer")],Fee);var Oee=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{background:var(--cloud-id-display-background,transparent);box-shadow:var(--cloud-id-box-shadow,unset);color:var(--cloud-id-display-color,unset);display:flex;flex-direction:column;font-size:var(--cloud-id-font-size,initial);height:auto;margin:var(--cloud-id-display-margin,unset);max-width:var(--cloud-id-max-width,unset);min-width:var(--cloud-id-min-width,unset);padding:var(--cloud-id-display-padding,unset);width:var(--cloud-id-width,auto)}:host fv-input{padding:var(--cloud-id-input-padding,unset);position:relative}:host fv-input .loader-container{align-items:center;display:flex;height:100%;justify-content:center;position:absolute;width:100%}:host .action-button{border-bottom-left-radius:var(--cloud-id-action-button-border-left,unset);border-bottom-right-radius:var(--cloud-id-action-button-border-right,unset);border-top-left-radius:var(--cloud-id-action-button-border-left,unset);border-top-right-radius:var(--cloud-id-action-button-border-right,unset)}:host(.text-overlay){position:relative}:host(.text-overlay) fv-label{background:#fff;font-size:var(--cloud-id-text-overlay-font-size,16px);left:5px;line-height:1em;padding:0 5px;pointer-events:none;position:absolute;top:.3em;z-index:999}:host(.text-overlay) fv-input{margin-top:var(--cloud-id-text-overlay-font-size,16px)}`,Bee=Object.defineProperty,Uee=Object.getOwnPropertyDescriptor,Vee=Object.getPrototypeOf,zee=Reflect.get,Hee=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?Uee(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&Bee(t,r,o),o},Gee=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});let jee=class extends FT{constructor(){super(),this._hideButton=!1,this._loading=!0,this._disableFetch=!1,this._resetUserinterfaceManuProg=!1,this._clearAfterAction=!1,this._iconButton=!1,this.addHideStateUpdatedEventListener(e=>{e||this.updateData()})}updated(e){super.updated(e)}get CloudID(){var e;return(null==(e=this._cloudIDInput)?void 0:e.value)||""}get MoveablePlaceHolder(){return this.classList.contains("moveable-placeholder")}get HoverButton(){return void 0!==this._actionButton&&this.classList.contains("custom-hover-border")}updateData(){return Gee(this,null,function*(){var e,t,r,n;if(this._loading=!0,this._disableFetch)return null==(e=this._actionButton)||e.removeAttribute("disabled"),this._loading=!1,this._actionButton instanceof mL&&(null==(t=this._actionButton)||t.reset()),"";const i=yield UH.createCloudId();return null!=i?(this._cloudIDInput&&(this._cloudIDInput.value=i),null==(r=this._actionButton)||r.removeAttribute("disabled"),this._loading=!1,this._actionButton instanceof mL&&(null==(n=this._actionButton)||n.reset()),i):(this._cloudIDInput&&(this._cloudIDInput.value=""),yield LY.delay(5e3),this.updateData())})}onChange(){this._actionButton&&this._actionButton&&(UH.isCloudIdValid(this._cloudIDInput.value.trim())?this._actionButton.removeAttribute("disabled"):this._actionButton.setAttribute("disabled",""))}openCloudId(){return Gee(this,null,function*(){this._actionButton&&this._cloudIDInput&&null===this._actionButton.getAttribute("disabled")&&(yield LY.openCloudId(this._cloudIDInput.value,this._resetUserinterfaceManuProg),window.dispatchEvent(new CustomEvent("onCloudId",{detail:{cloudid:this._cloudIDInput.value}})))})}copyCloudId(){return Gee(this,null,function*(){this._cloudIDInput&&(yield window.UtilService.copyTextToClipboard(this._cloudIDInput.value))})}clickButton(){return Gee(this,null,function*(){this._readonly?yield this.copyCloudId():yield this.openCloudId(),this._clearAfterAction&&this._cloudIDInput&&(this._cloudIDInput.value="",this.onChange()),this._actionButton&&this._actionButton instanceof mL&&(this._actionButton.confirm(),yield LY.delay(3e3),this._actionButton.reset())})}createHideButton(){if(!this._hideButton){if(this._iconButton){const e=this._readonly?"fv-icon-content-copy":"fv-icon-cloud-download";return Zk`
+                    <fv-button id="action-button" class="action-button ${this.HoverButton?"custom-hover-border":""}" @click="${this.clickButton}" disabled icon="${e}"></fv-button>`}const e=this._readonly?"fs.broadcaster.copy_tooltip":"20011",t=this._readonly?"fv.copied":"fv.opened";return Zk`
+                <fv-confirming-button id="action-button" class="action-button" txt="${e}" confirm-txt="${t}"
+                                      @click="${this.clickButton}" disabled></fv-confirming-button>`}return Zk``}render(){return Zk`
+        ${this.MoveablePlaceHolder?Zk``:Zk`<fv-label i18n="${this._readonly?"fv.modal.your_planning_number":"fv.modal.open_existing_planning_number"}"></fv-label>`}
+        <fv-input
+            id="cloud-id-input"
+            @change="${this.onChange}"
+            ?readonly=${this._readonly}
+            ?moveable-placeholder=${this.MoveablePlaceHolder}
+            placeholder="${this.MoveablePlaceHolder?this._readonly?"fv.modal.your_planning_number":"fv.modal.open_existing_planning_number":""}">
+                ${this._loading?Zk`<div class="loader-container"><slot name="loader"></slot></div>`:Zk``}
+                ${this.createHideButton()}
+        </fv-input>`}firstUpdated(){!this._readonly&&this._disableFetch&&(this._loading=!1)}};jee.styles=[((e,t)=>zee(Vee(e),t,e))(jee,"styles")||[],$k`${yk(Oee)}`],Hee([lk({type:Boolean,reflect:!0,attribute:"readonly"})],jee.prototype,"_readonly",2),Hee([lk({type:String,reflect:!0,attribute:"observable"})],jee.prototype,"_observable",2),Hee([lk({type:String,attribute:"observe-attr"})],jee.prototype,"_observeAttr",2),Hee([lk({type:Boolean,reflect:!0,attribute:"hide-button"})],jee.prototype,"_hideButton",2),Hee([lk({type:Boolean,reflect:!0,attribute:"loading"})],jee.prototype,"_loading",2),Hee([lk({type:Boolean,reflect:!0,attribute:"disable-fetch"})],jee.prototype,"_disableFetch",2),Hee([lk({type:Boolean,reflect:!0,attribute:"reset-ui-manu-prog"})],jee.prototype,"_resetUserinterfaceManuProg",2),Hee([lk({type:Boolean,reflect:!0,attribute:"clear-after-action"})],jee.prototype,"_clearAfterAction",2),Hee([lk({type:Boolean,reflect:!0,attribute:"icon-button"})],jee.prototype,"_iconButton",2),Hee([dk("#cloud-id-input")],jee.prototype,"_cloudIDInput",2),Hee([dk("#action-button")],jee.prototype,"_actionButton",2),jee=Hee([sk("fv-cloud-id")],jee);var Jee=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{height:auto;width:auto}`,Wee=Object.defineProperty,Qee=Object.getOwnPropertyDescriptor,qee=Object.getPrototypeOf,Yee=Reflect.get,Xee=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?Qee(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&Wee(t,r,o),o};let Kee=class extends FT{constructor(){super(),this._withoutText=!1,this._downloadTypes=[],this._borderedButton=!1,this._customHoverButton=!1,this._customClickButton=!1,this._buttonText="20244",this._buttonType="pdf"}set DownloadTypes(e){this._downloadTypes=e}downloadFile(){return e=this,t=null,r=function*(){var e,t;TY.dispatch("download-generated-file",{currentTarget:this._actionButton,fileType:0===(null==(e=this._downloadTypes)?void 0:e.length)?this._buttonType||"pdf":(null==(t=this._actionTypeDropdown)?void 0:t.value)||"pdf",lastCloudID:!0})},new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});var e,t,r}render(){var e;const t={hidden:0===(null==(e=this._downloadTypes)?void 0:e.length)},r={bordered:this._borderedButton,"custom-hover-border":this._customHoverButton,"custom-click-color":this._customClickButton};return Zk`
+            <div class="container column ${this._withoutText?"hidden":""}">
+                <fv-label class="header space after" i18n="20244"></fv-label>
+                <fv-label class="space after" i18n="fv.modal.download.text"></fv-label>
+            </div>
+            <div class="container row">
+                <fv-dropdown class="${KT(t)}" id="action-type"></fv-dropdown>
+                <fv-button id="action-button" i18n="${this._buttonText}"
+                           class=${KT(r)}
+                           @click="${this.downloadFile}">
+                    <fv-loading slot="loader-slot"></fv-loading>
+                </fv-button>
+            </div>
+        `}};Kee.styles=[((e,t)=>Yee(qee(e),t,e))(Kee,"styles")||[],$k`${yk(Jee)}`],Xee([dk("#action-button")],Kee.prototype,"_actionButton",2),Xee([dk("#action-type")],Kee.prototype,"_actionTypeDropdown",2),Xee([lk({type:Boolean,reflect:!0,attribute:"without-text"})],Kee.prototype,"_withoutText",2),Xee([lk({type:Array,state:!0})],Kee.prototype,"_downloadTypes",2),Xee([lk({type:Boolean,reflect:!0,attribute:"bordered-button"})],Kee.prototype,"_borderedButton",2),Xee([lk({type:Boolean,reflect:!0,attribute:"custom-hover-button"})],Kee.prototype,"_customHoverButton",2),Xee([lk({type:Boolean,reflect:!0,attribute:"custom-click-button"})],Kee.prototype,"_customClickButton",2),Xee([lk({type:String,reflect:!0,attribute:"button-text"})],Kee.prototype,"_buttonText",2),Xee([lk({type:String,reflect:!0,attribute:"button-type"})],Kee.prototype,"_buttonType",2),Kee=Xee([sk("fv-download")],Kee);var Zee=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{--flex-container-padding:10px 10px 10px 10px;background-color:var(--primary-color,red);bottom:var(--legend-bottom,unset);color:var(--label-color,#fff);left:var(--legend-left,unset);position:absolute;right:var(--legend-right,50px);top:var(--legend-top,50px)}:host .legend-column{--flex-container-direction:column}:host .legend-row{--flex-container-gap:var(--legend-flex-gap,20px);--flex-container-direction:row}`,ete=Object.defineProperty,tte=Object.getOwnPropertyDescriptor,rte=Object.getPrototypeOf,nte=Reflect.get,ite=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?tte(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&ete(t,r,o),o};let ote=class extends FT{constructor(){super(),LocalesModel.Register(this)}render(){var e;return Zk`<fv-flex-container class="legend-column">
+            ${null==(e=this.entries)?void 0:e.map(e=>Zk`<fv-flex-container class="legend-row"><fv-label i18n="${e.key}">${e.key}</fv-label><fv-label i18n="${e.value}">${e.value}</fv-label></fv-flex-container>`)}
+        </fv-flex-container>`}};ote.styles=[((e,t)=>nte(rte(e),t,e))(ote,"styles")||[],$k`${yk(Zee)}`],ite([lk({type:Array,reflect:!0,attribute:"entries"})],ote.prototype,"entries",2),ote=ite([sk("fv-legend")],ote);var ste=$k`:host{position:absolute;transform:translate(-50%,-50%)}`,ate=Object.defineProperty,lte=Object.getOwnPropertyDescriptor,cte=Object.getPrototypeOf,ute=Reflect.get,dte=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?lte(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&ate(t,r,o),o};let hte=class extends FT{constructor(){super(...arguments),this._checkFrustum=!1,this._updateTimeout=100}firstUpdated(e){super.firstUpdated(e),this.createUpdateScheduler()}disconnectedCallback(){this.cancelUpdateScheduler(),super.disconnectedCallback()}render(){return Zk`
+            <slot></slot>
+        `}updated(e){e.has("_updateTimeout")&&this.createUpdateScheduler(),super.updated(e)}onUpdate(){return e=this,t=null,r=function*(){if(this._positionVector){const e=yield CommunicationMessageService.getWidgetPosition(this._instanceIdents||[],this._positionVector,this.getBoundingClientRect());e&&(this.style.top=e.y,this.style.left=e.left?e.x:"",this.classList.remove("hidden"),!e.pointer&&this._checkFrustum&&this.classList.add("hidden"))}},new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});var e,t,r}createUpdateScheduler(){this._timer&&this.cancelUpdateScheduler(),this._timer=window.setInterval(this.onUpdate.bind(this),this._updateTimeout)}cancelUpdateScheduler(){this._timer&&(window.clearInterval(this._timer),this._timer=void 0)}};hte.styles=[((e,t)=>ute(cte(e),t,e))(hte,"styles")||[],yk(ste)],dte([lk({type:Array,reflect:!0,attribute:"instance-idents"})],hte.prototype,"_instanceIdents",2),dte([lk({type:Object,reflect:!0,attribute:"position-vector"})],hte.prototype,"_positionVector",2),dte([lk({type:Boolean,reflect:!0,attribute:"check-frustum"})],hte.prototype,"_checkFrustum",2),dte([lk({type:Number,reflect:!0,attribute:"update-timeout"})],hte.prototype,"_updateTimeout",2),hte=dte([sk("fv-external-widget")],hte);var pte=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}`,mte=Object.defineProperty,_te=Object.getOwnPropertyDescriptor,gte=Object.getPrototypeOf,fte=Reflect.get,vte=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?_te(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&mte(t,r,o),o},bte=(e,t,r)=>new Promise((n,i)=>{var o=e=>{try{a(r.next(e))}catch(e){i(e)}},s=e=>{try{a(r.throw(e))}catch(e){i(e)}},a=e=>e.done?n(e.value):Promise.resolve(e.value).then(o,s);a((r=r.apply(e,t)).next())});let yte=class extends FT{constructor(){super(),this.showManuName=!0,this.showProgName=!0,this._manufacturerName="",this._programName=""}fetchDisplayNames(){return bte(this,null,function*(){const e=yield CommunicationMessageService.getDisplayNameManuProg(window.g_article.manu.toLowerCase(),window.g_article.prog.toLowerCase());e&&(this._manufacturerName=e.ManuL,this._programName=e.ProgL)})}renderManuProgText(){return Zk`
+            ${this.showManuName||this.showProgName?Zk`<fv-label>${this.showManuName?this._manufacturerName:""} ${this.showProgName?this._programName:""}</fv-label>`:""}
+        `}firstUpdated(e){var t=e=>super[e];return bte(this,null,function*(){yield this.fetchDisplayNames(),t("firstUpdated").call(this,e)})}requestUpdate(e,t,r){var n=e=>super[e];return bte(this,null,function*(){yield this.fetchDisplayNames(),n("requestUpdate").call(this,e,t,r)})}render(){return this.renderManuProgText()}};yte.styles=[((e,t)=>fte(gte(e),t,e))(yte,"styles")||[],$k`${yk(pte)}`],vte([lk({type:Boolean,reflect:!0,attribute:"show-manu-name"})],yte.prototype,"showManuName",2),vte([lk({type:Boolean,reflect:!0,attribute:"show-prog-name"})],yte.prototype,"showProgName",2),yte=vte([sk("fv-manu-prog-info")],yte);var $te=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host .select{border:var(--select-option-selection-button-border,2px solid #000);border-radius:var(--input-outer-border-radius,initial);cursor:pointer;height:var(--select-height,40px);position:relative;width:100%}:host .select .select-button{background:var(--input-background,#fff);border:none;margin:0;outline:none;padding:0;position:relative;width:100%}:host .select .select-button .select-button-arrow{align-items:center;display:flex;height:100%;justify-content:center;margin:0;padding:0;padding-right:var(--select-button-padding-right,16px);position:absolute;right:0;top:0}:host .select .select-button fv-input{--input-cursor:pointer;--input-padding:0px 0px 0px 0px;--input-outer-outline:0px;box-shadow:var(--select-popup-input-box-shadow,0 10px 25px hsla(219,7%,52%,.2));cursor:pointer;margin:0;padding:0;padding-left:var(--select-button-padding-left,16px);width:calc(100% - var(--select-button-padding-left, 16px));z-index:var(--select-popup-input-z-index,9999)}:host .select .select-button.open .select-button-arrow fv-arrow-component{--arrow-rotation:180deg;display:block}:host .select .options-popup{--translation:calc(((var(--input-outer-height, 40px)*0.35) + var(--select-popup-offset, 10px))*-1);--flex-container-padding:0px 0px 0px 0px;background:var(--select-popup-background-color,hsla(0,0%,100%,.922));border:var(--select-popup-border,none);border-radius:var(--select-popup-border-radius,var(--input-outer-border-radius,initial));box-shadow:var(--select-popup-box-shadow,0 10px 25px rgba(74,74,74,.2));max-height:400%;overflow:auto;padding:var(--popup-container-padding-top,.4em) var(--popup-container-padding-right,.4em) var(--popup-container-padding-bottom,.4em) var(--popup-container-padding-left,.4em);position:absolute;top:calc(100% + var(--select-popup-offset, 10px));transform:translateY(var(--translation,-24px));transition:all .5s ease-in-out;visibility:hidden;width:var(--select-popup-width,calc(100% - var(--popup-container-padding-left, .4em) - var(--popup-container-padding-right, .4em)));z-index:var(--select-popup-z-index,999)}:host .select .options-popup fv-flex-container{flex-direction:var(--select-popup-container-direction,var(--flex-container-direction,column))!important;gap:var(--select-popup-options-gap,.4em);transition:all .4s ease-in-out;visibility:hidden;width:var(--select-popup-container-width,var(--flex-container-width,100%))!important}:host .select .options-popup.open{transform:translateY(0);visibility:visible}:host .select .options-popup.open fv-flex-container{visibility:visible}:host .buttons-container{flex-direction:var(--flex-container-direction,row)!important;gap:var(--select-buttons-container-gap,var(--flex-container-gap,1em))!important;justify-content:var(--select-buttons-container-justify-content,var(--flex-container-justify-content,space-evenly))!important;width:var(--select-buttons-container-width,var(--flex-container-width,100%))!important}`,xte=Object.defineProperty,Ste=Object.getOwnPropertyDescriptor,wte=Object.getPrototypeOf,Ate=Reflect.get,Cte=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?Ste(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&xte(t,r,o),o};class Ete extends CustomEvent{constructor(e,t){super("popupchange",{bubbles:!0,composed:!0,detail:{open:e,element:t}})}}let Ite=class extends FT{constructor(){super(),this.selected=void 0,this.selectedDisplayValue=void 0,this.placeholder="",this.maxAmountSelectByButtons=3,this.open=!1,this.closeOnSelectionMaxOptionsCount=2,this.addEventListener("selectionchange",e=>{e.detail&&this.input&&(this.selected=e.detail.option,this.selectedDisplayValue=null!=e.detail.element.displayValue?e.detail.element.displayValue:this.selected,this.input.value=this.selectedDisplayValue,this.closeOnSelectionMaxOptionsCount<this.children.length&&this.openPopup())})}firstUpdated(e){var t;super.firstUpdated(e),null==(t=this.input)||t.addEventListener("blur",()=>{this.open=!1,this.dispatchEvent(new Ete(this.open,this))})}updated(e){super.updated(e),this.childNodes.forEach(e=>{if(!(e instanceof HTMLElement))return;if(!e.hasAttribute("option"))return;this.children.length>this.maxAmountSelectByButtons?e.setAttribute("option-in-popup",""):e.removeAttribute("option-in-popup");const t=e.getAttribute("option");this.selected==t?e.setAttribute("selected-option",""):e.removeAttribute("selected-option")})}attributeChangedCallback(e,t,r){super.attributeChangedCallback(e,t,r),"open"===e&&this.optionsPopup&&this.selectButton&&(null!=r?(this.optionsPopup.classList.add("open"),this.selectButton.classList.add("open")):(this.optionsPopup.classList.remove("open"),this.selectButton.classList.remove("open")))}openPopup(e){var t;null==e||e.stopPropagation(),null==e||e.stopImmediatePropagation(),null==e||e.preventDefault(),this.open=!this.open,this.dispatchEvent(new Ete(this.open,this)),this.open&&(null==(t=this.input)||t.focus())}render(){return this.children.length>this.maxAmountSelectByButtons?Zk`
+                <div class="select">
+                    <div class="select-button" @click="${this.openPopup}">
+                        <fv-input placeholder="${this.placeholder}" readonly value="${this.selectedDisplayValue?this.selectedDisplayValue:this.selected}"></fv-input>
+                        <div class="select-button-arrow"><fv-arrow-component></fv-arrow-component></div>
+                    </div>
+                    <div class="options-popup"><fv-flex-container><slot></slot></fv-flex-container></div>
+                </div>
+            `:Zk`<fv-flex-container class="buttons-container"><slot></slot></fv-flex-container>`}};Ite.styles=[((e,t)=>Ate(wte(e),t,e))(Ite,"styles")||[],$k`${yk($te)}`],Cte([lk({type:String,reflect:!0,attribute:"selected"})],Ite.prototype,"selected",2),Cte([lk({type:String,reflect:!0,attribute:"selected-display-value"})],Ite.prototype,"selectedDisplayValue",2),Cte([lk({type:String,reflect:!0,attribute:"placeholder"})],Ite.prototype,"placeholder",2),Cte([lk({type:Number,reflect:!0,attribute:"max-amount-select-by-buttons"})],Ite.prototype,"maxAmountSelectByButtons",2),Cte([lk({type:Boolean,reflect:!0,attribute:"open"})],Ite.prototype,"open",2),Cte([lk({type:Number,reflect:!0,attribute:"close-on-selection-max-options-count"})],Ite.prototype,"closeOnSelectionMaxOptionsCount",2),Cte([dk(".options-popup")],Ite.prototype,"optionsPopup",2),Cte([dk("fv-input")],Ite.prototype,"input",2),Cte([dk(".select-button")],Ite.prototype,"selectButton",2),Ite=Cte([sk("fv-select")],Ite);var Mte=$k`.close-symbol{cursor:pointer;height:100%;position:relative;width:100%}.close-symbol.loading{z-index:999}.close-symbol.loading:after,.close-symbol.loading:before{background:#fff}.close-symbol:after,.close-symbol:before{background:var(--close-symbol-background,#888);-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;content:" ";height:1px;margin:0;padding:0;position:absolute;top:50%;width:100%}.close-symbol:after:hover,.close-symbol:before:hover{background:var(--close-symbol-background-hover,#333)}.close-symbol:after{-webkit-transform:rotate(-45deg);-moz-transform:rotate(-45deg);transform:rotate(-45deg)}.close-symbol:before{-webkit-transform:rotate(45deg);-moz-transform:rotate(45deg);transform:rotate(45deg)}:host(.active) .circle-number-symbol{border:var(--circle-number-symbol-border-active,2px solid #000)}.circle-number-symbol{align-items:center;background:var(--circle-number-symbol-background,var(--primary-color,red));border:var(--circle-number-symbol-border,2px solid #fff);border-radius:50%;box-shadow:var(--circle-number-symbol-box-shadow,1px 2px 5px 0 #000);color:var(--circle-number-symbol-color,var(--primary-text-color,#000));display:flex;height:var(--circle-number-symbol-size,30px);justify-content:center;position:relative;width:var(--circle-number-symbol-size,30px)}.custom-symbol{cursor:pointer;display:flex;left:10px;position:relative}.custom-symbol.up:after{background-image:var(--custom-symbol-image-down,url("/webui/images/minus.svg"));content:"";height:18px}.custom-symbol.down:after{background-image:var(--custom-symbol-image-down,url("/webui/images/plus.svg"));content:"";height:18px}.custom-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.accordion-symbol{cursor:pointer;display:flex;left:10px;position:relative}.accordion-symbol.up:after{content:"-";font-size:xx-large;transform:scaleX(2) translateX(-4px)}.accordion-symbol.down:after{content:"+";font-size:xx-large}.accordion-symbol:after{color:#1e1e1e;margin:auto 0;padding:0 0 2px;pointer-events:none;transform:translateX(-15px);width:18px}.chevron-symbol{cursor:pointer;left:10px;position:relative}.chevron-symbol.up:after{content:"<"}.chevron-symbol.down:after{content:">"}.chevron-symbol:after{color:inherit;font:17px Consolas,monospace;padding:0 0 2px;pointer-events:none;position:absolute;-webkit-transform:rotate(90deg) translateX(-100%);-moz-transform:rotate(90deg) translateX(-100%);-ms-transform:rotate(90deg) translateX(-100%);transform:rotate(90deg) translateX(-100%)}@media (width >= 980px){.only-mobile{display:none!important}}@media (width <= 980px){.only-desktop{display:none!important}}.bold{font-weight:var(--global-font-weight-bold,600)}*{font-family:var(--global-font,Roboto);font-weight:var(--global-font-weight,400);-webkit-user-select:none;-khtml-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}.container{display:flex;margin:10px 0}.container.column{flex-direction:column}.container.column.reverse{flex-direction:column-reverse}.container.row{flex-direction:row}.container.row.reverse{flex-direction:row-reverse}.fluid{flex:1}.fluid.space-after{margin-right:55px}.hidden{display:none!important}.mobile-mode-hide,:host(.mobile-mode-hide){display:none!important}.invisible{visibility:hidden!important}.invisible-scroll,:host(.invisible-scroll){margin-right:-22px;overflow:hidden}.invisible-scroll>:first-child,:host(.invisible-scroll)>:first-child{box-sizing:content-box;overflow-x:hidden;overflow-y:scroll;padding-right:22px}.invisible-scroll.bottom,:host(.invisible-scroll.bottom){margin-right:unset;overflow:hidden}.invisible-scroll.bottom>:first-child,:host(.invisible-scroll.bottom)>:first-child{box-sizing:content-box;margin-bottom:-22px;overflow-x:scroll;overflow-y:hidden;padding-bottom:22px;padding-right:unset}:host([disabled]){filter:contrast(.5) grayscale(1);pointer-events:none}*{scrollbar-color:#5c5c5c hsla(0,0%,100%,.004);scrollbar-width:thin}[disabled]{filter:contrast(.5) grayscale(1);pointer-events:none}::-webkit-scrollbar{height:8px;width:8px}::-webkit-scrollbar,::-webkit-scrollbar-corner{background:hsla(0,0%,100%,0)}::-webkit-scrollbar-thumb{background:#5c5c5c;-webkit-border-radius:8px}::-webkit-scrollbar-button,::-webkit-scrollbar-button:horizontal:end:decrement,::-webkit-scrollbar-button:horizontal:end:increment,::-webkit-scrollbar-button:vertical:end:decrement,::-webkit-scrollbar-button:vertical:start:increment{background-color:transparent;border:none;color:transparent}:host{align-items:center;background:var(--select-option-background,initial);border:var(--select-option-border,none);border-radius:var(--input-outer-border-radius,initial);color:var(--select-option-color,initial);cursor:pointer;display:flex;height:100%;justify-content:var(--select-option-justify-content,center);width:100%}:host(:hover){background:var(--select-option-hover-background,hsla(0,0%,44%,.376));color:var(--select-option-hover-color,var(--select-option-color,initial))}:host([selected-option]){color:var(--select-option-selected-color,red)}:host([option-in-popup]){padding:var(--select-option-in-popup-padding-top,.2em) var(--select-option-in-popup-padding-right,0) var(--select-option-in-popup-padding-bottom,.2em) var(--select-option-in-popup-padding-left,0);width:calc(100% - var(--select-option-in-popup-padding-left, 0px) - var(--select-option-in-popup-padding-right, 0px))}`,kte=Object.defineProperty,Tte=Object.getOwnPropertyDescriptor,Rte=Object.getPrototypeOf,Lte=Reflect.get,Pte=(e,t,r,n)=>{for(var i,o=n>1?void 0:n?Tte(t,r):t,s=e.length-1;s>=0;s--)(i=e[s])&&(o=(n?i(t,r,o):i(o))||o);return n&&o&&kte(t,r,o),o};class Dte extends CustomEvent{constructor(e,t){super("selectionchange",{bubbles:!0,composed:!0,detail:{option:e,element:t}})}}let Nte=class extends FT{constructor(){super(),this.option=void 0,this.displayValue=void 0,this.addEventListener("click",()=>{this.option?this.dispatchEvent(new Dte(this.option,this)):console.error("option attribute was not defined on:",this)})}firstUpdated(e){super.firstUpdated(e)}updated(e){super.updated(e)}render(){return Zk`<slot></slot>`}};Nte.styles=[((e,t)=>Lte(Rte(e),t,e))(Nte,"styles")||[],$k`${yk(Mte)}`],Pte([lk({type:String,reflect:!0,attribute:"option"})],Nte.prototype,"option",2),Pte([lk({type:String,reflect:!0,attribute:"display-value"})],Nte.prototype,"displayValue",2),Nte=Pte([sk("fv-select-option")],Nte),window.g_dataInterface={};var Fte=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};const Ote=new Map([["a397debc-4fb0-4893-b54d-438f3cea8adb","anrede"],["d243ad95-9477-4055-8878-34535070f4f1","zusatz"],["f3a44c49-a94f-4ec9-bf2c-5ed191bf40f5","vorname"],["0b261c1f-5100-4c85-80c2-2afcb5ee0a10","nachname"],["ca106302-e28f-484b-860c-5c935ffb6c16","strasse"],["f0404858-d636-4498-9a67-12c5fc8e3795","postleitzahl"],["b8f718f5-72bb-42e0-9c17-2d08dcaa49be","ort"],["97629fcb-3585-4c85-83b4-62fc5caf39a1","land"],["1584b62d-871f-4300-919f-a93e6120365a","telefon"],["3694665a-922e-42cc-b820-89010b288d80","fax"],["2e2bc05b-a924-4a4b-9027-29e2dcac65a8","eMail"],["2a15a75d-ba36-42ac-87e9-7d55e091c0a3","projektname"],["c2cc3912-9a83-47f1-addd-50cc7ec09341","planungsnummer"],["dealer_nr","sellerID"],["branch_nr","branchID"]]),Bte={anrede:"",zusatz:"",vorname:"",nachname:"",strasse:"",postleitzahl:"",ort:"",land:"",telefon:"",fax:"",eMail:"",projektname:"",planungsnummer:"",kommission:"",branchID:"",sellerID:""};function Ute(e){for(let t=0;t<e.length;t++){const r=e[t];Ote.has(r.Key)&&(Bte[Ote.get(r.Key)]=r.Value)}}let Vte;function zte(e){return Fte(this,void 0,void 0,function*(){const t=document.querySelector("fv-iwofurn-mask")||void 0;Vte=Om();const r=yield ape.iwoFurnWindowApplicationValue();if(t.adminInfo=r,e&&(t.reduced=e),t.vendorInfo=yield ape.getDealerAddress(),"0"==r.EXPORT_IWOFURN_START_WITHOUT_PM){const r=yield ape.getDhpAsBase64(),n=yield fme.getCanvasPngAsBase64(),i=yield fM.showSaveDialog(r,n);if(!i.success)return null;e&&(t.reduced=e);const o=i.planningInfo.Categories[0].Properties,s=i.planningInfo.Categories[1].Properties;yield Ute(o),yield Ute(s),t.projectManagerInfo=Bte}BY.openModal({mask:"iwoFurn",query:"#fv-global-modal",cancelable:!0}),t.addEventListener("sendToIwoFurn",e=>Fte(this,void 0,void 0,function*(){yield ape.savePrintImageColor(),t.setLoading(!0);const r=yield ape.sendToIwoFurn(e.detail);t.showResponse(r),t.setLoading(!1)}),{once:!0}),t.addEventListener("onHide",()=>{Vte.resolve()},{once:!0}),yield Vte})}var Hte=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s},Gte=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};let jte=class{initialize(){return Gte(this,void 0,void 0,function*(){this.getRoot().on("click",()=>Gte(this,void 0,void 0,function*(){zte(!1)})),document.addEventListener("readystatechange",()=>Gte(this,void 0,void 0,function*(){if("complete"==document.readyState){if(yield function(){return Fte(this,void 0,void 0,function*(){return yield upe.isAppReady(),"iwofurn"==(yield ape.getWaWiManu()).WaWiManu})}()){this.getRoot()[0].classList.remove("hidden")}}}));const e=document.querySelector("fv-iwofurn-mask")||void 0;e.addEventListener("sendToIwoFurn",t=>Gte(this,void 0,void 0,function*(){yield ape.savePrintImageColor(1024,576),e.setLoading(!0);const r=yield ape.sendToIwoFurn(t.detail);e.showResponse(r),e.setLoading(!1)}))})}};jte=Hte([_m({template:'<div class="iwofurn button hidden" data-position="bottom right" data-tooltip="IwoFurn"></div>',elements:{},parentElement:null,parentSelector:""})],jte);var Jte=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};const Wte=new class{getInitialManufacturer(){return Jte(this,void 0,void 0,function*(){if(window.g_article&&(window.g_article.calcManu||window.g_article.manu))return window.g_article.calcManu||window.g_article.manu;{const{manu:e}=yield ape.getCurrentManuProg();return e}})}prepareManufacturers(e){return e.map(function(e){return{value:e.Manu,text:e.ManuL,name:e.ManuL}}).filter(function(e){return e.text.length>0})}updateManufacturerNames(){return Jte(this,void 0,void 0,function*(){const e=yield ape.getAccessableManufacturers(),t=this.prepareManufacturers(e),r=this.elements.manufacturer.get(0).querySelector("div.text");this.elements.manufacturer.get(0).querySelector("div.menu").querySelectorAll("div.item").forEach(e=>{const n=t.find(t=>t.value===e.getAttribute("data-value"));e.setAttribute("data-text",n.text),e.textContent=n.name,e.classList.contains("selected")&&(r.textContent=n.name)})})}constructor(){this.lastSelectedManu="",this.lastSelectedProgram="",this.progToShow="",this.references={gridControlComponent:new nM,subContainer:new aM,newButton:new uM,cloudButton:new hM,projectmanagerButton:new bM,saveButton:new xM,loadButton:new AM,printButton:new RM,mhsPrintButton:new DM,undoButton:new FM,reloadButton:new UM,shareButton:new qM,cloudDownloadButton:new tk,iwofurnButton:new jte},this.elements={parentElement:$("#renderContainer"),root:null,grid:this.references.gridControlComponent.getRoot(),placer:$("<div></div>").addClass("placer"),subContainer:this.references.subContainer.getRoot(),priceList:$("<select></select>"),manufacturer:$("<select></select>")},this.asynchronousAccess={manufacturer:Om()},this.catalogInitialized=Om()}get References(){return this.references}get HasKataTreeIframe(){const e=$("#furnplan-kata-tree");return e&&1==e.length}show(){this.elements.root&&g_configuration.old_kata_tree_show_toolbar&&this.elements.root.removeClass("invisible")}hide(){this.elements.root&&this.elements.root.addClass("invisible")}initializePriceLists(){return Jte(this,void 0,void 0,function*(){yield this.asynchronousAccess.manufacturer,yield ape.getStringValueDest("-63");const e=yield ape.getTable("-63"),t=JSON.parse(e[0].tableVal).map(e=>({value:e[0],text:e[0],name:e[0]}));this.fillPriceList(t)})}initializeManufacturer(){const e=this;ape.getAccessableManufacturers().then(function(t){e.fillManufacturer(t)}).then(()=>{e.asynchronousAccess.manufacturer.resolve()})}updateFurnplanKataTree(){return Jte(this,arguments,void 0,function*(e="",t="none"){e?(this.lastSelectedManu=e,this.lastSelectedProgram=t):(e=this.lastSelectedManu,t=this.lastSelectedProgram),yield ape.setManuProg(e,t,e).then(()=>new Promise((e,t)=>{const r=$("#furnplan-kata-tree");if(r&&0===r.attr("src").length){let t=g_node_url_prefix+"/furnplan/_global/_global/html/h/furnview/furnplan-connector.html?sessionId="+g_sessionId+"&nodeUrl="+g_node_url_prefix+"&dm="+Wp.getType();window.g_article&&window.g_article.mprog&&(window.g_article.calcManu||window.g_article.manu)&&(t+="&manu="+(window.g_article.calcManu||window.g_article.manu)+"&prog="+window.g_article.mprog),r.attr("src",t).on("load",function(){e(!0)})}else e(!0)})).then(()=>{t.length>0?this.buildKataTree(e,t):this.buildKataTree(e)}).catch(function(e){console.error(e)})})}initialize(){return Jte(this,void 0,void 0,function*(){const e=this;if(g_configuration.panel_right_register_old_kata_tree){this.elements.root=$("<div></div>").addClass("control-toolbar-component"),g_configuration.old_kata_tree_show_toolbar||this.elements.root.hide(),$("#oldKataTree").length>0&&(this.elements.manufacturer=$("<select></select>").addClass("ui fluid search selection dropdown").addClass("manufacturer").dropdown({onChange:(t,r,n)=>Jte(this,void 0,void 0,function*(){if(this.elements.manufacturer.hasClass("active"))return!1;Xp.setItem(g_sessionId,"a",zme.hash(t)),this.updateFurnplanKataTree(t,this.progToShow),this.progToShow="",e.initializePriceLists()})}),this.initializeManufacturer()),this.elements.parentElement.prepend(this.elements.root),this.elements.root.append(this.elements.grid),g_configuration.old_kata_tree_toolbar_placer&&this.elements.root.append(this.elements.placer),this.elements.root.append(this.elements.subContainer),this.references.subContainer.addRow(),this.references.subContainer.getRow(0).append(this.references.iwofurnButton.getRoot()),this.references.subContainer.getRow(0).append(this.references.cloudDownloadButton.getRoot()),this.references.subContainer.getRow(0).append(this.references.cloudButton.getRoot()),this.references.subContainer.getRow(0).append(this.references.newButton.getRoot()),this.references.subContainer.getRow(0).append(this.references.loadButton.getRoot()),this.references.subContainer.getRow(0).append(this.references.saveButton.getRoot()),this.references.subContainer.getRow(0).append(this.references.projectmanagerButton.getRoot()),this.references.subContainer.getRow(0).append(this.references.printButton.getRoot()),this.references.subContainer.getRow(0).append(this.references.mhsPrintButton.getRoot()),this.references.subContainer.getRow(0).append(this.references.undoButton.getRoot()),this.references.subContainer.getRow(0).append(this.references.reloadButton.getRoot()),this.references.subContainer.getRow(0).append(this.references.shareButton.getRoot()),this.references.subContainer.addRow(),g_configuration.old_kata_tree_toolbar_manufacturer&&this.references.subContainer.getRow(1).append(this.elements.manufacturer),g_configuration.old_kata_tree_toolbar_manufacturer&&!g_configuration.old_kata_tree_toolbar_manufacturer_editable&&this.elements.manufacturer.addClass("disabled"),g_configuration.old_kata_tree_toolbar_placer&&oM.initialize(this.elements.placer),this.references.gridControlComponent.initialize();1==(yield ape.checkBuyingGroups()).BuyingGroups&&g_configuration.furnplan_price_list&&(this.elements.priceList=$("<select></select>").addClass("ui fluid dropdown").addClass("price-list").dropdown({onChange:(e,t,r)=>Jte(this,void 0,void 0,function*(){yield ape.setPriceList(e);const t=this.elements.manufacturer.find(".selected").data("value");this.updateManufacturerNames(),this.buildKataTree(t)})}),yield this.initializePriceLists(),this.references.subContainer.getRow(1).append(this.elements.priceList))}})}buildKataTree(e,t){return e=e||this.elements.manufacturer.find(".selected").data("value"),t=t||"",FurnplanKataTreeInterface.postMessage("furnplan.setManuProg",[e,t||"none"]),FurnplanKataTreeInterface.postMessage("furnplan.setConfiguration",[g_configuration]),ape.getCurrentManuProg().then(function(e){const t=e.left,r=e.right;FurnplanKataTreeInterface.postMessage("furnplan.setProgPage",[{left:t,right:r}])}).then(()=>{e===this.getManufacturer()?FurnplanKataTreeInterface.postMessage("furnplan.buildKataTree",[e,g_sessionId,g_node_url_prefix,oM.getDirection(),t]):this.buildKataTree()})}fillPriceList(e){return Jte(this,void 0,void 0,function*(){if(this.elements.priceList.dropdown("setup menu",{values:e}),e.length>0){const{manu:t}=yield ape.getCurrentManuProg();let r;const n=yield ape.getPriceList(t,""),i=yield ape.getOpusPriceList(t),o=e.some(e=>e.value===n);r=o?n:i||e[0].value,this.elements.priceList.show(),this.elements.priceList.dropdown("set selected",r)}else this.elements.priceList.hide()})}fillManufacturer(e){return Jte(this,void 0,void 0,function*(){const t=this.prepareManufacturers(e);this.elements.manufacturer.dropdown("setup menu",{values:t});const r=yield this.getInitialManufacturer();r.length>0?this.elements.manufacturer.dropdown("set selected",r):this.elements.manufacturer.dropdown("set selected",t[0].value)})}getManufacturer(){return this.elements.manufacturer?this.elements.manufacturer.find(".item.selected").data("value"):""}setManufacturer(e){return Jte(this,arguments,void 0,function*(e,t=""){return this.progToShow=t,yield this.asynchronousAccess.manufacturer,this.elements.manufacturer.dropdown("set selected",e),new Promise(e=>requestAnimationFrame(()=>e()))})}updateManufacturer(){return Jte(this,arguments,void 0,function*(e="",t=""){g_configuration.panel_right_register_old_kata_tree&&g_configuration.old_kata_tree_show_toolbar&&g_configuration.old_kata_tree_toolbar_manufacturer&&(yield this.setManufacturer(e,t))})}isCatalogInitialized(){return this.catalogInitialized}setCatalogInitialized(e){this.catalogInitialized.resolve(e)}},Qte=Wte;var qte=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};const Yte=new class{createPrintView(){var e,t;this._printHelper=document.querySelector(".printHelper"),this._pdfViewer=(null===(e=this._printHelper)||void 0===e?void 0:e.querySelector("fv-pdf-viewer"))||(null===(t=this._printHelper)||void 0===t?void 0:t.appendChild(new Fee)),this._pdfViewer&&(this._pdfViewer.classList.add("hidden"),this._pdfViewer.addEventListener("onClose",()=>{this.hide()}),this._pdfViewer.addEventListener("onBeforePrint",()=>{fme.setPrintCanvas(!0)}),this._pdfViewer.addEventListener("onAfterPrint",()=>{fme.setPrintCanvas(!1)}))}showPDFInternal(e){this._pdfViewer.show(),this._pdfViewer.open(e)}constructor(){this._isApp=!1,document.addEventListener("readystatechange",()=>{"complete"===document.readyState&&this.createPrintView()}),Rm.on("ShowPDF",e=>{this.showPDFFile(`${g_node_url_prefix}${e.pdf}`)}),Rm.on("ShowPrintPDF",e=>{this._pdfViewer&&this.showPrint()}),document.addEventListener("cancel-pdf-window",()=>this.hide())}sendIsAppResponse(e=!1){this._isApp=e}showPrint(e){return qte(this,void 0,void 0,function*(){var t;if(null===(t=this._pdfViewer)||void 0===t||t.show(),!e){const t=yield ape.printPDF();e=null==t?void 0:t.pdf}e&&this.showPDFInternal(`${g_node_url_prefix}/getPDF/${g_sessionId}/${e}`)})}showPDFFile(e){this.showPDFInternal(`${e}`)}showPDF(e,t,r){this.showPDFInternal(`${e}/getPDF/${t}/${r}`)}showLastPDF(){this.showPDF(g_node_url_prefix,g_sessionId,"default")}hide(){var e;null===(e=this._pdfViewer)||void 0===e||e.classList.add("hidden"),Qte.References.printButton&&Qte.References.printButton.getRoot()&&Qte.References.printButton.getRoot().removeClass("disabled")}};var Xte=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};const Kte=new class{get(e){return Xte(this,void 0,void 0,function*(){return eM.getProgram(e)})}getGroupInfo(e){return eM.getGroupInfo(e)}getFinishParams(e){return eM.getFinishParams(e)}getCurrentValues(e){return Xte(this,void 0,void 0,function*(){return eM.getCurrentValues(e)})}showToolTip(e,t){return Xte(this,arguments,void 0,function*(e,t,r="_global",n="_global"){let i="";switch(e){case"pdf":i="_"+t.replace(/\.[^/.]+$/,""),yield ape.ShowPdf(r,"","",n+"/help",i,1);break;case"custom_pdf":i=t,Yte.showPDFFile(i);break;case"text":alert(t)}})}};window.PPS=Kte;class Zte{constructor(e,t){this.htmlElement=null,this._toolTipData="",this._toolTipType="",this._manu="",e=e||"",t=t||{type:"",data:""},this.htmlElement=$("<div></div>").addClass("info-button").append($("<i></i>").addClass("info icon")).click(e=>(e.preventDefault(),e.stopPropagation(),e.cancelBubble=!0,e.returnValue=!1,this._toolTipData&&this._toolTipType&&this.showToolTip(),!1)),this.hide(),this._toolTipType=t.type,this._toolTipData=t.data,this._manu=e}setToolTip(e){e=e||{},this._toolTipData=e.toolTipData||this._toolTipData,this._toolTipType=e.toolTipType||this._toolTipType,this._toolTipData&&this._toolTipType?this.show():this.hide()}getHtmlElement(){return this.htmlElement}hide(){this.htmlElement.addClass("hide")}show(){this.htmlElement.removeClass("hide")}showToolTip(){Kte.showToolTip(this._toolTipType,this._toolTipData,this._manu)}}class ere{constructor(e,t){this.infoButton=null,this.htmlElement=null,this.handler=null,this.propertyValue=null,this._colorPicker=null,this._image=null,this.propertyValue=t,this.handler=e;const r=/\[CP\]\[DH_AUSF_(.*)\]\[CP\](.*)$/;if(e.CheckExclusion&&t.IsGlobalExcluded)return null;if(this.infoButton=new Zte(t.ManufacturerName,{data:t.ToolTipData,type:t.ToolTipType}),this.infoButton.setToolTip({toolTipType:t.ToolTipType,toolTipData:t.ToolTipData}),this._image=$("<img />").attr("src",this.getImageUrl()),r.test(this.propertyValue.Key)){const e=r.exec(this.propertyValue.Key);switch(e[1]){case"RAL":this._colorPicker=new rK;break;case"SIKKENS":this._colorPicker=new vK;break;case"NCS":this._colorPicker=new uK}this._image.attr("src",""),this._colorPicker.getColorByCode(e[2]).then(e=>{this._image.css("background-color","rgb("+e+")")})}this._image.on("dragstart",!1),this._image.on("error",function(e){this.src=ere.TRANSPARENT_PNG_BASE64});const n=$("<div></div>").attr("class","image-container").append(this._image),i=$("<div></div>").attr("class","label property-value-label").text(this.propertyValue.Name),o=$("<div></div>").attr("class","label-container").append(i);this.propertyValue.Materials.forEach(e=>{o.append($("<div></div>").attr("class","label property-value-material-label").html(e))}),this.htmlElement=$("<div></div>").attr("class","property-hierarchy property-value").append(n).append(o).append(this.infoButton.getHtmlElement()).on("vclick",e=>{this._colorPicker?this.onColorPickerClick(e):this.onClick(e)}),g_configuration.enable_property_row?this.htmlElement.addClass("property-button-row"):this.htmlElement.addClass("property-button")}getHtmlElement(){return this.htmlElement}onColorPickerClick(e){const t=this.htmlElement.parent()[0];t.childNodes.forEach(e=>{e.classList.add("hidden")}),t.append(this._colorPicker),this._colorPicker.addEventListener("colorChange",e=>{t.removeChild(this._colorPicker),t.childNodes.forEach(e=>{e.classList.remove("hidden")}),this._image.attr("src",""),this._image.css("background-color",`rgb(${e.detail.rgba.r},${e.detail.rgba.g},${e.detail.rgba.b},${e.detail.rgba.a})`),this.setPropertyValue({code:e.detail.code,rgb:`${e.detail.rgba.r},${e.detail.rgba.g},${e.detail.rgba.b}`,key:this.propertyValue.ValueKey,id:this.propertyValue.Parent.ID})})}onClick(e){e.preventDefault(),this.setPropertyValue(),this.propertyValue.Parent.Parent.Children.length>1&&this.handler.navigateBack()}getImageUrl(){const e=this.propertyValue.Parent.Parent.Parent.ManufacturerHash,t=this.propertyValue.AlternativeImage;return t?lm.getUrl(e.toLowerCase(),"","aus",t.toLowerCase(),!0):""}setPropertyValue(e){this.handler.setPropertyValue(this.propertyValue,this.propertyValue,e)}}ere.TRANSPARENT_PNG_BASE64="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVQI12NgYAAAAAMAASDVlMcAAAAASUVORK5CYII=";class tre{constructor(){this.htmlElement=null,this.htmlElement=$("<div></div>").addClass("global-button").append($("<i></i>").addClass("world icon")),this.hide(),this.getHtmlElement().droppable({greedy:!0,tolerance:"pointer"}),this.getHtmlElement().on("drop",(e,t)=>{e.stopPropagation(),this.onDrop(e,t)})}getHtmlElement(){return this.htmlElement}onDrop(e,t){const r=t.draggable.parent().data("dhmc-property"),n=[],i=r.ManufacturerName,o=r.ProgramName,s=r.ID,a=r.CurrentValue.Key,l=r.CurrentValue.PropertyKey;n.push({manufacturer:i.toLowerCase(),program:o.toLowerCase(),key:s,property:a,propertyKey:l,index:r.Index}),n.length>0&&ape.modifyProperty(n,{},!0)}hide(){this.htmlElement.addClass("hide")}show(){this.htmlElement.removeClass("hide")}}class rre{constructor(e,t,r){if(this.handler=null,this.htmlElement=null,this.property=null,this.image=null,this.propertyValueLabel=null,this.imageContainer=null,this.labelContainer=null,this.globalButton=null,this.infoButton=null,this.isDragging=!1,this.onChangeCurrentValue=e=>{this.htmlElement&&this.htmlElement[0].parentNode&&(this.propertyValueLabel.text(e?e.Name:""),this.infoButton.setToolTip({toolTipData:e.ToolTipData,toolTipType:e.ToolTipType}),this.image.attr("src",this.getImageUrl()),this.labelContainer.find(".property-value-material-label").remove(),e.Materials.forEach(e=>{this.labelContainer.append($("<div></div>").attr("class","label property-value-material-label").html(e))}))},t){if($.vmouse.resetTimerDuration=300,this.property=t,this.handler=e,e.CheckExclusion&&t.IsGlobalExcluded)return null;if(!this.handler)return;this.image=$("<img />").attr("src",this.getImageUrl()),this.image.on("dragstart",!1),this.image.on("error",function(e){this.src=ere.TRANSPARENT_PNG_BASE64}),this.imageContainer=$("<div></div>").attr("class","image-container").append(this.image);const n=$("<div></div>").attr("class","label property-label").text(this.property.Name);this.propertyValueLabel=$("<div></div>").attr("class","label property-value-label").text(this.property.CurrentValue?this.property.CurrentValue.Name:""),this.labelContainer=$("<div></div>").attr("class","label-container").append(n).append(this.propertyValueLabel),this.property.CurrentValue&&"string"!=typeof this.property.CurrentValue&&this.property.CurrentValue.Materials.forEach(e=>{this.labelContainer.append($("<div></div>").attr("class","label property-value-material-label").html(e))}),this.property.addEventListener("onChangeCurrentValue",this.onChangeCurrentValue),this.globalButton=new tre,this.infoButton=new Zte(t.ManufacturerName,{data:t.CurrentToolTipData,type:t.CurrentToolTipType}),this.infoButton.setToolTip({toolTipData:t.CurrentToolTipData,toolTipType:t.CurrentToolTipType});const i=Object.keys(e.getRelevantModel(t.ManufacturerName,t.ProgramName,t.Key).children),o=$("<div></div>").addClass("property-values-counter").text(i.length);this.htmlElement=$("<div></div>").attr("class","property-hierarchy property").append(this.imageContainer).append(this.labelContainer).append(this.globalButton.getHtmlElement()).append(this.infoButton.getHtmlElement()).data("dhmc-property",this.property),g_configuration.disable_property_value_counter||this.htmlElement.append(o),g_configuration.enable_property_row?this.htmlElement.addClass("property-button-row"):this.htmlElement.addClass("property-button"),this.property.Children.length>1?this.htmlElement.on("vclick",e=>{this.isDragging||this.onClick(e,r)}):(g_configuration.show_disabled_property_button||this.htmlElement.addClass("dhmc-hidden"),this.htmlElement.addClass("disabled")),this.enableDragAndDrop()}}dispose(){this.property.removeEventListener("onChangeCurrentValue",this.onChangeCurrentValue)}getHtmlElement(){return this.htmlElement}onClick(e,t){e.preventDefault(),this.handler.navigateTo(t)}getImageUrl(){const e=this.property.Parent.Parent.ManufacturerHash;let t="";return this.property.CurrentValue&&(t=this.property.CurrentValue.AlternativeImage),t?lm.getUrl(e.toLowerCase(),"","aus",t.toLowerCase(),!0):""}droppedOn(e){}toggleLabels(){this.labelContainer.toggleClass("hide")}enableDragAndDrop(){this.imageContainer.draggable({opacity:.3,helper:()=>this.imageContainer.find("img").clone().addClass("drag-image"),revert:"invalid",cursorAt:{cursor:"move",top:20,left:40},distance:5,delay:60,appendTo:"#afTree",tolerance:"pointer"}),this.htmlElement.droppable({greedy:!0}),this.imageContainer.on("dragstart",e=>{this.isDragging=!0,this.globalButton.show(),this.infoButton.hide(),this.toggleLabels();const t=this.property;this.handler.highlightCompatibleProperties(t)}),this.htmlElement.on("drop",(e,t)=>{this.isDragging=!1,e.stopPropagation();const r=t.draggable.parent().data("dhmc-property"),n=$(e.currentTarget).data("dhmc-property");this.handler.setPropertyValue(r.currentValue,n.currentValue)}),this.htmlElement.on("dropover",(e,t)=>{$(e.currentTarget).addClass("over")}),this.htmlElement.on("dropout",(e,t)=>{$(e.currentTarget).removeClass("over")}),this.htmlElement.on("dragstop",(e,t)=>{this.globalButton.hide(),this.infoButton.setToolTip(),this.toggleLabels(),this.handler.unhighlightProperties()})}}let nre={};function ire(){}ire.prototype.dispatch=function(e,t){nre[e]&&nre[e].forEach(function(e){e.apply({},t)})},ire.prototype.on=function(e,t){nre[e]=nre[e]||[],nre[e].push(t)},ire.prototype.clear=function(){nre={}};const ore=new ire;function sre(){this.articles=[],this.clonedArticles=[],this.count=20,this.deliveredElementsCount=0}sre.prototype.getArticles=function(){return this.articles},sre.prototype.setArticles=function(e){this.articles=e,this.clonedArticles=e.slice(0),this.deliveredElementsCount=0},sre.prototype.hasMoreElements=function(){return this.articles.length-this.deliveredElementsCount>0},sre.prototype.getNext=function(){const e=this.clonedArticles.splice(0,this.count);return this.deliveredElementsCount+=e.length,e};const are=sre;var lre,cre=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};!function(e){e[e.NONE=0]="NONE",e[e.Horizontal=1]="Horizontal",e[e.Vertical=2]="Vertical"}(lre||(lre={}));class ure{get IsDragging(){return this._isDragging}constructor(e,t){this._isDragging=!1,this._dragImage="",this._startPosition={x:0,y:0},this._currentPosition={x:0,y:0},this.currentElement=null,this.parentList=null,this.isClickDnD=!1,this.isWithoutDrag=!1,this.isSingleSelection=!1,this.settings=null,this._cancelDirection=lre.Vertical,this.getPosition=e=>{let t=(e=e.originalEvent||e).pageX,r=e.pageY;return e.touches&&e.touches.length>0&&(t=e.touches[0].pageX,r=e.touches[0].pageY),{x:t,y:r}},this.startFunc=()=>{if(this.parentList){this.parentList.css("overflow-y","hidden"),this.parentList.css("touch-action","none");const e=this.currentElement.find("img");e&&e.length>0&&(e[0].ondragstart=e=>(e.preventDefault(),!1),e.css("-webkit-user-select","none"),e.css("user-select","none"),e.css("-moz-user-select","none"),e.css("-ms-user-select","none"),e.css("-webkit-user-drag","none"),e.attr("draggable",!1))}hse.setDragImage(this._dragImage)},this.endFunc=()=>{if(this.parentList){this.parentList.css("overflow-y","auto"),this.parentList.css("touch-action","pan-y");const e=this.currentElement.find("img");e&&e.length}hse.setDragImage("")},this.clearDragDrop=()=>{this.currentElement&&(this._clicked(),this.currentElement.off("mousemove touchmove",this.onMouseMove),this.currentElement.off("mouseup touchend",this.onMouseUp),this.currentElement.data("draggable")&&this.currentElement.draggable("destroy")),ure.status="",this.isClickDnD=!1,this._isDragging=!1,$(fme.RenderDiv).off("mousedown touchstart",this.onMouseDown),$(document).off("mouseup touchend",this.onMouseUp),0===$le.Count&&FI.clearMarker()},this.onMouseDown=e=>{var t;if((Yse.IsIntersected||!Yse.SceneAction||!(null===(t=Yse.SceneAction)||void 0===t?void 0:t.CanUseCamera))&&(this.startFunc(),this._startPosition=this.getPosition(e),this._currentPosition=this._startPosition,0===e.button||!e.button||e.touches&&e.touches.length>0||e.changedTouches&&e.changedTouches.length>0)){if(ure.lastClickDnD&&ure.lastClickDnD!==this&&ure.lastClickDnD.clearDragDrop(),Yse.onDown(e),!this.currentElement||!this.currentElement.ClickDragDrop)return;if($(fme.RenderDiv).off("mousedown touchstart",this.onMouseDown),$(document).off("mouseup touchend",this.onMouseUp),$(this.currentElement).off("mousemove touchmove",this.onMouseMove),$(document).on("mouseup touchend",this.onMouseUp),this.isSingleSelection)return;(this.settings.isDrag||this.settings.isClickDnD)&&($(this.currentElement).on("mousemove touchmove",this.onMouseMove),hse.IsDragging&&this.onDragMove(e))}},this.onMouseUp=(e,t)=>{if(ure.lastClickDnD&&ure.lastClickDnD!==this&&ure.lastClickDnD.clearDragDrop(),this.currentElement){if(e){if(Wp.getType()===Mp.DESKTOP&&e.target===this.currentElement[0]&&ure.lastClickDnD&&ure.lastClickDnD===this)return;e.stopPropagation(),e.preventDefault()}if(this.currentElement&&this.currentElement.ClickDragDrop){if(ure.status="",!t){if(this.isSingleSelection)return void this.onVClick(e);this.settings.isDrag?this._isDragging?(this._isDragging=!1,kse.isCanvas()&&ure.lastClickDnD===this&&(ure.lastClickDnD=null,this._stopDragging(e)),FI.clearMarker()):this.onVClick(e):Yse.IsMoving||this.onVClick(e)}$(this.currentElement).off("mousemove touchmove",this.onMouseMove),this.settings.isClickDnD&&$(fme.RenderDiv).off("mouseup touchend",this.onMouseUp),$(document).off("mouseup touchend",this.onMouseUp),this.endFunc()}}},this.onDragMove=e=>{if(!this._isDragging&&(this.settings.isDrag||this.settings.isClickDnD)){if(this._isDragging=!0,ure.status="dragged",e.target===this.currentElement[0]&&ure.lastClickDnD&&ure.lastClickDnD===this)return;ure.lastClickDnD=this,this._startDragging(e)}},this.onMouseMove=e=>{this._currentPosition=this.getPosition(e),(Wp.getType()===Mp.MOBILE||e.originalEvent.touches)&&this.getDirection()===this._cancelDirection||this.getDirection()===lre.NONE&&!this._isDragging?this.onMouseUp(null,!0):(e.stopPropagation(),e.preventDefault(),this.onDragMove(e),(this._isDragging||this.isClickDnD)&&Yse.onMove(e))},this.onVClick=e=>{if(e.stopPropagation(),e.preventDefault(),this.currentElement&&this.currentElement.ClickDragDrop){if(this.isSingleSelection)return $(this.currentElement).off("mousemove touchmove",this.onMouseMove),$(fme.RenderDiv).off("mouseup touchend",this.onMouseUp),$(fme.RenderDiv).off("mousedown touchstart",this.onMouseDown),$(document).off("mouseup touchend",this.onMouseUp),void this._stopDragging(e);if(this.isClickDnD&&this.settings.isDrag)ure.lastClickDnD===this&&(ure.lastClickDnD=null),this.isClickDnD=!1,$(fme.RenderDiv).off("mousedown touchstart",this.onMouseDown),this._stopDragging(e);else{if($(".proptransfer-class.selected").removeClass("selected"),ure.status="clicked",this._isDragging=!1,Wp.getType()===Mp.MOBILE&&(this.isClickDnD=!0),e.target===this.currentElement[0]&&ure.lastClickDnD&&ure.lastClickDnD===this)return;ure.lastClickDnD=this,this.currentElement&&this.currentElement.ClickDragDrop&&!this._clicked(e)&&(this.settings.isClickDnD&&this.settings.isDrag?$(fme.RenderDiv).on("mousedown touchstart",this.onMouseDown):(ure.lastClickDnD===this&&(ure.lastClickDnD=null),this.isClickDnD=!1,$(fme.RenderDiv).off("mousedown touchstart",this.onMouseDown)))}}},e.clickdnd=this,void 0!==g_configuration.dragdrop_canceldirection&&(this._cancelDirection=+g_configuration.dragdrop_canceldirection),this._dragImage=t.dragImage,this.currentElement=e,this.settings=t,this.isClickDnD=!1,this.isSingleSelection=t.isSingleSelection||!1,this._isDragging=!1,this.parentList=t.parentList||null,this.isWithoutDrag=t.isWithoutDrag,this.currentElement.css("-webkit-user-select","none"),this.currentElement.css("user-select","none"),this.currentElement.css("-moz-user-select","none"),this.currentElement.css("-ms-user-select","none"),this.currentElement.css("-webkit-user-drag","none"),this.currentElement.prop("draggable",!1),this.initDragDrop()}getLength(){return Math.sqrt((this._currentPosition.x-this._startPosition.x)*(this._currentPosition.x-this._startPosition.x)+(this._currentPosition.y-this._startPosition.y)*(this._currentPosition.y-this._startPosition.y))}getDirection(){const e=this.getLength(),t=Math.abs((this._startPosition.x-this._currentPosition.x)/e),r=Math.abs((this._startPosition.y-this._currentPosition.y)/e);return t>0&&t>r&&r<.5?lre.Horizontal:r>0&&r>t&&t<.5?lre.Vertical:void 0}_clicked(e){return cre(this,void 0,void 0,function*(){if(!e)return;const t=this.currentElement;t.ClickDragDrop.beforeClick(e,t),t.clickdnd.resetStatus();const r=t.article;if(e&&e.preventDefault(),t.dimmer("show"),fle.resetTargetList(),$le.clear(),mm.getViewMode()===Ep.AR){const e=lae.getPOGuids();return ape.deleteLO(e).then(function(){return Dhe.clearScene(!0,!0,!0).then(function(){return ape.PlacerSetDir(Op.RIGHT).then(function(){return ape.PlacerAddObject({ManuHash:r.Manu,ProgHash:r.Prog,ArticleNumber:r.ArtNr.toLowerCase(),extParam:{}},new br).then(function(){return ape.ZeroARScene().then(function(){for(let e=0;e<aae.world.children.length;e++)aae.world.children[e]instanceof Dme&&(aae.world.children[e].position.x=0,aae.world.children[e].position.y=0,aae.world.children[e].position.z=0)})})})})})}return Bde.IsPlacerMode?ape.PlacerAddObject({ManuHash:r.Manu,ProgHash:r.Prog,ArticleNumber:r.ArtNr.toLowerCase(),extParam:{}},new br).then(()=>{t.dimmer("hide"),t.ClickDragDrop.afterClick(e,t)}):ape.loadArticle(Gre.getManufacturer(),Gre.getProgram(),r.ArtNr,"a").then(()=>{t.dimmer("hide"),t.ClickDragDrop.afterClick(e,t)})})}_startDragging(e){return cre(this,void 0,void 0,function*(){const t=this.currentElement;t.ClickDragDrop.beforeDragStart(e,t);const r=t.article;return t.data("isPlanned",""),t.dimmer("show"),ape.PlacerSetDir(Op.FREE).then(()=>{var n;t.data("isPlanned")?(t.data("isPlanned",""),t.ClickDragDrop.afterDragStart(e,t)):(Yse.updateSceneAction("placer"),null===(n=Yse.SceneAction)||void 0===n||n.begin({manu:r.Manu,prog:r.Prog,artNo:r.ArtNr.toLowerCase(),pos:aue.CurrentCamera.getInitArticlePos().toArray()}))})})}_stopDragging(e){return cre(this,void 0,void 0,function*(){const t=this.currentElement;if(t.ClickDragDrop.beforeDragEnd(e,t),t.data("isPlanned",!0),Yse.InteractionMode=Pp.DEFAULT,!Bde.IsFurnplanMode)return ape.PlacerSetDir(Op.RIGHT).then(()=>{t.ClickDragDrop.afterDragEnd(e,t)});t.dimmer("hide")})}_clear(){return cre(this,void 0,void 0,function*(){const e=this.currentElement;e.ClickDragDrop.beforeClear(e),e.ClickDragDrop.afterClear(e)})}initDragDrop(){this.currentElement.ClickDragDrop={afterClick:function(e,t){},beforeClick:function(e,t){},afterClear:function(e,t){},beforeClear:function(e,t){},afterDragStart:function(e,t){},beforeDragStart:function(e,t){},afterDragMove:function(e,t){},beforeDragMove:function(e,t){},afterDragEnd:function(e,t){},beforeDragEnd:function(e,t){}},this.currentElement.on("mousedown touchstart",this.onMouseDown)}static clearLastIfNecessary(){const e=ure.lastClickDnD;e&&e.clearDragDrop(),ure.lastClickDnD=null}resetStatus(){ure.status=""}}function dre(){this.elements={root:$("<div></div>").addClass("view").addClass("hidden").addClass("kata-page-hbt-article-tile"),content:$("<div></div>").addClass("content").on("scroll",this.onScroll.bind(this)),articleList:$("<div></div>").addClass("article-list"),activationButton:$("<div></div>").addClass("button").addClass("tile").on("click",this.show.bind(this))},this.articleList=new are,this.articleList.count=15,this.elements.root.append(this.elements.content.append(this.elements.articleList))}ure.status="",ure.lastClickDnD=null,window._ClickDragDrop=ure,dre.prototype.getActivationButton=function(){return this.elements.activationButton},dre.prototype.show=function(){this.elements.root.removeClass("hidden").siblings().addClass("hidden")},dre.prototype.hasScrollbar=function(){return this.elements.content.get(0).scrollHeight>this.elements.content.height()},dre.prototype.createArticleElement=function(e){const t=$("<div></div>").addClass("article-container").addClass("hidden"),r=$("<div></div>").addClass("info-container"),n=$("<img />").attr("src",lm.getUrl(e.Manu,e.Prog,"art",encodeURIComponent(e.ArtNr.toLowerCase()))).load(function(){t.removeClass("hidden")}).error(function(){t.removeClass("hidden")}),i=$("<span></span>").text(e.ArtNr),o=$("<div></div>").addClass("dimension-container"),s=$("<div></div>").text("H: "+Are.formatDimensionValue(e.dzma)),a=$("<div></div>").text("B: "+Are.formatDimensionValue(e.dxma)),l=$("<div></div>").text("T: "+Are.formatDimensionValue(e.dyma));return t.append(r.append(n).append(i)).append(o.append(s).append(a).append(l))},dre.prototype.renderArticles=function(){const e=this;for(;yre.isVisible()&&!e.hasScrollbar()&&e.articleList.hasMoreElements();)e.articleList.getNext().forEach(function(t){const r=e.createArticleElement(t);e.elements.articleList.append(r),e.createDnD(r,t)})},dre.prototype.updateArticles=function(e){const t=this;t.elements.articleList.empty(),t.articleList.setArticles(e),t.renderArticles()},dre.prototype.createDnD=function(e,t){new ure(e,{isDrag:!Bde.DragDropDisabled&&Bde.IsPlacerMode&&mm.getViewMode()!==Ep.AR,isClickAdd:!0},!0),e.article=t,e.ClickDragDrop.beforeClick=(e,t)=>{t.dimmer("show")},e.ClickDragDrop.afterClick=(e,t)=>{t.dimmer("hide"),yre.onClose()},e.ClickDragDrop.beforeDragStart=(e,t)=>{t.dimmer("show"),yre.onClose()},e.ClickDragDrop.afterDragEnd=(e,t)=>{t.dimmer("hide"),yre.show()}},dre.prototype.onScroll=function(){const e=this,t=e.elements.content.height(),r=e.elements.content.scrollTop(),n=e.elements.articleList.height()-t-r<500,i=yre.isVisible();n&&i&&e.articleList.getNext().forEach(function(t){const r=e.createArticleElement(t);e.elements.articleList.append(r),e.createDnD(r,t)})},dre.prototype.getContent=function(){return this.elements.root};const hre=dre;function pre(){hre.call(this),this.elements.root.removeClass("kata-page-hbt-article-tile").addClass("kata-page-hbt-article-big-tile"),this.elements.activationButton.removeClass("tile").addClass("big-tile")}pre.prototype=Object.create(hre.prototype),pre.prototype.constructor=pre;const mre=pre,_re=function(){this.list=[],this.current=0,this.count=20,this.distanceHelper=0};_re.prototype.increaseIndex=function(e,t){const r=e+(t=void 0===t?1:t%this.list.length);return r>this.list.length-1?r-this.list.length:r},_re.prototype.decreaseIndex=function(e,t){const r=e-(t=void 0===t?1:t%this.list.length);return r<0?this.list.length-Math.abs(r):r},_re.prototype.setArticles=function(e){this.current=0,this.list=e.slice(0)},_re.prototype.getNext=function(e){return this.current=this.increaseIndex(this.current,e),this.list[this.current]},_re.prototype.getPrevious=function(e){return this.current=this.decreaseIndex(this.current,e),this.list[this.current]},_re.prototype.getMiddle=function(){return this.list[this.getMiddleIndex()]},_re.prototype.getMiddleIndex=function(){return this.decreaseIndex(this.current,4)},_re.prototype.getNextRight=function(){return this.getNext()},_re.prototype.getNextLeft=function(){this.getPrevious();const e=this.getLeftBoundaryIndex();return this.list[e]},_re.prototype.getLeftBoundaryIndex=function(){return this.decreaseIndex(this.getMiddleIndex(),4)},_re.prototype.getRightBoundaryIndex=function(){return this.current};const gre=_re;function fre(){this.elements={root:$("<div></div>").addClass("view").addClass("hidden").addClass("kata-page-hbt-article-showroom"),content:$("<div></div>").addClass("content").on("swipeleft",this.onRightClick.bind(this)).on("swiperight",this.onLeftClick.bind(this)),leftButton:$("<div></div>").addClass("button").text("<").on("click",this.onLeftClick.bind(this)),rightButton:$("<div></div>").addClass("button").text(">").on("click",this.onRightClick.bind(this)),articleInfo:{container:$("<div></div>").addClass("article-info"),articleNumber:$("<div></div>").addClass("article-number"),articleDimensionContainer:$("<div></div>").addClass("article-dimensions"),articleDimensions:{x:$("<div></div>").addClass("article-dimension"),y:$("<div></div>").addClass("article-dimension"),z:$("<div></div>").addClass("article-dimension")}},articleList:$("<div></div>").addClass("article-list"),activationButton:$("<div></div>").addClass("button").addClass("showroom").on("click",this.show.bind(this))},this.articleList=new gre,this.elements.root.append(this.elements.content.append(this.elements.articleInfo.container.append(this.elements.articleInfo.articleNumber).append(this.elements.articleInfo.articleDimensionContainer.append(this.elements.articleInfo.articleDimensions.z).append(this.elements.articleInfo.articleDimensions.x).append(this.elements.articleInfo.articleDimensions.y))).append(this.elements.leftButton).append(this.elements.articleList).append(this.elements.rightButton))}fre.prototype.getActivationButton=function(){return this.elements.activationButton},fre.prototype.show=function(){this.elements.root.removeClass("hidden").siblings().addClass("hidden")},fre.prototype.createArticleElement=function(e){const t=$("<div></div>").addClass("article-container"),r=$("<img />").attr("src",lm.getUrl(e.Manu,e.Prog,"art",encodeURIComponent(e.ArtNr.toLowerCase())));return t.append(r)},fre.prototype.updateArticleInfo=function(e){this.elements.articleInfo.articleNumber.text(e.ArtNr),this.elements.articleInfo.articleDimensions.z.text("H: "+Are.formatDimensionValue(e.dzma)),this.elements.articleInfo.articleDimensions.x.text("B: "+Are.formatDimensionValue(e.dxma)),this.elements.articleInfo.articleDimensions.y.text("T: "+Are.formatDimensionValue(e.dyma))},fre.prototype.renderArticles=function(){},fre.prototype.updateArticles=function(e){const t=this;if(t.elements.articleList.empty(),0!==e.length){t.articleList.setArticles(e);for(let e=0;e<=8;e++)t.elements.articleList.append(t.createArticleElement(t.articleList.getNext()));this.updateGUI()}},fre.prototype.rotateLeft=function(){this.elements.articleList.children().last().remove(),this.elements.articleList.prepend(this.createArticleElement(this.articleList.getNextLeft()))},fre.prototype.rotateRight=function(){this.elements.articleList.children().first().remove(),this.elements.articleList.append(this.createArticleElement(this.articleList.getNextRight()))},fre.prototype.updateGUI=function(){const e=this;this.elements.articleList.children().off("click");const t=$(this.elements.articleList.children().get(4));t.data("clickdnd")&&t.data("clickdnd").clearDragDrop(),new ure(t,{isDrag:!Bde.DragDropDisabled&&Bde.IsPlacerMode&&mm.getViewMode()!==Ep.AR,isClickAdd:!0},!0),t.article=e.articleList.getMiddle(),t.ClickDragDrop.beforeClick=(e,t)=>{t.dimmer("show"),yre.onClose()},t.ClickDragDrop.afterClick=(e,t)=>{t.dimmer("hide")},t.ClickDragDrop.beforeDragStart=(e,t)=>{t.dimmer("show"),yre.onClose()},t.ClickDragDrop.afterDragEnd=(e,t)=>{t.dimmer("hide"),yre.show()},this.elements.articleList.children().toArray().forEach(function(e,t,r){const n=Math.floor(r.length/2);$(e).attr("direction",t-n)}),this.elements.articleList.children(":not(:nth-child(5))").on("click",function(t){e.rotate(+$(this).attr("direction")),t.stopPropagation()}),this.updateArticleInfo(this.articleList.getMiddle())},fre.prototype.rotate=function(e){const t=this;if(""===ure.status){const n=this.elements.articleList.children("[direction=0]");n.data("clickdnd")&&n.data("clickdnd").clearDragDrop();var r=Promise.method(function(e){if(e>0)t.rotateRight(),e--;else if(e<0)t.rotateLeft(),e++;else if(0===e)return Promise.resolve();return r(e)});r(e).then(this.updateGUI.bind(this))}},fre.prototype.onLeftClick=function(){this.rotate(-1)},fre.prototype.onRightClick=function(){this.rotate(1)},fre.prototype.getContent=function(){return this.elements.root};const vre=fre;function bre(){const e=this;this.originalArticles,this.elements={parentElement:$("#renderContainer"),root:$("<div></div>").addClass("kata-page-hbt-article-window").addClass("dhmcBorder").addClass("invisible"),titleBar:$("<div></div>").addClass("title-bar"),searchField:{container:$("<div></div>").addClass("search-field-container"),input:$("<input>").attr("placeholder","Artikel-Nr.").attr("tabindex","-1").on("input",this.onSearchInputChange.bind(this)),icon:$("<div></div>").addClass("magnifier-icon")},articleCount:$("<div></div>").addClass("article-count"),viewButtons:$("<div></div>").addClass("view-buttons"),closeButton:$("<div></div>").addClass("close-button").on("click",this.onClose.bind(this)).text("X"),header:$("<div></div>").addClass("header"),content:$("<div></div>").addClass("content")},this.views=[new hre,new mre,new vre],this.views.forEach(function(t,r){e.elements.content.append(t.getContent()),e.elements.viewButtons.append(t.getActivationButton().on("click",function(){window.localStorage.setItem("lastArticleWindowViewIndex",r)}))});let t=0;try{t=parseInt(window.localStorage.getItem("lastArticleWindowViewIndex"))||0}catch(e){t=0}this.views[t].show(),this.elements.parentElement.prepend(this.elements.root.append(this.elements.titleBar.append(this.elements.viewButtons).append(this.elements.articleCount).append(this.elements.searchField.container.append(this.elements.searchField.input).append(this.elements.searchField.icon)).append(this.elements.closeButton)).append(this.elements.header).append(this.elements.content))}bre.prototype.updateArticleCount=function(e){this.elements.articleCount.text(e.length+" Artikel")},bre.prototype.show=function(){this.elements.root.removeClass("invisible"),this.views.forEach(function(e){e.renderArticles()}),ore.dispatch("kataTreeArticleWindowOpened")},bre.prototype.hide=function(){this.elements.root.addClass("invisible")},bre.prototype.isVisible=function(){return!this.elements.root.hasClass("invisible")},bre.prototype.filterArticles=function(e){const t=this.elements.searchField.input.val();return t.length>0?e.filter(function(e){return new RegExp(t,"ig").test(e.ArtNr)}):e},bre.prototype.updateChildren=function(e){this.views.forEach(function(t){t.updateArticles(e)})},bre.prototype.updateArticles=function(e){this.originalArticles=e;const t=this.filterArticles(e);this.updateArticleCount(t),this.updateChildren(t)},bre.prototype.onClose=function(){this.hide(),ore.dispatch("kataTreeArticleWindowClosed")},bre.prototype.onSearchInputChange=function(){const e=this.filterArticles(this.originalArticles);this.updateArticleCount(e),this.updateChildren(e)};const yre=new bre,$re={global:{}},xre={dzma:"Höhe",dxma:"Breite",dyma:"Tiefe"},Sre=["dzma","dxma","dyma"];function wre(){const e=this;this.articles=[],this.articleList=new are,this.elements={root:null,filterSection:null,miniFilter:{container:null},maxiFilter:null,articleCountSectionNumber:null,articleSection:null,articleList:null,labels:{miniFilter:{dzma:null,dxma:null,dyma:null},maxiFilter:{dzma:null,dxma:null,dyma:null}}},ore.on("kataTreeArticleWindowClosed",function(){e.showDefaultFilterSection()}),ore.on("kataTreeArticleWindowOpened",function(){e.showFullFilterSection()})}wre.formatDimensionValue=function(e){return"*"===e?e:(e/(1/Bde.DimensionScale)).toFixed(1).replace(".",",")},wre.prototype.getDistinctValues=function(e,t){const r={};return e.forEach(function(e){r[e[t]]=0}),Object.keys(r).sort(function(e,t){return+e>+t?1:+e<+t?-1:0})},wre.prototype.getEmptyValuesByDefault=function(e){const t=this,r={};return Object.keys(e).forEach(function(n){r[n]=[];t.getDistinctValues(t.articles,n).forEach(function(i){const o={};Object.keys(e).forEach(function(t){o[t]=e[t]}),o[n]=i;0===t.getArticlesByDimensions(o).length&&r[n].push(i)})}),r},wre.prototype.getEmptyValuesByReference=function(e,t){const r=this,n={};return Object.keys(e).forEach(function(i){if(i===t)return;n[i]=[];const o=r.getDistinctValues(r.articles,i),s={};s[t]=e[t],o.forEach(function(e){s[i]=e;0===r.getArticlesByDimensions(s).length&&n[i].push(e)})}),n},wre.prototype.getEmptyValues=function(e,t,r,n){if(r||n)return this.elements.maxiFilter.find(".all").not("#"+t+"all").prop("checked",!0),this.getEmptyValuesByReference(e,t);const i=Object.keys(e).filter(function(t){return"*"===e[t]}).length;return 3===i?{}:2===i?(this.elements.maxiFilter.find(".all").not("#"+t+"all").prop("checked",!0),this.getEmptyValuesByReference(e,t)):this.getEmptyValuesByDefault(e)},wre.prototype.getSelectedDimensions=function(){const e={};return this.elements.maxiFilter.find("input:checked").toArray().forEach(function(t){const r=$(t).attr("name"),n=$(t).val();e[r]=n}),e},wre.prototype.getArticlesByDimensions=function(e){return this.articles.filter(function(t){return Object.keys(e).every(function(r){return"*"===e[r]||t[r]===e[r]})})},wre.prototype.updateFilters=function(e,t,r){const n=this,i=n.getSelectedDimensions(),o=n.getEmptyValues(i,e,t,r);n.elements.maxiFilter.find(".disabled").removeClass("disabled"),Sre.forEach(function(e){o[e]&&o[e].forEach(function(t){const r=e+t;n.elements.maxiFilter.find("label[for='"+r+"']").parent().addClass("disabled")})}),n.elements.maxiFilter.find("input:checked").toArray().forEach(function(e){const t=$(e).attr("name");n.elements.miniFilter[t].text(wre.formatDimensionValue($(e).val()))})},wre.prototype.createArticleElement=function(e){const t=$("<img />").attr("src",lm.getUrl(e.Manu,e.Prog,"art",encodeURIComponent(e.ArtNr.toLowerCase()))).error(function(e){$(this).attr("src","/images/not_available.png")}),r=$("<span></span>").text(e.ArtNr),n=$("<div></div>").addClass("info-container").append(t).append(r),i=$("<div></div>").text("H: "+wre.formatDimensionValue(e.dzma)),o=$("<div></div>").text("B: "+wre.formatDimensionValue(e.dxma)),s=$("<div></div>").text("T: "+wre.formatDimensionValue(e.dyma)),a=$("<div></div>").addClass("dimension-container").append(i).append(o).append(s),l=$("<div></div>").addClass("article-container").append(n).append(a);l.dimmer("add content",$('<div class="ui text loader">Loading</div>')),new ure(l,{isDrag:!Bde.DragDropDisabled&&Bde.IsPlacerMode&&mm.getViewMode()!==Ep.AR,isClickAdd:!0,offsetCursor:!1,waitDelay:200,parentList:this.elements.articleSection},!0),l.article=e,l.ClickDragDrop.beforeClick=(e,t)=>{t.dimmer("show")},l.ClickDragDrop.afterClick=(e,t)=>{t.dimmer("hide")},l.ClickDragDrop.beforeDragStart=(e,t)=>{t.dimmer("show")},l.ClickDragDrop.afterDragEnd=(e,t)=>{t.dimmer("hide")},this.elements.articleList.append(l)},wre.prototype.updateArticles=function(){const e=this;e.elements.articleList.empty();const t=this.getSelectedDimensions(),r=e.getArticlesByDimensions(t);this.articleList.setArticles(r),yre.updateArticles(r),e.elements.articleCountSectionNumber.text(this.articleList.getArticles().length),this.articleList.getNext().forEach(function(t){e.createArticleElement(t)});const n=this.articleList.getArticles().map(function(e){return e.ArtNr});setTimeout(function(){ore.dispatch("articlesChanged",[n])},200)},wre.prototype.resetFilterVisibility=function(){this.elements.miniFilter.container.addClass("hidden"),this.elements.maxiFilter.removeClass("hidden")},wre.prototype.showArticleSection=function(){this.elements.articleCountSection.removeClass("hidden"),this.elements.articleSection.removeClass("hidden")},wre.prototype.hideArticleSection=function(){this.elements.articleCountSection.addClass("hidden"),this.elements.articleSection.addClass("hidden")},wre.prototype.showFullFilterSection=function(){this.hideArticleSection(),this.resetFilterVisibility(),this.elements.filterSection.addClass("expanded")},wre.prototype.showDefaultFilterSection=function(){this.showArticleSection(),this.elements.filterSection.removeClass("expanded")},wre.prototype.build=function(e,t){const r=this,n=$("<div></div>").addClass("module");r.elements.root=n,r.articles=e.Articles[0].filter(e=>"0"!==e.ClassID);const i=Gre.getManufacturer()+Gre.getProgram()+e.templ+e.Index;$re[i+t]=$re[i+t]||{};const o=$("<div></div>").addClass("mini-filter").addClass("hidden"),s=$("<div></div>").addClass("maxi-filter"),a=$("<div></div>").addClass("section filter").append(o).append(s);g_configuration.panel_right_show_dimensions_list&&a.addClass("hidden"),r.elements.filterSection=a,r.elements.miniFilter.container=o,r.elements.maxiFilter=s,Sre.forEach(function(e){const n=$("<div></div>"),o=$("<label></label>").text(xre[e].split("")[0]),s=$("<span></span>");r.elements.labels.miniFilter[e]=o,n.append(o).append(s),r.elements.miniFilter[e]=s,r.elements.miniFilter.container.append(n);const a=$("<div></div>").addClass("filter-section"),l=$("<h4></h4>").text(xre[e]);r.elements.labels.maxiFilter[e]=l,a.append(l);const c=e+"all",u=$("<div></div>").addClass("ui radio checkbox"),d=$("<input />").attr("id",c).addClass("all").attr("type","radio").attr("name",e).val("*").click(function(){$re[i+t][e]=$(this).val(),$re.global[e]=$(this).val(),r.updateFilters(e),r.updateArticles()}),h=$("<label></label>").attr("for",c).text("*");u.append(d).append(h).click(function(){r.resetFilterVisibility()}),a.append(u),r.getDistinctValues(r.articles,e).forEach(function(n,o){const s=e+n,l=$("<div></div>").addClass("ui radio checkbox");function c(n,o){$re[i+t][e]=$(n).val(),$re.global[e]=$(n).val(),r.updateFilters(e,o,$(n).parent().hasClass("disabled")),r.updateArticles()}const u=$("<input />").attr("id",s).attr("type","radio").attr("name",e).val(n).click(function(){c(this,!1)}).dblclick(function(){c(this,!0)}),d=$("<label></label>").attr("for",s).text(wre.formatDimensionValue(n)).dblclick(function(){c($("#"+s),!0)});l.append(u).append(d).click(function(){r.resetFilterVisibility()}),a.append(l)}),r.elements.maxiFilter.append(a);try{const r=$re.global[e],n=!!r,o=a.find("input[name='"+e+"'][value='"+r+"']").length>0,s=$re[i+t][e],l=!!s;n&&o?a.find("input[name='"+e+"'][value='"+r+"']").prop("checked",!0):l?a.find("input[name='"+e+"'][value='"+s+"']").prop("checked",!0):a.find("input[name='"+e+"']").first().prop("checked",!0)}catch(t){a.find("input[name='"+e+"']").first().prop("checked",!0)}a.find("input[name='"+e+"']:checked").val()});const l=$("<div></div>").addClass("maximize-icon");r.elements.miniFilter.container.append(l),n.append(a),r.updateFilters(Sre[0]);const c=$("<div></div>").addClass("section article-count"),u=$("<div></div>").addClass("article-count-container"),d=$("<span></span>").addClass("dhmc-space-wrap").text(0),h=$("<span></span>").text("Artikel"),p=$("<div></div>").addClass("decouple-icon").on("click",function(){yre.show()});c.append(u.append(d).append(h)).append(p),r.elements.articleCountSectionNumber=d,r.elements.articleCountSection=c,n.append(c);const m=$("<div></div>").addClass("section article"),_=$("<div></div>").addClass("article-list");m.append(_),this.elements.articleSection=m,this.elements.articleList=_,this.updateArticles(),n.append(m);let g=0;return m.on("scroll",function(e){m.scrollTop()>g&&(r.elements.miniFilter.container.removeClass("hidden"),r.elements.maxiFilter.addClass("hidden"),Gre.elements.kataTreeBox.addClass("minimized")),g=m.scrollTop();const t=r.elements.articleSection.height(),n=r.elements.articleSection.scrollTop(),i=r.elements.articleList.height()-t-n<500,o=r.elements.articleSection.is(":visible");i&&o&&r.articleList.getNext().forEach(function(e){r.createArticleElement(e)})}),yre.isVisible()&&r.showFullFilterSection(),n},wre.prototype.updateLanguageTexts=function(){this.elements.labels.miniFilter.dzma.text(boe.getValue("fv.right.panel.catalogue.dimensions.height").split("")[0]),this.elements.labels.miniFilter.dxma.text(boe.getValue("fv.right.panel.catalogue.dimensions.width").split("")[0]),this.elements.labels.miniFilter.dyma.text(boe.getValue("fv.right.panel.catalogue.dimensions.depth").split("")[0]),this.elements.labels.maxiFilter.dzma.text(boe.getValue("fv.right.panel.catalogue.dimensions.height")),this.elements.labels.maxiFilter.dxma.text(boe.getValue("fv.right.panel.catalogue.dimensions.width")),this.elements.labels.maxiFilter.dyma.text(boe.getValue("fv.right.panel.catalogue.dimensions.depth"))};const Are=wre;function Cre(){this.elements={root:null}}Cre.prototype.initializePropertyTransfer=function(){return this.hierarchy=Yoe.hierarchies.kataTreeHierarchy,this.hierarchy.clear(),ape.getPropTransferData(!0).then(function(e){Yoe.parsePropTrans(e)})},Cre.prototype.rebuildButtons=function(){const e=this;this.initializePropertyTransfer().then(function(){return Promise.join(ape.getPropDelElems(),ape.getArticleAccessories(Gre.getManufacturer(),Gre.getProgram(),e.articleNumbers))}).then(function([t,r]){const n=t.Results;e.elements.propertyContainer.empty(),r.forEach(function(t){const r=e.hierarchy.getElementsByHPTID(t.ZManu+"_"+t.ZProg+"_"+t.ZArtNr);r.length>0&&(r[0].setDeleteButton(!0),e.elements.propertyContainer.append(r[0].buildDOM()),n.length>0&&r[0].checkIIs(n))})})},Cre.prototype.createHeader=function(){const e=this;return $("<header></header>").text("Zubehör").click(function(){e.elements.propertyContainer.toggleClass("minimized")})},Cre.prototype.createPropertyContainer=function(){return $("<div></div>").addClass("property-button-container").addClass("minimized")},Cre.prototype.build=function(e,t){const r=this,n=$("<div></div>").addClass("module").addClass("prop");return r.elements.root=n,r.elements.header=r.createHeader(),r.elements.propertyContainer=r.createPropertyContainer(),r.elements.root.append(r.elements.header),r.elements.root.append(r.elements.propertyContainer),ore.on("sceneChanged",function(){r.rebuildButtons()}),ore.on("articlesChanged",function(e){r.articleNumbers=e,r.rebuildButtons()}),n},Cre.prototype.updateLanguageTexts=function(){this.elements.header.text(boe.getValue("fv.wizard.steps.fitting"))};const Ere=Cre;const Ire=class{constructor(e,t,r,n){this._id=e,this._name=t,this._hash=r,this._photos=n}get id(){return this._id}set id(e){this._id=e}get name(){return this._name}set name(e){this._name=e}get hash(){return this._hash}set hash(e){this._hash=e}get photos(){return this._photos}set photos(e){this._photos=e}};var Mre=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};const kre=new class{constructor(){}b64toBlob(e,t="application/octet-stream"){let r=e;return/^data:[\w\d]+\/[\w\d]+;base64,/.test(r)||(r=`data:${t};base64,${e}`),fetch(r).then(e=>e.blob()).then(e=>{const t=URL.createObjectURL(e);return setTimeout(()=>URL.revokeObjectURL(t),3e4),t})}fixQueryParameter(e,t=!1){const r=g_sessionId,n=window.g_auth_id,i=/\?.*$/.test(e);if(!new RegExp(`\\?.*session=${r}.*$`).test(e)){let o=`${i?"&":"?"}session=${r}${n?`&auth_id=${n}`:""}`;return t&&(o=encodeURIComponent(o)),`${e}${o}`}return e}fetch(e,t){return Mre(this,void 0,void 0,function*(){e=this.fixQueryParameter(e);const r={method:(t=t||{}).method||"GET",mode:t.cors?"no-cors":"same-origin",cache:t.cache?"default":"no-cache",credentials:"same-origin",redirect:"follow"};return t.contentType&&(r.headers=new Headers({"Content-Type":t.contentType})),t.body&&(t.body&&"string"!=typeof t.body&&(t.body=JSON.stringify(t.body)),r.body=t.body),yield fetch(new Request(e,r))})}getJson(e){return Mre(this,void 0,void 0,function*(){return this.fetch(e,{method:"GET",cache:!1,cors:!0,contentType:"application/json"}).then(e=>Mre(this,void 0,void 0,function*(){return yield e.json()}))})}get(e){return Mre(this,void 0,void 0,function*(){return this.fetch(e,{method:"GET",cache:!1,cors:!0})})}post(e,t){return Mre(this,arguments,void 0,function*(e,t,r="text/plain"){return this.fetch(e,{method:"POST",cache:!1,body:t,contentType:r})})}delete(e){return Mre(this,void 0,void 0,function*(){return this.fetch(e,{method:"DELETE",cache:!1})})}postFormData(e,t){return Mre(this,void 0,void 0,function*(){return new Promise((r,n)=>{$.ajax({type:"POST",url:this.fixQueryParameter(e),data:t,processData:!1,contentType:!1,cache:!1,method:"POST",success:(e,t,n)=>{r({data:e,status:t})}})})})}};var Tre;!function(e){e[e.BLACKLIST=0]="BLACKLIST",e[e.WHITELIST=1]="WHITELIST"}(Tre||(Tre={}));const Rre=new class{constructor(){this._blackListed={},this._whiteListed={},this._loaded=!1,this._type={},this._orderList={},this._customPDF={},this._customGlobalPDF={}}getCustomPDFList(e){return this._customPDF[e]}getOrderList(e){return this._orderList[e]}getCustomPDFURL(e,t){return this._customPDF&&this._customPDF[e]&&this._customPDF[e][t]?kre.fixQueryParameter(`${window.origin}/custom-pdf/${this._customPDF[e][t].id}/${this._customPDF[e][t].md5}`,!0):null}getCustomGlobalPDFURL(e,t,r){if(r&&t){const n=r.replace(/ /g,"_").toLocaleLowerCase().replace(/\./g,"_"),i=`${t}_${g_language.toLocaleLowerCase()}_${n}`,o=`${t}_${n}_${g_language.toLocaleLowerCase()}`,s=`${t}_${g_language.toLocaleLowerCase()}_${n}`;if(this._customGlobalPDF&&this._customGlobalPDF[e]){const t=this._customGlobalPDF[e][s]||this._customGlobalPDF[e][i]||this._customGlobalPDF[e][o];if(t&&t.id&&t.md5)return kre.fixQueryParameter(`${window.origin}/custom-pdf/${t.id}/${t.md5}`,!0)}}return null}isBlackListed(e,t){return this._blackListed[e]&&-1!==this._blackListed[e].indexOf(t)}isWhiteListed(e,t){return this._whiteListed[e]&&-1!==this._whiteListed[e].indexOf(t)}getAccessList(e){const t={};return this._blackListed[e]&&(t.blackListed=this._blackListed[e].slice()),this._whiteListed[e]&&(t.whiteListed=this._whiteListed[e].slice()),t}blackListExists(e){return!!this._blackListed[e]}whiteListExists(e){return!!this._whiteListed[e]}whiteListContains(e,t,r){return r?!!this._whiteListed[e]&&this._whiteListed[e].filter(function(e){return e.toLocaleLowerCase().startsWith(t)}).length>0:!!this._whiteListed[e]&&this._whiteListed[e].filter(function(e){return-1!==e.toLocaleLowerCase().indexOf(t)}).length>0}blackListContains(e,t,r){return r?!!this._blackListed[e]&&this._blackListed[e].filter(function(e){return e.toLocaleLowerCase().startsWith(t)}).length>0:!!this._blackListed[e]&&this._blackListed[e].filter(function(e){return-1!==e.toLocaleLowerCase().indexOf(t)}).length>0}loadAccessLists(){g_configuration&&g_configuration.accessListSettings&&Object.keys(g_configuration.accessListSettings).forEach(e=>{!g_configuration.accessListSettings[e]||g_configuration.accessListSettings[e].type||this._blackListed[e]||(this._blackListed[e]=g_configuration.accessListSettings[e].keys),g_configuration.accessListSettings[e]&&g_configuration.accessListSettings[e].type&&!this._whiteListed[e]&&(this._whiteListed[e]=g_configuration.accessListSettings[e].keys),g_configuration.accessListSettings[e]&&!this._orderList[e]&&(this._orderList[e]=g_configuration.accessListSettings[e].orders),g_configuration.accessListSettings[e]&&!this._customPDF[e]&&(this._customPDF[e]=g_configuration.accessListSettings[e].custom_global_pdf),g_configuration.accessListSettings[e]&&!this._customGlobalPDF[e]&&(this._customGlobalPDF[e]=g_configuration.accessListSettings[e].custom_global_pdf),this._type[e]=g_configuration.accessListSettings[e].type}),this._loaded=!0}hasList(e){return!!this._blackListed[e]||!!this._whiteListed[e]}isLoaded(){return this._loaded}isType(e,t){return this._type[e]==t}is(e){return{ofType:t=>this.isType(e,t)}}containsElement(e){return this._type.hasOwnProperty(e)}};var Lre=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};const Pre=new class{constructor(){this.currentProgIndex=0,this.currentProgImageIndex=0,this.progIndexes=[]}init(){return Lre(this,void 0,void 0,function*(){const e=this;return this.prevProgImage=this.prevProgImage.bind(this),this.nextProgImage=this.nextProgImage.bind(this),$("#loadDefault").click(function(){return Lre(this,void 0,void 0,function*(){$(document).trigger("restoreDefaultScene",[e.currentProg,e.currentManufacturer])})}),$("#cancelProgSelect").click(()=>{this.hide()}),$("#loadProgSelect").click(function(){$(document).trigger("selectProgByImg",[e.currentProg,e.currentManufacturer])}),$("#progContainer").on("wheel",function(t){t.preventDefault(),t.originalEvent.deltaY<0?e.prevProg():e.nextProg()}),$("#progContainer").on("touchstart",function(t){e.touchYStart=t.originalEvent.touches[0].clientY,e.touchXStart=t.originalEvent.touches[0].clientX}),$("#progContainer").on("touchend",function(t){const r=t.originalEvent.changedTouches[0].clientY;r>e.touchYStart+300&&e.nextProg(),r<e.touchYStart-300&&e.prevProg();const n=t.originalEvent.changedTouches[0].clientX;n>e.touchXStart+300&&e.nextProgImage(),n<e.touchXStart-300&&e.prevProgImage()}),$("#prevPhoto").on("click",this.prevProgImage),$("#nextPhoto").on("click",this.nextProgImage),$("#selectProgram").modal({onHide:()=>{pM.dispatch("ProgImagesWindowComponent.hide",[])}}),$("#selectProgram").modal("hide"),new Promise(e=>requestAnimationFrame(()=>requestAnimationFrame(()=>e())))})}set(e){return Lre(this,void 0,void 0,function*(){const t=this;this.currentManufacturer=e;const r=$("#progList");this.progs=new Map,this.currentProgIndex=0,this.currentProgImageIndex=0,this.progIndexes=[];const n=yield ape.getAccessablePrograms(this.currentManufacturer.manu),i=new Promise(function(e,r){$.get(g_node_url_prefix+"/media/progimg/"+t.currentManufacturer.manu,{}).done(function(t){e(t)}).fail(function(e,t,n){r(new Error(e))})}),o=yield i,s=[];n.forEach(function(e){s.includes(e.name)||s.push(e.name)});const a=Rre.getOrderList("programs");if(a&&s.sort((e,t)=>{let r=a[`${this.currentManufacturer.manu}_${e.toLowerCase()}`],n=a[`${this.currentManufacturer.manu}_${t.toLowerCase()}`];return r=r&&!isNaN(r.order)?+r.order:-1,n=n&&!isNaN(n.order)?+n.order:-1,r-n}),o.length>0){s.forEach(e=>{o.filter(t=>t.prog===e).forEach(e=>{if(t.progs.has(e.prog))t.progs.get(e.prog).photos.push(e.file.replace(".jpg",""));else{const r=[];r.push(e.file.replace(".jpg","")),t.progs.set(e.prog,new Ire(e.prog,"","",r))}})}),n.forEach(function(e){t.progs.has(e.name)&&(t.progs.get(e.name).hash=e.progHash,t.progs.get(e.name).name=e.text)}),this.progs.size>0&&this.setCurrentProg(this.progs.values().next().value.id),r.empty();let e=!0;this.progs.forEach(function(n,i){t.progIndexes.push(i);const o=$("<li></li>"),s=$("<a></a>");s.attr("href","#"+n.id),s.text(n.name),s.click(function(e){e.preventDefault(),t.setCurrentProg(n.id),t.currentProgIndex=t.progIndexes.indexOf(n.id),r.find("a").removeClass("active"),$(e.target).addClass("active")}),e&&(s.addClass("active"),e=!1),o.append(s),r.append(o)})}else this.hide()})}getProgImagesCount(){return this.progs.size}show(){$("#selectProgram").modal("show")}hide(){$("#selectProgram").modal("hide"),$(".ui.dimmer.modals.page").removeClass("active"),$(".ui.dimmer.modals.page").removeClass("visible"),$(".ui.dimmer.modals.page").css("display","none")}setCurrentProg(e){this.currentProg=this.progs.get(e),this.currentProgImageIndex=0;const t=$("#currentProg");t.empty(),t.append(this.currentProg.name),this.setCurrentProgImage(),$("#prevPhoto").hide(),1===this.currentProg.photos.length?($("#prevPhoto").hide(),$("#nextPhoto").hide()):$("#nextPhoto").show()}setCurrentProgImage(){$("#progImage").attr("src",lm.getUrl(this.currentManufacturer.manuHash,this.currentProg.hash,"milieu",this.currentProg.photos[this.currentProgImageIndex].toLowerCase()))}nextProg(){this.currentProgIndex<this.progIndexes.length-1&&(++this.currentProgIndex,this.setCurrentProg(this.progIndexes[this.currentProgIndex]))}prevProg(){this.currentProgIndex>0&&(--this.currentProgIndex,this.setCurrentProg(this.progIndexes[this.currentProgIndex]))}nextProgImage(){this.currentProgImageIndex<this.currentProg.photos.length-1&&(++this.currentProgImageIndex,this.setCurrentProgImage()),this.currentProgImageIndex+1===this.currentProg.photos.length&&$("#nextPhoto").hide(),this.currentProg.photos.length>0&&$("#prevPhoto").show()}prevProgImage(){this.currentProgImageIndex>0&&(--this.currentProgImageIndex,this.setCurrentProgImage()),0===this.currentProgImageIndex&&$("#prevPhoto").hide(),this.currentProg.photos.length>0&&$("#nextPhoto").show()}};var Dre=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class Nre{constructor(e,t,r){this._manu=e,this._manuL=t,this._manuHash=r}get manu(){return this._manu}get manuL(){return this._manuL}get manuHash(){return this._manuHash}static getManufacturerList(){return Dre(this,void 0,void 0,function*(){const e=new Map;return(yield ape.getAccessableManufacturers(!1)).forEach(function(t){t.ManuL.length>0&&e.set(t.Manu,new Nre(t.Manu,t.ManuL,t.mhash))}),e})}}const Fre=Nre;var Ore=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};let Bre="",Ure="";const Vre={};let zre=[];function Hre(){this.elements={root:$(".kata-tree-root"),manu:$(".manu"),prog:$(".prog"),manufacturerBox:null,programBox:null,programSelect:null,kataTreeBox:$(".kata-tree"),kataPageBox:$(".kata-page")},this.onChangeProgram=this.onChangeProgram.bind(this)}Hre.prototype.createManufacturerBox=function(){const e=this;e.elements.root.children(".inputRow").removeClass("segmantic-ui-negative-first-child-margin");const t=$("<option></option>").val("").text("Hersteller"),r=$("<select></select>").addClass("ui fluid search selection dropdown").append(t).dropdown({onChange:function(t,r,n){return Ore(this,void 0,void 0,function*(){const r=t;Bre=r,g_configuration.panel_right_show_program_selection&&(e.clearProgramBox(),e.fillProgramBox(r)),g_configuration.panel_right_show_programimages_selection&&(yield e.setProgImageComponent()),e.clearKataTreeBox(),e.clearKataPageBox()})}});this.elements.manufacturerBox=r.children(".menu"),this.elements.manu.append(r)},Hre.prototype.setProgImageComponent=function(){return Ore(this,void 0,void 0,function*(){let e;(yield ape.getAccessableManufacturers(!1)).forEach(function(t){t.Manu.toLowerCase()===Bre.toLowerCase()&&(e=new Fre(t.Manu,t.ManuL,t.mhash)),t.ManuL.length}),yield Pre.set(e)})},Hre.prototype.createProgramBox=function(){this.elements.root.children(".inputRow").removeClass("segmantic-ui-negative-first-child-margin");const e=$("<option></option>").val("").text("Programm"),t=$("<select></select>").addClass("ui fluid search selection dropdown").append(e),r=t.dropdown({onChange:this.onChangeProgram});this.elements.programBox=r.children(".menu"),this.elements.prog.append(r),this.elements.programSelect=t},Hre.prototype.onChangeProgram=function(e){const t=e;Ure=t;const r=this.getManufacturer();this.elements.programBox&&this.elements.programBox.parent().dropdown("set selected",e.toLowerCase()),this.clearKataTreeBox(),this.clearKataPageBox(),ape.setManuProg(r,t,this.getCalcManufacturer()).then(()=>{this.buildKataTree(r,t)})},Hre.prototype.getManufacturer=function(){let e=Bre;const t=Object.keys(Vre);if(t.length>0&&-1!==t.indexOf(Bre)){const t=Object.keys(Vre[Bre]);t.length>0&&-1!==t.indexOf(Ure)&&(e=Vre[Bre][Ure].manu||Bre)}return e},Hre.prototype.getCalcManufacturer=function(){let e="";const t=Object.keys(Vre);if(t.length>0&&-1!==t.indexOf(Bre)){const t=Object.keys(Vre[Bre]);t.length>0&&-1!==t.indexOf(Ure)&&(e=Vre[Bre][Ure].FromManufacturer||"")}return e},Hre.prototype.setManufacturer=function(e){Bre=e},Hre.prototype.getProgram=function(){return Ure},Hre.prototype.setProgram=function(e){Ure=e},Hre.prototype.fillManufacturerBox=function(){return Ore(this,void 0,void 0,function*(){const e=this;(yield ape.getAccessableManufacturers()).forEach(function(t){if(t.ManuL.length>0){const r=$("<option></option>").val(t.Manu.toLowerCase()).data("manufacturer-info",t).html(t.ManuL);e.elements.manufacturerBox.siblings("select").append(r)}}),e.elements.manufacturerBox.parent().dropdown("refresh")})},Hre.prototype.clearProgramBox=function(){this.elements.programBox.empty(),this.elements.programBox.siblings("select").children("option[value!='']").remove()},Hre.prototype.fillProgramBox=function(e){return Ore(this,void 0,void 0,function*(){const t=this,r=yield ape.getAccessablePrograms(e),n=Rre.getOrderList("programs");n&&r.sort((e,t)=>{let r=n[`${e.fromManu}_${e.name.toLowerCase()}`]||-1,i=n[`${t.fromManu}_${t.name.toLowerCase()}`]||-1;return r=r&&!isNaN(r.order)?+r.order:-1,i=i&&!isNaN(i.order)?+i.order:-1,r-i}),r.forEach(function(r){if(r.text.length>0){const n=$("<option></option>").val(r.name.toLowerCase()).attr("data-manu",r.manu||e).data("programInfo",r).html(r.text);Vre[e]||(Vre[e]={}),Vre[e][r.name.toLowerCase()]={Manu:r.manu,FromManufacturer:r.FromManufacturer},t.elements.programBox.siblings("select").append(n)}}),t.elements.programBox.parent().dropdown("refresh"),requestAnimationFrame(()=>t.elements.programBox.parent().dropdown("set selected",r[0].name.toLowerCase()))})},Hre.prototype.clearKataTreeBox=function(){this.elements.kataTreeBox.empty()},Hre.prototype.clearKataPageBox=function(){this.elements.kataPageBox.empty()},Hre.prototype.getKataTree=function(e,t){return ape.getKataTree(e,t)},Hre.prototype.getGlobalKataTree=function(e){return ape.getGlobalKataTree(e)},Hre.prototype.getKataPage=function(e){return ape.getKataPage(e,"")},Hre.prototype.renderKataPage=function(e,t){const r=this;r.clearKataPageBox(),zre=[],e.Modules&&e.Modules.length>0&&(e.Modules.forEach(function(e){try{e.UserVal=JSON.parse(e.UserVal)}catch(t){e.UserVal={}}let n=null;n="hbt"===e.templ.toLowerCase()?new Are:"prop"===e.templ.toLowerCase()?new Ere:new Are,r.elements.kataPageBox.append(n.build(e,t)),zre.push(n)}),r.elements.kataPageBox.removeClass("dhmc-hidden"))},Hre.prototype.showPageOf=function(e){const t=this;t.getKataPage(e.data("pageId")).then(function(r){t.renderKataPage(r,e.data("pageId")),t.elements.kataTreeBox.find(".active").removeClass("active"),e.addClass("active")}).catch(function(e){console.log(e)})},Hre.prototype.renderKataTree=function(e){const t=this;e.TreeData.forEach(function(e){if(0===e.KPID.length)return;const r=$("<div></div>").addClass("kata-tree-item").html(e.T).data("pageId",e.KPID).click(function(){t.showPageOf($(this)),t.elements.kataTreeBox.toggleClass("minimized"),t.elements.kataTreeBox.addClass("chosen")});t.elements.kataTreeBox.append(r),t.elements.kataTreeBox.removeClass("dhmc-hidden minimized chosen")}),setTimeout(function(){if(1===t.elements.kataTreeBox.children().length){const e=t.elements.kataTreeBox.children().first();t.showPageOf(e)}},0)},Hre.prototype.buildKataTree=function(e,t){const r=this;ore.clear(),r.getKataTree(e,t).then(function(r){let n;return r=function(){const e={TreeData:[]},t={T:"Elemente",Category:"Elemente",KPID:"dh_elements"},r={T:"Vorschlagskombination",Category:"dhcat_vorschlagskombination",KPID:"dh_combinations"},n={T:"Planungsvorschlag",Category:"dhcat_planungsvorschlag",KPID:"dh_placeproposals"};return g_configuration&&(g_configuration.article_type_a||g_configuration.article_type_pp||g_configuration.article_type_combination)?(g_configuration.article_type_a&&e.TreeData.push(t),g_configuration.article_type_pp&&e.TreeData.push(n),g_configuration.article_type_combination&&e.TreeData.push(r)):(e.TreeData.push(t),e.TreeData.push(r),e.TreeData.push(n)),e}(),n=ape.getDistinctArticleCategories(e,t),Promise.all([Promise.resolve(r),n])}).then(function([e,r]){return r&&(e.TreeData=e.TreeData.filter(function(e){if("dh_elements"===e.KPID)return!0;const n=r.category_inuse.filter(function(e){return e[1].toLowerCase()===t}).map(function(e){return e[0]}).indexOf(e.Category)>-1;return n})),e}).then(function(e){r.clearKataTreeBox(),r.elements.kataTreeBox.on("mouseleave",function(){$(this).hasClass("chosen")&&$(this).addClass("minimized")}),r.elements.kataTreeBox.on("mouseenter",function(){$(this).removeClass("minimized")}),r.renderKataTree(e)})},Hre.prototype.initialize=function(e,t,r,n){return Ore(this,void 0,void 0,function*(){const i=this;if(r=void 0!==r&&(r=r.toLowerCase()),n=void 0!==n&&(n=n.toLowerCase()),t=void 0===t||t,(e=void 0===e||e)?(i.createManufacturerBox(),yield i.fillManufacturerBox()):(Bre=r,yield i.setProgImageComponent()),t&&i.createProgramBox(),g_configuration.panel_right_show_programimages_selection){$(document).on("restoreDefaultScene",{},function(e,t,r){return Ore(this,void 0,void 0,function*(){Pre.hide(),yield ape.loadDhp("last-session-state","0"),ape.PlacerAddObject({ManuHash:r.manuHash,ProgHash:t.hash,ArticleNumber:Bde.getDefaultArticle(r.manu,t.id),extParam:{}},new br).then(function(){$(".progImageLoader").removeClass("active")}),$(".progImageLoader").removeClass("active")})}),$(document).on("selectProgByImg",{},function(e,t,r){return Ore(this,void 0,void 0,function*(){g_configuration.clear_scene_by_basic_planing&&Bde.getDefaultArticle(r.manu,t.id).length>0&&Bde.IsPlacerMode?(i.onChangeProgram(t.id),Pre.hide(),$(".ui.dimmer.modals.page").removeClass("active"),$(".ui.dimmer.modals.page").removeClass("visible"),$(".ui.dimmer.modals.page").css("display","none"),yield ape.setManuProg(r.manu,t.id,r.manu),yield ape.PlacerAddObject({ManuHash:r.manuHash,ProgHash:t.hash,ArticleNumber:Bde.getDefaultArticle(r.manu,t.id).toLowerCase(),extParam:{}},new br).then(function(){$(".progImageLoader").removeClass("active"),Pre.hide()}),$(".progImageLoader").removeClass("active")):($(".progImageLoader").addClass("active"),i.onChangeProgram(t.id),g_configuration.clear_scene_by_image_select&&lae.CountPO()>0&&(yield ape.deleteLO(lae.getPOGuids())),Bde.getDefaultArticle(r.manu,t.id).length>0?Bde.IsPlacerMode?ape.PlacerAddObject({ManuHash:r.manuHash,ProgHash:t.hash,ArticleNumber:Bde.getDefaultArticle(r.manu,t.id).toLowerCase(),extParam:{}},new br).then(function(){$(".progImageLoader").removeClass("active"),Pre.hide()}):ape.loadArticle(Bre,Ure,Bde.getDefaultArticle(r.manu,t.id),"a").then(function(){$(".progImageLoader").removeClass("active"),Pre.hide()}):($(".progImageLoader").removeClass("active"),Pre.hide()),$(".progImageLoader").removeClass("active"),Pre.hide(),$(".ui.dimmer.modals.page").removeClass("active"))})}),yield Pre.init();const e=$("<button></button>");e.css("order",2),e.css("flex",1),e.attr("id","showProgImages"),e.addClass("ui button"),e.attr("data-i18n","51203"),i.elements.prog.append(e),e.click(function(){""===Bre?alert("Kein Hersteller ausgewählt"):$("#selectProgram").modal("show")}),""!==Bre&&(yield upe.isAppReady(),e.trigger("click")),boe.updateTexts()}yield fme.waitForDOMUpdate(),r&&(e?i.elements.manufacturerBox.parent().dropdown("set selected",r.toLowerCase()):t&&(yield i.fillProgramBox(r))),yield fme.waitForDOMUpdate(),r&&n&&(ape.setManuProg(r,n,i.getCalcManufacturer()),t?i.elements.programBox.parent().dropdown("set selected",n.toLowerCase()):Ure=n,e||t||i.buildKataTree(r,n))})},Hre.prototype.updateLanguageTexts=function(){zre.forEach(function(e){try{e.updateLanguageTexts()}catch(e){console.log("Module doesn't implement i18n()")}})};const Gre=new Hre;class jre{constructor(e,t,r,n,i,o=!1){this._priority=e,this._id=t,this._languageKey=r,this._order=n,this._parentId=i,this._isCatManuDefined=o}get isCatManuDefined(){return this._isCatManuDefined}set isCatManuDefined(e){this._isCatManuDefined=e}get priority(){return this._priority}get id(){return this._id}get languageKey(){return this._languageKey}get order(){return this._order}get parentId(){return this._parentId}static getDistinctPriorities(e){const t=[];return e.forEach(function(e){t.indexOf(e.priority)<0&&t.push(e.priority)}),t.sort(function(e,t){return e-t}),t}static getSectionList(e){return jre.getDefinedCategories(e,1,9,"dhcat_")}static getCategoryList(e,t=!1){return jre.getDefinedCategories(e,10,Number.MAX_VALUE,"dhcat_",t)}static getAccessoiresCategoryList(e){return jre.getDefinedCategories(e,0,Number.MAX_VALUE,"dhacces_")}static getKataPages(e){const t=new Map;return e.forEach(function(e,r){e.priority>=10&&e.priority<=99&&t.set(r,JSON.parse(JSON.stringify(e)))}),t}static getSubKataPages(e){const t=new Map;return e.forEach(function(e,r){e.priority>=1e3&&e.priority<=9999&&t.set(r,JSON.parse(JSON.stringify(e)))}),t}static getDefinedCategories(e,t,r,n,i=!1){const o=new Map;return e._rows.forEach(function(e){+e._columns[2]>=t&&+e._columns[2]<=r&&e._columns[0].includes(n)&&o.set(e._columns[0],new jre(+e._columns[2],e._columns[0],e._columns[1],e._columns[4],e._columns[5],i))}),o}}const Jre=jre;const Wre=class{constructor(e,t){this._id=e.id,this._artNo=e.ArtNr,this._classId=e.ClassID,this._manufacturer=e.Manu,this._program=e.Prog,""!==e.MMdx&&""!==e.Dispdx?this._xMax=+e.MMdx/(1/Bde.DimensionScale):this._xMax=+e.dxma/(1/Bde.DimensionScale),""!==e.MMdy&&""!==e.Dispdy?this._yMax=+e.MMdy/(1/Bde.DimensionScale):this._yMax=+e.dyma/(1/Bde.DimensionScale),""!==e.MMdz&&""!==e.Dispdz?this._zMax=+e.MMdz/(1/Bde.DimensionScale):this._zMax=+e.dzma/(1/Bde.DimensionScale),this._imgName=e.ArtNr,this._categories=new Map,this._sections=new Map,this._type=t,this._dragArt=e,this._rawArticleData=e}get rawArticleData(){return this._rawArticleData}get dragArt(){return this._dragArt}get id(){return this._id}get artNo(){return this._artNo}get classId(){return this._classId}get manufacturer(){return this._manufacturer}get program(){return this._program}get manufacturerHash(){return this._manufacturerHash}set manufacturerHash(e){this._manufacturerHash=e}get programHash(){return this._programHash}set programHash(e){this._programHash=e}get xMax(){return this._xMax}get yMax(){return this._yMax}get zMax(){return this._zMax}set imgName(e){this._imgName=e}get type(){return this._type}get categories(){return this._categories}set categories(e){this._categories=e}get sections(){return this._sections}get articleProperties(){return this._articleProperties}set articleProperties(e){this._articleProperties=e}static registeredCategoriesAndSections(e){return e.split(",").filter(function(e){return e.includes("dhcat_")})}static registeredProgGroups(e){return e.split(",").filter(function(e){return e.includes("manucat_")})}static registeredAccessoiresCategories(e){return e.split(",").filter(function(e){return e.includes("dhacces_")})}static identifyingName(e){return"Manu:"+e.Manu+" Prog:"+e.Prog+" ArtNo:"+e.ArtNr}static formatDimension(e,t=1){return e.toFixed(t).replace(".",",")}getArticleText(){return""}imageSource(){let e;return e=lm.getUrl(this._manufacturer,this._program,"art",this._imgName.toLowerCase()),e}getModalTextInfoMarkup(e,t){const r=this;let n=[];const i=$("<div></div>");return e.forEach(function(e){e[0]===r._artNo&&(n=JSON.parse(e[1]))}),n&&n.items&&n.items.forEach(function(e){if("paragraph"===e.type){const r=$("<p style='margin: 10px'></p>"),n=t.find(function(t){return t[0]===e.content});n&&n[1]?r.text(n[1]):r.text(e.content),i.append(r)}if("header"===e.type){const r=$("<h"+e.size+"></h>"),n=t.find(function(t){return t[0]===e.content});n&&n[1]?r.text(n[1]):r.text(e.content),i.append(r)}if("list"===e.type){const r=$("<ul></ul>");e.items.forEach(function(n){const i=$("<li></li>"),o=t.find(function(e){return e[0]===n.content});o&&o[1]?i.text(o[1]):i.text(e.content),r.append(i)}),i.append(r)}if("imagelist"===e.type){const t=$("<div></div>");e.items.forEach(function(e){const n=$("<img/>"),i=e.source;let o;o=lm.getUrl(r._manuHash,"-","art",i,!0),n.attr("src",o),t.append(n)}),i.append(t)}}),i}};const Qre=class{constructor(e,t,r,n,i){this._dimensions=["zMax","xMax","yMax"],this._modConfig={},this._hideFront=!1,this._selectionFilter="",this._title="",this._modConfig=JSON.parse(e.UserVal),this._id=e.moduleId,this._index=e.Index,this._template=e.templ,this._step=this._modConfig.step_id||e.Group,this._group=e.Group,this._hideFront=this._modConfig.hide_front||!1,this._selectionFilter=this._modConfig.selection_filter||"",this._title=this._modConfig.TitelTextID?boe.getValue(this._modConfig.TitelTextID):"",this._title||("W_ARTICLE"===this._template?this._title=boe.getValue("fv.genericwizard.template_caption.W_ARTICLE"):"W_PROPTRANSFER"===this._template?this._title=boe.getValue("fv.genericwizard.template_caption.W_PROPTRANSFER"):"W_PROGPROPERTIES"===this._template?this._title=boe.getValue("fv.genericwizard.template_caption.W_PROGPROPERTIES"):"W_SHOPPINGCART_ARTICLE"===this._template?this._title=boe.getValue("fv.genericwizard.template_caption.W_SHOPPINGCART_ARTICLE"):"W_CONFIGURATION"===this._template&&(this._title=boe.getValue("fv.genericwizard.template_caption.W_CONFIGURATION"))),this._currentManufacturer=t,this._currentProgram=r,this._currentManufacturerHash=n,this._currentProgramHash=i,this._dimensionsTextMap=new Map,this._dimensionsTextMap.set("zMax","fv.generickatatree.height"),this._dimensionsTextMap.set("xMax","fv.generickatatree.width"),this._dimensionsTextMap.set("yMax","fv.generickatatree.depth"),this._articles=[],this._propTransfer=[],this._moduleCategories=new Map,this._moduleFilterCategories=new Map,this.prepareData(e),this._distinctPriorities=Jre.getDistinctPriorities(this._moduleFilterCategories)}get ModConfig(){return this._modConfig}get id(){return this._id}get step(){return this._step}get hideFront(){return this._hideFront}get selectionFilter(){return this._selectionFilter}get group(){return this._group}get template(){return this._template}get title(){return this._title}get currentManufacturerHash(){return this._currentManufacturerHash}set currentManufacturerHash(e){this._currentManufacturerHash=e}get currentProgramHash(){return this._currentProgramHash}set currentProgramHash(e){this._currentProgramHash=e}get currentManufacturer(){return this._currentManufacturer}set currentManufacturer(e){this._currentManufacturer=e}get currentProgram(){return this._currentProgram}set currentProgram(e){this._currentProgram=e}get articles(){return this._articles}get propTransfer(){return this._propTransfer}get showArticleNumber(){return this._showArticleNumber}get dimSingleRow(){return this._dimSingleRow}get widthArticleContainer(){return this._widthArticleContainer}onShow(){}onHide(){}onCollapse(){}};const qre=new class{constructor(){this._actions=new Map}get(e){return this._actions[e]?this._actions[e]:null}add(e,t,r){this._actions[e]&&!r||(this._actions[e]=t)}exists(e){return!!this._actions[e]}};const Yre=class{constructor(e){this._children=new Map,this._actionName="defaultObjectContainer",this._isCleared=!1,this._isEnding=!1,this._clearOnClick=!1,this._extBlockClearOnClick=!1,this._canUseCamera=!1,this._triggerOnMove=!1,this._isActive=!1,this._contextMenuOpened=!1,this._canSend=!0,this._hasKeyboardEvents=!1,this.boundKeyUpMap=new Map,this.boundKeyDownMap=new Map,this._actionName=e,this.bindKeyboardHandlers(),qre.add(e,this)}get ActionName(){return this._actionName}get IsActive(){return this._isActive}get TriggerOnMove(){return this._triggerOnMove}get CanUseCamera(){return this._canUseCamera}set CanUseCamera(e){this._canUseCamera=e}get IsCleared(){return this._isCleared}set IsCleared(e){this._isCleared=e}get ClearOnClick(){return this._clearOnClick}get ExtBlockClearOnClick(){return this._extBlockClearOnClick}get Children(){return this._children}get KeyUpMap(){return{}}get KeyDownMap(){return{}}bindKeyboardHandlers(){const e=new Map,t=(t,r)=>{for(const n in t){const i=Number(n),o=t[i];e.has(o)||e.set(o,o.bind(this)),r.set(i,e.get(o))}};t(this.KeyUpMap,this.boundKeyUpMap),t(this.KeyDownMap,this.boundKeyDownMap)}addKeyboardEvents(){if(!this._hasKeyboardEvents){for(const[e,t]of this.boundKeyDownMap)Fm.addDownKeyEvent(e,t);for(const[e,t]of this.boundKeyUpMap)Fm.addUpKeyEvent(e,t);this._hasKeyboardEvents=!0}}removeKeyboardEvents(){if(this._hasKeyboardEvents){for(const[e,t]of this.boundKeyDownMap)Fm.removeKeyEvent(e,t);for(const[e,t]of this.boundKeyUpMap)Fm.removeKeyEvent(e,t);this._hasKeyboardEvents=!1}}preBegin(...e){return!0}begin(...e){return!$I.Opened||(this._contextMenuOpened=!0,!1)}update(...e){return!this._contextMenuOpened}end(...e){return!this._contextMenuOpened||(this._contextMenuOpened=!1,!1)}cancel(...e){return!this._contextMenuOpened||(this._contextMenuOpened=!1,!1)}reset(...e){return this._contextMenuOpened?(this._contextMenuOpened=!1,!1):(this._isActive=!1,!0)}};const Xre=new class extends GE{constructor(){super(),this._sceneStore=new mo,this._isInit=!1,this._rev=0}get SceneStore(){return this._sceneStore}add(e,t,r=!1,n=!0){this._isInit||(this._isInit=!0,Dhe.add(this._sceneStore));const i=this.containsKey(e);if(i&&r){const t=this.get(e,0);for(let e=this._sceneStore.children.length-1;e>=0;e--){const r=this._sceneStore.children[e];if(r.uuid===t.uuid){this._sceneStore.remove(r);break}}this.remove(e)}i&&!r||(t.VPRev=this._rev,n&&this._sceneStore.add(t),super.add(e,t,r),Bde.VPlacer=!0)}clear(e){for(let e=this.Keys.length-1;e>=0;e--)for(let t=this.Values[e].length-1;t>=0;t--)this.Values[e][t].VPRev<this._rev&&this.remove(this.Keys[e],this.Values[e][t]);if(this._sceneStore.children.length>0)for(let e=this._sceneStore.children.length-1;e>=0;e--)this._sceneStore.children.VPRev<this._rev&&this._sceneStore.remove(this._sceneStore.children[e]);this._sceneStore.children.length,super.clear(e)}incrementRev(){this._rev++}remove(e,t){let r=t;r||(r=this.get(e)),Array.isArray(r)?r.forEach(t=>{t.dispose(),super.remove(e,t)}):(r.dispose&&r.dispose(),super.remove(e,r)),this._sceneStore.remove(r),super.remove(e,r)}getElements(){return this._sceneStore.children}enter(){this.leave(),Yse.IsVPlacerIntersection&&kse.isCanvas()&&Yse.IntersectedVPlacer.enter()}leave(){this._sceneStore.children.forEach(e=>{e.leave()})}};const Kre=new class extends GE{constructor(){super(),this._priorityMap=new Map,this._sortedKeys=[]}add(e,t,r=!1){super.add(e,t.object,r),this._priorityMap[e]||!t.priority&&!zp[e]||(this._priorityMap[e]=t.priority||zp[e],this.resort())}remove(e,t){super.remove(e,t),!this.containsKey(e)&&this._priorityMap[e]&&(delete this._priorityMap[e],this.resort())}getSortedKeys(){return this._sortedKeys}resort(){this._sortedKeys=Object.keys(this._priorityMap).sort((e,t)=>this._priorityMap[e]-this._priorityMap[t])}};var Zre=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};let ene=class{constructor(){this._items=[],this._selectionItems=[]}setPosition(){this._items.forEach(e=>{e.setPosition()}),this._selectionItems.forEach(e=>{e.setPosition()})}show(){this._selectionItems.forEach(e=>{e&&($le.All.includes(e.LOBase)||"Toolbar"===e.Type)?e.show():e.hide()})}hide(){this._selectionItems.forEach(e=>{e.hide()})}addMenuItem(e,t=!1){t?this._selectionItems.push(e):this._items.push(e);this.getElement("items").append(e.DOMElement)}removeMenuItem(e){this.getElement("items")[0].removeChild(e.DOMElement);const t=this._items.indexOf(e);if(-1!==t){const e=this._items.splice(t,1);Phe.DebugIconContextMenu&&console.log("removeMenuItem Final",t,this._items.length,e)}}};ene=Zre([_m({template:'\n            <div id="icon-context-menu">\n                <div class="menu-items">\n                </div>\n            </div>\n        ',elements:{items:".menu-items"},parentSelector:"#renderContainer"})],ene);const tne=new class{constructor(){this._iconContextMenuClass=void 0}get IconContextMenuComponent(){if(!window.Properties.AdvancedContextMenuEnabled)return this._iconContextMenuClass||(this._iconContextMenuClass=new ene),this._iconContextMenuClass}show(){var e;null===(e=this.IconContextMenuComponent)||void 0===e||e.show()}hide(){var e;null===(e=this.IconContextMenuComponent)||void 0===e||e.hide()}addMenuItem(e,t=!1){var r;null===(r=this.IconContextMenuComponent)||void 0===r||r.addMenuItem(e,t)}removeMenuItem(e){var t;null===(t=this.IconContextMenuComponent)||void 0===t||t.removeMenuItem(e)}setPosition(){var e;null===(e=this.IconContextMenuComponent)||void 0===e||e.setPosition()}initialize(){aue.CurrentCamera.AddEvent(tne.setPosition,tne),$le.addEventListener(ble.AFTER_ADD,()=>{this.show(),this.setPosition()}),$le.addEventListener([ble.CLEAR,ble.AFTER_REMOVE],()=>{this.hide()})}};var rne=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class nne{get Type(){return this._type}get ToolbarName(){return this._toolbarName}get IsNew(){return this._isNew}set IsNew(e){this._isNew=e}get II(){return this._II}set II(e){this._II=e}set HideWhenOutside(e){this._hideWhenOutside=e}set LOBase(e){this._lo=e}get LOBase(){return this._lo}get Height(){return this._domElement?(this._height||(this._height=parseFloat(getComputedStyle(this._domElement,null).height.replace("px",""))),this._height):0}get Width(){return this._domElement?(this._width||(this._width=parseFloat(getComputedStyle(this._domElement,null).width.replace("px",""))),this._width):0}get Visible(){return this._isVisible}constructor(){this._type="IconBase",this._domElement=document.createElement("div"),this._isVisible=!0}get DOMElement(){return this._domElement}get Parent(){return this._parent}getPosition(){}setPosition(e,t=!1){if(e){const t=nne.getScreenPositionWithConstraints(e,new DOMRect(0,0,this.Width,this.Height));if(this._hideWhenOutside&&(t.pointer?(this._domElement.style.visibility="",this._isOutside=!1):(this._domElement.style.visibility="hidden",this._isOutside=!0)),this._domElement.classList.remove("pointer"),this._domElement.style.top=t.y,t.left?(this._domElement.style.left=t.x,this._domElement.style.right=""):(this._domElement.style.right=t.x,this._domElement.style.left=""),t.pointer){this._domElement.classList.add("pointer");let e=parseFloat(t.x),r=parseFloat(t.y);this._domElement.classList.contains("left")?(e+=12,r-=this.Height/2):this._domElement.classList.contains("right")?(e-=this.Width+12,r-=this.Height/2):this._domElement.classList.contains("top")?(e-=this.Width/2,r+=12):this._domElement.classList.contains("bottom")?(e-=this.Width/2,r-=this.Height+12):this._domElement.classList.contains("top-right")?e-=this.Width:this._domElement.classList.contains("bottom-left")?r-=this.Height:this._domElement.classList.contains("bottom-right")&&(e-=this.Width,r-=this.Height),this._domElement.style.top=r+"px",this._domElement.style.left=e+"px",this._domElement.style.right=""}}}show(e=!1){(e||this.LOBase&&$le.All.includes(this.LOBase))&&(this._domElement.style.display="",this._isVisible=!0)}hide(){this.LOBase&&(this._domElement.style.display="none",this._isVisible=!1)}update(){return rne(this,void 0,void 0,function*(){return!this.HideWhenOutside||!this._isOutside})}dispose(){}static getScreenPositionWithConstraints(e,t){const r=aue.CurrentCamera.toScreenPosition(e),n=r.x,i=r.y,o={x:`${n}px`,y:`${i}px`,left:!1,pointer:!1},s=fme.RenderDiv.getBoundingClientRect();return n<s.left||n+t.width>s.width+s.left||i<s.top||i+t.height>s.height+s.top?(o.left=n<(s.width+s.left)/2,o.x="10px",o.y=`calc(50% - ${t.height/2}px)`):(o.pointer=!0,o.left=!0),o}}class ine extends nne{constructor(e,t=!1){super(),this.setPositionTimeOut=null,e instanceof one?this._domElement.classList.add("custom-item"):this._domElement.classList.add("menu-item"),this._child=e,this._domElement.appendChild(this._child.DOMElement),this.LOBase=e.LOBase,t&&e.LOBase&&-1===$le.All.indexOf(e.LOBase)&&this.hide(),Phe.DebugIconContextMenu&&console.group("IconContextMenuService.addMenuItem"),Phe.DebugIconContextMenu&&console.log("addMenuItem",this),tne.addMenuItem(this,t),Phe.DebugIconContextMenu&&console.groupEnd()}get DOMElement(){return this._domElement}setPosition(e,t=!1){if((this._isVisible||t)&&!this.setPositionTimeOut){const e=()=>{super.setPosition(this._child.getPosition()),clearTimeout(this.setPositionTimeOut),this.setPositionTimeOut=null};t?e():this.setPositionTimeOut=setTimeout(e,10)}}}class one extends nne{constructor(e=!1,t){super(),t=t||{},this._cb=t.optionalCallback,this._isWorldPos=!1,this._isAction="1"===t.isAction,this._isNew=!0,this._position=new br,this._lo=t.LOBase?t.LOBase:null,this._command=t.Command?t.Command:"",this._toolbarName=t.ToolbarName?t.ToolbarName:"",this._isAction&&t.actionType?(this._icon="/images/icons/treeupactions/"+t.actionType+".svg",this._domElement.style.backgroundImage="url("+window.location.origin+this._icon+")"):this.Icon=t.Icon?t.Icon:t.IconPre?t.IconPre:"",this._parameters=t.Parameter?t.Parameter:{guidOrID:"",isAction:""},this._isAction?(this._toolbarName="fv_treeup_actions",cne.getToolbar(this._toolbarName).add(this)):this._toolbarName?cne.getToolbar(this._toolbarName).add(new ine(this,e),null==t?void 0:t.KeepToolbar):this._parent=new ine(this,e),this._domElement.classList.add("custom-item"),this.updateStyle(this._parameters.style),this.initializeEvents()}get IsAction(){return this._isAction}get Position(){return this._position.clone()}set Position(e){this._position.copy(e)}get IsWorldPos(){return this._isWorldPos}set IsWorldPos(e){this._isWorldPos=e}set Command(e){this._command=e}set Parameter(e){this._parameters=e,this.updateStyle(this._parameters.style)}set Icon(e){this._icon=e,this._icon&&(this._icon.startsWith("fv-icon-")?this._domElement.classList.add(this._icon):this._domElement.style.backgroundImage="url("+g_node_url_prefix+"/furnplan/"+this._icon.replace(/manufacturer\\/g,"").replace(/\\/g,"/")+")")}getPosition(){if(!this._isAction){if(this._isWorldPos)return this._position.clone();if(this._lo)return this._lo.localToWorld(this._position.clone())}return null}setPosition(e=null,t=!1){this._isAction||this._parent.setPosition(e,t)}initializeEvents(){let e;this._toolbarName?e=this.DOMElement.parentElement:this._parent&&(e=this._parent.DOMElement),e&&(lpe.register("ExecuteCustomEvent",e=>{if(!e||!e[0])throw new Error("Response Error!");return ape.loadArticleToScene(e[0],!1,!0)}),e.addEventListener("click",()=>{this._isAction?ape.runSelectionActions(this._command,Bde.SelectionActionGroup):this._command&&this._parameters&&this._lo.instanceIdent?(LI.CustomIcon_ExecuteCustomEvent.send([{command:this._command,instanceIdent:this._lo.instanceIdent,parameters:this._parameters}]),lpe.dispatch("ExecuteCustomEvent",{command:this._command,instanceIdent:this._lo.instanceIdent,parameters:this._parameters})):this._cb&&this._cb(this)}))}updateStyle(e){const t=e&&e.size||"medium";if(this.DOMElement.classList.add(t),!this._isAction&&!this._toolbarName){const r=e&&e["pointer-direction"]||"left";this._parent.DOMElement.className="",this._parent.DOMElement.classList.add("menu-item",t,"pointer",r);const n=e&&e["pointer-state"]?e["pointer-state"]:"";n.length>0&&this._parent.DOMElement.classList.add(n)}}}var sne,ane=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};!function(e){e[e.VERTICAL=0]="VERTICAL",e[e.HORIZONTAL=1]="HORIZONTAL"}(sne||(sne={}));class lne extends nne{constructor(e){super(),this.setPositionTimeOut=null,this._lastLO=null,this._childContextItems=[],this._type="Toolbar",this._domElement.classList.add("menu-item","menu-toolbar"),e&&e.direction===sne.VERTICAL?this._domElement.classList.add("pointer","top-left","vertical"):this._domElement.classList.add("pointer","left","horizontal"),this.hide(),Phe.DebugIconContextMenu&&console.group("IconContextMenuService.addMenuItem"),Phe.DebugIconContextMenu&&console.log("addMenuItem",this),tne.addMenuItem(this,!0),Phe.DebugIconContextMenu&&console.groupEnd()}get Count(){return this._domElement?this._domElement.children.length:0}get Empty(){return 0===this.Count}get DOMElement(){return this._domElement}hasVisibleChilds(){return this._childContextItems.some(e=>e.component.Visible)}add(e,t=void 0){this._lastLO===e.LOBase||t||(this._lastLO=e.LOBase,this.clear());const r=document.createElement("div");r.classList.add("menu-item"),r.appendChild(e.DOMElement),r.style.display="none",this._domElement.appendChild(r),this._childContextItems.push({component:e,domItem:r})}remove(e){const t=e.DOMElement.parentElement;if(t){for(let e=0;e<this._domElement.children.length;e++)if(t===this._domElement.children[e]){this._domElement.removeChild(t);break}if(t.parentElement)for(let e=0;e<this._domElement.children.length;e++)if(t.parentElement===this._domElement.children[e]){this._domElement.removeChild(t.parentElement);break}const r=this._childContextItems.findIndex(r=>r.domItem===t||r.component===e||r.component._child===e);-1!==r&&this._childContextItems.splice(r,1)}}clear(){this._domElement.innerHTML=""}show(){return ane(this,void 0,void 0,function*(){if(this._domElement.children.length>0){for(const e of this._childContextItems)e.domItem.style.display="none",e.component.LOBase&&!$le.All.includes(e.component.LOBase)?e.component.hide():(yield e.component.update())&&(e.component.show(),e.domItem.style.display="");this._childContextItems.some(e=>e.component.Visible)&&(this._domElement.style.display="")}else this.hide()})}hide(){this._domElement.style.display="none";for(const e of this._childContextItems)e.component.hide()}setPosition(){this.setPositionTimeOut||(this.setPositionTimeOut=setTimeout(()=>{try{if($le.Last){const e=$le.Last,t=e.dimension;super.setPosition(e.localToWorld(t.toVector().setY(0)))}}catch(e){}clearTimeout(this.setPositionTimeOut),this.setPositionTimeOut=null},10))}}const cne=new class{constructor(){this._iconData={},this._toolbars=new Map,document.addEventListener("readystatechange",()=>{"complete"===document.readyState&&upe.on("session_disconnect",()=>{this.clear()})})}add(e,t,r){let n=this._iconData[t.params.guidOrID+"_"+t.II];return n||(n=new one(t.params.style&&"selected"===t.params.style.show,{Command:t.command,LOBase:e,Icon:t.icon,IconPre:null==t?void 0:t.iconPre,ToolbarName:t.params.toolbarName,KeepToolbar:t.params.keepToolbar,Parameter:t.params,isAction:t.params.isAction,actionType:t.params.actionType,optionalCallback:r}),this._iconData[t.params.guidOrID+"_"+t.II]=n),n.IsNew=!0,n.II=t.II,n.Icon=t.icon,n.Command=t.command,n.Parameter=t.params,n.LOBase=e,n.IsWorldPos=!!t.posW,n.Position=t.posW?t.posW.toVector():t.posL.toVector(),n}clearActionButtons(){Object.keys(this._iconData).forEach(e=>{this._iconData[e].IsAction&&this.remove(null,e)})}cleanOldIcons(e){const t=Object.keys(this._iconData);for(let r=t.length-1;r>=0;r--){const n=t[r];this._iconData[n].LOBase!==e||this._iconData[n].IsNew?this._iconData[n].IsNew=!1:this.remove(this._iconData[n].II,n)}}addRange(e,t){t&&t.Buttons&&t.Buttons.length>0?t.Buttons.forEach(t=>{this.add(e,t)}):t&&t.length>0&&t.forEach(t=>{this.add(e,t)}),this.cleanOldIcons(e)}getByInstanceIdent(e){const t=[],r=Object.keys(this._iconData);for(let n=r.length-1;n>=0;n--)this._iconData[r[n]].II===e&&t.push(this._iconData[r[n]]);return t}getByUUID(e){return this._iconData[e]}clear(){Object.keys(this._iconData).forEach(e=>{this.remove(null,e)})}remove(e,t){if(t&&this._iconData[t])this._iconData[t].ToolbarName?this.getToolbar(this._iconData[t].ToolbarName).remove(this._iconData[t]):tne.removeMenuItem(this._iconData[t].Parent||this._iconData[t]),delete this._iconData[t];else{const t=Object.keys(this._iconData);for(let r=t.length-1;r>=0;r--)if(this._iconData[t[r]].II===e||this._iconData[t[r]]._lo&&!this._iconData[t[r]]._lo.parent){if(this._iconData[t[r]].ToolbarName){const e=this.getToolbar(this._iconData[t[r]].ToolbarName);e.remove(this._iconData[t[r]]),!e.Empty&&e.hasVisibleChilds()||e.hide()}else tne.removeMenuItem(this._iconData[t[r]].Parent||this._iconData[t[r]]);delete this._iconData[t[r]]}}}getToolbar(e){if(!this._toolbars.has(e)){const t={direction:sne.HORIZONTAL};"fv_treeup_actions"===e&&(t.direction=sne.VERTICAL),this._toolbars.set(e,new lne(t))}return this.hideToolbars(),this._toolbars.get(e)}hideToolbars(){const e=this._toolbars.has("fv_treeup_actions");this._toolbars.forEach((t,r)=>{"fv_treeup_actions"!==r&&e?t.DOMElement.classList.add("hidden"):t.DOMElement.classList.remove("hidden")})}};const une=new class extends t{on(e,t){return super.on(e,t)}off(e,t){return super.off(e,t)}dispatch(e,t){super.emit(e,...t||[])}};var dne,hne,pne=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};!function(e){e.CHAIR="chair",e.REPLACE="replace",e.WALL="wall"}(hne||(hne={}));let mne=dne=class extends qn{constructor(e){super(),this._boxIconII=Math.floor(1e6*Math.random()),this._isWallElement=!1,this._extID=+e.id,this._isWallElement=!!e.isWall,this._type=e.type,Kre.add(Vp.VPlacerBoxClass,{priority:zp.VPlacerBoxClass,object:this}),this.parseVertices(e.vertices,e.pos,e.height),this.parseInfo(e.info),this.createBoxTypeIcon(),une.dispatch("vplacerBoxCreated",[this])}get IsWallElement(){return this._isWallElement}set IsWallElement(e){this._isWallElement=e}get ExtID(){return this._extID}get Color(){return`#${this._mesh.material.color.clone().multiplyScalar(.85).getHexString()}`}get Type(){return this._type}get CenterFrontPoint(){return this._centerFront}static create(e){if(Xre.incrementRev(),Xre.clear(),!e)return;const t=e.positions;for(let e=0,r=t.length;e<r;e++){if(t[e].coll)continue;const r=new dne(t[e]);Xre.add(r.uuid,r)}}setIntersected(e){e&&(Yse.IntersectionType=Dp.V_PLACER,Bde.IsPlacerMode&&(Yse.MouseCursor="pointer"))}dispose(){Kre.remove(Vp.VPlacerBoxClass,this),cne.remove(null),cne.remove(this._boxIconII)}setVisible(){const e=this._wp1.clone();e.z=2500;const t=Cp.DistancePointPlane(aue.CurrentCameraControl.Camera.position.clone().toArray(),this._wp1.toArray(),this._wp2.toArray(),e.toArray());this.visible=t>=0,this._boxIcon&&(this.visible?this._boxIcon.show(!0):this._boxIcon.hide())}leave(){if(this._mesh instanceof Yi){let e=.1;Bde.BoxStyleSetting.vPlacerBox&&Bde.BoxStyleSetting.vPlacerBox.vbox_custom&&(e=+Bde.BoxStyleSetting.vPlacerBox.vbox_opacity,this._mesh.material.color.setStyle(Bde.BoxStyleSetting.vPlacerBox.vbox_color)),Bde.BoxStyleSetting.ReplaceBox&&Bde.BoxStyleSetting.ReplaceBox.rbox_custom&&this._type===hne.REPLACE&&(e=+Bde.BoxStyleSetting.ReplaceBox.rbox_opacity,this._mesh.material.color.setStyle(Bde.BoxStyleSetting.ReplaceBox.rbox_color)),this._mesh.material.opacity=e}}enter(){if(this._mesh instanceof Yi){let e=.3;Bde.BoxStyleSetting.vPlacerBox&&Bde.BoxStyleSetting.vPlacerBox.vbox_custom&&(e=+Bde.BoxStyleSetting.vPlacerBox.vbox_opacity_hover,this._mesh.material.color.setStyle(Bde.BoxStyleSetting.vPlacerBox.vbox_color_hover)),Bde.BoxStyleSetting.ReplaceBox&&Bde.BoxStyleSetting.ReplaceBox.rbox_custom&&this._type===hne.REPLACE&&(e=+Bde.BoxStyleSetting.ReplaceBox.rbox_opacity_hover,this._mesh.material.color.setStyle(Bde.BoxStyleSetting.ReplaceBox.rbox_color_hover)),this._mesh.material.opacity=e}}parseInfo(e){if(!e)return!1;Object.values(e).forEach(e=>{const t=(new Qr).setFromObject(this),r=[t.max.x,t.min.y,t.max.z],n=cne.add(this,{icon:e.icon,posW:r,params:{guidOrID:"VPLACER"},II:this._extID}),i=document.createElement("span");i.classList.add("title-span","hidden"),i.textContent=e.text,n.DOMElement.appendChild(i),n.DOMElement.addEventListener("mouseenter",e=>{Yse.SceneAction.setCancelTimer(!0),i.classList.remove("hidden")});let o=0;n.DOMElement.addEventListener("touchstart",e=>{e.stopPropagation(),e.preventDefault(),o=Date.now()}),n.DOMElement.addEventListener("touchend",e=>{e.stopPropagation(),e.preventDefault(),Date.now()-o<200&&(i.classList.contains("hidden")?(Yse.SceneAction.setCancelTimer(!0),i.classList.remove("hidden")):(Yse.SceneAction.setCancelTimer(),i.classList.add("hidden")))}),n.DOMElement.addEventListener("mouseleave",e=>{Yse.SceneAction.setCancelTimer(),i.classList.add("hidden")})})}parseVertices(e,t,r){const n=Cp.DH2Vector3(t).multiplyScalar(C);n.x=n.y=0;let i=[];this._wp1=new br(n.x+e[0].point[0],n.y+e[0].point[1],n.z),this._wp2=new br(n.x+e[1].point[0],n.y+e[1].point[1],n.z);const o=new br(e[0].point[0],e[0].point[1],0),s=new br(e[1].point[0],e[1].point[1],0),a=Cp.DHGetVector(o.toArray(),s.toArray()),l=Cp.DHBetrag2D(o,s),c=Cp.DHGoVector(o.toArray(),.5*l,a);this._centerFront=new br(c[0],c[1],n.z+.5*r).multiplyScalar(C);for(let t=0,r=e.length;t<r;t++){const n=[].concat(e[t].point);i.push(new fr(n[0],n[1]).multiplyScalar(C)),t+1===r&&i.push(new fr(e[0].point[0],e[0].point[1]).multiplyScalar(C))}const u=new va(i);u.autoClose=!0,this.createExtrudedShape(u,r*C,this._extID),this.position.copy(n),i=[];const d=[];for(let t=0,r=e.length;t<r;t++){const r=e[t].point.slice();r[2]=0,d.push(r)}for(let e=0,t=d.length;e<t;e++){const n=[].concat(d[e]);let o=[];const s=[].concat(d[e]);s[2]+=r;let a=[];o=[].concat(e+1===t?d[0]:d[e+1]),a=[].concat(o),a[2]+=r,i.push([].concat(n,o)),e+1<t&&i.push([].concat(o,a)),i.push([].concat(n,s)),i.push([].concat(s,a))}if(Bde.ShowLines){const e=yp.createSync({vertices:i}),t=DE.createSync(e,new PE({color:new mi(0,0,0)}));this.add(t)}}createExtrudedShape(e,t,r){const n=new qa(e,{depth:t,steps:1,curveSegments:0,bevelEnabled:!1,bevelThickness:0,bevelSize:0,bevelOffset:0,bevelSegments:0});let i=.1;const o=new mi(0,1,1);Bde.BoxStyleSetting.vPlacerBox&&Bde.BoxStyleSetting.vPlacerBox.vbox_custom&&(i=+Bde.BoxStyleSetting.vPlacerBox.vbox_opacity,o.setStyle(Bde.BoxStyleSetting.vPlacerBox.vbox_color)),Bde.BoxStyleSetting.ReplaceBox&&Bde.BoxStyleSetting.ReplaceBox.rbox_custom&&this._type===hne.REPLACE&&(i=+Bde.BoxStyleSetting.ReplaceBox.rbox_opacity,o.setStyle(Bde.BoxStyleSetting.ReplaceBox.rbox_color)),this._mesh=new Yi(n,new Hm({transparent:!0,opacity:i,depthWrite:!1,color:o,roughness:1,metalness:.1,depthTest:this._type!==hne.REPLACE})),this._mesh.scale.set(1,1,1),this.add(this._mesh)}createBoxTypeIcon(){const e=`#${this._mesh.material.color.clone().multiplyScalar(.85).getHexString()}`,t=cne.add(this,{icon:this._type===hne.REPLACE?"fv-icon-swap-horizontal":"fv-icon-plus-circle",posW:this._centerFront.toArray(),params:{guidOrID:"VPLACER",style:{"pointer-direction":"no-pointer"}},II:this._boxIconII});if(t.Parent){t.Parent.HideWhenOutside=!0;const e=t.Parent.DOMElement;e.style.opacity="0.6",e.style.pointerEvents="none",e.classList.add("vplacer-plus-icon"),this._boxIcon=t.Parent}const r=t.DOMElement;r.style.color=e,r.style.pointerEvents="none";const n=this._centerFront,i=t.getPosition.bind(t);t.getPosition=()=>{const e=aue.CurrentCameraControl.Camera.position.distanceTo(n),t=Math.max(24,Math.min(72,5e4/e));return r.style.width=t+"px",r.style.height=t+"px",r.style.fontSize=t+"px",i()}}};mne=dne=pne([oce],mne);const _ne=mne;var gne=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};const fne=new class extends Yre{constructor(){super("vplacer"),this._clearOnClick=!0,this._lastPlacerData={},this._canUseCamera=!0,this._vPlacerTimer=null,this._vPlacerTimerDelay=5e3,this._once=!1,this._selectedPlacerIndex=-1}get LastPlacerData(){return this._lastPlacerData}parseVPlacer(e,t){return(()=>gne(this,void 0,void 0,function*(){if(this._isActive)return e&&(!isNaN(+e)||e.replacedLO||e.WorldMods||e.World)&&!e.vplacer?(yield aue.updateCamera(),void(e.replacedLO||isNaN(+e)&&!(Object.keys(e).length>0)?this.cancel():(!t||t&&!this._once)&&(this._once=t,this.begin(this._lastPlacerData)))):(!t||t&&!this._once?(this._once=t,e&&e.vplacer?(_ne.create(e.vplacer),Bde.PlacerDirection!==Op.FREE&&this.setCancelTimer(),this.switch("number"==typeof e?e:void 0)):isNaN(e)?this.cancel():this.switch(e)):this.cancel(),e)}))()}preBegin(...e){return super.preBegin(...e)}vPlacerSceneProcess(e,t){return this.parseVPlacer(e,t.once).then(e=>(Ame.requestRendering(),!e||Bde.CameraFixedView&&Bde.CameraFixedVector||hse.IsDragging||(!Bde.CameraFixedView&&Bde.PlacerDirection!==Op.FREE&&g_configuration.FixedCameraAngle&&lae.CountPO()>1?aue.fitCameraToObjectList(lae.getPOs(),!0):Bde.CameraFixedView?aue.CurrentCamera.startZoom(!0,!1,!0):1!==lae.getPOIIs().length||Bde.PlacerDirection===Op.FREE||isNaN(+e)||aue.CurrentCamera.startZoom(!1)),lae.getPOIIs().length>0&&LI.LastPOLoaded.send([lae.getPOIIs()[0]]),this.resetKeyboardPlacerSelection(),e))}begin(...e){if(!super.begin(e))return!1;if(0===e.length)return!1;hse.IsDragging?this._clearOnClick=!1:this._clearOnClick=!0,Bde.PlacerDirection!==Op.FREE&&aue.CurrentCamera.AddEvent(this.setCancelTimer,this,1);const t=Mm.AddTimer("BeginVPlacer");if(this.setCancelTimer(!0),Bde.IsPlacerMode){const r=e[0];if(r.manu.length>0&&r.prog.length>0&&r.artNo.length>0)return this._isActive=!0,Yse.AutoClearSceneAction=!1,this._lastPlacerData.manu=r.manu,this._lastPlacerData.prog=r.prog,this._lastPlacerData.artNo=r.artNo,this._lastPlacerData.extParam=r.extParam,this._lastPlacerData.once=r.once,Bde.PickMode=!1,Yse.InteractionMode=Pp.PLACER,ape.VPlacerAction({action:"StartAction",manu:r.manu,prog:r.prog,artNo:r.artNo,extParam:r.extParam}).then(e=>gne(this,void 0,void 0,function*(){yield this.vPlacerSceneProcess(e,r),this.addKeyboardEvents(),Mm.EndTimer(t)})).catch(()=>{Mm.EndTimer(t)})}Mm.EndTimer(t)}switch(...e){var t;Bde.PlacerDirection===Op.FREE&&(this._isActive=!1,Yse.clearSceneAction(!0),Bde.PickMode=!0,Bde.usePlacerDirectionTemporary=!1,Yse.switchSceneAction("placer"),null===(t=Yse.SceneAction)||void 0===t||t.begin(["number"==typeof e[0]?e[0]:void 0]))}update(...e){if(!super.update(e))return!1;hse.IsDragging&&this.setCancelTimer(!0),Xre.enter()}end(...e){if(!super.end(e))return!1;const t=Mm.AddTimer("EndVPlacer");this.setCancelTimer(!0),aue.CurrentCamera.RemoveEvent(this.setCancelTimer,this),Yse.IsVPlacerIntersection&&Yse.IntersectedVPlacer?this.sendVPlacerEnd(Yse.IntersectedVPlacer.ExtID).then(e=>gne(this,void 0,void 0,function*(){var t;yield this.vPlacerSceneProcess(e,{once:(null===(t=this._lastPlacerData)||void 0===t?void 0:t.once)||!1}),Bde.CameraFixedView&&Bde.CameraFixedVector||hse.IsDragging||(!Bde.CameraFixedView&&g_configuration.FixedCameraAngle&&lae.CountPO()>1?aue.fitCameraToObjectList(lae.getPOs(),!0):Bde.CameraFixedView&&aue.CurrentCamera.startZoom(!0,!1,!0))})):this.cancel(),Mm.EndTimer(t)}cancel(...e){if(!super.cancel(e))return!1;this._lastPlacerData={};const t=Mm.AddTimer("EndVPlacer");this._clearOnClick=!0,this.setCancelTimer(!0),this.removeKeyboardEvents(),aue.CurrentCamera.RemoveEvent(this.setCancelTimer,this),this._isActive=!1,e[0]||(this.sendVPlacerCancel(),this._once=!1),Xre.incrementRev(),Xre.clear(),Yse.clearSceneAction(!0),Bde.PickMode=!0,Bde.usePlacerDirectionTemporary=!1,Bde.VPlacer&&upe.sendToApp("furnview.onVPlacerCancel"),Mm.EndTimer(t)}reset(...e){return super.reset(...e)}sendVPlacerCancel(){return ape.VPlacerAction({action:"CancelAction"})}sendVPlacerEnd(e){return Xre.incrementRev(),Xre.clear(),ape.VPlacerAction({action:"EndAction",clickedID:e})}setCancelTimer(e=!1){this._vPlacerTimer&&(clearTimeout(this._vPlacerTimer),this._vPlacerTimer=null),!0!==e&&(this._vPlacerTimer=setTimeout(()=>{clearTimeout(this._vPlacerTimer),this._vPlacerTimer=null,this.cancel()},this._vPlacerTimerDelay))}get KeyDownMap(){return{[Jp.ENTER]:this.onKeyboardEnter,[Jp.ESCAPE]:this.onKeyboardEscape,[Jp.LEFT_ARROW]:this.onKeyboardLeftArrow,[Jp.RIGHT_ARROW]:this.onKeyboardRightArrow}}onKeyboardEnter(e){Yse.IntersectedVPlacer&&this.end()}onKeyboardEscape(e){this.cancel()}onKeyboardLeftArrow(e){const t=Xre.getElements();0!==t.length&&(this._selectedPlacerIndex=(this._selectedPlacerIndex-1+t.length)%t.length,this.keyboardSelectVPlacerBox(t[this._selectedPlacerIndex]))}onKeyboardRightArrow(e){const t=Xre.getElements();0!==t.length&&(this._selectedPlacerIndex=(this._selectedPlacerIndex+1)%t.length,this.keyboardSelectVPlacerBox(t[this._selectedPlacerIndex]))}keyboardSelectVPlacerBox(e){void 0!==e&&(this.setCancelTimer(!1),Yse.IntersectedVPlacer=e,Xre.enter(),Ame.requestRendering())}resetKeyboardPlacerSelection(){this._selectedPlacerIndex=-1,Yse.IntersectedVPlacer=void 0}};const vne=class{static build(e,t,r){let n;$("."+e.id+".articles").length>0?n=$("."+e.id+".articles"):(n=$("<div></div>"),n.addClass("articles"),n.addClass(e.id));const i=$("<label></label>");i.addClass("ui small header"),i.text(boe.getValue("fv.terms.article")+"("+t.length+")"),n.append(i);const o=$("<div></div>");return o.addClass("articleList"),o.addClass("grid"),!0===r&&o.addClass("singlePage"),t.forEach(function(t){const r=$("<div></div>");r.addClass("gridArticle"),"80"===e.widthArticleContainer&&r.addClass("small");const n=$("<img />").attr("src",t.imageSource()).error(function(e){$(this).attr("src","/images/not_available.png")});if(n.prop("draggable",!1),r.append(n),t.type===Bp.STANDARD)if(e.dimSingleRow){const n=$("<div></div>");e.showArticleNumber&&n.text(t.artNo);const i=$("<span></span>").text(Wre.formatDimension(t.zMax,Bde.PriceFractionDigits)+" x "+Wre.formatDimension(t.xMax,Bde.PriceFractionDigits)+" x "+Wre.formatDimension(t.yMax,Bde.PriceFractionDigits));n.addClass("artNo"),r.append(n),r.append(i)}else{const n=$("<div></div>").text(t.artNo),i=$("<div></div>").text(boe.getValue("fv.terms.H")+":"+Wre.formatDimension(t.zMax)),o=$("<div></div>").text(boe.getValue("fv.terms.B")+":"+Wre.formatDimension(t.xMax)),s=$("<div></div>").text(boe.getValue("fv.terms.T")+":"+Wre.formatDimension(t.yMax));n.addClass("artNo"),e.showArticleNumber&&r.append(n),r.append(i),r.append(o),r.append(s)}r.clickdnd=new VI(r,{isDrag:!Bde.DragDropDisabled&&Bde.IsPlacerMode&&mm.getViewMode()!==Ep.AR,isClickAdd:!0,offsetCursor:!0,waitDelay:200,parentList:o,dragImage:t.imageSource()},!0),r.article=t,r.ClickDragDrop.clicked=function(e,n){n.clickdnd.resetStatus(),e.preventDefault(),Bde.IsPlacerMode?ape.PlacerAddObject({extParam:{},ManuHash:t.manufacturer,ProgHash:t.program,ArticleNumber:t.artNo.toLowerCase()},new br).then(function(){r.dimmer("hide")}):ape.loadArticle(t.manufacturer,t.program,t.artNo,"a")},r.ClickDragDrop.startDragging=function(){r._tempDirection||(r._tempDirection=Bde.PlacerDirection),ape.PlacerSetDir(Bde.FreePlacingWhileDragNDrop?Op.FREE:Op.RIGHT).then(function(){return ape.PlacerAddObject({extParam:{},ManuHash:t.manufacturer,ProgHash:t.program,ArticleNumber:t.artNo.toLowerCase()},new br).then(function(){r.dimmer("hide")})})},r.ClickDragDrop.stopDragging=function(){var e;Yse.SceneAction&&Yse.SceneAction.ActionName!==fne.ActionName&&(null===(e=Yse.SceneAction)||void 0===e||e.end()),r.data("isPlanned",!0),Yse.InteractionMode=Pp.DEFAULT,Bde.FreePlacingWhileDragNDrop&&r._tempDirection?ape.PlacerSetDir(r._tempDirection):Bde.IsFurnplanMode||ape.PlacerSetDir(Op.RIGHT),r.dimmer("hide"),r._tempDirection=null},r.ClickDragDrop.afterMouseUp=()=>{Bde.FreePlacingWhileDragNDrop&&r._tempDirection?ape.PlacerSetDir(r._tempDirection):Bde.IsFurnplanMode||ape.PlacerSetDir(Op.RIGHT),r.dimmer("hide"),r._tempDirection=null},r.dimmer("add content",$('<div class="ui text loader">Loading</div>')),o.append(r)}),n.append(o),n}};const bne=class extends Qre{constructor(e,t,r,n,i){super(e,t,r,n,i);const o=this,s=JSON.parse(e.UserVal);this.filter=this.filter.bind(this),this._direction=s.articleDirection||"horizontal",this._sortBy=s.sortArticleByDimension||"yMax",this._hideEmptyCategories=s.hideEmptyCategories||!1,this._hideEmptyDimensions=s.hideEmptyDimension||!1,this._hideCategorieFilter=void 0!==s.hideCategorieFilter&&s.hideCategorieFilter,this._hideFilterDimensions=void 0!==s.hideFilterDimensions&&s.hideFilterDimensions,this._showArticleNumber=void 0===s.showArticleNumber||s.showArticleNumber,this._dimSingleRow=s.dimSingleRow||!1,this._widthArticleContainer=s.widthArticleContainer||"120",this._articles.sort(function(e,t){return e[o._sortBy]-t[o._sortBy]})}prepareData(e){const t=this,r=[];e.Articles[0].forEach(function(e){const n=new Wre(e,Bp.STANDARD),i=Wre.registeredCategoriesAndSections(e.CatString),o=Wre.registeredProgGroups(e.CatString);let s=!1;i.forEach(function(e){"dhcat_nichtanzeigen"===e&&(s=!0),foe.definedCategories.has(e)&&n.categories.set(e,foe.definedCategories.get(e))});let a=!1;foe.currentProgGroup&&""!==foe.currentProgGroup?o.indexOf(foe.currentProgGroup)>-1&&(a=!0):a=!0,a&&!s&&(t._articles.push(n),n.categories.forEach(function(e){r.indexOf(e)<0&&r.push(e)}))}),r.sort(function(e,t){return e.order-t.order}),r.forEach(function(e){t._moduleCategories.set(e.id,e)}),t._moduleCategories.forEach(function(e){e.priority>=1e3&&t._moduleFilterCategories.set(e.id,e)})}build(){const e=$("<div></div>");return e.addClass("module"),e.addClass(this._id),e.addClass(this._template),this._articles.length>0&&(this._moduleFilterCategories.size>0&&!this._hideCategorieFilter&&e.append(this.buildCategories()),this._hideFilterDimensions||e.append(this.buildFilter()),e.append(this.buildArticles(this._articles))),e}buildPropTrans(){const e=$("<div></div>");e.addClass("proptrans"),e.addClass(this._id);const t=$("<label></label>");t.addClass("ui horizontal label"),t.text("Eigenschaften"),e.append(t);const r=$("<table></table>");return this.propTransfer.forEach(function(e){if(!e.text.includes("_loe")){e.text.split("_")[0];const t=$("<tr></tr>"),n=$("<td></td>"),i=$("<td></td>"),o=$("<a></a>").attr("href","#"),s=$("<img/>").attr("src","/images/radiergummi.png");s.addClass("rubberPropTrans"),o.text(e.text),n.append(o),i.append(s),t.append(n),t.append(i),o.on("click",function(){}),s.on("click",function(){}),r.append(t)}}),e.append(r),e}buildCategories(){const e=this,t=$("<div></div>");t.addClass("categories"),t.addClass(this._id);const r=$("<label></label>");return r.addClass("ui horizontal label"),r.text(boe.getValue("fv.terms.categories")),t.append(r),Jre.getDistinctPriorities(e._moduleFilterCategories).forEach(function(r){const n=$("<input>").attr("type","hidden").attr("name",r),i=$("<i></i>").addClass("dropdown icon"),o=$("<div></div>").text("*").addClass("default text"),s=$("<div></div>").addClass("menu"),a=$("<div></div>").addClass("ui fluid dropdown selection category");a.append(n),a.append(i),a.append(o);const l=$("<div></div>");l.text("*"),l.attr("data-priority",r),l.attr("data-value","*"),l.addClass("item"),s.append(l),e._moduleCategories.forEach(function(e){if(r===e.priority){const t=$("<div></div>");t.text(boe.getValue(e.languageKey)),t.attr("data-priority",r),t.attr("data-value",e.id),t.addClass("item"),s.append(t)}}),a.append(s),a.change(e.filter),requestAnimationFrame(()=>a.dropdown()),t.append(a)}),t}buildFilter(){const e=this;$("."+this._id+".dimensions").empty();const t=$("<div></div>");return t.addClass("dimensions"),t.addClass(this._id),e._dimensions.forEach(function(r){if(e.showDimension(r,e._articles)){const n=$("<label></label>");n.text(boe.getValue(e._dimensionsTextMap.get(r))),n.addClass("ui horizontal label"),n.addClass(r),n.appendTo(t);const i=$("<div></div>");i.addClass("inline fields"),i.addClass(r);const o=$("<div></div>");o.addClass("ui radio checkbox");const s=$("<input>");s.attr("name",r),s.attr("type","radio"),s.val("*"),s.click(e.filter),s.appendTo(o);const a=$("<label></label>");a.addClass("displayValue"),a.text("*"),a.appendTo(o),o.appendTo(i),e.distinctDimensionValues(r,e._articles).forEach(function(t){const n=$("<div></div>");n.addClass("ui radio checkbox");const o=$("<input>");o.attr("name",r),o.attr("type","radio"),o.val(t),o.click(e.filter),o.appendTo(n);const s=$("<label></label>");s.addClass("displayValue"),s.text(Wre.formatDimension(t,Bde.PriceFractionDigits)),s.appendTo(n),n.appendTo(i)}),i.appendTo(t)}}),t}buildArticles(e){return vne.build(this,e,!1)}distinctDimensionValues(e,t){const r=[];return t.forEach(function(t){r.indexOf(t[e])<0&&r.push(t[e])}),r.sort(function(e,t){return e-t}),r}showDimension(e,t){return this.distinctDimensionValues(e,t).length>1}filter(){const e=this,t=[],r=[],n=[],i=$("."+e._id+" .inline.fields.xMax input[type='radio']:checked").val(),o=$("."+e._id+" .inline.fields.yMax input[type='radio']:checked").val(),s=$("."+e._id+" .inline.fields.zMax input[type='radio']:checked").val(),a=[],l=$("."+e._id+" .ui.fluid.dropdown.selection.category");l.length>0&&l.each(function(e,t){const r=$(t).dropdown("get value");void 0!==r&&""!==r&&"*"!==r&&a.push(r)});const c=e._articles.filter(function(e){let l=!1;return a.forEach(function(t){e.categories.has(t)||(l=!0)}),!l&&((void 0===i||"*"===i||e.xMax===+i)&&((void 0===o||"*"===o||e.yMax===+o)&&((void 0===s||"*"===s||e.zMax===+s)&&(-1===t.indexOf(e.xMax)&&t.push(e.xMax),-1===r.indexOf(e.yMax)&&r.push(e.yMax),-1===n.indexOf(e.zMax)&&n.push(e.zMax),!0))))}),u={};Jre.getDistinctPriorities(e._moduleFilterCategories).forEach(function(e){u[e]=[]}),c.forEach(function(e){e.categories.forEach(function(e){e.priority>=1e3&&-1===u[e.priority].indexOf(e.id)&&u[e.priority].push(e.id)})}),Object.keys(u).forEach(function(t){if(+t>1e3){$("."+e._id+".categories div[data-priority='"+t+"']").each(function(r,n){const i=u[t],o=$(n).data("value");"*"!==o&&-1===i.indexOf(o)?e._hideEmptyCategories?$(n).hide():$(n).addClass("disabled"):e._hideEmptyCategories?$(n).show():$(n).removeClass("disabled")})}});$("."+e._id+" .inline.fields.xMax input[type='radio']").each(function(r,n){const i=$(n).val();"*"!==i&&(-1===t.indexOf(+i)?e._hideEmptyDimensions?$(n).parent().hide():$(n).prop("disabled",!0):e._hideEmptyDimensions?$(n).parent().show():$(n).prop("disabled",!1))});$("."+e._id+" .inline.fields.yMax input[type='radio']").each(function(t,n){const i=$(n).val();"*"!==i&&(-1===r.indexOf(+i)?e._hideEmptyDimensions?$(n).parent().hide():$(n).prop("disabled",!0):e._hideEmptyDimensions?$(n).parent().show():$(n).prop("disabled",!1))});$("."+e._id+" .inline.fields.zMax input[type='radio']").each(function(t,r){const i=$(r).val();"*"!==i&&(-1===n.indexOf(+i)?e._hideEmptyDimensions?$(r).parent().hide():$(r).prop("disabled",!0):e._hideEmptyDimensions?$(r).parent().show():$(r).prop("disabled",!1))}),$(".articles."+e._id).empty().append(e.buildArticles(c))}refreshTexts(){}};const yne=class{constructor(e,t,r,n){this._key=e,this._value=t,this._text=r,this._img=n}get key(){return this._key}get value(){return this._value}get text(){return this._text}get img(){return this._img}};var $ne=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class xne extends Qre{constructor(e,t,r){super(e,t,r)}static createInstance(e,t,r){return $ne(this,void 0,void 0,function*(){const n=new xne(e,t,r);n._currentManufacturer=t,n._currentProgram=r;const i=[];n._articles.forEach(function(e){e.articleProperties=[],i.push(e.artNo)});const o=yield ape.getArtPropByArts(t,r,i);for(let e=0;e<o.length;e++){const r=o[e];for(let e=0;e<Object.keys(r).length;e++){const i=Object.keys(r)[e];for(let e=0;e<n._articles.length;e++){const o=n._articles[e];if(r[i].artnr===o.artNo){""!==r[i].img&&(o.imgName=r[i].img);for(let e=0;e<r[i].Vars.length;e++){const n=r[i].Vars[e],s=yield ape.getText([{TID:n.tid,GTN:"",Manu:t}]);o.articleProperties.push(new yne(n.key,+n.val,s.T))}}}}}return n})}prepareData(e){const t=this,r=[];e.Articles[0].forEach(function(e){const n=new Wre(e,Bp.STANDARD),i=Wre.registeredCategoriesAndSections(e.CatString),o=Wre.registeredProgGroups(e.CatString);i.forEach(function(e){foe.definedCategories.has(e)&&n.categories.set(e,foe.definedCategories.get(e))});let s=!1;""!==foe.currentProgGroup?o.indexOf(foe.currentProgGroup)>-1&&(s=!0):s=!0,s&&(t._articles.push(n),n.categories.forEach(function(e){r.indexOf(e)<0&&r.push(e)}))}),r.sort(function(e,t){return e.order-t.order}),r.forEach(function(e){t._moduleCategories.set(e.id,e)}),t._moduleCategories.forEach(function(e){e.priority>=1e3&&t._moduleFilterCategories.set(e.id,e)})}build(){const e=this,t=$("<div></div>");t.addClass("module"),t.addClass(this._id);const r=$("<div></div>");r.addClass("artPropList"),r.addClass(this._id);const n=[];return e._articles.forEach(function(e){e.articleProperties.length>0&&n.push(e)}),n.forEach(function(t,i){const o=$("<div></div>");o.addClass("artPropContainer");const s=$("<img />").attr("src",t.imageSource()).error(function(e){$(this).attr("src","/images/not_available.png")}),a=$("<div></div>").text(t.artNo);o.append(a),o.append(s);const l=$("<div></div>");if(l.addClass("varContainer"),t.articleProperties.forEach(function(e){const t=$("<div></div>");t.addClass("ui input");const r=$("<input>");r.attr("type","text"),r.attr("value",e.value),r.attr("data-vkey",e.key.replace("v","")),l.append($("<div></div>").text(e.text)),t.append(r),l.append(t)}),o.click(function(r){if("IMG"===r.target.tagName){const r=[];for(let e=0;e<=15;e++)r[e]="";$(this).find("input[data-vkey]").each(function(e,t){r[t.dataset.vkey-1]=t.value}),r[0]=t.artNo;const n=[];n[0]="0";const i={};i.kataManu=e._currentManufacturer,i.manu=e._currentManufacturer,i.params=r,n[1]=i,ape.dhTodo(n).then(function(){})}}),o.append(l),r.append(o),i<n.length-1){const e=$("<div></div>");e.addClass("ui divider"),r.append(e)}}),t.append(r),t}filter(){}refreshTexts(){}}const Sne=xne;var wne=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class Ane extends Qre{constructor(e){super(e),this.filter=this.filter.bind(this),this.rebuildCategories=this.rebuildCategories.bind(this)}static createInstance(e,t,r){return wne(this,void 0,void 0,function*(){const n=new Ane(e);return n._currentManufacturer=t,n._currentProgram=r,n})}build(){const e=this,t=$("<div></div>");return t.addClass("module"),t.addClass(this._id),t.addClass("singlePage"),this.buildCategories().then(function(r){t.append(r),t.append(e.buildArticles([]))}),t}prepareData(e){const t=this,r=[];e.Articles[0].forEach(function(e){const n=new Wre(e,Bp.ACCESSOIRE),i=Wre.registeredAccessoiresCategories(e.CatString);i.forEach(function(e){foe.definedAccessoiresCategories.has(e)&&n.categories.set(e,foe.definedAccessoiresCategories.get(e))}),i.length==n.categories.size&&(t._articles.push(n),n.categories.forEach(function(e){r.indexOf(e)<0&&r.push(e)}))}),r.sort(function(e,t){return e.order-t.order}),r.forEach(function(e){t._moduleFilterCategories.set(e.id,e)})}buildCategories(){return wne(this,void 0,void 0,function*(){const e=this,t=$("<div></div>");t.addClass("categories"),t.addClass(this._id);const r=$("<label></label>");r.addClass("ui horizontal label"),r.text(boe.getValue("fv.terms.categories")),t.append(r);const n=[];for(let r=0;r<e._distinctPriorities.length;r++){const s=e._distinctPriorities[r],a=$("<div></div>");a.addClass("dropDownContainer"),a.attr("data-priority",s);const l=$("<select></select>");let c;if(l.addClass("ui fluid dropdown"),l.attr("data-priority",s),1===s){c=yield ape.GetCatsByPrio(["_global","1"]);for(let e=0;e<c.length;e++){const t=c[e];if("dhacces_dev"!==t[0]&&"dhacces_bgstruktur"!==t[0]){var i=foe.definedAccessoiresCategories.get(t[0]);0===e&&(n[s]=i.id),(o=$("<option></option>")).text(boe.getValue(i.languageKey)),o.val(i.id),o.attr("data-priority",s),l.append(o)}}}else{c=yield ape.GetSubCatsByPrio(["_global",s.toString(),n[s-1]]),0===c.length&&a.hide();for(let e=0;e<c.length;e++){const t=c[e];var o;i=foe.definedAccessoiresCategories.get(t[0]);0===e&&(n[s]=i.id),(o=$("<option></option>")).text(boe.getValue(i.languageKey)),o.val(i.id),o.attr("data-priority",s),l.append(o)}}l.change({prio:s},e.rebuildCategories),requestAnimationFrame(()=>l.dropdown()),a.append(l),t.append(a)}return t})}buildArticles(e){return vne.build(this,e,!0)}rebuildCategories(e){return wne(this,void 0,void 0,function*(){const t=e.data.prio,r=e.target.value,n=$(".mod_accessoires.categories select");if(n.length>0){for(let e=0;e<n.length;e++){const o=n[e];var i=$(o).data().priority;if(i===t+1){$(o).empty();const e=yield ape.GetSubCatsByPrio(["_global",i.toString(),r]);0===e.length?($(o).parent().parent().hide(),$(o).trigger("change")):($(o).parent().parent().show(),e.forEach(function(e,t){const r=foe.definedAccessoiresCategories.get(e[0]),n=$("<option></option>");n.text(boe.getValue(r.languageKey)),n.val(r.id),n.attr("data-priority",i),$(o).append(n)}),$(o).trigger("change"))}}3===t&&this.filter()}})}filter(){const e=this,t=[],r=$("."+e._id+".categories select");r.length>0&&r.each(function(e,r){!1===$(r).prop("disabled")&&void 0!==r.value&&""!==r.value&&"*"!==r.value&&t.push(r.value)});const n=e._articles.filter(function(e){let r=!1;return t.forEach(function(t){e.categories.has(t)||(r=!0)}),!r});$("."+e._id+".articles").empty().append(e.buildArticles(n))}refreshTexts(){}}const Cne=Ane;var Ene=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class Ine extends Qre{constructor(e,t,r,n,i){super(e,t,r,n,i);const o=JSON.parse(e.UserVal);this.filterArticles=this.filterArticles.bind(this),this._direction=o.articleDirection||"horizontal",this._sortBy=o.sortArticleByDimension||"xMax",this._hideEmptyCategories=o.hideEmptyCategories||!1,this._hideEmptyDimensions=o.hideEmptyDimension||!1,this._hideFilterDimensions=o.hideFilterDimensions||!1}static createInstance(e,t,r,n,i){return Ene(this,void 0,void 0,function*(){const o=new Ine(e,t,r,n,i),s=[];o._articles.forEach(function(e){e.articleProperties=[],s.push(e.artNo)});const a=yield ape.getArtPropByArts(t,r,s),l=[];for(let e=0;e<a.length;e++){const r=a[e];for(let e=0;e<Object.keys(r).length;e++){const n=Object.keys(r)[e];for(let e=0;e<o._articles.length;e++){const i=o._articles[e];if(r[n].artnr===i.artNo)for(let e=0;e<r[n].Vars.length;e++){const o=r[n].Vars[e],s=yield ape.getText([{TID:o.tid,GTN:"",Manu:t}]);if(""!==o.val){const e=new Wre(i.rawArticleData,Bp.STANDARD);e.articleProperties=[],e.articleProperties.push(new yne(o.key,o.val,s.T,r[n].img)),e.categories=i.categories,e.imgName=r[n].img.substring(0,r[n].img.lastIndexOf(".")),l.push(e)}}}}}if(l.forEach(function(e){o._articles.push(e)}),o._articles.sort(function(e,t){return e[o._sortBy]-t[o._sortBy]}),"SIDE"===o._currentProgram.toUpperCase()){const e=[],t=[];o._articles.forEach(function(r){r.categories.forEach(function(n,i){"dhcat_offenes_element"===i&&e.push(o.getCopyArticle(r)),"dhcat_geschlossenes_element"===i&&t.push(o.getCopyArticle(r))})}),o._articles=[],t.forEach(function(e){o._articles.push(e)}),e.forEach(function(e){o._articles.push(e)})}if("AIRR"===o._currentProgram.toUpperCase()){const e=[],t=[];o._articles.forEach(function(r){let n=!1;r.categories.forEach(function(t,i){"dhcat_airboard"===i&&(e.push(o.getCopyArticle(r)),n=!0)}),n||t.push(o.getCopyArticle(r))}),o._articles=[],e.forEach(function(e){o._articles.push(o.getCopyArticle(e))}),t.forEach(function(e){o._articles.push(o.getCopyArticle(e))})}return o})}getCopyArticle(e){const t=new Wre(e.rawArticleData,Bp.STANDARD);return t.articleProperties=e.articleProperties,t.categories=e.categories,t}prepareData(e){const t=this,r=[];e.Articles[0].forEach(function(e){const n=new Wre(e,Bp.STANDARD),i=Wre.registeredCategoriesAndSections(e.CatString);Wre.registeredProgGroups(e.CatString);i.forEach(function(e){foe.definedCategories.has(e)&&n.categories.set(e,foe.definedCategories.get(e))}),t._articles.push(n),n.categories.forEach(function(e){r.indexOf(e)<0&&r.push(e)}),n.manufacturerHash=t._currentManufacturerHash,n.programHash=t._currentProgramHash}),r.sort(function(e,t){return e.order-t.order}),r.forEach(function(e){t._moduleCategories.set(e.id,e)}),t._moduleCategories.forEach(function(e){e.priority>=1e3&&t._moduleFilterCategories.set(e.id,e)})}build(){const e=$("<div></div>");e.addClass("module"),e.addClass(this._id);const t=$("<p></p>");return t.addClass("gw-acc-header"),t.attr("data-i18n","fv.genericwizard.template_caption.W_ARTICLE"),t.text(this.title),e.append(t),this._articles.length>0&&(this._moduleFilterCategories.size>0&&e.append(this.buildCategories()),this._hideFilterDimensions||e.append(this.buildFilter()),e.append(this.buildArticles(this._articles))),e}buildCategories(){const e=this,t=$("<div></div>");t.addClass("categories"),t.addClass(this._id);const r=$('<div class="gw-acc selected"></div>');r.text(boe.getValue("fv.terms.categories")),r.attr("id","categoriesHeader"),t.append(r);const n=$('<div class="gw-acc-panel"></div>');return r.click(function(){r.hasClass("selected")||(n.show(),r.toggleClass("selected"),$(".dimensions .gw-acc").removeClass("selected"),$(".dimensions .gw-acc-panel-values").hide())}),Jre.getDistinctPriorities(e._moduleFilterCategories).forEach(function(r,i){i>0&&"SIDE"!==e._currentProgram.toUpperCase()&&n.append($("<hr>"));const o=$('<div class="prioGroup gw-acc-panel-values"></div>');e._moduleCategories.forEach(function(t){return Ene(this,void 0,void 0,function*(){if(r===t.priority){const n=$('<div class="gw-acc-panel-value cat"></div>');if(t.isCatManuDefined){const r=yield ape.getText([{TID:t.languageKey,GTN:"global-txt",Manu:e._currentManufacturer}]);n.text(r.T)}else n.text(boe.getValue(t.languageKey));n.attr("data-i18n",t.languageKey),n.attr("data-priority",r),n.attr("data-value",t.id),t.id===g_configuration.generic_wizard_preselected_cat&&n.addClass("selected"),n.click(function(){e.filterArticles(this)}),o.append(n)}})}),n.append(o),t.append(n)}),t}buildFilter(){const e=this;$("."+this._id+".dimensions").empty();const t=$("<div></div>");return t.addClass("dimensions"),t.addClass(this._id),e._dimensions.forEach(function(r){if(e.showDimension(r,e._articles)){const n=$('<div class="gw-acc"></div>');n.text(boe.getValue(e._dimensionsTextMap.get(r))),n.addClass(r),n.attr("id","filterHeader"+r),t.append(n);const i=$('<div class="filterGroup gw-acc-panel-values"></div>');n.click(function(){n.hasClass("selected")||($(".dimensions .gw-acc").removeClass("selected"),$(".dimensions .gw-acc-panel-values").hide(),$(".categories .gw-acc").removeClass("selected"),$(".categories .gw-acc-panel").hide(),i.show(),n.toggleClass("selected"))}),e.distinctDimensionValues(r,e._articles).forEach(function(t,n){const o=$('<div class="gw-acc-panel-value"></div>');o.addClass(r),o.addClass("dim"),o.attr("data-dimension",r),o.attr("data-value",t),o.text(Wre.formatDimension(t)),o.click(function(){e.filterArticles(this)}),("xMax"===r&&t.toString()===g_configuration.generic_wizard_preselected_x||"zMax"===r&&t.toString()===g_configuration.generic_wizard_preselected_z||"yMax"===r&&t.toString()===g_configuration.generic_wizard_preselected_y)&&o.addClass("selected"),i.append(o)}),i.hide(),t.append(i)}}),t}buildArticles(e){const t=this;let r;$("."+t.id+".articles").length>0?r=$("."+t.id+".articles"):(r=$("<div></div>"),r.addClass("articles"),r.addClass(t.id));const n=$('<div class="gw-acc selected"></div>');n.attr("id","articleListCaption"),n.text(boe.getValue("fv.terms.article")+" ("+e.length+")"),r.append(n);const i=$("<div></div>");return i.addClass("articleList gw-acc-panel-values"),n.click(function(){"none"===i.css("display")?i.show():i.hide(),n.toggleClass("selected")}),e.forEach(function(e){const r=$("<div></div>"),n=$("<img />").attr("src",e.imageSource()).error(function(e){$(this).attr("src","/images/not_available.png")});if("SIDE"===t._currentProgram.toUpperCase()&&(n.css("height","150px"),n.css("width","unset")),r.append(n),e.type===Bp.STANDARD){let t=e.artNo;e.articleProperties&&e.articleProperties.length>0&&(t+=" - ",t+=e.articleProperties[0].text);const n=$("<div></div>").text(t);n.addClass("artNo"),r.append(n);const i=$("<div></div>").text(boe.getValue("fv.generickatatree.b")+"="+e.xMax+" | "+boe.getValue("fv.generickatatree.h")+"="+e.zMax+" | "+boe.getValue("fv.generickatatree.t")+"="+e.yMax);i.addClass("artInfo"),r.append(i)}r.mouseenter(function(e){$(e.delegateTarget).addClass("markArt")}),r.mouseleave(function(e){$(e.delegateTarget).removeClass("markArt")}),r.click(function(r){r.stopPropagation(),r.preventDefault(),r.cancelBubble=!0,Bde.IsPlacerMode?e.articleProperties&&e.articleProperties.length>0?ape.PlacerAddObject({extParam:{[T]:e.articleProperties[0].value},ManuHash:t.currentManufacturerHash,ProgHash:t.currentProgramHash,ArticleNumber:e.artNo.toLowerCase()},new br).then(function(){}):ape.PlacerAddObject({extParam:{},ManuHash:t.currentManufacturerHash,ProgHash:t.currentProgramHash,ArticleNumber:e.artNo.toLowerCase()},new br).then(function(){}):ape.loadArticle(t.currentManufacturer,t.currentProgram,e.artNo,"a").then(function(){}),$(r.delegateTarget).addClass("markArt2"),$(r.delegateTarget).removeClass("markArt"),setTimeout(function(){$(r.delegateTarget).removeClass("markArt2")},500),setTimeout(function(){$(window).trigger("doProgPropertyFilter")},1e3)}),i.append(r)}),r.append(i),r}distinctDimensionValues(e,t){const r=[];return t.forEach(function(t){r.indexOf(t[e])<0&&r.push(t[e])}),r.sort(function(e,t){return e-t}),r}showDimension(e,t){return this.distinctDimensionValues(e,t).length>1}filter(){}filterArticles(e){const t=this,r=$(e);r.hasClass("disabled")&&($("."+t._id+" .cat").removeClass("selected disabled"),$("."+t._id+" .dim").removeClass("selected disabled")),r.toggleClass("selected");const n=[],i=[],o=[],s=$("."+t._id+".dimensions .xMax.dim.selected").attr("data-value"),a=$("."+t._id+".dimensions .yMax.dim.selected").attr("data-value"),l=$("."+t._id+".dimensions .zMax.dim.selected").attr("data-value"),c=[],u=$("."+t._id+" .cat.selected");u.length>0&&u.each(function(e,t){c.push($(t).attr("data-value"))});const d=t._articles.filter(function(e){let t=!1;return c.forEach(function(r){e.categories.has(r)||(t=!0)}),!t&&((void 0===s||"*"===s||e.xMax===+s)&&((void 0===a||"*"===a||e.yMax===+a)&&((void 0===l||"*"===l||e.zMax===+l)&&(-1===n.indexOf(e.xMax)&&n.push(e.xMax),-1===i.indexOf(e.yMax)&&i.push(e.yMax),-1===o.indexOf(e.zMax)&&o.push(e.zMax),!0))))}),h={};Jre.getDistinctPriorities(t._moduleFilterCategories).forEach(function(e){h[e]=[]}),d.forEach(function(e){e.categories.forEach(function(e){e.priority>=1e3&&-1===h[e.priority].indexOf(e.id)&&h[e.priority].push(e.id)})}),Object.keys(h).forEach(function(e){$("."+t._id+".categories div[data-priority='"+e+"']").each(function(t,r){const n=h[e],i=$(r).data("value");"*"!==i&&-1===n.indexOf(i)?$(r).addClass("disabled"):$(r).removeClass("disabled")})});$("."+t._id+".dimensions .filterGroup .xMax").each(function(e,t){const r=$(t).data("value");"*"!==r&&(-1===n.indexOf(+r)?$(t).addClass("disabled"):$(t).removeClass("disabled"))});$("."+t._id+".dimensions .filterGroup .yMax").each(function(e,t){const r=$(t).data("value");"*"!==r&&(-1===i.indexOf(+r)?$(t).addClass("disabled"):$(t).removeClass("disabled"))});$("."+t._id+".dimensions .filterGroup .zMax").each(function(e,t){const r=$(t).data("value");"*"!==r&&(-1===o.indexOf(+r)?$(t).addClass("disabled"):$(t).removeClass("disabled"))}),t._filteredArticleCount=d.length,$(".articles."+t._id).empty().append(t.buildArticles(d))}refreshTexts(){$("#categoriesHeader").text(boe.getValue("fv.terms.categories")),$("#filterHeaderzMax").text(boe.getValue("fv.generickatatree.height")),$("#filterHeaderyMax").text(boe.getValue("fv.generickatatree.depth")),$("#filterHeaderxMax").text(boe.getValue("fv.generickatatree.width")),$("#articleListCaption").text(boe.getValue("fv.terms.article")+"("+this._filteredArticleCount.toString()+")")}}const Mne=Ine;const kne=class extends Qre{constructor(e,t,r,n,i){super(e,t,r,n,i);const o=this,s=JSON.parse(e.UserVal);this.filter=this.filter.bind(this),this._direction=s.ArticleDirection||"horizontal",this._sortBy=s.SortArticleByDimension||"yMax",this._hideEmptyCategories=s.HideEmptyCategories||!1,this._hideEmptyDimensions=s.HideEmptyDimension||!1,this._articles.sort(function(e,t){return e[o._sortBy]-t[o._sortBy]})}prepareData(e){const t=this,r=[];e.Articles[0].forEach(function(e){const n=new Wre(e,Bp.FITTING),i=Wre.registeredCategoriesAndSections(e.CatString);Wre.registeredProgGroups(e.CatString);i.forEach(function(e){foe.definedCategories.has(e)&&n.categories.set(e,foe.definedCategories.get(e))}),t._articles.push(n),n.categories.forEach(function(e){r.indexOf(e)<0&&r.push(e)})}),r.sort(function(e,t){return e.order-t.order}),r.forEach(function(e){t._moduleCategories.set(e.id,e)}),t._moduleCategories.forEach(function(e){e.priority>=1e3&&t._moduleFilterCategories.set(e.id,e)})}build(){const e=$("<div></div>");return e.addClass("module"),e.addClass(this._id),this._articles.length>0&&(this._moduleFilterCategories.size>0&&e.append(this.buildCategories()),e.append(this.buildArticles(this._articles))),e}buildCategories(){const e=this,t=$("<div></div>");t.addClass("categories"),t.addClass(this._id);const r=$("<div></div>");return r.addClass("ui small header"),r.text(boe.getValue("fv.terms.categories")),t.append(r),Jre.getDistinctPriorities(e._moduleFilterCategories).forEach(function(r){const n=$('<div class="centerButtons"></div>');e._moduleCategories.forEach(function(e){if(r===e.priority){const t=$('<button class="ui compact button"></button>');t.text(boe.getValue(e.languageKey)),t.attr("data-priority",r),t.attr("data-value",e.id),n.append(t)}}),t.append(n)}),t}buildArticles(e){return vne.build(this,e,!1)}distinctDimensionValues(e,t){const r=[];return t.forEach(function(t){r.indexOf(t[e])<0&&r.push(t[e])}),r.sort(function(e,t){return e-t}),r}showDimension(e,t){return this.distinctDimensionValues(e,t).length>1}filter(){const e=this,t=[],r=[],n=[],i=$("."+e._id+" .inline.fields.xMax input[type='radio']:checked").val(),o=$("."+e._id+" .inline.fields.yMax input[type='radio']:checked").val(),s=$("."+e._id+" .inline.fields.zMax input[type='radio']:checked").val(),a=[],l=$("."+e._id+" .ui.fluid.dropdown.selection.category");l.length>0&&l.each(function(e,t){const r=$(t).dropdown("get value");void 0!==r&&""!==r&&"*"!==r&&a.push(r)});const c=e._articles.filter(function(e){let l=!1;return a.forEach(function(t){e.categories.has(t)||(l=!0)}),!l&&((void 0===i||"*"===i||e.xMax===+i)&&((void 0===o||"*"===o||e.yMax===+o)&&((void 0===s||"*"===s||e.zMax===+s)&&(-1===t.indexOf(e.xMax)&&t.push(e.xMax),-1===r.indexOf(e.yMax)&&r.push(e.yMax),-1===n.indexOf(e.zMax)&&n.push(e.zMax),!0))))}),u={};Jre.getDistinctPriorities(e._moduleFilterCategories).forEach(function(e){u[e]=[]}),c.forEach(function(e){e.categories.forEach(function(e){e.priority>=1e3&&-1===u[e.priority].indexOf(e.id)&&u[e.priority].push(e.id)})}),Object.keys(u).forEach(function(t){if(+t>1e3){$("."+e._id+".categories div[data-priority='"+t+"']").each(function(r,n){const i=u[t],o=$(n).data("value");"*"!==o&&-1===i.indexOf(o)?e._hideEmptyCategories?$(n).hide():$(n).addClass("disabled"):e._hideEmptyCategories?$(n).show():$(n).removeClass("disabled")})}});$("."+e._id+" .inline.fields.xMax input[type='radio']").each(function(r,n){const i=$(n).val();"*"!==i&&(-1===t.indexOf(+i)?e._hideEmptyDimensions?$(n).parent().hide():$(n).prop("disabled",!0):e._hideEmptyDimensions?$(n).parent().show():$(n).prop("disabled",!1))});$("."+e._id+" .inline.fields.yMax input[type='radio']").each(function(t,n){const i=$(n).val();"*"!==i&&(-1===r.indexOf(+i)?e._hideEmptyDimensions?$(n).parent().hide():$(n).prop("disabled",!0):e._hideEmptyDimensions?$(n).parent().show():$(n).prop("disabled",!1))});$("."+e._id+" .inline.fields.zMax input[type='radio']").each(function(t,r){const i=$(r).val();"*"!==i&&(-1===n.indexOf(+i)?e._hideEmptyDimensions?$(r).parent().hide():$(r).prop("disabled",!0):e._hideEmptyDimensions?$(r).parent().show():$(r).prop("disabled",!1))}),$(".articles."+e._id).empty().append(e.buildArticles(c))}refreshTexts(){}};const Tne=class{constructor(e,t,r,n,i,o,s,a,l,c){this._id=e,this._index=t,this._textKey=r,this._toolTipKey=n,this._group=i,this._imgName=o,this._manu=s,this._prog=a,this._manuHash=l,this._progHash=c,this._values=[]}get id(){return this._id}set id(e){this._id=e}get imgName(){return this._imgName}set imgName(e){this._imgName=e}get textKey(){return this._textKey}set textKey(e){this._textKey=e}get text(){return this._text}set text(e){this._text=e}get group(){return this._group}set group(e){this._group=e}get index(){return this._index}get manu(){return this._manu}set manu(e){this._manu=e}get prog(){return this._prog}set prog(e){this._prog=e}get manuHash(){return this._manuHash}set manuHash(e){this._manuHash=e}get progHash(){return this._progHash}set progHash(e){this._progHash=e}get values(){return this._values}set values(e){this._values=e}hasRenderTemplate(){let e=!1;return this._values.forEach(function(t){t.isRenderTemplate()&&(e=!0)}),e}getModalTextInfoMarkup(e,t,r){const n=this;let i=[];const o=$("<div></div>");return e.forEach(function(e){e[0]===n.id&&(i=JSON.parse(e[1]))}),i&&i.items&&i.items.forEach(function(e){if("paragraph"===e.type){const t=$("<p style='margin: 10px'></p>"),n=r.find(function(t){return t[0]===e.content});n&&n[1]?t.text(n[1]):t.text(e.content),o.append(t)}if("header"===e.type){const t=$("<h"+e.size+"></h>"),n=r.find(function(t){return t[0]===e.content});n&&n[1]?t.text(n[1]):t.text(e.content),o.append(t)}if("list"===e.type){const t=$("<ul></ul>");e.items.forEach(function(n){const i=$("<li></li>"),o=r.find(function(e){return e[0]===n.content});o&&o[1]?i.text(o[1]):i.text(e.content),t.append(i)}),o.append(t)}if("imagelist"===e.type){const t=$("<div></div>");e.items.forEach(function(e){const r=$("<img/>"),i=e.source;let o;o=lm.getUrl(n._manuHash,"-","art",i,!0),r.attr("src",o),t.append(r)}),o.append(t)}}),o}imageSource(){let e,t=!1,r=this._id;return""!==this._imgName&&(r=this._imgName,t=!0),e=lm.getUrl(this._manuHash,this._progHash,"art",r,t),e}doPropTransfer(){const e=[];e[0]={command:"getPropTransferExchangeData"},e[1]=this._id,cse.switch(e).then(function(e){return e}).then(function(){setTimeout(function(){$(window).trigger("doProgPropertyFilter")},1500)})}delPropTransfer(){const e=[];return e[0]={command:"delPropTransferExchangeData"},e[1]=this._id,cse.switch(e).then(function(e){return e}).then(function(){setTimeout(function(){$(window).trigger("doProgPropertyFilter")},1500)})}};const Rne=class{constructor(e,t,r){this._entries=[],this._id=e,this._textKey=t,this._index=r}get id(){return this._id}set id(e){this._id=e}get textKey(){return this._textKey}set textKey(e){this._textKey=e}get text(){return this._text}set text(e){this._text=e}get index(){return this._index}set index(e){this._index=e}get entries(){return this._entries}set entries(e){this._entries=e}};const Lne=class{constructor(e,t){this._type=e,this._value=t}get type(){return this._type}set type(e){this._type=e}get value(){return this._value}set value(e){this._value=e}isRenderTemplate(){return"dropdown"===this._value}};var Pne=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class Dne extends Qre{constructor(e,t,r,n,i){super(e,t,r,n,i),this._data=[],this._ptList=[],this._ptInfoText=[],this._globalTxtData=[]}static createInstance(e,t,r,n,i){return Pne(this,void 0,void 0,function*(){const o=new Dne(e,t,r,n,i);try{o._ptGroupDhtInfo=yield ape.getPropTransferGroupedInfo(t,r)}catch(e){console.log(e.toString())}try{const e=yield ape.getPropTransferInfo(t,r);o._ptDhtInfo=e,o._ptDhtVars=e}catch(e){console.log(e.toString())}let s;try{s=yield ape.getInfoTextData(t,r)}catch(e){}s&&s.infotext&&(o._ptInfoText=s.infotext);const a=yield ape.getGlobalTxtData(o._currentManufacturer,g_language);if(o._globalTxtData=a.globaltxt,e.Articles[0].forEach(function(e){o._ptList.push(e.ZArtNr)}),o._ptGroupDhtInfo&&o._ptGroupDhtInfo.propTransGroupedInfo)for(let e=0;e<o._ptGroupDhtInfo.propTransGroupedInfo.length;e++){const r=o._ptGroupDhtInfo.propTransGroupedInfo[e],n=new Rne(r[0],r[1],r[3]),i=yield ape.getText([{TID:n.textKey,GTN:"",Manu:t}]);""===i.T?n.text=n.textKey:n.text=i.T,o._data.push(n)}if(o._ptDhtInfo&&o._ptDhtInfo.propTransInfo)for(let e=0;e<o._ptDhtInfo.propTransInfo.length;e++){const r=o._ptDhtInfo.propTransInfo[e],n=new Tne(r[0],r[16],r[9],r[14],r[10],r[7],o.currentManufacturer,o.currentProgram,o._currentManufacturerHash,o._currentProgramHash),i=yield ape.getText([{TID:n.textKey,GTN:"",Manu:t}]);if(""===i.T?n.text=n.textKey:n.text=i.T,o._ptDhtVars&&o._ptDhtVars.propTransVars)for(let e=0;e<o._ptDhtVars.propTransVars.length;e++){const t=o._ptDhtVars.propTransVars[e];if(r[0]===t[0]){const e=new Lne(t[2],t[3]);n.values.push(e)}}if(o._ptList.includes(n.id)){const e=o._data.find(function(e){return e.id===n.group});e&&e.entries.push(n)}}return o._data.sort(function(e,t){return e.index-t.index}),o._data.forEach(function(e){e.entries.sort(function(e,t){return e.index-t.index})}),$(window).on("doCollapse",function(e,t){t!==o.id&&o.onCollapse()}),o})}onCollapse(){$(".proptrans .gw-acc-panel").hide(),$(".proptrans .gw-acc").removeClass("selected")}build(){const e=$("<div></div>");return e.addClass("module"),e.addClass(this._id),e.append(this.buildPropTrans()),e}prepareData(e){}buildPropTrans(){const e=this,t=$('<div class="proptrans"></div>');if("DHACCORDION"===g_configuration.generic_wizard_template){t.addClass(g_configuration.generic_wizard_template);let r=0;e._data.forEach(function(n){if(n.entries.length>0){const i=n.id.replace(" ",""),o=$('<div class="gw-acc"></div>');o.text(n.text),o.addClass("translateItem"),o.attr("data-textKey",n.textKey);const s=$('<div class="gw-acc-panel"></div>');o.click(function(){let t=!0;"block"===s.css("display")&&(s.hide(),t=!1),$(".proptrans .gw-acc-panel").hide(),$(".proptrans .gw-acc").removeClass("selected"),t&&(s.show(),o.addClass("selected"),$(window).trigger("doCollapse",[e.id])),s.find(".gw-acc-panel-value").removeClass("selected"),s.find(".gw-acc-panel-selected").hide(),s.find(".gw-acc-panel-value.first").addClass("selected"),s.find(".gw-acc-panel-selected.first").show()});const a=$('<div class="gw-acc-panel-values"></div>'),l=$('<div class="gw-acc-panel-selection"></div>');n.entries.forEach(function(t,r){const n=$('<div class="gw-acc-panel-value"></div>');n.addClass("proptrans"),n.addClass(i),n.text(t.text),n.addClass("translateItem"),n.attr("data-textKey",t.textKey),a.append(n);const o=$('<div class="gw-acc-panel-selected"></div>');0===r&&(o.addClass("first"),n.addClass("first"));const s=$('<div class="gw-acc-panel-selected-remove tooltip"></div>'),c=$('<span class="tooltiptext">'+boe.getValue("fv.genericwizard.tooltip.removeArticle")+"</span>");s.append(c);const u=$('<div class="gw-acc-panel-selected-add tooltip"></div>'),d=$('<span class="tooltiptext">'+boe.getValue("fv.genericwizard.tooltip.addArticle")+"</span>");u.append(d);const h=$('<div class="gw-acc-panel-selected-info tooltip"></div>'),p=$('<span class="tooltiptext">'+boe.getValue("fv.genericwizard.tooltip.infoArticle")+"</span>");h.append(p);const m=$('<img class="gw-acc-panel-selected-img">');if(h.click(function(){const r=t.getModalTextInfoMarkup(e._ptInfoText,t,e._globalTxtData);r&&r.length>0&&foe.showModalArticleInfo(t.text,r,t)}),m.attr("src",t.imageSource()),o.addClass(i),o.append(m),o.append(s),o.append(u),o.append(h),t.hasRenderTemplate()){const r=$('<div class="gw-acc-panel-selected-dropdown"></div>'),n=$('<select class="gwTestDropDown"></select>'),i=[];"TV_SAMSUNG_TV_SET"===t.id&&("ARTX"===e._currentProgram.toUpperCase()||"CIRC"===e._currentProgram.toUpperCase()||"TUBE"===e._currentProgram.toUpperCase()||"TRAY"===e._currentProgram.toUpperCase()?(i.push({value:"TV_SAMSUNGTV48",selected:!1,textid:"html_fv_tv_S48"}),i.push({value:"TV_SAMSUNGTV49",selected:!1,textid:"html_fv_tv_S49"}),i.push({value:"TV_SAMSUNGTV50",selected:!1,textid:"html_fv_tv_S50"}),i.push({value:"TV_SAMSUNGTV55",selected:!0,textid:"html_fv_tv_S55"}),i.push({value:"TV_SAMSUNGTV58",selected:!1,textid:"html_fv_tv_S58"}),i.push({value:"TV_SAMSUNGTV60",selected:!1,textid:"html_fv_tv_S60"}),i.push({value:"TV_SAMSUNGTV65",selected:!1,textid:"html_fv_tv_S65"})):(i.push({value:"TV_SAMSUNGTV32",selected:!1,textid:"html_fv_tv_S32"}),i.push({value:"TV_SAMSUNGTV40",selected:!1,textid:"html_fv_tv_S40"}),i.push({value:"TV_SAMSUNGTV43",selected:!1,textid:"html_fv_tv_S43"}),i.push({value:"TV_SAMSUNGTV48",selected:!1,textid:"html_fv_tv_S48"}),i.push({value:"TV_SAMSUNGTV49",selected:!1,textid:"html_fv_tv_S49"}),i.push({value:"TV_SAMSUNGTV50",selected:!1,textid:"html_fv_tv_S50"}),i.push({value:"TV_SAMSUNGTV55",selected:!0,textid:"html_fv_tv_S55"}),i.push({value:"TV_SAMSUNGTV58",selected:!1,textid:"html_fv_tv_S58"}),i.push({value:"TV_SAMSUNGTV60",selected:!1,textid:"html_fv_tv_S60"}),i.push({value:"TV_SAMSUNGTV65",selected:!1,textid:"html_fv_tv_S65"}),i.push({value:"TV_SAMSUNGTV70",selected:!1,textid:"html_fv_tv_S70"}),i.push({value:"TV_SAMSUNGTV75",selected:!1,textid:"html_fv_tv_S75"}),i.push({value:"TV_SAMSUNGTV77",selected:!1,textid:"html_fv_tv_S77"}),i.push({value:"TV_SAMSUNGTV78",selected:!1,textid:"html_fv_tv_S78"}),i.push({value:"TV_SAMSUNGTV82",selected:!1,textid:"html_fv_tv_S82"}),i.push({value:"TV_SAMSUNGTV85",selected:!1,textid:"html_fv_tv_S85"}),i.push({value:"TV_SAMSUNGTV86",selected:!1,textid:"html_fv_tv_S86"}))),"SetEU"===t.id&&(n.attr("id","SetEU"),i.push({value:"SetEU_Kombi1",selected:!0,textid:"html_fv_connectivity_kombi_1"}),i.push({value:"SetEU_Kombi2",selected:!0,textid:"html_fv_connectivity_kombi_2"}),i.push({value:"SetEU_Kombi3",selected:!0,textid:"html_fv_connectivity_kombi_3"}),i.push({value:"SetEU_Kombi4",selected:!0,textid:"html_fv_connectivity_kombi_4"}),i.push({value:"SetEU_Kombi5",selected:!0,textid:"html_fv_connectivity_kombi_5"}),i.push({value:"SetEU_Kombi6",selected:!0,textid:"html_fv_connectivity_kombi_6"}),i.push({value:"SetEU_Kombi7",selected:!0,textid:"html_fv_connectivity_kombi_7"}),i.push({value:"SetEU_Kombi8",selected:!0,textid:"html_fv_connectivity_kombi_8"}),i.push({value:"SetEU_Kombi9",selected:!0,textid:"html_fv_connectivity_kombi_9"}),i.push({value:"SetEU_Kombi10",selected:!0,textid:"html_fv_connectivity_kombi_10"})),"SetUK"===t.id&&(n.attr("id","SetUK"),i.push({value:"SetUK_Kombi1",selected:!0,textid:"html_fv_connectivity_kombi_1"}),i.push({value:"SetUK_Kombi2",selected:!1,textid:"html_fv_connectivity_kombi_2"}),i.push({value:"SetUK_Kombi3",selected:!1,textid:"html_fv_connectivity_kombi_3"}),i.push({value:"SetUK_Kombi4",selected:!1,textid:"html_fv_connectivity_kombi_4"}),i.push({value:"SetUK_Kombi5",selected:!1,textid:"html_fv_connectivity_kombi_5"}),i.push({value:"SetUK_Kombi6",selected:!1,textid:"html_fv_connectivity_kombi_6"}),i.push({value:"SetUK_Kombi7",selected:!1,textid:"html_fv_connectivity_kombi_7"}),i.push({value:"SetUK_Kombi8",selected:!1,textid:"html_fv_connectivity_kombi_8"}),i.push({value:"SetUK_Kombi9",selected:!1,textid:"html_fv_connectivity_kombi_9"}),i.push({value:"SetUK_Kombi10",selected:!1,textid:"html_fv_connectivity_kombi_10"})),"SetCH"===t.id&&(n.attr("id","SetCH"),i.push({value:"SetCH_Kombi1",selected:!0,textid:"html_fv_connectivity_kombi_1"}),i.push({value:"SetCH_Kombi2",selected:!1,textid:"html_fv_connectivity_kombi_2"}),i.push({value:"SetCH_Kombi3",selected:!1,textid:"html_fv_connectivity_kombi_3"}),i.push({value:"SetCH_Kombi4",selected:!1,textid:"html_fv_connectivity_kombi_4"}),i.push({value:"SetCH_Kombi5",selected:!1,textid:"html_fv_connectivity_kombi_5"}),i.push({value:"SetCH_Kombi6",selected:!1,textid:"html_fv_connectivity_kombi_6"}),i.push({value:"SetCH_Kombi7",selected:!1,textid:"html_fv_connectivity_kombi_7"}),i.push({value:"SetCH_Kombi8",selected:!1,textid:"html_fv_connectivity_kombi_8"}),i.push({value:"SetCH_Kombi9",selected:!1,textid:"html_fv_connectivity_kombi_9"}),i.push({value:"SetCH_Kombi10",selected:!1,textid:"html_fv_connectivity_kombi_10"})),i.forEach(function(t){return Pne(this,void 0,void 0,function*(){let r="";const i=yield ape.getText([{TID:t.textid,GTN:"",Manu:e.currentManufacturer}]);r=""===i.T?t.textid:i.T;const o=$('<option value="'+t.value+'" '+(t.selected?"selected":"")+" >"+r+"</option>");n.append(o)})}),r.append(n),o.append(r),u.click(function(){const e=[];return e[0]={command:"getPropTransferExchangeData"},e[1]=n.val(),cse.switch(e).then(function(e){return e})}),s.click(function(){const e=[];return e[0]={command:"delPropTransferExchangeData"},e[1]=n.val(),cse.switch(e).then(function(e){return e})})}else u.click(function(){t.doPropTransfer()}),s.click(function(){t.delPropTransfer()});l.append(o),n.click(function(){$(".gw-acc-panel-selected."+i).hide(),$(".gw-acc-panel-value."+i).removeClass("selected"),o.show(),n.addClass("selected")}),0!==r?o.hide():n.addClass("selected")}),s.append(a),s.append(l),t.append(o),t.append(s),0!==r?s.hide():o.addClass("selected"),r++}})}return t}filter(){}refreshTexts(){return Pne(this,void 0,void 0,function*(){const e=(yield ape.getGloTxtData(this._currentManufacturer,this._currentProgram,language)).glotxt;$(".proptrans .translateItem").toArray().forEach(t=>{const r=$(t).attr("data-textKey"),n=e.find(function(e){return e[0]===r});$(t).text(n[1])})})}}const Nne=Dne;var Fne=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class One{constructor(e){this._index=e.index,this._id=e.id,this._parentId=e.parentId,this._name=e.name,this._image=e.image,this._manu=e.manu,this._prog=e.prog,this._key=e.key||this._manu+"_"+this._prog+"_"+this._id.toLowerCase()+"_"+this._parentId,this._keyNCS=this._manu+"_"+this._prog+"_"+this._id.toLowerCase()+"_"+this._parentId,this._manuHash=e.manuHash,this._progHash=e.progHash}get keyNCS(){return this._keyNCS}get manu(){return this._manu}get prog(){return this._prog}get isNCS(){return this._isNCS}set isNCS(e){this._isNCS=e}get isSIKKENS(){return this._isSIKKENS}set isSIKKENS(e){this._isSIKKENS=e}get id(){return this._id}get parentId(){return this._parentId}get name(){return this._name}get key(){return this._key}get image(){return this._image}imageSource(){const e=this.image;let t;return t=lm.getUrl(this._manuHash,"","aus",e.toLowerCase(),!0,!1),t}doProgProperty(e){return Fne(this,void 0,void 0,function*(){const t={manufacturer:this._manu.toLowerCase(),program:this._prog.toLowerCase(),key:this._parentId,property:this._id,propertyKey:this._key,index:this._index};return ape.modifyProperty([t],{isWizard:!0,modifyColorPicker:e.modifyColorPicker,modifyComponent:e.modifyComponent})})}}class Bne{constructor(e,t){this.type="",this.parent=null,this.children=[],this.isGlobalExcluded=!1,this.listener={},this.type=e,this.children=[],this.parent=t}get IsGlobalExcluded(){return this.isGlobalExcluded}set IsGlobalExcluded(e){this.isGlobalExcluded=e}get Children(){return this.children}set Children(e){this.children=e}get Type(){return this.type}get Parent(){return this.parent}addEventListener(e,t){this.listener[e]||(this.listener[e]=[]),this.listener[e].push(t)}removeEventListener(e,t){if(this.listener[e])if(t){let r=-1;do{r=this.listener[e].indexOf(t),-1!==r&&this.listener[e].splice(r,1)}while(-1!==r)}else this.listener[e]=[]}dispatchEventListener(e,...t){this.listener[e]&&this.listener[e].forEach(e=>{e&&e.apply(this,t)})}}class Une extends Bne{constructor(e,t,r){var n,i;super("propertyValue",t),this.materials=[],this.alternativeImage="",this.key="",this.name="",this.propertyKey="",this.toolTipType="",this.toolTipData="",this.sequenceNo=-1,this._index=-1,this.alternativeImage=e.image,this.name=e.text,this.key=e.value,this.propertyKey=e.propertyKey.toLowerCase(),this.sequenceNo=r,this.toolTipType=null===(n=e.tooltip)||void 0===n?void 0:n.type,this.toolTipData=null===(i=e.tooltip)||void 0===i?void 0:i.data,this._index=e.index,this._colorPickerData=e.colorPickerData}get ManufacturerName(){return this.Parent.ManufacturerName}get ManufacturerHash(){return this.Parent.ManufacturerHash}get ProgramName(){return this.Parent.ProgramName}get PropertyKey(){return this.Parent.Key}get ToolTipData(){return this.toolTipData}get ToolTipType(){return this.toolTipType}set ToolTipData(e){this.toolTipData=e}set ToolTipType(e){this.toolTipType=e}get Name(){return this.name}get Key(){return this.key}get AlternativeImage(){return this.alternativeImage}get Materials(){return this.materials}get ValueKey(){return this.propertyKey}get Index(){return this._index}get ColorPickerData(){return this._colorPickerData}get Parent(){return this.parent}get SequenceNo(){return this.sequenceNo}updateValues(e,t){var r,n;this.alternativeImage=e.image||this.alternativeImage,this.name=e.text,this.key=e.value,this.sequenceNo=t,this.toolTipType=null===(r=e.tooltip)||void 0===r?void 0:r.type,this.toolTipData=null===(n=e.tooltip)||void 0===n?void 0:n.data,this._index=e.index}toJSON(){const e="#DH_OHNE"===this.alternativeImage?`${g_node_url_prefix}/furnplan/_global/_global/html/h/css/images/DH_OHNE.jpg`:this.alternativeImage.length>0?lm.getUrl(this.ManufacturerHash,"","aus",this.alternativeImage,!0):"",t=e&&e.length>0?e:"";return{colorPicker:this._colorPickerData,alternativeImage:this.alternativeImage,alternativeImageUrl:t,key:this.key,materials:this.materials,name:this.name,propertyKey:this.propertyKey,toolTipData:this.toolTipData,toolTipType:this.toolTipType,sequenceNo:this.sequenceNo}}}class Vne extends Bne{constructor(e,t){super("property",t),this.currentToolTipType="",this.currentToolTipData="",this.currentValue=null,this.currentValueIndex=-1,this.id="",this.key="",this.name="",this.isNew=!0,this.domElement=null,this.sequenceNo=-1,this.colorPicker=void 0,this.id=e.propertyKey,this.key=`${t.ManufacturerName}_${t.ProgramName.toLowerCase()}_${e.propertyKey}`,this.name=e.title,this.sequenceNo=-1,this.currentValueIndex=e.dynamicData.index}get DomElement(){return this.domElement}set DomElement(e){this.domElement=e}get IsNew(){return this.isNew}set IsNew(e){this.isNew=e}get CurrentToolTipData(){return this.currentToolTipData}get CurrentToolTipType(){return this.currentToolTipType}get ID(){return this.id}get Index(){return this.currentValueIndex}get Key(){return this.key}get Name(){return this.name}get CurrentValue(){return this.currentValue}get ManufacturerName(){return this.Parent.ManufacturerName}get ManufacturerHash(){return this.Parent.ManufacturerHash}get ProgramName(){return this.Parent.ProgramName}get Parent(){return this.parent}get Children(){return this.children}get SequenceNo(){return this.sequenceNo}get ColorPickerData(){return this.colorPicker}setColorPickerData(e){this.colorPicker=e}getValue(e){const t=this.children.filter(t=>t.ValueKey===e);return t&&t.length>0?t[0]:null}createOrGetPropertyValue(e,t,r=!1){let n=this.getValue(e);return n||t.__isExcluded&&!r||(n=new Une(t,this),this.children.push(n)),n}clearCurrentValue(){this.currentValue=void 0}setCurrentValue(e){if(e){const t=this.getValue(e);t&&(this.isNew=!0,this.currentValue=t,this.currentToolTipData=t.ToolTipData,this.currentToolTipType=t.ToolTipType,this.dispatchEventListener("onChangeCurrentValue",this.currentValue))}}toJSON(){var e;const t={};return this.children.forEach(e=>{t[e.ValueKey]=e.toJSON()}),{colorPicker:this.colorPicker,children:t,currentToolTipData:this.currentToolTipData,currentToolTipType:this.currentToolTipType,currentValue:null===(e=this.currentValue)||void 0===e?void 0:e.ValueKey,name:this.name,id:this.id,key:this.key,sequenceNo:this.sequenceNo}}}class zne extends Bne{constructor(e,t){super("program",t),this.programID="",this.programName="",this.programLongName="",this.programHash="",this.keys=new Set,this.programName=e.Prog.toUpperCase(),this.programLongName=e.Prog,this.programID=e.Prog.toUpperCase(),this.programHash=e.ProgHash}get ProgramName(){return this.programName}get ProgramLongName(){return this.programLongName}set ProgramLongName(e){this.programLongName=e}get ManufacturerName(){return this.Parent.ManufacturerName}get ManufacturerHash(){return this.Parent.ManufacturerHash}get ProgramHash(){return this.programHash}get ProgramID(){return this.programID}get Keys(){return[...this.keys]}get Parent(){return this.parent}get Children(){return this.children}getProperty(e){const t=this.children.filter(t=>t.ID===e||t.Key===e);return t&&t.length>0?t[0]:null}createOrGetProperty(e,t,r=!1,n=!1){this.keys.add(t.propertyKey);let i=this.getProperty(e);return!n||this.Parent.isPropertyValid(t)?(i||t.__isExcluded&&!r||(i=new Vne(t,this),this.children.push(i)),i&&(this.Parent.preventCurrentValue()&&i.clearCurrentValue(),i.Children.splice(0),t.dynamicData.optionList.forEach((e,n)=>{const o=e.index,s=t.staticOptionData[o];if(s.propertyKey=`${this.ManufacturerName}_${this.ProgramName}_${s.value}_${t.propertyKey}`,s.index=n,s.colorPickerData&&e.colorPickerData){const t={type:s.colorPickerData.type,code:e.colorPickerData.code,rgb:e.colorPickerData.rgb};s.colorPickerData.code=e.colorPickerData.code,s.colorPickerData.rgb=e.colorPickerData.rgb,i.setColorPickerData(t)}const a=i.createOrGetPropertyValue(s.propertyKey,s,r);this.Parent.preventCurrentValue(e)||n!==t.dynamicData.index||i.setCurrentValue(a.ValueKey),a&&a.updateValues(s)}))):i&&this.children.splice(this.children.indexOf(i),1),i}isPropertyVisible(e){return!(e.dynamicData&&e.dynamicData.status&Qne.INVISIBLE)&&!("context"===this.parent.Type&&e.dynamicData&&!(e.dynamicData.status&Qne.IRRELEVANT))}clearCurrentValues(){this.children.forEach(e=>{e.clearCurrentValue()})}toJSON(){const e={};return this.children.forEach(t=>{e[t.Key]=t.toJSON(),this.keys.add(t.Key)}),{programHash:this.programHash,programID:this.programID,programLongName:this.programLongName,programName:this.programName,children:e,keys:[...this.keys]}}}class Hne extends Bne{constructor(e,t){super("manufacturer",t),this.manufacturerName="",this.manufacturerHash="",this.manufacturerName=e.Manu,this.manufacturerHash=e.ManuHash,this.isContextBased=!!e.dynamicData.isContextBasedSystem}get ManufacturerName(){return this.manufacturerName}get ManufacturerHash(){return this.manufacturerHash}get Parent(){return this.parent}get Children(){return this.children}getProgram(e){const t=this.children.filter(t=>t.ProgramName.toLocaleLowerCase()===e.toLocaleLowerCase());return t&&t.length>0?t[0]:null}createOrGetProgram(e,t,r=!1,n=!1){let i=this.getProgram(e);return i||(i=new zne(t,this),this.children.push(i)),i.createOrGetProperty(t.propertyKey,t,r,n),0===i.Children.length&&this.children.splice(this.children.indexOf(i),1),i}toJSON(e){const t={};return this.children.forEach(r=>{e&&e.toLocaleLowerCase()!==r.ProgramName.toLocaleLowerCase()||(t[r.ProgramName]=r.toJSON())}),{manufacturerName:this.manufacturerName,manufacturerHash:this.manufacturerHash,children:t}}getWith(e,t){const r=new Hne({Manu:this.ManufacturerName,ManuHash:this.ManufacturerHash},t);return this.children.forEach(t=>{e.includes(t.ProgramName)&&r.Children.push(t)}),r}isPropertyStatusValid(e){if(e.dynamicData.status){if(e.dynamicData&&e.dynamicData.status&Qne.INVISIBLE)return!1;if(e.dynamicData&&e.dynamicData.status&Qne.IRRELEVANT)return!1}return!0}preventCurrentValue(e){return!1}isPropertyValid(e){return(e.dynamicData.inUse||void 0===e.dynamicData.inUse)&&e.dynamicData.index>=0}}class Gne extends Hne{constructor(e,t,r){super(t,r),this.contextId=e,this.type="context"}get ContextId(){return this.contextId}toJSON(e){const t=super.toJSON();return t.children={},this.children.forEach(r=>{e&&e.toLocaleLowerCase()!==r.ProgramName.toLocaleLowerCase()||(t.children[r.ProgramName]=r.toJSON())}),Object.assign({contextId:this.contextId},t)}preventCurrentValue(e){return!e}isPropertyValid(e){return!!e.dynamicData.inUse||void 0===e.dynamicData.inUse}}const jne=new class{hasContext(e,t){return Array.from(t.keys()).some(t=>t.toLowerCase().startsWith(e.toLowerCase()))}getContextFromId(e){const t=e.lastIndexOf("#",e.length),r=e.substring(t+1,e.length);return{contextId:e.substring(0,t),propertyKey:r}}isGlobalContext(e){const t=this.getContextFromId(e);return 1==(t.contextId.includes("#")?t.contextId.split("#").length-1:0)}getFilteredContexts(e,t){const r=new Map;return t.forEach((t,n)=>{e([n,t])&&r.set(n,t)}),r}sortProperties(e,t,r){const n=Rre.getOrderList("properties"),i=e=>{if(n){const t=Object.keys(n).find(t=>t.includes(e));if(t)return n[t]}return{order:0}};return r=r.sort((e,t)=>{if(n){return i(e).order-i(t).order}return 0}),e.sort((e,r)=>{const i=t[e],o=t[r];if(!i||!o)return 0;let s=i.sequenceNo,a=o.sequenceNo;if(n){const e=n[i.key],t=n[o.key];s=e&&!isNaN(e.order)?+e.order:s,a=t&&!isNaN(t.order)?+t.order:a}return s=-1===s?1/0:s,a=-1===a?1/0:a,s-a}),r&&(e=this.sortArrayByIncludingStrings(e,r)),e}sortArrayByIncludingStrings(e,t){const r=e=>t.findIndex(t=>e.includes(t));return e.sort((e,t)=>r(e)-r(t))}modelHasGrandSiblings(e){if(!e||0===e.Children.length)return!1;let t=0;if(e instanceof Jne)return!1;if(e instanceof Hne)t=e.Parent.Children.filter(e=>"manufacturer"===e.Type).length;else if(e instanceof zne)t=e.Parent.Children.length;else{if(e instanceof Vne)return!0;e instanceof Une&&(t=e.Parent.Children.length)}return t>1||this.modelHasGrandSiblings(e.Parent)}checkIfLastModelIsRelevant(e,t){var r,n,i;let o=null;return t instanceof Hne?o=e.getManufacturer(t.ManufacturerName):t instanceof zne?o=null===(r=e.getManufacturer(t.ManufacturerName))||void 0===r?void 0:r.getProgram(t.ProgramName):t instanceof Vne&&(o=null===(i=null===(n=e.getManufacturer(t.ManufacturerName))||void 0===n?void 0:n.getProgram(t.ProgramName))||void 0===i?void 0:i.getProperty(t.Key)),o}getHighestModel(e,t,r){const n=[];if(this.checkIfLastModelIsRelevant(e,r))return r;if(0===e.Children.length)return null;if(1!==n.length||e.getManufacturer(n[0]).Type===t||e.getManufacturer(n[0])===r)return e;{const t=e.getManufacturer(n[0]).Children;if(t){if(1===t.length)return t[0];if(r)for(let e=0;e<t.length;e++){if(t[e]===r)return r}}}return e.getManufacturer(n[0])}};class Jne extends Bne{constructor(){super("hierarchy",null)}getManufacturer(e){const t=this.children.filter(e=>"manufacturer"===e.Type).filter(t=>t.ManufacturerName.toLocaleLowerCase()===e.toLocaleLowerCase());return t&&t.length>0?t[0]:null}getContext(e){const t=this.children.filter(e=>"context"===e.Type).filter(t=>t.ContextId.toLowerCase()===e.toLowerCase());return t&&t.length>0?t[0]:null}parseContext(e,t,r){e.forEach((e,n)=>{if(jne.isGlobalContext(n)){const i=n.split("#");this.createOrGetManufacturer(i[0],e,t,r)}else{const i=jne.getContextFromId(n);this.createOrGetContext(i.contextId,e,t,r)}})}createOrGetManufacturer(e,t,r=!1,n=!1){let i=this.getManufacturer(e);return i||(i=new Hne(t,this),this.children.push(i)),i.createOrGetProgram(t.Prog,t,r,n),i}createOrGetContext(e,t,r=!1,n=!1){let i=this.getContext(e);return i||(i=new Gne(e,t,this),this.children.push(i)),i.createOrGetProgram(t.Prog,t,r,n),i}toJSON(e){const t={children:{}};return e?this.children.filter(e=>"context"===e.Type).forEach(r=>{Array.isArray(e)&&!e.includes(r.ContextId)||(t.children[r.ContextId]=r.toJSON())}):this.children.filter(e=>"manufacturer"===e.Type).forEach(e=>{t.children[e.ManufacturerName]=e.toJSON()}),t}clear(){this.children.splice(0)}getWith(e,t){if(!e||!t||0===t.length)return this;const r=new Jne;return this.children.forEach(n=>{n.ManufacturerName===e&&this.children.push(n.getWith(t,r))}),r}parseToPropertyStructure(e){let t,r=[];return e.manufacturer?(t=this.getManufacturer(e.manufacturer).toJSON(e.program),r=[t]):(t=this.toJSON(e.contexts),r=Object.values(t.children)),r.forEach(e=>{const r=e;if(r){if(r.children){Object.values(e.children).forEach(e=>{const t=r.children[e.programName];if(t){const r=Object.keys(t.children);r.forEach(r=>{const n=e.children[r],i=t.children[r];n.currentValue=i.currentValue}),e.propertyKeyOrder=jne.sortProperties(r,e.children,e.keys)}})}}else delete t.children[e.manufacturerName]}),e.manufacturer&&(e.fullHierarchy?t={children:{[e.manufacturer]:t}}:e.program&&(t=t.children[e.program.toUpperCase()])),t}}var Wne,Qne,qne=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};!function(e){e[e.GLOBAL_PREVENT=1]="GLOBAL_PREVENT",e[e.GLOBAL=2]="GLOBAL",e[e.TRANSFER_LEVEL=3]="TRANSFER_LEVEL",e[e.VALUE=4]="VALUE"}(Wne||(Wne={})),function(e){e[e.NORMAL=0]="NORMAL",e[e.UNSET=1]="UNSET",e[e.MULTI_SELECT=2]="MULTI_SELECT",e[e.INVISIBLE=4]="INVISIBLE",e[e.IRRELEVANT=8]="IRRELEVANT"}(Qne||(Qne={}));const Yne=new class{get Contexts(){return this.contextMap}constructor(){this.hierachyModel=new Jne,this.contextMap=new Map,eM.onChanges.on(e=>{g_configuration.webui_mode&&upe.sendToApp("furnview.refreshPropertyPanel",[]);const t=new URL(window.location.href).searchParams.get("token");if(["GE67CUG49B9GCAPKT53S3UY12TCT7DPG","CreCRoS8i36bAJicl0lFIjAThiH5sWls","8C6AA81AF04F3A20ABF1E4991E77D593"].includes(t)||window.location.href.includes("/homeviewer")){const e=eM.merkmalStore.all();this.hierachyModel.clear(),this.contextMap.clear();for(const t of e){for(const e of t.merkmalList){const r=Object.assign({isContextBasedSystem:t.isContextBasedSystem,headOptions:t.headOptions},e.___dynamicData),n={Prog:t.program,ProgHash:t.program.hash(),Manu:t.manufacturer,ManuHash:t.manufacturer.hash(),id:e.id+"",title:e.title,propertyKey:e.id+"",staticOptionData:e.___staticOptionData,dynamicData:r};this.contextMap.set(`${t.id}#${e.id}`,n)}const e=this.parseHierarchy(t.___staticData,!0);Bde.BlockGeneratedProperties||fme.PropertyContainer.build(e,null)}}})}parseHierarchy(e,t){return Object.keys(e).forEach(t=>{Object.keys(e[t]).forEach(r=>{if(this.contextMap.has(`${t}#${r}`)){const n=this.contextMap.get(`${t}#${r}`),i=e[t][r];n.dynamicData.inUse=i.inUse,n.dynamicData.index=i.index,n.dynamicData.optionList=i.optionList,n.dynamicData.possibleGlobalTransferTargets=i.possibleGlobalTransferTargets}})}),this.hierachyModel.parseContext(this.contextMap,!1,t),this.hierachyModel}preloadProgram(e,t){return eM.preloadProgram(e,t)}preloadActiveProgram(){return eM.preloadActiveProgram()}initialize(e){return qne(this,void 0,void 0,function*(){return e.contextList.some(e=>!e||!e.manu||"_global"===e.manu)?Promise.resolve(null):this.hierachyModel})}get(e){return qne(this,void 0,void 0,function*(){return(null==e?void 0:e.ignoreAccess)||this.checkAccess(this.hierachyModel),this.hierachyModel})}checkAccess(e){if(Rre.hasList("properties")){const t=e=>Rre.blackListExists("properties")&&!Rre.isBlackListed("properties",e)||Rre.whiteListExists("properties")&&Rre.isWhiteListed("properties",e);e.Children.forEach(e=>{e.Children.forEach(e=>{for(let r=e.Children.length-1;r>=0;r--){const n=e.Children[r],i=(n.ManufacturerName+"_"+n.ProgramName+"_"+n.ID).toLowerCase();if(t(i))for(let e=n.Children.length-1;e>=0;e--){const r=n.Children[e],i=(n.ManufacturerName+"_"+n.ProgramName+"_"+r.Key+"_"+n.ID).toLowerCase();if(t(i)){let e=Rre.getCustomGlobalPDFURL("properties",r.ManufacturerName,r.ToolTipData);e||(e=Rre.getCustomPDFURL("properties",r.Key)),e&&(r.ToolTipData=e,r.ToolTipType="custom_pdf")}else n.Children.splice(n.Children.indexOf(r),1)}else e.Children.splice(e.Children.indexOf(n),1)}})})}}switchValue(e,t){return qne(this,void 0,void 0,function*(){var e;const r=yield eM.merkmalStore.getContext(t.contextId);return null===(e=null==r?void 0:r.getMerkmal(t.key))||void 0===e||e.setValue(t.index),this.hierachyModel})}reload(e){return qne(this,void 0,void 0,function*(){return this.hierachyModel})}toJson(e){return qne(this,void 0,void 0,function*(){var t,r;return null===(r=null===(t=eM.parseProgramToLegacyStructure(e.manufacturer,e.program,!0))||void 0===t?void 0:t.children)||void 0===r?void 0:r[e.manufacturer]})}};window.contextProgProperty=Yne;var Xne=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class Kne{constructor(e,t,r,n,i,o,s){this._id=e,""===t&&(t="NoText"),this._name=t,this._manu=r,this._prog=n,this._key=r+"_"+n+"_"+e,this._values=new Array,this._order=Number.MAX_SAFE_INTEGER,this._currentValue=i,this._manuHash=o,this._progHash=s}get id(){return this._id}get name(){return this._name}get key(){return this._key}get values(){return this._values}get currentValue(){return this._currentValue}static getAll(e,t,r,n){return Xne(this,void 0,void 0,function*(){var r;const n=new Array;yield Coe.loadProgram({manufacturer:e,program:t,dispose:!0});const i=yield Yne.toJson({manufacturer:e}),o=null===(r=null==i?void 0:i.children)||void 0===r?void 0:r[t.toUpperCase()];return o?(Object.values(o.children).forEach(e=>{const t=new Kne(e.id,e.name,i.manufacturerName,o.programName,e.currentValue,i.manufacturerHash,o.programHash);Object.values(e.children).forEach(e=>{const r=new One({key:e.propertyKey,id:e.key,name:e.name,image:e.alternativeImage,manu:t._manu,prog:t._prog,parentId:t._id,manuHash:t._manuHash,progHash:t._progHash,toolTipType:e.toolTipType,toolTipData:e.toolTipData});e.colorPicker&&e.colorPicker.type&&"NCS"===e.colorPicker.type&&(r.isNCS=!0),e.colorPicker&&e.colorPicker.type&&"SIKKENS"===e.colorPicker.type&&(r.isSIKKENS=!0),t._values.push(r)});const r=Rre.getOrderList("properties");if(r)r[t._key]&&(t._order=+r[t._key].order);else if(g_configuration.propertyOrderLists&&g_configuration.propertyOrderLists.length>0){const e=g_configuration.propertyOrderLists.find(function(e){return e.key===t._key});e&&(t._order=+e.order)}n.push(t)}),n):n})}static getRelevantKeys(e,t){return Xne(this,void 0,void 0,function*(){const r={};yield Yne.get({inUse:!0});const n=yield Yne.toJson({manufacturer:e,program:t});return n&&(n.children[t]&&Object.values(n.children[t].children).forEach(function(e){r[e.id]={},r[e.id].values=[],r[e.id].currentValue=e.currentValue,e.children&&Object.values(e.children).forEach(function(t){r[e.id].values.push(t)})}),n.children[t.toUpperCase()]&&Object.values(n.children[t.toUpperCase()].children).forEach(function(e){r[e.id]={},r[e.id].values=[],r[e.id].currentValue=e.currentValue,e.children&&Object.values(e.children).forEach(function(t){r[e.id].values.push(t)})})),r})}}const Zne=Kne;const eie={N:{"255,255,255":"S0300-N","252,252,251":"S0500-N","242,242,240":"S1000-N","224,223,222":"S1500-N","216,216,215":"S2000-N","206,205,204":"S2500-N","192,191,190":"S3000-N","176,176,175":"S3500-N","165,165,164":"S4000-N","151,151,150":"S4500-N","142,142,141":"S5000-N","133,133,131":"S5500-N","122,121,119":"S6000-N","109,109,107":"S6500-N","96,96,94":"S7000-N","84,84,82":"S7500-N","67,66,65":"S8000-N","38,40,36":"S8500-N","17,20,16":"S9000-N"},Y:{"255,253,242":"S0502-Y","234,232,219":"S1002-Y","213,211,199":"S1502-Y","201,200,189":"S2002-Y","184,183,173":"S2502-Y","154,155,146":"S3502-Y","134,134,126":"S4502-Y","109,109,102":"S5502-Y","85,85,79":"S6502-Y","53,52,48":"S7502-Y","21,19,17":"S8502-Y","255,251,231":"S0505-Y","255,249,214":"S0507-Y","255,248,202":"S0510-Y","255,246,190":"S0515-Y","255,238,167":"S0520-Y","255,235,146":"S0530-Y","254,230,107":"S0540-Y","253,221,78":"S0550-Y","253,215,44":"S0560-Y","250,213,0":"S0570-Y","249,207,0":"S0580-Y","245,240,211":"S1005-Y","244,234,181":"S1010-Y","246,233,176":"S1015-Y","244,229,163":"S1020-Y","246,222,138":"S1030-Y","249,221,128":"S1040-Y","254,215,76":"S1050-Y","252,211,43":"S1060-Y","247,202,39":"S1070-Y","236,188,0":"S1080-Y","229,223,196":"S1505-Y","222,213,165":"S1510-Y","221,209,154":"S1515-Y","200,196,173":"S2005-Y","198,190,158":"S2010-Y","200,187,134":"S2020-Y","205,184,103":"S2030-Y","208,179,83":"S2040-Y","206,169,38":"S2050-Y","199,163,0":"S2060-Y","193,159,0":"S2070-Y","175,165,128":"S3010-Y","177,161,109":"S3020-Y","175,155,88":"S3030-Y","168,138,54":"S3040-Y","156,122,25":"S3050-Y","156,121,0":"S3060-Y","152,116,0":"S3560-Y","144,126,71":"S4020-Y","147,121,46":"S4030-Y","139,110,19":"S4040-Y","134,104,0":"S4050-Y","129,99,0":"S4550-Y","116,100,56":"S5020-Y","118,91,20":"S5030-Y","106,79,0":"S5040-Y","98,79,44":"S6020-Y","62,48,0":"S6030-Y","67,50,18":"S7020-Y"},R:{"255,251,248":"S0502-R","233,228,223":"S1002-R","212,207,204":"S1502-R","195,190,188":"S2002-R","185,180,178":"S2502-R","145,141,141":"S3502-R","122,119,118":"S4502-R","108,105,101":"S5502-R","84,80,77":"S6502-R","47,44,42":"S7502-R","22,18,18":"S8502-R","255,244,239":"S0505-R","255,238,232":"S0507-R","255,231,226":"S0510-R","255,220,213":"S0515-R","255,211,207":"S0520-R","255,193,185":"S0530-R","255,167,162":"S0540-R","254,135,132":"S0550-R","241,82,104":"S0560-R","241,83,97":"S0565-R","244,227,222":"S1005-R","241,217,213":"S1010-R","255,213,209":"S1015-R","252,200,201":"S1020-R","255,178,184":"S1030-R","255,159,167":"S1040-R","253,125,134":"S1050-R","241,82,103":"S1060-R","231,52,74":"S1070-R","191,0,42":"S1080-R","228,189,179":"S1510-R","240,188,174":"S1515-R","155,0,37":"S1580-R","198,183,176":"S2005-R","197,178,170":"S2010-R","217,156,153":"S2020-R","214,132,134":"S2030-R","210,112,112":"S2040-R","201,76,89":"S2050-R","188,45,62":"S2060-R","163,0,36":"S2070-R","146,0,34":"S2570-R","161,133,134":"S3010-R","166,115,109":"S3020-R","163,101,99":"S3030-R","165,78,84":"S3040-R","164,57,66":"S3050-R","137,0,35":"S3060-R","109,0,26":"S3560-R","139,90,88":"S4020-R","135,71,71":"S4030-R","140,49,56":"S4040-R","129,28,39":"S4050-R","117,74,71":"S5020-R","111,47,53":"S5030-R","109,0,28":"S5040-R","93,44,49":"S6020-R","60,3,10":"S6030-R","59,3,10":"S7020-R"},B:{"250,253,255":"S0502-B","227,232,234":"S1002-B","210,215,218":"S1502-B","191,196,199":"S2002-B","174,179,182":"S2502-B","141,145,148":"S3502-B","118,122,124":"S4502-B","91,95,97":"S5502-B","67,71,73":"S6502-B","41,45,47":"S7502-B","9,17,21":"S8502-B","247,252,251":"S0505-B","244,251,251":"S0507-B","235,248,251":"S0510-B","226,245,251":"S0515-B","216,241,249":"S0520-B","194,232,244":"S0530-B","162,221,238":"S0540-B","225,231,233":"S1005-B","212,226,231":"S1010-B","202,223,231":"S1015-B","189,218,229":"S1020-B","157,206,223":"S1030-B","127,195,216":"S1040-B","71,176,207":"S1050-B","7,166,203":"S1060-B","215,228,232":"S1510-B","208,225,232":"S1515-B","0,135,178":"S1565-B","186,196,200":"S2005-B","171,192,200":"S2010-B","151,184,196":"S2020-B","116,169,188":"S2030-B","87,158,184":"S2040-B","0,139,174":"S2050-B","0,130,170":"S2060-B","0,116,162":"S2065-B","136,154,162":"S3010-B","108,144,160":"S3020-B","84,133,154":"S3030-B","37,122,150":"S3040-B","0,113,146":"S3050-B","0,93,132":"S3060-B","84,118,135":"S4020-B","54,101,115":"S4030-B","0,96,124":"S4040-B","0,86,118":"S4050-B","0,82,113":"S4055-B","0,70,95":"S4550-B","70,103,116":"S5020-B","28,84,106":"S5030-B","0,71,95":"S5040-B","0,45,64":"S5540-B","29,63,75":"S6020-B","0,46,66":"S6030-B","0,26,40":"S7020-B"},G:{"250,253,247":"S0502-G","235,240,231":"S1002-G","214,219,211":"S1502-G","193,198,191":"S2002-G","176,181,176":"S2502-G","145,150,146":"S3502-G","128,132,129":"S4502-G","92,95,92":"S5502-G","70,72,69":"S6502-G","43,46,44":"S7502-G","19,20,17":"S8502-G","244,252,239":"S0505-G","245,252,236":"S0507-G","240,251,235":"S0510-G","237,251,231":"S0515-G","232,250,232":"S0520-G","214,247,214":"S0530-G","180,238,182":"S0540-G","234,242,231":"S1005-G","219,248,224":"S1010-G","214,247,219":"S1015-G","204,244,211":"S1020-G","169,233,185":"S1030-G","157,229,183":"S1040-G","137,222,160":"S1050-G","70,195,124":"S1060-G","204,222,200":"S1510-G","182,226,196":"S1515-G","0,175,114":"S1565-G","180,194,182":"S2005-G","179,205,182":"S2010-G","159,213,170":"S2020-G","130,218,153":"S2030-G","103,207,147":"S2040-G","50,189,126":"S2050-G","0,178,112":"S2060-G","0,146,80":"S2565-G","142,165,149":"S3010-G","120,158,128":"S3020-G","91,158,109":"S3030-G","42,160,110":"S3040-G","0,147,94":"S3050-G","0,125,68":"S3060-G","0,114,62":"S3560-G","72,125,100":"S4020-G","56,130,87":"S4030-G","0,113,68":"S4040-G","0,93,48":"S4050-G","0,85,46":"S4550-G","67,110,83":"S5020-G","0,98,62":"S5030-G","0,80,38":"S5040-G","0,60,28":"S5540-G","18,73,51":"S6020-G","0,59,22":"S6030-G","0,44,15":"S7020-G"},Y10R:{"255,249,229":"S0505-Y10R","255,244,200":"S0510-Y10R","255,239,179":"S0515-Y10R","255,235,165":"S0520-Y10R","255,226,146":"S0530-Y10R","255,220,122":"S0540-Y10R","255,213,98":"S0550-Y10R","253,195,54":"S0560-Y10R","251,187,34":"S0570-Y10R","248,175,0":"S0580-Y10R","253,249,239":"S0804-Y10R","249,238,203":"S0907-Y10R","243,234,206":"S1005-Y10R","243,229,180":"S1010-Y10R","242,224,168":"S1015-Y10R","245,224,159":"S1020-Y10R","250,219,138":"S1030-Y10R","255,213,102":"S1040-Y10R","255,205,78":"S1050-Y10R","251,192,40":"S1060-Y10R","249,188,0":"S1070-Y10R","248,181,0":"S1080-Y10R","222,212,180":"S1505-Y10R","232,219,171":"S1510-Y10R","231,213,159":"S1515-Y10R","203,193,165":"S2005-Y10R","200,189,151":"S2010-Y10R","210,187,125":"S2020-Y10R","216,179,100":"S2030-Y10R","225,175,85":"S2040-Y10R","222,167,61":"S2050-Y10R","209,149,24":"S2060-Y10R","225,157,0":"S2070-Y10R","167,153,115":"S3010-Y10R","182,159,107":"S3020-Y10R","180,150,83":"S3030-Y10R","176,133,56":"S3040-Y10R","175,120,18":"S3050-Y10R","181,126,0":"S3060-Y10R","150,133,96":"S4010-Y10R","146,118,69":"S4020-Y10R","156,119,54":"S4030-Y10R","145,102,35":"S4040-Y10R","145,92,0":"S4050-Y10R","149,95,0":"S4055-Y10R","117,104,74":"S5010-Y10R","127,98,58":"S5020-Y10R","130,95,43":"S5030-Y10R","113,71,2":"S5040-Y10R","106,90,65":"S6010-Y10R","114,83,48":"S6020-Y10R","83,51,11":"S6030-Y10R","90,72,51":"S7010-Y10R","68,41,0":"S7020-Y10R","46,33,18":"S8010-Y10R"},Y20R:{"255,248,225":"S0505-Y20R","255,245,211":"S0507-Y20R","255,240,189":"S0510-Y20R","255,234,177":"S0515-Y20R","255,228,163":"S0520-Y20R","255,209,122":"S0530-Y20R","255,192,95":"S0540-Y20R","251,179,67":"S0550-Y20R","248,166,34":"S0560-Y20R","244,154,10":"S0570-Y20R","244,154,0":"S0580-Y20R","245,153,0":"S0585-Y20R","255,250,234":"S0603-Y20R","244,234,204":"S1005-Y20R","244,231,189":"S1010-Y20R","255,231,175":"S1015-Y20R","255,222,159":"S1020-Y20R","255,203,120":"S1030-Y20R","255,192,94":"S1040-Y20R","250,172,66":"S1050-Y20R","248,167,34":"S1060-Y20R","245,163,0":"S1070-Y20R","244,153,0":"S1080-Y20R","228,217,185":"S1505-Y20R","231,212,168":"S1510-Y20R","231,207,156":"S1515-Y20R","212,201,173":"S2005-Y20R","201,184,146":"S2010-Y20R","214,180,122":"S2020-Y20R","214,169,101":"S2030-Y20R","235,171,87":"S2040-Y20R","219,153,61":"S2050-Y20R","215,137,33":"S2060-Y20R","221,131,0":"S2070-Y20R","164,155,129":"S3005-Y20R","166,147,113":"S3010-Y20R","181,150,104":"S3020-Y20R","176,136,79":"S3030-Y20R","173,119,48":"S3040-Y20R","178,112,20":"S3050-Y20R","175,102,0":"S3060-Y20R","179,101,0":"S3065-Y20R","164,93,0":"S3560-Y20R","142,132,111":"S4005-Y20R","149,115,69":"S4020-Y20R","154,109,55":"S4030-Y20R","143,94,34":"S4040-Y20R","143,75,0":"S4050-Y20R","119,109,92":"S5005-Y20R","125,92,56":"S5020-Y20R","139,96,46":"S5030-Y20R","123,71,16":"S5040-Y20R","95,86,72":"S6005-Y20R","113,72,36":"S6020-Y20R","89,47,15":"S6030-Y20R","60,53,43":"S7005-Y20R","78,48,19":"S7020-Y20R","48,40,29":"S8005-Y20R","47,35,23":"S8505-Y20R"},Y30R:{"255,245,220":"S0505-Y30R","255,239,198":"S0510-Y30R","255,225,170":"S0515-Y30R","255,216,158":"S0520-Y30R","255,206,144":"S0530-Y30R","254,178,95":"S0540-Y30R","247,153,59":"S0550-Y30R","244,148,30":"S0560-Y30R","243,143,27":"S0570-Y30R","240,132,0":"S0580-Y30R","240,126,0":"S0585-Y30R","255,246,226":"S0804-Y30R","249,236,210":"S0907-Y30R","245,235,214":"S1005-Y30R","251,228,182":"S1010-Y30R","255,224,174":"S1015-Y30R","255,214,159":"S1020-Y30R","255,203,138":"S1030-Y30R","254,186,111":"S1040-Y30R","253,169,81":"S1050-Y30R","247,149,58":"S1060-Y30R","243,135,28":"S1070-Y30R","239,121,0":"S1080-Y30R","233,222,196":"S1505-Y30R","231,211,167":"S1510-Y30R","241,203,147":"S1515-Y30R","214,203,181":"S2005-Y30R","202,179,141":"S2010-Y30R","221,178,126":"S2020-Y30R","223,164,99":"S2030-Y30R","233,158,83":"S2040-Y30R","225,135,60":"S2050-Y30R","224,125,32":"S2060-Y30R","222,113,0":"S2070-Y30R","206,104,0":"S2570-Y30R","179,160,129":"S3010-Y30R","185,147,104":"S3020-Y30R","184,128,71":"S3030-Y30R","180,109,48":"S3040-Y30R","188,105,35":"S3050-Y30R","192,96,0":"S3060-Y30R","166,82,0":"S3560-Y30R","148,124,92":"S4010-Y30R","150,109,68":"S4020-Y30R","162,104,55":"S4030-Y30R","151,85,30":"S4040-Y30R","155,72,0":"S4050-Y30R","136,63,0":"S4550-Y30R","126,98,69":"S5010-Y30R","127,89,55":"S5020-Y30R","136,82,41":"S5030-Y30R","122,56,1":"S5040-Y30R","111,83,60":"S6010-Y30R","112,67,37":"S6020-Y30R","89,41,4":"S6030-Y30R","88,64,37":"S7010-Y30R","76,44,21":"S7020-Y30R","45,27,3":"S8010-Y30R"},Y40R:{"255,243,215":"S0505-Y40R","255,242,211":"S0507-Y40R","255,235,199":"S0510-Y40R","255,230,184":"S0515-Y40R","255,215,165":"S0520-Y40R","255,195,136":"S0530-Y40R","255,175,109":"S0540-Y40R","251,151,77":"S0550-Y40R","244,128,50":"S0560-Y40R","242,122,26":"S0570-Y40R","237,109,0":"S0580-Y40R","236,109,0":"S0585-Y40R","255,249,233":"S0603-Y40R","244,233,214":"S1005-Y40R","248,223,194":"S1010-Y40R","255,219,171":"S1015-Y40R","255,205,156":"S1020-Y40R","255,191,132":"S1030-Y40R","254,175,109":"S1040-Y40R","252,158,80":"S1050-Y40R","244,128,42":"S1060-Y40R","240,120,0":"S1070-Y40R","236,98,0":"S1080-Y40R","230,218,194":"S1505-Y40R","231,205,172":"S1510-Y40R","241,204,157":"S1515-Y40R","210,196,176":"S2005-Y40R","205,176,137":"S2010-Y40R","213,165,118":"S2020-Y40R","220,152,95":"S2030-Y40R","230,141,77":"S2040-Y40R","226,128,55":"S2050-Y40R","209,100,26":"S2060-Y40R","214,88,0":"S2070-Y40R","198,81,0":"S2570-Y40R","184,161,131":"S3010-Y40R","184,143,102":"S3020-Y40R","181,119,71":"S3030-Y40R","186,106,55":"S3040-Y40R","185,96,44":"S3050-Y40R","189,76,0":"S3060-Y40R","163,64,0":"S3560-Y40R","153,107,68":"S4020-Y40R","159,93,52":"S4030-Y40R","148,75,31":"S4040-Y40R","148,56,4":"S4050-Y40R","133,48,0":"S4550-Y40R","133,87,59":"S5020-Y40R","131,77,40":"S5030-Y40R","122,43,0":"S5040-Y40R","112,61,33":"S6020-Y40R","94,40,14":"S6030-Y40R","68,30,6":"S7020-Y40R"},Y50R:{"255,250,237":"S0502-Y50R","240,233,221":"S1002-Y50R","218,212,202":"S1502-Y50R","200,193,185":"S2002-Y50R","255,243,219":"S0505-Y50R","255,236,212":"S0510-Y50R","255,226,186":"S0515-Y50R","255,208,165":"S0520-Y50R","255,187,134":"S0530-Y50R","254,166,106":"S0540-Y50R","250,141,76":"S0550-Y50R","246,126,61":"S0560-Y50R","241,112,36":"S0570-Y50R","236,98,2":"S0580-Y50R","236,97,0":"S0585-Y50R","248,239,219":"S0804-Y50R","249,233,211":"S0907-Y50R","244,233,215":"S1005-Y50R","255,228,199":"S1010-Y50R","255,216,175":"S1015-Y50R","255,206,161":"S1020-Y50R","255,183,128":"S1030-Y50R","254,161,99":"S1040-Y50R","248,136,71":"S1050-Y50R","244,125,50":"S1060-Y50R","238,99,22":"S1070-Y50R","235,97,0":"S1080-Y50R","233,219,203":"S1505-Y50R","235,209,179":"S1510-Y50R","239,195,158":"S1515-Y50R","209,195,183":"S2005-Y50R","205,177,145":"S2010-Y50R","218,164,125":"S2020-Y50R","233,149,97":"S2030-Y50R","228,130,73":"S2040-Y50R","223,113,51":"S2050-Y50R","203,80,23":"S2060-Y50R","203,73,0":"S2070-Y50R","197,60,0":"S2570-Y50R","165,155,141":"S3005-Y50R","182,154,126":"S3010-Y50R","187,136,107":"S3020-Y50R","180,112,76":"S3030-Y50R","186,102,61":"S3040-Y50R","174,82,39":"S3050-Y50R","171,64,0":"S3060-Y50R","156,45,0":"S3560-Y50R","136,125,115":"S4005-Y50R","148,123,102":"S4010-Y50R","151,96,66":"S4020-Y50R","158,86,56":"S4030-Y50R","147,67,30":"S4040-Y50R","151,52,0":"S4050-Y50R","132,37,0":"S4550-Y50R","119,109,101":"S5005-Y50R","116,94,75":"S5010-Y50R","133,88,63":"S5020-Y50R","129,68,40":"S5030-Y50R","124,43,10":"S5040-Y50R","100,89,83":"S6005-Y50R","98,74,61":"S6010-Y50R","108,62,40":"S6020-Y50R","98,33,0":"S6030-Y50R","47,41,37":"S7005-Y50R","81,53,34":"S7010-Y50R","67,27,0":"S7020-Y50R","47,38,32":"S8005-Y50R","48,37,30":"S8010-Y50R"},Y60R:{"255,243,224":"S0505-Y60R","255,240,214":"S0507-Y60R","255,234,208":"S0510-Y60R","255,227,196":"S0515-Y60R","255,215,182":"S0520-Y60R","255,186,146":"S0530-Y60R","253,162,118":"S0540-Y60R","251,140,91":"S0550-Y60R","247,127,68":"S0560-Y60R","241,100,44":"S0570-Y60R","235,87,22":"S0580-Y60R","232,72,0":"S0585-Y60R","255,248,236":"S0603-Y60R","244,231,213":"S1005-Y60R","255,226,198":"S1010-Y60R","255,213,177":"S1015-Y60R","255,196,157":"S1020-Y60R","253,174,134":"S1030-Y60R","252,149,98":"S1040-Y60R","248,127,70":"S1050-Y60R","240,100,44":"S1060-Y60R","238,97,25":"S1070-Y60R","231,72,0":"S1080-Y60R","232,216,201":"S1505-Y60R","229,196,167":"S1510-Y60R","240,196,163":"S1515-Y60R","205,190,178":"S2005-Y60R","209,176,148":"S2010-Y60R","212,159,129":"S2020-Y60R","234,149,113":"S2030-Y60R","228,124,86":"S2040-Y60R","223,107,58":"S2050-Y60R","205,77,24":"S2060-Y60R","195,55,6":"S2070-Y60R","208,50,0":"S2075-Y60R","191,58,0":"S2570-Y60R","181,150,132":"S3010-Y60R","183,138,110":"S3020-Y60R","180,109,79":"S3030-Y60R","179,93,60":"S3040-Y60R","175,64,11":"S3050-Y60R","179,50,0":"S3060-Y60R","150,35,0":"S3560-Y60R","149,100,77":"S4020-Y60R","147,77,51":"S4030-Y60R","146,60,28":"S4040-Y60R","146,39,5":"S4050-Y60R","125,29,3":"S4550-Y60R","132,83,65":"S5020-Y60R","128,60,36":"S5030-Y60R","110,27,0":"S5040-Y60R","111,56,31":"S6020-Y60R","95,24,0":"S6030-Y60R","68,25,4":"S7020-Y60R"},Y70R:{"255,242,226":"S0505-Y70R","255,240,219":"S0510-Y70R","255,228,202":"S0515-Y70R","255,208,184":"S0520-Y70R","254,174,145":"S0530-Y70R","254,153,120":"S0540-Y70R","251,131,92":"S0550-Y70R","245,106,68":"S0560-Y70R","237,78,41":"S0570-Y70R","233,72,21":"S0580-Y70R","224,47,7":"S0585-Y70R","255,245,236":"S0804-Y70R","247,228,209":"S0907-Y70R","244,231,213":"S1005-Y70R","255,221,202":"S1010-Y70R","255,210,187":"S1015-Y70R","255,193,166":"S1020-Y70R","255,168,139":"S1030-Y70R","255,151,124":"S1040-Y70R","249,128,80":"S1050-Y70R","244,101,63":"S1060-Y70R","236,75,48":"S1070-Y70R","226,52,3":"S1080-Y70R","231,212,199":"S1505-Y70R","229,197,176":"S1510-Y70R","240,196,170":"S1515-Y70R","198,182,172":"S2005-Y70R","209,175,158":"S2010-Y70R","222,161,135":"S2020-Y70R","233,140,111":"S2030-Y70R","222,119,88":"S2040-Y70R","223,98,65":"S2050-Y70R","203,64,30":"S2060-Y70R","205,42,3":"S2070-Y70R","194,35,8":"S2075-Y70R","177,35,4":"S2570-Y70R","172,147,133":"S3010-Y70R","183,131,111":"S3020-Y70R","180,110,86":"S3030-Y70R","183,94,69":"S3040-Y70R","183,64,48":"S3050-Y70R","160,39,11":"S3060-Y70R","146,26,14":"S3560-Y70R","144,119,110":"S4010-Y70R","146,95,74":"S4020-Y70R","152,80,59":"S4030-Y70R","150,62,41":"S4040-Y70R","138,31,7":"S4050-Y70R","129,34,15":"S4550-Y70R","116,91,83":"S5010-Y70R","131,78,63":"S5020-Y70R","129,64,47":"S5030-Y70R","114,28,11":"S5040-Y70R","99,78,67":"S6010-Y70R","107,55,40":"S6020-Y70R","104,37,25":"S6030-Y70R","79,52,42":"S7010-Y70R","68,28,19":"S7020-Y70R","46,20,16":"S8010-Y70R"},Y80R:{"255,242,231":"S0505-Y80R","255,241,227":"S0507-Y80R","255,238,225":"S0510-Y80R","255,226,210":"S0515-Y80R","255,211,192":"S0520-Y80R","255,185,162":"S0530-Y80R","255,164,153":"S0540-Y80R","250,120,113":"S0550-Y80R","242,90,89":"S0560-Y80R","233,71,60":"S0570-Y80R","226,52,32":"S0580-Y80R","227,56,50":"S0585-Y80R","255,250,244":"S0603-Y80R","243,231,221":"S1005-Y80R","251,223,211":"S1010-Y80R","255,212,198":"S1015-Y80R","255,200,179":"S1020-Y80R","255,171,151":"S1030-Y80R","255,150,137":"S1040-Y80R","251,128,107":"S1050-Y80R","244,102,91":"S1060-Y80R","235,75,68":"S1070-Y80R","222,42,25":"S1080-Y80R","218,29,22":"S1085-Y80R","222,211,203":"S1505-Y80R","230,203,187":"S1510-Y80R","240,197,179":"S1515-Y80R","198,18,26":"S1580-Y80R","198,182,172":"S2005-Y80R","206,175,165":"S2010-Y80R","213,161,144":"S2020-Y80R","222,136,117":"S2030-Y80R","234,126,109":"S2040-Y80R","228,103,87":"S2050-Y80R","206,70,61":"S2060-Y80R","191,48,43":"S2070-Y80R","158,23,11":"S2570-Y80R","165,150,143":"S3005-Y80R","173,149,140":"S3010-Y80R","177,127,114":"S3020-Y80R","177,108,96":"S3030-Y80R","176,83,67":"S3040-Y80R","164,65,48":"S3050-Y80R","155,29,16":"S3060-Y80R","126,14,15":"S3560-Y80R","141,129,124":"S4005-Y80R","142,90,80":"S4020-Y80R","150,81,70":"S4030-Y80R","149,60,54":"S4040-Y80R","137,39,37":"S4050-Y80R","107,11,10":"S4550-Y80R","119,108,100":"S5005-Y80R","123,71,63":"S5020-Y80R","130,57,47":"S5030-Y80R","108,19,17":"S5040-Y80R","100,89,82":"S6005-Y80R","109,58,50":"S6020-Y80R","94,30,27":"S6030-Y80R","73,62,58":"S7005-Y80R","67,24,19":"S7020-Y80R","35,22,22":"S8005-Y80R","35,23,21":"S8505-Y80R"},Y90R:{"255,245,236":"S0505-Y90R","255,233,226":"S0510-Y90R","255,224,213":"S0515-Y90R","255,207,197":"S0520-Y90R","255,190,178":"S0530-Y90R","255,161,157":"S0540-Y90R","250,120,112":"S0550-Y90R","240,85,84":"S0560-Y90R","230,55,63":"S0570-Y90R","217,16,35":"S0580-Y90R","251,241,229":"S0804-Y90R","252,237,227":"S0907-Y90R","243,229,220":"S1005-Y90R","252,224,211":"S1010-Y90R","255,209,196":"S1015-Y90R","255,199,185":"S1020-Y90R","255,171,164":"S1030-Y90R","255,155,149":"S1040-Y90R","252,127,115":"S1050-Y90R","243,99,89":"S1060-Y90R","232,63,65":"S1070-Y90R","207,16,33":"S1080-Y90R","208,11,37":"S1085-Y90R","221,207,200":"S1505-Y90R","229,197,183":"S1510-Y90R","239,192,176":"S1515-Y90R","189,7,33":"S1580-Y90R","197,179,171":"S2005-Y90R","206,176,168":"S2010-Y90R","214,153,144":"S2020-Y90R","211,130,119":"S2030-Y90R","209,115,106":"S2040-Y90R","201,88,78":"S2050-Y90R","190,69,63":"S2060-Y90R","181,31,39":"S2070-Y90R","150,10,24":"S2570-Y90R","166,141,134":"S3010-Y90R","166,118,108":"S3020-Y90R","173,99,96":"S3030-Y90R","179,81,79":"S3040-Y90R","176,63,62":"S3050-Y90R","155,36,40":"S3060-Y90R","126,17,24":"S3560-Y90R","139,116,107":"S4010-Y90R","139,89,84":"S4020-Y90R","144,71,65":"S4030-Y90R","140,52,49":"S4040-Y90R","132,29,34":"S4050-Y90R","107,14,18":"S4550-Y90R","117,93,88":"S5010-Y90R","118,73,68":"S5020-Y90R","116,51,49":"S5030-Y90R","83,12,7":"S5040-Y90R","70,3,4":"S5540-Y90R","93,70,68":"S6010-Y90R","92,50,51":"S6020-Y90R","69,11,0":"S6030-Y90R","76,50,48":"S7010-Y90R","57,16,12":"S7020-Y90R","41,18,20":"S8010-Y90R"},R10B:{"255,243,239":"S0505-R10B","255,234,234":"S0510-R10B","255,228,233":"S0515-R10B","255,215,220":"S0520-R10B","255,199,207":"S0530-R10B","255,172,183":"S0540-R10B","255,150,164":"S0550-R10B","255,245,241":"S0804-R10B","244,228,224":"S0907-R10B","239,228,222":"S1005-R10B","244,219,215":"S1010-R10B","244,211,211":"S1015-R10B","244,197,198":"S1020-R10B","255,180,194":"S1030-R10B","255,151,172":"S1040-R10B","252,117,140":"S1050-R10B","242,80,114":"S1060-R10B","217,49,90":"S1070-R10B","232,206,204":"S1510-R10B","219,182,183":"S1515-R10B","176,0,62":"S1575-R10B","198,184,180":"S2005-R10B","196,171,169":"S2010-R10B","205,160,167":"S2020-R10B","215,137,150":"S2030-R10B","210,111,127":"S2040-R10B","204,88,106":"S2050-R10B","184,39,80":"S2060-R10B","149,0,54":"S2070-R10B","166,144,147":"S3010-R10B","167,122,129":"S3020-R10B","164,102,116":"S3030-R10B","160,72,82":"S3040-R10B","149,41,65":"S3050-R10B","139,0,41":"S3060-R10B","139,115,116":"S4010-R10B","135,97,105":"S4020-R10B","136,71,84":"S4030-R10B","132,48,63":"S4040-R10B","111,0,34":"S4050-R10B","117,97,97":"S5010-R10B","114,75,81":"S5020-R10B","111,49,57":"S5030-R10B","82,7,28":"S5040-R10B","98,77,79":"S6010-R10B","92,47,59":"S6020-R10B","59,10,19":"S6030-R10B","66,40,44":"S7010-R10B","45,6,14":"S7020-R10B","29,1,6":"S8010-R10B"},R20B:{"255,245,243":"S0505-R20B","255,243,242":"S0507-R20B","255,239,241":"S0510-R20B","255,227,235":"S0515-R20B","255,219,227":"S0520-R20B","253,193,212":"S0530-R20B","248,168,196":"S0540-R20B","255,249,248":"S0603-R20B","237,227,224":"S1005-R20B","244,220,220":"S1010-R20B","244,211,216":"S1015-R20B","243,201,209":"S1020-R20B","251,174,199":"S1030-R20B","248,147,182":"S1040-R20B","242,108,159":"S1050-R20B","239,83,142":"S1060-R20B","216,46,113":"S1070-R20B","221,204,205":"S1510-R20B","218,182,186":"S1515-R20B","198,187,185":"S2005-R20B","196,171,172":"S2010-R20B","197,152,166":"S2020-R20B","204,133,156":"S2030-R20B","198,110,136":"S2040-R20B","198,68,117":"S2050-R20B","184,35,96":"S2060-R20B","156,0,75":"S2065-R20B","166,157,155":"S3005-R20B","155,138,143":"S3010-R20B","155,115,127":"S3020-R20B","154,93,115":"S3030-R20B","150,67,95":"S3040-R20B","139,28,68":"S3050-R20B","129,2,61":"S3060-R20B","132,125,126":"S4005-R20B","138,102,113":"S4020-R20B","132,71,90":"S4030-R20B","127,36,68":"S4040-R20B","114,0,56":"S4050-R20B","120,111,117":"S5005-R20B","114,72,83":"S5020-R20B","109,40,65":"S5030-R20B","95,0,47":"S5040-R20B","95,87,92":"S6005-R20B","92,37,58":"S6020-R20B","62,0,28":"S6030-R20B","72,63,68":"S7005-R20B","44,2,20":"S7020-R20B","42,31,36":"S8005-R20B","21,1,10":"S8505-R20B"},R30B:{"255,246,247":"S0505-R30B","255,242,244":"S0510-R30B","254,220,233":"S0520-R30B","250,192,217":"S0530-R30B","246,174,205":"S0540-R30B","246,240,240":"S0804-R30B","243,232,229":"S0907-R30B","241,232,232":"S1005-R30B","243,223,224":"S1010-R30B","240,200,213":"S1020-R30B","232,170,196":"S1030-R30B","233,151,197":"S1040-R30B","221,100,164":"S1050-R30B","217,73,151":"S1060-R30B","199,187,188":"S2005-R30B","195,171,178":"S2010-R30B","198,153,170":"S2020-R30B","202,133,163":"S2030-R30B","189,111,149":"S2040-R30B","185,79,130":"S2050-R30B","169,32,110":"S2060-R30B","161,144,154":"S3010-R30B","156,117,137":"S3020-R30B","159,98,128":"S3030-R30B","149,68,107":"S3040-R30B","145,39,97":"S3050-R30B","135,0,90":"S3055-R30B","140,120,132":"S4010-R30B","136,101,119":"S4020-R30B","132,73,102":"S4030-R30B","124,43,88":"S4040-R30B","116,0,75":"S4050-R30B","117,96,108":"S5010-R30B","113,73,93":"S5020-R30B","109,49,80":"S5030-R30B","81,0,53":"S5040-R30B","93,72,82":"S6010-R30B","88,35,59":"S6020-R30B","58,0,35":"S6030-R30B","72,51,60":"S7010-R30B","38,1,23":"S7020-R30B","21,1,10":"S8010-R30B"},R40B:{"254,246,250":"S0505-R40B","255,246,250":"S0507-R40B","255,242,248":"S0510-R40B","255,237,245":"S0515-R40B","253,220,236":"S0520-R40B","245,196,227":"S0530-R40B","251,246,249":"S0603-R40B","232,226,230":"S1005-R40B","231,219,225":"S1010-R40B","229,210,220":"S1015-R40B","234,207,226":"S1020-R40B","239,185,225":"S1030-R40B","230,160,211":"S1040-R40B","215,119,185":"S1050-R40B","214,203,209":"S1510-R40B","213,190,205":"S1515-R40B","194,190,194":"S2005-R40B","197,183,191":"S2010-R40B","196,164,185":"S2020-R40B","199,139,184":"S2030-R40B","202,119,200":"S2040-R40B","184,83,183":"S2050-R40B","172,48,163":"S2060-R40B","163,146,156":"S3010-R40B","153,124,143":"S3020-R40B","158,114,152":"S3030-R40B","152,78,134":"S3040-R40B","141,44,125":"S3050-R40B","139,5,127":"S3055-R40B","127,99,119":"S4020-R40B","123,73,109":"S4030-R40B","122,47,110":"S4040-R40B","109,1,104":"S4050-R40B","108,78,97":"S5020-R40B","98,50,88":"S5030-R40B","84,0,83":"S5040-R40B","83,50,75":"S6020-R40B","59,0,65":"S6030-R40B","37,2,29":"S7020-R40B"},R50B:{"252,251,253":"S0502-R50B","225,226,229":"S1002-R50B","209,209,214":"S1502-R50B","188,189,194":"S2002-R50B","255,250,253":"S0505-R50B","252,245,250":"S0510-R50B","248,227,247":"S0520-R50B","238,199,239":"S0530-R50B","246,246,249":"S0804-R50B","239,235,239":"S0907-R50B","231,226,230":"S1005-R50B","232,223,233":"S1010-R50B","236,209,245":"S1020-R50B","234,193,237":"S1030-R50B","221,170,231":"S1040-R50B","189,185,189":"S2005-R50B","191,180,191":"S2010-R50B","196,165,205":"S2020-R50B","200,158,215":"S2030-R50B","193,128,213":"S2040-R50B","169,87,193":"S2050-R50B","160,156,164":"S3005-R50B","161,150,161":"S3010-R50B","159,138,166":"S3020-R50B","160,117,175":"S3030-R50B","155,84,169":"S3040-R50B","148,59,169":"S3050-R50B","129,38,163":"S3055-R50B","126,127,138":"S4005-R50B","129,124,141":"S4010-R50B","126,106,133":"S4020-R50B","112,77,121":"S4030-R50B","119,57,130":"S4040-R50B","86,0,124":"S4050-R50B","117,116,121":"S5005-R50B","110,102,113":"S5010-R50B","104,79,110":"S5020-R50B","94,54,100":"S5030-R50B","77,16,99":"S5040-R50B","93,89,94":"S6005-R50B","88,76,86":"S6010-R50B","77,55,79":"S6020-R50B","58,0,75":"S6030-R50B","62,58,63":"S7005-R50B","61,54,64":"S7010-R50B","39,0,45":"S7020-R50B","18,24,32":"S8005-R50B","29,7,36":"S8010-R50B"},R60B:{"252,250,253":"S0505-R60B","249,246,251":"S0507-R60B","244,241,251":"S0510-R60B","238,234,250":"S0515-R60B","233,230,249":"S0520-R60B","223,220,245":"S0525-R60B","247,246,249":"S0603-R60B","236,235,240":"S1005-R60B","229,227,238":"S1010-R60B","221,217,234":"S1015-R60B","221,213,244":"S1020-R60B","203,191,236":"S1030-R60B","198,175,232":"S1040-R60B","209,207,217":"S1510-R60B","202,197,218":"S1515-R60B","193,192,199":"S2005-R60B","192,191,201":"S2010-R60B","171,162,198":"S2020-R60B","186,173,229":"S2030-R60B","178,148,221":"S2040-R60B","146,95,194":"S2050-R60B","157,155,169":"S3010-R60B","153,147,175":"S3020-R60B","133,115,170":"S3030-R60B","128,101,182":"S3040-R60B","111,68,175":"S3050-R60B","70,33,147":"S3555-R60B","113,109,138":"S4020-R60B","95,81,128":"S4030-R60B","89,59,123":"S4040-R60B","73,39,127":"S4050-R60B","86,78,111":"S5020-R60B","75,62,103":"S5030-R60B","56,16,103":"S5040-R60B","69,58,91":"S6020-R60B","44,17,83":"S6030-R60B","20,4,45":"S7020-R60B"},R70B:{"248,249,253":"S0505-R70B","242,244,252":"S0510-R70B","227,230,248":"S0520-R70B","215,224,245":"S0525-R70B","238,239,243":"S0804-R70B","235,236,241":"S0907-R70B","229,232,237":"S1005-R70B","219,223,233":"S1010-R70B","208,221,243":"S1020-R70B","193,209,238":"S1030-R70B","177,190,229":"S1040-R70B","148,156,212":"S1550-R70B","126,131,197":"S1555-R70B","189,191,198":"S2005-R70B","175,184,199":"S2010-R70B","163,170,200":"S2020-R70B","152,158,199":"S2030-R70B","135,149,206":"S2040-R70B","125,131,197":"S2050-R70B","87,87,169":"S2060-R70B","150,154,165":"S3010-R70B","134,145,169":"S3020-R70B","130,135,175":"S3030-R70B","110,113,180":"S3040-R70B","81,88,167":"S3050-R70B","64,63,154":"S3060-R70B","120,125,137":"S4010-R70B","106,109,139":"S4020-R70B","100,97,142":"S4030-R70B","81,81,139":"S4040-R70B","52,53,137":"S4050-R70B","45,46,140":"S4055-R70B","39,39,124":"S4550-R70B","100,107,117":"S5010-R70B","84,86,113":"S5020-R70B","66,65,111":"S5030-R70B","44,42,105":"S5040-R70B","25,34,99":"S5540-R70B","99,101,113":"S6010-R70B","60,58,91":"S6020-R70B","15,30,83":"S6030-R70B","49,50,63":"S7010-R70B","12,10,40":"S7020-R70B","19,22,32":"S8010-R70B"},R80B:{"246,249,253":"S0505-R80B","244,249,253":"S0507-R80B","238,247,252":"S0510-R80B","228,242,250":"S0515-R80B","218,237,249":"S0520-R80B","194,223,242":"S0530-R80B","247,249,250":"S0603-R80B","225,229,233":"S1005-R80B","217,226,233":"S1010-R80B","216,233,247":"S1015-R80B","205,226,245":"S1020-R80B","182,212,237":"S1030-R80B","156,196,228":"S1040-R80B","197,209,219":"S1510-R80B","187,204,217":"S1515-R80B","116,165,211":"S1550-R80B","85,151,201":"S1555-R80B","187,193,196":"S2005-R80B","183,194,205":"S2010-R80B","153,177,202":"S2020-R80B","128,171,209":"S2030-R80B","112,159,205":"S2040-R80B","89,144,198":"S2050-R80B","63,124,185":"S2060-R80B","0,86,158":"S2565-R80B","150,156,159":"S3005-R80B","141,152,159":"S3010-R80B","122,141,168":"S3020-R80B","106,133,166":"S3030-R80B","81,115,173":"S3040-R80B","37,100,166":"S3050-R80B","19,74,152":"S3060-R80B","16,61,130":"S3560-R80B","128,132,138":"S4005-R80B","90,112,136":"S4020-R80B","78,104,142":"S4030-R80B","56,91,148":"S4040-R80B","17,61,131":"S4050-R80B","11,47,107":"S4550-R80B","107,110,116":"S5005-R80B","71,90,114":"S5020-R80B","45,74,109":"S5030-R80B","5,54,101":"S5040-R80B","80,88,94":"S6005-R80B","39,65,97":"S6020-R80B","3,35,82":"S6030-R80B","56,62,69":"S7005-R80B","3,21,49":"S7020-R80B","26,33,39":"S8005-R80B","0,12,21":"S8505-R80B"},R90B:{"246,251,253":"S0505-R90B","236,247,252":"S0510-R90B","226,242,251":"S0515-R90B","212,237,249":"S0520-R90B","186,226,243":"S0530-R90B","158,212,235":"S0540-R90B","235,241,244":"S0804-R90B","229,235,238":"S0907-R90B","225,231,235":"S1005-R90B","213,226,233":"S1010-R90B","205,222,232":"S1015-R90B","188,216,229":"S1020-R90B","167,203,223":"S1030-R90B","136,195,226":"S1040-R90B","109,183,219":"S1050-R90B","190,200,206":"S1510-R90B","182,204,214":"S1515-R90B","43,149,199":"S1560-R90B","190,198,202":"S2005-R90B","175,191,198":"S2010-R90B","153,180,197":"S2020-R90B","125,169,191":"S2030-R90B","99,155,192":"S2040-R90B","47,140,187":"S2050-R90B","0,131,188":"S2060-R90B","0,117,179":"S2065-R90B","134,150,162":"S3010-R90B","108,141,158":"S3020-R90B","97,138,167":"S3030-R90B","60,128,166":"S3040-R90B","21,110,156":"S3050-R90B","0,89,152":"S3060-R90B","0,85,146":"S3065-R90B","0,76,133":"S3560-R90B","109,124,135":"S4010-R90B","92,115,132":"S4020-R90B","64,108,135":"S4030-R90B","28,88,130":"S4040-R90B","0,67,120":"S4050-R90B","0,60,105":"S4550-R90B","96,109,118":"S5010-R90B","70,96,112":"S5020-R90B","36,82,110":"S5030-R90B","0,58,105":"S5040-R90B","0,48,90":"S5540-R90B","71,85,93":"S6010-R90B","41,76,94":"S6020-R90B","0,51,81":"S6030-R90B","45,59,69":"S7010-R90B","0,24,41":"S7020-R90B","0,7,13":"S8010-R90B"},B10G:{"233,249,249":"S0510-B10G","211,242,247":"S0520-B10G","180,230,240":"S0530-B10G","151,220,232":"S0540-B10G","212,231,232":"S1010-B10G","188,235,240":"S1020-B10G","157,223,233":"S1030-B10G","128,214,223":"S1040-B10G","69,195,212":"S1050-B10G","0,166,186":"S1555-B10G","170,192,196":"S2010-B10G","144,193,200":"S2020-B10G","120,186,198":"S2030-B10G","83,167,181":"S2040-B10G","0,152,172":"S2050-B10G","0,145,164":"S2055-B10G","134,151,153":"S3010-B10G","110,156,164":"S3020-B10G","80,142,153":"S3030-B10G","36,130,145":"S3040-B10G","0,114,136":"S3050-B10G","0,103,127":"S3060-B10G","113,127,130":"S4010-B10G","88,123,130":"S4020-B10G","59,114,126":"S4030-B10G","0,99,114":"S4040-B10G","0,85,106":"S4050-B10G","90,110,112":"S5010-B10G","67,105,113":"S5020-B10G","28,94,109":"S5030-B10G","0,70,85":"S5040-B10G","0,68,82":"S5045-B10G","0,58,70":"S5540-B10G","72,93,96":"S6010-B10G","35,74,83":"S6020-B10G","0,49,64":"S6030-B10G","39,57,59":"S7010-B10G","0,40,50":"S7020-B10G","0,19,24":"S8010-B10G"},B20G:{"243,252,246":"S0505-B20G","242,251,246":"S0507-B20G","223,247,247":"S0515-B20G","232,250,249":"S0907-B20G","223,235,232":"S1005-B20G","206,242,242":"S1015-B20G","122,213,219":"S1040-B20G","78,200,204":"S1050-B20G","189,220,221":"S1510-B20G","180,217,219":"S1515-B20G","185,196,195":"S2005-B20G","74,182,186":"S2040-B20G","0,168,173":"S2050-B20G","0,137,147":"S2555-B20G","151,164,161":"S3005-B20G","0,134,144":"S3040-B20G","0,130,139":"S3050-B20G","0,114,120":"S3060-B20G","128,139,136":"S4005-B20G","0,107,112":"S4040-B20G","0,97,101":"S4050-B20G","0,87,93":"S4550-B20G","111,121,119":"S5005-B20G","0,87,92":"S5040-B20G","0,68,71":"S5540-B20G","85,96,95":"S6005-B20G","49,61,62":"S7005-B20G","25,36,38":"S8005-B20G","1,16,20":"S8505-B20G"},B30G:{"231,250,246":"S0510-B30G","217,246,243":"S0520-B30G","191,238,236":"S0530-B30G","162,229,226":"S0540-B30G","218,245,244":"S1010-B30G","190,238,236":"S1020-B30G","155,226,224":"S1030-B30G","136,221,215":"S1040-B30G","67,198,198":"S1050-B30G","168,197,197":"S2010-B30G","159,211,208":"S2020-B30G","123,217,211":"S2030-B30G","79,197,190":"S2040-B30G","0,184,180":"S2050-B30G","0,145,142":"S2555-B30G","134,162,163":"S3010-B30G","114,161,164":"S3020-B30G","84,155,151":"S3030-B30G","0,144,142":"S3040-B30G","0,131,131":"S3050-B30G","0,120,123":"S3060-B30G","112,132,129":"S4010-B30G","84,128,124":"S4020-B30G","53,120,117":"S4030-B30G","0,115,113":"S4040-B30G","0,100,101":"S4050-B30G","0,87,88":"S4550-B30G","90,109,108":"S5010-B30G","67,104,101":"S5020-B30G","31,98,98":"S5030-B30G","0,86,88":"S5040-B30G","0,67,69":"S5540-B30G","71,91,91":"S6010-B30G","38,79,79":"S6020-B30G","0,70,69":"S6030-B30G","0,48,50":"S6530-B30G","42,59,60":"S7010-B30G","0,38,39":"S7020-B30G","15,30,26":"S8010-B30G"},B40G:{"202,242,237":"S0520-B40G","167,231,228":"S0530-B40G","193,239,236":"S1020-B40G","168,232,225":"S1030-B40G","123,217,208":"S1040-B40G","59,199,191":"S1050-B40G","163,213,205":"S2020-B40G","109,203,193":"S2030-B40G","67,191,182":"S2040-B40G","0,186,175":"S2050-B40G","0,144,126":"S2555-B40G","121,163,158":"S3020-B40G","67,163,152":"S3030-B40G","0,151,143":"S3040-B40G","0,141,127":"S3050-B40G","0,125,119":"S3060-B40G","0,111,108":"S4040-B40G","0,106,99":"S4050-B40G","0,99,90":"S4055-B40G","0,89,83":"S4550-B40G","0,85,79":"S5040-B40G","0,77,71":"S5540-B40G"},B50G:{"250,253,248":"S0502-B50G","231,235,230":"S1002-B50G","203,211,208":"S1502-B50G","182,191,189":"S2002-B50G","243,252,245":"S0505-B50G","231,250,242":"S0510-B50G","210,245,239":"S0515-B50G","197,241,234":"S0520-B50G","184,238,227":"S0530-B50G","240,252,245":"S0804-B50G","227,239,235":"S1005-B50G","223,248,241":"S1010-B50G","205,243,238":"S1015-B50G","193,241,232":"S1020-B50G","167,232,222":"S1030-B50G","122,217,206":"S1040-B50G","23,193,182":"S1050-B50G","190,221,215":"S1510-B50G","185,228,224":"S1515-B50G","186,203,199":"S2005-B50G","168,197,192":"S2010-B50G","150,209,197":"S2020-B50G","112,205,189":"S2030-B50G","64,190,174":"S2040-B50G","0,177,160":"S2050-B50G","0,162,143":"S2060-B50G","138,164,160":"S3010-B50G","114,162,154":"S3020-B50G","64,165,152":"S3030-B50G","0,146,132":"S3040-B50G","0,142,127":"S3050-B50G","0,130,110":"S3055-B50G","114,133,129":"S4010-B50G","84,127,118":"S4020-B50G","0,121,111":"S4030-B50G","0,116,104":"S4040-B50G","0,104,88":"S4050-B50G","0,92,77":"S4550-B50G","90,109,104":"S5010-B50G","56,108,94":"S5020-B50G","0,93,83":"S5030-B50G","0,88,73":"S5040-B50G","0,66,55":"S5540-B50G","70,94,88":"S6010-B50G","22,88,80":"S6020-B50G","0,68,62":"S6030-B50G","0,64,57":"S6530-B50G","37,62,57":"S7010-B50G","0,50,44":"S7020-B50G","12,38,34":"S8010-B50G"},B60G:{"209,245,236":"S0520-B60G","190,240,224":"S0530-B60G","203,243,235":"S1020-B60G","183,238,222":"S1030-B60G","149,228,208":"S1040-B60G","72,203,182":"S1050-B60G","158,218,199":"S2020-B60G","123,219,200":"S2030-B60G","82,206,185":"S2040-B60G","0,188,169":"S2050-B60G","0,163,139":"S2555-B60G","114,170,156":"S3020-B60G","65,159,144":"S3030-B60G","0,158,137":"S3040-B60G","0,135,109":"S3050-B60G","0,119,100":"S3555-B60G","0,115,97":"S4040-B60G","0,104,85":"S4050-B60G","0,85,70":"S5040-B60G","0,47,39":"S6035-B60G"},B70G:{"223,249,235":"S0510-B70G","204,244,225":"S0520-B70G","195,242,223":"S0530-B70G","210,236,225":"S1010-B70G","198,243,230":"S1020-B70G","175,235,214":"S1030-B70G","129,220,195":"S1040-B70G","84,206,178":"S1050-B70G","169,197,191":"S2010-B70G","148,216,188":"S2020-B70G","115,206,180":"S2030-B70G","74,204,178":"S2040-B70G","0,190,163":"S2050-B70G","0,162,135":"S2060-B70G","142,165,160":"S3010-B70G","117,165,145":"S3020-B70G","58,160,141":"S3030-B70G","0,160,133":"S3040-B70G","0,140,111":"S3050-B70G","0,120,96":"S3060-B70G","108,135,125":"S4010-B70G","80,124,108":"S4020-B70G","44,128,109":"S4030-B70G","0,114,90":"S4040-B70G","0,103,79":"S4050-B70G","99,118,108":"S5010-B70G","54,112,98":"S5020-B70G","0,104,86":"S5030-B70G","0,83,65":"S5040-B70G","71,90,79":"S6010-B70G","25,90,72":"S6020-B70G","0,64,49":"S6030-B70G","38,63,52":"S7010-B70G","0,47,34":"S7020-B70G","2,34,22":"S8010-B70G"},B80G:{"243,253,243":"S0505-B80G","240,251,240":"S0507-B80G","223,249,235":"S0515-B80G","233,251,242":"S0907-B80G","228,239,229":"S1005-B80G","211,245,230":"S1015-B80G","145,225,194":"S1040-B80G","130,219,184":"S1050-B80G","198,231,222":"S1510-B80G","194,242,227":"S1515-B80G","185,202,190":"S2005-B80G","89,206,171":"S2040-B80G","30,192,151":"S2050-B80G","0,155,119":"S2555-B80G","147,160,151":"S3005-B80G","0,157,124":"S3040-B80G","0,142,110":"S3050-B80G","0,117,88":"S3555-B80G","127,138,131":"S4005-B80G","0,115,86":"S4040-B80G","0,103,77":"S4050-B80G","0,87,64":"S4550-B80G","105,115,110":"S5005-B80G","0,82,62":"S5040-B80G","0,70,51":"S5540-B80G","85,96,88":"S6005-B80G","53,66,62":"S7005-B80G","21,40,30":"S8005-B80G","0,18,9":"S8505-B80G"},B90G:{"231,250,231":"S0510-B90G","221,249,221":"S0520-B90G","204,244,208":"S0530-B90G","223,249,232":"S1010-B90G","194,241,208":"S1020-B90G","170,234,198":"S1030-B90G","159,229,193":"S1040-B90G","144,224,184":"S1050-B90G","131,219,178":"S1055-B90G","183,217,196":"S2010-B90G","148,205,172":"S2020-B90G","133,221,186":"S2030-B90G","93,206,166":"S2040-B90G","41,192,145":"S2050-B90G","0,171,121":"S2060-B90G","146,169,158":"S3010-B90G","115,165,138":"S3020-B90G","63,157,119":"S3030-B90G","26,159,119":"S3040-B90G","0,146,104":"S3050-B90G","0,135,92":"S3060-B90G","111,132,115":"S4010-B90G","84,125,103":"S4020-B90G","43,125,92":"S4030-B90G","0,118,79":"S4040-B90G","0,108,72":"S4050-B90G","0,88,57":"S4550-B90G","86,113,97":"S5010-B90G","57,108,83":"S5020-B90G","33,102,69":"S5030-B90G","0,81,52":"S5040-B90G","0,62,39":"S5540-B90G","67,95,78":"S6010-B90G","18,74,53":"S6020-B90G","0,70,46":"S6030-B90G","49,72,58":"S7010-B90G","0,46,29":"S7020-B90G","12,37,23":"S8010-B90G"},G10Y:{"246,253,239":"S0505-G10Y","241,251,234":"S0510-G10Y","231,249,215":"S0520-G10Y","213,244,195":"S0530-G10Y","182,237,172":"S0540-G10Y","169,234,160":"S0550-G10Y","138,222,151":"S0560-G10Y","120,213,136":"S0565-G10Y","230,239,224":"S1005-G10Y","229,249,221":"S1010-G10Y","210,245,203":"S1020-G10Y","189,240,182":"S1030-G10Y","183,237,169":"S1040-G10Y","156,228,146":"S1050-G10Y","103,206,125":"S1060-G10Y","65,192,108":"S1070-G10Y","185,197,184":"S2005-G10Y","179,203,180":"S2010-G10Y","159,205,157":"S2020-G10Y","136,207,146":"S2030-G10Y","115,211,132":"S2040-G10Y","77,196,113":"S2050-G10Y","0,177,93":"S2060-G10Y","0,152,74":"S2070-G10Y","146,167,143":"S3010-G10Y","121,165,128":"S3020-G10Y","95,158,108":"S3030-G10Y","67,159,100":"S3040-G10Y","14,145,85":"S3050-G10Y","0,130,64":"S3060-G10Y","0,124,63":"S3065-G10Y","0,99,49":"S3560-G10Y","113,133,111":"S4010-G10Y","88,128,92":"S4020-G10Y","64,121,77":"S4030-G10Y","0,116,59":"S4040-G10Y","0,110,53":"S4050-G10Y","0,85,41":"S4550-G10Y","94,111,88":"S5010-G10Y","61,110,72":"S5020-G10Y","34,102,60":"S5030-G10Y","0,84,30":"S5040-G10Y","0,68,28":"S5540-G10Y","76,95,76":"S6010-G10Y","46,79,50":"S6020-G10Y","0,68,20":"S6030-G10Y","0,48,13":"S6530-G10Y","57,81,58":"S7010-G10Y","0,52,26":"S7020-G10Y","19,40,15":"S8010-G10Y"},G20Y:{"248,252,238":"S0505-G20Y","244,252,229":"S0510-G20Y","235,250,221":"S0515-G20Y","230,248,207":"S0520-G20Y","211,242,182":"S0530-G20Y","190,237,158":"S0540-G20Y","176,232,145":"S0550-G20Y","159,222,117":"S0560-G20Y","122,211,102":"S0570-G20Y","52,183,51":"S0575-G20Y","244,248,235":"S0804-G20Y","231,241,222":"S0907-G20Y","232,239,223":"S1005-G20Y","227,240,205":"S1010-G20Y","222,246,202":"S1015-G20Y","210,243,185":"S1020-G20Y","200,240,174":"S1030-G20Y","187,236,155":"S1040-G20Y","160,221,112":"S1050-G20Y","125,205,75":"S1060-G20Y","79,189,45":"S1070-G20Y","0,173,16":"S1075-G20Y","200,218,186":"S1510-G20Y","196,227,182":"S1515-G20Y","186,194,181":"S2005-G20Y","177,198,170":"S2010-G20Y","166,210,155":"S2020-G20Y","144,207,124":"S2030-G20Y","117,194,104":"S2040-G20Y","88,192,83":"S2050-G20Y","32,175,61":"S2060-G20Y","0,165,29":"S2070-G20Y","0,161,52":"S2075-G20Y","0,140,50":"S2570-G20Y","153,161,145":"S3005-G20Y","155,170,143":"S3010-G20Y","133,167,125":"S3020-G20Y","107,151,97":"S3030-G20Y","89,150,81":"S3040-G20Y","56,147,75":"S3050-G20Y","0,135,48":"S3060-G20Y","0,117,41":"S3560-G20Y","123,132,121":"S4005-G20Y","42,120,51":"S4040-G20Y","0,106,32":"S4050-G20Y","0,89,30":"S4550-G20Y","104,113,95":"S5005-G20Y","0,89,22":"S5040-G20Y","0,72,10":"S5540-G20Y","83,92,78":"S6005-G20Y","58,68,54":"S7005-G20Y","34,44,32":"S8005-G20Y","23,32,22":"S8505-G20Y"},G30Y:{"249,252,234":"S0505-G30Y","246,251,225":"S0510-G30Y","237,249,207":"S0520-G30Y","221,244,183":"S0530-G30Y","208,239,159":"S0540-G30Y","188,231,133":"S0550-G30Y","176,222,106":"S0560-G30Y","162,213,78":"S0570-G30Y","124,199,42":"S0580-G30Y","236,240,228":"S1005-G30Y","230,239,208":"S1010-G30Y","219,244,186":"S1020-G30Y","201,238,159":"S1030-G30Y","189,231,133":"S1040-G30Y","175,222,106":"S1050-G30Y","161,213,78":"S1060-G30Y","124,199,41":"S1070-G30Y","79,184,0":"S1080-G30Y","185,194,180":"S2005-G30Y","188,200,173":"S2010-G30Y","167,193,142":"S2020-G30Y","154,188,115":"S2030-G30Y","136,189,101":"S2040-G30Y","109,179,45":"S2050-G30Y","80,177,0":"S2060-G30Y","62,164,0":"S2070-G30Y","0,159,17":"S2075-G30Y","48,140,0":"S2570-G30Y","163,173,145":"S3010-G30Y","142,164,122":"S3020-G30Y","120,152,92":"S3030-G30Y","106,145,63":"S3040-G30Y","74,134,23":"S3050-G30Y","44,133,0":"S3060-G30Y","1,108,0":"S3560-G30Y","118,130,101":"S4010-G30Y","112,132,90":"S4020-G30Y","85,121,63":"S4030-G30Y","42,121,22":"S4040-G30Y","2,108,0":"S4050-G30Y","7,93,0":"S4550-G30Y","94,108,79":"S5010-G30Y","79,108,67":"S5020-G30Y","65,98,36":"S5030-G30Y","41,94,2":"S5040-G30Y","24,72,0":"S5540-G30Y","86,98,76":"S6010-G30Y","60,85,40":"S6020-G30Y","43,73,18":"S6030-G30Y","69,85,62":"S7010-G30Y","29,57,9":"S7020-G30Y","26,41,12":"S8010-G30Y"},G40Y:{"250,252,231":"S0505-G40Y","249,252,229":"S0507-G40Y","246,251,225":"S0510-G40Y","240,250,213":"S0515-G40Y","241,248,203":"S0520-G40Y","231,245,182":"S0530-G40Y","224,242,161":"S0540-G40Y","214,236,135":"S0550-G40Y","205,230,111":"S0560-G40Y","190,221,80":"S0570-G40Y","160,208,45":"S0575-G40Y","246,248,238":"S0603-G40Y","237,239,219":"S1005-G40Y","231,236,202":"S1010-G40Y","234,246,193":"S1015-G40Y","226,243,172":"S1020-G40Y","218,238,147":"S1030-G40Y","203,231,122":"S1040-G40Y","192,226,104":"S1050-G40Y","170,211,47":"S1060-G40Y","159,206,18":"S1070-G40Y","142,200,0":"S1075-G40Y","214,223,192":"S1510-G40Y","207,219,169":"S1515-G40Y","190,195,181":"S2005-G40Y","191,201,173":"S2010-G40Y","180,194,139":"S2020-G40Y","164,190,111":"S2030-G40Y","153,183,94":"S2040-G40Y","141,176,72":"S2050-G40Y","115,180,0":"S2060-G40Y","104,173,0":"S2070-G40Y","158,168,140":"S3010-G40Y","142,163,114":"S3020-G40Y","134,157,93":"S3030-G40Y","123,148,68":"S3040-G40Y","98,134,17":"S3050-G40Y","80,134,0":"S3060-G40Y","70,127,0":"S3065-G40Y","47,113,0":"S3560-G40Y","75,112,5":"S4040-G40Y","55,107,0":"S4050-G40Y","51,102,0":"S4550-G40Y","57,92,0":"S5040-G40Y","36,78,0":"S5540-G40Y"},G50Y:{"252,253,247":"S0502-G50Y","240,242,235":"S1002-G50Y","218,220,208":"S1502-G50Y","196,199,189":"S2002-G50Y","252,252,231":"S0505-G50Y","251,251,227":"S0510-G50Y","246,249,203":"S0520-G50Y","239,245,183":"S0530-G50Y","234,243,157":"S0540-G50Y","226,239,132":"S0550-G50Y","215,232,106":"S0560-G50Y","203,224,76":"S0565-G50Y","237,239,216":"S1005-G50Y","235,237,202":"S1010-G50Y","240,246,179":"S1020-G50Y","225,238,136":"S1030-G50Y","220,234,110":"S1040-G50Y","210,227,81":"S1050-G50Y","197,218,49":"S1060-G50Y","173,207,0":"S1070-G50Y","154,200,0":"S1075-G50Y","193,196,178":"S2005-G50Y","195,201,172":"S2010-G50Y","177,191,138":"S2020-G50Y","174,189,113":"S2030-G50Y","166,182,91":"S2040-G50Y","145,176,42":"S2050-G50Y","140,179,17":"S2060-G50Y","121,177,0":"S2070-G50Y","160,164,146":"S3005-G50Y","156,161,126":"S3010-G50Y","154,165,116":"S3020-G50Y","139,152,74":"S3030-G50Y","134,152,58":"S3040-G50Y","119,140,19":"S3050-G50Y","105,140,0":"S3060-G50Y","95,138,0":"S3065-G50Y","81,116,0":"S3560-G50Y","133,136,122":"S4005-G50Y","129,135,108":"S4010-G50Y","124,134,91":"S4020-G50Y","108,126,59":"S4030-G50Y","96,119,37":"S4040-G50Y","72,109,0":"S4050-G50Y","72,106,0":"S4550-G50Y","117,119,102":"S5005-G50Y","112,116,92":"S5010-G50Y","102,109,62":"S5020-G50Y","92,105,49":"S5030-G50Y","68,97,0":"S5040-G50Y","58,80,0":"S5540-G50Y","91,94,81":"S6005-G50Y","90,93,72":"S6010-G50Y","82,89,43":"S6020-G50Y","61,77,17":"S6030-G50Y","33,56,0":"S6530-G50Y","63,66,50":"S7005-G50Y","81,87,60":"S7010-G50Y","48,59,22":"S7020-G50Y","42,45,27":"S8005-G50Y","37,44,14":"S8010-G50Y"},G60Y:{"253,251,230":"S0505-G60Y","252,251,225":"S0510-G60Y","250,249,216":"S0515-G60Y","248,248,203":"S0520-G60Y","240,244,172":"S0530-G60Y","235,241,135":"S0540-G60Y","232,234,106":"S0550-G60Y","223,229,80":"S0560-G60Y","211,221,47":"S0570-G60Y","198,214,0":"S0575-G60Y","248,248,235":"S0804-G60Y","242,244,222":"S0907-G60Y","239,240,221":"S1005-G60Y","242,243,193":"S1010-G60Y","238,238,177":"S1015-G60Y","240,242,173":"S1020-G60Y","235,242,141":"S1030-G60Y","225,235,109":"S1040-G60Y","223,230,86":"S1050-G60Y","210,221,48":"S1060-G60Y","200,215,0":"S1070-G60Y","194,213,0":"S1075-G60Y","220,224,184":"S1510-G60Y","213,221,166":"S1515-G60Y","192,195,173":"S2005-G60Y","189,194,159":"S2010-G60Y","185,195,139":"S2020-G60Y","183,191,111":"S2030-G60Y","168,182,86":"S2040-G60Y","168,179,68":"S2050-G60Y","161,177,38":"S2060-G60Y","156,181,0":"S2070-G60Y","159,165,131":"S3010-G60Y","154,162,109":"S3020-G60Y","144,154,75":"S3030-G60Y","140,152,55":"S3040-G60Y","130,144,19":"S3050-G60Y","121,140,0":"S3060-G60Y","121,138,0":"S3065-G60Y","100,123,0":"S3560-G60Y","112,122,50":"S4040-G60Y","107,114,6":"S4050-G60Y","101,114,0":"S4550-G60Y","86,93,0":"S5040-G60Y","73,78,0":"S5540-G60Y"},G70Y:{"253,251,227":"S0505-G70Y","254,251,222":"S0510-G70Y","251,249,203":"S0520-G70Y","247,243,158":"S0530-G70Y","244,239,135":"S0540-G70Y","239,235,105":"S0550-G70Y","231,228,77":"S0560-G70Y","224,224,41":"S0570-G70Y","217,218,0":"S0575-G70Y","245,244,227":"S1005-G70Y","244,243,197":"S1010-G70Y","241,240,167":"S1020-G70Y","233,235,133":"S1030-G70Y","227,230,105":"S1040-G70Y","229,228,77":"S1050-G70Y","207,212,45":"S1060-G70Y","205,211,15":"S1070-G70Y","205,212,0":"S1075-G70Y","196,198,181":"S2005-G70Y","191,193,158":"S2010-G70Y","192,193,136":"S2020-G70Y","187,190,109":"S2030-G70Y","184,185,78":"S2040-G70Y","168,175,52":"S2050-G70Y","174,180,0":"S2060-G70Y","166,170,0":"S2070-G70Y","165,166,133":"S3010-G70Y","164,166,114":"S3020-G70Y","154,156,72":"S3030-G70Y","142,147,54":"S3040-G70Y","130,135,0":"S3050-G70Y","131,139,0":"S3060-G70Y","111,126,0":"S3560-G70Y","136,138,106":"S4010-G70Y","128,130,82":"S4020-G70Y","131,132,62":"S4030-G70Y","111,117,37":"S4040-G70Y","112,113,7":"S4050-G70Y","104,105,0":"S4550-G70Y","112,113,83":"S5010-G70Y","113,114,62":"S5020-G70Y","109,109,46":"S5030-G70Y","95,95,0":"S5040-G70Y","61,65,0":"S5540-G70Y","98,99,72":"S6010-G70Y","93,93,56":"S6020-G70Y","83,84,33":"S6030-G70Y","71,72,51":"S7010-G70Y","42,44,0":"S7020-G70Y","45,46,28":"S8010-G70Y"},G80Y:{"254,252,231":"S0505-G80Y","254,250,225":"S0507-G80Y","254,250,219":"S0510-G80Y","253,250,215":"S0515-G80Y","252,248,202":"S0520-G80Y","251,244,169":"S0530-G80Y","248,239,133":"S0540-G80Y","248,235,106":"S0550-G80Y","245,230,78":"S0560-G80Y","243,226,40":"S0570-G80Y","251,249,238":"S0603-G80Y","245,241,216":"S1005-G80Y","243,236,182":"S1010-G80Y","242,238,176":"S1015-G80Y","238,233,160":"S1020-G80Y","235,226,124":"S1030-G80Y","234,226,101":"S1040-G80Y","227,220,74":"S1050-G80Y","224,217,38":"S1060-G80Y","221,215,2":"S1070-G80Y","215,214,0":"S1075-G80Y","223,221,199":"S1505-G80Y","225,223,173":"S1510-G80Y","217,215,158":"S1515-G80Y","199,198,174":"S2005-G80Y","195,193,150":"S2010-G80Y","193,190,123":"S2020-G80Y","191,183,95":"S2030-G80Y","187,180,78":"S2040-G80Y","174,169,52":"S2050-G80Y","172,165,0":"S2060-G80Y","174,167,0":"S2070-G80Y","168,166,140":"S3005-G80Y","162,161,126":"S3010-G80Y","163,159,103":"S3020-G80Y","158,152,79":"S3030-G80Y","163,155,61":"S3040-G80Y","140,133,27":"S3050-G80Y","132,128,0":"S3060-G80Y","139,138,117":"S4005-G80Y","124,117,0":"S4040-G80Y","116,109,0":"S4050-G80Y","121,120,102":"S5005-G80Y","89,85,0":"S5040-G80Y","92,91,76":"S6005-G80Y","68,68,55":"S7005-G80Y","39,39,30":"S8005-G80Y","31,31,24":"S8505-G80Y"},G90Y:{"255,252,234":"S0505-G90Y","255,250,225":"S0510-G90Y","255,249,214":"S0515-G90Y","255,246,190":"S0520-G90Y","255,242,169":"S0530-G90Y","254,237,137":"S0540-G90Y","253,232,106":"S0550-G90Y","252,229,77":"S0560-G90Y","251,225,47":"S0570-G90Y","250,222,0":"S0575-G90Y","251,248,234":"S0804-G90Y","247,243,213":"S0907-G90Y","243,239,209":"S1005-G90Y","244,235,180":"S1010-G90Y","241,232,168":"S1015-G90Y","244,233,159":"S1020-G90Y","240,227,133":"S1030-G90Y","239,223,95":"S1040-G90Y","239,220,68":"S1050-G90Y","227,207,27":"S1060-G90Y","221,201,0":"S1070-G90Y","217,197,0":"S1075-G90Y","223,219,192":"S1505-G90Y","222,218,184":"S1510-G90Y","210,204,149":"S1515-G90Y","201,199,174":"S2005-G90Y","193,189,145":"S2010-G90Y","198,190,121":"S2020-G90Y","193,182,98":"S2030-G90Y","199,184,80":"S2040-G90Y","182,165,48":"S2050-G90Y","179,158,12":"S2060-G90Y","168,147,0":"S2070-G90Y","166,161,125":"S3010-G90Y","176,168,108":"S3020-G90Y","169,156,82":"S3030-G90Y","161,147,52":"S3040-G90Y","143,126,3":"S3050-G90Y","139,123,0":"S3060-G90Y","137,132,103":"S4010-G90Y","141,133,85":"S4020-G90Y","139,126,53":"S4030-G90Y","125,110,15":"S4040-G90Y","111,98,0":"S4050-G90Y","115,109,80":"S5010-G90Y","113,103,55":"S5020-G90Y","108,93,23":"S5030-G90Y","89,76,0":"S5040-G90Y","103,98,66":"S6010-G90Y","88,77,41":"S6020-G90Y","70,58,0":"S6030-G90Y","76,70,43":"S7010-G90Y","55,41,0":"S7020-G90Y","43,31,0":"S8010-G90Y"}},tie=function(e,t){const r=document.createElementNS("http://www.w3.org/2000/svg",e);for(const e in t)t.hasOwnProperty(e)&&r.setAttribute(e,t[e]);return r},rie=function(){};rie.prototype.CreateSVG=function(e,t,r){const n=$("<svg id='"+e+"' height='"+r+"' width='"+t+"' style='background: white'></svg>");return n.data("centerPoint",{x:t/2,y:r/2}),n},rie.prototype.DrawLine=function(e,t){const r=t.color?t.color:{r:0,g:0,b:0},n={x:null!==t.start?t.start.x:0,y:null!==t.start?t.start.y:0},i={x:null!==t.end?t.end.x:0,y:null!==t.end?t.end.y:0},o={x1:n.x,y1:n.y,x2:i.x,y2:i.y,style:"stroke:rgb("+r.r+","+r.g+","+r.b+");stroke-width:1;"};e instanceof jQuery?e[0].appendChild(tie("line",o)):e.appendChild(tie("line",o))},rie.prototype.DrawText=function(e,t){const r=t.text?t.text:"",n=t.color?t.color:{r:0,g:0,b:0},i={x:null!==t.start?t.start.x:0,y:null!==t.start?t.start.y:0},o={x:i.x,y:i.y,fill:"rgb("+n.r+","+n.g+","+n.b+")"};$(e[0].appendChild(tie("text",o))).text(r)},rie.prototype.DrawCircle=function(e,t){const r=t.color?t.color:{r:0,g:0,b:0},n=t.strokeColor?t.strokeColor:{r:0,g:0,b:0},i=t.strokeWidth?t.strokeWidth:1,o=t.radius?t.radius:2,s={x:null!==t.start?t.start.x:0,y:null!==t.start?t.start.y:0},a={cx:s.x,cy:s.y,r:o,"stroke-width":i,fill:"rgb("+r.r+","+r.g+","+r.b+")",stroke:"rgb("+n.r+","+n.g+","+n.b+")"};$(e[0].appendChild(tie("circle",a)))};const nie=new rie;let iie=new function(){var e=140,t=2400,r={},n="none",i=null,o=null,s=!1,a=[],l=!1,c="NONE";this.changeGlobal=!1,this.multiSelection=!1,this.wallParent=new qn,Object.defineProperties(this,{Status:{set:function(e){c=e},get:function(){return c}},WallType:{set:function(e){n=e},get:function(){return n}}});var u=function(e,t){for(var n=0;n<r[t].conf.length;n++)if(r[t].conf[n].text===e)return n;return-1},d=function(o,s){var a={x2:null,y2:null};iie.RemoveWallFromScene(),n=o,r[o].lastPoints=[],r[o].lastVector=[],r[o].walls=[],r[o].lastPoints.push(new br(0,0,2));for(var l=fle.CalcCenterBackBottomPoint(),c=new br(0,0,2),d=0;d<r[o].conf.length;d++){var h=0;$.each($("#configTypesPanel input"),function(e){var t,n;$(this).data("wallid")===d?h=10*("number"==typeof+$(this).val()?+$(this).val():+this.placeholder):void 0!==r[o].conf[d].ref&&(t=u(r[o].conf[d].ref,o),n=5,$.each($("#configTypesPanel input"),function(e){$(this).data("wallid")===t&&(n=10*("number"==typeof+$(this).val()?+$(this).val():+this.placeholder))}),h=n)}),0===h&&(h=10*r[o].conf[d].wLength);var p,m=r[o].conf[d].v;if(p={x1:null!==a.x2?a.x2:0,y1:null!==a.y2?a.y2:0,x2:h*m.x+(null!==a.x2?a.x2:0),y2:h*m.y+(null!==a.y2?a.y2:0)},r[o].conf[d].defaultPlace){var _=new fr((p.x2-p.x1)/2+p.x1,(p.y2-p.y1)/2+p.y1);c.x=_.x-l.x,c.y=_.y-l.y}r[o].lastPoints.push(new br(p.x2,p.y2,2)),r[o].lastVector.push(new fr(m.x,m.y)),a.x2=p.x2,a.y2=p.y2}for(var g=r[o].lastPoints.length,f=new br(r[o].lastPoints[0].x-c.x,r[o].lastPoints[0].y-c.y,2),v=new br(r[o].lastPoints[g-1].x-c.x,r[o].lastPoints[g-1].y-c.y,2),b=1;b<g;b++){var y=new br(r[o].lastPoints[b-1].x-c.x,r[o].lastPoints[b-1].y-c.y,2),x=new br(r[o].lastPoints[b].x-c.x,r[o].lastPoints[b].y-c.y,2),S=!1,w=!1;b-1!=0&&(S=!0),b+1!==r[o].lastPoints.length&&(w=!0),x.x===f.x&&x.y===f.y&&(w=!0),y.x===v.x&&y.y===v.y&&(S=!0);var A=fle.makeBox(y,x,e,t,S,w);A.vec=r[o].lastVector[b-1],r[o].walls.push(A),A.wallType=r[o],iie.wallParent.add(A),A.wallName=r[o].conf[b-1].text,void 0!==r[o].conf[b-1].ref&&(A.wallName=r[o].conf[b-1].ref)}i||(i="_global_RAL9003"),iie.WallMaterial(null,null,null),s.add(iie.wallParent),$("#wallToggle").css("display","block"),$("#lblFloorWall").css("display","block"),Ame.requestRendering()},h=function(t,r,n,i){var o=new Cp.v3d(t.x,t.y,t.z),s=new Cp.v3d(r.x,r.y,r.z),a=new Cp.v3d(n.x,n.y,n.z),l=Cp.DHGoVector([t.x,t.y,t.z],e,[i.x,i.y,i.z]),c=new Cp.v3d(l[0],l[1],l[2]);return Cp.DH2Vector3(o.distancePointPlaneXYZ(s,o,a,c))};this.WallMaterial=function(e,t,r){var n=[];function o(e,t,r){!function(e,t){if(t.points){t.material=e;var r=h(t.points[0],t.points[1],t.points[1],t.pv13),n=h(t.points[0],t.points[2],t.points[1],t.pv13),i=h(t.points[0],t.points[3],t.points[1],t.pv13);t.geometry.attributes.uv.array[0]=0,t.geometry.attributes.uv.array[1]=0,t.geometry.attributes.uv.array[2]=r.x/e.SizeX,t.geometry.attributes.uv.array[3]=0,t.geometry.attributes.uv.array[4]=n.x/e.SizeX,t.geometry.attributes.uv.array[5]=(0!==n.z?-1*n.z:n.y)/e.SizeY,t.geometry.attributes.uv.array[6]=i.x/e.SizeX,t.geometry.attributes.uv.array[7]=(0!==i.z?-1*i.z:i.y)/e.SizeY,t.geometry.attributes.uv.array[8]=0,t.geometry.attributes.uv.array[9]=0,t.geometry.attributes.uv.array[10]=n.x/e.SizeX,t.geometry.attributes.uv.array[11]=(0!==n.z?-1*n.z:n.y)/e.SizeY,t.geometry.attributes.uv.needsUpdate=!0}}(t.GetMaterial(r),e),e.geometry.uvsNeedUpdate=!0,e.material.needsUpdate=!0,e.material.shininess=t.GetMaterial(r).shininess,e.material.color=t.GetMaterial(r).color.clone(),e.material.normalMap=t.GetMaterial(r).normalMap,e.material.normalScale=t.GetMaterial(r).normalScale,Ame.requestRendering()}function s(e,t){var r=new al({emissive:new mi(0,0,0),color:t});e instanceof Yi&&(null!==e.material.map&&void 0!==e.material.map&&(e.oldMaterialSizeX=e.material.SizeX,e.oldMaterialSizeY=e.material.SizeY,e.oldDRX=e.material.map.repeat.x,e.oldDRY=e.material.map.repeat.y),e.material=r),Ame.requestRendering()}if(t||e)if(r)n=[r],Lde.checkForMaterials(n).then(function(e){if(a.length>0)for(var t=0;t<a.length;t++)for(var n=0;n<a[t].children.length;n++)a[t].children[n]instanceof Yi&&(o(a[t].children[n],Lde,r),a[t].localChanged=!0,l=!0,iie.AddGlobalMatBox());else{i=r;for(t=0;t<iie.wallParent.children.length;t++){for(n=0;n<iie.wallParent.children[t].children.length;n++){let e=function(){iie.wallParent.children[t].children[n]instanceof Yi&&(o(iie.wallParent.children[t].children[n],Lde,r),iie.wallParent.children[t].localChanged=!1)};iie.changeGlobal?(e(),l=!1):iie.wallParent.children[t].localChanged||e()}for(var s=0;s<iie.wallParent.children[t].wallType.conf.length;s++)iie.wallParent.children[t].wallType.conf[s].currentMat=r}iie.changeGlobal&&(iie.changeGlobal=!1,iie.RemoveGlobalMatBox())}},{async:!1});else if(a.length>0)for(var c=0;c<a.length;c++)for(var u=0;u<a[c].children.length;u++)a[c].children[u]instanceof Yi&&(e?(s(a[c].children[u],e),a[c].children[u].wallType.conf[curMat].currentMat=e):s(a[c].children[u],a[c].children[u].wallType.conf[c].currentMat),a[c].localChanged=!0,l=!0,iie.AddGlobalMatBox());else{i="_global_"+t.toUpperCase();for(c=0;c<iie.wallParent.children.length;c++)for(u=0;u<iie.wallParent.children[c].children.length;u++)iie.changeGlobal?(s(iie.wallParent.children[c].children[u],e),iie.wallParent.children[c].wallType.conf[c].currentMat=e,l=!1,iie.changeGlobal=!1,iie.RemoveGlobalMatBox()):iie.wallParent.children[c].localChanged||(s(iie.wallParent.children[c].children[u],e),iie.wallParent.children[c].wallType.conf[c].currentMat=e);iie.changeGlobal&&(iie.changeGlobal=!1,iie.RemoveGlobalMatBox())}else for(var d=0;d<iie.wallParent.children.length;d++)for(var p=0;p<iie.wallParent.children[d].children.length;p++)n=iie.wallParent.children[d].wallType.conf[d].currentMat?[iie.wallParent.children[d].wallType.conf[d].currentMat]:[i],iie.wallParent.children[d].wallType.conf[d].currentMat instanceof mi?s(iie.wallParent.children[d].children[p],iie.wallParent.children[d].wallType.conf[d].currentMat):Promise.all([Lde.checkForMaterials(n),Promise.resolve({o:d,w:p})]).then(function([e,t]){var r=e[0];iie.wallParent.children[t.o].children[t.w]instanceof Yi&&o(iie.wallParent.children[t.o].children[t.w],Lde,r.name),Ame.requestRendering()})},this.AddWallType=function(e,t){r[e]||(r[e]=t)},this.UpdateWallType=function(e,t){r[e]||(r[e]=t)},this.RemoveWallType=function(e){r[e]&&(delete r[e],r[e]=void 0)},this.ClearWallTypes=function(){r={}},this.RemoveWallFromScene=function(){for(var e=iie.wallParent.children.length-1;e>=0;e--)iie.wallParent.remove(iie.wallParent.children[e]),n="none",s=!1;$("#wallToggle").css("display","none"),$("#lblFloorWall").css("display","none"),$("#floorToggle").trigger("click")},this.GenerateSVG=function(e){var t=this;for(var n in r){for(var i=nie.CreateSVG(r[n].name,200,150).appendTo($("#wallTypesPanel")),o={x2:null,y2:null},s=0;s<r[n].conf.length;s++){var a=100,l=r[n].conf[s].v,c=a*l.x+(null!==o.x2?o.x2:50),u=a*-l.y+(null!==o.y2?o.y2:20+(-l.y<0?a:0));nie.DrawLine(i,{start:{x:null!==o.x2?o.x2:50,y:null!==o.y2?o.y2:20+(-l.y<0?a:0)},end:{x:c,y:u},color:{r:0,g:0,b:0}}),nie.DrawText(i,{start:{x:c-a*l.x/2+(0!==l.x?-2:2),y:u-a*-l.y/2+(0!==l.y?2:-2)},color:{r:0,g:0,b:0},text:r[n].conf[s].text||r[n].conf[s].ref}),o.x2=c,o.y2=u}i.on("click",{t:n,svg:i[0].cloneNode(!0)},function(n){t.MarkWallByObject(),iie.RemoveGlobalMatBox();var i=$("#configTypesPanel");i.empty(),i.append(n.data.svg);for(var o=0;o<r[n.data.t].conf.length;o++)if(void 0===r[n.data.t].conf[o].ref){var s=$("<div></div>").appendTo(i),a=$("<div class='ui labeled input' style='margin-bottom: 3px;'></div>").appendTo(s);a.append("<div class='ui label'>"+r[n.data.t].conf[o].text+"</div>");var l=$("<input type='number' data-wallid ='"+o+"' placeholder='"+r[n.data.t].conf[o].wLength+"' value='"+r[n.data.t].conf[o].wLength+"'>").appendTo(a);l.change(function(){+this.value<5&&(this.value=5),iie.BuildWall(n.data.t,e)}),l.on("click",{num:o,input:l},function(e){iie.MarkWall(r[n.data.t].conf[e.data.num].text,!0,!0),e.data.input.on("blur",{num:e.data.num,input:e.data.input},function(e){iie.MarkWall(r[n.data.t].conf[e.data.num].text,!1,!0),e.data.input.off("blur")})})}iie.BuildWall(n.data.t,e);var c=$("<div class='ui icon grey button'><i class='refresh icon large'></i></div>").appendTo(i);i.append("<div class='ui special popup transition top left hidden' style='top: auto; bottom: 45px; left: 6px; right: auto;'></div>");var u=$("<div class='content'></div>").appendTo(i);boe.get("fv.right.panel.walls.reload").then(e=>{u.val(e)}),c.click(function(){iie.BuildWall(n.data.t,e)});var d=$("<div class='ui icon grey button'><i class='remove circle icon large'></i></div>").appendTo(i);i.append("<div class='ui special popup transition top left hidden' style='top: auto; bottom: 45px; left: 6px; right: auto;'></div>");var h=$("<div class='content'></div>").appendTo(i);boe.get("fv.right.panel.walls.remove").then(e=>{h.val(e)}),i.append("<hr>"),d.click(function(){iie.RemoveWallFromScene(e)}),$("#configTypesPanel .ui.icon.button").popup({inline:!0,delay:{show:666}})})}},this.BuildWall=function(e,t){iie.wallParent.name="wallContainer",null===e&&"none"!==n?r[n]?(d(n,t),s=!0):console.log("type is undefined"):null!==e&&(r[e]?(n=e,d(e,t),s=!0):console.log("type is undefined"))},this.MarkWall=function(e,t,r){for(var n=iie.GetWallsByName(e),i=0;i<n.length;i++){var o=n[i];this.MarkWallByObject(o,t,r)}},this.MarkWallByObject=function(e,t,r){function n(e,t,r){if(e.traverse(function(e){e instanceof As&&(e.material.color=t instanceof mi?t:new mi(0,1,0),$("#wallToggle").trigger("click"))}),!r){var n=$("#floor-panel-opener");$("#"+n.data("parent")).hasClass("fly in")&&"none"!==$("#floorPanel").css("display")||n.trigger("click")}Ame.requestRendering()}function i(e){e.traverse(function(e){e instanceof As&&(e.material.color=new mi(0,0,0))}),Ame.requestRendering()}if(!e&&!t||!iie.multiSelection){for(var o=0;o<a.length;o++)a[o].marked=!1,i(a[o]);a=[]}if(r){for(o=0;o<a.length;o++)a[o].marked=!1,i(a[o]);a=[],t?n(e,new mi(1,.25,0),r):i(e)}else t?(e.marked=void 0!==e.marked?!e.marked:t,e.marked?(a.push(e),n(e,new mi(0,1,0),r)):(a.splice(a.indexOf(e),1),i(e))):e&&(a.splice(a.indexOf(e),1),e.marked=!1,i(e));a.length},this.exsitLocalMaterial=function(){return l},this.GetWallsByName=function(e){for(var t=[],r=0;r<iie.wallParent.children.length;r++)iie.wallParent.children[r].wallName===e&&t.push(iie.wallParent.children[r]);return t},this.Visible=function(){return s},this.Selection=function(e,t,r,n){if(Bde.OpenedPanel===Np.FLOORPANEL){var i=new fr(e,t);o||(o=new Mc),i.x=e/n.clientWidth*2-1,i.y=-t/n.clientHeight*2+1,o.setFromCamera(i,r);var s=o.intersectObjects(this.wallParent.children,!0);s.length>0?this.MarkWallByObject(s[0].object.parent,!0):this.MarkWallByObject()}else this.MarkWallByObject()},this.AddGlobalMatBox=function(){var e=this,t=$("#setGlobalWallMaterial");t.show(),0===t.length&&((t=$("<div id='setGlobalWallMaterial' class='ui checkbox'></div>")).append("<input type='checkbox'>"),t.append("<label>Override Local Material</label>"),t.checkbox({onChecked:function(){iie.changeGlobal=!0,e.MarkWallByObject()},onUnchecked:function(){iie.changeGlobal=!1}}),$(t).insertAfter("#lblFloorWall"))},this.RemoveGlobalMatBox=function(){$("#setGlobalWallMaterial").remove()},$(document).ready(function(){$(document).keydown(function(e){17===e.keyCode&&(iie.multiSelection=!0)}),$(document).keyup(function(e){17===e.keyCode&&(iie.multiSelection=!1)})})};iie.AddWallType("single",{name:"single",conf:[{text:"A",wLength:400,v:{x:1,y:0},defaultPlace:!0}]}),iie.AddWallType("leftL",{name:"leftL",conf:[{text:"A",wLength:200,v:{x:0,y:1}},{text:"B",wLength:400,v:{x:1,y:0},defaultPlace:!0}]}),iie.AddWallType("rightL",{name:"rightL",conf:[{text:"A",wLength:400,v:{x:1,y:0},defaultPlace:!0},{text:"B",wLength:200,v:{x:0,y:-1}}]}),iie.AddWallType("U",{name:"U",conf:[{text:"A",wLength:200,v:{x:0,y:1}},{text:"B",wLength:400,v:{x:1,y:0},defaultPlace:!0},{text:"C",wLength:400,v:{x:0,y:-1}}]}),iie.AddWallType("vier",{name:"vier",conf:[{text:"A",wLength:400,v:{x:1,y:0},defaultPlace:!0},{text:"B",wLength:600,v:{x:0,y:-1}},{ref:"A",wLength:400,v:{x:-1,y:0}},{ref:"B",wLength:600,v:{x:0,y:1}}]});var oie=function(){this.sceneLight=null,this.Meshes=[]};oie.prototype.addMesh=function(e){this.Meshes.push(e),Ame.requestRendering()},oie.prototype.setWallMaterial=function(e){var t=this,r=[e];Lde.checkForMaterials(r).then(function(e){for(var r=0;r<t.Meshes.length;r++)t.WallUVs(e,t.Meshes[r]),t.Meshes[r].geometry.uvsNeedUpdate=!0,t.Meshes[r].material.needsUpdate=!0,t.Meshes[r].material.shininess=e.shininess,t.Meshes[r].material.color=e.color,t.Meshes[r].material.normalMap=e.normalMap,t.Meshes[r].material.normalScale=e.normalScale,Ame.requestRendering()})},oie.prototype.setWallColor=function(e){for(var t=this,r=0;r<t.Meshes.length;r++){var n=new Hm({emissive:new mi(0,0,0),color:e});null!==t.Meshes[r].material.map&&void 0!==t.Meshes[r].material.map&&(t.Meshes[r].oldMaterialSizeX=t.Meshes[r].material.SizeX,t.Meshes[r].oldMaterialSizeY=t.Meshes[r].material.SizeY,t.Meshes[r].oldDRX=t.Meshes[r].material.map.repeat.x,t.Meshes[r].oldDRY=t.Meshes[r].material.map.repeat.y),t.Meshes[r].material=n,Ame.requestRendering()}},oie.prototype.WallUVs=function(e,t){function r(e,t,r){var n={};return n.min=e>r?r:e,n.max=t<r?r:t,n}var n=function(e){for(var t=0,n=0,i=0,o=0,s=0,a=0,l=0;l<e.geometry.attributes.position.array.length;l+=3){var c=r(t,n,e.geometry.attributes.position.array[l]);t=c.min,n=c.max;var u=r(i,o,e.geometry.attributes.position.array[l+1]);i=u.min,o=u.max;var d=r(s,a,e.geometry.attributes.position.array[l+2]);s=d.min,a=d.max}return{width:t<0?n-t:n+t,height:s<0?a-s:a+s}}(t);!function(e,t,r){var n=e.width/t.SizeX,i=e.height/t.SizeY;r.material=t,r.geometry.attributes.uv.array[0]=0,r.geometry.attributes.uv.array[1]=i,r.geometry.attributes.uv.array[2]=0,r.geometry.attributes.uv.array[3]=0,r.geometry.attributes.uv.array[4]=n,r.geometry.attributes.uv.array[5]=0,r.geometry.attributes.uv.array[6]=n,r.geometry.attributes.uv.array[7]=i,r.geometry.attributes.uv.array[8]=0,r.geometry.attributes.uv.array[9]=i,r.geometry.attributes.uv.array[10]=n,r.geometry.attributes.uv.array[11]=0,r.geometry.attributes.uv.needsUpdate=!0}(n,e,t),Ame.requestRendering()};const sie=new oie,aie=function(e,t,r){const n=function(e,t){const r={x:-1/0,y:-1/0},n={x:1/0,y:1/0};return n.x=Math.min(n.x,e.x,t.x),n.y=Math.min(n.y,e.y,t.y),r.x=Math.max(r.x,e.x,t.x),r.y=Math.max(r.y,e.y,t.y),{x:(r.x-n.x)/2+n.x,y:(r.y-n.y)/2+n.y}}(e,t);n.x=n.x-5,n.y=n.y+5;let i=Cp.DHGetVector([e.x,e.y,0],[t.x,t.y,0]);i=Cp.DHNormalizeVector(i);const o=Cp.DHVecCross3D(i,[0,0,1]),s=Cp.DHGoVector([n.x,n.y,1],r,o,!1);return{x:s[0],y:s[1]}},lie=function(e,t){t.forEach(function(t){!function(e,t){const r=t.start?t.start:{x:0,y:0},n=t.end?t.end:{x:0,y:0},i=t.color?t.color:{r:0,g:0,b:0},o=t.text?t.text:"",s=aie(r,n,10),a=t.textColor?t.textColor:{r:0,g:0,b:0};nie.DrawLine(e,{start:r,end:n,color:i}),nie.DrawText(e,{start:s,color:a,text:o})}(e,{start:t.from,end:t.to,color:{r:0,g:0,b:0},text:t.text,textColor:{r:0,g:0,b:0}})})};class cie{constructor(){this.name="",this.segments=[]}static build(e){const t=new cie;return t.name=e,t}addSegment(e){const t={length:e.length,angle:e.angle,default:!!e.default};if(e.text)t.text=e.text;else if(e.ref){t.ref=e.ref;for(let e=0;e<this.segments.length;e++)this.segments[e].text===t.ref&&(this.segments[e].refSegments||(this.segments[e].refSegments=[]),this.segments[e].refSegments.push(t))}else t.text="";this.segments.push(t)}buildDOM(){const e=200,t=150,r=nie.CreateSVG(this.name,e,t),n=[],i=r.data("centerPoint"),o={x:i.x,y:i.y};this.segments.forEach(function(e){const t=Cp.DHPolar2(e.angle*Cp.Deg2Rad,e.length,o.x,o.y),r={x:t[0],y:t[1]};n.push({from:{x:o.x,y:o.y},to:{x:r.x,y:r.y},text:e.text}),o.x=r.x,o.y=r.y});const s=function(e){const t={x:0,y:0},r={x:-1/0,y:-1/0},n={x:1/0,y:1/0};return e.forEach(function(e){r.x=Math.max(r.x,e.from.x,e.to.x),r.y=Math.max(r.y,e.from.y,e.to.y),n.x=Math.min(n.x,e.from.x,e.to.x),n.y=Math.min(n.y,e.from.y,e.to.y)}),t.x=(r.x-n.x)/2+n.x,t.y=(r.y-n.y)/2+n.y,t}(n);return function(e,t,r,n,i,o){o=o||1;const s=[];e.forEach(function(e){const a=(e.from.x-t.x)/(n/o)+r.x,l=(e.from.y-t.y)/(i/o)+r.y,c=(e.to.x-t.x)/(n/o)+r.x,u=(e.to.y-t.y)/(i/o)+r.y;e.from.x=a,e.from.y=l,e.to.x=c,e.to.y=u,s.push({from:{x:a,y:l},to:{x:c,y:u},text:e.text})})}(n,s,i,e,e,3),lie(r,n),r.data("element",this),r}clone(){const e=new cie;e.name=this.name,e.segments=[];for(let t=0;t<this.segments.length;t++){const r=this.segments[t];e.segments.push({text:r.text,length:r.length,angle:r.angle,default:r.default})}return e}toJSON(){const e={};e.name=this.name,e.segments=[];for(let t=0;t<this.segments.length;t++){const r=this.segments[t];e.segments.push({length:r.length,angle:r.angle})}return e}}const uie=cie;class die extends xb{constructor(){super()}static create(e){return(new die).parseVertices(e.vertices)}static createSync(e){return(new die).parseVertices(e.vertices,!0)}parseVertices(e,t){const r=e=>{const t=new Float32Array(6*e.length);for(let r=0;r<e.length;r++){const n=e[r];for(let e=0;e<6;e++)t[6*r+e]=n[e]*C}return this.setPositions(t),this};return t?r(e):new Promise((t,n)=>{t(r(e))})}}class hie extends Sb{constructor(e,t){super(e,t)}static create(e,t){return new Promise(function(r,n){r(new hie(e,t))})}static createSync(e,t){return new hie(e,t)}dispose(){Lde.RemoveNativeMaterial(this.material.name,this),this.geometry.dispose()}}var pie,mie=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};let _ie=pie=class extends mo{constructor(e){super(),this._mesh=null,this._line=null,this._ray=null,this._collidesWith=[],this._checked=!1,this._width=250*C,this._length=2500*C,this._angle=0,this._position=new br,this._points={},this._direction=new br,this._normal=new br(0,0,1),this._cornerList=new Array,this._width=e.width,this._length=e.length,this._angle=e.angle,this._position=Array.isArray(e.position)?e.position.toVector():e.position,this._points.p1=new br(e.p1.x,e.p1.y,4),this._points.p2=new br(e.p2.x,e.p2.y,4),this._points.p3=new br(e.p3.x,e.p3.y,4),this._points.p4=new br(e.p4.x,e.p4.y,4),this._direction.set(e.direction.x,e.direction.y,0),this.createMesh(),this.createLines(),Kre.add(Vp.TwoDWallClass,{priority:zp.TwoDWallClass,object:this})}get Angle(){return this._angle}get Width(){return this._width}get HasChecked(){return this._checked}set HasChecked(e){this._checked=e}get Collisions(){return this._collidesWith}get HasCollisions(){return this._collidesWith.filter(e=>e.isCollided).length>0}get Points(){return this._points}addCorner(e){!!this._cornerList.filter(t=>t===e)[0]||this._cornerList.push(e)}collide(e){e instanceof pie?xie.checkCollision(e):Array.isArray(e)&&e.forEach(e=>{xie.checkCollision(e)})}setIntersected(e){e?this._mesh.material.color.setRGB(77/255,179/255,77/255):this._mesh.material.color.setRGB(1,1,1)}interact(){let e="";return Yse.Intersection===this&&(e="twoDWallMove"),e}update(e){this._cornerList.forEach(t=>{t.update(this,e,this._direction),this._points.p1.add(t.DeltaPosition.clone().divideScalar(2)),this._points.p2.add(t.DeltaPosition.clone().divideScalar(2)),this._points.p3.add(t.DeltaPosition.clone().divideScalar(2)),this._points.p4.add(t.DeltaPosition.clone().divideScalar(2)),this.updateGeometry()})}resize(e){Cp.DHEqualVec(e.ConnectionPoints.p1,this._points.p1,10)&&Cp.DHEqualVec(e.ConnectionPoints.p2,this._points.p4,10)?(this._points.p1.add(e.DeltaPosition),this._points.p4.add(e.DeltaPosition)):Cp.DHEqualVec(e.ConnectionPoints.p1,this._points.p2,10)&&Cp.DHEqualVec(e.ConnectionPoints.p2,this._points.p3,10)&&(this._points.p2.add(e.DeltaPosition),this._points.p3.add(e.DeltaPosition)),this.updateGeometry()}dispose(){Kre.remove(Vp.TwoDWallClass,this),this._mesh&&(this._mesh.material.dispose(),this._mesh.geometry.dispose()),this._line&&(this._line.material.dispose(),this._line.geometry.dispose())}createGeometry(){const e={positions:[],normals:[],indices:[]};Bme.makeSimpleFace3D(e,this._points.p1,this._points.p2,this._points.p3,this._points.p4,this._normal);const t=new Oi;return t.setAttribute("position",new ki(e.positions,3)),t.setAttribute("normal",new ki(e.normals,3)),t.setIndex(e.indices),t.addGroup(0,e.positions.length/3,0),t}createMesh(){this._mesh=new Yi(this.createGeometry(),new Hm({color:new mi(1,1,1),side:2})),this.add(this._mesh)}createLineGeometry(){const e=[];return e.push([].concat(this._points.p1.toArray(),this._points.p2.toArray())),e.push([].concat(this._points.p2.toArray(),this._points.p3.toArray())),e.push([].concat(this._points.p3.toArray(),this._points.p4.toArray())),e.push([].concat(this._points.p4.toArray(),this._points.p1.toArray())),die.create({isSync:!0,vertices:e})}createLines(){const e="wallLine-0-0-0-1";let t=Lde.GetNativeMaterial(e);t||(t=Lde.GetNativeMaterial(e,this,new LineMaterial({linewidth:2,color:new mi(0,0,0),polygonOffset:!0,polygonOffsetFactor:2,polygonOffsetUnits:2})),t.update=function(){this.resolution.set(fme.WIDTH,fme.HEIGHT)},t.resolution.set(fme.WIDTH,fme.HEIGHT)),this._line=hie.createSync(this.createLineGeometry(),t),this._line.renderOrder=10,this._line.position.z=6,this.add(this._line)}updateGeometry(){let e=this._mesh.geometry;this._mesh.geometry=this.createGeometry(),this._mesh.verticesNeedsUpdate=!0,e.dispose(),e=this._line.geometry,this._line.geometry=this.createLineGeometry(),this._line.geometry.verticesNeedsUpdate=!0,e.dispose()}};_ie=pie=mie([oce],_ie);const gie=_ie;class fie extends qn{constructor(e){super(),this.material=null,this._centerPoint=[0,0,0],this._centerVector=[0,0,1],this._radius=100,this._segments=3,this._thetaLength=2*Math.PI,this._thetaStart=0,this._lineOptions={lineColor:{r:0,g:0,b:0,a:1}},this._centerPoint=e.centerPoint,this._centerVector=e.centerVector,this._radius=e.radius,this._segments=e.segments,this._thetaLength=e.thetaLength,this._thetaStart=e.thetaStart,this._lineOptions=e.lineOptions,this.createCircle(),this.layers.set(1)}static create(e){return(e=e||{}).centerPoint=e.centerPoint||[0,0,0],e.centerVector=e.centerVector||[0,0,1],e.radius=e.radius||1,e.segments=e.segments||3,e.thetaLength=e.thetaLength||2*Math.PI,e.thetaStart=e.thetaStart||0,e.lineOptions=e.lineOptions||{lineColor:{r:0,g:0,b:0,a:1}},e.lineOptions.lineColor=e.lineOptions.lineColor||{r:0,g:0,b:0,a:1},e.lineOptions.version=e.lineOptions.version||1,e.lineOptions.width=e.lineOptions.width||1,new fie(e)}dispose(){for(let e=this.children.length-1;e>=0;e--)this.children[e].dispose&&this.children[e].dispose(),this.remove(this.children[e])}createLine(e,t,r){t||(t=Lde.GetNativeMaterial(r,this,new PE({color:new mi(this._lineOptions.lineColor.r,this._lineOptions.lineColor.g,this._lineOptions.lineColor.b),transparent:this._lineOptions.lineColor.a<1,opacity:this._lineOptions.lineColor.a,depthTest:!1,name:r})));const n=yp.createSync({vertices:e});this.add(DE.createSync(n,t)),this.material=t}createLine2(e,t,r){t||((t=Lde.GetNativeMaterial(r,this,new LineMaterial({color:new mi(this._lineOptions.lineColor.r,this._lineOptions.lineColor.g,this._lineOptions.lineColor.b),transparent:this._lineOptions.lineColor.a<1,opacity:this._lineOptions.lineColor.a,name:r,linewidth:this._lineOptions.width,polygonOffset:!0,polygonOffsetFactor:2,polygonOffsetUnits:2}))).update=function(){this.resolution.set(fme.WIDTH,fme.HEIGHT),this.needsUpdate=!0}),t.resolution.set(fme.WIDTH,fme.HEIGHT);const n=die.createSync({vertices:e}),i=hie.createSync(n,t);i.renderOrder=10,this.add(i),this.material=t}createCircle(){const e=Cp.DHGoVector(this._centerPoint,1e3,this._centerVector),t=Cp.DHPerpendicularVector(this._centerVector),r=Cp.DHVecCross3D(this._centerVector,t),n=Cp.DHGoVector(this._centerPoint,this._radius,r),i=Cp.DHCreateArcPoint3D(this._centerPoint,e,n,this._thetaStart),o=[],s=this._thetaLength/this._segments;this._thetaLength,this._thetaStart;let a=i;for(let t=0,r=this._segments;t<r;t++){if(t+1===r&&this._thetaLength===2*Math.PI){o.push([].concat(Cp.DHVecSub(a,this._centerPoint),Cp.DHVecSub(i,this._centerPoint)));break}const n=Cp.DHCreateArcPoint3D(this._centerPoint,e,a,s);o.push([].concat(Cp.DHVecSub(a,this._centerPoint),Cp.DHVecSub(n,this._centerPoint))),a=n}const l="circleMaterial-"+this._lineOptions.lineColor.r+"-"+this._lineOptions.lineColor.g+"-"+this._lineOptions.lineColor.b+"-"+this._lineOptions.lineColor.a,c=Lde.GetNativeMaterial(l,this);2===this._lineOptions.version?this.createLine2(o,c,l):this.createLine(o,c,l)}}const vie=fie;var bie=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};let yie=class extends mo{constructor(e,t){super(),this._segmentList=new Array,this._meshCircle=null,this._lineCircle=null,t=t||{},this._lineColor=t.lineColor||{r:0,g:0,b:0,a:1},this._fillColor=t.fillColor||{r:0,g:0,b:0,a:1},this._distance=e.distance||110,this._centerPoint=new br(e.centerPoint.x,e.centerPoint.y,10),this._oldPosition=this.position.clone(),this._deltaPosition=new br,this._hasLine=t.hasLine||!1,this._connectionPoints={p1:e.p1.clone(),p2:e.p2.clone()},this._connectionPoints.p1.z=4,this._connectionPoints.p2.z=4,this.createCircle(),Kre.add(Vp.TwoDWallCornerClass,{priority:zp.TwoDWallCornerClass,object:this})}get DeltaPosition(){return this._deltaPosition}get ConnectionPoints(){return this._connectionPoints}addSegment(e){!!this._segmentList.filter(t=>t===e)[0]||this._segmentList.push(e)}update(e,t,r){const n=this._segmentList.filter(t=>t!=e);this._oldPosition=this.position.clone();const i=$ie.calculateDelta(t,this.position,r);this.position.x=i.x,this.position.y=i.y,this._deltaPosition=this.position.clone().sub(this._oldPosition.clone()),n.forEach(e=>{e.resize(this)}),this.ConnectionPoints.p1.add(this.DeltaPosition),this.ConnectionPoints.p2.add(this.DeltaPosition)}setIntersected(e){e?this._meshCircle.material.color.setRGB(77/255,179/255,77/255):this._meshCircle.material.color.setRGB(this._fillColor.r,this._fillColor.g,this._fillColor.b)}interact(){let e="";return Yse.Intersection===this&&(e="twoDWallCornerMove"),e}dispose(){Kre.remove(Vp.TwoDWallCornerClass,this),this._meshCircle&&(this._meshCircle.material.dispose(),this._meshCircle.geometry.dispose()),this._lineCircle&&this._lineCircle.dispose()}createCircle(){this._hasLine&&(this._lineCircle=vie.create({radius:this._distance+10,centerPoint:this._centerPoint.toArray(),centerVector:[0,0,1],segments:32,thetaLength:2*Math.PI,lineOptions:{width:2,version:2,lineColor:this._lineColor}}),this._lineCircle.position.copy(this._centerPoint),this._lineCircle.material.depthWrite=!1,this._lineCircle.material.depthTest=!1,this.add(this._lineCircle));const e=new Js(this._distance+10,32),t=new lu({color:new mi(this._fillColor.r,this._fillColor.g,this._fillColor.b),transparent:this._fillColor.a<1,opacity:this._fillColor.a});this._meshCircle=new Yi(e,t),this.position.copy(this._centerPoint),this.add(this._meshCircle)}};yie=bie([oce],yie);const $ie=new class{constructor(){this._visible=!1,this._wallGroup=new mo,this._wallInteractionGroup=new mo}get Visible(){return this._visible}get WallSegments(){return this._wallGroup.children}calculateDelta(e,t,r){const n=e.clone(),i=aue.CurrentCamera.Camera.zoom,o=aue.CurrentCamera.CameraControl.OrthogonalRLW||1,s=aue.CurrentCamera.CameraControl.OrthogonalTBW||1;let a=new fr(1,1);r&&(a=Cp.DHVecCross2D(r),a.x=Math.abs(a.x),a.y=Math.abs(a.y)),n.x=n.x*o,n.y=n.y*s;let l=0;if(l=a.x<a.y?0!==n.x?n.x:1/n.y!=0?n.y:1:0!==n.y?n.y:1/n.x!=0?n.x:1,(0===n.x&&0===a.x||0===n.y&&0===a.y)&&(l=0),r)return Cp.DH2Vector3(Cp.DHGoVector(t.clone(),l/i,a));{const e=new br(n.y,n.x,0);return t.clone().add(e.divideScalar(i))}}update(){this._visible}show(){-1===Dhe.TScene.children.indexOf(this._wallGroup)&&Dhe.add(this._wallGroup),-1===Dhe.TScene.children.indexOf(this._wallInteractionGroup)&&Dhe.add(this._wallInteractionGroup),this._visible=!0,Object.values(Aie.fp_walls).forEach(e=>{e.visible=!1}),this.create2DWall()}hide(){this.reset(),this._visible=!1,Object.values(Aie.fp_walls).forEach(e=>{e.visible=!0})}extractCorners(e){const t={};return e.forEach(e=>{const r=e.p1.x+"_"+e.p1.y+"_"+e.p4.x+"_"+e.p4.y,n=e.p2.x+"_"+e.p2.y+"_"+e.p3.x+"_"+e.p3.y,i=e.p1.clone().add(e.p4.clone()).divideScalar(2),o=e.p2.clone().add(e.p3.clone()).divideScalar(2),s=Math.sqrt(Math.pow(e.p1.x-e.p4.x,2)+Math.pow(e.p1.y-e.p4.y,2))/2,a=Math.sqrt(Math.pow(e.p2.x-e.p3.x,2)+Math.pow(e.p2.y-e.p3.y,2))/2;t[r]||(t[r]=new yie({centerPoint:i,p1:e.p1,p2:e.p4,distance:s})),t[n]||(t[n]=new yie({centerPoint:o,p1:e.p2,p2:e.p3,distance:a})),t[r].addSegment(e.wall2D),t[n].addSegment(e.wall2D),e.wall2D.addCorner(t[r]),e.wall2D.addCorner(t[n]),e.connected.forEach(e=>{let r=e.points[0][0]+"_"+e.points[0][1]+"_"+e.points[1][0]+"_"+e.points[1][1];t[r]?(t[r].addSegment(e.wall2D),e.wall2D.addCorner(t[r])):(console.warn("NOT FOUND CONNECTION?!"),r=e.points[1][0]+"_"+e.points[1][1]+"_"+e.points[0][0]+"_"+e.points[0][1],t[r]?(t[r].addSegment(e.wall2D),e.wall2D.addCorner(t[r])):console.error("NO CONNECTION EXISTS!"))})}),t}create2DWall(){this.reset();const e=Aie.Walls2D;e.forEach(e=>{const t=new gie(e);e.wall2D=t,this._wallGroup.add(t)}),e.forEach(t=>{e.forEach(e=>{t.wall2D!==e.wall2D&&(e.HasChecked||(t.HasChecked=!0,xie.checkCollisionV2(t.wall2D,e.wall2D)))})})}reset(){for(let e=this._wallGroup.children.length-1;e>=0;e--){const t=this._wallGroup.children[e];t.dispose&&t.dispose(),this._wallGroup.remove(t)}for(let e=this._wallInteractionGroup.children.length-1;e>=0;e--){const t=this._wallInteractionGroup.children[e];t.dispose&&t.dispose(),this._wallInteractionGroup.remove(t)}}};const xie=new class{constructor(){}getCurrentWallData(e){let t=e.angle;t+=e.angle>180?-360:e.angle<-180?360:0;const r=Cp.DHPolar3(Cp.Deg2Rad*t,e.length,e.position),n=Cp.DHGetVector(e.position,r),i=Cp.DHVecCross3D(n,Cp.GetVectorInZ()),o=Cp.DHGoVector(e.position,e.width,i,!0),s=Cp.DHGoVector(e.position,e.length,n),a=Cp.DHGoVector(s,e.width,i,!0);return{p1:Cp.DH2Vector3(o),p2:Cp.DH2Vector3(e.position),p3:Cp.DH2Vector3(s),p4:Cp.DH2Vector3(a),position:e.position,length:e.length,angle:e.angle,width:e.width,direction:n.toVector()}}calculateCenterPoint(e){let t=null,r=null,n=32;return e.forEach(e=>{if(t){const r=new fr(e.local.x,e.local.y);t=t.add(r)}else t=new fr(e.local.x,e.local.y)}),t&&(t.divideScalar(e.length),t=new br(t.x,t.y,0)),e.length>0&&(r=new fr(e[0].local.x,e[0].local.y)),r&&t&&(n=Cp.DHBetrag2D(t,r)),{centerPoint:t,distance:n}}checkCollisionV2(e,t){if(t!==e)for(let r=1;r<=4;r++){const n="p"+r;let i="p"+(r+1);4===r&&(i="p1");const o={p1:e.Points[n],p2:e.Points[i]};for(let e=1;e<=4;e++){const r="p"+e;let n="p"+(e+1);4===e&&(n="p1");const i={p1:t.Points[r],p2:t.Points[n]},s=this.LineIntersected(o,i);s&&$ie._wallInteractionGroup.add(new yie({centerPoint:Cp.DH2Vector3(s),p1:o.p1,p2:o.p2,distance:50}))}}}checkCollision(e,t){if(t===e)return;const r=(new Qr).setFromObject(t);if((new Qr).setFromObject(e._mesh).intersectsBox(r)){if(!!!e._collidesWith.filter(e=>e.object===t)[0]&&!t.HasCollisions){const r=t.Points,n=e.Points,i=[r.p1,r.p2,r.p3,r.p4],o=[n.p1,n.p2,n.p3,n.p4],s=[];for(let e=0;e<4;e++){const t=o[e];for(let e=0;e<4;e++){const r=i[e];Cp.DHEqualVec(t,r,2)&&(r.x=t.x,r.y=t.y,s.push({local:t,pObj:r}))}}const a=this.calculateCenterPoint(s);e._collidesWith.push({object:t,isCollided:s.length>0,combined:s,centerPoint:a.centerPoint,distance:a.distance})}}}LineIntersected(e,t){const r=Cp.checkLineIntersection(e.p1.x,e.p1.y,e.p2.x,e.p2.y,t.p1.x,t.p1.y,t.p2.x,t.p2.y);if(r){const n=new br(r.x,r.y,4);Cp.DHEqualVec(e.p1,n,1)||Cp.DHEqualVec(e.p2,n,1)||Cp.DHEqualVec(t.p1,n,1)||Cp.DHEqualVec(t.p2,n,1)||$ie._wallInteractionGroup.add(new yie({centerPoint:r,p1:e.p1,p2:e.p2,distance:50}))}let n=null;return(Cp.DHEqualVec(e.p1,t.p1,1)||Cp.DHEqualVec(e.p1,t.p2,1))&&(n=e.p1),(Cp.DHEqualVec(e.p2,t.p1,1)||Cp.DHEqualVec(e.p2,t.p2,1))&&(n=e.p2),n}};const Sie=new class{constructor(){this.types={},this.elements=[],this.domElement=null,this.tabs=null,$(document).ready(function(){Sie.domElement=$("#wallElements")})}insertElement(e){const t=e.width||0,r=e.height||0,n=e.parapet||-1;cse.wallFitting([{manu:"_GLOBAL",prog:"DHD1",actionMode:9,picklevel:"9997",dx:t,dz:r,bh:n,type:e.type,elementType:e.elementType}])}getTypesAndStops(e){const t={};return e.forEach(e=>{const r=e.text;e.elements.forEach(e=>{t[e.type]||(t[e.type]={stops:{}}),t[e.type].stops[r]||(t[e.type].stops[r]=[]),t[e.type].stops[r].push(e)})}),t}genStopUI(e,t,r,n){Sie.types[r].stops[e].forEach(e=>{this.getWallElement(e,n).buildDOM().appendTo(t)})}getWallElement(e,t){let r=null,n=[];return Aie.FPWallHandling?Object.keys(Aie.fp_walls).forEach(e=>{n.push(Aie.fp_walls[e])}):n=Aie.currentWall.segments,n.forEach((n,i)=>{0===i?(r=Noe.buildAccessories({fipr:e.prog,p_hash:e.p_hash,m_hash:e.m_hash,manu:e.manu,prog:e.prog,II:Aie.FPWallHandling?+n.instanceIdent:+n.refWall.instanceIdent,type:e.type,showCursor:!1,isClickDnD:!0,isDrag:!0,isClickAdd:!1,withoutDrag:!0,parentList:t},{A:e.artNo,TE:e.text,J:e.artNo},Yoe.hierarchies.wallElementHierarchy),void 0!==e.width&&void 0!==e.height&&void 0!==e.parapetHeight&&(r.size={x:e.width,y:e.height,z:e.parapetHeight})):r.addII(Aie.FPWallHandling?+n.instanceIdent:+n.refWall.instanceIdent)}),r}parse(e){return new Promise((t,r)=>(Sie.domElement.empty(),Sie.tabs=$('<div class="ui tabular menu dhmc-fitting-wall-tabs"></div>').appendTo(Sie.domElement),Aie.currentWall?($("#wall-fittings-opener").show(),Yoe.hierarchies.wallElementHierarchy.clear(),Sie.types=this.getTypesAndStops(e),Object.keys(Sie.types).forEach(e=>{const t=$('<a data-tab="'+e+'"></a>').addClass("item").text(e);Sie.tabs.append(t);const r=$('<div data-tab="'+e+'"></div>').addClass("ui tab dhmc-fitting-wall-tab");if(Sie.types[e].stops){const t=Object.keys(Sie.types[e].stops);if(1===t.length)this.genStopUI(t[0],r,e,r);else if(t.length>1){const n=$("<div></div>").addClass("ui accordion dhmc-fitting-wall-accordion");t.forEach(t=>{const i=$("<div></div>").addClass("title").text(t);i.prepend('<i class="dropdown icon"></i>'),i.appendTo(n);const o=$("<div></div>").addClass("content");this.genStopUI(t,o,e,r),o.appendTo(n)}),r.append(n)}r.appendTo(Sie.domElement)}})):$("#wall-fittings-opener").hide(),t()))}},wie=function(e){const t=Aie,r=$(this).data("element");if(!r)return;t.currentWall=r;const n=$("#configTypesPanel");n.empty(),n.append(this.cloneNode(!0)),ape.GetWallByName(t.currentWall.name).then(function(e){t.currentWall.segments.forEach(function(e,r){if(void 0===e.ref){const i=$("<div></div>").appendTo(n),o=$("<div class='ui labeled input' style='margin-bottom: 3px;'></div>").appendTo(i);o.append("<div class='ui label'>"+e.text+"</div>");const s=$("<input type='number' data-wallid ='"+r+"' placeholder='"+e.length+"' value='"+e.length+"'>").appendTo(o);s.on("change",{segment:e},function(e){const r=$(this),n=e.data.segment;t.currentSegment=n,+r.val()<5&&r.val(5)}),s.on("click",{segment:e,input:s},function(e){const r=e.data.segment;t.currentSegment=r,r.refSegments&&r.refSegments.forEach(function(e){MI.show(e.refWall)}),MI.show(r.refWall),e.data.input.on("blur",{segment:e.data.segment,input:e.data.input},function(e){t.currentSegment=null,MI.hideAll(),e.data.input.off("blur")})})}});const r=$("<div class='ui icon grey button'><i class='refresh icon large'></i></div>").appendTo(n);n.append("<div class='ui special popup transition top left hidden' style='top: auto; bottom: 45px; left: 6px; right: auto;'></div>");const i=$("<div class='content'></div>").appendTo(n);boe.get("fv.right.panel.walls.reload").then(e=>{i.val(e)}),r.click(function(){t.currentWall.toJSON();const e=document.querySelector("#groundCheckbox"),r=document.querySelector("#ceilingCheckbox");!!r&&r.checked,!!e&&e.checked;ape.BuildWallFromConfiguration(undefined).then(function(){return ape.getWallElements().then(function(e){return Sie.parse(e).then(function(){$(".dhmc-fitting-wall-tabs .item").tab(),$(".dhmc-fitting-wall-accordion").accordion({})})})})});const o=$("<div class='ui icon grey button'><i class='remove circle icon large'></i></div>").appendTo(n);n.append("<div class='ui special popup transition top left hidden' style='top: auto; bottom: 45px; left: 6px; right: auto;'></div>"),n.append("<div class='ui special popup transition top left hidden' style='top: auto; bottom: 45px; left: 6px; right: auto;'></div>");const s=$("<div class='content'></div>").appendTo(n);boe.get("fv.right.panel.walls.remove").then(e=>{s.val(e)}),n.append("<hr>"),o.click(function(){ape.RemoveWall().then(function(){n.empty()})})}).then(function(){return ape.getWallElements().then(function(e){return Sie.parse(e).then(function(){$(".dhmc-fitting-wall-tabs .item").tab(),$(".dhmc-fitting-wall-accordion").accordion({})})})})};const Aie=new class{constructor(){this.fp_walls={},this.wallTypes={},this.domElement=$("#wallTypesPanel"),this.currentWall=null,this.currentSegment=null,this.initializeCameraEvent=!1,Qp.register("DeleteWall",()=>(Aie.setDeleteMode(),Promise.resolve()))}get FPWallHandling(){return!this.currentWall&&Object.keys(this.fp_walls).length>0}set FPWallHandling(e){}get Walls(){return Object.values(this.fp_walls)}get WallConnections(){return this.getWallConnection()}get Walls2D(){const e=[];return Object.values(this.fp_walls).forEach(t=>{const r=xie.getCurrentWallData({width:t.AdvancedInfo.IWALL_INFO.DETAILS.width,angle:t.AdvancedInfo.IWALL_INFO.DETAILS.angle,length:t.AdvancedInfo.IWALL_INFO.DETAILS.length,position:t.AdvancedInfo.IWALL_INFO.DETAILS.p1});r.id=t.instanceIdent,r.wall=t,e.push(r)}),e}parse(e){return new Promise((t,r)=>{e.forEach(e=>{this.wallTypes[e.name]=uie.build(e.name),$(this.wallTypes[e.name]).nodoubletapzoom(),e.segments.forEach(t=>{this.wallTypes[e.name].addSegment(t)})}),t(!0)})}setMaterial(e,t){ape.SetWallTexture({wallTexture:e,wallIIList:t})}buildDOM(){return Object.keys(this.wallTypes).forEach(e=>{const t=this.wallTypes[e].buildDOM();t.click(wie),this.domElement.append(t)}),this.domElement}createUI(e){}setDeleteMode(){var e;Yse.updateSceneAction("wallDelete"),null===(e=Yse.SceneAction)||void 0===e||e.begin()}DeleteWall(e){e.object&&(this.fp_walls[e.object.instanceIdent]&&(this.fp_walls[e.object.instanceIdent]=null,delete this.fp_walls[e.object.instanceIdent]),ape.deleteLO([e.object.guid]).then(()=>{this.setDeleteMode()}))}setVisible(){new br,new xn,new xn;Object.keys(this.fp_walls).forEach(e=>{const t=this.fp_walls[e],r=t.wp1.clone();r.z=2500;const n=Cp.DistancePointPlane(aue.CurrentCameraControl.Camera.position.clone().toArray(),t.wp1.toArray(),t.wp2.toArray(),r.toArray()),i=[];for(let e=0;e<t.children.length;e++)"CPO_DH_WITH_ALWAYSRUNCHILDS"!==t.children[e].typeText&&"CH_FITTING"!==t.children[e].typeText||i.push(t.children[e]);for(let e=0;e<i.length;e++){const r=i[e];for(let e=0;e<r.children.length;e++)if(n<0&&0===t.AdvancedInfo.IWALL_INFO.DETAILS.middleWall)r.children[e]instanceof Ms||(r.children[e].visible=!1,MI.exists(t)&&MI.hide(t,!0));else if(r.children[e]instanceof Bme){const t=MI.getElements();let n=!1;for(let i=0;i<t.length;i++)if(r.children[e]===t[i]){n=!0;break}r.children[e].visible=n}else r.children[e]instanceof Ms||(r.children[e].visible=!0,MI.exists(t)&&MI.show(t,{onlyShow:!0}))}})}getWallConnection(){const e=[];return Object.values(this.fp_walls).forEach(t=>{const r={wall:t,connected:[]};Object.values(t.AdvancedInfo.IWALL_INFO.CORNER_DATA).forEach(e=>{Object.values(this.fp_walls).forEach(n=>{n!==t&&Object.values(n.AdvancedInfo.IWALL_INFO.CORNER_DATA).forEach(t=>{if(Cp.DHEqualVec(e,t,.001)){const t=r.connected.filter(e=>e.wall===n);0===t.length?r.connected.push({wall:n,points:[e.slice()]}):t[0].points.push(e.slice())}})})}),e.push(r)}),e}},Cie={1e3:{color:"#BEBD7F",name:"Gr&#252nbeige"},1001:{color:"#C2B078",name:"Beige"},1002:{color:"#C6A664",name:"Sandgelb"},1003:{color:"#E5BE01",name:"Signalgelb"},1004:{color:"#CDA434",name:"Goldgelb"},1005:{color:"#A98307",name:"Honiggelb"},1006:{color:"#E4A010",name:"Maisgelb"},1007:{color:"#DC9D00",name:"Narzissengelb"},1011:{color:"#8A6642",name:"Braunbeige"},1012:{color:"#C7B446",name:"Zitronengelb"},1013:{color:"#EAE6CA",name:"Perlwei&#223"},1014:{color:"#E1CC4F",name:"Elfenbein"},1015:{color:"#E6D690",name:"Hellelfenbein"},1016:{color:"#EDFF21",name:"Schwefelgelb"},1017:{color:"#F5D033",name:"Safrangelb"},1018:{color:"#F8F32B",name:"Zinkgelb"},1019:{color:"#9E9764",name:"Graubeige"},1020:{color:"#999950",name:"Olivgelb"},1021:{color:"#F3DA0B",name:"Rapsgelb"},1023:{color:"#FAD201",name:"Verkehrsgelb"},1024:{color:"#AEA04B",name:"Ockergelb"},1026:{color:"#FFFF00",name:"Leuchtgelb"},1027:{color:"#9D9101",name:"Currygelb"},1028:{color:"#F4A900",name:"Melonengelb"},1032:{color:"#D6AE01",name:"Ginstergelb"},1033:{color:"#F3A505",name:"Dahliengelb"},1034:{color:"#EFA94A",name:"Pastellgelb"},1035:{color:"#6A5D4D",name:"Perlbeige"},1036:{color:"#705335",name:"Perlgold"},1037:{color:"#F39F18",name:"Sonnengelb"},2e3:{color:"#ED760E",name:"Gelborange"},2001:{color:"#C93C20",name:"Rotorange"},2002:{color:"#CB2821",name:"Blutorange"},2003:{color:"#FF7514",name:"Pastellorange"},2004:{color:"#F44611",name:"Reinorange"},2005:{color:"#FF2301",name:"Leuchtorange"},2007:{color:"#FFA420",name:"Leuchthellorange"},2008:{color:"#F75E25",name:"Hellrotorange"},2009:{color:"#F54021",name:"Verkehrsorange"},2010:{color:"#D84B20",name:"Signalorange"},2011:{color:"#EC7C26",name:"Tieforange"},2012:{color:"#E55137",name:"Lachsorange"},2013:{color:"#C35831",name:"Perlorange"},3e3:{color:"#AF2B1E",name:"Feuerrot"},3001:{color:"#A52019",name:"Signalrot"},3002:{color:"#A2231D",name:"Karminrot"},3003:{color:"#9B111E",name:"Rubinrot"},3004:{color:"#75151E",name:"Purpurrot"},3005:{color:"#5E2129",name:"Weinrot"},3007:{color:"#412227",name:"Schwarzrot"},3009:{color:"#642424",name:"Oxidrot"},3011:{color:"#781F19",name:"Braunrot"},3012:{color:"#C1876B",name:"Beigerot"},3013:{color:"#A12312",name:"Tomatenrot"},3014:{color:"#D36E70",name:"Altrosa"},3015:{color:"#EA899A",name:"Hellrosa"},3016:{color:"#B32821",name:"Korallenrot"},3017:{color:"#E63244",name:"Ros&#233"},3018:{color:"#D53032",name:"Erdbeerrot"},3020:{color:"#CC0605",name:"Verkehrsrot"},3022:{color:"#D95030",name:"Lachsrot"},3024:{color:"#F80000",name:"Leuchtrot"},3026:{color:"#FE0000",name:"Leuchthellrot"},3027:{color:"#C51D34",name:"Himbeerrot"},3028:{color:"#CB3234",name:"Reinrot"},3031:{color:"#B32428",name:"Orientrot"},3032:{color:"#721422",name:"Perlrubinrot"},3033:{color:"#B44C43",name:"Perlrosa"},4001:{color:"#6D3F5B",name:"Rotlila"},4002:{color:"#922B3E",name:"Rotviolett"},4003:{color:"#DE4C8A",name:"Erikaviolett"},4004:{color:"#641C34",name:"Bordeauxviolett"},4005:{color:"#6C4675",name:"Blaulila"},4006:{color:"#A03472",name:"Verkehrspurpur"},4007:{color:"#4A192C",name:"Purpurviolett"},4008:{color:"#924E7D",name:"Signalviolett"},4009:{color:"#A18594",name:"Pastellviolett"},4010:{color:"#CF3476",name:"Telemagenta"},4011:{color:"#8673A1",name:"Perlviolett"},4012:{color:"#6C6874",name:"Perlbrombeer"},5e3:{color:"#354D73",name:"Violettblau"},5001:{color:"#1F3438",name:"Gr&#252nblau"},5002:{color:"#20214F",name:"Ultramarinblau"},5003:{color:"#1D1E33",name:"Saphirblau"},5004:{color:"#18171C",name:"Schwarzblau"},5005:{color:"#1E2460",name:"Signalblau"},5007:{color:"#3E5F8A",name:"Brillantblau"},5008:{color:"#26252D",name:"Graublau"},5009:{color:"#025669",name:"Azurblau"},5010:{color:"#0E294B",name:"Enzianblau"},5011:{color:"#231A24",name:"Stahlblau"},5012:{color:"#3B83BD",name:"Lichtblau"},5013:{color:"#1E213D",name:"Kobaltblau"},5014:{color:"#606E8C",name:"Taubenblau"},5015:{color:"#2271B3",name:"Himmelblau"},5017:{color:"#063971",name:"Verkehrsblau"},5018:{color:"#3F888F",name:"T&#252rkisblau"},5019:{color:"#1B5583",name:"Capriblau"},5020:{color:"#1D334A",name:"Ozeanblau"},5021:{color:"#256D7B",name:"Wasserblau"},5022:{color:"#252850",name:"Nachtblau"},5023:{color:"#49678D",name:"Fernblau"},5024:{color:"#5D9B9B",name:"Pastellblau"},5025:{color:"#2A6478",name:"Perlenzian"},5026:{color:"#102C54",name:"Perlnachtblau"},6e3:{color:"#316650",name:"Patinagr&#252n"},6001:{color:"#287233",name:"Smaragdgr&#252n"},6002:{color:"#2D572C",name:"Laubgr&#252n"},6003:{color:"#424632",name:"Olivgr&#252n"},6004:{color:"#1F3A3D",name:"Blaugr&#252n"},6005:{color:"#2F4538",name:"Moosgr&#252n"},6006:{color:"#3E3B32",name:"Grauoliv"},6007:{color:"#343B29",name:"Flaschengr&#252n"},6008:{color:"#39352A",name:"Braungr&#252n"},6009:{color:"#31372B",name:"Tannengr&#252n"},6010:{color:"#35682D",name:"Grasgr&#252n"},6011:{color:"#587246",name:"Resedagr&#252n"},6012:{color:"#343E40",name:"Schwarzgr&#252n"},6013:{color:"#6C7156",name:"Schilfgr&#252n"},6014:{color:"#47402E",name:"Gelboliv"},6015:{color:"#3B3C36",name:"Schwarzoliv"},6016:{color:"#1E5945",name:"T&#252rkisgr&#252n"},6017:{color:"#4C9141",name:"Maigr&#252n"},6018:{color:"#57A639",name:"Gelbgr&#252n"},6019:{color:"#BDECB6",name:"Wei&#223gr&#252n"},6020:{color:"#2E3A23",name:"Chromoxidgr&#252n"},6021:{color:"#89AC76",name:"Blassgr&#252n"},6022:{color:"#25221B",name:"Braunoliv"},6024:{color:"#308446",name:"Verkehrsgr&#252n"},6025:{color:"#3D642D",name:"Farngr&#252n"},6026:{color:"#015D52",name:"Opalgr&#252n"},6027:{color:"#84C3BE",name:"Lichtgr&#252n"},6028:{color:"#2C5545",name:"Kieferngr&#252n"},6029:{color:"#20603D",name:"Minzgr&#252n"},6032:{color:"#317F43",name:"Signalgr&#252n"},6033:{color:"#497E76",name:"Mintt&#252rkis"},6034:{color:"#7FB5B5",name:"Pastellt&#252rkis"},6035:{color:"#1C542D",name:"Perlgr&#252n"},6036:{color:"#193737",name:"Perlopalgr&#252n"},6037:{color:"#008F39",name:"Reingr&#252n"},6038:{color:"#00BB2D",name:"Leuchtgr&#252n"},7e3:{color:"#78858B",name:"Fehgrau"},7001:{color:"#8A9597",name:"Silbergrau"},7002:{color:"#7E7B52",name:"Olivgrau"},7003:{color:"#6C7059",name:"Moosgrau"},7004:{color:"#969992",name:"Signalgrau"},7005:{color:"#646B63",name:"Mausgrau"},7006:{color:"#6D6552",name:"Beigegrau"},7008:{color:"#6A5F31",name:"Khakigrau"},7009:{color:"#4D5645",name:"Gr&#252ngrau"},7010:{color:"#4C514A",name:"Zeltgrau"},7011:{color:"#434B4D",name:"Eisengrau"},7012:{color:"#4E5754",name:"Basaltgrau"},7013:{color:"#464531",name:"Braungrau"},7015:{color:"#434750",name:"Schiefergrau"},7016:{color:"#293133",name:"Anthrazitgrau"},7021:{color:"#23282B",name:"Schwarzgrau"},7022:{color:"#332F2C",name:"Umbragrau"},7023:{color:"#686C5E",name:"Betongrau"},7024:{color:"#474A51",name:"Graphitgrau"},7026:{color:"#2F353B",name:"Granitgrau"},7030:{color:"#8B8C7A",name:"Steingrau"},7031:{color:"#474B4E",name:"Blaugrau"},7032:{color:"#B8B799",name:"Kieselgrau"},7033:{color:"#7D8471",name:"Zementgrau"},7034:{color:"#8F8B66",name:"Gelbgrau"},7035:{color:"#D7D7D7",name:"Lichtgrau"},7036:{color:"#7F7679",name:"Platingrau"},7037:{color:"#7D7F7D",name:"Staubgrau"},7038:{color:"#B5B8B1",name:"Achatgrau"},7039:{color:"#6C6960",name:"Quarzgrau"},7040:{color:"#9DA1AA",name:"Fenstergrau"},7042:{color:"#8D948D",name:"Verkehrsgrau A"},7043:{color:"#4E5452",name:"Verkehrsgrau B"},7044:{color:"#CAC4B0",name:"Seidengrau"},7045:{color:"#909090",name:"Telegrau 1"},7046:{color:"#82898F",name:"Telegrau 2"},7047:{color:"#D0D0D0",name:"Telegrau 4"},7048:{color:"#898176",name:"Perlmausgrau"},8e3:{color:"#826C34",name:"Gr&#252nbraun"},8001:{color:"#955F20",name:"Ockerbraun"},8002:{color:"#6C3B2A",name:"Signalbraun"},8003:{color:"#734222",name:"Lehmbraun"},8004:{color:"#8E402A",name:"Kupferbraun"},8007:{color:"#59351F",name:"Rehbraun"},8008:{color:"#6F4F28",name:"Olivbraun"},8011:{color:"#5B3A29",name:"Nussbraun"},8012:{color:"#592321",name:"Rotbraun"},8014:{color:"#382C1E",name:"Sepiabraun"},8015:{color:"#633A34",name:"Kastanienbraun"},8016:{color:"#4C2F27",name:"Mahagonibraun"},8017:{color:"#45322E",name:"Schokoladen-braun"},8019:{color:"#403A3A",name:"Graubraun"},8022:{color:"#212121",name:"Schwarzbraun"},8023:{color:"#A65E2E",name:"Orangebraun"},8024:{color:"#79553D",name:"Beigebraun"},8025:{color:"#755C48",name:"Blassbraun"},8028:{color:"#4E3B31",name:"Terrabraun"},8029:{color:"#763C28",name:"Perlkupfer"},9001:{color:"#FDF4E3",name:"Cremewei&#223"},9002:{color:"#E7EBDA",name:"Grauwei&#223"},9003:{color:"#F4F4F4",name:"Signalwei&#223"},9004:{color:"#282828",name:"Signalschwarz"},9005:{color:"#0A0A0A",name:"Tiefschwarz"},9006:{color:"#A5A5A5",name:"Wei&#223aluminium"},9007:{color:"#8F8F8F",name:"Graualuminium"},9010:{color:"#FFFFFF",name:"Reinwei&#223"},9011:{color:"#1C1C1C",name:"Graphitschwarz"},9016:{color:"#F6F6F6",name:"Verkehrswei&#223"},9017:{color:"#1E1E1E",name:"Verkehrs-schwarz"},9018:{color:"#D7D7D7",name:"Papyruswei&#223"},9022:{color:"#9C9C9C",name:"Perlhellgrau"},9023:{color:"#828282",name:"Perldunkelgrau"}};const Eie=new class{constructor(){this._materialSetIndex=0,this.onChangeToggle=e=>{if(this.FloorToggle&&this.FloorToggle.checked){this._materialSetIndex=0;$("#setGlobalWallMaterial").hide()}else this.WallToggle&&this.WallToggle.checked&&(this._materialSetIndex=1,iie.exsitLocalMaterial()&&iie.AddGlobalMatBox())},this.getPos=e=>{const t={x:0,y:0};for(;e;)t.x+=e.offsetLeft,t.y+=e.offsetTop,e=e.offsetParent;return t},this.setGroundRalColor=(e,t)=>{const r=(e=(e=e.replace("rgb(","")).replace(")","")).split(","),n=new mi(+r[0]/255,+r[1]/255,+r[2]/255);0===this._materialSetIndex?ape.setFloor(t):1===this._materialSetIndex&&(Aie.setMaterial(t),iie.WallMaterial(n,t),sie.setWallColor(n))},this.initEvent()}get WallToggle(){return this._wallToggle||(this._wallToggle=document.querySelector("#wallToggle")),this._wallToggle}get FloorToggle(){return this._floorToggle||(this._floorToggle=document.querySelector("#floorToggle")),this._floorToggle}setGroundNCSColor(e,t){const r=(e=(e=e.replace("rgb(","")).replace(")","")).split(","),n=new mi(+r[0]/255,+r[1]/255,+r[2]/255);0===this._materialSetIndex?ape.setFloor(t.replace(/ /g,"_")):1===this._materialSetIndex&&(Aie.setMaterial(t.replace(/ /g,"_")),iie.WallMaterial(n,t),sie.setWallColor(n))}setWallToggle(e){this.WallToggle&&(e?(this.WallToggle.classList.add("visible"),this.getWallLabel().classList.add("visible"),this.getWallpaperTab().classList.add("visible")):(this.WallToggle.classList.remove("visible"),this.getWallLabel().classList.remove("visible"),this.getWallpaperTab().classList.remove("visible")))}setSelectionFloorWallVisibility(e){const t=document.querySelector(".selectionFloorWall");t&&(e?(t.classList.contains("hidden")&&this.FloorToggle&&(this.FloorToggle.checked=!0),t.classList.remove("hidden")):t.classList.add("hidden"))}resetFloorAndWallTexture(){const e=this._materialSetIndex;this._materialSetIndex=0,this.setGroundRalColor("rgb(255, 255, 255)","RAL9010"),this._materialSetIndex=1,this.setGroundRalColor("rgb(255, 255, 255)","RAL9010"),this._materialSetIndex=e}getWallLabel(){return this._wallToggleLabel||(this._wallToggleLabel=document.getElementById("lblFloorWall")),this._wallToggleLabel}getWallpaperTab(){return this._wallpaperTab||(this._wallpaperTab=document.getElementById("lblFloorFloorExtra2")),this._wallpaperTab}initEvent(){$(document).ready(()=>{var e,t;this._texturePanel=document.querySelector("#floorPanel"),upe.on("serverknown",()=>{this._texturePanel&&(this.buildMaterialView(),this.buildRalView(),this.FloorToggle?(this.FloorToggle.checked=!0,this._materialSetIndex=0):this.WallToggle&&(this.WallToggle.checked=!0,this._materialSetIndex=1))}),$("#btnCloseTextures").click(()=>{g_configuration.panel_right_register_kata_tree_generic&&$("#kataTreeGeneric").length>0?(this._texturePanel.style.display="none",$("#kataTreeGeneric").css("display","flex")):fme.showPreviousWizardStep()}),$("#btnResetTextures").click(()=>{this.resetFloorAndWallTexture()}),$(this._texturePanel).find("> .menu .item").click(e=>{$(this._texturePanel).find("> .ui.tab").addClass("hidden"),$(this._texturePanel).find(`> .ui.tab[data-tab="${e.currentTarget.getAttribute("data-tab")}"]`).removeClass("hidden")}),$("#btnTextures").click(()=>{const e=$(".dhStep, .priceStep"),t=$(".register.right"),r=$("#panelRight"),n=$("#floor-panel-opener");fme.setWizardStep({opener:n,steps:e,panels:t,panelContainer:r,parent:r,register:$(this._texturePanel)})}),null===(e=this.FloorToggle)||void 0===e||e.addEventListener("change",e=>{this.onChangeToggle(e)}),null===(t=this.WallToggle)||void 0===t||t.addEventListener("change",e=>{this.onChangeToggle(e)})})}appendTextureElement(e,t,r){const n=$("<a></a>").appendTo(t),i="6a994122",o=e.imgPath.split("/"),s=o[o.length-1],a=e.imgPath.replace("/"+s,""),l=zme.absolute(g_node_url_prefix+"/furnplan/_furnview/_global/html/h/wall/",a+"_thumb/"+s),c=new Image;c.onload=t=>{$(c).appendTo(n),n.click(()=>{let t=null;t=s.endsWith(".dds")?Cue.getCubeTexture({manuName:i,textureName:s}):Cue.getTexture({manuName:i,textureName:s}),t.then(t=>{0===r._materialSetIndex?ape.setFloor(e.texture,!g_configuration.add_floor):1===r._materialSetIndex&&(Aie.setMaterial(e.texture),iie.WallMaterial(null,Lde,e.texture),sie.setWallMaterial(e.texture))})}),n.on("mousedown",{name:e.texture},e=>{0})},c.src=l}onVisible(e,t,r){new IntersectionObserver((n,i)=>{n.forEach(n=>{n.intersectionRatio>0&&(r(e),t&&i.disconnect())})}).observe(e)}buildMaterialView(){const e=document.querySelector("#floorZone"),t=document.querySelector("#carpetsZone"),r=document.querySelector("#wallpaperZone"),n=g_node_url_prefix+"/furnplan/_global/_global/html/h/wall/json/weitzer/WEITZERwood.json",i=g_node_url_prefix+"/furnplan/_global/_global/html/h/wall/json/others/OTHERScarpets.json",o=g_node_url_prefix+"/furnplan/_global/_global/html/h/wall/json/rasch/general.json";this.onVisible(e,!0,()=>{$.ajax({async:!0,type:"GET",url:n}).done(e=>{JSON.parse(e)[0].objects.forEach(e=>{this.appendTextureElement(e,"#floorZone",this)})})}),this.onVisible(t,!0,()=>{$.ajax({async:!0,type:"GET",url:i}).done(e=>{JSON.parse(e)[0].objects.forEach(e=>{this.appendTextureElement(e,"#carpetsZone",this)})})}),this.onVisible(r,!0,()=>{$.ajax({async:!0,type:"GET",url:o}).done(e=>{JSON.parse(e).forEach(e=>{e.objects.forEach(e=>{this.appendTextureElement(e,"#wallpaperZone",this)})})})})}buildRalView(){const e=document.querySelector("#ralColors");e&&(Object.keys(Cie).forEach(t=>{const r=document.createElement("div"),n=document.createElement("div");r.style.background=Cie[t].color,r.classList.add("ralColor"),r.id=`RAL${t}`,n.classList.add("ralToolTip"),n.id=`ral${t}_tooltip`,n.textContent=Cie[t].name,e.appendChild(r),e.appendChild(n)}),$(document).ready(()=>{const e=$(".ralColor");e.on("mousemove",e=>{const t=$(e.currentTarget),r=$("#"+t[0].id+"_tooltip");Wp.getType()===Mp.DESKTOP&&($(".ralToolTip.show").removeClass("show"),r.addClass("show"),void 0!==e.pageY&&(r.css("top",e.pageY-this.getPos(t[0].parentElement).y-10),r.css("left",e.pageX-this.getPos(t[0].parentElement).x-r.width()/4)))}),e.on("mouseleave",e=>{Wp.getType()===Mp.DESKTOP&&$(".ralToolTip.show").removeClass("show")}),e.click(e=>{const t=$(e.currentTarget);Wp.getType()===Mp.DESKTOP&&this.setGroundRalColor(t.css("backgroundColor"),t[0].id)}),e.on("touchstart",e=>{const t=$(e.currentTarget),r=$("#"+t[0].id+"_tooltip");r.hasClass("show")?(t.css("border","1px solid black"),$(".ralToolTip.show").removeClass("show"),this.setGroundRalColor(t.css("backgroundColor"),t[0].id)):($(".ralColor").css("border","1px solid black"),$(".ralToolTip.show").removeClass("show"),r.addClass("show"),r.css("top",t.position().top-20+"px"),r.css("left",t.position().left+"px"),t.css("border","3px solid cyan"))})}))}};var Iie=new function(){var e=this,t="255,255,255",r=/\[DH_AUSF_NCS\].*/,n=/\[DH_AUSF_RAL\].*/;e.init=function(i){var o;e.Property=i,"object"==typeof e.Property?console.log("neu"):(e.NCSColor=(o=e.Property,r.test(o)?"NCS_S0300-N":n.test(o)?"RAL9010":o),e.NCSColorRGB=function(e){return r.test(e)?"255,255,255":(n.test(e),t)}(e.Property)),e.GenerateColorGrid("Y"),e.SetColorWheel(),$("#ncsPickerBack").click(function(e){$("#ncsContainer").hide(),$("#genericWizardMainCatalog").show()}),$("#sikkensPickerBack").click(function(e){$("#sikkensContainer").hide(),$("#genericWizardMainCatalog").show()}),$("#colorInput").change(function(t){var r=$(this).val().toUpperCase().replace(/\s|NCS/gi,"");if(e.CheckNCSCodeIsValid(r,!0)){e.NCSColor="NCS_"+r,$(".colorGrid").children("span[data-ncsvalue="+e.NCSColor+"]").click();var n=r.split("-")[1];for(var i in eie[n])if(eie[n][i]===r){e.NCSColorRGB=i;break}e.SetColorOutput(),e.SetColorWheel()}});var s="";$("#colorInput").keyup(function(t){if(13===t.which){t.preventDefault();var r=$(this).val().toUpperCase().replace(/\s|NCS/gi,"");if(s!==r){if(e.CheckNCSCodeIsValid(r,!0)){e.NCSColor="NCS_"+r,$(".colorGrid").children("span[data-ncsvalue="+e.NCSColor+"]").click();var n=r.split("-")[1];for(var i in eie[n])if(eie[n][i]===r){e.NCSColorRGB=i;break}e.SetColorOutput()}s=r}}else{r=$(this).val().toUpperCase().replace(/\s|NCS/gi,"");if(s!==r&&e.CheckNCSCodeIsValid(r)){e.NCSColor="NCS_"+r,$(".colorGrid").children("span[data-ncsvalue="+e.NCSColor+"]").click();n=r.split("-")[1];for(var i in eie[n])if(eie[n][i]===r){e.NCSColorRGB=i;break}e.SetColorOutput(),e.SetColorWheel()}s=r}}),$(".colorWheelclickArea").click(function(t){t.preventDefault();var r=$(this).offset(),n=r.left+$(this).width()/2,i=r.top+$(this).width()/2,o=t.pageX,s=t.pageY,a=Math.atan2(o-n,s-i)*(180/Math.PI)*-1+180;a=9*Math.round(a/9);document.getElementById("colorWheelCursor");var l=!1;a%90==0&&(l=!0);var c=10*Math.ceil(a/(1/Bde.DimensionScale)),u="N";a<90||360==a?u=l?"Y":"Y"+c+"R":a<180?u=l?"R":"R"+Math.abs(90-c)+"B":a<270?u=l?"B":"B"+Math.abs(180-c)+"G":a<360&&(u=l?"G":"G"+Math.abs(270-c)+"Y"),$("#colorWheelCursor").css("transform","rotate("+a+"deg)"),e.GenerateColorGrid(u)}),$("#colorInputSubmit").click(function(t){t.preventDefault();var r=$(this).val().toUpperCase().replace(/\s|NCS/gi,"");e.CheckNCSCodeIsValid(r)&&(e.SetColorOutput(),e.SetColorWheel())})},e.SetColorOutput=function(){var t=e.NCSColor.replace("_"," "),r=e.NCSColorRGB;if($("#colorInput").val()!=t&&$("#colorInput").val(t),$("#colorCurrent").css("background","rgb("+r+")"),"object"==typeof e.Property){var n=e.Property.key.replace(/.*_(\[.*\].*)_[0-9]+/gi,"$1").toUpperCase();ape.setColorPickerCode({merkmal:e.Property.parentId,auspraegung:n,color:r,code:e.NCSColor});let t={manufacturer:e.Property.manu.toLowerCase(),program:e.Property.prog.toLowerCase(),key:e.Property.parentId,property:n,propertyKey:e.Property.key,index:e.Property.index};return ape.modifyProperty([t],{isWizard:!0})}Eie.setGroundNCSColor(r,t)},e.GenerateColorGrid=function(t){var r="";$(".colorGrid").fadeOut(function(){for(var n in $(this).children().remove(),eie[t])r+='<div class="colorField" style="background-color: rgb('+n+');" data-ncsValue="'+eie[t][n]+'">&nbsp;</div>';var i=$(".colorGrid");i.append(r);var o=$(".colorField");o.click(function(t){t.preventDefault(),e.NCSColor="NCS_"+$(this).attr("data-ncsvalue"),$(".colorField.active").removeClass("active"),$(this).addClass("active");var r=e.NCSColor.split("-")[1];for(var n in eie[r])if(eie[r][n]===e.NCSColor.substring(4)){e.NCSColorRGB=n;break}e.SetColorOutput()}),o.data("ncsvalue",e.NCSColor.substr(4)),i.fadeIn()})},e.CheckNCSCodeIsValid=function(e,t){if(e=e.toUpperCase(),/(S[0-9]{4}-[YRBGN])([0-9]{2}[YRBG])?(\[#TZ#\](.*))?$/.test(e)){var r=!1;for(var n in e=e.split("[#TZ#]")[0],eie)for(var i in eie[n])e===eie[n][i]&&(r=!0);return!!r}return!1},e.SetColorWheel=function(){var t=e.NCSColor.split("-")[1],r=t.substr(0,1);if("N"!=r){document.getElementById("colorWheelCursor");var n=parseInt(t.substr(1,2))/(1/Bde.DimensionScale)*9;"R"==r?n+=90:"B"==r?n+=180:"G"==r&&(n+=270),$("#colorWheelCursor").css("transform","rotate("+n+"deg)")}e.GenerateColorGrid(t)}};const Mie=Iie;var kie=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class Tie extends Qre{constructor(e,t,r,n,i){super(e,t,r,n,i),this._currentCategoriesKeys=[],this._presentPPs=[],this._reload=!1,this.filter=this.filter.bind(this),this._sikkensPicker=document.querySelector("fv-sikkens-picker"),this._sikkensPicker.manufacturer=t,this._sikkensPicker.addEventListener("colorChange",e=>{var t;null===(t=this._currentPPV)||void 0===t||t.doProgProperty({modifyColorPicker:{code:e.detail.code,rgb:`${e.detail.rgba.r},${e.detail.rgba.g},${e.detail.rgba.b}`,key:this._currentPPV.key,id:this._currentPPV.parentId}})})}onPropertiesChanged(){return kie(this,void 0,void 0,function*(){this._allProgProperties=yield Zne.getAll(this.currentManufacturer,this.currentProgram,this.currentManufacturerHash,this.currentProgramHash),this._allProgProperties.forEach((e,t)=>{this._presentPPs.indexOf(e.id)<0&&this._presentPPs.push(e.id)})})}static createInstance(e,t,r,n,i){return kie(this,void 0,void 0,function*(){const o=new Tie(e,t,r,n,i);return $le.addEventListener(ble.HANDLE,o.filter,null,1e4,!0),$le.addEventListener(ble.AFTER_DELETE,o.filter,null,1e4,!0),o._groupInformations=yield ape.GetMerkmalGroupInformations(window.g_article.manu,window.g_article.prog),$(window).on("doProgPropertyFilter",function(){return kie(this,void 0,void 0,function*(){o._reload=!0,yield o.onPropertiesChanged(),o.build(),yield o.filter(),o._reload=!1})}),$(window).on("doCollapse",function(e,t){t!==o.id&&o.onCollapse()}),yield o.onPropertiesChanged(),o})}onCollapse(){}filter(){return kie(this,void 0,void 0,function*(){const e=this;e._relevantProgPropertiesKeys=yield Zne.getRelevantKeys(e.currentManufacturer,e.currentProgram),$("."+e.id+" .reset").hide().removeClass("selected"),e._currentCategoriesKeys.length>0?Object.keys(e._relevantProgPropertiesKeys).forEach(function(t,r){e._currentCategoriesKeys.indexOf(t)>-1&&($('.progproperty .pp[data-pp="'+t+'"]').show(),e._relevantProgPropertiesKeys[t].values.forEach(function(e){$('.progproperty .ppv[data-ppv="'+e.propertyKey+'"]').show()}),$('.progproperty .ppvs[data-ppv="'+e._relevantProgPropertiesKeys[t].currentValue+'"]').show(),$('.progproperty .ppv[data-ppv="'+e._relevantProgPropertiesKeys[t].currentValue+'"]').addClass("selected"))}):Object.keys(e._relevantProgPropertiesKeys).forEach(function(t,r){$('.progproperty .pp[data-pp="'+t+'"]').show(),e._relevantProgPropertiesKeys[t].values.forEach(function(e){$('.progproperty .ppv[data-ppv="'+e.propertyKey+'"]').show()}),$('.progproperty .ppvs[data-ppv="'+e._relevantProgPropertiesKeys[t].currentValue+'"]').show(),$('.progproperty .ppv[data-ppv="'+e._relevantProgPropertiesKeys[t].currentValue+'"]').addClass("selected")}),$('.progproperty .gw-acc:not([data-pp="'+e._lastKey+'"])').removeClass("selected"),$('.progproperty .gw-acc-panel:not([data-pp="'+e._lastKey+'"])').hide()})}prepareData(e){$(".progproperty .gw-acc-panel").hide(),$(".progproperty .gw-acc").removeClass("selected")}build(){this._moduleElement?this._moduleElement.empty():this._moduleElement=$("<div></div>"),this._moduleElement.addClass("module");return $("<div></div>").addClass("propertyHierarchy").appendTo(this._moduleElement),this._moduleElement.addClass(this._id),this._modConfig.useUnGeneric&&this._moduleElement&&this._moduleElement.length?(fme.InteriorPropertyContainer.renderTo(this._moduleElement),fme.InteriorPropertyContainer.renderChildrenToDefault(),fme.InteriorPropertyContainer.PropertyHierarchy.CheckExclusion=!0,fme.InteriorPropertyContainer.InteriorDesign.CategoriesAvailable=!1,Yne.reload({inUse:!0}).then(e=>{e&&(Bde.BlockGeneratedProperties||fme.PropertyContainer.build(e,!0))})):this._moduleElement.append(this.buildProgProperty()),this._moduleElement}buildCategorieFilter(e){const t=this,r=$('<div class="categoriesContainer"></div>');return e.forEach(function(e,n){const i=$("<button>"+e.title+"</button>");0===n&&(i.addClass("active"),t._firstGroupButton=i),i.click(()=>kie(this,void 0,void 0,function*(){$(".categoriesContainer button").removeClass("active"),i.addClass("active"),t._currentCategoriesKeys.splice(0,t._currentCategoriesKeys.length),e.keys.forEach(function(e){const r=e.key.toString();t._currentCategoriesKeys.push(r),t._presentPPs.indexOf(r)<0&&i.hide()}),yield t.filter()})),void 0!==e.title&&r.append(i),e.keys.forEach(function(e){const r=e.key.toString();t._presentPPs.indexOf(r)<0&&i.hide()})}),r}buildProgProperty(){const e=this,t=$('<div class="progproperty"></div>'),r=$("<div></div>"),n=$('<label style="margin-left: 5px" data-i18n="fv.genericwizard.modify_elements">Einzelne Fläche ändern</label>'),i=$('<input type="checkbox">');return i.on("change",function(t){e._modifyElements=t.currentTarget.checked}),r.append(i),r.append(n),"SIDE"===this._currentProgram.toUpperCase()&&t.append(r),e._groupInformations.length>0&&t.append(e.buildCategorieFilter(e._groupInformations)),t.addClass(g_configuration.generic_wizard_template),e._allProgProperties.forEach((r,n)=>{$(".progproperty .gw-acc-panel").hide(),n!==e._allProgProperties.length-1||this._reload||(e._lastKey=r.id);const i=$('<div class="gw-acc translateItemPP"></div>');i.text(r.name);const o=$('<div class="gw-acc-panel"></div>'),s=$('<div class="gw-acc-panel-values"></div>'),a=$('<div class="gw-acc-panel-selection"></div>');i.click(()=>{let t=!0;"block"===o.css("display")&&(o.hide(),t=!1),$(".progproperty .gw-acc-panel").hide(),$(".progproperty .gw-acc").removeClass("selected"),t&&(o.show(),i.addClass("selected"),$(window).trigger("doCollapse",[e.id])),e._lastKey=r.id}),i.attr("data-pp",r.id),o.attr("data-pp",r.id),i.addClass("reset"),o.addClass("reset"),i.addClass("pp"),o.addClass("pp"),i.hide(),o.hide(),r.values.forEach((t,r)=>{const n=$('<div class="gw-acc-panel-value translateItemPPV"></div>');n.text(t.name),s.append(n),n.addClass(t.key),n.attr("data-textKey",t.id);const i=$('<div class="gw-acc-panel-value-img"></div>');i.css("background-image","url("+t.imageSource()+")"),n.append(i);const o=$('<div class="gw-acc-panel-selected"></div>'),l=$('<img class="gw-acc-panel-selected-img">');n.attr("data-ppv",t.key),o.attr("data-ppv",t.key),n.addClass("reset"),o.addClass("reset"),n.addClass("ppv"),o.addClass("ppvs"),n.hide(),o.hide(),n.click(()=>kie(this,void 0,void 0,function*(){this._currentPPV=t,t.isNCS?($("#ncsContainer").show(),$("#genericWizardMainCatalog").hide(),Mie.init(t)):t.isSIKKENS?($("#sikkensContainer").show(),$("#genericWizardMainCatalog").hide()):(this._reload=!0,yield t.doProgProperty({modifyComponent:e._modifyElements}),yield this.onPropertiesChanged(),this.build(),yield e.filter(),this._reload=!1)})),l.attr("src",t.imageSource()),l.on("error",function(){l.hide()}),o.append(l),a.append(o)}),o.append(s),o.append(a),t.append(i),t.append(o)}),e._firstGroupButton&&e._firstGroupButton.trigger("click"),t}refreshTexts(){return kie(this,void 0,void 0,function*(){const e=yield ape.getFinishTxtData(this._currentManufacturer,g_language),t=e[0].txtDataFinish,r=e[1].txtDataFinishGroups;$(".progproperty .translateItemPP").toArray().forEach(e=>{const t=$(e).attr("data-pp"),n=r.find(function(e){return e[0]===t});n&&$(e).text(n[1])}),$(".progproperty .translateItemPPV").toArray().forEach(e=>{const r=$(e).attr("data-textKey"),n=t.find(function(e){return e[0]===r});n&&$(e).text(n[1])})})}}const Rie=Tie;var Lie=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};const Pie=new class{constructor(){this.domElements={},this.isDocumentReady=!1,this.isPriceTagReady=Om(),this.ready()}ready(){if(this.domElements.self=$("#articleInfo"),this.domElements.program=$("#articleInfoProgram"),this.domElements.number=$("#articleInfoNumber"),this.domElements.dx=$("#articleInfoDx"),this.domElements.dy=$("#articleInfoDy"),this.domElements.dz=$("#articleInfoDz"),this.domElements.dimensions=$("#articleInfoDimensions"),this.isDocumentReady=!0,!g_configuration.webui_mode){let e=0;const t=setTimeout(()=>{cancelAnimationFrame(e),this.isPriceTagReady.resolve()},5e3),r=()=>{0===$("#articleInfoPrice").length?e=window.requestAnimationFrame(r):(clearTimeout(t),this.domElements.price=$("#articleInfoPrice"),this.isPriceTagReady.resolve())};e=window.requestAnimationFrame(r)}}update(e){this.isDocumentReady&&(e?(this.domElements.program.html(e.progName||e.prog),this.domElements.number.html(e.artno),this.domElements.dx.text(zme.formatNumber(e.dxmin)),this.domElements.dy.text(zme.formatNumber(e.dymin)),this.domElements.dz.text(zme.formatNumber(e.dzmin)),this.domElements.dimensions.removeClass("dhmc-hidden")):this.domElements.dimensions.addClass("dhmc-hidden"))}setPrice(){return Lie(this,void 0,void 0,function*(){if(g_configuration.show_price){yield this.isPriceTagReady;let e="";try{const t=yield ape.getTotalPrice();e=t.value&&t.currency&&t.text?g_configuration.enable_wizard?`${t.value} ${t.currency}`:`${t.text}`:""}catch(t){e=""}this.isDocumentReady&&(Bde.WizardEnabled||""!==g_configuration.landingPage||g_configuration.enable_wizard_fm||g_configuration.enable_wizard_st||g_configuration.enable_wizard_generic?g_configuration.enable_wizard_generic?g_configuration.generic_wizard_short_price?$("#articleInfoPrice").html(boe.getValue("fv.genericwizard.overview")+" "+e.replace(/-/g,"").trim()):($("#articleInfoPrice").text(e.replace(/-/g,"").trim()),$("#articleInfoPriceOverview").text(e.replace(/-/g,"").trim())):$("#articleInfoPrice").html(e):"0,00 EUR"!==e||Bde.WizardEnabled||g_configuration.enable_wizard_fm||g_configuration.enable_wizard_st||g_configuration.enable_wizard_generic?this.domElements.price.html(e):this.domElements.price.html(""))}})}clear(){this.domElements.program.text(""),this.domElements.number.text(""),this.domElements.dx.text(""),this.domElements.dy.text(""),this.domElements.dz.text(""),this.domElements.price.text("")}hide(){this.domElements.self.addClass("dhmc-hidden")}show(){this.domElements.self.removeClass("dhmc-hidden")}};var Die=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class Nie extends Qre{constructor(e,t,r,n,i){super(e,t,r,n,i),this.tmpCounts={},this.gloTxtData=[],this._ptInfoText=[],this._globalTxtData=[]}static createInstance(e,t,r,n,i){return Die(this,void 0,void 0,function*(){const o=new Nie(e,t,r,n,i);for(let e=0;e<o.articles.length;e++){const t=o.articles[e],r=yield ape.getAdditionalPosCountInCart(o._currentManufacturer,o._currentProgram,t.artNo,1);o.tmpCounts[t.artNo]=r.artCount}const s=yield ape.getGloTxtData(o._currentManufacturer,o._currentProgram,g_language);let a;o.gloTxtData=s.glotxt;try{a=yield ape.getInfoTextData(t,r)}catch(e){}a&&a.infotext&&(o._ptInfoText=a.infotext);const l=yield ape.getGlobalTxtData(o._currentManufacturer,g_language);return o._globalTxtData=l.globaltxt,$(window).on("doCollapse",function(e,t){t!==o.id&&o.onCollapse()}),o})}onCollapse(){$(".shoppingcart .gw-acc-panel").hide(),$(".shoppingcart .gw-acc").removeClass("selected")}build(){const e=$("<div></div>");return e.addClass("module"),e.addClass(this._id),e.append(this.buildShoppingCart()),e}prepareData(e){const t=this,r=[];e.Articles[0].forEach(function(e){t._articles.push(new Wre(e,Bp.SHOPPINGCART))}),r.sort(function(e,t){return e.order-t.order}),r.forEach(function(e){t._moduleCategories.set(e.id,e)}),t._moduleCategories.forEach(function(e){e.priority>=1e3&&t._moduleFilterCategories.set(e.id,e)})}setPrice(){return Die(this,void 0,void 0,function*(){Pie.setPrice()})}buildShoppingCart(){const e=this,t=$('<div class="shoppingcart"></div>');t.addClass(g_configuration.generic_wizard_template);const r=boe.getValue("fv.genericwizard.template_caption.W_SHOPPINGCART_ARTICLE"),n=$('<div class="gw-acc"></div>');n.text(r),n.attr("data-i18n","fv.genericwizard.template_caption.W_SHOPPINGCART_ARTICLE");const i=$('<div class="gw-acc-panel"></div>');i.hide(),n.click(function(){"none"===i.css("display")?(i.show(),$(window).trigger("doCollapse",[e.id])):i.hide(),n.toggleClass("selected")});const o=$('<div class="gw-acc-panel-values"></div>'),s=$('<div class="gw-acc-panel-selection"></div>');return e._articles.forEach(function(t,r){const n=$('<div class="gw-acc-panel-value"></div>'),i=$('<div class="panel-value-shopping label"></div>'),a=$('<div class="panel-value-shopping labelContent"></div>');if(i.append(a),e.gloTxtData){const r=e.gloTxtData.find(function(e){return e[0]==="txt"+t.artNo+"_menualt"});r?a.text(r[1]):a.text(t.artNo)}else a.text(t.artNo);a.text().length>24&&(a.mouseover(function(e){$(this).addClass("marqueeTest")}),a.mouseleave(function(e){$(this).removeClass("marqueeTest")})),n.addClass(t.artNo);const l=$('<div class="panel-value-shopping cart-plus"></div>'),c=$('<div class="panel-value-shopping cart-minus"></div>'),u=$('<div class="panel-value-shopping cart-total">0</div>');u.text(e.tmpCounts[t.artNo]),l.click(function(){return Die(this,void 0,void 0,function*(){const r=yield ape.setAdditionalPosInCart(e._currentManufacturer,e._currentProgram,t.artNo,1);u.text(r.artCount),e.setPrice()})}),c.click(function(){return Die(this,void 0,void 0,function*(){if("0"!==u.text()){const r=yield ape.setAdditionalPosInCart(e._currentManufacturer,e._currentProgram,t.artNo,-1);u.text(r.artCount),e.setPrice()}})}),n.append(l),n.append(c),n.append(u),n.append(i),o.append(n);const d=$('<div class="gw-acc-panel-selected"></div>'),h=$('<div class="gw-acc-panel-selected-info tooltip"></div>');h.click(function(){const r=t.getModalTextInfoMarkup(e._ptInfoText,e._globalTxtData);r&&r.length>0&&foe.showModalArticleInfo(a.text(),r,void 0)});const p=$('<span class="tooltiptext" data-i18n="fv.generickatatree.tooltip.moreInformations">mehr Informationen</span>');h.append(p);const m=$('<img class="gw-acc-panel-selected-img">');m.attr("src",t.imageSource()),d.append(m),d.append(h),d.addClass(t.artNo),s.append(d),n.click(function(){$(".shoppingcart .gw-acc-panel-selected").hide(),$(".shoppingcart .gw-acc-panel-value").removeClass("selected"),d.show(),n.addClass("selected")}),0!==r?d.hide():n.addClass("selected")}),i.append(o),i.append(s),t.append(n),t.append(i),t}filter(){}refreshTexts(){}}const Fie=Nie;var Oie=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};const Bie=class{static doCommand(e){return Oie(this,void 0,void 0,function*(){e.webCabParams||(e.webCabParams={});const t=e.webCabParams;t["itemManager.TargetType"]=g_configuration.webcab_target,t["itemManager.manufacturer"]=window.g_article.manu,t["itemManager.program"]=window.g_article.prog,t["itemManager.customerType"]="",t["itemManager.uiType"]="UI",e.webCabParams=t;const r=yield ape.PerformWebCabCommand(e);return console.log(e),console.log(r[0]),r[0]})}static placeDrawer(e,t,r){ape.dhTodo(["0",{manu:r,kataManu:r,params:["SCHUBKASTEN","","","","","","","6"]}])}static deleteFitting(e=""){ape.dhTodo(["1",{manu:e,kataManu:e,params:["2001"]}])}static MoveFitting(e=""){ape.dhTodo(["1",{manu:e,kataManu:e,params:["2002"]}])}static resetFitting(){ape.resetFitting()}static placeFitting(e,t){ape.dhTodo(["0",{manu:t,kataManu:t,params:[e]}])}static resetFittingHeight(){}};var Uie=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class Vie extends Qre{constructor(e,t,r,n,i){super(e,t,r,n,i),this._uiData=[],this._moduleElement=$("<div></div>"),this._lastSlope="noSlope",this._singleCabsCollapsed=!0}static createInstance(e,t,r,n,i){return Uie(this,void 0,void 0,function*(){const o=new Vie(e,t,r,n,i);$(".gridContainer").addClass("webcab"),ape.dhTodo(["0",{manu:t,kataManu:t,params:[g_configuration.webcab_target]}]);return yield o.performCommand({webCabCommand:"getUI"}),o})}performCommand(e){return Uie(this,arguments,void 0,function*(e,t=!0){const r={webCabCommand:e.webCabCommand,webCabParams:{Modified:{}}};"ModifyValues"===e.webCabCommand?r.webCabParams.Modified[e.modificationTarget]=e.value:"ModifySingleSpace"===e.webCabCommand?(r.webCabParams.GroupID=e.GroupID,r.webCabParams.InGroupID=e.InGroupID,r.webCabParams[e.modificationTarget]=e.value):"ModifySingleGroup"===e.webCabCommand?(r.webCabParams.GroupID=e.GroupID,r.webCabParams[e.modificationTarget]=e.value):"ArrangeEqually"===e.webCabCommand&&(r.webCabParams.GroupID=e.GroupID);const n=yield Bie.doCommand(r);t&&(this._uiData=n.UI.containers,this.buildUI())})}buildUI(){const e=this;e._moduleElement.empty(),this._uiData.forEach(function(t,r){const n=$("<div></div>");if(n.attr("id",t.id),n.attr("name",t.name),t.title){const e=t.title?boe.getValue(t.title):"",r=$('<h2 style="font-family: Arial, sans-serif !important;" >'+e+"</h2>");n.append(r)}t.controls.forEach(function(t){t.controls?n.append(e.buildControls(t)):n.append(e.buildControl(t))}),e._moduleElement.append(n)})}buildControl(e){if("number"===e.type)return this.buildNumber(e,!1)}buildControls(e){const t=this;if("div-slopeTypes"===e.id)return this.buildSlopes(e.controls);if("div-SlopeSettingsForType"===e.id){const r=$("<div></div>");return e.controls.forEach(function(e){r.append(t.buildNumber(e,!1))}),r}if("div-RuleOptimizeBySwitchContainer"===e.id){const t=$("<div></div>");return t.append(this.buildList(e.controls[0])),t}if("div-MiddleOnlyContainer"===e.id){const r=$("<div></div>"),n=$('<div>Einzelne Elemente definieren<i class="caret down icon"></i></div>'),i=$("<div></div>");return this._singleCabsCollapsed&&i.addClass("collapsed"),e.controls.forEach(function(e){"number"===e.type&&i.append(t.buildNumber(e,!1)),"button"===e.tag&&i.append(t.buildAction(e.text,e.click,e.label,e.id))}),n.click(function(){i.toggleClass("collapsed"),t._singleCabsCollapsed=!1}),r.append(n),r.append(i),r}}buildAction(e,t,r,n){const i=this,o=$("<div></div>"),s=$('<button class="fluid">'+boe.getValue(e)+"</button>"),a=$("<div>"+boe.getValue(r)+"</div>");return s.click(function(){return Uie(this,void 0,void 0,function*(){yield i.performCommand(t)})}),"button-ArrangeEqually-MiddleOnly"!==n&&o.append(a),o.append(s),o}buildList(e){const t=this,r=$("<div></div>"),n=$("<div>"+boe.getValue(e.label)+"</div>");if(r.append(n),"select-RuleOptimizeBySwitch"===e.id){const n=$('<div style="display: flex"></div>');e.options.forEach(function(r){if("2"===r.value||"3"===r.value){const i=$('<button style="width: 50%; height: 60px"></button>');boe.get(r.text).then(e=>{i.html(e)}),1===r.selected&&i.addClass("selected"),n.append(i),i.click(function(){return Uie(this,void 0,void 0,function*(){e.change.value=r.value,yield t.performCommand(e.change)})})}}),r.append(n)}else{const n=$("<select></select>");e.options.forEach(function(e){const t=$('<option value="'+e.value+'"'+(1===e.selected?"selected":"")+"></option>");boe.get(e.text).then(e=>{t.html(e)}),n.append(t)}),n.change(function(){return Uie(this,void 0,void 0,function*(){const r=$(this);e.change.value=r.val(),yield t.performCommand(e.change)})}),r.append(n)}return r}buildNumber(e,t){const r=this,n=$("<div></div>"),i=$("<div></div>");boe.get(e.label).then(e=>{i.html(e)});const o=$("<div></div>"),s=$('<button class="stepButton">+</button>'),a=$('<button class="stepButton">-</button>'),l=$('<input type="text" class="numberInput">'),c=e["data-attributes"].ValueType,u=e["data-attributes"].step;let d=e.attributes.min,h=e.attributes.max;const p=e.attributes.value,m=e.attributes.disabled;l.attr("id",e.id),l.attr("name",e.name),l.attr("min",d),l.attr("max",h),l.attr("step",u),l.prop("disabled",m);let _="";return _="float"===c?parseFloat(p).toFixed(2):p,l.val(_),l.change(function(){return Uie(this,void 0,void 0,function*(){const t=$(this);let n=0;"float"===c?(n=parseFloat(t.val()),h*=10,d*=10,e.change.value=(10*n).toString()):(n=parseInt(t.val()),e.change.value=n.toString()),e.change.value>h?alert("Maximalwert überschritten"):e.change.value<d&&alert("Minimalwert unterschritten"),yield r.performCommand(e.change)})}),s.click(function(){return Uie(this,void 0,void 0,function*(){const t=e.change,n=u,i=h,o=c;let s=0;s="float"===o?parseFloat(l.val()):parseInt(l.val());const a=s+n;t.value="float"===o?10*a:a,a>i?alert("Maximalwert überschritten"):yield r.performCommand(t)})}),a.click(function(){return Uie(this,void 0,void 0,function*(){const t=e.change,n=u,i=d,o=c;let s=0;s="float"===o?parseFloat(l.val()):parseInt(l.val());const a=s-n;t.value="float"===o?10*a:a,a<i?alert("Minimalwert unterschritten"):yield r.performCommand(t)})}),t&&(l.focus(function(){return Uie(this,void 0,void 0,function*(){const t=e.mouseEnterCommand;yield r.performCommand(t,!1)})}),l.blur(function(){return Uie(this,void 0,void 0,function*(){const t=e.mouseLeaveCommand;yield r.performCommand(t,!1)})})),m&&(s.prop("disabled",!0),a.prop("disabled",!0)),n.append(i),o.append(l),o.append(s),o.append(a),n.append(o),n}buildSlopes(e){const t=this,r=$('<div class="slopeContainer"></div>');return e.forEach(function(e,n){const i=$('<div class="slopeItem"></div>');e.name===t._lastSlope&&i.addClass("selected");const o=$("<img>");o.attr("src","images/wizard-generic/"+e.name+".jpg"),i.click(function(){return Uie(this,void 0,void 0,function*(){t._lastSlope=e.name,$(".slopeItem").removeClass("selected");const r=e.click;yield t.performCommand(r)})}),i.append(o),r.append(i)}),r}buildBoolean(e){const t=this,r=$('<div class="checkBoxContainer"></div>'),n=$('<input type="checkbox" '+(e.checkBoxValue?"checked":"")+">"),i=$("<label></label>");return boe.get(e.checkBoxLabel).then(e=>{i.html(e)}),n.change(function(){return Uie(this,void 0,void 0,function*(){const r=e.commandJson;let n="0";this.checked&&(n="1"),Object.keys(r.webCabParams.Modified).forEach(function(e,t,i){r.webCabParams.Modified[e]=n}),yield t.performCommand(r)})}),r.append(n),r.append(i),r}build(){return this._moduleElement.addClass("module"),this._moduleElement.addClass(this._id),this._moduleElement.addClass("webcab"),this._moduleElement}prepareData(e){}filter(){}refreshTexts(){$(".zMax").text(boe.getValue(this._dimensionsTextMap.get("zMax"))),$(".yMax").text(boe.getValue(this._dimensionsTextMap.get("yMax"))),$(".xMax").text(boe.getValue(this._dimensionsTextMap.get("xMax")))}}const zie=Vie;var Hie=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class Gie extends Qre{constructor(e,t,r,n,i){super(e,t,r,n,i),this._uiData=[],this._moduleElement=$("<div></div>")}static createInstance(e,t,r,n,i){return Hie(this,void 0,void 0,function*(){const o=new Gie(e,t,r,n,i);return yield o.performCommand({webCabCommand:"getUI"}),o})}performCommand(e){return Hie(this,arguments,void 0,function*(e,t=!0){const r=yield Bie.doCommand(e);r.config&&t&&(this._uiData=r.config.containers,this.buildUI()),console.log(e)})}buildUI(){const e=this;e._moduleElement.empty(),this._uiData.forEach(function(t,r){const n=$("<div></div>"),i=$("<h2>"+t.title+"</h2>");n.append(i),t.additionalInfo&&"beforeLabel"===t.additionalInfo&&n.append(e.buildBoolean(t)),t.slopeTypes&&n.append(e.buildSlopes(t.slopeTypes)),t.controls.forEach(function(t){"number"===t.type&&n.append(e.buildNumber(t,!1)),"select"===t.type&&n.append(e.buildList(t)),"checkbox"===t.type&&n.append(e.buildBoolean(t)),t.type||n.append(e.buildGroup(t))}),e._moduleElement.append(n)})}buildGroup(e){const t=this,r=$("<div></div>"),n=$("<div></div>");return n.append(t.buildAction(e.ArrangeEquallyTextId,e.ArrangeEquallyCommand)),r.append(n),r.append(t.buildNumber(e.itemCountInput,!1)),r.append($("<hr>")),e.groupContainer.forEach(function(e){r.append(t.buildNumber(e,!1))}),r}buildAction(e,t){const r=this,n=$("<button>"+e+"</button>");return n.click(function(){return Hie(this,void 0,void 0,function*(){yield r.performCommand(t)})}),n}buildNumber(e,t){const r=this,n=$("<div></div>"),i=$("<div>"+e.label+"</div>"),o=$('<button class="stepButton">+</button>'),s=$('<button class="stepButton">-</button>'),a=$('<input type="text">');a.change(function(){return Hie(this,void 0,void 0,function*(){const t=$(this),n=e.commandJson;"ModifyValues"===n.webCabCommand?Object.keys(n.webCabParams.Modified).forEach(function(e,r,i){n.webCabParams.Modified[e]=(10*t.val()).toString()}):"ModifySingleGroup"===n.webCabCommand?(n.webCabParams.CabCount=t.val(),n.webCabParams.GroupID="0"):"ModifySingleSpace"===n.webCabCommand&&(n.webCabParams.Width=(10*t.val()).toString()),yield r.performCommand(n)})});let l="";return l="float"===e.numberType?parseFloat(e.value).toFixed(2):e.value,a.val(l),n.append(i),n.append(o),n.append(s),n.append(a),n}buildSlopes(e){const t=this,r=$('<div style="display: flex"></div>');return e.forEach(function(e){const n=$("<div></div>"),i=$("<img>");i.attr("src","images/wizard-generic/"+e.name+".jpg"),n.click(function(){return Hie(this,void 0,void 0,function*(){const r=e.commandJson;r.webCabParams.Modified["itemManager.SlopeType"]=r.webCabParams.Modified["itemManager.SlopeType"].replace(/'/g,""),yield t.performCommand(r)})}),n.append(i),r.append(n)}),r}buildBoolean(e){const t=this,r=$("<div></div>"),n=$('<input type="checkbox" '+(e.value?"checked":"")+">"),i=$("<label>"+e.label+"</label>");return n.change(function(){return Hie(this,void 0,void 0,function*(){const r=e.commandJson;let n="0";this.checked&&(n="1"),Object.keys(r.webCabParams.Modified).forEach(function(e,t,i){r.webCabParams.Modified[e]=n}),yield t.performCommand(r)})}),r.append(n),r.append(i),r}buildList(e){const t=this,r=$("<div></div>"),n=$("<select></select>");return Object.keys(e.options).forEach(function(t,r){const i=$('<option value="'+t+'"'+(e.value===t?"selected":"")+">"+e.options[t]+"</option>");n.append(i)}),n.change(function(){return Hie(this,void 0,void 0,function*(){const r=$(this).val(),n=e.commandJson;Object.keys(n.webCabParams.Modified).forEach(function(e,t,i){n.webCabParams.Modified[e]=r}),yield t.performCommand(n)})}),r.append(n),r}build(){return this._moduleElement.addClass("module"),this._moduleElement.addClass(this._id),this._moduleElement.addClass("webcab"),this.buildUI(),this._moduleElement}prepareData(e){}filter(){}refreshTexts(){$(".zMax").text(boe.getValue(this._dimensionsTextMap.get("zMax"))),$(".yMax").text(boe.getValue(this._dimensionsTextMap.get("yMax"))),$(".xMax").text(boe.getValue(this._dimensionsTextMap.get("xMax")))}}const jie=Gie;var Jie=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class Wie extends Qre{constructor(e,t,r,n,i){super(e,t,r,n,i)}static createInstance(e,t,r,n,i){return Jie(this,void 0,void 0,function*(){return new Wie(e,t,r,n,i)})}build(){const e=$("<div></div>");return e.addClass("module"),e.addClass(this._id),e.append(this.buildUI()),e}prepareData(e){}buildUI(){const e=$("<h3>Raumvorlage</h3>");e.css("background-color","#BF9000");const t=$("<div></div>"),r=$("<div></div>"),n=$("<label>A</label>"),i=$("<label>B</label>"),o=$("<label>C</label>"),s=$('<input type="number"/>'),a=$('<input type="number"/>'),l=$('<input type="number"/>');n.append(s),i.append(a),o.append(l),r.append(n),r.append(i),r.append(o);const c=$("<div></div>"),u=$("<div></div>"),d=$("<div></div>"),h=$("<div></div>"),p=$("<div>Rechteck</div>"),m=$("<div>L-Form</div>"),_=$("<div>5eckig</div>"),g=$("<img src='images/wizard-generic/wizard-temp/form1.jpg'>"),f=$("<img src='images/wizard-generic/wizard-temp/form2.jpg'>"),v=$("<img src='images/wizard-generic/wizard-temp/form3.jpg'>");return g.click(function(){ape.BuildWallFromConfiguration({name:"Quadrat",startPos:{x:0,y:0},segments:[{length:1e3,angle:0},{length:1e3,angle:270},{length:1e3,angle:180},{length:1e3,angle:90}]})}),g.css("height","100px"),g.css("width","100px"),f.css("height","100px"),f.css("width","100px"),v.css("height","100px"),v.css("width","100px"),u.append(g),u.append(p),d.append(f),d.append(m),h.append(v),h.append(_),c.append(u),c.append(d),c.append(h),t.append(e),t.append(r),t.append(c),r.css("display","flex"),r.css("flex-direction","column"),t}filter(){}refreshTexts(){}}const Qie=Wie;var qie=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class Yie extends Qre{constructor(e,t,r,n,i){super(e,t,r,n,i)}static createInstance(e,t,r,n,i){return qie(this,void 0,void 0,function*(){return new Yie(e,t,r,n,i)})}build(){const e=$("<div></div>");return e.addClass("module"),e.addClass(this._id),e.append(this.buildUI()),e}prepareData(e){}buildUI(){const e=$("<h3>Türen und Fenster</h3>");e.css("background-color","#BF9000");const t=$("<div></div>"),r=$("<div></div>"),n=$("<div></div>"),i=$("<div></div>"),o=$("<div></div>"),s=$("<div>Normale Tür</div>"),a=$("<div>Normales Fenster</div>"),l=$("<div>Doppeltür</div>"),c=$("<div>Doppelfenster</div>"),u=$("<img src='images/wizard-generic//wizard-temp/door1.gif'>"),d=$("<img src='images/wizard-generic//wizard-temp/door2.gif'>"),h=$("<img src='images/wizard-generic//wizard-temp/door3.gif'>"),p=$("<img src='images/wizard-generic//wizard-temp/door4.gif'>");return u.css("height","100px"),u.css("width","100px"),d.css("height","100px"),d.css("width","100px"),h.css("height","100px"),h.css("width","100px"),p.css("height","100px"),p.css("width","100px"),r.append(u),r.append(s),n.append(d),n.append(a),i.append(h),i.append(l),o.append(p),o.append(c),t.append(e),t.append(r),t.append(n),t.append(i),t.append(o),t.css("display","flex"),t.css("flex-direction","column"),t}filter(){}refreshTexts(){}}const Xie=Yie;var Kie=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class Zie extends Qre{constructor(e,t,r,n,i){super(e,t,r,n,i)}static createInstance(e,t,r,n,i){return Kie(this,void 0,void 0,function*(){return new Zie(e,t,r,n,i)})}build(){const e=$("<div></div>");return e.addClass("module"),e.addClass(this._id),e.append(this.buildUI()),e}prepareData(e){}buildUI(){const e=$("<h3>Raumdesign</h3>");e.css("background-color","#BF9000");const t=$("<div></div>"),r=$("<div></div>"),n=$("<div></div>"),i=$("<div></div>"),o=$("<div></div>"),s=$("<div>Boden 1</div>"),a=$("<div>Boden 2</div>"),l=$("<div>Boden 3</div>"),c=$("<div>Boden 4</div>"),u=$("<img src='images/wizard-generic/wizard-temp/floor1.jpg'>"),d=$("<img src='images/wizard-generic/wizard-temp/floor2.jpg'>"),h=$("<img src='images/wizard-generic/wizard-temp/floor3.jpg'>"),p=$("<img src='images/wizard-generic/wizard-temp/floor5.jpg'>");return u.css("height","100px"),u.css("width","100px"),d.css("height","100px"),d.css("width","100px"),h.css("height","100px"),h.css("width","100px"),p.css("height","100px"),p.css("width","100px"),r.append(u),r.append(s),n.append(d),n.append(a),i.append(h),i.append(l),o.append(p),o.append(c),t.append(e),t.append(r),t.append(n),t.append(i),t.append(o),t.css("display","flex"),t.css("flex-direction","column"),t}filter(){}refreshTexts(){}}const eoe=Zie;var toe=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class roe extends Qre{constructor(e,t,r,n,i){super(e,t,r,n,i)}static createInstance(e,t,r,n,i){return toe(this,void 0,void 0,function*(){return new roe(e,t,r,n,i)})}build(){const e=$("<div></div>");return e.addClass("module"),e.addClass(this._id),e.append(this.buildUI()),e}prepareData(e){}buildUI(){return $("<iframe src='' id='furnplan-kata-tree'></iframe>")}filter(){}refreshTexts(){}onShow(){return toe(this,void 0,void 0,function*(){g_configuration.furnview_old_kata_tree_start_page=this._modConfig.page,yield Qte.updateFurnplanKataTree(this.currentManufacturer,this.currentProgram),yield Qte.buildKataTree(this.currentManufacturer,this.currentProgram),FurnplanKataTreeInterface.postMessage("furnplan.loadKataPage",[this.currentManufacturer,this.currentProgram,this._modConfig.page])})}onHide(){}}const noe=roe;var ioe=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class ooe extends Qre{constructor(e,t,r,n,i){super(e,t,r,n,i)}static createInstance(e,t,r,n,i){return ioe(this,void 0,void 0,function*(){return new ooe(e,t,r,n,i)})}build(){const e=$("<div></div>");e.addClass("module"),e.addClass(this._id),$(".gridContainer").addClass("fpinclude");const t=g_node_url_prefix+"/furnplan/"+this._modConfig.manu+"/"+this._modConfig.prog+"/html/"+this._modConfig.page;return $.ajax({async:!0,type:"GET",url:t}).done(t=>{e.html(t)}),e}prepareData(e){}filter(){}refreshTexts(){}}const soe=ooe;var aoe=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class loe extends Qre{constructor(e,t,r,n,i){super(e,t,r,n,i),this._ptInfoText=[],this._globalTxtData=[],this.textDeckplatteTeilen="",this.textFrameBearbeiten=""}static createInstance(e,t,r,n,i){return aoe(this,void 0,void 0,function*(){const o=new loe(e,t,r,n,i);let s;try{s=yield ape.getInfoTextData(t,r)}catch(e){}s&&s.infotext&&(o._ptInfoText=s.infotext);const a=yield ape.getGlobalTxtData(o._currentManufacturer,g_language);return o._globalTxtData=a.globaltxt,o.textDeckplatteTeilen=yield ape.getText([{TID:"htmlDeckplatteTeilen",GTN:"global-txt",Manu:o.currentManufacturer}]),o.textFrameBearbeiten=yield ape.getText([{TID:"htmlFrameBearbeiten",GTN:"global-txt",Manu:o.currentManufacturer}]),""===o.textDeckplatteTeilen.T?o.textDeckplatteTeilen="htmlDeckplatteTeilen":o.textDeckplatteTeilen=o.textDeckplatteTeilen.T,""===o.textFrameBearbeiten.T?o.textFrameBearbeiten="htmlFrameBearbeiten":o.textFrameBearbeiten=o.textFrameBearbeiten.T,$(window).on("doCollapse",function(e,t){t!==o.id&&o.onCollapse()}),o})}onCollapse(){$(".specialoptions .gw-acc-panel").hide(),$(".specialoptions .gw-acc").removeClass("selected")}build(){const e=$("<div></div>");return e.addClass("module"),e.addClass(this._id),e.append(this.buildSpecial()),e}prepareData(e){}buildSpecial(){const e=this,t=$('<div class="specialoptions"></div>');if(this.ModConfig.options&&this.ModConfig.options.length>0){const r=$('<div class="gw-acc"></div>');r.text(boe.getValue("fv.genericwizard.template_caption.W_SPECIAL"));const n=$('<div class="gw-acc-panel"></div>');n.hide(),r.click(function(){"none"===n.css("display")?(n.show(),$(window).trigger("doCollapse",[e.id])):n.hide(),r.toggleClass("selected")});const i=$('<div class="gw-acc-panel-values"></div>'),o=$('<div class="gw-acc-panel-selection"></div>'),s=$('<div class="gw-acc-panel-value"></div>'),a=$('<div class="gw-acc-panel-value"></div>'),l=$('<div class="gw-acc-panel-selected"></div>'),c=$('<div class="gw-acc-panel-selected"></div>');if(s.click(function(){s.hasClass("selected")||(s.addClass("selected"),a.removeClass("selected"),c.show(),l.hide())}),a.click(function(){a.hasClass("selected")||(a.addClass("selected"),s.removeClass("selected"),l.show(),c.hide())}),this.ModConfig.options.includes("cover_edit")){s.addClass("specialoptions_coveredit"),s.text(e.textDeckplatteTeilen),s.addClass("translateItem");const t=$('<div class="gw-acc-panel-selected-add tooltip"></div>'),r=$('<span class="tooltiptext">'+boe.getValue("fv.genericwizard.tooltip.addArticle")+"</span>");t.append(r);const n=$('<div class="gw-acc-panel-selected-remove tooltip"></div>'),a=$('<span class="tooltiptext">'+boe.getValue("fv.genericwizard.tooltip.removeArticle")+"</span>");n.append(a);const l=$('<div class="gw-acc-panel-selected-info tooltip"></div>'),u=$('<span class="tooltiptext">'+boe.getValue("fv.genericwizard.tooltip.infoArticle")+"</span>");l.append(u),t.click(function(){var e;Yse.InteractionMode!==Pp.LVC&&(Yse.updateSceneAction("lvcmodify"),Yse.InteractionMode=12,null===(e=Yse.SceneAction)||void 0===e||e.begin())}),n.click(function(){var e;Yse.InteractionMode!==Pp.LVC&&(Yse.updateSceneAction("lvcmodify"),Yse.InteractionMode=12,null===(e=Yse.SceneAction)||void 0===e||e.begin())}),l.click(function(){const t=new Tne("Deckplatte_teilen","","","","","","","",e.currentManufacturerHash,""),r=t.getModalTextInfoMarkup(e._ptInfoText,t,e._globalTxtData);r&&r.length>0&&foe.showModalArticleInfo(e.textDeckplatteTeilen,r,t)}),i.append(s),s.addClass("selected");const d=$('<img class="gw-acc-panel-selected-img">'),h=lm.getUrl(e.currentManufacturer,e.currentProgram,"art","split_cover_plate".toLowerCase());d.attr("src",h),c.append(d),c.append(t),c.append(l),c.append(n),o.append(c)}if(this.ModConfig.options.includes("frame_edit")){a.addClass("specialoptions_frameedit"),a.text(e.textFrameBearbeiten),a.addClass("translateItem");const t=$('<div class="gw-acc-panel-selected-add tooltip"></div>'),r=$('<span class="tooltiptext">'+boe.getValue("fv.genericwizard.tooltip.addArticle")+"</span>");t.append(r);const n=$('<div class="gw-acc-panel-selected-remove tooltip"></div>'),s=$('<span class="tooltiptext">'+boe.getValue("fv.genericwizard.tooltip.removeArticle")+"</span>");n.append(s);const c=$('<div class="gw-acc-panel-selected-info tooltip"></div>'),u=$('<span class="tooltiptext">'+boe.getValue("fv.genericwizard.tooltip.infoArticle")+"</span>");c.append(u),t.click(function(){var e;Yse.InteractionMode!==Pp.LVC&&(Yse.updateSceneAction("lvcmodify"),Yse.InteractionMode=12,null===(e=Yse.SceneAction)||void 0===e||e.begin())}),n.click(function(){var e;Yse.InteractionMode!==Pp.LVC&&(Yse.updateSceneAction("lvcmodify"),Yse.InteractionMode=12,null===(e=Yse.SceneAction)||void 0===e||e.begin())}),c.click(function(){const t=new Tne("FRAME_teilen","","","","","","","",e.currentManufacturerHash,""),r=t.getModalTextInfoMarkup(e._ptInfoText,t,e._globalTxtData);r&&r.length>0&&foe.showModalArticleInfo(e.textFrameBearbeiten,r,t)}),i.append(a),l.hide();const d=$('<img class="gw-acc-panel-selected-img">'),h=lm.getUrl(e.currentManufacturer,e.currentProgram,"art","split_frame".toLowerCase());d.attr("src",h),l.append(d),l.append(t),l.append(c),l.append(n),o.append(l)}n.append(i),n.append(o),t.append(r),t.append(n)}return t}filter(){}refreshTexts(){}onShow(){return aoe(this,void 0,void 0,function*(){})}onHide(){}}const coe=loe;var uoe=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class doe{get modules(){return this._modules}getArticleCount(e){let t=0;return e&&this._modules.forEach(r=>{e===r.group&&(t+=r.articles.length)}),t}static createInstance(e,t,r){return uoe(this,arguments,void 0,function*(e,t,r,n=!1){const i=new doe;return yield i.initialize(e,t,r,n),i})}loadKataPage(e,t,r,n){return uoe(this,void 0,void 0,function*(){this._modules=[];const i=yield Fre.getManufacturerList(),o=yield ape.getAccessablePrograms(e,"",!1);if(n){const n=yield ape.getKataPageWizard(r.toLowerCase());let s;for(s=0;s<n.Modules.length;s++){const r=n.Modules[s],a=JSON.parse(r.UserVal);a.prog&&(t=a.prog);const l=i.get(e)?i.get(e).manuHash:"";let c,u="";o.forEach(function(e){e.fromProg.toUpperCase()===t.toUpperCase()&&(u=e.progHash)}),"W_ARTICLE"==r.templ?c=yield Mne.createInstance(r,e,t,l,u):"W_PROPTRANSFER"==r.templ?c=yield Nne.createInstance(r,e,t,l,u):"W_PROGPROPERTIES"==r.templ?c=yield Rie.createInstance(r,e,t,l,u):"W_SPECIAL"==r.templ?c=yield coe.createInstance(r,e,t,l,u):"W_SHOPPINGCART_ARTICLE"==r.templ?c=yield Fie.createInstance(r,e,t,l,u):"W_FITTING"==r.templ?c=new kne(r,e,t,l,u):"W_WEBCAB_CAB"==r.templ?c=yield zie.createInstance(r,e,t,l,u):"W_WEBCAB_FP"==r.templ?c=yield noe.createInstance(r,e,t,l,u):"W_WEBCAB_FP_INC"==r.templ?g_configuration.webui_mode||(c=yield soe.createInstance(r,e,t,l,u)):"W_WEBCAB_SETTINGS"==r.templ?c=yield jie.createInstance(r,e,t,l,u):"ROOM"==r.templ?c=yield Qie.createInstance(r,e,t,l,u):"ROOM_DOOR_WINDOW"==r.templ?c=yield Xie.createInstance(r,e,t,l,u):"ROOM_DESIGN"==r.templ?c=yield eoe.createInstance(r,e,t,l,u):(c=new bne(r,e,t,l,u),c.currentManufacturerHash=l,c.currentProgramHash=u),c&&this._modules.push(c)}}else{const n=yield ape.getKataPage(r.toLowerCase());let s;for(s=0;s<n.Modules.length;s++){const r=n.Modules[s];let a;const l=i.get(e).manuHash;let c="";o.forEach(function(e){e.fromProg.toUpperCase()===t.toUpperCase()&&(c=e.progHash)}),"STANDARD"==r.templ?(a=new bne(r,e,t),a.currentManufacturerHash=l,a.currentProgramHash=c):"ARTPROP"==r.templ?a=yield Sne.createInstance(r,e,t):"ACCESSOIRES"==r.templ&&(a=yield Cne.createInstance(r,e,t)),a.articles.length>0&&this._modules.push(a)}}})}build(e){const t=$("#kataTreeGeneric #katapage"),r=$("#AccessoiresGeneric #katapage");if(t.empty(),e)this._modules.forEach(function(e){const r=$("<div></div>");r.addClass("content"),r.append(e.build()),t.append(r)});else{const e=$("<div></div>");e.addClass("ui accordion"),this._modules.forEach(function(t){if("ACCESSOIRES"===t.template)r.append(t.build());else{const r=$("<div></div>");r.addClass("title");const n=$("<div></div>");n.addClass("dropdown icon"),r.append(n),r.append(t.title),r.appendTo(e);const i=$("<div></div>");i.addClass("content"),i.append(t.build()),i.appendTo(e)}}),t.append(e),e.accordion({exclusive:!1}),e.accordion("open",0)}boe.updateTexts()}initialize(e,t,r,n){return uoe(this,void 0,void 0,function*(){yield this.loadKataPage(e,t,r,n)})}}const hoe=doe;const poe=class{static fillDropDown(e,t,r,n){const i=$("<option></option>").val(e).text(t);n&&i.prop("selected",!0),$("#"+r).append(i)}static renderDropDown(e,t,r,n){const i=$("<option></option>").val("").text(e),o=$("<select></select>").attr("id",r).addClass("ui fluid dropdown").append(i).dropdown({onChange:n});$("#"+t).append(o)}static resetDropDown(e){$(e).empty(),$(e).dropdown("restore placeholder text")}};const moe=new class{constructor(){this._redBoxes=null,this._redBoxes={},this._listeners=new Map,this._listeners.set("add",[]),this._listeners.set("remove",[])}checkRedBox(e){if(e){if(e===aae.world)return!0;this.checkRedBox(e.parent)}return!1}dispatchEventListener(e,t,r){this._listeners.has(e)&&this._listeners.get(e).forEach(e=>{e&&e(t,r)})}getTextSprites(e){let t="";return e.traverse(e=>{e instanceof AI&&(t=e.Text)}),t}addEventListener(e,t){if(this._listeners.has(e)){const r=this._listeners.get(e);-1===r.indexOf(t)&&r.push(t)}}removeEventListener(e,t){if(this._listeners.has(e)){const r=this._listeners.get(e),n=r.indexOf(t);-1!==n&&r.splice(n,1)}}remove(e){this._redBoxes[e.instanceIdent]&&(delete this._redBoxes[e.instanceIdent],this.dispatchEventListener("remove",e.instanceIdent,""))}add(e){if(e&&e instanceof Dme&&30013===e.typeInfo){const t=this.getTextSprites(e);this._redBoxes[e.instanceIdent]={instance:e,text:t},$le.contains(e.parent)||1===lae.CountPO()&&!Bde.IsFurnplanMode?moe.toggleTextByInstanceID(e.instanceIdent,!0):moe.toggleTextByInstanceID(e.instanceIdent,!1),this.dispatchEventListener("add",e.instanceIdent,t)}}get(e=-1){const t=this._redBoxes[e];return t&&t.instance?t.instance:null}getText(e){const t=this._redBoxes[e];return t&&t.instance?t.text:null}getTextMap(){const e=Object.keys(this._redBoxes),t=new Map;for(let r=0;r<e.length;r++){const n=this._redBoxes[e[r]];this.checkRedBox(n.instance)?t.set(e[r],n.text):this.remove(this._redBoxes[e[r]].instance)}return t}toggleTextByInstanceID(e,t=!1){if(t&&!Bde.EnabledRedBoxTextOnSelection)return;if(!e||isNaN(e))return;const r=this.get(e);r?r.traverse(e=>{e instanceof AI&&(e.visible=t)}):-1===e&&Object.values(this._redBoxes).forEach(e=>{e.instance.traverse(e=>{e instanceof AI&&(e.visible=t)})})}toggleTextByLO(e,t=!1){t&&!Bde.EnabledRedBoxTextOnSelection||e&&e instanceof Dme&&e.traverse(e=>{const r=this.get(e.instanceIdent);r&&r.traverse(e=>{e instanceof AI&&(e.visible=t)})})}searchByObject(e){let t=null;return e&&e instanceof Dme&&e.traverse(e=>{if(t)return;this.get(e.instanceIdent)&&(t=e.instanceIdent)}),t}};var _oe=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class goe{constructor(){this.onChangeManufacturer=this.onChangeManufacturer.bind(this),this.onChangeProgGroup=this.onChangeProgGroup.bind(this),this.onChangeProg=this.onChangeProg.bind(this),this.onChangeKataTree=this.onChangeKataTree.bind(this)}get isDragging(){return this._isDragging}set isDragging(e){this._isDragging=e}get WithoutGenericProperties(){return this._withoutGenericProperties}set WithoutGenericProperties(e){this._withoutGenericProperties=e}get kataPage(){return this._kataPage}get definedProgGroups(){return this._definedProgGroups}get definedCategories(){return this._definedCategories}get definedKataPages(){return this._definedKataPages}get definedSubKataPages(){return this._definedSubKataPages}get currentProgGroup(){return this._currentProgGroup}get modalArticleInfo(){return this._modalArticleInfo}set modalArticleInfo(e){this._modalArticleInfo=e}static hideSteps(){$(".wizardPanel").hide()}static openStep(e){goe.hideSteps(),$("#"+e).show()}initializeWizard(){return _oe(this,void 0,void 0,function*(){const e=this;$(".gridPanel").addClass(g_configuration.generic_wizard_template),g_configuration.webui_mode&&($(".gridPanel").addClass("webui"),$(".gridContainer").addClass("webui")),g_configuration.panel_right_none_full_height&&$(".gridPanel").addClass("none-fluid-catalog-height");const t=yield ape.getManuCategories(window.g_article.manu),r=yield ape.getCategories();if(this._definedProgGroups=Jre.getSectionList(r),g_configuration.enable_only_manu_cats)t&&(e._definedCategories=Jre.getCategoryList(t,!0));else if(this._definedCategories=Jre.getCategoryList(r),t){Jre.getCategoryList(t,!0).forEach(function(t,r){e._definedCategories.set(r,t)})}this._definedKataPages=Jre.getKataPages(this._definedCategories),this._definedSubKataPages=Jre.getSubKataPages(this._definedCategories);const n=$("#genericWizardHeader"),i=$("#genericWizardSteps"),o=$("#genericWizardMainCatalog");this._modalArticleInfo=$("#gwModalArticleInfo"),this._modalRedBoxInfo=$("#gwModalRedBoxInfo"),$("#gwModalArticleInfoClose").click(function(){$("#gwModalArticleInfo").hide()}),$(".btnCancel").click(function(){$("#gwModalArticleInfo").hide()}),$(".btnUndo").click(function(){return _oe(this,void 0,void 0,function*(){yield ape.undoDhp(),e._modalRedBoxInfo.hide()})}),$(".btnSelect").click(function(){$("#gwModalArticleInfo").hide();const e=[];return e[0]={command:"getPropTransferExchangeData"},e[1]=$(this).attr("ptid"),cse.switch(e).then(function(e){return e})}),$("#openPDF").click(function(){fme.print()}),$(".gridHeaderActions").click(function(){return _oe(this,void 0,void 0,function*(){goe.openStep("configurationModule")})}),$("#containerAssemblyServiceToggle").click(function(e){return _oe(this,void 0,void 0,function*(){let t="0";e.target.checked&&(t="1"),ape.dhTodo(["3",{manu:window.g_article.manu,kataManu:window.g_article.manu,params:["64","0","7900859","L",t]}])})}),$("#shareLink").click(function(){return _oe(this,void 0,void 0,function*(){JM.show()})}),$("#transferCart").click(()=>this.addToCart()),yield ape.setManuProg(window.g_article.manu,window.g_article.prog,window.g_article.manu),this._kataPage=yield hoe.createInstance(window.g_article.manu,window.g_article.prog,g_configuration.input_start_kata_page,!0);const s=[],a=yield ape.getText([{TID:"htmlAssemblyService",GTN:"",Manu:this._currentManufacturer}]);$("#lblAssemblyService").text(a.T);const l=boe.getValue("fv.genericwizard.your_configuration").toUpperCase();$(".headerContainer").text(l);for(let t=0;t<this._kataPage.modules.length;t++){const r=this._kataPage.modules[t],n=t,a=yield ape.getText([{TID:r.group,GTN:"",Manu:this._currentManufacturer}]);if(s.indexOf(r.group)<0){s.push(r.group);const t=$("<div></div>"),l=$('<a class="stepTitle" href="#">'+a.T+"</a>");0===n&&l.addClass("active"),l.attr("id","nav"+r.step),t.append(l),t.attr("data-step",r.step),t.attr("data-step-group",r.group),l.attr("data-step",r.step),l.attr("data-step-group",r.group),l.click(e.onChangeStep),i.append(t),r.ModConfig.useUnGeneric&&(this._withoutGenericProperties=!0);let c=$("#"+r.step);if(!c||c&&0===c.length)c=$("<div></div>"),c.attr("id",r.step),c.addClass("wizardPanel"),n>0&&c.hide(),c.append(r.build()),c.data("module",r),o.append(c);else{let e=[];const t=c.data("module");Array.isArray(t)?e=e.concat(t):t instanceof Qre&&e.push(t),e.push(r),c.data("module",e)}}else{const e=$("#nav"+r.step);e.text(a.T),e.attr("data-i18n-concat","fv.genericwizard.template_caption."+r.template),$("#"+r.step).append(r.build())}}n.append(i),$(".wizardSplashScreen").hide(),this._kataPage.modules.forEach(function(t,r){if("W_ARTICLE"===t.template){t.filterArticles(void 0),moe.addEventListener("add",(t,r)=>{Bde.DisableRedBoxInfoModal||(e._modalRedBoxInfo.children().children(".content").empty(),e._modalRedBoxInfo.children().children(".content").append(r),e._modalRedBoxInfo.show())})}if("W_PROGPROPERTIES"===t.template){t.filter()}}),yield boe.updateTexts()})}showModalArticleInfo(e,t,r){this._modalArticleInfo.show(),this._modalArticleInfo.children().children("h2").text(e),this._modalArticleInfo.children().children(".content").empty(),this._modalArticleInfo.children().children(".content").append(t);const n=$(".btnSelect");r instanceof Tne?("Deckplatte_teilen"===r.id?n.hide():n.show(),n.attr("ptid",r.id)):n.hide()}onChangeStep(){return _oe(this,void 0,void 0,function*(){$(window).trigger("doProgPropertyFilter"),$(".stepTitle").removeClass("active"),$(this).addClass("active");const e=$(".wizardPanel:visible");if(e&&e.length>0){e.hide();const t=e=>{e&&e.onHide&&e.onHide()};for(let r=0;r<e.length;r++){const n=$(e[r]).data("module");Array.isArray(n)?n.forEach(e=>{t(e)}):n instanceof Qre&&t(n)}}let t=$(this).attr("data-step"),r=$(this).attr("data-step-group");(t.includes("_step4")||r.includes("_step4"))&&(t="configurationModule",r="configurationModule");const n=$("#"+t);n.show();const i=n.data("module");if(Array.isArray(i)){for(let e=0;e<i.length;e++)if(i[e].group===r&&i[e].onShow){i[e].onShow();break}}else i&&i.onShow&&i.onShow();i&&(i.hideFront?Bde.ShowFront=!1:Bde.ShowFront=!0,yield $le.clear(),i.selectionFilter?(Bde.SelectionFilter=i.selectionFilter,ape.setSelectionFilter(i.selectionFilter,"","")):ape.setSelectionFilter()),$("#ncsContainer").hide(),$("#sikkensContainer").hide(),$("#genericWizardMainCatalog").show(),aae.ChangeFrontState(Bde.ShowFront)})}initialize(e){return _oe(this,void 0,void 0,function*(){const t=yield ape.getCategories();this._withoutGenericProperties=!1,this._gcShowControlManufacturer=g_configuration.panel_right_show_manufacturer_selection,this._gcShowControlProgGroups=g_configuration.panel_right_show_proggroup_selection,this._gcShowControlProg=g_configuration.panel_right_show_program_selection,this._gcShowControlPhotos=g_configuration.panel_right_show_programimages_selection,this._gcSelectedManufacturer=window.g_article.manu,this._gcSelectedProgGroup=g_configuration.selectedProgGroup,this._gcSelectedProg=window.g_article.prog,this._gcSelectedArticle=g_configuration.selectedArticle,this._definedProgGroups=Jre.getSectionList(t),this._definedCategories=Jre.getCategoryList(t),this._definedKataPages=Jre.getKataPages(this._definedCategories),this._definedSubKataPages=Jre.getSubKataPages(this._definedCategories);yield Fre.getManufacturerList();e||(poe.renderDropDown(boe.getValue("fv.generickatatree.program"),"prog","progSelect",this.onChangeProg),yield this.onChangeManufacturer(window.g_article.manu,"",""))})}onChangeManufacturer(e,t,r){return _oe(this,void 0,void 0,function*(){const t=this;this._currentManufacturer=e,this._currentProg=void 0,this._currentProgGroup=void 0;let r=new Map,n=new Map,i=new Map;this._definedCategories.forEach(function(e,r,n){e.isCatManuDefined&&t._definedCategories.delete(r)}),this._definedKataPages.forEach(function(e,r,n){e.isCatManuDefined&&t._definedKataPages.delete(r)}),this._definedSubKataPages.forEach(function(e,r,n){e.isCatManuDefined&&t._definedSubKataPages.delete(r)});const o=yield ape.getManuCategories(this._currentManufacturer);o?(r=Jre.getCategoryList(o,!0),n=Jre.getKataPages(r),i=Jre.getSubKataPages(r)):(r=void 0,n=void 0,i=void 0),r&&r.forEach(function(e,r,n){t._definedCategories.set(r,e)}),n&&n.forEach(function(e,r,n){t._definedKataPages.set(r,e)}),i&&i.forEach(function(e,r,n){t._definedSubKataPages.set(r,e)}),$("#katapage").empty(),$("#progGroup").empty(),poe.resetDropDown("#progSelect"),poe.resetDropDown("#katatreeSelect"),this._currentManuProgList=yield ape.getAccessablePrograms(this._currentManufacturer,"",!0);const s=yield ape.GetProgGroups([this._currentManufacturer]);if($("#level").empty(),s.length>0){poe.renderDropDown(boe.getValue("fv.generickatatree.collection"),"progGroup","progGroupSelect",this.onChangeProgGroup);for(let e=0;e<s.length;e++){const t=yield ape.getText([{TID:s[e][0],GTN:"",Manu:this._currentManufacturer}]);poe.fillDropDown(s[e][0],t.T,"progGroupSelect",!1)}}else poe.fillDropDown("",boe.getValue("fv.generickatatree.program"),"progSelect",!1),this._currentManuProgList.forEach(function(e){poe.fillDropDown(e.name,e.text,"progSelect",!1)})})}onChangeProgGroup(e,t,r){return _oe(this,void 0,void 0,function*(){const t=this;this._currentProgGroup=e,this._currentProg=void 0,$("#katapage").empty(),poe.resetDropDown("#progSelect"),poe.resetDropDown("#katatreeSelect"),poe.fillDropDown("",boe.getValue("fv.generickatatree.program"),"progSelect",!1);(yield ape.GetProgsByGroup([this._currentManufacturer,e])).forEach(function(e){let r="",n="";t._currentManuProgList.forEach(function(t){t.progHash===e[0]&&(n=t.text,r=t.name)}),poe.fillDropDown(r,n,"progSelect",!1)})})}onChangeProg(e){this._currentProg=e,$("#katapage").empty(),poe.resetDropDown("#katatreeSelect"),this.loadKataTree()}onChangeKataTree(e,t,r){return _oe(this,void 0,void 0,function*(){yield ape.setManuProg(this._currentManufacturer,this._currentProg,this._currentManufacturer),this._kataPage=yield hoe.createInstance(this._currentManufacturer,this._currentProg,e),console.log("Load KataPage: "+e),this._kataPage.build(!1)})}openKataPage(e){return _oe(this,void 0,void 0,function*(){yield ape.setManuProg(this._gcSelectedManufacturer,this._gcSelectedProg,this._gcSelectedManufacturer),this._kataPage=yield hoe.createInstance(this._gcSelectedManufacturer,this._gcSelectedProg,e),console.log("Load KataPage: "+e),this._kataPage.build(!0)})}loadKataTree(){return _oe(this,void 0,void 0,function*(){console.log("Load KataTree: "+this._currentManufacturer+" >> "+this._currentProg+" >> "+this._currentProgGroup);const e=this;$("#katatree").empty(),poe.renderDropDown(boe.getValue("fv.generickatatree.catalog"),"katatree","katatreeSelect",this.onChangeKataTree),poe.fillDropDown("",boe.getValue("fv.generickatatree.catalog"),"katatreeSelect",!1),this._currentProgGroup||(this._currentProgGroup="");const t=new Map,r=yield ape.getDistinctArticleCategoriesManuProg(this._currentManufacturer,this._currentProg,this._currentProgGroup);r.forEach(function(r){const n=r[0];if(e._definedKataPages.has(n)){const r=e.definedCategories.get(n);t.set(r.id,JSON.parse(JSON.stringify(r)))}}),r.forEach(function(r){const n=r[0];if(e._definedSubKataPages.has(n)){const n=e.definedCategories.get(r[0]),i=n.id,o=n.parentId;if(!t.has(o)){const r=e.definedCategories.get(i);t.set(r.id,JSON.parse(JSON.stringify(r)))}}}),t.forEach(function(e,t){poe.fillDropDown(t.replace("dhcat_",""),boe.getValue(e._languageKey),"katatreeSelect",!1)});+(yield ape.getArtPropCountByProg(this._currentManufacturer,this._currentProg))[0]>0&&poe.fillDropDown("equipment",boe.getValue("fv.generickatatree.zubehoer"),"katatreeSelect",!1)})}translate(){return _oe(this,void 0,void 0,function*(){$("#linkBack").text(boe.getValue("fv.genericwizard.back_to")+g_configuration.generic_wizard_linkback_url.replace("https://www.",""))})}addToCart(){return _oe(this,void 0,void 0,function*(){$(".wizardSplashScreen").show();const e=[];g_configuration.webshopApi.parameters.forEach(t=>{const r=new URL(window.location.toString()).searchParams.get(t)||"";r.length>0&&e.push({parameter:t,value:r})}),yield ape.savePrintImageColor();const t=yield ape.addToShoppingCart(e);$(".wizardSplashScreen").hide();try{"function"==typeof window.onWebShopCallback&&window.onWebShopCallback(...t)}catch(e){console.error("Unable to call custom shopping cart handler")}})}}const foe=new goe;var voe=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};const boe=new class{constructor(){this._languages=[],this._languageData={},this._lastLanguage="en",this._url="/lang/set-language",this.getValue=(e,t)=>this._languageData[this._lastLanguage]&&this._languageData[this._lastLanguage][e]?this._languageData[this._lastLanguage][e]:t=t||e,this._languageDefer=Om()}getLanguages(e){return voe(this,void 0,void 0,function*(){if(!e){const e=yield ape.getManuLanguages(window.g_article.manu);this._languages=e.languages.map(e=>({langCode:e.key,name:e.label}))}return this._languages})}setLanguage(e){return voe(this,void 0,void 0,function*(){const t=document.querySelector("#langFlag");return t&&(t.classList.remove("de","en","nl","fr"),t.classList.add(e)),g_language=e,this.load(g_language).then(t=>voe(this,void 0,void 0,function*(){return t?(this.updateTexts(),ape.setLanguage(g_language),yield Qte.buildKataTree()):"en"!==e?this.setLanguage("en"):void 0}))})}get(e,t){return voe(this,void 0,void 0,function*(){return yield this._languageDefer,t=t||e,this._languageData&&this._languageData[this._lastLanguage]&&this._languageData[this._lastLanguage][e]?this._languageData[this._lastLanguage][e]:t})}getForNode(e){return voe(this,arguments,void 0,function*(e,t="data-i18n"){const r=t.endsWith("-title");let n=yield this.get(e.getAttribute(t),e.textContent);const i=e.getAttribute(t+"-concat");i&&(n+=" & "+(yield this.get(i))),e instanceof HTMLInputElement?e.setAttribute("placeholder",n):r?e.setAttribute("title",n):e.innerHTML=n})}getForNodes(e){return voe(this,arguments,void 0,function*(e,t="data-i18n"){yield this._languageDefer;for(let r=0;r<e.length;r++){const n=e[r];this.getForNode(n,t)}})}updateTexts(){return voe(this,void 0,void 0,function*(){this._languageData[this._lastLanguage]||(yield this._languageDefer,this._languageDefer=Om(),this.load(this._lastLanguage)),yield this._languageDefer,Nhe.updateLanguageTexts(),yield ape.buildProperties(),Gre.updateLanguageTexts();const e=$("#selectIdmType > option");for(let t=0;t<e.length;t++)e[t].dataset.key&&""!==e[t].dataset.key&&(e[t].innerHTML=yield this.get(e[t].dataset.key));yield this.getForNodes(document.querySelectorAll("[data-i18n]")),yield this.getForNodes(document.querySelectorAll("[data-i18n-title]"),"data-i18n-title"),yield foe.translate()})}requestCustomTexts(e){return voe(this,void 0,void 0,function*(){try{const t=new URL(`${window.origin}/webui/t/layout_1/locales/${e}.json`);t.searchParams.set("token",window.g_token),t.searchParams.set("lang",e),t.searchParams.set("session",window.g_sessionId);return(yield fetch(t)).json()}catch(e){return console.error("Unable to request custom dealer texts: ",e),{}}})}load(e){return voe(this,void 0,void 0,function*(){if(e=e||"en",!this._languageData[e]||e!==this._lastLanguage){this._lastLanguage=e;try{this._languageData[this._lastLanguage]=yield $.ajax({method:"POST",url:this._url,dataType:"json",data:JSON.stringify({local:this._lastLanguage}),contentType:"application/json"})}catch(e){return console.error("Unable to get language data: "+e),this._languageDefer.resolve(),!1}}return this.requestCustomTexts(e).then(e=>{this._languageData[this._lastLanguage]=Object.assign(Object.assign({},this._languageData[this._lastLanguage]),e),this._languageDefer.resolve()}).catch(()=>{this._languageDefer.resolve()}),!0})}getDictionary(e){return voe(this,void 0,void 0,function*(){return yield this._languageDefer,this._languageData[e]||{}})}};window.LocalesModel=boe;class yoe{constructor(e,t,r){if(this.handler=null,this.htmlElement=null,this.program=null,this.handler=e,this.program=t,e.CheckExclusion&&t.IsGlobalExcluded)return null;if(this.handler){const e=$("<div></div>").attr("class","label");Bde.ViewerMode===Ip.Customer?boe.get("fv.right.panel.progproperty.homeviewer.default").then(t=>{e.text(t+" "+(+r+1))}):e.text(this.program.ProgramLongName||this.program.ProgramName),this.htmlElement=$("<div></div>").attr("class","property-hierarchy property-button program").append(e).on("vclick",e=>{this.onClick(e,r)})}}getHtmlElement(){return this.htmlElement}onClick(e,t){e.preventDefault(),this.handler.navigateTo(t)}}class $oe{constructor(e,t,r){if(this.htmlElement=null,this.handler=null,this.handler=e,e.CheckExclusion&&t.IsGlobalExcluded)return null;if(this.handler){const e=$("<img />").attr("src",lm.getUrl(t.ManufacturerHash,"","logo","_logo.gif",!0)),n=$("<div></div>").attr("class","image-container").append(e);this.htmlElement=$("<div></div>").attr("class","property-hierarchy property-button manufacturer").append(n).on("vclick",e=>{this.onClick(e,r)})}}getHtmlElement(){return this.htmlElement}onClick(e,t){e.preventDefault(),this.handler.navigateTo(t)}}class xoe extends HTMLElement{constructor(){super()}connectedCallback(){this.classList.add("property-hierarchy","property-row")}}xoe.tagName="fv-property-row",window.customElements.define("fv-property-row",xoe);class Soe{constructor(){this.parentPage=null,this.htmlElement=null,this.buttons=[],this.parentPage=null,this.htmlElement=$("<div></div>").attr("class","property-page hide")}get Count(){return this.buttons.length}add(e){this.buttons.push(e),e instanceof xoe?this.htmlElement.append(e):this.htmlElement.append(e.getHtmlElement())}getHtmlElement(){return this.htmlElement}clear(){this.buttons.forEach(e=>{e instanceof xoe||e.dispose&&e.dispose()}),this.buttons=[],this.htmlElement.empty()}show(){this.htmlElement.removeClass("hide")}hide(){this.htmlElement.addClass("hide")}}class woe{constructor(){this.propertyMap={},this.currentModel=null,this.lastType="",this.lastModel=null,this.sortedRelevance=[],this.highestModel=null,this.checkExclusion=!1,this.mainPage=null,this.revision=0,this.uiElements={root:null,infoMessage:$("<div></div>").addClass("ui label orange large dhmc-hidden"),containerTree:$("<div></div>").addClass("propertyContainer property-hierarchy"),containerTop:$("<div></div>").addClass("top-header dhmc-hidden"),containerRoot:$("<div></div>").addClass("propertyContainerList")},this.propertyBackButton=null,this.propertyBackButton=new zI(this),Bde.HasShowProperties&&this.uiElements.containerTree.append(this.uiElements.infoMessage),this.uiElements.containerTree.append(this.uiElements.containerTop),this.uiElements.containerTree.append(this.uiElements.containerRoot),this.uiElements.containerTop.prepend(this.propertyBackButton.getHtmlElement()),this.mainPage=new Soe}get Root(){return this.uiElements.root}get HasRenderRootContainer(){return!!this.uiElements.root}get CheckExclusion(){return this.checkExclusion}set CheckExclusion(e){this.checkExclusion=e}hide(e){e!==this&&(this.mainPage&&this.mainPage.hide(),this.uiElements.containerRoot.hide())}show(e){e!==this&&(this.mainPage&&this.mainPage.show(),this.uiElements.containerRoot.show())}getRelevantModel(e,t,r,n){let i=this.relevantData;return e&&(i=i.getManufacturer(e),t&&i&&i.Children.length>0&&(i=i.getProgram(t),r&&i&&i.Children.length>0&&(i=i.getProperty(r),n&&i&&i.Children.length>0&&(i=i.getValue(n))))),i}build(e,t=!1){const r=Phe.TimeLine.AddTimer("PropertyContainer.build");if(e){if(this.relevantData=e,!(e instanceof Jne)&&0===Object.keys(e).length||e instanceof Jne&&0===e.Children.length)return this.uiElements.containerRoot.empty(),this.mainPage.clear(),this.mainPage.hide(),this.checkGrandSiblings(),!1}else t||(this.lastModel=null,this.lastType="");this.relevantData&&(this.highestModel=jne.getHighestModel(this.relevantData,this.lastType,this.lastModel),this.highestModel&&"property"===this.highestModel.type&&1===this.highestModel.Children.length&&fme.InteriorPropertyContainer.HasInteriorProperties&&(this.highestModel=this.highestModel.Parent),this.currentModel=this.highestModel,this.render()),this.checkRelevantData(this.relevantData),Phe.TimeLine.EndTimer(r)}getPrograms(e){if(e.length>1?e.forEach((e,t)=>{this.relevantData.getManufacturer(e.ManufacturerName)&&this.relevantData.getManufacturer(e.ManufacturerName).Children.forEach(e=>{const r=new yoe(this,e,t);this.mainPage.add(r)})}):this.currentModel=e[0],this.currentModel instanceof Hne)if(1===this.currentModel.Children.length)this.currentModel=this.currentModel.Children[0],this.sortProperties(),this.filterProperties(),this.createProperties();else{const e=this.relevantData.getManufacturer(this.currentModel.ManufacturerName).Children;e.forEach((t,r)=>{const n=this.getRelevantModel(this.currentModel.ManufacturerName,t.ProgramName),i=this.currentModel.Children.findIndex(e=>e.ProgramName===t.ProgramName);if(n){const t=n;if(e.length>1){const e=new yoe(this,t,i);this.mainPage.add(e)}else 1===e.length&&(this.currentModel=t,this.render())}})}this.checkGrandSiblings()}sortProperties(){var e;const t=this.currentModel,r=t.ManufacturerName,n=t.ProgramName,i=null===(e=this.relevantData.getManufacturer(r))||void 0===e?void 0:e.getProgram(n),o=null==i?void 0:i.Children;this.sortedRelevance=o.map(e=>e.Key);const s=g_configuration.propertyOrderLists;Rre.getOrderList("properties")?this.sortedRelevance=jne.sortProperties(this.sortedRelevance,i,i.Keys):s&&this.sortedRelevance.sort((e,t)=>{const r=i.getProperty(e),n=i.getProperty(t),o=`${r.ManufacturerName}_${r.ProgramName}_${r.ID}`,a=`${n.ManufacturerName}_${n.ProgramName}_${n.ID}`;let l="",c="";if(s&&s.length){const e=s.filter(e=>e.key===o)[0],t=s.filter(e=>e.key===a)[0];l=e?e.order:"999999999",c=t?t.order:"999999999"}return l-c})}filterProperties(){var e;const t=this.currentModel;this.propertyMap={};const r=t.ManufacturerName,n=t.ProgramName,i=null===(e=this.relevantData.getManufacturer(r))||void 0===e?void 0:e.getProgram(n);return this.sortedRelevance.forEach((e,t)=>{const r=i.getProperty(e);r&&(this.propertyMap[t]=r)}),this.propertyMap}createProperties(){this.propertyMap=this.propertyMap||{};let e;if(Object.keys(this.propertyMap).forEach(t=>{const r=this.propertyMap[t],n=new rre(this,r,t),i=r.Children;if(g_configuration.show_disabled_property_button||i&&i.length>1){if((g_configuration.enable_property_row&&!e||e&&2==e.children.length)&&(e=document.createElement("fv-property-row")),e){let t=n.getHtmlElement();t&&(t.length&&t.length>0&&(t=t[0]),e.appendChild(t))}this.uiElements.containerRoot&&e||n.getHtmlElement()?this.uiElements.containerRoot.append(e||n.getHtmlElement()):this.mainPage.add(e||n)}}),e&&1===e.children.length){const t=document.createElement("div");t.classList.add("property-hierarchy","dummy"),e.appendChild(t)}}sortPropertyValues(){const e=this.currentModel;e.ManufacturerName,e.ProgramName;this.sortedRelevance=e.Children.map(e=>e.ValueKey)}filterPropertyValues(){const e=this.currentModel;return this.propertyMap={},this.sortedRelevance.forEach((t,r)=>{const n=e.getValue(t);n&&(this.propertyMap[r]=n)}),this.propertyMap}createPropertyValues(){this.propertyMap=this.propertyMap||{};const e=Object.keys(this.propertyMap);let t;if(fme.InteriorPropertyContainer.onShowPropertyValues(this),this.uiElements.containerTree.removeClass("active"),e.forEach(e=>{const r=this.propertyMap[e],n=new ere(this,r);(g_configuration.enable_property_row&&!t||t&&2==t.children.length)&&(t=document.createElement("fv-property-row")),t&&t.appendChild(n.getHtmlElement()[0]),this.mainPage.add(t||n)}),t&&1===t.children.length){const e=document.createElement("div");e.classList.add("property-hierarchy","dummy"),t.appendChild(e)}$(".propertyContainer.active").each((e,t)=>{const r=$(t);r.removeClass("active"),r.find(".top-header > .back-button").trigger("vclick")}),this.uiElements.containerTree.addClass("active")}checkGrandSiblings(){jne.modelHasGrandSiblings(this.currentModel)?this.propertyBackButton.show():this.propertyBackButton.hide()}renderTo(e,t){t&&(this.uiElements.root&&this.uiElements.root.empty(),this.uiElements.root=e,this.uiElements.root&&this.uiElements.containerTree.appendTo(this.uiElements.root)),this.uiElements.containerTree.appendTo(e)}render(){if(!this.currentModel)return!1;if(this.lastType=this.currentModel.Type,this.uiElements.containerRoot.empty(),this.mainPage.clear(),this.mainPage.hide(),"hierarchy"===this.currentModel.type){this.uiElements.containerTree.removeClass("active");const e=this.currentModel.Children.filter(e=>"manufacturer"===e.Type);Bde.ViewerMode===Ip.Customer||1===e.length?(this.propertyBackButton.hide(),this.getPrograms(e),this.uiElements.containerTree.removeClass("active")):(e.forEach((e,t)=>{if(this.relevantData[e.ManufacturerName]){const r=new $oe(this,e,t);this.mainPage.add(r)}}),this.propertyBackButton.hide())}else"manufacturer"===this.currentModel.type?(this.uiElements.containerTree.removeClass("active"),Bde.ViewerMode===Ip.Customer?(this.propertyBackButton.hide(),this.getPrograms([this.currentModel])):this.getPrograms([this.currentModel])):"program"===this.currentModel.type?(this.uiElements.containerTree.removeClass("active"),this.sortProperties(),this.filterProperties(),this.createProperties(),this.checkGrandSiblings()):"property"===this.currentModel.type&&(this.sortPropertyValues(),this.filterPropertyValues(),this.createPropertyValues(),this.checkGrandSiblings());this.uiElements.containerRoot.append(this.mainPage.getHtmlElement()),this.mainPage.show(),this.lastModel=this.currentModel}navigateTo(e){if(!this.currentModel)return;const t=this.currentModel;let r=!1;return t instanceof Jne&&(r=!0),this.currentModel=t instanceof zne?this.propertyMap[e]:this.currentModel.Children[e],r&&1===this.currentModel.Children.length&&(this.currentModel=this.currentModel.Children[0],this.sortProperties(),this.filterProperties()),this.render(),this.currentModel}navigateBack(){if(this.currentModel)return Bde.ViewerMode===Ip.Customer&&"property"!==this.currentModel.Type?this.currentModel=this.currentModel.Parent.Parent:"manufacturer"===this.currentModel.Type?this.currentModel=this.currentModel.Parent:"program"===this.currentModel.Type?(this.currentModel=this.currentModel.Parent,1===this.currentModel.Children.length&&(this.currentModel=this.currentModel.Parent)):"property"===this.currentModel.Type&&(fme.InteriorPropertyContainer.onHidePropertyValues(this),this.currentModel=this.currentModel.Parent),this.render(),this.currentModel}highlightCompatibleProperties(e){this.uiElements.containerRoot.children(".property-button.property").each(function(){const t=$(this).data("dhmc-property");if(t!==e){t.Children.some(t=>t.Key===e.CurrentValue.Key)?$(this).addClass("droppable"):$(this).addClass("not-droppable")}})}unhighlightProperties(){this.uiElements.containerRoot.find(".property-button.property").removeClass("droppable over not-droppable")}setPropertyValue(e,t,r){if(!t.Parent.Children.some(function(t){return t.Key===e.Key}))return;const n=e.Parent.Parent.Parent.ManufacturerName,i=e.Parent.Parent.ProgramName,o=t.Parent.ID,s=e.ValueKey,a=e.Key,l={manufacturer:n.toLowerCase(),program:i.toLowerCase(),key:o,value:a,property:a,propertyKey:s,index:e.Index,level:1},c=1===$le.Count&&$le.All[0].parent!==aae.world;return ape.modifyProperty([l],{modifyElement:c,modifyColorPicker:r})}checkRelevantData(e){e&&0!==Object.keys(e).length?fme.PropertyContainer.setMessage(Hp.NONE):(fme.PropertyContainer.setMessage(Hp.PROPERTIES_NOTFOUND),Bde.SingleSelectionEnabled&&0===$le.objects.length&&lae.CountPO()>0&&fme.PropertyContainer.setMessage(Hp.PLEASE_SELECT_ELEMENT))}setMessage(e){if(Bde.InteriorPropertiesEnabled)return fme.InteriorPropertyContainer.setMessage(e);e===Hp.NONE?this.uiElements.infoMessage.addClass("dhmc-hidden"):(this.uiElements.infoMessage.removeClass("dhmc-hidden"),this.uiElements.infoMessage.text(boe.getValue(e)))}}var Aoe=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};const Coe=new class{constructor(){this.propertyContainerCache={},this.currentGlobalRelevant={},this.refreshPromise=Promise.resolve()}removeExcludedProperties(e){return Object.assign({},e)}loadProgram(e){if(!e.manufacturer||!e.program||"_global"===e.manufacturer)return Yne.get({inUse:e.inUse,contextIds:[],ignoreAccess:e.ignoreAccess});const t=`${e.manufacturer}#${e.program.toUpperCase()}`;return Yne.get({inUse:e.inUse,contextIds:[t],ignoreAccess:e.ignoreAccess})}refreshManuProg(e){return Aoe(this,void 0,void 0,function*(){var t;const r={inUse:null==e?void 0:e.inUse,contextIds:[]};return window.g_node_url_prefix&&(console.log("LEGACY SET URL",window.g_node_url_prefix),eM.setUrlPrefix(window.g_node_url_prefix+"/furnplan"),eM.setAccessList(null===(t=window.g_configuration.accessListSettings)||void 0===t?void 0:t.properties)),this.refreshPromise=Yne.get(r)})}getPropertiesByKeyList(e,t,r){return this.refreshPromise.then(()=>{if(!e)return{};const t=Object.keys(e),r={};return t.forEach(t=>{if(0===e[t].length)return;const n=t.toLocaleLowerCase();if(e[t]){const e=n.toLocaleLowerCase().split("_");if(e&&e.length<2)return;const t=e[0].toLocaleLowerCase(),i=e[1].toLocaleLowerCase();return r[t]={},r[t][i]={},Yne.Contexts.forEach((e,n)=>{r[t][i][n.split("#")[2]]=e})}}),r})}getRelevantKeys(e,t=!1,r,n){return ape.getRelevantPropertyKeys(e,r).then(e=>Aoe(this,void 0,void 0,function*(){return this.refreshPromise.then(()=>Aoe(this,void 0,void 0,function*(){return t?e:(this.currentGlobalRelevant=yield this.getPropertiesByKeyList(e.relevant_keys,void 0,n),this.currentGlobalRelevant)}))}))}createOrGetContainer(e){return this.propertyContainerCache[e]||(this.propertyContainerCache[e]=new woe),this.propertyContainerCache[e]}toJson(e){return Aoe(this,void 0,void 0,function*(){const t={};return Yne.Contexts.forEach((r,n)=>{let i="";if(e.manufacturer){if(i=`${e.manufacturer}`,e.program&&(i=`${e.manufacturer}#${e.program}`),n.startsWith(i)){const o=n.replace(i+"#","");t[e.manufacturer]=t[e.manufacturer]||{},t[e.manufacturer][e.program]=t[e.manufacturer][e.program]||{},t[e.manufacturer][e.program][o]=r}}else{const e=n.split("#",3),i=e[0],o=e[1],s=e[2];t[i]=t[i]||{},t[i][o]=t[i][o]||{},t[i][o][s]=r}}),t})}};var Eoe=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class Ioe{constructor(){this.isPlacing=!1,this.isCleared=!1,this.BlockAutoTransfer=!1,this.IFrameDrag=!1,this.CDNDListener=null,this.ManuName="",this.ProgName="",this.ManuHash="",this.ProgHash="",this.ArticleNumber="",this.ID="",this.HashID="",this.Type="Article",this.ArticleTypeGroup=[],this.Image="",this.Text="",this.JavaScriptNumber="",this.FittingProgram="",this.FittingType="",this.TypeDefine="",this.hid="",this.properties=[],this.propertyHandler=null,this.DeleteAble=[],this.InstanceID=[],this.PickLevel=-1,this.Key="",this.Checksum="",this.parentID="",this.Prop="",this.UseKeyPickLevel=!1,this.Props=[],this.DOM_Content=!1,this.DOM_Global_Button=!1,this.DOM_Delete_Button=!1,this.DOM_Content_Title=!1,this.domElement=null,this.globalButton={},this.deleteButton={},this.drag_Handler={},this.ClickNDNDAble=!1,this.WithoutDrag=!1,this.ClickAble=!1,this.DnDAble=!1,this.isSingleSelection=!1,this.showCursor=!0,this.parentList=void 0,this.hierarchy={},this.hid=zme.createHash()}static build(e){const t=new Ioe;return t.hid=zme.createChecksumFromObject(e),Object.keys(e).forEach(r=>{t[r]=e[r]}),t.hierarchy.addOrGetObjByID(t.hid,t.parentID,t),t}initGlobalButton(){const e=this;this.globalButton.on("click",function(t){const r={II:[],pt_id:e.ID,mHash:e.ManuHash,pHash:e.ProgHash};for(let t=0;t<e.InstanceID.length;t++)r.II.push(""+e.InstanceID[t]);ape.assignProperty(r),t&&t.data&&t.data.element&&t.data.element.drag_Handler&&t.data.element.drag_Handler.ClickDragDrop&&t.data.element.drag_Handler.ClickDragDrop.Clear&&t.data.element.drag_Handler.ClickDragDrop.Clear(),e.domElement.removeClass("selected"),FI.clearMarker()})}initDeleteButton(){const e=this;e.deleteButton.on("click",t=>{t.stopPropagation(),t.preventDefault(),e.deleteButton.find("i").hasClass("minus")?ape.DelPropTransfer({pt_id:e.ID,mHash:e.ManuHash,pHash:e.ProgHash,II:e.DeleteAble}).then(()=>ape.getPropDelElems().then(t=>{t&&t.Results&&t.Results.length>0?e.checkDeleteAccess(t.Results):fme.InteriorDesign.setCurrentType()})):(this.drag_Handler.trigger("mousedown"),this.drag_Handler.trigger("mouseup"))})}enable(){const e=this;e.domElement&&e.domElement.removeClass("disabled")}disable(){const e=this;e.domElement&&e.domElement.addClass("disabled")}addII(e){const t=this;0===t.InstanceID.filter(t=>t===+e).length&&t.InstanceID.push(+e),t.InstanceID.length>0&&t.enable(),this.DOM_Delete_Button=Bde.InteriorPropertiesEnabled,this.DOM_Global_Button=1!==t.InstanceID.length}removeII(e){const t=this,r=t.InstanceID.indexOf(e);r>-1&&t.InstanceID.splice(r,1),0===t.InstanceID.length&&t.disable()}checkDeleteAccess(e){if(this.DeleteAble=[],e&&e.length){const t=e.filter(e=>e.p_hash+"_"+e.pt_id==this.ProgHash+"_"+this.ID&&-1!==this.InstanceID.indexOf(e.II));t.length>0?(t.forEach(e=>{this.DeleteAble.push(e.II)}),this.showDelete()):this.hideDelete()}}hideDelete(){const e=this;"function"==typeof e.deleteButton.hide&&(Bde.SingleSelectionEnabled?(e.deleteButton.find("i").addClass("plus"),e.deleteButton.find("i").removeClass("minus")):e.deleteButton.hide())}showDelete(){const e=this;"function"==typeof e.deleteButton.show&&(Bde.SingleSelectionEnabled?(e.deleteButton.find("i").removeClass("plus"),e.deleteButton.find("i").addClass("minus")):e.deleteButton.show())}setDeleteButton(e){this.DOM_Delete_Button=e}buildProperties(e){return Eoe(this,void 0,void 0,function*(){return this.properties=yield Coe.getPropertiesByKeyList(this.properties,!0),this.properties&&Object.keys(this.properties).length>0&&(this.propertyHandler||(this.propertyHandler=Coe.createOrGetContainer(this.ID)),this.propertyHandler.renderTo(e),this.propertyHandler.build(this.properties),Bde.InteriorPropertiesEnabled&&fme.InteriorPropertyContainer.PropertyHierarchy.build(null,!0)),!0})}buildDOM(e,t){let r=null;this.domElement=$("<div></div>").addClass("accessories-class"),0===this.InstanceID.length?this.disable():this.enable(),this.domElement.data("element",this),this.drag_Handler=$("<div></div>").addClass("accessories-img"),this.drag_Handler.data("element",this),this.Image&&this.drag_Handler.css("background","url("+this.Image+") no-repeat center center");const n=$("<div></div>").addClass("accessories-title");$("<p></p>").text(this.Text).appendTo(n);if(this.domElement.append(this.drag_Handler),this.DOM_Content){const e=$("<div></div>").addClass("accessories-content");r=$("<div></div>").addClass("button-container"),this.DOM_Content_Title?e.append(n):this.domElement.append(n),e.append(r),this.DOM_Global_Button&&(this.globalButton=$("<div></div>").addClass("global-button"),$("<i></i>").addClass("world icon").appendTo(this.globalButton),$("<p></p>").addClass("global-text").text("global").appendTo(this.globalButton),this.initGlobalButton(),r.append(this.globalButton)),this.domElement.append(e)}else this.domElement.append(n);if(this.drag_Handler.clickdnd=new VI(this.drag_Handler,{isClickDnD:this.ClickNDNDAble,isDrag:this.DnDAble,isClickAdd:this.ClickAble,isWithoutDrag:this.WithoutDrag,isSingleSelection:this.isSingleSelection&&1===this.InstanceID.length&&!hse.IsDragging,parentList:this.parentList}),this.CDNDListener&&this.CDNDListener(this.drag_Handler),this.DOM_Delete_Button&&this.DOM_Content){this.deleteButton=$("<div></div>").addClass("trash-div");const t=$("<i></i>").addClass("ui icon big").appendTo(this.deleteButton);Bde.SingleSelectionEnabled?t.addClass("plus"):t.addClass("trash"),this.initDeleteButton(),r&&r.append(this.deleteButton),e&&e.Results&&e.Results.length&&this.checkDeleteAccess(e.Results)}return this.domElement}dispose(e){this.drag_Handler.ClickDragDrop.stopDragging({button:2,prevent_reset:e}),this.drag_Handler.clickdnd.clearDragDrop(),delete this.drag_Handler.clickdnd,this.CDNDListener&&(this.CDNDListener=function(){}),this.domElement&&(this.domElement.empty(),this.domElement.remove(),delete this.domElement)}show(e){this.propertyHandler&&this.propertyHandler.show(e),this.domElement&&this.domElement.show()}hide(e){this.propertyHandler&&this.propertyHandler.hide(e),this.domElement&&this.domElement.hide()}}const Moe=Ioe;const koe=new class{constructor(){this.LastPickDist=Cp.MaxDouble,this.LastPickII=-1,this.PickPolyPicked=void 0,this.PickPointLocal=[0,0,0],this.LastPickLO=void 0,this.marker=void 0,this.DHPickPolyHelper=void 0,this.DHPickPolylineGeom=void 0,this.DHPickPolyline=void 0,this.DHInfoText=void 0}PickSceneExt(){const e=Yse.AnyIntersection.point,t=Yse.AnyIntersection.object.worldToLocal(e);this.PickPointWorld[0]=e.x,this.PickPointWorld[1]=e.y,this.PickPointWorld[2]=e.z,this.PickPointLocal[0]=t.x,this.PickPointLocal[1]=t.y,this.PickPointLocal[2]=t.z}};var Toe=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};const Roe=new class{constructor(){this._fittingCanSend=!0,this.ReplaceFitting=(e,t=0)=>{if(e.object&&this._fittingCanSend){const r=Om(),n=Om();tne.hide();let i=-1;this._fittingCanSend=!1,Yse.InteractionMode=Pp.REPLACE_FITTING;const o=e.object.instanceIdent;e.object.disposeHoverBox();let s=$("#clickDnDDummy");s.length>0&&(s.clickdnd&&s.clickdnd.clearDragDrop(),s.remove()),s=$("<div></div>").css("display","none").data("ii",o).appendTo("body"),VI.create(s,{isClickDnD:!1,isDrag:!0,isClickAdd:!1,isWithoutDrag:!0}),s.ClickDragDrop.clicked=(e,t)=>Toe(this,void 0,void 0,function*(){var e;(yield r)&&(Poe.setStrategy(Poe.pickBBox3),Yse.InteractionMode=Pp.FITTING,Yse.updateSceneAction("accessoriesDrag"),null===(e=Yse.SceneAction)||void 0===e||e.update(i),Yse.SceneAction&&(Yse.SceneAction.CanUseCamera=!1),n.resolve())}),s.ClickDragDrop.Clear=(e,t)=>Toe(this,void 0,void 0,function*(){(yield r)&&(yield n)});const a=()=>{une.off("clearDummy",a),s.length>0&&(Yse.clearSceneAction(),s.remove())};return une.on("clearDummy",a),s[0].id="clickDnDDummy",s.css("display","none"),s.appendTo("body"),s.trigger("mousedown"),s.trigger("mouseup"),ape.replacingFitting([{instanceIdent:""+o,isMove:t}]).then(e=>{this._fittingCanSend=!0,i=e,r.resolve(!0)}).catch(()=>{this._fittingCanSend=!0,r.resolve(!1)})}}}measureBySelection(){return Toe(this,arguments,void 0,function*(e=null){if(Bde.FittingMeasureEnabled&&Bde.SingleSelectionEnabled){let t=-1,r=-1;e&&100031===e.typeInfo?t=e.instanceIdent:e&&e.parent&&100031===e.parent.typeInfo&&(t=e.parent.instanceIdent);const n=$le.objects[0];n&&n!==e&&100031===n.typeInfo&&(r=n.instanceIdent),-1===t&&-1===r||(yield ape.getFittingMeasure(t,r))}})}checkFittingReplace(){let e=Yse.FirstLOIntersection;if(e){let t=Bde.FittingSelection;if(!t&&Bde.WallFittingMove&&(90010===e.typeInfo?t=!0:100031===e.typeInfo&&(t=e.children.some(e=>e.IsWallChildElement))),t){for(;e&&e!==aae.world&&100031!==e.typeInfo;)e=e.parent;if(e&&100031===e.typeInfo)return Bde.NoCameraInteractionMode=!0,Yse.on(Yse.EVENT_Move,t=>{t&&this.ReplaceFitting({object:e},1)},!0),Yse.on(Yse.EVENT_Up,()=>{VI.clearLastIfNecessary(),Bde.NoCameraInteractionMode=!1,Yse.clearSceneAction()},!0),!0}}return!1}};var Loe=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};const Poe=new class{constructor(){this.Raycaster=new Mc,this.Projector=null,this.DirectionVector=new br,this.target=null,this.worldInfo={x:0,y:0,z:0},this.mode=1,this.MODE_COUNT=2,this.pickStrategy=()=>{console.warn("DhmcPickHandler: No strategy set!")}}bconstructor(e){this.pickStrategy=function(){console.warn("PickHandlerSingleton: No strategy set!")},this.Raycaster=new Mc,this.DirectionVector=new br,this.target=null,this.worldInfo={x:0,y:0,z:0},this.mode=1,this.MODE_COUNT=2}init(e){return this.Projector=new lE,this}pick(){return Loe(this,void 0,void 0,function*(){try{if(this.waitForPick?(this.waitForPickTimeout||(this.waitForPickTimeout=setTimeout(()=>{clearTimeout(this.waitForPickTimeout),this.waitForPickTimeout=null,this.waitForPick&&this.waitForPick.resolve()},2500)),yield this.waitForPick,this.waitForPickTimeout&&(clearTimeout(this.waitForPickTimeout),this.waitForPickTimeout=null),this.waitForPick=Om()):this.waitForPick=Om(),Yse.IsBoundingBoxIntersection&&this.pickPossibleDestination())return void this.waitForPick.resolve();Bde.PickMode&&(yield this.pickStrategy())}catch(e){console.error(e)}this.waitForPick&&this.waitForPick.resolve()})}setStrategy(e){return Loe(this,void 0,void 0,function*(){return this.waitForPick&&(yield this.waitForPick),Bde.PickingEnabled||e!==this.pickGeometry||(e=this.pickNothing),this.pickStrategy=e,this})}getFirstRealObject(e){function t(e){if(!e)return null;if(e.LogicalViewType===Lp.NORMAL&&"World"!==e.typeText){const t=e.findPOFromLO(!0,!0);return t&&t._genElement?null:e}return e.LogicalViewType||"World"===e.typeText?null:t(e.parent)}let r=null;for(let n=0;n<e.length&&(r=t(e[n].object),!r);n++);return r}isFloorPicked(e){return Array.isArray(e)?!!(e.length&&e[0]&&e[0].object&&"Fussboden"===e[0].object.name)||!(!e.length||!e[0]||"Fussboden"!==e[0].name):this.isFloorPicked([e])}isWidgetPicked(e){return Array.isArray(e)?!!(e.length&&e[0]&&e[0].object&&"FURNVIEW_WIDGETS"===e[0].object.typeText)||(!!(e.length&&e[0]&&e[0].object&&"ROTATION"===e[0].object.ActionMode)||(!(!e.length||!e[0]||"FURNVIEW_WIDGETS"!==e[0].typeText)||!(!e.length||!e[0]||"ROTATION"!==e[0].ActionMode))):this.isWidgetPicked([e])}pickNothing(){}pickPossibleDestination(){var e;const t=null===(e=Yse.IntersectedBoundingBox)||void 0===e?void 0:e.parent;return!(!t||t.Mode!==NI.POSSIBLE_DESTINATION)&&(t.dispatchEvent({type:"click"}),!0)}pickGeometry(){return Loe(this,void 0,void 0,function*(){const e=Yse.FirstLOIntersection,t=Yse.IntersectedLO,r=Yse.IsLOIntersection;let n;if(e&&(n=Yse.IntersectionObject.ray.point),this.target=null,FI.clearMarker(!0,NI.DELETE_PROPTRANSFER_ELEMENT),!Bde.DimLineIntersectionDisabled){if(Yse.IsDimLineIntersection)return ape.GetDimensionInput(Yse.IntersectedDimLine.parent.InstanceIdent,9997),!1;(Kre.containsKey(Vp.DimLinearLineClass)||lae.getAll().some(e=>91e3===e.typeInfo))&&ape.GetDimensionInputCancel()}if(!r)return ape.setLastTippedLO(),aue.CenterPointNeedsUpdate=!0,yield $le.clear(),fle.listOfSelectedTargets=$le.objects.slice(),$le.IsDirty&&fme.InteriorPropertyContainer.update(),DI.reset(),FI.clearMarker(!0,NI.SELECTION),!0;if(Bde.DepthSelection&&e){let r=Yse.HoverBoxIntersection?e:t;t.isChildOf(e)&&(r=t),this.target=yield ape.getSelectionByFilter(r?r.instanceIdent:e.instanceIdent,n).then(e=>Loe(this,void 0,void 0,function*(){return e.pickedInstanceIdent?lae.get(e.pickedInstanceIdent):null})).then(e=>Loe(this,void 0,void 0,function*(){return e&&Bde.SelectionActionGroup&&(yield ape.collectSelectionActions(Bde.SelectionActionGroup)),e}))}else if(!Bde.DepthSelection){if(t.IsManageElement)return!1;if(t.IsWallElement&&Bde.DisableWallSelection)return!0;var i=!1,o=!1;if((!Yse.IsLOIntersection||this.isFloorPicked(t)||this.isWidgetPicked(t))&&($le.objects&&0===$le.objects.length&&(o=!0),yield $le.clear(),fle.listOfSelectedTargets=$le.objects.slice(),i=!0,DI.reset(),FI.clearMarker(!0,NI.SELECTION)),this.target=t,this.target.GenLineOwner&&this.target.GenLineOwner.length>0){const e=t.worldToLocal(Yse.IntersectionObject.ray.point.clone()),r=this.target.GenLineOwner.filter(t=>e.x>t.startX&&e.x<t.endX)[0];if(r){const e=lae.get(r.instanceIdent);e&&(this.target=e)}}this.target=this.target.findPOFromLO(!1,!0,!0)}if(!this.target||i)return $le.objects&&0===$le.objects.length&&(o=!0),yield $le.clear(),fle.listOfSelectedTargets=$le.objects.slice(),ape.setLastTippedLO(),aue.CenterPointNeedsUpdate=!0,o||fme.InteriorDesign.setCurrentType(),void DI.reset();if(this.target){if(ape.setLastTippedLO(""+this.target.instanceIdent),0===this.mode){const e=[];if(void 0!==this.target.riGroupID&&Dhe.getPOByRiGroupID(this.target.riGroupID,e),e.length){const t=e.every(function(e){return $le.contains(e)});t?e.forEach(function(e){$le.remove(e)}):e.forEach(function(e){return Loe(this,void 0,void 0,function*(){yield $le.add(e)})})}else yield $le.handle(this.target)}else 1===this.mode&&(yield $le.handle(this.target));fle.listOfSelectedTargets=$le.objects.slice(),aue.CenterPointNeedsUpdate=!0,$le.objects.length,fme.InteriorDesign.setCurrentType()}else ape.setLastTippedLO()})}pickBBox3(){var e,t,r,n,i,o,s;const a=[];if(ape.setLastTippedLO(),ape.setSelection([]),Yse.IsIntersected&&Yse.IsBoundingBoxIntersection){const e=Yse.IntersectedBoundingBox;let t=e._refParent||e.parent;for(;null!=t;){if(100031===t.typeInfo||"CH_CDHD1_IWall"===t.typeText||Yse.InteractionMode===Pp.DELETABLE&&t instanceof Dme){a.push({object:t,bb:e});break}t=t.parent}}if(""===VI.status||Yse.IsFloorIntersection||0===Yse.Intersections.length)if(Yse.InteractionMode===Pp.LVC)Yse.SceneAction&&(Yse.IsLOIntersection?(null===(e=Yse.SceneAction)||void 0===e||e.end(),null===(t=Yse.SceneAction)||void 0===t||t.begin()):null===(r=Yse.SceneAction)||void 0===r||r.cancel());else if(a.length)if(Yse.InteractionMode===Pp.DELETE_FITTING&&Yse.IsBoundingBoxIntersection){if(this.target=a[0],!this.target)return FI.clearMarker(!0,NI.DELETE_PROPTRANSFER_ELEMENT),$le.clear(),Poe.setStrategy(Poe.pickGeometry),Yse.InteractionMode=Pp.DEFAULT,Bde.NoInteractionMode=!1,Yse.SceneAction&&(Yse.SceneAction.reset(),null===(i=Yse.SceneAction)||void 0===i||i.cancel()),Yse.clearSceneAction(!0),void(Bde.SingleSelectionEnabled&&fme.InteriorDesign.setCurrentType());MI.hide(this.target.object),II.remove(this.target.object.uuid),Yse.SceneAction&&(null===(o=Yse.SceneAction)||void 0===o||o.end(this.target),null===(s=Yse.SceneAction)||void 0===s||s.begin())}else if(Yse.InteractionMode===Pp.REPLACE_FITTING){if(this.target=a[0],!this.target)return FI.clearMarker(!0,NI.DELETE_PROPTRANSFER_ELEMENT),$le.clear(),Poe.setStrategy(Poe.pickGeometry),Yse.InteractionMode=Pp.DEFAULT,Bde.NoInteractionMode=!1,void(Bde.SingleSelectionEnabled&&fme.InteriorDesign.setCurrentType());Roe.ReplaceFitting(this.target,Bde.DepthSelection?0:1)}else if(Yse.InteractionMode===Pp.WALL_DELETE){if(this.target=a[0],!this.target)return FI.clearMarker(!0,NI.DELETE_PROPTRANSFER_ELEMENT),$le.clear(),Poe.setStrategy(Poe.pickGeometry),Yse.InteractionMode=Pp.DEFAULT,Bde.NoInteractionMode=!1,void(Bde.SingleSelectionEnabled&&fme.InteriorDesign.setCurrentType());Aie.DeleteWall(this.target)}else if(Yse.InteractionMode===Pp.DELETABLE)this.target=a[0],ape.deleteLO([this.target.object.guid]).then(()=>{0===lae.CountPO()&&(FI.clearMarker(!0,NI.DELETE_PROPTRANSFER_ELEMENT),Poe.setStrategy(Poe.pickGeometry),Yse.InteractionMode=Pp.DEFAULT)});else{if(this.target=a[0],!this.target)return void(Bde.SingleSelectionEnabled&&fme.InteriorDesign.setCurrentType());$le.contains(this.target.object)?$le.remove(this.target.object):($le.clear(),$le.add(this.target.object)),fle.listOfSelectedTargets=$le.objects.slice(),aue.CenterPointNeedsUpdate=!0,$le.objects.length,Bde.SingleSelectionEnabled&&fme.InteriorDesign.setCurrentType(),FI.clearMarker(!0,NI.DELETE_PROPTRANSFER_ELEMENT)}else aue.CenterPointNeedsUpdate=!0,FI.clearMarker(!0,NI.DELETE_PROPTRANSFER_ELEMENT),Yse.IsLOIntersection||$le.clear(),fle.listOfSelectedTargets=$le.objects.slice(),Yse.InteractionMode!==Pp.DEFAULT&&Yse.InteractionMode!==Pp.DELETE_FITTING&&Yse.InteractionMode!==Pp.REPLACE_FITTING&&Yse.InteractionMode!==Pp.DELETABLE&&Yse.InteractionMode!=Pp.LVC&&Yse.InteractionMode!=Pp.FITTING&&Yse.InteractionMode!=Pp.PROPTRANSFER||(FI.clearMarker(!0,NI.DELETABLE),Yse.SceneAction&&(Yse.SceneAction.reset(),null===(n=Yse.SceneAction)||void 0===n||n.cancel()),Poe.setStrategy(Poe.pickGeometry),Yse.InteractionMode=Pp.DEFAULT,Bde.NoInteractionMode=!1,Yse.clearSceneAction(!0)),$le.IsDirty&&fme.InteriorDesign.setCurrentType()}pickPolys(){koe.PickSceneExt()}toggleMode(){this.mode=++this.mode%this.MODE_COUNT}};class Doe{constructor(){this.isPlacing=!1,this.isCleared=!1}static initCDnD(e){e.ClickDragDrop.clicked=(t,r)=>{if(this.isPlacing||this.isCleared)return e.ClickDragDrop.stopDragging(t,r),this.isPlacing=!1,e.clickdnd&&e.clickdnd.clearDragDrop&&e.clickdnd.clearDragDrop(),!0;Yse.updateSceneAction("accessoriesDrag"),Wp.getType()===Mp.DESKTOP&&(this.isPlacing=!0,Yse.startDraggingFitting(this)),MI.hideAll(),this.InstanceID.forEach(function(e){const t=lae.get(e);t&&"dhd1"!==t.Prog&&MI.show(t)})},e.ClickDragDrop.startDragging=(e,t)=>{this.isPlacing||(this.isPlacing=!0,Yse.updateSceneAction("accessoriesDrag"),Yse.startDraggingFitting(this))},e.ClickDragDrop.stopDragging=(e,t)=>{e&&!this.isCleared&&(!this.isPlacing&&Bde.FittingAutoDisable||2===e.button?(VI.status="",Yse.cancelDraggingFitting({button:e.button}),this.isWallInteraction&&LI.WallFitting_cancel.send([{artNo:this.ArticleNumber,height:this.size.y,manu:this.ManuName,parapetHeight:this.size.z,prog:this.ProgName,type:this.Type,width:this.size.x}]),cse.lastEvents.fittingAction=null):((Yse.IsLOIntersection||Yse.IsBoundingBoxIntersection)&&(Yse.stopDraggingFitting(),this.isWallInteraction&&LI.WallFitting_end.send([{artNo:this.ArticleNumber,height:this.size.y,manu:this.ManuName,parapetHeight:this.size.z,prog:this.ProgName,type:this.Type,width:this.size.x}]),VI.status="",cse.lastEvents.fittingAction&&cse.lastEvents.fittingAction.func&&cse.lastEvents.fittingAction.func.apply(cse,[cse.lastEvents.fittingAction.params])),this.isPlacing&&(!Yse.IsLOIntersection&&!Yse.IsBoundingBoxIntersection||Bde.FittingAutoDisable)&&(VI.status="",Yse.cancelDraggingFitting(),this.isWallInteraction&&LI.WallFitting_cancel.send([{artNo:this.ArticleNumber,height:this.size.y,manu:this.ManuName,parapetHeight:this.size.z,prog:this.ProgName,type:this.Type,width:this.size.x}]),cse.lastEvents.fittingAction=null))),this.isPlacing=!1,this.hierarchy.reloadHierarchy(),Bde.IsFurnplanMode&&(Poe.setStrategy(Poe.pickGeometry),fle.listOfSelectedTargets=$le.objects.slice(),aue.CenterPointNeedsUpdate=!0),VI.lastClickDnD=null},e.ClickDragDrop.Clear=e=>{this.isPlacing=!1,this.isCleared=!0}}static buildAccessories(e,t,r){const n={IFrameDrag:!!e.IFrameDrag,ManuName:e.manu||"",ProgName:e.prog||"",ManuHash:e.m_hash||"",ProgHash:e.p_hash||"",ArticleNumber:t.A||"",ID:e.id,HashID:"",ArticleTypeGroup:e.ATG||[],Image:lm.getUrl(e.m_hash,e.p_hash,"art",t.A),Text:t.TE||"",JavaScriptNumber:t.J||"",FittingProgram:e.fipr||"",FittingType:e.fity||"",TypeDefine:"FITTING",Type:e.type||"Article",InstanceID:e.II?[+e.II]:[],PickLevel:t.PLVL?""+t.PLVL:"-1",Key:"",parentID:e.parentID,DOM_Content:!1,DOM_Global_Button:!1,DOM_Content_Title:!1,CDNDListener:Doe.initCDnD,ClickNDNDAble:void 0===e.isClickDnD||e.isClickDnD,DnDAble:void 0===e.isDrag||e.isDrag,ClickAble:void 0===e.isClickAdd||e.isClickAdd,WithoutDrag:void 0!==e.withoutDrag&&e.withoutDrag,showCursor:void 0===e.showCursor||e.showCursor,parentList:e.parentList,isSingleSelection:!1,hierarchy:r};return Moe.build(n)}}const Noe=Doe;class Foe{constructor(e,t){this.hid="",this.priority=0,this.parentID="",this.name="",this.img="",this.children={},this.hierarchy={},this.priority=e.priority,this.name=e.Cat,this.img=e.image,this.hid=zme.createChecksumFromObject(e),this.parentID=e.parentID,this.hierarchy=t,t.addOrGetObjByID(this.hid,this.parentID,this)}static build(e,t){return new Foe(e,t)}parseFitting(e){this.children||(this.children={});const t=[];Object.keys(this.children).forEach(e=>{t.push(this.children[e])});const r=t.filter(t=>t.ArticleNumber===e.artis.A&&t.JavaScriptNumber===e.artis.J);if(0===r.length){e.data.parentID=this.hid;const t=Noe.buildAccessories(e.data,e.artis,this.hierarchy);this.children[t.hid]=t}else this.children[r[0].hid].addII(+e.data.II)}buildDOM(){const e=$("<div></div>").addClass("category-class").click(t=>{fme.InteriorDesign.setCurrentType(e.data("class").hid)});e.data("class",this);const t=$("<div></div>").addClass("category-img"),r=$("<img>").appendTo(t);r[0].onerror=()=>{t.css("display","none")},r[0].src=this.img;const n=$("<div></div>").addClass("category-title");$("<p></p>").text(this.name).appendTo(n);return e.append(t),e.append(n),e}}var Ooe=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class Boe{constructor(e,t){this.hid="",this.pt_id="",this.groupUIKey="",this.parentID="",this.groupTextID="",this.programHash="",this.groupImage="",this.children={},this.properties=[],this.hierarchy={},this.propertyHandler=null,this.domElement=null,this.programHash=e.PHASH,this.properties=e.properties_fallback||e.properties,this.pt_id=e.pt_id,this.groupUIKey=e.GKey,this.groupTextID=e.GTID,this.groupImage=e.GI,this.parentID=e.parentID,this.hierarchy=t,this.hid=zme.createChecksumFromObject(e),t.addOrGetObjByID(this.hid,this.parentID,this)}static build(e,t){return new Boe(e,t)}buildProperties(e){return Ooe(this,void 0,void 0,function*(){return this.children&&(this.properties=yield Coe.getPropertiesByKeyList(this.properties,!0),this.properties&&Object.keys(this.properties).length>0&&(this.propertyHandler||(this.propertyHandler=Coe.createOrGetContainer(this.programHash+"_"+this.groupUIKey)),this.propertyHandler.renderTo(e),this.propertyHandler.build(this.properties),Bde.InteriorPropertiesEnabled&&fme.InteriorPropertyContainer.PropertyHierarchy.build(null,!0))),!0})}buildDOM(e){this.domElement=$("<div></div>").addClass("group-class"),this.domElement.data("group",this);const t=$("<div></div>").addClass("group-div"),r=$("<div></div>").addClass("group-img").click(function(e){});$("<img>").appendTo(r);this.groupImage&&r.css("background","url("+this.groupImage+") no-repeat center center");const n=$("<div></div>").addClass("group-title"),i=($("<p></p>").appendTo(n).text(this.groupTextID),$("<div></div>").addClass("child-Elements")),o=this,s=Object.keys(this.children);return s.map(function(t,r){const n=o.children[t].buildDOM(e);s.length>1&&(n.css("border","none"),n.css("border-radius","0"),n.css("box-shadow","none"),s.length-1>r&&n.css("border-bottom","1px solid grey")),i.append(n)}),t.append(r),t.append(n),t.css("display","none"),this.domElement.append(t),Object.keys(this.children).length>0?(Bde.WizardEnabled?$("#interior-design-panel-opener").removeClass("disabled"):$("#interior-design-panel-opener").removeClass("hidden"),1===Object.keys(this.children).length&&(this.domElement.css("border","0"),this.domElement.css("box-shadow","none")),this.domElement.append(i),this.domElement):(Bde.WizardEnabled?$("#interior-design-panel-opener").addClass("disabled"):$("#interior-design-panel-opener").addClass("hidden"),null)}show(e){this.propertyHandler&&this.propertyHandler.show(e),this.domElement.show()}hide(e){this.propertyHandler&&this.propertyHandler.hide(e),this.domElement.hide()}}class Uoe{constructor(e,t){this.hid="",this.abstractType="",this.pt_id="",this.groupUIKey="",this.parentID="",this.groupTextID="",this.groupImage="",this.selected={},this.children={},this.hierarchy=null,this.hid=zme.createHash(),this.pt_id=e.pt_id,this.abstractType=e.ABL,this.groupUIKey=e.GKey,this.groupTextID=e.GTID,this.groupImage=e.GI,this.parentID=e.parentID,this.hierarchy=t,t.addOrGetObjByID(this.hid,this.parentID,this)}static build(e,t){return new Uoe}buildDOM(){const e=$("<div></div>").addClass("list-group-class");e.data("list-group",this);const t=$("<div></div>").addClass("list-group-top"),r=$("<div></div>").addClass("list-group-bottom"),n=$("<div></div>").addClass("list-group-image").click(function(e){}),i=$("<img>").appendTo(n);i[0].src=this.groupImage||"";const o=$("<div></div>").addClass("list-group-title"),s=$("<div></div>").addClass("list-group-content"),a=($("<p></p>").appendTo(o).text(this.groupTextID),$("<div></div>").addClass("list-group-trash").data("reference",this));$("<i></i>").addClass("icon big trash").appendTo(a);let l=null,c=null;"RL"===this.abstractType?(l=$("<div></div>").addClass("child-Elements ui from"),c=$("<div></div>").addClass("grouped fields"),$("<label></label>").text(this.groupTextID).appendTo(c),l.append(c)):(l=$("<div></div>").addClass("child-Elements ui selection dropdown"),l.append("<input type='hidden' name='"+this.hid+"'>"),$("<i></i>").addClass("dropdown icon").appendTo(l),$("<div></div>").addClass("default text").text("Placeholder").appendTo(l),c=$("<div></div>").addClass("menu").appendTo(l));const u=$("<div></div>").addClass("global-button");$("<i></i>").addClass("world icon").appendTo(u),$("<p></p>").addClass("global-text").text("global").appendTo(u),u.on("click",{element:this},t=>{const r={II:this.selected.II,pt_id:this.selected.pt_id,mHash:this.selected.mHash,pHash:this.selected.pHash};ape.assignProperty(r),n.ClickDragDrop.Clear&&n.ClickDragDrop.Clear(),e.removeClass("selected"),FI.clearMarker()});Object.keys(this.children).map((e,t)=>{if("RL"===this.abstractType){const r=$("<div></div>").addClass("field"),n=$("<div></div>").addClass("ui radio checkbox").appendTo(r);$("<input type='radio' name='"+this.groupUIKey+"' "+(0===t?"checked='checked'":"")+">").data("child",this.children[e].hid).appendTo(n),n.append("<label>"+this.children[e].text+"</label>"),c.append(r)}else $('<div data-value="'+t+'"></div>').addClass("item").data("child",this.children[e].hid).text(this.children[e].text||"-----").appendTo(c)});new VI(n,{isClickDnD:!0,isDrag:!0,isClickAdd:!1},!0);return n.ClickDragDrop.clicked=(t,r)=>{e.addClass("selected"),Yse.InteractionMode=Pp.PROPTRANSFER,FI.clearMarker();let n=$(r).parent(".list-group-top").find(".child-Elements .checkbox :checked").data("child");n||(n=$(r).parent(".list-group-top").find(".child-Elements .selected").data("child"));const i=this.hierarchy.addOrGetObjByID(n).II;for(let e=0;e<i.length;e++){const t=lae.get(i[e]);t&&"dhd1"!==t.Prog&&FI.addMarker(t)}},n.ClickDragDrop.startDragging=(e,t)=>{Yse.startDraggingPropTransfer(),FI.clearMarker();let r=$(t).parent(".list-group-top").find(".child-Elements .checkbox :checked").data("child");r||(r=$(t).parent(".list-group-top").find(".child-Elements .selected").data("child"));const n=this.hierarchy.addOrGetObjByID(r);if(n){const e=n.II;for(let t=0;t<e.length;t++){const r=lae.get(e[t]);r&&"dhd1"!==r.Prog&&FI.addMarker(r)}}},n.ClickDragDrop.stopDragging=(t,r)=>{e.removeClass("selected");let n=$(r).parent(".list-group-top").find(".child-Elements .checkbox :checked").data("child");n||(n=$(r).parent(".list-group-top").find(".child-Elements .selected").data("child"));this.hierarchy.addOrGetObjByID(n).II;const i={};Yse.checkSingleIntersection(FI.MarkerElements,i);FI.clearMarker(),i.obj&&console.error("PickPolyClass not supported!")},e.append(t),e.append(r),r.append(s),r.append(a),t.append(l),"RL"===this.abstractType?(l.checkbox(),l.checkbox({onChange:()=>{const e=l.find(".checkbox :checked").data("child"),t=this.hierarchy.addOrGetObjByID(e);this.selected=t,i.attr("src",t.op_image)}})):(l.dropdown(),l.dropdown({onChange:(e,t,r)=>{const n=this.hierarchy.addOrGetObjByID(r.data("child"));this.selected=n,i.attr("src",n.op_image)}}),l.dropdown("set selected","0")),t.append(n),s.append(u),e}}const Voe=new class{addOrGetCategory(e,t){const r=t.getCategories();let n={},i=e.text;""!==i&&i||(i="--NOTSET--");const o=[];Object.keys(r).forEach(e=>{o.push(r[e])});const s=o.filter(e=>e.name===i);return 0===s.length?(n=Foe.build({Cat:i,parentID:e.parentID,image:e.image,priority:e.priority},t),r[n.hid]=n):n=s[0],n}addOrGetGroup(e,t){const r=t.getGroups(),n=[];let i=null;if(""===e.GKey||!e.GKey)return null;{Object.keys(r).forEach(e=>{n.push(r[e])});const t=n.filter(t=>t.groupUIKey===e.GKey&&t.programHash===e.PHASH);1===t.length&&(i=t[0])}return i||(i=Boe.build(e,t),r[i.hid]=i),i}addOrGetGroupList(e,t){const r=t.getListGroups(),n=[];let i=null;if(""===e.GKey||!e.GKey)return null;{Object.keys(r).forEach(e=>{n.push(r[e])});const t=n.filter(t=>t.groupUIKey===e.GKey);1===t.length&&(i=t[0])}return i||(i=Uoe.build(e,t),r[i.hid]=i),i}checkCategories(e){const t=e.getCategories();Object.keys(t).filter(e=>0===Object.keys(t[e].children).length).forEach(r=>{e.removeElement(t[r].hid),delete t[r]}),0===Object.keys(t).length?(fme.InteriorDesign.setMessage(Hp.PROP_TRANSFER_FITTING_NOTFOUND),Bde.SingleSelectionEnabled&&0===$le.objects.length&&lae.CountPO()>1&&fme.InteriorDesign.setMessage(Hp.PLEASE_SELECT_ELEMENT)):fme.InteriorDesign.setMessage(Hp.NONE)}clear(e){e.clear()}};class zoe{constructor(){this.isPlacing=!1}static removeInstanceIDFromDHTODO(e){}static initCDnD(e){e.ClickDragDrop.clicked=(t,r)=>{var n;if(!0===this.isPlacing)return e.ClickDragDrop.stopDragging(t,r),this.isPlacing=!1,e.clickdnd.clearDragDrop(),VI.status="",!0;this.domElement.addClass("selected"),Yse.updateSceneAction("accessoriesDrag"),null===(n=Yse.SceneAction)||void 0===n||n.begin(),this.isPlacing=!0,Yse.InteractionMode=Pp.PROPTRANSFER;const i=$le.All,o=this.InstanceID;if((i.length>1||0===i.length)&&(FI.clearMarker(),FI.clearMarker(!0,NI.DELETE_PROPTRANSFER_ELEMENT)),1===o.length||1===i.length&&!hse.IsDragging)return e.ClickDragDrop.stopDragging(t,r),this.isPlacing=!1,e.clickdnd.clearDragDrop(),VI.status="",!0;for(let e=0;e<o.length;e++){const t=lae.get(o[e]);t&&"dhd1"!==t.Prog&&FI.addMarker(t)}},e.ClickDragDrop.startDragging=(e,t)=>{if(!this.isPlacing){if(this.isPlacing=!0,this.UseKeyPickLevel&&!hse.IsDragging)return!1;if(Bde.NoInteractionMode=!0,Yse.updateSceneAction("accessoriesDrag"),Yse.startDraggingPropTransfer(),FI.clearMarker(),FI.clearMarker(!0,NI.DELETE_PROPTRANSFER_ELEMENT),this){const e=this.InstanceID;for(let t=0;t<e.length;t++){const r=lae.get(e[t]);r&&"dhd1"!==r.Prog&&FI.addMarker(r)}}}},e.ClickDragDrop.stopDragging=(e,t)=>{if(this.isPlacing=!1,e){const r=this;if(!r)return FI.clearMarker(),FI.clearMarker(!0,NI.DELETE_PROPTRANSFER_ELEMENT),void(Yse.InteractionMode=Pp.DEFAULT);r.domElement.removeClass("selected");let n={isDelete:r.optionsCopy?r.optionsCopy.isDelete:void 0,UseKeyPickLevel:r.UseKeyPickLevel?"1":"0",pt_id:r.UseKeyPickLevel?r.Key+"_"+r.PickLevel:r.ID,pickLevel:r.PickLevel,mHash:r.ManuHash,pHash:r.ProgHash,Props:r.Props,Mechanism:r.Mechanism,RemoveMarks:r.RemoveMarks,MaxMarkings:r.MaxMarkings,pickRay:{source:Yse.SourcePoint.toArray(),dest:Yse.DestinationPoint.toArray()}};if(2===e.button)Yse.cancelDraggingPropTransfer(),cse.lastEvents.propTransfer=null;else{const i=r.InstanceID,o=$le.All;if(e&&t)if(Yse.IsBoundingBoxIntersection&&0===o.length){FI.clearMarker(),FI.clearMarker(!0,NI.DELETE_PROPTRANSFER_ELEMENT);const e=Yse.IntersectedBoundingBox.getLO();for(let t=i.length-1;t>=0;t--)e.instanceIdent===i[t]&&(n.II=[i[t]],zoe.removeInstanceIDFromDHTODO(i[t]))}else if(1!==i.length||r.IFrameDrag)if(1===o.length){n.II=[];for(let e=i.length-1;e>=0;e--){lae.get(i[e]).findParentByII($le.First.instanceIdent)&&(n.II.push(i[e]),zoe.removeInstanceIDFromDHTODO(i[e]))}}else n=null;else n.II=[i[0]],zoe.removeInstanceIDFromDHTODO(i[0]);n?ape.assignProperty(n).then(function(){Yse.stopDraggingPropTransfer(),Bde.IsFurnplanMode&&(Bde.NoInteractionMode=!1,Poe.setStrategy(Poe.pickGeometry),fle.listOfSelectedTargets=$le.objects.slice(),aue.CenterPointNeedsUpdate=!0),i.length>0&&1!==i.length&&1!==o.length&&!r.IFrameDrag?cse.lastEvents.propTransfer&&cse.lastEvents.propTransfer.func&&cse.lastEvents.propTransfer.func.apply(cse,[cse.lastEvents.propTransfer.params]):(Bde.NoInteractionMode=!1,Poe.setStrategy(Poe.pickGeometry),fle.listOfSelectedTargets=$le.objects.slice(),aue.CenterPointNeedsUpdate=!0,1===o.length&&(Yse.cancelDraggingPropTransfer(),cse.lastEvents.propTransfer=null,VI&&VI.status&&(VI.clearLastIfNecessary(),VI.status="")),Yse.InteractionMode=Pp.DEFAULT)}):(Yse.cancelDraggingPropTransfer(),cse.lastEvents.propTransfer=null,VI&&VI.status&&(VI.clearLastIfNecessary(),VI.status=""))}}else Bde.IsFurnplanMode&&(Yse.cancelDraggingPropTransfer(),Bde.NoInteractionMode=!1,Poe.setStrategy(Poe.pickGeometry),fle.listOfSelectedTargets=$le.objects.slice(),aue.CenterPointNeedsUpdate=!0),Yse.InteractionMode=Pp.DEFAULT},e.ClickDragDrop.AfterClear=(e,t)=>{this.isPlacing=!1}}static buildAccessories(e,t){const r={optionsCopy:Object.assign({},e),BlockAutoTransfer:e.blockAutoTransfer||!1,IFrameDrag:!!e.IFrameDrag,ManuName:e.M||"",ProgName:e.P||"",ManuHash:e.MHASH||"",ProgHash:e.PHASH||"",ArticleNumber:e.AN||"",ID:e.pt_id?(()=>{const t=e.pt_id.split("_");return t.splice(0,2),t.join("_")})():"",HashID:e.pt_id?e.pt_id:"",ArticleTypeGroup:[],Image:e.DI?lm.getUrl(e.MHASH,e.PHASH,"ptImg",e.DI,!0):"",Text:e.TID?e.TID:"",JavaScriptNumber:"",FittingProgram:"",FittingType:"",TypeDefine:"PROPTRANSFER",InstanceID:[],PickLevel:e.PL?""+e.PL:"0",Key:e.Key?""+e.Key:"",Mechanism:e.mechanism?""+e.mechanism:"7",RemoveMarks:e.removeMarks?""+e.removeMarks:"",MaxMarkings:e.maxMarkings?""+e.maxMarkings:"",UseKeyPickLevel:!e.pt_id,Props:e.keyValueList,parentID:e.parentID,DOM_Delete_Button:Bde.SingleSelectionEnabled,DOM_Content:!0,DOM_Global_Button:!Bde.SingleSelectionEnabled,DOM_Content_Title:!0,CDNDListener:zoe.initCDnD,ClickNDNDAble:void 0===e.isClickDnD||e.isClickDnD,DnDAble:void 0===e.isDrag||e.isDrag,ClickAble:void 0===e.isClickAdd||e.isClickAdd,WithoutDrag:void 0!==e.withoutDrag&&e.withoutDrag,showCursor:void 0===e.showCursor||e.showCursor,parentList:e.parentList,properties:e.properties,isSingleSelection:Bde.SingleSelectionEnabled,hierarchy:t};return Moe.build(r)}}const Hoe=zoe;class Goe{constructor(){this._columns=[],this.getCell=e=>e>=this.columnLength||e<0?(console.warn("Out of array."),null):this._columns[e]}get columnLength(){return this._columns.length}}Goe.build=e=>{const t=new Goe;for(let r=0;r<e.length;r++)t._columns.push(e[r]);return t};const joe=Goe;class Joe{constructor(){this._rows=[],this.getRow=e=>e>=this.rowLength||e<0?(console.warn("Out of array."),null):this._rows[e],this.getCell=(e,t)=>this.getRow(e).getCell(t),this.findRows=e=>this._rows.filter(t=>t.getCell(0)===e)}get rowLength(){return this._rows.length}}Joe.build=e=>{const t=new Joe;for(let r=0;r<e.length;r++){const n=joe.build(e[r]);t._rows.push(n)}return t};const Woe=Joe;const Qoe=new class{constructor(){this.tables=new Map,this.setInitialTableData=(e,t)=>(this.tables[e]||(this.tables[e]||(this.tables[e]={}),this.tables[e]=Woe.build(t)),this.tables[e]),this.getTable=e=>this.tables[e]?this.tables[e]:(console.warn("Table not found!"),null)}};const qoe=new class{constructor(){this.getText=function(e,t){const r=Qoe.getTable(t);if(r){const t=r.findRows(e);return t.length<1?(console.warn(e+" not found."),e):boe.getValue(t[0].getCell(1))}return e}}};const Yoe=new class{constructor(){this.hierarchies={},$(document).ready(()=>{this.hierarchies={wallHierarchy:new Koe,wallElementHierarchy:new Koe,inUseHierarchy:new Koe,kataTreeHierarchy:new Koe},window.Hierarchies=this.hierarchies,fme.InteriorDesign.hierarchyClass=this.hierarchies.inUseHierarchy})}parsePropTrans(e){this.parseCategory(e,this.hierarchies.kataTreeHierarchy,!0),console.log(this.hierarchies.kataTreeHierarchy.getBottomUp())}parse(e,t){this.parseCategory(e[0],t),this.parseCategory(e[1],t)}getNewMods(e,t){return Voe.clear(t),Promise.all([ape.getFittingData(e),ape.getPropTransferData()]).then(e=>e).catch(e=>{console.error(e)})}parsePTDICat(e,t,r){const n=qoe.getText(e.Cat_,"categories"),i=Voe.addOrGetCategory({text:n,parentID:"",image:"",priority:this.getPriority(e.Cat_)},t);this.parseGroups(i,e,t,r)}getPriority(e){const t=Qoe.getTable("categories");let r=1e5;if(t){const n=t.findRows(e)[0];n&&(r=n.getCell(2))}return r}parseFittingCat(e,t){const r=e.artis;let n="--NOTSET--",i=null;if(r.Cat&&0!==r.Cat.length)for(let o=0;o<r.Cat.length;o++){r.Cat[o]&&(n=r.Cat[o]);const s=qoe.getText(n,"categories");i=Voe.addOrGetCategory({text:s,parentID:"",image:"",priority:this.getPriority(n)},t),i.parseFitting(e)}else i=Voe.addOrGetCategory({text:n,parentID:"",image:""},t),i.parseFitting(e)}parseCategory(e,t,r){r=r||!1;if(e.PTDI&&e.ActiveObjects)for(let n=0;n<e.PTDI.length;n++)Object.keys(e.PTDI[n]).forEach(i=>{if(e.PTDI[n][i].pt_id=i,e.PTDI[n][i].elements=e.ActiveObjects,e.PTDI[n][i].CatPuffer=e.PTDI[n][i].Cat_,e.PTDI[n][i].parentList=$("#interior-design-fitting-articles .bottom-content"),this.parsePTDICat(e.PTDI[n][i],t,r),e.PTDI[n][i].Cat&&e.PTDI[n][i].Cat.length>0){const o=e.PTDI[n][i].Cat;for(let s=0;s<o;s++)e.PTDI[n][i].CatPuffer=e.PTDI[n][i].Cat[s],this.parsePTDICat(e.PTDI[n][i],t,r)}});else{for(let r=0;r<e.length;r++)for(let n=0;n<e[r].Artis.length;n++){e[r].parentList=$("#interior-design-fitting-articles .bottom-content");const i={artis:e[r].Artis[n],data:e[r]};this.parseFittingCat(i,t)}}Voe.checkCategories(t)}parseGroups(e,t,r,n){e.children||(e.children=[]),t.MHASH=t.pt_id.split("_")[0],t.PHASH=t.pt_id.split("_")[1],t.parentID=e.hid;let i=null;if(t.ABL){const n=Voe.addOrGetGroup(t,r);t.parentID=n.hid,i=Voe.addOrGetGroupList(t,r),n.children[i.hid]=i,n&&!e.children[n.hid]&&(e.children[n.hid]=n)}else i=Voe.addOrGetGroup(t,r),i&&!e.children[i.hid]&&(e.children[i.hid]=i);n?i?this.parseAllElements(i,t,r)||delete e.children[i.hid]:this.parseAllElements(e,t,r):i?this.parseElements(i,t,r)||delete e.children[i.hid]:this.parseElements(e,t,r)}parseElements(e,t,r){const n=t.elements;let i=0;try{i=n.length}catch(e){console.error(e)}if(i<1)return!1;for(let o=0;o<i;o++){let i=null;if(n[o].HPTID===t.pt_id){let s=[];try{const t=[];Object.keys(e.children).forEach(r=>{t.push(e.children[r])}),s=t.filter(e=>e.HashID===n[o].HPTID)}catch(e){console.error(e.message)}1===s.length&&(i=s[0]),i||(t.parentID=e.hid,t.AUSP&&this.parseProperties(t),i=Hoe.buildAccessories(t,r),e.children[i.hid]=i),i.addII(+n[o].II)}}return 0!==Object.keys(e.children).length}parseProperties(e){e.properties=e.AUSP}parseAllElements(e,t,r){let n=null;if(t.GKey===e.groupUIKey){let i=null;try{const r=[];Object.keys(e.children).forEach(t=>{r.push(e.children[t])}),i=r.filter(e=>e.pt_id===t.pt_id)}catch(e){console.error(e.message)}if(1===i.length&&(n=i[0]),!n){t.parentID=e.hid,n=Hoe.buildAccessories(t,r);const i=t.elements;if(i&&i.length>0){const e=t.elements.length;for(let r=0;r<e;r++)i[r].HPTID===t.pt_id&&n.addII(+i[r].II)}e.children[n.hid]=n}}return 0!==Object.keys(e.children).length}};var Xoe=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class Koe{constructor(){this.hierachyList={}}addOrGetObjByID(e,t,r){return this.hierachyList[e]?this.hierachyList[e]:r?(this.hierachyList[t]?(r.parentID=t,this.hierachyList[t].children||(this.hierachyList[t].children={}),this.hierachyList[t].children[e]=r,this.hierachyList[e]=this.hierachyList[t].children[e]):this.hierachyList[e]=r,this.hierachyList[e]):null}getChildrenByID(e){const t=[];return this.hierachyList[e]?(Object.keys(this.hierachyList[e].children).forEach(e=>{t.push(this.hierachyList[e])}),t):[]}getSortedCategories(e){const t=this.getBottomUp();return t.sort((t,r)=>e?(+t.priority||1/0)-(+r.priority||1/0):(+r.priority||-1/0)-(+t.priority||-1/0)),t}getElementsWithoutCategory(){const e=this.getBottomUp();let t=[];return e.forEach(e=>{t=t.concat(Object.values(e.children))}),t}getBottomUp(){const e=[];return Object.keys(this.hierachyList).forEach(t=>{this.hierachyList[t].parentID||e.push(this.hierachyList[t])}),e}getListArray(){const e=[];return Object.keys(this.hierachyList).forEach(t=>{e.push(this.hierachyList[t])}),e}getCategories(){const e=[];return Object.keys(this.hierachyList).forEach(t=>{!this.hierachyList[t].parentID&&this.hierachyList[t]instanceof Foe&&e.push(this.hierachyList[t])}),e}getGroups(){const e=[];return Object.keys(this.hierachyList).forEach(t=>{this.hierachyList[t]instanceof Boe&&e.push(this.hierachyList[t])}),e}getListGroups(){const e=[];return Object.keys(this.hierachyList).forEach(t=>{this.hierachyList[t]instanceof Uoe&&e.push(this.hierachyList[t])}),e}getElementsByJSN(e){const t=Object.keys(this.hierachyList).filter(t=>this.hierachyList[t].JavaScriptNumber===e),r=[];return r.push(this.hierachyList[t[0]]),r}getElementsByArtN(e){const t=Object.keys(this.hierachyList).filter(t=>this.hierachyList[t].ArticleNumber===e),r=[];return t.forEach(e=>{r.push(this.hierachyList[t[0]])}),r}getElementsByHPTID(e){const t=Object.keys(this.hierachyList).filter(t=>this.hierachyList[t].HashID===e),r=[];return t.forEach(e=>{r.push(this.hierachyList[t[0]])}),r}getElementsByInstanceID(e){const t=Object.keys(this.hierachyList).filter(t=>!!this.hierachyList[t].InstanceID&&(Array.isArray(this.hierachyList[t].InstanceID)?this.hierachyList[t].InstanceID.indexOf(e)>-1:this.hierachyList[t].InstanceID===e)),r=[];return t.forEach(e=>{r.push(this.hierachyList[t[0]])}),r}getDeleteElementByInstanceID(e){const t=Object.keys(this.hierachyList).filter(t=>!!(this.hierachyList[t]instanceof OI&&this.hierachyList[t].InstanceID)&&this.hierachyList[t].InstanceID===e);if(t.length>0)return this.hierachyList[t[0]]}getDeleteElementsByInstanceIDs(e){const t=[];return e.forEach(e=>{const r=this.getDeleteElementByInstanceID(e);r&&t.indexOf(r)<0&&t.push(r)}),t}countInstanceIDs(){const e=[];return Object.values(this.hierachyList).forEach(t=>{t&&t.InstanceID&&t.InstanceID.length>0&&t.InstanceID.forEach(t=>{-1===e.indexOf(t)&&e.push(t)})}),e.length}removeElement(e){const t=this.hierachyList[e];if(!t)return;const r=e=>{e&&e.children&&Object.keys(e.children).forEach(t=>{r(e.children[t]),delete e.children[t]})};if(r(t),t.parentID){const e=this.addOrGetObjByID(t.parentID);e&&(delete e.children[t.hid],0===Object.keys(e.children).length&&this.removeElement(e.hid))}delete this.hierachyList[e]}clearUnusedInstanceIDs(e){e.forEach(e=>{this.getElementsByInstanceID(e).forEach(t=>{t.removeII(e)})})}reloadHierarchy(e){if(this.clear(),fme.InteriorDesign.IsAvailable)return Yoe.getNewMods([],Yoe.hierarchies.inUseHierarchy).then(t=>Xoe(this,void 0,void 0,function*(){if(fme.InteriorDesign.Revision===e&&(Yoe.parse(t,this),fme.InteriorDesign.Revision===e))return fme.InteriorDesign.update(this,e)}))}clear(){this.hierachyList={}}refreshHierarchy(){const e=new Koe;fme.InteriorDesign.IsAvailable&&Yoe.getNewMods([],e).then(t=>{Yoe.parse(t,e);return this.getListArray().forEach(t=>{let r=[];t instanceof Moe?(t.HashID?r=e.getElementsByHPTID(t.HashID):t.JavaScriptNumber&&(r=e.getElementsByJSN(t.JavaScriptNumber)),r&&r.length>0||this.removeElement(t.hid)):t.children&&0===t.children.length&&this.removeElement(t.hid)}),!0}).then(()=>{fme.InteriorDesign.update(this)})}checkElements(){return ape.getPropDelElems().then(e=>{Object.keys(this.hierachyList).filter(e=>this.hierachyList[e]instanceof BI).forEach(t=>{const r=this.hierachyList[t];Object.keys(r.children).forEach(n=>{const i=this.hierachyList[t].children[n];0===e.Results.filter(e=>i.InstanceID===e.II).length&&r.removeChild(i.hid)})})})}LoadDeleteView(){return ape.getPropDelElems().then(e=>{$(".delete-content");return new Promise((t,r)=>{const n=[];if(e.Results.forEach(e=>{if(lae.get(e.II)){let t={},r="",i="",o="";if(e.jsn?(t=this.getElementsByJSN(e.jsn),r=e.EFN,i=lm.getUrl(e.m_hash,e.p_hash,"art",e.jsn),o=e.jsn):(t=this.getElementsByHPTID(e.m_hash+"_"+e.p_hash+"_"+e.pt_id),r=e.pt_id,i=lm.getUrl(e.m_hash,e.p_hash,"ptImg",e.pt_id),o=e.pt_id),t.length>0){const s=n.filter(e=>e.parentID===r);if(0===s.length){const s=BI.build({jsn:!!e.jsn,parentID:r,GI:i,GKey:o,GTID:e.artText||t[0].text,pt_id:r},this);n.push(s)}}}}),e.Results.forEach(e=>{let t={},r="",i="",o="";e.jsn?(t=this.getElementsByJSN(e.jsn),r=e.EFN,i=lm.getUrl(e.m_hash,e.p_hash,"art",e.jsn),o=e.jsn):(t=this.getElementsByHPTID(e.m_hash+"_"+e.p_hash+"_"+e.pt_id),r=e.pt_id,i=lm.getUrl(e.m_hash,e.p_hash,"ptImg",e.pt_id),o=e.pt_id),t.length>0&&(e.text=e.artText||t[0].text);const s=n.filter(e=>e.pt_id===r);if(s.length>0){e.parentID=s[0].hid;const t=OI.build(e,this);s[0].children[t.hid]=t}}),n.length>0){const e=new SI;return e.addGroups(n),t(e)}return t()}).then(e=>!!e&&(fme.InteriorDesign.setElementsManual([e]),fme.InteriorDesign.setCurrentType("deletePage"),$(".accordion-group-component").accordion({selector:{trigger:".title"},onOpening:()=>{$(this.context).data("element").onOpening(this.index(".content"))},onClosing:()=>{$(this.context).data("element").onClosing(this.index(".content"))}}),!0))})}}const Zoe=new class{constructor(){this._selectables=[],this._defaultSelectable=[Vp.DHLOBase,Vp.BoundingBoxClass,Vp.DHFloorClass,Vp.VPlacerBoxClass,Vp.DimLinearLineClass],document.addEventListener("readystatechange",()=>{"complete"===document.readyState&&this.resetSelectable()})}setSelectable(e){this._selectables=[],this._selectables&&this._selectables.push(e)}addSelectable(e){-1===this._selectables.indexOf(e)&&this._selectables.push(e)}removeSelectable(e){const t=this._selectables.indexOf(e);-1!==t&&this._selectables.splice(t,1)}resetSelectable(){this._selectables=this._defaultSelectable.slice(),Bde.DimLineIntersectionDisabled||this._defaultSelectable.push(Vp.DimLinearLineClass)}isSelectable(e){return-1!==this._selectables.indexOf(e)}countSelectable(){return this._selectables.length}};const ese=new class extends Yre{updateState(e,t){const r=1===e.buttons;this.dragging=r,this.outside=!t,r&&t&&(this.wasDragging=!0),this.isNew?this._canUseCamera=!(r||t):this._canUseCamera=!1}logState(e=""){}constructor(){super("accessoriesDrag"),this._triggerOnMove=!1,this.dragging=!1,this.outside=!1,this.isNew=!1,this.isEditing=!1,this.wasDragging=!1}preBegin(...e){return this.isNew=!0,this._canUseCamera=!1,super.preBegin(...e)}begin(...e){if(!super.begin(e))return!1;this._extData=e&&e.length>0?e[0]:null,Zoe.removeSelectable(Vp.DimLinearLineClass),Bde.NoInteractionMode=!0,Poe.setStrategy(Poe.pickBBox3),Yse.IsBoundingBoxIntersection&&kse.isCanvas()&&0===$le.Count?(FI.changeMaterialLeave(),FI.changeMaterialOver(Yse.IntersectedBoundingBox)):FI.changeMaterialLeave(),Bde.ForceCameraZoomAllowed=!0,this.dragging&&(this.isNew=!0)}update(...e){if(!super.update(e))return!1;Wp.getType()===Mp.MOBILE&&(Yse.Offset={x:30,y:70}),0!==$le.Count&&$le.clear(!0);const t=Yse.InteractionMode;if((t===Pp.FITTING||t===Pp.PROPTRANSFER||t===Pp.ELEMENT_MOVE)&&Wp.getType()===Mp.MOBILE){kse.OffsetCursor.removeClass("hidden");const e=Yse.CalcOffset(event,!0);kse.OffsetCursor.css("left",e.offsetX),kse.OffsetCursor.css("top",e.offsetY)}const r=Yse.IsBoundingBoxIntersection&&kse.isCanvas();if("number"==typeof e[0])this.isNew=!1,this.isEditing=!0,this.dragging=!1;else{const t=e[0];this.updateState(t,r)}this.logState("update"),r&&0===$le.Count?(FI.changeMaterialLeave(),FI.changeMaterialOver(Yse.IntersectedBoundingBox)):FI.changeMaterialLeave(),(Yse.InteractionMode===Pp.REPLACE_FITTING||Yse.InteractionMode===Pp.FITTING||Yse.InteractionMode===Pp.PROPTRANSFER&&this._canSend)&&this.SendDrag(e[0])}end(...e){return!!super.end(e)&&(FI.changeMaterialLeave(),(Yse.InteractionMode===Pp.REPLACE_FITTING||Yse.InteractionMode===Pp.FITTING||Yse.InteractionMode===Pp.PROGPROPERTY||Yse.InteractionMode===Pp.PROPTRANSFER&&this._canSend)&&this.EndDrag(),Wp.getType()===Mp.MOBILE&&(Yse.Offset={x:0,y:0},kse.OffsetCursor.addClass("hidden")),this.logState("end"),this.wasDragging?(this.logState("cancel by wasDragging"),this.wasDragging=!1,void this.cancel(e)):this.dragging||this.outside&&!this.isNew?(this.logState("cancel"),void this.cancel(e)):this.isEditing&&Yse.InteractionMode===Pp.FITTING?(this.logState("cancel by fitting edit end"),void this.cancel(e)):(this.dragging=!1,this.outside=!1,void(this._canUseCamera=!1)))}cancel(...e){if(!super.cancel(e))return!1;FI.changeMaterialLeave(),(Yse.InteractionMode===Pp.REPLACE_FITTING||Yse.InteractionMode===Pp.FITTING||Yse.InteractionMode===Pp.PROGPROPERTY||Yse.InteractionMode===Pp.PROPTRANSFER&&this._canSend)&&(this.CancelDrag(e[0]||{}),une.dispatch("clearDummy"),Poe.setStrategy(Poe.pickGeometry),Yse.InteractionMode=Pp.DEFAULT),Wp.getType()===Mp.MOBILE&&(Yse.Offset={x:0,y:0},kse.OffsetCursor.addClass("hidden")),FI.clearMarker(!0),VI.clearLastIfNecessary(),Yse.clearSceneAction(!0),Zoe.addSelectable(Vp.DimLinearLineClass),this.wasDragging=!1,this.isEditing=!1,Bde.ForceCameraZoomAllowed=!0,this._canUseCamera=!0}reset(...e){return this._canUseCamera=!0,super.reset(...e)}SendDrag(e){this._canSend&&Yse.InteractionMode===Pp.FITTING&&(this._canSend=!1,ape.dragFitting().then(()=>{this._canSend=!0}).catch(e=>{this._canSend=!0,console.err(e)}))}EndDrag(){Yse.InteractionMode===Pp.FITTING&&(this._canSend=!0,ape.stopDraggingFitting().catch(e=>{console.err(e)}))}CancelDrag(e){this._canSend=!0,Yse.InteractionMode===Pp.FITTING?ape.cancelDraggingFitting(e).catch(e=>{console.err(e)}):Yse.InteractionMode===Pp.PROGPROPERTY&&ape.cancelPropTransfer().catch(e=>{console.err(e)})}};var tse=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};const rse=new class{constructor(){}backToApp(e){return tse(this,void 0,void 0,function*(){e=e||{},yield boe.setLanguage(g_language),e.message&&(e.message=boe.getValue(e.message));const t=yield upe.logout();window!==window.parent&&window.parent.postMessage({command:"furnview-app-back",parameters:[e]},"*"),window.onbeforeunload=null,window.location.href=t})}isApp(){return tse(this,void 0,void 0,function*(){return new Promise((e,t)=>{const r=setTimeout(()=>(clearTimeout(r),upe.off("isApp"),Bde.IsApp=!1,e(!1)),3e3);upe.on("isApp",t=>(clearTimeout(r),upe.off("isApp"),Bde.IsApp=t,e(t))),upe.sendToApp("isApp",[])})})}};var nse=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};const ise=new class{constructor(){this.isFrozen=!1,this.requestNode=!0}getSessionId(){var e;return null===(e=this.node)||void 0===e?void 0:e.sessionId}getWebUrl(){return this.node.url.replace("ws://","http://").replace("wss://","https://")}getNode(){return new Promise((e,t)=>{const r=new URL(window.location.href),n=/(.*)(server=)(.*?)($|&)/,i=/(.*)(ip=)(.*?)($|&)/,o=/(.*)(price-country=)(.*?)($|&)/,s=!!window.location.href.match(n)&&window.location.href.match(n)[3],a=window.location.href.match(i)?window.location.href.match(i)[3]:"0",l=window.location.href.match(o)?window.location.href.match(o)[3]:"",c=r.searchParams.get("token-alias")||"",u=r.searchParams.get("buying-group")||"",d=r.searchParams.get("cloudId")||"",h=`${dpe.get("/furnplan_node")}&server=${s}&ip=${a}&price-country=${l}&token-alias=${c}&buying-group=${u}&cloudId=${d}&random-request-id=${Date.now()}`;fetch(h,{method:"GET",cache:"no-cache",credentials:"same-origin",redirect:"follow"}).then(r=>nse(this,void 0,void 0,function*(){if(!r.ok){if(422===r.status){try{"SESSION_ALREADY_EXISTS"===(yield r.json()).error&&(this.requestNode=!1)}catch(e){this.requestNode=!1}return t(new Error("SESSION_ALREADY_EXISTS"))}return console.log(r.statusText),t()}const n=yield r.json();this.node=n,n&&n.url&&n.url.length>0?g_node_url_prefix=n.url.replace(/^ws/,"http"):window.location.reload(),upe.dispatch("serverknown",[g_node_url_prefix]),e(n)})).catch(e=>{console.log(e),t()})}).catch(e=>nse(this,void 0,void 0,function*(){return this.requestNode?(console.log("Unable to get a node, retrying..."),Bde.IsApp?Promise.reject(e):(yield new Promise(e=>setTimeout(e,2e3)),yield this.getNode())):Promise.reject(e)})).then(e=>{let t=dpe.get(window.location);if(e.sessionId){const r=new URL(t);r.searchParams.set("session",e.sessionId),t=r.href}return history.replaceState({},"",t),e}).catch(e=>{"SESSION_ALREADY_EXISTS"===(e=e||{}).message?(Nhe.showSessionAlreadyExists(),rse.backToApp({error:"socket_already_exists",message:"fv.message.session_already_exists"})):rse.backToApp({error:"getNode_error",message:"fv.message.unable_to_getNode"})})}freezeNode(){return new Promise((e,t)=>{fetch(`${dpe.get("/freeze_furnplan_node")}&random-request-id=${Date.now()}`,{method:"GET",cache:"no-cache",credentials:"same-origin",redirect:"follow"}).then(r=>nse(this,void 0,void 0,function*(){if(!r.ok){if(422===r.status){try{"SESSION_ALREADY_FROZEN"===(yield r.json()).error&&(this.isFrozen=!0)}catch(e){this.isFrozen=!0}return t(new Error("SESSION_ALREADY_FROZEN"))}return console.log(r.statusText),t()}const n=yield r.json();return e(n)})).catch(e=>(console.log(e),t()))}).catch(e=>nse(this,void 0,void 0,function*(){return this.isFrozen?Promise.reject(e):(console.log("Unable to freeze node, retrying..."),yield new Promise(e=>setTimeout(e,2e3)),yield this.getNode())}))}unfreezeNode(e){return new Promise((t,r)=>{fetch(`${dpe.get("/unfreeze_furnplan_node")}&arToken=${e}&sessionId=${g_sessionId}&random-request-id=${Date.now()}`,{method:"GET",cache:"no-cache",credentials:"same-origin",redirect:"follow"}).then(e=>nse(this,void 0,void 0,function*(){if(!e.ok){if(422===e.status){try{"SESSION_ALREADY_FROZEN"===(yield e.json()).error&&(this.isFrozen=!0)}catch(e){this.isFrozen=!0}return r(new Error("SESSION_ALREADY_FROZEN"))}return console.log(e.statusText),r()}const n=yield e.json();return g_node_url_prefix=n.url.replace(/^ws/,"http"),upe.dispatch("serverknown",[g_node_url_prefix]),t(n)})).catch(e=>(console.log(e),r()))}).catch(e=>nse(this,void 0,void 0,function*(){return this.isFrozen?Promise.reject(e):(console.log("Unable to freeze node, retrying..."),yield new Promise(e=>setTimeout(e,2e3)),yield this.getNode())}))}},ose={showConnectionLostMessage:function(){$(".dhmc-error-message").text("Lost Connection")}};var sse=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};const ase=new class extends _{constructor(e){super(),super.setCommunicator(e),e.defineRoute(w.Furnplan,null).on("status",(e,t)=>this.onFpStatusChange(e,t)),pM.on("pageshow",()=>{console.log("pageshow"),e.getRouteStatus(w.Furnplan)<=s.DISCONNECTING&&this.startNodeConnection()})}mapOldArrayData(e){return Array.isArray(e)&&(e={ADATA:e}),e}processMessage(e){var t,r,n;if("resumedSession"===e.header.command?(null===(t=this.webSocketConnector)||void 0===t||t.disconnect(),Nhe.showSessionResumed(),Tm.dispatch(JSON.stringify({C:"resumedSession"}))):"suspendSession"===e.header.command?(null===(r=this.webSocketConnector)||void 0===r||r.disconnect(),Nhe.showSessionSuspended(),Tm.dispatch(JSON.stringify({C:"suspendSession"}))):"OnSceneUpdate"===e.header.command&&ape.setScene(e.data),"string"==typeof(null===(n=e.data)||void 0===n?void 0:n.command))return Rm.dispatch(e.data,"")}fpSend(e,t){super.send(w.Furnplan,e,this.mapOldArrayData(t))}fpRequest(e,t){const r=Object.create(null,{request:{get:()=>super.request}});return new Promise((n,i)=>sse(this,void 0,void 0,function*(){const i=yield r.request.call(this,w.Furnplan,e,this.mapOldArrayData(t));Array.isArray(null==i?void 0:i.ADATA)&&n(i.ADATA),n(i)}))}onFpStatusChange(e,t){e==s.READY?(t==s.RECONNECTING&&Qte.updateFurnplanKataTree(),this.onClientSocketOpen(!1)):t===s.READY&&this.onClientSocketClosed()}isConnected(){return A.getRouteStatus(w.Furnplan)===s.READY}forceReconnect(){return A.getRoute(w.Furnplan).asPromise("ready")}onClientSocketClosed(){return sse(this,void 0,void 0,function*(){Nhe.showLoader(),upe.dispatch("session_disconnect"),console.log("web socket connection closed"),Bde.IsApp&&rse.backToApp({error:"socket_close",message:"fv.message.session_disconnect"})})}onClientSocketError(){return sse(this,void 0,void 0,function*(){if(console.log("connection to server could not be established"),ose.showConnectionLostMessage(),Bde.IsApp)return rse.backToApp({error:"socket_error",message:"fv.message.connection_established"}),!1})}requestNode(){return sse(this,void 0,void 0,function*(){let e;const t="object"==typeof globalThis.timeline?globalThis.timeline.add("Node: Request"):null,r=new URL(location.href).searchParams.get("arConf");if(r){const t=JSON.parse(zme.getString(r,!0,!0));e=yield ise.unfreezeNode(t.token)}else e=yield ise.getNode();return t&&t.stop(),e})}startNodeConnection(){return sse(this,void 0,void 0,function*(){const e=yield this.requestNode(),t=new URL(e.url);t.searchParams.set("session",e.sessionId);const r=new S(t),n=this.webSocketConnector=new f(r);n.setDebugName("Node-Socket"),n.setPingTime(),n.setReconnectConfig({counter:-1,delay:1e3,customHook:()=>sse(this,void 0,void 0,function*(){const e=yield this.requestNode(),t=new URL(e.url);return t.searchParams.set("session",e.sessionId),r.setUrl(t),!0})}),n.setCommunicator(A,[w.Furnplan,w.Node]),n.connect()})}onClientSocketOpen(e){return sse(this,void 0,void 0,function*(){try{if(yield ape.getScene(),g_isInitialized||(fme.initializeDOM(),g_isInitialized=!0),window.g_article&&window.g_article.manu&&(yield ape.setManuProg(window.g_article.manu,window.g_article.mprog,window.g_article.manu)),!e){const e=new URL(window.location.href).searchParams.has("cloudId");Bde.VPlacerGroup&&ape.setPlacerGroup(window.g_article.manu,window.g_article.prog,Bde.VPlacerGroup,!0,3),g_configuration.load_initial_article&&window.g_article&&window.g_article.artno&&0!==window.g_article.artno.length&&0===fle.listOfTargets.length&&!e&&ape.loadArticle(window.g_article.manu,window.g_article.prog,window.g_article.artno,window.g_article.entityType,!0)}if(Gre.getManufacturer().length>0&&Gre.getProgram().length>0&&ape.setManuProg(Gre.getManufacturer(),Gre.getProgram(),Gre.getCalcManufacturer()),g_configuration.panel_right_register_old_kata_tree&&(yield Qte.isCatalogInitialized()),upe.dispatch("appready"),Bde.EnableExternalPropertyUpdates){const e=yield Coe.loadProgram({manufacturer:"",program:""});upe.sendToApp("external.property-updates.initialProperties",[e])}Nhe.hideDimmer()}catch(e){console.error(e)}})}}(A);var lse=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};const cse=new class{get DragMode(){return this._dragMode}set DragMode(e){this._dragMode=e}constructor(){this.lastEvents={},this.dummyHierarchy=new Koe,this.currentDummy=[],this.currentDummyPropTransfer={},this.currentDummyProgProperty={},this.currentIIS=[],this._dragMode=!1,this.switchMap=new Map([["loadArticleAction",e=>lse(this,void 0,void 0,function*(){return yield this.loadArticle(e)})],["placeVZAction",e=>lse(this,void 0,void 0,function*(){return yield this.loadArticle(e)})],["fittingAction",e=>lse(this,void 0,void 0,function*(){return this.fitting(e),!0})],["delFittingAction",e=>lse(this,void 0,void 0,function*(){return this.delFitting(e),!0})],["replaceFittingAction",e=>lse(this,void 0,void 0,function*(){return this.replaceFitting(e),!0})],["proptransferAction",e=>lse(this,void 0,void 0,function*(){return this.propTransfer(e),!0})],["proptransferWorldAction",e=>lse(this,void 0,void 0,function*(){return yield this.propTransferWorld(),!0})],["runFuncAction",e=>lse(this,void 0,void 0,function*(){return yield ape.updateScene(),!0})],["placePVAction",e=>lse(this,void 0,void 0,function*(){return yield this.placePV(e)})],["getPropTransferExchangeData",e=>lse(this,void 0,void 0,function*(){return yield this.getPropTransferExchangeData(e),!0})],["delPropTransferExchangeData",e=>lse(this,void 0,void 0,function*(){return yield this.delPropTransferExchangeData(e),!0})],["loadPlanningAction",e=>lse(this,void 0,void 0,function*(){return!0})],["cancelled",e=>lse(this,void 0,void 0,function*(){return!0})]]),Qp.register("StartPropTransfer",(...e)=>{let t=Promise.resolve();return t=e[0]&&"object"==typeof e[0]?ase.fpRequest("StartPropTransfer",e[0]):ase.fpRequest("StartPropTransfer",e),t.then(e=>e).catch(e=>{console.error(e)})}),Qp.register("ModPropTransfer",(...e)=>{let t=e;return e[0]&&"object"==typeof e[0]?(t=e[0],t[0].command="getPropTransferExchangeData"):t[0]={command:"getPropTransferExchangeData"},this.switch(t).then(function(e){return e})}),Qp.register("DelPropTransfer",(...e)=>{let t=Promise.resolve();return t=e[0]&&"object"==typeof e[0]?ase.fpRequest("DelPropTransfer",e[0]):ase.fpRequest("DelPropTransfer",e),t.then(e=>e).catch(e=>{console.error(e)})})}loadArticle(e){if(this._dragMode=!1,Xce.IsActive&&0===lae.getPOIIs().length&&oM.setDirection(Op.FREE),une.dispatch("clearDummy"),e[1].artNo)return Bde.IsPlacerMode?new Promise(t=>(ape.PlacerAddObject({ManuHash:e[1].mHash,ProgHash:e[1].pHash,ArticleNumber:e[1].artNo,extParam:e[1].extParam||""},new br,e[1].type||0),t(null))):ape.loadArticle(e[1].manu,e[1].prog,e[1].artNo,"a").then(()=>{})}wallFitting(e){this._dragMode=!1,une.dispatch("clearDummy"),this.lastEvents.fittingAction={func:this.wallFitting,params:e};const t={manu:e[0].manu,prog:e[0].prog,p_hash:"",m_hash:"",type:e[0].elementType,artNo:e[0].type,text:"",parapetHeight:e[0].bh,width:e[0].dx,height:e[0].dz};Poe.setStrategy(Poe.pickBBox3),Bde.NoInteractionMode=!0,$le.clear(),fle.listOfSelectedTargets=$le.objects.slice(),aue.CenterPointNeedsUpdate=!0,this.currentDummy=$("#clickDnDDummy"),this.currentDummy.length>0&&this.currentDummy.remove();const r=Sie.getWallElement(t);r.isWallInteraction=!0,$le.clear();const n=r.InstanceID;this.currentIIS=r.InstanceID;for(let e=0;e<n.length;e++){const t=lae.get(n[e]);t&&"dhd1"!==t.Prog&&FI.addMarker(t)}this.currentDummy=r.buildDOM(),this.currentDummy[0].id="clickDnDDummy",this.currentDummy.css("display","none"),this.currentDummy.appendTo("body");const i=()=>{une.off("clearDummy",i),r.dispose(),this.currentDummy.length>0&&this.currentDummy.remove()};une.on("clearDummy",i),r.drag_Handler.trigger("mousedown"),r.drag_Handler.trigger("mouseup")}propTransfer(e){}fitting(e){var t;Bde.NoInteractionMode=!0,Yse.InteractionMode=Pp.FITTING,Yse.updateSceneAction(ese.ActionName),null===(t=Yse.SceneAction)||void 0===t||t.begin()}delFitting(e){var t;this._dragMode=!1,une.dispatch("clearDummy"),e[1]&&e[1].params&&1===e[1].params.length&&(Yse.clearSceneAction(),Yse.updateSceneAction("fittingDelete"),null===(t=Yse.SceneAction)||void 0===t||t.begin([e[1].params[0]]))}replaceFitting(e){if(this._dragMode=!1,une.dispatch("clearDummy"),e[1].iis.length>0){Yse.SceneAction&&Yse.clearSceneAction(),VI&&VI.status&&(VI.clearLastIfNecessary(),VI.status=""),$le.clear(),Poe.setStrategy(Poe.pickBBox3),Yse.InteractionMode=Pp.REPLACE_FITTING,Bde.NoInteractionMode=!0;const t=e[1].iis;this.currentIIS=e[1].iis;for(let e=0;e<t.length;e++){const r=lae.get(t[e]);r&&"dhd1"!==r.Prog&&FI.addMarker(r)}}}propTransferWorld(){return this._dragMode=!1,une.dispatch("clearDummy"),ape.updateScene().then(()=>{Bde.CameraFixedView&&Bde.CameraFrontDefaultZoom&&!Yse.SceneAction&&aue.CurrentCamera.startZoom(!0,!1,!0)})}placePV(e){if(this._dragMode=!1,une.dispatch("clearDummy"),e[1].artNo)return Bde.IsPlacerMode?new Promise(t=>(ape.PlacerAddObject({ManuHash:e[1].mHash,ProgHash:e[1].pHash,ArticleNumber:e[1].artNo,extParam:e[1].extParam||""},new br,"2"),t(null))):ape.loadPVArticle(e[1].manu,e[1].prog,e[1].artNo).then(()=>{})}getPropTransferExchangeData(e){return une.dispatch("clearDummy"),this.lastEvents.propTransfer={func:this.getPropTransferExchangeData,params:e},ape.startPropTransfer(e[1])}delPropTransferExchangeData(e){return this._dragMode=!1,une.dispatch("clearDummy"),ape.DelPropTransfer(e[1])}switch(e){return lse(this,void 0,void 0,function*(){try{Ame.requestRendering();const t=e[0].command;if(null==t)throw new Error("Unable to execute non-existing DHTodo with undefined name");const r=this.switchMap.get(t);if(null==r)throw new Error(`Unable to execute non-existing DHTodo with name '${t}'`);const n=yield r(e);return $("#furnplan-kata-tree").blur(),n}catch(e){throw console.error(e),e}})}};const use=new class{constructor(){this.eventMatchers={HTMLEvents:/^(?:load|unload|abort|error|select|change|submit|reset|focus|blur|resize|scroll)$/,MouseEvents:/^(?:click|dblclick|mouse(?:down|up|over|move|out))$/},this.defaultOptions={pointerX:0,pointerY:0,button:0,ctrlKey:!1,altKey:!1,shiftKey:!1,metaKey:!1,bubbles:!0,cancelable:!0,isSimulated:!0}}simulate(e,t){const r=this.extend(this.defaultOptions,arguments[2]||{});let n,i=null;for(const e in this.eventMatchers)if(this.eventMatchers[e].test(t)){i=e;break}if(!i)throw new SyntaxError("Only HTMLEvents and MouseEvents interfaces are supported");if(document.createEvent)n=document.createEvent(i),"HTMLEvents"==i?n.initEvent(t,r.bubbles,r.cancelable):n.initMouseEvent(t,r.bubbles,r.cancelable,document.defaultView,r.button,r.pointerX,r.pointerY,r.pointerX,r.pointerY,r.ctrlKey,r.altKey,r.shiftKey,r.metaKey,r.button,e),n.isSimulated=r.isSimulated,e.dispatchEvent(n);else{r.clientX=r.pointerX,r.clientY=r.pointerY;const i=document.createEventObject();n=this.extend(i,r),e.fireEvent("on"+t,n)}return e}extend(e,t){for(const r in t)e[r]=t[r];return e}};var dse;!function(e){e[e.ARTICLE=0]="ARTICLE",e[e.PROPTRANSFER=1]="PROPTRANSFER",e[e.BY_MODE=2]="BY_MODE",e[e.FITTING=3]="FITTING",e[e.WALL_FITTING=4]="WALL_FITTING",e[e.PROGPROPERTY=5]="PROGPROPERTY"}(dse||(dse={}));const hse=new class{constructor(){this._dragStarted=!1,this._dragImage=null,this._frame=null,this.initialize()}get IsDragging(){return this._dragStarted}get DragImage(){return this._dragImage||(this._dragImage=document.createElement("img"),this._dragImage.id="iframe-drag-image",this._dragImage.classList.add("hidden")),this._dragImage.parentElement||document.body.appendChild(this._dragImage),this._dragImage}createDragElement(e,t){const r=e=>{Yse.IsMoving&&!this._dragStarted&&(upe.dispatch("furnplan.dragStart",[t.dragType,t,null,t.dragImage]),this._dragStarted=!0),Yse.onMove(e)},n=e=>{document.removeEventListener("mousemove",r),document.removeEventListener("touchmove",r),document.removeEventListener("mouseup",n),document.removeEventListener("touchend",n),document.removeEventListener("touchcancel",n),this._dragStarted=!1},i=e=>{document.addEventListener("mousemove",r),document.addEventListener("touchmove",r),document.addEventListener("mouseup",n),document.addEventListener("touchend",n),document.addEventListener("touchcancel",n)};e.addEventListener("mousedown",i),e.addEventListener("touchstart",i)}initializeStartDrag(){upe.on("furnplan.dragStart",(e,t,r,n)=>{Yse.SceneAction&&(Yse.SceneAction.cancel(),Yse.clearSceneAction()),r=r||Yse.CurrentPosition;const i=this._frame?this._frame.offset().left+r.x:r.x,o=this._frame?this._frame.offset().top+r.y:r.y;switch(this.setDragImage(n),this._dragStarted=!0,use.simulate(document,"mousedown",{pointerX:i,pointerY:o}),+e){case dse.PROPTRANSFER:cse.DragMode=!0,ape.startPropTransfer(t.id);break;case dse.ARTICLE:cse.DragMode=!0;let e=Promise.resolve();Bde.FreePlacingWhileDragNDrop&&(this._tempDirection=Bde.PlacerDirection,e=ape.PlacerSetDir(Op.FREE)),e.then(()=>{ape.PlacerAddObject({ArticleNumber:t.id,ManuHash:t.manu||window.g_article.manu,ProgHash:t.prog||window.g_article.prog,once:!Bde.FreePlacingWhileDragNDrop,preventVPlacer:!1,extParam:t.extData})});break;case dse.FITTING:cse.DragMode=!0,ape.dhTodo([0,{manu:t.manu||window.g_article.manu,kataManu:t.manu||window.g_article.manu,params:[t.id]}]);break;case dse.BY_MODE:cse.DragMode=!0,ape.dhTodo([t.mode,{manu:t.manu||window.g_article.manu,kataManu:t.manu||window.g_article.manu,params:[t.id]}]);break;case dse.WALL_FITTING:{cse.DragMode=!0,Yse.updateSceneAction("accessoriesDrag");let e=[],r=[];r=Aie.FPWallHandling?Object.values(Aie.fp_walls):Aie.currentWall.segments,e=r.map(e=>e.instanceIdent),Yse.InteractionMode=Pp.FITTING,ape.startDraggingFitting({ManuName:"_GLOBAL",ProgName:"DHD1",ArticleNumber:t.id,JavaScriptNumber:t.id,Type:t.type,PickLevel:+t.pickLevel,InstanceID:e,size:{x:t.size.x.value?t.size.x.value:t.size.x,y:t.size.y.value?t.size.y.value:t.size.y,z:(t.size.z&&t.size.z.value?t.size.z.value:t.size.z)||-1}});break}case dse.PROGPROPERTY:ape.modifyProperty([t.extData],t.options?t.options:{modifyElement:!0})}})}initializeMoveDrag(){upe.on("furnplan.dragMove",e=>{if(e=e||Yse.CurrentPosition,this._dragStarted){const t=this._frame?this._frame.offset().left+e.x:e.x,r=this._frame?this._frame.offset().top+e.y:e.y;this.DragImage.src&&this.setImagePos(t,r),use.simulate(document,"mousemove",{pointerX:t,pointerY:r})}})}initializeEndDrag(){upe.on("furnplan.dragEnd",e=>{e=e||Yse.CurrentPosition;const t=this._frame?this._frame.offset().left+e.x:e.x,r=this._frame?this._frame.offset().top+e.y:e.y;this.DragImage.src&&this.setImagePos(t,r),this._dragStarted=!1,use.simulate(document,"mouseup",{pointerX:t,pointerY:r}),this.hideImage(),this._tempDirection&&(ape.PlacerSetDir(this._tempDirection),this._tempDirection=void 0)})}initialize(){$(document).ready(()=>{g_configuration.panel_right_register_old_kata_tree&&(this._frame=$("#furnplan-kata-tree")),this.initializeStartDrag(),this.initializeMoveDrag(),this.initializeEndDrag()})}setDragImage(e){if(e&&e.length>0){this.setImagePos(-1e3,-1e3);const t=new Image;t.src=e,t.onload=()=>{t.width<t.height?(this.DragImage.classList.add("high"),this.DragImage.classList.remove("wide")):(this.DragImage.classList.add("wide"),this.DragImage.classList.remove("high")),this.DragImage.src=e,this.showImage()},t.onerror=()=>{this.DragImage.src="",this.hideImage()},this.DragImage.src&&this.showImage()}else this.hideImage()}setImagePos(e,t){this.DragImage.style.left=e+3+"px",this.DragImage.style.top=t+3+"px"}showImage(){this.DragImage.classList.remove("hidden")}hideImage(){this.DragImage.classList.add("hidden"),this.DragImage.remove()}};var pse=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};
+/* @license
+ * Copyright 2022 Google LLC. All Rights Reserved.
+ * Licensed under the Apache License, Version 2.0 (the 'License');
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an 'AS IS' BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */class mse extends qn{constructor(){super(),this.camera=new nc,this.renderTarget=null,this.renderTargetBlur=null,this.depthMaterial=new ul,this.horizontalBlurMaterial=new no(uE),this.verticalBlurMaterial=new no(gE),this.intensity=1,this.softness=1,this.boundingBox=new Qr,this.size=new br,this.maxDimension=0,this.isAnimated=!1,this.needsUpdate=!1;const{camera:e}=this;e.rotation.x=Math.PI,e.left=-.5,e.right=.5,e.bottom=-.5,e.top=.5,this.add(e),this._side="bottom";const t=new Ka,r=new vi({opacity:1,transparent:!0,side:1});r.polygonOffset=!0,r.polygonOffsetFactor=1,this.floor=new Yi(t,r),this.floor.userData.shadow=!0,e.add(this.floor),this.blurPlane=new Yi(t),this.blurPlane.visible=!1,e.add(this.blurPlane),this.depthMaterial.onBeforeCompile=function(e){e.fragmentShader=e.fragmentShader.replace("gl_FragColor = vec4( vec3( 1.0 - fragCoordZ ), opacity );","gl_FragColor = vec4( vec3( 0.0 ), ( 1.0 - fragCoordZ ) * opacity );")},this.horizontalBlurMaterial.depthTest=!1,this.verticalBlurMaterial.depthTest=!1,LI.LastPOLoaded.register(()=>pse(this,void 0,void 0,function*(){this.update()}))}set Scene(e){this._scene=e,this.update()}set Softness(e){this.softness=e;const{size:t,camera:r}=this,n=this.isAnimated?2:1,i=n*Math.pow(2,9-3*e);this.MapSize=i;const o=t.z/2,s=t.z*n;r.near=0,r.far=gr.lerp(s,o,e),this.depthMaterial.opacity=1/e,r.updateProjectionMatrix(),this.Intensity=this.intensity,this.Offset=0}set MapSize(e){const{size:t}=this;this.isAnimated&&(e*=2);const r=Math.floor(t.x>t.y?e:e*t.x/t.y),n=Math.floor(t.x>t.y?e*t.y/t.x:e),i=10+r,o=10+n;if(null==this.renderTarget||this.renderTarget.width===i&&this.renderTarget.height===o||(this.renderTarget.dispose(),this.renderTarget=null,this.renderTargetBlur.dispose(),this.renderTargetBlur=null),null==this.renderTarget){const e={format:Ge};this.renderTarget=new jr(i,o,e),this.renderTargetBlur=new jr(i,o,e),this.floor.material.map=this.renderTarget.texture}this.camera.scale.set(t.x*(1+10/r),t.y*(1+10/n),1),this.needsUpdate=!0}get Intensity(){return this.intensity}set Intensity(e){this.intensity=e,e>0?(this.visible=!0,this.floor.visible=!0,this.floor.material.opacity=e*gr.lerp(.3,1,this.softness*this.softness)):(this.visible=!1,this.floor.visible=!1)}set Offset(e){this.floor.position.z=-e+.001*this.maxDimension}update(){if(!this._scene)return;const{boundingBox:e,size:t,rotation:r,position:n}=this;if(this.isAnimated=!1,this.boundingBox.expandByObject(this._scene),this.boundingBox.getSize(this.size),this.maxDimension=Math.max(t.x,t.y,t.z)*(this.isAnimated?2:1),this.boundingBox.getCenter(n),"back"===this._side){const{min:n,max:i}=e;[n.y,n.z]=[n.z,n.y],[i.y,i.z]=[i.z,i.y],[t.y,t.z]=[t.z,t.y],r.x=Math.PI/2,r.y=Math.PI}else r.x=0,r.z=0;if(this.isAnimated){const r=e.min.z,n=e.max.z;t.z=this.maxDimension,e.expandByVector(t.subScalar(this.maxDimension).multiplyScalar(-.5)),e.min.z=r,e.max.z=n,t.set(this.maxDimension,n-r,this.maxDimension)}"bottom"===this._side?n.z=0:n.z=e.min.z,this.Softness=this.softness}render(e,t){if(!this.needsUpdate||!this._scene)return;this.update();const r=MI.getElements(),n=this._scene.children.find(e=>"FURNVIEW_WIDGETS"===e.guid);FI.MarkerElements.forEach(e=>e.visible=!1),aae.ShowLines(!1,!0),t.overrideMaterial=this.depthMaterial;const i=e.getClearAlpha();e.setClearAlpha(0),this.floor.visible=!1,r.forEach(e=>e.visible=!1),n&&(n.visible=!1);const o=e.xr.enabled;e.xr.enabled=!1;const s=e.getRenderTarget();e.setRenderTarget(this.renderTarget);const a=e.autoClear;e.autoClear=!0,e.render(t,this.camera),e.autoClear=a,t.overrideMaterial=null,this.floor.visible=!0,n&&(n.visible=!0),aae.ShowLines(Bde.ShowLines,!0),r.forEach(e=>e.visible=!0),FI.MarkerElements.forEach(e=>e.visible=!0),this.blurShadow(e),e.xr.enabled=o,e.setRenderTarget(s),e.setClearAlpha(i)}blurShadow(e){const{camera:t,horizontalBlurMaterial:r,verticalBlurMaterial:n,renderTarget:i,renderTargetBlur:o,blurPlane:s}=this;s.visible=!0,s.material=r,r.uniforms.h.value=1/this.renderTarget.width,r.uniforms.tDiffuse.value=this.renderTarget.texture,e.setRenderTarget(o),e.render(s,t),s.material=n,n.uniforms.v.value=1/this.renderTarget.height,n.uniforms.tDiffuse.value=this.renderTargetBlur.texture,e.setRenderTarget(i),e.render(s,t),s.visible=!1}}function _se(e){return e.template=`\n        ${window.environment.stylesheets}\n        ${e.template} \n    `,function(t){class r extends t{constructor(){super(),this.attachShadow({mode:"open"}),this.shadowRoot.innerHTML=e.template}}return r.tagName=e.selector.toUpperCase(),customElements.define(e.selector,r),r}}var gse=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};let fse=class extends HTMLElement{constructor(){super(),this._imageUrl=""}set Image(e){this._imageUrl=e,this.style.backgroundImage=`url(${e})`}connectedCallback(){}};fse=gse([_se({selector:"hr-theme",template:"\n    "})],fse);var vse=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s},bse=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};let yse=class extends HTMLElement{constructor(){super(),this._disableButton=null,this._themeList=null}appendTheme(e){const t=new fse;kre.b64toBlob(e.previewImageFile,"image/jpeg").then(e=>{t.Image=e}),t.addEventListener("click",()=>{wse.enable(e)}),this._themeList.appendChild(t)}connectedCallback(){this._disableButton=this.shadowRoot.querySelector("#disable"),this._themeList=this.shadowRoot.querySelector("#theme-list"),this.initializeEvents()}initializeEvents(){this._disableButton.addEventListener("click",()=>{wse.disable()}),document.addEventListener("readystatechange",()=>bse(this,void 0,void 0,function*(){if("complete"===document.readyState){(yield Mse.getThemes()).forEach((e,t)=>bse(this,void 0,void 0,function*(){this.appendTheme(e)}))}}))}reset(){}};yse=vse([_se({selector:"hr-theme-container",template:'\n    <div class="container">\n        <button id="disable">Disable</button>\n    </div>\n    <div id="theme-list"></div>\n    '})],yse);var $se=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};let xse=class extends HTMLElement{get ThemeContainerComponent(){return this._themeContainerComponent}constructor(){super(),this._themeContainerComponent=null}connectedCallback(){this._themeContainerComponent=this.shadowRoot.querySelector("hr-theme-container"),this.initializeEvents()}initializeEvents(){}};var Sse;xse=$se([_se({selector:"hr-body",template:"\n        <hr-theme-container></hr-theme-container>\n    "})],xse),function(e){e[e.RIGHT=0]="RIGHT",e[e.LEFT=1]="LEFT"}(Sse||(Sse={}));const wse=new class{constructor(){this._boxSize={x:4e3,y:4e3,z:2800},this._groupBox=new Qr,this._iWidth=1,this._iHeight=1,this._isBackend=!1,this._enabled=!1,this._options={},this._theme=null,this._lights={},this._side=Sse.RIGHT,this._oldState={groundMirrorState:!1,shadowState:!1,csmState:!1}}get Side(){return this._side}set Side(e){this._side=e}get BoxSize(){return this._boxSize}get IsBackend(){return this._isBackend}set IsBackend(e){this._isBackend=e,this.createGeometries()}get Theme(){return this._theme}get Scene(){return this._scene||(this._scene=new bo),this._scene}get Camera(){return this._camera||(this._camera=new io),this._camera}get IsEnabled(){return this._enabled}SetBoxSize(e,t,r){isNaN(e)||(this._boxSize.x=e),isNaN(t)||(this._boxSize.y=t),isNaN(r)||(this._boxSize.z=r)}SetAspect(){if(this.IsEnabled){const e=fme.WIDTH,t=fme.HEIGHT,r=e/t;let n=this._iWidth/this._iHeight,i=this._iHeight/this._iWidth;const o=2/i;i=2,n=o/r;let s=[-1*n/2,i/2,0];s=s.concat([n/2,i/2,0]),s=s.concat([-1*n/2,-1*i/2,0]),s=s.concat([n/2,-1*i/2,0]),s.forEach((e,t)=>{this._mesh.geometry.attributes.position.array[t]=e}),this._mesh.geometry.attributes.position.needsUpdate=!0;const a=fle.CalcCenterBackBottomPoint();aue.CurrentCameraControl.Camera.position.x=this._theme.camera.position.x+a.x,aue.CurrentCameraControl.Camera.position.y=this._theme.camera.position.y+a.y,aue.CurrentCameraControl.Camera.position.z=this._theme.camera.position.z,aue.CurrentCameraControl.Target=new br(this._theme.camera.target.x+a.x,this._theme.camera.target.y+a.y,this._theme.camera.target.z),aue.CurrentCameraControl.Camera.fov=this._theme.camera.fov,fme.HEIGHT=fme.RenderDiv.clientHeight,fme.WIDTH=fme.RenderDiv.clientWidth,aue.CurrentCamera.Camera.aspect=fme.WIDTH/fme.HEIGHT,aue.CurrentCamera.Camera.updateProjectionMatrix(),Aue.setSize(fme.WIDTH,fme.HEIGHT)}}initialize(){this.initializeLights(),this.initializeDefaults(),this.initializeWall()}initializeWall(){this._wallGroup.name="HRWALLS",Dhe.add(this._wallGroup)}initializeLights(){this._lightGroup||(this._lightGroup=new mo,Dhe.add(this._lightGroup)),this._lights={}}createGeometries(){if(this._wallGeometry=new Ki(this._boxSize.x*C,this._boxSize.y*C,this._boxSize.z*C),this._isBackend){const e=new Zs(this._wallGeometry);this._backendLines?(this._backendLines.geometry.dispose(),delete this._backendLines.geometry,this._backendLines.geometry=e):(this._backendLines=new Ms(e,new PE({color:0})),this._wallGroup.add(this._backendLines)),this._backendLines.visible=!0}else this._backendLines&&(this._backendLines.visible=!1);this._wallMesh?(this._wallMesh.geometry.dispose(),delete this._wallMesh.geometry,this._wallMesh.geometry=this._wallGeometry):(this._wallMesh=new Yi(this._wallGeometry,this._shadowMaterial),this._wallGroup.add(this._wallMesh)),this.update(),this.updateLight()}getLight(e,t=!1){if(!e||0===e.length)return null;for(let r=this._lightGroup.children.length-1;r>=0;r--){if(!t&&this._lightGroup.children[r]instanceof Gl&&this._lightGroup.children[r].name===e)return this._lightGroup.children[r];if(t&&this._lightGroup.children[r]instanceof Ms&&this._lightGroup.children[r].name===e)return this._lightGroup.children[r]}}addLight(e){const t=new oc(16777215,1);return t.shadow.camera.left=-4e3,t.shadow.camera.right=4e3,t.shadow.camera.top=4e3,t.shadow.camera.bottom=-4e3,t.castShadow=!0,t.shadow.camera.near=100*C,t.shadow.camera.far=55e3*C,t.shadow.bias=0,t.shadow.mapSize.x=dm.shadowMapSize,t.shadow.mapSize.y=dm.shadowMapSize,t.name=e.uuid,t.visible=this._enabled,this._lightGroup.add(t),this.updateLight(e),t}updateLight(e){const t=(e,t)=>{if(e){const r=fle.CalcCenterBackBottomPoint();t&&(e.intensity=t.intensity||1,e.position.set(t.position.x,t.position.y,t.position.z),this.updateLightLineSegments(t.uuid,t.position)),e.lookAt(r)}};if(e){if(e&&e.name){const r=this.getLight(e.uuid);t(r,e)}}else this._lightGroup.children.forEach(r=>{r instanceof Gl?t(r,e):r instanceof Ms&&this.updateLightLineSegments(r)})}removeLight(e){if(e&&e.length>0){const t=this.getLight(e);t&&this._lightGroup.remove(t)}else for(let e=this._lightGroup.children.length-1;e>=0;e--)this._lightGroup.remove(this._lightGroup.children[e])}enable(e){Nhe.showLoader(),iie.Visible()&&(iie.Status="hrmodeActive",this._options.wallType=iie.WallType);let t=!1;if(this._theme&&this._theme.theme&&this._theme.theme.id&&this._theme.theme.id===e.theme.id&&this._theme.image.name===e.image.name||(this._theme=e,t=!0),$le.clear(),Bde.NoCameraInteractionMode=!1,iie.RemoveWallFromScene(),Fde.GroundMirror&&(this._oldState.groundMirrorState=Fde.GroundMirror.Visible,Fde.GroundMirror.visible=!1),this._oldState.csmState=IE.Visible,this._wallGroup.visible=!0,this._enabled||this.ToggleSettings(!1),this._background||(this._background=new zr,this._background.image=new Image),this._background.image.onload=()=>{this._iWidth=this._background.image.width,this._iHeight=this._background.image.height,this._background.needsUpdate=!0,this.update(),Aue.setupHRRenderer(!0),Nhe.hideDimmer()},/^blob:/.test(this._theme.image.name)?this._background.image.src=this._theme.image.name:this._background.image.src=kre.fixQueryParameter(`/hr-image/${this._theme.theme.id}`),this._mesh.material.map=this._background,this._enabled||(Cse.Visible=!1,this._oldState.shadowState=Bde.ShowShadows,aae.ChangeShadowState(!0)),this._enabled=!0,t){for(let e=this._lightGroup.children.length-1;e>=0;e--)this._lightGroup.remove(this._lightGroup.children[e]);Object.values(this._theme.lights).forEach(e=>{wse.addLight(e).visible=!0})}else this._lightGroup.children.forEach(e=>{(e instanceof oc||this._isBackend)&&(e.visible=!0)}),Nhe.hideLoader();this.update()}disable(){this._enabled&&(Nhe.showLoader(),Cse.Visible=Bde.FloorShadow,aae.ChangeShadowState(this._oldState.shadowState),"hrmodeActive"===iie.Status&&(iie.BuildWall(this._options.wallType,Dhe.TScene),iie.Status="NONE"),Aue.setLast(),Fde.GroundMirror&&(Fde.GroundMirror.visible=this._oldState.groundMirrorState),this._enabled&&this.ToggleSettings(!0),this._lightGroup.children.forEach(e=>{e.visible=!1}),IE.Visible=this._oldState.csmState,this._wallGroup.visible=!1,g_configuration.enable_experimental_auto_effect?Aue.switchRenderer("low"):Aue.switchRenderer("default"),aue.CurrentCamera.startZoom(!1,!1,!1),aue.CenterPointNeedsUpdate=!0,Ame.requestRendering(),$le.clear(),this._enabled=!1,setTimeout(()=>{Nhe.hideLoader()},1e3))}update(){if(!this._enabled)return;aue.CenterPointNeedsUpdate&&(aue.CenterPointNeedsUpdate=!1,aae.SetCenterCam()||(aue.CenterPointNeedsUpdate=!0));const e=fle.CalcCenterBackBottomPoint();this._wallGroup.position.x=e.x,this._wallGroup.position.y=e.y-this._boxSize.y/2,this._wallGroup.position.z=this._boxSize.z/2,this.IsBackend&&(this._groupBox.setFromObject(this._wallGroup),this.Side==Sse.RIGHT?aue.CurrentCameraControl.CenterPoint.set(this._groupBox.min.x,this._groupBox.max.y,this._groupBox.min.z):this.Side==Sse.LEFT&&aue.CurrentCameraControl.CenterPoint.set(this._groupBox.max.x,this._groupBox.max.y,this._groupBox.min.z)),wse.SetAspect(),Ame.requestRendering()}CreateSnapshot(e,t){const r=fme.WIDTH,n=fme.HEIGHT;this.updateSize(e,t);const i=new jr(e,t,{format:Ge,type:Ne,colorSpace:"srgb-linear"});Aue.TRenderer.render(Dhe.TScene,aue.CurrentCamera,i,!0);const o=document.createElement("canvas");o.width=e,o.height=t;const s=o.getContext("2d"),a=s.createImageData(e,t),l=new Float32Array(e*t*4);Aue.TRenderer.readRenderTargetPixels(i,0,0,e,t,l);const c=this.calc2DPixel(l,e,!0);this.calcImageData(c,a,{reverseX:!0,reverseY:!0}),s.putImageData(a,0,0),window.open(o.toDataURL()),this.updateSize(r,n)}initializeDefaults(){this._mesh=new Yi(new Ka(2,2),new kI({depthTest:!1,depthWrite:!1})),this._background=new zr,this._background.colorSpace=Vt,this._background.image=new Image,this._background.image.onload=()=>{this._iWidth=this._background.image.width,this._iHeight=this._background.image.height,this._background.needsUpdate=!0,this.update(),Nhe.hideDimmer()},this._mesh.material.map=this._background,this.Scene.add(this.Camera),this.Scene.add(this._mesh),this._shadowMaterial=new nl({opacity:.2,side:1}),this._wallGroup=new mo,this.createGeometries(),this._wallMesh.receiveShadow=!0,this._wallMesh.canReceiveShadow=!1,this._wallMesh.canCastShadow=!1,this._wallGroup.visible=!1}updateLightLineSegments(e,t){let r=e instanceof Ms?e:this.getLight(e,!0),n=r?r.geometry:null,i=n?n.getAttribute("position"):null;if(!n){n=new Oi,i=new ki([0,0,0,0,0,0],3);const t=new ki([0,0,0,1,1,0],3);n.setAttribute("position",i),n.setAttribute("color",t),r?r.geometry=n:(r=new Ms(n,new kI({vertexColors:!0})),r.name=e,this._lightGroup.add(r))}r&&(r.visible=this._isBackend),n&&t&&i.setXYZ(0,t.x,t.y,t.z);const o=fle.CalcCenterBackBottomPoint();i.setXYZ(1,o.x,o.y,o.z),i.needsUpdate=!0}updateSize(e,t){fme.HEIGHT=t,fme.WIDTH=e,fme.WIDTH=isNaN(fme.WIDTH)?1280:fme.WIDTH,fme.HEIGHT=isNaN(fme.HEIGHT)?720:fme.HEIGHT,aue.CurrentCamera.Camera.aspect=e/t,aue.CurrentCamera.Camera.updateProjectionMatrix(),Aue.setSize(e,t);try{Fde.RefreshFloor(e,t)}catch(e){console.log(e)}}ToggleSettings(e){e?(Bde.ShowLines=null===Bde.getLastValue("showLines")?Bde.ShowLines:Bde.getLastValue("showLines"),$("#wall-panel-opener").css("display",""),$("#floor-panel-opener").css("display",""),$("#zoom-button").css("display",""),$("#btnPanSwitch").css("display",""),$("#btnP1").css("display",""),$("#btnViewModeFront").css("display",""),$("#btnZoomIn").css("display",""),$("#btnZoomOut").css("display",""),Wp.getType()===Mp.MOBILE||Bde.MobileRestrictionDisable||$("#mirrorEffect").parent().css("display","")):(Bde.ShowLines=!1,$("#wall-panel-opener").css("display","none"),$("#floor-panel-opener").css("display","none"),$("#zoom-button").css("display","none"),$("#btnPanSwitch").css("display","none"),$("#btnP1").css("display","none"),$("#btnViewModeFront").css("display","none"),$("#btnZoomIn").css("display","none"),$("#btnZoomOut").css("display","none"),$("#mirrorEffect").parent().css("display","none")),aae.ShowLines(Bde.ShowLines)}calcImageData(e,t,r){(r=r||{}).reverseX;const n=r.reverseY||!1,i=[];let o;for(o=n?e.length-1:0;n?o>0:o<e.length;n?o--:o++)for(let t=0;t<e[o].length;t++)i.push(e[o][t][0]),i.push(e[o][t][1]),i.push(e[o][t][2]),i.push(e[o][t][3]);for(let e=0;e<i.length;e++)t.data[e]=i[e]}calc2DPixel(e,t,r){const n=[];let i=0,o=0;n.push([]);for(let s=0;s<e.length;s+=4)i===t&&(i=0,o++,n.push([])),r?n[o].push([255*e[s],255*e[s+1],255*e[s+2],255*e[s+3]]):n[o].push([e[s],e[s+1],e[s+2],e[s+3]]),i++;return n}};var Ase=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};const Cse=new class{set needsUpdate(e){Object.values(this._shadows).forEach(t=>{t.needsUpdate=e})}constructor(){this._shadows={},document.addEventListener("readystatechange",()=>{"complete"===document.readyState&&Bde.FloorShadow&&this.add()})}add(){return Ase(this,void 0,void 0,function*(){this._shadows._global||(yield upe.isAppReady(),this._shadows._global=new mse,Dhe.add(this._shadows._global),this._shadows._global.Scene=aae.world)})}update(){this._shadows._global&&(this._shadows._global.visible=!wse.IsEnabled),Object.values(this._shadows).forEach(e=>{e.visible&&(Xre.SceneStore.visible=!1,e.update(),Xre.SceneStore.visible=!0)})}render(){this._shadows._global&&(this._shadows._global.visible=!wse.IsEnabled),Object.values(this._shadows).forEach(e=>{e.visible&&(Xre.SceneStore.visible=!1,e.render(Aue.TRenderer,Dhe.TScene),Xre.SceneStore.visible=!0)})}get Visible(){return!!this._shadows._global&&this._shadows._global.visible}set Visible(e){this._shadows._global&&(this._shadows._global.visible=e)}};const Ese=new class{constructor(){this._enabled=!1,this._options={},this._theme={},this._lights={},this.IsBackend=!1}get Scene(){return this._scene||(this._scene=new bo),this._scene}get Camera(){return this._camera||(this._camera=new io),this._camera}get IsEnabled(){return this._enabled}SetAspect(){const e=fme.WIDTH,t=fme.HEIGHT,r=e/t;let n=this._theme.iwidth/this._theme.iheight,i=this._theme.iheight/this._theme.iwidth;const o=2/i;i=2,n=o/r;let s=[-1*n/2,i/2,0];s=s.concat([n/2,i/2,0]),s=s.concat([-1*n/2,-1*i/2,0]),s=s.concat([n/2,-1*i/2,0]),s.forEach((e,t)=>{this._mesh.geometry.attributes.position.array[t]=e}),this._mesh.geometry.attributes.position.needsUpdate=!0;const a=fle.CalcCenterBackBottomPoint();aue.CurrentCameraControl.Camera.position.x=this._theme.campos.x+a.x,aue.CurrentCameraControl.Camera.position.y=this._theme.campos.y+a.y,aue.CurrentCameraControl.Camera.position.z=this._theme.campos.z,aue.CurrentCameraControl.Target=new br(this._theme.camdest.x+a.x,this._theme.camdest.y+a.y,this._theme.camdest.z),aue.CurrentCameraControl.Camera.fov=this._theme.fov,fme.HEIGHT=fme.RenderDiv.clientHeight,fme.WIDTH=fme.RenderDiv.clientWidth,aue.CurrentCamera.Camera.aspect=fme.WIDTH/fme.HEIGHT,aue.CurrentCamera.Camera.updateProjectionMatrix(),Aue.setSize(fme.WIDTH,fme.HEIGHT)}CreateSnapshot(e,t){const r=fme.WIDTH,n=fme.HEIGHT;this.updateSize(e,t);const i=new jr(e,t,{format:Ge,type:Ne});Aue.TRenderer.render(Dhe.TScene,aue.CurrentCamera,i,!0);const o=document.createElement("canvas");o.width=e,o.height=t;const s=o.getContext("2d"),a=s.createImageData(e,t),l=new Float32Array(e*t*4);Aue.TRenderer.readRenderTargetPixels(i,0,0,e,t,l);const c=this.calc2DPixel(l,e,!0);this.calcImageData(c,a,{reverseX:!0,reverseY:!0}),s.putImageData(a,0,0),window.open(o.toDataURL()),this.updateSize(r,n)}initialize(){this.initializeDefaults(),this.initializeWall(),this.initializeHrLights()}initializeWall(){this._wallMesh.name="HRWALLS",Dhe.add(this._wallMesh)}initializeHrLights(){Object.keys(this._lights).forEach(e=>{const t=this._lights[e];t.castShadow=!0,t.visible=!1,t.castShadow=!0,t.shadow.camera.near=100*C,t.shadow.camera.far=55e3*C,t.shadow.camera.fov=70,t.shadow.bias=0,t.angle=.3,t.shadow.mapSize.x=dm.shadowMapSize,t.shadow.mapSize.y=dm.shadowMapSize,t.decay=0,Dhe.add(t)})}updateHrLights(e,t){Object.keys(this._lights).forEach(r=>{"front"===r?(this._lights[r].position.x=e.x*C,this._lights[r].position.y=(e.y-7500)*C,this._lights[r].position.z=(e.z+7500)*C):"top"===r?(this._lights[r].position.x=e.x*C,this._lights[r].position.y=(e.y-4500)*C,this._lights[r].position.z=(e.z+1e4)*C):"left"===r?(this._lights[r].position.x=(t.lFront.x-7500)*C,this._lights[r].position.y=(t.lFront.y-7500)*C,this._lights[r].position.z=(t.lFront.z+7500)*C):"right"===r&&(this._lights[r].position.x=(t.rFront.x+7500)*C,this._lights[r].position.y=(t.rFront.y-7500)*C,this._lights[r].position.z=(t.rFront.z+7500)*C)})}enableHrLights(e){const t=fle.CalcCenterBackBottomPoint(),r=fle.CalcTopPoints();this.updateHrLights(t,r),IE.Visible=!1,Object.keys(this._lights).forEach(r=>{e[r].active?(this._lights[r].visible=!0,this._lights[r].target.position.x=t.x,this._lights[r].target.position.y=t.y,this._lights[r].target.position.z=t.z):this._lights[r].visible=!1})}disableHrLights(){Object.keys(this._lights).forEach(e=>{this._lights[e].visible=!1}),IE.Visible=!0}update(){if(!this._enabled)return;aue.CenterPointNeedsUpdate&&(aue.CenterPointNeedsUpdate=!1,aae.SetCenterCam()||(aue.CenterPointNeedsUpdate=!0));const e=fle.CalcCenterBackBottomPoint();this._wallMesh.position.x=e.x,this._wallMesh.position.y=e.y,Ese.SetAspect(),Ame.requestRendering(),Nhe.hideDimmer()}enable(e){iie.Visible()&&(iie.Status="hrmodeActive",this._options.wallType=iie.WallType),this._theme=e,$le.clear(),Poe.setStrategy(Poe.pickNothing),Bde.NoCameraInteractionMode=!1,iie.RemoveWallFromScene(),Aue.setupHRRenderer(!0),Fde.GroundMirror&&(Fde.GroundMirror.visible=!1),this._wallMesh.visible=!0,this._enabled||this.ToggleSettings(!1),this.enableHrLights(this._theme.lights),this._background.image.src="data:image/jpg;base64,"+this._theme.imgfile,this._enabled=!0,Cse.Visible=!1,aae.ChangeShadowState(!0),this.update()}disable(){this._enabled&&("hrmodeActive"===iie.Status&&(iie.BuildWall(this._options.wallType,Dhe.TScene),iie.Status="NONE"),Cse.Visible=Bde.FloorShadow,aae.ChangeShadowState(Bde.ShowShadows),Aue.setLast(),Fde.GroundMirror&&(Fde.GroundMirror.visible=!0),this._enabled&&this.ToggleSettings(!0),this.disableHrLights(),this._wallMesh.visible=!1,g_configuration.enable_experimental_auto_effect?Aue.switchRenderer("low"):Aue.switchRenderer("default"),Ame.requestRendering(),Poe.setStrategy(Poe.pickGeometry),$le.clear(),this._enabled=!1)}initializeDefaults(){this._lights={front:new Xl(16777215,1.5,2e4*C,3,1,0),top:new Xl(16777215,1.5,2e4*C,3,1,0),left:new Xl(16777215,1.5,2e4*C,3,1,0),right:new Xl(16777215,1.5,2e4*C,3,1,0)},this._mesh=new Yi(new Ka(2,2),new kI({depthTest:!1,depthWrite:!1})),this._background=new zr,this._background.image=new Image,this._background.image.onload=()=>{this._background.dispose(),this._background.needsUpdate=!0,this._background.dispose(),this.update(),this._background.dispose()},this._mesh.material.map=this._background,this.Scene.add(this.Camera),this.Scene.add(this._mesh),this._shadowMaterial=new nl({opacity:.2}),this._wallGeometry=new Oi,this._wallGeometry.setAttribute("position",new Ei(new Float32Array([1e4*C,0,0,-1e4*C,0,0,1e4*C,-1e4,0,-1e4*C,-1e4*C,0,1e4*C,0,1e4*C,-1e4*C,0,1e4*C]),3)),this._wallGeometry.setAttribute("normal",new Ei(new Float32Array([0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0,0,1,0]),3)),this._wallGeometry.setIndex([0,1,2,2,3,1,1,0,4,4,5,1]),this._wallMesh=new Yi(this._wallGeometry,this._shadowMaterial),this._wallMesh.receiveShadow=!0,this._wallMesh.canReceiveShadow=!1,this._wallMesh.canCastShadow=!1,this._wallMesh.visible=!1}ToggleSettings(e){e?(Bde.ShowLines=null===Bde.getLastValue("showLines")?Bde.ShowLines:Bde.getLastValue("showLines"),$("#wall-panel-opener").css("display",""),$("#floor-panel-opener").css("display",""),$("#zoom-button").css("display",""),$("#btnPanSwitch").css("display",""),$("#btnP1").css("display",""),$("#btnViewModeFront").css("display",""),$("#btnZoomIn").css("display",""),$("#btnZoomOut").css("display",""),Wp.getType()===Mp.MOBILE||Bde.MobileRestrictionDisable||$("#mirrorEffect").parent().css("display","")):(Bde.ShowLines=!1,$("#wall-panel-opener").css("display","none"),$("#floor-panel-opener").css("display","none"),$("#zoom-button").css("display","none"),$("#btnPanSwitch").css("display","none"),$("#btnP1").css("display","none"),$("#btnViewModeFront").css("display","none"),$("#btnZoomIn").css("display","none"),$("#btnZoomOut").css("display","none"),$("#mirrorEffect").parent().css("display","none")),aae.ShowLines(Bde.ShowLines)}updateSize(e,t){fme.HEIGHT=t,fme.WIDTH=e,aue.CurrentCamera.Camera.aspect=e/t,aue.CurrentCamera.Camera.updateProjectionMatrix(),Aue.setSize(e,t);try{Fde.RefreshFloor(e,t)}catch(e){console.log(e)}}calcImageData(e,t,r){(r=r||{}).reverseX;const n=r.reverseY||!1,i=[];let o;for(o=n?e.length-1:0;n?o>0:o<e.length;n?o--:o++)for(let t=0;t<e[o].length;t++)i.push(e[o][t][0]),i.push(e[o][t][1]),i.push(e[o][t][2]),i.push(e[o][t][3]);for(let e=0;e<i.length;e++)t.data[e]=i[e]}calc2DPixel(e,t,r){const n=[];let i=0,o=0;n.push([]);for(let s=0;s<e.length;s+=4)i===t&&(i=0,o++,n.push([])),r?n[o].push([255*e[s],255*e[s+1],255*e[s+2],255*e[s+3]]):n[o].push([e[s],e[s+1],e[s+2],e[s+3]]),i++;return n}};var Ise=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};const Mse=new class{constructor(){this._themesLoaded=!1,this._isGlobal=!1,this._themes=new Map}get IsGlobal(){return this._isGlobal}createTheme(){const e=zme.generateUUID();return this._themes.set(e,{roomSize:{x:4e3,y:3500,z:2800},camera:{target:{x:-2393,y:-1303.5,z:818.5},position:{x:3092.6,y:-1858.2,z:1027.2},fov:45},image:{image:"",name:"",fileType:""},lights:{},theme:{id:e,name:"New Theme"}}),this._themes.get(e)}getThemes(){return Ise(this,void 0,void 0,function*(){if(!this._themesLoaded){const e=new URL(window.location.href).searchParams.get("a");return kre.getJson("/hr-theme"+(e?"?a="+e:"")).then(e=>(this._themesLoaded=!0,this._isGlobal=e.isGlobal,e.themes.forEach(e=>{this._themes.set(e.theme.id,e)}),this._themes))}return Promise.resolve(this._themes)})}getJson(){return Ise(this,void 0,void 0,function*(){const e={};return(yield this.getThemes()).forEach((t,r)=>{e[r]={previewImageFile:t.previewImageFile}}),e})}get HRThemeManager(){return g_configuration.new_hr_mode?wse:Ese}};window.HRHelperService=Mse;const kse=new class{constructor(){this.hoverElement=null,this._isTouch=!0,this.canvas=$("#canvasTHREE")[0],this.offsetCursor=$("<img src='/images/cursor.png' style='width: 30px; height: 50px;'/>").attr("id","offset-cursor").addClass("hidden").appendTo($("body")),this.touches=[],this.onDown=e=>{let t=(e=e.originalEvent||e).clientX,r=e.clientY;t&&r||(this.touches=iI.getTouchInfo(e),t=this.touches[0].x,r=this.touches[0].y),!t||!r&&hse.IsDragging?(t=Yse.MouseInfo.curPos.x,r=Yse.MouseInfo.curPos.y):VI.lastClickDnD&&VI.lastClickDnD.IsDragging&&(t&&r||(t=Yse.MouseInfo.curPos.x,r=Yse.MouseInfo.curPos.y),hse.setImagePos(t,r)),this._isTouch=!(e instanceof MouseEvent),this.hoverElement=document.elementFromPoint(t,r)},this.onMove=e=>{if(e){e=e.originalEvent||e,this._isTouch=!(e instanceof MouseEvent);let t=e.clientX,r=e.clientY;t&&r||(this.touches=iI.getTouchInfo(e),t=this.touches[0].x,r=this.touches[0].y),!t||!r&&hse.IsDragging?(t=Yse.MouseInfo.curPos.x,r=Yse.MouseInfo.curPos.y):VI.lastClickDnD&&VI.lastClickDnD.IsDragging&&(t&&r||(t=Yse.MouseInfo.curPos.x,r=Yse.MouseInfo.curPos.y),hse.setImagePos(t,r)),t&&r&&(this.hoverElement=document.elementFromPoint(t,r))}},this.onUp=e=>{let t=(e=e.originalEvent||e).clientX,r=e.clientY;t&&r||(this.touches=iI.getTouchInfo(e),t=this.touches[0].x,r=this.touches[0].y),this._isTouch=!(e instanceof MouseEvent),Bde.NoCameraInteractionMode||ape.saveCameraPosition(),!t||!r&&hse.IsDragging?(t=Yse.MouseInfo.curPos.x,r=Yse.MouseInfo.curPos.y):VI.lastClickDnD&&VI.lastClickDnD.IsDragging&&(t&&r||(t=Yse.MouseInfo.curPos.x,r=Yse.MouseInfo.curPos.y),hse.setImagePos(-1e3,-1e3)),t&&r&&(this.hoverElement=document.elementFromPoint(t,r)),Yse.InteractionMode!==Pp.ELEMENT_MOVE&&Yse.InteractionMode!==Pp.ELEMENT_ROTATE&&Yse.InteractionMode!==Pp.PLACER||(Yse.InteractionMode=Pp.DEFAULT,Bde.NoCameraInteractionMode=!1),Mse.HRThemeManager.IsEnabled||Bde.NoCameraInteractionMode||!this.isCanvas()||mm.getViewMode()===Ep.AR||e.preventDefault()},$(document).nodoubletapzoom(),function(){const e=function(){cI.hideModal("reloadNotification"),window.onbeforeunload=null,window.location.reload(),Fm.removeKeyEvent(13,e),Fm.removeKeyEvent(27,t)},t=function(){cI.hideModal("reloadNotification"),Fm.removeKeyEvent(13,e),Fm.removeKeyEvent(27,t)},r=cI.addModal("reloadNotification",t,e,!0);Fm.addDownKeyEvent(116,function(e){g_configuration.request_leave_confirmation&&!g_configuration.webui_mode&&(e.preventDefault(),cI.showModal("reloadNotification",!0),Fm.addUpKeyEvent(13,r.approve),Fm.addUpKeyEvent(27,r.deny))}),window.onbeforeunload=function(e){g_configuration.request_leave_confirmation&&!g_configuration.webui_mode&&(e.preventDefault(),e.returnValue="",setTimeout(()=>{},2e4))}}(),aI.dispatch("resizeWindow"),window.addEventListener("resize",function(){aI.dispatch("resizeWindow")},!1),$("#canvasTHREE")[0].addEventListener("resize",function(){aI.dispatch("resizeWindow")},!1),$("#canvasTHREE").droppable({accept:"*",tolerance:"touch"})}get IsTouch(){return this._isTouch}set IsTouch(e){this._isTouch=e}get OffsetCursor(){return this.offsetCursor}isCanvas(){return this.hoverElement===this.canvas||this.checkHoverElement(this.hoverElement)}isContextMenu(){return $I.Opened&&$I.MenuDom.find(this.getHoverElement()).length>0}getHoverElement(){return this.hoverElement}getLastTouches(){return this.touches}checkHoverElement(e){return!!e&&(!(!$I.MenuDom||e!==$I.MenuDom[0])||e!==document&&e!==document.body&&this.checkHoverElement(e.parentNode))}};const Tse=new class extends Yre{constructor(){super("wallInteractive"),this.canSendKey=!0,this.waitKeys=[],this._firstClick=!0,this.keyup=e=>{this.canSendKey?(this.canSendKey=!1,this.waitKeys.length>0?(ape.SetKeyCode(this.waitKeys.splice(0,1)).then(()=>{this.canSendKey=!0}).catch(()=>{this.canSendKey=!0}),this.waitKeys.push(e.keyCode)):ape.SetKeyCode(e.keyCode).then(()=>{this.canSendKey=!0}).catch(()=>{this.canSendKey=!0})):this.waitKeys.push(e.keyCode)}}preBegin(...e){return super.preBegin(...e)}begin(...e){return!!super.begin(e)&&(!(this._isActive&&kse.IsTouch&&(!e||1!==e.length||!e[0]))&&void(this._isActive||(this._firstClick=!0,document.addEventListener("keyup",this.keyup),window.focus(),document.activeElement&&document.activeElement.blur(),this._isActive=!0,Bde.NoCameraInteractionMode=!0,Bde.NoInteractionMode=!0,Yse.autoClearSceneAction=!1,this.SendStart())))}update(...e){if(!super.update(e))return!1;this.SendUpdate()}end(...e){if(!super.end(e))return!1;this._firstClick||this.SendEnd(),this._firstClick=!1}cancel(...e){if(!super.cancel(e))return!1;this._isActive=!1,Bde.NoCameraInteractionMode=!1,Bde.NoInteractionMode=!1,this.SendCancel(),document.removeEventListener("keyup",this.keyup),Yse.InteractionMode=Pp.DEFAULT,Yse.clearSceneAction(!0)}reset(...e){return super.reset(...e)}SendStart(){this._canSend&&(this._canSend=!1,ape.WallInteractiveAction({action:"StartAction"}).then(()=>{this._canSend=!0}).catch(e=>{console.error(e),this._canSend=!0}))}SendUpdate(){this._canSend&&(this._canSend=!1,ape.WallInteractiveAction({action:"UpdateAction"}).then(()=>{this._canSend=!0}).catch(e=>{console.error(e),this._canSend=!0}))}SendEnd(){this._canSend=!1,ape.WallInteractiveAction({action:"StartAction"}).then(()=>{this._canSend=!0}).catch(e=>{console.error(e),this._canSend=!0})}SendCancel(){this._canSend=!1,ape.WallInteractiveAction({action:"CancelAction"}).then(()=>{this._canSend=!0}).catch(e=>{console.error(e),this._canSend=!0})}};const Rse=new class{constructor(){this.collList=[]}add(e){if(!Bde.DisableCollision){const t=FI.addCollision(e),r=this.collList.findIndex(t=>t.lo===e);-1===r?this.collList.push({lo:e,marker:t}):(this.collList[r].lo=e,this.collList[r].marker=t)}}remove(e){if(!Bde.DisableCollision){const t=this.collList.findIndex(t=>t.lo===e);-1!==t&&(this.collList.splice(t,1),FI.clearCollision(e))}}};const Lse=new class extends GE{constructor(){super(),this._currentRevision=0,this._revision=0}set NeedsUpdate(e){e.length>0&&this.containsKey(e)?(this.get(e).forEach(e=>{e.Base_NeedsUpdate=!0}),this._revision++):(this.Values.forEach(e=>{Array.isArray(e)?e.forEach(e=>{e.Base_NeedsUpdate=!0}):e.Base_NeedsUpdate=!0}),this._revision++)}add(e,t){if(-1===this.contains(e,t)){if(!t.update)return void console.error("Objects without .update() function doesn't supported!");super.add(e,t,!1)}}update(e){!0===e&&this._revision++,this._currentRevision<this._revision&&(this._currentRevision=this._revision,this.Values.forEach(t=>{Array.isArray(t)?t.forEach(t=>{t&&(t.Base_NeedsUpdate||e)&&(t.update(),t.Base_NeedsUpdate=!1)}):t&&(t.Base_NeedsUpdate||e)&&(t.update(),t.Base_NeedsUpdate=!1)}))}dispose(){super.clear(!0)}};const Pse=new class extends Yre{constructor(){super("moveObject"),this._triggerOnMove=!0,this._moveElements=[],this._hasMoved=!1,this.preMousePosition={},this._keyboardMoveDistance=50}preBegin(...e){if(!super.preBegin(e))return!1;Yse.FrozenIntersectionType=Vp.BoundingBoxClass,this._hasMoved=!1,this._isEnding=!1,this._moveElements=[],Bde.IsPlacerMode&&Yse.IsIntersected&&(Yse.IsSelected||mm.getViewMode()===Ep.AR)&&(this._moveElements=$le.getIIs(!0),Yse.IntersectionObject.elements instanceof Dme&&mm.getViewMode()===Ep.AR&&this._moveElements.length>0&&(this._moveElements=[],this._moveElements.push(""+Yse.IntersectionObject.elements.findPOFromLO().instanceIdent)),iI.setCenter(fle.CalcCenterPointBottom()),this._moveElements.length>0&&!Bde.NoInteractionMode&&(Bde.NoCameraInteractionMode=!0,Zoe.removeSelectable(Vp.DHLOBase),Yse.InteractionMode=Pp.ELEMENT_MOVE,this.preMousePosition={source:Yse.SourcePoint.clone(),destination:Yse.DestinationPoint.clone()}))}begin(...e){return!!super.begin(e)&&(this._isActive=!0,Bde.IsPlacerMode&&this._moveElements.length>0&&!Bde.NoInteractionMode?ape.MoveObjectAction({overrideMouse:this.preMousePosition,action:"StartAction",iis:this._moveElements,dirBit:Bde.ObjectMoveDirection}).catch(()=>(this._isActive=!1,Rse.NeedsUpdate=!0,!1)).then(e=>(e||(this._isActive=!1,Yse.clearSceneAction()),Rse.NeedsUpdate=!0,!0)):void(this._isActive=!1))}update(...e){if(!super.update(e)||!this._isActive)return!1;Bde.IsPlacerMode&&(mm.getViewMode()!==Ep.AR&&Bde.IsPlacerMode&&ape.ResetWidget(),this._hasMoved=!0,this._canSend&&kse.isCanvas()&&!Bde.NoInteractionMode&&(1===kse.getLastTouches().length||Wp.getType()===Mp.DESKTOP?this.SendMove():(Yse.InteractionMode=Pp.DEFAULT,Bde.NoCameraInteractionMode=!1)))}end(...e){if(!super.end(e))return!1;this._isEnding||(this._isEnding=!0,this._isActive&&this.SendEndMove(),this._isActive=!1,Zoe.addSelectable(Vp.DHLOBase),this._hasMoved&&mm.getViewMode()!==Ep.AR&&Bde.IsPlacerMode&&ape.GetRotationWidget()),Yse.FrozenIntersectionType=""}cancel(...e){if(!super.cancel(e))return!1;this._isEnding||(this._isEnding=!0,Zoe.addSelectable(Vp.DHLOBase),this._isActive&&this.SendCancelMove(),this._isActive=!1,mm.getViewMode()!==Ep.AR&&Bde.IsPlacerMode&&ape.GetRotationWidget()),Yse.FrozenIntersectionType=""}reset(...e){return super.reset(...e)}SendMove(){this._canSend&&(this._canSend=!1,ape.MoveObjectAction({action:"UpdateAction"}).then(()=>{this._canSend=!0,Rse.NeedsUpdate=!0}).catch(e=>{console.error(e),this._canSend=!0}))}SendEndMove(){this._canSend=!1,ape.MoveObjectAction({action:"EndAction"}).then(()=>{this._canSend=!0,Lse.NeedsUpdate="globalMeasureBox",Rse.NeedsUpdate=!0}).catch(e=>{console.error(e),this._canSend=!0})}SendCancelMove(){this._canSend=!1,ape.MoveObjectAction({action:"CancelAction"}).then(()=>{this._canSend=!0,Lse.NeedsUpdate="globalMeasureBox"}).catch(e=>{console.error(e),this._canSend=!0})}addKeyboardEvents(){Bde.MoveObjectDisabled&&Bde.ObjectMoveDirection===Fp.XYZ||super.addKeyboardEvents()}removeKeyboardEvents(){Bde.MoveObjectDisabled&&Bde.ObjectMoveDirection===Fp.XYZ||super.removeKeyboardEvents()}get KeyDownMap(){return{[Jp.NUMPAD_4]:this.onKeyboardNumpadLeftArrow,[Jp.NUMPAD_6]:this.onKeyboardNumpadRightArrow,[Jp.NUMPAD_8]:this.onKeyboardNumpadUpArrow,[Jp.NUMPAD_2]:this.onKeyboardNumpadDownArrow,[Jp.NUMPAD_9]:this.onKeyboardNumpadPageUpArrow,[Jp.NUMPAD_3]:this.onKeyboardNumpadPageDownArrow}}get KeyUpMap(){return{[Jp.NUMPAD_4]:this.onKeyboardUpEndAction,[Jp.NUMPAD_6]:this.onKeyboardUpEndAction,[Jp.NUMPAD_8]:this.onKeyboardUpEndAction,[Jp.NUMPAD_2]:this.onKeyboardUpEndAction,[Jp.NUMPAD_9]:this.onKeyboardUpEndAction,[Jp.NUMPAD_3]:this.onKeyboardUpEndAction}}onKeyboardUpEndAction(){this.end()}onKeyboardNumpadLeftArrow(e){!0===Fm.secondaryKeys.isCtrl&&(e.preventDefault(),this.moveObjectsByDirectionKeyboard(Cp.GetVectorInX(!0),this._keyboardMoveDistance))}onKeyboardNumpadRightArrow(e){!0===Fm.secondaryKeys.isCtrl&&(e.preventDefault(),this.moveObjectsByDirectionKeyboard(Cp.GetVectorInX(!1),this._keyboardMoveDistance))}onKeyboardNumpadUpArrow(e){!0===Fm.secondaryKeys.isCtrl&&(e.preventDefault(),this.moveObjectsByDirectionKeyboard(Cp.GetVectorInY(!1),this._keyboardMoveDistance))}onKeyboardNumpadDownArrow(e){!0===Fm.secondaryKeys.isCtrl&&(e.preventDefault(),this.moveObjectsByDirectionKeyboard(Cp.GetVectorInY(!0),this._keyboardMoveDistance))}onKeyboardNumpadPageUpArrow(e){!0===Fm.secondaryKeys.isCtrl&&(e.preventDefault(),this.moveObjectsByDirectionKeyboard(Cp.GetVectorInZ(!1),this._keyboardMoveDistance))}onKeyboardNumpadPageDownArrow(e){!0===Fm.secondaryKeys.isCtrl&&(e.preventDefault(),this.moveObjectsByDirectionKeyboard(Cp.GetVectorInZ(!0),this._keyboardMoveDistance))}moveObjectsByDirectionKeyboard(e,t){!0!==Bde.IsPlacerMode||Bde.NoInteractionMode||mm.getViewMode()==Ep.AR||(this._isActive||(this._moveElements=$le.getIIs(!0),this._moveElements.length>0&&ape.MoveObjectAction({action:"CustomAction",customActionMode:"MoveObjectsByDirectionStart",iis:this._moveElements,dirBit:Bde.ObjectMoveDirection}).catch(()=>(this._isActive=!1,Rse.NeedsUpdate=!0,!1)).then(e=>{e||Yse.clearSceneAction(),this._isActive=!0,this._isEnding=!1,Rse.NeedsUpdate=!0})),this._canSend&&(this._canSend=!1,ape.ResetWidget(),ape.MoveObjectAction({action:"CustomAction",customActionMode:"MoveObjectsByDirectionUpdate",moveDistance:t,moveDirection:e.toArray()}).then(()=>{this._canSend=!0,this._hasMoved=!0,Rse.NeedsUpdate=!0}).catch(e=>{console.error(e),this._canSend=!0})))}};const Dse=new class extends Yre{constructor(){super("rotateObject"),this._triggerOnMove=!0,this._rotateElements=[],this._pickedDirection=1}preBegin(...e){return!!super.preBegin(...e)&&(this._isEnding=!1,Bde.IsPlacerMode?(this._rotateElements=$le.getPOIIs(),Yse.IntersectionObject.elements instanceof Dme&&mm.getViewMode()===Ep.AR&&(this._rotateElements=[],this._rotateElements.push(""+Yse.IntersectionObject.elements.findPOFromLO().instanceIdent)),iI.setCenter(fle.CalcCenterPointBottom()),(Yse.IsIntersected||mm.getViewMode()===Ep.AR)&&(Bde.NoCameraInteractionMode=!0,this._pickedDirection=1),Zoe.removeSelectable(Vp.DHLOBase),Yse.InteractionMode=Pp.ELEMENT_ROTATE,this.SendStartRotation().then(()=>!0)):void 0)}begin(...e){return!!super.begin(e)&&(this._isActive=!0,Bde.IsPlacerMode?this.SendStartRotation().then(()=>!0):void(this._isActive=!1))}update(...e){if(!super.update(e))return!1;if(Bde.IsPlacerMode){const t=e[0];if(this._canSend&&kse.isCanvas()&&!Bde.NoInteractionMode&&this._rotateElements.length>0){const e=this._pickedDirection*-iI.getRotation(t);this.SendRotation(e,iI.IsRasterize)}}}end(...e){if(!super.end(e))return!1;this._isEnding||(this._isEnding=!0,this.SendEndRotate(),Zoe.addSelectable(Vp.DHLOBase))}cancel(...e){if(!super.cancel(e))return!1;this._isEnding||(this._isEnding=!0,this.SendCancelRotation(),Zoe.addSelectable(Vp.DHLOBase))}reset(...e){return super.reset(...e)}SendStartRotation(){return ape.RotateObjectAction({action:"StartAction",iis:this._rotateElements}).catch(e=>{console.error(e)})}SendRotation(e,t){this._canSend&&(this._canSend=!1,ape.RotateObjectAction({action:"UpdateAction",dw:e,rasterize:t}).then(()=>{this._canSend=!0}).catch(e=>{console.error(e)}))}SendEndRotate(){this._canSend=!1,ape.RotateObjectAction({action:"EndAction"}).then(()=>{this._canSend=!0,this._isActive=!1}).catch(e=>{console.error(e)})}SendCancelRotation(){this._canSend=!1,ape.RotateObjectAction({action:"CancelAction"}).then(()=>{this._canSend=!0}).catch(e=>{console.error(e)})}get KeyDownMap(){return{[Jp.NUMPAD_4]:this.onKeyboardNumpadLeftArrow,[Jp.NUMPAD_6]:this.onKeyboardNumpadRightArrow}}get KeyUpMap(){return{[Jp.NUMPAD_4]:this.onKeyboardUpEndAction,[Jp.NUMPAD_6]:this.onKeyboardUpEndAction}}onKeyboardNumpadLeftArrow(){this.startAndUpdateRotationActionKeyboard(-3)}onKeyboardNumpadRightArrow(){this.startAndUpdateRotationActionKeyboard(3)}onKeyboardUpEndAction(){this.SendEndRotate()}startAndUpdateRotationActionKeyboard(e){this._isActive||(this._rotateElements=$le.getPOIIs(),this.SendStartRotation(),this._isActive=!0),this.SendRotation(e,!1)}};const Nse=new class{constructor(){this.isIntersected=!1,this.contextClick=!1,this._iframeDraggingMode=!1,this._isCameraUse=!1,this.clear=(e,t)=>{const r=Yse.SceneAction;r&&(e&&(r.IsCleared=!0),r.end(),(t||r.ActionName!==ese.ActionName||Bde.FittingAutoDisable&&Yse.InteractionMode===Pp.FITTING)&&Yse.AutoClearSceneAction&&Yse.SceneAction&&(r.ActionName===Pse.ActionName||r.ActionName===Dse.ActionName?Yse.clearSceneAction():Yse.SceneAction.cancel()))},this.onRDown=e=>{Bde.BlockRightClick},this.onRUp=e=>{var t;Bde.BlockRightClick||(!kse.isCanvas()||Bde.NoCameraInteractionMode&&Yse.InteractionMode!==Pp.WALL_INDIVIDUAL||Yse.IsHolding||Yse.IsMoving||!kse.isCanvas()||1!==kse.getLastTouches().length&&Wp.getType()!==Mp.DESKTOP||Nse.onClick(e),Yse.IsHolding||!Yse.SceneAction||1!==kse.getLastTouches().length&&Wp.getType()!==Mp.DESKTOP||Yse.InteractionMode===Pp.WALL_INDIVIDUAL||(Xre.incrementRev(),null===(t=Yse.SceneAction)||void 0===t||t.cancel()),DI.reset())},this.onDown=e=>{var t,r,n;if(this._iframeDraggingMode=hse.IsDragging,$I.Opened)return this.contextClick=!0,!1;if(this._isCameraUse=!1,Yse.SceneAction&&(null===(t=Yse.SceneAction)||void 0===t?void 0:t.CanUseCamera)&&!Yse.IntersectedLO)return this._isCameraUse=!0,!1;let i="";iI.onTouchStart(e),Yse.SceneAction||1!==kse.getLastTouches().length&&Wp.getType()!==Mp.DESKTOP||!Bde.IsPlacerMode&&mm.getViewMode()!==Ep.AR&&!Bde.DepthSelection||Yse.Intersection&&Yse.Intersection.interact&&(i=Yse.Intersection.interact()),2===kse.getLastTouches().length&&mm.getViewMode()===Ep.AR&&(Yse.SceneAction&&(null===(r=Yse.SceneAction)||void 0===r||r.end()),i="rotateObject"),""!==i&&(Yse.updateSceneAction(i),Bde.BlockRightClick=!0),Yse.SceneAction&&(Yse.SceneAction.preBegin(),Yse.SceneAction.TriggerOnMove||null===(n=Yse.SceneAction)||void 0===n||n.begin())},this.onMove=e=>{var t,r;if(this.contextClick)return!1;Yse.IsBeginMoving&&Yse.SceneAction&&Yse.SceneAction.TriggerOnMove&&!Yse.SceneAction.IsActive&&(null===(t=Yse.SceneAction)||void 0===t||t.begin()),Yse.IsMoving&&(Yse.dispatch(Yse.EVENT_Move,!0),Yse.SceneAction&&(this._iframeDraggingMode&&this._iframeDraggingMode!==hse.IsDragging?(null===(r=Yse.SceneAction)||void 0===r||r.cancel(),Yse.clearSceneAction(),this._iframeDraggingMode=!1):Yse.SceneAction.update(e)))},this.onUp=e=>{var t;if(this.contextClick)return this.contextClick=!1,!1;if(Yse.SceneAction&&(null===(t=Yse.SceneAction)||void 0===t?void 0:t.CanUseCamera)&&this._isCameraUse&&(Yse.IsHolding||Yse.IsMoving))return!1;const r=this._iframeDraggingMode;Yse.SceneAction&&(this._iframeDraggingMode=!1),this.isIntersected=!1;let n=!1;return Yse.IsHolding||Yse.IsMoving||!kse.isCanvas()||1!==kse.getLastTouches().length&&Wp.getType()!==Mp.DESKTOP?Yse.InteractionMode!==Pp.FITTING&&(Yse.IsBoundingBoxIntersection&&Yse.IntersectedBoundingBox.parent.Mode===NI.POSSIBLE_DESTINATION?(DI.clickLO(Yse.IntersectedBoundingBox.getLO().instanceIdent),r&&DI.reset()):DI.reset()):Yse.IsHolding||Yse.IsMoving||(Nse.onClick(e),Wp.getType()===Mp.MOBILE&&(n=!0)),Yse.SceneAction&&!Yse.SceneAction.ClearOnClick&&this.clear(n,r),Bde.BlockRightClick=!1,this._isCameraUse=!1,!0},this.setContextMenu=e=>{this.contextClick=e}}onClick(e){if(e.button&&0!==e.button){if(2===e.button&&Bde.IsFurnplanMode&&!Bde.RightClickDisabled&&(!Yse.SceneAction||Yse.SceneAction.ActionName===Tse.ActionName)){Yse.MouseMode=kp.RClicked;let e=null;if(Yse.IsIntersected&&Yse.IsLOIntersection&&(e=Yse.IntersectedLO,e=e.findPOFromLO(!1,!0,!0)),Yse.IsFloorIntersection&&Yse.InteractionMode===Pp.WALL_INDIVIDUAL&&(e=Fde),e){let t=!1;e instanceof Dme&&(e.IsWallElement||e.IsWallChildElement)&&(g_configuration.old_kata_tree_toolbar_placer||(t=g_configuration.enable_wall_picking)),t||(e!==Fde&&$le.handle(e,!0),ape.getContextMenu(e.instanceIdent).then(function(e){$I.create(e,$("body")),Yse.MouseMode=kp.None}))}}}else Poe.pick();Yse.SceneAction&&Yse.SceneAction.ClearOnClick&&!Yse.SceneAction.ExtBlockClearOnClick&&this.clear()}};const Fse=new class extends Yre{constructor(){super("fittingDelete"),this.isRunning=!1,this.oldParam=[]}preBegin(...e){return super.preBegin(...e)}reset(...e){if(!super.reset(...e))return!1;this.oldParam=[]}begin(...e){if(!super.begin(e))return!1;e.length>0||this.oldParam.length>0&&!1===this.isRunning?(e.length>0&&(this.oldParam=e),this.SendBegin(this.oldParam[0]).then(e=>{Yse.AutoClearSceneAction=!1;const t=e[0].iis;if(t.length>0){VI&&VI.status&&(VI.clearLastIfNecessary(),VI.status=""),$le.clear(),Poe.setStrategy(Poe.pickBBox3),Yse.InteractionMode=Pp.DELETE_FITTING,Bde.NoInteractionMode=!0;const e=t;for(let t=0;t<e.length;t++){const r=lae.get(e[t]);r&&"dhd1"!==r.Prog&&FI.addMarker(r)}this.isRunning=!0}else this.cancel()})):!1===this.isRunning&&Yse.SceneAction&&Yse.clearSceneAction(!0),Yse.IsBoundingBoxIntersection&&kse.isCanvas()?(FI.changeMaterialLeave(),FI.changeMaterialOver(Yse.IntersectedBoundingBox)):FI.changeMaterialLeave()}update(...e){if(!super.update(e))return!1;Bde.IsPlacerMode&&(Yse.IsBoundingBoxIntersection&&kse.isCanvas()?(FI.changeMaterialLeave(),FI.changeMaterialOver(Yse.IntersectedBoundingBox)):FI.changeMaterialLeave())}end(...e){if(!super.end(e))return!1;this.isRunning&&Yse.InteractionMode===Pp.DELETE_FITTING&&(FI.clearMarker(),Bde.NoInteractionMode=!1,Poe.setStrategy(Poe.pickGeometry),e.length>0&&(e[0].object&&ape.DeleteFittingAction({action:"EndAction",ii:""+e[0].object.instanceIdent}).then(e=>ape.loadArticleToScene(e[0],e[1].loadCategories)),this.isRunning=!1))}cancel(...e){if(!super.cancel(e))return!1;FI.clearMarker(),Bde.NoInteractionMode=!1,Poe.setStrategy(Poe.pickGeometry),ape.DeleteFittingAction({action:"CancelAction"}).then(function(e){return ape.loadArticleToScene(e[0],e[1].loadCategories)}),this.isRunning=!1,Yse.clearSceneAction(!0)}SendBegin(e){if(this._canSend)return this._canSend=!1,ape.DeleteFittingAction({action:"StartAction",params:e}).then(e=>(this._canSend=!0,e)).catch(()=>{this._canSend=!0})}};const Ose=new class extends Yre{constructor(){super("wallDelete"),this._canUseCamera=!0}preBegin(...e){return super.preBegin(...e)}begin(...e){if(!super.begin(e))return!1;Bde.IsPlacerMode&&mm.getViewMode()!==Ep.AR&&Object.keys(Aie.fp_walls).length>0&&(FI.clearMarker(),Object.values(Aie.fp_walls).forEach(e=>{FI.createMarker(e)}),Yse.InteractionMode=Pp.WALL_DELETE,Bde.NoCameraInteractionMode=!1,Bde.NoInteractionMode=!0,Poe.setStrategy(Poe.pickBBox3)),Yse.IsBoundingBoxIntersection&&kse.isCanvas()?(FI.changeMaterialLeave(),FI.changeMaterialOver(Yse.IntersectedBoundingBox)):FI.changeMaterialLeave(),this._canUseCamera=!0}update(...e){if(!super.update(e))return!1;Bde.IsPlacerMode&&(Yse.IsBoundingBoxIntersection&&kse.isCanvas()?(FI.changeMaterialLeave(),FI.changeMaterialOver(Yse.IntersectedBoundingBox)):FI.changeMaterialLeave())}end(...e){if(!super.end(e))return!1;FI.clearMarker(),Bde.NoCameraInteractionMode=!1,Bde.NoInteractionMode=!1,Poe.setStrategy(Poe.pickGeometry)}cancel(...e){if(!super.cancel(e))return!1;FI.clearMarker(),Bde.NoCameraInteractionMode=!1,Bde.NoInteractionMode=!1,Poe.setStrategy(Poe.pickGeometry)}reset(...e){return super.reset(...e)}},Bse=(window.webkit,"featurePoint"),Use="horizontalPlane",Vse="verticalPlane",zse="existingPlane",Hse="existingPlaneUsingExtent",Gse={[Bse]:1,[Use]:2,[Vse]:4,[zse]:8,[Hse]:16};var jse=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};let Jse=class extends qn{constructor(e){if(super(),this._points=null,this._geom=null,this._material=null,this._mesh=null,this._lo=null,this._hiddenIntersectable=!0,!e||!e.object)return null;this._geom=new Oi,this.setMaterial(e.material),this.createBox(e.object),Kre.add(Vp.HoverBoxClass,{priority:zp.HoverBoxClass,object:this}),this.visible=!1}get Material(){return this._material}get Geometry(){return this._geom}get LO(){return this._lo}update(){this.position.setFromMatrixPosition(this._lo.matrix),this.position.x+=(this._points.p2.x-this._points.p1.x)/2,this.position.y=this._points.p4.y/2,this.position.z=this.position.z+(this._points.p5.z-this._points.p1.z)/2,this.rotation.setFromRotationMatrix(this._lo.matrix),this.updateMatrixWorld()}copy(e,t){return null}clone(e){return null}dispose(){this._geom.dispose(),this._material.dispose(),this.parent&&this.parent.remove(this),Kre.remove(Vp.HoverBoxClass,this)}setIntersected(e){return!!this.LO.hasVisibleGeometry()&&(e&&!Yse.SceneAction&&Bde.DepthSelection&&Bde.FittingSelection?(Yse.IntersectionType=Dp.HOVER_BOX,Yse.MouseCursor="move",this.visible=!0,this._material.emissive.b=1,this._material.opacity=.1):(this.visible=!1,this._material.emissive.b=0,this._material.opacity=0),!0)}interact(){Roe.checkFittingReplace()}setMaterial(e){(e=e||{}).color=e.color||new mi(1,1,1),e.transparent=e.transparent||!0,e.opacity=e.opacity||0,e.roughness=e.roughness||1,e.metalness=e.metalness||0,this._material=new Hm(e)}createBox(e){const t=this._geom;let r=e;e instanceof Yi&&(r=Dme.findNextLO(e),r||(r=e)),this._lo=r,r instanceof Dme&&r.BoundingBoxIntern&&8===r.BoundingBoxIntern.length&&(this._points={p1:r.BoundingBoxIntern[0].toVector(),p2:r.BoundingBoxIntern[1].toVector(),p3:r.BoundingBoxIntern[2].toVector(),p4:r.BoundingBoxIntern[3].toVector(),p5:r.BoundingBoxIntern[4].toVector(),p6:r.BoundingBoxIntern[5].toVector(),p7:r.BoundingBoxIntern[6].toVector(),p8:r.BoundingBoxIntern[7].toVector(),n51:new br,n56:new br,n67:new br,n65:new br,n15:new br,n76:new br},this._geom=new Ki(this._points.p2.x-this._points.p1.x,this._points.p4.y-this._points.p1.y,this._points.p5.z-this._points.p1.z),this._mesh&&(this._mesh.geometry=this._geom,this._mesh.verticesNeedsUpdate=!0,t&&t.dispose()),this._mesh=new Yi(this._geom,this._material),this.add(this._mesh))}};Jse=jse([oce],Jse);var Wse=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};const Qse=new class{constructor(){this._isStarted=!1}setLastInteraction(){var e;if(g_configuration.sessionResetSettings&&g_configuration.sessionResetSettings.enabled){if(g_configuration.webui_mode)return upe.sendToApp("furnview.setLastInteraction",[]);this._resekMask=this._resekMask||document.querySelector("fv-reset-mask"),null===(e=this._resekMask)||void 0===e||e.setLastInteraction()}}startTimer(){return Wse(this,void 0,void 0,function*(){var e;if(!this._isStarted)return this._isStarted=!0,g_configuration.sessionResetSettings&&g_configuration.sessionResetSettings.enabled?g_configuration.webui_mode?upe.sendToApp("furnview.startResetTimer",[]):(this._resekMask=this._resekMask||document.querySelector("fv-reset-mask"),null===(e=this._resekMask)||void 0===e?void 0:e.startTimer()):void 0})}};var qse=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};const Yse=new class{get IntersectionType(){return this._IntersectionType}set IntersectionType(e){this._IntersectionType=e}get IntersectionDistanceMap(){return this._intersectableDistanceMap}get SourcePoint(){return aue.CurrentCamera.mouseOnNearPane(this.CurrentPosition.x,this.CurrentPosition.y)}get DestinationPoint(){return aue.CurrentCamera.mouseOnFarPane(this.CurrentPosition.x,this.CurrentPosition.y)}get MouseCursor(){return this._mouseCursor}get FrozenIntersectionType(){return this._frozenIntersectionType}set FrozenIntersectionType(e){this._frozenIntersectionType=e}set MouseCursor(e){this._mouseCursor=e}get MouseMode(){return this._MouseAction}set MouseMode(e){this._MouseAction=e}get Interval(){return Date.now()-this.MouseInfo.timeForLastAction}get InteractionMode(){return this.interactionMode}set InteractionMode(e){this.interactionMode=e}get Distance(){return this.CurrentPosition.sub(this.MouseInfo.startPos).getLength()}get AutoClearSceneAction(){return this.autoClearSceneAction}set AutoClearSceneAction(e){this.autoClearSceneAction=e}get IsIntersected(){return this._intersections.length>0&&1===this._intersections.length?this._intersections[0]!==Fde:this._intersections.length>0}get IsSelected(){return this.SelectedIntersections.length>0}get IsBoundingBoxIntersection(){return!!this._intersectableMap[Vp.BoundingBoxClass]}get IsARPlaneIntersection(){return!!this._intersectableMap[Vp.ARPlaneClass]}get IsVPlacerIntersection(){return!!this._intersectableMap[Vp.VPlacerBoxClass]}get IsLOIntersection(){return!!this._intersectableMap[Vp.DHLOBase]}get IsFittingLOIntersection(){return!!this._intersectableMap[Vp.DHLOBase_FITTING_ELEMENT]}get IsDimLineIntersection(){return!!this._intersectableMap[Vp.DimLinearLineClass]}get IsFloorIntersection(){return!!this._intersectableMap[Vp.DHFloorClass]}get IsMoving(){return this.isMoving||(this.isMoving=this.Distance>this.MOVE_TOLERANCE),this.isMoving}set IsMoving(e){this.isMoving=e}get IsBeginMoving(){return this.isBeginMoving||this.isMoving||(this.isBeginMoving=this.Distance>this.BEGIN_MOVE_TOLERANCE),this.isBeginMoving}set IsBeginMoving(e){this.isBeginMoving=e}get IsHolding(){return this.isHolding||(this.isHolding=this.Interval>=this.HOLD_INTERVAL),this.isHolding}set IsHolding(e){this.isHolding=e}get SelectedIntersections(){const e=$le.getIIs(),t=[];return this._intersections.forEach(r=>{let n=r.object;for(;n&&n!==aae.world;){if(n instanceof Dme&&e.indexOf(""+n.instanceIdent)>=0){t.push(lae.get(n.instanceIdent));break}n=n.parent}}),t}get SelectedPOIntersections(){const e=$le.getIIs(),t=[];return this.IIIntersection.forEach(r=>{e.indexOf(r)>=0&&t.push(lae.get(r))}),t}get IIIntersection(){const e=[];return this._intersections.forEach(t=>{if(t.object.findPOFromLO){const r=t.object.findPOFromLO(!1,!0);r instanceof Dme&&-1===e.indexOf(""+r.instanceIdent)&&e.push(""+r.instanceIdent)}}),e}get Intersections(){return this._intersections}get Intersection(){return this._intersectionObj.elements}get AnyIntersection(){return this._intersectionAny}get FirstLOIntersection(){const e=Yse.AnyIntersection;if(!e||!e.object)return null;let t=e.object;for(;!(t instanceof Dme)&&t;){if(t instanceof Jse&&t.LO.hasVisibleGeometry())return t.LO;if(t=t.parent,!t||t instanceof bo)break}return t&&t.IsExcluded?null:t}get LastTippedPO(){return this._lastTippedPO}set LastTippedPO(e){this._lastTippedPO=e}get IntersectionObject(){return this._intersectionObj}get IntersectionObjectDirection(){return this.IntersectionObject.ray.face.normal}get HoverBoxIntersection(){return this._intersectableMap[Vp.HoverBoxClass]}get IntersectedBoundingBox(){return this._intersectableMap[Vp.BoundingBoxClass]}get IntersectedVPlacer(){return this._intersectableMap[Vp.VPlacerBoxClass]}set IntersectedVPlacer(e){this._intersectableMap[Vp.VPlacerBoxClass]=e}get IntersectedDimLine(){return this._intersectableMap[Vp.DimLinearLineClass]}get IntersectedLO(){return this._intersectableMap[Vp.DHLOBase]}get GlobalPosition(){return this.MouseInfo.globalPos}set GlobalPosition(e){this.MouseInfo.globalPos.x=e.x,this.MouseInfo.globalPos.y=e.y}get IntersectedFittingLO(){return this._intersectableMap[Vp.DHLOBase_FITTING_ELEMENT]}get CurrentPosition(){return this.MouseInfo.curPos}set CurrentPosition(e){isNaN(e.x)&&console.log("WITQHAJLSFHKL"),this.MouseInfo.startPos.x&&this.MouseInfo.startPos.y||this.MouseInfo.startPos.set(e.x,e.y),this.MouseInfo.curPos.x=e.x,this.MouseInfo.curPos.y=e.y}get SceneAction(){return Bde.FurnplanInteractionMode?null:this._sceneAction}set StartPosition(e){const t=this.CalcOffset(e);!isNaN(t.offsetX)&&!isNaN(t.offsetY)&&t.x&&t.y&&(this.CurrentPosition=new rI(t.offsetX,t.offsetY)),this.MouseInfo.startPos.set(this.CurrentPosition.x,this.CurrentPosition.y)}set Offset(e){this.gOffset.x=e.x,this.gOffset.y=e.y}constructor(){this.EVENT_Move={name:"mouseMove"},this.EVENT_Up={name:"mouseUp"},this.MouseInfo={curPos:new rI,globalPos:new rI,startPos:new rI,diffLastUp:null,diffLastDown:null,timeForLastAction:0,lastPickedObject:null},this.domElement=null,this.HOLD_INTERVAL=300,this.MOVE_TOLERANCE=20,this.BEGIN_MOVE_TOLERANCE=10,this.interactionMode=Pp.DEFAULT,this.raycaster=new Mc,this._intersectableType="",this._intersectableMap={},this._intersectableDistanceMap={},this.gOffset={x:30,y:70},this._intersections=[],this._intersectionObj=null,this._intersectionAny=null,this.lastEvent=null,this._lastTippedPO=null,this.isMoving=!1,this.isBeginMoving=!1,this.isHolding=!1,this.autoClearSceneAction=!0,this._MouseAction=kp.None,this._mouseCursor="default",this._sceneAction=null,this._IntersectionType=Dp.NONE,this._frozenIntersectionType="",this._inputEvents={},Qp.register("stopIndividualWallAction",()=>{var e;Yse.InteractionMode===Pp.WALL_INDIVIDUAL&&Yse.SceneAction&&(null===(e=Yse.SceneAction)||void 0===e||e.cancel(),Yse.clearSceneAction(!0))}),Qp.register("startIndividualWallAction",()=>{Yse.InteractionMode=Pp.WALL_INDIVIDUAL,Yse.updateSceneAction("wallInteractive")}),Rm.on("ShowLVCModify",()=>qse(this,void 0,void 0,function*(){var e;Yse.updateSceneAction("lvcmodify"),Yse.InteractionMode=12,null===(e=Yse.SceneAction)||void 0===e||e.begin()}))}updateSceneAction(e){if(Bde.FurnplanInteractionMode)return;const t=qre.get(e);this._sceneAction&&this._sceneAction!==t&&this._sceneAction.cancel(),Bde.FurnplanInteractionMode||(this._sceneAction=t)}switchSceneAction(e){this._sceneAction=qre.get(e)}clearSceneAction(e){this._sceneAction!==ese&&this._sceneAction!==Fse&&this._sceneAction!==Ose||0===$le.Count&&FI.clearMarker(),Xre.clear(),Xre.incrementRev(),e&&"boolean"==typeof e&&(this.autoClearSceneAction=e),this._sceneAction&&(Lse.NeedsUpdate="globalMeasureBox"),this._sceneAction=null}registerDomElement(e){this.domElement=e,$(document).on("touchstart",this.onDown),$(document).on("touchmove",this.onMove),$(document).on("touchend",this.onUp),$(document).on("mousedown",this.onDown),$(document).on("mousemove",this.onMove),$(document).on("mouseup",this.onUp),$(document).on("mousewheel",this.onMouseWheel),$(document).on("DOMMouseScroll",this.onMouseWheel)}CalcOffset(e,t){let r,n;const i=e.originalEvent||e;let o=0,s=0;const a=this.domElement.offset(),l=a.top-$(window).scrollTop(),c=a.left-$(window).scrollLeft();return i&&i.touches&&i.touches.length>0?(o=i.touches[0].pageX,s=i.touches[0].pageY):i&&i.changedTouches&&i.changedTouches[0]?(o=i.changedTouches[0].pageX,s=i.changedTouches[0].pageY):(o=e.pageX,s=e.pageY),r=o,n=s,t||(r-=c,n-=l),Wp.getType()!==Mp.MOBILE||this.interactionMode!==Pp.FITTING&&this.interactionMode!==Pp.PROPTRANSFER||(r-=this.gOffset.x,n-=this.gOffset.y),{offsetX:r,offsetY:n,x:o,y:s}}updatePosition(e){const t=this.CalcOffset(e);!isNaN(t.offsetX)&&!isNaN(t.offsetY)&&t.x&&t.y&&(this.CurrentPosition={x:t.offsetX,y:t.offsetY},this.GlobalPosition={x:t.x,y:t.y})}checkIntersection(e,t){this._mouseCursor="default";let r=!1;const n=new fr(e/aue.CurrentCameraControl.DomElement.clientWidth*2-1,-t/aue.CurrentCameraControl.DomElement.clientHeight*2+1);this.raycaster.setFromCamera(n,aue.CurrentCamera.Camera),this._intersectionObj={elements:null,ray:null},this._IntersectionType=Dp.NONE,this._intersections=[],this._intersectionAny=null,this._intersectableMap={},this._intersectableDistanceMap={},this._intersectableType="";let i=null,o="";const s=Kre.getSortedKeys();if(!Bde.IntersectionMarkerDisabled&&!kse.IsTouch&&Bde.IsPlacerMode){const e=Phe.TimeLine.AddTimer("DH_LO_BASE_INTERSECTION_MARKER_DELETE");FI.clearMarker(!0,NI.INTERSECTION),Phe.TimeLine.EndTimer(e)}for(let e=0,t=s.length;e<t;e++){const t=s[e];Kre.traverse(t,e=>{if(e&&e.intersect&&Zoe.isSelectable(t)){let r=e.intersect(this.raycaster);!r&&e.intersectBox&&(r=e.intersectBox(this.raycaster)),r&&(void 0!==this._intersectableDistanceMap[t]&&null!==this._intersectableDistanceMap[t]||(this._intersectableDistanceMap[t]=1/0),Bde.DepthSelection&&this._intersectableMap[t]&&this._intersectableMap[t]instanceof Dme&&r.object instanceof Dme&&(r.object.isChildOf(this._intersectableMap[t])?(this._intersectableMap[t]=r.object,this._intersectableDistanceMap[t]=r.intersection.distance):this._intersectableMap[t].isChildOf(r.object)&&(r.intersection.distance=1/0)),this._intersectableMap[t]&&this._intersectableMap[t]instanceof Bme&&r.object instanceof Bme&&this.IntersectedLO&&r.object.getLO().isChildOf(this.IntersectedLO)?r.object.getLO().isChildOf(this._intersectableMap[t].getLO())&&(this._intersectableMap[t]=r.object):(!this._intersectableMap[t]||this._intersectableDistanceMap[t]>r.intersection.distance)&&(this._intersectableMap[t]=r.object,o.length>0&&o!==t&&r.object.RemoveOnSecondaryIntersection&&delete this._intersectableMap[t],this._intersectableDistanceMap[t]=r.intersection.distance),(!i||i.intersection.distance>r.intersection.distance)&&(0===o.length&&(o=t),o===t&&(i=r)))}})}return i&&i.object&&!this.IsFloorIntersection?(this._intersections.push({object:i.object}),i.object.setIntersected(!0),this._intersectionObj.elements=i.object,this._intersectionObj.ray=i.intersection,this._intersectionAny=i.intersection,r=!0):!kse.IsTouch&&Bde.IsPlacerMode&&FI.clearMarker(!0,NI.INTERSECTION),$(fme.RenderDiv).css("cursor",this._mouseCursor),r}checkSingleIntersection(e,t){let r=[];if(e){const n=this.CurrentPosition.x,i=this.CurrentPosition.y,o=new fr(n/aue.CurrentCameraControl.DomElement.clientWidth*2-1,-i/aue.CurrentCameraControl.DomElement.clientHeight*2+1);this.raycaster.setFromCamera(o,aue.CurrentCamera.Camera),r=this.raycaster.intersectObject(e,!0),t&&(t.obj=r[0])}return r.length>0}onDown(e){if(Qse.setLastInteraction(),Yse.IsMoving=!1,Yse.IsBeginMoving=!1,Yse.IsHolding=!1,"touchstart"===e.type||Wp.getType()!==Mp.MOBILE){FurnplanKataTreeInterface.postMessage("furnplan.closeCategory",[]),Yse.lastEvent=e,e=e.originalEvent||e,kse.IsTouch=!(e instanceof MouseEvent),Yse.StartPosition=e,Yse.updatePosition(e),Yse.MouseInfo.timeForLastAction=Date.now();try{Yse.checkIntersection(Yse.CurrentPosition.x,Yse.CurrentPosition.y)}catch(e){}if(Nse.setContextMenu($I.Opened),0===e.button||e.touches&&e.touches.length>0||e.changedTouches&&e.changedTouches.length>0){if(kse.onDown(e),kse.isCanvas()||hse.IsDragging){if(Xce.PlacerEnabled=!1,Xce.pickPlane(Yse.CurrentPosition.x,Yse.CurrentPosition.y))return;iI.onTouchStart(e),Nse.onDown(e)}}else 2===e.button&&kse.isCanvas()&&(iI.onTouchStart(e),Nse.onRDown(e));Ame.requestRendering()}}onMove(e){if(Qse.setLastInteraction(),aue.CurrentCameraControl.IsInteracting)return!1;Yse.lastEvent=e||Yse.lastEvent,Yse.lastEvent&&(Yse.lastEvent=Yse.lastEvent.originalEvent||Yse.lastEvent,Yse.SceneAction||Ame.requestRendering(),Yse.updatePosition(Yse.lastEvent),Yse.checkIntersection(Yse.CurrentPosition.x,Yse.CurrentPosition.y),(0===Yse.lastEvent.button||Yse.lastEvent.touches&&Yse.lastEvent.touches.length>0||Yse.lastEvent.changedTouches&&Yse.lastEvent.changedTouches.length>0)&&(kse.onMove(Yse.lastEvent),Nse.onMove(Yse.lastEvent)))}onUp(e){return qse(this,void 0,void 0,function*(){var t;if(Yse.dispatch(Yse.EVENT_Move,!1),Qse.setLastInteraction(),!e||e.originalEvent&&e.originalEvent.isSimulated||e.isSimulated||"touchend"===e.type||Wp.getType()!==Mp.MOBILE){if(!e&&hse.IsDragging)try{(e=Yse.lastEvent||{}).clientX=Yse.MouseInfo.curPos.x,e.clientY=Yse.MouseInfo.curPos.y}catch(e){console.error(e)}if(Yse.lastEvent=null,e=e.originalEvent||e,iI.onTouchEnd(e),e.lastTouchTime=Yse.MouseInfo.timeForLastAction,Ame.requestRendering(),Yse.updatePosition(e),Yse.checkIntersection(Yse.CurrentPosition.x,Yse.CurrentPosition.y),0===e.button||e.touches&&e.touches.length>0||e.changedTouches&&e.changedTouches.length>0){Yse.InteractionMode;kse.onUp(e),kse.isCanvas()?yield Nse.onUp(e):(Xre.getElements().length>0&&(Xre.clear(),Xre.incrementRev()),Yse.SceneAction&&!Xce.IsActive&&(null===(t=Yse.SceneAction)||void 0===t||t.cancel()))}else 2===e.button&&kse.isCanvas()&&(yield Nse.onRUp(e));!kse.isCanvas()&&Yse.IsMoving&&Yse.IsHolding&&!Bde.IsFurnplanMode&&Yse.autoClearSceneAction&&Yse.clearSceneAction(),Yse.IsMoving=!1,Yse.IsBeginMoving=!1,Yse.IsHolding=!1,$I.noneContextMenuDialog||!$I.Opened||kse.isContextMenu()||$I.removeContextMenu(),Yse.dispatch(Yse.EVENT_Up)}})}reset(){this._intersectionObj={elements:null,ray:null},this._IntersectionType=Dp.NONE,this._intersections=[],this._intersectionAny=null,this._intersectableMap={},this._intersectableDistanceMap={},this._intersectableType=""}onMouseWheel(e){Qse.setLastInteraction(),Ame.requestRendering()}startDraggingFitting(e){e.isWallInteraction&&LI.WallFitting_begin.send([{artNo:e.ArticleNumber,height:e.size.y,manu:e.ManuName,parapetHeight:e.size.z,prog:e.ProgName,type:e.Type,width:e.size.x}]),this.autoClearSceneAction=hse.IsDragging;let t=Promise.resolve();this.interactionMode===Pp.FITTING&&(t=ape.cancelDraggingFitting()),t.then(()=>{this._sceneAction&&this._sceneAction.begin(),this.interactionMode=Pp.FITTING,ape.startDraggingFitting(e)})}cancelDraggingFitting(e){this._sceneAction&&this._sceneAction.cancel(e)}stopDraggingFitting(e){this._sceneAction&&this._sceneAction.end()}startDraggingProgProperty(e){this._sceneAction&&this._sceneAction.begin(e)}startDraggingPropTransfer(e){this.interactionMode!==Pp.PROPTRANSFER&&(this._sceneAction&&this._sceneAction.begin(),this.interactionMode=Pp.PROPTRANSFER)}stopDraggingPropTransfer(){this._sceneAction&&this._sceneAction.end()}cancelDraggingPropTransfer(e){this._sceneAction&&this._sceneAction.cancel()}on(e,t,r=!1){this._inputEvents||(this._inputEvents={}),this._inputEvents[e.name]||(this._inputEvents[e.name]=[]),this._inputEvents[e.name].push({callback:t,once:r})}off(e,t){if(this._inputEvents&&this._inputEvents[e.name])if(t){const r=this._inputEvents[e.name].findIndex(e=>e.callback===t);r>=0&&this._inputEvents[e.name].splice(r,1)}else delete this._inputEvents[e.name]}dispatch(e,...t){if(this._inputEvents&&this._inputEvents[e.name])for(let r=this._inputEvents[e.name].length-1;r>=0;r--){const n=this._inputEvents[e.name][r];n&&(n.callback&&n.callback(...t),n.once&&this._inputEvents[e.name].splice(r,1))}}};var Xse,Kse=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};let Zse=Xse=class extends qn{constructor(){super(),this._vx=[0,0,0],this._vy=[0,0,0],this._vz=[0,0,0],this._textField=null,this._intersectionMesh=null,this._localExcludedIntersections=[AI],Bde.DimLineIntersectionDisabled||Kre.add(Vp.DimLinearLineClass,{priority:zp.DimLinearLineClass,object:this})}static create(e){const t=new Xse;return t.update(e),t}update(e){const t="lineMaterial-"+e.dimOptions.lineOptions.lineColor.r+"-"+e.dimOptions.lineOptions.lineColor.g+"-"+e.dimOptions.lineOptions.lineColor.b;let r,n=Lde.GetNativeMaterial(t,this);n||(n=Lde.GetNativeMaterial(t,this,new PE({color:new mi(e.dimOptions.lineOptions.lineColor.r,e.dimOptions.lineOptions.lineColor.g,e.dimOptions.lineOptions.lineColor.b),name:t}))),this.remove(...this.children),this._vx=Cp.DHGetVector(e.projection.pu,e.projection.px),this._vy=Cp.DHGetVector(e.projection.pu,e.projection.py),this._vz=Cp.DHVecCross3D(this._vx,this._vy),this._vy=Cp.DHVecCross3D(this._vz,e.projection.direction),r=Cp.distancePointPlaneXYZ(e.dimOptions.endPointOptions.startPoint,e.projection.pu,e.projection.px,e.projection.py);const i=Cp.DHGoVector(e.dimOptions.endPointOptions.startPoint,-r[2],this._vz);r=Cp.distancePointPlaneXYZ(e.dimOptions.endPointOptions.endPoint,e.projection.pu,e.projection.px,e.projection.py);const o=Cp.DHGoVector(e.dimOptions.endPointOptions.endPoint,-r[2],this._vz);r=Cp.distancePointPlaneXYZ(e.dimOptions.endPointOptions.directionPoint,e.projection.pu,e.projection.px,e.projection.py);const s=Cp.DHGoVector(e.dimOptions.endPointOptions.directionPoint,-r[2],this._vz),a=Cp.DHGoVector(s,1,e.projection.direction),l=Cp.DHGoVector(s,1,this._vz);let c;c=Cp.DHGoVector(i,1e3,this._vy);const u=Cp.IntersectionLinePlane(i,c,s,a,l);c=Cp.DHGoVector(o,1,this._vy);const d=Cp.IntersectionLinePlane(o,c,s,a,l);let h=[];h.push([].concat(i,u));const p=yp.createSync({vertices:h});this.add(DE.createSync(p,n)),h=[],h.push([].concat(o,d));const m=yp.createSync({vertices:h});this.add(DE.createSync(m,n)),h=[],h.push([].concat(u,d));const _=yp.createSync({vertices:h});let g,f,v;this.add(DE.createSync(_,n)),g=Cp.DHGoVector(u,e.arrowOptions.ArrowLength*e.arrowOptions.DimScale,e.projection.direction),f=Cp.DHGoVector(g,-.5*e.arrowOptions.ArrowThickness*e.arrowOptions.DimScale,this._vy),v=Cp.DHGoVector(g,.5*e.arrowOptions.ArrowThickness*e.arrowOptions.DimScale,this._vy),h=[],h.push([].concat(u,f)),h.push([].concat(f,v)),h.push([].concat(v,u));const b=yp.createSync({vertices:h});this.add(DE.createSync(b,n)),g=Cp.DHGoVector(d,e.arrowOptions.ArrowLength*e.arrowOptions.DimScale,e.projection.direction,!0),f=Cp.DHGoVector(g,-.5*e.arrowOptions.ArrowThickness*e.arrowOptions.DimScale,this._vy),v=Cp.DHGoVector(g,.5*e.arrowOptions.ArrowThickness*e.arrowOptions.DimScale,this._vy),h=[],h.push([].concat(d,f)),h.push([].concat(f,v)),h.push([].concat(v,d));const y=yp.createSync({vertices:h});this.add(DE.createSync(y,n));const $=Cp.PMitte(u,d);this._textField=AI.createWithStyledPreset(e.dimOptions.textOptions.text,$.multiplyScalar(C)),this.add(this._textField),this.createIntersection(u,d)}setIntersected(e){Bde.DimLineIntersectionDisabled||!this._intersectionMesh||Yse.SceneAction||(e?(this._intersectionMesh.visible=!0,this._intersectionMesh.material.colorWrite=!0,this._intersectionMesh.material.opacity=.2,this._intersectionMesh.material.needsUpdate=!0):this._intersectionMesh.visible=!1)}interact(){return!1}dispose(){Bde.DimLineIntersectionDisabled||Kre.remove(Vp.DimLinearLineClass,this)}createIntersection(e,t){if(!Bde.DimLineIntersectionDisabled){const r=Cp.DHGetVector(e,t),n=Cp.DHVecCross3D(r,Cp.DHPerpendicularVector(r)),i=Cp.DHGoVector(e,30,n,!1),o=Cp.DHGoVector(t,30,n,!0),s=Cp.DHVecCross3D(r,n),a=Cp.DHVecCross3D(n,r);let l=Cp.DHGoVector(i,30,s).toVector(),c=Cp.DHGoVector(o,30,a).toVector();l=this.localToWorld(l),c=this.localToWorld(c);const u=tae.calculatePoints({p1:l,p7:c}),d={positions:[],normals:[],indices:[]};Bme.makeSimpleFace3D(d,u.p1,u.p2,u.p3,u.p4,u.n13),Bme.makeSimpleFace3D(d,u.p2,u.p3,u.p7,u.p6,u.n27),Bme.makeSimpleFace3D(d,u.p3,u.p4,u.p8,u.p7,u.n38),Bme.makeSimpleFace3D(d,u.p4,u.p1,u.p5,u.p8,u.n45),Bme.makeSimpleFace3D(d,u.p5,u.p6,u.p7,u.p8,u.n57),Bme.makeSimpleFace3D(d,u.p1,u.p2,u.p6,u.p5,u.n16);const h=new Oi;h.setAttribute("position",new ki(d.positions,3)),h.computeVertexNormals(),h.setIndex(d.indices),h.addGroup(0,d.positions.length/3,0);const p=new vi({color:16711680,side:2,depthTest:!1});p.transparent=!0,p.opacity=0,p.colorWrite=!1,p.needsUpdate=!0,this._intersectionMesh=new Yi(h,p),this._intersectionMesh.visible=!1,this._intersectionMesh.renderOrder=1e3,this.add(this._intersectionMesh)}}};Zse=Xse=Kse([oce],Zse);const eae=Zse;const tae=new class{constructor(e){}calculatePointsFromBox(e,t){return this.calculatePoints({p1:e.min,p7:e.max},t)}calculatePoints(e,t){const r={p1:new br,p2:new br,p3:new br,p4:new br,p5:new br,p6:new br,p7:new br,p8:new br,n16:new br,n27:new br,n38:new br,n45:new br,n57:new br,n13:new br};return r.p1=e.p1.clone(),r.p7=e.p7.clone(),t&&(r.p1.set(r.p1.x-t.x,r.p1.y-t.y,r.p1.z-t.z),r.p7.set(r.p7.x+t.x,r.p7.y+t.y,r.p7.z+t.z)),r.p2.set(r.p7.x,r.p1.y,r.p1.z),r.p3.set(r.p7.x,r.p7.y,r.p1.z),r.p4.set(r.p1.x,r.p7.y,r.p1.z),r.p5.set(r.p1.x,r.p1.y,r.p7.z),r.p6.set(r.p7.x,r.p1.y,r.p7.z),r.p8.set(r.p1.x,r.p7.y,r.p7.z),r.n16=Cp.DH2Vector3(Cp.DHGetVector(r.p4.toArray(),r.p1.toArray())),r.n27=Cp.DH2Vector3(Cp.DHGetVector(r.p1.toArray(),r.p2.toArray())),r.n38=Cp.DH2Vector3(Cp.DHGetVector(r.p2.toArray(),r.p3.toArray())),r.n45=Cp.DH2Vector3(Cp.DHGetVector(r.p3.toArray(),r.p4.toArray())),r.n57=Cp.DH2Vector3(Cp.DHGetVector(r.p1.toArray(),r.p5.toArray())),r.n13=Cp.DH2Vector3(Cp.DHGetVector(r.p5.toArray(),r.p1.toArray())),r}getBox3(e,t){return(t=t||aae.world)?this.expandByObjectAligned(e,t,!0,!0):null}expandByObjectAligned(e,t,r=!0,n=!0){const i=new br(1/0,1/0,1/0),o=new br(-1/0,-1/0,-1/0),s=new xn,a=(e,t)=>{const l=new br,c=e.geometry;if((e&&(e.parent&&("FURNVIEW_WIDGETS"===e.parent.guid||e.parent.IsWidget)||e.parent instanceof Bme)||e instanceof Bme||e instanceof _ne)&&(e.IsWidget=!0),(zme.checkVisibility(e)||!r)&&void 0!==c&&!e.IsWidget&&n&&!(e instanceof DE)&&!e.isLine&&!(e instanceof AI)&&!(e instanceof eae)&&!(e.parent instanceof eae))if(c.isGeometry){const r=c.vertices;for(let n=0,a=r.length;n<a;n++)l.copy(r[n]),l.applyMatrix4(e.matrixWorld),l.applyMatrix4(s.copy(t.matrixWorld).invert()),i.min(l),o.max(l)}else if(c.isBufferGeometry){const r=c.attributes.position;if(void 0!==r)for(let n=0,a=r.count;n<a;n++)l.fromBufferAttribute(r,n).applyMatrix4(e.matrixWorld),l.applyMatrix4(s.copy(t.matrixWorld).invert()),i.min(l),o.max(l)}for(let r=0;r<e.children.length;r++)a(e.children[r],t)};if(e.forEach(e=>{if(e.updateMatrixWorld(!0),"World"===e.typeText)for(let r=0;r<e.children.length;r++)e.children[r].visible&&!e.children[r].IsWidget&&a(e.children[r],t);else a(e,t)}),zme.isInfinity(i)||zme.isInfinity(o))return null;const l=this.calculatePoints({p1:i,p7:o});return l.p1.applyMatrix4(e[0].matrixWorld),l.p2.applyMatrix4(e[0].matrixWorld),l.p3.applyMatrix4(e[0].matrixWorld),l.p4.applyMatrix4(e[0].matrixWorld),l.p5.applyMatrix4(e[0].matrixWorld),l.p6.applyMatrix4(e[0].matrixWorld),l.p7.applyMatrix4(e[0].matrixWorld),l.p8.applyMatrix4(e[0].matrixWorld),l}};var rae;!function(e){e[e.WIDTH=1]="WIDTH",e[e.HEIGHT=2]="HEIGHT",e[e.DEPTH=3]="DEPTH"}(rae||(rae={}));class nae extends qn{constructor(e,t){super(),this.parentLO=null,this.objectList=null,this.points=null,this.pointsExpandedX=null,this.pointsExpandedY=null,this.excludedTypes=[],this.textWidth=boe.getValue("fv.konfigurator.optionen.planning.measureBox.ext_Text.width"),this.textDepth=boe.getValue("fv.konfigurator.optionen.planning.measureBox.ext_Text.depth"),this.textHeight=boe.getValue("fv.konfigurator.optionen.planning.measureBox.ext_Text.height"),this.customSettings={measureB_custom:!1,measureB_dim_texts:!1,measureB_line_color:"#000000",measureB_line_opacity:1},Bde.BoxStyleSetting&&Bde.BoxStyleSetting.measureBox&&Bde.BoxStyleSetting.measureBox.measureB_custom&&(this.customSettings=Bde.BoxStyleSetting.measureBox),this.objectList=e,this.excludedTypes=t.excludedTypeInfo||[]}static create(e,t){const r=new nae(e,t),n=r.createPoints();return n||(r.expandPoints(),r.createTextSprites(),r.createMeasureLineGeometry()),r.createWallMeasurements(),r.visible=!n||r.children.length>0,r}update(){this.parentLO&&!this.parent&&-1===this.parentLO.children.indexOf(this)&&this.parentLO.add(this);for(let e=this.children.length-1;e>=0;e--)this.children[e]&&this.children[e].geometry&&this.children[e].geometry.dispose&&this.children[e].geometry.dispose(),this.children[e].dispose&&this.children[e].dispose(),this.remove(this.children[e]);if(!Bde.GlobalMeasureBox)return void(this.visible=!1);const e=this.createPoints();e||(this.expandPoints(),this.createTextSprites(),this.createMeasureLineGeometry()),this.createWallMeasurements(),this.visible=!e||this.children.length>0}dispose(e=!0){for(let e=this.children.length-1;e>=0;e--)this.children[e]&&this.children[e].geometry&&this.children[e].geometry.dispose&&this.children[e].geometry.dispose(),this.children[e].dispose&&this.children[e].dispose(),this.remove(this.children[e]);e&&(this.objectList=[])}createPoints(){if(1===this.objectList.length){const e=this.objectList[0];if("World"!=e.typeText&&this.excludedTypes&&-1===this.excludedTypes.indexOf(+e.typeInfo))return this.points=tae.getBox3(this.objectList,this.objectList[0]),!1}const e=new Qr(new br(1/0,1/0,1/0),new br(-1/0,-1/0,-1/0));return this.objectList.forEach(t=>{const r=zme.expandByObjectExclusion(t,!0,!0,this.excludedTypes);zme.isInfinity(r)||(e.min.min(r.min),e.max.max(r.max))}),e.min.z=e.min.z<0?0:e.min.z,this.points=tae.calculatePointsFromBox(e),zme.isInfinity(e)}expandPoints(e=100){this.pointsExpandedX=tae.calculatePoints({p1:this.points.p1,p7:this.points.p7},{x:e,y:0,z:0}),this.pointsExpandedY=tae.calculatePoints({p1:this.points.p1,p7:this.points.p7},{x:0,y:e,z:0})}createTextSprites(){const e=(e,t)=>{let r="";const n=Cp.DHGetVector(e.start,e.end);let i=Cp.DHBetrag(e.start,e.end);const o=Cp.DHGoVector(e.start,i/2,n);if(i=Cp.DHBetrag(e.start.clone().divideScalar(C),e.end.clone().divideScalar(C)),this.customSettings.measureB_dim_texts)switch(t){case rae.DEPTH:r=this.textDepth+": "+Math.floor(i)/(1/Bde.DimensionScale)+" cm";break;case rae.HEIGHT:r=this.textHeight+": "+Math.floor(i)/(1/Bde.DimensionScale)+" cm";break;case rae.WIDTH:r=this.textWidth+": "+Math.floor(i)/(1/Bde.DimensionScale)+" cm";break;default:r=Math.floor(i)/(1/Bde.DimensionScale)+" cm"}else r=Math.floor(i)/(1/Bde.DimensionScale)+" cm";return r=r.replace(/\./g,","),AI.createWithStyledPreset(r,o)};this.add(e({start:this.pointsExpandedY.p1,end:this.pointsExpandedY.p2},rae.WIDTH)),this.add(e({start:this.pointsExpandedX.p1,end:this.pointsExpandedX.p4},rae.DEPTH)),this.add(e({start:this.pointsExpandedX.p2,end:this.pointsExpandedX.p6},rae.HEIGHT))}createWallMeasurements(){if(!Bde.MeasureBoxMeasureWalls)return;const e=Object.values(Aie.fp_walls),t=e.some(e=>{var t,r,n;return 1===(null===(n=null===(r=null===(t=e.AdvancedInfo)||void 0===t?void 0:t.IWALL_INFO)||void 0===r?void 0:r.DETAILS)||void 0===n?void 0:n.isPrimary)}),r=t?e.filter(e=>{var t,r,n;return 1===(null===(n=null===(r=null===(t=e.AdvancedInfo)||void 0===t?void 0:t.IWALL_INFO)||void 0===r?void 0:r.DETAILS)||void 0===n?void 0:n.isPrimary)}):e;r.forEach(e=>{var t,r;const n=null===(r=null===(t=e.AdvancedInfo)||void 0===t?void 0:t.IWALL_INFO)||void 0===r?void 0:r.CORNER_DATA;if(!(null==n?void 0:n.W1P1)||!(null==n?void 0:n.W1P2))return;const i=new br(n.W1P1[0],n.W1P1[1],n.W1P1[2]),o=new br(n.W1P2[0],n.W1P2[1],n.W1P2[2]),s=(new br).subVectors(o,i).normalize(),a=(new br).crossVectors(s,new br(0,0,1)).normalize().clone().multiplyScalar(100),l=i.clone().add(a),c=o.clone().add(a);l.z=e.dimension[2]-250,c.z=e.dimension[2]-250;const u=new br(i.x,i.y,0),d=new br(o.x,o.y,0),h=u.clone().add(new br(0,0,1));this.drawMeasureRect(u,d,h,l,c,6,3),this.drawMeasureEdgeRects(u,d,h,l,c,40,6,3);const p=Cp.DHBetrag(l.clone().divideScalar(C).toArray(),c.clone().divideScalar(C).toArray()),m=l.clone().add(c).multiplyScalar(.5),_=(Math.floor(p)/(1/Bde.DimensionScale)+" cm").replace(/\./g,",");this.add(AI.createWithStyledPreset(_,m.toArray()))})}createMeasureLineGeometry(){this.drawMeasureRect(this.points.p1,this.points.p2,this.points.p4,this.pointsExpandedY.p1,this.pointsExpandedY.p2,6,3),this.drawMeasureRect(this.points.p1,this.points.p2,this.points.p4,this.pointsExpandedX.p1,this.pointsExpandedX.p4,6,3),this.drawMeasureRect(this.points.p1,this.points.p2,this.points.p5,this.pointsExpandedX.p2,this.pointsExpandedX.p6,6,3),this.drawMeasureEdgeRects(this.points.p1,this.points.p2,this.points.p4,this.pointsExpandedY.p1,this.pointsExpandedY.p2,40,6,3),this.drawMeasureEdgeRects(this.points.p1,this.points.p2,this.points.p4,this.pointsExpandedX.p1,this.pointsExpandedX.p4,40,6,3),this.drawMeasureEdgeRects(this.points.p1,this.points.p2,this.points.p5,this.pointsExpandedX.p2,this.pointsExpandedX.p6,40,6,3)}drawMeasureRect(e,t,r,n,i,o=10,s=10,a=0){const l=(new br).subVectors(t,e),c=(new br).subVectors(r,e),u=(new br).crossVectors(l,c).normalize(),d=n.distanceTo(i),h=(new br).subVectors(i,n).normalize(),p=(new br).crossVectors(u,h).normalize();u.crossVectors(h,p).normalize();const m=new Ki(d,o,s),_=new vi({color:new mi(this.customSettings.measureB_line_color),opacity:this.customSettings.measureB_line_opacity,transparent:!0,side:2}),g=new Yi(m,_);g.position.addVectors(n,i).multiplyScalar(.5);const f=(new xn).makeBasis(h,p,u);g.setRotationFromMatrix(f),this.add(g)}drawMeasureEdgeRects(e,t,r,n,i,o=10,s=10,a=10,l=0){const c=(new br).subVectors(t,e),u=(new br).subVectors(r,e),d=(new br).crossVectors(c,u).normalize(),h=(new br).subVectors(i,n).normalize(),p=(new br).crossVectors(h,d).normalize(),m=o/2,_=Cp.DHGoVector(n,m,p),g=Cp.DHGoVector(n,m,p,!0),f=Cp.DHGoVector(i,m,p),v=Cp.DHGoVector(i,m,p,!0),b=new br(_[0],_[1],_[2]),y=new br(g[0],g[1],g[2]),$=new br(f[0],f[1],f[2]),x=new br(v[0],v[1],v[2]);this.drawMeasureRect(e,t,r,b,y,s,a,l),this.drawMeasureRect(e,t,r,$,x,s,a,l)}}const iae=new class extends _{constructor(){super()}processMessage({header:e,data:t}){const{command:r}=e;return r.startsWith("external.")?(oae.dispatch(r,t),!0):!r.startsWith("silent.")&&(pM.dispatch(r,Array.isArray(t)?t:[t]),!0)}processRequest({header:e,data:t}){const{command:r}=e;if(r.startsWith("external.")){const e=oae.dispatch(r,t);if(e)return e}else if(!r.startsWith("silent."))return pM.dispatch(r,t),Promise.resolve()}checkParent(){window.parent&&window.parent!==window&&g.tryPing(window.parent,e=>this.initConnection(e))}initConnection(e){this.postMessageConnector||(this.postMessageConnector=new g(e.source,e.origin),this.postMessageConnector.setDebugName("WebUi-PostMessage"),this.postMessageConnector.setCommunicator(A,[w.WebUi]),this.postMessageConnector.start(),super.setCommunicator(A))}hasConnection(){return!!this.postMessageConnector}send(e,t){if(this.hasConnection())return super.send(w.WebUi,e,t);window!==window.parent&&window.parent.postMessage({command:e,parameters:t},"*")}};const oae=new class extends t{constructor(){super(),this.callbacks={}}on(e,t){this.callbacks[e]=t}off(e){this.callbacks[e]&&delete this.callbacks[e]}has(e){return!!this.callbacks[e]}dispatch(e,t){const r=this.callbacks[e];return!!r&&r(...t).then(e=>(e&&Array.isArray(e)||(e=[]),e))}send(e,...t){return this.sendToApp(e,t)}sendToApp(e,t){t=t||[],iae.send(e,t)}};var sae=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};const aae=new class{get SceneFullyLoaded(){return this._sceneFullyLoaded}constructor(){this.Version=1,this.world=null,this._measureBox=null,this._sceneFullyLoaded=Om(),this._sceneFullyResolved=!1,this._parseVersion=0,this._waitDebounce=null,this.LoadLOHierarchy=e=>{const t=this;return eI.addCaller(ZE.parse(e).then(function(e){return e&&(t.world=e,t.world.isScene=!0,t.world.overrideMaterial=null,t.world.environment=null,t.world.fog=null,t.world.background=null),e}).catch(function(e){console.error(e)}))},this.SetCenterCam=(e=!1)=>{if(Yse.InteractionMode===Pp.FITTING||Yse.InteractionMode===Pp.PROPTRANSFER||Yse.InteractionMode===Pp.DELETE_FITTING||Yse.InteractionMode===Pp.REPLACE_FITTING||Yse.SceneAction&&Yse.SceneAction!==fne)return!1;if(fle.AddIfTargetValid(),!e)if("back_center"===Bde.CameraRotationPoint)aue.CurrentCameraControl.CenterPoint=fle.CalcCenterBackPoint();else aue.CurrentCameraControl.CenterPoint=fle.CalcCenterPoint();return!0},this.ShowLines=(e,t)=>{this.world&&(this.world.traverse(function(t){t instanceof As&&t.parent instanceof mo&&(t.visible=e)}),t||Ame.requestRendering())},this.ChangeFrontState=e=>{this.world&&("boolean"!=typeof e&&"number"!=typeof e&&(e=Bde.ShowFront),this.world.traverse(function(t){t&&t instanceof Dme&&t.keys&&t.keys&&-1!==t.keys.indexOf(10006)&&(t.visible=!!e)}),Bde.ShowFront=!!e,Ame.requestRendering(),g_configuration.panel_right_register_old_kata_tree?FurnplanKataTreeInterface.postMessage("furnplan.changeFrontState",[e]):g_configuration.webui_mode&&oae.sendToApp("furnview.setFrontState",[e]))},this.ChangeShadowState=e=>{this.world&&(Bde.ShowShadows=e,this.world.traverse(function(t){t instanceof Yi&&t.material&&(IE.Initialized&&IE.add(t.material),t.castShadow=!!t.canCastShadow&&e,t.receiveShadow=!!t.canReceiveShadow&&e,t.material.needsUpdate=!0)}))};const e=e=>{const t=document.querySelector("kc-configurator-page");t&&(e?t.onToolbarClosedClick(!0):t.onToolbarOpenClick(!0)),this.ChangeFrontState(e)};ZE.configure({onCameraData:e=>{Bde.IsNewLoaded&&(aue.CurrentCameraControl.CenterPoint=new br(e.CameraTargetPos[0],e.CameraTargetPos[1],e.CameraTargetPos[2]),aue.CurrentCamera.EyePos=e.CameraEyePos,aue.CurrentCamera.TargetPos=e.CameraTargetPos,aue.CurrentCamera.FirstTargetPos=e.CameraTargetPos,aue.CurrentCamera.FirstEyePos=e.CameraEyePos)},onDebugClearLog:()=>Phe.DebugWindow.sendMessage("clearLog"),onDebugLogWorld:e=>Phe.logWorld(e),onDebugLogWorldMods:e=>Phe.logWorldModifications(e),onTimerStart:e=>Phe.TimeLine.AddTimer(e),onTimerEnd:e=>Phe.TimeLine.EndTimer(e),onCenterPointNeedsUpdate:()=>{aue.CenterPointNeedsUpdate=!0},onFinish:()=>this._onParsed()}),Rm.on("FrontStateChanged",t=>{let r=Bde.ShowFront;t&&"number"==typeof t.state&&(r=!!t.state),e(r)}),Qp.register("ChangeFrontState",t=>(e(t),Promise.resolve()))}_onParsed(){this._parseVersion++,this._sceneFullyResolved&&(this._sceneFullyLoaded=Om(),this._sceneFullyResolved=!1),clearTimeout(this._waitDebounce),this._waitDebounce=setTimeout(()=>this._waitForFullyLoaded(),500)}_waitForFullyLoaded(){return sae(this,void 0,void 0,function*(){const e=this._parseVersion;try{let t=!1;for(;!t;){if(e!==this._parseVersion)return;if(yield Um.waitForAll(),yield new Promise(e=>queueMicrotask(e)),e!==this._parseVersion)return;yield Um.waitForAll(),t=Um.idle}if(e!==this._parseVersion)return;if(yield new Promise(e=>requestAnimationFrame(()=>e())),e!==this._parseVersion)return;this._sceneFullyResolved=!0,this._sceneFullyLoaded.resolve(),window.dispatchEvent(new CustomEvent("sceneReady",{})),console.info("[SceneReady]"),Lse.NeedsUpdate="globalMeasureBox"}catch(t){e===this._parseVersion&&(this._sceneFullyResolved=!0,this._sceneFullyLoaded.reject(t))}})}get HasMeasureBox(){return!(!this._measureBox||-1===this.world.children.indexOf(this._measureBox))}hideMeasureBox(){this._measureBox&&(this._measureBox.visible=!1)}showMeasureBox(){if(this._measureBox)-1===this.world.children.indexOf(this._measureBox)&&this.world.add(this._measureBox),this._measureBox.visible=!0,Lse.NeedsUpdate="globalMeasureBox";else if(Bde.MeasureBoxEnabled){const e={excludedTypeInfo:[91e3,90013,100036,100038,100039,90016]};$le.Count>=1?this._measureBox=nae.create($le.All,e):this._measureBox=nae.create([this.world],e),Lse.add("globalMeasureBox",this._measureBox),this.world.add(this._measureBox),this._measureBox.parentLO=this.world}}updateMeasureBoxSelection(e){this._measureBox&&(this._measureBox.objectList=e,this._measureBox.update())}checkIfFrontGraphicsExists(e,t=!1){if(e||(e=this.world),!e)return!1;if(t&&(e instanceof Yi||e instanceof As))return!0;if(!(e.children&&e.children.length>0))return!1;!t&&e.keys&&-1!==e.keys.indexOf(10006)&&(t=!0);for(let r=0;r<e.children.length;r++)if(this.checkIfFrontGraphicsExists(e.children[r],t))return!0}iterateWalls(e){this.world&&this.world.traverse(function(t){t instanceof Dme&&t.IsWallElement&&e(t)})}setLightingScenario(e){this.iterateWalls(t=>{const r=t.getMaterials();"Outdoor"===e&&("length"in r?r[0].shadowSide=1:r.shadowSide=1)})}};const lae=new class{constructor(){this.objects={},this.BBox3List={},this.lastAddedII="-1",this._deleteListeners=[],Rm.on("DeleteLO",e=>{const t=this.get(e.instanceIdent);t&&(t.parent&&t.parent.remove(t),this.remove(e.instanceIdent))})}add(e,t){if(this.objects[e]=t,null!==t.BBox3&&(this.BBox3List[e]={object:t,bb:t.BBox3}),t instanceof Dme&&!t.CheckForGenElement()&&!t.CheckForManagerElement()){const e=t.findPOFromLO&&t.findPOFromLO(!1,!0)||t;(e.parent&&e.parent===aae.world||e.parentLO&&e.parentLO===aae.world)&&(this.lastAddedII=this.lastAddedII<e.instanceIdent?e.instanceIdent:this.lastAddedII)}}remove(e){const t=this.get(e,!0);let r=t;if(t&&t.object&&(r=t.object,delete t.bb),r&&r.children)for(let e=0;e<r.children.length;e++)r.children[e]instanceof Dme&&this.remove(r.children[e].instanceIdent);delete this.objects[e]}get(e,t){return t&&this.objects[e]&&this.BBox3List[e]&&this.BBox3List[e].parent?this.BBox3List[e]:this.objects[e]&&this.objects[e].parent?this.objects[e]:null}removeUnused(){const e=Object.keys(this.objects);Dhe.TScene.traverse(t=>{if(t instanceof Dme||t.instanceIdent){const r=e.indexOf(""+t.instanceIdent);-1!==r&&e.splice(r,1)}}),e.forEach(e=>{this.remove(Number.parseInt(e))})}getAllBB(){return this.removeUnused(),this.BBox3List}getLastAddedIIs(){this.removeUnused();const e=this.getPOs().map(e=>e.instanceIdent);return e.sort((e,t)=>e-t),""+e[e.length-1]}getPOGuids(){this.removeUnused();const e={};return this.getPOs().forEach(function(t){e[t.guid]=!0}),Object.keys(e)}CountPO(){return this.removeUnused(),this.getPOIIs().length}getPOIIs(){this.removeUnused();const e={};return this.getPOs().forEach(function(t){e[t.instanceIdent]=!0}),Object.keys(e)}getPOs(...e){this.removeUnused();const t=[];return aae.world&&aae.world.children.forEach(function(e){e instanceof Dme&&"Fussboden"!==e.typeText&&"CH_VERWALTUNG"!==e.typeText&&"CPO_DH_WITH_ALWAYSRUNCHILDS"!==e.typeText&&"CLO_HELPERWIDGETS_GRAPHIC_CONTAINER"!==e.typeText&&"CH_AUFPREISE"!==e.typeText&&30538!==e.typeInfo&&15!==e.typeInfo&&3!==e.typeInfo&&90016!==e.typeInfo&&100033!==e.typeInfo&&/^[0-9a-f]{8}-[0-9a-f]{4}-[1-5][0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i.test(e.guid)&&e.instanceIdent&&t.push(e)}),t}getAllGuids(){this.removeUnused();const e={};return Object.keys(this.objects).forEach(t=>{let r=this.objects[t];r instanceof Dme&&(r=r.findPOFromLO(),r instanceof Dme&&"Fussboden"!==r.typeText&&r.guid&&(e[r.guid]=!0))}),Object.keys(e)}getObjectsByGuids(e){this.removeUnused();const t=[];return Object.keys(this.objects).forEach(r=>{let n=this.objects[r];n instanceof Dme&&(n=n.findPOFromLO(),n instanceof Dme&&"Fussboden"!==n.typeText&&n.guid&&e.indexOf(n.guid)>-1&&-1===t.indexOf(n)&&t.push(n))}),t}getObjectsByTypeInfo(e){this.removeUnused();const t=[];return Object.keys(this.objects).forEach(r=>{const n=this.objects[r];n instanceof Dme&&(Array.isArray(e)&&e.indexOf(n.typeInfo)>-1&&-1===t.indexOf(n)||!Array.isArray(e)&&e===n.typeInfo&&-1===t.indexOf(n))&&t.push(n)}),t}getAllObject(){return this.removeUnused(),this.objects}getAll(){return this.removeUnused(),Object.values(this.objects)}addDeleteListener(e){this._deleteListeners.includes(e)||this._deleteListeners.push(e)}dispatchDelete(e){this._deleteListeners&&this._deleteListeners.forEach(t=>t(e))}};var cae;!function(e){e[e.DEFAULT=0]="DEFAULT",e[e.HORIZONTAL_ARROW=1]="HORIZONTAL_ARROW",e[e.VERTICAL_ARROW=2]="VERTICAL_ARROW",e[e.SPHERE=3]="SPHERE",e[e.BOX=4]="BOX",e[e.GEOMETRICAL_ARROW=5]="GEOMETRICAL_ARROW"}(cae||(cae={}));class uae extends Ms{constructor(e,t,r){super(e,t,r)}static create(e,t,r,n,i,o){let s=150*C,a=40*C,l=[].concat(e);const c=Cp.DHGetVector(e,t),u=Cp.DHGetVector(e,r),d=Cp.DHVecCross3D(c,u);i&&i.arrow&&(s=i.arrow.ArrowLength*i.arrow.DimScale,a=.5*i.arrow.ArrowThickness*i.arrow.DimScale);let h=Cp.DHGoVector(e,s,c);i.arrow.Flipped&&(l=[].concat(h),h=[].concat(e));const p=Cp.DHGoVector(h,a,d),m=Cp.DHGoVector(h,a,d,!0),_=[];_.push([].concat(l,p)),_.push([].concat(p,m)),_.push([].concat(m,l));const g=yp.createSync({vertices:_}),f=new uae(g,o);return f.layers.set(1),f}dispose(){Lde.RemoveNativeMaterial(this.material.name,this),this.geometry.dispose()}}const dae=uae;const hae=new class{createStartsWith(e){return this.getEndPoint(e.startPoint,e.endPoint,e.directionPoint,e.startsWith,e.flipStart,e.extend)}createEndsWith(e){return this.getEndPoint(e.endPoint,e.startPoint,e.directionPoint,e.endsWith,e.flipEnd,e.extend)}createLineSegment(e){const t=[];t.push([].concat(e.startPoint,e.endPoint));const r=yp.createSync({vertices:t});return DE.createSync(r,e.material)}createText(e){let t=null;const r=[].concat(e.textOptions&&e.textOptions.position?e.textOptions.position:e.endPoint.multiplyScalar(C));return t=AI.createWithStyledPreset(e.textOptions.text,r,e.textOptions.align),t}getEndPoint(e,t,r,n,i,o){let s=null;const a=o||{arrow:{},material:new PE};switch(a.arrow.Flipped=i,n){case cae.VERTICAL_ARROW:case cae.HORIZONTAL_ARROW:s=dae.create(e,t,r,n,a,a.material);break;case cae.BOX:s=new Ki(25,25,25,5,5),s.position.set(e[0],e[1],e[2]);break;case cae.SPHERE:s=new Za(25,5,5),s.position.set(e[0],e[1],e[2]);break;case cae.GEOMETRICAL_ARROW:break;case cae.DEFAULT:default:s=dae.create(e,t,r,n,a)}return s}};class pae extends qn{constructor(){super()}static create(e){const t=new pae;return t._startsWith=e.endPointOptions.startsWith,t._flipStart=e.endPointOptions.flipStart,t._endsWith=e.endPointOptions.endsWith,t._flipEnd=e.endPointOptions.flipEnd,t._startPoint=e.endPointOptions.startPoint,t._endPoint=e.endPointOptions.endPoint,t._directionPoint=e.endPointOptions.directionPoint,t._textOptions=e.textOptions,t._lineOptions=e.lineOptions,t._arrowOptions=e.arrowOptions,t.createDimLine(),t}createDimLine(){const e="lineMaterial-0-0-0",t="lineMaterial-"+this._lineOptions.lineColor.r+"-"+this._lineOptions.lineColor.g+"-"+this._lineOptions.lineColor.b+"-"+this._lineOptions.lineColor.a;let r=Lde.GetNativeMaterial(e,this),n=Lde.GetNativeMaterial(t,this);r||(r=Lde.GetNativeMaterial(e,this,new PE({name:e,color:new mi(0,0,0)}))),n||(n=Lde.GetNativeMaterial(t,this,new PE({color:new mi(this._lineOptions.lineColor.r,this._lineOptions.lineColor.g,this._lineOptions.lineColor.b),transparent:this._lineOptions.lineColor.a<1,opacity:this._lineOptions.lineColor.a,name:t}))),this._arrowOptions&&this._arrowOptions.ArrowMode<10&&this._startsWith&&this.add(hae.createStartsWith({extend:{arrow:this._arrowOptions,material:r},startsWith:this._startsWith,startOffset:this._startOffset,startPoint:this._startPoint,directionPoint:this._directionPoint,endPoint:this._endPoint,flipStart:this._flipStart})),this.add(hae.createLineSegment({endPoint:this._endPoint,startPoint:this._startPoint,lineOptions:this._lineOptions,material:n})),this._arrowOptions&&this._arrowOptions.ArrowMode<10&&this._endsWith&&this.add(hae.createEndsWith({extend:{arrow:this._arrowOptions,material:r},endsWith:this._endsWith,endOffset:this._endOffset,startPoint:this._startPoint,directionPoint:this._directionPoint,endPoint:this._endPoint,flipEnd:this._flipEnd})),this.add(hae.createText({textOptions:this._textOptions,startPoint:this._startPoint,endPoint:this._endPoint}))}}const mae=pae;class _ae extends qn{constructor(e){super(),this._startPoint=[0,0,0],this._endPoint=[0,0,1],this._anglePoint=100,this._segments=3,this._thetaLength=2*Math.PI,this._thetaStart=0,this._lineOptions={lineColor:{r:0,g:0,b:0,a:1}},this._startPoint=e.startPoint,this._endPoint=e.endPoint,this._anglePoint=e.anglePoint,this._lineOptions=e.lineOptions,this.createArc(),this.layers.set(1)}static create(e){return(e=e||{}).startPoint=e.startPoint||[0,0,0],e.endPoint=e.endPoint||[0,0,1],e.anglePoint=e.anglePoint||1,e.lineOptions=e.lineOptions||{lineColor:{r:0,g:0,b:0,a:1}},e.lineOptions.lineColor=e.lineOptions.lineColor||{r:0,g:0,b:0,a:1},new _ae(e)}createArc(){let e,t,r;const n=[0,0,0];let i,o;e=Cp.PCopy(this._startPoint),t=Cp.PCopy(this._anglePoint),r=Cp.PCopy(this._endPoint),o=Cp.CalcCenterCircle3Points(e,t,r,n);const s=Cp.DHCalcNumEdges(o);let a=[0,0,0],l=[0,0,0];a=Cp.DHGetVector(n,e),l=Cp.DHGetVector(n,r),i=Cp.DHCalcNormal(t,r,e);const c=Cp.Rad2Deg*Cp.DHAngle3D(n,e,r,i),u=Math.floor(c/s),d=[];for(let e=0;e<s;e++)d.push(Cp.DH2Vector3(Cp.DHPolar3(Cp.Deg2Rad*(u*e),o,this._startPoint))),360===c&&e+1===s&&c-u*e>0&&d.push(Cp.DH2Vector3(Cp.DHPolar3(Cp.Deg2Rad*(c-u*e),o,this._startPoint)));const h=(new Oi).setFromPoints(d),p="lineMaterial-"+this._lineOptions.lineColor.r+"-"+this._lineOptions.lineColor.g+"-"+this._lineOptions.lineColor.b+"-"+this._lineOptions.lineColor.a;let m=Lde.GetNativeMaterial(p,this);m||(m=Lde.GetNativeMaterial(p,this,new PE({color:new mi(this._lineOptions.lineColor.r,this._lineOptions.lineColor.g,this._lineOptions.lineColor.b),transparent:this._lineOptions.lineColor.a<1,opacity:this._lineOptions.lineColor.a,depthTest:!1,name:p}))),this.position.set(-this._startPoint[0],-this._startPoint[1],-this._startPoint[2]),this.add(DE.createSync(h,m))}}const gae=_ae;var fae=Object.defineProperty,vae=(e,t,r)=>((e,t,r)=>t in e?fae(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r)(e,t+"",r);const bae=new Map([[/(uniform vec3 up;)/g,"$1\nuniform float sunEnabled;"],[/(float sundisk[\s\S]+sundisk;)/g,"if (sunEnabled == 1.0) { $1 }"]]);class yae extends Yi{constructor(){const e=iC.SkyShader;e.uniforms.sunEnabled={value:1};for(const[t,r]of bae.entries())e.fragmentShader=e.fragmentShader.replaceAll(t,r);const t=new no({name:e.name,uniforms:ro.clone(e.uniforms),vertexShader:e.vertexShader,fragmentShader:e.fragmentShader,side:1,depthWrite:!1});super(new Ki(1,1,1),t),vae(this,"isSky",!0)}}const $ae={name:"HBAOShader",defines:{PERSPECTIVE_CAMERA:1,SAMPLES:16,SAMPLE_VECTORS:Sae(16),NORMAL_VECTOR_TYPE:1,DEPTH_VALUE_SOURCE:0,SAMPLING_FROM_NOISE:0},uniforms:{tNormal:{value:null},tDepth:{value:null},tNoise:{value:null},resolution:{value:new fr},cameraNear:{value:null},cameraFar:{value:null},cameraProjectionMatrix:{value:new xn},cameraProjectionMatrixInverse:{value:new xn},radius:{value:2},distanceExponent:{value:1},bias:{value:.01}},vertexShader:"\n\n\t\tvarying vec2 vUv;\n\n\t\tvoid main() {\n\n\t\t\tvUv = uv;\n\n\t\t\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n\n\t\t}",fragmentShader:"\n\n\t\tvarying vec2 vUv;\n\n\t\tuniform sampler2D tNormal;\n\t\tuniform sampler2D tDepth;\n\t\tuniform sampler2D tNoise;\n\t\tuniform vec2 resolution;\n\t\tuniform float cameraNear;\n\t\tuniform float cameraFar;\n\t\tuniform mat4 cameraProjectionMatrix;\n\t\tuniform mat4 cameraProjectionMatrixInverse;\n\t\tuniform float radius;\n\t\tuniform float distanceExponent;\n\t\tuniform float bias;\n\n\t\t#include <common>\n\t\t#include <packing>\n\n\t\t#ifndef FRAGMENT_OUTPUT\n\t\t#define FRAGMENT_OUTPUT vec4(vec3(ao), 1.)\n\t\t#endif\n\n\t\tconst vec4 sampleKernel[SAMPLES] = SAMPLE_VECTORS;\n\n\t\tvec3 getViewPosition(const in vec2 screenPosition, const in float depth) {\n\t\t\tvec4 clipSpacePosition = vec4(vec3(screenPosition, depth) * 2.0 - 1.0, 1.0);\n\t\t\tvec4 viewSpacePosition = cameraProjectionMatrixInverse * clipSpacePosition;\n\t\t\treturn viewSpacePosition.xyz / viewSpacePosition.w;\n\t\t}\n\n\t\tfloat getDepth(const vec2 uv) {\n\t\t#if DEPTH_VALUE_SOURCE == 1\n\t\t\treturn textureLod(tDepth, uv.xy, 0.0).a;\n\t\t#else\n\t\t\treturn textureLod(tDepth, uv.xy, 0.0).r;\n\t\t#endif\n\t\t}\n\n\t\tfloat fetchDepth(const ivec2 uv) {\n\t\t\t#if DEPTH_VALUE_SOURCE == 1\n\t\t\t\treturn texelFetch(tDepth, uv.xy, 0).a;\n\t\t\t#else\n\t\t\t\treturn texelFetch(tDepth, uv.xy, 0).r;\n\t\t\t#endif\n\t\t}\n\n\t\tfloat getViewZ(const in float depth) {\n\t\t\t#if PERSPECTIVE_CAMERA == 1\n\t\t\t\treturn perspectiveDepthToViewZ(depth, cameraNear, cameraFar);\n\t\t\t#else\n\t\t\t\treturn orthographicDepthToViewZ(depth, cameraNear, cameraFar);\n\t\t\t#endif\n\t\t}\n\n\t\tvec3 computeNormalFromDepth(const vec2 uv) {\n            vec2 size = vec2(textureSize(tDepth, 0));\n            ivec2 p = ivec2(uv * size);\n            float c0 = fetchDepth(p);\n            float l2 = fetchDepth(p - ivec2(2, 0));\n            float l1 = fetchDepth(p - ivec2(1, 0));\n            float r1 = fetchDepth(p + ivec2(1, 0));\n            float r2 = fetchDepth(p + ivec2(2, 0));\n            float b2 = fetchDepth(p - ivec2(0, 2));\n            float b1 = fetchDepth(p - ivec2(0, 1));\n            float t1 = fetchDepth(p + ivec2(0, 1));\n            float t2 = fetchDepth(p + ivec2(0, 2));\n            float dl = abs((2.0 * l1 - l2) - c0);\n            float dr = abs((2.0 * r1 - r2) - c0);\n            float db = abs((2.0 * b1 - b2) - c0);\n            float dt = abs((2.0 * t1 - t2) - c0);\n            vec3 ce = getViewPosition(uv, c0).xyz;\n            vec3 dpdx = (dl < dr) ?  ce - getViewPosition((uv - vec2(1.0 / size.x, 0.0)), l1).xyz\n                                  : -ce + getViewPosition((uv + vec2(1.0 / size.x, 0.0)), r1).xyz;\n            vec3 dpdy = (db < dt) ?  ce - getViewPosition((uv - vec2(0.0, 1.0 / size.y)), b1).xyz\n                                  : -ce + getViewPosition((uv + vec2(0.0, 1.0 / size.y)), t1).xyz;\n            return normalize(cross(dpdx, dpdy));\n\t\t}\n\n\t\tvec3 getViewNormal(const vec2 uv) {\n\t\t#if NORMAL_VECTOR_TYPE == 2\n\t\t\treturn normalize(textureLod(tNormal, uv, 0.).rgb);\n\t\t#elif NORMAL_VECTOR_TYPE == 1\n\t\t\treturn unpackRGBToNormal(textureLod(tNormal, uv, 0.).rgb);\n\t\t#else\n\t\t\treturn computeNormalFromDepth(uv);\n\t\t#endif\n\t\t}\n\n\t\tfloat getOcclusion(const vec2 uv, const vec3 viewPos, const vec3 viewNormal, const float depth, const vec4 sampleViewDir, inout float totalWeight) {\n\n\t\t\tvec3 sampleViewPos = viewPos + sampleViewDir.xyz * radius * pow(sampleViewDir.w, distanceExponent);\n\t\t\tvec4 sampleClipPos = cameraProjectionMatrix * vec4(sampleViewPos, 1.);\n\t\t\tvec2 sampleUv = sampleClipPos.xy / sampleClipPos.w * 0.5 + 0.5;\n\t\t\tfloat sampleDepth = getDepth(sampleUv);\n\t\t\tfloat distSample = abs(getViewZ(sampleDepth));\n\t\t\tfloat distWorld = abs(sampleViewPos.z);\n\t\t\tfloat distanceFalloffToUse = radius;\n\t\t\tfloat rangeCheck = smoothstep(0.0, 1.0, distanceFalloffToUse / (abs(distSample - distWorld)));\n\t\t\tfloat weight = dot(viewNormal, sampleViewDir.xyz);\n\t\t\tvec2 diff = (uv - sampleUv) * resolution;\n\t\t\tvec2 clipRangeCheck = step(0., sampleUv) * step(sampleUv, vec2(1.));\n\t\t\tfloat occlusion = rangeCheck * weight * step(distSample + bias, distWorld) * step(0.707, dot(diff, diff)) * clipRangeCheck.x * clipRangeCheck.y;\n\t\t\ttotalWeight += weight;\n\n\t\t\treturn occlusion;\n\t\t}\n\n\t\tvoid main() {\n\t\t\tfloat depth = getDepth(vUv.xy);\n\t\t\tif (depth == 1.0) {\n\t\t\t\tdiscard;\n\t\t\t\treturn;\n\t\t\t}\n\t\t\tvec3 viewPos = getViewPosition(vUv, depth);\n\t\t\tvec3 viewNormal = getViewNormal(vUv);\n\n\t\t\tvec2 noiseResolution = vec2(textureSize(tNoise, 0));\n\t\t\tvec2 noiseUv = vUv * resolution / noiseResolution;\n\t\t\tvec4 noiseTexel = textureLod(tNoise, noiseUv, 0.0);\n\t\t\tvec3 randomVec = noiseTexel.xyz * 2.0 - 1.0;\n  \t\t\tvec3 tangent = normalize(randomVec - viewNormal * dot(randomVec, viewNormal));\n      \t\tvec3 bitangent = cross(viewNormal, tangent);\n      \t\tmat3 kernelMatrix = mat3(tangent, bitangent, viewNormal);\n\n\t\t\tfloat ao = 0.0, totalWeight = 0.0;\n\t\t\tfor (int i = 0; i < SAMPLES; i++) {\n\t\t\t\t#if SAMPLING_FROM_NOISE == 1\n\t\t\t\t\tvec4 sampleNoise = noiseTexel;\n\t\t\t\t\tif (i != 0) {\n\t\t\t\t\t\tconst vec4 hn = vec4(0.618033988749895, 0.3247179572447458, 0.2207440846057596, 0.1673039782614187);\n\t\t\t\t\t\tsampleNoise = fract(sampleNoise + hn * float(i));\n\t\t\t\t\t\tsampleNoise = mix(sampleNoise, 1.0 - sampleNoise, step(0.5, sampleNoise)) * 2.0;\n\t\t\t\t\t}\n\t\t\t\t\tvec3 hemisphereDir = normalize(kernelMatrix * vec3(sampleNoise.xy * 2. - 1., sampleNoise.z));\n\t\t\t\t\tvec4 sampleViewDir = vec4(hemisphereDir, sampleNoise.a);\n\t\t\t\t#else\n\t\t\t\t\tvec4 sampleViewDir = sampleKernel[i];\n\t\t\t\t\tsampleViewDir.xyz = normalize(kernelMatrix * sampleViewDir.xyz);\n\t\t\t\t#endif\n\t\t\t\tfloat occlusion = getOcclusion(vUv, viewPos, viewNormal, depth, sampleViewDir, totalWeight);\n\t\t\t\tao += occlusion;\n\t\t\t}\n\t\t\tif (totalWeight > 0.) {\n\t\t\t\tao /= totalWeight;\n\t\t\t}\n\t\t\tao = clamp(1. - ao, 0., 1.);\n\t\t\tgl_FragColor = FRAGMENT_OUTPUT;\n\t\t}"},xae={name:"HBAODepthShader",defines:{PERSPECTIVE_CAMERA:1},uniforms:{tDepth:{value:null},cameraNear:{value:null},cameraFar:{value:null}},vertexShader:"\n\n\t\tvarying vec2 vUv;\n\n\t\tvoid main() {\n\n\t\t\tvUv = uv;\n\t\t\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n\n\t\t}",fragmentShader:"\n\n\t\tuniform sampler2D tDepth;\n\n\t\tuniform float cameraNear;\n\t\tuniform float cameraFar;\n\n\t\tvarying vec2 vUv;\n\n\t\t#include <packing>\n\n\t\tfloat getLinearDepth( const in vec2 screenPosition ) {\n\n\t\t\t#if PERSPECTIVE_CAMERA == 1\n\n\t\t\t\tfloat fragCoordZ = texture2D( tDepth, screenPosition ).x;\n\t\t\t\tfloat viewZ = perspectiveDepthToViewZ( fragCoordZ, cameraNear, cameraFar );\n\t\t\t\treturn viewZToOrthographicDepth( viewZ, cameraNear, cameraFar );\n\n\t\t\t#else\n\n\t\t\t\treturn texture2D( tDepth, screenPosition ).x;\n\n\t\t\t#endif\n\n\t\t}\n\n\t\tvoid main() {\n\n\t\t\tfloat depth = getLinearDepth( vUv );\n\t\t\tgl_FragColor = vec4( vec3( 1.0 - depth ), 1.0 );\n\n\t\t}"};function Sae(e){const t=function(e){const t=[];for(let r=0;r<e;r++){const n=r*Math.PI*(3-Math.sqrt(5)),i=Math.sqrt(.99-r/(e-1)*.98),o=Math.sqrt(1-i*i),s=Math.cos(n)*o,a=Math.sin(n)*o,l=8,c=Math.floor(e/l);let u=1-(Math.floor(r/l)+r%l*c)/e;u=.1+.9*u,t.push(new Hr(s,a,i,u))}return t}(e);let r="vec4[SAMPLES](";for(let n=0;n<e;n++){const i=t[n];r+=`vec4(${i.x}, ${i.y}, ${i.z}, ${i.w})`,n<e-1&&(r+=",")}return r+=")",r}var wae=Object.defineProperty,Aae=(e,t,r)=>((e,t,r)=>t in e?wae(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r)(e,"symbol"!=typeof t?t+"":t,r);const Cae=class e extends V_{constructor(e,t,r,n,i){super(),Aae(this,"_visibilityCache"),Aae(this,"_renderGBuffer"),Aae(this,"width"),Aae(this,"height"),Aae(this,"clear"),Aae(this,"camera"),Aae(this,"scene"),Aae(this,"output"),Aae(this,"radius"),Aae(this,"rings"),Aae(this,"samples"),Aae(this,"noiseTexture"),Aae(this,"normalRenderTarget"),Aae(this,"hbaoRenderTarget"),Aae(this,"pdRenderTarget"),Aae(this,"hbaoMaterial"),Aae(this,"normalMaterial"),Aae(this,"pdMaterial"),Aae(this,"depthRenderMaterial"),Aae(this,"copyMaterial"),Aae(this,"fsQuad"),Aae(this,"originalClearColor"),Aae(this,"depthTexture"),Aae(this,"normalTexture"),this.width=void 0!==r?r:512,this.height=void 0!==n?n:512,this.clear=!0,this.camera=t,this.scene=e,this.output=0,this._renderGBuffer=!0,this._visibilityCache=new Map,this.radius=2,this.rings=4,this.samples=16,this.noiseTexture=this.generateNoise(),this.normalRenderTarget=new jr(this.width,this.height,{type:Fe}),this.hbaoRenderTarget=new jr(this.width,this.height,{type:Fe}),this.pdRenderTarget=this.hbaoRenderTarget.clone(),this.hbaoMaterial=new no({defines:Object.assign({},$ae.defines),uniforms:ro.clone($ae.uniforms),vertexShader:$ae.vertexShader,fragmentShader:$ae.fragmentShader,blending:0,depthTest:!1,depthWrite:!1}),this.camera instanceof lo&&(this.hbaoMaterial.defines.PERSPECTIVE_CAMERA=this.camera.isPerspectiveCamera?1:0,this.hbaoMaterial.uniforms.cameraNear.value=this.camera.near,this.hbaoMaterial.uniforms.cameraFar.value=this.camera.far),this.hbaoMaterial.uniforms.tNoise.value=this.noiseTexture,this.hbaoMaterial.uniforms.resolution.value.set(this.width,this.height),this.hbaoMaterial.uniforms.radius.value=2,this.hbaoMaterial.uniforms.distanceExponent.value=2,this.hbaoMaterial.uniforms.bias.value=.01,this.normalMaterial=new ll,this.normalMaterial.blending=0,this.pdMaterial=new no({defines:Object.assign({},bC.defines),uniforms:ro.clone(bC.uniforms),vertexShader:bC.vertexShader,fragmentShader:bC.fragmentShader,depthTest:!1,depthWrite:!1}),this.pdMaterial.uniforms.tDiffuse.value=this.hbaoRenderTarget.texture,this.pdMaterial.uniforms.tNoise.value=this.noiseTexture,this.pdMaterial.uniforms.resolution.value.set(this.width,this.height),this.pdMaterial.uniforms.lumaPhi.value=10,this.pdMaterial.uniforms.depthPhi.value=2,this.pdMaterial.uniforms.normalPhi.value=3,this.depthRenderMaterial=new no({defines:Object.assign({},xae.defines),uniforms:ro.clone(xae.uniforms),vertexShader:xae.vertexShader,fragmentShader:xae.fragmentShader,blending:0}),this.camera instanceof lo&&(this.depthRenderMaterial.uniforms.cameraNear.value=this.camera.near,this.depthRenderMaterial.uniforms.cameraFar.value=this.camera.far/1e3),this.copyMaterial=new no({uniforms:ro.clone(sC.uniforms),vertexShader:sC.vertexShader,fragmentShader:sC.fragmentShader,transparent:!0,depthTest:!1,depthWrite:!1,blendSrc:K,blendDst:G,blendEquation:V,blendSrcAlpha:Y,blendDstAlpha:G,blendEquationAlpha:V}),this.fsQuad=new G_(void 0),this.originalClearColor=new mi,this.setTextures(i?.normalTexture||new zr,i?.depthTexture)}dispose(){this.noiseTexture.dispose(),this.normalRenderTarget?.dispose(),this.hbaoRenderTarget.dispose(),this.pdRenderTarget.dispose(),this.normalMaterial.dispose(),this.pdMaterial.dispose(),this.copyMaterial.dispose(),this.depthRenderMaterial.dispose(),this.fsQuad.dispose()}setTextures(e,t){t?(this.depthTexture=t,this.normalTexture=e,this._renderGBuffer=!1):(this.depthTexture=new Gs(this.width,this.height),this.depthTexture.format=Je,this.depthTexture.type=Ue,this.normalRenderTarget=new jr(this.width,this.height,{minFilter:Se,magFilter:Se,type:Fe,depthTexture:this.depthTexture}),this.normalTexture=this.normalRenderTarget.texture,this._renderGBuffer=!0);const r=this.normalTexture?1:0,n=this.depthTexture===this.normalTexture?1:0;this.hbaoMaterial.defines.NORMAL_VECTOR_TYPE=r,this.hbaoMaterial.defines.DEPTH_VALUE_SOURCE=n,this.hbaoMaterial.uniforms.tNormal.value=this.normalTexture,this.hbaoMaterial.uniforms.tDepth.value=this.depthTexture,this.pdMaterial.defines.NORMAL_VECTOR_TYPE=r,this.pdMaterial.defines.DEPTH_VALUE_SOURCE=n,this.pdMaterial.uniforms.tNormal.value=this.normalTexture,this.pdMaterial.uniforms.tDepth.value=this.depthTexture,this.depthRenderMaterial.uniforms.tDepth.value=this.normalRenderTarget?.depthTexture}updateHbaoMaterial(e){void 0!==e.radius&&(this.hbaoMaterial.uniforms.radius.value=e.radius),void 0!==e.distanceExponent&&(this.hbaoMaterial.uniforms.distanceExponent.value=e.distanceExponent),void 0!==e.bias&&(this.hbaoMaterial.uniforms.bias.value=e.bias),void 0!==e.samples&&e.samples!==this.hbaoMaterial.defines.SAMPLES&&(this.hbaoMaterial.defines.SAMPLES=e.samples,this.hbaoMaterial.defines.SAMPLE_VECTORS=Sae(e.samples),this.hbaoMaterial.needsUpdate=!0)}updatePdMaterial(e){let t=!1;void 0!==e.lumaPhi&&(this.pdMaterial.uniforms.lumaPhi.value=e.lumaPhi),void 0!==e.depthPhi&&(this.pdMaterial.uniforms.depthPhi.value=e.depthPhi),void 0!==e.normalPhi&&(this.pdMaterial.uniforms.normalPhi.value=e.normalPhi),void 0!==e.radius&&e.radius!==this.radius&&(this.pdMaterial.uniforms.radius.value=e.radius),void 0!==e.rings&&e.rings!==this.rings&&(this.rings=e.rings,t=!0),void 0!==e.samples&&e.samples!==this.samples&&(this.samples=e.samples,t=!0),t&&(this.pdMaterial.defines.SAMPLES=e.samples,this.pdMaterial.defines.SAMPLE_VECTORS=yC(e.samples,this.rings,0),this.pdMaterial.needsUpdate=!0)}render(t,r,n){switch(this._renderGBuffer&&(this.overrideVisibility(),this.renderOverride(t,this.normalMaterial,this.normalRenderTarget,7829503,1),this.restoreVisibility()),this.camera instanceof lo&&(this.hbaoMaterial.uniforms.cameraNear.value=this.camera.near,this.hbaoMaterial.uniforms.cameraFar.value=this.camera.far),this.hbaoMaterial.uniforms.cameraProjectionMatrix.value.copy(this.camera.projectionMatrix),this.hbaoMaterial.uniforms.cameraProjectionMatrixInverse.value.copy(this.camera.projectionMatrixInverse),this.renderPass(t,this.hbaoMaterial,this.hbaoRenderTarget,16777215,1),this.pdMaterial.uniforms.cameraProjectionMatrixInverse.value.copy(this.camera.projectionMatrixInverse),this.renderPass(t,this.pdMaterial,this.pdRenderTarget,16777215,1),this.output){case e.OUTPUT.Diffuse:this.copyMaterial.uniforms.tDiffuse.value=n.texture,this.copyMaterial.blending=0,this.renderPass(t,this.copyMaterial,this.renderToScreen?void 0:r);break;case e.OUTPUT.HBAO:this.copyMaterial.uniforms.tDiffuse.value=this.hbaoRenderTarget.texture,this.copyMaterial.blending=0,this.renderPass(t,this.copyMaterial,this.renderToScreen?void 0:r);break;case e.OUTPUT.Denoise:this.copyMaterial.uniforms.tDiffuse.value=this.pdRenderTarget.texture,this.copyMaterial.blending=0,this.renderPass(t,this.copyMaterial,this.renderToScreen?void 0:r);break;case e.OUTPUT.Depth:this.camera instanceof lo&&(this.depthRenderMaterial.uniforms.cameraNear.value=this.camera.near,this.depthRenderMaterial.uniforms.cameraFar.value=this.camera.far),this.renderPass(t,this.depthRenderMaterial,this.renderToScreen?void 0:r);break;case e.OUTPUT.Normal:this.copyMaterial.uniforms.tDiffuse.value=this.normalRenderTarget?.texture,this.copyMaterial.blending=0,this.renderPass(t,this.copyMaterial,this.renderToScreen?void 0:r);break;case e.OUTPUT.Default:this.copyMaterial.uniforms.tDiffuse.value=n.texture,this.copyMaterial.blending=0,this.renderPass(t,this.copyMaterial,this.renderToScreen?void 0:r),this.copyMaterial.uniforms.tDiffuse.value=this.pdRenderTarget.texture,this.copyMaterial.blending=5,this.renderPass(t,this.copyMaterial,this.renderToScreen?void 0:r);break;default:console.warn("THREE.HBAOPass: Unknown output type.")}}renderPass(e,t,r,n,i){e.getClearColor(this.originalClearColor);const o=e.getClearAlpha(),s=e.autoClear;e.setRenderTarget(r||null),e.autoClear=!1,null!=n&&(e.setClearColor(n),e.setClearAlpha(i||0),e.clear()),this.fsQuad.material=t,this.fsQuad.render(e),e.autoClear=s,e.setClearColor(this.originalClearColor),e.setClearAlpha(o)}renderOverride(e,t,r,n,i){e.getClearColor(this.originalClearColor);const o=e.getClearAlpha(),s=e.autoClear;e.setRenderTarget(r),e.autoClear=!1,n=t.clearColor||n,i=t.clearAlpha||i,null!=n&&(e.setClearColor(n),e.setClearAlpha(i||0),e.clear()),this.scene.overrideMaterial=t,e.render(this.scene,this.camera),this.scene.overrideMaterial=null,e.autoClear=s,e.setClearColor(this.originalClearColor),e.setClearAlpha(o)}setSize(e,t){this.width=e,this.height=t,this.hbaoRenderTarget.setSize(e,t),this.normalRenderTarget?.setSize(e,t),this.pdRenderTarget.setSize(e,t),this.hbaoMaterial.uniforms.resolution.value.set(e,t),this.hbaoMaterial.uniforms.cameraProjectionMatrix.value.copy(this.camera.projectionMatrix),this.hbaoMaterial.uniforms.cameraProjectionMatrixInverse.value.copy(this.camera.projectionMatrixInverse),this.pdMaterial.uniforms.resolution.value.set(e,t),this.pdMaterial.uniforms.cameraProjectionMatrixInverse.value.copy(this.camera.projectionMatrixInverse)}overrideVisibility(){const e=this.scene,t=this._visibilityCache;e.traverse(function(e){t.set(e,e.visible),(e instanceof Ns||e instanceof xb)&&(e.visible=!1)})}restoreVisibility(){const e=this.scene,t=this._visibilityCache;e.traverse(function(e){e.visible=t.get(e)||e.visible}),t.clear()}generateNoise(e=64){const t=new $C,r=new Uint8Array(e*e*4);for(let n=0;n<e;n++)for(let i=0;i<e;i++){const o=n,s=i;r[4*(n*e+i)]=255*(t.noise(o,s)+1),r[4*(n*e+i)+1]=255*(t.noise(o+e,s)+1),r[4*(n*e+i)+2]=255*(t.noise(o,s+e)+1),r[4*(n*e+i)+3]=255*(t.noise(o+e,s+e)+1)}const n=new Yo(r,e,e,Ge,ke);return n.wrapS=ye,n.wrapT=ye,n.needsUpdate=!0,n}};Aae(Cae,"OUTPUT",{Default:0,Diffuse:1,Depth:2,Normal:3,HBAO:4,Denoise:5});const Eae={name:"NormalDepthShader",defines:{},uniforms:{cameraNear:{value:null},cameraFar:{value:null}},vertexShader:["varying float z_norm;","varying vec3 vNormal;","uniform float cameraNear;","uniform float cameraFar;","void main() {","\tvec3 v_eyespace = ( modelViewMatrix * vec4( position, 1.0 ) ).xyz;"," \tz_norm = (-v_eyespace.z - cameraNear) / ( cameraFar - cameraNear );","\tvNormal = normalize( normalMatrix * normal );","\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );","}"].join("\n"),fragmentShader:["varying float z_norm;","varying vec3 vNormal;","uniform float cameraNear;","uniform float cameraFar;","#include <packing>","void main() {","\tvec3 vNormalPerPix = normalize(vNormal);","\tgl_FragColor = vec4( vNormalPerPix , z_norm );","}"].join("\n")};var Iae=Object.defineProperty,Mae=(e,t,r)=>((e,t,r)=>t in e?Iae(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r)(e,"symbol"!=typeof t?t+"":t,r);class kae{constructor(e,t){Mae(this,"sigma"),Mae(this,"width"),Mae(this,"kernelSep",[]),Mae(this,"offsetX"),Mae(this,"offsetY"),this.sigma=t,this.width=e,this.initializeKernelSep(),this.initializeOffsetArrays()}get constC(){return 1/(this.sigma*Math.sqrt(2*Math.PI))}get constD(){return 2*this.sigma*this.sigma}initializeKernelSep(){this.kernelSep=[];const e=this.constC,t=this.constD;let r=-(.5*(this.width-1));for(let n=0;n<this.width;n+=1)this.kernelSep.push(e*Math.exp(r*r*-1/t)),r+=1}initializeOffsetArrays(){this.offsetX=new Float32Array(2*this.width),this.offsetY=new Float32Array(2*this.width);const e=.5*(this.width-1);let t=0;for(let r=-e;r<=e;r+=1)this.offsetX[t]=r,this.offsetX[t+1]=0,this.offsetY[t]=0,this.offsetY[t+1]=r,t+=2}}const Tae={defines:{PI:Math.PI,KERNEL_SIZE:27},uniforms:{tNormal:{value:null},tOcclusion:{value:null},resolution:{value:new fr},cameraNear:{value:null},cameraFar:{value:null},kernel:{value:null},offset:{value:null},const_c:{value:null},const_d:{value:null},depthSensitivity:{value:null}},vertexShader:"\n\n\t\tvarying vec2 vUv;\n\n\t\tvoid main() {\n\n\t\t\tvUv = uv;\n\n\t\t\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n\n\t\t}",fragmentShader:"\n\n\t\tuniform sampler2D tNormal;\n\t\tuniform sampler2D tOcclusion;\n\t\tuniform vec2 resolution;\n\t\tuniform float cameraNear;\n\t\tuniform float cameraFar;\n\t\tuniform float const_c;\n\t\tuniform float const_d;\n\t\tuniform float depthSensitivity;\n\n\t\tuniform float kernel [ KERNEL_SIZE ];\n\t\tuniform vec2 offset [ KERNEL_SIZE ];\n\n\t\tvarying vec2 vUv;\n\n\t\t#include <packing>\n\n\t\tvoid main() {\n\n\t\t\tvec2 invRes = vec2(1.0 / resolution.x, 1.0 / resolution.y);\n\n\t\t\tfloat z_norm = texture2D( tNormal, vUv ).w;\n\t\t\tfloat z = z_norm * ( cameraFar - cameraNear ) + cameraNear ;\t// unpack normalized depth value\n\n\t\t\tvec3 vNormal = texture2D( tNormal, vUv ).xyz;\n\n\t\t\tfloat occlusion = texture2D( tOcclusion, vUv ).x;\n\n\t\t\tvec2 sample_pos;\n\t\t\tfloat sample_occ;\n\t\t\tfloat sum = 0.0;\n\t\t\tfloat sample_z_norm;\n\t\t\tfloat sample_z;\n\t\t\tfloat z_diff = 0.0;\n\t\t\tfloat depth_weight = 0.0;\n\t\t\tfloat norm_w = 0.0;\n\n\t\t \tfor ( int i = 0; i < KERNEL_SIZE; i ++ ) {\t// 1-directional blurring\n\n\t\t\t\tsample_pos = vUv + (offset[i] * invRes);\t// calc sample pos by adding offset vector\n\t\t\t\tsample_occ = texture2D( tOcclusion, sample_pos ).x;\t// read occlusion\n\t\t\t\tsample_z_norm = texture2D( tNormal, sample_pos ).w;\t// read depth\n\t\t\t\tsample_z = sample_z_norm * ( cameraFar - cameraNear ) + cameraNear ;\t// unpack normalized depth values to [near far]\n\t\t\t\tz_diff = (sample_z - z) * depthSensitivity;\t// get depth difference weighted with sensitivity parameter\n\n\t\t\t\tdepth_weight = const_c * exp( -1.0 * z_diff * z_diff  / const_d );\t// calc depth weighting gaussian\n\t\t\t\tsum += kernel[i] * depth_weight * sample_occ;\t\t// add occlusion weighted by depth difference and offset\n\t\t\t\tnorm_w += kernel[i] * depth_weight;\t\t\t\t// add up normalization sum\n\n\t\t\t}\n\n\t\t\tgl_FragColor = vec4( sum / norm_w, sum / norm_w, sum / norm_w, 1.0 );\n\n\t\t}"};var Rae,Lae={exports:{}};function Pae(){return Rae||(Rae=1,function(e){!function(e,t){function r(e){var t=this,r=function(){var e=4022871197,t=function(t){t=String(t);for(var r=0;r<t.length;r++){var n=.02519603282416938*(e+=t.charCodeAt(r));n-=e=n>>>0,e=(n*=e)>>>0,e+=4294967296*(n-=e)}return 2.3283064365386963e-10*(e>>>0)};return t}();t.next=function(){var e=2091639*t.s0+2.3283064365386963e-10*t.c;return t.s0=t.s1,t.s1=t.s2,t.s2=e-(t.c=0|e)},t.c=1,t.s0=r(" "),t.s1=r(" "),t.s2=r(" "),t.s0-=r(e),t.s0<0&&(t.s0+=1),t.s1-=r(e),t.s1<0&&(t.s1+=1),t.s2-=r(e),t.s2<0&&(t.s2+=1),r=null}function n(e,t){return t.c=e.c,t.s0=e.s0,t.s1=e.s1,t.s2=e.s2,t}function i(e,t){var i=new r(e),o=t&&t.state,s=i.next;return s.int32=function(){return 4294967296*i.next()|0},s.double=function(){return s()+11102230246251565e-32*(2097152*s()|0)},s.quick=s,o&&("object"==typeof o&&n(o,i),s.state=function(){return n(i,{})}),s}t&&t.exports?t.exports=i:this.alea=i}(0,e)}(Lae)),Lae.exports}var Dae,Nae={exports:{}};function Fae(){return Dae||(Dae=1,function(e){!function(e,t){function r(e){var t=this,r="";t.x=0,t.y=0,t.z=0,t.w=0,t.next=function(){var e=t.x^t.x<<11;return t.x=t.y,t.y=t.z,t.z=t.w,t.w^=t.w>>>19^e^e>>>8},e===(0|e)?t.x=e:r+=e;for(var n=0;n<r.length+64;n++)t.x^=0|r.charCodeAt(n),t.next()}function n(e,t){return t.x=e.x,t.y=e.y,t.z=e.z,t.w=e.w,t}function i(e,t){var i=new r(e),o=t&&t.state,s=function(){return(i.next()>>>0)/4294967296};return s.double=function(){do{var e=((i.next()>>>11)+(i.next()>>>0)/4294967296)/(1<<21)}while(0===e);return e},s.int32=i.next,s.quick=s,o&&("object"==typeof o&&n(o,i),s.state=function(){return n(i,{})}),s}t&&t.exports?t.exports=i:this.xor128=i}(0,e)}(Nae)),Nae.exports}var Oae,Bae={exports:{}};function Uae(){return Oae||(Oae=1,function(e){!function(e,t){function r(e){var t=this,r="";t.next=function(){var e=t.x^t.x>>>2;return t.x=t.y,t.y=t.z,t.z=t.w,t.w=t.v,(t.d=t.d+362437|0)+(t.v=t.v^t.v<<4^e^e<<1)|0},t.x=0,t.y=0,t.z=0,t.w=0,t.v=0,e===(0|e)?t.x=e:r+=e;for(var n=0;n<r.length+64;n++)t.x^=0|r.charCodeAt(n),n==r.length&&(t.d=t.x<<10^t.x>>>4),t.next()}function n(e,t){return t.x=e.x,t.y=e.y,t.z=e.z,t.w=e.w,t.v=e.v,t.d=e.d,t}function i(e,t){var i=new r(e),o=t&&t.state,s=function(){return(i.next()>>>0)/4294967296};return s.double=function(){do{var e=((i.next()>>>11)+(i.next()>>>0)/4294967296)/(1<<21)}while(0===e);return e},s.int32=i.next,s.quick=s,o&&("object"==typeof o&&n(o,i),s.state=function(){return n(i,{})}),s}t&&t.exports?t.exports=i:this.xorwow=i}(0,e)}(Bae)),Bae.exports}var Vae,zae={exports:{}};function Hae(){return Vae||(Vae=1,function(e){!function(e,t){function r(e){var t=this;t.next=function(){var e,r,n=t.x,i=t.i;return e=n[i],r=(e^=e>>>7)^e<<24,r^=(e=n[i+1&7])^e>>>10,r^=(e=n[i+3&7])^e>>>3,r^=(e=n[i+4&7])^e<<7,e=n[i+7&7],r^=(e^=e<<13)^e<<9,n[i]=r,t.i=i+1&7,r},function(e,t){var r,n=[];if(t===(0|t))n[0]=t;else for(t=""+t,r=0;r<t.length;++r)n[7&r]=n[7&r]<<15^t.charCodeAt(r)+n[r+1&7]<<13;for(;n.length<8;)n.push(0);for(r=0;r<8&&0===n[r];++r);for(8==r?n[7]=-1:n[r],e.x=n,e.i=0,r=256;r>0;--r)e.next()}(t,e)}function n(e,t){return t.x=e.x.slice(),t.i=e.i,t}function i(e,t){null==e&&(e=+new Date);var i=new r(e),o=t&&t.state,s=function(){return(i.next()>>>0)/4294967296};return s.double=function(){do{var e=((i.next()>>>11)+(i.next()>>>0)/4294967296)/(1<<21)}while(0===e);return e},s.int32=i.next,s.quick=s,o&&(o.x&&n(o,i),s.state=function(){return n(i,{})}),s}t&&t.exports?t.exports=i:this.xorshift7=i}(0,e)}(zae)),zae.exports}var Gae,jae={exports:{}};function Jae(){return Gae||(Gae=1,function(e){!function(e,t){function r(e){var t=this;t.next=function(){var e,r,n=t.w,i=t.X,o=t.i;return t.w=n=n+1640531527|0,r=i[o+34&127],e=i[o=o+1&127],r^=r<<13,e^=e<<17,r^=r>>>15,e^=e>>>12,r=i[o]=r^e,t.i=o,r+(n^n>>>16)|0},function(e,t){var r,n,i,o,s,a=[],l=128;for(t===(0|t)?(n=t,t=null):(t+="\0",n=0,l=Math.max(l,t.length)),i=0,o=-32;o<l;++o)t&&(n^=t.charCodeAt((o+32)%t.length)),0===o&&(s=n),n^=n<<10,n^=n>>>15,n^=n<<4,n^=n>>>13,o>=0&&(s=s+1640531527|0,i=0==(r=a[127&o]^=n+s)?i+1:0);for(i>=128&&(a[127&(t&&t.length||0)]=-1),i=127,o=512;o>0;--o)n=a[i+34&127],r=a[i=i+1&127],n^=n<<13,r^=r<<17,n^=n>>>15,r^=r>>>12,a[i]=n^r;e.w=s,e.X=a,e.i=i}(t,e)}function n(e,t){return t.i=e.i,t.w=e.w,t.X=e.X.slice(),t}function i(e,t){null==e&&(e=+new Date);var i=new r(e),o=t&&t.state,s=function(){return(i.next()>>>0)/4294967296};return s.double=function(){do{var e=((i.next()>>>11)+(i.next()>>>0)/4294967296)/(1<<21)}while(0===e);return e},s.int32=i.next,s.quick=s,o&&(o.X&&n(o,i),s.state=function(){return n(i,{})}),s}t&&t.exports?t.exports=i:this.xor4096=i}(0,e)}(jae)),jae.exports}var Wae,Qae={exports:{}};function qae(){return Wae||(Wae=1,function(e){!function(e,t){function r(e){var t=this,r="";t.next=function(){var e=t.b,r=t.c,n=t.d,i=t.a;return e=e<<25^e>>>7^r,r=r-n|0,n=n<<24^n>>>8^i,i=i-e|0,t.b=e=e<<20^e>>>12^r,t.c=r=r-n|0,t.d=n<<16^r>>>16^i,t.a=i-e|0},t.a=0,t.b=0,t.c=-1640531527,t.d=1367130551,e===Math.floor(e)?(t.a=e/4294967296|0,t.b=0|e):r+=e;for(var n=0;n<r.length+20;n++)t.b^=0|r.charCodeAt(n),t.next()}function n(e,t){return t.a=e.a,t.b=e.b,t.c=e.c,t.d=e.d,t}function i(e,t){var i=new r(e),o=t&&t.state,s=function(){return(i.next()>>>0)/4294967296};return s.double=function(){do{var e=((i.next()>>>11)+(i.next()>>>0)/4294967296)/(1<<21)}while(0===e);return e},s.int32=i.next,s.quick=s,o&&("object"==typeof o&&n(o,i),s.state=function(){return n(i,{})}),s}t&&t.exports?t.exports=i:this.tychei=i}(0,e)}(Qae)),Qae.exports}var Yae,Xae,Kae,Zae={exports:{}},ele=Zae.exports;function tle(){return Yae||(Yae=1,function(e){!function(t,r,n){var i,o=256,s="random",a=n.pow(o,6),l=n.pow(2,52),c=2*l,u=255;function d(e,u,d){var f=[],v=_(m((u=1==u?{entropy:!0}:u||{}).entropy?[e,g(r)]:null==e?function(){try{var e;return i&&(e=i.randomBytes)?e=e(o):(e=new Uint8Array(o),(t.crypto||t.msCrypto).getRandomValues(e)),g(e)}catch(e){var n=t.navigator,s=n&&n.plugins;return[+new Date,t,s,t.screen,g(r)]}}():e,3),f),b=new h(f),y=function(){for(var e=b.g(6),t=a,r=0;e<l;)e=(e+r)*o,t*=o,r=b.g(1);for(;e>=c;)e/=2,t/=2,r>>>=1;return(e+r)/t};return y.int32=function(){return 0|b.g(4)},y.quick=function(){return b.g(4)/4294967296},y.double=y,_(g(b.S),r),(u.pass||d||function(e,t,r,i){return i&&(i.S&&p(i,b),e.state=function(){return p(b,{})}),r?(n[s]=e,t):e})(y,v,"global"in u?u.global:this==n,u.state)}function h(e){var t,r=e.length,n=this,i=0,s=n.i=n.j=0,a=n.S=[];for(r||(e=[r++]);i<o;)a[i]=i++;for(i=0;i<o;i++)a[i]=a[s=u&s+e[i%r]+(t=a[i])],a[s]=t;(n.g=function(e){for(var t,r=0,i=n.i,s=n.j,a=n.S;e--;)t=a[i=u&i+1],r=r*o+a[u&(a[i]=a[s=u&s+t])+(a[s]=t)];return n.i=i,n.j=s,r})(o)}function p(e,t){return t.i=e.i,t.j=e.j,t.S=e.S.slice(),t}function m(e,t){var r,n=[],i=typeof e;if(t&&"object"==i)for(r in e)try{n.push(m(e[r],t-1))}catch(e){}return n.length?n:"string"==i?e:e+"\0"}function _(e,t){for(var r,n=e+"",i=0;i<n.length;)t[u&i]=u&(r^=19*t[u&i])+n.charCodeAt(i++);return g(t)}function g(e){return String.fromCharCode.apply(0,e)}if(_(n.random(),r),e.exports){e.exports=d;try{i=require("crypto")}catch(e){}}else n["seed"+s]=d}("undefined"!=typeof self?self:ele,[],Math)}(Zae)),Zae.exports}var rle=function(){if(Kae)return Xae;Kae=1;var e=Pae(),t=Fae(),r=Uae(),n=Hae(),i=Jae(),o=qae(),s=tle();return s.alea=e,s.xor128=t,s.xorwow=r,s.xorshift7=n,s.xor4096=i,s.tychei=o,Xae=s}();const nle={defines:{PI:3.14159265,NUM_SAMPLES:32},uniforms:{tDiffuse:{value:null},tNormal:{value:null},tRandomAngles:{value:null},uniformSamples:{value:null},cameraNear:{value:null},cameraFar:{value:null},resolution:{value:new fr},tan_fovy_half:{value:null},aspect_ratio:{value:null},kernelRadius:{value:.001},occMultiplier:{value:null},cosineThresh:{value:.05},attenuation:{value:.1}},vertexShader:["varying vec2 vUv;","void main() {","\tvUv = uv;","\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );","}"].join("\n"),fragmentShader:["uniform sampler2D tDiffuse;","uniform sampler2D tNormal;","uniform sampler2D tRandomAngles;","uniform vec2 uniformSamples [ NUM_SAMPLES ];","uniform vec2 resolution;","uniform float tan_fovy_half;","uniform float aspect_ratio;","uniform float cameraNear;","uniform float cameraFar;","uniform float kernelRadius;","uniform float occMultiplier;","uniform float cosineThresh;","uniform float attenuation;","varying vec2 vUv;","#include <packing>","void main() {","\tvec2 invRes = vec2(1.0 / resolution.x, 1.0 / resolution.y);","\tfloat z_norm = texture2D( tNormal, vUv ).w;"," \tif(z_norm == 1.0) {"," \t\tgl_FragColor = vec4(1.0, 1.0, 1.0, 1.0);"," \t\treturn; ","\t}","\tfloat z = z_norm * ( cameraFar - cameraNear ) + cameraNear ;","\tvec3 curr_normal = texture2D( tNormal, vUv ).xyz;","\tvec2 nearXY = vec2(tan_fovy_half) * vec2(aspect_ratio, 1.0);","\tvec3 eye_point = vec3((vUv * vec2(2.0) - vec2(1.0)) * nearXY * vec2(-1.0 * -z), -z);","\tfloat randomAngle = texture2D( tRandomAngles, vUv).x; ","\tvec2 sample_pos;","\tfloat sample_z;"," \tfloat sample_z_norm;","\tfloat blocked = 0.0;","\tvec3 vOcclusion;","\tfloat cos_occ = 0.0;","\tfloat l_occ = 0.0;","\tfloat r_var, theta_var;"," \tfor ( int i = 0; i < NUM_SAMPLES; i ++ ) {","\t\tr_var = uniformSamples[i].x * kernelRadius;","\t\ttheta_var = uniformSamples[i].y + randomAngle;","\t\tsample_pos = vUv + (vec2(r_var) * vec2(cos(theta_var), sin(theta_var)));"," \t\tsample_pos = (floor(sample_pos * resolution) + vec2(0.5)) * invRes;","\t\tsample_z_norm = texture2D(tNormal, sample_pos).w;"," \t\tif(sample_z_norm == 1.0 || sample_pos.y > 1.0) {"," \t\t\tsample_z_norm = -cameraFar;","\t\t}","\t\tsample_z = sample_z_norm * ( cameraFar - cameraNear ) + cameraNear ;","\t\tvOcclusion = vec3((sample_pos * vec2(2.0) - vec2(1.0)) * vec2(-1.0 * -sample_z) * nearXY, -sample_z) - eye_point;","\t\tl_occ = length(vOcclusion);","\t\tcos_occ = dot(curr_normal, vOcclusion) / l_occ;","\t\tl_occ = l_occ / (z * kernelRadius);","\t\tl_occ = max(0.3, l_occ);","\t\tif( all( greaterThan( abs( vUv - sample_pos ) * resolution, vec2(1.0, 1.0) ) ) ) {","\t\t\tif ( cos_occ > cosineThresh ) {","\t\t\t\tblocked += 1.0 / (1.0 + 2.0 * attenuation * l_occ * l_occ) * cos_occ;","\t\t\t}","\t\t}","\t}","\tfloat ao = 1.0 - ((blocked / float(NUM_SAMPLES)) * occMultiplier);","\tgl_FragColor = vec4( ao, ao, ao, 1.0 );","}"].join("\n")};var ile=Object.defineProperty,ole=(e,t,r)=>((e,t,r)=>t in e?ile(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r)(e,"symbol"!=typeof t?t+"":t,r);class sle extends V_{constructor(e,t,r={}){super(),ole(this,"scene"),ole(this,"camera"),ole(this,"hasFloatType"),ole(this,"width"),ole(this,"height"),ole(this,"clear"),ole(this,"output"),ole(this,"seed"),ole(this,"fsQuad",new G_(void 0)),ole(this,"originalClearColor",new mi),ole(this,"_visibilityCache",new Map),ole(this,"lightingRenderTarget"),ole(this,"normalRenderTarget"),ole(this,"ssaoRenderTarget"),ole(this,"blurRenderTarget"),ole(this,"normalMaterial"),ole(this,"ssaoMaterial"),ole(this,"blurMaterial"),ole(this,"copyMaterial"),ole(this,"randomAnglesTexture"),ole(this,"samples"),ole(this,"blur"),ole(this,"numSamples",32),ole(this,"kernelRadius",27),ole(this,"occMultiplier",4.5),ole(this,"cosineThresh",.05),ole(this,"attenuation",.2),ole(this,"blurSigma",32),ole(this,"blurKernelSize",27),ole(this,"depthSensitivity",45);const{width:n=512,height:i=512,hasFloatType:o=!1,output:s=0,seed:a="5e3c1675-5479-4dd7-8209-7a7c0439eb79"}=r;this.scene=e,this.camera=t,this.width=n,this.height=i,this.hasFloatType=o,this.output=s,this.seed=a,this.clear=!0,this.init()}init(){this.setupRenderTargets(),this.setupMaterials(),this.setupSSAOParameters(),this.setupBlurParameters()}setupRenderTargets(){this.lightingRenderTarget=new jr(this.width,this.height,{minFilter:Ce,magFilter:Ce,format:Ge}),this.normalRenderTarget=new jr(this.width,this.height,{minFilter:Se,magFilter:Se,format:Ge,type:this.hasFloatType?Ne:Fe}),this.ssaoRenderTarget=new jr(this.width,this.height,{minFilter:Ce,magFilter:Ce,format:Ge}),this.blurRenderTarget=this.ssaoRenderTarget.clone()}setupMaterials(){this.normalMaterial=new no({defines:Eae.defines,uniforms:ro.clone(Eae.uniforms),vertexShader:Eae.vertexShader,fragmentShader:Eae.fragmentShader,blending:0}),this.camera instanceof lo&&(this.normalMaterial.uniforms.cameraNear.value=this.camera.near,this.normalMaterial.uniforms.cameraFar.value=this.camera.far),this.ssaoMaterial=new no({defines:nle.defines,uniforms:ro.clone(nle.uniforms),vertexShader:nle.vertexShader,fragmentShader:nle.fragmentShader,blending:0}),this.blurMaterial=new no({defines:Tae.defines,uniforms:ro.clone(Tae.uniforms),vertexShader:Tae.vertexShader,fragmentShader:Tae.fragmentShader}),this.copyMaterial=new no({uniforms:ro.clone(sC.uniforms),vertexShader:sC.vertexShader,fragmentShader:sC.fragmentShader,transparent:!0,depthTest:!1,depthWrite:!1,blendSrc:K,blendDst:G,blendEquation:V,blendSrcAlpha:Y,blendDstAlpha:G,blendEquationAlpha:V})}setupSSAOParameters(){this.updateRandomDataTexture(),this.samples=function(e){const t=new Float32Array(2*e);for(let r=0;r<2*e;r+=2){let e,n,i;do{n=2*Math.random()-1,i=2*Math.random()-1,e=n*n+i*i}while(e>=1);e=Math.sqrt(-2*Math.log(e)/e);const o=n*e;t[r]=Math.abs(o),t[r+1]=Math.PI*(2*Math.random()-1)}return t}(this.numSamples),this.ssaoMaterial.uniforms.tNormal.value=this.normalRenderTarget.texture,this.ssaoMaterial.uniforms.uniformSamples.value=this.samples,this.ssaoMaterial.uniforms.resolution.value.set(this.width,this.height),this.ssaoMaterial.uniforms.kernelRadius.value=this.kernelRadius,this.ssaoMaterial.uniforms.occMultiplier.value=this.occMultiplier,this.ssaoMaterial.uniforms.cosineThresh.value=this.cosineThresh,this.ssaoMaterial.uniforms.attenuation.value=this.attenuation,this.camera instanceof lo&&(this.ssaoMaterial.uniforms.cameraNear.value=this.camera.near,this.ssaoMaterial.uniforms.cameraFar.value=this.camera.far,this.ssaoMaterial.uniforms.aspect_ratio.value=this.camera.aspect,this.ssaoMaterial.uniforms.tan_fovy_half.value=Math.tan(this.camera.fov/180*Math.PI*.5))}setupBlurParameters(){this.blur=new kae(this.blurKernelSize,this.blurSigma),this.blurMaterial.uniforms.tNormal.value=this.normalRenderTarget.texture,this.blurMaterial.uniforms.tOcclusion.value=this.ssaoRenderTarget.texture,this.blurMaterial.uniforms.resolution.value.set(this.width,this.height),this.blurMaterial.uniforms.kernel.value=this.blur.kernelSep,this.blurMaterial.uniforms.const_c.value=this.blur.constC,this.blurMaterial.uniforms.const_d.value=this.blur.constD,this.blurMaterial.uniforms.depthSensitivity.value=this.depthSensitivity,this.camera instanceof lo&&(this.blurMaterial.uniforms.cameraNear.value=this.camera.near,this.blurMaterial.uniforms.cameraFar.value=this.camera.far)}updateSigma(e){this.blurSigma=e,this.blur=new kae(this.blurKernelSize,this.blurSigma)}setSize(e,t){this.width=e,this.height=t,this.lightingRenderTarget.setSize(e,t),this.ssaoRenderTarget.setSize(e,t),this.normalRenderTarget.setSize(e,t),this.blurRenderTarget.setSize(e,t),this.ssaoMaterial.uniforms.resolution.value.set(e,t),this.blurMaterial.uniforms.resolution.value.set(e,t),this.camera instanceof lo&&(this.ssaoMaterial.uniforms.tan_fovy_half.value=Math.tan(this.camera.fov/180*Math.PI*.5),this.ssaoMaterial.uniforms.aspect_ratio.value=this.camera.aspect)}updateRandomDataTexture(){this.randomAnglesTexture=new Yo(function(e,t,r){const n=rle.xor4096(r),i=3*e*t,o=new Float32Array(i);for(let e=0;e<i;e+=3){const t=2*n()*Math.PI-Math.PI;o[e]=t,o[e+1]=t,o[e+2]=t}return o}(2048,2048,this.seed),2048,2048,He,Fe),this.randomAnglesTexture.wrapS=ye,this.randomAnglesTexture.wrapT=ye,this.ssaoMaterial.uniforms.tRandomAngles.value=this.randomAnglesTexture}render(e,t,r){this.lightingRenderTarget=r,this.renderNormalAndDepthPass(e),3!==this.output&&4!==this.output&&this.renderSsaoPass(e),0!==this.output&&2!==this.output||this.renderBlurPass(e),this.renderOutputPass(e,t)}renderNormalAndDepthPass(e){this.overrideVisibility(),this.renderOverride(e,this.normalMaterial,this.normalRenderTarget,7829503,1),this.restoreVisibility()}renderSsaoPass(e){this.ssaoMaterial.uniforms.kernelRadius.value=this.kernelRadius,this.ssaoMaterial.uniforms.occMultiplier.value=this.occMultiplier,this.ssaoMaterial.uniforms.cosineThresh.value=this.cosineThresh,this.ssaoMaterial.uniforms.attenuation.value=this.attenuation,this.ssaoMaterial.uniforms.tDiffuse.value=this.lightingRenderTarget.texture,this.renderPass(e,this.ssaoMaterial,this.ssaoRenderTarget)}renderBlurPass(e){this.blurMaterial.uniforms.tOcclusion.value=this.ssaoRenderTarget.texture,this.blurMaterial.uniforms.kernel.value=this.blur.kernelSep,this.blurMaterial.uniforms.offset.value=this.blur.offsetX,this.blurMaterial.uniforms.const_c.value=this.blur.constC,this.blurMaterial.uniforms.const_d.value=this.blur.constD,this.blurMaterial.uniforms.depthSensitivity.value=this.depthSensitivity,this.renderPass(e,this.blurMaterial,this.blurRenderTarget),this.blurMaterial.uniforms.tOcclusion.value=this.blurRenderTarget.texture,this.blurMaterial.uniforms.offset.value=this.blur.offsetY,this.renderPass(e,this.blurMaterial,this.ssaoRenderTarget)}renderOutputPass(e,t){switch(this.output){case 1:case 2:this.copyMaterial.uniforms.tDiffuse.value=this.ssaoRenderTarget.texture,this.copyMaterial.blending=0,this.renderPass(e,this.copyMaterial,this.renderToScreen?null:t);break;case 3:this.copyMaterial.uniforms.tDiffuse.value=this.lightingRenderTarget.texture,this.copyMaterial.blending=0,this.renderPass(e,this.copyMaterial,this.renderToScreen?null:t);break;case 0:this.copyMaterial.uniforms.tDiffuse.value=this.lightingRenderTarget.texture,this.copyMaterial.blending=0,this.renderPass(e,this.copyMaterial,this.renderToScreen?null:t),this.copyMaterial.uniforms.tDiffuse.value=this.ssaoRenderTarget.texture,this.copyMaterial.blending=5,this.renderPass(e,this.copyMaterial,this.renderToScreen?null:t);break;case 4:this.copyMaterial.uniforms.tDiffuse.value=this.normalRenderTarget.texture,this.copyMaterial.blending=0,this.renderPass(e,this.copyMaterial,this.renderToScreen?null:t);break;default:console.warn("THREE.SSAOPass: Unknown output type.")}}renderPass(e,t,r,n,i){const o=e.getClearAlpha(),s=e.autoClear;e.getClearColor(this.originalClearColor),e.setRenderTarget(r),e.autoClear=!1,null!=n&&(e.setClearColor(n),e.setClearAlpha(i||0),e.clear()),this.fsQuad.material=t,this.fsQuad.render(e),e.autoClear=s,e.setClearColor(this.originalClearColor),e.setClearAlpha(o)}renderOverride(e,t,r,n,i){const o=e.getClearAlpha(),s=e.autoClear;e.getClearColor(this.originalClearColor),e.setRenderTarget(r),e.autoClear=!1,null!=n&&(e.setClearColor(n),e.setClearAlpha(i||0),e.clear()),this.scene.overrideMaterial=t,e.render(this.scene,this.camera),this.scene.overrideMaterial=null,e.autoClear=s,e.setClearColor(this.originalClearColor),e.setClearAlpha(o)}overrideVisibility(){this.scene.traverse(e=>{this._visibilityCache.set(e,e.visible),(e.isPoints||e.isLine||e.IsWidget)&&(e.visible=!1)})}restoreVisibility(){this.scene.traverse(e=>{e.visible=this._visibilityCache.get(e)}),this._visibilityCache.clear()}applyProperties(e){this.occMultiplier=e.occMultiplier,this.kernelRadius=e.kernelRadius,this.cosineThresh=e.cosineThresh,this.attenuation=e.attenuation,this.depthSensitivity=e.depthSensitivity,this.updateSigma(e.blurSigma)}}const ale={name:"HorizontalProjectedBlurShader",uniforms:{tDiffuse:{value:null},texMatrix:{value:null},h:{value:1/512}},vertexShader:"\n\t\tvarying vec4 vUv;\n\t\tuniform mat4 texMatrix;\n\t\tvoid main() {\n\t\t\tvUv = texMatrix * vec4( position, 1.0 );\n\t\t\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n\t\t}",fragmentShader:"\n\t\tuniform sampler2D tDiffuse;\n\t\tuniform float h;\n\n\t\tvarying vec4 vUv;\n\n\t\tvoid main() {\n\t\t\tvec2 unProj2D = vec2( vUv.x / vUv.w, vUv.y / vUv.w );\n\n\t\t\tvec4 sum = vec4( 0.0 );\n\n\t\t\tsum += texture2D( tDiffuse, vec2( unProj2D.x - 4.0 * h, unProj2D.y ) ) * 0.051;\n\t\t\tsum += texture2D( tDiffuse, vec2( unProj2D.x - 3.0 * h, unProj2D.y ) ) * 0.0918;\n\t\t\tsum += texture2D( tDiffuse, vec2( unProj2D.x - 2.0 * h, unProj2D.y ) ) * 0.12245;\n\t\t\tsum += texture2D( tDiffuse, vec2( unProj2D.x - 1.0 * h, unProj2D.y ) ) * 0.1531;\n\t\t\tsum += texture2D( tDiffuse, vec2( unProj2D.x, unProj2D.y ) ) * 0.1633;\n\t\t\tsum += texture2D( tDiffuse, vec2( unProj2D.x + 1.0 * h, unProj2D.y ) ) * 0.1531;\n\t\t\tsum += texture2D( tDiffuse, vec2( unProj2D.x + 2.0 * h, unProj2D.y ) ) * 0.12245;\n\t\t\tsum += texture2D( tDiffuse, vec2( unProj2D.x + 3.0 * h, unProj2D.y ) ) * 0.0918;\n\t\t\tsum += texture2D( tDiffuse, vec2( unProj2D.x + 4.0 * h, unProj2D.y ) ) * 0.051;\n\n\t\t\tgl_FragColor = sum;\n\t\t}"},lle={name:"VerticalProjectedBlurShader",uniforms:{tDiffuse:{value:null},texMatrix:{value:null},v:{value:1/512}},vertexShader:"\n\n\t\tvarying vec4 vUv;\n\t\tuniform mat4 texMatrix;\n\n\t\tvoid main() {\n\n\t\t\tvUv = texMatrix * vec4( position, 1.0 );\n\t\t\tgl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n\n\t\t}\n\n\t",fragmentShader:"\n\n\t\tuniform sampler2D tDiffuse;\n\t\tuniform float v;\n\n\t\tvarying vec4 vUv;\n\n\t\tvoid main() {\n\t\t\tvec2 unProj2D = vec2( vUv.x / vUv.w, vUv.y / vUv.w );\n\n\t\t\tvec4 sum = vec4( 0.0 );\n\n\t\t\tsum += texture2D( tDiffuse, vec2( unProj2D.x, unProj2D.y - 4.0 * v ) ) * 0.051;\n\t\t\tsum += texture2D( tDiffuse, vec2( unProj2D.x, unProj2D.y - 3.0 * v ) ) * 0.0918;\n\t\t\tsum += texture2D( tDiffuse, vec2( unProj2D.x, unProj2D.y - 2.0 * v ) ) * 0.12245;\n\t\t\tsum += texture2D( tDiffuse, vec2( unProj2D.x, unProj2D.y - 1.0 * v ) ) * 0.1531;\n\t\t\tsum += texture2D( tDiffuse, vec2( unProj2D.x, unProj2D.y ) ) * 0.1633;\n\t\t\tsum += texture2D( tDiffuse, vec2( unProj2D.x, unProj2D.y + 1.0 * v ) ) * 0.1531;\n\t\t\tsum += texture2D( tDiffuse, vec2( unProj2D.x, unProj2D.y + 2.0 * v ) ) * 0.12245;\n\t\t\tsum += texture2D( tDiffuse, vec2( unProj2D.x, unProj2D.y + 3.0 * v ) ) * 0.0918;\n\t\t\tsum += texture2D( tDiffuse, vec2( unProj2D.x, unProj2D.y + 4.0 * v ) ) * 0.051;\n\n\t\t\tgl_FragColor = sum;\n\n\t\t}\n\n\t"};const cle=new class{createBlurTarget(e){e.multiSampled=!!e.multiSampled,e.projected=!!e.projected,e.offsetZ=e.offsetZ||10*C,e.planeSize||(e.planeSize=e.targetSize),this._horizontalBlurMaterial||(this._horizontalBlurMaterial=new no(uE),this._horizontalProjectedBlurMaterial=new no(ale),this._horizontalBlurMaterial.side=2,this._horizontalProjectedBlurMaterial.side=2),this._verticalBlurMaterial||(this._verticalBlurMaterial=new no(gE),this._verticalProjectedBlurMaterial=new no(lle),this._verticalBlurMaterial.side=2,this._verticalProjectedBlurMaterial.side=2);const t=e.offsetZ,r=e.projected,n=new xn,i=new Yi(new Ka(e.planeSize.x,e.planeSize.y)),o={format:Ge,stencilBuffer:!1,premultipliedAlpha:!0,samples:e.multiSampled?dm.renderTargetSamples:0},s=new jr(e.targetSize.x,e.targetSize.y,o);return gr.isPowerOfTwo(e.targetSize.x)&&gr.isPowerOfTwo(e.targetSize.y)||(s.texture.generateMipmaps=!1),i.position.z=t,i.visible=!1,Dhe.add(i),{dispose:()=>{var e;s.dispose(),null===(e=i.geometry)||void 0===e||e.dispose(),Dhe.remove(i)},blur:(e,t,o,a)=>{const l=a*(1/256);r&&(n.set(.5,0,0,.5,0,.5,0,.5,0,0,.5,.5,0,0,0,1),n.multiply(o.projectionMatrix),n.multiply(o.matrixWorldInverse),n.multiply(i.matrixWorld)),i.visible=!0,r&&(this._horizontalProjectedBlurMaterial.uniforms.texMatrix.value=n,this._verticalProjectedBlurMaterial.uniforms.texMatrix.value=n),i.material=r?this._horizontalProjectedBlurMaterial:this._horizontalBlurMaterial,i.material.uniforms.h.value=l,i.material.uniforms.tDiffuse.value=e.texture,t.setRenderTarget(s),t.clear(),t.render(i,o),i.material=r?this._verticalProjectedBlurMaterial:this._verticalBlurMaterial,i.material.uniforms.v.value=l,i.material.uniforms.tDiffuse.value=s.texture,t.setRenderTarget(e),t.clear(),t.render(i,o),i.visible=!1}}}dispose(){var e,t,r,n;null===(e=this._horizontalBlurMaterial)||void 0===e||e.dispose(),null===(t=this._horizontalProjectedBlurMaterial)||void 0===t||t.dispose(),null===(r=this._verticalBlurMaterial)||void 0===r||r.dispose(),null===(n=this._verticalProjectedBlurMaterial)||void 0===n||n.dispose(),this._horizontalBlurMaterial=null,this._horizontalProjectedBlurMaterial=null,this._verticalBlurMaterial=null,this._verticalProjectedBlurMaterial=null}};class ule extends Yi{constructor(e,t){super(e),this.type="Reflector",this._multiSampledTargets=!0,this._mirrorEnabled=!1,this._textureWidth=512,this._textureHeight=512,this._clipBias=0,this._recursion=0,this._reflectorPlane=new hs,this._normal=new br,this._reflectorWorldPosition=new br,this._cameraWorldPosition=new br,this._rotationMatrix=new xn,this._lookAtPosition=new br(0,0,-1),this._clipPlane=new Hr,this._view=new br,this._target=new br,this._q=new Hr,this._textureMatrix=new xn,this._virtualCamera=new lo,this._controller=dle,t=t||{},this._textureWidth=t.textureWidth||512,this._textureHeight=t.textureHeight||512,this._clipBias=t._clipBias||0,this._recursion=void 0!==t.recursion?t.recursion:0;const r={format:Ge,stencilBuffer:!1,premultipliedAlpha:!0};this._renderTarget=new jr(this._textureWidth,this._textureHeight,r),this._multiSampleRenderTarget=new jr(this._textureWidth,this._textureHeight,Object.assign({samples:dm.renderTargetSamples},r)),gr.isPowerOfTwo(this._textureWidth)&&gr.isPowerOfTwo(this._textureHeight)||(this._renderTarget.texture.generateMipmaps=!1,this._multiSampleRenderTarget.texture.generateMipmaps=!1),this._material=new uu({mirrorMap:this._multiSampledTargets?this._multiSampleRenderTarget.texture:this._renderTarget.texture,mirrorMatrix:this._textureMatrix,mirrorIntensity:0,mirrorBlurIntensity:.6}),this.material=this._material,this._blurTarget=cle.createBlurTarget({targetSize:new fr(this._textureWidth,this._textureHeight),planeSize:new fr(116e3,116e3),offsetZ:10,projected:!0,multiSampled:this._multiSampledTargets}),this._debug()}set MultiSampled(e){this._multiSampledTargets=e,this.material.mirrorMap=this._multiSampledTargets?this._multiSampleRenderTarget.texture:this._renderTarget.texture}get MirrorEnabled(){return this._mirrorEnabled}set MirrorEnabled(e){this._mirrorEnabled=e}mergeMaterial(e,t){ule.MERGE_MATERIAL_PARAMETERS.forEach(r=>{if(void 0!==e[r]){const t=this.material[r];this.material[r]=e[r],t&&t.dispose&&t.dispose()}if(void 0!==t[r]){const e=this.material[r];this.material[r]=t[r],e&&e.dispose&&e.dispose()}})}onBeforeRender(e,t,r){if(!this._mirrorEnabled||this.material.mirrorIntensity<=0)return this.material.mirrorMap&&this.material.mirrorMap.dispose&&this.material.mirrorMap.dispose(),void(this.material.mirrorMap=null);if(this.material.mirrorMap||(this.material.mirrorMap=this._multiSampledTargets?this._multiSampleRenderTarget.texture:this._renderTarget.texture),"recursion"in r.userData){if(r.userData.recursion===this._recursion)return;r.userData.recursion++}this.calculateVirtualCamera(r),this.updateTextureMatrix(),this.updateProjectionMatrix(),this.render(e,t,r)}resize(e,t){this._renderTarget.setSize(e,t),this._multiSampleRenderTarget.setSize(e,t)}calculateVirtualCamera(e){this._reflectorWorldPosition.setFromMatrixPosition(this.matrixWorld),this._cameraWorldPosition.setFromMatrixPosition(e.matrixWorld),this._rotationMatrix.extractRotation(this.matrixWorld),this._normal.set(0,0,1),this._normal.applyMatrix4(this._rotationMatrix),this._view.subVectors(this._reflectorWorldPosition,this._cameraWorldPosition),this._view.dot(this._normal)>0||(this._view.reflect(this._normal).negate(),this._view.add(this._reflectorWorldPosition),this._rotationMatrix.extractRotation(e.matrixWorld),this._lookAtPosition.set(0,0,-1),this._lookAtPosition.applyMatrix4(this._rotationMatrix),this._lookAtPosition.add(this._cameraWorldPosition),this._target.subVectors(this._reflectorWorldPosition,this._lookAtPosition),this._target.reflect(this._normal).negate(),this._target.add(this._reflectorWorldPosition),this._virtualCamera.position.copy(this._view),this._virtualCamera.up.set(0,1,0),this._virtualCamera.up.applyMatrix4(this._rotationMatrix),this._virtualCamera.up.reflect(this._normal),this._virtualCamera.lookAt(this._target),this._virtualCamera.far=e.far,this._virtualCamera.updateMatrixWorld(),this._virtualCamera.projectionMatrix.copy(e.projectionMatrix),this._virtualCamera.userData.recursion=0)}updateTextureMatrix(){this._textureMatrix.set(.5,0,0,.5,0,.5,0,.5,0,0,.5,.5,0,0,0,1),this._textureMatrix.multiply(this._virtualCamera.projectionMatrix),this._textureMatrix.multiply(this._virtualCamera.matrixWorldInverse),this._textureMatrix.multiply(this.matrixWorld)}updateProjectionMatrix(){this._reflectorPlane.setFromNormalAndCoplanarPoint(this._normal,this._reflectorWorldPosition),this._reflectorPlane.applyMatrix4(this._virtualCamera.matrixWorldInverse),this._clipPlane.set(this._reflectorPlane.normal.x,this._reflectorPlane.normal.y,this._reflectorPlane.normal.z,this._reflectorPlane.constant);const e=this._virtualCamera.projectionMatrix;this._q.x=(Math.sign(this._clipPlane.x)+e.elements[8])/e.elements[0],this._q.y=(Math.sign(this._clipPlane.y)+e.elements[9])/e.elements[5],this._q.z=-1,this._q.w=(1+e.elements[10])/e.elements[14],this._clipPlane.multiplyScalar(2/this._clipPlane.dot(this._q)),e.elements[2]=this._clipPlane.x,e.elements[6]=this._clipPlane.y,e.elements[10]=this._clipPlane.z+1-this._clipBias,e.elements[14]=this._clipPlane.w}render(e,t,r){this.visible=!1;const n=e.getRenderTarget(),i=e.xr.enabled,o=e.shadowMap.autoUpdate;e.xr.enabled=!1,e.shadowMap.autoUpdate=!1;const s=new mi;e.getClearColor(s),e.setClearColor(16777215,0);const a=this._multiSampledTargets?this._multiSampleRenderTarget:this._renderTarget;e.setRenderTarget(a),e.clear(),this.setBaseObjectsVisible(!1,t),e.render(t,this._virtualCamera),this.material.mirrorBlurIntensity>0&&(this._blurTarget.blur(a,e,this._virtualCamera,this.material.mirrorBlurIntensity),this._blurTarget.blur(a,e,this._virtualCamera,.4*this.material.mirrorBlurIntensity)),e.setClearColor(s,1),this.setBaseObjectsVisible(!0,t),e.xr.enabled=i,e.shadowMap.autoUpdate=o,e.setRenderTarget(n),r.isArrayCamera&&e.state.viewport(r.viewport),this.visible=!0}setBaseObjectsVisible(e,t){this._controller.Excluded.forEach(t=>{t instanceof qn&&(t.parent?t.visible=e:this._controller.remove(t))})}dispose(){var e,t,r,n;null===(e=this._renderTarget)||void 0===e||e.dispose(),null===(t=this._multiSampleRenderTarget)||void 0===t||t.dispose(),null===(r=this._blurTarget)||void 0===r||r.dispose(),null===(n=this._material)||void 0===n||n.dispose()}_debug(){if(Phe.DebugGUI&&!this._mirrorFolder){this._mirrorFolder=Phe.DebugGUI.addFolder("MirrorEffect");const e={blur:this.material.mirrorBlurIntensity,intensity:this.material.mirrorIntensity,enabled:Bde.MirrorEffect,multiSampled:this._multiSampledTargets};this._mirrorFolder.add(e,"intensity",0,1).step(.01).onChange(e=>{this.material.mirrorIntensity=e}),this._mirrorFolder.add(e,"blur",0,5).step(.01).onChange(e=>{this.material.mirrorBlurIntensity=e}),this._mirrorFolder.add(e,"multiSampled").onChange(t=>{e.multiSampled=t,this.MultiSampled=t}),this._mirrorFolder.add(e,"enabled").onChange(e=>{Bde.MirrorEffect=e})}}}ule.MERGE_MATERIAL_PARAMETERS=["alphaMap","aoMap","aoMapIntensity","bumpMap","bumpScale","color","displacementMap","displacementScale","displacementBias","emissive","emissiveMap","emissiveIntensity","envMap","envMapIntensity","lightMap","lightMapIntensity","map","metalness","metalnessMap","morphNormals","morphTargets","normalMap","normalMapType","normalScale","refractionRatio","roughness","roughnessMap","skinning","vertexTangents","wireframe","wireframeLinecap","wireframeLinejoin","wireframeLinewidth","clearcoat","clearcoatMap","clearcoatNormalMap","clearcoatNormalScale","clearcoatRoughness","clearcoatRoughnessMap","defines","ior","reflectivity","sheen","transmission","transmissionMap","transparent","opacity"];const dle=new class{constructor(){this._excluded=[]}get Excluded(){return this._excluded}add(e){-1===this._excluded.indexOf(e)&&this._excluded.push(e)}remove(e){const t=this._excluded.indexOf(e);-1!==t&&this._excluded.splice(t,1)}clear(){this._excluded=[]}};var hle;!function(e){e[e.LINE=1]="LINE",e[e.CIRCLE=2]="CIRCLE",e[e.ARC=3]="ARC",e[e.POLYGON=4]="POLYGON",e[e.TEXT=5]="TEXT",e[e.DIM_LINEAR=6]="DIM_LINEAR",e[e.DIM_LEADER=7]="DIM_LEADER",e[e.DIM_ANGLE=8]="DIM_ANGLE",e[e.CYLINDER=9]="CYLINDER",e[e.SPHERE=10]="SPHERE",e[e.TRIANGLE=11]="TRIANGLE"}(hle||(hle={}));const ple=class extends qn{constructor(){super(),this.isExcluded=!1,this._instanceIdent=-1,this._parent=null}get parent(){return this._parent}set parent(e){this._parent=e}get InstanceIdent(){return this._instanceIdent}clear(){return this.isExcluded&&(dle.remove(this),this.isExcluded=!1),this.recursiveDispose(this),this.remove.apply(this,this.children),this}parse(e){const t=e=>{if(e&&e.fill_r&&(e.fill_r=e.fill_r>1?e.fill_r/255:e.fill_r),e&&e.fill_g&&(e.fill_g=e.fill_g>1?e.fill_g/255:e.fill_g),e&&e.fill_b&&(e.fill_b=e.fill_b>1?e.fill_b/255:e.fill_b),this.isExcluded||(this.isExcluded=!0,dle.add(this)),e.type)switch(e.type){case hle.LINE:this.ParseLine(e);break;case hle.CIRCLE:this.ParseCircle(e);break;case hle.ARC:this.ParseArc(e);break;case hle.POLYGON:this.ParsePolygon(e);break;case hle.TEXT:this.ParseText(e);break;case hle.DIM_LINEAR:this.ParseDimLinear(e);break;case hle.DIM_LEADER:this.ParseDimLeader(e);break;case hle.DIM_ANGLE:this.ParseDimAngle(e);break;case hle.CYLINDER:this.ParseCylinder(e);break;case hle.SPHERE:this.ParseSphere(e);break;case hle.TRIANGLE:this.ParseTriangle(e)}};if(e)if(Array.isArray(e))for(let r=0,n=e.length;r<n;r++)t(e[r]);else e&&e.type&&t(e);this.traverse(e=>{e instanceof Yi&&(e.castShadow=!1)})}recursiveDispose(e){if(e&&e.children&&e.children.length>0){for(let t=e.children.length-1;t>=0;t--)e.children[t].dispose&&e.children[t].dispose(),this.recursiveDispose(e.children[t]);e.remove.apply(e,e.children)}}ParseLine(e){const t=yp.createSync({vertices:[[].concat(e.p1,e.p2)]}),r="lineMaterial-"+e.fill_r+"-"+e.fill_g+"-"+e.fill_b;let n=Lde.GetNativeMaterial(r,this);n||(n=Lde.GetNativeMaterial(r,this,new PE({color:new mi(e.fill_r,e.fill_g,e.fill_b),name:r})));const i=DE.createSync(t,n);i.visible=Bde.ShowLines,this.add(i)}ParseCircle(e){const t=vie.create({centerPoint:e.pm,centerVector:e.norm,radius:e.radius,lineOptions:{lineColor:{r:e.fill_r,g:e.fill_g,b:e.fill_b,a:e.fill_a}},segments:32});this.add(t)}ParseArc(e){const t=gae.create({anglePoint:e.pb,endPoint:e.pe,startPoint:e.ps,lineOptions:{lineColor:{r:e.fill_r,g:e.fill_g,b:e.fill_b,a:e.fill_a}}});this.add(t)}ParsePolygon(e){const t=e.vertices,r=[];for(let e=0,n=t.length;e<n;e++){const n=[].concat(t[e].p1),i=[].concat(t[e].p2);r.push(new fr(n[0],n[1])),r.push(new fr(i[0],i[1]))}const n=new va(r),i=new qa(n,{}),o=new Yi(i,new Hm({color:new mi(e.fill_r,e.fill_g,e.fill_b),transparent:e.fill_a<1,opacity:e.fill_a}));o.scale.set(1,1,1),this.add(o)}ParseText(e){const t=AI.createWithStyledPreset(e.text,e.pu);(Bde.Disable3DText||this.parent&&this.parent.IsRedBox)&&(t.visible=!1),this._instanceIdent=e.instanceIdent,this.add(t)}ParseDimLinear(e){const t=eae.create({dimOptions:{textOptions:{text:e.gText.text,textColor:{r:e.gText.fill_r,g:e.gText.fill_g,b:e.gText.fill_b,a:e.gText.fill_a},scaleFactor:Bde.textScaleFactor,align:e.gText.align},endPointOptions:{directionPoint:e.pm,startPoint:e.p1,endPoint:e.p2,color:{r:e.fill_r,g:e.fill_g,b:e.fill_b,a:e.fill_a}},lineOptions:{lineColor:{r:e.fill_r,g:e.fill_g,b:e.fill_b,a:e.fill_a}}},projection:{pu:e.pu,px:e.px,py:e.py,direction:e.vmass},arrowOptions:{DimScale:e.dVars.scale,ArrowThickness:e.dVars.aThickness,ArrowLength:e.dVars.aLength,ArrowMode:e.dVars.aMode,DistContour:e.dVars.distContour,DistHelp2MassLine:e.dVars.distHML,DistText2MassLine:e.dVars.distTML,TextFormatId:e.dVars.tFormatID,TextHeight:e.dVars.tHeight}});this._instanceIdent=e.instanceIdent,this.add(t)}ParseDimLeader(e){const t=mae.create({endPointOptions:{startPoint:e.pu,endPoint:e.px,directionPoint:e.py},lineOptions:{lineColor:{r:e.fill_r,g:e.fill_g,b:e.fill_b,a:e.fill_a}},textOptions:{textColor:{r:e.gText.fill_r,g:e.gText.fill_g,b:e.gText.fill_b,a:e.gText.fill_a},text:e.gText.text,scaleFactor:Bde.textScaleFactor,align:e.gText.align},arrowOptions:{DimScale:e.dVars.scale,ArrowThickness:e.dVars.aThickness,ArrowLength:e.dVars.aLength,ArrowMode:e.dVars.aMode,DistContour:e.dVars.distContour,DistHelp2MassLine:e.dVars.distHML,DistText2MassLine:e.dVars.distTML,TextFormatId:e.dVars.tFormatID,TextHeight:e.dVars.tHeight}});this._instanceIdent=e.instanceIdent,this.add(t)}ParseDimAngle(e){const t=[];let r=[];const n=[];let i,o,s=[];Cp.DHMatMulPoint(this.matrix.toArray(),e.pu,t),Cp.DHMatMulPoint(this.matrix.toArray(),e.px,r),Cp.DHMatMulPoint(this.matrix.toArray(),e.py,n),Cp.DHMatMulPoint(this.matrix.toArray(),e.ep,s),o=Cp.DHGetVector(t,s),s=Cp.DHGoVector(t,e.radius,o),o=Cp.DHGetVector(t,r),r=Cp.DHGoVector(t,e.radius,o);Cp.DHCalcNumEdges(e.radius);let a=yp.createSync({vertices:[[].concat(t,r),[].concat(t,s)]}),l=DE.createSync(a,new PE({color:new mi(e.fill_r,e.fill_g,e.fill_b),transparent:e.fill_a<1,opacity:e.fill_a}),!0);this.add(l),i=Cp.DHCalcNormal(t,r,n);const c=Cp.DHAngle3D(t,r,s,i),u=gae.create({startPoint:t,endPoint:r,anglePoint:s,lineOptions:{r:e.fill_r,g:e.fill_g,b:e.fill_b,a:e.fill_a}});let d;this.add(u),d=Cp.DHGoVector(t,100,i);const h=Cp.ArcLength(e.radius,c),p=c*(e.dVars.aLength*e.dVars.scale)/h;let m,_,g,f;const v=.5*e.dVars.aThickness*e.dVars.scale;m=Cp.DHCreateArcPoint3D(t,d,r,.5*c),m=Cp.DHCreateArcPoint3D(t,d,r,p),o=Cp.DHGetVector(t,r),_=Cp.DHGoVector(t,e.radius,o),o=Cp.DHGetVector(t,m),g=Cp.DHGoVector(m,v,o),f=Cp.DHGoVector(m,-v,o),a=yp.createSync({vertices:[[].concat(_,g),[].concat(g,f),[].concat(f,_)]}),l=DE.createSync(a,new PE({color:new mi(e.fill_r,e.fill_g,e.fill_b),transparent:e.fill_a<1,opacity:e.fill_a}),!0),this.add(l),m=Cp.DHCreateArcPoint3D(t,d,s,-p),o=Cp.DHGetVector(t,s),_=Cp.DHGoVector(t,e.radius,o),o=Cp.DHGetVector(t,m),g=Cp.DHGoVector(m,-v,o),f=Cp.DHGoVector(m,v,o),a=yp.createSync({vertices:[[].concat(_,g),[].concat(g,f),[].concat(f,_)]}),l=DE.createSync(a,new PE({color:new mi(e.fill_r,e.fill_g,e.fill_b),transparent:e.fill_a<1,opacity:e.fill_a}),!0),this.add(l),this._instanceIdent=e.instanceIdent}ParseCylinder(e){const t=new Oi,r={positions:[],normals:[],indices:[],lastGroupStart:0,lastGroupCount:0};EI.drawCylinder(r,e.center,e.dest,e.bRadius*C,32),t.addGroup(r.lastGroupStart,r.lastGroupCount,0),t.setAttribute("position",new ki(r.positions,3)),t.setAttribute("normal",new ki(r.normals,3)),t.setIndex(r.indices);const n=new Yi(t,new Hm({color:new mi(e.fill_r,e.fill_g,e.fill_b),transparent:e.fill_a<1,opacity:e.fill_a}));this.add(n)}ParseSphere(e){const t=new Za(e.radius,12,12),r=new Yi(t,new Hm({color:new mi(e.fill_r,e.fill_g,e.fill_b),transparent:e.fill_a<1,opacity:e.fill_a})),n=(new Qr).setFromObject(r).getCenter(new br);r.position.set(n.x+e.center[0],n.y+e.center[1],n.z+e.center[2]),this.add(r)}ParseTriangle(e){const t=[];t.push(new fr(e.p1[0],e.p1[1])),t.push(new fr(e.p2[0],e.p2[1])),t.push(new fr(e.p3[0],e.p3[1]));const r=new va(t),n=new Yi(new ShapeGeometry(r),new Hm({color:new mi(e.fill_r,e.fill_g,e.fill_b)}));this.add(n)}};var mle=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};const _le=new class{constructor(){this._models={}}get Models(){return this._models}setHasGeometry(e){e.hasGeometry=!0,e.parent&&e.parent!==ZE.world&&!e.parent.hasGeometry&&(e.parent.hasGeometry=!0,this.setHasGeometry(e.parent))}addOrGetModel(e,t){let r=null;const n=(e,t)=>(t.GKK=e,t.NoCaching||t.GNeedsUpdate||!YE.exists(e)?YE.register(e,t).then(()=>t):YE.exists(e)?YE.get(e).then(e=>mle(this,void 0,void 0,function*(){return e&&e.createMeshLayers&&t.loadMesh(yield e.createMeshLayers()),t})):Promise.resolve(t));let i=Promise.resolve(r);if(this._models[e]){if(r=this._models[e],t&&r.AssignValuesFromObject(t),i=Promise.resolve(r),void 0!==t._GKK)i=n(t._GKK,r);else if(r&&MI.exists(r)){const e=r.dimension.slice();r.AssignValuesFromObject(t),e[0]!==r.dimension[0]||e[1]!==r.dimension[1]||(e[2],r.dimension[2])}void 0===t._GKK&&(i=n(""+t.II,r))}else r=new Dme,i=Promise.resolve(r),t&&(r.AssignValuesFromObject(t),i=Promise.resolve(r),void 0!==t._GKK&&(i=n(t._GKK,r)),void 0===t._GKK&&(i=n(""+t.II,r))),this._models[e]=r,lae.add(r.instanceIdent,r);return i}addToModel(e){return new Promise((t,r)=>{const n=this._models[e.PII],i=this._models[e.II];n?(n&&n.IsWallElement||e.TT,(e=e||{}).parentLO=n,this.addOrGetModel(e.II,e).then(r=>{n===ZE.world&&r.isFinished,n.add(r),this.setHasGeometry(r),t([e,r])})):t([e,i])})}modify(e){return new Promise((t,r)=>{const n=this._models[e.II];if(n){n&&n.IsWallElement||n.parent&&n.parent.IsWallElement||e.TT;const r=!!e.noCaching;if(!(e._GKK||!!e._GKK&&0!==e._GKKREV&&YE.addAndCheckRevision(e._GKK,e._GKKREV))&&!r){const r=n.GKK;n.dimension.slice();return n.AssignValuesFromObject(e),r&&!n.GKK&&(n.hasToDelete=!0,n.removeMesh()),YE.register(n.GKK,n).then(()=>{t([e,n])})}n.hasToDelete=!0,this.addToModel(e).then(e=>{t(e)})}else t([e,null])})}setOldState(){const e=[];Object.keys(this._models).forEach(t=>{this._models[t]?(this._models[t].children.forEach(e=>{e.isNew=!1}),this._models[t].isNew=!1):e.push(t)});for(let t=e.length-1;t>=0;t--)delete this._models[e[t]]}clearModel(e){return new Promise((t,r)=>{const n=[];if(e){if(e.hasToDelete){fle.removeFromTargetList(e);const t=e.children;for(let e=t.length-1;e>=0;e--)t[e]instanceof Dme||t[e]instanceof ple||t[e].isFusionSubObject||t[e]instanceof Jse||n.push(t[e])}t(n)}})}rearrangeModel(e){if(void 0===e.PII||null===e.PII)return!1;const t=this._models[e.II],r=this._models[e.PII];return!(!t||!r)&&(t.parent&&t.parent.remove(t),r.add(t),!0)}removeModel(e){const t=this._models[e.II];if(t){const r=t=>{Aie.fp_walls[t.instanceIdent]&&(Aie.fp_walls[t.instanceIdent]=null,delete Aie.fp_walls[t.instanceIdent]),fle.removeFromTargetList(t),t.parent&&t.parent.remove(t),Dhe.TScene.remove(t),this.recursiveDispose(this._models[e.II]),delete this._models[e.II]};if("FusionGraphicLO"===t.typeText){t.removeMe=!0;const e=setTimeout(()=>{t.isDisposed||(clearTimeout(e),r(t))},500)}else r(t)}}clear(){const e=Object.keys(this._models);for(let t=e.length-1;t>=0;t--)this._models[e[t]]&&+this._models[e[t]].instanceIdent>0&&delete this._models[e[t]];for(let e=ZE.world.children.length-1;e>=0;e--)ZE.world.remove(ZE.world.children[e])}recursiveDispose(e){if(!(e instanceof ple)&&(e.dispose&&e.dispose(),e&&e.children&&e.children.length>0))for(let t=e.children.length-1;t>=0;t--)this.recursiveDispose(e.children[t]),e.remove(e.children[t]),delete e.children[t]}},gle={listOfTargets:[],listOfSelectedTargets:[],cachedCenterPoint:new br,cachedCenterPointBottom:new br,cachedCenterBackPoint:new br,cachedBottomCenterBackPoint:new br,cachedCenterPointBottomObject:new br,checkElement:function(e){return!!e&&!("DH_GENTEILE_CONTAINER_DPL"===e.guid||"GUID_GENTEILECONTAINER"===e.guid||e.parent&&("DH_GENTEILE_CONTAINER_DPL"===e.parent.guid||"GUID_GENTEILECONTAINER"===e.parent.guid)||e.typeText&&(-1!==e.typeText.indexOf("Fussboden")||-1!==e.typeText.indexOf("DHRoomItem")||-1!==e.typeText.indexOf("CH_CDhD1_LightLO")||-1!==e.typeText.indexOf("CH_DHD1_VARIOFORMLO")||-1!==e.typeText.indexOf("DH_CEILING")||-1!==e.typeText.indexOf("SGENLINE_CONTAINER")||-1!==e.typeText.indexOf("CH_VERWALTUNG")||-1!==e.typeText.indexOf("FURNVIEW_WIDGETS"))||e.typeInfo&&3===+e.typeInfo||100039===+e.typeInfo)},getCenter:function(){const e=_le.Models,t=[];this.listOfTargets=[],Object.keys(e).forEach(r=>{const n=e[r];for(let e=0;e<n.children.length;e++){const r=n.children[e];if(r instanceof mo)for(let e=0;e<r.children.length;e++){const i=r.children[e];if(i instanceof RE||i instanceof DE){const e=n.findPOFromLO(!0,!0);this.checkElement(e)&&!n.IsGenElement?-1===this.listOfTargets.indexOf(e)&&(e.IsWallElement?t.push(e):this.listOfTargets.push(e)):-1===this.listOfTargets.indexOf(n)&&n.IsGenElement&&this.checkElement(n)&&n.parent!==window&&(n.IsWallElement?t.push(n):this.listOfTargets.push(n));break}}}}),0===this.listOfTargets.length&&t.length>0&&(this.listOfTargets=t)},AddIfTargetValid:function(){return this.getCenter(),!0},cleanEmptyParents:function(e){if(e)for(let t=e.length-1;t>=0;t--)e[t].parent!==window&&e[t].parent||e.splice(t,1);for(let e=this.listOfTargets.length-1;e>=0;e--)this.listOfTargets[e].parent!==window&&this.listOfTargets[e].parent||this.listOfTargets.splice(e,1);for(let e=this.listOfSelectedTargets.length-1;e>=0;e--)this.listOfSelectedTargets[e].parent!==window&&this.listOfSelectedTargets[e].parent&&-1!==lae.getPOs().indexOf(this.listOfSelectedTargets[e])||this.listOfSelectedTargets.splice(e,1)},removeFromTargetList:function(e){for(let t=0;t<this.listOfTargets.length;t++)if(e===this.listOfTargets[t])return this.listOfTargets.splice(t,1),!0;return!1},resetTargetList:function(){this.listOfTargets=[],this.listOfSelectedTargets=[]},resetSelectedTargetList:function(){this.listOfSelectedTargets=[]},minMax:function(e){this.cleanEmptyParents(e);const t=new Qr(new br(1/0,1/0,1/0),new br(-1/0,-1/0,-1/0));e.forEach(e=>{const r=zme.expandByObject(e);zme.isInfinity(r)||(t.min.min(r.min),t.max.max(r.max))});const r=new br;return t.getCenter(r),{bb:t,center:r}},CalcCenterBackBottomPoint:function(e){return this.CalcCenterPoint(e),this.cachedBottomCenterBackPoint},CalcCenterBackPoint:function(e){return this.CalcCenterPoint(e),this.cachedCenterBackPoint},CalcTopPoints:function(){if(this.cleanEmptyParents(),0===this.listOfSelectedTargets.length){if(1===this.listOfTargets.length){const e=(this.listOfTargets[0].parent||this.listOfTargets[0]).localToWorld(this.listOfTargets[0].position.clone()),t=new br(e.x,e.y,e.z+this.listOfTargets[0].dimension[2]),r=new br(e.x+this.listOfTargets[0].dimension[0],e.y,e.z+this.listOfTargets[0].dimension[2]),n=new br(e.x,e.y+this.listOfTargets[0].dimension[1],e.z+this.listOfTargets[0].dimension[2]);return{lFront:t,rFront:r,rBack:new br(e.x+this.listOfTargets[0].dimension[0],e.y+this.listOfTargets[0].dimension[1],e.z+this.listOfTargets[0].dimension[2]),lBack:n}}return{lFront:new br(0,0,0),rFront:new br(0,0,0),rBack:new br(0,0,0),lBack:new br(0,0,0)}}},CalcCenterPoint:function(e){if(!e){this.cleanEmptyParents();let e=new Qr,t=new br;if(0===this.listOfSelectedTargets.length||g_configuration.FixedCameraAngle){if(1===this.listOfTargets.length)e=zme.expandByObject(this.listOfTargets[0],!0),t=e.getCenter(new br);else if(this.listOfTargets.length>1){const r=this.minMax(this.listOfTargets);t=r.center,e=r.bb}}else if(1===this.listOfSelectedTargets.length)e=zme.expandByObject(this.listOfSelectedTargets[0]),t=e.getCenter(new br);else if(this.listOfSelectedTargets.length>1){const r=this.minMax(this.listOfSelectedTargets);t=r.center,e=r.bb}this.cachedCenterPoint.set(t.x,t.y,t.z),this.cachedCenterBackPoint.set(t.x,Math.abs(e.max.y)===1/0?t.y:e.max.y,t.z),this.cachedBottomCenterBackPoint.set(t.x,Math.abs(e.max.y)===1/0?t.y:e.max.y,0),this.cachedCenterPointBottom.set(t.x,t.y,0),this.cachedCenterPointBottomObject.set(t.x,t.y,Math.abs(e.max.z)===1/0?t.z:e.max.z)}return this.cachedCenterPoint},CalcCenterPointBottom:function(e){return this.CalcCenterPoint(e),this.cachedCenterPointBottom},CalcCenterPointBottomObject:function(e){return this.CalcCenterPoint(e),this.cachedCenterPointBottomObject},CalcSingleCenterPoint:function(e){return zme.expandByObject(e).getCenter(new br)},CalcSingleCenterPointBottom:function(e){const t=zme.expandByObject(e).getCenter(new br);return t.z=0,t},makeBox:function(e,t,r,n,i,o,s,a,l){const c=new br(0,0,2),u=new br(0,0,2),d=new br(0,0,2),h=new br(0,0,2),p=new br(0,0,2),m=new br(0,0,2);let _=null;const g=Cp.DHGetVector([e.x,e.y,e.z],[t.x,t.y,t.z]),f=Cp.DHVecCross3D(g,[0,0,1]);_=new br(f[0],f[1],f[2]);let v=Cp.DHGoVector([t.x,t.y,t.z],-r,f);c.set(v[0],v[1],v[2]),o&&(v=Cp.DHGoVector([c.x,c.y,c.z],r,g),c.set(v[0],v[1],v[2])),v=Cp.DHGoVector([e.x,e.y,e.z],-r,f),u.set(v[0],v[1],v[2]),i&&(v=Cp.DHGoVector([u.x,u.y,u.z],r,g,!0),u.set(v[0],v[1],v[2])),v=Cp.DHGoVector([e.x,e.y,e.z],n,[0,0,1]),d.set(v[0],v[1],v[2]),v=Cp.DHGoVector([t.x,t.y,t.z],n,[0,0,1]),h.set(v[0],v[1],v[2]),v=Cp.DHGoVector([c.x,c.y,c.z],n,[0,0,1]),p.set(v[0],v[1],v[2]),v=Cp.DHGoVector([u.x,u.y,u.z],n,[0,0,1]),m.set(v[0],v[1],v[2]);const b=a||new Hm({color:"#111111"}),y=new qn;function $(e,t,r,n,i,o,s,a,l,c,u,d){const h=t.clone(),p=r.clone(),m=n.clone(),_=i.clone();if(!u){const t=new Oi,r=[0,1,1,1,1,0,0,1,1,1,1,0],n=[].concat(h,p,m,_,h,m);t.setAttribute("position",new ki(n,3)),t.setAttribute("uv",new ki(r,2)),t.setIndex([0,1,2,3,4,5,6]),t.computeVertexNormals(),t.computeBoundingBox();const i=new Yi(t,s);i.canReceiveShadow=!0,i.canCastShadow=!1,i.receiveShadow=!0,i.points=[h.clone(),p.clone(),m.clone(),_.clone()],i.pv13=e,i.before=a,i.after=l,o.add(i)}if(c){const e=new Oi;e.setAttribute("position",new ki([].concat(h,p,m,_,h),3)),e.setIndex([0,1,2,3,4,5]),e.addGroup(0,6,0);const t=new As(e,d||new PE({color:"#000000"}));t.renderOrder=999,o.add(t)}}$(_,e,t,h,d,y,b,null,null,s,null,l);let x=new Hm({color:"#111111"});if(s&&(x=b),$(_,d,h,p,m,y,x,i,o,!0,null,null),s){let e=new Hm({color:"#111111"});s&&(e=b),$(null,c,u,m,p,y,e,null,null,!0,null,l)}if(!i){let t=new Hm({color:"#111111"});s&&(t=b),$(_,e,d,m,u,y,t,null,null,s,null,l)}let S=null;if(s&&(S=b),$(null,u,e,t,c,y,S,null,null,!0,!0,l),!o){let e=new Hm({color:"#111111"});s&&(e=b),$(_,c,p,h,t,y,e,null,null,s,null,l)}return y}};window.MathHelper=gle;const fle=gle;var vle,ble,yle=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};!function(e){e[e.PO=1]="PO",e[e.FRONT=2]="FRONT",e[e.FITTING=4]="FITTING"}(vle||(vle={})),function(e){e.BEFORE_REMOVE="before_remove_event",e.AFTER_REMOVE="after_remove_event",e.BEFORE_ADD="before_add_event",e.AFTER_ADD="after_add_event",e.HANDLE="handle_event",e.CLEAR="clear_event",e.AFTER_CLEAR="after_clear_event",e.BEFORE_DELETE="before_delete_event",e.AFTER_DELETE="after_delete_event"}(ble||(ble={}));const $le=new class{constructor(){this.objects=[],this.revision=0,this.lastCount=0,this.isDirty=!1,this.selectionType=vle.PO,this._RunOnce=!1,this._selectionTimer=null,this._selectedElementIndex=-1,this._keyboardSelectionTimeout=null,this._listener={},Rm.on("SelectionChange",e=>{$le.clear();const t=e.iis;Object.values(t).forEach(function(e){const t=lae.get(e);t&&$le.add(t)})}),this.addEventListener(ble.AFTER_ADD,()=>{if(!Yse.SceneAction&&this.getPOIIs().length>0&&mm.getViewMode()!==Ep.AR&&Bde.IsPlacerMode&&mm.getViewMode()!==Ep.AR)return Pse.addKeyboardEvents(),ape.GetRotationWidget()},null,10001,!0),this.addEventListener([ble.AFTER_DELETE,ble.AFTER_REMOVE,ble.CLEAR],()=>{if(mm.getViewMode()!==Ep.AR)return Pse.removeKeyboardEvents(),ape.ResetWidget()},null,10001,!0),this.onKeyboardDelete=this.onKeyboardDelete.bind(this),this.onKeyboardEscape=this.onKeyboardEscape.bind(this),this.onKeyboardLeftArrow=this.onKeyboardLeftArrow.bind(this),this.onKeyboardRightArrow=this.onKeyboardRightArrow.bind(this),this.onKeyboardKeyA=this.onKeyboardKeyA.bind(this)}get Count(){return this.objects?this.objects.length:0}get Type(){return this.selectionType}get IsDirty(){return this.isDirty}get First(){return 0===this.objects.length?null:this.objects[0]}get Last(){return 0===this.objects.length?null:this.objects[this.objects.length-1]}get All(){return[...this.objects]}handleAutoDeselection(e){return yle(this,void 0,void 0,function*(){if(e)for(let t=this.objects.length-1;t>=0;t--){const r=this.objects[t];-1!==r.keys.indexOf(10006)==(-1!==e.keys.indexOf(10006))&&100031===r.typeInfo==(100031===e.typeInfo)||this.remove(r)}})}setSelectionType(e){return yle(this,void 0,void 0,function*(){e&&(-1!==e.keys.indexOf(10006)?this.selectionType=vle.FRONT:100031===e.typeInfo?this.selectionType=vle.FITTING:this.selectionType=vle.PO)})}add(e){return yle(this,void 0,void 0,function*(){if(!Bde.FurnplanInteractionMode){if(!(e instanceof Dme))return $le;if(yield this.dispatchListener(ble.BEFORE_ADD),$le._RunOnce||($le._RunOnce=!0),$le.objects.some(e=>e.IsWallChildElement||e.IsWallElement)||e.IsWallChildElement||e.IsWallElement){g_configuration.enable_wall_picking||g_configuration.old_kata_tree_toolbar_placer&&(Bde.PlacerDirection===Op.LEFT||Bde.PlacerDirection===Op.RIGHT)||(yield $le.clear())}return $le.contains(e)||(yield Roe.measureBySelection(e),Bde.SingleSelectionEnabled&&$le.objects.length>0&&(yield this.clear(!0,!0)),yield this.setSelectionType(e),$le.objects.push(e),$le.revision++,Yse.LastTippedPO=e,aae.updateMeasureBoxSelection(this.All),g_configuration.show_article_info&&(Pie.show(),Pie.update({prog:this.Last.Program,artno:this.Last.PlanType,dxmin:this.Last.CurrentDimension.x,dymin:this.Last.CurrentDimension.y,dzmin:this.Last.CurrentDimension.z}))),moe.toggleTextByLO(e,!0),this.setDirty(),yield this.dispatchListener(ble.AFTER_ADD),$le}})}remove(e){return yle(this,arguments,void 0,function*(e,t=!1){if(Bde.FurnplanInteractionMode)return;if(!(e instanceof Dme))return $le;yield this.dispatchListener(ble.BEFORE_REMOVE);let r=-1;for(let t=0;t<$le.objects.length;t++)if($le.objects[t]===e){r=t;break}if(r>=0&&(!t&&Bde.FittingMeasureEnabled&&(yield Roe.measureBySelection()),FI.removeMarker($le.objects[r]),FI.remove($le.objects[r]),$le.objects.splice(r,1),$le.revision++,this.Count>=1?aae.updateMeasureBoxSelection(this.All):aae.updateMeasureBoxSelection([aae.world])),g_configuration.show_article_info&&0===$le.Count)if(1===lae.CountPO()){Pie.show();const e=lae.getPOs()[0];Pie.update({prog:e.Program,artno:e.PlanType,dxmin:e.CurrentDimension.x,dymin:e.CurrentDimension.y,dzmin:e.CurrentDimension.z})}else Pie.update(null),Pie.hide();return moe.toggleTextByLO(e,!1),this.setDirty(),yield this.dispatchListener(ble.AFTER_REMOVE),$le})}contains(e){if(!(e instanceof Dme))return!1;if($le.objects.length>0)for(let t=0;t<$le.objects.length;t++)if(e===$le.objects[t])return!0;return!1}update(){this.revision++}handle(e){return yle(this,arguments,void 0,function*(e,t=!1,r=!1){if(Bde.FurnplanInteractionMode)return;FI.setMarkedElement(),yield this.handleAutoDeselection(e),Bde.IsPlacerMode;let n=!1;if(e){if("Fussboden"===e.typeText)return yield $le.clear(),!1;const r=this.objects.filter(e=>e.IsWallElement);for(let t=0;t<r.length;t++){const n=r[t];$le.contains(n)&&n!==e&&$le.remove(n)}$le.contains(e)?t||($le.remove(e),n=!1):(yield $le.add(e),n=!0)}return clearTimeout($le._selectionTimer),$le._selectionTimer=null,ape.setSelection($le.getIIs(),0).then(()=>{r||(0===$le.objects.length&&(Bde.ObjectMoveDirection=Fp.XYZ),this.isDirty&&!g_configuration.panel_right_register_old_kata_tree&&(this.isDirty=!1,$le._selectionTimer=setTimeout(()=>yle(this,void 0,void 0,function*(){clearTimeout($le._selectionTimer),$le._selectionTimer=null,yield this.dispatchListener(ble.HANDLE)}),0)))}),n})}setDirty(){Bde.FurnplanInteractionMode||($le.lastCount!==$le.objects.length||Bde.SingleSelectionEnabled&&1===$le.objects.length)&&($le.lastCount=$le.objects.length,FurnplanKataTreeInterface.postMessage("furnplan.changeSelectedPOCount",[$le.objects.length,$le.objects.map(e=>e.instanceIdent),this.selectionType]),oae.sendToApp("furnview.onSelectionChanged",[{rev:$le.revision,count:$le.objects.length,objectInfo:$le.objects.map(e=>({instanceIdent:e.instanceIdent,dimension:e.dimension,planType:e.PlanType,planTypeText:e.PlanTypeText}))}]),FurnplanKataTreeInterface.postMessage("furnplan.selectionInfo",[{rev:$le.revision,count:$le.objects.length,objectInfo:$le.objects.map(e=>({instanceIdent:e.instanceIdent,dimension:e.dimension,isPO:e===e.findPOFromLO(!0,!0),planType:e.PlanType,planTypeText:e.PlanTypeText}))}]),this.isDirty=!0)}clear(){return yle(this,arguments,void 0,function*(e=!1,t=!1){if(!Bde.FurnplanInteractionMode){if(t||(yield Roe.measureBySelection()),aae.updateMeasureBoxSelection([aae.world]),e=e||0===$le.objects.length,$le.objects.forEach(e=>{moe.toggleTextByLO(e,!1)}),$le.objects=[],FI.clearMarker(!0,NI.SELECTION),FI.clearMarker(!0,NI.HIGHLIGHT),fle.resetSelectedTargetList(),g_configuration.show_article_info&&1!==lae.CountPO())if(1===lae.CountPO()){Pie.show();const e=lae.getPOs()[0];Pie.update({prog:e.Program,artno:e.PlanType,dxmin:e.CurrentDimension.x,dymin:e.CurrentDimension.y,dzmin:e.CurrentDimension.z})}else Pie.update(null),Pie.hide();this.setDirty(),yield this.dispatchListener(ble.CLEAR),yield ape.setSelection([],0).then(()=>{ape.setLastTippedLO().then(()=>{$le.revision++,$le.handle(null,!1,e),this.setDirty()})}),e||(yield this.dispatchListener(ble.AFTER_CLEAR))}})}delete(){return yle(this,void 0,void 0,function*(){if(Bde.FurnplanInteractionMode)return;const e=$le.getGuidList();yield this.dispatchListener(ble.BEFORE_DELETE),$le.objects=[],$le.revision++,ape.deleteLO(e).then(()=>{if($le.hierarchy)return $le.hierarchy.checkElements().then(function(){return!0})}).then(()=>yle(this,void 0,void 0,function*(){yield this.dispatchListener(ble.AFTER_DELETE)})),$le.clear()})}getParentWithKeys(e){return e.parent&&e.parent.keys&&e.parent.keys.length>0?e.parent:e.parent&&e.parent!==aae.world?this.getParentWithKeys(e.parent):null}getGuidList(){const e=[];for(let t=$le.objects.length-1;t>=0;t--)e.push($le.objects[t].guid);return e}getIIs(e){const t=[];return $le.objects.forEach(r=>{-1!==r.keys.indexOf(10006)?t.push(""+r.instanceIdent):e||r.static?e&&!r.static&&t.push(""+r.instanceIdent):t.push(""+r.instanceIdent)}),t}getPOIIs(e){const t=[];return $le.objects.forEach(function(r){e||r.static||r.parent!==aae.world?e&&!r.static&&r.parent===aae.world&&t.push(""+r.instanceIdent):t.push(""+r.instanceIdent)}),t}initialize(){this.addKeyboardEvents(),lae.addDeleteListener(e=>yle(this,void 0,void 0,function*(){$le.objects.includes(e)&&$le.remove(e)}))}addKeyboardEvents(){Bde.IsPlacerMode&&(Fm.addUpKeyEvent(Jp.DELETE,this.onKeyboardDelete),Fm.addUpKeyEvent(Jp.ESCAPE,this.onKeyboardEscape),Fm.addUpKeyEvent(Jp.LEFT_ARROW,this.onKeyboardLeftArrow),Fm.addUpKeyEvent(Jp.RIGHT_ARROW,this.onKeyboardRightArrow),Bde.SingleSelectionEnabled||Fm.addUpKeyEvent(Jp.KEY_A,this.onKeyboardKeyA))}onKeyboardDelete(){this.objects.length>0&&this.delete()}onKeyboardEscape(){this.clear()}onKeyboardLeftArrow(){Fm.secondaryKeys.isCtrl&&!0!==Fm.secondaryKeys.isAlt&&this.keyboardSelectElement(!0)}onKeyboardRightArrow(){Fm.secondaryKeys.isCtrl&&!0!==Fm.secondaryKeys.isAlt&&this.keyboardSelectElement(!1)}onKeyboardKeyA(){Fm.secondaryKeys.isCtrl&&(this.clear(),lae.getPOIIs().forEach(e=>{this.add(lae.get(e))}))}keyboardSelectElement(e=!0){const t=lae.getPOs();this.selectionType===vle.PO&&t.length>0&&(this._selectedElementIndex=e?(this._selectedElementIndex-1+t.length)%t.length:(this._selectedElementIndex+1)%t.length,this._keyboardSelectionTimeout&&clearTimeout(this._keyboardSelectionTimeout),this._keyboardSelectionTimeout=setTimeout(()=>{this.clear(),this.add(t[this._selectedElementIndex])},200))}addEventListener(e,t,r=[],n=0,i=!1){const o=e;if(Array.isArray(o))for(let e=0;e<o.length;e++)this.addEventListener(o[e],t,r,n,i);else{this._listener[o]||(this._listener[o]={}),this._listener[o][n]||(this._listener[o][n]=[]);0===this._listener[o][n].filter(e=>e.func===t).length&&this._listener[o][n].push({func:t,data:r,wait:i})}}getCount(e=!0){if(!e){let e=0;for(const t of this.objects)t.keys.includes(30548)||++e;return e}return this.Count}showDeleteIconInSelectionContextMenu(){if(!Bde.DeleteContextMenuFilter)return!0;if(1!==this.Count)return!0;if(this.selectionType===vle.FITTING||this.selectionType===vle.FRONT)return!0;const e=this.First;if(!e)return!0;if(e.keys.includes(30548))return!1;if(e.keys.includes(10004)||e.keys.includes(10006)||e.keys.includes(100031))return!0;const t=e.parentLO;return!(!t||30541!==t.typeInfo)}dispatchListener(e){return yle(this,void 0,void 0,function*(){if(this._listener[e]){const t=this._listener[e],r=Object.keys(t);r.sort((e,t)=>t-e);for(let e=0;e<r.length;e++){const n=r[e];if(t[n]&&t[n].length>0)for(let e=0;e<t[n].length;e++)t[n][e].func&&(t[n][e].wait?yield t[n][e].func.apply(t[n][e].data):t[n][e].func.apply(t[n][e].data))}}})}};var xle,Sle=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};let wle=xle=class{constructor(){this._needsUpdate=!1}set NeedsUpdate(e){this._needsUpdate=e}static build(){if(!Bde.SelectionContextMenuEnabled&&Bde.IsPlacerMode){const e=new xle;return e.getRoot().on("click",e=>{$le.delete()}),e.update(),e}return null}update(){return!Bde.SelectionContextMenuEnabled&&Bde.IsPlacerMode&&$le.objects.length>0?(this.getRoot().removeClass("dhmc-hidden"),!0):(this.dispose(),!1)}buildDOM(){return this.getRoot()}dispose(){this.getRoot().addClass("dhmc-hidden")}};wle=xle=Sle([_m({template:'\n        <div class="circular ui button icon dhmc-ui-button dhmc-delete-button">\n            <i class="icon big trash dhmc-ui-icon"></i>\n        </div>\n    ',parentSelector:".dhmc-ui-controls"})],wle);const Ale=wle;var Cle,Ele=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};let Ile=Cle=class{constructor(){this._needsUpdate=!1}set NeedsUpdate(e){this._needsUpdate=e}static build(){if(Bde.IsPlacerMode){const e=new Cle;return e.getRoot().on("click",t=>{ice.clear(),e.update()}),e.update(),e}return null}update(){return ice.Active?(this.getRoot().removeClass("dhmc-hidden"),!0):(this.dispose(),!1)}buildDOM(){return this.getRoot()}dispose(){this.getRoot().addClass("dhmc-hidden")}};Ile=Cle=Ele([_m({template:'\n        <div class="circular ui button icon dhmc-ui-button">\n            <i class="icon big times circle dhmc-ui-icon"></i>\n        </div>\n    ',parentSelector:".dhmc-ui-controls"})],Ile);const Mle=Ile;var kle=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};let Tle=class extends mM{constructor(){super(...arguments),this.dimData={}}initialize(){super.initialize();const e=this;this.getElement("btnConfirm").on("click",()=>{g_configuration.mod_dim_change=0,g_configuration.mod_dim_change_move_other||(g_configuration.mod_dim_change_move_other=1);const e={x:0,z:0,y:0};e.x=10*Number(this.getElement("valueX").val()),e.z=10*Number(this.getElement("valueZ").val()),e.y=10*Number(this.getElement("valueY").val()),ape.setLODimensionInfo(e.x,e.z,e.y,g_configuration.mod_dim_change,!!g_configuration.mod_dim_change_move_other).then(e=>{Rle.hide()})}),this.getElement("rangeX").change(function(t){e.getElement("valueX").val($(this).val())}),this.getElement("valueX").change(function(t){const r=$(this).attr("min"),n=$(this).attr("max"),i=$(this).val();Number(i)<Number(r)&&$(this).val(r),Number(i)>Number(n)&&$(this).val(n),e.getElement("rangeX").val($(this).val())}),this.getElement("rangeZ").change(function(t){e.getElement("valueZ").val($(this).val())}),this.getElement("valueZ").change(function(t){const r=$(this).attr("min"),n=$(this).attr("max"),i=$(this).val();Number(i)<Number(r)&&$(this).val(r),Number(i)>Number(n)&&$(this).val(n),e.getElement("rangeZ").val($(this).val())}),this.getElement("rangeY").change(function(t){e.getElement("valueY").val($(this).val())}),this.getElement("valueY").change(function(t){const r=$(this).attr("min"),n=$(this).attr("max"),i=$(this).val();Number(i)<Number(r)&&$(this).val(r),Number(i)>Number(n)&&$(this).val(n),e.getElement("rangeY").val($(this).val())})}dimensionsCanChange(e){return e.isValid}setDimData(e){return this.dimData=e,this.getElement("textXmin").text((this.dimData.min.x/(1/Bde.DimensionScale)).toString()+" cm"),this.getElement("textXmax").text((this.dimData.max.x/(1/Bde.DimensionScale)).toString()+" cm"),this.getElement("textZmin").text((this.dimData.min.z/(1/Bde.DimensionScale)).toString()+" cm"),this.getElement("textZmax").text((this.dimData.max.z/(1/Bde.DimensionScale)).toString()+" cm"),this.getElement("textYmin").text((this.dimData.min.y/(1/Bde.DimensionScale)).toString()+" cm"),this.getElement("textYmax").text((this.dimData.max.y/(1/Bde.DimensionScale)).toString()+" cm"),this.getElement("valueX").attr("min",this.dimData.min.x/(1/Bde.DimensionScale)),this.getElement("valueZ").attr("min",this.dimData.min.z/(1/Bde.DimensionScale)),this.getElement("valueY").attr("min",this.dimData.min.y/(1/Bde.DimensionScale)),this.getElement("valueX").attr("max",this.dimData.max.x/(1/Bde.DimensionScale)),this.getElement("valueZ").attr("max",this.dimData.max.z/(1/Bde.DimensionScale)),this.getElement("valueY").attr("max",this.dimData.max.y/(1/Bde.DimensionScale)),this.getElement("rangeX").attr("min",this.dimData.min.x/(1/Bde.DimensionScale)),this.getElement("rangeZ").attr("min",this.dimData.min.z/(1/Bde.DimensionScale)),this.getElement("rangeY").attr("min",this.dimData.min.y/(1/Bde.DimensionScale)),this.getElement("rangeX").attr("max",this.dimData.max.x/(1/Bde.DimensionScale)),this.getElement("rangeZ").attr("max",this.dimData.max.z/(1/Bde.DimensionScale)),this.getElement("rangeY").attr("max",this.dimData.max.y/(1/Bde.DimensionScale)),this.getElement("rangeX").val(this.dimData.cur.x/(1/Bde.DimensionScale)),this.getElement("rangeZ").val(this.dimData.cur.z/(1/Bde.DimensionScale)),this.getElement("rangeY").val(this.dimData.cur.y/(1/Bde.DimensionScale)),this.getElement("valueX").val(this.dimData.cur.x/(1/Bde.DimensionScale)),this.getElement("valueZ").val(this.dimData.cur.z/(1/Bde.DimensionScale)),this.getElement("valueY").val(this.dimData.cur.y/(1/Bde.DimensionScale)),this.getElement("rangeX").prop("disabled",!1),this.getElement("valueX").prop("disabled",!1),e.isValidX||(this.getElement("rangeX").prop("disabled",!0),this.getElement("valueX").prop("disabled",!0)),this.getElement("rangeZ").prop("disabled",!1),this.getElement("valueZ").prop("disabled",!1),e.isValidZ||(this.getElement("rangeZ").prop("disabled",!0),this.getElement("valueZ").prop("disabled",!0)),this.getElement("rangeY").prop("disabled",!1),this.getElement("valueY").prop("disabled",!1),e.isValidY||(this.getElement("rangeY").prop("disabled",!0),this.getElement("valueY").prop("disabled",!0)),this}};Tle=kle([_m({template:'\n            <div class="dim-change-window small wider modal-window invisible">\n                <div class="toolbar">\n                    <div class="title right-aligned" data-i18n="fv.dimchange.caption">Dimensionsänderung</div>\n                    <div class="right">\n                        <div class="close-button"></div>\n                    </div>\n                </div>\n                <div class="content">\n                    <div class="dim-grid-container">\n                      <div class="widthHeader">\n                        <h3 data-i18n="fv.dimchange.width">Breite:</h3>\n                      </div>\n                      <div class="widthRange">\n                        <input type="range" id="rangeWidth" step="0.5">\n                      </div>\n                      <div class="heightHeader">\n                        <h3 data-i18n="fv.dimchange.height">Höhe:</h3>\n                      </div>\n                      <div class="depthHeader">\n                        <h3 data-i18n="fv.dimchange.depth">Tiefe:</h3>\n                      </div>\n                      <div class="heightRange">\n                        <input type="range" id="rangeHeight" step="0.5">\n                      </div>\n                      <div class="depthRange">\n                        <input type="range" id="rangeDepth" step="0.5">\n                      </div>\n                      <div class="widthValue ui input">\n                        <input type="number" id="valueWidth" step="0.5">\n                      </div>\n                      <div class="heightValue ui input">\n                        <input type="number" id="valueHeight" step="0.5">\n                      </div>\n                      <div class="depthValue ui input">\n                        <input type="number" id="valueDepth" step="0.5">\n                      </div>\n                      <div class="widthDescription">\n                        <span data-i18n="fv.dimchange.description.width">Neue Breite in cm</span>\n                      </div>\n                      <div class="heightDescription">\n                        <span data-i18n="fv.dimchange.description.height">Neue Höhe in cm</span>\n                      </div>\n                      <div class="depthDescription">\n                        <span data-i18n="fv.dimchange.description.depth">Neue Tiefe in cm</span>\n                      </div>\n                      <div class="widthMinimal">\n                        <div data-i18n="fv.dimchange.minimal">minimal</div>\n                        <div id="minimalWidth"></div>\n                      </div>\n                      <div class="widthMaximal">\n                        <div data-i18n="fv.dimchange.maximal">maximal</div>\n                        <div id="maximalWidth"></div>\n                      </div>\n                      <div class="heightMinimal">\n                        <div data-i18n="fv.dimchange.minimal">minimal</div>\n                        <div id="minimalHeight"></div>\n                      </div>\n                      <div class="heightMaximal">\n                        <div data-i18n="fv.dimchange.maximal">maximal</div>\n                        <div id="maximalHeight"></div>\n                      </div>\n                      <div class="depthMinimal">\n                        <div data-i18n="fv.dimchange.minimal">minimal</div>\n                        <div id="minimalDepth"></div>\n                      </div>\n                      <div class="depthMaximal">\n                        <div data-i18n="fv.dimchange.maximal">maximal</div>\n                        <div id="maximalDepth"></div>\n                      </div>\n                      <div class="dimConfirm">\n                        <button id="btnConfirm" class="ui orange button" data-i18n="fv.dimchange.confirm">Bestätigen</button>\n                      </div>\n                    </div>\n                </div>\n            </div>\n        ',elements:{closeButton:".close-button",content:".content",textXmin:".content #minimalWidth",textXmax:".content #maximalWidth",textZmin:".content #minimalHeight",textZmax:".content #maximalHeight",textYmin:".content #minimalDepth",textYmax:".content #maximalDepth",valueX:".content #valueWidth",valueZ:".content #valueHeight",valueY:".content #valueDepth",rangeX:".content #rangeWidth",rangeZ:".content #rangeHeight",rangeY:".content #rangeDepth",btnConfirm:".content #btnConfirm"},parentSelector:"#renderContainer",condition:!0})],Tle);const Rle=new Tle;var Lle,Ple=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};let Dle=Lle=class{constructor(){this._needsUpdate=!1}set NeedsUpdate(e){this._needsUpdate=e}static build(){if(!Bde.SelectionContextMenuEnabled&&Bde.IsPlacerMode&&Bde.enableDimChange){const e=new Lle;return e.getRoot().on("click",e=>{ape.getLODimensionInfo().then(e=>{e[0].isValid&&(Rle.setDimData(e[0]),Rle.show())})}),e.update(),e}return null}update(){return!Bde.SelectionContextMenuEnabled&&Bde.IsPlacerMode&&$le.objects.length>0?(this.getRoot().removeClass("dhmc-hidden"),!0):(this.dispose(),!1)}buildDOM(){return this.getRoot()}dispose(){this.getRoot().addClass("dhmc-hidden")}};Dle=Lle=Ple([_m({template:'\n        <div class="circular ui button icon dhmc-ui-button dhmc-dim-change-button">\n            <i class="icon big edit outline dhmc-ui-icon"></i>\n        </div>\n    ',parentSelector:".dhmc-ui-controls"})],Dle);const Nle=Dle;var Fle,Ole=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};let Ble=Fle=class{constructor(){this._needsUpdate=!1}set NeedsUpdate(e){this._needsUpdate=e}static build(){if(Wp.getType()===Mp.MOBILE&&!g_configuration.landingPage&&Bde.IsFurnplanMode){const e=new Fle;return e.getRoot().on("click",()=>{$le.objects.length>0&&ape.getContextMenu($le.objects[$le.objects.length-1].instanceIdent).then(function(e){$I.createMobile(e,$("body"))})}),e.update(),e}return null}update(){return Wp.getType()===Mp.MOBILE&&$le.objects.length>0&&$le.Type===vle.PO&&!g_configuration.landingPage?(this.getRoot().removeClass("dhmc-hidden"),!0):(this.dispose(),!1)}buildDOM(){return this.getRoot()}dispose(){this.getRoot().addClass("dhmc-hidden")}};Ble=Fle=Ole([_m({template:'\n        <div class="circular ui button icon dhmc-ui-button dhmc-info-button">\n            <i class="icon big bars"></i>\n        </div>\n    ',parentSelector:".dhmc-ui-controls"})],Ble);const Ule=Ble;var Vle,zle=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};let Hle=Vle=class{constructor(e){this._needsUpdate=!1,this._direction=e,Vle.instances.push(this)}static deselectOthers(e){for(const t of Vle.instances)t!==e&&t.getRoot().removeClass("selected")}set NeedsUpdate(e){this._needsUpdate=e}static build(e){var t,r,n;if(Bde.IsPlacerMode&&!Bde.DisableObjectMoveDirection[Fp[e].toLowerCase()]){const i=new Vle(e);return e===Fp.X?null===(t=i.getElement("icon"))||void 0===t||t.addClass("direction-x"):e===Fp.Y?null===(r=i.getElement("icon"))||void 0===r||r.addClass("direction-y"):e===Fp.Z&&(null===(n=i.getElement("icon"))||void 0===n||n.addClass("direction-z")),i.getRoot().on("click",function(){i.getRoot().hasClass("selected")?(i.getRoot().removeClass("selected"),Bde.ObjectMoveDirection=Fp.XYZ):(Vle.deselectOthers(i),i.getRoot().addClass("selected"),Bde.ObjectMoveDirection=e)}),i.update(),i}}update(e=!1){if(Bde.IsPlacerMode&&$le.objects.length>0){if(this._direction===Fp.Z&&!e)return!1;let t=!1;if($le.objects.forEach(e=>{t=!e.static}),t)return this.getRoot().removeClass("dhmc-hidden"),!0}return this.dispose(),!1}buildDOM(){return Bde.ObjectMoveDirection=Fp.XYZ,this.getRoot()}dispose(){this.getRoot().addClass("dhmc-hidden"),this.getRoot().removeClass("selected"),Bde.ObjectMoveDirection=Fp.XYZ}};Hle.instances=[],Hle=Vle=zle([_m({template:'\n        <div class="circular ui button icon dhmc-ui-button dhmc-move-direction-button">\n            <i class="icon big dhmc-ui-icon">\n                <div class="dhmc-toolbar-icons dhMoveDirection"></div>\n            </i>\n        </div>\n    ',parentSelector:".dhmc-ui-controls",elements:{icon:".dhmc-toolbar-icons"}})],Hle);const Gle=Hle;var jle,Jle=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};let Wle=jle=class{constructor(){this._needsUpdate=!1}set NeedsUpdate(e){this._needsUpdate=e}static build(){const e=new jle;return e.NeedsUpdate=!0,e.update(),e}forceUpdate(){this._needsUpdate=!0}update(){return Xce.IsActive&&!this._needsUpdate?(this.getRoot().removeClass("dhmc-hidden"),!0):(this.getElement("icon").removeClass(["pause","play"]),this.getRoot().off("click"),Xce.IsPaused?(this.getElement("icon").addClass("play"),this.getRoot().click("click",e=>{Xce.resume(),upe.sendToApp("startAR"),this._needsUpdate=!0,rce.update()})):(this.getElement("icon").addClass("pause"),this.getRoot().on("click",e=>{upe.sendToApp("pauseAR"),Xce.pause(),this._needsUpdate=!0,rce.update()})),this.dispose(),!1)}buildDOM(){return this.getRoot()}dispose(){this.getRoot().addClass("dhmc-hidden"),this._needsUpdate=!1}};Wle=jle=Jle([_m({template:'\n        <div class="circular ui button icon dhmc-ui-button dhmc-info-button">\n            <i class="icon big"></i>\n        </div>\n    ',parentSelector:".dhmc-ui-controls",elements:{icon:"i.icon"}})],Wle);var Qle,qle=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};let Yle=Qle=class{constructor(){this._needsUpdate=!1}set NeedsUpdate(e){this._needsUpdate=e}static build(){const e=new Qle;return e.getRoot().click(e=>{Xce.PickMode=!Xce.PickMode,rce.update()}),e.update(),e}update(){return!Xce.IsActive||Xce.PickMode||Xce.IsPaused?(this.dispose(),!1):(this.getRoot().removeClass("dhmc-hidden"),!0)}buildDOM(){return this.getRoot()}dispose(){this.getRoot().addClass("dhmc-hidden")}};Yle=Qle=qle([_m({template:'\n        <div class="circular ui button icon dhmc-ui-button dhmc-info-button">\n            <i class="icon big expand"></i>\n        </div>\n    ',parentSelector:".dhmc-ui-controls"})],Yle);var Xle,Kle=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};let Zle=Xle=class{constructor(){this._needsUpdate=!1}set NeedsUpdate(e){this._needsUpdate=e}static build(){const e=new Xle;return e.getRoot().click(e=>{Xce.IsSnapMode||Xce.setSnapMode(!0).then(()=>{Xce.IsSnapMode&&setTimeout(()=>{upe.sendToApp("takeSnap"),rce.update()},1e3)})}),e.update(),e}update(){return Xce.IsActive&&Xce.IsPaused?(this.getRoot().removeClass("dhmc-hidden"),!0):(this.dispose(),!1)}buildDOM(){return this.getRoot()}dispose(){this.getRoot().addClass("dhmc-hidden")}};Zle=Xle=Kle([_m({template:'\n        <div class="circular ui button icon dhmc-ui-button dhmc-info-button">\n            <i class="icon big camera"></i>\n        </div>\n    ',parentSelector:".dhmc-ui-controls"})],Zle);var ece=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};let tce=class{constructor(){this.controls={},this.objects=null,this.controls={},this.initializeListeners()}get IsInitialized(){return!!this.getRoot()&&this.getRoot().children().length>0}initializeListeners(){$(document).ready(()=>{aI.addEvent("afterSceneLoaded",new oI(()=>{this.update()})),$le.addEventListener([ble.AFTER_ADD,ble.AFTER_REMOVE,ble.CLEAR,ble.AFTER_DELETE,ble.HANDLE],()=>{this.update()})})}initialBuildControls(){this.controls.moveDirXButton||(this.controls.moveDirXButton={domElement:Gle.build(Fp.X),needsAllowed:!0}),this.controls.moveDirZButton||(this.controls.moveDirZButton={domElement:Gle.build(Fp.Z),needsAllowed:!0}),this.controls.deleteButton||(this.controls.deleteButton={domElement:Ale.build()}),this.controls.clippingButton||(this.controls.clippingButton={domElement:Mle.build()}),this.controls.dimChangeButton||(this.controls.dimChangeButton={domElement:Nle.build()}),this.controls.menuButton||(this.controls.menuButton={domElement:Ule.build()}),this.controls.arPauseButton||(this.controls.arPauseButton={domElement:Wle.build()}),this.controls.arTakeSnapButton||(this.controls.arTakeSnapButton={domElement:Zle.build()}),this.controls.arScanButton||(this.controls.arScanButton={domElement:Yle.build()})}setIOSHINDMode(e){e?this.getRoot().addClass("IOS-HIND"):this.getRoot().removeClass("IOS-HIND")}update(e=!1){this.build(e)}updateControls(e,t){const r=Object.keys(this.controls);for(let n=r.length-1;n>=0;n--){const i=r[n],o=this.controls[i];o&&o.domElement&&(t&&(o.domElement.NeedsUpdate=!0),o.domElement.update(e))}}build(e){if(!Bde.DisableUIControls)return this.objects=$le.objects,this.updateControls(!1,e),this.objects.length>0&&ape.GetZDirectionAllow(this.objects).then(t=>{this.updateControls(t,e)}),this.IsInitialized||this.initialBuildControls(),this.getRoot()}dispose(){this.objects&&this.IsInitialized&&(Object.keys(this.controls).forEach(e=>{this.controls[e]&&this.controls[e].dispose()}),this.getRoot().empty(),this.objects=null)}addClass(e){this.getRoot().addClass(e)}removeClass(e){this.getRoot().removeClass(e)}setFullWindowCanvas(e){e?this.getRoot().addClass("full-window-canvas"):this.getRoot().removeClass("full-window-canvas")}};tce=ece([_m({template:'\n        <div class="ui segment dhmc-ui-controls"></div>\n    ',parentSelector:".renderMain"})],tce);const rce=new tce;var nce;!function(e){e[e.NONE=0]="NONE",e[e.LOCAL=1]="LOCAL",e[e.GLOBAL=2]="GLOBAL"}(nce||(nce={}));const ice=new class{constructor(){this._active=!1,this._offset=1600,this._normal=new br(1,0,0),this._distance=0,this._localPlanes=[],this._globalPlanes=[],Rm.on("ViewCutPlaneSetPlaneOn",e=>{if(e.enabled){if(e.wp1&&e.wp2){const t=e.wp1.slice();t[2]=9999,this.Normal=Cp.DHCalcNormal(t,e.wp2,e.wp1).toVector();const r=e.wp1.toVector().distanceTo(Dhe.TScene.position),n=Cp.DHAngle3D(e.wp1,e.wp2,Dhe.TScene.position.toArray(),Cp.GetVectorInZ().toArray());this._distance=Math.sin(n)*r}this.Offset=e.offset,this.add(nce.LOCAL)}else this.clear()}),Rm.on("ViewCutPlaneSetPlaneOffset",e=>{this.Offset=e.offset})}get LocalPlanes(){return this._localPlanes}get GlobalPlanes(){return this._globalPlanes}get Active(){return this._active}set Normal(e){this._normal.copy(e)}set Offset(e){this._offset=e,this.update()}clear(e=nce.NONE){this._active=!1,e!=nce.GLOBAL&&e!=nce.NONE||this._globalPlanes.splice(0,this._globalPlanes.length),e!=nce.LOCAL&&e!=nce.NONE||this._localPlanes.splice(0,this._localPlanes.length),rce.update()}add(e=nce.NONE,t=!0){t&&this.clear(e);const r=new hs(this._normal,this._offset+this._distance);e==nce.GLOBAL?this._globalPlanes.push(r):e==nce.LOCAL&&this._localPlanes.push(r),this._active=!0,rce.update()}isClipped(e){const t=[].concat(this._globalPlanes,this._localPlanes);return t.length>0&&t.every(function(t){return t.distanceToPoint(e)<0})}update(e=nce.NONE){const t=(()=>{switch(e){case nce.GLOBAL:return this._globalPlanes;case nce.LOCAL:return this._localPlanes;default:case nce.NONE:return[].concat(this._globalPlanes,this._localPlanes)}})();for(let e=0;e<t.length;e++){t[e].constant=this._offset+this._distance}}};function oce(e){return class extends e{constructor(){super(...arguments),this.excludedIntersections=[Fo,As],this._dummyMatrix=new xn}get RemoveOnSecondaryIntersection(){return!!this._removeOnSecondaryIntersection&&(this._removeOnSecondaryIntersection=!0)}get ParentVisible(){if(this.parent){if(this.parent.visible){const e=this.parent.ParentVisible;return"boolean"==typeof e?e:this.visible}return!1}return this.visible}checkExcludedIntersections(e){if(this.excludedIntersections)for(let t=e.length-1;t>=0;t--){const r=e[t].object||e[t];for(let n=0,i=this.excludedIntersections.length;n<i;n++)r instanceof this.excludedIntersections[n]&&e.splice(t,1)}return e}intersectBox(e){if(Bde.DepthSelection&&this.BBox3){if(this.setIntersected&&!this.setIntersected(!1)&&(this instanceof Jse||this instanceof Dme&&this.IsWallElement))return null;if((this._hiddenIntersectable||this.visible&&this.ParentVisible)&&!this.IsExcluded){if(!e)return null;let t=[];const r=e.ray.clone(),n=this._dummyMatrix.copy(this.parent.matrixWorld).invert(),i=new br;if(r.applyMatrix4(n).intersectBox(this.BBox3,i)&&this.hasVisibleGeometry&&this.hasVisibleGeometry()){i.applyMatrix4(this.parent.matrixWorld);const r={};r.distance=e.ray.origin.distanceTo(i),r.point=i,r.object=this,t=[r]}return this.intersectionReturnValue(t)}}return null}intersect(e){if(this.setIntersected&&!this.setIntersected(!1)&&(this instanceof Jse||this instanceof Dme&&this.IsWallElement))return null;if((this._hiddenIntersectable||this.visible&&this.ParentVisible)&&!this.IsExcluded){if(!e)return null;const t=[];return this._hiddenIntersectable&&!this.visible?this.intersectInvisibleObject(this,e,t,!0):this.intersectOnlyDirectGeometry(this,e,t),this.intersectionReturnValue(t)}return null}intersectInvisibleObject(e,t,r,n){if(e.raycast(t,r),!0===n){const i=e.children;for(let e=0,o=i.length;e<o;e++)this.intersectInvisibleObject(i[e],t,r,n)}}intersectOnlyDirectGeometry(e,t,r){let n=[];const i=e.children;for(let e=0,r=i.length;e<r;e++)i[e]instanceof Yi&&(t.firstHitOnly=!0,i[e].raycast(t,n)),i[e]instanceof mo&&this.intersectOnlyDirectGeometry(i[e],t,n);n=n.filter(e=>e.object.visible),r.splice(0),r.push(...n)}intersectionReturnValue(e){if(this._localExcludedIntersections&&(this.excludedIntersections=this._localExcludedIntersections),ice.Active)for(let t=e.length-1;t>=0;t--)ice.isClipped(e[t].point)&&e.splice(t,1);return(e=this.checkExcludedIntersections(e))&&e.length>0?{intersection:e[0],object:this}:null}}}var sce,ace=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};let lce=sce=class extends Yi{constructor(e,t,r){super(new Ka(+e[0]*E,+e[2]*E),new lu({color:new mi(1,1,1),metalness:0,transparent:!0,side:2,depthWrite:!1,depthTest:!1,map:sce._texture})),this.dispose=function(){Kre.remove(Vp.ARPlaneClass,this),this.geometry&&this.geometry.dispose(),this.material&&this.material.map&&this.material.map.dispose(),this.material&&this.material.dispose()},sce._texture?(this.material.map=sce._texture.clone(),this.material.map.needsUpdate=!0):Cue.TextureLoader.load("/images/floor/grid3.png",t=>{t.repeat.x=50*+e[0],t.repeat.y=50*+e[2],t.wrapS=t.wrapT=ye,t.version=1,sce._texture=t,this.material.map=sce._texture,this.material.map.needsUpdate=!0}),this.material.map&&(this.material.map.repeat.x=50*+e[0],this.material.map.repeat.y=50*+e[2]),this.geometry.applyMatrix4((new xn).makeRotationX(Math.PI/2)),this.matrixAutoUpdate=!1;const n=(new xn).fromArray(r);this.matrix.copy(n);const i=(new br).setFromMatrixPosition(this.matrix);if(i.set(i.x*E,i.y*E,i.z*E),i.set(i.x+t[0]*E,i.y+t[1]*E,i.z+t[2]*E),this.matrix.setPosition(i),this.matrix.scale(this.scale),this.matrix.premultiply((new xn).makeRotationFromEuler(new Rn(Math.PI/2,0,0))),Phe.ARDebugTools){const e=new iu(5e3*C);this.add(e)}Kre.remove(Vp.ARPlaneClass,{priority:zp.ARPlaneClass,object:this})}update(e,t,r){this.matrixAutoUpdate=!1;const n=(new xn).fromArray(r);this.matrix.copy(n);const i=(new br).setFromMatrixPosition(this.matrix);i.set(i.x*E,i.y*E,i.z*E),i.set(i.x+t[0]*E,i.y+t[1]*E,i.z+t[2]*E),this.scale.x=+e[0]*E,this.scale.z=+e[2]*E,this.matrix.setPosition(i),this.matrix.scale(this.scale),this.matrix.premultiply((new xn).makeRotationFromEuler(new Rn(Math.PI/2,0,0)))}};lce._texture=null,lce=sce=ace([oce],lce);const cce=lce;const uce=new class{constructor(){this.planes=new Map}add(e){return this.planesParent||(this.planesParent=new qn,this.planesParent.name="ARPLANES",this.planesParent.position.set(0,0,0),Dhe.add(this.planesParent)),e&&e.identifier?this.planes[e.identifier]?this.update(e):(this.planes[e.identifier]=new cce(e.extent,e.center,e.transform),this.updateScene(),this.planes[e.identifier]):null}remove(e){this.planes[e.identifier]&&(this.planesParent.remove(this.planes[e.identifier]),this.planes[e.identifier].dispose(),delete this.planes[e.identifier])}update(e){return e&&e.identifier?this.planes[e.identifier]?(this.planes[e.identifier].update(e.extent,e.center,e.transform),void this.updateScene()):this.add(e):null}updateScene(){this.planesParent.position.copy(Xce.HitPoint.clone().multiplyScalar(-1)),Object.keys(this.planes).forEach(e=>{-1===this.planesParent.children.indexOf(this.planes[e])&&this.planesParent.add(this.planes[e])})}getPlaneManager(){return this.planesParent}clear(e){Object.keys(this.planes).forEach(t=>{e&&0!==e.filter(e=>e.identifier===t).length||(this.planesParent.remove(this.planes[t]),this.planes[t].dispose(),delete this.planes[t])}),e||(this.planes=new Map)}hide(){this.planesParent&&(this.planesParent.visible=!1)}show(){this.planesParent&&(this.planesParent.visible=!0)}};const dce=new class{constructor(){this.anchors={}}add(e,t){if(this.anchors[e.uuid])return this.update(e,t);this.anchors[e.uuid]=e,this.anchors[e.uuid].matrixAutoUpdate=!1;const r=(new xn).fromArray(t.worldTransform).premultiply((new xn).makeRotationFromEuler(new Rn(Math.PI/2,0,0)));return this.anchors[e.uuid].position.setFromMatrixPosition(r),this.anchors[e.uuid]}remove(e,t){this.anchors[e.uuid]&&delete this.anchors[t.uuid]}update(e,t){if(!this.anchors[e.uuid])return this.add(e,t);this.anchors[e.uuid].matrix.fromArray(t.worldTransform),this.anchors[e.uuid].position.setFromMatrixPosition(this.anchors[e.uuid].matrix),this.anchors[e.uuid].position.set(this.anchors[e.uuid].position.x*E,this.anchors[e.uuid].position.y*E,this.anchors[e.uuid].position.z*E),this.anchors[e.uuid].matrix.setPosition(this.anchors[e.uuid].position)}clear(){Object.keys(this.anchors).forEach(e=>{this.anchors[e].dispose(),delete this.anchors[e]}),this.anchors={}}};const hce=new class extends Yre{constructor(){super("placer"),this.lastPlacerData=null,this.overrideMode=!1}preBegin(...e){return super.preBegin(...e)}begin(...e){if(!super.begin(e))return!1;const t=Mm.AddTimer("BeginPlacer");if(0===e.length)return!1;const r=e[0];return this.lastPlacerData=r,r.noMouse=!0,r.action="StartAction",r.vPlacerMode=Bde.VPlacer&&!r.preventVPlacer?1:0,Bde.PlacerDirection===Op.FREE&&(Bde.NoCameraInteractionMode=!0,Bde.PickMode=!1,Yse.InteractionMode=Pp.ELEMENT_MOVE,Zoe.removeSelectable(Vp.DHLOBase)),this._canSend=!1,ape.PlacerAction(r).then(e=>($le.clear(),"number"==typeof e&&(Bde.PlacerDirection,Op.FREE),this._canSend=!1,Bde.PlacerDirection===Op.FREE?(Xce.PlacerEnabled=Xce.IsActive,ape.MoveObjectAction({action:"StartAction",noMouse:!0,ISARMode:Xce.IsActive?1:0,VPlacer:Bde.VPlacer?1:0}).then(()=>(this._canSend=!0,Mm.EndTimer(t),e))):(1===lae.getPOIIs().length&&Bde.PlacerDirection!==Op.FREE&&Bde.CameraDefaultZoom&&aue.CurrentCamera.startZoom(),this.cancel(),Mm.EndTimer(t),e))).catch(()=>{Mm.EndTimer(t)})}update(...e){if(!super.update(e))return!1;Bde.VPlacer&&Xre.enter(),Xce.IsActive&&!0===e[1]?(this.overrideMode=!0,this.SendUpdate(fme.WIDTH/2,fme.HEIGHT/2)):(this.overrideMode=!1,this.SendUpdate())}end(...e){var t;if(!super.end(e))return!1;const r=Mm.AddTimer("EndPlacer");if(this.IsCleared)this.cancel();else{let e=Promise.resolve();Yse.clearSceneAction(!0),Bde.NoInteractionMode||Bde.PlacerDirection!==Op.FREE?e=!0===this.overrideMode?this.SendEnd(fme.WIDTH/2,fme.HEIGHT/2):this.SendEnd():(Bde.VPlacer&&Yse.IsVPlacerIntersection&&Yse.IntersectedVPlacer?(Yse.switchSceneAction("vplacer"),null===(t=Yse.SceneAction)||void 0===t||t.end()):e=!0===this.overrideMode?this.SendEnd(fme.WIDTH/2,fme.HEIGHT/2):this.SendEnd(),Bde.usePlacerDirectionTemporary=!1,Zoe.addSelectable(Vp.DHLOBase)),Bde.VPlacer||e.then(()=>{var e;this.lastPlacerData&&Bde.IsFurnplanMode&&Wp.getType()===Mp.DESKTOP&&($le.clear(),Yse.updateSceneAction("placer"),null===(e=Yse.SceneAction)||void 0===e||e.begin(this.lastPlacerData))}),Bde.PlacerDirection!==Op.FREE&&Bde.IsFurnplanMode&&FI.setMarkedElement(lae.getLastAddedIIs()),Bde.PickMode=!0,this.overrideMode=!1}Mm.EndTimer(r)}cancel(...e){if(!super.cancel(e))return!1;this.IsCleared=!1,this.lastPlacerData=null;const t=Mm.AddTimer("CancelPlacer");Bde.PlacerDirection===Op.FREE&&(Zoe.addSelectable(Vp.DHLOBase),this.SendCancel(),Bde.usePlacerDirectionTemporary=!1),$le.clear(),Yse.clearSceneAction(!0),Bde.PickMode=!0,Bde.NoCameraInteractionMode=!1,Bde.IsFurnplanMode&&FI.setMarkedElement(lae.getLastAddedIIs()),this.overrideMode=!1,Mm.EndTimer(t)}reset(...e){return super.reset(...e)}SendUpdate(e,t){this._canSend&&(this._canSend=!1,ape.PlacerAction({action:"UpdateAction",overridePos:e&&t?{x:e,y:t}:void 0}).then(()=>{this._canSend=!0}).catch(e=>{console.error(e),this._canSend=!0}))}SendEnd(e,t){return this._canSend=!1,ape.PlacerAction({action:"EndAction",overridePos:e&&t?{x:e,y:t}:void 0}).then(()=>(this._canSend=!0,Lse.NeedsUpdate="globalMeasureBox",!0)).catch(e=>(console.error(e),this._canSend=!0,!0))}SendCancel(){this._canSend=!1,ape.PlacerAction({action:"CancelAction"}).then(()=>{this._canSend=!0,Lse.NeedsUpdate="globalMeasureBox"}).catch(e=>{console.error(e),this._canSend=!0})}};var pce=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class mce{constructor(){this._camera=void 0,this.oldMatrix=new xn}get Camera(){return this._camera}get CameraControl(){return aue.CurrentCameraControl}getInitArticlePos(){const e=aue.CurrentCameraControl.Camera.position.toArray(),t=aue.CurrentCameraControl.Target.toArray(),r=Cp.DHGetVector(e,t),n=Cp.DHGoVector(e,3e3*C,r);return new br(n[0],n[1],0)}mouseOnNearPane(e,t){return this.mouseTo3D(e,t,-1)}mouseOnFarPane(e,t){return this.mouseTo3D(e,t,1)}mouseTo3D(e,t,r){if(!aue.CurrentCameraControl)return new br;r=r||.5;const n=new br;if(n.set(e/aue.CurrentCameraControl.DomElement.clientWidth*2-1,-t/aue.CurrentCameraControl.DomElement.clientHeight*2+1,r),!Xce.IsActive){let e=!0;for(let t=0;t<aue.CurrentCameraControl.Camera.matrixWorld.elements.length;t++)if(isNaN(aue.CurrentCameraControl.Camera.matrixWorld.elements[t])){e=!1;break}e?this.oldMatrix.copy(aue.CurrentCameraControl.Camera.matrixWorld):aue.CurrentCameraControl.Camera.matrixWorld.copy(this.oldMatrix)}return n.unproject(aue.CurrentCameraControl.Camera)}toScreenPosition(e){if(!aue.CurrentCameraControl||!e)return new fr;const t=new br,r=.5*aue.CurrentCameraControl.DomElement.clientWidth,n=.5*aue.CurrentCameraControl.DomElement.clientHeight;return t.set(e.x,e.y,e.z),t.project(aue.CurrentCameraControl.Camera),t.x=t.x*r+r,t.y=-t.y*n+n,new fr(t.x,t.y)}AddEvent(e,t,r=0){aue.CurrentCameraControl&&aue.CurrentCameraControl.TriggerEvents&&Array.isArray(aue.CurrentCameraControl.TriggerEvents)&&aue.CurrentCameraControl.TriggerEvents.push({func:e,from:t,mode:r})}RemoveEvent(e,t){if(aue.CurrentCameraControl&&aue.CurrentCameraControl.TriggerEvents&&Array.isArray(aue.CurrentCameraControl.TriggerEvents))for(let r=aue.CurrentCameraControl.TriggerEvents.length-1;r>=0;r--)aue.CurrentCameraControl.TriggerEvents[r].func===e&&aue.CurrentCameraControl.TriggerEvents[r].from===t&&aue.CurrentCameraControl.TriggerEvents.splice(r,1)}setSize(e,t){this.Camera instanceof lo&&(this.Camera.aspect=e/t),this.Camera.updateProjectionMatrix()}GoToPos(e){if(e.target){let t=0;if(Array.isArray(e.target)?t=e.target.reduceRight((e,t)=>e+t,0):e.target instanceof br&&(t=e.target.length()),isNaN(t)||!isFinite(t)||!t)return void console.warn("Invalid target camera position",e.target)}if(Mme.CamAniClock.running&&(Mme.CamAniClock.stop(),Mme.CamAniClock.waitCB&&Mme.CamAniClock.waitCB()),!Xce.IsActive&&!wse.IsEnabled){if(e.animated=void 0===e.animated||e.animated,!(null!=e.preventOffset&&0!=e.preventOffset||isNaN(Bde.CameraDepthOffset)&&isNaN(e.offset))){const t=Cp.DHGetVector(e.eye,e.target),r=Cp.DHGoVector(e.eye,(+e.offset||+Bde.CameraDepthOffset)*C,t,!0);e.eye=r.slice()}e.animated?(this._camera.TargetPos=e.target,this._camera.EyePos=e.eye,Mme.StartNewCamPosByAnimation(e.eye,e.target,e.endTime,e.waitCB)):(aue.CurrentCameraControl.Camera.position.set(e.eye[0],e.eye[1],e.eye[2]),aue.CurrentCameraControl.Target.set(e.target[0],e.target[1],e.target[2]),e.waitCB&&e.waitCB())}}ZoomIn(){}ZoomOut(){}startZoom(e,t,r){}RotateAroundCenter(e,t,r=!0,n=1e3){}Pan(e,t){}resetByVector(e){return pce(this,void 0,void 0,function*(){if(lae.CountPO()){const t=aue.CurrentCameraControl.Camera.position,r=aue.CurrentCameraControl.Target,n=Cp.DH2Vector3(Cp.DHGetVector(t,r));yield ape.setZoomMode(iue.Front,e,{type:1,param1:0,param2:-n.x,param3:-n.y,param4:-n.z})}})}}class _ce extends lo{constructor(){super(45,fme.WIDTH/fme.HEIGHT,5*C,5e4*C),this.isARPerpsectiveCamera=!0}copy(e,t){return qn.prototype.copy.call(this,e,t),this.matrixWorldInverse.copy(e.matrixWorldInverse),this.projectionMatrix.copy(e.projectionMatrix),this}updateMatrixWorld(){}updateProjectionMatrix(){super.updateProjectionMatrix()}getProjectionMatrix(){return this.projectionMatrix}update(e){this.projectionMatrix.fromArray(e.projection),this.matrixWorldInverse.fromArray(e.viewMatrixInverse);const t=new br,r=new vr,n=new br;this.matrixWorldInverse.decompose(t,r,n),t.multiplyScalar(1e3*C),this.matrixWorldInverse.identity(),this.matrixWorldInverse.multiply((new xn).makeTranslation(t.x,t.y,t.z)),this.matrixWorldInverse.multiply((new xn).makeRotationFromQuaternion(r)),this.matrixWorldInverse.multiply((new xn).makeTranslation(Xce.HitPoint.x||1,Xce.HitPoint.y||1,Xce.HitPoint.z||1)),this.matrixWorldInverse.multiply((new xn).makeScale(n.x,n.y,n.z)),this.matrixWorld.copy(this.matrixWorldInverse).invert(),Yse.SceneAction&&Yse.SceneAction===hce&&Xce.PlacerEnabled?Yse.SceneAction.update(null,!0):Yse.SceneAction&&Yse.onMove()}clone(){return(new this.constructor).copy(this)}}const gce=class extends mce{constructor(){super(),this._camera=new _ce}GoToStart(){}};var fce;!function(e){e[e.NONE=0]="NONE",e[e.LEFT=1]="LEFT",e[e.RIGHT=2]="RIGHT",e[e.UP=3]="UP",e[e.DOWN=4]="DOWN"}(fce||(fce={}));class vce{constructor(e){this._data=[],this._data=e?e.slice():[]}get Data(){return this._data}get x(){return this._data[0]||0}set x(e){this._data[0]=e}get y(){return this._data[1]||0}set y(e){this._data[1]=e}get z(){return this._data[2]||0}set z(e){this._data[2]=e}get length(){return this._data.length}static GetVector(e,t){let r=new vce;if(e.length===t.length){for(let n=0;n<e.length;n++)r.push(t.Data[0]-e.Data[0]);r=vce.NormalizeVector(r)}return r}static NormalizeVector(e){let t=0;for(let r=0;r<e.length;r++)t+=e.Data[r]*e.Data[r];let r=Math.sqrt(t);if(0!=r){r=1/r;for(let t=0;t<e.length;t++)e.Data[t]*=r}return e}static Equal(e,t,r){for(let n=0;n<e.length;n++)if(!Cp.DHEqual(e.Data[n],t,r))return!1;return!0}check(e){for(let t=0;t<this.length;t++)Math.abs(this.Data[t])>e&&(this.Data[t]<0?this.Data[t]=-1*e:this.Data[t]=e);return this}clone(){return new vce(this._data.slice())}add(e){for(let t=0;t<this.length;t++)isNaN(e.Data[t])||(this.Data[t]+=e.Data[t]);return this}sub(e){for(let t=0;t<this.length;t++)isNaN(e.Data[t])||(this.Data[t]-=e.Data[t]);return this}multiply(e){for(let t=0;t<this.length;t++)isNaN(e.Data[t])||(this.Data[t]*=e.Data[t]);return this}divideScalar(e){if(!isNaN(e))for(let t=0;t<this.length;t++)this.Data[t]/=e;return this}multiplyScalar(e){if(!isNaN(e))for(let t=0;t<this.length;t++)this.Data[t]*=e;return this}negate(e){if(isNaN(e)||isNaN(this._data[e]))for(let e=0;e<this.length;e++)this._data[e]*=-1;else this._data[e]*=-1;return this}push(e){this._data.push(e)}right(e){if(e)for(let t=0;t<this.length;t++)isNaN(e.Data[t])||(e.Data[t]<0&&this._data[t]>0||e.Data[t]>0&&this._data[t]<0)&&(this._data[t]*=-1)}}class bce{constructor(e){this._hasEnd=!1,this._pointList=new Array,this._changedDirection=new Array,this._lastPoint=new vce,this._directionX=fce.NONE,this._directionY=fce.NONE,this._registerDelay=10,this._speed=new vce,this._resistance=.2,this._maxSpeed=4.5,e=e||{},this._registerDelay=e.delay||10,this._lastTimeStamp=Date.now()}get RegisterDelay(){return this._registerDelay}set RegisterDelay(e){this._registerDelay=e}calcSpeed(e,t){const r=e.clone(),n=t.clone(),i=e.clone();i.add(n).divideScalar(2).sub(r).divideScalar(this._registerDelay).add(this._speed).divideScalar(2),this._speed=i.clone()}addPoint(e){this._endTimer&&(clearInterval(this._endTimer),this._endTimer=null),e&&(this._lastTimeStamp&&Date.now()-this._lastTimeStamp>this._registerDelay?(this.checkDirection(e)&&(this._speed=new vce,this._changedDirection.push(this._pointList.length),this.clearPointsIfNecessary()),this._pointList.push(e),this.calcSpeed(this._lastPoint,e),this._lastPoint=this._pointList[this._pointList.length-1],this._lastTimeStamp=Date.now()):this.checkDirection(e)&&(this._speed=new vce,this._changedDirection.push(this._pointList.length),this.clearPointsIfNecessary(),this._pointList.push(e),this.calcSpeed(this._lastPoint,e),this._lastPoint=this._pointList[this._pointList.length-1]))}end(e,t){this._hasEnd||(this._hasEnd=!0),this._endTimer&&(clearInterval(this._endTimer),this._endTimer=null),this._speed.check(this._maxSpeed);const r=this._lastPoint.clone();let n=this._pointList[this._pointList.length-2];if(!n||!r||!e||2===this._pointList.length&&this._pointList[0].Data.equals(this._pointList[1].Data))this.clear();else{const i=vce.GetVector(n,r);this._endTimer=setInterval(()=>{if(this._pointList.length>1){const o=r.clone().sub(n).multiply(this._speed).multiplyScalar(this._resistance);n=r.clone(),r.add(o),o.right(i),this._speed.x>0&&this._speed.y<0||this._speed.x<0&&this._speed.y>0||o.negate(1),o.z&&(o.z*=-1),e(o.negate(0)),vce.Equal(o,0,1e-6)&&(this.clear(),t&&t())}},10)}}stop(){this.clear()}checkDirection(e){const t=this._directionX,r=this._directionY;return this._directionX=Cp.DHEqual(e.x,this._lastPoint.x,10)?t:e.x<this._lastPoint.x?this._directionX=fce.LEFT:fce.RIGHT,this._directionY=Cp.DHEqual(e.y,this._lastPoint.y,10)?r:e.y<this._lastPoint.y?this._directionY=fce.DOWN:fce.UP,!(t===fce.NONE||r===fce.NONE||t===this._directionX&&r===this._directionY)}clearPointsIfNecessary(){if(this._changedDirection.length>1){const e=this._changedDirection[0];this._pointList.splice(0,e),this._changedDirection.splice(0,1),this._changedDirection[0]-=e,this._speed=new vce}}clear(){this._hasEnd=!1,this._directionX=fce.NONE,this._directionY=fce.NONE,this._lastPoint=new vce,this._speed=new vce,this._pointList=[],this._endTimer&&(clearInterval(this._endTimer),this._endTimer=null)}}const yce=new class{constructor(){this._speedLineMap=new Map}stopAll(){Object.values(this._speedLineMap).forEach(e=>{e.stop()})}addOrGet(e,t){return this._speedLineMap[e]||(this._speedLineMap[e]=new bce({delay:t})),t&&(this._speedLineMap[e].delay_=t),this._speedLineMap[e]}};var $ce=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s},xce=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};let Sce=class extends HTMLElement{get Info(){return this._currentThemeListInfo}get Loaded(){return this._loaded}set OnDisable(e){this._onDisable=e}set OnSave(e){this._onSave=e}set OnAdd(e){this._onAdd=e}set OnRemove(e){this._onRemove=e}constructor(){super(),this._loaded=!1,this._fixedCameraCheckbox=null,this._nameInput=null,this._themeSelect=null,this._saveButton=null,this._addButton=null,this._removeButton=null,this._changeSideButton=null,this._currentThemeListInfo={name:"",id:""},this._globalThemeContainer=null,this._globalThemeCheckbox=null,this._onAdd=()=>{},this._onRemove=()=>{},this._onDisable=()=>{},this._onSave=()=>{}}connectedCallback(){this._fixedCameraCheckbox=this.shadowRoot.querySelector("#fixedCamera"),this._nameInput=this.shadowRoot.querySelector("#name"),this._themeSelect=this.shadowRoot.querySelector("#themes"),this._saveButton=this.shadowRoot.querySelector("#save"),this._addButton=this.shadowRoot.querySelector("#add"),this._removeButton=this.shadowRoot.querySelector("#remove"),this._changeSideButton=this.shadowRoot.querySelector("#changeSide"),this._globalThemeContainer=this.shadowRoot.querySelector("#globalThemeContainer"),this._globalThemeCheckbox=this.shadowRoot.querySelector("#globalTheme"),this.initializeEvents()}setSaveState(e){e?this._saveButton.classList.remove("disabled"):this._saveButton.classList.add("disabled")}reset(){this._nameInput.value="",this._themeSelect.selectedIndex=0,this._themeSelect.options[0].selected=!0}appendTheme(e,t=!1){const r=document.createElement("option");e?(r.value=e.theme.id,r.textContent=e.theme.name):(r.value="__RESET__",r.textContent="Disabled"),this._themeSelect.appendChild(r),t&&(this._themeSelect.selectedIndex=this._themeSelect.options.length-1,this._themeSelect.dispatchEvent(new Event("change")))}loadThemes(){return xce(this,void 0,void 0,function*(){this.appendTheme(null,!0);(yield Mse.getThemes()).forEach((e,t)=>{this.appendTheme(e)}),this._themeSelect.selectedIndex=0})}initializeEvents(){const e=()=>xce(this,void 0,void 0,function*(){"complete"===document.readyState&&(yield this.loadThemes(),Mse.IsGlobal||this._globalThemeContainer.remove(),document.removeEventListener("readystatechange",e))});document.addEventListener("readystatechange",e),this._fixedCameraCheckbox.addEventListener("change",()=>{wse.IsBackend=!this._fixedCameraCheckbox.checked}),this._changeSideButton.addEventListener("click",()=>{wse.Side=wse.Side===Sse.LEFT?Sse.RIGHT:Sse.LEFT,wse.update()}),this._nameInput.addEventListener("change",()=>{this._themeSelect.selectedOptions[0].textContent=this._nameInput.value,this._currentThemeListInfo.name=this._nameInput.value}),this._themeSelect.addEventListener("change",()=>{this.onChange()}),this._saveButton.addEventListener("click",()=>{this.onSave()}),this._addButton.addEventListener("click",()=>{this.onAdd()}),this._removeButton.addEventListener("click",()=>{this.onRemove()})}setLoadedState(e){var t,r;this._fixedCameraCheckbox.checked=!wse.IsBackend,this._loaded=e,this._loaded?(this._nameInput.classList.remove("disabled"),null===(t=this._globalThemeCheckbox)||void 0===t||t.classList.remove("disabled"),this._removeButton.classList.remove("disabled"),this._fixedCameraCheckbox.parentElement.classList.remove("disabled"),this._changeSideButton.classList.remove("disabled"),Oce.Body.ImageComponent.classList.remove("disabled")):(this._fixedCameraCheckbox.parentElement.classList.add("disabled"),this._nameInput.classList.add("disabled"),null===(r=this._globalThemeCheckbox)||void 0===r||r.classList.add("disabled"),this._removeButton.classList.add("disabled"),this._changeSideButton.classList.add("disabled"),Oce.Body.ImageComponent.classList.add("disabled"))}onAdd(){this._onAdd(),this._nameInput.value="New Theme",this._currentThemeListInfo={id:zme.generateUUID(),name:this._nameInput.value},this.setLoadedState(!0),wse.disable()}onRemove(){return xce(this,void 0,void 0,function*(){const e=yield Mse.getThemes(),t=this._themeSelect.selectedOptions[0].value,r=this._themeSelect.selectedIndex;if(e.has(t)){const n=e.get(t);this._onRemove(n._id),e.delete(t),this._themeSelect.options.remove(r),this._themeSelect.selectedIndex=0,this.setLoadedState(!1)}wse.disable()})}onChange(){return xce(this,void 0,void 0,function*(){const e=yield Mse.getThemes(),t=this._themeSelect.selectedOptions[0].value;if("__RESET__"===t)this._onDisable(),wse.disable(),this.setLoadedState(!1);else if(e.has(t)){const r=e.get(t);Mse.IsGlobal&&this._globalThemeCheckbox&&(this._globalThemeCheckbox.checked=!!r.isGlobal),Oce.Body.resetUI(!1,!r.image.name),this._currentThemeListInfo=r.theme,this._nameInput.value=r.theme.name,Oce.Body.setTheme(r),this.setLoadedState(!0)}})}onSave(){return xce(this,void 0,void 0,function*(){Nhe.showLoader(),this.classList.add("disabled"),this.setLoadedState(!1),this._onSave(!0);const e=yield Mse.getThemes(),t=new FormData,r=Oce.HRInfo,n=r.theme.id,i=e.get(n);r._id=i._id;const o=r.image.buffer;r.image.buffer=void 0,e.set(n,r),this._globalThemeCheckbox.checked&&t.append("isGlobal",this._globalThemeCheckbox.checked?"1":"0"),t.append("bodyData",JSON.stringify(r)),t.append("buffer",o);let s="/hr-theme",a=!1;r._id&&(a=!0,s+=`/${r._id}`),kre.postFormData(s,t).then(t=>{const r=e.get(n);a||(r._id=t.data._id),t.data._id&&(r.image.name=t.data.image.name),e.set(n,r),this.setLoadedState(!0),this._onSave(!1),this.classList.remove("disabled"),Nhe.hideLoader()})})}};Sce=$ce([_se({selector:"hr-theme-list",template:'\n        <select id="themes"></select>\n        <div id="globalThemeContainer" class="container">\n            <label>Global Theme</label>\n            <input id="globalTheme" type="checkbox" class="disabled">\n        </div>\n        <div class="container">\n            <label>Name:</label>\n            <input id="name" type="text" class="disabled">\n        </div>\n        <div class="add_remove_buttons">\n            <button id="add">+</button>\n            <button id="remove" class="disabled">-</button>\n        </div>\n        <button id="save" class="disabled">Save</button>\n        \n        <div class="container">\n            <label>Client Modus</label>\n            <input type="checkbox" id="fixedCamera" checked>\n        </div>\n        <div class="container">\n            <button id="changeSide">Change Side</button>\n        </div>\n    '})],Sce);var wce=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s},Ace=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};let Cce=class extends HTMLElement{set onImageLoaded(e){this._onImageLoaded=e}get Loaded(){return this._isLoaded}get Info(){return{buffer:this._currentImageBlob,name:this._fileName,fileType:this._fileType}}constructor(){super(),this._isLoaded=!1,this._previewImage=null,this._imageInput=null,this._loadButton=null,this._currentImageBlob=null,this._fileType="",this._fileName="",this._onImageLoaded=()=>{}}connectedCallback(){this._previewImage=this.shadowRoot.querySelector("#preview-image"),this._imageInput=this.shadowRoot.querySelector("input"),this._loadButton=this.shadowRoot.querySelector("button"),this.reset(),this.initializeEvents()}reset(){this._isLoaded=!1,this._previewImage.style.backgroundImage="",this._fileType="",this._fileName="",this._imageInput.value="",this._currentImageBlob=null}initializeEvents(){this._loadButton.addEventListener("click",()=>this.onImageLoad()),this._imageInput.addEventListener("change",e=>Ace(this,void 0,void 0,function*(){this._fileName="";const t=e.target.files[0];yield this.readFileToBlob(t)}))}onImageLoad(e){this._imageInput.click()}getBlobFromImg(e){return new Promise((t,r)=>{if(e instanceof HTMLImageElement){const r=document.createElement("canvas");r.style.display="none",document.body.appendChild(r),r.width=e.width,r.height=e.height;r.getContext("2d").drawImage(e,0,0),r.toBlob(e=>t(e),this._fileType)}})}readFileToBlob(e){return Ace(this,void 0,void 0,function*(){let t=e;e instanceof HTMLImageElement&&(t=yield this.getBlobFromImg(e));const r=new FileReader;r.onload=e=>{this._currentImageBlob=new Blob([e.target.result],{type:this._fileType}),this.loadImage({name:URL.createObjectURL(this._currentImageBlob),fileType:t.type})},r.readAsArrayBuffer(t)})}loadImage(e){const t=e.name&&/^blob:/.test(e.name);if(this._fileType=e.fileType,t||(this._fileName=e.name),e.name){const r=new Image;r.onload=()=>Ace(this,void 0,void 0,function*(){if(t){URL.revokeObjectURL(e.name),this._isLoaded=!0,this._previewImage.style.backgroundImage="url("+r.src+")";const t=Oce.HRInfo;wse.enable({camera:t.camera,image:{name:r.src,fileType:this._fileType||t.image.fileType},theme:t.theme,lights:t.lights,roomSize:t.roomSize,_id:t._id,previewImageFile:t.previewImageFile}),this._onImageLoaded()}else yield this.readFileToBlob(r)}),r.src=t?e.name:dpe.get("/hr-image/"+Oce.HRInfo.theme.id)}}};Cce=wce([_se({selector:"hr-image",template:'\n        <h2>Image</h2>\n        <div class="container">\n            <div id="preview-image">\n                \n            </div>\n            <input type="file" hidden="true">\n            <button>Load</button>\n        </div>\n    '})],Cce);var Ece=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};let Ice=class extends HTMLElement{constructor(){super(),this._input=null,this._label=null,this._text="",this._value=""}connectedCallback(){this._label=this.shadowRoot.querySelector("label"),this._input=this.shadowRoot.querySelector("input"),this._label.textContent=this._text,this._input.value=this._value}setLabel(e){return this._text=e,this._label&&(this._label.textContent=e),this}get value(){return+this._input.value}set value(e){this._value=e,this._input&&(this._input.value=e)}addEventListener(e,t,r){return this._input.addEventListener(e,t,r)}};Ice=Ece([_se({selector:"hr-input",template:'\n    <div>\n        <label></label>\n        <input type="number" value="0.0" step="0.1"/>\n    </div>\n    '})],Ice);var Mce=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};let kce=class extends HTMLElement{get Info(){return this._lights}constructor(){super(),this._lights={},this._addButton=null,this._removeButton=null,this._lightName=null,this._castShadow=null,this._lightSelect=null,this._lightParameter=null,this._position={},this._intensity=null}connectedCallback(){this._castShadow=this.shadowRoot.querySelector("#cast-shadow"),this._lightName=this.shadowRoot.querySelector("#light-name"),this._lightSelect=this.shadowRoot.querySelector("#lights"),this._lightParameter=this.shadowRoot.querySelector("#light-parameters");const e=this.shadowRoot.querySelector("#position");this._addButton=this.shadowRoot.querySelector("#add"),this._removeButton=this.shadowRoot.querySelector("#remove"),this._intensity=this.shadowRoot.querySelector("#intensity"),this._position.x=(new Ice).setLabel("x:"),this._position.y=(new Ice).setLabel("y:"),this._position.z=(new Ice).setLabel("z:"),e.appendChild(this._position.x),e.appendChild(this._position.y),e.appendChild(this._position.z),this.initializeEvents()}reset(){this._lightName.value="",this._lightSelect.innerHTML="",this._lights={},this._castShadow.checked=!1,this._position.x.value=-2e3,this._position.y.value=-2e3,this._position.z.value=5e3,this._intensity.value=1}initializeEvents(){const e=()=>{this.updateLightPosition()};this._addButton.addEventListener("click",()=>this.addLight()),this._removeButton.addEventListener("click",()=>this.removeLight()),this._lightSelect.addEventListener("change",()=>this.changeLightSelection()),this._castShadow.addEventListener("change",e),this._intensity.addEventListener("change",e),this._lightName.addEventListener("change",e),this._position.x.addEventListener("change",e),this._position.y.addEventListener("change",e),this._position.z.addEventListener("change",e)}updateLightPosition(){const e=this._lights[this._lightSelect.selectedOptions[0].value];e.castShadow=this._castShadow.checked,e.name=this._lightName.value,this._lightSelect.selectedOptions[0].textContent=this._lightName.value,e.position.x=this._position.x.value,e.position.y=this._position.y.value,e.position.z=this._position.z.value,e.intensity=this._intensity.value,wse.updateLight(e)}changeLightSelection(){this.updateLightInfo()}updateLightInfo(){if(0===this._lightSelect.options.length)this._lightParameter.classList.add("hidden");else{this._lightParameter.classList.remove("hidden");const e=this._lights[this._lightSelect.selectedOptions[0].value];this._castShadow.checked=e.castShadow,this._lightName.value=e.name,this._position.x.value=e.position.x,this._position.y.value=e.position.y,this._position.z.value=e.position.z,this._intensity.value=e.intensity||1}}addLight(e){const t=document.createElement("option");t.textContent=e?e.name:"Light-"+(this._lightSelect.options.length+1),this._lightName.value=t.textContent,t.value=e?e.uuid:zme.generateUUID(),this._lightSelect.options.add(t),this._lightSelect.selectedIndex=this._lightSelect.options.length-1,this._castShadow.checked=!e||e.castShadow,this._position.x.value=e?e.position.x:-2e3,this._position.y.value=e?e.position.y:-2e3,this._position.z.value=e?e.position.z:5e3,this._intensity.value=e?e.intensity:1;const r={uuid:t.value,name:this._lightName.value,position:{x:this._position.x.value,y:this._position.y.value,z:this._position.z.value},castShadow:this._castShadow.checked,intensity:this._intensity.value};this._lights[t.value]=r,this.updateLightInfo(),wse.addLight(r)}removeLight(){if(this._lightSelect.selectedIndex>=0){let e=this._lightSelect.selectedIndex;if(-1!==e){const t=this._lightSelect.selectedOptions[0].value;wse.removeLight(t),delete this._lights[t],this._lightSelect.options.remove(e),e--,-1===e&&this._lightSelect.options.length>0&&(e=0),this._lightSelect.selectedIndex=e,this.updateLightInfo()}}}clear(){wse.removeLight(),this._lightSelect.innerHTML="",this._lights={}}loadLights(e){this.clear(),e&&Object.values(e).forEach(e=>{this.addLight(e)})}};kce=Mce([_se({selector:"hr-lights",template:'\n        <h2>Lights</h2>\n        <div class="container">\n            <select id="lights">\n            </select>\n        </div>\n        <div class="add_remove_buttons">\n            <div>\n                <button id="add">+</button>\n            </div>\n            <div>\n                <button id="remove">-</button>\n            </div>\n        </div>\n        <div id="light-parameters" class="hidden">\n            <div class="container">\n                <label>Name</label>\n                <input id="light-name" type="text" value="Light 1" />\n            </div>\n            <div class="container">\n                <label>Cast Shadow</label>\n                <input id="cast-shadow" type="checkbox" checked/>\n            </div>\n            <div class="container">\n                <label>Intensity:</label>\n                <input id="intensity" type="number" max="4.0" min="0.01" step="0.01"/>\n            </div>\n            <div class="container" id="position">\n                <h3>Position</h3>\n            </div>\n        </div>\n    '})],kce);var Tce=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s},Rce=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};let Lce=class extends HTMLElement{get Info(){return this._cameraInfo}constructor(){super(),this._initializedCameraInputEvent=!1,this._position={},this._target={},this._fovInput=null,this._cameraInfo=null}connectedCallback(){return Rce(this,void 0,void 0,function*(){this._fovInput=this.shadowRoot.querySelector("#fov");const e=this.shadowRoot.querySelector("#position"),t=this.shadowRoot.querySelector("#target");e&&t&&(this._position.x=(new Ice).setLabel("x:"),this._position.y=(new Ice).setLabel("y:"),this._position.z=(new Ice).setLabel("z:"),this._target.x=(new Ice).setLabel("x:"),this._target.y=(new Ice).setLabel("y:"),this._target.z=(new Ice).setLabel("z:"),e.appendChild(this._position.x),e.appendChild(this._position.y),e.appendChild(this._position.z),t.appendChild(this._target.x),t.appendChild(this._target.y),t.appendChild(this._target.z),this.initializeEvents())})}reset(){this._cameraInfo={position:{x:0,y:0,z:0},target:{x:0,y:0,z:0},fov:45},this._cameraInfo.position.x=this._position.x.value=0,this._cameraInfo.position.y=this._position.y.value=0,this._cameraInfo.position.z=this._position.z.value=0,this._cameraInfo.target.x=this._target.x.value=0,this._cameraInfo.target.y=this._target.y.value=0,this._cameraInfo.target.z=this._target.z.value=0,this._cameraInfo.fov=this._fovInput.value=45}initializeEvents(){this._position.x.addEventListener("change",()=>{this.inputValueChanged("position.x",this._position.x)}),this._position.y.addEventListener("change",()=>{this.inputValueChanged("position.y",this._position.y)}),this._position.z.addEventListener("change",()=>{this.inputValueChanged("position.z",this._position.z)}),this._target.x.addEventListener("change",()=>{this.inputValueChanged("target.x",this._target.x)}),this._target.y.addEventListener("change",()=>{this.inputValueChanged("target.y",this._target.y)}),this._target.z.addEventListener("change",()=>{this.inputValueChanged("target.z",this._target.z)}),this._fovInput.addEventListener("change",()=>{this.inputValueChanged("fov",this._fovInput)})}updateCameraInputs(){return Rce(this,void 0,void 0,function*(){if(yield aue.Loaded,!Oce.ThemeLoaded)return this.reset(),null;if(!Oce.ImageLoaded)return null;this._initializedCameraInputEvent||(this._initializedCameraInputEvent=!0,aue.CurrentCameraControl.addEventListener("onDirty",()=>{this.updateCameraInputs()}));const e=fle.CalcCenterBackBottomPoint();this.updateCamera({position:{x:+aue.CurrentCameraControl.Camera.position.x-e.x,y:+aue.CurrentCameraControl.Camera.position.y-e.y,z:+aue.CurrentCameraControl.Camera.position.z},target:{x:+aue.CurrentCameraControl.Target.x-e.x,y:+aue.CurrentCameraControl.Target.y-e.y,z:+aue.CurrentCameraControl.Target.z},fov:+aue.CurrentCameraControl.Camera.fov})})}updateCamera(e){e&&(this._cameraInfo.position.x=this._position.x.value=e.position.x,this._cameraInfo.position.y=this._position.y.value=e.position.y,this._cameraInfo.position.z=this._position.z.value=e.position.z,this._cameraInfo.target.x=this._target.x.value=e.target.x,this._cameraInfo.target.y=this._target.y.value=e.target.y,this._cameraInfo.target.z=this._target.z.value=e.target.z,this._cameraInfo.fov=this._fovInput.value=e.fov),wse.Theme&&wse.SetAspect()}inputValueChanged(e,t){const r=e.split(".");let n=0,i=this._cameraInfo;for(;r.length>n+1;)i=i[r[n]],n++;i[r[n]]=+t.value,this.updateCamera()}};Lce=Tce([_se({selector:"hr-camera",template:'\n        <h2>Camera</h2>\n        <div class="container" id="position">\n            <h3>Position</h3>\n        </div>\n        <div class="container" id="target">\n            <h3>Target</h3>\n        </div>\n        <div class="container">\n            <label>Field Of View</label>\n            <input id="fov" type="number" value="0.0"/>\n        </div>\n    '})],Lce);var Pce=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};let Dce=class extends HTMLElement{get Info(){return{x:this._size.x.value,y:this._size.y.value,z:this._size.z.value}}constructor(){super(),this._size={},this._roomSize=null}connectedCallback(){this._roomSize=this.shadowRoot.querySelector("#roomSize"),this._size.x=(new Ice).setLabel("width:"),this._size.z=(new Ice).setLabel("height:"),this._size.y=(new Ice).setLabel("depth:"),this._roomSize.appendChild(this._size.x),this._roomSize.appendChild(this._size.z),this._roomSize.appendChild(this._size.y),this.reset(),this.initializeEvents()}reset(){this._size.x.value=wse.BoxSize.x,this._size.y.value=wse.BoxSize.y,this._size.z.value=wse.BoxSize.z}initializeEvents(){this._size.x.addEventListener("change",()=>{this.setBoxSize()}),this._size.y.addEventListener("change",()=>{this.setBoxSize()}),this._size.z.addEventListener("change",()=>{this.setBoxSize()})}setBoxSize(e){e&&(this._size.x.value=e.x,this._size.y.value=e.y,this._size.z.value=e.z),wse.SetBoxSize(this._size.x.value,this._size.y.value,this._size.z.value),wse.createGeometries()}};Dce=Pce([_se({selector:"hr-room-setting",template:'\n    <div class="container" id="roomSize">\n        <h3>Room Setup</h3>\n    </div>\n    '})],Dce);var Nce=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};let Fce=class extends HTMLElement{get ThemeListComponent(){return this._themeListComponent}get ImageComponent(){return this._imageComponent}get LightsComponent(){return this._lightsComponent}get CameraComponent(){return this._cameraComponent}get RoomSettingComponent(){return this._roomSettingComponent}get Info(){return{theme:this.ThemeListComponent.Info,camera:this.CameraComponent.Info,lights:this.LightsComponent.Info,image:this.ImageComponent.Info,roomSize:this.RoomSettingComponent.Info}}constructor(){super(),this._settings=null,this._themeListComponent=null,this._imageComponent=null,this._lightsComponent=null,this._cameraComponent=null,this._roomSettingComponent=null}connectedCallback(){this._themeListComponent=this.shadowRoot.querySelector("hr-theme-list"),this._imageComponent=this.shadowRoot.querySelector("hr-image"),this._lightsComponent=this.shadowRoot.querySelector("hr-lights"),this._cameraComponent=this.shadowRoot.querySelector("hr-camera"),this._roomSettingComponent=this.shadowRoot.querySelector("hr-room-setting"),this.initializeEvents()}resetUI(e=!0,t=!0){this._settings=this.shadowRoot.querySelector("#settings"),this._imageComponent.reset(),this._lightsComponent.reset(),this._cameraComponent.reset(),this._roomSettingComponent.reset(),t&&(this._themeListComponent.setSaveState(!1),this._settings.classList.add("disabled"),wse.disable()),e&&this._themeListComponent.reset()}initializeEvents(){this._imageComponent.onImageLoaded=()=>{this._settings.classList.remove("disabled"),this._themeListComponent.setSaveState(!0)},this._themeListComponent.OnAdd=()=>{this.resetUI();const e=Mse.createTheme();this._themeListComponent.appendTheme(e,!0)},this._themeListComponent.OnRemove=e=>{this._themeListComponent.setSaveState(!1),this.resetUI(),e&&kre.delete(`/hr-theme/${e}`)},this._themeListComponent.OnDisable=()=>{this._themeListComponent.setSaveState(!1),this.resetUI()},this._themeListComponent.OnSave=e=>{e?this._settings.classList.add("disabled"):this._settings.classList.remove("disabled")}}setTheme(e){this._cameraComponent.updateCamera(e.camera),this._lightsComponent.loadLights(e.lights),this._roomSettingComponent.setBoxSize(e.roomSize),this._imageComponent.loadImage(e.image)}};Fce=Nce([_se({selector:"hr-body-backend",template:'\n        <hr-theme-list></hr-theme-list>\n        \n        <hr-image class="disabled"></hr-image>\n        <div id="settings" class="disabled">\n            <hr-room-setting></hr-room-setting>\n            <hr-camera></hr-camera>\n            <hr-lights></hr-lights>\n        </div>\n    '})],Fce);const Oce=new class{constructor(){this._body=null}get Body(){return this._body||(this._body=document.querySelector("hr-body-backend")),this._body}get ThemeLoaded(){return this.Body.ThemeListComponent.Loaded}get ImageLoaded(){return this.Body.ImageComponent.Loaded}get HRInfo(){return this.Body.Info}};var Bce;!function(e){e[e.NONE=-1]="NONE",e[e.ROTATE=0]="ROTATE",e[e.DOLLY=1]="DOLLY",e[e.PAN=2]="PAN",e[e.ROTATE2=3]="ROTATE2"}(Bce||(Bce={}));const Uce=class extends or{constructor(e,t){super(),this._camera=null,this._domElement=null,this._panSwitch=!1,this._minDistance=1e3*C,this._maxDistance=1/0,this._state=Bce.NONE,this._changeEvent={type:"onChange"},this._startEvent={type:"onStart"},this._dirtyEvent={type:"onDirty"},this._endEvent={type:"onEnd"},this._isDirty=!1,this._isInteracting=!1,this._active=!1,this._force_deactivate=g_configuration.camera_control_force_deactivate||!1,this.onChange=e=>{this.change(e)},this.onEnd=e=>{},this.onMouseDown=e=>{var t;if(this._force_deactivate||!this._active||Yse.SceneAction&&!(null===(t=Yse.SceneAction)||void 0===t?void 0:t.CanUseCamera)||Bde.NoCameraInteractionMode||Mse.HRThemeManager.IsEnabled&&!Mse.HRThemeManager.IsBackend||(""!==VI.status||hse.IsDragging)&&Yse.IntersectedLO&&0===e.button||$I.Opened)return;(e=e.originalEvent?e.originalEvent:e).preventDefault(),document.addEventListener("mousemove",this.onMouseMove,!1),document.addEventListener("mouseleave",this.onMouseUp,!1),document.addEventListener("mouseup",this.onMouseUp,!1),Yse.onDown(e),Yse.IsIntersected||Bde.NoCameraInteractionMode||(this._isInteracting=!0),this.dispatchEvent(this._startEvent),upe.sendToApp("furnview.cameraOnStart",[]);const r={};r.button=this.fixupMouseButton(e),r.pageX=e.clientX,r.pageY=e.clientY,r.type=e.type,this.down(r)},this.onMouseMove=e=>{var t;if(this._force_deactivate||!this._active||Bde.NoCameraInteractionMode||Mse.HRThemeManager.IsEnabled&&!Mse.HRThemeManager.IsBackend||(""!==VI.status||hse.IsDragging)&&(!Yse.SceneAction||!(null===(t=Yse.SceneAction)||void 0===t?void 0:t.CanUseCamera))||$I.Opened)return;Qse.startTimer(),(e=e.originalEvent?e.originalEvent:e).preventDefault();const r={};r.button=this.fixupMouseButton(e),r.pageX=e.clientX,r.pageY=e.clientY,r.type=e.type,this.move(r)},this.onMouseUp=e=>{var t;if(this._force_deactivate||!this._active||Bde.NoCameraInteractionMode||Mse.HRThemeManager.IsEnabled&&!Mse.HRThemeManager.IsBackend||(""!==VI.status||hse.IsDragging)&&(!Yse.SceneAction||!(null===(t=Yse.SceneAction)||void 0===t?void 0:t.CanUseCamera))||$I.Opened)return;(e=e.originalEvent?e.originalEvent:e).preventDefault(),this.up(e),document.removeEventListener("mousemove",this.onMouseMove),document.removeEventListener("mouseup",this.onMouseUp),document.removeEventListener("mouseleave",this.onMouseUp);this.move({}),upe.sendToApp("furnview.cameraOnEnd",[]),Oce.Body&&Oce.Body.CameraComponent.updateCameraInputs()},this.onMouseWheel=e=>{var t;if(this._force_deactivate||!this._active||!Bde.ForceCameraZoomAllowed&&Bde.NoCameraInteractionMode||Mse.HRThemeManager.IsEnabled&&!Mse.HRThemeManager.IsBackend||(""!==VI.status||hse.IsDragging)&&(!Yse.SceneAction||!(null===(t=Yse.SceneAction)||void 0===t?void 0:t.CanUseCamera)||Bde.ForceCameraZoomAllowed)||$I.Opened)return;(e=e.originalEvent?e.originalEvent:e).preventDefault(),e.stopPropagation(),this.StartPoint.copy(this._camera.position);const r={};void 0!==e.wheelDelta?r.zoomDelta=e.wheelDelta:void 0!==e.detail&&(r.zoomDelta=-e.detail),r.offsetX=e.offsetX,r.offsetY=e.offsetY,r.type=e.type,this.zoom(r),Oce.Body&&Oce.Body.CameraComponent.updateCameraInputs()},this.onTouchStart=e=>{var t;if(Yse.onDown(e),(e=e.originalEvent?e.originalEvent:e).preventDefault(),this._force_deactivate||!this._active||Bde.NoCameraInteractionMode||Mse.HRThemeManager.IsEnabled&&!Mse.HRThemeManager.IsBackend||(""!==VI.status||hse.IsDragging)&&(!Yse.SceneAction||!(null===(t=Yse.SceneAction)||void 0===t?void 0:t.CanUseCamera)||Yse.IntersectedLO&&kse.IsTouch&&1===kse.getLastTouches().length)||$I.Opened)return;document.addEventListener("touchmove",this.onTouchMove,!1),document.addEventListener("touchend",this.onTouchEnd,!1),document.addEventListener("touchcancel",this.onTouchEnd,!1);const r={};if(r.IsTouch=e.touches&&e.touches.length>0,r.IsTouch){if(r.touches=iI.getTouchInfo(e),r.touches.length>=2?r.centerPoint=iI.getTouchCenter(e):r.centerPoint=new fr(r.touches[0].x,r.touches[0].y),r.IsTouch&&yce.addOrGet("dollyDelta").stop(),2===r.touches.length){const e=r.touches[0].x-r.touches[1].x,t=r.touches[0].y-r.touches[1].y;if(this._dollyStart=Math.sqrt(e*e+t*t),r.IsTouch){yce.addOrGet("dollyDelta",1).addPoint(new vce([this._dollyStart]))}}r.pageX=r.touches[0].x,r.pageY=r.touches[0].y,r.type=e.type,this.down(r)}},this.onTouchMove=e=>{var t;if(this._force_deactivate||!this._active||Bde.NoCameraInteractionMode||Mse.HRThemeManager.IsEnabled&&!Mse.HRThemeManager.IsBackend||(""!==VI.status||hse.IsDragging)&&(!Yse.SceneAction||!(null===(t=Yse.SceneAction)||void 0===t?void 0:t.CanUseCamera))||$I.Opened)return;e=e.originalEvent?e.originalEvent:e,this.StartPoint.copy(this._camera.position);const r={};if(r.type=e.type,r.IsTouch=e.touches&&e.touches.length>0,r.IsTouch&&(r.touches=iI.getTouchInfo(e),r.touches.length>=2?(r.centerPoint=iI.getTouchCenter(r.touches),r.pageX=r.centerPoint.x,r.pageY=r.centerPoint.y):(r.centerPoint=new fr(r.touches[0].x,r.touches[0].y),r.pageX=r.touches[0].x,r.pageY=r.touches[0].y),this.move(r),2===r.touches.length)){const e=r.touches[0].x-r.touches[1].x,t=r.touches[0].y-r.touches[1].y;if(this._dollyEnd=Math.sqrt(e*e+t*t),r.zoomDelta=this._dollyEnd-this._dollyStart,this._dollyStart=this._dollyEnd,r.IsTouch){yce.addOrGet("dollyDelta").addPoint(new vce([this._dollyEnd]))}this.zoom(r)}},this.onTouchEnd=e=>{var t;if(this._force_deactivate||!this._active||Bde.NoCameraInteractionMode||Mse.HRThemeManager.IsEnabled&&!Mse.HRThemeManager.IsBackend||(""!==VI.status||hse.IsDragging)&&(!Yse.SceneAction||!(null===(t=Yse.SceneAction)||void 0===t?void 0:t.CanUseCamera))||$I.Opened)return;(e=e.originalEvent?e.originalEvent:e).preventDefault();const r={IsTouch:!0};if(r.type=e.type,this.up(r),r.IsTouch){yce.addOrGet("dollyDelta").end(e=>{const t={IsTouch:!0};t.zoomDelta=e.x,t.centerPoint=new fr(this._domElement.clientWidth/2,this._domElement.clientHeight/2),this.zoom(t)})}document.removeEventListener("touchmove",this.onTouchMove),document.removeEventListener("touchend",this.onTouchEnd),document.removeEventListener("touchcancel",this.onTouchEnd),Oce.Body&&Oce.Body.CameraComponent.updateCameraInputs()},this._camera=e,this._domElement=t,this._target=new br,this._centerPoint=new br,this._startPoint=new br,this._target0=this._target.clone(),this._position0=this._camera.position.clone(),this._triggerEvents=[],this.initEvents()}get PanSwitch(){return this._panSwitch}set PanSwitch(e){this._panSwitch=e}set ForceDeactivate(e){this._force_deactivate=e}get IsInteracting(){return this._isInteracting}set IsInteracting(e){this._isInteracting=e}get IsDirty(){return this._isDirty}set IsDirty(e){this._isDirty=e}get Camera(){return this._camera}get DomElement(){return this._domElement}get StartPoint(){return this._startPoint}get CenterPoint(){return this._centerPoint}set CenterPoint(e){this._centerPoint=e}get Target(){return this._target}set Target(e){this._target=e}set StartPosition(e){this._position0.copy(e)}set StartLookAt(e){this._target0.copy(e)}get MaxDistance(){return this._maxDistance}set MaxDistance(e){this._maxDistance=e}get MinDistance(){return this._minDistance}set MinDistance(e){this._minDistance=e}get TriggerEvents(){return this._triggerEvents}get AutoRotate(){return!1}set AutoRotate(e){}get Active(){return this._active}update(){g_configuration.FixedCameraAngle&&(this._maxDistance=this._maxDistance!==1/0?this._maxDistance<1e4*C?1e4*C:this._maxDistance:1e4*C),this._camera.updateMatrixWorld(),this.triggerEvents(0),this.dispatchEvent(this._changeEvent)}reset(){this._state=Bce.NONE,this._target.copy(this._target0),this._camera.position.copy(this._position0),this.update()}enable(){this._active=!0,yce.stopAll()}disable(){this._active=!1,yce.stopAll()}change(e){}down(e){this.StartPoint.copy(this._camera.position)}move(e){aue.CenterPointNeedsUpdate&&(aue.CenterPointNeedsUpdate=!1,aae.SetCenterCam()||(aue.CenterPointNeedsUpdate=!0)),this.triggerEvents(1),!e.type||Bde.NoCameraInteractionMode||Yse.SceneAction||(this._isInteracting=!0),this.IsDirty||0===this.StartPoint.clone().sub(this._camera.position).length()||(this.IsDirty=!0,this.dispatchEvent(this._dirtyEvent),upe.sendToApp("furnview.cameraOnDirty",[]))}up(e){this._isInteracting=!1,this.IsDirty=!1,this.StartPoint.copy(this._camera.position)}zoom(e){aue.CenterPointNeedsUpdate&&(aue.CenterPointNeedsUpdate=!1,aae.SetCenterCam()||(aue.CenterPointNeedsUpdate=!0)),this.triggerEvents(1),0!==this.StartPoint.clone().sub(this._camera.position).length()&&(this.dispatchEvent(this._dirtyEvent),upe.sendToApp("furnview.cameraOnDirty",[]))}fixupMouseButton(e){return(e.which?e.which:1===e.button?1:2===e.button?3:4===e.button?2:1)-1}initEvents(){this._domElement.addEventListener("mousedown",this.onMouseDown,!1),this._domElement.addEventListener("mousewheel",this.onMouseWheel,!1),this._domElement.addEventListener("DOMMouseScroll",this.onMouseWheel,!1),this._domElement.addEventListener("contextmenu",function(e){e.preventDefault()},!1),this._domElement.addEventListener("touchstart",this.onTouchStart,!1),this.addEventListener("onChange",this.onChange),this.addEventListener(this._endEvent.type,this.onEnd),Fm.addUpKeyEvent(Jp.LEFT_ARROW,()=>{Xre.getElements().length>0||Fm.secondaryKeys.isCtrl||Fm.secondaryKeys.isAlt||aue.CurrentCamera.RotateAroundCenter(1e3,0)}),Fm.addUpKeyEvent(Jp.RIGHT_ARROW,()=>{Xre.getElements().length>0||Fm.secondaryKeys.isCtrl||Fm.secondaryKeys.isAlt||aue.CurrentCamera.RotateAroundCenter(-1e3,0)}),Fm.addUpKeyEvent(Jp.UP_ARROW,()=>{aue.CurrentCamera.RotateAroundCenter(0,1e3)}),Fm.addUpKeyEvent(Jp.DOWN_ARROW,()=>{aue.CurrentCamera.RotateAroundCenter(0,-1e3)}),Fm.addUpKeyEvent(Jp.ADD,()=>{aue.CurrentCamera.ZoomIn()}),Fm.addUpKeyEvent(Jp.SUBTRACT,()=>{aue.CurrentCamera.ZoomOut()})}triggerEvents(e){for(const t in this._triggerEvents)this._triggerEvents[t].func instanceof Function&&this._triggerEvents[t].mode===e&&(this._triggerEvents[t].from.newFunc=this._triggerEvents[t].func,this._triggerEvents[t].from.newFunc(this))}};class Vce extends Uce{constructor(e,t){super(e,t),this.ARSettings={debuggerAR:!1,debuggerAR_Buttons:!1,debuggerAR_Console:!1,AppendText:function(e){const t=$("#ARConsole > span");if(0===t.length)return!1;let r=t.text().split(/\n/gm);return r.length>10&&(r=r.slice(0,10)),r=[e].concat(r),t.text("Line ("+r.length+"): "+r.join("\n").replace(/[\n\r]+/gm,"\r\n")),t.parent().scrollTop(),!0},firstRunAR:!0,ypr:["pitch","roll","yaw"],calcXYZ:["z","x","y"],invYaw:!0,invPitch:!0,invRoll:!1,invX:!1,invY:!0,invZ:!1,currentOrientationRot:0,worldEuler:new Rn(0,-Math.PI/2,0,"XZY"),worldTransform:new xn,newMatrix:new xn}}get Target(){const e=aue.CurrentCamera.mouseOnFarPane(.5,.5).sub(aue.CurrentCameraControl.Camera.position).normalize(),t=[e.x,e.y,e.z];return Cp.DH2Vector3(Cp.DHGoVector(aue.CurrentCameraControl.Camera.position,1e3*C,t))}update(){}dispose(){}}class zce{constructor(e){this._lightBase=null,this._lightBase=e,this._lightBase.builder=this}set Owner(e){this._owner=e}get Owner(){return this._owner}get LightBase(){return this._lightBase}update(){}dispose(){this._lightBase&&(this._lightBase.dispose(),this._lightBase=null)}}class Hce extends zce{constructor(){super(new Xl),this._helper=null}get LightBase(){return this._lightBase}getHelper(e){return!this._helper&&this._lightBase&&(this._helper=new Gc(this._lightBase,e||new mi(1,0,0))),this._helper}setDistance(e,t){this._lightBase.shadow.camera.far=t,this._lightBase.shadow.camera.near=e}setShadowSize(e){this._lightBase.shadow.mapSize.width=e,this._lightBase.shadow.mapSize.height=e}update(){super.update(),this._helper&&this._helper.update()}dispose(){super.dispose(),this._helper&&(this._helper.dispose(),this._helper=null)}}var Gce;!function(e){e[e.DIRECTIONAL=0]="DIRECTIONAL",e[e.SPOT=1]="SPOT",e[e.POINT=2]="POINT",e[e.AMBIENT=4]="AMBIENT",e[e.HEMISPHERE=5]="HEMISPHERE"}(Gce||(Gce={}));const jce={[Gce.DIRECTIONAL]:class extends zce{constructor(){super(new oc),this._helper=null,this._size=0}get LightBase(){return this._lightBase}getHelper(e){return this._helper||(this._helper=new Zc(this._lightBase,1e3,null!=e?e:new mi(1,0,0))),this._helper}setDistance(e,t){this._lightBase.shadow.camera.far=t,this._lightBase.shadow.camera.near=e}setShadowSize(e){this._lightBase.shadow.mapSize.width=e,this._lightBase.shadow.mapSize.height=e}setSize(e){this._size=e,this._lightBase.shadow.camera.left=-e,this._lightBase.shadow.camera.right=+e,this._lightBase.shadow.camera.top=+e,this._lightBase.shadow.camera.bottom=-e}update(){super.update(),this._helper&&this._helper.update()}dispose(){super.dispose(),this._helper&&(this._helper.dispose(),this._helper=null)}},[Gce.SPOT]:Hce,[Gce.POINT]:class extends zce{constructor(){super(new rc),this._helper=null}getHelper(e,t){return this._helper||(this._helper=new jc(this._lightBase,e||50,t||new mi(1,0,0))),this._helper}setDistance(e,t){this._lightBase.shadow.camera.far=t,this._lightBase.shadow.camera.near=e}setShadowSize(e){this._lightBase.shadow.mapSize.width=e,this._lightBase.shadow.mapSize.height=e}update(){super.update(),this._helper&&this._helper.update()}dispose(){super.dispose(),this._helper&&(this._helper.dispose(),this._helper=null)}},[Gce.AMBIENT]:class extends zce{constructor(){super(new sc)}},[Gce.HEMISPHERE]:class extends zce{constructor(){super(new jl),this._helper=null,this._size=0}getHelper(){return this._helper||(this._helper=new qc(this._lightBase,this._size,new mi(255,0,0))),this._helper}setSize(e){this._size=e}}};class Jce extends qn{constructor(){super(),this._lights={},this._transformControl=null,this._shadowRankInterval=null,this._scratchCameraPosition=new br,this._scratchCameraDirection=new br,this._scratchLightPosition=new br,this._scratchToLight=new br,this._scratchFrustum=new gs,this._scratchProjectionMatrix=new xn}createLight(e){var t;const r=e.name;if(this._lights[r])return this._lights[r];const n=jce[e.type];if(!n)return void console.error(`Unsupported light type: ${e.type}`);const i=new n;return i.LightBase.name=r,i.LightBase.visible=(null===(t=null==e?void 0:e.attributes)||void 0===t?void 0:t.visible)||!1,e.layers?Array.isArray(e.layers)&&e.layers.forEach(e=>{i.LightBase.layers.enable(e)}):i.LightBase.layers.enableAll(),this._applyShadow(i.LightBase,e.shadow),e.attributes&&this._applyAttributes(i.LightBase,e.attributes),this.add(i.LightBase),this._lights[r]=i,this.updateShadowAssignments(),this._ensureShadowRankLoop(),i}updateShadowAssignments(){var e;const t=Object.values(this._lights).map(e=>e.LightBase).filter(e=>e instanceof Xl&&e.visible);if(0===t.length)return void(ME.PoolSuppressed=!1);const r=this._measureSceneSamplerDemand(),n=Math.max(2,dm.maxTextureUnits-r.materialReserve-r.externalShadowSamplers),i=t.length>n-2;ME.PoolSuppressed=i;const o=i?n:n-2,s=null===(e=aue.CurrentCamera)||void 0===e?void 0:e.Camera;let a=!1;if(s){s.updateMatrixWorld(),s.getWorldPosition(this._scratchCameraPosition),s.getWorldDirection(this._scratchCameraDirection);const e=s;e.projectionMatrix&&(this._scratchProjectionMatrix.multiplyMatrices(e.projectionMatrix,e.matrixWorldInverse),this._scratchFrustum.setFromProjectionMatrix(this._scratchProjectionMatrix),a=!0)}const l=Math.pow(2e3*C,2),c=Math.pow(1e3*C,2);t.map(e=>{e.getWorldPosition(this._scratchLightPosition);let t=s?this._scratchLightPosition.distanceToSquared(this._scratchCameraPosition):0;if(a&&!this._scratchFrustum.containsPoint(this._scratchLightPosition)){this._scratchToLight.subVectors(this._scratchLightPosition,this._scratchCameraPosition);t+=t<=(this._scratchToLight.dot(this._scratchCameraDirection)<0?c:l)?1e10:1e14}return{light:e,rank:t}}).sort((e,t)=>e.rank-t.rank).forEach((e,t)=>{const r=t<o;e.light.castShadow!==r&&(e.light.castShadow=r)})}_measureSceneSamplerDemand(){var e,t;let r=0,n=0;const i=new Set,o=null===(e=Dhe.TScene)||void 0===e?void 0:e.environment;return null===(t=Dhe.TScene)||void 0===t||t.traverse(e=>{if(e.isLight)return void(!e.visible||!e.castShadow||e instanceof Xl||n++);(Array.isArray(e.material)?e.material:e.material?[e.material]:[]).forEach(e=>{if(!e||i.has(e.uuid))return;i.add(e.uuid);let t=0;Jce.MATERIAL_MAP_SLOTS.forEach(r=>{e[r]&&t++}),e.transmission>0&&t++,o&&e.isMeshStandardMaterial&&!e.envMap&&t++,t>r&&(r=t)})}),{materialReserve:Math.max(4,r),externalShadowSamplers:n}}_ensureShadowRankLoop(){this._shadowRankInterval||(this._shadowRankInterval=setInterval(()=>this.updateShadowAssignments(),1500))}_applyAttributes(e,t){if(e instanceof Xl){const r=t;r.target&&(e.target.position.copy(r.target),delete r.target)}Object.entries(t).forEach(([t,r])=>{const n=e[t];if(n){if(n instanceof br)return void n.copy(r);if(n instanceof mi)return void n.set(r)}e[t]=r})}_applyShadow(e,t){var r,n,i,o,s;const a=void 0!==e.shadow;if(e.castShadow=a&&(e.castShadow||a),a){const a=dm.shadowMapSize;e.shadow.mapSize.width=Math.min((null===(r=null==t?void 0:t.mapSize)||void 0===r?void 0:r.width)||a,a),e.shadow.mapSize.height=Math.min((null===(n=null==t?void 0:t.mapSize)||void 0===n?void 0:n.height)||a,a),e.shadow.camera instanceof lo&&(e.shadow.camera.near=(null===(i=null==t?void 0:t.camera)||void 0===i?void 0:i.near)||1600*C,e.shadow.camera.far=(null===(o=null==t?void 0:t.camera)||void 0===o?void 0:o.far)||5e3*C,e.shadow.camera.fov=(null===(s=null==t?void 0:t.camera)||void 0===s?void 0:s.fov)||70);const l=(()=>{const t=e.shadow.mapSize.width;return t>=4096?2:t>=2048?10:t>=1024?25:60})();e.shadow.normalBias=(null==t?void 0:t.normalBias)||l,e.shadow.bias=(null==t?void 0:t.bias)||-5e-4,e.shadow.radius=(null==t?void 0:t.radius)||1,e.shadow.blurSamples=(null==t?void 0:t.blurSamples)||8}}hasLight(e){return void 0!==this._lights[e]}getLight(e){return this._lights[e]}getLightByParent(e){return Object.values(this._lights).find(t=>{var r;return(null===(r=t.Owner)||void 0===r?void 0:r.instanceIdent)===e})}removeLight(e){delete this._lights[e],this.updateShadowAssignments()}get TransformControls(){return this._transformControl||(this._transformControl=new i_(aue.CurrentCamera.Camera,fme.RenderDiv),Dhe.add(this._transformControl),this._transformControl.addEventListener("change",()=>{}),this._transformControl.addEventListener("dragging-changed",function(e){Bde.NoCameraInteractionMode=e.value}),window.addEventListener("keydown",e=>{switch(e.keyCode){case 81:this._transformControl.setSpace("local"===this._transformControl.space?"world":"local");break;case 16:this._transformControl.setTranslationSnap(100),this._transformControl.setRotationSnap(gr.degToRad(15)),this._transformControl.setScaleSnap(.25);break;case 87:this._transformControl.setMode("translate");break;case 69:this._transformControl.setMode("rotate");break;case 82:this._transformControl.setMode("scale");break;case 187:case 107:this._transformControl.setSize(this._transformControl.size+.1);break;case 189:case 109:this._transformControl.setSize(Math.max(this._transformControl.size-.1,.1));break;case 88:this._transformControl.showX=!this._transformControl.showX;break;case 89:this._transformControl.showY=!this._transformControl.showY;break;case 90:this._transformControl.showZ=!this._transformControl.showZ;break;case 32:this._transformControl.enabled=!this._transformControl.enabled}}),window.addEventListener("keyup",e=>{if(16===e.keyCode)this._transformControl.setTranslationSnap(null),this._transformControl.setRotationSnap(null),this._transformControl.setScaleSnap(null)})),this._transformControl}}Jce.MATERIAL_MAP_SLOTS=["map","normalMap","envMap","aoMap","roughnessMap","metalnessMap","emissiveMap","alphaMap","bumpMap","lightMap","displacementMap","clearcoatMap","clearcoatNormalMap","clearcoatRoughnessMap","transmissionMap","thicknessMap","specularIntensityMap","specularColorMap","sheenColorMap","sheenRoughnessMap","surfaceNormalMap","mirrorMap"];const Wce=new Jce;var Qce=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};const qce=[new mi(0,1,0),new mi(0,0,1),new mi(1,1,0),new mi(0,1,1),new mi(1,0,1),new mi(1,0,0)];const Yce=new class{constructor(){this.RBLight=void 0,this.LFLight=void 0,this.LBLight=void 0,this.RFLight=void 0,this.topLight=void 0,this.AmbiLight=void 0,this.HemiLight=void 0,this.CameraLight=void 0,this.CenterOffset=new br(0,0,0),this.SpotLightOffset=new br(0,0,0),this.DynamicSpotLights=[]}initialize(e){var t;this.CenterOffset=new br(-1400,1300,0).multiplyScalar(C),this.SpotLightOffset=new br(0,-1300,0).multiplyScalar(C),this.HemiLight=Wce.createLight({name:"hemiLight",type:Gce.HEMISPHERE,layers:[0,1],attributes:{intensity:2.3,color:16777215,position:new br(0,0,500),groundColor:(new mi).setRGB(.67,.655,.623),visible:!1}}),this.AmbiLight=Wce.createLight({name:"ambiLight",type:Gce.AMBIENT,layers:[0,1],attributes:{intensity:Bde.AmbientLightIntensity,color:(new mi).setStyle(Bde.AmbientLightColor),visible:null===(t=Bde.AmbientLightEnabled)||void 0===t||t}}),Bde.EnableOutdoorLighting&&this.setLightingScenario("Outdoor"),this.initAutoLux(),this.debug()}initAutoLux(){return Qce(this,void 0,void 0,function*(){yield upe.isAppReady(),yield ape.setAutoLuxParams({movePointForwardRangeInDistance:Number(g_configuration.autolux_rangein_offset_forward||1500),movePointForwardRangeInDepthThreshold:Number(g_configuration.autolux_rangein_offset_forward_threshold||600),offsetPointRangeInLeftRight:Number(g_configuration.autolux_rangein_offset_left_right||0)})})}setARLights(e){this.topLight.LightBase.castShadow=!0===e||!1!==e,this.RFLight.LightBase.castShadow=!1===e,!0===e||!1!==e?(Aue.TRenderer.shadowMap.type=1,this.topLight.LightBase.shadow.radius=0,Aue.TRenderer.shadowMap.enabled=!1,Aue.TRenderer.shadowMap.enabled=!0,Aue.TRenderer.setRenderTarget(this.topLight.LightBase.shadow.map),Aue.TRenderer.clear()):(Aue.TRenderer.shadowMap.type=2,this.topLight.LightBase.shadow.radius=1,Aue.TRenderer.shadowMap.enabled=!1,Aue.TRenderer.shadowMap.enabled=!0,this.AmbiLight.LightBase.intensity=1,this.HemiLight.LightBase.intensity=1,Aue.TRenderer.setRenderTarget(this.topLight.LightBase.shadow.map),Aue.TRenderer.clear())}setTwoDLights(e){this.RFLight.LightBase.castShadow=!1===e,!0===e||!1!==e?(this.AmbiLight.LightBase.intensity=.2,this.HemiLight.LightBase.intensity=0,this.RFLight.LightBase.visible=!1,this.RBLight.LightBase.visible=!1,this.LBLight.LightBase.visible=!1,this.LFLight.LightBase.visible=!1,Aue.TRenderer.shadowMap.enabled=!1,Aue.TRenderer.setRenderTarget(this.topLight.LightBase.shadow.map),Aue.TRenderer.clear()):(Aue.TRenderer.shadowMap.enabled=!0,this.AmbiLight.LightBase.intensity=1,this.HemiLight.LightBase.intensity=1,this.RFLight.LightBase.visible=!0,this.RBLight.LightBase.visible=!0,this.LBLight.LightBase.visible=!0,this.LFLight.LightBase.visible=!0,Aue.TRenderer.setRenderTarget(this.topLight.LightBase.shadow.map),Aue.TRenderer.clear())}addSpotLight(){const{length:e}=this.DynamicSpotLights,t=e>0?this.DynamicSpotLights[e-1].LightBase.position.clone():new br(0,0,4e3).add(this.CenterOffset).add(this.SpotLightOffset),r=new br(4e3,0,0),n=`SpotLight_${this.DynamicSpotLights.length+1}`,i=Wce.createLight({name:n,type:Gce.SPOT,layers:[0,1],attributes:{penumbra:.4,color:(new mi).setStyle(Bde.AutoLuxSpotlightColor),visible:!0,intensity:1e7,position:(new br).add(t).add(r),target:(new br).add(t).add(r).add(new br(0,0,-4e3)),angle:1.2}}),{LightBase:o}=i;return this.DynamicSpotLights.push(i),Dhe.TScene.add(o.target),Dhe.TScene.add(i.getHelper(qce[e%6])),i.getHelper().visible=!1,i}addSpotLightWithParameters(e,t){const{length:r}=this.DynamicSpotLights,n=(new mi).setRGB(t.R,t.G,t.B);[n.r,n.g,n.b].every(e=>1===e)&&n.setStyle(Bde.AutoLuxSpotlightColor);const i=new br(0,0,-e.position.z),o=(new br).add(e.position),s=(new br).add(o).add(i),a=Wce.createLight({name:t.LightID,type:Gce.SPOT,layers:[0,1],attributes:{intensity:1e7,penumbra:.4,visible:!0,color:n,position:o,target:s,angle:gr.degToRad(t.FallOf)}}),{LightBase:l}=a;return this.DynamicSpotLights.push(a),Dhe.TScene.add(l.target),Dhe.TScene.add(a.getHelper(qce[r%6])),a.getHelper().visible=!1,a.Owner=e,a}setLightingScenario(e){"Outdoor"===e?(this.DynamicSpotLights.forEach(e=>e.LightBase.visible=!1),IE.Visible=!0,IE.setLightIntensity(4.16),this.HemiLight.LightBase.intensity=1.7):(this.DynamicSpotLights.forEach(e=>e.LightBase.visible=!0),IE.Visible=!1,IE.setLightIntensity(3),this.HemiLight.LightBase.intensity=2.3),Wce.updateShadowAssignments()}debug(){if(!g_configuration.panel_left_show||!Phe.DebugGUI)return!1;const e=Wm.getSubFolder("Ambient & Hemisphere"),t=Wm.getSubFolder("Spotlights Top"),r={ambicolor:this.AmbiLight.LightBase.color.getHex(),hemicolor:this.HemiLight.LightBase.color.getHex(),hemifloor:this.HemiLight.LightBase.groundColor.getHex()},n=e.addFolder("AmbiLight");n.add(this.AmbiLight.LightBase,"intensity",.01,5.01).step(.01),n.add(this.AmbiLight.LightBase,"visible"),n.addColor(r,"ambicolor").onChange(e=>{this.AmbiLight.LightBase.color.setHex(e)});const i=e.addFolder("HemiLight");i.add(this.HemiLight.LightBase,"intensity",.01,5.01).step(.01),i.add(this.HemiLight.LightBase,"visible"),i.addColor(r,"hemicolor").onChange(e=>{this.HemiLight.LightBase.color.setHex(e)}),i.addColor(r,"hemifloor").onChange(e=>{this.HemiLight.LightBase.color.setHex(e)});const o={AddSpotlight:()=>{const e=this.addSpotLight();this.addSpotLightGui(e,t)}},s={ToggleSpotLightHelpers:()=>Qce(this,void 0,void 0,function*(){this.DynamicSpotLights.forEach(e=>e.getHelper().visible=!e.getHelper().visible)})};t.add(o,"AddSpotlight"),t.add(s,"ToggleSpotLightHelpers")}addSpotLightGui(e,t){const{LightBase:r}=e,n={color:e.LightBase.color.getHex()},i=t.addFolder(e.LightBase.name);i.addColor(n,"color").onChange(t=>{e.LightBase.color.setHex(t)}),i.add(r,"intensity",1e4,45e6).step(100),i.add(r,"penumbra",0,1),i.add(r,"power",0,1e8).step(1e4),i.add(r,"angle",0,.5*Math.PI,.1).onChange(()=>{e.update()}),i.add(r.position,"x",-15e3,15e3,5).onChange(t=>{r.target.position.setX(t),e.update()}),i.add(r.position,"y",-15e3,15e3,5).onChange(t=>{r.target.position.setY(t),e.update()}),i.add(r.position,"z",1e3,5e3,5).onChange(t=>{r.target.position.setZ(t-4e3),e.update()});i.add({helper:!1},"helper").onChange(t=>e.getHelper().visible=t),i.add(r,"castShadow"),i.add(r,"visible"),i.add(r.shadow,"bias",-.02,.02,1e-4),i.add(r.shadow,"normalBias",0,100,.5),i.add(r.shadow,"radius",.2,30,.1),i.add(r.shadow,"blurSamples",2,48,1),i.add(r.shadow,"focus",.1,1,.01),r.shadow.camera instanceof lo&&(i.add(r.shadow.camera,"near",0,5e3),i.add(r.shadow.camera,"far",0,2e4),i.add(r.shadow.camera,"fov",0,1e3)),i.add(r.shadow.mapSize,"x",0,4096,128).name("ShadowMap Resolution").onChange(e=>{r.shadow.mapSize.setY(e),r.shadow.map.setSize(e,e)}),e.update()}createLightsByOwner(e,t){t.forEach(t=>{if(0==Wce.hasLight(t.LightID)&&"Spot"==t.LightType&&90015===e.typeInfo){const r=this.addSpotLightWithParameters(e,t);if(g_configuration.panel_left_show&&Phe.DebugGUI){const e=Wm.getSubFolder("Spotlights Top");this.addSpotLightGui(r,e)}}})}cleanupLightsByOwner(e){const t=Wce.getLightByParent(e.instanceIdent);if(t){if(g_configuration.panel_left_show&&Phe.DebugGUI){const e=Phe.DebugGUI.__folders.Lights;e&&t.LightBase&&e.removeFolder(t.LightBase.name)}if(t.LightBase&&(Wce.removeLight(t.LightBase.name),Wce.remove(t.LightBase),t instanceof Hce&&Dhe.TScene.remove(t.LightBase.target)),t instanceof Hce){const e=t.getHelper();e&&Dhe.TScene.remove(e);const r=this.DynamicSpotLights.indexOf(t);-1!==r&&this.DynamicSpotLights.splice(r,1)}t.dispose()}}cleanupSpotLights(){this.DynamicSpotLights.forEach(e=>{if(g_configuration.panel_left_show&&Phe.DebugGUI){const t=Phe.DebugGUI.__folders.Lights;t&&e.LightBase&&t.removeFolder(e.LightBase.name)}e.LightBase&&(Wce.removeLight(e.LightBase.name),Wce.remove(e.LightBase),Dhe.TScene.remove(e.LightBase.target));const t=e.getHelper();t&&Dhe.TScene.remove(t),e.dispose()}),this.DynamicSpotLights=[]}};const Xce=new class{constructor(){this._experimentalMode=!0,this._isActive=!1,this._isPaused=!1,this._isSnapMode=!1,this._hitPoint=new br,this._pickMode=!0,this._currentOrientationRot=0,this._placerEnabled=!1}get IsSnapMode(){return this._isActive&&this._isPaused&&this._isSnapMode}get PlacerEnabled(){return this._placerEnabled}set PlacerEnabled(e){this._placerEnabled=e}get PickMode(){return this._pickMode}set PickMode(e){e?(upe.sendToApp("startAR"),upe.sendToApp("setConfig",[{planes:1}]),uce.show()):(upe.sendToApp("startARWithoutDetection"),upe.sendToApp("setConfig",[{planes:0}]),uce.hide()),this._pickMode=e}get HitPoint(){return this._hitPoint}set HitPoint(e){this._hitPoint=e}get IsExperimental(){return this._experimentalMode}get IsActive(){return this._isActive}get IsPaused(){return this._isPaused}get CurrentOrientationRot(){return this._currentOrientationRot}setSnapMode(e){return new Promise((t,r)=>{const n=$(".mainContent");if(n&&1===n.length&&fme.RenderDiv){const r=$("#canvasSnapShot");if(e){if(1===r.length){const e=fme.RenderDiv.toDataURL("image/png");n.addClass("dhmc-hidden"),r.removeClass("dhmc-hidden").attr("src",e),r.on("load",()=>{this._isSnapMode=!0,t(!0)})}}else 1===r.length&&r.addClass("dhmc-hidden").attr("src",""),n.removeClass("dhmc-hidden"),this._isSnapMode=!1,t(!0)}})}pickPlane(e,t){try{if(this.PickMode&&this.IsActive)return upe.sendToApp("hitTest",[{value:{x:e/fme.WIDTH,y:t/fme.HEIGHT},type:Gse[Hse]}]),!0}catch(e){}return!1}pause(){this._isPaused=!0}resume(){this._isPaused=!1}disable(){window.removeEventListener("orientationchange",this.orientationChange),fme.setFullWindowCanvas(!1),Aue.switchRenderer("default"),IE.CSM&&IE.CSM.lights&&(IE.CSM.lights[0].shadow.bias=1e-6,IE.CSM.lights[1].shadow.bias=1e-6),Yce.AmbiLight.LightBase.intensity=1,Yce.HemiLight.LightBase.intensity=1.75,mm.resetViewMode(),Fde.GroundMirror&&Fde.setARFloor(!1),Bde.ShowLines=Bde.getLastValue("showLines"),$("html, body").removeClass("ar-mode-transparency"),uce.clear(),dce.clear(),this._isActive=!1,this._isPaused=!1,aue.changeCameraAndControl("main"),$le.clear(),setTimeout(()=>{aue.CurrentCamera.startZoom()},200),$("#btnARStop").addClass("dhmc-hidden"),$("#btnARApp").removeClass("dhmc-hidden"),Ame.requestRendering()}enable(){if(!this._isActive){if(ape.ResetWidget(),this._isActive=!0,IE.CSM&&IE.CSM.lights&&(IE.CSM.lights[0].shadow.bias=9e-5,IE.CSM.lights[1].shadow.bias=9e-5),fme.setFullWindowCanvas(!0),window.addEventListener("orientationchange",()=>{this.orientationChange()}),this.orientationChange(),Aue.switchRenderer("ar"),mm.setViewMode(Ep.AR),Fde.GroundMirror&&Fde.setARFloor(),Bde.VectorBasedSSAOEffect=!1,Bde.ShowShadows=!1,Bde.ShowLines=!1,oM.setDirection(Op.FREE),$("html, body").addClass("ar-mode-transparency"),uce.clear(),dce.clear(),!aue.hasCameraAndControl("ar")){const e=new gce,t=new Vce(e.Camera,fme.RenderDiv);aue.createCameraAndControl("ar",e,t)}aue.changeCameraAndControl("ar"),$("#btnARStop").removeClass("dhmc-hidden"),this.PickMode=!0,this.createUI(),Phe.ARDebugTools&&this.createDebug(),Ame.requestRendering()}}createDebug(){const e=new Za(32),t=new Yi(e,new Hm({color:new mi(255,0,0)}));t.position.set(0,0,0),Dhe.add(t)}createUI(){if(aue.CurrentCameraControl.ARSettings.debuggerAR){const e=$('<input type="text" id="eulerXYZ">').css("position","absolute").css("top","250px").css("left","130px").css("z-index","99999").css("background-color","white"),t=$('<input type="button" id="eulerXYZButton">').css("position","absolute").css("top","250px").css("left","300px").css("z-index","99999").css("background-color","white").val("submit"),r=$('<select id="posXYZ"></select>').css("position","absolute").css("top","100px").css("left","0").css("z-index","99999").css("background-color","white");["XYZ","YZX","ZXY","ZYX","YXZ","XZY"].forEach(function(e){const t=$("<option></option>").text(e).val(e);r.append(t)});const n=$('<select id="calcXYZ"></select>').css("position","absolute").css("top","0").css("left","0").css("z-index","99999").css("background-color","white");["x,y,z","y,z,x","z,x,y","z,y,x","y,x,z","x,z,y"].forEach(function(e){const t=$("<option></option>").text(e).val(e);n.append(t)});const i=$('<select id="yawPitchRoll"></select>').css("position","absolute").css("top","50px").css("left","0").css("z-index","99999").css("background-color","white");["yaw,pitch,roll","yaw,roll,pitch","pitch,yaw,roll","pitch,roll,yaw","roll,yaw,pitch","roll,pitch,yaw"].forEach(function(e){const t=$("<option></option>").text(e).val(e);i.append(t)});const o=$('<button id="invYaw"></button>').css("position","absolute").css("top","100px").css("height","30px").css("left","200px").css("z-index","99999").css("background-color","white").text("Invert Yaw"),s=$('<button id="invPitch"></button>').css("position","absolute").css("top","50px").css("height","30px").css("left","200px").css("z-index","99999").css("background-color","white").text("Invert Pitch"),a=$('<button id="invRoll"></button>').css("position","absolute").css("top","0").css("height","30px").css("left","200px").css("z-index","99999").css("background-color","white").text("Invert Roll"),l=$('<button id="invX"></button>').css("position","absolute").css("top","300px").css("height","30px").css("left","0").css("z-index","99999").css("background-color","white").text("Invert Yaw"),c=$('<button id="invY"></button>').css("position","absolute").css("top","250px").css("height","30px").css("left","0px").css("z-index","99999").css("background-color","white").text("Invert Pitch"),u=$('<button id="invZ"></button>').css("position","absolute").css("top","200px").css("height","30px").css("left","0px").css("z-index","99999").css("background-color","white").text("Invert Roll"),d=$('<span id="infoSpanAR"></span>').css("position","absolute").css("top","80px").css("width","300px").css("left","400px").css("z-index","99999").css("background-color","white").text("Info:"),h=$('<span id="infoSpanAR2"></span>').css("position","absolute").css("top","60px").css("width","300px").css("left","400px").css("z-index","99999").css("background-color","white").text("Info:"),p=$('<span id="infoSpanAR3rx"></span>').css("position","absolute").css("top","40px").css("width","300px").css("left","400px").css("z-index","99999").css("background-color","white").text("Info:"),m=$('<span id="infoSpanAR3ry"></span>').css("position","absolute").css("top","20px").css("width","300px").css("left","400px").css("z-index","99999").css("background-color","white").text("Info:"),_=$('<span id="infoSpanAR3rz"></span>').css("position","absolute").css("top","0").css("width","300px").css("left","400px").css("z-index","99999").css("background-color","white").text("Info:");$("body").append(t).append(e).append(r).append(i).append(n).append(o).append(s).append(a).append(l).append(c).append(u).append(d).append(h).append(p).append(m).append(_)}else if(aue.CurrentCameraControl.ARSettings.debuggerAR_Console){const e=$('<div id="ARConsole"></div>').css("position","absolute").css("top","0px").css("left","0px").css("right","0px").css("bottom","80%").css("z-index","99999").css("background-color","rgba(0,0,0, 0.5)").css("color","lime").css("overflow-y","auto").css("overflow-x","hidden").appendTo($("body"));$("<span></span>").css("white-space","pre-wrap").appendTo(e)}if(aue.CurrentCameraControl.ARSettings.debuggerAR_Buttons){const e=$('<button id="btnStartAR"></button>').css("position","absolute").css("top",$("body").height()-100+"px").css("left","50px").css("z-index","99999").css("background-color","white").text("StartAR"),t=$('<button id="btnStartARWD"></button>').css("position","absolute").css("top",$("body").height()-100+"px").css("left","150px").css("z-index","99999").css("background-color","white").text("StartARWD"),r=$('<button id="btnStopAR"></button>').css("position","absolute").css("top",$("body").height()-100+"px").css("left","300px").css("z-index","99999").css("background-color","white").text("StopAR"),n=$('<button id="btnTappedPosition"></button>').css("position","absolute").css("top",$("body").height()-100+"px").css("left","400px").css("z-index","99999").css("background-color","white").text("SetTappedPos");$("body").append(e).append(t).append(r).append(n),e.click(function(){Furnview.sendToApp("startAR",[])}),t.click(function(){Furnview.sendToApp("startARWithoutDetection",[])}),r.click(function(){Furnview.sendToApp("stopAR",[])}),n.click(function(){Furnview.sendToApp("tappedPosition",[{position:[1,2,3]}])})}}orientationChange(){window.screen&&window.screen.orientation?window.screen.orientation.angle?this._currentOrientationRot=Cp.Deg2Rad*+window.screen.orientation.angle:this._currentOrientationRot=Cp.Deg2Rad*+window.screen.orientation:this._currentOrientationRot=Cp.Deg2Rad*+window.orientation,aI.dispatch("resizeWindow"),this._isPaused&&(this.resume(),Furnview.sendToApp("startAR"),rce.update(!0))}};const Kce=new class{constructor(){this._multiSampledTargets=!1,this._enabled=!1,this._canRender=!1,this._initialized=!1,this._planeSize=116e3*C,this._cameraHeight=200*C,this._renderRecursion=0,this._cascades=dm.contactShadowCascades,this._textureWidth=512,this._textureHeight=512,this._options={blur:.2,darkness:1},this._cameras=[],this._cameraHelpers=[],this._textureMatrices=[],this._renderTargets=[],this._multiSampleRenderTargets=[];const e={format:Ge,stencilBuffer:!1,premultipliedAlpha:!0};for(let t=0;t<this._cascades;t++){const r=this._planeSize/Math.pow(2,t+1)/2;this._cameras.push(new nc(-r,r,r,-r,0,this._cameraHeight)),this._cameras[t].rotation.x=Math.PI,this._cameras[t].position.z=-1,this._cameraHelpers.push(new ru(this._cameras[t])),this._cameraHelpers[t].visible=!1,this._textureMatrices.push(new xn);const n=new jr(this._textureWidth,this._textureHeight,e),i=new jr(this._textureWidth,this._textureHeight,Object.assign({samples:dm.renderTargetSamples},e));gr.isPowerOfTwo(this._textureWidth)&&gr.isPowerOfTwo(this._textureHeight)||(n.texture.generateMipmaps=!1,i.texture.generateMipmaps=!1),this._renderTargets.push(n),this._multiSampleRenderTargets.push(i)}this._depthMaterial=new ul,this._depthMaterial.userData.cameraTextureSize={value:new Hr},this._depthMaterial.userData.cameraTextureCutOffSize={value:new Hr},this._depthMaterial.userData.darkness={value:this._options.darkness},this._depthMaterial.onBeforeCompile=e=>{e.defines=e.defines||{},e.defines.CAMERA_CUTOFF=1,e.uniforms.cameraTextureSize=this._depthMaterial.userData.cameraTextureSize,e.uniforms.cameraTextureCutOffSize=this._depthMaterial.userData.cameraTextureCutOffSize,e.uniforms.darkness=this._depthMaterial.userData.darkness,e.fragmentShader=`\n\t\t\t\t\t\tuniform float darkness;\n\t\t\t\t\t\t${e.fragmentShader.replace("gl_FragColor = vec4( vec3( 1.0 - fragCoordZ ), opacity );","gl_FragColor = vec4( vec3( 0.0 ), ( 1.0 - fragCoordZ ) * darkness );")}\n\t\t\t\t\t`},this._depthMaterial.depthTest=!1,this._depthMaterial.depthWrite=!1}set MultiSampled(e){this._multiSampledTargets=e,this._groundMesh&&(this._groundMesh.material.contactShadowMapCascade=(this._multiSampledTargets?this._multiSampleRenderTargets:this._renderTargets).map(e=>e.texture),this._groundMesh.material.contactShadowMatrices=this._textureMatrices)}get Enabled(){return this._enabled}set Enabled(e){this._enabled=e,this._groundMesh&&(e?(this._groundMesh.material.contactShadowMapCascade=(this._multiSampledTargets?this._multiSampleRenderTargets:this._renderTargets).map(e=>e.texture),this._groundMesh.material.contactShadowMatrices=this._textureMatrices):(this._groundMesh.material.contactShadowMapCascade=null,this._groundMesh.material.contactShadowMatrices=null))}initialize(e){if(this._debug(),e&&!this._initialized&&this._enabled){this._groundMesh=e,this._blurTarget=cle.createBlurTarget({targetSize:new fr(dm.isIOS?512:1024,dm.isIOS?512:1024),planeSize:new fr(116e3*C,116e3*C),offsetZ:10*C,projected:!0,multiSampled:this._multiSampledTargets}),this._initialized=!0;for(let e=0;e<this._cameras.length;e++)Dhe.add(this._cameras[e]),Dhe.add(this._cameraHelpers[e]);this.MultiSampled=this._multiSampledTargets}}updateCamera(e){if(this._groundMesh&&this._enabled&&this._initialized){const t=new br;e.getWorldDirection(t);const r=new Mc(e.position,t).intersectObject(this._groundMesh);if(r&&r.length>0){this._canRender=!0;const e=r[0].point.clone();e.z=0;for(let t=0;t<this._cameras.length;t++)this._cameras[t].position.copy(e),this._cameras[t].position.z=-1}else this._canRender=!1}}render(e,t,r){if(!this._enabled)return void(this._groundMesh&&(this._groundMesh.material.contactShadowMapCascade=null,this._groundMesh.material.contactShadowMatrices=null));if(this._initialized||Kce.initialize(Fde.GroundMirror),!this._canRender||!this._groundMesh)return;if(0!==this._renderRecursion)return;this._renderRecursion++;const n=e.getRenderTarget(),i=e.xr.enabled,o=e.shadowMap.autoUpdate,s=new mi;e.getClearColor(s);const a=t.background,l=t.overrideMaterial;t.background=null,t.overrideMaterial=this._depthMaterial,e.xr.enabled=!1,e.shadowMap.autoUpdate=!1,e.setClearColor(16773120,0);const c=[];for(let e=0;e<this._cameras.length;e++)c.push(this._cameraHelpers[e].visible),this._cameraHelpers[e].visible=!1;this._groundMesh.visible=!1;for(let r=0;r<this._cameras.length;r++)this.updateTextureMatrix(r),this.renderSingleTarget(e,t,r);this._groundMesh.visible=!0;for(let e=0;e<this._cameras.length;e++)this._cameraHelpers[e].visible=c[e];e.setClearColor(s,1),e.xr.enabled=i,e.shadowMap.autoUpdate=o,e.setRenderTarget(n),t.background=a,t.overrideMaterial=l,r.isArrayCamera&&e.state.viewport(r.viewport),this._renderRecursion--}updateTextureMatrix(e){this._textureMatrices[e].set(.5,0,0,.5,0,.5,0,.5,0,0,.5,.5,0,0,0,1),this._textureMatrices[e].multiply(this._cameras[e].projectionMatrix),this._textureMatrices[e].multiply(this._cameras[e].matrixWorldInverse),this._textureMatrices[e].multiply(this._groundMesh.matrixWorld)}renderSingleTarget(e,t,r){e.setRenderTarget(this._multiSampledTargets?this._multiSampleRenderTargets[r]:this._renderTargets[r]),e.clear(),e.render(t,this._cameras[r]),this._blurTarget&&this._options.blur>0&&this._blurTarget.blur(this._multiSampledTargets?this._multiSampleRenderTargets[r]:this._renderTargets[r],e,this._cameras[r],this._options.blur/Math.pow(2,3-r))}dispose(){var e,t,r,n;null===(e=this._renderTargets)||void 0===e||e.forEach(e=>e.dispose()),null===(t=this._multiSampleRenderTargets)||void 0===t||t.forEach(e=>e.dispose()),null===(r=this._depthMaterial)||void 0===r||r.dispose(),null===(n=this._blurTarget)||void 0===n||n.dispose()}_debug(){if(Phe.DebugGUI&&!this._contactShadowFolder){const e={size:this._planeSize*C,far:this._cameraHeight*C,blur:this._options.blur,darkness:this._options.darkness,enabled:this._enabled,helper:!1,multiSampled:this._multiSampledTargets};this._contactShadowFolder=Wm.getSubFolder("Contact Shadow"),this._contactShadowFolder.add(e,"size",100*C,116e3*C).step(1).onChange(e=>{for(let t=0;t<this._cameras.length;t++){this._planeSize=e;const r=this._planeSize/Math.pow(2,t+1)/2;this._cameras[t].bottom=-r,this._cameras[t].top=r,this._cameras[t].left=-r,this._cameras[t].right=r,this._cameras[t].updateProjectionMatrix(),this._cameraHelpers[t].update()}}),this._contactShadowFolder.add(e,"far",1*C,1e4*C).step(1).onChange(e=>{for(let t=0;t<this._cameras.length;t++)this._cameras[t].far=e,this._cameras[t].updateProjectionMatrix(),this._cameraHelpers[t].update()}),this._contactShadowFolder.add(e,"darkness",0,5).step(.1).onChange(e=>{this._options.darkness=e,this._depthMaterial.userData.darkness.value=e}),this._contactShadowFolder.add(e,"blur",0,1).step(.01).onChange(t=>{this._options.blur=t,e.blur=t,this._groundMesh&&(this._groundMesh.material.contactShadowBlur=t)}),this._contactShadowFolder.add(e,"helper").onChange(e=>{for(let t=0;t<this._cameras.length;t++)this._cameraHelpers[t].visible=e}),this._contactShadowFolder.add(e,"multiSampled").onChange(t=>{e.multiSampled=t,this.MultiSampled=t}),this._contactShadowFolder.add(e,"enabled").onChange(e=>{this._enabled=e,this.Enabled=e})}}};const Zce=class extends Uce{constructor(e,t){super(e,t),this._minDistance=(""===Bde.CameraMinDistance||isNaN(Bde.CameraMinDistance)?1e3:Math.abs(+Bde.CameraMinDistance))*C,this._maxDistance=(""===Bde.CameraMaxDistance||isNaN(Bde.CameraMaxDistance)?1/0:Math.abs(+Bde.CameraMaxDistance))*C,this._isTargetRotation=!0,this._zoomSpeed=1,this._rotateSpeed=1,this._autoRotateSpeed=2,this._minPolarAngle=0,this._maxPolarAngle=Math.PI,this._noZoom=!1,this._noRotate=!1,this._noPan=!1,this._autoRotate=!1,this._EPS=1e-6,this._enableDamping=!1,this._dampingFactor=.14,this._rotateStart=new fr,this._rotateEnd=new fr,this._rotateDelta=new fr,this._rotate2Start=new fr,this._rotate2End=new fr,this._rotate2Delta=new fr,this._panStart=new fr,this._panEnd=new fr,this._panDelta=new fr,this._panOffset=new br,this._offset=new br,this._pan=new br,this._lastPosition=new br,this._phiDelta=0,this._thetaDelta=0,this._scale=1,this._lastQuaternion=new vr,this._quat=new vr,this._quatInverse=new vr,this._oldMatrix=new xn,this.down=e=>{super.down(e);const t=0===e.button||e.IsTouch&&1===e.touches.length,r=1===e.button||e.IsTouch&&2===e.touches.length;if(t&&!this._panSwitch){if(!0===this._noRotate||Bde.CameraDeactivateRotate)return;this._state=Bce.ROTATE,this._rotateStart.set(e.pageX,e.pageY),yce.stopAll();yce.addOrGet("rotateDelta",e.IsTouch?1:null).addPoint(new vce(this._rotateStart.toArray()))}else if(r&&(e.IsTouch||!this._panSwitch)||t&&this._panSwitch&&!e.IsTouch){if(!0===this._noZoom)return;this._state=Bce.PAN,e.IsTouch?this._panStart.set(e.centerPoint.x,e.centerPoint.y):this._panStart.set(e.pageX,e.pageY),yce.addOrGet("rotateDelta").stop(),yce.addOrGet("rotate2Delta").stop();yce.addOrGet("panDelta",e.IsTouch?1:null).addPoint(new vce(this._panStart.toArray()))}else if(2===e.button&&!e.IsTouch){if(!0===this._noPan||g_configuration.FixedCameraAngle||Bde.CameraDeactivateRotate2)return;this._state=Bce.ROTATE2,this._rotate2Start.set(-e.pageX,e.pageY),yce.stopAll();yce.addOrGet("rotate2Delta").addPoint(new vce(this._rotate2Start.toArray()))}},this.move=e=>{if(this._state!==Bce.NONE&&(Mme.CamAniClock.stop(),Mme.CamAniClock.waitCB&&Mme.CamAniClock.waitCB()),this._state===Bce.ROTATE){if(!0===this._noRotate||Bde.CameraDeactivateRotate)return;if(e.pageX&&e.pageY){this._rotateEnd.set(e.pageX,e.pageY),this._rotateDelta.subVectors(this._rotateStart,this._rotateEnd);yce.addOrGet("rotateDelta").addPoint(new vce(this._rotateEnd.toArray()))}else this._rotateEnd.copy(this._rotateStart),this._rotateDelta.subVectors(this._rotateStart,this._rotateEnd);this.rotateLeft(2*Math.PI*this._rotateDelta.x/this._domElement.clientWidth*this._rotateSpeed),this.rotateUp(2*Math.PI*this._rotateDelta.y/this._domElement.clientHeight*this._rotateSpeed),this._rotateStart.copy(this._rotateEnd)}else if(this._state===Bce.ROTATE2){if(!0===this._noRotate||g_configuration.FixedCameraAngle||Bde.CameraDeactivateRotate2)return;if(e.pageX&&e.pageY){this._rotate2End.set(-e.pageX,e.pageY),this._rotate2Delta.subVectors(this._rotate2End,this._rotate2Start);yce.addOrGet("rotate2Delta").addPoint(new vce(this._rotate2End.toArray()))}else this._rotate2End.copy(this._rotate2Start),this._rotate2Delta.subVectors(this._rotate2End,this._rotate2Start);this.rotate2Left(2*Math.PI*this._rotate2Delta.x/this._domElement.clientWidth*this._rotateSpeed),this.rotate2Up(2*Math.PI*this._rotate2Delta.y/this._domElement.clientHeight*this._rotateSpeed),this._rotate2Start.copy(this._rotate2End)}else if(this._state===Bce.PAN){if(g_configuration.FixedCameraAngle||Bde.CameraDeactivatePan)return;if(e.IsTouch&&!0===this._noZoom&&!0===this._noPan)return;if(!e.IsTouch&&!0===this._noPan)return;if(e.pageX&&e.pageY){this._panEnd.set(e.pageX,e.pageY),this._panDelta.subVectors(this._panEnd,this._panStart),this.pan(this._panDelta.x,this._panDelta.y),this._panStart.copy(this._panEnd);yce.addOrGet("panDelta").addPoint(new vce([this._panEnd.x,this._panEnd.y]))}else this._panEnd.copy(this._panStart),this._panDelta.subVectors(this._panEnd,this._panStart)}Ame.requestRendering(),this.update(),super.move(e)},this.up=e=>{super.up(e);const t=this._domElement===document?this._domElement.body:this._domElement;if(Bde.CameraDeactivateRotate||this._state!==Bce.ROTATE||this._noRotate)if(Bde.CameraDeactivateRotate2||g_configuration.FixedCameraAngle||this._state!==Bce.ROTATE2||this._noRotate)if(Bde.CameraDeactivatePan||g_configuration.FixedCameraAngle||this._state!==Bce.PAN||this._noPan)this.dispatchEvent(this._endEvent),this._state=Bce.NONE;else{yce.addOrGet("panDelta").end(e=>{this._state=Bce.PAN,this.pan(-e.x,-e.y),this.update()},()=>{this.dispatchEvent(this._endEvent),this._state=Bce.NONE})}else{yce.addOrGet("rotate2Delta").end(e=>{this._state=Bce.ROTATE2,this.rotate2Left(2*Math.PI*-e.x/t.clientWidth*this._rotateSpeed),this.rotate2Up(2*Math.PI*e.y/t.clientHeight*this._rotateSpeed),this.update()},()=>{this.dispatchEvent(this._endEvent),this._state=Bce.NONE})}else{yce.addOrGet("rotateDelta").end(e=>{this._state=Bce.ROTATE,this.rotateLeft(2*Math.PI*e.x/t.clientWidth*this._rotateSpeed),this.rotateUp(2*Math.PI*e.y/t.clientHeight*this._rotateSpeed),this.update()},()=>{this.dispatchEvent(this._endEvent),this._state=Bce.NONE})}},this.zoom=e=>{if(!0===this._noZoom)return;Mme.EndAnimationRequest();let t=null;const r=new br;if(e.IsTouch){r.set(e.centerPoint.x/this._domElement.clientWidth*2-1,-e.centerPoint.y/this._domElement.clientHeight*2+1,.5);let t=!0;for(let e=0;e<this._camera.matrixWorld.elements.length;e++)if(isNaN(this._camera.matrixWorld.elements[e])){t=!1;break}t?this._oldMatrix.copy(this._camera.matrixWorld):this._camera.matrixWorld.copy(this._oldMatrix),r.unproject(this._camera)}let n=[this._camera.position.x,this._camera.position.y,this._camera.position.z],i=[this._target.x,this._target.y,this._target.z],o=[0,0,0];Bde.CameraDeactivatePan&&Bde.CameraDeactivateRotate2||g_configuration.FixedCameraAngle||Mse.HRThemeManager.IsBackend&&Mse.HRThemeManager.IsEnabled?o=Cp.DHGetVector(n,this._centerPoint):(t=e.IsTouch?r.sub(this._camera.position).normalize():aue.CurrentCamera.mouseTo3D(e.offsetX,e.offsetY).sub(this._camera.position).normalize(),o=[t.x,t.y,t.z]);let s=Cp.DHBetrag(n,this._centerPoint),a=e.IsTouch?4:250;if(Mse.HRThemeManager.IsBackend&&Mse.HRThemeManager.IsEnabled&&(a/=4),e.zoomDelta<0)if(e.IsTouch){let t=a/(Bde.FurnplanCameraMode?1:1e3/(s/C));t=t>7?7:t,t*=C,n=Cp.DHGoVector(n,t*e.zoomDelta,o),i=Cp.DHGoVector(i,t*e.zoomDelta,o)}else{let e=a/(Bde.FurnplanCameraMode?1:6e3/(s/C));e=e>1e3?1e3:e,e*=C,n=Cp.DHGoVector(n,-e,o),i=Cp.DHGoVector(i,-e,o)}else if(e.IsTouch){let t=a/(Bde.FurnplanCameraMode?1:1e3/(s/C));t=t>7?7:t,t*=C,n=Cp.DHGoVector(n,t*e.zoomDelta,o),i=Cp.DHGoVector(i,t*e.zoomDelta,o)}else{let e=a/(Bde.FurnplanCameraMode?1:6e3/(s/C));e=e>1e3?1e3:e,e*=C,n=Cp.DHGoVector(n,e,o),i=Cp.DHGoVector(i,e,o)}s=Cp.DHBetrag(n,this._centerPoint),n[2]<1*C||e.zoomDelta>0&&s<this._minDistance||e.zoomDelta<0&&s>this._maxDistance||(this._camera.position.set(n[0],n[1],n[2]),this._target.set(i[0],i[1],i[2]),e.IsTouch&&this._camera.lookAt(i[0],i[1],i[2])),this.update(),super.zoom(e),this.dispatchEvent(this._startEvent),this.dispatchEvent(this._endEvent),ape.saveCameraPosition(!1),Ame.requestRendering()},this._state=Bce.NONE,this._quat=(new vr).setFromUnitVectors(this._camera.up,new br(0,0,1)),this._quatInverse=this._quat.clone().invert(),this._camera.up=new br(0,0,1),this.update()}get IsTargetRotation(){return this._isTargetRotation}set IsTargetRotation(e){this._isTargetRotation=e}get AutoRotate(){return this._autoRotate}set AutoRotate(e){this._autoRotate=e}VectorRotate2DAxisPoint(e,t,r){t instanceof br&&(t=t.toArray()),e instanceof br&&(e=e.toArray());const n=new br,i=new br;return i.x=t[0]-e[0],i.y=t[1]-e[1],i.z=0,n.x=Math.cos(r)*i.x-Math.sin(r)*i.y,n.y=Math.sin(r)*i.x+Math.cos(r)*i.y,n.x+=e[0],n.y+=e[1],n}RotateCameraAndDestAroundPoint(e,t,r,n=!0){e instanceof br&&(e=e.toArray());const i=this._target.clone(),o=this._camera.position.clone(),s=(t,r,n,i,s)=>{let l=null;if("back_center"===Bde.CameraRotationPoint)l=fle.CalcCenterBackBottomPoint(!0);else l=fle.CalcCenterPointBottom(!0);const c=s.position.toVector().distanceTo(s.target.toVector()),u=Cp.DHGoVector(l,c,[0,-1,0]),d=s.position.toVector();d.z=0;s.target.toVector().z=0;const h=new br(o.x,o.y,0),p=Cp.DHAngle3D(l,h,u,[0,0,1])*Cp.Rad2Deg;let m=Cp.DHAngle3D(l,d,u,[0,0,1])*Cp.Rad2Deg;return m=180===m?0:m,t&&m>t?a(n,(p-t)*Cp.Deg2Rad):r&&m<r?a(e,(p-r)*Cp.Deg2Rad):s},a=(e,t)=>{const r=i.clone(),n=o.clone(),s=this.VectorRotate2DAxisPoint(e,r,t),a=this.VectorRotate2DAxisPoint(e,n,t);return a.z=n.z,s.z=r.z,{position:a.toArray(),target:s.toArray()}},l=(e,t)=>{const r=i.clone(),n=o.clone(),s=new br(0,0,1),a=new br;a.x=r.x-n.x,a.y=r.y-n.y,a.z=r.z-n.z;const l=Cp.DHVecCross3D(a,s),c=Cp.DHGoVector(e,10,l,!1),u=Cp.DHCreateArcPoint3D(e,c,r,t);return{position:Cp.DHCreateArcPoint3D(e,c,n,t),target:u}},c=(t,r,n,s,a)=>{const c=new br(a.position[0],a.position[1],0),u=new br(o.x,o.y,0),d=a.position.toVector(),h=a.target.toVector(),p=Cp.DHCalcNormal(i,u,o),m=Cp.DHAngle3D(i,u,o,p)*Cp.Rad2Deg,_=Cp.DHCalcNormal(h,c,d);if(Math.floor(-100*p[0])/100==Math.floor(100*_[0])/100||Math.floor(-100*p[1])/100==Math.floor(100*_[1])/100)return null;const g=Cp.DHAngle3D(h,c,d,_)*Cp.Rad2Deg;return t&&g>t?l(n,(t-m)*Cp.Deg2Rad):r&&g<r?l(e,(r-m)*Cp.Deg2Rad):a};return((e,t)=>{const r=o.clone(),n=i.clone();let l=a(e,t);l.position[2]<=0&&(l.target=n.clone().toArray(),l.position=r.clone().toArray()),g_configuration.FixedCameraAngle&&g_configuration.FixedCameraAngle.left&&g_configuration.FixedCameraAngle.right&&!Mse.HRThemeManager.IsEnabled?l=s(g_configuration.FixedCameraAngle.left,-g_configuration.FixedCameraAngle.right,e,0,l):!Mme.CamAniClock.running&&aue.MainWall&&Bde.EnableAutomaticWall&&Bde.CameraFixedView&&(l=s(90,-90,e,0,l)),i.copy(l.target.toVector()),o.copy(l.position.toVector())})(e,-r),((e,t)=>{const r=o.clone(),n=i.clone();try{let s=l(e,t);s=c(null,0,e,0,s),g_configuration.FixedCameraAngle&&!Mse.HRThemeManager.IsEnabled&&(s=c(g_configuration.FixedCameraAngle.top,g_configuration.FixedCameraAngle.bottom,e,0,s)),s&&s.position[2]<=0&&(s.target=n.clone(),s.position=r.clone()),s&&(i.copy(s.target instanceof br?s.target:s.target.toVector()),o.copy(s.position instanceof br?s.position:s.position.toVector()))}catch(e){i.copy(n.clone()),o.copy(r.clone())}})(e,t),(n||void 0===n)&&(this._target.copy(i),this._camera.position.copy(o)),{eye:o,target:i}}rotateLeft(e){void 0===e&&(e=this.getAutoRotationAngle()),this._thetaDelta-=e}rotateUp(e){void 0===e&&(e=this.getAutoRotationAngle()),this._phiDelta-=e}rotate2Left(e){void 0===e&&(e=this.getAutoRotationAngle()),this._thetaDelta-=e}rotate2Up(e){void 0===e&&(e=this.getAutoRotationAngle()),this._phiDelta-=e}panLeft(e){const t=this._camera.matrix.elements;this._panOffset.set(t[0],t[1],t[2]),this._panOffset.multiplyScalar(-e),this._pan.add(this._panOffset)}panUp(e){const t=this._camera.matrix.elements;this._panOffset.set(t[4],t[5],t[6]),this._panOffset.multiplyScalar(e),this._pan.add(this._panOffset)}pan(e,t){const r=this._domElement===document?this._domElement.body:this._domElement;if(void 0!==this._camera.fov){let n=this._camera.position.clone().sub(this._target).length();n*=Math.tan(this._camera.fov/2*Math.PI/180),this.panLeft(2*e*n/r.clientHeight),this.panUp(2*t*n/r.clientHeight)}else void 0!==this._camera.top?(this.panLeft(e*(this._camera.right-this._camera.left)/r.clientWidth),this.panUp(t*(this._camera.top-this._camera.bottom)/r.clientHeight)):console.warn("WARNING: OrbitControls.js encountered an unknown camera type - pan disabled.")}update(){if(!Xce.IsActive&&mm.getViewMode()!==Ep.AR){if(this._state!==Bce.ROTATE2){const e=this._camera.position,t=e.clone(),r=this._target.clone();this._offset.copy(e).sub(this._centerPoint),this._offset.applyQuaternion(this._quat);let n=0,i=0;this._autoRotate&&this.rotateLeft(this.getAutoRotationAngle()),n+=this._thetaDelta,i+=this._phiDelta;const o=this._offset.length()*this._scale;this.RotateCameraAndDestAroundPoint(this._centerPoint,i,n),this._target.add(this._pan),e.add(this._pan),this._offset.applyQuaternion(this._quatInverse);const s=new br;if(s.copy(e),s.z<1*C)this._target.copy(r),e.copy(t);else{const t=Cp.DHGetVector(e.toArray(),this._target.toArray()),r=Cp.DHGoVector(e.toArray(),o,t);1===this._scale&&this._target.set(r[0],r[1],r[2]),this._camera.lookAt(this._target),this._camera.updateMatrix()}!0===this._enableDamping?(this._thetaDelta*=1-this._dampingFactor,this._phiDelta*=1-this._dampingFactor,this._pan.multiplyScalar(1-this._dampingFactor)):(this._thetaDelta=0,this._phiDelta=0,this._pan.set(0,0,0)),this._scale=1,(this._lastPosition.distanceToSquared(this._camera.position)>this._EPS||8*(1-this._lastQuaternion.dot(this._camera.quaternion))>this._EPS)&&(this._lastPosition.copy(this._camera.position),this._lastQuaternion.copy(this._camera.quaternion))}else{const e=this._camera.position;this._offset.copy(this._target).sub(e),this._offset.applyQuaternion(this._quat);let t=Math.atan2(this._offset.x,this._offset.z),r=Math.atan2(Math.sqrt(this._offset.x*this._offset.x+this._offset.z*this._offset.z),this._offset.y);this._autoRotate&&this.rotateLeft(this.getAutoRotationAngle()),t+=this._thetaDelta,r+=this._phiDelta,r=Math.max(this._minPolarAngle,Math.min(this._maxPolarAngle,r)),r=Math.max(this._EPS,Math.min(Math.PI-this._EPS,r));let n=this._offset.length()*this._scale;n=Math.max(this._minDistance,Math.min(this._maxDistance,n)),this._target.add(this._pan),this._offset.x=n*Math.sin(r)*Math.sin(t),this._offset.y=n*Math.cos(r),this._offset.z=n*Math.sin(r)*Math.cos(t),this._offset.applyQuaternion(this._quatInverse),this._target.copy(e).add(this._offset);const i=Cp.DHGetVector([e.x,e.y,e.z],[this._target.x,this._target.y,this._target.z]),o=Cp.DHGoVector([e.x,e.y,e.z],3e3*C,i);1===this._scale&&this._target.set(o[0],o[1],o[2]),this._camera.lookAt(this._target),this._thetaDelta=0,this._phiDelta=0,this._scale=1,this._pan.set(0,0,0),(this._lastPosition.distanceToSquared(this._camera.position)>this._EPS||8*(1-this._lastQuaternion.dot(this._camera.quaternion))>this._EPS)&&(this._lastPosition.copy(this._camera.position),this._lastQuaternion.copy(this._camera.quaternion))}super.update(),Kce.updateCamera(this._camera),mm.getViewMode()===Ep.AR&&Ame.requestRendering(),Phe.CameraDebug(aue)}}getAutoRotationAngle(){return 2*Math.PI/60/60*this._autoRotateSpeed}},eue=function(e){const t=this;this.triggerEvents=[],this.object=e,this.object.rotation.reorder("YXZ"),this.enabled=!0,this.deviceOrientation={},this.screenOrientation=0;const r=function(e){t.deviceOrientation=e},n=function(){t.screenOrientation=window.orientation||0},i=function(){const e=new br(0,0,1),t=new Rn,r=new vr,n=new vr(-Math.sqrt(.5),0,0,Math.sqrt(.5));return function(i,o,s,a,l){t.set(s,o,-a,"ZXY"),i.setFromEuler(t),i.multiply(n),i.multiply(r.setFromAxisAngle(e,-l))}}();this.connect=function(){n(),window.addEventListener("orientationchange",n,!1),window.addEventListener("deviceorientation",r,!1),t.enabled=!0},this.disconnect=function(){window.removeEventListener("orientationchange",n,!1),window.removeEventListener("deviceorientation",r,!1),t.enabled=!1},this.update=function(){if(!1===t.enabled)return;const e=t.deviceOrientation.alpha?gr.degToRad(t.deviceOrientation.alpha):0,r=t.deviceOrientation.beta?gr.degToRad(t.deviceOrientation.beta):0,n=t.deviceOrientation.gamma?gr.degToRad(t.deviceOrientation.gamma):0,o=t.screenOrientation?gr.degToRad(t.screenOrientation):0;i(t.object.quaternion,e,r,n,o);for(const e in t.triggerEvents)t.triggerEvents[e].func instanceof Function&&(t.triggerEvents[e].from.newFunc=t.triggerEvents[e].func,t.triggerEvents[e].from.newFunc())},this.connect()};const tue={};tue.Regular=Zce,tue.Static=class extends Uce{constructor(e,t){super(e,t),this._isTargetRotation=!0,this._zoomSpeed=1,this._minDistance=-1/0,this._maxDistance=1/0,this._rotateSpeed=1,this._autoRotateSpeed=2,this._minPolarAngle=0,this._maxPolarAngle=Math.PI,this._noZoom=!1,this._noRotate=!1,this._autoRotate=!1,this._EPS=1e-6,this._enableDamping=!1,this._dampingFactor=.14,this._rotateStart=new fr,this._rotateEnd=new fr,this._rotateDelta=new fr,this._offset=new br,this._lastPosition=new br,this._phiDelta=0,this._thetaDelta=0,this._scale=1,this._lastQuaternion=new vr,this._quat=new vr,this._quatInverse=new vr,this._oldMatrix=new xn,this.down=e=>{if(0===e.button||e.IsTouch&&1===e.touches.length){if(!0===this._noRotate)return;if(this._state=Bce.ROTATE,this._rotateStart.set(e.pageX,e.pageY),e.IsTouch){yce.stopAll();yce.addOrGet("rotateDelta",e.IsTouch?1:null).addPoint(new vce(this._rotateStart.toArray()))}}},this.move=e=>{if(Mme.CamAniClock.stop(),Mme.CamAniClock.waitCB&&Mme.CamAniClock.waitCB(),this._state===Bce.ROTATE){if(!0===this._noRotate)return;if(this._rotateEnd.set(e.pageX,e.pageY),this._rotateDelta.subVectors(this._rotateStart,this._rotateEnd),e.IsTouch){yce.addOrGet("rotateDelta").addPoint(new vce(this._rotateEnd.toArray()))}this.rotateLeft(2*Math.PI*this._rotateDelta.x/this._domElement.clientWidth*this._rotateSpeed),this.rotateUp(2*Math.PI*this._rotateDelta.y/this._domElement.clientHeight*this._rotateSpeed),this._rotateStart.copy(this._rotateEnd),Ame.requestRendering()}this.update(),super.move(e)},this.up=e=>{const t=this._domElement===document?this._domElement.body:this._domElement;if(e.IsTouch&&this._state===Bce.ROTATE&&!this._noRotate){yce.addOrGet("rotateDelta").end(e=>{this._state=Bce.ROTATE,this.rotateLeft(2*Math.PI*e.x/t.clientWidth*this._rotateSpeed),this.rotateUp(2*Math.PI*e.y/t.clientHeight*this._rotateSpeed),this.update()},()=>{this.dispatchEvent(this._endEvent),this._state=Bce.NONE})}else this.dispatchEvent(this._endEvent),this._state=Bce.NONE},this.zoom=e=>{if(!0===this._noZoom)return;const t=new br;if(e.IsTouch){t.set(e.centerPoint.x/this._domElement.clientWidth*2-1,-e.centerPoint.y/this._domElement.clientHeight*2+1,.5);let r=!0;for(let e=0;e<this._camera.matrixWorld.elements.length;e++)if(isNaN(this._camera.matrixWorld.elements[e])){r=!1;break}r?this._oldMatrix.copy(this._camera.matrixWorld):this._camera.matrixWorld.copy(this._oldMatrix),t.unproject(this._camera)}let r=[this._camera.position.x,this._camera.position.y,this._camera.position.z],n=[this._target.x,this._target.y,this._target.z];const i=Cp.DHGetVector(r,this._centerPoint);e.zoomDelta<0?e.IsTouch?(r=Cp.DHGoVector(r,5*e.zoomDelta,i),n=Cp.DHGoVector(n,5*e.zoomDelta,i)):(r=Cp.DHGoVector(r,-250,i),n=Cp.DHGoVector(n,-250,i)):e.IsTouch?(r=Cp.DHGoVector(r,5*e.zoomDelta,i),n=Cp.DHGoVector(n,5*e.zoomDelta,i)):(r=Cp.DHGoVector(r,250,i),n=Cp.DHGoVector(n,250,i));const o=Cp.DHBetrag(r,this._centerPoint);r[2]<1||e.zoomDelta>0&&o<1e3||e.zoomDelta<0&&o>1e4||(this._camera.position.set(r[0],r[1],r[2]),this._target.set(n[0],n[1],n[2]),e.IsTouch&&this._camera.lookAt(n[0],n[1],n[2])),this.update(),super.zoom(e),this.dispatchEvent(this._startEvent),this.dispatchEvent(this._endEvent),ape.saveCameraPosition(),Ame.requestRendering()},this._state=Bce.NONE,this._quat=(new vr).setFromUnitVectors(this._camera.up,new br(0,0,1)),this._quatInverse=this._quat.clone().invert(),this._camera.up=new br(0,0,1),this.update()}get IsTargetRotation(){return this._isTargetRotation}set IsTargetRotation(e){this._isTargetRotation=e}get AutoRotate(){return this._autoRotate}set AutoRotate(e){this._autoRotate=e}VectorRotate2DAxisPoint(e,t,r){t instanceof br&&(t=t.toArray()),e instanceof br&&(e=e.toArray());const n=new br,i=new br;return i.x=t[0]-e[0],i.y=t[1]-e[1],i.z=0,n.x=Math.cos(r)*i.x-Math.sin(r)*i.y,n.y=Math.sin(r)*i.x+Math.cos(r)*i.y,n.x+=e[0],n.y+=e[1],n}RotateCameraAndDestAroundPoint(e,t,r,n=!0){e instanceof br&&(e=e.toArray());let i=this._target.clone();const o=this._camera.position.clone(),s=()=>o.z<0,a=o.clone(),l=i.clone();return((e,t)=>{let r=new br,n=new br,c=new br,u=new br;r=i.clone(),n=o.clone(),c=this.VectorRotate2DAxisPoint(e,r,t),u=this.VectorRotate2DAxisPoint(e,n,t),i.copy(c),i.z=r.z,o.copy(u),o.z=n.z,s()&&(i.copy(l.clone()),o.copy(a.clone()))})(e,-r),(n||void 0===n)&&(this._target.copy(i),this._camera.position.copy(o)),{eye:o,target:i}}rotateLeft(e){void 0===e&&(e=this.getAutoRotationAngle()),this._thetaDelta-=e}rotateUp(e){void 0===e&&(e=this.getAutoRotationAngle()),this._phiDelta-=e}update(){if(!Xce.IsActive&&mm.getViewMode()!==Ep.AR){if(this._state!==Bce.ROTATE2){const e=this._camera.position,t=e.clone(),r=this._target.clone();this._offset.copy(e).sub(this._centerPoint),this._offset.applyQuaternion(this._quat);let n=0,i=0;this._autoRotate&&this.rotateLeft(this.getAutoRotationAngle()),n+=this._thetaDelta,i+=this._phiDelta;const o=this._offset.length()*this._scale;this.RotateCameraAndDestAroundPoint(this._centerPoint,i,n),this._offset.applyQuaternion(this._quatInverse);const s=new br;if(s.copy(e),s.z<1)this._target.copy(r),e.copy(t);else{const t=Cp.DHGetVector([e.x,e.y,e.z],[this._target.x,this._target.y,this._target.z]),r=Cp.DHGoVector([e.x,e.y,e.z],o,t);1===this._scale&&this._target.set(r[0],r[1],r[2]),this._camera.lookAt(this._target),this._camera.updateMatrix()}!0===this._enableDamping?(this._thetaDelta*=1-this._dampingFactor,this._phiDelta*=1-this._dampingFactor):(this._thetaDelta=0,this._phiDelta=0),this._scale=1,(this._lastPosition.distanceToSquared(this._camera.position)>this._EPS||8*(1-this._lastQuaternion.dot(this._camera.quaternion))>this._EPS)&&(this._lastPosition.copy(this._camera.position),this._lastQuaternion.copy(this._camera.quaternion))}else{const e=this._camera.position;this._offset.copy(this._target).sub(e),this._offset.applyQuaternion(this._quat);let t=Math.atan2(this._offset.x,this._offset.z),r=Math.atan2(Math.sqrt(this._offset.x*this._offset.x+this._offset.z*this._offset.z),this._offset.y);this._autoRotate&&this.rotateLeft(this.getAutoRotationAngle()),t+=this._thetaDelta,r+=this._phiDelta,r=Math.max(this._minPolarAngle,Math.min(this._maxPolarAngle,r)),r=Math.max(this._EPS,Math.min(Math.PI-this._EPS,r));let n=this._offset.length()*this._scale;n=Math.max(this._minDistance,Math.min(this._maxDistance,n)),this._offset.x=n*Math.sin(r)*Math.sin(t),this._offset.y=n*Math.cos(r),this._offset.z=n*Math.sin(r)*Math.cos(t),this._offset.applyQuaternion(this._quatInverse),this._target.copy(e).add(this._offset);const i=Cp.DHGetVector([e.x,e.y,e.z],[this._target.x,this._target.y,this._target.z]),o=Cp.DHGoVector([e.x,e.y,e.z],3e3,i);1===this._scale&&this._target.set(o[0],o[1],o[2]),this._camera.lookAt(this._target),this._thetaDelta=0,this._phiDelta=0,this._scale=1,(this._lastPosition.distanceToSquared(this._camera.position)>this._EPS||8*(1-this._lastQuaternion.dot(this._camera.quaternion))>this._EPS)&&(this._lastPosition.copy(this._camera.position),this._lastQuaternion.copy(this._camera.quaternion))}super.update(),mm.getViewMode()===Ep.AR&&Ame.requestRendering(),Phe.CameraDebug(aue)}}getAutoRotationAngle(){return 2*Math.PI/60/60*this._autoRotateSpeed}},tue.AR=Vce,tue.DeviceOrientationControls=eue;const rue=tue;var nue,iue;!function(e){e[e.ZOOMAUTO_EXTENDEDAPOINT=0]="ZOOMAUTO_EXTENDEDAPOINT",e[e.ZOOMAUTO_EXTENDEDDIR=1]="ZOOMAUTO_EXTENDEDDIR",e[e.ZOOMAUTO_FRONTCLIP=2]="ZOOMAUTO_FRONTCLIP",e[e.ZOOMAUTO_ROTATE2PI=3]="ZOOMAUTO_ROTATE2PI",e[e.ZOOMAUTO_ORTHOCLIP=4]="ZOOMAUTO_ORTHOCLIP",e[e.ZOOMAUTO_ZOOMFACTOR=5]="ZOOMAUTO_ZOOMFACTOR",e[e.ZOOMAUTO_ORTHOFRONT=6]="ZOOMAUTO_ORTHOFRONT",e[e.ZOOMAUTO_PANUPDOWN=7]="ZOOMAUTO_PANUPDOWN",e[e.ZOOMAUTO_EXTENDEDCURDIR=8]="ZOOMAUTO_EXTENDEDCURDIR",e[e.ZOOMAUTO_CAM_ROTATEMPV=9]="ZOOMAUTO_CAM_ROTATEMPV",e[e.ZOOMAUTO_CAM_ROTATEMPH=10]="ZOOMAUTO_CAM_ROTATEMPH",e[e.ZOOMAUTO_CAM_ROTATEABOUTMARKED=11]="ZOOMAUTO_CAM_ROTATEABOUTMARKED",e[e.ZOOMAUTO_CAM_ROTATEEYELEFTRIGHT=12]="ZOOMAUTO_CAM_ROTATEEYELEFTRIGHT",e[e.ZOOMAUTO_CAM_ROTATEEYEUPDOWN=13]="ZOOMAUTO_CAM_ROTATEEYEUPDOWN",e[e.ZOOMAUTO_CAM_ROTATELEFTRIGHT=14]="ZOOMAUTO_CAM_ROTATELEFTRIGHT",e[e.ZOOMAUTO_CAM_MOVELEFTRIGHT=15]="ZOOMAUTO_CAM_MOVELEFTRIGHT",e[e.ZOOMAUTO_CAM_MOVEAXIS3D=16]="ZOOMAUTO_CAM_MOVEAXIS3D",e[e.ZOOMAUTO_CAM_MOVEUPDOWN=17]="ZOOMAUTO_CAM_MOVEUPDOWN",e[e.ZOOMAUTO_CAM_SETVIEWPOINTMODE=18]="ZOOMAUTO_CAM_SETVIEWPOINTMODE"}(nue||(nue={})),function(e){e[e.TopLeftFront=-1000109]="TopLeftFront",e[e.TopRightFront=-1000110]="TopRightFront",e[e.TopLeftBack=-1000108]="TopLeftBack",e[e.TopRightBack=-1000107]="TopRightBack",e[e.Left=-1000102]="Left",e[e.Right=-1000101]="Right",e[e.Front=-1000106]="Front",e[e.Back=-1000105]="Back",e[e.Top=-1000103]="Top"}(iue||(iue={}));const oue=class extends mce{constructor(){super(),this.TargetPos=[0,0,0],this.EyePos=[0,0,0],this.FirstTargetPos=[0,0,0],this.FirstEyePos=[0,0,0],this._far=55e3*C,this._near=100*C,this._cameraManagerService=null}get DirectionVector(){return Cp.DH2Vector3(Cp.DHGetVector(this._cameraManagerService.CurrentCameraControl.Camera.position.toArray(),this._cameraManagerService.CurrentCameraControl.Target.toArray()))}setZoomModeToVectorSpecial(e,t){return aue.resetToMain(),t?new Promise(t=>{ape.setZoomMode(iue.TopLeftFront,e,{type:1,param1:0,param2:-.509,param3:-.828,param4:.232},t)}):ape.setZoomMode(iue.TopLeftFront,e,{type:1,param1:0,param2:-.509,param3:-.828,param4:.232})}setZoomModeToTopLeftFront(e,t){return aue.resetToMain(),t?new Promise(t=>{ape.setZoomMode(iue.TopLeftFront,e,{},t)}):ape.setZoomMode(iue.TopLeftFront,e)}startZoom(e,t,r){return wse.IsEnabled?Promise.resolve(null):(r&&$le.clear(),Bde.CameraDefaultZoom?Bde.CameraVectorSpecial?this.setZoomModeToVectorSpecial(e,t):this.setZoomModeToTopLeftFront(e,t):Bde.CameraFrontDefaultZoom?this.setFrontView(e,t):void this.GoToStart(e))}RotateAroundCenter(e,t,r=!0,n=1e3){const i=this._cameraManagerService.CurrentCameraControl,o=i.Camera,s=i.Target.clone(),a=o.position.clone().sub(s).length(),l=e/a,c=t/a,u=i.RotateCameraAndDestAroundPoint(i._centerPoint,c,l,!1);u&&(this.GoToPos({eye:u.eye,target:u.target,animated:r,preventOffset:!0,endTime:n}),i.update())}Pan(e,t){const r=this._cameraManagerService.CurrentCameraControl;r.pan(e,t),r.update()}initialize(e){this._cameraManagerService=e,this._camera=new lo(45,fme.WIDTH/fme.HEIGHT,this._near,this._far),this._camera.position.z=3080*C,this._camera.position.y=-2730*C,this._camera.position.x=-4410*C,this._camera.name="Perspective Camera Fusion.js";const t=new rue.Regular(this._camera,fme.RenderDiv);return t.damping=.2,t.Target=new br(1,1,1),t.update(),$(document).ready(()=>{$("#btnP1").click(()=>{Bde.CameraVectorSpecial?this.setZoomModeToVectorSpecial():this.setZoomModeToTopLeftFront()}),$("#btnViewModeFront").click(()=>{this.setFrontView()})}),t}setFrontView(e,t){if(!Mse.HRThemeManager.IsEnabled)return aue.resetToMain(),t?new Promise(t=>{ape.setZoomMode(iue.Front,e,{},t)}):ape.setZoomMode(iue.Front,e)}GoToStart(e){Xce.IsActive||wse.IsEnabled||(Bde.NoCameraInteractionMode=!1,e=void 0===e||e,this.TargetPos=this.FirstTargetPos,this.EyePos=this.FirstEyePos,e?Mme.StartNewCamPosByAnimation(this.FirstEyePos,this.FirstTargetPos):(this._cameraManagerService.CurrentCameraControl.Camera.position.set(this.FirstEyePos[0],this.FirstEyePos[1],this.FirstEyePos[2]),this._cameraManagerService.CurrentCameraControl.Target.set(this.FirstTargetPos[0],this.FirstTargetPos[1],this.FirstTargetPos[2]),this._camera.updateMatrix(),this._camera.updateMatrixWorld()))}ZoomIn(){this.zoom(1)}ZoomOut(){this.zoom(-1)}TogglePanMode(){return this._cameraManagerService.CurrentCameraControl.PanSwitch=!this._cameraManagerService.CurrentCameraControl.PanSwitch,this._cameraManagerService.CurrentCameraControl.PanSwitch}zoom(e){if(Xce.IsExperimental&&Xce.IsActive)return;let t=[this._cameraManagerService.CurrentCameraControl.Camera.position.x,this._cameraManagerService.CurrentCameraControl.Camera.position.y,this._cameraManagerService.CurrentCameraControl.Camera.position.z],r=[this._cameraManagerService.CurrentCameraControl.Target.x,this._cameraManagerService.CurrentCameraControl.Target.y,this._cameraManagerService.CurrentCameraControl.Target.z];const n=new br;n.set(0,0,.5);let i=!0;for(let e=0;e<this._cameraManagerService.CurrentCameraControl.Camera.matrixWorld.elements.length;e++)if(isNaN(this._cameraManagerService.CurrentCameraControl.Camera.matrixWorld.elements[e])){i=!1;break}i?this.oldMatrix.copy(this._cameraManagerService.CurrentCameraControl.Camera.matrixWorld):this._cameraManagerService.CurrentCameraControl.Camera.matrixWorld.copy(this.oldMatrix),n.unproject(this._cameraManagerService.CurrentCameraControl.Camera);const o=n.sub(this._cameraManagerService.CurrentCameraControl.Camera.position).normalize(),s=[o.x,o.y,o.z];e<0?(t=Cp.DHGoVector(t,-1e3*C,s),r=Cp.DHGoVector(r,-1e3*C,s)):(t=Cp.DHGoVector(t,2e3*C,s),r=Cp.DHGoVector(r,2e3*C,s)),t[2]<1||this.GoToPos({eye:t,target:r,animated:!0,endTime:1e3}),this._cameraManagerService.CurrentCameraControl.update()}};var sue=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};const aue=new class{constructor(){this._loadedDefer=Om(),this._cameras={},this._currentCamera={camera:null,control:null},this._lastPOList=[],this._centerPointNeedsUpdate=!1,this._mainWall=null}get Loaded(){return this._loadedDefer}get MainWall(){return this._mainWall}set MainWall(e){this._mainWall=e}get CenterPointNeedsUpdate(){return this._centerPointNeedsUpdate}set CenterPointNeedsUpdate(e){this._centerPointNeedsUpdate=e}get CurrentCamera(){return this._currentCamera.initialize,this._currentCamera.camera}get CurrentCameraControl(){return this._currentCamera.control}isCameraAndControl(e){return this._cameras[e]==this._currentCamera}hasCameraAndControl(e){return!!this._cameras[e]}createCameraAndControl(e,t,r){this.hasCameraAndControl(e)||(this._cameras[e]={camera:t,control:r})}updateCamera(){return sue(this,void 0,void 0,function*(){!Bde.CameraFixedView&&g_configuration.FixedCameraAngle&&lae.CountPO()>1?(yield ape.saveCameraPosition(),yield this.CurrentCamera.startZoom(!1,!0),yield ape.saveCameraPosition(),this.CurrentCamera.Camera.position.z=1600*C,this.CurrentCamera.Camera.updateMatrixWorld(),yield ape.saveCameraPosition(),this.fitCameraToObjectList(lae.getPOs(),!0,!0)):Bde.CameraFixedView&&Bde.CameraFixedVector?aue.CurrentCamera.resetByVector(!0):yield this.CurrentCamera.startZoom(!1)})}calculateFrontView(e,t=1600*C,r=!1){if(!e&&e.length)return;const n=e.length,i=new br;for(let t=0;t<n;t++)i.add(Cp.DH2Vector3(Cp.DHGetVector(e[t].wp1,e[t].wp2)));i.normalize();const o=Cp.DHVecCross3D(i,Cp.GetVectorInZ()),s=Cp.DH2Vector3(Cp.DHGoVector(e[0].wp1,3e3*C,o));return aue.CurrentCamera.Camera.position.set(s.x,s.y,t),r||aue.CurrentCameraControl.update(),s}calculateBoxDataAlternate(e){const t=tae.getBox3(e,e[0]);if(t){const e=(new br).addVectors(t.p1,t.p7).multiplyScalar(.5),r=t.p1.distanceTo(t.p7);return{size:(new br).subVectors(t.p7,t.p1),center:e,bottomDist:t.p1.distanceTo(t.p2),diagonalDist:r}}return null}calculateBoxData(e){const t=new Qr;for(const r of e)t.expandByObject(r);const r=t.getSize(new br),n=t.getCenter(new br),i=t.min.distanceTo(t.max);t.max.z=t.min.z;return{size:r,center:n,bottomDist:t.min.distanceTo(t.max),diagonalDist:i}}calculateSphereData(e){const t=new Qr;for(const r of e)t.expandByObject(r);const r=new pn;return t.getBoundingSphere(r),{radius:r.radius,center:r.center}}calculateSphericalDistance(e,t,r,n=1.35){let i=e;if(Array.isArray(e)){if(0===e.length)return t;i=this.calculateSphereData(e)}const o=Math.tan((90-this.CurrentCamera.Camera.fov/2)*Cp.Deg2Rad)*i.radius,s=o/this.CurrentCamera.Camera.aspect;let a=n*Math.max(s,o);if(fme.HEIGHT>fme.WIDTH&&(a=s),0==a)return t;const l=r.clone().sub(t.clone()).normalize().multiplyScalar(a);return Bde.CameraFixedView&&(this.CurrentCameraControl.MaxDistance=a),this.CurrentCamera.Camera.updateProjectionMatrix(),r.clone().sub(l)}calculateDistance(e,t,r,n=1.35){let i=e;if(Array.isArray(e)){if(0===e.length)return t;if(i=this.calculateBoxData(e),isNaN(i.bottomDist)||i.diagonalDist===1/0)return t}const o=i.size.z,s=i.bottomDist,a=Math.tan((90-this.CurrentCamera.Camera.fov/2)*Cp.Deg2Rad)*(o/2),l=Math.tan((90-this.CurrentCamera.Camera.fov/2)*Cp.Deg2Rad)*(s/2),c=l/this.CurrentCamera.Camera.aspect;let u=n*Math.max(c,l);if(fme.HEIGHT>fme.WIDTH?u=c:fme.HEIGHT<fme.WIDTH&&(u=Math.max(a,c)),u=Math.max(this.CurrentCameraControl.MinDistance,u),0==u)return t;const d=r.clone().sub(t.clone()).normalize().multiplyScalar(u);return Bde.CameraFixedView&&(this.CurrentCameraControl.MaxDistance=u),this.CurrentCamera.Camera.updateProjectionMatrix(),r.clone().sub(d)}calculateDistanceAlternate(e,t,r,n=1.35){let i=e;if(Array.isArray(e)){if(0===e.length)return{eye:t,target:r};if(i=this.calculateBoxDataAlternate(e),!i||isNaN(i.bottomDist)||i.diagonalDist===1/0)return{eye:t,target:r}}const o=i.size.z,s=i.bottomDist,a=Math.tan((90-this.CurrentCamera.Camera.fov/2)*Cp.Deg2Rad)*(o/2),l=Math.tan((90-this.CurrentCamera.Camera.fov/2)*Cp.Deg2Rad)*(s/2),c=l/this.CurrentCamera.Camera.aspect;let u=Math.max(c,l);if(fme.HEIGHT>fme.WIDTH?u=c:fme.HEIGHT<fme.WIDTH&&(u=Math.max(a,c)),u*=n,0==u)return{eye:t,target:r};const d=(r=i.center).clone().sub(t.clone()).normalize().multiplyScalar(u);return Bde.CameraFixedView&&(this.CurrentCameraControl.MaxDistance=u),this.CurrentCamera.Camera.updateProjectionMatrix(),{eye:r.clone().sub(d),target:i.center}}fitCameraToObjectList(e,t=!1,r=!1,n=1.35){if(!(e&&e.length>0))return;if(e.length===this._lastPOList.length){if(this._lastPOList.filter(t=>-1!==e.indexOf(t)).length===this._lastPOList.length)return}this._lastPOList=e,r&&this.calculateFrontView(e);const i=this.calculateBoxData(e),o=this.calculateDistance(i,this.CurrentCamera.Camera.position,this.CurrentCameraControl.Target,n),s=(new br).copy(i.center);this.CurrentCamera.GoToPos({eye:o,target:s,animated:t}),this.CurrentCameraControl.update()}calculateNormal(e,t){const r=t.clone().sub(e);return new br(r.y,-r.x,0).normalize()}fitCameraToIIList(e,t,r,n=1.35){e=e||[];const i=Object.values(Aie.fp_walls).filter(t=>{var n,i;return r?1===(null===(i=null===(n=t.AdvancedInfo)||void 0===n?void 0:n.IWALL_INFO.DETAILS)||void 0===i?void 0:i.isPrimary):(null==e?void 0:e.includes(t.instanceIdent))||0===e.length});t&&i.push(...Object.values(lae.getAllObject()).filter(t=>(null==e?void 0:e.includes(t.instanceIdent))||0===e.length));const o=this.calculateBoxData(i);if(!o)return;const s=o.center.clone(),a=new br(0,0,0);Object.values(lae.getAllObject()).filter(t=>e.includes(t.instanceIdent)||0===e.length),i.forEach(e=>{a.add(this.calculateNormal(e.wp1,e.wp2))});const l=a.normalize(),c=s.clone().add(l.clone().multiplyScalar(5*C)),u=this.calculateDistance(o,c,s,n);this.CurrentCamera.GoToPos({eye:u,target:s,animated:!0}),aue.CurrentCameraControl.update()}changeCameraAndControl(e){this.hasCameraAndControl(e)&&this._currentCamera!==this._cameras[e]&&(this.CurrentCameraControl&&this.CurrentCameraControl.disable(),this._currentCamera=this._cameras[e],this.CurrentCameraControl&&this.CurrentCameraControl.enable(),IE.changeCamera())}initialize(){this.resetToMain(),(""===Bde.CameraMinDistance||void 0===Bde.CameraMinDistance)&&Bde.CameraFixedView&&Bde.EnableAutomaticWall&&this.CurrentCameraControl.MinDistance<3500*C&&(this.CurrentCameraControl.MinDistance=3500*C)}resetToMain(){if(!this.isCameraAndControl("main")){if(!this.hasCameraAndControl("main")){const e=new oue,t=e.initialize(this);this.createCameraAndControl("main",e,t)}this.changeCameraAndControl("main"),this._loadedDefer.resolve()}Oce.Body&&Oce.Body.CameraComponent.updateCameraInputs()}};var lue;!function(e){e[e.DEFAULT=0]="DEFAULT",e[e.LINE=1]="LINE"}(lue||(lue={}));const cue=new class{get Camera(){var e;return null===(e=null==aue?void 0:aue.CurrentCamera)||void 0===e?void 0:e.Camera}enableAll(){var e,t;null===(t=null===(e=this.Camera)||void 0===e?void 0:e.layers)||void 0===t||t.enableAll()}disableAll(){var e,t;null===(t=null===(e=this.Camera)||void 0===e?void 0:e.layers)||void 0===t||t.disableAll()}toggle(e){var t,r;null===(r=null===(t=this.Camera)||void 0===t?void 0:t.layers)||void 0===r||r.toggle(e)}enable(e){this.Camera.layers.enable(e)}disable(e){var t,r;null===(r=null===(t=this.Camera)||void 0===t?void 0:t.layers)||void 0===r||r.disable(e)}setActive(...e){this.disableAll(),e.forEach(e=>this.enable(e))}reset(){this.enableAll()}render(e){this.setActive(lue.LINE),Aue.TRenderer.clearDepth(),this.reset(),null==e||e()}};class uue{constructor(){this.bgImage=null,this.horizontalPieces=null,this.verticalPieces=null}scaleImage(e,t,r,n){const i=()=>{const e=this.bgImage.width-2,n=this.bgImage.height-2;let i=1;(t<e||r<n)&&(i=Math.max(e/t,n/r));const o=(t*i).toFixed(),s=(r*i).toFixed();let a,l;a=document.createElement("canvas"),l=a.getContext("2d"),l.drawImage(this.bgImage,0,0);let c=l.getImageData(0,0,this.bgImage.width,1).data;const u=c.length-4,d=this._getColorPattern(c[0],c[1],c[2],c[3]),h=this._getColorPattern(c[u],c[u+1],c[u+2],c[u+3]);return this.horizontalPieces=this._getPieces(c,d,h),c=l.getImageData(0,0,1,this.bgImage.height).data,this.verticalPieces=this._getPieces(c,d,h),this._draw(o,s)};return n&&"string"!=typeof e?(this.bgImage=e,i()):new Promise((t,r)=>{this.bgImage=new Image,this.bgImage.crossOrigin="Anonymous",this.bgImage.src=e,this.bgImage.onload=()=>{t(i())},this.bgImage.onerror=e=>r(e)})}_getType(e,t,r){return e==t?"s":e==r?"r":"d"}_getColorPattern(){return Array.from(arguments).join(",")}_getPieces(e,t,r){let n,i,o,s,a;const l=[];s=this._getColorPattern(e[4],e[5],e[6],e[7]),n=this._getType(s,t,r),i=1;for(var c=4,u=e.length-4;c<u;c+=4)s=this._getColorPattern(e[c],e[c+1],e[c+2],e[c+3]),a=this._getType(s,t,r),n!=a&&(o=c/4-i,l.push([n,i,o]),n=a,i=c/4,o=1);return o=c/4-i,l.push([n,i,o]),l}_draw(e,t){const r=document.createElement("canvas"),n=r.getContext("2d");r.width=e,r.height=t;let i=0,o=0;for(let e=0;e<this.horizontalPieces.length;e++)"s"==this.horizontalPieces[e][0]?i+=this.horizontalPieces[e][2]:o++;const s=(e-i)/o;let a=0;o=0;for(let e=0;e<this.verticalPieces.length;e++)"s"==this.verticalPieces[e][0]?a+=this.verticalPieces[e][2]:o++;const l=(t-a)/o;for(let t=0;t<this.verticalPieces.length;t++){for(let e=0;e<this.horizontalPieces.length;e++){const r="d"==this.horizontalPieces[e][0]?s:this.horizontalPieces[e][2],i="d"==this.verticalPieces[t][0]?l:this.verticalPieces[t][2],o=document.createElement("canvas");o.width=this.horizontalPieces[e][2],o.height=this.verticalPieces[t][2];o.getContext("2d").drawImage(this.bgImage,this.horizontalPieces[e][1],this.verticalPieces[t][1],this.horizontalPieces[e][2],this.verticalPieces[t][2],0,0,this.horizontalPieces[e][2],this.verticalPieces[t][2]),n.fillStyle=n.createPattern(o,"repeat"),n.fillRect(0,0,r,i),n.translate(r,0)}n.translate(-e,"s"==this.verticalPieces[t][0]?this.verticalPieces[t][2]:l)}return n.getImageData(0,0,r.width,r.height)}_isTransparent(e){return 0==e[0]&&0==e[1]&&0==e[2]&&0==e[3]}_getOffsetFromCanvas(e,t){const r={top:0,bottom:0,left:0,right:0};for(let n=0;n<e.height;n++){const e=t.getImageData(0,n,1,1).data;if(!this._isTransparent([e[0],e[1],e[2],e[3]]))break;r.top++}for(let n=e.height-1;n>=0;n--){const e=t.getImageData(0,n,1,1).data;if(!this._isTransparent([e[0],e[1],e[2],e[3]]))break;r.bottom++}for(let n=0;n<e.width;n++){const e=t.getImageData(n,0,1,1).data;if(!this._isTransparent([e[0],e[1],e[2],e[3]]))break;r.left++}for(let n=e.width-1;n>=0;n--){const e=t.getImageData(n,0,1,1).data;if(!this._isTransparent([e[0],e[1],e[2],e[3]]))break;r.right++}return r}getSize(e){return new Promise((t,r)=>{const n=new Image;n.crossOrigin="Anonymous",n.onload=()=>t({image:n.cloneNode(!0),width:n.width,height:n.height,url:e}),n.onerror=e=>r(e),n.src=e})}_scale(e,t,r,n,i){let o,s=1,a=1,l=0,c=0;if(i.left-1>0&&i.top-1>0&&(o=t.getImageData(s,a,i.left-1,i.top-1),n.putImageData(o,l,c)),s=e.width-i.right,a=1,l=r.width-i.right,c=0,i.right-1>0&&i.top-1>0&&(o=t.getImageData(s,a,i.right-1,i.top-1),n.putImageData(o,l,c)),s=e.width-i.right,a=e.height-i.bottom,l=r.width-i.right,c=r.height-i.bottom,o=t.getImageData(s,a,i.right-1,i.bottom-1),n.putImageData(o,l,c),s=1,a=e.height-i.bottom,l=0,c=r.height-i.bottom,i.left-1>0&&i.bottom-1>0&&(o=t.getImageData(s,a,i.left-1,i.bottom-1),n.putImageData(o,l,c)),s=i.left,a=1,i.top-1>0){o=t.getImageData(s,a,1,i.top-1);for(let e=i.left-1;e<=r.width-i.right;e++)n.putImageData(o,e,0)}if(s=i.left,a=e.height-i.bottom,i.bottom-1>0){o=t.getImageData(s,a,1,i.bottom-1);for(let e=i.left-1;e<=r.width-i.right;e++)n.putImageData(o,e,r.height-i.bottom)}if(s=1,a=i.top,i.left-1>0){o=t.getImageData(s,a,i.left-1,1);for(let e=i.top-1;e<=r.height-i.top;e++)n.putImageData(o,0,e)}if(s=e.width-i.right,a=i.top,i.right-1>0){o=t.getImageData(s,a,i.right-1,1);for(let e=i.top-1;e<=r.height-i.top;e++)n.putImageData(o,r.width-i.right,e)}s=i.left,a=i.top,o=t.getImageData(s,a,1,1);for(let e=i.top-1;e<=r.height-i.bottom;e++)n.putImageData(o,i.left-1,e);if(r.height-i.bottom-i.top>0){o=n.getImageData(i.left-1,i.top-1,1,r.height-i.bottom-i.top);for(let e=i.left;e<=r.width-i.right;e++)n.putImageData(o,e,i.top-1)}}_getOffset(e){return new Promise((t,r)=>{const n={top:0,right:0,bottom:0,left:0},i=document.createElement("canvas"),o=i.getContext("2d"),s=new Image;s.crossOrigin="Anonymous",s.onload=()=>{i.width=s.width,i.height=s.height,o.drawImage(s,0,0,s.width,s.height);for(let e=0;e<i.height;e++){const t=o.getImageData(0,e,1,1).data;if(!this._isTransparent([t[0],t[1],t[2],t[3]]))break;n.top++}for(let e=i.height-1;e>=0;e--){const t=o.getImageData(0,e,1,1).data;if(!this._isTransparent([t[0],t[1],t[2],t[3]]))break;n.bottom++}for(let e=0;e<i.width;e++){const t=o.getImageData(e,0,1,1).data;if(!this._isTransparent([t[0],t[1],t[2],t[3]]))break;n.left++}for(let e=i.width-1;e>=0;e--){const t=o.getImageData(e,0,1,1).data;if(!this._isTransparent([t[0],t[1],t[2],t[3]]))break;n.right++}t(n)},s.onerror=e=>r(e),s.src=e})}}class due extends Yi{constructor(e){let t=null;e.wp1&&e.wp2?(t=new Qr(e.wp2,e.wp1),t.isEmpty()&&(t=new Qr(e.wp1,e.wp2))):t=zme.GetMinMax(e);let r=new br;e.dimension?(r.x=e.dimension[0],r.y=e.dimension[1]):r=t.getSize(r),super(new Ka(r.x+20,r.y+20),new Hm({map:null,color:16777215,transparent:!0,opacity:.6,depthWrite:!1,premultipliedAlpha:!0})),this._size=new fr(r.x,r.y);const n=new uue,i=new fr(this._size.x+due.SIZE.x/2,this._size.y+due.SIZE.y/2);i.x=gr.ceilPowerOfTwo(i.x),i.y=gr.ceilPowerOfTwo(i.y),this._shadowImage=function(e){const t=document.createElement("canvas"),r=t.getContext("2d");t.width=e.width,t.height=e.height,r.putImageData(e,0,0);const n=new Image;return n.src=t.toDataURL(),n}(n.scaleImage(due.IMAGE,i.x,i.y,!0)),this.material=new Hm({map:new Texture(this._shadowImage)}),this.material.map.repeat.set(1,1),this.material.map.wrapT=ye,this.material.map.wrapS=ye,this.material.side=2,this.material.transparent=!0,this.material.opacity=1,this.material.premultipliedAlpha=!0,this.material.color.setRGB(1.5,1.5,1.5),this.material.map.needsUpdate=!0,this.material.needsUpdate=!0,this.renderOrder=10,this.frustumCulled=!1,this._isDisposed=!1,this._meshParent=e,this.frustumCulled=!1,this.matrixAutoUpdate=!1}get ZPos(){return this._zPos}get IsDisposed(){return this._isDisposed}set IsDisposed(e){this._isDisposed=e}update(){const e=new br,t=new vr,r=new br;this._meshParent.matrixWorld.decompose(e,t,r);const n=Cp.DHBetrag(e,[e.x,e.y,0]);this._zPos=n,this.material.opacity=n/1500+.3,this.material.opacity=this.material.opacity<.1?this.material.opacity=.1:this.material.opacity,e.z=2,this.position.copy(e),t.x=0,t.y=0,this.matrixWorldNeedsUpdate=!1,this.matrix.identity(),this.matrix.multiply((new xn).makeTranslation(e.x,e.y,e.z)),this.matrix.multiply((new xn).makeRotationFromQuaternion(t)),this.matrix.multiply((new xn).makeTranslation(this._size.x/2,this._size.y/2,1))}}const hue=due;const pue=new class{constructor(){this._manager=null,this._active=!1,this._plane=null,this._simpleShadows=null,this._lightPosition=new Hr,this._manager=new Map,this._lightPosition.set(0,0,1e4*C,1e-4);const e=new br(0,0,1);this._plane=new hs(e,1),this._simpleShadows=new mo,this._shadowPromise=(new uue).getSize("/images/shadow.9.png").then(e=>{hue.IMAGE=e.image,hue.SIZE=new fr(e.width,e.height)})}get IsActive(){return this._active}set IsActive(e){this._active=e}get ShadowCount(){return this._manager?Object.keys(this._manager).length:0}traverseCreate(e){return this._shadowPromise.then(()=>{if(!e.typeText)return null;if(-1!==e.typeText.indexOf("Fussboden")||-1!==e.typeText.indexOf("SGENLINE_CONTAINER")||-1!==e.typeText.indexOf("CH_VERWALTUNG")||-1!==e.typeText.indexOf("FURNVIEW_WIDGETS"))return null;let t=new br;if(e.dimension){if(t=Cp.DH2Vector3(e.dimension),t.x+t.y+t.z<=10)return null}else{const t=zme.GetMinMax(e);if(t.max.x===-1/0&&t.min.x===1/0)return null}this.create(e)})}create(e){if(-1===Dhe.TScene.children.indexOf(this._simpleShadows)&&Dhe.add(this._simpleShadows),this._manager||(this._manager=new Map),!e.ActionMode){const t=e.uuid;let r=this._manager[t];return r||(r=this._manager[t]=new hue(e),r.visible=!1,this._simpleShadows.add(r)),r}}update(){if(this._manager){const e=Object.keys(this._manager);for(let t=e.length-1;t>=0;t--){const r=e[t],n=this._manager[r];this._active?n instanceof hue?(n.visible=!1,n.update(this._plane,this._lightPosition),this.checkBlockedShadow(n)):n||delete this._manager[r]:n.visible=!1}}}dispose(e){if(this._manager)if(e)this._manager[e]&&(this._manager[e].dispose&&this._manager[e].dispose(),this._simpleShadows.remove(this._manager[e]),delete this._manager[e]);else{const e=Object.keys(this._manager);for(let t=e.length-1;t>=0;t--){const r=e[t],n=this._manager[r];n&&n.dispose&&n.dispose(),this._simpleShadows.remove(n),delete this._manager[r]}}}traverse(e){const t=Object.keys(this._manager);for(let r=t.length-1;r>=0&&!1!==e(this._manager[t[r]],t[r]);r--);}Disposed(){this.traverse((e,t)=>{e.isDisposed=!0})}clearDisposed(){this.traverse((e,t)=>{!0===e.isDisposed&&this.dispose(t)})}checkBlockedShadow(e){if(1===this.ShadowCount)return void(e.visible=!0);const t=zme.GetMinMax(e,!1);t.min.z=t.max.z=1;let r=!1;e.blockedBy=null,this.traverse(n=>{if(n===e)return!0;if(e.zPos>=n.zPos){const i=zme.GetMinMax(n,!1);if(i.min.z=i.max.z=1,t.min.x!==1/0&&t.max.x!==-1/0&&i.min.x!==1/0&&i.max.x!==-1/0){if(!(!t.intersectsBox(i)||t.min.equals(i.min)&&t.max.equals(i.max)))return r=!1,!1;e.blockedBy=n,r=!0}}else n.zPos||(r=!0)}),e.visible=r}},mue=1e3;class _ue extends nc{constructor(e){super(-1e3*e.clientWidth/e.clientHeight,mue*e.clientWidth/e.clientHeight,mue,-1e3,1e-4,2e5),this.position.set(0,0,5e3*C),this.lookAt(new br)}}const gue=class extends mce{constructor(e){super(),this._aspect=0,this._camera=new _ue(e),this.setSize(e.clientWidth,e.clientHeight)}setSize(e,t){this._aspect=e/t,this._camera.left=mue*this._aspect/-2,this._camera.right=mue*this._aspect/2,this._camera.top=500,this._camera.bottom=-500,this._camera.updateProjectionMatrix()}};const fue=class extends Uce{constructor(e,t){super(e,t),this._minDistance=0,this._maxDistance=1/0,this._minAzimuthAngle=-1/0,this._maxAzimuthAngle=1/0,this._minPolarAngle=0,this._maxPolarAngle=Math.PI,this._scale=1,this._phi=0,this._theta=0,this._panStart=new fr,this._panOffset=new br,this._rotateStart=new fr,this._top=!0,this._front=!1,this.spherical=new Rc,this.sphericalDelta=new Rc,this.offset=new br,this._quat=null,this._quatInverse=null,this.lastPosition=new br,this.lastQuaternion=new vr,this.down=e=>{if((this._panSwitch&&0===e.button||e.touches&&1===e.touches.length)&&this._rotateStart.set(e.pageX,e.pageY),!this._panSwitch&&(0===e.button||e.touches&&1===e.touches.length)&&(this._panStart.set(e.pageX,e.pageY),e.IsTouch)){yce.addOrGet("pan2DDelta",e.IsTouch?1:null).addPoint(new vce(this._panStart.toArray()))}e.IsTouch&&2===e.touches.length&&this._panStart.set(e.centerPoint.x,e.centerPoint.y)},this.move=e=>{const t=new fr(e.pageX,e.pageY);if(e.IsTouch&&e.touches.length>=2&&t.set(e.centerPoint.x,e.centerPoint.y),this._panSwitch&&(0===e.button||e.IsTouch&&1===e.touches.length)){(new fr).subVectors(this._rotateStart,t)}if(!this._panSwitch&&(0===e.button||e.IsTouch&&1===e.touches.length)){const e=(new fr).subVectors(this._panStart,t);this._pan(e),this._panStart.copy(t)}if(e.IsTouch&&2===e.touches.length){const e=(new fr).subVectors(this._panStart,t);this._pan(e),this._panStart.copy(t)}if(e.IsTouch){yce.addOrGet("pan2DDelta").addPoint(new vce([t.x,t.y]))}},this.up=e=>{if(e.IsTouch){yce.addOrGet("pan2DDelta").end(e=>{this._pan(e),this.update()},()=>{this.dispatchEvent(this._endEvent),this._state=Bce.NONE})}},this.zoom=e=>{this._camera.zoom+=e.zoomDelta/(e.IsTouch?1e3*C:4e3*C)*this._camera.zoom,this._camera.zoom<1e-5&&(this._camera.zoom=1e-5),this._camera.zoom>1&&(this._camera.zoom=1)},this._quat=(new vr).setFromUnitVectors(this._camera.up,new br(0,0,1)),this._quatInverse=this._quat.clone().invert(),this._camera.up=new br(0,0,-1)}get OrthogonalRLW(){const e=this._domElement===document?this._domElement.body:this._domElement;return(this._camera.right-this._camera.left)/e.clientWidth}get OrthogonalTBW(){const e=this._domElement===document?this._domElement.body:this._domElement;return(this._camera.top-this._camera.bottom)/e.clientHeight}update(){Bde.MirrorEffect=!1,this.offset.copy(this._camera.position),this.offset.applyQuaternion(this._quat),this.spherical.setFromVector3(this.offset),this.spherical.theta+=this.sphericalDelta.theta,this.spherical.phi+=this.sphericalDelta.phi,this.spherical.theta=Math.max(this._minAzimuthAngle,Math.min(this._maxAzimuthAngle,this._theta)),this.spherical.phi=Math.max(this._minPolarAngle,Math.min(this._maxPolarAngle,this._phi)),this.spherical.makeSafe(),this.spherical.radius*=this._scale,this.spherical.radius=Math.max(this._minDistance,Math.min(this._maxDistance,this.spherical.radius)),this._camera.position.add(this._panOffset),this.offset.setFromSpherical(this.spherical),this.offset.applyQuaternion(this._quatInverse),this._camera.position.z<10&&(this._camera.position.z=10);const e=this._camera.position.clone();return this._top?e.z=0:this._front&&(e.y=0),this._camera.lookAt(e),this.sphericalDelta.set(0,0,0),this._panOffset.set(0,0,0),this._scale=1,this._camera.updateProjectionMatrix(),super.update(),!1}autoFitCamera(e){e.fitScene?this.cameraFitScene(e.fitScene):e.fitFurn?this.cameraFitFurn(e.fitFurn):e.fitElement&&e.fitElement instanceof Dme?this.cameraFitElement(e.fitElement):this.cameraFitScene()}enable(){super.enable(),$ie.Visible||$ie.show(),Bde.MirrorEffect=!1}disable(){super.disable(),$ie.Visible&&$ie.hide()}cameraFitScene(e){const t=(new Qr).setFromObject(e);this._camera.position.set(t.getCenter(new br).x,t.getCenter(new br).y,this._camera.position.z),this._camera.zoom=Math.min(this._camera.top,this._camera.right)/Math.max(t.max.x-t.min.x,t.max.y-t.min.y),this._camera.updateProjectionMatrix()}cameraFitFurn(e){const t=e.children.filter(e=>"World"===e.typeText)[0];if(t){const e=(new Qr).setFromObject(t);this._camera.position.set(e.getCenter(new br).x,e.getCenter(new br).y,this._camera.position.z),this._camera.zoom=Math.min(this._camera.top,this._camera.right)/Math.max(e.max.x-e.min.x,e.max.y-e.min.y),this._camera.updateProjectionMatrix()}}cameraFitElement(e){const t=(new Qr).setFromObject(e);this._camera.position.set(t.getCenter(new br).x,t.getCenter(new br).y,this._camera.position.z),this._camera.zoom=Math.min(this._camera.top,this._camera.right)/Math.max(t.max.x-t.min.x,t.max.y-t.min.y),this._camera.updateProjectionMatrix()}panLeft(e){const t=this._camera.matrix.elements,r=new br(t[0],t[1],t[2]);r.multiplyScalar(-e/this._camera.zoom),this._panOffset.add(r)}panUp(e){const t=this._camera.matrix.elements,r=new br(t[4],t[5],t[6]);r.multiplyScalar(e/this._camera.zoom),this._panOffset.add(r)}_pan(e){const t=this._domElement===document?this._domElement.body:this._domElement;this.panLeft(-e.x*(this._camera.right-this._camera.left)/t.clientWidth),this.panUp(-e.y*(this._camera.top-this._camera.bottom)/t.clientHeight)}_rotate(e){this.update()}_zoom(e){this.update()}};class vue extends yae{constructor(){super(),this.scale.setScalar(45e4*C),this._sunPosition=new br,this._debug(),Dhe.TScene.add(this)}set enable(e){this.visible=e}set SunEffect(e){const t=this.material.uniforms.sunEnabled;t&&(t.value=e?1:0)}_debug(){if(!g_configuration.panel_left_show||!Phe.DebugGUI)return!1;const e={skyEnabled:!1,sunEnabled:!1,turbidity:5,rayleigh:.3,mieCoefficient:.005,mieDirectionalG:.7,inclination:.31,azimuth:.74,exposure:Aue.TRenderer.toneMappingExposure},t=()=>{Bde.SkyEffect=e.skyEnabled;const t=this.material.uniforms;t.turbidity.value=e.turbidity,this.SunEffect=e.sunEnabled,t.rayleigh.value=e.rayleigh,t.mieCoefficient.value=e.mieCoefficient,t.mieDirectionalG.value=e.mieDirectionalG;const r=Math.PI*(e.inclination-.5),n=2*Math.PI*(e.azimuth-.5);this._sunPosition.x=Math.cos(n),this._sunPosition.y=Math.sin(n)*Math.sin(r),this._sunPosition.z=Math.sin(n)*Math.cos(r),t.sunPosition.value.copy(this._sunPosition),Aue.TRenderer.toneMappingExposure=e.exposure},r=Phe.DebugGUI.addFolder("Sky");r.add(e,"skyEnabled").onChange(t),r.add(e,"sunEnabled").onChange(t),r.add(e,"turbidity",0,20,.1).onChange(t),r.add(e,"rayleigh",0,4,.001).onChange(t),r.add(e,"mieCoefficient",0,.1,.001).onChange(t),r.add(e,"mieDirectionalG",0,1,.001).onChange(t),r.add(e,"inclination",0,1,1e-4).onChange(t),r.add(e,"azimuth",0,1,1e-4).onChange(t),r.add(e,"exposure",0,1,1e-4).onChange(t),t()}}const bue=new class{constructor(){this._exp2=!1,this._fog=null,this._fogExp2=null,this._currentFog=null,this._near=Number(g_configuration.default_fog_near_settings)||M,this._far=Number(g_configuration.default_fog_far_settings)||k,this._color=new mi(g_configuration.default_fog_color_settings?g_configuration.default_fog_color_settings:"#FFFFFF"),this._setBackground=g_configuration.default_fog_background_settings||!1,this._enabled=!1,this._runOnceDebug=!1}get ColorHex(){return"#"+this._color.getHexString()}set ColorHex(e){this._color.set(e),this._currentFog.color=this._color,this._enabled&&Dhe.TScene.background&&Dhe.TScene.background.set(e)}get Far(){return this._far}set Far(e){this._currentFog.far=e,this._far=e}get Near(){return this._near}set Near(e){this._currentFog.near=e,this._near=e}set SetBackground(e){this._setBackground=e,Dhe.TScene.background=e?new mi(this.ColorHex):null}enable(){this._fog&&this._fogExp2||(this._fog=new vo,this._fog.color=this._color,this._fog.far=this._far,this._fog.near=this._near,this._fogExp2=new fo,this._fogExp2.color=this._color,this._fogExp2.far=this._far,this._fogExp2.near=this._near,this._currentFog=this._fog),this._enabled||(this._enabled=!0,this._setBackground&&(Dhe.TScene.background=new mi(this.ColorHex)),this._exp2?Dhe.TScene.fog=this._fogExp2:Dhe.TScene.fog=this._fog,this._debug())}disable(){this._enabled=!1,Dhe.TScene.background=null,Dhe.TScene.fog=null}switchFogType(){if(this._exp2=!this._exp2,!0===this._exp2)this._currentFog=this._fogExp2,this._enabled&&(Dhe.TScene.fog=this._fogExp2);else this._enabled&&(this._currentFog=this._fog,Dhe.TScene.fog=this._fog)}_debug(){if(!this._runOnceDebug&&Phe.DebugGUI){this._runOnceDebug=!0;const e={enabled:this._enabled,color:this.ColorHex,near:this.Near,far:this.Far,exp2:this._exp2,setBackground:this._setBackground},t=()=>{e.enabled?this.enable():this.disable(),e.exp2!=this._exp2&&this.switchFogType(),this.ColorHex=e.color,this.Near=e.near,this.Far=e.far,this.SetBackground=e.setBackground},r=Phe.DebugGUI.addFolder("FogService");r.add(e,"enabled").onChange(t),r.add(e,"exp2").onChange(t),r.add(e,"setBackground").onChange(t),r.add(e,"near",0,1e5*C,100*C).onChange(t),r.add(e,"far",1e3*C,1e5*C,100*C).onChange(t),r.addColor(e,"color").onChange(t)}}};class yue extends dC{constructor(){super(cE)}setSize(e,t){this.material.uniforms.resolution.value.set(1/e,1/t)}}const $ue=new class{getRenderTargetSamples(e){return dm.getRenderTargetSamples(e)}createRenderTarget(e,t){return Object.keys(t).forEach(e=>{void 0===t[e]&&delete t[e]}),t=Object.assign({format:Ge,type:ke,minFilter:Se,magFilter:Se,samples:this.getRenderTargetSamples(e),anisotropy:e.capabilities.getMaxAnisotropy()},t||{}),new jr((null==t?void 0:t.width)||256,(null==t?void 0:t.height)||256,t)}},xue={uniforms:{tDiffuse:{value:null},resolution:{value:new fr}},vertexShader:"\n        varying vec2 vUv;\n        void main() {\n            vUv = uv;\n            gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);\n        }\n    ",fragmentShader:"\n        uniform sampler2D tDiffuse;\n        uniform vec2 resolution;\n        varying vec2 vUv;\n\n        // Simple 2x2 Bayer Matrix for Ordered Dithering\n        const mat2 BA = mat2( 0.0,  2.0,\n                             3.0,  1.0 );\n\n        void main() {\n            vec4 color = texture2D(tDiffuse, vUv);\n            \n            // Get pixel coordinates\n            vec2 coords = gl_FragCoord.xy;\n            \n            // Normalize the coordinates based on a 4x4 dither pattern\n            vec2 ditherCoord = mod(coords, 2.0); // Use 2.0 for 2x2 matrix\n            float ditherValue = BA[int(ditherCoord.x)][int(ditherCoord.y)] / 4.0;\n            \n            // Add the dither value to the color and clamp (scale by 1.0/255.0 for 8-bit noise)\n            // The small float value pushes the color slightly up or down to break the band.\n            float noise = ditherValue * (1.0 / 255.0); \n\n            // Apply dithering to break up the smooth gradient steps\n            color.rgb += noise;\n\n            gl_FragColor = color;\n        }\n    "};class Sue extends mC{get Name(){return this.options.name||"default"}get HRPass(){return this._hrPass}get VectorBasedSSAOPass(){var e;return null===(e=this._optionalPasses.vbao)||void 0===e?void 0:e.pass}get VectorBasedSSAOEnabled(){return Object.entries(this._optionalPasses).some(e=>{var t;return e[0].endsWith("ao")&&(null===(t=e[1])||void 0===t?void 0:t.pass.enabled)})}set VectorBasedSSAOEnabled(e){Object.entries(this._optionalPasses).forEach(([t,r])=>{t.endsWith("ao")&&(r.pass.enabled=e)}),this.rebuildPasses()}getPass(e){return this._optionalPasses[e]}get OptionalPasses(){return this._optionalPasses}get HDR(){return this._hdr}set HDR(e){const t=e&&dm.hdrEnabled;this._hdr!=t&&(this._hdr=t,Lde.GetMaterialCache().traverse((e,t)=>{t.dithering=this._hdr,t.needsUpdate=!0}),this.reset($ue.createRenderTarget(this.renderer,{width:fme.WIDTH,height:fme.HEIGHT,type:this._hdr?Fe:ke})),this.rebuildPasses())}constructor(e,t){super(e,$ue.createRenderTarget(e,{width:fme.WIDTH,height:fme.HEIGHT,samples:t.samples})),this.options=t,this._hdr=!1,this._optionalPasses={},this._camera=t.camera,this._mainScene=Dhe.TScene,this._overrideScene=t.scene,this.createCorePasses(),this.createOptionalPasses(),this.rebuildPasses(),this.HDR=!Bde.ShowLines}prepareRenderPass(e){this.options.hr&&(e.clear=!1,e.clearColor=new mi(1,1,1),e.clearAlpha=0)}createCorePasses(){this._renderPass=new CC(this._overrideScene||this._mainScene,this._camera),this.prepareRenderPass(this._renderPass),this._hrPass=new CC(Mse.HRThemeManager.Scene,Mse.HRThemeManager.Camera),this._hrPass.clear=!0,this._ditherShader=new dC(xue),this._outputPass=new AC,this._copyPass=new dC(sC),this._copyPass.renderToScreen=!0}createOptionalPasses(){dm.isIOS||(this._optionalPasses.taa=this.createTAA(),this._optionalPasses.ssaa=this.createMSAA(),this._optionalPasses.vbao=this.createVectorBasedSSAO(),this._optionalPasses.bloom=this.createBloom(),this._optionalPasses.smaa=this.createSMAA(),this._optionalPasses.fxaa=this.createFXAA())}rebuildPasses(){var e,t,r,n,i,o,s,a,l,c,u,d,h,p,m,_;this.passes=[],this.options.hr&&this.addPass(this._hrPass),(null===(t=null===(e=this.options)||void 0===e?void 0:e.taa)||void 0===t?void 0:t.enabled)||(null===(r=this._optionalPasses.taa)||void 0===r?void 0:r.pass.enabled)?this.addPass(this._optionalPasses.taa.pass):(null===(i=null===(n=this.options)||void 0===n?void 0:n.msaa)||void 0===i?void 0:i.enabled)||(null===(o=this._optionalPasses.ssaa)||void 0===o?void 0:o.pass.enabled)?this.addPass(this._optionalPasses.ssaa.pass):this.addPass(this._renderPass),((null===(a=null===(s=this.options)||void 0===s?void 0:s.ssao)||void 0===a?void 0:a.enabled)||(null===(l=this._optionalPasses.vbao)||void 0===l?void 0:l.pass.enabled))&&this.addPass(this._optionalPasses.vbao.pass),(null===(c=this._optionalPasses.bloom)||void 0===c?void 0:c.pass.enabled)&&this.addPass(this._optionalPasses.bloom.pass),this._hdr||this.addPass(this._ditherShader),(null===(d=null===(u=this.options)||void 0===u?void 0:u.smaa)||void 0===d?void 0:d.enabled)||(null===(h=this._optionalPasses.smaa)||void 0===h?void 0:h.pass.enabled)?this.addPass(this._optionalPasses.smaa.pass):((null===(m=null===(p=this.options)||void 0===p?void 0:p.fxaa)||void 0===m?void 0:m.enabled)||(null===(_=this._optionalPasses.fxaa)||void 0===_?void 0:_.pass.enabled))&&this.addPass(this._optionalPasses.fxaa.pass),this.addPass(this._outputPass),this.addPass(this._copyPass)}setSize(e,t){new fr(1/e,1/t);e=fme.WIDTH,t=fme.HEIGHT,this._ditherShader.uniforms.resolution.value.set(e,t),Object.entries(this._optionalPasses).forEach(([r,n])=>{n.pass&&n.pass.enabled&&n.pass.setSize(e,t)}),super.setSize(e,t)}createTAA(){var e,t,r,n,i,o,s,a,l,c,u;const d=new JC(this._overrideScene||this._mainScene,this._camera,16777215,1);return d.unbiased=!0,d.sampleLevel=(null===(t=null===(e=this.options)||void 0===e?void 0:e.taa)||void 0===t?void 0:t.intensity)||1,d.enabled=null!==(i=null===(n=null===(r=this.options)||void 0===r?void 0:r.taa)||void 0===n?void 0:n.enabled)&&void 0!==i&&i,d.clearColor=null!==(a=null===(s=null===(o=this.options)||void 0===o?void 0:o.taa)||void 0===s?void 0:s.clearColor)&&void 0!==a?a:4095,d.clearAlpha=null!==(u=null===(c=null===(l=this.options)||void 0===l?void 0:l.taa)||void 0===c?void 0:c.clearAlpha)&&void 0!==u?u:0,this.prepareRenderPass(d),{name:"Temporal Antialiasing",pass:d,options:{enabled:{},unbiased:{},sampleLevel:{min:1,max:5,step:1}},apply(e,t){t.enabled=e.enabled.value,t.sampleLevel=e.sampleLevel.value,t.unbiased=e.unbiased.value}}}createMSAA(){var e,t,r,n,i,o,s,a,l,c,u;const d=new NC(this._overrideScene||this._mainScene,this._camera);return this.prepareRenderPass(d),d.unbiased=!0,d.sampleLevel=(null===(t=null===(e=this.options)||void 0===e?void 0:e.msaa)||void 0===t?void 0:t.intensity)||1,d.enabled=null!==(i=null===(n=null===(r=this.options)||void 0===r?void 0:r.msaa)||void 0===n?void 0:n.enabled)&&void 0!==i&&i,d.clearColor=null!==(a=null===(s=null===(o=this.options)||void 0===o?void 0:o.msaa)||void 0===s?void 0:s.clearColor)&&void 0!==a?a:16777215,d.clearAlpha=null!==(u=null===(c=null===(l=this.options)||void 0===l?void 0:l.msaa)||void 0===c?void 0:c.clearAlpha)&&void 0!==u?u:0,{name:"MSAA",pass:d,options:{enabled:{},unbiased:{},sampleLevel:{min:1,max:5,step:1}},apply(e,t){t.enabled=e.enabled.value,t.sampleLevel=e.sampleLevel.value,t.unbiased=e.unbiased.value}}}createFXAA(){var e,t;const r=new yue;return r.enabled=null!==(t=null===(e=this.options.fxaa)||void 0===e?void 0:e.enabled)&&void 0!==t&&t,{name:"FXAA",pass:r,options:{enabled:{}},apply(e,t){t.enabled=e.enabled.value}}}createSMAA(){var e,t;const r=new DC;return r.enabled=null!==(t=null===(e=this.options.smaa)||void 0===e?void 0:e.enabled)&&void 0!==t&&t,{name:"SMAA",pass:r,options:{enabled:{}},apply(e,t){t.enabled=e.enabled.value}}}createBloom(){const e=new qC(new fr(fme.WIDTH,fme.HEIGHT),.2,.8,5);return e.enabled=!0===g_configuration.bloom_enabled,{name:"Bloom",pass:e,options:{enabled:{},strength:{min:0,max:3,step:.05},radius:{min:0,max:2,step:.05},threshold:{min:0,max:10,step:.1}},apply(e,t){t.enabled=e.enabled.value,t.strength=e.strength.value,t.radius=e.radius.value,t.threshold=e.threshold.value}}}createVectorBasedSSAO(){var e,t,r;const n=new sle(this._overrideScene||this._mainScene,this._camera,{width:fme.WIDTH,height:fme.HEIGHT,hasFloatType:dm.ssaoEnabled&&(Aue.IsWebGL2||Aue.checkExtension("OES_texture_float_linear"))});n.enabled=dm.ssaoEnabled&&null!==(r=null===(t=null===(e=this.options)||void 0===e?void 0:e.ssao)||void 0===t?void 0:t.enabled)&&void 0!==r&&r;const i=g_configuration.vb_ssao_renderSettings?g_configuration:{},o=(e,t)=>isNaN(+i[e])?t:+i[e];n.occMultiplier=o("occlusion_vb_ssao",1),n.kernelRadius=o("kernel_radius_vb_ssao",.077),n.cosineThresh=o("cosine_thresh_vb_ssao",.05),n.attenuation=o("attenuation_vb_ssao",.23),n.depthSensitivity=o("depth_sensitivity_vb_ssao",15);const s=o("blur_sigma_vb_ssao",460);return n.updateSigma(s),{name:"Vector-Based AO",pass:n,options:{enabled:{},occMultiplier:{min:.5,max:8,step:.5},kernelRadius:{min:.001,max:.1,step:.001},cosineThresh:{min:.001,max:.5,step:.001},attenuation:{min:.001,max:.8,step:.001},blurSigma:{min:.1,max:600,step:.1},depthSensitivity:{min:.1,max:500,step:.1}},apply(e,t){var r;t.enabled=e.enabled.value;const n=null===(r=this._optionalPasses.hbao)||void 0===r?void 0:r.pass;n&&(n.enabled=!e.enabled.value),t.occMultiplier=e.occMultiplier.value,t.kernelRadius=e.kernelRadius.value,t.cosineThresh=e.cosineThresh.value,t.attenuation=e.attenuation.value,t.depthSensitivity=e.depthSensitivity.value,t.updateSigma(e.blurSigma.value)}}}}var wue=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};const Aue=new class{constructor(){this._renderer=null,this._currentEffect=null,this._lastEffect=null,this._currentMode="default",this._initialized=!1,this._PMREMGenerator=null,this.defaultEnvironment=null,this._defaultTexture=null,this._effectManagers=new Map,this._webGL2Supported=this.canUseWebGL2()}get Current(){return this._renderer}get TRenderer(){return this._renderer}get SkyBackground(){return this._skyBackground}get PMREMGenerator(){return this._PMREMGenerator}get DefaultEnvironment(){return this.defaultEnvironment}get CurrentEffect(){return this._currentEffect}get DefaultEffect(){const e=this._effectManagers.get("default");return e?e.effectComposer:null}get IsWebGL2(){return this._webGL2Supported}canUseWebGL2(){return!!document.createElement("canvas").getContext("webgl2")}hasRenderer(e){return this._effectManagers.has(e)}is(e){return this._currentMode===e}enableShadows(e){this.TRenderer&&(this.TRenderer.shadowMap.enabled=e)}enableIBL(e,t){return wue(this,void 0,void 0,function*(){const r=Dhe.TScene;if(e){yield upe.isAppReady();const e={textureName:"_global\\_global\\textures\\ibl_schwarzweiss.png",manuName:"_global"};this._defaultTexture||(this._defaultTexture=Cue.getCubeTexture(e));const n=yield this._defaultTexture;if(n){const e=new Rn(Math.PI/2,0,0);r.backgroundRotation=r.environmentRotation=e,r.environment=n,r.background=t?n:null}else{console.warn(`Error while loading HDR-Texture ${e.textureName}, fallback to RoomEnvironment`);const t=null!==this.DefaultEnvironment?this.DefaultEnvironment:new j_,{texture:n}=this.PMREMGenerator.fromScene(t);r.environment=n}}else r.background=null,r.environment=null})}initialize(){var e;if(this._renderer=this.createBaseRenderer(),dm.applyRendererCaps(this._renderer),this.initEffectManagers(),this._skyBackground=new vue,Bde.FogEffect&&bue.enable(),dm.iblEnabled&&(this._PMREMGenerator=new cd(this.TRenderer),this._PMREMGenerator.compileEquirectangularShader()),Dhe.TScene.environmentIntensity=Dhe.TScene.backgroundIntensity=Bde.IBLIntensity,this.enableIBL(Bde.EnableIBL&&dm.iblEnabled),dm.logProfile(),this.setCurrentEffect("default"),this._debugEffects(),this.debug(),dm.isIOS){const t=this.TRenderer.info;console.info("[Renderer init]","geometries:",t.memory.geometries,"textures:",t.memory.textures,"programs:",null===(e=t.programs)||void 0===e?void 0:e.length,"canvas:",this.TRenderer.domElement.width+"×"+this.TRenderer.domElement.height)}}createBaseRenderer(e){const t=Object.assign({canvas:document.querySelector("#canvasTHREE"),fog:!0,transparent:g_configuration.transparent_canvas_background},e),r=Object.assign({canvas:t.canvas,antialias:dm.antialias,alpha:!1,vsync:0,format:Ge,stencilBuffer:!1,preserveDrawingBuffer:!1,logarithmicDepthBuffer:dm.logarithmicDepthBuffer,powerPreference:dm.powerPreference},t),n=new bp(r);return n.clippingPlanes=ice.GlobalPlanes,n.localClippingEnabled=!0,n.toneMapping=7,n.toneMappingExposure=1.3,n.setSize(fme.getWidth(),fme.getHeight()),n.sortObjects=!0,n.autoClear=!1,n.setClearColor(Bde.SceneBackgroundColor?Bde.SceneBackgroundColor:"#ffffff",t.transparent?0:1),!0===t.transparent&&n.setClearAlpha(0),n.shadowMap.type=2,n.shadowMap.enabled=!0,n.setPixelRatio(dm.pixelRatio),n.outputColorSpace=zt,n}createEffectComposer(e,t){const r=this.TRenderer,{effectOptions:n}=t,i=r.getClearColor(new mi),o=r.getClearAlpha();Object.entries(n).forEach(([e,t])=>{var r,n;"object"==typeof t&&"intensity"in t&&(t.clearColor=null!==(r=t.clearColor)&&void 0!==r?r:i.getHex("srgb-linear"),t.clearAlpha=null!==(n=t.clearAlpha)&&void 0!==n?n:o)});const s=new Sue(r,Object.assign(Object.assign({},n),{name:e}));return s.setSize(fme.WIDTH,fme.HEIGHT),s.render(),t.effectComposer=s,s}checkExtension(e){return!!this.TRenderer&&!!this.TRenderer.getContext().getExtension(e)}setCurrentEffect(e){this._effectManagers.has(e)||(e="default");const t=this._effectManagers.get(e);t.effectComposer||this.createEffectComposer(e,t),this._currentEffect&&this._lastEffect!==this._currentEffect&&(this._lastEffect=this._currentEffect),this._currentEffect=t.effectComposer,this._currentMode=e}switchRenderer(e){if(this.is(e))return void this.CurrentEffect.setSize(fme.getWidth(),fme.getHeight());g_configuration.enable_experimental_auto_effect&&console.log(e),this.hasRenderer(e)||(e="default");const t=this._effectManagers.get(e),r=this.TRenderer;this.setCurrentEffect(e);const n=t.rendererOptions.fog;Dhe.TScene.fog&&!1===n?(Dhe.TScene.old_fog=Dhe.TScene.fog,Dhe.TScene.fog=null):Dhe.TScene.old_fog&&!1!==n&&(Dhe.TScene.fog=Dhe.TScene.old_fog,Dhe.TScene.old_fog=null);const i=r.shadowMap.enabled;r.setSize(fme.getWidth(),fme.getHeight()),this.CurrentEffect.setSize(fme.getWidth(),fme.getHeight()),r.shadowMap.enabled=!0,this.render(),r.shadowMap.enabled=i,this.render(),g_configuration.enable_experimental_auto_effect&&console.log(this.CurrentEffect)}setSize(e,t){this._renderer&&this._renderer.setSize(e,t),this._currentEffect&&this._currentEffect.setSize(e,t)}setLast(){this._lastEffect?this.switchRenderer(this._lastEffect.Name):this.switchRenderer("default")}render(){null!==this.TRenderer&&null!==this.CurrentEffect&&(this.SkyBackground&&(this.SkyBackground.SunEffect=Bde.SunDiskEffect,this.SkyBackground.enable=Bde.SkyEffect),Dhe.TScene.updateMatrixWorld(),IE.Initialized&&IE.Visible&&IE.update(),ME.update(aue.CurrentCamera.Camera),cue.reset(),Xce.IsActive?(Fde.GroundMirror&&Fde.setARFloor(),aue.CurrentCamera.Camera.layers.set(0),this.CurrentEffect.render(),cue.render()):this.TRenderer.xr.enabled?(this.TRenderer.clear(),this.TRenderer.render(Dhe.TScene,aue.CurrentCamera.Camera)):(Fde.GroundMirror&&(pue.update(),Kce.render(this.TRenderer,Dhe.TScene,aue.CurrentCamera.Camera)),Bde.FloorShadow&&!Mme.AnimationClock.running&&Cse.render(),aue.CurrentCamera.Camera.layers.set(0),this.CurrentEffect.render(),cue.render(),Ame.IsCssTransitionRunning&&(aue.CurrentCamera.Camera.aspect=fme.getRenderAspectRatio(),aue.CurrentCamera.Camera.updateProjectionMatrix())))}addEffectManager(e,t,r){const n={rendererOptions:t,effectOptions:r,effectComposer:null};this._effectManagers.set(e,n),!this._renderer||dm.isIOS&&!n.effectOptions.default||this.createEffectComposer(e,n)}initEffectManagers(){const e={canvas:document.querySelector("#canvasTHREE"),fog:!0,transparent:g_configuration.transparent_canvas_background},t={camera:aue.CurrentCamera.Camera,clearScene:!0,hr:!1,default:!1,msaa:{enabled:!1,intensity:2},fxaa:{enabled:!1},ssao:{enabled:!1},smaa:{enabled:!1},taa:{enabled:!1,intensity:0}};this.addEffectManager("low",e,t);const r=Object.assign(Object.assign({},t),{default:!0,ssao:Object.assign(Object.assign({},t.ssao),{enabled:dm.ssaoEnabled&&Bde.VectorBasedSSAOEffect})});this.addEffectManager("default",e,r);const n=Object.assign(Object.assign({},t),{msaa:Object.assign(Object.assign({},t.msaa),{intensity:2}),smaa:Object.assign(Object.assign({},t.smaa),{enabled:!0})});this.addEffectManager("high",e,n);const i=new gce,o=new Vce(i.Camera,fme.RenderDiv);aue.createCameraAndControl("ar",i,o);const s={camera:i.Camera,msaa:{intensity:2},taa:{intensity:2}},a=Object.assign(Object.assign({},e),{fog:!1,transparent:!0});this.addEffectManager("ar",a,s)}setupHRRenderer(e){var t,r;const n=this._effectManagers.get("default");if(!this.hasRenderer("hr")){document.querySelector("#canvasTHREE");const e=this._effectManagers.get("default").rendererOptions,i={camera:aue.CurrentCamera.Camera,ssao:{enabled:null!==(r=null===(t=null==n?void 0:n.effectOptions.ssao)||void 0===t?void 0:t.enabled)&&void 0!==r&&r},msaa:{enabled:!1,intensity:2},clearScene:!1,hr:!0};this.addEffectManager("hr",e,i)}e&&!this.is("hr")&&this.switchRenderer("hr")}debug(){if(!g_configuration.panel_left_show||!Phe.DebugGUI||!this.TRenderer)return!1;const e=this.TRenderer,t=Phe.DebugGUI.addFolder("Renderer"),r=t.addFolder("Image Based Lighting");r.add(Dhe.TScene,"environmentIntensity",0,5).step(.01).onChange(e=>{Dhe.TScene.backgroundIntensity=e});const n={enabled:Bde.EnableIBL,showBackground:!1};r.add(n,"enabled").onChange(e=>this.enableIBL(e,n.showBackground)),r.add(n,"showBackground").onChange(e=>this.enableIBL(n.enabled,e));const i=t.addFolder("ShadowMap");i.add(e.shadowMap,"type",{BasicShadowMap:0,PCFShadowMap:1,PCFSoftShadowMap:2,VSMShadowMap:3}).onChange(t=>{e.shadowMap.type=+t}),i.add(e.shadowMap,"enabled");const o=t.addFolder("ToneMapping");o.add(e,"toneMapping",{NoToneMapping:0,LinearToneMapping:1,ReinhardToneMapping:2,CineonToneMapping:3,ACESFilmicToneMapping:4,CustomToneMapping:5,AgXToneMapping:6,NeutralToneMapping:7}).onChange(t=>{e.toneMapping=+t}),o.add(e,"toneMappingExposure",0,3).step(.1)}_debugEffects(){if(!Phe.DebugGUI||!this.CurrentEffect)return;const e=this.CurrentEffect,t=Phe.DebugGUI.addFolder("Effects");Object.entries(e.OptionalPasses).forEach(([r,n])=>{const i=t.addFolder(n.name||r.toUpperCase());if(!n.options)return;const o={},s={};Object.entries(n.options).forEach(([t,r])=>{n.options[t].value||(n.options[t].value=n.pass[t]),o[t]=n.options[t].value;const a=r=>{n.options[t].value="boolean"==typeof r||isNaN(+r)?r:+r,n.apply.call(e,n.options,n.pass),e.rebuildPasses()};let l;l=void 0!==r.min&&void 0!==r.max?i.add(n.pass,t).min(r.min).max(r.max).step(r.step||.5).onChange(a):i.add(n.pass,t).onChange(a),s[t]=l});const a={"Reset to defaults":()=>{Object.entries(o).forEach(([e,t])=>{void 0!==t&&(n.pass[e]=t,n.options[e].value=t,s[e]&&s[e].updateDisplay&&s[e].updateDisplay())}),"function"==typeof n.pass.updateSigma&&void 0!==o.blurSigma&&n.pass.updateSigma(o.blurSigma),n.apply.call(e,n.options,n.pass),e.rebuildPasses()}};i.add(a,"Reset to defaults")})}setTwoDCamera(){let e=null,t=null;aue.isCameraAndControl("2d")?aue.resetToMain():(aue.hasCameraAndControl("2d")||(t||(t=new gue(fme.RenderDiv)),e||(e=new fue(t.Camera,fme.RenderDiv)),aue.createCameraAndControl("2d",t,e)),aue.changeCameraAndControl("2d"),aue.CurrentCameraControl.autoFitCamera({fitScene:!0}))}dispose(){this._effectManagers.forEach(e=>{e.effectComposer&&e.effectComposer.dispose()}),this._renderer&&(this._renderer.forceContextLoss(),this._renderer.dispose(),this._renderer=null)}};const Cue=new class{constructor(){this.textureLoader=new Hl,this.cubeTextureLoader=new Vl,this.ddsLoader=new Ab,this._textureLoadQueue=[],this._activeTextureLoads=0,Tl.enabled=!0,this._maxConcurrentLoads=dm.isIOS?1:1/0}enqueueLoad(e){return this._maxConcurrentLoads===1/0?e():new Promise((t,r)=>{const n=()=>{this._activeTextureLoads++;const n=()=>{this._activeTextureLoads--,this.drainQueue()};e().then(e=>{n(),t(e)},e=>{n(),r(e)})};this._activeTextureLoads<this._maxConcurrentLoads?n():this._textureLoadQueue.push(n)})}drainQueue(){for(;this._textureLoadQueue.length>0&&this._activeTextureLoads<this._maxConcurrentLoads;){this._textureLoadQueue.shift()()}}get TextureLoader(){return this.textureLoader}limitTextureSize(e){var t,r,n,i;const o=dm.maxTextureSize;if(o===Number.MAX_SAFE_INTEGER)return;const s=e.image;if(!s)return;const a=null!==(r=null!==(t=s.naturalWidth)&&void 0!==t?t:s.width)&&void 0!==r?r:0,l=null!==(i=null!==(n=s.naturalHeight)&&void 0!==n?n:s.height)&&void 0!==i?i:0;if(!a||!l||a<=o&&l<=o)return;const c=o/Math.max(a,l),u=Math.pow(2,Math.round(Math.log2(a*c))),d=Math.pow(2,Math.round(Math.log2(l*c))),h=document.createElement("canvas");h.width=u,h.height=d,h.getContext("2d").drawImage(s,0,0,u,d),e.image=h,e.needsUpdate=!0,console.info(`[iOS tex] ${e.name||"(unnamed)"} scaled ${a}×${l} → ${u}×${d}`)}getTextureFromURL(e){return this.enqueueLoad(()=>new Promise((t,r)=>{Cue.TextureLoader.load(e,e=>{this.limitTextureSize(e),t(e)},function(e){},function(e){t(null)})}))}getTexture(e){return e.textureName?this.enqueueLoad(()=>new Promise((t,r)=>{this.textureLoader.load(lm.getUrl(e.manuName,"","tex",e.textureName.toLowerCase(),!0),e=>{this.limitTextureSize(e),t(e)},function(e){},function(e){console.log(e),t(null)})})):Promise.resolve(null)}getDefaultCubeTexture(){return this.defaultCubeTexture||(this.defaultCubeTexture=new Promise((e,t)=>{this.cubeTextureLoader.setPath("/images/cubemap/").load(["px.png","nx.png","nz.png","pz.png","py.png","ny.png"],t=>{e(t)},()=>{},()=>{t()})})),this.defaultCubeTexture}getCubeTexture(e){if(!e.textureName)return Promise.resolve(null);const t=-1!==e.textureName.search(".dds");return dm.iblEnabled||t?this.enqueueLoad(()=>new Promise((r,n)=>{const i=e.manuName,o=lm.getUrl(i,"","tex",e.textureName.toLowerCase(),!0);if(t){if(!dm.ddsEnabled)return void r(null);this.ddsLoader.load(o,function(e){r(e)})}else e.textureName.includes(".exr")?(new wb).load(o,function(e){e.mapping=fe;const t=Aue.PMREMGenerator.fromEquirectangular(e);r(t.texture)},null,e=>n(e)):e.textureName.includes(".hdr")?(new Cy).load(o,e=>{e.mapping=fe;const t=Aue.PMREMGenerator.fromEquirectangular(e);r(t.texture)},null,e=>n(e)):this.textureLoader.load(o,function(e){e.mapping=fe;const t=Aue.PMREMGenerator.fromEquirectangular(e);r(t.texture)})})):Promise.resolve(null)}getManuProgFile(e){let t=e;const r={manu:"",prog:"",file:""};let n=t.indexOf("manufacturer");if(-1!==n){const e=t.substr(n+12+1).replace(/\\/g,"/");n=e.indexOf("/"),r.manu=e.substr(0,n),t=e.substr(n+1),n=t.indexOf("/"),r.prog=t.substr(0,n),t=t.substr(n+1),r.file=e}return r}};var Eue=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class Iue extends cu{constructor(e){super(e)}parse(e){return Eue(this,void 0,void 0,function*(){this.userData=Object.assign({},e),Cde.addBaseData(this,e);const t=yield Cue.getTextureFromURL("/images/basematerials/alu/metallic.jpg"),r=yield Cue.getTextureFromURL("/images/basematerials/alu/roughness.jpg");return yield Cde.loadEnvMap(this,Object.assign(Object.assign({},e),{EV:"_global\\_global\\textures\\stainless_steel_EM.hdr"})),t.wrapS=t.wrapT=ye,t.repeat.set(1,1),r.wrapS=r.wrapT=ye,r.repeat.set(1,1),r.magFilter=Se,r.minFilter=Se,r.version++,r.needsUpdate=!0,this.metalnessMap=t,this.roughnessMap=r,this.clearcoat=1,this.clearcoatRoughness=.65,this.roughness=.58,this.metalness=1,this.envMapIntensity=.7,this.anisotropy=0,this})}cloneAsync(){return Eue(this,void 0,void 0,function*(){return yield Iue.create(this.userData)})}}Iue.create=function(e){console.log("Aluminium BaseMaterial",e);return(new Iue).parse(e)};var Mue=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class kue extends Hm{constructor(e){super(e)}parse(e){const t=Object.create(null,{parse:{get:()=>super.parse}});return Mue(this,void 0,void 0,function*(){return yield t.parse.call(this,e),yield Cde.loadMap(this,e),this.userData=Object.assign({},e),Cde.addBaseData(this,e),this.clearcoatRoughness=.03,this.clearcoat=0,this.roughness=.4,this.metalness=0,this})}cloneAsync(){return Mue(this,void 0,void 0,function*(){return yield kue.create(this.inData)})}}kue.create=function(e){console.log("WoodImage BaseMaterial");return(new kue).parse(e)};var Tue=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class Rue extends Hm{constructor(e){super(e)}parse(e){const t=Object.create(null,{parse:{get:()=>super.parse}});return Tue(this,void 0,void 0,function*(){return yield t.parse.call(this,e),Cde.addBaseData(this,e),this.userData=Object.assign({},e),yield Cde.loadMap(this,e),this.clearcoatRoughness=.03,this.clearcoat=0,this.roughness=.4,this.metalness=0,this})}cloneAsync(){return Tue(this,void 0,void 0,function*(){return yield Rue.create(this.inData)})}}Rue.create=function(e){console.log("WoodRgbImage BaseMaterial");return(new Rue).parse(e)};var Lue=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class Pue extends cu{constructor(e){super(e)}parse(e){return Lue(this,void 0,void 0,function*(){const{CD:t,CS:r}=e;return this.userData=Object.assign({},e),this.userData=Object.assign({},e),Cde.addBaseData(this,e),yield Cde.loadEnvMap(this,Object.assign(Object.assign({},e),{EV:"_global\\_global\\textures\\stainless_steel_EM.hdr"})),this.color=new mi(t[0],t[1],t[2]).convertSRGBToLinear(),this.reflectivity=1,this.specularColor=new mi(r[0],r[1],r[2]),this.roughness=.03,this.metalness=1,this})}cloneAsync(){return Lue(this,void 0,void 0,function*(){return yield Pue.create(this.userData)})}}Pue.create=function(e){console.log("Chrome BaseMaterial",e);return(new Pue).parse(e)};var Due=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class Nue extends Hm{constructor(e){super(e)}parse(e){const t=Object.create(null,{parse:{get:()=>super.parse}});return Due(this,void 0,void 0,function*(){return yield t.parse.call(this,e),yield Cde.loadEnvMap(this,e),yield Cde.loadMap(this,e),yield Cde.loadEnvMap(this,Object.assign(Object.assign({},e),{EV:"_global\\_global\\textures\\PaintGlossy_EM.hdr"})),this.envMapIntensity=.2,this.envMapRotation=new Rn(.5*Math.PI,0,.75*Math.PI),this.userData=Object.assign({},e),Cde.addBaseData(this,e),this.clearcoatRoughness=.14,this.clearcoat=1,this.roughness=0,this.metalness=.2,this.reflectivity=1,this})}cloneAsync(){return Due(this,void 0,void 0,function*(){return yield Nue.create(this.inData)})}}Nue.create=function(e){console.log("PaintGlossyImage BaseMaterial");return(new Nue).parse(e)};var Fue=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class Oue extends Hm{constructor(e){super(e)}parse(e){const t=Object.create(null,{parse:{get:()=>super.parse}});return Fue(this,void 0,void 0,function*(){return yield t.parse.call(this,e),yield Cde.loadEnvMap(this,Object.assign(Object.assign({},e),{EV:"_global\\_global\\textures\\PaintGlossy_EM.hdr"})),this.envMapIntensity=.2,this.envMapRotation=new Rn(.5*Math.PI,0,.75*Math.PI),this.userData=Object.assign({},e),Cde.addBaseData(this,e),this.clearcoatRoughness=.14,this.clearcoat=1,this.roughness=0,this.metalness=.2,this.reflectivity=1,this})}cloneAsync(){return Fue(this,void 0,void 0,function*(){return yield Oue.create(this.inData)})}}Oue.create=function(e){console.log("PaintGlossyRgbDif BaseMaterial",e);return(new Oue).parse(e)};var Bue=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class Uue extends Hm{constructor(e){super(e)}parse(e){const t=Object.create(null,{parse:{get:()=>super.parse}});return Bue(this,void 0,void 0,function*(){return yield t.parse.call(this,e),this.userData=Object.assign({},e),Cde.addBaseData(this,e),this.clearcoatRoughness=.03,this.clearcoat=0,this.roughness=.4,this.metalness=0,this})}cloneAsync(){return Bue(this,void 0,void 0,function*(){return yield Uue.create(this.inData)})}}Uue.create=function(e){console.log("PaintMatRgb BaseMaterial",e.name,e);return(new Uue).parse(e)};var Vue=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class zue extends Hm{constructor(e){super(e)}parse(e){const t=Object.create(null,{parse:{get:()=>super.parse}});return Vue(this,void 0,void 0,function*(){return yield t.parse.call(this,e),this.userData=Object.assign({},e),Cde.addBaseData(this,e),yield Cde.loadMap(this,e),this.clearcoatRoughness=.03,this.clearcoat=0,this.roughness=.4,this.metalness=0,this})}cloneAsync(){return Vue(this,void 0,void 0,function*(){return yield zue.create(this.inData)})}}zue.create=function(e){console.log("PaintMatImage BaseMaterial",e.name,e);return(new zue).parse(e)};var Hue=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class Gue extends Hm{constructor(e){super(e)}parse(e){const t=Object.create(null,{parse:{get:()=>super.parse}});return Hue(this,void 0,void 0,function*(){return yield t.parse.call(this,Object.assign({},e)),this.userData=Object.assign({},e),Cde.addBaseData(this,e),this.clearcoatRoughness=0,this.clearcoat=0,this.roughness=.3,this.specularIntensity=.1,this.reflectivity=.6,this.metalness=0,this})}cloneAsync(){return Hue(this,void 0,void 0,function*(){return yield Gue.create(this.inData)})}}Gue.create=function(e){console.log("WoodNormalImage BaseMaterial");return(new Gue).parse(e)};var jue=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class Jue extends Hm{constructor(e){super(e)}parse(e){const t=Object.create(null,{parse:{get:()=>super.parse}});return jue(this,void 0,void 0,function*(){return yield t.parse.call(this,e),this})}cloneAsync(){return jue(this,void 0,void 0,function*(){return yield Jue.create(this.inData)})}}Jue.create=function(e){return console.log("WoodTemplateTexture BaseMaterial"),kue.create(e)};var Wue=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class Que extends Hm{constructor(e){super(e)}parse(e){const t=Object.create(null,{parse:{get:()=>super.parse}});return Wue(this,void 0,void 0,function*(){return yield t.parse.call(this,e),yield Cde.loadMap(this,e),Cde.addBaseData(this,e),this.clearcoatRoughness=.03,this.clearcoat=0,this.roughness=.45,this.metalness=0,this})}cloneAsync(){return Wue(this,void 0,void 0,function*(){return yield Que.create(this.inData)})}}Que.create=function(e){console.log("Image BaseMaterial");return(new Que).parse(e)};var que=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class Yue extends Hm{constructor(e){super(e)}parse(e){const t=Object.create(null,{parse:{get:()=>super.parse}});return que(this,void 0,void 0,function*(){const r=new mi(.95,.95,.95);return yield t.parse.call(this,Object.assign(Object.assign({},e),{CD:[r.r,r.g,r.b],EV:void 0})),this.userData=Object.assign(Object.assign({},e),{CD:[r.r,r.g,r.b]}),Cde.addBaseData(this,Object.assign(Object.assign({},e),{CD:[r.r,r.g,r.b]})),this.specularColor=this.color.clone(),yield Cde.loadEnvMap(this,Object.assign(Object.assign({},e),{EV:"_global\\_global\\textures\\stainless_steel_EM.hdr"})),this.envMapIntensity=.8,this.transparent=!0,this.opacity=1-.65*e.TR,this.clearcoat=1,this.clearcoatRoughness=.15,this.transmission=1,this.roughness=.04,this.reflectivity=.5,this.thickness=3,this.side=2,this.surfaceNormalMap=null,this.mirrorMap=null,this})}cloneAsync(){return que(this,void 0,void 0,function*(){return yield Yue.create(this.inData)})}}Yue.create=function(e){console.log("GlassClear BaseMaterial",e);return(new Yue).parse(e)};var Xue=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class Kue extends Hm{constructor(e){super(e)}parse(e){return Xue(this,void 0,void 0,function*(){this.userData=Object.assign({},e),Cde.addBaseData(this,e);const t=e.CD&&(e.CD[0]>0||e.CD[1]>0||e.CD[2]>0)?e.CD:e.DifMidVal;return this.color=new mi(t[0],t[1],t[2]),this.specularColor=this.color.clone(),yield Cde.loadEnvMap(this,Object.assign(Object.assign({},e),{EV:"_global\\_global\\textures\\stainless_steel_EM.hdr"})),this.envMapIntensity=.2,this.envMapRotation=new Rn(0,0,.5*Math.PI),yield Cde.loadMap(this,e),this.transparent=!0,this.opacity=1-.5*e.TR,this.clearcoat=1,this.clearcoatRoughness=.15,this.transmission=1,this.roughness=.07,this.reflectivity=.5,this.thickness=10,this.side=2,this.surfaceNormalMap=null,this.mirrorMap=null,this})}cloneAsync(){return Xue(this,void 0,void 0,function*(){return yield Kue.create(this.inData)})}}Kue.create=function(e){console.log("Glass BaseMaterial");return(new Kue).parse(e)};var Zue=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class ede extends Hm{constructor(e){super(e)}parse(e){const t=Object.create(null,{parse:{get:()=>super.parse}});return Zue(this,void 0,void 0,function*(){yield t.parse.call(this,e),this.userData=Object.assign({},e),Cde.addBaseData(this,e),yield Cde.loadMap(this,e);const r=e.CD&&(e.CD[0]>0||e.CD[1]>0||e.CD[2]>0)?e.CD:e.DifMidVal;this.color=new mi(r[0],r[1],r[2]),this.specularColor=this.color.clone(),yield Cde.loadEnvMap(this,Object.assign(Object.assign({},e),{EV:"_global\\_global\\textures\\stainless_steel_EM.hdr"})),this.envMapIntensity=1;const n=4-2.5*(1-(.299*r[0]+.587*r[1]+.114*r[2]));return this.opacity=Math.max(.05,1-e.TR*n),this.clearcoat=1,this.clearcoatRoughness=.23,this.transmission=1,this.roughness=.23,this.reflectivity=.85,this.thickness=3,this.side=2,this.surfaceNormalMap=null,this.mirrorMap=null,this})}cloneAsync(){return Zue(this,void 0,void 0,function*(){return yield ede.create(this.inData)})}}ede.create=function(e){console.log("GlassMat BaseMaterial");return(new ede).parse(e)};var tde=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class rde extends Hm{constructor(e){super(e)}parse(e){return tde(this,void 0,void 0,function*(){this.userData=Object.assign({},e),Cde.addBaseData(this,e);const t=e.CD&&(e.CD[0]>0||e.CD[1]>0||e.CD[2]>0)?e.CD:e.DifMidVal;return this.color=new mi(t[0],t[1],t[2]),yield Cde.loadEnvMap(this,Object.assign(Object.assign({},e),{EV:"_global\\_global\\textures\\Mirror_EM.hdr"})),this.envMapRotation=new Rn(.5*Math.PI,0,.4),this.clearcoatRoughness=.03,this.clearcoat=0,this.roughness=.02,this.metalness=1,this})}cloneAsync(){return tde(this,void 0,void 0,function*(){return yield rde.create(this.inData)})}}rde.create=function(e){console.log("MirrorRgb BaseMaterial");return(new rde).parse(e)};var nde=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class ide extends cu{constructor(e){super(e)}parse(e){return nde(this,void 0,void 0,function*(){return this.userData=e,this.color=new mi("#e2e2e2"),yield Cde.loadEnvMap(this,Object.assign(Object.assign({},e),{EV:"_global\\_global\\textures\\Mirror_EM.hdr"})),this.envMapRotation=new Rn(.5*Math.PI,0,.4),Cde.addBaseData(this,e),this.clearcoatRoughness=.03,this.clearcoat=0,this.roughness=.02,this.metalness=1,this})}cloneAsync(){return nde(this,void 0,void 0,function*(){return yield ide.create(this.userData)})}}ide.create=function(e){console.log("Mirror BaseMaterial");return(new ide).parse(e)};var ode=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class sde extends Hm{constructor(e){super(e)}parse(e){const t=Object.create(null,{parse:{get:()=>super.parse}});return ode(this,void 0,void 0,function*(){return yield t.parse.call(this,Object.assign(Object.assign({},e),{NMS:.2})),this.userData=Object.assign(Object.assign({},e),{NMS:.2}),Cde.addBaseData(this,Object.assign(Object.assign({},e),{NMS:.2})),yield Cde.loadMap(this,e),this.clearcoatRoughness=0,this.clearcoat=0,this.roughness=.52,this.metalness=0,this.sheen=1,this.sheenRoughness=.7,this.sheenColor=new mi(11184810),this})}cloneAsync(){return ode(this,void 0,void 0,function*(){return yield sde.create(this.inData)})}}sde.create=function(e){console.log("Leather BaseMaterial",e);return(new sde).parse(e)};var ade=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class lde extends Hm{constructor(e){super(e)}parse(e){const t=Object.create(null,{parse:{get:()=>super.parse}});return ade(this,void 0,void 0,function*(){return yield t.parse.call(this,e),this.userData=Object.assign({},e),Cde.addBaseData(this,e),yield Cde.loadMap(this,e),this.clearcoatRoughness=.03,this.clearcoat=0,this.roughness=.7,this.metalness=0,this})}cloneAsync(){return ade(this,void 0,void 0,function*(){return yield lde.create(this.inData)})}}lde.create=function(e){console.log("Velour BaseMaterial");return(new lde).parse(e)};var cde=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class ude extends Hm{constructor(e){super(e)}parse(e){const t=Object.create(null,{parse:{get:()=>super.parse}});return cde(this,void 0,void 0,function*(){if(yield t.parse.call(this,Object.assign({},e)),this.userData=Object.assign({},e),Cde.addBaseData(this,e),yield Cde.loadMap(this,e),this.clearcoat=0,this.roughness=.8,this.metalness=0,this.sheen=.3,this.sheenRoughness=.7,e.DifMidVal){const{DifMidVal:t}=e;this.sheenColor=new mi(t[0],t[1],t[2]).convertSRGBToLinear()}return this})}cloneAsync(){return cde(this,void 0,void 0,function*(){return yield ude.create(this.inData)})}}ude.create=function(e){console.log("Textile BaseMaterial",e);return(new ude).parse(e)};var dde=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class hde extends cu{constructor(e){super(e)}parse(e){return dde(this,void 0,void 0,function*(){const t=new mi(.714,.714,.714);this.userData=Object.assign(Object.assign({},e),{CD:[t.r,t.g,t.b]}),this.color=t,this.color.convertSRGBToLinear(),Cde.addBaseData(this,e);const{EV:r}=e,n=r?r.replace(".jpg",".hdr"):"";(yield Cde.loadEnvMap(this,Object.assign(Object.assign({},e),{EV:n})))||(console.warn(`Loading default HDR environment map for material ${e.name}.`),yield Cde.loadEnvMap(this,Object.assign(Object.assign({},e),{EV:"_global\\_global\\textures\\stainless_steel_EM.hdr"})));const{DT:i}=e,o=i.substring(i.lastIndexOf("\\")+1,i.lastIndexOf(".")),s=i.substring(i.lastIndexOf(".")+1);return yield Cde.loadMetalnessMap(this,Object.assign(Object.assign({},e),{DRX:2.5,DRY:2.5,metalnessMap:`_global\\_global\\textures\\${o}_MM.${s}`})),yield Cde.loadRoughnessMap(this,Object.assign(Object.assign({},e),{DRX:2.5,DRY:2.5,roughnessMap:`_global\\_global\\textures\\${o}_RM.${s}`})),this.clearcoat=1,this.clearcoatRoughness=.6,this.roughness=.23,this.metalness=1,this.envMapIntensity=1,this.anisotropy=0,this})}cloneAsync(){return dde(this,void 0,void 0,function*(){return yield hde.create(this.userData)})}}hde.create=function(e){return(new hde).parse(e)};var pde=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class mde extends lu{constructor(e){super(e)}parse(e){return pde(this,void 0,void 0,function*(){const t=new mi(.36862,.36862,.36862);return this.color=t,this.color.convertSRGBToLinear(),this.userData=Object.assign(Object.assign({},e),{CD:[t.r,t.g,t.b]}),Cde.addBaseData(this,Object.assign(Object.assign({},e),{CD:[t.r,t.g,t.b]})),yield Cde.loadEnvMap(this,Object.assign(Object.assign({},e),{EV:"_global\\_global\\textures\\stainless_steel_EM.hdr"})),yield Cde.loadRoughnessMap(this,Object.assign(Object.assign({},e),{DRX:1,DRY:1,roughnessMap:"_global\\_global\\textures\\MetalBrushed_Roughness.jpg"})),Cde.addBaseData(this,e),this.roughness=1,this.metalness=1,this})}cloneAsync(){return pde(this,void 0,void 0,function*(){return yield mde.create(this.userData)})}}mde.create=function(e){console.log("Iron BaseMaterial",e);return(new mde).parse(e)};var _de=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class gde extends Hm{constructor(e){super(e)}parse(e){const t=Object.create(null,{parse:{get:()=>super.parse}});return _de(this,void 0,void 0,function*(){console.log(e);const r=Object.assign({},e);return yield t.parse.call(this,r),this.userData=Object.assign({},r),Cde.addBaseData(this,r),yield Cde.loadAoMap(this,r),this.clearcoatRoughness=.03,this.clearcoat=0,this.roughness=.8,this.metalness=0,this})}cloneAsync(){return _de(this,void 0,void 0,function*(){return yield gde.create(this.inData)})}}gde.create=function(e){console.log("Brick BaseMaterial");return(new gde).parse(e)};var fde=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class vde extends Hm{constructor(e){super(e)}parse(e){const t=Object.create(null,{parse:{get:()=>super.parse}});return fde(this,void 0,void 0,function*(){return yield t.parse.call(this,Object.assign(Object.assign({},e),{DT:"_global\\_global\\textures\\Concrete_DT.jpg",DRX:1.5,DRY:1.5,NR:"_global\\_global\\textures\\Concrete_NR.jpg"})),this.userData=Object.assign({},e),Cde.addBaseData(this,e),this.clearcoatRoughness=0,this.clearcoat=0,this.roughness=.75,this.metalness=0,this})}cloneAsync(){return fde(this,void 0,void 0,function*(){return yield vde.create(this.inData)})}}vde.create=function(e){console.log("Concrete BaseMaterial");return(new vde).parse(e)};var bde=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class yde extends Hm{constructor(e){super(e)}parse(e){const t=Object.create(null,{parse:{get:()=>super.parse}});return bde(this,void 0,void 0,function*(){return yield t.parse.call(this,e),yield Cde.loadMap(this,e),this.userData=Object.assign({},e),Cde.addBaseData(this,e),this.clearcoatRoughness=.03,this.clearcoat=0,this.roughness=.4,this.metalness=0,this.transparent=!0,this.opacity=.4,this})}cloneAsync(){return bde(this,void 0,void 0,function*(){return yield yde.create(this.inData)})}}yde.create=function(e){console.log("Curtain BaseMaterial");return(new yde).parse(e)};var $de=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class xde extends Hm{constructor(e){super(e)}parse(e){const t=Object.create(null,{parse:{get:()=>super.parse}});return $de(this,void 0,void 0,function*(){return yield t.parse.call(this,e),yield Cde.loadMap(this,e),Cde.addBaseData(this,e),this.clearcoatRoughness=.03,this.clearcoat=0,this.roughness=.45,this.metalness=0,this})}cloneAsync(){return $de(this,void 0,void 0,function*(){return yield xde.create(this.inData)})}}xde.create=function(e){console.log("Background BaseMaterial");return(new xde).parse(e)};var Sde=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class wde extends Hm{constructor(e){super(e)}parse(e){return Sde(this,void 0,void 0,function*(){this.userData=Object.assign({},e),Cde.addBaseData(this,e);const t=e.CD&&(e.CD[0]>0||e.CD[1]>0||e.CD[2]>0)?e.CD:e.DifMidVal;return this.emissive=new mi(t[0],t[1],t[2]),this.color=new mi(t[0],t[1],t[2]),this.roughness=.4,this.metalness=0,this.emissiveIntensity=15,this.transparent=!1,this.opacity=1,this.toneMapped=!1,this})}cloneAsync(){return Sde(this,void 0,void 0,function*(){return yield wde.create(this.inData)})}}wde.create=function(e){return(new wde).parse(e)};var Ade=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};const Cde=new class{constructor(){}addBaseData(e,t){e.inData=t,-1!==t.name.indexOf("DHMC_")?e.polygonOffset=!1:(e.polygonOffset=!0,e.polygonOffsetFactor=1)}loadMap(e,t){return Ade(this,void 0,void 0,function*(){let r=null;return""!==t.DT&&(r=e.map?e.map:yield Cue.getTexture({manuName:t.m_hash,DRX:t.DRX,DRY:t.DRY,textureName:t.DT}),r&&(e.SizeX=t.SX,e.SizeY=t.SY,r.wrapS=r.wrapT=ye,e.map=r,e.map.colorSpace=zt,e.map.magFilter=Ie,e.map.minFilter=Ie,e.map.repeat=new fr(t.DRX,t.DRY),e.map.anisotropy=dm.getMaxAnisotropy(Aue.TRenderer),e.map.format===Ge&&t.USEALPHA&&(e.premultipliedAlpha=!0,e.transparent=!0))),r})}loadNormalMap(e,t){return Ade(this,void 0,void 0,function*(){let r=null;return""!==t.NR&&(r=e.normalMap?e.normalMap:yield Cue.getTexture({manuName:t.m_hash,DRX:t.DRX,DRY:t.DRY,textureName:t.NR,normalMapFile:!0}),r&&(r.wrapS=r.wrapT=ye,e.normalMap=r,e.normalScale.set(t.NMS,t.NMS),e.normalMap.magFilter=Ce,e.normalMap.minFilter=Ie,e.normalMap.repeat=new fr(t.DRX,t.DRY))),r})}loadMetalnessMap(e,t){return Ade(this,void 0,void 0,function*(){let r=null;return""!==t.metalnessMap&&(r=e.metalnessMap?e.metalnessMap:yield Cue.getTexture({manuName:t.m_hash,DRX:t.DRX,DRY:t.DRY,textureName:t.metalnessMap}),r&&(r.magFilter=Ce,r.minFilter=Ce,r.wrapS=r.wrapT=ye,r.repeat=new fr(t.DRX,t.DRY),e.metalnessMap=r)),r})}loadRoughnessMap(e,t){return Ade(this,void 0,void 0,function*(){let r=null;return""!==t.roughnessMap&&(r=e.roughnessMap?e.roughnessMap:yield Cue.getTexture({manuName:t.m_hash,DRX:t.DRX,DRY:t.DRY,textureName:t.roughnessMap}),r&&(r.magFilter=Ce,r.minFilter=Ce,r.wrapS=r.wrapT=ye,r.repeat=new fr(t.DRX,t.DRY),e.roughnessMap=r)),r})}loadEnvMap(e,t){return Ade(this,void 0,void 0,function*(){if(""!==t.EV)try{e.envMap=e.envMap?e.envMap:yield Cue.getCubeTexture({textureName:t.EV.toLowerCase(),manuName:t.m_hash})}catch(e){return console.warn(`Environment map ${t.EV} could not be loaded for ${t.name}.`),!1}return!!e.envMap&&(e.envMap.colorSpace=Ht,e.envMap.magFilter=Ce,e.envMap.minFilter=Ce,e.envMap.anisotropy=dm.getMaxAnisotropy(Aue.TRenderer),e.envMapRotation=new Rn(.5*Math.PI,0,0),!0)})}loadAoMap(e,t){return Ade(this,void 0,void 0,function*(){let r=null;return""!==t.aoMap&&(r=e.aoMap?e.aoMap:yield Cue.getTexture({manuName:t.m_hash,DRX:t.DRX,DRY:t.DRY,textureName:t.aoMap}),r&&(r.magFilter=Ce,r.minFilter=Ce,r.wrapS=r.wrapT=ye,r.repeat=new fr(t.DRX,t.DRY),e.aoMap=r)),r})}};var Ede,Ide=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};!function(e){e[e.MaterialName=0]="MaterialName",e[e.DiffuseR=1]="DiffuseR",e[e.DiffuseG=2]="DiffuseG",e[e.DiffuseB=3]="DiffuseB",e[e.AmbientR=4]="AmbientR",e[e.AmbientG=5]="AmbientG",e[e.AmbientB=6]="AmbientB",e[e.SpecularR=7]="SpecularR",e[e.SpecularG=8]="SpecularG",e[e.SpecularB=9]="SpecularB",e[e.CastShadow=10]="CastShadow",e[e.ReceiveShadow=11]="ReceiveShadow",e[e.IsFaceMap=12]="IsFaceMap",e[e.CullMode=13]="CullMode",e[e.LIT_IBL=14]="LIT_IBL",e[e.IsWireFrame=15]="IsWireFrame",e[e.SSAOMode=16]="SSAOMode",e[e.TextureFileName=17]="TextureFileName",e[e.SpecularMapFileName=18]="SpecularMapFileName",e[e.SpecularMapScale=19]="SpecularMapScale",e[e.SpecularRepeatFactorU=20]="SpecularRepeatFactorU",e[e.SpecularRepeatFactorV=21]="SpecularRepeatFactorV",e[e.NormalMapFileName=22]="NormalMapFileName",e[e.NormalMapScale=23]="NormalMapScale",e[e.NormalMapRepeatFactorU=24]="NormalMapRepeatFactorU",e[e.NormalMapRepeatFactorV=25]="NormalMapRepeatFactorV",e[e.ExtDiffuseFlatR=26]="ExtDiffuseFlatR",e[e.ExtDiffuseFlatG=27]="ExtDiffuseFlatG",e[e.ExtDiffuseFlatB=28]="ExtDiffuseFlatB",e[e.Emission=29]="Emission",e[e.Transparency=30]="Transparency",e[e.Shininess=31]="Shininess",e[e.Refraction_IOR=32]="Refraction_IOR",e[e.Reflection=33]="Reflection",e[e.ReflectionType=34]="ReflectionType",e[e.LineWidth=35]="LineWidth",e[e.AutoCadLineStyle=36]="AutoCadLineStyle",e[e.EdgeLineMaterial=37]="EdgeLineMaterial",e[e.UseFresnel=38]="UseFresnel",e[e.FresnelBias=39]="FresnelBias",e[e.FresnelPower=40]="FresnelPower",e[e.FresnelScale=41]="FresnelScale",e[e.FresnelType=42]="FresnelType",e[e.DecalMapRepeatX=43]="DecalMapRepeatX",e[e.DecalMapRepeatY=44]="DecalMapRepeatY",e[e.LogicalType=45]="LogicalType",e[e.ViewMode=46]="ViewMode",e[e.UseAlphaChannel=47]="UseAlphaChannel",e[e.ScaleX=48]="ScaleX",e[e.ScaleY=49]="ScaleY",e[e.MapMove=50]="MapMove",e[e.EnvironmentFileName=51]="EnvironmentFileName",e[e.EnvironmentMapType=52]="EnvironmentMapType",e[e.UseNormalMapUVs=53]="UseNormalMapUVs",e[e.MaterialBaseType=54]="MaterialBaseType",e[e.MaterialBaseName=55]="MaterialBaseName",e[e.Metallic=56]="Metallic",e[e.Roughness=57]="Roughness",e[e.MaterialStatus=58]="MaterialStatus",e[e.ExtJSON=59]="ExtJSON",e[e.AOMapFileName=60]="AOMapFileName"}(Ede||(Ede={}));class Mde{constructor(e){this.materialSwitch_=0;const t=lm.getSearchKeyValuePair().filter(e=>"mat_type"===e.key)[0];t&&(this.materialSwitch_=isNaN(t.value)?0:+t.value);let r=this.createMaterialObject(e);return r=this.fixExtJSON(r),this.parse(r)}static create(e){return new Promise((t,r)=>{t(new Mde(e))})}createMaterialObject(e){const t={};for(const r in Ede)isNaN(Number(r))||(+r===Ede.Roughness&&+e[r]<0?(t.Roughness=1-t.Shininess/1800||1,(t.EnvironmentFileName||t.LIT_IBL)&&(t.Roughness=(t.DiffuseR+t.DiffuseG+t.DiffuseB)/3/255)):+r===Ede.Metallic&&+e[r]<0?t.Metallic=0:isNaN(+e[r])?e.length-1<r||void 0===e[r]?+r===Ede.ExtJSON?t[Ede[r]]={}:t[Ede[r]]="":t[Ede[r]]=e[r]:t[Ede[r]]=+e[r]);return t}getTexture(e,t,r,n){if(!r||!t[r])return Promise.resolve();t[r]=t[r].replace(/\\/g,"/");const i=Cue.getManuProgFile(t[r]);return i.file?Cue.getTexture({manuName:i.manu,textureName:i.file}).then(r=>(r.wrapS=r.wrapT=ye,r.anisotropy=dm.getMaxAnisotropy(Aue.TRenderer),n(e,r,t),r)):Promise.resolve()}parseDiffuse(e,t,r){e.map=t,e.map.colorSpace=zt,e.map.repeat=new fr(r.DecalMapRepeatX,r.DecalMapRepeatY),e.map.magFilter=Ce,e.map.minFilter=Me,e.map.anisotropy=dm.getMaxAnisotropy(Aue.TRenderer),e.map.wrapS=e.map.wrapT=ye,e.USEALPHA&&(e.map.format=Ge,e.premultipliedAlpha=!0,e.transparent=!0)}parseNormal(e,t,r){t&&(e.normalMap=t,e.normalScale=new fr(r.NormalMapScale,r.NormalMapScale))}parseEnvironment(e,t,r){if(!r||!t[r])return Promise.resolve();t[r]=t[r].replace(/\\/g,"/");const n=Cue.getManuProgFile(t[r]);return n.file?Cue.getCubeTexture({textureName:n.file,manuName:n.manu}).then(t=>{e.envMap=t,t&&(e.envMap.repeat=new fr(1e-4,1e-4),e.envMap.magFilter=Ce,e.envMap.minFilter=Ce,e.envMap.mapping=SphericalReflectionMapping,e.envMap.anisotropy=dm.getMaxAnisotropy(Aue.TRenderer),e.envMap.wrapS=e.envMap.wrapT=ye,e.combine=0,e.reflectivity=1,e.transparent&&(e.envMapIntensity=.35))}):Promise.resolve()}parseBump(e,t,r){t&&(e.bumpMap=t,e.bumpScale=r.ExtJSON.bumpScale)}parseMetalnessMap(e,t,r){t&&(e.metalnessMap=t)}parseRoughnessMap(e,t,r){t&&(e.roughnessMap=t)}parseAlphaMap(e,t,r){t&&(e.alphaMap=t)}parseTransmissionMap(e,t,r){t&&(e.transmissionMap=t)}parseClearCoat(e,t,r){t&&(e.clearcoatMap=t)}parseClearCoatNormal(e,t,r){t&&(e.clearcoatNormalMap=t,e.clearcoatNormalScale=new fr(r.ExtJSON.clearcoatNormalScale.x,r.ExtJSON.clearcoatNormalScale.y))}parseClearCoatRoughness(e,t,r){t&&(e.clearcoatRoughnessMap=t)}parseAO(e,t,r){t&&(e.aoMap=t,e.aoMapIntensity=r.ExtJSON.aoMapIntensity)}parseLightMap(e,t,r){t&&(e.lightMap=t,e.lightMapIntensity=r.ExtJSON.lightMapIntensity)}parseEmissiveMap(e,t,r){t&&(e.emissiveMap=t,e.emissiveIntensity=r.ExtJSON.emissiveIntensity)}parseDisplacementMap(e,t,r){t&&(e.displacementMap=t,e.displacementBias=r.ExtJSON.displacementBias,e.displacementScale=new fr(r.ExtJSON.displacementScale.x,r.ExtJSON.displacementScale.y))}parseSpecularMap(e,t,r){t&&(0===this.materialSwitch_||(e.specularMap=t))}parseMapsSequential(e,t,r){return Ide(this,void 0,void 0,function*(){yield this.parseEnvironment(e,r,"EnvironmentFileName"),yield this.getTexture(e,r,"TextureFileName",this.parseDiffuse),yield this.getTexture(e,r,"NormalMapFileName",this.parseNormal),dm.bumpMapEnabled&&(yield this.getTexture(e,r,"BumpMapFileName",this.parseBump)),yield this.getTexture(e,r,"SpecularMapFileName",this.parseSpecularMap.bind(this)),yield this.getTexture(e,r,"MetalnessMapFileName",this.parseMetalnessMap),yield this.getTexture(e,r,"RoughnessMapFileName",this.parseRoughnessMap),yield this.getTexture(e,r,"AlphaMapFileName",this.parseAlphaMap),yield this.getTexture(e,r,"TransmissionMapFileName",this.parseTransmissionMap),yield this.getTexture(e,r,"ClearCoatMapFileName",this.parseClearCoat),yield this.getTexture(e,r,"ClearCoatNormalMapFileName",this.parseClearCoatNormal),yield this.getTexture(e,r,"ClearCoatRoughnessMapFileName",this.parseClearCoatRoughness),yield this.getTexture(e,r,"AOMapFileName",this.parseAO),yield this.getTexture(e,r,"LightMapFileName",this.parseLightMap),yield this.getTexture(e,r,"EmissiveMapFileName",this.parseEmissiveMap),dm.displacementMapEnabled&&(yield this.getTexture(e,r,"DisplacementMapFileName",this.parseDisplacementMap))})}parseMaps(e,t,r){if(dm.isIOS)return this.parseMapsSequential(e,t,r);const n=[];return n.push(this.parseEnvironment(e,r,"EnvironmentFileName")),n.push(this.getTexture(e,r,"TextureFileName",this.parseDiffuse)),n.push(this.getTexture(e,r,"NormalMapFileName",this.parseNormal)),n.push(this.getTexture(e,r,"BumpMapFileName",this.parseBump)),n.push(this.getTexture(e,r,"SpecularMapFileName",this.parseSpecularMap.bind(this))),n.push(this.getTexture(e,r,"MetalnessMapFileName",this.parseMetalnessMap)),n.push(this.getTexture(e,r,"RoughnessMapFileName",this.parseRoughnessMap)),n.push(this.getTexture(e,r,"AlphaMapFileName",this.parseAlphaMap)),n.push(this.getTexture(e,r,"TransmissionMapFileName",this.parseTransmissionMap)),n.push(this.getTexture(e,r,"ClearCoatMapFileName",this.parseClearCoat)),n.push(this.getTexture(e,r,"ClearCoatNormalMapFileName",this.parseClearCoatNormal)),n.push(this.getTexture(e,r,"ClearCoatRoughnessMapFileName",this.parseClearCoatRoughness)),n.push(this.getTexture(e,r,"AOMapFileName",this.parseAO)),n.push(this.getTexture(e,r,"LightMapFileName",this.parseLightMap)),n.push(this.getTexture(e,r,"EmissiveMapFileName",this.parseEmissiveMap)),n.push(this.getTexture(e,r,"DisplacementMapFileName",this.parseDisplacementMap)),Promise.all(n)}fixExtJSON(e){return isNaN(e.ExtJSON)||(e.ExtJSON="{}"),"string"==typeof e.ExtJSON?e.ExtJSON=JSON.parse(e.ExtJSON):"object"!=typeof e.ExtJSON&&(e.ExtJSON={}),e.ExtJSON.clearcoat=e.ExtJSON.clearcoat||e.EnvironmentFileName.length>0?1:0,e.ExtJSON.clearcoatRoughness=e.ExtJSON.clearcoatRoughness||+e.Roughness||0,e.ExtJSON.clearcoatRoughnessMap=e.ExtJSON.clearcoatRoughnessMap||"",e.ExtJSON.clearcoatNormalMap=e.ExtJSON.clearcoatNormalMap||"",e.ExtJSON.clearcoatNormalScale=e.ExtJSON.clearcoatNormalScale||{x:1,y:1},e.ExtJSON.envMapIntensity=e.ExtJSON.envMapIntensity||1,e.ExtJSON.reflectivity=e.ExtJSON.reflectivity||+e.Shininess/1800,e.ExtJSON.metalness=e.ExtJSON.metalness||+e.Metallic||0,e.ExtJSON.roughness=e.ExtJSON.roughness||+e.Roughness||0,e.ExtJSON.alphaMap=e.ExtJSON.alphaMap||"",e.ExtJSON.bumpMap=e.ExtJSON.bumpMap||"",e.ExtJSON.bumpScale=e.ExtJSON.bumpScale||1,e.ExtJSON.emissive=e.ExtJSON.emissive||{r:0,g:0,b:0},e.ExtJSON.emissiveMap=e.ExtJSON.emissiveMap||"",e.ExtJSON.emissiveIntensity=e.ExtJSON.emissiveIntensity||1,e.ExtJSON.metalnessMap=e.ExtJSON.metalnessMap||"",e.ExtJSON.roughnessMap=e.ExtJSON.roughnessMap||"",e.ExtJSON.transmissionMap=e.ExtJSON.transmissionMap||"",e.ExtJSON.lightMap=e.ExtJSON.lightMap||"",e.ExtJSON.aoMap=e.ExtJSON.aoMap||e.AOMapFileName,e.ExtJSON.aoMapIntensity=e.ExtJSON.aoMapIntensity||1,e.ExtJSON.displacementMap=e.ExtJSON.displacementMap||"",e.ExtJSON.displacementScale=e.ExtJSON.displacementScale||{x:1,y:1},e.ExtJSON.displacementBias=e.ExtJSON.displacementBias||0,e.ExtJSON.transparent=e.ExtJSON.transparent||!!+e.UseAlphaChannel||!!+e.Transparency||!1,e.ExtJSON.premultipliedAlpha=e.ExtJSON.premultipliedAlpha||!!+e.UseAlphaChannel||!1,e}parse(e){const t={color:new mi(+e.DiffuseR||1,+e.DiffuseG||1,+e.DiffuseB||1),alphaTest:.5,fog:!0,lights:!0,name:e.MaterialName,polygonOffset:!0,polygonOffsetFactor:1,premultipliedAlpha:e.ExtJSON.premultipliedAlpha,dithering:!1,flatShading:!1,transparent:e.ExtJSON.transparent,clearcoat:e.ExtJSON.clearcoat,clearcoatRoughness:e.ExtJSON.clearcoatRoughness,roughness:e.ExtJSON.roughness,metalness:e.ExtJSON.metalness};let r=null;if(1===this.materialSwitch_)t.specular=new mi(+e.SpecularR||1,+e.SpecularG||1,+e.SpecularB||1),t.opacity=+e.Transparency,t.reflectivity=+e.Metallic,t.shininess=+e.Shininess,r=new al(t);else t.reflectivity=e.ExtJSON.reflectivity,t.opacity=+e.Transparency||1,r=new Hm(t);return r.inData=e,r.USEALPHA=e.UseAlphaChannel,r.SizeX=e.ScaleX,r.SizeY=e.ScaleY,!e.EnvironmentFileName&&e.LIT_IBL&&dm.ddsEnabled&&(e.EnvironmentFileName="manufacturer/_global/_global/textures/rh_env1.dds"),r.mapsLoaded=this.parseMaps(r,t,e),Um.add(r.mapsLoaded),r}}var kde=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class Tde extends Hm{constructor(e){super(e)}parse(e){const t=Object.create(null,{parse:{get:()=>super.parse}});return kde(this,void 0,void 0,function*(){yield t.parse.call(this,e);return this.color=this.color.clone().convertLinearToSRGB().multiplyScalar(.7).convertSRGBToLinear(),this.userData=Object.assign({},e),Cde.addBaseData(this,e),yield Cde.loadMap(this,e),yield Cde.loadNormalMap(this,e),yield Cde.loadEnvMap(this,Object.assign(Object.assign({},e),{EV:"_global\\_global\\textures\\ceramic_EM.hdr"})),this.clearcoatRoughness=0,this.clearcoat=0,this.roughness=.09,this.metalness=0,this.envMapIntensity=.64,this.reflectivity=.5,this})}cloneAsync(){return kde(this,void 0,void 0,function*(){return yield Tde.create(this.inData)})}}Tde.create=function(e){console.log("Ceramic BaseMaterial",e);return(new Tde).parse(e)};var Rde=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};const Lde=new class{constructor(){this.matTypes={FALLBACK:Hm,ceramic_mat:Tde,image:Que,chrom:Pue,bronze:am,gold:nm,copper:om,aluminium:Iue,iron:mde,stainless_steel:hde,background:xde,paint_glossy_image:Nue,paint_glossy_rgb_dif:Oue,paint_mat_image:zue,paint_mat_rgb:Uue,wood_image:kue,wood_image_oiled:kue,wood_image_rgb:Rue,wood_normal_image:Gue,glass:Kue,glass_clear:Yue,glass_mat:ede,glass_mat_dark:ede,glasrgb:Kue,glass_rgb:Kue,textile:ude,velour:lde,concrete:vde,brick:gde,curtain:yde,leather:sde,mirror:ide,mirror_rgb:rde,emission:wde,wood_template_texture:Jue},this._idlePool={},this.matCache=tm.create("materials"),Tl.enabled=!0,this.initializeDefaultMaterials()}initializeDefaultMaterials(){document.addEventListener("readystatechange",()=>{"complete"===document.readyState&&(this._debugGUI||this.debug())}),this.matCache.add("fv_transparent_door",new Hm({color:new mi(0,0,0),transparent:!0,opacity:.5,name:"fv_transparent_door"})),this.GetNativeMaterial("fv_standard_mesh_load",null,new Hm({color:new mi(0,0,0),transparent:!0,opacity:.5,name:"fv_standard_mesh_load"})),this.GetNativeMaterial("fv_standard_line_load",null,new PE({color:new mi(0,0,0),name:"fv_standard_line_load"}))}addOrGetMaterial(e,t){if(this.matCache.get(e))return this._idlePool[e]&&(this._idlePool[e].resolve(),delete this._idlePool[e]),Promise.resolve(this.matCache.get(e));if(t||(t={LINE:e.includes("DHMC_LINE")?1:0,isEmpty:!0}),t.name=e,1===t.LINE)return PE.create(t).then(t=>(this.matCache.add(e,t),this._idlePool[e]&&(this._idlePool[e].resolve(),delete this._idlePool[e]),this.matCache.get(e)));return(this.matTypes[t.BaseMaterial]||(t.BM202?Mde:Hm)).create(t).then(t=>(t=this.interceptMaterialLoading(e,t),this.matCache.add(e,t),IE.Initialized&&-1===e.indexOf("DHMC_FVA_")&&IE.add(this.matCache.get(e)),this._idlePool[e]&&(this._idlePool[e].resolve(),delete this._idlePool[e]),this.matCache.get(e)))}checkForMaterials(e){return Rde(this,arguments,void 0,function*(e,t=""){if(!e)return;for(let t=0;t<e.length;t++)if("#"===e[t][0]){const r=e[t].indexOf("_")+1,n=e[t].lastIndexOf("_");e[t]=e[t].substr(r,n-r)}const r=[];let n="";for(let i=0;i<e.length;i++){const o=e[i];if(n=e[i],""!==e[i]&&(t.length>0&&(n=t+"_"+o,this._idlePool[n]?yield this._idlePool[n]:this._idlePool[n]=Om()),!this.matCache.get(n)))if(this._idlePool[o]?yield this._idlePool[o]:this._idlePool[o]=Om(),this.matCache.get(o)){if(n!==o){this.matCache.get(o)instanceof fs?this.matCache.add(n,this.matCache.get(o).clone()):yield this.matCache.get(o).cloneAsync().then(e=>(this.matCache.add(n,e),IE.Initialized&&IE.add(this.matCache.get(n)),this._idlePool[n]&&(this._idlePool[n].resolve(),delete this._idlePool[n]),!0))}}else r.push(o)}if(r.length>0){const e=this.getMaterials(r).then(e=>Rde(this,void 0,void 0,function*(){return e&&e[0]&&t.length>0?e[0]instanceof fs?(this.matCache.add(n,e[0].clone()),[this.matCache.get(n)]):yield e[0].cloneAsync().then(e=>(this.matCache.add(n,e),IE.add(this.matCache.get(n)),this._idlePool[n]&&(this._idlePool[n].resolve(),delete this._idlePool[n]),[e])):e}));return Um.add(e),e}return n=e[0],t.length>0&&(n=t+"_"+e[0]),this._idlePool[n]&&(this._idlePool[n].resolve(),delete this._idlePool[n]),Promise.resolve([this.matCache.get(n)])})}getMaterials(e){return ape.getMaterials(e).then(t=>{const r=e,n=[],i=r.length;for(let e=0;e<i;e++){const i=t[r[e]];let o=""+r[e].split("_")[0];"_"===r[e][0]&&(o="_global"),n.push(this.addOrGetMaterial(r[e],i))}return Promise.all(n)})}GetMaterial(e){if("#"===e[0]){const t=e.indexOf("_")+1,r=e.lastIndexOf("_");e=e.substr(t,r-t)}return void 0!==this.matCache.get(e)?this.matCache.get(e):{}}GetMaterialTexture(e){return Rde(this,void 0,void 0,function*(){if(void 0!==this.matCache.get(e))return this.matCache.get(e).mapsLoaded&&(yield this.matCache.get(e).mapsLoaded),this.matCache.get(e).map})}GetMaterialRealSize(e){return Rde(this,void 0,void 0,function*(){return void 0!==this.matCache.get(e)&&(this.matCache.get(e).mapsLoaded&&(yield this.matCache.get(e).mapsLoaded),void 0!==this.matCache.get(e))?{x:this.matCache.get(e).SizeX*(this.matCache.get(e).map?this.matCache.get(e).map.repeat.x:1)*C,y:this.matCache.get(e).SizeY*(this.matCache.get(e).map?this.matCache.get(e).map.repeat.y:1)*C}:{}})}GetMaterialCache(){return this.matCache}interceptMaterialLoading(e,t){if("_global_DHMC_FVA_ROTATION_RING"===e){const e=new vi({name:t.name,color:new mi(t.color.clone()),opacity:1});return Bde.BoxStyleSetting&&Bde.BoxStyleSetting.rotationRing&&Bde.BoxStyleSetting.rotationRing.rotation_ring_custom&&(e.color=(new mi).setStyle(Bde.BoxStyleSetting.rotationRing.rotationStyle_color),e.opacity=+Bde.BoxStyleSetting.rotationRing.rotationStyle_opacity),e}return t}clear(e){if(e){this._idlePool&&Object.values(this._idlePool).forEach(e=>{e.resolve()}),this._idlePool={};const e=[];this.matCache.traverse((t,r)=>{e.push(t),r&&(r.cleanup&&r.cleanup(),r.dispose&&r.dispose())}),e.forEach(e=>{!this.isFurnviewStandardMaterial(e)&&this.matCache.remove(e)}),this.initializeDefaultMaterials()}}GetNativeMaterial(e,t,r){let n=this.matCache.get(e);return void 0!==n?(n.parents||(n.parents=[]),r&&r.dispose()):r?(r.isNative=!0,r.parents=[],this.matCache.add(e,r),n=this.matCache.get(e)):n=null,n&&n.parents&&null!==t&&t instanceof qn&&-1===n.parents.indexOf(t)&&n.parents.push(t),n}RemoveNativeMaterial(e,t){const r=this.matCache.get(e);if(void 0!==r&&r.isNative&&r.parents){let n;-1===(n=r.parents.indexOf(t))&&-1===(n=r.parents.indexOf(t.parent))||r.parents.splice(n,1),this.isFurnviewStandardMaterial(e)||0!==r.parents.length||(r.dispose(),this.matCache.remove(e))}}isFurnviewStandardMaterial(e){return e.startsWith("fv_standard_")}update(){this.matCache.traverse((e,t)=>{t&&t.update&&t.update()})}needsUpdate(){this.matCache.traverse((e,t)=>{t&&(t.needsUpdate=!0)})}debug(){if(Phe.MaterialDebugRegion){if(!this._debugGUI){this._debugGUI=new dat.GUI({autoPlace:!1}),Phe.MaterialDebugRegion.appendChild(this._debugGUI.domElement);const e=document.querySelector("#materialDebugRegionUpdate");e&&e.addEventListener("click",()=>{this.debug()})}this.matCache.traverse((e,t)=>{var r;if(t instanceof cu||t instanceof lu){const n=e;-1!==Object.keys(this._debugGUI.getSaveObject().folders).indexOf(n)&&this._debugGUI.removeFolder(n);const i=t instanceof cu,o=this._debugGUI.addFolder(n),s=t.difMidVal?"#"+t.difMidVal.slice(0,3).map(e=>Math.max(0,Math.min(255,Math.round(255*e))).toString(16).padStart(2,"0")).join(""):null,a=Object.assign(Object.assign(Object.assign(Object.assign({BaseMaterial:null!==(r=t.userData.BaseMaterial)&&void 0!==r?r:"-"},s&&{difMidVal:s}),{color:"#"+t.color.getHexString(),emissive:"#"+t.emissive.getHexString(),roughness:t.roughness,metalness:t.metalness,envMapIntensity:t.envMapIntensity,emissiveIntensity:{$min:0,$max:30,$steps:.1,$value:t.emissiveIntensity},aoMapIntensity:t.aoMapIntensity,bumpScale:{$min:.001,$max:1,$steps:.001,$value:t.bumpScale},displacementScale:t.displacementScale,displacementBias:t.displacementBias,opacity:t.opacity,alphaTest:t.alphaTest,visible:t.visible,transparent:t.transparent}),i&&{specularIntensity:t.specularIntensity,specularColor:"#"+t.specularColor.getHexString(),reflectivity:t.reflectivity,ior:{$min:.01,$max:2.3,$steps:.01,$value:t.ior},anisotropy:t.anisotropy,clearcoat:t.clearcoat,clearcoatRoughness:t.clearcoatRoughness,sheen:t.sheen,sheenRoughness:t.sheenRoughness,sheenColor:"#"+t.sheenColor.getHexString(),transmission:t.transmission,thickness:{$min:.01,$max:100,$steps:1,$value:t.thickness},iridescence:t.iridescence}),{premultipliedAlpha:t.premultipliedAlpha,flatShading:t.flatShading,side:{FrontSide:0,BackSide:1,DoubleSide:2},shadowSide:{FrontSide:0,BackSide:1,DoubleSide:2},dithering:t.dithering,wireframe:t.wireframe,polygonOffset:t.polygonOffset,fog:t.fog,depthTest:t.depthTest,depthWrite:t.depthWrite,normalScale:{x:{$min:0,$max:25,$steps:.1,$value:t.normalScale.x},y:{$min:0,$max:25,$steps:.1,$value:t.normalScale.y}},surfaceNormalScale:{x:{$min:0,$max:25,$steps:.1,$value:t.surfaceNormalScale.x},y:{$min:0,$max:25,$steps:.1,$value:t.surfaceNormalScale.y}},Download:()=>{const e={};t&&t instanceof fi&&(Object.keys(a).forEach(r=>{t[r]instanceof fr?e[r]={x:t[r].x,y:t[r].y}:t[r]instanceof mi?e[r]="#"+t[r].getHexString():e[r]=t[r]}),Phe.__downloadJSON(e,(t.name?t.name:"material")+".json"))},__map:Object.assign(Object.assign({map:!!t.map||!!t.map_value,normalMap:!!t.normalMap||!!t.normalMap_value,surfaceNormalMap:!!t.surfaceNormalMap||!!t.normalMap2_value,aoMap:!!t.aoMap||!!t.aoMap_value,roughnessMap:!!t.roughnessMap||!!t.roughnessMap_value,envMap:!!t.envMap||!!t.envMap_value},i&&{clearcoatMap:!!t.clearcoatMap||!!t.clearcoatMap_value,clearcoatNormalMap:!!t.clearcoatNormalMap||!!t.clearcoatNormalMap_value,clearcoatRoughnessMap:!!t.clearcoatRoughnessMap||!!t.clearcoatRoughnessMap_value}),{lightMap:!!t.lightMap||!!t.lightMap_value,emissiveMap:!!t.emissiveMap||!!t.emissiveMap_value,displacementMap:!!t.displacementMap||!!t.displacementMap_value,bumpMap:!!t.bumpMap||!!t.bumpMap_value,alphaMap:!!t.alphaMap||!!t.alphaMap_value})}),l=(e,t)=>{let r=e;if(t){t.split(".").forEach(e=>{r=r[e]})}return r},c=(e,r,n)=>{Object.keys(e).forEach(i=>{if("object"==typeof e[i])if(e[i].$min||e[i].$max||e[i].$steps)r.add(e[i],"$value",isNaN(e[i].$min)?0:e[i].$min,isNaN(e[i].$max)?1:e[i].$max).step(isNaN(e[i].$steps)?.1:e[i].$steps).name(i).onChange(e=>{l(t,n)[i]=e,t.needsUpdate=!0,"emissiveIntensity"===i&&ME.syncLightsWithSourceMaterials()});else if(Number.isInteger(t[i])||Object.values(e[i]).every(e=>Number.isInteger(e)))r.add(e,i,e[i]).onChange(e=>{l(t,n)[i]=parseInt(e),t.needsUpdate=!0});else{let t=n;t?t+="."+i:t=i,c(e[i],r.addFolder(i),t)}else"difMidVal"===i?r.addColor(e,i).onChange(e=>{const r=e.replace(/^#/,"");6===r.length&&(t.difMidVal=[parseInt(r.substring(0,2),16)/255,parseInt(r.substring(2,4),16)/255,parseInt(r.substring(4,6),16)/255])}):/^#[0-9A-Fa-f]{2,6}$/g.test(e[i])?r.addColor(e,i).onChange(e=>{l(t,n)[i].setStyle(e),t.needsUpdate=!0,"emissive"===i&&ME.syncLightsWithSourceMaterials()}):n&&n.endsWith("__map")?e[i]&&(e[i]=!!t[i],r.add(e,i).onChange(r=>{!r&&t[i]?(t[i+"_value"]=t[i],t[i]=null,e[i]=r):r&&t[i+"_value"]&&(t[i]=t[i+"_value"],t[i+"_value"]=null,e[i]=r)})):"number"==typeof e[i]?(1===e[i]?e[i]-=.001:e[i]+=.001,r.add(e,i,0,1).step(.01).onChange(e=>{l(t,n)[i]=e,t.needsUpdate=!0}),.999===e[i]?e[i]+=.001:e[i]-=.001):"boolean"==typeof e[i]?r.add(e,i).onChange(e=>{l(t,n)[i]=e,t.needsUpdate=!0}):r.add(e,i)})};c(a,o)}})}}disposeMaps(e){e.map&&e.map.dispose(),e.envMap&&e.envMap.dispose(),e.normalMap&&e.normalMap.dispose(),e.surfaceNormalMap&&e.surfaceNormalMap.dispose(),e.roughnessMap&&e.roughnessMap.dispose(),e.aoMap&&e.aoMap.dispose(),e.metalnessMap&&e.metalnessMap.dispose(),e.alphaMap&&e.alphaMap.dispose(),e.bumpMap&&e.bumpMap.dispose(),e.displacementMap&&e.displacementMap.dispose(),e.emissiveMap&&e.emissiveMap.dispose(),e.lightMap&&e.lightMap.dispose(),this.needsUpdate=!0}isOpaqueAlphaDecal(e){return(null==e?void 0:e.opacity)>=1&&!((null==e?void 0:e.transmission)>0)}isEmissionMaterial(e){var t;return"emission"===(null===(t=null==e?void 0:e.userData)||void 0===t?void 0:t.BaseMaterial)}};var Pde=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s},Dde=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};let Nde=class extends mo{constructor(){super(),this.GroundMirror=void 0,this.instanceIdent=-1,this._init=!1,this.defaultTexture="_global_WAND_12",this._removeOnSecondaryIntersection=!0,this._normalMaterial=null,this._groundMaterialChangeDefer=null,Rm.on("ChangeFloorMaterial",e=>{this.setGroundMaterial(e.mat_floor_with_manufacturer||e.mat_floor)})}get InstanceIdent(){return this.instanceIdent}set InstanceIdent(e){this.instanceIdent=e}setFloorFromSceneData(e){e.SceneParams?g_configuration.add_floor&&(this.GroundMirror?this.setGroundMaterial(e.SceneParams.mat_floor_with_manufacturer||e.SceneParams.mat_floor):this.AddFloor(e.SceneParams)):g_configuration.add_floor&&(this.GroundMirror?this.setGroundMaterial("_global_RAL9003"):this.AddFloor(e.SceneParams))}initialize(e){}setGroundMaterial(e,t){return Dde(this,void 0,void 0,function*(){this._groundMaterialChangeDefer&&(yield this._groundMaterialChangeDefer),this._groundMaterialChangeDefer=Om();const r=e.split("_global");if(r.length>2&&(e="_global"+r[r.length-1]),e.startsWith("_global")){e.substring(1).split("_")[1]||(e=this.defaultTexture)}this.defaultTexture=e,this._init?("weiss"===t?this.GroundMirror&&(this.GroundMirror.material.map=null,this.GroundMirror.material.normalMap=null,this.GroundMirror.material.ambient=new mi(1,1,1),this.GroundMirror.material.color=new mi(1,1,1),this.GroundMirror.material.emissive=new mi(1,1,1),this.GroundMirror.material.polygonOffsetFactor=10,this.GroundMirror.material.name=e):Lde.checkForMaterials([e]).then(t=>Dde(this,void 0,void 0,function*(){if(t[0]){let r,n;(r=yield Lde.GetMaterialRealSize(e))&&((n=yield Lde.GetMaterialTexture(e))?(this.FloorUVs(this.GroundMirror.geometry,r),this.GroundMirror&&(this.GroundMirror.geometry.uvsNeedUpdate=!0,this.GroundMirror.mergeMaterial(t[0],{transparent:Bde.FloorTransparency>0,opacity:1-Bde.FloorTransparency/100}),this.GroundMirror.material.normalScale.set(.1,.1),this.GroundMirror.material.map.magFilter=Ce,this.GroundMirror.material.map.minFilter=Me)):this.GroundMirror&&this.GroundMirror.mergeMaterial(t[0],{transparent:Bde.FloorTransparency>0,opacity:1-Bde.FloorTransparency/100}),this.GroundMirror&&(this.GroundMirror.material.polygonOffset=!0,this.GroundMirror.material.polygonOffsetFactor=5,this.GroundMirror.material.polygonOffsetUnits=60,IE.add(this.GroundMirror.material)))}this.GroundMirror&&(this.GroundMirror.material.name=e),this._groundMaterialChangeDefer.resolve()})).catch(()=>{this._groundMaterialChangeDefer.reject()}),this._groundMaterialChangeDefer.then(()=>{this.GroundMirror.material.needsUpdate=!0,Ame.requestRendering()})):this._groundMaterialChangeDefer.resolve()})}setARFloor(e){void 0===e||!0===e?(Bde.MirrorEffect=!1,this.GroundMirror.material instanceof nl||this.GroundMirror&&(this._normalMaterial=this.GroundMirror.material,this.GroundMirror.material=new nl({opacity:.7}),this.GroundMirror.material.blending=2,this.GroundMirror.renderOrder=-1)):this.GroundMirror&&this.GroundMirror.material instanceof nl&&(this.GroundMirror.material=this._normalMaterial,this.GroundMirror.renderOrder=0)}setGroundColor(e){this.GroundMirror&&(1===e.r&&1===e.g&&1===e.b?(this.GroundMirror.material.ambient=new mi(1,1,1),this.GroundMirror.material.emissive=new mi(1,1,1)):(this.GroundMirror.material.emissive=new mi(0,0,0),this.GroundMirror.material.ambient=new mi(.95,.95,.95)),this.GroundMirror.material.color=e,this.GroundMirror.geometry.uvsNeedUpdate=!0,this.GroundMirror.material.map=null,this.GroundMirror.material.normalMap=null,this.GroundMirror.material.normalScale.set(0,0),this.GroundMirror.material.needsUpdate=!0),Ame.requestRendering()}FloorUVs(e,t){const r=e.parameters.width/t.x,n=e.parameters.height/t.y;e.attributes.uv.setXY(0,0,0),e.attributes.uv.setXY(1,r,0),e.attributes.uv.setXY(2,0,n),e.attributes.uv.setXY(3,r,n),e.attributes.uv.needsUpdate=!0}AddFloor(e){const t=this;Kce.initialize(this.GroundMirror),t.GroundMirror&&Dhe.TScene.remove(t.GroundMirror),e.mat_floor_with_manufacturer||e.mat_floor||(e.mat_floor_with_manufacturer=t.defaultTexture);const r=116e3*C,n=new Ka(r,r),i=e.mat_floor_with_manufacturer||e.mat_floor;let o;(o=i.split("#colorHex#")).length>1?t.setGroundColor((new mi).setHex(o[1])):Um.add(Lde.checkForMaterials([i]).then(e=>Dde(this,void 0,void 0,function*(){let r,o;if(r=yield Lde.GetMaterialRealSize(i))if(o=yield Lde.GetMaterialTexture(i))t.FloorUVs(n,r),t.FloorCreate(n,"#FFFFFF",e[0]?e[0].clone():void 0),Wp.getType()!==Mp.MOBILE||Bde.MobileRestrictionDisable||(Bde.MirrorEffect=!1);else{const r=e[0]||{color:"#FFFFFF"};t.FloorCreate(n,r.color,e[0]?e[0].clone():void 0),Wp.getType()!==Mp.MOBILE||Bde.MobileRestrictionDisable||(Bde.MirrorEffect=!1)}}))),t._init=!0}FloorCreate(e,t,r){const n=dm.reflectorTextureSize(fme.WIDTH,fme.HEIGHT);this.GroundMirror=new ule(e,{textureWidth:n.width,textureHeight:n.height,recursion:1}),r&&r instanceof fi&&this.GroundMirror.mergeMaterial(r,{transparent:Bde.FloorTransparency>0,opacity:1-Bde.FloorTransparency/100}),this.GroundMirror.canReceiveShadow=!0,this.GroundMirror.canCastShadow=!1,this.GroundMirror.receiveShadow=!0,this.GroundMirror.castShadow=!1,this.GroundMirror.material.polygonOffset=!0,this.GroundMirror.material.polygonOffsetFactor=5,this.GroundMirror.material.polygonOffsetUnits=60,this.GroundMirror.material.mirrorIntensity=.075,this.GroundMirror.material.mirrorBlurIntensity=.6,IE.add(this.GroundMirror.material),this.add(this.GroundMirror),Dhe.add(this),this.GroundMirror.MirrorEnabled=Bde.MirrorEffect,this.GroundMirror.material.needsUpdate=!0,aI.dispatch("resizeWindow"),Kre.add(Vp.DHFloorClass,{priority:zp.DHFloorClass,object:this})}interact(){let e="";return Yse.InteractionMode===Pp.WALL_INDIVIDUAL&&(e="wallInteractive"),e}setIntersected(e){}RefreshFloor(e,t){Fde.GroundMirror&&(Fde.GroundMirror.resize(e,t),Fde.GroundMirror.needsUpdate=!0)}onBeforeRender(e,t,r){}};Nde=Pde([oce],Nde);const Fde=new Nde;var Ode;!function(e){e[e.UNSET=0]="UNSET",e[e.EXPORT=1]="EXPORT",e[e.VIEW=2]="VIEW"}(Ode||(Ode={}));const Bde=new class{constructor(){this._isApp=!1,this._sceneBackgroundColor=g_configuration.scene_background_color,this.showLines=g_configuration.toolbar_button_default_lines,this.showShadows=g_configuration.toolbar_button_default_shadow,this._floorShadow=!g_configuration.add_floor&&!g_configuration.toolbar_button_default_shadow,this.fxaaEffect=!g_configuration.toolbar_button_default_antialiasing,this.vectorBasedSSAOEffect=g_configuration.toolbar_button_default_ssao,this.mirrorEffect=g_configuration.toolbar_button_default_groundMirror,this._fogEffect=g_configuration.default_fog_settings,this._skyEffect=!1,this._sunDiskEffect=!1,this._disableObjectMoveXDirection=g_configuration.disable_move_x_object,this._disableObjectMoveYDirection=g_configuration.disable_move_y_object,this._disableObjectMoveZDirection=g_configuration.disable_move_z_object,this.isPlacerMode=g_configuration.enable_placing&&g_configuration.enable_picking,this.isFurnplanMode=g_configuration.panel_right_register_old_kata_tree,this._furnplanCameraMode=!1,this._hasInteriorContainer=g_configuration.interior_property,this._hasShowFittingAndPropTransfer=g_configuration.panel_right_register_interior_design||g_configuration.interior_property,this._hasShowProperties=g_configuration.panel_right_register_properties||g_configuration.interior_property,this._blockRClick=!1,this.dontToggle=!1,this._disablePolygonOffset=!!g_configuration.disable_polygon_offset,this.showFront=!0,this.usePlacerDirectionTemporary=!1,this.dhAnimation_IsOpen=!1,this.isNewLoaded=null,this.noCameraInteractionMode=!1,this.forceCameraZoomAllowed=!1,this._cameraDefaultZoom=g_configuration.resetCamera_default&&!g_configuration.cameraReset_front_default&&!g_configuration.camera_vector_reset,this._cameraFrontDefaultZoom=g_configuration.cameraReset_front_default&&!g_configuration.resetCamera_default,this._printWithoutDoor=g_configuration.print_without_door,this.noInteractionMode=!1,this.noAnimation=!1,this.pickMode=!0,this.widgetLoaded=!1,this._interiorPropertiesEnabled=g_configuration.interior_property,this._depthSelection=g_configuration.enable_depth_selection,this._offsetSelection=g_configuration.enable_offset_selection,this._wallFittingMove=g_configuration.enable_wall_fitting_move,this._fittingSelection=!1,this._propTransferSelection=!1,this._combinedProgProperties=g_configuration.combined_prog_properties||[],this._propertySelection=!1,this._rightClickDisabled=g_configuration.disable_right_click||!g_configuration.enable_picking,this._picking=g_configuration.enable_picking,this._rotationDisabled=g_configuration.disable_rotation||!g_configuration.enable_picking,this._moveObjectDisabled=g_configuration.disable_move_object||!g_configuration.enable_picking,this._placerMagnetDisabled=g_configuration.disable_placer_magnet||!g_configuration.enable_picking,this._vPlacer=g_configuration.vplacer,this._vPlacerGroup=g_configuration.vplacer&&g_configuration.vPlacerGroup||"",this._disableWallSelection=g_configuration.disable_wall_selection,this._measureBoxEnabled=g_configuration.enable_measure_box,this._measureBoxDefaultState=g_configuration.show_measure_box_default,this._measureBoxMeasureWalls=g_configuration.enable_measure_walls,this._globalMeasureBox=!1,this._singleSelectionEnabled=g_configuration.enable_single_selection&&(!g_configuration.panel_right_register_old_kata_tree||!!g_configuration.landingPage),this._onlySelectionEnabled=g_configuration.enable_selection_only,this._selectionContextMenuEnabled=!!g_configuration.enable_selection_context_menu,this._advancedContextMenuEnabled=!!g_configuration.enable_advanced_context_menu,this._dimChangeContextMenuEnabled=!!g_configuration.enable_dimchange_context_menu,this._deleteContextMenuFilterEnabled=!!g_configuration.enable_delete_context_menu_filter,this._frontStopContextMenuEnabled=!!g_configuration.enable_frontstop_context_menu,this._intersectionMarkerDisabled=g_configuration.disable_intersection_marker,this._dimLineIntersectionDisabled=!g_configuration.enable_experimental_dim_edit_selectable,this._wizardEnabled=g_configuration.enable_wizard,this._dragDropDisabled=g_configuration.disable_drag_n_drop,this._dragDropProgProperties=g_configuration.prog_property_drag_drop,this._baseScaleFactor=g_configuration.text_scale_factor||1.5,this._textScaleFactor=this._baseScaleFactor,this._fittingAutoDisable=g_configuration.fitting_auto_disable,this._fittingMeasureEnabled=g_configuration.fitting_measure,this._cameraDeactivatePan=g_configuration.camera_deactivate_pan||!1,this._cameraDeactivateRotate2=g_configuration.camera_deactivate_rotate2||!1,this._cameraDeactivateRotate=g_configuration.camera_deactivate_rotate||!1,this._cameraVectorSpecial=g_configuration.camera_vector_special&&!g_configuration.camera_vector_reset,this._cameraDepthOffset=g_configuration.camera_depth_offset||500,this._cameraMinDistance=g_configuration.camera_min_distance,this._cameraMaxDistance=g_configuration.camera_max_distance,this._cameraFixedView=g_configuration.camera_fixed_view||!1,this._cameraFixedVector=g_configuration.camera_vector_reset||!1,this._enableAutomaticWall=g_configuration.enable_automatic_wall,this._sessionResetSettings=g_configuration.sessionResetSettings,this._objectMoveDirection=Fp.XYZ,this._furnplanInteractionMode=!1,this._dimension_Scale=.1,this._dimension_Digits=1,this.scale=.75,this.gmat_Shininess=51,this.gmat_Specular=.18,this.fps=0,this._disableUIControls=g_configuration.disable_ui_controls||!1,this._floorTransparency=+g_configuration.input_floor_transparency||0,this._sceneRenderScaleFactor=g_configuration.scene_render_scale_factor||1,this._disableMobileRestriction=g_configuration.disable_mobile_restriction||!1,this._cameraRotationPoint=g_configuration.cameraRotationPoint||"center",this.placerDirection="R",this.placerDirectionTemporary="R",this.dragNDrop_FreePlacing=g_configuration.free_drag_n_drop||!1,this._selectionActionGroup=null,this._selectionFilter=null,this.language="de",this.openedPanel=null,this._blockGeneratedProperties=!1,this._autoPlaceMarkerObject=null,this._boxStyleSetting=g_configuration.boxStyleSetting,this._disableCollision=g_configuration.disable_collision,this._disable3DText=g_configuration.furnplan_disable_text_3d,this._enableRedBox=g_configuration.furnplan_enable_redbox,this._disableRedBoxInfoModal=g_configuration.disable_redbox_info_modal,this._enabledRedBoxTextOnSelection=g_configuration.enable_redbox_text_onselection||g_configuration.panel_right_register_old_kata_tree,this._enableAppConnectionData=g_configuration.enable_app_connection_data,this.enableExternalPropertyUpdates=g_configuration.enable_external_property_updates,this.transparentCanvasBackground=!!g_configuration.transparent_canvas_background,this.removeMarkerBoxAfterTransfer=!!g_configuration.remove_markerbox_after_transfer,this._environmentLighting=g_configuration.enable_environment_lighting,this._priceFractionDigits=g_configuration.price_fraction_digits?Number.parseInt(g_configuration.price_fraction_digits):1,this._cameraDepthOffsetFunc=null,this._geometryOptimize=!!g_configuration.enable_geometry_optimize,this._manageArticleContexts=g_configuration.manage_article_contexts,this._enableOutdoorLighting=g_configuration.enable_outdoor_lighting,this._outdoorLightingSunVector=new br(Number(g_configuration.outdoor_lighting_sun_x||0),Number(g_configuration.outdoor_lighting_sun_y||0),Number(g_configuration.outdoor_lighting_sun_z||0)),this._enableImageBasedLighting=!0,this._imageBasedLightingIntensity=2,this._ambientLightEnabled=g_configuration.enable_ambient_lighting,this._ambientLightIntensity=Number(g_configuration.ambient_lighting_intensity||1.2),this._ambientLightColor=g_configuration.ambient_lighting_color,this._autoLuxSpotlightColor=g_configuration.autolux_spotlight_color||"#FFFFFF",this._arBehaviour=(null===g_configuration||void 0===g_configuration?void 0:g_configuration.arBehaviour)||0,this._enableDimChange=g_configuration.enable_dim_change,this._enableFrontstop=g_configuration.enable_dim_change,this._lastValueCache=new Map;const e=document.createElement("style");e.innerHTML=`:root {\n            --primary-icon-color: ${g_configuration.icon_primary_color};\n        }`,document.body.prepend(e),this.init(),Rm.on("ChangePlaceType",e=>{Bde.UsePlacerDirectionTemporary="1"===e.temporary,Bde.PlacerDirection=e.placerMode}),Qp.register("SetDepthSelection",e=>(this._depthSelection=!!e&&!!e.mode,Promise.resolve())),this.textScaleFactor=void 0,Wp.getType()===Mp.MOBILE&&(this.textScaleFactor=g_configuration.mobile_text_scale_factor||void 0)}get textScaleFactor(){return this._textScaleFactor}set textScaleFactor(e){this._textScaleFactor=null==e?this._baseScaleFactor:e}get enableDimChange(){return this._enableDimChange}set enableDimChange(e){this._enableDimChange=e}get enableFrontstop(){return this._enableFrontstop}set enableFrontstop(e){this._enableFrontstop=e}get DontToggle(){return this.dontToggle}set DontToggle(e){this.dontToggle=e}get ShowFront(){return this.showFront}set ShowFront(e){this.showFront=!!e}get DisablePolygonOffset(){return this._disablePolygonOffset}get IsApp(){return this._isApp}set IsApp(e){this._isApp=e}get SceneBackgroundColor(){return this._sceneBackgroundColor}get ShowLines(){return Bde.showLines}set ShowLines(e){this._lastValueCache.set("showLines",Bde.showLines),Aue.CurrentEffect.HDR=!e,Bde.showLines=e,Bde.dontToggle?Bde.dontToggle=!1:fme.setSettings("lines",e)}set CameraDepthOffsetFunc(e){this._cameraDepthOffsetFunc=e}get FloorShadow(){return this._floorShadow}set FloorShadow(e){this._floorShadow=e}get ShowShadows(){return Bde.showShadows}set ShowShadows(e){Bde.showShadows=e,Bde.dontToggle?Bde.dontToggle=!1:fme.setSettings("shadowEffect",e)||fme.setViewSettings(e,"shadow")}get VectorBasedSSAOEffect(){return Bde.vectorBasedSSAOEffect}set VectorBasedSSAOEffect(e){Bde.vectorBasedSSAOEffect=e,Aue.is("hr")&&Mse.HRThemeManager.update(),Bde.dontToggle?Bde.dontToggle=!1:fme.setSettings("vectorBasedSSAOEffect",e)}get FloorTransparency(){return this._floorTransparency}get GeometryOptimize(){return this._geometryOptimize}get FogEffect(){return this._fogEffect}get SkyEffect(){return this._skyEffect}set SkyEffect(e){this._skyEffect=e}get SunDiskEffect(){return this._sunDiskEffect}set SunDiskEffect(e){this._sunDiskEffect=e}get MirrorEffect(){return Bde.mirrorEffect}set MirrorEffect(e){this._lastValueCache.set("mirrorEffect",Bde.mirrorEffect),Bde.mirrorEffect=e,Fde.GroundMirror&&(Fde.GroundMirror.MirrorEnabled=Bde.MirrorEffect),Bde.dontToggle?Bde.dontToggle=!1:fme.setSettings("mirrorEffect",e)}get IsFurnplanMode(){return Bde.isFurnplanMode}get FurnplanCameraMode(){return this._furnplanCameraMode}set FurnplanCameraMode(e){this._furnplanCameraMode=e}get HasInteriorContainer(){return this._hasInteriorContainer}get HasShowFittingAndPropTransfer(){return this._hasShowFittingAndPropTransfer}get HasShowProperties(){return this._hasShowProperties}get SceneRenderScaleFactor(){return this._sceneRenderScaleFactor}get EnvironmentLighting(){return this._environmentLighting}get MobileRestrictionDisable(){return this._disableMobileRestriction}get CameraRotationPoint(){return this._cameraRotationPoint}get PriceFractionDigits(){return this._priceFractionDigits}get SelectionActionGroup(){return this._selectionActionGroup}set SelectionActionGroup(e){this._selectionActionGroup=e}get SelectionFilter(){return this._selectionFilter}set SelectionFilter(e){this._selectionFilter=e}get Language(){return this.language}get OpenedPanel(){return this.openedPanel}set OpenedPanel(e){this.openedPanel=e}get ViewerMode(){let e=Ip.Normal;switch(window.location.pathname.toLocaleLowerCase().split(/[\\\/)]+/g)[1]){case"homeviewer":e=Ip.Customer;break;case"webviewer":e=Ip.Configured;break;case"local":e=Ip.Local;break;default:e=Ip.Normal}return e}get BlockGeneratedProperties(){return this._blockGeneratedProperties}set BlockGeneratedProperties(e){e?$("#af-tree-opener").addClass("dhmc-hidden"):$("#af-tree-opener").removeClass("dhmc-hidden"),this._blockGeneratedProperties=e}get DisableUIControls(){return this._disableUIControls}get CameraDepthOffset(){let e=this._cameraDepthOffsetFunc?this._cameraDepthOffsetFunc({poCount:lae.CountPO()}):this._cameraDepthOffset;return e||(e=this._cameraDepthOffset),e}get CameraMinDistance(){return this._cameraMinDistance}get CameraMaxDistance(){return this._cameraMaxDistance}get FurnplanInteractionMode(){return this._furnplanInteractionMode}set FurnplanInteractionMode(e){this._furnplanInteractionMode=e,Yce.CameraLight.LightBase.visible=e}get DimensionScale(){return this._dimension_Scale}set DimensionScale(e){console.log("Dimension Scale: ",e),this._dimension_Scale=e}get DimensionDigits(){return this._dimension_Digits}set DimensionDigits(e){this._dimension_Digits=e}get Scale(){return this.scale}get GMAT_Shininess(){return this.gmat_Shininess}get GMAT_Specular(){return this.gmat_Specular}get FPS(){return this.fps}set FPS(e){this.fps=e}get CameraDeactivatePan(){return this._cameraDeactivatePan}get CameraDeactivateRotate(){return this._cameraDeactivateRotate}get CameraDeactivateRotate2(){return this._cameraDeactivateRotate2}get CameraVectorSpecial(){return this._cameraVectorSpecial}get CameraFixedView(){return this._cameraFixedView}get CameraFixedVector(){return this._cameraFixedVector}get EnableAutomaticWall(){return this._enableAutomaticWall}get ForceCameraZoomAllowed(){return this.forceCameraZoomAllowed}set ForceCameraZoomAllowed(e){this.forceCameraZoomAllowed=e}get NoCameraInteractionMode(){return this.noCameraInteractionMode}set NoCameraInteractionMode(e){this.noCameraInteractionMode=e}get CameraDefaultZoom(){return this._cameraDefaultZoom}get CameraFrontDefaultZoom(){return this._cameraFrontDefaultZoom}get PrintWithoutDoor(){return this._printWithoutDoor}get NoInteractionMode(){return this.noInteractionMode}set NoInteractionMode(e){this.noInteractionMode=e}get NoAnimation(){return this.noAnimation}set NoAnimation(e){this.noAnimation=e}get PickMode(){return this.pickMode}set PickMode(e){this.pickMode=e}get IsNewLoaded(){return this.isNewLoaded}set IsNewLoaded(e){this.isNewLoaded=e}get DHAnimation_IsOpen(){return this.dhAnimation_IsOpen}set DHAnimation_IsOpen(e){this.dhAnimation_IsOpen=e}get VPlacerGroup(){return this._vPlacer?this._vPlacerGroup:""}set VPlacerGroup(e){this._vPlacerGroup=e}get VPlacer(){return this._vPlacer}set VPlacer(e){this._vPlacer=e}get DisableWallSelection(){return this._disableWallSelection}get SingleSelectionEnabled(){return this._singleSelectionEnabled}get OnlySelectionEnabled(){return this._onlySelectionEnabled}get SelectionContextMenuEnabled(){return this._selectionContextMenuEnabled}get AdvancedContextMenuEnabled(){return this._advancedContextMenuEnabled}get DimChangeContextMenu(){return this._dimChangeContextMenuEnabled}get DeleteContextMenuFilter(){return this._deleteContextMenuFilterEnabled}get FrontStopContextMenu(){return this._frontStopContextMenuEnabled}get AutoPlaceMarkerObject(){return this._autoPlaceMarkerObject}set AutoPlaceMarkerObject(e){this._autoPlaceMarkerObject=e}get BoxStyleSetting(){if(this._boxStyleSetting){if("string"==typeof this._boxStyleSetting)try{this._boxStyleSetting=JSON.parse(this._boxStyleSetting)}catch(e){this._boxStyleSetting=null}return this._boxStyleSetting}return null}get SessionResetSettings(){return this._sessionResetSettings}get MeasureBoxEnabled(){return this._measureBoxEnabled}get MeasureBoxDefaultState(){return this._measureBoxDefaultState}get MeasureBoxMeasureWalls(){return this._measureBoxMeasureWalls}get GlobalMeasureBox(){return this._globalMeasureBox}set GlobalMeasureBox(e){const t=this._globalMeasureBox!=e;try{!e&&aae.HasMeasureBox?aae.hideMeasureBox():aae.showMeasureBox(),this._globalMeasureBox=e}catch(e){}t&&upe.isAppReady().then(()=>{Ame.requestRendering(),LI.ToolbarButtonStateToggled.send([{id:"measure-box",isActive:this._globalMeasureBox}])})}get ObjectMoveDirection(){return this._objectMoveDirection}set ObjectMoveDirection(e){this._objectMoveDirection=e}get IsPropMode(){return Yse.InteractionMode===Pp.FITTING||Yse.InteractionMode===Pp.REPLACE_FITTING||Yse.InteractionMode===Pp.DELETE_FITTING||Yse.InteractionMode===Pp.PROPTRANSFER||Yse.InteractionMode===Pp.PROGPROPERTY}get DisableObjectMoveDirection(){return{x:this._disableObjectMoveXDirection,y:this._disableObjectMoveYDirection,z:this._disableObjectMoveZDirection}}get IsPlacerMode(){return this.isPlacerMode}set IsPlacerMode(e){this.isPlacerMode=e}get UsePlacerDirectionTemporary(){return this.usePlacerDirectionTemporary}set UsePlacerDirectionTemporary(e){this.usePlacerDirectionTemporary=e}get FreePlacingWhileDragNDrop(){return this.dragNDrop_FreePlacing}set FreePlacingWhileDragNDrop(e){this.dragNDrop_FreePlacing=e}get PlacerDirection(){return this.usePlacerDirectionTemporary?this.placerDirectionTemporary:this.placerDirection}set PlacerDirection(e){if(isNaN(+e))"string"==typeof e&&(this.usePlacerDirectionTemporary?this.placerDirectionTemporary=e:this.placerDirection=e);else switch(+e){case 0:default:this.usePlacerDirectionTemporary?this.placerDirectionTemporary=Op.FREE:this.placerDirection=Op.FREE;break;case 1:this.usePlacerDirectionTemporary?this.placerDirectionTemporary=Op.LEFT:this.placerDirection=Op.LEFT;break;case 2:this.usePlacerDirectionTemporary?this.placerDirectionTemporary=Op.RIGHT:this.placerDirection=Op.RIGHT;break;case 3:this.usePlacerDirectionTemporary?this.placerDirectionTemporary=Op.TOP:this.placerDirection=Op.TOP;break;case 4:this.usePlacerDirectionTemporary?this.placerDirectionTemporary=Op.BOTTOM:this.placerDirection=Op.BOTTOM}}get BlockRightClick(){return this._blockRClick}set BlockRightClick(e){this._blockRClick=e}get WidgetLoaded(){return this.widgetLoaded}set WidgetLoaded(e){this.widgetLoaded=e}get RotationDisabled(){return this._rotationDisabled}get MoveObjectDisabled(){return this._moveObjectDisabled}get DepthSelection(){return this._depthSelection}set DepthSelection(e){this._depthSelection=e}get OffsetSelection(){return this._offsetSelection}get WallFittingMove(){return this._wallFittingMove}get FittingSelection(){return this._fittingSelection}set FittingSelection(e){this._fittingSelection=e}get PropTransferSelection(){return this._propTransferSelection}set PropTransferSelection(e){this._propTransferSelection=e}get CombinedProgProperties(){return this._combinedProgProperties}get PropertySelection(){return this._propTransferSelection}set PropertySelection(e){this._propertySelection=e}get RightClickDisabled(){return this._rightClickDisabled}get FittingAutoDisable(){return this._fittingAutoDisable}get FittingMeasureEnabled(){return this._fittingMeasureEnabled}get DragDropDisabled(){return this._dragDropDisabled}get DragDropProgProperties(){return this._dragDropProgProperties}get InteriorPropertiesEnabled(){return this._interiorPropertiesEnabled}get WizardEnabled(){return this._wizardEnabled}get PickingEnabled(){return this._picking}get IntersectionMarkerDisabled(){return this._intersectionMarkerDisabled}get DimLineIntersectionDisabled(){return this._dimLineIntersectionDisabled}get PlacerMagnetDisabled(){return this._placerMagnetDisabled}get EnabledRedBoxTextOnSelection(){return this._enabledRedBoxTextOnSelection}get Disable3DText(){return this._disable3DText}set Disable3DText(e){this._disable3DText=e}get EnableRedBox(){return this._enableRedBox}get DisableRedBoxInfoModal(){return this._disableRedBoxInfoModal}get DisableCollision(){return this._disableCollision}get EnableAppConnectionData(){return this._enableAppConnectionData}get EnableExternalPropertyUpdates(){return this.enableExternalPropertyUpdates}get TransparentCanvasBackground(){return this.transparentCanvasBackground}get RemoveMarkerBoxAfterTransfer(){return this.removeMarkerBoxAfterTransfer}get ManageArticleContexts(){return this._manageArticleContexts}set ManageArticleContexts(e){this._manageArticleContexts=e}get EnableOutdoorLighting(){return this._enableOutdoorLighting}get OutdoorLightingSunVector(){return this._outdoorLightingSunVector}get EnableIBL(){return this._enableImageBasedLighting}get IBLIntensity(){return this._imageBasedLightingIntensity}get AmbientLightEnabled(){return this._ambientLightEnabled}set AmbientLightEnabled(e){this._ambientLightEnabled=e;const t=Wce.getLight("ambiLight");t&&(t.LightBase.visible=e)}get AmbientLightIntensity(){return this._ambientLightIntensity}set AmbientLightIntensity(e){this._ambientLightIntensity=e;const t=Wce.getLight("ambiLight");t&&(t.LightBase.intensity=this._ambientLightIntensity)}get AmbientLightColor(){return this._ambientLightColor}set AmbientLightColor(e){this._ambientLightColor=e;const t=Wce.getLight("ambiLight");t&&t.LightBase.color.setStyle(e)}get AutoLuxSpotlightColor(){return this._autoLuxSpotlightColor}set AutoLuxSpotlightColor(e){this._autoLuxSpotlightColor=e,Yce.DynamicSpotLights.forEach(t=>t.LightBase.color.setStyle(e))}get ARBehaviour(){return Ode[Ode[this._arBehaviour]]}get ThemeConfig(){if(!this._themeConfig)if(g_configuration.webui_theme_config)try{this._themeConfig=JSON.parse(g_configuration.webui_theme_config)}catch(e){this._themeConfig={}}else this._themeConfig={};return this._themeConfig}init(){Ll.onLoad=function(){Ame.requestRendering()}}getLastValue(e){return Bde._lastValueCache&&Bde._lastValueCache.has(e)?Bde._lastValueCache.get(e):null}getDefaultArticle(e,t){if(g_configuration.defaultArticleList){const r=`${e}_${t}`;for(const e of g_configuration.defaultArticleList.keys)if(e.key===r.toLowerCase())return e.articleNumber}return""}};window.Properties=Bde;const Ude=function(){var e=e;const t=function(t,r){if(r)e.VectorBasedSSAOEffect=t,e.MirrorEffect=t,e.ShowShadows=t;else if(e.VectorBasedSSAOEffect!=t)e.VectorBasedSSAOEffect=t;else if(e.MirrorEffect!=t)e.MirrorEffect=t;else{if(e.ShowShadows==t)return!1;e.ShowShadows=t}return!0},r=function(){};r.prototype.DisableNext=function(){return t(!1)},r.prototype.DisableAll=function(){return t(!1,!0)},r.prototype.EnableNext=function(){return t(!0)},r.prototype.EnableAll=function(){return t(!0,!0)};return new r}(),Vde=Ude;const zde=new class{constructor(){this._isRunning=!1,this._visible=!1,this._domElement=null,this._startTime=0,this._timingLog={},this._autoCheck=!1,this._checkInterval=1e4,this._fpsInterval=100,this._isTimeOut=!1,this._checkedLastTime=0,this._localFPS=0,this._startTime=Date.now()}set localFPS(e){this._localFPS=e,this._isRunning&&(this._checkedLastTime||(this._checkedLastTime=Date.now()),e<20&&this._checkedLastTime<Date.now()-1e4?(this._checkedLastTime=Date.now(),this.AutoCheckConfiguration(e)):(e>20&&this._checkedLastTime<Date.now()-1e4||e>20)&&(this._checkedLastTime=Date.now()))}SetRunningMode(e){this._isRunning=e}AutoCheckConfiguration(e){Vde.DisableNext()}ShowFPS(){this._visible=!0}HideFPS(){this._visible=!1}RenderTo(e){this._domElement=e?$(e):$(document.body)}CalcFPS(){this._visible&&this._isRunning&&(this._startTime>0&&(this.localFPS=Math.round(1e3/(Date.now()-this._startTime)),Bde.FPS=this._localFPS),this._startTime=Date.now(),this.render())}TimingLogStart(e,t){e?(t||(t=""),this._timingLog[e]={start:Date.now(),startMessage:t}):console.warn("TimingLog needs a name!")}TimingLogEnd(e,t){e?(t||(t=""),this._timingLog.hasOwnProperty(e)?(this._timingLog[e].end=Date.now(),this._timingLog[e].endMessage=t,this._timingLog[e].totalDiff=this._timingLog[e].end-this._timingLog[e].start,this._timingLog[e].totalSeconds=Math.round((this._timingLog[e].end-this._timingLog[e].start)/(1/Bde.DimensionScale))/100):console.warn("TimingLog must contain the name!")):console.warn("TimingLog needs a name!")}render(){if(this._domElement&&this._isRunning&&this._visible){let e=$("#performanceFPS");if(e.length<1){e=$("<div id='performanceFPS'></div>");$("<span class='fpsView'></span>").appendTo(e);e.appendTo(this._domElement)}this._isTimeOut||(this._isTimeOut=!0,setTimeout(()=>{e.children(".fpsView").text(this._localFPS),this._isTimeOut=!1},this._fpsInterval))}else this._domElement||(this._domElement=document.body)}};class Hde{constructor(){this.autoClose=!1,this.id="",this.domElement={},this.parent="",this.position="bottom center",this.manual=!1,this.settings={showDelay:1,hideDelay:400,listener:"hover"},this.hideOnClick=e=>{this.hide(),e.preventDefault(),e.stopPropagation()}}static build(e){const t=new Hde;e.data("class",t),t.domElement=e,t.autoClose=e.data("autoclose"),t.parent=$(e.data("boundary")),t.id="popUP_"+zme.createHash();let r=e.data("settings");return"string"==typeof r&&(r=r.replace(/\'/g,'"'),r=JSON.parse(r)),t.settings=r||{showDelay:1,hideDelay:400,listener:"hover"},t.position=e.data("position")||"bottom center",t.manual=e.data("manual")||!1,t.parent.popup({boundary:t.parent,lastResort:t.position,popup:e,inline:!0,on:t.settings.listener||"focus",delay:{show:t.settings.showDelay||1,hide:t.settings.hideDelay||400}}),t}show(){this.manual&&$(this.parent).popup("show"),this.autoClose&&$(document).on("mousedown",this.hideOnClick)}hide(){this.autoClose&&$(document).off("mousedown",this.hideOnClick),this.manual&&$(this.parent).popup("hide")}}const Gde=new class{constructor(){this.popUps={}}build(e){const t=Hde.build(e);return this.popUps[t.id]=t,t.id}searchAndInit(){$(".dh-fly-out").toArray().forEach(e=>{const t=$(e);t.addClass("ui popup bottom center transition hidden"),this.build(t)})}show(e){Object.keys(this.popUps).forEach(t=>{e===t&&this.popUps[t].show()})}showAll(){Object.keys(this.popUps).forEach(e=>{this.popUps[e].show()})}showByID(e){const t=$("#"+e+".dh-fly-out");if(t.length>0){t.data("class").show()}}hide(e){Object.keys(this.popUps).forEach(t=>{e===t&&this.popUps[t].hide()})}hideAll(){Object.keys(this.popUps).forEach(e=>{this.popUps[e].hide()})}},jde=function(){};jde.prototype.getCookies=function(){return new Promise(function(e,t){const r={},n=decodeURIComponent(document.cookie).split(";");for(let e=0;e<n.length;e++){let t=n[e];for(;" "==t.charAt(0);)t=t.substring(1);const i=t.indexOf("=");if(i>=1){const e=t.substring(0,i),n=t.substring(i+1,t.length);r[e]=atob(n),t.substring(name.length,t.length)}}return e(r)})},jde.prototype.setCookie=function(e,t){const r=new Date;r.setTime(r.getTime()+2592e6);const n="expires="+r.toUTCString();document.cookie=e+"="+btoa(t)+";"+n+";path=/"},jde.prototype.getCookie=function(e){return Jde.getCookies().then(function(t){return t[e]})},jde.prototype.clearCookie=function(e){const t=new Date;t.setTime(t.getTime()-2592e6);const r="expires="+t.toUTCString();document.cookie=e+"=;"+r+";path=/"};var Jde=new jde;const Wde=Jde;const Qde=new class{constructor(){this._playlists={}}getVideo(e,t,r){return this._playlists[e]&&this._playlists[e][t]&&this._playlists[e][t].videos[r]?this._playlists[e][t].videos[r]:null}getVideoKeys(e,t){return this._playlists[e]&&this._playlists[e][t]?Object.keys(this._playlists[e][t].videos):[]}getPlayList(e,t){return this._playlists[e]&&this._playlists[e][t]?this._playlists[e][t]:null}getPlayListKeys(e){return this._playlists[e]?Object.keys(this._playlists[e]):[]}parsePlayList(e,t){return this._playlists[e]||(this._playlists[e]={}),t.video_list&&t.video_list.forEach(t=>{this._playlists[e][t.playlist]||(this._playlists[e][t.playlist]={text:t.playlistText,videos:{}}),this._playlists[e][t.playlist].videos[t.videoID]=t}),this._playlists[e]}};var qde=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};let Yde=class{constructor(){this._selected=!1}get Selected(){return this._selected}set Selected(e){this.getRoot().removeClass("selected"),e&&(this.getRoot().addClass("selected"),this.getRoot()[0].scrollIntoViewCenter()),this._selected=e}load(e,t,r){const n=Qde.getVideo(e,t,r);if(!n)return null;$("<p></p>").text(n.description).appendTo(this.getElement("content"));return this.getElement("image").css("background-image","url("+ise.getWebUrl()+"/furnplan/"+n.image.replace(/\\/g,"/")),this.getRoot().data("video",n)}};Yde=qde([_m({template:'    \n        <div class="video-component item">\n            <div class="ui image"></div>\n            <div class="content">\n\n            </div>            \n        </div>\n        ',elements:{content:".content",image:".image"}})],Yde);const Xde=new class{disableScrollBounce(e){let t,r;if(!e)return;const n=e=>(e.preventDefault(),e.stopPropagation(),!1);e.addEventListener("touchstart",e=>{const i=e.currentTarget;i.lastY=e.pageY||(e.targetTouches&&e.targetTouches[0]?e.targetTouches[0].pageY:0),t=e.touches[0].pageY,r=i.scrollTop,r<=0&&(i.scrollTop=1),r+i.offsetHeight>=i.scrollHeight&&(i.scrollTop=i.scrollHeight-i.offsetHeight-1),window.addEventListener("touchmove",n),document.addEventListener("touchmove",n)},!1),e.addEventListener("touchend",e=>{document.removeEventListener("touchmove",n),window.removeEventListener("touchmove",n)}),e.addEventListener("touchmove",e=>{try{const t=e.currentTarget,r=e.pageY||(e.targetTouches&&e.targetTouches[0]?e.targetTouches[0].pageY:0);0==window.scrollY&&0==window.pageYOffset||window.scrollTo(0,0),(t.scrollTop>t.scrollHeight-t.clientHeight&&r>=t.lastY||t.scrollTop<0&&r<=t.lastY)&&e.preventDefault(),e.stopPropagation(),t.lastY=r}catch(e){alert(e.message)}})}};var Kde=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};let Zde=class{constructor(){this._videos={},this._options={},this._isInitialized=!1}searchVideoIDInPlayList(e,t){const r=Qde.getPlayListKeys(e);for(let n=0;n<r.length;n++){if(Qde.getVideo(e,r[n],t))return r[n]}return""}selectVideo(e){const t=e?e.data("video"):{};Object.values(this._videos).forEach(e=>{e.Selected=!1}),this._videos[t.videoID].Selected=!0}loadVideoList(e,t,r,n){this.getElement("playlistDummy").empty();const i=Qde.getVideoKeys(e,t);let o=null;i.forEach(i=>{this._videos[i]=new Yde;const s=this._videos[i].load(e,t,i);s&&(o||(n?i===n&&(o=s):o=s),this.getElement("playlistDummy").append(s),s.click(()=>{r(s)}))}),o&&(this._isInitialized||r(o),this.selectVideo(o)),this._isInitialized=!0}load(e,t,r){this._isInitialized=!1;const n=e=>{const r=e?e.data("video"):{};r&&r.video&&(t.getElement("frame").attr("src","https://www.youtube.com/embed/"+r.video+"?showsearch=0&version=3&showinfo=0&modestbranding=1&autohide=1&controls=1"+r.options),this.selectVideo(e))},i=Qde.getPlayListKeys(e);this.getElement("menu").empty(),this.getElement("dropdown").dropdown("clear");let o="";return i.forEach(t=>{0===o.length&&(o=t);const r=Qde.getPlayList(e,t);this._options[t]=$("<div></div>").addClass("item").attr("data-value",t).data("channel",e).text(r.text),this.getElement("menu").append(this._options[t])}),this.getElement("dropdown").dropdown({action:"hide",onChange:()=>{const e=this.getElement("dropdown").dropdown("get value"),t=this.getElement("dropdown").dropdown("get item",e);this.getElement("dropdown").dropdown("set selected",e),this.getElement("dropdown").dropdown("set value",e),this.getElement("dropdown").dropdown("refresh");const i=t.data("channel");this.loadVideoList(i,e,n,r)}}),r&&(o=this.searchVideoIDInPlayList(e,r)),o.length>0&&(this.getElement("dropdown").dropdown("set selected",o),this.getElement("dropdown").dropdown("set value",o),this.getElement("dropdown").dropdown("refresh"),this.loadVideoList(e,o,n,r)),Xde.disableScrollBounce(this.getElement("playlist")[0]),this.getRoot()}};Zde=Kde([_m({template:'\n        <div class="video-playlist-component">\n            <div class="video-playlist-dropdown ui selection dropdown">\n                <input type="hidden" name="Playlist">\n                <i class="dropdown icon"></i>\n                <div class="default text">Playlist</div>\n                <div class="menu">\n                </div>\n            </div>\n            <div class="video-playlist-list ui middle aligned divided list scrollable">\n                <div class="video-dummy-container"></div>\n            </div>\n        </div>\n        ',elements:{menu:".menu",dropdown:".video-playlist-dropdown",playlist:".video-playlist-list",playlistDummy:".video-dummy-container"}})],Zde);var ehe=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};let the=class{constructor(){this._uiElements={},this._isActive=!1,this._regex=new RegExp("^(https?://)?((www.)?(youtube(-nocookie)?|youtube.googleapis).com.*(v/|v=|vi=|vi/|e/|embed/|user/.*/u/d+/)|youtu.be/)([_0-9a-z-]+)","i")}loadPlayList(e,t){this.getElement("playlistContent").empty(),this._uiElements["video-playlist"]||(this._uiElements["video-playlist"]=new Zde),this.getElement("frame").attr("src",""),this._uiElements["video-playlist-content"]=this._uiElements["video-playlist"].load(e,this,t),this._uiElements["video-playlist-content"]&&this.getElement("playlistContent").append(this._uiElements["video-playlist-content"])}checkVideo(e){return!(!e||!this._regex.test(e))}loadVideo(e){if(this._regex.test(e)){this.getElement("playlistContent").addClass("dhmc-hidden");const t=this._regex.exec(e);return console.log(t[7]),this.getElement("frame").attr("src","https://youtube.com/embed/"+t[7]),!0}return!1}show(e,t){this._isActive||(this.getElement("playlistContent").removeClass("dhmc-hidden"),this._uiElements["video-viewer"]||(this._uiElements["video-viewer"]=this.getRoot(),$("body").append(this._uiElements["video-viewer"]),this.getElement("icon").click(()=>{this.hide()}),this._uiElements["video-viewer"].modal({closable:!0,onHide:e=>{this._isActive=!1,this.getElement("frame").attr("src",""),this.getElement("playlistContent").empty()},onShow:()=>{this._isActive=!0,this.loadPlayList(e,t)}})),this._uiElements["video-viewer"].modal("show"))}hide(){this._isActive&&this._uiElements["video-viewer"].modal("hide")}};the=ehe([_m({style:{".video-viewer-component.ui.modal.fluid":{width:"100%",margin:"0!important",childStyle:{".scrolling":{width:"100%",margin:"0!important",childStyle:{".hidden":{width:"100%",margin:"0!important"}}},".hidden":{display:"none !important"}}}},headElement:$(document.head),template:'\n        <div class="video-viewer-component ui modal fluid">\n            <div class="content">\n                <div class="video-toolbar">\n                    <i class="icon x"></i>                \n                </div>\n                <div class="video-container">\n                    <div class="video-content">\n                        <iframe class="video-frame" src=""></iframe>                \n                    </div>\n                    <div class="video-playlist-content">\n                    \n                    </div>\n                </div>\n            </div>\n        </div>\n        ',elements:{content:".content",playlistContent:".video-playlist-content",videoContent:".video-content",frame:".video-frame",icon:".video-toolbar > i"}})],the);const rhe=new the;var nhe;!function(e){e[e.SPHERE=0]="SPHERE",e[e.BOX=1]="BOX",e[e.LINE_CIRCLE=2]="LINE_CIRCLE"}(nhe||(nhe={}));class ihe{constructor(){}show(e){let t=null;(e=e||{}).geomType===nhe.SPHERE?t=new Za(e.size||25,5,5):e.geomType===nhe.BOX&&(t=new Ki(e.size||25,e.size||25,e.size||25,5,5)),e.geomType===nhe.LINE_CIRCLE?this._selectionGeom=vie.create({centerPoint:Yse.AnyIntersection.point.toArray(),centerVector:Yse.AnyIntersection.face.normal.toArray(),radius:100,segments:32,thetaLength:2*Math.PI}):this._selectionGeom=new Yi(t,new Hm({color:new mi(e.color.r,e.color.g,e.color.b),transparent:e.color.a<1,opacity:e.color.a})),Dhe.add(this._selectionGeom)}hide(){Dhe.TScene.remove(this._selectionGeom)}update(e){this._selectionGeom&&e instanceof br&&(this._selectionGeom.position.x=e.x,this._selectionGeom.position.y=e.y,this._selectionGeom.position.z=e.z)}}class ohe{static enqueue(e,t,...r){return new Promise((n,i)=>{this.queue.push({caller:t,promise:e,resolve:n,reject:i,args:r}),this.dequeue()})}static dequeue(){if(this.workingOnPromise)return!1;const e=this.queue.shift();if(!e)return!1;try{this.workingOnPromise=!0,e.promise.apply(e.caller,...e.args).then(t=>{this.workingOnPromise=!1,e.resolve(t),this.dequeue()}).catch(t=>{this.workingOnPromise=!1,e.reject(t),this.dequeue()})}catch(t){this.workingOnPromise=!1,e.reject(t),this.dequeue()}return!0}}ohe.queue=[],ohe.pendingPromise=!1,ohe.workingOnPromise=!1;const she=ohe;var ahe=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};const lhe=new class{blobDownload(e,t){if("iOS"===Wp.getInfo().os()){const t=window.open();if(t){const r=new FileReader;r.onload=e=>{t.location.href=r.result},r.readAsDataURL(e)}}else{const r=document.createElement("a");r.textContent="Download",document.body.appendChild(r),r.style.display="block",r.download=t;const n=window.URL.createObjectURL(e);r.href=n,r.onclick?r.onclick():r.click(),document.body.removeChild(r),window.URL.revokeObjectURL(n)}}download(e,t){return ahe(this,void 0,void 0,function*(){const r=yield fetch(e),n=yield r.blob();this.blobDownload(n,t)})}};var che=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};const uhe=new class{constructor(){}bufferToBinaryString(e){const t=new Uint8Array(e);let r="";for(let e=0;e<t.length;e++)r+=String.fromCharCode(t[e]);return r}download(e){return che(this,void 0,void 0,function*(){return this.takeSnap(fme.WIDTH,fme.HEIGHT,"image/png",.92,!1,e).then(e=>lhe.blobDownload(e,"screenshot-"+Date.now().toString()+".png"))})}takeActionSnap(e,t,r){return che(this,void 0,void 0,function*(){return e.type=e.type||"image/png",e.quality=e.quality||.92,e.asBase64="boolean"==typeof e.asBase64&&e.asBase64,this.takeSnap(e.width,e.height,e.type,e.quality,e.asBase64,e.logo,t,r)})}takeSnapPromise(e,t,r){return che(this,void 0,void 0,function*(){Ame.BlockRendering=!0;const n=Math.floor(e.width),i=Math.floor(e.height),o=e.asBase64,s=e.type,a=e.quality,l=e.logo,c=Bde.GlobalMeasureBox,u=Aue.TRenderer,d=Aue.CurrentEffect,h=d.writeBuffer.clone();c&&aae.hideMeasureBox();const p=new Uint8Array(n*i*4);this.setSize(n,i);const m=$ue.createRenderTarget(u,{width:n,height:i,magFilter:Ce,minFilter:Ce,colorSpace:Ht}),_=!!g_configuration.furnplan_disable_text_3d_screenshot,g=Bde.Disable3DText;_&&this.setText3DDisabled(!0),yield null==t?void 0:t(),d.renderToScreen=!1,u.setRenderTarget(m),d.reset(m),d.render(),u.readRenderTargetPixels(m,0,0,n,i,p),yield null==r?void 0:r(),_&&this.setText3DDisabled(g),d.reset(h),u.setRenderTarget(null),d.renderToScreen=!0,c&&aae.showMeasureBox();const f=document.createElement("canvas");f.width=n,f.height=i;const v=f.getContext("2d"),b=new ImageData(n,i);let y=0;const $=4*n;for(let e=i-1;e>=0;e--)for(let t=0;t<$;t+=4){const r=e*$+t;b.data[y++]=p[r],b.data[y++]=p[r+1],b.data[y++]=p[r+2],b.data[y++]=p[r+3]}return v.putImageData(b,0,0),l&&(yield new Promise((e,t)=>{const r=new Image;r.src=l.image,r.onload=()=>{const t=r.width/r.height,n=.03*fme.HEIGHT,i=n*t;v.drawImage(r,l.offset&&l.offset.x||10,l.offset&&l.offset.y||10,i,n),e(!0)},r.onerror=()=>{t()}})),new Promise((e,t)=>{f.toBlob(t=>che(this,void 0,void 0,function*(){e(o?btoa(this.bufferToBinaryString(yield new Response(t).arrayBuffer())):t)}),s,a),this.setSize(fme.WIDTH,fme.HEIGHT),Ame.BlockRendering=!1,Ame.requestRendering()})})}takeSnap(e,t){return che(this,arguments,void 0,function*(e,t,r="image/png",n=.92,i=!1,o,s,a){return she.enqueue(this.takeSnapPromise,this,[{width:e,height:t,type:r,quality:n,asBase64:i,logo:o},s,a])})}setText3DDisabled(e){var t;null===(t=aae.world)||void 0===t||t.traverse(function(t){t instanceof AI&&(t.visible=!e)}),Bde.Disable3DText=e}setSize(e,t){Lde.update(),aue.CurrentCamera.setSize(e,t),Aue.setSize(e,t);try{Fde.RefreshFloor(e,t)}catch(e){console.log(e)}Mse.HRThemeManager.update()}};const dhe=new class{base64ToArrayBuffer(e){const t=atob(e),r=new Uint8Array(t.length);for(let e=0;e<t.length;e++)r[e]=t.charCodeAt(e);return r.buffer}base64ToFloat32Array(e){return new Float32Array(this.base64ToArrayBuffer(e))}};const hhe=new class{constructor(){this._subObjectGeometries={}}correctLimitedVertices(e,t,r){let n=t,i=e;const o=n-i;let s=1;o>I&&(s=Math.floor(o/I)+!!(o%I),n=i+I);for(let e=0;e<s;e++)e>0&&(i=n,n+=I,n=n<t?n:t),r(i,n,e)}createLines(e,t){e.Vertices&&"string"==typeof e.Vertices&&(e.Vertices=dhe.base64ToFloat32Array(e.Vertices)),Object.keys(t.LineLayerList.LineData).forEach(r=>{const n=t.LineLayerList.getLineLayerByKey(r);this._subObjectGeometries[e.key]||(this._subObjectGeometries[e.key]={faces:{},lines:{}});const i=n.from,o=n.to,s=new Oi,a=Math.abs(i-o)+1,l=new Float32Array(6*a),c=new Uint32Array(2*a);for(let r=i;r<=o;r++){const n=t.Lines[r],o=6*(r-i),s=2*(r-i),a=3*n.positionIndices.p1,u=3*n.positionIndices.p2;l[o]=e.Vertices[a]*C,l[o+1]=e.Vertices[a+1]*C,l[o+2]=e.Vertices[a+2]*C,l[o+3]=e.Vertices[u]*C,l[o+4]=e.Vertices[u+1]*C,l[o+5]=e.Vertices[u+2]*C,c[s]=s,c[s+1]=s+1}s.setAttribute("position",new Ei(l,3)),s.setIndex(new Mi(c,1)),s.computeBoundingSphere(),this._subObjectGeometries[e.key].lines[n.key+"_segment[0]"]=s})}createMesh(e,t){e.Vertices&&"string"==typeof e.Vertices&&(e.Vertices=dhe.base64ToFloat32Array(e.Vertices)),e.Normals&&"string"==typeof e.Normals&&(e.Normals=dhe.base64ToFloat32Array(e.Normals)),e.NUVList&&"string"==typeof e.NUVList&&(e.NUVList=dhe.base64ToFloat32Array(e.NUVList)),e.UVList&&"string"==typeof e.UVList&&(e.UVList=dhe.base64ToFloat32Array(e.UVList)),e.UVBaseList&&"string"==typeof e.UVBaseList&&(e.UVBaseList=dhe.base64ToFloat32Array(e.UVBaseList)),Object.keys(t.FaceLayerList.FaceData).forEach(r=>{const n=t.FaceLayerList.getFaceDataByKey(r);this._subObjectGeometries[e.key]||(this._subObjectGeometries[e.key]={faces:{},lines:{}});const i=n.from,o=n.to;let s=new Oi;const a=Math.abs(i-o)+1,l=new Float32Array(9*a),c=new Float32Array(9*a),u=new Float32Array(6*a),d=e.NUVList&&e.NUVList.length>0?new Float32Array(6*a):null,h=new Uint32Array(3*a);let p=!1;for(let r=i;r<=o;r++){const n=t.Faces[r];for(let t=1;t<=3;t++){const o=9*(r-i)+3*(t-1),s=6*(r-i)+2*(t-1),a=3*(r-i)+(t-1),m=3*n.positionIndices["p"+t],_=3*n.normalIndices["p"+t],g=2*n.uvIndices["p"+t],f=2*n.uvIndices["p"+t];l[o]=e.Vertices[m]*C,l[o+1]=e.Vertices[m+1]*C,l[o+2]=e.Vertices[m+2]*C,c[o]=e.Normals[_],c[o+1]=e.Normals[_+1],c[o+2]=e.Normals[_+2],u[s]=e.UVList[g],u[s+1]=e.UVList[g+1],d&&(e.NUVList&&e.NUVList.length>f+1?(d[s]=e.NUVList[f],d[s+1]=e.NUVList[f+1]):p=!0),h[a]=a}}s.setAttribute("normal",new ki(c,3)),s.setAttribute("uv",new ki(u,2)),d&&!p&&s.setAttribute("surfaceNormalUV",new ki(d,2)),s.setAttribute("position",new ki(l,3)),s.setIndex(new Mi(h,1)),s.computeBoundingSphere(),Bde.GeometryOptimize&&(s=BufferGeometryUtils.mergeVertices(s,1e-4)),s.flags=n.flags,s.useNormalUV=!!d,this._subObjectGeometries[e.key].faces["SMAT-"+n.name]=s})}getGeometryByKey(e){return this._subObjectGeometries[e]}hasGeometry(e){return!!this._subObjectGeometries[e]}clear(){this._subObjectGeometries={}}};window.FusionGeometryService=hhe;class phe{constructor(){this._lineData=null,this._lineData={}}get LineData(){return this._lineData}clear(){this._lineData={}}add(e,t){this._lineData[e]=t}getLineLayerByKey(e){return this._lineData[e]}import(e){Object.keys(e).forEach(t=>{const r=e[t];this._lineData[t]={key:r.Key,matID:r.MatID,flags:r.Flags,extIn:r.ExtIn,from:r.LFrom,to:r.LTo}})}}var mhe,_he,ghe;!function(e){e[e.P1i=0]="P1i",e[e.P2i=1]="P2i",e[e.LayerI=2]="LayerI",e[e.ExtIn=3]="ExtIn"}(mhe||(mhe={})),function(e){e[e.FaceFrom=0]="FaceFrom",e[e.FaceTo=1]="FaceTo",e[e.UVFrom=2]="UVFrom",e[e.UVTo=3]="UVTo",e[e.Flags=4]="Flags",e[e.ExtIn=5]="ExtIn"}(_he||(_he={})),function(e){e[e.P1i=0]="P1i",e[e.P2i=1]="P2i",e[e.P3i=2]="P3i",e[e.N1i=3]="N1i",e[e.N2i=4]="N2i",e[e.N3i=5]="N3i",e[e.UV1i=6]="UV1i",e[e.UV2i=7]="UV2i",e[e.UV3i=8]="UV3i",e[e.LayerI=9]="LayerI",e[e.UVBasI=10]="UVBasI",e[e.Flags=11]="Flags",e[e.ExtIn=12]="ExtIn"}(ghe||(ghe={}));class fhe{constructor(){this._faceData=null,this._faceData={}}get FaceData(){return this._faceData}clear(){this._faceData={}}getFaceDataByKey(e){return this._faceData[e]}import(e){Object.keys(e).forEach(t=>{const r=e[t];this._faceData[t]={name:r.Name,from:r.values[_he.FaceFrom],to:r.values[_he.FaceTo],uvFrom:r.values[_he.UVFrom],uvTo:r.values[_he.UVTo],flags:r.values[_he.Flags],extIn:r.values[_he.ExtIn]}})}}var vhe=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};const bhe=new class{constructor(){this._loList={},this._defer={}}getLODefer(e){return this._defer[e]||(this._defer[e]=Om()),this._defer[e]}addFusionLO(e,t,r){this._loList[e]||(this._loList[e]=[]);const n=this._loList[e].indexOf(r);-1!==n&&this._loList[e].splice(n,1),this._loList[e].push(t),this.getLODefer(e).resolve()}getFusionLOByInstanceIdent(e,t){return this._loList[t]?this._loList[t].filter(t=>+t.instanceIdent===+e)[0]:null}getFusionLOByMatKey(e){}getFusionLOByMatII(e,t=!1){return this._loList[e]?this._loList[e].filter(e=>e.GeometryLoaded==t):[]}waitForLO(e){return vhe(this,void 0,void 0,function*(){yield this.getLODefer(e)})}clear(){Object.values(this._defer).forEach(e=>{e.reject(new Error("FusionLoService cleared"))}),this._loList={},this._defer={}}};window.FusionLoService=bhe;var yhe=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};const $he=new class{constructor(){this.subObjectsIdlePool={},this.fusionIdlePool={},Rm.on("SendFusionCommand",e=>{this[e.command]&&(console.log("FUSION COMMAND:",e.command),this[e.command](e))})}NewSub(e){return yhe(this,void 0,void 0,function*(){if(yield ape.GetSceneDefer,!hhe.hasGeometry(e.parameters)&&!this.fusionIdlePool[e.parameters]){const t=Ihe.Generation;this.fusionIdlePool[e.parameters]=ape.getFusionData({command:"getFusionObject",key:e.parameters}).then(()=>{if(t===Ihe.Generation)return this.subObjectsIdlePool[e.parameters]||(this.subObjectsIdlePool[e.parameters]=ape.getFusionData({command:"getFusionSubObject",key:e.parameters})),this.subObjectsIdlePool[e.parameters]})}})}NewMatII(e){return yhe(this,void 0,void 0,function*(){yield ape.GetSceneDefer,ape.getFusionData({command:"getFusionMaterial",params:JSON.parse(e.parameters)}).then(e=>{e&&e.MaterialGroups&&(khe.addSubObjMaterial(e.MaterialGroups.subObjII,e.MaterialGroups),She.requestObjectCreation(e.MaterialGroups.matIDII))})})}ChangeSub(e){}ChangeMat(e){ape.getFusionData({command:"getFusionMaterial",params:JSON.parse(e.parameters)}).then(e=>{e&&e.MaterialGroups&&She.requestMaterialChange(e.MaterialGroups.matIDII)})}clear(){this.subObjectsIdlePool={},this.fusionIdlePool={}}};var xhe=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};const She=new class{constructor(){this._graphicRequests={}}requestObjectCreation(e){return xhe(this,void 0,void 0,function*(){if(!e)return!1;try{const t=yield khe.getSubObjByMaterialII(e);let r=bhe.getFusionLOByMatII(e);if(t&&0===r.length&&(yield bhe.waitForLO(e),r=bhe.getFusionLOByMatII(e)),t){const n=yield khe.getMaterialDataByMaterialII(+e);if(n)for(const e of r)if(!e.GeometryLoaded){e.GeometryLoaded=!0,e.add(yield t.createInstance(n.layerData,e));const r=[];Dhe.TScene.traverse(e=>{e&&e.removeMe&&r.push(e)});for(let e=0;e<r.length;e++)r[e]&&r[e].parent&&r[e].parent.remove(r[e])}aae.SetCenterCam()}return this.requestMaterialChange(e)}catch(e){return!1}})}requestMaterialChange(e){return xhe(this,void 0,void 0,function*(){if(!e)return!1;try{const t=yield khe.getSubObjByMaterialII(e);if(t&&t.MaterialGroups){const r=bhe.getFusionLOByMatII(t.MaterialGroups.matIDII,!0),n=yield khe.getMaterialDataByMaterialII(+e);if(n)for(const e of r)e.children&&e.children.length>2&&(yield t.changeMaterial(n.layerData,e.children[1]));return!0}return!1}catch(e){return!1}})}clear(){console.log("CLEAR FUSION MANAGER"),$he.clear(),bhe.clear()}};window.FusionManagerService=She;var whe=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class Ahe{constructor(){this._parent=null,this._instanceIdent=-1,this._fileNameOrID="",this._geomCutID="",this._dimension=null,this._massbezug=null,this._minMax=null,this._stretch=null,this._extData={},this._materialGroups={},this._key="",this._instanceIdent=-1,this._fileNameOrID="",this._geomCutID="",this._dimension=new br,this._massbezug=new br,this._minMax={max:new br,min:new br},this._stretch=new br}get Key(){return this._key}get Parent(){return this._parent}get InstanceIdent(){return this._instanceIdent}get FileNameOrID(){return this._fileNameOrID}get MaterialGroups(){return this._materialGroups}set MaterialGroups(e){this._materialGroups=e}import(e,t){this._key=e.key,this._parent=t,this._extData=e.ExtData,this._materialGroups=e.MaterialGroups,this._geomCutID=e.GeomCutID,this._fileNameOrID=e.FileNameOrID,this._instanceIdent=e.SubII,this._dimension.set(e.DX,e.DY,e.DZ),this._massbezug.set(e.MDX,e.MDY,e.MDZ),this._minMax.max.set(e.MM_DX,e.MM_DY,e.MM_DZ),this._minMax.min.set(e.MM_XMIN,e.MM_YMIN,e.MM_ZMIN),this.MaterialGroups&&(khe.addSubObjMaterial(this.InstanceIdent,this.MaterialGroups),hhe.createLines(e,this.Parent),hhe.createMesh(e,this.Parent),She.requestObjectCreation(this.MaterialGroups.matIDII))}createInstance(e,t){return whe(this,void 0,void 0,function*(){const r=new mo,n=hhe.getGeometryByKey(this.Key);if(n){const i={};e.forEach(e=>{i[e.Prefix+"-"+e.LayerIndex]=e.MaterialKey}),Object.keys(n.lines).forEach(e=>{const t=e.replace(/_segment\[\d+\]$/g,"");if(i[t]){const o=DE.createSync(n.lines[e],Lde.GetNativeMaterial("fv_standard_line_load",null));r.add(o),o.visible=Bde.ShowLines,Lde.checkForMaterials([i[t]],"fusion").then(e=>{o.material=e[0]})}});const o=Object.keys(n.faces);for(const e of o){const o=e.replace(/_segment\[\d+\]$/g,"");if(i[o]){const s=RE.create({geometry:n.faces[e],material:Lde.GetNativeMaterial("fv_standard_mesh_load",null),obj3D:t,layer:null});yield khe.setMaterial(s,i[o]),r.add(s)}}r.isFusionSubObject=!0}return r})}changeMaterial(e,t){return whe(this,void 0,void 0,function*(){const r={},n=hhe.getGeometryByKey(this.Key),i=t.children.filter(e=>e instanceof Yi);e.forEach(e=>{r[e.Prefix+"-"+e.LayerIndex]=e.MaterialKey});const o=Object.keys(n.faces);for(let e=0;e<o.length;e++){const t=o[e];r[t]&&(yield khe.setMaterial(i[e],r[t]))}})}}class Che{constructor(e){this._fileType=-1,this._instanceIdent=-1,this._lineLayerList=null,this._faceLayerList=null,this._subObjects=null,this._materialImport=null,this._faces=null,this._lines=null,this._filenameOrID="",this._lineLayerList=new phe,this._faceLayerList=new fhe,this._subObjects={},this._materialImport={},this._faces=new Array,this._lines=new Array}clear(){this._faceLayerList.clear(),this._lineLayerList.clear(),this._faces=null,this._lines=null,this._subObjects={},this._materialImport={}}get InstanceIdent(){return this._instanceIdent}get FilenameOrID(){return this._filenameOrID}get LineLayerList(){return this._lineLayerList}get FaceLayerList(){return this._faceLayerList}get Lines(){return this._lines}get Faces(){return this._faces}getSubObjectByKey(e){return this._subObjects[e]}getFaces(){return this._faces}getLines(){return this._lines}importFusionGraphic(e){this._instanceIdent=e.ObjII,this._fileType=e.LoadedFileTyp,this._filenameOrID=e.FileNameOrID;for(let t=0;t<e.Faces.length;t+=13)this._faces.push({extIn:e.Faces[t+ghe.ExtIn],flags:e.Faces[t+ghe.Flags],layerIndex:e.Faces[t+ghe.LayerI],positionIndices:{p1:e.Faces[t+ghe.P1i],p2:e.Faces[t+ghe.P2i],p3:e.Faces[t+ghe.P3i]},normalIndices:{p1:e.Faces[t+ghe.N1i],p2:e.Faces[t+ghe.N2i],p3:e.Faces[t+ghe.N3i]},uvIndices:{p1:e.Faces[t+ghe.UV1i],p2:e.Faces[t+ghe.UV2i],p3:e.Faces[t+ghe.UV3i]},uvBaseIndex:e.Faces[t+ghe.UVBasI]});for(let t=0;t<e.Lines.length;t+=4)this._lines.push({extIn:e.Lines[t+mhe.ExtIn],layerIndex:e.Lines[t+mhe.LayerI],positionIndices:{p1:e.Lines[t+mhe.P1i],p2:e.Lines[t+mhe.P2i]}});return Object.keys(e.MaterialImport).forEach(t=>{this._materialImport[t]={mat:e.MaterialImport[t].Mat}}),this._lineLayerList.import(e.LineLayerList),this._faceLayerList.import(e.FaceLayer),this}importSubObject(e){const t=new Ahe;return t.import(e,this),this._subObjects[t.FileNameOrID]=t,t}}var Ehe=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};const Ihe=new class{constructor(){this._subObjects={},this._fusionGraphics={},this._defer={},this._generation=0}get SubObjects(){return Object.values(this._subObjects)}get FusionGraphics(){return Object.values(this._fusionGraphics)}get Generation(){return this._generation}getSubObjectDefer(e){return this._defer[e]||(this._defer[e]=Om()),this._defer[e]}getFusionObjectByKey(e){return this._fusionGraphics[e]}getSubObjectByKey(e){return this._subObjects[e]}addFusionObject(e){const t=Mm.AddTimer("addFusionObject"),r=new Che;return r.importFusionGraphic(e),this._fusionGraphics[r.FilenameOrID]=r,Mm.EndTimer(t),this._fusionGraphics[r.FilenameOrID]}addSubObject(e){const t=Mm.AddTimer("addSubObject"),r=this.getFusionObjectByKey(e.parent);if(r){const t=r.importSubObject(e);this._subObjects[t.Key]=t,this.getSubObjectDefer(t.InstanceIdent).resolve()}Mm.EndTimer(t)}getSubObjectByII(e){return Ehe(this,void 0,void 0,function*(){return yield this.getSubObjectDefer(e),Object.values(this._subObjects).filter(t=>t.InstanceIdent===e)[0]})}clear(){this._generation++,Object.values(this._defer).forEach(e=>{e.reject(new Error("FusionGraphicService cleared"))}),this._defer={},this._fusionGraphics={},this._subObjects={}}};window.FusionGraphicService=Ihe;var Mhe=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};const khe=new class{constructor(){this._materials={},this._defer={}}getMaterialDefer(e){return this._defer[e]||(this._defer[e]=Om()),this._defer[e]}addSubObjMaterial(e,t){this._materials[t.matIDII]||(this._materials[t.matIDII]={subObject:e,data:t},this.getMaterialDefer(t.matIDII).resolve())}getSubObjByMaterialII(e){return Mhe(this,void 0,void 0,function*(){return this._materials[e]?yield Ihe.getSubObjectByII(this._materials[e].subObject):null})}getMaterialDataByMaterialII(e){return Mhe(this,void 0,void 0,function*(){return yield this.getMaterialDefer(e),this._materials[e]?this._materials[e].data:null})}setMaterial(e,t){return Mhe(this,void 0,void 0,function*(){if(e&&t)return Lde.checkForMaterials([t],"fusion").then(t=>Mhe(this,void 0,void 0,function*(){var r,n;t[0].parents||(t[0].parents=[]),t[0].parents.push(e),t[0].useNormalUV=e.geometry.useNormalUV;const i=e.material;if(e.material=t[0],"emission"===(null===(n=null===(r=t[0])||void 0===r?void 0:r.userData)||void 0===n?void 0:n.BaseMaterial)&&ME.registerEmissionMesh(e),i){const t=i.parents.indexOf(e);-1!==t&&i.parents.splice(t,1),0===i.parents.length&&i.cleanup&&i.cleanup()}const o=e.material;yield o.DiffuseMapDefer,o.map&&(1&e.geometry.flags||4&e.geometry.flags)&&o.ScaleX&&o.ScaleY&&(o.ScaleX!==o.map.repeat.x||o.ScaleY!==o.map.repeat.y)&&(o.map.repeat.set(o.ScaleX,o.ScaleY),o.normalMap&&(o.normalMap.repeat.set(o.ScaleX,o.ScaleY),o.normalMap.needsUpdate=!0),o.bumpMap&&(o.bumpMap.repeat.set(o.ScaleX,o.ScaleY),o.bumpMap.needsUpdate=!0),o.needsUpdate=!0),o.map&&(o.map.flipY=!1,o.map.needsUpdate=!0),o.normalMap&&(o.normalMap.flipY=!1,o.normalMap.needsUpdate=!0),o.side=8&e.geometry.flags?2:o.side}))})}clear(){Object.values(this._defer).forEach(e=>{e.reject(new Error("FusionMaterialService cleared"))}),this._materials={},this._defer={}}};window.FusionMaterialService=khe;class The{constructor(){this.sendMessage=(e,t)=>{this.dbgWindow&&this.dbgWindow.postMessage(JSON.stringify({event:e,data:t}),window.location.protocol+"//"+window.location.host)}}}class Rhe{constructor(){this.sendMessage=(e,t)=>{this.graphicWindow&&this.graphicWindow.postMessage(JSON.stringify({event:e,data:t}),window.location.protocol+"//"+window.location.host)}}}class Lhe{constructor(){this.sendMessage=(e,t)=>{this.matWindow&&this.matWindow.postMessage(JSON.stringify({event:e,data:t}),window.location.protocol+"//"+window.location.host)}}}const Phe=new class{get IsLocal(){return this._isLocal}constructor(){this._isCameraDebugLoaded=!1,this._autoUpdateCameraVector=!1,this._debugManus={},this._isDebugMode=!0,this.CameraDebug=(()=>{let e=null,t=null,r=null;return n=>{if(this._isDebugMode&&this._isCameraDebugLoaded&&this._autoUpdateCameraVector){if(null!==e&&null!==t&&null!==r||$(document).ready(()=>{e=$("#zoomAutoP2Dbg"),t=$("#zoomAutoP3Dbg"),r=$("#zoomAutoP4Dbg")}),!(e&&e.length&&t&&t.length&&r&&r.length))return null;const i=n.CurrentCameraControl.Camera.position,o=n.CurrentCameraControl.Target,s=Cp.DH2Vector3(Cp.DHGetVector(i,o));e.val(-Math.floor(1e3*s.x)/1e3),t.val(-Math.floor(1e3*s.y)/1e3),r.val(-Math.floor(1e3*s.z)/1e3)}}})(),this._wall2DDebug=!1,this._arDebugTools=!1,this._debugTiming=!1,this._debugSceneModifications=!1,this._debugDHLoBase=!1,this._debugGeometryPool=!1,this._isCommunicationDebug=!0,this._debugGUI=null,this._debugWindow=null,this._graphicWindow=null,this._materialsWindow=null,this._debugWindowGeometryPool=!1,this._debugWindowWebSocketSize=!1,this._debugWindowWTimeLine=!1,this._debugIconContextMenuDebug=!1,this._waitForMaterials=!1,this._PropertyContainerService=Coe,this._pickHelper=null,this._ServerDebug=!1,this._ShowConsole=!1,this.logWorldModifications=e=>{if(this._debugSceneModifications){const t=0,r=1,n=2,i=4,o=8,s={newM:[],rearrangeM:[],modM:[],delM:[],unchangedM:[]};e.forEach(e=>{e.cMod&r&&s.newM.push(e),e.cMod&i&&s.modM.push(e),e.cMod&n&&s.delM.push(e),e.cMod&t&&s.unchangedM.push(e),e.cMod&o&&s.rearrangeM.push(e)}),console.group("WMA: "+Date.now()),Object.keys(s).forEach(e=>{s[e].length>0&&(console.group(e+" Begin:"),s[e].forEach(e=>{console.log("TypeText: "+e.TT+", InstanceId: "+e.II+", ParentII:"+e.PII)}),console.groupEnd())}),console.groupEnd()}},this.logWorld=e=>{this._debugSceneModifications&&(console.group("Child: "+e.typeText+" I: "+e.II),e.Childs.forEach(e=>{console.log("TypeText: "+e.child.TT+", InstanceId: "+e.child.II),e.child.Childs&&e.child.Childs.length>0&&this.logWorld(e.child)}),console.groupEnd())},this._isLocal="http:"===window.location.protocol&&/localhost/.test(window.location.origin),g_configuration.panel_left_show&&window.dat&&window.dat.GUI&&(this._debugGUI=new dat.GUI({autoPlace:!1})),this._isDebugMode&&(navigator.sayswho=(()=>{let e,t=navigator.userAgent,r=t.match(/(opera|chrome|safari|firefox|msie|trident(?=\/))\/?\s*(\d+)/i)||[];return/trident/i.test(r[1])?(e=/\brv[ :]+(\d+)/g.exec(t)||[],"IE "+(e[1]||"")):"Chrome"===r[1]&&(e=t.match(/\b(OPR|Edge)\/(\d+)/),null!==e)?e.slice(1).join(" ").replace("OPR","Opera"):(r=r[2]?[r[1],r[2]]:[navigator.appName,navigator.appVersion,"-?"],null!==(e=t.match(/version\/(\d+)/i))&&r.splice(1,1,e[1]),r.join(" "))})(),$(document).ready(()=>{window.dhg={fGeom:hhe,fMat:khe,fGraphic:Ihe,fLO:bhe,fManager:She},window.MHS=Cue,window.renderer=Aue,window.Floor=Fde,window.debug=this,window.Camera=aue,window.DrawHelper=EI,window.MaterialManager=Lde,window.MaterialManagerHelper=Cue,window.TableHelperService=Qoe,window.PopUpHelperService=Gde,window.CookieHelperService=Wde,window.WallBuilder=Aie,window.Lights=Yce,window.InputHandlerService=Yse,window.MathHelper=fle,window.GraphicManagerService=_le,window.Properties=Bde,window.DebugGUI=this.DebugGUI,window.BoundingBoxHandler=MI,window.UI=fme,window.sManager=aae,window.CMS=aue,window.ACCManager=Rre,window.RedBoxHelper=moe,window.GeomPoolServ=YE,window.DebugWindowService=vm,window.CommunicationMonitor=Sm,window.VPL=Qde,window.VVC=rhe,window.Marker=FI,window.SelectionHandler=$le,window.sList=lae,window.snap=uhe,window.HR=Mse.HRThemeManager,window.Helper=zme,window.CSM=IE,window.HRConf=Oce,window.__FCS__=lpe,window.__ClipSC__=ice,window.__PCS__=Coe,this._isCommunicationDebug&&(window.Communicator=ape)}))}get ServerDebug(){return this._ServerDebug}get ShowConsole(){return this._ShowConsole}get MaterialDebugRegion(){return this._materialDebugRegion||(this._materialDebugRegion=document.querySelector("#materialDebugRegion")),this._materialDebugRegion}get WaitForMaterials(){return this._waitForMaterials}get IsDebugMode(){return this._isDebugMode}set Debug(e){this._isDebugMode=e,zde.SetRunningMode(e),zde.ShowFPS()}get IsDebugDHLoBase(){return this._debugDHLoBase}get IsDebugGeometryPool(){return this._debugGeometryPool}get IsDebugWindowWebSocketSize(){return this._debugWindowWebSocketSize}get DebugIconContextMenu(){return this._debugIconContextMenuDebug}get IsDebugWindowTimeLine(){return this._debugWindowWTimeLine&&this._debugTiming}get IsCommunicationDebug(){return this._isCommunicationDebug}get IsDebugWindowGeometryPool(){return this._debugWindowGeometryPool}get ARDebugTools(){return this._arDebugTools}get DebugTiming(){return this._debugTiming}get Wall2DDebug(){return this._wall2DDebug&&this._isDebugMode}get PickHelper(){return this._pickHelper||(this._pickHelper=new ihe),this._pickHelper}get DebugGUI(){return this._debugGUI}get DebugWindow(){return this._debugWindow||(this._debugWindow=new The),this._debugWindow}get GraphicWindow(){return this._graphicWindow||(this._graphicWindow=new Rhe),this._graphicWindow}get MaterialsWindow(){return this._materialsWindow||(this._materialsWindow=new Lhe),this._materialsWindow}get TimeLine(){return Mm}getObject(e){const t=(e,r,n)=>{let i=r;if(n&&(i=r[n]),!(e instanceof Function))if("object"==typeof e||Array.isArray(e)){if(e instanceof Array){r[n]=[];for(let r=0;r<e.length;r++){i[r]="";const n=e[r],o=t(n,i,r);o&&(i[r]=o)}}else if(e instanceof Object)for(const r in e)if(i[r]={},"enabledPlugin"!==r){const n=e[r],o=t(n,i,r);o&&(i[r]=o)}}else{if(!n)return"string"==typeof e?'"'+e+'"':e;r[n]="string"==typeof e?'"'+e+'"':e}};let r={};const n=t(e,r);return n&&(r=n),r}AddDebugManu(e,t){this._isDebugMode&&(this._debugManus[e]=t)}createPickHelper(){this.PickHelper.show({geomType:nhe.SPHERE,color:{r:0,g:1,b:0,a:1},size:50})}createDebugArea(){this._isDebugMode&&$(document).ready(()=>{const e=$("#debugAreaLeft");if(1===e.length){const t=$("<select style='width:100%' id='zoomAutoTypeDbg'></select>").appendTo(e),r=["ZOOMAUTO_EXTENDEDAPOINT","ZOOMAUTO_EXTENDEDDIR","ZOOMAUTO_FRONTCLIP","ZOOMAUTO_ROTATE2PI","ZOOMAUTO_ORTHOCLIP","ZOOMAUTO_ZOOMFACTOR","ZOOMAUTO_ORTHOFRONT","ZOOMAUTO_PANUPDOWN","ZOOMAUTO_EXTENDEDCURDIR","ZOOMAUTO_CAM_ROTATEMPV","ZOOMAUTO_CAM_ROTATEMPH","ZOOMAUTO_CAM_ROTATEABOUTMARKED","ZOOMAUTO_CAM_ROTATEEYELEFTRIGHT","ZOOMAUTO_CAM_ROTATEEYEUPDOWN","ZOOMAUTO_CAM_ROTATELEFTRIGHT","ZOOMAUTO_CAM_MOVELEFTRIGHT","ZOOMAUTO_CAM_MOVEAXIS3D","ZOOMAUTO_CAM_MOVEUPDOWN","ZOOMAUTO_CAM_SETVIEWPOINTMODE"];for(let e=0;e<r.length;e++)t.append("<option value='"+(e+1)+"'>"+r[e]+"</option>");const n=$("<select style='width:100%' id='zoomAutoModeDbg'></select>").appendTo(e);Object.keys(iue).forEach(e=>{n.append("<option value='"+iue[e]+"'>"+e+"</option>")});const i=$("<input style='width:100%' id='zoomAutoP1Dbg' value='0'>").appendTo(e);i.change(e=>{const t=$(e.currentTarget);/\d+/.test(t.val())||t.val(0)});const o=$("<input style='width:100%' id='zoomAutoP2Dbg' value='0.0'>").appendTo(e);o.change(e=>{const t=$(e.currentTarget);let r=/\d+\.\d+/.test(t.val());r||(r=/\d+/.test(t.val()),r||t.val(0))});const s=$("<input style='width:100%' id='zoomAutoP3Dbg' value='0.0'>").appendTo(e);s.change(e=>{const t=$(e.currentTarget);let r=/\d+\.\d+/.test(t.val());r||(r=/\d+/.test(t.val()),r||t.val(0))});const a=$("<input style='width:100%' id='zoomAutoP4Dbg' value='0.0'>").appendTo(e);a.change(e=>{const t=$(e.currentTarget);let r=/\d+\.\d+/.test(t.val());r||(r=/\d+/.test(t.val()),r||t.val(0))});const l=$("</br>");l.appendTo(e),l.appendTo(e);$("<input style='width:100%' id='zoomAutoCheck' type='checkbox'>Auto Update</input>").appendTo(e).change(e=>{this._autoUpdateCameraVector=e.currentTarget.checked});$("<button style='width:100%' id='zoomAutoSubmitDebug'>ZoomAuto</button>").appendTo(e).click(()=>{ape.setZoomMode(n[0].value,!0,{type:t[0].value,param1:i.val()||"0",param2:o.val()||"0.0",param3:s.val()||"0.0",param4:a.val()||"0.0"})}),l.appendTo(e),l.appendTo(e),e.append(this._debugGUI.domElement),this._isCameraDebugLoaded=!0}else this._isCameraDebugLoaded=!1})}__downloadJSON(e,t){const r="data:text/json;charset=utf-8,"+encodeURIComponent(JSON.stringify(e)),n=document.createElement("a");if(!n.click)throw new Error('DownloadManager: "a.click()" is not supported.');n.setAttribute("href",r),n.setAttribute("target","_parent"),n.setAttribute("download",t),(document.body||document.documentElement).appendChild(n),n.click(),n.remove()}LogChannelsCheck(){ape.doActionSimpleCL(-108)}};const Dhe=new class{constructor(){this.scene=new bo,this.DHWidgetHelper=void 0,this.selectionWidgets=void 0,this.clearScenePromise=Promise.resolve(),this._lightManager=Wce,this._preventFullClear=!1,$(document).ready(()=>{this.initialize()})}get TScene(){return this.scene}set PreventFullClear(e){this._preventFullClear=e}initialize(e){Phe.IsDebugMode&&(window.scene=this.TScene),this.DHWidgetHelper=new Dme,this.DHWidgetHelper.typeText="DHWidgetHelper",this.DHWidgetHelper.name=this.DHWidgetHelper.typeText,this.add(this.DHWidgetHelper),this.selectionWidgets=new Dme,this.selectionWidgets.typeText="selectionWidget",this.selectionWidgets.LogicalViewType=Lp.WIDGET,this.DHWidgetHelper.add(this.selectionWidgets),this.TScene.add(this._lightManager)}getPOByRiGroupID(e,t,r){t=t||[];r=r||this.scene;const n=this;r.children.forEach(function(r){r.riGroupID===e&&t.push(r),n.getPOByRiGroupID(e,t,r)})}clearScene(e,t,r,n){return this.clearScenePromise.then(()=>{const i=Phe.TimeLine.AddTimer("ClearScene");if(e&&t&&Yse.InteractionMode!==Pp.FITTING&&Yse.InteractionMode!==Pp.PROPTRANSFER&&ZE.world){for(let e=ZE.world.children.length-1;e>=0;e--){const t=ZE.world.children[e],r=t instanceof Dme,n=!(t.children[0]instanceof Yi),i="DHWidgetHelper"!==t.name;r&&n&&i&&ZE.world.remove(ZE.world.children[e])}r&&(this._preventFullClear||(Phe.TimeLine.EndTimer(i),FI.clearMarker(),$le.clear(),II.clear(!0),Xre.clear(!0),XE.clear(!0),YE.clear(),JE.clear(!0),Lde.clear(!0),Kre.clear(!0),_le.clear(),She.clear()),this._preventFullClear=!1)}return Phe.TimeLine.EndTimer(i),!(r&&!n)||ape.getScene().then(function(){return!0})})}add(e){e&&this.TScene.add(e)}};const Nhe=new class{constructor(){this.splashScreen=$("#page-dimmer"),this.loader=$("#page-dimmer-loader"),this.sessionResumed=$("#page-dimmer-session-resumed"),this.sessionSuspended=$("#page-dimmer-session-suspended"),this.sessionAlreadyExists=$("#page-dimmer-session-already-exists"),this.sessionSuspended.find(".button").on("click",()=>{this.showLoader(),Dhe.clearScene(!0,!0,!0).then(()=>{ase.forceReconnect().then(()=>{fme.openRightPanel(),this.hideAllSplashScreens(),this.hideDimmer()})})})}hideAllSplashScreens(){this.splashScreen.children().addClass("dhmc-hidden")}hideDimmer(){this.hideAllSplashScreens(),this.splashScreen.parent().removeClass("dimmed")}showDimmer(){this.splashScreen.parent().addClass("dimmed")}showLoader(){this.hideAllSplashScreens(),g_configuration.deactivate_splashscreen||(this.loader.removeClass("dhmc-hidden"),this.showDimmer())}hideLoader(){this.hideAllSplashScreens(),this.hideDimmer()}showSessionResumed(){this.hideAllSplashScreens(),this.sessionResumed.removeClass("dhmc-hidden"),this.showDimmer()}showSessionSuspended(){fme.closeRightPanel(),this.hideAllSplashScreens(),this.sessionSuspended.removeClass("dhmc-hidden"),this.showDimmer()}showSessionAlreadyExists(){this.hideAllSplashScreens(),this.sessionAlreadyExists.removeClass("dhmc-hidden"),this.showDimmer()}updateLanguageTexts(){this.loader.text(boe.getValue("fv.splashscreen.loading")),this.sessionResumed.find(".text").text(boe.getValue("fv.message.session_has_been_resumed")),this.sessionAlreadyExists.find(".text").text(boe.getValue("fv.message.session_already_exists")),this.sessionSuspended.find(".text").text(boe.getValue("fv.message.session_has_been_suspended"))}};var Fhe=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};const Ohe=new class{constructor(){this._uiElements={stepContainer:null,contentContainer:null,stepHome:null,stepOne:null,stepTwo:null,stepThree:null,priceStep:null},this._isInitialActivated=!1,this._uiElements.contentContainer=$("#wizardSpecialMain"),this._uiElements.stepContainer=$("#wizardSpecialTop"),this._uiElements.stepHome=$("#wizardSpecialStep1"),this._uiElements.stepOne=$("#wizardSpecialStep2"),this._uiElements.stepTwo=$("#wizardSpecialStep3"),this._uiElements.stepThree=$("#wizardSpecialStep4"),this._uiElements.priceStep=$("#wizardSpecialStep5")}setHomeActive(){this._uiElements.stepContainer.find(".dhStepSpecial").removeClass("active"),this._uiElements.stepHome.addClass("active")}setInitialActive(){this._isInitialActivated?this._uiElements.stepHome.hasClass("active")&&(this._uiElements.stepHome.removeClass("active"),this._uiElements.stepOne.click()):(this._isInitialActivated=!0,this._uiElements.stepContainer.find(".dhStepSpecial").removeClass("active"),this._uiElements.stepOne.click(),this.enableSteps())}enableSteps(){return Fhe(this,void 0,void 0,function*(){yield Qte.isCatalogInitialized(),this._uiElements.stepContainer.find(".dhStepSpecial").removeClass("disabled"),this._uiElements.priceStep.removeClass("disabled")})}disableSteps(){this._uiElements.stepContainer.find(".dhStepSpecial").addClass("disabled"),this._uiElements.priceStep.addClass("disabled")}show(){this._uiElements.stepContainer.removeClass("mobileLandscapeHidden")}hide(){this._uiElements.stepContainer.addClass("mobileLandscapeHidden")}};var Bhe,Uhe,Vhe,zhe;!function(e){e[e.FIRST_POINT=0]="FIRST_POINT",e[e.SECOND_POINT=1]="SECOND_POINT",e[e.DISTANCE_POINT=2]="DISTANCE_POINT",e[e.END=3]="END",e[e.IS_PLANED=4]="IS_PLANED"}(Bhe||(Bhe={})),function(e){e[e.THREE_D=0]="THREE_D",e[e.TWO_D=1]="TWO_D"}(Uhe||(Uhe={})),function(e){e[e.DEFAULT=0]="DEFAULT",e[e.LEFT_TOP=1]="LEFT_TOP",e[e.CENTER_TOP=2]="CENTER_TOP",e[e.RIGHT_TOP=3]="RIGHT_TOP",e[e.LEFT_CENTER=4]="LEFT_CENTER",e[e.CENTER=5]="CENTER",e[e.RIGHT_CENTER=6]="RIGHT_CENTER",e[e.LEFT_BOTTOM=7]="LEFT_BOTTOM",e[e.CENTER_BOTTOM=8]="CENTER_BOTTOM",e[e.RIGHT_BOTTOM=9]="RIGHT_BOTTOM"}(Vhe||(Vhe={})),function(e){e[e.THREE_D=0]="THREE_D",e[e.TWO_D=1]="TWO_D"}(zhe||(zhe={}));const Hhe=class extends qn{constructor(e){super(),this._endPointOptions=e||{endPointOptions:{},lineOptions:{}},this.frustumCulled=!1,this.layers.set(1),e.endPointOptions=e.endPointOptions||{},this._endPointOptions.endPointOptions.startPoint=e.endPointOptions.startPoint,this._endPointOptions.endPointOptions.endPoint=e.endPointOptions.endPoint,this._endPointOptions.endPointOptions.startsWith=e.endPointOptions.startsWith||cae.SPHERE,this._endPointOptions.endPointOptions.color=e.endPointOptions.color||{r:0,g:0,b:0,a:1},e.lineOptions=e.lineOptions||{},this._endPointOptions.lineOptions.lineColor=e.lineOptions.lineColor||{r:0,g:0,b:0,a:1},this.createLine(),this.createStartWith()}update(e){this._line.geometry.attributes.position.setXYZ(1,e.x,e.y,e.z),this._line.geometry.attributes.position.needsUpdate=!0}createLine(){const e=new Oi;let t=[];t=t.concat(this._endPointOptions.endPointOptions.startPoint,this._endPointOptions.endPointOptions.endPoint),e.setAttribute("position",new ki(t,3)),e.setIndex([0,1]),e.addGroup(0,2,0);const r=new PE({color:new mi(this._endPointOptions.lineOptions.lineColor.r,this._endPointOptions.lineOptions.lineColor.g,this._endPointOptions.lineOptions.lineColor.b)});this._line=new Ms(e,r),this.add(this._line)}createStartWith(){let e=null;switch(this._endPointOptions.endPointOptions.startsWith){case cae.BOX:e=new Ki(25,25,25,5,5);break;case cae.DEFAULT:case cae.SPHERE:default:e=new Za(25,5,5)}this._startMesh=new Yi(e,new Hm({color:new mi(this._endPointOptions.endPointOptions.color.r,this._endPointOptions.endPointOptions.color.g,this._endPointOptions.endPointOptions.color.b),transparent:this._endPointOptions.endPointOptions.color.a<1,opacity:this._endPointOptions.endPointOptions.color.a})),this._startMesh.position.copy(Cp.DH2Vector3(this._endPointOptions.endPointOptions.startPoint)),this._startMesh.layers.set(1),this.add(this._startMesh)}};const Ghe=class extends qn{constructor(e){super(),this._startPoint=new br,this._endPoint=new br,this._distance=0,this._mode=Uhe.THREE_D,this._lines=[],this._mode=e||Uhe.THREE_D,this._state=Bhe.FIRST_POINT,this.initialize(),this.layers.set(1)}get State(){return this._state}set StartPos(e){this._state===Bhe.FIRST_POINT&&e&&(this._startPoint.copy(e.clone()),this._pickHelperClass.update(this._startPoint))}set EndPos(e){this._state===Bhe.SECOND_POINT&&e&&(this._endPoint.copy(e.clone()),this._pickHelperClass.update(this._endPoint))}set Distance(e){this._state===Bhe.DISTANCE_POINT&&e&&(this._distance=e)}update(...e){let t;if(t=e&&e.length>0&&e[0]&&e[0].point?Cp.DH2Vector3(e[0].point):Yse.AnyIntersection?Yse.AnyIntersection.point:null,t?this._lastPoint=t:this._lastPoint&&(t=this._lastPoint),this._state===Bhe.FIRST_POINT)return this.StartPos=t,Bhe.FIRST_POINT;if(this._state===Bhe.SECOND_POINT){if(this.EndPos=t,!this._startLO){const e=aue.CurrentCamera.toScreenPosition(this._startPoint.clone());Yse.checkIntersection(e.x,e.y)&&Yse.IntersectedLO&&(this._startLO=Yse.IntersectedLO.findPOFromLO())}return this.createFlexLine(),this._lastPoint=null,Bhe.SECOND_POINT}if(this._mode===Uhe.TWO_D){if(this._state===Bhe.DISTANCE_POINT)return this.Distance=t,this.createDistanceLine(),this._pickHelperClass.hide(),this.remove(this._flexLine),this._lastPoint=null,Bhe.DISTANCE_POINT;if(this._state===Bhe.END)return this.createDistanceLine(),this._lastPoint=null,Bhe.END}else if(this._mode===Uhe.THREE_D){if(this._state=Bhe.IS_PLANED,!this._endLO){const e=aue.CurrentCamera.toScreenPosition(this._endPoint.clone());Yse.checkIntersection(e.x,e.y)&&(this._endLO=(Yse.IntersectedLO||this._startLO).findPOFromLO())}this.createMeasureLine({startLO:this._startLO,endLO:this._endLO,endsWith:cae.VERTICAL_ARROW,startsWith:cae.VERTICAL_ARROW,endOffset:0,startOffset:0,textType:zhe.TWO_D,textAlign:Vhe.CENTER,textColor:{r:0,g:0,b:0,a:1},lineColor:{r:0,g:0,b:0,a:1},endPoint:this._endPoint.toArray(),startPoint:this._startPoint.toArray()}),this._pickHelperClass.hide(),this._lastPoint=null,this.remove(this._flexLine)}}dispose(){this._lines=[],this.remove(this._flexLine),delete this._flexLine,this._pickHelperClass.hide(),Dhe.TScene.remove(this)}IncrementStat(...e){this._state++}initialize(){this._pickHelperClass||(this._pickHelperClass=new ihe),this._pickHelperClass.show({geomType:nhe.SPHERE,color:{r:1,g:0,b:0,a:.8}}),Dhe.add(this)}createFlexLine(){this._flexLine||(this._flexLine=new Hhe({endPointOptions:{startPoint:this._startPoint.toArray(),endPoint:this._endPoint.toArray(),color:{r:1,g:0,b:0,a:.8}}}),this.add(this._flexLine)),this._flexLine.update(this._endPoint)}createDistanceLine(e){(e=e||{}).dimOptions=e.dimOptions||{},e.dimOptions.textOptions=e.dimOptions.textOptions={},e.dimOptions.textOptions.textColor=e.dimOptions.textOptions.textColor||{r:0,g:0,b:0,a:1},e.dimOptions.endPointOptions=e.dimOptions.endPointOptions||{},e.dimOptions.endPointOptions.color=e.dimOptions.endPointOptions.color||{r:0,g:0,b:0,a:1},e.dimOptions.endPointOptions.startPoint=e.dimOptions.endPointOptions.startPoint||this._startPoint,e.dimOptions.endPointOptions.endPoint=e.dimOptions.endPointOptions.endPoint||this._endPoint,e.dimOptions.endPointOptions.directionPoint=e.dimOptions.endPointOptions.directionPoint||this._distance,e.dimOptions.lineOptions=e.dimOptions.lineOptions||{},e.dimOptions.lineOptions.lineColor=e.dimOptions.lineOptions.lineColor||{r:0,g:0,b:0,a:1},e.projection=e.projection||{},e.projection.direction=e.projection.direction||[0,1,0],e.projection.pu=e.projection.pu||[1,0,0],e.projection.px=e.projection.px||[1,1,0],e.projection.py=e.projection.py||[1,0,1],e.arrowOptions={DimScale:1e3,ArrowThickness:10,ArrowLength:30,ArrowMode:1,DistContour:0,DistHelp2MassLine:10,DistText2MassLine:10,TextFormatId:1,TextHeight:100},this._directionLine||(this._directionLine=eae.createSync(e),this.add(this._directionLine)),this._directionLine.update(e)}removeEvent(e){this.remove(this._lines[0]),this.remove(this._lines[1]),this._lines.splice(0,2),e&&(this.remove(this._lines[2]),this.dispose())}createRemoveEvent(){this._startLO&&this._endLO&&(this._startLO===this._endLO?this._startLO.addEventListener("onDelete",()=>{this.removeEvent(!0)}):(this._startLO.addEventListener("onDelete",()=>{this.removeEvent(!0)}),this._endLO.addEventListener("onDelete",()=>{this.removeEvent(!1)})))}createMeasureLine(e){(e=e||{}).startsWith=e.startsWith||cae.VERTICAL_ARROW,e.endsWith=e.endsWith||cae.VERTICAL_ARROW,e.textColor=e.textColor||{r:0,g:0,b:0,a:1},e.lineColor=e.lineColor||{r:0,g:0,b:0,a:1},e.textAlign=e.textAlign||Vhe.CENTER,e.textType=e.textType||zhe.TWO_D,e.startOffset=e.startOffset||0,e.endOffset=e.endOffset||0,e.endPoint=e.endPoint||this._startPoint.toArray(),e.startPoint=e.startPoint||this._endPoint.toArray();const t=[].concat(e.startPoint[2]>e.endPoint[2]?e.startPoint:e.endPoint),r=[].concat(e.startPoint[2]>e.endPoint[2]?e.endPoint:e.startPoint);e.endPoint=t,e.startPoint=r,this.createRemoveEvent(),this._lines.push(mae.create({endPointOptions:{startPoint:e.startPoint,startsWith:e.startsWith,startOffset:e.startOffset,endPoint:e.endPoint,endsWith:e.endsWith,endOffset:e.endOffset},lineOptions:{lineColor:e.lineColor},textOptions:{align:7,position:e.startPoint.toVector().add(e.endPoint.toVector()).divideScalar(2).multiplyScalar(C).toArray(),fontSize:56,scaleFactor:Bde.textScaleFactor,text:""+Math.floor(10*Cp.DHBetrag(e.startPoint,e.endPoint))/100,textType:e.textType,textColor:e.textColor}}));const n=Cp.DHEqual(e.startPoint[0],e.endPoint[0],1e-4),i=Cp.DHEqual(e.startPoint[1],e.endPoint[1],1e-4),o=Cp.DHEqual(e.startPoint[2],e.endPoint[2],1e-4);if(!(n||i||o)){const t=e.endPoint.toVector();t.z=e.startPoint[2],this._lines.push(mae.create({endPointOptions:{startPoint:e.startPoint,startsWith:e.startsWith,startOffset:e.startOffset,endPoint:t.toArray(),endsWith:e.endsWith,endOffset:e.endOffset},lineOptions:{lineColor:e.lineColor},textOptions:{position:e.startPoint.toVector().add(t).divideScalar(2).multiplyScalar(C).toArray(),fontSize:56,scaleFactor:Bde.textScaleFactor,text:""+Math.floor(10*Cp.DHBetrag(e.startPoint,t.toArray()))/100,textType:e.textType,textColor:e.textColor}})),this._lines.push(mae.create({endPointOptions:{startPoint:e.endPoint,startsWith:e.startsWith,startOffset:e.startOffset,endPoint:t.toArray(),endsWith:e.endsWith,endOffset:e.endOffset},lineOptions:{lineColor:e.lineColor},textOptions:{position:e.endPoint.toVector().add(t).divideScalar(2).multiplyScalar(C).toArray(),fontSize:56,scaleFactor:Bde.textScaleFactor,text:""+Math.floor(10*Cp.DHBetrag(e.endPoint,t.toArray()))/100,textType:e.textType,textColor:e.textColor}}))}this.add(...this._lines)}};const jhe=new class extends Yre{constructor(){super("measureAction"),this._canUseCamera=!0,this._canSend=!0,this._measureLine=null}begin(...e){return super.begin(e),Ame.requestRendering(),this._measureLine||(this._measureLine=new Ghe,Poe.setStrategy(Poe.pickNothing),Bde.NoInteractionMode=!0,Yse.autoClearSceneAction=!1,ape.MeasureAction({action:"StartAction",noMouse:!0,perpendicular:e[0]?e[0].perpendicular:0})),!0}update(...e){return Ame.requestRendering(),this._measureLine&&(this._measureLine.State===Bhe.IS_PLANED?(Yse.clearSceneAction(!0),this._measureLine=null,ape.MeasureAction({action:"EndAction"}).then(e=>{Bde.NoInteractionMode=!1,Poe.setStrategy(Poe.pickGeometry)}).catch(()=>{this.cancel()})):this._canSend&&(this._canSend=!1,ape.MeasureAction({action:"UpdateAction"}).then(e=>{this._measureLine.update(e[0]),this._canSend=!0}).catch(()=>{this._canSend=!0}))),!0}end(...e){return this._measureLine&&this._measureLine.IncrementStat(e),!0}cancel(...e){return this._measureLine&&(Yse.clearSceneAction(!0),this._measureLine.dispose(),delete this._measureLine,this._measureLine=null,Bde.NoInteractionMode=!1,ape.MeasureAction({action:"CancelAction"})),Poe.setStrategy(Poe.pickGeometry),!0}};var Jhe,Whe=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};!function(e){e[e.ALL=0]="ALL",e[e.GLOBAL=1]="GLOBAL",e[e.LOCAL=2]="LOCAL"}(Jhe||(Jhe={}));const Qhe=new class{initialize(e){return Whe(this,void 0,void 0,function*(){return eM.getContext({filterStrategy:Jhe.LOCAL})})}get(e){return Whe(this,void 0,void 0,function*(){return eM.getContext(e)})}dispose(e){return Whe(this,void 0,void 0,function*(){})}};var qhe=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};const Yhe=Om();let Xhe=0;const Khe=function(e,t,r){return qhe(this,void 0,void 0,function*(){Pie.setPrice(),r&&npe(e,!1);try{fme.PropertyContainer.ManufacturerLongName=e.World.Manu_long,fme.PropertyContainer.ProgramLongName=e.World.Prog_long}catch(t){e&&e.WorldMods&&e.WorldMods.WMA&&e.WorldMods.WMA.length>0&&(fme.PropertyContainer.ManufacturerLongName=e.WorldMods.WMA[0].Manu_long,fme.PropertyContainer.ProgramLongName=e.WorldMods.WMA[0].Prog_long)}if(Bde.EnableAppConnectionData&&!t&&fme.propagateAppConnectionDataUpdate(),Bde.EnableExternalPropertyUpdates){const e=yield Coe.getRelevantKeys([],!0);Object.keys(e.relevant_keys).length>0&&upe.sendToApp("external.property-updates.updatedProperties",[e])}})},Zhe=function(e,t=!1){Phe.DebugWindow.sendMessage("clearLog","");const r=Cp.DHGetVector(e.Camera.CameraEyePos,e.Camera.CameraTargetPos).toVector();return-1!=r.z&&1!=r.z&&e.Camera.CameraEyePos[0]+e.Camera.CameraEyePos[1]+e.Camera.CameraEyePos[2]!==0||(e.Camera.CameraEyePos=[1549.5,-3411.9,1670.6],e.Camera.CameraTargetPos=[-574.6,-722.9,25.2]),e.Camera.CameraEyePos[0]*=C,e.Camera.CameraEyePos[1]*=C,e.Camera.CameraEyePos[2]*=C,e.Camera.CameraTargetPos[0]*=C,e.Camera.CameraTargetPos[1]*=C,e.Camera.CameraTargetPos[2]*=C,Khe(e,!1,t),Ame.LoadSceneLocal(e,"soft",!Bde.IsPlacerMode||!!e.World,!0,!0).then(function(e){return Phe.DebugWindow.sendMessage("refresh",""),setTimeout(function(){ore.dispatch("sceneChanged")},200),Coe.refreshManuProg().then(()=>(Bde.MeasureBoxDefaultState&&Bde.MeasureBoxEnabled&&!Bde.GlobalMeasureBox&&(Bde.GlobalMeasureBox=!0),e))})},epe=function(e,t){return t&&Khe(e),Phe.TimeLine.AddCallbackTimer("loadFittingScene",Ame,Ame.LoadSceneLocal,e,!1,!1,!1,!1)},tpe=function(e){return Ame.LoadSceneLocal(e,!1,!1,!1,!1).then(function(e){Aie.currentWall?Object.keys(Aie.fp_walls).forEach(function(e,t){Aie.currentWall.segments[t].refWall=Aie.fp_walls[e]}):Object.keys(Aie.fp_walls).length>0&&(Aie.FPWallHandling=!0)})},rpe=function(e,t,r,n){return qhe(this,void 0,void 0,function*(){return r&&Khe(e,n),Ame.LoadSceneLocal(e,!1,!1,!1,t).then(function(e){if(e)return Lse.NeedsUpdate="globalMeasureBox",e.replacedLO?{replacedLO:e.replacedLO}:lae.getLastAddedIIs()})})},npe=function(e,t,r,n){let i=e.Camera.CameraEyePos.toVector().multiplyScalar(C);const o=e.Camera.CameraTargetPos.toVector().multiplyScalar(C);Bde.CameraFrontDefaultZoom&&(i=aue.calculateDistance(lae.getPOs(),i,o,1)),aue.CurrentCamera.GoToPos({eye:i,target:o.toArray(),animated:t,waitCB:r,offset:n})},ipe=function(e,t){return Khe(e,void 0,t),Ame.LoadSceneLocal(e,"soft",!0,!1,!1)},ope=function(e,t){return e.then(function(e){return Zhe(e,t)}).catch(function(e){console.log(e.message)}).then(function(){return Nhe.hideDimmer(),ape.buildProperties({initialize:!0})}).catch(function(e){console.error(e),Nhe.hideDimmer(),aI.dispatch("resizeWindow")})};Tm.on("restartedInstance",function(e){upe.dispatch("session_disconnect"),console.log("restartedInstance"),ape.getScene().then(function(){ape.getScene();const e=$("#furnplan-kata-tree");if(e&&1===e.length&&g_node_url_prefix){let t=e.attr("src").substr(0,e.attr("src").indexOf("?"));t=t.replace(/[htps]+:\/\//,""),t=t.substr(t.indexOf("/"),t.length),e.attr("src",g_node_url_prefix+t+`?sessionId=${g_sessionId}&nodeUrl=${g_node_url_prefix}`).on("load",()=>{Qte.buildKataTree()})}})},!0);const spe={GetZDirectionAllow:void 0,saveUndoAllow:!0},ape={GetSceneDefer:Yhe,loadArticleToScene:rpe,loadFittingScene:epe,logScene:function(){return ase.fpRequest("LogScene",[]).then(()=>!0)},loadArticle:function(e,t,r,n,i=!1){Nhe.showLoader();const o=Phe.TimeLine.AddTimer("Article Request");return ase.fpRequest("LoadArticle",[e.toLowerCase(),t.toLowerCase(),r.toLowerCase(),n.toUpperCase()]).then(function(e){if(ape.saveUndo("LastUndo"),Phe.TimeLine.EndTimer(o),e)return e[0];throw new Error("No parameters returned")}).then(o=>ope(Promise.resolve(o),!0).then(()=>{if(console.log("checkFinished"),Um.Finished("layerGeometry").then(()=>{console.log("Finished"),upe.dispatch("onLastPOLoaded",[lae.getLastAddedIIs(),i])}),upe.dispatch("onLastPOLoaded",[lae.getLastAddedIIs(),i]),Bde.CameraFixedView&&Bde.CameraFixedVector&&aue.CurrentCamera.resetByVector(!0),g_configuration.show_article_info&&e.length>0){const i={manu:e.toLowerCase(),prog:t.toLowerCase(),artno:r,entityType:n};return Xp.setItem(g_sessionId,"loadedArticle",i),Zp.find(i.manu,i.prog,i.artno).then(function(e){Pie.update(e),Pie.show()}).catch(function(){if(console.log("No article found!"),1===lae.CountPO()){Pie.show();const e=lae.getPOs()[0];Pie.update({prog:e.Program,artno:e.PlanType,dxmin:e.CurrentDimension.x,dymin:e.CurrentDimension.y,dzmin:e.CurrentDimension.z})}Pie.show()})}}))},resetCameraToDefaultPosition:function(){return qhe(this,void 0,void 0,function*(){const e=aue.CurrentCamera;Bde.CameraVectorSpecial?e.setZoomModeToVectorSpecial&&e.setZoomModeToVectorSpecial():e.setZoomModeToTopLeftFront&&e.setZoomModeToTopLeftFront()})},loadVZPlanning:function(e,t,r){return qhe(this,void 0,void 0,function*(){return yield ase.fpRequest("LoadVZPlanning",{manufacturer:e,program:t,article:r}).then(e=>{if(!e||0===e.length)throw new Error("PlaceWallElementNextCenter scene not found!");this.getScene();const t=[],r=lae.getAll();for(const e of r)t.push(e.instanceIdent);LI.LastPOLoaded.send(t)})})},loadWaWiArticle:function(e,t){return qhe(this,void 0,void 0,function*(){Nhe.showLoader(),ape.saveUndo("LastUndo");let r=yield ase.fpRequest("WawiLoadArticle",[e,t]);if(r=r[0],g_configuration.show_article_info)try{const e={manu:r.WorldMods.WMA[0].Manu,prog:r.WorldMods.WMA[0].Prog,artno:t};Xp.setItem(g_sessionId,"loadedArticle",e);const n=yield Zp.find(e.manu,e.prog,e.artno);Pie.update(n),Pie.show()}catch(e){if(console.log("No article found!"),1===lae.CountPO()){const e=lae.getPOs()[0];Pie.update({prog:e.Program,artno:e.PlanType,dxmin:e.CurrentDimension.x,dymin:e.CurrentDimension.y,dzmin:e.CurrentDimension.z})}Pie.show()}return yield ope(Promise.resolve(r))})},getCommission:function(){return qhe(this,void 0,void 0,function*(){try{return(yield ase.fpRequest("GetCommission",[]))[0]}catch(e){return console.log(e),""}})},setLanguage:function(e){return qhe(this,void 0,void 0,function*(){return ase.fpRequest("SetLanguage",{language:e})})},setCommission:function(e){return qhe(this,void 0,void 0,function*(){return ase.fpRequest("SetCommission",{commission:e})})},setAuthentication:function(e,t){return qhe(this,void 0,void 0,function*(){return ase.fpRequest("SetAuthenticationData",{username:e,store:t})})},ArticleEquipmentObserverAction:function(e){return qhe(this,void 0,void 0,function*(){return ase.fpRequest("ArticleEquipmentObserverAction",e)})},getManufacturerAndProgramByWawiReference:function(e,t){return qhe(this,void 0,void 0,function*(){return yield ase.fpRequest("GetManufacturerAndProgramByWawiReference",[e,t])})},getRelevantProperties:function(e,t,r){return Bde.SingleSelectionEnabled&&!g_configuration.webui_mode&&0===$le.objects.length&&lae.CountPO()>1?Promise.resolve({}):new Phe.TimeLine.PromiseTimer("getRelevantProperties",function(e,t){Coe.refreshManuProg().then(()=>{let t=[];return r||(t=$le.objects.map(function(e){return e.guid})),Coe.getRelevantKeys(t).then(t=>e(t))})})},getPropDelElems:function(){let e=[];return e=$le.objects.map(function(e){return e.guid}),ase.fpRequest("GetPropDelElems",[{guidList:e}]).then(function(e){if(e)return e[0];throw new Error("No Parameters returned")}).then(function(e){return e}).catch(function(e){console.error(e)})},getFinishParams:function(e,t,r){return qhe(this,void 0,void 0,function*(){return yield ase.fpRequest("GetFinishParams",{manufacturer:e,program:t,association:r}).then(e=>e)})},buildPropertiesTimer:null,buildProperties:function(e){},modifyProperty:function(e,t,r){return qhe(this,void 0,void 0,function*(){let n;t.modifyColorPicker&&(n={color:{code:t.modifyColorPicker.code,rgb:t.modifyColorPicker.rgb}});const i=e.map(e=>{var t;const i=e.key,o=e.contextId?eM.merkmalStore.getContext(e.contextId):eM.filterContextList(e.manufacturer,e.program)[0];if(!o)return;const s=null!=e.index?+e.index:e.property;return r||null===(t=o.getMerkmal(parseInt(i)))||void 0===t?void 0:t.setValue(s,n)});if(i.push(ape.updateScene()),yield Promise.all(i),t.isWizard||Mse.HRThemeManager.update(),Lse.NeedsUpdate="globalMeasureBox",Bde.CameraFixedView&&Bde.CameraFixedVector&&aue.CurrentCamera.resetByVector(!0),1===lae.CountPO()){const e=lae.getPOs()[0];Pie.update({prog:e.Program,artno:e.PlanType,dxmin:e.CurrentDimension.x,dymin:e.CurrentDimension.y,dzmin:e.CurrentDimension.z})}Qse.startTimer()})},modifyPropertyOld:function(e,t,r){return qhe(this,void 0,void 0,function*(){var n,i,o,s,a;if(Yse.SceneAction&&(null===(n=Yse.SceneAction)||void 0===n||n.cancel()),(t=t||{}).modifyColorPicker){const r=t.modifyColorPicker.key.replace(/.*_(\[.*\].*)_[0-9]+/gi,"$1").toUpperCase();yield ape.setColorPickerCode({merkmal:t.modifyColorPicker.id,auspraegung:r,color:t.modifyColorPicker.rgb,code:t.modifyColorPicker.code}),e.forEach(e=>{e.key=t.modifyColorPicker.id,e.property=r,e.propertyKey=t.modifyColorPicker.key})}Bde.IsFurnplanMode||Nhe.showLoader();let l=[],c=[];l=$le.objects.map(function(e){return c.push(e.instanceIdent),e.guid});for(const n of e){let e=-1,c=!1;const u=n.contextId?`${n.contextId}#${n.key}`:`${n.manufacturer}#${n.program.toUpperCase()}#${n.key}`;if(void 0===n.index||null===n.index||r){const t=Yne.Contexts.get(u);c=1===(null==t?void 0:t.dynamicData.isContextBasedSystem)&&!jne.isGlobalContext(u),e="ptm"===(null===(o=null===(i=null==t?void 0:t.dynamicData)||void 0===i?void 0:i.headOptions)||void 0===o?void 0:o.initializer)?3:-1,n.index=null===(a=null===(s=null==t?void 0:t.staticOptionData)||void 0===s?void 0:s.find((e,t)=>{var r,i,o;return(null===(r=e.propertyKey)||void 0===r?void 0:r.toLowerCase())===(null===(i=n.propertyKey)||void 0===i?void 0:i.toLowerCase())||(null===(o=e.propertyKey)||void 0===o?void 0:o.toLowerCase())===`${n.manufacturer}_${n.program}_${n.property}_${n.key}`.toLowerCase()}))||void 0===a?void 0:a.index}t.modifyComponent?(n.level=3,delete n.noFill,n.pickTransfer=Bde.IsFurnplanMode?0:1,delete n.preventGuidList,delete n.NORESET,delete n.level_before,delete n.guidList,delete n.preventGuidList,delete n.preventSelection,delete n.holdLocal):t.modifyElement?(n.level=2,n.noFill=1,n.pickTransfer=1,n.preventGuidList=1,delete n.NORESET,delete n.level_before,delete n.guidList,delete n.preventSelection,delete n.holdLocal):n.guidList||(n.guidList=l),n.level&&0!==n.level||(n.level=1),e>0&&(n.level=e),n.contextId=u,c&&delete n.level}const u=[];return e.forEach(e=>{const t=jne.getContextFromId(e.contextId).contextId,n={value:e.property,index:e.index,key:+e.key,contextId:t,refs:[+e.key],holdLocalValues:!!e.holdLocal};void 0!==e.level&&(n.level=e.level),u.push(Yne.switchValue(r?Wne.GLOBAL:Wne.VALUE,n))}),Promise.all(e).then(()=>(g_configuration.disable_properties_on_selection&&(c=c||[],ape.setSelection(c,1)),ape.updateScene())).then(()=>{if(!t.isWizard)return Mse.HRThemeManager.update(),ape.buildProperties()}).then(()=>{if(Lse.NeedsUpdate="globalMeasureBox",Bde.CameraFixedView&&Bde.CameraFixedVector&&aue.CurrentCamera.resetByVector(!0),1===lae.CountPO()){const e=lae.getPOs()[0];Pie.update({prog:e.Program,artno:e.PlanType,dxmin:e.CurrentDimension.x,dymin:e.CurrentDimension.y,dzmin:e.CurrentDimension.z})}Qse.startTimer()})})},saveDhp:function(e){return ase.fpRequest("SaveDHP",[e]).then(function(e){return!0})},setColorPickerCode:function(e){return qhe(this,void 0,void 0,function*(){return ase.fpRequest("setColorPickerCode",[e]).then(function(e){return!0})})},triggerDealerAlwaysSaveDhpXmlPdf:function(){return ase.fpRequest("DealerAlwaysSaveDhpXmlPdf",[])},loadDhp:function(e,t="0"){return Nhe.showLoader(),ase.fpRequest("LoadDHP",[e,t]).then(function(e){return e[0]}).then(()=>qhe(this,void 0,void 0,function*(){yield ape.getScene()}))},saveUndo:function(e){return qhe(this,void 0,void 0,function*(){return!!spe.saveUndoAllow&&(spe.saveUndoAllow=!1,ase.fpRequest("SaveUndo",{name:e}).then(function(e){return spe.saveUndoAllow=!0,!0}).catch(()=>(spe.saveUndoAllow=!0,!1)))})},loadUndo:function(e){return ase.fpRequest("LoadUndo",{name:e}).then(function(e){return e[0]}).then(function(){return ape.getScene()})},loadDhpByCloudID:function(e){return qhe(this,void 0,void 0,function*(){e=e.replace(/ /g,"");try{const[{status:t}]=yield ase.fpRequest("LoadCloudID",[e]);return"ok"===t&&(yield ape.getScene(),!0)}catch(e){return console.error(e),!1}})},loadLocalCloudId:function(e){return qhe(this,void 0,void 0,function*(){yield ape.loadDhp(e,"1")})},deleteLocalCloudId:function(e){return qhe(this,void 0,void 0,function*(){yield ase.fpRequest("DeleteLocalCloudId",[e])})},undoDhp:function(){return qhe(this,void 0,void 0,function*(){return Nhe.showLoader(),Yse.SceneAction&&Yse.SceneAction.cancel(),ase.fpRequest("Undo",[]).then(function(e){return e[0]}).then(function(e){return ipe(e)}).then(function(e){return Nhe.hideDimmer(),ape.buildProperties({initialize:!0})})})},redoDhp:function(){return Nhe.showLoader(),ase.fpRequest("Redo",[]).then(function(e){return e&&e[0]?e[0]:null}).then(function(e){return e?Zhe(e):null}).then(function(){return Nhe.hideDimmer(),ape.buildProperties({initialize:!0})})},takeCenteredSnap:function(){return qhe(this,arguments,void 0,function*(e=!0,t=0,r=void 0,n=void 0,i="image/png",o=.92,s=!1){null==r&&(r=fme.WIDTH),null==n&&(n=fme.HEIGHT);const a=Bde.ShowFront,l=aue.CurrentCamera.Camera.position.clone(),c=aue.CurrentCameraControl.Target.clone();return yield uhe.takeActionSnap({width:r,height:n,type:i,quality:o,asBase64:s},()=>qhe(this,void 0,void 0,function*(){console.log("before"),aae.ChangeFrontState(e),yield ape.setZoomMode(-1000106,!1,{},null,-t),aue.CurrentCameraControl.update()}),()=>qhe(this,void 0,void 0,function*(){return console.log("after"),new Promise((e,t)=>{aae.ChangeFrontState(a),aue.CurrentCamera.GoToPos({eye:l.toArray(),target:c.toArray(),animated:!1,offset:0,preventOffset:!0,waitCB:()=>{aue.CurrentCameraControl.update(),e()}})})}))})},takePrintSnap:function(){return qhe(this,void 0,void 0,function*(){return{images:[{name:"perspective",img:yield uhe.takeSnap(2048,1152,"image/png",.92,!0)}],width:fme.WIDTH,height:fme.HEIGHT}})},takePrintSnaps:function(){return qhe(this,void 0,void 0,function*(){const e=Bde.ShowFront;return this.takeCenteredSnap(!0,0,2048,1152,"image/png",.92,!0).then(t=>this.takeCenteredSnap(!1,0,2048,1152,"image/png",.92,!0).then(r=>qhe(this,void 0,void 0,function*(){return aae.ChangeFrontState(e),{images:[{name:"front_on",img:t},{name:"front_off",img:r}],width:fme.WIDTH,height:fme.HEIGHT}})))})},savePrintImageColor:function(){return qhe(this,arguments,void 0,function*(e=2048,t=1152){const r=Bde.ViewerMode===Ip.Customer?"customer":"normal";if(Bde.PrintWithoutDoor&&aae.checkIfFrontGraphicsExists()){const e=yield ape.takePrintSnaps();return yield ase.fpRequest("SavePrintImageColor",[e,{params:{viewMode:r}}])}{const n=yield uhe.takeSnap(e,t,"image/png",.92,!0);return yield ase.fpRequest("SavePrintImageColor",[n,{params:{viewMode:r}}])}})},ShowPdf:function(e,t,r,n,i,o){return qhe(this,void 0,void 0,function*(){const s=Phe.TimeLine.AddTimer("ShowPDF"),a=yield ase.fpRequest("ShowPDF",[{manu:e,textID:t,tableName:r,path:n,file:i,addLang:""+o}]);return Phe.TimeLine.EndTimer(s),a})},printCommonPDF:function(e){return qhe(this,arguments,void 0,function*(e,t=!1){const r=Phe.TimeLine.AddTimer("PrintPDF"),n=Bde.ViewerMode===Ip.Customer?"customer":"normal",i=yield boe.getDictionary(window.g_language);let o;if(Bde.PrintWithoutDoor&&aae.checkIfFrontGraphicsExists()){const t=yield ape.takePrintSnaps();o=yield ase.fpRequest(e,[t,{params:{viewMode:n,dictionary:i}}])}else{let r;if("PrintCustomPDF"===e)r=yield ape.takePrintSnap();else{const e=2048,t=1152;r=yield uhe.takeSnap(e,t,"image/png",.92,!0)}o=yield ase.fpRequest(e,[r,{params:{viewMode:n,useLastCloudID:t?1:0,dictionary:i}}])}const s=o.PDF.pdfGuid,a=o.Cloud.CloudID;Phe.TimeLine.EndTimer(r);return{pdf:s,cloudId:a,sessionId:ise.getSessionId(),server:ise.getWebUrl()}})},generateExport:function(){return qhe(this,arguments,void 0,function*(e="obj"){const t=yield ase.fpRequest("GenerateExport",[{type:e}]),r=t.Cloud.CloudID,n=t.Export.exportGuid,i=ise.getWebUrl(),o=ise.getSessionId();return n?{file:n,cloudId:r,sessionId:o,server:i}:{}})},printPDF:function(){return qhe(this,arguments,void 0,function*(e=!1){return yield ape.printCommonPDF("PrintPDF",e)})},printCustomPDF:function(){return qhe(this,void 0,void 0,function*(){return yield ape.printCommonPDF("PrintCustomPDF")})},sendPdfToMhs:function(e,t){return qhe(this,void 0,void 0,function*(){try{return yield ase.fpRequest("SendPdfToMhs",[t,e])}catch(e){console.error(e)}})},saveCameraPosition:function(e=!1){const t=aue.CurrentCamera.Camera.position.clone().divideScalar(C),r=aue.CurrentCameraControl.Target.clone().divideScalar(C);return Xce.IsActive,ase.fpRequest("SaveCameraPos",{data:[t.x,t.y,t.z,r.x,r.y,r.z]}).then(function(t){return e&&ape.saveUndo("LastUndo"),t[0]}).catch(e=>{console.log(aue),console.log(aue.CurrentCamera),console.log(aue.CurrentCamera.Camera),console.error(e)})},BlockRequest:function(e){return ase.fpRequest("BlockRequest",Array.isArray(e)?e:[e]).then(function(e){if(e.length>0)return e[0];throw new Error("No parameters returned")})},chainTest:function(){return qhe(this,void 0,void 0,function*(){return ape.ChainRequest([{command:"getScene"},{command:"ShowDialog"}])})},ChainRequest:function(e){return qhe(this,void 0,void 0,function*(){const t=[];for(const r of e)if(this[r.command]){const e={isChained:!0,chainMessage:"",chainCallback:null};this[r.command].apply(e,r.parameters?r.parameters:[]),t.push(e)}return yield ase.fpRequest("ChainRequest",{chain:t.map(e=>e.chainMessage)}).then(e=>{if(e.chain)for(const r of e.chain)t.find(e=>{e.chainCallback&&r[0].C===e.chainMessage.G&&e.chainCallback(r[0].P)})}).catch(()=>{})})},getErpFiles:function(e,t,r){return qhe(this,arguments,void 0,function*(e,t,r,n=!0,i=""){return yield ase.fpRequest("GetErpFiles",[{cloudId:e,type:t,password:r,returnAsFile:n,wawiManufacturer:i}]).then(e=>{if(e.length>0){if(n){const t=FurnplanCommunicationSocket.getWebUrl(),r=FurnplanCommunicationSocket.getSessionId();return Object.assign(Object.assign({},e[0]),{server:t,sessionId:r})}return e[0]}throw new Error("No parameters received from getErpFiles")})})},loadNewPlanning:function(){return qhe(this,void 0,void 0,function*(){return yield ase.fpRequest("LoadNewPlanning",[])})},getPossiblePlacerGroups:function(){return qhe(this,void 0,void 0,function*(){return yield ase.fpRequest("GetPossiblePlacerGroups",[])})},createPlacerGroup:function(e){return qhe(this,void 0,void 0,function*(){yield ase.fpRequest("CreatePlacerGroup",e),yield this.getScene(),LI.LastPOLoaded.send([])})},setPlacerGroup:function(e,t,r,n){return qhe(this,arguments,void 0,function*(e,t,r,n,i=0){const o={manufacturer:e,program:t,placerGroupID:r,mode:n?1:0};switch(i){case 1:o.reset=1;break;case 2:o.resetManu=1;break;case 3:o.resetAll=1}return yield ase.fpRequest("SetPlacerGroup",[o])})},setPlacerGroupSwitch:function(e,t,r){return qhe(this,void 0,void 0,function*(){const n=yield ase.fpRequest("SetPlacerGroupSwitch",[{placerGroupID:e,switchId:t,switchValue:r}]);return yield ape.updateScene(),n})},getPlacerGroupSwitch:function(e,t){return qhe(this,void 0,void 0,function*(){return yield ase.fpRequest("GetPlacerGroupSwitch",[{placerGroupID:e,switchId:t}])})},rearrangeAllPlacerGroups:function(){return qhe(this,void 0,void 0,function*(){return ase.fpRequest("RearrangeAllPlacerGroups",[{}]).then(e=>{if(e.length>0)return ipe(e[0]);throw new Error("No parameters returned")})})},AddNeutralAdditionalPositon:function(e){return qhe(this,void 0,void 0,function*(){return ase.fpRequest("AdditionalPositions.AddNeutralArticle",e)})},DeleteAdditionalPosition:function(e){return qhe(this,void 0,void 0,function*(){return ase.fpRequest("AdditionalPositions.DeleteArticle",e)})},GetAdditionalPositions:function(){return qhe(this,void 0,void 0,function*(){return ase.fpRequest("AdditionalPositions.GetArticleList")})},replaceArticlesByCategories:function(e,t){return qhe(this,void 0,void 0,function*(){return ase.fpRequest("ReplaceArticlesByCategories",[{articleData:e,replaceData:t}]).then(e=>{if(e.length>0)return ipe(e[0]);throw new Error("No parameters returned")})})},updateScene:function(e){return e&&Yse.SceneAction?Promise.resolve(!1):ase.fpRequest("UpdateScene",{noPriceUpdate:!0===g_configuration.enable_app_connection_data_delegated?1:0}).then(function(e){if(e.scene)return e.scene;throw new Error("No parameters returned")}).then(function(e){return ipe(e)}).then(function(e){return Lse.NeedsUpdate="globalMeasureBox",ape.buildProperties()}).then(function(e){return!0})},getScene:function(){return Yse.InteractionMode=Pp.DEFAULT,Nhe.showLoader(),Yce.cleanupSpotLights(),ase.fpRequest("GetScene",{enableAutomaticWalls:Bde.EnableAutomaticWall}).then(function(e){ape.setScene(e)})},setScene:function(e){return qhe(this,void 0,void 0,function*(){const t=++Xhe;if(!e||!e.scene)throw Nhe.hideDimmer(),new Error("No parameters returned");yield ape.getCategories(),yield boe.setLanguage(g_language),fle.listOfTargets=[],fle.listOfSelectedTargets=[],e.scene=yield Zhe(e.scene);const r=Xp.getItem(g_sessionId,"loadedArticle");g_configuration.show_article_info&&r&&r.manu.length>0&&(yield Zp.find(r.manu,r.prog,r.artno).then(function(e){Pie.update(e),Pie.show()}).catch(function(e){if(1===lae.CountPO()){Pie.show();const e=lae.getPOs()[0];Pie.update({prog:e.Program,artno:e.PlanType,dxmin:e.CurrentDimension.x,dymin:e.CurrentDimension.y,dzmin:e.CurrentDimension.z})}console.log("No article info found for "+JSON.stringify(r))})),lae.CountPO()>0&&g_configuration.landingPage&&Ohe.enableSteps(),Nhe.hideDimmer(),ape.buildProperties({initialize:!0}),fme.InteriorDesign.Initialized.then(()=>{fme.InteriorDesign.setCurrentType()});const n=e.scene;try{return n.mat_floor&&(n.SceneParams=n),n.SceneParams?(n.SceneParams.dimension_Scale&&(Bde.DimensionScale=n.SceneParams.dimension_Scale),n.SceneParams.dimension_Digits&&(Bde.DimensionDigits=n.SceneParams.dimension_Digits),Fde.setFloorFromSceneData(n),Xhe===t&&Yhe.resolve(),yield ase.fpRequest("GetMessageBuffer",{}),n):ape.setFloor("_global_RAL9003").then(e=>{e.mat_floor&&(e.SceneParams=e),Fde.setFloorFromSceneData(e)})}catch(e){return console.error(e),ape.getScene()}})},setFloor:function(e,t){const r=Phe.TimeLine.AddTimer("Set Floor");return ase.fpRequest("SetFloor",[e,t?1:0]).then(function(e){if(!e||0===e.length)throw new Error("Set Floor doesn't work...");return ape.saveUndo("LastUndo"),Phe.TimeLine.EndTimer(r),e[0]}).then(e=>rpe(e).then(()=>e.SceneParams))},getMaterials:function(e){const t=Phe.TimeLine.AddTimer("Get Materials");return ase.fpRequest("GetMaterials",{materials:e}).then(function(e){if(Phe.TimeLine.EndTimer(t),!e)throw"Error getMaterials";return e}).catch(function(e){console.error(e)})},setAdditionalPosInCart:function(e,t,r,n){return qhe(this,void 0,void 0,function*(){return yield ase.fpRequest("SetAdditionalPosInCart",[e,t,r,n]).then(e=>e[0])})},getAdditionalPosCountInCart:function(e,t,r,n){return qhe(this,void 0,void 0,function*(){return yield ase.fpRequest("GetAdditionalPosCountInCart",[e,t,r,n]).then(e=>e[0])})},getLODimensionInfo:function(){return qhe(this,void 0,void 0,function*(){var e,t,r,n;const i=[];if($le.All.forEach(e=>{const t=e.MinDimension.x>0&&e.MaxDimension.x>0&&e.MaxDimension.x!==e.MinDimension.x,r=e.MinDimension.y>0&&e.MaxDimension.y>0&&e.MaxDimension.y!==e.MinDimension.y,n=e.MinDimension.z>0&&e.MaxDimension.z>0&&e.MaxDimension.z!==e.MinDimension.z,o=r||t||n;i.push({min:e.MinDimension,max:e.MaxDimension,cur:e.CurrentDimension,isValid:o,isValidX:t,isValidY:r,isValidZ:n,decimalPlaces:1,fixedValuesX:[],fixedValuesY:[],fixedValuesZ:[],inputDisabledX:!1,inputDisabledY:!1,inputDisabledZ:!1})}),i.length>0&&i[0].isValid)try{const o=$le.All[0];if(o){const s=yield ase.fpRequest("GetDimChangeInfo",{ii:o.instanceIdent});s&&(i[0].decimalPlaces=(null!==(e=s.decimalPlaces)&&void 0!==e?e:-1)>-1?s.decimalPlaces:1,i[0].fixedValuesX=Array.isArray(s.fixedValuesX)?s.fixedValuesX.map(e=>parseFloat(e)):[],i[0].fixedValuesY=Array.isArray(s.fixedValuesY)?s.fixedValuesY.map(e=>parseFloat(e)):[],i[0].fixedValuesZ=Array.isArray(s.fixedValuesZ)?s.fixedValuesZ.map(e=>parseFloat(e)):[],i[0].inputDisabledX=1===(null!==(t=s.inputDisabledX)&&void 0!==t?t:0),i[0].inputDisabledY=1===(null!==(r=s.inputDisabledY)&&void 0!==r?r:0),i[0].inputDisabledZ=1===(null!==(n=s.inputDisabledZ)&&void 0!==n?n:0))}}catch(e){console.warn("[DimChange] Could not fetch extended dimension data",e)}return i})},setLODimensionInfo:function(){return qhe(this,arguments,void 0,function*(e=1,t=1,r=1,n=0,i=!1,o=[],s=0,a=1,l=!1){const c=o.length>0?o:$le.getGuidList();if(console.log(c),c.length>0)return yield ase.fpRequest("SetLODimensionInfo",[{guids:c,width:e,height:t,depth:r,mode:n,move_other:i?1:0,fixation_x:s,fixation_y:a,ignoreLoConnection:l?1:0}]).then(e=>{if(!e||0==e.length)throw new Error("SetLODimensionInfo response incorrect");const t=$le.getIIs();return $le.clear(!0),t.forEach(e=>{$le.add(lae.get(e))}),epe(e[0],!0)})})},getCategories:function(){return ase.fpRequest("GetCategories",{}).then(function(e){if(!e.category)throw new Error("Error getting categories data");return Qoe.setInitialTableData("categories",e.category)}).catch(function(e){console.error(e)})},getArticleByCategories:function(e,t,r){return qhe(this,arguments,void 0,function*(e,t,r,n=-1,i=-1,o=0,s=0,a=0){return yield ase.fpRequest("GetArticleByCategories",[{manufacturerHash:e,programHash:t,categoryList:r,limit:n,offset:i,width:o,height:s,depth:a}])})},getCategoriesByInstanceIdents:function(e,t,r){return qhe(this,void 0,void 0,function*(){return(yield ase.fpRequest("GetCategoriesByInstanceIdents",[{manufacturerHash:e,programHash:t,instanceIdents:r}]))[0]})},getPossibleArticleDimensions:function(e,t,r){return qhe(this,void 0,void 0,function*(){return yield ase.fpRequest("GetPossibleArticleDimensions",[{manufacturerHash:e,programHash:t,categoryList:r}])})},getManuCategories:function(e){return ase.fpRequest("GetManuCategories",[e]).then(function(e){if(!e)throw new Error("Error getting categories data");return Qoe.setInitialTableData("manu_categories",e.category)}).catch(function(e){console.error(e)})},getManuLanguages:e=>ase.fpRequest("GetManuLanguages",[e]).then(function(e){if(!e)throw new Error("Error getting manu languages");return e}).catch(function(e){console.error(e)}),getWebshopLink:function(){return qhe(this,void 0,void 0,function*(){return(yield ase.fpRequest("GetWebshopLink")).WEBSHOP_LINK})},setAnimation:function(e,t=!1,r=!1){return r&&(Bde.DHAnimation_IsOpen=e),ase.fpRequest("SetAnimation",[!0===e?"1":"0",[{ignoreResponse:t?1:0}]]).then(function(e){if(!e||0===e.length)throw new Error("Error getting categories data");return e[0]}).then(function(e){return rpe(e)}).then(function(e){return Lse.NeedsUpdate="",e}).catch(function(e){console.error(e)})},getPropTransferExchangeData:function(e){return g_configuration.enable_wizard_generic?ase.fpRequest("PropTransferExchangeData",[e[0]]).then(function(e){if(!e||0===e.length)throw new Error("Error getting exchange data");return e[0]}):Coe.refreshManuProg().then(()=>ase.fpRequest("PropTransferExchangeData",[e[0]]).then(function(e){if(!e||0===e.length)throw new Error("Error getting exchange data");return e[0]})).catch(function(e){console.error(e)})},getFittingMeasure:function(e,t){const r=Phe.TimeLine.AddTimer("GetFittingMeasure"),n={instanceIdent:e,toRemove:t};return ase.fpRequest("GetFittingMeasure",[n]).then(function(e){if(Phe.TimeLine.EndTimer(r),!e)throw new Error("Error getting GetFittingMeasure");return e[0]}).then(function(e){return epe(e,!0),e}).catch(function(e){console.error(e)})},getFittingData:function(){let e=[];e=$le.objects.map(function(e){return e.guid});const t=Phe.TimeLine.AddTimer("Get FittingData");return ase.fpRequest("GetFittData",[{guidList:e}]).then(function(e){if(Phe.TimeLine.EndTimer(t),!e)throw new Error("Error getting fitting data");return e[0]}).catch(function(e){console.error(e)})},getFittingsByArtNo:function(e,t,r){return qhe(this,void 0,void 0,function*(){return yield ase.fpRequest("GetFittingsByArtNo",[e,t,r]).then(e=>e[0])})},GetFittingsByArtNo:function(e,t,r){return qhe(this,void 0,void 0,function*(){return ape.getFittingsByArtNo(e,t,r)})},getElementCountByCategories:function(e,t,r){return qhe(this,void 0,void 0,function*(){return yield ase.fpRequest("GetElementCountByCategories",[e,t,r])})},getArticlesByPropTransferId:function(e,t,r){return qhe(this,void 0,void 0,function*(){return yield ase.fpRequest("GetArticlesByPropTransferId",[e,t,r]).then(e=>e[0])})},GetMerkmalGroupInformations:function(e,t){return qhe(this,void 0,void 0,function*(){return yield ase.fpRequest("GetMerkmalGroupInformations",[e,t]).then(e=>e&&e.centerGroups?e.centerGroups:[])})},getActiveStringValuesInScene:function(e){return qhe(this,arguments,void 0,function*(e,t=void 0){const r=[];return r.push(e),t&&r.push(t),yield ase.fpRequest("GetActiveStringValuesInScene",r)})},modifyLVC:function(e){const t=Phe.TimeLine.AddTimer("LCVMod");return ase.fpRequest("UIAction",["LVCMod",e+"Action",{source:Yse.SourcePoint.clone().divideScalar(C).toArray(),destination:Yse.DestinationPoint.clone().divideScalar(C).toArray()}]).then(function(e){if(Phe.TimeLine.EndTimer(t),!e)throw new Error("Error dragging fitting article");return e.scene}).then(function(e){return epe(e)}).catch(function(e){console.error(e)})},startDraggingFitting:function(e){if(!e)return Promise.reject();const t=Phe.TimeLine.AddTimer("StartDragging");FI.clearMarker(),e.InstanceID.forEach(function(e){const t=lae.get(e);t&&"dhd1"!==t.Prog&&FI.createMarker(t)}),Ame.requestRendering();const r={manu:e.ManuHash||e.ManuName,prog:e.ProgHash||e.ProgName,artNr:e.ArticleNumber,jsNr:e.JavaScriptNumber,type:e.Type,pickLevel:+e.PickLevel,__camera:{source:aue.CurrentCamera.Camera.position.clone().divideScalar(C).toArray(),destination:aue.CurrentCameraControl.Target.clone().divideScalar(C).toArray()},vecStart:Yse.SourcePoint.clone().divideScalar(C).toArray(),vecEnd:Yse.DestinationPoint.clone().divideScalar(C).toArray()};return e.size&&""!=e.Type&&"Article"!=e.Type&&(r.bHeight=e.size.z,r.fWidth=e.size.x,r.fHeight=e.size.y),ase.fpRequest("UIAction",["FittingMod","StartAction",r]).then(function(e){if(ape.saveUndo("LastUndo"),Phe.TimeLine.EndTimer(t),!e)throw new Error("Error dragging fitting article");return!0}).catch(function(e){console.error(e)})},dragFitting:function(){var e,t;const r=Phe.TimeLine.AddTimer("Dragging");return ase.fpRequest("UIAction",["FittingMod","UpdateAction",{__camera:{source:aue.CurrentCamera.Camera.position.clone().divideScalar(C).toArray(),destination:aue.CurrentCameraControl.Target.clone().divideScalar(C).toArray()},vecStart:Yse.SourcePoint.clone().divideScalar(C).toArray(),vecEnd:Yse.DestinationPoint.clone().divideScalar(C).toArray(),instanceIdent:null===(t=null===(e=Yse.IntersectedBoundingBox)||void 0===e?void 0:e.getLO())||void 0===t?void 0:t.instanceIdent}]).then(function(e){if(Phe.TimeLine.EndTimer(r),!e)throw new Error("Error dragging fitting article");return e.scene}).then(function(e){return epe(e),e}).catch(function(e){console.error(e)})},stopDraggingFitting:function(){var e,t;Ame.requestRendering();const r=Phe.TimeLine.AddTimer("StopDragging");return ase.fpRequest("UIAction",["FittingMod","EndAction",{__camera:{source:aue.CurrentCamera.Camera.position.clone().divideScalar(C).toArray(),destination:aue.CurrentCameraControl.Target.clone().divideScalar(C).toArray()},vecStart:Yse.SourcePoint.clone().divideScalar(C).toArray(),vecEnd:Yse.DestinationPoint.clone().divideScalar(C).toArray(),instanceIdent:null===(t=null===(e=Yse.IntersectedBoundingBox)||void 0===e?void 0:e.getLO())||void 0===t?void 0:t.instanceIdent}]).then(function(e){if(Phe.TimeLine.EndTimer(r),!e)throw new Error("Error dragging fitting article");return e.scene}).then(function(e){return epe(e,!0)}).catch(function(e){console.error(e)})},cancelPropTransfer:function(){FI.clearMarker(),Ame.requestRendering();const e=Phe.TimeLine.AddTimer("CancelPropTransfer");return ase.fpRequest("CancelPropTransfer",[]).then(function(t){if(Phe.TimeLine.EndTimer(e),!t)throw new Error("Error CancelPropTransfer");return t[0]}).then(function(e){return epe(e)}).catch(function(e){console.error(e)})},cancelDraggingFitting:function(e){FI.clearMarker(!0),Ame.requestRendering();const t=Phe.TimeLine.AddTimer("CancelDragging");return ase.fpRequest("UIAction",["FittingMod","CancelAction",e]).then(function(e){if(Phe.TimeLine.EndTimer(t),!e)throw new Error("Error dragging fitting article");return e.scene}).then(function(e){return epe(e)}).catch(function(e){console.error(e)})},resetFitting:function(){MI.hideAll();const e=Phe.TimeLine.AddTimer("Reset Fitting");return ase.fpRequest("ResetFitting",[]).then(function(t){if(ape.saveUndo("LastUndo"),Phe.TimeLine.EndTimer(e),!t||0===t.length)throw new Error("Error getting Reset Fitting");if(t.length>0)return t[0]}).then(function(e){epe(e,!0)}).catch(function(e){console.error(e)})},getPropTransferItems:function(e,t,r){const n=r?$le.objects.map(function(e){return e.guid}):[],i=Phe.TimeLine.AddTimer("GetPropTransferLOs");return ase.fpRequest("GetPropTransferLOs",[{guidList:n,optimized:!0,manufacturer:e,program:t}]).then(function(e){if(Phe.TimeLine.EndTimer(i),!e)throw new Error("Error getting proptransfer data");return 1===e.length?e[0]:[]}).catch(function(e){console.error(e)})},getPropTransferData:function(e){const t=e?"1":"0";let r=[];if(r=$le.objects.map(function(e){return e.guid}),Bde.SingleSelectionEnabled&&0===$le.objects.length)return Promise.resolve({ActiveObjects:[],PTDI:[]});const n=Phe.TimeLine.AddTimer("GetPropTransferLOs");return ase.fpRequest("GetPropTransferLOs",[{guidList:r,inUseOnly:t}]).then(function(e){if(Phe.TimeLine.EndTimer(n),!e)throw new Error("Error getting proptransfer data");if(e.length>0){return{ActiveObjects:e[0].ActiveObjects,PTDI:e[1].PTDI}}return{}}).catch(function(e){console.error(e)})},DelPropTransfer:function(e){const t=Phe.TimeLine.AddTimer("Get DelProperty");return LI.PropTransfer_beforeDelete.send([{id:e.pt_id||e,manufacturerHash:e.mHash,programHash:e.pHash,instanceIdent:e.II}]),ase.fpRequest("DelPropTransfer",{id:e.pt_id||e,manufacturer:e.mHash,program:e.pHash,II:e.II}).then(function(e){if(ape.saveUndo("LastUndo"),Phe.TimeLine.EndTimer(t),!e)throw new Error("Error getting DelProperty data");return e.scene}).then(function(e){return epe(e,!0)}).then(t=>(LI.PropTransfer_afterDelete.send([{id:e.pt_id||e,manufacturerHash:e.mHash,programHash:e.pHash}]),t)).catch(function(e){console.error(e)})},startPropTransfer:(e,t,r)=>qhe(void 0,void 0,void 0,function*(){var n;return Yse.SceneAction&&(null===(n=Yse.SceneAction)||void 0===n||n.cancel()),Qp.send("StartPropTransfer",[{id:e,manufacturer:t,program:r}]).then(function(e){if("boolean"!=typeof e){const t=Array.isArray(e)?e[0]:e.scene?e.scene:null;if(t)return epe(t,!0)}return e}).then(n=>(LI.PropTransfer_afterStart.send([{id:e,manufacturer:t,program:r}]),n)).catch(function(e){console.error(e)})}),deletePropTransfer:(e,t,r)=>qhe(void 0,void 0,void 0,function*(){const n={id:e,manufacturer:t,program:r};return Qp.send("DelPropTransfer",[n]).then(e=>{let t=e;if(t=Array.isArray(t)?t[0]:t.scene?t.scene:null,t)return epe(t,!0)}).then(n=>(LI.PropTransfer_afterDelete.send([{id:e,manufacturer:t,program:r}]),n)).catch(function(e){console.error(e)})}),startDraggingPropTransfer:function(e){return Ame.requestRendering(),ase.fpRequest("ModPropTransfer",["BeginDrag",e.manufacturerHash,e.programHash,e.pt_id]).then(function(e){if(!e)throw new Error("Error dragging proptransfer article");return!0}).catch(function(e){console.error(e)})},dragPropTransfer:function(){return ase.fpRequest("ModPropTransfer",["Drag",Yse.SourcePoint.clone().divideScalar(C).toArray(),Yse.DestinationPoint.clone().divideScalar(C).toArray()]).then(function(e){if(!e)throw new Error("Error dragging proptransfer article");return e[0]}).then(function(e){return epe(e)}).catch(function(e){console.error(e)})},stopDraggingPropTransfer:function(){return ase.fpRequest("ModPropTransfer",["EndDrag",Yse.SourcePoint.clone().divideScalar(C).toArray(),Yse.DestinationPoint.clone().divideScalar(C).toArray()]).then(function(e){if(!e)throw new Error("Error dragging proptransfer article");return e[0]}).then(function(e){return epe(e,!0)}).catch(function(e){console.error(e)})},PlacerSetDir:function(e){const t=Phe.TimeLine.AddTimer("DoSceneAction");return e||(e=Op.RIGHT),Bde.PlacerDirection=e,ase.fpRequest("DoSceneAction",["SPD",e]).then(function(e){if(Phe.TimeLine.EndTimer(t),!e)throw new Error("Error setting up placer direction");return e[0]}).catch(function(e){console.error(e)}).then(function(e){return e&&e.Selected&&Bde.IsFurnplanMode?FI.setMarkedElement(+e.Selected):FI.setMarkedElement()}).catch(function(e){console.error(e),ipe()})},ZeroARScene:function(){ase.fpRequest("ZeroARScene",[]).then(function(e){if(!e)throw new Error("Error No Data");return e[0]}).then(function(e){return rpe(e,Bde.HasShowFittingAndPropTransfer)}).catch(function(e){console.error(e)})},PlacerAddObject(e,t,r){return qhe(this,void 0,void 0,function*(){r=!1===r?"0":!0===r?"1":isNaN(+r)?"0":""+r;const n={manu:e.ManuHash,prog:e.ProgHash,artNo:e.ArticleNumber,extParam:e.extParam,type:r,pos:t?t.toArray():[0,0,0],preventVPlacer:e.preventVPlacer,once:e.once,singleMode:Bde.IsPlacerMode?0:1};return new Promise(e=>{var t,r;return Bde.VPlacer&&!n.preventVPlacer?(Yse.updateSceneAction("vplacer"),null===(t=Yse.SceneAction)||void 0===t||t.begin(n),e(null)):(Yse.updateSceneAction("placer"),null===(r=Yse.SceneAction)||void 0===r||r.begin(n),e(null))}).then(function(e){return $le.revision++,Lse.NeedsUpdate="",e}).then(function(e){return e}).catch(function(e){console.error(e)})})},DeleteFittingAction:function(e){e=e||{};const t={};Object.keys(e).forEach(function(r){t[r]=e[r]}),t.camEye=aue.CurrentCamera.Camera.position,t.camDest=aue.CurrentCameraControl.Target;const r=Phe.TimeLine.AddTimer("UIAction_FittingDelete");return ase.fpRequest("UIAction",["FittingDelete",e.action,t]).then(function(t){if(Phe.TimeLine.EndTimer(r),!t)throw new Error("Error dragging article");return[t.scene,e]}).then(e=>{let t=!1,r=!1,n=!1;return e[1]&&(t="EndAction"===e[1].action||"CancelAction"===e[1].action||Bde.PlacerDirection!==Op.FREE&&"StartAction"===e[1].action,r="UpdateAction"===e[1].action,n="StartAction"===e[1].action),t&&Khe(e[0]),e}).catch(function(e){console.error(e)})},LoadPOFromFile:function(e){return qhe(this,void 0,void 0,function*(){return ase.fpRequest("LoadPOFromFile",[{checkModus:1,Manu:""+e.Manu,Prog:""+e.Prog,ArtNr:""+e.ArtNr,ExtParam:e.ExtParam||"",PlacerMode:e.PlacerMode||0}]).then(t=>(t[0]&&Qp.send("loadPOFromFile",[{manu:e.Manu,prog:e.Prog,file:e.ArtNr,extParam:e.ExtParam}]),!0))})},MeasureDist:function(e){return qhe(this,void 0,void 0,function*(){return ase.fpRequest("MeasureDist",[{mode:e.mode,perpendicular:e.perpendicular}]).then(t=>{var r,n;return t&&(Yse.updateSceneAction("measureAction"),(null===(r=Yse.SceneAction)||void 0===r?void 0:r.ActionName)===jhe.ActionName&&(null===(n=Yse.SceneAction)||void 0===n||n.begin({perpendicular:"True"===e.perpendicular?1:0}))),!0})})},DeleteMeasureDist:function(){return qhe(this,void 0,void 0,function*(){return ase.fpRequest("DeleteMeasureDist",[]).then(e=>{var t,r;if(e){e&&(null===(t=Yse.SceneAction)||void 0===t?void 0:t.ActionName)===jhe.ActionName&&(null===(r=Yse.SceneAction)||void 0===r||r.cancel());for(let e=Dhe.TScene.children.length-1;e>=0;e--){const t=Dhe.TScene.children[e];t instanceof Ghe&&(Dhe.TScene.remove(t),t.dispose())}}return!0})})},MeasureAction:function(e){e=e||{};const t={};Object.keys(e).forEach(function(r){t[r]=e[r]}),e.noMouse||(t.sourceRay=Yse.SourcePoint.clone().divideScalar(C).toArray(),t.destRay=Yse.DestinationPoint.clone().divideScalar(C).toArray()),t.camEye=aue.CurrentCamera.Camera.position.clone().divideScalar(C),t.camDest=aue.CurrentCameraControl.Target.clone().divideScalar(C);const r=Phe.TimeLine.AddTimer("UIAction_MeasureDist");return ase.fpRequest("UIAction",["MeasureDist",e.action,t]).then(function(t){if(Phe.TimeLine.EndTimer(r),!t)throw new Error("Error measuring");return[t.scene,e]}).catch(()=>({}))},VPlacerAction:function(e){e=e||{};const t={};Object.keys(e).forEach(function(r){t[r]=e[r]});const r=e=>{e&&(Um.Finished("layerGeometry").then(()=>{upe.dispatch("onLastPOLoaded",[lae.getLastAddedIIs()])}),Bde.CameraFixedView&&Bde.CameraFixedVector&&aue.CurrentCamera.resetByVector(!0))};t.camEye=aue.CurrentCamera.Camera.position.clone().divideScalar(C),t.camDest=aue.CurrentCameraControl.Target.clone().divideScalar(C);const n=Phe.TimeLine.AddTimer("VPlacerAction_"+e.action);return ase.fpRequest("UIAction",["VPlacer",e.action,t]).then(function(t){if(Phe.TimeLine.EndTimer(n),!t)throw new Error("Error dragging article");return[t.scene,e]}).then(function(e){let t=!1,n=!1,i=!1;return e[1]&&(t="EndAction"===e[1].action||"CancelAction"===e[1].action||Bde.PlacerDirection!==Op.FREE&&"StartAction"===e[1].action,n="UpdateAction"===e[1].action,i="StartAction"===e[1].action),e[0]&&e[0].WorldMods?e[0].vplacer?epe(e[0],t).then(()=>(r(t&&"StartAction"!==e[1].action&&"CancelAction"!==e[1].action),t&&ape.buildProperties({initialize:!0}),e[0])):rpe(e[0],!0,t).then(n=>(r(t&&"StartAction"!==e[1].action),t&&ape.buildProperties({initialize:!0}),n)):(r(t&&"StartAction"!==e[1].action&&"CancelAction"!==e[1].action),t&&ape.buildProperties({initialize:!0}),e[0])}).then(function(e){return Lse.NeedsUpdate="",e}).catch(function(e){console.error(e)})},PlacerAction:function(e){const t=e.overridePos;e.overridePos=void 0,e=e||{};const r={};Object.keys(e).forEach(function(t){r[t]=e[t]}),t&&t.x&&t.y&&Yse.updatePosition({originalEvent:{touches:[{pageX:t.x,pageY:t.y}]}}),e.noMouse||(r.l1p1=Yse.SourcePoint.clone().divideScalar(C).toArray(),r.l1p2=Yse.DestinationPoint.clone().divideScalar(C).toArray()),r.camEye=aue.CurrentCamera.Camera.position.clone().divideScalar(C),r.camDest=aue.CurrentCameraControl.Target.clone().divideScalar(C);const n=Phe.TimeLine.AddTimer("PlacerAction_"+e.action);return ase.fpRequest("UIAction",["Placer",e.action,r]).then(function(t){if(Phe.TimeLine.EndTimer(n),!t)throw new Error("Error dragging article");return[t.scene,e]}).then(function(e){let t=!1,r=!1,n=!1;return e[1]&&(t="EndAction"===e[1].action||"CancelAction"===e[1].action||Bde.PlacerDirection!==Op.FREE&&"StartAction"===e[1].action,r="UpdateAction"===e[1].action,n="StartAction"===e[1].action),n&&t&&($le.clear(),$le.revision++),e[0]&&e[0].vplacer?epe(e[0],t).then(()=>(t&&ape.buildProperties({initialize:!0}),e[0])):rpe(e[0],t,t).then(r=>{if(t)return ape.buildProperties({initialize:!0}),"CancelAction"!==e[1].action&&(Um.Finished("layerGeometry").then(()=>{upe.dispatch("onLastPOLoaded",[lae.getLastAddedIIs()])}),Bde.CameraFixedView&&Bde.CameraFixedVector&&aue.CurrentCamera.resetByVector(!0)),r})}).catch(function(e){console.error(e)})},MoveObjectAction:function(e){e.overridePos=void 0,e=e||{};const t={};Object.keys(e).forEach(function(r){t[r]=e[r]}),e.overrideMouse?(t.l1p1=e.overrideMouse.source.clone().divideScalar(C).toArray(),t.l1p2=e.overrideMouse.destination.clone().divideScalar(C).toArray()):e.noMouse||(t.l1p1=Yse.SourcePoint.clone().divideScalar(C).toArray(),t.l1p2=Yse.DestinationPoint.clone().divideScalar(C).toArray()),t.camEye=aue.CurrentCamera.Camera.position.clone(),t.camDest=aue.CurrentCameraControl.Target.clone();const r=Phe.TimeLine.AddTimer("MoveObjectAction_"+e.action);return ase.fpRequest("UIAction",["ObjectMove",e.action,t]).then(function(t){if(Phe.TimeLine.EndTimer(r),!t)throw new Error("Error dragging article");return[t.scene,e]}).then(function(e){return rpe(e[0],e[1].loadCategories),e}).catch(function(e){return console.error(e),!1})},RotateObjectAction:function(e){e=e||{};const t={};Object.keys(e).forEach(function(r){"boolean"==typeof e[r]?t[r]=e[r]?"1":"0":Array.isArray(e[r])?t[r]=e[r]:t[r]=""+e[r]}),t.sourcePoint=Yse.SourcePoint.clone().divideScalar(C).toArray(),t.destinationPoint=Yse.DestinationPoint.clone().divideScalar(C).toArray(),t.camEye=aue.CurrentCamera.Camera.position,t.camDest=aue.CurrentCameraControl.Target;const r=Phe.TimeLine.AddTimer("RotateObjectAction_"+e.action);return ase.fpRequest("UIAction",["ObjectRotate",e.action,t]).then(function(t){if(Phe.TimeLine.EndTimer(r),!t)throw new Error("Error dragging article");return[t.scene,e]}).then(function(e){return rpe(e[0],e[1].loadCategories)}).catch(function(e){console.error(e)})},GetDimensionInputCancel:function(e){const t={};return e&&(t.params=e),ase.fpRequest("UIAction",["DimensionEdit","CancelAction",t]).then(function(e){if(!e)throw new Error("Error getting dimension input");return e.scene}).then(function(e){return rpe(e,!1,!0)}).then(function(){return ape.GetRotationWidget()})},GetDimensionInputEnd:function(e){const t={};e&&(t.params=e);let r=null;return 1===$le.Count&&(r=$le.Last),ase.fpRequest("UIAction",["DimensionEdit","EndAction",t]).then(function(e){if(!e)throw new Error("Error getting dimension input");return e.scene}).then(function(e){return rpe(e,!1,!0)}).then(function(e){return qhe(this,void 0,void 0,function*(){return Bde.FittingMeasureEnabled&&(yield Roe.measureBySelection(r)),e})}).then(function(){return ape.GetRotationWidget()})},GetDimensionInput:function(e,t){$I.noneContextMenuDialog=!0;const r={instanceIdent:e};return r.sourceRay=Yse.SourcePoint.clone().divideScalar(C).toArray(),r.destRay=Yse.DestinationPoint.clone().divideScalar(C).toArray(),r.camEye=aue.CurrentCamera.Camera.position.clone().divideScalar(C),r.camDest=aue.CurrentCameraControl.Target.clone().divideScalar(C),ase.fpRequest("UIAction",["DimensionEdit","StartAction",r]).then(function(e){return!0}).then(function(){return ape.ResetWidget()})},WallInteractiveAction:function(e){e=e||{};const t={};Object.keys(e).forEach(function(r){t[r]=e[r]}),e.noMouse||(t.sourceRay=Yse.SourcePoint.clone().divideScalar(C).toArray(),t.destRay=Yse.DestinationPoint.clone().divideScalar(C).toArray()),t.camEye=aue.CurrentCamera.Camera.position.clone().divideScalar(C),t.camDest=aue.CurrentCameraControl.Target.clone().divideScalar(C);const r=Phe.TimeLine.AddTimer("WallInteractiveAction_"+e.action);return ase.fpRequest("UIAction",["WallInteractive",e.action,t]).then(function(t){if(Phe.TimeLine.EndTimer(r),!t)throw new Error("Error dragging article");return[t.scene,e]}).then(function(e){return rpe(e[0],e[1].loadCategories)}).catch(function(e){console.error(e)})},assignProperty:function(e){return qhe(this,void 0,void 0,function*(){var t;return yield null===(t=LI[e.isDelete?"PropTransfer_beforeDelete":"PropTransfer_beforeSet"])||void 0===t?void 0:t.send([{id:e.pt_id,manufacturerHash:e.mHash,programHash:e.pHash,instanceIdent:e.II}]),ase.fpRequest("AssignProperty",[e]).then(function(e){if(fme.InteriorDesign.refreshDeleteButton(),ape.saveUndo("LastUndo"),!e)throw new Error("Error dragging proptransfer article");return e[0]}).then(function(e){return rpe(e,!1,!0)}).then(function(t){return qhe(this,void 0,void 0,function*(){var r;return yield ape.buildProperties(),yield null===(r=LI[e.isDelete?"PropTransfer_afterDelete":"PropTransfer_afterSet"])||void 0===r?void 0:r.send([{id:e.pt_id,manufacturerHash:e.mHash,programHash:e.pHash}]),t})}).catch(function(e){console.error(e)})})},deleteLO:function(e){return qhe(this,void 0,void 0,function*(){yield ape.ResetWidget(),yield $le.clear(),yield LI.DeleteLO_before.send.apply(this,[[],void 0,!0]);const t=Phe.TimeLine.AddTimer("reqDeleteLO");return ase.fpRequest("DeleteLO",e).then(function(e){if(ape.saveUndo("LastUndo"),Phe.TimeLine.EndTimer(t),!e)throw new Error("Error deleteLO");return e[0]}).then(function(t){const r=Phe.TimeLine.AddCallbackTimer("getObjectsByGuids",lae,lae.getObjectsByGuids,e);if(Bde.ManageArticleContexts){const e=r.filter(e=>e.CatalogArticleNumber).map(e=>`${e.Manu}#${e.Prog}#${e.CatalogArticleNumber}`);e.length&&Qhe.dispose({contextIds:e})}const n=[];return r.forEach(function(e){-1===n.indexOf(e.instanceIdent)&&n.push(e.instanceIdent)}),Phe.TimeLine.AddCallbackTimer("clearUnusedInstanceIDs",Yoe.hierarchies.inUseHierarchy,Yoe.hierarchies.inUseHierarchy.clearUnusedInstanceIDs,n),epe(t,!0)}).then(function(e){return ape.buildProperties({initialize:!0})}).then(function(e){return e}).then(function(e){return MI.recycleElements()}).then(function(e){return qhe(this,void 0,void 0,function*(){return Lse.NeedsUpdate="",yield LI.DeleteLO_after.send([],void 0,!0),Bde.CameraFixedView&&Bde.CameraFixedVector&&(yield aue.CurrentCamera.resetByVector(!0)),e})}).catch(function(e){console.error(e)})})},setZoomMode:function(e,t,r,n,i){const o=r||{},s=(Object.keys(o),[]);return s.push(""+(o.type||2)),s.push(""+e),s.push(""+(o.param1||0)),s.push(""+(o.param2||0)),s.push(""+(o.param3||0)),s.push(""+(o.param4||0)),ase.fpRequest("SetZoomMode",s).then(function(e){if(!e)throw new Error("Error setZoomMode");return e[0]}).then(function(e){return npe(e,t,n,i)}).then(function(e){return qhe(this,void 0,void 0,function*(){return Ame.Render(),yield fCe(),e})}).catch(function(e){console.error(e)})},ShowDialog:function(){return ase.fpRequest("ShowDialog",[]).then(function(e){if(!e)throw new Error("Error setZoomMode");return e[0]})},SetKeyCode:function(e){return!e||isNaN(e)||$I.Opened?Promise.resolve(!1):ase.fpRequest("SetKeyCode",[{keycode:e}]).then(function(e){if(!e||0===e.length)throw new Error("Error setKeyCode");return e[0]}).then(function(e){return rpe(e)}).catch(function(e){console.error(e)})},GetRotationWidget:function(){if(Xce.IsActive||Bde.RotationDisabled)return Promise.resolve(null);const e=[];return $le.getPOIIs().forEach(function(t,r){const n=lae.get(t);n.noWidgets||n.parent!==aae.world||e.push(t)}),0===e.length?Promise.resolve():ase.fpRequest("WidgetAction",["RotationWidget",{IIs:e}]).then(function(e){if(!e)throw new Error("Error GetRotationWidget");return Bde.WidgetLoaded=!0,Dse.addKeyboardEvents(),e[0]}).then(function(e){if(!Yse.SceneAction)return epe(e)})},ResetWidget:function(){if(!Bde.WidgetLoaded)return Promise.resolve();Bde.WidgetLoaded=!1,Dse.removeKeyboardEvents();return aae.world.children.filter(function(e){if("FURNVIEW_WIDGETS"===e.guid)return e}).forEach(function(e){for(let t=e.children.length-1;t>=0;t--){const r=e.children[t];r.dispose&&r.dispose(),YE.remove(r.instanceIdent),e.remove(r)}YE.remove(e.instanceIdent),aae.world.remove(e)}),ase.fpRequest("WidgetAction",["ResetWidget",{IIs:[]}]).then(function(e){if(!e)throw new Error("Error ResetWidget");return e[0]}).then(function(e){return epe(e)})},SearchVarsInTree:(e,...t)=>qhe(void 0,[e,...t],void 0,function*(e,t="*",r="*"){return yield ase.fpRequest("SearchVarsInTree",[{manufacturer:t,program:r,vars:e}]).then(e=>{if(!e||1!=e.length)throw new Error("SearchVarsInTree Failed");return e[0]})}),GetWallByName:function(e){return Eie.setWallToggle(!1),Aie.fp_walls={},ase.fpRequest("WallAction",["build_by_name",{name:e,startPos:[0,0],ceiling:$("#ceilingCheckbox")[0].checked?"1":"0",ground:$("#groundCheckbox")[0].checked?"1":"0"}]).then(function(e){if(!e)throw new Error("Error WallAction");return e[0]}).then(function(e){return tpe(e)})},BuildWallFromConfiguration:function(e){Nhe.showLoader(),Eie.setWallToggle(!1),Aie.fp_walls={};const t={name:e.name,startPos:e.startPos?[e.startPos.x,e.startPos.y]:[0,0],ceiling:e.ceiling?"1":"0",ground:e.ground?"1":"0",segments:e.segments};return ase.fpRequest("WallAction",["build_by_configuration",t]).then(function(e){if(!e)throw new Error("Error WallAction");return e[0]}).then(function(e){return tpe(e)}).then(function(e){return Nhe.hideLoader(),e}).catch(function(){Nhe.hideLoader()})},RemoveWall:function(){return qhe(this,void 0,void 0,function*(){var e;Yse.SceneAction&&(yield null===(e=Yse.SceneAction)||void 0===e?void 0:e.cancel()),Eie.setWallToggle(!1),Aie.fp_walls={},$("#wall-fittings-opener").hide(),yield ase.fpRequest("WallAction",["remove"]).then(e=>{if(!e)throw new Error("Error WallAction remove");return e[0]}).then(function(e){return tpe(e)})})},getFurnplanWallsDoorsWindowsAndUtilities:(e,t)=>qhe(void 0,void 0,void 0,function*(){var r,n;if(!e){const e=[],i=lae.getAll();for(const o of i)for(const i of o.children)if(90013==i.typeInfo&&i instanceof Dme){const o=null===(n=null===(r=i.AdvancedInfo)||void 0===r?void 0:r.IWALL_INFO.DETAILS)||void 0===n?void 0:n.isPrimary;if(!0===t&&1!==o)continue;const s=[],a=[];for(const e of i.children)if(100030==e.typeInfo&&e instanceof Dme)for(const t of e.children)if(100031==t.typeInfo&&t instanceof Dme)for(const e of t.children)if(e instanceof Dme&&e.keys.includes(13204)){if(e.keys.includes(13205)){a.push(e.instanceIdent);continue}s.push(e.instanceIdent)}e.push({ii:i.instanceIdent,guid:i.guid,doors:s,windows:a,utilities:[]})}return{walls:e}}return yield ase.fpRequest("GetWallsDoorsWindowsAndUtilities",[{includeUtilities:e,onlyPrimaryWalls:t}])}),getWallConfigurations:function(){return ase.fpRequest("WallAction",["get_wall_configurations"]).then(function(e){if(!e||0===e.length)throw new Error("No wall configurations");return e[0]}).then(function(e){return Aie.parse(e).then(function(){return Aie.buildDOM()}).then(function(){return ape.getWallElements().then(function(e){return Sie.parse(e).then(function(){$(".dhmc-fitting-wall-tabs .item").tab(),$(".dhmc-fitting-wall-accordion").accordion({})})})})})},getWallElements:function(){return ase.fpRequest("GetWallFitting",[]).then(function(e){if(!e||0===e.length)throw new Error("No wall configurations");return e[0]})},placeWallElementNextCenter:function(e){return qhe(this,void 0,void 0,function*(){return yield ase.fpRequest("PlaceWallElementNextCenter",e).then(e=>{if(!e||0===e.length)throw new Error("PlaceWallElementNextCenter scene not found!");if(ipe(e.scene),e["placed-fitting"]){const t=e["placed-fitting"];LI.WallFitting_end.send([{artNo:t.article,height:t.height,manu:t.manufacturer,parapetHeight:t.parapet,prog:t.program,type:t.type,width:t.width}])}e["placed-po"]&&LI.LastPOLoaded.send([e["placed-po"]])})})},getAppConnectionData:function(e=!1,t="",r=[]){const n={attachments:e?"1":"0",externalParameters:r};return e&&t.length>0&&(n.orderNo=t),ase.fpRequest("GetAppConnectionData",n).then(function(e){if(e)return e;throw new Error("No app connection data")})},getDistinctArticleCategories:function(e,t){return qhe(this,void 0,void 0,function*(){const r=ase.fpRequest("GetDistinctArticleCategories",[e,t]);if(!r)throw new Error("No data");return r})},getKataTree:function(e,t){return ase.fpRequest("GetKataTree",[e,t]).then(function(e){if(!e||0===e.length)throw new Error("No data");return e[0]})},getGlobalKataTree:function(e){return ase.fpRequest("GetGlobalKataTree",[e]).then(function(e){if(!e||0===e.length)throw new Error("No data");return e[0]})},getFinishTxtData:function(e,t){return ase.fpRequest("GetFinishTxtData",[e,t]).then(function(e){if(!e||0===e.length)throw new Error("No data");return e})},getGlobalTxtData:function(e,t){return ase.fpRequest("GetGlobalTxtData",[e,t]).then(function(e){if(!e||0===e.length)throw new Error("No data");return e})},getGloTxtData:function(e,t,r){return ase.fpRequest("GetGloTxtData",[e,t,r]).then(function(e){return e&&0!==e.length||console.log(new Error("No data")),e})},getInfoTextData:function(e,t){return ase.fpRequest("GetInfoTextData",[e,t]).then(function(e){if(!e||0===e.length)throw new Error("No data");return e})},getPropTransferInfo:function(e,t,r=!1){return ase.fpRequest("GetPropTransInfo",[e,t,r?1:0]).then(function(e){if(!e||0===e.length)throw new Error("No data");return e})},getPropTransferGroupedInfo:function(e,t){return ase.fpRequest("GetPropTransGroupedInfo",[e,t]).then(function(e){if(!e)throw new Error("No data");return e})},getDistinctArticleCategoriesManuProg:function(e,t,r){return ase.fpRequest("GetDistinctCategoriesManuProg",[e,t,r]).then(function(e){if(!e||0===e.length)throw new Error("No data");return e[0]})},getArtPropCountByProg:function(e,t){return ase.fpRequest("GetArtPropCountByProg",[e,t]).then(function(e){if(!e||0===e.length)throw new Error("No data");return e[0]})},getArtPropByIds:function(e,t,r){return ase.fpRequest("GetArtPropById",[e,t,r]).then(function(e){if(!e||0===e.length)throw new Error("No data");return e})},getArtPropByArts:function(e,t,r){return ase.fpRequest("GetArtPropByArt",[e,t,r]).then(function(e){if(!e||0===e.length)throw new Error("No data");return e})},getKataPage:function(e,t,r,n,i){return ase.fpRequest("StartKataPage",[e,"","",t,i,r,n]).then(function(e){if(!e)throw new Error("No data");return e})},getKataPageWizard:function(e){return ase.fpRequest("StartKataPageWizard",[e]).then(function(e){if(!e)throw new Error("No data");return e})},getKataPageHostListByCrossArticle:function(e,t,r){return qhe(this,void 0,void 0,function*(){return ase.fpRequest("StartkataPageHostListByCrossArticle",[e,t,r])})},GetAvailableFittingElementsFromScene:function(){return ase.fpRequest("GetAvailableFittingElementsFromScene",[{selected:$le.getIIs()}]).then(function(e){if(!e||0===e.length)throw new Error("No data");return e[0]})},getKataPageModulesData:function(e){return ase.fpRequest("GetKataPageModulesData",[e]).then(function(e){if(!e||0===e.length)throw new Error("No data");return e[0]})},setManuProg:function(e,t,r){return Bde.DepthSelection=g_configuration.enable_depth_selection,ase.fpRequest("SetManuProg",[e,t,r]).then(function(e){if(!e)throw new Error("No data");return!0}).then(r=>qhe(this,void 0,void 0,function*(){return g_configuration.panel_right_register_old_kata_tree&&FurnplanKataTreeInterface.postMessageToAll("furnplan.setManuProg",[e,t]),r}))},SetManuProg:(e,t,r)=>ape.setManuProg(e,t,r),getManufacturerList:function(e=!1){return ase.fpRequest("GetManuList",{checkAccess:e?1:0}).then(function(e){var t;if(!e)throw new Error("No data");const r=null===(t=e.Results)||void 0===t?void 0:t.sort(function(e,t){return e.ManuL.toLowerCase()>t.ManuL.toLowerCase()?1:e.ManuL.toLowerCase()<t.ManuL.toLowerCase()?-1:0});return r})},getAccessableManufacturers:function(){return qhe(this,arguments,void 0,function*(e=!0){return ape.getManufacturerList(e)})},getProgramList:function(e){return console.warn("getProgramList is deprecated! Please use GetProgListFiltered!"),ape.GetProgListFiltered(e)},getAccessablePrograms:function(e,t){return qhe(this,arguments,void 0,function*(e,t,r=!0){return ape.GetProgListFiltered(e,t,r)})},GetProgListFiltered:function(e,t,r=!1){const n=[e,{manuName:e||"",progName:t||"",checkAccess:r?1:0}];return ase.fpRequest("GetProgList",n).then(function(t){if(!t||0===t.length)throw new Error("No data");let r=t[0];if(!(r.Results&&Object.keys(t[0]).length>1))return r=t[0].Results,r.forEach(e=>{e.name=e.Prog1,e.fromProg=e.Prog2,e.text=e.Prog3,e.manu=e.Manu,e.progHash=e.ProgH,e.fromManu=e.FromManufacturer}),r.sort(function(e,t){return e.text.toLowerCase()>t.text.toLowerCase()?1:e.text.toLowerCase()<t.text.toLowerCase()?-1:0});delete r.Results;const n={};Object.keys(r).forEach(e=>{n[e]={};const t={};r[e].forEach(r=>{r.name.toLocaleLowerCase()!==r.fromProg.toLocaleLowerCase()?(t[r.fromProg.toLocaleLowerCase()]||(t[r.fromProg.toLocaleLowerCase()]=[]),t[r.fromProg.toLocaleLowerCase()].push(r)):n[e][r.name.toLocaleLowerCase()]=r}),Object.keys(t).forEach(r=>{n[e][r]?(n[e][r].refs||(n[e][r].refs={}),t[r].forEach(t=>{n[e][r].refs[t.name.toLocaleLowerCase()]=t})):1===t[r].length&&(n[e][r]=t[r][0])});const i=[];Object.keys(n[e]).forEach(t=>{i.push(n[e][t]),delete n[e][t]}),n[e]=i.sort((e,t)=>e.text.toLowerCase()>t.text.toLowerCase()?1:e.text.toLowerCase()<t.text.toLowerCase()?-1:0)});let i=[];return 1===(i=Object.keys(n)).length?n[i[0]]:e?n[e]:n})},getProgImages:(e,t,r)=>qhe(void 0,void 0,void 0,function*(){return yield ase.fpRequest("GetProgImages",[e,t,r,{is_furnview_request:1,combine_kata_id:1}]).then(e=>{if(!e||0===e.length)throw new Error("Invalid parameters");return e[0]})}),loadLevel1KataInfo:(e,t,r,n)=>qhe(void 0,void 0,void 0,function*(){return yield ase.fpRequest("LoadLevel1KataInfo",[{manu:e,prog:t,levels:r,checkActive:n?1:0,is_furnview_request:1}]).then(e=>{if(!e||0===e.length)throw new Error("Invalid parameters");return e[0]})}),getManufacturerReferenceData:(e,t)=>qhe(void 0,void 0,void 0,function*(){return ape.GetProgListFiltered(e,t).then(r=>{const n={manufacturer:e,program:t,programHash:"",manufacturerHash:"",selectedManufacturer:e,selectedProgram:t};return r&&r.length>0&&(r=r[0],n.manufacturer=r.fromManu||e,n.program=r.fromProg||t,n.manufacturerHash=r.fromManuHash||"",n.programHash=r.fromProgHash||""),n})}),getArticleAccessories:function(e,t,r){return ase.fpRequest("GetArtZubehoer",[e,t,r]).then(function(e){if(!e||0===e.length)throw new Error("No data");return e[0][0]})},getDhpAsBase64:function(){return ase.fpRequest("SaveBase64",[]).then(function(e){if(!e||0===e.length)throw new Error("No data");return e[0].fileB64})},loadAccessories:function(e){const t=ase.fpRequest("LoadAccessories",[e.manu,e.prog,e.file,e.extParam]).then(function(e){if(!e||!e.length)throw new Error("Can't load accessories!");return e[0]}).then(function(e){return rpe(e,!1)});return Um.add(t),t},PerformWebCabCommand:function(e){const t=ase.fpRequest("PerformWebCabCommand",[e]).then(e=>{if(!e||0===e.length)throw new Error("PerformWebCabCommand not working");return e}).then(e=>{const t=e.pop();return rpe(t,!1).then(()=>e)});return Um.add(t),t},dhTodo:function(e){return ase.fpRequest("DHTodo",e).then(function(e){if(!e||0===e.length)throw new Error("No data");return cse.switch(e).then(function(e){return e})})},DHTodo:(...e)=>ape.dhTodo(e),SetWallTexture:function(e){return qhe(this,void 0,void 0,function*(){return ase.fpRequest("SetWallTexture",[e]).then(e=>{if(!e||0===e.length)throw new Error("No SetWallTexture");return e[0]}).then(e=>rpe(e))})},setPickLevelAndActionMode:function(e,t,r=!0){return"boolean"!=typeof r&&(r=!0),(0===(""+e).length||isNaN(+e))&&(e="0"),(0===(""+t).length||isNaN(+t))&&(t="0"),ase.fpRequest("SetPLAM",[e,t,!0===r?"1":"0"]).then(function(t){return e})},replaceFittingDHTodo:function(e,t){return ase.fpRequest("ReplaceFittingDHTodo",[e,t]).then(function(e){if(!e||0===e.length)throw new Error("No data");cse.switch(e)})},PlaceWallElement:e=>qhe(void 0,void 0,void 0,function*(){return ase.fpRequest("PlaceWallElement",[e]).then(t=>{t&&t[0]&&cse.wallFitting([e])})}),DeleteFittingElement:e=>qhe(void 0,void 0,void 0,function*(){return ase.fpRequest("DeleteFittingElement",[e]).then(t=>{var r;t&&t[0]&&(Yse.clearSceneAction(),Yse.updateSceneAction("fittingDelete"),null===(r=Yse.SceneAction)||void 0===r||r.begin([e]))})}),ReplaceFittingElement:(e,t)=>ape.replaceFittingDHTodo(e,t),ReplaceWallElement:(e,t)=>ape.replaceFittingDHTodo(e,t),getCurrentManuProg:function(){return new Promise(function(e,t){e({manu:zme.hash(Xp.getItem(g_sessionId,"a"),!0),left:zme.hash(Xp.getItem(g_sessionId,"b"),!0),right:zme.hash(Xp.getItem(g_sessionId,"c"),!0)})})},GetProgGroups:function(e){return ase.fpRequest("GetProgGroups",e).then(function(e){if(!e||0===e.length)throw new Error("No data");return e[0]})},GetProgsByGroup:function(e){return ase.fpRequest("GetProgsByGroup",e).then(function(e){if(!e||0===e.length)throw new Error("No data");return e[0]})},GetCatsByPrio:function(e){return ase.fpRequest("GetCatsByPrio",e).then(function(e){if(!e||0===e.length)throw new Error("No data");return e[0]})},GetSubCatsByPrio:function(e){return ase.fpRequest("GetSubCatsByPrio",e).then(function(e){if(!e||0===e.length)throw new Error("No data");return e[0]})},GetArtPropsData:function(e){return ase.fpRequest("GetGenericArtPropData",e).then(function(e){if(!e||0===e.length)throw new Error("No data");return e[0]})},getText:function(e){return ase.fpRequest("GetText",e).then(function(e){if(!e||0===e.length)throw new Error("No data");return e[0]})},GetText:(...e)=>ape.getText(e),setGridSize:function(e){return ase.fpRequest("SetGridSize",[""+e]).then(function(e){if(!e)throw new Error("Can't SetGridSize");return!0})},getBoundingBoxes:function(e){return ase.fpRequest("GetBoundingBoxes",[e]).then(function(e){if(!e||!e[0].boxes)throw new Error("Can't GetBoundingBoxes");return e[0].boxes}).then(function(e){e.forEach(function(e){const t=Bme.build(new Qr(Cp.DH2Vector3(e.max),Cp.DH2Vector3(e.min)),{color:new mi(20,20,20),opacity:.2,side:2});t.visible=!0,Dhe.add(t)})}).then(function(){return ape.getCache()})},replacingFitting:function(e){return ase.fpRequest("replaceFitting",e).then(function(e){if(!e)throw new Error("Can't move fitting");return e[0]}).then(function(e){if(FI.clearMarker(),e.iis&&e.iis.length)for(let t=0;t<e.iis.length;t++){const r=lae.get(e.iis[t]);r&&"dhd1"!==r.Prog&&FI.createMarker(r)}return e.fittingParentII})},SetFrontPickMode:function(e){return ase.fpRequest("SetFrontPickMode",[{mode:e}]).then(function(e){return!0})},getContextMenu:function(e){return qhe(this,void 0,void 0,function*(){const t={instanceIdent:""+e,__camera:{source:aue.CurrentCamera.Camera.position.clone().divideScalar(C).toArray(),destination:aue.CurrentCameraControl.Target.clone().divideScalar(C).toArray()},__intersection:{source:Yse.SourcePoint.clone().divideScalar(C).toArray(),destination:Yse.DestinationPoint.clone().divideScalar(C).toArray()}};return ase.fpRequest("GetMenuFP",[t]).then(e=>{if(!e)throw new Error("Can't get contextMenu");return e[0]})})},ExecuteMenuEvent:function(e,t){const r={id:""+e,pickedLO:""+(Yse.InteractionMode===Pp.WALL_INDIVIDUAL?Fde.InstanceIdent:Yse.LastTippedPO?Yse.LastTippedPO.instanceIdent:"")};return t&&(r.params=t),ase.fpRequest("ExecuteMenuEvent",[r]).then(function(e){if(!e)throw new Error("Can't execute MenuID");return e[0]}).then(function(e){return ipe(e)}).then(function(e){if(FI.clearMarker(!0,NI.SELECTION),Ame.addMarkerWidgets(),Bde.IsPlacerMode&&!Bde.IsPropMode){if($le.objects.length>0&&mm.getViewMode()!==Ep.AR)return ape.GetRotationWidget();if(mm.getViewMode()!==Ep.AR)return ape.ResetWidget()}})},setVPlacerContextInfoData:e=>qhe(void 0,void 0,void 0,function*(){return ase.fpRequest("SetVPlacerContextInfoData",[e]).then(e=>{if(!e)throw new Error("SetVPlacerContextInfoData failed!");return e[0]})}),executeHTMLMessage:(e,t,r,...n)=>qhe(void 0,[e,t,r,...n],void 0,function*(e,t,r,n=!1,i=!1){return yield ase.fpRequest("ExecuteHTMLMessage",[{container:e,command:t,message:r,getUpdatedScene:i?0:1}]).then(e=>{if(!e||e.length<1)throw new Error("ExecuteHTMLMessage failed!");const t=e[0].scene,r=e[0].data;return!i&&t&&Object.keys(t).length>0?rpe(t,!1,!0,n).then(()=>r):r})}),executeWebCabApiMessage:(e,t,r)=>qhe(void 0,void 0,void 0,function*(){const n=yield ape.executeHTMLMessage("WebcabApi",e,t,!r,!r);return r&&ape.updateScene(),n}),executeManufacturerFunction:(e,t,r,...n)=>qhe(void 0,[e,t,r,...n],void 0,function*(e,t,r,n=""){const{response:i}=yield ase.fpRequest("ExecuteManufacturerFunction",{manufacturer:e,functionName:t,functionId:r,param1:n});return i}),performQuery:e=>qhe(void 0,void 0,void 0,function*(){return e.container||(e.container=window.g_article.manu),e.payload||(e.payload={}),"boolean"!=typeof e.ignorePriceChange&&(e.ignorePriceChange=!1),e&&e.command&&e.container&&e.payload?ape.executeHTMLMessage(e.container,e.command,e.payload,e.ignorePriceChange).catch(()=>null):null}),setSnapping:function(e){return ase.fpRequest("SetSnappingMode",[e?"1":"0"]).then(function(e){if(!e)throw new Error("No Snapping stat result");return e[0].mode&&"1"===e[0].mode})},getSelectionByFilter:function(e,t){return qhe(this,void 0,void 0,function*(){return cne.clearActionButtons(),yield ase.fpRequest("GetSelectionByFilter",[{__camera:{source:aue.CurrentCamera.Camera.position.clone().divideScalar(C).toArray(),destination:aue.CurrentCameraControl.Target.clone().divideScalar(C).toArray()},pick_start:Yse.SourcePoint.clone().divideScalar(C).toArray(),pick_end:Yse.DestinationPoint.clone().divideScalar(C).toArray(),instanceIdent:e,pickPoint:t?t.toArray():void 0}]).then(e=>{if(!e||0===e.length)throw new Error("noSelection");return e[0]})})},setCommonSelectionFilter:function(e,t,r,n){return qhe(this,void 0,void 0,function*(){return Bde.FittingSelection=!1,Bde.PropTransferSelection=!1,Bde.PropertySelection=!1,Zoe.resetSelectable(),yield ase.fpRequest(e,[{filter:t,manu:r,prog:n}]).then(e=>{if(e&&e.length>0)return Bde.FittingSelection=!!e[0].hasFittingSelection,Bde.PropTransferSelection=!!e[0].hasPropTransferSelection,Bde.PropertySelection=!!e[0].hasPropertySelection,Bde.FittingSelection&&Zoe.addSelectable(Vp.HoverBoxClass),!0;throw new Error("setSelectionFilter has wrong data")})})},setSelectionFilter:function(e,t,r){return qhe(this,void 0,void 0,function*(){return yield ape.setCommonSelectionFilter("SetSelectionFilter",e,t,r)})},setSelectionFilterMultiProg:function(e,t,r){return qhe(this,void 0,void 0,function*(){return yield ape.setCommonSelectionFilter("SetSelectionFilterMultiProg",e,t,r)})},setSelectionFilterMultiTypes:function(e,t,r){return qhe(this,void 0,void 0,function*(){return yield ape.setCommonSelectionFilter("SetSelectionFilterMultiTypes",e,t,r)})},setSelection:function(e,t=1){return 0===t&&Bde.OnlySelectionEnabled&&(t=1),ase.fpRequest("SetSelection",[{iis:e,onlySelection:t}]).then(function(e){if(!e)throw new Error("Can't get selection");return e[0]}).then(function(e){return e}).then(function(e){return!t&&epe(e)})},setLastTippedLO:function(e){let t=[];return e&&t.push(e),Yse.SceneAction&&(t=[]),ase.fpRequest("SetLastTippedLO",t).then(function(e){if(!e)throw new Error("Can't get selection");return e[0]})},loadPVArticle:function(e,t,r){return ase.fpRequest("LoadPVArticle",[e,t,r]).then(function(e){if(!e)throw new Error("Can't get selection");return e[0]}).then(function(e){return ope(Promise.resolve(e))})},GetVideoInfo:function(e){return ase.fpRequest("GetVideoInfo",[e]).then(function(e){if(!e[0])throw new Error("GetVideoInfo has not parameteres");return e[0]}).then(function(t){return 1===t.playlist&&Qde.parsePlayList(t.channel,t),[t.channel,e.video]})},GetZDirectionAllow:function(e){const t=[];let r=!1;for(let n=0;n<e.length;n++){const i=e[n];void 0===i.zDirectionAllowed?t.push(""+e[n].instanceIdent):r=r||i.zDirectionAllowed}let n=Promise.resolve().then(function(){return r});return t.length>0&&(n=ase.fpRequest("GetZDirectionAllow",[{objects:t}]).then(function(e){if(!e)throw new Error("Can't GetZDirectionAllow");return e[0].objects}).then(function(e){if(e)for(let t=0;t<e.length;t++){lae.get(e[t].IID).zDirectionAllowed=!!+e[t].allowed,r=r||!!+e[t].allowed}return r})),n},priceOn:function(){return qhe(this,void 0,void 0,function*(){return ase.fpRequest("PriceOn",[]).then(function(e){return!0})})},getTotalPrice:function(){return qhe(this,arguments,void 0,function*(e=0){return ase.fpRequest("GetPrice",{ignorePriceOn:e}).then(function(e){if(!e)throw new Error("Unable to determine price!");return e})})},getElementFromPool:function(e){return qhe(this,void 0,void 0,function*(){return Array.isArray(e)||(e=[]),ase.fpRequest("GetElementFromPool",{instanceIdents:e}).then(function(e){return!0})})},getKataTreeJson:function(e){return qhe(this,void 0,void 0,function*(){return yield ase.fpRequest("GetKataTreeJson",{manufacturer:e&&e.length>0?e[0]:void 0,program:e&&e.length>1?e[1]:void 0,mergeCategories:!!(e&&e.length>2)&&e[2]})})},getRangeInDimensions:function(e){return qhe(this,void 0,void 0,function*(){return yield ase.fpRequest("GetRangeInDimensions",e)})},getCatalogEnvironment:function(e,t,r){return qhe(this,void 0,void 0,function*(){const n={manufacturer:e,level1:t||"",level2:r||""};return yield ase.fpRequest("GetCatalogEnvironment",n)})},getCatConfig:function(e,t){return qhe(this,void 0,void 0,function*(){return yield ase.fpRequest("GetCatConfig",[e,t])})},doInterfaceFunction:function(e,t){return qhe(this,void 0,void 0,function*(){return yield ase.fpRequest("DoInterfaceFunc",[e,t])})},doActionSimpleCL:function(e){return ape.doInterfaceFunction("DoActionSimpleCL",{actionIndex:e.toString()})},getTableValueDest:function(e,t,r){return qhe(this,arguments,void 0,function*(e,t,r,n="32"){return yield ape.doInterfaceFunction("GetTableValueDest",{mode:n,tableId:e,col:t,row:r})})},getTable:function(e){return qhe(this,arguments,void 0,function*(e,t="32"){return yield ape.getTableValueDest(e,"-1","-1",t)})},getStringValueDest:function(e){return qhe(this,arguments,void 0,function*(e,t="0"){return yield ape.doInterfaceFunction("GetStringValueDest",{mode:e,key:t})})},setStringValueDest:function(e){return qhe(this,arguments,void 0,function*(e,t="0",r){return yield ape.doInterfaceFunction("SetStringValueDest",{mode:e,key:t,value:r})})},setPriceList:function(e){return qhe(this,void 0,void 0,function*(){return yield ase.fpRequest("SetPriceList",{priceList:e})})},getPriceList:function(e,t){return qhe(this,void 0,void 0,function*(){return yield ase.fpRequest("GetPriceList",[{manu:e,prog:t}]).then(e=>e[0].pricelist)})},getOpusPriceList:function(e){return qhe(this,void 0,void 0,function*(){const{priceList:t}=yield ase.fpRequest("GetOpusPriceList",{manu:e});return t})},getCurrency:function(){return qhe(this,void 0,void 0,function*(){return yield ase.fpRequest("GetCurrentCurrency",[]).then(e=>e[0].currency)})},createFurnrayUpload:function(e,t){return qhe(this,void 0,void 0,function*(){return g_configuration.furnray_options?t=Object.assign({},t,g_configuration.furnray_options):t&&(t.sky=t.skyColor),yield ase.fpRequest("CreateFurnrayUpload",[{email:e,userSettings:t}]).then(e=>e[0].number)})},createCloudID:function(){return qhe(this,void 0,void 0,function*(){return yield ase.fpRequest("CreateCloudID",[]).then(e=>e[0].cloudID)})},getFurnrayUploadStatus:function(e){return qhe(this,void 0,void 0,function*(){return yield ase.fpRequest("CheckFurnrayUpload",[e]).then(e=>{try{return e[0].status}catch(e){return{}}})})},getFurnrayUploadImage:function(e){return qhe(this,void 0,void 0,function*(){return yield ase.fpRequest("GetFurnrayImage",[e]).then(e=>e[0].base64)})},loadProgramProperties:function(e,t){return qhe(this,void 0,void 0,function*(){return yield ase.fpRequest("LoadProgramProperties",[{manu:e,prog:t,combinedProperties:Bde.CombinedProgProperties}]).then(e=>{if(!e[0])throw new Error("Unable to loadProgramProperties");return e[0]})})},SearchKeysFromLOs:e=>qhe(void 0,void 0,void 0,function*(){return yield ase.fpRequest("SearchKeysFromLOs",[e]).then(e=>{if(!e[0])throw new Error("Unable to SearchKeysFromLOs");return e})}),GetDeletables:e=>qhe(void 0,void 0,void 0,function*(){return yield ase.fpRequest("GetDeletables",[{mode:e}]).then(e=>{if(!e)throw new Error("Unable to GetDeletables");return e})}),getRelevantPropertyKeys:function(e,t){return new Phe.TimeLine.PromiseTimer("GetRelevantPropertyKeys",function(r,n){return qhe(this,void 0,void 0,function*(){yield ase.fpRequest("GetRelevantPropertyKeys",[{guidList:e,instanceIdents:t,returnAllIfEmptyScene:!0}]).then(e=>(e||n("Unable to getRelevantPropertyKeys"),r(e)))})})},addToShoppingCart:function(e){return qhe(this,arguments,void 0,function*(e,t=[]){return yield this.savePrintImageColor(),yield ase.fpRequest("AddToShoppingCart",[e,t])})},getGeneratedAccessoires:function(e){const t=ase.fpRequest("GetGeneratedAccessoires",[{onlyReset:e?1:0}]).then(function(e){return!!e[0]&&epe(e[0])});return Um.add(t),t},getPdfAsBase64:function(){return qhe(this,void 0,void 0,function*(){const e=yield fme.getCanvasJpgAsBase64();return yield ase.fpRequest("GetPdfAsBase64",[e])})},getDhpAsBase64ByCloudId:function(e){return qhe(this,void 0,void 0,function*(){return yield ase.fpRequest("GetDhpAsBase64ByCloudId",[e])})},getPricePreviewGuid:function(){return qhe(this,void 0,void 0,function*(){return yield ase.fpRequest("GetPricePreviewGuid",[]).then(function(e){if(!e||0===e.length)throw new Error("GetPricePreview not working");return e[0]})})},getPricePreview:function(e){return ape.getPricePreviewGuid().then(t=>qhe(this,void 0,void 0,function*(){return[yield fetch(`${g_node_url_prefix}/price/getPreview/${t}?manufacturer=${e.manufacturer_}&program=${e.program_}&sessionId=${g_sessionId}`+(e.properties_?`&properties=${e.properties_}`:"")).then(function(e){return e.json()})]}))},getAppConnectionDataDelegated:function(){return qhe(this,void 0,void 0,function*(){return ape.getPricePreviewGuid().then(e=>qhe(this,void 0,void 0,function*(){return yield fetch(`${g_node_url_prefix}/price/getAppConnectionData/${e}?sessionId=${g_sessionId}`).then(function(e){return e.json()})}))})},getPriceAsync:function(){return ape.getPricePreviewGuid().then(e=>qhe(this,void 0,void 0,function*(){return yield fetch(`${g_node_url_prefix}/price/current/${e}?sessionId=${g_sessionId}`).then(function(e){return e.json()})}))},getFusionData:function(e){return qhe(this,void 0,void 0,function*(){const t=Ihe.Generation;return yield ase.fpRequest("GetFusionData",e).then(function(r){if(!r||t!==Ihe.Generation)return!1;switch(e.command){case"getFusionObject":Ihe.addFusionObject(r);break;case"getFusionSubObject":Ihe.addSubObject(r);break;case"getFusionMaterial":return r}return!0})})},exportToWaWiInterface:function(){return qhe(this,void 0,void 0,function*(){return yield ase.fpRequest("ExportToWaWiInterface",[])})},collectSelectionActions:function(e){return qhe(this,void 0,void 0,function*(){return yield ase.fpRequest("CollectSelectionActions",[{actionGroup:e}]).then(e=>{if(!e)throw new Error("collectSelectionActions scene not found!");return rpe(e[0])})})},runSelectionActions:function(e,t){return qhe(this,void 0,void 0,function*(){return cne.clearActionButtons(),yield ase.fpRequest("RunSelectionActions",[{actionGroup:t,actionID:e}]).then(e=>{if(!e||0===e.length)throw new Error("runSelectionActions scene not found!");return rpe(e[0])})})},getColorPickerInfo:function(e,t){return qhe(this,void 0,void 0,function*(){return yield ase.fpRequest("GetColorPickerInfo",[{manufacturer:e,type:t}]).then(e=>{if(!e||0===e.length)throw new Error("getColorPickerInfo error");return e[0]})})},changeFrontStop:function(e){return qhe(this,void 0,void 0,function*(){return yield ase.fpRequest("ChangeFrontStop",[{instanceIdents:e}]).then(e=>{if(!e||0===e.length)throw new Error("changeFrontStop error");return e[0]}).then(e=>epe(e,!0))})},isFrontStopChangeAvailable:function(e){return qhe(this,void 0,void 0,function*(){return yield ase.fpRequest("IsFrontStopChangeAvailable",[{instanceIdents:e}]).then(e=>{if(!e||0===e.length)throw new Error("isFrontStopChangeAvailable error");return e[0]})})},iwoFurnWindowApplicationValue:function(){return qhe(this,void 0,void 0,function*(){return yield ase.fpRequest("IwoFurnWindowApplicationValue",{}).then(e=>{if(!e)throw new Error("IwoFurnWindowApplicationValue error");return e})})},sendToIwoFurn:function(e){return qhe(this,void 0,void 0,function*(){return yield ase.fpRequest("SendToIwoFurn",{windowValues:e}).then(e=>{if(!e)throw new Error("SendToIwoFurn error");return e})})},getDealerAddress:function(){return qhe(this,void 0,void 0,function*(){return yield ase.fpRequest("GetDealerAddress",{}).then(e=>{if(!e)throw new Error("GetDealerAddress error");return e})})},getWaWiManu:function(){return qhe(this,void 0,void 0,function*(){return yield ase.fpRequest("GetWaWiManu",{}).then(e=>{if(!e)throw new Error("GetWaWiManu error");return e})})},getProgramLevelTree:function(e){return qhe(this,arguments,void 0,function*(e,t=!1){return yield ase.fpRequest("GetProgramLevelTree",{manufacturer:e,checkAccess:t?1:0}).then(e=>{if(!e)throw new Error("GetProgramLevelTree");return e})})},SetPricePercentAddon:function(e){return qhe(this,void 0,void 0,function*(){return yield ase.fpRequest("SetPricePercentAddon",{value:e}).then(e=>{if(!e)throw new Error("SetPricePercentAddon");return e})})},SetQuantityFactor:function(e){return qhe(this,void 0,void 0,function*(){return yield ase.fpRequest("SetQuantityFactor",{value:e}).then(e=>{if(!e)throw new Error("SetQuantityFactor");return e})})},GetQuantityFactor:function(){return qhe(this,void 0,void 0,function*(){return yield ase.fpRequest("GetQuantityFactor",{}).then(e=>{if(!e)throw new Error("GetQuantityFactor");return e.factor})})},createOTF_Material:function(e){return qhe(this,void 0,void 0,function*(){return yield ase.fpRequest("CreateOTF_Material",{inputValues:e}).then(e=>{if(!e)throw new Error("CreateOTF_Material");return e})})},getDisplayNameManuProg:function(e,t){return qhe(this,void 0,void 0,function*(){return yield ase.fpRequest("GetDisplayNameManuProg",[{manu:e,prog:t}]).then(e=>e[0])})},getManufacturerLogoNameFromPriceReference:function(e,t){return qhe(this,void 0,void 0,function*(){return yield ase.fpRequest("GetManufacturerLogoNameFromPriceReference",[{manu:e,prog:t}]).then(e=>e[0])})},getUserinterfaceManuProg:function(){return qhe(this,void 0,void 0,function*(){return yield ase.fpRequest("GetUserinterfaceManuProg",[{}]).then(e=>e[0])})},resetCurrentUserinterfaceManuProg:function(){return qhe(this,void 0,void 0,function*(){return yield ase.fpRequest("ResetCurrentUserinterfaceManuProg",[{}])})},getPlanningObjectByGuid:function(e){return qhe(this,void 0,void 0,function*(){return yield ase.fpRequest("GetPlanningObjectByGuid",[{guid:e}]).then(e=>{if(!e)throw new Error("GetPlanningObjectByGuid");return e[0]})})},checkBuyingGroups:function(){return qhe(this,void 0,void 0,function*(){return yield ase.fpRequest("CheckBuyingGroups",[{}]).then(e=>{if(!e)throw new Error("CheckBuyingGroups error");return e})})},getCountryInfo:function(){return qhe(this,void 0,void 0,function*(){return yield ase.fpRequest("GetCountryInfo",[{}]).then(e=>{if(!e)throw new Error("GetCountryInfo error");return e})})},GetPrintLogoPath:function(e,t){return qhe(this,arguments,void 0,function*(e,t,r=e){return yield ase.fpRequest("GetPrintLogoPath",[e,t,r]).then(e=>{if(!e)throw new Error("GetPrintLogoPath error");return Object.entries(e).forEach(([t,r])=>{console.log(t,r),r.includes("/manufacturer/")&&(r=r.substring(r.indexOf("/manufacturer/",r.length-1)),e[t]=r)}),e})})},createSpotLights:function(){return qhe(this,void 0,void 0,function*(){return Yce.cleanupSpotLights(),yield ase.fpRequest("CreateSpotLights",[]).then(e=>{if(!e||e.length<1)throw new Error("createSpotLights failed!");const t=e[0];t&&Object.keys(t).length>0&&rpe(t,!1,!0,!0)})})},setAutoLuxParams:function(e){return qhe(this,void 0,void 0,function*(){yield ase.fpRequest("SetAutoLuxParams",[{configuration:e}])})},fillPM2009Table:function(e){return qhe(this,void 0,void 0,function*(){return yield ase.fpRequest("FillPM2009Table",{values:e}).then(e=>{if(!e)throw new Error("FillPM2009Table error");return e})})},performRedliningCommand:function(e,t){return qhe(this,void 0,void 0,function*(){return ase.fpRequest("PerformRedliningCommand",{command:e,data:t})})},createStdCatalogFilterCtx:function(e){return qhe(this,void 0,void 0,function*(){return yield ase.fpRequest("CreateStdCatalogFilterCtx",{ctx:e.ctx,items:e.items,filter:e.filter}).then(e=>e)})},disposeCatalogFilterCtx:function(e){return qhe(this,void 0,void 0,function*(){return yield ase.fpRequest("DisposeCatalogFilterCtx",{ctx:e.ctx}).then(e=>e)})},runCatalogFilterCtx:function(e){return qhe(this,void 0,void 0,function*(){return yield ase.fpRequest("RunCatalogFilterCtx",{ctx:e.ctx,selection:e.selection}).then(e=>e)})},getMaterialCatalog:function(){return qhe(this,void 0,void 0,function*(){return yield ase.fpRequest("GetMaterialCatalog",[{}]).then(e=>e[0])})}};$(document).ready(function(){const e=$("#btnSaveCameraPosition"),t=$("#btnLoadFile"),r=$("#inpLoadFile");e.length>0&&e.click(function(){ape.saveCameraPosition()}),t.length>0&&t.click(function(){ape.loadUndo(r.val())}),window.Communicator=ape,Qp.register("loadPOFromFile",e=>{const t={};return t.ManuHash=e.manu,t.ProgHash=e.prog,t.ArticleNumber=e.file,t.extParam=e.extParam||"",Bde.UsePlacerDirectionTemporary=!0,oM.setDirection(Op.FREE),new Promise((e,r)=>(ape.PlacerAddObject({ManuHash:t.ManuHash,ProgHash:t.ProgHash,ArticleNumber:t.ArticleNumber.toLowerCase(),extParam:t.extParam,preventVPlacer:!0},new br,"1"),e(!0)))}),Qp.register("ShowKataTreeRegister",e=>(fme.highlightOpenerAndOpenRegister($("#old-kata-tree-panel-opener")),Promise.resolve())),Qp.register("SetDepthSelectionFilter",e=>(Bde.SelectionFilter=e?e.filter:"",ape.setSelectionFilter(e?e.filter:""))),Rm.on("SendEvent",e=>{Bde.IsFurnplanMode&&FurnplanKataTreeInterface.postMessage("furnplan.sendEvent",[e.eventID]),g_configuration.webui_mode&&oae.sendToApp("furnplan.sendEvent",[e.eventID]),pM.dispatch("furnplan.sendEvent",[e.eventID])}),Rm.on("startLoadScene",e=>qhe(this,void 0,void 0,function*(){yield Dhe.clearScene(!0,!0,!0,!0),Dhe.PreventFullClear=!0,Nhe.showLoader()})),Rm.on("ClearScene",()=>qhe(this,void 0,void 0,function*(){yield Dhe.clearScene(!0,!1,!0)})),Rm.on("UpdateScene",e=>qhe(this,void 0,void 0,function*(){e.onlyModification?yield ape.updateScene():yield ape.getScene(),Lse.NeedsUpdate="globalMeasureBox",pM.dispatch("furnplan-communication-messages.UpdateScene",[])})),Rm.on("UpdateDiffScene",e=>qhe(this,void 0,void 0,function*(){yield ape.updateScene()})),Rm.on("SendExportFile",e=>{console.log(e)})});const lpe=new class{constructor(){this._functionMap=new Map}register(e,t,r=!1){this._functionMap.has(e)||this._functionMap.set(e,n=>qhe(this,void 0,void 0,function*(){return ase.fpRequest(e,r?n:[n]).then((...e)=>t(...e,n))}))}dispatch(e,...t){return this._functionMap.has(e)?this._functionMap.get(e).apply(this,t):Promise.resolve(null)}};var cpe=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};const upe=new class{constructor(){this.appReady=Om(),pM.on("appready",()=>this.appReady.resolve(!0))}openFurnplanKataPage(e,t,r){return cpe(this,void 0,void 0,function*(){yield Qte.updateManufacturer(e),yield Qte.isCatalogInitialized(),FurnplanKataTreeInterface.postMessage("furnplan.openKataPageByLevel",[t,r])})}loadArticle(e,t){return cpe(this,void 0,void 0,function*(){yield ape.loadWaWiArticle(e,t),console.log(`loadArticle: ${e} / ${t}`);const[r,n]=yield ape.getManufacturerAndProgramByWawiReference(e,t);console.log(`loadArticle found: ${r} / ${n}`),r&&n&&(yield Qte.updateManufacturer(r),yield Qte.isCatalogInitialized(),FurnplanKataTreeInterface.postMessage("furnplan.openKataPageByProg",[n.toUpperCase()]))})}setCommission(e){ape.setCommission(e)}setAuthentication(e,t){ape.setAuthentication(e,t)}setPrinterList(e){fme.setPrinterList(e)}setLanguage(e){boe.setLanguage(e)}sayHello(){alert("Hello from the outside world!")}setCameraPosition(e){}loadProject(e){return cpe(this,void 0,void 0,function*(){yield ape.loadLocalCloudId(e);try{const e=yield ape.getAppConnectionData();if(e.Articles.length>0){const t=e.Articles[0].DH_Manu,r=e.Articles[0].DH_Prog;yield Qte.isCatalogInitialized(),yield Qte.updateManufacturer(t,r)}}catch(e){console.error(e)}})}deleteProject(e){ape.deleteLocalCloudId(e)}on(e,t){pM.on(e,t)}off(e,t){pM.off(e,t)}dispatch(e,t){pM.dispatch(e,t)}startARMode(){this.sendToApp("initializeAR",[])}sendToApp(e,t,r){return cpe(this,void 0,void 0,function*(){return t=t||[],iae.send(e,t),Promise.resolve()})}sendToComponents(e,t,r){return cpe(this,void 0,void 0,function*(){if(t=t||[],window.postMessage({command:e,parameters:t,__responsable:r},"*"),r){const e=Om(),t=()=>cpe(this,void 0,void 0,function*(){r.callback&&(yield r.callback()),e.resolve(),this.off(r.command,t)});return this.on(r.command,t),e}return Promise.resolve()})}isAppReady(){return this.appReady}logout(){return cpe(this,void 0,void 0,function*(){return new Promise((e,t)=>{const r=dpe.get("/logout");$.post(r).done(t=>e(t.url)).fail(e=>t(e))})})}};window.Furnview=upe,rse.isApp();const dpe={get:function(e){const t=g_sessionId,r=new URL(e,window.location.origin);return r.searchParams.set("session",t),window.g_auth_id&&r.searchParams.set("auth_id",window.g_auth_id),r.href},__downloadViaAPP:function(e,t,r){upe.sendToApp("downloadFile",[{requestURL:e,filename:t,mimeType:r}])},__printViaAPP:function(e){upe.sendToApp("printPDF",[{encodedData:e}])}},hpe=function(){const e=Tl,t=Tl,r={phong:"Phong"},n=function(e,t){const n=document.createElement("script");return n.src="/js/DHMaterialNodes/"+e+".js",document.body.appendChild(n),new Promise(function(e,i){n.onload=function(){e(r[t])}})},i=function(){};return i.prototype.loadAllMaterials=function(){const e=[];return Object.keys(r).forEach(function(t){const i=r[t];"string"==typeof i&&e.push(n(i,t))}),Promise.all(e)},i.prototype.initializeType=function(e,t){"string"==typeof r[e]&&(r[e]=t)},i.prototype.addOrGetMaterial=function(t){let i=e.get(t.name);if(i)return Promise.resolve(i);if(i=r[t.type],i){if("string"==typeof i)return n(i,t.type).then(function(r){const n=new r;return n.parse(t.props),e.add(t.name,n),n});{const e=new i;return e.parse(t.props),Promise.resolve(e)}}},i.prototype.addOrGetCubeMap=function(e){return console.warn("This functions is not inplemented right now!"),"N/A"},i.prototype.addOrGetTexture=function(e){return function(e,r){return new Promise(function(n,i){let o=t.get(e);o||(o=(new Hl).load(r),t.add(e,o)),n(o)})}(e.name,e.url)},i.prototype.debug=function(){window.dbg={Scene:ZE.world,DHLOBase:Dme,DhmcMaterials:Lde,TimeLine:Phe.TimeLine},Phe.MaterialsWindow.matWindow=window.open("DHMat","DHdbgDHMat","width=800,height=600"),$(window).on("unload",function(){Phe.MaterialsWindow.matWindow.close()})},new i}(),ppe=hpe,mpe=function(e,t){const r=function(){this.filterBaseUrl="/catalogue",this.articleBaseUrl="/article",this.articleCountAppendix="/count",this.filterQuery={category:{name:""},hierarchy:!1},this.articleQuery={article:{artno:"",dxmin:0,dxmax:0,dymin:0,dymax:0,dzmin:0,dzmax:0}}};return r.prototype.setManufacturerAndProgramFilter=function(r){const n=$("#selectManufacturer").dropdown("get value"),i=$("#selectProgram").dropdown("get value"),o=$("#selectIdmType").dropdown("get value");o&&o.length>0?r.idm_tk_type=+o:delete r.idm_tk_type,n&&n.length>0?r.manu=n:e&&e.manu?r.manu=e.manu:t?r.manu=t:delete r.manu,i&&i.length>0?r.mprog=i:e&&e.mprog?r.mprog=e.mprog:delete r.mprog},r.prototype.setArticleType=function(e){const t=[];g_configuration&&g_configuration.article_type_a&&t.push("a"),g_configuration&&g_configuration.article_type_pp&&t.push("pp"),t.length>0?e.entityType=t:delete e.entityType},r.prototype.getFilterQuery=function(){return this.filterQuery.category.name=$("#categoryName").val()||"",this.filterQuery.hierarchy=$("#categoryHierarchy").prop("checked")||!1,this.filterQuery.article={},this.setManufacturerAndProgramFilter(this.filterQuery.article),this.setArticleType(this.filterQuery.article),this.filterBaseUrl+"?query="+encodeURIComponent(JSON.stringify(this.filterQuery))},r.prototype.getArticleBaseQuery=function(e,t){const r=$("#articleNumber").val();return r&&r.length>0?this.articleQuery.article.artno=$("#articleNumber").val():delete this.articleQuery.article.artno,g_configuration.panel_right_show_dimensions_list?(this.articleQuery.article.dxmin=$("#selectDxMin").val(),this.articleQuery.article.dxmax=$("#selectDxMax").val(),this.articleQuery.article.dymin=$("#selectDyMin").val(),this.articleQuery.article.dymax=$("#selectDyMax").val(),this.articleQuery.article.dzmin=$("#selectDzMin").val(),this.articleQuery.article.dzmax=$("#selectDzMax").val()):(this.articleQuery.article.dxmin=$("#sliderDx")[0].noUiSlider.get()[0],this.articleQuery.article.dxmax=$("#sliderDx")[0].noUiSlider.get()[1],this.articleQuery.article.dymin=$("#sliderDy")[0].noUiSlider.get()[0],this.articleQuery.article.dymax=$("#sliderDy")[0].noUiSlider.get()[1],this.articleQuery.article.dzmin=$("#sliderDz")[0].noUiSlider.get()[0],this.articleQuery.article.dzmax=$("#sliderDz")[0].noUiSlider.get()[1]),this.setManufacturerAndProgramFilter(this.articleQuery.article),this.setArticleType(this.articleQuery.article),this.articleQuery.paginate={page:e||1,limit:t||5},"?query="+encodeURIComponent(JSON.stringify(this.articleQuery))},r.prototype.getArticleCountQuery=function(e,t){return this.articleBaseUrl+this.articleCountAppendix+this.getArticleBaseQuery(e,t)},r.prototype.getNewArticleQuery=function(e,t){return this.articleBaseUrl+this.getArticleBaseQuery(e,t)},r.prototype.getCurrentArticleQuery=function(e,t){return this.articleQuery.paginate={page:e||1,limit:t||5},this.articleBaseUrl+"?query="+encodeURIComponent(JSON.stringify(this.articleQuery))},r}(window.g_article,window.g_manufacturer),_pe=function(e,t){const r=function(t){this.catalogue={},this.articles=[],this.queryBuilder=t,this.articleInfo=e,this.page=1,this.pages=1,this.limit=10,this.articleCount=0,this.articleLoadedCount=0,this.isInitialized=!1,this.ARTICLE_NUMBER_INPUT_KEYUP_WAIT_MS=800,this.ARTICLE_LOAD_SCROLL_OFFSET=500,this.ARTICLE_LOAD_POLLING_INTERVAL=500,this.domElements={},this.slider={options:{start:[0,1e6],range:[0,1e6],margin:100,step:100,connect:!0},start:{x:[0,1e6],y:[0,1e6],z:[0,1e6]}},this.lastSearch=Promise.resolve(),this.lastLoaded=Promise.resolve(),this.isScrolling=!1,this.hasArticles=!1,this.lastValues={dxMin:0,dxMax:0,dyMin:0,dyMax:0,dzMin:0,dzMax:0}};return r.prototype.initDomElements=function(){this.domElements={sliderDx:$("#sliderDx"),sliderDy:$("#sliderDy"),sliderDz:$("#sliderDz"),dxMin:$("#dxMin"),dxMax:$("#dxMax"),dyMin:$("#dyMin"),dyMax:$("#dyMax"),dzMin:$("#dzMin"),dzMax:$("#dzMax"),tree:$("#tree"),manufacturer:$("#selectManufacturer"),program:$("#selectProgram"),idmType:$("#selectIdmType"),catalogue:$("#catalogue"),categoryHierarchy:$("#categoryHierarchy"),articleNumber:$("#articleNumber"),articles:$("#articles"),articleList:$("#articleList"),paginationInfo:$("#paginationInfo"),articleLoadedCount:$("#articleLoadedCount"),articleCount:$("#articleCount"),selectDxMin:$("#selectDxMin"),selectDxMax:$("#selectDxMax"),selectDzMin:$("#selectDzMin"),selectDzMax:$("#selectDzMax"),selectDyMin:$("#selectDyMin"),selectDyMax:$("#selectDyMax")}},r.prototype.createNodeTitle=function(e){let t=e.name;return e.articleCount&&(t+=" ("+e.articleCount+")"),t},r.prototype.buildTree=function(e,t){const r=this;e&&e.forEach(function(e){const n=$("<i class='icon'></i>"),i=$("<li>"+r.createNodeTitle(e)+"</li>").appendTo(t).prepend(n);e.categories&&e.categories.length&&(n.addClass("caret down expandable"),r.buildTree(e.categories,$("<ul></ul>").appendTo(i)))})},r.prototype.buildDropdown=function(e,t){const r=this;e&&e.forEach(function(e){$("<option>"+r.createNodeTitle(e)+"</option>").appendTo(t)})},r.prototype.buildManufacturerAndProgramSelection=function(e,t,r){const n=t.find(".menu");n.empty(),e&&(e.forEach(function(e){$("<div data-value='"+e.manu+"' class='item manu'>"+(e.name||e.manu)+"</div>").appendTo(n)}),1===e.length&&(t.dropdown(),t.dropdown("set value",e[0].manu),t.parent().hide()))},r.prototype.buildProgram=function(e){const t=this,r=t.domElements.program.find(".menu");r.empty(),t.domElements.program.removeClass("disabled"),e.progs.forEach(function(e){e.name&&e.name.length>0&&$("<div data-value='"+e.prog+"'></div>").addClass("item").text(e.name).appendTo(r)}),t.domElements.program.dropdown()},r.prototype.buildIdmTypeSelection=function(e,t){const r=t.find(".menu");r.empty(),t.dropdown("restore placeholder text"),t.dropdown("destroy"),t.find("input").val(""),e?(t.removeClass("disabled"),e.forEach(function(e){const t=$("<div data-value='"+e.value+"' class='item'>"+e.label+"</div>");t.attr("data-key",e.dataKey),t.appendTo(r)}),t.dropdown()):t.addClass("disabled"),t.dropdown("restore placeholder text")},r.prototype.clearArticleNumberInput=function(){this.domElements.articleNumber.val("")},r.prototype.destroySliders=function(e){e.each(function(){$(this)[0].noUiSlider&&$(this)[0].noUiSlider.destroy()})},r.prototype.createDimensionsSlider=function(e,t,r,n,i,o){const s=this;s.slider.options.range={min:t,max:r},s.slider.options.start=n,noUiSlider.create(e[0],s.slider.options),e[0].noUiSlider.on("change",function(e,t,r){n[t]=e[t],s.onSearch()}),e[0].noUiSlider.on("update",function(e,t,r){i.text(zme.formatNumber(e[0])+" cm"),o.text(zme.formatNumber(e[1])+" cm")})},r.prototype.createDimensionsDropDown=function(e,t,r,n){const i=this,o=[],s=[100,75,50,40,30,20,10,5,1];let a=1;for(;a<t;)a++;let l;t%1!=0&&(a-=1),s.forEach(function(e,t){e>a&&(o.push(e),l=t)}),l<s.length&&o.push(s[l+1]);let c=100;for(;c<=r;)c+=100,o.push(c);o.sort(function(e,t){return e>t?1:e<t?-1:0}),e.empty(),o.forEach(function(t,r){const i=$("<option></option>");i.attr("value",t),i.text((.1*t).toFixed(2).toString().replace(".",",")+" cm"),i.appendTo(e),n&&e.val(t)}),e.off(),e.on("change",function(){i.onSearch()})},r.prototype.fixDimensions=function(e){null===e.dxmin&&(e.dxmin=0),null===e.dymin&&(e.dymin=0),null===e.dzmin&&(e.dzmin=0),null===e.dxmax&&(e.dxmax=1e3),null===e.dymax&&(e.dymax=1e3),null===e.dzmax&&(e.dzmax=1e3),e.dxmin===e.dxmax&&(e.dxmax+=this.slider.options.margin),e.dzmin===e.dzmax&&(e.dzmax+=this.slider.options.margin),e.dymin===e.dymax&&(e.dymax+=this.slider.options.margin)},r.prototype.initDimensionsControls=function(e){const t=this;t.fixDimensions(e),g_configuration.panel_right_show_dimensions_list?(t.createDimensionsDropDown(t.domElements.selectDxMin,e.dxmin,e.dxmax,!1),t.createDimensionsDropDown(t.domElements.selectDxMax,e.dxmin,e.dxmax,!0),t.createDimensionsDropDown(t.domElements.selectDyMin,e.dymin,e.dymax,!1),t.createDimensionsDropDown(t.domElements.selectDyMax,e.dymin,e.dymax,!0),t.createDimensionsDropDown(t.domElements.selectDzMin,e.dzmin,e.dzmax,!1),t.createDimensionsDropDown(t.domElements.selectDzMax,e.dzmin,e.dzmax,!0)):(t.destroySliders($(".sliders")),t.createDimensionsSlider(t.domElements.sliderDx,e.dxmin,e.dxmax,t.slider.start.x,t.domElements.dxMin,t.domElements.dxMax),t.createDimensionsSlider(t.domElements.sliderDy,e.dymin,e.dymax,t.slider.start.y,t.domElements.dyMin,t.domElements.dyMax),t.createDimensionsSlider(t.domElements.sliderDz,e.dzmin,e.dzmax,t.slider.start.z,t.domElements.dzMin,t.domElements.dzMax))},r.prototype.initFilter=function(){const e=this;return e.domElements.program.addClass("disabled"),$.get(t.get(e.queryBuilder.getFilterQuery())).done(function(t){e.catalogue=t,e.buildManufacturerAndProgramSelection(t.manufacturers,e.domElements.manufacturer,e.domElements.program),e.initDimensionsControls(t.article),e.buildIdmTypeSelection(t.idmTypes,e.domElements.idmType),e.catalogue.manufacturers.length>0&&window.g_manufacturer&&e.catalogue.manufacturers.forEach(function(t){t._id===window.g_manufacturer&&e.buildProgram(t)}),$("i.expandable").click(function(e){e.preventDefault(),e.stopPropagation(),$(this).toggleClass("right down"),$(this).parent().children("ul").slideToggle(100)}),e.domElements.idmType.dropdown("restore placeholder text"),e.domElements.program.dropdown("restore placeholder text"),t.manufacturers.length>1&&e.domElements.manufacturer.dropdown("restore placeholder text")}).fail(function(t,r,n){e.domElements.articleList.text("Error creating catalogue")})},r.prototype.rebuildFilter=function(){const e=this;return $.get(t.get(e.queryBuilder.getFilterQuery())).done(function(t){e.catalogue=t,e.initDimensionsControls(t.article)}).fail(function(t,r,n){e.domElements.articleList.text("Fehler beim Aufbau des Kataloges")})},r.prototype.onManufacturerChange=function(e,t){const r=this;r.domElements.program.dropdown("destroy"),r.domElements.program.find("input").val("");const n=r.domElements.manufacturer.find(".menu"),i=$(e).dropdown("get value"),o=""!==i;r.catalogue.manufacturers.length>0&&o?(""!==$(n.children()[0]).data("value")&&n.prepend("<div class='item' data-value=''>*</div>"),r.catalogue.manufacturers.forEach(function(e){e._id===i&&r.buildProgram(e)})):($(n.children()[0]).remove(),r.domElements.manufacturer.dropdown("restore placeholder text"),r.domElements.program.addClass("disabled")),window.g_manufacturer?(r.domElements.program.removeClass("disabled"),r.domElements.program.dropdown("restore placeholder text")):r.domElements.program.dropdown("restore placeholder text")},r.prototype.init=function(){const e=this;e.initDomElements(),$("#catalogue .ui.styled.accordion").accordion(),e.domElements.categoryHierarchy.click(function(){e.initFilter()});let t=0,r=0;e.domElements.articleNumber.on("keyup",function(n){$("#articleNumberDiv > i").css("display","block"),clearTimeout(t),13===n.keyCode&&e.domElements.articleNumber.val().startsWith("http")&&(window.location.href=e.domElements.articleNumber.val()),t=setTimeout(function(){r++,e.onSearch().then(function(){r>0&&r--,0===r&&$("#articleNumberDiv > i").css("display","none")})},e.ARTICLE_NUMBER_INPUT_KEYUP_WAIT_MS)}),e.domElements.manufacturer.change(function(t){e.onManufacturerChange(this,t),e.rebuildFilter().then(function(){e.buildIdmTypeSelection(e.catalogue.idmTypes,e.domElements.idmType),e.onSearch(),e.clearArticleNumberInput(),e.domElements.idmType.dropdown("restore placeholder text")})}),e.domElements.program.change(function(t){const r=""!==$(this).dropdown("get value"),n=e.domElements.program.find(".menu");r?""!==$(n.children()[0]).data("value")&&n.prepend("<div data-value='' class='item'>*</div>"):($(n.children()[0]).remove(),e.domElements.program.dropdown("restore placeholder text")),e.rebuildFilter().then(function(){e.buildIdmTypeSelection(e.catalogue.idmTypes,e.domElements.idmType),e.onSearch(),e.clearArticleNumberInput()})}),e.domElements.idmType.change(function(t){const r=""!==$(this).dropdown("get value"),n=e.domElements.idmType.find(".menu");r?""!==$(n.children()[0]).data("value")&&n.prepend("<div data-value='' class='item'>*</div>"):($(n.children()[0]).remove(),e.domElements.idmType.dropdown("restore placeholder text")),e.rebuildFilter().then(function(){e.onSearch(),e.clearArticleNumberInput()})}),setInterval(function(){const t=e.domElements.articles.height(),r=e.domElements.articles.scrollTop(),n=e.domElements.articleList.height(),i=e.articleLoadedCount<e.articleCount,o=n-t-r<e.ARTICLE_LOAD_SCROLL_OFFSET,s=e.domElements.articles.is(":visible"),a=!e.isScrolling,l=e.hasArticles;i&&o&&s&&a&&l&&(e.page<e.pages?e.page++:e.page=e.pages,e.loadArticles())},e.ARTICLE_LOAD_POLLING_INTERVAL),this.initFilter().done(function(){e.isInitialized=!0,e.showElement(e.domElements.paginationInfo),e.doSearch()})},r.prototype.generateArticlePreviewLabelText=function(e){const t="B: "+zme.formatNumber(e.dxmin)+" H: "+zme.formatNumber(e.dzmin)+" T: "+zme.formatNumber(e.dymin);return 0===this.domElements.program.dropdown("get value")||null===this.domElements.program.dropdown("get value")||""===this.domElements.program.dropdown("get value")?(e.progName||e.prog)+" "+t:t},r.prototype.createArticlePreviewImage=function(e){const t=this,r=$("<div></div>").addClass("articlePreviewImageContainer dhmc-center"),n={self:t,article:e};r.dimmer("add content",$('<div class="ui text loader">Loading</div>'));const i=lm.getUrl(e.m_hash,e.p_hash,"art",e.artno.toLowerCase()),o=($("<img>").attr("src",i).attr("loading","lazy").addClass("articlePreviewImage").error(function(e){$(this).attr("src","/images/not_available.png")}).appendTo(r),new VI(r,{isDrag:!Bde.DragDropDisabled&&Bde.IsPlacerMode&&mm.getViewMode()!==Ep.AR,isClickAdd:!0,parentList:$("#articles")}));return r.clickdnd=o,r.ClickDragDrop.clicked=function(i,o){if(o.clickdnd.resetStatus(),i.preventDefault(),$(".articlePreviewImageContainer.selected").removeClass("selected"),o.addClass("selected"),o.dimmer("show"),fle.resetTargetList(),$le.clear(),n.container=r,mm.getViewMode()===Ep.AR){const t=lae.getPOGuids();ape.deleteLO(t).then(function(){return Dhe.clearScene(!0,!0,!0).then(function(){ape.PlacerAddObject({ManuHash:e.m_hash,ProgHash:e.p_hash,ArticleNumber:e.artno.toLowerCase(),extParam:{}},new br).then(function(){ape.ZeroARScene().then(function(){for(let e=0;e<aae.world.children.length;e++)aae.world.children[e]instanceof Dme&&(aae.world.children[e].position.x=0,aae.world.children[e].position.y=0,aae.world.children[e].position.z=0)}),o.dimmer("hide")})})})}else Bde.IsPlacerMode?ape.PlacerAddObject({ManuHash:e.m_hash,ProgHash:e.p_hash,ArticleNumber:e.artno.toLowerCase(),extParam:{}},new br).then(function(){o.dimmer("hide")}):t.onArticlePreviewClick(n)},r.ClickDragDrop.startDragging=function(t,r){r.data("isPlanned",""),$(".articlePreviewImageContainer.selected").removeClass("selected"),r.addClass("selected"),r.dimmer("show"),ape.PlacerSetDir(Op.FREE).then(()=>{var t;r.data("isPlanned")?(r.data("isPlanned",""),r.dimmer("hide")):(Yse.updateSceneAction("placer"),null===(t=Yse.SceneAction)||void 0===t||t.begin({manu:e.m_hash,prog:e.p_hash,artNo:e.artno.toLowerCase(),pos:aue.CurrentCamera.getInitArticlePos().toArray()}))})},r.ClickDragDrop.stopDragging=function(e,t){t.data("isPlanned",!0),t.dimmer("hide"),Yse.InteractionMode=Pp.DEFAULT,Bde.IsFurnplanMode||ape.PlacerSetDir(Op.RIGHT)},$("<div></div>").html(this.generateArticlePreviewLabelText(e)).appendTo(r),r},r.prototype.showElement=function(e){e.removeClass("dhmc-hidden")},r.prototype.hideElement=function(e){e.addClass("dhmc-hidden")},r.prototype.clearArticleList=function(){this.articles=[],this.articleLoadedCount=0,this.domElements.articleList.empty()},r.prototype.updateArticleList=function(){const e=this;this.articles.length&&this.articles.forEach(function(t){e.createArticlePreviewImage(t).appendTo(e.domElements.articleList);t.text})},r.prototype.getArticleCount=function(){const e=this;return new Promise(function(r,n){const i=e.queryBuilder.getArticleCountQuery(e.page,e.limit);$.get(t.get(i)).done(function(t){e.articleCount=t.count,e.pages=Math.ceil(e.articleCount/e.limit),r(!0)}).fail(function(t,r,i){e.articleCount=0,e.pages=0,n(new Error(r+" - "+i))})})},r.prototype.getArticles=function(e){const r=this;return new Promise(function(n,i){$.get(t.get(e)).done(function(e){r.articles=e,r.articleLoadedCount+=e.length,n(!0)}).fail(function(e,t,n){r.domElements.articleList.text("Fehler beim Laden der Artikel"),r.showElement(r.domElements.paginationInfo),r.articles=[],r.articleLoadedCount=0,i(new Error(t+" - "+n))})})},r.prototype.updatePaginationInfo=function(){this.domElements.articleLoadedCount.text(this.articleLoadedCount),this.domElements.articleCount.text(this.articleCount)},r.prototype.updateArticleView=function(){this.updateArticleList(),this.updatePaginationInfo()},r.prototype.adjustCatalogue=function(){},r.prototype.loadArticles=function(){const e=this;return e.lastSearch.then(function(){return e.lastSearch=e.doLoadArticles(),e.lastSearch})},r.prototype.doLoadArticles=function(){const e=this,t=this.queryBuilder.getCurrentArticleQuery(this.page,this.limit);return e.isScrolling=!0,this.getArticles(t).then(function(){e.updateArticleView(),e.isScrolling=!1}).catch(function(){e.isScrolling=!1})},r.prototype.reloadArticles=function(){const e=this;this.clearArticleList();const t=this.queryBuilder.getNewArticleQuery(this.page,this.limit);return this.getArticles(t).then(function(){return e.updateArticleView()})},r.prototype.updateAll=function(){const e=this;return e.isInitialized?this.getArticleCount().then(function(){return e.reloadArticles()}):Promise.resolve()},r.prototype.doSearch=function(){const e=this;return this.page=1,e.hasArticles=!1,this.updateAll().then(function(){e.hasArticles=!0}).then(function(){e.domElements.paginationInfo.removeClass("shrink-text-animation"),setTimeout(function(){e.domElements.paginationInfo.addClass("shrink-text-animation")},10)})},r.prototype.onSearch=function(){const e=this;return e.lastSearch.then(function(){return e.lastSearch=e.doSearch(),e.lastSearch})},r}(Pie,dpe),gpe=_pe,fpe=function(e){gpe.call(this,e),this.DhmcArticleInfo=Pie};(fpe.prototype=Object.create(gpe.prototype)).constructor=fpe,fpe.prototype.onArticlePreviewClick=function(e){$(".articlePreviewImageContainer.selected").removeClass("selected"),$(e.container).addClass("selected"),e.container.dimmer("hide"),ape.loadArticle(e.article.manu,e.article.prog,e.article.artno,e.article.entityType).then(function(){return Mse.HRThemeManager.update()})};const vpe=fpe,bpe="/hr-theme-old",ype=function(e,t){let r=bpe;return(e||t)&&(r+="?a=a"),e&&(r+="&skip="+e),t&&(r+="&limit="+t),$.get(dpe.get(r))},$pe=function(e){const t=bpe+"/"+e;return $.get(dpe.get(t)).done(function(e){return Promise.resolve(e)}).fail(function(){return Promise.reject(new Error("Unable to retrieve hr theme with id "+e))})};const xpe=new class{constructor(){this._themes=[],this._uiElements={}}createPreviewImage(e,t){let r,n=t||null;t?r=$("<div></div>").addClass("hybridRealityThemeMirrorContainer"):(n=$("<div></div>").addClass("hybridRealityThemePreviewImageContainer"),r=$("<div></div>").addClass("hybridRealityThemeNormalContainer"));const i=$("<img />").attr("src",e.previewImageFile).addClass("hybridRealityThemePreviewImage");return r.append(i),n.append(r),r.click(function(){Nhe.showLoader(),$pe(e._id).then(function(e){Ese.enable(e)}).fail(function(e){console.log(e),Nhe.hideDimmer()})}),n}createReturnImage(){const e=$("<div></div>").addClass("hybridRealityThemePreviewImageContainer"),t=$("<div></div>").addClass("hybridRealityThemeNormalContainer"),r=$("<img id='hrReturnImage' />").attr("src","/images/hrReturnImage.png").addClass("hybridRealityThemePreviewImage");return e.append(t),t.append(r),e.click(function(){Ese.disable()}),e}init(){this._uiElements={hrThemeList:$("#hybridRealityThemeList")};let e=null;return ype().done(e=>(this._themes=e,this._themes)).then(t=>{this._uiElements.hrThemeList.append(this.createReturnImage()),t.forEach(t=>{let r;r=-1!==t.name.indexOf("_r")?this.createPreviewImage(t,e):this.createPreviewImage(t),this._uiElements.hrThemeList.append(r),e=r})}).fail(e=>{console.log("Unable to load hybrid reality themes")})}},Spe=function(){};Spe.prototype.loadCustomize=function(){};const wpe=new Spe,Ape=function(){};Ape.prototype.buildSteps=function(){const e=this,t=[];let r=!1;if(g_configuration.wizard_sequence_wand>=1&&g_configuration.enable_placing&&t.push({order:g_configuration.wizard_sequence_wand,stepId:"wall-panel-opener",stepRegister:"wallPanel",stepTitle:"fv.wizard.steps.wall",stepDescription:"fv.wizard.steps.wall.description",stepIconCls:"dhWall",disabled:!1}),g_configuration.wizard_sequence_boden>=1&&g_configuration.add_floor&&!g_configuration.enable_modular_textures){const e={order:g_configuration.wizard_sequence_boden,stepTitle:"fv.wizard.steps.floor",stepDescription:"fv.wizard.steps.floor.description",stepIconCls:"dhFloor",disabled:!1};g_configuration.panel_right_register_old_kata_tree?(e.stepId="old-wall-selection-panel-opener",e.stepRegister="oldKataTree"):(e.stepId="floor-panel-opener",e.stepRegister="floorPanel"),t.push(e)}if(g_configuration.wizard_sequence_katalog>=1){const e={order:g_configuration.wizard_sequence_katalog,stepTitle:"fv.wizard.steps.filter",stepDescription:"fv.wizard.steps.filter.description",stepIconCls:"dhFilter",disabled:!1};g_configuration.panel_right_register_kata_tree?(e.stepId="kata-tree-opener",e.stepRegister="kataTree"):g_configuration.panel_right_register_kata_tree_generic?(e.stepId="kata-tree-generic-opener",e.stepRegister="kataTreeGeneric"):g_configuration.panel_right_register_old_kata_tree?(e.stepId="old-kata-tree-panel-opener",e.stepRegister="oldKataTree"):(e.stepId="scene-tree-opener",e.stepRegister="sceneTree"),t.push(e)}if(g_configuration.wizard_sequence_ausfuehrungen>=1&&!Bde.InteriorPropertiesEnabled&&t.push({order:g_configuration.wizard_sequence_ausfuehrungen,stepId:"af-tree-opener",stepRegister:"afTree",stepTitle:"fv.wizard.steps.finish",stepDescription:"fv.wizard.steps.finish.description",stepIconCls:"dhFinish",disabled:!1}),g_configuration.wizard_sequence_zubehoer>=1&&!Bde.InteriorPropertiesEnabled&&t.push({order:g_configuration.wizard_sequence_zubehoer,stepId:"interior-design-panel-opener",stepRegister:"interior-design-panel",stepTitle:"fv.wizard.steps.fitting",stepDescription:"fv.wizard.steps.fitting.description",stepIconCls:"dhFitting",disabled:!1}),g_configuration.wizard_sequence_interior_property>=1&&Bde.InteriorPropertiesEnabled&&t.push({order:g_configuration.wizard_sequence_interior_property,stepId:"interior-property-container-opener",stepRegister:"interior-property-container",stepTitle:"fv.wizard.steps.interiorProperty",stepDescription:"fv.wizard.steps.interiorProperty",stepIconCls:"dhFitting",disabled:!1}),g_configuration.wizard_sequence_accessoires>=1&&g_configuration.panel_right_register_old_kata_tree){const e={order:g_configuration.wizard_sequence_accessoires,stepId:"old-accessories-panel-opener",stepRegister:"oldKataTree",stepTitle:"fv.wizard.steps.accessoires",stepDescription:"fv.wizard.steps.accessoires.description",stepIconCls:"dhAccessoires",disabled:!1};t.push(e)}g_configuration.wizard_sequence_hr>=1&&!g_configuration.enable_placing&&t.push({order:g_configuration.wizard_sequence_hr,stepId:"hybrid-reality-panel-opener",stepRegister:"hybridReality",stepTitle:"fv.wizard.steps.hr",stepDescription:"fv.wizard.steps.hr.description",stepIconCls:"dhHR",disabled:!1}),g_configuration.wizard_sequence_analysis>=1&&g_configuration.panel_right_register_analysis&&t.push({order:g_configuration.wizard_sequence_analysis,stepId:"analysis-panel-opener",stepRegister:"analysis-panel",stepTitle:"fv.wizard.steps.analysis",stepDescription:"fv.wizard.steps.analysis.description",stepIconCls:"dhAnalysis",disabled:!1}),g_configuration.wizard_sequence_speichern>=1&&t.push({order:g_configuration.wizard_sequence_speichern,stepId:"finale-panel-opener",stepRegister:"finale-panel",stepTitle:"fv.wizard.steps.finale",stepDescription:"fv.wizard.steps.finale.description",stepIconCls:"dhFinale",disabled:!1}),g_configuration.enable_shoppingcart&&(r=!0,t.push({order:999999,stepId:"add-shopping-cart",stepRegister:"price-summary-page",stepTitle:"fv.wizard.addToCart",stepDescription:"",stepIconCls:"",disabled:!1,specialStep:!0})),t.sort(function(e,t){return e.order-t.order}),t.forEach(function(n,i){r&&i===t.length-2?$("#stepSubContainer").append(e.getStepElement(n.stepTitle,n.stepDescription,n.stepId,n.stepRegister,n.stepIconCls,n.disabled,n.order,!0,n.specialStep)):$("#stepSubContainer").append(e.getStepElement(n.stepTitle,n.stepDescription,n.stepId,n.stepRegister,n.stepIconCls,n.disabled,n.order,!1,n.specialStep))}),boe.updateTexts()},Ape.prototype.getStepElement=function(e,t,r,n,i,o,s,a,l){if(!l){u=$("<a></a>").addClass("step dhStep");a&&u.addClass("isNextToLast"),o&&u.addClass("disabled"),u.attr("id",r),u.attr("data-parent","panelRight"),u.attr("data-register",n);const t=$("<div></div>").addClass("inner-step-container");t.appendTo(u);const l=$("<div></div>").addClass("left-inner-step-container");l.appendTo(t);const d=$("<div></div>");d.text(s),d.appendTo(l);const h=$("<div></div>").addClass("dhmc-step-icons");h.addClass(i),h.appendTo(l);const p=$("<div></div>").addClass("title");if(p[0].setAttribute("data-i18n",e),p.appendTo(l),"analysis-panel-opener"===r){const e=$("<div></div>").addClass("right-inner-step-container");e.appendTo(t),(c=$("<p></p>")).attr("id","articleInfoPrice"),c.addClass("no-wrap"),c.html(""),c.appendTo(e),u.addClass("default-width")}return u}if("add-shopping-cart"===r){var c,u=$("<a></a>").addClass("step shoppingCart");(c=$("<p></p>")).addClass("priceElement priceStep"),c.attr("id","articleInfoPrice"),c.attr("data-parent","panelRight"),c.attr("data-register",n),c.html("0.00,00 EUR"),u.append(c);const t=$("<p></p>");return t.addClass("buttonElement"),t.attr("id","addToShoppingCart"),t[0].setAttribute("data-i18n",e),u.append(t),u}};const Cpe=new Ape;var Epe=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s},Ipe=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};let Mpe=class{constructor(){this.timeoutHandle=-1}initialize(){this.progress=Promise.resolve(),this.getRoot().on("touchstart mouseenter",e=>{e.preventDefault(),this.progress.then(()=>(this.progress=this.showPrice(),this.progress))}),this.getRoot().on("touchend mouseleave",e=>{this.progress.then(()=>(this.progress=this.hidePrice(),this.progress))}),this.getRoot().on("mousedown",e=>{e.ctrlKey&&0===e.button?(e.preventDefault(),FurnplanKataTreeInterface.postMessage("furnplan.sendHtmlElementEvent",["articleGroupButton","click"])):e.ctrlKey&&2===e.button&&(e.preventDefault(),FurnplanKataTreeInterface.postMessage("furnplan.sendHtmlElementEvent",["maximumDiscountButton","click"]))}),this.getRoot().on("contextmenu",e=>{e.ctrlKey&&e.preventDefault()})}coverPrice(){this.getElement("price").addClass("invisible"),this.getElement("label").removeClass("invisible")}uncoverPrice(){this.getElement("price").removeClass("invisible"),this.getElement("label").addClass("invisible")}fadePrice(){this.coverPrice()}getPrice(){return Ipe(this,void 0,void 0,function*(){let e="";try{yield ape.priceOn();const t=yield ape.getTotalPrice();t.value&&t.currency&&t.text||(e=""),e=g_configuration.enable_wizard?`${t.value} ${t.currency}`:`${t.text}`}catch(t){console.log("Unable to determine price! "+t),e="99.999,-"}return 0==e.length&&(e="99.999,-"),e})}showPrice(){return Ipe(this,void 0,void 0,function*(){const e=yield this.getPrice();this.getElement("price").text(e),clearTimeout(this.timeoutHandle),this.uncoverPrice()})}hidePrice(){return Ipe(this,void 0,void 0,function*(){this.timeoutHandle=setTimeout(()=>this.fadePrice(),1e3)})}};Mpe=Epe([_m({template:'<div class="content">\n                        <div class="label" data-i18n="3105"></div>\n                        <div class="price invisible"></div>\n                    </div>',elements:{label:".label",price:".price"},parentElement:null,parentSelector:"#total-price",condition:g_configuration.show_price})],Mpe);var kpe=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};let Tpe=class{initialize(){this.getElement("exportButton").click(()=>{FurnplanKataTreeInterface.postMessage("furnplan.sendHtmlElementEvent",["exportButton","click"])}),this.getElement("measureButton").click(()=>{FurnplanKataTreeInterface.postMessage("furnplan.sendHtmlElementEvent",["measureButton","click"])}),this.getElement("printOptionsButton").click(()=>{FurnplanKataTreeInterface.postMessage("furnplan.sendHtmlElementEvent",["printOptionsButton","click"])}),this.getElement("optionButton").click(()=>{FurnplanKataTreeInterface.postMessage("furnplan.sendHtmlElementEvent",["optionButton","click"])})}};Tpe=kpe([_m({template:'\n        <dhmc-furnplan-toolbar>\n            <dhmc-toolbar-sub-container>\n                <dhmc-toolbar-sub-container-row>\n                    <div class="measure button">M</div>\n                    <div class="print-options button">P</div>\n                    <div class="export button">E</div>\n                    <div class="option button">O</div>\n                </dhmc-toolbar-sub-container-row>\n            </dhmc-toolbar-sub-container>\n        </dhmc-furnplan-toolbar>\n    ',parentSelector:"#right-toolbar",elements:{measureButton:".measure.button",printOptionsButton:".print-options.button",exportButton:".export.button",optionButton:".option.button"},condition:g_configuration.panel_right_register_old_kata_tree&&g_configuration.toolbar_furnplan_toolbar})],Tpe);var Rpe=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s},Lpe=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};let Ppe=class extends mM{initialize(){super.initialize()}getCommissionName(){return this.getElement("input").val()}requestCommissionName(){return Lpe(this,void 0,void 0,function*(){return this.show(),new Promise((e,t)=>{this.getElement("okButton").one("click",()=>{this.hide(),e(this.getCommissionName())})})})}};Ppe=Rpe([_m({template:'\n            <div class="commission-name small centered modal-window invisible">\n                <div class="toolbar">\n                        <div class="left">\n                        </div>\n                        <div class="center">\n                            Kommission\n                        </div>\n                        <div class="right">\n                        </div>\n                    </div>\n                    <div class="content">\n                        <div class="container">\n                            <div class="ui input">\n                                <input type="text" placeholder="Kommissions-Name">\n                            </div>\n                            <button class="ui button">Ok</button>\n                        </div>\n                    </div>\n            </div>\n        ',elements:{toolbar:".toolbar",content:".content",input:"input",okButton:"button",closeButton:""},parentSelector:".mainContent"})],Ppe);const Dpe=new Ppe;var Npe=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};let Fpe=class{setCommissionName(e){this.getRoot().text(e)}};Fpe=Npe([_m({template:"\n            <div></div>\n        ",elements:{},parentSelector:"#commission-name-toolbar-info"})],Fpe);const Ope=new Fpe;var Bpe=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};const Upe=new class{getLandingPage(e){return new Promise((t,r)=>{$.get(dpe.get("/landingpage/"+e)).done(e=>t(e)).fail(e=>r(e))})}getLandingPageElement(e){return new Promise((t,r)=>{$.get(dpe.get("/landingpageelement/"+e)).done(e=>t(e)).fail(e=>r(e))})}getContentImage(e){const t=new Image,r=$("<div></div>").addClass("image-container");return e&&e.length>0?(t.src=dpe.get("/landingpageelement/image/"+e),t.onload=function(){r.css("background","url('"+t.src+"')")},t.onerror=function(){r.css("background","url('/images/landingpage/image.png')")}):(t.src="/images/landingpage/image.png",t.onload=function(){r.css("background","url('"+t.src+"')")},t.onerror=function(){console.error("Image not found!")}),r}loadPlanningFile(e){return new Promise((t,r)=>{$.get(dpe.get("/landingpageelement/planning/"+e)).done(e=>{const n=atob(e),i=new Array(n.length);for(let e=0;e<n.length;e++)i[e]=n.charCodeAt(e);const o=new Uint8Array(i),s=new FormData,a=new File([o],"planning.dhp");s.append("file",a),$.ajax({url:`${g_node_url_prefix}/dhp/open/${g_sessionId}`,data:s,cache:!1,contentType:!1,processData:!1,type:"POST"}).done(()=>{ape.getScene().then(function(){t()})}).fail(()=>{r()})}).fail(()=>{r()})})}loadPlanningUrl(e){return new Promise((t,r)=>{const n={method:"GET",cache:"default",credentials:"same-origin",redirect:"follow"};n.headers=new Headers({"Content-Type":"application/octet-stream"});const i="/webui"+(g_configuration.webui_theme_mode?"/t":"")+(g_configuration.webuiProject?"/"+g_configuration.webuiProject:"")+e;return fetch(new Request(dpe.get(i),n)).then(e=>Bpe(this,void 0,void 0,function*(){const n=yield(yield e.blob()).arrayBuffer(),i=new Uint8Array(n),o=new FormData,s=new File([i],"planning.dhp");o.append("file",s),$.ajax({url:`${g_node_url_prefix}/dhp/open/${g_sessionId}`,data:o,cache:!1,contentType:!1,processData:!1,type:"POST"}).done(()=>{ape.getScene().then(function(){t()})}).fail(()=>{r()})})).catch(e=>r(e))})}loadPlanning(e){return this.loadPlanningUrl("/data/planning/"+e)}};const Vpe=new class{constructor(){this._uiElements={globalMessageContainer:$(".dhmc-message-container"),globalErrorMessage:$(".dhmc-error-message"),globalErrorMessageHeader:$(".dhmc-error-message .header"),globalErrorMessageText:$(".dhmc-error-message .dhmc-message-text")},this._hideErrorTimer=null}showGlobalErrorMessage(e=1e3,t="Error",r=""){this._uiElements.globalMessageContainer.removeClass("dhmc-hidden"),this._uiElements.globalErrorMessage.removeClass("message-hidden"),this._uiElements.globalErrorMessageHeader.text(t),this._uiElements.globalErrorMessageText.text(r),this._hideErrorTimer&&(clearTimeout(this._hideErrorTimer),this._hideErrorTimer=null),e>0&&(this._hideErrorTimer=setTimeout(()=>{this.hideGlobalErrorMessage()},e))}hideGlobalErrorMessage(){this._hideErrorTimer&&(clearTimeout(this._hideErrorTimer),this._hideErrorTimer=null),this._uiElements.globalErrorMessage.addClass("message-hidden"),this._uiElements.globalErrorMessage.off("transitionEnd webkitTransitionEnd mozTransitionEnd"),this._uiElements.globalErrorMessage.on("transitionEnd webkitTransitionEnd mozTransitionEnd",e=>{e.stopPropagation(),e.preventDefault(),this._uiElements.globalErrorMessage.hasClass("message-hidden")&&this._uiElements.globalMessageContainer.addClass("dhmc-hidden")})}};var zpe=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s},Hpe=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};let Gpe=class{constructor(e){this._currentData=null,this._rawData=null,this._currentID="",this._parentContainer=null,this.onClick=e=>{e.stopPropagation(),e.preventDefault();const t=$(e.currentTarget).parent();this._currentID&&!this._currentData?this._parentContainer.loadChildren(this._currentID).then(e=>{this._currentData=e,e.items&&e.items.length>0?this._parentContainer.showElementItems(t,this):this.checkComponentData()}):this._currentData&&this._currentData.items&&this._currentData.items.length>0?this._parentContainer.showElementItems(t,this):this.checkComponentData()},this._parentContainer=e}get CurrentData(){return this._currentData}get CurrentID(){return this._currentID}get DomElement(){return this.getRoot()}get HasPlanning(){return!(!this._rawData||!(this._rawData.items&&this._rawData.items.length>0||this._rawData.planning&&this._rawData.planning.file&&this._rawData.planning.filename&&this._rawData.planning.file.length>0&&this._rawData.planning.filename.length>0))}parse(e,t){t&&(this.DomElement[0].className=this.DomElement[0].className.replace("three wide computer","six wide computer")),this._rawData=e,this._currentID=e._id;let r=null;0===e.items.length&&(this._currentData=e),e.image&&(r=Upe.getContentImage(e.image.file),r&&this.getElement("image").prepend(r)),e.description&&e.description.text?this.getElement("text").text(e.description.text):(this.getElement("content").addClass("dhmc-hidden"),this.getElement("text").text("")),!this._currentID&&e.items&&e.items.length>0&&(this._currentData=e),-1!==window.location.search.indexOf("animatedLP")&&this.getRoot().on("transitionend webkitTransitionEnd oTransitionEnd",e=>{e.preventDefault(),e.stopPropagation();const t=$(e.currentTarget);t.hasClass("hidden")&&t.css("display","none")}),!e&&(e.items&&e.items.length>0||e.planning&&e.planning.file&&e.planning.filename&&e.planning.file.length>0&&e.planning.filename.length>0)?this.getRoot().addClass("disabled"):this.getElement("imageElement").click(this.onClick),this.DomElement.data("component",this),$(window).resize(()=>{this.getRoot().hasClass("popup-visible")&&this._parentContainer.showElementItems(this.getRoot(),this),this.getElement("imageElement").css("display","none"),setTimeout(()=>{this.getElement("imageElement").height(this.getElement("imageElement").width()),this.getElement("imageElement").css("display","")},10)}),setTimeout(()=>{this.getElement("imageElement").height(this.getElement("imageElement").width())},1e3)}checkComponentData(){if(this._currentData.planning){const e=()=>Hpe(this,void 0,void 0,function*(){return yield Qte.isCatalogInitialized(),Upe.loadPlanningFile(this._currentData._id).then(()=>{this._parentContainer.hideElementItems(),Zpe.hide()}).catch(()=>{Vpe.showGlobalErrorMessage(1e3,"Lade Problem...","Planung wurde nicht gefunden!"),this._parentContainer.checkElementOpacity()})});let t=null;const r=()=>{t&&(clearTimeout(t),t=null),Zpe.IsKataTreeAvailable&&aae.world?e().then(()=>{Zpe.hideLoader()}).catch(()=>{Zpe.hideLoader()}):t=setTimeout(r,200)};Zpe.showLoader(),r()}$(window).resize()}};Gpe=zpe([_m({template:'\n    <div class="landingPageElement">\n        <div class="imageElement ui link card">\n            <div class="image"></div>\n            <div class="content">\n\x3c!--                <div class="header">DummyText</div>--\x3e\n                <div class="description">\n                    Hier könnte ein Text stehen\n                </div>\n            </div>\n        </div>\n    </div>\n    ',elements:{content:".content",imageElement:".imageElement",image:".imageElement .image",text:".imageElement .content .description"}})],Gpe);const jpe=new class{constructor(){this._tree={}}add(e,t){return this._tree[e._id]=e,this._tree[e._id].component=t,this._tree[e._id]}get(e){return this._tree[e]}checkVisibility(e,t){const r=Object.keys(this._tree),n=[];t&&t.children().each((e,t)=>{n.push(t)});let i=!1;for(let o=r.length-1;o>=0;o--){const s=this._tree[r[o]];if(s.component&&s.component.DomElement&&(0===n.length||-1!==n.indexOf(s.component.DomElement[0]))){1===e.filter(e=>(!t||s.component.HasPlanning)&&s._id===e._id).length?(i=!0,s.component.DomElement.removeClass("hidden"),s.component.DomElement.css("display","")):(s.component.DomElement.addClass("hidden"),-1===window.location.search.indexOf("animatedLP")&&s.component.DomElement.css("display","none"))}}return i}};var Jpe=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};let Wpe=class{constructor(){this._key="",this._type=-1,this._noCheck=!1,this._onClick=null,this._onReset=null,this._items=[]}set OnClick(e){this._onClick=e}set OnReset(e){this._onReset=e}get NoCheck(){return this._noCheck}get DomElement(){return this.getRoot()}get Items(){return this._items}build(e,t=[]){this._key=e.key,this._type=e.type,this._noCheck=e.noCheck,this._items=t;const r=this.getElement("image"),n=this.getElement("imageContainer");boe.get(e.textID).then(t=>{this.getElement("description").text(t||e.textID)}),r.attr("src",e.image),n.click(e=>{const t=$(e.currentTarget);if(!t.hasClass("disabled")&&this._onClick&&this._onReset)if(this._noCheck){t.addClass("disabled");const r=()=>{const r=lae.getPOGuids();ape.deleteLO(r).then(()=>Dhe.clearScene(!0,!0,!0).then(()=>{this._onClick(e,this),t.removeClass("disabled")}))};let n=null;const i=()=>{n&&(clearTimeout(n),n=null),aae.world?r():n=setTimeout(i,200)};Zpe.showLoader(),i()}else t.hasClass("selected")?(this._onReset(e,this),t.removeClass("selected")):(this._onClick(e,this),this.DomElement.parent().find(".category-image .image.selected").removeClass("selected"),t.addClass("selected"))})}};Wpe=Jpe([_m({template:'\n        <div class="four wide column">\n            <div class="category-image">\n                <div class="ui image">\n                    <img src="">\n                </div>\n                <div class="content">\n                    <div class="description">\n                        Hier könnte ein Text stehen\n                    </div>\n                </div>\n            </div>\n        </div>\n    </div>\n    ',elements:{description:".description",image:".image img",imageContainer:".image"}})],Wpe);var Qpe=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s},qpe=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};let Ype=class{constructor(e){this._categoryComponentTemplate=[{key:"line",type:0,textID:"fv.konfigurator.landing.page.kategorie.eins",image:"/images/landingpage/line.png"},{key:"corner",type:1,textID:"fv.konfigurator.landing.page.kategorie.zwei",image:"/images/landingpage/corner.png"},{key:"u",type:2,textID:"fv.konfigurator.landing.page.kategorie.drei",image:"/images/landingpage/u.png"},{key:"free",type:-1,textID:"fv.konfigurator.landing.page.kategorie.frei",image:"/images/landingpage/line.png",noCheck:!0}],this._landingPageContainer=null,this.OnClick=(e,t)=>qpe(this,void 0,void 0,function*(){$(e.currentTarget);t.NoCheck?(yield Wte.isCatalogInitialized(),Zpe.hide()):this._landingPageContainer.buildChildren(t.Items)}),this.OnReset=(e,t)=>{$(e.currentTarget);this._landingPageContainer.buildChildren(this._landingPageContainer.Items)},this._landingPageContainer=e}get DomElement(){return this.getRoot()}build(e){const t=this.getElement("items");for(let r=0;r<this._categoryComponentTemplate.length;r++){const n=new Wpe,i=e.filter(e=>+e.category.mode===this._categoryComponentTemplate[r].type);(i&&i.length>0||this._categoryComponentTemplate[r].noCheck)&&(n.build(this._categoryComponentTemplate[r],i),n.OnClick=this.OnClick,n.OnReset=this.OnReset,t.append(n.DomElement))}}};Ype=Qpe([_m({template:'\n    <div class="ui twelve column grid centered">\n        <div class="twelve wide tablet six wide computer column category-header">\n            <h1 class="category-text ui header medium">Konfigurieren Sie sich Ihren Lieblings-Schrank</h1>\n        </div>\n        <div class="eight wide landscape-mobile eight wide landscape-tablet six wide landscape-desktop twelve wide tablet six wide computer column category-items-container">\n            <div class="ui sixteen grid centered category-items">\n            </div>        \n        </div>\n    </div>\n    ',elements:{text:".category-text",items:".category-items"}})],Ype);var Xpe=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};let Kpe=class{constructor(){this._landingPageData=null,this._lastScrollTop=0,this._categoriesComponent=null,this._initializedCategories=!1,this.hideElementItems=()=>{const e=this.getElement("defaults");this.getElement("list").find(".landingPageElement").removeClass("dhmc-hidden").removeClass("hidden").css("display",""),this.getElement("elementContainer").scrollTop(this._lastScrollTop),this.getElement("list").find(".landingPageElement.popup-visible").removeClass("popup-visible").popup("hide"),Ohe.show(),e.removeClass("mobileLandscapeHidden"),this.checkElementOpacity()},this.showElementItems=(e,t)=>{const r=this.getElement("defaults");if(e.hasClass("popup-visible"))return r.removeClass("mobileLandscapeHidden"),Ohe.show(),e.removeClass("popup-visible"),void e.popup("hide");this.getElement("list").find(".landingPageElement.popup-visible").removeClass("popup-visible"),e.addClass("popup-visible"),this._lastScrollTop=this.getElement("elementContainer").scrollTop(),this.getElement("list").find(".landingPageElement").not(".popup-visible").addClass("dhmc-hidden");const n=this.getElement("popup"),i=this.getElement("popupList");r.addClass("mobileLandscapeHidden"),Ohe.hide(),this.buildChildren(t.CurrentData.items,t.CurrentID,i)?(e.popup({popup:n,target:e,inline:!1,movePopup:!1,maxSearchDepth:0,position:"bottom center",exclusive:!0,jitter:1e3,silent:!0,on:"manual",delay:{show:50,hide:0},onHide:e=>{this.getElement("list").find(".landingPageElement").removeClass("dhmc-hidden"),r.removeClass("mobileLandscapeHidden"),Ohe.show(),this.getElement("elementContainer").scrollTop(this._lastScrollTop)}}).popup("show"),this.DomElement.off("click"),this.DomElement.on("click",()=>{e.removeClass("popup-visible"),e.popup("hide")})):(Vpe.showGlobalErrorMessage(1e3,"Lade Problem...","Es wurde keine Planungen gefunden!"),this.hideElementItems())}}get Items(){return this._landingPageData?this._landingPageData.items:[]}get DomElement(){return this.getRoot()}parse(e){this._landingPageData||(this._landingPageData=e),Wp.getType()===Mp.MOBILE&&this.getElement("popup").addClass("size-mobile"),this.renderDefaultElements(this._landingPageData.items)}loadChildren(e){return LandingPageConnectorService.getLandingPageElement(e).then(e=>e)}buildChildren(e,t="",r=null){for(let t=0;t<e.length;t++){let n=jpe.get(e[t]._id);if(!n){const i=new Gpe(this);i.parse(e[t],!!r),n=jpe.add(e[t],i),n.component&&(r?n.component.HasPlanning&&r.append(n.component.DomElement):this.getElement("list").append(n.component.DomElement))}}return!!jpe.checkVisibility(e,r)&&(this.checkElementOpacity(),!0)}checkElementOpacity(){setTimeout(()=>{this.getElement("list").find(".landingPageElement").not(".hidden").css("opacity",1),this.getElement("list").find(".landingPageElement.hidden").css("opacity",0)},10)}renderDefaultElements(e){if(e||(e=this._landingPageData.items),!e)return!1;if(!this._initializedCategories){const t=this.getElement("defaults");this._categoriesComponent=new Ype(this),this._categoriesComponent.build(e),t.append(this._categoriesComponent.DomElement),this._initializedCategories=!0}this.buildChildren(e)}};Kpe=Xpe([_m({template:'\n    <div class="landingPageContainer">\n\x3c!--        <div class="back-button">--\x3e\n\x3c!--            <button type="button">Back</button>--\x3e\n\x3c!--        </div>--\x3e\n        <div class="ui popup bottom center transition hidden">\n            <div class="popup-scrollable">\n                <div class="popupElementList"></div>\n            </div>\n        </div>\n        <div class="landingPageDefaults">\n       \n        </div>\n        <div class="landingPageElementContainer">\n            <div class="elementList">\n                    \n            </div>\n        </div>\n    </div>\n    ',elements:{list:".elementList",backButton:".back-button button",defaults:".landingPageDefaults",elementContainer:".landingPageElementContainer",popup:".popup",popupList:".popupElementList"}})],Kpe);const Zpe=new class{constructor(){this._uiElements={root:null,dimmer:null,dimLoader:null,container:null},this._currentLandingPageID="",this._currentLandingPage={},this._isKataTreeAvailable=!1}get ID(){return this._currentLandingPageID}get LandingPage(){return this._currentLandingPage}get IsKataTreeAvailable(){return this._isKataTreeAvailable}set IsKataTreeAvailable(e){this._isKataTreeAvailable=e}initialize(){if(g_configuration.landingPage)return this._currentLandingPageID=g_configuration.landingPage,this._uiElements.root=$("#landingPageContainer"),this._uiElements.dimmer=$("#landing-page-dimmer").dimmer({closable:!1,duration:{show:0,hide:250}}),this._uiElements.dimLoader=$("#landing-page-dimmer-loader"),this._uiElements.root.on("transitionEnd webkitTransitionEnd oTransitionEnd",e=>{if(e.currentTarget===e.target){const t=$(e.currentTarget);t.hasClass("hidden")&&t.css("display","none"),this.hideLoader()}}),Upe.getLandingPage(this._currentLandingPageID).then(e=>{this._currentLandingPage=e,this.build()}).catch(e=>{console.error(e)})}build(){this._currentLandingPage&&(this._uiElements.container=new Kpe,this._uiElements.container.DomElement[0].addEventListener("touchmove",function(e){1!==e.scale&&e.preventDefault()},!1),this._uiElements.container.parse(this._currentLandingPage),this._uiElements.root.append(this._uiElements.container.DomElement))}show(){this._uiElements.container.checkElementOpacity(),$("#landingPageContainer").css("visibility","visible").css("opacity","1").css("display","").removeClass("hidden"),Ohe.setHomeActive(),setTimeout(()=>{$(window).resize()},100)}hide(){$("#landingPageContainer").css("visibility","hidden").css("opacity","0").addClass("hidden"),Ohe.setInitialActive()}showLoader(){this._uiElements.dimLoader.removeClass("dhmc-hidden"),this._uiElements.dimmer.dimmer("show")}hideLoader(){this._uiElements.dimLoader.addClass("dhmc-hidden"),this._uiElements.dimmer.dimmer("hide")}};var eme=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};let tme=class extends mM{constructor(){super(...arguments),this.cloudId=""}initialize(){super.initialize(),this.getElement("saveButton").on("click",()=>{const e=document.createElement("a");e.style.display="none",e.setAttribute("href",this.getElement("image").attr("src")),e.setAttribute("download",`image-${this.cloudId}.jpg`),document.body.appendChild(e),e.click(),document.body.removeChild(e)})}setDataUrl(e){return this.getElement("image").attr("src",`data:image/jpeg;base64,${e}`),this}setCloudId(e){return this.cloudId=e,this}};tme=eme([_m({template:'\n            <div class="furnray-image-window full modal-window invisible">\n                <div class="toolbar">\n                    <div class="title right-aligned">Fotorealistische Ansicht schließen - zurück zur Konfiguration</div>\n                    <div class="right">\n                        <div class="close-button"></div>\n                    </div>\n                </div>\n                <div class="content">\n                    <img />\n                    <button class="save ui button dhOrangeThemeBUTTON" data-i18n="1008">speichern</button>\n                </div>\n            </div>\n        ',elements:{closeButton:".close-button",content:".content",image:".content img",saveButton:"button.save"},parentSelector:"#renderContainer",condition:!0})],tme);const rme=new tme;var nme=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};const ime=g_configuration.show_shipping_costs_notice?'\n        <div style="text-align: right;" data-i18n="plus_shipping_costs">zzgl. Versandkosten</div>\n    ':"",ome=g_configuration.show_furnray_module?'\n    <button id="analysis-create-furnray-button" class="ui button dhOrangeThemeBUTTON analysis-button">\n        <i class="spinner loading icon hidden" progress-icon></i>\n        <i class="image outline icon default-icon" default-icon></i>\n        <span class="text" data-i18n="fv.create_furnray_upload.action">Fotorealistisches Bild erzeugen</span>\n        <div class="text-extension hidden" data-i18n="fv.create_furnray_upload.duration_notice">Dies kann bis zu 30 Sekunden dauern</div>\n    </button>':"",sme=(g_configuration.show_furnray_module,`\n    <div class="price-overlay">\n        <div class="no-elements hidden">\n            <span  data-i18n="fv.no_elements_in_planning"></span>\n        </div>\n        <div class="item-container">\n            <table class="items"></table>\n        </div>\n        <div class="total-container">\n            <table class="totals">\n                <tr class="total row">\n                    <td class="total description"><span  data-i18n="total_price_inclusive_vat"></span></td>\n                    <td class="total price total-line"><span class="amount"></span><span class="currency"></span></td>\n                </tr>\n                <tr class="vat row hidden">\n                    <td class="vat description"><span class="percent"></span>% <span  data-i18n="196"></span></td>\n                    <td class="vat price"><span class="amount"></span><span class="currency"></span></td>\n                </tr>\n                <tr class="discount row">\n                    <td class="discount description"><span  data-i18n="20444"></span>: <span class="percent"></span>%</td>\n                    <td class="discount price negative"><span class="amount"></span><span class="currency"></span></td>\n                </tr>\n                <tr class="total-discount row">\n                    <td class="total discount description" data-i18n="discounted_price_inclusive_vat"></td>\n                    <td class="total discount price total-line"><span class="amount"></span><span class="currency"></span></td>\n                </tr>\n                <tr class="total-positional-discount row">\n                    <td class="total discount description" data-i18n="discounted_price_inclusive_vat"></td>\n                    <td class="total discount price"><span class="amount"></span><span class="currency"></span></td>\n                </tr>\n            </table>\n            ${ime}\n        </div>\n        <div>\n            ${ome}\n            <button id="analysis-add-to-cart-button" class="ui button dhOrangeThemeBUTTON analysis-button">\n                <i class="shopping cart icon"></i>\n                <span  data-i18n="fv.wizard.addToCart">In den Warenkorb</span>\n            </button>\n        </div>\n    </div>\n`);window.customElements.define("fv-price-overlay",class extends HTMLElement{constructor(){super(),this.currency="",this.cloudId="",this.imageAsBase64="",this.elements=new Map,this.innerHTML=sme,this.elements.set("itemContainer",this.querySelectorAll(".item-container")).set("totalContainer",this.querySelectorAll(".total-container")).set("noElements",this.querySelectorAll(".no-elements")).set("items",this.querySelectorAll(".items")).set("addToCartButton",this.querySelectorAll("#analysis-add-to-cart-button")).set("totalRow",this.querySelectorAll(".total.row")).set("totalDescription",this.querySelectorAll(".total.description")).set("totalAmount",this.querySelectorAll(".total.row .amount")).set("discountRow",this.querySelectorAll(".discount.row")).set("discountPercent",this.querySelectorAll(".discount.row .percent")).set("discountAmount",this.querySelectorAll(".discount.row .amount")).set("vatRow",this.querySelectorAll(".vat.row")).set("vatPercent",this.querySelectorAll(".vat.row .percent")).set("vatAmount",this.querySelectorAll(".vat.row .amount")).set("totalDiscountRow",this.querySelectorAll(".total-discount.row")).set("totalDiscountAmount",this.querySelectorAll(".total-discount.row .amount")).set("totalPositionalDiscountRow",this.querySelectorAll(".total-positional-discount.row")).set("totalPositionalDiscountAmount",this.querySelectorAll(".total-positional-discount.row .amount"))}connectedCallback(){pM.on("appready",()=>nme(this,void 0,void 0,function*(){const e=yield ape.getAppConnectionData();this.updateItems(e),this.currency=yield ape.getCurrency(),this.updateCurrency(),pM.on("change",e=>this.updateItems(e))})),g_configuration.web_ui_handles_shopping_cart?this.elements.get("addToCartButton").item(0).onclick=()=>upe.sendToApp("furnview.addToCartClicked",[]):this.elements.get("addToCartButton").item(0).onclick=()=>fme.addToCart(),g_configuration.show_furnray_module&&this.initializeFurnrayModule(),boe.updateTexts()}formatCurrency(e){return e.toFixed(2).toString().replace(".",",")}updateCurrency(){this.querySelectorAll(".currency").forEach(e=>e.innerHTML=this.currency)}updateItems(e){return nme(this,void 0,void 0,function*(){this.elements.get("items").item(0).innerText="";const t=e.discountRelative,r=e.discountAbsolute,n=e.vatRelative,i=e.vatAbsolute,o=e.totalPrice,s=e.totalDiscountedPrice;let a=!1;e.Articles.forEach(e=>{e.Articles.forEach(e=>{const t=e.TotalPriceOfSale,r=document.createElement("tr"),n=document.createElement("tr");r.innerHTML=`\n                    <td class="description">${e.ArticleDescription}</td>\n                    <td class="quantity">x${e.Quantity}</td>\n                    <td class="price">${this.formatCurrency(t)}<span class="currency"></span></td>\n                `,this.elements.get("items").item(0).appendChild(r),e.DiscountedTotalPriceOfSale>0?(a=!0,n.innerHTML=`\n                        <td class="description discount">\n                            <div>-Rabatt ${e.DiscountedPriceOfSaleRelative}%</div>\n                            <div data-i18n="discounted_price_inclusive_vat">Sonderpreis (inkl. MwSt.)</div>\n                        </td>\n                        <td></td>\n                        <td class="price">${this.formatCurrency(e.DiscountedTotalPriceOfSale)}<span class="currency"></span></td>\n                    `,n.classList.add("separator","discount"),this.elements.get("items").item(0).appendChild(n)):r.classList.add("separator")})}),e.Articles.length>0?(this.elements.get("totalAmount").item(0).innerText=o,this.elements.get("vatPercent").item(0).innerText=n,this.elements.get("vatAmount").item(0).innerText=i,this.elements.get("discountPercent").item(0).innerText=t,this.elements.get("discountAmount").item(0).innerText=r,this.elements.get("totalDiscountAmount").item(0).innerText=s,this.elements.get("totalPositionalDiscountAmount").item(0).innerText=s,a?(this.elements.get("totalPositionalDiscountRow").item(0).classList.remove("hidden"),this.elements.get("discountRow").item(0).classList.add("hidden"),this.elements.get("totalDiscountRow").item(0).classList.add("hidden")):(this.elements.get("totalPositionalDiscountRow").item(0).classList.add("hidden"),0==t?(this.elements.get("discountRow").item(0).classList.add("hidden"),this.elements.get("totalDiscountRow").item(0).classList.add("hidden")):(this.elements.get("discountRow").item(0).classList.remove("hidden"),this.elements.get("totalDiscountRow").item(0).classList.remove("hidden"))),this.elements.get("noElements").item(0).classList.add("hidden"),this.elements.get("itemContainer").item(0).classList.remove("hidden"),this.elements.get("totalContainer").item(0).classList.remove("hidden")):(this.elements.get("noElements").item(0).classList.remove("hidden"),this.elements.get("itemContainer").item(0).classList.add("hidden"),this.elements.get("totalContainer").item(0).classList.add("hidden")),this.updateCurrency()})}onCreateFurnrayButtonClick(){return nme(this,void 0,void 0,function*(){this.showFurnrayProgress(),this.setFurnrayButtonText(boe.getValue("fv.create_furnray_upload.please_wait")),this.setFurnrayButtonTextExtension(boe.getValue("fv.create_furnray_upload.duration_notice")),this.showFurnrayButtonTextExtension();const e=yield fme.renderFurnViewImage();this.cloudId=e.cloudId,this.imageAsBase64=e.imageAsBase64,this.setFurnrayButtonText(boe.getValue("fv.create_furnray_upload.action")),this.hideFurnrayButtonTextExtension(),this.hideFurnrayProgress(),this.showFurnrayImageWindow()})}initializeFurnrayModule(){this.elements.set("furnrayButton",this.querySelectorAll("#analysis-create-furnray-button")).set("furnrayButtonText",this.querySelectorAll("#analysis-create-furnray-button .text")).set("furnrayButtonTextExtension",this.querySelectorAll("#analysis-create-furnray-button .text-extension")).set("furnrayDefaultIcon",this.querySelectorAll("#analysis-create-furnray-button i[default-icon]")).set("furnrayProgressIcon",this.querySelectorAll("#analysis-create-furnray-button i[progress-icon]")),this.elements.get("furnrayButton").item(0).onclick=()=>this.onCreateFurnrayButtonClick()}showFurnrayProgress(){this.elements.get("furnrayButton").item(0).classList.add("disabled"),this.elements.get("furnrayDefaultIcon").item(0).classList.add("hidden"),this.elements.get("furnrayProgressIcon").item(0).classList.remove("hidden")}hideFurnrayProgress(){this.elements.get("furnrayButton").item(0).classList.remove("disabled"),this.elements.get("furnrayDefaultIcon").item(0).classList.remove("hidden"),this.elements.get("furnrayProgressIcon").item(0).classList.add("hidden")}setFurnrayButtonText(e){this.elements.get("furnrayButtonText").item(0).innerText=e}setFurnrayButtonTextExtension(e){this.elements.get("furnrayButtonTextExtension").item(0).innerText=e}showFurnrayButtonTextExtension(){this.elements.get("furnrayButtonTextExtension").item(0).classList.remove("hidden")}hideFurnrayButtonTextExtension(){this.elements.get("furnrayButtonTextExtension").item(0).classList.add("hidden")}setDataUrl(e){this.elements.get("renderPreview").item(0).setAttribute("src",`data:image/jpeg;base64,${e}`)}showFurnrayImageWindow(){rme.setCloudId(this.cloudId).setDataUrl(this.imageAsBase64).show()}onPreviewImageClick(){this.showFurnrayImageWindow()}});class ame extends HTMLElement{constructor(){super(),this.elements=new Map,this.texts=g_configuration.userHints||[],this.currentActiveIndex=0,this.duration=13e3,this.timeoutHandler=-1,this.initialize()}connectedCallback(){boe.updateTexts()}initialize(){this.innerHTML='\n    <div class="buttons container"></div>\n    <div class="texts wrapper">\n        <div class="texts container"></div>    \n    </div>\n',this.elements.set("buttonsContainer",this.querySelector(".buttons.container")).set("textsContainer",this.querySelector(".texts.container")),this.texts.length<2&&this.elements.get("buttonsContainer").classList.add("hidden"),this.texts=this.texts.filter(e=>e.trim().length>0),this.texts.forEach((e,t)=>{const r=document.createElement("button");r.setAttribute("index",t.toString());const n=document.createElement("div");n.textContent=e,0===t&&(r.classList.add("active"),n.classList.add("active")),this.elements.get("buttonsContainer").appendChild(r),this.elements.get("textsContainer").appendChild(n)}),this.elements.get("buttonsContainer").querySelectorAll("button").forEach(e=>{e.addEventListener("click",()=>this.onClick(e))}),g_configuration.panel_right_show_programimages_selection?pM.on("ProgImagesWindowComponent.hide",()=>this.startTimer()):this.startTimer()}adjustIndex(e){return e>this.texts.length-1&&(e=0),e<0&&(e=this.texts.length-1),e}startTimer(){this.stopTimer(),this.timeoutHandler=setInterval(()=>{this.showNext()},this.duration)}stopTimer(){clearInterval(this.timeoutHandler)}show(e){this.elements.get("textsContainer").querySelector("div.active").classList.remove("active"),this.elements.get("buttonsContainer").querySelector("button.active").classList.remove("active"),e=this.adjustIndex(e),this.currentActiveIndex=e,this.elements.get("textsContainer").querySelectorAll("div").item(e).classList.add("active"),this.elements.get("buttonsContainer").querySelectorAll("button").item(e).classList.add("active")}showNext(){this.show(++this.currentActiveIndex)}showPrevious(){this.show(--this.currentActiveIndex)}onClick(e){this.startTimer();const t=parseInt(e.getAttribute("index"));this.show(t)}}window.customElements.define("fv-user-hints",ame);const lme=function(){const e=function(){const e=this;this.htmlElement=$("<div></div>").addClass("back-button").append($("<i></i>").attr("class","large arrow circle left icon")).on("vclick",function(t){e.onClick(t)}),this.hide()};return e.prototype.getHtmlElement=function(){return this.htmlElement},e.prototype.onClick=function(e){e.preventDefault(),fme.InteriorDesign.goBack()},e.prototype.hide=function(){this.htmlElement.addClass("hide")},e.prototype.show=function(){this.htmlElement.removeClass("hide")},e}(),cme=lme;class ume{constructor(e){this.hierarchy={},this.htmlElement=null,this.hierarchy=e,this.htmlElement=$("<div></div>").addClass("delete-button").append($("<i></i>").attr("class","large arrow trash icon")).on("vclick",e=>{this.onClick(e)}),this.hide()}getHtmlElement(){return this.htmlElement}onClick(e){e.preventDefault(),this.hierarchy.LoadDeleteView()}hide(){this.htmlElement.addClass("hide")}show(){this.htmlElement.removeClass("hide")}}var dme=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class hme{constructor(){this.currentType="initial",this.previousType=[],this.elements=[],this.hierarchyClass={},this.isAvailable=!1,this.domElement=null,this.uiElements={root:null,infoMessage:$("<div></div>").addClass("ui label orange large dhmc-hidden")},this.top=null,this.bottom=null,this.categoriesAvailable=!0,this.deletePage=!Bde.SingleSelectionEnabled&&!Bde.InteriorPropertiesEnabled,this.revision=0,this.reloadPromise=Promise.resolve(),this.initializePromise=Promise.resolve(),this.initializeFinished=null,this.initializePromise=new Promise(e=>{this.initializeFinished=e})}get Revision(){return this.revision}get Initialized(){return this.initializePromise}get CategoriesAvailable(){return this.categoriesAvailable}set CategoriesAvailable(e){this.categoriesAvailable=e}get IsAvailable(){return this.isAvailable}hide(e){for(let t=0;t<this.elements.length;t++)this.elements[t]&&this.elements[t].hide?this.elements[t].hide(e):console.log(typeof this.elements[t])}show(e){for(let t=0;t<this.elements.length;t++)this.elements[t]&&this.elements[t].show?this.elements[t].show(e):console.log(typeof this.elements[t])}renderTo(e){this.uiElements.root=e,this.isAvailable=this.uiElements.root&&this.uiElements.root.length>0,this.initializeFinished(),Bde.HasShowFittingAndPropTransfer&&this.uiElements.root.append(this.uiElements.infoMessage),this.bottom=$('<div class="bottom-content"></div>').appendTo(this.uiElements.root),this.uiElements.root.droppable(),this.uiElements.root.on("drop",()=>{})}setCurrentType(e,t){return dme(this,void 0,void 0,function*(){const r=++this.revision;if(this.isAvailable&&Bde.HasShowFittingAndPropTransfer)return this.reloadPromise.then(()=>{if(this.revision===r)return this.clearDomElement(),e?("deletePage"===this.currentType&&"deletePage"!==e&&FI.clearMarker(!0,NI.DELETE_PROPTRANSFER_ELEMENT),t||this.previousType.push(this.currentType),this.currentType=e,this.build(r)):(this.clear(),this.hierarchyClass.reloadHierarchy(r))})})}setElementsManual(e){this.elements=e}goBack(){if(this.previousType.length>0){const e=this.previousType.pop();this.setCurrentType(e,!0)}}clearDomElement(){this.top&&(this.top.empty(),this.top.remove()),this.bottom&&this.bottom.empty()}clear(){this.hierarchyClass.clear(),this.currentType="",this.previousType=[],this.clearDomElement()}update(e,t){return dme(this,void 0,void 0,function*(){return e&&(this.hierarchyClass=e),this.build(t)})}refreshDeleteButton(){return dme(this,void 0,void 0,function*(){if(Bde.HasShowFittingAndPropTransfer){const e=yield ape.getPropDelElems();if(this.bottom){this.bottom.find(".accessories-class").each((t,r)=>{const n=$(r).data("element");n&&(e&&e.Results?n.checkDeleteAccess(e.Results):n.hideDelete())})}}})}updateDeleteButton(e){const t=new ume(e);0===$(".delete-button").length&&ape.getPropDelElems().then(e=>{e.Results.length>0&&e.Results.forEach(e=>{if(lae.get(e.II)){let r=[];e.jsn?(r=this.hierarchyClass.getElementsByJSN(e.jsn),r.length>0&&this.top.append(t.getHtmlElement())):(r=this.hierarchyClass.getElementsByHPTID(e.manu+"_"+e.prog+"_"+e.pt_id),r.length>0&&this.top.append(t.getHtmlElement()))}})})}build(e){return dme(this,void 0,void 0,function*(){if(!Bde.HasShowFittingAndPropTransfer)return;this.clearDomElement();const t=new cme,r=yield ape.getPropDelElems();if(fme.InteriorDesign.Revision!==e)return;let n=null;if(this.deletePage&&this.hierarchyClass.countInstanceIDs()>1&&(n=new ume(this.hierarchyClass)),this.top&&(this.top.empty(),this.top.remove()),this.top=$('<div class="top-header hidden"></div>').prependTo(this.uiElements.root),this.previousType.length>0&&(this.top.removeClass("hidden"),this.top.append(t.getHtmlElement())),"deletePage"===this.currentType){(!r||r.Results&&0===r.Results.length)&&this.setCurrentType();const e=$("<div></div>").addClass("top-title").appendTo(this.top);$("<h1></h1>").text("Elemente entfernen").appendTo(e)}else this.currentType?(this.top.append('<div class="delete-content"></div>'),this.elements=this.hierarchyClass.getChildrenByID(this.currentType)):(this.deletePage&&r&&r.Results&&r.Results.length>0&&r.Results.forEach(e=>{if(lae.get(e.II)){this.hierarchyClass.getElementsByJSN(e.jsn).length>0&&n&&0===$(".delete-button").length&&(this.top.removeClass("hidden"),this.top.append(n.getHtmlElement()))}}),this.categoriesAvailable?this.elements=this.hierarchyClass.getSortedCategories(!0):this.elements=this.hierarchyClass.getElementsWithoutCategory());if(fme.InteriorDesign.Revision===e){this.bottom&&this.bottom.empty();for(let e=0;e<this.elements.length;e++)this.bottom.append(this.elements[e].buildDOM(r)),this.elements[e].buildProperties&&(yield this.elements[e].buildProperties(this.bottom)),this.elements[e]instanceof SI&&$(".accordion-group-component").find(".group-div").each((e,t)=>{$(t).data("element").isOpened&&$(t).trigger("click")});return!0}})}setMessage(e){if(Bde.InteriorPropertiesEnabled)return fme.InteriorPropertyContainer.setMessage(e);e===Hp.NONE?this.uiElements.infoMessage.addClass("dhmc-hidden"):(this.uiElements.infoMessage.removeClass("dhmc-hidden"),this.uiElements.infoMessage.text(boe.getValue(e)))}}var pme,mme=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};!function(e){e[e.PROPERTY_HIERARCHY=0]="PROPERTY_HIERARCHY",e[e.INTERIOR_DESIGN=1]="INTERIOR_DESIGN"}(pme||(pme={}));class _me{constructor(){this.uiElements={root:null,propertyHierarchy:null,interiorDesign:null,infoMessage:$("<div></div>").addClass("ui label orange dhmc-hidden"),infoMessageInteriorProperties:$("<p></p>")},this.onShowPropertyValues=e=>{Bde.InteriorPropertiesEnabled&&(this.uiElements.propertyHierarchy&&this.uiElements.propertyHierarchy.hide(e),this.uiElements.interiorDesign&&this.uiElements.interiorDesign.hide(e))},this.onHidePropertyValues=e=>{Bde.InteriorPropertiesEnabled&&(this.uiElements.propertyHierarchy&&this.uiElements.propertyHierarchy.show(e),this.uiElements.interiorDesign&&this.uiElements.interiorDesign.show(e))},this.uiElements.interiorDesign=new hme,this.uiElements.propertyHierarchy=Coe.createOrGetContainer("$propertyHierarchy"),this.uiElements.propertyHierarchy.OnShowPropertyValues=this.onShowPropertyValues,this.uiElements.propertyHierarchy.OnHidePropertyValues=this.onHidePropertyValues,this.uiElements.infoMessage.append(this.uiElements.infoMessageInteriorProperties)}get HasRenderRootContainer(){return!!this.uiElements.root}get PropertyHierarchy(){return this.uiElements.propertyHierarchy}get InteriorDesign(){return this.uiElements.interiorDesign}get HasInteriorProperties(){return this.uiElements.interiorDesign&&this.uiElements.interiorDesign.elements&&this.uiElements.interiorDesign.elements.length>0}addSelectionEvents(){const e=()=>mme(this,void 0,void 0,function*(){if(!g_configuration.disable_properties_on_selection&&!g_configuration.landingPage)return(Bde.SingleSelectionEnabled&&!g_configuration.webui_mode&&0===$le.objects.length&&lae.CountPO()>1?Promise.resolve({}):Yne.get({inUse:!0})).then(function(e){e&&(Bde.BlockGeneratedProperties||fme.PropertyContainer.build(e,!0))})});lae.addDeleteListener(e),LI.LastPOLoaded.register(e),$le.addEventListener([ble.HANDLE],e,null,1e4,!1);let t=[];$le.addEventListener(ble.BEFORE_DELETE,()=>{if($le.hierarchy=fme.InteriorDesign.hierarchyClass,$le.hierarchy){const e=[];for(let t=$le.objects.length-1;t>=0;t--){const r=$le.objects[t];for(let t=0;t<r.children.length;t++)if(r.children[t]instanceof Dme){e.push(r.children[t].instanceIdent);break}}t=$le.hierarchy.getDeleteElementsByInstanceIDs(e)}}),$le.addEventListener([ble.AFTER_DELETE],()=>ape.getPropDelElems().then(function(e){return e&&e.Results&&e.Results.length>0&&t.forEach(function(e){$le.hierarchy.addOrGetObjByID(e.parentID).removeChild(e.hid)}),$le.hierarchy&&($le.hierarchy.refreshHierarchy(),fme.InteriorDesign.update($le.hierarchy)),fme.InteriorPropertyContainer.update(),t=[],!0}),null,1e4,!0)}renderTo(e){this.addSelectionEvents(),this.uiElements.root=e,this.uiElements.root.prepend(this.uiElements.infoMessage)}renderChildrenToDefault(){const e=this.uiElements.root.find(".propertyHierarchy"),t=this.uiElements.root.find(".interior-property-design-fitting-articles");e&&e.length&&this.uiElements.propertyHierarchy.renderTo(e),t&&t.length&&this.uiElements.interiorDesign.renderTo(t)}update(){this.PropertyHierarchy.build(),this.InteriorDesign.setCurrentType()}setMessage(e){e!==Hp.PLEASE_SELECT_ELEMENT?this.setMessageByElement(Hp.NONE):this.setMessageByElement(e)}setMessageByElement(e){e===Hp.NONE?(this.uiElements.infoMessageInteriorProperties.addClass("dhmc-hidden"),this.uiElements.infoMessageInteriorProperties.hasClass("dhmc-hidden")&&this.uiElements.infoMessage.addClass("dhmc-hidden")):(this.uiElements.infoMessage.removeClass("dhmc-hidden"),this.uiElements.infoMessageInteriorProperties.removeClass("dhmc-hidden"),this.uiElements.infoMessageInteriorProperties.text(boe.getValue(e)))}}var gme=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};const fme=new class{showArticleGroupPage(){FurnplanKataTreeInterface.postMessage("furnplan.sendHtmlElementEvent",["articleGroupButton","click"])}showMaximumDiscountPage(){FurnplanKataTreeInterface.postMessage("furnplan.sendHtmlElementEvent",["maximumDiscountButton","click"])}constructor(){this.RenderDiv=null,this.catalogueBuilder=null,this.pickHandler=Poe,this.fullscreenActions={enable:null,disable:null,isFullscreen:null},this.printData=null,this.printerList=[],this.interiorPropertyContainer=new _me,this.renderContainer=null,this._WIDTH=10,this._HEIGHT=10,Rm.on("AskUserConfirmationToSaveCurrentPlanning",()=>{fme.askUserConfirmationToSaveCurrentPlanning()}),Rm.on("DiscountChanged",()=>{this.propagateAppConnectionDataUpdate()})}get WIDTH(){return(!isNaN(this._WIDTH)&&this._WIDTH>0?this._WIDTH:128)*Bde.SceneRenderScaleFactor}set WIDTH(e){this._WIDTH=!isNaN(e)&&e>0?e:128}get HEIGHT(){return(!isNaN(this._HEIGHT)&&this._HEIGHT>0?this._HEIGHT:128)*Bde.SceneRenderScaleFactor}set HEIGHT(e){this._HEIGHT=!isNaN(e)&&e>0?e:128}get PropertyContainer(){return this.InteriorPropertyContainer.PropertyHierarchy}get InteriorDesign(){return this.InteriorPropertyContainer.InteriorDesign}get InteriorPropertyContainer(){return this.interiorPropertyContainer}get RenderContainer(){return this.renderContainer||(this.renderContainer=$("#renderContainer"),1!==this.renderContainer.length&&(this.renderContainer=$("body"))),this.renderContainer}setSettings(e,t){const r=$("#"+e);return!(!r||1!==r.length)&&(t?r.checkbox("check"):r.checkbox("uncheck"),!0)}initialize(e){if(this.catalogueBuilder=new vpe(new mpe),this.RenderDiv=document.getElementById("canvasTHREE"),null===this.RenderDiv||void 0===this.RenderDiv)return alert("no render container specified"),!1;this.WIDTH=this.RenderDiv.clientWidth,this.HEIGHT=this.RenderDiv.clientHeight;Wp.getModelInfo()}setViewSettings(e,t){if(Bde.DontToggle=!0,"SSAO"===t)Bde.VectorBasedSSAOEffect=e;else if("shadow"===t)setTimeout(()=>{Ame.BlockRendering=!0,Bde.ShowShadows=e,Aue.enableShadows(e),Ame.BlockRendering=!1},e?0:-1!=navigator.userAgent.indexOf("Firefox")?200:0);else if("mirror"===t)Bde.MirrorEffect=e,Fde.GroundMirror&&(Fde.GroundMirror.MirrorEnabled=e);else if("lines"===t){const t=Bde;t.ShowLines=e,aae.ShowLines(t.ShowLines)}else"pickMode"===t?e?$("#btnPickMode").fadeIn({easing:"linear"}):$("#btnPickMode").fadeOut({easing:"linear"}):"toggleRenderer"===t?(Aue.isLowQuality=!e,Fde.GroundMirror&&Fde.RefreshFloor(this.WIDTH,this.HEIGHT)):"OutdoorLighting"===t&&(Yce.setLightingScenario(e?"Outdoor":"Indoor"),aae.setLightingScenario(e?"Outdoor":"Indoor"));Ame.requestRendering()}initializeDOM(){return gme(this,void 0,void 0,function*(){Bde.WizardEnabled&&(yield boe.setLanguage(g_language),Cpe.buildSteps(),setTimeout(()=>{$(".dhStep").click(this.initializeOpener),$("#finale-panel-opener").click(t),setTimeout(()=>{this.initWizard(),setTimeout(()=>{$("#optionsMenu").removeClass("bottom left pointing"),setTimeout(()=>{wpe.loadCustomize()},0)},0)},0)},0));const e=()=>gme(this,void 0,void 0,function*(){const e=yield ape.printPDF();e.cloudId?($("#btnSendHomeviewerRequest").attr("disabled",!1),$("#btnSendHomeviewerRequestToSelf").attr("disabled",!1)):($("#btnSendHomeviewerRequest").attr("disabled",!0),$("#btnSendHomeviewerRequestToSelf").attr("disabled",!0));const t=e.cloudId.replace(/^(.{4})/,"$1 ");$("#labelHomeviewerCloudId").text(t),$("#inputHomeviewerFinishPlanningEmail").parent().removeClass("error"),$("#inputHomeviwerFinishPlanningEmail").val(""),$("#modalHomeviewerFinishPlanning").modal("show")}),t=()=>{ape.printPDF().then(e=>{this.printData=e,$("#btnDownloadPDF").off("click"),e.cloudId&&e.server&&e.pdf?($("#btnDownloadPDF").attr("disabled",!1),$("#btnSendMail").attr("disabled",!1),$("#btnSendMail").data("server",e.server),$("#btnDownloadPDF").click(()=>{this.loadPDF(e)})):($("#btnDownloadPDF").attr("disabled",!0),$("#btnSendMail").attr("disabled",!0));let t=this.printData.cloudId.split("");t.splice(4,0," "),t=t.join(""),$("#labelCloudId").text(t),$("#inputFinishPlanningEmail").parent().removeClass("error"),$("#inputFinishPlanningEmail").val(""),$("#modalFinishPlanning").modal("show")})};$(document).ready(()=>{const r=document.querySelector("#btnFurnplanCameraMode");if(r&&r.addEventListener("click",()=>{Bde.FurnplanCameraMode=!Bde.FurnplanCameraMode}),g_configuration.enable_wizard_generic&&($("body").removeClass("ui dimmable dimmed"),$(".dhmc-message-container").remove(),foe.initializeWizard()),Bde.InteriorPropertiesEnabled){const e=$("#interior-property-container");e&&e.length&&(this.interiorPropertyContainer.renderTo(e),this.interiorPropertyContainer.renderChildrenToDefault(),this.interiorPropertyContainer.PropertyHierarchy.CheckExclusion=!0,this.interiorPropertyContainer.InteriorDesign.CategoriesAvailable=!1)}else{const e=$("#afTree");Bde.HasShowProperties&&e&&e.length&&this.interiorPropertyContainer.PropertyHierarchy.renderTo(e,!0);const t=$("#interior-design-fitting-articles");Bde.HasShowFittingAndPropTransfer&&t&&t.length&&this.interiorPropertyContainer.InteriorDesign.renderTo(t)}Ame.requestRendering(),Wp.getType()!==Mp.MOBILE||Bde.MobileRestrictionDisable||(Bde.MirrorEffect=!1,Bde.VectorBasedSSAOEffect=!1,$("#mirrorEffect").parent().css("display","none"),$("#vectorBasedSSAOEffect").parent().css("display","none"));const n=g_configuration.manu_logo;if(n){$("#dhmc-logo-furnview").attr("src",n).error(()=>{$("#dhmc-logo-furnview").attr("/images/furnview.png")});var i=$("#imgPrintLogoContact").attr("src",n).load(()=>{i.removeClass("dhmc-hidden"),i.on("dragstart",!1)}).error(()=>{i.remove()})}this.checkFullscreenCapability(),$("#camRot").click(()=>{aue.CurrentCameraControl.AutoRotate=!aue.CurrentCameraControl.AutoRotate});$(Aue.TRenderer.getContext.canvas).on("mousedown",e=>{const t=n=>{(e.pageX-n.pageX>5||e.pageY-n.pageY>5||e.pageX-n.pageX<-5||e.pageY-n.pageY<-5)&&($(Aue.TRenderer.getContext.canvas).off("mouseup",r),$(Aue.TRenderer.getContext.canvas).off("mousemove",t))},r=()=>{$("#configTypesPanel input").trigger("blur"),iie.Visible()&&iie.Selection(e.pageX,e.pageY,aue.CurrentCamera,aue.CurrentCameraControl.DomElement),$(Aue.TRenderer.getContext.canvas).off("mouseup",r),$(Aue.TRenderer.getContext.canvas).off("mousemove",t)};$(Aue.TRenderer.getContext.canvas).on("mouseup",r),$(Aue.TRenderer.getContext.canvas).on("mousemove",t)}),$(".ui.radio.checkbox").checkbox(),$(".ui.accordion").accordion(),$(".ui.dropdown").dropdown(),$(".menu .item").tab(),Bde.ShowShadows?($("#shadowEffect").checkbox("check"),aae.ChangeShadowState(!0)):($("#shadowEffect").checkbox("uncheck"),aae.ChangeShadowState(!1)),Bde.ShowLines?$("#lines").checkbox("check"):$("#lines").checkbox("uncheck"),Wp.getType()===Mp.DESKTOP&&(Bde.MirrorEffect?$("#mirrorEffect").checkbox("check"):$("#mirrorEffect").checkbox("uncheck")),Bde.VectorBasedSSAOEffect?$("#vectorBasedSSAOEffect").checkbox("check"):$("#vectorBasedSSAOEffect").checkbox("uncheck");var o=()=>{cI.hideModal("modalLogoutConfirmation"),rse.backToApp(),Fm.removeKeyEvent(13,o),Fm.removeKeyEvent(27,s)},s=()=>{cI.hideModal("modalLogoutConfirmation"),Fm.removeKeyEvent(13,o),Fm.removeKeyEvent(27,s)};const a=cI.addModal("modalLogoutConfirmation",s,o,!0);if($("#btnLogoutModal").click(()=>{cI.showModal("modalLogoutConfirmation",!0),Fm.addUpKeyEvent(13,a.approve),Fm.addUpKeyEvent(27,a.deny)}),$("#btnFullscreen").click(()=>{this.toggleFullscreen()}),$(".languageSelector").click(e=>{const t=$(e.currentTarget);boe.setLanguage(t.data("lang"))}),$("#btnToggleFront").click(()=>{this.toggleFront()}),$(".dhStepSpecial").click(function(e){$(".dhStepSpecial").removeClass("active");const t=$(e.currentTarget);t.addClass("active"),t.hasClass("start")?(Zpe.show(),Yte.hide()):Zpe.hide()}),$(".dhStepSpecialFM").click(function(e){$(".dhStepSpecialFM").removeClass("active");$(e.currentTarget).addClass("active")}),$(".dhStepSpecialST").click(function(e){$(".dhStepSpecialST").removeClass("active");$(e.currentTarget).addClass("active")}),$("#wizardSpecialStep2fm").click(function(e){Yte.hide(),FurnplanKataTreeInterface.postMessage("furnplan.loadKataPage",["nolteg","MAR2","wizard/MAR2_Wizard_Moebel"])}),$("#wizardSpecialStep2ST").click(function(e){Yte.hide(),FurnplanKataTreeInterface.postMessage("furnplan.loadKataPage",["spectral","COCO","wizard/StepTwo"])}),upe.on("furnplan.kataTreeComponentLoaded",function(){g_configuration.enable_wizard_fm&&FurnplanKataTreeInterface.postMessage("furnplan.loadKataPage",["nolteg","MAR2",g_configuration.furnview_old_kata_tree_start_page]),g_configuration.enable_wizard_st&&FurnplanKataTreeInterface.postMessage("furnplan.loadKataPage",["spectral","COCO","wizard/StepTwo"])}),$("#wizardSpecialStep3fm").click(function(e){Yte.hide(),FurnplanKataTreeInterface.postMessage("furnplan.loadKataPage",["nolteg","MAR2","wizard/MAR2_Wizard_Ausfuehrung"])}),$("#wizardSpecialStep4fm").click(function(e){Yte.hide(),FurnplanKataTreeInterface.postMessage("furnplan.loadKataPage",["nolteg","MAR2","wizard/MAR2_Wizard_Fitting"])}),$("#wizardSpecialStep3ST").click(function(e){Yte.hide(),FurnplanKataTreeInterface.postMessage("furnplan.loadKataPage",["spectral","COCO","wizard/StepThree"])}),$("#wizardSpecialStep4ST").click(function(e){Yte.hide(),FurnplanKataTreeInterface.postMessage("furnplan.loadKataPage",["spectral","COCO","wizard/StepFour"])}),$("#wizardSpecialStep2").click(function(e){Yte.hide(),FurnplanKataTreeInterface.postMessage("furnplan.loadKataPage",["intermeble","UNIT","wizard/UNIT_Wizard_Moebel"])}),$("#wizardSpecialStep3").click(function(e){Yte.hide(),FurnplanKataTreeInterface.postMessage("furnplan.loadKataPage",["intermeble","UNIT","wizard/UNIT_Wizard_Ausfuehrung"])}),$("#wizardSpecialStep4").click(function(e){Yte.hide(),FurnplanKataTreeInterface.postMessage("furnplan.loadKataPage",["intermeble","UNIT","wizard/UNIT_Wizard_Fitting"])}),$("#wizardSpecialStep5").click(function(e){return gme(this,void 0,void 0,function*(){"nolteg"===g_manufacturer?FurnplanKataTreeInterface.postMessage("furnplan.loadKataPage",["nolteg","MAR2","wizard/MAR2_Wizard_Shop"]):FurnplanKataTreeInterface.postMessage("furnplan.loadKataPage",["intermeble","UNIT","::blank"]),yield ape.printPDF()})}),upe.on("furnplan.finishWizardSpecialConfiguration",()=>$("#wizardSpecialStep5").trigger("click")),$("#btnUndo").click(function(e){return gme(this,void 0,void 0,function*(){yield ape.undoDhp()})}),$("#btnRedo").click(function(e){return gme(this,void 0,void 0,function*(){yield ape.redoDhp()})}),$("#btnMeasureBox").click(e=>{const t=$(e.currentTarget);Bde.GlobalMeasureBox=!Bde.GlobalMeasureBox,Bde.GlobalMeasureBox?t.addClass("highlighted"):t.removeClass("highlighted")}),$("#btnSnapping").click(e=>{const t=$(e.currentTarget);ape.setSnapping(!t.hasClass("highlighted")).then(e=>{e?t.addClass("highlighted"):t.removeClass("highlighted")})}),$("#btnPickMode").click(()=>{this.pickHandler.toggleMode()}),$("#btnInfo").click(()=>{$("#modalInfo").modal("show")}),$("#getWallAction").click(()=>{try{ape.GetWallByName($("#inputGetWallAction").val())}catch(e){alert(e.message)}}),$("#getAccessories").click(()=>{try{ape.PlacerSetDir(Op.RIGHT).then(()=>{ape.PlacerAddObject({ManuHash:"6a994122",ProgHash:"a68257f7",ArticleNumber:$("#inputGetAccessories").val(),extParam:{}},new br,"1").then(()=>{})})}catch(e){alert(e.message)}}),$("#addFitting").click(()=>{Noe.buildAccessories({fipr:"dhd1",p_hash:"6043efd1",m_hash:"6a994122",manu:"_global",prog:"dhd1",id:"0815abcd",II:25},{A:"9982",TE:"Window",J:"9982"},Yoe.hierarchies.wallHierarchy).buildDOM().appendTo($("#dragableFittingContent"))}),$("#addMaterial").click(()=>{const e=Hoe.buildAccessories({ABL:"",AN:"",CatPuffer:"",Cat_:"",DI:"h/wall/images/WAND_67.jpg",EFN:"0|13202|0",GI:"",GKey:"13202_G",GTID:"",Key:13202,MGI:"",MHASH:"6a994122",MMs:0,Mechm:7,PHASH:"6a994122",PL:0,RM:0,TID:"",elements:[{HPTID:"6a994122_6a994122_0|13202|0",MHASH:"6a994122",PHASH:"6a994122",II:23}],parentID:"4004422098",pt_id:"6a994122_6a994122_0|13202|0"},Yoe.hierarchies.wallElementHierarchy);e.addII(23),e.addII(50),$("#dragableMaterialContent").append(e.buildDOM())}),$("#showMeasureBox").click(()=>{Bde.GlobalMeasureBox=!Bde.GlobalMeasureBox}),$("#btnOpenTwoDView").click(()=>{}),Wp.getType()===Mp.DESKTOP?($("#showDialog").click(()=>{try{ape.ShowDialog()}catch(e){alert(e.message)}}),$("#showDebugging").click(()=>{window.dbg={Camera:aue,Scene:Dhe.TScene,DHMain:Ame,DHLOBase:Dme,TimeLine:Phe.TimeLine,NodeMaterials:ppe},Phe.DebugWindow.dbgWindow=window.open("DHdbg","DHdbg","width=800,height=600"),$(window).on("unload",()=>{Phe.DebugWindow.dbgWindow.close()})}),$("#showGraphicDebug").click(()=>{window.dbg={Scene:Dhe.TScene,DHMC:{DHMain:Ame,DHLOBase:Dme,TimeLine:Phe.TimeLine,NodeMaterials:ppe,GraphicManager:_le,GraphicPool:YE}},Phe.GraphicWindow.graphicWindow=window.open("DHValueDebug","DHValueDebug","width=800,height=600"),$(window).on("unload",()=>{Phe.GraphicWindow.graphicWindow.close()})}),$("#btnZoomIn").click(()=>{aue.CurrentCamera.ZoomIn()}),$("#btnZoomOut").click(()=>{aue.CurrentCamera.ZoomOut()}),$("#btnPanSwitch").click(e=>{const t=$(e.currentTarget);aue.CurrentCamera.TogglePanMode()?t.addClass("highlighted"):t.removeClass("highlighted")}),$("#btnToolbarAr").click(e=>{const t=document.querySelector("fv-ar-modal");t&&(e.stopPropagation(),e.preventDefault(),t.show())})):($("#btnZoomIn").remove(),$("#btnZoomOut").remove(),$("#btnPanSwitch").remove()),window.onhashchange=()=>{"#clear"===window.location.hash&&localStorage.clear()},$("#logScene").click(()=>{ape.logScene()}),$(".opener.right").click(e=>{const t=$(e.currentTarget);this.toggleOpenerAndRegister(t),e.stopPropagation()}),$(".opener.left").click(e=>{const t=$(e.currentTarget);this.toggleOpenerAndRegister(t),e.stopPropagation()}),$("#af-tree-opener").click(e=>{e.stopPropagation()}),$("#share-sidebar").click(e=>{JM.show()}),$("#toggle-sidebar").click(e=>{let t="show";const r=$("#right-panel-toolbar");$("#panelRight").hasClass("in")?(this.closeRightPanel(),t="hide",r.removeClass("opened"),$("#toolbar").removeClass("move-from-right"),rce.removeClass("move-from-right")):(this.openRightPanel(),t="show",r.addClass("opened"),$("#toolbar").addClass("move-from-right"),rce.addClass("move-from-right")),g_configuration&&g_configuration.panel_right_register_old_kata_tree&&Qte[t]()}),$("#panelRight").on("swiperight",e=>{$(e.currentTarget)}),g_configuration.show_measure_box_default&&(Bde.GlobalMeasureBox=!0),$("#sceneTree").length>0&&this.catalogueBuilder.init(),$("#kataTree").length>0){const e=g_configuration.panel_right_show_manufacturer_selection,t=g_configuration.panel_right_show_program_selection;window.g_article?Gre.initialize(e,t,window.g_article.calcManu||window.g_article.manu,window.g_article.prog):Gre.initialize(e,t)}else window.g_article&&ape.setManuProg(window.g_article.manu,window.g_article.prog,window.g_article.calcManu||"");if($("#kataTreeGeneric").length>0){let e=!1;g_configuration.input_start_kata_page&&g_configuration.input_start_kata_page.length>0&&(e=!0),foe.initialize(e).then(()=>{e&&foe.openKataPage(g_configuration.input_start_kata_page),$("#AccessoiresGeneric").length>0&&hoe.createInstance("_global","ACCE","accessoires").then(e=>(e.build(!1),e.modules[0].filter(),e)).delay(1500,e=>e).then(e=>{e.modules[0].filter()})})}Qte.initialize(),!g_configuration.new_hr_mode&&(g_configuration.wizard_sequence_hr>=1||g_configuration.panel_right_register_hybrid_reality)&&xpe.init(),$("#dhmc-logo-furnview, #dhmc-info-logo-dh").on("dragstart",!1),$("#renderContainer").on("mousedown mousewheel",()=>{Mme.CamAniClock.running&&(Mme.CamAniClock.stop(),Mme.CamAniClock.waitCB&&Mme.CamAniClock.waitCB())}),$("#colorWheelCursor").ready(()=>{Mie.init("[DH_AUSF_NCS]NCS_S0300-N")}),$("#loadCloudIDPopUP").popup({inline:!0,hoverable:!0,position:"bottom left",delay:{show:100,hide:500},popup:$(".lciPopup"),on:"click"});const l=e=>{const t=$("#cloudIDLoad"),r=$("#cloudIDLoadIcon");1===e.split(" ").length&&8===e.length&&(r.off("click"),t.addClass("loading"),$("#cloudIDLoad > input").prop("disabled",!0),r.prop("disabled",!0),r.removeClass("link"),ape.loadDhpByCloudID(e).then(()=>{r.on("click"),t.removeClass("loading"),$("#cloudIDLoad > input").prop("disabled",""),r.prop("disabled",""),r.addClass("link"),t.removeClass("error")}).catch(e=>{r.on("click"),t.removeClass("loading"),t.addClass("error"),$("#cloudIDLoad > input").prop("disabled",""),r.prop("disabled",""),r.addClass("link"),Nhe.hideDimmer()}))};$("#cloudIDLoad > input").keyup(e=>{13==e.keyCode&&l($("#cloudIDLoad > input").val())}),$("#cloudIDLoadIcon").click(()=>{l($("#cloudIDLoad > input").val())}),$(".panel").on("transitionend webkitTransitionEnd oTransitionEnd MSTransitionEnd",()=>{Ame.IsCssTransitionRunning=!1,aI.dispatch("resizeWindow")}),$("#btnDeliverAppData").click(()=>this.deliverAppData()),$("#btn-article-group").click(()=>this.showArticleGroupPage()),$("#btn-maximum-discount").click(()=>this.showMaximumDiscountPage()),Bde.WizardEnabled||($("#btnFinishPlanning").click(t),$("#btnFinishHomeviewerPlanning").click(e)),$("#btnSendMail").click(()=>gme(this,void 0,void 0,function*(){const e=$("#inputFinishPlanningEmail").val();$("#btnSendMail").data("server");if(e.length>0&&zme.validateEmail(e))try{this.sendMail(e,this.printData),$("#modalFinishPlanningEmailFinishMessage").modal({onApprove:()=>$("#modalFinishPlanning").modal("show")}).modal("show")}catch(e){console.error(e),$("#modalFinishPlanningErrorFinishMessage").modal({onApprove:()=>$("#modalFinishPlanning").modal("show")}).modal("show")}else $("#inputFinishPlanningEmail").parent().addClass("error")})),$.getUrlParam=e=>{const t=new RegExp("[?&]"+e+"=([^&#]*)").exec(window.location.href);return null==t?null:decodeURI(t[1])||0},g_configuration.panel_right_show&&g_configuration.panel_right_openInitially_do&&!Bde.WizardEnabled?$(document).ready(()=>{this.initiallyOpenRightPanel(),g_configuration.panel_right_register_old_kata_tree&&Qte.show()}):g_configuration.panel_right_register_old_kata_tree&&$(document).ready(()=>{Qte.hide()}),document.addEventListener("pointerup",e=>{oae.send("internal.pointer.up",Object.assign({},e))}),document.addEventListener("touchmove",e=>{((e=e.originalEvent||e).scale>1||2===e.changedTouches.length)&&e.preventDefault()},!1),document.addEventListener("touchstart",function(e){e.touches.length>=2&&e.preventDefault()},{passive:!1}),$(".opener").click(this.initializeOpener),document.addEventListener("gesturestart",e=>{e.preventDefault()}),this.initializeOpener(),Bde.WizardEnabled&&g_configuration.enable_wizard_fm&&g_configuration.enable_wizard_st||new Tpe,new Mpe,boe.updateTexts();const c=e=>gme(this,void 0,void 0,function*(){const t=dpe.get("/homeviewer/send-request");try{yield $.post(t,{number:$("#labelHomeviewerCloudId").text(),firstName:$("#inputHomeviewerRequestNameFirst").val(),lastName:$("#inputHomeviewerRequestNameLast").val(),phone:$("#inputHomeviewerRequestPhone").val(),message:$("#inputHomeviewerRequestMessage").val(),toMyselfOnly:e});$("#modalHomeviewerFinishPlanningRequestFinishMessage").modal({onApprove:()=>$("#modalHomeviewerFinishPlanning").modal("show")}).modal("show")}catch(e){console.log(e),$("#modalHomeviewerFinishPlanningErrorFinishMessage").modal({onApprove:()=>$("#modalHomeviewerFinishPlanning").modal("show")}).modal("show")}});$("#btnSendHomeviewerRequest").on("click",()=>{c(!1)}),$("#btnSendHomeviewerRequestToSelf").on("click",()=>{c(!0)}),$("#btnShareHomeviewerByMail").on("click",()=>gme(this,void 0,void 0,function*(){const e=dpe.get("/homeviewer/share-by-mail");try{yield $.post(e,{number:$("#labelHomeviewerCloudId").text()});$("#modalHomeviewerFinishPlanningEmailFinishMessage").modal({onApprove:()=>$("#modalHomeviewerFinishPlanning").modal("show")}).modal("show")}catch(e){console.log(e),$("#modalHomeviewerFinishPlanningErrorFinishMessage").modal({onApprove:()=>$("#modalHomeviewerFinishPlanning").modal("show")}).modal("show")}})),cI.addModal("projectManagerOverwritePlanningModal",()=>{},e=>gme(this,void 0,void 0,function*(){const t=yield ape.getDhpAsBase64(),r=yield this.getCanvasPngAsBase64();e.hasClass("overwrite")?fM.overwrite(t,r):e.hasClass("new")&&fM.save(t,r)})),this.refreshPrinterList(),cI.addModal("printerSelectionModal",()=>{},()=>gme(this,void 0,void 0,function*(){try{const e=$("#printerSelectionList").find("input:checked").val(),t=yield this.getCanvasJpgAsBase64();ape.sendPdfToMhs(e,t)}catch(e){console.error(e)}})),cI.addModal("askUserConfirmationToSaveCurrentPlanning",()=>{},e=>gme(this,void 0,void 0,function*(){let t=!0;if(e.hasClass("yes")){const e=yield ape.getDhpAsBase64(),r=yield fme.getCanvasPngAsBase64();if(fM.isPlanningFromProjectManager())fM.overwrite(e,r);else{t=(yield fM.showSaveDialog(e,r)).success}}t&&(fM.setPlanningFromProjectManager(!1),ape.doActionSimpleCL(3997))}))}),$("#langFlag").addClass(g_language),Gde.searchAndInit();const r=$("#takeScreenshot");r.length>0&&r[0].addEventListener("click",()=>{uhe.download()},!1),Phe.createDebugArea(),$(".dhmcTooltip").popup(),$(".settingsSelector").click(e=>{e.stopPropagation()});const n=this;let i;$(".settingsSelector").checkbox({onChange:function(){n.setViewSettings(this.checked,this.dataset.effect)}}),$("#wallPanel").length>0&&ape.getWallConfigurations().then(e=>{}),$("#btnARApp").click(()=>{if(Xce.IsActive)Xce.PickMode=!Xce.PickMode;else{if($("#btnARApp").addClass("dhmc-hidden"),g_configuration.toolbar_button_furnview_app)return upe.startARMode(),!0;ise.freezeNode().then(e=>{const t=window.location.href.indexOf("session"),r=window.location.href+"&aToken="+e.aToken;let n=g_sessionId;-1!==t&&g_sessionId!==e.session&&(n=window.location.href.substr(t));const i={url:r,data:zme.getBase64(JSON.stringify({query:window.location.search,session:n,token:e.token}),!0,!0)},o=zme.getBase64(JSON.stringify(i),!1,!0);window.open("furnplanar://"+o,"_self")})}});$("#btnARStop").click(()=>{(()=>{if(!i){i=!0;const e=()=>{const e=lae.getPOGuids();ape.deleteLO(e).then(function(){return Dhe.clearScene(!0,!0,!0)}).then(function(){cI.hideModal("modalStopARConfirmation"),Xce.PickMode=!1,upe.sendToApp("stopAR")})},t=()=>{cI.hideModal("modalStopARConfirmation"),Xce.PickMode=!1,upe.sendToApp("stopAR")};cI.addModal("modalStopARConfirmation",t,e,!0,!1)}})(),cI.showModal("modalStopARConfirmation",!0)}),rhe.checkVideo(g_configuration.input_video_url_help)||$("#btnOpenYouTube").addClass("dhmc-hidden"),$("#btnOpenYouTube").click(()=>{rhe.show("",""),rhe.loadVideo(g_configuration.input_video_url_help)})})}initWizard(){const e=$(".dhStep, .priceStep"),t=$(".dhStep:first-child"),r=$(".register.right"),n=$("#panelRight");n.addClass("fly in"),r.hide(),e.click(t=>{const i=$(t.currentTarget);this.setWizardStep({opener:i,steps:e,panels:r,panelContainer:n,parent:$("#"+i.attr("data-parent")),register:$("#"+i.attr("data-register"))})}),requestAnimationFrame(()=>t.trigger("click"))}showPreviousWizardStep(){this.setWizardStep(this.previousWizardStep)}setWizardStep(e){const t=e.parent,r=e.register;let n=null;this.previousWizardStep=this.currentWizardStep,this.currentWizardStep=e,document.querySelector("#panelRight").childNodes.forEach(e=>{"none"!==e.style.display&&(n=e)}),e.opener.hasClass("active")||0===e.opener.length&&n===r[0]?e.panelContainer.toggleClass("fly in"):(e.panelContainer.hasClass("fly in")||e.panelContainer.addClass("fly in"),e.panels.hide(),r.show(),e.steps.removeClass("active"),e.opener.addClass("active"),this.openRegister(e.opener,t,r))}toggleFullscreen(){this.fullscreenActions.isFullscreen()?this.fullscreenActions.disable.call(document):this.fullscreenActions.enable.call(document.body,Element.ALLOW_KEYBOARD_INPUT)}getSideOf(e){return e.hasClass("left")?"left":e.hasClass("right")?"right":""}getPanelOf(e){return e.hasClass("panel")?e:$("#"+e.attr("data-parent"))}hideRegisters(e){e&&""!==e?$(".register."+e).hide():$(".register").hide()}showRegister(e){e[0]&&e[0].id&&(Bde.OpenedPanel=e[0].id,e.show(),"settings-panel"===Bde.OpenedPanel&&e.data("instance").build())}flyInPanel(e){Ame.IsCssTransitionRunning=!0,e.addClass("fly in")}flyOutPanel(e){Ame.IsCssTransitionRunning=!0,e.removeClass("fly in")}isRightPanelVisible(){return $("#panelRight").hasClass("fly in")}swipeHandler(e){const t=$(e.currentTarget);e.stopPropagation();const r=e.data.uiHandler.getPanelOf(t),n=e.data.uiHandler.getSideOf(r);"swipeleft"===e.type&&"right"==n&&e.data.uiHandler.flyInPanel(r),"swiperight"===e.type&&"right"==n&&e.data.uiHandler.flyOutPanel(r),"swiperight"===e.type&&"left"==n&&e.data.uiHandler.flyInPanel(r),"swipeleft"===e.type&&"left"==n&&e.data.uiHandler.flyOutPanel(r),e.data.uiHandler.unhighlightOpeners(n)}highlightOpener(e){if(e){e.addClass("highlight"),e.parent().addClass("opened");let t="left";e.hasClass("right")&&(rce.addClass("move-from-right"),t="right"),$("#toolbar").addClass("move-from-"+t)}}unhighlightOpeners(e){const t=$(".opener."+e);t.removeClass("highlight"),t.parent().removeClass("opened"),t.hasClass("right")&&rce.removeClass("move-from-right"),$("#toolbar").removeClass("move-from-"+e)}closeRightPanel(){this.flyOutPanel($("#panelRight"))}openProgPropertyRegister(){const e=$("#af-tree-opener"),t=$("#"+e.attr("data-register")),r=$("#"+e.attr("data-parent"));this.openRegister(e,r,t)}closeProgPropertyPanel(){$("#afTree").trigger("swiperight")}openRightPanel(){this.flyInPanel($("#panelRight"))}openRegister(e,t,r){const n=this.getSideOf(t);if(n&&""!==n){if(Bde.IsFurnplanMode&&(ape.SetFrontPickMode(!1),Qp.send("stopIndividualWallAction"),e))if("old-kata-tree-panel-opener"===$(e)[0].id)try{const e=Qte.getManufacturer();e&&"huelsta"==e?FurnplanKataTreeInterface.postMessage("furnplan.showPanel",["individual-kata-tree-root"]):FurnplanKataTreeInterface.postMessage("furnplan.showPanel",["kata-tree-root"])}catch(e){console.log("Unable to show individual kata tree"),FurnplanKataTreeInterface.postMessage("furnplan.showPanel",["kata-tree-root"])}else"old-accessories-panel-opener"===$(e)[0].id?Qte.isCatalogInitialized().then(()=>{FurnplanKataTreeInterface.postMessage("furnplan.showPanel",["configdlg-wrapper","configdlg-wrapper-page","/furnplan/_global/_global/html/h/accessoires/index.html"]),ape.SetFrontPickMode(!0)}):"old-wall-selection-panel-opener"===$(e)[0].id?Qte.isCatalogInitialized().then(()=>{FurnplanKataTreeInterface.postMessage("furnplan.showPanel",["configdlg-wrapper","configdlg-wrapper-page","/furnplan/_global/_global/html/h/wall/2004-index.html"])}):"old-furnray-panel-opener"===$(e)[0].id?Qte.isCatalogInitialized().then(()=>{FurnplanKataTreeInterface.postMessage("furnplan.showPanel",["configdlg-wrapper","configdlg-wrapper-page","/furnplan/_global/_global/html/h/export/fr.html"])}):"old-homeviewer-panel-opener"===$(e)[0].id&&Qte.isCatalogInitialized().then(()=>{FurnplanKataTreeInterface.postMessage("furnplan.showPanel",["configdlg-wrapper","configdlg-wrapper-page","/furnplan/_global/_global/html/h/export/fv.html"])});this.flyInPanel(t),this.hideRegisters(n),this.showRegister(r),this.unhighlightOpeners(n),this.highlightOpener(e)}}closeRegister(e){this.flyOutPanel(e);const t=this.getSideOf(e);this.unhighlightOpeners(t)}highlightOpenerAndOpenRegister(e){const t=$("#"+e.attr("data-register")),r=$("#"+e.attr("data-parent"));this.openRegister(e,r,t),g_configuration&&g_configuration.panel_right_register_old_kata_tree&&e.hasClass("right")&&Qte.show()}toggleOpenerAndRegister(e){$("#"+e.attr("data-register"));const t=$("#"+e.attr("data-parent"));e.hasClass("highlight")?(this.closeRegister(t),g_configuration&&g_configuration.panel_right_register_old_kata_tree&&e.hasClass("right")&&Qte.hide()):this.highlightOpenerAndOpenRegister(e)}checkFullscreenCapability(){this.fullscreenActions.enable=document.body.webkitRequestFullScreen||document.body.mozRequestFullScreen||document.body.msRequestFullscreen||document.body.requestFullscreen||null,this.fullscreenActions.disable=document.webkitCancelFullScreen||document.mozCancelFullScreen||document.msExitFullscreen||document.exitFullscreen||null,this.fullscreenActions.isFullscreen=(void 0!==document.fullscreen?()=>document.fullscreen:null)||(void 0!==document.mozFullScreen?()=>document.mozFullScreen:null)||(void 0!==document.webkitIsFullScreen?()=>document.webkitIsFullScreen:null)||(()=>!!document.fullscreenElement),this.fullscreenActions.enable&&this.fullscreenActions.disable&&$("#btnFullscreen").removeClass("dhmc-hidden")}adjustCatalogue(){this.catalogueBuilder.adjustCatalogue()}getWidth(){return this.RenderDiv?this.RenderDiv.clientWidth:0}getHeight(){return this.RenderDiv?this.RenderDiv.clientHeight:0}getRenderAspectRatio(){try{return this.getWidth()/this.getHeight()}catch(e){console.log("Invalid aspect ratio of render div: division by 0!")}return 1}initializeOpener(e){const t=e?$(e.currentTarget):[];mm.getViewMode()===Ep.AR?Bde.NoInteractionMode=!1:Mse.HRThemeManager.IsEnabled?(FI.clearMarker(!0,NI.DELETE_PROPTRANSFER_ELEMENT),Bde.NoInteractionMode=!1,Poe.setStrategy(Poe.pickNothing)):(t[0]&&"interior-design-panel-opener"===t[0].id?(FI.clearMarker(!0,NI.DELETE_PROPTRANSFER_ELEMENT),aae.ChangeFrontState(!1),Poe.setStrategy(Poe.pickBBox3),Bde.NoInteractionMode=!0):Poe.pickStrategy===Poe.pickBBox3?(aae.ChangeFrontState(!0),FI.clearMarker(!0,NI.DELETE_PROPTRANSFER_ELEMENT),Bde.NoInteractionMode=!1,Poe.setStrategy(Poe.pickGeometry)):(FI.clearMarker(!0,NI.DELETE_PROPTRANSFER_ELEMENT),Bde.NoInteractionMode=!1,Poe.setStrategy(Poe.pickGeometry)),fle.listOfSelectedTargets=$le.objects.slice(),aue.CenterPointNeedsUpdate=!0)}initiallyOpenRightPanel(){let e;g_configuration.panel_right_openInitially_register&&(e=$(`#${g_configuration.panel_right_openInitially_register}-opener.opener`)),e&&0!==e.length||(e=$(".opener").first()),g_configuration.webui_mode&&g_configuration.panel_right_register_properties&&"af-tree"===g_configuration.panel_right_openInitially_register&&this.openRightPanel(),this.toggleOpenerAndRegister(e)}loadPDF(e){$("#modalFinishPlanning").modal("hide"),Yte.showPDF(g_node_url_prefix,g_sessionId,e.pdf)}print(){ape.printPDF().then(e=>this.loadPDF(e))}toggleFront(){Bde.ShowFront=!Bde.ShowFront,aae.ChangeFrontState(Bde.ShowFront)}setFullWindowCanvas(e){const t=(e,r)=>{if(!Array.isArray(e)||e instanceof jQuery){const t="full-window-canvas",n=e instanceof jQuery?e:$(e);(r?n.addClass:n.removeClass).bind(n)(t)}else for(let n=0;n<e.length;n++)t(e[n],r)};screen.width/2<350&&$("#right-panel-toolbar").addClass("right-small"),t([this.RenderDiv,".mainContent","#panelRight","#right-panel-toolbar","#left-panel-toolbar","#panelLeft","#renderContainer",".control-toolbar-component","dhmc-furnplan-toolbar","#toolbar"],e),rce.setFullWindowCanvas(e)}setPrintCanvas(e){const t=(e,r)=>{if(!Array.isArray(e)||e instanceof jQuery){const t="hide-on-print",n=e instanceof jQuery?e:$(e);(r?n.addClass:n.removeClass).bind(n)(t)}else for(let n=0;n<e.length;n++)t(e[n],r)};screen.width/2<350&&$("#right-panel-toolbar").addClass("right-small"),t(["#panelRight","#right-panel-toolbar","#left-panel-toolbar","#panelLeft",".control-toolbar-component","dhmc-furnplan-toolbar","#toolbar"],e),rce.setFullWindowCanvas(e)}setHomeIndicatorView(e=!1){let t=$("#homeIndicatorContainer");rce.setIOSHINDMode(e),e?(0===t.length&&(t=$("<div></div>").attr("id","homeIndicatorContainer").addClass("dhmc-hidden").appendTo($("body"))),t.removeClass("dhmc-hidden"),$("#toolbarContainer").addClass("IOS-HIND"),$(".panel").addClass("IOS-HIND"),$(".panel-toolbar").addClass("IOS-HIND")):(t.addClass("dhmc-hidden"),$("#toolbarContainer").removeClass("IOS-HIND"),$(".panel").removeClass("IOS-HIND"),$(".panel-toolbar").removeClass("IOS-HIND"))}getCanvasJpgAsBase64(){return gme(this,arguments,void 0,function*(e=.95){return yield uhe.takeSnap(this.WIDTH,this.HEIGHT,"image/png",e,!0)})}getCanvasPngAsBase64(){return gme(this,arguments,void 0,function*(e=480){return yield uhe.takeSnap(e,e/(this.WIDTH/this.HEIGHT),"image/png",1,!0)})}setPrinterList(e){this.printerList=e,this.refreshPrinterList()}refreshPrinterList(){const e=$("#printerSelectionList");e.empty(),this.printerList.forEach(t=>{e.append(`\n                <div class="field">\n                    <div class="ui radio checkbox">\n                        <input id="printer-${t}" type="radio" name="printerShortName" value="${t}"/>\n                        <label for="printer-${t}">${t}</label>\n                    </div>\n                </div>\n            `)}),requestAnimationFrame(()=>{try{$(e.find("input").get(0)).prop("checked",!0)}catch(e){console.error(e)}})}askUserConfirmationToSaveCurrentPlanning(){lI.showModal("askUserConfirmationToSaveCurrentPlanning",!0)}waitForDOMUpdate(){return gme(this,void 0,void 0,function*(){return yield new Promise(e=>requestAnimationFrame(()=>requestAnimationFrame(()=>e())))})}sendMail(e,t,r){return gme(this,void 0,void 0,function*(){return yield $.post("/mail/finish-planning?session="+g_sessionId,{to:e,pdf:t.pdf,cloudId:t.cloudId,server:g_node_url_prefix,lang:g_language,configurationId:$.getUrlParam("a"),values:r})})}getAppConnectionData(){return gme(this,arguments,void 0,function*(e=!1,t=""){return yield ape.savePrintImageColor(),yield ape.getAppConnectionData(e,t)})}propagateAppConnectionDataUpdate(){return gme(this,void 0,void 0,function*(){let e;if(g_configuration.enable_app_connection_data_delegated){if(e=yield ape.getAppConnectionDataDelegated(),upe.sendToApp("furnview.pending_change"),0===Object.keys(e).length)return}else e=yield ape.getAppConnectionData();const t={USD:"$",EUR:"€",GBP:"£",JPY:"¥",CAD:"C$",AUD:"A$",CHF:"CHF",CNY:"¥",HKD:"HK$",NZD:"NZ$",SGD:"S$",INR:"₹",MXN:"Mex$",BRL:"R$",ZAR:"R",SEK:"kr",NOK:"kr",DKK:"kr",TRY:"₺",RUB:"₽"};t[e.currency]&&(e.currency=t[e.currency]),upe.dispatch("change",[e])})}renderFurnViewImage(e,t){return gme(this,void 0,void 0,function*(){const r=yield ape.createFurnrayUpload(e,t);yield this.waitForImage(r);return{cloudId:r,imageAsBase64:yield ape.getFurnrayUploadImage(r)}})}waitForImage(e){return gme(this,void 0,void 0,function*(){return new Promise((t,r)=>{clearInterval(this.intervalHandle),this.intervalHandle=setInterval(()=>gme(this,void 0,void 0,function*(){const n=yield ape.getFurnrayUploadStatus(e);try{"NEW"===n||"INPROGRESS"===n||("FINISHED"===n?(clearInterval(this.intervalHandle),t()):r("INVALID"===n?new Error("Invalid cloudId"):new Error("Status could not be retrieved!")))}catch(e){}}),3e3)})})}addToCart(){return gme(this,arguments,void 0,function*(e=[]){const t=[];g_configuration.webshopApi.parameters.forEach(e=>{const r=new URL(window.location.toString()).searchParams.get(e)||"";r.length>0&&t.push({parameter:e,value:r})});const r=yield ape.addToShoppingCart(t,e);try{"function"==typeof window.onWebShopCallback&&window.onWebShopCallback(...r)}catch(e){console.error("Unable to call custom shopping cart handler")}})}deliverAppData(){return gme(this,void 0,void 0,function*(){try{let e=yield ape.getCommission();if(0===e.length){for(;0===e.replace(/ /g,"").length;)e=yield Dpe.requestCommissionName();yield ape.setCommission(e)}Ope.setCommissionName(e)}catch(e){console.log(e)}try{const e=yield zM.getOrderNumber(),t=yield this.getAppConnectionData(!0,e);upe.dispatch("finish",[t])}catch(e){console.error(e),upe.dispatch("finish",[{}])}})}};var vme=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};let bme=class{constructor(){this._priority=1,this._isInitialized=!1}get Priority(){return this._priority}initialize(){this._isInitialized||(this._isInitialized=!0,this.getRoot().on("click touchstart",this.onClick))}onClick(e){var t;e.preventDefault(),e.stopPropagation(),Yse.SceneAction&&Yse.SceneAction===Tse&&(null===(t=Yse.SceneAction)||void 0===t||t.cancel())}};bme=vme([_m({template:'<div class="wall-component button cancel">\n                    <i class="icon big x"><i/>\n               </div>'})],bme);var yme=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};let $me=class{constructor(){this._priority=2,this._isInitialized=!1}get Priority(){return this._priority}initialize(){this._isInitialized=!0,this.getRoot().on("click touchstart",this.onClick)}onClick(e){var t;e.preventDefault(),e.stopPropagation(),Yse.SceneAction&&Yse.SceneAction===Tse&&(null===(t=Yse.SceneAction)||void 0===t||t.begin(!0))}};$me=yme([_m({template:'<div class="wall-component button finish">\n                    <i class="icon big check"><i/>\n               </div>'})],$me);var xme=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};let Sme=class{constructor(){this._components={},this._isActive=!1,this._components.cancel=new bme,this._components.finish=new $me}render(){Wp.getType()===Mp.MOBILE&&(Yse.InteractionMode===Pp.WALL_INDIVIDUAL?this._isActive||(this._isActive=!0,Object.keys(this._components).sort((e,t)=>this._components[e].Priority-this._components[t].Priority).forEach(e=>{this._components[e].initialize(),this.append(this._components[e].getRoot())})):(this.empty(),this._isActive=!1))}append(e){this.getElement("children").append(e)}empty(){this.getElement("children").empty()}};Sme=xme([_m({template:'<div class="wall-component root">\n                    <div class="children"></div>\n               </div>',parentSelector:"#renderContainer",elements:{children:".children"}})],Sme);const wme=new Sme;const Ame=new class{constructor(){this.selectionRevision=0,this.requestRenderTimeoutHandle=0,this.RENDER_DURATION=3e3,this.isCssTransitionRunning=!1,this.shouldRender=!1,this.blockRendering=!1,this.renderTimeout=null,this.Render=()=>{const e=this;document.hidden||(e.shouldRender||Xce.IsActive)&&(Xce.IsSnapMode||(!e.blockRendering&&(e.shouldRender||Xce.IsActive||Aue.TRenderer.xr.enabled)&&(aue&&aue.CurrentCameraControl&&aue.CurrentCameraControl.update(),AI.updateAll(),Aue.render()),Mme.animate()),Aue.TRenderer.xr.enabled||(this.renderTimeout&&(clearTimeout(this.renderTimeout),this.renderTimeout=null),this.renderTimeout=setTimeout(()=>{requestAnimationFrame(e.Render),this.renderTimeout&&(clearTimeout(this.renderTimeout),this.renderTimeout=null)},0)),Xce.IsSnapMode||(Bde.IsPlacerMode&&(Xce.IsActive&&rce.update(),wme.render()),e.selectionRevision!==$le.revision&&(e.selectionRevision=$le.revision,FI.clearMarker(!0),e.addMarkerWidgets()>0&&mm.getViewMode()!==Ep.AR&&!Bde.IsPlacerMode&&!fme.isRightPanelVisible()&&mm&&fme.openProgPropertyRegister(),e.progProperties&&e.progProperties.update()),Lse.update(),$ie.update()))}}set BlockRendering(e){this.blockRendering=e}get IsCssTransitionRunning(){return this.isCssTransitionRunning}set IsCssTransitionRunning(e){this.isCssTransitionRunning=e}initialize(e){}LoadSceneLocal(e,t,r,n,i){return t=void 0!==t?t:"hard",r=void 0!==r&&r,n=void 0===n||n,Bde.IsNewLoaded=n,e?(this.requestRendering(),Dhe.clearScene(r,n,!!e.World,!!e.World||!Bde.IsPlacerMode).then(()=>{const r=Phe.TimeLine.AddTimer("LoadSceneLocal");return aae.LoadLOHierarchy(e).then(o=>{if(!o)return null;if(o.instanceIdent=0,Mme.AnimationClock.running&&n&&(Mme.AnimationClock.stop(),null!==Bde.getLastValue("mirrorEffect")&&(Bde.MirrorEffect=Bde.getLastValue("mirrorEffect"))),i&&fme.InteriorDesign.IsAvailable&&(ase.isConnected()&&(fme.InteriorDesign.clear(),Yoe.getNewMods([],Yoe.hierarchies.inUseHierarchy).then(function(e){Yoe.parse(e,Yoe.hierarchies.inUseHierarchy),fme.InteriorDesign.setCurrentType()})),Bde.HasShowProperties&&ape.buildProperties({initialize:!0})),n){if(FI.clearMarker(),Mse.HRThemeManager.IsEnabled||Bde.NoCameraInteractionMode)aae.ShowLines(Bde.ShowLines);else{Bde.CameraFrontDefaultZoom||Bde.CameraDefaultZoom?aue.CurrentCamera.startZoom(t&&"hard"!==t&&"soft"===t&&!e.World,!1,!0):"hard"===t?0===lae.CountPO()||e.World?aue.CurrentCamera.GoToStart(!1):aue.CurrentCamera.startZoom(!1):"soft"===t&&(0===lae.CountPO()||e.World?aue.CurrentCamera.GoToStart(!0):aue.CurrentCamera.startZoom(lae.CountPO()>1));$("#lines > input").prop("checked",Bde.ShowLines)}Bde.DHAnimation_IsOpen=!1;$("#front > input").prop("checked",!0),Bde.ShowFront=!0}return fle.listOfSelectedTargets=$le.objects.slice(),iie.BuildWall(null,Dhe.TScene),Mse.HRThemeManager.update(),Phe.TimeLine.EndTimer(r),e})})):Promise.resolve({})}addMarkerWidgets(){for(let e=0;e<$le.objects.length;e++)FI.addSelection($le.objects[e]);return $le.objects.length}requestRendering(){this.shouldRender||(g_configuration.enable_experimental_auto_effect&&(Aue.switchRenderer("low"),Bde.MirrorEffect=!1),this.shouldRender=!0,this.Render()),clearTimeout(this.requestRenderTimeoutHandle),Xce.IsActive||(this.requestRenderTimeoutHandle=setTimeout(()=>{this.shouldRender&&(g_configuration.enable_experimental_auto_effect&&!Aue.is("hr")&&(g_configuration.enable_experimental_auto_high_effect?(Aue.switchRenderer("high"),Bde.MirrorEffect=!0):Aue.switchRenderer("default")),this.Render()),this.shouldRender=!1},this.RENDER_DURATION))}};class Cme{constructor(){this.PreEyePos=[0,0,0],this.PostEyePos=[0,0,0],this.PreDestPos=[0,0,0],this.PostDesPos=[0,0,0]}}class Eme{startAnimationRecursiv(e,t){if(e){if(e.AniControl instanceof Ime){e.matrix_org||(e.matrix_org=new xn,e.matrix_org=e.matrix.clone()),e.matrix=e.matrix_org.clone();const r=e.AniControl.CheckAnimationWithMatrix(t,e);e.matrix.elements=r.m,e.matrixAutoUpdate=!1}for(let r=0;r<e.children.length;r++)this.startAnimationRecursiv(e.children[r],t)}}startAnimation(e){this.startAnimationRecursiv(ZE.world,e)}checkAnimationTimeRecursiv(e){if(e){e.AniControl instanceof Ime&&(e.AniControl.CheckAnimationMinMax(),e.AniControl._parent=e);for(let t=0;t<e.children.length;t++)this.checkAnimationTimeRecursiv(e.children[t])}}checkAnimationTime(){const e=9999999;Mme.AnimationMaxTime=-e,Mme.AnimationMinTime=e,this.checkAnimationTimeRecursiv(ZE.world),Mme.AnimationMinTime!==e&&Mme.AnimationMaxTime!==-e||(Mme.AnimationMaxTime=0,Mme.AnimationMinTime=0)}}class Ime{constructor(){this.Animations=[],this.Pos=[0,0,0],this.Rot=[0,0,0],this.Dim=[1,1,1]}CheckAnimationWithMatrix(e,t){if(this.Animations.length<1)return;let r=new Cp.m44;r.m=t.matrix.elements;for(let t=0;t<this.Animations.length;t++){const n=this.Animations[t].A;if(!n)continue;const i=n.st-Mme.AnimationMinTime,o=n.du,s=n.st-Mme.AnimationMinTime+o;let a=0;if(e>s&&(a=1),e>=i&&e<=s){a=(e-i)/(s-i)}e>s||a>1?a=1:a<0&&(a=0);let l=0,c=0,u=0,d=0,h=0,p=0;switch(n.nt){case Mme.ANI_TRANSLATION:{const e=n.v1;d=Cp.AniCalcValueSmooth(0,e[0],a,n.at),h=Cp.AniCalcValueSmooth(0,e[1],a,n.at),p=Cp.AniCalcValueSmooth(0,e[2],a,n.at);r=Cp.addAniRotTransMatrix(0,0,0,d,h,p).multiply(r)}break;case Mme.ANI_ROTATION:{const e=n.v1;l=Cp.AniCalcValueSmooth(0,e[0],a,n.at),c=Cp.AniCalcValueSmooth(0,e[1],a,n.at),u=Cp.AniCalcValueSmooth(0,e[2],a,n.at);r=Cp.addAniRotTransMatrix(l*Cp.Deg2Rad,c*Cp.Deg2Rad,u*Cp.Deg2Rad,0,0,0).multiply(r)}break;case Mme.ANI_ARCROTATION:{l=0,c=0,u=0,d=0,h=0,p=0;const e=new Cp.RefVar(0),t=new Cp.RefVar(0),i=new Cp.RefVar(0);0===n.ax&&(Cp.calcRotationMove2DForAnimation(n.v1[1],n.v1[2],n.v2[1],n.v2[2],n.v3[1],n.v3[2],n.ro,a,i,e,t),l=i.Get(),h=e.Get(),p=t.Get()),1===n.ax&&(Cp.calcRotationMove2DForAnimation(n.v1[0],n.v1[2],n.v2[0],n.v2[2],n.v3[0],n.v3[2],n.ro,a,i,e,t),c=i.Get(),d=e.Get(),p=t.Get()),2===n.ax&&(Cp.calcRotationMove2DForAnimation(n.v1[0],n.v1[1],n.v2[0],n.v2[1],n.v3[0],n.v3[1],n.ro,a,i,e,t),u=i.Get(),d=e.Get(),h=t.Get()),0===n.dr&&(l=c=u=0);r=Cp.addAniRotTransMatrix(l*Cp.Deg2Rad,c*Cp.Deg2Rad,u*Cp.Deg2Rad,d,h,p).multiply(r)}break;case Mme.ANI_ROTATIONPOINT:{l=0,c=0,u=0,d=0,h=0,p=0;let e=0;e=1===n.at?Cp.AniCalcValueLinear(0,n.ro,a):Cp.AniCalcValueSmooth(0,n.ro,a,n.at);const t=new Cp.RefVar(0),i=new Cp.RefVar(0),o=new Cp.RefVar(0);switch(n.ax){case 0:Cp.rotateAboutPoint(n.v1[1],n.v1[2],e,i,o),h=i.Get(),p=o.Get(),h-=n.v1[1],p-=n.v1[2],h*=-1,p*=-1,l=e;break;case 1:Cp.rotateAboutPoint(n.v1[2],n.v1[0],e,o,t),p=o.Get(),d=t.Get(),p-=n.v1[2],d-=n.v1[0],p*=-1,d*=-1,c=e;break;case 2:Cp.rotateAboutPoint(n.v1[0],n.v1[1],e,t,i),d=t.Get(),h=i.Get(),d-=n.v1[0],h-=n.v1[1],d*=-1,h*=-1,u=e}r=Cp.addAniRotTransMatrix(l*Cp.Deg2Rad,c*Cp.Deg2Rad,u*Cp.Deg2Rad,d,h,p).multiply(r)}}}return t.updateMatrix(),r}CheckAnimationMinMax(){if(!(this.Animations.length<1))for(let e=0;e<this.Animations.length;e++){const t=this.Animations[e].A;t&&(t.st<Mme.AnimationMinTime&&(Mme.AnimationMinTime=t.st),t.st+t.du>Mme.AnimationMaxTime&&(Mme.AnimationMaxTime=t.st+t.du))}}}const Mme=new class{constructor(){this._cameraAnimationActive=!1,this._animationController=void 0,this.CurrentAniCamPosData=void 0,this.AnimationMinTime=0,this.AnimationMaxTime=0,this.ANI_DIMENSION=1,this.ANI_TRANSLATION=2,this.ANI_ROTATION=3,this.ANI_ARCROTATION=4,this.ANI_ROTATIONPOINT=5,this.AnimationClock=new _c,this.CamAniClock=new _c,this._animationController=new Eme,this.CurrentAniCamPosData=new Cme,$(document).ready(()=>{$("#btnAnimate").click(()=>{this.StartAnimation()})})}get AnimationController(){return this._animationController}EndAnimationRequest(){Mme.CamAniClock&&Mme.CamAniClock.running&&(Bde.CameraFixedView?(Mme.CamAniClock.stop(),aue.CurrentCamera.GoToPos({eye:Mme.CurrentAniCamPosData.PostEyePos,target:Mme.CurrentAniCamPosData.PostDesPos,animated:!1,endTime:0,waitCB:Mme.CamAniClock.waitCB})):(Mme.CamAniClock.stop(),Mme.CamAniClock.waitCB&&Mme.CamAniClock.waitCB()))}animate(){let e=0;if(Mme.CamAniClock&&Mme.CamAniClock.running){this._cameraAnimationActive=!0;const t=1e3*Mme.CamAniClock.getElapsedTime();if(t>Mme.CamAniClock.endTime){Mme.CamAniClock.stop(),Mme.CamAniClock.waitCB&&Mme.CamAniClock.waitCB(),e=1,e=Cp.easeInOutCubic(e,0,1,1);const t=Cp.DHGetVector(Mme.CurrentAniCamPosData.PreEyePos,Mme.CurrentAniCamPosData.PostEyePos),r=Cp.DHGetVector(Mme.CurrentAniCamPosData.PreDestPos,Mme.CurrentAniCamPosData.PostDesPos),n=Cp.DHBetrag(Mme.CurrentAniCamPosData.PreEyePos,Mme.CurrentAniCamPosData.PostEyePos),i=Cp.DHBetrag(Mme.CurrentAniCamPosData.PreDestPos,Mme.CurrentAniCamPosData.PostDesPos),o=Cp.DHGoVector(Mme.CurrentAniCamPosData.PreEyePos,n*e,t,!1),s=Cp.DHGoVector(Mme.CurrentAniCamPosData.PreDestPos,i*e,r,!1);Mme.SetCamPos(o,s)}else{e=t/Mme.CamAniClock.endTime,e=Cp.easeInOutCubic(e,0,1,1);const r=Cp.DHGetVector(Mme.CurrentAniCamPosData.PreEyePos,Mme.CurrentAniCamPosData.PostEyePos),n=Cp.DHGetVector(Mme.CurrentAniCamPosData.PreDestPos,Mme.CurrentAniCamPosData.PostDesPos),i=Cp.DHBetrag(Mme.CurrentAniCamPosData.PreEyePos,Mme.CurrentAniCamPosData.PostEyePos),o=Cp.DHBetrag(Mme.CurrentAniCamPosData.PreDestPos,Mme.CurrentAniCamPosData.PostDesPos),s=Cp.DHGoVector(Mme.CurrentAniCamPosData.PreEyePos,i*e,r,!1),a=Cp.DHGoVector(Mme.CurrentAniCamPosData.PreDestPos,o*e,n,!1);Mme.SetCamPos(s,a)}}else this._cameraAnimationActive&&(this._cameraAnimationActive=!1,Oce.Body&&Oce.Body.CameraComponent.updateCameraInputs());if(Mme.AnimationClock.running){Ame.requestRendering();const e=Mme.AnimationController,t=1e3*Mme.AnimationClock.getElapsedTime();let r=t;Bde.DHAnimation_IsOpen||(r=Mme.AnimationMaxTime-Mme.AnimationMinTime-t),t>Mme.AnimationMaxTime-Mme.AnimationMinTime&&(ape.setAnimation(Bde.DHAnimation_IsOpen),Mme.AnimationClock.stop(),Wp.getType()===Mp.DESKTOP&&null!==Bde.getLastValue("mirrorEffect")&&(Bde.MirrorEffect=Bde.getLastValue("mirrorEffect"))),e.startAnimation(r)}else if(!1===Bde.IsNewLoaded){if(Bde.IsNewLoaded=null,Bde.DHAnimation_IsOpen){const e=Mme.AnimationController;e.checkAnimationTime(),e.startAnimation(Mme.AnimationMaxTime-Mme.AnimationMinTime)}}else{const e=Mme.AnimationController;e.checkAnimationTime(),Bde.DHAnimation_IsOpen?e.startAnimation(Mme.AnimationMaxTime-Mme.AnimationMinTime):e.startAnimation(0)}}SetCamPos(e,t){Xce.IsActive||(aue.CurrentCamera.Camera.position.set(e[0],e[1],e[2]),aue.CurrentCameraControl.Target.x=t[0],aue.CurrentCameraControl.Target.y=t[1],aue.CurrentCameraControl.Target.z=t[2],aue.CurrentCamera.Camera.updateMatrix(),aue.CurrentCamera.Camera.updateMatrixWorld())}StartNewCamPosByAnimation(e,t,r,n){Xce.IsActive||(void 0===this.CurrentAniCamPosData&&(this.CurrentAniCamPosData=new Cme),this.CurrentAniCamPosData.PreEyePos=[aue.CurrentCamera.Camera.position.x,aue.CurrentCamera.Camera.position.y,aue.CurrentCamera.Camera.position.z],this.CurrentAniCamPosData.PreDestPos=[aue.CurrentCameraControl.Target.x,aue.CurrentCameraControl.Target.y,aue.CurrentCameraControl.Target.z],this.CurrentAniCamPosData.PostEyePos=e,this.CurrentAniCamPosData.PostDesPos=t,this.CamAniClock=new _c,this.CamAniClock.endTime=void 0!==r?r:1e3,this.CamAniClock.start(),this.CamAniClock.waitCB=n),Ame.requestRendering()}StartAnimation(e=!1){if(e||this.AnimationClock.running)return this.AnimationClock.stop(),void ape.setAnimation(Bde.DHAnimation_IsOpen);this._animationController.checkAnimationTime(),Bde.DHAnimation_IsOpen=!Bde.DHAnimation_IsOpen,this.AnimationMinTime!==this.AnimationMaxTime?(this.AnimationClock=new _c,this.AnimationClock.start(),Bde.MirrorEffect=!1,Ame.requestRendering()):ape.setAnimation(Bde.DHAnimation_IsOpen)}},kme=function(){const e={},t={};let r=[];const n={toLowerCase:function(e){return e.Manu=e.Manu.toLowerCase(),e.Prog=e.Prog.toLowerCase(),e.ProgProp=e.ProgProp.toLowerCase(),e},sortScenePropList:function(e){e.sort(function(e,t){return e.Manu<t.Manu?-1:e.Manu>t.Manu?1:e.Prog<t.Prog?-1:e.Prog>t.Prog?1:e.ProgProp<t.ProgProp?-1:e.ProgProp>t.ProgProp?1:0})},createProgPropTree:function(e){this.sortScenePropList(e),r=[];const t=[],n=[],i=[];let o,s,a;return e.forEach(function(e){t.indexOf(e.Manu.toLowerCase())<0&&(t.push(e.Manu.toLowerCase()),o={name:e.Manu,programs:[]},r.push(o)),n.indexOf(e.Manu.toLowerCase()+e.Prog.toLowerCase())<0&&(n.push(e.Manu.toLowerCase()+e.Prog.toLowerCase()),s={name:e.Prog,progProps:[]},o.programs.push(s)),i.indexOf(e.Manu.toLowerCase()+e.Prog.toLowerCase()+e.ProgProp.toLowerCase())<0&&(i.push(e.Manu.toLowerCase()+e.Prog.toLowerCase()+e.ProgProp.toLowerCase()),a={name:e.ProgProp,props:e.Props},s.progProps.push(a))}),r},add:function(r,n,i,o){const s=r+"_"+n;return e[r]=i,t[s]=o,this},getLongManu:function(t){return e[t]},getLongProg:function(e,r){return t[e+"_"+r]}};return n}(),Tme=kme;var Rme,Lme=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s},Pme=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};let Dme=Rme=class extends qn{constructor(){super(),this.hasGraphic=!1,this.loadHash=null,this.GNeedsUpdate=!0,this.FACESCOUNT=0,this.LINECOUNT=0,this.GREV=0,this.GKK="",this.isFinished=!1,this.isCollided=!1,this.static=!1,this.noPOSearch=!1,this.noWidgets=!1,this.propByUser=!1,this.guid="",this.typeText="",this.typeInfo=-1,this.riGroupID=void 0,this.instanceIdent=0,this.LogicalViewType=Lp.NORMAL,this.progProps={},this.V={},this.dimension=[1,1,1],this.PP=[],this.markerObjects=[],this.useParentData=!1,this.highestPO=null,this.parentLO=null,this.highestParentLO=null,this.progPropertyHandler=Tme,this.keys=[],this.onlyRightClickIntersection=!1,this.highestRCPO=null,this.isDisposed=!1,this.pII=-1,this._type=jp.BASE,this._isWidget=!1,this._minDim=new br,this._maxDim=new br,this._curDim=new br,this._catalogArticleNumber="",this._planType="",this._planTypeText="",this._noDepthWrite=!1,this._program="",this._programName="",this._manufacturer="",this._manufacturerName="",this._geometryLoaded=!1,this._matKey="",this._boundingBoxIntern=[],this._hoverBox=null,this._isExcluded=!1,this._isWallElement=!1,this._isWallChildElement=!1,this._genElement=!1,this._genLineOwner=[],this._manageElement=!1,this._redBoxElement=!1,this._noCaching=!1,this._forceReloadGraphics=!1,this._boundingBoxID="",this._advancedInfo={},this._localExcludedIntersections=[eae,ple],this._excludeLOText=["World","Fussboden","CH_CDHD1_IFLOOR","DH_CEILING"],this._excludeLOType=[30016,100039,3,13201],this._genWallElement=!1,this._mainWallInfo=null,this._bbox3=null,this.position.set(0,0,0),this.rotation.set(0,0,0)}get MinDimension(){return this._minDim}get MaxDimension(){return this._maxDim}get CurrentDimension(){return this._curDim}get CatalogArticleNumber(){return this._catalogArticleNumber}get PlanType(){return this._planType}get PlanTypeText(){return this._planTypeText}get Program(){return this._program}get ProgramName(){return this._programName}get Manufacturer(){return this._manufacturer}get ManufacturerName(){return this._manufacturerName}get IsWidget(){return this._isWidget}get BBox3(){return this._bbox3}get IsExcluded(){return this._isExcluded||this._excludeLOType.includes(this.typeInfo)||this._excludeLOText.includes(this.typeText)||this._excludeLOType.some(e=>this.keys.includes(e))}get IsGenElement(){return this._genElement}get GenLineOwner(){return this._genLineOwner&&0===this._genLineOwner.length?this.parent&&this.parent instanceof Rme?this.parent.GenLineOwner:this.parentLO&&this.parentLO instanceof Rme?this.parentLO.GenLineOwner:[]:this._genLineOwner}get IsRedBox(){return this._redBoxElement}get IsManageElement(){return this._manageElement}get AdvancedInfo(){return this._advancedInfo}get BoundingBoxID(){return this._boundingBoxID}set BoundingBoxID(e){this._boundingBoxID=e}get IsWallElement(){return this._isWallElement}get IsWallChildElement(){if(!this._isWallChildElement){let e=this.parent;for(;e&&e!=aae.world;){if(e instanceof Rme&&e.IsWallChildElement){this._isWallChildElement=!0,this._isWallElement=!1;break}e=e.parent}}return this._isWallChildElement}get NoCaching(){return this._noCaching}get ForceReloadGraphics(){return this._forceReloadGraphics}get BoundingBoxIntern(){return this._boundingBoxIntern}get GenWallElement(){return this._genWallElement}get MainWallInfo(){return this._mainWallInfo}get FaceCount(){let e=this.FACESCOUNT;if(this.children&&this.children.length>0)for(let t=0,r=this.children.length;t<r;t++)if(this.children[t]instanceof Rme){e+=this.children[t].FaceCount}return e}get NeedsGraphicUpdate(){let e=this.GNeedsUpdate;if(!e&&this.children&&this.children.length>0)for(let t=0,r=this.children.length;t<r&&!(this.children[t]instanceof Rme&&this.children[t].FACECOUNT>0&&(e=this.children[t].GNeedsUpdate,e));t++);return e}get NoDepthWrite(){return this._noDepthWrite||this===aae.world||(this.parent&&this.parent instanceof Rme?this._noDepthWrite=this.parent.NoDepthWrite:this.parentLO&&this.parentLO instanceof Rme&&(this._noDepthWrite=this.parentLO.NoDepthWrite)),this._noDepthWrite}get HasRedBox(){return this._redBoxElement||this===aae.world||(this.parent&&this.parent instanceof Rme?this._redBoxElement=this.parent.HasRedBox:this.parentLO&&this.parentLO instanceof Rme&&(this._redBoxElement=this.parentLO.HasRedBox)),this._redBoxElement}hasVisibleGeometry(){return!!this.getVisibleGeometry()}getVisibleGeometry(){let e=null;return this.traverseVisible(t=>{if(t instanceof RE||t instanceof Rme&&("CH_GRAFIK"===t.typeText||"LO_Mesh"===t.typeText))return e=t,!1}),e}getMaterials(){return this.getVisibleGeometry().material}isChildOf(e){let t=!1;return e.traverseVisible(e=>{if(e===this)return t=!0,!1}),t}get GeometryLoaded(){return this._geometryLoaded}set GeometryLoaded(e){this._geometryLoaded=e}static findNextLO(e){return e&&e.parent?e.parent instanceof Rme?e.parent:Rme.findNextLO(e.parent):null}add(...e){if(e)for(let t=e.length-1;t>=0;t--)e[t]?this.useParentData&&(e[t].noWidgets=this.noWidgets,e[t].static=this.static):e.splice(t,1);return e.length>0?super.add.apply(this,e):this}findParentByII(e){let t=this;for(;t&&t!==aae.world&&t.instanceIdent!==e;)t=t.parent;return t===aae.world&&(t=null),t}setHighestPO(e,t,r){const n=this,i=this.highestPO||this.parentLO||this;if(this.noPOSearch||i===aae.world)return this.highestPO=this,this;if(!i)return null;if(e&&!n.hasGraphic){let e=!1;if(n.traverse(function(t){e||(t instanceof RE||t instanceof Rme&&(t.hasGraphic||"CH_GRAFIK"===t.typeText||"LO_Mesh"===t.typeText))&&(e=!0)}),!e)return null;n.hasGraphic=e}const o=(e,t)=>{if(!e)return null;t&&(e.highestPO=null);const r=e.noPOSearch&&(!e.onlyRightClickIntersection||Yse.MouseMode===kp.RClicked);let n=Yse.MouseMode===kp.RClicked?e.highestRCPO:e.highestPO||e.parentLO||e;return n&&!t||(e._refParent?n=o(e._refParent):e instanceof Yi||e.LogicalViewType!==Lp.NORMAL?n=o(e.parent):null!==e.riGroupID&&void 0!==e.riGroupID?n=e:null===e.parent||void 0===e.parent?n=null:0!==e.parent.instanceIdent&&"World"!==e.parent.typeText&&"World"!==e.parent.name||(n=e),r||n&&(!n||n.parent&&(0===n.parent.instanceIdent||"World"===n.parent.typeText||"World"===n.parent.name))||(n=o(e.parent,t))),n};return t&&(n.highestPO=null),o(t?n:i,t)}findPOFromLO(e,t,r){return this.noPOSearch?this:Phe.TimeLine.AddCallbackTimer("setHighestPO",this,this.setHighestPO,e,t,r)}deleteChildren(){for(let e=this.children.length-1;e>=0;e--)this.remove(this.children[e])}CheckForGenElement(){if(!this._genElement&&this!==aae.world&&(this.parent&&this.parent instanceof Rme||this.parentLO&&this.parentLO instanceof Rme)){const e=this.parent?this.parent.CheckForGenElement():this.parentLO.CheckForGenElement();return this._genElement=this._genElement||e,this._genElement}return this._genElement}CheckAnimationExcluded(){return!!this.keys.includes(20111)||(this.parent&&this.parent instanceof Rme?this.parent.CheckAnimationExcluded():!!(this.parentLO&&this.parentLO instanceof Rme)&&this.parentLO.CheckAnimationExcluded())}CheckForManagerElement(){if(!this._manageElement&&this!==aae.world&&(this.parent&&this.parent instanceof Rme||this.parentLO&&this.parentLO instanceof Rme)){const e=this.parent?this.parent.CheckForManagerElement():this.parentLO.CheckForManagerElement();return this._manageElement=this._manageElement||e,this._manageElement}return this._manageElement}IsExcludedByParent(){if(!this.IsExcluded){if(this.parent&&this.parent!==aae.world&&this.parent.IsExcludedByParent)return this.parent.IsExcludedByParent();if(this.parentLO&&this.parentLO!==aae.world&&this.parentLO.IsExcludedByParent)return this.parentLO.IsExcludedByParent();if(this.pII){const e=lae.get(this.pII);if(e&&e!==aae.world&&e.IsExcludedByParent)return e.IsExcludedByParent()}}return this.IsExcluded}SetMaterialAndGeometry(e){return Pme(this,void 0,void 0,function*(){const t=this._matKey!==e._MATII,r=!!e._MATII&&!this._geometryLoaded;if(t||r){if(t&&this._matKey&&this._geometryLoaded){for(let e=this.children.length-1;e>=0;e--)this.children[e]instanceof mo&&this.remove(this.children[e]);this._geometryLoaded=!1}if(this._matKey=e._MATII,this._matKey){const t=bhe.getFusionLOByInstanceIdent(+e.II,+this._matKey);bhe.addFusionLO(+this._matKey,this,t);const r=She.requestObjectCreation(+this._matKey);Um.add(r),yield r,aae.SetCenterCam()}}})}AssignValuesFromObject(e){if(e.icon_buttons?cne.addRange(this,e.icon_buttons):cne.cleanOldIcons(this),e.catalogArtNr&&(this._catalogArticleNumber=e.catalogArtNr),e.plantype&&(this._planType=e.plantype),e.plantype_text&&(this._planTypeText=e.plantype_text),e.minDim&&this._minDim.set(e.minDim.x,e.minDim.y,e.minDim.z),e.maxDim&&this._maxDim.set(e.maxDim.x,e.maxDim.y,e.maxDim.z),e.curDim&&this._curDim.set(e.curDim.x,e.curDim.y,e.curDim.z),this._isWallElement=!e.isWallChildElement&&!!e.isWallElement,this._isWallChildElement=!!e.isWallChildElement,this.updateBaseGeometries(e.bObjs),this.FACESCOUNT=+(e._nFaces||0),this.LINECOUNT=+(e._nLines||0),this.GREV=e._GKKREV,this.GKK=e._GKK,this._fusionLoading=this.SetMaterialAndGeometry(e).catch(e=>{console.log(e)}),Phe.IsDebugDHLoBase&&(console.log("-----------------------------------------------------------------------------------------------"),console.log("\tGKK: "+this.GKK),console.log("\tLINES: "+this.LINECOUNT),console.log("\tFaces: "+this.FACESCOUNT),console.log("-----------------------------------------------------------------------------------------------")),this._boundingBoxIntern=e.boundingBox,this._boundingBoxIntern)for(const e of this._boundingBoxIntern)e.multiplyScalar(C);if(this.GNeedsUpdate=!!e.noCaching||!!e._GKK&&0!==e._GKKREV&&YE.addAndCheckRevision(this.GKK,this.GREV),this._noCaching=!!e.noCaching,this._forceReloadGraphics=!!e.forceReloadGraphics,this.isFinished=!1,this.wp1=Cp.DH2Vector3(e.wp1).multiplyScalar(C),this.wp2=Cp.DH2Vector3(e.wp2).multiplyScalar(C),this.guid=e.Guid,this.instanceIdent=+e.II,this.typeText="World"===this.typeText?"World":e.TT,this._isWidget="FURNVIEW_WIDGETS"===this.typeText,this._isExcluded=-1!==this._excludeLOText.indexOf(this.typeText)||-1!==this._excludeLOType.indexOf(this.typeInfo),this.typeInfo=isNaN(+e.TI)?-1:+e.TI,this.keys=e.Keys||[],this.V=e.V,this.loadHash=e.loadHash,this.parentLO=e.parentLO!==window&&e.parentLO instanceof Rme?e.parentLO:null,this.highestParentLO=e.highestParentLO!==window&&e.highestParentLO instanceof Rme?e.highestParentLO:null,this.graphics=e._G,this.Manu=e.Manu,this.Prog=e.Prog,this.pII=e.PII,this.IsWallElement){const t=g_configuration.enable_wall_picking||g_configuration.old_kata_tree_toolbar_placer&&(Bde.PlacerDirection===Op.LEFT||Bde.PlacerDirection===Op.RIGHT);!e.isSel&&$le.contains(this)?t||$le.remove(this,!0):e.isSel&&$le.contains(this)&&(this.dimension[0]!==e.Dim[0]||this.dimension[1]!==e.Dim[1]||this.dimension[2]!==e.Dim[2])&&$le.update()}this.dimension[0]=e.Dim[0]*C,this.dimension[1]=e.Dim[1]*C,this.dimension[2]=e.Dim[2]*C,"CH_CDHD1_IFLOOR"===this.typeText&&(Fde.InstanceIdent=this.instanceIdent),e.IWALL_INFO&&(this._advancedInfo.IWALL_INFO=e.IWALL_INFO),this._genElement=this._genElement||(()=>this.typeInfo&&3===this.typeInfo&&(!this.parentLO||this.parentLO&&17!==this.parentLO.typeInfo)||this.guid&&("GUID_GENTEILECONTAINER"===this.guid||"DH_GENTEILE_CONTAINER_DPL"===this.guid))(),this._manageElement=this._manageElement||(()=>this.typeInfo&&(100014===this.typeInfo||30010===this.typeInfo||100036===this.typeInfo||100039===this.typeInfo))(),!this._genElement&&e.parentLO&&e.parentLO instanceof Rme&&e.parentLO.CheckForGenElement()&&(this._genElement=!0,e.genline_owner?this._genLineOwner=e.genline_owner:this.parentLO&&this.parentLO.GenLineOwner&&(this._genLineOwner=this.parentLO.GenLineOwner)),this._noDepthWrite=!!e.no_DepthWrite||this.NoDepthWrite,this._redBoxElement=this._redBoxElement||30013===this.typeInfo||this.HasRedBox,this._redBoxElement&&moe.add(this),this.IsExcluded||this._genElement||!this.AdvancedInfo||this.AdvancedInfo.IWALL_INFO&&0!==this.AdvancedInfo.IWALL_INFO.DETAILS.temp||("CH_CDHD1_IWallInsert"===e.TT?Kre.add(Vp.DHLOBase_FITTING_ELEMENT,{priority:zp.DHLOBase_FITTING_ELEMENT,object:this}):Kre.add(Vp.DHLOBase,{priority:zp.DHLOBase,object:this})),100031===e.TI||"CH_CDHD1_IWall"===e.TT||e.parentLO&&"CH_CDHD1_IWall"===e.parentLO.typeText||(this.visible=!!e._VIS),this.Manu_longname=e.Manu_long,this.Prog_longname=e.Prog_long,this._program=e.ProgramLongName,this._programName=e.Prog,this._manufacturer=e.ManufacturerLongName,this._manufacturerName=e.Manu,this.Manu_longname&&this.progPropertyHandler.add(this.Manu,this.Prog,this.Manu_longname,this.Prog_longname),this.riGroupID=e._RI_GROUP_ID,void 0!==e.MO&&null!==e.MO&&(this.markerObjects=e.MO),this.matrixAutoUpdate=!1,void 0!==e.Pos&&this.position.set(e.Pos[0]*C,e.Pos[1]*C,e.Pos[2]*C);let t=0;if(void 0!==e.Rot&&(this.rotation.order="ZYX",this.rotation.x=gr.degToRad(e.Rot[0]),this.rotation.y=gr.degToRad(e.Rot[1]),this.rotation.z=gr.degToRad(e.Rot[2]),0!==e.Rot[0]&&(t|=1),0!==e.Rot[1]&&(t|=2),0!==e.Rot[2]&&(t|=4)),this.updateMatrix(),this.updateMatrixWorld(!0),this.matrixWorld=new xn,this.matrixWorld.set(e.M[0][0],e.M[1][0],e.M[2][0],e.M[3][0],e.M[0][1],e.M[1][1],e.M[2][1],e.M[3][1],e.M[0][2],e.M[1][2],e.M[2][2],e.M[3][2],e.M[0][3]*C,e.M[1][3]*C,e.M[2][3]*C,e.M[3][3]),this.matrix_org=this.matrix.clone(),this.name=e.Guid,e.Lights&&e.Lights.length>0?Yce.createLightsByOwner(this,e.Lights):Yce.cleanupLightsByOwner(this),void 0!==e.PP&&Array.isArray(e.PP)&&e.PP.length>0){this.PP=[];for(let t=0;t<e.PP.length;++t){const r=e.PP[t]["P"+t]||e.PP[t];if(r&&void 0!==r.PC){const e=new Cp.DHPickPoly(r.PC,r.PL,r.vt);e.FillAndCheckData(),this.PP.push(e)}}}if(void 0!==e.Ani&&null!==e.Ani&&!this.CheckAnimationExcluded()){for(let t=0;t<e.Ani.length;t++){const r=Object.assign(e.Ani[t]);e.Ani[t]={A:r.A||r};for(const r in e.Ani[t].A)if(e.Ani[t].A.hasOwnProperty(r)){const n=e.Ani[t].A[r];Array.isArray(n)&&n.multiplyScalar(C)}}this._isWallElement?(this.FlexAniControl=new Ime,this.FlexAniControl.Animations=e.Ani,this.AniControl=new Ime,Bde.DHAnimation_IsOpen&&!Bde.IsNewLoaded&&(this.FlexAniControl.CheckAnimationMinMax(),this.matrix.elements=this.FlexAniControl.CheckAnimationWithMatrix(Mme.AnimationMaxTime,this).m)):(this.AniControl=new Ime,this.AniControl.Animations=e.Ani,Bde.DHAnimation_IsOpen&&!Bde.IsNewLoaded&&(this.AniControl.CheckAnimationMinMax(),this.matrix.elements=this.AniControl.CheckAnimationWithMatrix(Mme.AnimationMaxTime,this).m))}if(e.isGenWallElement&&e.mainWallInfo&&(this._genWallElement=e.isGenWallElement,aue.MainWall={start:e.mainWallInfo.start.toVector().multiplyScalar(C),end:e.mainWallInfo.end.toVector().multiplyScalar(C)}),100031===this.typeInfo&&Bde.DepthSelection&&Bde.OffsetSelection&&(!this._hoverBox&&this.visible&&(this._hoverBox=new Jse({object:this,material:{}}),this.parent?this.parent.add(this._hoverBox):this.parentLO&&this.parentLO.add(this._hoverBox)),this._hoverBox&&(this.parent&&-1===this.parent.children.indexOf(this._hoverBox)&&this.parent.add(this._hoverBox),this._hoverBox.update())),100031!==this.typeInfo&&"CH_CDHD1_IWall"!==e.TT&&"CH_CDHD1_IWallInsert"!==e.TT||(this._bbox3||(this._bbox3=new Qr),this._bbox3.min.x=this.position.x,this._bbox3.min.y=this.position.y,this._bbox3.min.z=this.position.z,this._bbox3.max.x=this.position.x+this.dimension[0],this._bbox3.max.y=this.position.y+this.dimension[1],this._bbox3.max.z=this.position.z+this.dimension[2]),"CH_FITTING_MASTER_INSERT"===e.TT&&(this.noWidgets=!0),"CH_CDHD1_IWallInsert"===e.TT){this.highestRCPO=this,this.noPOSearch=!0;const e=this.parent?this.parent:this.parentLO;e&&(e.noPOSearch=!0),this.noWidgets=!0,this.useParentData=!0,this.noWidgets=!0}e.noPOSearch&&(this.noPOSearch=!0),"CH_CDHD1_IWall"===e.TT&&(this.onlyRightClickIntersection=!0,this.highestRCPO=this,this.noPOSearch=!0,this.noWidgets=!0,this.static=!0,this.useParentData=!0),this.keys&&-1!==this.keys.indexOf(10006)&&(this.visible=!!Bde.ShowFront),Phe.IsDebugDHLoBase&&console.log("----------\nASSIGNVALUESFROMOBJECT\n\tTT: "+this.typeText+"\n\tTI: "+this.typeInfo+"\n\tUUID:"+this.uuid+"\n\tII:"+this.instanceIdent+"\n\tPARENT:"+(this.parent?this.parent.uuid:"null")+"\n\tGKK: "+this.GKK+"\n----------"),"1"===e.Coll?(Rse.add(this),this.isCollided=!0):"0"===e.Coll&&this.isCollided&&(Rse.remove(this),this.isCollided=!1),une.dispatch("assignedValueToObject",[this,e])}updateBaseGeometries(e){const t=Phe.TimeLine.AddTimer("updateBaseGeometries");this._baseObject||(this._baseObject=new ple,this.add(this._baseObject)),this._baseObject.clear(),this._baseObject.parse(e),Phe.TimeLine.EndTimer(t)}removeMesh(){_le.clearModel(this).then(e=>{for(let t=e.length-1;t>=0;t--)e[t]instanceof TI||(e[t].dispose&&e[t].dispose(),this.remove(e[t]),Dhe.TScene.remove(e[t]),e.pop())})}loadMesh(e){if(Phe.IsDebugDHLoBase&&console.log("----------\nLOADMESH\n\tTT: "+this.typeText+"\n\tTI: "+this.typeInfo+"\n\tUUID:"+this.uuid+"\n\tII:"+this.instanceIdent+"\n\tPARENT:"+(this.parent?this.parent.uuid:"null")+"\n\tGKK: "+this.GKK+"\n----------"),this.isFinished=!0,this.parent&&"Fussboden"===this.parent.typeText);else{const t=_le.clearModel(this).then(t=>Pme(this,void 0,void 0,function*(){if(e){if(this.add(e),this.NoDepthWrite){const t=[];for(let r=0;r<e.children.length;r++){const n=e.children[r];n instanceof Yi&&n.material&&n.IDLEMaterial&&t.push(new Promise(e=>{n.IDLEMaterial.then(t=>Pme(this,void 0,void 0,function*(){return n.material=yield t.cloneAsync(),IE.add(n.material),n.material.polygonOffsetFactor=100,n.onAfterRender=()=>{e(!0),n.material.polygonOffsetFactor=0,n.onAfterRender=()=>{}},t}))}))}yield Promise.all(t)}if(this.IsGenElement&&this.GenLineOwner&&this.GenLineOwner.length>0&&Kre.add(Vp.DHLOBase,{priority:zp.DHLOBase,object:this}),XE.exists(this.loadHash)&&(XE.remove(this.loadHash,this.GKK),!XE.exists(this.loadHash))){const e=this.findPOFromLO(!1,!0);e&&MI.hide(e)}for(let e=t.length-1;e>=0;e--)t[e]instanceof TI||(t[e].dispose&&t[e].dispose(),this.remove(t[e]),Dhe.TScene.remove(t[e]),t.pop());"CH_CDHD1_IWallInsert"===this.typeText&&this.traverse(e=>{e instanceof Rme&&(e.highestPO=this,e.highestParentLO=this)}),"CH_CDHD1_IWall"===this.typeText&&(Eie.setWallToggle(!0),Aie.fp_walls[this.instanceIdent]=this,Aie.initializeCameraEvent||(Aie.initializeCameraEvent=!0,aue.CurrentCamera.AddEvent(Aie.setVisible,Aie),Bde.VPlacer&&aue.CurrentCamera.AddEvent(()=>{Xre.Values.forEach(e=>{e.forEach(e=>{e.IsWallElement&&e.setVisible()})})},_ne)),this.noPOSearch=!0,this.noWidgets=!0,this.useParentData=!0,this.static=!0,Aie.currentWall?Object.keys(Aie.fp_walls).forEach(function(e,t){Aie.currentWall.segments[t].refWall=Aie.fp_walls[e]}):Object.keys(Aie.fp_walls).length>0&&(Aie.FPWallHandling=!0)),"DHRoomItem"===this.typeText&&Eie.setSelectionFloorWallVisibility(!0),this.typeText.includes("CEIL")&&(this.getVisibleGeometry().castShadow=!1),aue.CenterPointNeedsUpdate=!0}}));Um.add(t)}return!0}updateProgProp(e,t){const r=parseInt(e,10);return this.keys&&this.keys.indexOf(r)>=0&&(this.progProps[e]=t),this}getLocalString(e,t){return this.V[e+"_S"]||t}getGlobalString(e,t){const r=this.V[e+"_S"];return r||!this.parent||this.parent instanceof bo?r||t:this.parent.getGlobalString(e,t)}disposeHoverBox(){this._hoverBox&&(this._hoverBox.dispose(),this._hoverBox=null)}dispose(){this.isDisposed||(this.dispatchEvent({type:"onDelete"}),null===this.parent&&lae.dispatchDelete(this),this.isDisposed=!0,this.children.forEach(e=>{e&&e instanceof Rme&&e.dispose()}),Kre.remove(Vp.DHLOBase,this),this._baseObject&&this._baseObject.clear(),this._hoverBox&&(this._hoverBox.dispose(),this._hoverBox=null),cne.remove(this.instanceIdent),this.IsRedBox&&moe.remove(this),Yce.cleanupLightsByOwner(this))}setIntersected(e){if(!Bde.PickingEnabled||Bde.DisableWallSelection&&this.IsWallElement&&!this.IsWallChildElement)return!1;if(e){if(Bde.RotationDisabled)return!1;if("FURNVIEW_WIDGETS"===this.typeText)this.traverse(e=>{e instanceof RE&&"ROTATION"===e.ActionMode&&(Yse.IntersectionType=Dp.ROTATION_WIDGET,Yse.MouseCursor="move")}),!kse.IsTouch&&Bde.IsPlacerMode&&FI.removeMarker(this.findPOFromLO(),NI.INTERSECTION);else{Yse.IntersectionType=Dp.PO,Yse.MouseCursor="pointer";const e=Phe.TimeLine.AddTimer("DH_LO_BASE_INTERSECTION_MARKER_CREATE");Bde.IntersectionMarkerDisabled||kse.IsTouch||!Bde.IsPlacerMode||FI.clearMarker(!0,NI.INTERSECTION),Phe.TimeLine.EndTimer(e)}}return!0}interact(){let e="";return this.IsWallChildElement||Roe.checkFittingReplace()||Yse.IntersectionType!==Dp.ROTATION_WIDGET||(e="rotateObject"),e}};Dme=Rme=Lme([oce],Dme);var Nme,Fme=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};let Ome=Nme=class extends qn{constructor(e){super(),this._refParent=null,this._parentUUID="",this._isWidget=!0,this._setMatrix=!0,this._points={},this._customSettings=e.customSettings,this._setMatrix=void 0===e.setMatrix||e.setMatrix,this._isWidget=!0,Kre.add(Vp.BoundingBoxClass,{priority:zp.BoundingBoxClass,object:this})}get CustomSettings(){return this._customSettings}get CustomSettingEnabled(){return!!this._customSettings}get Points(){return this._points}set Points(e){this._points=e}get IsWidget(){return this._isWidget}set IsWidget(e){this._isWidget=e}get SetMatrix(){return this._setMatrix}static makeSimpleFace3D(e,t,r,n,i,o){for(e.positions=e.positions||[],e.normals=e.normals||[],e.indices=e.indices||[],e.positions=e.positions.concat(t.toArray(),n.toArray(),r.toArray(),t.toArray(),i.toArray(),n.toArray()),e.normals=e.normals.concat(o.toArray(),o.toArray());e.indices.length<e.positions.length/3;)e.indices.push(e.indices.length)}static build(e,t){const r=t||{};r.setMatrix=void 0===r.setMatrix||r.setMatrix;const n=new Nme(r);let i=e;e instanceof TI&&(e instanceof Yi||e instanceof TI)&&(i=Dme.findNextLO(e),i&&(e=i)),n._refParent=i,n._parentUUID=i.uuid,n.CustomSettings&&n.CustomSettings.color&&(r.color=n.CustomSettings.color),n.CustomSettings&&n.CustomSettings.opacity&&(r.opacity=n.CustomSettings.opacity);const o={positions:[],normals:[],indices:[]};let s=null;const a=new vi({color:r.color||new mi(77/255,179/255,77/255),depthWrite:r.depthWrite||!1,depthTest:r.depthTest||!1,transparent:r.transparent||!0,opacity:r.opacity||.1,polygonOffsetFactor:r.polygonOffsetFactor||1,polygonOffset:r.polygonOffset||!0,polygonOffsetUnits:r.polygonOffsetUnits||1,side:r.side||0});"boolean"==typeof r.line&&r.line&&(s=new vi({color:r.line_color||r.color||new mi(77/255,179/255,77/255),depthWrite:r.depthWrite||!1,depthTest:r.depthTest||!1,polygonOffsetFactor:r.linePolygonOffsetFactor||2,polygonOffset:r.linePolygonOffset||!0,polygonOffsetUnits:r.linePolygonOffsetUnits||2,side:r.side||0}));const l=new Oi;let c=null,u=null;if((e instanceof Dme||e instanceof TI)&&e.PP&&e.PP.length>0){let t,r,i=!0,s=-.123321;for(let t=0;t<e.PP.length;t++)4===e.PP[t].Vertices.length&&(n.drawSimpleFace3D(o,Cp.DH2Vector3(e.PP[t].Vertices[0]).multiplyScalar(C),Cp.DH2Vector3(e.PP[t].Vertices[1]).multiplyScalar(C),Cp.DH2Vector3(e.PP[t].Vertices[2]).multiplyScalar(C),Cp.DH2Vector3(e.PP[t].Vertices[3]).multiplyScalar(C),Cp.DH2Vector3(e.PP[t].Normal)),i&&(0===t||e.PP[t].Vertices[0][2]===e.PP[t].Vertices[1][2]&&e.PP[t].Vertices[1][2]===e.PP[t].Vertices[2][2]&&e.PP[t].Vertices[2][2]===e.PP[t].Vertices[3][2]||(i=!1),s=e.PP[t].Vertices[3]));i?a.side=2:2===a.side&&(a.side=0),l.setAttribute("position",new ki(o.positions,3)),l.setIndex(o.indices),l.addGroup(0,o.positions.length/3,0),c=new Yi(l,a),c.geometry.boundingBox||c.geometry.computeBoundingBox(),t=c.geometry.boundingBox.min,r=c.geometry.boundingBox.max,u=n.computePoints(t,r)}else if(e instanceof Yi){let t,r;e.geometry.boundingBox||e.geometry.computeBoundingBox(),t=e.geometry.boundingBox.min,r=e.geometry.boundingBox.max,u=n.computePoints(t,r)}else if(e instanceof Qr){let t,r;t=e.min,r=e.max,u=n.computePoints(t,r)}else if(e instanceof Dme&&e.dimension){let t,r;t=new br,r=new br(e.dimension[0],e.dimension[1],e.dimension[2]),u=n.computePoints(t,r)}return u&&(n.Points=u,n.drawSimpleFace3D(o,u.p1,u.p2,u.p3,u.p4,u.n13),n.drawSimpleFace3D(o,u.p2,u.p3,u.p7,u.p6,u.n27),n.drawSimpleFace3D(o,u.p3,u.p4,u.p8,u.p7,u.n38),n.drawSimpleFace3D(o,u.p4,u.p1,u.p5,u.p8,u.n45),n.drawSimpleFace3D(o,u.p5,u.p6,u.p7,u.p8,u.n57),n.drawSimpleFace3D(o,u.p1,u.p2,u.p6,u.p5,u.n16),l.setAttribute("position",new ki(o.positions,3)),l.setIndex(o.indices),l.addGroup(0,o.positions.length/3,0),c=new Yi(l,a),c.renderOrder=2,n.add(c),"boolean"==typeof r.line&&r.line&&s&&n.add(n.computeLines(u,s)),n.SetMatrix&&(c.onAfterRender=c.onBeforeRender=function(){const e=this.parent._parentUUID;II.setMatrix(e,this.parent._refParent.matrixWorld)}),n.visible=!1),n}dispose(){Kre.remove(Vp.BoundingBoxClass,this)}drawSimpleFace3D(e,t,r,n,i,o){Nme.makeSimpleFace3D(e,t,r,n,i,o)}getLO(){return this.parent instanceof Dme?this.parent:this._refParent}findPOFromLO(e,t){const r=new Dme;return Phe.TimeLine.AddCallbackTimer("setHighestPO",this,r.setHighestPO,e,t)}setIntersected(e){FI.changeMaterialLeave(),e&&(Yse.IntersectionType=Dp.BOUNDING_BOX,Yse.InteractionMode===Pp.DELETABLE?(FI.changeMaterialOver(this),Yse.MouseCursor="pointer"):Bde.MoveObjectDisabled&&Bde.ObjectMoveDirection===Fp.XYZ||!Bde.IsPlacerMode||Yse.InteractionMode!==Pp.ELEMENT_MOVE&&Yse.InteractionMode!==Pp.DEFAULT?Yse.MouseCursor="pointer":Yse.MouseCursor="move")}interact(){let e="";return Yse.IntersectionType===Dp.BOUNDING_BOX&&Yse.IsSelected&&(Roe.checkFittingReplace()||Bde.MoveObjectDisabled&&Bde.ObjectMoveDirection===Fp.XYZ||(e="moveObject")),e}computePoints(e,t,r){return tae.calculatePoints({p1:e,p7:t},r)}computeLinesV2(e){const t=new yp;for(let r=0;r<e.length;r++){Cp.DH2Vector3(e[r].Vertices[0]),Cp.DH2Vector3(e[r].Vertices[1]),Cp.DH2Vector3(e[r].Vertices[2]),Cp.DH2Vector3(e[r].Vertices[3]);const n=[];n.push([].concat(e.p1.toArray(),e.p2.toArray())),n.push([].concat(e.p2.toArray(),e.p3.toArray())),n.push([].concat(e.p3.toArray(),e.p4.toArray())),n.push([].concat(e.p4.toArray(),e.p1.toArray())),t.parseVertices(n)}return t}computeLines(e,t){const r=new yp,n=[];return n.push([].concat(e.p1.toArray(),e.p2.toArray())),n.push([].concat(e.p2.toArray(),e.p3.toArray())),n.push([].concat(e.p3.toArray(),e.p4.toArray())),n.push([].concat(e.p4.toArray(),e.p1.toArray())),n.push([].concat(e.p5.toArray(),e.p6.toArray())),n.push([].concat(e.p6.toArray(),e.p7.toArray())),n.push([].concat(e.p7.toArray(),e.p8.toArray())),n.push([].concat(e.p8.toArray(),e.p5.toArray())),n.push([].concat(e.p1.toArray(),e.p5.toArray())),n.push([].concat(e.p2.toArray(),e.p6.toArray())),n.push([].concat(e.p3.toArray(),e.p7.toArray())),n.push([].concat(e.p4.toArray(),e.p8.toArray())),r.parseVertices(n,!0,!0),DE.createSync(r,t)}};Ome=Nme=Fme([oce],Ome);const Bme=Ome;String.prototype.hexToRgb=function(){const e=this.replace(/^#?([a-f\d])([a-f\d])([a-f\d])$/i,function(e,t,r,n){return t+t+r+r+n+n}),t=/^#?([a-f\d]{2})([a-f\d]{2})([a-f\d]{2})$/i.exec(e);return t?{r:parseInt(t[1],16),g:parseInt(t[2],16),b:parseInt(t[3],16)}:null},String.prototype.hexEncode=function(){let e,t,r="";for(t=0;t<this.length;t++)e=this.charCodeAt(t).toString(16),r+=("000"+e).slice(-4);return r},Number.prototype.unsigned=function(){return this>>>0},String.prototype.hash=function(e=8){const t=this.toLowerCase();let r=0;for(let e=0;e<t.length;e++)r=(t.charCodeAt(e).unsigned()+(r.unsigned()<<6..unsigned()).unsigned()+(r.unsigned()<<16..unsigned()).unsigned()-r.unsigned()).unsigned();return r.toString(16).slice(-e)},String.prototype.hexDecode=function(){let e;const t=this.match(/.{1,4}/g)||[];let r="";for(e=0;e<t.length;e++)r+=String.fromCharCode(parseInt(t[e],16));return r};const Ume=[],Vme=function(){if(0===Ume.length){let e;for(let t=0;t<256;t++){e=t;for(let t=0;t<8;t++)e=1&e?3988292384^e>>>1:e>>>1;Ume[t]=e}}return Ume};const zme=new class{BoxesIntersect(e,t){return 2*Math.abs(e.x+e.width/2-(t.x+t.width/2))<e.width+t.width&&2*Math.abs(e.y+e.height/2-(t.y+t.height/2))<e.height+t.height}absolute(e,t){const r=e.split("/"),n=t.split("/");r.pop();for(let e=0;e<n.length;e++)"."!=n[e]&&(".."==n[e]?r.pop():r.push(n[e]));return r.join("/")}generateUUID(){let e=(new Date).getTime(),t=performance&&performance.now&&1e3*performance.now()||0;return"xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(r){let n=16*Math.random();return e>0?(n=(e+n)%16|0,e=Math.floor(e/16)):(n=(t+n)%16|0,t=Math.floor(t/16)),("x"===r?n:3&n|8).toString(16)})}formatNumber(e){return(e=(e/=1/Bde.DimensionScale).toFixed(1)).replace(".",",")}createHash(){return Math.random().toString(36).substring(2,100)}clearMap(e){const t=Object.keys(e);for(let r=t.length-1;r>=0;r--)delete e[t[r]]}createChecksumFromObject(e){let t="";return Object.keys(e).forEach(r=>{"string"==typeof e[r]&&""!==e[r]&&(t=""+function(e){const t=window.crcTable||(window.crcTable=Vme());let r=-1;for(let n=0;n<e.length;n++)r=r>>>8^t[255&(r^e.charCodeAt(n))];return(-1^r)>>>0}(t+e[r]))}),t}validateEmail(e){return/^(([^<>()\[\]\\.,;:\s@"]+(\.[^<>()\[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(e)}hash(e,t){const r=t?e:e.hexEncode();let n="";for(let e=0;e<r.length;e+=2){const t=r[e];n+=r[e+1],n+=t}return t?n.hexDecode():n}getBase64FromBuffer(e){return btoa([].reduce.call(new Uint8Array(e),function(e,t){return e+String.fromCharCode(t)},""))}getBase64(e,t,r){return t?r?encodeURIComponent(function(e){return btoa(encodeURIComponent(e).replace(/%([0-9A-F]{2})/g,function(e,t){return String.fromCharCode("0x"+t)}))}(e)):btoa(e):r?encodeURIComponent(btoa(e)):btoa(e)}getString(e,t,r){return t?r?(n=decodeURIComponent(e),decodeURIComponent(atob(n).split("").map(function(e){return"%"+("00"+e.charCodeAt(0).toString(16)).slice(-2)}).join(""))):atob(e):r?atob(decodeURIComponent(e)):atob(e);var n}GetMinMax(e,t=!0,r){return this.expandByObject(e,t,!0,r)}isInfinity(e){if(e instanceof Qr){if(e.min.x!==1/0&&e.min.y!==1/0&&e.min.z!==1/0&&e.max.x!==-1/0&&e.max.y!==-1/0&&e.max.z!==-1/0)return!1}else if(e instanceof br&&e.x!==1/0&&e.y!==1/0&&e.z!==1/0&&e.x!==-1/0&&e.y!==-1/0&&e.z!==-1/0)return!1;return!0}checkVisibility(e){if(e){if(e instanceof bo||e===aae.world)return!0;if(!e.visible)return!1;if(e.findPOFromLO){const t=e.findPOFromLO(!0,!0);return t&&t.visible}this.checkVisibility(e.parent)}return!1}expandByObjectExclusion(e,t=!0,r=!0,n,i,o){if(i=i||new br(1/0,1/0,1/0),o=o||new br(-1/0,-1/0,-1/0),e){if(n&&-1!==n.indexOf(+e.typeInfo))return!1;const s=new br,a=e.geometry;if((e&&(e.parent&&("FURNVIEW_WIDGETS"===e.parent.guid||e.parent.IsWidget)||e.parent instanceof Bme)||e instanceof Bme||e instanceof _ne)&&(e.IsWidget=!0),(this.checkVisibility(e)||!t)&&void 0!==a&&!e.IsWidget&&r&&!(e instanceof DE)&&!e.isLine&&!(e instanceof AI)&&!(e instanceof eae)&&!(e.parent instanceof eae))if(a.isGeometry){const t=a.vertices;for(let r=0,n=t.length;r<n;r++)s.copy(t[r]),s.applyMatrix4(e.matrixWorld),i.min(s),o.max(s)}else if(a.isBufferGeometry){const t=a.attributes.position;if(void 0!==t)for(let r=0,n=t.count;r<n;r++)s.fromBufferAttribute(t,r).applyMatrix4(e.matrixWorld),i.min(s),o.max(s)}e.updateMatrixWorld(!0);for(let s=0;s<e.children.length;s++)e.children[s].visible&&!e.children[s].IsWidget&&this.expandByObjectExclusion(e.children[s],t,r,n,i,o)}return new Qr(i,o)}expandByObject(e,t=!0,r=!0){const n=new br(1/0,1/0,1/0),i=new br(-1/0,-1/0,-1/0),o=e=>{const o=new br,s=e.geometry;if((e&&(e.parent&&("FURNVIEW_WIDGETS"===e.parent.guid||e.parent.IsWidget)||e.parent instanceof Bme)||e instanceof Bme||e instanceof _ne)&&(e.IsWidget=!0),(this.checkVisibility(e)||!t)&&void 0!==s&&!e.IsWidget&&r&&!(e instanceof DE)&&!e.isLine&&!(e instanceof AI)&&!(e instanceof eae)&&!(e.parent instanceof eae))if(s.isGeometry){const t=s.vertices;for(let r=0,s=t.length;r<s;r++)o.copy(t[r]),o.applyMatrix4(e.matrixWorld),n.min(o),i.max(o)}else if(s.isBufferGeometry){const t=s.attributes.position;if(void 0!==t)for(let r=0,s=t.count;r<s;r++)o.fromBufferAttribute(t,r).applyMatrix4(e.matrixWorld),n.min(o),i.max(o)}};if(e.updateMatrixWorld(!0),"World"===e.typeText)for(let t=0;t<e.children.length;t++)e.children[t].visible&&!e.children[t].IsWidget&&e.children[t].traverse(o);else e.traverse(o);return new Qr(n,i)}};var Hme=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};new class{constructor(){this._handleList=new Map,setInterval(()=>Hme(this,void 0,void 0,function*(){this.loop()}),100)}add(e,t){if(e&&e instanceof Function){const r=zme.generateUUID();return this._handleList.set(r,e.bind(t||this)),r}return null}remove(e){return!!this._handleList.has(e)&&(this._handleList.delete(e),!0)}loop(){this._handleList.forEach((e,t)=>Hme(this,void 0,void 0,function*(){e&&e()}))}};const Gme=globalThis,jme=Gme.ShadowRoot&&(void 0===Gme.ShadyCSS||Gme.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,Jme=Symbol(),Wme=new WeakMap;class Qme{constructor(e,t,r){if(this._$cssResult$=!0,r!==Jme)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=e,this.t=t}get styleSheet(){let e=this.o;const t=this.t;if(jme&&void 0===e){const r=void 0!==t&&1===t.length;r&&(e=Wme.get(t)),void 0===e&&((this.o=e=new CSSStyleSheet).replaceSync(this.cssText),r&&Wme.set(t,e))}return e}toString(){return this.cssText}}const qme=jme?e=>e:e=>e instanceof CSSStyleSheet?(e=>{let t="";for(const r of e.cssRules)t+=r.cssText;return(e=>new Qme("string"==typeof e?e:e+"",void 0,Jme))(t)})(e):e,{is:Yme,defineProperty:Xme,getOwnPropertyDescriptor:Kme,getOwnPropertyNames:Zme,getOwnPropertySymbols:e_e,getPrototypeOf:t_e}=Object,r_e=globalThis,n_e=r_e.trustedTypes,i_e=n_e?n_e.emptyScript:"",o_e=r_e.reactiveElementPolyfillSupport,s_e=(e,t)=>e,a_e={toAttribute(e,t){switch(t){case Boolean:e=e?i_e:null;break;case Object:case Array:e=null==e?e:JSON.stringify(e)}return e},fromAttribute(e,t){let r=e;switch(t){case Boolean:r=null!==e;break;case Number:r=null===e?null:Number(e);break;case Object:case Array:try{r=JSON.parse(e)}catch(e){r=null}}return r}},l_e=(e,t)=>!Yme(e,t),c_e={attribute:!0,type:String,converter:a_e,reflect:!1,useDefault:!1,hasChanged:l_e};Symbol.metadata??=Symbol("metadata"),r_e.litPropertyMetadata??=new WeakMap;class u_e extends HTMLElement{static addInitializer(e){this._$Ei(),(this.l??=[]).push(e)}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(e,t=c_e){if(t.state&&(t.attribute=!1),this._$Ei(),this.prototype.hasOwnProperty(e)&&((t=Object.create(t)).wrapped=!0),this.elementProperties.set(e,t),!t.noAccessor){const r=Symbol(),n=this.getPropertyDescriptor(e,r,t);void 0!==n&&Xme(this.prototype,e,n)}}static getPropertyDescriptor(e,t,r){const{get:n,set:i}=Kme(this.prototype,e)??{get(){return this[t]},set(e){this[t]=e}};return{get:n,set(t){const o=n?.call(this);i?.call(this,t),this.requestUpdate(e,o,r)},configurable:!0,enumerable:!0}}static getPropertyOptions(e){return this.elementProperties.get(e)??c_e}static _$Ei(){if(this.hasOwnProperty(s_e("elementProperties")))return;const e=t_e(this);e.finalize(),void 0!==e.l&&(this.l=[...e.l]),this.elementProperties=new Map(e.elementProperties)}static finalize(){if(this.hasOwnProperty(s_e("finalized")))return;if(this.finalized=!0,this._$Ei(),this.hasOwnProperty(s_e("properties"))){const e=this.properties,t=[...Zme(e),...e_e(e)];for(const r of t)this.createProperty(r,e[r])}const e=this[Symbol.metadata];if(null!==e){const t=litPropertyMetadata.get(e);if(void 0!==t)for(const[e,r]of t)this.elementProperties.set(e,r)}this._$Eh=new Map;for(const[e,t]of this.elementProperties){const r=this._$Eu(e,t);void 0!==r&&this._$Eh.set(r,e)}this.elementStyles=this.finalizeStyles(this.styles)}static finalizeStyles(e){const t=[];if(Array.isArray(e)){const r=new Set(e.flat(1/0).reverse());for(const e of r)t.unshift(qme(e))}else void 0!==e&&t.push(qme(e));return t}static _$Eu(e,t){const r=t.attribute;return!1===r?void 0:"string"==typeof r?r:"string"==typeof e?e.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=!1,this.hasUpdated=!1,this._$Em=null,this._$Ev()}_$Ev(){this._$ES=new Promise(e=>this.enableUpdating=e),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach(e=>e(this))}addController(e){(this._$EO??=new Set).add(e),void 0!==this.renderRoot&&this.isConnected&&e.hostConnected?.()}removeController(e){this._$EO?.delete(e)}_$E_(){const e=new Map,t=this.constructor.elementProperties;for(const r of t.keys())this.hasOwnProperty(r)&&(e.set(r,this[r]),delete this[r]);e.size>0&&(this._$Ep=e)}createRenderRoot(){const e=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return((e,t)=>{if(jme)e.adoptedStyleSheets=t.map(e=>e instanceof CSSStyleSheet?e:e.styleSheet);else for(const r of t){const t=document.createElement("style"),n=Gme.litNonce;void 0!==n&&t.setAttribute("nonce",n),t.textContent=r.cssText,e.appendChild(t)}})(e,this.constructor.elementStyles),e}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(!0),this._$EO?.forEach(e=>e.hostConnected?.())}enableUpdating(e){}disconnectedCallback(){this._$EO?.forEach(e=>e.hostDisconnected?.())}attributeChangedCallback(e,t,r){this._$AK(e,r)}_$ET(e,t){const r=this.constructor.elementProperties.get(e),n=this.constructor._$Eu(e,r);if(void 0!==n&&!0===r.reflect){const i=(void 0!==r.converter?.toAttribute?r.converter:a_e).toAttribute(t,r.type);this._$Em=e,null==i?this.removeAttribute(n):this.setAttribute(n,i),this._$Em=null}}_$AK(e,t){const r=this.constructor,n=r._$Eh.get(e);if(void 0!==n&&this._$Em!==n){const e=r.getPropertyOptions(n),i="function"==typeof e.converter?{fromAttribute:e.converter}:void 0!==e.converter?.fromAttribute?e.converter:a_e;this._$Em=n;const o=i.fromAttribute(t,e.type);this[n]=o??this._$Ej?.get(n)??o,this._$Em=null}}requestUpdate(e,t,r){if(void 0!==e){const n=this.constructor,i=this[e];if(r??=n.getPropertyOptions(e),!((r.hasChanged??l_e)(i,t)||r.useDefault&&r.reflect&&i===this._$Ej?.get(e)&&!this.hasAttribute(n._$Eu(e,r))))return;this.C(e,t,r)}!1===this.isUpdatePending&&(this._$ES=this._$EP())}C(e,t,{useDefault:r,reflect:n,wrapped:i},o){r&&!(this._$Ej??=new Map).has(e)&&(this._$Ej.set(e,o??t??this[e]),!0!==i||void 0!==o)||(this._$AL.has(e)||(this.hasUpdated||r||(t=void 0),this._$AL.set(e,t)),!0===n&&this._$Em!==e&&(this._$Eq??=new Set).add(e))}async _$EP(){this.isUpdatePending=!0;try{await this._$ES}catch(e){Promise.reject(e)}const e=this.scheduleUpdate();return null!=e&&await e,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[e,t]of this._$Ep)this[e]=t;this._$Ep=void 0}const e=this.constructor.elementProperties;if(e.size>0)for(const[t,r]of e){const{wrapped:e}=r,n=this[t];!0!==e||this._$AL.has(t)||void 0===n||this.C(t,void 0,r,n)}}let e=!1;const t=this._$AL;try{e=this.shouldUpdate(t),e?(this.willUpdate(t),this._$EO?.forEach(e=>e.hostUpdate?.()),this.update(t)):this._$EM()}catch(t){throw e=!1,this._$EM(),t}e&&this._$AE(t)}willUpdate(e){}_$AE(e){this._$EO?.forEach(e=>e.hostUpdated?.()),this.hasUpdated||(this.hasUpdated=!0,this.firstUpdated(e)),this.updated(e)}_$EM(){this._$AL=new Map,this.isUpdatePending=!1}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(e){return!0}update(e){this._$Eq&&=this._$Eq.forEach(e=>this._$ET(e,this[e])),this._$EM()}updated(e){}firstUpdated(e){}}u_e.elementStyles=[],u_e.shadowRootOptions={mode:"open"},u_e[s_e("elementProperties")]=new Map,u_e[s_e("finalized")]=new Map,o_e?.({ReactiveElement:u_e}),(r_e.reactiveElementVersions??=[]).push("2.1.1");
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+const d_e={attribute:!0,type:String,converter:a_e,reflect:!1,hasChanged:l_e},h_e=(e=d_e,t,r)=>{const{kind:n,metadata:i}=r;let o=globalThis.litPropertyMetadata.get(i);if(void 0===o&&globalThis.litPropertyMetadata.set(i,o=new Map),"setter"===n&&((e=Object.create(e)).wrapped=!0),o.set(r.name,e),"accessor"===n){const{name:n}=r;return{set(r){const i=t.get.call(this);t.set.call(this,r),this.requestUpdate(n,i,e)},init(t){return void 0!==t&&this.C(n,void 0,e,t),t}}}if("setter"===n){const{name:n}=r;return function(r){const i=this[n];t.call(this,r),this.requestUpdate(n,i,e)}}throw Error("Unsupported decorator location: "+n)};function p_e(e){return(t,r)=>"object"==typeof r?h_e(e,t,r):((e,t,r)=>{const n=t.hasOwnProperty(r);return t.constructor.createProperty(r,e),n?Object.getOwnPropertyDescriptor(t,r):void 0})(e,t,r)}
+/**
+ * @license
+ * Copyright 2017 Google LLC
+ * SPDX-License-Identifier: BSD-3-Clause
+ */
+const m_e=globalThis,__e=m_e.trustedTypes,g_e=__e?__e.createPolicy("lit-html",{createHTML:e=>e}):void 0,f_e="$lit$",v_e=`lit$${Math.random().toFixed(9).slice(2)}$`,b_e="?"+v_e,y_e=`<${b_e}>`,$_e=document,x_e=()=>$_e.createComment(""),S_e=e=>null===e||"object"!=typeof e&&"function"!=typeof e,w_e=Array.isArray,A_e=e=>w_e(e)||"function"==typeof e?.[Symbol.iterator],C_e="[ \t\n\f\r]",E_e=/<(?:(!--|\/[^a-zA-Z])|(\/?[a-zA-Z][^>\s]*)|(\/?$))/g,I_e=/-->/g,M_e=/>/g,k_e=RegExp(`>|${C_e}(?:([^\\s"'>=/]+)(${C_e}*=${C_e}*(?:[^ \t\n\f\r"'\`<>=]|("|')|))|$)`,"g"),T_e=/'/g,R_e=/"/g,L_e=/^(?:script|style|textarea|title)$/i,P_e=e=>(t,...r)=>({_$litType$:e,strings:t,values:r}),D_e=P_e(1),N_e=(P_e(2),P_e(3),Symbol.for("lit-noChange")),F_e=Symbol.for("lit-nothing"),O_e=new WeakMap,B_e=$_e.createTreeWalker($_e,129);function U_e(e,t){if(!w_e(e)||!e.hasOwnProperty("raw"))throw Error("invalid template strings array");return void 0!==g_e?g_e.createHTML(t):t}const V_e=(e,t)=>{const r=e.length-1,n=[];let i,o=2===t?"<svg>":3===t?"<math>":"",s=E_e;for(let t=0;t<r;t++){const r=e[t];let a,l,c=-1,u=0;for(;u<r.length&&(s.lastIndex=u,l=s.exec(r),null!==l);)u=s.lastIndex,s===E_e?"!--"===l[1]?s=I_e:void 0!==l[1]?s=M_e:void 0!==l[2]?(L_e.test(l[2])&&(i=RegExp("</"+l[2],"g")),s=k_e):void 0!==l[3]&&(s=k_e):s===k_e?">"===l[0]?(s=i??E_e,c=-1):void 0===l[1]?c=-2:(c=s.lastIndex-l[2].length,a=l[1],s=void 0===l[3]?k_e:'"'===l[3]?R_e:T_e):s===R_e||s===T_e?s=k_e:s===I_e||s===M_e?s=E_e:(s=k_e,i=void 0);const d=s===k_e&&e[t+1].startsWith("/>")?" ":"";o+=s===E_e?r+y_e:c>=0?(n.push(a),r.slice(0,c)+f_e+r.slice(c)+v_e+d):r+v_e+(-2===c?t:d)}return[U_e(e,o+(e[r]||"<?>")+(2===t?"</svg>":3===t?"</math>":"")),n]};class z_e{constructor({strings:e,_$litType$:t},r){let n;this.parts=[];let i=0,o=0;const s=e.length-1,a=this.parts,[l,c]=V_e(e,t);if(this.el=z_e.createElement(l,r),B_e.currentNode=this.el.content,2===t||3===t){const e=this.el.content.firstChild;e.replaceWith(...e.childNodes)}for(;null!==(n=B_e.nextNode())&&a.length<s;){if(1===n.nodeType){if(n.hasAttributes())for(const e of n.getAttributeNames())if(e.endsWith(f_e)){const t=c[o++],r=n.getAttribute(e).split(v_e),s=/([.?@])?(.*)/.exec(t);a.push({type:1,index:i,name:s[2],strings:r,ctor:"."===s[1]?W_e:"?"===s[1]?Q_e:"@"===s[1]?q_e:J_e}),n.removeAttribute(e)}else e.startsWith(v_e)&&(a.push({type:6,index:i}),n.removeAttribute(e));if(L_e.test(n.tagName)){const e=n.textContent.split(v_e),t=e.length-1;if(t>0){n.textContent=__e?__e.emptyScript:"";for(let r=0;r<t;r++)n.append(e[r],x_e()),B_e.nextNode(),a.push({type:2,index:++i});n.append(e[t],x_e())}}}else if(8===n.nodeType)if(n.data===b_e)a.push({type:2,index:i});else{let e=-1;for(;-1!==(e=n.data.indexOf(v_e,e+1));)a.push({type:7,index:i}),e+=v_e.length-1}i++}}static createElement(e,t){const r=$_e.createElement("template");return r.innerHTML=e,r}}function H_e(e,t,r=e,n){if(t===N_e)return t;let i=void 0!==n?r._$Co?.[n]:r._$Cl;const o=S_e(t)?void 0:t._$litDirective$;return i?.constructor!==o&&(i?._$AO?.(!1),void 0===o?i=void 0:(i=new o(e),i._$AT(e,r,n)),void 0!==n?(r._$Co??=[])[n]=i:r._$Cl=i),void 0!==i&&(t=H_e(e,i._$AS(e,t.values),i,n)),t}class G_e{constructor(e,t){this._$AV=[],this._$AN=void 0,this._$AD=e,this._$AM=t}get parentNode(){return this._$AM.parentNode}get _$AU(){return this._$AM._$AU}u(e){const{el:{content:t},parts:r}=this._$AD,n=(e?.creationScope??$_e).importNode(t,!0);B_e.currentNode=n;let i=B_e.nextNode(),o=0,s=0,a=r[0];for(;void 0!==a;){if(o===a.index){let t;2===a.type?t=new j_e(i,i.nextSibling,this,e):1===a.type?t=new a.ctor(i,a.name,a.strings,this,e):6===a.type&&(t=new Y_e(i,this,e)),this._$AV.push(t),a=r[++s]}o!==a?.index&&(i=B_e.nextNode(),o++)}return B_e.currentNode=$_e,n}p(e){let t=0;for(const r of this._$AV)void 0!==r&&(void 0!==r.strings?(r._$AI(e,r,t),t+=r.strings.length-2):r._$AI(e[t])),t++}}class j_e{get _$AU(){return this._$AM?._$AU??this._$Cv}constructor(e,t,r,n){this.type=2,this._$AH=F_e,this._$AN=void 0,this._$AA=e,this._$AB=t,this._$AM=r,this.options=n,this._$Cv=n?.isConnected??!0}get parentNode(){let e=this._$AA.parentNode;const t=this._$AM;return void 0!==t&&11===e?.nodeType&&(e=t.parentNode),e}get startNode(){return this._$AA}get endNode(){return this._$AB}_$AI(e,t=this){e=H_e(this,e,t),S_e(e)?e===F_e||null==e||""===e?(this._$AH!==F_e&&this._$AR(),this._$AH=F_e):e!==this._$AH&&e!==N_e&&this._(e):void 0!==e._$litType$?this.$(e):void 0!==e.nodeType?this.T(e):A_e(e)?this.k(e):this._(e)}O(e){return this._$AA.parentNode.insertBefore(e,this._$AB)}T(e){this._$AH!==e&&(this._$AR(),this._$AH=this.O(e))}_(e){this._$AH!==F_e&&S_e(this._$AH)?this._$AA.nextSibling.data=e:this.T($_e.createTextNode(e)),this._$AH=e}$(e){const{values:t,_$litType$:r}=e,n="number"==typeof r?this._$AC(e):(void 0===r.el&&(r.el=z_e.createElement(U_e(r.h,r.h[0]),this.options)),r);if(this._$AH?._$AD===n)this._$AH.p(t);else{const e=new G_e(n,this),r=e.u(this.options);e.p(t),this.T(r),this._$AH=e}}_$AC(e){let t=O_e.get(e.strings);return void 0===t&&O_e.set(e.strings,t=new z_e(e)),t}k(e){w_e(this._$AH)||(this._$AH=[],this._$AR());const t=this._$AH;let r,n=0;for(const i of e)n===t.length?t.push(r=new j_e(this.O(x_e()),this.O(x_e()),this,this.options)):r=t[n],r._$AI(i),n++;n<t.length&&(this._$AR(r&&r._$AB.nextSibling,n),t.length=n)}_$AR(e=this._$AA.nextSibling,t){for(this._$AP?.(!1,!0,t);e!==this._$AB;){const t=e.nextSibling;e.remove(),e=t}}setConnected(e){void 0===this._$AM&&(this._$Cv=e,this._$AP?.(e))}}class J_e{get tagName(){return this.element.tagName}get _$AU(){return this._$AM._$AU}constructor(e,t,r,n,i){this.type=1,this._$AH=F_e,this._$AN=void 0,this.element=e,this.name=t,this._$AM=n,this.options=i,r.length>2||""!==r[0]||""!==r[1]?(this._$AH=Array(r.length-1).fill(new String),this.strings=r):this._$AH=F_e}_$AI(e,t=this,r,n){const i=this.strings;let o=!1;if(void 0===i)e=H_e(this,e,t,0),o=!S_e(e)||e!==this._$AH&&e!==N_e,o&&(this._$AH=e);else{const n=e;let s,a;for(e=i[0],s=0;s<i.length-1;s++)a=H_e(this,n[r+s],t,s),a===N_e&&(a=this._$AH[s]),o||=!S_e(a)||a!==this._$AH[s],a===F_e?e=F_e:e!==F_e&&(e+=(a??"")+i[s+1]),this._$AH[s]=a}o&&!n&&this.j(e)}j(e){e===F_e?this.element.removeAttribute(this.name):this.element.setAttribute(this.name,e??"")}}class W_e extends J_e{constructor(){super(...arguments),this.type=3}j(e){this.element[this.name]=e===F_e?void 0:e}}class Q_e extends J_e{constructor(){super(...arguments),this.type=4}j(e){this.element.toggleAttribute(this.name,!!e&&e!==F_e)}}class q_e extends J_e{constructor(e,t,r,n,i){super(e,t,r,n,i),this.type=5}_$AI(e,t=this){if((e=H_e(this,e,t,0)??F_e)===N_e)return;const r=this._$AH,n=e===F_e&&r!==F_e||e.capture!==r.capture||e.once!==r.once||e.passive!==r.passive,i=e!==F_e&&(r===F_e||n);n&&this.element.removeEventListener(this.name,this,r),i&&this.element.addEventListener(this.name,this,e),this._$AH=e}handleEvent(e){"function"==typeof this._$AH?this._$AH.call(this.options?.host??this.element,e):this._$AH.handleEvent(e)}}class Y_e{constructor(e,t,r){this.element=e,this.type=6,this._$AN=void 0,this._$AM=t,this.options=r}get _$AU(){return this._$AM._$AU}_$AI(e){H_e(this,e)}}const X_e=m_e.litHtmlPolyfillSupport;X_e?.(z_e,j_e),(m_e.litHtmlVersions??=[]).push("3.3.1");const K_e=(e,t,r)=>{const n=r?.renderBefore??t;let i=n._$litPart$;if(void 0===i){const e=r?.renderBefore??null;n._$litPart$=i=new j_e(t.insertBefore(x_e(),e),e,void 0,r??{})}return i._$AI(e),i},Z_e=globalThis;class ege extends u_e{constructor(){super(...arguments),this.renderOptions={host:this},this._$Do=void 0}createRenderRoot(){const e=super.createRenderRoot();return this.renderOptions.renderBefore??=e.firstChild,e}update(e){const t=this.render();this.hasUpdated||(this.renderOptions.isConnected=this.isConnected),super.update(e),this._$Do=K_e(t,this.renderRoot,this.renderOptions)}connectedCallback(){super.connectedCallback(),this._$Do?.setConnected(!0)}disconnectedCallback(){super.disconnectedCallback(),this._$Do?.setConnected(!1)}render(){return N_e}}ege._$litElement$=!0,ege.finalized=!0,Z_e.litElementHydrateSupport?.({LitElement:ege});const tge=Z_e.litElementPolyfillSupport;tge?.({LitElement:ege});(Z_e.litElementVersions??=[]).push("4.2.1");
+/* @license
+ * Copyright 2019 Google LLC. All Rights Reserved.
+ * Licensed under the Apache License, Version 2.0 (the 'License');
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an 'AS IS' BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+const rge=null!=navigator.xr&&null!=self.XRSession&&null!=navigator.xr.isSessionSupported,nge=rge&&null!=self.XRSession.prototype.requestHitTestSource,ige=null!=self.ResizeObserver,oge=null!=self.IntersectionObserver,sge=nge,age=((()=>{const e=navigator.userAgent||navigator.vendor||self.opera;let t=!1;(/(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|fennec|hiptop|iemobile|ip(hone|od)|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i.test(e)||/1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i.test(e.substr(0,4)))&&(t=!0)})(),/\bCrOS\b/.test(navigator.userAgent),/android/i.test(navigator.userAgent)),lge=/iPad|iPhone|iPod/.test(navigator.userAgent)&&!self.MSStream||"MacIntel"===navigator.platform&&navigator.maxTouchPoints>1,cge=(/Safari\//.test(navigator.userAgent),/firefox/i.test(navigator.userAgent)),uge=/OculusBrowser/.test(navigator.userAgent),dge=(lge&&/CriOS\//.test(navigator.userAgent),age&&!cge&&!uge),hge=Boolean(window.webkit&&window.webkit.messageHandlers),pge=(()=>{if(lge){if(hge)return Boolean(/CriOS\/|EdgiOS\/|FxiOS\/|GSA\/|DuckDuckGo\//.test(navigator.userAgent));{const e=document.createElement("a");return Boolean(e.relList&&e.relList.supports&&e.relList.supports("ar"))}}return!1})(),mge=e=>e&&"null"!==e?gge(e):null,_ge=()=>{if(sge)return;const e=[];throw rge||e.push("WebXR Device API"),nge||e.push("WebXR Hit Test API"),new Error(`The following APIs are required for AR, but are missing in this browser: ${e.join(", ")}`)},gge=e=>new URL(e,window.location.toString()).toString(),fge=(e,t)=>{let r=null;return(...n)=>{null!=r&&self.clearTimeout(r),r=self.setTimeout(()=>{r=null,e(...n)},t)}},vge=(e,t,r)=>Math.max(t,Math.min(r,e)),bge=(()=>{const e=new RegExp("[?&]model-viewer-debug-mode(&|$)");return()=>self.ModelViewerElement&&self.ModelViewerElement.debugMode||self.location&&self.location.search&&self.location.search.match(e)})();
+/* @license
+ * Copyright 2019 Google LLC. All Rights Reserved.
+ * Licensed under the Apache License, Version 2.0 (the 'License');
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an 'AS IS' BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+var yge=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};const $ge=Symbol("currentEnvironmentMap"),xge=Symbol("currentBackground"),Sge=Symbol("updateEnvironment"),wge=Symbol("cancelEnvironmentUpdate"),Age=D_e`
+<style>
+:host {
+  display: block;
+  position: relative;
+  contain: strict;
+  width: 300px;
+  height: 150px;
+}
+
+.container {
+  position: relative;
+  overflow: hidden;
+}
+
+.userInput {
+  width: 100%;
+  height: 100%;
+  display: none;
+  position: relative;
+  outline-offset: -1px;
+  outline-width: 1px;
+}
+
+canvas {
+  position: absolute;
+  display: none;
+  pointer-events: none;
+  /* NOTE(cdata): Chrome 76 and below apparently have a bug
+   * that causes our canvas not to display pixels unless it is
+   * on its own render layer
+   * @see https://github.com/google/model-viewer/pull/755#issuecomment-536597893
+   */
+  transform: translateZ(0);
+}
+
+.show {
+  display: block;
+}
+
+/* Adapted from HTML5 Boilerplate
+ *
+ * @see https://github.com/h5bp/html5-boilerplate/blob/ceb4620c78fc82e13534fc44202a3f168754873f/dist/css/main.css#L122-L133 */
+.screen-reader-only {
+  border: 0;
+  left: 0;
+  top: 0;
+  clip: rect(0, 0, 0, 0);
+  height: 1px;
+  margin: -1px;
+  overflow: hidden;
+  padding: 0;
+  position: absolute;
+  white-space: nowrap;
+  width: 1px;
+  pointer-events: none;
+}
+
+.slot {
+  position: absolute;
+  pointer-events: none;
+  top: 0;
+  left: 0;
+  width: 100%;
+  height: 100%;
+}
+
+.slot > * {
+  pointer-events: initial;
+}
+
+.annotation-wrapper ::slotted(*) {
+  opacity: var(--max-hotspot-opacity, 1);
+  transition: opacity 0.3s;
+}
+
+.pointer-tumbling .annotation-wrapper ::slotted(*) {
+  pointer-events: none;
+}
+
+.annotation-wrapper ::slotted(*) {
+  pointer-events: initial;
+}
+
+.annotation-wrapper.hide ::slotted(*) {
+  opacity: var(--min-hotspot-opacity, 0.25);
+}
+
+.slot.poster {
+  display: none;
+  background-color: inherit;
+}
+
+.slot.poster.show {
+  display: inherit;
+}
+
+.slot.poster > * {
+  pointer-events: initial;
+}
+
+.slot.poster:not(.show) > * {
+  pointer-events: none;
+}
+
+#default-poster {
+  width: 100%;
+  height: 100%;
+  /* The default poster is a <button> so we need to set display
+   * to prevent it from being affected by text-align: */
+  display: block;
+  position: absolute;
+  border: none;
+  padding: 0;
+  background-size: contain;
+  background-repeat: no-repeat;
+  background-position: center;
+  background-color: #fff0;
+}
+
+#default-progress-bar {
+  display: block;
+  position: relative;
+  width: 100%;
+  height: 100%;
+  pointer-events: none;
+  overflow: hidden;
+}
+
+#default-progress-bar > .bar {
+  position: absolute;
+  top: 0;
+  left: 0;
+  width: 100%;
+  height: var(--progress-bar-height, 5px);
+  background-color: var(--progress-bar-color, rgba(0, 0, 0, 0.4));
+  transition: transform 0.09s;
+  transform-origin: top left;
+  transform: scaleX(0);
+  overflow: hidden;
+}
+
+#default-progress-bar > .bar.hide {
+  transition: opacity 0.3s 1s;
+  opacity: 0;
+}
+
+.centered {
+  align-items: center;
+  justify-content: center;
+}
+
+.cover {
+  position: absolute;
+  top: 0;
+  left: 0;
+  width: 100%;
+  height: 100%;
+  pointer-events: none;
+}
+
+.slot.interaction-prompt {
+  display: var(--interaction-prompt-display, flex);
+  overflow: hidden;
+  opacity: 0;
+  will-change: opacity;
+  transition: opacity 0.3s;
+}
+
+.slot.interaction-prompt.visible {
+  opacity: 1;
+}
+
+.animated-container {
+  will-change: transform, opacity;
+  opacity: 0;
+  transition: opacity 0.3s;
+}
+
+.slot.interaction-prompt > * {
+  pointer-events: none;
+}
+
+.slot.ar-button {
+  -moz-user-select: none;
+  -webkit-tap-highlight-color: transparent;
+  user-select: none;
+
+  display: var(--ar-button-display, block);
+}
+
+.slot.ar-button:not(.enabled) {
+  display: none;
+}
+
+.fab {
+  display: flex;
+  align-items: center;
+  justify-content: center;
+  box-sizing: border-box;
+  width: 40px;
+  height: 40px;
+  cursor: pointer;
+  background-color: #fff;
+  box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.15);
+  border-radius: 100px;
+}
+
+.fab > * {
+  opacity: 0.87;
+}
+
+#default-ar-button {
+  position: absolute;
+  bottom: 16px;
+  right: 16px;
+  transform: scale(var(--ar-button-scale, 1));
+  transform-origin: bottom right;
+}
+
+.slot.pan-target {
+  display: block;
+  position: absolute;
+  width: 0;
+  height: 0;
+  left: 50%;
+  top: 50%;
+  transform: translate3d(-50%, -50%, 0);
+  background-color: transparent;
+  opacity: 0;
+  transition: opacity 0.3s;
+}
+
+#default-pan-target {
+  width: 6px;
+  height: 6px;
+  border-radius: 6px;
+  border: 1px solid white;
+  box-shadow: 0px 0px 2px 1px rgba(0, 0, 0, 0.8);
+}
+
+.slot.default {
+  pointer-events: none;
+}
+
+.slot.progress-bar {
+  pointer-events: none;
+}
+
+.slot.exit-webxr-ar-button {
+  pointer-events: none;
+}
+
+.slot.exit-webxr-ar-button:not(.enabled) {
+  display: none;
+}
+
+#default-exit-webxr-ar-button {
+  display: flex;
+  align-items: center;
+  justify-content: center;
+  position: absolute;
+  top: env(safe-area-inset-top, 16px);
+  right: 16px;
+  width: 40px;
+  height: 40px;
+  box-sizing: border-box;
+}
+
+#default-exit-webxr-ar-button > svg {
+  fill: #fff;
+}
+</style>
+<div class="container">
+  <div class="userInput" tabindex="0" role="img"
+      aria-label="3D model">
+      <div class="slot canvas">
+        <slot name="canvas">
+          <canvas></canvas>
+        </slot>
+      </div>
+
+  </div>
+
+  <!-- NOTE(cdata): We need to wrap slots because browsers without ShadowDOM
+        will have their <slot> elements removed by ShadyCSS -->
+  <div class="slot poster">
+    <slot name="poster">
+      <button type="button" id="default-poster" aria-hidden="true" aria-label="Loading 3D model"></button>
+    </slot>
+  </div>
+
+  <div class="slot ar-button">
+    <slot name="ar-button">
+      <a id="default-ar-button" part="default-ar-button" class="fab"
+          tabindex="2"
+          role="button"
+          href="javascript:void(0);"
+          aria-label="View in your space">
+        ${D_e`
+<svg version="1.1" id="view_x5F_in_x5F_AR_x5F_icon"
+	 xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" width="24px" height="24px"
+	 viewBox="0 0 24 24" enable-background="new 0 0 24 24" xml:space="preserve">
+<rect id="Bounding_Box" x="0" y="0" fill="none" width="24" height="24"/>
+<g id="Art_layer">
+	<path d="M3,4c0-0.55,0.45-1,1-1h2V1H4C2.35,1,1,2.35,1,4v2h2V4z"/>
+	<path d="M20,3c0.55,0,1,0.45,1,1v2h2V4c0-1.65-1.35-3-3-3h-2v2H20z"/>
+	<path d="M4,21c-0.55,0-1-0.45-1-1v-2H1v2c0,1.65,1.35,3,3,3h2v-2H4z"/>
+	<path d="M20,21c0.55,0,1-0.45,1-1v-2h2v2c0,1.65-1.35,3-3,3h-2v-2H20z"/>
+	<g>
+		<path d="M18.25,7.6l-5.5-3.18c-0.46-0.27-1.04-0.27-1.5,0L5.75,7.6C5.29,7.87,5,8.36,5,8.9v6.35c0,0.54,0.29,1.03,0.75,1.3
+			l5.5,3.18c0.46,0.27,1.04,0.27,1.5,0l5.5-3.18c0.46-0.27,0.75-0.76,0.75-1.3V8.9C19,8.36,18.71,7.87,18.25,7.6z M7,14.96v-4.62
+			l4,2.32v4.61L7,14.96z M12,10.93L8,8.61l4-2.31l4,2.31L12,10.93z M13,17.27v-4.61l4-2.32v4.62L13,17.27z"/>
+	</g>
+</g>
+</svg>`}
+      </a>
+    </slot>
+  </div>
+
+  <div class="slot pan-target">
+    <slot name="pan-target">
+      <div id="default-pan-target">
+      </div>
+    </slot>
+  </div>
+
+  <div class="slot interaction-prompt cover centered">
+    <div id="prompt" class="animated-container">
+      <slot name="interaction-prompt" aria-hidden="true">
+        ${D_e`
+<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="25" height="36">
+    <defs>
+        <path id="A" d="M.001.232h24.997V36H.001z" />
+    </defs>
+    <g transform="translate(-11 -4)" fill="none" fill-rule="evenodd">
+        <path fill-opacity="0" fill="#fff" d="M0 0h44v44H0z" />
+        <g transform="translate(11 3)">
+            <path d="M8.733 11.165c.04-1.108.766-2.027 1.743-2.307a2.54 2.54 0 0 1 .628-.089c.16 0 .314.017.463.044 1.088.2 1.9 1.092 1.9 2.16v8.88h1.26c2.943-1.39 5-4.45 5-8.025a9.01 9.01 0 0 0-1.9-5.56l-.43-.5c-.765-.838-1.683-1.522-2.712-2-1.057-.49-2.226-.77-3.46-.77s-2.4.278-3.46.77c-1.03.478-1.947 1.162-2.71 2l-.43.5a9.01 9.01 0 0 0-1.9 5.56 9.04 9.04 0 0 0 .094 1.305c.03.21.088.41.13.617l.136.624c.083.286.196.56.305.832l.124.333a8.78 8.78 0 0 0 .509.953l.065.122a8.69 8.69 0 0 0 3.521 3.191l1.11.537v-9.178z" fill-opacity=".5" fill="#e4e4e4" />
+            <path d="M22.94 26.218l-2.76 7.74c-.172.485-.676.8-1.253.8H12.24c-1.606 0-3.092-.68-3.98-1.82-1.592-2.048-3.647-3.822-6.11-5.27-.095-.055-.15-.137-.152-.23-.004-.1.046-.196.193-.297.56-.393 1.234-.6 1.926-.6a3.43 3.43 0 0 1 .691.069l4.922.994V10.972c0-.663.615-1.203 1.37-1.203s1.373.54 1.373 1.203v9.882h2.953c.273 0 .533.073.757.21l6.257 3.874c.027.017.045.042.07.06.41.296.586.77.426 1.22M4.1 16.614c-.024-.04-.042-.083-.065-.122a8.69 8.69 0 0 1-.509-.953c-.048-.107-.08-.223-.124-.333l-.305-.832c-.058-.202-.09-.416-.136-.624l-.13-.617a9.03 9.03 0 0 1-.094-1.305c0-2.107.714-4.04 1.9-5.56l.43-.5c.764-.84 1.682-1.523 2.71-2 1.058-.49 2.226-.77 3.46-.77s2.402.28 3.46.77c1.03.477 1.947 1.16 2.712 2l.428.5a9 9 0 0 1 1.901 5.559c0 3.577-2.056 6.636-5 8.026h-1.26v-8.882c0-1.067-.822-1.96-1.9-2.16-.15-.028-.304-.044-.463-.044-.22 0-.427.037-.628.09-.977.28-1.703 1.198-1.743 2.306v9.178l-1.11-.537C6.18 19.098 4.96 18 4.1 16.614M22.97 24.09l-6.256-3.874c-.102-.063-.218-.098-.33-.144 2.683-1.8 4.354-4.855 4.354-8.243 0-.486-.037-.964-.104-1.43a9.97 9.97 0 0 0-1.57-4.128l-.295-.408-.066-.092a10.05 10.05 0 0 0-.949-1.078c-.342-.334-.708-.643-1.094-.922-1.155-.834-2.492-1.412-3.94-1.65l-.732-.088-.748-.03a9.29 9.29 0 0 0-1.482.119c-1.447.238-2.786.816-3.94 1.65a9.33 9.33 0 0 0-.813.686 9.59 9.59 0 0 0-.845.877l-.385.437-.36.5-.288.468-.418.778-.04.09c-.593 1.28-.93 2.71-.93 4.222 0 3.832 2.182 7.342 5.56 8.938l1.437.68v4.946L5 25.64a4.44 4.44 0 0 0-.888-.086c-.017 0-.034.003-.05.003-.252.004-.503.033-.75.08a5.08 5.08 0 0 0-.237.056c-.193.046-.382.107-.568.18-.075.03-.15.057-.225.1-.25.114-.494.244-.723.405a1.31 1.31 0 0 0-.566 1.122 1.28 1.28 0 0 0 .645 1.051C4 29.925 5.96 31.614 7.473 33.563a5.06 5.06 0 0 0 .434.491c1.086 1.082 2.656 1.713 4.326 1.715h6.697c.748-.001 1.43-.333 1.858-.872.142-.18.256-.38.336-.602l2.757-7.74c.094-.26.13-.53.112-.794s-.088-.52-.203-.76a2.19 2.19 0 0 0-.821-.91" fill-opacity=".6" fill="#000" />
+            <path d="M22.444 24.94l-6.257-3.874a1.45 1.45 0 0 0-.757-.211h-2.953v-9.88c0-.663-.616-1.203-1.373-1.203s-1.37.54-1.37 1.203v16.643l-4.922-.994a3.44 3.44 0 0 0-.692-.069 3.35 3.35 0 0 0-1.925.598c-.147.102-.198.198-.194.298.004.094.058.176.153.23 2.462 1.448 4.517 3.22 6.11 5.27.887 1.14 2.373 1.82 3.98 1.82h6.686c.577 0 1.08-.326 1.253-.8l2.76-7.74c.16-.448-.017-.923-.426-1.22-.025-.02-.043-.043-.07-.06z" fill="#fff" />
+            <g transform="translate(0 .769)">
+                <mask id="B" fill="#fff">
+                    <use xlink:href="#A" />
+                </mask>
+                <path d="M23.993 24.992a1.96 1.96 0 0 1-.111.794l-2.758 7.74c-.08.22-.194.423-.336.602-.427.54-1.11.87-1.857.872h-6.698c-1.67-.002-3.24-.633-4.326-1.715-.154-.154-.3-.318-.434-.49C5.96 30.846 4 29.157 1.646 27.773c-.385-.225-.626-.618-.645-1.05a1.31 1.31 0 0 1 .566-1.122 4.56 4.56 0 0 1 .723-.405l.225-.1a4.3 4.3 0 0 1 .568-.18l.237-.056c.248-.046.5-.075.75-.08.018 0 .034-.003.05-.003.303-.001.597.027.89.086l3.722.752V20.68l-1.436-.68c-3.377-1.596-5.56-5.106-5.56-8.938 0-1.51.336-2.94.93-4.222.015-.03.025-.06.04-.09.127-.267.268-.525.418-.778.093-.16.186-.316.288-.468.063-.095.133-.186.2-.277L3.773 5c.118-.155.26-.29.385-.437.266-.3.544-.604.845-.877a9.33 9.33 0 0 1 .813-.686C6.97 2.167 8.31 1.59 9.757 1.35a9.27 9.27 0 0 1 1.481-.119 8.82 8.82 0 0 1 .748.031c.247.02.49.05.733.088 1.448.238 2.786.816 3.94 1.65.387.28.752.588 1.094.922a9.94 9.94 0 0 1 .949 1.078l.066.092c.102.133.203.268.295.408a9.97 9.97 0 0 1 1.571 4.128c.066.467.103.945.103 1.43 0 3.388-1.67 6.453-4.353 8.243.11.046.227.08.33.144l6.256 3.874c.37.23.645.55.82.9.115.24.185.498.203.76m.697-1.195c-.265-.55-.677-1.007-1.194-1.326l-5.323-3.297c2.255-2.037 3.564-4.97 3.564-8.114 0-2.19-.637-4.304-1.84-6.114-.126-.188-.26-.37-.4-.552-.645-.848-1.402-1.6-2.252-2.204C15.472.91 13.393.232 11.238.232A10.21 10.21 0 0 0 5.23 2.19c-.848.614-1.606 1.356-2.253 2.205-.136.18-.272.363-.398.55C1.374 6.756.737 8.87.737 11.06c0 4.218 2.407 8.08 6.133 9.842l.863.41v3.092l-2.525-.51c-.356-.07-.717-.106-1.076-.106a5.45 5.45 0 0 0-3.14.996c-.653.46-1.022 1.202-.99 1.983a2.28 2.28 0 0 0 1.138 1.872c2.24 1.318 4.106 2.923 5.543 4.772 1.26 1.62 3.333 2.59 5.55 2.592h6.698c1.42-.001 2.68-.86 3.134-2.138l2.76-7.74c.272-.757.224-1.584-.134-2.325" fill-opacity=".05" fill="#000" mask="url(#B)" />
+            </g>
+        </g>
+    </g>
+</svg>`}
+      </slot>
+    </div>
+  </div>
+
+  <div id="finger0" class="animated-container cover">
+    <slot name="finger0" aria-hidden="true">
+    </slot>
+  </div>
+  <div id="finger1" class="animated-container cover">
+    <slot name="finger1" aria-hidden="true">
+    </slot>
+  </div>
+
+  <div class="slot default">
+    <slot></slot>
+
+    <div class="slot progress-bar">
+      <slot name="progress-bar">
+        <div id="default-progress-bar" aria-hidden="true">
+          <div class="bar" part="default-progress-bar"></div>
+        </div>
+      </slot>
+    </div>
+
+    <div class="slot exit-webxr-ar-button">
+      <slot name="exit-webxr-ar-button">
+        <a id="default-exit-webxr-ar-button" part="default-exit-webxr-ar-button"
+            tabindex="3"
+            aria-label="Exit AR"
+            aria-hidden="true">
+          ${D_e`
+<svg xmlns="http://www.w3.org/2000/svg" width="24px" height="24px" viewBox="0 0 24 24" fill="#000000">
+    <!-- NOTE(cdata): This SVG filter is a stop-gap until we can implement
+         support for dynamic re-coloring of UI components -->
+    <defs>
+      <filter id="drop-shadow" x="-100%" y="-100%" width="300%" height="300%">
+        <feGaussianBlur in="SourceAlpha" stdDeviation="1"/>
+        <feOffset dx="0" dy="0" result="offsetblur"/>
+        <feFlood flood-color="#000000"/>
+        <feComposite in2="offsetblur" operator="in"/>
+        <feMerge>
+          <feMergeNode/>
+          <feMergeNode in="SourceGraphic"/>
+        </feMerge>
+      </filter>
+    </defs>
+    <path filter="url(#drop-shadow)" d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/>
+    <path d="M0 0h24v24H0z" fill="none"/>
+</svg>`}
+        </a>
+      </slot>
+    </div>
+  </div>
+</div>
+<div class="screen-reader-only" role="region" aria-label="Live announcements">
+  <span id="status" role="status"></span>
+</div>`;var Cge,Ege,Ige=function(){var e=new Uint8Array([0,97,115,109,1,0,0,0,1,4,1,96,0,0,3,3,2,0,0,5,3,1,0,1,12,1,0,10,22,2,12,0,65,0,65,0,65,0,252,10,0,0,11,7,0,65,0,253,15,26,11]),t=new Uint8Array([32,0,65,2,1,106,34,33,3,128,11,4,13,64,6,253,10,7,15,116,127,5,8,12,40,16,19,54,20,9,27,255,113,17,42,67,24,23,146,148,18,14,22,45,70,69,56,114,101,21,25,63,75,136,108,28,118,29,73,115]);if("object"!=typeof WebAssembly)return{supported:!1};var r,n=WebAssembly.validate(e)?o("b9H79TebbbeKl9Gbb9Gvuuuuueu9Giuuub9Geueuikqbbebeedddilve9Weeeviebeoweuec:q:6dkr;leDo9TW9T9VV95dbH9F9F939H79T9F9J9H229F9Jt9VV7bb8A9TW79O9V9Wt9F9KW9J9V9KW9wWVtW949c919M9MWVbdY9TW79O9V9Wt9F9KW9J9V9KW69U9KW949c919M9MWVblE9TW79O9V9Wt9F9KW9J9V9KW69U9KW949tWG91W9U9JWbvL9TW79O9V9Wt9F9KW9J9V9KWS9P2tWV9p9JtboK9TW79O9V9Wt9F9KW9J9V9KWS9P2tWV9r919HtbrL9TW79O9V9Wt9F9KW9J9V9KWS9P2tWVT949Wbwl79IV9RbDq:p9sqlbzik9:evu8Jjjjjbcz9Rhbcbheincbhdcbhiinabcwfadfaicjuaead4ceGglE86bbaialfhiadcefgdcw9hmbkaec:q:yjjbfai86bbaecitc:q1jjbfab8Piw83ibaecefgecjd9hmbkk:N8JlHud97euo978Jjjjjbcj;kb9Rgv8Kjjjjbc9:hodnadcefal0mbcuhoaiRbbc:Ge9hmbavaialfgrad9Rad;8qbbcj;abad9UhlaicefhodnaeTmbadTmbalc;WFbGglcjdalcjd6EhwcbhDinawaeaD9RaDawfae6Egqcsfglc9WGgkci2hxakcethmalcl4cifcd4hPabaDad2fhsakc;ab6hzcbhHincbhOaohAdndninaraA9RaP6meavcj;cbfaOak2fhCaAaPfhocbhidnazmbarao9Rc;Gb6mbcbhlinaCalfhidndndndndnaAalco4fRbbgXciGPlbedibkaipxbbbbbbbbbbbbbbbbpklbxikaiaopbblaopbbbgQclp:meaQpmbzeHdOiAlCvXoQrLgQcdp:meaQpmbzeHdOiAlCvXoQrLpxiiiiiiiiiiiiiiiip9ogLpxiiiiiiiiiiiiiiiip8JgQp5b9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibaKc:q:yjjbfpbbbgYaYpmbbbbbbbbbbbbbbbbaQp5e9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibp9UpmbedilvorzHOACXQLpPaLaQp9spklbaoclfaYpQbfaKc:q:yjjbfRbbfhoxdkaiaopbbwaopbbbgQclp:meaQpmbzeHdOiAlCvXoQrLpxssssssssssssssssp9ogLpxssssssssssssssssp8JgQp5b9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibaKc:q:yjjbfpbbbgYaYpmbbbbbbbbbbbbbbbbaQp5e9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibp9UpmbedilvorzHOACXQLpPaLaQp9spklbaocwfaYpQbfaKc:q:yjjbfRbbfhoxekaiaopbbbpklbaoczfhokdndndndndnaXcd4ciGPlbedibkaipxbbbbbbbbbbbbbbbbpklzxikaiaopbblaopbbbgQclp:meaQpmbzeHdOiAlCvXoQrLgQcdp:meaQpmbzeHdOiAlCvXoQrLpxiiiiiiiiiiiiiiiip9ogLpxiiiiiiiiiiiiiiiip8JgQp5b9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibaKc:q:yjjbfpbbbgYaYpmbbbbbbbbbbbbbbbbaQp5e9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibp9UpmbedilvorzHOACXQLpPaLaQp9spklzaoclfaYpQbfaKc:q:yjjbfRbbfhoxdkaiaopbbwaopbbbgQclp:meaQpmbzeHdOiAlCvXoQrLpxssssssssssssssssp9ogLpxssssssssssssssssp8JgQp5b9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibaKc:q:yjjbfpbbbgYaYpmbbbbbbbbbbbbbbbbaQp5e9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibp9UpmbedilvorzHOACXQLpPaLaQp9spklzaocwfaYpQbfaKc:q:yjjbfRbbfhoxekaiaopbbbpklzaoczfhokdndndndndnaXcl4ciGPlbedibkaipxbbbbbbbbbbbbbbbbpklaxikaiaopbblaopbbbgQclp:meaQpmbzeHdOiAlCvXoQrLgQcdp:meaQpmbzeHdOiAlCvXoQrLpxiiiiiiiiiiiiiiiip9ogLpxiiiiiiiiiiiiiiiip8JgQp5b9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibaKc:q:yjjbfpbbbgYaYpmbbbbbbbbbbbbbbbbaQp5e9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibp9UpmbedilvorzHOACXQLpPaLaQp9spklaaoclfaYpQbfaKc:q:yjjbfRbbfhoxdkaiaopbbwaopbbbgQclp:meaQpmbzeHdOiAlCvXoQrLpxssssssssssssssssp9ogLpxssssssssssssssssp8JgQp5b9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibaKc:q:yjjbfpbbbgYaYpmbbbbbbbbbbbbbbbbaQp5e9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibp9UpmbedilvorzHOACXQLpPaLaQp9spklaaocwfaYpQbfaKc:q:yjjbfRbbfhoxekaiaopbbbpklaaoczfhokdndndndndnaXco4Plbedibkaipxbbbbbbbbbbbbbbbbpkl8WxikaiaopbblaopbbbgQclp:meaQpmbzeHdOiAlCvXoQrLgQcdp:meaQpmbzeHdOiAlCvXoQrLpxiiiiiiiiiiiiiiiip9ogLpxiiiiiiiiiiiiiiiip8JgQp5b9cjF;8;4;W;G;ab9:9cU1:NgXcitc:q1jjbfpbibaXc:q:yjjbfpbbbgYaYpmbbbbbbbbbbbbbbbbaQp5e9cjF;8;4;W;G;ab9:9cU1:NgXcitc:q1jjbfpbibp9UpmbedilvorzHOACXQLpPaLaQp9spkl8WaoclfaYpQbfaXc:q:yjjbfRbbfhoxdkaiaopbbwaopbbbgQclp:meaQpmbzeHdOiAlCvXoQrLpxssssssssssssssssp9ogLpxssssssssssssssssp8JgQp5b9cjF;8;4;W;G;ab9:9cU1:NgXcitc:q1jjbfpbibaXc:q:yjjbfpbbbgYaYpmbbbbbbbbbbbbbbbbaQp5e9cjF;8;4;W;G;ab9:9cU1:NgXcitc:q1jjbfpbibp9UpmbedilvorzHOACXQLpPaLaQp9spkl8WaocwfaYpQbfaXc:q:yjjbfRbbfhoxekaiaopbbbpkl8Waoczfhokalc;abfhialcjefak0meaihlarao9Rc;Fb0mbkkdnaiak9pmbaici4hlinarao9RcK6miaCaifhXdndndndndnaAaico4fRbbalcoG4ciGPlbedibkaXpxbbbbbbbbbbbbbbbbpkbbxikaXaopbblaopbbbgQclp:meaQpmbzeHdOiAlCvXoQrLgQcdp:meaQpmbzeHdOiAlCvXoQrLpxiiiiiiiiiiiiiiiip9ogLpxiiiiiiiiiiiiiiiip8JgQp5b9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibaKc:q:yjjbfpbbbgYaYpmbbbbbbbbbbbbbbbbaQp5e9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibp9UpmbedilvorzHOACXQLpPaLaQp9spkbbaoclfaYpQbfaKc:q:yjjbfRbbfhoxdkaXaopbbwaopbbbgQclp:meaQpmbzeHdOiAlCvXoQrLpxssssssssssssssssp9ogLpxssssssssssssssssp8JgQp5b9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibaKc:q:yjjbfpbbbgYaYpmbbbbbbbbbbbbbbbbaQp5e9cjF;8;4;W;G;ab9:9cU1:NgKcitc:q1jjbfpbibp9UpmbedilvorzHOACXQLpPaLaQp9spkbbaocwfaYpQbfaKc:q:yjjbfRbbfhoxekaXaopbbbpkbbaoczfhokalcdfhlaiczfgiak6mbkkaoTmeaohAaOcefgOclSmdxbkkc9:hoxlkdnakTmbavcjdfaHfhiavaHfpbdbhYcbhXinaiavcj;cbfaXfglpblbgLcep9TaLpxeeeeeeeeeeeeeeeegQp9op9Hp9rgLalakfpblbg8Acep9Ta8AaQp9op9Hp9rg8ApmbzeHdOiAlCvXoQrLgEalamfpblbg3cep9Ta3aQp9op9Hp9rg3alaxfpblbg5cep9Ta5aQp9op9Hp9rg5pmbzeHdOiAlCvXoQrLg8EpmbezHdiOAlvCXorQLgQaQpmbedibedibedibediaYp9UgYp9AdbbaiadfglaYaQaQpmlvorlvorlvorlvorp9UgYp9AdbbaladfglaYaQaQpmwDqkwDqkwDqkwDqkp9UgYp9AdbbaladfglaYaQaQpmxmPsxmPsxmPsxmPsp9UgYp9AdbbaladfglaYaEa8EpmwDKYqk8AExm35Ps8E8FgQaQpmbedibedibedibedip9UgYp9AdbbaladfglaYaQaQpmlvorlvorlvorlvorp9UgYp9AdbbaladfglaYaQaQpmwDqkwDqkwDqkwDqkp9UgYp9AdbbaladfglaYaQaQpmxmPsxmPsxmPsxmPsp9UgYp9AdbbaladfglaYaLa8ApmwKDYq8AkEx3m5P8Es8FgLa3a5pmwKDYq8AkEx3m5P8Es8Fg8ApmbezHdiOAlvCXorQLgQaQpmbedibedibedibedip9UgYp9AdbbaladfglaYaQaQpmlvorlvorlvorlvorp9UgYp9AdbbaladfglaYaQaQpmwDqkwDqkwDqkwDqkp9UgYp9AdbbaladfglaYaQaQpmxmPsxmPsxmPsxmPsp9UgYp9AdbbaladfglaYaLa8ApmwDKYqk8AExm35Ps8E8FgQaQpmbedibedibedibedip9UgYp9AdbbaladfglaYaQaQpmlvorlvorlvorlvorp9UgYp9AdbbaladfglaYaQaQpmwDqkwDqkwDqkwDqkp9UgYp9AdbbaladfglaYaQaQpmxmPsxmPsxmPsxmPsp9UgYp9AdbbaladfhiaXczfgXak6mbkkaHclfgHad6mbkasavcjdfaqad2;8qbbavavcjdfaqcufad2fad;8qbbaqaDfgDae6mbkkcbc99arao9Radcaadca0ESEhokavcj;kbf8Kjjjjbaokwbz:bjjjbk::seHu8Jjjjjbc;ae9Rgv8Kjjjjbc9:hodnaeci9UgrcHfal0mbcuhoaiRbbgwc;WeGc;Ge9hmbawcsGgwce0mbavc;abfcFecje;8kbavcUf9cu83ibavc8Wf9cu83ibavcyf9cu83ibavcaf9cu83ibavcKf9cu83ibavczf9cu83ibav9cu83iwav9cu83ibaialfc9WfhDaicefgqarfhidnaeTmbcmcsawceSEhkcbhxcbhmcbhPcbhwcbhlindnaiaD9nmbc9:hoxikdndnaqRbbgoc;Ve0mbavc;abfalaocu7gscl4fcsGcitfgzydlhrazydbhzdnaocsGgHak9pmbavawasfcsGcdtfydbaxaHEhoaHThsdndnadcd9hmbabaPcetfgHaz87ebaHclfao87ebaHcdfar87ebxekabaPcdtfgHazBdbaHcwfaoBdbaHclfarBdbkaxasfhxcdhHavawcdtfaoBdbawasfhwcehsalhOxdkdndnaHcsSmbaHc987aHamffcefhoxekaicefhoai8SbbgHcFeGhsdndnaHcu9mmbaohixekaicvfhiascFbGhscrhHdninao8SbbgOcFbGaHtasVhsaOcu9kmeaocefhoaHcrfgHc8J9hmbxdkkaocefhikasce4cbasceG9R7amfhokdndnadcd9hmbabaPcetfgHaz87ebaHclfao87ebaHcdfar87ebxekabaPcdtfgHazBdbaHcwfaoBdbaHclfarBdbkcdhHavawcdtfaoBdbcehsawcefhwalhOaohmxekdnaocpe0mbaxcefgHavawaDaocsGfRbbgocl49RcsGcdtfydbaocz6gzEhravawao9RcsGcdtfydbaHazfgAaocsGgHEhoaHThCdndnadcd9hmbabaPcetfgHax87ebaHclfao87ebaHcdfar87ebxekabaPcdtfgHaxBdbaHcwfaoBdbaHclfarBdbkcdhsavawcdtfaxBdbavawcefgwcsGcdtfarBdbcihHavc;abfalcitfgOaxBdlaOarBdbavawazfgwcsGcdtfaoBdbalcefcsGhOawaCfhwaxhzaAaCfhxxekaxcbaiRbbgOEgzaoc;:eSgHfhraOcsGhCaOcl4hAdndnaOcs0mbarcefhoxekarhoavawaA9RcsGcdtfydbhrkdndnaCmbaocefhxxekaohxavawaO9RcsGcdtfydbhokdndnaHTmbaicefhHxekaicdfhHai8SbegscFeGhzdnascu9kmbaicofhXazcFbGhzcrhidninaH8SbbgscFbGaitazVhzascu9kmeaHcefhHaicrfgic8J9hmbkaXhHxekaHcefhHkazce4cbazceG9R7amfgmhzkdndnaAcsSmbaHhsxekaHcefhsaH8SbbgicFeGhrdnaicu9kmbaHcvfhXarcFbGhrcrhidninas8SbbgHcFbGaitarVhraHcu9kmeascefhsaicrfgic8J9hmbkaXhsxekascefhskarce4cbarceG9R7amfgmhrkdndnaCcsSmbashixekascefhias8SbbgocFeGhHdnaocu9kmbascvfhXaHcFbGhHcrhodninai8SbbgscFbGaotaHVhHascu9kmeaicefhiaocrfgoc8J9hmbkaXhixekaicefhikaHce4cbaHceG9R7amfgmhokdndnadcd9hmbabaPcetfgHaz87ebaHclfao87ebaHcdfar87ebxekabaPcdtfgHazBdbaHcwfaoBdbaHclfarBdbkcdhsavawcdtfazBdbavawcefgwcsGcdtfarBdbcihHavc;abfalcitfgXazBdlaXarBdbavawaOcz6aAcsSVfgwcsGcdtfaoBdbawaCTaCcsSVfhwalcefcsGhOkaqcefhqavc;abfaOcitfgOarBdlaOaoBdbavc;abfalasfcsGcitfgraoBdlarazBdbawcsGhwalaHfcsGhlaPcifgPae6mbkkcbc99aiaDSEhokavc;aef8Kjjjjbaok:flevu8Jjjjjbcz9Rhvc9:hodnaecvfal0mbcuhoaiRbbc;:eGc;qe9hmbav9cb83iwaicefhraialfc98fhwdnaeTmbdnadcdSmbcbhDindnaraw6mbc9:skarcefhoar8SbbglcFeGhidndnalcu9mmbaohrxekarcvfhraicFbGhicrhldninao8SbbgdcFbGaltaiVhiadcu9kmeaocefhoalcrfglc8J9hmbxdkkaocefhrkabaDcdtfaic8Etc8F91aicd47avcwfaiceGcdtVgoydbfglBdbaoalBdbaDcefgDae9hmbxdkkcbhDindnaraw6mbc9:skarcefhoar8SbbglcFeGhidndnalcu9mmbaohrxekarcvfhraicFbGhicrhldninao8SbbgdcFbGaltaiVhiadcu9kmeaocefhoalcrfglc8J9hmbxdkkaocefhrkabaDcetfaic8Etc8F91aicd47avcwfaiceGcdtVgoydbfgl87ebaoalBdbaDcefgDae9hmbkkcbc99arawSEhokaok:wPliuo97eue978Jjjjjbca9Rhiaec98Ghldndnadcl9hmbdnalTmbcbhvabhdinadadpbbbgocKp:RecKp:Sep;6egraocwp:RecKp:Sep;6earp;Geaoczp:RecKp:Sep;6egwp;Gep;Kep;LegDpxbbbbbbbbbbbbbbbbp:2egqarpxbbbjbbbjbbbjbbbjgkp9op9rp;Kegrpxbb;:9cbb;:9cbb;:9cbb;:9cararp;MeaDaDp;Meawaqawakp9op9rp;Kegrarp;Mep;Kep;Kep;Jep;Negwp;Mepxbbn0bbn0bbn0bbn0gqp;KepxFbbbFbbbFbbbFbbbp9oaopxbbbFbbbFbbbFbbbFp9op9qarawp;Meaqp;Kecwp:RepxbFbbbFbbbFbbbFbbp9op9qaDawp;Meaqp;Keczp:RepxbbFbbbFbbbFbbbFbp9op9qpkbbadczfhdavclfgval6mbkkalaeSmeaipxbbbbbbbbbbbbbbbbgqpklbaiabalcdtfgdaeciGglcdtgv;8qbbdnalTmbaiaipblbgocKp:RecKp:Sep;6egraocwp:RecKp:Sep;6earp;Geaoczp:RecKp:Sep;6egwp;Gep;Kep;LegDaqp:2egqarpxbbbjbbbjbbbjbbbjgkp9op9rp;Kegrpxbb;:9cbb;:9cbb;:9cbb;:9cararp;MeaDaDp;Meawaqawakp9op9rp;Kegrarp;Mep;Kep;Kep;Jep;Negwp;Mepxbbn0bbn0bbn0bbn0gqp;KepxFbbbFbbbFbbbFbbbp9oaopxbbbFbbbFbbbFbbbFp9op9qarawp;Meaqp;Kecwp:RepxbFbbbFbbbFbbbFbbp9op9qaDawp;Meaqp;Keczp:RepxbbFbbbFbbbFbbbFbp9op9qpklbkadaiav;8qbbskdnalTmbcbhvabhdinadczfgxaxpbbbgopxbbbbbbFFbbbbbbFFgkp9oadpbbbgDaopmbediwDqkzHOAKY8AEgwczp:Reczp:Sep;6egraDaopmlvorxmPsCXQL358E8FpxFubbFubbFubbFubbp9op;6eawczp:Sep;6egwp;Gearp;Gep;Kep;Legopxbbbbbbbbbbbbbbbbp:2egqarpxbbbjbbbjbbbjbbbjgmp9op9rp;Kegrpxb;:FSb;:FSb;:FSb;:FSararp;Meaoaop;Meawaqawamp9op9rp;Kegrarp;Mep;Kep;Kep;Jep;Negwp;Mepxbbn0bbn0bbn0bbn0gqp;KepxFFbbFFbbFFbbFFbbp9oaoawp;Meaqp;Keczp:Rep9qgoarawp;Meaqp;KepxFFbbFFbbFFbbFFbbp9ogrpmwDKYqk8AExm35Ps8E8Fp9qpkbbadaDakp9oaoarpmbezHdiOAlvCXorQLp9qpkbbadcafhdavclfgval6mbkkalaeSmbaiaeciGgvcitgdfcbcaad9R;8kbaiabalcitfglad;8qbbdnavTmbaiaipblzgopxbbbbbbFFbbbbbbFFgkp9oaipblbgDaopmbediwDqkzHOAKY8AEgwczp:Reczp:Sep;6egraDaopmlvorxmPsCXQL358E8FpxFubbFubbFubbFubbp9op;6eawczp:Sep;6egwp;Gearp;Gep;Kep;Legopxbbbbbbbbbbbbbbbbp:2egqarpxbbbjbbbjbbbjbbbjgmp9op9rp;Kegrpxb;:FSb;:FSb;:FSb;:FSararp;Meaoaop;Meawaqawamp9op9rp;Kegrarp;Mep;Kep;Kep;Jep;Negwp;Mepxbbn0bbn0bbn0bbn0gqp;KepxFFbbFFbbFFbbFFbbp9oaoawp;Meaqp;Keczp:Rep9qgoarawp;Meaqp;KepxFFbbFFbbFFbbFFbbp9ogrpmwDKYqk8AExm35Ps8E8Fp9qpklzaiaDakp9oaoarpmbezHdiOAlvCXorQLp9qpklbkalaiad;8qbbkk;4wllue97euv978Jjjjjbc8W9Rhidnaec98GglTmbcbhvabhoinaiaopbbbgraoczfgwpbbbgDpmlvorxmPsCXQL358E8Fgqczp:Segkclp:RepklbaopxbbjZbbjZbbjZbbjZpx;Zl81Z;Zl81Z;Zl81Z;Zl81Zakpxibbbibbbibbbibbbp9qp;6ep;NegkaraDpmbediwDqkzHOAKY8AEgrczp:Reczp:Sep;6ep;MegDaDp;Meakarczp:Sep;6ep;Megxaxp;Meakaqczp:Reczp:Sep;6ep;Megqaqp;Mep;Kep;Kep;Lepxbbbbbbbbbbbbbbbbp:4ep;Jepxb;:FSb;:FSb;:FSb;:FSgkp;Mepxbbn0bbn0bbn0bbn0grp;KepxFFbbFFbbFFbbFFbbgmp9oaxakp;Mearp;Keczp:Rep9qgxaDakp;Mearp;Keamp9oaqakp;Mearp;Keczp:Rep9qgkpmbezHdiOAlvCXorQLgrp5baipblbpEb:T:j83ibaocwfarp5eaipblbpEe:T:j83ibawaxakpmwDKYqk8AExm35Ps8E8Fgkp5baipblbpEd:T:j83ibaocKfakp5eaipblbpEi:T:j83ibaocafhoavclfgval6mbkkdnalaeSmbaiaeciGgvcitgofcbcaao9R;8kbaiabalcitfgwao;8qbbdnavTmbaiaipblbgraipblzgDpmlvorxmPsCXQL358E8Fgqczp:Segkclp:RepklaaipxbbjZbbjZbbjZbbjZpx;Zl81Z;Zl81Z;Zl81Z;Zl81Zakpxibbbibbbibbbibbbp9qp;6ep;NegkaraDpmbediwDqkzHOAKY8AEgrczp:Reczp:Sep;6ep;MegDaDp;Meakarczp:Sep;6ep;Megxaxp;Meakaqczp:Reczp:Sep;6ep;Megqaqp;Mep;Kep;Kep;Lepxbbbbbbbbbbbbbbbbp:4ep;Jepxb;:FSb;:FSb;:FSb;:FSgkp;Mepxbbn0bbn0bbn0bbn0grp;KepxFFbbFFbbFFbbFFbbgmp9oaxakp;Mearp;Keczp:Rep9qgxaDakp;Mearp;Keamp9oaqakp;Mearp;Keczp:Rep9qgkpmbezHdiOAlvCXorQLgrp5baipblapEb:T:j83ibaiarp5eaipblapEe:T:j83iwaiaxakpmwDKYqk8AExm35Ps8E8Fgkp5baipblapEd:T:j83izaiakp5eaipblapEi:T:j83iKkawaiao;8qbbkk:Pddiue978Jjjjjbc;ab9Rhidnadcd4ae2glc98GgvTmbcbheabhdinadadpbbbgocwp:Recwp:Sep;6eaocep:SepxbbjFbbjFbbjFbbjFp9opxbbjZbbjZbbjZbbjZp:Uep;Mepkbbadczfhdaeclfgeav6mbkkdnavalSmbaialciGgecdtgdVcbc;abad9R;8kbaiabavcdtfgvad;8qbbdnaeTmbaiaipblbgocwp:Recwp:Sep;6eaocep:SepxbbjFbbjFbbjFbbjFp9opxbbjZbbjZbbjZbbjZp:Uep;Mepklbkavaiad;8qbbkk9teiucbcbydj1jjbgeabcifc98GfgbBdj1jjbdndnabZbcztgd9nmbcuhiabad9RcFFifcz4nbcuSmekaehikaikkkebcjwklz:Dbb"):o("b9H79Tebbbe8Fv9Gbb9Gvuuuuueu9Giuuub9Geueu9Giuuueuikqbeeedddillviebeoweuec:q:Odkr;leDo9TW9T9VV95dbH9F9F939H79T9F9J9H229F9Jt9VV7bb8A9TW79O9V9Wt9F9KW9J9V9KW9wWVtW949c919M9MWVbeY9TW79O9V9Wt9F9KW9J9V9KW69U9KW949c919M9MWVbdE9TW79O9V9Wt9F9KW9J9V9KW69U9KW949tWG91W9U9JWbiL9TW79O9V9Wt9F9KW9J9V9KWS9P2tWV9p9JtblK9TW79O9V9Wt9F9KW9J9V9KWS9P2tWV9r919HtbvL9TW79O9V9Wt9F9KW9J9V9KWS9P2tWVT949Wbol79IV9Rbrq;w8Wqdbk;esezu8Jjjjjbcj;eb9Rgv8Kjjjjbc9:hodnadcefal0mbcuhoaiRbbc:Ge9hmbavaialfgrad9Radz1jjjbhwcj;abad9Uc;WFbGgocjdaocjd6EhDaicefhocbhqdnindndndnaeaq9nmbaDaeaq9RaqaDfae6Egkcsfglcl4cifcd4hxalc9WGgmTmecbhPawcjdfhsaohzinaraz9Rax6mvarazaxfgo9RcK6mvczhlcbhHinalgic9WfgOawcj;cbffhldndndndndnazaOco4fRbbaHcoG4ciGPlbedibkal9cb83ibalcwf9cb83ibxikalaoRblaoRbbgOco4gAaAciSgAE86bbawcj;cbfaifglcGfaoclfaAfgARbbaOcl4ciGgCaCciSgCE86bbalcVfaAaCfgARbbaOcd4ciGgCaCciSgCE86bbalc7faAaCfgARbbaOciGgOaOciSgOE86bbalctfaAaOfgARbbaoRbegOco4gCaCciSgCE86bbalc91faAaCfgARbbaOcl4ciGgCaCciSgCE86bbalc4faAaCfgARbbaOcd4ciGgCaCciSgCE86bbalc93faAaCfgARbbaOciGgOaOciSgOE86bbalc94faAaOfgARbbaoRbdgOco4gCaCciSgCE86bbalc95faAaCfgARbbaOcl4ciGgCaCciSgCE86bbalc96faAaCfgARbbaOcd4ciGgCaCciSgCE86bbalc97faAaCfgARbbaOciGgOaOciSgOE86bbalc98faAaOfgORbbaoRbigoco4gAaAciSgAE86bbalc99faOaAfgORbbaocl4ciGgAaAciSgAE86bbalc9:faOaAfgORbbaocd4ciGgAaAciSgAE86bbalcufaOaAfglRbbaociGgoaociSgoE86bbalaofhoxdkalaoRbwaoRbbgOcl4gAaAcsSgAE86bbawcj;cbfaifglcGfaocwfaAfgARbbaOcsGgOaOcsSgOE86bbalcVfaAaOfgORbbaoRbegAcl4gCaCcsSgCE86bbalc7faOaCfgORbbaAcsGgAaAcsSgAE86bbalctfaOaAfgORbbaoRbdgAcl4gCaCcsSgCE86bbalc91faOaCfgORbbaAcsGgAaAcsSgAE86bbalc4faOaAfgORbbaoRbigAcl4gCaCcsSgCE86bbalc93faOaCfgORbbaAcsGgAaAcsSgAE86bbalc94faOaAfgORbbaoRblgAcl4gCaCcsSgCE86bbalc95faOaCfgORbbaAcsGgAaAcsSgAE86bbalc96faOaAfgORbbaoRbvgAcl4gCaCcsSgCE86bbalc97faOaCfgORbbaAcsGgAaAcsSgAE86bbalc98faOaAfgORbbaoRbogAcl4gCaCcsSgCE86bbalc99faOaCfgORbbaAcsGgAaAcsSgAE86bbalc9:faOaAfgORbbaoRbrgocl4gAaAcsSgAE86bbalcufaOaAfglRbbaocsGgoaocsSgoE86bbalaofhoxekalao8Pbb83bbalcwfaocwf8Pbb83bbaoczfhokdnaiam9pmbaHcdfhHaiczfhlarao9RcL0mekkaiam6mvaoTmvdnakTmbawaPfRbbhHawcj;cbfhlashiakhOinaialRbbgzce4cbazceG9R7aHfgH86bbaiadfhialcefhlaOcufgOmbkkascefhsaohzaPcefgPad9hmbxikkcbc99arao9Radcaadca0ESEhoxlkaoaxad2fhCdnakmbadhlinaoTmlarao9Rax6mlaoaxfhoalcufglmbkaChoxekcbhmawcjdfhAinarao9Rax6miawamfRbbhHawcj;cbfhlaAhiakhOinaialRbbgzce4cbazceG9R7aHfgH86bbaiadfhialcefhlaOcufgOmbkaAcefhAaoaxfhoamcefgmad9hmbkaChokabaqad2fawcjdfakad2z1jjjb8Aawawcjdfakcufad2fadz1jjjb8Aakaqfhqaombkc9:hoxekc9:hokavcj;ebf8Kjjjjbaok;cseHu8Jjjjjbc;ae9Rgv8Kjjjjbc9:hodnaeci9UgrcHfal0mbcuhoaiRbbgwc;WeGc;Ge9hmbawcsGgwce0mbavc;abfcFecjez:jjjjb8AavcUf9cu83ibavc8Wf9cu83ibavcyf9cu83ibavcaf9cu83ibavcKf9cu83ibavczf9cu83ibav9cu83iwav9cu83ibaialfc9WfhDaicefgqarfhidnaeTmbcmcsawceSEhkcbhxcbhmcbhPcbhwcbhlindnaiaD9nmbc9:hoxikdndnaqRbbgoc;Ve0mbavc;abfalaocu7gscl4fcsGcitfgzydlhrazydbhzdnaocsGgHak9pmbavawasfcsGcdtfydbaxaHEhoaHThsdndnadcd9hmbabaPcetfgHaz87ebaHclfao87ebaHcdfar87ebxekabaPcdtfgHazBdbaHcwfaoBdbaHclfarBdbkaxasfhxcdhHavawcdtfaoBdbawasfhwcehsalhOxdkdndnaHcsSmbaHc987aHamffcefhoxekaicefhoai8SbbgHcFeGhsdndnaHcu9mmbaohixekaicvfhiascFbGhscrhHdninao8SbbgOcFbGaHtasVhsaOcu9kmeaocefhoaHcrfgHc8J9hmbxdkkaocefhikasce4cbasceG9R7amfhokdndnadcd9hmbabaPcetfgHaz87ebaHclfao87ebaHcdfar87ebxekabaPcdtfgHazBdbaHcwfaoBdbaHclfarBdbkcdhHavawcdtfaoBdbcehsawcefhwalhOaohmxekdnaocpe0mbaxcefgHavawaDaocsGfRbbgocl49RcsGcdtfydbaocz6gzEhravawao9RcsGcdtfydbaHazfgAaocsGgHEhoaHThCdndnadcd9hmbabaPcetfgHax87ebaHclfao87ebaHcdfar87ebxekabaPcdtfgHaxBdbaHcwfaoBdbaHclfarBdbkcdhsavawcdtfaxBdbavawcefgwcsGcdtfarBdbcihHavc;abfalcitfgOaxBdlaOarBdbavawazfgwcsGcdtfaoBdbalcefcsGhOawaCfhwaxhzaAaCfhxxekaxcbaiRbbgOEgzaoc;:eSgHfhraOcsGhCaOcl4hAdndnaOcs0mbarcefhoxekarhoavawaA9RcsGcdtfydbhrkdndnaCmbaocefhxxekaohxavawaO9RcsGcdtfydbhokdndnaHTmbaicefhHxekaicdfhHai8SbegscFeGhzdnascu9kmbaicofhXazcFbGhzcrhidninaH8SbbgscFbGaitazVhzascu9kmeaHcefhHaicrfgic8J9hmbkaXhHxekaHcefhHkazce4cbazceG9R7amfgmhzkdndnaAcsSmbaHhsxekaHcefhsaH8SbbgicFeGhrdnaicu9kmbaHcvfhXarcFbGhrcrhidninas8SbbgHcFbGaitarVhraHcu9kmeascefhsaicrfgic8J9hmbkaXhsxekascefhskarce4cbarceG9R7amfgmhrkdndnaCcsSmbashixekascefhias8SbbgocFeGhHdnaocu9kmbascvfhXaHcFbGhHcrhodninai8SbbgscFbGaotaHVhHascu9kmeaicefhiaocrfgoc8J9hmbkaXhixekaicefhikaHce4cbaHceG9R7amfgmhokdndnadcd9hmbabaPcetfgHaz87ebaHclfao87ebaHcdfar87ebxekabaPcdtfgHazBdbaHcwfaoBdbaHclfarBdbkcdhsavawcdtfazBdbavawcefgwcsGcdtfarBdbcihHavc;abfalcitfgXazBdlaXarBdbavawaOcz6aAcsSVfgwcsGcdtfaoBdbawaCTaCcsSVfhwalcefcsGhOkaqcefhqavc;abfaOcitfgOarBdlaOaoBdbavc;abfalasfcsGcitfgraoBdlarazBdbawcsGhwalaHfcsGhlaPcifgPae6mbkkcbc99aiaDSEhokavc;aef8Kjjjjbaok:flevu8Jjjjjbcz9Rhvc9:hodnaecvfal0mbcuhoaiRbbc;:eGc;qe9hmbav9cb83iwaicefhraialfc98fhwdnaeTmbdnadcdSmbcbhDindnaraw6mbc9:skarcefhoar8SbbglcFeGhidndnalcu9mmbaohrxekarcvfhraicFbGhicrhldninao8SbbgdcFbGaltaiVhiadcu9kmeaocefhoalcrfglc8J9hmbxdkkaocefhrkabaDcdtfaic8Etc8F91aicd47avcwfaiceGcdtVgoydbfglBdbaoalBdbaDcefgDae9hmbxdkkcbhDindnaraw6mbc9:skarcefhoar8SbbglcFeGhidndnalcu9mmbaohrxekarcvfhraicFbGhicrhldninao8SbbgdcFbGaltaiVhiadcu9kmeaocefhoalcrfglc8J9hmbxdkkaocefhrkabaDcetfaic8Etc8F91aicd47avcwfaiceGcdtVgoydbfgl87ebaoalBdbaDcefgDae9hmbkkcbc99arawSEhokaok:Lvoeue99dud99eud99dndnadcl9hmbaeTmeindndnabcdfgd8Sbb:Yab8Sbbgi:Ygl:l:tabcefgv8Sbbgo:Ygr:l:tgwJbb;:9cawawNJbbbbawawJbbbb9GgDEgq:mgkaqaicb9iEalMgwawNakaqaocb9iEarMgqaqNMM:r:vglNJbbbZJbbb:;aDEMgr:lJbbb9p9DTmbar:Ohixekcjjjj94hikadai86bbdndnaqalNJbbbZJbbb:;aqJbbbb9GEMgq:lJbbb9p9DTmbaq:Ohdxekcjjjj94hdkavad86bbdndnawalNJbbbZJbbb:;awJbbbb9GEMgw:lJbbb9p9DTmbaw:Ohdxekcjjjj94hdkabad86bbabclfhbaecufgembxdkkaeTmbindndnabclfgd8Ueb:Yab8Uebgi:Ygl:l:tabcdfgv8Uebgo:Ygr:l:tgwJb;:FSawawNJbbbbawawJbbbb9GgDEgq:mgkaqaicb9iEalMgwawNakaqaocb9iEarMgqaqNMM:r:vglNJbbbZJbbb:;aDEMgr:lJbbb9p9DTmbar:Ohixekcjjjj94hikadai87ebdndnaqalNJbbbZJbbb:;aqJbbbb9GEMgq:lJbbb9p9DTmbaq:Ohdxekcjjjj94hdkavad87ebdndnawalNJbbbZJbbb:;awJbbbb9GEMgw:lJbbb9p9DTmbaw:Ohdxekcjjjj94hdkabad87ebabcwfhbaecufgembkkk;oiliui99iue99dnaeTmbcbhiabhlindndnJ;Zl81Zalcof8UebgvciV:Y:vgoal8Ueb:YNgrJb;:FSNJbbbZJbbb:;arJbbbb9GEMgw:lJbbb9p9DTmbaw:OhDxekcjjjj94hDkalclf8Uebhqalcdf8UebhkabaiavcefciGfcetfaD87ebdndnaoak:YNgwJb;:FSNJbbbZJbbb:;awJbbbb9GEMgx:lJbbb9p9DTmbax:OhDxekcjjjj94hDkabaiavciGfgkcd7cetfaD87ebdndnaoaq:YNgoJb;:FSNJbbbZJbbb:;aoJbbbb9GEMgx:lJbbb9p9DTmbax:OhDxekcjjjj94hDkabaiavcufciGfcetfaD87ebdndnJbbjZararN:tawawN:taoaoN:tgrJbbbbarJbbbb9GE:rJb;:FSNJbbbZMgr:lJbbb9p9DTmbar:Ohvxekcjjjj94hvkabakcetfav87ebalcwfhlaiclfhiaecufgembkkk9mbdnadcd4ae2gdTmbinababydbgecwtcw91:Yaece91cjjj98Gcjjj;8if::NUdbabclfhbadcufgdmbkkk9teiucbcbydj1jjbgeabcifc98GfgbBdj1jjbdndnabZbcztgd9nmbcuhiabad9RcFFifcz4nbcuSmekaehikaik;LeeeudndnaeabVciGTmbabhixekdndnadcz9pmbabhixekabhiinaiaeydbBdbaiclfaeclfydbBdbaicwfaecwfydbBdbaicxfaecxfydbBdbaeczfheaiczfhiadc9Wfgdcs0mbkkadcl6mbinaiaeydbBdbaeclfheaiclfhiadc98fgdci0mbkkdnadTmbinaiaeRbb86bbaicefhiaecefheadcufgdmbkkabk;aeedudndnabciGTmbabhixekaecFeGc:b:c:ew2hldndnadcz9pmbabhixekabhiinaialBdbaicxfalBdbaicwfalBdbaiclfalBdbaiczfhiadc9Wfgdcs0mbkkadcl6mbinaialBdbaiclfhiadc98fgdci0mbkkdnadTmbinaiae86bbaicefhiadcufgdmbkkabkkkebcjwklzNbb"),i=WebAssembly.instantiate(n,{}).then(function(e){(r=e.instance).exports.__wasm_call_ctors()});function o(e){for(var r=new Uint8Array(e.length),n=0;n<e.length;++n){var i=e.charCodeAt(n);r[n]=i>96?i-97:i>64?i-39:i+4}var o=0;for(n=0;n<e.length;++n)r[o++]=r[n]<60?t[r[n]]:64*(r[n]-60)+r[++n];return r.buffer.slice(0,o)}function s(e,t,r,n,i,o,s){var a=e.exports.sbrk,l=n+3&-4,c=a(l*i),u=a(o.length),d=new Uint8Array(e.exports.memory.buffer);d.set(o,u);var h=t(c,n,i,u,o.length);if(0==h&&s&&s(c,l,i),r.set(d.subarray(c,c+n*i)),a(c-a(0)),0!=h)throw new Error("Malformed buffer data: "+h)}var a={NONE:"",OCTAHEDRAL:"meshopt_decodeFilterOct",QUATERNION:"meshopt_decodeFilterQuat",EXPONENTIAL:"meshopt_decodeFilterExp"},l={ATTRIBUTES:"meshopt_decodeVertexBuffer",TRIANGLES:"meshopt_decodeIndexBuffer",INDICES:"meshopt_decodeIndexSequence"},c=[],u=0;function d(e){var t={object:new Worker(e),pending:0,requests:{}};return t.object.onmessage=function(e){var r=e.data;t.pending-=r.count,t.requests[r.id][r.action](r.value),delete t.requests[r.id]},t}function h(e){var t=e.data;if(!t.id)return self.close();self.ready.then(function(e){try{var r=new Uint8Array(t.count*t.size);s(e,e.exports[t.mode],r,t.count,t.size,t.source,e.exports[t.filter]),self.postMessage({id:t.id,count:t.count,action:"resolve",value:r},[r.buffer])}catch(e){self.postMessage({id:t.id,count:t.count,action:"reject",value:e})}})}return{ready:i,supported:!0,useWorkers:function(e){!function(e){for(var t="self.ready = WebAssembly.instantiate(new Uint8Array(["+new Uint8Array(n)+"]), {}).then(function(result) { result.instance.exports.__wasm_call_ctors(); return result.instance; });self.onmessage = "+h.name+";"+s.toString()+h.toString(),r=new Blob([t],{type:"text/javascript"}),i=URL.createObjectURL(r),o=c.length;o<e;++o)c[o]=d(i);for(o=e;o<c.length;++o)c[o].object.postMessage({});c.length=e,URL.revokeObjectURL(i)}(e)},decodeVertexBuffer:function(e,t,n,i,o){s(r,r.exports.meshopt_decodeVertexBuffer,e,t,n,i,r.exports[a[o]])},decodeIndexBuffer:function(e,t,n,i){s(r,r.exports.meshopt_decodeIndexBuffer,e,t,n,i)},decodeIndexSequence:function(e,t,n,i){s(r,r.exports.meshopt_decodeIndexSequence,e,t,n,i)},decodeGltfBuffer:function(e,t,n,i,o,c){s(r,r.exports[l[o]],e,t,n,i,r.exports[a[c]])},decodeGltfBufferAsync:function(e,t,n,o,d){return c.length>0?function(e,t,r,n,i){for(var o=c[0],s=1;s<c.length;++s)c[s].pending<o.pending&&(o=c[s]);return new Promise(function(s,a){var l=new Uint8Array(r),c=++u;o.pending+=e,o.requests[c]={resolve:s,reject:a},o.object.postMessage({id:c,count:e,size:t,source:l,mode:n,filter:i},[l.buffer])})}(e,t,n,l[o],a[d]):i.then(function(){var i=new Uint8Array(e*t);return s(r,r.exports[l[o]],i,e,t,n,r.exports[a[d]]),i})}}}();const Mge=Symbol("retainerCount"),kge=Symbol("recentlyUsed"),Tge=Symbol("evict"),Rge=Symbol("evictionThreshold"),Lge=Symbol("cache");class Pge{constructor(e,t=5){this[Cge]=new Map,this[Ege]=[],this[Lge]=e,this[Rge]=t}set evictionThreshold(e){this[Rge]=e,this[Tge]()}get evictionThreshold(){return this[Rge]}get cache(){return this[Lge]}retainerCount(e){return this[Mge].get(e)||0}reset(){this[Mge].clear(),this[kge]=[]}retain(e){this[Mge].has(e)||this[Mge].set(e,0),this[Mge].set(e,this[Mge].get(e)+1);const t=this[kge].indexOf(e);-1!==t&&this[kge].splice(t,1),this[kge].unshift(e),this[Tge]()}release(e){this[Mge].has(e)&&this[Mge].set(e,Math.max(this[Mge].get(e)-1,0)),this[Tge]()}[(Cge=Mge,Ege=kge,Tge)](){if(!(this[kge].length<this[Rge]))for(let e=this[kge].length-1;e>=this[Rge];--e){const t=this[kge][e];0===this[Mge].get(t)&&(this[Lge].delete(t),this[kge].splice(e,1))}}}
+/* @license
+ * Copyright 2021 Google LLC. All Rights Reserved.
+ * Licensed under the Apache License, Version 2.0 (the 'License');
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an 'AS IS' BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+const Dge=e=>{const t=new Map;for(const r of e.mappings)for(const e of r.variants)t.set(e,{material:null,gltfMaterialIndex:r.material});return t};class Nge{constructor(e){this.parser=e,this.name="KHR_materials_variants"}afterRoot(e){const t=this.parser,r=t.json;if(void 0===r.extensions||void 0===r.extensions[this.name])return null;const n=(e=>{const t=[],r=new Set;for(const n of e){let e=n,i=0;for(;r.has(e);)e=n+"."+ ++i;r.add(e),t.push(e)}return t})((r.extensions[this.name].variants||[]).map(e=>e.name));for(const n of e.scenes)n.traverse(e=>{const n=e;if(!n.material)return;const i=t.associations.get(n);if(null==i||null==i.meshes||null==i.primitives)return;const o=r.meshes[i.meshes].primitives[i.primitives].extensions;o&&o[this.name]&&(n.userData.variantMaterials=Dge(o[this.name]))});return e.userData.variants=n,Promise.resolve()}}
+/* @license
+ * Copyright 2019 Google LLC. All Rights Reserved.
+ * Licensed under the Apache License, Version 2.0 (the 'License');
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an 'AS IS' BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+var Fge,Oge;zr.DEFAULT_ANISOTROPY=4;const Bge=new Map,Uge=new Map;let Vge;const zge=new class extends Pl{constructor(e){super(e),this.decoderPath="",this.decoderConfig={},this.decoderBinary=null,this.decoderPending=null,this.workerLimit=4,this.workerPool=[],this.workerNextTaskID=1,this.workerSourceURL="",this.defaultAttributeIDs={position:"POSITION",normal:"NORMAL",color:"COLOR",uv:"TEX_COORD"},this.defaultAttributeTypes={position:"Float32Array",normal:"Float32Array",color:"Float32Array",uv:"Float32Array"}}setDecoderPath(e){return this.decoderPath=e,this}setDecoderConfig(e){return this.decoderConfig=e,this}setWorkerLimit(e){return this.workerLimit=e,this}load(e,t,r,n){const i=new Fl(this.manager);i.setPath(this.path),i.setResponseType("arraybuffer"),i.setRequestHeader(this.requestHeader),i.setWithCredentials(this.withCredentials),i.load(e,e=>{this.parse(e,t,n)},r,n)}parse(e,t,r=()=>{}){this.decodeDracoFile(e,t,null,null,zt,r).catch(r)}decodeDracoFile(e,t,r,n,i=Ht,o=()=>{}){const s={attributeIDs:r||this.defaultAttributeIDs,attributeTypes:n||this.defaultAttributeTypes,useUniqueIDs:!!r,vertexColorSpace:i};return this.decodeGeometry(e,s).then(t).catch(o)}decodeGeometry(e,t){const r=JSON.stringify(t);if(Cb.has(e)){const t=Cb.get(e);if(t.key===r)return t.promise;if(0===e.byteLength)throw new Error("THREE.DRACOLoader: Unable to re-decode a buffer with different settings. Buffer has already been transferred.")}let n;const i=this.workerNextTaskID++,o=e.byteLength,s=this._getWorker(i,o).then(r=>(n=r,new Promise((r,o)=>{n._callbacks[i]={resolve:r,reject:o},n.postMessage({type:"decode",id:i,taskConfig:t,buffer:e},[e])}))).then(e=>this._createGeometry(e.geometry));return s.catch(()=>!0).then(()=>{n&&i&&this._releaseTask(n,i)}),Cb.set(e,{key:r,promise:s}),s}_createGeometry(e){const t=new Oi;e.index&&t.setIndex(new Ei(e.index.array,1));for(let r=0;r<e.attributes.length;r++){const n=e.attributes[r],i=n.name,o=n.array,s=n.itemSize,a=new Ei(o,s);"color"===i&&(this._assignVertexColorSpace(a,n.vertexColorSpace),a.normalized=o instanceof Float32Array==!1),t.setAttribute(i,a)}return t}_assignVertexColorSpace(e,t){if(t!==zt)return;const r=new mi;for(let t=0,n=e.count;t<n;t++)r.fromBufferAttribute(e,t),Rr.colorSpaceToWorking(r,zt),e.setXYZ(t,r.r,r.g,r.b)}_loadLibrary(e,t){const r=new Fl(this.manager);return r.setPath(this.decoderPath),r.setResponseType(t),r.setWithCredentials(this.withCredentials),new Promise((t,n)=>{r.load(e,t,void 0,n)})}preload(){return this._initDecoder(),this}_initDecoder(){if(this.decoderPending)return this.decoderPending;const e="object"!=typeof WebAssembly||"js"===this.decoderConfig.type,t=[];return e?t.push(this._loadLibrary("draco_decoder.js","text")):(t.push(this._loadLibrary("draco_wasm_wrapper.js","text")),t.push(this._loadLibrary("draco_decoder.wasm","arraybuffer"))),this.decoderPending=Promise.all(t).then(t=>{const r=t[0];e||(this.decoderConfig.wasmBinary=t[1]);const n=Eb.toString(),i=["/* draco decoder */",r,"","/* worker */",n.substring(n.indexOf("{")+1,n.lastIndexOf("}"))].join("\n");this.workerSourceURL=URL.createObjectURL(new Blob([i]))}),this.decoderPending}_getWorker(e,t){return this._initDecoder().then(()=>{if(this.workerPool.length<this.workerLimit){const e=new Worker(this.workerSourceURL);e._callbacks={},e._taskCosts={},e._taskLoad=0,e.postMessage({type:"init",decoderConfig:this.decoderConfig}),e.onmessage=function(t){const r=t.data;switch(r.type){case"decode":e._callbacks[r.id].resolve(r);break;case"error":e._callbacks[r.id].reject(r);break;default:console.error('THREE.DRACOLoader: Unexpected message, "'+r.type+'"')}},this.workerPool.push(e)}else this.workerPool.sort(function(e,t){return e._taskLoad>t._taskLoad?-1:1});const r=this.workerPool[this.workerPool.length-1];return r._taskCosts[e]=t,r._taskLoad+=t,r})}_releaseTask(e,t){e._taskLoad-=e._taskCosts[t],delete e._callbacks[t],delete e._taskCosts[t]}debug(){console.log("Task load: ",this.workerPool.map(e=>e._taskLoad))}dispose(){for(let e=0;e<this.workerPool.length;++e)this.workerPool[e].terminate();return this.workerPool.length=0,""!==this.workerSourceURL&&URL.revokeObjectURL(this.workerSourceURL),this}};let Hge;const Gge=new Oy;let jge,Jge;const Wge=Symbol("loader"),Qge=Symbol("evictionPolicy"),qge=Symbol("GLTFInstance");class Yge extends or{static setDRACODecoderLocation(e){Vge=e,zge.setDecoderPath(e)}static getDRACODecoderLocation(){return Vge}static setKTX2TranscoderLocation(e){Hge=e,Gge.setTranscoderPath(e)}static getKTX2TranscoderLocation(){return Hge}static setMeshoptDecoderLocation(e){var t;jge!==e&&(jge=e,Jge=(t=e,new Promise((e,r)=>{const n=document.createElement("script");document.body.appendChild(n),n.onload=e,n.onerror=r,n.async=!0,n.src=t})).then(()=>Ige.ready).then(()=>Ige))}static getMeshoptDecoderLocation(){return jge}static initializeKTX2Loader(e){Gge.detectSupport(e)}static get cache(){return Bge}static clearCache(){Bge.forEach((e,t)=>{this.delete(t)}),this[Qge].reset()}static has(e){return Bge.has(e)}static async delete(e){if(!this.has(e))return;const t=Bge.get(e);Uge.delete(e),Bge.delete(e);(await t).dispose()}static hasFinishedLoading(e){return!!Uge.get(e)}constructor(e){super(),this[Oge]=(new Ib).register(e=>new Nge(e)),this[qge]=e,this[Wge].setDRACOLoader(zge),this[Wge].setKTX2Loader(Gge)}get[(Fge=Qge,Oge=Wge,Qge)](){return this.constructor[Qge]}async preload(e,t,r=()=>{}){if(this[Wge].setWithCredentials(t.withCredentials),this.dispatchEvent({type:"preload",element:t,src:e}),!Bge.has(e)){null!=Jge&&this[Wge].setMeshoptDecoder(await Jge);const t=((e,t,r=()=>{})=>{const n=e=>{const t=e.loaded/e.total;r(Math.max(0,Math.min(1,isFinite(t)?t:1)))};return new Promise((r,i)=>{t.load(e,r,n,i)})})(e,this[Wge],e=>{r(.8*e)}),n=this[qge],i=t.then(e=>n.prepare(e)).then(e=>(r(.9),new n(e))).catch(e=>(console.error(e),new n));Bge.set(e,i)}await Bge.get(e),Uge.set(e,!0),r&&r(1)}async load(e,t,r=()=>{}){await this.preload(e,t,r);const n=await Bge.get(e),i=await n.clone();return this[Qge].retain(e),i.dispose=()=>{this[Qge].release(e)},i}}Yge[Fge]=new Pge(Yge);
+/* @license
+ * Copyright 2021 Google LLC. All Rights Reserved.
+ * Licensed under the Apache License, Version 2.0 (the 'License');
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an 'AS IS' BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+const Xge=e=>void 0!==e.material&&e.userData&&e.userData.variantMaterials&&!!Array.from(e.userData.variantMaterials.values()).filter(e=>Kge(e.material)),Kge=e=>e&&e.isMaterial&&!Array.isArray(e);class Zge{constructor(e){this.writer=e,this.name="KHR_materials_variants",this.variantNames=[]}beforeParse(e){const t=new Set,r=e=>{if(!Xge(e))return;const r=e.userData.variantMaterials,n=e.userData.variantData;for(const[e,i]of n){const n=r.get(i.index);n&&Kge(n.material)&&t.add(e)}};if(Array.isArray(e))for(const t of e)t.traverse(r);else e.traverse(r);t.forEach(e=>this.variantNames.push(e))}async writeMesh(e,t){if(!Xge(e))return;const r=e.userData,n=r.variantMaterials,i=r.variantData,o=new Map,s=new Map,a=Array.from(i.values()).sort((e,t)=>e.index-t.index);for(const[e,t]of a.entries())s.set(t.index,e);for(const e of i.values()){const t=n.get(e.index);if(!t||!Kge(t.material))continue;const r=await this.writer.processMaterialAsync(t.material);o.has(r)||o.set(r,{material:r,variants:[]}),o.get(r).variants.push(s.get(e.index))}const l=Array.from(o.values()).map(e=>e.variants.sort((e,t)=>e-t)&&e).sort((e,t)=>e.material-t.material);if(0===l.length)return;const c=Kge(r.originalMaterial)?await this.writer.processMaterialAsync(r.originalMaterial):-1;for(const e of t.primitives)c>=0&&(e.material=c),e.extensions=e.extensions||{},e.extensions[this.name]={mappings:l}}afterParse(){if(0===this.variantNames.length)return;const e=this.writer.json;e.extensions=e.extensions||{};const t=this.variantNames.map(e=>({name:e}));e.extensions[this.name]={variants:t},this.writer.extensionsUsed[this.name]=!0}}class efe{constructor(e=50){this.velocity=0,this.naturalFrequency=0,this.setDecayTime(e)}setDecayTime(e){this.naturalFrequency=1/Math.max(.001,e)}update(e,t,r,n){const i=2e-4*this.naturalFrequency;if(null==e||0===n)return t;if(e===t&&0===this.velocity)return t;if(r<0)return e;const o=e-t,s=this.velocity+this.naturalFrequency*o,a=o+r*s,l=Math.exp(-this.naturalFrequency*r),c=(s-this.naturalFrequency*a)*l,u=-this.naturalFrequency*(c+s*l);return Math.abs(c)<i*Math.abs(n)&&u*o>=0?(this.velocity=0,t):(this.velocity=c,t+a*l)}}
+/* @license
+ * Copyright 2020 Google LLC. All Rights Reserved.
+ * Licensed under the Apache License, Version 2.0 (the 'License');
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an 'AS IS' BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+const tfe=.2,rfe=Math.PI/24,nfe=new fr,ife=(e,t,r)=>{let n=t>0?r>0?0:-Math.PI/2:r>0?Math.PI/2:Math.PI;for(let i=0;i<=12;++i)e.push(t+.17*Math.cos(n),r+.17*Math.sin(n),0,t+tfe*Math.cos(n),r+tfe*Math.sin(n),0),n+=rfe};class ofe extends Yi{constructor(e,t){const r=new Oi,n=[],i=[],{size:o,boundingBox:s}=e,a=o.x/2,l=("back"===t?o.y:o.z)/2;ife(i,a,l),ife(i,-a,l),ife(i,-a,-l),ife(i,a,-l);const c=i.length/3;for(let e=0;e<c-2;e+=2)n.push(e,e+1,e+3,e,e+3,e+2);const u=c-2;n.push(u,u+1,1,u,1,0),r.setAttribute("position",new ki(i,3)),r.setIndex(n),super(r),this.side=t;const d=this.material;switch(d.side=2,d.transparent=!0,d.opacity=0,this.goalOpacity=0,this.opacityDamper=new efe,this.hitPlane=new Yi(new Ka(2*(a+tfe),2*(l+tfe))),this.hitPlane.visible=!1,this.hitPlane.material.side=2,this.add(this.hitPlane),this.hitBox=new Yi(new Ki(o.x+.4,o.y+tfe,o.z+.4)),this.hitBox.visible=!1,this.hitBox.material.side=2,this.add(this.hitBox),s.getCenter(this.position),t){case"bottom":this.rotateX(-Math.PI/2),this.shadowHeight=s.min.y,this.position.y=this.shadowHeight;break;case"back":this.shadowHeight=s.min.z,this.position.z=this.shadowHeight}e.target.add(this),this.hitBox.position.y=(o.y+tfe)/2+s.min.y,e.target.add(this.hitBox),this.offsetHeight=0}getHit(e,t,r){nfe.set(t,-r),this.hitPlane.visible=!0;const n=e.positionAndNormalFromPoint(nfe,this.hitPlane);return this.hitPlane.visible=!1,null==n?null:n.position}getExpandedHit(e,t,r){this.hitPlane.scale.set(1e3,1e3,1e3),this.hitPlane.updateMatrixWorld();const n=this.getHit(e,t,r);return this.hitPlane.scale.set(1,1,1),n}controllerIntersection(e,t){this.hitBox.visible=!0;const r=e.hitFromController(t,this.hitBox);return this.hitBox.visible=!1,r}set offsetHeight(e){e-=.001,"back"===this.side?this.position.z=this.shadowHeight+e:this.position.y=this.shadowHeight+e}get offsetHeight(){return"back"===this.side?this.position.z-this.shadowHeight:this.position.y-this.shadowHeight}set show(e){this.goalOpacity=e?.75:0}updateOpacity(e){const t=this.material;t.opacity=this.opacityDamper.update(t.opacity,this.goalOpacity,e,1),this.visible=t.opacity>0}dispose(){const{geometry:e,material:t}=this.hitPlane;e.dispose(),t.dispose(),this.hitBox.geometry.dispose(),this.hitBox.material.dispose(),this.geometry.dispose(),this.material.dispose(),this.hitBox.removeFromParent(),this.removeFromParent()}}
+/* @license
+ * Copyright 2019 Google LLC. All Rights Reserved.
+ * Licensed under the Apache License, Version 2.0 (the 'License');
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an 'AS IS' BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+const sfe=(e,t)=>({type:"number",number:e,unit:t}),afe=(()=>{const e={};return t=>{const r=t;if(r in e)return e[r];const n=[];let i=0;for(;t;){if(++i>1e3){t="";break}const e=lfe(t),r=e.nodes[0];if(null==r||0===r.terms.length)break;n.push(r),t=e.remainingInput}return e[r]=n}})(),lfe=(()=>{const e=/^(\-\-|[a-z\u0240-\uffff])/i,t=/^([\*\+\/]|[\-]\s)/i,r=/^[\),]/;return n=>{const i=[];for(;n.length&&(n=n.trim(),!r.test(n));)if("("===n[0]){const{nodes:e,remainingInput:t}=hfe(n);n=t,i.push({type:"function",name:{type:"ident",value:"calc"},arguments:e})}else if(e.test(n)){const e=cfe(n),t=e.nodes[0];if("("===(n=e.remainingInput)[0]){const{nodes:e,remainingInput:r}=hfe(n);i.push({type:"function",name:t,arguments:e}),n=r}else i.push(t)}else if(t.test(n))i.push({type:"operator",value:n[0]}),n=n.slice(1);else{const{nodes:e,remainingInput:t}="#"===n[0]?dfe(n):ufe(n);if(0===e.length)break;i.push(e[0]),n=t}return{nodes:[{type:"expression",terms:i}],remainingInput:n}}})(),cfe=(()=>{const e=/[^a-z0-9_\-\u0240-\uffff]/i;return t=>{const r=t.match(e);return{nodes:[{type:"ident",value:null==r?t:t.substr(0,r.index)}],remainingInput:null==r?"":t.substr(r.index)}}})(),ufe=(()=>{const e=/[\+\-]?(\d+[\.]\d+|\d+|[\.]\d+)([eE][\+\-]?\d+)?/,t=/^[a-z%]+/i,r=/^(m|mm|cm|rad|deg|[%])$/;return n=>{const i=n.match(e),o=null==i?"0":i[0],s=(n=null==o?n:n.slice(o.length)).match(t);let a=null!=s&&""!==s[0]?s[0]:null;const l=null==s?n:n.slice(a.length);return null==a||r.test(a)||(a=null),{nodes:[{type:"number",number:parseFloat(o)||0,unit:a}],remainingInput:l}}})(),dfe=(()=>{const e=/^[a-f0-9]*/i;return t=>{const r=(t=t.slice(1).trim()).match(e);return{nodes:null==r?[]:[{type:"hex",value:r[0]}],remainingInput:null==r?t:t.slice(r[0].length)}}})(),hfe=e=>{const t=[];for(e=e.slice(1).trim();e.length;){const r=lfe(e);if(t.push(r.nodes[0]),","===(e=r.remainingInput.trim())[0])e=e.slice(1).trim();else if(")"===e[0]){e=e.slice(1);break}}return{nodes:t,remainingInput:e}},pfe=Symbol("visitedTypes");class mfe{constructor(e){this[pfe]=e}walk(e,t){const r=e.slice();for(;r.length;){const e=r.shift();switch(this[pfe].indexOf(e.type)>-1&&t(e),e.type){case"expression":r.unshift(...e.terms);break;case"function":r.unshift(e.name,...e.arguments)}}}}const _fe=Object.freeze({type:"number",number:0,unit:null}),gfe=(e,t=0)=>{let{number:r,unit:n}=e;if(isFinite(r)){if("rad"===e.unit||null==e.unit)return e}else r=t,n="rad";return{type:"number",number:("deg"===n&&null!=r?r:0)*Math.PI/180,unit:"rad"}},ffe=(e,t=0)=>{let r,{number:n,unit:i}=e;if(isFinite(n)){if("m"===e.unit)return e}else n=t,i="m";switch(i){default:r=1;break;case"cm":r=.01;break;case"mm":r=.001}return{type:"number",number:r*n,unit:"m"}},vfe=(()=>{const e=e=>e,t={rad:e,deg:gfe,m:e,mm:ffe,cm:ffe};return(e,r=_fe)=>{isFinite(e.number)||(e.number=r.number,e.unit=r.unit);const{unit:n}=e;if(null==n)return e;const i=t[n];return null==i?r:i(e)}})();
+/* @license
+ * Copyright 2019 Google LLC. All Rights Reserved.
+ * Licensed under the Apache License, Version 2.0 (the 'License');
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an 'AS IS' BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+var bfe,yfe,$fe;const xfe=Symbol("evaluate"),Sfe=Symbol("lastValue");class wfe{constructor(){this[bfe]=null}static evaluatableFor(e,t=_fe){if(e instanceof wfe)return e;if("number"===e.type)return"%"===e.unit?new Efe(e,t):e;switch(e.name.value){case"calc":return new Rfe(e,t);case"env":return new Mfe(e)}return _fe}static evaluate(e){return e instanceof wfe?e.evaluate():e}static isConstant(e){return!(e instanceof wfe)||e.isConstant}static applyIntrinsics(e,t){const{basis:r,keywords:n}=t,{auto:i}=n;return r.map((t,r)=>{const o=null==i[r]?t:i[r];let s=e[r]?e[r]:o;if("ident"===s.type){const e=s.value;e in n&&(s=n[e][r])}return null!=s&&"ident"!==s.type||(s=o),"%"===s.unit?sfe(s.number/100*t.number,t.unit):(s=vfe(s,t),s.unit!==t.unit?t:s)})}get isConstant(){return!1}evaluate(){return this.isConstant&&null!=this[Sfe]||(this[Sfe]=this[xfe]()),this[Sfe]}}bfe=Sfe;const Afe=Symbol("percentage"),Cfe=Symbol("basis");class Efe extends wfe{constructor(e,t){super(),this[Afe]=e,this[Cfe]=t}get isConstant(){return!0}[xfe](){return sfe(this[Afe].number/100*this[Cfe].number,this[Cfe].unit)}}const Ife=Symbol("identNode");class Mfe extends wfe{constructor(e){super(),this[yfe]=null;const t=e.arguments.length?e.arguments[0].terms[0]:null;null!=t&&"ident"===t.type&&(this[Ife]=t)}get isConstant(){return!1}[(yfe=Ife,xfe)](){if(null!=this[Ife]&&"window-scroll-y"===this[Ife].value){return{type:"number",number:window.pageYOffset/(Math.max(document.body.scrollHeight,document.body.offsetHeight,document.documentElement.clientHeight,document.documentElement.scrollHeight,document.documentElement.offsetHeight)-window.innerHeight)||0,unit:null}}return _fe}}const kfe=/[\*\/]/,Tfe=Symbol("evaluator");class Rfe extends wfe{constructor(e,t=_fe){if(super(),this[$fe]=null,1!==e.arguments.length)return;const r=e.arguments[0].terms.slice(),n=[];for(;r.length;){const e=r.shift();if(n.length>0){const r=n[n.length-1];if("operator"===r.type&&kfe.test(r.value)){const r=n.pop(),i=n.pop();if(null==i)return;n.push(new Nfe(r,wfe.evaluatableFor(i,t),wfe.evaluatableFor(e,t)));continue}}n.push("operator"===e.type?e:wfe.evaluatableFor(e,t))}for(;n.length>2;){const[e,r,i]=n.splice(0,3);if("operator"!==r.type)return;n.unshift(new Nfe(r,wfe.evaluatableFor(e,t),wfe.evaluatableFor(i,t)))}1===n.length&&(this[Tfe]=n[0])}get isConstant(){return null==this[Tfe]||wfe.isConstant(this[Tfe])}[($fe=Tfe,xfe)](){return null!=this[Tfe]?wfe.evaluate(this[Tfe]):_fe}}const Lfe=Symbol("operator"),Pfe=Symbol("left"),Dfe=Symbol("right");class Nfe extends wfe{constructor(e,t,r){super(),this[Lfe]=e,this[Pfe]=t,this[Dfe]=r}get isConstant(){return wfe.isConstant(this[Pfe])&&wfe.isConstant(this[Dfe])}[xfe](){const e=vfe(wfe.evaluate(this[Pfe])),t=vfe(wfe.evaluate(this[Dfe])),{number:r,unit:n}=e,{number:i,unit:o}=t;if(null!=o&&null!=n&&o!=n)return _fe;const s=n||o;let a;switch(this[Lfe].value){case"+":a=r+i;break;case"-":a=r-i;break;case"/":a=r/i;break;case"*":a=r*i;break;default:return _fe}return{type:"number",number:a,unit:s}}}const Ffe=Symbol("evaluatables"),Ofe=Symbol("intrinsics");class Bfe extends wfe{constructor(e,t){super(),this[Ofe]=t;const r=e[0],n=null!=r?r.terms:[];this[Ffe]=t.basis.map((e,t)=>{const r=n[t];return null==r?{type:"ident",value:"auto"}:"ident"===r.type?r:wfe.evaluatableFor(r,e)})}get isConstant(){for(const e of this[Ffe])if(!wfe.isConstant(e))return!1;return!0}[xfe](){const e=this[Ffe].map(e=>wfe.evaluate(e));return wfe.applyIntrinsics(e,this[Ofe]).map(e=>e.number)}}
+/* @license
+ * Copyright 2019 Google LLC. All Rights Reserved.
+ * Licensed under the Apache License, Version 2.0 (the 'License');
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an 'AS IS' BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+var Ufe,Vfe,zfe,Hfe;const Gfe=Symbol("instances"),jfe=Symbol("activateListener"),Jfe=Symbol("deactivateListener"),Wfe=Symbol("notifyInstances"),Qfe=Symbol("notify"),qfe=Symbol("callback");class Yfe{static[Wfe](){for(const e of Yfe[Gfe])e[Qfe]()}static[(Ufe=Gfe,jfe)](){window.addEventListener("scroll",this[Wfe],{passive:!0})}static[Jfe](){window.removeEventListener("scroll",this[Wfe])}constructor(e){this[qfe]=e}observe(){0===Yfe[Gfe].size&&Yfe[jfe](),Yfe[Gfe].add(this)}disconnect(){Yfe[Gfe].delete(this),0===Yfe[Gfe].size&&Yfe[Jfe]()}[Qfe](){this[qfe]()}}Yfe[Ufe]=new Set;const Xfe=Symbol("computeStyleCallback"),Kfe=Symbol("astWalker"),Zfe=Symbol("dependencies"),eve=Symbol("onScroll");class tve{constructor(e){this[Vfe]={},this[zfe]=new mfe(["function"]),this[Hfe]=()=>{this[Xfe]({relatedState:"window-scroll"})},this[Xfe]=e}observeEffectsFor(e){const t={},r=this[Zfe];this[Kfe].walk(e,e=>{const{name:n}=e,i=e.arguments[0].terms[0];if("env"===n.value&&null!=i&&"ident"===i.type&&"window-scroll-y"===i.value)if(null==t["window-scroll"]){const e="window-scroll"in r?r["window-scroll"]:new Yfe(this[eve]);e.observe(),delete r["window-scroll"],t["window-scroll"]=e}});for(const e in r){r[e].disconnect()}this[Zfe]=t}dispose(){for(const e in this[Zfe]){this[Zfe][e].disconnect()}}}Vfe=Zfe,zfe=Kfe,Hfe=eve;
+/* @license
+ * Copyright 2019 Google LLC. All Rights Reserved.
+ * Licensed under the Apache License, Version 2.0 (the 'License');
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an 'AS IS' BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+const rve=e=>{const t=e.observeEffects||!1,r=e.intrinsics instanceof Function?e.intrinsics:()=>e.intrinsics;return(n,i)=>{const o=n.updated,s=n.connectedCallback,a=n.disconnectedCallback,l=Symbol(`${i}StyleEffector`),c=Symbol(`${i}StyleEvaluator`),u=Symbol(`${i}UpdateEvaluator`),d=Symbol(`${i}EvaluateAndSync`);Object.defineProperties(n,{[l]:{value:null,writable:!0},[c]:{value:null,writable:!0},[u]:{value:function(){const e=afe(this[i]);this[c]=new Bfe(e,r(this)),null==this[l]&&t&&(this[l]=new tve(()=>this[d]())),null!=this[l]&&this[l].observeEffectsFor(e)}},[d]:{value:function(){if(null==this[c])return;const t=this[c].evaluate();this[e.updateHandler](t)}},updated:{value:function(e){e.has(i)&&(this[u](),this[d]()),o.call(this,e)}},connectedCallback:{value:function(){s.call(this),this.requestUpdate(i,this[i])}},disconnectedCallback:{value:function(){a.call(this),null!=this[l]&&(this[l].dispose(),this[l]=null)}}})}},nve=e=>e<.5?2*e*e:(4-2*e)*e-1,ive=(e,t,r=nve)=>n=>e+(t-e)*r(n),ove=e=>{const t=[],r=[];let n=e.initialValue;for(let i=0;i<e.keyframes.length;++i){const o=e.keyframes[i],{value:s,frames:a}=o,l=o.ease||nve,c=ive(n,s,l);t.push(c),r.push(a),n=s}return((e,t)=>{const r=t.map((n=0,e=>n+=e));var n;return t=>{t=vge(t,0,1),t*=r[r.length-1];const n=r.findIndex(e=>e>=t),i=n<1?0:r[n-1],o=r[n];return e[n]((t-i)/(o-i))}})(t,r)};
+/* @license
+ * Copyright 2019 Google LLC. All Rights Reserved.
+ * Licensed under the Apache License, Version 2.0 (the 'License');
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an 'AS IS' BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+var sve=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};const ave=ove({initialValue:0,keyframes:[{frames:5,value:-1},{frames:1,value:-1},{frames:8,value:1},{frames:1,value:1},{frames:5,value:0},{frames:18,value:0}]}),lve=ove({initialValue:0,keyframes:[{frames:1,value:1},{frames:5,value:1},{frames:1,value:0},{frames:6,value:0}]}),cve="0deg 75deg 105%",uve=["front","right","back","left"],dve=["upper-","","lower-"],hve="auto",pve="basic",mve="wiggle",_ve="none",gve=()=>({basis:[gfe(sfe(30,"deg"))],keywords:{auto:[null]}}),fve=()=>({basis:[gfe(sfe(12,"deg"))],keywords:{auto:[null]}}),vve=(()=>{const e=afe(cve)[0].terms,t=vfe(e[0]),r=vfe(e[1]);return e=>{const n=e[Yxe].idealCameraDistance();return{basis:[t,r,sfe(n,"m")],keywords:{auto:[null,null,sfe(105,"%")]}}}})(),bve=e=>{const t=2.2*e[Yxe].boundingSphere.radius;return{basis:[sfe(-1/0,"rad"),sfe(0,"rad"),sfe(t,"m")],keywords:{auto:[null,null,null]}}},yve=e=>{const t=vve(e),r=new Bfe([],t).evaluate()[2];return{basis:[sfe(1/0,"rad"),sfe(Math.PI,"rad"),sfe(r,"m")],keywords:{auto:[null,null,null]}}},$ve=e=>{const t=e[Yxe].boundingBox.getCenter(new br);return{basis:[sfe(t.x,"m"),sfe(t.y,"m"),sfe(t.z,"m")],keywords:{auto:[null,null,null]}}},xve=Math.PI/2,Sve=Math.PI/3,wve=xve/2,Ave=2*Math.PI,Cve=Symbol("controls"),Eve=Symbol("panElement"),Ive=Symbol("promptElement"),Mve=Symbol("promptAnimatedContainer"),kve=Symbol("fingerAnimatedContainers"),Tve=Symbol("deferInteractionPrompt"),Rve=Symbol("updateAria"),Lve=Symbol("a11y"),Pve=Symbol("updateA11y"),Dve=Symbol("updateCameraForRadius"),Nve=Symbol("cancelPrompts"),Fve=Symbol("onChange"),Ove=Symbol("onPointerChange"),Bve=Symbol("waitingToPromptUser"),Uve=Symbol("userHasInteracted"),Vve=Symbol("promptElementVisibleTime"),zve=Symbol("lastPromptOffset"),Hve=Symbol("cancellationSource"),Gve=Symbol("lastSpherical"),jve=Symbol("jumpCamera"),Jve=Symbol("initialized"),Wve=Symbol("maintainThetaPhi"),Qve=Symbol("syncCameraOrbit"),qve=Symbol("syncFieldOfView"),Yve=Symbol("syncCameraTarget"),Xve=Symbol("syncMinCameraOrbit"),Kve=Symbol("syncMaxCameraOrbit"),Zve=Symbol("syncMinFieldOfView"),ebe=Symbol("syncMaxFieldOfView"),tbe=new fr,rbe=new br,nbe=Object.freeze({minimumRadius:0,maximumRadius:1/0,minimumPolarAngle:0,maximumPolarAngle:Math.PI,minimumAzimuthalAngle:-1/0,maximumAzimuthalAngle:1/0,minimumFieldOfView:10,maximumFieldOfView:45,touchAction:"none"}),ibe=Math.PI/8,obe=.04,sbe={USER_INTERACTION:"user-interaction",NONE:"none",AUTOMATIC:"automatic"};class abe extends or{constructor(e,t,r){super(),this.camera=e,this.element=t,this.scene=r,this.orbitSensitivity=1,this.zoomSensitivity=1,this.panSensitivity=1,this.inputSensitivity=1,this.changeSource=sbe.NONE,this._interactionEnabled=!1,this._disableZoom=!1,this.isUserPointing=!1,this.enablePan=!0,this.enableTap=!0,this.panProjection=new xr,this.panPerPixel=0,this.spherical=new Rc,this.goalSpherical=new Rc,this.thetaDamper=new efe,this.phiDamper=new efe,this.radiusDamper=new efe,this.logFov=Math.log(nbe.maximumFieldOfView),this.goalLogFov=this.logFov,this.fovDamper=new efe,this.touchMode=null,this.pointers=[],this.startTime=0,this.startPointerPosition={clientX:0,clientY:0},this.lastSeparation=0,this.touchDecided=!1,this.onContext=e=>{if(this.enablePan)e.preventDefault();else for(const e of this.pointers)this.onPointerUp(new PointerEvent("pointercancel",Object.assign(Object.assign({},this.startPointerPosition),{pointerId:e.id})))},this.touchModeZoom=(e,t)=>{if(!this._disableZoom){const e=this.twoTouchDistance(this.pointers[0],this.pointers[1]),t=obe*this.zoomSensitivity*(this.lastSeparation-e)*50/this.scene.height;this.lastSeparation=e,this.userAdjustOrbit(0,0,t)}this.panPerPixel>0&&this.movePan(e,t)},this.disableScroll=e=>{e.preventDefault()},this.touchModeRotate=(e,t)=>{const{touchAction:r}=this._options;if(!this.touchDecided&&"none"!==r){this.touchDecided=!0;const n=Math.abs(e),i=Math.abs(t);if(this.changeSource===sbe.USER_INTERACTION&&("pan-y"===r&&i>n||"pan-x"===r&&n>i))return void(this.touchMode=null);this.element.addEventListener("touchmove",this.disableScroll,{passive:!1})}this.handleSinglePointerMove(e,t)},this.onPointerDown=e=>{if(this.pointers.length>2)return;const{element:t}=this;0===this.pointers.length&&(t.addEventListener("pointermove",this.onPointerMove),t.addEventListener("pointerup",this.onPointerUp),this.touchMode=null,this.touchDecided=!1,this.startPointerPosition.clientX=e.clientX,this.startPointerPosition.clientY=e.clientY,this.startTime=performance.now());try{t.setPointerCapture(e.pointerId)}catch(e){}this.pointers.push({clientX:e.clientX,clientY:e.clientY,id:e.pointerId}),this.isUserPointing=!1,"touch"===e.pointerType?(this.changeSource=e.altKey?sbe.AUTOMATIC:sbe.USER_INTERACTION,this.onTouchChange(e)):(this.changeSource=sbe.USER_INTERACTION,this.onMouseDown(e)),this.changeSource===sbe.USER_INTERACTION&&this.dispatchEvent({type:"user-interaction"})},this.onPointerMove=e=>{const t=this.pointers.find(t=>t.id===e.pointerId);if(null==t)return;if("mouse"===e.pointerType&&0===e.buttons)return void this.onPointerUp(e);const r=this.pointers.length,n=(e.clientX-t.clientX)/r,i=(e.clientY-t.clientY)/r;0===n&&0===i||(t.clientX=e.clientX,t.clientY=e.clientY,"touch"===e.pointerType?(this.changeSource=e.altKey?sbe.AUTOMATIC:sbe.USER_INTERACTION,null!==this.touchMode&&this.touchMode(n,i)):(this.changeSource=sbe.USER_INTERACTION,this.panPerPixel>0?this.movePan(n,i):this.handleSinglePointerMove(n,i)))},this.onPointerUp=e=>{const{element:t}=this,r=this.pointers.findIndex(t=>t.id===e.pointerId);-1!==r&&this.pointers.splice(r,1),this.panPerPixel>0&&!e.altKey&&this.resetRadius(),0===this.pointers.length?(t.removeEventListener("pointermove",this.onPointerMove),t.removeEventListener("pointerup",this.onPointerUp),t.removeEventListener("touchmove",this.disableScroll),this.enablePan&&this.enableTap&&this.recenter(e)):null!==this.touchMode&&this.onTouchChange(e),this.scene.element[Eve].style.opacity=0,t.style.cursor="grab",this.panPerPixel=0,this.isUserPointing&&this.dispatchEvent({type:"pointer-change-end"})},this.onWheel=e=>{this.changeSource=sbe.USER_INTERACTION;const t=e.deltaY*(1==e.deltaMode?18:1)*obe*this.zoomSensitivity/30;this.userAdjustOrbit(0,0,t),e.preventDefault(),this.dispatchEvent({type:"user-interaction"})},this.onKeyDown=e=>{const{changeSource:t}=this;this.changeSource=sbe.USER_INTERACTION;(e.shiftKey&&this.enablePan?this.panKeyCodeHandler(e):this.orbitZoomKeyCodeHandler(e))?(e.preventDefault(),this.dispatchEvent({type:"user-interaction"})):this.changeSource=t},this._options=Object.assign({},nbe),this.setOrbit(0,Math.PI/2,1),this.setFieldOfView(100),this.jumpToGoal()}get interactionEnabled(){return this._interactionEnabled}enableInteraction(){if(!1===this._interactionEnabled){const{element:e}=this;e.addEventListener("pointerdown",this.onPointerDown),e.addEventListener("pointercancel",this.onPointerUp),this._disableZoom||e.addEventListener("wheel",this.onWheel),e.addEventListener("keydown",this.onKeyDown),e.addEventListener("touchmove",()=>{},{passive:!1}),e.addEventListener("contextmenu",this.onContext),this.element.style.cursor="grab",this._interactionEnabled=!0,this.updateTouchActionStyle()}}disableInteraction(){if(!0===this._interactionEnabled){const{element:e}=this;e.removeEventListener("pointerdown",this.onPointerDown),e.removeEventListener("pointermove",this.onPointerMove),e.removeEventListener("pointerup",this.onPointerUp),e.removeEventListener("pointercancel",this.onPointerUp),e.removeEventListener("wheel",this.onWheel),e.removeEventListener("keydown",this.onKeyDown),e.removeEventListener("contextmenu",this.onContext),e.style.cursor="",this.touchMode=null,this._interactionEnabled=!1,this.updateTouchActionStyle()}}get options(){return this._options}set disableZoom(e){this._disableZoom!=e&&(this._disableZoom=e,!0===e?this.element.removeEventListener("wheel",this.onWheel):this.element.addEventListener("wheel",this.onWheel),this.updateTouchActionStyle())}getCameraSpherical(e=new Rc){return e.copy(this.spherical)}getFieldOfView(){return this.camera.fov}applyOptions(e){Object.assign(this._options,e),this.setOrbit(),this.setFieldOfView(Math.exp(this.goalLogFov))}updateNearFar(e,t){this.camera.far=0===t?2:t,this.camera.near=Math.max(e,this.camera.far/1e3),this.camera.updateProjectionMatrix()}updateAspect(e){this.camera.aspect=e,this.camera.updateProjectionMatrix()}setOrbit(e=this.goalSpherical.theta,t=this.goalSpherical.phi,r=this.goalSpherical.radius){const{minimumAzimuthalAngle:n,maximumAzimuthalAngle:i,minimumPolarAngle:o,maximumPolarAngle:s,minimumRadius:a,maximumRadius:l}=this._options,{theta:c,phi:u,radius:d}=this.goalSpherical,h=vge(e,n,i);isFinite(n)||isFinite(i)||(this.spherical.theta=this.wrapAngle(this.spherical.theta-h)+h);const p=vge(t,o,s),m=vge(r,a,l);return(h!==c||p!==u||m!==d)&&(!!(isFinite(h)&&isFinite(p)&&isFinite(m))&&(this.goalSpherical.theta=h,this.goalSpherical.phi=p,this.goalSpherical.radius=m,this.goalSpherical.makeSafe(),!0))}setRadius(e){this.goalSpherical.radius=e,this.setOrbit()}setFieldOfView(e){const{minimumFieldOfView:t,maximumFieldOfView:r}=this._options;e=vge(e,t,r),this.goalLogFov=Math.log(e)}setDamperDecayTime(e){this.thetaDamper.setDecayTime(e),this.phiDamper.setDecayTime(e),this.radiusDamper.setDecayTime(e),this.fovDamper.setDecayTime(e)}adjustOrbit(e,t,r){const{theta:n,phi:i,radius:o}=this.goalSpherical,{minimumRadius:s,maximumRadius:a,minimumFieldOfView:l,maximumFieldOfView:c}=this._options,u=this.spherical.theta-n,d=Math.PI-.001,h=n-vge(e,-d-u,d-u),p=i-t,m=0===r?0:((r>0?a:s)-o)/(Math.log(r>0?c:l)-this.goalLogFov),_=o+r*(isFinite(m)?m:2*(a-s));if(this.setOrbit(h,p,_),0!==r){const e=this.goalLogFov+r;this.setFieldOfView(Math.exp(e))}}jumpToGoal(){this.update(0,1e4)}update(e,t){if(this.isStationary())return!1;const{maximumPolarAngle:r,maximumRadius:n}=this._options,i=this.spherical.theta-this.goalSpherical.theta;return Math.abs(i)>Math.PI&&!isFinite(this._options.minimumAzimuthalAngle)&&!isFinite(this._options.maximumAzimuthalAngle)&&(this.spherical.theta-=2*Math.sign(i)*Math.PI),this.spherical.theta=this.thetaDamper.update(this.spherical.theta,this.goalSpherical.theta,t,Math.PI),this.spherical.phi=this.phiDamper.update(this.spherical.phi,this.goalSpherical.phi,t,r),this.spherical.radius=this.radiusDamper.update(this.spherical.radius,this.goalSpherical.radius,t,n),this.logFov=this.fovDamper.update(this.logFov,this.goalLogFov,t,1),this.moveCamera(),!0}updateTouchActionStyle(){const{style:e}=this.element;if(this._interactionEnabled){const{touchAction:t}=this._options;this._disableZoom&&"none"!==t?e.touchAction="manipulation":e.touchAction=t}else e.touchAction=""}isStationary(){return this.goalSpherical.theta===this.spherical.theta&&this.goalSpherical.phi===this.spherical.phi&&this.goalSpherical.radius===this.spherical.radius&&this.goalLogFov===this.logFov}moveCamera(){this.spherical.makeSafe(),this.camera.position.setFromSpherical(this.spherical),this.camera.setRotationFromEuler(new Rn(this.spherical.phi-Math.PI/2,this.spherical.theta,0,"YXZ")),this.camera.fov!==Math.exp(this.logFov)&&(this.camera.fov=Math.exp(this.logFov),this.camera.updateProjectionMatrix())}userAdjustOrbit(e,t,r){this.adjustOrbit(e*this.orbitSensitivity*this.inputSensitivity,t*this.orbitSensitivity*this.inputSensitivity,r*this.inputSensitivity)}wrapAngle(e){const t=(e+Math.PI)/(2*Math.PI);return 2*(t-Math.floor(t))*Math.PI-Math.PI}pixelLengthToSphericalAngle(e){return 2*Math.PI*e/this.scene.height}twoTouchDistance(e,t){const{clientX:r,clientY:n}=e,{clientX:i,clientY:o}=t,s=i-r,a=o-n;return Math.sqrt(s*s+a*a)}handleSinglePointerMove(e,t){const r=this.pixelLengthToSphericalAngle(e),n=this.pixelLengthToSphericalAngle(t);!1===this.isUserPointing&&(this.isUserPointing=!0,this.dispatchEvent({type:"pointer-change-start"})),this.userAdjustOrbit(r,n,0)}initializePan(){const{theta:e,phi:t}=this.spherical,r=e-this.scene.yaw;this.panPerPixel=.018*this.panSensitivity/this.scene.height,this.panProjection.set(-Math.cos(r),-Math.cos(t)*Math.sin(r),0,0,Math.sin(t),0,Math.sin(r),-Math.cos(t)*Math.cos(r),0)}movePan(e,t){const{scene:r}=this,n=rbe.set(e,t,0).multiplyScalar(this.inputSensitivity),i=this.spherical.radius*Math.exp(this.logFov)*this.panPerPixel;n.multiplyScalar(i);const o=r.getTarget();o.add(n.applyMatrix3(this.panProjection)),r.boundingSphere.clampPoint(o,o),r.setTarget(o.x,o.y,o.z)}recenter(e){if(performance.now()>this.startTime+300||Math.abs(e.clientX-this.startPointerPosition.clientX)>2||Math.abs(e.clientY-this.startPointerPosition.clientY)>2)return;const{scene:t}=this,r=t.positionAndNormalFromPoint(t.getNDC(e.clientX,e.clientY));if(null==r){const{cameraTarget:e}=t.element;t.element.cameraTarget="",t.element.cameraTarget=e,this.userAdjustOrbit(0,0,1)}else t.target.worldToLocal(r.position),t.setTarget(r.position.x,r.position.y,r.position.z)}resetRadius(){const{scene:e}=this,t=e.positionAndNormalFromPoint(tbe.set(0,0));if(null==t)return;e.target.worldToLocal(t.position);const r=e.getTarget(),{theta:n,phi:i}=this.spherical,o=n-e.yaw,s=rbe.set(Math.sin(i)*Math.sin(o),Math.cos(i),Math.sin(i)*Math.cos(o)),a=s.dot(t.position.sub(r));r.add(s.multiplyScalar(a)),e.setTarget(r.x,r.y,r.z),this.setOrbit(void 0,void 0,this.goalSpherical.radius-a)}onTouchChange(e){if(1===this.pointers.length)this.touchMode=this.touchModeRotate;else{if(this._disableZoom)return this.touchMode=null,void this.element.removeEventListener("touchmove",this.disableScroll);this.touchMode=this.touchDecided&&null===this.touchMode?null:this.touchModeZoom,this.touchDecided=!0,this.element.addEventListener("touchmove",this.disableScroll,{passive:!1}),this.lastSeparation=this.twoTouchDistance(this.pointers[0],this.pointers[1]),this.enablePan&&null!=this.touchMode&&(this.initializePan(),e.altKey||(this.scene.element[Eve].style.opacity=1))}}onMouseDown(e){this.panPerPixel=0,this.enablePan&&(2===e.button||e.ctrlKey||e.metaKey||e.shiftKey)&&(this.initializePan(),this.scene.element[Eve].style.opacity=1),this.element.style.cursor="grabbing"}orbitZoomKeyCodeHandler(e){let t=!0;switch(e.key){case"PageUp":this.userAdjustOrbit(0,0,obe*this.zoomSensitivity);break;case"PageDown":this.userAdjustOrbit(0,0,-.04*this.zoomSensitivity);break;case"ArrowUp":this.userAdjustOrbit(0,-ibe,0);break;case"ArrowDown":this.userAdjustOrbit(0,ibe,0);break;case"ArrowLeft":this.userAdjustOrbit(-ibe,0,0);break;case"ArrowRight":this.userAdjustOrbit(ibe,0,0);break;default:t=!1}return t}panKeyCodeHandler(e){this.initializePan();let t=!0;switch(e.key){case"ArrowUp":this.movePan(0,-10);break;case"ArrowDown":this.movePan(0,10);break;case"ArrowLeft":this.movePan(-10,0);break;case"ArrowRight":this.movePan(10,0);break;default:t=!1}return t}}
+/* @license
+ * Copyright 2019 Google LLC. All Rights Reserved.
+ * Licensed under the Apache License, Version 2.0 (the 'License');
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an 'AS IS' BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+const lbe=150,cbe="not-presenting",ube="session-started",dbe="object-placed",hbe="failed",pbe="tracking",mbe="not-tracking",_be=new br,gbe=new vr,fbe=new xn,vbe=new br,bbe=new lo(45,1,.1,100),ybe=(new Oi).setFromPoints([new br(0,0,0),new br(0,0,-1)]),$be=new Ki;class xbe extends or{constructor(e){super(),this.renderer=e,this.currentSession=null,this.placeOnWall=!1,this.placementBox=null,this.lastTick=null,this.turntableRotation=null,this.oldShadowIntensity=null,this.frame=null,this.initialHitSource=null,this.transientHitTestSource=null,this.inputSource=null,this._presentedScene=null,this.resolveCleanup=null,this.exitWebXRButtonContainer=null,this.overlay=null,this.xrLight=null,this.xrMode=null,this.controller1=null,this.controller2=null,this.selectedController=null,this.tracking=!0,this.frames=0,this.initialized=!1,this.oldTarget=new br,this.placementComplete=!1,this.isTranslating=!1,this.isRotating=!1,this.isTwoFingering=!1,this.lastDragPosition=new br,this.relativeOrientation=new vr,this.scaleLine=new As(ybe),this.firstRatio=0,this.lastAngle=0,this.goalPosition=new br,this.goalYaw=0,this.goalScale=1,this.xDamper=new efe,this.yDamper=new efe,this.zDamper=new efe,this.yawDamper=new efe,this.pitchDamper=new efe,this.rollDamper=new efe,this.scaleDamper=new efe,this.onExitWebXRButtonContainerClick=()=>this.stopPresenting(),this.onControllerSelectStart=e=>{const t=this.presentedScene,r=e.target;if(null!=this.placementBox.controllerIntersection(t,r))null!=this.selectedController&&(this.selectedController.userData.line.visible=!1,t.canScale&&(this.isTwoFingering=!0,this.firstRatio=this.controllerSeparation()/t.pivot.scale.x,this.scaleLine.visible=!0)),r.attach(t.pivot),this.selectedController=r,t.setShadowIntensity(.01);else{const e=r===this.controller1?this.controller2:this.controller1;this.relativeOrientation.copy(r.quaternion).invert().multiply(t.pivot.getWorldQuaternion(gbe)),e.userData.turning=!1,r.userData.turning=!0,r.userData.line.visible=!1}},this.onControllerSelectEnd=e=>{const t=e.target;if(t.userData.turning=!1,t.userData.line.visible=!0,this.isTwoFingering=!1,this.scaleLine.visible=!1,null!=this.selectedController&&this.selectedController!=t)return;const r=this.presentedScene;r.attach(r.pivot),this.selectedController=null,this.goalYaw=Math.atan2(r.pivot.matrix.elements[8],r.pivot.matrix.elements[10]),this.goalPosition.x=r.pivot.position.x,this.goalPosition.z=r.pivot.position.z},this.onUpdateScene=()=>{null!=this.placementBox&&this.isPresenting&&(this.placementBox.dispose(),this.placementBox=new ofe(this.presentedScene,this.placeOnWall?"back":"bottom"))},this.onSelectStart=e=>{const t=this.transientHitTestSource;if(null==t)return;const r=this.frame.getHitTestResultsForTransientInput(t),n=this.presentedScene,i=this.placementBox;if(1===r.length){this.inputSource=e.inputSource;const{axes:t}=this.inputSource.gamepad,r=i.getHit(this.presentedScene,t[0],t[1]);i.show=!0,null!=r?(this.isTranslating=!0,this.lastDragPosition.copy(r)):!1===this.placeOnWall&&(this.isRotating=!0,this.lastAngle=1.5*t[0])}else if(2===r.length){i.show=!0,this.isTwoFingering=!0;const{separation:e}=this.fingerPolar(r);this.firstRatio=e/n.pivot.scale.x}},this.onSelectEnd=()=>{this.isTranslating=!1,this.isRotating=!1,this.isTwoFingering=!1,this.inputSource=null,this.goalPosition.y+=this.placementBox.offsetHeight*this.presentedScene.scale.x,this.placementBox.show=!1},this.threeRenderer=e.threeRenderer,this.threeRenderer.xr.enabled=!0}async resolveARSession(){_ge();const e=await navigator.xr.requestSession("immersive-ar",{requiredFeatures:[],optionalFeatures:["hit-test","dom-overlay","light-estimation"],domOverlay:this.overlay?{root:this.overlay}:void 0});return this.threeRenderer.xr.setReferenceSpaceType("local"),await this.threeRenderer.xr.setSession(e),this.threeRenderer.xr.cameraAutoUpdate=!1,e}get presentedScene(){return this._presentedScene}async supportsPresentation(){try{return _ge(),await navigator.xr.isSessionSupported("immersive-ar")}catch(e){return console.warn("Request to present in WebXR denied:"),console.warn(e),console.warn("Falling back to next ar-mode"),!1}}async present(e,t=!1){this.isPresenting&&console.warn("Cannot present while a model is already presenting");let r=new Promise((e,t)=>{requestAnimationFrame(()=>e())});e.setHotspotsVisibility(!1),e.queueRender(),await r,this._presentedScene=e,this.overlay=e.element.shadowRoot.querySelector("div.default"),!0===t&&(this.xrLight=new EE(this.threeRenderer),this.xrLight.addEventListener("estimationstart",()=>{if(!this.isPresenting||null==this.xrLight)return;const e=this.presentedScene;e.add(this.xrLight),e.environment=this.xrLight.environment}));const n=await this.resolveARSession();n.addEventListener("end",()=>{this.postSessionCleanup()},{once:!0});const i=e.element.shadowRoot.querySelector(".slot.exit-webxr-ar-button");i.classList.add("enabled"),i.addEventListener("click",this.onExitWebXRButtonContainerClick),this.exitWebXRButtonContainer=i;const o=await n.requestReferenceSpace("viewer");this.xrMode=n.interactionMode,this.tracking=!0,this.frames=0,this.initialized=!1,this.turntableRotation=e.yaw,this.goalYaw=e.yaw,this.goalScale=1,e.setBackground(null),this.oldShadowIntensity=e.shadowIntensity,e.setShadowIntensity(.01),this.oldTarget.copy(e.getTarget()),e.element.addEventListener("load",this.onUpdateScene);const s=20*Math.PI/180,a=!0===this.placeOnWall?void 0:new XRRay(new DOMPoint(0,0,0),{x:0,y:-Math.sin(s),z:-Math.cos(s)});n.requestHitTestSource({space:o,offsetRay:a}).then(e=>{this.initialHitSource=e}),"screen-space"!==this.xrMode&&(this.setupControllers(),this.xDamper.setDecayTime(lbe),this.yDamper.setDecayTime(lbe),this.zDamper.setDecayTime(lbe),this.yawDamper.setDecayTime(lbe),this.pitchDamper.setDecayTime(lbe),this.rollDamper.setDecayTime(lbe)),this.currentSession=n,this.placementBox=new ofe(e,this.placeOnWall?"back":"bottom"),this.placementComplete=!1,this.lastTick=performance.now(),this.dispatchEvent({type:"status",status:ube})}setupControllers(){this.controller1=this.threeRenderer.xr.getController(0),this.controller1.addEventListener("selectstart",this.onControllerSelectStart),this.controller1.addEventListener("selectend",this.onControllerSelectEnd),this.controller2=this.threeRenderer.xr.getController(1),this.controller2.addEventListener("selectstart",this.onControllerSelectStart),this.controller2.addEventListener("selectend",this.onControllerSelectEnd);const e=this.presentedScene;if(e.add(this.controller1),e.add(this.controller2),!this.controller1.userData.line){const t=new As(ybe);t.name="line",t.scale.z=5,this.controller1.userData.turning=!1,this.controller1.userData.line=t,this.controller1.add(t),this.controller2.userData.turning=!1;const r=t.clone();this.controller2.userData.line=r,this.controller2.add(r),this.scaleLine.name="scale line",this.scaleLine.visible=!1,this.controller1.add(this.scaleLine);const{size:n}=e,i=.1/Math.max(n.x,n.y,n.z),o=new Yi($be);o.name="box",o.scale.copy(n).multiplyScalar(i),o.visible=!1,this.controller1.userData.box=o,e.add(o);const s=o.clone();this.controller2.userData.box=s,e.add(s)}}hover(e){if("screen-space"===this.xrMode||this.selectedController==e)return!1;const t=this.presentedScene,r=this.placementBox.controllerIntersection(t,e);return e.userData.box.visible=(null==r||e.userData.turning)&&!this.isTwoFingering,e.userData.line.scale.z=null==r?5:r.distance,null!=r}controllerSeparation(){return this.controller1.position.distanceTo(this.controller2.position)}async stopPresenting(){if(!this.isPresenting)return;const e=new Promise(e=>{this.resolveCleanup=e});try{await this.currentSession.end(),await e}catch(e){console.warn("Error while trying to end WebXR AR session"),console.warn(e),this.postSessionCleanup()}}get isPresenting(){return null!=this.presentedScene}get target(){return this.oldTarget}updateTarget(){const e=this.presentedScene;if(null!=e){const t=e.getTarget();this.oldTarget.copy(t),this.placeOnWall?t.z=e.boundingBox.min.z:t.y=e.boundingBox.min.y,e.setTarget(t.x,t.y,t.z)}}postSessionCleanup(){const e=this.currentSession;null!=e&&(e.removeEventListener("selectstart",this.onSelectStart),e.removeEventListener("selectend",this.onSelectEnd),this.currentSession=null);const t=this.presentedScene;if(this._presentedScene=null,null!=t){const{element:e}=t;null!=this.xrLight&&(t.remove(this.xrLight),this.xrLight.dispose(),this.xrLight=null),t.add(t.pivot),t.pivot.quaternion.set(0,0,0,1),t.pivot.position.set(0,0,0),t.pivot.scale.set(1,1,1),t.setShadowOffset(0);const r=this.turntableRotation;null!=r&&(t.yaw=r);const n=this.oldShadowIntensity;null!=n&&t.setShadowIntensity(n),t.setEnvironmentAndSkybox(e[$ge],e[xge]);const i=this.oldTarget;t.setTarget(i.x,i.y,i.z),t.xrCamera=null,t.element.removeEventListener("load",this.onUpdateScene),t.orientHotspots(0);const{width:o,height:s}=e.getBoundingClientRect();t.setSize(o,s),requestAnimationFrame(()=>{t.element.dispatchEvent(new CustomEvent("camera-change",{detail:{source:sbe.NONE}}))})}this.renderer.height=0;const r=this.exitWebXRButtonContainer;null!=r&&(r.classList.remove("enabled"),r.removeEventListener("click",this.onExitWebXRButtonContainerClick),this.exitWebXRButtonContainer=null);const n=this.transientHitTestSource;null!=n&&(n.cancel(),this.transientHitTestSource=null);const i=this.initialHitSource;null!=i&&(i.cancel(),this.initialHitSource=null),null!=this.placementBox&&(this.placementBox.dispose(),this.placementBox=null),"screen-space"!==this.xrMode&&(null!=this.controller1&&(this.controller1.userData.turning=!1,this.controller1.userData.box.visible=!1,this.controller1.userData.line.visible=!0,this.controller1.removeEventListener("selectstart",this.onControllerSelectStart),this.controller1.removeEventListener("selectend",this.onControllerSelectEnd),this.controller1.removeFromParent(),this.controller1=null),null!=this.controller2&&(this.controller2.userData.turning=!1,this.controller2.userData.box.visible=!1,this.controller2.userData.line.visible=!0,this.controller2.removeEventListener("selectstart",this.onControllerSelectStart),this.controller2.removeEventListener("selectend",this.onControllerSelectEnd),this.controller2.removeFromParent(),this.controller2=null),this.selectedController=null,this.scaleLine.visible=!1),this.isTranslating=!1,this.isRotating=!1,this.isTwoFingering=!1,this.lastTick=null,this.turntableRotation=null,this.oldShadowIntensity=null,this.frame=null,this.inputSource=null,this.overlay=null,null!=this.resolveCleanup&&this.resolveCleanup(),this.dispatchEvent({type:"status",status:cbe})}updateView(e){const t=this.presentedScene,r=this.threeRenderer.xr;r.updateCamera(bbe),t.xrCamera=r.getCamera();const{elements:n}=t.getCamera().matrixWorld;if(t.orientHotspots(Math.atan2(n[1],n[5])),this.initialized||(this.placeInitially(),this.initialized=!0),e.requestViewportScale&&e.recommendedViewportScale){const t=e.recommendedViewportScale;e.requestViewportScale(Math.max(t,.25))}const i=r.getBaseLayer();if(null!=i){const t=i instanceof XRWebGLLayer?i.getViewport(e):r.getBinding().getViewSubImage(i,e).viewport;this.threeRenderer.setViewport(t.x,t.y,t.width,t.height)}}placeInitially(){const e=this.presentedScene,{pivot:t,element:r}=e,{position:n}=t,i=e.getCamera(),{width:o,height:s}=this.overlay.getBoundingClientRect();e.setSize(o,s),i.projectionMatrixInverse.copy(i.projectionMatrix).invert();const{theta:a}=r.getCameraOrbit(),l=i.getWorldDirection(_be);e.yaw=Math.atan2(-l.x,-l.z)-a,this.goalYaw=e.yaw;const c=Math.max(1,2*e.boundingSphere.radius);n.copy(i.position).add(l.multiplyScalar(c)),this.updateTarget();const u=e.getTarget();if(n.add(u).sub(this.oldTarget),this.goalPosition.copy(n),e.setHotspotsVisibility(!0),"screen-space"===this.xrMode){const{session:e}=this.frame;e.addEventListener("selectstart",this.onSelectStart),e.addEventListener("selectend",this.onSelectEnd),e.requestHitTestSourceForTransientInput({profile:"generic-touchscreen"}).then(e=>{this.transientHitTestSource=e})}}getTouchLocation(){const{axes:e}=this.inputSource.gamepad;let t=this.placementBox.getExpandedHit(this.presentedScene,e[0],e[1]);return null!=t&&(_be.copy(t).sub(this.presentedScene.getCamera().position),_be.length()>10)?null:t}getHitPoint(e){const t=this.threeRenderer.xr.getReferenceSpace(),r=e.getPose(t);if(null==r)return null;const n=fbe.fromArray(r.transform.matrix);return!0===this.placeOnWall&&(this.goalYaw=Math.atan2(n.elements[4],n.elements[6])),n.elements[5]>.75!==this.placeOnWall?vbe.setFromMatrixPosition(n):null}moveToFloor(e){const t=this.initialHitSource;if(null==t)return;const r=e.getHitTestResults(t);if(0==r.length)return;const n=r[0],i=this.getHitPoint(n);null!=i&&(this.placementBox.show=!0,this.isTranslating||(this.placeOnWall?this.goalPosition.copy(i):this.goalPosition.y=i.y),t.cancel(),this.initialHitSource=null,this.dispatchEvent({type:"status",status:dbe}))}fingerPolar(e){const t=e[0].inputSource.gamepad.axes,r=e[1].inputSource.gamepad.axes,n=r[0]-t[0],i=r[1]-t[1],o=Math.atan2(i,n);let s=this.lastAngle-o;return s>Math.PI?s-=2*Math.PI:s<-Math.PI&&(s+=2*Math.PI),this.lastAngle=o,{separation:Math.sqrt(n*n+i*i),deltaYaw:s}}setScale(e){const t=e/this.firstRatio;this.goalScale=Math.abs(t-1)<.2?1:t}processInput(e){const t=this.transientHitTestSource;if(null==t)return;if(!this.isTranslating&&!this.isTwoFingering&&!this.isRotating)return;const r=e.getHitTestResultsForTransientInput(t),n=this.presentedScene,i=n.pivot.scale.x;if(this.isTwoFingering)if(r.length<2)this.isTwoFingering=!1;else{const{separation:e,deltaYaw:t}=this.fingerPolar(r);!1===this.placeOnWall&&(this.goalYaw+=t),n.canScale&&this.setScale(e)}else{if(2===r.length){this.isTranslating=!1,this.isRotating=!1,this.isTwoFingering=!0;const{separation:e}=this.fingerPolar(r);return void(this.firstRatio=e/i)}if(this.isRotating){const e=1.5*this.inputSource.gamepad.axes[0];this.goalYaw+=e-this.lastAngle,this.lastAngle=e}else this.isTranslating&&r.forEach(e=>{if(e.inputSource!==this.inputSource)return;let t=null;if(e.results.length>0&&(t=this.getHitPoint(e.results[0])),null==t&&(t=this.getTouchLocation()),null!=t){if(this.goalPosition.sub(this.lastDragPosition),!1===this.placeOnWall){const e=t.y-this.lastDragPosition.y;if(e<0){this.placementBox.offsetHeight=e/i,this.presentedScene.setShadowOffset(e);const r=_be.copy(n.getCamera().position),o=-e/(r.y-t.y);r.multiplyScalar(o),t.multiplyScalar(1-o).add(r)}}this.goalPosition.add(t),this.lastDragPosition.copy(t)}})}}moveScene(e){const t=this.presentedScene,{pivot:r}=t,n=this.placementBox;if(n.updateOpacity(e),this.controller1&&(this.controller1.userData.turning&&(r.quaternion.copy(this.controller1.quaternion).multiply(this.relativeOrientation),this.selectedController&&this.selectedController===this.controller2&&r.quaternion.premultiply(gbe.copy(this.controller2.quaternion).invert())),this.controller1.userData.box.position.copy(this.controller1.position),r.getWorldQuaternion(this.controller1.userData.box.quaternion)),this.controller2&&(this.controller2.userData.turning&&(r.quaternion.copy(this.controller2.quaternion).multiply(this.relativeOrientation),this.selectedController&&this.selectedController===this.controller1&&r.quaternion.premultiply(gbe.copy(this.controller1.quaternion).invert())),this.controller2.userData.box.position.copy(this.controller2.position),r.getWorldQuaternion(this.controller2.userData.box.quaternion)),this.controller1&&this.controller2&&this.isTwoFingering){const e=this.controllerSeparation();this.setScale(e),this.scaleLine.scale.z=-e,this.scaleLine.lookAt(this.controller2.position)}const i=t.pivot.scale.x;if(this.goalScale!==i){const r=this.scaleDamper.update(i,this.goalScale,e,1);t.pivot.scale.set(r,r,r)}if(r.parent!==t)return;const{position:o}=r,s=t.boundingSphere.radius,a=this.goalPosition;let l=sbe.NONE;if(!a.equals(o)){l=sbe.USER_INTERACTION;let{x:r,y:i,z:c}=o;if(r=this.xDamper.update(r,a.x,e,s),i=this.yDamper.update(i,a.y,e,s),c=this.zDamper.update(c,a.z,e,s),o.set(r,i,c),"screen-space"===this.xrMode&&!this.isTranslating){const e=a.y-i;this.placementComplete&&!1===this.placeOnWall?(n.offsetHeight=e/t.pivot.scale.x,t.setShadowOffset(e)):0===e&&(this.placementComplete=!0,n.show=!1,t.setShadowIntensity(.8))}"screen-space"!==this.xrMode&&a.equals(o)&&t.setShadowIntensity(.8)}t.updateTarget(e),gbe.setFromAxisAngle(_be.set(0,1,0),this.goalYaw);const c=t.pivot.quaternion.angleTo(gbe),u=c-this.yawDamper.update(c,0,e,Math.PI);t.pivot.quaternion.rotateTowards(gbe,u),t.element.dispatchEvent(new CustomEvent("camera-change",{detail:{source:l}}))}onWebXRFrame(e,t){if("screen-space"!==this.xrMode){const e=this.hover(this.controller1),t=this.hover(this.controller2);this.placementBox.show=(e||t)&&!this.isTwoFingering}this.frame=t,++this.frames;const r=this.threeRenderer.xr.getReferenceSpace(),n=t.getViewerPose(r);null==n&&!0===this.tracking&&this.frames>30&&(this.tracking=!1,this.dispatchEvent({type:"tracking",status:mbe}));const i=this.presentedScene;if(null==n||null==i||!i.element.loaded)return void this.threeRenderer.clear();!1===this.tracking&&(this.tracking=!0,this.dispatchEvent({type:"tracking",status:pbe}));let o=!0;for(const r of n.views){if(this.updateView(r),o){this.moveToFloor(t),this.processInput(t);const r=e-this.lastTick;this.moveScene(r),this.renderer.preRender(i,e,r),this.lastTick=e,i.renderShadow(this.threeRenderer)}this.threeRenderer.render(i,i.getCamera()),o=!1}}}
+/* @license
+ * Copyright 2020 Google LLC. All Rights Reserved.
+ * Licensed under the Apache License, Version 2.0 (the 'License');
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an 'AS IS' BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+const Sbe=Symbol("prepared"),wbe=Symbol("prepare"),Abe=Symbol("preparedGLTF"),Cbe=Symbol("clone");class Ebe{static prepare(e){if(null==e.scene)throw new Error("Model does not have a scene");if(e[Sbe])return e;const t=this[wbe](e);return t[Sbe]=!0,t}static[wbe](e){const{scene:t}=e,r=[t];return Object.assign(Object.assign({},e),{scene:t,scenes:r})}get parser(){return this[Abe].parser}get animations(){return this[Abe].animations}get scene(){return this[Abe].scene}get scenes(){return this[Abe].scenes}get cameras(){return this[Abe].cameras}get asset(){return this[Abe].asset}get userData(){return this[Abe].userData}constructor(e){this[Abe]=e}clone(){return new(0,this.constructor)(this[Cbe]())}dispose(){this.scenes.forEach(e=>{e.traverse(e=>{const t=e;if(!t.material)return;(Array.isArray(t.material)?t.material:[t.material]).forEach(e=>{for(const t in e){const r=e[t];if(r instanceof zr){const e=r.source.data;null!=e.close&&e.close(),r.dispose()}}e.dispose()}),t.geometry.dispose()})})}[Cbe](){const e=this[Abe],t=vE(this.scene);Ibe(t,this.scene);const r=[t],n=e.userData?Object.assign({},e.userData):{};return Object.assign(Object.assign({},e),{scene:t,scenes:r,userData:n})}}const Ibe=(e,t)=>{Mbe(e,t,(e,t)=>{void 0!==t.userData.variantMaterials&&(e.userData.variantMaterials=new Map(t.userData.variantMaterials)),void 0!==t.userData.variantData&&(e.userData.variantData=t.userData.variantData),void 0!==t.userData.originalMaterial&&(e.userData.originalMaterial=t.userData.originalMaterial)})},Mbe=(e,t,r)=>{r(e,t);for(let n=0;n<e.children.length;n++)Mbe(e.children[n],t.children[n],r)},kbe=Symbol("threeGLTF"),Tbe=Symbol("gltf"),Rbe=Symbol("gltfElementMap"),Lbe=Symbol("threeObjectMap"),Pbe=Symbol("parallelTraverseThreeScene"),Dbe=Symbol("correlateOriginalThreeGLTF"),Nbe=Symbol("correlateCloneThreeGLTF");class Fbe{static from(e,t){return null!=t?this[Nbe](e,t):this[Dbe](e)}static[Dbe](e){const t=e.parser.json,r=e.parser.associations,n=new Map,i={name:"Default"},o={type:"materials",index:-1};for(const e of r.keys())e instanceof fi&&null==r.get(e)&&(o.index<0&&(null==t.materials&&(t.materials=[]),o.index=t.materials.length,t.materials.push(i)),e.name=i.name,r.set(e,{materials:o.index}));for(const[e,i]of r){i&&(e.userData=e.userData||{},e.userData.associations=i);for(const r in i)if(null!=r&&"primitives"!==r){const o=r,s=(t[o]||[])[i[o]];if(null==s)continue;let a=n.get(s);null==a&&(a=new Set,n.set(s,a)),a.add(e)}}return new Fbe(e,t,r,n)}static[Nbe](e,t){const r=t.threeGLTF,n=t.gltf,i=JSON.parse(JSON.stringify(n)),o=new Map,s=new Map;for(let n=0;n<r.scenes.length;n++)this[Pbe](r.scenes[n],e.scenes[n],(e,r)=>{const n=t.threeObjectMap.get(e);if(null!=n)for(const e in n)if(null!=e&&"primitives"!==e){const t=e,a=n[t],l=i[t][a],c=o.get(r)||{};c[t]=a,o.set(r,c);const u=s.get(l)||new Set;u.add(r),s.set(l,u)}});return new Fbe(e,i,o,s)}static[Pbe](e,t,r){const n=(e,t)=>{if(r(e,t),e.isObject3D){const i=e,o=t;if(i.material)if(Array.isArray(i.material))for(let e=0;e<i.material.length;++e)r(i.material[e],o.material[e]);else r(i.material,o.material);for(let r=0;r<e.children.length;++r)n(e.children[r],t.children[r])}};n(e,t)}get threeGLTF(){return this[kbe]}get gltf(){return this[Tbe]}get gltfElementMap(){return this[Rbe]}get threeObjectMap(){return this[Lbe]}constructor(e,t,r,n){this[kbe]=e,this[Tbe]=t,this[Rbe]=n,this[Lbe]=r}}
+/* @license
+ * Copyright 2020 Google LLC. All Rights Reserved.
+ * Licensed under the Apache License, Version 2.0 (the 'License');
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an 'AS IS' BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+const Obe=Symbol("correlatedSceneGraph");class Bbe extends Ebe{static[wbe](e){const t=super[wbe](e);null==t[Obe]&&(t[Obe]=Fbe.from(t));const{scene:r}=t,n=new pn(void 0,1/0);return r.traverse(e=>{e.renderOrder=1e3,e.frustumCulled=!1,e.name||(e.name=e.uuid);const r=e;if(r.material){const{geometry:e}=r;r.castShadow=!0,r.isSkinnedMesh&&(e.boundingSphere=n,e.boundingBox=null);const i=r.material;if(!0===i.isMeshBasicMaterial&&(i.toneMapped=!1),i.shadowSide=0,i.aoMap){const{gltf:r,threeObjectMap:n}=t[Obe],o=n.get(i);if(null!=r.materials&&null!=o&&null!=o.materials){const t=r.materials[o.materials];t.occlusionTexture&&0===t.occlusionTexture.texCoord&&null!=e.attributes.uv&&e.setAttribute("uv2",e.attributes.uv)}}}}),t}get correlatedSceneGraph(){return this[Abe][Obe]}[Cbe](){const e=super[Cbe](),t=new Map;return e.scene.traverse(e=>{const r=e;if(r.material){const e=r.material;if(null!=e){if(t.has(e.uuid))return void(r.material=t.get(e.uuid));r.material=e.clone(),t.set(e.uuid,r.material)}}const n=e;void 0!==n.target&&n.add(n.target)}),e[Obe]=Fbe.from(e,this.correlatedSceneGraph),e}}const Ube=(e,t,r)=>{let n;switch(e){case ke:n=new Uint8ClampedArray(t*r*4);break;case Fe:n=new Uint16Array(t*r*4);break;case De:n=new Uint32Array(t*r*4);break;case Te:n=new Int8Array(t*r*4);break;case Re:n=new Int16Array(t*r*4);break;case Pe:n=new Int32Array(t*r*4);break;case Ne:n=new Float32Array(t*r*4);break;default:throw new Error("Unsupported data type")}return n};let Vbe;class zbe{_renderer;_rendererIsDisposable=!1;_material;_scene;_camera;_quad;_renderTarget;_width;_height;_type;_colorSpace;_supportsReadPixels=!0;constructor(e){this._width=e.width,this._height=e.height,this._type=e.type,this._colorSpace=e.colorSpace;const t={format:Ge,depthBuffer:!1,stencilBuffer:!1,type:this._type,colorSpace:this._colorSpace,anisotropy:void 0!==e.renderTargetOptions?.anisotropy?e.renderTargetOptions?.anisotropy:1,generateMipmaps:void 0!==e.renderTargetOptions?.generateMipmaps&&e.renderTargetOptions?.generateMipmaps,magFilter:void 0!==e.renderTargetOptions?.magFilter?e.renderTargetOptions?.magFilter:Ce,minFilter:void 0!==e.renderTargetOptions?.minFilter?e.renderTargetOptions?.minFilter:Ce,samples:void 0!==e.renderTargetOptions?.samples?e.renderTargetOptions?.samples:void 0,wrapS:void 0!==e.renderTargetOptions?.wrapS?e.renderTargetOptions?.wrapS:$e,wrapT:void 0!==e.renderTargetOptions?.wrapT?e.renderTargetOptions?.wrapT:$e};if(this._material=e.material,e.renderer?this._renderer=e.renderer:(this._renderer=zbe.instantiateRenderer(),this._rendererIsDisposable=!0),this._scene=new bo,this._camera=new nc,this._camera.position.set(0,0,10),this._camera.left=-.5,this._camera.right=.5,this._camera.top=.5,this._camera.bottom=-.5,this._camera.updateProjectionMatrix(),!((e,t,r,n)=>{if(void 0!==Vbe)return Vbe;const i=new jr(1,1,n);t.setRenderTarget(i);const o=new Yi(new Ka,new vi({color:16777215}));t.render(o,r),t.setRenderTarget(null);const s=Ube(e,i.width,i.height);return t.readRenderTargetPixels(i,0,0,i.width,i.height,s),i.dispose(),o.geometry.dispose(),o.material.dispose(),Vbe=0!==s[0],Vbe})(this._type,this._renderer,this._camera,t)){let e;if(this._type===Fe)e=this._renderer.extensions.has("EXT_color_buffer_float")?Ne:void 0;void 0!==e?(console.warn(`This browser does not support reading pixels from ${this._type} RenderTargets, switching to 1015`),this._type=e):(this._supportsReadPixels=!1,console.warn("This browser dos not support toArray or toDataTexture, calls to those methods will result in an error thrown"))}this._quad=new Yi(new Ka,this._material),this._quad.geometry.computeBoundingBox(),this._scene.add(this._quad),this._renderTarget=new jr(this.width,this.height,t),this._renderTarget.texture.mapping=void 0!==e.renderTargetOptions?.mapping?e.renderTargetOptions?.mapping:me}static instantiateRenderer(){const e=new bp;return e.setSize(128,128),e}render=()=>{this._renderer.setRenderTarget(this._renderTarget);try{this._renderer.render(this._scene,this._camera)}catch(e){throw this._renderer.setRenderTarget(null),e}this._renderer.setRenderTarget(null)};toArray(){if(!this._supportsReadPixels)throw new Error("Can't read pixels in this browser");const e=Ube(this._type,this._width,this._height);return this._renderer.readRenderTargetPixels(this._renderTarget,0,0,this._width,this._height,e),e}toDataTexture(e){const t=new Yo(this.toArray(),this.width,this.height,Ge,this._type,e?.mapping||me,e?.wrapS||$e,e?.wrapT||$e,e?.magFilter||Ce,e?.minFilter||Ce,e?.anisotropy||1,Ht);return t.generateMipmaps=void 0!==e?.generateMipmaps&&e?.generateMipmaps,t}disposeOnDemandRenderer(){this._renderer.setRenderTarget(null),this._rendererIsDisposable&&(this._renderer.dispose(),this._renderer.forceContextLoss())}dispose(e){this.disposeOnDemandRenderer(),e&&this.renderTarget.dispose(),this.material instanceof no&&Object.values(this.material.uniforms).forEach(e=>{e.value instanceof zr&&e.value.dispose()}),Object.values(this.material).forEach(e=>{e instanceof zr&&e.dispose()}),this.material.dispose(),this._quad.geometry.dispose()}get width(){return this._width}set width(e){this._width=e,this._renderTarget.setSize(this._width,this._height)}get height(){return this._height}set height(e){this._height=e,this._renderTarget.setSize(this._width,this._height)}get renderer(){return this._renderer}get renderTarget(){return this._renderTarget}set renderTarget(e){this._renderTarget=e,this._width=e.width,this._height=e.height}get material(){return this._material}get type(){return this._type}get colorSpace(){return this._colorSpace}}class Hbe extends Error{}class Gbe extends Error{}const jbe=(e,t,r)=>{const n=new RegExp(`${t}="([^"]*)"`,"i").exec(e);if(n)return n[1];const i=new RegExp(`<${t}[^>]*>([\\s\\S]*?)</${t}>`,"i").exec(e);if(i){const e=i[1].match(/<rdf:li>([^<]*)<\/rdf:li>/g);return e&&3===e.length?e.map(e=>e.replace(/<\/?rdf:li>/g,"")):i[1].trim()}if(void 0!==r)return r;throw new Error(`Can't find ${t} in gainmap metadata`)};class Jbe{options;constructor(e){this.options={debug:!(!e||void 0===e.debug)&&e.debug,extractFII:!e||void 0===e.extractFII||e.extractFII,extractNonFII:!e||void 0===e.extractNonFII||e.extractNonFII}}extract(e){return new Promise((t,r)=>{const n=this.options.debug,i=new DataView(e.buffer);if(65496!==i.getUint16(0))return void r(new Error("Not a valid jpeg"));const o=i.byteLength;let s,a=2,l=0;for(;a<o;){if(++l>250)return void r(new Error(`Found no marker after ${l} loops 😵`));if(255!==i.getUint8(a))return void r(new Error(`Not a valid marker at offset 0x${a.toString(16)}, found: 0x${i.getUint8(a).toString(16)}`));if(s=i.getUint8(a+1),n&&console.log(`Marker: ${s.toString(16)}`),226===s){n&&console.log("Found APP2 marker (0xffe2)");const e=a+4;if(1297106432===i.getUint32(e)){const n=e+4;let o;if(18761===i.getUint16(n))o=!1;else{if(19789!==i.getUint16(n))return void r(new Error("No valid endianness marker found in TIFF header"));o=!0}if(42!==i.getUint16(n+2,!o))return void r(new Error("Not valid TIFF data! (no 0x002A marker)"));const s=i.getUint32(n+4,!o);if(s<8)return void r(new Error("Not valid TIFF data! (First offset less than 8)"));const a=n+s,l=i.getUint16(a,!o),c=a+2;let u=0;for(let e=c;e<c+12*l;e+=12)45057===i.getUint16(e,!o)&&(u=i.getUint32(e+8,!o));const d=a+2+12*l+4,h=[];for(let e=d;e<d+16*u;e+=16){const t={MPType:i.getUint32(e,!o),size:i.getUint32(e+4,!o),dataOffset:i.getUint32(e+8,!o),dependantImages:i.getUint32(e+12,!o),start:-1,end:-1,isFII:!1};t.dataOffset?(t.start=n+t.dataOffset,t.isFII=!1):(t.start=0,t.isFII=!0),t.end=t.start+t.size,h.push(t)}if(this.options.extractNonFII&&h.length){const e=new Blob([i]),r=[];for(const t of h){if(t.isFII&&!this.options.extractFII)continue;const n=e.slice(t.start,t.end+1,"image/jpeg");r.push(n)}t(r)}}}a+=2+i.getUint16(a+2)}})}}const Wbe=async e=>{const t=(e=>{let t;t="undefined"!=typeof TextDecoder?(new TextDecoder).decode(e):e.toString();let r=t.indexOf("<x:xmpmeta");for(;-1!==r;){const e=t.indexOf("x:xmpmeta>",r),n=t.slice(r,e+10);try{const e=jbe(n,"hdrgm:GainMapMin","0"),t=jbe(n,"hdrgm:GainMapMax"),r=jbe(n,"hdrgm:Gamma","1"),i=jbe(n,"hdrgm:OffsetSDR","0.015625"),o=jbe(n,"hdrgm:OffsetHDR","0.015625"),s=/hdrgm:HDRCapacityMin="([^"]*)"/.exec(n),a=s?s[1]:"0",l=/hdrgm:HDRCapacityMax="([^"]*)"/.exec(n);if(!l)throw new Error("Incomplete gainmap metadata");const c=l[1];return{gainMapMin:Array.isArray(e)?e.map(e=>parseFloat(e)):[parseFloat(e),parseFloat(e),parseFloat(e)],gainMapMax:Array.isArray(t)?t.map(e=>parseFloat(e)):[parseFloat(t),parseFloat(t),parseFloat(t)],gamma:Array.isArray(r)?r.map(e=>parseFloat(e)):[parseFloat(r),parseFloat(r),parseFloat(r)],offsetSdr:Array.isArray(i)?i.map(e=>parseFloat(e)):[parseFloat(i),parseFloat(i),parseFloat(i)],offsetHdr:Array.isArray(o)?o.map(e=>parseFloat(e)):[parseFloat(o),parseFloat(o),parseFloat(o)],hdrCapacityMin:parseFloat(a),hdrCapacityMax:parseFloat(c)}}catch(e){}r=t.indexOf("<x:xmpmeta",e)}})(e);if(!t)throw new Gbe("Gain map XMP metadata not found");const r=new Jbe({extractFII:!0,extractNonFII:!0}),n=await r.extract(e);if(2!==n.length)throw new Hbe("Gain map recovery image not found");return{sdr:new Uint8Array(await n[0].arrayBuffer()),gainMap:new Uint8Array(await n[1].arrayBuffer()),metadata:t}},Qbe=e=>new Promise((t,r)=>{const n=document.createElement("img");n.onload=()=>{t(n)},n.onerror=e=>{r(e)},n.src=URL.createObjectURL(e)});class qbe extends Pl{_renderer;_renderTargetOptions;_internalLoadingManager;_config;constructor(e,t){super(t),this._config=e,e.renderer&&(this._renderer=e.renderer),this._internalLoadingManager=new Rl}setRenderer(e){return this._renderer=e,this}setRenderTargetOptions(e){return this._renderTargetOptions=e,this}prepareQuadRenderer(){this._renderer||console.warn("WARNING: A Renderer was not passed to this Loader constructor or in setRenderer, the result of this Loader will need to be converted to a Data Texture with toDataTexture() before you can use it in your renderer.");const e=this._config.createMaterial({gainMapMax:[1,1,1],gainMapMin:[0,0,0],gamma:[1,1,1],offsetHdr:[1,1,1],offsetSdr:[1,1,1],hdrCapacityMax:1,hdrCapacityMin:0,maxDisplayBoost:1,gainMap:new zr,sdr:new zr});return this._config.createQuadRenderer({width:16,height:16,type:Fe,colorSpace:Ht,material:e,renderer:this._renderer,renderTargetOptions:this._renderTargetOptions})}async processImages(e,t,r){const n=t?new Blob([t],{type:"image/jpeg"}):void 0,i=new Blob([e],{type:"image/jpeg"});let o,s,a=!1;if("undefined"==typeof createImageBitmap){const e=await Promise.all([n?Qbe(n):Promise.resolve(void 0),Qbe(i)]);s=e[0],o=e[1],a="flipY"===r}else{const e=await Promise.all([n?createImageBitmap(n,{imageOrientation:r||"flipY"}):Promise.resolve(void 0),createImageBitmap(i,{imageOrientation:r||"flipY"})]);s=e[0],o=e[1]}return{sdrImage:o,gainMapImage:s,needsFlip:a}}createTextures(e,t,r){const n=new zr(t||new ImageData(2,2),me,$e,$e,Ce,Me,Ge,ke,1,Ht);n.flipY=r,n.needsUpdate=!0;const i=new zr(e,me,$e,$e,Ce,Me,Ge,ke,1,zt);return i.flipY=r,i.needsUpdate=!0,{gainMap:n,sdr:i}}updateQuadRenderer(e,t,r,n,i){e.width=t.width,e.height=t.height,e.material.gainMap=r,e.material.sdr=n,e.material.gainMapMin=i.gainMapMin,e.material.gainMapMax=i.gainMapMax,e.material.offsetHdr=i.offsetHdr,e.material.offsetSdr=i.offsetSdr,e.material.gamma=i.gamma,e.material.hdrCapacityMin=i.hdrCapacityMin,e.material.hdrCapacityMax=i.hdrCapacityMax,e.material.maxDisplayBoost=Math.pow(2,i.hdrCapacityMax),e.material.needsUpdate=!0}}class Ybe extends no{_maxDisplayBoost;_hdrCapacityMin;_hdrCapacityMax;constructor({gamma:e,offsetHdr:t,offsetSdr:r,gainMapMin:n,gainMapMax:i,maxDisplayBoost:o,hdrCapacityMin:s,hdrCapacityMax:a,sdr:l,gainMap:c}){super({name:"GainMapDecoderMaterial",vertexShader:"\nvarying vec2 vUv;\n\nvoid main() {\n  vUv = uv;\n  gl_Position = projectionMatrix * modelViewMatrix * vec4(position, 1.0);\n}\n",fragmentShader:"\n// min half float value\n#define HALF_FLOAT_MIN vec3( -65504, -65504, -65504 )\n// max half float value\n#define HALF_FLOAT_MAX vec3( 65504, 65504, 65504 )\n\nuniform sampler2D sdr;\nuniform sampler2D gainMap;\nuniform vec3 gamma;\nuniform vec3 offsetHdr;\nuniform vec3 offsetSdr;\nuniform vec3 gainMapMin;\nuniform vec3 gainMapMax;\nuniform float weightFactor;\n\nvarying vec2 vUv;\n\nvoid main() {\n  vec3 rgb = texture2D( sdr, vUv ).rgb;\n  vec3 recovery = texture2D( gainMap, vUv ).rgb;\n  vec3 logRecovery = pow( recovery, gamma );\n  vec3 logBoost = gainMapMin * ( 1.0 - logRecovery ) + gainMapMax * logRecovery;\n  vec3 hdrColor = (rgb + offsetSdr) * exp2( logBoost * weightFactor ) - offsetHdr;\n  vec3 clampedHdrColor = max( HALF_FLOAT_MIN, min( HALF_FLOAT_MAX, hdrColor ));\n  gl_FragColor = vec4( clampedHdrColor , 1.0 );\n}\n",uniforms:{sdr:{value:l},gainMap:{value:c},gamma:{value:new br(1/e[0],1/e[1],1/e[2])},offsetHdr:{value:(new br).fromArray(t)},offsetSdr:{value:(new br).fromArray(r)},gainMapMin:{value:(new br).fromArray(n)},gainMapMax:{value:(new br).fromArray(i)},weightFactor:{value:(Math.log2(o)-s)/(a-s)}},blending:0,depthTest:!1,depthWrite:!1}),this._maxDisplayBoost=o,this._hdrCapacityMin=s,this._hdrCapacityMax=a,this.needsUpdate=!0,this.uniformsNeedUpdate=!0}get sdr(){return this.uniforms.sdr.value}set sdr(e){this.uniforms.sdr.value=e}get gainMap(){return this.uniforms.gainMap.value}set gainMap(e){this.uniforms.gainMap.value=e}get offsetHdr(){return this.uniforms.offsetHdr.value.toArray()}set offsetHdr(e){this.uniforms.offsetHdr.value.fromArray(e)}get offsetSdr(){return this.uniforms.offsetSdr.value.toArray()}set offsetSdr(e){this.uniforms.offsetSdr.value.fromArray(e)}get gainMapMin(){return this.uniforms.gainMapMin.value.toArray()}set gainMapMin(e){this.uniforms.gainMapMin.value.fromArray(e)}get gainMapMax(){return this.uniforms.gainMapMax.value.toArray()}set gainMapMax(e){this.uniforms.gainMapMax.value.fromArray(e)}get gamma(){const e=this.uniforms.gamma.value;return[1/e.x,1/e.y,1/e.z]}set gamma(e){const t=this.uniforms.gamma.value;t.x=1/e[0],t.y=1/e[1],t.z=1/e[2]}get hdrCapacityMin(){return this._hdrCapacityMin}set hdrCapacityMin(e){this._hdrCapacityMin=e,this.calculateWeight()}get hdrCapacityMax(){return this._hdrCapacityMax}set hdrCapacityMax(e){this._hdrCapacityMax=e,this.calculateWeight()}get maxDisplayBoost(){return this._maxDisplayBoost}set maxDisplayBoost(e){this._maxDisplayBoost=Math.max(1,Math.min(65504,e)),this.calculateWeight()}calculateWeight(){const e=(Math.log2(this._maxDisplayBoost)-this._hdrCapacityMin)/(this._hdrCapacityMax-this._hdrCapacityMin);this.uniforms.weightFactor.value=Math.max(0,Math.min(1,e))}}class Xbe extends qbe{constructor(e,t){super({renderer:e,createMaterial:e=>new Ybe(e),createQuadRenderer:e=>new zbe(e)},t)}async render(e,t,r,n){const{sdrImage:i,gainMapImage:o,needsFlip:s}=await this.processImages(r,n,"flipY"),{gainMap:a,sdr:l}=this.createTextures(i,o,s);this.updateQuadRenderer(e,i,a,l,t),e.render()}}class Kbe extends Xbe{load(e,t,r,n){const i=this.prepareQuadRenderer(),o=new Fl(this._internalLoadingManager);return o.setResponseType("arraybuffer"),o.setRequestHeader(this.requestHeader),o.setPath(this.path),o.setWithCredentials(this.withCredentials),this.manager.itemStart(e),o.load(e,async r=>{if("string"==typeof r)throw new Error("Invalid buffer, received [string], was expecting [ArrayBuffer]");const o=new Uint8Array(r);let s,a,l;try{const e=await Wbe(o);s=e.sdr,a=e.gainMap,l=e.metadata}catch(t){if(!(t instanceof Gbe||t instanceof Hbe))throw t;console.warn(`Failure to reconstruct an HDR image from ${e}: Gain map metadata not found in the file, HDRJPGLoader will render the SDR jpeg`),l={gainMapMin:[0,0,0],gainMapMax:[1,1,1],gamma:[1,1,1],hdrCapacityMin:0,hdrCapacityMax:1,offsetHdr:[0,0,0],offsetSdr:[0,0,0]},s=o}try{await this.render(i,l,s.buffer,a?.buffer)}catch(t){return this.manager.itemError(e),"function"==typeof n&&n(t),void i.disposeOnDemandRenderer()}"function"==typeof t&&t(i),this.manager.itemEnd(e),i.disposeOnDemandRenderer()},r,t=>{this.manager.itemError(e),"function"==typeof n&&n(t)}),i}}
+/* @license
+ * Copyright 2021 Google LLC. All Rights Reserved.
+ * Licensed under the Apache License, Version 2.0 (the 'License');
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an 'AS IS' BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+const Zbe={topLight:{intensity:500,position:[.418,16.199,.3]},room:{position:[-.757,13.219,.717],scale:[31.713,28.305,28.591]},boxes:[{position:[-10.906,2.009,1.846],rotation:-.195,scale:[2.328,7.905,4.651]},{position:[-5.607,-.754,-.758],rotation:.994,scale:[1.97,1.534,3.955]},{position:[6.167,.857,7.803],rotation:.561,scale:[3.927,6.285,3.687]},{position:[-2.017,.018,6.124],rotation:.333,scale:[2.002,4.566,2.064]},{position:[2.291,-.756,-2.621],rotation:-.286,scale:[1.546,1.552,1.496]},{position:[-2.193,-.369,-5.547],rotation:.516,scale:[3.875,3.487,2.986]}],lights:[{intensity:50,position:[-16.116,14.37,8.208],scale:[.1,2.428,2.739]},{intensity:50,position:[-16.109,18.021,-8.207],scale:[.1,2.425,2.751]},{intensity:17,position:[14.904,12.198,-1.832],scale:[.15,4.265,6.331]},{intensity:43,position:[-.462,8.89,14.52],scale:[4.38,5.441,.088]},{intensity:20,position:[3.235,11.486,-12.541],scale:[2.5,2,.1]},{intensity:100,position:[0,20,0],scale:[1,.1,1]}]},eye={topLight:{intensity:400,position:[.5,14,.5]},room:{position:[0,13.2,0],scale:[31.5,28.5,31.5]},boxes:[{position:[-10.906,-1,1.846],rotation:-.195,scale:[2.328,7.905,4.651]},{position:[-5.607,-.754,-.758],rotation:.994,scale:[1.97,1.534,3.955]},{position:[6.167,-.16,7.803],rotation:.561,scale:[3.927,6.285,3.687]},{position:[-2.017,.018,6.124],rotation:.333,scale:[2.002,4.566,2.064]},{position:[2.291,-.756,-2.621],rotation:-.286,scale:[1.546,1.552,1.496]},{position:[-2.193,-.369,-5.547],rotation:.516,scale:[3.875,3.487,2.986]}],lights:[{intensity:80,position:[-14,10,8],scale:[.1,2.5,2.5]},{intensity:80,position:[-14,14,-4],scale:[.1,2.5,2.5]},{intensity:23,position:[14,12,0],scale:[.1,5,5]},{intensity:16,position:[0,9,14],scale:[5,5,.1]},{intensity:80,position:[7,8,-14],scale:[2.5,2.5,.1]},{intensity:80,position:[-7,16,-14],scale:[2.5,2.5,.1]},{intensity:1,position:[0,20,0],scale:[.1,.1,.1]}]};class tye extends bo{constructor(e){super(),this.position.y=-3.5;const t=new Ki;t.deleteAttribute("uv");const r=new lu({metalness:0,side:1}),n=new lu({metalness:0}),i="legacy"==e?Zbe:eye,o=new rc(16777215,i.topLight.intensity,28,2);o.position.set(...i.topLight.position),this.add(o);const s=new Yi(t,r);s.position.set(...i.room.position),s.scale.set(...i.room.scale),this.add(s);for(const e of i.boxes){const r=new Yi(t,n);r.position.set(...e.position),r.rotation.set(0,e.rotation,0),r.scale.set(...e.scale),this.add(r)}for(const e of i.lights){const r=new Yi(t,this.createAreaLightMaterial(e.intensity));r.position.set(...e.position),r.scale.set(...e.scale),this.add(r)}}createAreaLightMaterial(e){const t=new vi;return t.color.setScalar(e),t}}
+/* @license
+ * Copyright 2019 Google LLC. All Rights Reserved.
+ * Licensed under the Apache License, Version 2.0 (the 'License');
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an 'AS IS' BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+const rye=20,nye=/\.hdr(\.js)?$/;class iye{constructor(e){this.threeRenderer=e,this.lottieLoaderUrl="",this._ldrLoader=null,this._imageLoader=null,this._hdrLoader=null,this._lottieLoader=null,this.generatedEnvironmentMap=null,this.generatedEnvironmentMapAlt=null,this.skyboxCache=new Map,this.blurMaterial=null,this.blurScene=null}ldrLoader(e){return null==this._ldrLoader&&(this._ldrLoader=new Hl),this._ldrLoader.setWithCredentials(e),this._ldrLoader}imageLoader(e){return null==this._imageLoader&&(this._imageLoader=new Kbe(this.threeRenderer)),this._imageLoader.setWithCredentials(e),this._imageLoader}hdrLoader(e){return null==this._hdrLoader&&(this._hdrLoader=new Hy,this._hdrLoader.setDataType(Fe)),this._hdrLoader.setWithCredentials(e),this._hdrLoader}async getLottieLoader(e){if(null==this._lottieLoader){const{LottieLoader:e}=await import(this.lottieLoaderUrl);this._lottieLoader=new e}return this._lottieLoader.setWithCredentials(e),this._lottieLoader}async loadImage(e,t){const r=await new Promise((r,n)=>this.ldrLoader(t).load(e,r,()=>{},n));return r.name=e,r.flipY=!1,r}async loadLottie(e,t,r){const n=await this.getLottieLoader(r);n.setQuality(t);const i=await new Promise((t,r)=>n.load(e,t,()=>{},r));return i.name=e,i}async loadEquirect(e,t=!1,r=()=>{}){try{const n=nye.test(e),i=n?this.hdrLoader(t):this.imageLoader(t),o=await new Promise((t,n)=>i.load(e,e=>{const{renderTarget:r}=e;if(null!=r){const{texture:n}=r;e.dispose(!1),t(n)}else t(e)},e=>{r(e.loaded/e.total*.9)},n));return r(1),o.name=e,o.mapping=fe,n||(o.colorSpace=zt),o}finally{r&&r(1)}}async generateEnvironmentMapAndSkybox(e=null,t=null,r=()=>{},n=!1){const i="legacy"!==t;"legacy"!==t&&"neutral"!==t||(t=null),t=mge(t);let o,s=Promise.resolve(null);e&&(s=this.loadEquirectFromUrl(e,n,r)),o=t?this.loadEquirectFromUrl(t,n,r):e?this.loadEquirectFromUrl(e,n,r):i?this.loadGeneratedEnvironmentMapAlt():this.loadGeneratedEnvironmentMap();const[a,l]=await Promise.all([o,s]);if(null==a)throw new Error("Failed to load environment map.");return{environmentMap:a,skybox:l}}async loadEquirectFromUrl(e,t,r){if(!this.skyboxCache.has(e)){const n=this.loadEquirect(e,t,r);this.skyboxCache.set(e,n)}return this.skyboxCache.get(e)}async GenerateEnvironmentMap(e,t){await((e=0)=>new Promise(t=>setTimeout(t,e)))();const r=this.threeRenderer,n=new po(256,{generateMipmaps:!1,type:Fe,format:Ge,colorSpace:Ht,depthBuffer:!0}),i=new uo(.1,100,n),o=i.renderTarget.texture;o.name=t;const s=r.outputColorSpace,a=r.toneMapping;return r.toneMapping=0,r.outputColorSpace=Ht,i.update(r,e),this.blurCubemap(n,.04),r.toneMapping=a,r.outputColorSpace=s,o}async loadGeneratedEnvironmentMap(){return null==this.generatedEnvironmentMap&&(this.generatedEnvironmentMap=this.GenerateEnvironmentMap(new tye("legacy"),"legacy")),this.generatedEnvironmentMap}async loadGeneratedEnvironmentMapAlt(){return null==this.generatedEnvironmentMapAlt&&(this.generatedEnvironmentMapAlt=this.GenerateEnvironmentMap(new tye("neutral"),"neutral")),this.generatedEnvironmentMapAlt}blurCubemap(e,t){if(null==this.blurMaterial){this.blurMaterial=this.getBlurShader(rye);const e=new Ki,t=new Yi(e,this.blurMaterial);this.blurScene=new bo,this.blurScene.add(t)}const r=e.clone();this.halfblur(e,r,t,"latitudinal"),this.halfblur(r,e,t,"longitudinal")}halfblur(e,t,r,n){const i=e.width,o=isFinite(r)?Math.PI/(2*i):2*Math.PI/39,s=r/o,a=isFinite(r)?1+Math.floor(3*s):rye;a>rye&&console.warn(`sigmaRadians, ${r}, is too large and will clip, as it requested ${a} samples when the maximum is set to 20`);const l=[];let c=0;for(let e=0;e<rye;++e){const t=e/s,r=Math.exp(-t*t/2);l.push(r),0==e?c+=r:e<a&&(c+=2*r)}for(let e=0;e<l.length;e++)l[e]=l[e]/c;const u=this.blurMaterial.uniforms;u.envMap.value=e.texture,u.samples.value=a,u.weights.value=l,u.latitudinal.value="latitudinal"===n,u.dTheta.value=o;new uo(.1,100,t).update(this.threeRenderer,this.blurScene)}getBlurShader(e){const t=new Float32Array(e),r=new br(0,1,0);return new no({name:"SphericalGaussianBlur",defines:{n:e},uniforms:{envMap:{value:null},samples:{value:1},weights:{value:t},latitudinal:{value:!1},dTheta:{value:0},poleAxis:{value:r}},vertexShader:"\n      \n      varying vec3 vOutputDirection;\n  \n      void main() {\n  \n        vOutputDirection = vec3( position );\n        gl_Position = projectionMatrix * modelViewMatrix * vec4( position, 1.0 );\n  \n      }\n    ",fragmentShader:"\n        varying vec3 vOutputDirection;\n  \n        uniform samplerCube envMap;\n        uniform int samples;\n        uniform float weights[ n ];\n        uniform bool latitudinal;\n        uniform float dTheta;\n        uniform vec3 poleAxis;\n  \n        vec3 getSample( float theta, vec3 axis ) {\n  \n          float cosTheta = cos( theta );\n          // Rodrigues' axis-angle rotation\n          vec3 sampleDirection = vOutputDirection * cosTheta\n            + cross( axis, vOutputDirection ) * sin( theta )\n            + axis * dot( axis, vOutputDirection ) * ( 1.0 - cosTheta );\n  \n          return vec3( textureCube( envMap, sampleDirection ) );\n  \n        }\n  \n        void main() {\n  \n          vec3 axis = latitudinal ? poleAxis : cross( poleAxis, vOutputDirection );\n  \n          if ( all( equal( axis, vec3( 0.0 ) ) ) ) {\n  \n            axis = vec3( vOutputDirection.z, 0.0, - vOutputDirection.x );\n  \n          }\n  \n          axis = normalize( axis );\n  \n          gl_FragColor = vec4( 0.0, 0.0, 0.0, 1.0 );\n          gl_FragColor.rgb += weights[ 0 ] * getSample( 0.0, axis );\n  \n          for ( int i = 1; i < n; i++ ) {\n  \n            if ( i >= samples ) {\n  \n              break;\n  \n            }\n  \n            float theta = dTheta * float( i );\n            gl_FragColor.rgb += weights[ i ] * getSample( -1.0 * theta, axis );\n            gl_FragColor.rgb += weights[ i ] * getSample( theta, axis );\n  \n          }\n        }\n      ",blending:0,depthTest:!1,depthWrite:!1,side:1})}async dispose(){for(const[,e]of this.skyboxCache){(await e).dispose()}null!=this.generatedEnvironmentMap&&((await this.generatedEnvironmentMap).dispose(),this.generatedEnvironmentMap=null),null!=this.generatedEnvironmentMapAlt&&((await this.generatedEnvironmentMapAlt).dispose(),this.generatedEnvironmentMapAlt=null),null!=this.blurMaterial&&this.blurMaterial.dispose()}}
+/* @license
+ * Copyright 2019 Google LLC. All Rights Reserved.
+ * Licensed under the Apache License, Version 2.0 (the 'License');
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an 'AS IS' BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+const oye=[1,.79,.62,.5,.4,.31,.25],sye="high-performance";class aye extends or{static get singleton(){return this._singleton||(this._singleton=new aye({powerPreference:(self.ModelViewerElement||{}).powerPreference||sye,debug:bge()})),this._singleton}static resetSingleton(){const e=this._singleton.dispose();for(const t of e)t.disconnectedCallback();this._singleton=new aye({powerPreference:(self.ModelViewerElement||{}).powerPreference||sye,debug:bge()});for(const t of e)t.connectedCallback()}get canRender(){return null!=this.threeRenderer}get scaleFactor(){return oye[this.scaleStep]}set minScale(e){let t=1;for(;t<oye.length&&!(oye[t]<e);)++t;this.lastStep=t-1}constructor(e){super(),this.loader=new Yge(Bbe),this.width=0,this.height=0,this.dpr=1,this.scenes=new Set,this.multipleScenesVisible=!1,this.lastTick=performance.now(),this.renderedLastFrame=!1,this.scaleStep=0,this.lastStep=3,this.avgFrameDuration=50,this.onWebGLContextLost=e=>{this.dispatchEvent({type:"contextlost",sourceEvent:e})},this.onWebGLContextRestored=()=>{var e;null===(e=this.textureUtils)||void 0===e||e.dispose(),this.textureUtils=new iye(this.threeRenderer);for(const e of this.scenes)e.element[Sge]()},this.dpr=window.devicePixelRatio,this.canvas3D=document.createElement("canvas"),this.canvas3D.id="webgl-canvas",this.canvas3D.classList.add("show");try{this.threeRenderer=new bp({canvas:this.canvas3D,alpha:!0,antialias:!0,powerPreference:e.powerPreference,preserveDrawingBuffer:!0}),this.threeRenderer.autoClear=!0,this.threeRenderer.setPixelRatio(1),this.threeRenderer.debug={checkShaderErrors:!!e.debug,onShaderError:null},this.threeRenderer.toneMapping=7}catch(e){console.warn(e)}this.arRenderer=new xbe(this),this.textureUtils=this.canRender?new iye(this.threeRenderer):null,Yge.initializeKTX2Loader(this.threeRenderer),this.canvas3D.addEventListener("webglcontextlost",this.onWebGLContextLost),this.canvas3D.addEventListener("webglcontextrestored",this.onWebGLContextRestored),this.updateRendererSize()}registerScene(e){this.scenes.add(e),e.forceRescale();const t=new fr;this.threeRenderer.getSize(t),e.canvas.width=t.x,e.canvas.height=t.y,this.canRender&&this.scenes.size>0&&this.threeRenderer.setAnimationLoop((e,t)=>this.render(e,t))}unregisterScene(e){this.scenes.delete(e),this.canvas3D.parentElement===e.canvas.parentElement&&e.canvas.parentElement.removeChild(this.canvas3D),this.canRender&&0===this.scenes.size&&this.threeRenderer.setAnimationLoop(null)}displayCanvas(e){return e.element.modelIsVisible&&!this.multipleScenesVisible?this.canvas3D:e.element[qxe]}countVisibleScenes(){const{canvas3D:e}=this;let t=0,r=null;for(const n of this.scenes){const{element:i}=n;i.modelIsVisible&&null==n.externalRenderer&&++t,e.parentElement===n.canvas.parentElement&&(r=n)}const n=t>1;if(null!=r){const t=n&&!this.multipleScenesVisible,i=!r.element.modelIsVisible;if(t||i){const{width:t,height:n}=this.sceneSize(r);this.copyPixels(r,t,n),e.parentElement.removeChild(e)}}this.multipleScenesVisible=n}updateRendererSize(){var e;const t=window.devicePixelRatio;if(t!==this.dpr)for(const e of this.scenes){const{element:t}=e;t[Nxe](t.getBoundingClientRect())}let r=0,n=0;for(const e of this.scenes)r=Math.max(r,e.width),n=Math.max(n,e.height);if(r!==this.width||n!==this.height||t!==this.dpr){this.width=r,this.height=n,this.dpr=t,r=Math.ceil(r*t),n=Math.ceil(n*t),this.canRender&&this.threeRenderer.setSize(r,n,!1);for(const t of this.scenes){const{canvas:i}=t;i.width=r,i.height=n,t.forceRescale(),null===(e=t.effectRenderer)||void 0===e||e.setSize(r,n)}}}updateRendererScale(e){const t=this.scaleStep;this.avgFrameDuration+=vge(.2*(e-this.avgFrameDuration),-5,5),this.avgFrameDuration>60?++this.scaleStep:this.avgFrameDuration<40&&this.scaleStep>0&&--this.scaleStep,this.scaleStep=Math.min(this.scaleStep,this.lastStep),t!==this.scaleStep&&(this.avgFrameDuration=50)}shouldRender(e){if(e.shouldRender())e.scaleStep!=this.scaleStep&&(e.scaleStep=this.scaleStep,this.rescaleCanvas(e));else{if(0==e.scaleStep)return!1;e.scaleStep=0,this.rescaleCanvas(e)}return!0}rescaleCanvas(e){const t=oye[e.scaleStep],r=Math.ceil(this.width/t),n=Math.ceil(this.height/t),{style:i}=e.canvas;i.width=`${r}px`,i.height=`${n}px`,this.canvas3D.style.width=`${r}px`,this.canvas3D.style.height=`${n}px`;const o=this.dpr*t,s=t<1?"GPU throttling":this.dpr!==window.devicePixelRatio?"No meta viewport tag":"";e.element.dispatchEvent(new CustomEvent("render-scale",{detail:{reportedDpr:window.devicePixelRatio,renderedDpr:o,minimumDpr:this.dpr*oye[this.lastStep],pixelWidth:Math.ceil(e.width*o),pixelHeight:Math.ceil(e.height*o),reason:s}}))}sceneSize(e){const{dpr:t}=this,r=oye[e.scaleStep];return{width:Math.min(Math.ceil(e.width*r*t),this.canvas3D.width),height:Math.min(Math.ceil(e.height*r*t),this.canvas3D.height)}}copyPixels(e,t,r){const n=e.context;null!=n?(n.clearRect(0,0,t,r),n.drawImage(this.canvas3D,0,0,t,r,0,0,t,r),e.canvas.classList.add("show")):console.log("could not acquire 2d context")}orderedScenes(){const e=[];for(const t of[!1,!0])for(const r of this.scenes)r.element.modelIsVisible===t&&e.push(r);return e}get isPresenting(){return this.arRenderer.isPresenting}preRender(e,t,r){const{element:n,exposure:i,toneMapping:o}=e;n[Kxe](t,r);const s="number"==typeof i&&!Number.isNaN(i),a=n.environmentImage,l=n.skyboxImage,c=7===o&&("neutral"===a||"legacy"===a||!a&&!l);this.threeRenderer.toneMappingExposure=(s?i:1)*(c?1.3:1)}render(e,t){if(null!=t)return void this.arRenderer.onWebXRFrame(e,t);const r=e-this.lastTick;if(this.lastTick=e,!this.canRender||this.isPresenting)return;this.countVisibleScenes(),this.updateRendererSize(),this.renderedLastFrame&&(this.updateRendererScale(r),this.renderedLastFrame=!1);const{canvas3D:n}=this;for(const t of this.orderedScenes()){const{element:i}=t;if(!i.loaded||!i.modelIsVisible&&t.renderCount>0)continue;if(this.preRender(t,e,r),!this.shouldRender(t))continue;if(null!=t.externalRenderer){const e=t.getCamera();e.updateMatrix();const{matrix:r,projectionMatrix:n}=e,i=r.elements.slice(),o=t.getTarget();i[12]+=o.x,i[13]+=o.y,i[14]+=o.z,t.externalRenderer.render({viewMatrix:i,projectionMatrix:n.elements});continue}if(!i.modelIsVisible&&!this.multipleScenesVisible)for(const e of this.scenes)e.element.modelIsVisible&&e.queueRender();const{width:o,height:s}=this.sceneSize(t);t.renderShadow(this.threeRenderer),this.threeRenderer.setRenderTarget(null),this.threeRenderer.setViewport(0,Math.ceil(this.height*this.dpr)-s,o,s),null!=t.effectRenderer?t.effectRenderer.render(r):(this.threeRenderer.autoClear=!0,this.threeRenderer.toneMapping=t.toneMapping,this.threeRenderer.render(t,t.camera)),this.multipleScenesVisible||!t.element.modelIsVisible&&0===t.renderCount?this.copyPixels(t,o,s):n.parentElement!==t.canvas.parentElement&&(t.canvas.parentElement.appendChild(n),t.canvas.classList.remove("show")),t.hasRendered(),++t.renderCount,this.renderedLastFrame=!0}}dispose(){null!=this.textureUtils&&this.textureUtils.dispose(),null!=this.threeRenderer&&this.threeRenderer.dispose(),this.textureUtils=null,this.threeRenderer=null;const e=[];for(const t of this.scenes)e.push(t.element);return this.canvas3D.removeEventListener("webglcontextlost",this.onWebGLContextLost),this.canvas3D.removeEventListener("webglcontextrestored",this.onWebGLContextRestored),e}}
+/* @license
+ * Copyright 2020 Google LLC. All Rights Reserved.
+ * Licensed under the Apache License, Version 2.0 (the 'License');
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an 'AS IS' BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+const lye=Symbol("correlatedObjects"),cye=Symbol("onUpdate");class uye{constructor(e,t){this[cye]=e,this[lye]=t}}
+/* @license
+ * Copyright 2020 Google LLC. All Rights Reserved.
+ * Licensed under the Apache License, Version 2.0 (the 'License');
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an 'AS IS' BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+const dye=new vi,hye=new Ka(2,2);let pye=0;const mye=Symbol("threeTexture"),_ye=Symbol("threeTextures");Symbol("applyTexture");class gye extends uye{get[mye](){var e;return null===(e=this[lye])||void 0===e?void 0:e.values().next().value}get[_ye](){return this[lye]}constructor(e,t){super(e,new Set(t?[t]:[])),this[mye].image.src||(this[mye].image.src=t.name?t.name:"adhoc_image"+pye++),this[mye].image.name||(this[mye].image.name=t&&t.image&&t.image.src?t.image.src.split("/").pop():"adhoc_image")}get name(){return this[mye].image.name||""}get uri(){return this[mye].image.src}get bufferView(){return this[mye].image.bufferView}get element(){const e=this[mye];if(e&&(e.isCanvasTexture||e.isVideoTexture))return e.image}get animation(){const e=this[mye];if(e&&e.isCanvasTexture&&e.animation)return e.animation}get type(){return null!=this.uri?"external":"embedded"}set name(e){for(const t of this[_ye])t.image.name=e}update(){const e=this[mye];e&&e.isCanvasTexture&&!e.animation&&(this[mye].needsUpdate=!0,this[cye]())}async createThumbnail(e,t){const r=new bo;dye.map=this[mye];const n=new Yi(hye,dye);r.add(n);const i=new nc(-1,1,1,-1,0,1),{threeRenderer:o}=aye.singleton,s=new jr(e,t);o.setRenderTarget(s),o.render(r,i),o.setRenderTarget(null);const a=new Uint8Array(e*t*4);o.readRenderTargetPixels(s,0,0,e,t,a),Cxe.width=e,Cxe.height=t;const l=Cxe.getContext("2d"),c=l.createImageData(e,t);return c.data.set(a),l.putImageData(c,0,0),new Promise(async(e,t)=>{Cxe.toBlob(r=>{if(!r)return t("Failed to capture thumbnail.");e(URL.createObjectURL(r))},"image/png")})}}var fye,vye;!function(e){e[e.Nearest=9728]="Nearest",e[e.Linear=9729]="Linear",e[e.NearestMipmapNearest=9984]="NearestMipmapNearest",e[e.LinearMipmapNearest=9985]="LinearMipmapNearest",e[e.NearestMipmapLinear=9986]="NearestMipmapLinear",e[e.LinearMipmapLinear=9987]="LinearMipmapLinear"}(fye||(fye={})),function(e){e[e.ClampToEdge=33071]="ClampToEdge",e[e.MirroredRepeat=33648]="MirroredRepeat",e[e.Repeat=10497]="Repeat"}(vye||(vye={}));
+/* @license
+ * Copyright 2020 Google LLC. All Rights Reserved.
+ * Licensed under the Apache License, Version 2.0 (the 'License');
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an 'AS IS' BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+const bye=new Map([[vye.Repeat,ye],[vye.ClampToEdge,$e],[vye.MirroredRepeat,xe]]),yye=new Map([[ye,vye.Repeat],[$e,vye.ClampToEdge],[xe,vye.MirroredRepeat]]),$ye=new Map([[fye.Nearest,Se],[fye.Linear,Ce],[fye.NearestMipmapNearest,we],[fye.LinearMipmapNearest,Ee],[fye.NearestMipmapLinear,Ae],[fye.LinearMipmapLinear,Ie]]),xye=new Map([[Se,fye.Nearest],[Ce,fye.Linear],[we,fye.NearestMipmapNearest],[Ee,fye.LinearMipmapNearest],[Ae,fye.NearestMipmapLinear],[Ie,fye.LinearMipmapLinear]]),Sye=new Map([[fye.Nearest,Se],[fye.Linear,Ce]]),wye=new Map([[Se,fye.Nearest],[Ce,fye.Linear]]),Aye=e=>xye.has(e),Cye=e=>wye.has(e),Eye=e=>yye.has(e),Iye=Symbol("threeTexture"),Mye=Symbol("threeTextures"),kye=Symbol("setProperty");class Tye extends uye{get[Iye](){var e;return null===(e=this[lye])||void 0===e?void 0:e.values().next().value}get[Mye](){return this[lye]}constructor(e,t){super(e,new Set(t?[t]:[]))}get name(){return this[Iye].name||""}get minFilter(){return xye.get(this[Iye].minFilter)}get magFilter(){return wye.get(this[Iye].magFilter)}get wrapS(){return yye.get(this[Iye].wrapS)}get wrapT(){return yye.get(this[Iye].wrapT)}get rotation(){return this[Iye].rotation}get scale(){return aSe(this[Iye].repeat)}get offset(){return aSe(this[Iye].offset)}setMinFilter(e){this[kye]("minFilter",$ye.get(e))}setMagFilter(e){this[kye]("magFilter",Sye.get(e))}setWrapS(e){this[kye]("wrapS",bye.get(e))}setWrapT(e){this[kye]("wrapT",bye.get(e))}setRotation(e){null==e&&(e=0),this[kye]("rotation",e)}setScale(e){null==e&&(e={u:1,v:1}),this[kye]("repeat",new fr(e.u,e.v))}setOffset(e){null==e&&(e={u:0,v:0}),this[kye]("offset",new fr(e.u,e.v))}[kye](e,t){if(((e,t)=>{switch(e){case"minFilter":return Aye(t);case"magFilter":return Cye(t);case"wrapS":case"wrapT":return Eye(t);case"rotation":case"repeat":case"offset":return!0;default:throw new Error(`Cannot configure property "${e}" on Sampler`)}})(e,t))for(const r of this[Mye])r[e]=t,r.needsUpdate=!0;this[cye]()}}
+/* @license
+ * Copyright 2020 Google LLC. All Rights Reserved.
+ * Licensed under the Apache License, Version 2.0 (the 'License');
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an 'AS IS' BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+const Rye=Symbol("image"),Lye=Symbol("sampler"),Pye=Symbol("threeTexture");class Dye extends uye{get[Pye](){var e;return null===(e=this[lye])||void 0===e?void 0:e.values().next().value}constructor(e,t){super(e,new Set(t?[t]:[])),this[Lye]=new Tye(e,t),this[Rye]=new gye(e,t)}get name(){return this[Pye].name||""}set name(e){for(const t of this[lye])t.name=e}get sampler(){return this[Lye]}get source(){return this[Rye]}}
+/* @license
+ * Copyright 2020 Google LLC. All Rights Reserved.
+ * Licensed under the Apache License, Version 2.0 (the 'License');
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an 'AS IS' BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+var Nye,Fye,Oye;const Bye=Symbol("texture"),Uye=Symbol("transform"),Vye=Symbol("materials"),zye=Symbol("usage"),Hye=Symbol("onUpdate"),Gye=Symbol("activeVideo");var jye;!function(e){e[e.Base=0]="Base",e[e.MetallicRoughness=1]="MetallicRoughness",e[e.Normal=2]="Normal",e[e.Occlusion=3]="Occlusion",e[e.Emissive=4]="Emissive",e[e.Clearcoat=5]="Clearcoat",e[e.ClearcoatRoughness=6]="ClearcoatRoughness",e[e.ClearcoatNormal=7]="ClearcoatNormal",e[e.SheenColor=8]="SheenColor",e[e.SheenRoughness=9]="SheenRoughness",e[e.Transmission=10]="Transmission",e[e.Thickness=11]="Thickness",e[e.Specular=12]="Specular",e[e.SpecularColor=13]="SpecularColor",e[e.Iridescence=14]="Iridescence",e[e.IridescenceThickness=15]="IridescenceThickness",e[e.Anisotropy=16]="Anisotropy"}(jye||(jye={}));class Jye{constructor(e,t,r,n){this[Nye]=null,this[Fye]={rotation:0,scale:new fr(1,1),offset:new fr(0,0)},this[Oye]=!1,r&&(this[Uye].rotation=r.rotation,this[Uye].scale.copy(r.repeat),this[Uye].offset.copy(r.offset),this[Bye]=new Dye(e,r)),this[Hye]=e,this[Vye]=n,this[zye]=t}get texture(){return this[Bye]}setTexture(e){var t,r;const n=null!=e?e.source[mye]:null,i=null===(t=this[Bye])||void 0===t?void 0:t.source[mye];if(null!=i&&i.isVideoTexture?this[Gye]=!1:(null===(r=this[Bye])||void 0===r?void 0:r.source.animation)&&this[Bye].source.animation.removeEventListener("enterFrame",this[Hye]),this[Bye]=e,null!=n&&n.isVideoTexture){const e=n.image;if(this[Gye]=!0,null!=e.requestVideoFrameCallback){const t=()=>{this[Gye]&&(this[Hye](),e.requestVideoFrameCallback(t))};e.requestVideoFrameCallback(t)}else{const e=()=>{this[Gye]&&(this[Hye](),requestAnimationFrame(e))};requestAnimationFrame(e)}}else null!=(null==e?void 0:e.source.animation)&&e.source.animation.addEventListener("enterFrame",this[Hye]);let o=zt;if(this[Vye])for(const e of this[Vye]){switch(this[zye]){case jye.Base:e.map=n;break;case jye.MetallicRoughness:o=Ht,e.metalnessMap=n,e.roughnessMap=n;break;case jye.Normal:o=Ht,e.normalMap=n;break;case jye.Occlusion:o=Ht,e.aoMap=n;break;case jye.Emissive:e.emissiveMap=n;break;case jye.Clearcoat:e.clearcoatMap=n;break;case jye.ClearcoatRoughness:e.clearcoatRoughnessMap=n;break;case jye.ClearcoatNormal:e.clearcoatNormalMap=n;break;case jye.SheenColor:e.sheenColorMap=n;break;case jye.SheenRoughness:e.sheenRoughnessMap=n;break;case jye.Transmission:e.transmissionMap=n;break;case jye.Thickness:e.thicknessMap=n;break;case jye.Specular:e.specularIntensityMap=n;break;case jye.SpecularColor:e.specularColorMap=n;break;case jye.Iridescence:e.iridescenceMap=n;break;case jye.IridescenceThickness:e.iridescenceThicknessMap=n;break;case jye.Anisotropy:e.anisotropyMap=n}e.needsUpdate=!0}n&&(n.colorSpace=o,n.rotation=this[Uye].rotation,n.repeat=this[Uye].scale,n.offset=this[Uye].offset),this[Hye]()}}Nye=Bye,Fye=Uye,Oye=Gye;
+/* @license
+ * Copyright 2020 Google LLC. All Rights Reserved.
+ * Licensed under the Apache License, Version 2.0 (the 'License');
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an 'AS IS' BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+const Wye=Symbol("threeMaterial"),Qye=Symbol("threeMaterials"),qye=Symbol("baseColorTexture"),Yye=Symbol("metallicRoughnessTexture");class Xye extends uye{get[Qye](){return this[lye]}get[Wye](){var e;return null===(e=this[lye])||void 0===e?void 0:e.values().next().value}constructor(e,t){super(e,t);const{map:r,metalnessMap:n}=t.values().next().value;this[qye]=new Jye(e,jye.Base,r,t),this[Yye]=new Jye(e,jye.MetallicRoughness,n,t)}get baseColorFactor(){const e=[0,0,0,this[Wye].opacity];return this[Wye].color.toArray(e),e}get metallicFactor(){return this[Wye].metalness}get roughnessFactor(){return this[Wye].roughness}get baseColorTexture(){return this[qye]}get metallicRoughnessTexture(){return this[Yye]}setBaseColorFactor(e){const t=new mi;e instanceof Array?t.fromArray(e):t.set(e);for(const r of this[Qye])r.color.set(t),e instanceof Array&&e.length>3?r.opacity=e[3]:(e=[0,0,0,r.opacity],t.toArray(e));this[cye]()}setMetallicFactor(e){for(const t of this[Qye])t.metalness=e;this[cye]()}setRoughnessFactor(e){for(const t of this[Qye])t.roughness=e;this[cye]()}}
+/* @license
+ * Copyright 2020 Google LLC. All Rights Reserved.
+ * Licensed under the Apache License, Version 2.0 (the 'License');
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an 'AS IS' BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+var Kye,Zye;const e$e=Symbol("pbrMetallicRoughness"),t$e=Symbol("normalTexture"),r$e=Symbol("occlusionTexture"),n$e=Symbol("emissiveTexture"),i$e=Symbol("backingThreeMaterial"),o$e=Symbol("applyAlphaCutoff"),s$e=Symbol("getAlphaMode"),a$e=Symbol("lazyLoadGLTFInfo"),l$e=Symbol("initialize"),c$e=Symbol("getLoadedMaterial"),u$e=Symbol("ensureMaterialIsLoaded"),d$e=Symbol("gltfIndex"),h$e=Symbol("setActive"),p$e=Symbol("variantIndices"),m$e=Symbol("isActive"),_$e=Symbol("modelVariants"),g$e=Symbol("name"),f$e=Symbol("pbrTextures");class v$e extends uye{get[(Kye=p$e,Zye=f$e,i$e)](){return this[lye].values().next().value}constructor(e,t,r,n,i,o,s=void 0){super(e,i),this[Kye]=new Set,this[Zye]=new Map,this[d$e]=t,this[m$e]=r,this[_$e]=n,this[g$e]=o,null==s?this[l$e]():this[a$e]=s}[l$e](){const e=this[cye],t=this[lye];this[e$e]=new Xye(e,t);const{normalMap:r,aoMap:n,emissiveMap:i}=t.values().next().value;this[t$e]=new Jye(e,jye.Normal,r,t),this[r$e]=new Jye(e,jye.Occlusion,n,t),this[n$e]=new Jye(e,jye.Emissive,i,t);const o=r=>{this[f$e].set(r,new Jye(e,r,null,t))};o(jye.Clearcoat),o(jye.ClearcoatRoughness),o(jye.ClearcoatNormal),o(jye.SheenColor),o(jye.SheenRoughness),o(jye.Transmission),o(jye.Thickness),o(jye.Specular),o(jye.SpecularColor),o(jye.Iridescence),o(jye.IridescenceThickness),o(jye.Anisotropy)}async[c$e](){if(null!=this[a$e]){const e=await this[a$e].doLazyLoad();return this[l$e](),this[a$e]=void 0,this.ensureLoaded=async()=>{},e}return null}colorFromRgb(e){const t=new mi;return e instanceof Array?t.fromArray(e):t.set(e),t}[u$e](){if(null!=this[a$e])throw new Error(`Material "${this.name}" has not been loaded, call 'await\n    myMaterial.ensureLoaded()' before using an unloaded material.`)}async ensureLoaded(){await this[c$e]()}get isLoaded(){return null==this[a$e]}get isActive(){return this[m$e]}[h$e](e){this[m$e]=e}get name(){return this[g$e]||""}set name(e){if(this[g$e]=e,null!=this[lye])for(const t of this[lye])t.name=e}get pbrMetallicRoughness(){return this[u$e](),this[e$e]}get normalTexture(){return this[u$e](),this[t$e]}get occlusionTexture(){return this[u$e](),this[r$e]}get emissiveTexture(){return this[u$e](),this[n$e]}get emissiveFactor(){return this[u$e](),this[i$e].emissive.toArray()}get index(){return this[d$e]}hasVariant(e){const t=this[_$e].get(e);return null!=t&&this[p$e].has(t.index)}setEmissiveFactor(e){this[u$e]();const t=this.colorFromRgb(e);for(const e of this[lye])e.emissive.set(t);this[cye]()}[s$e](){return this[i$e].transparent?"BLEND":this[i$e].alphaTest>0?"MASK":"OPAQUE"}[o$e](){this[u$e]();for(const e of this[lye])"MASK"===this[s$e]()?null==e.alphaTest&&(e.alphaTest=.5):e.alphaTest=void 0,e.needsUpdate=!0}setAlphaCutoff(e){this[u$e]();for(const t of this[lye])t.alphaTest=e,t.needsUpdate=!0;this[o$e](),this[cye]()}getAlphaCutoff(){return this[u$e](),this[i$e].alphaTest}setDoubleSided(e){this[u$e]();for(const t of this[lye])t.side=e?2:0,t.needsUpdate=!0;this[cye]()}getDoubleSided(){return this[u$e](),2==this[i$e].side}setAlphaMode(e){this[u$e]();const t=(e,t)=>{e.transparent=t,e.depthWrite=!t};for(const r of this[lye])t(r,"BLEND"===e),r.alphaTest="MASK"===e?.5:void 0,r.needsUpdate=!0;this[cye]()}getAlphaMode(){return this[u$e](),this[s$e]()}get emissiveStrength(){return this[u$e](),this[i$e].emissiveIntensity}setEmissiveStrength(e){this[u$e]();for(const t of this[lye])t.emissiveIntensity=e;this[cye]()}get clearcoatFactor(){return this[u$e](),this[i$e].clearcoat}get clearcoatRoughnessFactor(){return this[u$e](),this[i$e].clearcoatRoughness}get clearcoatTexture(){return this[u$e](),this[f$e].get(jye.Clearcoat)}get clearcoatRoughnessTexture(){return this[u$e](),this[f$e].get(jye.ClearcoatRoughness)}get clearcoatNormalTexture(){return this[u$e](),this[f$e].get(jye.ClearcoatNormal)}get clearcoatNormalScale(){return this[u$e](),this[i$e].clearcoatNormalScale.x}setClearcoatFactor(e){this[u$e]();for(const t of this[lye])t.clearcoat=e;this[cye]()}setClearcoatRoughnessFactor(e){this[u$e]();for(const t of this[lye])t.clearcoatRoughness=e;this[cye]()}setClearcoatNormalScale(e){this[u$e]();for(const t of this[lye])t.clearcoatNormalScale=new fr(e,e);this[cye]()}get ior(){return this[u$e](),this[i$e].ior}setIor(e){this[u$e]();for(const t of this[lye])t.ior=e;this[cye]()}get sheenColorFactor(){return this[u$e](),this[i$e].sheenColor.toArray()}get sheenColorTexture(){return this[u$e](),this[f$e].get(jye.SheenColor)}get sheenRoughnessFactor(){return this[u$e](),this[i$e].sheenRoughness}get sheenRoughnessTexture(){return this[u$e](),this[f$e].get(jye.SheenRoughness)}setSheenColorFactor(e){this[u$e]();const t=this.colorFromRgb(e);for(const e of this[lye])e.sheenColor.set(t),e.sheen=1;this[cye]()}setSheenRoughnessFactor(e){this[u$e]();for(const t of this[lye])t.sheenRoughness=e,t.sheen=1;this[cye]()}get transmissionFactor(){return this[u$e](),this[i$e].transmission}get transmissionTexture(){return this[u$e](),this[f$e].get(jye.Transmission)}setTransmissionFactor(e){this[u$e]();for(const t of this[lye])t.transmission=e;this[cye]()}get thicknessFactor(){return this[u$e](),this[i$e].thickness}get thicknessTexture(){return this[u$e](),this[f$e].get(jye.Thickness)}get attenuationDistance(){return this[u$e](),this[i$e].attenuationDistance}get attenuationColor(){return this[u$e](),this[i$e].attenuationColor.toArray()}setThicknessFactor(e){this[u$e]();for(const t of this[lye])t.thickness=e;this[cye]()}setAttenuationDistance(e){this[u$e]();for(const t of this[lye])t.attenuationDistance=e;this[cye]()}setAttenuationColor(e){this[u$e]();const t=this.colorFromRgb(e);for(const e of this[lye])e.attenuationColor.set(t);this[cye]()}get specularFactor(){return this[u$e](),this[i$e].specularIntensity}get specularTexture(){return this[u$e](),this[f$e].get(jye.Specular)}get specularColorFactor(){return this[u$e](),this[i$e].specularColor.toArray()}get specularColorTexture(){return this[u$e](),this[f$e].get(jye.SheenColor)}setSpecularFactor(e){this[u$e]();for(const t of this[lye])t.specularIntensity=e;this[cye]()}setSpecularColorFactor(e){this[u$e]();const t=this.colorFromRgb(e);for(const e of this[lye])e.specularColor.set(t);this[cye]()}get iridescenceFactor(){return this[u$e](),this[i$e].iridescence}get iridescenceTexture(){return this[u$e](),this[f$e].get(jye.Iridescence)}get iridescenceIor(){return this[u$e](),this[i$e].iridescenceIOR}get iridescenceThicknessMinimum(){return this[u$e](),this[i$e].iridescenceThicknessRange[0]}get iridescenceThicknessMaximum(){return this[u$e](),this[i$e].iridescenceThicknessRange[1]}get iridescenceThicknessTexture(){return this[u$e](),this[f$e].get(jye.IridescenceThickness)}setIridescenceFactor(e){this[u$e]();for(const t of this[lye])t.iridescence=e;this[cye]()}setIridescenceIor(e){this[u$e]();for(const t of this[lye])t.iridescenceIOR=e;this[cye]()}setIridescenceThicknessMinimum(e){this[u$e]();for(const t of this[lye])t.iridescenceThicknessRange[0]=e;this[cye]()}setIridescenceThicknessMaximum(e){this[u$e]();for(const t of this[lye])t.iridescenceThicknessRange[1]=e;this[cye]()}get anisotropyStrength(){return this[u$e](),this[i$e].anisotropy}get anisotropyRotation(){return this[u$e](),this[i$e].anisotropyRotation}get anisotropyTexture(){return this[u$e](),this[f$e].get(jye.Anisotropy)}setAnisotropyStrength(e){this[u$e]();for(const t of this[lye])t.anisotropy=e;this[cye]()}setAnisotropyRotation(e){this[u$e]();for(const t of this[lye])t.anisotropyRotation=e;this[cye]()}}class b$e{constructor(e){this.name="",this.children=new Array,this.name=e}}class y$e extends b$e{constructor(e,t,r,n){super(e.name),this.materials=new Map,this.variantToMaterialMap=new Map,this.initialMaterialIdx=0,this.activeMaterialIdx=0,this.mesh=e;const{gltf:i,threeGLTF:o,threeObjectMap:s}=n;this.parser=o.parser,this.modelVariants=r,this.mesh.userData.variantData=r;const a=s.get(e.material);null!=a.materials?this.initialMaterialIdx=this.activeMaterialIdx=a.materials:console.error(`Primitive (${e.name}) missing initial material reference.`);const l=e.userData.associations||{};if(null==l.meshes)return void console.error("Mesh is missing primitive index association");const c=((i.meshes||[])[l.meshes].primitives||[])[l.primitives];if(null!=c){if(null!=c.material)this.materials.set(c.material,t[c.material]);else{const e=t.findIndex(e=>"Default"===e.name);e>=0?this.materials.set(e,t[e]):console.warn("gltfPrimitive has no material!")}if(c.extensions&&c.extensions.KHR_materials_variants){const e=c.extensions.KHR_materials_variants,n=o.parser.json.extensions.KHR_materials_variants.variants;for(const i of e.mappings){const e=t[i.material];this.materials.set(i.material,e);for(const t of i.variants){const{name:i}=n[t];this.variantToMaterialMap.set(t,e),e[p$e].add(t),r.has(i)||r.set(i,{name:i,index:t})}}}}else console.error("Mesh primitive definition is missing.")}async setActiveMaterial(e){const t=this.materials.get(e);if(e!==this.activeMaterialIdx){const r=t[lye],n=await t[c$e]();this.mesh.material=null!=n?n:r.values().next().value,this.parser.assignFinalMaterial(this.mesh),r.add(this.mesh.material),this.activeMaterialIdx=e}return this.mesh.material}getActiveMaterial(){return this.materials.get(this.activeMaterialIdx)}getMaterial(e){return this.materials.get(e)}async enableVariant(e){if(null==e)return this.setActiveMaterial(this.initialMaterialIdx);if(null!=this.variantToMaterialMap&&this.modelVariants.has(e)){const t=this.modelVariants.get(e);return this.enableVariantHelper(t.index)}return null}async enableVariantHelper(e){if(null!=this.variantToMaterialMap&&null!=e){const t=this.variantToMaterialMap.get(e);if(null!=t)return this.setActiveMaterial(t.index)}return null}async instantiateVariants(){if(null!=this.variantToMaterialMap)for(const e of this.variantToMaterialMap.keys()){const t=this.mesh.userData.variantMaterials.get(e);if(null!=t.material)continue;const r=await this.enableVariantHelper(e);null!=r&&(t.material=r)}}get variantInfo(){return this.variantToMaterialMap}addVariant(e,t){if(!this.ensureVariantIsUnused(t))return!1;this.modelVariants.has(t)||this.modelVariants.set(t,{name:t,index:this.modelVariants.size});const r=this.modelVariants.get(t).index;return e[p$e].add(r),this.variantToMaterialMap.set(r,e),this.materials.set(e.index,e),this.updateVariantUserData(r,e),!0}deleteVariant(e){if(this.variantInfo.has(e)){this.variantInfo.delete(e);const t=this.mesh.userData.variantMaterials;null!=t&&t.delete(e)}}updateVariantUserData(e,t){t[p$e].add(e),this.mesh.userData.variantData=this.modelVariants,this.mesh.userData.variantMaterials=this.mesh.userData.variantMaterials||new Map;this.mesh.userData.variantMaterials.set(e,{material:t[lye].values().next().value,gltfMaterialIndex:t.index})}ensureVariantIsUnused(e){const t=this.modelVariants.get(e);return null==t||!this.variantInfo.has(t.index)||(console.warn(`Primitive cannot add variant '${e}' for this material, it already exists.`),!1)}}
+/* @license
+ * Copyright 2020 Google LLC. All Rights Reserved.
+ * Licensed under the Apache License, Version 2.0 (the 'License');
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an 'AS IS' BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+var $$e,x$e,S$e,w$e,A$e,C$e;const E$e=Symbol("materials"),I$e=Symbol("hierarchy"),M$e=Symbol("roots"),k$e=Symbol("primitives"),T$e=(Symbol("loadVariant"),Symbol("prepareVariantsForExport")),R$e=Symbol("switchVariant"),L$e=Symbol("materialFromPoint"),P$e=Symbol("nodeFromPoint"),D$e=Symbol("nodeFromIndex"),N$e=Symbol("variantData"),F$e=Symbol("availableVariants"),O$e=Symbol("modelOnUpdate"),B$e=Symbol("cloneMaterial");class U$e{constructor(e,t,r,n){this.gltf=e,this.gltfElementMap=t,this.mapKey=r,this.doLazyLoad=n}}class V$e{constructor(e,t=()=>{}){this[$$e]=new Array,this[x$e]=new Array,this[S$e]=new Array,this[w$e]=new Array,this[A$e]=()=>{},this[C$e]=new Map,this[O$e]=t;const{gltf:r,threeGLTF:n,gltfElementMap:i}=e;for(const[e,o]of r.materials.entries()){const s=i.get(o);if(null!=s)this[E$e].push(new v$e(t,e,!0,this[N$e],s,o.name));else{const s=(r.materials||[])[e],a=new Set;i.set(s,a);const l=async()=>{const t=await n.parser.getDependency("material",e);return a.add(t),t};this[E$e].push(new v$e(t,e,!1,this[N$e],a,o.name,new U$e(r,i,s,l)))}}const o=new Map,s=new Array;for(const e of n.scene.children)s.push(e);for(;s.length>0;){const t=s.pop();let r=null;t instanceof Yi?(r=new y$e(t,this.materials,this[N$e],e),this[k$e].push(r)):r=new b$e(t.name);const n=o.get(t);null!=n?n.children.push(r):this[M$e].push(r),this[I$e].push(r);for(const e of t.children)s.push(e),o.set(t,r)}}get materials(){return this[E$e]}[($$e=E$e,x$e=I$e,S$e=M$e,w$e=k$e,A$e=O$e,C$e=N$e,F$e)](){const e=Array.from(this[N$e].values());return e.sort((e,t)=>e.index-t.index),e.map(e=>e.name)}getMaterialByName(e){const t=this[E$e].filter(t=>t.name===e);return t.length>0?t[0]:null}[D$e](e,t){const r=this[I$e].find(r=>{if(r instanceof y$e){const{meshes:n,primitives:i}=r.mesh.userData.associations;if(n==e&&i==t)return!0}return!1});return null==r?null:r}[P$e](e){return this[I$e].find(t=>{if(t instanceof y$e){if(t.mesh===e.object)return!0}return!1})}[L$e](e){return this[P$e](e).getActiveMaterial()}async[R$e](e){for(const t of this[k$e])await t.enableVariant(e);for(const e of this.materials)e[h$e](!1);for(const e of this[k$e])this.materials[e.getActiveMaterial().index][h$e](!0)}async[T$e](){const e=new Array;for(const t of this[k$e])e.push(t.instantiateVariants());await Promise.all(e)}[B$e](e,t){const r=this.materials[e];r.isLoaded||console.error("Cloning an unloaded material,\n           call 'material.ensureLoaded() before cloning the material.");const n=r[lye],i=new Set;for(const[e,r]of n.entries()){const o=r.clone();o.name=t+(n.size>1?"_inst"+e:""),i.add(o)}const o=new v$e(this[O$e],this[E$e].length,!1,this[N$e],i,t);return this[E$e].push(o),o}createMaterialInstanceForVariant(e,t,r,n=!0){let i=null;for(const n of this[k$e]){const o=this[N$e].get(r);null!=o&&n.variantInfo.has(o.index)||null!=n.getMaterial(e)&&(this.hasVariant(r)||this.createVariant(r),null==i&&(i=this[B$e](e,t)),n.addVariant(i,r))}if(n&&null!=i){i[h$e](!0),this.materials[e][h$e](!1);for(const e of this[k$e])e.enableVariant(r)}return i}createVariant(e){this[N$e].has(e)?console.warn(`Variant '${e}'' already exists`):this[N$e].set(e,{name:e,index:this[N$e].size})}hasVariant(e){return this[N$e].has(e)}setMaterialToVariant(e,t){if(null!=this[F$e]().find(e=>e===t))if(e<0||e>=this.materials.length)console.error("setMaterialToVariant(): materialIndex is out of bounds.");else for(const r of this[k$e]){const n=r.getMaterial(e);null!=n&&r.addVariant(n,t)}else console.warn(`Can't add material to '${t}', the variant does not exist.'`)}updateVariantName(e,t){const r=this[N$e].get(e);null!=r&&(r.name=t,this[N$e].set(t,r),this[N$e].delete(e))}deleteVariant(e){const t=this[N$e].get(e);if(null!=t){for(const r of this.materials)r.hasVariant(e)&&r[p$e].delete(t.index);for(const e of this[k$e])e.deleteVariant(t.index);this[N$e].delete(e)}}}
+/* @license
+ * Copyright 2020 Google LLC. All Rights Reserved.
+ * Licensed under the Apache License, Version 2.0 (the 'License');
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an 'AS IS' BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+var z$e=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};const H$e=Symbol("currentGLTF"),G$e=Symbol("originalGltfJson"),j$e=Symbol("model"),J$e=Symbol("getOnUpdateMethod"),W$e=Symbol("buildTexture");
+/* @license
+ * Copyright 2023 Google LLC. All Rights Reserved.
+ * Licensed under the Apache License, Version 2.0 (the 'License');
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an 'AS IS' BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+class Q$e extends Yi{constructor(){super(void 0,new vi({depthWrite:!1})),this.height=0,this.radius=0,this.resolution=0,this.userData.noHit=!0}get map(){return this.material.map}set map(e){this.material.map=e}isUsable(){return this.height>0&&this.radius>0&&null!=this.geometry&&null!=this.map}updateGeometry(e=this.height,t=this.radius,r=128){e==this.height&&t==this.radius&&r==this.resolution||(this.height=e,this.radius=t,this.resolution=r,e>0&&t>0&&(this.geometry.dispose(),this.geometry=function(e,t,r){const n=new Za(t,2*r,r);n.scale(1,1,-1);const i=n.getAttribute("position"),o=new br;for(let t=0;t<i.count;++t)if(o.fromBufferAttribute(i,t),o.y<0){const r=3*-e/2,n=o.y<r?-e/o.y:1-o.y*o.y/(3*r*r);o.multiplyScalar(n),o.toArray(i.array,3*t)}return i.needsUpdate=!0,n}(e,t,r)))}}
+/* @license
+ * Copyright 2020 Google LLC. All Rights Reserved.
+ * Licensed under the Apache License, Version 2.0 (the 'License');
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an 'AS IS' BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+const q$e=new br,Y$e=new br,X$e=new br,K$e=new xr,Z$e=new ci,exe=new vr;class txe extends YC{constructor(e){super(document.createElement("div")),this.normal=new br(0,1,0),this.initialized=!1,this.referenceCount=1,this.pivot=document.createElement("div"),this.slot=document.createElement("slot"),this.element.classList.add("annotation-wrapper"),this.slot.name=e.name,this.element.appendChild(this.pivot),this.pivot.appendChild(this.slot),this.updatePosition(e.position),this.updateNormal(e.normal),this.surface=e.surface}get facingCamera(){return!this.element.classList.contains("hide")}show(){this.facingCamera&&this.initialized||this.updateVisibility(!0)}hide(){!this.facingCamera&&this.initialized||this.updateVisibility(!1)}increment(){this.referenceCount++}decrement(){return this.referenceCount>0&&--this.referenceCount,0===this.referenceCount}updatePosition(e){if(null==e)return;const t=afe(e)[0].terms;for(let e=0;e<3;++e)this.position.setComponent(e,vfe(t[e]).number);this.updateMatrixWorld()}updateNormal(e){if(null==e)return;const t=afe(e)[0].terms;for(let e=0;e<3;++e)this.normal.setComponent(e,t[e].number)}updateSurface(){const{mesh:e,tri:t,bary:r}=this;if(null==e||null==t||null==r)return;e.getVertexPosition(t.x,q$e),e.getVertexPosition(t.y,Y$e),e.getVertexPosition(t.z,X$e),q$e.toArray(K$e.elements,0),Y$e.toArray(K$e.elements,3),X$e.toArray(K$e.elements,6),this.position.copy(r).applyMatrix3(K$e);const n=this.parent;n.worldToLocal(e.localToWorld(this.position)),Z$e.set(q$e,Y$e,X$e),Z$e.getNormal(this.normal).transformDirection(e.matrixWorld);const i=n.parent;exe.setFromAxisAngle(q$e.set(0,1,0),-i.rotation.y),this.normal.applyQuaternion(exe)}orient(e){this.pivot.style.transform=`rotate(${e}rad)`}updateVisibility(e){this.element.classList.toggle("hide",!e),this.slot.assignedNodes().forEach(t=>{if(t.nodeType!==Node.ELEMENT_NODE)return;const r=t,n=r.dataset.visibilityAttribute;if(null!=n){const t=`data-${n}`;r.toggleAttribute(t,e)}r.dispatchEvent(new CustomEvent("hotspot-visibility",{detail:{visible:e}}))}),this.initialized=!0}}Math.PI,Math.PI;function rxe(e,t,r){return(1-r)*e+r*t}class nxe extends qn{constructor(e,t,r){super(),this.camera=new nc,this.renderTarget=null,this.renderTargetBlur=null,this.depthMaterial=new ul,this.horizontalBlurMaterial=new no(uE),this.verticalBlurMaterial=new no(gE),this.intensity=0,this.softness=1,this.boundingBox=new Qr,this.size=new br,this.maxDimension=0,this.isAnimated=!1,this.needsUpdate=!1;const{camera:n}=this;n.rotation.x=Math.PI/2,n.left=-.5,n.right=.5,n.bottom=-.5,n.top=.5,this.add(n);const i=new Ka,o=new vi({opacity:1,transparent:!0,side:1});this.floor=new Yi(i,o),this.floor.userData.noHit=!0,n.add(this.floor),this.blurPlane=new Yi(i),this.blurPlane.visible=!1,n.add(this.blurPlane),e.target.add(this),this.depthMaterial.onBeforeCompile=function(e){e.fragmentShader=e.fragmentShader.replace("gl_FragColor = vec4( vec3( 1.0 - fragCoordZ ), opacity );","gl_FragColor = vec4( vec3( 0.0 ), ( 1.0 - fragCoordZ ) * opacity );")},this.depthMaterial.side=2,this.horizontalBlurMaterial.depthTest=!1,this.verticalBlurMaterial.depthTest=!1,this.setScene(e,t,r)}setScene(e,t,r){const{boundingBox:n,size:i,rotation:o,position:s}=this;if(this.isAnimated=e.animationNames.length>0,this.boundingBox.copy(e.boundingBox),this.size.copy(e.size),this.maxDimension=Math.max(i.x,i.y,i.z)*(this.isAnimated?2:1),this.boundingBox.getCenter(s),"back"===r){const{min:e,max:t}=n;[e.y,e.z]=[e.z,e.y],[t.y,t.z]=[t.z,t.y],[i.y,i.z]=[i.z,i.y],o.x=Math.PI/2,o.y=Math.PI}else o.x=0,o.y=0;if(this.isAnimated){const e=n.min.y,t=n.max.y;i.y=this.maxDimension,n.expandByVector(i.subScalar(this.maxDimension).multiplyScalar(-.5)),n.min.y=e,n.max.y=t,i.set(this.maxDimension,t-e,this.maxDimension)}"bottom"===r?s.y=n.min.y:s.z=n.min.y,this.setSoftness(t)}setSoftness(e){this.softness=e;const{size:t,camera:r}=this,n=this.isAnimated?2:1,i=n*Math.pow(2,9-3*e);this.setMapSize(i);const o=t.y/2,s=t.y*n;r.near=0,r.far=rxe(s,o,e),this.depthMaterial.opacity=1/e,r.updateProjectionMatrix(),this.setIntensity(this.intensity),this.setOffset(0)}setMapSize(e){const{size:t}=this;this.isAnimated&&(e*=2);const r=Math.floor(t.x>t.z?e:e*t.x/t.z),n=Math.floor(t.x>t.z?e*t.z/t.x:e),i=10+r,o=10+n;if(null==this.renderTarget||this.renderTarget.width===i&&this.renderTarget.height===o||(this.renderTarget.dispose(),this.renderTarget=null,this.renderTargetBlur.dispose(),this.renderTargetBlur=null),null==this.renderTarget){const e={format:Ge};this.renderTarget=new jr(i,o,e),this.renderTargetBlur=new jr(i,o,e),this.floor.material.map=this.renderTarget.texture}this.camera.scale.set(t.x*(1+10/r),t.z*(1+10/n),1),this.needsUpdate=!0}setIntensity(e){this.intensity=e,e>0?(this.visible=!0,this.floor.visible=!0,this.floor.material.opacity=e*rxe(.3,1,this.softness*this.softness)):(this.visible=!1,this.floor.visible=!1)}getIntensity(){return this.intensity}setOffset(e){this.floor.position.z=-e+this.gap()}gap(){return.001*this.maxDimension}render(e,t){t.overrideMaterial=this.depthMaterial;const r=e.getClearAlpha();e.setClearAlpha(0),this.floor.visible=!1;const n=e.xr.enabled;e.xr.enabled=!1;const i=e.getRenderTarget();e.setRenderTarget(this.renderTarget),e.render(t,this.camera),t.overrideMaterial=null,this.floor.visible=!0,this.blurShadow(e),e.xr.enabled=n,e.setRenderTarget(i),e.setClearAlpha(r)}blurShadow(e){const{camera:t,horizontalBlurMaterial:r,verticalBlurMaterial:n,renderTarget:i,renderTargetBlur:o,blurPlane:s}=this;s.visible=!0,s.material=r,r.uniforms.h.value=1/this.renderTarget.width,r.uniforms.tDiffuse.value=this.renderTarget.texture,e.setRenderTarget(o),e.render(s,t),s.material=n,n.uniforms.v.value=1/this.renderTarget.height,n.uniforms.tDiffuse.value=this.renderTargetBlur.texture,e.setRenderTarget(i),e.render(s,t),s.visible=!1}dispose(){null!=this.renderTarget&&this.renderTarget.dispose(),null!=this.renderTargetBlur&&this.renderTargetBlur.dispose(),this.depthMaterial.dispose(),this.horizontalBlurMaterial.dispose(),this.verticalBlurMaterial.dispose(),this.floor.material.dispose(),this.floor.geometry.dispose(),this.blurPlane.geometry.dispose(),this.removeFromParent()}}
+/* @license
+ * Copyright 2019 Google LLC. All Rights Reserved.
+ * Licensed under the Apache License, Version 2.0 (the 'License');
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an 'AS IS' BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+const ixe=new br,oxe=new br,sxe=new br,axe=new Mc,lxe=new br,cxe=new fr;class uxe extends bo{constructor({canvas:e,element:t,width:r,height:n}){super(),this.annotationRenderer=new rE,this.effectRenderer=null,this.schemaElement=document.createElement("script"),this.width=1,this.height=1,this.aspect=1,this.scaleStep=0,this.renderCount=0,this.externalRenderer=null,this.appendedAnimations=[],this.markedAnimations=[],this.camera=new lo(45,1,.1,100),this.xrCamera=null,this.url=null,this.pivot=new qn,this.target=new qn,this.animationNames=[],this.boundingBox=new Qr,this.boundingSphere=new pn,this.size=new br,this.idealAspect=0,this.framedFoVDeg=0,this.shadow=null,this.shadowIntensity=0,this.shadowSoftness=1,this.bakedShadows=new Set,this.exposure=1,this.toneMapping=7,this.canScale=!0,this.isDirty=!1,this.goalTarget=new br,this.targetDamperX=new efe,this.targetDamperY=new efe,this.targetDamperZ=new efe,this._currentGLTF=null,this._model=null,this.cancelPendingSourceChange=null,this.animationsByName=new Map,this.currentAnimationAction=null,this.groundedSkybox=new Q$e,this.name="ModelScene",this.element=t,this.canvas=e,this.camera=new lo(45,1,.1,100),this.camera.name="MainCamera",this.add(this.pivot),this.pivot.name="Pivot",this.pivot.add(this.target),this.setSize(r,n),this.target.name="Target",this.mixer=new Cc(this.target);const{domElement:i}=this.annotationRenderer,{style:o}=i;o.display="none",o.pointerEvents="none",o.position="absolute",o.top="0",this.element.shadowRoot.querySelector(".default").appendChild(i),this.schemaElement.setAttribute("type","application/ld+json")}get context(){return this.canvas.getContext("2d")}getCamera(){return null!=this.xrCamera?this.xrCamera:this.camera}queueRender(){this.isDirty=!0}shouldRender(){return this.isDirty}hasRendered(){this.isDirty=!1}forceRescale(){this.scaleStep=-1,this.queueRender()}async setObject(e){this.reset(),this._model=e,this.target.add(e),await this.setupScene()}async setSource(e,t=()=>{}){if(!e||e===this.url)return void t(1);if(this.reset(),this.url=e,null!=this.externalRenderer){const e=await this.externalRenderer.load(t);return this.boundingSphere.radius=e.framedRadius,void(this.idealAspect=e.fieldOfViewAspect)}let r;null!=this.cancelPendingSourceChange&&(this.cancelPendingSourceChange(),this.cancelPendingSourceChange=null);try{r=await new Promise(async(r,n)=>{this.cancelPendingSourceChange=()=>n();try{r(await this.element[tSe].loader.load(e,this.element,t))}catch(e){n(e)}})}catch(e){if(null==e)return;throw e}this.cancelPendingSourceChange=null,this.reset(),this.url=e,this._currentGLTF=r,null!=r&&(this._model=r.scene,this.target.add(r.scene));const{animations:n}=r,i=new Map,o=[];for(const e of n)i.set(e.name,e),o.push(e.name);this.animations=n,this.animationsByName=i,this.animationNames=o,await this.setupScene()}async setupScene(){this.applyTransform(),this.updateBoundingBox(),await this.updateFraming(),this.updateShadow(),this.setShadowIntensity(this.shadowIntensity),this.setGroundedSkybox()}reset(){this.url=null,this.renderCount=0,this.queueRender(),null!=this.shadow&&this.shadow.setIntensity(0),this.bakedShadows.clear();const{_model:e}=this;null!=e&&(e.removeFromParent(),this._model=null);const t=this._currentGLTF;null!=t&&(t.dispose(),this._currentGLTF=null),null!=this.currentAnimationAction&&(this.currentAnimationAction.stop(),this.currentAnimationAction=null),this.mixer.stopAllAction(),this.mixer.uncacheRoot(this)}dispose(){this.reset(),null!=this.shadow&&(this.shadow.dispose(),this.shadow=null),this.element[H$e]=null,this.element[G$e]=null,this.element[j$e]=null}get currentGLTF(){return this._currentGLTF}setSize(e,t){if(this.width!==e||this.height!==t){if(this.width=Math.max(e,1),this.height=Math.max(t,1),this.annotationRenderer.setSize(e,t),this.aspect=this.width/this.height,null!=this.externalRenderer){const r=window.devicePixelRatio;this.externalRenderer.resize(e*r,t*r)}this.queueRender()}}markBakedShadow(e){e.userData.noHit=!0,this.bakedShadows.add(e)}unmarkBakedShadow(e){e.userData.noHit=!1,e.visible=!0,this.bakedShadows.delete(e),this.boundingBox.expandByObject(e)}findBakedShadows(e){const t=new Qr;e.traverse(e=>{const r=e;if(!r.material)return;if(!r.material.transparent)return;t.setFromObject(r);const n=t.getSize(lxe),i=Math.min(n.x,n.y,n.z);Math.max(n.x,n.y,n.z)<100*i||this.markBakedShadow(r)})}checkBakedShadows(){const{min:e,max:t}=this.boundingBox,r=new Qr;this.boundingBox.getSize(this.size);for(const n of this.bakedShadows)r.setFromObject(n),r.min.y<e.y+this.size.y/100&&r.min.x<=e.x&&r.max.x>=t.x&&r.min.z<=e.z&&r.max.z>=t.z||r.min.z<e.z+this.size.z/100&&r.min.x<=e.x&&r.max.x>=t.x&&r.min.y<=e.y&&r.max.y>=t.y||this.unmarkBakedShadow(n)}applyTransform(){const{model:e}=this;if(null==e)return;const t=afe(this.element.orientation)[0].terms,r=vfe(t[0]).number,n=vfe(t[1]).number,i=vfe(t[2]).number;e.quaternion.setFromEuler(new Rn(n,i,r,"YXZ"));const o=afe(this.element.scale)[0].terms;e.scale.set(o[0].number,o[1].number,o[2].number)}updateBoundingBox(){const{model:e}=this;if(null==e)return;this.target.remove(e),this.findBakedShadows(e);const t=(e,t)=>e.expandByPoint(t);this.setBakedShadowVisibility(!1),this.boundingBox=fE(e,t,new Qr),this.boundingBox.isEmpty()&&(this.setBakedShadowVisibility(!0),this.bakedShadows.forEach(e=>this.unmarkBakedShadow(e)),this.boundingBox=fE(e,t,new Qr)),this.checkBakedShadows(),this.setBakedShadowVisibility(),this.boundingBox.getSize(this.size),this.target.add(e)}async updateFraming(){const{model:e}=this;if(null==e)return;this.target.remove(e),this.setBakedShadowVisibility(!1);const{center:t}=this.boundingSphere;this.element.requestUpdate("cameraTarget"),await this.element.updateComplete,t.copy(this.getTarget());this.boundingSphere.radius=Math.sqrt(fE(e,(e,r)=>Math.max(e,t.distanceToSquared(r)),0));this.idealAspect=fE(e,(e,r)=>{r.sub(t);const n=Math.sqrt(r.x*r.x+r.z*r.z);return Math.max(e,n/(this.idealCameraDistance()-Math.abs(r.y)))},0)/Math.tan(this.framedFoVDeg/2*Math.PI/180),this.setBakedShadowVisibility(),this.target.add(e)}setBakedShadowVisibility(e=this.shadowIntensity<=0){for(const t of this.bakedShadows)t.visible=e}idealCameraDistance(){const e=this.framedFoVDeg/2*Math.PI/180;return this.boundingSphere.radius/Math.sin(e)}adjustedFoV(e){const t=Math.tan(e/2*Math.PI/180)*Math.max(1,this.idealAspect/this.aspect);return 2*Math.atan(t)*180/Math.PI}getNDC(e,t){if(null!=this.xrCamera)cxe.set(e/window.screen.width,t/window.screen.height);else{const r=this.element.getBoundingClientRect();cxe.set((e-r.x)/this.width,(t-r.y)/this.height)}return cxe.multiplyScalar(2).subScalar(1),cxe.y*=-1,cxe}getSize(){return{width:this.width,height:this.height}}setEnvironmentAndSkybox(e,t){this.element[tSe].arRenderer.presentedScene!==this&&(this.environment=e,this.setBackground(t),this.queueRender())}setBackground(e){this.groundedSkybox.map=e,this.groundedSkybox.isUsable()?(this.target.add(this.groundedSkybox),this.background=null):(this.target.remove(this.groundedSkybox),this.background=e)}farRadius(){return this.boundingSphere.radius*(null!=this.groundedSkybox.parent?10:1)}setGroundedSkybox(){const e=afe(this.element.skyboxHeight)[0].terms[0],t=vfe(e).number,r=10*this.boundingSphere.radius;this.groundedSkybox.updateGeometry(t,r),this.groundedSkybox.position.y=t-(this.shadow?2*this.shadow.gap():0),this.setBackground(this.groundedSkybox.map)}setTarget(e,t,r){this.goalTarget.set(-e,-t,-r)}setTargetDamperDecayTime(e){this.targetDamperX.setDecayTime(e),this.targetDamperY.setDecayTime(e),this.targetDamperZ.setDecayTime(e)}getTarget(){return this.goalTarget.clone().multiplyScalar(-1)}getDynamicTarget(){return this.target.position.clone().multiplyScalar(-1)}jumpToGoal(){this.updateTarget(1e4)}updateTarget(e){const t=this.goalTarget,r=this.target.position;if(t.equals(r))return!1;{const n=this.boundingSphere.radius/10;let{x:i,y:o,z:s}=r;return i=this.targetDamperX.update(i,t.x,e,n),o=this.targetDamperY.update(o,t.y,e,n),s=this.targetDamperZ.update(s,t.z,e,n),this.groundedSkybox.position.x=-i,this.groundedSkybox.position.z=-s,this.target.position.set(i,o,s),this.target.updateMatrixWorld(),this.queueRender(),!0}}pointTowards(e,t){const{x:r,z:n}=this.position;this.yaw=Math.atan2(e-r,t-n)}get model(){return this._model}set yaw(e){this.pivot.rotation.y=e,this.groundedSkybox.rotation.y=-e,this.queueRender()}get yaw(){return this.pivot.rotation.y}set animationTime(e){this.mixer.setTime(e),this.queueShadowRender()}get animationTime(){if(null!=this.currentAnimationAction){const e=Math.max(this.currentAnimationAction._loopCount,0);return this.currentAnimationAction.loop!==Rt||1&~e?this.currentAnimationAction.time:this.duration-this.currentAnimationAction.time}return 0}set animationTimeScale(e){this.mixer.timeScale=e}get animationTimeScale(){return this.mixer.timeScale}get duration(){return null!=this.currentAnimationAction&&this.currentAnimationAction.getClip()?this.currentAnimationAction.getClip().duration:0}get hasActiveAnimation(){return null!=this.currentAnimationAction}playAnimation(e=null,t=0,r=2201,n=1/0){if(null==this._currentGLTF)return;const{animations:i}=this;if(null==i||0===i.length)return;let o=null;if(null!=e&&(o=this.animationsByName.get(e),null==o)){const t=parseInt(e);!isNaN(t)&&t>=0&&t<i.length&&(o=i[t])}null==o&&(o=i[0]);try{const{currentAnimationAction:e}=this,i=this.mixer.clipAction(o,this);i.timeScale!=this.element.timeScale&&(i.timeScale=this.element.timeScale),this.currentAnimationAction=i,this.element.paused?this.mixer.stopAllAction():(i.paused=!1,null!=e&&i!==e?i.crossFadeFrom(e,t,!1):this.animationTimeScale>0&&this.animationTime==this.duration&&(this.animationTime=0)),i.setLoop(r,n),i.enabled=!0,i.clampWhenFinished=!0,i.play()}catch(e){console.error(e)}}appendAnimation(e="",t=2201,r=1/0,n=1,i=1,o=!1,s=!1,a=!0,l=null,c=!1){if(null==this._currentGLTF||e===this.element.animationName)return;const{animations:u}=this;if(null==u||0===u.length)return;let d=null;if(e&&(d=this.animationsByName.get(e)),null!=d){"string"==typeof r?isNaN(r)?(r=1/0,console.warn("Invalid repetitionCount value, repetitionCount is set to Infinity")):r=Math.max(parseInt(r),1):"number"==typeof r&&r<1&&(r=1),1===r&&t!==kt&&(t=kt),"string"==typeof n&&(isNaN(n)?(n=1,console.warn("Invalid weight value, weight is set to 1")):n=parseFloat(n)),"string"==typeof i&&(isNaN(i)?(i=1,console.warn("Invalid timeScale value, timeScale is set to 1")):i=parseFloat(i)),"string"==typeof o&&("true"===o.toLowerCase().trim()?o=!0:"false"===o.toLowerCase().trim()?o=!1:isNaN(o)?(o=!1,console.warn("Invalid fade value, fade is set to false")):o=parseFloat(o)),"string"==typeof s&&("true"===s.toLowerCase().trim()?s=!0:"false"===s.toLowerCase().trim()?s=!1:isNaN(s)?(s=!1,console.warn("Invalid warp value, warp is set to false")):s=parseFloat(s)),"string"==typeof l&&(isNaN(l)||(l=parseFloat(l)));try{const u=this.mixer.existingAction(d)||this.mixer.clipAction(d,this),h=u.timeScale;c&&this.appendedAnimations.includes(e)&&(this.markedAnimations.map(e=>e.name).includes(e)||this.markedAnimations.push({name:e,loopMode:t,repetitionCount:r})),"number"==typeof l&&(u.time=Math.min(Math.max(l,0),d.duration)),"boolean"==typeof o&&o?u.fadeIn(1.25):"number"==typeof o?u.fadeIn(Math.max(o,0)):n>=0&&(u.weight=Math.min(Math.max(n,0),1)),"boolean"==typeof s&&s?u.warp(a?h:0,i,1.25):"number"==typeof s?u.warp(a?h:0,i,Math.max(s,0)):u.timeScale=i,u.isRunning()||(u.time==d.duration&&u.stop(),u.setLoop(t,r),u.paused=!1,u.enabled=!0,u.clampWhenFinished=!0,u.play()),this.appendedAnimations.includes(e)||this.element[Yxe].appendedAnimations.push(e)}catch(e){console.error(e)}}}detachAnimation(e="",t=!0){if(null==this._currentGLTF||e===this.element.animationName)return;const{animations:r}=this;if(null==r||0===r.length)return;let n=null;if(e&&(n=this.animationsByName.get(e)),null!=n){"string"==typeof t&&("true"===t.toLowerCase().trim()?t=!0:"false"===t.toLowerCase().trim()?t=!1:isNaN(t)?(t=!0,console.warn("Invalid fade value, fade is set to true")):t=parseFloat(t));try{const r=this.mixer.existingAction(n)||this.mixer.clipAction(n,this);"boolean"==typeof t&&t?r.fadeOut(1.5):"number"==typeof t?r.fadeOut(Math.max(t,0)):r.stop();const i=this.element[Yxe].appendedAnimations.filter(t=>t!==e);this.element[Yxe].appendedAnimations=i}catch(e){console.error(e)}}}updateAnimationLoop(e="",t=2201,r=1/0){if(null==this._currentGLTF||e===this.element.animationName)return;const{animations:n}=this;if(null==n||0===n.length)return;let i=null;if(e&&(i=this.animationsByName.get(e)),null!=i)try{const e=this.mixer.existingAction(i)||this.mixer.clipAction(i,this);e.stop(),e.setLoop(t,r),e.play()}catch(e){console.error(e)}}stopAnimation(){this.currentAnimationAction=null,this.mixer.stopAllAction()}updateAnimation(e){this.mixer.update(e),this.queueShadowRender()}subscribeMixerEvent(e,t){this.mixer.addEventListener(e,t)}updateShadow(){const e=this.shadow;if(null!=e){const t="wall"===this.element.arPlacement?"back":"bottom";e.setScene(this,this.shadowSoftness,t),e.needsUpdate=!0}}renderShadow(e){const t=this.shadow;null!=t&&1==t.needsUpdate&&(t.render(e,this),t.needsUpdate=!1)}queueShadowRender(){null!=this.shadow&&(this.shadow.needsUpdate=!0)}setShadowIntensity(e){if(this.shadowIntensity=e,null!=this._currentGLTF&&(this.setBakedShadowVisibility(),!(e<=0&&null==this.shadow))){if(null==this.shadow){const e="wall"===this.element.arPlacement?"back":"bottom";this.shadow=new nxe(this,this.shadowSoftness,e)}this.shadow.setIntensity(e)}}setShadowSoftness(e){this.shadowSoftness=e;const t=this.shadow;null!=t&&t.setSoftness(e)}setShadowOffset(e){const t=this.shadow;null!=t&&t.setOffset(e)}getHit(e=this){return axe.intersectObject(e,!0).find(e=>e.object.visible&&!e.object.userData.noHit)}hitFromController(e,t=this){return axe.setFromXRController(e),this.getHit(t)}hitFromPoint(e,t=this){return axe.setFromCamera(e,this.getCamera()),this.getHit(t)}positionAndNormalFromPoint(e,t=this){var r;const n=this.hitFromPoint(e,t);if(null==n)return null;return{position:n.point,normal:null!=n.face?n.face.normal.clone().applyNormalMatrix((new xr).getNormalMatrix(n.object.matrixWorld)):axe.ray.direction.clone().multiplyScalar(-1),uv:null!==(r=n.uv)&&void 0!==r?r:null}}surfaceFromPoint(e,t=this){const r=this.element.model;if(null==r)return null;const n=this.hitFromPoint(e,t);if(null==n||null==n.face)return null;const i=r[P$e](n),{meshes:o,primitives:s}=i.mesh.userData.associations,a=new br,l=new br,c=new br,{a:u,b:d,c:h}=n.face,p=n.object;p.getVertexPosition(u,a),p.getVertexPosition(d,l),p.getVertexPosition(h,c);const m=new ci(a,l,c),_=new br;return m.getBarycoord(p.worldToLocal(n.point),_),`${o} ${s} ${u} ${d} ${h} ${_.x.toFixed(3)} ${_.y.toFixed(3)} ${_.z.toFixed(3)}`}addHotspot(e){this.target.add(e),this.annotationRenderer.domElement.appendChild(e.element),this.updateSurfaceHotspot(e)}removeHotspot(e){this.target.remove(e)}forHotspots(e){const{children:t}=this.target;for(let r=0,n=t.length;r<n;r++){const n=t[r];n instanceof txe&&e(n)}}updateSurfaceHotspot(e){if(null==e.surface||null==this.element.model)return;const t=afe(e.surface)[0].terms;if(8!=t.length)return void console.warn(e.surface+" does not have exactly 8 numbers.");const r=this.element.model[D$e](t[0].number,t[1].number);if(null==r)return void console.warn(e.surface+" does not match a node/primitive in this glTF! Skipping this hotspot.");const n=r.mesh.geometry.attributes.position.count,i=new br(t[2].number,t[3].number,t[4].number);if(i.x>=n||i.y>=n||i.z>=n)return void console.warn(e.surface+" vertex indices out of range in this glTF! Skipping this hotspot.");const o=new br(t[5].number,t[6].number,t[7].number);e.mesh=r.mesh,e.tri=i,e.bary=o,e.updateSurface()}animateSurfaceHotspots(){this.element.paused||this.forHotspots(e=>{e.updateSurface()})}updateHotspotsVisibility(e){this.forHotspots(t=>{ixe.copy(e),oxe.setFromMatrixPosition(t.matrixWorld),ixe.sub(oxe),sxe.copy(t.normal).transformDirection(this.target.matrixWorld),ixe.dot(sxe)<0?t.hide():t.show()})}orientHotspots(e){this.forHotspots(t=>{t.orient(e)})}setHotspotsVisibility(e){this.forHotspots(t=>{t.visible=e})}updateSchema(e){var t;const{schemaElement:r,element:n}=this,{alt:i,poster:o,iosSrc:s}=n;if(null!=e){const n=[{"@type":"MediaObject",contentUrl:e,encodingFormat:"gltf"===(null===(t=e.split(".").pop())||void 0===t?void 0:t.toLowerCase())?"model/gltf+json":"model/gltf-binary"}];s&&n.push({"@type":"MediaObject",contentUrl:s,encodingFormat:"model/vnd.usdz+zip"});const a={"@context":"http://schema.org/","@type":"3DModel",image:null!=o?o:void 0,name:null!=i?i:void 0,encoding:n};r.textContent=JSON.stringify(a),document.head.appendChild(r)}else null!=r.parentElement&&r.parentElement.removeChild(r)}}
+/* @license
+ * Copyright 2019 Google LLC. All Rights Reserved.
+ * Licensed under the Apache License, Version 2.0 (the 'License');
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an 'AS IS' BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+class dxe extends EventTarget{constructor(){super(...arguments),this.ongoingActivities=new Set,this.totalProgress=0}get ongoingActivityCount(){return this.ongoingActivities.size}beginActivity(e){const t={progress:0,completed:!1};return this.ongoingActivities.add(t),1===this.ongoingActivityCount&&this.announceTotalProgress(t,0,e),r=>{let n;return n=Math.max(vge(r,0,1),t.progress),n!==t.progress&&this.announceTotalProgress(t,n,e),t.progress}}announceTotalProgress(e,t,r){let n=0,i=0;1==t&&(e.completed=!0);for(const e of this.ongoingActivities){const{progress:t}=e;n+=1-t,e.completed&&i++}const o=e.progress;e.progress=t,this.totalProgress+=(t-o)*(1-this.totalProgress)/n;const s=i===this.ongoingActivityCount?1:this.totalProgress;this.dispatchEvent(new CustomEvent("progress",{detail:{totalProgress:s,reason:r}})),i===this.ongoingActivityCount&&(this.totalProgress=0,this.ongoingActivities.clear())}}
+/* @license
+ * Copyright 2019 Google LLC. All Rights Reserved.
+ * Licensed under the Apache License, Version 2.0 (the 'License');
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an 'AS IS' BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+var hxe,pxe,mxe,_xe,gxe,fxe,vxe,bxe,yxe,$xe,xxe,Sxe,wxe,Axe=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};const Cxe=document.createElement("canvas"),Exe=Symbol("fallbackResizeHandler"),Ixe=Symbol("defaultAriaLabel"),Mxe=Symbol("resizeObserver"),kxe=Symbol("clearModelTimeout"),Txe=Symbol("onContextLost"),Rxe=Symbol("loaded"),Lxe=Symbol("status"),Pxe=Symbol("onFocus"),Dxe=Symbol("onBlur"),Nxe=Symbol("updateSize"),Fxe=Symbol("intersectionObserver"),Oxe=Symbol("isElementInViewport"),Bxe=Symbol("announceModelVisibility"),Uxe=Symbol("ariaLabel"),Vxe=Symbol("altDefaulted"),zxe=Symbol("statusElement"),Hxe=Symbol("updateStatus"),Gxe=Symbol("loadedTime"),jxe=Symbol("updateSource"),Jxe=Symbol("markLoaded"),Wxe=Symbol("container"),Qxe=Symbol("input"),qxe=Symbol("canvas"),Yxe=Symbol("scene"),Xxe=Symbol("needsRender"),Kxe=Symbol("tick"),Zxe=Symbol("onModelLoad"),eSe=Symbol("onResize"),tSe=Symbol("renderer"),rSe=Symbol("progressTracker"),nSe=Symbol("getLoaded"),iSe=Symbol("getModelIsVisible"),oSe=Symbol("shouldAttemptPreload"),sSe=e=>({x:e.x,y:e.y,z:e.z,toString(){return`${this.x}m ${this.y}m ${this.z}m`}}),aSe=e=>({u:e.x,v:e.y,toString(){return`${this.u} ${this.v}`}});class lSe extends u_e{static get is(){return"model-viewer"}static set modelCacheSize(e){Yge[Qge].evictionThreshold=e}static get modelCacheSize(){return Yge[Qge].evictionThreshold}static set minimumRenderScale(e){e>1&&console.warn("<model-viewer> minimumRenderScale has been clamped to a maximum value of 1."),e<=0&&console.warn("<model-viewer> minimumRenderScale has been clamped to a minimum value of 0.25."),aye.singleton.minScale=e}static get minimumRenderScale(){return aye.singleton.minScale}get loaded(){return this[nSe]()}get[(hxe=Oxe,pxe=Rxe,mxe=Gxe,_xe=Lxe,gxe=kxe,fxe=Exe,vxe=Bxe,bxe=Mxe,yxe=Fxe,$xe=rSe,tSe)](){return aye.singleton}get modelIsVisible(){return this[iSe]()}constructor(){super(),this.alt=null,this.src=null,this.withCredentials=!1,this.generateSchema=!1,this[hxe]=!1,this[pxe]=!1,this[mxe]=0,this[_xe]="",this[gxe]=null,this[fxe]=fge(()=>{const e=this.getBoundingClientRect();this[Nxe](e)},50),this[vxe]=fge(e=>{const t=this.modelIsVisible;t!==e&&this.dispatchEvent(new CustomEvent("model-visibility",{detail:{visible:t}}))},0),this[bxe]=null,this[yxe]=null,this[$xe]=new dxe,this[xxe]=()=>{this[zxe].textContent=this[Lxe]},this[Sxe]=()=>{this[zxe].textContent=""},this[wxe]=e=>{this.dispatchEvent(new CustomEvent("error",{detail:{type:"webglcontextlost",sourceError:e.sourceEvent}}))},this.attachShadow({mode:"open"});const e=this.shadowRoot;let t,r;if((e=>{K_e(Age,e)})(e),this[Wxe]=e.querySelector(".container"),this[Qxe]=e.querySelector(".userInput"),this[qxe]=e.querySelector("canvas"),this[zxe]=e.querySelector("#status"),this[Ixe]=this[Qxe].getAttribute("aria-label"),this.isConnected){const e=this.getBoundingClientRect();t=e.width,r=e.height}else t=300,r=150;this[Yxe]=new uxe({canvas:this[qxe],element:this,width:t,height:r}),Promise.resolve().then(()=>{this[Nxe](this.getBoundingClientRect())}),ige&&(this[Mxe]=new ResizeObserver(e=>{if(!this[tSe].isPresenting)for(let t of e)t.target===this&&this[Nxe](t.contentRect)})),oge?this[Fxe]=new IntersectionObserver(e=>{for(let t of e)if(t.target===this){const e=this.modelIsVisible;this[Oxe]=t.isIntersecting,this[Bxe](e),this[Oxe]&&!this.loaded&&this[jxe]()}},{root:null,rootMargin:"0px",threshold:1e-5}):this[Oxe]=!0}connectedCallback(){super.connectedCallback&&super.connectedCallback(),ige?this[Mxe].observe(this):self.addEventListener("resize",this[Exe]),oge&&this[Fxe].observe(this),this.addEventListener("focus",this[Pxe]),this.addEventListener("blur",this[Dxe]);const e=this[tSe];e.addEventListener("contextlost",this[Txe]),e.registerScene(this[Yxe]),null!=this[kxe]&&(self.clearTimeout(this[kxe]),this[kxe]=null,this.requestUpdate("src",null))}disconnectedCallback(){super.disconnectedCallback&&super.disconnectedCallback(),ige?this[Mxe].unobserve(this):self.removeEventListener("resize",this[Exe]),oge&&this[Fxe].unobserve(this),this.removeEventListener("focus",this[Pxe]),this.removeEventListener("blur",this[Dxe]);const e=this[tSe];e.removeEventListener("contextlost",this[Txe]),e.unregisterScene(this[Yxe]),this[kxe]=self.setTimeout(()=>{this[Yxe].dispose(),this[kxe]=null},10)}updated(e){super.updated(e),e.has("src")&&(null==this.src?(this[Rxe]=!1,this[Gxe]=0,this[Yxe].reset()):this.src!==this[Yxe].url&&(this[Rxe]=!1,this[Gxe]=0,this[jxe]())),e.has("alt")&&this[Qxe].setAttribute("aria-label",this[Uxe]),e.has("generateSchema")&&(this.generateSchema?this[Yxe].updateSchema(this.src):this[Yxe].updateSchema(null))}toDataURL(e,t){return this[tSe].displayCanvas(this[Yxe]).toDataURL(e,t)}async toBlob(e){const t=e?e.mimeType:void 0,r=e?e.qualityArgument:void 0,n=e?e.idealAspect:void 0,{width:i,height:o,idealAspect:s,aspect:a}=this[Yxe],{dpr:l,scaleFactor:c}=this[tSe];let u=i*c*l,d=o*c*l,h=0,p=0;if(!0===n)if(s>a){const e=d;d=Math.round(u/s),p=(e-d)/2}else{const e=u;u=Math.round(d*s),h=(e-u)/2}Cxe.width=u,Cxe.height=d;try{return new Promise(async(e,n)=>{Cxe.getContext("2d").drawImage(this[tSe].displayCanvas(this[Yxe]),h,p,u,d,0,0,u,d),Cxe.toBlob(t=>{if(!t)return n(new Error("Unable to retrieve canvas blob"));e(t)},t,r)})}finally{this[Nxe]({width:i,height:o})}}registerEffectComposer(e){e.setRenderer(this[tSe].threeRenderer),e.setMainCamera(this[Yxe].getCamera()),e.setMainScene(this[Yxe]),this[Yxe].effectRenderer=e}unregisterEffectComposer(){this[Yxe].effectRenderer=null}registerRenderer(e){this[Yxe].externalRenderer=e}unregisterRenderer(){this[Yxe].externalRenderer=null}get[Uxe](){return this[Vxe]}get[Vxe](){return null==this.alt||"null"===this.alt?this[Ixe]:this.alt}[nSe](){return this[Rxe]}[iSe](){return this.loaded&&this[Oxe]}[oSe](){return!!this.src&&this[Oxe]}[Nxe]({width:e,height:t}){0!==e&&0!==t&&(this[Wxe].style.width=`${e}px`,this[Wxe].style.height=`${t}px`,this[eSe]({width:e,height:t}))}[Kxe](e,t){var r;null===(r=this[Yxe].effectRenderer)||void 0===r||r.beforeRender(e,t)}[Jxe](){this[Rxe]||(this[Rxe]=!0,this[Gxe]=performance.now())}[Xxe](){this[Yxe].queueRender()}[Zxe](){}[Hxe](e){this[Lxe]=e;const t=this.getRootNode();null!=t&&t.activeElement===this&&this[zxe].textContent!=e&&(this[zxe].textContent=e)}[(xxe=Pxe,Sxe=Dxe,eSe)](e){this[Yxe].setSize(e.width,e.height)}async[(wxe=Txe,jxe)](){const e=this[Yxe];if(this.loaded||!this[oSe]()||this.src===e.url)return;this.generateSchema&&e.updateSchema(this.src),this[Hxe]("Loading"),e.stopAnimation();const t=this[rSe].beginActivity("model-load"),r=this.src;try{const n=e.setSource(r,e=>t(.95*vge(e,0,1))),i=this[Sge]();await Promise.all([n,i]),this[Jxe](),this[Zxe](),this.updateComplete.then(()=>{this.dispatchEvent(new CustomEvent("before-render"))}),await new Promise(e=>{requestAnimationFrame(()=>{requestAnimationFrame(()=>{this.dispatchEvent(new CustomEvent("load",{detail:{url:r}})),e()})})})}catch(e){this.dispatchEvent(new CustomEvent("error",{detail:{type:"loadfailure",sourceError:e}}))}finally{t(1)}}}Axe([p_e({type:String})],lSe.prototype,"alt",void 0),Axe([p_e({type:String})],lSe.prototype,"src",void 0),Axe([p_e({type:Boolean,attribute:"with-credentials"})],lSe.prototype,"withCredentials",void 0),Axe([p_e({type:Boolean,attribute:"generate-schema"})],lSe.prototype,"generateSchema",void 0);
+/* @license
+ * Copyright 2019 Google LLC. All Rights Reserved.
+ * Licensed under the Apache License, Version 2.0 (the 'License');
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an 'AS IS' BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+var cSe=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};const uSe=Symbol("changeAnimation"),dSe=Symbol("appendAnimation"),hSe=Symbol("detachAnimation"),pSe=Symbol("paused"),mSe={repetitions:1/0,pingpong:!1},_Se={pingpong:!1,repetitions:null,weight:1,timeScale:1,fade:!1,warp:!1,relativeWarp:!0,time:null},gSe={fade:!0},fSe=Symbol("hotspotMap"),vSe=Symbol("mutationCallback"),bSe=Symbol("observer"),ySe=Symbol("addHotspot"),$Se=Symbol("removeHotspot"),xSe=new xn;
+/* @license
+ * Copyright 2019 Google LLC. All Rights Reserved.
+ * Licensed under the Apache License, Version 2.0 (the 'License');
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an 'AS IS' BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+var SSe=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};let wSe=!1,ASe=!1;const CSe="#model-viewer-no-ar-fallback",ESe=(ISe=["quick-look","scene-viewer","webxr","none"],e=>{try{const t=afe(e),r=(t.length?t[0].terms:[]).filter(e=>e&&"ident"===e.type).map(e=>e.value).filter(e=>ISe.indexOf(e)>-1);return new Set(r)}catch(e){}return new Set});var ISe;const MSe="quick-look",kSe="scene-viewer",TSe="webxr",RSe="none",LSe=Symbol("arButtonContainer"),PSe=Symbol("enterARWithWebXR"),DSe=Symbol("openSceneViewer"),NSe=Symbol("openIOSARQuickLook"),FSe=Symbol("canActivateAR"),OSe=Symbol("arMode"),BSe=Symbol("arModes"),USe=Symbol("arAnchor"),VSe=Symbol("preload"),zSe=Symbol("onARButtonContainerClick"),HSe=Symbol("onARStatus"),GSe=Symbol("onARTracking"),jSe=Symbol("onARTap"),JSe=Symbol("selectARMode"),WSe=Symbol("triggerLoad");
+/* @license
+ * Copyright 2019 Google LLC. All Rights Reserved.
+ * Licensed under the Apache License, Version 2.0 (the 'License');
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an 'AS IS' BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+var QSe=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};const qSe="auto",YSe="auto",XSe="eager",KSe=Symbol("defaultProgressBarElement"),ZSe=Symbol("posterContainerElement"),ewe=Symbol("defaultPosterElement"),twe=Symbol("shouldDismissPoster"),rwe=Symbol("hidePoster"),nwe=Symbol("modelIsRevealed"),iwe=Symbol("updateProgressBar"),owe=Symbol("ariaLabelCallToAction"),swe=Symbol("onProgress");
+/* @license
+ * Copyright 2019 Google LLC. All Rights Reserved.
+ * Licensed under the Apache License, Version 2.0 (the 'License');
+ * you may not use this file except in compliance with the License.
+ * You may obtain a copy of the License at
+ *
+ *     http://www.apache.org/licenses/LICENSE-2.0
+ *
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an 'AS IS' BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+var awe=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};const lwe=Math.PI/32,cwe={basis:[gfe(sfe(lwe,"rad"))],keywords:{auto:[null]}},uwe=Symbol("autoRotateStartTime"),dwe=Symbol("radiansPerSecond"),hwe=Symbol("syncRotationRate"),pwe=Symbol("onCameraChange"),mwe=(e=>{var t,r,n;class i extends e{constructor(){super(...arguments),this[t]=new Map,this[r]=e=>{e.forEach(e=>{e instanceof MutationRecord&&"childList"!==e.type||(e.addedNodes.forEach(e=>{this[ySe](e)}),e.removedNodes.forEach(e=>{this[$Se](e)}),this[Xxe]())})},this[n]=new MutationObserver(this[vSe])}connectedCallback(){super.connectedCallback();for(let e=0;e<this.children.length;++e)this[ySe](this.children[e]);const{ShadyDOM:e}=self;null==e?this[bSe].observe(this,{childList:!0}):this[bSe]=e.observeChildren(this,this[vSe])}disconnectedCallback(){super.disconnectedCallback();const{ShadyDOM:e}=self;null==e?this[bSe].disconnect():e.unobserveChildren(this[bSe])}[(t=fSe,r=vSe,n=bSe,Zxe)](){super[Zxe]();const e=this[Yxe];e.forHotspots(t=>{e.updateSurfaceHotspot(t)})}[Kxe](e,t){super[Kxe](e,t);const r=this[Yxe],{annotationRenderer:n}=r,i=r.getCamera();r.shouldRender()&&(r.animateSurfaceHotspots(),r.updateHotspotsVisibility(i.position),n.domElement.style.display="",n.render(r,i))}updateHotspot(e){const t=this[fSe].get(e.name);null!=t&&(t.updatePosition(e.position),t.updateNormal(e.normal),t.surface=e.surface,this[Yxe].updateSurfaceHotspot(t),this[Xxe]())}queryHotspot(e){const t=this[fSe].get(e);if(null==t)return null;const r=sSe(t.position),n=sSe(t.normal),i=t.facingCamera,o=this[Yxe],s=o.getCamera(),a=new br;a.setFromMatrixPosition(t.matrixWorld),a.project(s);const l=o.width/2,c=o.height/2;a.x=a.x*l+l,a.y=-a.y*c+c;const u=sSe(new br(a.x,a.y,a.z));return Number.isFinite(u.x)&&Number.isFinite(u.y)?{position:r,normal:n,canvasPosition:u,facingCamera:i}:null}positionAndNormalFromPoint(e,t){const r=this[Yxe],n=r.getNDC(e,t),i=r.positionAndNormalFromPoint(n);if(null==i)return null;xSe.copy(r.target.matrixWorld).invert();const o=sSe(i.position.applyMatrix4(xSe)),s=sSe(i.normal.transformDirection(xSe));let a=null;return null!=i.uv&&(a=aSe(i.uv)),{position:o,normal:s,uv:a}}surfaceFromPoint(e,t){const r=this[Yxe],n=r.getNDC(e,t);return r.surfaceFromPoint(n)}[ySe](e){if(!(e instanceof HTMLElement&&0===e.slot.indexOf("hotspot")))return;let t=this[fSe].get(e.slot);null!=t?t.increment():(t=new txe({name:e.slot,position:e.dataset.position,normal:e.dataset.normal,surface:e.dataset.surface}),this[fSe].set(e.slot,t),this[Yxe].addHotspot(t)),this[Yxe].queueRender()}[$Se](e){if(!(e instanceof HTMLElement))return;const t=this[fSe].get(e.slot);t&&(t.decrement()&&(this[Yxe].removeHotspot(t),this[fSe].delete(e.slot)),this[Yxe].queueRender())}}return i})((e=>{var t,r,n;class i extends e{constructor(){super(...arguments),this[t]=void 0,this[r]=null,this[n]=null,this.variantName=null,this.orientation="0 0 0",this.scale="1 1 1"}get model(){return this[j$e]}get availableVariants(){return this.model?this.model[F$e]():[]}get originalGltfJson(){return this[G$e]}[(t=j$e,r=H$e,n=G$e,J$e)](){return()=>{this[Xxe]()}}[W$e](e){return e.colorSpace=zt,e.wrapS=ye,e.wrapT=ye,new Dye(this[J$e](),e)}async createTexture(e,t="image/png"){const{textureUtils:r}=this[tSe],n=await r.loadImage(e,this.withCredentials);return n.userData.mimeType=t,this[W$e](n)}async createLottieTexture(e,t=1){const{textureUtils:r}=this[tSe],n=await r.loadLottie(e,t,this.withCredentials);return this[W$e](n)}createVideoTexture(e){const t=document.createElement("video");t.crossOrigin=this.withCredentials?"use-credentials":"anonymous",t.src=e,t.muted=!0,t.playsInline=!0,t.loop=!0,t.play();const r=new Os(t);return this[W$e](r)}createCanvasTexture(){const e=document.createElement("canvas"),t=new Hs(e);return this[W$e](t)}async updated(e){if(super.updated(e),e.has("variantName")){const e=this[rSe].beginActivity("variant-update");e(.1);const t=this[j$e],{variantName:r}=this;null!=t&&(await t[R$e](r),this[Xxe](),this.dispatchEvent(new CustomEvent("variant-applied"))),e(1)}if(e.has("orientation")||e.has("scale")){if(!this.loaded)return;const e=this[Yxe];e.applyTransform(),e.updateBoundingBox(),e.updateShadow(),this[tSe].arRenderer.onUpdateScene(),this[Xxe]()}}[Zxe](){super[Zxe]();const{currentGLTF:e}=this[Yxe];if(null!=e){const{correlatedSceneGraph:t}=e;null!=t&&e!==this[H$e]&&(this[j$e]=new V$e(t,this[J$e]()),this[G$e]=JSON.parse(JSON.stringify(t.gltf))),"variants"in e.userData&&this.requestUpdate("variantName")}this[H$e]=e}async exportScene(e){const t=this[Yxe];return new Promise(async(r,n)=>{const i={binary:!0,onlyVisible:!0,maxTextureSize:1/0,includeCustomExtensions:!1,forceIndices:!1};Object.assign(i,e),i.animations=t.animations,i.truncateDrawRange=!0;const o=t.shadow;let s=!1;null!=o&&(s=o.visible,o.visible=!1),await this[j$e][T$e]();(new Zg).register(e=>new Zge(e)).parse(t.model,e=>r(new Blob([i.binary?e:JSON.stringify(e)],{type:i.binary?"application/octet-stream":"application/json"})),()=>n("glTF export failed"),i),null!=o&&(o.visible=s)})}materialFromPoint(e,t){const r=this[j$e];if(null==r)return null;const n=this[Yxe],i=n.getNDC(e,t),o=n.hitFromPoint(i);return null==o||null==o.face?null:r[L$e](o)}}return z$e([p_e({type:String,attribute:"variant-name"})],i.prototype,"variantName",void 0),z$e([p_e({type:String,attribute:"orientation"})],i.prototype,"orientation",void 0),z$e([p_e({type:String,attribute:"scale"})],i.prototype,"scale",void 0),i})((e=>{var t,r,n;class i extends e{constructor(){super(...arguments),this.autoRotate=!1,this.autoRotateDelay=3e3,this.rotationPerSecond="auto",this[t]=performance.now(),this[r]=0,this[n]=e=>{this.autoRotate&&"user-interaction"===e.detail.source&&(this[uwe]=performance.now())}}connectedCallback(){super.connectedCallback(),this.addEventListener("camera-change",this[pwe]),this[uwe]=performance.now()}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("camera-change",this[pwe]),this[uwe]=performance.now()}updated(e){super.updated(e),e.has("autoRotate")&&(this[uwe]=performance.now())}[(t=uwe,r=dwe,hwe)](e){this[dwe]=e[0]}[Kxe](e,t){if(super[Kxe](e,t),!this.autoRotate||!this[iSe]()||this[tSe].isPresenting)return;const r=Math.min(t,e-this[uwe]-this.autoRotateDelay);r>0&&(this[Yxe].yaw=this.turntableRotation+this[dwe]*r*.001)}get turntableRotation(){return this[Yxe].yaw}resetTurntableRotation(e=0){this[Yxe].yaw=e}}return n=pwe,awe([p_e({type:Boolean,attribute:"auto-rotate"})],i.prototype,"autoRotate",void 0),awe([p_e({type:Number,attribute:"auto-rotate-delay"})],i.prototype,"autoRotateDelay",void 0),awe([rve({intrinsics:cwe,updateHandler:hwe}),p_e({type:String,attribute:"rotation-per-second"})],i.prototype,"rotationPerSecond",void 0),i})((e=>{var t,r,n;class i extends e{constructor(){super(...arguments),this.environmentImage=null,this.skyboxImage=null,this.shadowIntensity=0,this.shadowSoftness=1,this.exposure=1,this.toneMapping="auto",this.skyboxHeight="0",this[t]=null,this[r]=null,this[n]=null}updated(e){super.updated(e),e.has("shadowIntensity")&&(this[Yxe].setShadowIntensity(.5*this.shadowIntensity),this[Xxe]()),e.has("shadowSoftness")&&(this[Yxe].setShadowSoftness(this.shadowSoftness),this[Xxe]()),e.has("exposure")&&(this[Yxe].exposure=this.exposure,this[Xxe]()),e.has("toneMapping")&&(this[Yxe].toneMapping="aces"===this.toneMapping?4:"agx"===this.toneMapping?6:"reinhard"===this.toneMapping?2:"cineon"===this.toneMapping?3:"linear"===this.toneMapping?1:"none"===this.toneMapping?0:7,this[Xxe]()),(e.has("environmentImage")||e.has("skyboxImage"))&&this[oSe]()&&this[Sge](),e.has("skyboxHeight")&&(this[Yxe].setGroundedSkybox(),this[Xxe]())}hasBakedShadow(){return this[Yxe].bakedShadows.size>0}async[(t=$ge,r=xge,n=wge,Sge)](){const{skyboxImage:e,environmentImage:t}=this;null!=this[wge]&&(this[wge](),this[wge]=null);const{textureUtils:r}=this[tSe];if(null==r)return;const n=this[rSe].beginActivity("environment-update");try{const{environmentMap:i,skybox:o}=await r.generateEnvironmentMapAndSkybox(mge(e),t,e=>n(vge(e,0,1)),this.withCredentials);this[$ge]!==i&&(this[$ge]=i,this.dispatchEvent(new CustomEvent("environment-change"))),this[xge]=null!=o?o.name===i.name?i:o:null,this[Yxe].setEnvironmentAndSkybox(this[$ge],this[xge])}catch(e){if(e instanceof Error)throw this[Yxe].setEnvironmentAndSkybox(null,null),e}finally{n(1)}}}return yge([p_e({type:String,attribute:"environment-image"})],i.prototype,"environmentImage",void 0),yge([p_e({type:String,attribute:"skybox-image"})],i.prototype,"skyboxImage",void 0),yge([p_e({type:Number,attribute:"shadow-intensity"})],i.prototype,"shadowIntensity",void 0),yge([p_e({type:Number,attribute:"shadow-softness"})],i.prototype,"shadowSoftness",void 0),yge([p_e({type:Number})],i.prototype,"exposure",void 0),yge([p_e({type:String,attribute:"tone-mapping"})],i.prototype,"toneMapping",void 0),yge([p_e({type:String,attribute:"skybox-height"})],i.prototype,"skyboxHeight",void 0),i})((e=>{var t,r,n,i,o,s,a,l,c,u,d,h,p,m,_,g,f,v;class b extends e{constructor(){super(...arguments),this.cameraControls=!1,this.cameraOrbit=cve,this.cameraTarget="auto auto auto",this.fieldOfView="auto",this.minCameraOrbit="auto",this.maxCameraOrbit="auto",this.minFieldOfView="auto",this.maxFieldOfView="auto",this.interactionPromptThreshold=3e3,this.interactionPrompt=hve,this.interactionPromptStyle=mve,this.orbitSensitivity=1,this.zoomSensitivity=1,this.panSensitivity=1,this.touchAction=_ve,this.disableZoom=!1,this.disablePan=!1,this.disableTap=!1,this.interpolationDecay=50,this.a11y=null,this[t]=this.shadowRoot.querySelector(".interaction-prompt"),this[r]=this.shadowRoot.querySelector("#prompt"),this[n]=[this.shadowRoot.querySelector("#finger0"),this.shadowRoot.querySelector("#finger1")],this[i]=this.shadowRoot.querySelector(".pan-target"),this[o]=0,this[s]=1/0,this[a]=!1,this[l]=!1,this[c]=sbe.AUTOMATIC,this[u]=new abe(this[Yxe].camera,this[Qxe],this[Yxe]),this[d]=new Rc,this[h]=!1,this[p]=!1,this[m]=!1,this[_]={},this[g]=()=>{const e=this[Cve].changeSource;this[Hve]=e,e===sbe.USER_INTERACTION&&(this[Uve]=!0,this[Tve]())},this[f]=()=>{this[Rve](),this[Xxe]();const e=this[Cve].changeSource;this.dispatchEvent(new CustomEvent("camera-change",{detail:{source:e}}))},this[v]=e=>{this[Wxe].classList.toggle("pointer-tumbling","pointer-change-start"===e.type)}}get inputSensitivity(){return this[Cve].inputSensitivity}set inputSensitivity(e){this[Cve].inputSensitivity=e}getCameraOrbit(){const{theta:e,phi:t,radius:r}=this[Gve];return{theta:e,phi:t,radius:r,toString(){return`${this.theta}rad ${this.phi}rad ${this.radius}m`}}}getCameraTarget(){return sSe(this[tSe].isPresenting?this[tSe].arRenderer.target:this[Yxe].getDynamicTarget())}getFieldOfView(){return this[Cve].getFieldOfView()}getMinimumFieldOfView(){return this[Cve].options.minimumFieldOfView}getMaximumFieldOfView(){return this[Cve].options.maximumFieldOfView}getIdealAspect(){return this[Yxe].idealAspect}jumpCameraToGoal(){this[jve]=!0,this.requestUpdate(jve,!1)}resetInteractionPrompt(){this[zve]=0,this[Vve]=1/0,this[Uve]=!1,this[Bve]=this.interactionPrompt===hve&&this.cameraControls}zoom(e){const t=new WheelEvent("wheel",{deltaY:-30*e});this[Qxe].dispatchEvent(t)}connectedCallback(){super.connectedCallback(),this[Cve].addEventListener("user-interaction",this[Nve]),this[Cve].addEventListener("pointer-change-start",this[Ove]),this[Cve].addEventListener("pointer-change-end",this[Ove])}disconnectedCallback(){super.disconnectedCallback(),this[Cve].removeEventListener("user-interaction",this[Nve]),this[Cve].removeEventListener("pointer-change-start",this[Ove]),this[Cve].removeEventListener("pointer-change-end",this[Ove])}updated(e){super.updated(e);const t=this[Cve],r=this[Yxe];if(e.has("cameraControls")&&(this.cameraControls?(t.enableInteraction(),this.interactionPrompt===hve&&(this[Bve]=!0)):(t.disableInteraction(),this[Tve]()),this[Qxe].setAttribute("aria-label",this[Uxe])),e.has("disableZoom")&&(t.disableZoom=this.disableZoom),e.has("disablePan")&&(t.enablePan=!this.disablePan),e.has("disableTap")&&(t.enableTap=!this.disableTap),(e.has("interactionPrompt")||e.has("cameraControls")||e.has("src"))&&(this.interactionPrompt===hve&&this.cameraControls&&!this[Uve]?this[Bve]=!0:this[Tve]()),e.has("interactionPromptStyle")&&(this[Mve].style.opacity=this.interactionPromptStyle==pve?"1":"0"),e.has("touchAction")){const e=this.touchAction;t.applyOptions({touchAction:e}),t.updateTouchActionStyle()}e.has("orbitSensitivity")&&(t.orbitSensitivity=this.orbitSensitivity),e.has("zoomSensitivity")&&(t.zoomSensitivity=this.zoomSensitivity),e.has("panSensitivity")&&(t.panSensitivity=this.panSensitivity),e.has("interpolationDecay")&&(t.setDamperDecayTime(this.interpolationDecay),r.setTargetDamperDecayTime(this.interpolationDecay)),e.has("a11y")&&this[Pve](),!0===this[jve]&&Promise.resolve().then(()=>{t.jumpToGoal(),r.jumpToGoal(),this[Fve](),this[jve]=!1})}async updateFraming(){const e=this[Yxe],t=e.adjustedFoV(e.framedFoVDeg);await e.updateFraming();const r=e.adjustedFoV(e.framedFoVDeg),n=this[Cve].getFieldOfView()/t;this[Cve].setFieldOfView(r*n),this[Wve]=!0,this.requestUpdate("maxFieldOfView"),this.requestUpdate("fieldOfView"),this.requestUpdate("minCameraOrbit"),this.requestUpdate("maxCameraOrbit"),this.requestUpdate("cameraOrbit"),await this.updateComplete}interact(e,t,r){const n=this[Qxe],i=this[kve];if("1"===i[0].style.opacity)return void console.warn("interact() failed because an existing interaction is running.");const o=new Array;o.push({x:ove(t.x),y:ove(t.y)});const s=[{x:o[0].x(0),y:o[0].y(0)}];null!=r&&(o.push({x:ove(r.x),y:ove(r.y)}),s.push({x:o[1].x(0),y:o[1].y(0)}));let a=performance.now();const{width:l,height:c}=this[Yxe],u=this.getBoundingClientRect(),d=e=>{for(const[t,r]of s.entries()){const{style:o}=i[t];o.transform=`translateX(${l*r.x}px) translateY(${c*r.y}px)`,"pointerdown"===e?o.opacity="1":"pointerup"===e&&(o.opacity="0");const s={pointerId:t-5678,pointerType:"touch",target:n,clientX:l*r.x+u.x,clientY:c*r.y+u.y,altKey:!0};n.dispatchEvent(new PointerEvent(e,s))}},h=()=>{const t=this[Hve];if(t!==sbe.AUTOMATIC||!n.isConnected){for(const e of this[kve])e.style.opacity="0";return d("pointercancel"),this.dispatchEvent(new CustomEvent("interact-stopped",{detail:{source:t}})),void document.removeEventListener("visibilitychange",p)}const r=Math.min(1,(performance.now()-a)/e);for(const[e,t]of s.entries())t.x=o[e].x(r),t.y=o[e].y(r);d("pointermove"),r<1?requestAnimationFrame(h):(d("pointerup"),this.dispatchEvent(new CustomEvent("interact-stopped",{detail:{source:sbe.AUTOMATIC}})),document.removeEventListener("visibilitychange",p))},p=()=>{let e=0;"hidden"===document.visibilityState?e=performance.now()-a:a=performance.now()-e};document.addEventListener("visibilitychange",p),d("pointerdown"),this[Hve]=sbe.AUTOMATIC,requestAnimationFrame(h)}[(t=Ive,r=Mve,n=kve,i=Eve,o=zve,s=Vve,a=Uve,l=Bve,c=Hve,u=Cve,d=Gve,h=jve,p=Jve,m=Wve,_=Lve,qve)](e){const t=this[Cve],r=this[Yxe];r.framedFoVDeg=180*e[0]/Math.PI,t.changeSource=sbe.NONE,t.setFieldOfView(r.adjustedFoV(r.framedFoVDeg)),this[Nve]()}[Qve](e){const t=this[Cve];if(this[Wve]){const{theta:t,phi:r}=this.getCameraOrbit();e[0]=t,e[1]=r,this[Wve]=!1}t.changeSource=sbe.NONE,t.setOrbit(e[0],e[1],e[2]),this[Nve]()}[Xve](e){this[Cve].applyOptions({minimumAzimuthalAngle:e[0],minimumPolarAngle:e[1],minimumRadius:e[2]}),this.jumpCameraToGoal()}[Kve](e){this[Cve].applyOptions({maximumAzimuthalAngle:e[0],maximumPolarAngle:e[1],maximumRadius:e[2]}),this[Dve](e[2]),this.jumpCameraToGoal()}[Zve](e){this[Cve].applyOptions({minimumFieldOfView:180*e[0]/Math.PI}),this.jumpCameraToGoal()}[ebe](e){const t=this[Yxe].adjustedFoV(180*e[0]/Math.PI);this[Cve].applyOptions({maximumFieldOfView:t}),this.jumpCameraToGoal()}[Yve](e){const[t,r,n]=e;this[tSe].arRenderer.isPresenting||this[Yxe].setTarget(t,r,n),this[Cve].changeSource=sbe.NONE,this[tSe].arRenderer.updateTarget(),this[Nve]()}[Kxe](e,t){if(super[Kxe](e,t),this[tSe].isPresenting||!this[iSe]())return;const r=this[Cve],n=this[Yxe],i=performance.now();if(this[Bve]&&this.loaded&&i>this[Gxe]+this.interactionPromptThreshold&&(this[Bve]=!1,this[Vve]=i,this[Ive].classList.add("visible")),isFinite(this[Vve])&&this.interactionPromptStyle===mve){const e=(i-this[Vve])/5e3%1,t=ave(e),o=lve(e);if(this[Mve].style.opacity=`${o}`,t!==this[zve]){const e=t*n.width*.05,i=(t-this[zve])*Math.PI/16;this[Mve].style.transform=`translateX(${e}px)`,r.changeSource=sbe.AUTOMATIC,r.adjustOrbit(i,0,0),this[zve]=t}}const o=r.update(e,t),s=n.updateTarget(t);(o||s)&&this[Fve]()}[Tve](){this[Bve]=!1,this[Ive].classList.remove("visible"),this[Vve]=1/0}[Dve](e){const t=Math.max(this[Yxe].farRadius(),e),r=Math.abs(2*t);this[Cve].updateNearFar(0,r)}[Rve](){const{theta:e,phi:t}=this[Cve].getCameraSpherical(this[Gve]),r=(4+Math.floor((e%Ave+wve)/xve))%4,n=Math.floor(t/Sve),i=`${dve[n]}${uve[r]}`,o=i;o in this[Lve]?this[Hxe](this[Lve][o]):this[Hxe](`View from stage ${i}`)}get[Uxe](){let e=". Use mouse, touch or arrow keys to move.";return"interaction-prompt"in this[Lve]&&(e=`. ${this[Lve]["interaction-prompt"]}`),super[Uxe].replace(/\.$/,"")+(this.cameraControls?e:"")}async[eSe](e){const t=this[Cve],r=this[Yxe],n=r.adjustedFoV(r.framedFoVDeg);super[eSe](e);const i=r.adjustedFoV(r.framedFoVDeg)/n,o=t.getFieldOfView()*(isFinite(i)?i:1);t.updateAspect(this[Yxe].aspect),this.requestUpdate("maxFieldOfView",this.maxFieldOfView),await this.updateComplete,this[Cve].setFieldOfView(o),this.jumpCameraToGoal()}[Zxe](){super[Zxe](),this[Jve]?this[Wve]=!0:this[Jve]=!0,this.requestUpdate("maxFieldOfView",this.maxFieldOfView),this.requestUpdate("fieldOfView",this.fieldOfView),this.requestUpdate("minCameraOrbit",this.minCameraOrbit),this.requestUpdate("maxCameraOrbit",this.maxCameraOrbit),this.requestUpdate("cameraOrbit",this.cameraOrbit),this.requestUpdate("cameraTarget",this.cameraTarget),this.jumpCameraToGoal()}[(g=Nve,f=Fve,v=Ove,Pve)](){if("string"==typeof this.a11y)if(this.a11y.startsWith("{"))try{this[Lve]=JSON.parse(this.a11y)}catch(e){console.warn("Error parsing a11y JSON:",e)}else this.a11y.length>0?console.warn("Error not supported format, should be a JSON string:",this.a11y):this[Lve]={};else"object"==typeof this.a11y&&null!=this.a11y?this[Lve]=Object.assign({},this.a11y):this[Lve]={};this[Qxe].setAttribute("aria-label",this[Uxe])}}return sve([p_e({type:Boolean,attribute:"camera-controls"})],b.prototype,"cameraControls",void 0),sve([rve({intrinsics:vve,observeEffects:!0,updateHandler:Qve}),p_e({type:String,attribute:"camera-orbit",hasChanged:()=>!0})],b.prototype,"cameraOrbit",void 0),sve([rve({intrinsics:$ve,observeEffects:!0,updateHandler:Yve}),p_e({type:String,attribute:"camera-target",hasChanged:()=>!0})],b.prototype,"cameraTarget",void 0),sve([rve({intrinsics:gve,observeEffects:!0,updateHandler:qve}),p_e({type:String,attribute:"field-of-view",hasChanged:()=>!0})],b.prototype,"fieldOfView",void 0),sve([rve({intrinsics:bve,updateHandler:Xve}),p_e({type:String,attribute:"min-camera-orbit",hasChanged:()=>!0})],b.prototype,"minCameraOrbit",void 0),sve([rve({intrinsics:yve,updateHandler:Kve}),p_e({type:String,attribute:"max-camera-orbit",hasChanged:()=>!0})],b.prototype,"maxCameraOrbit",void 0),sve([rve({intrinsics:fve,updateHandler:Zve}),p_e({type:String,attribute:"min-field-of-view",hasChanged:()=>!0})],b.prototype,"minFieldOfView",void 0),sve([rve({intrinsics:gve,updateHandler:ebe}),p_e({type:String,attribute:"max-field-of-view",hasChanged:()=>!0})],b.prototype,"maxFieldOfView",void 0),sve([p_e({type:Number,attribute:"interaction-prompt-threshold"})],b.prototype,"interactionPromptThreshold",void 0),sve([p_e({type:String,attribute:"interaction-prompt"})],b.prototype,"interactionPrompt",void 0),sve([p_e({type:String,attribute:"interaction-prompt-style"})],b.prototype,"interactionPromptStyle",void 0),sve([p_e({type:Number,attribute:"orbit-sensitivity"})],b.prototype,"orbitSensitivity",void 0),sve([p_e({type:Number,attribute:"zoom-sensitivity"})],b.prototype,"zoomSensitivity",void 0),sve([p_e({type:Number,attribute:"pan-sensitivity"})],b.prototype,"panSensitivity",void 0),sve([p_e({type:String,attribute:"touch-action"})],b.prototype,"touchAction",void 0),sve([p_e({type:Boolean,attribute:"disable-zoom"})],b.prototype,"disableZoom",void 0),sve([p_e({type:Boolean,attribute:"disable-pan"})],b.prototype,"disablePan",void 0),sve([p_e({type:Boolean,attribute:"disable-tap"})],b.prototype,"disableTap",void 0),sve([p_e({type:Number,attribute:"interpolation-decay"})],b.prototype,"interpolationDecay",void 0),sve([p_e()],b.prototype,"a11y",void 0),b})((e=>{var t,r,n,i,o,s,a,l,c,u;class d extends e{constructor(){super(...arguments),this.ar=!1,this.arScale="auto",this.arUsdzMaxTextureSize="auto",this.arPlacement="floor",this.arModes="webxr scene-viewer quick-look",this.iosSrc=null,this.xrEnvironment=!1,this[t]=!1,this[r]=this.shadowRoot.querySelector(".ar-button"),this[n]=document.createElement("a"),this[i]=new Set,this[o]=RSe,this[s]=!1,this[a]=e=>{e.preventDefault(),this.activateAR()},this[l]=({status:e})=>{e!==cbe&&this[tSe].arRenderer.presentedScene!==this[Yxe]||(this.setAttribute("ar-status",e),this.dispatchEvent(new CustomEvent("ar-status",{detail:{status:e}})),e===cbe?this.removeAttribute("ar-tracking"):e===ube&&this.setAttribute("ar-tracking",pbe))},this[c]=({status:e})=>{this.setAttribute("ar-tracking",e),this.dispatchEvent(new CustomEvent("ar-tracking",{detail:{status:e}}))},this[u]=e=>{"_apple_ar_quicklook_button_tapped"==e.data&&this.dispatchEvent(new CustomEvent("quick-look-button-tapped"))}}get canActivateAR(){return this[OSe]!==RSe}connectedCallback(){super.connectedCallback(),this[tSe].arRenderer.addEventListener("status",this[HSe]),this.setAttribute("ar-status",cbe),this[tSe].arRenderer.addEventListener("tracking",this[GSe]),this[USe].addEventListener("message",this[jSe])}disconnectedCallback(){super.disconnectedCallback(),this[tSe].arRenderer.removeEventListener("status",this[HSe]),this[tSe].arRenderer.removeEventListener("tracking",this[GSe]),this[USe].removeEventListener("message",this[jSe])}update(e){super.update(e),e.has("arScale")&&(this[Yxe].canScale="fixed"!==this.arScale),e.has("arPlacement")&&(this[Yxe].updateShadow(),this[Xxe]()),e.has("arModes")&&(this[BSe]=ESe(this.arModes)),(e.has("ar")||e.has("arModes")||e.has("src")||e.has("iosSrc")||e.has("arUsdzMaxTextureSize"))&&this[JSe]()}async activateAR(){switch(this[OSe]){case MSe:await this[NSe]();break;case TSe:await this[PSe]();break;case kSe:this[DSe]();break;default:console.warn("No AR Mode can be activated. This is probably due to missing configuration or device capabilities")}}async[(t=FSe,r=LSe,n=USe,i=BSe,o=OSe,s=VSe,a=zSe,l=HSe,c=GSe,u=jSe,JSe)](){var e;let t=RSe;if(this.ar){if(null!=this.src)for(const r of this[BSe]){if("webxr"===r&&sge&&!wSe&&await this[tSe].arRenderer.supportsPresentation()){t=TSe;break}if("scene-viewer"===r&&!ASe&&(dge||navigator.userAgentData&&navigator.userAgentData.getHighEntropyValues&&(null===(e=(await navigator.userAgentData.getHighEntropyValues(["formFactor"])).formFactor)||void 0===e?void 0:e.includes("XR")))){t=kSe;break}if("quick-look"===r&&pge){t=MSe;break}}t===RSe&&null!=this.iosSrc&&pge&&(t=MSe)}if(t!==RSe)this[LSe].classList.add("enabled"),this[LSe].addEventListener("click",this[zSe]);else if(this[LSe].classList.contains("enabled")){this[LSe].removeEventListener("click",this[zSe]),this[LSe].classList.remove("enabled");const e=hbe;this.setAttribute("ar-status",e),this.dispatchEvent(new CustomEvent("ar-status",{detail:{status:e}}))}this[OSe]=t}async[PSe](){console.log("Attempting to present in AR with WebXR..."),await this[WSe]();try{this[LSe].removeEventListener("click",this[zSe]);const{arRenderer:e}=this[tSe];e.placeOnWall="wall"===this.arPlacement,await e.present(this[Yxe],this.xrEnvironment)}catch(e){console.warn("Error while trying to present in AR with WebXR"),console.error(e),await this[tSe].arRenderer.stopPresenting(),wSe=!0,console.warn("Falling back to next ar-mode"),await this[JSe](),this.activateAR()}finally{this[JSe]()}}async[WSe](){this.loaded||(this[VSe]=!0,this[jxe](),await((e,t,r=null)=>new Promise(n=>{e.addEventListener(t,function i(o){r&&!r(o)||(n(o),e.removeEventListener(t,i))})}))(this,"load"),this[VSe]=!1)}[oSe](){return super[oSe]()||this[VSe]}[DSe](){const e=self.location.toString(),t=new URL(e),r=new URL(this.src,e);r.hash&&(r.hash="");const n=new URLSearchParams(r.search);if(t.hash=CSe,n.set("mode","ar_preferred"),n.has("disable_occlusion")||n.set("disable_occlusion","true"),"fixed"===this.arScale&&n.set("resizable","false"),"wall"===this.arPlacement&&n.set("enable_vertical_placement","true"),n.has("sound")){const t=new URL(n.get("sound"),e);n.set("sound",t.toString())}if(n.has("link")){const t=new URL(n.get("link"),e);n.set("link",t.toString())}const i=`intent://arvr.google.com/scene-viewer/1.2?${n.toString()+"&file="+encodeURIComponent(r.toString())}#Intent;scheme=https;package=com.google.android.googlequicksearchbox;action=android.intent.action.VIEW;S.browser_fallback_url=${encodeURIComponent(t.toString())};end;`;self.addEventListener("hashchange",()=>{self.location.hash===CSe&&(ASe=!0,self.history.back(),console.warn("Error while trying to present in AR with Scene Viewer"),console.warn("Falling back to next ar-mode"),this[JSe]())},{once:!0}),this[USe].setAttribute("href",i),console.log("Attempting to present in AR with Scene Viewer..."),this[USe].click()}async[NSe](){const e=!this.iosSrc;this[LSe].classList.remove("enabled");const t=e?await this.prepareUSDZ():this.iosSrc,r=new URL(t,self.location.toString());if(e){const e=self.location.toString(),t=new URL(e),n=new URL(this.src,t);n.hash&&(r.hash=n.hash)}"fixed"===this.arScale&&(r.hash&&(r.hash+="&"),r.hash+="allowsContentScaling=0");const n=this[USe];n.setAttribute("rel","ar");const i=document.createElement("img");n.appendChild(i),n.setAttribute("href",r.toString()),e&&n.setAttribute("download","model.usdz"),n.style.display="none",n.isConnected||this.shadowRoot.appendChild(n),console.log("Attempting to present in AR with Quick Look..."),n.click(),n.removeChild(i),e&&URL.revokeObjectURL(t),this[LSe].classList.add("enabled")}async prepareUSDZ(){const e=this[rSe].beginActivity("usdz-conversion");await this[WSe]();const{model:t,shadow:r,target:n}=this[Yxe];if(null==t)return"";let i=!1;null!=r&&(i=r.visible,r.visible=!1),e(.2);const o=new Dv;n.remove(t),t.position.copy(n.position),t.updateWorldMatrix(!1,!0);const s=await o.parseAsync(t,{maxTextureSize:isNaN(this.arUsdzMaxTextureSize)?1/0:Math.max(parseInt(this.arUsdzMaxTextureSize),16)});t.position.set(0,0,0),n.add(t);const a=new Blob([s],{type:"model/vnd.usdz+zip"}),l=URL.createObjectURL(a);return e(1),null!=r&&(r.visible=i),l}}return SSe([p_e({type:Boolean,attribute:"ar"})],d.prototype,"ar",void 0),SSe([p_e({type:String,attribute:"ar-scale"})],d.prototype,"arScale",void 0),SSe([p_e({type:String,attribute:"ar-usdz-max-texture-size"})],d.prototype,"arUsdzMaxTextureSize",void 0),SSe([p_e({type:String,attribute:"ar-placement"})],d.prototype,"arPlacement",void 0),SSe([p_e({type:String,attribute:"ar-modes"})],d.prototype,"arModes",void 0),SSe([p_e({type:String,attribute:"ios-src"})],d.prototype,"iosSrc",void 0),SSe([p_e({type:Boolean,attribute:"xr-environment"})],d.prototype,"xrEnvironment",void 0),d})((e=>{var t,r,n,i,o,s,a,l;class c extends e{static set dracoDecoderLocation(e){Yge.setDRACODecoderLocation(e)}static get dracoDecoderLocation(){return Yge.getDRACODecoderLocation()}static set ktx2TranscoderLocation(e){Yge.setKTX2TranscoderLocation(e)}static get ktx2TranscoderLocation(){return Yge.getKTX2TranscoderLocation()}static set meshoptDecoderLocation(e){Yge.setMeshoptDecoderLocation(e)}static get meshoptDecoderLocation(){return Yge.getMeshoptDecoderLocation()}static set lottieLoaderLocation(e){aye.singleton.textureUtils.lottieLoaderUrl=e}static get lottieLoaderLocation(){return aye.singleton.textureUtils.lottieLoaderUrl}static mapURLs(e){aye.singleton.loader[Wge].manager.setURLModifier(e)}dismissPoster(){this.loaded?this[rwe]():(this[twe]=!0,this[jxe]())}showPoster(){const e=this[ZSe];if(e.classList.contains("show"))return;e.classList.add("show"),this[Qxe].classList.remove("show");const t=this[ewe];t.removeAttribute("tabindex"),t.removeAttribute("aria-hidden");const r=this.modelIsVisible;this[nwe]=!1,this[Bxe](r)}getDimensions(){return sSe(this[Yxe].size)}getBoundingBoxCenter(){return sSe(this[Yxe].boundingBox.getCenter(new br))}constructor(...e){super(...e),this.poster=null,this.reveal=qSe,this.loading=YSe,this[t]=!1,this[r]=!1,this[n]=this.shadowRoot.querySelector(".slot.poster"),this[i]=this.shadowRoot.querySelector("#default-poster"),this[o]=this.shadowRoot.querySelector("#default-progress-bar > .bar"),this[s]=this[ewe].getAttribute("aria-label"),this[a]=((e,t)=>{let r=null;const n=(...n)=>{null==r&&(e(...n),r=self.setTimeout(()=>r=null,t))};return n.flush=()=>{null!=r&&(self.clearTimeout(r),r=null)},n})(e=>{const t=this[KSe].parentNode;requestAnimationFrame(()=>{this[KSe].style.transform=`scaleX(${e})`,0===e&&(t.removeChild(this[KSe]),t.appendChild(this[KSe])),this[KSe].classList.toggle("hide",1===e)})},100),this[l]=e=>{const t=e.detail.totalProgress,r=e.detail.reason;1===t&&(this[iwe].flush(),this.loaded&&(this[twe]||this.reveal===qSe)&&this[rwe]()),this[iwe](t),this.dispatchEvent(new CustomEvent("progress",{detail:{totalProgress:t,reason:r}}))};const c=self.ModelViewerElement||{},u=c.dracoDecoderLocation||"https://www.gstatic.com/draco/versioned/decoders/1.5.6/";Yge.setDRACODecoderLocation(u);const d=c.ktx2TranscoderLocation||"https://www.gstatic.com/basis-universal/versioned/2021-04-15-ba1c3e4/";Yge.setKTX2TranscoderLocation(d),c.meshoptDecoderLocation&&Yge.setMeshoptDecoderLocation(c.meshoptDecoderLocation);const h=c.lottieLoaderLocation||"https://cdn.jsdelivr.net/npm/three@0.149.0/examples/jsm/loaders/LottieLoader.js";aye.singleton.textureUtils.lottieLoaderUrl=h}connectedCallback(){super.connectedCallback(),this.loaded||this.showPoster(),this[rSe].addEventListener("progress",this[swe])}disconnectedCallback(){super.disconnectedCallback(),this[rSe].removeEventListener("progress",this[swe])}async updated(e){super.updated(e),e.has("poster")&&null!=this.poster&&(this[ewe].style.backgroundImage=`url(${this.poster})`),e.has("alt")&&this[ewe].setAttribute("aria-label",this[Vxe]),(e.has("reveal")||e.has("loading"))&&this[jxe]()}[(t=nwe,r=twe,n=ZSe,i=ewe,o=KSe,s=owe,a=iwe,l=swe,oSe)](){return!!this.src&&(this[twe]||this.loading===XSe||this.reveal===qSe&&this[Oxe])}[rwe](){this[twe]=!1;const e=this[ZSe];if(!e.classList.contains("show"))return;e.classList.remove("show"),this[Qxe].classList.add("show");const t=this.modelIsVisible;this[nwe]=!0,this[Bxe](t);const r=this.getRootNode();r&&r.activeElement===this&&this[Qxe].focus();const n=this[ewe];n.setAttribute("aria-hidden","true"),n.tabIndex=-1,this.dispatchEvent(new CustomEvent("poster-dismissed"))}[iSe](){return super[iSe]()&&this[nwe]}}return QSe([p_e({type:String})],c.prototype,"poster",void 0),QSe([p_e({type:String})],c.prototype,"reveal",void 0),QSe([p_e({type:String})],c.prototype,"loading",void 0),c})((e=>{var t;class r extends e{constructor(...e){super(e),this.autoplay=!1,this.animationName=void 0,this.animationCrossfadeDuration=300,this[t]=!0,this[Yxe].subscribeMixerEvent("loop",e=>{const t=e.action._loopCount,r=e.action._clip.name,n=e.action._clip.uuid,i=this[Yxe].markedAnimations.find(e=>e.name===r);if(i){this[Yxe].updateAnimationLoop(i.name,i.loopMode,i.repetitionCount);const e=this[Yxe].markedAnimations.filter(e=>e.name!==r);this[Yxe].markedAnimations=e}this.dispatchEvent(new CustomEvent("loop",{detail:{count:t,name:r,uuid:n}}))}),this[Yxe].subscribeMixerEvent("finished",e=>{if(this[Yxe].appendedAnimations.includes(e.action._clip.name)){const t=this[Yxe].appendedAnimations.filter(t=>t!==e.action._clip.name);this[Yxe].appendedAnimations=t}else this[pSe]=!0;this.dispatchEvent(new CustomEvent("finished"))})}get availableAnimations(){return this.loaded?this[Yxe].animationNames:[]}get duration(){return this[Yxe].duration}get paused(){return this[pSe]}get currentTime(){return this[Yxe].animationTime}get appendedAnimations(){return this[Yxe].appendedAnimations}set currentTime(e){this[Yxe].animationTime=e,this[Xxe]()}get timeScale(){return this[Yxe].animationTimeScale}set timeScale(e){this[Yxe].animationTimeScale=e}pause(){this[pSe]||(this[pSe]=!0,this.dispatchEvent(new CustomEvent("pause")))}play(e){this.availableAnimations.length>0&&(this[pSe]=!1,this[uSe](e),this.dispatchEvent(new CustomEvent("play")))}appendAnimation(e,t){this.availableAnimations.length>0&&(this[pSe]=!1,this[dSe](e,t),this.dispatchEvent(new CustomEvent("append-animation")))}detachAnimation(e,t){this.availableAnimations.length>0&&(this[pSe]=!1,this[hSe](e,t),this.dispatchEvent(new CustomEvent("detach-animation")))}[(t=pSe,Zxe)](){super[Zxe](),this[pSe]=!0,null!=this.animationName&&this[uSe](),this.autoplay&&this.play()}[Kxe](e,t){super[Kxe](e,t),this[pSe]||!this[iSe]()&&!this[tSe].isPresenting||(this[Yxe].updateAnimation(t/1e3),this[Xxe]())}updated(e){super.updated(e),e.has("autoplay")&&this.autoplay&&this.play(),e.has("animationName")&&this[uSe]()}[uSe](e=mSe){var t;const r=null!==(t=e.repetitions)&&void 0!==t?t:1/0,n=e.pingpong?Rt:1===r?kt:Tt;this[Yxe].playAnimation(this.animationName,this.animationCrossfadeDuration/1e3,n,r),this[pSe]&&(this[Yxe].updateAnimation(0),this[Xxe]())}[dSe](e="",t=_Se){var r;const n=null!==(r=t.repetitions)&&void 0!==r?r:1/0,i=t.pingpong?Rt:1===n?kt:Tt,o=!!t.repetitions||"pingpong"in t;this[Yxe].appendAnimation(e||this.animationName,i,n,t.weight,t.timeScale,t.fade,t.warp,t.relativeWarp,t.time,o),this[pSe]&&(this[Yxe].updateAnimation(0),this[Xxe]())}[hSe](e="",t=gSe){this[Yxe].detachAnimation(e||this.animationName,t.fade),this[pSe]&&(this[Yxe].updateAnimation(0),this[Xxe]())}}return cSe([p_e({type:Boolean})],r.prototype,"autoplay",void 0),cSe([p_e({type:String,attribute:"animation-name"})],r.prototype,"animationName",void 0),cSe([p_e({type:Number,attribute:"animation-crossfade-duration"})],r.prototype,"animationCrossfadeDuration",void 0),r})(lSe))))))));customElements.define("model-viewer",mwe);const _we=new class{constructor(){this.restrictions={},console.log(g_configuration)}init(){const e=this;Object.keys(g_configuration).forEach(function(t){!0===e.restrictions[t]&&Object.keys(e.restrictions[t]).forEach(function(r){g_configuration[r]=e.restrictions[t][r]})})}};__webpack_require__(493);const gwe=function(){Phe.ServerDebug&&(-1!==window.location.protocol.indexOf("https")?this.ws=new WebSocket("wss://"+window.location.hostname+":8888"):-1!==window.location.protocol.indexOf("http")&&(this.ws=new WebSocket("ws://"+window.location.hostname+":1815")),console.logEx=console.log,console.warnEx=console.warn,console.errorEx=console.error,console.log=this.log,console.warn=this.warn,console.error=this.error,this.init())};gwe.prototype.MessageHandler=function(e){return new Promise(function(t,r){if("execClient"===e.event){new Function(e.data)()}t()})},gwe.prototype.init=function(){const e=this;this.ws.onmessage=function(t){const r=JSON.parse(t.data);e.MessageHandler(r).then(function(){})},this.ws.onopen=function(e){},this.ws.onclose=function(e){},this.ws.onerror=function(e){}},gwe.prototype.log=function(e){return Phe.ShowConsole&&console.logEx(e),new Promise(function(t,r){return 1===fwe.ws.readyState?(fwe.ws.send(JSON.stringify({event:"log",data:{data:e,createdAt:Date.now(),cType:"info"}})),t(!0)):t(!1)})},gwe.prototype.error=function(e){return Phe.ShowConsole&&console.errorEx(e),new Promise(function(t,r){return 1===fwe.ws.readyState?(fwe.ws.send(JSON.stringify({event:"log",data:{data:e,createdAt:Date.now(),cType:"error"}})),t(!0)):t(!1)})},gwe.prototype.warn=function(e){return Phe.ShowConsole&&console.warnEx(e),new Promise(function(t,r){return 1===fwe.ws.readyState?(fwe.ws.send(JSON.stringify({event:"log",data:{data:e,createdAt:Date.now(),cType:"warning"}})),t(!0)):t(!1)})};var fwe=new gwe;const vwe=function(){aI.addEvent("resizeWindow",new oI(this.onWindowResize)),this.onWindowResizeTimer=null};let bwe=null;vwe.prototype.onWindowResize=function(){this.onWindowResizeTimer&&(clearTimeout(this.onWindowResizeTimer),this.onWindowResizeTimer=null),this.onWindowResizeTimer=setTimeout(()=>{this.onWindowResizeTimer&&(clearTimeout(this.onWindowResizeTimer),this.onWindowResizeTimer=null),fme.HEIGHT=fme.RenderDiv.clientHeight,fme.WIDTH=fme.RenderDiv.clientWidth,Lde.update(),aue.CurrentCamera.setSize(fme.WIDTH,fme.HEIGHT),(Bde.CameraFixedView||Bde.CameraDefaultZoom||Bde.CameraFrontDefaultZoom)&&!Mse.HRThemeManager.IsEnabled&&(bwe&&(clearTimeout(bwe),bwe=null),bwe=setTimeout(()=>{aue.CurrentCamera.startZoom(!1,!1,!1)},200)),Aue.setSize(fme.WIDTH,fme.HEIGHT);try{Fde.RefreshFloor(fme.WIDTH,fme.HEIGHT)}catch(e){console.log(e)}Mse.HRThemeManager.update(),IE.Initialized&&IE.resize(),Ame.requestRendering()},100)};new vwe;new class{constructor(){this.cookieName="startupSettings"}check(){return Wde.getCookie(this.cookieName).then(e=>{"string"==typeof e&&(e=JSON.parse(e)),e.flyouts&&Object.keys(e.flyouts).forEach(function(t){e.flyouts[t]&&(Gde.showByID(t),e.flyouts[t]=!1)}),Wde.setCookie(this.cookieName,JSON.stringify(e))})}};upe.on("switchARMode",function(e){"on"===e.show?Xce.enable():"off"===e.show&&Xce.disable()}),upe.on("setSceneConfiguration",function(e){aue.CurrentCameraControl.ARSettings.debuggerAR_Console&&aue.CurrentCameraControl.ARSettings.AppendText("setSceneConfiguration: "+JSON.stringify(e.configuration)),console.log(e.configuration)}),upe.on("onSendHitResult",function(e){const t=JSON.parse(e.json);if(console.log(t.results),t.results&&t.results.length>0){const e=t.results[0],r=(e.localTransform,e.worldTransform);let n=-1,i={};switch(+e.type){case Gse[Use]:case Gse[Vse]:n=e.distance;break;case Gse[zse]:case Gse[Hse]:n=e.distance,i=e.anchor}const o=(new xn).fromArray(r).premultiply((new xn).makeRotationFromEuler(new Rn(Math.PI/2,0,0))),s=(new br).setFromMatrixPosition(o);s.set(1e3*s.x*C,1e3*s.y*C,1e3*s.z*C),Xce.HitPoint=s.clone(),Xce.PickMode=!1}}),upe.on("onAnchorAdded",function(e){}),upe.on("onAnchorRemoved",function(e){const t=JSON.parse(e.json).anchors;t&&t.forEach(e=>{"ARPlaneAnchor"===e.type&&uce.remove(e)})}),upe.on("onARFrame",function(e){if(Xce.IsActive){const t=JSON.parse(e.json),r=t.camera,n=t.anchors;Yce.AmbiLight.LightBase.intensity=t.ambientIntensity,Yce.HemiLight.LightBase.intensity=t.ambientIntensity,aue.CurrentCamera instanceof gce&&aue.CurrentCamera.Camera.update(r),n&&(uce.clear(),n.forEach(e=>{"ARPlaneAnchor"===e.type&&uce.add(e)}))}ape.saveCameraPosition()}),upe.on("snapTaken",function(e){Xce.setSnapMode(!1)}),upe.on("onCheckSupported",function(e){Bde.IsApp=!0;const t={};for(let r=0,n=(e=e||[]).length;r<n;r++){Object.keys(e[r]).forEach(n=>{t[n]=e[r][n]})}g_configuration.toolbar_button_ar&&t.ar&&($("#btnARApp").removeClass("dhmc-hidden"),$("#btnARUpload").addClass("dhmc-hidden")),t.hInd&&fme.setHomeIndicatorView(!0)}),upe.on("getDhp",function(){ape.getDhpAsBase64().then(function(e){window!==window.parent&&window.parent.postMessage({command:"getDhpR",parameters:[e]},"*")})}),upe.on("isAppRequest",function(e){Yte.sendIsAppResponse(Bde.IsApp)}),upe.on("printPDFBuffer",function(e){Bde.IsApp&&dpe.__printViaAPP(e.encodedData)}),upe.on("downloadFileBuffer",function(e){if(Bde.IsApp)dpe.__downloadViaAPP(e.pdfBuffer,e.filename,"application/pdf");else{const t=atob(e.pdfBuffer).split(","),r=new Array(t.length);for(let e=0;e<t.length;e++)r[e]=+t[e];const n=new Uint8Array(r),i=new Blob([n],{type:"application/pdf"}),o=URL.createObjectURL(i),s=document.createElement("a");s.style.display="none",s.setAttribute("href",o),s.setAttribute("download",e.filename),document.body.appendChild(s),s.click(),document.body.removeChild(s),URL.revokeObjectURL(o)}console.log(e)}),upe.on("downloadFile",function(e){if(Bde.IsApp)dpe.__downloadViaAPP(e.downloadURL,e.filename,"application/pdf");else{const t=document.createElement("a");t.style.display="none",t.setAttribute("href",e.downloadURL),t.setAttribute("download",e.filename),document.body.appendChild(t),t.click(),document.body.removeChild(t)}console.log(e)}),upe.on("furnviewAppBack",function(e){rse.backToApp(e)});var ywe=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};upe.on("project-manager.openPlanning",function(e){return ywe(this,void 0,void 0,function*(){const t=atob(e.DHP.File),r=new Array(t.length);for(let e=0;e<t.length;e++)r[e]=t.charCodeAt(e);const n=new Uint8Array(r),i=new FormData,o=new File([n],"planning.dhp");i.append("file",o),$.ajax({url:`${g_node_url_prefix}/dhp/open/${g_sessionId}`,data:i,cache:!1,contentType:!1,processData:!1,type:"POST"}).done(()=>{ape.getScene(),fM.setPlanningFromProjectManager(!0)})})}),upe.on("project-manager.closeProjectManagerWindow",function(){fM.hide()}),upe.on("project-manager.RequestResponse",function(e){return ywe(this,void 0,void 0,function*(){try{if("getFurnplanData"===e.command){const t=yield zM.getFurnplanData();fM.postMessage({command:e.id,response:t})}else if("loadLanguage"===e.command){const t=yield $.get(`/lang/get-language/${e.parameters[0]}`);fM.postMessage({command:e.id,response:t})}else if("getPlanningData"===e.command){const t=yield ape.getDhpAsBase64(),r=yield fme.getCanvasPngAsBase64();fM.postMessage({command:e.id,response:{File:t,PreviewImage:r}})}}catch(e){console.log(e)}})}),upe.on("furnview.loadArticle",(e,t)=>{upe.loadArticle(e,t)}),upe.on("furnview.setCommission",e=>{upe.setCommission(e)}),upe.on("furnview.setAuthentication",(e,t)=>{upe.setAuthentication(e,t)}),upe.on("furnview.setPrinterList",e=>{upe.setPrinterList(e)}),upe.on("furnview.setLanguage",e=>{upe.setLanguage(e)}),upe.on("furnview.loadProject",e=>{upe.loadProject(e)}),upe.on("furnview.deleteProject",e=>{upe.deleteProject(e)});var $we=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};let xwe=class extends mM{initialize(){super.initialize(),g_configuration.panel_right_register_old_kata_tree&&upe.on("serverknown",e=>{this.setUrlPrefix(e)})}show(){super.show(),this.reload()}setUrlPrefix(e){this.getElement("iframe").attr("src",`${e}/furnplan/_global/_global/html/h/furnview/zusatzpos-wrapper.html?sessionId=${g_sessionId}&nodeUrl=${e}&dm=${Wp.getType()}`)}reload(){this.getElement("iframe").get(0).contentWindow.postMessage({C:"furnplan.reloadAdditionalPositions",P:[]},"*")}};xwe=$we([_m({template:'\n        <div class="additional-positions-window full modal-window invisible">\n            <div class="toolbar">\n                <div class="left">\n                </div>\n                <div class="center">\n                    \x3c!-- Todo: i18n --\x3e\n                    Zusatzpositionen\n                </div>\n                <div class="right">\n                    <div class="close-button"></div>\n                </div>\n            </div>\n            <div class="content">\n                <iframe></iframe>\n            </div>\n        </div>\n    ',elements:{iframe:"iframe",closeButton:".close-button"},parentSelector:"#renderContainer"})],xwe);const Swe=new xwe;var wwe=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};const Awe=new class{get(e){return wwe(this,void 0,void 0,function*(){let t=null;if((e=e||{}).ignoreInUse){if(t=yield ape.getPropTransferInfo(e.manufacturer,e.program,!0),!t||!t.propTransInfo)return null;t=t.propTransInfo}else if(t=yield ape.getPropTransferItems(e.manufacturer,e.program,e.useSelection),t&&0===t.length)return null;let r=e.grouped?{}:[];for(const n of t){const t=n.manufacturer,i=n.program.toLocaleLowerCase(),o=n.groupKey||"noGroup";e.manufacturer&&e.manufacturer!==t||(e.program&&e.program.toLocaleLowerCase()!==i||(e.grouped?(r[t]||(r[t]={}),r[t][i]||(r[t][i]={}),r[t][i][o]||(r[t][i][o]=[]),r[t][i][o].push(n)):r.push(n)))}return e.grouped&&e.manufacturer&&(r=r[e.manufacturer],e.program&&(r=r[e.program])),r})}getDeletable(){return wwe(this,void 0,void 0,function*(){return ape.getPropDelElems()})}set(e,t){return wwe(this,void 0,void 0,function*(){const r=yield ape.getManufacturerReferenceData(e.manufacturer,e.program),n={II:e.instanceIdents?e.instanceIdents.map(e=>""+e):[],pt_id:e.id,mHash:r.manufacturerHash,pHash:r.programHash};return t?0===n.II.length?yield ape.deletePropTransfer(n.pt_id,n.mHash,n.pHash):yield ape.DelPropTransfer(n):0===n.II.length?yield ape.startPropTransfer(n.pt_id,e.manufacturer,e.program):yield ape.assignProperty(n),!0})}delete(e){return wwe(this,void 0,void 0,function*(){return this.set(e,!0)})}};var Cwe=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};upe.on("onLastPOLoaded",(e,t)=>{upe.dispatch("furnview.onLastPOLoaded",[e]),upe.sendToApp("furnview.onLastPOLoaded",[e]),Qp.send("furnview.onLastPOLoaded",[e]),t||Qse.startTimer()}),upe.on("serverknown",e=>{upe.sendToApp("external.serverknown",[e])}),oae.on("external.communicatorMessage",(e,...t)=>Cwe(void 0,void 0,void 0,function*(){return ape[e]?[yield ape[e].apply(ape,t)]:null})),oae.on("external.getElementCount",()=>Cwe(void 0,void 0,void 0,function*(){return[lae.CountPO()]})),oae.on("external.getAnyPlannedPOFromScene",()=>Cwe(void 0,void 0,void 0,function*(){const e=lae.getPOs();if(e.length>0){const{Manu:t,Prog:r,instanceIdent:n}=e[0];return[{Manu:t,Prog:r,instanceIdent:n}]}return[]})),oae.on("external.calculateScreenPosition",e=>Cwe(void 0,void 0,void 0,function*(){return[aue.CurrentCamera.toScreenPosition(e)]})),oae.on("external.getLOsFromScene",e=>Cwe(void 0,void 0,void 0,function*(){const t=[];for(const r of e){const e=lae.get(r),n=new br,i=new Qr;i.setFromObject(e),i.getCenter(n);const{PlanType:o,PlanTypeText:s,dimension:a}=e,l=[];l.push(e.MaxDimension.x),l.push(e.MaxDimension.y),l.push(e.MaxDimension.z);const c=[];c.push(e.MinDimension.x),c.push(e.MinDimension.y),c.push(e.MinDimension.z),t.push({catalogArticleNumber:e.CatalogArticleNumber,articlenumber:o,text:s,dimension:a,maxDimension:l,minDimension:c,instanceIdent:e.instanceIdent,typeInfo:e.typeInfo,guid:e.guid,pointCenter:[n.x,n.y,n.z]})}return[t]})),oae.on("external.getPlannedArticles",e=>Cwe(void 0,void 0,void 0,function*(){const t=[],r=e=>{const t=new Set;for(const r of e.children)if(r instanceof Dme)for(const e of r.keys)t.add(e);return[...t]},n=lae.getPOs();if(n.length>0)if(e&&e.length>0){for(const i of n)if(e.includes(i.instanceIdent)){const{PlanType:e,PlanTypeText:n,dimension:o}=i,s=[];s.push(i.MaxDimension.x),s.push(i.MaxDimension.y),s.push(i.MaxDimension.z);const a=[];a.push(i.MinDimension.x),a.push(i.MinDimension.y),a.push(i.MinDimension.z),t.push({manu:i.ManufacturerName,prog:i.ProgramName,manuName:i.Manufacturer,progName:i.Program,catalogArticleNumber:i.CatalogArticleNumber,articlenumber:e,text:n,dimension:o,maxDimension:s,minDimension:a,instanceIdent:i.instanceIdent,typeInfo:i.typeInfo,guid:i.guid,keys:i.keys,children:i.children.length,childrenKeys:r(i)})}}else for(const e of n){const{CatalogArticleNumber:n,PlanType:i,PlanTypeText:o,dimension:s}=e,a=[];a.push(e.MaxDimension.x),a.push(e.MaxDimension.y),a.push(e.MaxDimension.z);const l=[];l.push(e.MinDimension.x),l.push(e.MinDimension.y),l.push(e.MinDimension.z),t.push({catalogArticleNumber:n,articlenumber:i,text:o,dimension:s,maxDimension:a,minDimension:l,instanceIdent:e.instanceIdent,typeInfo:e.typeInfo,guid:e.guid,keys:e.keys,children:e.children.length,childrenKeys:r(e),manu:e.ManufacturerName,prog:e.ProgramName,manuName:e.Manufacturer,progName:e.Program})}return[t]})),oae.on("external.setLODimension",(e,t,r,n,...i)=>Cwe(void 0,[e,t,r,n,...i],void 0,function*(e,t,r,n,i=0,o=!1,s=!0){if(n.length>0)return g_configuration.mod_dim_change=0,g_configuration.mod_dim_change_move_other||(g_configuration.mod_dim_change_move_other=s?1:0),yield ape.setLODimensionInfo(e,t,r,g_configuration.mod_dim_change,!!g_configuration.mod_dim_change_move_other,n,i,i,o)})),oae.on("external.clearScene",()=>{const e=lae.getPOGuids();return ape.deleteLO(e).then(()=>Dhe.clearScene(!0,!0,!0))}),oae.on("external.loadPlanning",e=>Upe.loadPlanning(e)),oae.on("external.loadPlanningUrl",e=>Upe.loadPlanningUrl(e)),oae.on("external.setManuProg",function(e,t,r){return Cwe(this,void 0,void 0,function*(){return ape.setManuProg(e,r,t).then((...e)=>Cwe(this,void 0,void 0,function*(){return e}))})}),oae.on("external.startPropTransfer",function(e){return Cwe(this,void 0,void 0,function*(){return ape.startPropTransfer(e)})}),oae.on("external.deletePropTransfer",function(e){return Cwe(this,arguments,void 0,function*(e,t="",r=""){return ape.deletePropTransfer(e,t,r)})}),oae.on("external.loadArticle",function(e,t,r){return Cwe(this,void 0,void 0,function*(){return ape.dhTodo(["0",{manu:e,kataManu:e,prog:t,params:[r]}])})}),oae.on("external.loadArticleWithParams",function(e,t,r,n){return Cwe(this,void 0,void 0,function*(){return ape.dhTodo(["0",{manu:e,kataManu:e,prog:t,params:[r.artNr,r.placingDirection||"",r.objectHandling||"",r.program||"",r.extraWidth||"",r.extraDepth||"",r.extraHeight||"",r.additionalInfo_0||"",r.additionalInfo_1||"",r.manufacturer||"",r.additionalInfo_2||"",r.additionalInfo_3||"",r.additionalInfo_4||"",r.tableID||"",r.hingeChanged||""],crossArticleClientsToUse:n}])})}),oae.on("external.loadVZPlanning",function(e,t,r){return Cwe(this,void 0,void 0,function*(){return ape.loadVZPlanning(e,t,r)})}),oae.on("external.getArtPropByArt",e=>ape.getArtPropByArts(e.manufacturer,e.program,e.filter)),oae.on("external.getArtPropById",e=>ape.getArtPropByIds(e.manufacturer,e.program,e.filter)),oae.on("external.showDeletables",function(e){return Cwe(this,void 0,void 0,function*(){const t=yield ape.GetDeletables(e);$le.clear(),Poe.setStrategy(Poe.pickBBox3),Yse.InteractionMode=Pp.DELETABLE;for(const e of t){const t=lae.get(e);t&&FI.createMarker(t,{boxStyle:!0},NI.DELETABLE)}})}),oae.on("external.setPlacerDirection",function(e){return Cwe(this,void 0,void 0,function*(){return ape.PlacerSetDir(e)})}),oae.on("external.placePO",function(e){return Cwe(this,void 0,void 0,function*(){return ape.PlacerAddObject({ManuHash:e.manufacturer,ProgHash:e.program,extParam:e.extParameter,ArticleNumber:e.articleNumber,preventVPlacer:e.preventVPlacer,once:e.once})})}),oae.on("external.setFrontState",function(e){return Cwe(this,void 0,void 0,function*(){return new Promise((t,r)=>{aae.ChangeFrontState(void 0===e?!Bde.ShowFront:e),t(null)})})}),oae.on("external.getManufacturerReferenceData",function(e,t){return Cwe(this,void 0,void 0,function*(){return[yield ape.getManufacturerReferenceData(e,t)]})}),oae.on("external.getAvailableLanguages",function(e){return Cwe(this,void 0,void 0,function*(){return[yield boe.getLanguages(e)]})}),oae.on("external.setLanguage",function(e){return Cwe(this,void 0,void 0,function*(){return yield boe.setLanguage(e),[]})}),oae.on("external.getProgList",function(e){return Cwe(this,arguments,void 0,function*(e,t=!1){if(e){const r=yield ape.getAccessablePrograms(e,"",t),n=Rre.getOrderList("programs");return n&&r.sort((e,t)=>{let r=n[e.fromManu.toLowerCase()+"_"+e.name.toLowerCase()],i=n[t.fromManu.toLowerCase()+"_"+t.name.toLowerCase()];return r=r&&!isNaN(r.order)?+r.order:-1,i=i&&!isNaN(i.order)?+i.order:-1,r-i}),[r]}return[[]]})}),oae.on("external.getProgramsInScene",function(){return Cwe(this,void 0,void 0,function*(){const e=lae.getPOs().map(e=>e.Program);return[[...new Set(e)]]})}),oae.on("external.toggleMeasurement",function(){return Cwe(this,void 0,void 0,function*(){return new Promise((e,t)=>{Bde.GlobalMeasureBox=!Bde.GlobalMeasureBox,e([Bde.GlobalMeasureBox])})})}),oae.on("external.triggerAnimation",function(){return Cwe(this,void 0,void 0,function*(){return new Promise((e,t)=>{Mme.StartAnimation(),e(!0)})})}),oae.on("external.setAnimationMode",function(e,t){return Cwe(this,void 0,void 0,function*(){return new Promise((r,n)=>{Bde.DHAnimation_IsOpen=t?e:!e,Mme.StartAnimation(t),r(!0)})})}),oae.on("external.getAnimationStatus",function(){return Cwe(this,void 0,void 0,function*(){return[{running:Mme.AnimationClock.running,mode:Bde.DHAnimation_IsOpen}]})}),oae.on("external.sceneFullyLoaded",function(){return Cwe(this,void 0,void 0,function*(){return aae.SceneFullyLoaded})}),oae.on("external.setAccessories",function(e){return Cwe(this,void 0,void 0,function*(){return ape.getGeneratedAccessoires(!e).then(()=>[e])})}),oae.on("external.showShareComponent",function(){return Cwe(this,void 0,void 0,function*(){JM.show()})}),oae.on("external.dhp.saveUndo",function(e){return Cwe(this,void 0,void 0,function*(){return e&&e.name?ape.saveUndo(e.name):null})}),oae.on("external.undoDHP",function(e){return Cwe(this,void 0,void 0,function*(){return e&&e.name?ape.loadUndo(e.name):ape.undoDhp()})}),oae.on("external.redoDHP",function(e){return Cwe(this,void 0,void 0,function*(){return e&&e.name?ape.loadUndo(e.name):ape.redoDhp()})}),oae.on("external.resetCameraView",function(){return Cwe(this,arguments,void 0,function*(e=!1){return new Promise((t,r)=>{aue.CurrentCamera.startZoom(e,!1,!1),t(!0)})})}),oae.on("external.cameraZoom",function(e){return Cwe(this,void 0,void 0,function*(){return new Promise((t,r)=>{e&&(e>0?aue.CurrentCamera.ZoomIn():e<0&&aue.CurrentCamera.ZoomOut()),t(!0)})})}),oae.on("external.CameraControlSetForceDeactive",function(e){return Cwe(this,void 0,void 0,function*(){aue.CurrentCameraControl.ForceDeactivate=e})}),oae.on("external.getArticleByCategories",function(e,t,r,n,i,o,s,a){return Cwe(this,void 0,void 0,function*(){return[yield ape.getArticleByCategories(e,t,r,n,i,o,s,a)]})}),oae.on("external.getPossibleArticleDimensions",function(e,t,r){return Cwe(this,void 0,void 0,function*(){return[yield ape.getPossibleArticleDimensions(e,t,r)]})}),oae.on("external.takeCenteredSnap",function(){return Cwe(this,arguments,void 0,function*(e=!0,t=0,r=fme.WIDTH,n=fme.HEIGHT,i="image/png",o=.92,s=!1){return[yield ape.takeCenteredSnap(e,t,r,n,i,o,s)]})}),oae.on("external.getShortUrl",function(e,t){return Cwe(this,void 0,void 0,function*(){return[[yield zM.getShortUrl(e,t)]]})}),oae.on("external.setSelectables",function(e,t,r){return Cwe(this,void 0,void 0,function*(){return Bde.SelectionFilter=e,ape.setSelectionFilter(e,t,r)})}),oae.on("external.setSelectablesMultiTypes",function(e,t,r){return Cwe(this,void 0,void 0,function*(){return ape.setSelectionFilterMultiTypes(e,t,r)})}),oae.on("external.setSelectablesMultiProg",function(e,t,r){return Cwe(this,void 0,void 0,function*(){return Bde.SelectionFilter=e,ape.setSelectionFilterMultiProg(e,t,r)})}),oae.on("external.setSelectionActionGroup",function(e){return Cwe(this,void 0,void 0,function*(){Bde.SelectionActionGroup=e})}),oae.on("external.getMediaUrl",function(e,t,r,n,i){return Cwe(this,arguments,void 0,function*(e,t,r,n,i,o=!0){return[lm.getUrl(e,t,r,n,i,o)]})}),oae.on("external.chainRequest",function(e){return Cwe(this,void 0,void 0,function*(){return[yield ape.ChainRequest(e)]})}),oae.on("external.getErpFiles",function(e,t,r){return Cwe(this,arguments,void 0,function*(e,t,r,n=!0,i=""){return[yield ape.getErpFiles(e,t,r,n,i)]})}),oae.on("external.getStoreTree",function(){return Cwe(this,void 0,void 0,function*(){return[yield zM.getStoreTree()]})}),oae.on("external.getWebshopLink",function(){return Cwe(this,void 0,void 0,function*(){return[yield ape.getWebshopLink()]})}),oae.on("external.getProgramLevelTree",function(e){return Cwe(this,arguments,void 0,function*(e,t=!1){return[yield ape.getProgramLevelTree(e,t)]})}),oae.on("external.modifyProperty",function(e,t){return Cwe(this,void 0,void 0,function*(){"string"==typeof e&&(e=JSON.parse(e));const r=e=>{"number"!=typeof e.level&&(e.level=e.preventSelection?1:$le.Count>0?2:1),t||(t={modifyElement:!!e.modifyElement,modifyComponent:!!e.modifyComponent,isWizard:!!e.isWizard})};if(Array.isArray(e))for(let t=e.length-1;t>=0;t--){const n=e[t];0!==Object.keys(n).length?r(n):e.splice(t,1)}else"object"==typeof e&&r(e);return ape.modifyProperty(Array.isArray(e)?e:[e],t)})}),oae.on("external.switchTransferLevel",function(e){return Cwe(this,void 0,void 0,function*(){return Promise.all(eM.merkmalStore.all().filter(t=>{var r,n;return null===(n=null===(r=e.contextIds)||void 0===r?void 0:r.includes(t.id))||void 0===n||n}).map(t=>t.switchLevel(e.level)))})}),oae.on("external.SearchKeysFromLOs",function(e){return Cwe(this,void 0,void 0,function*(){return yield ape.SearchKeysFromLOs(e)})}),oae.on("external.generic.katatree.get",function(e){return Cwe(this,void 0,void 0,function*(){const t=[];return e&&(t.push(e.manufacturer),t.push(e.program),t.push(e.mergeCategories||!1)),[yield ape.getKataTreeJson(t)]})}),oae.on("external.GetRangeInDimensions",function(e){return Cwe(this,void 0,void 0,function*(){return[yield ape.getRangeInDimensions(e)]})}),oae.on("external.getRelevantPropertyKeys",function(e,t){return Cwe(this,void 0,void 0,function*(){yield Coe.refreshManuProg();let r=[];return e||t||(r=$le.objects.map(function(e){return e.guid})),[yield ape.getRelevantPropertyKeys(r,t)]})}),oae.on("external.getCatalogEnvironment",function(e,t,r){return Cwe(this,void 0,void 0,function*(){return[yield ape.getCatalogEnvironment(e,t,r)]})}),oae.on("external.getCatConfig",function(e,t){return Cwe(this,void 0,void 0,function*(){return[yield ape.getCatConfig(e,t)]})}),oae.on("external.propTransfer.get",e=>Cwe(void 0,void 0,void 0,function*(){return[yield Awe.get(e)]})),oae.on("external.propTransfer.getDeletable",()=>Cwe(void 0,void 0,void 0,function*(){return[yield Awe.getDeletable()]})),oae.on("external.propTransfer.set",e=>Cwe(void 0,void 0,void 0,function*(){return[yield Awe.set(e)]})),oae.on("external.propTransfer.delete",e=>Cwe(void 0,void 0,void 0,function*(){return[yield Awe.delete(e)]})),oae.on("external.progContext.initialize",e=>Cwe(void 0,void 0,void 0,function*(){return[yield Qhe.initialize(e)]})),oae.on("external.progContext.get",e=>Cwe(void 0,void 0,void 0,function*(){return[yield Qhe.get(e)]})),oae.on("external.progContext.dispose",e=>Cwe(void 0,void 0,void 0,function*(){return[yield Qhe.dispose(e)]})),oae.on("external.getElementCountByCategories",e=>Cwe(void 0,void 0,void 0,function*(){return[yield ape.getElementCountByCategories(e.manufacturer,e.program,e.categories)]})),oae.on("external.getArticlesByPropTransferId",e=>Cwe(void 0,void 0,void 0,function*(){return[yield ape.getArticlesByPropTransferId(e.manufacturer,e.program,e.propTransferId)]})),oae.on("external.getActiveStringValuesInScene",(e,...t)=>Cwe(void 0,[e,...t],void 0,function*(e,t=void 0){return yield ape.getActiveStringValuesInScene(e,t)})),oae.on("external.fitting.reset",()=>Cwe(void 0,void 0,void 0,function*(){return[yield ape.resetFitting()]})),oae.on("external.fitting.move",()=>Cwe(void 0,void 0,void 0,function*(){return[yield ape.dhTodo([1,{params:[2002]}])]})),oae.on("external.fitting.remove",()=>Cwe(void 0,void 0,void 0,function*(){return[yield ape.dhTodo([1,{params:[2001]}])]})),oae.on("external.GetAvailableFittingElementsFromScene",()=>Cwe(void 0,void 0,void 0,function*(){return[yield ape.GetAvailableFittingElementsFromScene()]})),oae.on("external.progProperties.showToolTipData",function(e){return Cwe(this,void 0,void 0,function*(){return[yield Kte.showToolTip(e.type,e.data,e.manufacturer)]})}),oae.on("external.progProperties.getCurrentValues",e=>Cwe(void 0,void 0,void 0,function*(){return[yield Kte.getCurrentValues(e)]})),oae.on("external.progProperties.get",e=>Cwe(void 0,void 0,void 0,function*(){return[yield Kte.get(e)]})),oae.on("external.progProperties.getGroupInfo",e=>Cwe(void 0,void 0,void 0,function*(){return[yield Kte.getGroupInfo(e)]})),oae.on("external.progProperties.getFinishParams",e=>Cwe(void 0,void 0,void 0,function*(){return[yield Kte.getFinishParams(e)]})),oae.on("external.colorPicker.get",e=>Cwe(void 0,void 0,void 0,function*(){return e=e||{type:"ral"},[yield ape.getColorPickerInfo(e.manufacturer,e.type)]})),oae.on("external.camera.setZoom",e=>Cwe(void 0,void 0,void 0,function*(){const t={type:(e=e||{animated:!1,Perspective:iue.TopLeftFront}).type?e.type:2,param1:0,param2:e.direction&&3===e.direction.length?e.direction[0]:0,param3:e.direction&&3===e.direction.length?e.direction[1]:0,param4:e.direction&&3===e.direction.length?e.direction[2]:0};return ape.setZoomMode(e.Perspective,e.animated,t,void 0,e.offset)})),oae.on("external.camera.fitCamera",e=>Cwe(void 0,void 0,void 0,function*(){return aue.fitCameraToIIList((null==e?void 0:e.instanceIdents)||[],null==e?void 0:e.includePOs,null==e?void 0:e.onlyPrimaryWalls)})),oae.on("external.camera.pan",e=>Cwe(void 0,void 0,void 0,function*(){aue.CurrentCamera.Pan(e.deltaX,e.deltaY)})),oae.on("external.getRelevantProperties",(e,t)=>Cwe(void 0,void 0,void 0,function*(){return[yield Yne.toJson({manufacturer:e,program:t})]})),oae.on("external.preloadProgram",(e,t)=>Cwe(void 0,void 0,void 0,function*(){return[yield Yne.preloadProgram(e,t)]})),oae.on("external.preloadActiveProgram",()=>Cwe(void 0,void 0,void 0,function*(){return[yield Yne.preloadActiveProgram()]})),oae.on("external.dhtodo",function(e){return Cwe(this,void 0,void 0,function*(){return[yield ape.dhTodo(e)]})}),oae.on("external.doactionsimplecl",function(e){return Cwe(this,void 0,void 0,function*(){return[yield ape.doActionSimpleCL(e)]})}),oae.on("external.getKataPageModulesData",function(e){return Cwe(this,void 0,void 0,function*(){return[yield ape.getKataPageModulesData(e)]})}),oae.on("external.PerformWebCabCommand",function(e){return Cwe(this,void 0,void 0,function*(){return[yield ape.PerformWebCabCommand(e)]})}),oae.on("external.getNodeURL",function(){return Cwe(this,void 0,void 0,function*(){return[g_node_url_prefix]})}),oae.on("external.generateExport",function(){return Cwe(this,arguments,void 0,function*(e="obj"){return[yield ape.generateExport(e)]})}),oae.on("external.printPDF",function(){return Cwe(this,arguments,void 0,function*(e=!1){return[yield ape.printPDF(e)]})}),oae.on("external.printCustomPDF",function(){return Cwe(this,void 0,void 0,function*(){return[yield ape.printCustomPDF()]})}),oae.on("external.downloadPDF",function(e){return Cwe(this,void 0,void 0,function*(){const t=e?yield ape.printCustomPDF():yield ape.printPDF(),r=`${t.server}/downloadPDF/${t.sessionId}/${t.pdf.toString()}`,n=(yield boe.get("20001"))+"-"+t.cloudId+".pdf";return yield lhe.download(r,n),[]})}),oae.on("external.sendMail",function(e){return Cwe(this,arguments,void 0,function*(e,t="default",r,n){if(!(e&&e.length>0))return Promise.resolve();try{n||(n="default"===t?yield ape.printPDF():yield ape.printCustomPDF()),fme.sendMail(e,n,r)}catch(e){return!1}})}),oae.on("external.resetSceneAction",function(){return Cwe(this,void 0,void 0,function*(){return new Promise((e,t)=>{var r;VI.clearLastIfNecessary(),VI.status="",Yse.SceneAction&&(null===(r=Yse.SceneAction)||void 0===r||r.cancel(),Yse.clearSceneAction()),e(!0)})})}),oae.on("external.assignPropertySpecific",function(e,t,r){return Cwe(this,void 0,void 0,function*(){let n=[e,t,"","","7",""];return n=[].concat(n,r),[yield ape.dhTodo(["2",{manu:window.g_article.manu,kataManu:window.g_article.manu,params:n}])]})}),oae.on("external.newPlanning",function(){return Cwe(this,void 0,void 0,function*(){return yield lpe.dispatch("DisposeMerkmalContext",[]),ape.loadNewPlanning()})}),oae.on("external.changeGenModule",function(e){return Cwe(this,void 0,void 0,function*(){return fme.PropertyContainer.Root?"__fv_internal_progproperty"===e?(fme.PropertyContainer.Root.show(),goe.hideSteps()):(fme.PropertyContainer.Root.hide(),goe.openStep(e)):goe.openStep(e),!0})}),oae.on("external.generic.articleCount",function(e){return Cwe(this,void 0,void 0,function*(){var t;return[null===(t=foe.kataPage)||void 0===t?void 0:t.getArticleCount(e.group)]})}),oae.on("external.setPlacerMode",function(e,t){return Cwe(this,void 0,void 0,function*(){return void 0===e?(Bde.VPlacer=g_configuration.vplacer,Bde.IsPlacerMode=g_configuration.enable_placing&&g_configuration.enable_picking):(Bde.IsPlacerMode=e,void 0!==t&&(Bde.VPlacer=e&&t)),!0})}),oae.on("external.getPossiblePlacerGroups",function(){return Cwe(this,void 0,void 0,function*(){return[yield ape.getPossiblePlacerGroups()]})}),oae.on("external.createPlacerGroup",function(e){return Cwe(this,void 0,void 0,function*(){return[yield ape.createPlacerGroup(e)]})}),oae.on("external.setPlacerGroup",function(e,t,r,n){return Cwe(this,arguments,void 0,function*(e,t,r,n,i=0){return ape.setPlacerGroup(e,t,r,n,i)})}),oae.on("external.setPlacerGroupSwitch",function(e,t,r){return Cwe(this,void 0,void 0,function*(){return ape.setPlacerGroupSwitch(e,t,r)})}),oae.on("external.getPlacerGroupSwitch",function(e,t){return Cwe(this,void 0,void 0,function*(){return ape.getPlacerGroupSwitch(e,t)})}),oae.on("external.rearrangeAllPlacerGroups",function(){return Cwe(this,void 0,void 0,function*(){return ape.rearrangeAllPlacerGroups()})}),oae.on("external.replaceArticlesByCategories",function(e,t){return Cwe(this,void 0,void 0,function*(){return ape.replaceArticlesByCategories({article:e.article,manufacturer:e.manufacturer,program:e.program},{categories:t.categories,"replace-limit-manufacturer":t["replace-limit-manufacturer"]?t["replace-limit-manufacturer"]:[],"replace-limit-program":t["replace-limit-program"]?t["replace-limit-program"]:[],"align-to-front":t["align-to-front"]?1:0})})}),oae.on("external.getPricePreview",function(e,t,r){return Cwe(this,void 0,void 0,function*(){return ape.getPricePreview({manufacturer_:e,program_:t,properties_:r})})}),oae.on("external.getPriceList",function(e,t){return Cwe(this,void 0,void 0,function*(){return[yield ape.getPriceList(e,t)]})}),oae.on("external.createCloudID",function(){return Cwe(this,void 0,void 0,function*(){return[yield ape.createCloudID()]})}),oae.on("external.loadInitialStateDHP",()=>Cwe(void 0,void 0,void 0,function*(){return[yield ape.loadDhp("initial-state")]})),oae.on("external.loadDhpByCloudID",e=>Cwe(void 0,void 0,void 0,function*(){return[yield ape.loadDhpByCloudID(e)]})),oae.on("external.BuildWallFromConfiguration",function(e){return Cwe(this,void 0,void 0,function*(){return ape.BuildWallFromConfiguration(e)})}),oae.on("external.RemoveWall",function(){return Cwe(this,void 0,void 0,function*(){return ape.RemoveWall()})}),oae.on("external.wall.addChildElement",function(e){return Cwe(this,void 0,void 0,function*(){return Sie.insertElement({width:e.width,height:e.height,parapet:e.parapet,type:e.type,elementType:e.elementType}),!0})}),oae.on("external.wall.getFurnplanWallsDoorsWindowsAndUtilities",function(e,t){return Cwe(this,void 0,void 0,function*(){const r=yield ape.getFurnplanWallsDoorsWindowsAndUtilities(e,t);return[r.walls?r.walls:[]]})}),oae.on("external.getWallElements",()=>Cwe(void 0,void 0,void 0,function*(){return[yield ape.getWallElements()]})),oae.on("external.placeWallElementNextCenter",e=>Cwe(void 0,void 0,void 0,function*(){return[yield ape.placeWallElementNextCenter(e)]})),oae.on("external.getText",e=>Cwe(void 0,void 0,void 0,function*(){return[yield ape.getText([e])]})),oae.on("external.StartKataPage",function(e,t,r,n,i){return Cwe(this,void 0,void 0,function*(){return[yield ape.getKataPage(e,t,r,n,i)]})}),oae.on("external.GetKataPageHostListByCrossArticle",function(e,t,r){return Cwe(this,void 0,void 0,function*(){return[yield ape.getKataPageHostListByCrossArticle(e,t,r)]})}),oae.on("external.finishPlanning",function(){return Cwe(this,void 0,void 0,function*(){return[yield fme.getAppConnectionData(!0)]})}),oae.on("external.getAppConnectionData",function(){return Cwe(this,void 0,void 0,function*(){return[yield fme.getAppConnectionData(!1)]})}),oae.on("external.renderFurnrayImage",function(e,t){return Cwe(this,void 0,void 0,function*(){return[yield fme.renderFurnViewImage(e,t)]})}),oae.on("external.resetCameraToDefaultPosition",function(){return Cwe(this,void 0,void 0,function*(){return yield ape.resetCameraToDefaultPosition()})}),oae.on("external.getHRModeImages",function(){return Cwe(this,void 0,void 0,function*(){const e=yield Mse.getThemes(),t=[];return e.forEach(e=>{t.push({name:e.theme.name,previewImage:e.previewImageFile})}),[t]})}),oae.on("external.enableHRMode",function(e){return Cwe(this,void 0,void 0,function*(){(yield Mse.getThemes()).forEach(t=>{t.theme.name===e&&wse.enable(t)})})}),oae.on("external.disableHRMode",function(){return Cwe(this,void 0,void 0,function*(){wse.disable()})}),oae.on("external.openCloudId",function(e){return Cwe(this,void 0,void 0,function*(){if(yield upe.isAppReady(),yield ape.loadDhpByCloudID(e),Bde.EnableExternalPropertyUpdates){const e=Object.assign({},yield Coe.loadProgram({manufacturer:"",program:""}));upe.sendToApp("external.property-updates.initialProperties",[e]);const t=yield Coe.getRelevantKeys([],!0);Object.keys(t.relevant_keys).length>0&&upe.sendToApp("external.property-updates.updatedProperties",[t])}})}),oae.on("external.useInternalProgProperties",function(){return Cwe(this,void 0,void 0,function*(){if(g_configuration.enable_wizard_generic){const e=document.querySelector("#genericWizardMainCatalog");let t=document.querySelector("#afTree");t||(t=document.createElement("div"),t.id="afTree",t.classList.add("property-hierarchy"),e.appendChild(t),$(t).hide()),t&&fme.PropertyContainer.renderTo($(t),!0)}})}),oae.on("external.showRegister",function(e){return Cwe(this,void 0,void 0,function*(){const t=document.querySelector("#oldKataTree"),r=document.querySelector("#afTree"),n=document.querySelector("#floorPanel"),i=document.querySelector("#panelRight"),o=e=>{i&&(e?(i.style.height="calc(100% - 100px)",i.style.marginTop="58px",i.style.marginBottom="42px"):(i.style.height="",i.style.marginTop="",i.style.marginBottom=""))};switch(o(!1),fme.hideRegisters(),fme.closeRightPanel(),e){case"kata-tree":t&&(t.style.display="",fme.openRightPanel(),o(!0));break;case"prog-properties":r&&(r.style.display="",fme.openRightPanel(),o(!0));break;case"texture-panel":n&&(n.style.display="",fme.openRightPanel(),o(!0))}})}),oae.on("external.getCanvasImage",function(e){return Cwe(this,arguments,void 0,function*(e,t=.95){let r="";if("jpg"===e)r=`data:image/jpeg;base64,${yield fme.getCanvasJpgAsBase64(t)}`;else if("png"===e){const e=$("canvas").get(0);r=`data:image/png;base64,${yield fme.getCanvasPngAsBase64(e.width)}`}return[r]})}),oae.on("external.setRoomConfigurationState",function(e){return Cwe(this,void 0,void 0,function*(){e?document.querySelector("#roomPageContainer").classList.remove("hidden"):document.querySelector("#roomPageContainer").classList.add("hidden")})}),oae.on("external.setVPlacerContextInfoData",function(e){return Cwe(this,void 0,void 0,function*(){return[yield ape.setVPlacerContextInfoData(e)]})}),oae.on("external.executeHTMLMessage",function(e,t,r,n,i){return Cwe(this,void 0,void 0,function*(){return[yield ape.executeHTMLMessage(e,t,r,n,i)]})}),oae.on("external.executeWebCabApiMessage",function(e,t,r){return Cwe(this,void 0,void 0,function*(){return[yield ape.executeWebCabApiMessage(e,t,r)]})}),oae.on("external.executeManufacturerFunction",function(e,t,r){return Cwe(this,arguments,void 0,function*(e,t,r,n=""){return[yield ape.executeManufacturerFunction(e,t,r,n)]})}),oae.on("external.performQuery",function(e){return Cwe(this,void 0,void 0,function*(){const t=yield ape.performQuery(e);return t?[t]:[]})}),oae.on("external.searchVarsInScene",function(e,t,r){return Cwe(this,void 0,void 0,function*(){return[yield ape.SearchVarsInTree(e,t,r)]})}),oae.on("external.addToCart",function(){return Cwe(this,arguments,void 0,function*(e=[]){return[yield fme.addToCart(e)]})}),oae.on("external.additionalPositionsWindow.show",function(){return Cwe(this,void 0,void 0,function*(){return Swe.setUrlPrefix(g_node_url_prefix),Swe.show()})}),oae.on("external.additionalPositionsWindow.hide",function(){return Cwe(this,void 0,void 0,function*(){return Swe.hide()})}),oae.on("external.getCurrency",function(){return Cwe(this,void 0,void 0,function*(){return[yield ape.getCurrency()]})}),oae.on("external.getDimensionScale",function(){return Cwe(this,void 0,void 0,function*(){return[Bde.DimensionScale]})}),oae.on("external.getDimensionDigits",function(){return Cwe(this,void 0,void 0,function*(){return[Bde.DimensionDigits]})}),oae.on("external.getDistinctArticleCategoryList",function(e){return Cwe(this,void 0,void 0,function*(){return[yield ape.getDistinctArticleCategoriesManuProg(e.manufacturer,e.program,e.programGroup).then(e=>e.map(e=>e[0]))]})}),oae.on("external.getPlanningContactInfo",function(){return Cwe(this,void 0,void 0,function*(){return[window.g_contact]})}),oae.on("external.downloadScreenshot",function(e){return Cwe(this,void 0,void 0,function*(){return yield uhe.download(e),[]})}),oae.on("external.getHRThemes",function(){return Cwe(this,void 0,void 0,function*(){return[yield Mse.getJson()]})}),oae.on("external.setHRThemes",function(e){return Cwe(this,void 0,void 0,function*(){const t=yield Mse.getThemes();return t.has(e)?wse.enable(t.get(e)):wse.disable(),[]})}),oae.on("external.setDisable3DText",function(e){return Cwe(this,void 0,void 0,function*(){return new Promise((t,r)=>{var n;null===(n=aae.world)||void 0===n||n.traverse(function(t){t instanceof AI&&(t.visible=!e)}),Bde.Disable3DText=e,t(null)})})}),oae.on("external.getProgImages",function(e,t,r){return Cwe(this,void 0,void 0,function*(){return[yield ape.getProgImages(e,t,r)]})}),oae.on("external.getPrintLogoPath",function(e,t){return Cwe(this,arguments,void 0,function*(e,t,r=e){return[yield ape.GetPrintLogoPath(e,t,r)]})}),oae.on("external.loadLevel1KataInfo",function(e,t,r,n){return Cwe(this,void 0,void 0,function*(){return[yield ape.loadLevel1KataInfo(e,t,r,n)]})}),oae.on("external.getDeviceType",function(){return Cwe(this,void 0,void 0,function*(){return[Wp.getType()]})}),oae.on("external.iwoFurnService",function(e){return Cwe(this,void 0,void 0,function*(){return zte(e)})}),oae.on("external.getCategoriesByInstanceIdents",function(e,t,r){return Cwe(this,void 0,void 0,function*(){return[yield ape.getCategoriesByInstanceIdents(e,t,r)]})}),oae.on("external.openFurnplanKataPage",(e,t,r)=>Cwe(void 0,void 0,void 0,function*(){return[yield upe.openFurnplanKataPage(e,t,r)]})),oae.on("external.getWidgetPosition",(e,t,...r)=>Cwe(void 0,[e,t,...r],void 0,function*(e,t,r=new DOMRect){return Array.isArray(e)?e.map(e=>{const n=lae.get(e,!0);if(n){if(t.normalized){const e=n.dimension.toVector().multiply(t);return nne.getScreenPositionWithConstraints(n.localToWorld(e),r)}return nne.getScreenPositionWithConstraints(n.localToWorld(new br(t.x,t.y,t.z)),r)}}):[nne.getScreenPositionWithConstraints(t,r)]})),oae.on("external.getDisplayNameManuProg",function(e,t){return Cwe(this,void 0,void 0,function*(){return[yield ape.getDisplayNameManuProg(e,t)]})}),oae.on("external.getManufacturerLogoNameFromPriceReference",function(e,t){return Cwe(this,void 0,void 0,function*(){return[yield ape.getManufacturerLogoNameFromPriceReference(e,t)]})}),oae.on("external.getUserinterfaceManuProg",function(){return Cwe(this,void 0,void 0,function*(){return[yield ape.getUserinterfaceManuProg()]})}),oae.on("external.resetCurrentUserinterfaceManuProg",function(){return Cwe(this,void 0,void 0,function*(){return[yield ape.resetCurrentUserinterfaceManuProg()]})}),oae.on("external.getPlanningObjectByGuid",function(e){return Cwe(this,void 0,void 0,function*(){return[yield ape.getPlanningObjectByGuid(e)]})}),oae.on("external.clearSelectionHandler",function(){return Cwe(this,void 0,void 0,function*(){yield $le.clear()})}),oae.on("external.selectObjectInScene",function(e){return Cwe(this,void 0,void 0,function*(){const t=lae.get(e);t&&($le.contains(t)||(yield $le.clear(),yield $le.add(t)))})}),oae.on("external.deselectObjectInScene",function(e){return Cwe(this,void 0,void 0,function*(){const t=lae.get(e);t&&$le.contains(t)&&(yield $le.remove(t))})}),oae.on("external.addHighlightBox",function(e){return Cwe(this,void 0,void 0,function*(){const t=lae.get(e);t&&FI.addHighlight(t)})}),oae.on("external.removeMarker",function(e){return Cwe(this,void 0,void 0,function*(){const t=lae.get(e);t&&FI.isMarked(t)&&FI.removeMarker(t)})}),oae.on("external.executeCustomEvent",function(e,t,r){return Cwe(this,void 0,void 0,function*(){LI.CustomIcon_ExecuteCustomEvent.send([{command:e,instanceIdent:t,parameters:r}]),lpe.dispatch("ExecuteCustomEvent",{command:e,instanceIdent:t,parameters:r})})}),oae.on("external.getCountryInfo",function(){return Cwe(this,void 0,void 0,function*(){return[yield ape.getCountryInfo()]})}),oae.on("external.createStdCatalogFilterCtx",function(e){return Cwe(this,void 0,void 0,function*(){return[yield ape.createStdCatalogFilterCtx(e)]})}),oae.on("external.disposeCatalogFilterCtx",function(e){return Cwe(this,void 0,void 0,function*(){return[yield ape.disposeCatalogFilterCtx(e)]})}),oae.on("external.runCatalogFilterCtx",function(e){return Cwe(this,void 0,void 0,function*(){return[yield ape.runCatalogFilterCtx(e)]})}),oae.on("external.getArticleList",function(e){return Cwe(this,void 0,void 0,function*(){return[yield ape.GetAdditionalPositions()]})}),oae.on("external.addNeutralArticle",function(e){return Cwe(this,void 0,void 0,function*(){return[yield ape.AddNeutralAdditionalPositon(e)]})}),oae.on("external.deleteAdditionalPositons",function(e){return Cwe(this,void 0,void 0,function*(){return[yield ape.DeleteAdditionalPosition(e)]})}),oae.on("external.getMaterialCatalog",function(){return Cwe(this,void 0,void 0,function*(){return[yield ape.getMaterialCatalog()]})}),upe.on("appready",function(){console.log("############### appready ###############"),upe.sendToApp("appready",[window.location.href,g_sessionId])}),upe.on("change",function(e){g_configuration.webui_mode?upe.sendToApp("furnview.changePrice",[e]):(upe.sendToApp("change",[e]),upe.sendToApp("external.calculation",[e]))}),upe.on("finish",function(e){upe.sendToApp("finish",[e])}),upe.on("isTrusted",function(e){}),window.onmessage=function(e){Qse.setLastInteraction();const t=e.data;try{t.command&&(0===t.command.indexOf("external.")?oae.dispatch(t.command,t.uuid,t.parameters):0===t.command.indexOf("silent.")||(t.parameters.push(e.source),t.parameters.push(t.fpcUUID),upe.dispatch(t.command,t.parameters)))}catch(t){e.isTrusted||console.log("Unable to process message: "+JSON.stringify(e))}},iae.checkParent();var Ewe=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};let Iwe=!0;upe.on("furnplan.kataTreeComponentLoaded",function(){return Ewe(this,void 0,void 0,function*(){Iwe&&(Iwe=!1,Zpe.IsKataTreeAvailable=!0,Wte.setCatalogInitialized(!0))})}),upe.on("furnplan.generateAccessoires",function(){ape.getGeneratedAccessoires()}),upe.on("furnplan.WorldData",function(){const e=aae.world;let t=!1;e.children.forEach(function(e){e.keys.forEach(function(e){18800803==e&&(t=!0)})}),Mwe.postMessage("furnplan.checkHeightWorld",[t])}),upe.on("furnplan.clearGeneratedAccessoires",function(){ape.getGeneratedAccessoires(!0)}),upe.on("furnplan.communication",function(e,t,r,n){Qp.send(e,t).then(function(e){Mwe.postMessage(r,[e],n)}).catch(function(e){console.error(e)})}),upe.on("furnplan.blockPropertyLoad",function(e){Bde.BlockGeneratedProperties=e}),upe.on("furnplan.openAdditionalPositions",function(){Swe.show()}),upe.on("furnplan.closeAdditionalPositions",function(){Swe.hide()}),upe.on("furnplan.print",function(){fme.print()}),upe.on("furnplan.wizardLoaded",function(){$("#oldKataTree").removeClass("noWidth")}),upe.on("furnplan.finishedLoadingDhpFromExportPage",function(){ape.getScene()}),upe.on("furnplan.startIndividualWall",function(){Qp.send("startIndividualWallAction",[])}),upe.on("furnplan.stopIndividualWall",function(){Qp.send("stopIndividualWallAction",[])}),upe.on("furnplan.showYTVideo",function(e,t){e&&ape.GetVideoInfo({channel:e,video:t}).then(function(e){e[0].length>0&&rhe.show(e[0],e[1])})}),upe.on("furnplan.getConfiguration",function(){Mwe.postMessage("furnplan.getConfiguration_"+arguments[arguments.length-1],[g_configuration])}),upe.on("furnplan.getEnvironment",function(){const e=new URL(window.location.href).pathname.match(/web(ui|viewer)/)?"configurator":"furnplan";Mwe.postMessage("furnplan.getEnvironment_"+arguments[arguments.length-1],[e])}),upe.on("furnplan.resetFitting",function(){ape.resetFitting()}),upe.on("furnplan.savePrintImageColor",function(){return ape.savePrintImageColor().then(()=>{Mwe.postMessage("furnplan.savePrintImageColor_"+arguments[arguments.length-1],[])})}),upe.on("furnplan.clearScene",function(){const e=lae.getPOGuids();return ape.deleteLO(e).then(()=>Dhe.clearScene(!0,!0,!0))}),upe.on("furnplan.getScene",function(){ape.getScene()}),upe.on("furnplan.deletePOElement",function(e){e?$le.delete():($le.clear(),Yse.InteractionMode=Pp.DELETABLE,Poe.setStrategy(Poe.pickBBox3),lae.getPOIIs().forEach(e=>{const t=lae.get(e);MI.show(t)}))}),upe.on("furnplan.showIndividualPanel",function(e){e?$("#oldKataTree").removeClass("dhmcBorder"):$("#oldKataTree").addClass("dhmcBorder")}),upe.on("furnplan.cancelOperation",function(){var e;Yse.SceneAction&&(null===(e=Yse.SceneAction)||void 0===e||e.cancel(),Yse.clearSceneAction(!0))}),upe.on("furnplan.setSelectables",function(e,t,r){Bde.SelectionFilter=e,$le.clear(),ape.setSelectionFilter(e,t,r)}),upe.on("furnplan.setSelectablesMultiProg",function(e,t,r){Bde.SelectionFilter=e,$le.clear(),ape.setSelectionFilterMultiProg(e,t,r)}),upe.on("furnplan.getSelectionActions",function(e){Bde.SelectionActionGroup=e,ape.collectSelectionActions(e)});const Mwe=new class{postMessage(e,t,r,n){if(!Wte.HasKataTreeIframe)return;let i=window;try{i=$("#furnplan-kata-tree")[0].contentWindow}catch(e){i=window["furnplan-kata-tree"]}r&&(i=r),Qp.postMessage(i,e,t,n)}postMessageToAll(e,t){g_configuration.panel_right_register_old_kata_tree&&$("iframe").toArray().forEach(r=>{Qp.postMessage(r.contentWindow,e,t)})}};window.FurnplanKataTreeInterface=Mwe||{};var kwe=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};new class extends Yre{constructor(){super("lvcmodify"),this._clearOnClick=!0,this._extBlockClearOnClick=!0}preBegin(...e){return super.preBegin(...e)}begin(...e){const t=Object.create(null,{begin:{get:()=>super.begin}});return kwe(this,void 0,void 0,function*(){if(!t.begin.call(this,e))return!1;this._isActive||(this._waitForCancel&&(yield this._waitForCancel,this._waitForCancel=null),this._isActive=!0,$le.Count>0&&(yield $le.clear()),FI.clearMarker(null,NI.ALL),Yse.InteractionMode=Pp.LVC,Bde.NoInteractionMode=!0,Bde.NoCameraInteractionMode=!0,Poe.setStrategy(Poe.pickBBox3),this.SendStartMove())})}update(...e){if(!super.update(e))return!1;if(this._isActive){Wp.getType()===Mp.MOBILE&&(Yse.Offset={x:30,y:70});const e=Yse.InteractionMode;if(e===Pp.LVC&&Wp.getType()===Mp.MOBILE){kse.OffsetCursor.removeClass("hidden");const e=Yse.CalcOffset(event,!0);kse.OffsetCursor.css("left",e.offsetX),kse.OffsetCursor.css("top",e.offsetY)}e===Pp.LVC&&this._canSend&&this.SendMove()}}end(...e){if(!super.end(e))return!1;if(this._isActive){Yse.InteractionMode===Pp.LVC&&this._canSend&&(this.EndMove(),Poe.setStrategy(Poe.pickGeometry),Yse.InteractionMode=Pp.DEFAULT),Wp.getType()===Mp.MOBILE&&(Yse.Offset={x:0,y:0},kse.OffsetCursor.addClass("hidden")),0===$le.Count&&FI.clearMarker(),Bde.NoInteractionMode=!1,Bde.NoCameraInteractionMode=!1,this._isActive=!1}}cancel(...e){const t=Object.create(null,{cancel:{get:()=>super.cancel}});return kwe(this,void 0,void 0,function*(){if(!t.cancel.call(this,e))return!1;if(this._waitForEnd&&(yield this._waitForEnd,this._waitForEnd=null),this._isActive&&!this._waitForCancel){Yse.InteractionMode===Pp.LVC&&(this.CancelMove(),une.dispatch("clearDummy"),Poe.setStrategy(Poe.pickGeometry),Yse.InteractionMode=Pp.DEFAULT),Wp.getType()===Mp.MOBILE&&(Yse.Offset={x:0,y:0},kse.OffsetCursor.addClass("hidden")),0===$le.Count&&FI.clearMarker(),Bde.NoInteractionMode=!1,Yse.clearSceneAction(!0),Bde.NoCameraInteractionMode=!1,this._isActive=!1}})}reset(...e){return super.reset(...e)}SendStartMove(){this._canSend&&(this._canSend=!1,ape.modifyLVC("Start").then(()=>{this._canSend=!0}).catch(e=>{this._canSend=!0,console.error(e)}))}SendMove(){return kwe(this,arguments,void 0,function*(e=!1){if(this._canSend||e)return this._canSend=!1,ape.modifyLVC("Update").then(()=>(this._canSend=!0,!0)).catch(e=>(this._canSend=!0,console.error(e),!1))})}EndMove(){return kwe(this,void 0,void 0,function*(){return this._waitForEnd=Om(),yield this.SendMove(!0),this._canSend=!1,ape.modifyLVC("End").then(()=>(Pie.setPrice(),this._canSend=!0,this._waitForEnd.resolve(),!0)).catch(e=>(this._canSend=!0,console.error(e),this._waitForEnd.resolve(),!1))})}CancelMove(){this._waitForCancel=Om(),this._canSend=!1,ape.modifyLVC("Cancel").then(()=>{this._canSend=!0,this._waitForCancel.resolve()}).catch(e=>{this._canSend=!0,console.error(e),this._waitForCancel.resolve()})}};new class extends Yre{constructor(){super("twoDWallCornerMove"),this._triggerOnMove=!0,this._wallCornerElement=null,this._startPos=null,this.reset()}reset(...e){if(!super.reset(...e))return!1;this._startPos=new fr,this._wallCornerElement=null,Bde.NoCameraInteractionMode=!1}preBegin(...e){return super.preBegin(...e)}begin(...e){return!!super.begin(e)&&(this._isActive=!0,Bde.IsPlacerMode&&Yse.Intersection instanceof yie?(Bde.NoCameraInteractionMode=!0,this._wallCornerElement=Yse.Intersection,this._startPos.set(Yse.CurrentPosition.x,Yse.CurrentPosition.y),!0):void(this._isActive=!1))}update(...e){if(!super.update(e))return!1;const t=new fr(Yse.CurrentPosition.x,Yse.CurrentPosition.y),r=(new fr).subVectors(this._startPos,t);this._startPos.copy(t),this._wallCornerElement.update(null,r,null)}end(...e){if(!super.end(e))return!1;this._isActive=!1,this.reset()}cancel(...e){if(!super.cancel(e))return!1;this.reset()}};new class extends Yre{constructor(){super("twoDWallMove"),this._triggerOnMove=!0,this._wallElement=null,this._startPos=null,this.reset()}preBegin(...e){return super.preBegin(...e)}begin(...e){return!!super.begin(e)&&(this._isActive=!0,Bde.IsPlacerMode&&Yse.Intersection instanceof gie?(Bde.NoCameraInteractionMode=!0,this._wallElement=Yse.Intersection,this._startPos.set(Yse.CurrentPosition.x,Yse.CurrentPosition.y),!0):void(this._isActive=!1))}update(...e){if(!super.update(e))return!1;const t=new fr(Yse.CurrentPosition.x,Yse.CurrentPosition.y),r=(new fr).subVectors(this._startPos,t);this._startPos.copy(t),this._wallElement.update(r)}end(...e){if(!super.end(e))return!1;this.reset()}cancel(...e){if(!super.cancel(e))return!1;this.reset()}reset(...e){if(!super.reset(...e))return!1;this._startPos=new fr,this._wallElement=null,Bde.NoCameraInteractionMode=!1}};new class extends Yre{constructor(){super("measureDeleteAction")}begin(...e){super.begin(e)}update(...e){}end(...e){}cancel(...e){}};var Twe=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};new class extends nne{constructor(){if(super(),Bde.SelectionContextMenuEnabled){this._domElement.classList.add("delete-item");const e=document.createElement("i");e.classList.add("fv-icon-delete"),this._domElement.appendChild(e),this._domElement.setAttribute("data-i18n-title","fv.tooltip.context.delete"),this._toolbarName="fv_global",cne.getToolbar(this._toolbarName).add(this),this.initializeEvents()}}initializeEvents(){this._domElement&&this._domElement.parentElement&&this._domElement.parentElement.addEventListener("click",()=>{$le.delete()})}show(){this._domElement.style.display="",this._isVisible=!0}hide(){this._domElement.style.display="none",this._isVisible=!1}update(){return Twe(this,void 0,void 0,function*(){return $le.showDeleteIconInSelectionContextMenu()})}};var Rwe=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};new class extends nne{constructor(){if(super(),Bde.DimChangeContextMenu){this._domElement.classList.add("dimchange-item");const e=document.createElement("i");e.classList.add("fv-icon-dimchange"),this._domElement.appendChild(e),this._domElement.setAttribute("data-i18n-title","fv.tooltip.context.dimChange"),this._toolbarName="fv_global",cne.getToolbar(this._toolbarName).add(this),this.initializeEvents()}}show(){this._domElement.style.display="",this._isVisible=!0}hide(){this._domElement.style.display="none",this._isVisible=!1}initializeEvents(){return Rwe(this,void 0,void 0,function*(){this._domElement&&this._domElement.parentElement&&this._domElement.parentElement.addEventListener("click",()=>{ape.getLODimensionInfo().then(e=>{e[0].isValid&&(Rle.setDimData(e[0]),Rle.show())})})})}update(){return Rwe(this,void 0,void 0,function*(){const e=yield ape.getLODimensionInfo();return!!(e&&e[0]&&Rle.dimensionsCanChange(e[0]))})}};var Lwe=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class Pwe extends nne{constructor(e="",t="fv-icon-doorchange"){if(super(),this._frontStop="L",Bde.FrontStopContextMenu){this._domElement.classList.add("frontstop-item");const r=document.createElement("i");r.classList.add(t),this._icon=r,this._frontStop=e,this._domElement.appendChild(r),this._domElement.setAttribute("data-i18n-title","fv.tooltip.context.frontstop"),this._toolbarName="fv_global",cne.getToolbar(this._toolbarName).add(this),this.initializeEvents()}}show(){this._domElement.style.display="",this._isVisible=!0}hide(){this._domElement.style.display="none",this._isVisible=!1}update(){return Lwe(this,void 0,void 0,function*(){if(this.hide(),0===$le.Count)return!1;const e=$le.objects.map(e=>e.instanceIdent),t=yield ape.isFrontStopChangeAvailable(e);return!(!t||!t.available)&&(t.selected===this._frontStop?this._domElement.parentElement.classList.add("selected"):this._domElement.parentElement.classList.remove("selected"),this.show(),!0)})}initializeEvents(){return Lwe(this,void 0,void 0,function*(){this._domElement&&this._domElement.parentElement&&this._domElement.parentElement.addEventListener("click",()=>Lwe(this,void 0,void 0,function*(){if(this._domElement.parentElement.classList.contains("selected"))return;if(0===$le.Count)return;const e=$le.objects.map(e=>e.instanceIdent);yield ape.changeFrontStop(e),Dwe.update(),Nwe.update()}))})}}const Dwe=new Pwe("L","fv-icon-door-hinge-left"),Nwe=new Pwe("R","fv-icon-door-hinge-right");var Fwe=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};new class extends nne{constructor(){super(),this._domElement.classList.add("replace-item");const e=document.createElement("i");e.classList.add("fv-icon-swap-horizontal"),this._domElement.appendChild(e),this._domElement.setAttribute("data-i18n-title","fv.tooltip.context.replaceArticle"),this._toolbarName="fv_global",cne.getToolbar(this._toolbarName).add(this),this.initializeEvents()}show(){this._domElement.style.display="",this._isVisible=!0}hide(){this._domElement.style.display="none",this._isVisible=!1}initializeEvents(){return Fwe(this,void 0,void 0,function*(){this._domElement&&this._domElement.parentElement&&this._domElement.parentElement.addEventListener("click",()=>Fwe(this,void 0,void 0,function*(){const e=$le.First.instanceIdent;LI.CustomIcon_ExecuteCustomEvent.send([{command:"ReplaceArticle",instanceIdent:e}])}))})}update(){return Fwe(this,void 0,void 0,function*(){if($le.Count>1)return!1;const e=$le.First;return!!e&&!!e.keys.includes(11620)})}};const Owe=new class{constructor(){}initialize(){tne.initialize()}};var Bwe=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s},Uwe=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};let Vwe=class extends HTMLElement{constructor(){super(),pM.on("kioskConfigurator.openMailForm",()=>this.showMailForm())}showLandingPage(){this.hidePages(),this.querySelector("kc-landing-page").classList.remove("hidden")}showConfiguratorPage(){FurnplanKataTreeInterface.postMessage("furnplan.clearStorage",["kc-localStorage"]);const e=this.querySelector("kc-configurator-page");this.hidePages(),e.classList.remove("hidden")}showMailNotification(){const e=this.querySelector("kc-email-notification");this.hidePages(),e.classList.remove("hidden")}hidePages(){this.querySelectorAll(".kc-page").forEach(e=>{e.classList.add("hidden")})}showMailForm(){return Uwe(this,void 0,void 0,function*(){const e=this.querySelector("kc-email-form");ape.printPDF().then(t=>e.setPdfData(t)),this.hidePages(),e.classList.remove("hidden")})}};Vwe=Bwe([_se({selector:"kc-body",template:"\n        <slot></slot>\n    "})],Vwe);var zwe=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s},Hwe=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};let Gwe=class extends HTMLElement{constructor(){super(),this.filters=[],this.images=["/images/landingpage/new-design/form-2.svg","/images/landingpage/new-design/form-1.svg"]}connectedCallback(){this.shadowRoot.getElementById("new-planning-button").addEventListener("click",()=>this.createNewPlanning()),this.shadowRoot.getElementById("reset-all-filters-button").addEventListener("click",()=>this.resetAllFilters()),this.addLandingPageElements()}addFilter(e,t){this.filters.push({property:e,value:t}),this.updateResetAllFiltersButtonVisibility(),this.updatePlanningItemGrid()}removeFilter(e,t){this.filters=this.filters.filter(r=>!(r.property==e&&r.value==t)),this.updateResetAllFiltersButtonVisibility(),this.updatePlanningItemGrid()}addLandingPageElements(){return Hwe(this,void 0,void 0,function*(){const e=yield Upe.getLandingPage(g_configuration.landingPage);for(let t=0;t<e.items.length;t++){const r=e.items[t],n=this.shadowRoot.getElementById("filter-shape"),i=this.shadowRoot.getElementById("filter-width"),o=this.shadowRoot.getElementById("filter-height"),s=document.createElement("kc-planning-item");s.setCategory(r.category.mode.toString()),Upe.getLandingPageElement(r.items[0]).then(e=>{e.width=e.width||{key:"",type:0,text:""},e.height=e.height||{key:"",type:0,text:""},e.price=e.price||{key:"",type:0,text:""},e.uvp_price=e.uvp_price||{key:"",type:0,text:""},e.custom=e.custom||{key:"",type:0,text:""},s.setPlanningItemId(e._id),s.setPreviewImage(e.image.file),s.setDescription(e.description.text),s.setWidth(e.width.text),s.setHeight(e.height.text),s.setPrice(e.price.text),e.uvp_price.text.length>0&&s.setOriginalPrice(e.uvp_price.text),"1"===e.custom.text&&s.showMirrorTag(),n.hasValue(s.getCategory())||n.addOption("category",s.getCategory(),"0"===s.getCategory()?"Zeile":"Eck-Schrank",this.images[parseInt(s.getCategory())]),i.hasValue(s.getWidth())||i.addOption("width",s.getWidth(),s.getWidth(),"/images/landingpage/new-design/width.svg","cm"),o.hasValue(s.getHeight())||o.addOption("height",s.getHeight(),s.getHeight(),"/images/landingpage/new-design/height.svg","cm")}),this.shadowRoot.getElementById("planning-items").appendChild(s)}})}createNewPlanning(){return Hwe(this,void 0,void 0,function*(){Nhe.showLoader();const e=document.querySelector("kc-configurator-page");e.classList.remove("hidden"),yield upe.isAppReady();const t=lae.getPOGuids();yield ape.deleteLO(t),yield Dhe.clearScene(!0,!0,!0),this.parentElement.showConfiguratorPage(),e.onFurnitureStepClick()})}resetAllFilters(){this.shadowRoot.querySelectorAll("kc-dropdown-button").forEach(e=>{e.resetFilters()})}updatePlanningItemGrid(){0===this.filters.length?this.shadowRoot.getElementById("planning-items").querySelectorAll("kc-planning-item").forEach(e=>e.classList.remove("hidden")):this.shadowRoot.getElementById("planning-items").querySelectorAll("kc-planning-item").forEach(e=>{e.classList.add("hidden"),this.filters.forEach(t=>{"category"===t.property?e.getCategory()===t.value&&e.classList.remove("hidden"):"width"===t.property?e.getWidth()===t.value&&e.classList.remove("hidden"):"height"===t.property&&e.getHeight()===t.value&&e.classList.remove("hidden")})})}updateResetAllFiltersButtonVisibility(){this.filters.length>0?this.shadowRoot.getElementById("reset-all-filters-button").classList.remove("hidden"):this.shadowRoot.getElementById("reset-all-filters-button").classList.add("hidden")}};Gwe=zwe([_se({selector:"kc-landing-page",template:'\n        <div class="kc-title">\n            <img src="/images/landingpage/new-design/Moebelix_Logo.svg"/>\n        </div>\n        <div class="kc-sub-title">Schrank Konfigurator</div>\n        <div class="kc-landingpage-toolbar">\n            <div class="kc-button-container">\n                <button id="new-planning-button" class="turquoise kc-button">Neue Planung</button>\n                \x3c!--<button class="blue kc-button">--\x3e\n                \x3c!--    <i class="kc icon white-door"></i>--\x3e\n                \x3c!--    <span>Meine Planung öffnen</span>--\x3e\n                \x3c!--</button>--\x3e\n            </div>\n            <div class="kc-button-container">\n                <button id="reset-all-filters-button" class="hidden white kc-button">\n                    <span>Alle Filter löschen</span>\n                    <i class="kc icon reset"></i>\n                </button>\n                <kc-dropdown-button id="filter-shape" data-text="Form" data-property="category" tabindex="0" data-dimmer-id="kc-dropdown-button-dimmer"></kc-dropdown-button>\n                <kc-dropdown-button id="filter-width" data-text="Breite" data-property="width" tabindex="1" data-dimmer-id="kc-dropdown-button-dimmer"></kc-dropdown-button>\n                <kc-dropdown-button id="filter-height" data-text="Höhe" data-property="height" tabindex="2" data-dimmer-id="kc-dropdown-button-dimmer"></kc-dropdown-button>\n            </div>\n        </div> \n        <div class="kc-grid">\n            <div id="planning-items" class="kc-inner-grid-container"</div>\n        </div>\n        <slot></slot>\n    '})],Gwe);var jwe=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s},Jwe=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};let Wwe=class extends HTMLElement{constructor(){super(),this.category="",this.width="",this.height="",this.initializeDOMEvents()}getCategory(){return this.category}setCategory(e){this.category=e}getWidth(){return this.width}setWidth(e){this.width=e,this.shadowRoot.getElementById("dimension-x").textContent=e}getHeight(){return this.height}setHeight(e){this.height=e,this.shadowRoot.getElementById("dimension-y").textContent=e}setPreviewImage(e){e&&e.length>0&&this.shadowRoot.getElementById("preview").setAttribute("src",`/landingpageelement/image/${e}`)}setDescription(e){this.shadowRoot.getElementById("description").textContent=e}setPrice(e){this.shadowRoot.getElementById("price").textContent=e}setDiscountWord(e){this.shadowRoot.getElementById("discount-wording").textContent=e}setOriginalPrice(e){this.shadowRoot.getElementById("original-price").textContent=e,this.showDiscountedAndOriginalPrice()}showMirrorTag(){this.shadowRoot.getElementById("mirror-tag").classList.add("visible")}setPlanningItemId(e){this.planningItemId=e}initializeDOMEvents(){return Jwe(this,void 0,void 0,function*(){yield waitForDOMUpdate(),this.shadowRoot.addEventListener("click",()=>this.onLoadPlanningClick())})}onLoadPlanningClick(){return Jwe(this,void 0,void 0,function*(){Nhe.showLoader(),yield upe.isAppReady();const e=document.querySelector("kc-body"),t=document.querySelector("kc-configurator-page"),r=(this.getHeight().match(/\d{1,3}/)||["242"])[0];t.onFurnitureStepClick(r),Upe.loadPlanningFile(this.planningItemId),e.showConfiguratorPage()})}showDiscountedAndOriginalPrice(){this.shadowRoot.getElementById("price-area").classList.add("discount")}};Wwe=jwe([_se({selector:"kc-planning-item",template:'\n        <div class="presentation">\n            <div id="mirror-tag">\n                <div id="img-mirror"></div>    \n                <span>Spiegel</span>\n            </div>\n            <img id="preview" src=""/>\n        </div>\n        <div class="detail">\n            <div id="description"></div>\n            <div id="measurements">\n                <div id="tag">\n                    <img id="img-dimension-x" src="/images/landingpage/new-design/kc-horizontal-dimension.svg"/>\n                    <span id="dimension-x"></span>\n                    <img id="img-dimension-y" src="/images/landingpage/new-design/kc-vertical-dimension.svg"/>\n                    <span id="dimension-y"></span>\n                </div>\n            </div>\n            <div id="interaction">\n                <div id="price-area">\n                    <span id="price"></span>\n                    <span id="discount-wording">statt</span>\n                    <span id="original-price"></span>\n                </div>\n                <div id="button-area">\n                    <button id="load-planning" class="no-text turquoise kc-button">\n                        <i class="kc icon arrow"></i>\n                    </button>\n                </div>\n            </div>\n        </div>\n    '})],Wwe);var Qwe=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s},qwe=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};let Ywe=class extends HTMLElement{constructor(){super(),this.currentActiveStep=0,this.stepClickHandlers=[()=>this.onFurnitureStepClick(),()=>this.onDesignStepClick(),()=>this.onInteriorStepClick(),()=>this.onFinishStepClick()],pM.on("kioskConfigurator.openPdfWindow",()=>this.showPdfWindow())}connectedCallback(){return qwe(this,void 0,void 0,function*(){const e=this.querySelector("#kc-toolbar-reset-view");(()=>{qwe(this,void 0,void 0,function*(){yield upe.isAppReady(),aue.CurrentCameraControl.addEventListener("onDirty",()=>{e.classList.remove("disabled")})})})(),this.shadowRoot.getElementById("logo").addEventListener("click",()=>this.onHomeStepClick()),this.shadowRoot.getElementById("logo-pdf").addEventListener("click",()=>this.onHomeStepClick()),this.shadowRoot.getElementById("home").addEventListener("click",()=>this.onHomeStepClick()),this.shadowRoot.getElementById("home-pdf").addEventListener("click",()=>this.onHomeStepClick()),this.shadowRoot.getElementById("furniture").addEventListener("click",()=>this.onFurnitureStepClick()),this.shadowRoot.getElementById("design").addEventListener("click",()=>this.onDesignStepClick()),this.shadowRoot.getElementById("interior").addEventListener("click",()=>this.onInteriorStepClick()),this.shadowRoot.getElementById("finish").addEventListener("click",()=>this.onFinishStepClick()),this.shadowRoot.getElementById("close-pdf-window").addEventListener("click",()=>this.onClosePdfWindowClick()),this.querySelector("#kc-toolbar-undo").addEventListener("click",()=>this.onToolbarUndoClick()),e.addEventListener("click",()=>this.onToolbarResetViewClick()),this.querySelector("#kc-toolbar-play").addEventListener("click",()=>this.onToolbarPlayClick()),this.querySelector("#kc-toolbar-closed").addEventListener("click",()=>this.onToolbarClosedClick()),this.querySelector("#kc-toolbar-open").addEventListener("click",()=>this.onToolbarOpenClick()),this.querySelector("#kc-toolbar-measurements").addEventListener("click",()=>this.onToolbarMeasurementsClick()),this.querySelector("#kc-toolbar-cloths").addEventListener("click",()=>this.onToolbarClothsClick()),window.addEventListener("blur",()=>this.closeVisibleHelpPopUp()),upe.on("furnplan.dragStart",()=>this.closeVisibleHelpPopUp())})}onToolbarUndoClick(){return qwe(this,void 0,void 0,function*(){yield ape.undoDhp()})}onToolbarRedoClick(){return qwe(this,void 0,void 0,function*(){yield ape.redoDhp()})}onToolbarResetViewClick(){this.querySelector("#kc-toolbar-reset-view").classList.add("disabled");(new oue).setFrontView()}onToolbarPlayClick(){Bde.ShowFront&&(Mme.AnimationClock.running||this.querySelector("#kc-toolbar-play").classList.toggle("active"),Mme.StartAnimation())}onToolbarClosedClick(e=!1){e||(Bde.ShowFront=!0,aae.ChangeFrontState(Bde.ShowFront));this.querySelector("#kc-toolbar-play").classList.remove("disabled"),this.querySelector("#kc-toolbar-closed").classList.add("active"),this.querySelector("#kc-toolbar-open").classList.remove("active")}onToolbarOpenClick(e=!1){e||(Bde.ShowFront=!1,aae.ChangeFrontState(Bde.ShowFront));const t=this.querySelector("#kc-toolbar-play");t.classList.remove("active"),t.classList.add("disabled"),Bde.DHAnimation_IsOpen=!1,Mme.AnimationClock.stop(),ape.setAnimation(Bde.DHAnimation_IsOpen),this.querySelector("#kc-toolbar-open").classList.add("active"),this.querySelector("#kc-toolbar-closed").classList.remove("active")}onToolbarMeasurementsClick(){const e=this.querySelector("#kc-toolbar-measurements");Bde.GlobalMeasureBox=!Bde.GlobalMeasureBox,Bde.GlobalMeasureBox?e.classList.add("active"):e.classList.remove("active")}onToolbarClothsClick(){const e=this.querySelector("#kc-toolbar-cloths");e.classList.contains("active")?(ape.getGeneratedAccessoires(!0),e.classList.remove("active")):(ape.getGeneratedAccessoires(),e.classList.add("active"))}onHomeStepClick(){this.openLandingPage()}onFurnitureStepClick(e="242"){document.querySelector("kc-price-line").showNextButton(),this.currentActiveStep=0,this.openPage("UNIT_Wizard_Moebel",[{parameter:"initial-height",value:e}]),this.showFurnitureHelpPopUp(),this.handleStepActivation(this.shadowRoot.getElementById("furniture"))}onDesignStepClick(){document.querySelector("kc-price-line").showNextButton(),this.currentActiveStep=1,this.openPage("UNIT_Wizard_Ausfuehrung"),this.showDesignHelpPopUp(),this.handleStepActivation(this.shadowRoot.getElementById("design"))}onInteriorStepClick(){document.querySelector("kc-price-line").showFinishButton(),this.currentActiveStep=2,this.openPage("UNIT_Wizard_Fitting"),this.showFittingHelpPopUp(),this.handleStepActivation(this.shadowRoot.getElementById("interior"))}onFinishStepClick(){document.querySelector("kc-price-line").hideButtons(),this.currentActiveStep=3,this.hideAllHelpPopUps(),this.openPage("UNIT_Wizard_Abschluss_PDF"),this.handleStepActivation(this.shadowRoot.getElementById("finish"))}onClosePdfWindowClick(){this.hidePdfWindow()}activateNextStep(){this.stepClickHandlers[++this.currentActiveStep]()}deactivateAllSteps(){this.shadowRoot.querySelector(".step.active").classList.remove("active"),this.shadowRoot.querySelectorAll("i.white").forEach(e=>e.classList.remove("white"))}activateStep(e){e.classList.add("active"),e.querySelector("i").classList.add("white")}handleStepActivation(e){this.deactivateAllSteps(),this.activateStep(e)}openPage(e,t=[]){var r;VI.clearLastIfNecessary(),VI.status="",Yse.SceneAction&&(null===(r=Yse.SceneAction)||void 0===r||r.cancel(),Yse.clearSceneAction()),FurnplanKataTreeInterface.postMessage("furnplan.loadKataPage",["intermeble","UNIT",`wizard/${e}`,t])}openLandingPage(){const e=document.querySelector("kc-body");FurnplanKataTreeInterface.postMessage("furnplan.clearStorage",["kc-localStorage"]),e.showLandingPage(),this.hidePdfWindow()}showPdfWindow(){return qwe(this,void 0,void 0,function*(){const e=yield ape.printPDF();Yte.showPDF(g_node_url_prefix,g_sessionId,e.pdf),this.shadowRoot.getElementById("main-steps").classList.add("hidden"),this.shadowRoot.getElementById("pdf-steps").classList.remove("hidden")})}hidePdfWindow(){return qwe(this,void 0,void 0,function*(){Yte.hide(),this.shadowRoot.getElementById("main-steps").classList.remove("hidden"),this.shadowRoot.getElementById("pdf-steps").classList.add("hidden")})}hideAllHelpPopUps(){const e=this.getElementsByTagName("kc-help-popup");Array.prototype.forEach.call(e,e=>{e.classList.add("hidden"),e.classList.remove("visible")})}showHelpPopUp(e){this.hideAllHelpPopUps(),e&&(e.classList.remove("hidden"),e.classList.add("fadein"),e.classList.add("visible"),setTimeout(()=>e.classList.remove("fadein"),2e3))}showFurnitureHelpPopUp(){const e=this.querySelector("kc-help-popup.furniture");this.showHelpPopUp(e)}showDesignHelpPopUp(){const e=this.querySelector("kc-help-popup.design");this.showHelpPopUp(e)}showFittingHelpPopUp(){const e=this.querySelector("kc-help-popup.fitting");this.showHelpPopUp(e)}closeVisibleHelpPopUp(){const e=this.querySelector("kc-help-popup.visible");e&&e.close()}};Ywe=Qwe([_se({selector:"kc-configurator-page",template:'\n        <kc-steps id="main-steps">\n            <div id="logo" class="medium step logo">\n                <i class="kc icon logo"></i>\n                <div class="title">Schrank Konfigurator</div>\n            </div>\n            <div id="home" class="small notch step">\n                <button class="no-text turquoise kc-button">\n                    <i class="kc icon landing-page"></i>\n                </button>\n            </div>\n            <div id="furniture" class="notch step active">\n                <i class="kc icon white furniture"></i>\n                <span>Maße</span>\n            </div>    \n            <div id="design" class="notch step">\n                <i class="kc icon design"></i>\n                <span>Design</span>\n            </div>    \n            <div id="interior" class="notch step">\n                <i class="kc icon interior"></i>\n                <span>Ausstattung</span>\n            </div>    \n            <div id="finish" class="step">\n                <i class="kc icon finished"></i>\n                <span>Fertige Planung</span>\n            </div>\n        </kc-steps>\n        <kc-steps id="pdf-steps" class="hidden">\n            <div id="logo-pdf" class="medium step logo">\n                <i class="kc icon logo"></i>\n                <div class="title">Schrank Konfigurator</div>\n            </div>\n            <div id="home-pdf" class="small step">\n                <button class="no-text blue kc-button">\n                    <i class="kc icon landing-page"></i>\n                </button>\n            </div>\n            <div id="close-pdf-window" class="step">\n                <button class="turquoise kc-button">\n                    <i class="kc icon left arrow"></i>\n                    <span>Zurück zur Planung</span>\n                </button>\n            </div>\n        </kc-steps>\n        <slot></slot>\n    '})],Ywe);var Xwe=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};let Kwe=class extends HTMLElement{constructor(){super()}};Kwe=Xwe([_se({selector:"kc-steps",template:"\n        <slot></slot>\n    "})],Kwe);var Zwe=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};let eAe=class extends HTMLElement{constructor(){super(),pM.on("change",e=>this.setAmount(e.totalPrice))}connectedCallback(){this.shadowRoot.getElementById("next-button").addEventListener("click",()=>this.onNextClick()),this.shadowRoot.getElementById("finish-planning-button").addEventListener("click",()=>this.onNextClick())}getAmount(){return this.shadowRoot.getElementById("amount").textContent.replace(",-",",00")}setAmount(e){this.shadowRoot.getElementById("amount").textContent=e.replace(",00",",-")}getCurrency(){return this.shadowRoot.getElementById("currency").textContent}setCurrency(e){this.shadowRoot.getElementById("currency").textContent=e}showNextButton(){this.shadowRoot.getElementById("finish-planning-button").classList.add("hidden"),this.shadowRoot.getElementById("next-button").classList.remove("hidden")}showFinishButton(){this.shadowRoot.getElementById("finish-planning-button").classList.remove("hidden"),this.shadowRoot.getElementById("next-button").classList.add("hidden")}hideButtons(){this.shadowRoot.getElementById("finish-planning-button").classList.add("hidden"),this.shadowRoot.getElementById("next-button").classList.add("hidden")}onNextClick(){document.querySelector("kc-configurator-page").activateNextStep()}};eAe=Zwe([_se({selector:"kc-price-line",template:'\n        <div id="price">\n            <div class="large text"><span id="currency">€</span><span id="amount">0</span></div>\n            <div class="small text">Inkl. MwSt.</div>\n        </div>\n        <div id="finish-planning">\n            <button id="next-button" class="turquoise kc-button">\n                <span>weiter</span>\n                <i class="kc icon small arrow"></i>\n            </button>\n            <button id="finish-planning-button" class="turquoise kc-button hidden">Planung abschließen</button>\n        </div>\n    '})],eAe);var tAe=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};let rAe=class extends HTMLElement{constructor(){super()}};rAe=tAe([_se({selector:"kc-toolbar",template:"\n        <slot></slot>\n    "})],rAe);var nAe,iAe=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};let oAe=nAe=class extends HTMLElement{constructor(){super(),this.options=[],this.openEvent=new CustomEvent("open",{bubbles:!1}),this.closeEvent=new CustomEvent("close",{bubbles:!1})}toggleState(){this.classList.contains("active")?(this.close(),this.dimmer.hide()):this.open()}close(){this.dispatchEvent(this.closeEvent),this.classList.remove("active")}open(){this.dispatchEvent(this.openEvent),this.classList.add("active"),this.dimmer.show()}connectedCallback(){this.dimmer=document.getElementById(this.getAttribute("data-dimmer-id")),this.shadowRoot.getElementById("buttonText").innerText=this.getAttribute("data-text"),this.shadowRoot.getElementById("button").addEventListener("click",()=>this.toggleState()),this.shadowRoot.getElementById("reset-filter-button").addEventListener("click",()=>this.resetFilters()),this.shadowRoot.getElementById("apply-button").addEventListener("click",()=>this.onApplyButtonClick()),this.shadowRoot.getElementById("container").addEventListener("focusout",e=>this.onBlur(e))}addOption(e,t,r,n,i=""){const o=this.shadowRoot.getElementById("option-element-wrapper"),s=document.createElement("div");s.classList.add("content-element"),s.setAttribute("data-property",e),s.setAttribute("data-value",t);const a=`\n            <span class="input">\n                <span class="checkmark"></span>\n            </span>\n            <img src="${n}" />\n            <div class="text ${i.length>0?`unit ${i}`:""}">${r}</div>\n        `;s.innerHTML=a,s.addEventListener("click",e=>this.onOptionClick(e.currentTarget)),o.appendChild(s),this.options.push(t)}hasValue(e){return this.options.indexOf(e)>-1}resetFilters(){const e=this.shadowRoot.getElementById("option-element-wrapper");for(let t=0;t<e.childElementCount;t++){const r=e.children.item(t);this.deactivateOption(r)}}getActiveOptionsCount(){return this.shadowRoot.querySelectorAll(".content-element[data-checked='checked']").length}updateResetFilterButtonVisibility(){this.getActiveOptionsCount()>0?this.shadowRoot.getElementById("reset-filter-button").classList.remove("hidden"):this.shadowRoot.getElementById("reset-filter-button").classList.add("hidden")}updateCount(){const e=this.shadowRoot.getElementById("count"),t=this.getActiveOptionsCount();t>0?(e.classList.remove("hidden"),e.textContent=t.toString()):e.classList.add("hidden")}deactivateOption(e){const t=document.querySelector("kc-landing-page");e.classList.remove("checked"),e.querySelector(".input").classList.remove("checked"),e.setAttribute("data-checked",""),t.removeFilter(e.getAttribute("data-property"),e.getAttribute("data-value")),this.updateCount(),this.updateResetFilterButtonVisibility()}activateOption(e){const t=document.querySelector("kc-landing-page");e.classList.add("checked"),e.querySelector(".input").classList.add("checked"),e.setAttribute("data-checked","checked"),t.addFilter(e.getAttribute("data-property"),e.getAttribute("data-value")),this.updateCount(),this.updateResetFilterButtonVisibility()}onOptionClick(e){"checked"===e.getAttribute("data-checked")?this.deactivateOption(e):this.activateOption(e)}onBlur(e){const t=e.relatedTarget,r=e.relatedTarget===this.shadowRoot.getElementById("content"),n=e.relatedTarget===this.shadowRoot.getElementById("button"),i=e.relatedTarget===this.shadowRoot.getElementById("reset-filter-button"),o=!!t&&t.tagName===nAe.tagName;r||n||i||(this.close(),o||this.dimmer.hide())}onApplyButtonClick(){this.close(),this.dimmer.hide()}};oAe=nAe=iAe([_se({selector:"kc-dropdown-button",template:'\n        <div id="container" class="dropdown">\n            <button id="button" class="dropbtn kc-button blue">\n                <span id="buttonText"></span>\n                <span id="count" class="hidden">0</span>\n                <i class="kc icon dropdown-down"></i>\n            </button>\n            <div id="content" class="dropdown-content" tabindex="0">\n                <div class="notch"></div>\n                <div id="content-element-wrapper" class="content-element-wrapper">        \n                    <div id="option-element-wrapper"></div>\n                    <div id="button-wrapper">\n                        <div id="reset-filter-button" class="hidden outline turquoise kc-button"><span>Filter zurücksetzen</span></div>\n                        <div id="apply-button" class="turquoise kc-button"><span>Übernehmen</span></div>\n                    </div>\n                </div>            \n            </div>\n        </div>\n    '})],oAe);var sAe=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s},aAe=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};let lAe=class extends HTMLElement{constructor(){super()}connectedCallback(){this.shadowRoot.getElementById("back-button").addEventListener("click",()=>this.onBackButtonClick()),this.shadowRoot.getElementById("send-mail-button").addEventListener("click",()=>this.onSendMailButtonClick())}setPdfData(e){this.pdfData=e}back(){document.querySelector("kc-body").showConfiguratorPage()}send(e,t){return aAe(this,void 0,void 0,function*(){try{const r=document.querySelector("kc-body");yield fme.sendMail(e,t),r.showMailNotification()}catch(e){}})}onBackButtonClick(){this.back()}onSendMailButtonClick(){const e=this.shadowRoot.getElementById("mail-address"),t=e.value,r=this.pdfData;e.value="",this.send(t,r)}};lAe=sAe([_se({selector:"kc-email-form",template:'\n        <div class="button-container">\n            <button id="back-button" class="turquoise kc-button">\n                <i class="kc icon left arrow"></i>\n                <span>Zurück</span>\n            </button>        \n        </div>\n        <div class="container">\n            <div class="header h1">Ihre Email-Adresse</div>\n            <div class="header h3">Damit wir Ihnen die fertige Planung als PDF schicken können.</div>\n            <div class="mail-container">\n                <div class="grid left"></div>\n                <input id="mail-address" type="email" placeholder="Email-Adresse" class="grid center"/>\n                <div class="grid right">\n                    <button id="send-mail-button" class="turquoise kc-button">PDF an Email senden</button>\n                </div>\n            </div>\n        </div>\n    '})],lAe);var cAe=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};let uAe=class extends HTMLElement{constructor(){super()}connectedCallback(){this.shadowRoot.getElementById("close-button").addEventListener("click",()=>this.onCloseClick())}setCaption(e){this.shadowRoot.getElementById("caption").textContent=e}setText(e){this.shadowRoot.getElementById("text").textContent=e}close(){this.onCloseClick()}onCloseClick(){this.classList.remove("fadein"),this.classList.add("fadeout"),setTimeout(()=>this.remove(),2e3)}};uAe=cAe([_se({selector:"kc-help-popup",template:'\n        <div id="close-button" class="close">\n            <div class="line one"></div>\n            <div class="line two"></div>\n        </div>\n        <slot></slot>\n    '})],uAe);var dAe=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};let hAe=class extends HTMLElement{constructor(){super()}show(){this.classList.remove("hidden")}hide(){this.classList.add("hidden")}};hAe=dAe([_se({selector:"kc-dimmer",template:"\n    "})],hAe);__webpack_require__(509);var pAe=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class mAe extends HTMLElement{constructor(){super()}connectedCallback(){return pAe(this,void 0,void 0,function*(){const e=this.getAttributeNode("data-object-name"),t=this.getAttributeNode("data-element-type"),r=this.getAttributeNode("data-width-input"),n=this.getAttributeNode("data-height-input"),i=this.getAttributeNode("data-parapet-input"),o=r?document.getElementById(r.value):null,s=n?document.getElementById(n.value):null,a=i?document.getElementById(i.value):null,l=document.createElement("div"),c=this.getAttributeNode("data-button-class").value.split(" ");for(let e=0;e<c.length;++e)c[e].trim()&&l.classList.add(c[e]);l.addEventListener("click",()=>{let r=0,n=0,i=-1;o&&(r=parseFloat(o.value)),s&&(n=parseFloat(s.value)),a&&(i=parseFloat(a.value)),Sie.insertElement({width:r,height:n,parapet:i,type:e.value,elementType:t.value})}),hse.createDragElement(l,{id:e.value,dragType:dse.WALL_FITTING,pickLevel:"9997",size:{x:o,y:s,z:a},type:t.value}),this.appendChild(l)})}}window.customElements.define("fv-custom-roompage-insert-button",mAe);var _Ae=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class gAe extends HTMLElement{constructor(){super()}connectedCallback(){return _Ae(this,void 0,void 0,function*(){const e=document.createElement("div");e.classList.add("move-delete-inner-container");const t=document.createElement("div");t.classList.add("custom-roompage-button-container");const r=document.createElement("div");r.classList.add("custom-roompage-move-button"),r.classList.add("custom-roompage-button"),r.addEventListener("click",()=>{ape.ReplaceFittingElement("9997","5")}),t.appendChild(r);const n=document.createElement("div");n.classList.add("custom-roompage-button-container");const i=document.createElement("div");i.classList.add("custom-roompage-delete-button"),i.classList.add("custom-roompage-button"),i.addEventListener("click",()=>{Qp.send("DeleteWallElement",[9997])}),n.appendChild(i),e.appendChild(t),e.appendChild(n),this.appendChild(e)})}}window.customElements.define("fv-custom-roompage-move-delete-buttons",gAe);var fAe=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class vAe extends HTMLElement{constructor(){super(),this.categories=[]}set Categories(e){this.categories=e}connectedCallback(){return fAe(this,void 0,void 0,function*(){const e=document.createElement("div");e.classList.add("custom-roompage-door-selection"),this.optionsCategoryContainer=document.createElement("div"),this.optionsCategoryContainer.classList.add("door-layout-options-category-selection-container");for(let e=0;e<this.categories.length;++e)this.optionsCategoryContainer.appendChild(yield this.createOptionsCategoryButton(this.categories[e].text,this.categories[e].id,0==e));e.appendChild(this.optionsCategoryContainer);const t=document.createElement("hr");t.classList.add("custom-roompage-hr"),e.appendChild(t),this.optionsContainer=document.createElement("div"),this.optionsContainer.classList.add("door-layout-options-categories-container");for(let e=0;e<this.categories.length;++e)this.optionsContainer.appendChild(this.createOptionsCategory(this.categories[e],0==e));e.appendChild(this.optionsContainer),this.appendChild(e)})}createOptionsCategoryButton(e,t,r){return fAe(this,void 0,void 0,function*(){const n=document.createElement("div");n.classList.add("door-layout-options-category-selection-button"),n.id="id-button-"+t,r&&(n.classList.add("active"),n.classList.add("theme-base-bg-background-color")),n.addEventListener("click",e=>{const r=e.currentTarget;this.optionsContainer.childNodes.forEach(e=>{e.classList[e.id.endsWith(""+t)?"remove":"add"]("hide")}),this.optionsCategoryContainer.childNodes.forEach(e=>{e.classList[e===r?"add":"remove"]("active"),e.classList[e===r?"add":"remove"]("theme-base-bg-background-color")})});const i=document.createElement("label");return i.textContent=e,n.appendChild(i),n})}createOptionsCategory(e,t){const r=document.createElement("div");return r.classList.add("door-layout-options-category-container"),e.elements.forEach(t=>{const n=document.createElement("div"),i=new mAe;i.setAttribute("data-object-name",""+t.artNo),i.setAttribute("data-element-type",t.type),i.setAttribute("data-width-input","id-roompage-input-door-width"),i.setAttribute("data-height-input","id-roompage-input-door-height"),i.setAttribute("data-parapet-input",""),i.setAttribute("data-button-class",`door-insert-button door-${t.artNo} ${e.id%2!=0?"mirrored":""}`),n.appendChild(i),r.appendChild(n)}),r.id="id-"+e.id,t||r.classList.add("hide"),r}}window.customElements.define("fv-custom-roompage-door-selection",vAe);__webpack_require__(253);var bAe=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class yAe extends HTMLElement{constructor(){super()}connectedCallback(){return bAe(this,void 0,void 0,function*(){const e=document.createElement("div");e.classList.add("custom-roompage-set-button");const t=document.createElement("button");t.setAttribute("data-i18n","60294"),t.addEventListener("click",()=>{ape.dhTodo(["2",{params:["0","13210","","","0","","13210","S","active"],manu:"_global",kataManu:"_global"}])}),e.appendChild(t);const r=document.createElement("div");r.classList.add("custom-roompage-set-button");const n=document.createElement("button");n.setAttribute("data-i18n","60295"),n.addEventListener("click",()=>{ape.dhTodo(["2",{params:["0","13210","","","0","","13210","S",""],manu:"_global",kataManu:"_global"}])}),r.appendChild(n),this.appendChild(e),this.appendChild(r)})}}window.customElements.define("fv-custom-roompage-window-sill",yAe);var $Ae=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class xAe extends HTMLElement{constructor(){super(),this.categories=[]}setCategories(e){this.categories=e.filter(e=>e.elements.every(e=>e.type===R.WINDOW))}connectedCallback(){return $Ae(this,void 0,void 0,function*(){const e=document.createElement("div");e.id="id-custom-roompage-window-container",e.classList.add("custom-roompage-content-container"),e.classList.add("custom-roompage-window-container"),e.innerHTML='\n    <div class="custom-roompage-title-container"><h3 data-i18n="6103" class="custom-roompage-title"></h3></div>\n    \n    <div class="move-delete-container"><fv-custom-roompage-move-delete-buttons></fv-custom-roompage-move-delete-buttons></div>\n\n    <div class="custom-roompage-inputs-container">\n        <div class="custom-roompage-input-container">\n            <div class="custom-roompage-input-prefix"><label data-i18n="6108"></label></div>\n            <fv-custom-roompage-input class="custom-roompage-input" data-initial-value="90.00" data-input-id="id-roompage-input-parapet"></fv-custom-roompage-input>\n            <fv-custom-roompage-input-value-set-button data-input-id="id-roompage-input-parapet" data-set-value="0"></fv-custom-roompage-input-value-set-button>\n            <fv-custom-roompage-input-value-set-button data-input-id="id-roompage-input-parapet" data-set-value="20"></fv-custom-roompage-input-value-set-button>\n            <fv-custom-roompage-input-value-set-button data-input-id="id-roompage-input-parapet" data-set-value="90"></fv-custom-roompage-input-value-set-button>\n        </div>\n        <div class="custom-roompage-input-container">\n            <div class="custom-roompage-input-prefix"><label data-i18n="6109"></label></div>\n            <fv-custom-roompage-input class="custom-roompage-input" data-initial-value="101.00" data-input-id="id-roompage-input-window-width"></fv-custom-roompage-input>\n        </div>\n        <div class="custom-roompage-input-container">\n            <div class="custom-roompage-input-prefix"><label data-i18n="6110"></label></div>\n            <fv-custom-roompage-input class="custom-roompage-input" data-initial-value="136.00" data-input-id="id-roompage-input-window-height"></fv-custom-roompage-input>\n        </div>\n        <div class="custom-roompage-input-container">\n            <div class="custom-roompage-input-prefix"><label data-i18n="60293"></label></div>\n            <fv-custom-roompage-window-sill></fv-custom-roompage-window-sill>\n        </div>\n    </div>\n\n    <hr class="custom-roompage-hr"/>\n\n    <div class="custom-roompage-layout-options-outer-container">\n        <div class="custom-roompage-layout-options-container">\n        </div>\n    </div>\n',this.appendChild(e);const t=document.querySelector(".custom-roompage-layout-options-container");t&&this.categories[0].elements.forEach(e=>{const r=new mAe;r.setAttribute("data-object-name",e.artNo),r.setAttribute("data-element-type",e.type),r.setAttribute("data-width-input","id-roompage-input-window-width"),r.setAttribute("data-height-input","id-roompage-input-window-height"),r.setAttribute("data-parapet-input","id-roompage-input-parapet"),r.setAttribute("data-button-class",`window-${e.artNo}`),t.appendChild(r)})})}}window.customElements.define("fv-custom-roompage-window",xAe);var SAe=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class wAe extends HTMLElement{constructor(){super()}setCategories(e){this.categories=e.filter(e=>e.elements.every(e=>e.type===R.DOOR))}connectedCallback(){return SAe(this,void 0,void 0,function*(){const e=document.createElement("div");e.id="id-custom-roompage-door-container",e.classList.add("custom-roompage-content-container"),e.classList.add("custom-roompage-door-container"),e.innerHTML='\n    <div class="custom-roompage-title-container"><h3 class="custom-roompage-title" data-i18n="51090"></h3></div>\x3c!--TODO: Replace with Text-reading like <script>document.write(dh_text_global("6103"))<\/script> did before--\x3e\n\n    <div class="move-delete-container"><fv-custom-roompage-move-delete-buttons></fv-custom-roompage-move-delete-buttons></div>\n\n    <div class="custom-roompage-inputs-container">\n        <div class="custom-roompage-input-container">\n            <div class="custom-roompage-input-prefix"><label data-i18n="6113"></label></div>\x3c!--TODO: Replace with Text-reading--\x3e\n            <fv-custom-roompage-input class="custom-roompage-input" data-initial-value="98.00" data-input-id="id-roompage-input-door-width"></fv-custom-roompage-input>\n        </div>\n        <div class="custom-roompage-input-container">\n            <div class="custom-roompage-input-prefix"><label data-i18n="6112"></label></div>\x3c!--TODO: Replace with Text-reading--\x3e\n            <fv-custom-roompage-input class="custom-roompage-input" data-initial-value="206.00" data-input-id="id-roompage-input-door-height"></fv-custom-roompage-input>\n        </div>\n    </div>\n\n    <div class="custom-roompage-layout-options-outer-container"></div>\n',this.appendChild(e);const t=document.querySelector(".custom-roompage-layout-options-outer-container");if(t){const e=new vAe;e.Categories=this.categories,t.appendChild(e)}})}}window.customElements.define("fv-custom-roompage-door",wAe);var AAe=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};document.addEventListener("readystatechange",()=>AAe(void 0,void 0,void 0,function*(){if("complete"===document.readyState){const e=document.querySelector(".custom-roompage-container");if(e){yield upe.isAppReady();const t=yield ape.getWallElements();if(g_configuration.custom_roompage_enable_door_selection){const r=new wAe;r.id="id-custom-roompage-door-element",r.classList.add("hidden"),r.setCategories(t),e.appendChild(r)}if(g_configuration.custom_roompage_enable_window_selection){const r=new xAe;r.id="id-custom-roompage-window-element",r.setCategories(t),e.appendChild(r)}}g_configuration.panel_right_none_full_height&&document.getElementById("roomPageContainer").classList.add("none-fluid-catalog-height");const t=document.getElementById("id-custom-roompage-navigation-container");if(g_configuration.custom_roompage_enable_window_selection){const e=document.createElement("div");e.id="id-custom-room-page-window-button-container",e.classList.add("active");const r=document.createElement("div");r.classList.add("custom-roompage-button"),r.classList.add("custom-roompage-window-button"),r.addEventListener("click",()=>{document.getElementById("id-custom-roompage-window-element").classList.remove("hidden");const e=document.getElementById("id-custom-room-page-window-button-container");e&&e.classList.add("active");const t=document.getElementById("id-custom-room-page-door-button-container");t&&t.classList.remove("active");const r=document.getElementById("id-custom-room-page-floor-button-container");r&&r.classList.remove("active");const n=document.getElementById("id-custom-roompage-door-element");n&&!n.classList.contains("hidden")&&n.classList.add("hidden");const i=document.getElementById("id-floor-panel-container");i&&!i.classList.contains("hidden")&&i.classList.add("hidden")}),e.appendChild(r),t.appendChild(e)}if(g_configuration.custom_roompage_enable_door_selection){const e=document.createElement("div");e.id="id-custom-room-page-door-button-container";const r=document.createElement("div");r.classList.add("custom-roompage-button"),r.classList.add("custom-roompage-door-button"),r.addEventListener("click",()=>{document.getElementById("id-custom-roompage-door-element").classList.remove("hidden");const e=document.getElementById("id-custom-room-page-window-button-container");e&&e.classList.remove("active");const t=document.getElementById("id-custom-room-page-door-button-container");t&&t.classList.add("active");const r=document.getElementById("id-custom-room-page-floor-button-container");r&&r.classList.remove("active");const n=document.getElementById("id-custom-roompage-window-element");n&&!n.classList.contains("hidden")&&n.classList.add("hidden");const i=document.getElementById("id-floor-panel-container");i&&!i.classList.contains("hidden")&&i.classList.add("hidden")}),e.appendChild(r),t.appendChild(e)}if(g_configuration.custom_roompage_enable_wall_and_floor_properties){const e=document.createElement("div");e.id="id-custom-room-page-floor-button-container";const r=document.createElement("div");r.classList.add("custom-roompage-button"),r.classList.add("custom-roompage-floor-button"),r.addEventListener("click",()=>{document.getElementById("id-floor-panel-container").classList.remove("hidden");const e=document.getElementById("id-custom-room-page-window-button-container");e&&e.classList.remove("active");const t=document.getElementById("id-custom-room-page-door-button-container");t&&t.classList.remove("active");const r=document.getElementById("id-custom-room-page-floor-button-container");r&&r.classList.add("active");const n=document.getElementById("id-custom-roompage-window-element");n&&!n.classList.contains("hidden")&&n.classList.add("hidden");const i=document.getElementById("id-custom-roompage-door-element");i&&!i.classList.contains("hidden")&&i.classList.add("hidden")}),e.appendChild(r),t.appendChild(e)}}}));var CAe=__webpack_require__(583),EAe=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};const IAe=class{constructor(e=!1){this._exportEveryGeometry=e,this._exportOptions={binary:!0,trs:!0,onlyVisible:!1,maxTextureSize:256,quickLookCompatible:!0},this._gltfExporter=null,this._usdzExporter=null,this._gltfExporter=new Zg,this._usdzExporter=new Dv}set ExportEveryGeometry(e){this._exportEveryGeometry=e}createSceneClone(){return EAe(this,arguments,void 0,function*(e=!0){e&&(yield this.prepareSceneForExport());const t=Bde.ShowLines;this.toggleSceneLines(!1);try{const e=new qn;return e.name="ARSceneClone",yield this.populateClone(e),this.applyARTransformations(e),e}finally{this.toggleSceneLines(t)}})}exportScene(e,t){return EAe(this,void 0,void 0,function*(){switch(t){case"USDZ":return yield this.getUSDZBlob(e);case"GLTF":return yield this.getGLTFBlob(e)}})}populateClone(e){return EAe(this,void 0,void 0,function*(){yield this.traverseAsync(aae.world,t=>EAe(this,void 0,void 0,function*(){if(yield this.isARChild(t)){const r=t.clone(!0);r&&(this.ensureUniqueMaterials(r),e.add(r))}}))})}traverseAsync(e,t){return EAe(this,void 0,void 0,function*(){yield t(e);const r=e.children.map(e=>this.traverseAsync(e,t));yield Promise.all(r)})}applyARTransformations(e){const t=(new Qr).setFromObject(e).getCenter(new br);t.z=0;const r=(new xn).makeRotationFromEuler(new Rn(-Math.PI/2,0,0)),n=1/E;e.children.forEach(e=>{e.position.sub(t).multiplyScalar(n),e.scale.multiplyScalar(n),e.updateMatrix(),e.applyMatrix4(r),e.updateMatrixWorld(!0)}),e.updateMatrixWorld(!0)}prepareSceneForExport(){return EAe(this,void 0,void 0,function*(){yield $le.clear(),FI.clearMarker(null,NI.ALL)})}toggleSceneLines(e){Bde.ShowLines=e,aae.ShowLines(e)}ensureUniqueMaterials(e){e.traverse(e=>{e instanceof Yi&&(e.geometry&&(e.geometry=e.geometry.clone()),e.material&&(e.material=Array.isArray(e.material)?e.material.map(e=>e.clone()):e.material.clone())),e.updateMatrix()})}isARChild(e){return EAe(this,void 0,void 0,function*(){return!!(e instanceof Dme&&e.parent&&e.parent===aae.world)&&(!(!e.CatalogArticleNumber&&!e.PlanTypeText)&&!(!this._exportEveryGeometry&&e.IsExcluded))})}getGLTFBlob(e){return EAe(this,void 0,void 0,function*(){try{const t=yield this._gltfExporter.parseAsync(e,this._exportOptions);if(this._exportOptions.binary&&t instanceof ArrayBuffer)return new Blob([t],{type:"model/gltf-binary"});if(this._exportOptions.binary||"object"!=typeof t||null===t)return void console.warn("GLTF Export konnte nicht aufgelöst werden oder unerwartetes Format.");{const e=JSON.stringify(t,null,2);return new Blob([e],{type:"model/gltf+json"})}}catch(e){return void console.error("Fehler beim Exportieren der Szene:",e)}})}getUSDZBlob(e){return EAe(this,void 0,void 0,function*(){try{const t=yield this._usdzExporter.parseAsync(e,this._exportOptions);return new Blob([t],{type:"model/vnd.usdz+zip"})}catch(e){console.log("Error",e)}})}};var MAe=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};const kAe=new class{constructor(){this.fallbackInvoked=!1,this.arExporter=new IAe,this._inPageModelViewer=null,this._opening=!1;document.addEventListener("readystatechange",()=>MAe(this,void 0,void 0,function*(){if("complete"===document.readyState){const e=document.querySelector("#btnToolbarAr");if(e&&Bde.ARBehaviour===Ode.UNSET){const t=yield this.createARModal(!0);e.addEventListener("click",e=>{e.stopPropagation(),e.preventDefault(),t.show()})}}})),upe.on("appready",()=>MAe(this,void 0,void 0,function*(){var e;const t=Bde.ARBehaviour;if(t===Ode.EXPORT){(yield this.createARModal()).show()}else if(t===Ode.VIEW){const t=document.querySelector("#error"),r=document.querySelector("#open-ar"),n=document.querySelector("#ar-viewer-loading"),i=document.querySelector("#model-viewer-container");if(!(yield this.isARCapable())){return void(yield this.createARModal()).show()}try{const e=yield this.createARModelViewer(i);if(n.active=!1,!e.canActivateAR){return void(yield this.createARModal()).show()}r.querySelector("button").addEventListener("click",()=>{e.activateAR()}),r.classList.remove("hidden")}catch(r){if(n.active=!1,"loadfailure"===(null===(e=null==r?void 0:r.detail)||void 0===e?void 0:e.type))t.classList.remove("hidden");else{(yield this.createARModal()).show()}}}}))}isARCapable(){return MAe(this,void 0,void 0,function*(){var e;return pge||dge||(yield null===(e=navigator.xr)||void 0===e?void 0:e.isSessionSupported("immersive-ar"))})}createARModelViewer(e){return MAe(this,arguments,void 0,function*(e,t={}){var r;const n=this.setupARViewer();t.offscreen&&(n.style.position="absolute",n.style.pointerEvents="none"),e.appendChild(n);try{yield aae.SceneFullyLoaded;const e=yield this.arExporter.createSceneClone(null===(r=t.mutateLiveScene)||void 0===r||r),i=yield this.arExporter.exportScene(e,"GLTF");if(!i)throw new Error("GLTF export returned no blob");if(pge){const t=yield this.arExporter.exportScene(e,"USDZ");t&&(n.iosSrc=URL.createObjectURL(t))}return yield new Promise((e,t)=>{n.addEventListener("load",()=>e(),{once:!0}),n.addEventListener("error",e=>t(e),{once:!0}),n.src=URL.createObjectURL(i)}),n}catch(e){throw n.remove(),e}})}setupARViewer(){const e=document.createElement("model-viewer");return e.style.opacity="0",e.ar=!0,e.arModes="webxr scene-viewer quick-look",e.xrEnvironment=!0,e.arScale="fixed",e.loading="eager",e}createARModal(){return MAe(this,arguments,void 0,function*(e=!1,t=!1){var r,n,i,o,s,a;let l=document.querySelector("#ar-viewer-modal");if(!l){l=new NZ,l.id="ar-viewer-modal",document.body.appendChild(l),l.dimmed=!0,l.cancelable=e;const t=l.modalTexts;for(const[e,r]of Object.entries(t))t[e]=yield boe.get(r,"");l.modalTexts=t,l.setAttribute("fullscreen",""),l.requestUpdate("modalTexts")}return yield l.updateComplete,null===(i=null===(n=null===(r=l.shadowRoot)||void 0===r?void 0:r.querySelector(".ar-buttons"))||void 0===n?void 0:n.classList)||void 0===i||i.toggle("hidden",t),null===(a=null===(s=null===(o=l.shadowRoot)||void 0===o?void 0:o.querySelector(".qrCode-container"))||void 0===s?void 0:s.classList)||void 0===a||a.remove("only-desktop"),l})}getAROrigin(){const e=window.origin;return e.startsWith("https")?e:"https://view.furnplan.de"}getCloudIdFromURL(){const e=window.location.pathname,t=/\/ar.+\/([a-zA-Z0-9]{8})/.exec(e);return t&&t.length>=1?t[1]:void 0}showARViewer(e){return MAe(this,void 0,void 0,function*(){var e;const t=null!==(e=this.getCloudIdFromURL())&&void 0!==e?e:yield ape.createCloudID(),r=`${this.getAROrigin()}/ar-viewer/${t}`;return{qr:yield CAe.dY(r),url:r}})}openFromToolbar(){return MAe(this,void 0,void 0,function*(){if(this._opening)return;this._opening=!0;(yield this.createARModal(!0)).show(),this._opening=!1})}preloadARModel(){return MAe(this,void 0,void 0,function*(){if(yield this.isARCapable()){this.disposeInPageModelViewer();try{this._inPageModelViewer=yield this.createARModelViewer(document.body,{mutateLiveScene:!1,offscreen:!0})}catch(e){console.error("AR preload failed:",e),this.disposeInPageModelViewer()}}})}startAR(){return!(!this._inPageModelViewer||!this._inPageModelViewer.canActivateAR)&&(this._inPageModelViewer.activateAR(),!0)}disposeInPageModelViewer(){this._inPageModelViewer&&(this._inPageModelViewer.remove(),this._inPageModelViewer=null)}};window.WebARService=kAe;var TAe=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};window.CommunicationMessageService={getARExport:()=>TAe(void 0,void 0,void 0,function*(){return kAe.showARViewer()}),preloadARModel:()=>TAe(void 0,void 0,void 0,function*(){return kAe.preloadARModel()}),startAR:e=>TAe(void 0,void 0,void 0,function*(){return e&&(yield kAe.preloadARModel()),kAe.startAR()}),getColorPickerInfo:e=>TAe(void 0,void 0,void 0,function*(){return ape.getColorPickerInfo(e.manufacturer,e.type)}),getDimensionScale:()=>TAe(void 0,void 0,void 0,function*(){return[Bde.DimensionScale]}),getDimensionDigits:()=>TAe(void 0,void 0,void 0,function*(){return[Bde.DimensionDigits]})},window.CommunicationInterfaceService={get IsAppReady(){return upe.isAppReady()}};var RAe=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s};let LAe=class{show(){var e;null===(e=this.getElement("toolInfoTextDiv")[0])||void 0===e||e.classList.remove("hidden")}hide(){var e;null===(e=this.getElement("toolInfoTextDiv")[0])||void 0===e||e.classList.add("hidden")}setTextContent(e){this.getElement("toolInfoText")[0]&&(this.getElement("toolInfoText")[0].textContent=e)}};LAe=RAe([_m({template:'\n        <style>\n        .toolInfoTextDiv {\n            width: fit-content;\n            height: fit-content;\n            position: absolute;\n            z-index: 2;\n            background: rgba(252,250,233,0.8);\n            bottom: 52px;\n            left: 0;\n            padding: 8px;\n        }\n        #fp_toolInfoText {\n            white-space: pre;\n        }\n        </style>\n        <div class="toolInfoTextDiv hidden">\n            <span id="fp_toolInfoText"></span>\n        </div>\n    ',elements:{toolInfoTextDiv:".toolInfoTextDiv",toolInfoText:"#fp_toolInfoText"},parentSelector:"#renderContainer"})],LAe);const PAe=new LAe;var DAe=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};const NAe=new class{constructor(){this._helperWidget={},document.addEventListener("readystatechange",()=>{"complete"===document.readyState&&Rm.on("SendJSONMessage",e=>DAe(this,void 0,void 0,function*(){yield this.sendJSONMessage(e)}))})}updateHelperWidgets(e){return DAe(this,void 0,void 0,function*(){const t=Object.keys(e.VPOOL);for(let r=0;r<t.length;r++){const n=e.VPOOL[t[r]];if(n)if(n.length>0){const e=yield HE.create(n),i=yield e.createMeshLayers();Dhe.TScene.add(i),this._helperWidget[t[r]]&&Dhe.TScene.remove(this._helperWidget[t[r]]),this._helperWidget[t[r]]=i}else this._helperWidget[t[r]]&&Dhe.TScene.remove(this._helperWidget[t[r]])}})}sendJSONMessage(e){return DAe(this,void 0,void 0,function*(){e.command&&this[e.command]&&(yield this[e.command](e))})}processInfoData(e){void 0!==e.toolInfoText&&PAe.setTextContent(e.toolInfoText.replace(/~/g,"\n"))}};var FAe,OAe=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};!function(e){e[e.NONE=0]="NONE",e[e.DOWN=1]="DOWN",e[e.UP=2]="UP",e[e.MOVE=3]="MOVE",e[e.KEYDOWN=4]="KEYDOWN",e[e.KEYUP=5]="KEYUP"}(FAe||(FAe={}));new class{constructor(){this.canSend=!0,document.addEventListener("readystatechange",()=>{if("complete"===document.readyState){const e=document.querySelector("#canvasTHREE");e&&(e.addEventListener("mousedown",e=>OAe(this,void 0,void 0,function*(){yield this.onDown(e)})),e.addEventListener("mousemove",e=>OAe(this,void 0,void 0,function*(){yield this.onMove(e)})),e.addEventListener("mouseup",e=>OAe(this,void 0,void 0,function*(){yield this.onUp(e)})),document.addEventListener("keydown",e=>OAe(this,void 0,void 0,function*(){yield this.onKeyDown(e)})),document.addEventListener("keyup",e=>OAe(this,void 0,void 0,function*(){yield this.onKeyUp(e)}))),this._debug()}})}_debug(){const e=document.querySelector("#btnFurnplanPickModus"),t=document.querySelector("#selectActionMode"),r=document.querySelector("#btnActionMode");null==e||e.addEventListener("click",()=>{ase.fpRequest("_dev_StartFurnplanMode",[]).then(()=>{Bde.FurnplanInteractionMode=!Bde.FurnplanInteractionMode,Bde.NoCameraInteractionMode=Bde.FurnplanInteractionMode,Bde.FurnplanInteractionMode?(Yse.clearSceneAction(!0),PAe.show()):PAe.hide()})}),null==r||r.addEventListener("click",()=>OAe(this,void 0,void 0,function*(){yield ape.doInterfaceFunction("SetSysLong",{mode:"2",value:"0"}),yield ape.doInterfaceFunction("SetSysLong",{mode:"1",value:t.selectedOptions[0].value})}))}getDefaultParameters(){return{__camera:{source:aue.CurrentCamera.Camera.position.clone().divideScalar(C).toArray(),destination:aue.CurrentCameraControl.Target.clone().divideScalar(C).toArray()},mouse:{button:-1,position:{x:Yse.CurrentPosition.x,y:Yse.CurrentPosition.y}},keyboard:{keyCode:-1},position:{source:Yse.SourcePoint.clone().divideScalar(C).toArray(),destination:Yse.DestinationPoint.clone().divideScalar(C).toArray()},eventMode:FAe.NONE}}onKeyDown(e){return OAe(this,void 0,void 0,function*(){const t=this.getDefaultParameters();t.mouse&&delete t.mouse,t.keyboard.keyCode=e.keyCode,t.eventMode=FAe.KEYDOWN,yield this.sendInteraction(t)})}onKeyUp(e){return OAe(this,void 0,void 0,function*(){const t=this.getDefaultParameters();t.mouse&&delete t.mouse,t.keyboard.keyCode=e.keyCode,t.eventMode=FAe.KEYUP,yield this.sendInteraction(t)})}onDown(e){return OAe(this,void 0,void 0,function*(){const t=this.getDefaultParameters();t.keyboard&&delete t.keyboard,t.mouse.button=e.button,t.eventMode=FAe.DOWN,yield this.sendInteraction(t)})}onUp(e){return OAe(this,void 0,void 0,function*(){const t=this.getDefaultParameters();t.keyboard&&delete t.keyboard,t.mouse.button=e.button,t.eventMode=FAe.UP,yield this.sendInteraction(t)})}onMove(e){return OAe(this,void 0,void 0,function*(){const t=this.getDefaultParameters();t.keyboard&&delete t.keyboard,t.mouse.button=e.button,t.eventMode=FAe.MOVE,this.canSend&&(this.canSend=!1,yield this.sendInteraction(t),this.canSend=!0)})}sendInteraction(e){return OAe(this,void 0,void 0,function*(){return Bde.FurnplanInteractionMode?yield ase.fpRequest("onSceneInteraction",[e]).then(e=>e&&e.length>=1?(e.length>=2&&NAe.processInfoData(e[1]),e[0]):null).then(e=>e?ape.loadFittingScene(e,!0):e):null})}};class BAe{constructor(e,t){this._specs=e,this._removeById=t}tick(e){const t=[];for(const r of this._specs())r.reap&&r.reap(e)&&t.push(r.id);for(const e of t)this._removeById(e)}}const UAe={type:"action",toolbar:"fv_treeup_actions",enabled:()=>!0,shouldRender:()=>!0,affectsCount:()=>0,decorate({iconHost:e}){e.classList.add("custom-item"),this.size&&e.classList.add(this.size),this.tooltip&&e.setAttribute("data-i18n-title",this.tooltip)},onClick(){ape.runSelectionActions(this.command,this.SelectionActionGroup)},position:()=>null};var VAe=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};const zAe={type:"custom",enabled:()=>!0,shouldRender(e){return this.toolbar?!this.lo||e.selection.includes(this.lo):"selected"!==this.style.show||!!this.lo&&e.selection.includes(this.lo)},affectsCount:()=>1,decorate({iconHost:e}){e.classList.add("custom-item"),this.style.size&&e.classList.add(this.style.size),this.options.params.tooltip&&e.setAttribute("data-i18n-title",this.options.params.tooltip)},onClick(){return VAe(this,void 0,void 0,function*(){const e=this.lo.instanceIdent;this.options.command&&null!=e&&(yield LI.CustomIcon_ExecuteCustomEvent.send([{command:this.options.command,instanceIdent:e,parameters:this.options.params}]),yield lpe.dispatch("ExecuteCustomEvent",{command:this.options.command,instanceIdent:e,parameters:this.options.params}))})},position(e,t,r){if(this.toolbar)return null;if(!this.localOrWorld)return null;if(this.isWorldPos)return this.localOrWorld.clone();const n=this.lo;return n.localToWorld?n.localToWorld(this.localOrWorld.clone()):this.localOrWorld.clone()},reap(){return null==this.lo.parent?this.everAttached:(this.everAttached=!0,!1)}};const HAe={id:"builtin.delete",icon:"fv-icon-delete",type:"builtin",toolbar:"fv_global",pool:!0,enabled:()=>!!Bde.SelectionContextMenuEnabled,shouldRender:()=>0!=$le.Count&&$le.showDeleteIconInSelectionContextMenu(),decorate({iconHost:e}){e.classList.add("delete-item"),e.setAttribute("data-i18n-title","fv.tooltip.context.delete")},onClick:()=>$le.delete(),position:()=>null,affectsCount:e=>$le.getCount(!1)};var GAe=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};const jAe={id:"builtin.dim-change",icon:"fv-icon-dimchange",type:"builtin",toolbar:"fv_global",pool:!0,enabled:()=>!!Bde.DimChangeContextMenu,shouldRender(){return GAe(this,void 0,void 0,function*(){if($le.Count>1)return!1;const e=yield ape.getLODimensionInfo();return!!(e&&e[0]&&Rle.dimensionsCanChange(e[0]))})},decorate({iconHost:e}){e.classList.add("dimchange-item"),e.setAttribute("data-i18n-title","fv.tooltip.context.dimChange")},onClick(){return GAe(this,void 0,void 0,function*(){const e=yield ape.getLODimensionInfo();e[0].isValid&&(Rle.setDimData(e[0]),Rle.show())})},position:()=>null};var JAe=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};const WAe={type:"builtin",toolbar:"fv_global",pool:!0,enabled:()=>!!Bde.FrontStopContextMenu,shouldRender(){return JAe(this,void 0,void 0,function*(){if(0===$le.Count)return!1;const e=$le.objects.map(e=>e.instanceIdent);return this.frontStopData=yield ape.isFrontStopChangeAvailable(e),!(!this.frontStopData||!this.frontStopData.available)})},decorate(e){return JAe(this,arguments,void 0,function*({wrapper:e,iconHost:t}){t.classList.add("frontstop-item"),t.setAttribute("data-i18n-title","fv.tooltip.context.frontstop"),t.dataset.side=this.side,e.classList.toggle("selected",!(!this.frontStopData||this.frontStopData.selected!==this.side))})},onClick(){return JAe(this,void 0,void 0,function*(){if(0===$le.Count)return;if(this.frontStopData&&this.frontStopData.selected===this.side)return;const e=$le.objects.map(e=>e.instanceIdent);yield ape.changeFrontStop(e)})},position:()=>null,affectsCount(e){return JAe(this,void 0,void 0,function*(){return this.frontStopData.available?this.frontStopData.count:0})}},QAe=Object.assign(Object.assign({},WAe),{id:"builtin.front-stop.L",side:"L",icon:"fv-icon-door-hinge-left"}),qAe=Object.assign(Object.assign({},WAe),{id:"builtin.front-stop.R",side:"R",icon:"fv-icon-door-hinge-right"}),YAe={id:"builtin.replace",icon:"fv-icon-swap-horizontal",type:"builtin",toolbar:"fv_global",pool:!0,enabled:()=>!0,shouldRender(){if($le.Count>1)return!1;const e=$le.First;return!!e&&e.keys.includes(11620)},decorate({iconHost:e}){e.classList.add("replace-item"),e.setAttribute("data-i18n-title","fv.tooltip.context.replaceArticle")},onClick(){const e=$le.First;e&&LI.CustomIcon_ExecuteCustomEvent.send([{command:"ReplaceArticle",instanceIdent:e.instanceIdent}])},position:()=>null},XAe={type:"custom",pointerDirection:"no-pointer",pool:!1,limitRenderToHost:!0,hideWhenOutside:!0,enabled:()=>!0,shouldRender:e=>!0,decorate(e,t){e.iconHost.classList.add("custom-item"),e.iconHost.parentElement.classList.add("medium"),e.iconHost.parentElement.classList.add("no-pointer"),e.iconHost.parentElement.classList.add("vplacer-plus-icon"),e.iconHost.parentElement.classList.add("pointer"),e.iconHost.parentElement.style.opacity="0.6",e.iconHost.parentElement.style.pointerEvents="none",e.iconHost.classList.add(this.icon),e.iconHost.classList.add("medium"),e.iconHost.style.color=this.color,e.iconHost.style.pointerEvents="none",this.title.length>0&&e.iconHost.setAttribute("data-i18n-title",this.title)},onClick:()=>{},position(e,t,r){const n=this.positionGetter(),i=aue.CurrentCameraControl.Camera.position.distanceTo(n),o=Math.max(24,Math.min(72,5e4/i));return r.iconHost.style.width=o+"px",r.iconHost.style.height=o+"px",r.iconHost.style.fontSize=o+"px",n},reap(){return!1===Xre.exists(this.uuid)}};function KAe(e){const t={uuid:e.uuid,color:e.Color,positionGetter:()=>e.CenterFrontPoint};return e.Type===hne.REPLACE?(r=t,Object.assign(Object.assign({},XAe),{uuid:r.uuid,title:"",color:r.color,icon:"fv-icon-swap-horizontal",id:`vplacer.swap.${r.uuid}`,positionGetter:r.positionGetter})):function(e){return Object.assign(Object.assign({},XAe),{uuid:e.uuid,title:"",color:e.color,icon:"fv-icon-plus-circle",id:`vplacer.add.${e.uuid}`,positionGetter:e.positionGetter})}(t);var r}function ZAe(e,t,r={}){if(!t)return;const n=function(e,t){const r=aue.CurrentCamera.toScreenPosition(e),n=r.x,i=r.y,o={x:`${n}px`,y:`${i}px`,left:!1,pointer:!1},s=fme.RenderDiv.getBoundingClientRect();return n<s.left||n+t.width>s.width+s.left||i<s.top||i+t.height>s.height+s.top?(o.left=n<(s.width+s.left)/2,o.x="10px",o.y=`calc(50% - ${t.height/2}px)`):(o.pointer=!0,o.left=!0),o}(t,new DOMRect(0,0,e.offsetWidth,e.offsetHeight));return r.hideWhenOutside&&!n.pointer?(e.style.visibility="hidden",n):(e.style.visibility="",e.style.top=n.y,n.left?(e.style.left=n.x,e.style.right=""):(e.style.right=n.x,e.style.left=""),n)}var eCe=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class tCe{constructor(e,t){this._specs=[],this._lastActiveSpecs=[],this._lastActiveCount=0,this._visible=!1,this._iconKey=e.icon,this._limitRenderToHost=null!=e.limitRenderToHost&&e.limitRenderToHost,this._contextProvider=t,this._specs.push(e),this._wrapper=document.createElement("div"),this._wrapper.dataset.menuItemId=e.icon,this._wrapper.classList.add("menu-item"),e.size&&this._wrapper.classList.add(e.size),e.pointerDirection&&"no-pointer"!==e.pointerDirection&&this._wrapper.classList.add("pointer",e.pointerDirection),this._iconHost=document.createElement("div"),this._wrapper.appendChild(this._iconHost),this._renderIconFromKey(),this._onClick=e=>{e.stopPropagation();const t=this._contextProvider();for(const e of this._lastActiveSpecs)e.enabled(t)&&Promise.resolve(e.onClick(t)).catch(t=>{console.warn("icon click failed",e.id,t)})},this._wrapper.addEventListener("click",this._onClick),this.hide()}_renderIconFromKey(){if(this._limitRenderToHost)return;const e=this._iconKey;if(e)if(e.startsWith("fv-icon-")){const t=document.createElement("i");t.classList.add(e),this._iconHost.appendChild(t)}else this._iconHost.style.backgroundImage="url("+e+")"}get IconKey(){return this._iconKey}get Specs(){return this._specs}get LastActiveSpecs(){return this._lastActiveSpecs}get LastActiveCount(){return this._lastActiveCount}get DOMElement(){return this._wrapper}get Nodes(){return{wrapper:this._wrapper,iconHost:this._iconHost}}get Visible(){return this._visible}get IsEmpty(){return 0===this._specs.length}hasSpec(e){return this._specs.some(t=>t.id===e)}addSpec(e){this.hasSpec(e.id)||this._specs.push(e)}removeSpec(e){const t=this._specs.findIndex(t=>t.id===e);return-1===t||(this._specs.splice(t,1),this._lastActiveSpecs=this._lastActiveSpecs.filter(t=>t.id!==e)),0===this._specs.length}computeActiveSpecs(e){return eCe(this,void 0,void 0,function*(){const t=this._specs.filter(t=>t.enabled(e)),r=yield Promise.all(t.map(t=>Promise.resolve(t.shouldRender(e)))),n=t.filter((e,t)=>r[t]);this._lastActiveSpecs=n;const i=yield Promise.all(n.map(t=>t.affectsCount?Promise.resolve(t.affectsCount(e)):0)),o=i.reduce((e,t)=>e+Number(t||0),0);return this._lastActiveCount=o,n})}show(){this._wrapper.style.display="",this._visible=!0}hide(){this._wrapper.style.display="none",this._visible=!1,this._lastActiveSpecs=[],this._lastActiveCount=0}setPosition(e){const t=this._lastActiveSpecs.some(e=>!!e.hideWhenOutside),r=ZAe(this._wrapper,e,{hideWhenOutside:t});null!=r&&(r.pointer?this._wrapper.classList.add("pointer"):this._wrapper.classList.remove("pointer"))}dispose(){this._wrapper.removeEventListener("click",this._onClick),this._wrapper.remove()}updateTitle(){return eCe(this,void 0,void 0,function*(){yield boe.getForNode(this._iconHost,"data-i18n-title"),this._lastActiveCount<2||(this._iconHost.title+=" ("+this._lastActiveCount.toFixed(0)+")")})}}class rCe{constructor(e){this._entries=new Map,this._postRemovalAction=()=>{},this._domElementProvider=e}get entries(){return this._entries.values()}has(e){return this._entries.has(e)}add(e,t){var r;this._entries.set(e,t),null===(r=this._domElementProvider())||void 0===r||r.appendChild(t.DOMElement)}get(e){return this._entries.get(e)}remove(e){const t=this._entries.get(e);t&&(this._postRemovalAction(t),this._entries.delete(e))}appendAllToDomElement(){const e=this._domElementProvider();if(null!=e)for(const t of this._entries.values())e.appendChild(t.DOMElement)}_ensure(e,t){let r=this._entries.get(e);return r||(r=t(e),this.add(e,r),r)}hideAll(){for(const e of this.entries)e.hide()}eachForContext(e,t){for(const[r,n]of this._entries)t(e,r,n)}}var nCe,iCe=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class oCe extends rCe{constructor(e){super(e),this._iconBySpecId=new Map,this._postRemovalAction=e=>{e.dispose()}}addSpec(e,t){if(!e.pool){if(this.get(e.id))return;const r=new tCe(e,t);return this.add(e.id,r),void this._iconBySpecId.set(e.id,e.id)}const r=this.get(e.icon);if(r)r.addSpec(e);else{const r=new tCe(e,t);this.add(e.icon,r)}this._iconBySpecId.set(e.id,e.icon)}removeSpec(e){const t=this._iconBySpecId.get(e);if(!t)return;this._iconBySpecId.delete(e);const r=this.get(t);if(!r)return;r.removeSpec(e)&&this.remove(t)}updateItems(e){return iCe(this,void 0,void 0,function*(){let t=!1;for(const r of this.entries){const n=yield r.computeActiveSpecs(e);if(0!==n.length){for(const t of n)t.decorate&&(yield Promise.resolve(t.decorate(r.Nodes,e)));r.show(),t=!0}else r.hide()}return t})}get HasVisibleItems(){for(const e of this.entries)if(e.Visible)return!0;return!1}setPositions(e){this.eachForContext(e,(e,t,r)=>{const n=r.LastActiveSpecs;let i=null;for(const t of n)if(i=t.position(e,t,r.Nodes),i)break;r.setPosition(i)})}updateTitles(){return iCe(this,void 0,void 0,function*(){for(const e of this.entries)yield e.updateTitle()})}}class sCe{constructor(){this._hooks=[]}register(e){this._hooks.push(e)}run(){for(const e of this._hooks)e()}}!function(e){e.VERTICAL="vertical",e.HORIZONTAL="horizontal"}(nCe||(nCe={}));var aCe=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class lCe{constructor(e,t=nCe.HORIZONTAL){this._positioner=e=>{const t=$le.Last;if(!t)return null;const r=t.dimension;return r&&r.toVector?t.localToWorld(r.toVector().setY(0)):null},this._domElement=document.createElement("div"),this._domElement.dataset.toolbarName=e,this._domElement.classList.add("menu-item","menu-toolbar","pointer"),this._domElement.classList.add(t===nCe.VERTICAL?"top-left":"left",t),this._container=new oCe(()=>this._domElement),this.hide()}get DOMElement(){return this._domElement}get HasVisibleItems(){return this._container.HasVisibleItems}get items(){return this._container.entries}addSpec(e,t){this._container.addSpec(e,t)}removeSpec(e){this._container.removeSpec(e)}show(){this._domElement.style.display=""}hide(){this._domElement.style.display="none"}update(e){return aCe(this,void 0,void 0,function*(){(yield this._container.updateItems(e))?this.show():this.hide()})}setPosition(e){if(!this._positioner)return;const t=ZAe(this._domElement,this._positioner(e));null!=t&&(t.pointer?this._domElement.classList.add("pointer"):this._domElement.classList.remove("pointer"))}updateTitles(){return aCe(this,void 0,void 0,function*(){yield this._container.updateTitles()})}}var cCe=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};class uCe extends rCe{constructor(e){super(e)}ensure(e){return this._ensure(e,e=>new lCe(e,"fv_treeup_actions"===e?nCe.VERTICAL:nCe.HORIZONTAL))}removeSpecFromAll(e){for(const t of this.entries)t.removeSpec(e)}updateAll(e){return cCe(this,void 0,void 0,function*(){for(const t of this.entries)yield t.update(e)})}setPositions(e,t){this.eachForContext(e,(e,r,n)=>{t&&"fv_treeup_actions"!==r?n.DOMElement.classList.add("hidden"):(n.DOMElement.classList.remove("hidden"),n.setPosition(e))})}updateTitles(){return cCe(this,void 0,void 0,function*(){for(const e of this.entries)yield e.updateTitles()})}}var dCe=function(e,t,r,n){var i,o=arguments.length,s=o<3?t:null===n?n=Object.getOwnPropertyDescriptor(t,r):n;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)s=Reflect.decorate(e,t,r,n);else for(var a=e.length-1;a>=0;a--)(i=e[a])&&(s=(o<3?i(s):o>3?i(t,r,s):i(t,r))||s);return o>3&&s&&Object.defineProperty(t,r,s),s},hCe=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};const pCe=new Set([Pp.REPLACE_FITTING]);let mCe=class{constructor(){this._itemsContainer=void 0,this._toolbars=new uCe(()=>this._itemsContainer),this._rootItemsContainer=new oCe(()=>this._itemsContainer),this._lifecycleHooks=new sCe,this._reaper=new BAe(()=>this.specs,e=>this.remove(e)),this._refreshScheduled=!1}_scheduleRefresh(){this._refreshScheduled||(this._refreshScheduled=!0,queueMicrotask(()=>{this._refreshScheduled=!1,this.show()}))}registerLifecycleHook(e){this._lifecycleHooks.register(e)}get context(){return{selection:$le.All}}*_allSpecs(){for(const e of this._rootItemsContainer.entries)yield*e.Specs;for(const e of this._toolbars.entries)for(const t of e.items)yield*t.Specs}get specs(){return this._allSpecs()}LoadMenuItemSpecs(){this.add(HAe),this.add(jAe),this.add(YAe),this.add(QAe),this.add(qAe),une.on("vplacerBoxCreated",e=>{this.add(KAe(e))}),une.on("assignedValueToObject",(e,t)=>{var r;const n=(t.icon_buttons?Array.isArray(t.icon_buttons)?t.icon_buttons:null!==(r=t.icon_buttons.Buttons)&&void 0!==r?r:[]:[]).map(t=>"1"===t.params.isAction?function(e,t){const r=t.params.style||{};let n=null!=e.parent,i=$le.Last;return Object.assign(Object.assign({},UAe),{id:t.params.guidOrID+"_"+t.II,icon:window.location.origin+"/images/icons/treeupactions/"+t.params.actionType+".svg",size:r.size,pointerDirection:void 0,pool:null==t.pool||t.pool,limitRenderToHost:t.limitRenderToHost,reap(){if(null==e.parent)return n;n=!0;const t=$le.Last;return t!==i&&(i=t,!0)}})}(e,t):function(e,t){var r;const n=t.params,i=n.style||{},o=n.toolbarName,s=!!t.posW,a=t.posW?t.posW.toVector():null===(r=t.posL)||void 0===r?void 0:r.toVector();let l=null!=e.parent;return Object.assign({id:t.params.guidOrID+"_"+t.II,icon:(()=>{const e=t.icon||t.iconPre||"";if(!e)return"";if(e.startsWith("fv-icon-"))return e;const r=e.replace(/manufacturer\\/g,"").replace(/\\/g,"/");return window.g_node_url_prefix+"/furnplan/"+r})(),pool:null==t.pool||t.pool,size:i.size,pointerDirection:i["pointer-direction"]||(o?void 0:"left"),limitRenderToHost:t.limitRenderToHost,toolbar:o,options:t,style:i,isWorldPos:s,localOrWorld:a,everAttached:l,lo:e},zAe)}(e,t));this.replaceForOwner(e,n)})}initialize(){const e=this.getElement("items");this._itemsContainer=e&&e.length?e[0]:void 0,this._toolbars.appendAllToDomElement(),this._rootItemsContainer.appendAllToDomElement(),aue.CurrentCamera.AddEvent(()=>this.setPosition(),this),$le.addEventListener(ble.AFTER_ADD,()=>{this.show()}),$le.addEventListener([ble.CLEAR,ble.AFTER_REMOVE],()=>this.hide()),this.registerLifecycleHook(()=>this._reaper.tick(this.context)),document.addEventListener("readystatechange",()=>{"complete"===document.readyState&&upe.on("session_disconnect",()=>this.clear())}),this.LoadMenuItemSpecs()}add(e){var t;const r=null!==(t=e.toolbar)&&void 0!==t?t:"action"===e.type?"fv_treeup_actions":void 0;if(null==r)this._rootItemsContainer.addSpec(e,()=>this.context);else{this._toolbars.ensure(r).addSpec(e,()=>this.context)}this._scheduleRefresh()}remove(e){this._rootItemsContainer.removeSpec(e),this._toolbars.removeSpecFromAll(e),this._scheduleRefresh()}hide(){this._rootItemsContainer.hideAll(),this._toolbars.hideAll()}show(){return hCe(this,void 0,void 0,function*(){if(pCe.has(Yse.InteractionMode))return void this.hide();this._lifecycleHooks.run();const e=this.context;yield this._rootItemsContainer.updateItems(e),yield this._toolbars.updateAll(e),yield this._rootItemsContainer.updateTitles(),yield this._toolbars.updateTitles(),this.setPosition()})}setPosition(){this._lifecycleHooks.run();const e=this.context;this._rootItemsContainer.setPositions(e);const t=this._toolbars.get("fv_treeup_actions"),r=!(!t||!t.HasVisibleItems);this._toolbars.setPositions(e,r)}replaceForOwner(e,t){const r=new Set;for(const e of t)r.add(e.id);const n=[];for(const t of this.specs)t.owner===e&&n.push(t.id);for(const e of n)r.has(e)||this.remove(e);for(const e of t)this.add(e);this._scheduleRefresh()}clear(){const e=[...this.specs].map(e=>e.id);for(const t of e)this.remove(t)}};mCe=dCe([_m({template:'<div id="icon-context-menu"><div class="menu-items"></div></div>',elements:{items:".menu-items"},parentSelector:"#renderContainer"})],mCe);new class{constructor(){window.CommunicationInterfaceService.IsAppReady.then(()=>this.menu)}get menu(){if(window.Properties.AdvancedContextMenuEnabled)return this._menu||(this._menu=new mCe),this._menu}};var _Ce,gCe=function(e,t,r,n){return new(r||(r=Promise))(function(i,o){function s(e){try{l(n.next(e))}catch(e){o(e)}}function a(e){try{l(n.throw(e))}catch(e){o(e)}}function l(e){var t;e.done?i(e.value):(t=e.value,t instanceof r?t:new r(function(e){e(t)})).then(s,a)}l((n=n.apply(e,t||[])).next())})};_Ce=!0,ok("fv-icon-font",rk),("object"==typeof _Ce&&_Ce.simple||_Ce)&&ok("fv-icon-simple",nk),("object"==typeof _Ce&&_Ce.multi||_Ce)&&ok("fv-icon-multi",ik);const fCe=window.waitForDOMUpdate=function(){return gCe(this,void 0,void 0,function*(){return yield new Promise(e=>requestAnimationFrame(()=>requestAnimationFrame(()=>e())))})};_we.init(),Rre.loadAccessLists(),_we.init(),Rre.loadAccessLists(),window.ObjectContainerService=qre,function(){try{const e=document.createElement("canvas");return e.getContext("webgl")||e.getContext("experimental-webgl")||(window.location.href="https://get.webgl.org/"),!0}catch(e){window.location.href="https://get.webgl.org/"}}(),$(document).nodoubletapzoom(),$le.initialize(),FI.initialize(),fme.initialize(),aue.initialize(),Aue.initialize(),Ame.initialize(),Yce.initialize(),Fde.initialize(),Mse.HRThemeManager.initialize(),IE.initialize(g_configuration.enable_outdoor_lighting),g_configuration.VR||Ame.Render(),window.prepareWebRendering=function(){var e;null===(e=aae.world)||void 0===e||e.traverse(function(e){e instanceof AI&&(e.visible=!1)}),Bde.Disable3DText=!0},upe.on("appready",function(){}),window.addEventListener("resize",function(){aI.dispatch("resizeWindow")},!1),window.onorientationchange=function(){aI.dispatch("resizeWindow")};const vCe=$("#canvasTHREE");!function(e,t){let r,n,i=e.clientHeight,o=e.clientWidth;!function s(){r=e.clientHeight,n=e.clientWidth,(i!=r||o!=n)&&t(),i=r,o=n,e.onElementResizeChangeTimer&&clearTimeout(e.onElementResizeChangeTimer),e.onElementResizeChangeTimer=setTimeout(s,200)}()}(vCe[0],function(){aI.dispatch("resizeWindow")}),vCe[0].addEventListener("webglcontextrestored",function(){console.warn("[WebGL context restored] reinitialising scene"),ape.getScene()},!1),vCe[0].addEventListener("webglcontextlost",function(e){var t,r,n,i,o,s;um.cancelReset(),um.increment();try{const e=null===(t=Aue.TRenderer)||void 0===t?void 0:t.info;console.error("[WebGL context lost]","geometries:",null===(r=null==e?void 0:e.memory)||void 0===r?void 0:r.geometries,"textures:",null===(n=null==e?void 0:e.memory)||void 0===n?void 0:n.textures,"programs:",null===(i=null==e?void 0:e.programs)||void 0===i?void 0:i.length,"calls:",null===(o=null==e?void 0:e.render)||void 0===o?void 0:o.calls,"triangles:",null===(s=null==e?void 0:e.render)||void 0===s?void 0:s.triangles)}catch(e){}setTimeout(function(){Aue.TRenderer.forceContextRestore(),ape.getScene(),um.scheduleReset()},1e3)},!1),um.scheduleReset(),document.addEventListener("visibilitychange",function(){document.hidden||Ame.requestRendering()}),vCe[0].addEventListener("resize",function(){aI.dispatch("resizeWindow")},!1),Poe.init(),Yse.registerDomElement(vCe),window.addEventListener("pageshow",()=>{upe.dispatch("pageshow",[])}),window.addEventListener("popstate",()=>{upe.dispatch("pageshow",[])}),"Android"===Wp.getInfo().os()&&$("head").append("<link rel='manifest' href='manifest.json'>"),Wp.getType()===Mp.DESKTOP&&(g_configuration.camera_smoothing_enabled=!1),window.addEventListener("touchstart",()=>{},{passive:!0}),document.addEventListener("touchstart",()=>{},{passive:!0}),Bde.TransparentCanvasBackground&&(document.querySelector("html").classList.add("ar-mode-transparency"),document.querySelector("body").classList.add("ar-mode-transparency")),Owe.initialize()})()})();
\ No newline at end of file

--
Gitblit v1.9.3